From d2ae47a8c0733797eb20d8b8ecce4a66d31574ef Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Thu, 7 Sep 2023 12:49:51 +0000 Subject: [PATCH 1/7] Regenerating Node.js SDK based on updated modules --- sdk/nodejs/authorization/getClientConfig.ts | 6 ++++++ sdk/nodejs/authorization/getClientToken.ts | 6 ++++++ sdk/nodejs/authorization/index.ts | 6 ++++-- sdk/nodejs/package.json | 3 +-- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/sdk/nodejs/authorization/getClientConfig.ts b/sdk/nodejs/authorization/getClientConfig.ts index 7e716c5dfa..7dc479a12f 100644 --- a/sdk/nodejs/authorization/getClientConfig.ts +++ b/sdk/nodejs/authorization/getClientConfig.ts @@ -31,3 +31,9 @@ export interface GetClientConfigResult { */ readonly zone?: string; } +/** + * Use this function to access the current configuration of the native Google provider. + */ +export function getClientConfigOutput(opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(getClientConfig(opts)) +} diff --git a/sdk/nodejs/authorization/getClientToken.ts b/sdk/nodejs/authorization/getClientToken.ts index 36c2260b15..f100b7a9e3 100644 --- a/sdk/nodejs/authorization/getClientToken.ts +++ b/sdk/nodejs/authorization/getClientToken.ts @@ -35,3 +35,9 @@ export interface GetClientTokenResult { */ readonly tokenType: string; } +/** + * Use this function to get an Google authentication token for the current login context. + */ +export function getClientTokenOutput(opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(getClientToken(opts)) +} diff --git a/sdk/nodejs/authorization/index.ts b/sdk/nodejs/authorization/index.ts index 8da28ae4d2..0eb00a06b4 100644 --- a/sdk/nodejs/authorization/index.ts +++ b/sdk/nodejs/authorization/index.ts @@ -6,9 +6,11 @@ import * as utilities from "../utilities"; // Export members: export { GetClientConfigResult } from "./getClientConfig"; export const getClientConfig: typeof import("./getClientConfig").getClientConfig = null as any; -utilities.lazyLoad(exports, ["getClientConfig"], () => require("./getClientConfig")); +export const getClientConfigOutput: typeof import("./getClientConfig").getClientConfigOutput = null as any; +utilities.lazyLoad(exports, ["getClientConfig","getClientConfigOutput"], () => require("./getClientConfig")); export { GetClientTokenResult } from "./getClientToken"; export const getClientToken: typeof import("./getClientToken").getClientToken = null as any; -utilities.lazyLoad(exports, ["getClientToken"], () => require("./getClientToken")); +export const getClientTokenOutput: typeof import("./getClientToken").getClientTokenOutput = null as any; +utilities.lazyLoad(exports, ["getClientToken","getClientTokenOutput"], () => require("./getClientToken")); diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index b772ba4678..95f8c053f1 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -11,8 +11,7 @@ "repository": "https://github.com/pulumi/pulumi-google-native", "license": "Apache-2.0", "scripts": { - "build": "tsc", - "install": "node scripts/install-pulumi-plugin.js resource google-native ${VERSION}" + "build": "tsc" }, "dependencies": { "@pulumi/pulumi": "^3.0.0" From 34e7f071d98d7fefaba3e824f0b27b2c569490c6 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Thu, 7 Sep 2023 12:49:51 +0000 Subject: [PATCH 2/7] Regenerating Python SDK based on updated modules --- sdk/python/setup.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 194bb0cbf8..a81e5829d0 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -9,26 +9,6 @@ VERSION = "0.0.0" -PLUGIN_VERSION = "0.0.0" - -class InstallPluginCommand(install): - def run(self): - install.run(self) - try: - check_call(['pulumi', 'plugin', 'install', 'resource', 'google-native', PLUGIN_VERSION]) - except OSError as error: - if error.errno == errno.ENOENT: - print(f""" - There was an error installing the google-native resource provider plugin. - It looks like `pulumi` is not installed on your system. - Please visit https://pulumi.com/ to install the Pulumi CLI. - You may try manually installing the plugin by running - `pulumi plugin install resource google-native {PLUGIN_VERSION}` - """) - else: - raise - - def readme(): try: with open('README.md', encoding='utf-8') as f: @@ -43,9 +23,6 @@ def readme(): description="A native Pulumi package for creating and managing Google Cloud resources.", long_description=readme(), long_description_content_type='text/markdown', - cmdclass={ - 'install': InstallPluginCommand, - }, keywords='pulumi google cloud category/cloud kind/native', url='https://pulumi.com', project_urls={ From ac31640420e4bd501698c9f02fb2fb5102c786cc Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Thu, 7 Sep 2023 12:49:51 +0000 Subject: [PATCH 3/7] Regenerating .NET SDK based on updated modules --- sdk/dotnet/Authorization/GetClientConfig.cs | 6 ++++++ sdk/dotnet/Authorization/GetClientToken.cs | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/sdk/dotnet/Authorization/GetClientConfig.cs b/sdk/dotnet/Authorization/GetClientConfig.cs index cad5e2c7f4..3675c2dd1b 100644 --- a/sdk/dotnet/Authorization/GetClientConfig.cs +++ b/sdk/dotnet/Authorization/GetClientConfig.cs @@ -16,6 +16,12 @@ public static class GetClientConfig /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("google-native:authorization:getClientConfig", InvokeArgs.Empty, options.WithDefaults()); + + /// + /// Use this function to access the current configuration of the native Google provider. + /// + public static Output Invoke(InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("google-native:authorization:getClientConfig", InvokeArgs.Empty, options.WithDefaults()); } diff --git a/sdk/dotnet/Authorization/GetClientToken.cs b/sdk/dotnet/Authorization/GetClientToken.cs index d5ae5ee5eb..0c99e51439 100644 --- a/sdk/dotnet/Authorization/GetClientToken.cs +++ b/sdk/dotnet/Authorization/GetClientToken.cs @@ -16,6 +16,12 @@ public static class GetClientToken /// public static Task InvokeAsync(InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("google-native:authorization:getClientToken", InvokeArgs.Empty, options.WithDefaults()); + + /// + /// Use this function to get an Google authentication token for the current login context. + /// + public static Output Invoke(InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("google-native:authorization:getClientToken", InvokeArgs.Empty, options.WithDefaults()); } From 3c0000e6a61481618c684910bd83456cefa0ff51 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Thu, 7 Sep 2023 12:49:54 +0000 Subject: [PATCH 4/7] Regenerating Go SDK based on updated modules --- sdk/go.mod | 2 +- sdk/go.sum | 79 +- .../accesscontextmanager/v1/accessLevel.go | 13 + .../accesscontextmanager/v1/accessPolicy.go | 13 + .../v1/accessPolicyIamBinding.go | 13 + .../v1/accessPolicyIamMember.go | 13 + .../v1/accessPolicyIamPolicy.go | 13 + .../v1/authorizedOrgsDesc.go | 13 + .../v1/gcpUserAccessBinding.go | 13 + .../accesscontextmanager/v1/getAccessLevel.go | 7 + .../v1/getAccessPolicy.go | 7 + .../v1/getAccessPolicyIamPolicy.go | 7 + .../v1/getAuthorizedOrgsDesc.go | 7 + .../v1/getGcpUserAccessBinding.go | 7 + .../v1/getServicePerimeter.go | 7 + .../accesscontextmanager/v1/pulumiEnums.go | 223 + .../accesscontextmanager/v1/pulumiTypes.go | 661 ++ .../v1/servicePerimeter.go | 13 + .../v1beta/accessLevel.go | 13 + .../v1beta/accessPolicy.go | 13 + .../v1beta/getAccessLevel.go | 7 + .../v1beta/getAccessPolicy.go | 7 + .../v1beta/getServicePerimeter.go | 7 + .../v1beta/pulumiEnums.go | 115 + .../v1beta/pulumiTypes.go | 205 + .../v1beta/servicePerimeter.go | 13 + sdk/go/google/analyticshub/v1/dataExchange.go | 13 + .../analyticshub/v1/dataExchangeIamBinding.go | 13 + .../analyticshub/v1/dataExchangeIamMember.go | 13 + .../analyticshub/v1/dataExchangeIamPolicy.go | 13 + .../v1/dataExchangeListingIamBinding.go | 13 + .../v1/dataExchangeListingIamMember.go | 13 + .../v1/dataExchangeListingIamPolicy.go | 13 + .../google/analyticshub/v1/getDataExchange.go | 7 + .../v1/getDataExchangeIamPolicy.go | 7 + .../v1/getDataExchangeListingIamPolicy.go | 7 + sdk/go/google/analyticshub/v1/getListing.go | 7 + sdk/go/google/analyticshub/v1/listing.go | 13 + sdk/go/google/analyticshub/v1/pulumiEnums.go | 49 + sdk/go/google/analyticshub/v1/pulumiTypes.go | 217 + .../analyticshub/v1beta1/dataExchange.go | 13 + .../v1beta1/dataExchangeIamBinding.go | 13 + .../v1beta1/dataExchangeIamMember.go | 13 + .../v1beta1/dataExchangeIamPolicy.go | 13 + .../v1beta1/dataExchangeListingIamBinding.go | 13 + .../v1beta1/dataExchangeListingIamMember.go | 13 + .../v1beta1/dataExchangeListingIamPolicy.go | 13 + .../analyticshub/v1beta1/getDataExchange.go | 7 + .../v1beta1/getDataExchangeIamPolicy.go | 7 + .../getDataExchangeListingIamPolicy.go | 7 + .../google/analyticshub/v1beta1/getListing.go | 7 + sdk/go/google/analyticshub/v1beta1/listing.go | 13 + .../analyticshub/v1beta1/pulumiEnums.go | 49 + .../analyticshub/v1beta1/pulumiTypes.go | 217 + sdk/go/google/apigateway/v1/api.go | 13 + .../apigateway/v1/apiConfigIamBinding.go | 13 + .../apigateway/v1/apiConfigIamMember.go | 13 + .../apigateway/v1/apiConfigIamPolicy.go | 13 + sdk/go/google/apigateway/v1/apiIamBinding.go | 13 + sdk/go/google/apigateway/v1/apiIamMember.go | 13 + sdk/go/google/apigateway/v1/apiIamPolicy.go | 13 + sdk/go/google/apigateway/v1/config.go | 13 + sdk/go/google/apigateway/v1/gateway.go | 13 + .../google/apigateway/v1/gatewayIamBinding.go | 13 + .../google/apigateway/v1/gatewayIamMember.go | 13 + .../google/apigateway/v1/gatewayIamPolicy.go | 13 + sdk/go/google/apigateway/v1/getApi.go | 7 + .../apigateway/v1/getApiConfigIamPolicy.go | 7 + .../google/apigateway/v1/getApiIamPolicy.go | 7 + sdk/go/google/apigateway/v1/getConfig.go | 7 + sdk/go/google/apigateway/v1/getGateway.go | 7 + .../apigateway/v1/getGatewayIamPolicy.go | 7 + sdk/go/google/apigateway/v1/pulumiEnums.go | 19 + sdk/go/google/apigateway/v1/pulumiTypes.go | 259 + sdk/go/google/apigateway/v1beta/api.go | 13 + .../apigateway/v1beta/apiConfigIamBinding.go | 13 + .../apigateway/v1beta/apiConfigIamMember.go | 13 + .../apigateway/v1beta/apiConfigIamPolicy.go | 13 + .../google/apigateway/v1beta/apiIamBinding.go | 13 + .../google/apigateway/v1beta/apiIamMember.go | 13 + .../google/apigateway/v1beta/apiIamPolicy.go | 13 + sdk/go/google/apigateway/v1beta/config.go | 13 + sdk/go/google/apigateway/v1beta/gateway.go | 13 + .../apigateway/v1beta/gatewayIamBinding.go | 13 + .../apigateway/v1beta/gatewayIamMember.go | 13 + .../apigateway/v1beta/gatewayIamPolicy.go | 13 + sdk/go/google/apigateway/v1beta/getApi.go | 7 + .../v1beta/getApiConfigIamPolicy.go | 7 + .../apigateway/v1beta/getApiIamPolicy.go | 7 + sdk/go/google/apigateway/v1beta/getConfig.go | 7 + sdk/go/google/apigateway/v1beta/getGateway.go | 7 + .../apigateway/v1beta/getGatewayIamPolicy.go | 7 + .../google/apigateway/v1beta/pulumiEnums.go | 19 + .../google/apigateway/v1beta/pulumiTypes.go | 319 + sdk/go/google/apigee/v1/alias.go | 13 + sdk/go/google/apigee/v1/api.go | 13 + sdk/go/google/apigee/v1/apiProduct.go | 13 + sdk/go/google/apigee/v1/app.go | 13 + sdk/go/google/apigee/v1/archiveDeployment.go | 13 + sdk/go/google/apigee/v1/canaryEvaluation.go | 13 + sdk/go/google/apigee/v1/dataCollector.go | 13 + sdk/go/google/apigee/v1/datastore.go | 13 + sdk/go/google/apigee/v1/debugSession.go | 13 + sdk/go/google/apigee/v1/developer.go | 13 + sdk/go/google/apigee/v1/endpointAttachment.go | 13 + sdk/go/google/apigee/v1/entry.go | 13 + sdk/go/google/apigee/v1/envgroup.go | 13 + sdk/go/google/apigee/v1/envgroupAttachment.go | 13 + sdk/go/google/apigee/v1/environment.go | 13 + sdk/go/google/apigee/v1/environmentEntry.go | 13 + sdk/go/google/apigee/v1/export.go | 13 + sdk/go/google/apigee/v1/getAlias.go | 7 + sdk/go/google/apigee/v1/getApi.go | 7 + sdk/go/google/apigee/v1/getApiProduct.go | 7 + sdk/go/google/apigee/v1/getApicategory.go | 7 + sdk/go/google/apigee/v1/getApp.go | 7 + .../google/apigee/v1/getArchiveDeployment.go | 7 + .../google/apigee/v1/getCanaryEvaluation.go | 7 + sdk/go/google/apigee/v1/getDataCollector.go | 7 + sdk/go/google/apigee/v1/getDatastore.go | 7 + sdk/go/google/apigee/v1/getDebugSession.go | 7 + sdk/go/google/apigee/v1/getDeveloper.go | 7 + .../google/apigee/v1/getEndpointAttachment.go | 7 + sdk/go/google/apigee/v1/getEntry.go | 7 + sdk/go/google/apigee/v1/getEnvgroup.go | 7 + .../google/apigee/v1/getEnvgroupAttachment.go | 7 + sdk/go/google/apigee/v1/getEnvironment.go | 7 + .../google/apigee/v1/getEnvironmentEntry.go | 7 + sdk/go/google/apigee/v1/getExport.go | 7 + sdk/go/google/apigee/v1/getHostQuery.go | 7 + .../google/apigee/v1/getHostSecurityReport.go | 7 + sdk/go/google/apigee/v1/getInstance.go | 7 + .../google/apigee/v1/getInstanceAttachment.go | 7 + sdk/go/google/apigee/v1/getKey.go | 7 + sdk/go/google/apigee/v1/getKeystore.go | 7 + sdk/go/google/apigee/v1/getNatAddress.go | 7 + sdk/go/google/apigee/v1/getOrganization.go | 7 + .../v1/getOrganizationEnvironmentIamPolicy.go | 7 + sdk/go/google/apigee/v1/getOverride.go | 7 + sdk/go/google/apigee/v1/getQuery.go | 7 + sdk/go/google/apigee/v1/getRatePlan.go | 7 + sdk/go/google/apigee/v1/getReference.go | 7 + sdk/go/google/apigee/v1/getReport.go | 7 + sdk/go/google/apigee/v1/getResourcefile.go | 7 + sdk/go/google/apigee/v1/getSecurityReport.go | 7 + sdk/go/google/apigee/v1/getSharedflow.go | 7 + sdk/go/google/apigee/v1/getSubscription.go | 7 + sdk/go/google/apigee/v1/getTargetServer.go | 7 + sdk/go/google/apigee/v1/hostQuery.go | 13 + sdk/go/google/apigee/v1/hostSecurityReport.go | 13 + sdk/go/google/apigee/v1/instance.go | 13 + sdk/go/google/apigee/v1/instanceAttachment.go | 13 + sdk/go/google/apigee/v1/keystore.go | 13 + sdk/go/google/apigee/v1/natAddress.go | 13 + sdk/go/google/apigee/v1/organization.go | 13 + .../v1/organizationEnvironmentIamBinding.go | 13 + .../v1/organizationEnvironmentIamMember.go | 13 + .../v1/organizationEnvironmentIamPolicy.go | 13 + sdk/go/google/apigee/v1/override.go | 13 + sdk/go/google/apigee/v1/pulumiEnums.go | 289 + sdk/go/google/apigee/v1/pulumiTypes.go | 1135 +++ sdk/go/google/apigee/v1/query.go | 13 + sdk/go/google/apigee/v1/ratePlan.go | 13 + sdk/go/google/apigee/v1/reference.go | 13 + sdk/go/google/apigee/v1/report.go | 13 + sdk/go/google/apigee/v1/resourcefile.go | 13 + sdk/go/google/apigee/v1/securityReport.go | 13 + sdk/go/google/apigee/v1/sharedflow.go | 13 + sdk/go/google/apigee/v1/subscription.go | 13 + sdk/go/google/apigee/v1/targetServer.go | 13 + sdk/go/google/apigeeregistry/v1/api.go | 13 + .../v1/apiArtifactIamBinding.go | 13 + .../apigeeregistry/v1/apiArtifactIamMember.go | 13 + .../apigeeregistry/v1/apiArtifactIamPolicy.go | 13 + .../v1/apiDeploymentIamBinding.go | 13 + .../v1/apiDeploymentIamMember.go | 13 + .../v1/apiDeploymentIamPolicy.go | 13 + .../google/apigeeregistry/v1/apiIamBinding.go | 13 + .../google/apigeeregistry/v1/apiIamMember.go | 13 + .../google/apigeeregistry/v1/apiIamPolicy.go | 13 + .../v1/apiVersionArtifactIamBinding.go | 13 + .../v1/apiVersionArtifactIamMember.go | 13 + .../v1/apiVersionArtifactIamPolicy.go | 13 + .../apigeeregistry/v1/apiVersionIamBinding.go | 13 + .../apigeeregistry/v1/apiVersionIamMember.go | 13 + .../apigeeregistry/v1/apiVersionIamPolicy.go | 13 + .../v1/apiVersionSpecArtifactIamBinding.go | 13 + .../v1/apiVersionSpecArtifactIamMember.go | 13 + .../v1/apiVersionSpecArtifactIamPolicy.go | 13 + .../v1/apiVersionSpecIamBinding.go | 13 + .../v1/apiVersionSpecIamMember.go | 13 + .../v1/apiVersionSpecIamPolicy.go | 13 + sdk/go/google/apigeeregistry/v1/artifact.go | 13 + .../apigeeregistry/v1/artifactIamBinding.go | 13 + .../apigeeregistry/v1/artifactIamMember.go | 13 + .../apigeeregistry/v1/artifactIamPolicy.go | 13 + sdk/go/google/apigeeregistry/v1/deployment.go | 13 + .../apigeeregistry/v1/deploymentArtifact.go | 13 + sdk/go/google/apigeeregistry/v1/getApi.go | 7 + .../v1/getApiArtifactIamPolicy.go | 7 + .../v1/getApiDeploymentIamPolicy.go | 7 + .../apigeeregistry/v1/getApiIamPolicy.go | 7 + .../v1/getApiVersionArtifactIamPolicy.go | 7 + .../v1/getApiVersionIamPolicy.go | 7 + .../v1/getApiVersionSpecArtifactIamPolicy.go | 7 + .../v1/getApiVersionSpecIamPolicy.go | 7 + .../google/apigeeregistry/v1/getArtifact.go | 7 + .../apigeeregistry/v1/getArtifactIamPolicy.go | 7 + .../google/apigeeregistry/v1/getDeployment.go | 7 + .../v1/getDeploymentArtifact.go | 7 + .../google/apigeeregistry/v1/getInstance.go | 7 + .../apigeeregistry/v1/getInstanceIamPolicy.go | 7 + .../apigeeregistry/v1/getRuntimeIamPolicy.go | 7 + sdk/go/google/apigeeregistry/v1/getSpec.go | 7 + sdk/go/google/apigeeregistry/v1/getVersion.go | 7 + .../apigeeregistry/v1/getVersionArtifact.go | 7 + sdk/go/google/apigeeregistry/v1/instance.go | 13 + .../apigeeregistry/v1/instanceIamBinding.go | 13 + .../apigeeregistry/v1/instanceIamMember.go | 13 + .../apigeeregistry/v1/instanceIamPolicy.go | 13 + .../google/apigeeregistry/v1/pulumiTypes.go | 91 + .../apigeeregistry/v1/runtimeIamBinding.go | 13 + .../apigeeregistry/v1/runtimeIamMember.go | 13 + .../apigeeregistry/v1/runtimeIamPolicy.go | 13 + sdk/go/google/apigeeregistry/v1/spec.go | 13 + sdk/go/google/apigeeregistry/v1/version.go | 13 + .../apigeeregistry/v1/versionArtifact.go | 13 + sdk/go/google/apikeys/v2/getKey.go | 7 + sdk/go/google/apikeys/v2/key.go | 13 + sdk/go/google/apikeys/v2/pulumiTypes.go | 223 + sdk/go/google/appengine/v1/app.go | 13 + sdk/go/google/appengine/v1/application.go | 13 + .../appengine/v1/authorizedCertificate.go | 13 + sdk/go/google/appengine/v1/domainMapping.go | 13 + sdk/go/google/appengine/v1/getApp.go | 7 + sdk/go/google/appengine/v1/getApplication.go | 7 + .../appengine/v1/getAuthorizedCertificate.go | 7 + .../google/appengine/v1/getDomainMapping.go | 7 + sdk/go/google/appengine/v1/getIngressRule.go | 7 + sdk/go/google/appengine/v1/getVersion.go | 7 + sdk/go/google/appengine/v1/ingressRule.go | 13 + sdk/go/google/appengine/v1/pulumiEnums.go | 355 + sdk/go/google/appengine/v1/pulumiTypes.go | 1069 +++ sdk/go/google/appengine/v1/version.go | 13 + .../v1alpha/authorizedCertificate.go | 13 + .../google/appengine/v1alpha/domainMapping.go | 13 + .../v1alpha/getAuthorizedCertificate.go | 7 + .../appengine/v1alpha/getDomainMapping.go | 7 + .../google/appengine/v1alpha/pulumiTypes.go | 79 + sdk/go/google/appengine/v1beta/app.go | 13 + sdk/go/google/appengine/v1beta/application.go | 13 + .../appengine/v1beta/authorizedCertificate.go | 13 + .../google/appengine/v1beta/domainMapping.go | 13 + sdk/go/google/appengine/v1beta/getApp.go | 7 + .../google/appengine/v1beta/getApplication.go | 7 + .../v1beta/getAuthorizedCertificate.go | 7 + .../appengine/v1beta/getDomainMapping.go | 7 + .../google/appengine/v1beta/getIngressRule.go | 7 + sdk/go/google/appengine/v1beta/getVersion.go | 7 + sdk/go/google/appengine/v1beta/ingressRule.go | 13 + sdk/go/google/appengine/v1beta/pulumiEnums.go | 355 + sdk/go/google/appengine/v1beta/pulumiTypes.go | 1135 +++ sdk/go/google/appengine/v1beta/version.go | 13 + .../artifactregistry/v1/getRepository.go | 7 + .../v1/getRepositoryIamPolicy.go | 7 + sdk/go/google/artifactregistry/v1/getTag.go | 7 + .../google/artifactregistry/v1/pulumiEnums.go | 127 + .../google/artifactregistry/v1/pulumiTypes.go | 343 + .../google/artifactregistry/v1/repository.go | 13 + .../v1/repositoryIamBinding.go | 13 + .../v1/repositoryIamMember.go | 13 + .../v1/repositoryIamPolicy.go | 13 + sdk/go/google/artifactregistry/v1/tag.go | 13 + .../artifactregistry/v1beta1/getRepository.go | 7 + .../v1beta1/getRepositoryIamPolicy.go | 7 + .../google/artifactregistry/v1beta1/getTag.go | 7 + .../artifactregistry/v1beta1/pulumiEnums.go | 19 + .../artifactregistry/v1beta1/pulumiTypes.go | 67 + .../artifactregistry/v1beta1/repository.go | 13 + .../v1beta1/repositoryIamBinding.go | 13 + .../v1beta1/repositoryIamMember.go | 13 + .../v1beta1/repositoryIamPolicy.go | 13 + sdk/go/google/artifactregistry/v1beta1/tag.go | 13 + .../artifactregistry/v1beta2/getRepository.go | 7 + .../v1beta2/getRepositoryIamPolicy.go | 7 + .../google/artifactregistry/v1beta2/getTag.go | 7 + .../artifactregistry/v1beta2/pulumiEnums.go | 37 + .../artifactregistry/v1beta2/pulumiTypes.go | 97 + .../artifactregistry/v1beta2/repository.go | 13 + .../v1beta2/repositoryIamBinding.go | 13 + .../v1beta2/repositoryIamMember.go | 13 + .../v1beta2/repositoryIamPolicy.go | 13 + sdk/go/google/artifactregistry/v1beta2/tag.go | 13 + .../google/assuredworkloads/v1/getWorkload.go | 7 + .../google/assuredworkloads/v1/pulumiEnums.go | 109 + .../google/assuredworkloads/v1/pulumiTypes.go | 151 + sdk/go/google/assuredworkloads/v1/workload.go | 13 + .../assuredworkloads/v1beta1/getWorkload.go | 7 + .../assuredworkloads/v1beta1/pulumiEnums.go | 109 + .../assuredworkloads/v1beta1/pulumiTypes.go | 289 + .../assuredworkloads/v1beta1/workload.go | 13 + .../baremetalsolution/v2/getInstance.go | 7 + .../baremetalsolution/v2/getNfsShare.go | 7 + .../v2/getProvisioningConfig.go | 7 + .../baremetalsolution/v2/getSnapshot.go | 7 + .../google/baremetalsolution/v2/instance.go | 13 + .../google/baremetalsolution/v2/nfsShare.go | 13 + .../v2/provisioningConfig.go | 13 + .../baremetalsolution/v2/pulumiEnums.go | 361 + .../baremetalsolution/v2/pulumiTypes.go | 517 ++ .../google/baremetalsolution/v2/snapshot.go | 13 + sdk/go/google/batch/v1/getJob.go | 7 + sdk/go/google/batch/v1/job.go | 13 + sdk/go/google/batch/v1/pulumiEnums.go | 109 + sdk/go/google/batch/v1/pulumiTypes.go | 925 ++ sdk/go/google/beyondcorp/v1/appConnection.go | 13 + .../beyondcorp/v1/appConnectionIamBinding.go | 13 + .../beyondcorp/v1/appConnectionIamMember.go | 13 + .../beyondcorp/v1/appConnectionIamPolicy.go | 13 + sdk/go/google/beyondcorp/v1/appConnector.go | 13 + .../beyondcorp/v1/appConnectorIamBinding.go | 13 + .../beyondcorp/v1/appConnectorIamMember.go | 13 + .../beyondcorp/v1/appConnectorIamPolicy.go | 13 + sdk/go/google/beyondcorp/v1/appGateway.go | 13 + .../beyondcorp/v1/appGatewayIamBinding.go | 13 + .../beyondcorp/v1/appGatewayIamMember.go | 13 + .../beyondcorp/v1/appGatewayIamPolicy.go | 13 + .../v1/clientConnectorServiceIamBinding.go | 13 + .../v1/clientConnectorServiceIamMember.go | 13 + .../v1/clientConnectorServiceIamPolicy.go | 13 + .../beyondcorp/v1/clientGatewayIamBinding.go | 13 + .../beyondcorp/v1/clientGatewayIamMember.go | 13 + .../beyondcorp/v1/clientGatewayIamPolicy.go | 13 + .../google/beyondcorp/v1/getAppConnection.go | 7 + .../v1/getAppConnectionIamPolicy.go | 7 + .../google/beyondcorp/v1/getAppConnector.go | 7 + .../beyondcorp/v1/getAppConnectorIamPolicy.go | 7 + sdk/go/google/beyondcorp/v1/getAppGateway.go | 7 + .../beyondcorp/v1/getAppGatewayIamPolicy.go | 7 + .../v1/getClientConnectorServiceIamPolicy.go | 7 + .../v1/getClientGatewayIamPolicy.go | 7 + .../v1/getOrganizationTenantIamPolicy.go | 7 + ...tOrganizationTenantProxyConfigIamPolicy.go | 7 + .../v1/organizationTenantIamBinding.go | 13 + .../v1/organizationTenantIamMember.go | 13 + .../v1/organizationTenantIamPolicy.go | 13 + ...organizationTenantProxyConfigIamBinding.go | 13 + .../organizationTenantProxyConfigIamMember.go | 13 + .../organizationTenantProxyConfigIamPolicy.go | 13 + sdk/go/google/beyondcorp/v1/pulumiEnums.go | 109 + sdk/go/google/beyondcorp/v1/pulumiTypes.go | 295 + .../beyondcorp/v1alpha/appConnection.go | 13 + .../v1alpha/appConnectionIamBinding.go | 13 + .../v1alpha/appConnectionIamMember.go | 13 + .../v1alpha/appConnectionIamPolicy.go | 13 + .../google/beyondcorp/v1alpha/appConnector.go | 13 + .../v1alpha/appConnectorIamBinding.go | 13 + .../v1alpha/appConnectorIamMember.go | 13 + .../v1alpha/appConnectorIamPolicy.go | 13 + .../google/beyondcorp/v1alpha/appGateway.go | 13 + .../v1alpha/appGatewayIamBinding.go | 13 + .../beyondcorp/v1alpha/appGatewayIamMember.go | 13 + .../beyondcorp/v1alpha/appGatewayIamPolicy.go | 13 + .../v1alpha/applicationIamBinding.go | 13 + .../v1alpha/applicationIamMember.go | 13 + .../v1alpha/applicationIamPolicy.go | 13 + .../v1alpha/clientConnectorService.go | 13 + .../clientConnectorServiceIamBinding.go | 13 + .../clientConnectorServiceIamMember.go | 13 + .../clientConnectorServiceIamPolicy.go | 13 + .../beyondcorp/v1alpha/clientGateway.go | 13 + .../v1alpha/clientGatewayIamBinding.go | 13 + .../v1alpha/clientGatewayIamMember.go | 13 + .../v1alpha/clientGatewayIamPolicy.go | 13 + .../google/beyondcorp/v1alpha/connection.go | 13 + .../v1alpha/connectionIamBinding.go | 13 + .../beyondcorp/v1alpha/connectionIamMember.go | 13 + .../beyondcorp/v1alpha/connectionIamPolicy.go | 13 + sdk/go/google/beyondcorp/v1alpha/connector.go | 13 + .../beyondcorp/v1alpha/connectorIamBinding.go | 13 + .../beyondcorp/v1alpha/connectorIamMember.go | 13 + .../beyondcorp/v1alpha/connectorIamPolicy.go | 13 + .../beyondcorp/v1alpha/getAppConnection.go | 7 + .../v1alpha/getAppConnectionIamPolicy.go | 7 + .../beyondcorp/v1alpha/getAppConnector.go | 7 + .../v1alpha/getAppConnectorIamPolicy.go | 7 + .../beyondcorp/v1alpha/getAppGateway.go | 7 + .../v1alpha/getAppGatewayIamPolicy.go | 7 + .../v1alpha/getApplicationIamPolicy.go | 7 + .../v1alpha/getClientConnectorService.go | 7 + .../getClientConnectorServiceIamPolicy.go | 7 + .../beyondcorp/v1alpha/getClientGateway.go | 7 + .../v1alpha/getClientGatewayIamPolicy.go | 7 + .../beyondcorp/v1alpha/getConnection.go | 7 + .../v1alpha/getConnectionIamPolicy.go | 7 + .../google/beyondcorp/v1alpha/getConnector.go | 7 + .../v1alpha/getConnectorIamPolicy.go | 7 + .../v1alpha/getNetConnectionIamPolicy.go | 7 + .../beyondcorp/v1alpha/getProxyConfig.go | 7 + .../beyondcorp/v1alpha/getSubscription.go | 7 + sdk/go/google/beyondcorp/v1alpha/getTenant.go | 7 + .../v1alpha/netConnectionIamBinding.go | 13 + .../v1alpha/netConnectionIamMember.go | 13 + .../v1alpha/netConnectionIamPolicy.go | 13 + .../google/beyondcorp/v1alpha/proxyConfig.go | 13 + .../google/beyondcorp/v1alpha/pulumiEnums.go | 217 + .../google/beyondcorp/v1alpha/pulumiTypes.go | 667 ++ .../google/beyondcorp/v1alpha/subscription.go | 13 + sdk/go/google/beyondcorp/v1alpha/tenant.go | 13 + sdk/go/google/bigquery/v2/dataset.go | 13 + sdk/go/google/bigquery/v2/getDataset.go | 7 + sdk/go/google/bigquery/v2/getJob.go | 7 + sdk/go/google/bigquery/v2/getRoutine.go | 7 + .../v2/getRowAccessPolicyIamPolicy.go | 7 + sdk/go/google/bigquery/v2/getTable.go | 7 + .../google/bigquery/v2/getTableIamPolicy.go | 7 + sdk/go/google/bigquery/v2/job.go | 13 + sdk/go/google/bigquery/v2/pulumiEnums.go | 157 + sdk/go/google/bigquery/v2/pulumiTypes.go | 2251 +++++ sdk/go/google/bigquery/v2/routine.go | 13 + .../bigquery/v2/rowAccessPolicyIamBinding.go | 13 + .../bigquery/v2/rowAccessPolicyIamMember.go | 13 + .../bigquery/v2/rowAccessPolicyIamPolicy.go | 13 + sdk/go/google/bigquery/v2/table.go | 13 + sdk/go/google/bigquery/v2/tableIamBinding.go | 13 + sdk/go/google/bigquery/v2/tableIamMember.go | 13 + sdk/go/google/bigquery/v2/tableIamPolicy.go | 13 + .../bigqueryconnection/v1beta1/connection.go | 13 + .../v1beta1/connectionIamBinding.go | 13 + .../v1beta1/connectionIamMember.go | 13 + .../v1beta1/connectionIamPolicy.go | 13 + .../v1beta1/getConnection.go | 7 + .../v1beta1/getConnectionIamPolicy.go | 7 + .../bigqueryconnection/v1beta1/pulumiEnums.go | 37 + .../bigqueryconnection/v1beta1/pulumiTypes.go | 199 + .../v1/getTransferConfig.go | 7 + .../bigquerydatatransfer/v1/pulumiTypes.go | 67 + .../bigquerydatatransfer/v1/transferConfig.go | 13 + .../v1/capacityCommitment.go | 13 + .../v1/getCapacityCommitment.go | 7 + .../bigqueryreservation/v1/getReservation.go | 7 + .../bigqueryreservation/v1/pulumiEnums.go | 73 + .../bigqueryreservation/v1/pulumiTypes.go | 37 + .../bigqueryreservation/v1/reservation.go | 13 + .../v1beta1/capacityCommitment.go | 13 + .../v1beta1/getCapacityCommitment.go | 7 + .../v1beta1/getReservation.go | 7 + .../v1beta1/pulumiEnums.go | 37 + .../v1beta1/pulumiTypes.go | 7 + .../v1beta1/reservation.go | 13 + sdk/go/google/bigtableadmin/v2/appProfile.go | 13 + sdk/go/google/bigtableadmin/v2/backup.go | 13 + sdk/go/google/bigtableadmin/v2/cluster.go | 13 + .../google/bigtableadmin/v2/getAppProfile.go | 7 + sdk/go/google/bigtableadmin/v2/getBackup.go | 7 + sdk/go/google/bigtableadmin/v2/getCluster.go | 7 + sdk/go/google/bigtableadmin/v2/getInstance.go | 7 + .../v2/getInstanceClusterBackupIamPolicy.go | 7 + .../bigtableadmin/v2/getInstanceIamPolicy.go | 7 + .../v2/getInstanceTableIamPolicy.go | 7 + sdk/go/google/bigtableadmin/v2/getTable.go | 7 + sdk/go/google/bigtableadmin/v2/instance.go | 13 + .../v2/instanceClusterBackupIamBinding.go | 13 + .../v2/instanceClusterBackupIamMember.go | 13 + .../v2/instanceClusterBackupIamPolicy.go | 13 + .../bigtableadmin/v2/instanceIamBinding.go | 13 + .../bigtableadmin/v2/instanceIamMember.go | 13 + .../bigtableadmin/v2/instanceIamPolicy.go | 13 + .../v2/instanceTableIamBinding.go | 13 + .../v2/instanceTableIamMember.go | 13 + .../v2/instanceTableIamPolicy.go | 13 + sdk/go/google/bigtableadmin/v2/pulumiEnums.go | 73 + sdk/go/google/bigtableadmin/v2/pulumiTypes.go | 427 + sdk/go/google/bigtableadmin/v2/table.go | 13 + sdk/go/google/billingbudgets/v1/budget.go | 13 + sdk/go/google/billingbudgets/v1/getBudget.go | 7 + .../google/billingbudgets/v1/pulumiEnums.go | 55 + .../google/billingbudgets/v1/pulumiTypes.go | 235 + .../google/billingbudgets/v1beta1/budget.go | 13 + .../billingbudgets/v1beta1/getBudget.go | 7 + .../billingbudgets/v1beta1/pulumiEnums.go | 55 + .../billingbudgets/v1beta1/pulumiTypes.go | 235 + .../google/binaryauthorization/v1/attestor.go | 13 + .../v1/attestorIamBinding.go | 13 + .../v1/attestorIamMember.go | 13 + .../v1/attestorIamPolicy.go | 13 + .../binaryauthorization/v1/getAttestor.go | 7 + .../v1/getAttestorIamPolicy.go | 7 + .../v1/getPolicyIamPolicy.go | 7 + .../v1/policyIamBinding.go | 13 + .../binaryauthorization/v1/policyIamMember.go | 13 + .../binaryauthorization/v1/policyIamPolicy.go | 13 + .../binaryauthorization/v1/pulumiEnums.go | 19 + .../binaryauthorization/v1/pulumiTypes.go | 163 + .../binaryauthorization/v1beta1/attestor.go | 13 + .../v1beta1/attestorIamBinding.go | 13 + .../v1beta1/attestorIamMember.go | 13 + .../v1beta1/attestorIamPolicy.go | 13 + .../v1beta1/getAttestor.go | 7 + .../v1beta1/getAttestorIamPolicy.go | 7 + .../v1beta1/getPolicyIamPolicy.go | 7 + .../v1beta1/policyIamBinding.go | 13 + .../v1beta1/policyIamMember.go | 13 + .../v1beta1/policyIamPolicy.go | 13 + .../v1beta1/pulumiEnums.go | 19 + .../v1beta1/pulumiTypes.go | 163 + .../certificatemanager/v1/certificate.go | 13 + .../v1/certificateIssuanceConfig.go | 13 + .../certificatemanager/v1/certificateMap.go | 13 + .../v1/certificateMapEntry.go | 13 + .../certificatemanager/v1/dnsAuthorization.go | 13 + .../certificatemanager/v1/getCertificate.go | 7 + .../v1/getCertificateIssuanceConfig.go | 7 + .../v1/getCertificateMap.go | 7 + .../v1/getCertificateMapEntry.go | 7 + .../v1/getDnsAuthorization.go | 7 + .../certificatemanager/v1/getTrustConfig.go | 7 + .../certificatemanager/v1/pulumiEnums.go | 55 + .../certificatemanager/v1/pulumiTypes.go | 265 + .../certificatemanager/v1/trustConfig.go | 13 + sdk/go/google/cloudasset/v1/feed.go | 13 + sdk/go/google/cloudasset/v1/getFeed.go | 7 + sdk/go/google/cloudasset/v1/getSavedQuery.go | 7 + sdk/go/google/cloudasset/v1/pulumiEnums.go | 19 + sdk/go/google/cloudasset/v1/pulumiTypes.go | 289 + sdk/go/google/cloudasset/v1/savedQuery.go | 13 + .../google/cloudbilling/v1/billingAccount.go | 13 + .../v1/billingAccountIamBinding.go | 13 + .../v1/billingAccountIamMember.go | 13 + .../v1/billingAccountIamPolicy.go | 13 + .../cloudbilling/v1/getBillingAccount.go | 7 + .../v1/getBillingAccountIamPolicy.go | 7 + sdk/go/google/cloudbilling/v1/pulumiEnums.go | 19 + sdk/go/google/cloudbilling/v1/pulumiTypes.go | 139 + .../cloudbuild/v1/bitbucketServerConfig.go | 13 + sdk/go/google/cloudbuild/v1/build.go | 13 + .../cloudbuild/v1/getBitbucketServerConfig.go | 7 + sdk/go/google/cloudbuild/v1/getBuild.go | 7 + .../google/cloudbuild/v1/getGitLabConfig.go | 7 + .../v1/getGithubEnterpriseConfig.go | 7 + sdk/go/google/cloudbuild/v1/getTrigger.go | 7 + sdk/go/google/cloudbuild/v1/getWorkerPool.go | 7 + sdk/go/google/cloudbuild/v1/gitLabConfig.go | 13 + .../cloudbuild/v1/githubEnterpriseConfig.go | 13 + sdk/go/google/cloudbuild/v1/pulumiEnums.go | 283 + sdk/go/google/cloudbuild/v1/pulumiTypes.go | 1339 +++ sdk/go/google/cloudbuild/v1/trigger.go | 13 + sdk/go/google/cloudbuild/v1/workerPool.go | 13 + .../cloudbuild/v1alpha1/getWorkerPool.go | 7 + .../google/cloudbuild/v1alpha1/pulumiEnums.go | 31 + .../google/cloudbuild/v1alpha1/pulumiTypes.go | 61 + .../google/cloudbuild/v1alpha1/workerPool.go | 13 + .../cloudbuild/v1alpha2/getWorkerPool.go | 7 + .../google/cloudbuild/v1alpha2/pulumiTypes.go | 61 + .../google/cloudbuild/v1alpha2/workerPool.go | 13 + .../cloudbuild/v1beta1/getWorkerPool.go | 7 + .../google/cloudbuild/v1beta1/pulumiTypes.go | 61 + .../google/cloudbuild/v1beta1/workerPool.go | 13 + .../cloudchannel/v1/channelPartnerLink.go | 13 + .../v1/channelPartnerRepricingConfig.go | 13 + sdk/go/google/cloudchannel/v1/customer.go | 13 + .../v1/customerRepricingConfig.go | 13 + sdk/go/google/cloudchannel/v1/entitlement.go | 13 + .../cloudchannel/v1/getChannelPartnerLink.go | 7 + .../v1/getChannelPartnerRepricingConfig.go | 7 + sdk/go/google/cloudchannel/v1/getCustomer.go | 7 + .../v1/getCustomerRepricingConfig.go | 7 + .../google/cloudchannel/v1/getEntitlement.go | 7 + sdk/go/google/cloudchannel/v1/pulumiEnums.go | 91 + sdk/go/google/cloudchannel/v1/pulumiTypes.go | 517 ++ .../google/clouddeploy/v1/deliveryPipeline.go | 13 + .../v1/deliveryPipelineIamBinding.go | 13 + .../v1/deliveryPipelineIamMember.go | 13 + .../v1/deliveryPipelineIamPolicy.go | 13 + .../clouddeploy/v1/getDeliveryPipeline.go | 7 + .../v1/getDeliveryPipelineIamPolicy.go | 7 + sdk/go/google/clouddeploy/v1/getRelease.go | 7 + sdk/go/google/clouddeploy/v1/getRollout.go | 7 + sdk/go/google/clouddeploy/v1/getTarget.go | 7 + .../clouddeploy/v1/getTargetIamPolicy.go | 7 + sdk/go/google/clouddeploy/v1/pulumiEnums.go | 49 + sdk/go/google/clouddeploy/v1/pulumiTypes.go | 925 ++ sdk/go/google/clouddeploy/v1/release.go | 13 + sdk/go/google/clouddeploy/v1/rollout.go | 13 + sdk/go/google/clouddeploy/v1/target.go | 13 + .../google/clouddeploy/v1/targetIamBinding.go | 13 + .../google/clouddeploy/v1/targetIamMember.go | 13 + .../google/clouddeploy/v1/targetIamPolicy.go | 13 + sdk/go/google/cloudfunctions/v1/function.go | 13 + .../cloudfunctions/v1/functionIamBinding.go | 13 + .../cloudfunctions/v1/functionIamMember.go | 13 + .../cloudfunctions/v1/functionIamPolicy.go | 13 + .../google/cloudfunctions/v1/getFunction.go | 7 + .../cloudfunctions/v1/getFunctionIamPolicy.go | 7 + .../google/cloudfunctions/v1/pulumiEnums.go | 91 + .../google/cloudfunctions/v1/pulumiTypes.go | 397 + sdk/go/google/cloudfunctions/v2/function.go | 13 + .../cloudfunctions/v2/functionIamBinding.go | 13 + .../cloudfunctions/v2/functionIamMember.go | 13 + .../cloudfunctions/v2/functionIamPolicy.go | 13 + .../google/cloudfunctions/v2/getFunction.go | 7 + .../cloudfunctions/v2/getFunctionIamPolicy.go | 7 + .../google/cloudfunctions/v2/pulumiEnums.go | 127 + .../google/cloudfunctions/v2/pulumiTypes.go | 481 + .../google/cloudfunctions/v2alpha/function.go | 13 + .../v2alpha/functionIamBinding.go | 13 + .../v2alpha/functionIamMember.go | 13 + .../v2alpha/functionIamPolicy.go | 13 + .../cloudfunctions/v2alpha/getFunction.go | 7 + .../v2alpha/getFunctionIamPolicy.go | 7 + .../cloudfunctions/v2alpha/pulumiEnums.go | 127 + .../cloudfunctions/v2alpha/pulumiTypes.go | 481 + .../google/cloudfunctions/v2beta/function.go | 13 + .../v2beta/functionIamBinding.go | 13 + .../v2beta/functionIamMember.go | 13 + .../v2beta/functionIamPolicy.go | 13 + .../cloudfunctions/v2beta/getFunction.go | 7 + .../v2beta/getFunctionIamPolicy.go | 7 + .../cloudfunctions/v2beta/pulumiEnums.go | 127 + .../cloudfunctions/v2beta/pulumiTypes.go | 481 + sdk/go/google/cloudidentity/v1/device.go | 13 + sdk/go/google/cloudidentity/v1/getDevice.go | 7 + sdk/go/google/cloudidentity/v1/getGroup.go | 7 + .../v1/getInboundSamlSsoProfile.go | 7 + .../v1/getInboundSsoAssignment.go | 7 + .../google/cloudidentity/v1/getMembership.go | 7 + sdk/go/google/cloudidentity/v1/group.go | 13 + .../cloudidentity/v1/inboundSamlSsoProfile.go | 13 + .../cloudidentity/v1/inboundSsoAssignment.go | 13 + sdk/go/google/cloudidentity/v1/membership.go | 13 + sdk/go/google/cloudidentity/v1/pulumiEnums.go | 55 + sdk/go/google/cloudidentity/v1/pulumiTypes.go | 349 + sdk/go/google/cloudidentity/v1beta1/device.go | 13 + .../google/cloudidentity/v1beta1/getDevice.go | 7 + .../google/cloudidentity/v1beta1/getGroup.go | 7 + .../v1beta1/getInboundSamlSsoProfile.go | 7 + .../v1beta1/getInboundSsoAssignment.go | 7 + .../cloudidentity/v1beta1/getMembership.go | 7 + sdk/go/google/cloudidentity/v1beta1/group.go | 13 + .../v1beta1/inboundSamlSsoProfile.go | 13 + .../v1beta1/inboundSsoAssignment.go | 13 + .../cloudidentity/v1beta1/membership.go | 13 + .../cloudidentity/v1beta1/pulumiEnums.go | 85 + .../cloudidentity/v1beta1/pulumiTypes.go | 421 + sdk/go/google/cloudiot/v1/device.go | 13 + sdk/go/google/cloudiot/v1/getDevice.go | 7 + sdk/go/google/cloudiot/v1/getRegistry.go | 7 + .../cloudiot/v1/getRegistryGroupIamPolicy.go | 7 + .../cloudiot/v1/getRegistryIamPolicy.go | 7 + sdk/go/google/cloudiot/v1/pulumiEnums.go | 145 + sdk/go/google/cloudiot/v1/pulumiTypes.go | 403 + sdk/go/google/cloudiot/v1/registry.go | 13 + .../cloudiot/v1/registryGroupIamBinding.go | 13 + .../cloudiot/v1/registryGroupIamMember.go | 13 + .../cloudiot/v1/registryGroupIamPolicy.go | 13 + .../google/cloudiot/v1/registryIamBinding.go | 13 + .../google/cloudiot/v1/registryIamMember.go | 13 + .../google/cloudiot/v1/registryIamPolicy.go | 13 + sdk/go/google/cloudkms/v1/cryptoKey.go | 13 + sdk/go/google/cloudkms/v1/cryptoKeyVersion.go | 13 + .../google/cloudkms/v1/ekmConfigIamBinding.go | 13 + .../google/cloudkms/v1/ekmConfigIamMember.go | 13 + .../google/cloudkms/v1/ekmConfigIamPolicy.go | 13 + sdk/go/google/cloudkms/v1/ekmConnection.go | 13 + .../cloudkms/v1/ekmConnectionIamBinding.go | 13 + .../cloudkms/v1/ekmConnectionIamMember.go | 13 + .../cloudkms/v1/ekmConnectionIamPolicy.go | 13 + sdk/go/google/cloudkms/v1/getCryptoKey.go | 7 + .../google/cloudkms/v1/getCryptoKeyVersion.go | 7 + .../cloudkms/v1/getEkmConfigIamPolicy.go | 7 + sdk/go/google/cloudkms/v1/getEkmConnection.go | 7 + .../cloudkms/v1/getEkmConnectionIamPolicy.go | 7 + sdk/go/google/cloudkms/v1/getImportJob.go | 7 + sdk/go/google/cloudkms/v1/getKeyRing.go | 7 + .../v1/getKeyRingCryptoKeyIamPolicy.go | 7 + .../google/cloudkms/v1/getKeyRingIamPolicy.go | 7 + .../v1/getKeyRingImportJobIamPolicy.go | 7 + sdk/go/google/cloudkms/v1/importJob.go | 13 + sdk/go/google/cloudkms/v1/keyRing.go | 13 + .../cloudkms/v1/keyRingCryptoKeyIamBinding.go | 13 + .../cloudkms/v1/keyRingCryptoKeyIamMember.go | 13 + .../cloudkms/v1/keyRingCryptoKeyIamPolicy.go | 13 + .../google/cloudkms/v1/keyRingIamBinding.go | 13 + sdk/go/google/cloudkms/v1/keyRingIamMember.go | 13 + sdk/go/google/cloudkms/v1/keyRingIamPolicy.go | 13 + .../cloudkms/v1/keyRingImportJobIamBinding.go | 13 + .../cloudkms/v1/keyRingImportJobIamMember.go | 13 + .../cloudkms/v1/keyRingImportJobIamPolicy.go | 13 + sdk/go/google/cloudkms/v1/pulumiEnums.go | 145 + sdk/go/google/cloudkms/v1/pulumiTypes.go | 295 + .../google/cloudresourcemanager/v1/getLien.go | 7 + .../v1/getOrganizationIamPolicy.go | 7 + .../cloudresourcemanager/v1/getProject.go | 7 + .../v1/getProjectIamPolicy.go | 7 + sdk/go/google/cloudresourcemanager/v1/lien.go | 13 + .../v1/organizationIamBinding.go | 13 + .../v1/organizationIamMember.go | 13 + .../v1/organizationIamPolicy.go | 13 + .../google/cloudresourcemanager/v1/project.go | 13 + .../v1/projectIamBinding.go | 13 + .../v1/projectIamMember.go | 13 + .../v1/projectIamPolicy.go | 13 + .../cloudresourcemanager/v1/pulumiEnums.go | 37 + .../cloudresourcemanager/v1/pulumiTypes.go | 169 + .../v1beta1/getOrganizationIamPolicy.go | 7 + .../v1beta1/getProject.go | 7 + .../v1beta1/getProjectIamPolicy.go | 7 + .../v1beta1/organizationIamBinding.go | 13 + .../v1beta1/organizationIamMember.go | 13 + .../v1beta1/organizationIamPolicy.go | 13 + .../cloudresourcemanager/v1beta1/project.go | 13 + .../v1beta1/projectIamBinding.go | 13 + .../v1beta1/projectIamMember.go | 13 + .../v1beta1/projectIamPolicy.go | 13 + .../v1beta1/pulumiEnums.go | 37 + .../v1beta1/pulumiTypes.go | 169 + .../google/cloudresourcemanager/v2/folder.go | 13 + .../v2/folderIamBinding.go | 13 + .../v2/folderIamMember.go | 13 + .../v2/folderIamPolicy.go | 13 + .../cloudresourcemanager/v2/getFolder.go | 7 + .../v2/getFolderIamPolicy.go | 7 + .../cloudresourcemanager/v2/pulumiEnums.go | 19 + .../cloudresourcemanager/v2/pulumiTypes.go | 139 + .../cloudresourcemanager/v2beta1/folder.go | 13 + .../v2beta1/folderIamBinding.go | 13 + .../v2beta1/folderIamMember.go | 13 + .../v2beta1/folderIamPolicy.go | 13 + .../cloudresourcemanager/v2beta1/getFolder.go | 7 + .../v2beta1/getFolderIamPolicy.go | 7 + .../v2beta1/pulumiEnums.go | 19 + .../v2beta1/pulumiTypes.go | 139 + .../google/cloudresourcemanager/v3/folder.go | 13 + .../v3/folderIamBinding.go | 13 + .../v3/folderIamMember.go | 13 + .../v3/folderIamPolicy.go | 13 + .../cloudresourcemanager/v3/getFolder.go | 7 + .../v3/getFolderIamPolicy.go | 7 + .../google/cloudresourcemanager/v3/getLien.go | 7 + .../v3/getOrganizationIamPolicy.go | 7 + .../cloudresourcemanager/v3/getProject.go | 7 + .../v3/getProjectIamPolicy.go | 7 + .../cloudresourcemanager/v3/getTagKey.go | 7 + .../v3/getTagKeyIamPolicy.go | 7 + .../cloudresourcemanager/v3/getTagValue.go | 7 + .../v3/getTagValueIamPolicy.go | 7 + sdk/go/google/cloudresourcemanager/v3/lien.go | 13 + .../v3/organizationIamBinding.go | 13 + .../v3/organizationIamMember.go | 13 + .../v3/organizationIamPolicy.go | 13 + .../google/cloudresourcemanager/v3/project.go | 13 + .../v3/projectIamBinding.go | 13 + .../v3/projectIamMember.go | 13 + .../v3/projectIamPolicy.go | 13 + .../cloudresourcemanager/v3/pulumiEnums.go | 37 + .../cloudresourcemanager/v3/pulumiTypes.go | 139 + .../google/cloudresourcemanager/v3/tagKey.go | 13 + .../v3/tagKeyIamBinding.go | 13 + .../v3/tagKeyIamMember.go | 13 + .../v3/tagKeyIamPolicy.go | 13 + .../cloudresourcemanager/v3/tagValue.go | 13 + .../v3/tagValueIamBinding.go | 13 + .../v3/tagValueIamMember.go | 13 + .../v3/tagValueIamPolicy.go | 13 + sdk/go/google/cloudscheduler/v1/getJob.go | 7 + sdk/go/google/cloudscheduler/v1/job.go | 13 + .../google/cloudscheduler/v1/pulumiEnums.go | 37 + .../google/cloudscheduler/v1/pulumiTypes.go | 217 + .../google/cloudscheduler/v1beta1/getJob.go | 7 + sdk/go/google/cloudscheduler/v1beta1/job.go | 13 + .../cloudscheduler/v1beta1/pulumiEnums.go | 37 + .../cloudscheduler/v1beta1/pulumiTypes.go | 217 + sdk/go/google/cloudsearch/v1/dataSource.go | 13 + sdk/go/google/cloudsearch/v1/getDataSource.go | 7 + .../cloudsearch/v1/getSearchApplication.go | 7 + sdk/go/google/cloudsearch/v1/pulumiEnums.go | 73 + sdk/go/google/cloudsearch/v1/pulumiTypes.go | 559 ++ .../cloudsearch/v1/searchApplication.go | 13 + sdk/go/google/cloudsupport/v2beta/case.go | 13 + sdk/go/google/cloudsupport/v2beta/getCase.go | 7 + .../google/cloudsupport/v2beta/pulumiEnums.go | 37 + .../google/cloudsupport/v2beta/pulumiTypes.go | 61 + sdk/go/google/cloudtasks/v2/getQueue.go | 7 + .../google/cloudtasks/v2/getQueueIamPolicy.go | 7 + sdk/go/google/cloudtasks/v2/getTask.go | 7 + sdk/go/google/cloudtasks/v2/pulumiEnums.go | 55 + sdk/go/google/cloudtasks/v2/pulumiTypes.go | 319 + sdk/go/google/cloudtasks/v2/queue.go | 13 + .../google/cloudtasks/v2/queueIamBinding.go | 13 + sdk/go/google/cloudtasks/v2/queueIamMember.go | 13 + sdk/go/google/cloudtasks/v2/queueIamPolicy.go | 13 + sdk/go/google/cloudtasks/v2/task.go | 13 + sdk/go/google/cloudtasks/v2beta2/getQueue.go | 7 + .../cloudtasks/v2beta2/getQueueIamPolicy.go | 7 + sdk/go/google/cloudtasks/v2beta2/getTask.go | 7 + .../google/cloudtasks/v2beta2/pulumiEnums.go | 109 + .../google/cloudtasks/v2beta2/pulumiTypes.go | 577 ++ sdk/go/google/cloudtasks/v2beta2/queue.go | 13 + .../cloudtasks/v2beta2/queueIamBinding.go | 13 + .../cloudtasks/v2beta2/queueIamMember.go | 13 + .../cloudtasks/v2beta2/queueIamPolicy.go | 13 + sdk/go/google/cloudtasks/v2beta2/task.go | 13 + sdk/go/google/cloudtasks/v2beta3/getQueue.go | 7 + .../cloudtasks/v2beta3/getQueueIamPolicy.go | 7 + sdk/go/google/cloudtasks/v2beta3/getTask.go | 7 + .../google/cloudtasks/v2beta3/pulumiEnums.go | 127 + .../google/cloudtasks/v2beta3/pulumiTypes.go | 571 ++ sdk/go/google/cloudtasks/v2beta3/queue.go | 13 + .../cloudtasks/v2beta3/queueIamBinding.go | 13 + .../cloudtasks/v2beta3/queueIamMember.go | 13 + .../cloudtasks/v2beta3/queueIamPolicy.go | 13 + sdk/go/google/cloudtasks/v2beta3/task.go | 13 + .../google/cloudtrace/v2beta1/getTraceSink.go | 7 + .../google/cloudtrace/v2beta1/pulumiTypes.go | 19 + sdk/go/google/cloudtrace/v2beta1/traceSink.go | 13 + sdk/go/google/composer/v1/environment.go | 13 + sdk/go/google/composer/v1/getEnvironment.go | 7 + sdk/go/google/composer/v1/pulumiEnums.go | 55 + sdk/go/google/composer/v1/pulumiTypes.go | 643 ++ sdk/go/google/composer/v1beta1/environment.go | 13 + .../google/composer/v1beta1/getEnvironment.go | 7 + sdk/go/google/composer/v1beta1/pulumiEnums.go | 55 + sdk/go/google/composer/v1beta1/pulumiTypes.go | 703 ++ sdk/go/google/compute/alpha/address.go | 13 + sdk/go/google/compute/alpha/autoscaler.go | 13 + sdk/go/google/compute/alpha/backendBucket.go | 13 + .../compute/alpha/backendBucketIamBinding.go | 13 + .../compute/alpha/backendBucketIamMember.go | 13 + .../compute/alpha/backendBucketIamPolicy.go | 13 + sdk/go/google/compute/alpha/backendService.go | 13 + .../compute/alpha/backendServiceIamBinding.go | 13 + .../compute/alpha/backendServiceIamMember.go | 13 + .../compute/alpha/backendServiceIamPolicy.go | 13 + sdk/go/google/compute/alpha/disk.go | 13 + sdk/go/google/compute/alpha/diskIamBinding.go | 13 + sdk/go/google/compute/alpha/diskIamMember.go | 13 + sdk/go/google/compute/alpha/diskIamPolicy.go | 13 + .../compute/alpha/externalVpnGateway.go | 13 + sdk/go/google/compute/alpha/firewall.go | 13 + sdk/go/google/compute/alpha/firewallPolicy.go | 13 + .../compute/alpha/firewallPolicyIamBinding.go | 13 + .../compute/alpha/firewallPolicyIamMember.go | 13 + .../compute/alpha/firewallPolicyIamPolicy.go | 13 + sdk/go/google/compute/alpha/forwardingRule.go | 13 + .../google/compute/alpha/futureReservation.go | 13 + sdk/go/google/compute/alpha/getAddress.go | 7 + sdk/go/google/compute/alpha/getAutoscaler.go | 7 + .../google/compute/alpha/getBackendBucket.go | 7 + .../alpha/getBackendBucketIamPolicy.go | 7 + .../google/compute/alpha/getBackendService.go | 7 + .../alpha/getBackendServiceIamPolicy.go | 7 + sdk/go/google/compute/alpha/getDisk.go | 7 + .../google/compute/alpha/getDiskIamPolicy.go | 7 + .../compute/alpha/getExternalVpnGateway.go | 7 + sdk/go/google/compute/alpha/getFirewall.go | 7 + .../google/compute/alpha/getFirewallPolicy.go | 7 + .../alpha/getFirewallPolicyIamPolicy.go | 7 + .../google/compute/alpha/getForwardingRule.go | 7 + .../compute/alpha/getFutureReservation.go | 7 + .../google/compute/alpha/getGlobalAddress.go | 7 + .../compute/alpha/getGlobalForwardingRule.go | 7 + .../alpha/getGlobalNetworkEndpointGroup.go | 7 + .../alpha/getGlobalPublicDelegatedPrefix.go | 7 + sdk/go/google/compute/alpha/getHealthCheck.go | 7 + .../compute/alpha/getHttpHealthCheck.go | 7 + .../compute/alpha/getHttpsHealthCheck.go | 7 + sdk/go/google/compute/alpha/getImage.go | 7 + .../google/compute/alpha/getImageIamPolicy.go | 7 + sdk/go/google/compute/alpha/getInstance.go | 7 + .../google/compute/alpha/getInstanceGroup.go | 7 + .../compute/alpha/getInstanceGroupManager.go | 7 + .../getInstanceGroupManagerResizeRequest.go | 7 + .../compute/alpha/getInstanceIamPolicy.go | 7 + .../compute/alpha/getInstanceTemplate.go | 7 + .../alpha/getInstanceTemplateIamPolicy.go | 7 + .../compute/alpha/getInstantSnapshot.go | 7 + .../alpha/getInstantSnapshotIamPolicy.go | 7 + .../google/compute/alpha/getInterconnect.go | 7 + .../alpha/getInterconnectAttachment.go | 7 + .../getInterconnectAttachmentIamPolicy.go | 7 + .../compute/alpha/getInterconnectIamPolicy.go | 7 + sdk/go/google/compute/alpha/getLicense.go | 7 + .../compute/alpha/getLicenseCodeIamPolicy.go | 7 + .../compute/alpha/getLicenseIamPolicy.go | 7 + .../google/compute/alpha/getMachineImage.go | 7 + .../compute/alpha/getMachineImageIamPolicy.go | 7 + sdk/go/google/compute/alpha/getNetwork.go | 7 + .../compute/alpha/getNetworkAttachment.go | 7 + .../alpha/getNetworkAttachmentIamPolicy.go | 7 + .../alpha/getNetworkEdgeSecurityService.go | 7 + .../compute/alpha/getNetworkEndpointGroup.go | 7 + .../compute/alpha/getNetworkFirewallPolicy.go | 7 + .../getNetworkFirewallPolicyIamPolicy.go | 7 + sdk/go/google/compute/alpha/getNodeGroup.go | 7 + .../compute/alpha/getNodeGroupIamPolicy.go | 7 + .../google/compute/alpha/getNodeTemplate.go | 7 + .../compute/alpha/getNodeTemplateIamPolicy.go | 7 + .../alpha/getOrganizationSecurityPolicy.go | 7 + .../compute/alpha/getPacketMirroring.go | 7 + .../alpha/getPublicAdvertisedPrefix.go | 7 + .../compute/alpha/getPublicDelegatedPrefix.go | 7 + .../compute/alpha/getRegionAutoscaler.go | 7 + .../compute/alpha/getRegionBackendService.go | 7 + .../alpha/getRegionBackendServiceIamPolicy.go | 7 + .../compute/alpha/getRegionCommitment.go | 7 + sdk/go/google/compute/alpha/getRegionDisk.go | 7 + .../compute/alpha/getRegionDiskIamPolicy.go | 7 + .../compute/alpha/getRegionHealthCheck.go | 7 + .../alpha/getRegionHealthCheckService.go | 7 + .../alpha/getRegionInstanceGroupManager.go | 7 + .../alpha/getRegionInstanceTemplate.go | 7 + .../compute/alpha/getRegionInstantSnapshot.go | 7 + .../getRegionInstantSnapshotIamPolicy.go | 7 + .../alpha/getRegionNetworkEndpointGroup.go | 7 + .../alpha/getRegionNetworkFirewallPolicy.go | 7 + ...getRegionNetworkFirewallPolicyIamPolicy.go | 7 + .../alpha/getRegionNotificationEndpoint.go | 7 + .../compute/alpha/getRegionSecurityPolicy.go | 7 + .../compute/alpha/getRegionSslCertificate.go | 7 + .../compute/alpha/getRegionSslPolicy.go | 7 + .../compute/alpha/getRegionTargetHttpProxy.go | 7 + .../alpha/getRegionTargetHttpsProxy.go | 7 + .../compute/alpha/getRegionTargetTcpProxy.go | 7 + .../google/compute/alpha/getRegionUrlMap.go | 7 + sdk/go/google/compute/alpha/getReservation.go | 7 + .../compute/alpha/getReservationIamPolicy.go | 7 + .../google/compute/alpha/getResourcePolicy.go | 7 + .../alpha/getResourcePolicyIamPolicy.go | 7 + sdk/go/google/compute/alpha/getRoute.go | 7 + sdk/go/google/compute/alpha/getRouter.go | 7 + .../google/compute/alpha/getSecurityPolicy.go | 7 + .../compute/alpha/getServiceAttachment.go | 7 + .../alpha/getServiceAttachmentIamPolicy.go | 7 + sdk/go/google/compute/alpha/getSnapshot.go | 7 + .../compute/alpha/getSnapshotIamPolicy.go | 7 + .../google/compute/alpha/getSslCertificate.go | 7 + sdk/go/google/compute/alpha/getSslPolicy.go | 7 + sdk/go/google/compute/alpha/getStoragePool.go | 7 + .../compute/alpha/getStoragePoolIamPolicy.go | 7 + sdk/go/google/compute/alpha/getSubnetwork.go | 7 + .../compute/alpha/getSubnetworkIamPolicy.go | 7 + .../compute/alpha/getTargetGrpcProxy.go | 7 + .../compute/alpha/getTargetHttpProxy.go | 7 + .../compute/alpha/getTargetHttpsProxy.go | 7 + .../google/compute/alpha/getTargetInstance.go | 7 + sdk/go/google/compute/alpha/getTargetPool.go | 7 + .../google/compute/alpha/getTargetSslProxy.go | 7 + .../google/compute/alpha/getTargetTcpProxy.go | 7 + .../compute/alpha/getTargetVpnGateway.go | 7 + sdk/go/google/compute/alpha/getUrlMap.go | 7 + sdk/go/google/compute/alpha/getVpnGateway.go | 7 + sdk/go/google/compute/alpha/getVpnTunnel.go | 7 + .../compute/alpha/getZoneQueuedResource.go | 7 + sdk/go/google/compute/alpha/globalAddress.go | 13 + .../compute/alpha/globalForwardingRule.go | 13 + .../alpha/globalNetworkEndpointGroup.go | 13 + .../alpha/globalPublicDelegatedPrefix.go | 13 + sdk/go/google/compute/alpha/healthCheck.go | 13 + .../google/compute/alpha/httpHealthCheck.go | 13 + .../google/compute/alpha/httpsHealthCheck.go | 13 + sdk/go/google/compute/alpha/image.go | 13 + .../google/compute/alpha/imageIamBinding.go | 13 + sdk/go/google/compute/alpha/imageIamMember.go | 13 + sdk/go/google/compute/alpha/imageIamPolicy.go | 13 + sdk/go/google/compute/alpha/instance.go | 13 + sdk/go/google/compute/alpha/instanceGroup.go | 13 + .../compute/alpha/instanceGroupManager.go | 13 + .../instanceGroupManagerResizeRequest.go | 13 + .../compute/alpha/instanceIamBinding.go | 13 + .../google/compute/alpha/instanceIamMember.go | 13 + .../google/compute/alpha/instanceIamPolicy.go | 13 + .../google/compute/alpha/instanceTemplate.go | 13 + .../alpha/instanceTemplateIamBinding.go | 13 + .../alpha/instanceTemplateIamMember.go | 13 + .../alpha/instanceTemplateIamPolicy.go | 13 + .../google/compute/alpha/instantSnapshot.go | 13 + .../alpha/instantSnapshotIamBinding.go | 13 + .../compute/alpha/instantSnapshotIamMember.go | 13 + .../compute/alpha/instantSnapshotIamPolicy.go | 13 + sdk/go/google/compute/alpha/interconnect.go | 13 + .../compute/alpha/interconnectAttachment.go | 13 + .../alpha/interconnectAttachmentIamBinding.go | 13 + .../alpha/interconnectAttachmentIamMember.go | 13 + .../alpha/interconnectAttachmentIamPolicy.go | 13 + .../compute/alpha/interconnectIamBinding.go | 13 + .../compute/alpha/interconnectIamMember.go | 13 + .../compute/alpha/interconnectIamPolicy.go | 13 + sdk/go/google/compute/alpha/license.go | 13 + .../compute/alpha/licenseCodeIamBinding.go | 13 + .../compute/alpha/licenseCodeIamMember.go | 13 + .../compute/alpha/licenseCodeIamPolicy.go | 13 + .../google/compute/alpha/licenseIamBinding.go | 13 + .../google/compute/alpha/licenseIamMember.go | 13 + .../google/compute/alpha/licenseIamPolicy.go | 13 + sdk/go/google/compute/alpha/machineImage.go | 13 + .../compute/alpha/machineImageIamBinding.go | 13 + .../compute/alpha/machineImageIamMember.go | 13 + .../compute/alpha/machineImageIamPolicy.go | 13 + sdk/go/google/compute/alpha/network.go | 13 + .../google/compute/alpha/networkAttachment.go | 13 + .../alpha/networkAttachmentIamBinding.go | 13 + .../alpha/networkAttachmentIamMember.go | 13 + .../alpha/networkAttachmentIamPolicy.go | 13 + .../alpha/networkEdgeSecurityService.go | 13 + .../compute/alpha/networkEndpointGroup.go | 13 + .../compute/alpha/networkFirewallPolicy.go | 13 + .../alpha/networkFirewallPolicyIamBinding.go | 13 + .../alpha/networkFirewallPolicyIamMember.go | 13 + .../alpha/networkFirewallPolicyIamPolicy.go | 13 + sdk/go/google/compute/alpha/nodeGroup.go | 13 + .../compute/alpha/nodeGroupIamBinding.go | 13 + .../compute/alpha/nodeGroupIamMember.go | 13 + .../compute/alpha/nodeGroupIamPolicy.go | 13 + sdk/go/google/compute/alpha/nodeTemplate.go | 13 + .../compute/alpha/nodeTemplateIamBinding.go | 13 + .../compute/alpha/nodeTemplateIamMember.go | 13 + .../compute/alpha/nodeTemplateIamPolicy.go | 13 + .../alpha/organizationSecurityPolicy.go | 13 + .../google/compute/alpha/packetMirroring.go | 13 + .../compute/alpha/publicAdvertisedPrefix.go | 13 + .../compute/alpha/publicDelegatedPrefix.go | 13 + sdk/go/google/compute/alpha/pulumiEnums.go | 4489 ++++++++++ sdk/go/google/compute/alpha/pulumiTypes.go | 7699 +++++++++++++++++ sdk/go/google/compute/alpha/pulumiTypes1.go | 1225 +++ .../google/compute/alpha/regionAutoscaler.go | 13 + .../compute/alpha/regionBackendService.go | 13 + .../alpha/regionBackendServiceIamBinding.go | 13 + .../alpha/regionBackendServiceIamMember.go | 13 + .../alpha/regionBackendServiceIamPolicy.go | 13 + .../google/compute/alpha/regionCommitment.go | 13 + sdk/go/google/compute/alpha/regionDisk.go | 13 + .../compute/alpha/regionDiskIamBinding.go | 13 + .../compute/alpha/regionDiskIamMember.go | 13 + .../compute/alpha/regionDiskIamPolicy.go | 13 + .../google/compute/alpha/regionHealthCheck.go | 13 + .../compute/alpha/regionHealthCheckService.go | 13 + .../alpha/regionInstanceGroupManager.go | 13 + .../compute/alpha/regionInstanceTemplate.go | 13 + .../compute/alpha/regionInstantSnapshot.go | 13 + .../alpha/regionInstantSnapshotIamBinding.go | 13 + .../alpha/regionInstantSnapshotIamMember.go | 13 + .../alpha/regionInstantSnapshotIamPolicy.go | 13 + .../alpha/regionNetworkEndpointGroup.go | 13 + .../alpha/regionNetworkFirewallPolicy.go | 13 + .../regionNetworkFirewallPolicyIamBinding.go | 13 + .../regionNetworkFirewallPolicyIamMember.go | 13 + .../regionNetworkFirewallPolicyIamPolicy.go | 13 + .../alpha/regionNotificationEndpoint.go | 13 + .../compute/alpha/regionSecurityPolicy.go | 13 + .../compute/alpha/regionSslCertificate.go | 13 + .../google/compute/alpha/regionSslPolicy.go | 13 + .../compute/alpha/regionTargetHttpProxy.go | 13 + .../compute/alpha/regionTargetHttpsProxy.go | 13 + .../compute/alpha/regionTargetTcpProxy.go | 13 + sdk/go/google/compute/alpha/regionUrlMap.go | 13 + sdk/go/google/compute/alpha/reservation.go | 13 + .../compute/alpha/reservationIamBinding.go | 13 + .../compute/alpha/reservationIamMember.go | 13 + .../compute/alpha/reservationIamPolicy.go | 13 + sdk/go/google/compute/alpha/resourcePolicy.go | 13 + .../compute/alpha/resourcePolicyIamBinding.go | 13 + .../compute/alpha/resourcePolicyIamMember.go | 13 + .../compute/alpha/resourcePolicyIamPolicy.go | 13 + sdk/go/google/compute/alpha/route.go | 13 + sdk/go/google/compute/alpha/router.go | 13 + sdk/go/google/compute/alpha/securityPolicy.go | 13 + .../google/compute/alpha/serviceAttachment.go | 13 + .../alpha/serviceAttachmentIamBinding.go | 13 + .../alpha/serviceAttachmentIamMember.go | 13 + .../alpha/serviceAttachmentIamPolicy.go | 13 + sdk/go/google/compute/alpha/snapshot.go | 13 + .../compute/alpha/snapshotIamBinding.go | 13 + .../google/compute/alpha/snapshotIamMember.go | 13 + .../google/compute/alpha/snapshotIamPolicy.go | 13 + sdk/go/google/compute/alpha/sslCertificate.go | 13 + sdk/go/google/compute/alpha/sslPolicy.go | 13 + sdk/go/google/compute/alpha/storagePool.go | 13 + .../compute/alpha/storagePoolIamBinding.go | 13 + .../compute/alpha/storagePoolIamMember.go | 13 + .../compute/alpha/storagePoolIamPolicy.go | 13 + sdk/go/google/compute/alpha/subnetwork.go | 13 + .../compute/alpha/subnetworkIamBinding.go | 13 + .../compute/alpha/subnetworkIamMember.go | 13 + .../compute/alpha/subnetworkIamPolicy.go | 13 + .../google/compute/alpha/targetGrpcProxy.go | 13 + .../google/compute/alpha/targetHttpProxy.go | 13 + .../google/compute/alpha/targetHttpsProxy.go | 13 + sdk/go/google/compute/alpha/targetInstance.go | 13 + sdk/go/google/compute/alpha/targetPool.go | 13 + sdk/go/google/compute/alpha/targetSslProxy.go | 13 + sdk/go/google/compute/alpha/targetTcpProxy.go | 13 + .../google/compute/alpha/targetVpnGateway.go | 13 + sdk/go/google/compute/alpha/urlMap.go | 13 + sdk/go/google/compute/alpha/vpnGateway.go | 13 + sdk/go/google/compute/alpha/vpnTunnel.go | 13 + .../compute/alpha/zoneQueuedResource.go | 13 + sdk/go/google/compute/beta/address.go | 13 + sdk/go/google/compute/beta/autoscaler.go | 13 + sdk/go/google/compute/beta/backendBucket.go | 13 + .../compute/beta/backendBucketIamBinding.go | 13 + .../compute/beta/backendBucketIamMember.go | 13 + .../compute/beta/backendBucketIamPolicy.go | 13 + sdk/go/google/compute/beta/backendService.go | 13 + .../compute/beta/backendServiceIamBinding.go | 13 + .../compute/beta/backendServiceIamMember.go | 13 + .../compute/beta/backendServiceIamPolicy.go | 13 + sdk/go/google/compute/beta/disk.go | 13 + sdk/go/google/compute/beta/diskIamBinding.go | 13 + sdk/go/google/compute/beta/diskIamMember.go | 13 + sdk/go/google/compute/beta/diskIamPolicy.go | 13 + .../google/compute/beta/externalVpnGateway.go | 13 + sdk/go/google/compute/beta/firewall.go | 13 + sdk/go/google/compute/beta/firewallPolicy.go | 13 + .../compute/beta/firewallPolicyIamBinding.go | 13 + .../compute/beta/firewallPolicyIamMember.go | 13 + .../compute/beta/firewallPolicyIamPolicy.go | 13 + sdk/go/google/compute/beta/forwardingRule.go | 13 + sdk/go/google/compute/beta/getAddress.go | 7 + sdk/go/google/compute/beta/getAutoscaler.go | 7 + .../google/compute/beta/getBackendBucket.go | 7 + .../compute/beta/getBackendBucketIamPolicy.go | 7 + .../google/compute/beta/getBackendService.go | 7 + .../beta/getBackendServiceIamPolicy.go | 7 + sdk/go/google/compute/beta/getDisk.go | 7 + .../google/compute/beta/getDiskIamPolicy.go | 7 + .../compute/beta/getExternalVpnGateway.go | 7 + sdk/go/google/compute/beta/getFirewall.go | 7 + .../google/compute/beta/getFirewallPolicy.go | 7 + .../beta/getFirewallPolicyIamPolicy.go | 7 + .../google/compute/beta/getForwardingRule.go | 7 + .../google/compute/beta/getGlobalAddress.go | 7 + .../compute/beta/getGlobalForwardingRule.go | 7 + .../beta/getGlobalNetworkEndpointGroup.go | 7 + .../beta/getGlobalPublicDelegatedPrefix.go | 7 + sdk/go/google/compute/beta/getHealthCheck.go | 7 + .../google/compute/beta/getHttpHealthCheck.go | 7 + .../compute/beta/getHttpsHealthCheck.go | 7 + sdk/go/google/compute/beta/getImage.go | 7 + .../google/compute/beta/getImageIamPolicy.go | 7 + sdk/go/google/compute/beta/getInstance.go | 7 + .../google/compute/beta/getInstanceGroup.go | 7 + .../compute/beta/getInstanceGroupManager.go | 7 + .../compute/beta/getInstanceIamPolicy.go | 7 + .../compute/beta/getInstanceTemplate.go | 7 + .../beta/getInstanceTemplateIamPolicy.go | 7 + .../google/compute/beta/getInstantSnapshot.go | 7 + .../beta/getInstantSnapshotIamPolicy.go | 7 + sdk/go/google/compute/beta/getInterconnect.go | 7 + .../compute/beta/getInterconnectAttachment.go | 7 + sdk/go/google/compute/beta/getLicense.go | 7 + .../compute/beta/getLicenseIamPolicy.go | 7 + sdk/go/google/compute/beta/getMachineImage.go | 7 + .../compute/beta/getMachineImageIamPolicy.go | 7 + sdk/go/google/compute/beta/getNetwork.go | 7 + .../compute/beta/getNetworkAttachment.go | 7 + .../beta/getNetworkAttachmentIamPolicy.go | 7 + .../beta/getNetworkEdgeSecurityService.go | 7 + .../compute/beta/getNetworkEndpointGroup.go | 7 + .../compute/beta/getNetworkFirewallPolicy.go | 7 + .../beta/getNetworkFirewallPolicyIamPolicy.go | 7 + sdk/go/google/compute/beta/getNodeGroup.go | 7 + .../compute/beta/getNodeGroupIamPolicy.go | 7 + sdk/go/google/compute/beta/getNodeTemplate.go | 7 + .../compute/beta/getNodeTemplateIamPolicy.go | 7 + .../beta/getOrganizationSecurityPolicy.go | 7 + .../google/compute/beta/getPacketMirroring.go | 7 + .../compute/beta/getPublicAdvertisedPrefix.go | 7 + .../compute/beta/getPublicDelegatedPrefix.go | 7 + .../compute/beta/getRegionAutoscaler.go | 7 + .../compute/beta/getRegionBackendService.go | 7 + .../beta/getRegionBackendServiceIamPolicy.go | 7 + .../compute/beta/getRegionCommitment.go | 7 + sdk/go/google/compute/beta/getRegionDisk.go | 7 + .../compute/beta/getRegionDiskIamPolicy.go | 7 + .../compute/beta/getRegionHealthCheck.go | 7 + .../beta/getRegionHealthCheckService.go | 7 + .../beta/getRegionInstanceGroupManager.go | 7 + .../compute/beta/getRegionInstanceTemplate.go | 7 + .../compute/beta/getRegionInstantSnapshot.go | 7 + .../beta/getRegionInstantSnapshotIamPolicy.go | 7 + .../beta/getRegionNetworkEndpointGroup.go | 7 + .../beta/getRegionNetworkFirewallPolicy.go | 7 + ...getRegionNetworkFirewallPolicyIamPolicy.go | 7 + .../beta/getRegionNotificationEndpoint.go | 7 + .../compute/beta/getRegionSecurityPolicy.go | 7 + .../compute/beta/getRegionSslCertificate.go | 7 + .../google/compute/beta/getRegionSslPolicy.go | 7 + .../compute/beta/getRegionTargetHttpProxy.go | 7 + .../compute/beta/getRegionTargetHttpsProxy.go | 7 + .../compute/beta/getRegionTargetTcpProxy.go | 7 + sdk/go/google/compute/beta/getRegionUrlMap.go | 7 + sdk/go/google/compute/beta/getReservation.go | 7 + .../compute/beta/getReservationIamPolicy.go | 7 + .../google/compute/beta/getResourcePolicy.go | 7 + .../beta/getResourcePolicyIamPolicy.go | 7 + sdk/go/google/compute/beta/getRoute.go | 7 + sdk/go/google/compute/beta/getRouter.go | 7 + .../google/compute/beta/getSecurityPolicy.go | 7 + .../compute/beta/getServiceAttachment.go | 7 + .../beta/getServiceAttachmentIamPolicy.go | 7 + sdk/go/google/compute/beta/getSnapshot.go | 7 + .../compute/beta/getSnapshotIamPolicy.go | 7 + .../google/compute/beta/getSslCertificate.go | 7 + sdk/go/google/compute/beta/getSslPolicy.go | 7 + sdk/go/google/compute/beta/getSubnetwork.go | 7 + .../compute/beta/getSubnetworkIamPolicy.go | 7 + .../google/compute/beta/getTargetGrpcProxy.go | 7 + .../google/compute/beta/getTargetHttpProxy.go | 7 + .../compute/beta/getTargetHttpsProxy.go | 7 + .../google/compute/beta/getTargetInstance.go | 7 + sdk/go/google/compute/beta/getTargetPool.go | 7 + .../google/compute/beta/getTargetSslProxy.go | 7 + .../google/compute/beta/getTargetTcpProxy.go | 7 + .../compute/beta/getTargetVpnGateway.go | 7 + sdk/go/google/compute/beta/getUrlMap.go | 7 + sdk/go/google/compute/beta/getVpnGateway.go | 7 + sdk/go/google/compute/beta/getVpnTunnel.go | 7 + sdk/go/google/compute/beta/globalAddress.go | 13 + .../compute/beta/globalForwardingRule.go | 13 + .../beta/globalNetworkEndpointGroup.go | 13 + .../beta/globalPublicDelegatedPrefix.go | 13 + sdk/go/google/compute/beta/healthCheck.go | 13 + sdk/go/google/compute/beta/httpHealthCheck.go | 13 + .../google/compute/beta/httpsHealthCheck.go | 13 + sdk/go/google/compute/beta/image.go | 13 + sdk/go/google/compute/beta/imageIamBinding.go | 13 + sdk/go/google/compute/beta/imageIamMember.go | 13 + sdk/go/google/compute/beta/imageIamPolicy.go | 13 + sdk/go/google/compute/beta/instance.go | 13 + sdk/go/google/compute/beta/instanceGroup.go | 13 + .../compute/beta/instanceGroupManager.go | 13 + .../google/compute/beta/instanceIamBinding.go | 13 + .../google/compute/beta/instanceIamMember.go | 13 + .../google/compute/beta/instanceIamPolicy.go | 13 + .../google/compute/beta/instanceTemplate.go | 13 + .../beta/instanceTemplateIamBinding.go | 13 + .../compute/beta/instanceTemplateIamMember.go | 13 + .../compute/beta/instanceTemplateIamPolicy.go | 13 + sdk/go/google/compute/beta/instantSnapshot.go | 13 + .../compute/beta/instantSnapshotIamBinding.go | 13 + .../compute/beta/instantSnapshotIamMember.go | 13 + .../compute/beta/instantSnapshotIamPolicy.go | 13 + sdk/go/google/compute/beta/interconnect.go | 13 + .../compute/beta/interconnectAttachment.go | 13 + sdk/go/google/compute/beta/license.go | 13 + .../google/compute/beta/licenseIamBinding.go | 13 + .../google/compute/beta/licenseIamMember.go | 13 + .../google/compute/beta/licenseIamPolicy.go | 13 + sdk/go/google/compute/beta/machineImage.go | 13 + .../compute/beta/machineImageIamBinding.go | 13 + .../compute/beta/machineImageIamMember.go | 13 + .../compute/beta/machineImageIamPolicy.go | 13 + sdk/go/google/compute/beta/network.go | 13 + .../google/compute/beta/networkAttachment.go | 13 + .../beta/networkAttachmentIamBinding.go | 13 + .../beta/networkAttachmentIamMember.go | 13 + .../beta/networkAttachmentIamPolicy.go | 13 + .../beta/networkEdgeSecurityService.go | 13 + .../compute/beta/networkEndpointGroup.go | 13 + .../compute/beta/networkFirewallPolicy.go | 13 + .../beta/networkFirewallPolicyIamBinding.go | 13 + .../beta/networkFirewallPolicyIamMember.go | 13 + .../beta/networkFirewallPolicyIamPolicy.go | 13 + sdk/go/google/compute/beta/nodeGroup.go | 13 + .../compute/beta/nodeGroupIamBinding.go | 13 + .../google/compute/beta/nodeGroupIamMember.go | 13 + .../google/compute/beta/nodeGroupIamPolicy.go | 13 + sdk/go/google/compute/beta/nodeTemplate.go | 13 + .../compute/beta/nodeTemplateIamBinding.go | 13 + .../compute/beta/nodeTemplateIamMember.go | 13 + .../compute/beta/nodeTemplateIamPolicy.go | 13 + .../beta/organizationSecurityPolicy.go | 13 + sdk/go/google/compute/beta/packetMirroring.go | 13 + .../compute/beta/publicAdvertisedPrefix.go | 13 + .../compute/beta/publicDelegatedPrefix.go | 13 + sdk/go/google/compute/beta/pulumiEnums.go | 3595 ++++++++ sdk/go/google/compute/beta/pulumiTypes.go | 7411 ++++++++++++++++ .../google/compute/beta/regionAutoscaler.go | 13 + .../compute/beta/regionBackendService.go | 13 + .../beta/regionBackendServiceIamBinding.go | 13 + .../beta/regionBackendServiceIamMember.go | 13 + .../beta/regionBackendServiceIamPolicy.go | 13 + .../google/compute/beta/regionCommitment.go | 13 + sdk/go/google/compute/beta/regionDisk.go | 13 + .../compute/beta/regionDiskIamBinding.go | 13 + .../compute/beta/regionDiskIamMember.go | 13 + .../compute/beta/regionDiskIamPolicy.go | 13 + .../google/compute/beta/regionHealthCheck.go | 13 + .../compute/beta/regionHealthCheckService.go | 13 + .../beta/regionInstanceGroupManager.go | 13 + .../compute/beta/regionInstanceTemplate.go | 13 + .../compute/beta/regionInstantSnapshot.go | 13 + .../beta/regionInstantSnapshotIamBinding.go | 13 + .../beta/regionInstantSnapshotIamMember.go | 13 + .../beta/regionInstantSnapshotIamPolicy.go | 13 + .../beta/regionNetworkEndpointGroup.go | 13 + .../beta/regionNetworkFirewallPolicy.go | 13 + .../regionNetworkFirewallPolicyIamBinding.go | 13 + .../regionNetworkFirewallPolicyIamMember.go | 13 + .../regionNetworkFirewallPolicyIamPolicy.go | 13 + .../beta/regionNotificationEndpoint.go | 13 + .../compute/beta/regionSecurityPolicy.go | 13 + .../compute/beta/regionSslCertificate.go | 13 + sdk/go/google/compute/beta/regionSslPolicy.go | 13 + .../compute/beta/regionTargetHttpProxy.go | 13 + .../compute/beta/regionTargetHttpsProxy.go | 13 + .../compute/beta/regionTargetTcpProxy.go | 13 + sdk/go/google/compute/beta/regionUrlMap.go | 13 + sdk/go/google/compute/beta/reservation.go | 13 + .../compute/beta/reservationIamBinding.go | 13 + .../compute/beta/reservationIamMember.go | 13 + .../compute/beta/reservationIamPolicy.go | 13 + sdk/go/google/compute/beta/resourcePolicy.go | 13 + .../compute/beta/resourcePolicyIamBinding.go | 13 + .../compute/beta/resourcePolicyIamMember.go | 13 + .../compute/beta/resourcePolicyIamPolicy.go | 13 + sdk/go/google/compute/beta/route.go | 13 + sdk/go/google/compute/beta/router.go | 13 + sdk/go/google/compute/beta/securityPolicy.go | 13 + .../google/compute/beta/serviceAttachment.go | 13 + .../beta/serviceAttachmentIamBinding.go | 13 + .../beta/serviceAttachmentIamMember.go | 13 + .../beta/serviceAttachmentIamPolicy.go | 13 + sdk/go/google/compute/beta/snapshot.go | 13 + .../google/compute/beta/snapshotIamBinding.go | 13 + .../google/compute/beta/snapshotIamMember.go | 13 + .../google/compute/beta/snapshotIamPolicy.go | 13 + sdk/go/google/compute/beta/sslCertificate.go | 13 + sdk/go/google/compute/beta/sslPolicy.go | 13 + sdk/go/google/compute/beta/subnetwork.go | 13 + .../compute/beta/subnetworkIamBinding.go | 13 + .../compute/beta/subnetworkIamMember.go | 13 + .../compute/beta/subnetworkIamPolicy.go | 13 + sdk/go/google/compute/beta/targetGrpcProxy.go | 13 + sdk/go/google/compute/beta/targetHttpProxy.go | 13 + .../google/compute/beta/targetHttpsProxy.go | 13 + sdk/go/google/compute/beta/targetInstance.go | 13 + sdk/go/google/compute/beta/targetPool.go | 13 + sdk/go/google/compute/beta/targetSslProxy.go | 13 + sdk/go/google/compute/beta/targetTcpProxy.go | 13 + .../google/compute/beta/targetVpnGateway.go | 13 + sdk/go/google/compute/beta/urlMap.go | 13 + sdk/go/google/compute/beta/vpnGateway.go | 13 + sdk/go/google/compute/beta/vpnTunnel.go | 13 + sdk/go/google/compute/v1/address.go | 13 + sdk/go/google/compute/v1/autoscaler.go | 13 + sdk/go/google/compute/v1/backendBucket.go | 13 + sdk/go/google/compute/v1/backendService.go | 13 + .../compute/v1/backendServiceIamBinding.go | 13 + .../compute/v1/backendServiceIamMember.go | 13 + .../compute/v1/backendServiceIamPolicy.go | 13 + sdk/go/google/compute/v1/disk.go | 13 + sdk/go/google/compute/v1/diskIamBinding.go | 13 + sdk/go/google/compute/v1/diskIamMember.go | 13 + sdk/go/google/compute/v1/diskIamPolicy.go | 13 + .../google/compute/v1/externalVpnGateway.go | 13 + sdk/go/google/compute/v1/firewall.go | 13 + sdk/go/google/compute/v1/firewallPolicy.go | 13 + .../compute/v1/firewallPolicyIamBinding.go | 13 + .../compute/v1/firewallPolicyIamMember.go | 13 + .../compute/v1/firewallPolicyIamPolicy.go | 13 + sdk/go/google/compute/v1/forwardingRule.go | 13 + sdk/go/google/compute/v1/getAddress.go | 7 + sdk/go/google/compute/v1/getAutoscaler.go | 7 + sdk/go/google/compute/v1/getBackendBucket.go | 7 + sdk/go/google/compute/v1/getBackendService.go | 7 + .../compute/v1/getBackendServiceIamPolicy.go | 7 + sdk/go/google/compute/v1/getDisk.go | 7 + sdk/go/google/compute/v1/getDiskIamPolicy.go | 7 + .../compute/v1/getExternalVpnGateway.go | 7 + sdk/go/google/compute/v1/getFirewall.go | 7 + sdk/go/google/compute/v1/getFirewallPolicy.go | 7 + .../compute/v1/getFirewallPolicyIamPolicy.go | 7 + sdk/go/google/compute/v1/getForwardingRule.go | 7 + sdk/go/google/compute/v1/getGlobalAddress.go | 7 + .../compute/v1/getGlobalForwardingRule.go | 7 + .../v1/getGlobalNetworkEndpointGroup.go | 7 + .../v1/getGlobalPublicDelegatedPrefix.go | 7 + sdk/go/google/compute/v1/getHealthCheck.go | 7 + .../google/compute/v1/getHttpHealthCheck.go | 7 + .../google/compute/v1/getHttpsHealthCheck.go | 7 + sdk/go/google/compute/v1/getImage.go | 7 + sdk/go/google/compute/v1/getImageIamPolicy.go | 7 + sdk/go/google/compute/v1/getInstance.go | 7 + sdk/go/google/compute/v1/getInstanceGroup.go | 7 + .../compute/v1/getInstanceGroupManager.go | 7 + .../google/compute/v1/getInstanceIamPolicy.go | 7 + .../google/compute/v1/getInstanceTemplate.go | 7 + .../v1/getInstanceTemplateIamPolicy.go | 7 + sdk/go/google/compute/v1/getInterconnect.go | 7 + .../compute/v1/getInterconnectAttachment.go | 7 + sdk/go/google/compute/v1/getLicense.go | 7 + .../google/compute/v1/getLicenseIamPolicy.go | 7 + sdk/go/google/compute/v1/getMachineImage.go | 7 + .../compute/v1/getMachineImageIamPolicy.go | 7 + sdk/go/google/compute/v1/getNetwork.go | 7 + .../google/compute/v1/getNetworkAttachment.go | 7 + .../v1/getNetworkAttachmentIamPolicy.go | 7 + .../v1/getNetworkEdgeSecurityService.go | 7 + .../compute/v1/getNetworkEndpointGroup.go | 7 + .../compute/v1/getNetworkFirewallPolicy.go | 7 + .../v1/getNetworkFirewallPolicyIamPolicy.go | 7 + sdk/go/google/compute/v1/getNodeGroup.go | 7 + .../compute/v1/getNodeGroupIamPolicy.go | 7 + sdk/go/google/compute/v1/getNodeTemplate.go | 7 + .../compute/v1/getNodeTemplateIamPolicy.go | 7 + .../google/compute/v1/getPacketMirroring.go | 7 + .../compute/v1/getPublicAdvertisedPrefix.go | 7 + .../compute/v1/getPublicDelegatedPrefix.go | 7 + .../google/compute/v1/getRegionAutoscaler.go | 7 + .../compute/v1/getRegionBackendService.go | 7 + .../v1/getRegionBackendServiceIamPolicy.go | 7 + .../google/compute/v1/getRegionCommitment.go | 7 + sdk/go/google/compute/v1/getRegionDisk.go | 7 + .../compute/v1/getRegionDiskIamPolicy.go | 7 + .../google/compute/v1/getRegionHealthCheck.go | 7 + .../compute/v1/getRegionHealthCheckService.go | 7 + .../v1/getRegionInstanceGroupManager.go | 7 + .../compute/v1/getRegionInstanceTemplate.go | 7 + .../v1/getRegionNetworkEndpointGroup.go | 7 + .../v1/getRegionNetworkFirewallPolicy.go | 7 + ...getRegionNetworkFirewallPolicyIamPolicy.go | 7 + .../v1/getRegionNotificationEndpoint.go | 7 + .../compute/v1/getRegionSecurityPolicy.go | 7 + .../compute/v1/getRegionSslCertificate.go | 7 + .../google/compute/v1/getRegionSslPolicy.go | 7 + .../compute/v1/getRegionTargetHttpProxy.go | 7 + .../compute/v1/getRegionTargetHttpsProxy.go | 7 + .../compute/v1/getRegionTargetTcpProxy.go | 7 + sdk/go/google/compute/v1/getRegionUrlMap.go | 7 + sdk/go/google/compute/v1/getReservation.go | 7 + .../compute/v1/getReservationIamPolicy.go | 7 + sdk/go/google/compute/v1/getResourcePolicy.go | 7 + .../compute/v1/getResourcePolicyIamPolicy.go | 7 + sdk/go/google/compute/v1/getRoute.go | 7 + sdk/go/google/compute/v1/getRouter.go | 7 + sdk/go/google/compute/v1/getSecurityPolicy.go | 7 + .../google/compute/v1/getServiceAttachment.go | 7 + .../v1/getServiceAttachmentIamPolicy.go | 7 + sdk/go/google/compute/v1/getSnapshot.go | 7 + .../google/compute/v1/getSnapshotIamPolicy.go | 7 + sdk/go/google/compute/v1/getSslCertificate.go | 7 + sdk/go/google/compute/v1/getSslPolicy.go | 7 + sdk/go/google/compute/v1/getSubnetwork.go | 7 + .../compute/v1/getSubnetworkIamPolicy.go | 7 + .../google/compute/v1/getTargetGrpcProxy.go | 7 + .../google/compute/v1/getTargetHttpProxy.go | 7 + .../google/compute/v1/getTargetHttpsProxy.go | 7 + sdk/go/google/compute/v1/getTargetInstance.go | 7 + sdk/go/google/compute/v1/getTargetPool.go | 7 + sdk/go/google/compute/v1/getTargetSslProxy.go | 7 + sdk/go/google/compute/v1/getTargetTcpProxy.go | 7 + .../google/compute/v1/getTargetVpnGateway.go | 7 + sdk/go/google/compute/v1/getUrlMap.go | 7 + sdk/go/google/compute/v1/getVpnGateway.go | 7 + sdk/go/google/compute/v1/getVpnTunnel.go | 7 + sdk/go/google/compute/v1/globalAddress.go | 13 + .../google/compute/v1/globalForwardingRule.go | 13 + .../compute/v1/globalNetworkEndpointGroup.go | 13 + .../compute/v1/globalPublicDelegatedPrefix.go | 13 + sdk/go/google/compute/v1/healthCheck.go | 13 + sdk/go/google/compute/v1/httpHealthCheck.go | 13 + sdk/go/google/compute/v1/httpsHealthCheck.go | 13 + sdk/go/google/compute/v1/image.go | 13 + sdk/go/google/compute/v1/imageIamBinding.go | 13 + sdk/go/google/compute/v1/imageIamMember.go | 13 + sdk/go/google/compute/v1/imageIamPolicy.go | 13 + sdk/go/google/compute/v1/instance.go | 13 + sdk/go/google/compute/v1/instanceGroup.go | 13 + .../google/compute/v1/instanceGroupManager.go | 13 + .../google/compute/v1/instanceIamBinding.go | 13 + sdk/go/google/compute/v1/instanceIamMember.go | 13 + sdk/go/google/compute/v1/instanceIamPolicy.go | 13 + sdk/go/google/compute/v1/instanceTemplate.go | 13 + .../compute/v1/instanceTemplateIamBinding.go | 13 + .../compute/v1/instanceTemplateIamMember.go | 13 + .../compute/v1/instanceTemplateIamPolicy.go | 13 + sdk/go/google/compute/v1/interconnect.go | 13 + .../compute/v1/interconnectAttachment.go | 13 + sdk/go/google/compute/v1/license.go | 13 + sdk/go/google/compute/v1/licenseIamBinding.go | 13 + sdk/go/google/compute/v1/licenseIamMember.go | 13 + sdk/go/google/compute/v1/licenseIamPolicy.go | 13 + sdk/go/google/compute/v1/machineImage.go | 13 + .../compute/v1/machineImageIamBinding.go | 13 + .../compute/v1/machineImageIamMember.go | 13 + .../compute/v1/machineImageIamPolicy.go | 13 + sdk/go/google/compute/v1/network.go | 13 + sdk/go/google/compute/v1/networkAttachment.go | 13 + .../compute/v1/networkAttachmentIamBinding.go | 13 + .../compute/v1/networkAttachmentIamMember.go | 13 + .../compute/v1/networkAttachmentIamPolicy.go | 13 + .../compute/v1/networkEdgeSecurityService.go | 13 + .../google/compute/v1/networkEndpointGroup.go | 13 + .../compute/v1/networkFirewallPolicy.go | 13 + .../v1/networkFirewallPolicyIamBinding.go | 13 + .../v1/networkFirewallPolicyIamMember.go | 13 + .../v1/networkFirewallPolicyIamPolicy.go | 13 + sdk/go/google/compute/v1/nodeGroup.go | 13 + .../google/compute/v1/nodeGroupIamBinding.go | 13 + .../google/compute/v1/nodeGroupIamMember.go | 13 + .../google/compute/v1/nodeGroupIamPolicy.go | 13 + sdk/go/google/compute/v1/nodeTemplate.go | 13 + .../compute/v1/nodeTemplateIamBinding.go | 13 + .../compute/v1/nodeTemplateIamMember.go | 13 + .../compute/v1/nodeTemplateIamPolicy.go | 13 + sdk/go/google/compute/v1/packetMirroring.go | 13 + .../compute/v1/publicAdvertisedPrefix.go | 13 + .../compute/v1/publicDelegatedPrefix.go | 13 + sdk/go/google/compute/v1/pulumiEnums.go | 3289 +++++++ sdk/go/google/compute/v1/pulumiTypes.go | 6661 ++++++++++++++ sdk/go/google/compute/v1/regionAutoscaler.go | 13 + .../google/compute/v1/regionBackendService.go | 13 + .../v1/regionBackendServiceIamBinding.go | 13 + .../v1/regionBackendServiceIamMember.go | 13 + .../v1/regionBackendServiceIamPolicy.go | 13 + sdk/go/google/compute/v1/regionCommitment.go | 13 + sdk/go/google/compute/v1/regionDisk.go | 13 + .../google/compute/v1/regionDiskIamBinding.go | 13 + .../google/compute/v1/regionDiskIamMember.go | 13 + .../google/compute/v1/regionDiskIamPolicy.go | 13 + sdk/go/google/compute/v1/regionHealthCheck.go | 13 + .../compute/v1/regionHealthCheckService.go | 13 + .../compute/v1/regionInstanceGroupManager.go | 13 + .../compute/v1/regionInstanceTemplate.go | 13 + .../compute/v1/regionNetworkEndpointGroup.go | 13 + .../compute/v1/regionNetworkFirewallPolicy.go | 13 + .../regionNetworkFirewallPolicyIamBinding.go | 13 + .../regionNetworkFirewallPolicyIamMember.go | 13 + .../regionNetworkFirewallPolicyIamPolicy.go | 13 + .../compute/v1/regionNotificationEndpoint.go | 13 + .../google/compute/v1/regionSecurityPolicy.go | 13 + .../google/compute/v1/regionSslCertificate.go | 13 + sdk/go/google/compute/v1/regionSslPolicy.go | 13 + .../compute/v1/regionTargetHttpProxy.go | 13 + .../compute/v1/regionTargetHttpsProxy.go | 13 + .../google/compute/v1/regionTargetTcpProxy.go | 13 + sdk/go/google/compute/v1/regionUrlMap.go | 13 + sdk/go/google/compute/v1/reservation.go | 13 + .../compute/v1/reservationIamBinding.go | 13 + .../google/compute/v1/reservationIamMember.go | 13 + .../google/compute/v1/reservationIamPolicy.go | 13 + sdk/go/google/compute/v1/resourcePolicy.go | 13 + .../compute/v1/resourcePolicyIamBinding.go | 13 + .../compute/v1/resourcePolicyIamMember.go | 13 + .../compute/v1/resourcePolicyIamPolicy.go | 13 + sdk/go/google/compute/v1/route.go | 13 + sdk/go/google/compute/v1/router.go | 13 + sdk/go/google/compute/v1/securityPolicy.go | 13 + sdk/go/google/compute/v1/serviceAttachment.go | 13 + .../compute/v1/serviceAttachmentIamBinding.go | 13 + .../compute/v1/serviceAttachmentIamMember.go | 13 + .../compute/v1/serviceAttachmentIamPolicy.go | 13 + sdk/go/google/compute/v1/snapshot.go | 13 + .../google/compute/v1/snapshotIamBinding.go | 13 + sdk/go/google/compute/v1/snapshotIamMember.go | 13 + sdk/go/google/compute/v1/snapshotIamPolicy.go | 13 + sdk/go/google/compute/v1/sslCertificate.go | 13 + sdk/go/google/compute/v1/sslPolicy.go | 13 + sdk/go/google/compute/v1/subnetwork.go | 13 + .../google/compute/v1/subnetworkIamBinding.go | 13 + .../google/compute/v1/subnetworkIamMember.go | 13 + .../google/compute/v1/subnetworkIamPolicy.go | 13 + sdk/go/google/compute/v1/targetGrpcProxy.go | 13 + sdk/go/google/compute/v1/targetHttpProxy.go | 13 + sdk/go/google/compute/v1/targetHttpsProxy.go | 13 + sdk/go/google/compute/v1/targetInstance.go | 13 + sdk/go/google/compute/v1/targetPool.go | 13 + sdk/go/google/compute/v1/targetSslProxy.go | 13 + sdk/go/google/compute/v1/targetTcpProxy.go | 13 + sdk/go/google/compute/v1/targetVpnGateway.go | 13 + sdk/go/google/compute/v1/urlMap.go | 13 + sdk/go/google/compute/v1/vpnGateway.go | 13 + sdk/go/google/compute/v1/vpnTunnel.go | 13 + sdk/go/google/connectors/v1/connection.go | 13 + .../connectors/v1/connectionIamBinding.go | 13 + .../connectors/v1/connectionIamMember.go | 13 + .../connectors/v1/connectionIamPolicy.go | 13 + .../connectors/v1/endpointAttachment.go | 13 + sdk/go/google/connectors/v1/getConnection.go | 7 + .../connectors/v1/getConnectionIamPolicy.go | 7 + .../connectors/v1/getEndpointAttachment.go | 7 + sdk/go/google/connectors/v1/getManagedZone.go | 7 + .../connectors/v1/getProviderIamPolicy.go | 7 + sdk/go/google/connectors/v1/managedZone.go | 13 + .../connectors/v1/providerIamBinding.go | 13 + .../google/connectors/v1/providerIamMember.go | 13 + .../google/connectors/v1/providerIamPolicy.go | 13 + sdk/go/google/connectors/v1/pulumiEnums.go | 109 + sdk/go/google/connectors/v1/pulumiTypes.go | 613 ++ sdk/go/google/connectors/v2/entity.go | 13 + sdk/go/google/connectors/v2/getEntity.go | 7 + .../v1alpha1/contactCenter.go | 13 + .../v1alpha1/getContactCenter.go | 7 + .../v1alpha1/pulumiEnums.go | 19 + .../v1alpha1/pulumiTypes.go | 97 + .../contactcenterinsights/v1/analysis.go | 13 + .../contactcenterinsights/v1/conversation.go | 13 + .../contactcenterinsights/v1/getAnalysis.go | 7 + .../v1/getConversation.go | 7 + .../contactcenterinsights/v1/getIssueModel.go | 7 + .../v1/getPhraseMatcher.go | 7 + .../contactcenterinsights/v1/getView.go | 7 + .../contactcenterinsights/v1/issueModel.go | 13 + .../contactcenterinsights/v1/phraseMatcher.go | 13 + .../contactcenterinsights/v1/pulumiEnums.go | 109 + .../contactcenterinsights/v1/pulumiTypes.go | 559 ++ .../google/contactcenterinsights/v1/view.go | 13 + sdk/go/google/container/v1/cluster.go | 13 + sdk/go/google/container/v1/getCluster.go | 7 + sdk/go/google/container/v1/getNodePool.go | 7 + sdk/go/google/container/v1/getServerConfig.go | 7 + sdk/go/google/container/v1/nodePool.go | 13 + sdk/go/google/container/v1/pulumiEnums.go | 595 ++ sdk/go/google/container/v1/pulumiTypes.go | 2887 ++++++ sdk/go/google/container/v1beta1/cluster.go | 13 + sdk/go/google/container/v1beta1/getCluster.go | 7 + .../google/container/v1beta1/getNodePool.go | 7 + .../container/v1beta1/getServerConfig.go | 7 + sdk/go/google/container/v1beta1/nodePool.go | 13 + .../google/container/v1beta1/pulumiEnums.go | 703 ++ .../google/container/v1beta1/pulumiTypes.go | 3259 +++++++ sdk/go/google/containeranalysis/v1/getNote.go | 7 + .../containeranalysis/v1/getNoteIamPolicy.go | 7 + .../containeranalysis/v1/getOccurrence.go | 7 + .../v1/getOccurrenceIamPolicy.go | 7 + sdk/go/google/containeranalysis/v1/note.go | 13 + .../containeranalysis/v1/noteIamBinding.go | 13 + .../containeranalysis/v1/noteIamMember.go | 13 + .../containeranalysis/v1/noteIamPolicy.go | 13 + .../google/containeranalysis/v1/occurrence.go | 13 + .../v1/occurrenceIamBinding.go | 13 + .../v1/occurrenceIamMember.go | 13 + .../v1/occurrenceIamPolicy.go | 13 + .../containeranalysis/v1/pulumiEnums.go | 595 ++ .../containeranalysis/v1/pulumiTypes.go | 3025 +++++++ .../containeranalysis/v1alpha1/getNote.go | 7 + .../v1alpha1/getNoteIamPolicy.go | 7 + .../v1alpha1/getOccurrence.go | 7 + .../v1alpha1/getOccurrenceIamPolicy.go | 7 + .../v1alpha1/getProviderNoteIamPolicy.go | 7 + .../google/containeranalysis/v1alpha1/note.go | 13 + .../v1alpha1/noteIamBinding.go | 13 + .../v1alpha1/noteIamMember.go | 13 + .../v1alpha1/noteIamPolicy.go | 13 + .../containeranalysis/v1alpha1/occurrence.go | 13 + .../v1alpha1/occurrenceIamBinding.go | 13 + .../v1alpha1/occurrenceIamMember.go | 13 + .../v1alpha1/occurrenceIamPolicy.go | 13 + .../v1alpha1/providerNoteIamBinding.go | 13 + .../v1alpha1/providerNoteIamMember.go | 13 + .../v1alpha1/providerNoteIamPolicy.go | 13 + .../containeranalysis/v1alpha1/pulumiEnums.go | 595 ++ .../containeranalysis/v1alpha1/pulumiTypes.go | 3313 +++++++ .../containeranalysis/v1beta1/getNote.go | 7 + .../v1beta1/getNoteIamPolicy.go | 7 + .../v1beta1/getOccurrence.go | 7 + .../v1beta1/getOccurrenceIamPolicy.go | 7 + .../google/containeranalysis/v1beta1/note.go | 13 + .../v1beta1/noteIamBinding.go | 13 + .../v1beta1/noteIamMember.go | 13 + .../v1beta1/noteIamPolicy.go | 13 + .../containeranalysis/v1beta1/occurrence.go | 13 + .../v1beta1/occurrenceIamBinding.go | 13 + .../v1beta1/occurrenceIamMember.go | 13 + .../v1beta1/occurrenceIamPolicy.go | 13 + .../containeranalysis/v1beta1/pulumiEnums.go | 721 ++ .../containeranalysis/v1beta1/pulumiTypes.go | 2833 ++++++ sdk/go/google/contentwarehouse/v1/document.go | 13 + .../contentwarehouse/v1/documentSchema.go | 13 + .../google/contentwarehouse/v1/getDocument.go | 7 + .../contentwarehouse/v1/getDocumentSchema.go | 7 + .../google/contentwarehouse/v1/getRuleSet.go | 7 + .../contentwarehouse/v1/getSynonymSet.go | 7 + .../google/contentwarehouse/v1/pulumiEnums.go | 181 + .../google/contentwarehouse/v1/pulumiTypes.go | 2797 ++++++ sdk/go/google/contentwarehouse/v1/ruleSet.go | 13 + .../google/contentwarehouse/v1/synonymSet.go | 13 + sdk/go/google/datacatalog/v1/entry.go | 13 + sdk/go/google/datacatalog/v1/entryGroup.go | 13 + .../datacatalog/v1/entryGroupIamBinding.go | 13 + .../datacatalog/v1/entryGroupIamMember.go | 13 + .../datacatalog/v1/entryGroupIamPolicy.go | 13 + sdk/go/google/datacatalog/v1/getEntry.go | 7 + sdk/go/google/datacatalog/v1/getEntryGroup.go | 7 + .../datacatalog/v1/getEntryGroupIamPolicy.go | 7 + sdk/go/google/datacatalog/v1/getPolicyTag.go | 7 + .../google/datacatalog/v1/getTagTemplate.go | 7 + .../datacatalog/v1/getTagTemplateIamPolicy.go | 7 + sdk/go/google/datacatalog/v1/getTaxonomy.go | 7 + .../datacatalog/v1/getTaxonomyIamPolicy.go | 7 + .../v1/getTaxonomyPolicyTagIamPolicy.go | 7 + sdk/go/google/datacatalog/v1/policyTag.go | 13 + sdk/go/google/datacatalog/v1/pulumiEnums.go | 157 + sdk/go/google/datacatalog/v1/pulumiTypes.go | 1141 +++ sdk/go/google/datacatalog/v1/tagTemplate.go | 13 + .../datacatalog/v1/tagTemplateIamBinding.go | 13 + .../datacatalog/v1/tagTemplateIamMember.go | 13 + .../datacatalog/v1/tagTemplateIamPolicy.go | 13 + sdk/go/google/datacatalog/v1/taxonomy.go | 13 + .../datacatalog/v1/taxonomyIamBinding.go | 13 + .../datacatalog/v1/taxonomyIamMember.go | 13 + .../datacatalog/v1/taxonomyIamPolicy.go | 13 + .../v1/taxonomyPolicyTagIamBinding.go | 13 + .../v1/taxonomyPolicyTagIamMember.go | 13 + .../v1/taxonomyPolicyTagIamPolicy.go | 13 + sdk/go/google/datacatalog/v1beta1/entry.go | 13 + .../google/datacatalog/v1beta1/entryGroup.go | 13 + .../v1beta1/entryGroupIamBinding.go | 13 + .../v1beta1/entryGroupIamMember.go | 13 + .../v1beta1/entryGroupIamPolicy.go | 13 + sdk/go/google/datacatalog/v1beta1/getEntry.go | 7 + .../datacatalog/v1beta1/getEntryGroup.go | 7 + .../v1beta1/getEntryGroupIamPolicy.go | 7 + .../datacatalog/v1beta1/getPolicyTag.go | 7 + .../datacatalog/v1beta1/getTagTemplate.go | 7 + .../v1beta1/getTagTemplateIamPolicy.go | 7 + .../google/datacatalog/v1beta1/getTaxonomy.go | 7 + .../v1beta1/getTaxonomyIamPolicy.go | 7 + .../v1beta1/getTaxonomyPolicyTagIamPolicy.go | 7 + .../google/datacatalog/v1beta1/policyTag.go | 13 + .../google/datacatalog/v1beta1/pulumiEnums.go | 49 + .../google/datacatalog/v1beta1/pulumiTypes.go | 313 + .../google/datacatalog/v1beta1/tagTemplate.go | 13 + .../v1beta1/tagTemplateIamBinding.go | 13 + .../v1beta1/tagTemplateIamMember.go | 13 + .../v1beta1/tagTemplateIamPolicy.go | 13 + sdk/go/google/datacatalog/v1beta1/taxonomy.go | 13 + .../datacatalog/v1beta1/taxonomyIamBinding.go | 13 + .../datacatalog/v1beta1/taxonomyIamMember.go | 13 + .../datacatalog/v1beta1/taxonomyIamPolicy.go | 13 + .../v1beta1/taxonomyPolicyTagIamBinding.go | 13 + .../v1beta1/taxonomyPolicyTagIamMember.go | 13 + .../v1beta1/taxonomyPolicyTagIamPolicy.go | 13 + sdk/go/google/dataflow/v1b3/getJob.go | 7 + sdk/go/google/dataflow/v1b3/getTemplate.go | 7 + sdk/go/google/dataflow/v1b3/job.go | 13 + sdk/go/google/dataflow/v1b3/pulumiEnums.go | 235 + sdk/go/google/dataflow/v1b3/pulumiTypes.go | 1009 +++ sdk/go/google/dataflow/v1b3/template.go | 13 + .../dataform/v1beta1/compilationResult.go | 13 + .../dataform/v1beta1/getCompilationResult.go | 7 + .../dataform/v1beta1/getReleaseConfig.go | 7 + .../google/dataform/v1beta1/getRepository.go | 7 + .../v1beta1/getRepositoryIamPolicy.go | 7 + .../getRepositoryWorkspaceIamPolicy.go | 7 + .../dataform/v1beta1/getWorkflowConfig.go | 7 + .../dataform/v1beta1/getWorkflowInvocation.go | 7 + .../google/dataform/v1beta1/getWorkspace.go | 7 + sdk/go/google/dataform/v1beta1/pulumiTypes.go | 271 + .../google/dataform/v1beta1/releaseConfig.go | 13 + sdk/go/google/dataform/v1beta1/repository.go | 13 + .../dataform/v1beta1/repositoryIamBinding.go | 13 + .../dataform/v1beta1/repositoryIamMember.go | 13 + .../dataform/v1beta1/repositoryIamPolicy.go | 13 + .../v1beta1/repositoryWorkspaceIamBinding.go | 13 + .../v1beta1/repositoryWorkspaceIamMember.go | 13 + .../v1beta1/repositoryWorkspaceIamPolicy.go | 13 + .../google/dataform/v1beta1/workflowConfig.go | 13 + .../dataform/v1beta1/workflowInvocation.go | 13 + sdk/go/google/dataform/v1beta1/workspace.go | 13 + sdk/go/google/datafusion/v1/getInstance.go | 7 + .../datafusion/v1/getInstanceIamPolicy.go | 7 + sdk/go/google/datafusion/v1/instance.go | 13 + .../datafusion/v1/instanceIamBinding.go | 13 + .../google/datafusion/v1/instanceIamMember.go | 13 + .../google/datafusion/v1/instanceIamPolicy.go | 13 + sdk/go/google/datafusion/v1/pulumiEnums.go | 37 + sdk/go/google/datafusion/v1/pulumiTypes.go | 253 + .../google/datafusion/v1beta1/getInstance.go | 7 + .../v1beta1/getInstanceIamPolicy.go | 7 + .../v1beta1/getInstanceNamespaceIamPolicy.go | 7 + sdk/go/google/datafusion/v1beta1/instance.go | 13 + .../datafusion/v1beta1/instanceIamBinding.go | 13 + .../datafusion/v1beta1/instanceIamMember.go | 13 + .../datafusion/v1beta1/instanceIamPolicy.go | 13 + .../v1beta1/instanceNamespaceIamBinding.go | 13 + .../v1beta1/instanceNamespaceIamMember.go | 13 + .../v1beta1/instanceNamespaceIamPolicy.go | 13 + .../google/datafusion/v1beta1/pulumiEnums.go | 37 + .../google/datafusion/v1beta1/pulumiTypes.go | 253 + .../datalabeling/v1beta1/annotationSpecSet.go | 13 + sdk/go/google/datalabeling/v1beta1/dataset.go | 13 + .../datalabeling/v1beta1/evaluationJob.go | 13 + .../datalabeling/v1beta1/feedbackMessage.go | 13 + .../v1beta1/getAnnotationSpecSet.go | 7 + .../google/datalabeling/v1beta1/getDataset.go | 7 + .../datalabeling/v1beta1/getEvaluationJob.go | 7 + .../v1beta1/getFeedbackMessage.go | 7 + .../datalabeling/v1beta1/getInstruction.go | 7 + .../datalabeling/v1beta1/instruction.go | 13 + .../datalabeling/v1beta1/pulumiEnums.go | 73 + .../datalabeling/v1beta1/pulumiTypes.go | 583 ++ .../google/datalineage/v1/getLineageEvent.go | 7 + sdk/go/google/datalineage/v1/getProcess.go | 7 + sdk/go/google/datalineage/v1/getRun.go | 7 + sdk/go/google/datalineage/v1/lineageEvent.go | 13 + sdk/go/google/datalineage/v1/process.go | 13 + sdk/go/google/datalineage/v1/pulumiEnums.go | 37 + sdk/go/google/datalineage/v1/pulumiTypes.go | 85 + sdk/go/google/datalineage/v1/run.go | 13 + .../datamigration/v1/connectionProfile.go | 13 + .../v1/connectionProfileIamBinding.go | 13 + .../v1/connectionProfileIamMember.go | 13 + .../v1/connectionProfileIamPolicy.go | 13 + .../datamigration/v1/conversionWorkspace.go | 13 + .../v1/conversionWorkspaceIamBinding.go | 13 + .../v1/conversionWorkspaceIamMember.go | 13 + .../v1/conversionWorkspaceIamPolicy.go | 13 + .../datamigration/v1/getConnectionProfile.go | 7 + .../v1/getConnectionProfileIamPolicy.go | 7 + .../v1/getConversionWorkspace.go | 7 + .../v1/getConversionWorkspaceIamPolicy.go | 7 + .../datamigration/v1/getMigrationJob.go | 7 + .../v1/getMigrationJobIamPolicy.go | 7 + .../datamigration/v1/getPrivateConnection.go | 7 + .../v1/getPrivateConnectionIamPolicy.go | 7 + .../google/datamigration/v1/migrationJob.go | 13 + .../v1/migrationJobIamBinding.go | 13 + .../datamigration/v1/migrationJobIamMember.go | 13 + .../datamigration/v1/migrationJobIamPolicy.go | 13 + .../datamigration/v1/privateConnection.go | 13 + .../v1/privateConnectionIamBinding.go | 13 + .../v1/privateConnectionIamMember.go | 13 + .../v1/privateConnectionIamPolicy.go | 13 + sdk/go/google/datamigration/v1/pulumiEnums.go | 217 + sdk/go/google/datamigration/v1/pulumiTypes.go | 955 ++ .../v1beta1/connectionProfile.go | 13 + .../v1beta1/connectionProfileIamBinding.go | 13 + .../v1beta1/connectionProfileIamMember.go | 13 + .../v1beta1/connectionProfileIamPolicy.go | 13 + .../v1beta1/getConnectionProfile.go | 7 + .../v1beta1/getConnectionProfileIamPolicy.go | 7 + .../datamigration/v1beta1/getMigrationJob.go | 7 + .../v1beta1/getMigrationJobIamPolicy.go | 7 + .../datamigration/v1beta1/migrationJob.go | 13 + .../v1beta1/migrationJobIamBinding.go | 13 + .../v1beta1/migrationJobIamMember.go | 13 + .../v1beta1/migrationJobIamPolicy.go | 13 + .../datamigration/v1beta1/pulumiEnums.go | 181 + .../datamigration/v1beta1/pulumiTypes.go | 451 + sdk/go/google/datapipelines/v1/getPipeline.go | 7 + sdk/go/google/datapipelines/v1/pipeline.go | 13 + sdk/go/google/datapipelines/v1/pulumiEnums.go | 91 + sdk/go/google/datapipelines/v1/pulumiTypes.go | 241 + .../dataplex/v1/aspectTypeIamBinding.go | 13 + .../google/dataplex/v1/aspectTypeIamMember.go | 13 + .../google/dataplex/v1/aspectTypeIamPolicy.go | 13 + sdk/go/google/dataplex/v1/asset.go | 13 + sdk/go/google/dataplex/v1/attribute.go | 13 + sdk/go/google/dataplex/v1/content.go | 13 + sdk/go/google/dataplex/v1/contentitem.go | 13 + .../dataplex/v1/dataAttributeBinding.go | 13 + .../v1/dataAttributeBindingIamBinding.go | 13 + .../v1/dataAttributeBindingIamMember.go | 13 + .../v1/dataAttributeBindingIamPolicy.go | 13 + sdk/go/google/dataplex/v1/dataScan.go | 13 + .../google/dataplex/v1/dataScanIamBinding.go | 13 + .../google/dataplex/v1/dataScanIamMember.go | 13 + .../google/dataplex/v1/dataScanIamPolicy.go | 13 + sdk/go/google/dataplex/v1/dataTaxonomy.go | 13 + .../v1/dataTaxonomyAttributeIamBinding.go | 13 + .../v1/dataTaxonomyAttributeIamMember.go | 13 + .../v1/dataTaxonomyAttributeIamPolicy.go | 13 + .../dataplex/v1/dataTaxonomyIamBinding.go | 13 + .../dataplex/v1/dataTaxonomyIamMember.go | 13 + .../dataplex/v1/dataTaxonomyIamPolicy.go | 13 + sdk/go/google/dataplex/v1/entity.go | 13 + .../dataplex/v1/entryGroupIamBinding.go | 13 + .../google/dataplex/v1/entryGroupIamMember.go | 13 + .../google/dataplex/v1/entryGroupIamPolicy.go | 13 + .../google/dataplex/v1/entryTypeIamBinding.go | 13 + .../google/dataplex/v1/entryTypeIamMember.go | 13 + .../google/dataplex/v1/entryTypeIamPolicy.go | 13 + sdk/go/google/dataplex/v1/environment.go | 13 + .../dataplex/v1/getAspectTypeIamPolicy.go | 7 + sdk/go/google/dataplex/v1/getAsset.go | 7 + sdk/go/google/dataplex/v1/getAttribute.go | 7 + sdk/go/google/dataplex/v1/getContent.go | 7 + sdk/go/google/dataplex/v1/getContentitem.go | 7 + .../dataplex/v1/getDataAttributeBinding.go | 7 + .../v1/getDataAttributeBindingIamPolicy.go | 7 + sdk/go/google/dataplex/v1/getDataScan.go | 7 + .../dataplex/v1/getDataScanIamPolicy.go | 7 + sdk/go/google/dataplex/v1/getDataTaxonomy.go | 7 + .../v1/getDataTaxonomyAttributeIamPolicy.go | 7 + .../dataplex/v1/getDataTaxonomyIamPolicy.go | 7 + sdk/go/google/dataplex/v1/getEntity.go | 7 + .../dataplex/v1/getEntryGroupIamPolicy.go | 7 + .../dataplex/v1/getEntryTypeIamPolicy.go | 7 + sdk/go/google/dataplex/v1/getEnvironment.go | 7 + sdk/go/google/dataplex/v1/getLake.go | 7 + .../dataplex/v1/getLakeAssetIamPolicy.go | 7 + .../dataplex/v1/getLakeContentIamPolicy.go | 7 + .../v1/getLakeContentitemIamPolicy.go | 7 + .../v1/getLakeEnvironmentIamPolicy.go | 7 + sdk/go/google/dataplex/v1/getLakeIamPolicy.go | 7 + .../dataplex/v1/getLakeTaskIamPolicy.go | 7 + .../dataplex/v1/getLakeZoneIamPolicy.go | 7 + sdk/go/google/dataplex/v1/getPartition.go | 7 + sdk/go/google/dataplex/v1/getTask.go | 7 + sdk/go/google/dataplex/v1/getZone.go | 7 + sdk/go/google/dataplex/v1/lake.go | 13 + .../google/dataplex/v1/lakeAssetIamBinding.go | 13 + .../google/dataplex/v1/lakeAssetIamMember.go | 13 + .../google/dataplex/v1/lakeAssetIamPolicy.go | 13 + .../dataplex/v1/lakeContentIamBinding.go | 13 + .../dataplex/v1/lakeContentIamMember.go | 13 + .../dataplex/v1/lakeContentIamPolicy.go | 13 + .../dataplex/v1/lakeContentitemIamBinding.go | 13 + .../dataplex/v1/lakeContentitemIamMember.go | 13 + .../dataplex/v1/lakeContentitemIamPolicy.go | 13 + .../dataplex/v1/lakeEnvironmentIamBinding.go | 13 + .../dataplex/v1/lakeEnvironmentIamMember.go | 13 + .../dataplex/v1/lakeEnvironmentIamPolicy.go | 13 + sdk/go/google/dataplex/v1/lakeIamBinding.go | 13 + sdk/go/google/dataplex/v1/lakeIamMember.go | 13 + sdk/go/google/dataplex/v1/lakeIamPolicy.go | 13 + .../google/dataplex/v1/lakeTaskIamBinding.go | 13 + .../google/dataplex/v1/lakeTaskIamMember.go | 13 + .../google/dataplex/v1/lakeTaskIamPolicy.go | 13 + .../google/dataplex/v1/lakeZoneIamBinding.go | 13 + .../google/dataplex/v1/lakeZoneIamMember.go | 13 + .../google/dataplex/v1/lakeZoneIamPolicy.go | 13 + sdk/go/google/dataplex/v1/partition.go | 13 + sdk/go/google/dataplex/v1/pulumiEnums.go | 289 + sdk/go/google/dataplex/v1/pulumiTypes.go | 1711 ++++ sdk/go/google/dataplex/v1/task.go | 13 + sdk/go/google/dataplex/v1/zone.go | 13 + .../google/dataproc/v1/autoscalingPolicy.go | 13 + .../v1/autoscalingPolicyIamBinding.go | 13 + .../dataproc/v1/autoscalingPolicyIamMember.go | 13 + .../dataproc/v1/autoscalingPolicyIamPolicy.go | 13 + sdk/go/google/dataproc/v1/batch.go | 13 + sdk/go/google/dataproc/v1/cluster.go | 13 + .../dataproc/v1/getAutoscalingPolicy.go | 7 + .../v1/getAutoscalingPolicyIamPolicy.go | 7 + sdk/go/google/dataproc/v1/getBatch.go | 7 + sdk/go/google/dataproc/v1/getCluster.go | 7 + sdk/go/google/dataproc/v1/getJob.go | 7 + sdk/go/google/dataproc/v1/getNodeGroup.go | 7 + .../v1/getRegionAutoscalingPolicyIamPolicy.go | 7 + .../dataproc/v1/getRegionClusterIamPolicy.go | 7 + .../dataproc/v1/getRegionJobIamPolicy.go | 7 + .../v1/getRegionOperationIamPolicy.go | 7 + .../v1/getRegionWorkflowTemplateIamPolicy.go | 7 + .../google/dataproc/v1/getWorkflowTemplate.go | 7 + .../v1/getWorkflowTemplateIamPolicy.go | 7 + sdk/go/google/dataproc/v1/job.go | 13 + sdk/go/google/dataproc/v1/nodeGroup.go | 13 + sdk/go/google/dataproc/v1/pulumiEnums.go | 163 + sdk/go/google/dataproc/v1/pulumiTypes.go | 2269 +++++ .../v1/regionAutoscalingPolicyIamBinding.go | 13 + .../v1/regionAutoscalingPolicyIamMember.go | 13 + .../v1/regionAutoscalingPolicyIamPolicy.go | 13 + .../dataproc/v1/regionClusterIamBinding.go | 13 + .../dataproc/v1/regionClusterIamMember.go | 13 + .../dataproc/v1/regionClusterIamPolicy.go | 13 + .../google/dataproc/v1/regionJobIamBinding.go | 13 + .../google/dataproc/v1/regionJobIamMember.go | 13 + .../google/dataproc/v1/regionJobIamPolicy.go | 13 + .../dataproc/v1/regionOperationIamBinding.go | 13 + .../dataproc/v1/regionOperationIamMember.go | 13 + .../dataproc/v1/regionOperationIamPolicy.go | 13 + .../v1/regionWorkflowTemplateIamBinding.go | 13 + .../v1/regionWorkflowTemplateIamMember.go | 13 + .../v1/regionWorkflowTemplateIamPolicy.go | 13 + sdk/go/google/dataproc/v1/workflowTemplate.go | 13 + .../dataproc/v1/workflowTemplateIamBinding.go | 13 + .../dataproc/v1/workflowTemplateIamMember.go | 13 + .../dataproc/v1/workflowTemplateIamPolicy.go | 13 + .../dataproc/v1beta2/autoscalingPolicy.go | 13 + .../v1beta2/autoscalingPolicyIamBinding.go | 13 + .../v1beta2/autoscalingPolicyIamMember.go | 13 + .../v1beta2/autoscalingPolicyIamPolicy.go | 13 + sdk/go/google/dataproc/v1beta2/cluster.go | 13 + .../dataproc/v1beta2/getAutoscalingPolicy.go | 7 + .../v1beta2/getAutoscalingPolicyIamPolicy.go | 7 + sdk/go/google/dataproc/v1beta2/getCluster.go | 7 + sdk/go/google/dataproc/v1beta2/getJob.go | 7 + .../getRegionAutoscalingPolicyIamPolicy.go | 7 + .../v1beta2/getRegionClusterIamPolicy.go | 7 + .../dataproc/v1beta2/getRegionJobIamPolicy.go | 7 + .../v1beta2/getRegionOperationIamPolicy.go | 7 + .../getRegionWorkflowTemplateIamPolicy.go | 7 + .../dataproc/v1beta2/getWorkflowTemplate.go | 7 + .../v1beta2/getWorkflowTemplateIamPolicy.go | 7 + sdk/go/google/dataproc/v1beta2/job.go | 13 + sdk/go/google/dataproc/v1beta2/pulumiEnums.go | 85 + sdk/go/google/dataproc/v1beta2/pulumiTypes.go | 1417 +++ .../regionAutoscalingPolicyIamBinding.go | 13 + .../regionAutoscalingPolicyIamMember.go | 13 + .../regionAutoscalingPolicyIamPolicy.go | 13 + .../v1beta2/regionClusterIamBinding.go | 13 + .../v1beta2/regionClusterIamMember.go | 13 + .../v1beta2/regionClusterIamPolicy.go | 13 + .../dataproc/v1beta2/regionJobIamBinding.go | 13 + .../dataproc/v1beta2/regionJobIamMember.go | 13 + .../dataproc/v1beta2/regionJobIamPolicy.go | 13 + .../v1beta2/regionOperationIamBinding.go | 13 + .../v1beta2/regionOperationIamMember.go | 13 + .../v1beta2/regionOperationIamPolicy.go | 13 + .../regionWorkflowTemplateIamBinding.go | 13 + .../regionWorkflowTemplateIamMember.go | 13 + .../regionWorkflowTemplateIamPolicy.go | 13 + .../dataproc/v1beta2/workflowTemplate.go | 13 + .../v1beta2/workflowTemplateIamBinding.go | 13 + .../v1beta2/workflowTemplateIamMember.go | 13 + .../v1beta2/workflowTemplateIamPolicy.go | 13 + sdk/go/google/datastore/v1/getIndex.go | 7 + sdk/go/google/datastore/v1/index.go | 13 + sdk/go/google/datastore/v1/pulumiEnums.go | 37 + sdk/go/google/datastore/v1/pulumiTypes.go | 37 + .../google/datastream/v1/connectionProfile.go | 13 + .../datastream/v1/getConnectionProfile.go | 7 + .../datastream/v1/getPrivateConnection.go | 7 + sdk/go/google/datastream/v1/getRoute.go | 7 + sdk/go/google/datastream/v1/getStream.go | 7 + .../google/datastream/v1/privateConnection.go | 13 + sdk/go/google/datastream/v1/pulumiEnums.go | 55 + sdk/go/google/datastream/v1/pulumiTypes.go | 1183 +++ sdk/go/google/datastream/v1/route.go | 13 + sdk/go/google/datastream/v1/stream.go | 13 + .../datastream/v1alpha1/connectionProfile.go | 13 + .../v1alpha1/getConnectionProfile.go | 7 + .../v1alpha1/getPrivateConnection.go | 7 + sdk/go/google/datastream/v1alpha1/getRoute.go | 7 + .../google/datastream/v1alpha1/getStream.go | 7 + .../datastream/v1alpha1/privateConnection.go | 13 + .../google/datastream/v1alpha1/pulumiEnums.go | 73 + .../google/datastream/v1alpha1/pulumiTypes.go | 835 ++ sdk/go/google/datastream/v1alpha1/route.go | 13 + sdk/go/google/datastream/v1alpha1/stream.go | 13 + .../deploymentmanager/alpha/compositeType.go | 13 + .../deploymentmanager/alpha/deployment.go | 13 + .../alpha/deploymentIamBinding.go | 13 + .../alpha/deploymentIamMember.go | 13 + .../alpha/deploymentIamPolicy.go | 13 + .../alpha/getCompositeType.go | 7 + .../deploymentmanager/alpha/getDeployment.go | 7 + .../alpha/getDeploymentIamPolicy.go | 7 + .../alpha/getTypeProvider.go | 7 + .../deploymentmanager/alpha/pulumiEnums.go | 109 + .../deploymentmanager/alpha/pulumiTypes.go | 805 ++ .../deploymentmanager/alpha/typeProvider.go | 13 + .../google/deploymentmanager/v2/deployment.go | 13 + .../v2/deploymentIamBinding.go | 13 + .../v2/deploymentIamMember.go | 13 + .../v2/deploymentIamPolicy.go | 13 + .../deploymentmanager/v2/getDeployment.go | 7 + .../v2/getDeploymentIamPolicy.go | 7 + .../deploymentmanager/v2/pulumiEnums.go | 19 + .../deploymentmanager/v2/pulumiTypes.go | 337 + .../deploymentmanager/v2beta/compositeType.go | 13 + .../deploymentmanager/v2beta/deployment.go | 13 + .../v2beta/deploymentIamBinding.go | 13 + .../v2beta/deploymentIamMember.go | 13 + .../v2beta/deploymentIamPolicy.go | 13 + .../v2beta/getCompositeType.go | 7 + .../deploymentmanager/v2beta/getDeployment.go | 7 + .../v2beta/getDeploymentIamPolicy.go | 7 + .../v2beta/getTypeProvider.go | 7 + .../deploymentmanager/v2beta/pulumiEnums.go | 109 + .../deploymentmanager/v2beta/pulumiTypes.go | 763 ++ .../deploymentmanager/v2beta/typeProvider.go | 13 + sdk/go/google/dialogflow/v2/context.go | 13 + sdk/go/google/dialogflow/v2/conversation.go | 13 + .../dialogflow/v2/conversationDataset.go | 13 + .../google/dialogflow/v2/conversationModel.go | 13 + .../dialogflow/v2/conversationProfile.go | 13 + sdk/go/google/dialogflow/v2/document.go | 13 + sdk/go/google/dialogflow/v2/entityType.go | 13 + sdk/go/google/dialogflow/v2/environment.go | 13 + sdk/go/google/dialogflow/v2/evaluation.go | 13 + sdk/go/google/dialogflow/v2/getContext.go | 7 + .../google/dialogflow/v2/getConversation.go | 7 + .../dialogflow/v2/getConversationDataset.go | 7 + .../dialogflow/v2/getConversationModel.go | 7 + .../dialogflow/v2/getConversationProfile.go | 7 + sdk/go/google/dialogflow/v2/getDocument.go | 7 + sdk/go/google/dialogflow/v2/getEntityType.go | 7 + sdk/go/google/dialogflow/v2/getEnvironment.go | 7 + sdk/go/google/dialogflow/v2/getEvaluation.go | 7 + sdk/go/google/dialogflow/v2/getIntent.go | 7 + .../google/dialogflow/v2/getKnowledgeBase.go | 7 + sdk/go/google/dialogflow/v2/getParticipant.go | 7 + .../dialogflow/v2/getSessionEntityType.go | 7 + sdk/go/google/dialogflow/v2/getVersion.go | 7 + sdk/go/google/dialogflow/v2/intent.go | 13 + sdk/go/google/dialogflow/v2/knowledgeBase.go | 13 + sdk/go/google/dialogflow/v2/participant.go | 13 + sdk/go/google/dialogflow/v2/pulumiEnums.go | 421 + sdk/go/google/dialogflow/v2/pulumiTypes.go | 2101 +++++ .../google/dialogflow/v2/sessionEntityType.go | 13 + sdk/go/google/dialogflow/v2/version.go | 13 + sdk/go/google/dialogflow/v2beta1/context.go | 13 + .../google/dialogflow/v2beta1/conversation.go | 13 + .../dialogflow/v2beta1/conversationProfile.go | 13 + sdk/go/google/dialogflow/v2beta1/document.go | 13 + .../google/dialogflow/v2beta1/entityType.go | 13 + .../google/dialogflow/v2beta1/environment.go | 13 + .../google/dialogflow/v2beta1/getContext.go | 7 + .../dialogflow/v2beta1/getConversation.go | 7 + .../v2beta1/getConversationProfile.go | 7 + .../google/dialogflow/v2beta1/getDocument.go | 7 + .../dialogflow/v2beta1/getEntityType.go | 7 + .../dialogflow/v2beta1/getEnvironment.go | 7 + sdk/go/google/dialogflow/v2beta1/getIntent.go | 7 + .../dialogflow/v2beta1/getKnowledgeBase.go | 7 + .../dialogflow/v2beta1/getParticipant.go | 7 + .../v2beta1/getSessionEntityType.go | 7 + .../google/dialogflow/v2beta1/getVersion.go | 7 + sdk/go/google/dialogflow/v2beta1/intent.go | 13 + .../dialogflow/v2beta1/knowledgeBase.go | 13 + .../google/dialogflow/v2beta1/participant.go | 13 + .../google/dialogflow/v2beta1/pulumiEnums.go | 457 + .../google/dialogflow/v2beta1/pulumiTypes.go | 2323 +++++ .../dialogflow/v2beta1/sessionEntityType.go | 13 + sdk/go/google/dialogflow/v2beta1/version.go | 13 + sdk/go/google/dialogflow/v3/agent.go | 13 + sdk/go/google/dialogflow/v3/entityType.go | 13 + sdk/go/google/dialogflow/v3/environment.go | 13 + sdk/go/google/dialogflow/v3/experiment.go | 13 + sdk/go/google/dialogflow/v3/flow.go | 13 + sdk/go/google/dialogflow/v3/getAgent.go | 7 + sdk/go/google/dialogflow/v3/getEntityType.go | 7 + sdk/go/google/dialogflow/v3/getEnvironment.go | 7 + sdk/go/google/dialogflow/v3/getExperiment.go | 7 + sdk/go/google/dialogflow/v3/getFlow.go | 7 + sdk/go/google/dialogflow/v3/getIntent.go | 7 + sdk/go/google/dialogflow/v3/getPage.go | 7 + .../dialogflow/v3/getSecuritySetting.go | 7 + .../dialogflow/v3/getSessionEntityType.go | 7 + sdk/go/google/dialogflow/v3/getTestCase.go | 7 + .../dialogflow/v3/getTransitionRouteGroup.go | 7 + sdk/go/google/dialogflow/v3/getVersion.go | 7 + sdk/go/google/dialogflow/v3/getWebhook.go | 7 + sdk/go/google/dialogflow/v3/intent.go | 13 + sdk/go/google/dialogflow/v3/page.go | 13 + sdk/go/google/dialogflow/v3/pulumiEnums.go | 319 + sdk/go/google/dialogflow/v3/pulumiTypes.go | 2053 +++++ .../google/dialogflow/v3/securitySetting.go | 13 + .../google/dialogflow/v3/sessionEntityType.go | 13 + sdk/go/google/dialogflow/v3/testCase.go | 13 + .../dialogflow/v3/transitionRouteGroup.go | 13 + sdk/go/google/dialogflow/v3/version.go | 13 + sdk/go/google/dialogflow/v3/webhook.go | 13 + sdk/go/google/dialogflow/v3beta1/agent.go | 13 + .../google/dialogflow/v3beta1/entityType.go | 13 + .../google/dialogflow/v3beta1/environment.go | 13 + .../google/dialogflow/v3beta1/experiment.go | 13 + sdk/go/google/dialogflow/v3beta1/flow.go | 13 + sdk/go/google/dialogflow/v3beta1/getAgent.go | 7 + .../dialogflow/v3beta1/getEntityType.go | 7 + .../dialogflow/v3beta1/getEnvironment.go | 7 + .../dialogflow/v3beta1/getExperiment.go | 7 + sdk/go/google/dialogflow/v3beta1/getFlow.go | 7 + sdk/go/google/dialogflow/v3beta1/getIntent.go | 7 + sdk/go/google/dialogflow/v3beta1/getPage.go | 7 + .../dialogflow/v3beta1/getSecuritySetting.go | 7 + .../v3beta1/getSessionEntityType.go | 7 + .../google/dialogflow/v3beta1/getTestCase.go | 7 + .../v3beta1/getTransitionRouteGroup.go | 7 + .../google/dialogflow/v3beta1/getVersion.go | 7 + .../google/dialogflow/v3beta1/getWebhook.go | 7 + sdk/go/google/dialogflow/v3beta1/intent.go | 13 + sdk/go/google/dialogflow/v3beta1/page.go | 13 + .../google/dialogflow/v3beta1/pulumiEnums.go | 319 + .../google/dialogflow/v3beta1/pulumiTypes.go | 2053 +++++ .../dialogflow/v3beta1/securitySetting.go | 13 + .../dialogflow/v3beta1/sessionEntityType.go | 13 + sdk/go/google/dialogflow/v3beta1/testCase.go | 13 + .../v3beta1/transitionRouteGroup.go | 13 + sdk/go/google/dialogflow/v3beta1/version.go | 13 + sdk/go/google/dialogflow/v3beta1/webhook.go | 13 + .../discoveryengine/v1alpha/document.go | 13 + .../discoveryengine/v1alpha/getDocument.go | 7 + .../google/discoveryengine/v1beta/document.go | 13 + .../discoveryengine/v1beta/getDocument.go | 7 + sdk/go/google/dlp/v2/deidentifyTemplate.go | 13 + sdk/go/google/dlp/v2/dlpJob.go | 13 + sdk/go/google/dlp/v2/getDeidentifyTemplate.go | 7 + sdk/go/google/dlp/v2/getDlpJob.go | 7 + sdk/go/google/dlp/v2/getInspectTemplate.go | 7 + sdk/go/google/dlp/v2/getJobTrigger.go | 7 + .../dlp/v2/getOrganizationInspectTemplate.go | 7 + .../dlp/v2/getOrganizationJobTrigger.go | 7 + .../v2/getOrganizationsDeidentifyTemplate.go | 7 + sdk/go/google/dlp/v2/getStoredInfoType.go | 7 + sdk/go/google/dlp/v2/inspectTemplate.go | 13 + sdk/go/google/dlp/v2/jobTrigger.go | 13 + .../dlp/v2/organizationInspectTemplate.go | 13 + .../google/dlp/v2/organizationJobTrigger.go | 13 + .../dlp/v2/organizationsDeidentifyTemplate.go | 13 + sdk/go/google/dlp/v2/pulumiEnums.go | 397 + sdk/go/google/dlp/v2/pulumiTypes.go | 3739 ++++++++ sdk/go/google/dlp/v2/storedInfoType.go | 13 + sdk/go/google/dns/v1/change.go | 13 + sdk/go/google/dns/v1/getChange.go | 7 + sdk/go/google/dns/v1/getManagedZone.go | 7 + .../google/dns/v1/getManagedZoneIamPolicy.go | 7 + sdk/go/google/dns/v1/getPolicy.go | 7 + sdk/go/google/dns/v1/getResourceRecordSet.go | 7 + sdk/go/google/dns/v1/getResponsePolicy.go | 7 + sdk/go/google/dns/v1/getResponsePolicyRule.go | 7 + sdk/go/google/dns/v1/managedZone.go | 13 + sdk/go/google/dns/v1/managedZoneIamBinding.go | 13 + sdk/go/google/dns/v1/managedZoneIamMember.go | 13 + sdk/go/google/dns/v1/managedZoneIamPolicy.go | 13 + sdk/go/google/dns/v1/policy.go | 13 + sdk/go/google/dns/v1/pulumiEnums.go | 181 + sdk/go/google/dns/v1/pulumiTypes.go | 979 +++ sdk/go/google/dns/v1/resourceRecordSet.go | 13 + sdk/go/google/dns/v1beta2/change.go | 13 + sdk/go/google/dns/v1beta2/getChange.go | 7 + sdk/go/google/dns/v1beta2/getManagedZone.go | 7 + .../dns/v1beta2/getManagedZoneIamPolicy.go | 7 + sdk/go/google/dns/v1beta2/getPolicy.go | 7 + .../dns/v1beta2/getResourceRecordSet.go | 7 + .../google/dns/v1beta2/getResponsePolicy.go | 7 + .../dns/v1beta2/getResponsePolicyRule.go | 7 + sdk/go/google/dns/v1beta2/managedZone.go | 13 + .../dns/v1beta2/managedZoneIamBinding.go | 13 + .../dns/v1beta2/managedZoneIamMember.go | 13 + .../dns/v1beta2/managedZoneIamPolicy.go | 13 + sdk/go/google/dns/v1beta2/policy.go | 13 + sdk/go/google/dns/v1beta2/pulumiEnums.go | 199 + sdk/go/google/dns/v1beta2/pulumiTypes.go | 1051 +++ .../google/dns/v1beta2/resourceRecordSet.go | 13 + sdk/go/google/dns/v1beta2/responsePolicy.go | 13 + .../google/dns/v1beta2/responsePolicyRule.go | 13 + sdk/go/google/documentai/v1/getProcessor.go | 7 + sdk/go/google/documentai/v1/processor.go | 13 + .../google/documentai/v1beta3/getProcessor.go | 7 + sdk/go/google/documentai/v1beta3/processor.go | 13 + sdk/go/google/domains/v1/getRegistration.go | 7 + .../domains/v1/getRegistrationIamPolicy.go | 7 + sdk/go/google/domains/v1/pulumiEnums.go | 169 + sdk/go/google/domains/v1/pulumiTypes.go | 397 + sdk/go/google/domains/v1/registration.go | 13 + .../domains/v1/registrationIamBinding.go | 13 + .../domains/v1/registrationIamMember.go | 13 + .../domains/v1/registrationIamPolicy.go | 13 + .../domains/v1alpha2/getRegistration.go | 7 + .../v1alpha2/getRegistrationIamPolicy.go | 7 + sdk/go/google/domains/v1alpha2/pulumiEnums.go | 169 + sdk/go/google/domains/v1alpha2/pulumiTypes.go | 397 + .../google/domains/v1alpha2/registration.go | 13 + .../v1alpha2/registrationIamBinding.go | 13 + .../domains/v1alpha2/registrationIamMember.go | 13 + .../domains/v1alpha2/registrationIamPolicy.go | 13 + .../google/domains/v1beta1/getRegistration.go | 7 + .../v1beta1/getRegistrationIamPolicy.go | 7 + sdk/go/google/domains/v1beta1/pulumiEnums.go | 169 + sdk/go/google/domains/v1beta1/pulumiTypes.go | 397 + sdk/go/google/domains/v1beta1/registration.go | 13 + .../domains/v1beta1/registrationIamBinding.go | 13 + .../domains/v1beta1/registrationIamMember.go | 13 + .../domains/v1beta1/registrationIamPolicy.go | 13 + sdk/go/google/essentialcontacts/v1/contact.go | 13 + .../essentialcontacts/v1/folderContact.go | 13 + .../google/essentialcontacts/v1/getContact.go | 7 + .../essentialcontacts/v1/getFolderContact.go | 7 + .../v1/getOrganizationContact.go | 7 + .../v1/organizationContact.go | 13 + .../essentialcontacts/v1/pulumiEnums.go | 145 + sdk/go/google/eventarc/v1/channel.go | 13 + .../google/eventarc/v1/channelConnection.go | 13 + .../v1/channelConnectionIamBinding.go | 13 + .../eventarc/v1/channelConnectionIamMember.go | 13 + .../eventarc/v1/channelConnectionIamPolicy.go | 13 + .../google/eventarc/v1/channelIamBinding.go | 13 + sdk/go/google/eventarc/v1/channelIamMember.go | 13 + sdk/go/google/eventarc/v1/channelIamPolicy.go | 13 + sdk/go/google/eventarc/v1/getChannel.go | 7 + .../eventarc/v1/getChannelConnection.go | 7 + .../v1/getChannelConnectionIamPolicy.go | 7 + .../google/eventarc/v1/getChannelIamPolicy.go | 7 + sdk/go/google/eventarc/v1/getTrigger.go | 7 + .../google/eventarc/v1/getTriggerIamPolicy.go | 7 + sdk/go/google/eventarc/v1/pulumiEnums.go | 19 + sdk/go/google/eventarc/v1/pulumiTypes.go | 313 + sdk/go/google/eventarc/v1/trigger.go | 13 + .../google/eventarc/v1/triggerIamBinding.go | 13 + sdk/go/google/eventarc/v1/triggerIamMember.go | 13 + sdk/go/google/eventarc/v1/triggerIamPolicy.go | 13 + sdk/go/google/eventarc/v1beta1/getTrigger.go | 7 + .../eventarc/v1beta1/getTriggerIamPolicy.go | 7 + sdk/go/google/eventarc/v1beta1/pulumiEnums.go | 19 + sdk/go/google/eventarc/v1beta1/pulumiTypes.go | 235 + sdk/go/google/eventarc/v1beta1/trigger.go | 13 + .../eventarc/v1beta1/triggerIamBinding.go | 13 + .../eventarc/v1beta1/triggerIamMember.go | 13 + .../eventarc/v1beta1/triggerIamPolicy.go | 13 + sdk/go/google/file/v1/backup.go | 13 + sdk/go/google/file/v1/getBackup.go | 7 + sdk/go/google/file/v1/getInstance.go | 7 + sdk/go/google/file/v1/getSnapshot.go | 7 + sdk/go/google/file/v1/instance.go | 13 + sdk/go/google/file/v1/pulumiEnums.go | 103 + sdk/go/google/file/v1/pulumiTypes.go | 109 + sdk/go/google/file/v1/snapshot.go | 13 + sdk/go/google/file/v1beta1/backup.go | 13 + sdk/go/google/file/v1beta1/getBackup.go | 7 + sdk/go/google/file/v1beta1/getInstance.go | 7 + sdk/go/google/file/v1beta1/getShare.go | 7 + sdk/go/google/file/v1beta1/getSnapshot.go | 7 + sdk/go/google/file/v1beta1/instance.go | 13 + sdk/go/google/file/v1beta1/pulumiEnums.go | 151 + sdk/go/google/file/v1beta1/pulumiTypes.go | 169 + sdk/go/google/file/v1beta1/share.go | 13 + sdk/go/google/file/v1beta1/snapshot.go | 13 + sdk/go/google/firebase/v1beta1/androidApp.go | 13 + .../google/firebase/v1beta1/getAndroidApp.go | 7 + sdk/go/google/firebase/v1beta1/getIosApp.go | 7 + sdk/go/google/firebase/v1beta1/getWebApp.go | 7 + sdk/go/google/firebase/v1beta1/iosApp.go | 13 + sdk/go/google/firebase/v1beta1/webApp.go | 13 + .../google/firebaseappcheck/v1/debugToken.go | 13 + .../firebaseappcheck/v1/getDebugToken.go | 7 + .../firebaseappcheck/v1beta/debugToken.go | 13 + .../firebaseappcheck/v1beta/getDebugToken.go | 7 + .../firebaseappdistribution/v1/getGroup.go | 7 + .../firebaseappdistribution/v1/group.go | 13 + .../firebasedatabase/v1beta/getInstance.go | 7 + .../firebasedatabase/v1beta/instance.go | 13 + .../firebasedatabase/v1beta/pulumiEnums.go | 19 + .../google/firebasehosting/v1beta1/channel.go | 13 + .../google/firebasehosting/v1beta1/domain.go | 13 + .../firebasehosting/v1beta1/getChannel.go | 7 + .../firebasehosting/v1beta1/getDomain.go | 7 + .../firebasehosting/v1beta1/getRelease.go | 7 + .../google/firebasehosting/v1beta1/getSite.go | 7 + .../firebasehosting/v1beta1/getVersion.go | 7 + .../firebasehosting/v1beta1/pulumiEnums.go | 73 + .../firebasehosting/v1beta1/pulumiTypes.go | 265 + .../google/firebasehosting/v1beta1/release.go | 13 + sdk/go/google/firebasehosting/v1beta1/site.go | 13 + .../google/firebasehosting/v1beta1/version.go | 13 + sdk/go/google/firebaseml/v1beta2/getModel.go | 7 + sdk/go/google/firebaseml/v1beta2/model.go | 13 + .../google/firebaseml/v1beta2/pulumiTypes.go | 79 + sdk/go/google/firebaserules/v1/getRelease.go | 7 + sdk/go/google/firebaserules/v1/getRuleset.go | 7 + sdk/go/google/firebaserules/v1/pulumiTypes.go | 61 + sdk/go/google/firebaserules/v1/release.go | 13 + sdk/go/google/firebaserules/v1/ruleset.go | 13 + sdk/go/google/firestore/v1/backupSchedule.go | 13 + sdk/go/google/firestore/v1/database.go | 13 + .../google/firestore/v1/getBackupSchedule.go | 7 + sdk/go/google/firestore/v1/getDatabase.go | 7 + sdk/go/google/firestore/v1/getIndex.go | 7 + sdk/go/google/firestore/v1/index.go | 13 + sdk/go/google/firestore/v1/pulumiEnums.go | 163 + sdk/go/google/firestore/v1/pulumiTypes.go | 97 + sdk/go/google/firestore/v1beta1/getIndex.go | 7 + sdk/go/google/firestore/v1beta1/index.go | 13 + .../google/firestore/v1beta1/pulumiEnums.go | 37 + .../google/firestore/v1beta1/pulumiTypes.go | 37 + sdk/go/google/firestore/v1beta2/getIndex.go | 7 + sdk/go/google/firestore/v1beta2/index.go | 13 + .../google/firestore/v1beta2/pulumiEnums.go | 55 + .../google/firestore/v1beta2/pulumiTypes.go | 37 + .../v1/gameServerDeploymentIamBinding.go | 13 + .../v1/gameServerDeploymentIamMember.go | 13 + .../v1/gameServerDeploymentIamPolicy.go | 13 + .../v1/getGameServerDeploymentIamPolicy.go | 7 + sdk/go/google/gameservices/v1/pulumiEnums.go | 145 + sdk/go/google/gameservices/v1/pulumiTypes.go | 403 + .../v1beta/gameServerDeploymentIamBinding.go | 13 + .../v1beta/gameServerDeploymentIamMember.go | 13 + .../v1beta/gameServerDeploymentIamPolicy.go | 13 + .../getGameServerDeploymentIamPolicy.go | 7 + .../google/gameservices/v1beta/pulumiEnums.go | 145 + .../google/gameservices/v1beta/pulumiTypes.go | 403 + .../google/genomics/v1alpha2/getPipeline.go | 7 + sdk/go/google/genomics/v1alpha2/pipeline.go | 13 + .../google/genomics/v1alpha2/pulumiEnums.go | 19 + .../google/genomics/v1alpha2/pulumiTypes.go | 151 + sdk/go/google/gkebackup/v1/backup.go | 13 + sdk/go/google/gkebackup/v1/backupPlan.go | 13 + .../v1/backupPlanBackupIamBinding.go | 13 + .../gkebackup/v1/backupPlanBackupIamMember.go | 13 + .../gkebackup/v1/backupPlanBackupIamPolicy.go | 13 + .../backupPlanBackupVolumeBackupIamBinding.go | 13 + .../backupPlanBackupVolumeBackupIamMember.go | 13 + .../backupPlanBackupVolumeBackupIamPolicy.go | 13 + .../gkebackup/v1/backupPlanIamBinding.go | 13 + .../gkebackup/v1/backupPlanIamMember.go | 13 + .../gkebackup/v1/backupPlanIamPolicy.go | 13 + sdk/go/google/gkebackup/v1/getBackup.go | 7 + sdk/go/google/gkebackup/v1/getBackupPlan.go | 7 + .../v1/getBackupPlanBackupIamPolicy.go | 7 + ...etBackupPlanBackupVolumeBackupIamPolicy.go | 7 + .../gkebackup/v1/getBackupPlanIamPolicy.go | 7 + sdk/go/google/gkebackup/v1/getRestore.go | 7 + sdk/go/google/gkebackup/v1/getRestorePlan.go | 7 + .../gkebackup/v1/getRestorePlanIamPolicy.go | 7 + .../v1/getRestorePlanRestoreIamPolicy.go | 7 + ...estorePlanRestoreVolumeRestoreIamPolicy.go | 7 + sdk/go/google/gkebackup/v1/pulumiEnums.go | 73 + sdk/go/google/gkebackup/v1/pulumiTypes.go | 481 + sdk/go/google/gkebackup/v1/restore.go | 13 + sdk/go/google/gkebackup/v1/restorePlan.go | 13 + .../gkebackup/v1/restorePlanIamBinding.go | 13 + .../gkebackup/v1/restorePlanIamMember.go | 13 + .../gkebackup/v1/restorePlanIamPolicy.go | 13 + .../v1/restorePlanRestoreIamBinding.go | 13 + .../v1/restorePlanRestoreIamMember.go | 13 + .../v1/restorePlanRestoreIamPolicy.go | 13 + ...storePlanRestoreVolumeRestoreIamBinding.go | 13 + ...estorePlanRestoreVolumeRestoreIamMember.go | 13 + ...estorePlanRestoreVolumeRestoreIamPolicy.go | 13 + sdk/go/google/gkehub/v1/binding.go | 13 + sdk/go/google/gkehub/v1/feature.go | 13 + sdk/go/google/gkehub/v1/featureIamBinding.go | 13 + sdk/go/google/gkehub/v1/featureIamMember.go | 13 + sdk/go/google/gkehub/v1/featureIamPolicy.go | 13 + sdk/go/google/gkehub/v1/getBinding.go | 7 + sdk/go/google/gkehub/v1/getFeature.go | 7 + .../google/gkehub/v1/getFeatureIamPolicy.go | 7 + sdk/go/google/gkehub/v1/getMembership.go | 7 + .../gkehub/v1/getMembershipIamPolicy.go | 7 + sdk/go/google/gkehub/v1/getScope.go | 7 + sdk/go/google/gkehub/v1/membership.go | 13 + .../google/gkehub/v1/membershipIamBinding.go | 13 + .../google/gkehub/v1/membershipIamMember.go | 13 + .../google/gkehub/v1/membershipIamPolicy.go | 13 + sdk/go/google/gkehub/v1/pulumiEnums.go | 37 + sdk/go/google/gkehub/v1/pulumiTypes.go | 661 ++ sdk/go/google/gkehub/v1/scope.go | 13 + sdk/go/google/gkehub/v1alpha/binding.go | 13 + sdk/go/google/gkehub/v1alpha/feature.go | 13 + .../gkehub/v1alpha/featureIamBinding.go | 13 + .../google/gkehub/v1alpha/featureIamMember.go | 13 + .../google/gkehub/v1alpha/featureIamPolicy.go | 13 + sdk/go/google/gkehub/v1alpha/fleet.go | 13 + sdk/go/google/gkehub/v1alpha/getBinding.go | 7 + sdk/go/google/gkehub/v1alpha/getFeature.go | 7 + .../gkehub/v1alpha/getFeatureIamPolicy.go | 7 + sdk/go/google/gkehub/v1alpha/getFleet.go | 7 + sdk/go/google/gkehub/v1alpha/getMembership.go | 7 + .../gkehub/v1alpha/getMembershipIamPolicy.go | 7 + sdk/go/google/gkehub/v1alpha/getNamespace.go | 7 + .../gkehub/v1alpha/getRbacrolebinding.go | 7 + sdk/go/google/gkehub/v1alpha/getScope.go | 7 + sdk/go/google/gkehub/v1alpha/membership.go | 13 + .../gkehub/v1alpha/membershipIamBinding.go | 13 + .../gkehub/v1alpha/membershipIamMember.go | 13 + .../gkehub/v1alpha/membershipIamPolicy.go | 13 + sdk/go/google/gkehub/v1alpha/namespace.go | 13 + sdk/go/google/gkehub/v1alpha/pulumiEnums.go | 127 + sdk/go/google/gkehub/v1alpha/pulumiTypes.go | 1093 +++ .../google/gkehub/v1alpha/rbacrolebinding.go | 13 + sdk/go/google/gkehub/v1alpha/scope.go | 13 + .../google/gkehub/v1alpha2/getMembership.go | 7 + .../gkehub/v1alpha2/getMembershipIamPolicy.go | 7 + sdk/go/google/gkehub/v1alpha2/membership.go | 13 + .../gkehub/v1alpha2/membershipIamBinding.go | 13 + .../gkehub/v1alpha2/membershipIamMember.go | 13 + .../gkehub/v1alpha2/membershipIamPolicy.go | 13 + sdk/go/google/gkehub/v1alpha2/pulumiEnums.go | 55 + sdk/go/google/gkehub/v1alpha2/pulumiTypes.go | 463 + sdk/go/google/gkehub/v1beta/binding.go | 13 + sdk/go/google/gkehub/v1beta/feature.go | 13 + .../google/gkehub/v1beta/featureIamBinding.go | 13 + .../google/gkehub/v1beta/featureIamMember.go | 13 + .../google/gkehub/v1beta/featureIamPolicy.go | 13 + sdk/go/google/gkehub/v1beta/fleet.go | 13 + sdk/go/google/gkehub/v1beta/getBinding.go | 7 + sdk/go/google/gkehub/v1beta/getFeature.go | 7 + .../gkehub/v1beta/getFeatureIamPolicy.go | 7 + sdk/go/google/gkehub/v1beta/getFleet.go | 7 + .../gkehub/v1beta/getMembershipIamPolicy.go | 7 + sdk/go/google/gkehub/v1beta/getNamespace.go | 7 + .../gkehub/v1beta/getRbacrolebinding.go | 7 + sdk/go/google/gkehub/v1beta/getScope.go | 7 + .../gkehub/v1beta/membershipIamBinding.go | 13 + .../gkehub/v1beta/membershipIamMember.go | 13 + .../gkehub/v1beta/membershipIamPolicy.go | 13 + sdk/go/google/gkehub/v1beta/namespace.go | 13 + sdk/go/google/gkehub/v1beta/pulumiEnums.go | 73 + sdk/go/google/gkehub/v1beta/pulumiTypes.go | 649 ++ .../google/gkehub/v1beta/rbacrolebinding.go | 13 + sdk/go/google/gkehub/v1beta/scope.go | 13 + sdk/go/google/gkehub/v1beta1/getMembership.go | 7 + .../gkehub/v1beta1/getMembershipIamPolicy.go | 7 + sdk/go/google/gkehub/v1beta1/membership.go | 13 + .../gkehub/v1beta1/membershipIamBinding.go | 13 + .../gkehub/v1beta1/membershipIamMember.go | 13 + .../gkehub/v1beta1/membershipIamPolicy.go | 13 + sdk/go/google/gkehub/v1beta1/pulumiEnums.go | 55 + sdk/go/google/gkehub/v1beta1/pulumiTypes.go | 463 + .../gkeonprem/v1/bareMetalAdminCluster.go | 13 + .../v1/bareMetalAdminClusterIamBinding.go | 13 + .../v1/bareMetalAdminClusterIamMember.go | 13 + .../v1/bareMetalAdminClusterIamPolicy.go | 13 + .../google/gkeonprem/v1/bareMetalCluster.go | 13 + ...MetalClusterBareMetalNodePoolIamBinding.go | 13 + ...eMetalClusterBareMetalNodePoolIamMember.go | 13 + ...eMetalClusterBareMetalNodePoolIamPolicy.go | 13 + .../v1/bareMetalClusterIamBinding.go | 13 + .../gkeonprem/v1/bareMetalClusterIamMember.go | 13 + .../gkeonprem/v1/bareMetalClusterIamPolicy.go | 13 + .../google/gkeonprem/v1/bareMetalNodePool.go | 13 + .../gkeonprem/v1/getBareMetalAdminCluster.go | 7 + .../v1/getBareMetalAdminClusterIamPolicy.go | 7 + .../gkeonprem/v1/getBareMetalCluster.go | 7 + ...eMetalClusterBareMetalNodePoolIamPolicy.go | 7 + .../v1/getBareMetalClusterIamPolicy.go | 7 + .../gkeonprem/v1/getBareMetalNodePool.go | 7 + .../v1/getVmwareAdminClusterIamPolicy.go | 7 + .../google/gkeonprem/v1/getVmwareCluster.go | 7 + .../gkeonprem/v1/getVmwareClusterIamPolicy.go | 7 + ...getVmwareClusterVmwareNodePoolIamPolicy.go | 7 + .../google/gkeonprem/v1/getVmwareNodePool.go | 7 + sdk/go/google/gkeonprem/v1/pulumiEnums.go | 55 + sdk/go/google/gkeonprem/v1/pulumiTypes.go | 2317 +++++ .../v1/vmwareAdminClusterIamBinding.go | 13 + .../v1/vmwareAdminClusterIamMember.go | 13 + .../v1/vmwareAdminClusterIamPolicy.go | 13 + sdk/go/google/gkeonprem/v1/vmwareCluster.go | 13 + .../gkeonprem/v1/vmwareClusterIamBinding.go | 13 + .../gkeonprem/v1/vmwareClusterIamMember.go | 13 + .../gkeonprem/v1/vmwareClusterIamPolicy.go | 13 + .../vmwareClusterVmwareNodePoolIamBinding.go | 13 + .../vmwareClusterVmwareNodePoolIamMember.go | 13 + .../vmwareClusterVmwareNodePoolIamPolicy.go | 13 + sdk/go/google/gkeonprem/v1/vmwareNodePool.go | 13 + .../healthcare/v1/attributeDefinition.go | 13 + sdk/go/google/healthcare/v1/consent.go | 13 + .../google/healthcare/v1/consentArtifact.go | 13 + sdk/go/google/healthcare/v1/consentStore.go | 13 + sdk/go/google/healthcare/v1/dataset.go | 13 + .../v1/datasetConsentStoreIamBinding.go | 13 + .../v1/datasetConsentStoreIamMember.go | 13 + .../v1/datasetConsentStoreIamPolicy.go | 13 + .../v1/datasetDicomStoreIamBinding.go | 13 + .../v1/datasetDicomStoreIamMember.go | 13 + .../v1/datasetDicomStoreIamPolicy.go | 13 + .../v1/datasetFhirStoreIamBinding.go | 13 + .../v1/datasetFhirStoreIamMember.go | 13 + .../v1/datasetFhirStoreIamPolicy.go | 13 + .../v1/datasetHl7V2StoreIamBinding.go | 13 + .../v1/datasetHl7V2StoreIamMember.go | 13 + .../v1/datasetHl7V2StoreIamPolicy.go | 13 + .../google/healthcare/v1/datasetIamBinding.go | 13 + .../google/healthcare/v1/datasetIamMember.go | 13 + .../google/healthcare/v1/datasetIamPolicy.go | 13 + sdk/go/google/healthcare/v1/dicomStore.go | 13 + sdk/go/google/healthcare/v1/fhirStore.go | 13 + .../healthcare/v1/getAttributeDefinition.go | 7 + sdk/go/google/healthcare/v1/getConsent.go | 7 + .../healthcare/v1/getConsentArtifact.go | 7 + .../google/healthcare/v1/getConsentStore.go | 7 + sdk/go/google/healthcare/v1/getDataset.go | 7 + .../v1/getDatasetConsentStoreIamPolicy.go | 7 + .../v1/getDatasetDicomStoreIamPolicy.go | 7 + .../v1/getDatasetFhirStoreIamPolicy.go | 7 + .../v1/getDatasetHl7V2StoreIamPolicy.go | 7 + .../healthcare/v1/getDatasetIamPolicy.go | 7 + sdk/go/google/healthcare/v1/getDicomStore.go | 7 + sdk/go/google/healthcare/v1/getFhir.go | 7 + sdk/go/google/healthcare/v1/getFhirStore.go | 7 + sdk/go/google/healthcare/v1/getHl7V2Store.go | 7 + sdk/go/google/healthcare/v1/getMessage.go | 7 + .../healthcare/v1/getUserDataMapping.go | 7 + sdk/go/google/healthcare/v1/hl7V2Store.go | 13 + sdk/go/google/healthcare/v1/message.go | 13 + sdk/go/google/healthcare/v1/pulumiEnums.go | 271 + sdk/go/google/healthcare/v1/pulumiTypes.go | 1333 +++ .../google/healthcare/v1/userDataMapping.go | 13 + .../google/healthcare/v1beta1/annotation.go | 13 + .../healthcare/v1beta1/annotationStore.go | 13 + .../healthcare/v1beta1/attributeDefinition.go | 13 + sdk/go/google/healthcare/v1beta1/consent.go | 13 + .../healthcare/v1beta1/consentArtifact.go | 13 + .../google/healthcare/v1beta1/consentStore.go | 13 + sdk/go/google/healthcare/v1beta1/dataset.go | 13 + .../datasetAnnotationStoreIamBinding.go | 13 + .../datasetAnnotationStoreIamMember.go | 13 + .../datasetAnnotationStoreIamPolicy.go | 13 + .../v1beta1/datasetConsentStoreIamBinding.go | 13 + .../v1beta1/datasetConsentStoreIamMember.go | 13 + .../v1beta1/datasetConsentStoreIamPolicy.go | 13 + .../v1beta1/datasetDicomStoreIamBinding.go | 13 + .../v1beta1/datasetDicomStoreIamMember.go | 13 + .../v1beta1/datasetDicomStoreIamPolicy.go | 13 + .../v1beta1/datasetFhirStoreIamBinding.go | 13 + .../v1beta1/datasetFhirStoreIamMember.go | 13 + .../v1beta1/datasetFhirStoreIamPolicy.go | 13 + .../v1beta1/datasetHl7V2StoreIamBinding.go | 13 + .../v1beta1/datasetHl7V2StoreIamMember.go | 13 + .../v1beta1/datasetHl7V2StoreIamPolicy.go | 13 + .../healthcare/v1beta1/datasetIamBinding.go | 13 + .../healthcare/v1beta1/datasetIamMember.go | 13 + .../healthcare/v1beta1/datasetIamPolicy.go | 13 + .../google/healthcare/v1beta1/dicomStore.go | 13 + sdk/go/google/healthcare/v1beta1/fhirStore.go | 13 + .../healthcare/v1beta1/getAnnotation.go | 7 + .../healthcare/v1beta1/getAnnotationStore.go | 7 + .../v1beta1/getAttributeDefinition.go | 7 + .../google/healthcare/v1beta1/getConsent.go | 7 + .../healthcare/v1beta1/getConsentArtifact.go | 7 + .../healthcare/v1beta1/getConsentStore.go | 7 + .../google/healthcare/v1beta1/getDataset.go | 7 + .../getDatasetAnnotationStoreIamPolicy.go | 7 + .../getDatasetConsentStoreIamPolicy.go | 7 + .../v1beta1/getDatasetDicomStoreIamPolicy.go | 7 + .../v1beta1/getDatasetFhirStoreIamPolicy.go | 7 + .../v1beta1/getDatasetHl7V2StoreIamPolicy.go | 7 + .../healthcare/v1beta1/getDatasetIamPolicy.go | 7 + .../healthcare/v1beta1/getDicomStore.go | 7 + sdk/go/google/healthcare/v1beta1/getFhir.go | 7 + .../google/healthcare/v1beta1/getFhirStore.go | 7 + .../healthcare/v1beta1/getHl7V2Store.go | 7 + .../google/healthcare/v1beta1/getMessage.go | 7 + .../healthcare/v1beta1/getUserDataMapping.go | 7 + .../google/healthcare/v1beta1/hl7V2Store.go | 13 + sdk/go/google/healthcare/v1beta1/message.go | 13 + .../google/healthcare/v1beta1/pulumiEnums.go | 361 + .../google/healthcare/v1beta1/pulumiTypes.go | 2449 ++++++ .../healthcare/v1beta1/userDataMapping.go | 13 + sdk/go/google/iam/v1/getKey.go | 7 + sdk/go/google/iam/v1/getOrganizationRole.go | 7 + sdk/go/google/iam/v1/getProvider.go | 7 + sdk/go/google/iam/v1/getRole.go | 7 + sdk/go/google/iam/v1/getServiceAccount.go | 7 + .../iam/v1/getServiceAccountIamPolicy.go | 7 + sdk/go/google/iam/v1/getWorkforcePool.go | 7 + .../iam/v1/getWorkforcePoolIamPolicy.go | 7 + sdk/go/google/iam/v1/getWorkforcePoolKey.go | 7 + .../google/iam/v1/getWorkforcePoolProvider.go | 7 + .../google/iam/v1/getWorkloadIdentityPool.go | 7 + .../iam/v1/getWorkloadIdentityPoolKey.go | 7 + sdk/go/google/iam/v1/key.go | 13 + sdk/go/google/iam/v1/organizationRole.go | 13 + sdk/go/google/iam/v1/provider.go | 13 + sdk/go/google/iam/v1/pulumiEnums.go | 181 + sdk/go/google/iam/v1/pulumiTypes.go | 373 + sdk/go/google/iam/v1/role.go | 13 + sdk/go/google/iam/v1/serviceAccount.go | 13 + .../google/iam/v1/serviceAccountIamBinding.go | 13 + .../google/iam/v1/serviceAccountIamMember.go | 13 + .../google/iam/v1/serviceAccountIamPolicy.go | 13 + sdk/go/google/iam/v1/workforcePool.go | 13 + .../google/iam/v1/workforcePoolIamBinding.go | 13 + .../google/iam/v1/workforcePoolIamMember.go | 13 + .../google/iam/v1/workforcePoolIamPolicy.go | 13 + sdk/go/google/iam/v1/workforcePoolKey.go | 13 + sdk/go/google/iam/v1/workforcePoolProvider.go | 13 + sdk/go/google/iam/v1/workloadIdentityPool.go | 13 + .../google/iam/v1/workloadIdentityPoolKey.go | 13 + sdk/go/google/iap/v1/brand.go | 13 + sdk/go/google/iap/v1/destGroup.go | 13 + sdk/go/google/iap/v1/getBrand.go | 7 + sdk/go/google/iap/v1/getDestGroup.go | 7 + .../iap/v1/getIdentityAwareProxyClient.go | 7 + sdk/go/google/iap/v1/getV1IamPolicy.go | 7 + .../google/iap/v1/identityAwareProxyClient.go | 13 + sdk/go/google/iap/v1/pulumiTypes.go | 67 + sdk/go/google/iap/v1/v1iamBinding.go | 13 + sdk/go/google/iap/v1/v1iamMember.go | 13 + sdk/go/google/iap/v1/v1iamPolicy.go | 13 + .../google/iap/v1beta1/getV1beta1IamPolicy.go | 7 + sdk/go/google/iap/v1beta1/pulumiTypes.go | 67 + .../google/iap/v1beta1/v1beta1IamBinding.go | 13 + sdk/go/google/iap/v1beta1/v1beta1IamMember.go | 13 + sdk/go/google/iap/v1beta1/v1beta1IamPolicy.go | 13 + .../v2/defaultSupportedIdpConfig.go | 13 + .../v2/getDefaultSupportedIdpConfig.go | 7 + .../v2/getInboundSamlConfig.go | 7 + .../identitytoolkit/v2/getOauthIdpConfig.go | 7 + sdk/go/google/identitytoolkit/v2/getTenant.go | 7 + .../identitytoolkit/v2/getTenantIamPolicy.go | 7 + .../identitytoolkit/v2/inboundSamlConfig.go | 13 + .../identitytoolkit/v2/oauthIdpConfig.go | 13 + .../google/identitytoolkit/v2/pulumiEnums.go | 139 + .../google/identitytoolkit/v2/pulumiTypes.go | 883 ++ sdk/go/google/identitytoolkit/v2/tenant.go | 13 + .../identitytoolkit/v2/tenantIamBinding.go | 13 + .../identitytoolkit/v2/tenantIamMember.go | 13 + .../identitytoolkit/v2/tenantIamPolicy.go | 13 + sdk/go/google/ids/v1/endpoint.go | 13 + sdk/go/google/ids/v1/endpointIamBinding.go | 13 + sdk/go/google/ids/v1/endpointIamMember.go | 13 + sdk/go/google/ids/v1/endpointIamPolicy.go | 13 + sdk/go/google/ids/v1/getEndpoint.go | 7 + sdk/go/google/ids/v1/getEndpointIamPolicy.go | 7 + sdk/go/google/ids/v1/pulumiEnums.go | 37 + sdk/go/google/ids/v1/pulumiTypes.go | 139 + .../google/integrations/v1alpha/authConfig.go | 13 + .../integrations/v1alpha/certificate.go | 13 + .../integrations/v1alpha/getAuthConfig.go | 7 + .../integrations/v1alpha/getCertificate.go | 7 + .../integrations/v1alpha/getSfdcChannel.go | 7 + .../integrations/v1alpha/getSfdcInstance.go | 7 + .../v1alpha/getTemplatesVersion.go | 7 + .../google/integrations/v1alpha/getVersion.go | 7 + .../integrations/v1alpha/pulumiEnums.go | 1213 +++ .../integrations/v1alpha/pulumiTypes.go | 2953 +++++++ .../integrations/v1alpha/sfdcChannel.go | 13 + .../integrations/v1alpha/sfdcInstance.go | 13 + .../integrations/v1alpha/templatesVersion.go | 13 + sdk/go/google/integrations/v1alpha/version.go | 13 + sdk/go/google/jobs/v3/company.go | 13 + sdk/go/google/jobs/v3/getCompany.go | 7 + sdk/go/google/jobs/v3/getJob.go | 7 + sdk/go/google/jobs/v3/job.go | 13 + sdk/go/google/jobs/v3/pulumiEnums.go | 217 + sdk/go/google/jobs/v3/pulumiTypes.go | 211 + sdk/go/google/jobs/v4/company.go | 13 + sdk/go/google/jobs/v4/getCompany.go | 7 + sdk/go/google/jobs/v4/getJob.go | 7 + sdk/go/google/jobs/v4/getTenant.go | 7 + sdk/go/google/jobs/v4/job.go | 13 + sdk/go/google/jobs/v4/pulumiEnums.go | 217 + sdk/go/google/jobs/v4/pulumiTypes.go | 223 + sdk/go/google/jobs/v4/tenant.go | 13 + .../google/logging/v2/billingAccountBucket.go | 13 + .../logging/v2/billingAccountBucketLink.go | 13 + .../logging/v2/billingAccountBucketView.go | 13 + .../logging/v2/billingAccountExclusion.go | 13 + .../google/logging/v2/billingAccountSink.go | 13 + sdk/go/google/logging/v2/bucket.go | 13 + sdk/go/google/logging/v2/bucketView.go | 13 + sdk/go/google/logging/v2/exclusion.go | 13 + sdk/go/google/logging/v2/folderBucket.go | 13 + sdk/go/google/logging/v2/folderBucketLink.go | 13 + sdk/go/google/logging/v2/folderBucketView.go | 13 + sdk/go/google/logging/v2/folderExclusion.go | 13 + sdk/go/google/logging/v2/folderSink.go | 13 + .../logging/v2/getBillingAccountBucket.go | 7 + .../logging/v2/getBillingAccountBucketLink.go | 7 + .../logging/v2/getBillingAccountBucketView.go | 7 + .../logging/v2/getBillingAccountExclusion.go | 7 + .../logging/v2/getBillingAccountSink.go | 7 + sdk/go/google/logging/v2/getBucket.go | 7 + sdk/go/google/logging/v2/getBucketView.go | 7 + sdk/go/google/logging/v2/getExclusion.go | 7 + sdk/go/google/logging/v2/getFolderBucket.go | 7 + .../google/logging/v2/getFolderBucketLink.go | 7 + .../google/logging/v2/getFolderBucketView.go | 7 + .../google/logging/v2/getFolderExclusion.go | 7 + sdk/go/google/logging/v2/getFolderSink.go | 7 + sdk/go/google/logging/v2/getLink.go | 7 + sdk/go/google/logging/v2/getMetric.go | 7 + .../logging/v2/getOrganizationBucket.go | 7 + .../logging/v2/getOrganizationBucketLink.go | 7 + .../logging/v2/getOrganizationBucketView.go | 7 + .../logging/v2/getOrganizationExclusion.go | 7 + .../google/logging/v2/getOrganizationSink.go | 7 + sdk/go/google/logging/v2/getSink.go | 7 + sdk/go/google/logging/v2/link.go | 13 + sdk/go/google/logging/v2/metric.go | 13 + .../google/logging/v2/organizationBucket.go | 13 + .../logging/v2/organizationBucketLink.go | 13 + .../logging/v2/organizationBucketView.go | 13 + .../logging/v2/organizationExclusion.go | 13 + sdk/go/google/logging/v2/organizationSink.go | 13 + sdk/go/google/logging/v2/pulumiEnums.go | 199 + sdk/go/google/logging/v2/pulumiTypes.go | 379 + sdk/go/google/logging/v2/sink.go | 13 + sdk/go/google/managedidentities/v1/backup.go | 13 + sdk/go/google/managedidentities/v1/domain.go | 13 + .../v1/domainBackupIamBinding.go | 13 + .../v1/domainBackupIamMember.go | 13 + .../v1/domainBackupIamPolicy.go | 13 + .../managedidentities/v1/domainIamBinding.go | 13 + .../managedidentities/v1/domainIamMember.go | 13 + .../managedidentities/v1/domainIamPolicy.go | 13 + .../google/managedidentities/v1/getBackup.go | 7 + .../google/managedidentities/v1/getDomain.go | 7 + .../v1/getDomainBackupIamPolicy.go | 7 + .../v1/getDomainIamPolicy.go | 7 + .../google/managedidentities/v1/getPeering.go | 7 + .../v1/getPeeringIamPolicy.go | 7 + sdk/go/google/managedidentities/v1/peering.go | 13 + .../managedidentities/v1/peeringIamBinding.go | 13 + .../managedidentities/v1/peeringIamMember.go | 13 + .../managedidentities/v1/peeringIamPolicy.go | 13 + .../managedidentities/v1/pulumiTypes.go | 79 + .../managedidentities/v1alpha1/backup.go | 13 + .../managedidentities/v1alpha1/domain.go | 13 + .../v1alpha1/domainBackupIamBinding.go | 13 + .../v1alpha1/domainBackupIamMember.go | 13 + .../v1alpha1/domainBackupIamPolicy.go | 13 + .../v1alpha1/domainIamBinding.go | 13 + .../v1alpha1/domainIamMember.go | 13 + .../v1alpha1/domainIamPolicy.go | 13 + .../managedidentities/v1alpha1/getBackup.go | 7 + .../managedidentities/v1alpha1/getDomain.go | 7 + .../v1alpha1/getDomainBackupIamPolicy.go | 7 + .../v1alpha1/getDomainIamPolicy.go | 7 + .../managedidentities/v1alpha1/getPeering.go | 7 + .../v1alpha1/getPeeringIamPolicy.go | 7 + .../managedidentities/v1alpha1/peering.go | 13 + .../v1alpha1/peeringIamBinding.go | 13 + .../v1alpha1/peeringIamMember.go | 13 + .../v1alpha1/peeringIamPolicy.go | 13 + .../managedidentities/v1alpha1/pulumiTypes.go | 79 + .../managedidentities/v1beta1/backup.go | 13 + .../managedidentities/v1beta1/domain.go | 13 + .../v1beta1/domainBackupIamBinding.go | 13 + .../v1beta1/domainBackupIamMember.go | 13 + .../v1beta1/domainBackupIamPolicy.go | 13 + .../v1beta1/domainIamBinding.go | 13 + .../v1beta1/domainIamMember.go | 13 + .../v1beta1/domainIamPolicy.go | 13 + .../managedidentities/v1beta1/getBackup.go | 7 + .../managedidentities/v1beta1/getDomain.go | 7 + .../v1beta1/getDomainBackupIamPolicy.go | 7 + .../v1beta1/getDomainIamPolicy.go | 7 + .../managedidentities/v1beta1/getPeering.go | 7 + .../v1beta1/getPeeringIamPolicy.go | 7 + .../managedidentities/v1beta1/peering.go | 13 + .../v1beta1/peeringIamBinding.go | 13 + .../v1beta1/peeringIamMember.go | 13 + .../v1beta1/peeringIamPolicy.go | 13 + .../managedidentities/v1beta1/pulumiTypes.go | 79 + sdk/go/google/memcache/v1/getInstance.go | 7 + sdk/go/google/memcache/v1/instance.go | 13 + sdk/go/google/memcache/v1/pulumiEnums.go | 55 + sdk/go/google/memcache/v1/pulumiTypes.go | 187 + sdk/go/google/memcache/v1beta2/getInstance.go | 7 + sdk/go/google/memcache/v1beta2/instance.go | 13 + sdk/go/google/memcache/v1beta2/pulumiEnums.go | 55 + sdk/go/google/memcache/v1beta2/pulumiTypes.go | 187 + sdk/go/google/metastore/v1/backup.go | 13 + sdk/go/google/metastore/v1/federation.go | 13 + .../metastore/v1/federationIamBinding.go | 13 + .../metastore/v1/federationIamMember.go | 13 + .../metastore/v1/federationIamPolicy.go | 13 + sdk/go/google/metastore/v1/getBackup.go | 7 + sdk/go/google/metastore/v1/getFederation.go | 7 + .../metastore/v1/getFederationIamPolicy.go | 7 + .../google/metastore/v1/getMetadataImport.go | 7 + sdk/go/google/metastore/v1/getService.go | 7 + .../metastore/v1/getServiceBackupIamPolicy.go | 7 + .../metastore/v1/getServiceIamPolicy.go | 7 + sdk/go/google/metastore/v1/metadataImport.go | 13 + sdk/go/google/metastore/v1/pulumiEnums.go | 163 + sdk/go/google/metastore/v1/pulumiTypes.go | 481 + sdk/go/google/metastore/v1/service.go | 13 + .../metastore/v1/serviceBackupIamBinding.go | 13 + .../metastore/v1/serviceBackupIamMember.go | 13 + .../metastore/v1/serviceBackupIamPolicy.go | 13 + .../google/metastore/v1/serviceIamBinding.go | 13 + .../google/metastore/v1/serviceIamMember.go | 13 + .../google/metastore/v1/serviceIamPolicy.go | 13 + sdk/go/google/metastore/v1alpha/backup.go | 13 + sdk/go/google/metastore/v1alpha/federation.go | 13 + .../metastore/v1alpha/federationIamBinding.go | 13 + .../metastore/v1alpha/federationIamMember.go | 13 + .../metastore/v1alpha/federationIamPolicy.go | 13 + sdk/go/google/metastore/v1alpha/getBackup.go | 7 + .../google/metastore/v1alpha/getFederation.go | 7 + .../v1alpha/getFederationIamPolicy.go | 7 + .../metastore/v1alpha/getMetadataImport.go | 7 + sdk/go/google/metastore/v1alpha/getService.go | 7 + .../v1alpha/getServiceBackupIamPolicy.go | 7 + .../v1alpha/getServiceDatabaseIamPolicy.go | 7 + .../getServiceDatabaseTableIamPolicy.go | 7 + .../metastore/v1alpha/getServiceIamPolicy.go | 7 + .../metastore/v1alpha/metadataImport.go | 13 + .../google/metastore/v1alpha/pulumiEnums.go | 181 + .../google/metastore/v1alpha/pulumiTypes.go | 571 ++ sdk/go/google/metastore/v1alpha/service.go | 13 + .../v1alpha/serviceBackupIamBinding.go | 13 + .../v1alpha/serviceBackupIamMember.go | 13 + .../v1alpha/serviceBackupIamPolicy.go | 13 + .../v1alpha/serviceDatabaseIamBinding.go | 13 + .../v1alpha/serviceDatabaseIamMember.go | 13 + .../v1alpha/serviceDatabaseIamPolicy.go | 13 + .../v1alpha/serviceDatabaseTableIamBinding.go | 13 + .../v1alpha/serviceDatabaseTableIamMember.go | 13 + .../v1alpha/serviceDatabaseTableIamPolicy.go | 13 + .../metastore/v1alpha/serviceIamBinding.go | 13 + .../metastore/v1alpha/serviceIamMember.go | 13 + .../metastore/v1alpha/serviceIamPolicy.go | 13 + sdk/go/google/metastore/v1beta/backup.go | 13 + sdk/go/google/metastore/v1beta/federation.go | 13 + .../metastore/v1beta/federationIamBinding.go | 13 + .../metastore/v1beta/federationIamMember.go | 13 + .../metastore/v1beta/federationIamPolicy.go | 13 + sdk/go/google/metastore/v1beta/getBackup.go | 7 + .../google/metastore/v1beta/getFederation.go | 7 + .../v1beta/getFederationIamPolicy.go | 7 + .../metastore/v1beta/getMetadataImport.go | 7 + sdk/go/google/metastore/v1beta/getService.go | 7 + .../v1beta/getServiceBackupIamPolicy.go | 7 + .../v1beta/getServiceDatabaseIamPolicy.go | 7 + .../getServiceDatabaseTableIamPolicy.go | 7 + .../metastore/v1beta/getServiceIamPolicy.go | 7 + .../google/metastore/v1beta/metadataImport.go | 13 + sdk/go/google/metastore/v1beta/pulumiEnums.go | 181 + sdk/go/google/metastore/v1beta/pulumiTypes.go | 571 ++ sdk/go/google/metastore/v1beta/service.go | 13 + .../v1beta/serviceBackupIamBinding.go | 13 + .../v1beta/serviceBackupIamMember.go | 13 + .../v1beta/serviceBackupIamPolicy.go | 13 + .../v1beta/serviceDatabaseIamBinding.go | 13 + .../v1beta/serviceDatabaseIamMember.go | 13 + .../v1beta/serviceDatabaseIamPolicy.go | 13 + .../v1beta/serviceDatabaseTableIamBinding.go | 13 + .../v1beta/serviceDatabaseTableIamMember.go | 13 + .../v1beta/serviceDatabaseTableIamPolicy.go | 13 + .../metastore/v1beta/serviceIamBinding.go | 13 + .../metastore/v1beta/serviceIamMember.go | 13 + .../metastore/v1beta/serviceIamPolicy.go | 13 + .../migrationcenter/v1alpha1/getGroup.go | 7 + .../v1alpha1/getImportDataFile.go | 7 + .../migrationcenter/v1alpha1/getImportJob.go | 7 + .../v1alpha1/getPreferenceSet.go | 7 + .../migrationcenter/v1alpha1/getReport.go | 7 + .../v1alpha1/getReportConfig.go | 7 + .../migrationcenter/v1alpha1/getSource.go | 7 + .../google/migrationcenter/v1alpha1/group.go | 13 + .../v1alpha1/importDataFile.go | 13 + .../migrationcenter/v1alpha1/importJob.go | 13 + .../migrationcenter/v1alpha1/preferenceSet.go | 13 + .../migrationcenter/v1alpha1/pulumiEnums.go | 181 + .../migrationcenter/v1alpha1/pulumiTypes.go | 469 + .../google/migrationcenter/v1alpha1/report.go | 13 + .../migrationcenter/v1alpha1/reportConfig.go | 13 + .../google/migrationcenter/v1alpha1/source.go | 13 + sdk/go/google/ml/v1/getJob.go | 7 + sdk/go/google/ml/v1/getJobIamPolicy.go | 7 + sdk/go/google/ml/v1/getModel.go | 7 + sdk/go/google/ml/v1/getModelIamPolicy.go | 7 + sdk/go/google/ml/v1/getStudy.go | 7 + sdk/go/google/ml/v1/getTrial.go | 7 + sdk/go/google/ml/v1/getVersion.go | 7 + sdk/go/google/ml/v1/job.go | 13 + sdk/go/google/ml/v1/jobIamBinding.go | 13 + sdk/go/google/ml/v1/jobIamMember.go | 13 + sdk/go/google/ml/v1/jobIamPolicy.go | 13 + sdk/go/google/ml/v1/model.go | 13 + sdk/go/google/ml/v1/modelIamBinding.go | 13 + sdk/go/google/ml/v1/modelIamMember.go | 13 + sdk/go/google/ml/v1/modelIamPolicy.go | 13 + sdk/go/google/ml/v1/pulumiEnums.go | 289 + sdk/go/google/ml/v1/pulumiTypes.go | 1483 ++++ sdk/go/google/ml/v1/study.go | 13 + sdk/go/google/ml/v1/trial.go | 13 + sdk/go/google/ml/v1/version.go | 13 + sdk/go/google/monitoring/v1/dashboard.go | 13 + sdk/go/google/monitoring/v1/getDashboard.go | 7 + sdk/go/google/monitoring/v1/pulumiEnums.go | 289 + sdk/go/google/monitoring/v1/pulumiTypes.go | 1123 +++ sdk/go/google/monitoring/v3/alertPolicy.go | 13 + sdk/go/google/monitoring/v3/getAlertPolicy.go | 7 + sdk/go/google/monitoring/v3/getGroup.go | 7 + .../monitoring/v3/getMetricDescriptor.go | 7 + .../monitoring/v3/getNotificationChannel.go | 7 + sdk/go/google/monitoring/v3/getService.go | 7 + .../monitoring/v3/getServiceLevelObjective.go | 7 + sdk/go/google/monitoring/v3/getSnooze.go | 7 + .../monitoring/v3/getUptimeCheckConfig.go | 7 + sdk/go/google/monitoring/v3/group.go | 13 + .../google/monitoring/v3/metricDescriptor.go | 13 + .../monitoring/v3/notificationChannel.go | 13 + sdk/go/google/monitoring/v3/pulumiEnums.go | 409 + sdk/go/google/monitoring/v3/pulumiTypes.go | 1567 ++++ sdk/go/google/monitoring/v3/service.go | 13 + .../monitoring/v3/serviceLevelObjective.go | 13 + sdk/go/google/monitoring/v3/snooze.go | 13 + .../google/monitoring/v3/uptimeCheckConfig.go | 13 + .../google/networkconnectivity/v1/getHub.go | 7 + .../networkconnectivity/v1/getHubIamPolicy.go | 7 + .../v1/getInternalRange.go | 7 + .../v1/getPolicyBasedRouteIamPolicy.go | 7 + .../networkconnectivity/v1/getServiceClass.go | 7 + .../v1/getServiceClassIamPolicy.go | 7 + .../v1/getServiceConnectionMap.go | 7 + .../v1/getServiceConnectionMapIamPolicy.go | 7 + .../v1/getServiceConnectionPolicy.go | 7 + .../v1/getServiceConnectionPolicyIamPolicy.go | 7 + .../v1/getServiceConnectionToken.go | 7 + .../google/networkconnectivity/v1/getSpoke.go | 7 + .../v1/getSpokeIamPolicy.go | 7 + sdk/go/google/networkconnectivity/v1/hub.go | 13 + .../networkconnectivity/v1/hubIamBinding.go | 13 + .../networkconnectivity/v1/hubIamMember.go | 13 + .../networkconnectivity/v1/hubIamPolicy.go | 13 + .../networkconnectivity/v1/internalRange.go | 13 + .../v1/policyBasedRouteIamBinding.go | 13 + .../v1/policyBasedRouteIamMember.go | 13 + .../v1/policyBasedRouteIamPolicy.go | 13 + .../networkconnectivity/v1/pulumiEnums.go | 85 + .../networkconnectivity/v1/pulumiTypes.go | 433 + .../networkconnectivity/v1/serviceClass.go | 13 + .../v1/serviceClassIamBinding.go | 13 + .../v1/serviceClassIamMember.go | 13 + .../v1/serviceClassIamPolicy.go | 13 + .../v1/serviceConnectionMap.go | 13 + .../v1/serviceConnectionMapIamBinding.go | 13 + .../v1/serviceConnectionMapIamMember.go | 13 + .../v1/serviceConnectionMapIamPolicy.go | 13 + .../v1/serviceConnectionPolicy.go | 13 + .../v1/serviceConnectionPolicyIamBinding.go | 13 + .../v1/serviceConnectionPolicyIamMember.go | 13 + .../v1/serviceConnectionPolicyIamPolicy.go | 13 + .../v1/serviceConnectionToken.go | 13 + sdk/go/google/networkconnectivity/v1/spoke.go | 13 + .../networkconnectivity/v1/spokeIamBinding.go | 13 + .../networkconnectivity/v1/spokeIamMember.go | 13 + .../networkconnectivity/v1/spokeIamPolicy.go | 13 + .../networkconnectivity/v1alpha1/getHub.go | 7 + .../v1alpha1/getHubIamPolicy.go | 7 + .../v1alpha1/getInternalRange.go | 7 + .../v1alpha1/getInternalRangeIamPolicy.go | 7 + .../networkconnectivity/v1alpha1/getSpoke.go | 7 + .../v1alpha1/getSpokeIamPolicy.go | 7 + .../networkconnectivity/v1alpha1/hub.go | 13 + .../v1alpha1/hubIamBinding.go | 13 + .../v1alpha1/hubIamMember.go | 13 + .../v1alpha1/hubIamPolicy.go | 13 + .../v1alpha1/internalRange.go | 13 + .../v1alpha1/internalRangeIamBinding.go | 13 + .../v1alpha1/internalRangeIamMember.go | 13 + .../v1alpha1/internalRangeIamPolicy.go | 13 + .../v1alpha1/pulumiEnums.go | 85 + .../v1alpha1/pulumiTypes.go | 175 + .../networkconnectivity/v1alpha1/spoke.go | 13 + .../v1alpha1/spokeIamBinding.go | 13 + .../v1alpha1/spokeIamMember.go | 13 + .../v1alpha1/spokeIamPolicy.go | 13 + .../networkmanagement/v1/connectivityTest.go | 13 + .../v1/connectivityTestIamBinding.go | 13 + .../v1/connectivityTestIamMember.go | 13 + .../v1/connectivityTestIamPolicy.go | 13 + .../v1/getConnectivityTest.go | 7 + .../v1/getConnectivityTestIamPolicy.go | 7 + .../networkmanagement/v1/pulumiEnums.go | 37 + .../networkmanagement/v1/pulumiTypes.go | 409 + .../v1beta1/connectivityTest.go | 13 + .../v1beta1/connectivityTestIamBinding.go | 13 + .../v1beta1/connectivityTestIamMember.go | 13 + .../v1beta1/connectivityTestIamPolicy.go | 13 + .../v1beta1/getConnectivityTest.go | 7 + .../v1beta1/getConnectivityTestIamPolicy.go | 7 + .../networkmanagement/v1beta1/pulumiEnums.go | 37 + .../networkmanagement/v1beta1/pulumiTypes.go | 439 + .../networksecurity/v1/authorizationPolicy.go | 13 + .../v1/authorizationPolicyIamBinding.go | 13 + .../v1/authorizationPolicyIamMember.go | 13 + .../v1/authorizationPolicyIamPolicy.go | 13 + .../networksecurity/v1/clientTlsPolicy.go | 13 + .../v1/clientTlsPolicyIamBinding.go | 13 + .../v1/clientTlsPolicyIamMember.go | 13 + .../v1/clientTlsPolicyIamPolicy.go | 13 + .../v1/gatewaySecurityPolicy.go | 13 + .../v1/getAuthorizationPolicy.go | 7 + .../v1/getAuthorizationPolicyIamPolicy.go | 7 + .../networksecurity/v1/getClientTlsPolicy.go | 7 + .../v1/getClientTlsPolicyIamPolicy.go | 7 + .../v1/getGatewaySecurityPolicy.go | 7 + sdk/go/google/networksecurity/v1/getRule.go | 7 + .../networksecurity/v1/getServerTlsPolicy.go | 7 + .../v1/getServerTlsPolicyIamPolicy.go | 7 + .../v1/getTlsInspectionPolicy.go | 7 + .../google/networksecurity/v1/getUrlList.go | 7 + .../google/networksecurity/v1/pulumiEnums.go | 73 + .../google/networksecurity/v1/pulumiTypes.go | 433 + sdk/go/google/networksecurity/v1/rule.go | 13 + .../networksecurity/v1/serverTlsPolicy.go | 13 + .../v1/serverTlsPolicyIamBinding.go | 13 + .../v1/serverTlsPolicyIamMember.go | 13 + .../v1/serverTlsPolicyIamPolicy.go | 13 + .../networksecurity/v1/tlsInspectionPolicy.go | 13 + sdk/go/google/networksecurity/v1/urlList.go | 13 + .../networksecurity/v1beta1/addressGroup.go | 13 + .../v1beta1/addressGroupIamBinding.go | 13 + .../v1beta1/addressGroupIamMember.go | 13 + .../v1beta1/addressGroupIamPolicy.go | 13 + .../v1beta1/authorizationPolicy.go | 13 + .../v1beta1/authorizationPolicyIamBinding.go | 13 + .../v1beta1/authorizationPolicyIamMember.go | 13 + .../v1beta1/authorizationPolicyIamPolicy.go | 13 + .../v1beta1/clientTlsPolicy.go | 13 + .../v1beta1/clientTlsPolicyIamBinding.go | 13 + .../v1beta1/clientTlsPolicyIamMember.go | 13 + .../v1beta1/clientTlsPolicyIamPolicy.go | 13 + .../v1beta1/gatewaySecurityPolicy.go | 13 + .../v1beta1/getAddressGroup.go | 7 + .../v1beta1/getAddressGroupIamPolicy.go | 7 + .../v1beta1/getAuthorizationPolicy.go | 7 + .../getAuthorizationPolicyIamPolicy.go | 7 + .../v1beta1/getClientTlsPolicy.go | 7 + .../v1beta1/getClientTlsPolicyIamPolicy.go | 7 + .../v1beta1/getGatewaySecurityPolicy.go | 7 + .../v1beta1/getOrganizationAddressGroup.go | 7 + .../google/networksecurity/v1beta1/getRule.go | 7 + .../v1beta1/getServerTlsPolicy.go | 7 + .../v1beta1/getServerTlsPolicyIamPolicy.go | 7 + .../v1beta1/getTlsInspectionPolicy.go | 7 + .../networksecurity/v1beta1/getUrlList.go | 7 + .../v1beta1/organizationAddressGroup.go | 13 + .../networksecurity/v1beta1/pulumiEnums.go | 109 + .../networksecurity/v1beta1/pulumiTypes.go | 433 + sdk/go/google/networksecurity/v1beta1/rule.go | 13 + .../v1beta1/serverTlsPolicy.go | 13 + .../v1beta1/serverTlsPolicyIamBinding.go | 13 + .../v1beta1/serverTlsPolicyIamMember.go | 13 + .../v1beta1/serverTlsPolicyIamPolicy.go | 13 + .../v1beta1/tlsInspectionPolicy.go | 13 + .../google/networksecurity/v1beta1/urlList.go | 13 + .../v1/edgeCacheKeysetIamBinding.go | 13 + .../v1/edgeCacheKeysetIamMember.go | 13 + .../v1/edgeCacheKeysetIamPolicy.go | 13 + .../v1/edgeCacheOriginIamBinding.go | 13 + .../v1/edgeCacheOriginIamMember.go | 13 + .../v1/edgeCacheOriginIamPolicy.go | 13 + .../v1/edgeCacheServiceIamBinding.go | 13 + .../v1/edgeCacheServiceIamMember.go | 13 + .../v1/edgeCacheServiceIamPolicy.go | 13 + .../networkservices/v1/endpointPolicy.go | 13 + .../v1/endpointPolicyIamBinding.go | 13 + .../v1/endpointPolicyIamMember.go | 13 + .../v1/endpointPolicyIamPolicy.go | 13 + sdk/go/google/networkservices/v1/gateway.go | 13 + .../networkservices/v1/gatewayIamBinding.go | 13 + .../networkservices/v1/gatewayIamMember.go | 13 + .../networkservices/v1/gatewayIamPolicy.go | 13 + .../v1/getEdgeCacheKeysetIamPolicy.go | 7 + .../v1/getEdgeCacheOriginIamPolicy.go | 7 + .../v1/getEdgeCacheServiceIamPolicy.go | 7 + .../networkservices/v1/getEndpointPolicy.go | 7 + .../v1/getEndpointPolicyIamPolicy.go | 7 + .../google/networkservices/v1/getGateway.go | 7 + .../networkservices/v1/getGatewayIamPolicy.go | 7 + .../google/networkservices/v1/getGrpcRoute.go | 7 + .../google/networkservices/v1/getHttpRoute.go | 7 + sdk/go/google/networkservices/v1/getMesh.go | 7 + .../networkservices/v1/getMeshIamPolicy.go | 7 + .../networkservices/v1/getServiceBinding.go | 7 + .../v1/getServiceBindingIamPolicy.go | 7 + .../google/networkservices/v1/getTcpRoute.go | 7 + .../google/networkservices/v1/getTlsRoute.go | 7 + sdk/go/google/networkservices/v1/grpcRoute.go | 13 + sdk/go/google/networkservices/v1/httpRoute.go | 13 + sdk/go/google/networkservices/v1/mesh.go | 13 + .../networkservices/v1/meshIamBinding.go | 13 + .../networkservices/v1/meshIamMember.go | 13 + .../networkservices/v1/meshIamPolicy.go | 13 + .../google/networkservices/v1/pulumiEnums.go | 127 + .../google/networkservices/v1/pulumiTypes.go | 1339 +++ .../networkservices/v1/serviceBinding.go | 13 + .../v1/serviceBindingIamBinding.go | 13 + .../v1/serviceBindingIamMember.go | 13 + .../v1/serviceBindingIamPolicy.go | 13 + sdk/go/google/networkservices/v1/tcpRoute.go | 13 + sdk/go/google/networkservices/v1/tlsRoute.go | 13 + .../networkservices/v1beta1/endpointPolicy.go | 13 + .../v1beta1/endpointPolicyIamBinding.go | 13 + .../v1beta1/endpointPolicyIamMember.go | 13 + .../v1beta1/endpointPolicyIamPolicy.go | 13 + .../google/networkservices/v1beta1/gateway.go | 13 + .../v1beta1/gatewayIamBinding.go | 13 + .../v1beta1/gatewayIamMember.go | 13 + .../v1beta1/gatewayIamPolicy.go | 13 + .../v1beta1/getEndpointPolicy.go | 7 + .../v1beta1/getEndpointPolicyIamPolicy.go | 7 + .../networkservices/v1beta1/getGateway.go | 7 + .../v1beta1/getGatewayIamPolicy.go | 7 + .../networkservices/v1beta1/getGrpcRoute.go | 7 + .../networkservices/v1beta1/getHttpRoute.go | 7 + .../google/networkservices/v1beta1/getMesh.go | 7 + .../v1beta1/getMeshIamPolicy.go | 7 + .../v1beta1/getServiceBinding.go | 7 + .../v1beta1/getServiceBindingIamPolicy.go | 7 + .../networkservices/v1beta1/getTcpRoute.go | 7 + .../networkservices/v1beta1/getTlsRoute.go | 7 + .../networkservices/v1beta1/grpcRoute.go | 13 + .../networkservices/v1beta1/httpRoute.go | 13 + sdk/go/google/networkservices/v1beta1/mesh.go | 13 + .../networkservices/v1beta1/meshIamBinding.go | 13 + .../networkservices/v1beta1/meshIamMember.go | 13 + .../networkservices/v1beta1/meshIamPolicy.go | 13 + .../networkservices/v1beta1/pulumiEnums.go | 127 + .../networkservices/v1beta1/pulumiTypes.go | 1339 +++ .../networkservices/v1beta1/serviceBinding.go | 13 + .../v1beta1/serviceBindingIamBinding.go | 13 + .../v1beta1/serviceBindingIamMember.go | 13 + .../v1beta1/serviceBindingIamPolicy.go | 13 + .../networkservices/v1beta1/tcpRoute.go | 13 + .../networkservices/v1beta1/tlsRoute.go | 13 + sdk/go/google/notebooks/v1/environment.go | 13 + sdk/go/google/notebooks/v1/execution.go | 13 + sdk/go/google/notebooks/v1/getEnvironment.go | 7 + sdk/go/google/notebooks/v1/getExecution.go | 7 + sdk/go/google/notebooks/v1/getInstance.go | 7 + .../notebooks/v1/getInstanceIamPolicy.go | 7 + sdk/go/google/notebooks/v1/getRuntime.go | 7 + .../notebooks/v1/getRuntimeIamPolicy.go | 7 + sdk/go/google/notebooks/v1/getSchedule.go | 7 + sdk/go/google/notebooks/v1/instance.go | 13 + .../google/notebooks/v1/instanceIamBinding.go | 13 + .../google/notebooks/v1/instanceIamMember.go | 13 + .../google/notebooks/v1/instanceIamPolicy.go | 13 + sdk/go/google/notebooks/v1/pulumiEnums.go | 307 + sdk/go/google/notebooks/v1/pulumiTypes.go | 745 ++ sdk/go/google/notebooks/v1/runtime.go | 13 + .../google/notebooks/v1/runtimeIamBinding.go | 13 + .../google/notebooks/v1/runtimeIamMember.go | 13 + .../google/notebooks/v1/runtimeIamPolicy.go | 13 + sdk/go/google/notebooks/v1/schedule.go | 13 + .../notebooks/v2/getInstanceIamPolicy.go | 7 + .../google/notebooks/v2/instanceIamBinding.go | 13 + .../google/notebooks/v2/instanceIamMember.go | 13 + .../google/notebooks/v2/instanceIamPolicy.go | 13 + sdk/go/google/notebooks/v2/pulumiTypes.go | 67 + .../google/orgpolicy/v2/customConstraint.go | 13 + sdk/go/google/orgpolicy/v2/folderPolicy.go | 13 + .../orgpolicy/v2/getCustomConstraint.go | 7 + sdk/go/google/orgpolicy/v2/getFolderPolicy.go | 7 + .../orgpolicy/v2/getOrganizationPolicy.go | 7 + sdk/go/google/orgpolicy/v2/getPolicy.go | 7 + .../google/orgpolicy/v2/organizationPolicy.go | 13 + sdk/go/google/orgpolicy/v2/policy.go | 13 + sdk/go/google/orgpolicy/v2/pulumiEnums.go | 49 + sdk/go/google/orgpolicy/v2/pulumiTypes.go | 157 + .../osconfig/v1/getOsPolicyAssignment.go | 7 + .../google/osconfig/v1/getPatchDeployment.go | 7 + .../google/osconfig/v1/osPolicyAssignment.go | 13 + sdk/go/google/osconfig/v1/patchDeployment.go | 13 + sdk/go/google/osconfig/v1/pulumiEnums.go | 247 + sdk/go/google/osconfig/v1/pulumiTypes.go | 1333 +++ .../osconfig/v1alpha/getOsPolicyAssignment.go | 7 + .../osconfig/v1alpha/osPolicyAssignment.go | 13 + sdk/go/google/osconfig/v1alpha/pulumiEnums.go | 91 + sdk/go/google/osconfig/v1alpha/pulumiTypes.go | 871 ++ .../google/osconfig/v1beta/getGuestPolicy.go | 7 + .../osconfig/v1beta/getPatchDeployment.go | 7 + sdk/go/google/osconfig/v1beta/guestPolicy.go | 13 + .../google/osconfig/v1beta/patchDeployment.go | 13 + sdk/go/google/osconfig/v1beta/pulumiEnums.go | 265 + sdk/go/google/osconfig/v1beta/pulumiTypes.go | 1171 +++ sdk/go/google/oslogin/v1/getSshPublicKey.go | 7 + sdk/go/google/oslogin/v1/sshPublicKey.go | 13 + .../google/oslogin/v1alpha/getSshPublicKey.go | 7 + sdk/go/google/oslogin/v1alpha/sshPublicKey.go | 13 + .../google/oslogin/v1beta/getSshPublicKey.go | 7 + sdk/go/google/oslogin/v1beta/sshPublicKey.go | 13 + .../google/policysimulator/v1/folderReplay.go | 13 + .../policysimulator/v1/getFolderReplay.go | 7 + .../v1/getOrganizationReplay.go | 7 + sdk/go/google/policysimulator/v1/getReplay.go | 7 + .../policysimulator/v1/organizationReplay.go | 13 + .../google/policysimulator/v1/pulumiEnums.go | 19 + .../google/policysimulator/v1/pulumiTypes.go | 31 + sdk/go/google/policysimulator/v1/replay.go | 13 + .../policysimulator/v1beta1/folderReplay.go | 13 + .../v1beta1/getFolderReplay.go | 7 + .../v1beta1/getOrganizationReplay.go | 7 + .../policysimulator/v1beta1/getReplay.go | 7 + .../v1beta1/organizationReplay.go | 13 + .../policysimulator/v1beta1/pulumiEnums.go | 19 + .../policysimulator/v1beta1/pulumiTypes.go | 31 + .../google/policysimulator/v1beta1/replay.go | 13 + sdk/go/google/privateca/v1/caPool.go | 13 + ...rityCertificateRevocationListIamBinding.go | 13 + ...orityCertificateRevocationListIamMember.go | 13 + ...orityCertificateRevocationListIamPolicy.go | 13 + .../google/privateca/v1/caPoolIamBinding.go | 13 + sdk/go/google/privateca/v1/caPoolIamMember.go | 13 + sdk/go/google/privateca/v1/caPoolIamPolicy.go | 13 + sdk/go/google/privateca/v1/certificate.go | 13 + .../privateca/v1/certificateAuthority.go | 13 + .../privateca/v1/certificateTemplate.go | 13 + .../v1/certificateTemplateIamBinding.go | 13 + .../v1/certificateTemplateIamMember.go | 13 + .../v1/certificateTemplateIamPolicy.go | 13 + sdk/go/google/privateca/v1/getCaPool.go | 7 + ...orityCertificateRevocationListIamPolicy.go | 7 + .../google/privateca/v1/getCaPoolIamPolicy.go | 7 + sdk/go/google/privateca/v1/getCertificate.go | 7 + .../privateca/v1/getCertificateAuthority.go | 7 + .../privateca/v1/getCertificateTemplate.go | 7 + .../v1/getCertificateTemplateIamPolicy.go | 7 + sdk/go/google/privateca/v1/pulumiEnums.go | 175 + sdk/go/google/privateca/v1/pulumiTypes.go | 907 ++ ...rityCertificateRevocationListIamBinding.go | 13 + ...orityCertificateRevocationListIamMember.go | 13 + ...orityCertificateRevocationListIamPolicy.go | 13 + .../v1beta1/certificateAuthorityIamBinding.go | 13 + .../v1beta1/certificateAuthorityIamMember.go | 13 + .../v1beta1/certificateAuthorityIamPolicy.go | 13 + ...orityCertificateRevocationListIamPolicy.go | 7 + .../getCertificateAuthorityIamPolicy.go | 7 + .../v1beta1/getReusableConfigIamPolicy.go | 7 + .../google/privateca/v1beta1/pulumiEnums.go | 19 + .../google/privateca/v1beta1/pulumiTypes.go | 139 + .../v1beta1/reusableConfigIamBinding.go | 13 + .../v1beta1/reusableConfigIamMember.go | 13 + .../v1beta1/reusableConfigIamPolicy.go | 13 + sdk/go/google/provider.go | 13 + sdk/go/google/pubsub/v1/getSchema.go | 7 + sdk/go/google/pubsub/v1/getSchemaIamPolicy.go | 7 + sdk/go/google/pubsub/v1/getSnapshot.go | 7 + .../google/pubsub/v1/getSnapshotIamPolicy.go | 7 + sdk/go/google/pubsub/v1/getSubscription.go | 7 + .../pubsub/v1/getSubscriptionIamPolicy.go | 7 + sdk/go/google/pubsub/v1/getTopic.go | 7 + sdk/go/google/pubsub/v1/getTopicIamPolicy.go | 7 + sdk/go/google/pubsub/v1/pulumiEnums.go | 37 + sdk/go/google/pubsub/v1/pulumiTypes.go | 397 + sdk/go/google/pubsub/v1/schema.go | 13 + sdk/go/google/pubsub/v1/schemaIamBinding.go | 13 + sdk/go/google/pubsub/v1/schemaIamMember.go | 13 + sdk/go/google/pubsub/v1/schemaIamPolicy.go | 13 + sdk/go/google/pubsub/v1/snapshot.go | 13 + sdk/go/google/pubsub/v1/snapshotIamBinding.go | 13 + sdk/go/google/pubsub/v1/snapshotIamMember.go | 13 + sdk/go/google/pubsub/v1/snapshotIamPolicy.go | 13 + sdk/go/google/pubsub/v1/subscription.go | 13 + .../pubsub/v1/subscriptionIamBinding.go | 13 + .../google/pubsub/v1/subscriptionIamMember.go | 13 + .../google/pubsub/v1/subscriptionIamPolicy.go | 13 + sdk/go/google/pubsub/v1/topic.go | 13 + sdk/go/google/pubsub/v1/topicIamBinding.go | 13 + sdk/go/google/pubsub/v1/topicIamMember.go | 13 + sdk/go/google/pubsub/v1/topicIamPolicy.go | 13 + .../google/pubsub/v1beta1a/getSubscription.go | 7 + sdk/go/google/pubsub/v1beta1a/getTopic.go | 7 + sdk/go/google/pubsub/v1beta1a/pulumiTypes.go | 31 + sdk/go/google/pubsub/v1beta1a/subscription.go | 13 + sdk/go/google/pubsub/v1beta1a/topic.go | 13 + .../google/pubsub/v1beta2/getSubscription.go | 7 + .../v1beta2/getSubscriptionIamPolicy.go | 7 + sdk/go/google/pubsub/v1beta2/getTopic.go | 7 + .../pubsub/v1beta2/getTopicIamPolicy.go | 7 + sdk/go/google/pubsub/v1beta2/pulumiTypes.go | 127 + sdk/go/google/pubsub/v1beta2/subscription.go | 13 + .../pubsub/v1beta2/subscriptionIamBinding.go | 13 + .../pubsub/v1beta2/subscriptionIamMember.go | 13 + .../pubsub/v1beta2/subscriptionIamPolicy.go | 13 + sdk/go/google/pubsub/v1beta2/topic.go | 13 + .../google/pubsub/v1beta2/topicIamBinding.go | 13 + .../google/pubsub/v1beta2/topicIamMember.go | 13 + .../google/pubsub/v1beta2/topicIamPolicy.go | 13 + sdk/go/google/pubsublite/v1/getReservation.go | 7 + .../google/pubsublite/v1/getSubscription.go | 7 + sdk/go/google/pubsublite/v1/getTopic.go | 7 + sdk/go/google/pubsublite/v1/pulumiEnums.go | 37 + sdk/go/google/pubsublite/v1/pulumiTypes.go | 211 + sdk/go/google/pubsublite/v1/reservation.go | 13 + sdk/go/google/pubsublite/v1/subscription.go | 13 + sdk/go/google/pubsublite/v1/topic.go | 13 + .../recaptchaenterprise/v1/firewallpolicy.go | 13 + .../v1/getFirewallpolicy.go | 7 + .../google/recaptchaenterprise/v1/getKey.go | 7 + sdk/go/google/recaptchaenterprise/v1/key.go | 13 + .../recaptchaenterprise/v1/pulumiEnums.go | 91 + .../recaptchaenterprise/v1/pulumiTypes.go | 367 + .../v1beta1/catalogItem.go | 13 + .../v1beta1/getCatalogItem.go | 7 + .../v1beta1/pulumiEnums.go | 19 + .../v1beta1/pulumiTypes.go | 193 + sdk/go/google/redis/v1/getInstance.go | 7 + sdk/go/google/redis/v1/instance.go | 13 + sdk/go/google/redis/v1/pulumiEnums.go | 157 + sdk/go/google/redis/v1/pulumiTypes.go | 145 + sdk/go/google/redis/v1beta1/getInstance.go | 7 + sdk/go/google/redis/v1beta1/instance.go | 13 + sdk/go/google/redis/v1beta1/pulumiEnums.go | 157 + sdk/go/google/redis/v1beta1/pulumiTypes.go | 145 + .../v1alpha/getInstance.go | 7 + .../v1alpha/getWorkerPool.go | 7 + .../remotebuildexecution/v1alpha/instance.go | 13 + .../v1alpha/pulumiEnums.go | 37 + .../v1alpha/pulumiTypes.go | 151 + .../v1alpha/workerPool.go | 13 + sdk/go/google/retail/v2/control.go | 13 + sdk/go/google/retail/v2/getControl.go | 7 + sdk/go/google/retail/v2/getModel.go | 7 + sdk/go/google/retail/v2/getProduct.go | 7 + sdk/go/google/retail/v2/getServingConfig.go | 7 + sdk/go/google/retail/v2/model.go | 13 + sdk/go/google/retail/v2/product.go | 13 + sdk/go/google/retail/v2/pulumiEnums.go | 253 + sdk/go/google/retail/v2/pulumiTypes.go | 769 ++ sdk/go/google/retail/v2/servingConfig.go | 13 + sdk/go/google/retail/v2alpha/control.go | 13 + sdk/go/google/retail/v2alpha/getControl.go | 7 + sdk/go/google/retail/v2alpha/getModel.go | 7 + sdk/go/google/retail/v2alpha/getProduct.go | 7 + .../google/retail/v2alpha/getServingConfig.go | 7 + sdk/go/google/retail/v2alpha/model.go | 13 + sdk/go/google/retail/v2alpha/product.go | 13 + sdk/go/google/retail/v2alpha/pulumiEnums.go | 271 + sdk/go/google/retail/v2alpha/pulumiTypes.go | 961 ++ sdk/go/google/retail/v2alpha/servingConfig.go | 13 + sdk/go/google/retail/v2beta/control.go | 13 + sdk/go/google/retail/v2beta/getControl.go | 7 + sdk/go/google/retail/v2beta/getModel.go | 7 + sdk/go/google/retail/v2beta/getProduct.go | 7 + .../google/retail/v2beta/getServingConfig.go | 7 + sdk/go/google/retail/v2beta/model.go | 13 + sdk/go/google/retail/v2beta/product.go | 13 + sdk/go/google/retail/v2beta/pulumiEnums.go | 253 + sdk/go/google/retail/v2beta/pulumiTypes.go | 859 ++ sdk/go/google/retail/v2beta/servingConfig.go | 13 + sdk/go/google/run/v1/domainMapping.go | 13 + sdk/go/google/run/v1/getDomainMapping.go | 7 + sdk/go/google/run/v1/getJob.go | 7 + sdk/go/google/run/v1/getJobIamPolicy.go | 7 + sdk/go/google/run/v1/getService.go | 7 + sdk/go/google/run/v1/getServiceIamPolicy.go | 7 + sdk/go/google/run/v1/jobIamBinding.go | 13 + sdk/go/google/run/v1/jobIamMember.go | 13 + sdk/go/google/run/v1/jobIamPolicy.go | 13 + sdk/go/google/run/v1/pulumiEnums.go | 37 + sdk/go/google/run/v1/pulumiTypes.go | 1231 +++ sdk/go/google/run/v1/service.go | 13 + sdk/go/google/run/v1/serviceIamBinding.go | 13 + sdk/go/google/run/v1/serviceIamMember.go | 13 + sdk/go/google/run/v1/serviceIamPolicy.go | 13 + sdk/go/google/run/v2/getJob.go | 7 + sdk/go/google/run/v2/getJobIamPolicy.go | 7 + sdk/go/google/run/v2/getService.go | 7 + sdk/go/google/run/v2/getServiceIamPolicy.go | 7 + sdk/go/google/run/v2/job.go | 13 + sdk/go/google/run/v2/jobIamBinding.go | 13 + sdk/go/google/run/v2/jobIamMember.go | 13 + sdk/go/google/run/v2/jobIamPolicy.go | 13 + sdk/go/google/run/v2/pulumiEnums.go | 163 + sdk/go/google/run/v2/pulumiTypes.go | 901 ++ sdk/go/google/run/v2/service.go | 13 + sdk/go/google/run/v2/serviceIamBinding.go | 13 + sdk/go/google/run/v2/serviceIamMember.go | 13 + sdk/go/google/run/v2/serviceIamPolicy.go | 13 + sdk/go/google/runtimeconfig/v1beta1/config.go | 13 + .../runtimeconfig/v1beta1/configIamBinding.go | 13 + .../runtimeconfig/v1beta1/configIamMember.go | 13 + .../runtimeconfig/v1beta1/configIamPolicy.go | 13 + .../google/runtimeconfig/v1beta1/getConfig.go | 7 + .../v1beta1/getConfigIamPolicy.go | 7 + .../runtimeconfig/v1beta1/getVariable.go | 7 + .../google/runtimeconfig/v1beta1/getWaiter.go | 7 + .../runtimeconfig/v1beta1/pulumiTypes.go | 133 + .../google/runtimeconfig/v1beta1/variable.go | 13 + sdk/go/google/runtimeconfig/v1beta1/waiter.go | 13 + sdk/go/google/secretmanager/v1/getSecret.go | 7 + .../secretmanager/v1/getSecretIamPolicy.go | 7 + sdk/go/google/secretmanager/v1/pulumiEnums.go | 19 + sdk/go/google/secretmanager/v1/pulumiTypes.go | 349 + sdk/go/google/secretmanager/v1/secret.go | 13 + .../secretmanager/v1/secretIamBinding.go | 13 + .../secretmanager/v1/secretIamMember.go | 13 + .../secretmanager/v1/secretIamPolicy.go | 13 + .../google/secretmanager/v1beta1/getSecret.go | 7 + .../v1beta1/getSecretIamPolicy.go | 7 + .../secretmanager/v1beta1/pulumiEnums.go | 19 + .../secretmanager/v1beta1/pulumiTypes.go | 253 + sdk/go/google/secretmanager/v1beta1/secret.go | 13 + .../secretmanager/v1beta1/secretIamBinding.go | 13 + .../secretmanager/v1beta1/secretIamMember.go | 13 + .../secretmanager/v1beta1/secretIamPolicy.go | 13 + .../google/securitycenter/v1/customModule.go | 13 + .../securitycenter/v1/folderBigQueryExport.go | 13 + .../securitycenter/v1/folderCustomModule.go | 13 + .../v1/folderNotificationConfig.go | 13 + .../securitycenter/v1/getCustomModule.go | 7 + .../v1/getFolderBigQueryExport.go | 7 + .../v1/getFolderCustomModule.go | 7 + .../v1/getFolderNotificationConfig.go | 7 + .../google/securitycenter/v1/getMuteConfig.go | 7 + .../v1/getNotificationConfig.go | 7 + .../v1/getOrganizationBigQueryExport.go | 7 + .../v1/getOrganizationCustomModule.go | 7 + .../v1/getOrganizationMuteConfig.go | 7 + .../v1/getOrganizationNotificationConfig.go | 7 + .../v1/getOrganizationSourceIamPolicy.go | 7 + .../v1/getProjectBigQueryExport.go | 7 + sdk/go/google/securitycenter/v1/getSource.go | 7 + sdk/go/google/securitycenter/v1/muteConfig.go | 13 + .../securitycenter/v1/notificationConfig.go | 13 + .../v1/organizationBigQueryExport.go | 13 + .../v1/organizationCustomModule.go | 13 + .../v1/organizationMuteConfig.go | 13 + .../v1/organizationNotificationConfig.go | 13 + .../v1/organizationSourceIamBinding.go | 13 + .../v1/organizationSourceIamMember.go | 13 + .../v1/organizationSourceIamPolicy.go | 13 + .../v1/projectBigQueryExport.go | 13 + .../google/securitycenter/v1/pulumiEnums.go | 91 + .../google/securitycenter/v1/pulumiTypes.go | 295 + sdk/go/google/securitycenter/v1/source.go | 13 + .../v1beta1/getOrganizationSourceIamPolicy.go | 7 + .../securitycenter/v1beta1/getSource.go | 7 + .../v1beta1/organizationSourceIamBinding.go | 13 + .../v1beta1/organizationSourceIamMember.go | 13 + .../v1beta1/organizationSourceIamPolicy.go | 13 + .../securitycenter/v1beta1/pulumiEnums.go | 19 + .../securitycenter/v1beta1/pulumiTypes.go | 139 + .../google/securitycenter/v1beta1/source.go | 13 + sdk/go/google/servicedirectory/v1/endpoint.go | 13 + .../google/servicedirectory/v1/getEndpoint.go | 7 + .../servicedirectory/v1/getNamespace.go | 7 + .../v1/getNamespaceIamPolicy.go | 7 + .../v1/getNamespaceServiceIamPolicy.go | 7 + .../google/servicedirectory/v1/getService.go | 7 + .../google/servicedirectory/v1/namespace.go | 13 + .../v1/namespaceIamBinding.go | 13 + .../servicedirectory/v1/namespaceIamMember.go | 13 + .../servicedirectory/v1/namespaceIamPolicy.go | 13 + .../v1/namespaceServiceIamBinding.go | 13 + .../v1/namespaceServiceIamMember.go | 13 + .../v1/namespaceServiceIamPolicy.go | 13 + .../google/servicedirectory/v1/pulumiTypes.go | 79 + sdk/go/google/servicedirectory/v1/service.go | 13 + .../servicedirectory/v1beta1/endpoint.go | 13 + .../servicedirectory/v1beta1/getEndpoint.go | 7 + .../servicedirectory/v1beta1/getNamespace.go | 7 + .../v1beta1/getNamespaceIamPolicy.go | 7 + .../v1beta1/getNamespaceServiceIamPolicy.go | 7 + .../getNamespaceServiceWorkloadIamPolicy.go | 7 + .../v1beta1/getNamespaceWorkloadIamPolicy.go | 7 + .../v1beta1/getRegistrationPolicyIamPolicy.go | 7 + .../servicedirectory/v1beta1/getService.go | 7 + .../servicedirectory/v1beta1/namespace.go | 13 + .../v1beta1/namespaceIamBinding.go | 13 + .../v1beta1/namespaceIamMember.go | 13 + .../v1beta1/namespaceIamPolicy.go | 13 + .../v1beta1/namespaceServiceIamBinding.go | 13 + .../v1beta1/namespaceServiceIamMember.go | 13 + .../v1beta1/namespaceServiceIamPolicy.go | 13 + .../namespaceServiceWorkloadIamBinding.go | 13 + .../namespaceServiceWorkloadIamMember.go | 13 + .../namespaceServiceWorkloadIamPolicy.go | 13 + .../v1beta1/namespaceWorkloadIamBinding.go | 13 + .../v1beta1/namespaceWorkloadIamMember.go | 13 + .../v1beta1/namespaceWorkloadIamPolicy.go | 13 + .../servicedirectory/v1beta1/pulumiTypes.go | 79 + .../v1beta1/registrationPolicyIamBinding.go | 13 + .../v1beta1/registrationPolicyIamMember.go | 13 + .../v1beta1/registrationPolicyIamPolicy.go | 13 + .../servicedirectory/v1beta1/service.go | 13 + sdk/go/google/servicemanagement/v1/config.go | 13 + .../google/servicemanagement/v1/getConfig.go | 7 + .../google/servicemanagement/v1/getRollout.go | 7 + .../google/servicemanagement/v1/getService.go | 7 + .../v1/getServiceConsumerIamPolicy.go | 7 + .../v1/getServiceIamPolicy.go | 7 + .../servicemanagement/v1/pulumiEnums.go | 319 + .../servicemanagement/v1/pulumiTypes.go | 2233 +++++ sdk/go/google/servicemanagement/v1/rollout.go | 13 + sdk/go/google/servicemanagement/v1/service.go | 13 + .../v1/serviceConsumerIamBinding.go | 13 + .../v1/serviceConsumerIamMember.go | 13 + .../v1/serviceConsumerIamPolicy.go | 13 + .../servicemanagement/v1/serviceIamBinding.go | 13 + .../servicemanagement/v1/serviceIamMember.go | 13 + .../servicemanagement/v1/serviceIamPolicy.go | 13 + sdk/go/google/sourcerepo/v1/getRepo.go | 7 + .../google/sourcerepo/v1/getRepoIamPolicy.go | 7 + sdk/go/google/sourcerepo/v1/pulumiEnums.go | 19 + sdk/go/google/sourcerepo/v1/pulumiTypes.go | 169 + sdk/go/google/sourcerepo/v1/repo.go | 13 + sdk/go/google/sourcerepo/v1/repoIamBinding.go | 13 + sdk/go/google/sourcerepo/v1/repoIamMember.go | 13 + sdk/go/google/sourcerepo/v1/repoIamPolicy.go | 13 + sdk/go/google/spanner/v1/backup.go | 13 + sdk/go/google/spanner/v1/database.go | 13 + sdk/go/google/spanner/v1/getBackup.go | 7 + sdk/go/google/spanner/v1/getDatabase.go | 7 + sdk/go/google/spanner/v1/getInstance.go | 7 + .../spanner/v1/getInstanceBackupIamPolicy.go | 7 + sdk/go/google/spanner/v1/getInstanceConfig.go | 7 + .../v1/getInstanceDatabaseIamPolicy.go | 7 + .../google/spanner/v1/getInstanceIamPolicy.go | 7 + sdk/go/google/spanner/v1/getSession.go | 7 + sdk/go/google/spanner/v1/instance.go | 13 + .../spanner/v1/instanceBackupIamBinding.go | 13 + .../spanner/v1/instanceBackupIamMember.go | 13 + .../spanner/v1/instanceBackupIamPolicy.go | 13 + sdk/go/google/spanner/v1/instanceConfig.go | 13 + .../spanner/v1/instanceDatabaseIamBinding.go | 13 + .../spanner/v1/instanceDatabaseIamMember.go | 13 + .../spanner/v1/instanceDatabaseIamPolicy.go | 13 + .../google/spanner/v1/instanceIamBinding.go | 13 + sdk/go/google/spanner/v1/instanceIamMember.go | 13 + sdk/go/google/spanner/v1/instanceIamPolicy.go | 13 + sdk/go/google/spanner/v1/pulumiEnums.go | 73 + sdk/go/google/spanner/v1/pulumiTypes.go | 193 + sdk/go/google/spanner/v1/session.go | 13 + sdk/go/google/speech/v1/customClass.go | 13 + sdk/go/google/speech/v1/getCustomClass.go | 7 + sdk/go/google/speech/v1/getPhraseSet.go | 7 + sdk/go/google/speech/v1/phraseSet.go | 13 + sdk/go/google/speech/v1/pulumiTypes.go | 73 + sdk/go/google/sqladmin/v1/backupRun.go | 13 + sdk/go/google/sqladmin/v1/database.go | 13 + sdk/go/google/sqladmin/v1/getBackupRun.go | 7 + sdk/go/google/sqladmin/v1/getDatabase.go | 7 + sdk/go/google/sqladmin/v1/getInstance.go | 7 + sdk/go/google/sqladmin/v1/getSslCert.go | 7 + sdk/go/google/sqladmin/v1/getUser.go | 7 + sdk/go/google/sqladmin/v1/instance.go | 13 + sdk/go/google/sqladmin/v1/pulumiEnums.go | 373 + sdk/go/google/sqladmin/v1/pulumiTypes.go | 901 ++ sdk/go/google/sqladmin/v1/sslCert.go | 13 + sdk/go/google/sqladmin/v1/user.go | 13 + sdk/go/google/sqladmin/v1beta4/backupRun.go | 13 + sdk/go/google/sqladmin/v1beta4/database.go | 13 + .../google/sqladmin/v1beta4/getBackupRun.go | 7 + sdk/go/google/sqladmin/v1beta4/getDatabase.go | 7 + sdk/go/google/sqladmin/v1beta4/getInstance.go | 7 + sdk/go/google/sqladmin/v1beta4/getSslCert.go | 7 + sdk/go/google/sqladmin/v1beta4/getUser.go | 7 + sdk/go/google/sqladmin/v1beta4/instance.go | 13 + sdk/go/google/sqladmin/v1beta4/pulumiEnums.go | 373 + sdk/go/google/sqladmin/v1beta4/pulumiTypes.go | 901 ++ sdk/go/google/sqladmin/v1beta4/sslCert.go | 13 + sdk/go/google/sqladmin/v1beta4/user.go | 13 + sdk/go/google/storage/v1/bucket.go | 13 + .../google/storage/v1/bucketAccessControl.go | 13 + sdk/go/google/storage/v1/bucketIamBinding.go | 13 + sdk/go/google/storage/v1/bucketIamMember.go | 13 + sdk/go/google/storage/v1/bucketIamPolicy.go | 13 + sdk/go/google/storage/v1/bucketObject.go | 13 + .../storage/v1/defaultObjectAccessControl.go | 13 + sdk/go/google/storage/v1/getBucket.go | 7 + .../storage/v1/getBucketAccessControl.go | 7 + .../google/storage/v1/getBucketIamPolicy.go | 7 + sdk/go/google/storage/v1/getBucketObject.go | 7 + .../v1/getDefaultObjectAccessControl.go | 7 + sdk/go/google/storage/v1/getHmacKey.go | 7 + sdk/go/google/storage/v1/getNotification.go | 7 + .../storage/v1/getObjectAccessControl.go | 7 + .../google/storage/v1/getObjectIamPolicy.go | 7 + sdk/go/google/storage/v1/hmacKey.go | 13 + sdk/go/google/storage/v1/notification.go | 13 + .../google/storage/v1/objectAccessControl.go | 13 + sdk/go/google/storage/v1/objectIamBinding.go | 13 + sdk/go/google/storage/v1/objectIamMember.go | 13 + sdk/go/google/storage/v1/objectIamPolicy.go | 13 + sdk/go/google/storage/v1/pulumiTypes.go | 847 ++ sdk/go/google/storagetransfer/v1/agentPool.go | 13 + .../google/storagetransfer/v1/getAgentPool.go | 7 + .../storagetransfer/v1/getTransferJob.go | 7 + .../google/storagetransfer/v1/pulumiEnums.go | 379 + .../google/storagetransfer/v1/pulumiTypes.go | 631 ++ .../google/storagetransfer/v1/transferJob.go | 13 + sdk/go/google/testing/v1/getTestMatrix.go | 7 + sdk/go/google/testing/v1/pulumiEnums.go | 55 + sdk/go/google/testing/v1/pulumiTypes.go | 1243 +++ sdk/go/google/testing/v1/testMatrix.go | 13 + .../google/toolresults/v1beta3/execution.go | 13 + .../toolresults/v1beta3/getExecution.go | 7 + .../google/toolresults/v1beta3/getHistory.go | 7 + .../v1beta3/getPerfSampleSeries.go | 7 + sdk/go/google/toolresults/v1beta3/getStep.go | 7 + sdk/go/google/toolresults/v1beta3/history.go | 13 + .../toolresults/v1beta3/perfSampleSeries.go | 13 + .../google/toolresults/v1beta3/pulumiEnums.go | 217 + .../google/toolresults/v1beta3/pulumiTypes.go | 1171 +++ sdk/go/google/toolresults/v1beta3/step.go | 13 + sdk/go/google/tpu/v1/getNode.go | 7 + sdk/go/google/tpu/v1/node.go | 13 + sdk/go/google/tpu/v1/pulumiEnums.go | 19 + sdk/go/google/tpu/v1/pulumiTypes.go | 55 + sdk/go/google/tpu/v1alpha1/getNode.go | 7 + sdk/go/google/tpu/v1alpha1/node.go | 13 + sdk/go/google/tpu/v1alpha1/pulumiEnums.go | 19 + sdk/go/google/tpu/v1alpha1/pulumiTypes.go | 55 + sdk/go/google/tpu/v2/getNode.go | 7 + sdk/go/google/tpu/v2/node.go | 13 + sdk/go/google/tpu/v2/pulumiEnums.go | 55 + sdk/go/google/tpu/v2/pulumiTypes.go | 217 + sdk/go/google/tpu/v2alpha1/getNode.go | 7 + .../google/tpu/v2alpha1/getQueuedResource.go | 7 + sdk/go/google/tpu/v2alpha1/node.go | 13 + sdk/go/google/tpu/v2alpha1/pulumiEnums.go | 55 + sdk/go/google/tpu/v2alpha1/pulumiTypes.go | 481 + sdk/go/google/tpu/v2alpha1/queuedResource.go | 13 + sdk/go/google/transcoder/v1/getJob.go | 7 + sdk/go/google/transcoder/v1/getJobTemplate.go | 7 + sdk/go/google/transcoder/v1/job.go | 13 + sdk/go/google/transcoder/v1/jobTemplate.go | 13 + sdk/go/google/transcoder/v1/pulumiEnums.go | 55 + sdk/go/google/transcoder/v1/pulumiTypes.go | 1153 +++ sdk/go/google/translate/v3/dataset.go | 13 + sdk/go/google/translate/v3/getDataset.go | 7 + sdk/go/google/translate/v3/getGlossary.go | 7 + .../google/translate/v3/getGlossaryEntry.go | 7 + sdk/go/google/translate/v3/getModel.go | 7 + sdk/go/google/translate/v3/glossary.go | 13 + sdk/go/google/translate/v3/glossaryEntry.go | 13 + sdk/go/google/translate/v3/model.go | 13 + sdk/go/google/translate/v3/pulumiTypes.go | 205 + .../google/translate/v3beta1/getGlossary.go | 7 + sdk/go/google/translate/v3beta1/glossary.go | 13 + .../google/translate/v3beta1/pulumiTypes.go | 97 + sdk/go/google/vision/v1/getProduct.go | 7 + sdk/go/google/vision/v1/getProductSet.go | 7 + sdk/go/google/vision/v1/getReferenceImage.go | 7 + sdk/go/google/vision/v1/product.go | 13 + sdk/go/google/vision/v1/productSet.go | 13 + sdk/go/google/vision/v1/pulumiTypes.go | 151 + sdk/go/google/vision/v1/referenceImage.go | 13 + sdk/go/google/vmmigration/v1/cloneJob.go | 13 + sdk/go/google/vmmigration/v1/cutoverJob.go | 13 + .../vmmigration/v1/datacenterConnector.go | 13 + sdk/go/google/vmmigration/v1/getCloneJob.go | 7 + sdk/go/google/vmmigration/v1/getCutoverJob.go | 7 + .../vmmigration/v1/getDatacenterConnector.go | 7 + sdk/go/google/vmmigration/v1/getGroup.go | 7 + .../google/vmmigration/v1/getMigratingVm.go | 7 + sdk/go/google/vmmigration/v1/getSource.go | 7 + .../google/vmmigration/v1/getTargetProject.go | 7 + .../vmmigration/v1/getUtilizationReport.go | 7 + sdk/go/google/vmmigration/v1/group.go | 13 + sdk/go/google/vmmigration/v1/migratingVm.go | 13 + sdk/go/google/vmmigration/v1/pulumiEnums.go | 127 + sdk/go/google/vmmigration/v1/pulumiTypes.go | 577 ++ sdk/go/google/vmmigration/v1/source.go | 13 + sdk/go/google/vmmigration/v1/targetProject.go | 13 + .../vmmigration/v1/utilizationReport.go | 13 + .../google/vmmigration/v1alpha1/cloneJob.go | 13 + .../google/vmmigration/v1alpha1/cutoverJob.go | 13 + .../v1alpha1/datacenterConnector.go | 13 + .../vmmigration/v1alpha1/getCloneJob.go | 7 + .../vmmigration/v1alpha1/getCutoverJob.go | 7 + .../v1alpha1/getDatacenterConnector.go | 7 + .../google/vmmigration/v1alpha1/getGroup.go | 7 + .../vmmigration/v1alpha1/getMigratingVm.go | 7 + .../google/vmmigration/v1alpha1/getSource.go | 7 + .../vmmigration/v1alpha1/getTargetProject.go | 7 + .../v1alpha1/getUtilizationReport.go | 7 + sdk/go/google/vmmigration/v1alpha1/group.go | 13 + .../vmmigration/v1alpha1/migratingVm.go | 13 + .../vmmigration/v1alpha1/pulumiEnums.go | 163 + .../vmmigration/v1alpha1/pulumiTypes.go | 607 ++ sdk/go/google/vmmigration/v1alpha1/source.go | 13 + .../vmmigration/v1alpha1/targetProject.go | 13 + .../vmmigration/v1alpha1/utilizationReport.go | 13 + sdk/go/google/vpcaccess/v1/connector.go | 13 + sdk/go/google/vpcaccess/v1/getConnector.go | 7 + sdk/go/google/vpcaccess/v1/pulumiTypes.go | 31 + sdk/go/google/vpcaccess/v1beta1/connector.go | 13 + .../google/vpcaccess/v1beta1/getConnector.go | 7 + .../google/vpcaccess/v1beta1/pulumiTypes.go | 31 + .../websecurityscanner/v1/getScanConfig.go | 7 + .../websecurityscanner/v1/pulumiEnums.go | 55 + .../websecurityscanner/v1/pulumiTypes.go | 181 + .../websecurityscanner/v1/scanConfig.go | 13 + .../v1alpha/getScanConfig.go | 7 + .../websecurityscanner/v1alpha/pulumiEnums.go | 85 + .../websecurityscanner/v1alpha/pulumiTypes.go | 151 + .../websecurityscanner/v1alpha/scanConfig.go | 13 + .../v1beta/getScanConfig.go | 7 + .../websecurityscanner/v1beta/pulumiEnums.go | 175 + .../websecurityscanner/v1beta/pulumiTypes.go | 307 + .../websecurityscanner/v1beta/scanConfig.go | 13 + .../google/workflowexecutions/v1/execution.go | 13 + .../workflowexecutions/v1/getExecution.go | 7 + .../workflowexecutions/v1/pulumiEnums.go | 19 + .../workflowexecutions/v1/pulumiTypes.go | 55 + .../workflowexecutions/v1beta/execution.go | 13 + .../workflowexecutions/v1beta/getExecution.go | 7 + .../workflowexecutions/v1beta/pulumiEnums.go | 19 + .../workflowexecutions/v1beta/pulumiTypes.go | 49 + sdk/go/google/workflows/v1/getWorkflow.go | 7 + sdk/go/google/workflows/v1/pulumiEnums.go | 19 + sdk/go/google/workflows/v1/pulumiTypes.go | 7 + sdk/go/google/workflows/v1/workflow.go | 13 + sdk/go/google/workflows/v1beta/getWorkflow.go | 7 + sdk/go/google/workflows/v1beta/workflow.go | 13 + .../google/workloadmanager/v1/evaluation.go | 13 + .../workloadmanager/v1/getEvaluation.go | 7 + .../google/workloadmanager/v1/pulumiTypes.go | 67 + .../workstations/v1beta/getWorkstation.go | 7 + .../v1beta/getWorkstationCluster.go | 7 + ...tationClusterWorkstationConfigIamPolicy.go | 7 + ...erWorkstationConfigWorkstationIamPolicy.go | 7 + .../v1beta/getWorkstationConfig.go | 7 + .../google/workstations/v1beta/pulumiEnums.go | 37 + .../google/workstations/v1beta/pulumiTypes.go | 499 ++ .../google/workstations/v1beta/workstation.go | 13 + .../workstations/v1beta/workstationCluster.go | 13 + ...ationClusterWorkstationConfigIamBinding.go | 13 + ...tationClusterWorkstationConfigIamMember.go | 13 + ...tationClusterWorkstationConfigIamPolicy.go | 13 + ...rWorkstationConfigWorkstationIamBinding.go | 13 + ...erWorkstationConfigWorkstationIamMember.go | 13 + ...erWorkstationConfigWorkstationIamPolicy.go | 13 + .../workstations/v1beta/workstationConfig.go | 13 + 3790 files changed, 226798 insertions(+), 13 deletions(-) diff --git a/sdk/go.mod b/sdk/go.mod index eb9904a2e8..a049729f72 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,5 +4,5 @@ go 1.16 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.75.0 + github.com/pulumi/pulumi/sdk/v3 v3.81.0 ) diff --git a/sdk/go.sum b/sdk/go.sum index 915c60b07d..cdb8181e2e 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -629,6 +629,10 @@ github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6 github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= +github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= +github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= +github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= @@ -641,6 +645,14 @@ github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91 github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= +github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= +github.com/charmbracelet/bubbletea v0.24.1/go.mod h1:rK3g/2+T8vOSEkNHvtq40umJpeVYDn6bLaqbgzhL/hg= +github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06RaW2cx/SY= +github.com/charmbracelet/bubbletea v0.24.2/go.mod h1:XdrNrV4J8GiyshTtx3DNuYkR1FDaJmO3l2nejekbsgg= +github.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao= +github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= +github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= @@ -662,7 +674,10 @@ github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -672,6 +687,7 @@ github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= @@ -684,10 +700,12 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.m github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= +github.com/envoyproxy/go-control-plane v0.11.0/go.mod h1:VnHyVMpzcLvCFt9yUz1UnCwHLhwx1WguiVDV7pTG/tI= github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f/go.mod h1:sfYdkwUW4BA3PbKjySwjJy+O4Pu0h62rlqCMHNk+K+Q= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= +github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= @@ -873,6 +891,9 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= +github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= @@ -886,11 +907,17 @@ github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= +github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= +github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= +github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= +github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= @@ -899,6 +926,14 @@ github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzCv8LZP15IdmG+YdwD2luVPHITV96TkirNBM= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= +github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= +github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= +github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= +github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= +github.com/muesli/termenv v0.15.1 h1:UzuTb/+hhlBugQz28rpzey4ZuKcZ03MeKsoG7IJZIxs= +github.com/muesli/termenv v0.15.1/go.mod h1:HeAQPTzpfs016yGtA4g00CsdYnVLJvxsS4ANqrZs2sQ= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/opentracing/basictracer-go v1.1.0 h1:Oa1fTSBvAl8pa3U+IJYqrKm0NALwH9OsgwOqDv4xJW0= @@ -925,9 +960,10 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= -github.com/pulumi/pulumi/sdk/v3 v3.75.0 h1:+5V5UOwgHKAaqSD8DKhuTU+RTObqkH3yp/p2EJQYYQk= -github.com/pulumi/pulumi/sdk/v3 v3.75.0/go.mod h1:HiE9Wf+DVrg8Em1D6bxRCdDMsNkj8//vLCST73xH2Hc= +github.com/pulumi/pulumi/sdk/v3 v3.81.0 h1:d711GUpjZK1beNpIKFReC1LBmHXYE684sYWntJWQ4Q0= +github.com/pulumi/pulumi/sdk/v3 v3.81.0/go.mod h1:RMilNNVMlmK1h4Nl/qylb9vzbgh4F3mufZoUOnPy98o= github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= @@ -941,6 +977,7 @@ github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfF github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= +github.com/sahilm/fuzzy v0.1.0/go.mod h1:VFvziUEIMCrT6A6tw2RFIXPXXmzXbOsSHF0DOI8ZK9Y= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= @@ -1153,8 +1190,9 @@ golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.9.0 h1:aWJ/m6xSmxWBx+V0XRHTlrYrPG56jKsLdTFmsSsCzOM= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= +golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1199,6 +1237,7 @@ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1264,6 +1303,7 @@ golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1286,8 +1326,9 @@ golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -1297,8 +1338,9 @@ golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.7.0 h1:BEvjmm5fURWqcfbSKTdpkDXYBrUS1c0m8agp14W48vQ= golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= +golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1598,8 +1640,18 @@ google.golang.org/genproto v0.0.0-20230320184635-7606e756e683/go.mod h1:NWraEVix google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= +google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= +google.golang.org/genproto v0.0.0-20230629202037-9506855d4529 h1:9JucMWR7sPvCxUFd6UsOUNmA5kCcWOfORaT3tpAsKQs= +google.golang.org/genproto v0.0.0-20230629202037-9506855d4529/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= @@ -1637,11 +1689,13 @@ google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCD google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= +google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= -google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ= -google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= +google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= +google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -1659,8 +1713,9 @@ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/sdk/go/google/accesscontextmanager/v1/accessLevel.go b/sdk/go/google/accesscontextmanager/v1/accessLevel.go index cdd4beae86..a94c881e4d 100644 --- a/sdk/go/google/accesscontextmanager/v1/accessLevel.go +++ b/sdk/go/google/accesscontextmanager/v1/accessLevel.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an access level. The long-running operation from this RPC has a successful status after the access level propagates to long-lasting storage. If access levels contain errors, an error response is returned for the first error encountered. @@ -127,6 +128,12 @@ func (i *AccessLevel) ToAccessLevelOutputWithContext(ctx context.Context) Access return pulumi.ToOutputWithContext(ctx, i).(AccessLevelOutput) } +func (i *AccessLevel) ToOutput(ctx context.Context) pulumix.Output[*AccessLevel] { + return pulumix.Output[*AccessLevel]{ + OutputState: i.ToAccessLevelOutputWithContext(ctx).OutputState, + } +} + type AccessLevelOutput struct{ *pulumi.OutputState } func (AccessLevelOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o AccessLevelOutput) ToAccessLevelOutputWithContext(ctx context.Context) A return o } +func (o AccessLevelOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessLevel] { + return pulumix.Output[*AccessLevel]{ + OutputState: o.OutputState, + } +} + func (o AccessLevelOutput) AccessPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *AccessLevel) pulumi.StringOutput { return v.AccessPolicyId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/accesscontextmanager/v1/accessPolicy.go b/sdk/go/google/accesscontextmanager/v1/accessPolicy.go index b5d83c6178..104b96ce19 100644 --- a/sdk/go/google/accesscontextmanager/v1/accessPolicy.go +++ b/sdk/go/google/accesscontextmanager/v1/accessPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an access policy. This method fails if the organization already has an access policy. The long-running operation has a successful status after the access policy propagates to long-lasting storage. Syntactic and basic semantic errors are returned in `metadata` as a BadRequest proto. @@ -116,6 +117,12 @@ func (i *AccessPolicy) ToAccessPolicyOutputWithContext(ctx context.Context) Acce return pulumi.ToOutputWithContext(ctx, i).(AccessPolicyOutput) } +func (i *AccessPolicy) ToOutput(ctx context.Context) pulumix.Output[*AccessPolicy] { + return pulumix.Output[*AccessPolicy]{ + OutputState: i.ToAccessPolicyOutputWithContext(ctx).OutputState, + } +} + type AccessPolicyOutput struct{ *pulumi.OutputState } func (AccessPolicyOutput) ElementType() reflect.Type { @@ -130,6 +137,12 @@ func (o AccessPolicyOutput) ToAccessPolicyOutputWithContext(ctx context.Context) return o } +func (o AccessPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessPolicy] { + return pulumix.Output[*AccessPolicy]{ + OutputState: o.OutputState, + } +} + // An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Polices will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. func (o AccessPolicyOutput) Etag() pulumi.StringOutput { return o.ApplyT(func(v *AccessPolicy) pulumi.StringOutput { return v.Etag }).(pulumi.StringOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/accessPolicyIamBinding.go b/sdk/go/google/accesscontextmanager/v1/accessPolicyIamBinding.go index d943b11f07..b0bff840df 100644 --- a/sdk/go/google/accesscontextmanager/v1/accessPolicyIamBinding.go +++ b/sdk/go/google/accesscontextmanager/v1/accessPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for the specified Access Context Manager access policy. This method replaces the existing IAM policy on the access policy. The IAM policy controls the set of users who can perform specific operations on the Access Context Manager access policy. @@ -135,6 +136,12 @@ func (i *AccessPolicyIamBinding) ToAccessPolicyIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AccessPolicyIamBindingOutput) } +func (i *AccessPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AccessPolicyIamBinding] { + return pulumix.Output[*AccessPolicyIamBinding]{ + OutputState: i.ToAccessPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type AccessPolicyIamBindingOutput struct{ *pulumi.OutputState } func (AccessPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AccessPolicyIamBindingOutput) ToAccessPolicyIamBindingOutputWithContext( return o } +func (o AccessPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessPolicyIamBinding] { + return pulumix.Output[*AccessPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AccessPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AccessPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/accessPolicyIamMember.go b/sdk/go/google/accesscontextmanager/v1/accessPolicyIamMember.go index 9e4b22c829..05ec3b5ec7 100644 --- a/sdk/go/google/accesscontextmanager/v1/accessPolicyIamMember.go +++ b/sdk/go/google/accesscontextmanager/v1/accessPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for the specified Access Context Manager access policy. This method replaces the existing IAM policy on the access policy. The IAM policy controls the set of users who can perform specific operations on the Access Context Manager access policy. @@ -135,6 +136,12 @@ func (i *AccessPolicyIamMember) ToAccessPolicyIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AccessPolicyIamMemberOutput) } +func (i *AccessPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*AccessPolicyIamMember] { + return pulumix.Output[*AccessPolicyIamMember]{ + OutputState: i.ToAccessPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type AccessPolicyIamMemberOutput struct{ *pulumi.OutputState } func (AccessPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AccessPolicyIamMemberOutput) ToAccessPolicyIamMemberOutputWithContext(ct return o } +func (o AccessPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessPolicyIamMember] { + return pulumix.Output[*AccessPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AccessPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AccessPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/accessPolicyIamPolicy.go b/sdk/go/google/accesscontextmanager/v1/accessPolicyIamPolicy.go index fb5397903f..8191cbfd5f 100644 --- a/sdk/go/google/accesscontextmanager/v1/accessPolicyIamPolicy.go +++ b/sdk/go/google/accesscontextmanager/v1/accessPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for the specified Access Context Manager access policy. This method replaces the existing IAM policy on the access policy. The IAM policy controls the set of users who can perform specific operations on the Access Context Manager access policy. @@ -127,6 +128,12 @@ func (i *AccessPolicyIamPolicy) ToAccessPolicyIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AccessPolicyIamPolicyOutput) } +func (i *AccessPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AccessPolicyIamPolicy] { + return pulumix.Output[*AccessPolicyIamPolicy]{ + OutputState: i.ToAccessPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AccessPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (AccessPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o AccessPolicyIamPolicyOutput) ToAccessPolicyIamPolicyOutputWithContext(ct return o } +func (o AccessPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessPolicyIamPolicy] { + return pulumix.Output[*AccessPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AccessPolicyIamPolicyOutput) AccessPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *AccessPolicyIamPolicy) pulumi.StringOutput { return v.AccessPolicyId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/accesscontextmanager/v1/authorizedOrgsDesc.go b/sdk/go/google/accesscontextmanager/v1/authorizedOrgsDesc.go index 5de9ff0df1..90f3f8a58b 100644 --- a/sdk/go/google/accesscontextmanager/v1/authorizedOrgsDesc.go +++ b/sdk/go/google/accesscontextmanager/v1/authorizedOrgsDesc.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. The name of this `AuthorizedOrgsDesc` will be assigned during creation. @@ -127,6 +128,12 @@ func (i *AuthorizedOrgsDesc) ToAuthorizedOrgsDescOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AuthorizedOrgsDescOutput) } +func (i *AuthorizedOrgsDesc) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedOrgsDesc] { + return pulumix.Output[*AuthorizedOrgsDesc]{ + OutputState: i.ToAuthorizedOrgsDescOutputWithContext(ctx).OutputState, + } +} + type AuthorizedOrgsDescOutput struct{ *pulumi.OutputState } func (AuthorizedOrgsDescOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o AuthorizedOrgsDescOutput) ToAuthorizedOrgsDescOutputWithContext(ctx cont return o } +func (o AuthorizedOrgsDescOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedOrgsDesc] { + return pulumix.Output[*AuthorizedOrgsDesc]{ + OutputState: o.OutputState, + } +} + func (o AuthorizedOrgsDescOutput) AccessPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *AuthorizedOrgsDesc) pulumi.StringOutput { return v.AccessPolicyId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/accesscontextmanager/v1/gcpUserAccessBinding.go b/sdk/go/google/accesscontextmanager/v1/gcpUserAccessBinding.go index 353b88cbb6..d7a6bde409 100644 --- a/sdk/go/google/accesscontextmanager/v1/gcpUserAccessBinding.go +++ b/sdk/go/google/accesscontextmanager/v1/gcpUserAccessBinding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a GcpUserAccessBinding. If the client specifies a name, the server ignores it. Fails if a resource already exists with the same group_key. Completion of this long-running operation does not necessarily signify that the new binding is deployed onto all affected users, which may take more time. @@ -124,6 +125,12 @@ func (i *GcpUserAccessBinding) ToGcpUserAccessBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GcpUserAccessBindingOutput) } +func (i *GcpUserAccessBinding) ToOutput(ctx context.Context) pulumix.Output[*GcpUserAccessBinding] { + return pulumix.Output[*GcpUserAccessBinding]{ + OutputState: i.ToGcpUserAccessBindingOutputWithContext(ctx).OutputState, + } +} + type GcpUserAccessBindingOutput struct{ *pulumi.OutputState } func (GcpUserAccessBindingOutput) ElementType() reflect.Type { @@ -138,6 +145,12 @@ func (o GcpUserAccessBindingOutput) ToGcpUserAccessBindingOutputWithContext(ctx return o } +func (o GcpUserAccessBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*GcpUserAccessBinding] { + return pulumix.Output[*GcpUserAccessBinding]{ + OutputState: o.OutputState, + } +} + // Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" func (o GcpUserAccessBindingOutput) AccessLevels() pulumi.StringArrayOutput { return o.ApplyT(func(v *GcpUserAccessBinding) pulumi.StringArrayOutput { return v.AccessLevels }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/getAccessLevel.go b/sdk/go/google/accesscontextmanager/v1/getAccessLevel.go index 7a91a9f446..a068780922 100644 --- a/sdk/go/google/accesscontextmanager/v1/getAccessLevel.go +++ b/sdk/go/google/accesscontextmanager/v1/getAccessLevel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an access level based on the resource name. @@ -78,6 +79,12 @@ func (o LookupAccessLevelResultOutput) ToLookupAccessLevelResultOutputWithContex return o } +func (o LookupAccessLevelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAccessLevelResult] { + return pulumix.Output[LookupAccessLevelResult]{ + OutputState: o.OutputState, + } +} + // A `BasicLevel` composed of `Conditions`. func (o LookupAccessLevelResultOutput) Basic() BasicLevelResponseOutput { return o.ApplyT(func(v LookupAccessLevelResult) BasicLevelResponse { return v.Basic }).(BasicLevelResponseOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/getAccessPolicy.go b/sdk/go/google/accesscontextmanager/v1/getAccessPolicy.go index 4041c10ce2..7ee6b87129 100644 --- a/sdk/go/google/accesscontextmanager/v1/getAccessPolicy.go +++ b/sdk/go/google/accesscontextmanager/v1/getAccessPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns an access policy based on the name. @@ -74,6 +75,12 @@ func (o LookupAccessPolicyResultOutput) ToLookupAccessPolicyResultOutputWithCont return o } +func (o LookupAccessPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAccessPolicyResult] { + return pulumix.Output[LookupAccessPolicyResult]{ + OutputState: o.OutputState, + } +} + // An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Polices will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format. func (o LookupAccessPolicyResultOutput) Etag() pulumi.StringOutput { return o.ApplyT(func(v LookupAccessPolicyResult) string { return v.Etag }).(pulumi.StringOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/getAccessPolicyIamPolicy.go b/sdk/go/google/accesscontextmanager/v1/getAccessPolicyIamPolicy.go index 338c1c656d..390af99e4d 100644 --- a/sdk/go/google/accesscontextmanager/v1/getAccessPolicyIamPolicy.go +++ b/sdk/go/google/accesscontextmanager/v1/getAccessPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy for the specified Access Context Manager access policy. @@ -72,6 +73,12 @@ func (o LookupAccessPolicyIamPolicyResultOutput) ToLookupAccessPolicyIamPolicyRe return o } +func (o LookupAccessPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAccessPolicyIamPolicyResult] { + return pulumix.Output[LookupAccessPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAccessPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAccessPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/getAuthorizedOrgsDesc.go b/sdk/go/google/accesscontextmanager/v1/getAuthorizedOrgsDesc.go index 75c083b9f4..b9debf9a38 100644 --- a/sdk/go/google/accesscontextmanager/v1/getAuthorizedOrgsDesc.go +++ b/sdk/go/google/accesscontextmanager/v1/getAuthorizedOrgsDesc.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an authorized orgs desc based on the resource name. @@ -76,6 +77,12 @@ func (o LookupAuthorizedOrgsDescResultOutput) ToLookupAuthorizedOrgsDescResultOu return o } +func (o LookupAuthorizedOrgsDescResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthorizedOrgsDescResult] { + return pulumix.Output[LookupAuthorizedOrgsDescResult]{ + OutputState: o.OutputState, + } +} + // The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE`, and `ASSET_TYPE_CREDENTIAL_STRENGTH`. func (o LookupAuthorizedOrgsDescResultOutput) AssetType() pulumi.StringOutput { return o.ApplyT(func(v LookupAuthorizedOrgsDescResult) string { return v.AssetType }).(pulumi.StringOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/getGcpUserAccessBinding.go b/sdk/go/google/accesscontextmanager/v1/getGcpUserAccessBinding.go index 37449f0dc9..7f887ffb7a 100644 --- a/sdk/go/google/accesscontextmanager/v1/getGcpUserAccessBinding.go +++ b/sdk/go/google/accesscontextmanager/v1/getGcpUserAccessBinding.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the GcpUserAccessBinding with the given name. @@ -74,6 +75,12 @@ func (o LookupGcpUserAccessBindingResultOutput) ToLookupGcpUserAccessBindingResu return o } +func (o LookupGcpUserAccessBindingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGcpUserAccessBindingResult] { + return pulumix.Output[LookupGcpUserAccessBindingResult]{ + OutputState: o.OutputState, + } +} + // Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: "accessPolicies/9522/accessLevels/device_trusted" func (o LookupGcpUserAccessBindingResultOutput) AccessLevels() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupGcpUserAccessBindingResult) []string { return v.AccessLevels }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/getServicePerimeter.go b/sdk/go/google/accesscontextmanager/v1/getServicePerimeter.go index 0a1de42631..d04e79e59e 100644 --- a/sdk/go/google/accesscontextmanager/v1/getServicePerimeter.go +++ b/sdk/go/google/accesscontextmanager/v1/getServicePerimeter.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a service perimeter based on the resource name. @@ -80,6 +81,12 @@ func (o LookupServicePerimeterResultOutput) ToLookupServicePerimeterResultOutput return o } +func (o LookupServicePerimeterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServicePerimeterResult] { + return pulumix.Output[LookupServicePerimeterResult]{ + OutputState: o.OutputState, + } +} + // Description of the `ServicePerimeter` and its use. Does not affect behavior. func (o LookupServicePerimeterResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupServicePerimeterResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/pulumiEnums.go b/sdk/go/google/accesscontextmanager/v1/pulumiEnums.go index a411b06cc2..6f7b78fa68 100644 --- a/sdk/go/google/accesscontextmanager/v1/pulumiEnums.go +++ b/sdk/go/google/accesscontextmanager/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The asset type of this authorized orgs desc. Valid values are `ASSET_TYPE_DEVICE`, and `ASSET_TYPE_CREDENTIAL_STRENGTH`. type AuthorizedOrgsDescAssetType string @@ -253,6 +272,12 @@ func (o AuthorizedOrgsDescAssetTypeOutput) ToAuthorizedOrgsDescAssetTypePtrOutpu }).(AuthorizedOrgsDescAssetTypePtrOutput) } +func (o AuthorizedOrgsDescAssetTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizedOrgsDescAssetType] { + return pulumix.Output[AuthorizedOrgsDescAssetType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizedOrgsDescAssetTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o AuthorizedOrgsDescAssetTypePtrOutput) ToAuthorizedOrgsDescAssetTypePtrOu return o } +func (o AuthorizedOrgsDescAssetTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedOrgsDescAssetType] { + return pulumix.Output[*AuthorizedOrgsDescAssetType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizedOrgsDescAssetTypePtrOutput) Elem() AuthorizedOrgsDescAssetTypeOutput { return o.ApplyT(func(v *AuthorizedOrgsDescAssetType) AuthorizedOrgsDescAssetType { if v != nil { @@ -350,6 +381,12 @@ func (in *authorizedOrgsDescAssetTypePtr) ToAuthorizedOrgsDescAssetTypePtrOutput return pulumi.ToOutputWithContext(ctx, in).(AuthorizedOrgsDescAssetTypePtrOutput) } +func (in *authorizedOrgsDescAssetTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedOrgsDescAssetType] { + return pulumix.Output[*AuthorizedOrgsDescAssetType]{ + OutputState: in.ToAuthorizedOrgsDescAssetTypePtrOutputWithContext(ctx).OutputState, + } +} + // The direction of the authorization relationship between this organization and the organizations listed in the `orgs` field. The valid values for this field include the following: `AUTHORIZATION_DIRECTION_FROM`: Allows this organization to evaluate traffic in the organizations listed in the `orgs` field. `AUTHORIZATION_DIRECTION_TO`: Allows the organizations listed in the `orgs` field to evaluate the traffic in this organization. For the authorization relationship to take effect, all of the organizations must authorize and specify the appropriate relationship direction. For example, if organization A authorized organization B and C to evaluate its traffic, by specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction, organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the authorization direction in their `AuthorizedOrgsDesc` resource. type AuthorizedOrgsDescAuthorizationDirection string @@ -422,6 +459,12 @@ func (o AuthorizedOrgsDescAuthorizationDirectionOutput) ToAuthorizedOrgsDescAuth }).(AuthorizedOrgsDescAuthorizationDirectionPtrOutput) } +func (o AuthorizedOrgsDescAuthorizationDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizedOrgsDescAuthorizationDirection] { + return pulumix.Output[AuthorizedOrgsDescAuthorizationDirection]{ + OutputState: o.OutputState, + } +} + func (o AuthorizedOrgsDescAuthorizationDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o AuthorizedOrgsDescAuthorizationDirectionPtrOutput) ToAuthorizedOrgsDescA return o } +func (o AuthorizedOrgsDescAuthorizationDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedOrgsDescAuthorizationDirection] { + return pulumix.Output[*AuthorizedOrgsDescAuthorizationDirection]{ + OutputState: o.OutputState, + } +} + func (o AuthorizedOrgsDescAuthorizationDirectionPtrOutput) Elem() AuthorizedOrgsDescAuthorizationDirectionOutput { return o.ApplyT(func(v *AuthorizedOrgsDescAuthorizationDirection) AuthorizedOrgsDescAuthorizationDirection { if v != nil { @@ -519,6 +568,12 @@ func (in *authorizedOrgsDescAuthorizationDirectionPtr) ToAuthorizedOrgsDescAutho return pulumi.ToOutputWithContext(ctx, in).(AuthorizedOrgsDescAuthorizationDirectionPtrOutput) } +func (in *authorizedOrgsDescAuthorizationDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedOrgsDescAuthorizationDirection] { + return pulumix.Output[*AuthorizedOrgsDescAuthorizationDirection]{ + OutputState: in.ToAuthorizedOrgsDescAuthorizationDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // A granular control type for authorization levels. Valid value is `AUTHORIZATION_TYPE_TRUST`. type AuthorizedOrgsDescAuthorizationType string @@ -589,6 +644,12 @@ func (o AuthorizedOrgsDescAuthorizationTypeOutput) ToAuthorizedOrgsDescAuthoriza }).(AuthorizedOrgsDescAuthorizationTypePtrOutput) } +func (o AuthorizedOrgsDescAuthorizationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizedOrgsDescAuthorizationType] { + return pulumix.Output[AuthorizedOrgsDescAuthorizationType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizedOrgsDescAuthorizationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -624,6 +685,12 @@ func (o AuthorizedOrgsDescAuthorizationTypePtrOutput) ToAuthorizedOrgsDescAuthor return o } +func (o AuthorizedOrgsDescAuthorizationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedOrgsDescAuthorizationType] { + return pulumix.Output[*AuthorizedOrgsDescAuthorizationType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizedOrgsDescAuthorizationTypePtrOutput) Elem() AuthorizedOrgsDescAuthorizationTypeOutput { return o.ApplyT(func(v *AuthorizedOrgsDescAuthorizationType) AuthorizedOrgsDescAuthorizationType { if v != nil { @@ -686,6 +753,12 @@ func (in *authorizedOrgsDescAuthorizationTypePtr) ToAuthorizedOrgsDescAuthorizat return pulumi.ToOutputWithContext(ctx, in).(AuthorizedOrgsDescAuthorizationTypePtrOutput) } +func (in *authorizedOrgsDescAuthorizationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedOrgsDescAuthorizationType] { + return pulumix.Output[*AuthorizedOrgsDescAuthorizationType]{ + OutputState: in.ToAuthorizedOrgsDescAuthorizationTypePtrOutputWithContext(ctx).OutputState, + } +} + // How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. type BasicLevelCombiningFunction string @@ -756,6 +829,12 @@ func (o BasicLevelCombiningFunctionOutput) ToBasicLevelCombiningFunctionPtrOutpu }).(BasicLevelCombiningFunctionPtrOutput) } +func (o BasicLevelCombiningFunctionOutput) ToOutput(ctx context.Context) pulumix.Output[BasicLevelCombiningFunction] { + return pulumix.Output[BasicLevelCombiningFunction]{ + OutputState: o.OutputState, + } +} + func (o BasicLevelCombiningFunctionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -791,6 +870,12 @@ func (o BasicLevelCombiningFunctionPtrOutput) ToBasicLevelCombiningFunctionPtrOu return o } +func (o BasicLevelCombiningFunctionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicLevelCombiningFunction] { + return pulumix.Output[*BasicLevelCombiningFunction]{ + OutputState: o.OutputState, + } +} + func (o BasicLevelCombiningFunctionPtrOutput) Elem() BasicLevelCombiningFunctionOutput { return o.ApplyT(func(v *BasicLevelCombiningFunction) BasicLevelCombiningFunction { if v != nil { @@ -853,6 +938,12 @@ func (in *basicLevelCombiningFunctionPtr) ToBasicLevelCombiningFunctionPtrOutput return pulumi.ToOutputWithContext(ctx, in).(BasicLevelCombiningFunctionPtrOutput) } +func (in *basicLevelCombiningFunctionPtr) ToOutput(ctx context.Context) pulumix.Output[*BasicLevelCombiningFunction] { + return pulumix.Output[*BasicLevelCombiningFunction]{ + OutputState: in.ToBasicLevelCombiningFunctionPtrOutputWithContext(ctx).OutputState, + } +} + type DevicePolicyAllowedDeviceManagementLevelsItem string const ( @@ -926,6 +1017,12 @@ func (o DevicePolicyAllowedDeviceManagementLevelsItemOutput) ToDevicePolicyAllow }).(DevicePolicyAllowedDeviceManagementLevelsItemPtrOutput) } +func (o DevicePolicyAllowedDeviceManagementLevelsItemOutput) ToOutput(ctx context.Context) pulumix.Output[DevicePolicyAllowedDeviceManagementLevelsItem] { + return pulumix.Output[DevicePolicyAllowedDeviceManagementLevelsItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedDeviceManagementLevelsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -961,6 +1058,12 @@ func (o DevicePolicyAllowedDeviceManagementLevelsItemPtrOutput) ToDevicePolicyAl return o } +func (o DevicePolicyAllowedDeviceManagementLevelsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicyAllowedDeviceManagementLevelsItem] { + return pulumix.Output[*DevicePolicyAllowedDeviceManagementLevelsItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedDeviceManagementLevelsItemPtrOutput) Elem() DevicePolicyAllowedDeviceManagementLevelsItemOutput { return o.ApplyT(func(v *DevicePolicyAllowedDeviceManagementLevelsItem) DevicePolicyAllowedDeviceManagementLevelsItem { if v != nil { @@ -1023,6 +1126,12 @@ func (in *devicePolicyAllowedDeviceManagementLevelsItemPtr) ToDevicePolicyAllowe return pulumi.ToOutputWithContext(ctx, in).(DevicePolicyAllowedDeviceManagementLevelsItemPtrOutput) } +func (in *devicePolicyAllowedDeviceManagementLevelsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicyAllowedDeviceManagementLevelsItem] { + return pulumix.Output[*DevicePolicyAllowedDeviceManagementLevelsItem]{ + OutputState: in.ToDevicePolicyAllowedDeviceManagementLevelsItemPtrOutputWithContext(ctx).OutputState, + } +} + // DevicePolicyAllowedDeviceManagementLevelsItemArrayInput is an input type that accepts DevicePolicyAllowedDeviceManagementLevelsItemArray and DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput values. // You can construct a concrete instance of `DevicePolicyAllowedDeviceManagementLevelsItemArrayInput` via: // @@ -1048,6 +1157,12 @@ func (i DevicePolicyAllowedDeviceManagementLevelsItemArray) ToDevicePolicyAllowe return pulumi.ToOutputWithContext(ctx, i).(DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput) } +func (i DevicePolicyAllowedDeviceManagementLevelsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]DevicePolicyAllowedDeviceManagementLevelsItem] { + return pulumix.Output[[]DevicePolicyAllowedDeviceManagementLevelsItem]{ + OutputState: i.ToDevicePolicyAllowedDeviceManagementLevelsItemArrayOutputWithContext(ctx).OutputState, + } +} + type DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput struct{ *pulumi.OutputState } func (DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput) ElementType() reflect.Type { @@ -1062,6 +1177,12 @@ func (o DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput) ToDevicePolicy return o } +func (o DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DevicePolicyAllowedDeviceManagementLevelsItem] { + return pulumix.Output[[]DevicePolicyAllowedDeviceManagementLevelsItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput) Index(i pulumi.IntInput) DevicePolicyAllowedDeviceManagementLevelsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DevicePolicyAllowedDeviceManagementLevelsItem { return vs[0].([]DevicePolicyAllowedDeviceManagementLevelsItem)[vs[1].(int)] @@ -1141,6 +1262,12 @@ func (o DevicePolicyAllowedEncryptionStatusesItemOutput) ToDevicePolicyAllowedEn }).(DevicePolicyAllowedEncryptionStatusesItemPtrOutput) } +func (o DevicePolicyAllowedEncryptionStatusesItemOutput) ToOutput(ctx context.Context) pulumix.Output[DevicePolicyAllowedEncryptionStatusesItem] { + return pulumix.Output[DevicePolicyAllowedEncryptionStatusesItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedEncryptionStatusesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1176,6 +1303,12 @@ func (o DevicePolicyAllowedEncryptionStatusesItemPtrOutput) ToDevicePolicyAllowe return o } +func (o DevicePolicyAllowedEncryptionStatusesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicyAllowedEncryptionStatusesItem] { + return pulumix.Output[*DevicePolicyAllowedEncryptionStatusesItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedEncryptionStatusesItemPtrOutput) Elem() DevicePolicyAllowedEncryptionStatusesItemOutput { return o.ApplyT(func(v *DevicePolicyAllowedEncryptionStatusesItem) DevicePolicyAllowedEncryptionStatusesItem { if v != nil { @@ -1238,6 +1371,12 @@ func (in *devicePolicyAllowedEncryptionStatusesItemPtr) ToDevicePolicyAllowedEnc return pulumi.ToOutputWithContext(ctx, in).(DevicePolicyAllowedEncryptionStatusesItemPtrOutput) } +func (in *devicePolicyAllowedEncryptionStatusesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicyAllowedEncryptionStatusesItem] { + return pulumix.Output[*DevicePolicyAllowedEncryptionStatusesItem]{ + OutputState: in.ToDevicePolicyAllowedEncryptionStatusesItemPtrOutputWithContext(ctx).OutputState, + } +} + // DevicePolicyAllowedEncryptionStatusesItemArrayInput is an input type that accepts DevicePolicyAllowedEncryptionStatusesItemArray and DevicePolicyAllowedEncryptionStatusesItemArrayOutput values. // You can construct a concrete instance of `DevicePolicyAllowedEncryptionStatusesItemArrayInput` via: // @@ -1263,6 +1402,12 @@ func (i DevicePolicyAllowedEncryptionStatusesItemArray) ToDevicePolicyAllowedEnc return pulumi.ToOutputWithContext(ctx, i).(DevicePolicyAllowedEncryptionStatusesItemArrayOutput) } +func (i DevicePolicyAllowedEncryptionStatusesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]DevicePolicyAllowedEncryptionStatusesItem] { + return pulumix.Output[[]DevicePolicyAllowedEncryptionStatusesItem]{ + OutputState: i.ToDevicePolicyAllowedEncryptionStatusesItemArrayOutputWithContext(ctx).OutputState, + } +} + type DevicePolicyAllowedEncryptionStatusesItemArrayOutput struct{ *pulumi.OutputState } func (DevicePolicyAllowedEncryptionStatusesItemArrayOutput) ElementType() reflect.Type { @@ -1277,6 +1422,12 @@ func (o DevicePolicyAllowedEncryptionStatusesItemArrayOutput) ToDevicePolicyAllo return o } +func (o DevicePolicyAllowedEncryptionStatusesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DevicePolicyAllowedEncryptionStatusesItem] { + return pulumix.Output[[]DevicePolicyAllowedEncryptionStatusesItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedEncryptionStatusesItemArrayOutput) Index(i pulumi.IntInput) DevicePolicyAllowedEncryptionStatusesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DevicePolicyAllowedEncryptionStatusesItem { return vs[0].([]DevicePolicyAllowedEncryptionStatusesItem)[vs[1].(int)] @@ -1357,6 +1508,12 @@ func (o EgressFromIdentityTypeOutput) ToEgressFromIdentityTypePtrOutputWithConte }).(EgressFromIdentityTypePtrOutput) } +func (o EgressFromIdentityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EgressFromIdentityType] { + return pulumix.Output[EgressFromIdentityType]{ + OutputState: o.OutputState, + } +} + func (o EgressFromIdentityTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1392,6 +1549,12 @@ func (o EgressFromIdentityTypePtrOutput) ToEgressFromIdentityTypePtrOutputWithCo return o } +func (o EgressFromIdentityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EgressFromIdentityType] { + return pulumix.Output[*EgressFromIdentityType]{ + OutputState: o.OutputState, + } +} + func (o EgressFromIdentityTypePtrOutput) Elem() EgressFromIdentityTypeOutput { return o.ApplyT(func(v *EgressFromIdentityType) EgressFromIdentityType { if v != nil { @@ -1454,6 +1617,12 @@ func (in *egressFromIdentityTypePtr) ToEgressFromIdentityTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(EgressFromIdentityTypePtrOutput) } +func (in *egressFromIdentityTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EgressFromIdentityType] { + return pulumix.Output[*EgressFromIdentityType]{ + OutputState: in.ToEgressFromIdentityTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. type IngressFromIdentityType string @@ -1528,6 +1697,12 @@ func (o IngressFromIdentityTypeOutput) ToIngressFromIdentityTypePtrOutputWithCon }).(IngressFromIdentityTypePtrOutput) } +func (o IngressFromIdentityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[IngressFromIdentityType] { + return pulumix.Output[IngressFromIdentityType]{ + OutputState: o.OutputState, + } +} + func (o IngressFromIdentityTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1563,6 +1738,12 @@ func (o IngressFromIdentityTypePtrOutput) ToIngressFromIdentityTypePtrOutputWith return o } +func (o IngressFromIdentityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IngressFromIdentityType] { + return pulumix.Output[*IngressFromIdentityType]{ + OutputState: o.OutputState, + } +} + func (o IngressFromIdentityTypePtrOutput) Elem() IngressFromIdentityTypeOutput { return o.ApplyT(func(v *IngressFromIdentityType) IngressFromIdentityType { if v != nil { @@ -1625,6 +1806,12 @@ func (in *ingressFromIdentityTypePtr) ToIngressFromIdentityTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(IngressFromIdentityTypePtrOutput) } +func (in *ingressFromIdentityTypePtr) ToOutput(ctx context.Context) pulumix.Output[*IngressFromIdentityType] { + return pulumix.Output[*IngressFromIdentityType]{ + OutputState: in.ToIngressFromIdentityTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The allowed OS type. type OsConstraintOsType string @@ -1705,6 +1892,12 @@ func (o OsConstraintOsTypeOutput) ToOsConstraintOsTypePtrOutputWithContext(ctx c }).(OsConstraintOsTypePtrOutput) } +func (o OsConstraintOsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OsConstraintOsType] { + return pulumix.Output[OsConstraintOsType]{ + OutputState: o.OutputState, + } +} + func (o OsConstraintOsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1740,6 +1933,12 @@ func (o OsConstraintOsTypePtrOutput) ToOsConstraintOsTypePtrOutputWithContext(ct return o } +func (o OsConstraintOsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OsConstraintOsType] { + return pulumix.Output[*OsConstraintOsType]{ + OutputState: o.OutputState, + } +} + func (o OsConstraintOsTypePtrOutput) Elem() OsConstraintOsTypeOutput { return o.ApplyT(func(v *OsConstraintOsType) OsConstraintOsType { if v != nil { @@ -1802,6 +2001,12 @@ func (in *osConstraintOsTypePtr) ToOsConstraintOsTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(OsConstraintOsTypePtrOutput) } +func (in *osConstraintOsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OsConstraintOsType] { + return pulumix.Output[*OsConstraintOsType]{ + OutputState: in.ToOsConstraintOsTypePtrOutputWithContext(ctx).OutputState, + } +} + // Perimeter type indicator. A single project or VPC network is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. type ServicePerimeterPerimeterType string @@ -1872,6 +2077,12 @@ func (o ServicePerimeterPerimeterTypeOutput) ToServicePerimeterPerimeterTypePtrO }).(ServicePerimeterPerimeterTypePtrOutput) } +func (o ServicePerimeterPerimeterTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServicePerimeterPerimeterType] { + return pulumix.Output[ServicePerimeterPerimeterType]{ + OutputState: o.OutputState, + } +} + func (o ServicePerimeterPerimeterTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1907,6 +2118,12 @@ func (o ServicePerimeterPerimeterTypePtrOutput) ToServicePerimeterPerimeterTypeP return o } +func (o ServicePerimeterPerimeterTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServicePerimeterPerimeterType] { + return pulumix.Output[*ServicePerimeterPerimeterType]{ + OutputState: o.OutputState, + } +} + func (o ServicePerimeterPerimeterTypePtrOutput) Elem() ServicePerimeterPerimeterTypeOutput { return o.ApplyT(func(v *ServicePerimeterPerimeterType) ServicePerimeterPerimeterType { if v != nil { @@ -1969,6 +2186,12 @@ func (in *servicePerimeterPerimeterTypePtr) ToServicePerimeterPerimeterTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(ServicePerimeterPerimeterTypePtrOutput) } +func (in *servicePerimeterPerimeterTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServicePerimeterPerimeterType] { + return pulumix.Output[*ServicePerimeterPerimeterType]{ + OutputState: in.ToServicePerimeterPerimeterTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/accesscontextmanager/v1/pulumiTypes.go b/sdk/go/google/accesscontextmanager/v1/pulumiTypes.go index 30438d5448..7564357557 100644 --- a/sdk/go/google/accesscontextmanager/v1/pulumiTypes.go +++ b/sdk/go/google/accesscontextmanager/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i ApiOperationArgs) ToApiOperationOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(ApiOperationOutput) } +func (i ApiOperationArgs) ToOutput(ctx context.Context) pulumix.Output[ApiOperation] { + return pulumix.Output[ApiOperation]{ + OutputState: i.ToApiOperationOutputWithContext(ctx).OutputState, + } +} + // ApiOperationArrayInput is an input type that accepts ApiOperationArray and ApiOperationArrayOutput values. // You can construct a concrete instance of `ApiOperationArrayInput` via: // @@ -77,6 +84,12 @@ func (i ApiOperationArray) ToApiOperationArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ApiOperationArrayOutput) } +func (i ApiOperationArray) ToOutput(ctx context.Context) pulumix.Output[[]ApiOperation] { + return pulumix.Output[[]ApiOperation]{ + OutputState: i.ToApiOperationArrayOutputWithContext(ctx).OutputState, + } +} + // Identification for an API Operation. type ApiOperationOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o ApiOperationOutput) ToApiOperationOutputWithContext(ctx context.Context) return o } +func (o ApiOperationOutput) ToOutput(ctx context.Context) pulumix.Output[ApiOperation] { + return pulumix.Output[ApiOperation]{ + OutputState: o.OutputState, + } +} + // API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`. func (o ApiOperationOutput) MethodSelectors() MethodSelectorArrayOutput { return o.ApplyT(func(v ApiOperation) []MethodSelector { return v.MethodSelectors }).(MethodSelectorArrayOutput) @@ -116,6 +135,12 @@ func (o ApiOperationArrayOutput) ToApiOperationArrayOutputWithContext(ctx contex return o } +func (o ApiOperationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApiOperation] { + return pulumix.Output[[]ApiOperation]{ + OutputState: o.OutputState, + } +} + func (o ApiOperationArrayOutput) Index(i pulumi.IntInput) ApiOperationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApiOperation { return vs[0].([]ApiOperation)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o ApiOperationResponseOutput) ToApiOperationResponseOutputWithContext(ctx return o } +func (o ApiOperationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApiOperationResponse] { + return pulumix.Output[ApiOperationResponse]{ + OutputState: o.OutputState, + } +} + // API methods or permissions to allow. Method or permission must belong to the service specified by `service_name` field. A single MethodSelector entry with `*` specified for the `method` field will allow all methods AND permissions for the service specified in `service_name`. func (o ApiOperationResponseOutput) MethodSelectors() MethodSelectorResponseArrayOutput { return o.ApplyT(func(v ApiOperationResponse) []MethodSelectorResponse { return v.MethodSelectors }).(MethodSelectorResponseArrayOutput) @@ -169,6 +200,12 @@ func (o ApiOperationResponseArrayOutput) ToApiOperationResponseArrayOutputWithCo return o } +func (o ApiOperationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApiOperationResponse] { + return pulumix.Output[[]ApiOperationResponse]{ + OutputState: o.OutputState, + } +} + func (o ApiOperationResponseArrayOutput) Index(i pulumi.IntInput) ApiOperationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApiOperationResponse { return vs[0].([]ApiOperationResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -278,6 +333,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -331,6 +398,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -376,6 +449,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -401,6 +480,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -416,6 +501,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -440,6 +531,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -469,6 +566,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -493,6 +596,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -538,6 +647,12 @@ func (i BasicLevelArgs) ToBasicLevelOutputWithContext(ctx context.Context) Basic return pulumi.ToOutputWithContext(ctx, i).(BasicLevelOutput) } +func (i BasicLevelArgs) ToOutput(ctx context.Context) pulumix.Output[BasicLevel] { + return pulumix.Output[BasicLevel]{ + OutputState: i.ToBasicLevelOutputWithContext(ctx).OutputState, + } +} + func (i BasicLevelArgs) ToBasicLevelPtrOutput() BasicLevelPtrOutput { return i.ToBasicLevelPtrOutputWithContext(context.Background()) } @@ -579,6 +694,12 @@ func (i *basicLevelPtrType) ToBasicLevelPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(BasicLevelPtrOutput) } +func (i *basicLevelPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicLevel] { + return pulumix.Output[*BasicLevel]{ + OutputState: i.ToBasicLevelPtrOutputWithContext(ctx).OutputState, + } +} + // `BasicLevel` is an `AccessLevel` using a set of recommended features. type BasicLevelOutput struct{ *pulumi.OutputState } @@ -604,6 +725,12 @@ func (o BasicLevelOutput) ToBasicLevelPtrOutputWithContext(ctx context.Context) }).(BasicLevelPtrOutput) } +func (o BasicLevelOutput) ToOutput(ctx context.Context) pulumix.Output[BasicLevel] { + return pulumix.Output[BasicLevel]{ + OutputState: o.OutputState, + } +} + // How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. func (o BasicLevelOutput) CombiningFunction() BasicLevelCombiningFunctionPtrOutput { return o.ApplyT(func(v BasicLevel) *BasicLevelCombiningFunction { return v.CombiningFunction }).(BasicLevelCombiningFunctionPtrOutput) @@ -628,6 +755,12 @@ func (o BasicLevelPtrOutput) ToBasicLevelPtrOutputWithContext(ctx context.Contex return o } +func (o BasicLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicLevel] { + return pulumix.Output[*BasicLevel]{ + OutputState: o.OutputState, + } +} + func (o BasicLevelPtrOutput) Elem() BasicLevelOutput { return o.ApplyT(func(v *BasicLevel) BasicLevel { if v != nil { @@ -681,6 +814,12 @@ func (o BasicLevelResponseOutput) ToBasicLevelResponseOutputWithContext(ctx cont return o } +func (o BasicLevelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicLevelResponse] { + return pulumix.Output[BasicLevelResponse]{ + OutputState: o.OutputState, + } +} + // How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. func (o BasicLevelResponseOutput) CombiningFunction() pulumi.StringOutput { return o.ApplyT(func(v BasicLevelResponse) string { return v.CombiningFunction }).(pulumi.StringOutput) @@ -734,6 +873,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -759,6 +904,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -774,6 +925,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -803,6 +960,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -834,6 +997,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -863,6 +1032,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -924,6 +1099,12 @@ func (i ConditionArgs) ToConditionOutputWithContext(ctx context.Context) Conditi return pulumi.ToOutputWithContext(ctx, i).(ConditionOutput) } +func (i ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: i.ToConditionOutputWithContext(ctx).OutputState, + } +} + // ConditionArrayInput is an input type that accepts ConditionArray and ConditionArrayOutput values. // You can construct a concrete instance of `ConditionArrayInput` via: // @@ -949,6 +1130,12 @@ func (i ConditionArray) ToConditionArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ConditionArrayOutput) } +func (i ConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: i.ToConditionArrayOutputWithContext(ctx).OutputState, + } +} + // A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction. type ConditionOutput struct{ *pulumi.OutputState } @@ -964,6 +1151,12 @@ func (o ConditionOutput) ToConditionOutputWithContext(ctx context.Context) Condi return o } +func (o ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: o.OutputState, + } +} + // Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. func (o ConditionOutput) DevicePolicy() DevicePolicyPtrOutput { return o.ApplyT(func(v Condition) *DevicePolicy { return v.DevicePolicy }).(DevicePolicyPtrOutput) @@ -1008,6 +1201,12 @@ func (o ConditionArrayOutput) ToConditionArrayOutputWithContext(ctx context.Cont return o } +func (o ConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: o.OutputState, + } +} + func (o ConditionArrayOutput) Index(i pulumi.IntInput) ConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Condition { return vs[0].([]Condition)[vs[1].(int)] @@ -1045,6 +1244,12 @@ func (o ConditionResponseOutput) ToConditionResponseOutputWithContext(ctx contex return o } +func (o ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionResponse] { + return pulumix.Output[ConditionResponse]{ + OutputState: o.OutputState, + } +} + // Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. func (o ConditionResponseOutput) DevicePolicy() DevicePolicyResponseOutput { return o.ApplyT(func(v ConditionResponse) DevicePolicyResponse { return v.DevicePolicy }).(DevicePolicyResponseOutput) @@ -1089,6 +1294,12 @@ func (o ConditionResponseArrayOutput) ToConditionResponseArrayOutputWithContext( return o } +func (o ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConditionResponse] { + return pulumix.Output[[]ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o ConditionResponseArrayOutput) Index(i pulumi.IntInput) ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConditionResponse { return vs[0].([]ConditionResponse)[vs[1].(int)] @@ -1130,6 +1341,12 @@ func (i CustomLevelArgs) ToCustomLevelOutputWithContext(ctx context.Context) Cus return pulumi.ToOutputWithContext(ctx, i).(CustomLevelOutput) } +func (i CustomLevelArgs) ToOutput(ctx context.Context) pulumix.Output[CustomLevel] { + return pulumix.Output[CustomLevel]{ + OutputState: i.ToCustomLevelOutputWithContext(ctx).OutputState, + } +} + func (i CustomLevelArgs) ToCustomLevelPtrOutput() CustomLevelPtrOutput { return i.ToCustomLevelPtrOutputWithContext(context.Background()) } @@ -1171,6 +1388,12 @@ func (i *customLevelPtrType) ToCustomLevelPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(CustomLevelPtrOutput) } +func (i *customLevelPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomLevel] { + return pulumix.Output[*CustomLevel]{ + OutputState: i.ToCustomLevelPtrOutputWithContext(ctx).OutputState, + } +} + // `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec type CustomLevelOutput struct{ *pulumi.OutputState } @@ -1196,6 +1419,12 @@ func (o CustomLevelOutput) ToCustomLevelPtrOutputWithContext(ctx context.Context }).(CustomLevelPtrOutput) } +func (o CustomLevelOutput) ToOutput(ctx context.Context) pulumix.Output[CustomLevel] { + return pulumix.Output[CustomLevel]{ + OutputState: o.OutputState, + } +} + // A Cloud CEL expression evaluating to a boolean. func (o CustomLevelOutput) Expr() ExprOutput { return o.ApplyT(func(v CustomLevel) Expr { return v.Expr }).(ExprOutput) @@ -1215,6 +1444,12 @@ func (o CustomLevelPtrOutput) ToCustomLevelPtrOutputWithContext(ctx context.Cont return o } +func (o CustomLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomLevel] { + return pulumix.Output[*CustomLevel]{ + OutputState: o.OutputState, + } +} + func (o CustomLevelPtrOutput) Elem() CustomLevelOutput { return o.ApplyT(func(v *CustomLevel) CustomLevel { if v != nil { @@ -1256,6 +1491,12 @@ func (o CustomLevelResponseOutput) ToCustomLevelResponseOutputWithContext(ctx co return o } +func (o CustomLevelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomLevelResponse] { + return pulumix.Output[CustomLevelResponse]{ + OutputState: o.OutputState, + } +} + // A Cloud CEL expression evaluating to a boolean. func (o CustomLevelResponseOutput) Expr() ExprResponseOutput { return o.ApplyT(func(v CustomLevelResponse) ExprResponse { return v.Expr }).(ExprResponseOutput) @@ -1316,6 +1557,12 @@ func (i DevicePolicyArgs) ToDevicePolicyOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DevicePolicyOutput) } +func (i DevicePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[DevicePolicy] { + return pulumix.Output[DevicePolicy]{ + OutputState: i.ToDevicePolicyOutputWithContext(ctx).OutputState, + } +} + func (i DevicePolicyArgs) ToDevicePolicyPtrOutput() DevicePolicyPtrOutput { return i.ToDevicePolicyPtrOutputWithContext(context.Background()) } @@ -1357,6 +1604,12 @@ func (i *devicePolicyPtrType) ToDevicePolicyPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DevicePolicyPtrOutput) } +func (i *devicePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicy] { + return pulumix.Output[*DevicePolicy]{ + OutputState: i.ToDevicePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // `DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. type DevicePolicyOutput struct{ *pulumi.OutputState } @@ -1382,6 +1635,12 @@ func (o DevicePolicyOutput) ToDevicePolicyPtrOutputWithContext(ctx context.Conte }).(DevicePolicyPtrOutput) } +func (o DevicePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[DevicePolicy] { + return pulumix.Output[DevicePolicy]{ + OutputState: o.OutputState, + } +} + // Allowed device management levels, an empty list allows all management levels. func (o DevicePolicyOutput) AllowedDeviceManagementLevels() DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput { return o.ApplyT(func(v DevicePolicy) []DevicePolicyAllowedDeviceManagementLevelsItem { @@ -1428,6 +1687,12 @@ func (o DevicePolicyPtrOutput) ToDevicePolicyPtrOutputWithContext(ctx context.Co return o } +func (o DevicePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicy] { + return pulumix.Output[*DevicePolicy]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyPtrOutput) Elem() DevicePolicyOutput { return o.ApplyT(func(v *DevicePolicy) DevicePolicy { if v != nil { @@ -1529,6 +1794,12 @@ func (o DevicePolicyResponseOutput) ToDevicePolicyResponseOutputWithContext(ctx return o } +func (o DevicePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DevicePolicyResponse] { + return pulumix.Output[DevicePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Allowed device management levels, an empty list allows all management levels. func (o DevicePolicyResponseOutput) AllowedDeviceManagementLevels() pulumi.StringArrayOutput { return o.ApplyT(func(v DevicePolicyResponse) []string { return v.AllowedDeviceManagementLevels }).(pulumi.StringArrayOutput) @@ -1598,6 +1869,12 @@ func (i EgressFromArgs) ToEgressFromOutputWithContext(ctx context.Context) Egres return pulumi.ToOutputWithContext(ctx, i).(EgressFromOutput) } +func (i EgressFromArgs) ToOutput(ctx context.Context) pulumix.Output[EgressFrom] { + return pulumix.Output[EgressFrom]{ + OutputState: i.ToEgressFromOutputWithContext(ctx).OutputState, + } +} + func (i EgressFromArgs) ToEgressFromPtrOutput() EgressFromPtrOutput { return i.ToEgressFromPtrOutputWithContext(context.Background()) } @@ -1639,6 +1916,12 @@ func (i *egressFromPtrType) ToEgressFromPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(EgressFromPtrOutput) } +func (i *egressFromPtrType) ToOutput(ctx context.Context) pulumix.Output[*EgressFrom] { + return pulumix.Output[*EgressFrom]{ + OutputState: i.ToEgressFromPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the conditions under which an EgressPolicy matches a request. Conditions based on information about the source of the request. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. type EgressFromOutput struct{ *pulumi.OutputState } @@ -1664,6 +1947,12 @@ func (o EgressFromOutput) ToEgressFromPtrOutputWithContext(ctx context.Context) }).(EgressFromPtrOutput) } +func (o EgressFromOutput) ToOutput(ctx context.Context) pulumix.Output[EgressFrom] { + return pulumix.Output[EgressFrom]{ + OutputState: o.OutputState, + } +} + // A list of identities that are allowed access through this [EgressPolicy]. Should be in the format of email address. The email address should represent individual user or service account only. func (o EgressFromOutput) Identities() pulumi.StringArrayOutput { return o.ApplyT(func(v EgressFrom) []string { return v.Identities }).(pulumi.StringArrayOutput) @@ -1688,6 +1977,12 @@ func (o EgressFromPtrOutput) ToEgressFromPtrOutputWithContext(ctx context.Contex return o } +func (o EgressFromPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EgressFrom] { + return pulumix.Output[*EgressFrom]{ + OutputState: o.OutputState, + } +} + func (o EgressFromPtrOutput) Elem() EgressFromOutput { return o.ApplyT(func(v *EgressFrom) EgressFrom { if v != nil { @@ -1741,6 +2036,12 @@ func (o EgressFromResponseOutput) ToEgressFromResponseOutputWithContext(ctx cont return o } +func (o EgressFromResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EgressFromResponse] { + return pulumix.Output[EgressFromResponse]{ + OutputState: o.OutputState, + } +} + // A list of identities that are allowed access through this [EgressPolicy]. Should be in the format of email address. The email address should represent individual user or service account only. func (o EgressFromResponseOutput) Identities() pulumi.StringArrayOutput { return o.ApplyT(func(v EgressFromResponse) []string { return v.Identities }).(pulumi.StringArrayOutput) @@ -1790,6 +2091,12 @@ func (i EgressPolicyArgs) ToEgressPolicyOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(EgressPolicyOutput) } +func (i EgressPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[EgressPolicy] { + return pulumix.Output[EgressPolicy]{ + OutputState: i.ToEgressPolicyOutputWithContext(ctx).OutputState, + } +} + // EgressPolicyArrayInput is an input type that accepts EgressPolicyArray and EgressPolicyArrayOutput values. // You can construct a concrete instance of `EgressPolicyArrayInput` via: // @@ -1815,6 +2122,12 @@ func (i EgressPolicyArray) ToEgressPolicyArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(EgressPolicyArrayOutput) } +func (i EgressPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]EgressPolicy] { + return pulumix.Output[[]EgressPolicy]{ + OutputState: i.ToEgressPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Policy for egress from perimeter. EgressPolicies match requests based on `egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both `egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). EgressPolicies are concerned with the *resources* that a request relates as well as the API services and API actions being used. They do not related to the direction of data movement. More detailed documentation for this concept can be found in the descriptions of EgressFrom and EgressTo. type EgressPolicyOutput struct{ *pulumi.OutputState } @@ -1830,6 +2143,12 @@ func (o EgressPolicyOutput) ToEgressPolicyOutputWithContext(ctx context.Context) return o } +func (o EgressPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[EgressPolicy] { + return pulumix.Output[EgressPolicy]{ + OutputState: o.OutputState, + } +} + // Defines conditions on the source of a request causing this EgressPolicy to apply. func (o EgressPolicyOutput) EgressFrom() EgressFromPtrOutput { return o.ApplyT(func(v EgressPolicy) *EgressFrom { return v.EgressFrom }).(EgressFromPtrOutput) @@ -1854,6 +2173,12 @@ func (o EgressPolicyArrayOutput) ToEgressPolicyArrayOutputWithContext(ctx contex return o } +func (o EgressPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EgressPolicy] { + return pulumix.Output[[]EgressPolicy]{ + OutputState: o.OutputState, + } +} + func (o EgressPolicyArrayOutput) Index(i pulumi.IntInput) EgressPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EgressPolicy { return vs[0].([]EgressPolicy)[vs[1].(int)] @@ -1883,6 +2208,12 @@ func (o EgressPolicyResponseOutput) ToEgressPolicyResponseOutputWithContext(ctx return o } +func (o EgressPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EgressPolicyResponse] { + return pulumix.Output[EgressPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Defines conditions on the source of a request causing this EgressPolicy to apply. func (o EgressPolicyResponseOutput) EgressFrom() EgressFromResponseOutput { return o.ApplyT(func(v EgressPolicyResponse) EgressFromResponse { return v.EgressFrom }).(EgressFromResponseOutput) @@ -1907,6 +2238,12 @@ func (o EgressPolicyResponseArrayOutput) ToEgressPolicyResponseArrayOutputWithCo return o } +func (o EgressPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EgressPolicyResponse] { + return pulumix.Output[[]EgressPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o EgressPolicyResponseArrayOutput) Index(i pulumi.IntInput) EgressPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EgressPolicyResponse { return vs[0].([]EgressPolicyResponse)[vs[1].(int)] @@ -1956,6 +2293,12 @@ func (i EgressToArgs) ToEgressToOutputWithContext(ctx context.Context) EgressToO return pulumi.ToOutputWithContext(ctx, i).(EgressToOutput) } +func (i EgressToArgs) ToOutput(ctx context.Context) pulumix.Output[EgressTo] { + return pulumix.Output[EgressTo]{ + OutputState: i.ToEgressToOutputWithContext(ctx).OutputState, + } +} + func (i EgressToArgs) ToEgressToPtrOutput() EgressToPtrOutput { return i.ToEgressToPtrOutputWithContext(context.Background()) } @@ -1997,6 +2340,12 @@ func (i *egressToPtrType) ToEgressToPtrOutputWithContext(ctx context.Context) Eg return pulumi.ToOutputWithContext(ctx, i).(EgressToPtrOutput) } +func (i *egressToPtrType) ToOutput(ctx context.Context) pulumix.Output[*EgressTo] { + return pulumix.Output[*EgressTo]{ + OutputState: i.ToEgressToPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the conditions under which an EgressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a ServicePerimeter, then that ServicePerimeter must have an IngressPolicy which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter. type EgressToOutput struct{ *pulumi.OutputState } @@ -2022,6 +2371,12 @@ func (o EgressToOutput) ToEgressToPtrOutputWithContext(ctx context.Context) Egre }).(EgressToPtrOutput) } +func (o EgressToOutput) ToOutput(ctx context.Context) pulumix.Output[EgressTo] { + return pulumix.Output[EgressTo]{ + OutputState: o.OutputState, + } +} + // A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. func (o EgressToOutput) ExternalResources() pulumi.StringArrayOutput { return o.ApplyT(func(v EgressTo) []string { return v.ExternalResources }).(pulumi.StringArrayOutput) @@ -2051,6 +2406,12 @@ func (o EgressToPtrOutput) ToEgressToPtrOutputWithContext(ctx context.Context) E return o } +func (o EgressToPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EgressTo] { + return pulumix.Output[*EgressTo]{ + OutputState: o.OutputState, + } +} + func (o EgressToPtrOutput) Elem() EgressToOutput { return o.ApplyT(func(v *EgressTo) EgressTo { if v != nil { @@ -2116,6 +2477,12 @@ func (o EgressToResponseOutput) ToEgressToResponseOutputWithContext(ctx context. return o } +func (o EgressToResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EgressToResponse] { + return pulumix.Output[EgressToResponse]{ + OutputState: o.OutputState, + } +} + // A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. func (o EgressToResponseOutput) ExternalResources() pulumi.StringArrayOutput { return o.ApplyT(func(v EgressToResponse) []string { return v.ExternalResources }).(pulumi.StringArrayOutput) @@ -2178,6 +2545,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -2219,6 +2592,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -2244,6 +2623,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2278,6 +2663,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -2355,6 +2746,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2418,6 +2815,12 @@ func (i IngressFromArgs) ToIngressFromOutputWithContext(ctx context.Context) Ing return pulumi.ToOutputWithContext(ctx, i).(IngressFromOutput) } +func (i IngressFromArgs) ToOutput(ctx context.Context) pulumix.Output[IngressFrom] { + return pulumix.Output[IngressFrom]{ + OutputState: i.ToIngressFromOutputWithContext(ctx).OutputState, + } +} + func (i IngressFromArgs) ToIngressFromPtrOutput() IngressFromPtrOutput { return i.ToIngressFromPtrOutputWithContext(context.Background()) } @@ -2459,6 +2862,12 @@ func (i *ingressFromPtrType) ToIngressFromPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(IngressFromPtrOutput) } +func (i *ingressFromPtrType) ToOutput(ctx context.Context) pulumix.Output[*IngressFrom] { + return pulumix.Output[*IngressFrom]{ + OutputState: i.ToIngressFromPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the source of the request. The request must satisfy what is defined in `sources` AND identity related fields in order to match. type IngressFromOutput struct{ *pulumi.OutputState } @@ -2484,6 +2893,12 @@ func (o IngressFromOutput) ToIngressFromPtrOutputWithContext(ctx context.Context }).(IngressFromPtrOutput) } +func (o IngressFromOutput) ToOutput(ctx context.Context) pulumix.Output[IngressFrom] { + return pulumix.Output[IngressFrom]{ + OutputState: o.OutputState, + } +} + // A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only. func (o IngressFromOutput) Identities() pulumi.StringArrayOutput { return o.ApplyT(func(v IngressFrom) []string { return v.Identities }).(pulumi.StringArrayOutput) @@ -2513,6 +2928,12 @@ func (o IngressFromPtrOutput) ToIngressFromPtrOutputWithContext(ctx context.Cont return o } +func (o IngressFromPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IngressFrom] { + return pulumix.Output[*IngressFrom]{ + OutputState: o.OutputState, + } +} + func (o IngressFromPtrOutput) Elem() IngressFromOutput { return o.ApplyT(func(v *IngressFrom) IngressFrom { if v != nil { @@ -2578,6 +2999,12 @@ func (o IngressFromResponseOutput) ToIngressFromResponseOutputWithContext(ctx co return o } +func (o IngressFromResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IngressFromResponse] { + return pulumix.Output[IngressFromResponse]{ + OutputState: o.OutputState, + } +} + // A list of identities that are allowed access through this ingress policy. Should be in the format of email address. The email address should represent individual user or service account only. func (o IngressFromResponseOutput) Identities() pulumi.StringArrayOutput { return o.ApplyT(func(v IngressFromResponse) []string { return v.Identities }).(pulumi.StringArrayOutput) @@ -2632,6 +3059,12 @@ func (i IngressPolicyArgs) ToIngressPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IngressPolicyOutput) } +func (i IngressPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[IngressPolicy] { + return pulumix.Output[IngressPolicy]{ + OutputState: i.ToIngressPolicyOutputWithContext(ctx).OutputState, + } +} + // IngressPolicyArrayInput is an input type that accepts IngressPolicyArray and IngressPolicyArrayOutput values. // You can construct a concrete instance of `IngressPolicyArrayInput` via: // @@ -2657,6 +3090,12 @@ func (i IngressPolicyArray) ToIngressPolicyArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(IngressPolicyArrayOutput) } +func (i IngressPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]IngressPolicy] { + return pulumix.Output[[]IngressPolicy]{ + OutputState: i.ToIngressPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Policy for ingress into ServicePerimeter. IngressPolicies match requests based on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, both the `ingress_from` and `ingress_to` stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/or actions they match using the `ingress_to` field. type IngressPolicyOutput struct{ *pulumi.OutputState } @@ -2672,6 +3111,12 @@ func (o IngressPolicyOutput) ToIngressPolicyOutputWithContext(ctx context.Contex return o } +func (o IngressPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[IngressPolicy] { + return pulumix.Output[IngressPolicy]{ + OutputState: o.OutputState, + } +} + // Defines the conditions on the source of a request causing this IngressPolicy to apply. func (o IngressPolicyOutput) IngressFrom() IngressFromPtrOutput { return o.ApplyT(func(v IngressPolicy) *IngressFrom { return v.IngressFrom }).(IngressFromPtrOutput) @@ -2696,6 +3141,12 @@ func (o IngressPolicyArrayOutput) ToIngressPolicyArrayOutputWithContext(ctx cont return o } +func (o IngressPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IngressPolicy] { + return pulumix.Output[[]IngressPolicy]{ + OutputState: o.OutputState, + } +} + func (o IngressPolicyArrayOutput) Index(i pulumi.IntInput) IngressPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IngressPolicy { return vs[0].([]IngressPolicy)[vs[1].(int)] @@ -2725,6 +3176,12 @@ func (o IngressPolicyResponseOutput) ToIngressPolicyResponseOutputWithContext(ct return o } +func (o IngressPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IngressPolicyResponse] { + return pulumix.Output[IngressPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Defines the conditions on the source of a request causing this IngressPolicy to apply. func (o IngressPolicyResponseOutput) IngressFrom() IngressFromResponseOutput { return o.ApplyT(func(v IngressPolicyResponse) IngressFromResponse { return v.IngressFrom }).(IngressFromResponseOutput) @@ -2749,6 +3206,12 @@ func (o IngressPolicyResponseArrayOutput) ToIngressPolicyResponseArrayOutputWith return o } +func (o IngressPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IngressPolicyResponse] { + return pulumix.Output[[]IngressPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o IngressPolicyResponseArrayOutput) Index(i pulumi.IntInput) IngressPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IngressPolicyResponse { return vs[0].([]IngressPolicyResponse)[vs[1].(int)] @@ -2794,6 +3257,12 @@ func (i IngressSourceArgs) ToIngressSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IngressSourceOutput) } +func (i IngressSourceArgs) ToOutput(ctx context.Context) pulumix.Output[IngressSource] { + return pulumix.Output[IngressSource]{ + OutputState: i.ToIngressSourceOutputWithContext(ctx).OutputState, + } +} + // IngressSourceArrayInput is an input type that accepts IngressSourceArray and IngressSourceArrayOutput values. // You can construct a concrete instance of `IngressSourceArrayInput` via: // @@ -2819,6 +3288,12 @@ func (i IngressSourceArray) ToIngressSourceArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(IngressSourceArrayOutput) } +func (i IngressSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]IngressSource] { + return pulumix.Output[[]IngressSource]{ + OutputState: i.ToIngressSourceArrayOutputWithContext(ctx).OutputState, + } +} + // The source that IngressPolicy authorizes access from. type IngressSourceOutput struct{ *pulumi.OutputState } @@ -2834,6 +3309,12 @@ func (o IngressSourceOutput) ToIngressSourceOutputWithContext(ctx context.Contex return o } +func (o IngressSourceOutput) ToOutput(ctx context.Context) pulumix.Output[IngressSource] { + return pulumix.Output[IngressSource]{ + OutputState: o.OutputState, + } +} + // An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. func (o IngressSourceOutput) AccessLevel() pulumi.StringPtrOutput { return o.ApplyT(func(v IngressSource) *string { return v.AccessLevel }).(pulumi.StringPtrOutput) @@ -2858,6 +3339,12 @@ func (o IngressSourceArrayOutput) ToIngressSourceArrayOutputWithContext(ctx cont return o } +func (o IngressSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IngressSource] { + return pulumix.Output[[]IngressSource]{ + OutputState: o.OutputState, + } +} + func (o IngressSourceArrayOutput) Index(i pulumi.IntInput) IngressSourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IngressSource { return vs[0].([]IngressSource)[vs[1].(int)] @@ -2887,6 +3374,12 @@ func (o IngressSourceResponseOutput) ToIngressSourceResponseOutputWithContext(ct return o } +func (o IngressSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IngressSourceResponse] { + return pulumix.Output[IngressSourceResponse]{ + OutputState: o.OutputState, + } +} + // An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all IngressSources will be allowed. func (o IngressSourceResponseOutput) AccessLevel() pulumi.StringOutput { return o.ApplyT(func(v IngressSourceResponse) string { return v.AccessLevel }).(pulumi.StringOutput) @@ -2911,6 +3404,12 @@ func (o IngressSourceResponseArrayOutput) ToIngressSourceResponseArrayOutputWith return o } +func (o IngressSourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IngressSourceResponse] { + return pulumix.Output[[]IngressSourceResponse]{ + OutputState: o.OutputState, + } +} + func (o IngressSourceResponseArrayOutput) Index(i pulumi.IntInput) IngressSourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IngressSourceResponse { return vs[0].([]IngressSourceResponse)[vs[1].(int)] @@ -2956,6 +3455,12 @@ func (i IngressToArgs) ToIngressToOutputWithContext(ctx context.Context) Ingress return pulumi.ToOutputWithContext(ctx, i).(IngressToOutput) } +func (i IngressToArgs) ToOutput(ctx context.Context) pulumix.Output[IngressTo] { + return pulumix.Output[IngressTo]{ + OutputState: i.ToIngressToOutputWithContext(ctx).OutputState, + } +} + func (i IngressToArgs) ToIngressToPtrOutput() IngressToPtrOutput { return i.ToIngressToPtrOutputWithContext(context.Background()) } @@ -2997,6 +3502,12 @@ func (i *ingressToPtrType) ToIngressToPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IngressToPtrOutput) } +func (i *ingressToPtrType) ToOutput(ctx context.Context) pulumix.Output[*IngressTo] { + return pulumix.Output[*IngressTo]{ + OutputState: i.ToIngressToPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the conditions under which an IngressPolicy matches a request. Conditions are based on information about the ApiOperation intended to be performed on the target resource of the request. The request must satisfy what is defined in `operations` AND `resources` in order to match. type IngressToOutput struct{ *pulumi.OutputState } @@ -3022,6 +3533,12 @@ func (o IngressToOutput) ToIngressToPtrOutputWithContext(ctx context.Context) In }).(IngressToPtrOutput) } +func (o IngressToOutput) ToOutput(ctx context.Context) pulumix.Output[IngressTo] { + return pulumix.Output[IngressTo]{ + OutputState: o.OutputState, + } +} + // A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter. func (o IngressToOutput) Operations() ApiOperationArrayOutput { return o.ApplyT(func(v IngressTo) []ApiOperation { return v.Operations }).(ApiOperationArrayOutput) @@ -3046,6 +3563,12 @@ func (o IngressToPtrOutput) ToIngressToPtrOutputWithContext(ctx context.Context) return o } +func (o IngressToPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IngressTo] { + return pulumix.Output[*IngressTo]{ + OutputState: o.OutputState, + } +} + func (o IngressToPtrOutput) Elem() IngressToOutput { return o.ApplyT(func(v *IngressTo) IngressTo { if v != nil { @@ -3099,6 +3622,12 @@ func (o IngressToResponseOutput) ToIngressToResponseOutputWithContext(ctx contex return o } +func (o IngressToResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IngressToResponse] { + return pulumix.Output[IngressToResponse]{ + OutputState: o.OutputState, + } +} + // A list of ApiOperations allowed to be performed by the sources specified in corresponding IngressFrom in this ServicePerimeter. func (o IngressToResponseOutput) Operations() ApiOperationResponseArrayOutput { return o.ApplyT(func(v IngressToResponse) []ApiOperationResponse { return v.Operations }).(ApiOperationResponseArrayOutput) @@ -3148,6 +3677,12 @@ func (i MethodSelectorArgs) ToMethodSelectorOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MethodSelectorOutput) } +func (i MethodSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[MethodSelector] { + return pulumix.Output[MethodSelector]{ + OutputState: i.ToMethodSelectorOutputWithContext(ctx).OutputState, + } +} + // MethodSelectorArrayInput is an input type that accepts MethodSelectorArray and MethodSelectorArrayOutput values. // You can construct a concrete instance of `MethodSelectorArrayInput` via: // @@ -3173,6 +3708,12 @@ func (i MethodSelectorArray) ToMethodSelectorArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MethodSelectorArrayOutput) } +func (i MethodSelectorArray) ToOutput(ctx context.Context) pulumix.Output[[]MethodSelector] { + return pulumix.Output[[]MethodSelector]{ + OutputState: i.ToMethodSelectorArrayOutputWithContext(ctx).OutputState, + } +} + // An allowed method or permission of a service specified in ApiOperation. type MethodSelectorOutput struct{ *pulumi.OutputState } @@ -3188,6 +3729,12 @@ func (o MethodSelectorOutput) ToMethodSelectorOutputWithContext(ctx context.Cont return o } +func (o MethodSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[MethodSelector] { + return pulumix.Output[MethodSelector]{ + OutputState: o.OutputState, + } +} + // Value for `method` should be a valid method name for the corresponding `service_name` in ApiOperation. If `*` used as value for `method`, then ALL methods and permissions are allowed. func (o MethodSelectorOutput) Method() pulumi.StringPtrOutput { return o.ApplyT(func(v MethodSelector) *string { return v.Method }).(pulumi.StringPtrOutput) @@ -3212,6 +3759,12 @@ func (o MethodSelectorArrayOutput) ToMethodSelectorArrayOutputWithContext(ctx co return o } +func (o MethodSelectorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MethodSelector] { + return pulumix.Output[[]MethodSelector]{ + OutputState: o.OutputState, + } +} + func (o MethodSelectorArrayOutput) Index(i pulumi.IntInput) MethodSelectorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MethodSelector { return vs[0].([]MethodSelector)[vs[1].(int)] @@ -3241,6 +3794,12 @@ func (o MethodSelectorResponseOutput) ToMethodSelectorResponseOutputWithContext( return o } +func (o MethodSelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MethodSelectorResponse] { + return pulumix.Output[MethodSelectorResponse]{ + OutputState: o.OutputState, + } +} + // Value for `method` should be a valid method name for the corresponding `service_name` in ApiOperation. If `*` used as value for `method`, then ALL methods and permissions are allowed. func (o MethodSelectorResponseOutput) Method() pulumi.StringOutput { return o.ApplyT(func(v MethodSelectorResponse) string { return v.Method }).(pulumi.StringOutput) @@ -3265,6 +3824,12 @@ func (o MethodSelectorResponseArrayOutput) ToMethodSelectorResponseArrayOutputWi return o } +func (o MethodSelectorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MethodSelectorResponse] { + return pulumix.Output[[]MethodSelectorResponse]{ + OutputState: o.OutputState, + } +} + func (o MethodSelectorResponseArrayOutput) Index(i pulumi.IntInput) MethodSelectorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MethodSelectorResponse { return vs[0].([]MethodSelectorResponse)[vs[1].(int)] @@ -3314,6 +3879,12 @@ func (i OsConstraintArgs) ToOsConstraintOutputWithContext(ctx context.Context) O return pulumi.ToOutputWithContext(ctx, i).(OsConstraintOutput) } +func (i OsConstraintArgs) ToOutput(ctx context.Context) pulumix.Output[OsConstraint] { + return pulumix.Output[OsConstraint]{ + OutputState: i.ToOsConstraintOutputWithContext(ctx).OutputState, + } +} + // OsConstraintArrayInput is an input type that accepts OsConstraintArray and OsConstraintArrayOutput values. // You can construct a concrete instance of `OsConstraintArrayInput` via: // @@ -3339,6 +3910,12 @@ func (i OsConstraintArray) ToOsConstraintArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OsConstraintArrayOutput) } +func (i OsConstraintArray) ToOutput(ctx context.Context) pulumix.Output[[]OsConstraint] { + return pulumix.Output[[]OsConstraint]{ + OutputState: i.ToOsConstraintArrayOutputWithContext(ctx).OutputState, + } +} + // A restriction on the OS type and version of devices making requests. type OsConstraintOutput struct{ *pulumi.OutputState } @@ -3354,6 +3931,12 @@ func (o OsConstraintOutput) ToOsConstraintOutputWithContext(ctx context.Context) return o } +func (o OsConstraintOutput) ToOutput(ctx context.Context) pulumix.Output[OsConstraint] { + return pulumix.Output[OsConstraint]{ + OutputState: o.OutputState, + } +} + // The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. func (o OsConstraintOutput) MinimumVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v OsConstraint) *string { return v.MinimumVersion }).(pulumi.StringPtrOutput) @@ -3383,6 +3966,12 @@ func (o OsConstraintArrayOutput) ToOsConstraintArrayOutputWithContext(ctx contex return o } +func (o OsConstraintArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OsConstraint] { + return pulumix.Output[[]OsConstraint]{ + OutputState: o.OutputState, + } +} + func (o OsConstraintArrayOutput) Index(i pulumi.IntInput) OsConstraintOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OsConstraint { return vs[0].([]OsConstraint)[vs[1].(int)] @@ -3414,6 +4003,12 @@ func (o OsConstraintResponseOutput) ToOsConstraintResponseOutputWithContext(ctx return o } +func (o OsConstraintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OsConstraintResponse] { + return pulumix.Output[OsConstraintResponse]{ + OutputState: o.OutputState, + } +} + // The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. func (o OsConstraintResponseOutput) MinimumVersion() pulumi.StringOutput { return o.ApplyT(func(v OsConstraintResponse) string { return v.MinimumVersion }).(pulumi.StringOutput) @@ -3443,6 +4038,12 @@ func (o OsConstraintResponseArrayOutput) ToOsConstraintResponseArrayOutputWithCo return o } +func (o OsConstraintResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OsConstraintResponse] { + return pulumix.Output[[]OsConstraintResponse]{ + OutputState: o.OutputState, + } +} + func (o OsConstraintResponseArrayOutput) Index(i pulumi.IntInput) OsConstraintResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OsConstraintResponse { return vs[0].([]OsConstraintResponse)[vs[1].(int)] @@ -3504,6 +4105,12 @@ func (i ServicePerimeterConfigArgs) ToServicePerimeterConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ServicePerimeterConfigOutput) } +func (i ServicePerimeterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServicePerimeterConfig] { + return pulumix.Output[ServicePerimeterConfig]{ + OutputState: i.ToServicePerimeterConfigOutputWithContext(ctx).OutputState, + } +} + func (i ServicePerimeterConfigArgs) ToServicePerimeterConfigPtrOutput() ServicePerimeterConfigPtrOutput { return i.ToServicePerimeterConfigPtrOutputWithContext(context.Background()) } @@ -3545,6 +4152,12 @@ func (i *servicePerimeterConfigPtrType) ToServicePerimeterConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ServicePerimeterConfigPtrOutput) } +func (i *servicePerimeterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServicePerimeterConfig] { + return pulumix.Output[*ServicePerimeterConfig]{ + OutputState: i.ToServicePerimeterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // `ServicePerimeterConfig` specifies a set of Google Cloud resources that describe specific Service Perimeter configuration. type ServicePerimeterConfigOutput struct{ *pulumi.OutputState } @@ -3570,6 +4183,12 @@ func (o ServicePerimeterConfigOutput) ToServicePerimeterConfigPtrOutputWithConte }).(ServicePerimeterConfigPtrOutput) } +func (o ServicePerimeterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServicePerimeterConfig] { + return pulumix.Output[ServicePerimeterConfig]{ + OutputState: o.OutputState, + } +} + // A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. func (o ServicePerimeterConfigOutput) AccessLevels() pulumi.StringArrayOutput { return o.ApplyT(func(v ServicePerimeterConfig) []string { return v.AccessLevels }).(pulumi.StringArrayOutput) @@ -3614,6 +4233,12 @@ func (o ServicePerimeterConfigPtrOutput) ToServicePerimeterConfigPtrOutputWithCo return o } +func (o ServicePerimeterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServicePerimeterConfig] { + return pulumix.Output[*ServicePerimeterConfig]{ + OutputState: o.OutputState, + } +} + func (o ServicePerimeterConfigPtrOutput) Elem() ServicePerimeterConfigOutput { return o.ApplyT(func(v *ServicePerimeterConfig) ServicePerimeterConfig { if v != nil { @@ -3715,6 +4340,12 @@ func (o ServicePerimeterConfigResponseOutput) ToServicePerimeterConfigResponseOu return o } +func (o ServicePerimeterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServicePerimeterConfigResponse] { + return pulumix.Output[ServicePerimeterConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. func (o ServicePerimeterConfigResponseOutput) AccessLevels() pulumi.StringArrayOutput { return o.ApplyT(func(v ServicePerimeterConfigResponse) []string { return v.AccessLevels }).(pulumi.StringArrayOutput) @@ -3784,6 +4415,12 @@ func (i VpcAccessibleServicesArgs) ToVpcAccessibleServicesOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(VpcAccessibleServicesOutput) } +func (i VpcAccessibleServicesArgs) ToOutput(ctx context.Context) pulumix.Output[VpcAccessibleServices] { + return pulumix.Output[VpcAccessibleServices]{ + OutputState: i.ToVpcAccessibleServicesOutputWithContext(ctx).OutputState, + } +} + func (i VpcAccessibleServicesArgs) ToVpcAccessibleServicesPtrOutput() VpcAccessibleServicesPtrOutput { return i.ToVpcAccessibleServicesPtrOutputWithContext(context.Background()) } @@ -3825,6 +4462,12 @@ func (i *vpcAccessibleServicesPtrType) ToVpcAccessibleServicesPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(VpcAccessibleServicesPtrOutput) } +func (i *vpcAccessibleServicesPtrType) ToOutput(ctx context.Context) pulumix.Output[*VpcAccessibleServices] { + return pulumix.Output[*VpcAccessibleServices]{ + OutputState: i.ToVpcAccessibleServicesPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how APIs are allowed to communicate within the Service Perimeter. type VpcAccessibleServicesOutput struct{ *pulumi.OutputState } @@ -3850,6 +4493,12 @@ func (o VpcAccessibleServicesOutput) ToVpcAccessibleServicesPtrOutputWithContext }).(VpcAccessibleServicesPtrOutput) } +func (o VpcAccessibleServicesOutput) ToOutput(ctx context.Context) pulumix.Output[VpcAccessibleServices] { + return pulumix.Output[VpcAccessibleServices]{ + OutputState: o.OutputState, + } +} + // The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. func (o VpcAccessibleServicesOutput) AllowedServices() pulumi.StringArrayOutput { return o.ApplyT(func(v VpcAccessibleServices) []string { return v.AllowedServices }).(pulumi.StringArrayOutput) @@ -3874,6 +4523,12 @@ func (o VpcAccessibleServicesPtrOutput) ToVpcAccessibleServicesPtrOutputWithCont return o } +func (o VpcAccessibleServicesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcAccessibleServices] { + return pulumix.Output[*VpcAccessibleServices]{ + OutputState: o.OutputState, + } +} + func (o VpcAccessibleServicesPtrOutput) Elem() VpcAccessibleServicesOutput { return o.ApplyT(func(v *VpcAccessibleServices) VpcAccessibleServices { if v != nil { @@ -3927,6 +4582,12 @@ func (o VpcAccessibleServicesResponseOutput) ToVpcAccessibleServicesResponseOutp return o } +func (o VpcAccessibleServicesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcAccessibleServicesResponse] { + return pulumix.Output[VpcAccessibleServicesResponse]{ + OutputState: o.OutputState, + } +} + // The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. func (o VpcAccessibleServicesResponseOutput) AllowedServices() pulumi.StringArrayOutput { return o.ApplyT(func(v VpcAccessibleServicesResponse) []string { return v.AllowedServices }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/accesscontextmanager/v1/servicePerimeter.go b/sdk/go/google/accesscontextmanager/v1/servicePerimeter.go index 0cdf939bbb..42df5fa5a9 100644 --- a/sdk/go/google/accesscontextmanager/v1/servicePerimeter.go +++ b/sdk/go/google/accesscontextmanager/v1/servicePerimeter.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a service perimeter. The long-running operation from this RPC has a successful status after the service perimeter propagates to long-lasting storage. If a service perimeter contains errors, an error response is returned for the first error encountered. @@ -135,6 +136,12 @@ func (i *ServicePerimeter) ToServicePerimeterOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServicePerimeterOutput) } +func (i *ServicePerimeter) ToOutput(ctx context.Context) pulumix.Output[*ServicePerimeter] { + return pulumix.Output[*ServicePerimeter]{ + OutputState: i.ToServicePerimeterOutputWithContext(ctx).OutputState, + } +} + type ServicePerimeterOutput struct{ *pulumi.OutputState } func (ServicePerimeterOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServicePerimeterOutput) ToServicePerimeterOutputWithContext(ctx context. return o } +func (o ServicePerimeterOutput) ToOutput(ctx context.Context) pulumix.Output[*ServicePerimeter] { + return pulumix.Output[*ServicePerimeter]{ + OutputState: o.OutputState, + } +} + func (o ServicePerimeterOutput) AccessPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *ServicePerimeter) pulumi.StringOutput { return v.AccessPolicyId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/accesscontextmanager/v1beta/accessLevel.go b/sdk/go/google/accesscontextmanager/v1beta/accessLevel.go index b65f04e8a6..ac4a052cb4 100644 --- a/sdk/go/google/accesscontextmanager/v1beta/accessLevel.go +++ b/sdk/go/google/accesscontextmanager/v1beta/accessLevel.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an Access Level. The longrunning operation from this RPC will have a successful status once the Access Level has propagated to long-lasting storage. Access Levels containing errors will result in an error response for the first error encountered. @@ -127,6 +128,12 @@ func (i *AccessLevel) ToAccessLevelOutputWithContext(ctx context.Context) Access return pulumi.ToOutputWithContext(ctx, i).(AccessLevelOutput) } +func (i *AccessLevel) ToOutput(ctx context.Context) pulumix.Output[*AccessLevel] { + return pulumix.Output[*AccessLevel]{ + OutputState: i.ToAccessLevelOutputWithContext(ctx).OutputState, + } +} + type AccessLevelOutput struct{ *pulumi.OutputState } func (AccessLevelOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o AccessLevelOutput) ToAccessLevelOutputWithContext(ctx context.Context) A return o } +func (o AccessLevelOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessLevel] { + return pulumix.Output[*AccessLevel]{ + OutputState: o.OutputState, + } +} + func (o AccessLevelOutput) AccessPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *AccessLevel) pulumi.StringOutput { return v.AccessPolicyId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/accesscontextmanager/v1beta/accessPolicy.go b/sdk/go/google/accesscontextmanager/v1beta/accessPolicy.go index 8c45e130a8..86eb3177bc 100644 --- a/sdk/go/google/accesscontextmanager/v1beta/accessPolicy.go +++ b/sdk/go/google/accesscontextmanager/v1beta/accessPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an `AccessPolicy`. Fails if this organization already has a `AccessPolicy`. The longrunning Operation will have a successful status once the `AccessPolicy` has propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in `metadata` as a BadRequest proto. @@ -108,6 +109,12 @@ func (i *AccessPolicy) ToAccessPolicyOutputWithContext(ctx context.Context) Acce return pulumi.ToOutputWithContext(ctx, i).(AccessPolicyOutput) } +func (i *AccessPolicy) ToOutput(ctx context.Context) pulumix.Output[*AccessPolicy] { + return pulumix.Output[*AccessPolicy]{ + OutputState: i.ToAccessPolicyOutputWithContext(ctx).OutputState, + } +} + type AccessPolicyOutput struct{ *pulumi.OutputState } func (AccessPolicyOutput) ElementType() reflect.Type { @@ -122,6 +129,12 @@ func (o AccessPolicyOutput) ToAccessPolicyOutputWithContext(ctx context.Context) return o } +func (o AccessPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessPolicy] { + return pulumix.Output[*AccessPolicy]{ + OutputState: o.OutputState, + } +} + // Resource name of the `AccessPolicy`. Format: `accessPolicies/{policy_id}` func (o AccessPolicyOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *AccessPolicy) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/accesscontextmanager/v1beta/getAccessLevel.go b/sdk/go/google/accesscontextmanager/v1beta/getAccessLevel.go index ab34001adf..ca5befa44e 100644 --- a/sdk/go/google/accesscontextmanager/v1beta/getAccessLevel.go +++ b/sdk/go/google/accesscontextmanager/v1beta/getAccessLevel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get an Access Level by resource name. @@ -78,6 +79,12 @@ func (o LookupAccessLevelResultOutput) ToLookupAccessLevelResultOutputWithContex return o } +func (o LookupAccessLevelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAccessLevelResult] { + return pulumix.Output[LookupAccessLevelResult]{ + OutputState: o.OutputState, + } +} + // A `BasicLevel` composed of `Conditions`. func (o LookupAccessLevelResultOutput) Basic() BasicLevelResponseOutput { return o.ApplyT(func(v LookupAccessLevelResult) BasicLevelResponse { return v.Basic }).(BasicLevelResponseOutput) diff --git a/sdk/go/google/accesscontextmanager/v1beta/getAccessPolicy.go b/sdk/go/google/accesscontextmanager/v1beta/getAccessPolicy.go index 66f5ea3a09..b54dc63a97 100644 --- a/sdk/go/google/accesscontextmanager/v1beta/getAccessPolicy.go +++ b/sdk/go/google/accesscontextmanager/v1beta/getAccessPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get an AccessPolicy by name. @@ -70,6 +71,12 @@ func (o LookupAccessPolicyResultOutput) ToLookupAccessPolicyResultOutputWithCont return o } +func (o LookupAccessPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAccessPolicyResult] { + return pulumix.Output[LookupAccessPolicyResult]{ + OutputState: o.OutputState, + } +} + // Resource name of the `AccessPolicy`. Format: `accessPolicies/{policy_id}` func (o LookupAccessPolicyResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupAccessPolicyResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/accesscontextmanager/v1beta/getServicePerimeter.go b/sdk/go/google/accesscontextmanager/v1beta/getServicePerimeter.go index 05474a67ac..f618a6df7d 100644 --- a/sdk/go/google/accesscontextmanager/v1beta/getServicePerimeter.go +++ b/sdk/go/google/accesscontextmanager/v1beta/getServicePerimeter.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a Service Perimeter by resource name. @@ -76,6 +77,12 @@ func (o LookupServicePerimeterResultOutput) ToLookupServicePerimeterResultOutput return o } +func (o LookupServicePerimeterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServicePerimeterResult] { + return pulumix.Output[LookupServicePerimeterResult]{ + OutputState: o.OutputState, + } +} + // Description of the `ServicePerimeter` and its use. Does not affect behavior. func (o LookupServicePerimeterResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupServicePerimeterResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/accesscontextmanager/v1beta/pulumiEnums.go b/sdk/go/google/accesscontextmanager/v1beta/pulumiEnums.go index 9e06343349..26d2692b4b 100644 --- a/sdk/go/google/accesscontextmanager/v1beta/pulumiEnums.go +++ b/sdk/go/google/accesscontextmanager/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. @@ -80,6 +81,12 @@ func (o BasicLevelCombiningFunctionOutput) ToBasicLevelCombiningFunctionPtrOutpu }).(BasicLevelCombiningFunctionPtrOutput) } +func (o BasicLevelCombiningFunctionOutput) ToOutput(ctx context.Context) pulumix.Output[BasicLevelCombiningFunction] { + return pulumix.Output[BasicLevelCombiningFunction]{ + OutputState: o.OutputState, + } +} + func (o BasicLevelCombiningFunctionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o BasicLevelCombiningFunctionPtrOutput) ToBasicLevelCombiningFunctionPtrOu return o } +func (o BasicLevelCombiningFunctionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicLevelCombiningFunction] { + return pulumix.Output[*BasicLevelCombiningFunction]{ + OutputState: o.OutputState, + } +} + func (o BasicLevelCombiningFunctionPtrOutput) Elem() BasicLevelCombiningFunctionOutput { return o.ApplyT(func(v *BasicLevelCombiningFunction) BasicLevelCombiningFunction { if v != nil { @@ -177,6 +190,12 @@ func (in *basicLevelCombiningFunctionPtr) ToBasicLevelCombiningFunctionPtrOutput return pulumi.ToOutputWithContext(ctx, in).(BasicLevelCombiningFunctionPtrOutput) } +func (in *basicLevelCombiningFunctionPtr) ToOutput(ctx context.Context) pulumix.Output[*BasicLevelCombiningFunction] { + return pulumix.Output[*BasicLevelCombiningFunction]{ + OutputState: in.ToBasicLevelCombiningFunctionPtrOutputWithContext(ctx).OutputState, + } +} + type DevicePolicyAllowedDeviceManagementLevelsItem string const ( @@ -250,6 +269,12 @@ func (o DevicePolicyAllowedDeviceManagementLevelsItemOutput) ToDevicePolicyAllow }).(DevicePolicyAllowedDeviceManagementLevelsItemPtrOutput) } +func (o DevicePolicyAllowedDeviceManagementLevelsItemOutput) ToOutput(ctx context.Context) pulumix.Output[DevicePolicyAllowedDeviceManagementLevelsItem] { + return pulumix.Output[DevicePolicyAllowedDeviceManagementLevelsItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedDeviceManagementLevelsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -285,6 +310,12 @@ func (o DevicePolicyAllowedDeviceManagementLevelsItemPtrOutput) ToDevicePolicyAl return o } +func (o DevicePolicyAllowedDeviceManagementLevelsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicyAllowedDeviceManagementLevelsItem] { + return pulumix.Output[*DevicePolicyAllowedDeviceManagementLevelsItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedDeviceManagementLevelsItemPtrOutput) Elem() DevicePolicyAllowedDeviceManagementLevelsItemOutput { return o.ApplyT(func(v *DevicePolicyAllowedDeviceManagementLevelsItem) DevicePolicyAllowedDeviceManagementLevelsItem { if v != nil { @@ -347,6 +378,12 @@ func (in *devicePolicyAllowedDeviceManagementLevelsItemPtr) ToDevicePolicyAllowe return pulumi.ToOutputWithContext(ctx, in).(DevicePolicyAllowedDeviceManagementLevelsItemPtrOutput) } +func (in *devicePolicyAllowedDeviceManagementLevelsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicyAllowedDeviceManagementLevelsItem] { + return pulumix.Output[*DevicePolicyAllowedDeviceManagementLevelsItem]{ + OutputState: in.ToDevicePolicyAllowedDeviceManagementLevelsItemPtrOutputWithContext(ctx).OutputState, + } +} + // DevicePolicyAllowedDeviceManagementLevelsItemArrayInput is an input type that accepts DevicePolicyAllowedDeviceManagementLevelsItemArray and DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput values. // You can construct a concrete instance of `DevicePolicyAllowedDeviceManagementLevelsItemArrayInput` via: // @@ -372,6 +409,12 @@ func (i DevicePolicyAllowedDeviceManagementLevelsItemArray) ToDevicePolicyAllowe return pulumi.ToOutputWithContext(ctx, i).(DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput) } +func (i DevicePolicyAllowedDeviceManagementLevelsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]DevicePolicyAllowedDeviceManagementLevelsItem] { + return pulumix.Output[[]DevicePolicyAllowedDeviceManagementLevelsItem]{ + OutputState: i.ToDevicePolicyAllowedDeviceManagementLevelsItemArrayOutputWithContext(ctx).OutputState, + } +} + type DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput struct{ *pulumi.OutputState } func (DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput) ElementType() reflect.Type { @@ -386,6 +429,12 @@ func (o DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput) ToDevicePolicy return o } +func (o DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DevicePolicyAllowedDeviceManagementLevelsItem] { + return pulumix.Output[[]DevicePolicyAllowedDeviceManagementLevelsItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput) Index(i pulumi.IntInput) DevicePolicyAllowedDeviceManagementLevelsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DevicePolicyAllowedDeviceManagementLevelsItem { return vs[0].([]DevicePolicyAllowedDeviceManagementLevelsItem)[vs[1].(int)] @@ -465,6 +514,12 @@ func (o DevicePolicyAllowedEncryptionStatusesItemOutput) ToDevicePolicyAllowedEn }).(DevicePolicyAllowedEncryptionStatusesItemPtrOutput) } +func (o DevicePolicyAllowedEncryptionStatusesItemOutput) ToOutput(ctx context.Context) pulumix.Output[DevicePolicyAllowedEncryptionStatusesItem] { + return pulumix.Output[DevicePolicyAllowedEncryptionStatusesItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedEncryptionStatusesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -500,6 +555,12 @@ func (o DevicePolicyAllowedEncryptionStatusesItemPtrOutput) ToDevicePolicyAllowe return o } +func (o DevicePolicyAllowedEncryptionStatusesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicyAllowedEncryptionStatusesItem] { + return pulumix.Output[*DevicePolicyAllowedEncryptionStatusesItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedEncryptionStatusesItemPtrOutput) Elem() DevicePolicyAllowedEncryptionStatusesItemOutput { return o.ApplyT(func(v *DevicePolicyAllowedEncryptionStatusesItem) DevicePolicyAllowedEncryptionStatusesItem { if v != nil { @@ -562,6 +623,12 @@ func (in *devicePolicyAllowedEncryptionStatusesItemPtr) ToDevicePolicyAllowedEnc return pulumi.ToOutputWithContext(ctx, in).(DevicePolicyAllowedEncryptionStatusesItemPtrOutput) } +func (in *devicePolicyAllowedEncryptionStatusesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicyAllowedEncryptionStatusesItem] { + return pulumix.Output[*DevicePolicyAllowedEncryptionStatusesItem]{ + OutputState: in.ToDevicePolicyAllowedEncryptionStatusesItemPtrOutputWithContext(ctx).OutputState, + } +} + // DevicePolicyAllowedEncryptionStatusesItemArrayInput is an input type that accepts DevicePolicyAllowedEncryptionStatusesItemArray and DevicePolicyAllowedEncryptionStatusesItemArrayOutput values. // You can construct a concrete instance of `DevicePolicyAllowedEncryptionStatusesItemArrayInput` via: // @@ -587,6 +654,12 @@ func (i DevicePolicyAllowedEncryptionStatusesItemArray) ToDevicePolicyAllowedEnc return pulumi.ToOutputWithContext(ctx, i).(DevicePolicyAllowedEncryptionStatusesItemArrayOutput) } +func (i DevicePolicyAllowedEncryptionStatusesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]DevicePolicyAllowedEncryptionStatusesItem] { + return pulumix.Output[[]DevicePolicyAllowedEncryptionStatusesItem]{ + OutputState: i.ToDevicePolicyAllowedEncryptionStatusesItemArrayOutputWithContext(ctx).OutputState, + } +} + type DevicePolicyAllowedEncryptionStatusesItemArrayOutput struct{ *pulumi.OutputState } func (DevicePolicyAllowedEncryptionStatusesItemArrayOutput) ElementType() reflect.Type { @@ -601,6 +674,12 @@ func (o DevicePolicyAllowedEncryptionStatusesItemArrayOutput) ToDevicePolicyAllo return o } +func (o DevicePolicyAllowedEncryptionStatusesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DevicePolicyAllowedEncryptionStatusesItem] { + return pulumix.Output[[]DevicePolicyAllowedEncryptionStatusesItem]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyAllowedEncryptionStatusesItemArrayOutput) Index(i pulumi.IntInput) DevicePolicyAllowedEncryptionStatusesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DevicePolicyAllowedEncryptionStatusesItem { return vs[0].([]DevicePolicyAllowedEncryptionStatusesItem)[vs[1].(int)] @@ -687,6 +766,12 @@ func (o OsConstraintOsTypeOutput) ToOsConstraintOsTypePtrOutputWithContext(ctx c }).(OsConstraintOsTypePtrOutput) } +func (o OsConstraintOsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OsConstraintOsType] { + return pulumix.Output[OsConstraintOsType]{ + OutputState: o.OutputState, + } +} + func (o OsConstraintOsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -722,6 +807,12 @@ func (o OsConstraintOsTypePtrOutput) ToOsConstraintOsTypePtrOutputWithContext(ct return o } +func (o OsConstraintOsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OsConstraintOsType] { + return pulumix.Output[*OsConstraintOsType]{ + OutputState: o.OutputState, + } +} + func (o OsConstraintOsTypePtrOutput) Elem() OsConstraintOsTypeOutput { return o.ApplyT(func(v *OsConstraintOsType) OsConstraintOsType { if v != nil { @@ -784,6 +875,12 @@ func (in *osConstraintOsTypePtr) ToOsConstraintOsTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(OsConstraintOsTypePtrOutput) } +func (in *osConstraintOsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OsConstraintOsType] { + return pulumix.Output[*OsConstraintOsType]{ + OutputState: in.ToOsConstraintOsTypePtrOutputWithContext(ctx).OutputState, + } +} + // Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, restricted/unrestricted service lists as well as access lists must be empty. type ServicePerimeterPerimeterType string @@ -854,6 +951,12 @@ func (o ServicePerimeterPerimeterTypeOutput) ToServicePerimeterPerimeterTypePtrO }).(ServicePerimeterPerimeterTypePtrOutput) } +func (o ServicePerimeterPerimeterTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServicePerimeterPerimeterType] { + return pulumix.Output[ServicePerimeterPerimeterType]{ + OutputState: o.OutputState, + } +} + func (o ServicePerimeterPerimeterTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -889,6 +992,12 @@ func (o ServicePerimeterPerimeterTypePtrOutput) ToServicePerimeterPerimeterTypeP return o } +func (o ServicePerimeterPerimeterTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServicePerimeterPerimeterType] { + return pulumix.Output[*ServicePerimeterPerimeterType]{ + OutputState: o.OutputState, + } +} + func (o ServicePerimeterPerimeterTypePtrOutput) Elem() ServicePerimeterPerimeterTypeOutput { return o.ApplyT(func(v *ServicePerimeterPerimeterType) ServicePerimeterPerimeterType { if v != nil { @@ -951,6 +1060,12 @@ func (in *servicePerimeterPerimeterTypePtr) ToServicePerimeterPerimeterTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(ServicePerimeterPerimeterTypePtrOutput) } +func (in *servicePerimeterPerimeterTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServicePerimeterPerimeterType] { + return pulumix.Output[*ServicePerimeterPerimeterType]{ + OutputState: in.ToServicePerimeterPerimeterTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*BasicLevelCombiningFunctionInput)(nil)).Elem(), BasicLevelCombiningFunction("AND")) pulumi.RegisterInputType(reflect.TypeOf((*BasicLevelCombiningFunctionPtrInput)(nil)).Elem(), BasicLevelCombiningFunction("AND")) diff --git a/sdk/go/google/accesscontextmanager/v1beta/pulumiTypes.go b/sdk/go/google/accesscontextmanager/v1beta/pulumiTypes.go index d5c1387069..8534d82f58 100644 --- a/sdk/go/google/accesscontextmanager/v1beta/pulumiTypes.go +++ b/sdk/go/google/accesscontextmanager/v1beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i BasicLevelArgs) ToBasicLevelOutputWithContext(ctx context.Context) Basic return pulumi.ToOutputWithContext(ctx, i).(BasicLevelOutput) } +func (i BasicLevelArgs) ToOutput(ctx context.Context) pulumix.Output[BasicLevel] { + return pulumix.Output[BasicLevel]{ + OutputState: i.ToBasicLevelOutputWithContext(ctx).OutputState, + } +} + func (i BasicLevelArgs) ToBasicLevelPtrOutput() BasicLevelPtrOutput { return i.ToBasicLevelPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *basicLevelPtrType) ToBasicLevelPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(BasicLevelPtrOutput) } +func (i *basicLevelPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicLevel] { + return pulumix.Output[*BasicLevel]{ + OutputState: i.ToBasicLevelPtrOutputWithContext(ctx).OutputState, + } +} + // `BasicLevel` is an `AccessLevel` using a set of recommended features. type BasicLevelOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o BasicLevelOutput) ToBasicLevelPtrOutputWithContext(ctx context.Context) }).(BasicLevelPtrOutput) } +func (o BasicLevelOutput) ToOutput(ctx context.Context) pulumix.Output[BasicLevel] { + return pulumix.Output[BasicLevel]{ + OutputState: o.OutputState, + } +} + // How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. func (o BasicLevelOutput) CombiningFunction() BasicLevelCombiningFunctionPtrOutput { return o.ApplyT(func(v BasicLevel) *BasicLevelCombiningFunction { return v.CombiningFunction }).(BasicLevelCombiningFunctionPtrOutput) @@ -142,6 +161,12 @@ func (o BasicLevelPtrOutput) ToBasicLevelPtrOutputWithContext(ctx context.Contex return o } +func (o BasicLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicLevel] { + return pulumix.Output[*BasicLevel]{ + OutputState: o.OutputState, + } +} + func (o BasicLevelPtrOutput) Elem() BasicLevelOutput { return o.ApplyT(func(v *BasicLevel) BasicLevel { if v != nil { @@ -195,6 +220,12 @@ func (o BasicLevelResponseOutput) ToBasicLevelResponseOutputWithContext(ctx cont return o } +func (o BasicLevelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicLevelResponse] { + return pulumix.Output[BasicLevelResponse]{ + OutputState: o.OutputState, + } +} + // How the `conditions` list should be combined to determine if a request is granted this `AccessLevel`. If AND is used, each `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. If OR is used, at least one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be applied. Default behavior is AND. func (o BasicLevelResponseOutput) CombiningFunction() pulumi.StringOutput { return o.ApplyT(func(v BasicLevelResponse) string { return v.CombiningFunction }).(pulumi.StringOutput) @@ -260,6 +291,12 @@ func (i ConditionArgs) ToConditionOutputWithContext(ctx context.Context) Conditi return pulumi.ToOutputWithContext(ctx, i).(ConditionOutput) } +func (i ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: i.ToConditionOutputWithContext(ctx).OutputState, + } +} + // ConditionArrayInput is an input type that accepts ConditionArray and ConditionArrayOutput values. // You can construct a concrete instance of `ConditionArrayInput` via: // @@ -285,6 +322,12 @@ func (i ConditionArray) ToConditionArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ConditionArrayOutput) } +func (i ConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: i.ToConditionArrayOutputWithContext(ctx).OutputState, + } +} + // A condition necessary for an `AccessLevel` to be granted. The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction. type ConditionOutput struct{ *pulumi.OutputState } @@ -300,6 +343,12 @@ func (o ConditionOutput) ToConditionOutputWithContext(ctx context.Context) Condi return o } +func (o ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: o.OutputState, + } +} + // Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. func (o ConditionOutput) DevicePolicy() DevicePolicyPtrOutput { return o.ApplyT(func(v Condition) *DevicePolicy { return v.DevicePolicy }).(DevicePolicyPtrOutput) @@ -344,6 +393,12 @@ func (o ConditionArrayOutput) ToConditionArrayOutputWithContext(ctx context.Cont return o } +func (o ConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: o.OutputState, + } +} + func (o ConditionArrayOutput) Index(i pulumi.IntInput) ConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Condition { return vs[0].([]Condition)[vs[1].(int)] @@ -381,6 +436,12 @@ func (o ConditionResponseOutput) ToConditionResponseOutputWithContext(ctx contex return o } +func (o ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionResponse] { + return pulumix.Output[ConditionResponse]{ + OutputState: o.OutputState, + } +} + // Device specific restrictions, all restrictions must hold for the Condition to be true. If not specified, all devices are allowed. func (o ConditionResponseOutput) DevicePolicy() DevicePolicyResponseOutput { return o.ApplyT(func(v ConditionResponse) DevicePolicyResponse { return v.DevicePolicy }).(DevicePolicyResponseOutput) @@ -425,6 +486,12 @@ func (o ConditionResponseArrayOutput) ToConditionResponseArrayOutputWithContext( return o } +func (o ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConditionResponse] { + return pulumix.Output[[]ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o ConditionResponseArrayOutput) Index(i pulumi.IntInput) ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConditionResponse { return vs[0].([]ConditionResponse)[vs[1].(int)] @@ -466,6 +533,12 @@ func (i CustomLevelArgs) ToCustomLevelOutputWithContext(ctx context.Context) Cus return pulumi.ToOutputWithContext(ctx, i).(CustomLevelOutput) } +func (i CustomLevelArgs) ToOutput(ctx context.Context) pulumix.Output[CustomLevel] { + return pulumix.Output[CustomLevel]{ + OutputState: i.ToCustomLevelOutputWithContext(ctx).OutputState, + } +} + func (i CustomLevelArgs) ToCustomLevelPtrOutput() CustomLevelPtrOutput { return i.ToCustomLevelPtrOutputWithContext(context.Background()) } @@ -507,6 +580,12 @@ func (i *customLevelPtrType) ToCustomLevelPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(CustomLevelPtrOutput) } +func (i *customLevelPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomLevel] { + return pulumix.Output[*CustomLevel]{ + OutputState: i.ToCustomLevelPtrOutputWithContext(ctx).OutputState, + } +} + // `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec type CustomLevelOutput struct{ *pulumi.OutputState } @@ -532,6 +611,12 @@ func (o CustomLevelOutput) ToCustomLevelPtrOutputWithContext(ctx context.Context }).(CustomLevelPtrOutput) } +func (o CustomLevelOutput) ToOutput(ctx context.Context) pulumix.Output[CustomLevel] { + return pulumix.Output[CustomLevel]{ + OutputState: o.OutputState, + } +} + // A Cloud CEL expression evaluating to a boolean. func (o CustomLevelOutput) Expr() ExprOutput { return o.ApplyT(func(v CustomLevel) Expr { return v.Expr }).(ExprOutput) @@ -551,6 +636,12 @@ func (o CustomLevelPtrOutput) ToCustomLevelPtrOutputWithContext(ctx context.Cont return o } +func (o CustomLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomLevel] { + return pulumix.Output[*CustomLevel]{ + OutputState: o.OutputState, + } +} + func (o CustomLevelPtrOutput) Elem() CustomLevelOutput { return o.ApplyT(func(v *CustomLevel) CustomLevel { if v != nil { @@ -592,6 +683,12 @@ func (o CustomLevelResponseOutput) ToCustomLevelResponseOutputWithContext(ctx co return o } +func (o CustomLevelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomLevelResponse] { + return pulumix.Output[CustomLevelResponse]{ + OutputState: o.OutputState, + } +} + // A Cloud CEL expression evaluating to a boolean. func (o CustomLevelResponseOutput) Expr() ExprResponseOutput { return o.ApplyT(func(v CustomLevelResponse) ExprResponse { return v.Expr }).(ExprResponseOutput) @@ -652,6 +749,12 @@ func (i DevicePolicyArgs) ToDevicePolicyOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DevicePolicyOutput) } +func (i DevicePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[DevicePolicy] { + return pulumix.Output[DevicePolicy]{ + OutputState: i.ToDevicePolicyOutputWithContext(ctx).OutputState, + } +} + func (i DevicePolicyArgs) ToDevicePolicyPtrOutput() DevicePolicyPtrOutput { return i.ToDevicePolicyPtrOutputWithContext(context.Background()) } @@ -693,6 +796,12 @@ func (i *devicePolicyPtrType) ToDevicePolicyPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DevicePolicyPtrOutput) } +func (i *devicePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicy] { + return pulumix.Output[*DevicePolicy]{ + OutputState: i.ToDevicePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // `DevicePolicy` specifies device specific restrictions necessary to acquire a given access level. A `DevicePolicy` specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. `DevicePolicy` acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops. type DevicePolicyOutput struct{ *pulumi.OutputState } @@ -718,6 +827,12 @@ func (o DevicePolicyOutput) ToDevicePolicyPtrOutputWithContext(ctx context.Conte }).(DevicePolicyPtrOutput) } +func (o DevicePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[DevicePolicy] { + return pulumix.Output[DevicePolicy]{ + OutputState: o.OutputState, + } +} + // Allowed device management levels, an empty list allows all management levels. func (o DevicePolicyOutput) AllowedDeviceManagementLevels() DevicePolicyAllowedDeviceManagementLevelsItemArrayOutput { return o.ApplyT(func(v DevicePolicy) []DevicePolicyAllowedDeviceManagementLevelsItem { @@ -764,6 +879,12 @@ func (o DevicePolicyPtrOutput) ToDevicePolicyPtrOutputWithContext(ctx context.Co return o } +func (o DevicePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DevicePolicy] { + return pulumix.Output[*DevicePolicy]{ + OutputState: o.OutputState, + } +} + func (o DevicePolicyPtrOutput) Elem() DevicePolicyOutput { return o.ApplyT(func(v *DevicePolicy) DevicePolicy { if v != nil { @@ -865,6 +986,12 @@ func (o DevicePolicyResponseOutput) ToDevicePolicyResponseOutputWithContext(ctx return o } +func (o DevicePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DevicePolicyResponse] { + return pulumix.Output[DevicePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Allowed device management levels, an empty list allows all management levels. func (o DevicePolicyResponseOutput) AllowedDeviceManagementLevels() pulumi.StringArrayOutput { return o.ApplyT(func(v DevicePolicyResponse) []string { return v.AllowedDeviceManagementLevels }).(pulumi.StringArrayOutput) @@ -942,6 +1069,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -983,6 +1116,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1008,6 +1147,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1042,6 +1187,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1119,6 +1270,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1182,6 +1339,12 @@ func (i OsConstraintArgs) ToOsConstraintOutputWithContext(ctx context.Context) O return pulumi.ToOutputWithContext(ctx, i).(OsConstraintOutput) } +func (i OsConstraintArgs) ToOutput(ctx context.Context) pulumix.Output[OsConstraint] { + return pulumix.Output[OsConstraint]{ + OutputState: i.ToOsConstraintOutputWithContext(ctx).OutputState, + } +} + // OsConstraintArrayInput is an input type that accepts OsConstraintArray and OsConstraintArrayOutput values. // You can construct a concrete instance of `OsConstraintArrayInput` via: // @@ -1207,6 +1370,12 @@ func (i OsConstraintArray) ToOsConstraintArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OsConstraintArrayOutput) } +func (i OsConstraintArray) ToOutput(ctx context.Context) pulumix.Output[[]OsConstraint] { + return pulumix.Output[[]OsConstraint]{ + OutputState: i.ToOsConstraintArrayOutputWithContext(ctx).OutputState, + } +} + // A restriction on the OS type and version of devices making requests. type OsConstraintOutput struct{ *pulumi.OutputState } @@ -1222,6 +1391,12 @@ func (o OsConstraintOutput) ToOsConstraintOutputWithContext(ctx context.Context) return o } +func (o OsConstraintOutput) ToOutput(ctx context.Context) pulumix.Output[OsConstraint] { + return pulumix.Output[OsConstraint]{ + OutputState: o.OutputState, + } +} + // The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. func (o OsConstraintOutput) MinimumVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v OsConstraint) *string { return v.MinimumVersion }).(pulumi.StringPtrOutput) @@ -1251,6 +1426,12 @@ func (o OsConstraintArrayOutput) ToOsConstraintArrayOutputWithContext(ctx contex return o } +func (o OsConstraintArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OsConstraint] { + return pulumix.Output[[]OsConstraint]{ + OutputState: o.OutputState, + } +} + func (o OsConstraintArrayOutput) Index(i pulumi.IntInput) OsConstraintOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OsConstraint { return vs[0].([]OsConstraint)[vs[1].(int)] @@ -1282,6 +1463,12 @@ func (o OsConstraintResponseOutput) ToOsConstraintResponseOutputWithContext(ctx return o } +func (o OsConstraintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OsConstraintResponse] { + return pulumix.Output[OsConstraintResponse]{ + OutputState: o.OutputState, + } +} + // The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"`. func (o OsConstraintResponseOutput) MinimumVersion() pulumi.StringOutput { return o.ApplyT(func(v OsConstraintResponse) string { return v.MinimumVersion }).(pulumi.StringOutput) @@ -1311,6 +1498,12 @@ func (o OsConstraintResponseArrayOutput) ToOsConstraintResponseArrayOutputWithCo return o } +func (o OsConstraintResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OsConstraintResponse] { + return pulumix.Output[[]OsConstraintResponse]{ + OutputState: o.OutputState, + } +} + func (o OsConstraintResponseArrayOutput) Index(i pulumi.IntInput) OsConstraintResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OsConstraintResponse { return vs[0].([]OsConstraintResponse)[vs[1].(int)] @@ -1364,6 +1557,12 @@ func (o ServicePerimeterConfigResponseOutput) ToServicePerimeterConfigResponseOu return o } +func (o ServicePerimeterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServicePerimeterConfigResponse] { + return pulumix.Output[ServicePerimeterConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of `AccessLevel` resource names that allow resources within the `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty. func (o ServicePerimeterConfigResponseOutput) AccessLevels() pulumi.StringArrayOutput { return o.ApplyT(func(v ServicePerimeterConfigResponse) []string { return v.AccessLevels }).(pulumi.StringArrayOutput) @@ -1422,6 +1621,12 @@ func (o VpcAccessibleServicesResponseOutput) ToVpcAccessibleServicesResponseOutp return o } +func (o VpcAccessibleServicesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcAccessibleServicesResponse] { + return pulumix.Output[VpcAccessibleServicesResponse]{ + OutputState: o.OutputState, + } +} + // The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter. func (o VpcAccessibleServicesResponseOutput) AllowedServices() pulumi.StringArrayOutput { return o.ApplyT(func(v VpcAccessibleServicesResponse) []string { return v.AllowedServices }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/accesscontextmanager/v1beta/servicePerimeter.go b/sdk/go/google/accesscontextmanager/v1beta/servicePerimeter.go index 1946452f03..7c316e97de 100644 --- a/sdk/go/google/accesscontextmanager/v1beta/servicePerimeter.go +++ b/sdk/go/google/accesscontextmanager/v1beta/servicePerimeter.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a Service Perimeter. The longrunning operation from this RPC will have a successful status once the Service Perimeter has propagated to long-lasting storage. Service Perimeters containing errors will result in an error response for the first error encountered. @@ -123,6 +124,12 @@ func (i *ServicePerimeter) ToServicePerimeterOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServicePerimeterOutput) } +func (i *ServicePerimeter) ToOutput(ctx context.Context) pulumix.Output[*ServicePerimeter] { + return pulumix.Output[*ServicePerimeter]{ + OutputState: i.ToServicePerimeterOutputWithContext(ctx).OutputState, + } +} + type ServicePerimeterOutput struct{ *pulumi.OutputState } func (ServicePerimeterOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o ServicePerimeterOutput) ToServicePerimeterOutputWithContext(ctx context. return o } +func (o ServicePerimeterOutput) ToOutput(ctx context.Context) pulumix.Output[*ServicePerimeter] { + return pulumix.Output[*ServicePerimeter]{ + OutputState: o.OutputState, + } +} + func (o ServicePerimeterOutput) AccessPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *ServicePerimeter) pulumi.StringOutput { return v.AccessPolicyId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/analyticshub/v1/dataExchange.go b/sdk/go/google/analyticshub/v1/dataExchange.go index bc9dc4b5c6..958e631c98 100644 --- a/sdk/go/google/analyticshub/v1/dataExchange.go +++ b/sdk/go/google/analyticshub/v1/dataExchange.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new data exchange. @@ -146,6 +147,12 @@ func (i *DataExchange) ToDataExchangeOutputWithContext(ctx context.Context) Data return pulumi.ToOutputWithContext(ctx, i).(DataExchangeOutput) } +func (i *DataExchange) ToOutput(ctx context.Context) pulumix.Output[*DataExchange] { + return pulumix.Output[*DataExchange]{ + OutputState: i.ToDataExchangeOutputWithContext(ctx).OutputState, + } +} + type DataExchangeOutput struct{ *pulumi.OutputState } func (DataExchangeOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o DataExchangeOutput) ToDataExchangeOutputWithContext(ctx context.Context) return o } +func (o DataExchangeOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchange] { + return pulumix.Output[*DataExchange]{ + OutputState: o.OutputState, + } +} + // Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes. func (o DataExchangeOutput) DataExchangeId() pulumi.StringOutput { return o.ApplyT(func(v *DataExchange) pulumi.StringOutput { return v.DataExchangeId }).(pulumi.StringOutput) diff --git a/sdk/go/google/analyticshub/v1/dataExchangeIamBinding.go b/sdk/go/google/analyticshub/v1/dataExchangeIamBinding.go index 8d5871f642..a418f9504c 100644 --- a/sdk/go/google/analyticshub/v1/dataExchangeIamBinding.go +++ b/sdk/go/google/analyticshub/v1/dataExchangeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -135,6 +136,12 @@ func (i *DataExchangeIamBinding) ToDataExchangeIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DataExchangeIamBindingOutput) } +func (i *DataExchangeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamBinding] { + return pulumix.Output[*DataExchangeIamBinding]{ + OutputState: i.ToDataExchangeIamBindingOutputWithContext(ctx).OutputState, + } +} + type DataExchangeIamBindingOutput struct{ *pulumi.OutputState } func (DataExchangeIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataExchangeIamBindingOutput) ToDataExchangeIamBindingOutputWithContext( return o } +func (o DataExchangeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamBinding] { + return pulumix.Output[*DataExchangeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataExchangeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataExchangeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/analyticshub/v1/dataExchangeIamMember.go b/sdk/go/google/analyticshub/v1/dataExchangeIamMember.go index edc944c71c..ffdd98c273 100644 --- a/sdk/go/google/analyticshub/v1/dataExchangeIamMember.go +++ b/sdk/go/google/analyticshub/v1/dataExchangeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -135,6 +136,12 @@ func (i *DataExchangeIamMember) ToDataExchangeIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DataExchangeIamMemberOutput) } +func (i *DataExchangeIamMember) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamMember] { + return pulumix.Output[*DataExchangeIamMember]{ + OutputState: i.ToDataExchangeIamMemberOutputWithContext(ctx).OutputState, + } +} + type DataExchangeIamMemberOutput struct{ *pulumi.OutputState } func (DataExchangeIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataExchangeIamMemberOutput) ToDataExchangeIamMemberOutputWithContext(ct return o } +func (o DataExchangeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamMember] { + return pulumix.Output[*DataExchangeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataExchangeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataExchangeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/analyticshub/v1/dataExchangeIamPolicy.go b/sdk/go/google/analyticshub/v1/dataExchangeIamPolicy.go index 42220f718b..465cf1131b 100644 --- a/sdk/go/google/analyticshub/v1/dataExchangeIamPolicy.go +++ b/sdk/go/google/analyticshub/v1/dataExchangeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -135,6 +136,12 @@ func (i *DataExchangeIamPolicy) ToDataExchangeIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DataExchangeIamPolicyOutput) } +func (i *DataExchangeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamPolicy] { + return pulumix.Output[*DataExchangeIamPolicy]{ + OutputState: i.ToDataExchangeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DataExchangeIamPolicyOutput struct{ *pulumi.OutputState } func (DataExchangeIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataExchangeIamPolicyOutput) ToDataExchangeIamPolicyOutputWithContext(ct return o } +func (o DataExchangeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamPolicy] { + return pulumix.Output[*DataExchangeIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DataExchangeIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DataExchangeIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/analyticshub/v1/dataExchangeListingIamBinding.go b/sdk/go/google/analyticshub/v1/dataExchangeListingIamBinding.go index ddff1c3d22..5c30a80fed 100644 --- a/sdk/go/google/analyticshub/v1/dataExchangeListingIamBinding.go +++ b/sdk/go/google/analyticshub/v1/dataExchangeListingIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -135,6 +136,12 @@ func (i *DataExchangeListingIamBinding) ToDataExchangeListingIamBindingOutputWit return pulumi.ToOutputWithContext(ctx, i).(DataExchangeListingIamBindingOutput) } +func (i *DataExchangeListingIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamBinding] { + return pulumix.Output[*DataExchangeListingIamBinding]{ + OutputState: i.ToDataExchangeListingIamBindingOutputWithContext(ctx).OutputState, + } +} + type DataExchangeListingIamBindingOutput struct{ *pulumi.OutputState } func (DataExchangeListingIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataExchangeListingIamBindingOutput) ToDataExchangeListingIamBindingOutp return o } +func (o DataExchangeListingIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamBinding] { + return pulumix.Output[*DataExchangeListingIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataExchangeListingIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataExchangeListingIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/analyticshub/v1/dataExchangeListingIamMember.go b/sdk/go/google/analyticshub/v1/dataExchangeListingIamMember.go index 7ecb28e46a..cf4c27d378 100644 --- a/sdk/go/google/analyticshub/v1/dataExchangeListingIamMember.go +++ b/sdk/go/google/analyticshub/v1/dataExchangeListingIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -135,6 +136,12 @@ func (i *DataExchangeListingIamMember) ToDataExchangeListingIamMemberOutputWithC return pulumi.ToOutputWithContext(ctx, i).(DataExchangeListingIamMemberOutput) } +func (i *DataExchangeListingIamMember) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamMember] { + return pulumix.Output[*DataExchangeListingIamMember]{ + OutputState: i.ToDataExchangeListingIamMemberOutputWithContext(ctx).OutputState, + } +} + type DataExchangeListingIamMemberOutput struct{ *pulumi.OutputState } func (DataExchangeListingIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataExchangeListingIamMemberOutput) ToDataExchangeListingIamMemberOutput return o } +func (o DataExchangeListingIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamMember] { + return pulumix.Output[*DataExchangeListingIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataExchangeListingIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataExchangeListingIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/analyticshub/v1/dataExchangeListingIamPolicy.go b/sdk/go/google/analyticshub/v1/dataExchangeListingIamPolicy.go index 4ef84e21c2..bf0abc6e69 100644 --- a/sdk/go/google/analyticshub/v1/dataExchangeListingIamPolicy.go +++ b/sdk/go/google/analyticshub/v1/dataExchangeListingIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -142,6 +143,12 @@ func (i *DataExchangeListingIamPolicy) ToDataExchangeListingIamPolicyOutputWithC return pulumi.ToOutputWithContext(ctx, i).(DataExchangeListingIamPolicyOutput) } +func (i *DataExchangeListingIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamPolicy] { + return pulumix.Output[*DataExchangeListingIamPolicy]{ + OutputState: i.ToDataExchangeListingIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DataExchangeListingIamPolicyOutput struct{ *pulumi.OutputState } func (DataExchangeListingIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DataExchangeListingIamPolicyOutput) ToDataExchangeListingIamPolicyOutput return o } +func (o DataExchangeListingIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamPolicy] { + return pulumix.Output[*DataExchangeListingIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DataExchangeListingIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DataExchangeListingIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/analyticshub/v1/getDataExchange.go b/sdk/go/google/analyticshub/v1/getDataExchange.go index f284c90b60..6c7b14158e 100644 --- a/sdk/go/google/analyticshub/v1/getDataExchange.go +++ b/sdk/go/google/analyticshub/v1/getDataExchange.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a data exchange. @@ -82,6 +83,12 @@ func (o LookupDataExchangeResultOutput) ToLookupDataExchangeResultOutputWithCont return o } +func (o LookupDataExchangeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataExchangeResult] { + return pulumix.Output[LookupDataExchangeResult]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes. func (o LookupDataExchangeResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupDataExchangeResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/analyticshub/v1/getDataExchangeIamPolicy.go b/sdk/go/google/analyticshub/v1/getDataExchangeIamPolicy.go index c9a632f7d3..f8f807063f 100644 --- a/sdk/go/google/analyticshub/v1/getDataExchangeIamPolicy.go +++ b/sdk/go/google/analyticshub/v1/getDataExchangeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy. @@ -76,6 +77,12 @@ func (o LookupDataExchangeIamPolicyResultOutput) ToLookupDataExchangeIamPolicyRe return o } +func (o LookupDataExchangeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataExchangeIamPolicyResult] { + return pulumix.Output[LookupDataExchangeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDataExchangeIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDataExchangeIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/analyticshub/v1/getDataExchangeListingIamPolicy.go b/sdk/go/google/analyticshub/v1/getDataExchangeListingIamPolicy.go index fb940c2e49..566075581e 100644 --- a/sdk/go/google/analyticshub/v1/getDataExchangeListingIamPolicy.go +++ b/sdk/go/google/analyticshub/v1/getDataExchangeListingIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy. @@ -78,6 +79,12 @@ func (o LookupDataExchangeListingIamPolicyResultOutput) ToLookupDataExchangeList return o } +func (o LookupDataExchangeListingIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataExchangeListingIamPolicyResult] { + return pulumix.Output[LookupDataExchangeListingIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDataExchangeListingIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDataExchangeListingIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/analyticshub/v1/getListing.go b/sdk/go/google/analyticshub/v1/getListing.go index 63ca869d3a..783152522a 100644 --- a/sdk/go/google/analyticshub/v1/getListing.go +++ b/sdk/go/google/analyticshub/v1/getListing.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a listing. @@ -94,6 +95,12 @@ func (o LookupListingResultOutput) ToLookupListingResultOutputWithContext(ctx co return o } +func (o LookupListingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupListingResult] { + return pulumix.Output[LookupListingResult]{ + OutputState: o.OutputState, + } +} + // Shared dataset i.e. BigQuery dataset source. func (o LookupListingResultOutput) BigqueryDataset() BigQueryDatasetSourceResponseOutput { return o.ApplyT(func(v LookupListingResult) BigQueryDatasetSourceResponse { return v.BigqueryDataset }).(BigQueryDatasetSourceResponseOutput) diff --git a/sdk/go/google/analyticshub/v1/listing.go b/sdk/go/google/analyticshub/v1/listing.go index ac2d6ddfec..289a39f74b 100644 --- a/sdk/go/google/analyticshub/v1/listing.go +++ b/sdk/go/google/analyticshub/v1/listing.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new listing. @@ -186,6 +187,12 @@ func (i *Listing) ToListingOutputWithContext(ctx context.Context) ListingOutput return pulumi.ToOutputWithContext(ctx, i).(ListingOutput) } +func (i *Listing) ToOutput(ctx context.Context) pulumix.Output[*Listing] { + return pulumix.Output[*Listing]{ + OutputState: i.ToListingOutputWithContext(ctx).OutputState, + } +} + type ListingOutput struct{ *pulumi.OutputState } func (ListingOutput) ElementType() reflect.Type { @@ -200,6 +207,12 @@ func (o ListingOutput) ToListingOutputWithContext(ctx context.Context) ListingOu return o } +func (o ListingOutput) ToOutput(ctx context.Context) pulumix.Output[*Listing] { + return pulumix.Output[*Listing]{ + OutputState: o.OutputState, + } +} + // Shared dataset i.e. BigQuery dataset source. func (o ListingOutput) BigqueryDataset() BigQueryDatasetSourceResponseOutput { return o.ApplyT(func(v *Listing) BigQueryDatasetSourceResponseOutput { return v.BigqueryDataset }).(BigQueryDatasetSourceResponseOutput) diff --git a/sdk/go/google/analyticshub/v1/pulumiEnums.go b/sdk/go/google/analyticshub/v1/pulumiEnums.go index bc66efd1d1..41d2fedf9c 100644 --- a/sdk/go/google/analyticshub/v1/pulumiEnums.go +++ b/sdk/go/google/analyticshub/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + type ListingCategoriesItem string const ( @@ -266,6 +285,12 @@ func (o ListingCategoriesItemOutput) ToListingCategoriesItemPtrOutputWithContext }).(ListingCategoriesItemPtrOutput) } +func (o ListingCategoriesItemOutput) ToOutput(ctx context.Context) pulumix.Output[ListingCategoriesItem] { + return pulumix.Output[ListingCategoriesItem]{ + OutputState: o.OutputState, + } +} + func (o ListingCategoriesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -301,6 +326,12 @@ func (o ListingCategoriesItemPtrOutput) ToListingCategoriesItemPtrOutputWithCont return o } +func (o ListingCategoriesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ListingCategoriesItem] { + return pulumix.Output[*ListingCategoriesItem]{ + OutputState: o.OutputState, + } +} + func (o ListingCategoriesItemPtrOutput) Elem() ListingCategoriesItemOutput { return o.ApplyT(func(v *ListingCategoriesItem) ListingCategoriesItem { if v != nil { @@ -363,6 +394,12 @@ func (in *listingCategoriesItemPtr) ToListingCategoriesItemPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ListingCategoriesItemPtrOutput) } +func (in *listingCategoriesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ListingCategoriesItem] { + return pulumix.Output[*ListingCategoriesItem]{ + OutputState: in.ToListingCategoriesItemPtrOutputWithContext(ctx).OutputState, + } +} + // ListingCategoriesItemArrayInput is an input type that accepts ListingCategoriesItemArray and ListingCategoriesItemArrayOutput values. // You can construct a concrete instance of `ListingCategoriesItemArrayInput` via: // @@ -388,6 +425,12 @@ func (i ListingCategoriesItemArray) ToListingCategoriesItemArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ListingCategoriesItemArrayOutput) } +func (i ListingCategoriesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ListingCategoriesItem] { + return pulumix.Output[[]ListingCategoriesItem]{ + OutputState: i.ToListingCategoriesItemArrayOutputWithContext(ctx).OutputState, + } +} + type ListingCategoriesItemArrayOutput struct{ *pulumi.OutputState } func (ListingCategoriesItemArrayOutput) ElementType() reflect.Type { @@ -402,6 +445,12 @@ func (o ListingCategoriesItemArrayOutput) ToListingCategoriesItemArrayOutputWith return o } +func (o ListingCategoriesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ListingCategoriesItem] { + return pulumix.Output[[]ListingCategoriesItem]{ + OutputState: o.OutputState, + } +} + func (o ListingCategoriesItemArrayOutput) Index(i pulumi.IntInput) ListingCategoriesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ListingCategoriesItem { return vs[0].([]ListingCategoriesItem)[vs[1].(int)] diff --git a/sdk/go/google/analyticshub/v1/pulumiTypes.go b/sdk/go/google/analyticshub/v1/pulumiTypes.go index 20cc70c65c..641240176b 100644 --- a/sdk/go/google/analyticshub/v1/pulumiTypes.go +++ b/sdk/go/google/analyticshub/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -372,6 +445,12 @@ func (i BigQueryDatasetSourceArgs) ToBigQueryDatasetSourceOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BigQueryDatasetSourceOutput) } +func (i BigQueryDatasetSourceArgs) ToOutput(ctx context.Context) pulumix.Output[BigQueryDatasetSource] { + return pulumix.Output[BigQueryDatasetSource]{ + OutputState: i.ToBigQueryDatasetSourceOutputWithContext(ctx).OutputState, + } +} + // A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber's subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber's project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. type BigQueryDatasetSourceOutput struct{ *pulumi.OutputState } @@ -387,6 +466,12 @@ func (o BigQueryDatasetSourceOutput) ToBigQueryDatasetSourceOutputWithContext(ct return o } +func (o BigQueryDatasetSourceOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDatasetSource] { + return pulumix.Output[BigQueryDatasetSource]{ + OutputState: o.OutputState, + } +} + // Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123` func (o BigQueryDatasetSourceOutput) Dataset() pulumi.StringPtrOutput { return o.ApplyT(func(v BigQueryDatasetSource) *string { return v.Dataset }).(pulumi.StringPtrOutput) @@ -413,6 +498,12 @@ func (o BigQueryDatasetSourceResponseOutput) ToBigQueryDatasetSourceResponseOutp return o } +func (o BigQueryDatasetSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDatasetSourceResponse] { + return pulumix.Output[BigQueryDatasetSourceResponse]{ + OutputState: o.OutputState, + } +} + // Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123` func (o BigQueryDatasetSourceResponseOutput) Dataset() pulumi.StringOutput { return o.ApplyT(func(v BigQueryDatasetSourceResponse) string { return v.Dataset }).(pulumi.StringOutput) @@ -461,6 +552,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -486,6 +583,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -501,6 +604,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -530,6 +639,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -561,6 +676,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -590,6 +711,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -635,6 +762,12 @@ func (i DataProviderArgs) ToDataProviderOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DataProviderOutput) } +func (i DataProviderArgs) ToOutput(ctx context.Context) pulumix.Output[DataProvider] { + return pulumix.Output[DataProvider]{ + OutputState: i.ToDataProviderOutputWithContext(ctx).OutputState, + } +} + func (i DataProviderArgs) ToDataProviderPtrOutput() DataProviderPtrOutput { return i.ToDataProviderPtrOutputWithContext(context.Background()) } @@ -676,6 +809,12 @@ func (i *dataProviderPtrType) ToDataProviderPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DataProviderPtrOutput) } +func (i *dataProviderPtrType) ToOutput(ctx context.Context) pulumix.Output[*DataProvider] { + return pulumix.Output[*DataProvider]{ + OutputState: i.ToDataProviderPtrOutputWithContext(ctx).OutputState, + } +} + // Contains details of the data provider. type DataProviderOutput struct{ *pulumi.OutputState } @@ -701,6 +840,12 @@ func (o DataProviderOutput) ToDataProviderPtrOutputWithContext(ctx context.Conte }).(DataProviderPtrOutput) } +func (o DataProviderOutput) ToOutput(ctx context.Context) pulumix.Output[DataProvider] { + return pulumix.Output[DataProvider]{ + OutputState: o.OutputState, + } +} + // Optional. Name of the data provider. func (o DataProviderOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v DataProvider) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -725,6 +870,12 @@ func (o DataProviderPtrOutput) ToDataProviderPtrOutputWithContext(ctx context.Co return o } +func (o DataProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataProvider] { + return pulumix.Output[*DataProvider]{ + OutputState: o.OutputState, + } +} + func (o DataProviderPtrOutput) Elem() DataProviderOutput { return o.ApplyT(func(v *DataProvider) DataProvider { if v != nil { @@ -778,6 +929,12 @@ func (o DataProviderResponseOutput) ToDataProviderResponseOutputWithContext(ctx return o } +func (o DataProviderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataProviderResponse] { + return pulumix.Output[DataProviderResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Name of the data provider. func (o DataProviderResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v DataProviderResponse) string { return v.Name }).(pulumi.StringOutput) @@ -835,6 +992,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -876,6 +1039,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -901,6 +1070,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -935,6 +1110,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1012,6 +1193,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1071,6 +1258,12 @@ func (i PublisherArgs) ToPublisherOutputWithContext(ctx context.Context) Publish return pulumi.ToOutputWithContext(ctx, i).(PublisherOutput) } +func (i PublisherArgs) ToOutput(ctx context.Context) pulumix.Output[Publisher] { + return pulumix.Output[Publisher]{ + OutputState: i.ToPublisherOutputWithContext(ctx).OutputState, + } +} + func (i PublisherArgs) ToPublisherPtrOutput() PublisherPtrOutput { return i.ToPublisherPtrOutputWithContext(context.Background()) } @@ -1112,6 +1305,12 @@ func (i *publisherPtrType) ToPublisherPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PublisherPtrOutput) } +func (i *publisherPtrType) ToOutput(ctx context.Context) pulumix.Output[*Publisher] { + return pulumix.Output[*Publisher]{ + OutputState: i.ToPublisherPtrOutputWithContext(ctx).OutputState, + } +} + // Contains details of the listing publisher. type PublisherOutput struct{ *pulumi.OutputState } @@ -1137,6 +1336,12 @@ func (o PublisherOutput) ToPublisherPtrOutputWithContext(ctx context.Context) Pu }).(PublisherPtrOutput) } +func (o PublisherOutput) ToOutput(ctx context.Context) pulumix.Output[Publisher] { + return pulumix.Output[Publisher]{ + OutputState: o.OutputState, + } +} + // Optional. Name of the listing publisher. func (o PublisherOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Publisher) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -1161,6 +1366,12 @@ func (o PublisherPtrOutput) ToPublisherPtrOutputWithContext(ctx context.Context) return o } +func (o PublisherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Publisher] { + return pulumix.Output[*Publisher]{ + OutputState: o.OutputState, + } +} + func (o PublisherPtrOutput) Elem() PublisherOutput { return o.ApplyT(func(v *Publisher) Publisher { if v != nil { @@ -1214,6 +1425,12 @@ func (o PublisherResponseOutput) ToPublisherResponseOutputWithContext(ctx contex return o } +func (o PublisherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublisherResponse] { + return pulumix.Output[PublisherResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Name of the listing publisher. func (o PublisherResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v PublisherResponse) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/dataExchange.go b/sdk/go/google/analyticshub/v1beta1/dataExchange.go index 184122d7a6..c588e5fc57 100644 --- a/sdk/go/google/analyticshub/v1beta1/dataExchange.go +++ b/sdk/go/google/analyticshub/v1beta1/dataExchange.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new data exchange. @@ -146,6 +147,12 @@ func (i *DataExchange) ToDataExchangeOutputWithContext(ctx context.Context) Data return pulumi.ToOutputWithContext(ctx, i).(DataExchangeOutput) } +func (i *DataExchange) ToOutput(ctx context.Context) pulumix.Output[*DataExchange] { + return pulumix.Output[*DataExchange]{ + OutputState: i.ToDataExchangeOutputWithContext(ctx).OutputState, + } +} + type DataExchangeOutput struct{ *pulumi.OutputState } func (DataExchangeOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o DataExchangeOutput) ToDataExchangeOutputWithContext(ctx context.Context) return o } +func (o DataExchangeOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchange] { + return pulumix.Output[*DataExchange]{ + OutputState: o.OutputState, + } +} + // Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes. func (o DataExchangeOutput) DataExchangeId() pulumi.StringOutput { return o.ApplyT(func(v *DataExchange) pulumi.StringOutput { return v.DataExchangeId }).(pulumi.StringOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/dataExchangeIamBinding.go b/sdk/go/google/analyticshub/v1beta1/dataExchangeIamBinding.go index beb05204d0..85b886b48b 100644 --- a/sdk/go/google/analyticshub/v1beta1/dataExchangeIamBinding.go +++ b/sdk/go/google/analyticshub/v1beta1/dataExchangeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -135,6 +136,12 @@ func (i *DataExchangeIamBinding) ToDataExchangeIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DataExchangeIamBindingOutput) } +func (i *DataExchangeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamBinding] { + return pulumix.Output[*DataExchangeIamBinding]{ + OutputState: i.ToDataExchangeIamBindingOutputWithContext(ctx).OutputState, + } +} + type DataExchangeIamBindingOutput struct{ *pulumi.OutputState } func (DataExchangeIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataExchangeIamBindingOutput) ToDataExchangeIamBindingOutputWithContext( return o } +func (o DataExchangeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamBinding] { + return pulumix.Output[*DataExchangeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataExchangeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataExchangeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/dataExchangeIamMember.go b/sdk/go/google/analyticshub/v1beta1/dataExchangeIamMember.go index 77e97b2764..46f561c39f 100644 --- a/sdk/go/google/analyticshub/v1beta1/dataExchangeIamMember.go +++ b/sdk/go/google/analyticshub/v1beta1/dataExchangeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -135,6 +136,12 @@ func (i *DataExchangeIamMember) ToDataExchangeIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DataExchangeIamMemberOutput) } +func (i *DataExchangeIamMember) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamMember] { + return pulumix.Output[*DataExchangeIamMember]{ + OutputState: i.ToDataExchangeIamMemberOutputWithContext(ctx).OutputState, + } +} + type DataExchangeIamMemberOutput struct{ *pulumi.OutputState } func (DataExchangeIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataExchangeIamMemberOutput) ToDataExchangeIamMemberOutputWithContext(ct return o } +func (o DataExchangeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamMember] { + return pulumix.Output[*DataExchangeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataExchangeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataExchangeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/dataExchangeIamPolicy.go b/sdk/go/google/analyticshub/v1beta1/dataExchangeIamPolicy.go index c3965948d9..a770d18059 100644 --- a/sdk/go/google/analyticshub/v1beta1/dataExchangeIamPolicy.go +++ b/sdk/go/google/analyticshub/v1beta1/dataExchangeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -135,6 +136,12 @@ func (i *DataExchangeIamPolicy) ToDataExchangeIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DataExchangeIamPolicyOutput) } +func (i *DataExchangeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamPolicy] { + return pulumix.Output[*DataExchangeIamPolicy]{ + OutputState: i.ToDataExchangeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DataExchangeIamPolicyOutput struct{ *pulumi.OutputState } func (DataExchangeIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataExchangeIamPolicyOutput) ToDataExchangeIamPolicyOutputWithContext(ct return o } +func (o DataExchangeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeIamPolicy] { + return pulumix.Output[*DataExchangeIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DataExchangeIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DataExchangeIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamBinding.go b/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamBinding.go index 83a4a12324..a355f2f9e7 100644 --- a/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamBinding.go +++ b/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -135,6 +136,12 @@ func (i *DataExchangeListingIamBinding) ToDataExchangeListingIamBindingOutputWit return pulumi.ToOutputWithContext(ctx, i).(DataExchangeListingIamBindingOutput) } +func (i *DataExchangeListingIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamBinding] { + return pulumix.Output[*DataExchangeListingIamBinding]{ + OutputState: i.ToDataExchangeListingIamBindingOutputWithContext(ctx).OutputState, + } +} + type DataExchangeListingIamBindingOutput struct{ *pulumi.OutputState } func (DataExchangeListingIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataExchangeListingIamBindingOutput) ToDataExchangeListingIamBindingOutp return o } +func (o DataExchangeListingIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamBinding] { + return pulumix.Output[*DataExchangeListingIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataExchangeListingIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataExchangeListingIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamMember.go b/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamMember.go index d1c403e2d5..bf5401d326 100644 --- a/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamMember.go +++ b/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -135,6 +136,12 @@ func (i *DataExchangeListingIamMember) ToDataExchangeListingIamMemberOutputWithC return pulumi.ToOutputWithContext(ctx, i).(DataExchangeListingIamMemberOutput) } +func (i *DataExchangeListingIamMember) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamMember] { + return pulumix.Output[*DataExchangeListingIamMember]{ + OutputState: i.ToDataExchangeListingIamMemberOutputWithContext(ctx).OutputState, + } +} + type DataExchangeListingIamMemberOutput struct{ *pulumi.OutputState } func (DataExchangeListingIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataExchangeListingIamMemberOutput) ToDataExchangeListingIamMemberOutput return o } +func (o DataExchangeListingIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamMember] { + return pulumix.Output[*DataExchangeListingIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataExchangeListingIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataExchangeListingIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamPolicy.go b/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamPolicy.go index e956189a8e..9ebb1f5124 100644 --- a/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamPolicy.go +++ b/sdk/go/google/analyticshub/v1beta1/dataExchangeListingIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy. @@ -142,6 +143,12 @@ func (i *DataExchangeListingIamPolicy) ToDataExchangeListingIamPolicyOutputWithC return pulumi.ToOutputWithContext(ctx, i).(DataExchangeListingIamPolicyOutput) } +func (i *DataExchangeListingIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamPolicy] { + return pulumix.Output[*DataExchangeListingIamPolicy]{ + OutputState: i.ToDataExchangeListingIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DataExchangeListingIamPolicyOutput struct{ *pulumi.OutputState } func (DataExchangeListingIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DataExchangeListingIamPolicyOutput) ToDataExchangeListingIamPolicyOutput return o } +func (o DataExchangeListingIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DataExchangeListingIamPolicy] { + return pulumix.Output[*DataExchangeListingIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DataExchangeListingIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DataExchangeListingIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/getDataExchange.go b/sdk/go/google/analyticshub/v1beta1/getDataExchange.go index b310b6656c..94655d5673 100644 --- a/sdk/go/google/analyticshub/v1beta1/getDataExchange.go +++ b/sdk/go/google/analyticshub/v1beta1/getDataExchange.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a data exchange. @@ -82,6 +83,12 @@ func (o LookupDataExchangeResultOutput) ToLookupDataExchangeResultOutputWithCont return o } +func (o LookupDataExchangeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataExchangeResult] { + return pulumix.Output[LookupDataExchangeResult]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes. func (o LookupDataExchangeResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupDataExchangeResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/getDataExchangeIamPolicy.go b/sdk/go/google/analyticshub/v1beta1/getDataExchangeIamPolicy.go index ae39844151..962bac7cb5 100644 --- a/sdk/go/google/analyticshub/v1beta1/getDataExchangeIamPolicy.go +++ b/sdk/go/google/analyticshub/v1beta1/getDataExchangeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy. @@ -76,6 +77,12 @@ func (o LookupDataExchangeIamPolicyResultOutput) ToLookupDataExchangeIamPolicyRe return o } +func (o LookupDataExchangeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataExchangeIamPolicyResult] { + return pulumix.Output[LookupDataExchangeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDataExchangeIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDataExchangeIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/getDataExchangeListingIamPolicy.go b/sdk/go/google/analyticshub/v1beta1/getDataExchangeListingIamPolicy.go index 5e5cd5e27e..2746c45c18 100644 --- a/sdk/go/google/analyticshub/v1beta1/getDataExchangeListingIamPolicy.go +++ b/sdk/go/google/analyticshub/v1beta1/getDataExchangeListingIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy. @@ -78,6 +79,12 @@ func (o LookupDataExchangeListingIamPolicyResultOutput) ToLookupDataExchangeList return o } +func (o LookupDataExchangeListingIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataExchangeListingIamPolicyResult] { + return pulumix.Output[LookupDataExchangeListingIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDataExchangeListingIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDataExchangeListingIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/getListing.go b/sdk/go/google/analyticshub/v1beta1/getListing.go index e51e3bf4ef..34b36b86be 100644 --- a/sdk/go/google/analyticshub/v1beta1/getListing.go +++ b/sdk/go/google/analyticshub/v1beta1/getListing.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a listing. @@ -94,6 +95,12 @@ func (o LookupListingResultOutput) ToLookupListingResultOutputWithContext(ctx co return o } +func (o LookupListingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupListingResult] { + return pulumix.Output[LookupListingResult]{ + OutputState: o.OutputState, + } +} + // Shared dataset i.e. BigQuery dataset source. func (o LookupListingResultOutput) BigqueryDataset() BigQueryDatasetSourceResponseOutput { return o.ApplyT(func(v LookupListingResult) BigQueryDatasetSourceResponse { return v.BigqueryDataset }).(BigQueryDatasetSourceResponseOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/listing.go b/sdk/go/google/analyticshub/v1beta1/listing.go index 60ecf0c5fb..1f2baae8a9 100644 --- a/sdk/go/google/analyticshub/v1beta1/listing.go +++ b/sdk/go/google/analyticshub/v1beta1/listing.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new listing. @@ -186,6 +187,12 @@ func (i *Listing) ToListingOutputWithContext(ctx context.Context) ListingOutput return pulumi.ToOutputWithContext(ctx, i).(ListingOutput) } +func (i *Listing) ToOutput(ctx context.Context) pulumix.Output[*Listing] { + return pulumix.Output[*Listing]{ + OutputState: i.ToListingOutputWithContext(ctx).OutputState, + } +} + type ListingOutput struct{ *pulumi.OutputState } func (ListingOutput) ElementType() reflect.Type { @@ -200,6 +207,12 @@ func (o ListingOutput) ToListingOutputWithContext(ctx context.Context) ListingOu return o } +func (o ListingOutput) ToOutput(ctx context.Context) pulumix.Output[*Listing] { + return pulumix.Output[*Listing]{ + OutputState: o.OutputState, + } +} + // Shared dataset i.e. BigQuery dataset source. func (o ListingOutput) BigqueryDataset() BigQueryDatasetSourceResponseOutput { return o.ApplyT(func(v *Listing) BigQueryDatasetSourceResponseOutput { return v.BigqueryDataset }).(BigQueryDatasetSourceResponseOutput) diff --git a/sdk/go/google/analyticshub/v1beta1/pulumiEnums.go b/sdk/go/google/analyticshub/v1beta1/pulumiEnums.go index 97a0d18192..48e5b8af01 100644 --- a/sdk/go/google/analyticshub/v1beta1/pulumiEnums.go +++ b/sdk/go/google/analyticshub/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + type ListingCategoriesItem string const ( @@ -266,6 +285,12 @@ func (o ListingCategoriesItemOutput) ToListingCategoriesItemPtrOutputWithContext }).(ListingCategoriesItemPtrOutput) } +func (o ListingCategoriesItemOutput) ToOutput(ctx context.Context) pulumix.Output[ListingCategoriesItem] { + return pulumix.Output[ListingCategoriesItem]{ + OutputState: o.OutputState, + } +} + func (o ListingCategoriesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -301,6 +326,12 @@ func (o ListingCategoriesItemPtrOutput) ToListingCategoriesItemPtrOutputWithCont return o } +func (o ListingCategoriesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ListingCategoriesItem] { + return pulumix.Output[*ListingCategoriesItem]{ + OutputState: o.OutputState, + } +} + func (o ListingCategoriesItemPtrOutput) Elem() ListingCategoriesItemOutput { return o.ApplyT(func(v *ListingCategoriesItem) ListingCategoriesItem { if v != nil { @@ -363,6 +394,12 @@ func (in *listingCategoriesItemPtr) ToListingCategoriesItemPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ListingCategoriesItemPtrOutput) } +func (in *listingCategoriesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ListingCategoriesItem] { + return pulumix.Output[*ListingCategoriesItem]{ + OutputState: in.ToListingCategoriesItemPtrOutputWithContext(ctx).OutputState, + } +} + // ListingCategoriesItemArrayInput is an input type that accepts ListingCategoriesItemArray and ListingCategoriesItemArrayOutput values. // You can construct a concrete instance of `ListingCategoriesItemArrayInput` via: // @@ -388,6 +425,12 @@ func (i ListingCategoriesItemArray) ToListingCategoriesItemArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ListingCategoriesItemArrayOutput) } +func (i ListingCategoriesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ListingCategoriesItem] { + return pulumix.Output[[]ListingCategoriesItem]{ + OutputState: i.ToListingCategoriesItemArrayOutputWithContext(ctx).OutputState, + } +} + type ListingCategoriesItemArrayOutput struct{ *pulumi.OutputState } func (ListingCategoriesItemArrayOutput) ElementType() reflect.Type { @@ -402,6 +445,12 @@ func (o ListingCategoriesItemArrayOutput) ToListingCategoriesItemArrayOutputWith return o } +func (o ListingCategoriesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ListingCategoriesItem] { + return pulumix.Output[[]ListingCategoriesItem]{ + OutputState: o.OutputState, + } +} + func (o ListingCategoriesItemArrayOutput) Index(i pulumi.IntInput) ListingCategoriesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ListingCategoriesItem { return vs[0].([]ListingCategoriesItem)[vs[1].(int)] diff --git a/sdk/go/google/analyticshub/v1beta1/pulumiTypes.go b/sdk/go/google/analyticshub/v1beta1/pulumiTypes.go index 3f7a72298c..99a629e17b 100644 --- a/sdk/go/google/analyticshub/v1beta1/pulumiTypes.go +++ b/sdk/go/google/analyticshub/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -372,6 +445,12 @@ func (i BigQueryDatasetSourceArgs) ToBigQueryDatasetSourceOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BigQueryDatasetSourceOutput) } +func (i BigQueryDatasetSourceArgs) ToOutput(ctx context.Context) pulumix.Output[BigQueryDatasetSource] { + return pulumix.Output[BigQueryDatasetSource]{ + OutputState: i.ToBigQueryDatasetSourceOutputWithContext(ctx).OutputState, + } +} + // A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber's subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber's project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a _symbolic link_ to a shared dataset. type BigQueryDatasetSourceOutput struct{ *pulumi.OutputState } @@ -387,6 +466,12 @@ func (o BigQueryDatasetSourceOutput) ToBigQueryDatasetSourceOutputWithContext(ct return o } +func (o BigQueryDatasetSourceOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDatasetSource] { + return pulumix.Output[BigQueryDatasetSource]{ + OutputState: o.OutputState, + } +} + // Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123` func (o BigQueryDatasetSourceOutput) Dataset() pulumi.StringPtrOutput { return o.ApplyT(func(v BigQueryDatasetSource) *string { return v.Dataset }).(pulumi.StringPtrOutput) @@ -413,6 +498,12 @@ func (o BigQueryDatasetSourceResponseOutput) ToBigQueryDatasetSourceResponseOutp return o } +func (o BigQueryDatasetSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDatasetSourceResponse] { + return pulumix.Output[BigQueryDatasetSourceResponse]{ + OutputState: o.OutputState, + } +} + // Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123` func (o BigQueryDatasetSourceResponseOutput) Dataset() pulumi.StringOutput { return o.ApplyT(func(v BigQueryDatasetSourceResponse) string { return v.Dataset }).(pulumi.StringOutput) @@ -461,6 +552,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -486,6 +583,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -501,6 +604,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -530,6 +639,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -561,6 +676,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -590,6 +711,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -635,6 +762,12 @@ func (i DataProviderArgs) ToDataProviderOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DataProviderOutput) } +func (i DataProviderArgs) ToOutput(ctx context.Context) pulumix.Output[DataProvider] { + return pulumix.Output[DataProvider]{ + OutputState: i.ToDataProviderOutputWithContext(ctx).OutputState, + } +} + func (i DataProviderArgs) ToDataProviderPtrOutput() DataProviderPtrOutput { return i.ToDataProviderPtrOutputWithContext(context.Background()) } @@ -676,6 +809,12 @@ func (i *dataProviderPtrType) ToDataProviderPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DataProviderPtrOutput) } +func (i *dataProviderPtrType) ToOutput(ctx context.Context) pulumix.Output[*DataProvider] { + return pulumix.Output[*DataProvider]{ + OutputState: i.ToDataProviderPtrOutputWithContext(ctx).OutputState, + } +} + // Contains details of the data provider. type DataProviderOutput struct{ *pulumi.OutputState } @@ -701,6 +840,12 @@ func (o DataProviderOutput) ToDataProviderPtrOutputWithContext(ctx context.Conte }).(DataProviderPtrOutput) } +func (o DataProviderOutput) ToOutput(ctx context.Context) pulumix.Output[DataProvider] { + return pulumix.Output[DataProvider]{ + OutputState: o.OutputState, + } +} + // Optional. Name of the data provider. func (o DataProviderOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v DataProvider) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -725,6 +870,12 @@ func (o DataProviderPtrOutput) ToDataProviderPtrOutputWithContext(ctx context.Co return o } +func (o DataProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataProvider] { + return pulumix.Output[*DataProvider]{ + OutputState: o.OutputState, + } +} + func (o DataProviderPtrOutput) Elem() DataProviderOutput { return o.ApplyT(func(v *DataProvider) DataProvider { if v != nil { @@ -778,6 +929,12 @@ func (o DataProviderResponseOutput) ToDataProviderResponseOutputWithContext(ctx return o } +func (o DataProviderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataProviderResponse] { + return pulumix.Output[DataProviderResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Name of the data provider. func (o DataProviderResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v DataProviderResponse) string { return v.Name }).(pulumi.StringOutput) @@ -835,6 +992,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -876,6 +1039,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -901,6 +1070,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -935,6 +1110,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1012,6 +1193,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1071,6 +1258,12 @@ func (i PublisherArgs) ToPublisherOutputWithContext(ctx context.Context) Publish return pulumi.ToOutputWithContext(ctx, i).(PublisherOutput) } +func (i PublisherArgs) ToOutput(ctx context.Context) pulumix.Output[Publisher] { + return pulumix.Output[Publisher]{ + OutputState: i.ToPublisherOutputWithContext(ctx).OutputState, + } +} + func (i PublisherArgs) ToPublisherPtrOutput() PublisherPtrOutput { return i.ToPublisherPtrOutputWithContext(context.Background()) } @@ -1112,6 +1305,12 @@ func (i *publisherPtrType) ToPublisherPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PublisherPtrOutput) } +func (i *publisherPtrType) ToOutput(ctx context.Context) pulumix.Output[*Publisher] { + return pulumix.Output[*Publisher]{ + OutputState: i.ToPublisherPtrOutputWithContext(ctx).OutputState, + } +} + // Contains details of the listing publisher. type PublisherOutput struct{ *pulumi.OutputState } @@ -1137,6 +1336,12 @@ func (o PublisherOutput) ToPublisherPtrOutputWithContext(ctx context.Context) Pu }).(PublisherPtrOutput) } +func (o PublisherOutput) ToOutput(ctx context.Context) pulumix.Output[Publisher] { + return pulumix.Output[Publisher]{ + OutputState: o.OutputState, + } +} + // Optional. Name of the listing publisher. func (o PublisherOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Publisher) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -1161,6 +1366,12 @@ func (o PublisherPtrOutput) ToPublisherPtrOutputWithContext(ctx context.Context) return o } +func (o PublisherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Publisher] { + return pulumix.Output[*Publisher]{ + OutputState: o.OutputState, + } +} + func (o PublisherPtrOutput) Elem() PublisherOutput { return o.ApplyT(func(v *Publisher) Publisher { if v != nil { @@ -1214,6 +1425,12 @@ func (o PublisherResponseOutput) ToPublisherResponseOutputWithContext(ctx contex return o } +func (o PublisherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublisherResponse] { + return pulumix.Output[PublisherResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Name of the listing publisher. func (o PublisherResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v PublisherResponse) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1/api.go b/sdk/go/google/apigateway/v1/api.go index f9ee54615e..43276791e2 100644 --- a/sdk/go/google/apigateway/v1/api.go +++ b/sdk/go/google/apigateway/v1/api.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Api in a given project and location. @@ -135,6 +136,12 @@ func (i *Api) ToApiOutputWithContext(ctx context.Context) ApiOutput { return pulumi.ToOutputWithContext(ctx, i).(ApiOutput) } +func (i *Api) ToOutput(ctx context.Context) pulumix.Output[*Api] { + return pulumix.Output[*Api]{ + OutputState: i.ToApiOutputWithContext(ctx).OutputState, + } +} + type ApiOutput struct{ *pulumi.OutputState } func (ApiOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiOutput) ToApiOutputWithContext(ctx context.Context) ApiOutput { return o } +func (o ApiOutput) ToOutput(ctx context.Context) pulumix.Output[*Api] { + return pulumix.Output[*Api]{ + OutputState: o.OutputState, + } +} + // Required. Identifier to assign to the API. Must be unique within scope of the parent resource. func (o ApiOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *Api) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1/apiConfigIamBinding.go b/sdk/go/google/apigateway/v1/apiConfigIamBinding.go index 9a9e8b9ab8..aca3457d4c 100644 --- a/sdk/go/google/apigateway/v1/apiConfigIamBinding.go +++ b/sdk/go/google/apigateway/v1/apiConfigIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ApiConfigIamBinding) ToApiConfigIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ApiConfigIamBindingOutput) } +func (i *ApiConfigIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamBinding] { + return pulumix.Output[*ApiConfigIamBinding]{ + OutputState: i.ToApiConfigIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiConfigIamBindingOutput struct{ *pulumi.OutputState } func (ApiConfigIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ApiConfigIamBindingOutput) ToApiConfigIamBindingOutputWithContext(ctx co return o } +func (o ApiConfigIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamBinding] { + return pulumix.Output[*ApiConfigIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiConfigIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiConfigIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1/apiConfigIamMember.go b/sdk/go/google/apigateway/v1/apiConfigIamMember.go index 2d7217da3a..d8d75f1663 100644 --- a/sdk/go/google/apigateway/v1/apiConfigIamMember.go +++ b/sdk/go/google/apigateway/v1/apiConfigIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ApiConfigIamMember) ToApiConfigIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ApiConfigIamMemberOutput) } +func (i *ApiConfigIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamMember] { + return pulumix.Output[*ApiConfigIamMember]{ + OutputState: i.ToApiConfigIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiConfigIamMemberOutput struct{ *pulumi.OutputState } func (ApiConfigIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ApiConfigIamMemberOutput) ToApiConfigIamMemberOutputWithContext(ctx cont return o } +func (o ApiConfigIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamMember] { + return pulumix.Output[*ApiConfigIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiConfigIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiConfigIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1/apiConfigIamPolicy.go b/sdk/go/google/apigateway/v1/apiConfigIamPolicy.go index 025e3b0b9f..b58abac169 100644 --- a/sdk/go/google/apigateway/v1/apiConfigIamPolicy.go +++ b/sdk/go/google/apigateway/v1/apiConfigIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *ApiConfigIamPolicy) ToApiConfigIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ApiConfigIamPolicyOutput) } +func (i *ApiConfigIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamPolicy] { + return pulumix.Output[*ApiConfigIamPolicy]{ + OutputState: i.ToApiConfigIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiConfigIamPolicyOutput struct{ *pulumi.OutputState } func (ApiConfigIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o ApiConfigIamPolicyOutput) ToApiConfigIamPolicyOutputWithContext(ctx cont return o } +func (o ApiConfigIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamPolicy] { + return pulumix.Output[*ApiConfigIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiConfigIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigateway/v1/apiIamBinding.go b/sdk/go/google/apigateway/v1/apiIamBinding.go index 06f89beda3..828ea83f68 100644 --- a/sdk/go/google/apigateway/v1/apiIamBinding.go +++ b/sdk/go/google/apigateway/v1/apiIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ApiIamBinding) ToApiIamBindingOutputWithContext(ctx context.Context) Ap return pulumi.ToOutputWithContext(ctx, i).(ApiIamBindingOutput) } +func (i *ApiIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiIamBinding] { + return pulumix.Output[*ApiIamBinding]{ + OutputState: i.ToApiIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiIamBindingOutput struct{ *pulumi.OutputState } func (ApiIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ApiIamBindingOutput) ToApiIamBindingOutputWithContext(ctx context.Contex return o } +func (o ApiIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiIamBinding] { + return pulumix.Output[*ApiIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1/apiIamMember.go b/sdk/go/google/apigateway/v1/apiIamMember.go index e5866fb18e..16488ccd68 100644 --- a/sdk/go/google/apigateway/v1/apiIamMember.go +++ b/sdk/go/google/apigateway/v1/apiIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ApiIamMember) ToApiIamMemberOutputWithContext(ctx context.Context) ApiI return pulumi.ToOutputWithContext(ctx, i).(ApiIamMemberOutput) } +func (i *ApiIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiIamMember] { + return pulumix.Output[*ApiIamMember]{ + OutputState: i.ToApiIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiIamMemberOutput struct{ *pulumi.OutputState } func (ApiIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ApiIamMemberOutput) ToApiIamMemberOutputWithContext(ctx context.Context) return o } +func (o ApiIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiIamMember] { + return pulumix.Output[*ApiIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1/apiIamPolicy.go b/sdk/go/google/apigateway/v1/apiIamPolicy.go index 868305222f..86e33ac9ba 100644 --- a/sdk/go/google/apigateway/v1/apiIamPolicy.go +++ b/sdk/go/google/apigateway/v1/apiIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiIamPolicy) ToApiIamPolicyOutputWithContext(ctx context.Context) ApiI return pulumi.ToOutputWithContext(ctx, i).(ApiIamPolicyOutput) } +func (i *ApiIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiIamPolicy] { + return pulumix.Output[*ApiIamPolicy]{ + OutputState: i.ToApiIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiIamPolicyOutput struct{ *pulumi.OutputState } func (ApiIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiIamPolicyOutput) ToApiIamPolicyOutputWithContext(ctx context.Context) return o } +func (o ApiIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiIamPolicy] { + return pulumix.Output[*ApiIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigateway/v1/config.go b/sdk/go/google/apigateway/v1/config.go index 313390cc9f..55f1a8ff40 100644 --- a/sdk/go/google/apigateway/v1/config.go +++ b/sdk/go/google/apigateway/v1/config.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ApiConfig in a given project and location. @@ -162,6 +163,12 @@ func (i *Config) ToConfigOutputWithContext(ctx context.Context) ConfigOutput { return pulumi.ToOutputWithContext(ctx, i).(ConfigOutput) } +func (i *Config) ToOutput(ctx context.Context) pulumix.Output[*Config] { + return pulumix.Output[*Config]{ + OutputState: i.ToConfigOutputWithContext(ctx).OutputState, + } +} + type ConfigOutput struct{ *pulumi.OutputState } func (ConfigOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutpu return o } +func (o ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*Config] { + return pulumix.Output[*Config]{ + OutputState: o.OutputState, + } +} + // Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource. func (o ConfigOutput) ApiConfigId() pulumi.StringOutput { return o.ApplyT(func(v *Config) pulumi.StringOutput { return v.ApiConfigId }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1/gateway.go b/sdk/go/google/apigateway/v1/gateway.go index 0dde0e0611..72bb6accdc 100644 --- a/sdk/go/google/apigateway/v1/gateway.go +++ b/sdk/go/google/apigateway/v1/gateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Gateway in a given project and location. @@ -140,6 +141,12 @@ func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput return pulumi.ToOutputWithContext(ctx, i).(GatewayOutput) } +func (i *Gateway) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: i.ToGatewayOutputWithContext(ctx).OutputState, + } +} + type GatewayOutput struct{ *pulumi.OutputState } func (GatewayOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOu return o } +func (o GatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: o.OutputState, + } +} + // Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} func (o GatewayOutput) ApiConfig() pulumi.StringOutput { return o.ApplyT(func(v *Gateway) pulumi.StringOutput { return v.ApiConfig }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1/gatewayIamBinding.go b/sdk/go/google/apigateway/v1/gatewayIamBinding.go index 59593592f4..2144a4b235 100644 --- a/sdk/go/google/apigateway/v1/gatewayIamBinding.go +++ b/sdk/go/google/apigateway/v1/gatewayIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *GatewayIamBinding) ToGatewayIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(GatewayIamBindingOutput) } +func (i *GatewayIamBinding) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamBinding] { + return pulumix.Output[*GatewayIamBinding]{ + OutputState: i.ToGatewayIamBindingOutputWithContext(ctx).OutputState, + } +} + type GatewayIamBindingOutput struct{ *pulumi.OutputState } func (GatewayIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o GatewayIamBindingOutput) ToGatewayIamBindingOutputWithContext(ctx contex return o } +func (o GatewayIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamBinding] { + return pulumix.Output[*GatewayIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GatewayIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GatewayIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1/gatewayIamMember.go b/sdk/go/google/apigateway/v1/gatewayIamMember.go index 3cf9d780d4..d81195a8ca 100644 --- a/sdk/go/google/apigateway/v1/gatewayIamMember.go +++ b/sdk/go/google/apigateway/v1/gatewayIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *GatewayIamMember) ToGatewayIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GatewayIamMemberOutput) } +func (i *GatewayIamMember) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamMember] { + return pulumix.Output[*GatewayIamMember]{ + OutputState: i.ToGatewayIamMemberOutputWithContext(ctx).OutputState, + } +} + type GatewayIamMemberOutput struct{ *pulumi.OutputState } func (GatewayIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o GatewayIamMemberOutput) ToGatewayIamMemberOutputWithContext(ctx context. return o } +func (o GatewayIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamMember] { + return pulumix.Output[*GatewayIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GatewayIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GatewayIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1/gatewayIamPolicy.go b/sdk/go/google/apigateway/v1/gatewayIamPolicy.go index 40698e8c9e..731c9305c7 100644 --- a/sdk/go/google/apigateway/v1/gatewayIamPolicy.go +++ b/sdk/go/google/apigateway/v1/gatewayIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GatewayIamPolicy) ToGatewayIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GatewayIamPolicyOutput) } +func (i *GatewayIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamPolicy] { + return pulumix.Output[*GatewayIamPolicy]{ + OutputState: i.ToGatewayIamPolicyOutputWithContext(ctx).OutputState, + } +} + type GatewayIamPolicyOutput struct{ *pulumi.OutputState } func (GatewayIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GatewayIamPolicyOutput) ToGatewayIamPolicyOutputWithContext(ctx context. return o } +func (o GatewayIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamPolicy] { + return pulumix.Output[*GatewayIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o GatewayIamPolicyOutput) AuditConfigs() ApigatewayAuditConfigResponseArrayOutput { return o.ApplyT(func(v *GatewayIamPolicy) ApigatewayAuditConfigResponseArrayOutput { return v.AuditConfigs }).(ApigatewayAuditConfigResponseArrayOutput) diff --git a/sdk/go/google/apigateway/v1/getApi.go b/sdk/go/google/apigateway/v1/getApi.go index b1f27f4258..42629fba21 100644 --- a/sdk/go/google/apigateway/v1/getApi.go +++ b/sdk/go/google/apigateway/v1/getApi.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Api. @@ -82,6 +83,12 @@ func (o LookupApiResultOutput) ToLookupApiResultOutputWithContext(ctx context.Co return o } +func (o LookupApiResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiResult] { + return pulumix.Output[LookupApiResult]{ + OutputState: o.OutputState, + } +} + // Created time. func (o LookupApiResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupApiResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1/getApiConfigIamPolicy.go b/sdk/go/google/apigateway/v1/getApiConfigIamPolicy.go index 02b98f4f03..5932c4ee47 100644 --- a/sdk/go/google/apigateway/v1/getApiConfigIamPolicy.go +++ b/sdk/go/google/apigateway/v1/getApiConfigIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupApiConfigIamPolicyResultOutput) ToLookupApiConfigIamPolicyResultOu return o } +func (o LookupApiConfigIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiConfigIamPolicyResult] { + return pulumix.Output[LookupApiConfigIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupApiConfigIamPolicyResultOutput) AuditConfigs() ApigatewayAuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupApiConfigIamPolicyResult) []ApigatewayAuditConfigResponse { return v.AuditConfigs }).(ApigatewayAuditConfigResponseArrayOutput) diff --git a/sdk/go/google/apigateway/v1/getApiIamPolicy.go b/sdk/go/google/apigateway/v1/getApiIamPolicy.go index dc64183c17..c04f565a12 100644 --- a/sdk/go/google/apigateway/v1/getApiIamPolicy.go +++ b/sdk/go/google/apigateway/v1/getApiIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupApiIamPolicyResultOutput) ToLookupApiIamPolicyResultOutputWithCont return o } +func (o LookupApiIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiIamPolicyResult] { + return pulumix.Output[LookupApiIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupApiIamPolicyResultOutput) AuditConfigs() ApigatewayAuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupApiIamPolicyResult) []ApigatewayAuditConfigResponse { return v.AuditConfigs }).(ApigatewayAuditConfigResponseArrayOutput) diff --git a/sdk/go/google/apigateway/v1/getConfig.go b/sdk/go/google/apigateway/v1/getConfig.go index d9f0ea278a..2902cdcdf7 100644 --- a/sdk/go/google/apigateway/v1/getConfig.go +++ b/sdk/go/google/apigateway/v1/getConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ApiConfig. @@ -94,6 +95,12 @@ func (o LookupConfigResultOutput) ToLookupConfigResultOutputWithContext(ctx cont return o } +func (o LookupConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConfigResult] { + return pulumix.Output[LookupConfigResult]{ + OutputState: o.OutputState, + } +} + // Created time. func (o LookupConfigResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupConfigResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1/getGateway.go b/sdk/go/google/apigateway/v1/getGateway.go index 8268e8b77f..f28b7905cc 100644 --- a/sdk/go/google/apigateway/v1/getGateway.go +++ b/sdk/go/google/apigateway/v1/getGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Gateway. @@ -84,6 +85,12 @@ func (o LookupGatewayResultOutput) ToLookupGatewayResultOutputWithContext(ctx co return o } +func (o LookupGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewayResult] { + return pulumix.Output[LookupGatewayResult]{ + OutputState: o.OutputState, + } +} + // Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} func (o LookupGatewayResultOutput) ApiConfig() pulumi.StringOutput { return o.ApplyT(func(v LookupGatewayResult) string { return v.ApiConfig }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1/getGatewayIamPolicy.go b/sdk/go/google/apigateway/v1/getGatewayIamPolicy.go index f4cf7c0845..3fb370a349 100644 --- a/sdk/go/google/apigateway/v1/getGatewayIamPolicy.go +++ b/sdk/go/google/apigateway/v1/getGatewayIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupGatewayIamPolicyResultOutput) ToLookupGatewayIamPolicyResultOutput return o } +func (o LookupGatewayIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewayIamPolicyResult] { + return pulumix.Output[LookupGatewayIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupGatewayIamPolicyResultOutput) AuditConfigs() ApigatewayAuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupGatewayIamPolicyResult) []ApigatewayAuditConfigResponse { return v.AuditConfigs }).(ApigatewayAuditConfigResponseArrayOutput) diff --git a/sdk/go/google/apigateway/v1/pulumiEnums.go b/sdk/go/google/apigateway/v1/pulumiEnums.go index a858b442e2..069d9306fb 100644 --- a/sdk/go/google/apigateway/v1/pulumiEnums.go +++ b/sdk/go/google/apigateway/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o ApigatewayAuditLogConfigLogTypeOutput) ToApigatewayAuditLogConfigLogType }).(ApigatewayAuditLogConfigLogTypePtrOutput) } +func (o ApigatewayAuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditLogConfigLogType] { + return pulumix.Output[ApigatewayAuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o ApigatewayAuditLogConfigLogTypePtrOutput) ToApigatewayAuditLogConfigLogT return o } +func (o ApigatewayAuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayAuditLogConfigLogType] { + return pulumix.Output[*ApigatewayAuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditLogConfigLogTypePtrOutput) Elem() ApigatewayAuditLogConfigLogTypeOutput { return o.ApplyT(func(v *ApigatewayAuditLogConfigLogType) ApigatewayAuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *apigatewayAuditLogConfigLogTypePtr) ToApigatewayAuditLogConfigLogTypeP return pulumi.ToOutputWithContext(ctx, in).(ApigatewayAuditLogConfigLogTypePtrOutput) } +func (in *apigatewayAuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayAuditLogConfigLogType] { + return pulumix.Output[*ApigatewayAuditLogConfigLogType]{ + OutputState: in.ToApigatewayAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ApigatewayAuditLogConfigLogTypeInput)(nil)).Elem(), ApigatewayAuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ApigatewayAuditLogConfigLogTypePtrInput)(nil)).Elem(), ApigatewayAuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/apigateway/v1/pulumiTypes.go b/sdk/go/google/apigateway/v1/pulumiTypes.go index 4729b5e355..9544653cd3 100644 --- a/sdk/go/google/apigateway/v1/pulumiTypes.go +++ b/sdk/go/google/apigateway/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i ApigatewayApiConfigFileArgs) ToApigatewayApiConfigFileOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigFileOutput) } +func (i ApigatewayApiConfigFileArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigFile] { + return pulumix.Output[ApigatewayApiConfigFile]{ + OutputState: i.ToApigatewayApiConfigFileOutputWithContext(ctx).OutputState, + } +} + func (i ApigatewayApiConfigFileArgs) ToApigatewayApiConfigFilePtrOutput() ApigatewayApiConfigFilePtrOutput { return i.ToApigatewayApiConfigFilePtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *apigatewayApiConfigFilePtrType) ToApigatewayApiConfigFilePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigFilePtrOutput) } +func (i *apigatewayApiConfigFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayApiConfigFile] { + return pulumix.Output[*ApigatewayApiConfigFile]{ + OutputState: i.ToApigatewayApiConfigFilePtrOutputWithContext(ctx).OutputState, + } +} + // ApigatewayApiConfigFileArrayInput is an input type that accepts ApigatewayApiConfigFileArray and ApigatewayApiConfigFileArrayOutput values. // You can construct a concrete instance of `ApigatewayApiConfigFileArrayInput` via: // @@ -118,6 +131,12 @@ func (i ApigatewayApiConfigFileArray) ToApigatewayApiConfigFileArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigFileArrayOutput) } +func (i ApigatewayApiConfigFileArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigFile] { + return pulumix.Output[[]ApigatewayApiConfigFile]{ + OutputState: i.ToApigatewayApiConfigFileArrayOutputWithContext(ctx).OutputState, + } +} + // A lightweight description of a file. type ApigatewayApiConfigFileOutput struct{ *pulumi.OutputState } @@ -143,6 +162,12 @@ func (o ApigatewayApiConfigFileOutput) ToApigatewayApiConfigFilePtrOutputWithCon }).(ApigatewayApiConfigFilePtrOutput) } +func (o ApigatewayApiConfigFileOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigFile] { + return pulumix.Output[ApigatewayApiConfigFile]{ + OutputState: o.OutputState, + } +} + // The bytes that constitute the file. func (o ApigatewayApiConfigFileOutput) Contents() pulumi.StringPtrOutput { return o.ApplyT(func(v ApigatewayApiConfigFile) *string { return v.Contents }).(pulumi.StringPtrOutput) @@ -167,6 +192,12 @@ func (o ApigatewayApiConfigFilePtrOutput) ToApigatewayApiConfigFilePtrOutputWith return o } +func (o ApigatewayApiConfigFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayApiConfigFile] { + return pulumix.Output[*ApigatewayApiConfigFile]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigFilePtrOutput) Elem() ApigatewayApiConfigFileOutput { return o.ApplyT(func(v *ApigatewayApiConfigFile) ApigatewayApiConfigFile { if v != nil { @@ -211,6 +242,12 @@ func (o ApigatewayApiConfigFileArrayOutput) ToApigatewayApiConfigFileArrayOutput return o } +func (o ApigatewayApiConfigFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigFile] { + return pulumix.Output[[]ApigatewayApiConfigFile]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigFileArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigFile { return vs[0].([]ApigatewayApiConfigFile)[vs[1].(int)] @@ -240,6 +277,12 @@ func (o ApigatewayApiConfigFileResponseOutput) ToApigatewayApiConfigFileResponse return o } +func (o ApigatewayApiConfigFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigFileResponse] { + return pulumix.Output[ApigatewayApiConfigFileResponse]{ + OutputState: o.OutputState, + } +} + // The bytes that constitute the file. func (o ApigatewayApiConfigFileResponseOutput) Contents() pulumi.StringOutput { return o.ApplyT(func(v ApigatewayApiConfigFileResponse) string { return v.Contents }).(pulumi.StringOutput) @@ -264,6 +307,12 @@ func (o ApigatewayApiConfigFileResponseArrayOutput) ToApigatewayApiConfigFileRes return o } +func (o ApigatewayApiConfigFileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigFileResponse] { + return pulumix.Output[[]ApigatewayApiConfigFileResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigFileResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigFileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigFileResponse { return vs[0].([]ApigatewayApiConfigFileResponse)[vs[1].(int)] @@ -309,6 +358,12 @@ func (i ApigatewayApiConfigGrpcServiceDefinitionArgs) ToApigatewayApiConfigGrpcS return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigGrpcServiceDefinitionOutput) } +func (i ApigatewayApiConfigGrpcServiceDefinitionArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigGrpcServiceDefinition] { + return pulumix.Output[ApigatewayApiConfigGrpcServiceDefinition]{ + OutputState: i.ToApigatewayApiConfigGrpcServiceDefinitionOutputWithContext(ctx).OutputState, + } +} + // ApigatewayApiConfigGrpcServiceDefinitionArrayInput is an input type that accepts ApigatewayApiConfigGrpcServiceDefinitionArray and ApigatewayApiConfigGrpcServiceDefinitionArrayOutput values. // You can construct a concrete instance of `ApigatewayApiConfigGrpcServiceDefinitionArrayInput` via: // @@ -334,6 +389,12 @@ func (i ApigatewayApiConfigGrpcServiceDefinitionArray) ToApigatewayApiConfigGrpc return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigGrpcServiceDefinitionArrayOutput) } +func (i ApigatewayApiConfigGrpcServiceDefinitionArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinition] { + return pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinition]{ + OutputState: i.ToApigatewayApiConfigGrpcServiceDefinitionArrayOutputWithContext(ctx).OutputState, + } +} + // A gRPC service definition. type ApigatewayApiConfigGrpcServiceDefinitionOutput struct{ *pulumi.OutputState } @@ -349,6 +410,12 @@ func (o ApigatewayApiConfigGrpcServiceDefinitionOutput) ToApigatewayApiConfigGrp return o } +func (o ApigatewayApiConfigGrpcServiceDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigGrpcServiceDefinition] { + return pulumix.Output[ApigatewayApiConfigGrpcServiceDefinition]{ + OutputState: o.OutputState, + } +} + // Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb func (o ApigatewayApiConfigGrpcServiceDefinitionOutput) FileDescriptorSet() ApigatewayApiConfigFilePtrOutput { return o.ApplyT(func(v ApigatewayApiConfigGrpcServiceDefinition) *ApigatewayApiConfigFile { return v.FileDescriptorSet }).(ApigatewayApiConfigFilePtrOutput) @@ -373,6 +440,12 @@ func (o ApigatewayApiConfigGrpcServiceDefinitionArrayOutput) ToApigatewayApiConf return o } +func (o ApigatewayApiConfigGrpcServiceDefinitionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinition] { + return pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinition]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigGrpcServiceDefinitionArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigGrpcServiceDefinitionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigGrpcServiceDefinition { return vs[0].([]ApigatewayApiConfigGrpcServiceDefinition)[vs[1].(int)] @@ -402,6 +475,12 @@ func (o ApigatewayApiConfigGrpcServiceDefinitionResponseOutput) ToApigatewayApiC return o } +func (o ApigatewayApiConfigGrpcServiceDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigGrpcServiceDefinitionResponse] { + return pulumix.Output[ApigatewayApiConfigGrpcServiceDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb func (o ApigatewayApiConfigGrpcServiceDefinitionResponseOutput) FileDescriptorSet() ApigatewayApiConfigFileResponseOutput { return o.ApplyT(func(v ApigatewayApiConfigGrpcServiceDefinitionResponse) ApigatewayApiConfigFileResponse { @@ -430,6 +509,12 @@ func (o ApigatewayApiConfigGrpcServiceDefinitionResponseArrayOutput) ToApigatewa return o } +func (o ApigatewayApiConfigGrpcServiceDefinitionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinitionResponse] { + return pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinitionResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigGrpcServiceDefinitionResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigGrpcServiceDefinitionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigGrpcServiceDefinitionResponse { return vs[0].([]ApigatewayApiConfigGrpcServiceDefinitionResponse)[vs[1].(int)] @@ -471,6 +556,12 @@ func (i ApigatewayApiConfigOpenApiDocumentArgs) ToApigatewayApiConfigOpenApiDocu return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigOpenApiDocumentOutput) } +func (i ApigatewayApiConfigOpenApiDocumentArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigOpenApiDocument] { + return pulumix.Output[ApigatewayApiConfigOpenApiDocument]{ + OutputState: i.ToApigatewayApiConfigOpenApiDocumentOutputWithContext(ctx).OutputState, + } +} + // ApigatewayApiConfigOpenApiDocumentArrayInput is an input type that accepts ApigatewayApiConfigOpenApiDocumentArray and ApigatewayApiConfigOpenApiDocumentArrayOutput values. // You can construct a concrete instance of `ApigatewayApiConfigOpenApiDocumentArrayInput` via: // @@ -496,6 +587,12 @@ func (i ApigatewayApiConfigOpenApiDocumentArray) ToApigatewayApiConfigOpenApiDoc return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigOpenApiDocumentArrayOutput) } +func (i ApigatewayApiConfigOpenApiDocumentArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigOpenApiDocument] { + return pulumix.Output[[]ApigatewayApiConfigOpenApiDocument]{ + OutputState: i.ToApigatewayApiConfigOpenApiDocumentArrayOutputWithContext(ctx).OutputState, + } +} + // An OpenAPI Specification Document describing an API. type ApigatewayApiConfigOpenApiDocumentOutput struct{ *pulumi.OutputState } @@ -511,6 +608,12 @@ func (o ApigatewayApiConfigOpenApiDocumentOutput) ToApigatewayApiConfigOpenApiDo return o } +func (o ApigatewayApiConfigOpenApiDocumentOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigOpenApiDocument] { + return pulumix.Output[ApigatewayApiConfigOpenApiDocument]{ + OutputState: o.OutputState, + } +} + // The OpenAPI Specification document file. func (o ApigatewayApiConfigOpenApiDocumentOutput) Document() ApigatewayApiConfigFilePtrOutput { return o.ApplyT(func(v ApigatewayApiConfigOpenApiDocument) *ApigatewayApiConfigFile { return v.Document }).(ApigatewayApiConfigFilePtrOutput) @@ -530,6 +633,12 @@ func (o ApigatewayApiConfigOpenApiDocumentArrayOutput) ToApigatewayApiConfigOpen return o } +func (o ApigatewayApiConfigOpenApiDocumentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigOpenApiDocument] { + return pulumix.Output[[]ApigatewayApiConfigOpenApiDocument]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigOpenApiDocumentArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigOpenApiDocumentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigOpenApiDocument { return vs[0].([]ApigatewayApiConfigOpenApiDocument)[vs[1].(int)] @@ -557,6 +666,12 @@ func (o ApigatewayApiConfigOpenApiDocumentResponseOutput) ToApigatewayApiConfigO return o } +func (o ApigatewayApiConfigOpenApiDocumentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigOpenApiDocumentResponse] { + return pulumix.Output[ApigatewayApiConfigOpenApiDocumentResponse]{ + OutputState: o.OutputState, + } +} + // The OpenAPI Specification document file. func (o ApigatewayApiConfigOpenApiDocumentResponseOutput) Document() ApigatewayApiConfigFileResponseOutput { return o.ApplyT(func(v ApigatewayApiConfigOpenApiDocumentResponse) ApigatewayApiConfigFileResponse { return v.Document }).(ApigatewayApiConfigFileResponseOutput) @@ -576,6 +691,12 @@ func (o ApigatewayApiConfigOpenApiDocumentResponseArrayOutput) ToApigatewayApiCo return o } +func (o ApigatewayApiConfigOpenApiDocumentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigOpenApiDocumentResponse] { + return pulumix.Output[[]ApigatewayApiConfigOpenApiDocumentResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigOpenApiDocumentResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigOpenApiDocumentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigOpenApiDocumentResponse { return vs[0].([]ApigatewayApiConfigOpenApiDocumentResponse)[vs[1].(int)] @@ -621,6 +742,12 @@ func (i ApigatewayAuditConfigArgs) ToApigatewayAuditConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ApigatewayAuditConfigOutput) } +func (i ApigatewayAuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditConfig] { + return pulumix.Output[ApigatewayAuditConfig]{ + OutputState: i.ToApigatewayAuditConfigOutputWithContext(ctx).OutputState, + } +} + // ApigatewayAuditConfigArrayInput is an input type that accepts ApigatewayAuditConfigArray and ApigatewayAuditConfigArrayOutput values. // You can construct a concrete instance of `ApigatewayAuditConfigArrayInput` via: // @@ -646,6 +773,12 @@ func (i ApigatewayAuditConfigArray) ToApigatewayAuditConfigArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ApigatewayAuditConfigArrayOutput) } +func (i ApigatewayAuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditConfig] { + return pulumix.Output[[]ApigatewayAuditConfig]{ + OutputState: i.ToApigatewayAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type ApigatewayAuditConfigOutput struct{ *pulumi.OutputState } @@ -661,6 +794,12 @@ func (o ApigatewayAuditConfigOutput) ToApigatewayAuditConfigOutputWithContext(ct return o } +func (o ApigatewayAuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditConfig] { + return pulumix.Output[ApigatewayAuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o ApigatewayAuditConfigOutput) AuditLogConfigs() ApigatewayAuditLogConfigArrayOutput { return o.ApplyT(func(v ApigatewayAuditConfig) []ApigatewayAuditLogConfig { return v.AuditLogConfigs }).(ApigatewayAuditLogConfigArrayOutput) @@ -685,6 +824,12 @@ func (o ApigatewayAuditConfigArrayOutput) ToApigatewayAuditConfigArrayOutputWith return o } +func (o ApigatewayAuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditConfig] { + return pulumix.Output[[]ApigatewayAuditConfig]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditConfigArrayOutput) Index(i pulumi.IntInput) ApigatewayAuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayAuditConfig { return vs[0].([]ApigatewayAuditConfig)[vs[1].(int)] @@ -714,6 +859,12 @@ func (o ApigatewayAuditConfigResponseOutput) ToApigatewayAuditConfigResponseOutp return o } +func (o ApigatewayAuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditConfigResponse] { + return pulumix.Output[ApigatewayAuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o ApigatewayAuditConfigResponseOutput) AuditLogConfigs() ApigatewayAuditLogConfigResponseArrayOutput { return o.ApplyT(func(v ApigatewayAuditConfigResponse) []ApigatewayAuditLogConfigResponse { return v.AuditLogConfigs }).(ApigatewayAuditLogConfigResponseArrayOutput) @@ -738,6 +889,12 @@ func (o ApigatewayAuditConfigResponseArrayOutput) ToApigatewayAuditConfigRespons return o } +func (o ApigatewayAuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditConfigResponse] { + return pulumix.Output[[]ApigatewayAuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditConfigResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayAuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayAuditConfigResponse { return vs[0].([]ApigatewayAuditConfigResponse)[vs[1].(int)] @@ -783,6 +940,12 @@ func (i ApigatewayAuditLogConfigArgs) ToApigatewayAuditLogConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ApigatewayAuditLogConfigOutput) } +func (i ApigatewayAuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditLogConfig] { + return pulumix.Output[ApigatewayAuditLogConfig]{ + OutputState: i.ToApigatewayAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // ApigatewayAuditLogConfigArrayInput is an input type that accepts ApigatewayAuditLogConfigArray and ApigatewayAuditLogConfigArrayOutput values. // You can construct a concrete instance of `ApigatewayAuditLogConfigArrayInput` via: // @@ -808,6 +971,12 @@ func (i ApigatewayAuditLogConfigArray) ToApigatewayAuditLogConfigArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(ApigatewayAuditLogConfigArrayOutput) } +func (i ApigatewayAuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditLogConfig] { + return pulumix.Output[[]ApigatewayAuditLogConfig]{ + OutputState: i.ToApigatewayAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type ApigatewayAuditLogConfigOutput struct{ *pulumi.OutputState } @@ -823,6 +992,12 @@ func (o ApigatewayAuditLogConfigOutput) ToApigatewayAuditLogConfigOutputWithCont return o } +func (o ApigatewayAuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditLogConfig] { + return pulumix.Output[ApigatewayAuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o ApigatewayAuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v ApigatewayAuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -847,6 +1022,12 @@ func (o ApigatewayAuditLogConfigArrayOutput) ToApigatewayAuditLogConfigArrayOutp return o } +func (o ApigatewayAuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditLogConfig] { + return pulumix.Output[[]ApigatewayAuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditLogConfigArrayOutput) Index(i pulumi.IntInput) ApigatewayAuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayAuditLogConfig { return vs[0].([]ApigatewayAuditLogConfig)[vs[1].(int)] @@ -876,6 +1057,12 @@ func (o ApigatewayAuditLogConfigResponseOutput) ToApigatewayAuditLogConfigRespon return o } +func (o ApigatewayAuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditLogConfigResponse] { + return pulumix.Output[ApigatewayAuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o ApigatewayAuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v ApigatewayAuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -900,6 +1087,12 @@ func (o ApigatewayAuditLogConfigResponseArrayOutput) ToApigatewayAuditLogConfigR return o } +func (o ApigatewayAuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditLogConfigResponse] { + return pulumix.Output[[]ApigatewayAuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayAuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayAuditLogConfigResponse { return vs[0].([]ApigatewayAuditLogConfigResponse)[vs[1].(int)] @@ -949,6 +1142,12 @@ func (i ApigatewayBindingArgs) ToApigatewayBindingOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ApigatewayBindingOutput) } +func (i ApigatewayBindingArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayBinding] { + return pulumix.Output[ApigatewayBinding]{ + OutputState: i.ToApigatewayBindingOutputWithContext(ctx).OutputState, + } +} + // ApigatewayBindingArrayInput is an input type that accepts ApigatewayBindingArray and ApigatewayBindingArrayOutput values. // You can construct a concrete instance of `ApigatewayBindingArrayInput` via: // @@ -974,6 +1173,12 @@ func (i ApigatewayBindingArray) ToApigatewayBindingArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ApigatewayBindingArrayOutput) } +func (i ApigatewayBindingArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayBinding] { + return pulumix.Output[[]ApigatewayBinding]{ + OutputState: i.ToApigatewayBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type ApigatewayBindingOutput struct{ *pulumi.OutputState } @@ -989,6 +1194,12 @@ func (o ApigatewayBindingOutput) ToApigatewayBindingOutputWithContext(ctx contex return o } +func (o ApigatewayBindingOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayBinding] { + return pulumix.Output[ApigatewayBinding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o ApigatewayBindingOutput) Condition() ApigatewayExprPtrOutput { return o.ApplyT(func(v ApigatewayBinding) *ApigatewayExpr { return v.Condition }).(ApigatewayExprPtrOutput) @@ -1018,6 +1229,12 @@ func (o ApigatewayBindingArrayOutput) ToApigatewayBindingArrayOutputWithContext( return o } +func (o ApigatewayBindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayBinding] { + return pulumix.Output[[]ApigatewayBinding]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayBindingArrayOutput) Index(i pulumi.IntInput) ApigatewayBindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayBinding { return vs[0].([]ApigatewayBinding)[vs[1].(int)] @@ -1049,6 +1266,12 @@ func (o ApigatewayBindingResponseOutput) ToApigatewayBindingResponseOutputWithCo return o } +func (o ApigatewayBindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayBindingResponse] { + return pulumix.Output[ApigatewayBindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o ApigatewayBindingResponseOutput) Condition() ApigatewayExprResponseOutput { return o.ApplyT(func(v ApigatewayBindingResponse) ApigatewayExprResponse { return v.Condition }).(ApigatewayExprResponseOutput) @@ -1078,6 +1301,12 @@ func (o ApigatewayBindingResponseArrayOutput) ToApigatewayBindingResponseArrayOu return o } +func (o ApigatewayBindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayBindingResponse] { + return pulumix.Output[[]ApigatewayBindingResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayBindingResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayBindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayBindingResponse { return vs[0].([]ApigatewayBindingResponse)[vs[1].(int)] @@ -1131,6 +1360,12 @@ func (i ApigatewayExprArgs) ToApigatewayExprOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ApigatewayExprOutput) } +func (i ApigatewayExprArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayExpr] { + return pulumix.Output[ApigatewayExpr]{ + OutputState: i.ToApigatewayExprOutputWithContext(ctx).OutputState, + } +} + func (i ApigatewayExprArgs) ToApigatewayExprPtrOutput() ApigatewayExprPtrOutput { return i.ToApigatewayExprPtrOutputWithContext(context.Background()) } @@ -1172,6 +1407,12 @@ func (i *apigatewayExprPtrType) ToApigatewayExprPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ApigatewayExprPtrOutput) } +func (i *apigatewayExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayExpr] { + return pulumix.Output[*ApigatewayExpr]{ + OutputState: i.ToApigatewayExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ApigatewayExprOutput struct{ *pulumi.OutputState } @@ -1197,6 +1438,12 @@ func (o ApigatewayExprOutput) ToApigatewayExprPtrOutputWithContext(ctx context.C }).(ApigatewayExprPtrOutput) } +func (o ApigatewayExprOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayExpr] { + return pulumix.Output[ApigatewayExpr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ApigatewayExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v ApigatewayExpr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1231,6 +1478,12 @@ func (o ApigatewayExprPtrOutput) ToApigatewayExprPtrOutputWithContext(ctx contex return o } +func (o ApigatewayExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayExpr] { + return pulumix.Output[*ApigatewayExpr]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayExprPtrOutput) Elem() ApigatewayExprOutput { return o.ApplyT(func(v *ApigatewayExpr) ApigatewayExpr { if v != nil { @@ -1308,6 +1561,12 @@ func (o ApigatewayExprResponseOutput) ToApigatewayExprResponseOutputWithContext( return o } +func (o ApigatewayExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayExprResponse] { + return pulumix.Output[ApigatewayExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ApigatewayExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ApigatewayExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1beta/api.go b/sdk/go/google/apigateway/v1beta/api.go index 6934aa8b9b..360d41a8d4 100644 --- a/sdk/go/google/apigateway/v1beta/api.go +++ b/sdk/go/google/apigateway/v1beta/api.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Api in a given project and location. @@ -135,6 +136,12 @@ func (i *Api) ToApiOutputWithContext(ctx context.Context) ApiOutput { return pulumi.ToOutputWithContext(ctx, i).(ApiOutput) } +func (i *Api) ToOutput(ctx context.Context) pulumix.Output[*Api] { + return pulumix.Output[*Api]{ + OutputState: i.ToApiOutputWithContext(ctx).OutputState, + } +} + type ApiOutput struct{ *pulumi.OutputState } func (ApiOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiOutput) ToApiOutputWithContext(ctx context.Context) ApiOutput { return o } +func (o ApiOutput) ToOutput(ctx context.Context) pulumix.Output[*Api] { + return pulumix.Output[*Api]{ + OutputState: o.OutputState, + } +} + // Required. Identifier to assign to the API. Must be unique within scope of the parent resource. func (o ApiOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *Api) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1beta/apiConfigIamBinding.go b/sdk/go/google/apigateway/v1beta/apiConfigIamBinding.go index 322c84252c..e2119a06ba 100644 --- a/sdk/go/google/apigateway/v1beta/apiConfigIamBinding.go +++ b/sdk/go/google/apigateway/v1beta/apiConfigIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ApiConfigIamBinding) ToApiConfigIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ApiConfigIamBindingOutput) } +func (i *ApiConfigIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamBinding] { + return pulumix.Output[*ApiConfigIamBinding]{ + OutputState: i.ToApiConfigIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiConfigIamBindingOutput struct{ *pulumi.OutputState } func (ApiConfigIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ApiConfigIamBindingOutput) ToApiConfigIamBindingOutputWithContext(ctx co return o } +func (o ApiConfigIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamBinding] { + return pulumix.Output[*ApiConfigIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiConfigIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiConfigIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1beta/apiConfigIamMember.go b/sdk/go/google/apigateway/v1beta/apiConfigIamMember.go index 7cd27ceaec..e017d48f49 100644 --- a/sdk/go/google/apigateway/v1beta/apiConfigIamMember.go +++ b/sdk/go/google/apigateway/v1beta/apiConfigIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ApiConfigIamMember) ToApiConfigIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ApiConfigIamMemberOutput) } +func (i *ApiConfigIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamMember] { + return pulumix.Output[*ApiConfigIamMember]{ + OutputState: i.ToApiConfigIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiConfigIamMemberOutput struct{ *pulumi.OutputState } func (ApiConfigIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ApiConfigIamMemberOutput) ToApiConfigIamMemberOutputWithContext(ctx cont return o } +func (o ApiConfigIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamMember] { + return pulumix.Output[*ApiConfigIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiConfigIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiConfigIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1beta/apiConfigIamPolicy.go b/sdk/go/google/apigateway/v1beta/apiConfigIamPolicy.go index 79e7543e22..981ac0167e 100644 --- a/sdk/go/google/apigateway/v1beta/apiConfigIamPolicy.go +++ b/sdk/go/google/apigateway/v1beta/apiConfigIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *ApiConfigIamPolicy) ToApiConfigIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ApiConfigIamPolicyOutput) } +func (i *ApiConfigIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamPolicy] { + return pulumix.Output[*ApiConfigIamPolicy]{ + OutputState: i.ToApiConfigIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiConfigIamPolicyOutput struct{ *pulumi.OutputState } func (ApiConfigIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o ApiConfigIamPolicyOutput) ToApiConfigIamPolicyOutputWithContext(ctx cont return o } +func (o ApiConfigIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigIamPolicy] { + return pulumix.Output[*ApiConfigIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiConfigIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigateway/v1beta/apiIamBinding.go b/sdk/go/google/apigateway/v1beta/apiIamBinding.go index 93ac5f998f..a95406ee55 100644 --- a/sdk/go/google/apigateway/v1beta/apiIamBinding.go +++ b/sdk/go/google/apigateway/v1beta/apiIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ApiIamBinding) ToApiIamBindingOutputWithContext(ctx context.Context) Ap return pulumi.ToOutputWithContext(ctx, i).(ApiIamBindingOutput) } +func (i *ApiIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiIamBinding] { + return pulumix.Output[*ApiIamBinding]{ + OutputState: i.ToApiIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiIamBindingOutput struct{ *pulumi.OutputState } func (ApiIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ApiIamBindingOutput) ToApiIamBindingOutputWithContext(ctx context.Contex return o } +func (o ApiIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiIamBinding] { + return pulumix.Output[*ApiIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1beta/apiIamMember.go b/sdk/go/google/apigateway/v1beta/apiIamMember.go index 5ad86a9806..28896da02c 100644 --- a/sdk/go/google/apigateway/v1beta/apiIamMember.go +++ b/sdk/go/google/apigateway/v1beta/apiIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ApiIamMember) ToApiIamMemberOutputWithContext(ctx context.Context) ApiI return pulumi.ToOutputWithContext(ctx, i).(ApiIamMemberOutput) } +func (i *ApiIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiIamMember] { + return pulumix.Output[*ApiIamMember]{ + OutputState: i.ToApiIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiIamMemberOutput struct{ *pulumi.OutputState } func (ApiIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ApiIamMemberOutput) ToApiIamMemberOutputWithContext(ctx context.Context) return o } +func (o ApiIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiIamMember] { + return pulumix.Output[*ApiIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1beta/apiIamPolicy.go b/sdk/go/google/apigateway/v1beta/apiIamPolicy.go index 0f29f21f64..74c7dad9eb 100644 --- a/sdk/go/google/apigateway/v1beta/apiIamPolicy.go +++ b/sdk/go/google/apigateway/v1beta/apiIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiIamPolicy) ToApiIamPolicyOutputWithContext(ctx context.Context) ApiI return pulumi.ToOutputWithContext(ctx, i).(ApiIamPolicyOutput) } +func (i *ApiIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiIamPolicy] { + return pulumix.Output[*ApiIamPolicy]{ + OutputState: i.ToApiIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiIamPolicyOutput struct{ *pulumi.OutputState } func (ApiIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiIamPolicyOutput) ToApiIamPolicyOutputWithContext(ctx context.Context) return o } +func (o ApiIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiIamPolicy] { + return pulumix.Output[*ApiIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigateway/v1beta/config.go b/sdk/go/google/apigateway/v1beta/config.go index 0bd430d4b2..bf791e4414 100644 --- a/sdk/go/google/apigateway/v1beta/config.go +++ b/sdk/go/google/apigateway/v1beta/config.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ApiConfig in a given project and location. @@ -168,6 +169,12 @@ func (i *Config) ToConfigOutputWithContext(ctx context.Context) ConfigOutput { return pulumi.ToOutputWithContext(ctx, i).(ConfigOutput) } +func (i *Config) ToOutput(ctx context.Context) pulumix.Output[*Config] { + return pulumix.Output[*Config]{ + OutputState: i.ToConfigOutputWithContext(ctx).OutputState, + } +} + type ConfigOutput struct{ *pulumi.OutputState } func (ConfigOutput) ElementType() reflect.Type { @@ -182,6 +189,12 @@ func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutpu return o } +func (o ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*Config] { + return pulumix.Output[*Config]{ + OutputState: o.OutputState, + } +} + // Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource. func (o ConfigOutput) ApiConfigId() pulumi.StringOutput { return o.ApplyT(func(v *Config) pulumi.StringOutput { return v.ApiConfigId }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1beta/gateway.go b/sdk/go/google/apigateway/v1beta/gateway.go index 0ec52322ae..60efc28a20 100644 --- a/sdk/go/google/apigateway/v1beta/gateway.go +++ b/sdk/go/google/apigateway/v1beta/gateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Gateway in a given project and location. @@ -140,6 +141,12 @@ func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput return pulumi.ToOutputWithContext(ctx, i).(GatewayOutput) } +func (i *Gateway) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: i.ToGatewayOutputWithContext(ctx).OutputState, + } +} + type GatewayOutput struct{ *pulumi.OutputState } func (GatewayOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOu return o } +func (o GatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: o.OutputState, + } +} + // Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} func (o GatewayOutput) ApiConfig() pulumi.StringOutput { return o.ApplyT(func(v *Gateway) pulumi.StringOutput { return v.ApiConfig }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1beta/gatewayIamBinding.go b/sdk/go/google/apigateway/v1beta/gatewayIamBinding.go index efc385fe96..f5b941bf47 100644 --- a/sdk/go/google/apigateway/v1beta/gatewayIamBinding.go +++ b/sdk/go/google/apigateway/v1beta/gatewayIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *GatewayIamBinding) ToGatewayIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(GatewayIamBindingOutput) } +func (i *GatewayIamBinding) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamBinding] { + return pulumix.Output[*GatewayIamBinding]{ + OutputState: i.ToGatewayIamBindingOutputWithContext(ctx).OutputState, + } +} + type GatewayIamBindingOutput struct{ *pulumi.OutputState } func (GatewayIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o GatewayIamBindingOutput) ToGatewayIamBindingOutputWithContext(ctx contex return o } +func (o GatewayIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamBinding] { + return pulumix.Output[*GatewayIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GatewayIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GatewayIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1beta/gatewayIamMember.go b/sdk/go/google/apigateway/v1beta/gatewayIamMember.go index f744abd380..4b990692ac 100644 --- a/sdk/go/google/apigateway/v1beta/gatewayIamMember.go +++ b/sdk/go/google/apigateway/v1beta/gatewayIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *GatewayIamMember) ToGatewayIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GatewayIamMemberOutput) } +func (i *GatewayIamMember) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamMember] { + return pulumix.Output[*GatewayIamMember]{ + OutputState: i.ToGatewayIamMemberOutputWithContext(ctx).OutputState, + } +} + type GatewayIamMemberOutput struct{ *pulumi.OutputState } func (GatewayIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o GatewayIamMemberOutput) ToGatewayIamMemberOutputWithContext(ctx context. return o } +func (o GatewayIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamMember] { + return pulumix.Output[*GatewayIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GatewayIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GatewayIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigateway/v1beta/gatewayIamPolicy.go b/sdk/go/google/apigateway/v1beta/gatewayIamPolicy.go index ba1bd1378f..918e09047d 100644 --- a/sdk/go/google/apigateway/v1beta/gatewayIamPolicy.go +++ b/sdk/go/google/apigateway/v1beta/gatewayIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GatewayIamPolicy) ToGatewayIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GatewayIamPolicyOutput) } +func (i *GatewayIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamPolicy] { + return pulumix.Output[*GatewayIamPolicy]{ + OutputState: i.ToGatewayIamPolicyOutputWithContext(ctx).OutputState, + } +} + type GatewayIamPolicyOutput struct{ *pulumi.OutputState } func (GatewayIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GatewayIamPolicyOutput) ToGatewayIamPolicyOutputWithContext(ctx context. return o } +func (o GatewayIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamPolicy] { + return pulumix.Output[*GatewayIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o GatewayIamPolicyOutput) AuditConfigs() ApigatewayAuditConfigResponseArrayOutput { return o.ApplyT(func(v *GatewayIamPolicy) ApigatewayAuditConfigResponseArrayOutput { return v.AuditConfigs }).(ApigatewayAuditConfigResponseArrayOutput) diff --git a/sdk/go/google/apigateway/v1beta/getApi.go b/sdk/go/google/apigateway/v1beta/getApi.go index e479f60396..3d5abb55cd 100644 --- a/sdk/go/google/apigateway/v1beta/getApi.go +++ b/sdk/go/google/apigateway/v1beta/getApi.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Api. @@ -82,6 +83,12 @@ func (o LookupApiResultOutput) ToLookupApiResultOutputWithContext(ctx context.Co return o } +func (o LookupApiResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiResult] { + return pulumix.Output[LookupApiResult]{ + OutputState: o.OutputState, + } +} + // Created time. func (o LookupApiResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupApiResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1beta/getApiConfigIamPolicy.go b/sdk/go/google/apigateway/v1beta/getApiConfigIamPolicy.go index 94ad583bb9..1b10b97dc9 100644 --- a/sdk/go/google/apigateway/v1beta/getApiConfigIamPolicy.go +++ b/sdk/go/google/apigateway/v1beta/getApiConfigIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupApiConfigIamPolicyResultOutput) ToLookupApiConfigIamPolicyResultOu return o } +func (o LookupApiConfigIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiConfigIamPolicyResult] { + return pulumix.Output[LookupApiConfigIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupApiConfigIamPolicyResultOutput) AuditConfigs() ApigatewayAuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupApiConfigIamPolicyResult) []ApigatewayAuditConfigResponse { return v.AuditConfigs }).(ApigatewayAuditConfigResponseArrayOutput) diff --git a/sdk/go/google/apigateway/v1beta/getApiIamPolicy.go b/sdk/go/google/apigateway/v1beta/getApiIamPolicy.go index 5638f45871..a6b50358f9 100644 --- a/sdk/go/google/apigateway/v1beta/getApiIamPolicy.go +++ b/sdk/go/google/apigateway/v1beta/getApiIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupApiIamPolicyResultOutput) ToLookupApiIamPolicyResultOutputWithCont return o } +func (o LookupApiIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiIamPolicyResult] { + return pulumix.Output[LookupApiIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupApiIamPolicyResultOutput) AuditConfigs() ApigatewayAuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupApiIamPolicyResult) []ApigatewayAuditConfigResponse { return v.AuditConfigs }).(ApigatewayAuditConfigResponseArrayOutput) diff --git a/sdk/go/google/apigateway/v1beta/getConfig.go b/sdk/go/google/apigateway/v1beta/getConfig.go index 338b18f35d..d85b04b5e0 100644 --- a/sdk/go/google/apigateway/v1beta/getConfig.go +++ b/sdk/go/google/apigateway/v1beta/getConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ApiConfig. @@ -96,6 +97,12 @@ func (o LookupConfigResultOutput) ToLookupConfigResultOutputWithContext(ctx cont return o } +func (o LookupConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConfigResult] { + return pulumix.Output[LookupConfigResult]{ + OutputState: o.OutputState, + } +} + // Created time. func (o LookupConfigResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupConfigResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1beta/getGateway.go b/sdk/go/google/apigateway/v1beta/getGateway.go index d75d80d762..1e452030b5 100644 --- a/sdk/go/google/apigateway/v1beta/getGateway.go +++ b/sdk/go/google/apigateway/v1beta/getGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Gateway. @@ -84,6 +85,12 @@ func (o LookupGatewayResultOutput) ToLookupGatewayResultOutputWithContext(ctx co return o } +func (o LookupGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewayResult] { + return pulumix.Output[LookupGatewayResult]{ + OutputState: o.OutputState, + } +} + // Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} func (o LookupGatewayResultOutput) ApiConfig() pulumi.StringOutput { return o.ApplyT(func(v LookupGatewayResult) string { return v.ApiConfig }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigateway/v1beta/getGatewayIamPolicy.go b/sdk/go/google/apigateway/v1beta/getGatewayIamPolicy.go index 726f4f6204..d543cdc4e8 100644 --- a/sdk/go/google/apigateway/v1beta/getGatewayIamPolicy.go +++ b/sdk/go/google/apigateway/v1beta/getGatewayIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupGatewayIamPolicyResultOutput) ToLookupGatewayIamPolicyResultOutput return o } +func (o LookupGatewayIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewayIamPolicyResult] { + return pulumix.Output[LookupGatewayIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupGatewayIamPolicyResultOutput) AuditConfigs() ApigatewayAuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupGatewayIamPolicyResult) []ApigatewayAuditConfigResponse { return v.AuditConfigs }).(ApigatewayAuditConfigResponseArrayOutput) diff --git a/sdk/go/google/apigateway/v1beta/pulumiEnums.go b/sdk/go/google/apigateway/v1beta/pulumiEnums.go index 4436a372cd..6fdf358c01 100644 --- a/sdk/go/google/apigateway/v1beta/pulumiEnums.go +++ b/sdk/go/google/apigateway/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o ApigatewayAuditLogConfigLogTypeOutput) ToApigatewayAuditLogConfigLogType }).(ApigatewayAuditLogConfigLogTypePtrOutput) } +func (o ApigatewayAuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditLogConfigLogType] { + return pulumix.Output[ApigatewayAuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o ApigatewayAuditLogConfigLogTypePtrOutput) ToApigatewayAuditLogConfigLogT return o } +func (o ApigatewayAuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayAuditLogConfigLogType] { + return pulumix.Output[*ApigatewayAuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditLogConfigLogTypePtrOutput) Elem() ApigatewayAuditLogConfigLogTypeOutput { return o.ApplyT(func(v *ApigatewayAuditLogConfigLogType) ApigatewayAuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *apigatewayAuditLogConfigLogTypePtr) ToApigatewayAuditLogConfigLogTypeP return pulumi.ToOutputWithContext(ctx, in).(ApigatewayAuditLogConfigLogTypePtrOutput) } +func (in *apigatewayAuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayAuditLogConfigLogType] { + return pulumix.Output[*ApigatewayAuditLogConfigLogType]{ + OutputState: in.ToApigatewayAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ApigatewayAuditLogConfigLogTypeInput)(nil)).Elem(), ApigatewayAuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ApigatewayAuditLogConfigLogTypePtrInput)(nil)).Elem(), ApigatewayAuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/apigateway/v1beta/pulumiTypes.go b/sdk/go/google/apigateway/v1beta/pulumiTypes.go index d334b3ea01..c2ca72e95f 100644 --- a/sdk/go/google/apigateway/v1beta/pulumiTypes.go +++ b/sdk/go/google/apigateway/v1beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i ApigatewayApiConfigFileArgs) ToApigatewayApiConfigFileOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigFileOutput) } +func (i ApigatewayApiConfigFileArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigFile] { + return pulumix.Output[ApigatewayApiConfigFile]{ + OutputState: i.ToApigatewayApiConfigFileOutputWithContext(ctx).OutputState, + } +} + func (i ApigatewayApiConfigFileArgs) ToApigatewayApiConfigFilePtrOutput() ApigatewayApiConfigFilePtrOutput { return i.ToApigatewayApiConfigFilePtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *apigatewayApiConfigFilePtrType) ToApigatewayApiConfigFilePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigFilePtrOutput) } +func (i *apigatewayApiConfigFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayApiConfigFile] { + return pulumix.Output[*ApigatewayApiConfigFile]{ + OutputState: i.ToApigatewayApiConfigFilePtrOutputWithContext(ctx).OutputState, + } +} + // ApigatewayApiConfigFileArrayInput is an input type that accepts ApigatewayApiConfigFileArray and ApigatewayApiConfigFileArrayOutput values. // You can construct a concrete instance of `ApigatewayApiConfigFileArrayInput` via: // @@ -118,6 +131,12 @@ func (i ApigatewayApiConfigFileArray) ToApigatewayApiConfigFileArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigFileArrayOutput) } +func (i ApigatewayApiConfigFileArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigFile] { + return pulumix.Output[[]ApigatewayApiConfigFile]{ + OutputState: i.ToApigatewayApiConfigFileArrayOutputWithContext(ctx).OutputState, + } +} + // A lightweight description of a file. type ApigatewayApiConfigFileOutput struct{ *pulumi.OutputState } @@ -143,6 +162,12 @@ func (o ApigatewayApiConfigFileOutput) ToApigatewayApiConfigFilePtrOutputWithCon }).(ApigatewayApiConfigFilePtrOutput) } +func (o ApigatewayApiConfigFileOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigFile] { + return pulumix.Output[ApigatewayApiConfigFile]{ + OutputState: o.OutputState, + } +} + // The bytes that constitute the file. func (o ApigatewayApiConfigFileOutput) Contents() pulumi.StringPtrOutput { return o.ApplyT(func(v ApigatewayApiConfigFile) *string { return v.Contents }).(pulumi.StringPtrOutput) @@ -167,6 +192,12 @@ func (o ApigatewayApiConfigFilePtrOutput) ToApigatewayApiConfigFilePtrOutputWith return o } +func (o ApigatewayApiConfigFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayApiConfigFile] { + return pulumix.Output[*ApigatewayApiConfigFile]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigFilePtrOutput) Elem() ApigatewayApiConfigFileOutput { return o.ApplyT(func(v *ApigatewayApiConfigFile) ApigatewayApiConfigFile { if v != nil { @@ -211,6 +242,12 @@ func (o ApigatewayApiConfigFileArrayOutput) ToApigatewayApiConfigFileArrayOutput return o } +func (o ApigatewayApiConfigFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigFile] { + return pulumix.Output[[]ApigatewayApiConfigFile]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigFileArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigFile { return vs[0].([]ApigatewayApiConfigFile)[vs[1].(int)] @@ -240,6 +277,12 @@ func (o ApigatewayApiConfigFileResponseOutput) ToApigatewayApiConfigFileResponse return o } +func (o ApigatewayApiConfigFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigFileResponse] { + return pulumix.Output[ApigatewayApiConfigFileResponse]{ + OutputState: o.OutputState, + } +} + // The bytes that constitute the file. func (o ApigatewayApiConfigFileResponseOutput) Contents() pulumi.StringOutput { return o.ApplyT(func(v ApigatewayApiConfigFileResponse) string { return v.Contents }).(pulumi.StringOutput) @@ -264,6 +307,12 @@ func (o ApigatewayApiConfigFileResponseArrayOutput) ToApigatewayApiConfigFileRes return o } +func (o ApigatewayApiConfigFileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigFileResponse] { + return pulumix.Output[[]ApigatewayApiConfigFileResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigFileResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigFileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigFileResponse { return vs[0].([]ApigatewayApiConfigFileResponse)[vs[1].(int)] @@ -309,6 +358,12 @@ func (i ApigatewayApiConfigGrpcServiceDefinitionArgs) ToApigatewayApiConfigGrpcS return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigGrpcServiceDefinitionOutput) } +func (i ApigatewayApiConfigGrpcServiceDefinitionArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigGrpcServiceDefinition] { + return pulumix.Output[ApigatewayApiConfigGrpcServiceDefinition]{ + OutputState: i.ToApigatewayApiConfigGrpcServiceDefinitionOutputWithContext(ctx).OutputState, + } +} + // ApigatewayApiConfigGrpcServiceDefinitionArrayInput is an input type that accepts ApigatewayApiConfigGrpcServiceDefinitionArray and ApigatewayApiConfigGrpcServiceDefinitionArrayOutput values. // You can construct a concrete instance of `ApigatewayApiConfigGrpcServiceDefinitionArrayInput` via: // @@ -334,6 +389,12 @@ func (i ApigatewayApiConfigGrpcServiceDefinitionArray) ToApigatewayApiConfigGrpc return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigGrpcServiceDefinitionArrayOutput) } +func (i ApigatewayApiConfigGrpcServiceDefinitionArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinition] { + return pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinition]{ + OutputState: i.ToApigatewayApiConfigGrpcServiceDefinitionArrayOutputWithContext(ctx).OutputState, + } +} + // A gRPC service definition. type ApigatewayApiConfigGrpcServiceDefinitionOutput struct{ *pulumi.OutputState } @@ -349,6 +410,12 @@ func (o ApigatewayApiConfigGrpcServiceDefinitionOutput) ToApigatewayApiConfigGrp return o } +func (o ApigatewayApiConfigGrpcServiceDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigGrpcServiceDefinition] { + return pulumix.Output[ApigatewayApiConfigGrpcServiceDefinition]{ + OutputState: o.OutputState, + } +} + // Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb func (o ApigatewayApiConfigGrpcServiceDefinitionOutput) FileDescriptorSet() ApigatewayApiConfigFilePtrOutput { return o.ApplyT(func(v ApigatewayApiConfigGrpcServiceDefinition) *ApigatewayApiConfigFile { return v.FileDescriptorSet }).(ApigatewayApiConfigFilePtrOutput) @@ -373,6 +440,12 @@ func (o ApigatewayApiConfigGrpcServiceDefinitionArrayOutput) ToApigatewayApiConf return o } +func (o ApigatewayApiConfigGrpcServiceDefinitionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinition] { + return pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinition]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigGrpcServiceDefinitionArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigGrpcServiceDefinitionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigGrpcServiceDefinition { return vs[0].([]ApigatewayApiConfigGrpcServiceDefinition)[vs[1].(int)] @@ -402,6 +475,12 @@ func (o ApigatewayApiConfigGrpcServiceDefinitionResponseOutput) ToApigatewayApiC return o } +func (o ApigatewayApiConfigGrpcServiceDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigGrpcServiceDefinitionResponse] { + return pulumix.Output[ApigatewayApiConfigGrpcServiceDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb func (o ApigatewayApiConfigGrpcServiceDefinitionResponseOutput) FileDescriptorSet() ApigatewayApiConfigFileResponseOutput { return o.ApplyT(func(v ApigatewayApiConfigGrpcServiceDefinitionResponse) ApigatewayApiConfigFileResponse { @@ -430,6 +509,12 @@ func (o ApigatewayApiConfigGrpcServiceDefinitionResponseArrayOutput) ToApigatewa return o } +func (o ApigatewayApiConfigGrpcServiceDefinitionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinitionResponse] { + return pulumix.Output[[]ApigatewayApiConfigGrpcServiceDefinitionResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigGrpcServiceDefinitionResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigGrpcServiceDefinitionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigGrpcServiceDefinitionResponse { return vs[0].([]ApigatewayApiConfigGrpcServiceDefinitionResponse)[vs[1].(int)] @@ -471,6 +556,12 @@ func (i ApigatewayApiConfigOpenApiDocumentArgs) ToApigatewayApiConfigOpenApiDocu return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigOpenApiDocumentOutput) } +func (i ApigatewayApiConfigOpenApiDocumentArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigOpenApiDocument] { + return pulumix.Output[ApigatewayApiConfigOpenApiDocument]{ + OutputState: i.ToApigatewayApiConfigOpenApiDocumentOutputWithContext(ctx).OutputState, + } +} + // ApigatewayApiConfigOpenApiDocumentArrayInput is an input type that accepts ApigatewayApiConfigOpenApiDocumentArray and ApigatewayApiConfigOpenApiDocumentArrayOutput values. // You can construct a concrete instance of `ApigatewayApiConfigOpenApiDocumentArrayInput` via: // @@ -496,6 +587,12 @@ func (i ApigatewayApiConfigOpenApiDocumentArray) ToApigatewayApiConfigOpenApiDoc return pulumi.ToOutputWithContext(ctx, i).(ApigatewayApiConfigOpenApiDocumentArrayOutput) } +func (i ApigatewayApiConfigOpenApiDocumentArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigOpenApiDocument] { + return pulumix.Output[[]ApigatewayApiConfigOpenApiDocument]{ + OutputState: i.ToApigatewayApiConfigOpenApiDocumentArrayOutputWithContext(ctx).OutputState, + } +} + // An OpenAPI Specification Document describing an API. type ApigatewayApiConfigOpenApiDocumentOutput struct{ *pulumi.OutputState } @@ -511,6 +608,12 @@ func (o ApigatewayApiConfigOpenApiDocumentOutput) ToApigatewayApiConfigOpenApiDo return o } +func (o ApigatewayApiConfigOpenApiDocumentOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigOpenApiDocument] { + return pulumix.Output[ApigatewayApiConfigOpenApiDocument]{ + OutputState: o.OutputState, + } +} + // The OpenAPI Specification document file. func (o ApigatewayApiConfigOpenApiDocumentOutput) Document() ApigatewayApiConfigFilePtrOutput { return o.ApplyT(func(v ApigatewayApiConfigOpenApiDocument) *ApigatewayApiConfigFile { return v.Document }).(ApigatewayApiConfigFilePtrOutput) @@ -530,6 +633,12 @@ func (o ApigatewayApiConfigOpenApiDocumentArrayOutput) ToApigatewayApiConfigOpen return o } +func (o ApigatewayApiConfigOpenApiDocumentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigOpenApiDocument] { + return pulumix.Output[[]ApigatewayApiConfigOpenApiDocument]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigOpenApiDocumentArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigOpenApiDocumentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigOpenApiDocument { return vs[0].([]ApigatewayApiConfigOpenApiDocument)[vs[1].(int)] @@ -557,6 +666,12 @@ func (o ApigatewayApiConfigOpenApiDocumentResponseOutput) ToApigatewayApiConfigO return o } +func (o ApigatewayApiConfigOpenApiDocumentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayApiConfigOpenApiDocumentResponse] { + return pulumix.Output[ApigatewayApiConfigOpenApiDocumentResponse]{ + OutputState: o.OutputState, + } +} + // The OpenAPI Specification document file. func (o ApigatewayApiConfigOpenApiDocumentResponseOutput) Document() ApigatewayApiConfigFileResponseOutput { return o.ApplyT(func(v ApigatewayApiConfigOpenApiDocumentResponse) ApigatewayApiConfigFileResponse { return v.Document }).(ApigatewayApiConfigFileResponseOutput) @@ -576,6 +691,12 @@ func (o ApigatewayApiConfigOpenApiDocumentResponseArrayOutput) ToApigatewayApiCo return o } +func (o ApigatewayApiConfigOpenApiDocumentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayApiConfigOpenApiDocumentResponse] { + return pulumix.Output[[]ApigatewayApiConfigOpenApiDocumentResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayApiConfigOpenApiDocumentResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayApiConfigOpenApiDocumentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayApiConfigOpenApiDocumentResponse { return vs[0].([]ApigatewayApiConfigOpenApiDocumentResponse)[vs[1].(int)] @@ -621,6 +742,12 @@ func (i ApigatewayAuditConfigArgs) ToApigatewayAuditConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ApigatewayAuditConfigOutput) } +func (i ApigatewayAuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditConfig] { + return pulumix.Output[ApigatewayAuditConfig]{ + OutputState: i.ToApigatewayAuditConfigOutputWithContext(ctx).OutputState, + } +} + // ApigatewayAuditConfigArrayInput is an input type that accepts ApigatewayAuditConfigArray and ApigatewayAuditConfigArrayOutput values. // You can construct a concrete instance of `ApigatewayAuditConfigArrayInput` via: // @@ -646,6 +773,12 @@ func (i ApigatewayAuditConfigArray) ToApigatewayAuditConfigArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ApigatewayAuditConfigArrayOutput) } +func (i ApigatewayAuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditConfig] { + return pulumix.Output[[]ApigatewayAuditConfig]{ + OutputState: i.ToApigatewayAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type ApigatewayAuditConfigOutput struct{ *pulumi.OutputState } @@ -661,6 +794,12 @@ func (o ApigatewayAuditConfigOutput) ToApigatewayAuditConfigOutputWithContext(ct return o } +func (o ApigatewayAuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditConfig] { + return pulumix.Output[ApigatewayAuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o ApigatewayAuditConfigOutput) AuditLogConfigs() ApigatewayAuditLogConfigArrayOutput { return o.ApplyT(func(v ApigatewayAuditConfig) []ApigatewayAuditLogConfig { return v.AuditLogConfigs }).(ApigatewayAuditLogConfigArrayOutput) @@ -685,6 +824,12 @@ func (o ApigatewayAuditConfigArrayOutput) ToApigatewayAuditConfigArrayOutputWith return o } +func (o ApigatewayAuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditConfig] { + return pulumix.Output[[]ApigatewayAuditConfig]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditConfigArrayOutput) Index(i pulumi.IntInput) ApigatewayAuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayAuditConfig { return vs[0].([]ApigatewayAuditConfig)[vs[1].(int)] @@ -714,6 +859,12 @@ func (o ApigatewayAuditConfigResponseOutput) ToApigatewayAuditConfigResponseOutp return o } +func (o ApigatewayAuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditConfigResponse] { + return pulumix.Output[ApigatewayAuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o ApigatewayAuditConfigResponseOutput) AuditLogConfigs() ApigatewayAuditLogConfigResponseArrayOutput { return o.ApplyT(func(v ApigatewayAuditConfigResponse) []ApigatewayAuditLogConfigResponse { return v.AuditLogConfigs }).(ApigatewayAuditLogConfigResponseArrayOutput) @@ -738,6 +889,12 @@ func (o ApigatewayAuditConfigResponseArrayOutput) ToApigatewayAuditConfigRespons return o } +func (o ApigatewayAuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditConfigResponse] { + return pulumix.Output[[]ApigatewayAuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditConfigResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayAuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayAuditConfigResponse { return vs[0].([]ApigatewayAuditConfigResponse)[vs[1].(int)] @@ -783,6 +940,12 @@ func (i ApigatewayAuditLogConfigArgs) ToApigatewayAuditLogConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ApigatewayAuditLogConfigOutput) } +func (i ApigatewayAuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditLogConfig] { + return pulumix.Output[ApigatewayAuditLogConfig]{ + OutputState: i.ToApigatewayAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // ApigatewayAuditLogConfigArrayInput is an input type that accepts ApigatewayAuditLogConfigArray and ApigatewayAuditLogConfigArrayOutput values. // You can construct a concrete instance of `ApigatewayAuditLogConfigArrayInput` via: // @@ -808,6 +971,12 @@ func (i ApigatewayAuditLogConfigArray) ToApigatewayAuditLogConfigArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(ApigatewayAuditLogConfigArrayOutput) } +func (i ApigatewayAuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditLogConfig] { + return pulumix.Output[[]ApigatewayAuditLogConfig]{ + OutputState: i.ToApigatewayAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type ApigatewayAuditLogConfigOutput struct{ *pulumi.OutputState } @@ -823,6 +992,12 @@ func (o ApigatewayAuditLogConfigOutput) ToApigatewayAuditLogConfigOutputWithCont return o } +func (o ApigatewayAuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditLogConfig] { + return pulumix.Output[ApigatewayAuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o ApigatewayAuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v ApigatewayAuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -847,6 +1022,12 @@ func (o ApigatewayAuditLogConfigArrayOutput) ToApigatewayAuditLogConfigArrayOutp return o } +func (o ApigatewayAuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditLogConfig] { + return pulumix.Output[[]ApigatewayAuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditLogConfigArrayOutput) Index(i pulumi.IntInput) ApigatewayAuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayAuditLogConfig { return vs[0].([]ApigatewayAuditLogConfig)[vs[1].(int)] @@ -876,6 +1057,12 @@ func (o ApigatewayAuditLogConfigResponseOutput) ToApigatewayAuditLogConfigRespon return o } +func (o ApigatewayAuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayAuditLogConfigResponse] { + return pulumix.Output[ApigatewayAuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o ApigatewayAuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v ApigatewayAuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -900,6 +1087,12 @@ func (o ApigatewayAuditLogConfigResponseArrayOutput) ToApigatewayAuditLogConfigR return o } +func (o ApigatewayAuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayAuditLogConfigResponse] { + return pulumix.Output[[]ApigatewayAuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayAuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayAuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayAuditLogConfigResponse { return vs[0].([]ApigatewayAuditLogConfigResponse)[vs[1].(int)] @@ -941,6 +1134,12 @@ func (i ApigatewayBackendConfigArgs) ToApigatewayBackendConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ApigatewayBackendConfigOutput) } +func (i ApigatewayBackendConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayBackendConfig] { + return pulumix.Output[ApigatewayBackendConfig]{ + OutputState: i.ToApigatewayBackendConfigOutputWithContext(ctx).OutputState, + } +} + func (i ApigatewayBackendConfigArgs) ToApigatewayBackendConfigPtrOutput() ApigatewayBackendConfigPtrOutput { return i.ToApigatewayBackendConfigPtrOutputWithContext(context.Background()) } @@ -982,6 +1181,12 @@ func (i *apigatewayBackendConfigPtrType) ToApigatewayBackendConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ApigatewayBackendConfigPtrOutput) } +func (i *apigatewayBackendConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayBackendConfig] { + return pulumix.Output[*ApigatewayBackendConfig]{ + OutputState: i.ToApigatewayBackendConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for all backends. type ApigatewayBackendConfigOutput struct{ *pulumi.OutputState } @@ -1007,6 +1212,12 @@ func (o ApigatewayBackendConfigOutput) ToApigatewayBackendConfigPtrOutputWithCon }).(ApigatewayBackendConfigPtrOutput) } +func (o ApigatewayBackendConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayBackendConfig] { + return pulumix.Output[ApigatewayBackendConfig]{ + OutputState: o.OutputState, + } +} + // Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125). func (o ApigatewayBackendConfigOutput) GoogleServiceAccount() pulumi.StringPtrOutput { return o.ApplyT(func(v ApigatewayBackendConfig) *string { return v.GoogleServiceAccount }).(pulumi.StringPtrOutput) @@ -1026,6 +1237,12 @@ func (o ApigatewayBackendConfigPtrOutput) ToApigatewayBackendConfigPtrOutputWith return o } +func (o ApigatewayBackendConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayBackendConfig] { + return pulumix.Output[*ApigatewayBackendConfig]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayBackendConfigPtrOutput) Elem() ApigatewayBackendConfigOutput { return o.ApplyT(func(v *ApigatewayBackendConfig) ApigatewayBackendConfig { if v != nil { @@ -1067,6 +1284,12 @@ func (o ApigatewayBackendConfigResponseOutput) ToApigatewayBackendConfigResponse return o } +func (o ApigatewayBackendConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayBackendConfigResponse] { + return pulumix.Output[ApigatewayBackendConfigResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125). func (o ApigatewayBackendConfigResponseOutput) GoogleServiceAccount() pulumi.StringOutput { return o.ApplyT(func(v ApigatewayBackendConfigResponse) string { return v.GoogleServiceAccount }).(pulumi.StringOutput) @@ -1115,6 +1338,12 @@ func (i ApigatewayBindingArgs) ToApigatewayBindingOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ApigatewayBindingOutput) } +func (i ApigatewayBindingArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayBinding] { + return pulumix.Output[ApigatewayBinding]{ + OutputState: i.ToApigatewayBindingOutputWithContext(ctx).OutputState, + } +} + // ApigatewayBindingArrayInput is an input type that accepts ApigatewayBindingArray and ApigatewayBindingArrayOutput values. // You can construct a concrete instance of `ApigatewayBindingArrayInput` via: // @@ -1140,6 +1369,12 @@ func (i ApigatewayBindingArray) ToApigatewayBindingArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ApigatewayBindingArrayOutput) } +func (i ApigatewayBindingArray) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayBinding] { + return pulumix.Output[[]ApigatewayBinding]{ + OutputState: i.ToApigatewayBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type ApigatewayBindingOutput struct{ *pulumi.OutputState } @@ -1155,6 +1390,12 @@ func (o ApigatewayBindingOutput) ToApigatewayBindingOutputWithContext(ctx contex return o } +func (o ApigatewayBindingOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayBinding] { + return pulumix.Output[ApigatewayBinding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o ApigatewayBindingOutput) Condition() ApigatewayExprPtrOutput { return o.ApplyT(func(v ApigatewayBinding) *ApigatewayExpr { return v.Condition }).(ApigatewayExprPtrOutput) @@ -1184,6 +1425,12 @@ func (o ApigatewayBindingArrayOutput) ToApigatewayBindingArrayOutputWithContext( return o } +func (o ApigatewayBindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayBinding] { + return pulumix.Output[[]ApigatewayBinding]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayBindingArrayOutput) Index(i pulumi.IntInput) ApigatewayBindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayBinding { return vs[0].([]ApigatewayBinding)[vs[1].(int)] @@ -1215,6 +1462,12 @@ func (o ApigatewayBindingResponseOutput) ToApigatewayBindingResponseOutputWithCo return o } +func (o ApigatewayBindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayBindingResponse] { + return pulumix.Output[ApigatewayBindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o ApigatewayBindingResponseOutput) Condition() ApigatewayExprResponseOutput { return o.ApplyT(func(v ApigatewayBindingResponse) ApigatewayExprResponse { return v.Condition }).(ApigatewayExprResponseOutput) @@ -1244,6 +1497,12 @@ func (o ApigatewayBindingResponseArrayOutput) ToApigatewayBindingResponseArrayOu return o } +func (o ApigatewayBindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApigatewayBindingResponse] { + return pulumix.Output[[]ApigatewayBindingResponse]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayBindingResponseArrayOutput) Index(i pulumi.IntInput) ApigatewayBindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApigatewayBindingResponse { return vs[0].([]ApigatewayBindingResponse)[vs[1].(int)] @@ -1297,6 +1556,12 @@ func (i ApigatewayExprArgs) ToApigatewayExprOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ApigatewayExprOutput) } +func (i ApigatewayExprArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayExpr] { + return pulumix.Output[ApigatewayExpr]{ + OutputState: i.ToApigatewayExprOutputWithContext(ctx).OutputState, + } +} + func (i ApigatewayExprArgs) ToApigatewayExprPtrOutput() ApigatewayExprPtrOutput { return i.ToApigatewayExprPtrOutputWithContext(context.Background()) } @@ -1338,6 +1603,12 @@ func (i *apigatewayExprPtrType) ToApigatewayExprPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ApigatewayExprPtrOutput) } +func (i *apigatewayExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayExpr] { + return pulumix.Output[*ApigatewayExpr]{ + OutputState: i.ToApigatewayExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ApigatewayExprOutput struct{ *pulumi.OutputState } @@ -1363,6 +1634,12 @@ func (o ApigatewayExprOutput) ToApigatewayExprPtrOutputWithContext(ctx context.C }).(ApigatewayExprPtrOutput) } +func (o ApigatewayExprOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayExpr] { + return pulumix.Output[ApigatewayExpr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ApigatewayExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v ApigatewayExpr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1397,6 +1674,12 @@ func (o ApigatewayExprPtrOutput) ToApigatewayExprPtrOutputWithContext(ctx contex return o } +func (o ApigatewayExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayExpr] { + return pulumix.Output[*ApigatewayExpr]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayExprPtrOutput) Elem() ApigatewayExprOutput { return o.ApplyT(func(v *ApigatewayExpr) ApigatewayExpr { if v != nil { @@ -1474,6 +1757,12 @@ func (o ApigatewayExprResponseOutput) ToApigatewayExprResponseOutputWithContext( return o } +func (o ApigatewayExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayExprResponse] { + return pulumix.Output[ApigatewayExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ApigatewayExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ApigatewayExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1529,6 +1818,12 @@ func (i ApigatewayGatewayConfigArgs) ToApigatewayGatewayConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ApigatewayGatewayConfigOutput) } +func (i ApigatewayGatewayConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApigatewayGatewayConfig] { + return pulumix.Output[ApigatewayGatewayConfig]{ + OutputState: i.ToApigatewayGatewayConfigOutputWithContext(ctx).OutputState, + } +} + func (i ApigatewayGatewayConfigArgs) ToApigatewayGatewayConfigPtrOutput() ApigatewayGatewayConfigPtrOutput { return i.ToApigatewayGatewayConfigPtrOutputWithContext(context.Background()) } @@ -1570,6 +1865,12 @@ func (i *apigatewayGatewayConfigPtrType) ToApigatewayGatewayConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ApigatewayGatewayConfigPtrOutput) } +func (i *apigatewayGatewayConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayGatewayConfig] { + return pulumix.Output[*ApigatewayGatewayConfig]{ + OutputState: i.ToApigatewayGatewayConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration settings for Gateways. type ApigatewayGatewayConfigOutput struct{ *pulumi.OutputState } @@ -1595,6 +1896,12 @@ func (o ApigatewayGatewayConfigOutput) ToApigatewayGatewayConfigPtrOutputWithCon }).(ApigatewayGatewayConfigPtrOutput) } +func (o ApigatewayGatewayConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayGatewayConfig] { + return pulumix.Output[ApigatewayGatewayConfig]{ + OutputState: o.OutputState, + } +} + // Backend settings that are applied to all backends of the Gateway. func (o ApigatewayGatewayConfigOutput) BackendConfig() ApigatewayBackendConfigOutput { return o.ApplyT(func(v ApigatewayGatewayConfig) ApigatewayBackendConfig { return v.BackendConfig }).(ApigatewayBackendConfigOutput) @@ -1614,6 +1921,12 @@ func (o ApigatewayGatewayConfigPtrOutput) ToApigatewayGatewayConfigPtrOutputWith return o } +func (o ApigatewayGatewayConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApigatewayGatewayConfig] { + return pulumix.Output[*ApigatewayGatewayConfig]{ + OutputState: o.OutputState, + } +} + func (o ApigatewayGatewayConfigPtrOutput) Elem() ApigatewayGatewayConfigOutput { return o.ApplyT(func(v *ApigatewayGatewayConfig) ApigatewayGatewayConfig { if v != nil { @@ -1655,6 +1968,12 @@ func (o ApigatewayGatewayConfigResponseOutput) ToApigatewayGatewayConfigResponse return o } +func (o ApigatewayGatewayConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApigatewayGatewayConfigResponse] { + return pulumix.Output[ApigatewayGatewayConfigResponse]{ + OutputState: o.OutputState, + } +} + // Backend settings that are applied to all backends of the Gateway. func (o ApigatewayGatewayConfigResponseOutput) BackendConfig() ApigatewayBackendConfigResponseOutput { return o.ApplyT(func(v ApigatewayGatewayConfigResponse) ApigatewayBackendConfigResponse { return v.BackendConfig }).(ApigatewayBackendConfigResponseOutput) diff --git a/sdk/go/google/apigee/v1/alias.go b/sdk/go/google/apigee/v1/alias.go index 56a29f99af..978c7cb316 100644 --- a/sdk/go/google/apigee/v1/alias.go +++ b/sdk/go/google/apigee/v1/alias.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an alias from a key/certificate pair. The structure of the request is controlled by the `format` query parameter: - `keycertfile` - Separate PEM-encoded key and certificate files are uploaded. Set `Content-Type: multipart/form-data` and include the `keyFile`, `certFile`, and `password` (if keys are encrypted) fields in the request body. If uploading to a truststore, omit `keyFile`. - `pkcs12` - A PKCS12 file is uploaded. Set `Content-Type: multipart/form-data`, provide the file in the `file` field, and include the `password` field if the file is encrypted in the request body. - `selfsignedcert` - A new private key and certificate are generated. Set `Content-Type: application/json` and include CertificateGenerationSpec in the request body. @@ -166,6 +167,12 @@ func (i *Alias) ToAliasOutputWithContext(ctx context.Context) AliasOutput { return pulumi.ToOutputWithContext(ctx, i).(AliasOutput) } +func (i *Alias) ToOutput(ctx context.Context) pulumix.Output[*Alias] { + return pulumix.Output[*Alias]{ + OutputState: i.ToAliasOutputWithContext(ctx).OutputState, + } +} + type AliasOutput struct{ *pulumi.OutputState } func (AliasOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o AliasOutput) ToAliasOutputWithContext(ctx context.Context) AliasOutput { return o } +func (o AliasOutput) ToOutput(ctx context.Context) pulumix.Output[*Alias] { + return pulumix.Output[*Alias]{ + OutputState: o.OutputState, + } +} + // Alias for the key/certificate pair. Values must match the regular expression `[\w\s-.]{1,255}`. This must be provided for all formats except `selfsignedcert`; self-signed certs may specify the alias in either this parameter or the JSON body. func (o AliasOutput) Alias() pulumi.StringOutput { return o.ApplyT(func(v *Alias) pulumi.StringOutput { return v.Alias }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/api.go b/sdk/go/google/apigee/v1/api.go index ccbddc0f09..056f571993 100644 --- a/sdk/go/google/apigee/v1/api.go +++ b/sdk/go/google/apigee/v1/api.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an API proxy. The API proxy created will not be accessible at runtime until it is deployed to an environment. Create a new API proxy by setting the `name` query parameter to the name of the API proxy. Import an API proxy configuration bundle stored in zip format on your local machine to your organization by doing the following: * Set the `name` query parameter to the name of the API proxy. * Set the `action` query parameter to `import`. * Set the `Content-Type` header to `multipart/form-data`. * Pass as a file the name of API proxy configuration bundle stored in zip format on your local machine using the `file` form field. **Note**: To validate the API proxy configuration bundle only without importing it, set the `action` query parameter to `validate`. When importing an API proxy configuration bundle, if the API proxy does not exist, it will be created. If the API proxy exists, then a new revision is created. Invalid API proxy configurations are rejected, and a list of validation errors is returned to the client. @@ -143,6 +144,12 @@ func (i *Api) ToApiOutputWithContext(ctx context.Context) ApiOutput { return pulumi.ToOutputWithContext(ctx, i).(ApiOutput) } +func (i *Api) ToOutput(ctx context.Context) pulumix.Output[*Api] { + return pulumix.Output[*Api]{ + OutputState: i.ToApiOutputWithContext(ctx).OutputState, + } +} + type ApiOutput struct{ *pulumi.OutputState } func (ApiOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o ApiOutput) ToApiOutputWithContext(ctx context.Context) ApiOutput { return o } +func (o ApiOutput) ToOutput(ctx context.Context) pulumix.Output[*Api] { + return pulumix.Output[*Api]{ + OutputState: o.OutputState, + } +} + // Action to perform when importing an API proxy configuration bundle. Set this parameter to one of the following values: * `import` to import the API proxy configuration bundle. * `validate` to validate the API proxy configuration bundle without importing it. func (o ApiOutput) Action() pulumi.StringPtrOutput { return o.ApplyT(func(v *Api) pulumi.StringPtrOutput { return v.Action }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/apigee/v1/apiProduct.go b/sdk/go/google/apigee/v1/apiProduct.go index 4f3ec41e7c..2fbd99a3fe 100644 --- a/sdk/go/google/apigee/v1/apiProduct.go +++ b/sdk/go/google/apigee/v1/apiProduct.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an API product in an organization. You create API products after you have proxied backend services using API proxies. An API product is a collection of API resources combined with quota settings and metadata that you can use to deliver customized and productized API bundles to your developer community. This metadata can include: - Scope - Environments - API proxies - Extensible profile API products enable you repackage APIs on the fly, without having to do any additional coding or configuration. Apigee recommends that you start with a simple API product including only required elements. You then provision credentials to apps to enable them to start testing your APIs. After you have authentication and authorization working against a simple API product, you can iterate to create finer-grained API products, defining different sets of API resources for each API product. **WARNING:** - If you don't specify an API proxy in the request body, *any* app associated with the product can make calls to *any* API in your entire organization. - If you don't specify an environment in the request body, the product allows access to all environments. For more information, see What is an API product? @@ -199,6 +200,12 @@ func (i *ApiProduct) ToApiProductOutputWithContext(ctx context.Context) ApiProdu return pulumi.ToOutputWithContext(ctx, i).(ApiProductOutput) } +func (i *ApiProduct) ToOutput(ctx context.Context) pulumix.Output[*ApiProduct] { + return pulumix.Output[*ApiProduct]{ + OutputState: i.ToApiProductOutputWithContext(ctx).OutputState, + } +} + type ApiProductOutput struct{ *pulumi.OutputState } func (ApiProductOutput) ElementType() reflect.Type { @@ -213,6 +220,12 @@ func (o ApiProductOutput) ToApiProductOutputWithContext(ctx context.Context) Api return o } +func (o ApiProductOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiProduct] { + return pulumix.Output[*ApiProduct]{ + OutputState: o.OutputState, + } +} + // Comma-separated list of API resources to be bundled in the API product. By default, the resource paths are mapped from the `proxy.pathsuffix` variable. The proxy path suffix is defined as the URI fragment following the ProxyEndpoint base path. For example, if the `apiResources` element is defined to be `/forecastrss` and the base path defined for the API proxy is `/weather`, then only requests to `/weather/forecastrss` are permitted by the API product. You can select a specific path, or you can select all subpaths with the following wildcard: - `/**`: Indicates that all sub-URIs are included. - `/*` : Indicates that only URIs one level down are included. By default, / supports the same resources as /** as well as the base path defined by the API proxy. For example, if the base path of the API proxy is `/v1/weatherapikey`, then the API product supports requests to `/v1/weatherapikey` and to any sub-URIs, such as `/v1/weatherapikey/forecastrss`, `/v1/weatherapikey/region/CA`, and so on. For more information, see Managing API products. func (o ApiProductOutput) ApiResources() pulumi.StringArrayOutput { return o.ApplyT(func(v *ApiProduct) pulumi.StringArrayOutput { return v.ApiResources }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/apigee/v1/app.go b/sdk/go/google/apigee/v1/app.go index a47fad9865..50699b9aaa 100644 --- a/sdk/go/google/apigee/v1/app.go +++ b/sdk/go/google/apigee/v1/app.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an app associated with a developer. This API associates the developer app with the specified API product and auto-generates an API key for the app to use in calls to API proxies inside that API product. The `name` is the unique ID of the app that you can use in API calls. The `DisplayName` (set as an attribute) appears in the UI. If you don't set the `DisplayName` attribute, the `name` appears in the UI. @@ -166,6 +167,12 @@ func (i *App) ToAppOutputWithContext(ctx context.Context) AppOutput { return pulumi.ToOutputWithContext(ctx, i).(AppOutput) } +func (i *App) ToOutput(ctx context.Context) pulumix.Output[*App] { + return pulumix.Output[*App]{ + OutputState: i.ToAppOutputWithContext(ctx).OutputState, + } +} + type AppOutput struct{ *pulumi.OutputState } func (AppOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput { return o } +func (o AppOutput) ToOutput(ctx context.Context) pulumix.Output[*App] { + return pulumix.Output[*App]{ + OutputState: o.OutputState, + } +} + // List of API products associated with the developer app. func (o AppOutput) ApiProducts() pulumi.StringArrayOutput { return o.ApplyT(func(v *App) pulumi.StringArrayOutput { return v.ApiProducts }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/apigee/v1/archiveDeployment.go b/sdk/go/google/apigee/v1/archiveDeployment.go index 320361a48c..f9b034f29d 100644 --- a/sdk/go/google/apigee/v1/archiveDeployment.go +++ b/sdk/go/google/apigee/v1/archiveDeployment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ArchiveDeployment. @@ -128,6 +129,12 @@ func (i *ArchiveDeployment) ToArchiveDeploymentOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ArchiveDeploymentOutput) } +func (i *ArchiveDeployment) ToOutput(ctx context.Context) pulumix.Output[*ArchiveDeployment] { + return pulumix.Output[*ArchiveDeployment]{ + OutputState: i.ToArchiveDeploymentOutputWithContext(ctx).OutputState, + } +} + type ArchiveDeploymentOutput struct{ *pulumi.OutputState } func (ArchiveDeploymentOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o ArchiveDeploymentOutput) ToArchiveDeploymentOutputWithContext(ctx contex return o } +func (o ArchiveDeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[*ArchiveDeployment] { + return pulumix.Output[*ArchiveDeployment]{ + OutputState: o.OutputState, + } +} + // The time at which the Archive Deployment was created in milliseconds since the epoch. func (o ArchiveDeploymentOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *ArchiveDeployment) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/canaryEvaluation.go b/sdk/go/google/apigee/v1/canaryEvaluation.go index f6e73c6eea..27bc704032 100644 --- a/sdk/go/google/apigee/v1/canaryEvaluation.go +++ b/sdk/go/google/apigee/v1/canaryEvaluation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new canary evaluation for an organization. @@ -160,6 +161,12 @@ func (i *CanaryEvaluation) ToCanaryEvaluationOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(CanaryEvaluationOutput) } +func (i *CanaryEvaluation) ToOutput(ctx context.Context) pulumix.Output[*CanaryEvaluation] { + return pulumix.Output[*CanaryEvaluation]{ + OutputState: i.ToCanaryEvaluationOutputWithContext(ctx).OutputState, + } +} + type CanaryEvaluationOutput struct{ *pulumi.OutputState } func (CanaryEvaluationOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o CanaryEvaluationOutput) ToCanaryEvaluationOutputWithContext(ctx context. return o } +func (o CanaryEvaluationOutput) ToOutput(ctx context.Context) pulumix.Output[*CanaryEvaluation] { + return pulumix.Output[*CanaryEvaluation]{ + OutputState: o.OutputState, + } +} + // The stable version that is serving requests. func (o CanaryEvaluationOutput) Control() pulumi.StringOutput { return o.ApplyT(func(v *CanaryEvaluation) pulumi.StringOutput { return v.Control }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/dataCollector.go b/sdk/go/google/apigee/v1/dataCollector.go index 7b7345446b..5f4d6d9818 100644 --- a/sdk/go/google/apigee/v1/dataCollector.go +++ b/sdk/go/google/apigee/v1/dataCollector.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new data collector. @@ -125,6 +126,12 @@ func (i *DataCollector) ToDataCollectorOutputWithContext(ctx context.Context) Da return pulumi.ToOutputWithContext(ctx, i).(DataCollectorOutput) } +func (i *DataCollector) ToOutput(ctx context.Context) pulumix.Output[*DataCollector] { + return pulumix.Output[*DataCollector]{ + OutputState: i.ToDataCollectorOutputWithContext(ctx).OutputState, + } +} + type DataCollectorOutput struct{ *pulumi.OutputState } func (DataCollectorOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o DataCollectorOutput) ToDataCollectorOutputWithContext(ctx context.Contex return o } +func (o DataCollectorOutput) ToOutput(ctx context.Context) pulumix.Output[*DataCollector] { + return pulumix.Output[*DataCollector]{ + OutputState: o.OutputState, + } +} + // The time at which the data collector was created in milliseconds since the epoch. func (o DataCollectorOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *DataCollector) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/datastore.go b/sdk/go/google/apigee/v1/datastore.go index 1cb0dc9b2c..d461978f88 100644 --- a/sdk/go/google/apigee/v1/datastore.go +++ b/sdk/go/google/apigee/v1/datastore.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a Datastore for an org @@ -127,6 +128,12 @@ func (i *Datastore) ToDatastoreOutputWithContext(ctx context.Context) DatastoreO return pulumi.ToOutputWithContext(ctx, i).(DatastoreOutput) } +func (i *Datastore) ToOutput(ctx context.Context) pulumix.Output[*Datastore] { + return pulumix.Output[*Datastore]{ + OutputState: i.ToDatastoreOutputWithContext(ctx).OutputState, + } +} + type DatastoreOutput struct{ *pulumi.OutputState } func (DatastoreOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o DatastoreOutput) ToDatastoreOutputWithContext(ctx context.Context) Datas return o } +func (o DatastoreOutput) ToOutput(ctx context.Context) pulumix.Output[*Datastore] { + return pulumix.Output[*Datastore]{ + OutputState: o.OutputState, + } +} + // Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z func (o DatastoreOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Datastore) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/debugSession.go b/sdk/go/google/apigee/v1/debugSession.go index 95687e6417..214e1dce95 100644 --- a/sdk/go/google/apigee/v1/debugSession.go +++ b/sdk/go/google/apigee/v1/debugSession.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a debug session for a deployed API Proxy revision. @@ -158,6 +159,12 @@ func (i *DebugSession) ToDebugSessionOutputWithContext(ctx context.Context) Debu return pulumi.ToOutputWithContext(ctx, i).(DebugSessionOutput) } +func (i *DebugSession) ToOutput(ctx context.Context) pulumix.Output[*DebugSession] { + return pulumix.Output[*DebugSession]{ + OutputState: i.ToDebugSessionOutputWithContext(ctx).OutputState, + } +} + type DebugSessionOutput struct{ *pulumi.OutputState } func (DebugSessionOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o DebugSessionOutput) ToDebugSessionOutputWithContext(ctx context.Context) return o } +func (o DebugSessionOutput) ToOutput(ctx context.Context) pulumix.Output[*DebugSession] { + return pulumix.Output[*DebugSession]{ + OutputState: o.OutputState, + } +} + func (o DebugSessionOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *DebugSession) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigee/v1/developer.go b/sdk/go/google/apigee/v1/developer.go index 884464770d..bcf5415cc5 100644 --- a/sdk/go/google/apigee/v1/developer.go +++ b/sdk/go/google/apigee/v1/developer.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a developer. Once created, the developer can register an app and obtain an API key. At creation time, a developer is set as `active`. To change the developer status, use the SetDeveloperStatus API. @@ -178,6 +179,12 @@ func (i *Developer) ToDeveloperOutputWithContext(ctx context.Context) DeveloperO return pulumi.ToOutputWithContext(ctx, i).(DeveloperOutput) } +func (i *Developer) ToOutput(ctx context.Context) pulumix.Output[*Developer] { + return pulumix.Output[*Developer]{ + OutputState: i.ToDeveloperOutputWithContext(ctx).OutputState, + } +} + type DeveloperOutput struct{ *pulumi.OutputState } func (DeveloperOutput) ElementType() reflect.Type { @@ -192,6 +199,12 @@ func (o DeveloperOutput) ToDeveloperOutputWithContext(ctx context.Context) Devel return o } +func (o DeveloperOutput) ToOutput(ctx context.Context) pulumix.Output[*Developer] { + return pulumix.Output[*Developer]{ + OutputState: o.OutputState, + } +} + // Access type. func (o DeveloperOutput) AccessType() pulumi.StringOutput { return o.ApplyT(func(v *Developer) pulumi.StringOutput { return v.AccessType }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/endpointAttachment.go b/sdk/go/google/apigee/v1/endpointAttachment.go index 1e761be96f..ed3c140ef4 100644 --- a/sdk/go/google/apigee/v1/endpointAttachment.go +++ b/sdk/go/google/apigee/v1/endpointAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an endpoint attachment. **Note:** Not supported for Apigee hybrid. @@ -128,6 +129,12 @@ func (i *EndpointAttachment) ToEndpointAttachmentOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(EndpointAttachmentOutput) } +func (i *EndpointAttachment) ToOutput(ctx context.Context) pulumix.Output[*EndpointAttachment] { + return pulumix.Output[*EndpointAttachment]{ + OutputState: i.ToEndpointAttachmentOutputWithContext(ctx).OutputState, + } +} + type EndpointAttachmentOutput struct{ *pulumi.OutputState } func (EndpointAttachmentOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o EndpointAttachmentOutput) ToEndpointAttachmentOutputWithContext(ctx cont return o } +func (o EndpointAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointAttachment] { + return pulumix.Output[*EndpointAttachment]{ + OutputState: o.OutputState, + } +} + // State of the endpoint attachment connection to the service attachment. func (o EndpointAttachmentOutput) ConnectionState() pulumi.StringOutput { return o.ApplyT(func(v *EndpointAttachment) pulumi.StringOutput { return v.ConnectionState }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/entry.go b/sdk/go/google/apigee/v1/entry.go index c9fcaeaac7..9cfb3b8287 100644 --- a/sdk/go/google/apigee/v1/entry.go +++ b/sdk/go/google/apigee/v1/entry.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher. @@ -126,6 +127,12 @@ func (i *Entry) ToEntryOutputWithContext(ctx context.Context) EntryOutput { return pulumi.ToOutputWithContext(ctx, i).(EntryOutput) } +func (i *Entry) ToOutput(ctx context.Context) pulumix.Output[*Entry] { + return pulumix.Output[*Entry]{ + OutputState: i.ToEntryOutputWithContext(ctx).OutputState, + } +} + type EntryOutput struct{ *pulumi.OutputState } func (EntryOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o EntryOutput) ToEntryOutputWithContext(ctx context.Context) EntryOutput { return o } +func (o EntryOutput) ToOutput(ctx context.Context) pulumix.Output[*Entry] { + return pulumix.Output[*Entry]{ + OutputState: o.OutputState, + } +} + func (o EntryOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *Entry) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigee/v1/envgroup.go b/sdk/go/google/apigee/v1/envgroup.go index 7572898e16..393efb12ab 100644 --- a/sdk/go/google/apigee/v1/envgroup.go +++ b/sdk/go/google/apigee/v1/envgroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new environment group. @@ -118,6 +119,12 @@ func (i *Envgroup) ToEnvgroupOutputWithContext(ctx context.Context) EnvgroupOutp return pulumi.ToOutputWithContext(ctx, i).(EnvgroupOutput) } +func (i *Envgroup) ToOutput(ctx context.Context) pulumix.Output[*Envgroup] { + return pulumix.Output[*Envgroup]{ + OutputState: i.ToEnvgroupOutputWithContext(ctx).OutputState, + } +} + type EnvgroupOutput struct{ *pulumi.OutputState } func (EnvgroupOutput) ElementType() reflect.Type { @@ -132,6 +139,12 @@ func (o EnvgroupOutput) ToEnvgroupOutputWithContext(ctx context.Context) Envgrou return o } +func (o EnvgroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Envgroup] { + return pulumix.Output[*Envgroup]{ + OutputState: o.OutputState, + } +} + // The time at which the environment group was created as milliseconds since epoch. func (o EnvgroupOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *Envgroup) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/envgroupAttachment.go b/sdk/go/google/apigee/v1/envgroupAttachment.go index 06dd7f2c96..54983e66db 100644 --- a/sdk/go/google/apigee/v1/envgroupAttachment.go +++ b/sdk/go/google/apigee/v1/envgroupAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new attachment of an environment to an environment group. @@ -123,6 +124,12 @@ func (i *EnvgroupAttachment) ToEnvgroupAttachmentOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(EnvgroupAttachmentOutput) } +func (i *EnvgroupAttachment) ToOutput(ctx context.Context) pulumix.Output[*EnvgroupAttachment] { + return pulumix.Output[*EnvgroupAttachment]{ + OutputState: i.ToEnvgroupAttachmentOutputWithContext(ctx).OutputState, + } +} + type EnvgroupAttachmentOutput struct{ *pulumi.OutputState } func (EnvgroupAttachmentOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o EnvgroupAttachmentOutput) ToEnvgroupAttachmentOutputWithContext(ctx cont return o } +func (o EnvgroupAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvgroupAttachment] { + return pulumix.Output[*EnvgroupAttachment]{ + OutputState: o.OutputState, + } +} + // The time at which the environment group attachment was created as milliseconds since epoch. func (o EnvgroupAttachmentOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *EnvgroupAttachment) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/environment.go b/sdk/go/google/apigee/v1/environment.go index 82ca1ae040..8b962fb375 100644 --- a/sdk/go/google/apigee/v1/environment.go +++ b/sdk/go/google/apigee/v1/environment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an environment in an organization. @@ -151,6 +152,12 @@ func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) Enviro return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i *Environment) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + type EnvironmentOutput struct{ *pulumi.OutputState } func (EnvironmentOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) E return o } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + // Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed. func (o EnvironmentOutput) ApiProxyType() pulumi.StringOutput { return o.ApplyT(func(v *Environment) pulumi.StringOutput { return v.ApiProxyType }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/environmentEntry.go b/sdk/go/google/apigee/v1/environmentEntry.go index 5800443ae2..ae0b363e55 100644 --- a/sdk/go/google/apigee/v1/environmentEntry.go +++ b/sdk/go/google/apigee/v1/environmentEntry.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates key value entries in a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher. @@ -126,6 +127,12 @@ func (i *EnvironmentEntry) ToEnvironmentEntryOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(EnvironmentEntryOutput) } +func (i *EnvironmentEntry) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentEntry] { + return pulumix.Output[*EnvironmentEntry]{ + OutputState: i.ToEnvironmentEntryOutputWithContext(ctx).OutputState, + } +} + type EnvironmentEntryOutput struct{ *pulumi.OutputState } func (EnvironmentEntryOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o EnvironmentEntryOutput) ToEnvironmentEntryOutputWithContext(ctx context. return o } +func (o EnvironmentEntryOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentEntry] { + return pulumix.Output[*EnvironmentEntry]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentEntryOutput) EnvironmentId() pulumi.StringOutput { return o.ApplyT(func(v *EnvironmentEntry) pulumi.StringOutput { return v.EnvironmentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigee/v1/export.go b/sdk/go/google/apigee/v1/export.go index a781b2cfcc..ec4b82b773 100644 --- a/sdk/go/google/apigee/v1/export.go +++ b/sdk/go/google/apigee/v1/export.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Submit a data export job to be processed in the background. If the request is successful, the API returns a 201 status, a URI that can be used to retrieve the status of the export job, and the `state` value of "enqueued". @@ -154,6 +155,12 @@ func (i *Export) ToExportOutputWithContext(ctx context.Context) ExportOutput { return pulumi.ToOutputWithContext(ctx, i).(ExportOutput) } +func (i *Export) ToOutput(ctx context.Context) pulumix.Output[*Export] { + return pulumix.Output[*Export]{ + OutputState: i.ToExportOutputWithContext(ctx).OutputState, + } +} + type ExportOutput struct{ *pulumi.OutputState } func (ExportOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o ExportOutput) ToExportOutputWithContext(ctx context.Context) ExportOutpu return o } +func (o ExportOutput) ToOutput(ctx context.Context) pulumix.Output[*Export] { + return pulumix.Output[*Export]{ + OutputState: o.OutputState, + } +} + // Time the export job was created. func (o ExportOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v *Export) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getAlias.go b/sdk/go/google/apigee/v1/getAlias.go index 999cebc6af..e2a9cc886b 100644 --- a/sdk/go/google/apigee/v1/getAlias.go +++ b/sdk/go/google/apigee/v1/getAlias.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an alias. @@ -76,6 +77,12 @@ func (o LookupAliasResultOutput) ToLookupAliasResultOutputWithContext(ctx contex return o } +func (o LookupAliasResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAliasResult] { + return pulumix.Output[LookupAliasResult]{ + OutputState: o.OutputState, + } +} + // Resource ID for this alias. Values must match the regular expression `[^/]{1,255}`. func (o LookupAliasResultOutput) Alias() pulumi.StringOutput { return o.ApplyT(func(v LookupAliasResult) string { return v.Alias }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getApi.go b/sdk/go/google/apigee/v1/getApi.go index 5b4f83b0e2..cc4335479f 100644 --- a/sdk/go/google/apigee/v1/getApi.go +++ b/sdk/go/google/apigee/v1/getApi.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an API proxy including a list of existing revisions. @@ -80,6 +81,12 @@ func (o LookupApiResultOutput) ToLookupApiResultOutputWithContext(ctx context.Co return o } +func (o LookupApiResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiResult] { + return pulumix.Output[LookupApiResult]{ + OutputState: o.OutputState, + } +} + // The type of the API proxy. func (o LookupApiResultOutput) ApiProxyType() pulumi.StringOutput { return o.ApplyT(func(v LookupApiResult) string { return v.ApiProxyType }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getApiProduct.go b/sdk/go/google/apigee/v1/getApiProduct.go index d31cbefb9b..3c4b889b16 100644 --- a/sdk/go/google/apigee/v1/getApiProduct.go +++ b/sdk/go/google/apigee/v1/getApiProduct.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets configuration details for an API product. The API product name required in the request URL is the internal name of the product, not the display name. While they may be the same, it depends on whether the API product was created via the UI or the API. View the list of API products to verify the internal name. @@ -100,6 +101,12 @@ func (o LookupApiProductResultOutput) ToLookupApiProductResultOutputWithContext( return o } +func (o LookupApiProductResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiProductResult] { + return pulumix.Output[LookupApiProductResult]{ + OutputState: o.OutputState, + } +} + // Comma-separated list of API resources to be bundled in the API product. By default, the resource paths are mapped from the `proxy.pathsuffix` variable. The proxy path suffix is defined as the URI fragment following the ProxyEndpoint base path. For example, if the `apiResources` element is defined to be `/forecastrss` and the base path defined for the API proxy is `/weather`, then only requests to `/weather/forecastrss` are permitted by the API product. You can select a specific path, or you can select all subpaths with the following wildcard: - `/**`: Indicates that all sub-URIs are included. - `/*` : Indicates that only URIs one level down are included. By default, / supports the same resources as /** as well as the base path defined by the API proxy. For example, if the base path of the API proxy is `/v1/weatherapikey`, then the API product supports requests to `/v1/weatherapikey` and to any sub-URIs, such as `/v1/weatherapikey/forecastrss`, `/v1/weatherapikey/region/CA`, and so on. For more information, see Managing API products. func (o LookupApiProductResultOutput) ApiResources() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupApiProductResult) []string { return v.ApiResources }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/apigee/v1/getApicategory.go b/sdk/go/google/apigee/v1/getApicategory.go index e7d1aa47ca..ffed75a4d7 100644 --- a/sdk/go/google/apigee/v1/getApicategory.go +++ b/sdk/go/google/apigee/v1/getApicategory.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a category on the portal. @@ -78,6 +79,12 @@ func (o GetApicategoryResultOutput) ToGetApicategoryResultOutputWithContext(ctx return o } +func (o GetApicategoryResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetApicategoryResult] { + return pulumix.Output[GetApicategoryResult]{ + OutputState: o.OutputState, + } +} + // Details of category. func (o GetApicategoryResultOutput) Data() GoogleCloudApigeeV1ApiCategoryDataResponseOutput { return o.ApplyT(func(v GetApicategoryResult) GoogleCloudApigeeV1ApiCategoryDataResponse { return v.Data }).(GoogleCloudApigeeV1ApiCategoryDataResponseOutput) diff --git a/sdk/go/google/apigee/v1/getApp.go b/sdk/go/google/apigee/v1/getApp.go index 132e043a8e..f30a131580 100644 --- a/sdk/go/google/apigee/v1/getApp.go +++ b/sdk/go/google/apigee/v1/getApp.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details for a developer app. @@ -98,6 +99,12 @@ func (o LookupAppResultOutput) ToLookupAppResultOutputWithContext(ctx context.Co return o } +func (o LookupAppResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppResult] { + return pulumix.Output[LookupAppResult]{ + OutputState: o.OutputState, + } +} + // List of API products associated with the developer app. func (o LookupAppResultOutput) ApiProducts() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupAppResult) []string { return v.ApiProducts }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/apigee/v1/getArchiveDeployment.go b/sdk/go/google/apigee/v1/getArchiveDeployment.go index 2192fcbd9c..442d95e949 100644 --- a/sdk/go/google/apigee/v1/getArchiveDeployment.go +++ b/sdk/go/google/apigee/v1/getArchiveDeployment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified ArchiveDeployment. @@ -80,6 +81,12 @@ func (o LookupArchiveDeploymentResultOutput) ToLookupArchiveDeploymentResultOutp return o } +func (o LookupArchiveDeploymentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupArchiveDeploymentResult] { + return pulumix.Output[LookupArchiveDeploymentResult]{ + OutputState: o.OutputState, + } +} + // The time at which the Archive Deployment was created in milliseconds since the epoch. func (o LookupArchiveDeploymentResultOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v LookupArchiveDeploymentResult) string { return v.CreatedAt }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getCanaryEvaluation.go b/sdk/go/google/apigee/v1/getCanaryEvaluation.go index 299d1dfbc1..525394a7af 100644 --- a/sdk/go/google/apigee/v1/getCanaryEvaluation.go +++ b/sdk/go/google/apigee/v1/getCanaryEvaluation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a CanaryEvaluation for an organization. @@ -86,6 +87,12 @@ func (o LookupCanaryEvaluationResultOutput) ToLookupCanaryEvaluationResultOutput return o } +func (o LookupCanaryEvaluationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCanaryEvaluationResult] { + return pulumix.Output[LookupCanaryEvaluationResult]{ + OutputState: o.OutputState, + } +} + // The stable version that is serving requests. func (o LookupCanaryEvaluationResultOutput) Control() pulumi.StringOutput { return o.ApplyT(func(v LookupCanaryEvaluationResult) string { return v.Control }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getDataCollector.go b/sdk/go/google/apigee/v1/getDataCollector.go index 43297b6a72..085dc02bdf 100644 --- a/sdk/go/google/apigee/v1/getDataCollector.go +++ b/sdk/go/google/apigee/v1/getDataCollector.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a data collector. @@ -76,6 +77,12 @@ func (o LookupDataCollectorResultOutput) ToLookupDataCollectorResultOutputWithCo return o } +func (o LookupDataCollectorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataCollectorResult] { + return pulumix.Output[LookupDataCollectorResult]{ + OutputState: o.OutputState, + } +} + // The time at which the data collector was created in milliseconds since the epoch. func (o LookupDataCollectorResultOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v LookupDataCollectorResult) string { return v.CreatedAt }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getDatastore.go b/sdk/go/google/apigee/v1/getDatastore.go index f5f969c3c6..019df4abfe 100644 --- a/sdk/go/google/apigee/v1/getDatastore.go +++ b/sdk/go/google/apigee/v1/getDatastore.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a Datastore @@ -80,6 +81,12 @@ func (o LookupDatastoreResultOutput) ToLookupDatastoreResultOutputWithContext(ct return o } +func (o LookupDatastoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatastoreResult] { + return pulumix.Output[LookupDatastoreResult]{ + OutputState: o.OutputState, + } +} + // Datastore create time, in milliseconds since the epoch of 1970-01-01T00:00:00Z func (o LookupDatastoreResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupDatastoreResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getDebugSession.go b/sdk/go/google/apigee/v1/getDebugSession.go index a2b61c1d65..c9dc47a505 100644 --- a/sdk/go/google/apigee/v1/getDebugSession.go +++ b/sdk/go/google/apigee/v1/getDebugSession.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a debug session. @@ -86,6 +87,12 @@ func (o LookupDebugSessionResultOutput) ToLookupDebugSessionResultOutputWithCont return o } +func (o LookupDebugSessionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDebugSessionResult] { + return pulumix.Output[LookupDebugSessionResult]{ + OutputState: o.OutputState, + } +} + // Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10. func (o LookupDebugSessionResultOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v LookupDebugSessionResult) int { return v.Count }).(pulumi.IntOutput) diff --git a/sdk/go/google/apigee/v1/getDeveloper.go b/sdk/go/google/apigee/v1/getDeveloper.go index 121a6cd454..bec30f9ce7 100644 --- a/sdk/go/google/apigee/v1/getDeveloper.go +++ b/sdk/go/google/apigee/v1/getDeveloper.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the developer details, including the developer's name, email address, apps, and other information. **Note**: The response includes only the first 100 developer apps. @@ -96,6 +97,12 @@ func (o LookupDeveloperResultOutput) ToLookupDeveloperResultOutputWithContext(ct return o } +func (o LookupDeveloperResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeveloperResult] { + return pulumix.Output[LookupDeveloperResult]{ + OutputState: o.OutputState, + } +} + // Access type. func (o LookupDeveloperResultOutput) AccessType() pulumi.StringOutput { return o.ApplyT(func(v LookupDeveloperResult) string { return v.AccessType }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getEndpointAttachment.go b/sdk/go/google/apigee/v1/getEndpointAttachment.go index 9ea0bf6e88..576bd7cc23 100644 --- a/sdk/go/google/apigee/v1/getEndpointAttachment.go +++ b/sdk/go/google/apigee/v1/getEndpointAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the endpoint attachment. @@ -78,6 +79,12 @@ func (o LookupEndpointAttachmentResultOutput) ToLookupEndpointAttachmentResultOu return o } +func (o LookupEndpointAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEndpointAttachmentResult] { + return pulumix.Output[LookupEndpointAttachmentResult]{ + OutputState: o.OutputState, + } +} + // State of the endpoint attachment connection to the service attachment. func (o LookupEndpointAttachmentResultOutput) ConnectionState() pulumi.StringOutput { return o.ApplyT(func(v LookupEndpointAttachmentResult) string { return v.ConnectionState }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getEntry.go b/sdk/go/google/apigee/v1/getEntry.go index efc4ebe4e1..a424e2ff63 100644 --- a/sdk/go/google/apigee/v1/getEntry.go +++ b/sdk/go/google/apigee/v1/getEntry.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher. @@ -74,6 +75,12 @@ func (o LookupEntryResultOutput) ToLookupEntryResultOutputWithContext(ctx contex return o } +func (o LookupEntryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntryResult] { + return pulumix.Output[LookupEntryResult]{ + OutputState: o.OutputState, + } +} + // Resource URI that can be used to identify the scope of the key value map entries. func (o LookupEntryResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupEntryResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getEnvgroup.go b/sdk/go/google/apigee/v1/getEnvgroup.go index 33246757ac..2a57a06071 100644 --- a/sdk/go/google/apigee/v1/getEnvgroup.go +++ b/sdk/go/google/apigee/v1/getEnvgroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an environment group. @@ -76,6 +77,12 @@ func (o LookupEnvgroupResultOutput) ToLookupEnvgroupResultOutputWithContext(ctx return o } +func (o LookupEnvgroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvgroupResult] { + return pulumix.Output[LookupEnvgroupResult]{ + OutputState: o.OutputState, + } +} + // The time at which the environment group was created as milliseconds since epoch. func (o LookupEnvgroupResultOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v LookupEnvgroupResult) string { return v.CreatedAt }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getEnvgroupAttachment.go b/sdk/go/google/apigee/v1/getEnvgroupAttachment.go index bd0d824161..4ae1b70d37 100644 --- a/sdk/go/google/apigee/v1/getEnvgroupAttachment.go +++ b/sdk/go/google/apigee/v1/getEnvgroupAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an environment group attachment. @@ -76,6 +77,12 @@ func (o LookupEnvgroupAttachmentResultOutput) ToLookupEnvgroupAttachmentResultOu return o } +func (o LookupEnvgroupAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvgroupAttachmentResult] { + return pulumix.Output[LookupEnvgroupAttachmentResult]{ + OutputState: o.OutputState, + } +} + // The time at which the environment group attachment was created as milliseconds since epoch. func (o LookupEnvgroupAttachmentResultOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v LookupEnvgroupAttachmentResult) string { return v.CreatedAt }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getEnvironment.go b/sdk/go/google/apigee/v1/getEnvironment.go index 2a58b6ef2f..ae3b050df8 100644 --- a/sdk/go/google/apigee/v1/getEnvironment.go +++ b/sdk/go/google/apigee/v1/getEnvironment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets environment details. @@ -88,6 +89,12 @@ func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContex return o } +func (o LookupEnvironmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentResult] { + return pulumix.Output[LookupEnvironmentResult]{ + OutputState: o.OutputState, + } +} + // Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed. func (o LookupEnvironmentResultOutput) ApiProxyType() pulumi.StringOutput { return o.ApplyT(func(v LookupEnvironmentResult) string { return v.ApiProxyType }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getEnvironmentEntry.go b/sdk/go/google/apigee/v1/getEnvironmentEntry.go index 8c398207fc..c0da070b93 100644 --- a/sdk/go/google/apigee/v1/getEnvironmentEntry.go +++ b/sdk/go/google/apigee/v1/getEnvironmentEntry.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher. @@ -74,6 +75,12 @@ func (o LookupEnvironmentEntryResultOutput) ToLookupEnvironmentEntryResultOutput return o } +func (o LookupEnvironmentEntryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentEntryResult] { + return pulumix.Output[LookupEnvironmentEntryResult]{ + OutputState: o.OutputState, + } +} + // Resource URI that can be used to identify the scope of the key value map entries. func (o LookupEnvironmentEntryResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupEnvironmentEntryResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getExport.go b/sdk/go/google/apigee/v1/getExport.go index 1b849c0ece..7463330190 100644 --- a/sdk/go/google/apigee/v1/getExport.go +++ b/sdk/go/google/apigee/v1/getExport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details and status of an analytics export job. If the export job is still in progress, its `state` is set to "running". After the export job has completed successfully, its `state` is set to "completed". If the export job fails, its `state` is set to `failed`. @@ -86,6 +87,12 @@ func (o LookupExportResultOutput) ToLookupExportResultOutputWithContext(ctx cont return o } +func (o LookupExportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExportResult] { + return pulumix.Output[LookupExportResult]{ + OutputState: o.OutputState, + } +} + // Time the export job was created. func (o LookupExportResultOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v LookupExportResult) string { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getHostQuery.go b/sdk/go/google/apigee/v1/getHostQuery.go index d1d350cad2..49de727300 100644 --- a/sdk/go/google/apigee/v1/getHostQuery.go +++ b/sdk/go/google/apigee/v1/getHostQuery.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get status of a query submitted at host level. If the query is still in progress, the `state` is set to "running" After the query has completed successfully, `state` is set to "completed" @@ -92,6 +93,12 @@ func (o LookupHostQueryResultOutput) ToLookupHostQueryResultOutputWithContext(ct return o } +func (o LookupHostQueryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHostQueryResult] { + return pulumix.Output[LookupHostQueryResult]{ + OutputState: o.OutputState, + } +} + // Creation time of the query. func (o LookupHostQueryResultOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v LookupHostQueryResult) string { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getHostSecurityReport.go b/sdk/go/google/apigee/v1/getHostSecurityReport.go index 114d062298..4369338a99 100644 --- a/sdk/go/google/apigee/v1/getHostSecurityReport.go +++ b/sdk/go/google/apigee/v1/getHostSecurityReport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get status of a query submitted at host level. If the query is still in progress, the `state` is set to "running" After the query has completed successfully, `state` is set to "completed" @@ -92,6 +93,12 @@ func (o LookupHostSecurityReportResultOutput) ToLookupHostSecurityReportResultOu return o } +func (o LookupHostSecurityReportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHostSecurityReportResult] { + return pulumix.Output[LookupHostSecurityReportResult]{ + OutputState: o.OutputState, + } +} + // Creation time of the query. func (o LookupHostSecurityReportResultOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v LookupHostSecurityReportResult) string { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getInstance.go b/sdk/go/google/apigee/v1/getInstance.go index 260d23bd7f..2c3cb4c839 100644 --- a/sdk/go/google/apigee/v1/getInstance.go +++ b/sdk/go/google/apigee/v1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details for an Apigee runtime instance. **Note:** Not supported for Apigee hybrid. @@ -96,6 +97,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list. func (o LookupInstanceResultOutput) ConsumerAcceptList() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupInstanceResult) []string { return v.ConsumerAcceptList }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/apigee/v1/getInstanceAttachment.go b/sdk/go/google/apigee/v1/getInstanceAttachment.go index 02a26718dc..a4153814d5 100644 --- a/sdk/go/google/apigee/v1/getInstanceAttachment.go +++ b/sdk/go/google/apigee/v1/getInstanceAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an attachment. **Note:** Not supported for Apigee hybrid. @@ -74,6 +75,12 @@ func (o LookupInstanceAttachmentResultOutput) ToLookupInstanceAttachmentResultOu return o } +func (o LookupInstanceAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceAttachmentResult] { + return pulumix.Output[LookupInstanceAttachmentResult]{ + OutputState: o.OutputState, + } +} + // Time the attachment was created in milliseconds since epoch. func (o LookupInstanceAttachmentResultOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceAttachmentResult) string { return v.CreatedAt }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getKey.go b/sdk/go/google/apigee/v1/getKey.go index 4648443f09..6a33bedd68 100644 --- a/sdk/go/google/apigee/v1/getKey.go +++ b/sdk/go/google/apigee/v1/getKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details for a consumer key for a developer app, including the key and secret value, associated API products, and other information. @@ -88,6 +89,12 @@ func (o GetKeyResultOutput) ToGetKeyResultOutputWithContext(ctx context.Context) return o } +func (o GetKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyResult] { + return pulumix.Output[GetKeyResult]{ + OutputState: o.OutputState, + } +} + // List of API products for which the credential can be used. **Note**: Do not specify the list of API products when creating a consumer key and secret for a developer app. Instead, use the UpdateDeveloperAppKey API to make the association after the consumer key and secret are created. func (o GetKeyResultOutput) ApiProducts() pulumi.ArrayOutput { return o.ApplyT(func(v GetKeyResult) []interface{} { return v.ApiProducts }).(pulumi.ArrayOutput) diff --git a/sdk/go/google/apigee/v1/getKeystore.go b/sdk/go/google/apigee/v1/getKeystore.go index 0df57bb611..22de514738 100644 --- a/sdk/go/google/apigee/v1/getKeystore.go +++ b/sdk/go/google/apigee/v1/getKeystore.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a keystore or truststore. @@ -72,6 +73,12 @@ func (o LookupKeystoreResultOutput) ToLookupKeystoreResultOutputWithContext(ctx return o } +func (o LookupKeystoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupKeystoreResult] { + return pulumix.Output[LookupKeystoreResult]{ + OutputState: o.OutputState, + } +} + // Aliases in this keystore. func (o LookupKeystoreResultOutput) Aliases() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupKeystoreResult) []string { return v.Aliases }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/apigee/v1/getNatAddress.go b/sdk/go/google/apigee/v1/getNatAddress.go index 29cf2fde64..da3f4a3612 100644 --- a/sdk/go/google/apigee/v1/getNatAddress.go +++ b/sdk/go/google/apigee/v1/getNatAddress.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a NAT address. **Note:** Not supported for Apigee hybrid. @@ -74,6 +75,12 @@ func (o LookupNatAddressResultOutput) ToLookupNatAddressResultOutputWithContext( return o } +func (o LookupNatAddressResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNatAddressResult] { + return pulumix.Output[LookupNatAddressResult]{ + OutputState: o.OutputState, + } +} + // The static IPV4 address. func (o LookupNatAddressResultOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v LookupNatAddressResult) string { return v.IpAddress }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getOrganization.go b/sdk/go/google/apigee/v1/getOrganization.go index d6a103196d..a25a7a261a 100644 --- a/sdk/go/google/apigee/v1/getOrganization.go +++ b/sdk/go/google/apigee/v1/getOrganization.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the profile for an Apigee organization. See [Understanding organizations](https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-structure). @@ -120,6 +121,12 @@ func (o LookupOrganizationResultOutput) ToLookupOrganizationResultOutputWithCont return o } +func (o LookupOrganizationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationResult] { + return pulumix.Output[LookupOrganizationResult]{ + OutputState: o.OutputState, + } +} + // Addon configurations of the Apigee organization. func (o LookupOrganizationResultOutput) AddonsConfig() GoogleCloudApigeeV1AddonsConfigResponseOutput { return o.ApplyT(func(v LookupOrganizationResult) GoogleCloudApigeeV1AddonsConfigResponse { return v.AddonsConfig }).(GoogleCloudApigeeV1AddonsConfigResponseOutput) diff --git a/sdk/go/google/apigee/v1/getOrganizationEnvironmentIamPolicy.go b/sdk/go/google/apigee/v1/getOrganizationEnvironmentIamPolicy.go index d4421b1284..b7240f035c 100644 --- a/sdk/go/google/apigee/v1/getOrganizationEnvironmentIamPolicy.go +++ b/sdk/go/google/apigee/v1/getOrganizationEnvironmentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy on an environment. For more information, see [Manage users, roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). You must have the `apigee.environments.getIamPolicy` permission to call this API. @@ -76,6 +77,12 @@ func (o LookupOrganizationEnvironmentIamPolicyResultOutput) ToLookupOrganization return o } +func (o LookupOrganizationEnvironmentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationEnvironmentIamPolicyResult] { + return pulumix.Output[LookupOrganizationEnvironmentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupOrganizationEnvironmentIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupOrganizationEnvironmentIamPolicyResult) []GoogleIamV1AuditConfigResponse { diff --git a/sdk/go/google/apigee/v1/getOverride.go b/sdk/go/google/apigee/v1/getOverride.go index c610f6030b..f899a9a17f 100644 --- a/sdk/go/google/apigee/v1/getOverride.go +++ b/sdk/go/google/apigee/v1/getOverride.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a trace configuration override. @@ -74,6 +75,12 @@ func (o LookupOverrideResultOutput) ToLookupOverrideResultOutputWithContext(ctx return o } +func (o LookupOverrideResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOverrideResult] { + return pulumix.Output[LookupOverrideResult]{ + OutputState: o.OutputState, + } +} + // ID of the API proxy that will have its trace configuration overridden. func (o LookupOverrideResultOutput) ApiProxy() pulumi.StringOutput { return o.ApplyT(func(v LookupOverrideResult) string { return v.ApiProxy }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getQuery.go b/sdk/go/google/apigee/v1/getQuery.go index fbb31a6ed5..0dfe56cd5d 100644 --- a/sdk/go/google/apigee/v1/getQuery.go +++ b/sdk/go/google/apigee/v1/getQuery.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get query status If the query is still in progress, the `state` is set to "running" After the query has completed successfully, `state` is set to "completed" @@ -94,6 +95,12 @@ func (o LookupQueryResultOutput) ToLookupQueryResultOutputWithContext(ctx contex return o } +func (o LookupQueryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupQueryResult] { + return pulumix.Output[LookupQueryResult]{ + OutputState: o.OutputState, + } +} + // Creation time of the query. func (o LookupQueryResultOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v LookupQueryResult) string { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getRatePlan.go b/sdk/go/google/apigee/v1/getRatePlan.go index c8d24c0868..32bd43f722 100644 --- a/sdk/go/google/apigee/v1/getRatePlan.go +++ b/sdk/go/google/apigee/v1/getRatePlan.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a rate plan. @@ -108,6 +109,12 @@ func (o LookupRatePlanResultOutput) ToLookupRatePlanResultOutputWithContext(ctx return o } +func (o LookupRatePlanResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRatePlanResult] { + return pulumix.Output[LookupRatePlanResult]{ + OutputState: o.OutputState, + } +} + // Name of the API product that the rate plan is associated with. func (o LookupRatePlanResultOutput) Apiproduct() pulumi.StringOutput { return o.ApplyT(func(v LookupRatePlanResult) string { return v.Apiproduct }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getReference.go b/sdk/go/google/apigee/v1/getReference.go index 2a51c51ad0..7e14736503 100644 --- a/sdk/go/google/apigee/v1/getReference.go +++ b/sdk/go/google/apigee/v1/getReference.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Reference resource. @@ -76,6 +77,12 @@ func (o LookupReferenceResultOutput) ToLookupReferenceResultOutputWithContext(ct return o } +func (o LookupReferenceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReferenceResult] { + return pulumix.Output[LookupReferenceResult]{ + OutputState: o.OutputState, + } +} + // Optional. A human-readable description of this reference. func (o LookupReferenceResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupReferenceResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getReport.go b/sdk/go/google/apigee/v1/getReport.go index a0cea66e49..fe5b24e0ab 100644 --- a/sdk/go/google/apigee/v1/getReport.go +++ b/sdk/go/google/apigee/v1/getReport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve a custom report definition. @@ -110,6 +111,12 @@ func (o LookupReportResultOutput) ToLookupReportResultOutputWithContext(ctx cont return o } +func (o LookupReportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReportResult] { + return pulumix.Output[LookupReportResult]{ + OutputState: o.OutputState, + } +} + // This field contains the chart type for the report func (o LookupReportResultOutput) ChartType() pulumi.StringOutput { return o.ApplyT(func(v LookupReportResult) string { return v.ChartType }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getResourcefile.go b/sdk/go/google/apigee/v1/getResourcefile.go index c2b844e13c..66353be360 100644 --- a/sdk/go/google/apigee/v1/getResourcefile.go +++ b/sdk/go/google/apigee/v1/getResourcefile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the contents of a resource file. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files). @@ -76,6 +77,12 @@ func (o LookupResourcefileResultOutput) ToLookupResourcefileResultOutputWithCont return o } +func (o LookupResourcefileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResourcefileResult] { + return pulumix.Output[LookupResourcefileResult]{ + OutputState: o.OutputState, + } +} + // The HTTP Content-Type header value specifying the content type of the body. func (o LookupResourcefileResultOutput) ContentType() pulumi.StringOutput { return o.ApplyT(func(v LookupResourcefileResult) string { return v.ContentType }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getSecurityReport.go b/sdk/go/google/apigee/v1/getSecurityReport.go index 99a17175b8..7900be2650 100644 --- a/sdk/go/google/apigee/v1/getSecurityReport.go +++ b/sdk/go/google/apigee/v1/getSecurityReport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get security report status If the query is still in progress, the `state` is set to "running" After the query has completed successfully, `state` is set to "completed" @@ -94,6 +95,12 @@ func (o LookupSecurityReportResultOutput) ToLookupSecurityReportResultOutputWith return o } +func (o LookupSecurityReportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecurityReportResult] { + return pulumix.Output[LookupSecurityReportResult]{ + OutputState: o.OutputState, + } +} + // Creation time of the query. func (o LookupSecurityReportResultOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v LookupSecurityReportResult) string { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getSharedflow.go b/sdk/go/google/apigee/v1/getSharedflow.go index 47cc616ec6..421a9dea8c 100644 --- a/sdk/go/google/apigee/v1/getSharedflow.go +++ b/sdk/go/google/apigee/v1/getSharedflow.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a shared flow by name, including a list of its revisions. @@ -74,6 +75,12 @@ func (o LookupSharedflowResultOutput) ToLookupSharedflowResultOutputWithContext( return o } +func (o LookupSharedflowResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSharedflowResult] { + return pulumix.Output[LookupSharedflowResult]{ + OutputState: o.OutputState, + } +} + // The id of the most recently created revision for this shared flow. func (o LookupSharedflowResultOutput) LatestRevisionId() pulumi.StringOutput { return o.ApplyT(func(v LookupSharedflowResult) string { return v.LatestRevisionId }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getSubscription.go b/sdk/go/google/apigee/v1/getSubscription.go index 39786a5a0f..f0505ecb36 100644 --- a/sdk/go/google/apigee/v1/getSubscription.go +++ b/sdk/go/google/apigee/v1/getSubscription.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details for an API product subscription. @@ -80,6 +81,12 @@ func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithCont return o } +func (o LookupSubscriptionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubscriptionResult] { + return pulumix.Output[LookupSubscriptionResult]{ + OutputState: o.OutputState, + } +} + // Name of the API product for which the developer is purchasing a subscription. func (o LookupSubscriptionResultOutput) Apiproduct() pulumi.StringOutput { return o.ApplyT(func(v LookupSubscriptionResult) string { return v.Apiproduct }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/getTargetServer.go b/sdk/go/google/apigee/v1/getTargetServer.go index 7d01d8b27d..3cba1e5f46 100644 --- a/sdk/go/google/apigee/v1/getTargetServer.go +++ b/sdk/go/google/apigee/v1/getTargetServer.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a TargetServer resource. @@ -82,6 +83,12 @@ func (o LookupTargetServerResultOutput) ToLookupTargetServerResultOutputWithCont return o } +func (o LookupTargetServerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetServerResult] { + return pulumix.Output[LookupTargetServerResult]{ + OutputState: o.OutputState, + } +} + // Optional. A human-readable description of this TargetServer. func (o LookupTargetServerResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetServerResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/hostQuery.go b/sdk/go/google/apigee/v1/hostQuery.go index e7f9b6e808..54dc5143e3 100644 --- a/sdk/go/google/apigee/v1/hostQuery.go +++ b/sdk/go/google/apigee/v1/hostQuery.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Submit a query at host level to be processed in the background. If the submission of the query succeeds, the API returns a 201 status and an ID that refer to the query. In addition to the HTTP status 201, the `state` of "enqueued" means that the request succeeded. @@ -172,6 +173,12 @@ func (i *HostQuery) ToHostQueryOutputWithContext(ctx context.Context) HostQueryO return pulumi.ToOutputWithContext(ctx, i).(HostQueryOutput) } +func (i *HostQuery) ToOutput(ctx context.Context) pulumix.Output[*HostQuery] { + return pulumix.Output[*HostQuery]{ + OutputState: i.ToHostQueryOutputWithContext(ctx).OutputState, + } +} + type HostQueryOutput struct{ *pulumi.OutputState } func (HostQueryOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o HostQueryOutput) ToHostQueryOutputWithContext(ctx context.Context) HostQ return o } +func (o HostQueryOutput) ToOutput(ctx context.Context) pulumix.Output[*HostQuery] { + return pulumix.Output[*HostQuery]{ + OutputState: o.OutputState, + } +} + // Creation time of the query. func (o HostQueryOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v *HostQuery) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/hostSecurityReport.go b/sdk/go/google/apigee/v1/hostSecurityReport.go index 7e884d2075..36de86ee7b 100644 --- a/sdk/go/google/apigee/v1/hostSecurityReport.go +++ b/sdk/go/google/apigee/v1/hostSecurityReport.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Submit a query at host level to be processed in the background. If the submission of the query succeeds, the API returns a 201 status and an ID that refer to the query. In addition to the HTTP status 201, the `state` of "enqueued" means that the request succeeded. @@ -173,6 +174,12 @@ func (i *HostSecurityReport) ToHostSecurityReportOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(HostSecurityReportOutput) } +func (i *HostSecurityReport) ToOutput(ctx context.Context) pulumix.Output[*HostSecurityReport] { + return pulumix.Output[*HostSecurityReport]{ + OutputState: i.ToHostSecurityReportOutputWithContext(ctx).OutputState, + } +} + type HostSecurityReportOutput struct{ *pulumi.OutputState } func (HostSecurityReportOutput) ElementType() reflect.Type { @@ -187,6 +194,12 @@ func (o HostSecurityReportOutput) ToHostSecurityReportOutputWithContext(ctx cont return o } +func (o HostSecurityReportOutput) ToOutput(ctx context.Context) pulumix.Output[*HostSecurityReport] { + return pulumix.Output[*HostSecurityReport]{ + OutputState: o.OutputState, + } +} + // Creation time of the query. func (o HostSecurityReportOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v *HostSecurityReport) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/instance.go b/sdk/go/google/apigee/v1/instance.go index 2713b60d06..670e282a46 100644 --- a/sdk/go/google/apigee/v1/instance.go +++ b/sdk/go/google/apigee/v1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Apigee runtime instance. The instance is accessible from the authorized network configured on the organization. **Note:** Not supported for Apigee hybrid. @@ -159,6 +160,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list. func (o InstanceOutput) ConsumerAcceptList() pulumi.StringArrayOutput { return o.ApplyT(func(v *Instance) pulumi.StringArrayOutput { return v.ConsumerAcceptList }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/apigee/v1/instanceAttachment.go b/sdk/go/google/apigee/v1/instanceAttachment.go index dd6ac4c793..855cca7c31 100644 --- a/sdk/go/google/apigee/v1/instanceAttachment.go +++ b/sdk/go/google/apigee/v1/instanceAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new attachment of an environment to an instance. **Note:** Not supported for Apigee hybrid. @@ -115,6 +116,12 @@ func (i *InstanceAttachment) ToInstanceAttachmentOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceAttachmentOutput) } +func (i *InstanceAttachment) ToOutput(ctx context.Context) pulumix.Output[*InstanceAttachment] { + return pulumix.Output[*InstanceAttachment]{ + OutputState: i.ToInstanceAttachmentOutputWithContext(ctx).OutputState, + } +} + type InstanceAttachmentOutput struct{ *pulumi.OutputState } func (InstanceAttachmentOutput) ElementType() reflect.Type { @@ -129,6 +136,12 @@ func (o InstanceAttachmentOutput) ToInstanceAttachmentOutputWithContext(ctx cont return o } +func (o InstanceAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceAttachment] { + return pulumix.Output[*InstanceAttachment]{ + OutputState: o.OutputState, + } +} + // Time the attachment was created in milliseconds since epoch. func (o InstanceAttachmentOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v *InstanceAttachment) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/keystore.go b/sdk/go/google/apigee/v1/keystore.go index 9921fe1daf..26bb318c62 100644 --- a/sdk/go/google/apigee/v1/keystore.go +++ b/sdk/go/google/apigee/v1/keystore.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a keystore or truststore. - Keystore: Contains certificates and their associated keys. - Truststore: Contains trusted certificates used to validate a server's certificate. These certificates are typically self-signed certificates or certificates that are not signed by a trusted CA. @@ -112,6 +113,12 @@ func (i *Keystore) ToKeystoreOutputWithContext(ctx context.Context) KeystoreOutp return pulumi.ToOutputWithContext(ctx, i).(KeystoreOutput) } +func (i *Keystore) ToOutput(ctx context.Context) pulumix.Output[*Keystore] { + return pulumix.Output[*Keystore]{ + OutputState: i.ToKeystoreOutputWithContext(ctx).OutputState, + } +} + type KeystoreOutput struct{ *pulumi.OutputState } func (KeystoreOutput) ElementType() reflect.Type { @@ -126,6 +133,12 @@ func (o KeystoreOutput) ToKeystoreOutputWithContext(ctx context.Context) Keystor return o } +func (o KeystoreOutput) ToOutput(ctx context.Context) pulumix.Output[*Keystore] { + return pulumix.Output[*Keystore]{ + OutputState: o.OutputState, + } +} + // Aliases in this keystore. func (o KeystoreOutput) Aliases() pulumi.StringArrayOutput { return o.ApplyT(func(v *Keystore) pulumi.StringArrayOutput { return v.Aliases }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/apigee/v1/natAddress.go b/sdk/go/google/apigee/v1/natAddress.go index 65969ca0c4..e5c96776f3 100644 --- a/sdk/go/google/apigee/v1/natAddress.go +++ b/sdk/go/google/apigee/v1/natAddress.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a NAT address. The address is created in the RESERVED state and a static external IP address will be provisioned. At this time, the instance will not use this IP address for Internet egress traffic. The address can be activated for use once any required firewall IP whitelisting has been completed. **Note:** Not supported for Apigee hybrid. @@ -114,6 +115,12 @@ func (i *NatAddress) ToNatAddressOutputWithContext(ctx context.Context) NatAddre return pulumi.ToOutputWithContext(ctx, i).(NatAddressOutput) } +func (i *NatAddress) ToOutput(ctx context.Context) pulumix.Output[*NatAddress] { + return pulumix.Output[*NatAddress]{ + OutputState: i.ToNatAddressOutputWithContext(ctx).OutputState, + } +} + type NatAddressOutput struct{ *pulumi.OutputState } func (NatAddressOutput) ElementType() reflect.Type { @@ -128,6 +135,12 @@ func (o NatAddressOutput) ToNatAddressOutputWithContext(ctx context.Context) Nat return o } +func (o NatAddressOutput) ToOutput(ctx context.Context) pulumix.Output[*NatAddress] { + return pulumix.Output[*NatAddress]{ + OutputState: o.OutputState, + } +} + func (o NatAddressOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v *NatAddress) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigee/v1/organization.go b/sdk/go/google/apigee/v1/organization.go index 2165d84590..8bfcbcf4c0 100644 --- a/sdk/go/google/apigee/v1/organization.go +++ b/sdk/go/google/apigee/v1/organization.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Apigee organization. See [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org). @@ -231,6 +232,12 @@ func (i *Organization) ToOrganizationOutputWithContext(ctx context.Context) Orga return pulumi.ToOutputWithContext(ctx, i).(OrganizationOutput) } +func (i *Organization) ToOutput(ctx context.Context) pulumix.Output[*Organization] { + return pulumix.Output[*Organization]{ + OutputState: i.ToOrganizationOutputWithContext(ctx).OutputState, + } +} + type OrganizationOutput struct{ *pulumi.OutputState } func (OrganizationOutput) ElementType() reflect.Type { @@ -245,6 +252,12 @@ func (o OrganizationOutput) ToOrganizationOutputWithContext(ctx context.Context) return o } +func (o OrganizationOutput) ToOutput(ctx context.Context) pulumix.Output[*Organization] { + return pulumix.Output[*Organization]{ + OutputState: o.OutputState, + } +} + // Addon configurations of the Apigee organization. func (o OrganizationOutput) AddonsConfig() GoogleCloudApigeeV1AddonsConfigResponseOutput { return o.ApplyT(func(v *Organization) GoogleCloudApigeeV1AddonsConfigResponseOutput { return v.AddonsConfig }).(GoogleCloudApigeeV1AddonsConfigResponseOutput) diff --git a/sdk/go/google/apigee/v1/organizationEnvironmentIamBinding.go b/sdk/go/google/apigee/v1/organizationEnvironmentIamBinding.go index 5ab032f73f..c358c316b1 100644 --- a/sdk/go/google/apigee/v1/organizationEnvironmentIamBinding.go +++ b/sdk/go/google/apigee/v1/organizationEnvironmentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy on an environment, if the policy already exists it will be replaced. For more information, see [Manage users, roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). You must have the `apigee.environments.setIamPolicy` permission to call this API. @@ -140,6 +141,12 @@ func (i *OrganizationEnvironmentIamBinding) ToOrganizationEnvironmentIamBindingO return pulumi.ToOutputWithContext(ctx, i).(OrganizationEnvironmentIamBindingOutput) } +func (i *OrganizationEnvironmentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OrganizationEnvironmentIamBinding] { + return pulumix.Output[*OrganizationEnvironmentIamBinding]{ + OutputState: i.ToOrganizationEnvironmentIamBindingOutputWithContext(ctx).OutputState, + } +} + type OrganizationEnvironmentIamBindingOutput struct{ *pulumi.OutputState } func (OrganizationEnvironmentIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o OrganizationEnvironmentIamBindingOutput) ToOrganizationEnvironmentIamBin return o } +func (o OrganizationEnvironmentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationEnvironmentIamBinding] { + return pulumix.Output[*OrganizationEnvironmentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationEnvironmentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationEnvironmentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigee/v1/organizationEnvironmentIamMember.go b/sdk/go/google/apigee/v1/organizationEnvironmentIamMember.go index 9c7d675824..acf30c2068 100644 --- a/sdk/go/google/apigee/v1/organizationEnvironmentIamMember.go +++ b/sdk/go/google/apigee/v1/organizationEnvironmentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy on an environment, if the policy already exists it will be replaced. For more information, see [Manage users, roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). You must have the `apigee.environments.setIamPolicy` permission to call this API. @@ -140,6 +141,12 @@ func (i *OrganizationEnvironmentIamMember) ToOrganizationEnvironmentIamMemberOut return pulumi.ToOutputWithContext(ctx, i).(OrganizationEnvironmentIamMemberOutput) } +func (i *OrganizationEnvironmentIamMember) ToOutput(ctx context.Context) pulumix.Output[*OrganizationEnvironmentIamMember] { + return pulumix.Output[*OrganizationEnvironmentIamMember]{ + OutputState: i.ToOrganizationEnvironmentIamMemberOutputWithContext(ctx).OutputState, + } +} + type OrganizationEnvironmentIamMemberOutput struct{ *pulumi.OutputState } func (OrganizationEnvironmentIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o OrganizationEnvironmentIamMemberOutput) ToOrganizationEnvironmentIamMemb return o } +func (o OrganizationEnvironmentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationEnvironmentIamMember] { + return pulumix.Output[*OrganizationEnvironmentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationEnvironmentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationEnvironmentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigee/v1/organizationEnvironmentIamPolicy.go b/sdk/go/google/apigee/v1/organizationEnvironmentIamPolicy.go index ef1e639077..d2c558b866 100644 --- a/sdk/go/google/apigee/v1/organizationEnvironmentIamPolicy.go +++ b/sdk/go/google/apigee/v1/organizationEnvironmentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy on an environment, if the policy already exists it will be replaced. For more information, see [Manage users, roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). You must have the `apigee.environments.setIamPolicy` permission to call this API. @@ -134,6 +135,12 @@ func (i *OrganizationEnvironmentIamPolicy) ToOrganizationEnvironmentIamPolicyOut return pulumi.ToOutputWithContext(ctx, i).(OrganizationEnvironmentIamPolicyOutput) } +func (i *OrganizationEnvironmentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationEnvironmentIamPolicy] { + return pulumix.Output[*OrganizationEnvironmentIamPolicy]{ + OutputState: i.ToOrganizationEnvironmentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationEnvironmentIamPolicyOutput struct{ *pulumi.OutputState } func (OrganizationEnvironmentIamPolicyOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o OrganizationEnvironmentIamPolicyOutput) ToOrganizationEnvironmentIamPoli return o } +func (o OrganizationEnvironmentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationEnvironmentIamPolicy] { + return pulumix.Output[*OrganizationEnvironmentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o OrganizationEnvironmentIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *OrganizationEnvironmentIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { diff --git a/sdk/go/google/apigee/v1/override.go b/sdk/go/google/apigee/v1/override.go index 7637e02688..3a3ec68ac5 100644 --- a/sdk/go/google/apigee/v1/override.go +++ b/sdk/go/google/apigee/v1/override.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a trace configuration override. The response contains a system-generated UUID, that can be used to view, update, or delete the configuration override. Use the List API to view the existing trace configuration overrides. @@ -122,6 +123,12 @@ func (i *Override) ToOverrideOutputWithContext(ctx context.Context) OverrideOutp return pulumi.ToOutputWithContext(ctx, i).(OverrideOutput) } +func (i *Override) ToOutput(ctx context.Context) pulumix.Output[*Override] { + return pulumix.Output[*Override]{ + OutputState: i.ToOverrideOutputWithContext(ctx).OutputState, + } +} + type OverrideOutput struct{ *pulumi.OutputState } func (OverrideOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o OverrideOutput) ToOverrideOutputWithContext(ctx context.Context) Overrid return o } +func (o OverrideOutput) ToOutput(ctx context.Context) pulumix.Output[*Override] { + return pulumix.Output[*Override]{ + OutputState: o.OutputState, + } +} + // ID of the API proxy that will have its trace configuration overridden. func (o OverrideOutput) ApiProxy() pulumi.StringOutput { return o.ApplyT(func(v *Override) pulumi.StringOutput { return v.ApiProxy }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/pulumiEnums.go b/sdk/go/google/apigee/v1/pulumiEnums.go index 13d21159c6..bf22efe225 100644 --- a/sdk/go/google/apigee/v1/pulumiEnums.go +++ b/sdk/go/google/apigee/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Scope of the quota decides how the quota counter gets applied and evaluate for quota violation. If the Scope is set as PROXY, then all the operations defined for the APIproduct that are associated with the same proxy will share the same quota counter set at the APIproduct level, making it a global counter at a proxy level. If the Scope is set as OPERATION, then each operations get the counter set at the API product dedicated, making it a local counter. Note that, the QuotaCounterScope applies only when an operation does not have dedicated quota set for itself. @@ -82,6 +83,12 @@ func (o ApiProductQuotaCounterScopeOutput) ToApiProductQuotaCounterScopePtrOutpu }).(ApiProductQuotaCounterScopePtrOutput) } +func (o ApiProductQuotaCounterScopeOutput) ToOutput(ctx context.Context) pulumix.Output[ApiProductQuotaCounterScope] { + return pulumix.Output[ApiProductQuotaCounterScope]{ + OutputState: o.OutputState, + } +} + func (o ApiProductQuotaCounterScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o ApiProductQuotaCounterScopePtrOutput) ToApiProductQuotaCounterScopePtrOu return o } +func (o ApiProductQuotaCounterScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiProductQuotaCounterScope] { + return pulumix.Output[*ApiProductQuotaCounterScope]{ + OutputState: o.OutputState, + } +} + func (o ApiProductQuotaCounterScopePtrOutput) Elem() ApiProductQuotaCounterScopeOutput { return o.ApplyT(func(v *ApiProductQuotaCounterScope) ApiProductQuotaCounterScope { if v != nil { @@ -179,6 +192,12 @@ func (in *apiProductQuotaCounterScopePtr) ToApiProductQuotaCounterScopePtrOutput return pulumi.ToOutputWithContext(ctx, in).(ApiProductQuotaCounterScopePtrOutput) } +func (in *apiProductQuotaCounterScopePtr) ToOutput(ctx context.Context) pulumix.Output[*ApiProductQuotaCounterScope] { + return pulumix.Output[*ApiProductQuotaCounterScope]{ + OutputState: in.ToApiProductQuotaCounterScopePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The type of data this data collector will collect. type DataCollectorType string @@ -257,6 +276,12 @@ func (o DataCollectorTypeOutput) ToDataCollectorTypePtrOutputWithContext(ctx con }).(DataCollectorTypePtrOutput) } +func (o DataCollectorTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DataCollectorType] { + return pulumix.Output[DataCollectorType]{ + OutputState: o.OutputState, + } +} + func (o DataCollectorTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -292,6 +317,12 @@ func (o DataCollectorTypePtrOutput) ToDataCollectorTypePtrOutputWithContext(ctx return o } +func (o DataCollectorTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataCollectorType] { + return pulumix.Output[*DataCollectorType]{ + OutputState: o.OutputState, + } +} + func (o DataCollectorTypePtrOutput) Elem() DataCollectorTypeOutput { return o.ApplyT(func(v *DataCollectorType) DataCollectorType { if v != nil { @@ -354,6 +385,12 @@ func (in *dataCollectorTypePtr) ToDataCollectorTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(DataCollectorTypePtrOutput) } +func (in *dataCollectorTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DataCollectorType] { + return pulumix.Output[*DataCollectorType]{ + OutputState: in.ToDataCollectorTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed. type EnvironmentApiProxyType string @@ -426,6 +463,12 @@ func (o EnvironmentApiProxyTypeOutput) ToEnvironmentApiProxyTypePtrOutputWithCon }).(EnvironmentApiProxyTypePtrOutput) } +func (o EnvironmentApiProxyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentApiProxyType] { + return pulumix.Output[EnvironmentApiProxyType]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentApiProxyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o EnvironmentApiProxyTypePtrOutput) ToEnvironmentApiProxyTypePtrOutputWith return o } +func (o EnvironmentApiProxyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentApiProxyType] { + return pulumix.Output[*EnvironmentApiProxyType]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentApiProxyTypePtrOutput) Elem() EnvironmentApiProxyTypeOutput { return o.ApplyT(func(v *EnvironmentApiProxyType) EnvironmentApiProxyType { if v != nil { @@ -523,6 +572,12 @@ func (in *environmentApiProxyTypePtr) ToEnvironmentApiProxyTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(EnvironmentApiProxyTypePtrOutput) } +func (in *environmentApiProxyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentApiProxyType] { + return pulumix.Output[*EnvironmentApiProxyType]{ + OutputState: in.ToEnvironmentApiProxyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be **prevented from performing** a [subset of actions](/apigee/docs/api-platform/local-development/overview#prevented-actions) within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers type EnvironmentDeploymentType string @@ -595,6 +650,12 @@ func (o EnvironmentDeploymentTypeOutput) ToEnvironmentDeploymentTypePtrOutputWit }).(EnvironmentDeploymentTypePtrOutput) } +func (o EnvironmentDeploymentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentDeploymentType] { + return pulumix.Output[EnvironmentDeploymentType]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentDeploymentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -630,6 +691,12 @@ func (o EnvironmentDeploymentTypePtrOutput) ToEnvironmentDeploymentTypePtrOutput return o } +func (o EnvironmentDeploymentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentDeploymentType] { + return pulumix.Output[*EnvironmentDeploymentType]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentDeploymentTypePtrOutput) Elem() EnvironmentDeploymentTypeOutput { return o.ApplyT(func(v *EnvironmentDeploymentType) EnvironmentDeploymentType { if v != nil { @@ -692,6 +759,12 @@ func (in *environmentDeploymentTypePtr) ToEnvironmentDeploymentTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(EnvironmentDeploymentTypePtrOutput) } +func (in *environmentDeploymentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentDeploymentType] { + return pulumix.Output[*EnvironmentDeploymentType]{ + OutputState: in.ToEnvironmentDeploymentTypePtrOutputWithContext(ctx).OutputState, + } +} + // Sampler of distributed tracing. OFF is the default value. type GoogleCloudApigeeV1TraceSamplingConfigSampler string @@ -764,6 +837,12 @@ func (o GoogleCloudApigeeV1TraceSamplingConfigSamplerOutput) ToGoogleCloudApigee }).(GoogleCloudApigeeV1TraceSamplingConfigSamplerPtrOutput) } +func (o GoogleCloudApigeeV1TraceSamplingConfigSamplerOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1TraceSamplingConfigSampler] { + return pulumix.Output[GoogleCloudApigeeV1TraceSamplingConfigSampler]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1TraceSamplingConfigSamplerOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -799,6 +878,12 @@ func (o GoogleCloudApigeeV1TraceSamplingConfigSamplerPtrOutput) ToGoogleCloudApi return o } +func (o GoogleCloudApigeeV1TraceSamplingConfigSamplerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1TraceSamplingConfigSampler] { + return pulumix.Output[*GoogleCloudApigeeV1TraceSamplingConfigSampler]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1TraceSamplingConfigSamplerPtrOutput) Elem() GoogleCloudApigeeV1TraceSamplingConfigSamplerOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1TraceSamplingConfigSampler) GoogleCloudApigeeV1TraceSamplingConfigSampler { if v != nil { @@ -861,6 +946,12 @@ func (in *googleCloudApigeeV1TraceSamplingConfigSamplerPtr) ToGoogleCloudApigeeV return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudApigeeV1TraceSamplingConfigSamplerPtrOutput) } +func (in *googleCloudApigeeV1TraceSamplingConfigSamplerPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1TraceSamplingConfigSampler] { + return pulumix.Output[*GoogleCloudApigeeV1TraceSamplingConfigSampler]{ + OutputState: in.ToGoogleCloudApigeeV1TraceSamplingConfigSamplerPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -935,6 +1026,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -970,6 +1067,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -1032,6 +1135,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support `SLASH_16` to `SLASH_20` and defaults to `SLASH_16`. Evaluation organizations support only `SLASH_23`. type InstancePeeringCidrRange string @@ -1114,6 +1223,12 @@ func (o InstancePeeringCidrRangeOutput) ToInstancePeeringCidrRangePtrOutputWithC }).(InstancePeeringCidrRangePtrOutput) } +func (o InstancePeeringCidrRangeOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePeeringCidrRange] { + return pulumix.Output[InstancePeeringCidrRange]{ + OutputState: o.OutputState, + } +} + func (o InstancePeeringCidrRangeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1149,6 +1264,12 @@ func (o InstancePeeringCidrRangePtrOutput) ToInstancePeeringCidrRangePtrOutputWi return o } +func (o InstancePeeringCidrRangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePeeringCidrRange] { + return pulumix.Output[*InstancePeeringCidrRange]{ + OutputState: o.OutputState, + } +} + func (o InstancePeeringCidrRangePtrOutput) Elem() InstancePeeringCidrRangeOutput { return o.ApplyT(func(v *InstancePeeringCidrRange) InstancePeeringCidrRange { if v != nil { @@ -1211,6 +1332,12 @@ func (in *instancePeeringCidrRangePtr) ToInstancePeeringCidrRangePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(InstancePeeringCidrRangePtrOutput) } +func (in *instancePeeringCidrRangePtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePeeringCidrRange] { + return pulumix.Output[*InstancePeeringCidrRange]{ + OutputState: in.ToInstancePeeringCidrRangePtrOutputWithContext(ctx).OutputState, + } +} + // Billing type of the Apigee organization. See [Apigee pricing](https://cloud.google.com/apigee/pricing). type OrganizationBillingType string @@ -1285,6 +1412,12 @@ func (o OrganizationBillingTypeOutput) ToOrganizationBillingTypePtrOutputWithCon }).(OrganizationBillingTypePtrOutput) } +func (o OrganizationBillingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationBillingType] { + return pulumix.Output[OrganizationBillingType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationBillingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1320,6 +1453,12 @@ func (o OrganizationBillingTypePtrOutput) ToOrganizationBillingTypePtrOutputWith return o } +func (o OrganizationBillingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationBillingType] { + return pulumix.Output[*OrganizationBillingType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationBillingTypePtrOutput) Elem() OrganizationBillingTypeOutput { return o.ApplyT(func(v *OrganizationBillingType) OrganizationBillingType { if v != nil { @@ -1382,6 +1521,12 @@ func (in *organizationBillingTypePtr) ToOrganizationBillingTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(OrganizationBillingTypePtrOutput) } +func (in *organizationBillingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationBillingType] { + return pulumix.Output[*OrganizationBillingType]{ + OutputState: in.ToOrganizationBillingTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Runtime type of the Apigee organization based on the Apigee subscription purchased. type OrganizationRuntimeType string @@ -1454,6 +1599,12 @@ func (o OrganizationRuntimeTypeOutput) ToOrganizationRuntimeTypePtrOutputWithCon }).(OrganizationRuntimeTypePtrOutput) } +func (o OrganizationRuntimeTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationRuntimeType] { + return pulumix.Output[OrganizationRuntimeType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationRuntimeTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1489,6 +1640,12 @@ func (o OrganizationRuntimeTypePtrOutput) ToOrganizationRuntimeTypePtrOutputWith return o } +func (o OrganizationRuntimeTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationRuntimeType] { + return pulumix.Output[*OrganizationRuntimeType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationRuntimeTypePtrOutput) Elem() OrganizationRuntimeTypeOutput { return o.ApplyT(func(v *OrganizationRuntimeType) OrganizationRuntimeType { if v != nil { @@ -1551,6 +1708,12 @@ func (in *organizationRuntimeTypePtr) ToOrganizationRuntimeTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(OrganizationRuntimeTypePtrOutput) } +func (in *organizationRuntimeTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationRuntimeType] { + return pulumix.Output[*OrganizationRuntimeType]{ + OutputState: in.ToOrganizationRuntimeTypePtrOutputWithContext(ctx).OutputState, + } +} + // Not used by Apigee. type OrganizationType string @@ -1625,6 +1788,12 @@ func (o OrganizationTypeOutput) ToOrganizationTypePtrOutputWithContext(ctx conte }).(OrganizationTypePtrOutput) } +func (o OrganizationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationType] { + return pulumix.Output[OrganizationType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1660,6 +1829,12 @@ func (o OrganizationTypePtrOutput) ToOrganizationTypePtrOutputWithContext(ctx co return o } +func (o OrganizationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationType] { + return pulumix.Output[*OrganizationType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationTypePtrOutput) Elem() OrganizationTypeOutput { return o.ApplyT(func(v *OrganizationType) OrganizationType { if v != nil { @@ -1722,6 +1897,12 @@ func (in *organizationTypePtr) ToOrganizationTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(OrganizationTypePtrOutput) } +func (in *organizationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationType] { + return pulumix.Output[*OrganizationType]{ + OutputState: in.ToOrganizationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Frequency at which the customer will be billed. type RatePlanBillingPeriod string @@ -1794,6 +1975,12 @@ func (o RatePlanBillingPeriodOutput) ToRatePlanBillingPeriodPtrOutputWithContext }).(RatePlanBillingPeriodPtrOutput) } +func (o RatePlanBillingPeriodOutput) ToOutput(ctx context.Context) pulumix.Output[RatePlanBillingPeriod] { + return pulumix.Output[RatePlanBillingPeriod]{ + OutputState: o.OutputState, + } +} + func (o RatePlanBillingPeriodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1829,6 +2016,12 @@ func (o RatePlanBillingPeriodPtrOutput) ToRatePlanBillingPeriodPtrOutputWithCont return o } +func (o RatePlanBillingPeriodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RatePlanBillingPeriod] { + return pulumix.Output[*RatePlanBillingPeriod]{ + OutputState: o.OutputState, + } +} + func (o RatePlanBillingPeriodPtrOutput) Elem() RatePlanBillingPeriodOutput { return o.ApplyT(func(v *RatePlanBillingPeriod) RatePlanBillingPeriod { if v != nil { @@ -1891,6 +2084,12 @@ func (in *ratePlanBillingPeriodPtr) ToRatePlanBillingPeriodPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(RatePlanBillingPeriodPtrOutput) } +func (in *ratePlanBillingPeriodPtr) ToOutput(ctx context.Context) pulumix.Output[*RatePlanBillingPeriod] { + return pulumix.Output[*RatePlanBillingPeriod]{ + OutputState: in.ToRatePlanBillingPeriodPtrOutputWithContext(ctx).OutputState, + } +} + // Pricing model used for consumption-based charges. type RatePlanConsumptionPricingType string @@ -1967,6 +2166,12 @@ func (o RatePlanConsumptionPricingTypeOutput) ToRatePlanConsumptionPricingTypePt }).(RatePlanConsumptionPricingTypePtrOutput) } +func (o RatePlanConsumptionPricingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RatePlanConsumptionPricingType] { + return pulumix.Output[RatePlanConsumptionPricingType]{ + OutputState: o.OutputState, + } +} + func (o RatePlanConsumptionPricingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2002,6 +2207,12 @@ func (o RatePlanConsumptionPricingTypePtrOutput) ToRatePlanConsumptionPricingTyp return o } +func (o RatePlanConsumptionPricingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RatePlanConsumptionPricingType] { + return pulumix.Output[*RatePlanConsumptionPricingType]{ + OutputState: o.OutputState, + } +} + func (o RatePlanConsumptionPricingTypePtrOutput) Elem() RatePlanConsumptionPricingTypeOutput { return o.ApplyT(func(v *RatePlanConsumptionPricingType) RatePlanConsumptionPricingType { if v != nil { @@ -2064,6 +2275,12 @@ func (in *ratePlanConsumptionPricingTypePtr) ToRatePlanConsumptionPricingTypePtr return pulumi.ToOutputWithContext(ctx, in).(RatePlanConsumptionPricingTypePtrOutput) } +func (in *ratePlanConsumptionPricingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RatePlanConsumptionPricingType] { + return pulumix.Output[*RatePlanConsumptionPricingType]{ + OutputState: in.ToRatePlanConsumptionPricingTypePtrOutputWithContext(ctx).OutputState, + } +} + // DEPRECATED: This field is no longer supported and will eventually be removed when Apigee Hybrid 1.5/1.6 is no longer supported. Instead, use the `billingType` field inside `DeveloperMonetizationConfig` resource. Flag that specifies the billing account type, prepaid or postpaid. type RatePlanPaymentFundingModel string @@ -2136,6 +2353,12 @@ func (o RatePlanPaymentFundingModelOutput) ToRatePlanPaymentFundingModelPtrOutpu }).(RatePlanPaymentFundingModelPtrOutput) } +func (o RatePlanPaymentFundingModelOutput) ToOutput(ctx context.Context) pulumix.Output[RatePlanPaymentFundingModel] { + return pulumix.Output[RatePlanPaymentFundingModel]{ + OutputState: o.OutputState, + } +} + func (o RatePlanPaymentFundingModelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2171,6 +2394,12 @@ func (o RatePlanPaymentFundingModelPtrOutput) ToRatePlanPaymentFundingModelPtrOu return o } +func (o RatePlanPaymentFundingModelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RatePlanPaymentFundingModel] { + return pulumix.Output[*RatePlanPaymentFundingModel]{ + OutputState: o.OutputState, + } +} + func (o RatePlanPaymentFundingModelPtrOutput) Elem() RatePlanPaymentFundingModelOutput { return o.ApplyT(func(v *RatePlanPaymentFundingModel) RatePlanPaymentFundingModel { if v != nil { @@ -2233,6 +2462,12 @@ func (in *ratePlanPaymentFundingModelPtr) ToRatePlanPaymentFundingModelPtrOutput return pulumi.ToOutputWithContext(ctx, in).(RatePlanPaymentFundingModelPtrOutput) } +func (in *ratePlanPaymentFundingModelPtr) ToOutput(ctx context.Context) pulumix.Output[*RatePlanPaymentFundingModel] { + return pulumix.Output[*RatePlanPaymentFundingModel]{ + OutputState: in.ToRatePlanPaymentFundingModelPtrOutputWithContext(ctx).OutputState, + } +} + // Method used to calculate the revenue that is shared with developers. type RatePlanRevenueShareType string @@ -2305,6 +2540,12 @@ func (o RatePlanRevenueShareTypeOutput) ToRatePlanRevenueShareTypePtrOutputWithC }).(RatePlanRevenueShareTypePtrOutput) } +func (o RatePlanRevenueShareTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RatePlanRevenueShareType] { + return pulumix.Output[RatePlanRevenueShareType]{ + OutputState: o.OutputState, + } +} + func (o RatePlanRevenueShareTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2340,6 +2581,12 @@ func (o RatePlanRevenueShareTypePtrOutput) ToRatePlanRevenueShareTypePtrOutputWi return o } +func (o RatePlanRevenueShareTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RatePlanRevenueShareType] { + return pulumix.Output[*RatePlanRevenueShareType]{ + OutputState: o.OutputState, + } +} + func (o RatePlanRevenueShareTypePtrOutput) Elem() RatePlanRevenueShareTypeOutput { return o.ApplyT(func(v *RatePlanRevenueShareType) RatePlanRevenueShareType { if v != nil { @@ -2402,6 +2649,12 @@ func (in *ratePlanRevenueShareTypePtr) ToRatePlanRevenueShareTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RatePlanRevenueShareTypePtrOutput) } +func (in *ratePlanRevenueShareTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RatePlanRevenueShareType] { + return pulumix.Output[*RatePlanRevenueShareType]{ + OutputState: in.ToRatePlanRevenueShareTypePtrOutputWithContext(ctx).OutputState, + } +} + // Current state of the rate plan (draft or published). type RatePlanStateEnum string @@ -2474,6 +2727,12 @@ func (o RatePlanStateEnumOutput) ToRatePlanStateEnumPtrOutputWithContext(ctx con }).(RatePlanStateEnumPtrOutput) } +func (o RatePlanStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[RatePlanStateEnum] { + return pulumix.Output[RatePlanStateEnum]{ + OutputState: o.OutputState, + } +} + func (o RatePlanStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2509,6 +2768,12 @@ func (o RatePlanStateEnumPtrOutput) ToRatePlanStateEnumPtrOutputWithContext(ctx return o } +func (o RatePlanStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RatePlanStateEnum] { + return pulumix.Output[*RatePlanStateEnum]{ + OutputState: o.OutputState, + } +} + func (o RatePlanStateEnumPtrOutput) Elem() RatePlanStateEnumOutput { return o.ApplyT(func(v *RatePlanStateEnum) RatePlanStateEnum { if v != nil { @@ -2571,6 +2836,12 @@ func (in *ratePlanStateEnumPtr) ToRatePlanStateEnumPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(RatePlanStateEnumPtrOutput) } +func (in *ratePlanStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*RatePlanStateEnum] { + return pulumix.Output[*RatePlanStateEnum]{ + OutputState: in.ToRatePlanStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The protocol used by this TargetServer. type TargetServerProtocol string @@ -2643,6 +2914,12 @@ func (o TargetServerProtocolOutput) ToTargetServerProtocolPtrOutputWithContext(c }).(TargetServerProtocolPtrOutput) } +func (o TargetServerProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[TargetServerProtocol] { + return pulumix.Output[TargetServerProtocol]{ + OutputState: o.OutputState, + } +} + func (o TargetServerProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2678,6 +2955,12 @@ func (o TargetServerProtocolPtrOutput) ToTargetServerProtocolPtrOutputWithContex return o } +func (o TargetServerProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetServerProtocol] { + return pulumix.Output[*TargetServerProtocol]{ + OutputState: o.OutputState, + } +} + func (o TargetServerProtocolPtrOutput) Elem() TargetServerProtocolOutput { return o.ApplyT(func(v *TargetServerProtocol) TargetServerProtocol { if v != nil { @@ -2740,6 +3023,12 @@ func (in *targetServerProtocolPtr) ToTargetServerProtocolPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(TargetServerProtocolPtrOutput) } +func (in *targetServerProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetServerProtocol] { + return pulumix.Output[*TargetServerProtocol]{ + OutputState: in.ToTargetServerProtocolPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ApiProductQuotaCounterScopeInput)(nil)).Elem(), ApiProductQuotaCounterScope("QUOTA_COUNTER_SCOPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ApiProductQuotaCounterScopePtrInput)(nil)).Elem(), ApiProductQuotaCounterScope("QUOTA_COUNTER_SCOPE_UNSPECIFIED")) diff --git a/sdk/go/google/apigee/v1/pulumiTypes.go b/sdk/go/google/apigee/v1/pulumiTypes.go index cd78a00997..50ce002fee 100644 --- a/sdk/go/google/apigee/v1/pulumiTypes.go +++ b/sdk/go/google/apigee/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -64,6 +65,12 @@ func (i GoogleCloudApigeeV1AddonsConfigArgs) ToGoogleCloudApigeeV1AddonsConfigOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1AddonsConfigOutput) } +func (i GoogleCloudApigeeV1AddonsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1AddonsConfig] { + return pulumix.Output[GoogleCloudApigeeV1AddonsConfig]{ + OutputState: i.ToGoogleCloudApigeeV1AddonsConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1AddonsConfigArgs) ToGoogleCloudApigeeV1AddonsConfigPtrOutput() GoogleCloudApigeeV1AddonsConfigPtrOutput { return i.ToGoogleCloudApigeeV1AddonsConfigPtrOutputWithContext(context.Background()) } @@ -105,6 +112,12 @@ func (i *googleCloudApigeeV1AddonsConfigPtrType) ToGoogleCloudApigeeV1AddonsConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1AddonsConfigPtrOutput) } +func (i *googleCloudApigeeV1AddonsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1AddonsConfig] { + return pulumix.Output[*GoogleCloudApigeeV1AddonsConfig]{ + OutputState: i.ToGoogleCloudApigeeV1AddonsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Add-on configurations for the Apigee organization. type GoogleCloudApigeeV1AddonsConfigOutput struct{ *pulumi.OutputState } @@ -130,6 +143,12 @@ func (o GoogleCloudApigeeV1AddonsConfigOutput) ToGoogleCloudApigeeV1AddonsConfig }).(GoogleCloudApigeeV1AddonsConfigPtrOutput) } +func (o GoogleCloudApigeeV1AddonsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1AddonsConfig] { + return pulumix.Output[GoogleCloudApigeeV1AddonsConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for the Advanced API Ops add-on. func (o GoogleCloudApigeeV1AddonsConfigOutput) AdvancedApiOpsConfig() GoogleCloudApigeeV1AdvancedApiOpsConfigPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1AddonsConfig) *GoogleCloudApigeeV1AdvancedApiOpsConfig { @@ -179,6 +198,12 @@ func (o GoogleCloudApigeeV1AddonsConfigPtrOutput) ToGoogleCloudApigeeV1AddonsCon return o } +func (o GoogleCloudApigeeV1AddonsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1AddonsConfig] { + return pulumix.Output[*GoogleCloudApigeeV1AddonsConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1AddonsConfigPtrOutput) Elem() GoogleCloudApigeeV1AddonsConfigOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1AddonsConfig) GoogleCloudApigeeV1AddonsConfig { if v != nil { @@ -268,6 +293,12 @@ func (o GoogleCloudApigeeV1AddonsConfigResponseOutput) ToGoogleCloudApigeeV1Addo return o } +func (o GoogleCloudApigeeV1AddonsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1AddonsConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1AddonsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for the Advanced API Ops add-on. func (o GoogleCloudApigeeV1AddonsConfigResponseOutput) AdvancedApiOpsConfig() GoogleCloudApigeeV1AdvancedApiOpsConfigResponseOutput { return o.ApplyT(func(v GoogleCloudApigeeV1AddonsConfigResponse) GoogleCloudApigeeV1AdvancedApiOpsConfigResponse { @@ -338,6 +369,12 @@ func (i GoogleCloudApigeeV1AdvancedApiOpsConfigArgs) ToGoogleCloudApigeeV1Advanc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1AdvancedApiOpsConfigOutput) } +func (i GoogleCloudApigeeV1AdvancedApiOpsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1AdvancedApiOpsConfig] { + return pulumix.Output[GoogleCloudApigeeV1AdvancedApiOpsConfig]{ + OutputState: i.ToGoogleCloudApigeeV1AdvancedApiOpsConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1AdvancedApiOpsConfigArgs) ToGoogleCloudApigeeV1AdvancedApiOpsConfigPtrOutput() GoogleCloudApigeeV1AdvancedApiOpsConfigPtrOutput { return i.ToGoogleCloudApigeeV1AdvancedApiOpsConfigPtrOutputWithContext(context.Background()) } @@ -379,6 +416,12 @@ func (i *googleCloudApigeeV1AdvancedApiOpsConfigPtrType) ToGoogleCloudApigeeV1Ad return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1AdvancedApiOpsConfigPtrOutput) } +func (i *googleCloudApigeeV1AdvancedApiOpsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1AdvancedApiOpsConfig] { + return pulumix.Output[*GoogleCloudApigeeV1AdvancedApiOpsConfig]{ + OutputState: i.ToGoogleCloudApigeeV1AdvancedApiOpsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Advanced API Ops add-on. type GoogleCloudApigeeV1AdvancedApiOpsConfigOutput struct{ *pulumi.OutputState } @@ -404,6 +447,12 @@ func (o GoogleCloudApigeeV1AdvancedApiOpsConfigOutput) ToGoogleCloudApigeeV1Adva }).(GoogleCloudApigeeV1AdvancedApiOpsConfigPtrOutput) } +func (o GoogleCloudApigeeV1AdvancedApiOpsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1AdvancedApiOpsConfig] { + return pulumix.Output[GoogleCloudApigeeV1AdvancedApiOpsConfig]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the Advanced API Ops add-on is enabled. func (o GoogleCloudApigeeV1AdvancedApiOpsConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1AdvancedApiOpsConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -423,6 +472,12 @@ func (o GoogleCloudApigeeV1AdvancedApiOpsConfigPtrOutput) ToGoogleCloudApigeeV1A return o } +func (o GoogleCloudApigeeV1AdvancedApiOpsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1AdvancedApiOpsConfig] { + return pulumix.Output[*GoogleCloudApigeeV1AdvancedApiOpsConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1AdvancedApiOpsConfigPtrOutput) Elem() GoogleCloudApigeeV1AdvancedApiOpsConfigOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1AdvancedApiOpsConfig) GoogleCloudApigeeV1AdvancedApiOpsConfig { if v != nil { @@ -464,6 +519,12 @@ func (o GoogleCloudApigeeV1AdvancedApiOpsConfigResponseOutput) ToGoogleCloudApig return o } +func (o GoogleCloudApigeeV1AdvancedApiOpsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1AdvancedApiOpsConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1AdvancedApiOpsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the Advanced API Ops add-on is enabled. func (o GoogleCloudApigeeV1AdvancedApiOpsConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudApigeeV1AdvancedApiOpsConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -496,6 +557,12 @@ func (o GoogleCloudApigeeV1ApiCategoryDataResponseOutput) ToGoogleCloudApigeeV1A return o } +func (o GoogleCloudApigeeV1ApiCategoryDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ApiCategoryDataResponse] { + return pulumix.Output[GoogleCloudApigeeV1ApiCategoryDataResponse]{ + OutputState: o.OutputState, + } +} + // GCP name of api category resource. func (o GoogleCloudApigeeV1ApiCategoryDataResponseOutput) GcpResource() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1ApiCategoryDataResponse) string { return v.GcpResource }).(pulumi.StringOutput) @@ -537,6 +604,12 @@ func (o GoogleCloudApigeeV1ApiProductRefResponseOutput) ToGoogleCloudApigeeV1Api return o } +func (o GoogleCloudApigeeV1ApiProductRefResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ApiProductRefResponse] { + return pulumix.Output[GoogleCloudApigeeV1ApiProductRefResponse]{ + OutputState: o.OutputState, + } +} + // Name of the API product. func (o GoogleCloudApigeeV1ApiProductRefResponseOutput) Apiproduct() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1ApiProductRefResponse) string { return v.Apiproduct }).(pulumi.StringOutput) @@ -561,6 +634,12 @@ func (o GoogleCloudApigeeV1ApiProductRefResponseArrayOutput) ToGoogleCloudApigee return o } +func (o GoogleCloudApigeeV1ApiProductRefResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1ApiProductRefResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1ApiProductRefResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1ApiProductRefResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1ApiProductRefResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1ApiProductRefResponse { return vs[0].([]GoogleCloudApigeeV1ApiProductRefResponse)[vs[1].(int)] @@ -602,6 +681,12 @@ func (i GoogleCloudApigeeV1ApiSecurityConfigArgs) ToGoogleCloudApigeeV1ApiSecuri return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1ApiSecurityConfigOutput) } +func (i GoogleCloudApigeeV1ApiSecurityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ApiSecurityConfig] { + return pulumix.Output[GoogleCloudApigeeV1ApiSecurityConfig]{ + OutputState: i.ToGoogleCloudApigeeV1ApiSecurityConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1ApiSecurityConfigArgs) ToGoogleCloudApigeeV1ApiSecurityConfigPtrOutput() GoogleCloudApigeeV1ApiSecurityConfigPtrOutput { return i.ToGoogleCloudApigeeV1ApiSecurityConfigPtrOutputWithContext(context.Background()) } @@ -643,6 +728,12 @@ func (i *googleCloudApigeeV1ApiSecurityConfigPtrType) ToGoogleCloudApigeeV1ApiSe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1ApiSecurityConfigPtrOutput) } +func (i *googleCloudApigeeV1ApiSecurityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1ApiSecurityConfig] { + return pulumix.Output[*GoogleCloudApigeeV1ApiSecurityConfig]{ + OutputState: i.ToGoogleCloudApigeeV1ApiSecurityConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configurations of the API Security add-on. type GoogleCloudApigeeV1ApiSecurityConfigOutput struct{ *pulumi.OutputState } @@ -668,6 +759,12 @@ func (o GoogleCloudApigeeV1ApiSecurityConfigOutput) ToGoogleCloudApigeeV1ApiSecu }).(GoogleCloudApigeeV1ApiSecurityConfigPtrOutput) } +func (o GoogleCloudApigeeV1ApiSecurityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ApiSecurityConfig] { + return pulumix.Output[GoogleCloudApigeeV1ApiSecurityConfig]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the API security add-on is enabled. func (o GoogleCloudApigeeV1ApiSecurityConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1ApiSecurityConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -687,6 +784,12 @@ func (o GoogleCloudApigeeV1ApiSecurityConfigPtrOutput) ToGoogleCloudApigeeV1ApiS return o } +func (o GoogleCloudApigeeV1ApiSecurityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1ApiSecurityConfig] { + return pulumix.Output[*GoogleCloudApigeeV1ApiSecurityConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1ApiSecurityConfigPtrOutput) Elem() GoogleCloudApigeeV1ApiSecurityConfigOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1ApiSecurityConfig) GoogleCloudApigeeV1ApiSecurityConfig { if v != nil { @@ -730,6 +833,12 @@ func (o GoogleCloudApigeeV1ApiSecurityConfigResponseOutput) ToGoogleCloudApigeeV return o } +func (o GoogleCloudApigeeV1ApiSecurityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ApiSecurityConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1ApiSecurityConfigResponse]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the API security add-on is enabled. func (o GoogleCloudApigeeV1ApiSecurityConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudApigeeV1ApiSecurityConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -761,6 +870,12 @@ func (o GoogleCloudApigeeV1AsyncQueryResultResponseOutput) ToGoogleCloudApigeeV1 return o } +func (o GoogleCloudApigeeV1AsyncQueryResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1AsyncQueryResultResponse] { + return pulumix.Output[GoogleCloudApigeeV1AsyncQueryResultResponse]{ + OutputState: o.OutputState, + } +} + // Query result will be unaccessable after this time. func (o GoogleCloudApigeeV1AsyncQueryResultResponseOutput) Expires() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1AsyncQueryResultResponse) string { return v.Expires }).(pulumi.StringOutput) @@ -810,6 +925,12 @@ func (i GoogleCloudApigeeV1AttributeArgs) ToGoogleCloudApigeeV1AttributeOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1AttributeOutput) } +func (i GoogleCloudApigeeV1AttributeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1Attribute] { + return pulumix.Output[GoogleCloudApigeeV1Attribute]{ + OutputState: i.ToGoogleCloudApigeeV1AttributeOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1AttributeArrayInput is an input type that accepts GoogleCloudApigeeV1AttributeArray and GoogleCloudApigeeV1AttributeArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1AttributeArrayInput` via: // @@ -835,6 +956,12 @@ func (i GoogleCloudApigeeV1AttributeArray) ToGoogleCloudApigeeV1AttributeArrayOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1AttributeArrayOutput) } +func (i GoogleCloudApigeeV1AttributeArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1Attribute] { + return pulumix.Output[[]GoogleCloudApigeeV1Attribute]{ + OutputState: i.ToGoogleCloudApigeeV1AttributeArrayOutputWithContext(ctx).OutputState, + } +} + // Key-value pair to store extra metadata. type GoogleCloudApigeeV1AttributeOutput struct{ *pulumi.OutputState } @@ -850,6 +977,12 @@ func (o GoogleCloudApigeeV1AttributeOutput) ToGoogleCloudApigeeV1AttributeOutput return o } +func (o GoogleCloudApigeeV1AttributeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1Attribute] { + return pulumix.Output[GoogleCloudApigeeV1Attribute]{ + OutputState: o.OutputState, + } +} + // API key of the attribute. func (o GoogleCloudApigeeV1AttributeOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1Attribute) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -874,6 +1007,12 @@ func (o GoogleCloudApigeeV1AttributeArrayOutput) ToGoogleCloudApigeeV1AttributeA return o } +func (o GoogleCloudApigeeV1AttributeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1Attribute] { + return pulumix.Output[[]GoogleCloudApigeeV1Attribute]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1AttributeArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1AttributeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1Attribute { return vs[0].([]GoogleCloudApigeeV1Attribute)[vs[1].(int)] @@ -903,6 +1042,12 @@ func (o GoogleCloudApigeeV1AttributeResponseOutput) ToGoogleCloudApigeeV1Attribu return o } +func (o GoogleCloudApigeeV1AttributeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1AttributeResponse] { + return pulumix.Output[GoogleCloudApigeeV1AttributeResponse]{ + OutputState: o.OutputState, + } +} + // API key of the attribute. func (o GoogleCloudApigeeV1AttributeResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1AttributeResponse) string { return v.Name }).(pulumi.StringOutput) @@ -927,6 +1072,12 @@ func (o GoogleCloudApigeeV1AttributeResponseArrayOutput) ToGoogleCloudApigeeV1At return o } +func (o GoogleCloudApigeeV1AttributeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1AttributeResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1AttributeResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1AttributeResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1AttributeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1AttributeResponse { return vs[0].([]GoogleCloudApigeeV1AttributeResponse)[vs[1].(int)] @@ -976,6 +1127,12 @@ func (i GoogleCloudApigeeV1CanaryEvaluationMetricLabelsArgs) ToGoogleCloudApigee return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1CanaryEvaluationMetricLabelsOutput) } +func (i GoogleCloudApigeeV1CanaryEvaluationMetricLabelsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1CanaryEvaluationMetricLabels] { + return pulumix.Output[GoogleCloudApigeeV1CanaryEvaluationMetricLabels]{ + OutputState: i.ToGoogleCloudApigeeV1CanaryEvaluationMetricLabelsOutputWithContext(ctx).OutputState, + } +} + // Labels that can be used to filter Apigee metrics. type GoogleCloudApigeeV1CanaryEvaluationMetricLabelsOutput struct{ *pulumi.OutputState } @@ -991,6 +1148,12 @@ func (o GoogleCloudApigeeV1CanaryEvaluationMetricLabelsOutput) ToGoogleCloudApig return o } +func (o GoogleCloudApigeeV1CanaryEvaluationMetricLabelsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1CanaryEvaluationMetricLabels] { + return pulumix.Output[GoogleCloudApigeeV1CanaryEvaluationMetricLabels]{ + OutputState: o.OutputState, + } +} + // The environment ID associated with the metrics. func (o GoogleCloudApigeeV1CanaryEvaluationMetricLabelsOutput) Env() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1CanaryEvaluationMetricLabels) *string { return v.Env }).(pulumi.StringPtrOutput) @@ -1031,6 +1194,12 @@ func (o GoogleCloudApigeeV1CanaryEvaluationMetricLabelsResponseOutput) ToGoogleC return o } +func (o GoogleCloudApigeeV1CanaryEvaluationMetricLabelsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1CanaryEvaluationMetricLabelsResponse] { + return pulumix.Output[GoogleCloudApigeeV1CanaryEvaluationMetricLabelsResponse]{ + OutputState: o.OutputState, + } +} + // The environment ID associated with the metrics. func (o GoogleCloudApigeeV1CanaryEvaluationMetricLabelsResponseOutput) Env() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1CanaryEvaluationMetricLabelsResponse) string { return v.Env }).(pulumi.StringOutput) @@ -1087,6 +1256,12 @@ func (o GoogleCloudApigeeV1CertInfoResponseOutput) ToGoogleCloudApigeeV1CertInfo return o } +func (o GoogleCloudApigeeV1CertInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1CertInfoResponse] { + return pulumix.Output[GoogleCloudApigeeV1CertInfoResponse]{ + OutputState: o.OutputState, + } +} + // X.509 basic constraints extension. func (o GoogleCloudApigeeV1CertInfoResponseOutput) BasicConstraints() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1CertInfoResponse) string { return v.BasicConstraints }).(pulumi.StringOutput) @@ -1156,6 +1331,12 @@ func (o GoogleCloudApigeeV1CertInfoResponseArrayOutput) ToGoogleCloudApigeeV1Cer return o } +func (o GoogleCloudApigeeV1CertInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1CertInfoResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1CertInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1CertInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1CertInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1CertInfoResponse { return vs[0].([]GoogleCloudApigeeV1CertInfoResponse)[vs[1].(int)] @@ -1181,6 +1362,12 @@ func (o GoogleCloudApigeeV1CertificateResponseOutput) ToGoogleCloudApigeeV1Certi return o } +func (o GoogleCloudApigeeV1CertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1CertificateResponse] { + return pulumix.Output[GoogleCloudApigeeV1CertificateResponse]{ + OutputState: o.OutputState, + } +} + // Chain of certificates under this name. func (o GoogleCloudApigeeV1CertificateResponseOutput) CertInfo() GoogleCloudApigeeV1CertInfoResponseArrayOutput { return o.ApplyT(func(v GoogleCloudApigeeV1CertificateResponse) []GoogleCloudApigeeV1CertInfoResponse { @@ -1223,6 +1410,12 @@ func (i GoogleCloudApigeeV1ConnectorsPlatformConfigArgs) ToGoogleCloudApigeeV1Co return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1ConnectorsPlatformConfigOutput) } +func (i GoogleCloudApigeeV1ConnectorsPlatformConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ConnectorsPlatformConfig] { + return pulumix.Output[GoogleCloudApigeeV1ConnectorsPlatformConfig]{ + OutputState: i.ToGoogleCloudApigeeV1ConnectorsPlatformConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1ConnectorsPlatformConfigArgs) ToGoogleCloudApigeeV1ConnectorsPlatformConfigPtrOutput() GoogleCloudApigeeV1ConnectorsPlatformConfigPtrOutput { return i.ToGoogleCloudApigeeV1ConnectorsPlatformConfigPtrOutputWithContext(context.Background()) } @@ -1264,6 +1457,12 @@ func (i *googleCloudApigeeV1ConnectorsPlatformConfigPtrType) ToGoogleCloudApigee return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1ConnectorsPlatformConfigPtrOutput) } +func (i *googleCloudApigeeV1ConnectorsPlatformConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1ConnectorsPlatformConfig] { + return pulumix.Output[*GoogleCloudApigeeV1ConnectorsPlatformConfig]{ + OutputState: i.ToGoogleCloudApigeeV1ConnectorsPlatformConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Connectors Platform add-on. type GoogleCloudApigeeV1ConnectorsPlatformConfigOutput struct{ *pulumi.OutputState } @@ -1289,6 +1488,12 @@ func (o GoogleCloudApigeeV1ConnectorsPlatformConfigOutput) ToGoogleCloudApigeeV1 }).(GoogleCloudApigeeV1ConnectorsPlatformConfigPtrOutput) } +func (o GoogleCloudApigeeV1ConnectorsPlatformConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ConnectorsPlatformConfig] { + return pulumix.Output[GoogleCloudApigeeV1ConnectorsPlatformConfig]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the Connectors Platform add-on is enabled. func (o GoogleCloudApigeeV1ConnectorsPlatformConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1ConnectorsPlatformConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -1308,6 +1513,12 @@ func (o GoogleCloudApigeeV1ConnectorsPlatformConfigPtrOutput) ToGoogleCloudApige return o } +func (o GoogleCloudApigeeV1ConnectorsPlatformConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1ConnectorsPlatformConfig] { + return pulumix.Output[*GoogleCloudApigeeV1ConnectorsPlatformConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1ConnectorsPlatformConfigPtrOutput) Elem() GoogleCloudApigeeV1ConnectorsPlatformConfigOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1ConnectorsPlatformConfig) GoogleCloudApigeeV1ConnectorsPlatformConfig { if v != nil { @@ -1351,6 +1562,12 @@ func (o GoogleCloudApigeeV1ConnectorsPlatformConfigResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudApigeeV1ConnectorsPlatformConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ConnectorsPlatformConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1ConnectorsPlatformConfigResponse]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the Connectors Platform add-on is enabled. func (o GoogleCloudApigeeV1ConnectorsPlatformConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudApigeeV1ConnectorsPlatformConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -1394,6 +1611,12 @@ func (o GoogleCloudApigeeV1CredentialResponseOutput) ToGoogleCloudApigeeV1Creden return o } +func (o GoogleCloudApigeeV1CredentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1CredentialResponse] { + return pulumix.Output[GoogleCloudApigeeV1CredentialResponse]{ + OutputState: o.OutputState, + } +} + // List of API products this credential can be used for. func (o GoogleCloudApigeeV1CredentialResponseOutput) ApiProducts() GoogleCloudApigeeV1ApiProductRefResponseArrayOutput { return o.ApplyT(func(v GoogleCloudApigeeV1CredentialResponse) []GoogleCloudApigeeV1ApiProductRefResponse { @@ -1452,6 +1675,12 @@ func (o GoogleCloudApigeeV1CredentialResponseArrayOutput) ToGoogleCloudApigeeV1C return o } +func (o GoogleCloudApigeeV1CredentialResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1CredentialResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1CredentialResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1CredentialResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1CredentialResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1CredentialResponse { return vs[0].([]GoogleCloudApigeeV1CredentialResponse)[vs[1].(int)] @@ -1497,6 +1726,12 @@ func (i GoogleCloudApigeeV1CustomReportMetricArgs) ToGoogleCloudApigeeV1CustomRe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1CustomReportMetricOutput) } +func (i GoogleCloudApigeeV1CustomReportMetricArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1CustomReportMetric] { + return pulumix.Output[GoogleCloudApigeeV1CustomReportMetric]{ + OutputState: i.ToGoogleCloudApigeeV1CustomReportMetricOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1CustomReportMetricArrayInput is an input type that accepts GoogleCloudApigeeV1CustomReportMetricArray and GoogleCloudApigeeV1CustomReportMetricArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1CustomReportMetricArrayInput` via: // @@ -1522,6 +1757,12 @@ func (i GoogleCloudApigeeV1CustomReportMetricArray) ToGoogleCloudApigeeV1CustomR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1CustomReportMetricArrayOutput) } +func (i GoogleCloudApigeeV1CustomReportMetricArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1CustomReportMetric] { + return pulumix.Output[[]GoogleCloudApigeeV1CustomReportMetric]{ + OutputState: i.ToGoogleCloudApigeeV1CustomReportMetricArrayOutputWithContext(ctx).OutputState, + } +} + // This encapsulates a metric property of the form sum(message_count) where name is message_count and function is sum type GoogleCloudApigeeV1CustomReportMetricOutput struct{ *pulumi.OutputState } @@ -1537,6 +1778,12 @@ func (o GoogleCloudApigeeV1CustomReportMetricOutput) ToGoogleCloudApigeeV1Custom return o } +func (o GoogleCloudApigeeV1CustomReportMetricOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1CustomReportMetric] { + return pulumix.Output[GoogleCloudApigeeV1CustomReportMetric]{ + OutputState: o.OutputState, + } +} + // aggregate function func (o GoogleCloudApigeeV1CustomReportMetricOutput) Function() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1CustomReportMetric) *string { return v.Function }).(pulumi.StringPtrOutput) @@ -1561,6 +1808,12 @@ func (o GoogleCloudApigeeV1CustomReportMetricArrayOutput) ToGoogleCloudApigeeV1C return o } +func (o GoogleCloudApigeeV1CustomReportMetricArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1CustomReportMetric] { + return pulumix.Output[[]GoogleCloudApigeeV1CustomReportMetric]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1CustomReportMetricArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1CustomReportMetricOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1CustomReportMetric { return vs[0].([]GoogleCloudApigeeV1CustomReportMetric)[vs[1].(int)] @@ -1590,6 +1843,12 @@ func (o GoogleCloudApigeeV1CustomReportMetricResponseOutput) ToGoogleCloudApigee return o } +func (o GoogleCloudApigeeV1CustomReportMetricResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1CustomReportMetricResponse] { + return pulumix.Output[GoogleCloudApigeeV1CustomReportMetricResponse]{ + OutputState: o.OutputState, + } +} + // aggregate function func (o GoogleCloudApigeeV1CustomReportMetricResponseOutput) Function() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1CustomReportMetricResponse) string { return v.Function }).(pulumi.StringOutput) @@ -1614,6 +1873,12 @@ func (o GoogleCloudApigeeV1CustomReportMetricResponseArrayOutput) ToGoogleCloudA return o } +func (o GoogleCloudApigeeV1CustomReportMetricResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1CustomReportMetricResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1CustomReportMetricResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1CustomReportMetricResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1CustomReportMetricResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1CustomReportMetricResponse { return vs[0].([]GoogleCloudApigeeV1CustomReportMetricResponse)[vs[1].(int)] @@ -1671,6 +1936,12 @@ func (i GoogleCloudApigeeV1DatastoreConfigArgs) ToGoogleCloudApigeeV1DatastoreCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1DatastoreConfigOutput) } +func (i GoogleCloudApigeeV1DatastoreConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1DatastoreConfig] { + return pulumix.Output[GoogleCloudApigeeV1DatastoreConfig]{ + OutputState: i.ToGoogleCloudApigeeV1DatastoreConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1DatastoreConfigArgs) ToGoogleCloudApigeeV1DatastoreConfigPtrOutput() GoogleCloudApigeeV1DatastoreConfigPtrOutput { return i.ToGoogleCloudApigeeV1DatastoreConfigPtrOutputWithContext(context.Background()) } @@ -1712,6 +1983,12 @@ func (i *googleCloudApigeeV1DatastoreConfigPtrType) ToGoogleCloudApigeeV1Datasto return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1DatastoreConfigPtrOutput) } +func (i *googleCloudApigeeV1DatastoreConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1DatastoreConfig] { + return pulumix.Output[*GoogleCloudApigeeV1DatastoreConfig]{ + OutputState: i.ToGoogleCloudApigeeV1DatastoreConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration detail for datastore type GoogleCloudApigeeV1DatastoreConfigOutput struct{ *pulumi.OutputState } @@ -1737,6 +2014,12 @@ func (o GoogleCloudApigeeV1DatastoreConfigOutput) ToGoogleCloudApigeeV1Datastore }).(GoogleCloudApigeeV1DatastoreConfigPtrOutput) } +func (o GoogleCloudApigeeV1DatastoreConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1DatastoreConfig] { + return pulumix.Output[GoogleCloudApigeeV1DatastoreConfig]{ + OutputState: o.OutputState, + } +} + // Name of the Cloud Storage bucket. Required for `gcs` target_type. func (o GoogleCloudApigeeV1DatastoreConfigOutput) BucketName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1DatastoreConfig) *string { return v.BucketName }).(pulumi.StringPtrOutput) @@ -1776,6 +2059,12 @@ func (o GoogleCloudApigeeV1DatastoreConfigPtrOutput) ToGoogleCloudApigeeV1Datast return o } +func (o GoogleCloudApigeeV1DatastoreConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1DatastoreConfig] { + return pulumix.Output[*GoogleCloudApigeeV1DatastoreConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1DatastoreConfigPtrOutput) Elem() GoogleCloudApigeeV1DatastoreConfigOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1DatastoreConfig) GoogleCloudApigeeV1DatastoreConfig { if v != nil { @@ -1865,6 +2154,12 @@ func (o GoogleCloudApigeeV1DatastoreConfigResponseOutput) ToGoogleCloudApigeeV1D return o } +func (o GoogleCloudApigeeV1DatastoreConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1DatastoreConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1DatastoreConfigResponse]{ + OutputState: o.OutputState, + } +} + // Name of the Cloud Storage bucket. Required for `gcs` target_type. func (o GoogleCloudApigeeV1DatastoreConfigResponseOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1DatastoreConfigResponse) string { return v.BucketName }).(pulumi.StringOutput) @@ -1929,6 +2224,12 @@ func (i GoogleCloudApigeeV1DateRangeArgs) ToGoogleCloudApigeeV1DateRangeOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1DateRangeOutput) } +func (i GoogleCloudApigeeV1DateRangeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1DateRange] { + return pulumix.Output[GoogleCloudApigeeV1DateRange]{ + OutputState: i.ToGoogleCloudApigeeV1DateRangeOutputWithContext(ctx).OutputState, + } +} + // Date range of the data to export. type GoogleCloudApigeeV1DateRangeOutput struct{ *pulumi.OutputState } @@ -1944,6 +2245,12 @@ func (o GoogleCloudApigeeV1DateRangeOutput) ToGoogleCloudApigeeV1DateRangeOutput return o } +func (o GoogleCloudApigeeV1DateRangeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1DateRange] { + return pulumix.Output[GoogleCloudApigeeV1DateRange]{ + OutputState: o.OutputState, + } +} + // End date (exclusive) of the data to export in the format `yyyy-mm-dd`. The date range ends at 00:00:00 UTC on the end date- which will not be in the output. func (o GoogleCloudApigeeV1DateRangeOutput) End() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1DateRange) string { return v.End }).(pulumi.StringOutput) @@ -1979,6 +2286,12 @@ func (o GoogleCloudApigeeV1EntityMetadataResponseOutput) ToGoogleCloudApigeeV1En return o } +func (o GoogleCloudApigeeV1EntityMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1EntityMetadataResponse] { + return pulumix.Output[GoogleCloudApigeeV1EntityMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Time at which the API proxy was created, in milliseconds since epoch. func (o GoogleCloudApigeeV1EntityMetadataResponseOutput) CreatedAt() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1EntityMetadataResponse) string { return v.CreatedAt }).(pulumi.StringOutput) @@ -2033,6 +2346,12 @@ func (i GoogleCloudApigeeV1GraphQLOperationArgs) ToGoogleCloudApigeeV1GraphQLOpe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1GraphQLOperationOutput) } +func (i GoogleCloudApigeeV1GraphQLOperationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1GraphQLOperation] { + return pulumix.Output[GoogleCloudApigeeV1GraphQLOperation]{ + OutputState: i.ToGoogleCloudApigeeV1GraphQLOperationOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1GraphQLOperationArrayInput is an input type that accepts GoogleCloudApigeeV1GraphQLOperationArray and GoogleCloudApigeeV1GraphQLOperationArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1GraphQLOperationArrayInput` via: // @@ -2058,6 +2377,12 @@ func (i GoogleCloudApigeeV1GraphQLOperationArray) ToGoogleCloudApigeeV1GraphQLOp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1GraphQLOperationArrayOutput) } +func (i GoogleCloudApigeeV1GraphQLOperationArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperation] { + return pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperation]{ + OutputState: i.ToGoogleCloudApigeeV1GraphQLOperationArrayOutputWithContext(ctx).OutputState, + } +} + // Represents the pairing of GraphQL operation types and the GraphQL operation name. type GoogleCloudApigeeV1GraphQLOperationOutput struct{ *pulumi.OutputState } @@ -2073,6 +2398,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationOutput) ToGoogleCloudApigeeV1GraphQLO return o } +func (o GoogleCloudApigeeV1GraphQLOperationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1GraphQLOperation] { + return pulumix.Output[GoogleCloudApigeeV1GraphQLOperation]{ + OutputState: o.OutputState, + } +} + // GraphQL operation name. The name and operation type will be used to apply quotas. If no name is specified, the quota will be applied to all GraphQL operations irrespective of their operation names in the payload. func (o GoogleCloudApigeeV1GraphQLOperationOutput) Operation() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1GraphQLOperation) *string { return v.Operation }).(pulumi.StringPtrOutput) @@ -2097,6 +2428,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationArrayOutput) ToGoogleCloudApigeeV1Gra return o } +func (o GoogleCloudApigeeV1GraphQLOperationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperation] { + return pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1GraphQLOperationArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1GraphQLOperationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1GraphQLOperation { return vs[0].([]GoogleCloudApigeeV1GraphQLOperation)[vs[1].(int)] @@ -2150,6 +2487,12 @@ func (i GoogleCloudApigeeV1GraphQLOperationConfigArgs) ToGoogleCloudApigeeV1Grap return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1GraphQLOperationConfigOutput) } +func (i GoogleCloudApigeeV1GraphQLOperationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1GraphQLOperationConfig] { + return pulumix.Output[GoogleCloudApigeeV1GraphQLOperationConfig]{ + OutputState: i.ToGoogleCloudApigeeV1GraphQLOperationConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1GraphQLOperationConfigArrayInput is an input type that accepts GoogleCloudApigeeV1GraphQLOperationConfigArray and GoogleCloudApigeeV1GraphQLOperationConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1GraphQLOperationConfigArrayInput` via: // @@ -2175,6 +2518,12 @@ func (i GoogleCloudApigeeV1GraphQLOperationConfigArray) ToGoogleCloudApigeeV1Gra return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1GraphQLOperationConfigArrayOutput) } +func (i GoogleCloudApigeeV1GraphQLOperationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperationConfig] { + return pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperationConfig]{ + OutputState: i.ToGoogleCloudApigeeV1GraphQLOperationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Binds the resources in a proxy or remote service with the GraphQL operation and its associated quota enforcement. type GoogleCloudApigeeV1GraphQLOperationConfigOutput struct{ *pulumi.OutputState } @@ -2190,6 +2539,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationConfigOutput) ToGoogleCloudApigeeV1Gr return o } +func (o GoogleCloudApigeeV1GraphQLOperationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1GraphQLOperationConfig] { + return pulumix.Output[GoogleCloudApigeeV1GraphQLOperationConfig]{ + OutputState: o.OutputState, + } +} + // Name of the API proxy endpoint or remote service with which the GraphQL operation and quota are associated. func (o GoogleCloudApigeeV1GraphQLOperationConfigOutput) ApiSource() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1GraphQLOperationConfig) string { return v.ApiSource }).(pulumi.StringOutput) @@ -2226,6 +2581,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationConfigArrayOutput) ToGoogleCloudApige return o } +func (o GoogleCloudApigeeV1GraphQLOperationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperationConfig] { + return pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1GraphQLOperationConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1GraphQLOperationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1GraphQLOperationConfig { return vs[0].([]GoogleCloudApigeeV1GraphQLOperationConfig)[vs[1].(int)] @@ -2259,6 +2620,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationConfigResponseOutput) ToGoogleCloudAp return o } +func (o GoogleCloudApigeeV1GraphQLOperationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1GraphQLOperationConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1GraphQLOperationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Name of the API proxy endpoint or remote service with which the GraphQL operation and quota are associated. func (o GoogleCloudApigeeV1GraphQLOperationConfigResponseOutput) ApiSource() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1GraphQLOperationConfigResponse) string { return v.ApiSource }).(pulumi.StringOutput) @@ -2299,6 +2666,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationConfigResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudApigeeV1GraphQLOperationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperationConfigResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1GraphQLOperationConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1GraphQLOperationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1GraphQLOperationConfigResponse { return vs[0].([]GoogleCloudApigeeV1GraphQLOperationConfigResponse)[vs[1].(int)] @@ -2344,6 +2717,12 @@ func (i GoogleCloudApigeeV1GraphQLOperationGroupArgs) ToGoogleCloudApigeeV1Graph return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1GraphQLOperationGroupOutput) } +func (i GoogleCloudApigeeV1GraphQLOperationGroupArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1GraphQLOperationGroup] { + return pulumix.Output[GoogleCloudApigeeV1GraphQLOperationGroup]{ + OutputState: i.ToGoogleCloudApigeeV1GraphQLOperationGroupOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1GraphQLOperationGroupArgs) ToGoogleCloudApigeeV1GraphQLOperationGroupPtrOutput() GoogleCloudApigeeV1GraphQLOperationGroupPtrOutput { return i.ToGoogleCloudApigeeV1GraphQLOperationGroupPtrOutputWithContext(context.Background()) } @@ -2385,6 +2764,12 @@ func (i *googleCloudApigeeV1GraphQLOperationGroupPtrType) ToGoogleCloudApigeeV1G return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1GraphQLOperationGroupPtrOutput) } +func (i *googleCloudApigeeV1GraphQLOperationGroupPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1GraphQLOperationGroup] { + return pulumix.Output[*GoogleCloudApigeeV1GraphQLOperationGroup]{ + OutputState: i.ToGoogleCloudApigeeV1GraphQLOperationGroupPtrOutputWithContext(ctx).OutputState, + } +} + // List of graphQL operation configuration details associated with Apigee API proxies or remote services. Remote services are non-Apigee proxies, such as Istio-Envoy. type GoogleCloudApigeeV1GraphQLOperationGroupOutput struct{ *pulumi.OutputState } @@ -2410,6 +2795,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationGroupOutput) ToGoogleCloudApigeeV1Gra }).(GoogleCloudApigeeV1GraphQLOperationGroupPtrOutput) } +func (o GoogleCloudApigeeV1GraphQLOperationGroupOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1GraphQLOperationGroup] { + return pulumix.Output[GoogleCloudApigeeV1GraphQLOperationGroup]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the configuration is for Apigee API proxy or a remote service. Valid values include `proxy` or `remoteservice`. Defaults to `proxy`. Set to `proxy` when Apigee API proxies are associated with the API product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are associated with the API product. func (o GoogleCloudApigeeV1GraphQLOperationGroupOutput) OperationConfigType() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1GraphQLOperationGroup) *string { return v.OperationConfigType }).(pulumi.StringPtrOutput) @@ -2436,6 +2827,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationGroupPtrOutput) ToGoogleCloudApigeeV1 return o } +func (o GoogleCloudApigeeV1GraphQLOperationGroupPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1GraphQLOperationGroup] { + return pulumix.Output[*GoogleCloudApigeeV1GraphQLOperationGroup]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1GraphQLOperationGroupPtrOutput) Elem() GoogleCloudApigeeV1GraphQLOperationGroupOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1GraphQLOperationGroup) GoogleCloudApigeeV1GraphQLOperationGroup { if v != nil { @@ -2489,6 +2886,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationGroupResponseOutput) ToGoogleCloudApi return o } +func (o GoogleCloudApigeeV1GraphQLOperationGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1GraphQLOperationGroupResponse] { + return pulumix.Output[GoogleCloudApigeeV1GraphQLOperationGroupResponse]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the configuration is for Apigee API proxy or a remote service. Valid values include `proxy` or `remoteservice`. Defaults to `proxy`. Set to `proxy` when Apigee API proxies are associated with the API product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are associated with the API product. func (o GoogleCloudApigeeV1GraphQLOperationGroupResponseOutput) OperationConfigType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1GraphQLOperationGroupResponse) string { return v.OperationConfigType }).(pulumi.StringOutput) @@ -2524,6 +2927,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationResponseOutput) ToGoogleCloudApigeeV1 return o } +func (o GoogleCloudApigeeV1GraphQLOperationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1GraphQLOperationResponse] { + return pulumix.Output[GoogleCloudApigeeV1GraphQLOperationResponse]{ + OutputState: o.OutputState, + } +} + // GraphQL operation name. The name and operation type will be used to apply quotas. If no name is specified, the quota will be applied to all GraphQL operations irrespective of their operation names in the payload. func (o GoogleCloudApigeeV1GraphQLOperationResponseOutput) Operation() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1GraphQLOperationResponse) string { return v.Operation }).(pulumi.StringOutput) @@ -2548,6 +2957,12 @@ func (o GoogleCloudApigeeV1GraphQLOperationResponseArrayOutput) ToGoogleCloudApi return o } +func (o GoogleCloudApigeeV1GraphQLOperationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperationResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1GraphQLOperationResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1GraphQLOperationResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1GraphQLOperationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1GraphQLOperationResponse { return vs[0].([]GoogleCloudApigeeV1GraphQLOperationResponse)[vs[1].(int)] @@ -2589,6 +3004,12 @@ func (i GoogleCloudApigeeV1IntegrationConfigArgs) ToGoogleCloudApigeeV1Integrati return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1IntegrationConfigOutput) } +func (i GoogleCloudApigeeV1IntegrationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1IntegrationConfig] { + return pulumix.Output[GoogleCloudApigeeV1IntegrationConfig]{ + OutputState: i.ToGoogleCloudApigeeV1IntegrationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1IntegrationConfigArgs) ToGoogleCloudApigeeV1IntegrationConfigPtrOutput() GoogleCloudApigeeV1IntegrationConfigPtrOutput { return i.ToGoogleCloudApigeeV1IntegrationConfigPtrOutputWithContext(context.Background()) } @@ -2630,6 +3051,12 @@ func (i *googleCloudApigeeV1IntegrationConfigPtrType) ToGoogleCloudApigeeV1Integ return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1IntegrationConfigPtrOutput) } +func (i *googleCloudApigeeV1IntegrationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1IntegrationConfig] { + return pulumix.Output[*GoogleCloudApigeeV1IntegrationConfig]{ + OutputState: i.ToGoogleCloudApigeeV1IntegrationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Integration add-on. type GoogleCloudApigeeV1IntegrationConfigOutput struct{ *pulumi.OutputState } @@ -2655,6 +3082,12 @@ func (o GoogleCloudApigeeV1IntegrationConfigOutput) ToGoogleCloudApigeeV1Integra }).(GoogleCloudApigeeV1IntegrationConfigPtrOutput) } +func (o GoogleCloudApigeeV1IntegrationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1IntegrationConfig] { + return pulumix.Output[GoogleCloudApigeeV1IntegrationConfig]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the Integration add-on is enabled. func (o GoogleCloudApigeeV1IntegrationConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1IntegrationConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -2674,6 +3107,12 @@ func (o GoogleCloudApigeeV1IntegrationConfigPtrOutput) ToGoogleCloudApigeeV1Inte return o } +func (o GoogleCloudApigeeV1IntegrationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1IntegrationConfig] { + return pulumix.Output[*GoogleCloudApigeeV1IntegrationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1IntegrationConfigPtrOutput) Elem() GoogleCloudApigeeV1IntegrationConfigOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1IntegrationConfig) GoogleCloudApigeeV1IntegrationConfig { if v != nil { @@ -2715,6 +3154,12 @@ func (o GoogleCloudApigeeV1IntegrationConfigResponseOutput) ToGoogleCloudApigeeV return o } +func (o GoogleCloudApigeeV1IntegrationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1IntegrationConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1IntegrationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the Integration add-on is enabled. func (o GoogleCloudApigeeV1IntegrationConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudApigeeV1IntegrationConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -2755,6 +3200,12 @@ func (i GoogleCloudApigeeV1MonetizationConfigArgs) ToGoogleCloudApigeeV1Monetiza return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1MonetizationConfigOutput) } +func (i GoogleCloudApigeeV1MonetizationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1MonetizationConfig] { + return pulumix.Output[GoogleCloudApigeeV1MonetizationConfig]{ + OutputState: i.ToGoogleCloudApigeeV1MonetizationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1MonetizationConfigArgs) ToGoogleCloudApigeeV1MonetizationConfigPtrOutput() GoogleCloudApigeeV1MonetizationConfigPtrOutput { return i.ToGoogleCloudApigeeV1MonetizationConfigPtrOutputWithContext(context.Background()) } @@ -2796,6 +3247,12 @@ func (i *googleCloudApigeeV1MonetizationConfigPtrType) ToGoogleCloudApigeeV1Mone return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1MonetizationConfigPtrOutput) } +func (i *googleCloudApigeeV1MonetizationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1MonetizationConfig] { + return pulumix.Output[*GoogleCloudApigeeV1MonetizationConfig]{ + OutputState: i.ToGoogleCloudApigeeV1MonetizationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Monetization add-on. type GoogleCloudApigeeV1MonetizationConfigOutput struct{ *pulumi.OutputState } @@ -2821,6 +3278,12 @@ func (o GoogleCloudApigeeV1MonetizationConfigOutput) ToGoogleCloudApigeeV1Moneti }).(GoogleCloudApigeeV1MonetizationConfigPtrOutput) } +func (o GoogleCloudApigeeV1MonetizationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1MonetizationConfig] { + return pulumix.Output[GoogleCloudApigeeV1MonetizationConfig]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the Monetization add-on is enabled. func (o GoogleCloudApigeeV1MonetizationConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1MonetizationConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -2840,6 +3303,12 @@ func (o GoogleCloudApigeeV1MonetizationConfigPtrOutput) ToGoogleCloudApigeeV1Mon return o } +func (o GoogleCloudApigeeV1MonetizationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1MonetizationConfig] { + return pulumix.Output[*GoogleCloudApigeeV1MonetizationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1MonetizationConfigPtrOutput) Elem() GoogleCloudApigeeV1MonetizationConfigOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1MonetizationConfig) GoogleCloudApigeeV1MonetizationConfig { if v != nil { @@ -2881,6 +3350,12 @@ func (o GoogleCloudApigeeV1MonetizationConfigResponseOutput) ToGoogleCloudApigee return o } +func (o GoogleCloudApigeeV1MonetizationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1MonetizationConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1MonetizationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Flag that specifies whether the Monetization add-on is enabled. func (o GoogleCloudApigeeV1MonetizationConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudApigeeV1MonetizationConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -2925,6 +3400,12 @@ func (i GoogleCloudApigeeV1NodeConfigArgs) ToGoogleCloudApigeeV1NodeConfigOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1NodeConfigOutput) } +func (i GoogleCloudApigeeV1NodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1NodeConfig] { + return pulumix.Output[GoogleCloudApigeeV1NodeConfig]{ + OutputState: i.ToGoogleCloudApigeeV1NodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1NodeConfigArgs) ToGoogleCloudApigeeV1NodeConfigPtrOutput() GoogleCloudApigeeV1NodeConfigPtrOutput { return i.ToGoogleCloudApigeeV1NodeConfigPtrOutputWithContext(context.Background()) } @@ -2966,6 +3447,12 @@ func (i *googleCloudApigeeV1NodeConfigPtrType) ToGoogleCloudApigeeV1NodeConfigPt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1NodeConfigPtrOutput) } +func (i *googleCloudApigeeV1NodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1NodeConfig] { + return pulumix.Output[*GoogleCloudApigeeV1NodeConfig]{ + OutputState: i.ToGoogleCloudApigeeV1NodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // NodeConfig for setting the min/max number of nodes associated with the environment. type GoogleCloudApigeeV1NodeConfigOutput struct{ *pulumi.OutputState } @@ -2991,6 +3478,12 @@ func (o GoogleCloudApigeeV1NodeConfigOutput) ToGoogleCloudApigeeV1NodeConfigPtrO }).(GoogleCloudApigeeV1NodeConfigPtrOutput) } +func (o GoogleCloudApigeeV1NodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1NodeConfig] { + return pulumix.Output[GoogleCloudApigeeV1NodeConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The maximum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended maximum number of nodes for that gateway. func (o GoogleCloudApigeeV1NodeConfigOutput) MaxNodeCount() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1NodeConfig) *string { return v.MaxNodeCount }).(pulumi.StringPtrOutput) @@ -3015,6 +3508,12 @@ func (o GoogleCloudApigeeV1NodeConfigPtrOutput) ToGoogleCloudApigeeV1NodeConfigP return o } +func (o GoogleCloudApigeeV1NodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1NodeConfig] { + return pulumix.Output[*GoogleCloudApigeeV1NodeConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1NodeConfigPtrOutput) Elem() GoogleCloudApigeeV1NodeConfigOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1NodeConfig) GoogleCloudApigeeV1NodeConfig { if v != nil { @@ -3070,6 +3569,12 @@ func (o GoogleCloudApigeeV1NodeConfigResponseOutput) ToGoogleCloudApigeeV1NodeCo return o } +func (o GoogleCloudApigeeV1NodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1NodeConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1NodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // The current total number of gateway nodes that each environment currently has across all instances. func (o GoogleCloudApigeeV1NodeConfigResponseOutput) CurrentAggregateNodeCount() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1NodeConfigResponse) string { return v.CurrentAggregateNodeCount }).(pulumi.StringOutput) @@ -3124,6 +3629,12 @@ func (i GoogleCloudApigeeV1OperationArgs) ToGoogleCloudApigeeV1OperationOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1OperationOutput) } +func (i GoogleCloudApigeeV1OperationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1Operation] { + return pulumix.Output[GoogleCloudApigeeV1Operation]{ + OutputState: i.ToGoogleCloudApigeeV1OperationOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1OperationArrayInput is an input type that accepts GoogleCloudApigeeV1OperationArray and GoogleCloudApigeeV1OperationArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1OperationArrayInput` via: // @@ -3149,6 +3660,12 @@ func (i GoogleCloudApigeeV1OperationArray) ToGoogleCloudApigeeV1OperationArrayOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1OperationArrayOutput) } +func (i GoogleCloudApigeeV1OperationArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1Operation] { + return pulumix.Output[[]GoogleCloudApigeeV1Operation]{ + OutputState: i.ToGoogleCloudApigeeV1OperationArrayOutputWithContext(ctx).OutputState, + } +} + // Represents the pairing of REST resource path and the actions (verbs) allowed on the resource path. type GoogleCloudApigeeV1OperationOutput struct{ *pulumi.OutputState } @@ -3164,6 +3681,12 @@ func (o GoogleCloudApigeeV1OperationOutput) ToGoogleCloudApigeeV1OperationOutput return o } +func (o GoogleCloudApigeeV1OperationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1Operation] { + return pulumix.Output[GoogleCloudApigeeV1Operation]{ + OutputState: o.OutputState, + } +} + // methods refers to the REST verbs as in https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html. When none specified, all verb types are allowed. func (o GoogleCloudApigeeV1OperationOutput) Methods() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudApigeeV1Operation) []string { return v.Methods }).(pulumi.StringArrayOutput) @@ -3188,6 +3711,12 @@ func (o GoogleCloudApigeeV1OperationArrayOutput) ToGoogleCloudApigeeV1OperationA return o } +func (o GoogleCloudApigeeV1OperationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1Operation] { + return pulumix.Output[[]GoogleCloudApigeeV1Operation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1OperationArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1OperationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1Operation { return vs[0].([]GoogleCloudApigeeV1Operation)[vs[1].(int)] @@ -3241,6 +3770,12 @@ func (i GoogleCloudApigeeV1OperationConfigArgs) ToGoogleCloudApigeeV1OperationCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1OperationConfigOutput) } +func (i GoogleCloudApigeeV1OperationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1OperationConfig] { + return pulumix.Output[GoogleCloudApigeeV1OperationConfig]{ + OutputState: i.ToGoogleCloudApigeeV1OperationConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1OperationConfigArrayInput is an input type that accepts GoogleCloudApigeeV1OperationConfigArray and GoogleCloudApigeeV1OperationConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1OperationConfigArrayInput` via: // @@ -3266,6 +3801,12 @@ func (i GoogleCloudApigeeV1OperationConfigArray) ToGoogleCloudApigeeV1OperationC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1OperationConfigArrayOutput) } +func (i GoogleCloudApigeeV1OperationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1OperationConfig] { + return pulumix.Output[[]GoogleCloudApigeeV1OperationConfig]{ + OutputState: i.ToGoogleCloudApigeeV1OperationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Binds the resources in an API proxy or remote service with the allowed REST methods and associated quota enforcement. type GoogleCloudApigeeV1OperationConfigOutput struct{ *pulumi.OutputState } @@ -3281,6 +3822,12 @@ func (o GoogleCloudApigeeV1OperationConfigOutput) ToGoogleCloudApigeeV1Operation return o } +func (o GoogleCloudApigeeV1OperationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1OperationConfig] { + return pulumix.Output[GoogleCloudApigeeV1OperationConfig]{ + OutputState: o.OutputState, + } +} + // Name of the API proxy or remote service with which the resources, methods, and quota are associated. func (o GoogleCloudApigeeV1OperationConfigOutput) ApiSource() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1OperationConfig) string { return v.ApiSource }).(pulumi.StringOutput) @@ -3315,6 +3862,12 @@ func (o GoogleCloudApigeeV1OperationConfigArrayOutput) ToGoogleCloudApigeeV1Oper return o } +func (o GoogleCloudApigeeV1OperationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1OperationConfig] { + return pulumix.Output[[]GoogleCloudApigeeV1OperationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1OperationConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1OperationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1OperationConfig { return vs[0].([]GoogleCloudApigeeV1OperationConfig)[vs[1].(int)] @@ -3348,6 +3901,12 @@ func (o GoogleCloudApigeeV1OperationConfigResponseOutput) ToGoogleCloudApigeeV1O return o } +func (o GoogleCloudApigeeV1OperationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1OperationConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1OperationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Name of the API proxy or remote service with which the resources, methods, and quota are associated. func (o GoogleCloudApigeeV1OperationConfigResponseOutput) ApiSource() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1OperationConfigResponse) string { return v.ApiSource }).(pulumi.StringOutput) @@ -3386,6 +3945,12 @@ func (o GoogleCloudApigeeV1OperationConfigResponseArrayOutput) ToGoogleCloudApig return o } +func (o GoogleCloudApigeeV1OperationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1OperationConfigResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1OperationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1OperationConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1OperationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1OperationConfigResponse { return vs[0].([]GoogleCloudApigeeV1OperationConfigResponse)[vs[1].(int)] @@ -3431,6 +3996,12 @@ func (i GoogleCloudApigeeV1OperationGroupArgs) ToGoogleCloudApigeeV1OperationGro return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1OperationGroupOutput) } +func (i GoogleCloudApigeeV1OperationGroupArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1OperationGroup] { + return pulumix.Output[GoogleCloudApigeeV1OperationGroup]{ + OutputState: i.ToGoogleCloudApigeeV1OperationGroupOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1OperationGroupArgs) ToGoogleCloudApigeeV1OperationGroupPtrOutput() GoogleCloudApigeeV1OperationGroupPtrOutput { return i.ToGoogleCloudApigeeV1OperationGroupPtrOutputWithContext(context.Background()) } @@ -3472,6 +4043,12 @@ func (i *googleCloudApigeeV1OperationGroupPtrType) ToGoogleCloudApigeeV1Operatio return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1OperationGroupPtrOutput) } +func (i *googleCloudApigeeV1OperationGroupPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1OperationGroup] { + return pulumix.Output[*GoogleCloudApigeeV1OperationGroup]{ + OutputState: i.ToGoogleCloudApigeeV1OperationGroupPtrOutputWithContext(ctx).OutputState, + } +} + // List of operation configuration details associated with Apigee API proxies or remote services. Remote services are non-Apigee proxies, such as Istio-Envoy. type GoogleCloudApigeeV1OperationGroupOutput struct{ *pulumi.OutputState } @@ -3497,6 +4074,12 @@ func (o GoogleCloudApigeeV1OperationGroupOutput) ToGoogleCloudApigeeV1OperationG }).(GoogleCloudApigeeV1OperationGroupPtrOutput) } +func (o GoogleCloudApigeeV1OperationGroupOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1OperationGroup] { + return pulumix.Output[GoogleCloudApigeeV1OperationGroup]{ + OutputState: o.OutputState, + } +} + // Flag that specifes whether the configuration is for Apigee API proxy or a remote service. Valid values include `proxy` or `remoteservice`. Defaults to `proxy`. Set to `proxy` when Apigee API proxies are associated with the API product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are associated with the API product. func (o GoogleCloudApigeeV1OperationGroupOutput) OperationConfigType() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1OperationGroup) *string { return v.OperationConfigType }).(pulumi.StringPtrOutput) @@ -3523,6 +4106,12 @@ func (o GoogleCloudApigeeV1OperationGroupPtrOutput) ToGoogleCloudApigeeV1Operati return o } +func (o GoogleCloudApigeeV1OperationGroupPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1OperationGroup] { + return pulumix.Output[*GoogleCloudApigeeV1OperationGroup]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1OperationGroupPtrOutput) Elem() GoogleCloudApigeeV1OperationGroupOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1OperationGroup) GoogleCloudApigeeV1OperationGroup { if v != nil { @@ -3576,6 +4165,12 @@ func (o GoogleCloudApigeeV1OperationGroupResponseOutput) ToGoogleCloudApigeeV1Op return o } +func (o GoogleCloudApigeeV1OperationGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1OperationGroupResponse] { + return pulumix.Output[GoogleCloudApigeeV1OperationGroupResponse]{ + OutputState: o.OutputState, + } +} + // Flag that specifes whether the configuration is for Apigee API proxy or a remote service. Valid values include `proxy` or `remoteservice`. Defaults to `proxy`. Set to `proxy` when Apigee API proxies are associated with the API product. Set to `remoteservice` when non-Apigee proxies like Istio-Envoy are associated with the API product. func (o GoogleCloudApigeeV1OperationGroupResponseOutput) OperationConfigType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1OperationGroupResponse) string { return v.OperationConfigType }).(pulumi.StringOutput) @@ -3611,6 +4206,12 @@ func (o GoogleCloudApigeeV1OperationResponseOutput) ToGoogleCloudApigeeV1Operati return o } +func (o GoogleCloudApigeeV1OperationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1OperationResponse] { + return pulumix.Output[GoogleCloudApigeeV1OperationResponse]{ + OutputState: o.OutputState, + } +} + // methods refers to the REST verbs as in https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html. When none specified, all verb types are allowed. func (o GoogleCloudApigeeV1OperationResponseOutput) Methods() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudApigeeV1OperationResponse) []string { return v.Methods }).(pulumi.StringArrayOutput) @@ -3635,6 +4236,12 @@ func (o GoogleCloudApigeeV1OperationResponseArrayOutput) ToGoogleCloudApigeeV1Op return o } +func (o GoogleCloudApigeeV1OperationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1OperationResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1OperationResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1OperationResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1OperationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1OperationResponse { return vs[0].([]GoogleCloudApigeeV1OperationResponse)[vs[1].(int)] @@ -3676,6 +4283,12 @@ func (i GoogleCloudApigeeV1PropertiesArgs) ToGoogleCloudApigeeV1PropertiesOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1PropertiesOutput) } +func (i GoogleCloudApigeeV1PropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1Properties] { + return pulumix.Output[GoogleCloudApigeeV1Properties]{ + OutputState: i.ToGoogleCloudApigeeV1PropertiesOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1PropertiesArgs) ToGoogleCloudApigeeV1PropertiesPtrOutput() GoogleCloudApigeeV1PropertiesPtrOutput { return i.ToGoogleCloudApigeeV1PropertiesPtrOutputWithContext(context.Background()) } @@ -3717,6 +4330,12 @@ func (i *googleCloudApigeeV1PropertiesPtrType) ToGoogleCloudApigeeV1PropertiesPt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1PropertiesPtrOutput) } +func (i *googleCloudApigeeV1PropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1Properties] { + return pulumix.Output[*GoogleCloudApigeeV1Properties]{ + OutputState: i.ToGoogleCloudApigeeV1PropertiesPtrOutputWithContext(ctx).OutputState, + } +} + // Message for compatibility with legacy Edge specification for Java Properties object in JSON. type GoogleCloudApigeeV1PropertiesOutput struct{ *pulumi.OutputState } @@ -3742,6 +4361,12 @@ func (o GoogleCloudApigeeV1PropertiesOutput) ToGoogleCloudApigeeV1PropertiesPtrO }).(GoogleCloudApigeeV1PropertiesPtrOutput) } +func (o GoogleCloudApigeeV1PropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1Properties] { + return pulumix.Output[GoogleCloudApigeeV1Properties]{ + OutputState: o.OutputState, + } +} + // List of all properties in the object func (o GoogleCloudApigeeV1PropertiesOutput) Property() GoogleCloudApigeeV1PropertyArrayOutput { return o.ApplyT(func(v GoogleCloudApigeeV1Properties) []GoogleCloudApigeeV1Property { return v.Property }).(GoogleCloudApigeeV1PropertyArrayOutput) @@ -3761,6 +4386,12 @@ func (o GoogleCloudApigeeV1PropertiesPtrOutput) ToGoogleCloudApigeeV1PropertiesP return o } +func (o GoogleCloudApigeeV1PropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1Properties] { + return pulumix.Output[*GoogleCloudApigeeV1Properties]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1PropertiesPtrOutput) Elem() GoogleCloudApigeeV1PropertiesOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1Properties) GoogleCloudApigeeV1Properties { if v != nil { @@ -3802,6 +4433,12 @@ func (o GoogleCloudApigeeV1PropertiesResponseOutput) ToGoogleCloudApigeeV1Proper return o } +func (o GoogleCloudApigeeV1PropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1PropertiesResponse] { + return pulumix.Output[GoogleCloudApigeeV1PropertiesResponse]{ + OutputState: o.OutputState, + } +} + // List of all properties in the object func (o GoogleCloudApigeeV1PropertiesResponseOutput) Property() GoogleCloudApigeeV1PropertyResponseArrayOutput { return o.ApplyT(func(v GoogleCloudApigeeV1PropertiesResponse) []GoogleCloudApigeeV1PropertyResponse { return v.Property }).(GoogleCloudApigeeV1PropertyResponseArrayOutput) @@ -3846,6 +4483,12 @@ func (i GoogleCloudApigeeV1PropertyArgs) ToGoogleCloudApigeeV1PropertyOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1PropertyOutput) } +func (i GoogleCloudApigeeV1PropertyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1Property] { + return pulumix.Output[GoogleCloudApigeeV1Property]{ + OutputState: i.ToGoogleCloudApigeeV1PropertyOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1PropertyArrayInput is an input type that accepts GoogleCloudApigeeV1PropertyArray and GoogleCloudApigeeV1PropertyArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1PropertyArrayInput` via: // @@ -3871,6 +4514,12 @@ func (i GoogleCloudApigeeV1PropertyArray) ToGoogleCloudApigeeV1PropertyArrayOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1PropertyArrayOutput) } +func (i GoogleCloudApigeeV1PropertyArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1Property] { + return pulumix.Output[[]GoogleCloudApigeeV1Property]{ + OutputState: i.ToGoogleCloudApigeeV1PropertyArrayOutputWithContext(ctx).OutputState, + } +} + // A single property entry in the Properties message. type GoogleCloudApigeeV1PropertyOutput struct{ *pulumi.OutputState } @@ -3886,6 +4535,12 @@ func (o GoogleCloudApigeeV1PropertyOutput) ToGoogleCloudApigeeV1PropertyOutputWi return o } +func (o GoogleCloudApigeeV1PropertyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1Property] { + return pulumix.Output[GoogleCloudApigeeV1Property]{ + OutputState: o.OutputState, + } +} + // The property key func (o GoogleCloudApigeeV1PropertyOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1Property) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -3910,6 +4565,12 @@ func (o GoogleCloudApigeeV1PropertyArrayOutput) ToGoogleCloudApigeeV1PropertyArr return o } +func (o GoogleCloudApigeeV1PropertyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1Property] { + return pulumix.Output[[]GoogleCloudApigeeV1Property]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1PropertyArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1PropertyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1Property { return vs[0].([]GoogleCloudApigeeV1Property)[vs[1].(int)] @@ -3939,6 +4600,12 @@ func (o GoogleCloudApigeeV1PropertyResponseOutput) ToGoogleCloudApigeeV1Property return o } +func (o GoogleCloudApigeeV1PropertyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1PropertyResponse] { + return pulumix.Output[GoogleCloudApigeeV1PropertyResponse]{ + OutputState: o.OutputState, + } +} + // The property key func (o GoogleCloudApigeeV1PropertyResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1PropertyResponse) string { return v.Name }).(pulumi.StringOutput) @@ -3963,6 +4630,12 @@ func (o GoogleCloudApigeeV1PropertyResponseArrayOutput) ToGoogleCloudApigeeV1Pro return o } +func (o GoogleCloudApigeeV1PropertyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1PropertyResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1PropertyResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1PropertyResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1PropertyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1PropertyResponse { return vs[0].([]GoogleCloudApigeeV1PropertyResponse)[vs[1].(int)] @@ -3998,6 +4671,12 @@ func (o GoogleCloudApigeeV1QueryMetadataResponseOutput) ToGoogleCloudApigeeV1Que return o } +func (o GoogleCloudApigeeV1QueryMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1QueryMetadataResponse] { + return pulumix.Output[GoogleCloudApigeeV1QueryMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Dimensions of the AsyncQuery. func (o GoogleCloudApigeeV1QueryMetadataResponseOutput) Dimensions() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudApigeeV1QueryMetadataResponse) []string { return v.Dimensions }).(pulumi.StringArrayOutput) @@ -4079,6 +4758,12 @@ func (i GoogleCloudApigeeV1QueryMetricArgs) ToGoogleCloudApigeeV1QueryMetricOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1QueryMetricOutput) } +func (i GoogleCloudApigeeV1QueryMetricArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1QueryMetric] { + return pulumix.Output[GoogleCloudApigeeV1QueryMetric]{ + OutputState: i.ToGoogleCloudApigeeV1QueryMetricOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1QueryMetricArrayInput is an input type that accepts GoogleCloudApigeeV1QueryMetricArray and GoogleCloudApigeeV1QueryMetricArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1QueryMetricArrayInput` via: // @@ -4104,6 +4789,12 @@ func (i GoogleCloudApigeeV1QueryMetricArray) ToGoogleCloudApigeeV1QueryMetricArr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1QueryMetricArrayOutput) } +func (i GoogleCloudApigeeV1QueryMetricArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1QueryMetric] { + return pulumix.Output[[]GoogleCloudApigeeV1QueryMetric]{ + OutputState: i.ToGoogleCloudApigeeV1QueryMetricArrayOutputWithContext(ctx).OutputState, + } +} + // More info about Metric: https://docs.apigee.com/api-platform/analytics/analytics-reference#metrics type GoogleCloudApigeeV1QueryMetricOutput struct{ *pulumi.OutputState } @@ -4119,6 +4810,12 @@ func (o GoogleCloudApigeeV1QueryMetricOutput) ToGoogleCloudApigeeV1QueryMetricOu return o } +func (o GoogleCloudApigeeV1QueryMetricOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1QueryMetric] { + return pulumix.Output[GoogleCloudApigeeV1QueryMetric]{ + OutputState: o.OutputState, + } +} + // Alias for the metric. Alias will be used to replace metric name in query results. func (o GoogleCloudApigeeV1QueryMetricOutput) Alias() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1QueryMetric) *string { return v.Alias }).(pulumi.StringPtrOutput) @@ -4158,6 +4855,12 @@ func (o GoogleCloudApigeeV1QueryMetricArrayOutput) ToGoogleCloudApigeeV1QueryMet return o } +func (o GoogleCloudApigeeV1QueryMetricArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1QueryMetric] { + return pulumix.Output[[]GoogleCloudApigeeV1QueryMetric]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1QueryMetricArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1QueryMetricOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1QueryMetric { return vs[0].([]GoogleCloudApigeeV1QueryMetric)[vs[1].(int)] @@ -4207,6 +4910,12 @@ func (i GoogleCloudApigeeV1QuotaArgs) ToGoogleCloudApigeeV1QuotaOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1QuotaOutput) } +func (i GoogleCloudApigeeV1QuotaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1Quota] { + return pulumix.Output[GoogleCloudApigeeV1Quota]{ + OutputState: i.ToGoogleCloudApigeeV1QuotaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1QuotaArgs) ToGoogleCloudApigeeV1QuotaPtrOutput() GoogleCloudApigeeV1QuotaPtrOutput { return i.ToGoogleCloudApigeeV1QuotaPtrOutputWithContext(context.Background()) } @@ -4248,6 +4957,12 @@ func (i *googleCloudApigeeV1QuotaPtrType) ToGoogleCloudApigeeV1QuotaPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1QuotaPtrOutput) } +func (i *googleCloudApigeeV1QuotaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1Quota] { + return pulumix.Output[*GoogleCloudApigeeV1Quota]{ + OutputState: i.ToGoogleCloudApigeeV1QuotaPtrOutputWithContext(ctx).OutputState, + } +} + // Quota contains the essential parameters needed that can be applied on the resources, methods, API source combination associated with this API product. While Quota is optional, setting it prevents requests from exceeding the provisioned parameters. type GoogleCloudApigeeV1QuotaOutput struct{ *pulumi.OutputState } @@ -4273,6 +4988,12 @@ func (o GoogleCloudApigeeV1QuotaOutput) ToGoogleCloudApigeeV1QuotaPtrOutputWithC }).(GoogleCloudApigeeV1QuotaPtrOutput) } +func (o GoogleCloudApigeeV1QuotaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1Quota] { + return pulumix.Output[GoogleCloudApigeeV1Quota]{ + OutputState: o.OutputState, + } +} + // Time interval over which the number of request messages is calculated. func (o GoogleCloudApigeeV1QuotaOutput) Interval() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1Quota) string { return v.Interval }).(pulumi.StringOutput) @@ -4302,6 +5023,12 @@ func (o GoogleCloudApigeeV1QuotaPtrOutput) ToGoogleCloudApigeeV1QuotaPtrOutputWi return o } +func (o GoogleCloudApigeeV1QuotaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1Quota] { + return pulumix.Output[*GoogleCloudApigeeV1Quota]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1QuotaPtrOutput) Elem() GoogleCloudApigeeV1QuotaOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1Quota) GoogleCloudApigeeV1Quota { if v != nil { @@ -4367,6 +5094,12 @@ func (o GoogleCloudApigeeV1QuotaResponseOutput) ToGoogleCloudApigeeV1QuotaRespon return o } +func (o GoogleCloudApigeeV1QuotaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1QuotaResponse] { + return pulumix.Output[GoogleCloudApigeeV1QuotaResponse]{ + OutputState: o.OutputState, + } +} + // Time interval over which the number of request messages is calculated. func (o GoogleCloudApigeeV1QuotaResponseOutput) Interval() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1QuotaResponse) string { return v.Interval }).(pulumi.StringOutput) @@ -4425,6 +5158,12 @@ func (i GoogleCloudApigeeV1RateRangeArgs) ToGoogleCloudApigeeV1RateRangeOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1RateRangeOutput) } +func (i GoogleCloudApigeeV1RateRangeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1RateRange] { + return pulumix.Output[GoogleCloudApigeeV1RateRange]{ + OutputState: i.ToGoogleCloudApigeeV1RateRangeOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1RateRangeArrayInput is an input type that accepts GoogleCloudApigeeV1RateRangeArray and GoogleCloudApigeeV1RateRangeArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1RateRangeArrayInput` via: // @@ -4450,6 +5189,12 @@ func (i GoogleCloudApigeeV1RateRangeArray) ToGoogleCloudApigeeV1RateRangeArrayOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1RateRangeArrayOutput) } +func (i GoogleCloudApigeeV1RateRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1RateRange] { + return pulumix.Output[[]GoogleCloudApigeeV1RateRange]{ + OutputState: i.ToGoogleCloudApigeeV1RateRangeArrayOutputWithContext(ctx).OutputState, + } +} + // API call volume range and the fees charged when the total number of API calls is within the range. type GoogleCloudApigeeV1RateRangeOutput struct{ *pulumi.OutputState } @@ -4465,6 +5210,12 @@ func (o GoogleCloudApigeeV1RateRangeOutput) ToGoogleCloudApigeeV1RateRangeOutput return o } +func (o GoogleCloudApigeeV1RateRangeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1RateRange] { + return pulumix.Output[GoogleCloudApigeeV1RateRange]{ + OutputState: o.OutputState, + } +} + // Ending value of the range. Set to 0 or `null` for the last range of values. func (o GoogleCloudApigeeV1RateRangeOutput) End() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1RateRange) *string { return v.End }).(pulumi.StringPtrOutput) @@ -4494,6 +5245,12 @@ func (o GoogleCloudApigeeV1RateRangeArrayOutput) ToGoogleCloudApigeeV1RateRangeA return o } +func (o GoogleCloudApigeeV1RateRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1RateRange] { + return pulumix.Output[[]GoogleCloudApigeeV1RateRange]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1RateRangeArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1RateRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1RateRange { return vs[0].([]GoogleCloudApigeeV1RateRange)[vs[1].(int)] @@ -4525,6 +5282,12 @@ func (o GoogleCloudApigeeV1RateRangeResponseOutput) ToGoogleCloudApigeeV1RateRan return o } +func (o GoogleCloudApigeeV1RateRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1RateRangeResponse] { + return pulumix.Output[GoogleCloudApigeeV1RateRangeResponse]{ + OutputState: o.OutputState, + } +} + // Ending value of the range. Set to 0 or `null` for the last range of values. func (o GoogleCloudApigeeV1RateRangeResponseOutput) End() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1RateRangeResponse) string { return v.End }).(pulumi.StringOutput) @@ -4554,6 +5317,12 @@ func (o GoogleCloudApigeeV1RateRangeResponseArrayOutput) ToGoogleCloudApigeeV1Ra return o } +func (o GoogleCloudApigeeV1RateRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1RateRangeResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1RateRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1RateRangeResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1RateRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1RateRangeResponse { return vs[0].([]GoogleCloudApigeeV1RateRangeResponse)[vs[1].(int)] @@ -4597,6 +5366,12 @@ func (i GoogleCloudApigeeV1ReportPropertyArgs) ToGoogleCloudApigeeV1ReportProper return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1ReportPropertyOutput) } +func (i GoogleCloudApigeeV1ReportPropertyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ReportProperty] { + return pulumix.Output[GoogleCloudApigeeV1ReportProperty]{ + OutputState: i.ToGoogleCloudApigeeV1ReportPropertyOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1ReportPropertyArrayInput is an input type that accepts GoogleCloudApigeeV1ReportPropertyArray and GoogleCloudApigeeV1ReportPropertyArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1ReportPropertyArrayInput` via: // @@ -4622,6 +5397,12 @@ func (i GoogleCloudApigeeV1ReportPropertyArray) ToGoogleCloudApigeeV1ReportPrope return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1ReportPropertyArrayOutput) } +func (i GoogleCloudApigeeV1ReportPropertyArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1ReportProperty] { + return pulumix.Output[[]GoogleCloudApigeeV1ReportProperty]{ + OutputState: i.ToGoogleCloudApigeeV1ReportPropertyArrayOutputWithContext(ctx).OutputState, + } +} + type GoogleCloudApigeeV1ReportPropertyOutput struct{ *pulumi.OutputState } func (GoogleCloudApigeeV1ReportPropertyOutput) ElementType() reflect.Type { @@ -4636,6 +5417,12 @@ func (o GoogleCloudApigeeV1ReportPropertyOutput) ToGoogleCloudApigeeV1ReportProp return o } +func (o GoogleCloudApigeeV1ReportPropertyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ReportProperty] { + return pulumix.Output[GoogleCloudApigeeV1ReportProperty]{ + OutputState: o.OutputState, + } +} + // name of the property func (o GoogleCloudApigeeV1ReportPropertyOutput) Property() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1ReportProperty) *string { return v.Property }).(pulumi.StringPtrOutput) @@ -4660,6 +5447,12 @@ func (o GoogleCloudApigeeV1ReportPropertyArrayOutput) ToGoogleCloudApigeeV1Repor return o } +func (o GoogleCloudApigeeV1ReportPropertyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1ReportProperty] { + return pulumix.Output[[]GoogleCloudApigeeV1ReportProperty]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1ReportPropertyArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1ReportPropertyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1ReportProperty { return vs[0].([]GoogleCloudApigeeV1ReportProperty)[vs[1].(int)] @@ -4687,6 +5480,12 @@ func (o GoogleCloudApigeeV1ReportPropertyResponseOutput) ToGoogleCloudApigeeV1Re return o } +func (o GoogleCloudApigeeV1ReportPropertyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1ReportPropertyResponse] { + return pulumix.Output[GoogleCloudApigeeV1ReportPropertyResponse]{ + OutputState: o.OutputState, + } +} + // name of the property func (o GoogleCloudApigeeV1ReportPropertyResponseOutput) Property() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1ReportPropertyResponse) string { return v.Property }).(pulumi.StringOutput) @@ -4713,6 +5512,12 @@ func (o GoogleCloudApigeeV1ReportPropertyResponseArrayOutput) ToGoogleCloudApige return o } +func (o GoogleCloudApigeeV1ReportPropertyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1ReportPropertyResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1ReportPropertyResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1ReportPropertyResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1ReportPropertyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1ReportPropertyResponse { return vs[0].([]GoogleCloudApigeeV1ReportPropertyResponse)[vs[1].(int)] @@ -4762,6 +5567,12 @@ func (i GoogleCloudApigeeV1RevenueShareRangeArgs) ToGoogleCloudApigeeV1RevenueSh return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1RevenueShareRangeOutput) } +func (i GoogleCloudApigeeV1RevenueShareRangeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1RevenueShareRange] { + return pulumix.Output[GoogleCloudApigeeV1RevenueShareRange]{ + OutputState: i.ToGoogleCloudApigeeV1RevenueShareRangeOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1RevenueShareRangeArrayInput is an input type that accepts GoogleCloudApigeeV1RevenueShareRangeArray and GoogleCloudApigeeV1RevenueShareRangeArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1RevenueShareRangeArrayInput` via: // @@ -4787,6 +5598,12 @@ func (i GoogleCloudApigeeV1RevenueShareRangeArray) ToGoogleCloudApigeeV1RevenueS return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1RevenueShareRangeArrayOutput) } +func (i GoogleCloudApigeeV1RevenueShareRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1RevenueShareRange] { + return pulumix.Output[[]GoogleCloudApigeeV1RevenueShareRange]{ + OutputState: i.ToGoogleCloudApigeeV1RevenueShareRangeArrayOutputWithContext(ctx).OutputState, + } +} + // API call volume range and the percentage of revenue to share with the developer when the total number of API calls is within the range. type GoogleCloudApigeeV1RevenueShareRangeOutput struct{ *pulumi.OutputState } @@ -4802,6 +5619,12 @@ func (o GoogleCloudApigeeV1RevenueShareRangeOutput) ToGoogleCloudApigeeV1Revenue return o } +func (o GoogleCloudApigeeV1RevenueShareRangeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1RevenueShareRange] { + return pulumix.Output[GoogleCloudApigeeV1RevenueShareRange]{ + OutputState: o.OutputState, + } +} + // Ending value of the range. Set to 0 or `null` for the last range of values. func (o GoogleCloudApigeeV1RevenueShareRangeOutput) End() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1RevenueShareRange) *string { return v.End }).(pulumi.StringPtrOutput) @@ -4831,6 +5654,12 @@ func (o GoogleCloudApigeeV1RevenueShareRangeArrayOutput) ToGoogleCloudApigeeV1Re return o } +func (o GoogleCloudApigeeV1RevenueShareRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1RevenueShareRange] { + return pulumix.Output[[]GoogleCloudApigeeV1RevenueShareRange]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1RevenueShareRangeArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1RevenueShareRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1RevenueShareRange { return vs[0].([]GoogleCloudApigeeV1RevenueShareRange)[vs[1].(int)] @@ -4862,6 +5691,12 @@ func (o GoogleCloudApigeeV1RevenueShareRangeResponseOutput) ToGoogleCloudApigeeV return o } +func (o GoogleCloudApigeeV1RevenueShareRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1RevenueShareRangeResponse] { + return pulumix.Output[GoogleCloudApigeeV1RevenueShareRangeResponse]{ + OutputState: o.OutputState, + } +} + // Ending value of the range. Set to 0 or `null` for the last range of values. func (o GoogleCloudApigeeV1RevenueShareRangeResponseOutput) End() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1RevenueShareRangeResponse) string { return v.End }).(pulumi.StringOutput) @@ -4891,6 +5726,12 @@ func (o GoogleCloudApigeeV1RevenueShareRangeResponseArrayOutput) ToGoogleCloudAp return o } +func (o GoogleCloudApigeeV1RevenueShareRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1RevenueShareRangeResponse] { + return pulumix.Output[[]GoogleCloudApigeeV1RevenueShareRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1RevenueShareRangeResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1RevenueShareRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1RevenueShareRangeResponse { return vs[0].([]GoogleCloudApigeeV1RevenueShareRangeResponse)[vs[1].(int)] @@ -4928,6 +5769,12 @@ func (o GoogleCloudApigeeV1SecurityReportMetadataResponseOutput) ToGoogleCloudAp return o } +func (o GoogleCloudApigeeV1SecurityReportMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1SecurityReportMetadataResponse] { + return pulumix.Output[GoogleCloudApigeeV1SecurityReportMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Dimensions of the SecurityReport. func (o GoogleCloudApigeeV1SecurityReportMetadataResponseOutput) Dimensions() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudApigeeV1SecurityReportMetadataResponse) []string { return v.Dimensions }).(pulumi.StringArrayOutput) @@ -5009,6 +5856,12 @@ func (i GoogleCloudApigeeV1SecurityReportQueryMetricArgs) ToGoogleCloudApigeeV1S return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1SecurityReportQueryMetricOutput) } +func (i GoogleCloudApigeeV1SecurityReportQueryMetricArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1SecurityReportQueryMetric] { + return pulumix.Output[GoogleCloudApigeeV1SecurityReportQueryMetric]{ + OutputState: i.ToGoogleCloudApigeeV1SecurityReportQueryMetricOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudApigeeV1SecurityReportQueryMetricArrayInput is an input type that accepts GoogleCloudApigeeV1SecurityReportQueryMetricArray and GoogleCloudApigeeV1SecurityReportQueryMetricArrayOutput values. // You can construct a concrete instance of `GoogleCloudApigeeV1SecurityReportQueryMetricArrayInput` via: // @@ -5034,6 +5887,12 @@ func (i GoogleCloudApigeeV1SecurityReportQueryMetricArray) ToGoogleCloudApigeeV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1SecurityReportQueryMetricArrayOutput) } +func (i GoogleCloudApigeeV1SecurityReportQueryMetricArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1SecurityReportQueryMetric] { + return pulumix.Output[[]GoogleCloudApigeeV1SecurityReportQueryMetric]{ + OutputState: i.ToGoogleCloudApigeeV1SecurityReportQueryMetricArrayOutputWithContext(ctx).OutputState, + } +} + // Metric of the Query type GoogleCloudApigeeV1SecurityReportQueryMetricOutput struct{ *pulumi.OutputState } @@ -5049,6 +5908,12 @@ func (o GoogleCloudApigeeV1SecurityReportQueryMetricOutput) ToGoogleCloudApigeeV return o } +func (o GoogleCloudApigeeV1SecurityReportQueryMetricOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1SecurityReportQueryMetric] { + return pulumix.Output[GoogleCloudApigeeV1SecurityReportQueryMetric]{ + OutputState: o.OutputState, + } +} + // Aggregation function: avg, min, max, or sum. func (o GoogleCloudApigeeV1SecurityReportQueryMetricOutput) AggregationFunction() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1SecurityReportQueryMetric) *string { return v.AggregationFunction }).(pulumi.StringPtrOutput) @@ -5088,6 +5953,12 @@ func (o GoogleCloudApigeeV1SecurityReportQueryMetricArrayOutput) ToGoogleCloudAp return o } +func (o GoogleCloudApigeeV1SecurityReportQueryMetricArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudApigeeV1SecurityReportQueryMetric] { + return pulumix.Output[[]GoogleCloudApigeeV1SecurityReportQueryMetric]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1SecurityReportQueryMetricArrayOutput) Index(i pulumi.IntInput) GoogleCloudApigeeV1SecurityReportQueryMetricOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudApigeeV1SecurityReportQueryMetric { return vs[0].([]GoogleCloudApigeeV1SecurityReportQueryMetric)[vs[1].(int)] @@ -5117,6 +5988,12 @@ func (o GoogleCloudApigeeV1SecurityReportResultMetadataResponseOutput) ToGoogleC return o } +func (o GoogleCloudApigeeV1SecurityReportResultMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1SecurityReportResultMetadataResponse] { + return pulumix.Output[GoogleCloudApigeeV1SecurityReportResultMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Expire_time is set to 7 days after report creation. Query result will be unaccessable after this time. Example: "2021-05-04T13:38:52-07:00" func (o GoogleCloudApigeeV1SecurityReportResultMetadataResponseOutput) Expires() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1SecurityReportResultMetadataResponse) string { return v.Expires }).(pulumi.StringOutput) @@ -5194,6 +6071,12 @@ func (i GoogleCloudApigeeV1TlsInfoArgs) ToGoogleCloudApigeeV1TlsInfoOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1TlsInfoOutput) } +func (i GoogleCloudApigeeV1TlsInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1TlsInfo] { + return pulumix.Output[GoogleCloudApigeeV1TlsInfo]{ + OutputState: i.ToGoogleCloudApigeeV1TlsInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1TlsInfoArgs) ToGoogleCloudApigeeV1TlsInfoPtrOutput() GoogleCloudApigeeV1TlsInfoPtrOutput { return i.ToGoogleCloudApigeeV1TlsInfoPtrOutputWithContext(context.Background()) } @@ -5235,6 +6118,12 @@ func (i *googleCloudApigeeV1TlsInfoPtrType) ToGoogleCloudApigeeV1TlsInfoPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1TlsInfoPtrOutput) } +func (i *googleCloudApigeeV1TlsInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1TlsInfo] { + return pulumix.Output[*GoogleCloudApigeeV1TlsInfo]{ + OutputState: i.ToGoogleCloudApigeeV1TlsInfoPtrOutputWithContext(ctx).OutputState, + } +} + // TLS configuration information for virtual hosts and TargetServers. type GoogleCloudApigeeV1TlsInfoOutput struct{ *pulumi.OutputState } @@ -5260,6 +6149,12 @@ func (o GoogleCloudApigeeV1TlsInfoOutput) ToGoogleCloudApigeeV1TlsInfoPtrOutputW }).(GoogleCloudApigeeV1TlsInfoPtrOutput) } +func (o GoogleCloudApigeeV1TlsInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1TlsInfo] { + return pulumix.Output[GoogleCloudApigeeV1TlsInfo]{ + OutputState: o.OutputState, + } +} + // The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3. func (o GoogleCloudApigeeV1TlsInfoOutput) Ciphers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudApigeeV1TlsInfo) []string { return v.Ciphers }).(pulumi.StringArrayOutput) @@ -5319,6 +6214,12 @@ func (o GoogleCloudApigeeV1TlsInfoPtrOutput) ToGoogleCloudApigeeV1TlsInfoPtrOutp return o } +func (o GoogleCloudApigeeV1TlsInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1TlsInfo] { + return pulumix.Output[*GoogleCloudApigeeV1TlsInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1TlsInfoPtrOutput) Elem() GoogleCloudApigeeV1TlsInfoOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1TlsInfo) GoogleCloudApigeeV1TlsInfo { if v != nil { @@ -5456,6 +6357,12 @@ func (i GoogleCloudApigeeV1TlsInfoCommonNameArgs) ToGoogleCloudApigeeV1TlsInfoCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1TlsInfoCommonNameOutput) } +func (i GoogleCloudApigeeV1TlsInfoCommonNameArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1TlsInfoCommonName] { + return pulumix.Output[GoogleCloudApigeeV1TlsInfoCommonName]{ + OutputState: i.ToGoogleCloudApigeeV1TlsInfoCommonNameOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1TlsInfoCommonNameArgs) ToGoogleCloudApigeeV1TlsInfoCommonNamePtrOutput() GoogleCloudApigeeV1TlsInfoCommonNamePtrOutput { return i.ToGoogleCloudApigeeV1TlsInfoCommonNamePtrOutputWithContext(context.Background()) } @@ -5497,6 +6404,12 @@ func (i *googleCloudApigeeV1TlsInfoCommonNamePtrType) ToGoogleCloudApigeeV1TlsIn return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1TlsInfoCommonNamePtrOutput) } +func (i *googleCloudApigeeV1TlsInfoCommonNamePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1TlsInfoCommonName] { + return pulumix.Output[*GoogleCloudApigeeV1TlsInfoCommonName]{ + OutputState: i.ToGoogleCloudApigeeV1TlsInfoCommonNamePtrOutputWithContext(ctx).OutputState, + } +} + type GoogleCloudApigeeV1TlsInfoCommonNameOutput struct{ *pulumi.OutputState } func (GoogleCloudApigeeV1TlsInfoCommonNameOutput) ElementType() reflect.Type { @@ -5521,6 +6434,12 @@ func (o GoogleCloudApigeeV1TlsInfoCommonNameOutput) ToGoogleCloudApigeeV1TlsInfo }).(GoogleCloudApigeeV1TlsInfoCommonNamePtrOutput) } +func (o GoogleCloudApigeeV1TlsInfoCommonNameOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1TlsInfoCommonName] { + return pulumix.Output[GoogleCloudApigeeV1TlsInfoCommonName]{ + OutputState: o.OutputState, + } +} + // The TLS Common Name string of the certificate. func (o GoogleCloudApigeeV1TlsInfoCommonNameOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1TlsInfoCommonName) *string { return v.Value }).(pulumi.StringPtrOutput) @@ -5545,6 +6464,12 @@ func (o GoogleCloudApigeeV1TlsInfoCommonNamePtrOutput) ToGoogleCloudApigeeV1TlsI return o } +func (o GoogleCloudApigeeV1TlsInfoCommonNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1TlsInfoCommonName] { + return pulumix.Output[*GoogleCloudApigeeV1TlsInfoCommonName]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1TlsInfoCommonNamePtrOutput) Elem() GoogleCloudApigeeV1TlsInfoCommonNameOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1TlsInfoCommonName) GoogleCloudApigeeV1TlsInfoCommonName { if v != nil { @@ -5596,6 +6521,12 @@ func (o GoogleCloudApigeeV1TlsInfoCommonNameResponseOutput) ToGoogleCloudApigeeV return o } +func (o GoogleCloudApigeeV1TlsInfoCommonNameResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1TlsInfoCommonNameResponse] { + return pulumix.Output[GoogleCloudApigeeV1TlsInfoCommonNameResponse]{ + OutputState: o.OutputState, + } +} + // The TLS Common Name string of the certificate. func (o GoogleCloudApigeeV1TlsInfoCommonNameResponseOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1TlsInfoCommonNameResponse) string { return v.Value }).(pulumi.StringOutput) @@ -5643,6 +6574,12 @@ func (o GoogleCloudApigeeV1TlsInfoResponseOutput) ToGoogleCloudApigeeV1TlsInfoRe return o } +func (o GoogleCloudApigeeV1TlsInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1TlsInfoResponse] { + return pulumix.Output[GoogleCloudApigeeV1TlsInfoResponse]{ + OutputState: o.OutputState, + } +} + // The SSL/TLS cipher suites to be used. For programmable proxies, it must be one of the cipher suite names listed in: http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites. For configurable proxies, it must follow the configuration specified in: https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#Cipher-suite-configuration. This setting has no effect for configurable proxies when negotiating TLS 1.3. func (o GoogleCloudApigeeV1TlsInfoResponseOutput) Ciphers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudApigeeV1TlsInfoResponse) []string { return v.Ciphers }).(pulumi.StringArrayOutput) @@ -5729,6 +6666,12 @@ func (i GoogleCloudApigeeV1TraceSamplingConfigArgs) ToGoogleCloudApigeeV1TraceSa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1TraceSamplingConfigOutput) } +func (i GoogleCloudApigeeV1TraceSamplingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1TraceSamplingConfig] { + return pulumix.Output[GoogleCloudApigeeV1TraceSamplingConfig]{ + OutputState: i.ToGoogleCloudApigeeV1TraceSamplingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudApigeeV1TraceSamplingConfigArgs) ToGoogleCloudApigeeV1TraceSamplingConfigPtrOutput() GoogleCloudApigeeV1TraceSamplingConfigPtrOutput { return i.ToGoogleCloudApigeeV1TraceSamplingConfigPtrOutputWithContext(context.Background()) } @@ -5770,6 +6713,12 @@ func (i *googleCloudApigeeV1TraceSamplingConfigPtrType) ToGoogleCloudApigeeV1Tra return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudApigeeV1TraceSamplingConfigPtrOutput) } +func (i *googleCloudApigeeV1TraceSamplingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1TraceSamplingConfig] { + return pulumix.Output[*GoogleCloudApigeeV1TraceSamplingConfig]{ + OutputState: i.ToGoogleCloudApigeeV1TraceSamplingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // TraceSamplingConfig represents the detail settings of distributed tracing. Only the fields that are defined in the distributed trace configuration can be overridden using the distribute trace configuration override APIs. type GoogleCloudApigeeV1TraceSamplingConfigOutput struct{ *pulumi.OutputState } @@ -5795,6 +6744,12 @@ func (o GoogleCloudApigeeV1TraceSamplingConfigOutput) ToGoogleCloudApigeeV1Trace }).(GoogleCloudApigeeV1TraceSamplingConfigPtrOutput) } +func (o GoogleCloudApigeeV1TraceSamplingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1TraceSamplingConfig] { + return pulumix.Output[GoogleCloudApigeeV1TraceSamplingConfig]{ + OutputState: o.OutputState, + } +} + // Sampler of distributed tracing. OFF is the default value. func (o GoogleCloudApigeeV1TraceSamplingConfigOutput) Sampler() GoogleCloudApigeeV1TraceSamplingConfigSamplerPtrOutput { return o.ApplyT(func(v GoogleCloudApigeeV1TraceSamplingConfig) *GoogleCloudApigeeV1TraceSamplingConfigSampler { @@ -5821,6 +6776,12 @@ func (o GoogleCloudApigeeV1TraceSamplingConfigPtrOutput) ToGoogleCloudApigeeV1Tr return o } +func (o GoogleCloudApigeeV1TraceSamplingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudApigeeV1TraceSamplingConfig] { + return pulumix.Output[*GoogleCloudApigeeV1TraceSamplingConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudApigeeV1TraceSamplingConfigPtrOutput) Elem() GoogleCloudApigeeV1TraceSamplingConfigOutput { return o.ApplyT(func(v *GoogleCloudApigeeV1TraceSamplingConfig) GoogleCloudApigeeV1TraceSamplingConfig { if v != nil { @@ -5874,6 +6835,12 @@ func (o GoogleCloudApigeeV1TraceSamplingConfigResponseOutput) ToGoogleCloudApige return o } +func (o GoogleCloudApigeeV1TraceSamplingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudApigeeV1TraceSamplingConfigResponse] { + return pulumix.Output[GoogleCloudApigeeV1TraceSamplingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Sampler of distributed tracing. OFF is the default value. func (o GoogleCloudApigeeV1TraceSamplingConfigResponseOutput) Sampler() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudApigeeV1TraceSamplingConfigResponse) string { return v.Sampler }).(pulumi.StringOutput) @@ -5923,6 +6890,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -5948,6 +6921,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -5963,6 +6942,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -5987,6 +6972,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -6016,6 +7007,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -6040,6 +7037,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -6085,6 +7088,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -6110,6 +7119,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -6125,6 +7140,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -6149,6 +7170,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -6178,6 +7205,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -6202,6 +7235,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -6251,6 +7290,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -6276,6 +7321,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -6291,6 +7342,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() GoogleTypeExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *GoogleTypeExpr { return v.Condition }).(GoogleTypeExprPtrOutput) @@ -6320,6 +7377,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -6351,6 +7414,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() GoogleTypeExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) GoogleTypeExprResponse { return v.Condition }).(GoogleTypeExprResponseOutput) @@ -6380,6 +7449,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -6433,6 +7508,12 @@ func (i GoogleTypeExprArgs) ToGoogleTypeExprOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprOutput) } +func (i GoogleTypeExprArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeExprArgs) ToGoogleTypeExprPtrOutput() GoogleTypeExprPtrOutput { return i.ToGoogleTypeExprPtrOutputWithContext(context.Background()) } @@ -6474,6 +7555,12 @@ func (i *googleTypeExprPtrType) ToGoogleTypeExprPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprPtrOutput) } +func (i *googleTypeExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type GoogleTypeExprOutput struct{ *pulumi.OutputState } @@ -6499,6 +7586,12 @@ func (o GoogleTypeExprOutput) ToGoogleTypeExprPtrOutputWithContext(ctx context.C }).(GoogleTypeExprPtrOutput) } +func (o GoogleTypeExprOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeExpr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -6533,6 +7626,12 @@ func (o GoogleTypeExprPtrOutput) ToGoogleTypeExprPtrOutputWithContext(ctx contex return o } +func (o GoogleTypeExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeExprPtrOutput) Elem() GoogleTypeExprOutput { return o.ApplyT(func(v *GoogleTypeExpr) GoogleTypeExpr { if v != nil { @@ -6610,6 +7709,12 @@ func (o GoogleTypeExprResponseOutput) ToGoogleTypeExprResponseOutputWithContext( return o } +func (o GoogleTypeExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExprResponse] { + return pulumix.Output[GoogleTypeExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -6673,6 +7778,12 @@ func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeMoneyOutput) } +func (i GoogleTypeMoneyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoney] { + return pulumix.Output[GoogleTypeMoney]{ + OutputState: i.ToGoogleTypeMoneyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyPtrOutput() GoogleTypeMoneyPtrOutput { return i.ToGoogleTypeMoneyPtrOutputWithContext(context.Background()) } @@ -6714,6 +7825,12 @@ func (i *googleTypeMoneyPtrType) ToGoogleTypeMoneyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeMoneyPtrOutput) } +func (i *googleTypeMoneyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeMoney] { + return pulumix.Output[*GoogleTypeMoney]{ + OutputState: i.ToGoogleTypeMoneyPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an amount of money with its currency type. type GoogleTypeMoneyOutput struct{ *pulumi.OutputState } @@ -6739,6 +7856,12 @@ func (o GoogleTypeMoneyOutput) ToGoogleTypeMoneyPtrOutputWithContext(ctx context }).(GoogleTypeMoneyPtrOutput) } +func (o GoogleTypeMoneyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoney] { + return pulumix.Output[GoogleTypeMoney]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o GoogleTypeMoneyOutput) CurrencyCode() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeMoney) *string { return v.CurrencyCode }).(pulumi.StringPtrOutput) @@ -6768,6 +7891,12 @@ func (o GoogleTypeMoneyPtrOutput) ToGoogleTypeMoneyPtrOutputWithContext(ctx cont return o } +func (o GoogleTypeMoneyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeMoney] { + return pulumix.Output[*GoogleTypeMoney]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeMoneyPtrOutput) Elem() GoogleTypeMoneyOutput { return o.ApplyT(func(v *GoogleTypeMoney) GoogleTypeMoney { if v != nil { @@ -6833,6 +7962,12 @@ func (o GoogleTypeMoneyResponseOutput) ToGoogleTypeMoneyResponseOutputWithContex return o } +func (o GoogleTypeMoneyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoneyResponse] { + return pulumix.Output[GoogleTypeMoneyResponse]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o GoogleTypeMoneyResponseOutput) CurrencyCode() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeMoneyResponse) string { return v.CurrencyCode }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/query.go b/sdk/go/google/apigee/v1/query.go index f72cad3d94..4bb587c857 100644 --- a/sdk/go/google/apigee/v1/query.go +++ b/sdk/go/google/apigee/v1/query.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Submit a query to be processed in the background. If the submission of the query succeeds, the API returns a 201 status and an ID that refer to the query. In addition to the HTTP status 201, the `state` of "enqueued" means that the request succeeded. @@ -179,6 +180,12 @@ func (i *Query) ToQueryOutputWithContext(ctx context.Context) QueryOutput { return pulumi.ToOutputWithContext(ctx, i).(QueryOutput) } +func (i *Query) ToOutput(ctx context.Context) pulumix.Output[*Query] { + return pulumix.Output[*Query]{ + OutputState: i.ToQueryOutputWithContext(ctx).OutputState, + } +} + type QueryOutput struct{ *pulumi.OutputState } func (QueryOutput) ElementType() reflect.Type { @@ -193,6 +200,12 @@ func (o QueryOutput) ToQueryOutputWithContext(ctx context.Context) QueryOutput { return o } +func (o QueryOutput) ToOutput(ctx context.Context) pulumix.Output[*Query] { + return pulumix.Output[*Query]{ + OutputState: o.OutputState, + } +} + // Creation time of the query. func (o QueryOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v *Query) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/ratePlan.go b/sdk/go/google/apigee/v1/ratePlan.go index e61dc27899..3118cd009e 100644 --- a/sdk/go/google/apigee/v1/ratePlan.go +++ b/sdk/go/google/apigee/v1/ratePlan.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a rate plan that is associated with an API product in an organization. Using rate plans, API product owners can monetize their API products by configuring one or more of the following: - Billing frequency - Initial setup fees for using an API product - Payment funding model (postpaid only) - Fixed recurring or consumption-based charges for using an API product - Revenue sharing with developer partners An API product can have multiple rate plans associated with it but *only one* rate plan can be active at any point of time. **Note: From the developer's perspective, they purchase API products not rate plans. @@ -213,6 +214,12 @@ func (i *RatePlan) ToRatePlanOutputWithContext(ctx context.Context) RatePlanOutp return pulumi.ToOutputWithContext(ctx, i).(RatePlanOutput) } +func (i *RatePlan) ToOutput(ctx context.Context) pulumix.Output[*RatePlan] { + return pulumix.Output[*RatePlan]{ + OutputState: i.ToRatePlanOutputWithContext(ctx).OutputState, + } +} + type RatePlanOutput struct{ *pulumi.OutputState } func (RatePlanOutput) ElementType() reflect.Type { @@ -227,6 +234,12 @@ func (o RatePlanOutput) ToRatePlanOutputWithContext(ctx context.Context) RatePla return o } +func (o RatePlanOutput) ToOutput(ctx context.Context) pulumix.Output[*RatePlan] { + return pulumix.Output[*RatePlan]{ + OutputState: o.OutputState, + } +} + // Name of the API product that the rate plan is associated with. func (o RatePlanOutput) Apiproduct() pulumi.StringOutput { return o.ApplyT(func(v *RatePlan) pulumi.StringOutput { return v.Apiproduct }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/reference.go b/sdk/go/google/apigee/v1/reference.go index 5bfbd2cff5..0a1c9b7b78 100644 --- a/sdk/go/google/apigee/v1/reference.go +++ b/sdk/go/google/apigee/v1/reference.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Reference in the specified environment. @@ -131,6 +132,12 @@ func (i *Reference) ToReferenceOutputWithContext(ctx context.Context) ReferenceO return pulumi.ToOutputWithContext(ctx, i).(ReferenceOutput) } +func (i *Reference) ToOutput(ctx context.Context) pulumix.Output[*Reference] { + return pulumix.Output[*Reference]{ + OutputState: i.ToReferenceOutputWithContext(ctx).OutputState, + } +} + type ReferenceOutput struct{ *pulumi.OutputState } func (ReferenceOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ReferenceOutput) ToReferenceOutputWithContext(ctx context.Context) Refer return o } +func (o ReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[*Reference] { + return pulumix.Output[*Reference]{ + OutputState: o.OutputState, + } +} + // Optional. A human-readable description of this reference. func (o ReferenceOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *Reference) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/report.go b/sdk/go/google/apigee/v1/report.go index d3fa17b24a..7758590051 100644 --- a/sdk/go/google/apigee/v1/report.go +++ b/sdk/go/google/apigee/v1/report.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Custom Report for an Organization. A Custom Report provides Apigee Customers to create custom dashboards in addition to the standard dashboards which are provided. The Custom Report in its simplest form contains specifications about metrics, dimensions and filters. It is important to note that the custom report by itself does not provide an executable entity. The Edge UI converts the custom report definition into an analytics query and displays the result in a chart. @@ -212,6 +213,12 @@ func (i *Report) ToReportOutputWithContext(ctx context.Context) ReportOutput { return pulumi.ToOutputWithContext(ctx, i).(ReportOutput) } +func (i *Report) ToOutput(ctx context.Context) pulumix.Output[*Report] { + return pulumix.Output[*Report]{ + OutputState: i.ToReportOutputWithContext(ctx).OutputState, + } +} + type ReportOutput struct{ *pulumi.OutputState } func (ReportOutput) ElementType() reflect.Type { @@ -226,6 +233,12 @@ func (o ReportOutput) ToReportOutputWithContext(ctx context.Context) ReportOutpu return o } +func (o ReportOutput) ToOutput(ctx context.Context) pulumix.Output[*Report] { + return pulumix.Output[*Report]{ + OutputState: o.OutputState, + } +} + // This field contains the chart type for the report func (o ReportOutput) ChartType() pulumi.StringOutput { return o.ApplyT(func(v *Report) pulumi.StringOutput { return v.ChartType }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/resourcefile.go b/sdk/go/google/apigee/v1/resourcefile.go index 29530355be..d9dbdf2153 100644 --- a/sdk/go/google/apigee/v1/resourcefile.go +++ b/sdk/go/google/apigee/v1/resourcefile.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a resource file. Specify the `Content-Type` as `application/octet-stream` or `multipart/form-data`. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files). @@ -147,6 +148,12 @@ func (i *Resourcefile) ToResourcefileOutputWithContext(ctx context.Context) Reso return pulumi.ToOutputWithContext(ctx, i).(ResourcefileOutput) } +func (i *Resourcefile) ToOutput(ctx context.Context) pulumix.Output[*Resourcefile] { + return pulumix.Output[*Resourcefile]{ + OutputState: i.ToResourcefileOutputWithContext(ctx).OutputState, + } +} + type ResourcefileOutput struct{ *pulumi.OutputState } func (ResourcefileOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o ResourcefileOutput) ToResourcefileOutputWithContext(ctx context.Context) return o } +func (o ResourcefileOutput) ToOutput(ctx context.Context) pulumix.Output[*Resourcefile] { + return pulumix.Output[*Resourcefile]{ + OutputState: o.OutputState, + } +} + // The HTTP Content-Type header value specifying the content type of the body. func (o ResourcefileOutput) ContentType() pulumi.StringOutput { return o.ApplyT(func(v *Resourcefile) pulumi.StringOutput { return v.ContentType }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/securityReport.go b/sdk/go/google/apigee/v1/securityReport.go index c286b4902a..cb923639db 100644 --- a/sdk/go/google/apigee/v1/securityReport.go +++ b/sdk/go/google/apigee/v1/securityReport.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Submit a report request to be processed in the background. If the submission succeeds, the API returns a 200 status and an ID that refer to the report request. In addition to the HTTP status 200, the `state` of "enqueued" means that the request succeeded. @@ -180,6 +181,12 @@ func (i *SecurityReport) ToSecurityReportOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecurityReportOutput) } +func (i *SecurityReport) ToOutput(ctx context.Context) pulumix.Output[*SecurityReport] { + return pulumix.Output[*SecurityReport]{ + OutputState: i.ToSecurityReportOutputWithContext(ctx).OutputState, + } +} + type SecurityReportOutput struct{ *pulumi.OutputState } func (SecurityReportOutput) ElementType() reflect.Type { @@ -194,6 +201,12 @@ func (o SecurityReportOutput) ToSecurityReportOutputWithContext(ctx context.Cont return o } +func (o SecurityReportOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityReport] { + return pulumix.Output[*SecurityReport]{ + OutputState: o.OutputState, + } +} + // Creation time of the query. func (o SecurityReportOutput) Created() pulumi.StringOutput { return o.ApplyT(func(v *SecurityReport) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/sharedflow.go b/sdk/go/google/apigee/v1/sharedflow.go index 01fdb36b07..c05c48d31c 100644 --- a/sdk/go/google/apigee/v1/sharedflow.go +++ b/sdk/go/google/apigee/v1/sharedflow.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Uploads a ZIP-formatted shared flow configuration bundle to an organization. If the shared flow already exists, this creates a new revision of it. If the shared flow does not exist, this creates it. Once imported, the shared flow revision must be deployed before it can be accessed at runtime. The size limit of a shared flow bundle is 15 MB. @@ -132,6 +133,12 @@ func (i *Sharedflow) ToSharedflowOutputWithContext(ctx context.Context) Sharedfl return pulumi.ToOutputWithContext(ctx, i).(SharedflowOutput) } +func (i *Sharedflow) ToOutput(ctx context.Context) pulumix.Output[*Sharedflow] { + return pulumix.Output[*Sharedflow]{ + OutputState: i.ToSharedflowOutputWithContext(ctx).OutputState, + } +} + type SharedflowOutput struct{ *pulumi.OutputState } func (SharedflowOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o SharedflowOutput) ToSharedflowOutputWithContext(ctx context.Context) Sha return o } +func (o SharedflowOutput) ToOutput(ctx context.Context) pulumix.Output[*Sharedflow] { + return pulumix.Output[*Sharedflow]{ + OutputState: o.OutputState, + } +} + // Required. Must be set to either `import` or `validate`. func (o SharedflowOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v *Sharedflow) pulumi.StringOutput { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/subscription.go b/sdk/go/google/apigee/v1/subscription.go index c435dee426..aff31f8106 100644 --- a/sdk/go/google/apigee/v1/subscription.go +++ b/sdk/go/google/apigee/v1/subscription.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a subscription to an API product. @@ -131,6 +132,12 @@ func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) Subs return pulumi.ToOutputWithContext(ctx, i).(SubscriptionOutput) } +func (i *Subscription) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: i.ToSubscriptionOutputWithContext(ctx).OutputState, + } +} + type SubscriptionOutput struct{ *pulumi.OutputState } func (SubscriptionOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) return o } +func (o SubscriptionOutput) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: o.OutputState, + } +} + // Name of the API product for which the developer is purchasing a subscription. func (o SubscriptionOutput) Apiproduct() pulumi.StringOutput { return o.ApplyT(func(v *Subscription) pulumi.StringOutput { return v.Apiproduct }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigee/v1/targetServer.go b/sdk/go/google/apigee/v1/targetServer.go index 7f9afb0a1f..0a267df1e5 100644 --- a/sdk/go/google/apigee/v1/targetServer.go +++ b/sdk/go/google/apigee/v1/targetServer.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetServer in the specified environment. @@ -152,6 +153,12 @@ func (i *TargetServer) ToTargetServerOutputWithContext(ctx context.Context) Targ return pulumi.ToOutputWithContext(ctx, i).(TargetServerOutput) } +func (i *TargetServer) ToOutput(ctx context.Context) pulumix.Output[*TargetServer] { + return pulumix.Output[*TargetServer]{ + OutputState: i.ToTargetServerOutputWithContext(ctx).OutputState, + } +} + type TargetServerOutput struct{ *pulumi.OutputState } func (TargetServerOutput) ElementType() reflect.Type { @@ -166,6 +173,12 @@ func (o TargetServerOutput) ToTargetServerOutputWithContext(ctx context.Context) return o } +func (o TargetServerOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetServer] { + return pulumix.Output[*TargetServer]{ + OutputState: o.OutputState, + } +} + // Optional. A human-readable description of this TargetServer. func (o TargetServerOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *TargetServer) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigeeregistry/v1/api.go b/sdk/go/google/apigeeregistry/v1/api.go index a73d5b36f0..27b023f441 100644 --- a/sdk/go/google/apigeeregistry/v1/api.go +++ b/sdk/go/google/apigeeregistry/v1/api.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a specified API. @@ -160,6 +161,12 @@ func (i *Api) ToApiOutputWithContext(ctx context.Context) ApiOutput { return pulumi.ToOutputWithContext(ctx, i).(ApiOutput) } +func (i *Api) ToOutput(ctx context.Context) pulumix.Output[*Api] { + return pulumix.Output[*Api]{ + OutputState: i.ToApiOutputWithContext(ctx).OutputState, + } +} + type ApiOutput struct{ *pulumi.OutputState } func (ApiOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o ApiOutput) ToApiOutputWithContext(ctx context.Context) ApiOutput { return o } +func (o ApiOutput) ToOutput(ctx context.Context) pulumix.Output[*Api] { + return pulumix.Output[*Api]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o ApiOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Api) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiArtifactIamBinding.go b/sdk/go/google/apigeeregistry/v1/apiArtifactIamBinding.go index 50aa5bb807..cc3aacc2a6 100644 --- a/sdk/go/google/apigeeregistry/v1/apiArtifactIamBinding.go +++ b/sdk/go/google/apigeeregistry/v1/apiArtifactIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiArtifactIamBinding) ToApiArtifactIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ApiArtifactIamBindingOutput) } +func (i *ApiArtifactIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiArtifactIamBinding] { + return pulumix.Output[*ApiArtifactIamBinding]{ + OutputState: i.ToApiArtifactIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiArtifactIamBindingOutput struct{ *pulumi.OutputState } func (ApiArtifactIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiArtifactIamBindingOutput) ToApiArtifactIamBindingOutputWithContext(ct return o } +func (o ApiArtifactIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiArtifactIamBinding] { + return pulumix.Output[*ApiArtifactIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiArtifactIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiArtifactIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiArtifactIamMember.go b/sdk/go/google/apigeeregistry/v1/apiArtifactIamMember.go index c701a7612e..040736fd35 100644 --- a/sdk/go/google/apigeeregistry/v1/apiArtifactIamMember.go +++ b/sdk/go/google/apigeeregistry/v1/apiArtifactIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiArtifactIamMember) ToApiArtifactIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ApiArtifactIamMemberOutput) } +func (i *ApiArtifactIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiArtifactIamMember] { + return pulumix.Output[*ApiArtifactIamMember]{ + OutputState: i.ToApiArtifactIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiArtifactIamMemberOutput struct{ *pulumi.OutputState } func (ApiArtifactIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiArtifactIamMemberOutput) ToApiArtifactIamMemberOutputWithContext(ctx return o } +func (o ApiArtifactIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiArtifactIamMember] { + return pulumix.Output[*ApiArtifactIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiArtifactIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiArtifactIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiArtifactIamPolicy.go b/sdk/go/google/apigeeregistry/v1/apiArtifactIamPolicy.go index 14696d6dde..1898314b2d 100644 --- a/sdk/go/google/apigeeregistry/v1/apiArtifactIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/apiArtifactIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -132,6 +133,12 @@ func (i *ApiArtifactIamPolicy) ToApiArtifactIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ApiArtifactIamPolicyOutput) } +func (i *ApiArtifactIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiArtifactIamPolicy] { + return pulumix.Output[*ApiArtifactIamPolicy]{ + OutputState: i.ToApiArtifactIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiArtifactIamPolicyOutput struct{ *pulumi.OutputState } func (ApiArtifactIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o ApiArtifactIamPolicyOutput) ToApiArtifactIamPolicyOutputWithContext(ctx return o } +func (o ApiArtifactIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiArtifactIamPolicy] { + return pulumix.Output[*ApiArtifactIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiArtifactIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiArtifactIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigeeregistry/v1/apiDeploymentIamBinding.go b/sdk/go/google/apigeeregistry/v1/apiDeploymentIamBinding.go index b51a5b85c1..dae026ccb7 100644 --- a/sdk/go/google/apigeeregistry/v1/apiDeploymentIamBinding.go +++ b/sdk/go/google/apigeeregistry/v1/apiDeploymentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiDeploymentIamBinding) ToApiDeploymentIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ApiDeploymentIamBindingOutput) } +func (i *ApiDeploymentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiDeploymentIamBinding] { + return pulumix.Output[*ApiDeploymentIamBinding]{ + OutputState: i.ToApiDeploymentIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiDeploymentIamBindingOutput struct{ *pulumi.OutputState } func (ApiDeploymentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiDeploymentIamBindingOutput) ToApiDeploymentIamBindingOutputWithContex return o } +func (o ApiDeploymentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiDeploymentIamBinding] { + return pulumix.Output[*ApiDeploymentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiDeploymentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiDeploymentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiDeploymentIamMember.go b/sdk/go/google/apigeeregistry/v1/apiDeploymentIamMember.go index 927eb65279..aafcbe101c 100644 --- a/sdk/go/google/apigeeregistry/v1/apiDeploymentIamMember.go +++ b/sdk/go/google/apigeeregistry/v1/apiDeploymentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiDeploymentIamMember) ToApiDeploymentIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ApiDeploymentIamMemberOutput) } +func (i *ApiDeploymentIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiDeploymentIamMember] { + return pulumix.Output[*ApiDeploymentIamMember]{ + OutputState: i.ToApiDeploymentIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiDeploymentIamMemberOutput struct{ *pulumi.OutputState } func (ApiDeploymentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiDeploymentIamMemberOutput) ToApiDeploymentIamMemberOutputWithContext( return o } +func (o ApiDeploymentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiDeploymentIamMember] { + return pulumix.Output[*ApiDeploymentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiDeploymentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiDeploymentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiDeploymentIamPolicy.go b/sdk/go/google/apigeeregistry/v1/apiDeploymentIamPolicy.go index f4d3a8d6bb..0d9e3ada25 100644 --- a/sdk/go/google/apigeeregistry/v1/apiDeploymentIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/apiDeploymentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -132,6 +133,12 @@ func (i *ApiDeploymentIamPolicy) ToApiDeploymentIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ApiDeploymentIamPolicyOutput) } +func (i *ApiDeploymentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiDeploymentIamPolicy] { + return pulumix.Output[*ApiDeploymentIamPolicy]{ + OutputState: i.ToApiDeploymentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiDeploymentIamPolicyOutput struct{ *pulumi.OutputState } func (ApiDeploymentIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o ApiDeploymentIamPolicyOutput) ToApiDeploymentIamPolicyOutputWithContext( return o } +func (o ApiDeploymentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiDeploymentIamPolicy] { + return pulumix.Output[*ApiDeploymentIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiDeploymentIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiDeploymentIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigeeregistry/v1/apiIamBinding.go b/sdk/go/google/apigeeregistry/v1/apiIamBinding.go index 743a053113..468dea89a8 100644 --- a/sdk/go/google/apigeeregistry/v1/apiIamBinding.go +++ b/sdk/go/google/apigeeregistry/v1/apiIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiIamBinding) ToApiIamBindingOutputWithContext(ctx context.Context) Ap return pulumi.ToOutputWithContext(ctx, i).(ApiIamBindingOutput) } +func (i *ApiIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiIamBinding] { + return pulumix.Output[*ApiIamBinding]{ + OutputState: i.ToApiIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiIamBindingOutput struct{ *pulumi.OutputState } func (ApiIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiIamBindingOutput) ToApiIamBindingOutputWithContext(ctx context.Contex return o } +func (o ApiIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiIamBinding] { + return pulumix.Output[*ApiIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiIamMember.go b/sdk/go/google/apigeeregistry/v1/apiIamMember.go index 98b3dc03f3..aa83016678 100644 --- a/sdk/go/google/apigeeregistry/v1/apiIamMember.go +++ b/sdk/go/google/apigeeregistry/v1/apiIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiIamMember) ToApiIamMemberOutputWithContext(ctx context.Context) ApiI return pulumi.ToOutputWithContext(ctx, i).(ApiIamMemberOutput) } +func (i *ApiIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiIamMember] { + return pulumix.Output[*ApiIamMember]{ + OutputState: i.ToApiIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiIamMemberOutput struct{ *pulumi.OutputState } func (ApiIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiIamMemberOutput) ToApiIamMemberOutputWithContext(ctx context.Context) return o } +func (o ApiIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiIamMember] { + return pulumix.Output[*ApiIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiIamPolicy.go b/sdk/go/google/apigeeregistry/v1/apiIamPolicy.go index d79ecf90ee..67fc702738 100644 --- a/sdk/go/google/apigeeregistry/v1/apiIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/apiIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *ApiIamPolicy) ToApiIamPolicyOutputWithContext(ctx context.Context) ApiI return pulumi.ToOutputWithContext(ctx, i).(ApiIamPolicyOutput) } +func (i *ApiIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiIamPolicy] { + return pulumix.Output[*ApiIamPolicy]{ + OutputState: i.ToApiIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiIamPolicyOutput struct{ *pulumi.OutputState } func (ApiIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o ApiIamPolicyOutput) ToApiIamPolicyOutputWithContext(ctx context.Context) return o } +func (o ApiIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiIamPolicy] { + return pulumix.Output[*ApiIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamBinding.go b/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamBinding.go index 91e65d3199..a54e38c00a 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamBinding.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiVersionArtifactIamBinding) ToApiVersionArtifactIamBindingOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ApiVersionArtifactIamBindingOutput) } +func (i *ApiVersionArtifactIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionArtifactIamBinding] { + return pulumix.Output[*ApiVersionArtifactIamBinding]{ + OutputState: i.ToApiVersionArtifactIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiVersionArtifactIamBindingOutput struct{ *pulumi.OutputState } func (ApiVersionArtifactIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiVersionArtifactIamBindingOutput) ToApiVersionArtifactIamBindingOutput return o } +func (o ApiVersionArtifactIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionArtifactIamBinding] { + return pulumix.Output[*ApiVersionArtifactIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiVersionArtifactIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiVersionArtifactIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamMember.go b/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamMember.go index 5e1102408b..612f21f8bb 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamMember.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiVersionArtifactIamMember) ToApiVersionArtifactIamMemberOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ApiVersionArtifactIamMemberOutput) } +func (i *ApiVersionArtifactIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionArtifactIamMember] { + return pulumix.Output[*ApiVersionArtifactIamMember]{ + OutputState: i.ToApiVersionArtifactIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiVersionArtifactIamMemberOutput struct{ *pulumi.OutputState } func (ApiVersionArtifactIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiVersionArtifactIamMemberOutput) ToApiVersionArtifactIamMemberOutputWi return o } +func (o ApiVersionArtifactIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionArtifactIamMember] { + return pulumix.Output[*ApiVersionArtifactIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiVersionArtifactIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiVersionArtifactIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamPolicy.go b/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamPolicy.go index a1e192e51d..365a4a9f3d 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionArtifactIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -139,6 +140,12 @@ func (i *ApiVersionArtifactIamPolicy) ToApiVersionArtifactIamPolicyOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ApiVersionArtifactIamPolicyOutput) } +func (i *ApiVersionArtifactIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionArtifactIamPolicy] { + return pulumix.Output[*ApiVersionArtifactIamPolicy]{ + OutputState: i.ToApiVersionArtifactIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiVersionArtifactIamPolicyOutput struct{ *pulumi.OutputState } func (ApiVersionArtifactIamPolicyOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o ApiVersionArtifactIamPolicyOutput) ToApiVersionArtifactIamPolicyOutputWi return o } +func (o ApiVersionArtifactIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionArtifactIamPolicy] { + return pulumix.Output[*ApiVersionArtifactIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiVersionArtifactIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiVersionArtifactIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionIamBinding.go b/sdk/go/google/apigeeregistry/v1/apiVersionIamBinding.go index 8bd0118405..a1dda99076 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionIamBinding.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiVersionIamBinding) ToApiVersionIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ApiVersionIamBindingOutput) } +func (i *ApiVersionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionIamBinding] { + return pulumix.Output[*ApiVersionIamBinding]{ + OutputState: i.ToApiVersionIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiVersionIamBindingOutput struct{ *pulumi.OutputState } func (ApiVersionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiVersionIamBindingOutput) ToApiVersionIamBindingOutputWithContext(ctx return o } +func (o ApiVersionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionIamBinding] { + return pulumix.Output[*ApiVersionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiVersionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiVersionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionIamMember.go b/sdk/go/google/apigeeregistry/v1/apiVersionIamMember.go index 3c4850d2c7..7360f8a07b 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionIamMember.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiVersionIamMember) ToApiVersionIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ApiVersionIamMemberOutput) } +func (i *ApiVersionIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionIamMember] { + return pulumix.Output[*ApiVersionIamMember]{ + OutputState: i.ToApiVersionIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiVersionIamMemberOutput struct{ *pulumi.OutputState } func (ApiVersionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiVersionIamMemberOutput) ToApiVersionIamMemberOutputWithContext(ctx co return o } +func (o ApiVersionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionIamMember] { + return pulumix.Output[*ApiVersionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiVersionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiVersionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionIamPolicy.go b/sdk/go/google/apigeeregistry/v1/apiVersionIamPolicy.go index 4a21e4d574..e5a34e1a8c 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -132,6 +133,12 @@ func (i *ApiVersionIamPolicy) ToApiVersionIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ApiVersionIamPolicyOutput) } +func (i *ApiVersionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionIamPolicy] { + return pulumix.Output[*ApiVersionIamPolicy]{ + OutputState: i.ToApiVersionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiVersionIamPolicyOutput struct{ *pulumi.OutputState } func (ApiVersionIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o ApiVersionIamPolicyOutput) ToApiVersionIamPolicyOutputWithContext(ctx co return o } +func (o ApiVersionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionIamPolicy] { + return pulumix.Output[*ApiVersionIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiVersionIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiVersionIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamBinding.go b/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamBinding.go index d283ba62ca..9aa98311bf 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamBinding.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiVersionSpecArtifactIamBinding) ToApiVersionSpecArtifactIamBindingOut return pulumi.ToOutputWithContext(ctx, i).(ApiVersionSpecArtifactIamBindingOutput) } +func (i *ApiVersionSpecArtifactIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecArtifactIamBinding] { + return pulumix.Output[*ApiVersionSpecArtifactIamBinding]{ + OutputState: i.ToApiVersionSpecArtifactIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiVersionSpecArtifactIamBindingOutput struct{ *pulumi.OutputState } func (ApiVersionSpecArtifactIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiVersionSpecArtifactIamBindingOutput) ToApiVersionSpecArtifactIamBindi return o } +func (o ApiVersionSpecArtifactIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecArtifactIamBinding] { + return pulumix.Output[*ApiVersionSpecArtifactIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiVersionSpecArtifactIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiVersionSpecArtifactIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamMember.go b/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamMember.go index 7b1d7b9e6d..14aae75198 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamMember.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiVersionSpecArtifactIamMember) ToApiVersionSpecArtifactIamMemberOutpu return pulumi.ToOutputWithContext(ctx, i).(ApiVersionSpecArtifactIamMemberOutput) } +func (i *ApiVersionSpecArtifactIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecArtifactIamMember] { + return pulumix.Output[*ApiVersionSpecArtifactIamMember]{ + OutputState: i.ToApiVersionSpecArtifactIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiVersionSpecArtifactIamMemberOutput struct{ *pulumi.OutputState } func (ApiVersionSpecArtifactIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiVersionSpecArtifactIamMemberOutput) ToApiVersionSpecArtifactIamMember return o } +func (o ApiVersionSpecArtifactIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecArtifactIamMember] { + return pulumix.Output[*ApiVersionSpecArtifactIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiVersionSpecArtifactIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiVersionSpecArtifactIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamPolicy.go b/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamPolicy.go index f515d4c053..856894b84c 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionSpecArtifactIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -146,6 +147,12 @@ func (i *ApiVersionSpecArtifactIamPolicy) ToApiVersionSpecArtifactIamPolicyOutpu return pulumi.ToOutputWithContext(ctx, i).(ApiVersionSpecArtifactIamPolicyOutput) } +func (i *ApiVersionSpecArtifactIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecArtifactIamPolicy] { + return pulumix.Output[*ApiVersionSpecArtifactIamPolicy]{ + OutputState: i.ToApiVersionSpecArtifactIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiVersionSpecArtifactIamPolicyOutput struct{ *pulumi.OutputState } func (ApiVersionSpecArtifactIamPolicyOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o ApiVersionSpecArtifactIamPolicyOutput) ToApiVersionSpecArtifactIamPolicy return o } +func (o ApiVersionSpecArtifactIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecArtifactIamPolicy] { + return pulumix.Output[*ApiVersionSpecArtifactIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiVersionSpecArtifactIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiVersionSpecArtifactIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamBinding.go b/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamBinding.go index 4a5551a732..44da82b6cb 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamBinding.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiVersionSpecIamBinding) ToApiVersionSpecIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ApiVersionSpecIamBindingOutput) } +func (i *ApiVersionSpecIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecIamBinding] { + return pulumix.Output[*ApiVersionSpecIamBinding]{ + OutputState: i.ToApiVersionSpecIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApiVersionSpecIamBindingOutput struct{ *pulumi.OutputState } func (ApiVersionSpecIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiVersionSpecIamBindingOutput) ToApiVersionSpecIamBindingOutputWithCont return o } +func (o ApiVersionSpecIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecIamBinding] { + return pulumix.Output[*ApiVersionSpecIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiVersionSpecIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiVersionSpecIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamMember.go b/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamMember.go index a0edb4ab29..3d14fba7c6 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamMember.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApiVersionSpecIamMember) ToApiVersionSpecIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ApiVersionSpecIamMemberOutput) } +func (i *ApiVersionSpecIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecIamMember] { + return pulumix.Output[*ApiVersionSpecIamMember]{ + OutputState: i.ToApiVersionSpecIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApiVersionSpecIamMemberOutput struct{ *pulumi.OutputState } func (ApiVersionSpecIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApiVersionSpecIamMemberOutput) ToApiVersionSpecIamMemberOutputWithContex return o } +func (o ApiVersionSpecIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecIamMember] { + return pulumix.Output[*ApiVersionSpecIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApiVersionSpecIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApiVersionSpecIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamPolicy.go b/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamPolicy.go index e3aca334b2..36f6a1a1a6 100644 --- a/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/apiVersionSpecIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -139,6 +140,12 @@ func (i *ApiVersionSpecIamPolicy) ToApiVersionSpecIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ApiVersionSpecIamPolicyOutput) } +func (i *ApiVersionSpecIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecIamPolicy] { + return pulumix.Output[*ApiVersionSpecIamPolicy]{ + OutputState: i.ToApiVersionSpecIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApiVersionSpecIamPolicyOutput struct{ *pulumi.OutputState } func (ApiVersionSpecIamPolicyOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o ApiVersionSpecIamPolicyOutput) ToApiVersionSpecIamPolicyOutputWithContex return o } +func (o ApiVersionSpecIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiVersionSpecIamPolicy] { + return pulumix.Output[*ApiVersionSpecIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApiVersionSpecIamPolicyOutput) ApiId() pulumi.StringOutput { return o.ApplyT(func(v *ApiVersionSpecIamPolicy) pulumi.StringOutput { return v.ApiId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigeeregistry/v1/artifact.go b/sdk/go/google/apigeeregistry/v1/artifact.go index e5e9f8d1aa..b512f8fa41 100644 --- a/sdk/go/google/apigeeregistry/v1/artifact.go +++ b/sdk/go/google/apigeeregistry/v1/artifact.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a specified artifact. @@ -167,6 +168,12 @@ func (i *Artifact) ToArtifactOutputWithContext(ctx context.Context) ArtifactOutp return pulumi.ToOutputWithContext(ctx, i).(ArtifactOutput) } +func (i *Artifact) ToOutput(ctx context.Context) pulumix.Output[*Artifact] { + return pulumix.Output[*Artifact]{ + OutputState: i.ToArtifactOutputWithContext(ctx).OutputState, + } +} + type ArtifactOutput struct{ *pulumi.OutputState } func (ArtifactOutput) ElementType() reflect.Type { @@ -181,6 +188,12 @@ func (o ArtifactOutput) ToArtifactOutputWithContext(ctx context.Context) Artifac return o } +func (o ArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[*Artifact] { + return pulumix.Output[*Artifact]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o ArtifactOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Artifact) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/artifactIamBinding.go b/sdk/go/google/apigeeregistry/v1/artifactIamBinding.go index b406c01c8f..ef4f4af64c 100644 --- a/sdk/go/google/apigeeregistry/v1/artifactIamBinding.go +++ b/sdk/go/google/apigeeregistry/v1/artifactIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ArtifactIamBinding) ToArtifactIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ArtifactIamBindingOutput) } +func (i *ArtifactIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ArtifactIamBinding] { + return pulumix.Output[*ArtifactIamBinding]{ + OutputState: i.ToArtifactIamBindingOutputWithContext(ctx).OutputState, + } +} + type ArtifactIamBindingOutput struct{ *pulumi.OutputState } func (ArtifactIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ArtifactIamBindingOutput) ToArtifactIamBindingOutputWithContext(ctx cont return o } +func (o ArtifactIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ArtifactIamBinding] { + return pulumix.Output[*ArtifactIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ArtifactIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ArtifactIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/artifactIamMember.go b/sdk/go/google/apigeeregistry/v1/artifactIamMember.go index 1ac9781b72..b5baa7b70e 100644 --- a/sdk/go/google/apigeeregistry/v1/artifactIamMember.go +++ b/sdk/go/google/apigeeregistry/v1/artifactIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ArtifactIamMember) ToArtifactIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ArtifactIamMemberOutput) } +func (i *ArtifactIamMember) ToOutput(ctx context.Context) pulumix.Output[*ArtifactIamMember] { + return pulumix.Output[*ArtifactIamMember]{ + OutputState: i.ToArtifactIamMemberOutputWithContext(ctx).OutputState, + } +} + type ArtifactIamMemberOutput struct{ *pulumi.OutputState } func (ArtifactIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ArtifactIamMemberOutput) ToArtifactIamMemberOutputWithContext(ctx contex return o } +func (o ArtifactIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ArtifactIamMember] { + return pulumix.Output[*ArtifactIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ArtifactIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ArtifactIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/artifactIamPolicy.go b/sdk/go/google/apigeeregistry/v1/artifactIamPolicy.go index f858e3a0cc..20c50e3ea4 100644 --- a/sdk/go/google/apigeeregistry/v1/artifactIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/artifactIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *ArtifactIamPolicy) ToArtifactIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ArtifactIamPolicyOutput) } +func (i *ArtifactIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ArtifactIamPolicy] { + return pulumix.Output[*ArtifactIamPolicy]{ + OutputState: i.ToArtifactIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ArtifactIamPolicyOutput struct{ *pulumi.OutputState } func (ArtifactIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o ArtifactIamPolicyOutput) ToArtifactIamPolicyOutputWithContext(ctx contex return o } +func (o ArtifactIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ArtifactIamPolicy] { + return pulumix.Output[*ArtifactIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ArtifactIamPolicyOutput) ArtifactId() pulumi.StringOutput { return o.ApplyT(func(v *ArtifactIamPolicy) pulumi.StringOutput { return v.ArtifactId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/apigeeregistry/v1/deployment.go b/sdk/go/google/apigeeregistry/v1/deployment.go index 251452a1cb..08ff784253 100644 --- a/sdk/go/google/apigeeregistry/v1/deployment.go +++ b/sdk/go/google/apigeeregistry/v1/deployment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a specified deployment. @@ -183,6 +184,12 @@ func (i *Deployment) ToDeploymentOutputWithContext(ctx context.Context) Deployme return pulumi.ToOutputWithContext(ctx, i).(DeploymentOutput) } +func (i *Deployment) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: i.ToDeploymentOutputWithContext(ctx).OutputState, + } +} + type DeploymentOutput struct{ *pulumi.OutputState } func (DeploymentOutput) ElementType() reflect.Type { @@ -197,6 +204,12 @@ func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) Dep return o } +func (o DeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: o.OutputState, + } +} + // Text briefly describing how to access the endpoint. Changes to this value will not affect the revision. func (o DeploymentOutput) AccessGuidance() pulumi.StringOutput { return o.ApplyT(func(v *Deployment) pulumi.StringOutput { return v.AccessGuidance }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigeeregistry/v1/deploymentArtifact.go b/sdk/go/google/apigeeregistry/v1/deploymentArtifact.go index 55164788aa..1903545032 100644 --- a/sdk/go/google/apigeeregistry/v1/deploymentArtifact.go +++ b/sdk/go/google/apigeeregistry/v1/deploymentArtifact.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a specified artifact. @@ -160,6 +161,12 @@ func (i *DeploymentArtifact) ToDeploymentArtifactOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DeploymentArtifactOutput) } +func (i *DeploymentArtifact) ToOutput(ctx context.Context) pulumix.Output[*DeploymentArtifact] { + return pulumix.Output[*DeploymentArtifact]{ + OutputState: i.ToDeploymentArtifactOutputWithContext(ctx).OutputState, + } +} + type DeploymentArtifactOutput struct{ *pulumi.OutputState } func (DeploymentArtifactOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o DeploymentArtifactOutput) ToDeploymentArtifactOutputWithContext(ctx cont return o } +func (o DeploymentArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentArtifact] { + return pulumix.Output[*DeploymentArtifact]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o DeploymentArtifactOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *DeploymentArtifact) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getApi.go b/sdk/go/google/apigeeregistry/v1/getApi.go index 86d30b8e49..970031d26f 100644 --- a/sdk/go/google/apigeeregistry/v1/getApi.go +++ b/sdk/go/google/apigeeregistry/v1/getApi.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified API. @@ -88,6 +89,12 @@ func (o LookupApiResultOutput) ToLookupApiResultOutputWithContext(ctx context.Co return o } +func (o LookupApiResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiResult] { + return pulumix.Output[LookupApiResult]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o LookupApiResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupApiResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getApiArtifactIamPolicy.go b/sdk/go/google/apigeeregistry/v1/getApiArtifactIamPolicy.go index 57c716acd3..d9cab35a3f 100644 --- a/sdk/go/google/apigeeregistry/v1/getApiArtifactIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/getApiArtifactIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupApiArtifactIamPolicyResultOutput) ToLookupApiArtifactIamPolicyResu return o } +func (o LookupApiArtifactIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiArtifactIamPolicyResult] { + return pulumix.Output[LookupApiArtifactIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupApiArtifactIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupApiArtifactIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getApiDeploymentIamPolicy.go b/sdk/go/google/apigeeregistry/v1/getApiDeploymentIamPolicy.go index 1cb4fe1be5..618d821fc7 100644 --- a/sdk/go/google/apigeeregistry/v1/getApiDeploymentIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/getApiDeploymentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupApiDeploymentIamPolicyResultOutput) ToLookupApiDeploymentIamPolicy return o } +func (o LookupApiDeploymentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiDeploymentIamPolicyResult] { + return pulumix.Output[LookupApiDeploymentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupApiDeploymentIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupApiDeploymentIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getApiIamPolicy.go b/sdk/go/google/apigeeregistry/v1/getApiIamPolicy.go index 4240c80d87..310c6bd966 100644 --- a/sdk/go/google/apigeeregistry/v1/getApiIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/getApiIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupApiIamPolicyResultOutput) ToLookupApiIamPolicyResultOutputWithCont return o } +func (o LookupApiIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiIamPolicyResult] { + return pulumix.Output[LookupApiIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupApiIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupApiIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getApiVersionArtifactIamPolicy.go b/sdk/go/google/apigeeregistry/v1/getApiVersionArtifactIamPolicy.go index c1edac135f..d018aad4dd 100644 --- a/sdk/go/google/apigeeregistry/v1/getApiVersionArtifactIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/getApiVersionArtifactIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupApiVersionArtifactIamPolicyResultOutput) ToLookupApiVersionArtifac return o } +func (o LookupApiVersionArtifactIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiVersionArtifactIamPolicyResult] { + return pulumix.Output[LookupApiVersionArtifactIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupApiVersionArtifactIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupApiVersionArtifactIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getApiVersionIamPolicy.go b/sdk/go/google/apigeeregistry/v1/getApiVersionIamPolicy.go index 9da6c32abc..698e24a0af 100644 --- a/sdk/go/google/apigeeregistry/v1/getApiVersionIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/getApiVersionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupApiVersionIamPolicyResultOutput) ToLookupApiVersionIamPolicyResult return o } +func (o LookupApiVersionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiVersionIamPolicyResult] { + return pulumix.Output[LookupApiVersionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupApiVersionIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupApiVersionIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getApiVersionSpecArtifactIamPolicy.go b/sdk/go/google/apigeeregistry/v1/getApiVersionSpecArtifactIamPolicy.go index f6223e4c59..f534ad1188 100644 --- a/sdk/go/google/apigeeregistry/v1/getApiVersionSpecArtifactIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/getApiVersionSpecArtifactIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -82,6 +83,12 @@ func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) ToLookupApiVersionSpe return o } +func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiVersionSpecArtifactIamPolicyResult] { + return pulumix.Output[LookupApiVersionSpecArtifactIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupApiVersionSpecArtifactIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupApiVersionSpecArtifactIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getApiVersionSpecIamPolicy.go b/sdk/go/google/apigeeregistry/v1/getApiVersionSpecIamPolicy.go index c6688514f4..078961e694 100644 --- a/sdk/go/google/apigeeregistry/v1/getApiVersionSpecIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/getApiVersionSpecIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupApiVersionSpecIamPolicyResultOutput) ToLookupApiVersionSpecIamPoli return o } +func (o LookupApiVersionSpecIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApiVersionSpecIamPolicyResult] { + return pulumix.Output[LookupApiVersionSpecIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupApiVersionSpecIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupApiVersionSpecIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getArtifact.go b/sdk/go/google/apigeeregistry/v1/getArtifact.go index 0ce43b1a45..eb7789e74d 100644 --- a/sdk/go/google/apigeeregistry/v1/getArtifact.go +++ b/sdk/go/google/apigeeregistry/v1/getArtifact.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified artifact. @@ -92,6 +93,12 @@ func (o LookupArtifactResultOutput) ToLookupArtifactResultOutputWithContext(ctx return o } +func (o LookupArtifactResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupArtifactResult] { + return pulumix.Output[LookupArtifactResult]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o LookupArtifactResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupArtifactResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getArtifactIamPolicy.go b/sdk/go/google/apigeeregistry/v1/getArtifactIamPolicy.go index 3fe7c38fa5..2bb3f13e59 100644 --- a/sdk/go/google/apigeeregistry/v1/getArtifactIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/getArtifactIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupArtifactIamPolicyResultOutput) ToLookupArtifactIamPolicyResultOutp return o } +func (o LookupArtifactIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupArtifactIamPolicyResult] { + return pulumix.Output[LookupArtifactIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupArtifactIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupArtifactIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getDeployment.go b/sdk/go/google/apigeeregistry/v1/getDeployment.go index 636f1d3b71..314382399f 100644 --- a/sdk/go/google/apigeeregistry/v1/getDeployment.go +++ b/sdk/go/google/apigeeregistry/v1/getDeployment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified deployment. @@ -98,6 +99,12 @@ func (o LookupDeploymentResultOutput) ToLookupDeploymentResultOutputWithContext( return o } +func (o LookupDeploymentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeploymentResult] { + return pulumix.Output[LookupDeploymentResult]{ + OutputState: o.OutputState, + } +} + // Text briefly describing how to access the endpoint. Changes to this value will not affect the revision. func (o LookupDeploymentResultOutput) AccessGuidance() pulumi.StringOutput { return o.ApplyT(func(v LookupDeploymentResult) string { return v.AccessGuidance }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getDeploymentArtifact.go b/sdk/go/google/apigeeregistry/v1/getDeploymentArtifact.go index 4d77f672fd..ed715a17b1 100644 --- a/sdk/go/google/apigeeregistry/v1/getDeploymentArtifact.go +++ b/sdk/go/google/apigeeregistry/v1/getDeploymentArtifact.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified artifact. @@ -90,6 +91,12 @@ func (o LookupDeploymentArtifactResultOutput) ToLookupDeploymentArtifactResultOu return o } +func (o LookupDeploymentArtifactResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeploymentArtifactResult] { + return pulumix.Output[LookupDeploymentArtifactResult]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o LookupDeploymentArtifactResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupDeploymentArtifactResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getInstance.go b/sdk/go/google/apigeeregistry/v1/getInstance.go index 14e941994e..5472578175 100644 --- a/sdk/go/google/apigeeregistry/v1/getInstance.go +++ b/sdk/go/google/apigeeregistry/v1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Instance. @@ -82,6 +83,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // Build info of the Instance if it's in `ACTIVE` state. func (o LookupInstanceResultOutput) Build() BuildResponseOutput { return o.ApplyT(func(v LookupInstanceResult) BuildResponse { return v.Build }).(BuildResponseOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getInstanceIamPolicy.go b/sdk/go/google/apigeeregistry/v1/getInstanceIamPolicy.go index 8796f5d3b2..2ab11f1dfd 100644 --- a/sdk/go/google/apigeeregistry/v1/getInstanceIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/getInstanceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutp return o } +func (o LookupInstanceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceIamPolicyResult] { + return pulumix.Output[LookupInstanceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupInstanceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupInstanceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getRuntimeIamPolicy.go b/sdk/go/google/apigeeregistry/v1/getRuntimeIamPolicy.go index 72bffb9014..c73ab2bf08 100644 --- a/sdk/go/google/apigeeregistry/v1/getRuntimeIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/getRuntimeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutput return o } +func (o LookupRuntimeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRuntimeIamPolicyResult] { + return pulumix.Output[LookupRuntimeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupRuntimeIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRuntimeIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getSpec.go b/sdk/go/google/apigeeregistry/v1/getSpec.go index 77c12edfcd..27018f8ac4 100644 --- a/sdk/go/google/apigeeregistry/v1/getSpec.go +++ b/sdk/go/google/apigeeregistry/v1/getSpec.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified spec. @@ -100,6 +101,12 @@ func (o LookupSpecResultOutput) ToLookupSpecResultOutputWithContext(ctx context. return o } +func (o LookupSpecResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSpecResult] { + return pulumix.Output[LookupSpecResult]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o LookupSpecResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupSpecResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getVersion.go b/sdk/go/google/apigeeregistry/v1/getVersion.go index aa3ce4348a..631f5c3e10 100644 --- a/sdk/go/google/apigeeregistry/v1/getVersion.go +++ b/sdk/go/google/apigeeregistry/v1/getVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified version. @@ -88,6 +89,12 @@ func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx co return o } +func (o LookupVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionResult] { + return pulumix.Output[LookupVersionResult]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o LookupVersionResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupVersionResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/getVersionArtifact.go b/sdk/go/google/apigeeregistry/v1/getVersionArtifact.go index 278410272a..86c8fab70d 100644 --- a/sdk/go/google/apigeeregistry/v1/getVersionArtifact.go +++ b/sdk/go/google/apigeeregistry/v1/getVersionArtifact.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified artifact. @@ -90,6 +91,12 @@ func (o LookupVersionArtifactResultOutput) ToLookupVersionArtifactResultOutputWi return o } +func (o LookupVersionArtifactResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionArtifactResult] { + return pulumix.Output[LookupVersionArtifactResult]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o LookupVersionArtifactResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupVersionArtifactResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/instance.go b/sdk/go/google/apigeeregistry/v1/instance.go index 6a9edaf242..a327a0c817 100644 --- a/sdk/go/google/apigeeregistry/v1/instance.go +++ b/sdk/go/google/apigeeregistry/v1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provisions instance resources for the Registry. @@ -134,6 +135,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // Build info of the Instance if it's in `ACTIVE` state. func (o InstanceOutput) Build() BuildResponseOutput { return o.ApplyT(func(v *Instance) BuildResponseOutput { return v.Build }).(BuildResponseOutput) diff --git a/sdk/go/google/apigeeregistry/v1/instanceIamBinding.go b/sdk/go/google/apigeeregistry/v1/instanceIamBinding.go index fab2f855e2..981b167fdb 100644 --- a/sdk/go/google/apigeeregistry/v1/instanceIamBinding.go +++ b/sdk/go/google/apigeeregistry/v1/instanceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceIamBindingOutput) } +func (i *InstanceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: i.ToInstanceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx cont return o } +func (o InstanceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/instanceIamMember.go b/sdk/go/google/apigeeregistry/v1/instanceIamMember.go index 8cc7d09fa8..e4526dda90 100644 --- a/sdk/go/google/apigeeregistry/v1/instanceIamMember.go +++ b/sdk/go/google/apigeeregistry/v1/instanceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamMemberOutput) } +func (i *InstanceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: i.ToInstanceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx contex return o } +func (o InstanceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/instanceIamPolicy.go b/sdk/go/google/apigeeregistry/v1/instanceIamPolicy.go index 549924c06c..ab0b39f858 100644 --- a/sdk/go/google/apigeeregistry/v1/instanceIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/instanceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamPolicyOutput) } +func (i *InstanceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: i.ToInstanceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx contex return o } +func (o InstanceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o InstanceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *InstanceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/pulumiTypes.go b/sdk/go/google/apigeeregistry/v1/pulumiTypes.go index 629cec0ab1..9dc396a1cf 100644 --- a/sdk/go/google/apigeeregistry/v1/pulumiTypes.go +++ b/sdk/go/google/apigeeregistry/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -216,6 +253,12 @@ func (o BuildResponseOutput) ToBuildResponseOutputWithContext(ctx context.Contex return o } +func (o BuildResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildResponse] { + return pulumix.Output[BuildResponse]{ + OutputState: o.OutputState, + } +} + // Commit ID of the latest commit in the build. func (o BuildResponseOutput) CommitId() pulumi.StringOutput { return o.ApplyT(func(v BuildResponse) string { return v.CommitId }).(pulumi.StringOutput) @@ -266,6 +309,12 @@ func (i ConfigArgs) ToConfigOutputWithContext(ctx context.Context) ConfigOutput return pulumi.ToOutputWithContext(ctx, i).(ConfigOutput) } +func (i ConfigArgs) ToOutput(ctx context.Context) pulumix.Output[Config] { + return pulumix.Output[Config]{ + OutputState: i.ToConfigOutputWithContext(ctx).OutputState, + } +} + // Available configurations to provision an Instance. type ConfigOutput struct{ *pulumi.OutputState } @@ -281,6 +330,12 @@ func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutpu return o } +func (o ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[Config] { + return pulumix.Output[Config]{ + OutputState: o.OutputState, + } +} + // The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the `location` must match InstanceConfig.location. func (o ConfigOutput) CmekKeyName() pulumi.StringOutput { return o.ApplyT(func(v Config) string { return v.CmekKeyName }).(pulumi.StringOutput) @@ -309,6 +364,12 @@ func (o ConfigResponseOutput) ToConfigResponseOutputWithContext(ctx context.Cont return o } +func (o ConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigResponse] { + return pulumix.Output[ConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, where the `location` must match InstanceConfig.location. func (o ConfigResponseOutput) CmekKeyName() pulumi.StringOutput { return o.ApplyT(func(v ConfigResponse) string { return v.CmekKeyName }).(pulumi.StringOutput) @@ -366,6 +427,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -407,6 +474,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -432,6 +505,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -466,6 +545,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -543,6 +628,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/apigeeregistry/v1/runtimeIamBinding.go b/sdk/go/google/apigeeregistry/v1/runtimeIamBinding.go index 19d754d082..ce2d21e5c0 100644 --- a/sdk/go/google/apigeeregistry/v1/runtimeIamBinding.go +++ b/sdk/go/google/apigeeregistry/v1/runtimeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RuntimeIamBinding) ToRuntimeIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RuntimeIamBindingOutput) } +func (i *RuntimeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamBinding] { + return pulumix.Output[*RuntimeIamBinding]{ + OutputState: i.ToRuntimeIamBindingOutputWithContext(ctx).OutputState, + } +} + type RuntimeIamBindingOutput struct{ *pulumi.OutputState } func (RuntimeIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RuntimeIamBindingOutput) ToRuntimeIamBindingOutputWithContext(ctx contex return o } +func (o RuntimeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamBinding] { + return pulumix.Output[*RuntimeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RuntimeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RuntimeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/runtimeIamMember.go b/sdk/go/google/apigeeregistry/v1/runtimeIamMember.go index 990e3f91b3..bfac1a627e 100644 --- a/sdk/go/google/apigeeregistry/v1/runtimeIamMember.go +++ b/sdk/go/google/apigeeregistry/v1/runtimeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RuntimeIamMember) ToRuntimeIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RuntimeIamMemberOutput) } +func (i *RuntimeIamMember) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamMember] { + return pulumix.Output[*RuntimeIamMember]{ + OutputState: i.ToRuntimeIamMemberOutputWithContext(ctx).OutputState, + } +} + type RuntimeIamMemberOutput struct{ *pulumi.OutputState } func (RuntimeIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RuntimeIamMemberOutput) ToRuntimeIamMemberOutputWithContext(ctx context. return o } +func (o RuntimeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamMember] { + return pulumix.Output[*RuntimeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RuntimeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RuntimeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/apigeeregistry/v1/runtimeIamPolicy.go b/sdk/go/google/apigeeregistry/v1/runtimeIamPolicy.go index d7a429c01f..f0864e9e2e 100644 --- a/sdk/go/google/apigeeregistry/v1/runtimeIamPolicy.go +++ b/sdk/go/google/apigeeregistry/v1/runtimeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -117,6 +118,12 @@ func (i *RuntimeIamPolicy) ToRuntimeIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RuntimeIamPolicyOutput) } +func (i *RuntimeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamPolicy] { + return pulumix.Output[*RuntimeIamPolicy]{ + OutputState: i.ToRuntimeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RuntimeIamPolicyOutput struct{ *pulumi.OutputState } func (RuntimeIamPolicyOutput) ElementType() reflect.Type { @@ -131,6 +138,12 @@ func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutputWithContext(ctx context. return o } +func (o RuntimeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamPolicy] { + return pulumix.Output[*RuntimeIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o RuntimeIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RuntimeIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/apigeeregistry/v1/spec.go b/sdk/go/google/apigeeregistry/v1/spec.go index bc7d92f4fd..b33b228530 100644 --- a/sdk/go/google/apigeeregistry/v1/spec.go +++ b/sdk/go/google/apigeeregistry/v1/spec.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a specified spec. @@ -182,6 +183,12 @@ func (i *Spec) ToSpecOutputWithContext(ctx context.Context) SpecOutput { return pulumi.ToOutputWithContext(ctx, i).(SpecOutput) } +func (i *Spec) ToOutput(ctx context.Context) pulumix.Output[*Spec] { + return pulumix.Output[*Spec]{ + OutputState: i.ToSpecOutputWithContext(ctx).OutputState, + } +} + type SpecOutput struct{ *pulumi.OutputState } func (SpecOutput) ElementType() reflect.Type { @@ -196,6 +203,12 @@ func (o SpecOutput) ToSpecOutputWithContext(ctx context.Context) SpecOutput { return o } +func (o SpecOutput) ToOutput(ctx context.Context) pulumix.Output[*Spec] { + return pulumix.Output[*Spec]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o SpecOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Spec) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/version.go b/sdk/go/google/apigeeregistry/v1/version.go index 61d22fdfe5..18217a5d1e 100644 --- a/sdk/go/google/apigeeregistry/v1/version.go +++ b/sdk/go/google/apigeeregistry/v1/version.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a specified version. @@ -161,6 +162,12 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o VersionOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Version) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apigeeregistry/v1/versionArtifact.go b/sdk/go/google/apigeeregistry/v1/versionArtifact.go index 1af584ca67..64ec39b164 100644 --- a/sdk/go/google/apigeeregistry/v1/versionArtifact.go +++ b/sdk/go/google/apigeeregistry/v1/versionArtifact.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a specified artifact. @@ -160,6 +161,12 @@ func (i *VersionArtifact) ToVersionArtifactOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(VersionArtifactOutput) } +func (i *VersionArtifact) ToOutput(ctx context.Context) pulumix.Output[*VersionArtifact] { + return pulumix.Output[*VersionArtifact]{ + OutputState: i.ToVersionArtifactOutputWithContext(ctx).OutputState, + } +} + type VersionArtifactOutput struct{ *pulumi.OutputState } func (VersionArtifactOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o VersionArtifactOutput) ToVersionArtifactOutputWithContext(ctx context.Co return o } +func (o VersionArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionArtifact] { + return pulumix.Output[*VersionArtifact]{ + OutputState: o.OutputState, + } +} + // Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. func (o VersionArtifactOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *VersionArtifact) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apikeys/v2/getKey.go b/sdk/go/google/apikeys/v2/getKey.go index 5173ee54b4..ba5517568b 100644 --- a/sdk/go/google/apikeys/v2/getKey.go +++ b/sdk/go/google/apikeys/v2/getKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the metadata for an API key. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is `global`. @@ -88,6 +89,12 @@ func (o LookupKeyResultOutput) ToLookupKeyResultOutputWithContext(ctx context.Co return o } +func (o LookupKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupKeyResult] { + return pulumix.Output[LookupKeyResult]{ + OutputState: o.OutputState, + } +} + // Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. func (o LookupKeyResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupKeyResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apikeys/v2/key.go b/sdk/go/google/apikeys/v2/key.go index bf4832491b..695caa90f7 100644 --- a/sdk/go/google/apikeys/v2/key.go +++ b/sdk/go/google/apikeys/v2/key.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new API key. NOTE: Key is a global resource; hence the only supported value for location is `global`. @@ -136,6 +137,12 @@ func (i *Key) ToKeyOutputWithContext(ctx context.Context) KeyOutput { return pulumi.ToOutputWithContext(ctx, i).(KeyOutput) } +func (i *Key) ToOutput(ctx context.Context) pulumix.Output[*Key] { + return pulumix.Output[*Key]{ + OutputState: i.ToKeyOutputWithContext(ctx).OutputState, + } +} + type KeyOutput struct{ *pulumi.OutputState } func (KeyOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o KeyOutput) ToKeyOutputWithContext(ctx context.Context) KeyOutput { return o } +func (o KeyOutput) ToOutput(ctx context.Context) pulumix.Output[*Key] { + return pulumix.Output[*Key]{ + OutputState: o.OutputState, + } +} + // Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. func (o KeyOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Key) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/apikeys/v2/pulumiTypes.go b/sdk/go/google/apikeys/v2/pulumiTypes.go index d8e9250b0a..36f06199b9 100644 --- a/sdk/go/google/apikeys/v2/pulumiTypes.go +++ b/sdk/go/google/apikeys/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i V2AndroidApplicationArgs) ToV2AndroidApplicationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(V2AndroidApplicationOutput) } +func (i V2AndroidApplicationArgs) ToOutput(ctx context.Context) pulumix.Output[V2AndroidApplication] { + return pulumix.Output[V2AndroidApplication]{ + OutputState: i.ToV2AndroidApplicationOutputWithContext(ctx).OutputState, + } +} + // V2AndroidApplicationArrayInput is an input type that accepts V2AndroidApplicationArray and V2AndroidApplicationArrayOutput values. // You can construct a concrete instance of `V2AndroidApplicationArrayInput` via: // @@ -77,6 +84,12 @@ func (i V2AndroidApplicationArray) ToV2AndroidApplicationArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(V2AndroidApplicationArrayOutput) } +func (i V2AndroidApplicationArray) ToOutput(ctx context.Context) pulumix.Output[[]V2AndroidApplication] { + return pulumix.Output[[]V2AndroidApplication]{ + OutputState: i.ToV2AndroidApplicationArrayOutputWithContext(ctx).OutputState, + } +} + // Identifier of an Android application for key use. type V2AndroidApplicationOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o V2AndroidApplicationOutput) ToV2AndroidApplicationOutputWithContext(ctx return o } +func (o V2AndroidApplicationOutput) ToOutput(ctx context.Context) pulumix.Output[V2AndroidApplication] { + return pulumix.Output[V2AndroidApplication]{ + OutputState: o.OutputState, + } +} + // The package name of the application. func (o V2AndroidApplicationOutput) PackageName() pulumi.StringPtrOutput { return o.ApplyT(func(v V2AndroidApplication) *string { return v.PackageName }).(pulumi.StringPtrOutput) @@ -116,6 +135,12 @@ func (o V2AndroidApplicationArrayOutput) ToV2AndroidApplicationArrayOutputWithCo return o } +func (o V2AndroidApplicationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]V2AndroidApplication] { + return pulumix.Output[[]V2AndroidApplication]{ + OutputState: o.OutputState, + } +} + func (o V2AndroidApplicationArrayOutput) Index(i pulumi.IntInput) V2AndroidApplicationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) V2AndroidApplication { return vs[0].([]V2AndroidApplication)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o V2AndroidApplicationResponseOutput) ToV2AndroidApplicationResponseOutput return o } +func (o V2AndroidApplicationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[V2AndroidApplicationResponse] { + return pulumix.Output[V2AndroidApplicationResponse]{ + OutputState: o.OutputState, + } +} + // The package name of the application. func (o V2AndroidApplicationResponseOutput) PackageName() pulumi.StringOutput { return o.ApplyT(func(v V2AndroidApplicationResponse) string { return v.PackageName }).(pulumi.StringOutput) @@ -169,6 +200,12 @@ func (o V2AndroidApplicationResponseArrayOutput) ToV2AndroidApplicationResponseA return o } +func (o V2AndroidApplicationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]V2AndroidApplicationResponse] { + return pulumix.Output[[]V2AndroidApplicationResponse]{ + OutputState: o.OutputState, + } +} + func (o V2AndroidApplicationResponseArrayOutput) Index(i pulumi.IntInput) V2AndroidApplicationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) V2AndroidApplicationResponse { return vs[0].([]V2AndroidApplicationResponse)[vs[1].(int)] @@ -210,6 +247,12 @@ func (i V2AndroidKeyRestrictionsArgs) ToV2AndroidKeyRestrictionsOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(V2AndroidKeyRestrictionsOutput) } +func (i V2AndroidKeyRestrictionsArgs) ToOutput(ctx context.Context) pulumix.Output[V2AndroidKeyRestrictions] { + return pulumix.Output[V2AndroidKeyRestrictions]{ + OutputState: i.ToV2AndroidKeyRestrictionsOutputWithContext(ctx).OutputState, + } +} + func (i V2AndroidKeyRestrictionsArgs) ToV2AndroidKeyRestrictionsPtrOutput() V2AndroidKeyRestrictionsPtrOutput { return i.ToV2AndroidKeyRestrictionsPtrOutputWithContext(context.Background()) } @@ -251,6 +294,12 @@ func (i *v2androidKeyRestrictionsPtrType) ToV2AndroidKeyRestrictionsPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(V2AndroidKeyRestrictionsPtrOutput) } +func (i *v2androidKeyRestrictionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*V2AndroidKeyRestrictions] { + return pulumix.Output[*V2AndroidKeyRestrictions]{ + OutputState: i.ToV2AndroidKeyRestrictionsPtrOutputWithContext(ctx).OutputState, + } +} + // The Android apps that are allowed to use the key. type V2AndroidKeyRestrictionsOutput struct{ *pulumi.OutputState } @@ -276,6 +325,12 @@ func (o V2AndroidKeyRestrictionsOutput) ToV2AndroidKeyRestrictionsPtrOutputWithC }).(V2AndroidKeyRestrictionsPtrOutput) } +func (o V2AndroidKeyRestrictionsOutput) ToOutput(ctx context.Context) pulumix.Output[V2AndroidKeyRestrictions] { + return pulumix.Output[V2AndroidKeyRestrictions]{ + OutputState: o.OutputState, + } +} + // A list of Android applications that are allowed to make API calls with this key. func (o V2AndroidKeyRestrictionsOutput) AllowedApplications() V2AndroidApplicationArrayOutput { return o.ApplyT(func(v V2AndroidKeyRestrictions) []V2AndroidApplication { return v.AllowedApplications }).(V2AndroidApplicationArrayOutput) @@ -295,6 +350,12 @@ func (o V2AndroidKeyRestrictionsPtrOutput) ToV2AndroidKeyRestrictionsPtrOutputWi return o } +func (o V2AndroidKeyRestrictionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*V2AndroidKeyRestrictions] { + return pulumix.Output[*V2AndroidKeyRestrictions]{ + OutputState: o.OutputState, + } +} + func (o V2AndroidKeyRestrictionsPtrOutput) Elem() V2AndroidKeyRestrictionsOutput { return o.ApplyT(func(v *V2AndroidKeyRestrictions) V2AndroidKeyRestrictions { if v != nil { @@ -336,6 +397,12 @@ func (o V2AndroidKeyRestrictionsResponseOutput) ToV2AndroidKeyRestrictionsRespon return o } +func (o V2AndroidKeyRestrictionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[V2AndroidKeyRestrictionsResponse] { + return pulumix.Output[V2AndroidKeyRestrictionsResponse]{ + OutputState: o.OutputState, + } +} + // A list of Android applications that are allowed to make API calls with this key. func (o V2AndroidKeyRestrictionsResponseOutput) AllowedApplications() V2AndroidApplicationResponseArrayOutput { return o.ApplyT(func(v V2AndroidKeyRestrictionsResponse) []V2AndroidApplicationResponse { return v.AllowedApplications }).(V2AndroidApplicationResponseArrayOutput) @@ -380,6 +447,12 @@ func (i V2ApiTargetArgs) ToV2ApiTargetOutputWithContext(ctx context.Context) V2A return pulumi.ToOutputWithContext(ctx, i).(V2ApiTargetOutput) } +func (i V2ApiTargetArgs) ToOutput(ctx context.Context) pulumix.Output[V2ApiTarget] { + return pulumix.Output[V2ApiTarget]{ + OutputState: i.ToV2ApiTargetOutputWithContext(ctx).OutputState, + } +} + // V2ApiTargetArrayInput is an input type that accepts V2ApiTargetArray and V2ApiTargetArrayOutput values. // You can construct a concrete instance of `V2ApiTargetArrayInput` via: // @@ -405,6 +478,12 @@ func (i V2ApiTargetArray) ToV2ApiTargetArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(V2ApiTargetArrayOutput) } +func (i V2ApiTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]V2ApiTarget] { + return pulumix.Output[[]V2ApiTarget]{ + OutputState: i.ToV2ApiTargetArrayOutputWithContext(ctx).OutputState, + } +} + // A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive. type V2ApiTargetOutput struct{ *pulumi.OutputState } @@ -420,6 +499,12 @@ func (o V2ApiTargetOutput) ToV2ApiTargetOutputWithContext(ctx context.Context) V return o } +func (o V2ApiTargetOutput) ToOutput(ctx context.Context) pulumix.Output[V2ApiTarget] { + return pulumix.Output[V2ApiTarget]{ + OutputState: o.OutputState, + } +} + // Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*` func (o V2ApiTargetOutput) Methods() pulumi.StringArrayOutput { return o.ApplyT(func(v V2ApiTarget) []string { return v.Methods }).(pulumi.StringArrayOutput) @@ -444,6 +529,12 @@ func (o V2ApiTargetArrayOutput) ToV2ApiTargetArrayOutputWithContext(ctx context. return o } +func (o V2ApiTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]V2ApiTarget] { + return pulumix.Output[[]V2ApiTarget]{ + OutputState: o.OutputState, + } +} + func (o V2ApiTargetArrayOutput) Index(i pulumi.IntInput) V2ApiTargetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) V2ApiTarget { return vs[0].([]V2ApiTarget)[vs[1].(int)] @@ -473,6 +564,12 @@ func (o V2ApiTargetResponseOutput) ToV2ApiTargetResponseOutputWithContext(ctx co return o } +func (o V2ApiTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[V2ApiTargetResponse] { + return pulumix.Output[V2ApiTargetResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*` func (o V2ApiTargetResponseOutput) Methods() pulumi.StringArrayOutput { return o.ApplyT(func(v V2ApiTargetResponse) []string { return v.Methods }).(pulumi.StringArrayOutput) @@ -497,6 +594,12 @@ func (o V2ApiTargetResponseArrayOutput) ToV2ApiTargetResponseArrayOutputWithCont return o } +func (o V2ApiTargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]V2ApiTargetResponse] { + return pulumix.Output[[]V2ApiTargetResponse]{ + OutputState: o.OutputState, + } +} + func (o V2ApiTargetResponseArrayOutput) Index(i pulumi.IntInput) V2ApiTargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) V2ApiTargetResponse { return vs[0].([]V2ApiTargetResponse)[vs[1].(int)] @@ -538,6 +641,12 @@ func (i V2BrowserKeyRestrictionsArgs) ToV2BrowserKeyRestrictionsOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(V2BrowserKeyRestrictionsOutput) } +func (i V2BrowserKeyRestrictionsArgs) ToOutput(ctx context.Context) pulumix.Output[V2BrowserKeyRestrictions] { + return pulumix.Output[V2BrowserKeyRestrictions]{ + OutputState: i.ToV2BrowserKeyRestrictionsOutputWithContext(ctx).OutputState, + } +} + func (i V2BrowserKeyRestrictionsArgs) ToV2BrowserKeyRestrictionsPtrOutput() V2BrowserKeyRestrictionsPtrOutput { return i.ToV2BrowserKeyRestrictionsPtrOutputWithContext(context.Background()) } @@ -579,6 +688,12 @@ func (i *v2browserKeyRestrictionsPtrType) ToV2BrowserKeyRestrictionsPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(V2BrowserKeyRestrictionsPtrOutput) } +func (i *v2browserKeyRestrictionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*V2BrowserKeyRestrictions] { + return pulumix.Output[*V2BrowserKeyRestrictions]{ + OutputState: i.ToV2BrowserKeyRestrictionsPtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP referrers (websites) that are allowed to use the key. type V2BrowserKeyRestrictionsOutput struct{ *pulumi.OutputState } @@ -604,6 +719,12 @@ func (o V2BrowserKeyRestrictionsOutput) ToV2BrowserKeyRestrictionsPtrOutputWithC }).(V2BrowserKeyRestrictionsPtrOutput) } +func (o V2BrowserKeyRestrictionsOutput) ToOutput(ctx context.Context) pulumix.Output[V2BrowserKeyRestrictions] { + return pulumix.Output[V2BrowserKeyRestrictions]{ + OutputState: o.OutputState, + } +} + // A list of regular expressions for the referrer URLs that are allowed to make API calls with this key. func (o V2BrowserKeyRestrictionsOutput) AllowedReferrers() pulumi.StringArrayOutput { return o.ApplyT(func(v V2BrowserKeyRestrictions) []string { return v.AllowedReferrers }).(pulumi.StringArrayOutput) @@ -623,6 +744,12 @@ func (o V2BrowserKeyRestrictionsPtrOutput) ToV2BrowserKeyRestrictionsPtrOutputWi return o } +func (o V2BrowserKeyRestrictionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*V2BrowserKeyRestrictions] { + return pulumix.Output[*V2BrowserKeyRestrictions]{ + OutputState: o.OutputState, + } +} + func (o V2BrowserKeyRestrictionsPtrOutput) Elem() V2BrowserKeyRestrictionsOutput { return o.ApplyT(func(v *V2BrowserKeyRestrictions) V2BrowserKeyRestrictions { if v != nil { @@ -664,6 +791,12 @@ func (o V2BrowserKeyRestrictionsResponseOutput) ToV2BrowserKeyRestrictionsRespon return o } +func (o V2BrowserKeyRestrictionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[V2BrowserKeyRestrictionsResponse] { + return pulumix.Output[V2BrowserKeyRestrictionsResponse]{ + OutputState: o.OutputState, + } +} + // A list of regular expressions for the referrer URLs that are allowed to make API calls with this key. func (o V2BrowserKeyRestrictionsResponseOutput) AllowedReferrers() pulumi.StringArrayOutput { return o.ApplyT(func(v V2BrowserKeyRestrictionsResponse) []string { return v.AllowedReferrers }).(pulumi.StringArrayOutput) @@ -704,6 +837,12 @@ func (i V2IosKeyRestrictionsArgs) ToV2IosKeyRestrictionsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(V2IosKeyRestrictionsOutput) } +func (i V2IosKeyRestrictionsArgs) ToOutput(ctx context.Context) pulumix.Output[V2IosKeyRestrictions] { + return pulumix.Output[V2IosKeyRestrictions]{ + OutputState: i.ToV2IosKeyRestrictionsOutputWithContext(ctx).OutputState, + } +} + func (i V2IosKeyRestrictionsArgs) ToV2IosKeyRestrictionsPtrOutput() V2IosKeyRestrictionsPtrOutput { return i.ToV2IosKeyRestrictionsPtrOutputWithContext(context.Background()) } @@ -745,6 +884,12 @@ func (i *v2iosKeyRestrictionsPtrType) ToV2IosKeyRestrictionsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(V2IosKeyRestrictionsPtrOutput) } +func (i *v2iosKeyRestrictionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*V2IosKeyRestrictions] { + return pulumix.Output[*V2IosKeyRestrictions]{ + OutputState: i.ToV2IosKeyRestrictionsPtrOutputWithContext(ctx).OutputState, + } +} + // The iOS apps that are allowed to use the key. type V2IosKeyRestrictionsOutput struct{ *pulumi.OutputState } @@ -770,6 +915,12 @@ func (o V2IosKeyRestrictionsOutput) ToV2IosKeyRestrictionsPtrOutputWithContext(c }).(V2IosKeyRestrictionsPtrOutput) } +func (o V2IosKeyRestrictionsOutput) ToOutput(ctx context.Context) pulumix.Output[V2IosKeyRestrictions] { + return pulumix.Output[V2IosKeyRestrictions]{ + OutputState: o.OutputState, + } +} + // A list of bundle IDs that are allowed when making API calls with this key. func (o V2IosKeyRestrictionsOutput) AllowedBundleIds() pulumi.StringArrayOutput { return o.ApplyT(func(v V2IosKeyRestrictions) []string { return v.AllowedBundleIds }).(pulumi.StringArrayOutput) @@ -789,6 +940,12 @@ func (o V2IosKeyRestrictionsPtrOutput) ToV2IosKeyRestrictionsPtrOutputWithContex return o } +func (o V2IosKeyRestrictionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*V2IosKeyRestrictions] { + return pulumix.Output[*V2IosKeyRestrictions]{ + OutputState: o.OutputState, + } +} + func (o V2IosKeyRestrictionsPtrOutput) Elem() V2IosKeyRestrictionsOutput { return o.ApplyT(func(v *V2IosKeyRestrictions) V2IosKeyRestrictions { if v != nil { @@ -830,6 +987,12 @@ func (o V2IosKeyRestrictionsResponseOutput) ToV2IosKeyRestrictionsResponseOutput return o } +func (o V2IosKeyRestrictionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[V2IosKeyRestrictionsResponse] { + return pulumix.Output[V2IosKeyRestrictionsResponse]{ + OutputState: o.OutputState, + } +} + // A list of bundle IDs that are allowed when making API calls with this key. func (o V2IosKeyRestrictionsResponseOutput) AllowedBundleIds() pulumi.StringArrayOutput { return o.ApplyT(func(v V2IosKeyRestrictionsResponse) []string { return v.AllowedBundleIds }).(pulumi.StringArrayOutput) @@ -886,6 +1049,12 @@ func (i V2RestrictionsArgs) ToV2RestrictionsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(V2RestrictionsOutput) } +func (i V2RestrictionsArgs) ToOutput(ctx context.Context) pulumix.Output[V2Restrictions] { + return pulumix.Output[V2Restrictions]{ + OutputState: i.ToV2RestrictionsOutputWithContext(ctx).OutputState, + } +} + func (i V2RestrictionsArgs) ToV2RestrictionsPtrOutput() V2RestrictionsPtrOutput { return i.ToV2RestrictionsPtrOutputWithContext(context.Background()) } @@ -927,6 +1096,12 @@ func (i *v2restrictionsPtrType) ToV2RestrictionsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(V2RestrictionsPtrOutput) } +func (i *v2restrictionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*V2Restrictions] { + return pulumix.Output[*V2Restrictions]{ + OutputState: i.ToV2RestrictionsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the restrictions on the key. type V2RestrictionsOutput struct{ *pulumi.OutputState } @@ -952,6 +1127,12 @@ func (o V2RestrictionsOutput) ToV2RestrictionsPtrOutputWithContext(ctx context.C }).(V2RestrictionsPtrOutput) } +func (o V2RestrictionsOutput) ToOutput(ctx context.Context) pulumix.Output[V2Restrictions] { + return pulumix.Output[V2Restrictions]{ + OutputState: o.OutputState, + } +} + // The Android apps that are allowed to use the key. func (o V2RestrictionsOutput) AndroidKeyRestrictions() V2AndroidKeyRestrictionsPtrOutput { return o.ApplyT(func(v V2Restrictions) *V2AndroidKeyRestrictions { return v.AndroidKeyRestrictions }).(V2AndroidKeyRestrictionsPtrOutput) @@ -991,6 +1172,12 @@ func (o V2RestrictionsPtrOutput) ToV2RestrictionsPtrOutputWithContext(ctx contex return o } +func (o V2RestrictionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*V2Restrictions] { + return pulumix.Output[*V2Restrictions]{ + OutputState: o.OutputState, + } +} + func (o V2RestrictionsPtrOutput) Elem() V2RestrictionsOutput { return o.ApplyT(func(v *V2Restrictions) V2Restrictions { if v != nil { @@ -1080,6 +1267,12 @@ func (o V2RestrictionsResponseOutput) ToV2RestrictionsResponseOutputWithContext( return o } +func (o V2RestrictionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[V2RestrictionsResponse] { + return pulumix.Output[V2RestrictionsResponse]{ + OutputState: o.OutputState, + } +} + // The Android apps that are allowed to use the key. func (o V2RestrictionsResponseOutput) AndroidKeyRestrictions() V2AndroidKeyRestrictionsResponseOutput { return o.ApplyT(func(v V2RestrictionsResponse) V2AndroidKeyRestrictionsResponse { return v.AndroidKeyRestrictions }).(V2AndroidKeyRestrictionsResponseOutput) @@ -1140,6 +1333,12 @@ func (i V2ServerKeyRestrictionsArgs) ToV2ServerKeyRestrictionsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(V2ServerKeyRestrictionsOutput) } +func (i V2ServerKeyRestrictionsArgs) ToOutput(ctx context.Context) pulumix.Output[V2ServerKeyRestrictions] { + return pulumix.Output[V2ServerKeyRestrictions]{ + OutputState: i.ToV2ServerKeyRestrictionsOutputWithContext(ctx).OutputState, + } +} + func (i V2ServerKeyRestrictionsArgs) ToV2ServerKeyRestrictionsPtrOutput() V2ServerKeyRestrictionsPtrOutput { return i.ToV2ServerKeyRestrictionsPtrOutputWithContext(context.Background()) } @@ -1181,6 +1380,12 @@ func (i *v2serverKeyRestrictionsPtrType) ToV2ServerKeyRestrictionsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(V2ServerKeyRestrictionsPtrOutput) } +func (i *v2serverKeyRestrictionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*V2ServerKeyRestrictions] { + return pulumix.Output[*V2ServerKeyRestrictions]{ + OutputState: i.ToV2ServerKeyRestrictionsPtrOutputWithContext(ctx).OutputState, + } +} + // The IP addresses of callers that are allowed to use the key. type V2ServerKeyRestrictionsOutput struct{ *pulumi.OutputState } @@ -1206,6 +1411,12 @@ func (o V2ServerKeyRestrictionsOutput) ToV2ServerKeyRestrictionsPtrOutputWithCon }).(V2ServerKeyRestrictionsPtrOutput) } +func (o V2ServerKeyRestrictionsOutput) ToOutput(ctx context.Context) pulumix.Output[V2ServerKeyRestrictions] { + return pulumix.Output[V2ServerKeyRestrictions]{ + OutputState: o.OutputState, + } +} + // A list of the caller IP addresses that are allowed to make API calls with this key. func (o V2ServerKeyRestrictionsOutput) AllowedIps() pulumi.StringArrayOutput { return o.ApplyT(func(v V2ServerKeyRestrictions) []string { return v.AllowedIps }).(pulumi.StringArrayOutput) @@ -1225,6 +1436,12 @@ func (o V2ServerKeyRestrictionsPtrOutput) ToV2ServerKeyRestrictionsPtrOutputWith return o } +func (o V2ServerKeyRestrictionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*V2ServerKeyRestrictions] { + return pulumix.Output[*V2ServerKeyRestrictions]{ + OutputState: o.OutputState, + } +} + func (o V2ServerKeyRestrictionsPtrOutput) Elem() V2ServerKeyRestrictionsOutput { return o.ApplyT(func(v *V2ServerKeyRestrictions) V2ServerKeyRestrictions { if v != nil { @@ -1266,6 +1483,12 @@ func (o V2ServerKeyRestrictionsResponseOutput) ToV2ServerKeyRestrictionsResponse return o } +func (o V2ServerKeyRestrictionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[V2ServerKeyRestrictionsResponse] { + return pulumix.Output[V2ServerKeyRestrictionsResponse]{ + OutputState: o.OutputState, + } +} + // A list of the caller IP addresses that are allowed to make API calls with this key. func (o V2ServerKeyRestrictionsResponseOutput) AllowedIps() pulumi.StringArrayOutput { return o.ApplyT(func(v V2ServerKeyRestrictionsResponse) []string { return v.AllowedIps }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/appengine/v1/app.go b/sdk/go/google/appengine/v1/app.go index acfe2e5360..3db8a7ced2 100644 --- a/sdk/go/google/appengine/v1/app.go +++ b/sdk/go/google/appengine/v1/app.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/). @@ -160,6 +161,12 @@ func (i *App) ToAppOutputWithContext(ctx context.Context) AppOutput { return pulumi.ToOutputWithContext(ctx, i).(AppOutput) } +func (i *App) ToOutput(ctx context.Context) pulumix.Output[*App] { + return pulumix.Output[*App]{ + OutputState: i.ToAppOutputWithContext(ctx).OutputState, + } +} + type AppOutput struct{ *pulumi.OutputState } func (AppOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput { return o } +func (o AppOutput) ToOutput(ctx context.Context) pulumix.Output[*App] { + return pulumix.Output[*App]{ + OutputState: o.OutputState, + } +} + // Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. func (o AppOutput) AuthDomain() pulumi.StringOutput { return o.ApplyT(func(v *App) pulumi.StringOutput { return v.AuthDomain }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1/application.go b/sdk/go/google/appengine/v1/application.go index 71b59ad0b4..ed01324110 100644 --- a/sdk/go/google/appengine/v1/application.go +++ b/sdk/go/google/appengine/v1/application.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/). @@ -161,6 +162,12 @@ func (i *Application) ToApplicationOutputWithContext(ctx context.Context) Applic return pulumi.ToOutputWithContext(ctx, i).(ApplicationOutput) } +func (i *Application) ToOutput(ctx context.Context) pulumix.Output[*Application] { + return pulumix.Output[*Application]{ + OutputState: i.ToApplicationOutputWithContext(ctx).OutputState, + } +} + type ApplicationOutput struct{ *pulumi.OutputState } func (ApplicationOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) A return o } +func (o ApplicationOutput) ToOutput(ctx context.Context) pulumix.Output[*Application] { + return pulumix.Output[*Application]{ + OutputState: o.OutputState, + } +} + // Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. func (o ApplicationOutput) AuthDomain() pulumi.StringOutput { return o.ApplyT(func(v *Application) pulumi.StringOutput { return v.AuthDomain }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1/authorizedCertificate.go b/sdk/go/google/appengine/v1/authorizedCertificate.go index 8e3545953b..0a1f640922 100644 --- a/sdk/go/google/appengine/v1/authorizedCertificate.go +++ b/sdk/go/google/appengine/v1/authorizedCertificate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Uploads the specified SSL certificate. @@ -122,6 +123,12 @@ func (i *AuthorizedCertificate) ToAuthorizedCertificateOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AuthorizedCertificateOutput) } +func (i *AuthorizedCertificate) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedCertificate] { + return pulumix.Output[*AuthorizedCertificate]{ + OutputState: i.ToAuthorizedCertificateOutputWithContext(ctx).OutputState, + } +} + type AuthorizedCertificateOutput struct{ *pulumi.OutputState } func (AuthorizedCertificateOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o AuthorizedCertificateOutput) ToAuthorizedCertificateOutputWithContext(ct return o } +func (o AuthorizedCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedCertificate] { + return pulumix.Output[*AuthorizedCertificate]{ + OutputState: o.OutputState, + } +} + func (o AuthorizedCertificateOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *AuthorizedCertificate) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/appengine/v1/domainMapping.go b/sdk/go/google/appengine/v1/domainMapping.go index 6b624b52da..2daf9edc43 100644 --- a/sdk/go/google/appengine/v1/domainMapping.go +++ b/sdk/go/google/appengine/v1/domainMapping.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains. @@ -118,6 +119,12 @@ func (i *DomainMapping) ToDomainMappingOutputWithContext(ctx context.Context) Do return pulumi.ToOutputWithContext(ctx, i).(DomainMappingOutput) } +func (i *DomainMapping) ToOutput(ctx context.Context) pulumix.Output[*DomainMapping] { + return pulumix.Output[*DomainMapping]{ + OutputState: i.ToDomainMappingOutputWithContext(ctx).OutputState, + } +} + type DomainMappingOutput struct{ *pulumi.OutputState } func (DomainMappingOutput) ElementType() reflect.Type { @@ -132,6 +139,12 @@ func (o DomainMappingOutput) ToDomainMappingOutputWithContext(ctx context.Contex return o } +func (o DomainMappingOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainMapping] { + return pulumix.Output[*DomainMapping]{ + OutputState: o.OutputState, + } +} + func (o DomainMappingOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *DomainMapping) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/appengine/v1/getApp.go b/sdk/go/google/appengine/v1/getApp.go index ffa1740918..5f325a4379 100644 --- a/sdk/go/google/appengine/v1/getApp.go +++ b/sdk/go/google/appengine/v1/getApp.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about an application. @@ -91,6 +92,12 @@ func (o LookupAppResultOutput) ToLookupAppResultOutputWithContext(ctx context.Co return o } +func (o LookupAppResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppResult] { + return pulumix.Output[LookupAppResult]{ + OutputState: o.OutputState, + } +} + // Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. func (o LookupAppResultOutput) AuthDomain() pulumi.StringOutput { return o.ApplyT(func(v LookupAppResult) string { return v.AuthDomain }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1/getApplication.go b/sdk/go/google/appengine/v1/getApplication.go index 17a495f39c..19d8a2fda3 100644 --- a/sdk/go/google/appengine/v1/getApplication.go +++ b/sdk/go/google/appengine/v1/getApplication.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about an application. @@ -95,6 +96,12 @@ func (o LookupApplicationResultOutput) ToLookupApplicationResultOutputWithContex return o } +func (o LookupApplicationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApplicationResult] { + return pulumix.Output[LookupApplicationResult]{ + OutputState: o.OutputState, + } +} + // Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. func (o LookupApplicationResultOutput) AuthDomain() pulumi.StringOutput { return o.ApplyT(func(v LookupApplicationResult) string { return v.AuthDomain }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1/getAuthorizedCertificate.go b/sdk/go/google/appengine/v1/getAuthorizedCertificate.go index 4d56d4c199..ddad7e57b9 100644 --- a/sdk/go/google/appengine/v1/getAuthorizedCertificate.go +++ b/sdk/go/google/appengine/v1/getAuthorizedCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified SSL certificate. @@ -84,6 +85,12 @@ func (o LookupAuthorizedCertificateResultOutput) ToLookupAuthorizedCertificateRe return o } +func (o LookupAuthorizedCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthorizedCertificateResult] { + return pulumix.Output[LookupAuthorizedCertificateResult]{ + OutputState: o.OutputState, + } +} + // The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority. func (o LookupAuthorizedCertificateResultOutput) CertificateRawData() CertificateRawDataResponseOutput { return o.ApplyT(func(v LookupAuthorizedCertificateResult) CertificateRawDataResponse { return v.CertificateRawData }).(CertificateRawDataResponseOutput) diff --git a/sdk/go/google/appengine/v1/getDomainMapping.go b/sdk/go/google/appengine/v1/getDomainMapping.go index 9434dd59b8..2eb0d3632c 100644 --- a/sdk/go/google/appengine/v1/getDomainMapping.go +++ b/sdk/go/google/appengine/v1/getDomainMapping.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified domain mapping. @@ -72,6 +73,12 @@ func (o LookupDomainMappingResultOutput) ToLookupDomainMappingResultOutputWithCo return o } +func (o LookupDomainMappingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainMappingResult] { + return pulumix.Output[LookupDomainMappingResult]{ + OutputState: o.OutputState, + } +} + // Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com. func (o LookupDomainMappingResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupDomainMappingResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1/getIngressRule.go b/sdk/go/google/appengine/v1/getIngressRule.go index 1493167c71..3ad7ae70f6 100644 --- a/sdk/go/google/appengine/v1/getIngressRule.go +++ b/sdk/go/google/appengine/v1/getIngressRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified firewall rule. @@ -74,6 +75,12 @@ func (o LookupIngressRuleResultOutput) ToLookupIngressRuleResultOutputWithContex return o } +func (o LookupIngressRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIngressRuleResult] { + return pulumix.Output[LookupIngressRuleResult]{ + OutputState: o.OutputState, + } +} + // The action to take on matched requests. func (o LookupIngressRuleResultOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v LookupIngressRuleResult) string { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1/getVersion.go b/sdk/go/google/appengine/v1/getVersion.go index 88d2c16dee..7e87635a43 100644 --- a/sdk/go/google/appengine/v1/getVersion.go +++ b/sdk/go/google/appengine/v1/getVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource. @@ -152,6 +153,12 @@ func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx co return o } +func (o LookupVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionResult] { + return pulumix.Output[LookupVersionResult]{ + OutputState: o.OutputState, + } +} + // Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set. func (o LookupVersionResultOutput) ApiConfig() ApiConfigHandlerResponseOutput { return o.ApplyT(func(v LookupVersionResult) ApiConfigHandlerResponse { return v.ApiConfig }).(ApiConfigHandlerResponseOutput) diff --git a/sdk/go/google/appengine/v1/ingressRule.go b/sdk/go/google/appengine/v1/ingressRule.go index b75c2b40bb..21331902ee 100644 --- a/sdk/go/google/appengine/v1/ingressRule.go +++ b/sdk/go/google/appengine/v1/ingressRule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a firewall rule for the application. @@ -122,6 +123,12 @@ func (i *IngressRule) ToIngressRuleOutputWithContext(ctx context.Context) Ingres return pulumi.ToOutputWithContext(ctx, i).(IngressRuleOutput) } +func (i *IngressRule) ToOutput(ctx context.Context) pulumix.Output[*IngressRule] { + return pulumix.Output[*IngressRule]{ + OutputState: i.ToIngressRuleOutputWithContext(ctx).OutputState, + } +} + type IngressRuleOutput struct{ *pulumi.OutputState } func (IngressRuleOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o IngressRuleOutput) ToIngressRuleOutputWithContext(ctx context.Context) I return o } +func (o IngressRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*IngressRule] { + return pulumix.Output[*IngressRule]{ + OutputState: o.OutputState, + } +} + // The action to take on matched requests. func (o IngressRuleOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v *IngressRule) pulumi.StringOutput { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1/pulumiEnums.go b/sdk/go/google/appengine/v1/pulumiEnums.go index 791717182e..fbe3021e93 100644 --- a/sdk/go/google/appengine/v1/pulumiEnums.go +++ b/sdk/go/google/appengine/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Action to take when users access resources that require authentication. Defaults to redirect. @@ -82,6 +83,12 @@ func (o ApiConfigHandlerAuthFailActionOutput) ToApiConfigHandlerAuthFailActionPt }).(ApiConfigHandlerAuthFailActionPtrOutput) } +func (o ApiConfigHandlerAuthFailActionOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandlerAuthFailAction] { + return pulumix.Output[ApiConfigHandlerAuthFailAction]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerAuthFailActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o ApiConfigHandlerAuthFailActionPtrOutput) ToApiConfigHandlerAuthFailActio return o } +func (o ApiConfigHandlerAuthFailActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerAuthFailAction] { + return pulumix.Output[*ApiConfigHandlerAuthFailAction]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerAuthFailActionPtrOutput) Elem() ApiConfigHandlerAuthFailActionOutput { return o.ApplyT(func(v *ApiConfigHandlerAuthFailAction) ApiConfigHandlerAuthFailAction { if v != nil { @@ -179,6 +192,12 @@ func (in *apiConfigHandlerAuthFailActionPtr) ToApiConfigHandlerAuthFailActionPtr return pulumi.ToOutputWithContext(ctx, in).(ApiConfigHandlerAuthFailActionPtrOutput) } +func (in *apiConfigHandlerAuthFailActionPtr) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerAuthFailAction] { + return pulumix.Output[*ApiConfigHandlerAuthFailAction]{ + OutputState: in.ToApiConfigHandlerAuthFailActionPtrOutputWithContext(ctx).OutputState, + } +} + // Level of login required to access this resource. Defaults to optional. type ApiConfigHandlerLogin string @@ -253,6 +272,12 @@ func (o ApiConfigHandlerLoginOutput) ToApiConfigHandlerLoginPtrOutputWithContext }).(ApiConfigHandlerLoginPtrOutput) } +func (o ApiConfigHandlerLoginOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandlerLogin] { + return pulumix.Output[ApiConfigHandlerLogin]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerLoginOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o ApiConfigHandlerLoginPtrOutput) ToApiConfigHandlerLoginPtrOutputWithCont return o } +func (o ApiConfigHandlerLoginPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerLogin] { + return pulumix.Output[*ApiConfigHandlerLogin]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerLoginPtrOutput) Elem() ApiConfigHandlerLoginOutput { return o.ApplyT(func(v *ApiConfigHandlerLogin) ApiConfigHandlerLogin { if v != nil { @@ -350,6 +381,12 @@ func (in *apiConfigHandlerLoginPtr) ToApiConfigHandlerLoginPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ApiConfigHandlerLoginPtrOutput) } +func (in *apiConfigHandlerLoginPtr) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerLogin] { + return pulumix.Output[*ApiConfigHandlerLogin]{ + OutputState: in.ToApiConfigHandlerLoginPtrOutputWithContext(ctx).OutputState, + } +} + // Security (HTTPS) enforcement for this URL. type ApiConfigHandlerSecurityLevel string @@ -426,6 +463,12 @@ func (o ApiConfigHandlerSecurityLevelOutput) ToApiConfigHandlerSecurityLevelPtrO }).(ApiConfigHandlerSecurityLevelPtrOutput) } +func (o ApiConfigHandlerSecurityLevelOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandlerSecurityLevel] { + return pulumix.Output[ApiConfigHandlerSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerSecurityLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o ApiConfigHandlerSecurityLevelPtrOutput) ToApiConfigHandlerSecurityLevelP return o } +func (o ApiConfigHandlerSecurityLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerSecurityLevel] { + return pulumix.Output[*ApiConfigHandlerSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerSecurityLevelPtrOutput) Elem() ApiConfigHandlerSecurityLevelOutput { return o.ApplyT(func(v *ApiConfigHandlerSecurityLevel) ApiConfigHandlerSecurityLevel { if v != nil { @@ -523,6 +572,12 @@ func (in *apiConfigHandlerSecurityLevelPtr) ToApiConfigHandlerSecurityLevelPtrOu return pulumi.ToOutputWithContext(ctx, in).(ApiConfigHandlerSecurityLevelPtrOutput) } +func (in *apiConfigHandlerSecurityLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerSecurityLevel] { + return pulumix.Output[*ApiConfigHandlerSecurityLevel]{ + OutputState: in.ToApiConfigHandlerSecurityLevelPtrOutputWithContext(ctx).OutputState, + } +} + // The type of the Cloud Firestore or Cloud Datastore database associated with this application. type AppDatabaseType string @@ -597,6 +652,12 @@ func (o AppDatabaseTypeOutput) ToAppDatabaseTypePtrOutputWithContext(ctx context }).(AppDatabaseTypePtrOutput) } +func (o AppDatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AppDatabaseType] { + return pulumix.Output[AppDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o AppDatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -632,6 +693,12 @@ func (o AppDatabaseTypePtrOutput) ToAppDatabaseTypePtrOutputWithContext(ctx cont return o } +func (o AppDatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppDatabaseType] { + return pulumix.Output[*AppDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o AppDatabaseTypePtrOutput) Elem() AppDatabaseTypeOutput { return o.ApplyT(func(v *AppDatabaseType) AppDatabaseType { if v != nil { @@ -694,6 +761,12 @@ func (in *appDatabaseTypePtr) ToAppDatabaseTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(AppDatabaseTypePtrOutput) } +func (in *appDatabaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AppDatabaseType] { + return pulumix.Output[*AppDatabaseType]{ + OutputState: in.ToAppDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Serving status of this application. type AppServingStatus string @@ -768,6 +841,12 @@ func (o AppServingStatusOutput) ToAppServingStatusPtrOutputWithContext(ctx conte }).(AppServingStatusPtrOutput) } +func (o AppServingStatusOutput) ToOutput(ctx context.Context) pulumix.Output[AppServingStatus] { + return pulumix.Output[AppServingStatus]{ + OutputState: o.OutputState, + } +} + func (o AppServingStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -803,6 +882,12 @@ func (o AppServingStatusPtrOutput) ToAppServingStatusPtrOutputWithContext(ctx co return o } +func (o AppServingStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppServingStatus] { + return pulumix.Output[*AppServingStatus]{ + OutputState: o.OutputState, + } +} + func (o AppServingStatusPtrOutput) Elem() AppServingStatusOutput { return o.ApplyT(func(v *AppServingStatus) AppServingStatus { if v != nil { @@ -865,6 +950,12 @@ func (in *appServingStatusPtr) ToAppServingStatusPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AppServingStatusPtrOutput) } +func (in *appServingStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*AppServingStatus] { + return pulumix.Output[*AppServingStatus]{ + OutputState: in.ToAppServingStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The type of the Cloud Firestore or Cloud Datastore database associated with this application. type ApplicationDatabaseType string @@ -939,6 +1030,12 @@ func (o ApplicationDatabaseTypeOutput) ToApplicationDatabaseTypePtrOutputWithCon }).(ApplicationDatabaseTypePtrOutput) } +func (o ApplicationDatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationDatabaseType] { + return pulumix.Output[ApplicationDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o ApplicationDatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -974,6 +1071,12 @@ func (o ApplicationDatabaseTypePtrOutput) ToApplicationDatabaseTypePtrOutputWith return o } +func (o ApplicationDatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationDatabaseType] { + return pulumix.Output[*ApplicationDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o ApplicationDatabaseTypePtrOutput) Elem() ApplicationDatabaseTypeOutput { return o.ApplyT(func(v *ApplicationDatabaseType) ApplicationDatabaseType { if v != nil { @@ -1036,6 +1139,12 @@ func (in *applicationDatabaseTypePtr) ToApplicationDatabaseTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(ApplicationDatabaseTypePtrOutput) } +func (in *applicationDatabaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ApplicationDatabaseType] { + return pulumix.Output[*ApplicationDatabaseType]{ + OutputState: in.ToApplicationDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Serving status of this application. type ApplicationServingStatus string @@ -1110,6 +1219,12 @@ func (o ApplicationServingStatusOutput) ToApplicationServingStatusPtrOutputWithC }).(ApplicationServingStatusPtrOutput) } +func (o ApplicationServingStatusOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationServingStatus] { + return pulumix.Output[ApplicationServingStatus]{ + OutputState: o.OutputState, + } +} + func (o ApplicationServingStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1145,6 +1260,12 @@ func (o ApplicationServingStatusPtrOutput) ToApplicationServingStatusPtrOutputWi return o } +func (o ApplicationServingStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationServingStatus] { + return pulumix.Output[*ApplicationServingStatus]{ + OutputState: o.OutputState, + } +} + func (o ApplicationServingStatusPtrOutput) Elem() ApplicationServingStatusOutput { return o.ApplyT(func(v *ApplicationServingStatus) ApplicationServingStatus { if v != nil { @@ -1207,6 +1328,12 @@ func (in *applicationServingStatusPtr) ToApplicationServingStatusPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ApplicationServingStatusPtrOutput) } +func (in *applicationServingStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*ApplicationServingStatus] { + return pulumix.Output[*ApplicationServingStatus]{ + OutputState: in.ToApplicationServingStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted. type EndpointsApiServiceRolloutStrategy string @@ -1279,6 +1406,12 @@ func (o EndpointsApiServiceRolloutStrategyOutput) ToEndpointsApiServiceRolloutSt }).(EndpointsApiServiceRolloutStrategyPtrOutput) } +func (o EndpointsApiServiceRolloutStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointsApiServiceRolloutStrategy] { + return pulumix.Output[EndpointsApiServiceRolloutStrategy]{ + OutputState: o.OutputState, + } +} + func (o EndpointsApiServiceRolloutStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1314,6 +1447,12 @@ func (o EndpointsApiServiceRolloutStrategyPtrOutput) ToEndpointsApiServiceRollou return o } +func (o EndpointsApiServiceRolloutStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointsApiServiceRolloutStrategy] { + return pulumix.Output[*EndpointsApiServiceRolloutStrategy]{ + OutputState: o.OutputState, + } +} + func (o EndpointsApiServiceRolloutStrategyPtrOutput) Elem() EndpointsApiServiceRolloutStrategyOutput { return o.ApplyT(func(v *EndpointsApiServiceRolloutStrategy) EndpointsApiServiceRolloutStrategy { if v != nil { @@ -1376,6 +1515,12 @@ func (in *endpointsApiServiceRolloutStrategyPtr) ToEndpointsApiServiceRolloutStr return pulumi.ToOutputWithContext(ctx, in).(EndpointsApiServiceRolloutStrategyPtrOutput) } +func (in *endpointsApiServiceRolloutStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*EndpointsApiServiceRolloutStrategy] { + return pulumix.Output[*EndpointsApiServiceRolloutStrategy]{ + OutputState: in.ToEndpointsApiServiceRolloutStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Error condition this handler applies to. type ErrorHandlerErrorCode string @@ -1452,6 +1597,12 @@ func (o ErrorHandlerErrorCodeOutput) ToErrorHandlerErrorCodePtrOutputWithContext }).(ErrorHandlerErrorCodePtrOutput) } +func (o ErrorHandlerErrorCodeOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorHandlerErrorCode] { + return pulumix.Output[ErrorHandlerErrorCode]{ + OutputState: o.OutputState, + } +} + func (o ErrorHandlerErrorCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1487,6 +1638,12 @@ func (o ErrorHandlerErrorCodePtrOutput) ToErrorHandlerErrorCodePtrOutputWithCont return o } +func (o ErrorHandlerErrorCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ErrorHandlerErrorCode] { + return pulumix.Output[*ErrorHandlerErrorCode]{ + OutputState: o.OutputState, + } +} + func (o ErrorHandlerErrorCodePtrOutput) Elem() ErrorHandlerErrorCodeOutput { return o.ApplyT(func(v *ErrorHandlerErrorCode) ErrorHandlerErrorCode { if v != nil { @@ -1549,6 +1706,12 @@ func (in *errorHandlerErrorCodePtr) ToErrorHandlerErrorCodePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ErrorHandlerErrorCodePtrOutput) } +func (in *errorHandlerErrorCodePtr) ToOutput(ctx context.Context) pulumix.Output[*ErrorHandlerErrorCode] { + return pulumix.Output[*ErrorHandlerErrorCode]{ + OutputState: in.ToErrorHandlerErrorCodePtrOutputWithContext(ctx).OutputState, + } +} + // The action to take on matched requests. type IngressRuleAction string @@ -1620,6 +1783,12 @@ func (o IngressRuleActionOutput) ToIngressRuleActionPtrOutputWithContext(ctx con }).(IngressRuleActionPtrOutput) } +func (o IngressRuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[IngressRuleAction] { + return pulumix.Output[IngressRuleAction]{ + OutputState: o.OutputState, + } +} + func (o IngressRuleActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1655,6 +1824,12 @@ func (o IngressRuleActionPtrOutput) ToIngressRuleActionPtrOutputWithContext(ctx return o } +func (o IngressRuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IngressRuleAction] { + return pulumix.Output[*IngressRuleAction]{ + OutputState: o.OutputState, + } +} + func (o IngressRuleActionPtrOutput) Elem() IngressRuleActionOutput { return o.ApplyT(func(v *IngressRuleAction) IngressRuleAction { if v != nil { @@ -1717,6 +1892,12 @@ func (in *ingressRuleActionPtr) ToIngressRuleActionPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(IngressRuleActionPtrOutput) } +func (in *ingressRuleActionPtr) ToOutput(ctx context.Context) pulumix.Output[*IngressRuleAction] { + return pulumix.Output[*IngressRuleAction]{ + OutputState: in.ToIngressRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + // The IP mode for instances. Only applicable in the App Engine flexible environment. type NetworkInstanceIpMode string @@ -1789,6 +1970,12 @@ func (o NetworkInstanceIpModeOutput) ToNetworkInstanceIpModePtrOutputWithContext }).(NetworkInstanceIpModePtrOutput) } +func (o NetworkInstanceIpModeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInstanceIpMode] { + return pulumix.Output[NetworkInstanceIpMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkInstanceIpModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1824,6 +2011,12 @@ func (o NetworkInstanceIpModePtrOutput) ToNetworkInstanceIpModePtrOutputWithCont return o } +func (o NetworkInstanceIpModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkInstanceIpMode] { + return pulumix.Output[*NetworkInstanceIpMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkInstanceIpModePtrOutput) Elem() NetworkInstanceIpModeOutput { return o.ApplyT(func(v *NetworkInstanceIpMode) NetworkInstanceIpMode { if v != nil { @@ -1886,6 +2079,12 @@ func (in *networkInstanceIpModePtr) ToNetworkInstanceIpModePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(NetworkInstanceIpModePtrOutput) } +func (in *networkInstanceIpModePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkInstanceIpMode] { + return pulumix.Output[*NetworkInstanceIpMode]{ + OutputState: in.ToNetworkInstanceIpModePtrOutputWithContext(ctx).OutputState, + } +} + // SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain. type SslSettingsSslManagementType string @@ -1958,6 +2157,12 @@ func (o SslSettingsSslManagementTypeOutput) ToSslSettingsSslManagementTypePtrOut }).(SslSettingsSslManagementTypePtrOutput) } +func (o SslSettingsSslManagementTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SslSettingsSslManagementType] { + return pulumix.Output[SslSettingsSslManagementType]{ + OutputState: o.OutputState, + } +} + func (o SslSettingsSslManagementTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1993,6 +2198,12 @@ func (o SslSettingsSslManagementTypePtrOutput) ToSslSettingsSslManagementTypePtr return o } +func (o SslSettingsSslManagementTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslSettingsSslManagementType] { + return pulumix.Output[*SslSettingsSslManagementType]{ + OutputState: o.OutputState, + } +} + func (o SslSettingsSslManagementTypePtrOutput) Elem() SslSettingsSslManagementTypeOutput { return o.ApplyT(func(v *SslSettingsSslManagementType) SslSettingsSslManagementType { if v != nil { @@ -2055,6 +2266,12 @@ func (in *sslSettingsSslManagementTypePtr) ToSslSettingsSslManagementTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(SslSettingsSslManagementTypePtrOutput) } +func (in *sslSettingsSslManagementTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SslSettingsSslManagementType] { + return pulumix.Output[*SslSettingsSslManagementType]{ + OutputState: in.ToSslSettingsSslManagementTypePtrOutputWithContext(ctx).OutputState, + } +} + // Action to take when users access resources that require authentication. Defaults to redirect. type UrlMapAuthFailAction string @@ -2127,6 +2344,12 @@ func (o UrlMapAuthFailActionOutput) ToUrlMapAuthFailActionPtrOutputWithContext(c }).(UrlMapAuthFailActionPtrOutput) } +func (o UrlMapAuthFailActionOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapAuthFailAction] { + return pulumix.Output[UrlMapAuthFailAction]{ + OutputState: o.OutputState, + } +} + func (o UrlMapAuthFailActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2162,6 +2385,12 @@ func (o UrlMapAuthFailActionPtrOutput) ToUrlMapAuthFailActionPtrOutputWithContex return o } +func (o UrlMapAuthFailActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMapAuthFailAction] { + return pulumix.Output[*UrlMapAuthFailAction]{ + OutputState: o.OutputState, + } +} + func (o UrlMapAuthFailActionPtrOutput) Elem() UrlMapAuthFailActionOutput { return o.ApplyT(func(v *UrlMapAuthFailAction) UrlMapAuthFailAction { if v != nil { @@ -2224,6 +2453,12 @@ func (in *urlMapAuthFailActionPtr) ToUrlMapAuthFailActionPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(UrlMapAuthFailActionPtrOutput) } +func (in *urlMapAuthFailActionPtr) ToOutput(ctx context.Context) pulumix.Output[*UrlMapAuthFailAction] { + return pulumix.Output[*UrlMapAuthFailAction]{ + OutputState: in.ToUrlMapAuthFailActionPtrOutputWithContext(ctx).OutputState, + } +} + // Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment. type UrlMapLogin string @@ -2298,6 +2533,12 @@ func (o UrlMapLoginOutput) ToUrlMapLoginPtrOutputWithContext(ctx context.Context }).(UrlMapLoginPtrOutput) } +func (o UrlMapLoginOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapLogin] { + return pulumix.Output[UrlMapLogin]{ + OutputState: o.OutputState, + } +} + func (o UrlMapLoginOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2333,6 +2574,12 @@ func (o UrlMapLoginPtrOutput) ToUrlMapLoginPtrOutputWithContext(ctx context.Cont return o } +func (o UrlMapLoginPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMapLogin] { + return pulumix.Output[*UrlMapLogin]{ + OutputState: o.OutputState, + } +} + func (o UrlMapLoginPtrOutput) Elem() UrlMapLoginOutput { return o.ApplyT(func(v *UrlMapLogin) UrlMapLogin { if v != nil { @@ -2395,6 +2642,12 @@ func (in *urlMapLoginPtr) ToUrlMapLoginPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(UrlMapLoginPtrOutput) } +func (in *urlMapLoginPtr) ToOutput(ctx context.Context) pulumix.Output[*UrlMapLogin] { + return pulumix.Output[*UrlMapLogin]{ + OutputState: in.ToUrlMapLoginPtrOutputWithContext(ctx).OutputState, + } +} + // 30x code to use when performing redirects for the secure field. Defaults to 302. type UrlMapRedirectHttpResponseCode string @@ -2471,6 +2724,12 @@ func (o UrlMapRedirectHttpResponseCodeOutput) ToUrlMapRedirectHttpResponseCodePt }).(UrlMapRedirectHttpResponseCodePtrOutput) } +func (o UrlMapRedirectHttpResponseCodeOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapRedirectHttpResponseCode] { + return pulumix.Output[UrlMapRedirectHttpResponseCode]{ + OutputState: o.OutputState, + } +} + func (o UrlMapRedirectHttpResponseCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2506,6 +2765,12 @@ func (o UrlMapRedirectHttpResponseCodePtrOutput) ToUrlMapRedirectHttpResponseCod return o } +func (o UrlMapRedirectHttpResponseCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMapRedirectHttpResponseCode] { + return pulumix.Output[*UrlMapRedirectHttpResponseCode]{ + OutputState: o.OutputState, + } +} + func (o UrlMapRedirectHttpResponseCodePtrOutput) Elem() UrlMapRedirectHttpResponseCodeOutput { return o.ApplyT(func(v *UrlMapRedirectHttpResponseCode) UrlMapRedirectHttpResponseCode { if v != nil { @@ -2568,6 +2833,12 @@ func (in *urlMapRedirectHttpResponseCodePtr) ToUrlMapRedirectHttpResponseCodePtr return pulumi.ToOutputWithContext(ctx, in).(UrlMapRedirectHttpResponseCodePtrOutput) } +func (in *urlMapRedirectHttpResponseCodePtr) ToOutput(ctx context.Context) pulumix.Output[*UrlMapRedirectHttpResponseCode] { + return pulumix.Output[*UrlMapRedirectHttpResponseCode]{ + OutputState: in.ToUrlMapRedirectHttpResponseCodePtrOutputWithContext(ctx).OutputState, + } +} + // Security (HTTPS) enforcement for this URL. type UrlMapSecurityLevel string @@ -2644,6 +2915,12 @@ func (o UrlMapSecurityLevelOutput) ToUrlMapSecurityLevelPtrOutputWithContext(ctx }).(UrlMapSecurityLevelPtrOutput) } +func (o UrlMapSecurityLevelOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapSecurityLevel] { + return pulumix.Output[UrlMapSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o UrlMapSecurityLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2679,6 +2956,12 @@ func (o UrlMapSecurityLevelPtrOutput) ToUrlMapSecurityLevelPtrOutputWithContext( return o } +func (o UrlMapSecurityLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMapSecurityLevel] { + return pulumix.Output[*UrlMapSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o UrlMapSecurityLevelPtrOutput) Elem() UrlMapSecurityLevelOutput { return o.ApplyT(func(v *UrlMapSecurityLevel) UrlMapSecurityLevel { if v != nil { @@ -2741,6 +3024,12 @@ func (in *urlMapSecurityLevelPtr) ToUrlMapSecurityLevelPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(UrlMapSecurityLevelPtrOutput) } +func (in *urlMapSecurityLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*UrlMapSecurityLevel] { + return pulumix.Output[*UrlMapSecurityLevel]{ + OutputState: in.ToUrlMapSecurityLevelPtrOutputWithContext(ctx).OutputState, + } +} + type VersionInboundServicesItem string const ( @@ -2824,6 +3113,12 @@ func (o VersionInboundServicesItemOutput) ToVersionInboundServicesItemPtrOutputW }).(VersionInboundServicesItemPtrOutput) } +func (o VersionInboundServicesItemOutput) ToOutput(ctx context.Context) pulumix.Output[VersionInboundServicesItem] { + return pulumix.Output[VersionInboundServicesItem]{ + OutputState: o.OutputState, + } +} + func (o VersionInboundServicesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2859,6 +3154,12 @@ func (o VersionInboundServicesItemPtrOutput) ToVersionInboundServicesItemPtrOutp return o } +func (o VersionInboundServicesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionInboundServicesItem] { + return pulumix.Output[*VersionInboundServicesItem]{ + OutputState: o.OutputState, + } +} + func (o VersionInboundServicesItemPtrOutput) Elem() VersionInboundServicesItemOutput { return o.ApplyT(func(v *VersionInboundServicesItem) VersionInboundServicesItem { if v != nil { @@ -2921,6 +3222,12 @@ func (in *versionInboundServicesItemPtr) ToVersionInboundServicesItemPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(VersionInboundServicesItemPtrOutput) } +func (in *versionInboundServicesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*VersionInboundServicesItem] { + return pulumix.Output[*VersionInboundServicesItem]{ + OutputState: in.ToVersionInboundServicesItemPtrOutputWithContext(ctx).OutputState, + } +} + // VersionInboundServicesItemArrayInput is an input type that accepts VersionInboundServicesItemArray and VersionInboundServicesItemArrayOutput values. // You can construct a concrete instance of `VersionInboundServicesItemArrayInput` via: // @@ -2946,6 +3253,12 @@ func (i VersionInboundServicesItemArray) ToVersionInboundServicesItemArrayOutput return pulumi.ToOutputWithContext(ctx, i).(VersionInboundServicesItemArrayOutput) } +func (i VersionInboundServicesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]VersionInboundServicesItem] { + return pulumix.Output[[]VersionInboundServicesItem]{ + OutputState: i.ToVersionInboundServicesItemArrayOutputWithContext(ctx).OutputState, + } +} + type VersionInboundServicesItemArrayOutput struct{ *pulumi.OutputState } func (VersionInboundServicesItemArrayOutput) ElementType() reflect.Type { @@ -2960,6 +3273,12 @@ func (o VersionInboundServicesItemArrayOutput) ToVersionInboundServicesItemArray return o } +func (o VersionInboundServicesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VersionInboundServicesItem] { + return pulumix.Output[[]VersionInboundServicesItem]{ + OutputState: o.OutputState, + } +} + func (o VersionInboundServicesItemArrayOutput) Index(i pulumi.IntInput) VersionInboundServicesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VersionInboundServicesItem { return vs[0].([]VersionInboundServicesItem)[vs[1].(int)] @@ -3038,6 +3357,12 @@ func (o VersionServingStatusOutput) ToVersionServingStatusPtrOutputWithContext(c }).(VersionServingStatusPtrOutput) } +func (o VersionServingStatusOutput) ToOutput(ctx context.Context) pulumix.Output[VersionServingStatus] { + return pulumix.Output[VersionServingStatus]{ + OutputState: o.OutputState, + } +} + func (o VersionServingStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3073,6 +3398,12 @@ func (o VersionServingStatusPtrOutput) ToVersionServingStatusPtrOutputWithContex return o } +func (o VersionServingStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionServingStatus] { + return pulumix.Output[*VersionServingStatus]{ + OutputState: o.OutputState, + } +} + func (o VersionServingStatusPtrOutput) Elem() VersionServingStatusOutput { return o.ApplyT(func(v *VersionServingStatus) VersionServingStatus { if v != nil { @@ -3135,6 +3466,12 @@ func (in *versionServingStatusPtr) ToVersionServingStatusPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(VersionServingStatusPtrOutput) } +func (in *versionServingStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*VersionServingStatus] { + return pulumix.Output[*VersionServingStatus]{ + OutputState: in.ToVersionServingStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The egress setting for the connector, controlling what traffic is diverted through it. type VpcAccessConnectorEgressSetting string @@ -3206,6 +3543,12 @@ func (o VpcAccessConnectorEgressSettingOutput) ToVpcAccessConnectorEgressSetting }).(VpcAccessConnectorEgressSettingPtrOutput) } +func (o VpcAccessConnectorEgressSettingOutput) ToOutput(ctx context.Context) pulumix.Output[VpcAccessConnectorEgressSetting] { + return pulumix.Output[VpcAccessConnectorEgressSetting]{ + OutputState: o.OutputState, + } +} + func (o VpcAccessConnectorEgressSettingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3241,6 +3584,12 @@ func (o VpcAccessConnectorEgressSettingPtrOutput) ToVpcAccessConnectorEgressSett return o } +func (o VpcAccessConnectorEgressSettingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcAccessConnectorEgressSetting] { + return pulumix.Output[*VpcAccessConnectorEgressSetting]{ + OutputState: o.OutputState, + } +} + func (o VpcAccessConnectorEgressSettingPtrOutput) Elem() VpcAccessConnectorEgressSettingOutput { return o.ApplyT(func(v *VpcAccessConnectorEgressSetting) VpcAccessConnectorEgressSetting { if v != nil { @@ -3303,6 +3652,12 @@ func (in *vpcAccessConnectorEgressSettingPtr) ToVpcAccessConnectorEgressSettingP return pulumi.ToOutputWithContext(ctx, in).(VpcAccessConnectorEgressSettingPtrOutput) } +func (in *vpcAccessConnectorEgressSettingPtr) ToOutput(ctx context.Context) pulumix.Output[*VpcAccessConnectorEgressSetting] { + return pulumix.Output[*VpcAccessConnectorEgressSetting]{ + OutputState: in.ToVpcAccessConnectorEgressSettingPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ApiConfigHandlerAuthFailActionInput)(nil)).Elem(), ApiConfigHandlerAuthFailAction("AUTH_FAIL_ACTION_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ApiConfigHandlerAuthFailActionPtrInput)(nil)).Elem(), ApiConfigHandlerAuthFailAction("AUTH_FAIL_ACTION_UNSPECIFIED")) diff --git a/sdk/go/google/appengine/v1/pulumiTypes.go b/sdk/go/google/appengine/v1/pulumiTypes.go index a125f92dfa..9c9ff177c2 100644 --- a/sdk/go/google/appengine/v1/pulumiTypes.go +++ b/sdk/go/google/appengine/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -64,6 +65,12 @@ func (i ApiConfigHandlerArgs) ToApiConfigHandlerOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ApiConfigHandlerOutput) } +func (i ApiConfigHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandler] { + return pulumix.Output[ApiConfigHandler]{ + OutputState: i.ToApiConfigHandlerOutputWithContext(ctx).OutputState, + } +} + func (i ApiConfigHandlerArgs) ToApiConfigHandlerPtrOutput() ApiConfigHandlerPtrOutput { return i.ToApiConfigHandlerPtrOutputWithContext(context.Background()) } @@ -105,6 +112,12 @@ func (i *apiConfigHandlerPtrType) ToApiConfigHandlerPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ApiConfigHandlerPtrOutput) } +func (i *apiConfigHandlerPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandler] { + return pulumix.Output[*ApiConfigHandler]{ + OutputState: i.ToApiConfigHandlerPtrOutputWithContext(ctx).OutputState, + } +} + // Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration for API handlers. type ApiConfigHandlerOutput struct{ *pulumi.OutputState } @@ -130,6 +143,12 @@ func (o ApiConfigHandlerOutput) ToApiConfigHandlerPtrOutputWithContext(ctx conte }).(ApiConfigHandlerPtrOutput) } +func (o ApiConfigHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandler] { + return pulumix.Output[ApiConfigHandler]{ + OutputState: o.OutputState, + } +} + // Action to take when users access resources that require authentication. Defaults to redirect. func (o ApiConfigHandlerOutput) AuthFailAction() ApiConfigHandlerAuthFailActionPtrOutput { return o.ApplyT(func(v ApiConfigHandler) *ApiConfigHandlerAuthFailAction { return v.AuthFailAction }).(ApiConfigHandlerAuthFailActionPtrOutput) @@ -169,6 +188,12 @@ func (o ApiConfigHandlerPtrOutput) ToApiConfigHandlerPtrOutputWithContext(ctx co return o } +func (o ApiConfigHandlerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandler] { + return pulumix.Output[*ApiConfigHandler]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerPtrOutput) Elem() ApiConfigHandlerOutput { return o.ApplyT(func(v *ApiConfigHandler) ApiConfigHandler { if v != nil { @@ -258,6 +283,12 @@ func (o ApiConfigHandlerResponseOutput) ToApiConfigHandlerResponseOutputWithCont return o } +func (o ApiConfigHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandlerResponse] { + return pulumix.Output[ApiConfigHandlerResponse]{ + OutputState: o.OutputState, + } +} + // Action to take when users access resources that require authentication. Defaults to redirect. func (o ApiConfigHandlerResponseOutput) AuthFailAction() pulumi.StringOutput { return o.ApplyT(func(v ApiConfigHandlerResponse) string { return v.AuthFailAction }).(pulumi.StringOutput) @@ -318,6 +349,12 @@ func (i ApiEndpointHandlerArgs) ToApiEndpointHandlerOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ApiEndpointHandlerOutput) } +func (i ApiEndpointHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[ApiEndpointHandler] { + return pulumix.Output[ApiEndpointHandler]{ + OutputState: i.ToApiEndpointHandlerOutputWithContext(ctx).OutputState, + } +} + func (i ApiEndpointHandlerArgs) ToApiEndpointHandlerPtrOutput() ApiEndpointHandlerPtrOutput { return i.ToApiEndpointHandlerPtrOutputWithContext(context.Background()) } @@ -359,6 +396,12 @@ func (i *apiEndpointHandlerPtrType) ToApiEndpointHandlerPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ApiEndpointHandlerPtrOutput) } +func (i *apiEndpointHandlerPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApiEndpointHandler] { + return pulumix.Output[*ApiEndpointHandler]{ + OutputState: i.ToApiEndpointHandlerPtrOutputWithContext(ctx).OutputState, + } +} + // Uses Google Cloud Endpoints to handle requests. type ApiEndpointHandlerOutput struct{ *pulumi.OutputState } @@ -384,6 +427,12 @@ func (o ApiEndpointHandlerOutput) ToApiEndpointHandlerPtrOutputWithContext(ctx c }).(ApiEndpointHandlerPtrOutput) } +func (o ApiEndpointHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[ApiEndpointHandler] { + return pulumix.Output[ApiEndpointHandler]{ + OutputState: o.OutputState, + } +} + // Path to the script from the application root directory. func (o ApiEndpointHandlerOutput) ScriptPath() pulumi.StringPtrOutput { return o.ApplyT(func(v ApiEndpointHandler) *string { return v.ScriptPath }).(pulumi.StringPtrOutput) @@ -403,6 +452,12 @@ func (o ApiEndpointHandlerPtrOutput) ToApiEndpointHandlerPtrOutputWithContext(ct return o } +func (o ApiEndpointHandlerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiEndpointHandler] { + return pulumix.Output[*ApiEndpointHandler]{ + OutputState: o.OutputState, + } +} + func (o ApiEndpointHandlerPtrOutput) Elem() ApiEndpointHandlerOutput { return o.ApplyT(func(v *ApiEndpointHandler) ApiEndpointHandler { if v != nil { @@ -444,6 +499,12 @@ func (o ApiEndpointHandlerResponseOutput) ToApiEndpointHandlerResponseOutputWith return o } +func (o ApiEndpointHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApiEndpointHandlerResponse] { + return pulumix.Output[ApiEndpointHandlerResponse]{ + OutputState: o.OutputState, + } +} + // Path to the script from the application root directory. func (o ApiEndpointHandlerResponseOutput) ScriptPath() pulumi.StringOutput { return o.ApplyT(func(v ApiEndpointHandlerResponse) string { return v.ScriptPath }).(pulumi.StringOutput) @@ -532,6 +593,12 @@ func (i AutomaticScalingArgs) ToAutomaticScalingOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AutomaticScalingOutput) } +func (i AutomaticScalingArgs) ToOutput(ctx context.Context) pulumix.Output[AutomaticScaling] { + return pulumix.Output[AutomaticScaling]{ + OutputState: i.ToAutomaticScalingOutputWithContext(ctx).OutputState, + } +} + func (i AutomaticScalingArgs) ToAutomaticScalingPtrOutput() AutomaticScalingPtrOutput { return i.ToAutomaticScalingPtrOutputWithContext(context.Background()) } @@ -573,6 +640,12 @@ func (i *automaticScalingPtrType) ToAutomaticScalingPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AutomaticScalingPtrOutput) } +func (i *automaticScalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutomaticScaling] { + return pulumix.Output[*AutomaticScaling]{ + OutputState: i.ToAutomaticScalingPtrOutputWithContext(ctx).OutputState, + } +} + // Automatic scaling is based on request rate, response latencies, and other application metrics. type AutomaticScalingOutput struct{ *pulumi.OutputState } @@ -598,6 +671,12 @@ func (o AutomaticScalingOutput) ToAutomaticScalingPtrOutputWithContext(ctx conte }).(AutomaticScalingPtrOutput) } +func (o AutomaticScalingOutput) ToOutput(ctx context.Context) pulumix.Output[AutomaticScaling] { + return pulumix.Output[AutomaticScaling]{ + OutputState: o.OutputState, + } +} + // The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment. func (o AutomaticScalingOutput) CoolDownPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v AutomaticScaling) *string { return v.CoolDownPeriod }).(pulumi.StringPtrOutput) @@ -677,6 +756,12 @@ func (o AutomaticScalingPtrOutput) ToAutomaticScalingPtrOutputWithContext(ctx co return o } +func (o AutomaticScalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutomaticScaling] { + return pulumix.Output[*AutomaticScaling]{ + OutputState: o.OutputState, + } +} + func (o AutomaticScalingPtrOutput) Elem() AutomaticScalingOutput { return o.ApplyT(func(v *AutomaticScaling) AutomaticScaling { if v != nil { @@ -862,6 +947,12 @@ func (o AutomaticScalingResponseOutput) ToAutomaticScalingResponseOutputWithCont return o } +func (o AutomaticScalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutomaticScalingResponse] { + return pulumix.Output[AutomaticScalingResponse]{ + OutputState: o.OutputState, + } +} + // The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment. func (o AutomaticScalingResponseOutput) CoolDownPeriod() pulumi.StringOutput { return o.ApplyT(func(v AutomaticScalingResponse) string { return v.CoolDownPeriod }).(pulumi.StringOutput) @@ -966,6 +1057,12 @@ func (i BasicScalingArgs) ToBasicScalingOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BasicScalingOutput) } +func (i BasicScalingArgs) ToOutput(ctx context.Context) pulumix.Output[BasicScaling] { + return pulumix.Output[BasicScaling]{ + OutputState: i.ToBasicScalingOutputWithContext(ctx).OutputState, + } +} + func (i BasicScalingArgs) ToBasicScalingPtrOutput() BasicScalingPtrOutput { return i.ToBasicScalingPtrOutputWithContext(context.Background()) } @@ -1007,6 +1104,12 @@ func (i *basicScalingPtrType) ToBasicScalingPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(BasicScalingPtrOutput) } +func (i *basicScalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicScaling] { + return pulumix.Output[*BasicScaling]{ + OutputState: i.ToBasicScalingPtrOutputWithContext(ctx).OutputState, + } +} + // A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. type BasicScalingOutput struct{ *pulumi.OutputState } @@ -1032,6 +1135,12 @@ func (o BasicScalingOutput) ToBasicScalingPtrOutputWithContext(ctx context.Conte }).(BasicScalingPtrOutput) } +func (o BasicScalingOutput) ToOutput(ctx context.Context) pulumix.Output[BasicScaling] { + return pulumix.Output[BasicScaling]{ + OutputState: o.OutputState, + } +} + // Duration of time after the last request that an instance must wait before the instance is shut down. func (o BasicScalingOutput) IdleTimeout() pulumi.StringPtrOutput { return o.ApplyT(func(v BasicScaling) *string { return v.IdleTimeout }).(pulumi.StringPtrOutput) @@ -1056,6 +1165,12 @@ func (o BasicScalingPtrOutput) ToBasicScalingPtrOutputWithContext(ctx context.Co return o } +func (o BasicScalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicScaling] { + return pulumix.Output[*BasicScaling]{ + OutputState: o.OutputState, + } +} + func (o BasicScalingPtrOutput) Elem() BasicScalingOutput { return o.ApplyT(func(v *BasicScaling) BasicScaling { if v != nil { @@ -1109,6 +1224,12 @@ func (o BasicScalingResponseOutput) ToBasicScalingResponseOutputWithContext(ctx return o } +func (o BasicScalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicScalingResponse] { + return pulumix.Output[BasicScalingResponse]{ + OutputState: o.OutputState, + } +} + // Duration of time after the last request that an instance must wait before the instance is shut down. func (o BasicScalingResponseOutput) IdleTimeout() pulumi.StringOutput { return o.ApplyT(func(v BasicScalingResponse) string { return v.IdleTimeout }).(pulumi.StringOutput) @@ -1158,6 +1279,12 @@ func (i CertificateRawDataArgs) ToCertificateRawDataOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CertificateRawDataOutput) } +func (i CertificateRawDataArgs) ToOutput(ctx context.Context) pulumix.Output[CertificateRawData] { + return pulumix.Output[CertificateRawData]{ + OutputState: i.ToCertificateRawDataOutputWithContext(ctx).OutputState, + } +} + func (i CertificateRawDataArgs) ToCertificateRawDataPtrOutput() CertificateRawDataPtrOutput { return i.ToCertificateRawDataPtrOutputWithContext(context.Background()) } @@ -1199,6 +1326,12 @@ func (i *certificateRawDataPtrType) ToCertificateRawDataPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CertificateRawDataPtrOutput) } +func (i *certificateRawDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*CertificateRawData] { + return pulumix.Output[*CertificateRawData]{ + OutputState: i.ToCertificateRawDataPtrOutputWithContext(ctx).OutputState, + } +} + // An SSL certificate obtained from a certificate authority. type CertificateRawDataOutput struct{ *pulumi.OutputState } @@ -1224,6 +1357,12 @@ func (o CertificateRawDataOutput) ToCertificateRawDataPtrOutputWithContext(ctx c }).(CertificateRawDataPtrOutput) } +func (o CertificateRawDataOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateRawData] { + return pulumix.Output[CertificateRawData]{ + OutputState: o.OutputState, + } +} + // Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly func (o CertificateRawDataOutput) PrivateKey() pulumi.StringPtrOutput { return o.ApplyT(func(v CertificateRawData) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) @@ -1248,6 +1387,12 @@ func (o CertificateRawDataPtrOutput) ToCertificateRawDataPtrOutputWithContext(ct return o } +func (o CertificateRawDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateRawData] { + return pulumix.Output[*CertificateRawData]{ + OutputState: o.OutputState, + } +} + func (o CertificateRawDataPtrOutput) Elem() CertificateRawDataOutput { return o.ApplyT(func(v *CertificateRawData) CertificateRawData { if v != nil { @@ -1301,6 +1446,12 @@ func (o CertificateRawDataResponseOutput) ToCertificateRawDataResponseOutputWith return o } +func (o CertificateRawDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateRawDataResponse] { + return pulumix.Output[CertificateRawDataResponse]{ + OutputState: o.OutputState, + } +} + // Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly func (o CertificateRawDataResponseOutput) PrivateKey() pulumi.StringOutput { return o.ApplyT(func(v CertificateRawDataResponse) string { return v.PrivateKey }).(pulumi.StringOutput) @@ -1350,6 +1501,12 @@ func (i CloudBuildOptionsArgs) ToCloudBuildOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CloudBuildOptionsOutput) } +func (i CloudBuildOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[CloudBuildOptions] { + return pulumix.Output[CloudBuildOptions]{ + OutputState: i.ToCloudBuildOptionsOutputWithContext(ctx).OutputState, + } +} + func (i CloudBuildOptionsArgs) ToCloudBuildOptionsPtrOutput() CloudBuildOptionsPtrOutput { return i.ToCloudBuildOptionsPtrOutputWithContext(context.Background()) } @@ -1391,6 +1548,12 @@ func (i *cloudBuildOptionsPtrType) ToCloudBuildOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CloudBuildOptionsPtrOutput) } +func (i *cloudBuildOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudBuildOptions] { + return pulumix.Output[*CloudBuildOptions]{ + OutputState: i.ToCloudBuildOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly. type CloudBuildOptionsOutput struct{ *pulumi.OutputState } @@ -1416,6 +1579,12 @@ func (o CloudBuildOptionsOutput) ToCloudBuildOptionsPtrOutputWithContext(ctx con }).(CloudBuildOptionsPtrOutput) } +func (o CloudBuildOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[CloudBuildOptions] { + return pulumix.Output[CloudBuildOptions]{ + OutputState: o.OutputState, + } +} + // Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details. func (o CloudBuildOptionsOutput) AppYamlPath() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudBuildOptions) *string { return v.AppYamlPath }).(pulumi.StringPtrOutput) @@ -1440,6 +1609,12 @@ func (o CloudBuildOptionsPtrOutput) ToCloudBuildOptionsPtrOutputWithContext(ctx return o } +func (o CloudBuildOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudBuildOptions] { + return pulumix.Output[*CloudBuildOptions]{ + OutputState: o.OutputState, + } +} + func (o CloudBuildOptionsPtrOutput) Elem() CloudBuildOptionsOutput { return o.ApplyT(func(v *CloudBuildOptions) CloudBuildOptions { if v != nil { @@ -1493,6 +1668,12 @@ func (o CloudBuildOptionsResponseOutput) ToCloudBuildOptionsResponseOutputWithCo return o } +func (o CloudBuildOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudBuildOptionsResponse] { + return pulumix.Output[CloudBuildOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details. func (o CloudBuildOptionsResponseOutput) AppYamlPath() pulumi.StringOutput { return o.ApplyT(func(v CloudBuildOptionsResponse) string { return v.AppYamlPath }).(pulumi.StringOutput) @@ -1538,6 +1719,12 @@ func (i ContainerInfoArgs) ToContainerInfoOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ContainerInfoOutput) } +func (i ContainerInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ContainerInfo] { + return pulumix.Output[ContainerInfo]{ + OutputState: i.ToContainerInfoOutputWithContext(ctx).OutputState, + } +} + func (i ContainerInfoArgs) ToContainerInfoPtrOutput() ContainerInfoPtrOutput { return i.ToContainerInfoPtrOutputWithContext(context.Background()) } @@ -1579,6 +1766,12 @@ func (i *containerInfoPtrType) ToContainerInfoPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ContainerInfoPtrOutput) } +func (i *containerInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*ContainerInfo] { + return pulumix.Output[*ContainerInfo]{ + OutputState: i.ToContainerInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment. type ContainerInfoOutput struct{ *pulumi.OutputState } @@ -1604,6 +1797,12 @@ func (o ContainerInfoOutput) ToContainerInfoPtrOutputWithContext(ctx context.Con }).(ContainerInfoPtrOutput) } +func (o ContainerInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerInfo] { + return pulumix.Output[ContainerInfo]{ + OutputState: o.OutputState, + } +} + // URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" func (o ContainerInfoOutput) Image() pulumi.StringPtrOutput { return o.ApplyT(func(v ContainerInfo) *string { return v.Image }).(pulumi.StringPtrOutput) @@ -1623,6 +1822,12 @@ func (o ContainerInfoPtrOutput) ToContainerInfoPtrOutputWithContext(ctx context. return o } +func (o ContainerInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ContainerInfo] { + return pulumix.Output[*ContainerInfo]{ + OutputState: o.OutputState, + } +} + func (o ContainerInfoPtrOutput) Elem() ContainerInfoOutput { return o.ApplyT(func(v *ContainerInfo) ContainerInfo { if v != nil { @@ -1664,6 +1869,12 @@ func (o ContainerInfoResponseOutput) ToContainerInfoResponseOutputWithContext(ct return o } +func (o ContainerInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerInfoResponse] { + return pulumix.Output[ContainerInfoResponse]{ + OutputState: o.OutputState, + } +} + // URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" func (o ContainerInfoResponseOutput) Image() pulumi.StringOutput { return o.ApplyT(func(v ContainerInfoResponse) string { return v.Image }).(pulumi.StringOutput) @@ -1708,6 +1919,12 @@ func (i CpuUtilizationArgs) ToCpuUtilizationOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CpuUtilizationOutput) } +func (i CpuUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[CpuUtilization] { + return pulumix.Output[CpuUtilization]{ + OutputState: i.ToCpuUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i CpuUtilizationArgs) ToCpuUtilizationPtrOutput() CpuUtilizationPtrOutput { return i.ToCpuUtilizationPtrOutputWithContext(context.Background()) } @@ -1749,6 +1966,12 @@ func (i *cpuUtilizationPtrType) ToCpuUtilizationPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CpuUtilizationPtrOutput) } +func (i *cpuUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*CpuUtilization] { + return pulumix.Output[*CpuUtilization]{ + OutputState: i.ToCpuUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Target scaling by CPU usage. type CpuUtilizationOutput struct{ *pulumi.OutputState } @@ -1774,6 +1997,12 @@ func (o CpuUtilizationOutput) ToCpuUtilizationPtrOutputWithContext(ctx context.C }).(CpuUtilizationPtrOutput) } +func (o CpuUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[CpuUtilization] { + return pulumix.Output[CpuUtilization]{ + OutputState: o.OutputState, + } +} + // Period of time over which CPU utilization is calculated. func (o CpuUtilizationOutput) AggregationWindowLength() pulumi.StringPtrOutput { return o.ApplyT(func(v CpuUtilization) *string { return v.AggregationWindowLength }).(pulumi.StringPtrOutput) @@ -1798,6 +2027,12 @@ func (o CpuUtilizationPtrOutput) ToCpuUtilizationPtrOutputWithContext(ctx contex return o } +func (o CpuUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CpuUtilization] { + return pulumix.Output[*CpuUtilization]{ + OutputState: o.OutputState, + } +} + func (o CpuUtilizationPtrOutput) Elem() CpuUtilizationOutput { return o.ApplyT(func(v *CpuUtilization) CpuUtilization { if v != nil { @@ -1851,6 +2086,12 @@ func (o CpuUtilizationResponseOutput) ToCpuUtilizationResponseOutputWithContext( return o } +func (o CpuUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CpuUtilizationResponse] { + return pulumix.Output[CpuUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Period of time over which CPU utilization is calculated. func (o CpuUtilizationResponseOutput) AggregationWindowLength() pulumi.StringOutput { return o.ApplyT(func(v CpuUtilizationResponse) string { return v.AggregationWindowLength }).(pulumi.StringOutput) @@ -1908,6 +2149,12 @@ func (i DeploymentArgs) ToDeploymentOutputWithContext(ctx context.Context) Deplo return pulumi.ToOutputWithContext(ctx, i).(DeploymentOutput) } +func (i DeploymentArgs) ToOutput(ctx context.Context) pulumix.Output[Deployment] { + return pulumix.Output[Deployment]{ + OutputState: i.ToDeploymentOutputWithContext(ctx).OutputState, + } +} + func (i DeploymentArgs) ToDeploymentPtrOutput() DeploymentPtrOutput { return i.ToDeploymentPtrOutputWithContext(context.Background()) } @@ -1949,6 +2196,12 @@ func (i *deploymentPtrType) ToDeploymentPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DeploymentPtrOutput) } +func (i *deploymentPtrType) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: i.ToDeploymentPtrOutputWithContext(ctx).OutputState, + } +} + // Code and application artifacts used to deploy a version to App Engine. type DeploymentOutput struct{ *pulumi.OutputState } @@ -1974,6 +2227,12 @@ func (o DeploymentOutput) ToDeploymentPtrOutputWithContext(ctx context.Context) }).(DeploymentPtrOutput) } +func (o DeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[Deployment] { + return pulumix.Output[Deployment]{ + OutputState: o.OutputState, + } +} + // Options for any Google Cloud Build builds created as a part of this deployment.These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip. func (o DeploymentOutput) CloudBuildOptions() CloudBuildOptionsPtrOutput { return o.ApplyT(func(v Deployment) *CloudBuildOptions { return v.CloudBuildOptions }).(CloudBuildOptionsPtrOutput) @@ -2008,6 +2267,12 @@ func (o DeploymentPtrOutput) ToDeploymentPtrOutputWithContext(ctx context.Contex return o } +func (o DeploymentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: o.OutputState, + } +} + func (o DeploymentPtrOutput) Elem() DeploymentOutput { return o.ApplyT(func(v *Deployment) Deployment { if v != nil { @@ -2085,6 +2350,12 @@ func (o DeploymentResponseOutput) ToDeploymentResponseOutputWithContext(ctx cont return o } +func (o DeploymentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentResponse] { + return pulumix.Output[DeploymentResponse]{ + OutputState: o.OutputState, + } +} + // Options for any Google Cloud Build builds created as a part of this deployment.These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip. func (o DeploymentResponseOutput) CloudBuildOptions() CloudBuildOptionsResponseOutput { return o.ApplyT(func(v DeploymentResponse) CloudBuildOptionsResponse { return v.CloudBuildOptions }).(CloudBuildOptionsResponseOutput) @@ -2152,6 +2423,12 @@ func (i DiskUtilizationArgs) ToDiskUtilizationOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DiskUtilizationOutput) } +func (i DiskUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[DiskUtilization] { + return pulumix.Output[DiskUtilization]{ + OutputState: i.ToDiskUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i DiskUtilizationArgs) ToDiskUtilizationPtrOutput() DiskUtilizationPtrOutput { return i.ToDiskUtilizationPtrOutputWithContext(context.Background()) } @@ -2193,6 +2470,12 @@ func (i *diskUtilizationPtrType) ToDiskUtilizationPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DiskUtilizationPtrOutput) } +func (i *diskUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskUtilization] { + return pulumix.Output[*DiskUtilization]{ + OutputState: i.ToDiskUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Target scaling by disk usage. Only applicable in the App Engine flexible environment. type DiskUtilizationOutput struct{ *pulumi.OutputState } @@ -2218,6 +2501,12 @@ func (o DiskUtilizationOutput) ToDiskUtilizationPtrOutputWithContext(ctx context }).(DiskUtilizationPtrOutput) } +func (o DiskUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[DiskUtilization] { + return pulumix.Output[DiskUtilization]{ + OutputState: o.OutputState, + } +} + // Target bytes read per second. func (o DiskUtilizationOutput) TargetReadBytesPerSecond() pulumi.IntPtrOutput { return o.ApplyT(func(v DiskUtilization) *int { return v.TargetReadBytesPerSecond }).(pulumi.IntPtrOutput) @@ -2252,6 +2541,12 @@ func (o DiskUtilizationPtrOutput) ToDiskUtilizationPtrOutputWithContext(ctx cont return o } +func (o DiskUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskUtilization] { + return pulumix.Output[*DiskUtilization]{ + OutputState: o.OutputState, + } +} + func (o DiskUtilizationPtrOutput) Elem() DiskUtilizationOutput { return o.ApplyT(func(v *DiskUtilization) DiskUtilization { if v != nil { @@ -2329,6 +2624,12 @@ func (o DiskUtilizationResponseOutput) ToDiskUtilizationResponseOutputWithContex return o } +func (o DiskUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskUtilizationResponse] { + return pulumix.Output[DiskUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Target bytes read per second. func (o DiskUtilizationResponseOutput) TargetReadBytesPerSecond() pulumi.IntOutput { return o.ApplyT(func(v DiskUtilizationResponse) int { return v.TargetReadBytesPerSecond }).(pulumi.IntOutput) @@ -2396,6 +2697,12 @@ func (i EndpointsApiServiceArgs) ToEndpointsApiServiceOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(EndpointsApiServiceOutput) } +func (i EndpointsApiServiceArgs) ToOutput(ctx context.Context) pulumix.Output[EndpointsApiService] { + return pulumix.Output[EndpointsApiService]{ + OutputState: i.ToEndpointsApiServiceOutputWithContext(ctx).OutputState, + } +} + func (i EndpointsApiServiceArgs) ToEndpointsApiServicePtrOutput() EndpointsApiServicePtrOutput { return i.ToEndpointsApiServicePtrOutputWithContext(context.Background()) } @@ -2437,6 +2744,12 @@ func (i *endpointsApiServicePtrType) ToEndpointsApiServicePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(EndpointsApiServicePtrOutput) } +func (i *endpointsApiServicePtrType) ToOutput(ctx context.Context) pulumix.Output[*EndpointsApiService] { + return pulumix.Output[*EndpointsApiService]{ + OutputState: i.ToEndpointsApiServicePtrOutputWithContext(ctx).OutputState, + } +} + // Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a "service" resource in the Service Management API (https://cloud.google.com/service-management/overview). type EndpointsApiServiceOutput struct{ *pulumi.OutputState } @@ -2462,6 +2775,12 @@ func (o EndpointsApiServiceOutput) ToEndpointsApiServicePtrOutputWithContext(ctx }).(EndpointsApiServicePtrOutput) } +func (o EndpointsApiServiceOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointsApiService] { + return pulumix.Output[EndpointsApiService]{ + OutputState: o.OutputState, + } +} + // Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted. func (o EndpointsApiServiceOutput) ConfigId() pulumi.StringPtrOutput { return o.ApplyT(func(v EndpointsApiService) *string { return v.ConfigId }).(pulumi.StringPtrOutput) @@ -2496,6 +2815,12 @@ func (o EndpointsApiServicePtrOutput) ToEndpointsApiServicePtrOutputWithContext( return o } +func (o EndpointsApiServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointsApiService] { + return pulumix.Output[*EndpointsApiService]{ + OutputState: o.OutputState, + } +} + func (o EndpointsApiServicePtrOutput) Elem() EndpointsApiServiceOutput { return o.ApplyT(func(v *EndpointsApiService) EndpointsApiService { if v != nil { @@ -2573,6 +2898,12 @@ func (o EndpointsApiServiceResponseOutput) ToEndpointsApiServiceResponseOutputWi return o } +func (o EndpointsApiServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointsApiServiceResponse] { + return pulumix.Output[EndpointsApiServiceResponse]{ + OutputState: o.OutputState, + } +} + // Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted. func (o EndpointsApiServiceResponseOutput) ConfigId() pulumi.StringOutput { return o.ApplyT(func(v EndpointsApiServiceResponse) string { return v.ConfigId }).(pulumi.StringOutput) @@ -2628,6 +2959,12 @@ func (i EntrypointArgs) ToEntrypointOutputWithContext(ctx context.Context) Entry return pulumi.ToOutputWithContext(ctx, i).(EntrypointOutput) } +func (i EntrypointArgs) ToOutput(ctx context.Context) pulumix.Output[Entrypoint] { + return pulumix.Output[Entrypoint]{ + OutputState: i.ToEntrypointOutputWithContext(ctx).OutputState, + } +} + func (i EntrypointArgs) ToEntrypointPtrOutput() EntrypointPtrOutput { return i.ToEntrypointPtrOutputWithContext(context.Background()) } @@ -2669,6 +3006,12 @@ func (i *entrypointPtrType) ToEntrypointPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(EntrypointPtrOutput) } +func (i *entrypointPtrType) ToOutput(ctx context.Context) pulumix.Output[*Entrypoint] { + return pulumix.Output[*Entrypoint]{ + OutputState: i.ToEntrypointPtrOutputWithContext(ctx).OutputState, + } +} + // The entrypoint for the application. type EntrypointOutput struct{ *pulumi.OutputState } @@ -2694,6 +3037,12 @@ func (o EntrypointOutput) ToEntrypointPtrOutputWithContext(ctx context.Context) }).(EntrypointPtrOutput) } +func (o EntrypointOutput) ToOutput(ctx context.Context) pulumix.Output[Entrypoint] { + return pulumix.Output[Entrypoint]{ + OutputState: o.OutputState, + } +} + // The format should be a shell command that can be fed to bash -c. func (o EntrypointOutput) Shell() pulumi.StringPtrOutput { return o.ApplyT(func(v Entrypoint) *string { return v.Shell }).(pulumi.StringPtrOutput) @@ -2713,6 +3062,12 @@ func (o EntrypointPtrOutput) ToEntrypointPtrOutputWithContext(ctx context.Contex return o } +func (o EntrypointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Entrypoint] { + return pulumix.Output[*Entrypoint]{ + OutputState: o.OutputState, + } +} + func (o EntrypointPtrOutput) Elem() EntrypointOutput { return o.ApplyT(func(v *Entrypoint) Entrypoint { if v != nil { @@ -2754,6 +3109,12 @@ func (o EntrypointResponseOutput) ToEntrypointResponseOutputWithContext(ctx cont return o } +func (o EntrypointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EntrypointResponse] { + return pulumix.Output[EntrypointResponse]{ + OutputState: o.OutputState, + } +} + // The format should be a shell command that can be fed to bash -c. func (o EntrypointResponseOutput) Shell() pulumi.StringOutput { return o.ApplyT(func(v EntrypointResponse) string { return v.Shell }).(pulumi.StringOutput) @@ -2802,6 +3163,12 @@ func (i ErrorHandlerArgs) ToErrorHandlerOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(ErrorHandlerOutput) } +func (i ErrorHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[ErrorHandler] { + return pulumix.Output[ErrorHandler]{ + OutputState: i.ToErrorHandlerOutputWithContext(ctx).OutputState, + } +} + // ErrorHandlerArrayInput is an input type that accepts ErrorHandlerArray and ErrorHandlerArrayOutput values. // You can construct a concrete instance of `ErrorHandlerArrayInput` via: // @@ -2827,6 +3194,12 @@ func (i ErrorHandlerArray) ToErrorHandlerArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ErrorHandlerArrayOutput) } +func (i ErrorHandlerArray) ToOutput(ctx context.Context) pulumix.Output[[]ErrorHandler] { + return pulumix.Output[[]ErrorHandler]{ + OutputState: i.ToErrorHandlerArrayOutputWithContext(ctx).OutputState, + } +} + // Custom static error page to be served when an error occurs. type ErrorHandlerOutput struct{ *pulumi.OutputState } @@ -2842,6 +3215,12 @@ func (o ErrorHandlerOutput) ToErrorHandlerOutputWithContext(ctx context.Context) return o } +func (o ErrorHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorHandler] { + return pulumix.Output[ErrorHandler]{ + OutputState: o.OutputState, + } +} + // Error condition this handler applies to. func (o ErrorHandlerOutput) ErrorCode() ErrorHandlerErrorCodePtrOutput { return o.ApplyT(func(v ErrorHandler) *ErrorHandlerErrorCode { return v.ErrorCode }).(ErrorHandlerErrorCodePtrOutput) @@ -2871,6 +3250,12 @@ func (o ErrorHandlerArrayOutput) ToErrorHandlerArrayOutputWithContext(ctx contex return o } +func (o ErrorHandlerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ErrorHandler] { + return pulumix.Output[[]ErrorHandler]{ + OutputState: o.OutputState, + } +} + func (o ErrorHandlerArrayOutput) Index(i pulumi.IntInput) ErrorHandlerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ErrorHandler { return vs[0].([]ErrorHandler)[vs[1].(int)] @@ -2902,6 +3287,12 @@ func (o ErrorHandlerResponseOutput) ToErrorHandlerResponseOutputWithContext(ctx return o } +func (o ErrorHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorHandlerResponse] { + return pulumix.Output[ErrorHandlerResponse]{ + OutputState: o.OutputState, + } +} + // Error condition this handler applies to. func (o ErrorHandlerResponseOutput) ErrorCode() pulumi.StringOutput { return o.ApplyT(func(v ErrorHandlerResponse) string { return v.ErrorCode }).(pulumi.StringOutput) @@ -2931,6 +3322,12 @@ func (o ErrorHandlerResponseArrayOutput) ToErrorHandlerResponseArrayOutputWithCo return o } +func (o ErrorHandlerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ErrorHandlerResponse] { + return pulumix.Output[[]ErrorHandlerResponse]{ + OutputState: o.OutputState, + } +} + func (o ErrorHandlerResponseArrayOutput) Index(i pulumi.IntInput) ErrorHandlerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ErrorHandlerResponse { return vs[0].([]ErrorHandlerResponse)[vs[1].(int)] @@ -2976,6 +3373,12 @@ func (i FeatureSettingsArgs) ToFeatureSettingsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(FeatureSettingsOutput) } +func (i FeatureSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[FeatureSettings] { + return pulumix.Output[FeatureSettings]{ + OutputState: i.ToFeatureSettingsOutputWithContext(ctx).OutputState, + } +} + func (i FeatureSettingsArgs) ToFeatureSettingsPtrOutput() FeatureSettingsPtrOutput { return i.ToFeatureSettingsPtrOutputWithContext(context.Background()) } @@ -3017,6 +3420,12 @@ func (i *featureSettingsPtrType) ToFeatureSettingsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(FeatureSettingsPtrOutput) } +func (i *featureSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*FeatureSettings] { + return pulumix.Output[*FeatureSettings]{ + OutputState: i.ToFeatureSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The feature specific settings to be used in the application. These define behaviors that are user configurable. type FeatureSettingsOutput struct{ *pulumi.OutputState } @@ -3042,6 +3451,12 @@ func (o FeatureSettingsOutput) ToFeatureSettingsPtrOutputWithContext(ctx context }).(FeatureSettingsPtrOutput) } +func (o FeatureSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureSettings] { + return pulumix.Output[FeatureSettings]{ + OutputState: o.OutputState, + } +} + // Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to 'readiness_check' and 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, this setting can be removed. func (o FeatureSettingsOutput) SplitHealthChecks() pulumi.BoolPtrOutput { return o.ApplyT(func(v FeatureSettings) *bool { return v.SplitHealthChecks }).(pulumi.BoolPtrOutput) @@ -3066,6 +3481,12 @@ func (o FeatureSettingsPtrOutput) ToFeatureSettingsPtrOutputWithContext(ctx cont return o } +func (o FeatureSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureSettings] { + return pulumix.Output[*FeatureSettings]{ + OutputState: o.OutputState, + } +} + func (o FeatureSettingsPtrOutput) Elem() FeatureSettingsOutput { return o.ApplyT(func(v *FeatureSettings) FeatureSettings { if v != nil { @@ -3119,6 +3540,12 @@ func (o FeatureSettingsResponseOutput) ToFeatureSettingsResponseOutputWithContex return o } +func (o FeatureSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureSettingsResponse] { + return pulumix.Output[FeatureSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to 'readiness_check' and 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, this setting can be removed. func (o FeatureSettingsResponseOutput) SplitHealthChecks() pulumi.BoolOutput { return o.ApplyT(func(v FeatureSettingsResponse) bool { return v.SplitHealthChecks }).(pulumi.BoolOutput) @@ -3168,6 +3595,12 @@ func (i FlexibleRuntimeSettingsArgs) ToFlexibleRuntimeSettingsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(FlexibleRuntimeSettingsOutput) } +func (i FlexibleRuntimeSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[FlexibleRuntimeSettings] { + return pulumix.Output[FlexibleRuntimeSettings]{ + OutputState: i.ToFlexibleRuntimeSettingsOutputWithContext(ctx).OutputState, + } +} + func (i FlexibleRuntimeSettingsArgs) ToFlexibleRuntimeSettingsPtrOutput() FlexibleRuntimeSettingsPtrOutput { return i.ToFlexibleRuntimeSettingsPtrOutputWithContext(context.Background()) } @@ -3209,6 +3642,12 @@ func (i *flexibleRuntimeSettingsPtrType) ToFlexibleRuntimeSettingsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(FlexibleRuntimeSettingsPtrOutput) } +func (i *flexibleRuntimeSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*FlexibleRuntimeSettings] { + return pulumix.Output[*FlexibleRuntimeSettings]{ + OutputState: i.ToFlexibleRuntimeSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Runtime settings for the App Engine flexible environment. type FlexibleRuntimeSettingsOutput struct{ *pulumi.OutputState } @@ -3234,6 +3673,12 @@ func (o FlexibleRuntimeSettingsOutput) ToFlexibleRuntimeSettingsPtrOutputWithCon }).(FlexibleRuntimeSettingsPtrOutput) } +func (o FlexibleRuntimeSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[FlexibleRuntimeSettings] { + return pulumix.Output[FlexibleRuntimeSettings]{ + OutputState: o.OutputState, + } +} + // The operating system of the application runtime. func (o FlexibleRuntimeSettingsOutput) OperatingSystem() pulumi.StringPtrOutput { return o.ApplyT(func(v FlexibleRuntimeSettings) *string { return v.OperatingSystem }).(pulumi.StringPtrOutput) @@ -3258,6 +3703,12 @@ func (o FlexibleRuntimeSettingsPtrOutput) ToFlexibleRuntimeSettingsPtrOutputWith return o } +func (o FlexibleRuntimeSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FlexibleRuntimeSettings] { + return pulumix.Output[*FlexibleRuntimeSettings]{ + OutputState: o.OutputState, + } +} + func (o FlexibleRuntimeSettingsPtrOutput) Elem() FlexibleRuntimeSettingsOutput { return o.ApplyT(func(v *FlexibleRuntimeSettings) FlexibleRuntimeSettings { if v != nil { @@ -3311,6 +3762,12 @@ func (o FlexibleRuntimeSettingsResponseOutput) ToFlexibleRuntimeSettingsResponse return o } +func (o FlexibleRuntimeSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FlexibleRuntimeSettingsResponse] { + return pulumix.Output[FlexibleRuntimeSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The operating system of the application runtime. func (o FlexibleRuntimeSettingsResponseOutput) OperatingSystem() pulumi.StringOutput { return o.ApplyT(func(v FlexibleRuntimeSettingsResponse) string { return v.OperatingSystem }).(pulumi.StringOutput) @@ -3380,6 +3837,12 @@ func (i HealthCheckArgs) ToHealthCheckOutputWithContext(ctx context.Context) Hea return pulumi.ToOutputWithContext(ctx, i).(HealthCheckOutput) } +func (i HealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[HealthCheck] { + return pulumix.Output[HealthCheck]{ + OutputState: i.ToHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i HealthCheckArgs) ToHealthCheckPtrOutput() HealthCheckPtrOutput { return i.ToHealthCheckPtrOutputWithContext(context.Background()) } @@ -3421,6 +3884,12 @@ func (i *healthCheckPtrType) ToHealthCheckPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(HealthCheckPtrOutput) } +func (i *healthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*HealthCheck] { + return pulumix.Output[*HealthCheck]{ + OutputState: i.ToHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + // Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment. type HealthCheckOutput struct{ *pulumi.OutputState } @@ -3446,6 +3915,12 @@ func (o HealthCheckOutput) ToHealthCheckPtrOutputWithContext(ctx context.Context }).(HealthCheckPtrOutput) } +func (o HealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheck] { + return pulumix.Output[HealthCheck]{ + OutputState: o.OutputState, + } +} + // Interval between health checks. func (o HealthCheckOutput) CheckInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v HealthCheck) *string { return v.CheckInterval }).(pulumi.StringPtrOutput) @@ -3495,6 +3970,12 @@ func (o HealthCheckPtrOutput) ToHealthCheckPtrOutputWithContext(ctx context.Cont return o } +func (o HealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheck] { + return pulumix.Output[*HealthCheck]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckPtrOutput) Elem() HealthCheckOutput { return o.ApplyT(func(v *HealthCheck) HealthCheck { if v != nil { @@ -3608,6 +4089,12 @@ func (o HealthCheckResponseOutput) ToHealthCheckResponseOutputWithContext(ctx co return o } +func (o HealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckResponse] { + return pulumix.Output[HealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // Interval between health checks. func (o HealthCheckResponseOutput) CheckInterval() pulumi.StringOutput { return o.ApplyT(func(v HealthCheckResponse) string { return v.CheckInterval }).(pulumi.StringOutput) @@ -3686,6 +4173,12 @@ func (i IdentityAwareProxyArgs) ToIdentityAwareProxyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(IdentityAwareProxyOutput) } +func (i IdentityAwareProxyArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityAwareProxy] { + return pulumix.Output[IdentityAwareProxy]{ + OutputState: i.ToIdentityAwareProxyOutputWithContext(ctx).OutputState, + } +} + func (i IdentityAwareProxyArgs) ToIdentityAwareProxyPtrOutput() IdentityAwareProxyPtrOutput { return i.ToIdentityAwareProxyPtrOutputWithContext(context.Background()) } @@ -3727,6 +4220,12 @@ func (i *identityAwareProxyPtrType) ToIdentityAwareProxyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(IdentityAwareProxyPtrOutput) } +func (i *identityAwareProxyPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityAwareProxy] { + return pulumix.Output[*IdentityAwareProxy]{ + OutputState: i.ToIdentityAwareProxyPtrOutputWithContext(ctx).OutputState, + } +} + // Identity-Aware Proxy type IdentityAwareProxyOutput struct{ *pulumi.OutputState } @@ -3752,6 +4251,12 @@ func (o IdentityAwareProxyOutput) ToIdentityAwareProxyPtrOutputWithContext(ctx c }).(IdentityAwareProxyPtrOutput) } +func (o IdentityAwareProxyOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityAwareProxy] { + return pulumix.Output[IdentityAwareProxy]{ + OutputState: o.OutputState, + } +} + // Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty. func (o IdentityAwareProxyOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v IdentityAwareProxy) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -3781,6 +4286,12 @@ func (o IdentityAwareProxyPtrOutput) ToIdentityAwareProxyPtrOutputWithContext(ct return o } +func (o IdentityAwareProxyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityAwareProxy] { + return pulumix.Output[*IdentityAwareProxy]{ + OutputState: o.OutputState, + } +} + func (o IdentityAwareProxyPtrOutput) Elem() IdentityAwareProxyOutput { return o.ApplyT(func(v *IdentityAwareProxy) IdentityAwareProxy { if v != nil { @@ -3848,6 +4359,12 @@ func (o IdentityAwareProxyResponseOutput) ToIdentityAwareProxyResponseOutputWith return o } +func (o IdentityAwareProxyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityAwareProxyResponse] { + return pulumix.Output[IdentityAwareProxyResponse]{ + OutputState: o.OutputState, + } +} + // Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty. func (o IdentityAwareProxyResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v IdentityAwareProxyResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -3907,6 +4424,12 @@ func (i LibraryArgs) ToLibraryOutputWithContext(ctx context.Context) LibraryOutp return pulumi.ToOutputWithContext(ctx, i).(LibraryOutput) } +func (i LibraryArgs) ToOutput(ctx context.Context) pulumix.Output[Library] { + return pulumix.Output[Library]{ + OutputState: i.ToLibraryOutputWithContext(ctx).OutputState, + } +} + // LibraryArrayInput is an input type that accepts LibraryArray and LibraryArrayOutput values. // You can construct a concrete instance of `LibraryArrayInput` via: // @@ -3932,6 +4455,12 @@ func (i LibraryArray) ToLibraryArrayOutputWithContext(ctx context.Context) Libra return pulumi.ToOutputWithContext(ctx, i).(LibraryArrayOutput) } +func (i LibraryArray) ToOutput(ctx context.Context) pulumix.Output[[]Library] { + return pulumix.Output[[]Library]{ + OutputState: i.ToLibraryArrayOutputWithContext(ctx).OutputState, + } +} + // Third-party Python runtime library that is required by the application. type LibraryOutput struct{ *pulumi.OutputState } @@ -3947,6 +4476,12 @@ func (o LibraryOutput) ToLibraryOutputWithContext(ctx context.Context) LibraryOu return o } +func (o LibraryOutput) ToOutput(ctx context.Context) pulumix.Output[Library] { + return pulumix.Output[Library]{ + OutputState: o.OutputState, + } +} + // Name of the library. Example: "django". func (o LibraryOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Library) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -3971,6 +4506,12 @@ func (o LibraryArrayOutput) ToLibraryArrayOutputWithContext(ctx context.Context) return o } +func (o LibraryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Library] { + return pulumix.Output[[]Library]{ + OutputState: o.OutputState, + } +} + func (o LibraryArrayOutput) Index(i pulumi.IntInput) LibraryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Library { return vs[0].([]Library)[vs[1].(int)] @@ -4000,6 +4541,12 @@ func (o LibraryResponseOutput) ToLibraryResponseOutputWithContext(ctx context.Co return o } +func (o LibraryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LibraryResponse] { + return pulumix.Output[LibraryResponse]{ + OutputState: o.OutputState, + } +} + // Name of the library. Example: "django". func (o LibraryResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LibraryResponse) string { return v.Name }).(pulumi.StringOutput) @@ -4024,6 +4571,12 @@ func (o LibraryResponseArrayOutput) ToLibraryResponseArrayOutputWithContext(ctx return o } +func (o LibraryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LibraryResponse] { + return pulumix.Output[[]LibraryResponse]{ + OutputState: o.OutputState, + } +} + func (o LibraryResponseArrayOutput) Index(i pulumi.IntInput) LibraryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LibraryResponse { return vs[0].([]LibraryResponse)[vs[1].(int)] @@ -4089,6 +4642,12 @@ func (i LivenessCheckArgs) ToLivenessCheckOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LivenessCheckOutput) } +func (i LivenessCheckArgs) ToOutput(ctx context.Context) pulumix.Output[LivenessCheck] { + return pulumix.Output[LivenessCheck]{ + OutputState: i.ToLivenessCheckOutputWithContext(ctx).OutputState, + } +} + func (i LivenessCheckArgs) ToLivenessCheckPtrOutput() LivenessCheckPtrOutput { return i.ToLivenessCheckPtrOutputWithContext(context.Background()) } @@ -4130,6 +4689,12 @@ func (i *livenessCheckPtrType) ToLivenessCheckPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LivenessCheckPtrOutput) } +func (i *livenessCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*LivenessCheck] { + return pulumix.Output[*LivenessCheck]{ + OutputState: i.ToLivenessCheckPtrOutputWithContext(ctx).OutputState, + } +} + // Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. type LivenessCheckOutput struct{ *pulumi.OutputState } @@ -4155,6 +4720,12 @@ func (o LivenessCheckOutput) ToLivenessCheckPtrOutputWithContext(ctx context.Con }).(LivenessCheckPtrOutput) } +func (o LivenessCheckOutput) ToOutput(ctx context.Context) pulumix.Output[LivenessCheck] { + return pulumix.Output[LivenessCheck]{ + OutputState: o.OutputState, + } +} + // Interval between health checks. func (o LivenessCheckOutput) CheckInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v LivenessCheck) *string { return v.CheckInterval }).(pulumi.StringPtrOutput) @@ -4204,6 +4775,12 @@ func (o LivenessCheckPtrOutput) ToLivenessCheckPtrOutputWithContext(ctx context. return o } +func (o LivenessCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LivenessCheck] { + return pulumix.Output[*LivenessCheck]{ + OutputState: o.OutputState, + } +} + func (o LivenessCheckPtrOutput) Elem() LivenessCheckOutput { return o.ApplyT(func(v *LivenessCheck) LivenessCheck { if v != nil { @@ -4317,6 +4894,12 @@ func (o LivenessCheckResponseOutput) ToLivenessCheckResponseOutputWithContext(ct return o } +func (o LivenessCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LivenessCheckResponse] { + return pulumix.Output[LivenessCheckResponse]{ + OutputState: o.OutputState, + } +} + // Interval between health checks. func (o LivenessCheckResponseOutput) CheckInterval() pulumi.StringOutput { return o.ApplyT(func(v LivenessCheckResponse) string { return v.CheckInterval }).(pulumi.StringOutput) @@ -4375,6 +4958,12 @@ func (o ManagedCertificateResponseOutput) ToManagedCertificateResponseOutputWith return o } +func (o ManagedCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedCertificateResponse] { + return pulumix.Output[ManagedCertificateResponse]{ + OutputState: o.OutputState, + } +} + // Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus. func (o ManagedCertificateResponseOutput) LastRenewalTime() pulumi.StringOutput { return o.ApplyT(func(v ManagedCertificateResponse) string { return v.LastRenewalTime }).(pulumi.StringOutput) @@ -4420,6 +5009,12 @@ func (i ManualScalingArgs) ToManualScalingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ManualScalingOutput) } +func (i ManualScalingArgs) ToOutput(ctx context.Context) pulumix.Output[ManualScaling] { + return pulumix.Output[ManualScaling]{ + OutputState: i.ToManualScalingOutputWithContext(ctx).OutputState, + } +} + func (i ManualScalingArgs) ToManualScalingPtrOutput() ManualScalingPtrOutput { return i.ToManualScalingPtrOutputWithContext(context.Background()) } @@ -4461,6 +5056,12 @@ func (i *manualScalingPtrType) ToManualScalingPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ManualScalingPtrOutput) } +func (i *manualScalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManualScaling] { + return pulumix.Output[*ManualScaling]{ + OutputState: i.ToManualScalingPtrOutputWithContext(ctx).OutputState, + } +} + // A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. type ManualScalingOutput struct{ *pulumi.OutputState } @@ -4486,6 +5087,12 @@ func (o ManualScalingOutput) ToManualScalingPtrOutputWithContext(ctx context.Con }).(ManualScalingPtrOutput) } +func (o ManualScalingOutput) ToOutput(ctx context.Context) pulumix.Output[ManualScaling] { + return pulumix.Output[ManualScaling]{ + OutputState: o.OutputState, + } +} + // Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function. func (o ManualScalingOutput) Instances() pulumi.IntPtrOutput { return o.ApplyT(func(v ManualScaling) *int { return v.Instances }).(pulumi.IntPtrOutput) @@ -4505,6 +5112,12 @@ func (o ManualScalingPtrOutput) ToManualScalingPtrOutputWithContext(ctx context. return o } +func (o ManualScalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManualScaling] { + return pulumix.Output[*ManualScaling]{ + OutputState: o.OutputState, + } +} + func (o ManualScalingPtrOutput) Elem() ManualScalingOutput { return o.ApplyT(func(v *ManualScaling) ManualScaling { if v != nil { @@ -4546,6 +5159,12 @@ func (o ManualScalingResponseOutput) ToManualScalingResponseOutputWithContext(ct return o } +func (o ManualScalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManualScalingResponse] { + return pulumix.Output[ManualScalingResponse]{ + OutputState: o.OutputState, + } +} + // Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function. func (o ManualScalingResponseOutput) Instances() pulumi.IntOutput { return o.ApplyT(func(v ManualScalingResponse) int { return v.Instances }).(pulumi.IntOutput) @@ -4606,6 +5225,12 @@ func (i NetworkArgs) ToNetworkOutputWithContext(ctx context.Context) NetworkOutp return pulumi.ToOutputWithContext(ctx, i).(NetworkOutput) } +func (i NetworkArgs) ToOutput(ctx context.Context) pulumix.Output[Network] { + return pulumix.Output[Network]{ + OutputState: i.ToNetworkOutputWithContext(ctx).OutputState, + } +} + func (i NetworkArgs) ToNetworkPtrOutput() NetworkPtrOutput { return i.ToNetworkPtrOutputWithContext(context.Background()) } @@ -4647,6 +5272,12 @@ func (i *networkPtrType) ToNetworkPtrOutputWithContext(ctx context.Context) Netw return pulumi.ToOutputWithContext(ctx, i).(NetworkPtrOutput) } +func (i *networkPtrType) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: i.ToNetworkPtrOutputWithContext(ctx).OutputState, + } +} + // Extra network settings. Only applicable in the App Engine flexible environment. type NetworkOutput struct{ *pulumi.OutputState } @@ -4672,6 +5303,12 @@ func (o NetworkOutput) ToNetworkPtrOutputWithContext(ctx context.Context) Networ }).(NetworkPtrOutput) } +func (o NetworkOutput) ToOutput(ctx context.Context) pulumix.Output[Network] { + return pulumix.Output[Network]{ + OutputState: o.OutputState, + } +} + // List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment. func (o NetworkOutput) ForwardedPorts() pulumi.StringArrayOutput { return o.ApplyT(func(v Network) []string { return v.ForwardedPorts }).(pulumi.StringArrayOutput) @@ -4716,6 +5353,12 @@ func (o NetworkPtrOutput) ToNetworkPtrOutputWithContext(ctx context.Context) Net return o } +func (o NetworkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: o.OutputState, + } +} + func (o NetworkPtrOutput) Elem() NetworkOutput { return o.ApplyT(func(v *Network) Network { if v != nil { @@ -4817,6 +5460,12 @@ func (o NetworkResponseOutput) ToNetworkResponseOutputWithContext(ctx context.Co return o } +func (o NetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkResponse] { + return pulumix.Output[NetworkResponse]{ + OutputState: o.OutputState, + } +} + // List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment. func (o NetworkResponseOutput) ForwardedPorts() pulumi.StringArrayOutput { return o.ApplyT(func(v NetworkResponse) []string { return v.ForwardedPorts }).(pulumi.StringArrayOutput) @@ -4894,6 +5543,12 @@ func (i NetworkUtilizationArgs) ToNetworkUtilizationOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NetworkUtilizationOutput) } +func (i NetworkUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkUtilization] { + return pulumix.Output[NetworkUtilization]{ + OutputState: i.ToNetworkUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i NetworkUtilizationArgs) ToNetworkUtilizationPtrOutput() NetworkUtilizationPtrOutput { return i.ToNetworkUtilizationPtrOutputWithContext(context.Background()) } @@ -4935,6 +5590,12 @@ func (i *networkUtilizationPtrType) ToNetworkUtilizationPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NetworkUtilizationPtrOutput) } +func (i *networkUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkUtilization] { + return pulumix.Output[*NetworkUtilization]{ + OutputState: i.ToNetworkUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Target scaling by network usage. Only applicable in the App Engine flexible environment. type NetworkUtilizationOutput struct{ *pulumi.OutputState } @@ -4960,6 +5621,12 @@ func (o NetworkUtilizationOutput) ToNetworkUtilizationPtrOutputWithContext(ctx c }).(NetworkUtilizationPtrOutput) } +func (o NetworkUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkUtilization] { + return pulumix.Output[NetworkUtilization]{ + OutputState: o.OutputState, + } +} + // Target bytes received per second. func (o NetworkUtilizationOutput) TargetReceivedBytesPerSecond() pulumi.IntPtrOutput { return o.ApplyT(func(v NetworkUtilization) *int { return v.TargetReceivedBytesPerSecond }).(pulumi.IntPtrOutput) @@ -4994,6 +5661,12 @@ func (o NetworkUtilizationPtrOutput) ToNetworkUtilizationPtrOutputWithContext(ct return o } +func (o NetworkUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkUtilization] { + return pulumix.Output[*NetworkUtilization]{ + OutputState: o.OutputState, + } +} + func (o NetworkUtilizationPtrOutput) Elem() NetworkUtilizationOutput { return o.ApplyT(func(v *NetworkUtilization) NetworkUtilization { if v != nil { @@ -5071,6 +5744,12 @@ func (o NetworkUtilizationResponseOutput) ToNetworkUtilizationResponseOutputWith return o } +func (o NetworkUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkUtilizationResponse] { + return pulumix.Output[NetworkUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Target bytes received per second. func (o NetworkUtilizationResponseOutput) TargetReceivedBytesPerSecond() pulumi.IntOutput { return o.ApplyT(func(v NetworkUtilizationResponse) int { return v.TargetReceivedBytesPerSecond }).(pulumi.IntOutput) @@ -5150,6 +5829,12 @@ func (i ReadinessCheckArgs) ToReadinessCheckOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ReadinessCheckOutput) } +func (i ReadinessCheckArgs) ToOutput(ctx context.Context) pulumix.Output[ReadinessCheck] { + return pulumix.Output[ReadinessCheck]{ + OutputState: i.ToReadinessCheckOutputWithContext(ctx).OutputState, + } +} + func (i ReadinessCheckArgs) ToReadinessCheckPtrOutput() ReadinessCheckPtrOutput { return i.ToReadinessCheckPtrOutputWithContext(context.Background()) } @@ -5191,6 +5876,12 @@ func (i *readinessCheckPtrType) ToReadinessCheckPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ReadinessCheckPtrOutput) } +func (i *readinessCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReadinessCheck] { + return pulumix.Output[*ReadinessCheck]{ + OutputState: i.ToReadinessCheckPtrOutputWithContext(ctx).OutputState, + } +} + // Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation. type ReadinessCheckOutput struct{ *pulumi.OutputState } @@ -5216,6 +5907,12 @@ func (o ReadinessCheckOutput) ToReadinessCheckPtrOutputWithContext(ctx context.C }).(ReadinessCheckPtrOutput) } +func (o ReadinessCheckOutput) ToOutput(ctx context.Context) pulumix.Output[ReadinessCheck] { + return pulumix.Output[ReadinessCheck]{ + OutputState: o.OutputState, + } +} + // A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. func (o ReadinessCheckOutput) AppStartTimeout() pulumi.StringPtrOutput { return o.ApplyT(func(v ReadinessCheck) *string { return v.AppStartTimeout }).(pulumi.StringPtrOutput) @@ -5265,6 +5962,12 @@ func (o ReadinessCheckPtrOutput) ToReadinessCheckPtrOutputWithContext(ctx contex return o } +func (o ReadinessCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReadinessCheck] { + return pulumix.Output[*ReadinessCheck]{ + OutputState: o.OutputState, + } +} + func (o ReadinessCheckPtrOutput) Elem() ReadinessCheckOutput { return o.ApplyT(func(v *ReadinessCheck) ReadinessCheck { if v != nil { @@ -5378,6 +6081,12 @@ func (o ReadinessCheckResponseOutput) ToReadinessCheckResponseOutputWithContext( return o } +func (o ReadinessCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReadinessCheckResponse] { + return pulumix.Output[ReadinessCheckResponse]{ + OutputState: o.OutputState, + } +} + // A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. func (o ReadinessCheckResponseOutput) AppStartTimeout() pulumi.StringOutput { return o.ApplyT(func(v ReadinessCheckResponse) string { return v.AppStartTimeout }).(pulumi.StringOutput) @@ -5452,6 +6161,12 @@ func (i RequestUtilizationArgs) ToRequestUtilizationOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RequestUtilizationOutput) } +func (i RequestUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[RequestUtilization] { + return pulumix.Output[RequestUtilization]{ + OutputState: i.ToRequestUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i RequestUtilizationArgs) ToRequestUtilizationPtrOutput() RequestUtilizationPtrOutput { return i.ToRequestUtilizationPtrOutputWithContext(context.Background()) } @@ -5493,6 +6208,12 @@ func (i *requestUtilizationPtrType) ToRequestUtilizationPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RequestUtilizationPtrOutput) } +func (i *requestUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*RequestUtilization] { + return pulumix.Output[*RequestUtilization]{ + OutputState: i.ToRequestUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Target scaling by request utilization. Only applicable in the App Engine flexible environment. type RequestUtilizationOutput struct{ *pulumi.OutputState } @@ -5518,6 +6239,12 @@ func (o RequestUtilizationOutput) ToRequestUtilizationPtrOutputWithContext(ctx c }).(RequestUtilizationPtrOutput) } +func (o RequestUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[RequestUtilization] { + return pulumix.Output[RequestUtilization]{ + OutputState: o.OutputState, + } +} + // Target number of concurrent requests. func (o RequestUtilizationOutput) TargetConcurrentRequests() pulumi.IntPtrOutput { return o.ApplyT(func(v RequestUtilization) *int { return v.TargetConcurrentRequests }).(pulumi.IntPtrOutput) @@ -5542,6 +6269,12 @@ func (o RequestUtilizationPtrOutput) ToRequestUtilizationPtrOutputWithContext(ct return o } +func (o RequestUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RequestUtilization] { + return pulumix.Output[*RequestUtilization]{ + OutputState: o.OutputState, + } +} + func (o RequestUtilizationPtrOutput) Elem() RequestUtilizationOutput { return o.ApplyT(func(v *RequestUtilization) RequestUtilization { if v != nil { @@ -5595,6 +6328,12 @@ func (o RequestUtilizationResponseOutput) ToRequestUtilizationResponseOutputWith return o } +func (o RequestUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RequestUtilizationResponse] { + return pulumix.Output[RequestUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Target number of concurrent requests. func (o RequestUtilizationResponseOutput) TargetConcurrentRequests() pulumi.IntOutput { return o.ApplyT(func(v RequestUtilizationResponse) int { return v.TargetConcurrentRequests }).(pulumi.IntOutput) @@ -5630,6 +6369,12 @@ func (o ResourceRecordResponseOutput) ToResourceRecordResponseOutputWithContext( return o } +func (o ResourceRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceRecordResponse] { + return pulumix.Output[ResourceRecordResponse]{ + OutputState: o.OutputState, + } +} + // Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'. func (o ResourceRecordResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v ResourceRecordResponse) string { return v.Name }).(pulumi.StringOutput) @@ -5659,6 +6404,12 @@ func (o ResourceRecordResponseArrayOutput) ToResourceRecordResponseArrayOutputWi return o } +func (o ResourceRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceRecordResponse] { + return pulumix.Output[[]ResourceRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordResponseArrayOutput) Index(i pulumi.IntInput) ResourceRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceRecordResponse { return vs[0].([]ResourceRecordResponse)[vs[1].(int)] @@ -5716,6 +6467,12 @@ func (i ResourcesArgs) ToResourcesOutputWithContext(ctx context.Context) Resourc return pulumi.ToOutputWithContext(ctx, i).(ResourcesOutput) } +func (i ResourcesArgs) ToOutput(ctx context.Context) pulumix.Output[Resources] { + return pulumix.Output[Resources]{ + OutputState: i.ToResourcesOutputWithContext(ctx).OutputState, + } +} + func (i ResourcesArgs) ToResourcesPtrOutput() ResourcesPtrOutput { return i.ToResourcesPtrOutputWithContext(context.Background()) } @@ -5757,6 +6514,12 @@ func (i *resourcesPtrType) ToResourcesPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ResourcesPtrOutput) } +func (i *resourcesPtrType) ToOutput(ctx context.Context) pulumix.Output[*Resources] { + return pulumix.Output[*Resources]{ + OutputState: i.ToResourcesPtrOutputWithContext(ctx).OutputState, + } +} + // Machine resources for a version. type ResourcesOutput struct{ *pulumi.OutputState } @@ -5782,6 +6545,12 @@ func (o ResourcesOutput) ToResourcesPtrOutputWithContext(ctx context.Context) Re }).(ResourcesPtrOutput) } +func (o ResourcesOutput) ToOutput(ctx context.Context) pulumix.Output[Resources] { + return pulumix.Output[Resources]{ + OutputState: o.OutputState, + } +} + // Number of CPU cores needed. func (o ResourcesOutput) Cpu() pulumi.Float64PtrOutput { return o.ApplyT(func(v Resources) *float64 { return v.Cpu }).(pulumi.Float64PtrOutput) @@ -5821,6 +6590,12 @@ func (o ResourcesPtrOutput) ToResourcesPtrOutputWithContext(ctx context.Context) return o } +func (o ResourcesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Resources] { + return pulumix.Output[*Resources]{ + OutputState: o.OutputState, + } +} + func (o ResourcesPtrOutput) Elem() ResourcesOutput { return o.ApplyT(func(v *Resources) Resources { if v != nil { @@ -5910,6 +6685,12 @@ func (o ResourcesResponseOutput) ToResourcesResponseOutputWithContext(ctx contex return o } +func (o ResourcesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcesResponse] { + return pulumix.Output[ResourcesResponse]{ + OutputState: o.OutputState, + } +} + // Number of CPU cores needed. func (o ResourcesResponseOutput) Cpu() pulumi.Float64Output { return o.ApplyT(func(v ResourcesResponse) float64 { return v.Cpu }).(pulumi.Float64Output) @@ -5970,6 +6751,12 @@ func (i ScriptHandlerArgs) ToScriptHandlerOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ScriptHandlerOutput) } +func (i ScriptHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[ScriptHandler] { + return pulumix.Output[ScriptHandler]{ + OutputState: i.ToScriptHandlerOutputWithContext(ctx).OutputState, + } +} + func (i ScriptHandlerArgs) ToScriptHandlerPtrOutput() ScriptHandlerPtrOutput { return i.ToScriptHandlerPtrOutputWithContext(context.Background()) } @@ -6011,6 +6798,12 @@ func (i *scriptHandlerPtrType) ToScriptHandlerPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ScriptHandlerPtrOutput) } +func (i *scriptHandlerPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScriptHandler] { + return pulumix.Output[*ScriptHandler]{ + OutputState: i.ToScriptHandlerPtrOutputWithContext(ctx).OutputState, + } +} + // Executes a script to handle the request that matches the URL pattern. type ScriptHandlerOutput struct{ *pulumi.OutputState } @@ -6036,6 +6829,12 @@ func (o ScriptHandlerOutput) ToScriptHandlerPtrOutputWithContext(ctx context.Con }).(ScriptHandlerPtrOutput) } +func (o ScriptHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[ScriptHandler] { + return pulumix.Output[ScriptHandler]{ + OutputState: o.OutputState, + } +} + // Path to the script from the application root directory. func (o ScriptHandlerOutput) ScriptPath() pulumi.StringPtrOutput { return o.ApplyT(func(v ScriptHandler) *string { return v.ScriptPath }).(pulumi.StringPtrOutput) @@ -6055,6 +6854,12 @@ func (o ScriptHandlerPtrOutput) ToScriptHandlerPtrOutputWithContext(ctx context. return o } +func (o ScriptHandlerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScriptHandler] { + return pulumix.Output[*ScriptHandler]{ + OutputState: o.OutputState, + } +} + func (o ScriptHandlerPtrOutput) Elem() ScriptHandlerOutput { return o.ApplyT(func(v *ScriptHandler) ScriptHandler { if v != nil { @@ -6096,6 +6901,12 @@ func (o ScriptHandlerResponseOutput) ToScriptHandlerResponseOutputWithContext(ct return o } +func (o ScriptHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScriptHandlerResponse] { + return pulumix.Output[ScriptHandlerResponse]{ + OutputState: o.OutputState, + } +} + // Path to the script from the application root directory. func (o ScriptHandlerResponseOutput) ScriptPath() pulumi.StringOutput { return o.ApplyT(func(v ScriptHandlerResponse) string { return v.ScriptPath }).(pulumi.StringOutput) @@ -6140,6 +6951,12 @@ func (i SslSettingsArgs) ToSslSettingsOutputWithContext(ctx context.Context) Ssl return pulumi.ToOutputWithContext(ctx, i).(SslSettingsOutput) } +func (i SslSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[SslSettings] { + return pulumix.Output[SslSettings]{ + OutputState: i.ToSslSettingsOutputWithContext(ctx).OutputState, + } +} + func (i SslSettingsArgs) ToSslSettingsPtrOutput() SslSettingsPtrOutput { return i.ToSslSettingsPtrOutputWithContext(context.Background()) } @@ -6181,6 +6998,12 @@ func (i *sslSettingsPtrType) ToSslSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SslSettingsPtrOutput) } +func (i *sslSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SslSettings] { + return pulumix.Output[*SslSettings]{ + OutputState: i.ToSslSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // SSL configuration for a DomainMapping resource. type SslSettingsOutput struct{ *pulumi.OutputState } @@ -6206,6 +7029,12 @@ func (o SslSettingsOutput) ToSslSettingsPtrOutputWithContext(ctx context.Context }).(SslSettingsPtrOutput) } +func (o SslSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[SslSettings] { + return pulumix.Output[SslSettings]{ + OutputState: o.OutputState, + } +} + // ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345. func (o SslSettingsOutput) CertificateId() pulumi.StringPtrOutput { return o.ApplyT(func(v SslSettings) *string { return v.CertificateId }).(pulumi.StringPtrOutput) @@ -6230,6 +7059,12 @@ func (o SslSettingsPtrOutput) ToSslSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o SslSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslSettings] { + return pulumix.Output[*SslSettings]{ + OutputState: o.OutputState, + } +} + func (o SslSettingsPtrOutput) Elem() SslSettingsOutput { return o.ApplyT(func(v *SslSettings) SslSettings { if v != nil { @@ -6285,6 +7120,12 @@ func (o SslSettingsResponseOutput) ToSslSettingsResponseOutputWithContext(ctx co return o } +func (o SslSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslSettingsResponse] { + return pulumix.Output[SslSettingsResponse]{ + OutputState: o.OutputState, + } +} + // ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345. func (o SslSettingsResponseOutput) CertificateId() pulumi.StringOutput { return o.ApplyT(func(v SslSettingsResponse) string { return v.CertificateId }).(pulumi.StringOutput) @@ -6347,6 +7188,12 @@ func (i StandardSchedulerSettingsArgs) ToStandardSchedulerSettingsOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(StandardSchedulerSettingsOutput) } +func (i StandardSchedulerSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[StandardSchedulerSettings] { + return pulumix.Output[StandardSchedulerSettings]{ + OutputState: i.ToStandardSchedulerSettingsOutputWithContext(ctx).OutputState, + } +} + func (i StandardSchedulerSettingsArgs) ToStandardSchedulerSettingsPtrOutput() StandardSchedulerSettingsPtrOutput { return i.ToStandardSchedulerSettingsPtrOutputWithContext(context.Background()) } @@ -6388,6 +7235,12 @@ func (i *standardSchedulerSettingsPtrType) ToStandardSchedulerSettingsPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(StandardSchedulerSettingsPtrOutput) } +func (i *standardSchedulerSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*StandardSchedulerSettings] { + return pulumix.Output[*StandardSchedulerSettings]{ + OutputState: i.ToStandardSchedulerSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Scheduler settings for standard environment. type StandardSchedulerSettingsOutput struct{ *pulumi.OutputState } @@ -6413,6 +7266,12 @@ func (o StandardSchedulerSettingsOutput) ToStandardSchedulerSettingsPtrOutputWit }).(StandardSchedulerSettingsPtrOutput) } +func (o StandardSchedulerSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSchedulerSettings] { + return pulumix.Output[StandardSchedulerSettings]{ + OutputState: o.OutputState, + } +} + // Maximum number of instances to run for this version. Set to zero to disable max_instances configuration. func (o StandardSchedulerSettingsOutput) MaxInstances() pulumi.IntPtrOutput { return o.ApplyT(func(v StandardSchedulerSettings) *int { return v.MaxInstances }).(pulumi.IntPtrOutput) @@ -6447,6 +7306,12 @@ func (o StandardSchedulerSettingsPtrOutput) ToStandardSchedulerSettingsPtrOutput return o } +func (o StandardSchedulerSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StandardSchedulerSettings] { + return pulumix.Output[*StandardSchedulerSettings]{ + OutputState: o.OutputState, + } +} + func (o StandardSchedulerSettingsPtrOutput) Elem() StandardSchedulerSettingsOutput { return o.ApplyT(func(v *StandardSchedulerSettings) StandardSchedulerSettings { if v != nil { @@ -6524,6 +7389,12 @@ func (o StandardSchedulerSettingsResponseOutput) ToStandardSchedulerSettingsResp return o } +func (o StandardSchedulerSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSchedulerSettingsResponse] { + return pulumix.Output[StandardSchedulerSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Maximum number of instances to run for this version. Set to zero to disable max_instances configuration. func (o StandardSchedulerSettingsResponseOutput) MaxInstances() pulumi.IntOutput { return o.ApplyT(func(v StandardSchedulerSettingsResponse) int { return v.MaxInstances }).(pulumi.IntOutput) @@ -6603,6 +7474,12 @@ func (i StaticFilesHandlerArgs) ToStaticFilesHandlerOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(StaticFilesHandlerOutput) } +func (i StaticFilesHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[StaticFilesHandler] { + return pulumix.Output[StaticFilesHandler]{ + OutputState: i.ToStaticFilesHandlerOutputWithContext(ctx).OutputState, + } +} + func (i StaticFilesHandlerArgs) ToStaticFilesHandlerPtrOutput() StaticFilesHandlerPtrOutput { return i.ToStaticFilesHandlerPtrOutputWithContext(context.Background()) } @@ -6644,6 +7521,12 @@ func (i *staticFilesHandlerPtrType) ToStaticFilesHandlerPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(StaticFilesHandlerPtrOutput) } +func (i *staticFilesHandlerPtrType) ToOutput(ctx context.Context) pulumix.Output[*StaticFilesHandler] { + return pulumix.Output[*StaticFilesHandler]{ + OutputState: i.ToStaticFilesHandlerPtrOutputWithContext(ctx).OutputState, + } +} + // Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. type StaticFilesHandlerOutput struct{ *pulumi.OutputState } @@ -6669,6 +7552,12 @@ func (o StaticFilesHandlerOutput) ToStaticFilesHandlerPtrOutputWithContext(ctx c }).(StaticFilesHandlerPtrOutput) } +func (o StaticFilesHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[StaticFilesHandler] { + return pulumix.Output[StaticFilesHandler]{ + OutputState: o.OutputState, + } +} + // Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas. func (o StaticFilesHandlerOutput) ApplicationReadable() pulumi.BoolPtrOutput { return o.ApplyT(func(v StaticFilesHandler) *bool { return v.ApplicationReadable }).(pulumi.BoolPtrOutput) @@ -6718,6 +7607,12 @@ func (o StaticFilesHandlerPtrOutput) ToStaticFilesHandlerPtrOutputWithContext(ct return o } +func (o StaticFilesHandlerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StaticFilesHandler] { + return pulumix.Output[*StaticFilesHandler]{ + OutputState: o.OutputState, + } +} + func (o StaticFilesHandlerPtrOutput) Elem() StaticFilesHandlerOutput { return o.ApplyT(func(v *StaticFilesHandler) StaticFilesHandler { if v != nil { @@ -6831,6 +7726,12 @@ func (o StaticFilesHandlerResponseOutput) ToStaticFilesHandlerResponseOutputWith return o } +func (o StaticFilesHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StaticFilesHandlerResponse] { + return pulumix.Output[StaticFilesHandlerResponse]{ + OutputState: o.OutputState, + } +} + // Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas. func (o StaticFilesHandlerResponseOutput) ApplicationReadable() pulumi.BoolOutput { return o.ApplyT(func(v StaticFilesHandlerResponse) bool { return v.ApplicationReadable }).(pulumi.BoolOutput) @@ -6909,6 +7810,12 @@ func (i UrlDispatchRuleArgs) ToUrlDispatchRuleOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(UrlDispatchRuleOutput) } +func (i UrlDispatchRuleArgs) ToOutput(ctx context.Context) pulumix.Output[UrlDispatchRule] { + return pulumix.Output[UrlDispatchRule]{ + OutputState: i.ToUrlDispatchRuleOutputWithContext(ctx).OutputState, + } +} + // UrlDispatchRuleArrayInput is an input type that accepts UrlDispatchRuleArray and UrlDispatchRuleArrayOutput values. // You can construct a concrete instance of `UrlDispatchRuleArrayInput` via: // @@ -6934,6 +7841,12 @@ func (i UrlDispatchRuleArray) ToUrlDispatchRuleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(UrlDispatchRuleArrayOutput) } +func (i UrlDispatchRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]UrlDispatchRule] { + return pulumix.Output[[]UrlDispatchRule]{ + OutputState: i.ToUrlDispatchRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Rules to match an HTTP request and dispatch that request to a service. type UrlDispatchRuleOutput struct{ *pulumi.OutputState } @@ -6949,6 +7862,12 @@ func (o UrlDispatchRuleOutput) ToUrlDispatchRuleOutputWithContext(ctx context.Co return o } +func (o UrlDispatchRuleOutput) ToOutput(ctx context.Context) pulumix.Output[UrlDispatchRule] { + return pulumix.Output[UrlDispatchRule]{ + OutputState: o.OutputState, + } +} + // Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*". func (o UrlDispatchRuleOutput) Domain() pulumi.StringPtrOutput { return o.ApplyT(func(v UrlDispatchRule) *string { return v.Domain }).(pulumi.StringPtrOutput) @@ -6978,6 +7897,12 @@ func (o UrlDispatchRuleArrayOutput) ToUrlDispatchRuleArrayOutputWithContext(ctx return o } +func (o UrlDispatchRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlDispatchRule] { + return pulumix.Output[[]UrlDispatchRule]{ + OutputState: o.OutputState, + } +} + func (o UrlDispatchRuleArrayOutput) Index(i pulumi.IntInput) UrlDispatchRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlDispatchRule { return vs[0].([]UrlDispatchRule)[vs[1].(int)] @@ -7009,6 +7934,12 @@ func (o UrlDispatchRuleResponseOutput) ToUrlDispatchRuleResponseOutputWithContex return o } +func (o UrlDispatchRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlDispatchRuleResponse] { + return pulumix.Output[UrlDispatchRuleResponse]{ + OutputState: o.OutputState, + } +} + // Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*". func (o UrlDispatchRuleResponseOutput) Domain() pulumi.StringOutput { return o.ApplyT(func(v UrlDispatchRuleResponse) string { return v.Domain }).(pulumi.StringOutput) @@ -7038,6 +7969,12 @@ func (o UrlDispatchRuleResponseArrayOutput) ToUrlDispatchRuleResponseArrayOutput return o } +func (o UrlDispatchRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlDispatchRuleResponse] { + return pulumix.Output[[]UrlDispatchRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o UrlDispatchRuleResponseArrayOutput) Index(i pulumi.IntInput) UrlDispatchRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlDispatchRuleResponse { return vs[0].([]UrlDispatchRuleResponse)[vs[1].(int)] @@ -7107,6 +8044,12 @@ func (i UrlMapArgs) ToUrlMapOutputWithContext(ctx context.Context) UrlMapOutput return pulumi.ToOutputWithContext(ctx, i).(UrlMapOutput) } +func (i UrlMapArgs) ToOutput(ctx context.Context) pulumix.Output[UrlMap] { + return pulumix.Output[UrlMap]{ + OutputState: i.ToUrlMapOutputWithContext(ctx).OutputState, + } +} + // UrlMapArrayInput is an input type that accepts UrlMapArray and UrlMapArrayOutput values. // You can construct a concrete instance of `UrlMapArrayInput` via: // @@ -7132,6 +8075,12 @@ func (i UrlMapArray) ToUrlMapArrayOutputWithContext(ctx context.Context) UrlMapA return pulumi.ToOutputWithContext(ctx, i).(UrlMapArrayOutput) } +func (i UrlMapArray) ToOutput(ctx context.Context) pulumix.Output[[]UrlMap] { + return pulumix.Output[[]UrlMap]{ + OutputState: i.ToUrlMapArrayOutputWithContext(ctx).OutputState, + } +} + // URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript. type UrlMapOutput struct{ *pulumi.OutputState } @@ -7147,6 +8096,12 @@ func (o UrlMapOutput) ToUrlMapOutputWithContext(ctx context.Context) UrlMapOutpu return o } +func (o UrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMap] { + return pulumix.Output[UrlMap]{ + OutputState: o.OutputState, + } +} + // Uses API Endpoints to handle requests. func (o UrlMapOutput) ApiEndpoint() ApiEndpointHandlerPtrOutput { return o.ApplyT(func(v UrlMap) *ApiEndpointHandler { return v.ApiEndpoint }).(ApiEndpointHandlerPtrOutput) @@ -7201,6 +8156,12 @@ func (o UrlMapArrayOutput) ToUrlMapArrayOutputWithContext(ctx context.Context) U return o } +func (o UrlMapArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMap] { + return pulumix.Output[[]UrlMap]{ + OutputState: o.OutputState, + } +} + func (o UrlMapArrayOutput) Index(i pulumi.IntInput) UrlMapOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMap { return vs[0].([]UrlMap)[vs[1].(int)] @@ -7242,6 +8203,12 @@ func (o UrlMapResponseOutput) ToUrlMapResponseOutputWithContext(ctx context.Cont return o } +func (o UrlMapResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapResponse] { + return pulumix.Output[UrlMapResponse]{ + OutputState: o.OutputState, + } +} + // Uses API Endpoints to handle requests. func (o UrlMapResponseOutput) ApiEndpoint() ApiEndpointHandlerResponseOutput { return o.ApplyT(func(v UrlMapResponse) ApiEndpointHandlerResponse { return v.ApiEndpoint }).(ApiEndpointHandlerResponseOutput) @@ -7296,6 +8263,12 @@ func (o UrlMapResponseArrayOutput) ToUrlMapResponseArrayOutputWithContext(ctx co return o } +func (o UrlMapResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapResponse] { + return pulumix.Output[[]UrlMapResponse]{ + OutputState: o.OutputState, + } +} + func (o UrlMapResponseArrayOutput) Index(i pulumi.IntInput) UrlMapResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapResponse { return vs[0].([]UrlMapResponse)[vs[1].(int)] @@ -7345,6 +8318,12 @@ func (i VolumeArgs) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput return pulumi.ToOutputWithContext(ctx, i).(VolumeOutput) } +func (i VolumeArgs) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: i.ToVolumeOutputWithContext(ctx).OutputState, + } +} + // VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. // You can construct a concrete instance of `VolumeArrayInput` via: // @@ -7370,6 +8349,12 @@ func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeA return pulumi.ToOutputWithContext(ctx, i).(VolumeArrayOutput) } +func (i VolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: i.ToVolumeArrayOutputWithContext(ctx).OutputState, + } +} + // Volumes mounted within the app container. Only applicable in the App Engine flexible environment. type VolumeOutput struct{ *pulumi.OutputState } @@ -7385,6 +8370,12 @@ func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutpu return o } +func (o VolumeOutput) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: o.OutputState, + } +} + // Unique name for the volume. func (o VolumeOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Volume) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -7414,6 +8405,12 @@ func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) V return o } +func (o VolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: o.OutputState, + } +} + func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Volume { return vs[0].([]Volume)[vs[1].(int)] @@ -7445,6 +8442,12 @@ func (o VolumeResponseOutput) ToVolumeResponseOutputWithContext(ctx context.Cont return o } +func (o VolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeResponse] { + return pulumix.Output[VolumeResponse]{ + OutputState: o.OutputState, + } +} + // Unique name for the volume. func (o VolumeResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v VolumeResponse) string { return v.Name }).(pulumi.StringOutput) @@ -7474,6 +8477,12 @@ func (o VolumeResponseArrayOutput) ToVolumeResponseArrayOutputWithContext(ctx co return o } +func (o VolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VolumeResponse] { + return pulumix.Output[[]VolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o VolumeResponseArrayOutput) Index(i pulumi.IntInput) VolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeResponse { return vs[0].([]VolumeResponse)[vs[1].(int)] @@ -7519,6 +8528,12 @@ func (i VpcAccessConnectorArgs) ToVpcAccessConnectorOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(VpcAccessConnectorOutput) } +func (i VpcAccessConnectorArgs) ToOutput(ctx context.Context) pulumix.Output[VpcAccessConnector] { + return pulumix.Output[VpcAccessConnector]{ + OutputState: i.ToVpcAccessConnectorOutputWithContext(ctx).OutputState, + } +} + func (i VpcAccessConnectorArgs) ToVpcAccessConnectorPtrOutput() VpcAccessConnectorPtrOutput { return i.ToVpcAccessConnectorPtrOutputWithContext(context.Background()) } @@ -7560,6 +8575,12 @@ func (i *vpcAccessConnectorPtrType) ToVpcAccessConnectorPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(VpcAccessConnectorPtrOutput) } +func (i *vpcAccessConnectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*VpcAccessConnector] { + return pulumix.Output[*VpcAccessConnector]{ + OutputState: i.ToVpcAccessConnectorPtrOutputWithContext(ctx).OutputState, + } +} + // VPC access connector specification. type VpcAccessConnectorOutput struct{ *pulumi.OutputState } @@ -7585,6 +8606,12 @@ func (o VpcAccessConnectorOutput) ToVpcAccessConnectorPtrOutputWithContext(ctx c }).(VpcAccessConnectorPtrOutput) } +func (o VpcAccessConnectorOutput) ToOutput(ctx context.Context) pulumix.Output[VpcAccessConnector] { + return pulumix.Output[VpcAccessConnector]{ + OutputState: o.OutputState, + } +} + // The egress setting for the connector, controlling what traffic is diverted through it. func (o VpcAccessConnectorOutput) EgressSetting() VpcAccessConnectorEgressSettingPtrOutput { return o.ApplyT(func(v VpcAccessConnector) *VpcAccessConnectorEgressSetting { return v.EgressSetting }).(VpcAccessConnectorEgressSettingPtrOutput) @@ -7609,6 +8636,12 @@ func (o VpcAccessConnectorPtrOutput) ToVpcAccessConnectorPtrOutputWithContext(ct return o } +func (o VpcAccessConnectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcAccessConnector] { + return pulumix.Output[*VpcAccessConnector]{ + OutputState: o.OutputState, + } +} + func (o VpcAccessConnectorPtrOutput) Elem() VpcAccessConnectorOutput { return o.ApplyT(func(v *VpcAccessConnector) VpcAccessConnector { if v != nil { @@ -7662,6 +8695,12 @@ func (o VpcAccessConnectorResponseOutput) ToVpcAccessConnectorResponseOutputWith return o } +func (o VpcAccessConnectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcAccessConnectorResponse] { + return pulumix.Output[VpcAccessConnectorResponse]{ + OutputState: o.OutputState, + } +} + // The egress setting for the connector, controlling what traffic is diverted through it. func (o VpcAccessConnectorResponseOutput) EgressSetting() pulumi.StringOutput { return o.ApplyT(func(v VpcAccessConnectorResponse) string { return v.EgressSetting }).(pulumi.StringOutput) @@ -7711,6 +8750,12 @@ func (i ZipInfoArgs) ToZipInfoOutputWithContext(ctx context.Context) ZipInfoOutp return pulumi.ToOutputWithContext(ctx, i).(ZipInfoOutput) } +func (i ZipInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ZipInfo] { + return pulumix.Output[ZipInfo]{ + OutputState: i.ToZipInfoOutputWithContext(ctx).OutputState, + } +} + func (i ZipInfoArgs) ToZipInfoPtrOutput() ZipInfoPtrOutput { return i.ToZipInfoPtrOutputWithContext(context.Background()) } @@ -7752,6 +8797,12 @@ func (i *zipInfoPtrType) ToZipInfoPtrOutputWithContext(ctx context.Context) ZipI return pulumi.ToOutputWithContext(ctx, i).(ZipInfoPtrOutput) } +func (i *zipInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*ZipInfo] { + return pulumix.Output[*ZipInfo]{ + OutputState: i.ToZipInfoPtrOutputWithContext(ctx).OutputState, + } +} + // The zip file information for a zip deployment. type ZipInfoOutput struct{ *pulumi.OutputState } @@ -7777,6 +8828,12 @@ func (o ZipInfoOutput) ToZipInfoPtrOutputWithContext(ctx context.Context) ZipInf }).(ZipInfoPtrOutput) } +func (o ZipInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ZipInfo] { + return pulumix.Output[ZipInfo]{ + OutputState: o.OutputState, + } +} + // An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow. func (o ZipInfoOutput) FilesCount() pulumi.IntPtrOutput { return o.ApplyT(func(v ZipInfo) *int { return v.FilesCount }).(pulumi.IntPtrOutput) @@ -7801,6 +8858,12 @@ func (o ZipInfoPtrOutput) ToZipInfoPtrOutputWithContext(ctx context.Context) Zip return o } +func (o ZipInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ZipInfo] { + return pulumix.Output[*ZipInfo]{ + OutputState: o.OutputState, + } +} + func (o ZipInfoPtrOutput) Elem() ZipInfoOutput { return o.ApplyT(func(v *ZipInfo) ZipInfo { if v != nil { @@ -7854,6 +8917,12 @@ func (o ZipInfoResponseOutput) ToZipInfoResponseOutputWithContext(ctx context.Co return o } +func (o ZipInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ZipInfoResponse] { + return pulumix.Output[ZipInfoResponse]{ + OutputState: o.OutputState, + } +} + // An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow. func (o ZipInfoResponseOutput) FilesCount() pulumi.IntOutput { return o.ApplyT(func(v ZipInfoResponse) int { return v.FilesCount }).(pulumi.IntOutput) diff --git a/sdk/go/google/appengine/v1/version.go b/sdk/go/google/appengine/v1/version.go index 557f1405ef..1fa6852e9c 100644 --- a/sdk/go/google/appengine/v1/version.go +++ b/sdk/go/google/appengine/v1/version.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Deploys code and resource files to a new version. @@ -335,6 +336,12 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -349,6 +356,12 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + // Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set. func (o VersionOutput) ApiConfig() ApiConfigHandlerResponseOutput { return o.ApplyT(func(v *Version) ApiConfigHandlerResponseOutput { return v.ApiConfig }).(ApiConfigHandlerResponseOutput) diff --git a/sdk/go/google/appengine/v1alpha/authorizedCertificate.go b/sdk/go/google/appengine/v1alpha/authorizedCertificate.go index 97409e4275..23e67171d5 100644 --- a/sdk/go/google/appengine/v1alpha/authorizedCertificate.go +++ b/sdk/go/google/appengine/v1alpha/authorizedCertificate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Uploads the specified SSL certificate. @@ -122,6 +123,12 @@ func (i *AuthorizedCertificate) ToAuthorizedCertificateOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AuthorizedCertificateOutput) } +func (i *AuthorizedCertificate) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedCertificate] { + return pulumix.Output[*AuthorizedCertificate]{ + OutputState: i.ToAuthorizedCertificateOutputWithContext(ctx).OutputState, + } +} + type AuthorizedCertificateOutput struct{ *pulumi.OutputState } func (AuthorizedCertificateOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o AuthorizedCertificateOutput) ToAuthorizedCertificateOutputWithContext(ct return o } +func (o AuthorizedCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedCertificate] { + return pulumix.Output[*AuthorizedCertificate]{ + OutputState: o.OutputState, + } +} + func (o AuthorizedCertificateOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *AuthorizedCertificate) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/appengine/v1alpha/domainMapping.go b/sdk/go/google/appengine/v1alpha/domainMapping.go index 541bef6ebb..6e359cd6b3 100644 --- a/sdk/go/google/appengine/v1alpha/domainMapping.go +++ b/sdk/go/google/appengine/v1alpha/domainMapping.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains. @@ -124,6 +125,12 @@ func (i *DomainMapping) ToDomainMappingOutputWithContext(ctx context.Context) Do return pulumi.ToOutputWithContext(ctx, i).(DomainMappingOutput) } +func (i *DomainMapping) ToOutput(ctx context.Context) pulumix.Output[*DomainMapping] { + return pulumix.Output[*DomainMapping]{ + OutputState: i.ToDomainMappingOutputWithContext(ctx).OutputState, + } +} + type DomainMappingOutput struct{ *pulumi.OutputState } func (DomainMappingOutput) ElementType() reflect.Type { @@ -138,6 +145,12 @@ func (o DomainMappingOutput) ToDomainMappingOutputWithContext(ctx context.Contex return o } +func (o DomainMappingOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainMapping] { + return pulumix.Output[*DomainMapping]{ + OutputState: o.OutputState, + } +} + func (o DomainMappingOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *DomainMapping) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/appengine/v1alpha/getAuthorizedCertificate.go b/sdk/go/google/appengine/v1alpha/getAuthorizedCertificate.go index de34fa58e9..edd7cb452f 100644 --- a/sdk/go/google/appengine/v1alpha/getAuthorizedCertificate.go +++ b/sdk/go/google/appengine/v1alpha/getAuthorizedCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified SSL certificate. @@ -84,6 +85,12 @@ func (o LookupAuthorizedCertificateResultOutput) ToLookupAuthorizedCertificateRe return o } +func (o LookupAuthorizedCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthorizedCertificateResult] { + return pulumix.Output[LookupAuthorizedCertificateResult]{ + OutputState: o.OutputState, + } +} + // The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority. func (o LookupAuthorizedCertificateResultOutput) CertificateRawData() CertificateRawDataResponseOutput { return o.ApplyT(func(v LookupAuthorizedCertificateResult) CertificateRawDataResponse { return v.CertificateRawData }).(CertificateRawDataResponseOutput) diff --git a/sdk/go/google/appengine/v1alpha/getDomainMapping.go b/sdk/go/google/appengine/v1alpha/getDomainMapping.go index 77636e685d..8c49dad336 100644 --- a/sdk/go/google/appengine/v1alpha/getDomainMapping.go +++ b/sdk/go/google/appengine/v1alpha/getDomainMapping.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified domain mapping. @@ -72,6 +73,12 @@ func (o LookupDomainMappingResultOutput) ToLookupDomainMappingResultOutputWithCo return o } +func (o LookupDomainMappingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainMappingResult] { + return pulumix.Output[LookupDomainMappingResult]{ + OutputState: o.OutputState, + } +} + // Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com. func (o LookupDomainMappingResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupDomainMappingResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1alpha/pulumiTypes.go b/sdk/go/google/appengine/v1alpha/pulumiTypes.go index 6425fb0b80..87da2d15b6 100644 --- a/sdk/go/google/appengine/v1alpha/pulumiTypes.go +++ b/sdk/go/google/appengine/v1alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i CertificateRawDataArgs) ToCertificateRawDataOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CertificateRawDataOutput) } +func (i CertificateRawDataArgs) ToOutput(ctx context.Context) pulumix.Output[CertificateRawData] { + return pulumix.Output[CertificateRawData]{ + OutputState: i.ToCertificateRawDataOutputWithContext(ctx).OutputState, + } +} + func (i CertificateRawDataArgs) ToCertificateRawDataPtrOutput() CertificateRawDataPtrOutput { return i.ToCertificateRawDataPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *certificateRawDataPtrType) ToCertificateRawDataPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CertificateRawDataPtrOutput) } +func (i *certificateRawDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*CertificateRawData] { + return pulumix.Output[*CertificateRawData]{ + OutputState: i.ToCertificateRawDataPtrOutputWithContext(ctx).OutputState, + } +} + // An SSL certificate obtained from a certificate authority. type CertificateRawDataOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o CertificateRawDataOutput) ToCertificateRawDataPtrOutputWithContext(ctx c }).(CertificateRawDataPtrOutput) } +func (o CertificateRawDataOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateRawData] { + return pulumix.Output[CertificateRawData]{ + OutputState: o.OutputState, + } +} + // Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly func (o CertificateRawDataOutput) PrivateKey() pulumi.StringPtrOutput { return o.ApplyT(func(v CertificateRawData) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) @@ -142,6 +161,12 @@ func (o CertificateRawDataPtrOutput) ToCertificateRawDataPtrOutputWithContext(ct return o } +func (o CertificateRawDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateRawData] { + return pulumix.Output[*CertificateRawData]{ + OutputState: o.OutputState, + } +} + func (o CertificateRawDataPtrOutput) Elem() CertificateRawDataOutput { return o.ApplyT(func(v *CertificateRawData) CertificateRawData { if v != nil { @@ -195,6 +220,12 @@ func (o CertificateRawDataResponseOutput) ToCertificateRawDataResponseOutputWith return o } +func (o CertificateRawDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateRawDataResponse] { + return pulumix.Output[CertificateRawDataResponse]{ + OutputState: o.OutputState, + } +} + // Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly func (o CertificateRawDataResponseOutput) PrivateKey() pulumi.StringOutput { return o.ApplyT(func(v CertificateRawDataResponse) string { return v.PrivateKey }).(pulumi.StringOutput) @@ -228,6 +259,12 @@ func (o ManagedCertificateResponseOutput) ToManagedCertificateResponseOutputWith return o } +func (o ManagedCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedCertificateResponse] { + return pulumix.Output[ManagedCertificateResponse]{ + OutputState: o.OutputState, + } +} + // Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus. func (o ManagedCertificateResponseOutput) LastRenewalTime() pulumi.StringOutput { return o.ApplyT(func(v ManagedCertificateResponse) string { return v.LastRenewalTime }).(pulumi.StringOutput) @@ -263,6 +300,12 @@ func (o ResourceRecordResponseOutput) ToResourceRecordResponseOutputWithContext( return o } +func (o ResourceRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceRecordResponse] { + return pulumix.Output[ResourceRecordResponse]{ + OutputState: o.OutputState, + } +} + // Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'. func (o ResourceRecordResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v ResourceRecordResponse) string { return v.Name }).(pulumi.StringOutput) @@ -292,6 +335,12 @@ func (o ResourceRecordResponseArrayOutput) ToResourceRecordResponseArrayOutputWi return o } +func (o ResourceRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceRecordResponse] { + return pulumix.Output[[]ResourceRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordResponseArrayOutput) Index(i pulumi.IntInput) ResourceRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceRecordResponse { return vs[0].([]ResourceRecordResponse)[vs[1].(int)] @@ -333,6 +382,12 @@ func (i SslSettingsArgs) ToSslSettingsOutputWithContext(ctx context.Context) Ssl return pulumi.ToOutputWithContext(ctx, i).(SslSettingsOutput) } +func (i SslSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[SslSettings] { + return pulumix.Output[SslSettings]{ + OutputState: i.ToSslSettingsOutputWithContext(ctx).OutputState, + } +} + func (i SslSettingsArgs) ToSslSettingsPtrOutput() SslSettingsPtrOutput { return i.ToSslSettingsPtrOutputWithContext(context.Background()) } @@ -374,6 +429,12 @@ func (i *sslSettingsPtrType) ToSslSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SslSettingsPtrOutput) } +func (i *sslSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SslSettings] { + return pulumix.Output[*SslSettings]{ + OutputState: i.ToSslSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // SSL configuration for a DomainMapping resource. type SslSettingsOutput struct{ *pulumi.OutputState } @@ -399,6 +460,12 @@ func (o SslSettingsOutput) ToSslSettingsPtrOutputWithContext(ctx context.Context }).(SslSettingsPtrOutput) } +func (o SslSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[SslSettings] { + return pulumix.Output[SslSettings]{ + OutputState: o.OutputState, + } +} + // ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345. func (o SslSettingsOutput) CertificateId() pulumi.StringPtrOutput { return o.ApplyT(func(v SslSettings) *string { return v.CertificateId }).(pulumi.StringPtrOutput) @@ -418,6 +485,12 @@ func (o SslSettingsPtrOutput) ToSslSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o SslSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslSettings] { + return pulumix.Output[*SslSettings]{ + OutputState: o.OutputState, + } +} + func (o SslSettingsPtrOutput) Elem() SslSettingsOutput { return o.ApplyT(func(v *SslSettings) SslSettings { if v != nil { @@ -461,6 +534,12 @@ func (o SslSettingsResponseOutput) ToSslSettingsResponseOutputWithContext(ctx co return o } +func (o SslSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslSettingsResponse] { + return pulumix.Output[SslSettingsResponse]{ + OutputState: o.OutputState, + } +} + // ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify no_managed_certificate on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345. func (o SslSettingsResponseOutput) CertificateId() pulumi.StringOutput { return o.ApplyT(func(v SslSettingsResponse) string { return v.CertificateId }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1beta/app.go b/sdk/go/google/appengine/v1beta/app.go index 76d628dd39..2aaa9dc1b1 100644 --- a/sdk/go/google/appengine/v1beta/app.go +++ b/sdk/go/google/appengine/v1beta/app.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/). @@ -160,6 +161,12 @@ func (i *App) ToAppOutputWithContext(ctx context.Context) AppOutput { return pulumi.ToOutputWithContext(ctx, i).(AppOutput) } +func (i *App) ToOutput(ctx context.Context) pulumix.Output[*App] { + return pulumix.Output[*App]{ + OutputState: i.ToAppOutputWithContext(ctx).OutputState, + } +} + type AppOutput struct{ *pulumi.OutputState } func (AppOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput { return o } +func (o AppOutput) ToOutput(ctx context.Context) pulumix.Output[*App] { + return pulumix.Output[*App]{ + OutputState: o.OutputState, + } +} + // Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. func (o AppOutput) AuthDomain() pulumi.StringOutput { return o.ApplyT(func(v *App) pulumi.StringOutput { return v.AuthDomain }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1beta/application.go b/sdk/go/google/appengine/v1beta/application.go index ad5cc79794..188b46f19f 100644 --- a/sdk/go/google/appengine/v1beta/application.go +++ b/sdk/go/google/appengine/v1beta/application.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/). @@ -161,6 +162,12 @@ func (i *Application) ToApplicationOutputWithContext(ctx context.Context) Applic return pulumi.ToOutputWithContext(ctx, i).(ApplicationOutput) } +func (i *Application) ToOutput(ctx context.Context) pulumix.Output[*Application] { + return pulumix.Output[*Application]{ + OutputState: i.ToApplicationOutputWithContext(ctx).OutputState, + } +} + type ApplicationOutput struct{ *pulumi.OutputState } func (ApplicationOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) A return o } +func (o ApplicationOutput) ToOutput(ctx context.Context) pulumix.Output[*Application] { + return pulumix.Output[*Application]{ + OutputState: o.OutputState, + } +} + // Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. func (o ApplicationOutput) AuthDomain() pulumi.StringOutput { return o.ApplyT(func(v *Application) pulumi.StringOutput { return v.AuthDomain }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1beta/authorizedCertificate.go b/sdk/go/google/appengine/v1beta/authorizedCertificate.go index a49057a8f1..2970d83a74 100644 --- a/sdk/go/google/appengine/v1beta/authorizedCertificate.go +++ b/sdk/go/google/appengine/v1beta/authorizedCertificate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Uploads the specified SSL certificate. @@ -122,6 +123,12 @@ func (i *AuthorizedCertificate) ToAuthorizedCertificateOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AuthorizedCertificateOutput) } +func (i *AuthorizedCertificate) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedCertificate] { + return pulumix.Output[*AuthorizedCertificate]{ + OutputState: i.ToAuthorizedCertificateOutputWithContext(ctx).OutputState, + } +} + type AuthorizedCertificateOutput struct{ *pulumi.OutputState } func (AuthorizedCertificateOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o AuthorizedCertificateOutput) ToAuthorizedCertificateOutputWithContext(ct return o } +func (o AuthorizedCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizedCertificate] { + return pulumix.Output[*AuthorizedCertificate]{ + OutputState: o.OutputState, + } +} + func (o AuthorizedCertificateOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *AuthorizedCertificate) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/appengine/v1beta/domainMapping.go b/sdk/go/google/appengine/v1beta/domainMapping.go index b9f0b6938a..f23690f6df 100644 --- a/sdk/go/google/appengine/v1beta/domainMapping.go +++ b/sdk/go/google/appengine/v1beta/domainMapping.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains. @@ -118,6 +119,12 @@ func (i *DomainMapping) ToDomainMappingOutputWithContext(ctx context.Context) Do return pulumi.ToOutputWithContext(ctx, i).(DomainMappingOutput) } +func (i *DomainMapping) ToOutput(ctx context.Context) pulumix.Output[*DomainMapping] { + return pulumix.Output[*DomainMapping]{ + OutputState: i.ToDomainMappingOutputWithContext(ctx).OutputState, + } +} + type DomainMappingOutput struct{ *pulumi.OutputState } func (DomainMappingOutput) ElementType() reflect.Type { @@ -132,6 +139,12 @@ func (o DomainMappingOutput) ToDomainMappingOutputWithContext(ctx context.Contex return o } +func (o DomainMappingOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainMapping] { + return pulumix.Output[*DomainMapping]{ + OutputState: o.OutputState, + } +} + func (o DomainMappingOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *DomainMapping) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/appengine/v1beta/getApp.go b/sdk/go/google/appengine/v1beta/getApp.go index 240ad62ec0..7f47604bfe 100644 --- a/sdk/go/google/appengine/v1beta/getApp.go +++ b/sdk/go/google/appengine/v1beta/getApp.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about an application. @@ -91,6 +92,12 @@ func (o LookupAppResultOutput) ToLookupAppResultOutputWithContext(ctx context.Co return o } +func (o LookupAppResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppResult] { + return pulumix.Output[LookupAppResult]{ + OutputState: o.OutputState, + } +} + // Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. func (o LookupAppResultOutput) AuthDomain() pulumi.StringOutput { return o.ApplyT(func(v LookupAppResult) string { return v.AuthDomain }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1beta/getApplication.go b/sdk/go/google/appengine/v1beta/getApplication.go index b2904667b4..191577c697 100644 --- a/sdk/go/google/appengine/v1beta/getApplication.go +++ b/sdk/go/google/appengine/v1beta/getApplication.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about an application. @@ -95,6 +96,12 @@ func (o LookupApplicationResultOutput) ToLookupApplicationResultOutputWithContex return o } +func (o LookupApplicationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApplicationResult] { + return pulumix.Output[LookupApplicationResult]{ + OutputState: o.OutputState, + } +} + // Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. func (o LookupApplicationResultOutput) AuthDomain() pulumi.StringOutput { return o.ApplyT(func(v LookupApplicationResult) string { return v.AuthDomain }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1beta/getAuthorizedCertificate.go b/sdk/go/google/appengine/v1beta/getAuthorizedCertificate.go index bee149f606..f2155b9a34 100644 --- a/sdk/go/google/appengine/v1beta/getAuthorizedCertificate.go +++ b/sdk/go/google/appengine/v1beta/getAuthorizedCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified SSL certificate. @@ -84,6 +85,12 @@ func (o LookupAuthorizedCertificateResultOutput) ToLookupAuthorizedCertificateRe return o } +func (o LookupAuthorizedCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthorizedCertificateResult] { + return pulumix.Output[LookupAuthorizedCertificateResult]{ + OutputState: o.OutputState, + } +} + // The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority. func (o LookupAuthorizedCertificateResultOutput) CertificateRawData() CertificateRawDataResponseOutput { return o.ApplyT(func(v LookupAuthorizedCertificateResult) CertificateRawDataResponse { return v.CertificateRawData }).(CertificateRawDataResponseOutput) diff --git a/sdk/go/google/appengine/v1beta/getDomainMapping.go b/sdk/go/google/appengine/v1beta/getDomainMapping.go index d933314200..14f9373ea1 100644 --- a/sdk/go/google/appengine/v1beta/getDomainMapping.go +++ b/sdk/go/google/appengine/v1beta/getDomainMapping.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified domain mapping. @@ -72,6 +73,12 @@ func (o LookupDomainMappingResultOutput) ToLookupDomainMappingResultOutputWithCo return o } +func (o LookupDomainMappingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainMappingResult] { + return pulumix.Output[LookupDomainMappingResult]{ + OutputState: o.OutputState, + } +} + // Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com. func (o LookupDomainMappingResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupDomainMappingResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1beta/getIngressRule.go b/sdk/go/google/appengine/v1beta/getIngressRule.go index bd57120fea..99be8daef5 100644 --- a/sdk/go/google/appengine/v1beta/getIngressRule.go +++ b/sdk/go/google/appengine/v1beta/getIngressRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified firewall rule. @@ -74,6 +75,12 @@ func (o LookupIngressRuleResultOutput) ToLookupIngressRuleResultOutputWithContex return o } +func (o LookupIngressRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIngressRuleResult] { + return pulumix.Output[LookupIngressRuleResult]{ + OutputState: o.OutputState, + } +} + // The action to take on matched requests. func (o LookupIngressRuleResultOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v LookupIngressRuleResult) string { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1beta/getVersion.go b/sdk/go/google/appengine/v1beta/getVersion.go index b820481e93..d5dd45d295 100644 --- a/sdk/go/google/appengine/v1beta/getVersion.go +++ b/sdk/go/google/appengine/v1beta/getVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource. @@ -152,6 +153,12 @@ func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx co return o } +func (o LookupVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionResult] { + return pulumix.Output[LookupVersionResult]{ + OutputState: o.OutputState, + } +} + // Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set. func (o LookupVersionResultOutput) ApiConfig() ApiConfigHandlerResponseOutput { return o.ApplyT(func(v LookupVersionResult) ApiConfigHandlerResponse { return v.ApiConfig }).(ApiConfigHandlerResponseOutput) diff --git a/sdk/go/google/appengine/v1beta/ingressRule.go b/sdk/go/google/appengine/v1beta/ingressRule.go index ed188b43e0..96cb1fbf78 100644 --- a/sdk/go/google/appengine/v1beta/ingressRule.go +++ b/sdk/go/google/appengine/v1beta/ingressRule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a firewall rule for the application. @@ -122,6 +123,12 @@ func (i *IngressRule) ToIngressRuleOutputWithContext(ctx context.Context) Ingres return pulumi.ToOutputWithContext(ctx, i).(IngressRuleOutput) } +func (i *IngressRule) ToOutput(ctx context.Context) pulumix.Output[*IngressRule] { + return pulumix.Output[*IngressRule]{ + OutputState: i.ToIngressRuleOutputWithContext(ctx).OutputState, + } +} + type IngressRuleOutput struct{ *pulumi.OutputState } func (IngressRuleOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o IngressRuleOutput) ToIngressRuleOutputWithContext(ctx context.Context) I return o } +func (o IngressRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*IngressRule] { + return pulumix.Output[*IngressRule]{ + OutputState: o.OutputState, + } +} + // The action to take on matched requests. func (o IngressRuleOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v *IngressRule) pulumi.StringOutput { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/appengine/v1beta/pulumiEnums.go b/sdk/go/google/appengine/v1beta/pulumiEnums.go index ddaf2529e4..f660d1153a 100644 --- a/sdk/go/google/appengine/v1beta/pulumiEnums.go +++ b/sdk/go/google/appengine/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Action to take when users access resources that require authentication. Defaults to redirect. @@ -82,6 +83,12 @@ func (o ApiConfigHandlerAuthFailActionOutput) ToApiConfigHandlerAuthFailActionPt }).(ApiConfigHandlerAuthFailActionPtrOutput) } +func (o ApiConfigHandlerAuthFailActionOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandlerAuthFailAction] { + return pulumix.Output[ApiConfigHandlerAuthFailAction]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerAuthFailActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o ApiConfigHandlerAuthFailActionPtrOutput) ToApiConfigHandlerAuthFailActio return o } +func (o ApiConfigHandlerAuthFailActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerAuthFailAction] { + return pulumix.Output[*ApiConfigHandlerAuthFailAction]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerAuthFailActionPtrOutput) Elem() ApiConfigHandlerAuthFailActionOutput { return o.ApplyT(func(v *ApiConfigHandlerAuthFailAction) ApiConfigHandlerAuthFailAction { if v != nil { @@ -179,6 +192,12 @@ func (in *apiConfigHandlerAuthFailActionPtr) ToApiConfigHandlerAuthFailActionPtr return pulumi.ToOutputWithContext(ctx, in).(ApiConfigHandlerAuthFailActionPtrOutput) } +func (in *apiConfigHandlerAuthFailActionPtr) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerAuthFailAction] { + return pulumix.Output[*ApiConfigHandlerAuthFailAction]{ + OutputState: in.ToApiConfigHandlerAuthFailActionPtrOutputWithContext(ctx).OutputState, + } +} + // Level of login required to access this resource. Defaults to optional. type ApiConfigHandlerLogin string @@ -253,6 +272,12 @@ func (o ApiConfigHandlerLoginOutput) ToApiConfigHandlerLoginPtrOutputWithContext }).(ApiConfigHandlerLoginPtrOutput) } +func (o ApiConfigHandlerLoginOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandlerLogin] { + return pulumix.Output[ApiConfigHandlerLogin]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerLoginOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o ApiConfigHandlerLoginPtrOutput) ToApiConfigHandlerLoginPtrOutputWithCont return o } +func (o ApiConfigHandlerLoginPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerLogin] { + return pulumix.Output[*ApiConfigHandlerLogin]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerLoginPtrOutput) Elem() ApiConfigHandlerLoginOutput { return o.ApplyT(func(v *ApiConfigHandlerLogin) ApiConfigHandlerLogin { if v != nil { @@ -350,6 +381,12 @@ func (in *apiConfigHandlerLoginPtr) ToApiConfigHandlerLoginPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ApiConfigHandlerLoginPtrOutput) } +func (in *apiConfigHandlerLoginPtr) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerLogin] { + return pulumix.Output[*ApiConfigHandlerLogin]{ + OutputState: in.ToApiConfigHandlerLoginPtrOutputWithContext(ctx).OutputState, + } +} + // Security (HTTPS) enforcement for this URL. type ApiConfigHandlerSecurityLevel string @@ -426,6 +463,12 @@ func (o ApiConfigHandlerSecurityLevelOutput) ToApiConfigHandlerSecurityLevelPtrO }).(ApiConfigHandlerSecurityLevelPtrOutput) } +func (o ApiConfigHandlerSecurityLevelOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandlerSecurityLevel] { + return pulumix.Output[ApiConfigHandlerSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerSecurityLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o ApiConfigHandlerSecurityLevelPtrOutput) ToApiConfigHandlerSecurityLevelP return o } +func (o ApiConfigHandlerSecurityLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerSecurityLevel] { + return pulumix.Output[*ApiConfigHandlerSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerSecurityLevelPtrOutput) Elem() ApiConfigHandlerSecurityLevelOutput { return o.ApplyT(func(v *ApiConfigHandlerSecurityLevel) ApiConfigHandlerSecurityLevel { if v != nil { @@ -523,6 +572,12 @@ func (in *apiConfigHandlerSecurityLevelPtr) ToApiConfigHandlerSecurityLevelPtrOu return pulumi.ToOutputWithContext(ctx, in).(ApiConfigHandlerSecurityLevelPtrOutput) } +func (in *apiConfigHandlerSecurityLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandlerSecurityLevel] { + return pulumix.Output[*ApiConfigHandlerSecurityLevel]{ + OutputState: in.ToApiConfigHandlerSecurityLevelPtrOutputWithContext(ctx).OutputState, + } +} + // The type of the Cloud Firestore or Cloud Datastore database associated with this application. type AppDatabaseType string @@ -597,6 +652,12 @@ func (o AppDatabaseTypeOutput) ToAppDatabaseTypePtrOutputWithContext(ctx context }).(AppDatabaseTypePtrOutput) } +func (o AppDatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AppDatabaseType] { + return pulumix.Output[AppDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o AppDatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -632,6 +693,12 @@ func (o AppDatabaseTypePtrOutput) ToAppDatabaseTypePtrOutputWithContext(ctx cont return o } +func (o AppDatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppDatabaseType] { + return pulumix.Output[*AppDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o AppDatabaseTypePtrOutput) Elem() AppDatabaseTypeOutput { return o.ApplyT(func(v *AppDatabaseType) AppDatabaseType { if v != nil { @@ -694,6 +761,12 @@ func (in *appDatabaseTypePtr) ToAppDatabaseTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(AppDatabaseTypePtrOutput) } +func (in *appDatabaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AppDatabaseType] { + return pulumix.Output[*AppDatabaseType]{ + OutputState: in.ToAppDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Serving status of this application. type AppServingStatus string @@ -768,6 +841,12 @@ func (o AppServingStatusOutput) ToAppServingStatusPtrOutputWithContext(ctx conte }).(AppServingStatusPtrOutput) } +func (o AppServingStatusOutput) ToOutput(ctx context.Context) pulumix.Output[AppServingStatus] { + return pulumix.Output[AppServingStatus]{ + OutputState: o.OutputState, + } +} + func (o AppServingStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -803,6 +882,12 @@ func (o AppServingStatusPtrOutput) ToAppServingStatusPtrOutputWithContext(ctx co return o } +func (o AppServingStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppServingStatus] { + return pulumix.Output[*AppServingStatus]{ + OutputState: o.OutputState, + } +} + func (o AppServingStatusPtrOutput) Elem() AppServingStatusOutput { return o.ApplyT(func(v *AppServingStatus) AppServingStatus { if v != nil { @@ -865,6 +950,12 @@ func (in *appServingStatusPtr) ToAppServingStatusPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AppServingStatusPtrOutput) } +func (in *appServingStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*AppServingStatus] { + return pulumix.Output[*AppServingStatus]{ + OutputState: in.ToAppServingStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The type of the Cloud Firestore or Cloud Datastore database associated with this application. type ApplicationDatabaseType string @@ -939,6 +1030,12 @@ func (o ApplicationDatabaseTypeOutput) ToApplicationDatabaseTypePtrOutputWithCon }).(ApplicationDatabaseTypePtrOutput) } +func (o ApplicationDatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationDatabaseType] { + return pulumix.Output[ApplicationDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o ApplicationDatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -974,6 +1071,12 @@ func (o ApplicationDatabaseTypePtrOutput) ToApplicationDatabaseTypePtrOutputWith return o } +func (o ApplicationDatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationDatabaseType] { + return pulumix.Output[*ApplicationDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o ApplicationDatabaseTypePtrOutput) Elem() ApplicationDatabaseTypeOutput { return o.ApplyT(func(v *ApplicationDatabaseType) ApplicationDatabaseType { if v != nil { @@ -1036,6 +1139,12 @@ func (in *applicationDatabaseTypePtr) ToApplicationDatabaseTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(ApplicationDatabaseTypePtrOutput) } +func (in *applicationDatabaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ApplicationDatabaseType] { + return pulumix.Output[*ApplicationDatabaseType]{ + OutputState: in.ToApplicationDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Serving status of this application. type ApplicationServingStatus string @@ -1110,6 +1219,12 @@ func (o ApplicationServingStatusOutput) ToApplicationServingStatusPtrOutputWithC }).(ApplicationServingStatusPtrOutput) } +func (o ApplicationServingStatusOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationServingStatus] { + return pulumix.Output[ApplicationServingStatus]{ + OutputState: o.OutputState, + } +} + func (o ApplicationServingStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1145,6 +1260,12 @@ func (o ApplicationServingStatusPtrOutput) ToApplicationServingStatusPtrOutputWi return o } +func (o ApplicationServingStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationServingStatus] { + return pulumix.Output[*ApplicationServingStatus]{ + OutputState: o.OutputState, + } +} + func (o ApplicationServingStatusPtrOutput) Elem() ApplicationServingStatusOutput { return o.ApplyT(func(v *ApplicationServingStatus) ApplicationServingStatus { if v != nil { @@ -1207,6 +1328,12 @@ func (in *applicationServingStatusPtr) ToApplicationServingStatusPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ApplicationServingStatusPtrOutput) } +func (in *applicationServingStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*ApplicationServingStatus] { + return pulumix.Output[*ApplicationServingStatus]{ + OutputState: in.ToApplicationServingStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted. type EndpointsApiServiceRolloutStrategy string @@ -1279,6 +1406,12 @@ func (o EndpointsApiServiceRolloutStrategyOutput) ToEndpointsApiServiceRolloutSt }).(EndpointsApiServiceRolloutStrategyPtrOutput) } +func (o EndpointsApiServiceRolloutStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointsApiServiceRolloutStrategy] { + return pulumix.Output[EndpointsApiServiceRolloutStrategy]{ + OutputState: o.OutputState, + } +} + func (o EndpointsApiServiceRolloutStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1314,6 +1447,12 @@ func (o EndpointsApiServiceRolloutStrategyPtrOutput) ToEndpointsApiServiceRollou return o } +func (o EndpointsApiServiceRolloutStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointsApiServiceRolloutStrategy] { + return pulumix.Output[*EndpointsApiServiceRolloutStrategy]{ + OutputState: o.OutputState, + } +} + func (o EndpointsApiServiceRolloutStrategyPtrOutput) Elem() EndpointsApiServiceRolloutStrategyOutput { return o.ApplyT(func(v *EndpointsApiServiceRolloutStrategy) EndpointsApiServiceRolloutStrategy { if v != nil { @@ -1376,6 +1515,12 @@ func (in *endpointsApiServiceRolloutStrategyPtr) ToEndpointsApiServiceRolloutStr return pulumi.ToOutputWithContext(ctx, in).(EndpointsApiServiceRolloutStrategyPtrOutput) } +func (in *endpointsApiServiceRolloutStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*EndpointsApiServiceRolloutStrategy] { + return pulumix.Output[*EndpointsApiServiceRolloutStrategy]{ + OutputState: in.ToEndpointsApiServiceRolloutStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Error condition this handler applies to. type ErrorHandlerErrorCode string @@ -1452,6 +1597,12 @@ func (o ErrorHandlerErrorCodeOutput) ToErrorHandlerErrorCodePtrOutputWithContext }).(ErrorHandlerErrorCodePtrOutput) } +func (o ErrorHandlerErrorCodeOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorHandlerErrorCode] { + return pulumix.Output[ErrorHandlerErrorCode]{ + OutputState: o.OutputState, + } +} + func (o ErrorHandlerErrorCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1487,6 +1638,12 @@ func (o ErrorHandlerErrorCodePtrOutput) ToErrorHandlerErrorCodePtrOutputWithCont return o } +func (o ErrorHandlerErrorCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ErrorHandlerErrorCode] { + return pulumix.Output[*ErrorHandlerErrorCode]{ + OutputState: o.OutputState, + } +} + func (o ErrorHandlerErrorCodePtrOutput) Elem() ErrorHandlerErrorCodeOutput { return o.ApplyT(func(v *ErrorHandlerErrorCode) ErrorHandlerErrorCode { if v != nil { @@ -1549,6 +1706,12 @@ func (in *errorHandlerErrorCodePtr) ToErrorHandlerErrorCodePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ErrorHandlerErrorCodePtrOutput) } +func (in *errorHandlerErrorCodePtr) ToOutput(ctx context.Context) pulumix.Output[*ErrorHandlerErrorCode] { + return pulumix.Output[*ErrorHandlerErrorCode]{ + OutputState: in.ToErrorHandlerErrorCodePtrOutputWithContext(ctx).OutputState, + } +} + // The action to take on matched requests. type IngressRuleAction string @@ -1620,6 +1783,12 @@ func (o IngressRuleActionOutput) ToIngressRuleActionPtrOutputWithContext(ctx con }).(IngressRuleActionPtrOutput) } +func (o IngressRuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[IngressRuleAction] { + return pulumix.Output[IngressRuleAction]{ + OutputState: o.OutputState, + } +} + func (o IngressRuleActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1655,6 +1824,12 @@ func (o IngressRuleActionPtrOutput) ToIngressRuleActionPtrOutputWithContext(ctx return o } +func (o IngressRuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IngressRuleAction] { + return pulumix.Output[*IngressRuleAction]{ + OutputState: o.OutputState, + } +} + func (o IngressRuleActionPtrOutput) Elem() IngressRuleActionOutput { return o.ApplyT(func(v *IngressRuleAction) IngressRuleAction { if v != nil { @@ -1717,6 +1892,12 @@ func (in *ingressRuleActionPtr) ToIngressRuleActionPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(IngressRuleActionPtrOutput) } +func (in *ingressRuleActionPtr) ToOutput(ctx context.Context) pulumix.Output[*IngressRuleAction] { + return pulumix.Output[*IngressRuleAction]{ + OutputState: in.ToIngressRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + // The IP mode for instances. Only applicable in the App Engine flexible environment. type NetworkInstanceIpMode string @@ -1789,6 +1970,12 @@ func (o NetworkInstanceIpModeOutput) ToNetworkInstanceIpModePtrOutputWithContext }).(NetworkInstanceIpModePtrOutput) } +func (o NetworkInstanceIpModeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInstanceIpMode] { + return pulumix.Output[NetworkInstanceIpMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkInstanceIpModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1824,6 +2011,12 @@ func (o NetworkInstanceIpModePtrOutput) ToNetworkInstanceIpModePtrOutputWithCont return o } +func (o NetworkInstanceIpModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkInstanceIpMode] { + return pulumix.Output[*NetworkInstanceIpMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkInstanceIpModePtrOutput) Elem() NetworkInstanceIpModeOutput { return o.ApplyT(func(v *NetworkInstanceIpMode) NetworkInstanceIpMode { if v != nil { @@ -1886,6 +2079,12 @@ func (in *networkInstanceIpModePtr) ToNetworkInstanceIpModePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(NetworkInstanceIpModePtrOutput) } +func (in *networkInstanceIpModePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkInstanceIpMode] { + return pulumix.Output[*NetworkInstanceIpMode]{ + OutputState: in.ToNetworkInstanceIpModePtrOutputWithContext(ctx).OutputState, + } +} + // SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain. type SslSettingsSslManagementType string @@ -1956,6 +2155,12 @@ func (o SslSettingsSslManagementTypeOutput) ToSslSettingsSslManagementTypePtrOut }).(SslSettingsSslManagementTypePtrOutput) } +func (o SslSettingsSslManagementTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SslSettingsSslManagementType] { + return pulumix.Output[SslSettingsSslManagementType]{ + OutputState: o.OutputState, + } +} + func (o SslSettingsSslManagementTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1991,6 +2196,12 @@ func (o SslSettingsSslManagementTypePtrOutput) ToSslSettingsSslManagementTypePtr return o } +func (o SslSettingsSslManagementTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslSettingsSslManagementType] { + return pulumix.Output[*SslSettingsSslManagementType]{ + OutputState: o.OutputState, + } +} + func (o SslSettingsSslManagementTypePtrOutput) Elem() SslSettingsSslManagementTypeOutput { return o.ApplyT(func(v *SslSettingsSslManagementType) SslSettingsSslManagementType { if v != nil { @@ -2053,6 +2264,12 @@ func (in *sslSettingsSslManagementTypePtr) ToSslSettingsSslManagementTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(SslSettingsSslManagementTypePtrOutput) } +func (in *sslSettingsSslManagementTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SslSettingsSslManagementType] { + return pulumix.Output[*SslSettingsSslManagementType]{ + OutputState: in.ToSslSettingsSslManagementTypePtrOutputWithContext(ctx).OutputState, + } +} + // Action to take when users access resources that require authentication. Defaults to redirect. type UrlMapAuthFailAction string @@ -2125,6 +2342,12 @@ func (o UrlMapAuthFailActionOutput) ToUrlMapAuthFailActionPtrOutputWithContext(c }).(UrlMapAuthFailActionPtrOutput) } +func (o UrlMapAuthFailActionOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapAuthFailAction] { + return pulumix.Output[UrlMapAuthFailAction]{ + OutputState: o.OutputState, + } +} + func (o UrlMapAuthFailActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2160,6 +2383,12 @@ func (o UrlMapAuthFailActionPtrOutput) ToUrlMapAuthFailActionPtrOutputWithContex return o } +func (o UrlMapAuthFailActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMapAuthFailAction] { + return pulumix.Output[*UrlMapAuthFailAction]{ + OutputState: o.OutputState, + } +} + func (o UrlMapAuthFailActionPtrOutput) Elem() UrlMapAuthFailActionOutput { return o.ApplyT(func(v *UrlMapAuthFailAction) UrlMapAuthFailAction { if v != nil { @@ -2222,6 +2451,12 @@ func (in *urlMapAuthFailActionPtr) ToUrlMapAuthFailActionPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(UrlMapAuthFailActionPtrOutput) } +func (in *urlMapAuthFailActionPtr) ToOutput(ctx context.Context) pulumix.Output[*UrlMapAuthFailAction] { + return pulumix.Output[*UrlMapAuthFailAction]{ + OutputState: in.ToUrlMapAuthFailActionPtrOutputWithContext(ctx).OutputState, + } +} + // Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment. type UrlMapLogin string @@ -2296,6 +2531,12 @@ func (o UrlMapLoginOutput) ToUrlMapLoginPtrOutputWithContext(ctx context.Context }).(UrlMapLoginPtrOutput) } +func (o UrlMapLoginOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapLogin] { + return pulumix.Output[UrlMapLogin]{ + OutputState: o.OutputState, + } +} + func (o UrlMapLoginOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2331,6 +2572,12 @@ func (o UrlMapLoginPtrOutput) ToUrlMapLoginPtrOutputWithContext(ctx context.Cont return o } +func (o UrlMapLoginPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMapLogin] { + return pulumix.Output[*UrlMapLogin]{ + OutputState: o.OutputState, + } +} + func (o UrlMapLoginPtrOutput) Elem() UrlMapLoginOutput { return o.ApplyT(func(v *UrlMapLogin) UrlMapLogin { if v != nil { @@ -2393,6 +2640,12 @@ func (in *urlMapLoginPtr) ToUrlMapLoginPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(UrlMapLoginPtrOutput) } +func (in *urlMapLoginPtr) ToOutput(ctx context.Context) pulumix.Output[*UrlMapLogin] { + return pulumix.Output[*UrlMapLogin]{ + OutputState: in.ToUrlMapLoginPtrOutputWithContext(ctx).OutputState, + } +} + // 30x code to use when performing redirects for the secure field. Defaults to 302. type UrlMapRedirectHttpResponseCode string @@ -2469,6 +2722,12 @@ func (o UrlMapRedirectHttpResponseCodeOutput) ToUrlMapRedirectHttpResponseCodePt }).(UrlMapRedirectHttpResponseCodePtrOutput) } +func (o UrlMapRedirectHttpResponseCodeOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapRedirectHttpResponseCode] { + return pulumix.Output[UrlMapRedirectHttpResponseCode]{ + OutputState: o.OutputState, + } +} + func (o UrlMapRedirectHttpResponseCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2504,6 +2763,12 @@ func (o UrlMapRedirectHttpResponseCodePtrOutput) ToUrlMapRedirectHttpResponseCod return o } +func (o UrlMapRedirectHttpResponseCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMapRedirectHttpResponseCode] { + return pulumix.Output[*UrlMapRedirectHttpResponseCode]{ + OutputState: o.OutputState, + } +} + func (o UrlMapRedirectHttpResponseCodePtrOutput) Elem() UrlMapRedirectHttpResponseCodeOutput { return o.ApplyT(func(v *UrlMapRedirectHttpResponseCode) UrlMapRedirectHttpResponseCode { if v != nil { @@ -2566,6 +2831,12 @@ func (in *urlMapRedirectHttpResponseCodePtr) ToUrlMapRedirectHttpResponseCodePtr return pulumi.ToOutputWithContext(ctx, in).(UrlMapRedirectHttpResponseCodePtrOutput) } +func (in *urlMapRedirectHttpResponseCodePtr) ToOutput(ctx context.Context) pulumix.Output[*UrlMapRedirectHttpResponseCode] { + return pulumix.Output[*UrlMapRedirectHttpResponseCode]{ + OutputState: in.ToUrlMapRedirectHttpResponseCodePtrOutputWithContext(ctx).OutputState, + } +} + // Security (HTTPS) enforcement for this URL. type UrlMapSecurityLevel string @@ -2642,6 +2913,12 @@ func (o UrlMapSecurityLevelOutput) ToUrlMapSecurityLevelPtrOutputWithContext(ctx }).(UrlMapSecurityLevelPtrOutput) } +func (o UrlMapSecurityLevelOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapSecurityLevel] { + return pulumix.Output[UrlMapSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o UrlMapSecurityLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2677,6 +2954,12 @@ func (o UrlMapSecurityLevelPtrOutput) ToUrlMapSecurityLevelPtrOutputWithContext( return o } +func (o UrlMapSecurityLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMapSecurityLevel] { + return pulumix.Output[*UrlMapSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o UrlMapSecurityLevelPtrOutput) Elem() UrlMapSecurityLevelOutput { return o.ApplyT(func(v *UrlMapSecurityLevel) UrlMapSecurityLevel { if v != nil { @@ -2739,6 +3022,12 @@ func (in *urlMapSecurityLevelPtr) ToUrlMapSecurityLevelPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(UrlMapSecurityLevelPtrOutput) } +func (in *urlMapSecurityLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*UrlMapSecurityLevel] { + return pulumix.Output[*UrlMapSecurityLevel]{ + OutputState: in.ToUrlMapSecurityLevelPtrOutputWithContext(ctx).OutputState, + } +} + type VersionInboundServicesItem string const ( @@ -2822,6 +3111,12 @@ func (o VersionInboundServicesItemOutput) ToVersionInboundServicesItemPtrOutputW }).(VersionInboundServicesItemPtrOutput) } +func (o VersionInboundServicesItemOutput) ToOutput(ctx context.Context) pulumix.Output[VersionInboundServicesItem] { + return pulumix.Output[VersionInboundServicesItem]{ + OutputState: o.OutputState, + } +} + func (o VersionInboundServicesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2857,6 +3152,12 @@ func (o VersionInboundServicesItemPtrOutput) ToVersionInboundServicesItemPtrOutp return o } +func (o VersionInboundServicesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionInboundServicesItem] { + return pulumix.Output[*VersionInboundServicesItem]{ + OutputState: o.OutputState, + } +} + func (o VersionInboundServicesItemPtrOutput) Elem() VersionInboundServicesItemOutput { return o.ApplyT(func(v *VersionInboundServicesItem) VersionInboundServicesItem { if v != nil { @@ -2919,6 +3220,12 @@ func (in *versionInboundServicesItemPtr) ToVersionInboundServicesItemPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(VersionInboundServicesItemPtrOutput) } +func (in *versionInboundServicesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*VersionInboundServicesItem] { + return pulumix.Output[*VersionInboundServicesItem]{ + OutputState: in.ToVersionInboundServicesItemPtrOutputWithContext(ctx).OutputState, + } +} + // VersionInboundServicesItemArrayInput is an input type that accepts VersionInboundServicesItemArray and VersionInboundServicesItemArrayOutput values. // You can construct a concrete instance of `VersionInboundServicesItemArrayInput` via: // @@ -2944,6 +3251,12 @@ func (i VersionInboundServicesItemArray) ToVersionInboundServicesItemArrayOutput return pulumi.ToOutputWithContext(ctx, i).(VersionInboundServicesItemArrayOutput) } +func (i VersionInboundServicesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]VersionInboundServicesItem] { + return pulumix.Output[[]VersionInboundServicesItem]{ + OutputState: i.ToVersionInboundServicesItemArrayOutputWithContext(ctx).OutputState, + } +} + type VersionInboundServicesItemArrayOutput struct{ *pulumi.OutputState } func (VersionInboundServicesItemArrayOutput) ElementType() reflect.Type { @@ -2958,6 +3271,12 @@ func (o VersionInboundServicesItemArrayOutput) ToVersionInboundServicesItemArray return o } +func (o VersionInboundServicesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VersionInboundServicesItem] { + return pulumix.Output[[]VersionInboundServicesItem]{ + OutputState: o.OutputState, + } +} + func (o VersionInboundServicesItemArrayOutput) Index(i pulumi.IntInput) VersionInboundServicesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VersionInboundServicesItem { return vs[0].([]VersionInboundServicesItem)[vs[1].(int)] @@ -3036,6 +3355,12 @@ func (o VersionServingStatusOutput) ToVersionServingStatusPtrOutputWithContext(c }).(VersionServingStatusPtrOutput) } +func (o VersionServingStatusOutput) ToOutput(ctx context.Context) pulumix.Output[VersionServingStatus] { + return pulumix.Output[VersionServingStatus]{ + OutputState: o.OutputState, + } +} + func (o VersionServingStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3071,6 +3396,12 @@ func (o VersionServingStatusPtrOutput) ToVersionServingStatusPtrOutputWithContex return o } +func (o VersionServingStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionServingStatus] { + return pulumix.Output[*VersionServingStatus]{ + OutputState: o.OutputState, + } +} + func (o VersionServingStatusPtrOutput) Elem() VersionServingStatusOutput { return o.ApplyT(func(v *VersionServingStatus) VersionServingStatus { if v != nil { @@ -3133,6 +3464,12 @@ func (in *versionServingStatusPtr) ToVersionServingStatusPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(VersionServingStatusPtrOutput) } +func (in *versionServingStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*VersionServingStatus] { + return pulumix.Output[*VersionServingStatus]{ + OutputState: in.ToVersionServingStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The egress setting for the connector, controlling what traffic is diverted through it. type VpcAccessConnectorEgressSetting string @@ -3204,6 +3541,12 @@ func (o VpcAccessConnectorEgressSettingOutput) ToVpcAccessConnectorEgressSetting }).(VpcAccessConnectorEgressSettingPtrOutput) } +func (o VpcAccessConnectorEgressSettingOutput) ToOutput(ctx context.Context) pulumix.Output[VpcAccessConnectorEgressSetting] { + return pulumix.Output[VpcAccessConnectorEgressSetting]{ + OutputState: o.OutputState, + } +} + func (o VpcAccessConnectorEgressSettingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3239,6 +3582,12 @@ func (o VpcAccessConnectorEgressSettingPtrOutput) ToVpcAccessConnectorEgressSett return o } +func (o VpcAccessConnectorEgressSettingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcAccessConnectorEgressSetting] { + return pulumix.Output[*VpcAccessConnectorEgressSetting]{ + OutputState: o.OutputState, + } +} + func (o VpcAccessConnectorEgressSettingPtrOutput) Elem() VpcAccessConnectorEgressSettingOutput { return o.ApplyT(func(v *VpcAccessConnectorEgressSetting) VpcAccessConnectorEgressSetting { if v != nil { @@ -3301,6 +3650,12 @@ func (in *vpcAccessConnectorEgressSettingPtr) ToVpcAccessConnectorEgressSettingP return pulumi.ToOutputWithContext(ctx, in).(VpcAccessConnectorEgressSettingPtrOutput) } +func (in *vpcAccessConnectorEgressSettingPtr) ToOutput(ctx context.Context) pulumix.Output[*VpcAccessConnectorEgressSetting] { + return pulumix.Output[*VpcAccessConnectorEgressSetting]{ + OutputState: in.ToVpcAccessConnectorEgressSettingPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ApiConfigHandlerAuthFailActionInput)(nil)).Elem(), ApiConfigHandlerAuthFailAction("AUTH_FAIL_ACTION_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ApiConfigHandlerAuthFailActionPtrInput)(nil)).Elem(), ApiConfigHandlerAuthFailAction("AUTH_FAIL_ACTION_UNSPECIFIED")) diff --git a/sdk/go/google/appengine/v1beta/pulumiTypes.go b/sdk/go/google/appengine/v1beta/pulumiTypes.go index 1ebbf946d3..5101c34e3b 100644 --- a/sdk/go/google/appengine/v1beta/pulumiTypes.go +++ b/sdk/go/google/appengine/v1beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -64,6 +65,12 @@ func (i ApiConfigHandlerArgs) ToApiConfigHandlerOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ApiConfigHandlerOutput) } +func (i ApiConfigHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandler] { + return pulumix.Output[ApiConfigHandler]{ + OutputState: i.ToApiConfigHandlerOutputWithContext(ctx).OutputState, + } +} + func (i ApiConfigHandlerArgs) ToApiConfigHandlerPtrOutput() ApiConfigHandlerPtrOutput { return i.ToApiConfigHandlerPtrOutputWithContext(context.Background()) } @@ -105,6 +112,12 @@ func (i *apiConfigHandlerPtrType) ToApiConfigHandlerPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ApiConfigHandlerPtrOutput) } +func (i *apiConfigHandlerPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandler] { + return pulumix.Output[*ApiConfigHandler]{ + OutputState: i.ToApiConfigHandlerPtrOutputWithContext(ctx).OutputState, + } +} + // Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration for API handlers. type ApiConfigHandlerOutput struct{ *pulumi.OutputState } @@ -130,6 +143,12 @@ func (o ApiConfigHandlerOutput) ToApiConfigHandlerPtrOutputWithContext(ctx conte }).(ApiConfigHandlerPtrOutput) } +func (o ApiConfigHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandler] { + return pulumix.Output[ApiConfigHandler]{ + OutputState: o.OutputState, + } +} + // Action to take when users access resources that require authentication. Defaults to redirect. func (o ApiConfigHandlerOutput) AuthFailAction() ApiConfigHandlerAuthFailActionPtrOutput { return o.ApplyT(func(v ApiConfigHandler) *ApiConfigHandlerAuthFailAction { return v.AuthFailAction }).(ApiConfigHandlerAuthFailActionPtrOutput) @@ -169,6 +188,12 @@ func (o ApiConfigHandlerPtrOutput) ToApiConfigHandlerPtrOutputWithContext(ctx co return o } +func (o ApiConfigHandlerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiConfigHandler] { + return pulumix.Output[*ApiConfigHandler]{ + OutputState: o.OutputState, + } +} + func (o ApiConfigHandlerPtrOutput) Elem() ApiConfigHandlerOutput { return o.ApplyT(func(v *ApiConfigHandler) ApiConfigHandler { if v != nil { @@ -258,6 +283,12 @@ func (o ApiConfigHandlerResponseOutput) ToApiConfigHandlerResponseOutputWithCont return o } +func (o ApiConfigHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApiConfigHandlerResponse] { + return pulumix.Output[ApiConfigHandlerResponse]{ + OutputState: o.OutputState, + } +} + // Action to take when users access resources that require authentication. Defaults to redirect. func (o ApiConfigHandlerResponseOutput) AuthFailAction() pulumi.StringOutput { return o.ApplyT(func(v ApiConfigHandlerResponse) string { return v.AuthFailAction }).(pulumi.StringOutput) @@ -318,6 +349,12 @@ func (i ApiEndpointHandlerArgs) ToApiEndpointHandlerOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ApiEndpointHandlerOutput) } +func (i ApiEndpointHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[ApiEndpointHandler] { + return pulumix.Output[ApiEndpointHandler]{ + OutputState: i.ToApiEndpointHandlerOutputWithContext(ctx).OutputState, + } +} + func (i ApiEndpointHandlerArgs) ToApiEndpointHandlerPtrOutput() ApiEndpointHandlerPtrOutput { return i.ToApiEndpointHandlerPtrOutputWithContext(context.Background()) } @@ -359,6 +396,12 @@ func (i *apiEndpointHandlerPtrType) ToApiEndpointHandlerPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ApiEndpointHandlerPtrOutput) } +func (i *apiEndpointHandlerPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApiEndpointHandler] { + return pulumix.Output[*ApiEndpointHandler]{ + OutputState: i.ToApiEndpointHandlerPtrOutputWithContext(ctx).OutputState, + } +} + // Uses Google Cloud Endpoints to handle requests. type ApiEndpointHandlerOutput struct{ *pulumi.OutputState } @@ -384,6 +427,12 @@ func (o ApiEndpointHandlerOutput) ToApiEndpointHandlerPtrOutputWithContext(ctx c }).(ApiEndpointHandlerPtrOutput) } +func (o ApiEndpointHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[ApiEndpointHandler] { + return pulumix.Output[ApiEndpointHandler]{ + OutputState: o.OutputState, + } +} + // Path to the script from the application root directory. func (o ApiEndpointHandlerOutput) ScriptPath() pulumi.StringPtrOutput { return o.ApplyT(func(v ApiEndpointHandler) *string { return v.ScriptPath }).(pulumi.StringPtrOutput) @@ -403,6 +452,12 @@ func (o ApiEndpointHandlerPtrOutput) ToApiEndpointHandlerPtrOutputWithContext(ct return o } +func (o ApiEndpointHandlerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiEndpointHandler] { + return pulumix.Output[*ApiEndpointHandler]{ + OutputState: o.OutputState, + } +} + func (o ApiEndpointHandlerPtrOutput) Elem() ApiEndpointHandlerOutput { return o.ApplyT(func(v *ApiEndpointHandler) ApiEndpointHandler { if v != nil { @@ -444,6 +499,12 @@ func (o ApiEndpointHandlerResponseOutput) ToApiEndpointHandlerResponseOutputWith return o } +func (o ApiEndpointHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApiEndpointHandlerResponse] { + return pulumix.Output[ApiEndpointHandlerResponse]{ + OutputState: o.OutputState, + } +} + // Path to the script from the application root directory. func (o ApiEndpointHandlerResponseOutput) ScriptPath() pulumi.StringOutput { return o.ApplyT(func(v ApiEndpointHandlerResponse) string { return v.ScriptPath }).(pulumi.StringOutput) @@ -536,6 +597,12 @@ func (i AutomaticScalingArgs) ToAutomaticScalingOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AutomaticScalingOutput) } +func (i AutomaticScalingArgs) ToOutput(ctx context.Context) pulumix.Output[AutomaticScaling] { + return pulumix.Output[AutomaticScaling]{ + OutputState: i.ToAutomaticScalingOutputWithContext(ctx).OutputState, + } +} + func (i AutomaticScalingArgs) ToAutomaticScalingPtrOutput() AutomaticScalingPtrOutput { return i.ToAutomaticScalingPtrOutputWithContext(context.Background()) } @@ -577,6 +644,12 @@ func (i *automaticScalingPtrType) ToAutomaticScalingPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AutomaticScalingPtrOutput) } +func (i *automaticScalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutomaticScaling] { + return pulumix.Output[*AutomaticScaling]{ + OutputState: i.ToAutomaticScalingPtrOutputWithContext(ctx).OutputState, + } +} + // Automatic scaling is based on request rate, response latencies, and other application metrics. type AutomaticScalingOutput struct{ *pulumi.OutputState } @@ -602,6 +675,12 @@ func (o AutomaticScalingOutput) ToAutomaticScalingPtrOutputWithContext(ctx conte }).(AutomaticScalingPtrOutput) } +func (o AutomaticScalingOutput) ToOutput(ctx context.Context) pulumix.Output[AutomaticScaling] { + return pulumix.Output[AutomaticScaling]{ + OutputState: o.OutputState, + } +} + // The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment. func (o AutomaticScalingOutput) CoolDownPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v AutomaticScaling) *string { return v.CoolDownPeriod }).(pulumi.StringPtrOutput) @@ -686,6 +765,12 @@ func (o AutomaticScalingPtrOutput) ToAutomaticScalingPtrOutputWithContext(ctx co return o } +func (o AutomaticScalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutomaticScaling] { + return pulumix.Output[*AutomaticScaling]{ + OutputState: o.OutputState, + } +} + func (o AutomaticScalingPtrOutput) Elem() AutomaticScalingOutput { return o.ApplyT(func(v *AutomaticScaling) AutomaticScaling { if v != nil { @@ -883,6 +968,12 @@ func (o AutomaticScalingResponseOutput) ToAutomaticScalingResponseOutputWithCont return o } +func (o AutomaticScalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutomaticScalingResponse] { + return pulumix.Output[AutomaticScalingResponse]{ + OutputState: o.OutputState, + } +} + // The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment. func (o AutomaticScalingResponseOutput) CoolDownPeriod() pulumi.StringOutput { return o.ApplyT(func(v AutomaticScalingResponse) string { return v.CoolDownPeriod }).(pulumi.StringOutput) @@ -992,6 +1083,12 @@ func (i BasicScalingArgs) ToBasicScalingOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BasicScalingOutput) } +func (i BasicScalingArgs) ToOutput(ctx context.Context) pulumix.Output[BasicScaling] { + return pulumix.Output[BasicScaling]{ + OutputState: i.ToBasicScalingOutputWithContext(ctx).OutputState, + } +} + func (i BasicScalingArgs) ToBasicScalingPtrOutput() BasicScalingPtrOutput { return i.ToBasicScalingPtrOutputWithContext(context.Background()) } @@ -1033,6 +1130,12 @@ func (i *basicScalingPtrType) ToBasicScalingPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(BasicScalingPtrOutput) } +func (i *basicScalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicScaling] { + return pulumix.Output[*BasicScaling]{ + OutputState: i.ToBasicScalingPtrOutputWithContext(ctx).OutputState, + } +} + // A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. type BasicScalingOutput struct{ *pulumi.OutputState } @@ -1058,6 +1161,12 @@ func (o BasicScalingOutput) ToBasicScalingPtrOutputWithContext(ctx context.Conte }).(BasicScalingPtrOutput) } +func (o BasicScalingOutput) ToOutput(ctx context.Context) pulumix.Output[BasicScaling] { + return pulumix.Output[BasicScaling]{ + OutputState: o.OutputState, + } +} + // Duration of time after the last request that an instance must wait before the instance is shut down. func (o BasicScalingOutput) IdleTimeout() pulumi.StringPtrOutput { return o.ApplyT(func(v BasicScaling) *string { return v.IdleTimeout }).(pulumi.StringPtrOutput) @@ -1082,6 +1191,12 @@ func (o BasicScalingPtrOutput) ToBasicScalingPtrOutputWithContext(ctx context.Co return o } +func (o BasicScalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicScaling] { + return pulumix.Output[*BasicScaling]{ + OutputState: o.OutputState, + } +} + func (o BasicScalingPtrOutput) Elem() BasicScalingOutput { return o.ApplyT(func(v *BasicScaling) BasicScaling { if v != nil { @@ -1135,6 +1250,12 @@ func (o BasicScalingResponseOutput) ToBasicScalingResponseOutputWithContext(ctx return o } +func (o BasicScalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicScalingResponse] { + return pulumix.Output[BasicScalingResponse]{ + OutputState: o.OutputState, + } +} + // Duration of time after the last request that an instance must wait before the instance is shut down. func (o BasicScalingResponseOutput) IdleTimeout() pulumi.StringOutput { return o.ApplyT(func(v BasicScalingResponse) string { return v.IdleTimeout }).(pulumi.StringOutput) @@ -1180,6 +1301,12 @@ func (i BuildInfoArgs) ToBuildInfoOutputWithContext(ctx context.Context) BuildIn return pulumi.ToOutputWithContext(ctx, i).(BuildInfoOutput) } +func (i BuildInfoArgs) ToOutput(ctx context.Context) pulumix.Output[BuildInfo] { + return pulumix.Output[BuildInfo]{ + OutputState: i.ToBuildInfoOutputWithContext(ctx).OutputState, + } +} + func (i BuildInfoArgs) ToBuildInfoPtrOutput() BuildInfoPtrOutput { return i.ToBuildInfoPtrOutputWithContext(context.Background()) } @@ -1221,6 +1348,12 @@ func (i *buildInfoPtrType) ToBuildInfoPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BuildInfoPtrOutput) } +func (i *buildInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildInfo] { + return pulumix.Output[*BuildInfo]{ + OutputState: i.ToBuildInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Google Cloud Build information. type BuildInfoOutput struct{ *pulumi.OutputState } @@ -1246,6 +1379,12 @@ func (o BuildInfoOutput) ToBuildInfoPtrOutputWithContext(ctx context.Context) Bu }).(BuildInfoPtrOutput) } +func (o BuildInfoOutput) ToOutput(ctx context.Context) pulumix.Output[BuildInfo] { + return pulumix.Output[BuildInfo]{ + OutputState: o.OutputState, + } +} + // The Google Cloud Build id. Example: "f966068f-08b2-42c8-bdfe-74137dff2bf9" func (o BuildInfoOutput) CloudBuildId() pulumi.StringPtrOutput { return o.ApplyT(func(v BuildInfo) *string { return v.CloudBuildId }).(pulumi.StringPtrOutput) @@ -1265,6 +1404,12 @@ func (o BuildInfoPtrOutput) ToBuildInfoPtrOutputWithContext(ctx context.Context) return o } +func (o BuildInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildInfo] { + return pulumix.Output[*BuildInfo]{ + OutputState: o.OutputState, + } +} + func (o BuildInfoPtrOutput) Elem() BuildInfoOutput { return o.ApplyT(func(v *BuildInfo) BuildInfo { if v != nil { @@ -1306,6 +1451,12 @@ func (o BuildInfoResponseOutput) ToBuildInfoResponseOutputWithContext(ctx contex return o } +func (o BuildInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildInfoResponse] { + return pulumix.Output[BuildInfoResponse]{ + OutputState: o.OutputState, + } +} + // The Google Cloud Build id. Example: "f966068f-08b2-42c8-bdfe-74137dff2bf9" func (o BuildInfoResponseOutput) CloudBuildId() pulumi.StringOutput { return o.ApplyT(func(v BuildInfoResponse) string { return v.CloudBuildId }).(pulumi.StringOutput) @@ -1350,6 +1501,12 @@ func (i CertificateRawDataArgs) ToCertificateRawDataOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CertificateRawDataOutput) } +func (i CertificateRawDataArgs) ToOutput(ctx context.Context) pulumix.Output[CertificateRawData] { + return pulumix.Output[CertificateRawData]{ + OutputState: i.ToCertificateRawDataOutputWithContext(ctx).OutputState, + } +} + func (i CertificateRawDataArgs) ToCertificateRawDataPtrOutput() CertificateRawDataPtrOutput { return i.ToCertificateRawDataPtrOutputWithContext(context.Background()) } @@ -1391,6 +1548,12 @@ func (i *certificateRawDataPtrType) ToCertificateRawDataPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CertificateRawDataPtrOutput) } +func (i *certificateRawDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*CertificateRawData] { + return pulumix.Output[*CertificateRawData]{ + OutputState: i.ToCertificateRawDataPtrOutputWithContext(ctx).OutputState, + } +} + // An SSL certificate obtained from a certificate authority. type CertificateRawDataOutput struct{ *pulumi.OutputState } @@ -1416,6 +1579,12 @@ func (o CertificateRawDataOutput) ToCertificateRawDataPtrOutputWithContext(ctx c }).(CertificateRawDataPtrOutput) } +func (o CertificateRawDataOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateRawData] { + return pulumix.Output[CertificateRawData]{ + OutputState: o.OutputState, + } +} + // Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly func (o CertificateRawDataOutput) PrivateKey() pulumi.StringPtrOutput { return o.ApplyT(func(v CertificateRawData) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) @@ -1440,6 +1609,12 @@ func (o CertificateRawDataPtrOutput) ToCertificateRawDataPtrOutputWithContext(ct return o } +func (o CertificateRawDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateRawData] { + return pulumix.Output[*CertificateRawData]{ + OutputState: o.OutputState, + } +} + func (o CertificateRawDataPtrOutput) Elem() CertificateRawDataOutput { return o.ApplyT(func(v *CertificateRawData) CertificateRawData { if v != nil { @@ -1493,6 +1668,12 @@ func (o CertificateRawDataResponseOutput) ToCertificateRawDataResponseOutputWith return o } +func (o CertificateRawDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateRawDataResponse] { + return pulumix.Output[CertificateRawDataResponse]{ + OutputState: o.OutputState, + } +} + // Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly func (o CertificateRawDataResponseOutput) PrivateKey() pulumi.StringOutput { return o.ApplyT(func(v CertificateRawDataResponse) string { return v.PrivateKey }).(pulumi.StringOutput) @@ -1542,6 +1723,12 @@ func (i CloudBuildOptionsArgs) ToCloudBuildOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CloudBuildOptionsOutput) } +func (i CloudBuildOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[CloudBuildOptions] { + return pulumix.Output[CloudBuildOptions]{ + OutputState: i.ToCloudBuildOptionsOutputWithContext(ctx).OutputState, + } +} + func (i CloudBuildOptionsArgs) ToCloudBuildOptionsPtrOutput() CloudBuildOptionsPtrOutput { return i.ToCloudBuildOptionsPtrOutputWithContext(context.Background()) } @@ -1583,6 +1770,12 @@ func (i *cloudBuildOptionsPtrType) ToCloudBuildOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CloudBuildOptionsPtrOutput) } +func (i *cloudBuildOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudBuildOptions] { + return pulumix.Output[*CloudBuildOptions]{ + OutputState: i.ToCloudBuildOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly. type CloudBuildOptionsOutput struct{ *pulumi.OutputState } @@ -1608,6 +1801,12 @@ func (o CloudBuildOptionsOutput) ToCloudBuildOptionsPtrOutputWithContext(ctx con }).(CloudBuildOptionsPtrOutput) } +func (o CloudBuildOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[CloudBuildOptions] { + return pulumix.Output[CloudBuildOptions]{ + OutputState: o.OutputState, + } +} + // Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details. func (o CloudBuildOptionsOutput) AppYamlPath() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudBuildOptions) *string { return v.AppYamlPath }).(pulumi.StringPtrOutput) @@ -1632,6 +1831,12 @@ func (o CloudBuildOptionsPtrOutput) ToCloudBuildOptionsPtrOutputWithContext(ctx return o } +func (o CloudBuildOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudBuildOptions] { + return pulumix.Output[*CloudBuildOptions]{ + OutputState: o.OutputState, + } +} + func (o CloudBuildOptionsPtrOutput) Elem() CloudBuildOptionsOutput { return o.ApplyT(func(v *CloudBuildOptions) CloudBuildOptions { if v != nil { @@ -1685,6 +1890,12 @@ func (o CloudBuildOptionsResponseOutput) ToCloudBuildOptionsResponseOutputWithCo return o } +func (o CloudBuildOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudBuildOptionsResponse] { + return pulumix.Output[CloudBuildOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details. func (o CloudBuildOptionsResponseOutput) AppYamlPath() pulumi.StringOutput { return o.ApplyT(func(v CloudBuildOptionsResponse) string { return v.AppYamlPath }).(pulumi.StringOutput) @@ -1730,6 +1941,12 @@ func (i ContainerInfoArgs) ToContainerInfoOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ContainerInfoOutput) } +func (i ContainerInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ContainerInfo] { + return pulumix.Output[ContainerInfo]{ + OutputState: i.ToContainerInfoOutputWithContext(ctx).OutputState, + } +} + func (i ContainerInfoArgs) ToContainerInfoPtrOutput() ContainerInfoPtrOutput { return i.ToContainerInfoPtrOutputWithContext(context.Background()) } @@ -1771,6 +1988,12 @@ func (i *containerInfoPtrType) ToContainerInfoPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ContainerInfoPtrOutput) } +func (i *containerInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*ContainerInfo] { + return pulumix.Output[*ContainerInfo]{ + OutputState: i.ToContainerInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment. type ContainerInfoOutput struct{ *pulumi.OutputState } @@ -1796,6 +2019,12 @@ func (o ContainerInfoOutput) ToContainerInfoPtrOutputWithContext(ctx context.Con }).(ContainerInfoPtrOutput) } +func (o ContainerInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerInfo] { + return pulumix.Output[ContainerInfo]{ + OutputState: o.OutputState, + } +} + // URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" func (o ContainerInfoOutput) Image() pulumi.StringPtrOutput { return o.ApplyT(func(v ContainerInfo) *string { return v.Image }).(pulumi.StringPtrOutput) @@ -1815,6 +2044,12 @@ func (o ContainerInfoPtrOutput) ToContainerInfoPtrOutputWithContext(ctx context. return o } +func (o ContainerInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ContainerInfo] { + return pulumix.Output[*ContainerInfo]{ + OutputState: o.OutputState, + } +} + func (o ContainerInfoPtrOutput) Elem() ContainerInfoOutput { return o.ApplyT(func(v *ContainerInfo) ContainerInfo { if v != nil { @@ -1856,6 +2091,12 @@ func (o ContainerInfoResponseOutput) ToContainerInfoResponseOutputWithContext(ct return o } +func (o ContainerInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerInfoResponse] { + return pulumix.Output[ContainerInfoResponse]{ + OutputState: o.OutputState, + } +} + // URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" func (o ContainerInfoResponseOutput) Image() pulumi.StringOutput { return o.ApplyT(func(v ContainerInfoResponse) string { return v.Image }).(pulumi.StringOutput) @@ -1900,6 +2141,12 @@ func (i CpuUtilizationArgs) ToCpuUtilizationOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CpuUtilizationOutput) } +func (i CpuUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[CpuUtilization] { + return pulumix.Output[CpuUtilization]{ + OutputState: i.ToCpuUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i CpuUtilizationArgs) ToCpuUtilizationPtrOutput() CpuUtilizationPtrOutput { return i.ToCpuUtilizationPtrOutputWithContext(context.Background()) } @@ -1941,6 +2188,12 @@ func (i *cpuUtilizationPtrType) ToCpuUtilizationPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CpuUtilizationPtrOutput) } +func (i *cpuUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*CpuUtilization] { + return pulumix.Output[*CpuUtilization]{ + OutputState: i.ToCpuUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Target scaling by CPU usage. type CpuUtilizationOutput struct{ *pulumi.OutputState } @@ -1966,6 +2219,12 @@ func (o CpuUtilizationOutput) ToCpuUtilizationPtrOutputWithContext(ctx context.C }).(CpuUtilizationPtrOutput) } +func (o CpuUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[CpuUtilization] { + return pulumix.Output[CpuUtilization]{ + OutputState: o.OutputState, + } +} + // Period of time over which CPU utilization is calculated. func (o CpuUtilizationOutput) AggregationWindowLength() pulumi.StringPtrOutput { return o.ApplyT(func(v CpuUtilization) *string { return v.AggregationWindowLength }).(pulumi.StringPtrOutput) @@ -1990,6 +2249,12 @@ func (o CpuUtilizationPtrOutput) ToCpuUtilizationPtrOutputWithContext(ctx contex return o } +func (o CpuUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CpuUtilization] { + return pulumix.Output[*CpuUtilization]{ + OutputState: o.OutputState, + } +} + func (o CpuUtilizationPtrOutput) Elem() CpuUtilizationOutput { return o.ApplyT(func(v *CpuUtilization) CpuUtilization { if v != nil { @@ -2043,6 +2308,12 @@ func (o CpuUtilizationResponseOutput) ToCpuUtilizationResponseOutputWithContext( return o } +func (o CpuUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CpuUtilizationResponse] { + return pulumix.Output[CpuUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Period of time over which CPU utilization is calculated. func (o CpuUtilizationResponseOutput) AggregationWindowLength() pulumi.StringOutput { return o.ApplyT(func(v CpuUtilizationResponse) string { return v.AggregationWindowLength }).(pulumi.StringOutput) @@ -2104,6 +2375,12 @@ func (i CustomMetricArgs) ToCustomMetricOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CustomMetricOutput) } +func (i CustomMetricArgs) ToOutput(ctx context.Context) pulumix.Output[CustomMetric] { + return pulumix.Output[CustomMetric]{ + OutputState: i.ToCustomMetricOutputWithContext(ctx).OutputState, + } +} + // CustomMetricArrayInput is an input type that accepts CustomMetricArray and CustomMetricArrayOutput values. // You can construct a concrete instance of `CustomMetricArrayInput` via: // @@ -2129,6 +2406,12 @@ func (i CustomMetricArray) ToCustomMetricArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CustomMetricArrayOutput) } +func (i CustomMetricArray) ToOutput(ctx context.Context) pulumix.Output[[]CustomMetric] { + return pulumix.Output[[]CustomMetric]{ + OutputState: i.ToCustomMetricArrayOutputWithContext(ctx).OutputState, + } +} + // Allows autoscaling based on Stackdriver metrics. type CustomMetricOutput struct{ *pulumi.OutputState } @@ -2144,6 +2427,12 @@ func (o CustomMetricOutput) ToCustomMetricOutputWithContext(ctx context.Context) return o } +func (o CustomMetricOutput) ToOutput(ctx context.Context) pulumix.Output[CustomMetric] { + return pulumix.Output[CustomMetric]{ + OutputState: o.OutputState, + } +} + // Allows filtering on the metric's fields. func (o CustomMetricOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v CustomMetric) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -2183,6 +2472,12 @@ func (o CustomMetricArrayOutput) ToCustomMetricArrayOutputWithContext(ctx contex return o } +func (o CustomMetricArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomMetric] { + return pulumix.Output[[]CustomMetric]{ + OutputState: o.OutputState, + } +} + func (o CustomMetricArrayOutput) Index(i pulumi.IntInput) CustomMetricOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomMetric { return vs[0].([]CustomMetric)[vs[1].(int)] @@ -2218,6 +2513,12 @@ func (o CustomMetricResponseOutput) ToCustomMetricResponseOutputWithContext(ctx return o } +func (o CustomMetricResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomMetricResponse] { + return pulumix.Output[CustomMetricResponse]{ + OutputState: o.OutputState, + } +} + // Allows filtering on the metric's fields. func (o CustomMetricResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v CustomMetricResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -2257,6 +2558,12 @@ func (o CustomMetricResponseArrayOutput) ToCustomMetricResponseArrayOutputWithCo return o } +func (o CustomMetricResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomMetricResponse] { + return pulumix.Output[[]CustomMetricResponse]{ + OutputState: o.OutputState, + } +} + func (o CustomMetricResponseArrayOutput) Index(i pulumi.IntInput) CustomMetricResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomMetricResponse { return vs[0].([]CustomMetricResponse)[vs[1].(int)] @@ -2314,6 +2621,12 @@ func (i DeploymentArgs) ToDeploymentOutputWithContext(ctx context.Context) Deplo return pulumi.ToOutputWithContext(ctx, i).(DeploymentOutput) } +func (i DeploymentArgs) ToOutput(ctx context.Context) pulumix.Output[Deployment] { + return pulumix.Output[Deployment]{ + OutputState: i.ToDeploymentOutputWithContext(ctx).OutputState, + } +} + func (i DeploymentArgs) ToDeploymentPtrOutput() DeploymentPtrOutput { return i.ToDeploymentPtrOutputWithContext(context.Background()) } @@ -2355,6 +2668,12 @@ func (i *deploymentPtrType) ToDeploymentPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DeploymentPtrOutput) } +func (i *deploymentPtrType) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: i.ToDeploymentPtrOutputWithContext(ctx).OutputState, + } +} + // Code and application artifacts used to deploy a version to App Engine. type DeploymentOutput struct{ *pulumi.OutputState } @@ -2380,6 +2699,12 @@ func (o DeploymentOutput) ToDeploymentPtrOutputWithContext(ctx context.Context) }).(DeploymentPtrOutput) } +func (o DeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[Deployment] { + return pulumix.Output[Deployment]{ + OutputState: o.OutputState, + } +} + // Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment. func (o DeploymentOutput) Build() BuildInfoPtrOutput { return o.ApplyT(func(v Deployment) *BuildInfo { return v.Build }).(BuildInfoPtrOutput) @@ -2419,6 +2744,12 @@ func (o DeploymentPtrOutput) ToDeploymentPtrOutputWithContext(ctx context.Contex return o } +func (o DeploymentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: o.OutputState, + } +} + func (o DeploymentPtrOutput) Elem() DeploymentOutput { return o.ApplyT(func(v *Deployment) Deployment { if v != nil { @@ -2508,6 +2839,12 @@ func (o DeploymentResponseOutput) ToDeploymentResponseOutputWithContext(ctx cont return o } +func (o DeploymentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentResponse] { + return pulumix.Output[DeploymentResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment. func (o DeploymentResponseOutput) Build() BuildInfoResponseOutput { return o.ApplyT(func(v DeploymentResponse) BuildInfoResponse { return v.Build }).(BuildInfoResponseOutput) @@ -2580,6 +2917,12 @@ func (i DiskUtilizationArgs) ToDiskUtilizationOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DiskUtilizationOutput) } +func (i DiskUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[DiskUtilization] { + return pulumix.Output[DiskUtilization]{ + OutputState: i.ToDiskUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i DiskUtilizationArgs) ToDiskUtilizationPtrOutput() DiskUtilizationPtrOutput { return i.ToDiskUtilizationPtrOutputWithContext(context.Background()) } @@ -2621,6 +2964,12 @@ func (i *diskUtilizationPtrType) ToDiskUtilizationPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DiskUtilizationPtrOutput) } +func (i *diskUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskUtilization] { + return pulumix.Output[*DiskUtilization]{ + OutputState: i.ToDiskUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Target scaling by disk usage. Only applicable in the App Engine flexible environment. type DiskUtilizationOutput struct{ *pulumi.OutputState } @@ -2646,6 +2995,12 @@ func (o DiskUtilizationOutput) ToDiskUtilizationPtrOutputWithContext(ctx context }).(DiskUtilizationPtrOutput) } +func (o DiskUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[DiskUtilization] { + return pulumix.Output[DiskUtilization]{ + OutputState: o.OutputState, + } +} + // Target bytes read per second. func (o DiskUtilizationOutput) TargetReadBytesPerSecond() pulumi.IntPtrOutput { return o.ApplyT(func(v DiskUtilization) *int { return v.TargetReadBytesPerSecond }).(pulumi.IntPtrOutput) @@ -2680,6 +3035,12 @@ func (o DiskUtilizationPtrOutput) ToDiskUtilizationPtrOutputWithContext(ctx cont return o } +func (o DiskUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskUtilization] { + return pulumix.Output[*DiskUtilization]{ + OutputState: o.OutputState, + } +} + func (o DiskUtilizationPtrOutput) Elem() DiskUtilizationOutput { return o.ApplyT(func(v *DiskUtilization) DiskUtilization { if v != nil { @@ -2757,6 +3118,12 @@ func (o DiskUtilizationResponseOutput) ToDiskUtilizationResponseOutputWithContex return o } +func (o DiskUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskUtilizationResponse] { + return pulumix.Output[DiskUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Target bytes read per second. func (o DiskUtilizationResponseOutput) TargetReadBytesPerSecond() pulumi.IntOutput { return o.ApplyT(func(v DiskUtilizationResponse) int { return v.TargetReadBytesPerSecond }).(pulumi.IntOutput) @@ -2824,6 +3191,12 @@ func (i EndpointsApiServiceArgs) ToEndpointsApiServiceOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(EndpointsApiServiceOutput) } +func (i EndpointsApiServiceArgs) ToOutput(ctx context.Context) pulumix.Output[EndpointsApiService] { + return pulumix.Output[EndpointsApiService]{ + OutputState: i.ToEndpointsApiServiceOutputWithContext(ctx).OutputState, + } +} + func (i EndpointsApiServiceArgs) ToEndpointsApiServicePtrOutput() EndpointsApiServicePtrOutput { return i.ToEndpointsApiServicePtrOutputWithContext(context.Background()) } @@ -2865,6 +3238,12 @@ func (i *endpointsApiServicePtrType) ToEndpointsApiServicePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(EndpointsApiServicePtrOutput) } +func (i *endpointsApiServicePtrType) ToOutput(ctx context.Context) pulumix.Output[*EndpointsApiService] { + return pulumix.Output[*EndpointsApiService]{ + OutputState: i.ToEndpointsApiServicePtrOutputWithContext(ctx).OutputState, + } +} + // Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a "service" resource in the Service Management API (https://cloud.google.com/service-management/overview). type EndpointsApiServiceOutput struct{ *pulumi.OutputState } @@ -2890,6 +3269,12 @@ func (o EndpointsApiServiceOutput) ToEndpointsApiServicePtrOutputWithContext(ctx }).(EndpointsApiServicePtrOutput) } +func (o EndpointsApiServiceOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointsApiService] { + return pulumix.Output[EndpointsApiService]{ + OutputState: o.OutputState, + } +} + // Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted. func (o EndpointsApiServiceOutput) ConfigId() pulumi.StringPtrOutput { return o.ApplyT(func(v EndpointsApiService) *string { return v.ConfigId }).(pulumi.StringPtrOutput) @@ -2924,6 +3309,12 @@ func (o EndpointsApiServicePtrOutput) ToEndpointsApiServicePtrOutputWithContext( return o } +func (o EndpointsApiServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointsApiService] { + return pulumix.Output[*EndpointsApiService]{ + OutputState: o.OutputState, + } +} + func (o EndpointsApiServicePtrOutput) Elem() EndpointsApiServiceOutput { return o.ApplyT(func(v *EndpointsApiService) EndpointsApiService { if v != nil { @@ -3001,6 +3392,12 @@ func (o EndpointsApiServiceResponseOutput) ToEndpointsApiServiceResponseOutputWi return o } +func (o EndpointsApiServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointsApiServiceResponse] { + return pulumix.Output[EndpointsApiServiceResponse]{ + OutputState: o.OutputState, + } +} + // Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted. func (o EndpointsApiServiceResponseOutput) ConfigId() pulumi.StringOutput { return o.ApplyT(func(v EndpointsApiServiceResponse) string { return v.ConfigId }).(pulumi.StringOutput) @@ -3056,6 +3453,12 @@ func (i EntrypointArgs) ToEntrypointOutputWithContext(ctx context.Context) Entry return pulumi.ToOutputWithContext(ctx, i).(EntrypointOutput) } +func (i EntrypointArgs) ToOutput(ctx context.Context) pulumix.Output[Entrypoint] { + return pulumix.Output[Entrypoint]{ + OutputState: i.ToEntrypointOutputWithContext(ctx).OutputState, + } +} + func (i EntrypointArgs) ToEntrypointPtrOutput() EntrypointPtrOutput { return i.ToEntrypointPtrOutputWithContext(context.Background()) } @@ -3097,6 +3500,12 @@ func (i *entrypointPtrType) ToEntrypointPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(EntrypointPtrOutput) } +func (i *entrypointPtrType) ToOutput(ctx context.Context) pulumix.Output[*Entrypoint] { + return pulumix.Output[*Entrypoint]{ + OutputState: i.ToEntrypointPtrOutputWithContext(ctx).OutputState, + } +} + // The entrypoint for the application. type EntrypointOutput struct{ *pulumi.OutputState } @@ -3122,6 +3531,12 @@ func (o EntrypointOutput) ToEntrypointPtrOutputWithContext(ctx context.Context) }).(EntrypointPtrOutput) } +func (o EntrypointOutput) ToOutput(ctx context.Context) pulumix.Output[Entrypoint] { + return pulumix.Output[Entrypoint]{ + OutputState: o.OutputState, + } +} + // The format should be a shell command that can be fed to bash -c. func (o EntrypointOutput) Shell() pulumi.StringPtrOutput { return o.ApplyT(func(v Entrypoint) *string { return v.Shell }).(pulumi.StringPtrOutput) @@ -3141,6 +3556,12 @@ func (o EntrypointPtrOutput) ToEntrypointPtrOutputWithContext(ctx context.Contex return o } +func (o EntrypointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Entrypoint] { + return pulumix.Output[*Entrypoint]{ + OutputState: o.OutputState, + } +} + func (o EntrypointPtrOutput) Elem() EntrypointOutput { return o.ApplyT(func(v *Entrypoint) Entrypoint { if v != nil { @@ -3182,6 +3603,12 @@ func (o EntrypointResponseOutput) ToEntrypointResponseOutputWithContext(ctx cont return o } +func (o EntrypointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EntrypointResponse] { + return pulumix.Output[EntrypointResponse]{ + OutputState: o.OutputState, + } +} + // The format should be a shell command that can be fed to bash -c. func (o EntrypointResponseOutput) Shell() pulumi.StringOutput { return o.ApplyT(func(v EntrypointResponse) string { return v.Shell }).(pulumi.StringOutput) @@ -3230,6 +3657,12 @@ func (i ErrorHandlerArgs) ToErrorHandlerOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(ErrorHandlerOutput) } +func (i ErrorHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[ErrorHandler] { + return pulumix.Output[ErrorHandler]{ + OutputState: i.ToErrorHandlerOutputWithContext(ctx).OutputState, + } +} + // ErrorHandlerArrayInput is an input type that accepts ErrorHandlerArray and ErrorHandlerArrayOutput values. // You can construct a concrete instance of `ErrorHandlerArrayInput` via: // @@ -3255,6 +3688,12 @@ func (i ErrorHandlerArray) ToErrorHandlerArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ErrorHandlerArrayOutput) } +func (i ErrorHandlerArray) ToOutput(ctx context.Context) pulumix.Output[[]ErrorHandler] { + return pulumix.Output[[]ErrorHandler]{ + OutputState: i.ToErrorHandlerArrayOutputWithContext(ctx).OutputState, + } +} + // Custom static error page to be served when an error occurs. type ErrorHandlerOutput struct{ *pulumi.OutputState } @@ -3270,6 +3709,12 @@ func (o ErrorHandlerOutput) ToErrorHandlerOutputWithContext(ctx context.Context) return o } +func (o ErrorHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorHandler] { + return pulumix.Output[ErrorHandler]{ + OutputState: o.OutputState, + } +} + // Error condition this handler applies to. func (o ErrorHandlerOutput) ErrorCode() ErrorHandlerErrorCodePtrOutput { return o.ApplyT(func(v ErrorHandler) *ErrorHandlerErrorCode { return v.ErrorCode }).(ErrorHandlerErrorCodePtrOutput) @@ -3299,6 +3744,12 @@ func (o ErrorHandlerArrayOutput) ToErrorHandlerArrayOutputWithContext(ctx contex return o } +func (o ErrorHandlerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ErrorHandler] { + return pulumix.Output[[]ErrorHandler]{ + OutputState: o.OutputState, + } +} + func (o ErrorHandlerArrayOutput) Index(i pulumi.IntInput) ErrorHandlerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ErrorHandler { return vs[0].([]ErrorHandler)[vs[1].(int)] @@ -3330,6 +3781,12 @@ func (o ErrorHandlerResponseOutput) ToErrorHandlerResponseOutputWithContext(ctx return o } +func (o ErrorHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorHandlerResponse] { + return pulumix.Output[ErrorHandlerResponse]{ + OutputState: o.OutputState, + } +} + // Error condition this handler applies to. func (o ErrorHandlerResponseOutput) ErrorCode() pulumi.StringOutput { return o.ApplyT(func(v ErrorHandlerResponse) string { return v.ErrorCode }).(pulumi.StringOutput) @@ -3359,6 +3816,12 @@ func (o ErrorHandlerResponseArrayOutput) ToErrorHandlerResponseArrayOutputWithCo return o } +func (o ErrorHandlerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ErrorHandlerResponse] { + return pulumix.Output[[]ErrorHandlerResponse]{ + OutputState: o.OutputState, + } +} + func (o ErrorHandlerResponseArrayOutput) Index(i pulumi.IntInput) ErrorHandlerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ErrorHandlerResponse { return vs[0].([]ErrorHandlerResponse)[vs[1].(int)] @@ -3404,6 +3867,12 @@ func (i FeatureSettingsArgs) ToFeatureSettingsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(FeatureSettingsOutput) } +func (i FeatureSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[FeatureSettings] { + return pulumix.Output[FeatureSettings]{ + OutputState: i.ToFeatureSettingsOutputWithContext(ctx).OutputState, + } +} + func (i FeatureSettingsArgs) ToFeatureSettingsPtrOutput() FeatureSettingsPtrOutput { return i.ToFeatureSettingsPtrOutputWithContext(context.Background()) } @@ -3445,6 +3914,12 @@ func (i *featureSettingsPtrType) ToFeatureSettingsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(FeatureSettingsPtrOutput) } +func (i *featureSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*FeatureSettings] { + return pulumix.Output[*FeatureSettings]{ + OutputState: i.ToFeatureSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The feature specific settings to be used in the application. These define behaviors that are user configurable. type FeatureSettingsOutput struct{ *pulumi.OutputState } @@ -3470,6 +3945,12 @@ func (o FeatureSettingsOutput) ToFeatureSettingsPtrOutputWithContext(ctx context }).(FeatureSettingsPtrOutput) } +func (o FeatureSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureSettings] { + return pulumix.Output[FeatureSettings]{ + OutputState: o.OutputState, + } +} + // Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to 'readiness_check' and 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, this setting can be removed. func (o FeatureSettingsOutput) SplitHealthChecks() pulumi.BoolPtrOutput { return o.ApplyT(func(v FeatureSettings) *bool { return v.SplitHealthChecks }).(pulumi.BoolPtrOutput) @@ -3494,6 +3975,12 @@ func (o FeatureSettingsPtrOutput) ToFeatureSettingsPtrOutputWithContext(ctx cont return o } +func (o FeatureSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureSettings] { + return pulumix.Output[*FeatureSettings]{ + OutputState: o.OutputState, + } +} + func (o FeatureSettingsPtrOutput) Elem() FeatureSettingsOutput { return o.ApplyT(func(v *FeatureSettings) FeatureSettings { if v != nil { @@ -3547,6 +4034,12 @@ func (o FeatureSettingsResponseOutput) ToFeatureSettingsResponseOutputWithContex return o } +func (o FeatureSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureSettingsResponse] { + return pulumix.Output[FeatureSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to 'readiness_check' and 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, this setting can be removed. func (o FeatureSettingsResponseOutput) SplitHealthChecks() pulumi.BoolOutput { return o.ApplyT(func(v FeatureSettingsResponse) bool { return v.SplitHealthChecks }).(pulumi.BoolOutput) @@ -3596,6 +4089,12 @@ func (i FlexibleRuntimeSettingsArgs) ToFlexibleRuntimeSettingsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(FlexibleRuntimeSettingsOutput) } +func (i FlexibleRuntimeSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[FlexibleRuntimeSettings] { + return pulumix.Output[FlexibleRuntimeSettings]{ + OutputState: i.ToFlexibleRuntimeSettingsOutputWithContext(ctx).OutputState, + } +} + func (i FlexibleRuntimeSettingsArgs) ToFlexibleRuntimeSettingsPtrOutput() FlexibleRuntimeSettingsPtrOutput { return i.ToFlexibleRuntimeSettingsPtrOutputWithContext(context.Background()) } @@ -3637,6 +4136,12 @@ func (i *flexibleRuntimeSettingsPtrType) ToFlexibleRuntimeSettingsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(FlexibleRuntimeSettingsPtrOutput) } +func (i *flexibleRuntimeSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*FlexibleRuntimeSettings] { + return pulumix.Output[*FlexibleRuntimeSettings]{ + OutputState: i.ToFlexibleRuntimeSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Runtime settings for the App Engine flexible environment. type FlexibleRuntimeSettingsOutput struct{ *pulumi.OutputState } @@ -3662,6 +4167,12 @@ func (o FlexibleRuntimeSettingsOutput) ToFlexibleRuntimeSettingsPtrOutputWithCon }).(FlexibleRuntimeSettingsPtrOutput) } +func (o FlexibleRuntimeSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[FlexibleRuntimeSettings] { + return pulumix.Output[FlexibleRuntimeSettings]{ + OutputState: o.OutputState, + } +} + // The operating system of the application runtime. func (o FlexibleRuntimeSettingsOutput) OperatingSystem() pulumi.StringPtrOutput { return o.ApplyT(func(v FlexibleRuntimeSettings) *string { return v.OperatingSystem }).(pulumi.StringPtrOutput) @@ -3686,6 +4197,12 @@ func (o FlexibleRuntimeSettingsPtrOutput) ToFlexibleRuntimeSettingsPtrOutputWith return o } +func (o FlexibleRuntimeSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FlexibleRuntimeSettings] { + return pulumix.Output[*FlexibleRuntimeSettings]{ + OutputState: o.OutputState, + } +} + func (o FlexibleRuntimeSettingsPtrOutput) Elem() FlexibleRuntimeSettingsOutput { return o.ApplyT(func(v *FlexibleRuntimeSettings) FlexibleRuntimeSettings { if v != nil { @@ -3739,6 +4256,12 @@ func (o FlexibleRuntimeSettingsResponseOutput) ToFlexibleRuntimeSettingsResponse return o } +func (o FlexibleRuntimeSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FlexibleRuntimeSettingsResponse] { + return pulumix.Output[FlexibleRuntimeSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The operating system of the application runtime. func (o FlexibleRuntimeSettingsResponseOutput) OperatingSystem() pulumi.StringOutput { return o.ApplyT(func(v FlexibleRuntimeSettingsResponse) string { return v.OperatingSystem }).(pulumi.StringOutput) @@ -3808,6 +4331,12 @@ func (i HealthCheckArgs) ToHealthCheckOutputWithContext(ctx context.Context) Hea return pulumi.ToOutputWithContext(ctx, i).(HealthCheckOutput) } +func (i HealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[HealthCheck] { + return pulumix.Output[HealthCheck]{ + OutputState: i.ToHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i HealthCheckArgs) ToHealthCheckPtrOutput() HealthCheckPtrOutput { return i.ToHealthCheckPtrOutputWithContext(context.Background()) } @@ -3849,6 +4378,12 @@ func (i *healthCheckPtrType) ToHealthCheckPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(HealthCheckPtrOutput) } +func (i *healthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*HealthCheck] { + return pulumix.Output[*HealthCheck]{ + OutputState: i.ToHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + // Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment. type HealthCheckOutput struct{ *pulumi.OutputState } @@ -3874,6 +4409,12 @@ func (o HealthCheckOutput) ToHealthCheckPtrOutputWithContext(ctx context.Context }).(HealthCheckPtrOutput) } +func (o HealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheck] { + return pulumix.Output[HealthCheck]{ + OutputState: o.OutputState, + } +} + // Interval between health checks. func (o HealthCheckOutput) CheckInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v HealthCheck) *string { return v.CheckInterval }).(pulumi.StringPtrOutput) @@ -3923,6 +4464,12 @@ func (o HealthCheckPtrOutput) ToHealthCheckPtrOutputWithContext(ctx context.Cont return o } +func (o HealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheck] { + return pulumix.Output[*HealthCheck]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckPtrOutput) Elem() HealthCheckOutput { return o.ApplyT(func(v *HealthCheck) HealthCheck { if v != nil { @@ -4036,6 +4583,12 @@ func (o HealthCheckResponseOutput) ToHealthCheckResponseOutputWithContext(ctx co return o } +func (o HealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckResponse] { + return pulumix.Output[HealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // Interval between health checks. func (o HealthCheckResponseOutput) CheckInterval() pulumi.StringOutput { return o.ApplyT(func(v HealthCheckResponse) string { return v.CheckInterval }).(pulumi.StringOutput) @@ -4114,6 +4667,12 @@ func (i IdentityAwareProxyArgs) ToIdentityAwareProxyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(IdentityAwareProxyOutput) } +func (i IdentityAwareProxyArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityAwareProxy] { + return pulumix.Output[IdentityAwareProxy]{ + OutputState: i.ToIdentityAwareProxyOutputWithContext(ctx).OutputState, + } +} + func (i IdentityAwareProxyArgs) ToIdentityAwareProxyPtrOutput() IdentityAwareProxyPtrOutput { return i.ToIdentityAwareProxyPtrOutputWithContext(context.Background()) } @@ -4155,6 +4714,12 @@ func (i *identityAwareProxyPtrType) ToIdentityAwareProxyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(IdentityAwareProxyPtrOutput) } +func (i *identityAwareProxyPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityAwareProxy] { + return pulumix.Output[*IdentityAwareProxy]{ + OutputState: i.ToIdentityAwareProxyPtrOutputWithContext(ctx).OutputState, + } +} + // Identity-Aware Proxy type IdentityAwareProxyOutput struct{ *pulumi.OutputState } @@ -4180,6 +4745,12 @@ func (o IdentityAwareProxyOutput) ToIdentityAwareProxyPtrOutputWithContext(ctx c }).(IdentityAwareProxyPtrOutput) } +func (o IdentityAwareProxyOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityAwareProxy] { + return pulumix.Output[IdentityAwareProxy]{ + OutputState: o.OutputState, + } +} + // Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty. func (o IdentityAwareProxyOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v IdentityAwareProxy) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -4209,6 +4780,12 @@ func (o IdentityAwareProxyPtrOutput) ToIdentityAwareProxyPtrOutputWithContext(ct return o } +func (o IdentityAwareProxyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityAwareProxy] { + return pulumix.Output[*IdentityAwareProxy]{ + OutputState: o.OutputState, + } +} + func (o IdentityAwareProxyPtrOutput) Elem() IdentityAwareProxyOutput { return o.ApplyT(func(v *IdentityAwareProxy) IdentityAwareProxy { if v != nil { @@ -4276,6 +4853,12 @@ func (o IdentityAwareProxyResponseOutput) ToIdentityAwareProxyResponseOutputWith return o } +func (o IdentityAwareProxyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityAwareProxyResponse] { + return pulumix.Output[IdentityAwareProxyResponse]{ + OutputState: o.OutputState, + } +} + // Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty. func (o IdentityAwareProxyResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v IdentityAwareProxyResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -4335,6 +4918,12 @@ func (i LibraryArgs) ToLibraryOutputWithContext(ctx context.Context) LibraryOutp return pulumi.ToOutputWithContext(ctx, i).(LibraryOutput) } +func (i LibraryArgs) ToOutput(ctx context.Context) pulumix.Output[Library] { + return pulumix.Output[Library]{ + OutputState: i.ToLibraryOutputWithContext(ctx).OutputState, + } +} + // LibraryArrayInput is an input type that accepts LibraryArray and LibraryArrayOutput values. // You can construct a concrete instance of `LibraryArrayInput` via: // @@ -4360,6 +4949,12 @@ func (i LibraryArray) ToLibraryArrayOutputWithContext(ctx context.Context) Libra return pulumi.ToOutputWithContext(ctx, i).(LibraryArrayOutput) } +func (i LibraryArray) ToOutput(ctx context.Context) pulumix.Output[[]Library] { + return pulumix.Output[[]Library]{ + OutputState: i.ToLibraryArrayOutputWithContext(ctx).OutputState, + } +} + // Third-party Python runtime library that is required by the application. type LibraryOutput struct{ *pulumi.OutputState } @@ -4375,6 +4970,12 @@ func (o LibraryOutput) ToLibraryOutputWithContext(ctx context.Context) LibraryOu return o } +func (o LibraryOutput) ToOutput(ctx context.Context) pulumix.Output[Library] { + return pulumix.Output[Library]{ + OutputState: o.OutputState, + } +} + // Name of the library. Example: "django". func (o LibraryOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Library) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -4399,6 +5000,12 @@ func (o LibraryArrayOutput) ToLibraryArrayOutputWithContext(ctx context.Context) return o } +func (o LibraryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Library] { + return pulumix.Output[[]Library]{ + OutputState: o.OutputState, + } +} + func (o LibraryArrayOutput) Index(i pulumi.IntInput) LibraryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Library { return vs[0].([]Library)[vs[1].(int)] @@ -4428,6 +5035,12 @@ func (o LibraryResponseOutput) ToLibraryResponseOutputWithContext(ctx context.Co return o } +func (o LibraryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LibraryResponse] { + return pulumix.Output[LibraryResponse]{ + OutputState: o.OutputState, + } +} + // Name of the library. Example: "django". func (o LibraryResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LibraryResponse) string { return v.Name }).(pulumi.StringOutput) @@ -4452,6 +5065,12 @@ func (o LibraryResponseArrayOutput) ToLibraryResponseArrayOutputWithContext(ctx return o } +func (o LibraryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LibraryResponse] { + return pulumix.Output[[]LibraryResponse]{ + OutputState: o.OutputState, + } +} + func (o LibraryResponseArrayOutput) Index(i pulumi.IntInput) LibraryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LibraryResponse { return vs[0].([]LibraryResponse)[vs[1].(int)] @@ -4517,6 +5136,12 @@ func (i LivenessCheckArgs) ToLivenessCheckOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LivenessCheckOutput) } +func (i LivenessCheckArgs) ToOutput(ctx context.Context) pulumix.Output[LivenessCheck] { + return pulumix.Output[LivenessCheck]{ + OutputState: i.ToLivenessCheckOutputWithContext(ctx).OutputState, + } +} + func (i LivenessCheckArgs) ToLivenessCheckPtrOutput() LivenessCheckPtrOutput { return i.ToLivenessCheckPtrOutputWithContext(context.Background()) } @@ -4558,6 +5183,12 @@ func (i *livenessCheckPtrType) ToLivenessCheckPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LivenessCheckPtrOutput) } +func (i *livenessCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*LivenessCheck] { + return pulumix.Output[*LivenessCheck]{ + OutputState: i.ToLivenessCheckPtrOutputWithContext(ctx).OutputState, + } +} + // Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. type LivenessCheckOutput struct{ *pulumi.OutputState } @@ -4583,6 +5214,12 @@ func (o LivenessCheckOutput) ToLivenessCheckPtrOutputWithContext(ctx context.Con }).(LivenessCheckPtrOutput) } +func (o LivenessCheckOutput) ToOutput(ctx context.Context) pulumix.Output[LivenessCheck] { + return pulumix.Output[LivenessCheck]{ + OutputState: o.OutputState, + } +} + // Interval between health checks. func (o LivenessCheckOutput) CheckInterval() pulumi.StringPtrOutput { return o.ApplyT(func(v LivenessCheck) *string { return v.CheckInterval }).(pulumi.StringPtrOutput) @@ -4632,6 +5269,12 @@ func (o LivenessCheckPtrOutput) ToLivenessCheckPtrOutputWithContext(ctx context. return o } +func (o LivenessCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LivenessCheck] { + return pulumix.Output[*LivenessCheck]{ + OutputState: o.OutputState, + } +} + func (o LivenessCheckPtrOutput) Elem() LivenessCheckOutput { return o.ApplyT(func(v *LivenessCheck) LivenessCheck { if v != nil { @@ -4745,6 +5388,12 @@ func (o LivenessCheckResponseOutput) ToLivenessCheckResponseOutputWithContext(ct return o } +func (o LivenessCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LivenessCheckResponse] { + return pulumix.Output[LivenessCheckResponse]{ + OutputState: o.OutputState, + } +} + // Interval between health checks. func (o LivenessCheckResponseOutput) CheckInterval() pulumi.StringOutput { return o.ApplyT(func(v LivenessCheckResponse) string { return v.CheckInterval }).(pulumi.StringOutput) @@ -4803,6 +5452,12 @@ func (o ManagedCertificateResponseOutput) ToManagedCertificateResponseOutputWith return o } +func (o ManagedCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedCertificateResponse] { + return pulumix.Output[ManagedCertificateResponse]{ + OutputState: o.OutputState, + } +} + // Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus. func (o ManagedCertificateResponseOutput) LastRenewalTime() pulumi.StringOutput { return o.ApplyT(func(v ManagedCertificateResponse) string { return v.LastRenewalTime }).(pulumi.StringOutput) @@ -4848,6 +5503,12 @@ func (i ManualScalingArgs) ToManualScalingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ManualScalingOutput) } +func (i ManualScalingArgs) ToOutput(ctx context.Context) pulumix.Output[ManualScaling] { + return pulumix.Output[ManualScaling]{ + OutputState: i.ToManualScalingOutputWithContext(ctx).OutputState, + } +} + func (i ManualScalingArgs) ToManualScalingPtrOutput() ManualScalingPtrOutput { return i.ToManualScalingPtrOutputWithContext(context.Background()) } @@ -4889,6 +5550,12 @@ func (i *manualScalingPtrType) ToManualScalingPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ManualScalingPtrOutput) } +func (i *manualScalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManualScaling] { + return pulumix.Output[*ManualScaling]{ + OutputState: i.ToManualScalingPtrOutputWithContext(ctx).OutputState, + } +} + // A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. type ManualScalingOutput struct{ *pulumi.OutputState } @@ -4914,6 +5581,12 @@ func (o ManualScalingOutput) ToManualScalingPtrOutputWithContext(ctx context.Con }).(ManualScalingPtrOutput) } +func (o ManualScalingOutput) ToOutput(ctx context.Context) pulumix.Output[ManualScaling] { + return pulumix.Output[ManualScaling]{ + OutputState: o.OutputState, + } +} + // Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function. func (o ManualScalingOutput) Instances() pulumi.IntPtrOutput { return o.ApplyT(func(v ManualScaling) *int { return v.Instances }).(pulumi.IntPtrOutput) @@ -4933,6 +5606,12 @@ func (o ManualScalingPtrOutput) ToManualScalingPtrOutputWithContext(ctx context. return o } +func (o ManualScalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManualScaling] { + return pulumix.Output[*ManualScaling]{ + OutputState: o.OutputState, + } +} + func (o ManualScalingPtrOutput) Elem() ManualScalingOutput { return o.ApplyT(func(v *ManualScaling) ManualScaling { if v != nil { @@ -4974,6 +5653,12 @@ func (o ManualScalingResponseOutput) ToManualScalingResponseOutputWithContext(ct return o } +func (o ManualScalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManualScalingResponse] { + return pulumix.Output[ManualScalingResponse]{ + OutputState: o.OutputState, + } +} + // Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function. func (o ManualScalingResponseOutput) Instances() pulumi.IntOutput { return o.ApplyT(func(v ManualScalingResponse) int { return v.Instances }).(pulumi.IntOutput) @@ -5034,6 +5719,12 @@ func (i NetworkArgs) ToNetworkOutputWithContext(ctx context.Context) NetworkOutp return pulumi.ToOutputWithContext(ctx, i).(NetworkOutput) } +func (i NetworkArgs) ToOutput(ctx context.Context) pulumix.Output[Network] { + return pulumix.Output[Network]{ + OutputState: i.ToNetworkOutputWithContext(ctx).OutputState, + } +} + func (i NetworkArgs) ToNetworkPtrOutput() NetworkPtrOutput { return i.ToNetworkPtrOutputWithContext(context.Background()) } @@ -5075,6 +5766,12 @@ func (i *networkPtrType) ToNetworkPtrOutputWithContext(ctx context.Context) Netw return pulumi.ToOutputWithContext(ctx, i).(NetworkPtrOutput) } +func (i *networkPtrType) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: i.ToNetworkPtrOutputWithContext(ctx).OutputState, + } +} + // Extra network settings. Only applicable in the App Engine flexible environment. type NetworkOutput struct{ *pulumi.OutputState } @@ -5100,6 +5797,12 @@ func (o NetworkOutput) ToNetworkPtrOutputWithContext(ctx context.Context) Networ }).(NetworkPtrOutput) } +func (o NetworkOutput) ToOutput(ctx context.Context) pulumix.Output[Network] { + return pulumix.Output[Network]{ + OutputState: o.OutputState, + } +} + // List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment. func (o NetworkOutput) ForwardedPorts() pulumi.StringArrayOutput { return o.ApplyT(func(v Network) []string { return v.ForwardedPorts }).(pulumi.StringArrayOutput) @@ -5144,6 +5847,12 @@ func (o NetworkPtrOutput) ToNetworkPtrOutputWithContext(ctx context.Context) Net return o } +func (o NetworkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: o.OutputState, + } +} + func (o NetworkPtrOutput) Elem() NetworkOutput { return o.ApplyT(func(v *Network) Network { if v != nil { @@ -5245,6 +5954,12 @@ func (o NetworkResponseOutput) ToNetworkResponseOutputWithContext(ctx context.Co return o } +func (o NetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkResponse] { + return pulumix.Output[NetworkResponse]{ + OutputState: o.OutputState, + } +} + // List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment. func (o NetworkResponseOutput) ForwardedPorts() pulumi.StringArrayOutput { return o.ApplyT(func(v NetworkResponse) []string { return v.ForwardedPorts }).(pulumi.StringArrayOutput) @@ -5322,6 +6037,12 @@ func (i NetworkUtilizationArgs) ToNetworkUtilizationOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NetworkUtilizationOutput) } +func (i NetworkUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkUtilization] { + return pulumix.Output[NetworkUtilization]{ + OutputState: i.ToNetworkUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i NetworkUtilizationArgs) ToNetworkUtilizationPtrOutput() NetworkUtilizationPtrOutput { return i.ToNetworkUtilizationPtrOutputWithContext(context.Background()) } @@ -5363,6 +6084,12 @@ func (i *networkUtilizationPtrType) ToNetworkUtilizationPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NetworkUtilizationPtrOutput) } +func (i *networkUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkUtilization] { + return pulumix.Output[*NetworkUtilization]{ + OutputState: i.ToNetworkUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Target scaling by network usage. Only applicable in the App Engine flexible environment. type NetworkUtilizationOutput struct{ *pulumi.OutputState } @@ -5388,6 +6115,12 @@ func (o NetworkUtilizationOutput) ToNetworkUtilizationPtrOutputWithContext(ctx c }).(NetworkUtilizationPtrOutput) } +func (o NetworkUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkUtilization] { + return pulumix.Output[NetworkUtilization]{ + OutputState: o.OutputState, + } +} + // Target bytes received per second. func (o NetworkUtilizationOutput) TargetReceivedBytesPerSecond() pulumi.IntPtrOutput { return o.ApplyT(func(v NetworkUtilization) *int { return v.TargetReceivedBytesPerSecond }).(pulumi.IntPtrOutput) @@ -5422,6 +6155,12 @@ func (o NetworkUtilizationPtrOutput) ToNetworkUtilizationPtrOutputWithContext(ct return o } +func (o NetworkUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkUtilization] { + return pulumix.Output[*NetworkUtilization]{ + OutputState: o.OutputState, + } +} + func (o NetworkUtilizationPtrOutput) Elem() NetworkUtilizationOutput { return o.ApplyT(func(v *NetworkUtilization) NetworkUtilization { if v != nil { @@ -5499,6 +6238,12 @@ func (o NetworkUtilizationResponseOutput) ToNetworkUtilizationResponseOutputWith return o } +func (o NetworkUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkUtilizationResponse] { + return pulumix.Output[NetworkUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Target bytes received per second. func (o NetworkUtilizationResponseOutput) TargetReceivedBytesPerSecond() pulumi.IntOutput { return o.ApplyT(func(v NetworkUtilizationResponse) int { return v.TargetReceivedBytesPerSecond }).(pulumi.IntOutput) @@ -5578,6 +6323,12 @@ func (i ReadinessCheckArgs) ToReadinessCheckOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ReadinessCheckOutput) } +func (i ReadinessCheckArgs) ToOutput(ctx context.Context) pulumix.Output[ReadinessCheck] { + return pulumix.Output[ReadinessCheck]{ + OutputState: i.ToReadinessCheckOutputWithContext(ctx).OutputState, + } +} + func (i ReadinessCheckArgs) ToReadinessCheckPtrOutput() ReadinessCheckPtrOutput { return i.ToReadinessCheckPtrOutputWithContext(context.Background()) } @@ -5619,6 +6370,12 @@ func (i *readinessCheckPtrType) ToReadinessCheckPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ReadinessCheckPtrOutput) } +func (i *readinessCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReadinessCheck] { + return pulumix.Output[*ReadinessCheck]{ + OutputState: i.ToReadinessCheckPtrOutputWithContext(ctx).OutputState, + } +} + // Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation. type ReadinessCheckOutput struct{ *pulumi.OutputState } @@ -5644,6 +6401,12 @@ func (o ReadinessCheckOutput) ToReadinessCheckPtrOutputWithContext(ctx context.C }).(ReadinessCheckPtrOutput) } +func (o ReadinessCheckOutput) ToOutput(ctx context.Context) pulumix.Output[ReadinessCheck] { + return pulumix.Output[ReadinessCheck]{ + OutputState: o.OutputState, + } +} + // A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. func (o ReadinessCheckOutput) AppStartTimeout() pulumi.StringPtrOutput { return o.ApplyT(func(v ReadinessCheck) *string { return v.AppStartTimeout }).(pulumi.StringPtrOutput) @@ -5693,6 +6456,12 @@ func (o ReadinessCheckPtrOutput) ToReadinessCheckPtrOutputWithContext(ctx contex return o } +func (o ReadinessCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReadinessCheck] { + return pulumix.Output[*ReadinessCheck]{ + OutputState: o.OutputState, + } +} + func (o ReadinessCheckPtrOutput) Elem() ReadinessCheckOutput { return o.ApplyT(func(v *ReadinessCheck) ReadinessCheck { if v != nil { @@ -5806,6 +6575,12 @@ func (o ReadinessCheckResponseOutput) ToReadinessCheckResponseOutputWithContext( return o } +func (o ReadinessCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReadinessCheckResponse] { + return pulumix.Output[ReadinessCheckResponse]{ + OutputState: o.OutputState, + } +} + // A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. func (o ReadinessCheckResponseOutput) AppStartTimeout() pulumi.StringOutput { return o.ApplyT(func(v ReadinessCheckResponse) string { return v.AppStartTimeout }).(pulumi.StringOutput) @@ -5880,6 +6655,12 @@ func (i RequestUtilizationArgs) ToRequestUtilizationOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RequestUtilizationOutput) } +func (i RequestUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[RequestUtilization] { + return pulumix.Output[RequestUtilization]{ + OutputState: i.ToRequestUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i RequestUtilizationArgs) ToRequestUtilizationPtrOutput() RequestUtilizationPtrOutput { return i.ToRequestUtilizationPtrOutputWithContext(context.Background()) } @@ -5921,6 +6702,12 @@ func (i *requestUtilizationPtrType) ToRequestUtilizationPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RequestUtilizationPtrOutput) } +func (i *requestUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*RequestUtilization] { + return pulumix.Output[*RequestUtilization]{ + OutputState: i.ToRequestUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Target scaling by request utilization. Only applicable in the App Engine flexible environment. type RequestUtilizationOutput struct{ *pulumi.OutputState } @@ -5946,6 +6733,12 @@ func (o RequestUtilizationOutput) ToRequestUtilizationPtrOutputWithContext(ctx c }).(RequestUtilizationPtrOutput) } +func (o RequestUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[RequestUtilization] { + return pulumix.Output[RequestUtilization]{ + OutputState: o.OutputState, + } +} + // Target number of concurrent requests. func (o RequestUtilizationOutput) TargetConcurrentRequests() pulumi.IntPtrOutput { return o.ApplyT(func(v RequestUtilization) *int { return v.TargetConcurrentRequests }).(pulumi.IntPtrOutput) @@ -5970,6 +6763,12 @@ func (o RequestUtilizationPtrOutput) ToRequestUtilizationPtrOutputWithContext(ct return o } +func (o RequestUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RequestUtilization] { + return pulumix.Output[*RequestUtilization]{ + OutputState: o.OutputState, + } +} + func (o RequestUtilizationPtrOutput) Elem() RequestUtilizationOutput { return o.ApplyT(func(v *RequestUtilization) RequestUtilization { if v != nil { @@ -6023,6 +6822,12 @@ func (o RequestUtilizationResponseOutput) ToRequestUtilizationResponseOutputWith return o } +func (o RequestUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RequestUtilizationResponse] { + return pulumix.Output[RequestUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Target number of concurrent requests. func (o RequestUtilizationResponseOutput) TargetConcurrentRequests() pulumi.IntOutput { return o.ApplyT(func(v RequestUtilizationResponse) int { return v.TargetConcurrentRequests }).(pulumi.IntOutput) @@ -6058,6 +6863,12 @@ func (o ResourceRecordResponseOutput) ToResourceRecordResponseOutputWithContext( return o } +func (o ResourceRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceRecordResponse] { + return pulumix.Output[ResourceRecordResponse]{ + OutputState: o.OutputState, + } +} + // Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'. func (o ResourceRecordResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v ResourceRecordResponse) string { return v.Name }).(pulumi.StringOutput) @@ -6087,6 +6898,12 @@ func (o ResourceRecordResponseArrayOutput) ToResourceRecordResponseArrayOutputWi return o } +func (o ResourceRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceRecordResponse] { + return pulumix.Output[[]ResourceRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordResponseArrayOutput) Index(i pulumi.IntInput) ResourceRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceRecordResponse { return vs[0].([]ResourceRecordResponse)[vs[1].(int)] @@ -6144,6 +6961,12 @@ func (i ResourcesArgs) ToResourcesOutputWithContext(ctx context.Context) Resourc return pulumi.ToOutputWithContext(ctx, i).(ResourcesOutput) } +func (i ResourcesArgs) ToOutput(ctx context.Context) pulumix.Output[Resources] { + return pulumix.Output[Resources]{ + OutputState: i.ToResourcesOutputWithContext(ctx).OutputState, + } +} + func (i ResourcesArgs) ToResourcesPtrOutput() ResourcesPtrOutput { return i.ToResourcesPtrOutputWithContext(context.Background()) } @@ -6185,6 +7008,12 @@ func (i *resourcesPtrType) ToResourcesPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ResourcesPtrOutput) } +func (i *resourcesPtrType) ToOutput(ctx context.Context) pulumix.Output[*Resources] { + return pulumix.Output[*Resources]{ + OutputState: i.ToResourcesPtrOutputWithContext(ctx).OutputState, + } +} + // Machine resources for a version. type ResourcesOutput struct{ *pulumi.OutputState } @@ -6210,6 +7039,12 @@ func (o ResourcesOutput) ToResourcesPtrOutputWithContext(ctx context.Context) Re }).(ResourcesPtrOutput) } +func (o ResourcesOutput) ToOutput(ctx context.Context) pulumix.Output[Resources] { + return pulumix.Output[Resources]{ + OutputState: o.OutputState, + } +} + // Number of CPU cores needed. func (o ResourcesOutput) Cpu() pulumi.Float64PtrOutput { return o.ApplyT(func(v Resources) *float64 { return v.Cpu }).(pulumi.Float64PtrOutput) @@ -6249,6 +7084,12 @@ func (o ResourcesPtrOutput) ToResourcesPtrOutputWithContext(ctx context.Context) return o } +func (o ResourcesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Resources] { + return pulumix.Output[*Resources]{ + OutputState: o.OutputState, + } +} + func (o ResourcesPtrOutput) Elem() ResourcesOutput { return o.ApplyT(func(v *Resources) Resources { if v != nil { @@ -6338,6 +7179,12 @@ func (o ResourcesResponseOutput) ToResourcesResponseOutputWithContext(ctx contex return o } +func (o ResourcesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcesResponse] { + return pulumix.Output[ResourcesResponse]{ + OutputState: o.OutputState, + } +} + // Number of CPU cores needed. func (o ResourcesResponseOutput) Cpu() pulumi.Float64Output { return o.ApplyT(func(v ResourcesResponse) float64 { return v.Cpu }).(pulumi.Float64Output) @@ -6398,6 +7245,12 @@ func (i ScriptHandlerArgs) ToScriptHandlerOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ScriptHandlerOutput) } +func (i ScriptHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[ScriptHandler] { + return pulumix.Output[ScriptHandler]{ + OutputState: i.ToScriptHandlerOutputWithContext(ctx).OutputState, + } +} + func (i ScriptHandlerArgs) ToScriptHandlerPtrOutput() ScriptHandlerPtrOutput { return i.ToScriptHandlerPtrOutputWithContext(context.Background()) } @@ -6439,6 +7292,12 @@ func (i *scriptHandlerPtrType) ToScriptHandlerPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ScriptHandlerPtrOutput) } +func (i *scriptHandlerPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScriptHandler] { + return pulumix.Output[*ScriptHandler]{ + OutputState: i.ToScriptHandlerPtrOutputWithContext(ctx).OutputState, + } +} + // Executes a script to handle the request that matches the URL pattern. type ScriptHandlerOutput struct{ *pulumi.OutputState } @@ -6464,6 +7323,12 @@ func (o ScriptHandlerOutput) ToScriptHandlerPtrOutputWithContext(ctx context.Con }).(ScriptHandlerPtrOutput) } +func (o ScriptHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[ScriptHandler] { + return pulumix.Output[ScriptHandler]{ + OutputState: o.OutputState, + } +} + // Path to the script from the application root directory. func (o ScriptHandlerOutput) ScriptPath() pulumi.StringPtrOutput { return o.ApplyT(func(v ScriptHandler) *string { return v.ScriptPath }).(pulumi.StringPtrOutput) @@ -6483,6 +7348,12 @@ func (o ScriptHandlerPtrOutput) ToScriptHandlerPtrOutputWithContext(ctx context. return o } +func (o ScriptHandlerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScriptHandler] { + return pulumix.Output[*ScriptHandler]{ + OutputState: o.OutputState, + } +} + func (o ScriptHandlerPtrOutput) Elem() ScriptHandlerOutput { return o.ApplyT(func(v *ScriptHandler) ScriptHandler { if v != nil { @@ -6524,6 +7395,12 @@ func (o ScriptHandlerResponseOutput) ToScriptHandlerResponseOutputWithContext(ct return o } +func (o ScriptHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScriptHandlerResponse] { + return pulumix.Output[ScriptHandlerResponse]{ + OutputState: o.OutputState, + } +} + // Path to the script from the application root directory. func (o ScriptHandlerResponseOutput) ScriptPath() pulumi.StringOutput { return o.ApplyT(func(v ScriptHandlerResponse) string { return v.ScriptPath }).(pulumi.StringOutput) @@ -6568,6 +7445,12 @@ func (i SslSettingsArgs) ToSslSettingsOutputWithContext(ctx context.Context) Ssl return pulumi.ToOutputWithContext(ctx, i).(SslSettingsOutput) } +func (i SslSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[SslSettings] { + return pulumix.Output[SslSettings]{ + OutputState: i.ToSslSettingsOutputWithContext(ctx).OutputState, + } +} + func (i SslSettingsArgs) ToSslSettingsPtrOutput() SslSettingsPtrOutput { return i.ToSslSettingsPtrOutputWithContext(context.Background()) } @@ -6609,6 +7492,12 @@ func (i *sslSettingsPtrType) ToSslSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SslSettingsPtrOutput) } +func (i *sslSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SslSettings] { + return pulumix.Output[*SslSettings]{ + OutputState: i.ToSslSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // SSL configuration for a DomainMapping resource. type SslSettingsOutput struct{ *pulumi.OutputState } @@ -6634,6 +7523,12 @@ func (o SslSettingsOutput) ToSslSettingsPtrOutputWithContext(ctx context.Context }).(SslSettingsPtrOutput) } +func (o SslSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[SslSettings] { + return pulumix.Output[SslSettings]{ + OutputState: o.OutputState, + } +} + // ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345. func (o SslSettingsOutput) CertificateId() pulumi.StringPtrOutput { return o.ApplyT(func(v SslSettings) *string { return v.CertificateId }).(pulumi.StringPtrOutput) @@ -6658,6 +7553,12 @@ func (o SslSettingsPtrOutput) ToSslSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o SslSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslSettings] { + return pulumix.Output[*SslSettings]{ + OutputState: o.OutputState, + } +} + func (o SslSettingsPtrOutput) Elem() SslSettingsOutput { return o.ApplyT(func(v *SslSettings) SslSettings { if v != nil { @@ -6713,6 +7614,12 @@ func (o SslSettingsResponseOutput) ToSslSettingsResponseOutputWithContext(ctx co return o } +func (o SslSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslSettingsResponse] { + return pulumix.Output[SslSettingsResponse]{ + OutputState: o.OutputState, + } +} + // ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345. func (o SslSettingsResponseOutput) CertificateId() pulumi.StringOutput { return o.ApplyT(func(v SslSettingsResponse) string { return v.CertificateId }).(pulumi.StringOutput) @@ -6775,6 +7682,12 @@ func (i StandardSchedulerSettingsArgs) ToStandardSchedulerSettingsOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(StandardSchedulerSettingsOutput) } +func (i StandardSchedulerSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[StandardSchedulerSettings] { + return pulumix.Output[StandardSchedulerSettings]{ + OutputState: i.ToStandardSchedulerSettingsOutputWithContext(ctx).OutputState, + } +} + func (i StandardSchedulerSettingsArgs) ToStandardSchedulerSettingsPtrOutput() StandardSchedulerSettingsPtrOutput { return i.ToStandardSchedulerSettingsPtrOutputWithContext(context.Background()) } @@ -6816,6 +7729,12 @@ func (i *standardSchedulerSettingsPtrType) ToStandardSchedulerSettingsPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(StandardSchedulerSettingsPtrOutput) } +func (i *standardSchedulerSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*StandardSchedulerSettings] { + return pulumix.Output[*StandardSchedulerSettings]{ + OutputState: i.ToStandardSchedulerSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Scheduler settings for standard environment. type StandardSchedulerSettingsOutput struct{ *pulumi.OutputState } @@ -6841,6 +7760,12 @@ func (o StandardSchedulerSettingsOutput) ToStandardSchedulerSettingsPtrOutputWit }).(StandardSchedulerSettingsPtrOutput) } +func (o StandardSchedulerSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSchedulerSettings] { + return pulumix.Output[StandardSchedulerSettings]{ + OutputState: o.OutputState, + } +} + // Maximum number of instances to run for this version. Set to zero to disable max_instances configuration. func (o StandardSchedulerSettingsOutput) MaxInstances() pulumi.IntPtrOutput { return o.ApplyT(func(v StandardSchedulerSettings) *int { return v.MaxInstances }).(pulumi.IntPtrOutput) @@ -6875,6 +7800,12 @@ func (o StandardSchedulerSettingsPtrOutput) ToStandardSchedulerSettingsPtrOutput return o } +func (o StandardSchedulerSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StandardSchedulerSettings] { + return pulumix.Output[*StandardSchedulerSettings]{ + OutputState: o.OutputState, + } +} + func (o StandardSchedulerSettingsPtrOutput) Elem() StandardSchedulerSettingsOutput { return o.ApplyT(func(v *StandardSchedulerSettings) StandardSchedulerSettings { if v != nil { @@ -6952,6 +7883,12 @@ func (o StandardSchedulerSettingsResponseOutput) ToStandardSchedulerSettingsResp return o } +func (o StandardSchedulerSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSchedulerSettingsResponse] { + return pulumix.Output[StandardSchedulerSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Maximum number of instances to run for this version. Set to zero to disable max_instances configuration. func (o StandardSchedulerSettingsResponseOutput) MaxInstances() pulumi.IntOutput { return o.ApplyT(func(v StandardSchedulerSettingsResponse) int { return v.MaxInstances }).(pulumi.IntOutput) @@ -7031,6 +7968,12 @@ func (i StaticFilesHandlerArgs) ToStaticFilesHandlerOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(StaticFilesHandlerOutput) } +func (i StaticFilesHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[StaticFilesHandler] { + return pulumix.Output[StaticFilesHandler]{ + OutputState: i.ToStaticFilesHandlerOutputWithContext(ctx).OutputState, + } +} + func (i StaticFilesHandlerArgs) ToStaticFilesHandlerPtrOutput() StaticFilesHandlerPtrOutput { return i.ToStaticFilesHandlerPtrOutputWithContext(context.Background()) } @@ -7072,6 +8015,12 @@ func (i *staticFilesHandlerPtrType) ToStaticFilesHandlerPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(StaticFilesHandlerPtrOutput) } +func (i *staticFilesHandlerPtrType) ToOutput(ctx context.Context) pulumix.Output[*StaticFilesHandler] { + return pulumix.Output[*StaticFilesHandler]{ + OutputState: i.ToStaticFilesHandlerPtrOutputWithContext(ctx).OutputState, + } +} + // Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. type StaticFilesHandlerOutput struct{ *pulumi.OutputState } @@ -7097,6 +8046,12 @@ func (o StaticFilesHandlerOutput) ToStaticFilesHandlerPtrOutputWithContext(ctx c }).(StaticFilesHandlerPtrOutput) } +func (o StaticFilesHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[StaticFilesHandler] { + return pulumix.Output[StaticFilesHandler]{ + OutputState: o.OutputState, + } +} + // Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas. func (o StaticFilesHandlerOutput) ApplicationReadable() pulumi.BoolPtrOutput { return o.ApplyT(func(v StaticFilesHandler) *bool { return v.ApplicationReadable }).(pulumi.BoolPtrOutput) @@ -7146,6 +8101,12 @@ func (o StaticFilesHandlerPtrOutput) ToStaticFilesHandlerPtrOutputWithContext(ct return o } +func (o StaticFilesHandlerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StaticFilesHandler] { + return pulumix.Output[*StaticFilesHandler]{ + OutputState: o.OutputState, + } +} + func (o StaticFilesHandlerPtrOutput) Elem() StaticFilesHandlerOutput { return o.ApplyT(func(v *StaticFilesHandler) StaticFilesHandler { if v != nil { @@ -7259,6 +8220,12 @@ func (o StaticFilesHandlerResponseOutput) ToStaticFilesHandlerResponseOutputWith return o } +func (o StaticFilesHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StaticFilesHandlerResponse] { + return pulumix.Output[StaticFilesHandlerResponse]{ + OutputState: o.OutputState, + } +} + // Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas. func (o StaticFilesHandlerResponseOutput) ApplicationReadable() pulumi.BoolOutput { return o.ApplyT(func(v StaticFilesHandlerResponse) bool { return v.ApplicationReadable }).(pulumi.BoolOutput) @@ -7337,6 +8304,12 @@ func (i UrlDispatchRuleArgs) ToUrlDispatchRuleOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(UrlDispatchRuleOutput) } +func (i UrlDispatchRuleArgs) ToOutput(ctx context.Context) pulumix.Output[UrlDispatchRule] { + return pulumix.Output[UrlDispatchRule]{ + OutputState: i.ToUrlDispatchRuleOutputWithContext(ctx).OutputState, + } +} + // UrlDispatchRuleArrayInput is an input type that accepts UrlDispatchRuleArray and UrlDispatchRuleArrayOutput values. // You can construct a concrete instance of `UrlDispatchRuleArrayInput` via: // @@ -7362,6 +8335,12 @@ func (i UrlDispatchRuleArray) ToUrlDispatchRuleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(UrlDispatchRuleArrayOutput) } +func (i UrlDispatchRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]UrlDispatchRule] { + return pulumix.Output[[]UrlDispatchRule]{ + OutputState: i.ToUrlDispatchRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Rules to match an HTTP request and dispatch that request to a service. type UrlDispatchRuleOutput struct{ *pulumi.OutputState } @@ -7377,6 +8356,12 @@ func (o UrlDispatchRuleOutput) ToUrlDispatchRuleOutputWithContext(ctx context.Co return o } +func (o UrlDispatchRuleOutput) ToOutput(ctx context.Context) pulumix.Output[UrlDispatchRule] { + return pulumix.Output[UrlDispatchRule]{ + OutputState: o.OutputState, + } +} + // Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*". func (o UrlDispatchRuleOutput) Domain() pulumi.StringPtrOutput { return o.ApplyT(func(v UrlDispatchRule) *string { return v.Domain }).(pulumi.StringPtrOutput) @@ -7406,6 +8391,12 @@ func (o UrlDispatchRuleArrayOutput) ToUrlDispatchRuleArrayOutputWithContext(ctx return o } +func (o UrlDispatchRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlDispatchRule] { + return pulumix.Output[[]UrlDispatchRule]{ + OutputState: o.OutputState, + } +} + func (o UrlDispatchRuleArrayOutput) Index(i pulumi.IntInput) UrlDispatchRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlDispatchRule { return vs[0].([]UrlDispatchRule)[vs[1].(int)] @@ -7437,6 +8428,12 @@ func (o UrlDispatchRuleResponseOutput) ToUrlDispatchRuleResponseOutputWithContex return o } +func (o UrlDispatchRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlDispatchRuleResponse] { + return pulumix.Output[UrlDispatchRuleResponse]{ + OutputState: o.OutputState, + } +} + // Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*". func (o UrlDispatchRuleResponseOutput) Domain() pulumi.StringOutput { return o.ApplyT(func(v UrlDispatchRuleResponse) string { return v.Domain }).(pulumi.StringOutput) @@ -7466,6 +8463,12 @@ func (o UrlDispatchRuleResponseArrayOutput) ToUrlDispatchRuleResponseArrayOutput return o } +func (o UrlDispatchRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlDispatchRuleResponse] { + return pulumix.Output[[]UrlDispatchRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o UrlDispatchRuleResponseArrayOutput) Index(i pulumi.IntInput) UrlDispatchRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlDispatchRuleResponse { return vs[0].([]UrlDispatchRuleResponse)[vs[1].(int)] @@ -7535,6 +8538,12 @@ func (i UrlMapArgs) ToUrlMapOutputWithContext(ctx context.Context) UrlMapOutput return pulumi.ToOutputWithContext(ctx, i).(UrlMapOutput) } +func (i UrlMapArgs) ToOutput(ctx context.Context) pulumix.Output[UrlMap] { + return pulumix.Output[UrlMap]{ + OutputState: i.ToUrlMapOutputWithContext(ctx).OutputState, + } +} + // UrlMapArrayInput is an input type that accepts UrlMapArray and UrlMapArrayOutput values. // You can construct a concrete instance of `UrlMapArrayInput` via: // @@ -7560,6 +8569,12 @@ func (i UrlMapArray) ToUrlMapArrayOutputWithContext(ctx context.Context) UrlMapA return pulumi.ToOutputWithContext(ctx, i).(UrlMapArrayOutput) } +func (i UrlMapArray) ToOutput(ctx context.Context) pulumix.Output[[]UrlMap] { + return pulumix.Output[[]UrlMap]{ + OutputState: i.ToUrlMapArrayOutputWithContext(ctx).OutputState, + } +} + // URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript. type UrlMapOutput struct{ *pulumi.OutputState } @@ -7575,6 +8590,12 @@ func (o UrlMapOutput) ToUrlMapOutputWithContext(ctx context.Context) UrlMapOutpu return o } +func (o UrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMap] { + return pulumix.Output[UrlMap]{ + OutputState: o.OutputState, + } +} + // Uses API Endpoints to handle requests. func (o UrlMapOutput) ApiEndpoint() ApiEndpointHandlerPtrOutput { return o.ApplyT(func(v UrlMap) *ApiEndpointHandler { return v.ApiEndpoint }).(ApiEndpointHandlerPtrOutput) @@ -7629,6 +8650,12 @@ func (o UrlMapArrayOutput) ToUrlMapArrayOutputWithContext(ctx context.Context) U return o } +func (o UrlMapArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMap] { + return pulumix.Output[[]UrlMap]{ + OutputState: o.OutputState, + } +} + func (o UrlMapArrayOutput) Index(i pulumi.IntInput) UrlMapOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMap { return vs[0].([]UrlMap)[vs[1].(int)] @@ -7670,6 +8697,12 @@ func (o UrlMapResponseOutput) ToUrlMapResponseOutputWithContext(ctx context.Cont return o } +func (o UrlMapResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapResponse] { + return pulumix.Output[UrlMapResponse]{ + OutputState: o.OutputState, + } +} + // Uses API Endpoints to handle requests. func (o UrlMapResponseOutput) ApiEndpoint() ApiEndpointHandlerResponseOutput { return o.ApplyT(func(v UrlMapResponse) ApiEndpointHandlerResponse { return v.ApiEndpoint }).(ApiEndpointHandlerResponseOutput) @@ -7724,6 +8757,12 @@ func (o UrlMapResponseArrayOutput) ToUrlMapResponseArrayOutputWithContext(ctx co return o } +func (o UrlMapResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapResponse] { + return pulumix.Output[[]UrlMapResponse]{ + OutputState: o.OutputState, + } +} + func (o UrlMapResponseArrayOutput) Index(i pulumi.IntInput) UrlMapResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapResponse { return vs[0].([]UrlMapResponse)[vs[1].(int)] @@ -7773,6 +8812,12 @@ func (i VolumeArgs) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput return pulumi.ToOutputWithContext(ctx, i).(VolumeOutput) } +func (i VolumeArgs) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: i.ToVolumeOutputWithContext(ctx).OutputState, + } +} + // VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. // You can construct a concrete instance of `VolumeArrayInput` via: // @@ -7798,6 +8843,12 @@ func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeA return pulumi.ToOutputWithContext(ctx, i).(VolumeArrayOutput) } +func (i VolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: i.ToVolumeArrayOutputWithContext(ctx).OutputState, + } +} + // Volumes mounted within the app container. Only applicable in the App Engine flexible environment. type VolumeOutput struct{ *pulumi.OutputState } @@ -7813,6 +8864,12 @@ func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutpu return o } +func (o VolumeOutput) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: o.OutputState, + } +} + // Unique name for the volume. func (o VolumeOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Volume) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -7842,6 +8899,12 @@ func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) V return o } +func (o VolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: o.OutputState, + } +} + func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Volume { return vs[0].([]Volume)[vs[1].(int)] @@ -7873,6 +8936,12 @@ func (o VolumeResponseOutput) ToVolumeResponseOutputWithContext(ctx context.Cont return o } +func (o VolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeResponse] { + return pulumix.Output[VolumeResponse]{ + OutputState: o.OutputState, + } +} + // Unique name for the volume. func (o VolumeResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v VolumeResponse) string { return v.Name }).(pulumi.StringOutput) @@ -7902,6 +8971,12 @@ func (o VolumeResponseArrayOutput) ToVolumeResponseArrayOutputWithContext(ctx co return o } +func (o VolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VolumeResponse] { + return pulumix.Output[[]VolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o VolumeResponseArrayOutput) Index(i pulumi.IntInput) VolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeResponse { return vs[0].([]VolumeResponse)[vs[1].(int)] @@ -7947,6 +9022,12 @@ func (i VpcAccessConnectorArgs) ToVpcAccessConnectorOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(VpcAccessConnectorOutput) } +func (i VpcAccessConnectorArgs) ToOutput(ctx context.Context) pulumix.Output[VpcAccessConnector] { + return pulumix.Output[VpcAccessConnector]{ + OutputState: i.ToVpcAccessConnectorOutputWithContext(ctx).OutputState, + } +} + func (i VpcAccessConnectorArgs) ToVpcAccessConnectorPtrOutput() VpcAccessConnectorPtrOutput { return i.ToVpcAccessConnectorPtrOutputWithContext(context.Background()) } @@ -7988,6 +9069,12 @@ func (i *vpcAccessConnectorPtrType) ToVpcAccessConnectorPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(VpcAccessConnectorPtrOutput) } +func (i *vpcAccessConnectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*VpcAccessConnector] { + return pulumix.Output[*VpcAccessConnector]{ + OutputState: i.ToVpcAccessConnectorPtrOutputWithContext(ctx).OutputState, + } +} + // VPC access connector specification. type VpcAccessConnectorOutput struct{ *pulumi.OutputState } @@ -8013,6 +9100,12 @@ func (o VpcAccessConnectorOutput) ToVpcAccessConnectorPtrOutputWithContext(ctx c }).(VpcAccessConnectorPtrOutput) } +func (o VpcAccessConnectorOutput) ToOutput(ctx context.Context) pulumix.Output[VpcAccessConnector] { + return pulumix.Output[VpcAccessConnector]{ + OutputState: o.OutputState, + } +} + // The egress setting for the connector, controlling what traffic is diverted through it. func (o VpcAccessConnectorOutput) EgressSetting() VpcAccessConnectorEgressSettingPtrOutput { return o.ApplyT(func(v VpcAccessConnector) *VpcAccessConnectorEgressSetting { return v.EgressSetting }).(VpcAccessConnectorEgressSettingPtrOutput) @@ -8037,6 +9130,12 @@ func (o VpcAccessConnectorPtrOutput) ToVpcAccessConnectorPtrOutputWithContext(ct return o } +func (o VpcAccessConnectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcAccessConnector] { + return pulumix.Output[*VpcAccessConnector]{ + OutputState: o.OutputState, + } +} + func (o VpcAccessConnectorPtrOutput) Elem() VpcAccessConnectorOutput { return o.ApplyT(func(v *VpcAccessConnector) VpcAccessConnector { if v != nil { @@ -8090,6 +9189,12 @@ func (o VpcAccessConnectorResponseOutput) ToVpcAccessConnectorResponseOutputWith return o } +func (o VpcAccessConnectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcAccessConnectorResponse] { + return pulumix.Output[VpcAccessConnectorResponse]{ + OutputState: o.OutputState, + } +} + // The egress setting for the connector, controlling what traffic is diverted through it. func (o VpcAccessConnectorResponseOutput) EgressSetting() pulumi.StringOutput { return o.ApplyT(func(v VpcAccessConnectorResponse) string { return v.EgressSetting }).(pulumi.StringOutput) @@ -8139,6 +9244,12 @@ func (i ZipInfoArgs) ToZipInfoOutputWithContext(ctx context.Context) ZipInfoOutp return pulumi.ToOutputWithContext(ctx, i).(ZipInfoOutput) } +func (i ZipInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ZipInfo] { + return pulumix.Output[ZipInfo]{ + OutputState: i.ToZipInfoOutputWithContext(ctx).OutputState, + } +} + func (i ZipInfoArgs) ToZipInfoPtrOutput() ZipInfoPtrOutput { return i.ToZipInfoPtrOutputWithContext(context.Background()) } @@ -8180,6 +9291,12 @@ func (i *zipInfoPtrType) ToZipInfoPtrOutputWithContext(ctx context.Context) ZipI return pulumi.ToOutputWithContext(ctx, i).(ZipInfoPtrOutput) } +func (i *zipInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*ZipInfo] { + return pulumix.Output[*ZipInfo]{ + OutputState: i.ToZipInfoPtrOutputWithContext(ctx).OutputState, + } +} + // The zip file information for a zip deployment. type ZipInfoOutput struct{ *pulumi.OutputState } @@ -8205,6 +9322,12 @@ func (o ZipInfoOutput) ToZipInfoPtrOutputWithContext(ctx context.Context) ZipInf }).(ZipInfoPtrOutput) } +func (o ZipInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ZipInfo] { + return pulumix.Output[ZipInfo]{ + OutputState: o.OutputState, + } +} + // An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow. func (o ZipInfoOutput) FilesCount() pulumi.IntPtrOutput { return o.ApplyT(func(v ZipInfo) *int { return v.FilesCount }).(pulumi.IntPtrOutput) @@ -8229,6 +9352,12 @@ func (o ZipInfoPtrOutput) ToZipInfoPtrOutputWithContext(ctx context.Context) Zip return o } +func (o ZipInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ZipInfo] { + return pulumix.Output[*ZipInfo]{ + OutputState: o.OutputState, + } +} + func (o ZipInfoPtrOutput) Elem() ZipInfoOutput { return o.ApplyT(func(v *ZipInfo) ZipInfo { if v != nil { @@ -8282,6 +9411,12 @@ func (o ZipInfoResponseOutput) ToZipInfoResponseOutputWithContext(ctx context.Co return o } +func (o ZipInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ZipInfoResponse] { + return pulumix.Output[ZipInfoResponse]{ + OutputState: o.OutputState, + } +} + // An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow. func (o ZipInfoResponseOutput) FilesCount() pulumi.IntOutput { return o.ApplyT(func(v ZipInfoResponse) int { return v.FilesCount }).(pulumi.IntOutput) diff --git a/sdk/go/google/appengine/v1beta/version.go b/sdk/go/google/appengine/v1beta/version.go index 899bd582e2..1b2464824c 100644 --- a/sdk/go/google/appengine/v1beta/version.go +++ b/sdk/go/google/appengine/v1beta/version.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Deploys code and resource files to a new version. @@ -335,6 +336,12 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -349,6 +356,12 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + // Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set. func (o VersionOutput) ApiConfig() ApiConfigHandlerResponseOutput { return o.ApplyT(func(v *Version) ApiConfigHandlerResponseOutput { return v.ApiConfig }).(ApiConfigHandlerResponseOutput) diff --git a/sdk/go/google/artifactregistry/v1/getRepository.go b/sdk/go/google/artifactregistry/v1/getRepository.go index 83be440cdb..58d2a39448 100644 --- a/sdk/go/google/artifactregistry/v1/getRepository.go +++ b/sdk/go/google/artifactregistry/v1/getRepository.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a repository. @@ -96,6 +97,12 @@ func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext( return o } +func (o LookupRepositoryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepositoryResult] { + return pulumix.Output[LookupRepositoryResult]{ + OutputState: o.OutputState, + } +} + // The time when the repository was created. func (o LookupRepositoryResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupRepositoryResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/artifactregistry/v1/getRepositoryIamPolicy.go b/sdk/go/google/artifactregistry/v1/getRepositoryIamPolicy.go index d614a35b81..d66a7d40af 100644 --- a/sdk/go/google/artifactregistry/v1/getRepositoryIamPolicy.go +++ b/sdk/go/google/artifactregistry/v1/getRepositoryIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy for a given resource. @@ -76,6 +77,12 @@ func (o LookupRepositoryIamPolicyResultOutput) ToLookupRepositoryIamPolicyResult return o } +func (o LookupRepositoryIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepositoryIamPolicyResult] { + return pulumix.Output[LookupRepositoryIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupRepositoryIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRepositoryIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/artifactregistry/v1/getTag.go b/sdk/go/google/artifactregistry/v1/getTag.go index 963e510610..debf06a731 100644 --- a/sdk/go/google/artifactregistry/v1/getTag.go +++ b/sdk/go/google/artifactregistry/v1/getTag.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a tag. @@ -76,6 +77,12 @@ func (o LookupTagResultOutput) ToLookupTagResultOutputWithContext(ctx context.Co return o } +func (o LookupTagResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagResult] { + return pulumix.Output[LookupTagResult]{ + OutputState: o.OutputState, + } +} + // The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else must be URL encoded. func (o LookupTagResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupTagResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/artifactregistry/v1/pulumiEnums.go b/sdk/go/google/artifactregistry/v1/pulumiEnums.go index c71f6e3cc2..15bf5c7a4f 100644 --- a/sdk/go/google/artifactregistry/v1/pulumiEnums.go +++ b/sdk/go/google/artifactregistry/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // One of the publicly available Docker repositories supported by Artifact Registry. @@ -80,6 +81,12 @@ func (o DockerRepositoryPublicRepositoryOutput) ToDockerRepositoryPublicReposito }).(DockerRepositoryPublicRepositoryPtrOutput) } +func (o DockerRepositoryPublicRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[DockerRepositoryPublicRepository] { + return pulumix.Output[DockerRepositoryPublicRepository]{ + OutputState: o.OutputState, + } +} + func (o DockerRepositoryPublicRepositoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o DockerRepositoryPublicRepositoryPtrOutput) ToDockerRepositoryPublicRepos return o } +func (o DockerRepositoryPublicRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DockerRepositoryPublicRepository] { + return pulumix.Output[*DockerRepositoryPublicRepository]{ + OutputState: o.OutputState, + } +} + func (o DockerRepositoryPublicRepositoryPtrOutput) Elem() DockerRepositoryPublicRepositoryOutput { return o.ApplyT(func(v *DockerRepositoryPublicRepository) DockerRepositoryPublicRepository { if v != nil { @@ -177,6 +190,12 @@ func (in *dockerRepositoryPublicRepositoryPtr) ToDockerRepositoryPublicRepositor return pulumi.ToOutputWithContext(ctx, in).(DockerRepositoryPublicRepositoryPtrOutput) } +func (in *dockerRepositoryPublicRepositoryPtr) ToOutput(ctx context.Context) pulumix.Output[*DockerRepositoryPublicRepository] { + return pulumix.Output[*DockerRepositoryPublicRepository]{ + OutputState: in.ToDockerRepositoryPublicRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Version policy defines the versions that the registry will accept. type MavenRepositoryConfigVersionPolicy string @@ -249,6 +268,12 @@ func (o MavenRepositoryConfigVersionPolicyOutput) ToMavenRepositoryConfigVersion }).(MavenRepositoryConfigVersionPolicyPtrOutput) } +func (o MavenRepositoryConfigVersionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[MavenRepositoryConfigVersionPolicy] { + return pulumix.Output[MavenRepositoryConfigVersionPolicy]{ + OutputState: o.OutputState, + } +} + func (o MavenRepositoryConfigVersionPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o MavenRepositoryConfigVersionPolicyPtrOutput) ToMavenRepositoryConfigVers return o } +func (o MavenRepositoryConfigVersionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MavenRepositoryConfigVersionPolicy] { + return pulumix.Output[*MavenRepositoryConfigVersionPolicy]{ + OutputState: o.OutputState, + } +} + func (o MavenRepositoryConfigVersionPolicyPtrOutput) Elem() MavenRepositoryConfigVersionPolicyOutput { return o.ApplyT(func(v *MavenRepositoryConfigVersionPolicy) MavenRepositoryConfigVersionPolicy { if v != nil { @@ -346,6 +377,12 @@ func (in *mavenRepositoryConfigVersionPolicyPtr) ToMavenRepositoryConfigVersionP return pulumi.ToOutputWithContext(ctx, in).(MavenRepositoryConfigVersionPolicyPtrOutput) } +func (in *mavenRepositoryConfigVersionPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*MavenRepositoryConfigVersionPolicy] { + return pulumix.Output[*MavenRepositoryConfigVersionPolicy]{ + OutputState: in.ToMavenRepositoryConfigVersionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // One of the publicly available Maven repositories supported by Artifact Registry. type MavenRepositoryPublicRepository string @@ -416,6 +453,12 @@ func (o MavenRepositoryPublicRepositoryOutput) ToMavenRepositoryPublicRepository }).(MavenRepositoryPublicRepositoryPtrOutput) } +func (o MavenRepositoryPublicRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[MavenRepositoryPublicRepository] { + return pulumix.Output[MavenRepositoryPublicRepository]{ + OutputState: o.OutputState, + } +} + func (o MavenRepositoryPublicRepositoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -451,6 +494,12 @@ func (o MavenRepositoryPublicRepositoryPtrOutput) ToMavenRepositoryPublicReposit return o } +func (o MavenRepositoryPublicRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MavenRepositoryPublicRepository] { + return pulumix.Output[*MavenRepositoryPublicRepository]{ + OutputState: o.OutputState, + } +} + func (o MavenRepositoryPublicRepositoryPtrOutput) Elem() MavenRepositoryPublicRepositoryOutput { return o.ApplyT(func(v *MavenRepositoryPublicRepository) MavenRepositoryPublicRepository { if v != nil { @@ -513,6 +562,12 @@ func (in *mavenRepositoryPublicRepositoryPtr) ToMavenRepositoryPublicRepositoryP return pulumi.ToOutputWithContext(ctx, in).(MavenRepositoryPublicRepositoryPtrOutput) } +func (in *mavenRepositoryPublicRepositoryPtr) ToOutput(ctx context.Context) pulumix.Output[*MavenRepositoryPublicRepository] { + return pulumix.Output[*MavenRepositoryPublicRepository]{ + OutputState: in.ToMavenRepositoryPublicRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // One of the publicly available Npm repositories supported by Artifact Registry. type NpmRepositoryPublicRepository string @@ -583,6 +638,12 @@ func (o NpmRepositoryPublicRepositoryOutput) ToNpmRepositoryPublicRepositoryPtrO }).(NpmRepositoryPublicRepositoryPtrOutput) } +func (o NpmRepositoryPublicRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[NpmRepositoryPublicRepository] { + return pulumix.Output[NpmRepositoryPublicRepository]{ + OutputState: o.OutputState, + } +} + func (o NpmRepositoryPublicRepositoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -618,6 +679,12 @@ func (o NpmRepositoryPublicRepositoryPtrOutput) ToNpmRepositoryPublicRepositoryP return o } +func (o NpmRepositoryPublicRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NpmRepositoryPublicRepository] { + return pulumix.Output[*NpmRepositoryPublicRepository]{ + OutputState: o.OutputState, + } +} + func (o NpmRepositoryPublicRepositoryPtrOutput) Elem() NpmRepositoryPublicRepositoryOutput { return o.ApplyT(func(v *NpmRepositoryPublicRepository) NpmRepositoryPublicRepository { if v != nil { @@ -680,6 +747,12 @@ func (in *npmRepositoryPublicRepositoryPtr) ToNpmRepositoryPublicRepositoryPtrOu return pulumi.ToOutputWithContext(ctx, in).(NpmRepositoryPublicRepositoryPtrOutput) } +func (in *npmRepositoryPublicRepositoryPtr) ToOutput(ctx context.Context) pulumix.Output[*NpmRepositoryPublicRepository] { + return pulumix.Output[*NpmRepositoryPublicRepository]{ + OutputState: in.ToNpmRepositoryPublicRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // One of the publicly available Python repositories supported by Artifact Registry. type PythonRepositoryPublicRepository string @@ -750,6 +823,12 @@ func (o PythonRepositoryPublicRepositoryOutput) ToPythonRepositoryPublicReposito }).(PythonRepositoryPublicRepositoryPtrOutput) } +func (o PythonRepositoryPublicRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[PythonRepositoryPublicRepository] { + return pulumix.Output[PythonRepositoryPublicRepository]{ + OutputState: o.OutputState, + } +} + func (o PythonRepositoryPublicRepositoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -785,6 +864,12 @@ func (o PythonRepositoryPublicRepositoryPtrOutput) ToPythonRepositoryPublicRepos return o } +func (o PythonRepositoryPublicRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PythonRepositoryPublicRepository] { + return pulumix.Output[*PythonRepositoryPublicRepository]{ + OutputState: o.OutputState, + } +} + func (o PythonRepositoryPublicRepositoryPtrOutput) Elem() PythonRepositoryPublicRepositoryOutput { return o.ApplyT(func(v *PythonRepositoryPublicRepository) PythonRepositoryPublicRepository { if v != nil { @@ -847,6 +932,12 @@ func (in *pythonRepositoryPublicRepositoryPtr) ToPythonRepositoryPublicRepositor return pulumi.ToOutputWithContext(ctx, in).(PythonRepositoryPublicRepositoryPtrOutput) } +func (in *pythonRepositoryPublicRepositoryPtr) ToOutput(ctx context.Context) pulumix.Output[*PythonRepositoryPublicRepository] { + return pulumix.Output[*PythonRepositoryPublicRepository]{ + OutputState: in.ToPythonRepositoryPublicRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // The format of packages that are stored in the repository. type RepositoryFormat string @@ -931,6 +1022,12 @@ func (o RepositoryFormatOutput) ToRepositoryFormatPtrOutputWithContext(ctx conte }).(RepositoryFormatPtrOutput) } +func (o RepositoryFormatOutput) ToOutput(ctx context.Context) pulumix.Output[RepositoryFormat] { + return pulumix.Output[RepositoryFormat]{ + OutputState: o.OutputState, + } +} + func (o RepositoryFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -966,6 +1063,12 @@ func (o RepositoryFormatPtrOutput) ToRepositoryFormatPtrOutputWithContext(ctx co return o } +func (o RepositoryFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryFormat] { + return pulumix.Output[*RepositoryFormat]{ + OutputState: o.OutputState, + } +} + func (o RepositoryFormatPtrOutput) Elem() RepositoryFormatOutput { return o.ApplyT(func(v *RepositoryFormat) RepositoryFormat { if v != nil { @@ -1028,6 +1131,12 @@ func (in *repositoryFormatPtr) ToRepositoryFormatPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(RepositoryFormatPtrOutput) } +func (in *repositoryFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*RepositoryFormat] { + return pulumix.Output[*RepositoryFormat]{ + OutputState: in.ToRepositoryFormatPtrOutputWithContext(ctx).OutputState, + } +} + // The mode of the repository. type RepositoryMode string @@ -1102,6 +1211,12 @@ func (o RepositoryModeOutput) ToRepositoryModePtrOutputWithContext(ctx context.C }).(RepositoryModePtrOutput) } +func (o RepositoryModeOutput) ToOutput(ctx context.Context) pulumix.Output[RepositoryMode] { + return pulumix.Output[RepositoryMode]{ + OutputState: o.OutputState, + } +} + func (o RepositoryModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1137,6 +1252,12 @@ func (o RepositoryModePtrOutput) ToRepositoryModePtrOutputWithContext(ctx contex return o } +func (o RepositoryModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryMode] { + return pulumix.Output[*RepositoryMode]{ + OutputState: o.OutputState, + } +} + func (o RepositoryModePtrOutput) Elem() RepositoryModeOutput { return o.ApplyT(func(v *RepositoryMode) RepositoryMode { if v != nil { @@ -1199,6 +1320,12 @@ func (in *repositoryModePtr) ToRepositoryModePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(RepositoryModePtrOutput) } +func (in *repositoryModePtr) ToOutput(ctx context.Context) pulumix.Output[*RepositoryMode] { + return pulumix.Output[*RepositoryMode]{ + OutputState: in.ToRepositoryModePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*DockerRepositoryPublicRepositoryInput)(nil)).Elem(), DockerRepositoryPublicRepository("PUBLIC_REPOSITORY_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*DockerRepositoryPublicRepositoryPtrInput)(nil)).Elem(), DockerRepositoryPublicRepository("PUBLIC_REPOSITORY_UNSPECIFIED")) diff --git a/sdk/go/google/artifactregistry/v1/pulumiTypes.go b/sdk/go/google/artifactregistry/v1/pulumiTypes.go index f995678659..f4f7167139 100644 --- a/sdk/go/google/artifactregistry/v1/pulumiTypes.go +++ b/sdk/go/google/artifactregistry/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -226,6 +263,12 @@ func (i DockerRepositoryArgs) ToDockerRepositoryOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DockerRepositoryOutput) } +func (i DockerRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[DockerRepository] { + return pulumix.Output[DockerRepository]{ + OutputState: i.ToDockerRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i DockerRepositoryArgs) ToDockerRepositoryPtrOutput() DockerRepositoryPtrOutput { return i.ToDockerRepositoryPtrOutputWithContext(context.Background()) } @@ -267,6 +310,12 @@ func (i *dockerRepositoryPtrType) ToDockerRepositoryPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DockerRepositoryPtrOutput) } +func (i *dockerRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*DockerRepository] { + return pulumix.Output[*DockerRepository]{ + OutputState: i.ToDockerRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Docker remote repository. type DockerRepositoryOutput struct{ *pulumi.OutputState } @@ -292,6 +341,12 @@ func (o DockerRepositoryOutput) ToDockerRepositoryPtrOutputWithContext(ctx conte }).(DockerRepositoryPtrOutput) } +func (o DockerRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[DockerRepository] { + return pulumix.Output[DockerRepository]{ + OutputState: o.OutputState, + } +} + // One of the publicly available Docker repositories supported by Artifact Registry. func (o DockerRepositoryOutput) PublicRepository() DockerRepositoryPublicRepositoryPtrOutput { return o.ApplyT(func(v DockerRepository) *DockerRepositoryPublicRepository { return v.PublicRepository }).(DockerRepositoryPublicRepositoryPtrOutput) @@ -311,6 +366,12 @@ func (o DockerRepositoryPtrOutput) ToDockerRepositoryPtrOutputWithContext(ctx co return o } +func (o DockerRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DockerRepository] { + return pulumix.Output[*DockerRepository]{ + OutputState: o.OutputState, + } +} + func (o DockerRepositoryPtrOutput) Elem() DockerRepositoryOutput { return o.ApplyT(func(v *DockerRepository) DockerRepository { if v != nil { @@ -366,6 +427,12 @@ func (i DockerRepositoryConfigArgs) ToDockerRepositoryConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(DockerRepositoryConfigOutput) } +func (i DockerRepositoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DockerRepositoryConfig] { + return pulumix.Output[DockerRepositoryConfig]{ + OutputState: i.ToDockerRepositoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i DockerRepositoryConfigArgs) ToDockerRepositoryConfigPtrOutput() DockerRepositoryConfigPtrOutput { return i.ToDockerRepositoryConfigPtrOutputWithContext(context.Background()) } @@ -407,6 +474,12 @@ func (i *dockerRepositoryConfigPtrType) ToDockerRepositoryConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(DockerRepositoryConfigPtrOutput) } +func (i *dockerRepositoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DockerRepositoryConfig] { + return pulumix.Output[*DockerRepositoryConfig]{ + OutputState: i.ToDockerRepositoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type. type DockerRepositoryConfigOutput struct{ *pulumi.OutputState } @@ -432,6 +505,12 @@ func (o DockerRepositoryConfigOutput) ToDockerRepositoryConfigPtrOutputWithConte }).(DockerRepositoryConfigPtrOutput) } +func (o DockerRepositoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DockerRepositoryConfig] { + return pulumix.Output[DockerRepositoryConfig]{ + OutputState: o.OutputState, + } +} + // The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created. func (o DockerRepositoryConfigOutput) ImmutableTags() pulumi.BoolPtrOutput { return o.ApplyT(func(v DockerRepositoryConfig) *bool { return v.ImmutableTags }).(pulumi.BoolPtrOutput) @@ -451,6 +530,12 @@ func (o DockerRepositoryConfigPtrOutput) ToDockerRepositoryConfigPtrOutputWithCo return o } +func (o DockerRepositoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DockerRepositoryConfig] { + return pulumix.Output[*DockerRepositoryConfig]{ + OutputState: o.OutputState, + } +} + func (o DockerRepositoryConfigPtrOutput) Elem() DockerRepositoryConfigOutput { return o.ApplyT(func(v *DockerRepositoryConfig) DockerRepositoryConfig { if v != nil { @@ -492,6 +577,12 @@ func (o DockerRepositoryConfigResponseOutput) ToDockerRepositoryConfigResponseOu return o } +func (o DockerRepositoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DockerRepositoryConfigResponse] { + return pulumix.Output[DockerRepositoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created. func (o DockerRepositoryConfigResponseOutput) ImmutableTags() pulumi.BoolOutput { return o.ApplyT(func(v DockerRepositoryConfigResponse) bool { return v.ImmutableTags }).(pulumi.BoolOutput) @@ -518,6 +609,12 @@ func (o DockerRepositoryResponseOutput) ToDockerRepositoryResponseOutputWithCont return o } +func (o DockerRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DockerRepositoryResponse] { + return pulumix.Output[DockerRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // One of the publicly available Docker repositories supported by Artifact Registry. func (o DockerRepositoryResponseOutput) PublicRepository() pulumi.StringOutput { return o.ApplyT(func(v DockerRepositoryResponse) string { return v.PublicRepository }).(pulumi.StringOutput) @@ -570,6 +667,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -611,6 +714,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -636,6 +745,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -670,6 +785,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -747,6 +868,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -802,6 +929,12 @@ func (i MavenRepositoryArgs) ToMavenRepositoryOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(MavenRepositoryOutput) } +func (i MavenRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[MavenRepository] { + return pulumix.Output[MavenRepository]{ + OutputState: i.ToMavenRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i MavenRepositoryArgs) ToMavenRepositoryPtrOutput() MavenRepositoryPtrOutput { return i.ToMavenRepositoryPtrOutputWithContext(context.Background()) } @@ -843,6 +976,12 @@ func (i *mavenRepositoryPtrType) ToMavenRepositoryPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(MavenRepositoryPtrOutput) } +func (i *mavenRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*MavenRepository] { + return pulumix.Output[*MavenRepository]{ + OutputState: i.ToMavenRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Maven remote repository. type MavenRepositoryOutput struct{ *pulumi.OutputState } @@ -868,6 +1007,12 @@ func (o MavenRepositoryOutput) ToMavenRepositoryPtrOutputWithContext(ctx context }).(MavenRepositoryPtrOutput) } +func (o MavenRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[MavenRepository] { + return pulumix.Output[MavenRepository]{ + OutputState: o.OutputState, + } +} + // One of the publicly available Maven repositories supported by Artifact Registry. func (o MavenRepositoryOutput) PublicRepository() MavenRepositoryPublicRepositoryPtrOutput { return o.ApplyT(func(v MavenRepository) *MavenRepositoryPublicRepository { return v.PublicRepository }).(MavenRepositoryPublicRepositoryPtrOutput) @@ -887,6 +1032,12 @@ func (o MavenRepositoryPtrOutput) ToMavenRepositoryPtrOutputWithContext(ctx cont return o } +func (o MavenRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MavenRepository] { + return pulumix.Output[*MavenRepository]{ + OutputState: o.OutputState, + } +} + func (o MavenRepositoryPtrOutput) Elem() MavenRepositoryOutput { return o.ApplyT(func(v *MavenRepository) MavenRepository { if v != nil { @@ -946,6 +1097,12 @@ func (i MavenRepositoryConfigArgs) ToMavenRepositoryConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(MavenRepositoryConfigOutput) } +func (i MavenRepositoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MavenRepositoryConfig] { + return pulumix.Output[MavenRepositoryConfig]{ + OutputState: i.ToMavenRepositoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i MavenRepositoryConfigArgs) ToMavenRepositoryConfigPtrOutput() MavenRepositoryConfigPtrOutput { return i.ToMavenRepositoryConfigPtrOutputWithContext(context.Background()) } @@ -987,6 +1144,12 @@ func (i *mavenRepositoryConfigPtrType) ToMavenRepositoryConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(MavenRepositoryConfigPtrOutput) } +func (i *mavenRepositoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MavenRepositoryConfig] { + return pulumix.Output[*MavenRepositoryConfig]{ + OutputState: i.ToMavenRepositoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type. type MavenRepositoryConfigOutput struct{ *pulumi.OutputState } @@ -1012,6 +1175,12 @@ func (o MavenRepositoryConfigOutput) ToMavenRepositoryConfigPtrOutputWithContext }).(MavenRepositoryConfigPtrOutput) } +func (o MavenRepositoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MavenRepositoryConfig] { + return pulumix.Output[MavenRepositoryConfig]{ + OutputState: o.OutputState, + } +} + // The repository with this flag will allow publishing the same snapshot versions. func (o MavenRepositoryConfigOutput) AllowSnapshotOverwrites() pulumi.BoolPtrOutput { return o.ApplyT(func(v MavenRepositoryConfig) *bool { return v.AllowSnapshotOverwrites }).(pulumi.BoolPtrOutput) @@ -1036,6 +1205,12 @@ func (o MavenRepositoryConfigPtrOutput) ToMavenRepositoryConfigPtrOutputWithCont return o } +func (o MavenRepositoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MavenRepositoryConfig] { + return pulumix.Output[*MavenRepositoryConfig]{ + OutputState: o.OutputState, + } +} + func (o MavenRepositoryConfigPtrOutput) Elem() MavenRepositoryConfigOutput { return o.ApplyT(func(v *MavenRepositoryConfig) MavenRepositoryConfig { if v != nil { @@ -1089,6 +1264,12 @@ func (o MavenRepositoryConfigResponseOutput) ToMavenRepositoryConfigResponseOutp return o } +func (o MavenRepositoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MavenRepositoryConfigResponse] { + return pulumix.Output[MavenRepositoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The repository with this flag will allow publishing the same snapshot versions. func (o MavenRepositoryConfigResponseOutput) AllowSnapshotOverwrites() pulumi.BoolOutput { return o.ApplyT(func(v MavenRepositoryConfigResponse) bool { return v.AllowSnapshotOverwrites }).(pulumi.BoolOutput) @@ -1120,6 +1301,12 @@ func (o MavenRepositoryResponseOutput) ToMavenRepositoryResponseOutputWithContex return o } +func (o MavenRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MavenRepositoryResponse] { + return pulumix.Output[MavenRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // One of the publicly available Maven repositories supported by Artifact Registry. func (o MavenRepositoryResponseOutput) PublicRepository() pulumi.StringOutput { return o.ApplyT(func(v MavenRepositoryResponse) string { return v.PublicRepository }).(pulumi.StringOutput) @@ -1160,6 +1347,12 @@ func (i NpmRepositoryArgs) ToNpmRepositoryOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NpmRepositoryOutput) } +func (i NpmRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[NpmRepository] { + return pulumix.Output[NpmRepository]{ + OutputState: i.ToNpmRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i NpmRepositoryArgs) ToNpmRepositoryPtrOutput() NpmRepositoryPtrOutput { return i.ToNpmRepositoryPtrOutputWithContext(context.Background()) } @@ -1201,6 +1394,12 @@ func (i *npmRepositoryPtrType) ToNpmRepositoryPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NpmRepositoryPtrOutput) } +func (i *npmRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*NpmRepository] { + return pulumix.Output[*NpmRepository]{ + OutputState: i.ToNpmRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Npm remote repository. type NpmRepositoryOutput struct{ *pulumi.OutputState } @@ -1226,6 +1425,12 @@ func (o NpmRepositoryOutput) ToNpmRepositoryPtrOutputWithContext(ctx context.Con }).(NpmRepositoryPtrOutput) } +func (o NpmRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[NpmRepository] { + return pulumix.Output[NpmRepository]{ + OutputState: o.OutputState, + } +} + // One of the publicly available Npm repositories supported by Artifact Registry. func (o NpmRepositoryOutput) PublicRepository() NpmRepositoryPublicRepositoryPtrOutput { return o.ApplyT(func(v NpmRepository) *NpmRepositoryPublicRepository { return v.PublicRepository }).(NpmRepositoryPublicRepositoryPtrOutput) @@ -1245,6 +1450,12 @@ func (o NpmRepositoryPtrOutput) ToNpmRepositoryPtrOutputWithContext(ctx context. return o } +func (o NpmRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NpmRepository] { + return pulumix.Output[*NpmRepository]{ + OutputState: o.OutputState, + } +} + func (o NpmRepositoryPtrOutput) Elem() NpmRepositoryOutput { return o.ApplyT(func(v *NpmRepository) NpmRepository { if v != nil { @@ -1286,6 +1497,12 @@ func (o NpmRepositoryResponseOutput) ToNpmRepositoryResponseOutputWithContext(ct return o } +func (o NpmRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NpmRepositoryResponse] { + return pulumix.Output[NpmRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // One of the publicly available Npm repositories supported by Artifact Registry. func (o NpmRepositoryResponseOutput) PublicRepository() pulumi.StringOutput { return o.ApplyT(func(v NpmRepositoryResponse) string { return v.PublicRepository }).(pulumi.StringOutput) @@ -1326,6 +1543,12 @@ func (i PythonRepositoryArgs) ToPythonRepositoryOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(PythonRepositoryOutput) } +func (i PythonRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[PythonRepository] { + return pulumix.Output[PythonRepository]{ + OutputState: i.ToPythonRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i PythonRepositoryArgs) ToPythonRepositoryPtrOutput() PythonRepositoryPtrOutput { return i.ToPythonRepositoryPtrOutputWithContext(context.Background()) } @@ -1367,6 +1590,12 @@ func (i *pythonRepositoryPtrType) ToPythonRepositoryPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(PythonRepositoryPtrOutput) } +func (i *pythonRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*PythonRepository] { + return pulumix.Output[*PythonRepository]{ + OutputState: i.ToPythonRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Python remote repository. type PythonRepositoryOutput struct{ *pulumi.OutputState } @@ -1392,6 +1621,12 @@ func (o PythonRepositoryOutput) ToPythonRepositoryPtrOutputWithContext(ctx conte }).(PythonRepositoryPtrOutput) } +func (o PythonRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[PythonRepository] { + return pulumix.Output[PythonRepository]{ + OutputState: o.OutputState, + } +} + // One of the publicly available Python repositories supported by Artifact Registry. func (o PythonRepositoryOutput) PublicRepository() PythonRepositoryPublicRepositoryPtrOutput { return o.ApplyT(func(v PythonRepository) *PythonRepositoryPublicRepository { return v.PublicRepository }).(PythonRepositoryPublicRepositoryPtrOutput) @@ -1411,6 +1646,12 @@ func (o PythonRepositoryPtrOutput) ToPythonRepositoryPtrOutputWithContext(ctx co return o } +func (o PythonRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PythonRepository] { + return pulumix.Output[*PythonRepository]{ + OutputState: o.OutputState, + } +} + func (o PythonRepositoryPtrOutput) Elem() PythonRepositoryOutput { return o.ApplyT(func(v *PythonRepository) PythonRepository { if v != nil { @@ -1452,6 +1693,12 @@ func (o PythonRepositoryResponseOutput) ToPythonRepositoryResponseOutputWithCont return o } +func (o PythonRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PythonRepositoryResponse] { + return pulumix.Output[PythonRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // One of the publicly available Python repositories supported by Artifact Registry. func (o PythonRepositoryResponseOutput) PublicRepository() pulumi.StringOutput { return o.ApplyT(func(v PythonRepositoryResponse) string { return v.PublicRepository }).(pulumi.StringOutput) @@ -1508,6 +1755,12 @@ func (i RemoteRepositoryConfigArgs) ToRemoteRepositoryConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(RemoteRepositoryConfigOutput) } +func (i RemoteRepositoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RemoteRepositoryConfig] { + return pulumix.Output[RemoteRepositoryConfig]{ + OutputState: i.ToRemoteRepositoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i RemoteRepositoryConfigArgs) ToRemoteRepositoryConfigPtrOutput() RemoteRepositoryConfigPtrOutput { return i.ToRemoteRepositoryConfigPtrOutputWithContext(context.Background()) } @@ -1549,6 +1802,12 @@ func (i *remoteRepositoryConfigPtrType) ToRemoteRepositoryConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RemoteRepositoryConfigPtrOutput) } +func (i *remoteRepositoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RemoteRepositoryConfig] { + return pulumix.Output[*RemoteRepositoryConfig]{ + OutputState: i.ToRemoteRepositoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Remote repository configuration. type RemoteRepositoryConfigOutput struct{ *pulumi.OutputState } @@ -1574,6 +1833,12 @@ func (o RemoteRepositoryConfigOutput) ToRemoteRepositoryConfigPtrOutputWithConte }).(RemoteRepositoryConfigPtrOutput) } +func (o RemoteRepositoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RemoteRepositoryConfig] { + return pulumix.Output[RemoteRepositoryConfig]{ + OutputState: o.OutputState, + } +} + // The description of the remote source. func (o RemoteRepositoryConfigOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v RemoteRepositoryConfig) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1613,6 +1878,12 @@ func (o RemoteRepositoryConfigPtrOutput) ToRemoteRepositoryConfigPtrOutputWithCo return o } +func (o RemoteRepositoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RemoteRepositoryConfig] { + return pulumix.Output[*RemoteRepositoryConfig]{ + OutputState: o.OutputState, + } +} + func (o RemoteRepositoryConfigPtrOutput) Elem() RemoteRepositoryConfigOutput { return o.ApplyT(func(v *RemoteRepositoryConfig) RemoteRepositoryConfig { if v != nil { @@ -1702,6 +1973,12 @@ func (o RemoteRepositoryConfigResponseOutput) ToRemoteRepositoryConfigResponseOu return o } +func (o RemoteRepositoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RemoteRepositoryConfigResponse] { + return pulumix.Output[RemoteRepositoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The description of the remote source. func (o RemoteRepositoryConfigResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v RemoteRepositoryConfigResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1770,6 +2047,12 @@ func (i UpstreamPolicyArgs) ToUpstreamPolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(UpstreamPolicyOutput) } +func (i UpstreamPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[UpstreamPolicy] { + return pulumix.Output[UpstreamPolicy]{ + OutputState: i.ToUpstreamPolicyOutputWithContext(ctx).OutputState, + } +} + // UpstreamPolicyArrayInput is an input type that accepts UpstreamPolicyArray and UpstreamPolicyArrayOutput values. // You can construct a concrete instance of `UpstreamPolicyArrayInput` via: // @@ -1795,6 +2078,12 @@ func (i UpstreamPolicyArray) ToUpstreamPolicyArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(UpstreamPolicyArrayOutput) } +func (i UpstreamPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]UpstreamPolicy] { + return pulumix.Output[[]UpstreamPolicy]{ + OutputState: i.ToUpstreamPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Artifact policy configuration for the repository contents. type UpstreamPolicyOutput struct{ *pulumi.OutputState } @@ -1810,6 +2099,12 @@ func (o UpstreamPolicyOutput) ToUpstreamPolicyOutputWithContext(ctx context.Cont return o } +func (o UpstreamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[UpstreamPolicy] { + return pulumix.Output[UpstreamPolicy]{ + OutputState: o.OutputState, + } +} + // The user-provided ID of the upstream policy. func (o UpstreamPolicyOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v UpstreamPolicy) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -1839,6 +2134,12 @@ func (o UpstreamPolicyArrayOutput) ToUpstreamPolicyArrayOutputWithContext(ctx co return o } +func (o UpstreamPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UpstreamPolicy] { + return pulumix.Output[[]UpstreamPolicy]{ + OutputState: o.OutputState, + } +} + func (o UpstreamPolicyArrayOutput) Index(i pulumi.IntInput) UpstreamPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UpstreamPolicy { return vs[0].([]UpstreamPolicy)[vs[1].(int)] @@ -1868,6 +2169,12 @@ func (o UpstreamPolicyResponseOutput) ToUpstreamPolicyResponseOutputWithContext( return o } +func (o UpstreamPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpstreamPolicyResponse] { + return pulumix.Output[UpstreamPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Entries with a greater priority value take precedence in the pull order. func (o UpstreamPolicyResponseOutput) Priority() pulumi.IntOutput { return o.ApplyT(func(v UpstreamPolicyResponse) int { return v.Priority }).(pulumi.IntOutput) @@ -1892,6 +2199,12 @@ func (o UpstreamPolicyResponseArrayOutput) ToUpstreamPolicyResponseArrayOutputWi return o } +func (o UpstreamPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UpstreamPolicyResponse] { + return pulumix.Output[[]UpstreamPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o UpstreamPolicyResponseArrayOutput) Index(i pulumi.IntInput) UpstreamPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UpstreamPolicyResponse { return vs[0].([]UpstreamPolicyResponse)[vs[1].(int)] @@ -1933,6 +2246,12 @@ func (i VirtualRepositoryConfigArgs) ToVirtualRepositoryConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(VirtualRepositoryConfigOutput) } +func (i VirtualRepositoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VirtualRepositoryConfig] { + return pulumix.Output[VirtualRepositoryConfig]{ + OutputState: i.ToVirtualRepositoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i VirtualRepositoryConfigArgs) ToVirtualRepositoryConfigPtrOutput() VirtualRepositoryConfigPtrOutput { return i.ToVirtualRepositoryConfigPtrOutputWithContext(context.Background()) } @@ -1974,6 +2293,12 @@ func (i *virtualRepositoryConfigPtrType) ToVirtualRepositoryConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(VirtualRepositoryConfigPtrOutput) } +func (i *virtualRepositoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VirtualRepositoryConfig] { + return pulumix.Output[*VirtualRepositoryConfig]{ + OutputState: i.ToVirtualRepositoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Virtual repository configuration. type VirtualRepositoryConfigOutput struct{ *pulumi.OutputState } @@ -1999,6 +2324,12 @@ func (o VirtualRepositoryConfigOutput) ToVirtualRepositoryConfigPtrOutputWithCon }).(VirtualRepositoryConfigPtrOutput) } +func (o VirtualRepositoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualRepositoryConfig] { + return pulumix.Output[VirtualRepositoryConfig]{ + OutputState: o.OutputState, + } +} + // Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository. func (o VirtualRepositoryConfigOutput) UpstreamPolicies() UpstreamPolicyArrayOutput { return o.ApplyT(func(v VirtualRepositoryConfig) []UpstreamPolicy { return v.UpstreamPolicies }).(UpstreamPolicyArrayOutput) @@ -2018,6 +2349,12 @@ func (o VirtualRepositoryConfigPtrOutput) ToVirtualRepositoryConfigPtrOutputWith return o } +func (o VirtualRepositoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualRepositoryConfig] { + return pulumix.Output[*VirtualRepositoryConfig]{ + OutputState: o.OutputState, + } +} + func (o VirtualRepositoryConfigPtrOutput) Elem() VirtualRepositoryConfigOutput { return o.ApplyT(func(v *VirtualRepositoryConfig) VirtualRepositoryConfig { if v != nil { @@ -2059,6 +2396,12 @@ func (o VirtualRepositoryConfigResponseOutput) ToVirtualRepositoryConfigResponse return o } +func (o VirtualRepositoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualRepositoryConfigResponse] { + return pulumix.Output[VirtualRepositoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // Policies that configure the upstream artifacts distributed by the Virtual Repository. Upstream policies cannot be set on a standard repository. func (o VirtualRepositoryConfigResponseOutput) UpstreamPolicies() UpstreamPolicyResponseArrayOutput { return o.ApplyT(func(v VirtualRepositoryConfigResponse) []UpstreamPolicyResponse { return v.UpstreamPolicies }).(UpstreamPolicyResponseArrayOutput) diff --git a/sdk/go/google/artifactregistry/v1/repository.go b/sdk/go/google/artifactregistry/v1/repository.go index 0063bcc48e..abd6b13fc3 100644 --- a/sdk/go/google/artifactregistry/v1/repository.go +++ b/sdk/go/google/artifactregistry/v1/repository.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository. @@ -171,6 +172,12 @@ func (i *Repository) ToRepositoryOutputWithContext(ctx context.Context) Reposito return pulumi.ToOutputWithContext(ctx, i).(RepositoryOutput) } +func (i *Repository) ToOutput(ctx context.Context) pulumix.Output[*Repository] { + return pulumix.Output[*Repository]{ + OutputState: i.ToRepositoryOutputWithContext(ctx).OutputState, + } +} + type RepositoryOutput struct{ *pulumi.OutputState } func (RepositoryOutput) ElementType() reflect.Type { @@ -185,6 +192,12 @@ func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) Rep return o } +func (o RepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[*Repository] { + return pulumix.Output[*Repository]{ + OutputState: o.OutputState, + } +} + // The time when the repository was created. func (o RepositoryOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Repository) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/artifactregistry/v1/repositoryIamBinding.go b/sdk/go/google/artifactregistry/v1/repositoryIamBinding.go index 181db45857..ffefc29081 100644 --- a/sdk/go/google/artifactregistry/v1/repositoryIamBinding.go +++ b/sdk/go/google/artifactregistry/v1/repositoryIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates the IAM policy for a given resource. @@ -135,6 +136,12 @@ func (i *RepositoryIamBinding) ToRepositoryIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamBindingOutput) } +func (i *RepositoryIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamBinding] { + return pulumix.Output[*RepositoryIamBinding]{ + OutputState: i.ToRepositoryIamBindingOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamBindingOutput struct{ *pulumi.OutputState } func (RepositoryIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepositoryIamBindingOutput) ToRepositoryIamBindingOutputWithContext(ctx return o } +func (o RepositoryIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamBinding] { + return pulumix.Output[*RepositoryIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepositoryIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepositoryIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/artifactregistry/v1/repositoryIamMember.go b/sdk/go/google/artifactregistry/v1/repositoryIamMember.go index 0aab2d2b23..395130f6fc 100644 --- a/sdk/go/google/artifactregistry/v1/repositoryIamMember.go +++ b/sdk/go/google/artifactregistry/v1/repositoryIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates the IAM policy for a given resource. @@ -135,6 +136,12 @@ func (i *RepositoryIamMember) ToRepositoryIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamMemberOutput) } +func (i *RepositoryIamMember) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamMember] { + return pulumix.Output[*RepositoryIamMember]{ + OutputState: i.ToRepositoryIamMemberOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamMemberOutput struct{ *pulumi.OutputState } func (RepositoryIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepositoryIamMemberOutput) ToRepositoryIamMemberOutputWithContext(ctx co return o } +func (o RepositoryIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamMember] { + return pulumix.Output[*RepositoryIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepositoryIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepositoryIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/artifactregistry/v1/repositoryIamPolicy.go b/sdk/go/google/artifactregistry/v1/repositoryIamPolicy.go index 89be0b1b6d..17351a0195 100644 --- a/sdk/go/google/artifactregistry/v1/repositoryIamPolicy.go +++ b/sdk/go/google/artifactregistry/v1/repositoryIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates the IAM policy for a given resource. @@ -125,6 +126,12 @@ func (i *RepositoryIamPolicy) ToRepositoryIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamPolicyOutput) } +func (i *RepositoryIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamPolicy] { + return pulumix.Output[*RepositoryIamPolicy]{ + OutputState: i.ToRepositoryIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamPolicyOutput struct{ *pulumi.OutputState } func (RepositoryIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o RepositoryIamPolicyOutput) ToRepositoryIamPolicyOutputWithContext(ctx co return o } +func (o RepositoryIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamPolicy] { + return pulumix.Output[*RepositoryIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o RepositoryIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RepositoryIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/artifactregistry/v1/tag.go b/sdk/go/google/artifactregistry/v1/tag.go index 5ce68b8bea..9a1e28fd93 100644 --- a/sdk/go/google/artifactregistry/v1/tag.go +++ b/sdk/go/google/artifactregistry/v1/tag.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a tag. @@ -130,6 +131,12 @@ func (i *Tag) ToTagOutputWithContext(ctx context.Context) TagOutput { return pulumi.ToOutputWithContext(ctx, i).(TagOutput) } +func (i *Tag) ToOutput(ctx context.Context) pulumix.Output[*Tag] { + return pulumix.Output[*Tag]{ + OutputState: i.ToTagOutputWithContext(ctx).OutputState, + } +} + type TagOutput struct{ *pulumi.OutputState } func (TagOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput { return o } +func (o TagOutput) ToOutput(ctx context.Context) pulumix.Output[*Tag] { + return pulumix.Output[*Tag]{ + OutputState: o.OutputState, + } +} + func (o TagOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v *Tag) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) } diff --git a/sdk/go/google/artifactregistry/v1beta1/getRepository.go b/sdk/go/google/artifactregistry/v1beta1/getRepository.go index 287600d276..57331e3e19 100644 --- a/sdk/go/google/artifactregistry/v1beta1/getRepository.go +++ b/sdk/go/google/artifactregistry/v1beta1/getRepository.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a repository. @@ -86,6 +87,12 @@ func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext( return o } +func (o LookupRepositoryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepositoryResult] { + return pulumix.Output[LookupRepositoryResult]{ + OutputState: o.OutputState, + } +} + // The time when the repository was created. func (o LookupRepositoryResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupRepositoryResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/artifactregistry/v1beta1/getRepositoryIamPolicy.go b/sdk/go/google/artifactregistry/v1beta1/getRepositoryIamPolicy.go index 2526e2193e..a125cdbd78 100644 --- a/sdk/go/google/artifactregistry/v1beta1/getRepositoryIamPolicy.go +++ b/sdk/go/google/artifactregistry/v1beta1/getRepositoryIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy for a given resource. @@ -76,6 +77,12 @@ func (o LookupRepositoryIamPolicyResultOutput) ToLookupRepositoryIamPolicyResult return o } +func (o LookupRepositoryIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepositoryIamPolicyResult] { + return pulumix.Output[LookupRepositoryIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupRepositoryIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRepositoryIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/artifactregistry/v1beta1/getTag.go b/sdk/go/google/artifactregistry/v1beta1/getTag.go index 95f382a9f9..8d635992cb 100644 --- a/sdk/go/google/artifactregistry/v1beta1/getTag.go +++ b/sdk/go/google/artifactregistry/v1beta1/getTag.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a tag. @@ -76,6 +77,12 @@ func (o LookupTagResultOutput) ToLookupTagResultOutputWithContext(ctx context.Co return o } +func (o LookupTagResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagResult] { + return pulumix.Output[LookupTagResult]{ + OutputState: o.OutputState, + } +} + // The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else must be URL encoded. func (o LookupTagResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupTagResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/artifactregistry/v1beta1/pulumiEnums.go b/sdk/go/google/artifactregistry/v1beta1/pulumiEnums.go index b7a3041021..67f7ca3ad3 100644 --- a/sdk/go/google/artifactregistry/v1beta1/pulumiEnums.go +++ b/sdk/go/google/artifactregistry/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The format of packages that are stored in the repository. @@ -92,6 +93,12 @@ func (o RepositoryFormatOutput) ToRepositoryFormatPtrOutputWithContext(ctx conte }).(RepositoryFormatPtrOutput) } +func (o RepositoryFormatOutput) ToOutput(ctx context.Context) pulumix.Output[RepositoryFormat] { + return pulumix.Output[RepositoryFormat]{ + OutputState: o.OutputState, + } +} + func (o RepositoryFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -127,6 +134,12 @@ func (o RepositoryFormatPtrOutput) ToRepositoryFormatPtrOutputWithContext(ctx co return o } +func (o RepositoryFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryFormat] { + return pulumix.Output[*RepositoryFormat]{ + OutputState: o.OutputState, + } +} + func (o RepositoryFormatPtrOutput) Elem() RepositoryFormatOutput { return o.ApplyT(func(v *RepositoryFormat) RepositoryFormat { if v != nil { @@ -189,6 +202,12 @@ func (in *repositoryFormatPtr) ToRepositoryFormatPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(RepositoryFormatPtrOutput) } +func (in *repositoryFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*RepositoryFormat] { + return pulumix.Output[*RepositoryFormat]{ + OutputState: in.ToRepositoryFormatPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*RepositoryFormatInput)(nil)).Elem(), RepositoryFormat("FORMAT_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*RepositoryFormatPtrInput)(nil)).Elem(), RepositoryFormat("FORMAT_UNSPECIFIED")) diff --git a/sdk/go/google/artifactregistry/v1beta1/pulumiTypes.go b/sdk/go/google/artifactregistry/v1beta1/pulumiTypes.go index 32130e0b96..995a70e533 100644 --- a/sdk/go/google/artifactregistry/v1beta1/pulumiTypes.go +++ b/sdk/go/google/artifactregistry/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/artifactregistry/v1beta1/repository.go b/sdk/go/google/artifactregistry/v1beta1/repository.go index 92e818aa88..54f4d7adb9 100644 --- a/sdk/go/google/artifactregistry/v1beta1/repository.go +++ b/sdk/go/google/artifactregistry/v1beta1/repository.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository. @@ -141,6 +142,12 @@ func (i *Repository) ToRepositoryOutputWithContext(ctx context.Context) Reposito return pulumi.ToOutputWithContext(ctx, i).(RepositoryOutput) } +func (i *Repository) ToOutput(ctx context.Context) pulumix.Output[*Repository] { + return pulumix.Output[*Repository]{ + OutputState: i.ToRepositoryOutputWithContext(ctx).OutputState, + } +} + type RepositoryOutput struct{ *pulumi.OutputState } func (RepositoryOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) Rep return o } +func (o RepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[*Repository] { + return pulumix.Output[*Repository]{ + OutputState: o.OutputState, + } +} + // The time when the repository was created. func (o RepositoryOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Repository) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/artifactregistry/v1beta1/repositoryIamBinding.go b/sdk/go/google/artifactregistry/v1beta1/repositoryIamBinding.go index 837a5d064a..99826df4e7 100644 --- a/sdk/go/google/artifactregistry/v1beta1/repositoryIamBinding.go +++ b/sdk/go/google/artifactregistry/v1beta1/repositoryIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates the IAM policy for a given resource. @@ -135,6 +136,12 @@ func (i *RepositoryIamBinding) ToRepositoryIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamBindingOutput) } +func (i *RepositoryIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamBinding] { + return pulumix.Output[*RepositoryIamBinding]{ + OutputState: i.ToRepositoryIamBindingOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamBindingOutput struct{ *pulumi.OutputState } func (RepositoryIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepositoryIamBindingOutput) ToRepositoryIamBindingOutputWithContext(ctx return o } +func (o RepositoryIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamBinding] { + return pulumix.Output[*RepositoryIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepositoryIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepositoryIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/artifactregistry/v1beta1/repositoryIamMember.go b/sdk/go/google/artifactregistry/v1beta1/repositoryIamMember.go index 2237657899..2094eefa5c 100644 --- a/sdk/go/google/artifactregistry/v1beta1/repositoryIamMember.go +++ b/sdk/go/google/artifactregistry/v1beta1/repositoryIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates the IAM policy for a given resource. @@ -135,6 +136,12 @@ func (i *RepositoryIamMember) ToRepositoryIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamMemberOutput) } +func (i *RepositoryIamMember) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamMember] { + return pulumix.Output[*RepositoryIamMember]{ + OutputState: i.ToRepositoryIamMemberOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamMemberOutput struct{ *pulumi.OutputState } func (RepositoryIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepositoryIamMemberOutput) ToRepositoryIamMemberOutputWithContext(ctx co return o } +func (o RepositoryIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamMember] { + return pulumix.Output[*RepositoryIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepositoryIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepositoryIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/artifactregistry/v1beta1/repositoryIamPolicy.go b/sdk/go/google/artifactregistry/v1beta1/repositoryIamPolicy.go index e07551afeb..414a3cb63c 100644 --- a/sdk/go/google/artifactregistry/v1beta1/repositoryIamPolicy.go +++ b/sdk/go/google/artifactregistry/v1beta1/repositoryIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates the IAM policy for a given resource. @@ -125,6 +126,12 @@ func (i *RepositoryIamPolicy) ToRepositoryIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamPolicyOutput) } +func (i *RepositoryIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamPolicy] { + return pulumix.Output[*RepositoryIamPolicy]{ + OutputState: i.ToRepositoryIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamPolicyOutput struct{ *pulumi.OutputState } func (RepositoryIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o RepositoryIamPolicyOutput) ToRepositoryIamPolicyOutputWithContext(ctx co return o } +func (o RepositoryIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamPolicy] { + return pulumix.Output[*RepositoryIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o RepositoryIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RepositoryIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/artifactregistry/v1beta1/tag.go b/sdk/go/google/artifactregistry/v1beta1/tag.go index fffa10c909..2f0e87439a 100644 --- a/sdk/go/google/artifactregistry/v1beta1/tag.go +++ b/sdk/go/google/artifactregistry/v1beta1/tag.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a tag. @@ -130,6 +131,12 @@ func (i *Tag) ToTagOutputWithContext(ctx context.Context) TagOutput { return pulumi.ToOutputWithContext(ctx, i).(TagOutput) } +func (i *Tag) ToOutput(ctx context.Context) pulumix.Output[*Tag] { + return pulumix.Output[*Tag]{ + OutputState: i.ToTagOutputWithContext(ctx).OutputState, + } +} + type TagOutput struct{ *pulumi.OutputState } func (TagOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput { return o } +func (o TagOutput) ToOutput(ctx context.Context) pulumix.Output[*Tag] { + return pulumix.Output[*Tag]{ + OutputState: o.OutputState, + } +} + func (o TagOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v *Tag) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) } diff --git a/sdk/go/google/artifactregistry/v1beta2/getRepository.go b/sdk/go/google/artifactregistry/v1beta2/getRepository.go index fad4f5c012..19b38fb1d4 100644 --- a/sdk/go/google/artifactregistry/v1beta2/getRepository.go +++ b/sdk/go/google/artifactregistry/v1beta2/getRepository.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a repository. @@ -88,6 +89,12 @@ func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext( return o } +func (o LookupRepositoryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepositoryResult] { + return pulumix.Output[LookupRepositoryResult]{ + OutputState: o.OutputState, + } +} + // The time when the repository was created. func (o LookupRepositoryResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupRepositoryResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/artifactregistry/v1beta2/getRepositoryIamPolicy.go b/sdk/go/google/artifactregistry/v1beta2/getRepositoryIamPolicy.go index c561fcf88b..e9aafb156d 100644 --- a/sdk/go/google/artifactregistry/v1beta2/getRepositoryIamPolicy.go +++ b/sdk/go/google/artifactregistry/v1beta2/getRepositoryIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy for a given resource. @@ -76,6 +77,12 @@ func (o LookupRepositoryIamPolicyResultOutput) ToLookupRepositoryIamPolicyResult return o } +func (o LookupRepositoryIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepositoryIamPolicyResult] { + return pulumix.Output[LookupRepositoryIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupRepositoryIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRepositoryIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/artifactregistry/v1beta2/getTag.go b/sdk/go/google/artifactregistry/v1beta2/getTag.go index 6f5f30e56e..c0eb61dd08 100644 --- a/sdk/go/google/artifactregistry/v1beta2/getTag.go +++ b/sdk/go/google/artifactregistry/v1beta2/getTag.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a tag. @@ -76,6 +77,12 @@ func (o LookupTagResultOutput) ToLookupTagResultOutputWithContext(ctx context.Co return o } +func (o LookupTagResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagResult] { + return pulumix.Output[LookupTagResult]{ + OutputState: o.OutputState, + } +} + // The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else must be URL encoded. func (o LookupTagResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupTagResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/artifactregistry/v1beta2/pulumiEnums.go b/sdk/go/google/artifactregistry/v1beta2/pulumiEnums.go index fe7b6df2ee..851532bd60 100644 --- a/sdk/go/google/artifactregistry/v1beta2/pulumiEnums.go +++ b/sdk/go/google/artifactregistry/v1beta2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Version policy defines the versions that the registry will accept. @@ -82,6 +83,12 @@ func (o MavenRepositoryConfigVersionPolicyOutput) ToMavenRepositoryConfigVersion }).(MavenRepositoryConfigVersionPolicyPtrOutput) } +func (o MavenRepositoryConfigVersionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[MavenRepositoryConfigVersionPolicy] { + return pulumix.Output[MavenRepositoryConfigVersionPolicy]{ + OutputState: o.OutputState, + } +} + func (o MavenRepositoryConfigVersionPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o MavenRepositoryConfigVersionPolicyPtrOutput) ToMavenRepositoryConfigVers return o } +func (o MavenRepositoryConfigVersionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MavenRepositoryConfigVersionPolicy] { + return pulumix.Output[*MavenRepositoryConfigVersionPolicy]{ + OutputState: o.OutputState, + } +} + func (o MavenRepositoryConfigVersionPolicyPtrOutput) Elem() MavenRepositoryConfigVersionPolicyOutput { return o.ApplyT(func(v *MavenRepositoryConfigVersionPolicy) MavenRepositoryConfigVersionPolicy { if v != nil { @@ -179,6 +192,12 @@ func (in *mavenRepositoryConfigVersionPolicyPtr) ToMavenRepositoryConfigVersionP return pulumi.ToOutputWithContext(ctx, in).(MavenRepositoryConfigVersionPolicyPtrOutput) } +func (in *mavenRepositoryConfigVersionPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*MavenRepositoryConfigVersionPolicy] { + return pulumix.Output[*MavenRepositoryConfigVersionPolicy]{ + OutputState: in.ToMavenRepositoryConfigVersionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The format of packages that are stored in the repository. type RepositoryFormat string @@ -261,6 +280,12 @@ func (o RepositoryFormatOutput) ToRepositoryFormatPtrOutputWithContext(ctx conte }).(RepositoryFormatPtrOutput) } +func (o RepositoryFormatOutput) ToOutput(ctx context.Context) pulumix.Output[RepositoryFormat] { + return pulumix.Output[RepositoryFormat]{ + OutputState: o.OutputState, + } +} + func (o RepositoryFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -296,6 +321,12 @@ func (o RepositoryFormatPtrOutput) ToRepositoryFormatPtrOutputWithContext(ctx co return o } +func (o RepositoryFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryFormat] { + return pulumix.Output[*RepositoryFormat]{ + OutputState: o.OutputState, + } +} + func (o RepositoryFormatPtrOutput) Elem() RepositoryFormatOutput { return o.ApplyT(func(v *RepositoryFormat) RepositoryFormat { if v != nil { @@ -358,6 +389,12 @@ func (in *repositoryFormatPtr) ToRepositoryFormatPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(RepositoryFormatPtrOutput) } +func (in *repositoryFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*RepositoryFormat] { + return pulumix.Output[*RepositoryFormat]{ + OutputState: in.ToRepositoryFormatPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*MavenRepositoryConfigVersionPolicyInput)(nil)).Elem(), MavenRepositoryConfigVersionPolicy("VERSION_POLICY_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*MavenRepositoryConfigVersionPolicyPtrInput)(nil)).Elem(), MavenRepositoryConfigVersionPolicy("VERSION_POLICY_UNSPECIFIED")) diff --git a/sdk/go/google/artifactregistry/v1beta2/pulumiTypes.go b/sdk/go/google/artifactregistry/v1beta2/pulumiTypes.go index ca5e634c79..6a138197fb 100644 --- a/sdk/go/google/artifactregistry/v1beta2/pulumiTypes.go +++ b/sdk/go/google/artifactregistry/v1beta2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -474,6 +541,12 @@ func (i MavenRepositoryConfigArgs) ToMavenRepositoryConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(MavenRepositoryConfigOutput) } +func (i MavenRepositoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MavenRepositoryConfig] { + return pulumix.Output[MavenRepositoryConfig]{ + OutputState: i.ToMavenRepositoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i MavenRepositoryConfigArgs) ToMavenRepositoryConfigPtrOutput() MavenRepositoryConfigPtrOutput { return i.ToMavenRepositoryConfigPtrOutputWithContext(context.Background()) } @@ -515,6 +588,12 @@ func (i *mavenRepositoryConfigPtrType) ToMavenRepositoryConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(MavenRepositoryConfigPtrOutput) } +func (i *mavenRepositoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MavenRepositoryConfig] { + return pulumix.Output[*MavenRepositoryConfig]{ + OutputState: i.ToMavenRepositoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type. type MavenRepositoryConfigOutput struct{ *pulumi.OutputState } @@ -540,6 +619,12 @@ func (o MavenRepositoryConfigOutput) ToMavenRepositoryConfigPtrOutputWithContext }).(MavenRepositoryConfigPtrOutput) } +func (o MavenRepositoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MavenRepositoryConfig] { + return pulumix.Output[MavenRepositoryConfig]{ + OutputState: o.OutputState, + } +} + // The repository with this flag will allow publishing the same snapshot versions. func (o MavenRepositoryConfigOutput) AllowSnapshotOverwrites() pulumi.BoolPtrOutput { return o.ApplyT(func(v MavenRepositoryConfig) *bool { return v.AllowSnapshotOverwrites }).(pulumi.BoolPtrOutput) @@ -564,6 +649,12 @@ func (o MavenRepositoryConfigPtrOutput) ToMavenRepositoryConfigPtrOutputWithCont return o } +func (o MavenRepositoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MavenRepositoryConfig] { + return pulumix.Output[*MavenRepositoryConfig]{ + OutputState: o.OutputState, + } +} + func (o MavenRepositoryConfigPtrOutput) Elem() MavenRepositoryConfigOutput { return o.ApplyT(func(v *MavenRepositoryConfig) MavenRepositoryConfig { if v != nil { @@ -617,6 +708,12 @@ func (o MavenRepositoryConfigResponseOutput) ToMavenRepositoryConfigResponseOutp return o } +func (o MavenRepositoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MavenRepositoryConfigResponse] { + return pulumix.Output[MavenRepositoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The repository with this flag will allow publishing the same snapshot versions. func (o MavenRepositoryConfigResponseOutput) AllowSnapshotOverwrites() pulumi.BoolOutput { return o.ApplyT(func(v MavenRepositoryConfigResponse) bool { return v.AllowSnapshotOverwrites }).(pulumi.BoolOutput) diff --git a/sdk/go/google/artifactregistry/v1beta2/repository.go b/sdk/go/google/artifactregistry/v1beta2/repository.go index a1c5a52668..0f6569c53b 100644 --- a/sdk/go/google/artifactregistry/v1beta2/repository.go +++ b/sdk/go/google/artifactregistry/v1beta2/repository.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository. @@ -147,6 +148,12 @@ func (i *Repository) ToRepositoryOutputWithContext(ctx context.Context) Reposito return pulumi.ToOutputWithContext(ctx, i).(RepositoryOutput) } +func (i *Repository) ToOutput(ctx context.Context) pulumix.Output[*Repository] { + return pulumix.Output[*Repository]{ + OutputState: i.ToRepositoryOutputWithContext(ctx).OutputState, + } +} + type RepositoryOutput struct{ *pulumi.OutputState } func (RepositoryOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) Rep return o } +func (o RepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[*Repository] { + return pulumix.Output[*Repository]{ + OutputState: o.OutputState, + } +} + // The time when the repository was created. func (o RepositoryOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Repository) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/artifactregistry/v1beta2/repositoryIamBinding.go b/sdk/go/google/artifactregistry/v1beta2/repositoryIamBinding.go index 2a755d10e0..6b1e581e3e 100644 --- a/sdk/go/google/artifactregistry/v1beta2/repositoryIamBinding.go +++ b/sdk/go/google/artifactregistry/v1beta2/repositoryIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates the IAM policy for a given resource. @@ -135,6 +136,12 @@ func (i *RepositoryIamBinding) ToRepositoryIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamBindingOutput) } +func (i *RepositoryIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamBinding] { + return pulumix.Output[*RepositoryIamBinding]{ + OutputState: i.ToRepositoryIamBindingOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamBindingOutput struct{ *pulumi.OutputState } func (RepositoryIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepositoryIamBindingOutput) ToRepositoryIamBindingOutputWithContext(ctx return o } +func (o RepositoryIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamBinding] { + return pulumix.Output[*RepositoryIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepositoryIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepositoryIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/artifactregistry/v1beta2/repositoryIamMember.go b/sdk/go/google/artifactregistry/v1beta2/repositoryIamMember.go index 491551d750..d22a159d50 100644 --- a/sdk/go/google/artifactregistry/v1beta2/repositoryIamMember.go +++ b/sdk/go/google/artifactregistry/v1beta2/repositoryIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates the IAM policy for a given resource. @@ -135,6 +136,12 @@ func (i *RepositoryIamMember) ToRepositoryIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamMemberOutput) } +func (i *RepositoryIamMember) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamMember] { + return pulumix.Output[*RepositoryIamMember]{ + OutputState: i.ToRepositoryIamMemberOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamMemberOutput struct{ *pulumi.OutputState } func (RepositoryIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepositoryIamMemberOutput) ToRepositoryIamMemberOutputWithContext(ctx co return o } +func (o RepositoryIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamMember] { + return pulumix.Output[*RepositoryIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepositoryIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepositoryIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/artifactregistry/v1beta2/repositoryIamPolicy.go b/sdk/go/google/artifactregistry/v1beta2/repositoryIamPolicy.go index ecff2dbbf1..0378647e3f 100644 --- a/sdk/go/google/artifactregistry/v1beta2/repositoryIamPolicy.go +++ b/sdk/go/google/artifactregistry/v1beta2/repositoryIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates the IAM policy for a given resource. @@ -125,6 +126,12 @@ func (i *RepositoryIamPolicy) ToRepositoryIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamPolicyOutput) } +func (i *RepositoryIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamPolicy] { + return pulumix.Output[*RepositoryIamPolicy]{ + OutputState: i.ToRepositoryIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamPolicyOutput struct{ *pulumi.OutputState } func (RepositoryIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o RepositoryIamPolicyOutput) ToRepositoryIamPolicyOutputWithContext(ctx co return o } +func (o RepositoryIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamPolicy] { + return pulumix.Output[*RepositoryIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o RepositoryIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RepositoryIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/artifactregistry/v1beta2/tag.go b/sdk/go/google/artifactregistry/v1beta2/tag.go index 3e29d6f2b6..866d8559cb 100644 --- a/sdk/go/google/artifactregistry/v1beta2/tag.go +++ b/sdk/go/google/artifactregistry/v1beta2/tag.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a tag. @@ -130,6 +131,12 @@ func (i *Tag) ToTagOutputWithContext(ctx context.Context) TagOutput { return pulumi.ToOutputWithContext(ctx, i).(TagOutput) } +func (i *Tag) ToOutput(ctx context.Context) pulumix.Output[*Tag] { + return pulumix.Output[*Tag]{ + OutputState: i.ToTagOutputWithContext(ctx).OutputState, + } +} + type TagOutput struct{ *pulumi.OutputState } func (TagOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput { return o } +func (o TagOutput) ToOutput(ctx context.Context) pulumix.Output[*Tag] { + return pulumix.Output[*Tag]{ + OutputState: o.OutputState, + } +} + func (o TagOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v *Tag) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) } diff --git a/sdk/go/google/assuredworkloads/v1/getWorkload.go b/sdk/go/google/assuredworkloads/v1/getWorkload.go index 1bfc5a231e..bf5bb826f8 100644 --- a/sdk/go/google/assuredworkloads/v1/getWorkload.go +++ b/sdk/go/google/assuredworkloads/v1/getWorkload.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets Assured Workload associated with a CRM Node @@ -110,6 +111,12 @@ func (o LookupWorkloadResultOutput) ToLookupWorkloadResultOutputWithContext(ctx return o } +func (o LookupWorkloadResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkloadResult] { + return pulumix.Output[LookupWorkloadResult]{ + OutputState: o.OutputState, + } +} + // Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. func (o LookupWorkloadResultOutput) BillingAccount() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkloadResult) string { return v.BillingAccount }).(pulumi.StringOutput) diff --git a/sdk/go/google/assuredworkloads/v1/pulumiEnums.go b/sdk/go/google/assuredworkloads/v1/pulumiEnums.go index 365e2a0078..b0f6702119 100644 --- a/sdk/go/google/assuredworkloads/v1/pulumiEnums.go +++ b/sdk/go/google/assuredworkloads/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Indicates Ekm provisioning error if any. @@ -88,6 +89,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvision }).(GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -123,6 +130,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvision return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutput) Elem() GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain) GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain { if v != nil { @@ -185,6 +198,12 @@ func (in *googleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisi return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutput) } +func (in *googleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain]{ + OutputState: in.ToGoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutputWithContext(ctx).OutputState, + } +} + // Detailed error message if Ekm provisioning fails type GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping string @@ -259,6 +278,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvision }).(GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -294,6 +319,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvision return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtrOutput) Elem() GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping) GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping { if v != nil { @@ -356,6 +387,12 @@ func (in *googleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisi return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtrOutput) } +func (in *googleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping]{ + OutputState: in.ToGoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates Ekm enrollment Provisioning of a given workload. type GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningState string @@ -430,6 +467,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvision }).(GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningStatePtrOutput) } +func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningState] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -465,6 +508,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvision return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningState] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningStatePtrOutput) Elem() GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningStateOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningState) GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningState { if v != nil { @@ -527,6 +576,12 @@ func (in *googleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisi return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningStatePtrOutput) } +func (in *googleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningState] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningState]{ + OutputState: in.ToGoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningStatePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT) type GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceType string @@ -603,6 +658,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypeOutput) }).(GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypePtrOutput) } +func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceType] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -638,6 +699,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypePtrOutp return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceType] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypePtrOutput) Elem() GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypeOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceType) GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceType { if v != nil { @@ -700,6 +767,12 @@ func (in *googleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypePtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypePtrOutput) } +func (in *googleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceType] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceType]{ + OutputState: in.ToGoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResourceTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. Compliance Regime associated with this workload. type WorkloadComplianceRegime string @@ -798,6 +871,12 @@ func (o WorkloadComplianceRegimeOutput) ToWorkloadComplianceRegimePtrOutputWithC }).(WorkloadComplianceRegimePtrOutput) } +func (o WorkloadComplianceRegimeOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadComplianceRegime] { + return pulumix.Output[WorkloadComplianceRegime]{ + OutputState: o.OutputState, + } +} + func (o WorkloadComplianceRegimeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -833,6 +912,12 @@ func (o WorkloadComplianceRegimePtrOutput) ToWorkloadComplianceRegimePtrOutputWi return o } +func (o WorkloadComplianceRegimePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadComplianceRegime] { + return pulumix.Output[*WorkloadComplianceRegime]{ + OutputState: o.OutputState, + } +} + func (o WorkloadComplianceRegimePtrOutput) Elem() WorkloadComplianceRegimeOutput { return o.ApplyT(func(v *WorkloadComplianceRegime) WorkloadComplianceRegime { if v != nil { @@ -895,6 +980,12 @@ func (in *workloadComplianceRegimePtr) ToWorkloadComplianceRegimePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(WorkloadComplianceRegimePtrOutput) } +func (in *workloadComplianceRegimePtr) ToOutput(ctx context.Context) pulumix.Output[*WorkloadComplianceRegime] { + return pulumix.Output[*WorkloadComplianceRegime]{ + OutputState: in.ToWorkloadComplianceRegimePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Partner regime associated with this workload. type WorkloadPartner string @@ -970,6 +1061,12 @@ func (o WorkloadPartnerOutput) ToWorkloadPartnerPtrOutputWithContext(ctx context }).(WorkloadPartnerPtrOutput) } +func (o WorkloadPartnerOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadPartner] { + return pulumix.Output[WorkloadPartner]{ + OutputState: o.OutputState, + } +} + func (o WorkloadPartnerOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1005,6 +1102,12 @@ func (o WorkloadPartnerPtrOutput) ToWorkloadPartnerPtrOutputWithContext(ctx cont return o } +func (o WorkloadPartnerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadPartner] { + return pulumix.Output[*WorkloadPartner]{ + OutputState: o.OutputState, + } +} + func (o WorkloadPartnerPtrOutput) Elem() WorkloadPartnerOutput { return o.ApplyT(func(v *WorkloadPartner) WorkloadPartner { if v != nil { @@ -1067,6 +1170,12 @@ func (in *workloadPartnerPtr) ToWorkloadPartnerPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(WorkloadPartnerPtrOutput) } +func (in *workloadPartnerPtr) ToOutput(ctx context.Context) pulumix.Output[*WorkloadPartner] { + return pulumix.Output[*WorkloadPartner]{ + OutputState: in.ToWorkloadPartnerPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainInput)(nil)).Elem(), GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain("EKM_PROVISIONING_ERROR_DOMAIN_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrInput)(nil)).Elem(), GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain("EKM_PROVISIONING_ERROR_DOMAIN_UNSPECIFIED")) diff --git a/sdk/go/google/assuredworkloads/v1/pulumiTypes.go b/sdk/go/google/assuredworkloads/v1/pulumiTypes.go index 13e706def4..3d0eed7647 100644 --- a/sdk/go/google/assuredworkloads/v1/pulumiTypes.go +++ b/sdk/go/google/assuredworkloads/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -36,6 +37,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadComplianceStatusResponseOutput) ToG return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadComplianceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadComplianceStatusResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadComplianceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Count of active Violations which are acknowledged in the Workload. func (o GoogleCloudAssuredworkloadsV1WorkloadComplianceStatusResponseOutput) AcknowledgedViolationCount() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadComplianceStatusResponse) int { @@ -93,6 +100,12 @@ func (i GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseArgs) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseOutput) } +func (i GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseArgs) ToGoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrOutput() GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrOutput { return i.ToGoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrOutputWithContext(context.Background()) } @@ -134,6 +147,12 @@ func (i *googleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrType) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrOutput) } +func (i *googleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrOutputWithContext(ctx).OutputState, + } +} + // External key management systems(EKM) Provisioning response type GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseOutput struct{ *pulumi.OutputState } @@ -159,6 +178,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseOutput) ToGo }).(GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrOutput) } +func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse]{ + OutputState: o.OutputState, + } +} + // Indicates Ekm provisioning error if any. func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseOutput) EkmProvisioningErrorDomain() GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse) *GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain { @@ -194,6 +219,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrOutput) T return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponsePtrOutput) Elem() GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse) GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse { if v != nil { @@ -259,6 +290,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseResponseOutp return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseResponse]{ + OutputState: o.OutputState, + } +} + // Indicates Ekm provisioning error if any. func (o GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseResponseOutput) EkmProvisioningErrorDomain() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponseResponse) string { @@ -319,6 +356,12 @@ func (i GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsArgs) ToGoogleCloudAssur return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsOutput) } +func (i GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadKMSSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadKMSSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1WorkloadKMSSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsArgs) ToGoogleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrOutput() GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrOutput { return i.ToGoogleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrOutputWithContext(context.Background()) } @@ -360,6 +403,12 @@ func (i *googleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrType) ToGoogleCloudA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrOutput) } +func (i *googleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadKMSSettings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadKMSSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings specific to the Key Management Service. type GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsOutput struct{ *pulumi.OutputState } @@ -385,6 +434,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsOutput) ToGoogleCloudAss }).(GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadKMSSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadKMSSettings]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary. func (o GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsOutput) NextRotationTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadKMSSettings) string { return v.NextRotationTime }).(pulumi.StringOutput) @@ -409,6 +464,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadKMSSettings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadKMSSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsPtrOutput) Elem() GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1WorkloadKMSSettings) GoogleCloudAssuredworkloadsV1WorkloadKMSSettings { if v != nil { @@ -462,6 +523,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsResponseOutput) ToGoogle return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary. func (o GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsResponseOutput) NextRotationTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadKMSSettingsResponse) string { return v.NextRotationTime }).(pulumi.StringOutput) @@ -511,6 +578,12 @@ func (i GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsOutput) } +func (i GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsArgs) ToGoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrOutput() GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrOutput { return i.ToGoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrOutputWithContext(context.Background()) } @@ -552,6 +625,12 @@ func (i *googleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrOutput) } +func (i *googleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrOutputWithContext(ctx).OutputState, + } +} + // Permissions granted to the AW Partner SA account for the customer workload type GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsOutput struct{ *pulumi.OutputState } @@ -577,6 +656,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsOutput) ToGoogleC }).(GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions]{ + OutputState: o.OutputState, + } +} + // Allow the partner to view inspectability logs and monitoring violations. func (o GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsOutput) DataLogsViewer() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions) *bool { return v.DataLogsViewer }).(pulumi.BoolPtrOutput) @@ -603,6 +688,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrOutput) ToGoog return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsPtrOutput) Elem() GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions) GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions { if v != nil { @@ -656,6 +747,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsResponseOutput) T return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsResponse]{ + OutputState: o.OutputState, + } +} + // Allow the partner to view inspectability logs and monitoring violations. func (o GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsResponseOutput) DataLogsViewer() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissionsResponse) bool { return v.DataLogsViewer }).(pulumi.BoolOutput) @@ -691,6 +788,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponseOutput) ToGoogl return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Resource identifier. For a project this represents project_number. func (o GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponseOutput) ResourceId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponse) string { return v.ResourceId }).(pulumi.StringOutput) @@ -715,6 +818,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponseArrayOutput) To return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponse] { + return pulumix.Output[[]GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponse { return vs[0].([]GoogleCloudAssuredworkloadsV1WorkloadResourceInfoResponse)[vs[1].(int)] @@ -764,6 +873,12 @@ func (i GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsOutput) } +func (i GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadResourceSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadResourceSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1WorkloadResourceSettingsOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArrayInput is an input type that accepts GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArray and GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArrayOutput values. // You can construct a concrete instance of `GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArrayInput` via: // @@ -789,6 +904,12 @@ func (i GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArray) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArrayOutput) } +func (i GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudAssuredworkloadsV1WorkloadResourceSettings] { + return pulumix.Output[[]GoogleCloudAssuredworkloadsV1WorkloadResourceSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArrayOutputWithContext(ctx).OutputState, + } +} + // Represent the custom settings for the resources to be created. type GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsOutput struct{ *pulumi.OutputState } @@ -804,6 +925,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsOutput) ToGoogleClo return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadResourceSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadResourceSettings]{ + OutputState: o.OutputState, + } +} + // User-assigned resource display name. If not empty it will be used to create a resource with the specified name. func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadResourceSettings) *string { return v.DisplayName }).(pulumi.StringPtrOutput) @@ -835,6 +962,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArrayOutput) ToGoog return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudAssuredworkloadsV1WorkloadResourceSettings] { + return pulumix.Output[[]GoogleCloudAssuredworkloadsV1WorkloadResourceSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsArrayOutput) Index(i pulumi.IntInput) GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudAssuredworkloadsV1WorkloadResourceSettings { return vs[0].([]GoogleCloudAssuredworkloadsV1WorkloadResourceSettings)[vs[1].(int)] @@ -866,6 +999,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponseOutput) ToG return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponse]{ + OutputState: o.OutputState, + } +} + // User-assigned resource display name. If not empty it will be used to create a resource with the specified name. func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -895,6 +1034,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponseArrayOutput return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponse] { + return pulumix.Output[[]GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponse { return vs[0].([]GoogleCloudAssuredworkloadsV1WorkloadResourceSettingsResponse)[vs[1].(int)] @@ -924,6 +1069,12 @@ func (o GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponseResponseOutput return o } +func (o GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponseResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponseResponse]{ + OutputState: o.OutputState, + } +} + // Indicates SAA enrollment setup error if any. func (o GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponseResponseOutput) SetupErrors() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponseResponse) []string { diff --git a/sdk/go/google/assuredworkloads/v1/workload.go b/sdk/go/google/assuredworkloads/v1/workload.go index f31966d981..d8d9fa25cb 100644 --- a/sdk/go/google/assuredworkloads/v1/workload.go +++ b/sdk/go/google/assuredworkloads/v1/workload.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates Assured Workload. @@ -215,6 +216,12 @@ func (i *Workload) ToWorkloadOutputWithContext(ctx context.Context) WorkloadOutp return pulumi.ToOutputWithContext(ctx, i).(WorkloadOutput) } +func (i *Workload) ToOutput(ctx context.Context) pulumix.Output[*Workload] { + return pulumix.Output[*Workload]{ + OutputState: i.ToWorkloadOutputWithContext(ctx).OutputState, + } +} + type WorkloadOutput struct{ *pulumi.OutputState } func (WorkloadOutput) ElementType() reflect.Type { @@ -229,6 +236,12 @@ func (o WorkloadOutput) ToWorkloadOutputWithContext(ctx context.Context) Workloa return o } +func (o WorkloadOutput) ToOutput(ctx context.Context) pulumix.Output[*Workload] { + return pulumix.Output[*Workload]{ + OutputState: o.OutputState, + } +} + // Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. func (o WorkloadOutput) BillingAccount() pulumi.StringOutput { return o.ApplyT(func(v *Workload) pulumi.StringOutput { return v.BillingAccount }).(pulumi.StringOutput) diff --git a/sdk/go/google/assuredworkloads/v1beta1/getWorkload.go b/sdk/go/google/assuredworkloads/v1beta1/getWorkload.go index 734f12d46b..3ec1706ce4 100644 --- a/sdk/go/google/assuredworkloads/v1beta1/getWorkload.go +++ b/sdk/go/google/assuredworkloads/v1beta1/getWorkload.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets Assured Workload associated with a CRM Node @@ -120,6 +121,12 @@ func (o LookupWorkloadResultOutput) ToLookupWorkloadResultOutputWithContext(ctx return o } +func (o LookupWorkloadResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkloadResult] { + return pulumix.Output[LookupWorkloadResult]{ + OutputState: o.OutputState, + } +} + // Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. func (o LookupWorkloadResultOutput) BillingAccount() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkloadResult) string { return v.BillingAccount }).(pulumi.StringOutput) diff --git a/sdk/go/google/assuredworkloads/v1beta1/pulumiEnums.go b/sdk/go/google/assuredworkloads/v1beta1/pulumiEnums.go index 276e7819c1..ba0451c381 100644 --- a/sdk/go/google/assuredworkloads/v1beta1/pulumiEnums.go +++ b/sdk/go/google/assuredworkloads/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Indicates Ekm provisioning error if any. @@ -88,6 +89,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProv }).(GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -123,6 +130,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProv return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain) GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain { if v != nil { @@ -185,6 +198,12 @@ func (in *googleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmPr return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutput) } +func (in *googleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain]{ + OutputState: in.ToGoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutputWithContext(ctx).OutputState, + } +} + // Detailed error message if Ekm provisioning fails type GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping string @@ -259,6 +278,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProv }).(GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -294,6 +319,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProv return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping) GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping { if v != nil { @@ -356,6 +387,12 @@ func (in *googleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmPr return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtrOutput) } +func (in *googleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMapping]{ + OutputState: in.ToGoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorMappingPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates Ekm enrollment Provisioning of a given workload. type GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningState string @@ -430,6 +467,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProv }).(GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningStatePtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningState] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -465,6 +508,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProv return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningState] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningStatePtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningStateOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningState) GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningState { if v != nil { @@ -527,6 +576,12 @@ func (in *googleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmPr return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningStatePtrOutput) } +func (in *googleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningState] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningState]{ + OutputState: in.ToGoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningStatePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT) type GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceType string @@ -603,6 +658,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypeOu }).(GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypePtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceType] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -638,6 +699,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypePt return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceType] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypePtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypeOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceType) GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceType { if v != nil { @@ -700,6 +767,12 @@ func (in *googleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceType return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypePtrOutput) } +func (in *googleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceType] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceType]{ + OutputState: in.ToGoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResourceTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. Compliance Regime associated with this workload. type WorkloadComplianceRegime string @@ -798,6 +871,12 @@ func (o WorkloadComplianceRegimeOutput) ToWorkloadComplianceRegimePtrOutputWithC }).(WorkloadComplianceRegimePtrOutput) } +func (o WorkloadComplianceRegimeOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadComplianceRegime] { + return pulumix.Output[WorkloadComplianceRegime]{ + OutputState: o.OutputState, + } +} + func (o WorkloadComplianceRegimeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -833,6 +912,12 @@ func (o WorkloadComplianceRegimePtrOutput) ToWorkloadComplianceRegimePtrOutputWi return o } +func (o WorkloadComplianceRegimePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadComplianceRegime] { + return pulumix.Output[*WorkloadComplianceRegime]{ + OutputState: o.OutputState, + } +} + func (o WorkloadComplianceRegimePtrOutput) Elem() WorkloadComplianceRegimeOutput { return o.ApplyT(func(v *WorkloadComplianceRegime) WorkloadComplianceRegime { if v != nil { @@ -895,6 +980,12 @@ func (in *workloadComplianceRegimePtr) ToWorkloadComplianceRegimePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(WorkloadComplianceRegimePtrOutput) } +func (in *workloadComplianceRegimePtr) ToOutput(ctx context.Context) pulumix.Output[*WorkloadComplianceRegime] { + return pulumix.Output[*WorkloadComplianceRegime]{ + OutputState: in.ToWorkloadComplianceRegimePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Partner regime associated with this workload. type WorkloadPartner string @@ -970,6 +1061,12 @@ func (o WorkloadPartnerOutput) ToWorkloadPartnerPtrOutputWithContext(ctx context }).(WorkloadPartnerPtrOutput) } +func (o WorkloadPartnerOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadPartner] { + return pulumix.Output[WorkloadPartner]{ + OutputState: o.OutputState, + } +} + func (o WorkloadPartnerOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1005,6 +1102,12 @@ func (o WorkloadPartnerPtrOutput) ToWorkloadPartnerPtrOutputWithContext(ctx cont return o } +func (o WorkloadPartnerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadPartner] { + return pulumix.Output[*WorkloadPartner]{ + OutputState: o.OutputState, + } +} + func (o WorkloadPartnerPtrOutput) Elem() WorkloadPartnerOutput { return o.ApplyT(func(v *WorkloadPartner) WorkloadPartner { if v != nil { @@ -1067,6 +1170,12 @@ func (in *workloadPartnerPtr) ToWorkloadPartnerPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(WorkloadPartnerPtrOutput) } +func (in *workloadPartnerPtr) ToOutput(ctx context.Context) pulumix.Output[*WorkloadPartner] { + return pulumix.Output[*WorkloadPartner]{ + OutputState: in.ToWorkloadPartnerPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainInput)(nil)).Elem(), GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain("EKM_PROVISIONING_ERROR_DOMAIN_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrInput)(nil)).Elem(), GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain("EKM_PROVISIONING_ERROR_DOMAIN_UNSPECIFIED")) diff --git a/sdk/go/google/assuredworkloads/v1beta1/pulumiTypes.go b/sdk/go/google/assuredworkloads/v1beta1/pulumiTypes.go index 3d1f0c56fa..0216199499 100644 --- a/sdk/go/google/assuredworkloads/v1beta1/pulumiTypes.go +++ b/sdk/go/google/assuredworkloads/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsOutput) } +func (i GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsArgs) ToGoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrOutput() GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrOutput { return i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *googleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrOutput) } +func (i *googleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings specific to resources needed for CJIS. type GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsOutput) ToGoogleCl }).(GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. Settings used to create a CMEK crypto key. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsOutput) KmsSettings() GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings) *GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings { @@ -135,6 +154,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrOutput) ToGoogl return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsPtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings) GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettings { if v != nil { @@ -176,6 +201,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsResponseOutput) To return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. Settings used to create a CMEK crypto key. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsResponseOutput) KmsSettings() GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponseOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadCJISSettingsResponse) GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponse { @@ -206,6 +237,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyCon return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponse]{ + OutputState: o.OutputState, + } +} + // Constraint name of the org policy control Example: constraints/gcp.resourcelocations func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponseOutput) Constraint() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponse) string { @@ -234,6 +271,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyCon return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponse] { + return pulumix.Output[[]GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponse { return vs[0].([]GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponse)[vs[1].(int)] @@ -261,6 +304,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsResponseOutp return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsResponse]{ + OutputState: o.OutputState, + } +} + // Org policies currently applied by this Assured Workload func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsResponseOutput) AppliedOrgPolicies() GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponseArrayOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsResponse) []GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControlsOrgPolicyControlResponse { @@ -291,6 +340,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatusResponseOutput return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatusResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Count of active Violations which are acknowledged in the Workload. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatusResponseOutput) AcknowledgedViolationCount() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatusResponse) int { @@ -348,6 +403,12 @@ func (i GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseArgs) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseOutput) } +func (i GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseArgs) ToGoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrOutput() GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrOutput { return i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrOutputWithContext(context.Background()) } @@ -389,6 +450,12 @@ func (i *googleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrTyp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrOutput) } +func (i *googleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrOutputWithContext(ctx).OutputState, + } +} + // External key management systems(EKM) Provisioning response type GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseOutput struct{ *pulumi.OutputState } @@ -414,6 +481,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseOutput) }).(GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse]{ + OutputState: o.OutputState, + } +} + // Indicates Ekm provisioning error if any. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseOutput) EkmProvisioningErrorDomain() GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomainPtrOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse) *GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseEkmProvisioningErrorDomain { @@ -449,6 +522,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrOutp return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponsePtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse) GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponse { if v != nil { @@ -514,6 +593,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseRespons return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseResponse]{ + OutputState: o.OutputState, + } +} + // Indicates Ekm provisioning error if any. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseResponseOutput) EkmProvisioningErrorDomain() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadEkmProvisioningResponseResponse) string { @@ -570,6 +655,12 @@ func (i GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsOutput) } +func (i GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsArgs) ToGoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrOutput() GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrOutput { return i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrOutputWithContext(context.Background()) } @@ -611,6 +702,12 @@ func (i *googleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrType) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrOutput) } +func (i *googleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings specific to resources needed for FedRAMP High. type GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsOutput struct{ *pulumi.OutputState } @@ -636,6 +733,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsOutput) ToG }).(GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. Settings used to create a CMEK crypto key. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsOutput) KmsSettings() GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings) *GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings { @@ -657,6 +760,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrOutput) return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsPtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings) GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettings { if v != nil { @@ -698,6 +807,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsResponseOut return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. Settings used to create a CMEK crypto key. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsResponseOutput) KmsSettings() GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponseOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampHighSettingsResponse) GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponse { @@ -740,6 +855,12 @@ func (i GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsArgs) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsOutput) } +func (i GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsArgs) ToGoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrOutput() GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrOutput { return i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrOutputWithContext(context.Background()) } @@ -781,6 +902,12 @@ func (i *googleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrTyp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrOutput) } +func (i *googleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings specific to resources needed for FedRAMP Moderate. type GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsOutput struct{ *pulumi.OutputState } @@ -806,6 +933,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsOutput) }).(GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. Settings used to create a CMEK crypto key. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsOutput) KmsSettings() GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings) *GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings { @@ -827,6 +960,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrOutp return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsPtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings) GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettings { if v != nil { @@ -868,6 +1007,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsRespons return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. Settings used to create a CMEK crypto key. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsResponseOutput) KmsSettings() GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponseOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadFedrampModerateSettingsResponse) GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponse { @@ -910,6 +1055,12 @@ func (i GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsOutput) } +func (i GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsArgs) ToGoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrOutput() GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrOutput { return i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrOutputWithContext(context.Background()) } @@ -951,6 +1102,12 @@ func (i *googleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrOutput) } +func (i *googleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings specific to resources needed for IL4. type GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsOutput struct{ *pulumi.OutputState } @@ -976,6 +1133,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsOutput) ToGoogleClo }).(GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. Settings used to create a CMEK crypto key. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsOutput) KmsSettings() GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings) *GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings { @@ -997,6 +1160,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrOutput) ToGoogle return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsPtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings) GoogleCloudAssuredworkloadsV1beta1WorkloadIL4Settings { if v != nil { @@ -1038,6 +1207,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsResponseOutput) ToG return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. Settings used to create a CMEK crypto key. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsResponseOutput) KmsSettings() GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponseOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadIL4SettingsResponse) GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponse { @@ -1084,6 +1259,12 @@ func (i GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsOutput) } +func (i GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsArgs) ToGoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput() GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput { return i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutputWithContext(context.Background()) } @@ -1125,6 +1306,12 @@ func (i *googleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput) } +func (i *googleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings specific to the Key Management Service. type GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsOutput struct{ *pulumi.OutputState } @@ -1150,6 +1337,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsOutput) ToGoogleClo }).(GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsOutput) NextRotationTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings) string { return v.NextRotationTime }).(pulumi.StringOutput) @@ -1174,6 +1367,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput) ToGoogle return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsPtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings) GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings { if v != nil { @@ -1227,6 +1426,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponseOutput) ToG return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponseOutput) NextRotationTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettingsResponse) string { @@ -1278,6 +1483,12 @@ func (i GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsArgs) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsOutput) } +func (i GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsArgs) ToGoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrOutput() GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrOutput { return i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrOutputWithContext(context.Background()) } @@ -1319,6 +1530,12 @@ func (i *googleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrType) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrOutput) } +func (i *googleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrOutputWithContext(ctx).OutputState, + } +} + // Permissions granted to the AW Partner SA account for the customer workload type GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsOutput struct{ *pulumi.OutputState } @@ -1344,6 +1561,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsOutput) ToGo }).(GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrOutput) } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions]{ + OutputState: o.OutputState, + } +} + // Allow the partner to view inspectability logs and monitoring violations. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsOutput) DataLogsViewer() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions) *bool { return v.DataLogsViewer }).(pulumi.BoolPtrOutput) @@ -1370,6 +1593,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrOutput) T return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions] { + return pulumix.Output[*GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsPtrOutput) Elem() GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsOutput { return o.ApplyT(func(v *GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions) GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions { if v != nil { @@ -1423,6 +1652,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsResponseOutp return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsResponse]{ + OutputState: o.OutputState, + } +} + // Allow the partner to view inspectability logs and monitoring violations. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsResponseOutput) DataLogsViewer() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissionsResponse) bool { @@ -1460,6 +1695,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponseOutput) To return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Resource identifier. For a project this represents project_number. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponseOutput) ResourceId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponse) string { return v.ResourceId }).(pulumi.StringOutput) @@ -1484,6 +1725,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponseArrayOutpu return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponse] { + return pulumix.Output[[]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponse { return vs[0].([]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfoResponse)[vs[1].(int)] @@ -1533,6 +1780,12 @@ func (i GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArgs) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsOutput) } +func (i GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArrayInput is an input type that accepts GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArray and GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArrayOutput values. // You can construct a concrete instance of `GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArrayInput` via: // @@ -1558,6 +1811,12 @@ func (i GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArray) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArrayOutput) } +func (i GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings] { + return pulumix.Output[[]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings]{ + OutputState: i.ToGoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArrayOutputWithContext(ctx).OutputState, + } +} + // Represent the custom settings for the resources to be created. type GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsOutput struct{ *pulumi.OutputState } @@ -1573,6 +1832,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsOutput) ToGoog return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings]{ + OutputState: o.OutputState, + } +} + // User-assigned resource display name. If not empty it will be used to create a resource with the specified name. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings) *string { return v.DisplayName }).(pulumi.StringPtrOutput) @@ -1604,6 +1869,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArrayOutput) T return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings] { + return pulumix.Output[[]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsArrayOutput) Index(i pulumi.IntInput) GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings { return vs[0].([]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings)[vs[1].(int)] @@ -1635,6 +1906,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponseOutput return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponse]{ + OutputState: o.OutputState, + } +} + // User-assigned resource display name. If not empty it will be used to create a resource with the specified name. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponse) string { @@ -1668,6 +1945,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponseArrayO return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponse] { + return pulumix.Output[[]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponse { return vs[0].([]GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettingsResponse)[vs[1].(int)] @@ -1697,6 +1980,12 @@ func (o GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponseResponseO return o } +func (o GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponseResponse] { + return pulumix.Output[GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponseResponse]{ + OutputState: o.OutputState, + } +} + // Indicates SAA enrollment setup error if any. func (o GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponseResponseOutput) SetupErrors() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponseResponse) []string { diff --git a/sdk/go/google/assuredworkloads/v1beta1/workload.go b/sdk/go/google/assuredworkloads/v1beta1/workload.go index 6e35ea7a8c..8efec2cf5f 100644 --- a/sdk/go/google/assuredworkloads/v1beta1/workload.go +++ b/sdk/go/google/assuredworkloads/v1beta1/workload.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates Assured Workload. @@ -241,6 +242,12 @@ func (i *Workload) ToWorkloadOutputWithContext(ctx context.Context) WorkloadOutp return pulumi.ToOutputWithContext(ctx, i).(WorkloadOutput) } +func (i *Workload) ToOutput(ctx context.Context) pulumix.Output[*Workload] { + return pulumix.Output[*Workload]{ + OutputState: i.ToWorkloadOutputWithContext(ctx).OutputState, + } +} + type WorkloadOutput struct{ *pulumi.OutputState } func (WorkloadOutput) ElementType() reflect.Type { @@ -255,6 +262,12 @@ func (o WorkloadOutput) ToWorkloadOutputWithContext(ctx context.Context) Workloa return o } +func (o WorkloadOutput) ToOutput(ctx context.Context) pulumix.Output[*Workload] { + return pulumix.Output[*Workload]{ + OutputState: o.OutputState, + } +} + // Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF`. func (o WorkloadOutput) BillingAccount() pulumi.StringOutput { return o.ApplyT(func(v *Workload) pulumi.StringOutput { return v.BillingAccount }).(pulumi.StringOutput) diff --git a/sdk/go/google/baremetalsolution/v2/getInstance.go b/sdk/go/google/baremetalsolution/v2/getInstance.go index 42f8c07558..03beec41f6 100644 --- a/sdk/go/google/baremetalsolution/v2/getInstance.go +++ b/sdk/go/google/baremetalsolution/v2/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get details about a single server. @@ -104,6 +105,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // Create a time stamp. func (o LookupInstanceResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/baremetalsolution/v2/getNfsShare.go b/sdk/go/google/baremetalsolution/v2/getNfsShare.go index 485e3fd730..67ab1507cf 100644 --- a/sdk/go/google/baremetalsolution/v2/getNfsShare.go +++ b/sdk/go/google/baremetalsolution/v2/getNfsShare.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get details of a single NFS share. @@ -84,6 +85,12 @@ func (o LookupNfsShareResultOutput) ToLookupNfsShareResultOutputWithContext(ctx return o } +func (o LookupNfsShareResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNfsShareResult] { + return pulumix.Output[LookupNfsShareResult]{ + OutputState: o.OutputState, + } +} + // List of allowed access points. func (o LookupNfsShareResultOutput) AllowedClients() AllowedClientResponseArrayOutput { return o.ApplyT(func(v LookupNfsShareResult) []AllowedClientResponse { return v.AllowedClients }).(AllowedClientResponseArrayOutput) diff --git a/sdk/go/google/baremetalsolution/v2/getProvisioningConfig.go b/sdk/go/google/baremetalsolution/v2/getProvisioningConfig.go index 65a276e0b4..ad22b2059f 100644 --- a/sdk/go/google/baremetalsolution/v2/getProvisioningConfig.go +++ b/sdk/go/google/baremetalsolution/v2/getProvisioningConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get ProvisioningConfig by name. @@ -98,6 +99,12 @@ func (o LookupProvisioningConfigResultOutput) ToLookupProvisioningConfigResultOu return o } +func (o LookupProvisioningConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProvisioningConfigResult] { + return pulumix.Output[LookupProvisioningConfigResult]{ + OutputState: o.OutputState, + } +} + // URI to Cloud Console UI view of this provisioning config. func (o LookupProvisioningConfigResultOutput) CloudConsoleUri() pulumi.StringOutput { return o.ApplyT(func(v LookupProvisioningConfigResult) string { return v.CloudConsoleUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/baremetalsolution/v2/getSnapshot.go b/sdk/go/google/baremetalsolution/v2/getSnapshot.go index 573b728fa2..af47943f5b 100644 --- a/sdk/go/google/baremetalsolution/v2/getSnapshot.go +++ b/sdk/go/google/baremetalsolution/v2/getSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume. @@ -80,6 +81,12 @@ func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx return o } +func (o LookupSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotResult] { + return pulumix.Output[LookupSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The creation time of the snapshot. func (o LookupSnapshotResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupSnapshotResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/baremetalsolution/v2/instance.go b/sdk/go/google/baremetalsolution/v2/instance.go index 6e353c31d8..1fc4a96807 100644 --- a/sdk/go/google/baremetalsolution/v2/instance.go +++ b/sdk/go/google/baremetalsolution/v2/instance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an Instance. @@ -179,6 +180,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -193,6 +200,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // Create a time stamp. func (o InstanceOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/baremetalsolution/v2/nfsShare.go b/sdk/go/google/baremetalsolution/v2/nfsShare.go index 76fdac52bc..9278279d40 100644 --- a/sdk/go/google/baremetalsolution/v2/nfsShare.go +++ b/sdk/go/google/baremetalsolution/v2/nfsShare.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an NFS share. @@ -133,6 +134,12 @@ func (i *NfsShare) ToNfsShareOutputWithContext(ctx context.Context) NfsShareOutp return pulumi.ToOutputWithContext(ctx, i).(NfsShareOutput) } +func (i *NfsShare) ToOutput(ctx context.Context) pulumix.Output[*NfsShare] { + return pulumix.Output[*NfsShare]{ + OutputState: i.ToNfsShareOutputWithContext(ctx).OutputState, + } +} + type NfsShareOutput struct{ *pulumi.OutputState } func (NfsShareOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o NfsShareOutput) ToNfsShareOutputWithContext(ctx context.Context) NfsShar return o } +func (o NfsShareOutput) ToOutput(ctx context.Context) pulumix.Output[*NfsShare] { + return pulumix.Output[*NfsShare]{ + OutputState: o.OutputState, + } +} + // List of allowed access points. func (o NfsShareOutput) AllowedClients() AllowedClientResponseArrayOutput { return o.ApplyT(func(v *NfsShare) AllowedClientResponseArrayOutput { return v.AllowedClients }).(AllowedClientResponseArrayOutput) diff --git a/sdk/go/google/baremetalsolution/v2/provisioningConfig.go b/sdk/go/google/baremetalsolution/v2/provisioningConfig.go index d08add4ccc..be8f2d6059 100644 --- a/sdk/go/google/baremetalsolution/v2/provisioningConfig.go +++ b/sdk/go/google/baremetalsolution/v2/provisioningConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create new ProvisioningConfig. @@ -168,6 +169,12 @@ func (i *ProvisioningConfig) ToProvisioningConfigOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ProvisioningConfigOutput) } +func (i *ProvisioningConfig) ToOutput(ctx context.Context) pulumix.Output[*ProvisioningConfig] { + return pulumix.Output[*ProvisioningConfig]{ + OutputState: i.ToProvisioningConfigOutputWithContext(ctx).OutputState, + } +} + type ProvisioningConfigOutput struct{ *pulumi.OutputState } func (ProvisioningConfigOutput) ElementType() reflect.Type { @@ -182,6 +189,12 @@ func (o ProvisioningConfigOutput) ToProvisioningConfigOutputWithContext(ctx cont return o } +func (o ProvisioningConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ProvisioningConfig] { + return pulumix.Output[*ProvisioningConfig]{ + OutputState: o.OutputState, + } +} + // URI to Cloud Console UI view of this provisioning config. func (o ProvisioningConfigOutput) CloudConsoleUri() pulumi.StringOutput { return o.ApplyT(func(v *ProvisioningConfig) pulumi.StringOutput { return v.CloudConsoleUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/baremetalsolution/v2/pulumiEnums.go b/sdk/go/google/baremetalsolution/v2/pulumiEnums.go index 61726dc199..86c28b8241 100644 --- a/sdk/go/google/baremetalsolution/v2/pulumiEnums.go +++ b/sdk/go/google/baremetalsolution/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Mount permissions. @@ -82,6 +83,12 @@ func (o AllowedClientMountPermissionsOutput) ToAllowedClientMountPermissionsPtrO }).(AllowedClientMountPermissionsPtrOutput) } +func (o AllowedClientMountPermissionsOutput) ToOutput(ctx context.Context) pulumix.Output[AllowedClientMountPermissions] { + return pulumix.Output[AllowedClientMountPermissions]{ + OutputState: o.OutputState, + } +} + func (o AllowedClientMountPermissionsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o AllowedClientMountPermissionsPtrOutput) ToAllowedClientMountPermissionsP return o } +func (o AllowedClientMountPermissionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllowedClientMountPermissions] { + return pulumix.Output[*AllowedClientMountPermissions]{ + OutputState: o.OutputState, + } +} + func (o AllowedClientMountPermissionsPtrOutput) Elem() AllowedClientMountPermissionsOutput { return o.ApplyT(func(v *AllowedClientMountPermissions) AllowedClientMountPermissions { if v != nil { @@ -179,6 +192,12 @@ func (in *allowedClientMountPermissionsPtr) ToAllowedClientMountPermissionsPtrOu return pulumi.ToOutputWithContext(ctx, in).(AllowedClientMountPermissionsPtrOutput) } +func (in *allowedClientMountPermissionsPtr) ToOutput(ctx context.Context) pulumix.Output[*AllowedClientMountPermissions] { + return pulumix.Output[*AllowedClientMountPermissions]{ + OutputState: in.ToAllowedClientMountPermissionsPtrOutputWithContext(ctx).OutputState, + } +} + // The type of network configuration on the instance. type InstanceConfigNetworkConfig string @@ -251,6 +270,12 @@ func (o InstanceConfigNetworkConfigOutput) ToInstanceConfigNetworkConfigPtrOutpu }).(InstanceConfigNetworkConfigPtrOutput) } +func (o InstanceConfigNetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceConfigNetworkConfig] { + return pulumix.Output[InstanceConfigNetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o InstanceConfigNetworkConfigOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o InstanceConfigNetworkConfigPtrOutput) ToInstanceConfigNetworkConfigPtrOu return o } +func (o InstanceConfigNetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceConfigNetworkConfig] { + return pulumix.Output[*InstanceConfigNetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o InstanceConfigNetworkConfigPtrOutput) Elem() InstanceConfigNetworkConfigOutput { return o.ApplyT(func(v *InstanceConfigNetworkConfig) InstanceConfigNetworkConfig { if v != nil { @@ -348,6 +379,12 @@ func (in *instanceConfigNetworkConfigPtr) ToInstanceConfigNetworkConfigPtrOutput return pulumi.ToOutputWithContext(ctx, in).(InstanceConfigNetworkConfigPtrOutput) } +func (in *instanceConfigNetworkConfigPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceConfigNetworkConfig] { + return pulumix.Output[*InstanceConfigNetworkConfig]{ + OutputState: in.ToInstanceConfigNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The workload profile for the instance. type InstanceWorkloadProfile string @@ -420,6 +457,12 @@ func (o InstanceWorkloadProfileOutput) ToInstanceWorkloadProfilePtrOutputWithCon }).(InstanceWorkloadProfilePtrOutput) } +func (o InstanceWorkloadProfileOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceWorkloadProfile] { + return pulumix.Output[InstanceWorkloadProfile]{ + OutputState: o.OutputState, + } +} + func (o InstanceWorkloadProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o InstanceWorkloadProfilePtrOutput) ToInstanceWorkloadProfilePtrOutputWith return o } +func (o InstanceWorkloadProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceWorkloadProfile] { + return pulumix.Output[*InstanceWorkloadProfile]{ + OutputState: o.OutputState, + } +} + func (o InstanceWorkloadProfilePtrOutput) Elem() InstanceWorkloadProfileOutput { return o.ApplyT(func(v *InstanceWorkloadProfile) InstanceWorkloadProfile { if v != nil { @@ -517,6 +566,12 @@ func (in *instanceWorkloadProfilePtr) ToInstanceWorkloadProfilePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(InstanceWorkloadProfilePtrOutput) } +func (in *instanceWorkloadProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceWorkloadProfile] { + return pulumix.Output[*InstanceWorkloadProfile]{ + OutputState: in.ToInstanceWorkloadProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Type of network. type LogicalNetworkInterfaceNetworkType string @@ -589,6 +644,12 @@ func (o LogicalNetworkInterfaceNetworkTypeOutput) ToLogicalNetworkInterfaceNetwo }).(LogicalNetworkInterfaceNetworkTypePtrOutput) } +func (o LogicalNetworkInterfaceNetworkTypeOutput) ToOutput(ctx context.Context) pulumix.Output[LogicalNetworkInterfaceNetworkType] { + return pulumix.Output[LogicalNetworkInterfaceNetworkType]{ + OutputState: o.OutputState, + } +} + func (o LogicalNetworkInterfaceNetworkTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -624,6 +685,12 @@ func (o LogicalNetworkInterfaceNetworkTypePtrOutput) ToLogicalNetworkInterfaceNe return o } +func (o LogicalNetworkInterfaceNetworkTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogicalNetworkInterfaceNetworkType] { + return pulumix.Output[*LogicalNetworkInterfaceNetworkType]{ + OutputState: o.OutputState, + } +} + func (o LogicalNetworkInterfaceNetworkTypePtrOutput) Elem() LogicalNetworkInterfaceNetworkTypeOutput { return o.ApplyT(func(v *LogicalNetworkInterfaceNetworkType) LogicalNetworkInterfaceNetworkType { if v != nil { @@ -686,6 +753,12 @@ func (in *logicalNetworkInterfaceNetworkTypePtr) ToLogicalNetworkInterfaceNetwor return pulumi.ToOutputWithContext(ctx, in).(LogicalNetworkInterfaceNetworkTypePtrOutput) } +func (in *logicalNetworkInterfaceNetworkTypePtr) ToOutput(ctx context.Context) pulumix.Output[*LogicalNetworkInterfaceNetworkType] { + return pulumix.Output[*LogicalNetworkInterfaceNetworkType]{ + OutputState: in.ToLogicalNetworkInterfaceNetworkTypePtrOutputWithContext(ctx).OutputState, + } +} + // The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system. type LunMultiprotocolType string @@ -756,6 +829,12 @@ func (o LunMultiprotocolTypeOutput) ToLunMultiprotocolTypePtrOutputWithContext(c }).(LunMultiprotocolTypePtrOutput) } +func (o LunMultiprotocolTypeOutput) ToOutput(ctx context.Context) pulumix.Output[LunMultiprotocolType] { + return pulumix.Output[LunMultiprotocolType]{ + OutputState: o.OutputState, + } +} + func (o LunMultiprotocolTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -791,6 +870,12 @@ func (o LunMultiprotocolTypePtrOutput) ToLunMultiprotocolTypePtrOutputWithContex return o } +func (o LunMultiprotocolTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LunMultiprotocolType] { + return pulumix.Output[*LunMultiprotocolType]{ + OutputState: o.OutputState, + } +} + func (o LunMultiprotocolTypePtrOutput) Elem() LunMultiprotocolTypeOutput { return o.ApplyT(func(v *LunMultiprotocolType) LunMultiprotocolType { if v != nil { @@ -853,6 +938,12 @@ func (in *lunMultiprotocolTypePtr) ToLunMultiprotocolTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(LunMultiprotocolTypePtrOutput) } +func (in *lunMultiprotocolTypePtr) ToOutput(ctx context.Context) pulumix.Output[*LunMultiprotocolType] { + return pulumix.Output[*LunMultiprotocolType]{ + OutputState: in.ToLunMultiprotocolTypePtrOutputWithContext(ctx).OutputState, + } +} + // The state of this storage volume. type LunState string @@ -931,6 +1022,12 @@ func (o LunStateOutput) ToLunStatePtrOutputWithContext(ctx context.Context) LunS }).(LunStatePtrOutput) } +func (o LunStateOutput) ToOutput(ctx context.Context) pulumix.Output[LunState] { + return pulumix.Output[LunState]{ + OutputState: o.OutputState, + } +} + func (o LunStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -966,6 +1063,12 @@ func (o LunStatePtrOutput) ToLunStatePtrOutputWithContext(ctx context.Context) L return o } +func (o LunStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LunState] { + return pulumix.Output[*LunState]{ + OutputState: o.OutputState, + } +} + func (o LunStatePtrOutput) Elem() LunStateOutput { return o.ApplyT(func(v *LunState) LunState { if v != nil { @@ -1028,6 +1131,12 @@ func (in *lunStatePtr) ToLunStatePtrOutputWithContext(ctx context.Context) LunSt return pulumi.ToOutputWithContext(ctx, in).(LunStatePtrOutput) } +func (in *lunStatePtr) ToOutput(ctx context.Context) pulumix.Output[*LunState] { + return pulumix.Output[*LunState]{ + OutputState: in.ToLunStatePtrOutputWithContext(ctx).OutputState, + } +} + // The storage type for this LUN. type LunStorageType string @@ -1100,6 +1209,12 @@ func (o LunStorageTypeOutput) ToLunStorageTypePtrOutputWithContext(ctx context.C }).(LunStorageTypePtrOutput) } +func (o LunStorageTypeOutput) ToOutput(ctx context.Context) pulumix.Output[LunStorageType] { + return pulumix.Output[LunStorageType]{ + OutputState: o.OutputState, + } +} + func (o LunStorageTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1135,6 +1250,12 @@ func (o LunStorageTypePtrOutput) ToLunStorageTypePtrOutputWithContext(ctx contex return o } +func (o LunStorageTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LunStorageType] { + return pulumix.Output[*LunStorageType]{ + OutputState: o.OutputState, + } +} + func (o LunStorageTypePtrOutput) Elem() LunStorageTypeOutput { return o.ApplyT(func(v *LunStorageType) LunStorageType { if v != nil { @@ -1197,6 +1318,12 @@ func (in *lunStorageTypePtr) ToLunStorageTypePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(LunStorageTypePtrOutput) } +func (in *lunStorageTypePtr) ToOutput(ctx context.Context) pulumix.Output[*LunStorageType] { + return pulumix.Output[*LunStorageType]{ + OutputState: in.ToLunStorageTypePtrOutputWithContext(ctx).OutputState, + } +} + // Interconnect bandwidth. Set only when type is CLIENT. type NetworkConfigBandwidth string @@ -1273,6 +1400,12 @@ func (o NetworkConfigBandwidthOutput) ToNetworkConfigBandwidthPtrOutputWithConte }).(NetworkConfigBandwidthPtrOutput) } +func (o NetworkConfigBandwidthOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigBandwidth] { + return pulumix.Output[NetworkConfigBandwidth]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigBandwidthOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1308,6 +1441,12 @@ func (o NetworkConfigBandwidthPtrOutput) ToNetworkConfigBandwidthPtrOutputWithCo return o } +func (o NetworkConfigBandwidthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigBandwidth] { + return pulumix.Output[*NetworkConfigBandwidth]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigBandwidthPtrOutput) Elem() NetworkConfigBandwidthOutput { return o.ApplyT(func(v *NetworkConfigBandwidth) NetworkConfigBandwidth { if v != nil { @@ -1370,6 +1509,12 @@ func (in *networkConfigBandwidthPtr) ToNetworkConfigBandwidthPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigBandwidthPtrOutput) } +func (in *networkConfigBandwidthPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigBandwidth] { + return pulumix.Output[*NetworkConfigBandwidth]{ + OutputState: in.ToNetworkConfigBandwidthPtrOutputWithContext(ctx).OutputState, + } +} + // Service CIDR, if any. type NetworkConfigServiceCidr string @@ -1446,6 +1591,12 @@ func (o NetworkConfigServiceCidrOutput) ToNetworkConfigServiceCidrPtrOutputWithC }).(NetworkConfigServiceCidrPtrOutput) } +func (o NetworkConfigServiceCidrOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigServiceCidr] { + return pulumix.Output[NetworkConfigServiceCidr]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigServiceCidrOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1481,6 +1632,12 @@ func (o NetworkConfigServiceCidrPtrOutput) ToNetworkConfigServiceCidrPtrOutputWi return o } +func (o NetworkConfigServiceCidrPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigServiceCidr] { + return pulumix.Output[*NetworkConfigServiceCidr]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigServiceCidrPtrOutput) Elem() NetworkConfigServiceCidrOutput { return o.ApplyT(func(v *NetworkConfigServiceCidr) NetworkConfigServiceCidr { if v != nil { @@ -1543,6 +1700,12 @@ func (in *networkConfigServiceCidrPtr) ToNetworkConfigServiceCidrPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigServiceCidrPtrOutput) } +func (in *networkConfigServiceCidrPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigServiceCidr] { + return pulumix.Output[*NetworkConfigServiceCidr]{ + OutputState: in.ToNetworkConfigServiceCidrPtrOutputWithContext(ctx).OutputState, + } +} + // The type of this network, either Client or Private. type NetworkConfigType string @@ -1615,6 +1778,12 @@ func (o NetworkConfigTypeOutput) ToNetworkConfigTypePtrOutputWithContext(ctx con }).(NetworkConfigTypePtrOutput) } +func (o NetworkConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigType] { + return pulumix.Output[NetworkConfigType]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1650,6 +1819,12 @@ func (o NetworkConfigTypePtrOutput) ToNetworkConfigTypePtrOutputWithContext(ctx return o } +func (o NetworkConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigType] { + return pulumix.Output[*NetworkConfigType]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigTypePtrOutput) Elem() NetworkConfigTypeOutput { return o.ApplyT(func(v *NetworkConfigType) NetworkConfigType { if v != nil { @@ -1712,6 +1887,12 @@ func (in *networkConfigTypePtr) ToNetworkConfigTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigTypePtrOutput) } +func (in *networkConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigType] { + return pulumix.Output[*NetworkConfigType]{ + OutputState: in.ToNetworkConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // Export permissions. type NfsExportPermissions string @@ -1784,6 +1965,12 @@ func (o NfsExportPermissionsOutput) ToNfsExportPermissionsPtrOutputWithContext(c }).(NfsExportPermissionsPtrOutput) } +func (o NfsExportPermissionsOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportPermissions] { + return pulumix.Output[NfsExportPermissions]{ + OutputState: o.OutputState, + } +} + func (o NfsExportPermissionsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1819,6 +2006,12 @@ func (o NfsExportPermissionsPtrOutput) ToNfsExportPermissionsPtrOutputWithContex return o } +func (o NfsExportPermissionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NfsExportPermissions] { + return pulumix.Output[*NfsExportPermissions]{ + OutputState: o.OutputState, + } +} + func (o NfsExportPermissionsPtrOutput) Elem() NfsExportPermissionsOutput { return o.ApplyT(func(v *NfsExportPermissions) NfsExportPermissions { if v != nil { @@ -1881,6 +2074,12 @@ func (in *nfsExportPermissionsPtr) ToNfsExportPermissionsPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(NfsExportPermissionsPtrOutput) } +func (in *nfsExportPermissionsPtr) ToOutput(ctx context.Context) pulumix.Output[*NfsExportPermissions] { + return pulumix.Output[*NfsExportPermissions]{ + OutputState: in.ToNfsExportPermissionsPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The storage type of the underlying volume. type NfsShareStorageType string @@ -1953,6 +2152,12 @@ func (o NfsShareStorageTypeOutput) ToNfsShareStorageTypePtrOutputWithContext(ctx }).(NfsShareStorageTypePtrOutput) } +func (o NfsShareStorageTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NfsShareStorageType] { + return pulumix.Output[NfsShareStorageType]{ + OutputState: o.OutputState, + } +} + func (o NfsShareStorageTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1988,6 +2193,12 @@ func (o NfsShareStorageTypePtrOutput) ToNfsShareStorageTypePtrOutputWithContext( return o } +func (o NfsShareStorageTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NfsShareStorageType] { + return pulumix.Output[*NfsShareStorageType]{ + OutputState: o.OutputState, + } +} + func (o NfsShareStorageTypePtrOutput) Elem() NfsShareStorageTypeOutput { return o.ApplyT(func(v *NfsShareStorageType) NfsShareStorageType { if v != nil { @@ -2050,6 +2261,12 @@ func (in *nfsShareStorageTypePtr) ToNfsShareStorageTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(NfsShareStorageTypePtrOutput) } +func (in *nfsShareStorageTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NfsShareStorageType] { + return pulumix.Output[*NfsShareStorageType]{ + OutputState: in.ToNfsShareStorageTypePtrOutputWithContext(ctx).OutputState, + } +} + // Performance tier of the Volume. Default is SHARED. type VolumeConfigPerformanceTier string @@ -2124,6 +2341,12 @@ func (o VolumeConfigPerformanceTierOutput) ToVolumeConfigPerformanceTierPtrOutpu }).(VolumeConfigPerformanceTierPtrOutput) } +func (o VolumeConfigPerformanceTierOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeConfigPerformanceTier] { + return pulumix.Output[VolumeConfigPerformanceTier]{ + OutputState: o.OutputState, + } +} + func (o VolumeConfigPerformanceTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2159,6 +2382,12 @@ func (o VolumeConfigPerformanceTierPtrOutput) ToVolumeConfigPerformanceTierPtrOu return o } +func (o VolumeConfigPerformanceTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VolumeConfigPerformanceTier] { + return pulumix.Output[*VolumeConfigPerformanceTier]{ + OutputState: o.OutputState, + } +} + func (o VolumeConfigPerformanceTierPtrOutput) Elem() VolumeConfigPerformanceTierOutput { return o.ApplyT(func(v *VolumeConfigPerformanceTier) VolumeConfigPerformanceTier { if v != nil { @@ -2221,6 +2450,12 @@ func (in *volumeConfigPerformanceTierPtr) ToVolumeConfigPerformanceTierPtrOutput return pulumi.ToOutputWithContext(ctx, in).(VolumeConfigPerformanceTierPtrOutput) } +func (in *volumeConfigPerformanceTierPtr) ToOutput(ctx context.Context) pulumix.Output[*VolumeConfigPerformanceTier] { + return pulumix.Output[*VolumeConfigPerformanceTier]{ + OutputState: in.ToVolumeConfigPerformanceTierPtrOutputWithContext(ctx).OutputState, + } +} + // Volume protocol. type VolumeConfigProtocol string @@ -2293,6 +2528,12 @@ func (o VolumeConfigProtocolOutput) ToVolumeConfigProtocolPtrOutputWithContext(c }).(VolumeConfigProtocolPtrOutput) } +func (o VolumeConfigProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeConfigProtocol] { + return pulumix.Output[VolumeConfigProtocol]{ + OutputState: o.OutputState, + } +} + func (o VolumeConfigProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2328,6 +2569,12 @@ func (o VolumeConfigProtocolPtrOutput) ToVolumeConfigProtocolPtrOutputWithContex return o } +func (o VolumeConfigProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VolumeConfigProtocol] { + return pulumix.Output[*VolumeConfigProtocol]{ + OutputState: o.OutputState, + } +} + func (o VolumeConfigProtocolPtrOutput) Elem() VolumeConfigProtocolOutput { return o.ApplyT(func(v *VolumeConfigProtocol) VolumeConfigProtocol { if v != nil { @@ -2390,6 +2637,12 @@ func (in *volumeConfigProtocolPtr) ToVolumeConfigProtocolPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(VolumeConfigProtocolPtrOutput) } +func (in *volumeConfigProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*VolumeConfigProtocol] { + return pulumix.Output[*VolumeConfigProtocol]{ + OutputState: in.ToVolumeConfigProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The type of this Volume. type VolumeConfigType string @@ -2462,6 +2715,12 @@ func (o VolumeConfigTypeOutput) ToVolumeConfigTypePtrOutputWithContext(ctx conte }).(VolumeConfigTypePtrOutput) } +func (o VolumeConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeConfigType] { + return pulumix.Output[VolumeConfigType]{ + OutputState: o.OutputState, + } +} + func (o VolumeConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2497,6 +2756,12 @@ func (o VolumeConfigTypePtrOutput) ToVolumeConfigTypePtrOutputWithContext(ctx co return o } +func (o VolumeConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VolumeConfigType] { + return pulumix.Output[*VolumeConfigType]{ + OutputState: o.OutputState, + } +} + func (o VolumeConfigTypePtrOutput) Elem() VolumeConfigTypeOutput { return o.ApplyT(func(v *VolumeConfigType) VolumeConfigType { if v != nil { @@ -2559,6 +2824,12 @@ func (in *volumeConfigTypePtr) ToVolumeConfigTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(VolumeConfigTypePtrOutput) } +func (in *volumeConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*VolumeConfigType] { + return pulumix.Output[*VolumeConfigType]{ + OutputState: in.ToVolumeConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. Performance tier of the Volume. Default is SHARED. type VolumePerformanceTier string @@ -2633,6 +2904,12 @@ func (o VolumePerformanceTierOutput) ToVolumePerformanceTierPtrOutputWithContext }).(VolumePerformanceTierPtrOutput) } +func (o VolumePerformanceTierOutput) ToOutput(ctx context.Context) pulumix.Output[VolumePerformanceTier] { + return pulumix.Output[VolumePerformanceTier]{ + OutputState: o.OutputState, + } +} + func (o VolumePerformanceTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2668,6 +2945,12 @@ func (o VolumePerformanceTierPtrOutput) ToVolumePerformanceTierPtrOutputWithCont return o } +func (o VolumePerformanceTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VolumePerformanceTier] { + return pulumix.Output[*VolumePerformanceTier]{ + OutputState: o.OutputState, + } +} + func (o VolumePerformanceTierPtrOutput) Elem() VolumePerformanceTierOutput { return o.ApplyT(func(v *VolumePerformanceTier) VolumePerformanceTier { if v != nil { @@ -2730,6 +3013,12 @@ func (in *volumePerformanceTierPtr) ToVolumePerformanceTierPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(VolumePerformanceTierPtrOutput) } +func (in *volumePerformanceTierPtr) ToOutput(ctx context.Context) pulumix.Output[*VolumePerformanceTier] { + return pulumix.Output[*VolumePerformanceTier]{ + OutputState: in.ToVolumePerformanceTierPtrOutputWithContext(ctx).OutputState, + } +} + // The behavior to use when snapshot reserved space is full. type VolumeSnapshotAutoDeleteBehavior string @@ -2804,6 +3093,12 @@ func (o VolumeSnapshotAutoDeleteBehaviorOutput) ToVolumeSnapshotAutoDeleteBehavi }).(VolumeSnapshotAutoDeleteBehaviorPtrOutput) } +func (o VolumeSnapshotAutoDeleteBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeSnapshotAutoDeleteBehavior] { + return pulumix.Output[VolumeSnapshotAutoDeleteBehavior]{ + OutputState: o.OutputState, + } +} + func (o VolumeSnapshotAutoDeleteBehaviorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2839,6 +3134,12 @@ func (o VolumeSnapshotAutoDeleteBehaviorPtrOutput) ToVolumeSnapshotAutoDeleteBeh return o } +func (o VolumeSnapshotAutoDeleteBehaviorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VolumeSnapshotAutoDeleteBehavior] { + return pulumix.Output[*VolumeSnapshotAutoDeleteBehavior]{ + OutputState: o.OutputState, + } +} + func (o VolumeSnapshotAutoDeleteBehaviorPtrOutput) Elem() VolumeSnapshotAutoDeleteBehaviorOutput { return o.ApplyT(func(v *VolumeSnapshotAutoDeleteBehavior) VolumeSnapshotAutoDeleteBehavior { if v != nil { @@ -2901,6 +3202,12 @@ func (in *volumeSnapshotAutoDeleteBehaviorPtr) ToVolumeSnapshotAutoDeleteBehavio return pulumi.ToOutputWithContext(ctx, in).(VolumeSnapshotAutoDeleteBehaviorPtrOutput) } +func (in *volumeSnapshotAutoDeleteBehaviorPtr) ToOutput(ctx context.Context) pulumix.Output[*VolumeSnapshotAutoDeleteBehavior] { + return pulumix.Output[*VolumeSnapshotAutoDeleteBehavior]{ + OutputState: in.ToVolumeSnapshotAutoDeleteBehaviorPtrOutputWithContext(ctx).OutputState, + } +} + // The state of this storage volume. type VolumeState string @@ -2979,6 +3286,12 @@ func (o VolumeStateOutput) ToVolumeStatePtrOutputWithContext(ctx context.Context }).(VolumeStatePtrOutput) } +func (o VolumeStateOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeState] { + return pulumix.Output[VolumeState]{ + OutputState: o.OutputState, + } +} + func (o VolumeStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3014,6 +3327,12 @@ func (o VolumeStatePtrOutput) ToVolumeStatePtrOutputWithContext(ctx context.Cont return o } +func (o VolumeStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VolumeState] { + return pulumix.Output[*VolumeState]{ + OutputState: o.OutputState, + } +} + func (o VolumeStatePtrOutput) Elem() VolumeStateOutput { return o.ApplyT(func(v *VolumeState) VolumeState { if v != nil { @@ -3076,6 +3395,12 @@ func (in *volumeStatePtr) ToVolumeStatePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(VolumeStatePtrOutput) } +func (in *volumeStatePtr) ToOutput(ctx context.Context) pulumix.Output[*VolumeState] { + return pulumix.Output[*VolumeState]{ + OutputState: in.ToVolumeStatePtrOutputWithContext(ctx).OutputState, + } +} + // The storage type for this volume. type VolumeStorageType string @@ -3148,6 +3473,12 @@ func (o VolumeStorageTypeOutput) ToVolumeStorageTypePtrOutputWithContext(ctx con }).(VolumeStorageTypePtrOutput) } +func (o VolumeStorageTypeOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeStorageType] { + return pulumix.Output[VolumeStorageType]{ + OutputState: o.OutputState, + } +} + func (o VolumeStorageTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3183,6 +3514,12 @@ func (o VolumeStorageTypePtrOutput) ToVolumeStorageTypePtrOutputWithContext(ctx return o } +func (o VolumeStorageTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VolumeStorageType] { + return pulumix.Output[*VolumeStorageType]{ + OutputState: o.OutputState, + } +} + func (o VolumeStorageTypePtrOutput) Elem() VolumeStorageTypeOutput { return o.ApplyT(func(v *VolumeStorageType) VolumeStorageType { if v != nil { @@ -3245,6 +3582,12 @@ func (in *volumeStorageTypePtr) ToVolumeStorageTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(VolumeStorageTypePtrOutput) } +func (in *volumeStorageTypePtr) ToOutput(ctx context.Context) pulumix.Output[*VolumeStorageType] { + return pulumix.Output[*VolumeStorageType]{ + OutputState: in.ToVolumeStorageTypePtrOutputWithContext(ctx).OutputState, + } +} + // The workload profile for the volume. type VolumeWorkloadProfile string @@ -3317,6 +3660,12 @@ func (o VolumeWorkloadProfileOutput) ToVolumeWorkloadProfilePtrOutputWithContext }).(VolumeWorkloadProfilePtrOutput) } +func (o VolumeWorkloadProfileOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeWorkloadProfile] { + return pulumix.Output[VolumeWorkloadProfile]{ + OutputState: o.OutputState, + } +} + func (o VolumeWorkloadProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3352,6 +3701,12 @@ func (o VolumeWorkloadProfilePtrOutput) ToVolumeWorkloadProfilePtrOutputWithCont return o } +func (o VolumeWorkloadProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VolumeWorkloadProfile] { + return pulumix.Output[*VolumeWorkloadProfile]{ + OutputState: o.OutputState, + } +} + func (o VolumeWorkloadProfilePtrOutput) Elem() VolumeWorkloadProfileOutput { return o.ApplyT(func(v *VolumeWorkloadProfile) VolumeWorkloadProfile { if v != nil { @@ -3414,6 +3769,12 @@ func (in *volumeWorkloadProfilePtr) ToVolumeWorkloadProfilePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(VolumeWorkloadProfilePtrOutput) } +func (in *volumeWorkloadProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*VolumeWorkloadProfile] { + return pulumix.Output[*VolumeWorkloadProfile]{ + OutputState: in.ToVolumeWorkloadProfilePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AllowedClientMountPermissionsInput)(nil)).Elem(), AllowedClientMountPermissions("MOUNT_PERMISSIONS_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AllowedClientMountPermissionsPtrInput)(nil)).Elem(), AllowedClientMountPermissions("MOUNT_PERMISSIONS_UNSPECIFIED")) diff --git a/sdk/go/google/baremetalsolution/v2/pulumiTypes.go b/sdk/go/google/baremetalsolution/v2/pulumiTypes.go index fb347579cb..21f16649de 100644 --- a/sdk/go/google/baremetalsolution/v2/pulumiTypes.go +++ b/sdk/go/google/baremetalsolution/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -68,6 +69,12 @@ func (i AllowedClientArgs) ToAllowedClientOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AllowedClientOutput) } +func (i AllowedClientArgs) ToOutput(ctx context.Context) pulumix.Output[AllowedClient] { + return pulumix.Output[AllowedClient]{ + OutputState: i.ToAllowedClientOutputWithContext(ctx).OutputState, + } +} + // AllowedClientArrayInput is an input type that accepts AllowedClientArray and AllowedClientArrayOutput values. // You can construct a concrete instance of `AllowedClientArrayInput` via: // @@ -93,6 +100,12 @@ func (i AllowedClientArray) ToAllowedClientArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AllowedClientArrayOutput) } +func (i AllowedClientArray) ToOutput(ctx context.Context) pulumix.Output[[]AllowedClient] { + return pulumix.Output[[]AllowedClient]{ + OutputState: i.ToAllowedClientArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an 'access point' for the share. type AllowedClientOutput struct{ *pulumi.OutputState } @@ -108,6 +121,12 @@ func (o AllowedClientOutput) ToAllowedClientOutputWithContext(ctx context.Contex return o } +func (o AllowedClientOutput) ToOutput(ctx context.Context) pulumix.Output[AllowedClient] { + return pulumix.Output[AllowedClient]{ + OutputState: o.OutputState, + } +} + // Allow dev flag. Which controls whether to allow creation of devices. func (o AllowedClientOutput) AllowDev() pulumi.BoolPtrOutput { return o.ApplyT(func(v AllowedClient) *bool { return v.AllowDev }).(pulumi.BoolPtrOutput) @@ -152,6 +171,12 @@ func (o AllowedClientArrayOutput) ToAllowedClientArrayOutputWithContext(ctx cont return o } +func (o AllowedClientArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllowedClient] { + return pulumix.Output[[]AllowedClient]{ + OutputState: o.OutputState, + } +} + func (o AllowedClientArrayOutput) Index(i pulumi.IntInput) AllowedClientOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllowedClient { return vs[0].([]AllowedClient)[vs[1].(int)] @@ -193,6 +218,12 @@ func (o AllowedClientResponseOutput) ToAllowedClientResponseOutputWithContext(ct return o } +func (o AllowedClientResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllowedClientResponse] { + return pulumix.Output[AllowedClientResponse]{ + OutputState: o.OutputState, + } +} + // Allow dev flag. Which controls whether to allow creation of devices. func (o AllowedClientResponseOutput) AllowDev() pulumi.BoolOutput { return o.ApplyT(func(v AllowedClientResponse) bool { return v.AllowDev }).(pulumi.BoolOutput) @@ -247,6 +278,12 @@ func (o AllowedClientResponseArrayOutput) ToAllowedClientResponseArrayOutputWith return o } +func (o AllowedClientResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllowedClientResponse] { + return pulumix.Output[[]AllowedClientResponse]{ + OutputState: o.OutputState, + } +} + func (o AllowedClientResponseArrayOutput) Index(i pulumi.IntInput) AllowedClientResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllowedClientResponse { return vs[0].([]AllowedClientResponse)[vs[1].(int)] @@ -300,6 +337,12 @@ func (i GoogleCloudBaremetalsolutionV2LogicalInterfaceArgs) ToGoogleCloudBaremet return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBaremetalsolutionV2LogicalInterfaceOutput) } +func (i GoogleCloudBaremetalsolutionV2LogicalInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBaremetalsolutionV2LogicalInterface] { + return pulumix.Output[GoogleCloudBaremetalsolutionV2LogicalInterface]{ + OutputState: i.ToGoogleCloudBaremetalsolutionV2LogicalInterfaceOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudBaremetalsolutionV2LogicalInterfaceArrayInput is an input type that accepts GoogleCloudBaremetalsolutionV2LogicalInterfaceArray and GoogleCloudBaremetalsolutionV2LogicalInterfaceArrayOutput values. // You can construct a concrete instance of `GoogleCloudBaremetalsolutionV2LogicalInterfaceArrayInput` via: // @@ -325,6 +368,12 @@ func (i GoogleCloudBaremetalsolutionV2LogicalInterfaceArray) ToGoogleCloudBareme return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBaremetalsolutionV2LogicalInterfaceArrayOutput) } +func (i GoogleCloudBaremetalsolutionV2LogicalInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBaremetalsolutionV2LogicalInterface] { + return pulumix.Output[[]GoogleCloudBaremetalsolutionV2LogicalInterface]{ + OutputState: i.ToGoogleCloudBaremetalsolutionV2LogicalInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // Each logical interface represents a logical abstraction of the underlying physical interface (for eg. bond, nic) of the instance. Each logical interface can effectively map to multiple network-IP pairs and still be mapped to one underlying physical interface. type GoogleCloudBaremetalsolutionV2LogicalInterfaceOutput struct{ *pulumi.OutputState } @@ -340,6 +389,12 @@ func (o GoogleCloudBaremetalsolutionV2LogicalInterfaceOutput) ToGoogleCloudBarem return o } +func (o GoogleCloudBaremetalsolutionV2LogicalInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBaremetalsolutionV2LogicalInterface] { + return pulumix.Output[GoogleCloudBaremetalsolutionV2LogicalInterface]{ + OutputState: o.OutputState, + } +} + // The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template. This field is deprecated. // // Deprecated: The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template. This field is deprecated. @@ -373,6 +428,12 @@ func (o GoogleCloudBaremetalsolutionV2LogicalInterfaceArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudBaremetalsolutionV2LogicalInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBaremetalsolutionV2LogicalInterface] { + return pulumix.Output[[]GoogleCloudBaremetalsolutionV2LogicalInterface]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBaremetalsolutionV2LogicalInterfaceArrayOutput) Index(i pulumi.IntInput) GoogleCloudBaremetalsolutionV2LogicalInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudBaremetalsolutionV2LogicalInterface { return vs[0].([]GoogleCloudBaremetalsolutionV2LogicalInterface)[vs[1].(int)] @@ -406,6 +467,12 @@ func (o GoogleCloudBaremetalsolutionV2LogicalInterfaceResponseOutput) ToGoogleCl return o } +func (o GoogleCloudBaremetalsolutionV2LogicalInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBaremetalsolutionV2LogicalInterfaceResponse] { + return pulumix.Output[GoogleCloudBaremetalsolutionV2LogicalInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template. This field is deprecated. // // Deprecated: The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template. This field is deprecated. @@ -439,6 +506,12 @@ func (o GoogleCloudBaremetalsolutionV2LogicalInterfaceResponseArrayOutput) ToGoo return o } +func (o GoogleCloudBaremetalsolutionV2LogicalInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBaremetalsolutionV2LogicalInterfaceResponse] { + return pulumix.Output[[]GoogleCloudBaremetalsolutionV2LogicalInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBaremetalsolutionV2LogicalInterfaceResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudBaremetalsolutionV2LogicalInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudBaremetalsolutionV2LogicalInterfaceResponse { return vs[0].([]GoogleCloudBaremetalsolutionV2LogicalInterfaceResponse)[vs[1].(int)] @@ -520,6 +593,12 @@ func (i InstanceConfigArgs) ToInstanceConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(InstanceConfigOutput) } +func (i InstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceConfig] { + return pulumix.Output[InstanceConfig]{ + OutputState: i.ToInstanceConfigOutputWithContext(ctx).OutputState, + } +} + // InstanceConfigArrayInput is an input type that accepts InstanceConfigArray and InstanceConfigArrayOutput values. // You can construct a concrete instance of `InstanceConfigArrayInput` via: // @@ -545,6 +624,12 @@ func (i InstanceConfigArray) ToInstanceConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(InstanceConfigArrayOutput) } +func (i InstanceConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceConfig] { + return pulumix.Output[[]InstanceConfig]{ + OutputState: i.ToInstanceConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration parameters for a new instance. type InstanceConfigOutput struct{ *pulumi.OutputState } @@ -560,6 +645,12 @@ func (o InstanceConfigOutput) ToInstanceConfigOutputWithContext(ctx context.Cont return o } +func (o InstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceConfig] { + return pulumix.Output[InstanceConfig]{ + OutputState: o.OutputState, + } +} + // If true networks can be from different projects of the same vendor account. func (o InstanceConfigOutput) AccountNetworksEnabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v InstanceConfig) *bool { return v.AccountNetworksEnabled }).(pulumi.BoolPtrOutput) @@ -629,6 +720,12 @@ func (o InstanceConfigArrayOutput) ToInstanceConfigArrayOutputWithContext(ctx co return o } +func (o InstanceConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceConfig] { + return pulumix.Output[[]InstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o InstanceConfigArrayOutput) Index(i pulumi.IntInput) InstanceConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceConfig { return vs[0].([]InstanceConfig)[vs[1].(int)] @@ -676,6 +773,12 @@ func (o InstanceConfigResponseOutput) ToInstanceConfigResponseOutputWithContext( return o } +func (o InstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceConfigResponse] { + return pulumix.Output[InstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // If true networks can be from different projects of the same vendor account. func (o InstanceConfigResponseOutput) AccountNetworksEnabled() pulumi.BoolOutput { return o.ApplyT(func(v InstanceConfigResponse) bool { return v.AccountNetworksEnabled }).(pulumi.BoolOutput) @@ -747,6 +850,12 @@ func (o InstanceConfigResponseArrayOutput) ToInstanceConfigResponseArrayOutputWi return o } +func (o InstanceConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceConfigResponse] { + return pulumix.Output[[]InstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceConfigResponseArrayOutput) Index(i pulumi.IntInput) InstanceConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceConfigResponse { return vs[0].([]InstanceConfigResponse)[vs[1].(int)] @@ -792,6 +901,12 @@ func (i IntakeVlanAttachmentArgs) ToIntakeVlanAttachmentOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(IntakeVlanAttachmentOutput) } +func (i IntakeVlanAttachmentArgs) ToOutput(ctx context.Context) pulumix.Output[IntakeVlanAttachment] { + return pulumix.Output[IntakeVlanAttachment]{ + OutputState: i.ToIntakeVlanAttachmentOutputWithContext(ctx).OutputState, + } +} + // IntakeVlanAttachmentArrayInput is an input type that accepts IntakeVlanAttachmentArray and IntakeVlanAttachmentArrayOutput values. // You can construct a concrete instance of `IntakeVlanAttachmentArrayInput` via: // @@ -817,6 +932,12 @@ func (i IntakeVlanAttachmentArray) ToIntakeVlanAttachmentArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(IntakeVlanAttachmentArrayOutput) } +func (i IntakeVlanAttachmentArray) ToOutput(ctx context.Context) pulumix.Output[[]IntakeVlanAttachment] { + return pulumix.Output[[]IntakeVlanAttachment]{ + OutputState: i.ToIntakeVlanAttachmentArrayOutputWithContext(ctx).OutputState, + } +} + // A GCP vlan attachment. type IntakeVlanAttachmentOutput struct{ *pulumi.OutputState } @@ -832,6 +953,12 @@ func (o IntakeVlanAttachmentOutput) ToIntakeVlanAttachmentOutputWithContext(ctx return o } +func (o IntakeVlanAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[IntakeVlanAttachment] { + return pulumix.Output[IntakeVlanAttachment]{ + OutputState: o.OutputState, + } +} + // Identifier of the VLAN attachment. func (o IntakeVlanAttachmentOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v IntakeVlanAttachment) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -856,6 +983,12 @@ func (o IntakeVlanAttachmentArrayOutput) ToIntakeVlanAttachmentArrayOutputWithCo return o } +func (o IntakeVlanAttachmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IntakeVlanAttachment] { + return pulumix.Output[[]IntakeVlanAttachment]{ + OutputState: o.OutputState, + } +} + func (o IntakeVlanAttachmentArrayOutput) Index(i pulumi.IntInput) IntakeVlanAttachmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IntakeVlanAttachment { return vs[0].([]IntakeVlanAttachment)[vs[1].(int)] @@ -883,6 +1016,12 @@ func (o IntakeVlanAttachmentResponseOutput) ToIntakeVlanAttachmentResponseOutput return o } +func (o IntakeVlanAttachmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IntakeVlanAttachmentResponse] { + return pulumix.Output[IntakeVlanAttachmentResponse]{ + OutputState: o.OutputState, + } +} + // Attachment pairing key. func (o IntakeVlanAttachmentResponseOutput) PairingKey() pulumi.StringOutput { return o.ApplyT(func(v IntakeVlanAttachmentResponse) string { return v.PairingKey }).(pulumi.StringOutput) @@ -902,6 +1041,12 @@ func (o IntakeVlanAttachmentResponseArrayOutput) ToIntakeVlanAttachmentResponseA return o } +func (o IntakeVlanAttachmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IntakeVlanAttachmentResponse] { + return pulumix.Output[[]IntakeVlanAttachmentResponse]{ + OutputState: o.OutputState, + } +} + func (o IntakeVlanAttachmentResponseArrayOutput) Index(i pulumi.IntInput) IntakeVlanAttachmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IntakeVlanAttachmentResponse { return vs[0].([]IntakeVlanAttachmentResponse)[vs[1].(int)] @@ -959,6 +1104,12 @@ func (i LogicalNetworkInterfaceArgs) ToLogicalNetworkInterfaceOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(LogicalNetworkInterfaceOutput) } +func (i LogicalNetworkInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[LogicalNetworkInterface] { + return pulumix.Output[LogicalNetworkInterface]{ + OutputState: i.ToLogicalNetworkInterfaceOutputWithContext(ctx).OutputState, + } +} + // LogicalNetworkInterfaceArrayInput is an input type that accepts LogicalNetworkInterfaceArray and LogicalNetworkInterfaceArrayOutput values. // You can construct a concrete instance of `LogicalNetworkInterfaceArrayInput` via: // @@ -984,6 +1135,12 @@ func (i LogicalNetworkInterfaceArray) ToLogicalNetworkInterfaceArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(LogicalNetworkInterfaceArrayOutput) } +func (i LogicalNetworkInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]LogicalNetworkInterface] { + return pulumix.Output[[]LogicalNetworkInterface]{ + OutputState: i.ToLogicalNetworkInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // Each logical network interface is effectively a network and IP pair. type LogicalNetworkInterfaceOutput struct{ *pulumi.OutputState } @@ -999,6 +1156,12 @@ func (o LogicalNetworkInterfaceOutput) ToLogicalNetworkInterfaceOutputWithContex return o } +func (o LogicalNetworkInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[LogicalNetworkInterface] { + return pulumix.Output[LogicalNetworkInterface]{ + OutputState: o.OutputState, + } +} + // Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance. func (o LogicalNetworkInterfaceOutput) DefaultGateway() pulumi.BoolPtrOutput { return o.ApplyT(func(v LogicalNetworkInterface) *bool { return v.DefaultGateway }).(pulumi.BoolPtrOutput) @@ -1038,6 +1201,12 @@ func (o LogicalNetworkInterfaceArrayOutput) ToLogicalNetworkInterfaceArrayOutput return o } +func (o LogicalNetworkInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogicalNetworkInterface] { + return pulumix.Output[[]LogicalNetworkInterface]{ + OutputState: o.OutputState, + } +} + func (o LogicalNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) LogicalNetworkInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogicalNetworkInterface { return vs[0].([]LogicalNetworkInterface)[vs[1].(int)] @@ -1071,6 +1240,12 @@ func (o LogicalNetworkInterfaceResponseOutput) ToLogicalNetworkInterfaceResponse return o } +func (o LogicalNetworkInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogicalNetworkInterfaceResponse] { + return pulumix.Output[LogicalNetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance. func (o LogicalNetworkInterfaceResponseOutput) DefaultGateway() pulumi.BoolOutput { return o.ApplyT(func(v LogicalNetworkInterfaceResponse) bool { return v.DefaultGateway }).(pulumi.BoolOutput) @@ -1105,6 +1280,12 @@ func (o LogicalNetworkInterfaceResponseArrayOutput) ToLogicalNetworkInterfaceRes return o } +func (o LogicalNetworkInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogicalNetworkInterfaceResponse] { + return pulumix.Output[[]LogicalNetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o LogicalNetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) LogicalNetworkInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogicalNetworkInterfaceResponse { return vs[0].([]LogicalNetworkInterfaceResponse)[vs[1].(int)] @@ -1178,6 +1359,12 @@ func (i LunArgs) ToLunOutputWithContext(ctx context.Context) LunOutput { return pulumi.ToOutputWithContext(ctx, i).(LunOutput) } +func (i LunArgs) ToOutput(ctx context.Context) pulumix.Output[Lun] { + return pulumix.Output[Lun]{ + OutputState: i.ToLunOutputWithContext(ctx).OutputState, + } +} + // LunArrayInput is an input type that accepts LunArray and LunArrayOutput values. // You can construct a concrete instance of `LunArrayInput` via: // @@ -1203,6 +1390,12 @@ func (i LunArray) ToLunArrayOutputWithContext(ctx context.Context) LunArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(LunArrayOutput) } +func (i LunArray) ToOutput(ctx context.Context) pulumix.Output[[]Lun] { + return pulumix.Output[[]Lun]{ + OutputState: i.ToLunArrayOutputWithContext(ctx).OutputState, + } +} + // A storage volume logical unit number (LUN). type LunOutput struct{ *pulumi.OutputState } @@ -1218,6 +1411,12 @@ func (o LunOutput) ToLunOutputWithContext(ctx context.Context) LunOutput { return o } +func (o LunOutput) ToOutput(ctx context.Context) pulumix.Output[Lun] { + return pulumix.Output[Lun]{ + OutputState: o.OutputState, + } +} + // Display if this LUN is a boot LUN. func (o LunOutput) BootLun() pulumi.BoolPtrOutput { return o.ApplyT(func(v Lun) *bool { return v.BootLun }).(pulumi.BoolPtrOutput) @@ -1277,6 +1476,12 @@ func (o LunArrayOutput) ToLunArrayOutputWithContext(ctx context.Context) LunArra return o } +func (o LunArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Lun] { + return pulumix.Output[[]Lun]{ + OutputState: o.OutputState, + } +} + func (o LunArrayOutput) Index(i pulumi.IntInput) LunOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Lun { return vs[0].([]Lun)[vs[1].(int)] @@ -1322,6 +1527,12 @@ func (i LunRangeArgs) ToLunRangeOutputWithContext(ctx context.Context) LunRangeO return pulumi.ToOutputWithContext(ctx, i).(LunRangeOutput) } +func (i LunRangeArgs) ToOutput(ctx context.Context) pulumix.Output[LunRange] { + return pulumix.Output[LunRange]{ + OutputState: i.ToLunRangeOutputWithContext(ctx).OutputState, + } +} + // LunRangeArrayInput is an input type that accepts LunRangeArray and LunRangeArrayOutput values. // You can construct a concrete instance of `LunRangeArrayInput` via: // @@ -1347,6 +1558,12 @@ func (i LunRangeArray) ToLunRangeArrayOutputWithContext(ctx context.Context) Lun return pulumi.ToOutputWithContext(ctx, i).(LunRangeArrayOutput) } +func (i LunRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]LunRange] { + return pulumix.Output[[]LunRange]{ + OutputState: i.ToLunRangeArrayOutputWithContext(ctx).OutputState, + } +} + // A LUN(Logical Unit Number) range. type LunRangeOutput struct{ *pulumi.OutputState } @@ -1362,6 +1579,12 @@ func (o LunRangeOutput) ToLunRangeOutputWithContext(ctx context.Context) LunRang return o } +func (o LunRangeOutput) ToOutput(ctx context.Context) pulumix.Output[LunRange] { + return pulumix.Output[LunRange]{ + OutputState: o.OutputState, + } +} + // Number of LUNs to create. func (o LunRangeOutput) Quantity() pulumi.IntPtrOutput { return o.ApplyT(func(v LunRange) *int { return v.Quantity }).(pulumi.IntPtrOutput) @@ -1386,6 +1609,12 @@ func (o LunRangeArrayOutput) ToLunRangeArrayOutputWithContext(ctx context.Contex return o } +func (o LunRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LunRange] { + return pulumix.Output[[]LunRange]{ + OutputState: o.OutputState, + } +} + func (o LunRangeArrayOutput) Index(i pulumi.IntInput) LunRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LunRange { return vs[0].([]LunRange)[vs[1].(int)] @@ -1415,6 +1644,12 @@ func (o LunRangeResponseOutput) ToLunRangeResponseOutputWithContext(ctx context. return o } +func (o LunRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LunRangeResponse] { + return pulumix.Output[LunRangeResponse]{ + OutputState: o.OutputState, + } +} + // Number of LUNs to create. func (o LunRangeResponseOutput) Quantity() pulumi.IntOutput { return o.ApplyT(func(v LunRangeResponse) int { return v.Quantity }).(pulumi.IntOutput) @@ -1439,6 +1674,12 @@ func (o LunRangeResponseArrayOutput) ToLunRangeResponseArrayOutputWithContext(ct return o } +func (o LunRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LunRangeResponse] { + return pulumix.Output[[]LunRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o LunRangeResponseArrayOutput) Index(i pulumi.IntInput) LunRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LunRangeResponse { return vs[0].([]LunRangeResponse)[vs[1].(int)] @@ -1486,6 +1727,12 @@ func (o LunResponseOutput) ToLunResponseOutputWithContext(ctx context.Context) L return o } +func (o LunResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LunResponse] { + return pulumix.Output[LunResponse]{ + OutputState: o.OutputState, + } +} + // Display if this LUN is a boot LUN. func (o LunResponseOutput) BootLun() pulumi.BoolOutput { return o.ApplyT(func(v LunResponse) bool { return v.BootLun }).(pulumi.BoolOutput) @@ -1555,6 +1802,12 @@ func (o LunResponseArrayOutput) ToLunResponseArrayOutputWithContext(ctx context. return o } +func (o LunResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LunResponse] { + return pulumix.Output[[]LunResponse]{ + OutputState: o.OutputState, + } +} + func (o LunResponseArrayOutput) Index(i pulumi.IntInput) LunResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LunResponse { return vs[0].([]LunResponse)[vs[1].(int)] @@ -1604,6 +1857,12 @@ func (i NetworkAddressArgs) ToNetworkAddressOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(NetworkAddressOutput) } +func (i NetworkAddressArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkAddress] { + return pulumix.Output[NetworkAddress]{ + OutputState: i.ToNetworkAddressOutputWithContext(ctx).OutputState, + } +} + func (i NetworkAddressArgs) ToNetworkAddressPtrOutput() NetworkAddressPtrOutput { return i.ToNetworkAddressPtrOutputWithContext(context.Background()) } @@ -1645,6 +1904,12 @@ func (i *networkAddressPtrType) ToNetworkAddressPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(NetworkAddressPtrOutput) } +func (i *networkAddressPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkAddress] { + return pulumix.Output[*NetworkAddress]{ + OutputState: i.ToNetworkAddressPtrOutputWithContext(ctx).OutputState, + } +} + // A network. type NetworkAddressOutput struct{ *pulumi.OutputState } @@ -1670,6 +1935,12 @@ func (o NetworkAddressOutput) ToNetworkAddressPtrOutputWithContext(ctx context.C }).(NetworkAddressPtrOutput) } +func (o NetworkAddressOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkAddress] { + return pulumix.Output[NetworkAddress]{ + OutputState: o.OutputState, + } +} + // IPv4 address to be assigned to the server. func (o NetworkAddressOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkAddress) *string { return v.Address }).(pulumi.StringPtrOutput) @@ -1699,6 +1970,12 @@ func (o NetworkAddressPtrOutput) ToNetworkAddressPtrOutputWithContext(ctx contex return o } +func (o NetworkAddressPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAddress] { + return pulumix.Output[*NetworkAddress]{ + OutputState: o.OutputState, + } +} + func (o NetworkAddressPtrOutput) Elem() NetworkAddressOutput { return o.ApplyT(func(v *NetworkAddress) NetworkAddress { if v != nil { @@ -1764,6 +2041,12 @@ func (o NetworkAddressReservationResponseOutput) ToNetworkAddressReservationResp return o } +func (o NetworkAddressReservationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkAddressReservationResponse] { + return pulumix.Output[NetworkAddressReservationResponse]{ + OutputState: o.OutputState, + } +} + // The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2. func (o NetworkAddressReservationResponseOutput) EndAddress() pulumi.StringOutput { return o.ApplyT(func(v NetworkAddressReservationResponse) string { return v.EndAddress }).(pulumi.StringOutput) @@ -1793,6 +2076,12 @@ func (o NetworkAddressReservationResponseArrayOutput) ToNetworkAddressReservatio return o } +func (o NetworkAddressReservationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkAddressReservationResponse] { + return pulumix.Output[[]NetworkAddressReservationResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkAddressReservationResponseArrayOutput) Index(i pulumi.IntInput) NetworkAddressReservationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkAddressReservationResponse { return vs[0].([]NetworkAddressReservationResponse)[vs[1].(int)] @@ -1824,6 +2113,12 @@ func (o NetworkAddressResponseOutput) ToNetworkAddressResponseOutputWithContext( return o } +func (o NetworkAddressResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkAddressResponse] { + return pulumix.Output[NetworkAddressResponse]{ + OutputState: o.OutputState, + } +} + // IPv4 address to be assigned to the server. func (o NetworkAddressResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v NetworkAddressResponse) string { return v.Address }).(pulumi.StringOutput) @@ -1910,6 +2205,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + // NetworkConfigArrayInput is an input type that accepts NetworkConfigArray and NetworkConfigArrayOutput values. // You can construct a concrete instance of `NetworkConfigArrayInput` via: // @@ -1935,6 +2236,12 @@ func (i NetworkConfigArray) ToNetworkConfigArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigArrayOutput) } +func (i NetworkConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfig] { + return pulumix.Output[[]NetworkConfig]{ + OutputState: i.ToNetworkConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration parameters for a new network. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -1950,6 +2257,12 @@ func (o NetworkConfigOutput) ToNetworkConfigOutputWithContext(ctx context.Contex return o } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // Interconnect bandwidth. Set only when type is CLIENT. func (o NetworkConfigOutput) Bandwidth() NetworkConfigBandwidthPtrOutput { return o.ApplyT(func(v NetworkConfig) *NetworkConfigBandwidth { return v.Bandwidth }).(NetworkConfigBandwidthPtrOutput) @@ -2014,6 +2327,12 @@ func (o NetworkConfigArrayOutput) ToNetworkConfigArrayOutputWithContext(ctx cont return o } +func (o NetworkConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfig] { + return pulumix.Output[[]NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigArrayOutput) Index(i pulumi.IntInput) NetworkConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkConfig { return vs[0].([]NetworkConfig)[vs[1].(int)] @@ -2059,6 +2378,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Interconnect bandwidth. Set only when type is CLIENT. func (o NetworkConfigResponseOutput) Bandwidth() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfigResponse) string { return v.Bandwidth }).(pulumi.StringOutput) @@ -2123,6 +2448,12 @@ func (o NetworkConfigResponseArrayOutput) ToNetworkConfigResponseArrayOutputWith return o } +func (o NetworkConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfigResponse] { + return pulumix.Output[[]NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigResponseArrayOutput) Index(i pulumi.IntInput) NetworkConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkConfigResponse { return vs[0].([]NetworkConfigResponse)[vs[1].(int)] @@ -2156,6 +2487,12 @@ func (o NetworkMountPointResponseOutput) ToNetworkMountPointResponseOutputWithCo return o } +func (o NetworkMountPointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkMountPointResponse] { + return pulumix.Output[NetworkMountPointResponse]{ + OutputState: o.OutputState, + } +} + // Network should be a default gateway. func (o NetworkMountPointResponseOutput) DefaultGateway() pulumi.BoolOutput { return o.ApplyT(func(v NetworkMountPointResponse) bool { return v.DefaultGateway }).(pulumi.BoolOutput) @@ -2190,6 +2527,12 @@ func (o NetworkMountPointResponseArrayOutput) ToNetworkMountPointResponseArrayOu return o } +func (o NetworkMountPointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkMountPointResponse] { + return pulumix.Output[[]NetworkMountPointResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkMountPointResponseArrayOutput) Index(i pulumi.IntInput) NetworkMountPointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkMountPointResponse { return vs[0].([]NetworkMountPointResponse)[vs[1].(int)] @@ -2245,6 +2588,12 @@ func (o NetworkResponseOutput) ToNetworkResponseOutputWithContext(ctx context.Co return o } +func (o NetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkResponse] { + return pulumix.Output[NetworkResponse]{ + OutputState: o.OutputState, + } +} + // The cidr of the Network. func (o NetworkResponseOutput) Cidr() pulumi.StringOutput { return o.ApplyT(func(v NetworkResponse) string { return v.Cidr }).(pulumi.StringOutput) @@ -2334,6 +2683,12 @@ func (o NetworkResponseArrayOutput) ToNetworkResponseArrayOutputWithContext(ctx return o } +func (o NetworkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkResponse] { + return pulumix.Output[[]NetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkResponseArrayOutput) Index(i pulumi.IntInput) NetworkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkResponse { return vs[0].([]NetworkResponse)[vs[1].(int)] @@ -2399,6 +2754,12 @@ func (i NfsExportArgs) ToNfsExportOutputWithContext(ctx context.Context) NfsExpo return pulumi.ToOutputWithContext(ctx, i).(NfsExportOutput) } +func (i NfsExportArgs) ToOutput(ctx context.Context) pulumix.Output[NfsExport] { + return pulumix.Output[NfsExport]{ + OutputState: i.ToNfsExportOutputWithContext(ctx).OutputState, + } +} + // NfsExportArrayInput is an input type that accepts NfsExportArray and NfsExportArrayOutput values. // You can construct a concrete instance of `NfsExportArrayInput` via: // @@ -2424,6 +2785,12 @@ func (i NfsExportArray) ToNfsExportArrayOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NfsExportArrayOutput) } +func (i NfsExportArray) ToOutput(ctx context.Context) pulumix.Output[[]NfsExport] { + return pulumix.Output[[]NfsExport]{ + OutputState: i.ToNfsExportArrayOutputWithContext(ctx).OutputState, + } +} + // A NFS export entry. type NfsExportOutput struct{ *pulumi.OutputState } @@ -2439,6 +2806,12 @@ func (o NfsExportOutput) ToNfsExportOutputWithContext(ctx context.Context) NfsEx return o } +func (o NfsExportOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExport] { + return pulumix.Output[NfsExport]{ + OutputState: o.OutputState, + } +} + // Allow dev flag in NfsShare AllowedClientsRequest. func (o NfsExportOutput) AllowDev() pulumi.BoolPtrOutput { return o.ApplyT(func(v NfsExport) *bool { return v.AllowDev }).(pulumi.BoolPtrOutput) @@ -2488,6 +2861,12 @@ func (o NfsExportArrayOutput) ToNfsExportArrayOutputWithContext(ctx context.Cont return o } +func (o NfsExportArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NfsExport] { + return pulumix.Output[[]NfsExport]{ + OutputState: o.OutputState, + } +} + func (o NfsExportArrayOutput) Index(i pulumi.IntInput) NfsExportOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NfsExport { return vs[0].([]NfsExport)[vs[1].(int)] @@ -2527,6 +2906,12 @@ func (o NfsExportResponseOutput) ToNfsExportResponseOutputWithContext(ctx contex return o } +func (o NfsExportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportResponse] { + return pulumix.Output[NfsExportResponse]{ + OutputState: o.OutputState, + } +} + // Allow dev flag in NfsShare AllowedClientsRequest. func (o NfsExportResponseOutput) AllowDev() pulumi.BoolOutput { return o.ApplyT(func(v NfsExportResponse) bool { return v.AllowDev }).(pulumi.BoolOutput) @@ -2576,6 +2961,12 @@ func (o NfsExportResponseArrayOutput) ToNfsExportResponseArrayOutputWithContext( return o } +func (o NfsExportResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NfsExportResponse] { + return pulumix.Output[[]NfsExportResponse]{ + OutputState: o.OutputState, + } +} + func (o NfsExportResponseArrayOutput) Index(i pulumi.IntInput) NfsExportResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NfsExportResponse { return vs[0].([]NfsExportResponse)[vs[1].(int)] @@ -2603,6 +2994,12 @@ func (o QosPolicyResponseOutput) ToQosPolicyResponseOutputWithContext(ctx contex return o } +func (o QosPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QosPolicyResponse] { + return pulumix.Output[QosPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The bandwidth permitted by the QOS policy, in gbps. func (o QosPolicyResponseOutput) BandwidthGbps() pulumi.Float64Output { return o.ApplyT(func(v QosPolicyResponse) float64 { return v.BandwidthGbps }).(pulumi.Float64Output) @@ -2655,6 +3052,12 @@ func (i SnapshotReservationDetailArgs) ToSnapshotReservationDetailOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SnapshotReservationDetailOutput) } +func (i SnapshotReservationDetailArgs) ToOutput(ctx context.Context) pulumix.Output[SnapshotReservationDetail] { + return pulumix.Output[SnapshotReservationDetail]{ + OutputState: i.ToSnapshotReservationDetailOutputWithContext(ctx).OutputState, + } +} + func (i SnapshotReservationDetailArgs) ToSnapshotReservationDetailPtrOutput() SnapshotReservationDetailPtrOutput { return i.ToSnapshotReservationDetailPtrOutputWithContext(context.Background()) } @@ -2696,6 +3099,12 @@ func (i *snapshotReservationDetailPtrType) ToSnapshotReservationDetailPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(SnapshotReservationDetailPtrOutput) } +func (i *snapshotReservationDetailPtrType) ToOutput(ctx context.Context) pulumix.Output[*SnapshotReservationDetail] { + return pulumix.Output[*SnapshotReservationDetail]{ + OutputState: i.ToSnapshotReservationDetailPtrOutputWithContext(ctx).OutputState, + } +} + // Details about snapshot space reservation and usage on the storage volume. type SnapshotReservationDetailOutput struct{ *pulumi.OutputState } @@ -2721,6 +3130,12 @@ func (o SnapshotReservationDetailOutput) ToSnapshotReservationDetailPtrOutputWit }).(SnapshotReservationDetailPtrOutput) } +func (o SnapshotReservationDetailOutput) ToOutput(ctx context.Context) pulumix.Output[SnapshotReservationDetail] { + return pulumix.Output[SnapshotReservationDetail]{ + OutputState: o.OutputState, + } +} + // The space on this storage volume reserved for snapshots, shown in GiB. func (o SnapshotReservationDetailOutput) ReservedSpaceGib() pulumi.StringPtrOutput { return o.ApplyT(func(v SnapshotReservationDetail) *string { return v.ReservedSpaceGib }).(pulumi.StringPtrOutput) @@ -2755,6 +3170,12 @@ func (o SnapshotReservationDetailPtrOutput) ToSnapshotReservationDetailPtrOutput return o } +func (o SnapshotReservationDetailPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotReservationDetail] { + return pulumix.Output[*SnapshotReservationDetail]{ + OutputState: o.OutputState, + } +} + func (o SnapshotReservationDetailPtrOutput) Elem() SnapshotReservationDetailOutput { return o.ApplyT(func(v *SnapshotReservationDetail) SnapshotReservationDetail { if v != nil { @@ -2832,6 +3253,12 @@ func (o SnapshotReservationDetailResponseOutput) ToSnapshotReservationDetailResp return o } +func (o SnapshotReservationDetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SnapshotReservationDetailResponse] { + return pulumix.Output[SnapshotReservationDetailResponse]{ + OutputState: o.OutputState, + } +} + // The space on this storage volume reserved for snapshots, shown in GiB. func (o SnapshotReservationDetailResponseOutput) ReservedSpaceGib() pulumi.StringOutput { return o.ApplyT(func(v SnapshotReservationDetailResponse) string { return v.ReservedSpaceGib }).(pulumi.StringOutput) @@ -2879,6 +3306,12 @@ func (o VRFResponseOutput) ToVRFResponseOutputWithContext(ctx context.Context) V return o } +func (o VRFResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VRFResponse] { + return pulumix.Output[VRFResponse]{ + OutputState: o.OutputState, + } +} + // The name of the VRF. func (o VRFResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v VRFResponse) string { return v.Name }).(pulumi.StringOutput) @@ -2928,6 +3361,12 @@ func (o VlanAttachmentResponseOutput) ToVlanAttachmentResponseOutputWithContext( return o } +func (o VlanAttachmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VlanAttachmentResponse] { + return pulumix.Output[VlanAttachmentResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Pairing key. func (o VlanAttachmentResponseOutput) PairingKey() pulumi.StringOutput { return o.ApplyT(func(v VlanAttachmentResponse) string { return v.PairingKey }).(pulumi.StringOutput) @@ -2967,6 +3406,12 @@ func (o VlanAttachmentResponseArrayOutput) ToVlanAttachmentResponseArrayOutputWi return o } +func (o VlanAttachmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VlanAttachmentResponse] { + return pulumix.Output[[]VlanAttachmentResponse]{ + OutputState: o.OutputState, + } +} + func (o VlanAttachmentResponseArrayOutput) Index(i pulumi.IntInput) VlanAttachmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VlanAttachmentResponse { return vs[0].([]VlanAttachmentResponse)[vs[1].(int)] @@ -3084,6 +3529,12 @@ func (i VolumeArgs) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput return pulumi.ToOutputWithContext(ctx, i).(VolumeOutput) } +func (i VolumeArgs) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: i.ToVolumeOutputWithContext(ctx).OutputState, + } +} + // VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. // You can construct a concrete instance of `VolumeArrayInput` via: // @@ -3109,6 +3560,12 @@ func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeA return pulumi.ToOutputWithContext(ctx, i).(VolumeArrayOutput) } +func (i VolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: i.ToVolumeArrayOutputWithContext(ctx).OutputState, + } +} + // A storage volume. type VolumeOutput struct{ *pulumi.OutputState } @@ -3124,6 +3581,12 @@ func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutpu return o } +func (o VolumeOutput) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: o.OutputState, + } +} + // The size, in GiB, that this storage volume has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0. func (o VolumeOutput) AutoGrownSizeGib() pulumi.StringPtrOutput { return o.ApplyT(func(v Volume) *string { return v.AutoGrownSizeGib }).(pulumi.StringPtrOutput) @@ -3238,6 +3701,12 @@ func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) V return o } +func (o VolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: o.OutputState, + } +} + func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Volume { return vs[0].([]Volume)[vs[1].(int)] @@ -3323,6 +3792,12 @@ func (i VolumeConfigArgs) ToVolumeConfigOutputWithContext(ctx context.Context) V return pulumi.ToOutputWithContext(ctx, i).(VolumeConfigOutput) } +func (i VolumeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VolumeConfig] { + return pulumix.Output[VolumeConfig]{ + OutputState: i.ToVolumeConfigOutputWithContext(ctx).OutputState, + } +} + // VolumeConfigArrayInput is an input type that accepts VolumeConfigArray and VolumeConfigArrayOutput values. // You can construct a concrete instance of `VolumeConfigArrayInput` via: // @@ -3348,6 +3823,12 @@ func (i VolumeConfigArray) ToVolumeConfigArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(VolumeConfigArrayOutput) } +func (i VolumeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]VolumeConfig] { + return pulumix.Output[[]VolumeConfig]{ + OutputState: i.ToVolumeConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration parameters for a new volume. type VolumeConfigOutput struct{ *pulumi.OutputState } @@ -3363,6 +3844,12 @@ func (o VolumeConfigOutput) ToVolumeConfigOutputWithContext(ctx context.Context) return o } +func (o VolumeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeConfig] { + return pulumix.Output[VolumeConfig]{ + OutputState: o.OutputState, + } +} + // The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning. func (o VolumeConfigOutput) GcpService() pulumi.StringPtrOutput { return o.ApplyT(func(v VolumeConfig) *string { return v.GcpService }).(pulumi.StringPtrOutput) @@ -3437,6 +3924,12 @@ func (o VolumeConfigArrayOutput) ToVolumeConfigArrayOutputWithContext(ctx contex return o } +func (o VolumeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VolumeConfig] { + return pulumix.Output[[]VolumeConfig]{ + OutputState: o.OutputState, + } +} + func (o VolumeConfigArrayOutput) Index(i pulumi.IntInput) VolumeConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeConfig { return vs[0].([]VolumeConfig)[vs[1].(int)] @@ -3486,6 +3979,12 @@ func (o VolumeConfigResponseOutput) ToVolumeConfigResponseOutputWithContext(ctx return o } +func (o VolumeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeConfigResponse] { + return pulumix.Output[VolumeConfigResponse]{ + OutputState: o.OutputState, + } +} + // The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning. func (o VolumeConfigResponseOutput) GcpService() pulumi.StringOutput { return o.ApplyT(func(v VolumeConfigResponse) string { return v.GcpService }).(pulumi.StringOutput) @@ -3560,6 +4059,12 @@ func (o VolumeConfigResponseArrayOutput) ToVolumeConfigResponseArrayOutputWithCo return o } +func (o VolumeConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VolumeConfigResponse] { + return pulumix.Output[[]VolumeConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o VolumeConfigResponseArrayOutput) Index(i pulumi.IntInput) VolumeConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeConfigResponse { return vs[0].([]VolumeConfigResponse)[vs[1].(int)] @@ -3635,6 +4140,12 @@ func (o VolumeResponseOutput) ToVolumeResponseOutputWithContext(ctx context.Cont return o } +func (o VolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeResponse] { + return pulumix.Output[VolumeResponse]{ + OutputState: o.OutputState, + } +} + // Is the Volume attached at at least one instance. This field is a lightweight counterpart of `instances` field. It is filled in List responses as well. func (o VolumeResponseOutput) Attached() pulumi.BoolOutput { return o.ApplyT(func(v VolumeResponse) bool { return v.Attached }).(pulumi.BoolOutput) @@ -3774,6 +4285,12 @@ func (o VolumeResponseArrayOutput) ToVolumeResponseArrayOutputWithContext(ctx co return o } +func (o VolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VolumeResponse] { + return pulumix.Output[[]VolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o VolumeResponseArrayOutput) Index(i pulumi.IntInput) VolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeResponse { return vs[0].([]VolumeResponse)[vs[1].(int)] diff --git a/sdk/go/google/baremetalsolution/v2/snapshot.go b/sdk/go/google/baremetalsolution/v2/snapshot.go index f1e62ad12c..eee417c518 100644 --- a/sdk/go/google/baremetalsolution/v2/snapshot.go +++ b/sdk/go/google/baremetalsolution/v2/snapshot.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume. @@ -123,6 +124,12 @@ func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutp return pulumi.ToOutputWithContext(ctx, i).(SnapshotOutput) } +func (i *Snapshot) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: i.ToSnapshotOutputWithContext(ctx).OutputState, + } +} + type SnapshotOutput struct{ *pulumi.OutputState } func (SnapshotOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) Snapsho return o } +func (o SnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: o.OutputState, + } +} + // The creation time of the snapshot. func (o SnapshotOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/batch/v1/getJob.go b/sdk/go/google/batch/v1/getJob.go index 50028aeb54..5a38a9c5e5 100644 --- a/sdk/go/google/batch/v1/getJob.go +++ b/sdk/go/google/batch/v1/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a Job specified by its resource name. @@ -90,6 +91,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // Compute resource allocation for all TaskGroups in the Job. func (o LookupJobResultOutput) AllocationPolicy() AllocationPolicyResponseOutput { return o.ApplyT(func(v LookupJobResult) AllocationPolicyResponse { return v.AllocationPolicy }).(AllocationPolicyResponseOutput) diff --git a/sdk/go/google/batch/v1/job.go b/sdk/go/google/batch/v1/job.go index ca2a96df53..ce8e7cf628 100644 --- a/sdk/go/google/batch/v1/job.go +++ b/sdk/go/google/batch/v1/job.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a Job. @@ -160,6 +161,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // Compute resource allocation for all TaskGroups in the Job. func (o JobOutput) AllocationPolicy() AllocationPolicyResponseOutput { return o.ApplyT(func(v *Job) AllocationPolicyResponseOutput { return v.AllocationPolicy }).(AllocationPolicyResponseOutput) diff --git a/sdk/go/google/batch/v1/pulumiEnums.go b/sdk/go/google/batch/v1/pulumiEnums.go index bb12ca6ad9..3d6ff6ea1e 100644 --- a/sdk/go/google/batch/v1/pulumiEnums.go +++ b/sdk/go/google/batch/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The provisioning model. @@ -84,6 +85,12 @@ func (o InstancePolicyProvisioningModelOutput) ToInstancePolicyProvisioningModel }).(InstancePolicyProvisioningModelPtrOutput) } +func (o InstancePolicyProvisioningModelOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePolicyProvisioningModel] { + return pulumix.Output[InstancePolicyProvisioningModel]{ + OutputState: o.OutputState, + } +} + func (o InstancePolicyProvisioningModelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o InstancePolicyProvisioningModelPtrOutput) ToInstancePolicyProvisioningMo return o } +func (o InstancePolicyProvisioningModelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePolicyProvisioningModel] { + return pulumix.Output[*InstancePolicyProvisioningModel]{ + OutputState: o.OutputState, + } +} + func (o InstancePolicyProvisioningModelPtrOutput) Elem() InstancePolicyProvisioningModelOutput { return o.ApplyT(func(v *InstancePolicyProvisioningModel) InstancePolicyProvisioningModel { if v != nil { @@ -181,6 +194,12 @@ func (in *instancePolicyProvisioningModelPtr) ToInstancePolicyProvisioningModelP return pulumi.ToOutputWithContext(ctx, in).(InstancePolicyProvisioningModelPtrOutput) } +func (in *instancePolicyProvisioningModelPtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePolicyProvisioningModel] { + return pulumix.Output[*InstancePolicyProvisioningModel]{ + OutputState: in.ToInstancePolicyProvisioningModelPtrOutputWithContext(ctx).OutputState, + } +} + // Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found. type LifecyclePolicyAction string @@ -253,6 +272,12 @@ func (o LifecyclePolicyActionOutput) ToLifecyclePolicyActionPtrOutputWithContext }).(LifecyclePolicyActionPtrOutput) } +func (o LifecyclePolicyActionOutput) ToOutput(ctx context.Context) pulumix.Output[LifecyclePolicyAction] { + return pulumix.Output[LifecyclePolicyAction]{ + OutputState: o.OutputState, + } +} + func (o LifecyclePolicyActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o LifecyclePolicyActionPtrOutput) ToLifecyclePolicyActionPtrOutputWithCont return o } +func (o LifecyclePolicyActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LifecyclePolicyAction] { + return pulumix.Output[*LifecyclePolicyAction]{ + OutputState: o.OutputState, + } +} + func (o LifecyclePolicyActionPtrOutput) Elem() LifecyclePolicyActionOutput { return o.ApplyT(func(v *LifecyclePolicyAction) LifecyclePolicyAction { if v != nil { @@ -350,6 +381,12 @@ func (in *lifecyclePolicyActionPtr) ToLifecyclePolicyActionPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(LifecyclePolicyActionPtrOutput) } +func (in *lifecyclePolicyActionPtr) ToOutput(ctx context.Context) pulumix.Output[*LifecyclePolicyAction] { + return pulumix.Output[*LifecyclePolicyAction]{ + OutputState: in.ToLifecyclePolicyActionPtrOutputWithContext(ctx).OutputState, + } +} + // Where logs should be saved. type LogsPolicyDestination string @@ -422,6 +459,12 @@ func (o LogsPolicyDestinationOutput) ToLogsPolicyDestinationPtrOutputWithContext }).(LogsPolicyDestinationPtrOutput) } +func (o LogsPolicyDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[LogsPolicyDestination] { + return pulumix.Output[LogsPolicyDestination]{ + OutputState: o.OutputState, + } +} + func (o LogsPolicyDestinationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o LogsPolicyDestinationPtrOutput) ToLogsPolicyDestinationPtrOutputWithCont return o } +func (o LogsPolicyDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogsPolicyDestination] { + return pulumix.Output[*LogsPolicyDestination]{ + OutputState: o.OutputState, + } +} + func (o LogsPolicyDestinationPtrOutput) Elem() LogsPolicyDestinationOutput { return o.ApplyT(func(v *LogsPolicyDestination) LogsPolicyDestination { if v != nil { @@ -519,6 +568,12 @@ func (in *logsPolicyDestinationPtr) ToLogsPolicyDestinationPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(LogsPolicyDestinationPtrOutput) } +func (in *logsPolicyDestinationPtr) ToOutput(ctx context.Context) pulumix.Output[*LogsPolicyDestination] { + return pulumix.Output[*LogsPolicyDestination]{ + OutputState: in.ToLogsPolicyDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // The new job state. type MessageNewJobState string @@ -598,6 +653,12 @@ func (o MessageNewJobStateOutput) ToMessageNewJobStatePtrOutputWithContext(ctx c }).(MessageNewJobStatePtrOutput) } +func (o MessageNewJobStateOutput) ToOutput(ctx context.Context) pulumix.Output[MessageNewJobState] { + return pulumix.Output[MessageNewJobState]{ + OutputState: o.OutputState, + } +} + func (o MessageNewJobStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -633,6 +694,12 @@ func (o MessageNewJobStatePtrOutput) ToMessageNewJobStatePtrOutputWithContext(ct return o } +func (o MessageNewJobStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MessageNewJobState] { + return pulumix.Output[*MessageNewJobState]{ + OutputState: o.OutputState, + } +} + func (o MessageNewJobStatePtrOutput) Elem() MessageNewJobStateOutput { return o.ApplyT(func(v *MessageNewJobState) MessageNewJobState { if v != nil { @@ -695,6 +762,12 @@ func (in *messageNewJobStatePtr) ToMessageNewJobStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(MessageNewJobStatePtrOutput) } +func (in *messageNewJobStatePtr) ToOutput(ctx context.Context) pulumix.Output[*MessageNewJobState] { + return pulumix.Output[*MessageNewJobState]{ + OutputState: in.ToMessageNewJobStatePtrOutputWithContext(ctx).OutputState, + } +} + // The new task state. type MessageNewTaskState string @@ -775,6 +848,12 @@ func (o MessageNewTaskStateOutput) ToMessageNewTaskStatePtrOutputWithContext(ctx }).(MessageNewTaskStatePtrOutput) } +func (o MessageNewTaskStateOutput) ToOutput(ctx context.Context) pulumix.Output[MessageNewTaskState] { + return pulumix.Output[MessageNewTaskState]{ + OutputState: o.OutputState, + } +} + func (o MessageNewTaskStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -810,6 +889,12 @@ func (o MessageNewTaskStatePtrOutput) ToMessageNewTaskStatePtrOutputWithContext( return o } +func (o MessageNewTaskStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MessageNewTaskState] { + return pulumix.Output[*MessageNewTaskState]{ + OutputState: o.OutputState, + } +} + func (o MessageNewTaskStatePtrOutput) Elem() MessageNewTaskStateOutput { return o.ApplyT(func(v *MessageNewTaskState) MessageNewTaskState { if v != nil { @@ -872,6 +957,12 @@ func (in *messageNewTaskStatePtr) ToMessageNewTaskStatePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(MessageNewTaskStatePtrOutput) } +func (in *messageNewTaskStatePtr) ToOutput(ctx context.Context) pulumix.Output[*MessageNewTaskState] { + return pulumix.Output[*MessageNewTaskState]{ + OutputState: in.ToMessageNewTaskStatePtrOutputWithContext(ctx).OutputState, + } +} + // The message type. type MessageType string @@ -944,6 +1035,12 @@ func (o MessageTypeOutput) ToMessageTypePtrOutputWithContext(ctx context.Context }).(MessageTypePtrOutput) } +func (o MessageTypeOutput) ToOutput(ctx context.Context) pulumix.Output[MessageType] { + return pulumix.Output[MessageType]{ + OutputState: o.OutputState, + } +} + func (o MessageTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -979,6 +1076,12 @@ func (o MessageTypePtrOutput) ToMessageTypePtrOutputWithContext(ctx context.Cont return o } +func (o MessageTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MessageType] { + return pulumix.Output[*MessageType]{ + OutputState: o.OutputState, + } +} + func (o MessageTypePtrOutput) Elem() MessageTypeOutput { return o.ApplyT(func(v *MessageType) MessageType { if v != nil { @@ -1041,6 +1144,12 @@ func (in *messageTypePtr) ToMessageTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(MessageTypePtrOutput) } +func (in *messageTypePtr) ToOutput(ctx context.Context) pulumix.Output[*MessageType] { + return pulumix.Output[*MessageType]{ + OutputState: in.ToMessageTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstancePolicyProvisioningModelInput)(nil)).Elem(), InstancePolicyProvisioningModel("PROVISIONING_MODEL_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*InstancePolicyProvisioningModelPtrInput)(nil)).Elem(), InstancePolicyProvisioningModel("PROVISIONING_MODEL_UNSPECIFIED")) diff --git a/sdk/go/google/batch/v1/pulumiTypes.go b/sdk/go/google/batch/v1/pulumiTypes.go index 6b2cdc7eb3..1fc5595c31 100644 --- a/sdk/go/google/batch/v1/pulumiTypes.go +++ b/sdk/go/google/batch/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AcceleratorArgs) ToAcceleratorOutputWithContext(ctx context.Context) Acc return pulumi.ToOutputWithContext(ctx, i).(AcceleratorOutput) } +func (i AcceleratorArgs) ToOutput(ctx context.Context) pulumix.Output[Accelerator] { + return pulumix.Output[Accelerator]{ + OutputState: i.ToAcceleratorOutputWithContext(ctx).OutputState, + } +} + // AcceleratorArrayInput is an input type that accepts AcceleratorArray and AcceleratorArrayOutput values. // You can construct a concrete instance of `AcceleratorArrayInput` via: // @@ -85,6 +92,12 @@ func (i AcceleratorArray) ToAcceleratorArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AcceleratorArrayOutput) } +func (i AcceleratorArray) ToOutput(ctx context.Context) pulumix.Output[[]Accelerator] { + return pulumix.Output[[]Accelerator]{ + OutputState: i.ToAcceleratorArrayOutputWithContext(ctx).OutputState, + } +} + // Accelerator describes Compute Engine accelerators to be attached to the VM. type AcceleratorOutput struct{ *pulumi.OutputState } @@ -100,6 +113,12 @@ func (o AcceleratorOutput) ToAcceleratorOutputWithContext(ctx context.Context) A return o } +func (o AcceleratorOutput) ToOutput(ctx context.Context) pulumix.Output[Accelerator] { + return pulumix.Output[Accelerator]{ + OutputState: o.OutputState, + } +} + // The number of accelerators of this type. func (o AcceleratorOutput) Count() pulumi.StringPtrOutput { return o.ApplyT(func(v Accelerator) *string { return v.Count }).(pulumi.StringPtrOutput) @@ -131,6 +150,12 @@ func (o AcceleratorArrayOutput) ToAcceleratorArrayOutputWithContext(ctx context. return o } +func (o AcceleratorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Accelerator] { + return pulumix.Output[[]Accelerator]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorArrayOutput) Index(i pulumi.IntInput) AcceleratorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Accelerator { return vs[0].([]Accelerator)[vs[1].(int)] @@ -164,6 +189,12 @@ func (o AcceleratorResponseOutput) ToAcceleratorResponseOutputWithContext(ctx co return o } +func (o AcceleratorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorResponse] { + return pulumix.Output[AcceleratorResponse]{ + OutputState: o.OutputState, + } +} + // The number of accelerators of this type. func (o AcceleratorResponseOutput) Count() pulumi.StringOutput { return o.ApplyT(func(v AcceleratorResponse) string { return v.Count }).(pulumi.StringOutput) @@ -195,6 +226,12 @@ func (o AcceleratorResponseArrayOutput) ToAcceleratorResponseArrayOutputWithCont return o } +func (o AcceleratorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorResponse] { + return pulumix.Output[[]AcceleratorResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorResponse { return vs[0].([]AcceleratorResponse)[vs[1].(int)] @@ -236,6 +273,12 @@ func (i ActionConditionArgs) ToActionConditionOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ActionConditionOutput) } +func (i ActionConditionArgs) ToOutput(ctx context.Context) pulumix.Output[ActionCondition] { + return pulumix.Output[ActionCondition]{ + OutputState: i.ToActionConditionOutputWithContext(ctx).OutputState, + } +} + func (i ActionConditionArgs) ToActionConditionPtrOutput() ActionConditionPtrOutput { return i.ToActionConditionPtrOutputWithContext(context.Background()) } @@ -277,6 +320,12 @@ func (i *actionConditionPtrType) ToActionConditionPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ActionConditionPtrOutput) } +func (i *actionConditionPtrType) ToOutput(ctx context.Context) pulumix.Output[*ActionCondition] { + return pulumix.Output[*ActionCondition]{ + OutputState: i.ToActionConditionPtrOutputWithContext(ctx).OutputState, + } +} + // Conditions for actions to deal with task failures. type ActionConditionOutput struct{ *pulumi.OutputState } @@ -302,6 +351,12 @@ func (o ActionConditionOutput) ToActionConditionPtrOutputWithContext(ctx context }).(ActionConditionPtrOutput) } +func (o ActionConditionOutput) ToOutput(ctx context.Context) pulumix.Output[ActionCondition] { + return pulumix.Output[ActionCondition]{ + OutputState: o.OutputState, + } +} + // Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed. func (o ActionConditionOutput) ExitCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v ActionCondition) []int { return v.ExitCodes }).(pulumi.IntArrayOutput) @@ -321,6 +376,12 @@ func (o ActionConditionPtrOutput) ToActionConditionPtrOutputWithContext(ctx cont return o } +func (o ActionConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ActionCondition] { + return pulumix.Output[*ActionCondition]{ + OutputState: o.OutputState, + } +} + func (o ActionConditionPtrOutput) Elem() ActionConditionOutput { return o.ApplyT(func(v *ActionCondition) ActionCondition { if v != nil { @@ -362,6 +423,12 @@ func (o ActionConditionResponseOutput) ToActionConditionResponseOutputWithContex return o } +func (o ActionConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ActionConditionResponse] { + return pulumix.Output[ActionConditionResponse]{ + OutputState: o.OutputState, + } +} + // Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed. func (o ActionConditionResponseOutput) ExitCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v ActionConditionResponse) []int { return v.ExitCodes }).(pulumi.IntArrayOutput) @@ -422,6 +489,12 @@ func (i AllocationPolicyArgs) ToAllocationPolicyOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AllocationPolicyOutput) } +func (i AllocationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationPolicy] { + return pulumix.Output[AllocationPolicy]{ + OutputState: i.ToAllocationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i AllocationPolicyArgs) ToAllocationPolicyPtrOutput() AllocationPolicyPtrOutput { return i.ToAllocationPolicyPtrOutputWithContext(context.Background()) } @@ -463,6 +536,12 @@ func (i *allocationPolicyPtrType) ToAllocationPolicyPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AllocationPolicyPtrOutput) } +func (i *allocationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*AllocationPolicy] { + return pulumix.Output[*AllocationPolicy]{ + OutputState: i.ToAllocationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job. type AllocationPolicyOutput struct{ *pulumi.OutputState } @@ -488,6 +567,12 @@ func (o AllocationPolicyOutput) ToAllocationPolicyPtrOutputWithContext(ctx conte }).(AllocationPolicyPtrOutput) } +func (o AllocationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationPolicy] { + return pulumix.Output[AllocationPolicy]{ + OutputState: o.OutputState, + } +} + // Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now. func (o AllocationPolicyOutput) Instances() InstancePolicyOrTemplateArrayOutput { return o.ApplyT(func(v AllocationPolicy) []InstancePolicyOrTemplate { return v.Instances }).(InstancePolicyOrTemplateArrayOutput) @@ -532,6 +617,12 @@ func (o AllocationPolicyPtrOutput) ToAllocationPolicyPtrOutputWithContext(ctx co return o } +func (o AllocationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationPolicy] { + return pulumix.Output[*AllocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o AllocationPolicyPtrOutput) Elem() AllocationPolicyOutput { return o.ApplyT(func(v *AllocationPolicy) AllocationPolicy { if v != nil { @@ -633,6 +724,12 @@ func (o AllocationPolicyResponseOutput) ToAllocationPolicyResponseOutputWithCont return o } +func (o AllocationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationPolicyResponse] { + return pulumix.Output[AllocationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now. func (o AllocationPolicyResponseOutput) Instances() InstancePolicyOrTemplateResponseArrayOutput { return o.ApplyT(func(v AllocationPolicyResponse) []InstancePolicyOrTemplateResponse { return v.Instances }).(InstancePolicyOrTemplateResponseArrayOutput) @@ -704,6 +801,12 @@ func (i AttachedDiskArgs) ToAttachedDiskOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskOutput) } +func (i AttachedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: i.ToAttachedDiskOutputWithContext(ctx).OutputState, + } +} + // AttachedDiskArrayInput is an input type that accepts AttachedDiskArray and AttachedDiskArrayOutput values. // You can construct a concrete instance of `AttachedDiskArrayInput` via: // @@ -729,6 +832,12 @@ func (i AttachedDiskArray) ToAttachedDiskArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskArrayOutput) } +func (i AttachedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: i.ToAttachedDiskArrayOutputWithContext(ctx).OutputState, + } +} + // A new or an existing persistent disk (PD) or a local ssd attached to a VM instance. type AttachedDiskOutput struct{ *pulumi.OutputState } @@ -744,6 +853,12 @@ func (o AttachedDiskOutput) ToAttachedDiskOutputWithContext(ctx context.Context) return o } +func (o AttachedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: o.OutputState, + } +} + // Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes. func (o AttachedDiskOutput) DeviceName() pulumi.StringPtrOutput { return o.ApplyT(func(v AttachedDisk) *string { return v.DeviceName }).(pulumi.StringPtrOutput) @@ -772,6 +887,12 @@ func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext(ctx contex return o } +func (o AttachedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskArrayOutput) Index(i pulumi.IntInput) AttachedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDisk { return vs[0].([]AttachedDisk)[vs[1].(int)] @@ -802,6 +923,12 @@ func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext(ctx return o } +func (o AttachedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskResponse] { + return pulumix.Output[AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + // Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes. func (o AttachedDiskResponseOutput) DeviceName() pulumi.StringOutput { return o.ApplyT(func(v AttachedDiskResponse) string { return v.DeviceName }).(pulumi.StringOutput) @@ -830,6 +957,12 @@ func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithCo return o } +func (o AttachedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDiskResponse] { + return pulumix.Output[[]AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) AttachedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDiskResponse { return vs[0].([]AttachedDiskResponse)[vs[1].(int)] @@ -871,6 +1004,12 @@ func (i BarrierArgs) ToBarrierOutputWithContext(ctx context.Context) BarrierOutp return pulumi.ToOutputWithContext(ctx, i).(BarrierOutput) } +func (i BarrierArgs) ToOutput(ctx context.Context) pulumix.Output[Barrier] { + return pulumix.Output[Barrier]{ + OutputState: i.ToBarrierOutputWithContext(ctx).OutputState, + } +} + func (i BarrierArgs) ToBarrierPtrOutput() BarrierPtrOutput { return i.ToBarrierPtrOutputWithContext(context.Background()) } @@ -912,6 +1051,12 @@ func (i *barrierPtrType) ToBarrierPtrOutputWithContext(ctx context.Context) Barr return pulumi.ToOutputWithContext(ctx, i).(BarrierPtrOutput) } +func (i *barrierPtrType) ToOutput(ctx context.Context) pulumix.Output[*Barrier] { + return pulumix.Output[*Barrier]{ + OutputState: i.ToBarrierPtrOutputWithContext(ctx).OutputState, + } +} + // Barrier runnable blocks until all tasks in a taskgroup reach it. type BarrierOutput struct{ *pulumi.OutputState } @@ -937,6 +1082,12 @@ func (o BarrierOutput) ToBarrierPtrOutputWithContext(ctx context.Context) Barrie }).(BarrierPtrOutput) } +func (o BarrierOutput) ToOutput(ctx context.Context) pulumix.Output[Barrier] { + return pulumix.Output[Barrier]{ + OutputState: o.OutputState, + } +} + // Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier. func (o BarrierOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Barrier) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -956,6 +1107,12 @@ func (o BarrierPtrOutput) ToBarrierPtrOutputWithContext(ctx context.Context) Bar return o } +func (o BarrierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Barrier] { + return pulumix.Output[*Barrier]{ + OutputState: o.OutputState, + } +} + func (o BarrierPtrOutput) Elem() BarrierOutput { return o.ApplyT(func(v *Barrier) Barrier { if v != nil { @@ -997,6 +1154,12 @@ func (o BarrierResponseOutput) ToBarrierResponseOutputWithContext(ctx context.Co return o } +func (o BarrierResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BarrierResponse] { + return pulumix.Output[BarrierResponse]{ + OutputState: o.OutputState, + } +} + // Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier. func (o BarrierResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v BarrierResponse) string { return v.Name }).(pulumi.StringOutput) @@ -1045,6 +1208,12 @@ func (i ComputeResourceArgs) ToComputeResourceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ComputeResourceOutput) } +func (i ComputeResourceArgs) ToOutput(ctx context.Context) pulumix.Output[ComputeResource] { + return pulumix.Output[ComputeResource]{ + OutputState: i.ToComputeResourceOutputWithContext(ctx).OutputState, + } +} + func (i ComputeResourceArgs) ToComputeResourcePtrOutput() ComputeResourcePtrOutput { return i.ToComputeResourcePtrOutputWithContext(context.Background()) } @@ -1086,6 +1255,12 @@ func (i *computeResourcePtrType) ToComputeResourcePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ComputeResourcePtrOutput) } +func (i *computeResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*ComputeResource] { + return pulumix.Output[*ComputeResource]{ + OutputState: i.ToComputeResourcePtrOutputWithContext(ctx).OutputState, + } +} + // Compute resource requirements type ComputeResourceOutput struct{ *pulumi.OutputState } @@ -1111,6 +1286,12 @@ func (o ComputeResourceOutput) ToComputeResourcePtrOutputWithContext(ctx context }).(ComputeResourcePtrOutput) } +func (o ComputeResourceOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeResource] { + return pulumix.Output[ComputeResource]{ + OutputState: o.OutputState, + } +} + // Extra boot disk size in MiB for each task. func (o ComputeResourceOutput) BootDiskMib() pulumi.StringPtrOutput { return o.ApplyT(func(v ComputeResource) *string { return v.BootDiskMib }).(pulumi.StringPtrOutput) @@ -1140,6 +1321,12 @@ func (o ComputeResourcePtrOutput) ToComputeResourcePtrOutputWithContext(ctx cont return o } +func (o ComputeResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeResource] { + return pulumix.Output[*ComputeResource]{ + OutputState: o.OutputState, + } +} + func (o ComputeResourcePtrOutput) Elem() ComputeResourceOutput { return o.ApplyT(func(v *ComputeResource) ComputeResource { if v != nil { @@ -1205,6 +1392,12 @@ func (o ComputeResourceResponseOutput) ToComputeResourceResponseOutputWithContex return o } +func (o ComputeResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeResourceResponse] { + return pulumix.Output[ComputeResourceResponse]{ + OutputState: o.OutputState, + } +} + // Extra boot disk size in MiB for each task. func (o ComputeResourceResponseOutput) BootDiskMib() pulumi.StringOutput { return o.ApplyT(func(v ComputeResourceResponse) string { return v.BootDiskMib }).(pulumi.StringOutput) @@ -1283,6 +1476,12 @@ func (i ContainerArgs) ToContainerOutputWithContext(ctx context.Context) Contain return pulumi.ToOutputWithContext(ctx, i).(ContainerOutput) } +func (i ContainerArgs) ToOutput(ctx context.Context) pulumix.Output[Container] { + return pulumix.Output[Container]{ + OutputState: i.ToContainerOutputWithContext(ctx).OutputState, + } +} + func (i ContainerArgs) ToContainerPtrOutput() ContainerPtrOutput { return i.ToContainerPtrOutputWithContext(context.Background()) } @@ -1324,6 +1523,12 @@ func (i *containerPtrType) ToContainerPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ContainerPtrOutput) } +func (i *containerPtrType) ToOutput(ctx context.Context) pulumix.Output[*Container] { + return pulumix.Output[*Container]{ + OutputState: i.ToContainerPtrOutputWithContext(ctx).OutputState, + } +} + // Container runnable. type ContainerOutput struct{ *pulumi.OutputState } @@ -1349,6 +1554,12 @@ func (o ContainerOutput) ToContainerPtrOutputWithContext(ctx context.Context) Co }).(ContainerPtrOutput) } +func (o ContainerOutput) ToOutput(ctx context.Context) pulumix.Output[Container] { + return pulumix.Output[Container]{ + OutputState: o.OutputState, + } +} + // If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the `container.options` field. func (o ContainerOutput) BlockExternalNetwork() pulumi.BoolPtrOutput { return o.ApplyT(func(v Container) *bool { return v.BlockExternalNetwork }).(pulumi.BoolPtrOutput) @@ -1403,6 +1614,12 @@ func (o ContainerPtrOutput) ToContainerPtrOutputWithContext(ctx context.Context) return o } +func (o ContainerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Container] { + return pulumix.Output[*Container]{ + OutputState: o.OutputState, + } +} + func (o ContainerPtrOutput) Elem() ContainerOutput { return o.ApplyT(func(v *Container) Container { if v != nil { @@ -1528,6 +1745,12 @@ func (o ContainerResponseOutput) ToContainerResponseOutputWithContext(ctx contex return o } +func (o ContainerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerResponse] { + return pulumix.Output[ContainerResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the `container.options` field. func (o ContainerResponseOutput) BlockExternalNetwork() pulumi.BoolOutput { return o.ApplyT(func(v ContainerResponse) bool { return v.BlockExternalNetwork }).(pulumi.BoolOutput) @@ -1619,6 +1842,12 @@ func (i DiskArgs) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return pulumi.ToOutputWithContext(ctx, i).(DiskOutput) } +func (i DiskArgs) ToOutput(ctx context.Context) pulumix.Output[Disk] { + return pulumix.Output[Disk]{ + OutputState: i.ToDiskOutputWithContext(ctx).OutputState, + } +} + func (i DiskArgs) ToDiskPtrOutput() DiskPtrOutput { return i.ToDiskPtrOutputWithContext(context.Background()) } @@ -1660,6 +1889,12 @@ func (i *diskPtrType) ToDiskPtrOutputWithContext(ctx context.Context) DiskPtrOut return pulumi.ToOutputWithContext(ctx, i).(DiskPtrOutput) } +func (i *diskPtrType) ToOutput(ctx context.Context) pulumix.Output[*Disk] { + return pulumix.Output[*Disk]{ + OutputState: i.ToDiskPtrOutputWithContext(ctx).OutputState, + } +} + // A new persistent disk or a local ssd. A VM can only have one local SSD setting but multiple local SSD partitions. See https://cloud.google.com/compute/docs/disks#pdspecs and https://cloud.google.com/compute/docs/disks#localssds. type DiskOutput struct{ *pulumi.OutputState } @@ -1685,6 +1920,12 @@ func (o DiskOutput) ToDiskPtrOutputWithContext(ctx context.Context) DiskPtrOutpu }).(DiskPtrOutput) } +func (o DiskOutput) ToOutput(ctx context.Context) pulumix.Output[Disk] { + return pulumix.Output[Disk]{ + OutputState: o.OutputState, + } +} + // Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. We only support "SCSI" for persistent disks now. func (o DiskOutput) DiskInterface() pulumi.StringPtrOutput { return o.ApplyT(func(v Disk) *string { return v.DiskInterface }).(pulumi.StringPtrOutput) @@ -1724,6 +1965,12 @@ func (o DiskPtrOutput) ToDiskPtrOutputWithContext(ctx context.Context) DiskPtrOu return o } +func (o DiskPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Disk] { + return pulumix.Output[*Disk]{ + OutputState: o.OutputState, + } +} + func (o DiskPtrOutput) Elem() DiskOutput { return o.ApplyT(func(v *Disk) Disk { if v != nil { @@ -1813,6 +2060,12 @@ func (o DiskResponseOutput) ToDiskResponseOutputWithContext(ctx context.Context) return o } +func (o DiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskResponse] { + return pulumix.Output[DiskResponse]{ + OutputState: o.OutputState, + } +} + // Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. We only support "SCSI" for persistent disks now. func (o DiskResponseOutput) DiskInterface() pulumi.StringOutput { return o.ApplyT(func(v DiskResponse) string { return v.DiskInterface }).(pulumi.StringOutput) @@ -1881,6 +2134,12 @@ func (i EnvironmentArgs) ToEnvironmentOutputWithContext(ctx context.Context) Env return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i EnvironmentArgs) ToOutput(ctx context.Context) pulumix.Output[Environment] { + return pulumix.Output[Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + func (i EnvironmentArgs) ToEnvironmentPtrOutput() EnvironmentPtrOutput { return i.ToEnvironmentPtrOutputWithContext(context.Background()) } @@ -1922,6 +2181,12 @@ func (i *environmentPtrType) ToEnvironmentPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(EnvironmentPtrOutput) } +func (i *environmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. // You can construct a concrete instance of `EnvironmentArrayInput` via: // @@ -1947,6 +2212,12 @@ func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(EnvironmentArrayOutput) } +func (i EnvironmentArray) ToOutput(ctx context.Context) pulumix.Output[[]Environment] { + return pulumix.Output[[]Environment]{ + OutputState: i.ToEnvironmentArrayOutputWithContext(ctx).OutputState, + } +} + // An Environment describes a collection of environment variables to set when executing Tasks. type EnvironmentOutput struct{ *pulumi.OutputState } @@ -1972,6 +2243,12 @@ func (o EnvironmentOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context }).(EnvironmentPtrOutput) } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[Environment] { + return pulumix.Output[Environment]{ + OutputState: o.OutputState, + } +} + // An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values. func (o EnvironmentOutput) EncryptedVariables() KMSEnvMapPtrOutput { return o.ApplyT(func(v Environment) *KMSEnvMap { return v.EncryptedVariables }).(KMSEnvMapPtrOutput) @@ -2001,6 +2278,12 @@ func (o EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext(ctx context.Cont return o } +func (o EnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentPtrOutput) Elem() EnvironmentOutput { return o.ApplyT(func(v *Environment) Environment { if v != nil { @@ -2055,6 +2338,12 @@ func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context. return o } +func (o EnvironmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Environment] { + return pulumix.Output[[]Environment]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Environment { return vs[0].([]Environment)[vs[1].(int)] @@ -2086,6 +2375,12 @@ func (o EnvironmentResponseOutput) ToEnvironmentResponseOutputWithContext(ctx co return o } +func (o EnvironmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentResponse] { + return pulumix.Output[EnvironmentResponse]{ + OutputState: o.OutputState, + } +} + // An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values. func (o EnvironmentResponseOutput) EncryptedVariables() KMSEnvMapResponseOutput { return o.ApplyT(func(v EnvironmentResponse) KMSEnvMapResponse { return v.EncryptedVariables }).(KMSEnvMapResponseOutput) @@ -2115,6 +2410,12 @@ func (o EnvironmentResponseArrayOutput) ToEnvironmentResponseArrayOutputWithCont return o } +func (o EnvironmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvironmentResponse] { + return pulumix.Output[[]EnvironmentResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentResponseArrayOutput) Index(i pulumi.IntInput) EnvironmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvironmentResponse { return vs[0].([]EnvironmentResponse)[vs[1].(int)] @@ -2156,6 +2457,12 @@ func (i GCSArgs) ToGCSOutputWithContext(ctx context.Context) GCSOutput { return pulumi.ToOutputWithContext(ctx, i).(GCSOutput) } +func (i GCSArgs) ToOutput(ctx context.Context) pulumix.Output[GCS] { + return pulumix.Output[GCS]{ + OutputState: i.ToGCSOutputWithContext(ctx).OutputState, + } +} + func (i GCSArgs) ToGCSPtrOutput() GCSPtrOutput { return i.ToGCSPtrOutputWithContext(context.Background()) } @@ -2197,6 +2504,12 @@ func (i *gcsPtrType) ToGCSPtrOutputWithContext(ctx context.Context) GCSPtrOutput return pulumi.ToOutputWithContext(ctx, i).(GCSPtrOutput) } +func (i *gcsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GCS] { + return pulumix.Output[*GCS]{ + OutputState: i.ToGCSPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Google Cloud Storage volume. type GCSOutput struct{ *pulumi.OutputState } @@ -2222,6 +2535,12 @@ func (o GCSOutput) ToGCSPtrOutputWithContext(ctx context.Context) GCSPtrOutput { }).(GCSPtrOutput) } +func (o GCSOutput) ToOutput(ctx context.Context) pulumix.Output[GCS] { + return pulumix.Output[GCS]{ + OutputState: o.OutputState, + } +} + // Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/ func (o GCSOutput) RemotePath() pulumi.StringPtrOutput { return o.ApplyT(func(v GCS) *string { return v.RemotePath }).(pulumi.StringPtrOutput) @@ -2241,6 +2560,12 @@ func (o GCSPtrOutput) ToGCSPtrOutputWithContext(ctx context.Context) GCSPtrOutpu return o } +func (o GCSPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GCS] { + return pulumix.Output[*GCS]{ + OutputState: o.OutputState, + } +} + func (o GCSPtrOutput) Elem() GCSOutput { return o.ApplyT(func(v *GCS) GCS { if v != nil { @@ -2282,6 +2607,12 @@ func (o GCSResponseOutput) ToGCSResponseOutputWithContext(ctx context.Context) G return o } +func (o GCSResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GCSResponse] { + return pulumix.Output[GCSResponse]{ + OutputState: o.OutputState, + } +} + // Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/ func (o GCSResponseOutput) RemotePath() pulumi.StringOutput { return o.ApplyT(func(v GCSResponse) string { return v.RemotePath }).(pulumi.StringOutput) @@ -2342,6 +2673,12 @@ func (i InstancePolicyArgs) ToInstancePolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(InstancePolicyOutput) } +func (i InstancePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstancePolicy] { + return pulumix.Output[InstancePolicy]{ + OutputState: i.ToInstancePolicyOutputWithContext(ctx).OutputState, + } +} + func (i InstancePolicyArgs) ToInstancePolicyPtrOutput() InstancePolicyPtrOutput { return i.ToInstancePolicyPtrOutputWithContext(context.Background()) } @@ -2383,6 +2720,12 @@ func (i *instancePolicyPtrType) ToInstancePolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(InstancePolicyPtrOutput) } +func (i *instancePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstancePolicy] { + return pulumix.Output[*InstancePolicy]{ + OutputState: i.ToInstancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy. type InstancePolicyOutput struct{ *pulumi.OutputState } @@ -2408,6 +2751,12 @@ func (o InstancePolicyOutput) ToInstancePolicyPtrOutputWithContext(ctx context.C }).(InstancePolicyPtrOutput) } +func (o InstancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePolicy] { + return pulumix.Output[InstancePolicy]{ + OutputState: o.OutputState, + } +} + // The accelerators attached to each VM instance. func (o InstancePolicyOutput) Accelerators() AcceleratorArrayOutput { return o.ApplyT(func(v InstancePolicy) []Accelerator { return v.Accelerators }).(AcceleratorArrayOutput) @@ -2452,6 +2801,12 @@ func (o InstancePolicyPtrOutput) ToInstancePolicyPtrOutputWithContext(ctx contex return o } +func (o InstancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePolicy] { + return pulumix.Output[*InstancePolicy]{ + OutputState: o.OutputState, + } +} + func (o InstancePolicyPtrOutput) Elem() InstancePolicyOutput { return o.ApplyT(func(v *InstancePolicy) InstancePolicy { if v != nil { @@ -2565,6 +2920,12 @@ func (i InstancePolicyOrTemplateArgs) ToInstancePolicyOrTemplateOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(InstancePolicyOrTemplateOutput) } +func (i InstancePolicyOrTemplateArgs) ToOutput(ctx context.Context) pulumix.Output[InstancePolicyOrTemplate] { + return pulumix.Output[InstancePolicyOrTemplate]{ + OutputState: i.ToInstancePolicyOrTemplateOutputWithContext(ctx).OutputState, + } +} + // InstancePolicyOrTemplateArrayInput is an input type that accepts InstancePolicyOrTemplateArray and InstancePolicyOrTemplateArrayOutput values. // You can construct a concrete instance of `InstancePolicyOrTemplateArrayInput` via: // @@ -2590,6 +2951,12 @@ func (i InstancePolicyOrTemplateArray) ToInstancePolicyOrTemplateArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(InstancePolicyOrTemplateArrayOutput) } +func (i InstancePolicyOrTemplateArray) ToOutput(ctx context.Context) pulumix.Output[[]InstancePolicyOrTemplate] { + return pulumix.Output[[]InstancePolicyOrTemplate]{ + OutputState: i.ToInstancePolicyOrTemplateArrayOutputWithContext(ctx).OutputState, + } +} + // Either an InstancePolicy or an instance template. type InstancePolicyOrTemplateOutput struct{ *pulumi.OutputState } @@ -2605,6 +2972,12 @@ func (o InstancePolicyOrTemplateOutput) ToInstancePolicyOrTemplateOutputWithCont return o } +func (o InstancePolicyOrTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePolicyOrTemplate] { + return pulumix.Output[InstancePolicyOrTemplate]{ + OutputState: o.OutputState, + } +} + // Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. func (o InstancePolicyOrTemplateOutput) InstallGpuDrivers() pulumi.BoolPtrOutput { return o.ApplyT(func(v InstancePolicyOrTemplate) *bool { return v.InstallGpuDrivers }).(pulumi.BoolPtrOutput) @@ -2634,6 +3007,12 @@ func (o InstancePolicyOrTemplateArrayOutput) ToInstancePolicyOrTemplateArrayOutp return o } +func (o InstancePolicyOrTemplateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstancePolicyOrTemplate] { + return pulumix.Output[[]InstancePolicyOrTemplate]{ + OutputState: o.OutputState, + } +} + func (o InstancePolicyOrTemplateArrayOutput) Index(i pulumi.IntInput) InstancePolicyOrTemplateOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstancePolicyOrTemplate { return vs[0].([]InstancePolicyOrTemplate)[vs[1].(int)] @@ -2665,6 +3044,12 @@ func (o InstancePolicyOrTemplateResponseOutput) ToInstancePolicyOrTemplateRespon return o } +func (o InstancePolicyOrTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePolicyOrTemplateResponse] { + return pulumix.Output[InstancePolicyOrTemplateResponse]{ + OutputState: o.OutputState, + } +} + // Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. func (o InstancePolicyOrTemplateResponseOutput) InstallGpuDrivers() pulumi.BoolOutput { return o.ApplyT(func(v InstancePolicyOrTemplateResponse) bool { return v.InstallGpuDrivers }).(pulumi.BoolOutput) @@ -2694,6 +3079,12 @@ func (o InstancePolicyOrTemplateResponseArrayOutput) ToInstancePolicyOrTemplateR return o } +func (o InstancePolicyOrTemplateResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstancePolicyOrTemplateResponse] { + return pulumix.Output[[]InstancePolicyOrTemplateResponse]{ + OutputState: o.OutputState, + } +} + func (o InstancePolicyOrTemplateResponseArrayOutput) Index(i pulumi.IntInput) InstancePolicyOrTemplateResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstancePolicyOrTemplateResponse { return vs[0].([]InstancePolicyOrTemplateResponse)[vs[1].(int)] @@ -2731,6 +3122,12 @@ func (o InstancePolicyResponseOutput) ToInstancePolicyResponseOutputWithContext( return o } +func (o InstancePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePolicyResponse] { + return pulumix.Output[InstancePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The accelerators attached to each VM instance. func (o InstancePolicyResponseOutput) Accelerators() AcceleratorResponseArrayOutput { return o.ApplyT(func(v InstancePolicyResponse) []AcceleratorResponse { return v.Accelerators }).(AcceleratorResponseArrayOutput) @@ -2800,6 +3197,12 @@ func (i JobNotificationArgs) ToJobNotificationOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(JobNotificationOutput) } +func (i JobNotificationArgs) ToOutput(ctx context.Context) pulumix.Output[JobNotification] { + return pulumix.Output[JobNotification]{ + OutputState: i.ToJobNotificationOutputWithContext(ctx).OutputState, + } +} + // JobNotificationArrayInput is an input type that accepts JobNotificationArray and JobNotificationArrayOutput values. // You can construct a concrete instance of `JobNotificationArrayInput` via: // @@ -2825,6 +3228,12 @@ func (i JobNotificationArray) ToJobNotificationArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(JobNotificationArrayOutput) } +func (i JobNotificationArray) ToOutput(ctx context.Context) pulumix.Output[[]JobNotification] { + return pulumix.Output[[]JobNotification]{ + OutputState: i.ToJobNotificationArrayOutputWithContext(ctx).OutputState, + } +} + // Notification configurations. type JobNotificationOutput struct{ *pulumi.OutputState } @@ -2840,6 +3249,12 @@ func (o JobNotificationOutput) ToJobNotificationOutputWithContext(ctx context.Co return o } +func (o JobNotificationOutput) ToOutput(ctx context.Context) pulumix.Output[JobNotification] { + return pulumix.Output[JobNotification]{ + OutputState: o.OutputState, + } +} + // The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent. func (o JobNotificationOutput) Message() MessagePtrOutput { return o.ApplyT(func(v JobNotification) *Message { return v.Message }).(MessagePtrOutput) @@ -2864,6 +3279,12 @@ func (o JobNotificationArrayOutput) ToJobNotificationArrayOutputWithContext(ctx return o } +func (o JobNotificationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobNotification] { + return pulumix.Output[[]JobNotification]{ + OutputState: o.OutputState, + } +} + func (o JobNotificationArrayOutput) Index(i pulumi.IntInput) JobNotificationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobNotification { return vs[0].([]JobNotification)[vs[1].(int)] @@ -2893,6 +3314,12 @@ func (o JobNotificationResponseOutput) ToJobNotificationResponseOutputWithContex return o } +func (o JobNotificationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobNotificationResponse] { + return pulumix.Output[JobNotificationResponse]{ + OutputState: o.OutputState, + } +} + // The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent. func (o JobNotificationResponseOutput) Message() MessageResponseOutput { return o.ApplyT(func(v JobNotificationResponse) MessageResponse { return v.Message }).(MessageResponseOutput) @@ -2917,6 +3344,12 @@ func (o JobNotificationResponseArrayOutput) ToJobNotificationResponseArrayOutput return o } +func (o JobNotificationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobNotificationResponse] { + return pulumix.Output[[]JobNotificationResponse]{ + OutputState: o.OutputState, + } +} + func (o JobNotificationResponseArrayOutput) Index(i pulumi.IntInput) JobNotificationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobNotificationResponse { return vs[0].([]JobNotificationResponse)[vs[1].(int)] @@ -2950,6 +3383,12 @@ func (o JobStatusResponseOutput) ToJobStatusResponseOutputWithContext(ctx contex return o } +func (o JobStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatusResponse] { + return pulumix.Output[JobStatusResponse]{ + OutputState: o.OutputState, + } +} + // The duration of time that the Job spent in status RUNNING. func (o JobStatusResponseOutput) RunDuration() pulumi.StringOutput { return o.ApplyT(func(v JobStatusResponse) string { return v.RunDuration }).(pulumi.StringOutput) @@ -3007,6 +3446,12 @@ func (i KMSEnvMapArgs) ToKMSEnvMapOutputWithContext(ctx context.Context) KMSEnvM return pulumi.ToOutputWithContext(ctx, i).(KMSEnvMapOutput) } +func (i KMSEnvMapArgs) ToOutput(ctx context.Context) pulumix.Output[KMSEnvMap] { + return pulumix.Output[KMSEnvMap]{ + OutputState: i.ToKMSEnvMapOutputWithContext(ctx).OutputState, + } +} + func (i KMSEnvMapArgs) ToKMSEnvMapPtrOutput() KMSEnvMapPtrOutput { return i.ToKMSEnvMapPtrOutputWithContext(context.Background()) } @@ -3048,6 +3493,12 @@ func (i *kmsenvMapPtrType) ToKMSEnvMapPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(KMSEnvMapPtrOutput) } +func (i *kmsenvMapPtrType) ToOutput(ctx context.Context) pulumix.Output[*KMSEnvMap] { + return pulumix.Output[*KMSEnvMap]{ + OutputState: i.ToKMSEnvMapPtrOutputWithContext(ctx).OutputState, + } +} + type KMSEnvMapOutput struct{ *pulumi.OutputState } func (KMSEnvMapOutput) ElementType() reflect.Type { @@ -3072,6 +3523,12 @@ func (o KMSEnvMapOutput) ToKMSEnvMapPtrOutputWithContext(ctx context.Context) KM }).(KMSEnvMapPtrOutput) } +func (o KMSEnvMapOutput) ToOutput(ctx context.Context) pulumix.Output[KMSEnvMap] { + return pulumix.Output[KMSEnvMap]{ + OutputState: o.OutputState, + } +} + // The value of the cipherText response from the `encrypt` method. func (o KMSEnvMapOutput) CipherText() pulumi.StringPtrOutput { return o.ApplyT(func(v KMSEnvMap) *string { return v.CipherText }).(pulumi.StringPtrOutput) @@ -3096,6 +3553,12 @@ func (o KMSEnvMapPtrOutput) ToKMSEnvMapPtrOutputWithContext(ctx context.Context) return o } +func (o KMSEnvMapPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KMSEnvMap] { + return pulumix.Output[*KMSEnvMap]{ + OutputState: o.OutputState, + } +} + func (o KMSEnvMapPtrOutput) Elem() KMSEnvMapOutput { return o.ApplyT(func(v *KMSEnvMap) KMSEnvMap { if v != nil { @@ -3147,6 +3610,12 @@ func (o KMSEnvMapResponseOutput) ToKMSEnvMapResponseOutputWithContext(ctx contex return o } +func (o KMSEnvMapResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KMSEnvMapResponse] { + return pulumix.Output[KMSEnvMapResponse]{ + OutputState: o.OutputState, + } +} + // The value of the cipherText response from the `encrypt` method. func (o KMSEnvMapResponseOutput) CipherText() pulumi.StringOutput { return o.ApplyT(func(v KMSEnvMapResponse) string { return v.CipherText }).(pulumi.StringOutput) @@ -3196,6 +3665,12 @@ func (i LifecyclePolicyArgs) ToLifecyclePolicyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(LifecyclePolicyOutput) } +func (i LifecyclePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[LifecyclePolicy] { + return pulumix.Output[LifecyclePolicy]{ + OutputState: i.ToLifecyclePolicyOutputWithContext(ctx).OutputState, + } +} + // LifecyclePolicyArrayInput is an input type that accepts LifecyclePolicyArray and LifecyclePolicyArrayOutput values. // You can construct a concrete instance of `LifecyclePolicyArrayInput` via: // @@ -3221,6 +3696,12 @@ func (i LifecyclePolicyArray) ToLifecyclePolicyArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(LifecyclePolicyArrayOutput) } +func (i LifecyclePolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]LifecyclePolicy] { + return pulumix.Output[[]LifecyclePolicy]{ + OutputState: i.ToLifecyclePolicyArrayOutputWithContext(ctx).OutputState, + } +} + // LifecyclePolicy describes how to deal with task failures based on different conditions. type LifecyclePolicyOutput struct{ *pulumi.OutputState } @@ -3236,6 +3717,12 @@ func (o LifecyclePolicyOutput) ToLifecyclePolicyOutputWithContext(ctx context.Co return o } +func (o LifecyclePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[LifecyclePolicy] { + return pulumix.Output[LifecyclePolicy]{ + OutputState: o.OutputState, + } +} + // Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found. func (o LifecyclePolicyOutput) Action() LifecyclePolicyActionPtrOutput { return o.ApplyT(func(v LifecyclePolicy) *LifecyclePolicyAction { return v.Action }).(LifecyclePolicyActionPtrOutput) @@ -3260,6 +3747,12 @@ func (o LifecyclePolicyArrayOutput) ToLifecyclePolicyArrayOutputWithContext(ctx return o } +func (o LifecyclePolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LifecyclePolicy] { + return pulumix.Output[[]LifecyclePolicy]{ + OutputState: o.OutputState, + } +} + func (o LifecyclePolicyArrayOutput) Index(i pulumi.IntInput) LifecyclePolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LifecyclePolicy { return vs[0].([]LifecyclePolicy)[vs[1].(int)] @@ -3289,6 +3782,12 @@ func (o LifecyclePolicyResponseOutput) ToLifecyclePolicyResponseOutputWithContex return o } +func (o LifecyclePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LifecyclePolicyResponse] { + return pulumix.Output[LifecyclePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found. func (o LifecyclePolicyResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v LifecyclePolicyResponse) string { return v.Action }).(pulumi.StringOutput) @@ -3313,6 +3812,12 @@ func (o LifecyclePolicyResponseArrayOutput) ToLifecyclePolicyResponseArrayOutput return o } +func (o LifecyclePolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LifecyclePolicyResponse] { + return pulumix.Output[[]LifecyclePolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o LifecyclePolicyResponseArrayOutput) Index(i pulumi.IntInput) LifecyclePolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LifecyclePolicyResponse { return vs[0].([]LifecyclePolicyResponse)[vs[1].(int)] @@ -3352,6 +3857,12 @@ func (i LocationPolicyArgs) ToLocationPolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(LocationPolicyOutput) } +func (i LocationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[LocationPolicy] { + return pulumix.Output[LocationPolicy]{ + OutputState: i.ToLocationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i LocationPolicyArgs) ToLocationPolicyPtrOutput() LocationPolicyPtrOutput { return i.ToLocationPolicyPtrOutputWithContext(context.Background()) } @@ -3393,6 +3904,12 @@ func (i *locationPolicyPtrType) ToLocationPolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(LocationPolicyPtrOutput) } +func (i *locationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*LocationPolicy] { + return pulumix.Output[*LocationPolicy]{ + OutputState: i.ToLocationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type LocationPolicyOutput struct{ *pulumi.OutputState } func (LocationPolicyOutput) ElementType() reflect.Type { @@ -3417,6 +3934,12 @@ func (o LocationPolicyOutput) ToLocationPolicyPtrOutputWithContext(ctx context.C }).(LocationPolicyPtrOutput) } +func (o LocationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[LocationPolicy] { + return pulumix.Output[LocationPolicy]{ + OutputState: o.OutputState, + } +} + // A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case. func (o LocationPolicyOutput) AllowedLocations() pulumi.StringArrayOutput { return o.ApplyT(func(v LocationPolicy) []string { return v.AllowedLocations }).(pulumi.StringArrayOutput) @@ -3436,6 +3959,12 @@ func (o LocationPolicyPtrOutput) ToLocationPolicyPtrOutputWithContext(ctx contex return o } +func (o LocationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocationPolicy] { + return pulumix.Output[*LocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o LocationPolicyPtrOutput) Elem() LocationPolicyOutput { return o.ApplyT(func(v *LocationPolicy) LocationPolicy { if v != nil { @@ -3475,6 +4004,12 @@ func (o LocationPolicyResponseOutput) ToLocationPolicyResponseOutputWithContext( return o } +func (o LocationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocationPolicyResponse] { + return pulumix.Output[LocationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case. func (o LocationPolicyResponseOutput) AllowedLocations() pulumi.StringArrayOutput { return o.ApplyT(func(v LocationPolicyResponse) []string { return v.AllowedLocations }).(pulumi.StringArrayOutput) @@ -3519,6 +4054,12 @@ func (i LogsPolicyArgs) ToLogsPolicyOutputWithContext(ctx context.Context) LogsP return pulumi.ToOutputWithContext(ctx, i).(LogsPolicyOutput) } +func (i LogsPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[LogsPolicy] { + return pulumix.Output[LogsPolicy]{ + OutputState: i.ToLogsPolicyOutputWithContext(ctx).OutputState, + } +} + func (i LogsPolicyArgs) ToLogsPolicyPtrOutput() LogsPolicyPtrOutput { return i.ToLogsPolicyPtrOutputWithContext(context.Background()) } @@ -3560,6 +4101,12 @@ func (i *logsPolicyPtrType) ToLogsPolicyPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(LogsPolicyPtrOutput) } +func (i *logsPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogsPolicy] { + return pulumix.Output[*LogsPolicy]{ + OutputState: i.ToLogsPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved. type LogsPolicyOutput struct{ *pulumi.OutputState } @@ -3585,6 +4132,12 @@ func (o LogsPolicyOutput) ToLogsPolicyPtrOutputWithContext(ctx context.Context) }).(LogsPolicyPtrOutput) } +func (o LogsPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[LogsPolicy] { + return pulumix.Output[LogsPolicy]{ + OutputState: o.OutputState, + } +} + // Where logs should be saved. func (o LogsPolicyOutput) Destination() LogsPolicyDestinationPtrOutput { return o.ApplyT(func(v LogsPolicy) *LogsPolicyDestination { return v.Destination }).(LogsPolicyDestinationPtrOutput) @@ -3609,6 +4162,12 @@ func (o LogsPolicyPtrOutput) ToLogsPolicyPtrOutputWithContext(ctx context.Contex return o } +func (o LogsPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogsPolicy] { + return pulumix.Output[*LogsPolicy]{ + OutputState: o.OutputState, + } +} + func (o LogsPolicyPtrOutput) Elem() LogsPolicyOutput { return o.ApplyT(func(v *LogsPolicy) LogsPolicy { if v != nil { @@ -3662,6 +4221,12 @@ func (o LogsPolicyResponseOutput) ToLogsPolicyResponseOutputWithContext(ctx cont return o } +func (o LogsPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogsPolicyResponse] { + return pulumix.Output[LogsPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Where logs should be saved. func (o LogsPolicyResponseOutput) Destination() pulumi.StringOutput { return o.ApplyT(func(v LogsPolicyResponse) string { return v.Destination }).(pulumi.StringOutput) @@ -3715,6 +4280,12 @@ func (i MessageArgs) ToMessageOutputWithContext(ctx context.Context) MessageOutp return pulumi.ToOutputWithContext(ctx, i).(MessageOutput) } +func (i MessageArgs) ToOutput(ctx context.Context) pulumix.Output[Message] { + return pulumix.Output[Message]{ + OutputState: i.ToMessageOutputWithContext(ctx).OutputState, + } +} + func (i MessageArgs) ToMessagePtrOutput() MessagePtrOutput { return i.ToMessagePtrOutputWithContext(context.Background()) } @@ -3756,6 +4327,12 @@ func (i *messagePtrType) ToMessagePtrOutputWithContext(ctx context.Context) Mess return pulumi.ToOutputWithContext(ctx, i).(MessagePtrOutput) } +func (i *messagePtrType) ToOutput(ctx context.Context) pulumix.Output[*Message] { + return pulumix.Output[*Message]{ + OutputState: i.ToMessagePtrOutputWithContext(ctx).OutputState, + } +} + // Message details. Describe the attribute that a message should have. Without specified message attributes, no message will be sent by default. type MessageOutput struct{ *pulumi.OutputState } @@ -3781,6 +4358,12 @@ func (o MessageOutput) ToMessagePtrOutputWithContext(ctx context.Context) Messag }).(MessagePtrOutput) } +func (o MessageOutput) ToOutput(ctx context.Context) pulumix.Output[Message] { + return pulumix.Output[Message]{ + OutputState: o.OutputState, + } +} + // The new job state. func (o MessageOutput) NewJobState() MessageNewJobStatePtrOutput { return o.ApplyT(func(v Message) *MessageNewJobState { return v.NewJobState }).(MessageNewJobStatePtrOutput) @@ -3810,6 +4393,12 @@ func (o MessagePtrOutput) ToMessagePtrOutputWithContext(ctx context.Context) Mes return o } +func (o MessagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Message] { + return pulumix.Output[*Message]{ + OutputState: o.OutputState, + } +} + func (o MessagePtrOutput) Elem() MessageOutput { return o.ApplyT(func(v *Message) Message { if v != nil { @@ -3875,6 +4464,12 @@ func (o MessageResponseOutput) ToMessageResponseOutputWithContext(ctx context.Co return o } +func (o MessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MessageResponse] { + return pulumix.Output[MessageResponse]{ + OutputState: o.OutputState, + } +} + // The new job state. func (o MessageResponseOutput) NewJobState() pulumi.StringOutput { return o.ApplyT(func(v MessageResponse) string { return v.NewJobState }).(pulumi.StringOutput) @@ -3929,6 +4524,12 @@ func (i NFSArgs) ToNFSOutputWithContext(ctx context.Context) NFSOutput { return pulumi.ToOutputWithContext(ctx, i).(NFSOutput) } +func (i NFSArgs) ToOutput(ctx context.Context) pulumix.Output[NFS] { + return pulumix.Output[NFS]{ + OutputState: i.ToNFSOutputWithContext(ctx).OutputState, + } +} + func (i NFSArgs) ToNFSPtrOutput() NFSPtrOutput { return i.ToNFSPtrOutputWithContext(context.Background()) } @@ -3970,6 +4571,12 @@ func (i *nfsPtrType) ToNFSPtrOutputWithContext(ctx context.Context) NFSPtrOutput return pulumi.ToOutputWithContext(ctx, i).(NFSPtrOutput) } +func (i *nfsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NFS] { + return pulumix.Output[*NFS]{ + OutputState: i.ToNFSPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an NFS volume. type NFSOutput struct{ *pulumi.OutputState } @@ -3995,6 +4602,12 @@ func (o NFSOutput) ToNFSPtrOutputWithContext(ctx context.Context) NFSPtrOutput { }).(NFSPtrOutput) } +func (o NFSOutput) ToOutput(ctx context.Context) pulumix.Output[NFS] { + return pulumix.Output[NFS]{ + OutputState: o.OutputState, + } +} + // Remote source path exported from the NFS, e.g., "/share". func (o NFSOutput) RemotePath() pulumi.StringPtrOutput { return o.ApplyT(func(v NFS) *string { return v.RemotePath }).(pulumi.StringPtrOutput) @@ -4019,6 +4632,12 @@ func (o NFSPtrOutput) ToNFSPtrOutputWithContext(ctx context.Context) NFSPtrOutpu return o } +func (o NFSPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NFS] { + return pulumix.Output[*NFS]{ + OutputState: o.OutputState, + } +} + func (o NFSPtrOutput) Elem() NFSOutput { return o.ApplyT(func(v *NFS) NFS { if v != nil { @@ -4072,6 +4691,12 @@ func (o NFSResponseOutput) ToNFSResponseOutputWithContext(ctx context.Context) N return o } +func (o NFSResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NFSResponse] { + return pulumix.Output[NFSResponse]{ + OutputState: o.OutputState, + } +} + // Remote source path exported from the NFS, e.g., "/share". func (o NFSResponseOutput) RemotePath() pulumi.StringOutput { return o.ApplyT(func(v NFSResponse) string { return v.RemotePath }).(pulumi.StringOutput) @@ -4125,6 +4750,12 @@ func (i NetworkInterfaceArgs) ToNetworkInterfaceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceOutput) } +func (i NetworkInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: i.ToNetworkInterfaceOutputWithContext(ctx).OutputState, + } +} + // NetworkInterfaceArrayInput is an input type that accepts NetworkInterfaceArray and NetworkInterfaceArrayOutput values. // You can construct a concrete instance of `NetworkInterfaceArrayInput` via: // @@ -4150,6 +4781,12 @@ func (i NetworkInterfaceArray) ToNetworkInterfaceArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceArrayOutput) } +func (i NetworkInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: i.ToNetworkInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // A network interface. type NetworkInterfaceOutput struct{ *pulumi.OutputState } @@ -4165,6 +4802,12 @@ func (o NetworkInterfaceOutput) ToNetworkInterfaceOutputWithContext(ctx context. return o } +func (o NetworkInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: o.OutputState, + } +} + // The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network} func (o NetworkInterfaceOutput) Network() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkInterface) *string { return v.Network }).(pulumi.StringPtrOutput) @@ -4194,6 +4837,12 @@ func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext(ct return o } +func (o NetworkInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterface { return vs[0].([]NetworkInterface)[vs[1].(int)] @@ -4225,6 +4874,12 @@ func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutputWithCont return o } +func (o NetworkInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceResponse] { + return pulumix.Output[NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network} func (o NetworkInterfaceResponseOutput) Network() pulumi.StringOutput { return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.Network }).(pulumi.StringOutput) @@ -4254,6 +4909,12 @@ func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutp return o } +func (o NetworkInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterfaceResponse] { + return pulumix.Output[[]NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceResponse { return vs[0].([]NetworkInterfaceResponse)[vs[1].(int)] @@ -4295,6 +4956,12 @@ func (i NetworkPolicyArgs) ToNetworkPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyOutput) } +func (i NetworkPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicy] { + return pulumix.Output[NetworkPolicy]{ + OutputState: i.ToNetworkPolicyOutputWithContext(ctx).OutputState, + } +} + func (i NetworkPolicyArgs) ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput { return i.ToNetworkPolicyPtrOutputWithContext(context.Background()) } @@ -4336,6 +5003,12 @@ func (i *networkPolicyPtrType) ToNetworkPolicyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyPtrOutput) } +func (i *networkPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicy] { + return pulumix.Output[*NetworkPolicy]{ + OutputState: i.ToNetworkPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // NetworkPolicy describes VM instance network configurations. type NetworkPolicyOutput struct{ *pulumi.OutputState } @@ -4361,6 +5034,12 @@ func (o NetworkPolicyOutput) ToNetworkPolicyPtrOutputWithContext(ctx context.Con }).(NetworkPolicyPtrOutput) } +func (o NetworkPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicy] { + return pulumix.Output[NetworkPolicy]{ + OutputState: o.OutputState, + } +} + // Network configurations. func (o NetworkPolicyOutput) NetworkInterfaces() NetworkInterfaceArrayOutput { return o.ApplyT(func(v NetworkPolicy) []NetworkInterface { return v.NetworkInterfaces }).(NetworkInterfaceArrayOutput) @@ -4380,6 +5059,12 @@ func (o NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutputWithContext(ctx context. return o } +func (o NetworkPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicy] { + return pulumix.Output[*NetworkPolicy]{ + OutputState: o.OutputState, + } +} + func (o NetworkPolicyPtrOutput) Elem() NetworkPolicyOutput { return o.ApplyT(func(v *NetworkPolicy) NetworkPolicy { if v != nil { @@ -4421,6 +5106,12 @@ func (o NetworkPolicyResponseOutput) ToNetworkPolicyResponseOutputWithContext(ct return o } +func (o NetworkPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyResponse] { + return pulumix.Output[NetworkPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Network configurations. func (o NetworkPolicyResponseOutput) NetworkInterfaces() NetworkInterfaceResponseArrayOutput { return o.ApplyT(func(v NetworkPolicyResponse) []NetworkInterfaceResponse { return v.NetworkInterfaces }).(NetworkInterfaceResponseArrayOutput) @@ -4465,6 +5156,12 @@ func (i PlacementPolicyArgs) ToPlacementPolicyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PlacementPolicyOutput) } +func (i PlacementPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicy] { + return pulumix.Output[PlacementPolicy]{ + OutputState: i.ToPlacementPolicyOutputWithContext(ctx).OutputState, + } +} + func (i PlacementPolicyArgs) ToPlacementPolicyPtrOutput() PlacementPolicyPtrOutput { return i.ToPlacementPolicyPtrOutputWithContext(context.Background()) } @@ -4506,6 +5203,12 @@ func (i *placementPolicyPtrType) ToPlacementPolicyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(PlacementPolicyPtrOutput) } +func (i *placementPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*PlacementPolicy] { + return pulumix.Output[*PlacementPolicy]{ + OutputState: i.ToPlacementPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // PlacementPolicy describes a group placement policy for the VMs controlled by this AllocationPolicy. type PlacementPolicyOutput struct{ *pulumi.OutputState } @@ -4531,6 +5234,12 @@ func (o PlacementPolicyOutput) ToPlacementPolicyPtrOutputWithContext(ctx context }).(PlacementPolicyPtrOutput) } +func (o PlacementPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicy] { + return pulumix.Output[PlacementPolicy]{ + OutputState: o.OutputState, + } +} + // UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED. func (o PlacementPolicyOutput) Collocation() pulumi.StringPtrOutput { return o.ApplyT(func(v PlacementPolicy) *string { return v.Collocation }).(pulumi.StringPtrOutput) @@ -4555,6 +5264,12 @@ func (o PlacementPolicyPtrOutput) ToPlacementPolicyPtrOutputWithContext(ctx cont return o } +func (o PlacementPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PlacementPolicy] { + return pulumix.Output[*PlacementPolicy]{ + OutputState: o.OutputState, + } +} + func (o PlacementPolicyPtrOutput) Elem() PlacementPolicyOutput { return o.ApplyT(func(v *PlacementPolicy) PlacementPolicy { if v != nil { @@ -4608,6 +5323,12 @@ func (o PlacementPolicyResponseOutput) ToPlacementPolicyResponseOutputWithContex return o } +func (o PlacementPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicyResponse] { + return pulumix.Output[PlacementPolicyResponse]{ + OutputState: o.OutputState, + } +} + // UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED. func (o PlacementPolicyResponseOutput) Collocation() pulumi.StringOutput { return o.ApplyT(func(v PlacementPolicyResponse) string { return v.Collocation }).(pulumi.StringOutput) @@ -4685,6 +5406,12 @@ func (i RunnableArgs) ToRunnableOutputWithContext(ctx context.Context) RunnableO return pulumi.ToOutputWithContext(ctx, i).(RunnableOutput) } +func (i RunnableArgs) ToOutput(ctx context.Context) pulumix.Output[Runnable] { + return pulumix.Output[Runnable]{ + OutputState: i.ToRunnableOutputWithContext(ctx).OutputState, + } +} + // RunnableArrayInput is an input type that accepts RunnableArray and RunnableArrayOutput values. // You can construct a concrete instance of `RunnableArrayInput` via: // @@ -4710,6 +5437,12 @@ func (i RunnableArray) ToRunnableArrayOutputWithContext(ctx context.Context) Run return pulumi.ToOutputWithContext(ctx, i).(RunnableArrayOutput) } +func (i RunnableArray) ToOutput(ctx context.Context) pulumix.Output[[]Runnable] { + return pulumix.Output[[]Runnable]{ + OutputState: i.ToRunnableArrayOutputWithContext(ctx).OutputState, + } +} + // Runnable describes instructions for executing a specific script or container as part of a Task. type RunnableOutput struct{ *pulumi.OutputState } @@ -4725,6 +5458,12 @@ func (o RunnableOutput) ToRunnableOutputWithContext(ctx context.Context) Runnabl return o } +func (o RunnableOutput) ToOutput(ctx context.Context) pulumix.Output[Runnable] { + return pulumix.Output[Runnable]{ + OutputState: o.OutputState, + } +} + // By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables. func (o RunnableOutput) AlwaysRun() pulumi.BoolPtrOutput { return o.ApplyT(func(v Runnable) *bool { return v.AlwaysRun }).(pulumi.BoolPtrOutput) @@ -4784,6 +5523,12 @@ func (o RunnableArrayOutput) ToRunnableArrayOutputWithContext(ctx context.Contex return o } +func (o RunnableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Runnable] { + return pulumix.Output[[]Runnable]{ + OutputState: o.OutputState, + } +} + func (o RunnableArrayOutput) Index(i pulumi.IntInput) RunnableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Runnable { return vs[0].([]Runnable)[vs[1].(int)] @@ -4827,6 +5572,12 @@ func (o RunnableResponseOutput) ToRunnableResponseOutputWithContext(ctx context. return o } +func (o RunnableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RunnableResponse] { + return pulumix.Output[RunnableResponse]{ + OutputState: o.OutputState, + } +} + // By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables. func (o RunnableResponseOutput) AlwaysRun() pulumi.BoolOutput { return o.ApplyT(func(v RunnableResponse) bool { return v.AlwaysRun }).(pulumi.BoolOutput) @@ -4886,6 +5637,12 @@ func (o RunnableResponseArrayOutput) ToRunnableResponseArrayOutputWithContext(ct return o } +func (o RunnableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RunnableResponse] { + return pulumix.Output[[]RunnableResponse]{ + OutputState: o.OutputState, + } +} + func (o RunnableResponseArrayOutput) Index(i pulumi.IntInput) RunnableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RunnableResponse { return vs[0].([]RunnableResponse)[vs[1].(int)] @@ -4931,6 +5688,12 @@ func (i ScriptArgs) ToScriptOutputWithContext(ctx context.Context) ScriptOutput return pulumi.ToOutputWithContext(ctx, i).(ScriptOutput) } +func (i ScriptArgs) ToOutput(ctx context.Context) pulumix.Output[Script] { + return pulumix.Output[Script]{ + OutputState: i.ToScriptOutputWithContext(ctx).OutputState, + } +} + func (i ScriptArgs) ToScriptPtrOutput() ScriptPtrOutput { return i.ToScriptPtrOutputWithContext(context.Background()) } @@ -4972,6 +5735,12 @@ func (i *scriptPtrType) ToScriptPtrOutputWithContext(ctx context.Context) Script return pulumi.ToOutputWithContext(ctx, i).(ScriptPtrOutput) } +func (i *scriptPtrType) ToOutput(ctx context.Context) pulumix.Output[*Script] { + return pulumix.Output[*Script]{ + OutputState: i.ToScriptPtrOutputWithContext(ctx).OutputState, + } +} + // Script runnable. type ScriptOutput struct{ *pulumi.OutputState } @@ -4997,6 +5766,12 @@ func (o ScriptOutput) ToScriptPtrOutputWithContext(ctx context.Context) ScriptPt }).(ScriptPtrOutput) } +func (o ScriptOutput) ToOutput(ctx context.Context) pulumix.Output[Script] { + return pulumix.Output[Script]{ + OutputState: o.OutputState, + } +} + // Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line]()) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`. func (o ScriptOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v Script) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -5021,6 +5796,12 @@ func (o ScriptPtrOutput) ToScriptPtrOutputWithContext(ctx context.Context) Scrip return o } +func (o ScriptPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Script] { + return pulumix.Output[*Script]{ + OutputState: o.OutputState, + } +} + func (o ScriptPtrOutput) Elem() ScriptOutput { return o.ApplyT(func(v *Script) Script { if v != nil { @@ -5074,6 +5855,12 @@ func (o ScriptResponseOutput) ToScriptResponseOutputWithContext(ctx context.Cont return o } +func (o ScriptResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScriptResponse] { + return pulumix.Output[ScriptResponse]{ + OutputState: o.OutputState, + } +} + // Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as [shebang line]()) as the first line of the file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first line of the file.) Otherwise, the file will by default be excuted by `/bin/sh`. func (o ScriptResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v ScriptResponse) string { return v.Path }).(pulumi.StringOutput) @@ -5123,6 +5910,12 @@ func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) } +func (i ServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: i.ToServiceAccountOutputWithContext(ctx).OutputState, + } +} + func (i ServiceAccountArgs) ToServiceAccountPtrOutput() ServiceAccountPtrOutput { return i.ToServiceAccountPtrOutputWithContext(context.Background()) } @@ -5164,6 +5957,12 @@ func (i *serviceAccountPtrType) ToServiceAccountPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountPtrOutput) } +func (i *serviceAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: i.ToServiceAccountPtrOutputWithContext(ctx).OutputState, + } +} + // Carries information about a Google Cloud service account. type ServiceAccountOutput struct{ *pulumi.OutputState } @@ -5189,6 +5988,12 @@ func (o ServiceAccountOutput) ToServiceAccountPtrOutputWithContext(ctx context.C }).(ServiceAccountPtrOutput) } +func (o ServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here. func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) @@ -5213,6 +6018,12 @@ func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext(ctx contex return o } +func (o ServiceAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountPtrOutput) Elem() ServiceAccountOutput { return o.ApplyT(func(v *ServiceAccount) ServiceAccount { if v != nil { @@ -5266,6 +6077,12 @@ func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext( return o } +func (o ServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccountResponse] { + return pulumix.Output[ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here. func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ServiceAccountResponse) string { return v.Email }).(pulumi.StringOutput) @@ -5305,6 +6122,12 @@ func (o StatusEventResponseOutput) ToStatusEventResponseOutputWithContext(ctx co return o } +func (o StatusEventResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusEventResponse] { + return pulumix.Output[StatusEventResponse]{ + OutputState: o.OutputState, + } +} + // Description of the event. func (o StatusEventResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v StatusEventResponse) string { return v.Description }).(pulumi.StringOutput) @@ -5344,6 +6167,12 @@ func (o StatusEventResponseArrayOutput) ToStatusEventResponseArrayOutputWithCont return o } +func (o StatusEventResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StatusEventResponse] { + return pulumix.Output[[]StatusEventResponse]{ + OutputState: o.OutputState, + } +} + func (o StatusEventResponseArrayOutput) Index(i pulumi.IntInput) StatusEventResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StatusEventResponse { return vs[0].([]StatusEventResponse)[vs[1].(int)] @@ -5371,6 +6200,12 @@ func (o TaskExecutionResponseOutput) ToTaskExecutionResponseOutputWithContext(ct return o } +func (o TaskExecutionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TaskExecutionResponse] { + return pulumix.Output[TaskExecutionResponse]{ + OutputState: o.OutputState, + } +} + // When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success. func (o TaskExecutionResponseOutput) ExitCode() pulumi.IntOutput { return o.ApplyT(func(v TaskExecutionResponse) int { return v.ExitCode }).(pulumi.IntOutput) @@ -5435,6 +6270,12 @@ func (i TaskGroupArgs) ToTaskGroupOutputWithContext(ctx context.Context) TaskGro return pulumi.ToOutputWithContext(ctx, i).(TaskGroupOutput) } +func (i TaskGroupArgs) ToOutput(ctx context.Context) pulumix.Output[TaskGroup] { + return pulumix.Output[TaskGroup]{ + OutputState: i.ToTaskGroupOutputWithContext(ctx).OutputState, + } +} + // TaskGroupArrayInput is an input type that accepts TaskGroupArray and TaskGroupArrayOutput values. // You can construct a concrete instance of `TaskGroupArrayInput` via: // @@ -5460,6 +6301,12 @@ func (i TaskGroupArray) ToTaskGroupArrayOutputWithContext(ctx context.Context) T return pulumi.ToOutputWithContext(ctx, i).(TaskGroupArrayOutput) } +func (i TaskGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]TaskGroup] { + return pulumix.Output[[]TaskGroup]{ + OutputState: i.ToTaskGroupArrayOutputWithContext(ctx).OutputState, + } +} + // A TaskGroup contains one or multiple Tasks that share the same Runnable but with different runtime parameters. type TaskGroupOutput struct{ *pulumi.OutputState } @@ -5475,6 +6322,12 @@ func (o TaskGroupOutput) ToTaskGroupOutputWithContext(ctx context.Context) TaskG return o } +func (o TaskGroupOutput) ToOutput(ctx context.Context) pulumix.Output[TaskGroup] { + return pulumix.Output[TaskGroup]{ + OutputState: o.OutputState, + } +} + // Max number of tasks that can run in parallel. Default to min(task_count, 1000). Field parallelism must be 1 if the scheduling_policy is IN_ORDER. func (o TaskGroupOutput) Parallelism() pulumi.StringPtrOutput { return o.ApplyT(func(v TaskGroup) *string { return v.Parallelism }).(pulumi.StringPtrOutput) @@ -5524,6 +6377,12 @@ func (o TaskGroupArrayOutput) ToTaskGroupArrayOutputWithContext(ctx context.Cont return o } +func (o TaskGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TaskGroup] { + return pulumix.Output[[]TaskGroup]{ + OutputState: o.OutputState, + } +} + func (o TaskGroupArrayOutput) Index(i pulumi.IntInput) TaskGroupOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TaskGroup { return vs[0].([]TaskGroup)[vs[1].(int)] @@ -5565,6 +6424,12 @@ func (o TaskGroupResponseOutput) ToTaskGroupResponseOutputWithContext(ctx contex return o } +func (o TaskGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TaskGroupResponse] { + return pulumix.Output[TaskGroupResponse]{ + OutputState: o.OutputState, + } +} + // TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01". func (o TaskGroupResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v TaskGroupResponse) string { return v.Name }).(pulumi.StringOutput) @@ -5619,6 +6484,12 @@ func (o TaskGroupResponseArrayOutput) ToTaskGroupResponseArrayOutputWithContext( return o } +func (o TaskGroupResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TaskGroupResponse] { + return pulumix.Output[[]TaskGroupResponse]{ + OutputState: o.OutputState, + } +} + func (o TaskGroupResponseArrayOutput) Index(i pulumi.IntInput) TaskGroupResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TaskGroupResponse { return vs[0].([]TaskGroupResponse)[vs[1].(int)] @@ -5692,6 +6563,12 @@ func (i TaskSpecArgs) ToTaskSpecOutputWithContext(ctx context.Context) TaskSpecO return pulumi.ToOutputWithContext(ctx, i).(TaskSpecOutput) } +func (i TaskSpecArgs) ToOutput(ctx context.Context) pulumix.Output[TaskSpec] { + return pulumix.Output[TaskSpec]{ + OutputState: i.ToTaskSpecOutputWithContext(ctx).OutputState, + } +} + // Spec of a task type TaskSpecOutput struct{ *pulumi.OutputState } @@ -5707,6 +6584,12 @@ func (o TaskSpecOutput) ToTaskSpecOutputWithContext(ctx context.Context) TaskSpe return o } +func (o TaskSpecOutput) ToOutput(ctx context.Context) pulumix.Output[TaskSpec] { + return pulumix.Output[TaskSpec]{ + OutputState: o.OutputState, + } +} + // ComputeResource requirements. func (o TaskSpecOutput) ComputeResource() ComputeResourcePtrOutput { return o.ApplyT(func(v TaskSpec) *ComputeResource { return v.ComputeResource }).(ComputeResourcePtrOutput) @@ -5786,6 +6669,12 @@ func (o TaskSpecResponseOutput) ToTaskSpecResponseOutputWithContext(ctx context. return o } +func (o TaskSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TaskSpecResponse] { + return pulumix.Output[TaskSpecResponse]{ + OutputState: o.OutputState, + } +} + // ComputeResource requirements. func (o TaskSpecResponseOutput) ComputeResource() ComputeResourceResponseOutput { return o.ApplyT(func(v TaskSpecResponse) ComputeResourceResponse { return v.ComputeResource }).(ComputeResourceResponseOutput) @@ -5879,6 +6768,12 @@ func (i VolumeArgs) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput return pulumi.ToOutputWithContext(ctx, i).(VolumeOutput) } +func (i VolumeArgs) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: i.ToVolumeOutputWithContext(ctx).OutputState, + } +} + // VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. // You can construct a concrete instance of `VolumeArrayInput` via: // @@ -5904,6 +6799,12 @@ func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeA return pulumi.ToOutputWithContext(ctx, i).(VolumeArrayOutput) } +func (i VolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: i.ToVolumeArrayOutputWithContext(ctx).OutputState, + } +} + // Volume describes a volume and parameters for it to be mounted to a VM. type VolumeOutput struct{ *pulumi.OutputState } @@ -5919,6 +6820,12 @@ func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutpu return o } +func (o VolumeOutput) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: o.OutputState, + } +} + // Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template. func (o VolumeOutput) DeviceName() pulumi.StringPtrOutput { return o.ApplyT(func(v Volume) *string { return v.DeviceName }).(pulumi.StringPtrOutput) @@ -5958,6 +6865,12 @@ func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) V return o } +func (o VolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: o.OutputState, + } +} + func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Volume { return vs[0].([]Volume)[vs[1].(int)] @@ -5993,6 +6906,12 @@ func (o VolumeResponseOutput) ToVolumeResponseOutputWithContext(ctx context.Cont return o } +func (o VolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeResponse] { + return pulumix.Output[VolumeResponse]{ + OutputState: o.OutputState, + } +} + // Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template. func (o VolumeResponseOutput) DeviceName() pulumi.StringOutput { return o.ApplyT(func(v VolumeResponse) string { return v.DeviceName }).(pulumi.StringOutput) @@ -6032,6 +6951,12 @@ func (o VolumeResponseArrayOutput) ToVolumeResponseArrayOutputWithContext(ctx co return o } +func (o VolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VolumeResponse] { + return pulumix.Output[[]VolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o VolumeResponseArrayOutput) Index(i pulumi.IntInput) VolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeResponse { return vs[0].([]VolumeResponse)[vs[1].(int)] diff --git a/sdk/go/google/beyondcorp/v1/appConnection.go b/sdk/go/google/beyondcorp/v1/appConnection.go index b3c02f44c8..9b041c3e6f 100644 --- a/sdk/go/google/beyondcorp/v1/appConnection.go +++ b/sdk/go/google/beyondcorp/v1/appConnection.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new AppConnection in a given project and location. @@ -166,6 +167,12 @@ func (i *AppConnection) ToAppConnectionOutputWithContext(ctx context.Context) Ap return pulumi.ToOutputWithContext(ctx, i).(AppConnectionOutput) } +func (i *AppConnection) ToOutput(ctx context.Context) pulumix.Output[*AppConnection] { + return pulumix.Output[*AppConnection]{ + OutputState: i.ToAppConnectionOutputWithContext(ctx).OutputState, + } +} + type AppConnectionOutput struct{ *pulumi.OutputState } func (AppConnectionOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o AppConnectionOutput) ToAppConnectionOutputWithContext(ctx context.Contex return o } +func (o AppConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnection] { + return pulumix.Output[*AppConnection]{ + OutputState: o.OutputState, + } +} + // Optional. User-settable AppConnection resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter. func (o AppConnectionOutput) AppConnectionId() pulumi.StringPtrOutput { return o.ApplyT(func(v *AppConnection) pulumi.StringPtrOutput { return v.AppConnectionId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/appConnectionIamBinding.go b/sdk/go/google/beyondcorp/v1/appConnectionIamBinding.go index 1ca2f7b01e..876752dc11 100644 --- a/sdk/go/google/beyondcorp/v1/appConnectionIamBinding.go +++ b/sdk/go/google/beyondcorp/v1/appConnectionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppConnectionIamBinding) ToAppConnectionIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AppConnectionIamBindingOutput) } +func (i *AppConnectionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamBinding] { + return pulumix.Output[*AppConnectionIamBinding]{ + OutputState: i.ToAppConnectionIamBindingOutputWithContext(ctx).OutputState, + } +} + type AppConnectionIamBindingOutput struct{ *pulumi.OutputState } func (AppConnectionIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppConnectionIamBindingOutput) ToAppConnectionIamBindingOutputWithContex return o } +func (o AppConnectionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamBinding] { + return pulumix.Output[*AppConnectionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppConnectionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/appConnectionIamMember.go b/sdk/go/google/beyondcorp/v1/appConnectionIamMember.go index 5b945e24a8..a196f35090 100644 --- a/sdk/go/google/beyondcorp/v1/appConnectionIamMember.go +++ b/sdk/go/google/beyondcorp/v1/appConnectionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppConnectionIamMember) ToAppConnectionIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AppConnectionIamMemberOutput) } +func (i *AppConnectionIamMember) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamMember] { + return pulumix.Output[*AppConnectionIamMember]{ + OutputState: i.ToAppConnectionIamMemberOutputWithContext(ctx).OutputState, + } +} + type AppConnectionIamMemberOutput struct{ *pulumi.OutputState } func (AppConnectionIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppConnectionIamMemberOutput) ToAppConnectionIamMemberOutputWithContext( return o } +func (o AppConnectionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamMember] { + return pulumix.Output[*AppConnectionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppConnectionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/appConnectionIamPolicy.go b/sdk/go/google/beyondcorp/v1/appConnectionIamPolicy.go index 590a626f44..9c776b79fc 100644 --- a/sdk/go/google/beyondcorp/v1/appConnectionIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/appConnectionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *AppConnectionIamPolicy) ToAppConnectionIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AppConnectionIamPolicyOutput) } +func (i *AppConnectionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamPolicy] { + return pulumix.Output[*AppConnectionIamPolicy]{ + OutputState: i.ToAppConnectionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AppConnectionIamPolicyOutput struct{ *pulumi.OutputState } func (AppConnectionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AppConnectionIamPolicyOutput) ToAppConnectionIamPolicyOutputWithContext( return o } +func (o AppConnectionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamPolicy] { + return pulumix.Output[*AppConnectionIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AppConnectionIamPolicyOutput) AppConnectionId() pulumi.StringOutput { return o.ApplyT(func(v *AppConnectionIamPolicy) pulumi.StringOutput { return v.AppConnectionId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/beyondcorp/v1/appConnector.go b/sdk/go/google/beyondcorp/v1/appConnector.go index 9cb35bec18..a7ca0ecc9e 100644 --- a/sdk/go/google/beyondcorp/v1/appConnector.go +++ b/sdk/go/google/beyondcorp/v1/appConnector.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new AppConnector in a given project and location. @@ -151,6 +152,12 @@ func (i *AppConnector) ToAppConnectorOutputWithContext(ctx context.Context) AppC return pulumi.ToOutputWithContext(ctx, i).(AppConnectorOutput) } +func (i *AppConnector) ToOutput(ctx context.Context) pulumix.Output[*AppConnector] { + return pulumix.Output[*AppConnector]{ + OutputState: i.ToAppConnectorOutputWithContext(ctx).OutputState, + } +} + type AppConnectorOutput struct{ *pulumi.OutputState } func (AppConnectorOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o AppConnectorOutput) ToAppConnectorOutputWithContext(ctx context.Context) return o } +func (o AppConnectorOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnector] { + return pulumix.Output[*AppConnector]{ + OutputState: o.OutputState, + } +} + // Optional. User-settable AppConnector resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter. func (o AppConnectorOutput) AppConnectorId() pulumi.StringPtrOutput { return o.ApplyT(func(v *AppConnector) pulumi.StringPtrOutput { return v.AppConnectorId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/appConnectorIamBinding.go b/sdk/go/google/beyondcorp/v1/appConnectorIamBinding.go index e4086e336e..bcc27604bd 100644 --- a/sdk/go/google/beyondcorp/v1/appConnectorIamBinding.go +++ b/sdk/go/google/beyondcorp/v1/appConnectorIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppConnectorIamBinding) ToAppConnectorIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AppConnectorIamBindingOutput) } +func (i *AppConnectorIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamBinding] { + return pulumix.Output[*AppConnectorIamBinding]{ + OutputState: i.ToAppConnectorIamBindingOutputWithContext(ctx).OutputState, + } +} + type AppConnectorIamBindingOutput struct{ *pulumi.OutputState } func (AppConnectorIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppConnectorIamBindingOutput) ToAppConnectorIamBindingOutputWithContext( return o } +func (o AppConnectorIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamBinding] { + return pulumix.Output[*AppConnectorIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppConnectorIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppConnectorIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/appConnectorIamMember.go b/sdk/go/google/beyondcorp/v1/appConnectorIamMember.go index 39c977dd8b..2d79ce813c 100644 --- a/sdk/go/google/beyondcorp/v1/appConnectorIamMember.go +++ b/sdk/go/google/beyondcorp/v1/appConnectorIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppConnectorIamMember) ToAppConnectorIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AppConnectorIamMemberOutput) } +func (i *AppConnectorIamMember) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamMember] { + return pulumix.Output[*AppConnectorIamMember]{ + OutputState: i.ToAppConnectorIamMemberOutputWithContext(ctx).OutputState, + } +} + type AppConnectorIamMemberOutput struct{ *pulumi.OutputState } func (AppConnectorIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppConnectorIamMemberOutput) ToAppConnectorIamMemberOutputWithContext(ct return o } +func (o AppConnectorIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamMember] { + return pulumix.Output[*AppConnectorIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppConnectorIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppConnectorIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/appConnectorIamPolicy.go b/sdk/go/google/beyondcorp/v1/appConnectorIamPolicy.go index fc0280723d..1e27e78e57 100644 --- a/sdk/go/google/beyondcorp/v1/appConnectorIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/appConnectorIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *AppConnectorIamPolicy) ToAppConnectorIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AppConnectorIamPolicyOutput) } +func (i *AppConnectorIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamPolicy] { + return pulumix.Output[*AppConnectorIamPolicy]{ + OutputState: i.ToAppConnectorIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AppConnectorIamPolicyOutput struct{ *pulumi.OutputState } func (AppConnectorIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AppConnectorIamPolicyOutput) ToAppConnectorIamPolicyOutputWithContext(ct return o } +func (o AppConnectorIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamPolicy] { + return pulumix.Output[*AppConnectorIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AppConnectorIamPolicyOutput) AppConnectorId() pulumi.StringOutput { return o.ApplyT(func(v *AppConnectorIamPolicy) pulumi.StringOutput { return v.AppConnectorId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/beyondcorp/v1/appGateway.go b/sdk/go/google/beyondcorp/v1/appGateway.go index 4b52bdbf7b..3f4b1921c1 100644 --- a/sdk/go/google/beyondcorp/v1/appGateway.go +++ b/sdk/go/google/beyondcorp/v1/appGateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new AppGateway in a given project and location. @@ -158,6 +159,12 @@ func (i *AppGateway) ToAppGatewayOutputWithContext(ctx context.Context) AppGatew return pulumi.ToOutputWithContext(ctx, i).(AppGatewayOutput) } +func (i *AppGateway) ToOutput(ctx context.Context) pulumix.Output[*AppGateway] { + return pulumix.Output[*AppGateway]{ + OutputState: i.ToAppGatewayOutputWithContext(ctx).OutputState, + } +} + type AppGatewayOutput struct{ *pulumi.OutputState } func (AppGatewayOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o AppGatewayOutput) ToAppGatewayOutputWithContext(ctx context.Context) App return o } +func (o AppGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGateway] { + return pulumix.Output[*AppGateway]{ + OutputState: o.OutputState, + } +} + // A list of connections allocated for the Gateway func (o AppGatewayOutput) AllocatedConnections() AllocatedConnectionResponseArrayOutput { return o.ApplyT(func(v *AppGateway) AllocatedConnectionResponseArrayOutput { return v.AllocatedConnections }).(AllocatedConnectionResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1/appGatewayIamBinding.go b/sdk/go/google/beyondcorp/v1/appGatewayIamBinding.go index 452d9b5e2b..3eda448b85 100644 --- a/sdk/go/google/beyondcorp/v1/appGatewayIamBinding.go +++ b/sdk/go/google/beyondcorp/v1/appGatewayIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppGatewayIamBinding) ToAppGatewayIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AppGatewayIamBindingOutput) } +func (i *AppGatewayIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamBinding] { + return pulumix.Output[*AppGatewayIamBinding]{ + OutputState: i.ToAppGatewayIamBindingOutputWithContext(ctx).OutputState, + } +} + type AppGatewayIamBindingOutput struct{ *pulumi.OutputState } func (AppGatewayIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppGatewayIamBindingOutput) ToAppGatewayIamBindingOutputWithContext(ctx return o } +func (o AppGatewayIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamBinding] { + return pulumix.Output[*AppGatewayIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppGatewayIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppGatewayIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/appGatewayIamMember.go b/sdk/go/google/beyondcorp/v1/appGatewayIamMember.go index 5fc4a211f3..ff562b9389 100644 --- a/sdk/go/google/beyondcorp/v1/appGatewayIamMember.go +++ b/sdk/go/google/beyondcorp/v1/appGatewayIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppGatewayIamMember) ToAppGatewayIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AppGatewayIamMemberOutput) } +func (i *AppGatewayIamMember) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamMember] { + return pulumix.Output[*AppGatewayIamMember]{ + OutputState: i.ToAppGatewayIamMemberOutputWithContext(ctx).OutputState, + } +} + type AppGatewayIamMemberOutput struct{ *pulumi.OutputState } func (AppGatewayIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppGatewayIamMemberOutput) ToAppGatewayIamMemberOutputWithContext(ctx co return o } +func (o AppGatewayIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamMember] { + return pulumix.Output[*AppGatewayIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppGatewayIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppGatewayIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/appGatewayIamPolicy.go b/sdk/go/google/beyondcorp/v1/appGatewayIamPolicy.go index 6dfcfe7861..d5baaced78 100644 --- a/sdk/go/google/beyondcorp/v1/appGatewayIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/appGatewayIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *AppGatewayIamPolicy) ToAppGatewayIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AppGatewayIamPolicyOutput) } +func (i *AppGatewayIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamPolicy] { + return pulumix.Output[*AppGatewayIamPolicy]{ + OutputState: i.ToAppGatewayIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AppGatewayIamPolicyOutput struct{ *pulumi.OutputState } func (AppGatewayIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AppGatewayIamPolicyOutput) ToAppGatewayIamPolicyOutputWithContext(ctx co return o } +func (o AppGatewayIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamPolicy] { + return pulumix.Output[*AppGatewayIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AppGatewayIamPolicyOutput) AppGatewayId() pulumi.StringOutput { return o.ApplyT(func(v *AppGatewayIamPolicy) pulumi.StringOutput { return v.AppGatewayId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamBinding.go b/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamBinding.go index 15720b9af4..84e73640d4 100644 --- a/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamBinding.go +++ b/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientConnectorServiceIamBinding) ToClientConnectorServiceIamBindingOut return pulumi.ToOutputWithContext(ctx, i).(ClientConnectorServiceIamBindingOutput) } +func (i *ClientConnectorServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamBinding] { + return pulumix.Output[*ClientConnectorServiceIamBinding]{ + OutputState: i.ToClientConnectorServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type ClientConnectorServiceIamBindingOutput struct{ *pulumi.OutputState } func (ClientConnectorServiceIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientConnectorServiceIamBindingOutput) ToClientConnectorServiceIamBindi return o } +func (o ClientConnectorServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamBinding] { + return pulumix.Output[*ClientConnectorServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientConnectorServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientConnectorServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamMember.go b/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamMember.go index d70412d3ff..22f6b0df0b 100644 --- a/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamMember.go +++ b/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientConnectorServiceIamMember) ToClientConnectorServiceIamMemberOutpu return pulumi.ToOutputWithContext(ctx, i).(ClientConnectorServiceIamMemberOutput) } +func (i *ClientConnectorServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamMember] { + return pulumix.Output[*ClientConnectorServiceIamMember]{ + OutputState: i.ToClientConnectorServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type ClientConnectorServiceIamMemberOutput struct{ *pulumi.OutputState } func (ClientConnectorServiceIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientConnectorServiceIamMemberOutput) ToClientConnectorServiceIamMember return o } +func (o ClientConnectorServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamMember] { + return pulumix.Output[*ClientConnectorServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientConnectorServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientConnectorServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamPolicy.go b/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamPolicy.go index d3a6e6da11..10a0ba6f1e 100644 --- a/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/clientConnectorServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ClientConnectorServiceIamPolicy) ToClientConnectorServiceIamPolicyOutpu return pulumi.ToOutputWithContext(ctx, i).(ClientConnectorServiceIamPolicyOutput) } +func (i *ClientConnectorServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamPolicy] { + return pulumix.Output[*ClientConnectorServiceIamPolicy]{ + OutputState: i.ToClientConnectorServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ClientConnectorServiceIamPolicyOutput struct{ *pulumi.OutputState } func (ClientConnectorServiceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ClientConnectorServiceIamPolicyOutput) ToClientConnectorServiceIamPolicy return o } +func (o ClientConnectorServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamPolicy] { + return pulumix.Output[*ClientConnectorServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ClientConnectorServiceIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ClientConnectorServiceIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { diff --git a/sdk/go/google/beyondcorp/v1/clientGatewayIamBinding.go b/sdk/go/google/beyondcorp/v1/clientGatewayIamBinding.go index a3cd07de84..b7e4835249 100644 --- a/sdk/go/google/beyondcorp/v1/clientGatewayIamBinding.go +++ b/sdk/go/google/beyondcorp/v1/clientGatewayIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientGatewayIamBinding) ToClientGatewayIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayIamBindingOutput) } +func (i *ClientGatewayIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamBinding] { + return pulumix.Output[*ClientGatewayIamBinding]{ + OutputState: i.ToClientGatewayIamBindingOutputWithContext(ctx).OutputState, + } +} + type ClientGatewayIamBindingOutput struct{ *pulumi.OutputState } func (ClientGatewayIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientGatewayIamBindingOutput) ToClientGatewayIamBindingOutputWithContex return o } +func (o ClientGatewayIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamBinding] { + return pulumix.Output[*ClientGatewayIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientGatewayIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientGatewayIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/clientGatewayIamMember.go b/sdk/go/google/beyondcorp/v1/clientGatewayIamMember.go index cdea107c50..3681a5c660 100644 --- a/sdk/go/google/beyondcorp/v1/clientGatewayIamMember.go +++ b/sdk/go/google/beyondcorp/v1/clientGatewayIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientGatewayIamMember) ToClientGatewayIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayIamMemberOutput) } +func (i *ClientGatewayIamMember) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamMember] { + return pulumix.Output[*ClientGatewayIamMember]{ + OutputState: i.ToClientGatewayIamMemberOutputWithContext(ctx).OutputState, + } +} + type ClientGatewayIamMemberOutput struct{ *pulumi.OutputState } func (ClientGatewayIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientGatewayIamMemberOutput) ToClientGatewayIamMemberOutputWithContext( return o } +func (o ClientGatewayIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamMember] { + return pulumix.Output[*ClientGatewayIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientGatewayIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientGatewayIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/clientGatewayIamPolicy.go b/sdk/go/google/beyondcorp/v1/clientGatewayIamPolicy.go index db10ee73fc..f8a4b14ab3 100644 --- a/sdk/go/google/beyondcorp/v1/clientGatewayIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/clientGatewayIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ClientGatewayIamPolicy) ToClientGatewayIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayIamPolicyOutput) } +func (i *ClientGatewayIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamPolicy] { + return pulumix.Output[*ClientGatewayIamPolicy]{ + OutputState: i.ToClientGatewayIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ClientGatewayIamPolicyOutput struct{ *pulumi.OutputState } func (ClientGatewayIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ClientGatewayIamPolicyOutput) ToClientGatewayIamPolicyOutputWithContext( return o } +func (o ClientGatewayIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamPolicy] { + return pulumix.Output[*ClientGatewayIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ClientGatewayIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ClientGatewayIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1/getAppConnection.go b/sdk/go/google/beyondcorp/v1/getAppConnection.go index 5a9fd6097a..598f57a527 100644 --- a/sdk/go/google/beyondcorp/v1/getAppConnection.go +++ b/sdk/go/google/beyondcorp/v1/getAppConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single AppConnection. @@ -90,6 +91,12 @@ func (o LookupAppConnectionResultOutput) ToLookupAppConnectionResultOutputWithCo return o } +func (o LookupAppConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppConnectionResult] { + return pulumix.Output[LookupAppConnectionResult]{ + OutputState: o.OutputState, + } +} + // Address of the remote application endpoint for the BeyondCorp AppConnection. func (o LookupAppConnectionResultOutput) ApplicationEndpoint() GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointResponseOutput { return o.ApplyT(func(v LookupAppConnectionResult) GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointResponse { diff --git a/sdk/go/google/beyondcorp/v1/getAppConnectionIamPolicy.go b/sdk/go/google/beyondcorp/v1/getAppConnectionIamPolicy.go index 4825631d23..b48e927cd6 100644 --- a/sdk/go/google/beyondcorp/v1/getAppConnectionIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/getAppConnectionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupAppConnectionIamPolicyResultOutput) ToLookupAppConnectionIamPolicy return o } +func (o LookupAppConnectionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppConnectionIamPolicyResult] { + return pulumix.Output[LookupAppConnectionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAppConnectionIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAppConnectionIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1/getAppConnector.go b/sdk/go/google/beyondcorp/v1/getAppConnector.go index e25073b7db..165956dd8a 100644 --- a/sdk/go/google/beyondcorp/v1/getAppConnector.go +++ b/sdk/go/google/beyondcorp/v1/getAppConnector.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single AppConnector. @@ -86,6 +87,12 @@ func (o LookupAppConnectorResultOutput) ToLookupAppConnectorResultOutputWithCont return o } +func (o LookupAppConnectorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppConnectorResult] { + return pulumix.Output[LookupAppConnectorResult]{ + OutputState: o.OutputState, + } +} + // Timestamp when the resource was created. func (o LookupAppConnectorResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupAppConnectorResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/beyondcorp/v1/getAppConnectorIamPolicy.go b/sdk/go/google/beyondcorp/v1/getAppConnectorIamPolicy.go index 3823504ab0..d258717eb0 100644 --- a/sdk/go/google/beyondcorp/v1/getAppConnectorIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/getAppConnectorIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupAppConnectorIamPolicyResultOutput) ToLookupAppConnectorIamPolicyRe return o } +func (o LookupAppConnectorIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppConnectorIamPolicyResult] { + return pulumix.Output[LookupAppConnectorIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAppConnectorIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAppConnectorIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1/getAppGateway.go b/sdk/go/google/beyondcorp/v1/getAppGateway.go index 273e3b367d..286feda02a 100644 --- a/sdk/go/google/beyondcorp/v1/getAppGateway.go +++ b/sdk/go/google/beyondcorp/v1/getAppGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single AppGateway. @@ -90,6 +91,12 @@ func (o LookupAppGatewayResultOutput) ToLookupAppGatewayResultOutputWithContext( return o } +func (o LookupAppGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppGatewayResult] { + return pulumix.Output[LookupAppGatewayResult]{ + OutputState: o.OutputState, + } +} + // A list of connections allocated for the Gateway func (o LookupAppGatewayResultOutput) AllocatedConnections() AllocatedConnectionResponseArrayOutput { return o.ApplyT(func(v LookupAppGatewayResult) []AllocatedConnectionResponse { return v.AllocatedConnections }).(AllocatedConnectionResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1/getAppGatewayIamPolicy.go b/sdk/go/google/beyondcorp/v1/getAppGatewayIamPolicy.go index ee9adde99d..d801e5391e 100644 --- a/sdk/go/google/beyondcorp/v1/getAppGatewayIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/getAppGatewayIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupAppGatewayIamPolicyResultOutput) ToLookupAppGatewayIamPolicyResult return o } +func (o LookupAppGatewayIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppGatewayIamPolicyResult] { + return pulumix.Output[LookupAppGatewayIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAppGatewayIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAppGatewayIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1/getClientConnectorServiceIamPolicy.go b/sdk/go/google/beyondcorp/v1/getClientConnectorServiceIamPolicy.go index b751f805c6..be864b9d53 100644 --- a/sdk/go/google/beyondcorp/v1/getClientConnectorServiceIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/getClientConnectorServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupClientConnectorServiceIamPolicyResultOutput) ToLookupClientConnect return o } +func (o LookupClientConnectorServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClientConnectorServiceIamPolicyResult] { + return pulumix.Output[LookupClientConnectorServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupClientConnectorServiceIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupClientConnectorServiceIamPolicyResult) []GoogleIamV1AuditConfigResponse { diff --git a/sdk/go/google/beyondcorp/v1/getClientGatewayIamPolicy.go b/sdk/go/google/beyondcorp/v1/getClientGatewayIamPolicy.go index f8b9ba4538..a93c64e35d 100644 --- a/sdk/go/google/beyondcorp/v1/getClientGatewayIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/getClientGatewayIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupClientGatewayIamPolicyResultOutput) ToLookupClientGatewayIamPolicy return o } +func (o LookupClientGatewayIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClientGatewayIamPolicyResult] { + return pulumix.Output[LookupClientGatewayIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupClientGatewayIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupClientGatewayIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1/getOrganizationTenantIamPolicy.go b/sdk/go/google/beyondcorp/v1/getOrganizationTenantIamPolicy.go index f2876aa09d..52d51e606d 100644 --- a/sdk/go/google/beyondcorp/v1/getOrganizationTenantIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/getOrganizationTenantIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupOrganizationTenantIamPolicyResultOutput) ToLookupOrganizationTenan return o } +func (o LookupOrganizationTenantIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationTenantIamPolicyResult] { + return pulumix.Output[LookupOrganizationTenantIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupOrganizationTenantIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupOrganizationTenantIamPolicyResult) []GoogleIamV1AuditConfigResponse { diff --git a/sdk/go/google/beyondcorp/v1/getOrganizationTenantProxyConfigIamPolicy.go b/sdk/go/google/beyondcorp/v1/getOrganizationTenantProxyConfigIamPolicy.go index dda88bd673..2ae031d1bf 100644 --- a/sdk/go/google/beyondcorp/v1/getOrganizationTenantProxyConfigIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/getOrganizationTenantProxyConfigIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupOrganizationTenantProxyConfigIamPolicyResultOutput) ToLookupOrgani return o } +func (o LookupOrganizationTenantProxyConfigIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationTenantProxyConfigIamPolicyResult] { + return pulumix.Output[LookupOrganizationTenantProxyConfigIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupOrganizationTenantProxyConfigIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupOrganizationTenantProxyConfigIamPolicyResult) []GoogleIamV1AuditConfigResponse { diff --git a/sdk/go/google/beyondcorp/v1/organizationTenantIamBinding.go b/sdk/go/google/beyondcorp/v1/organizationTenantIamBinding.go index d945eddfa9..ee293c55c1 100644 --- a/sdk/go/google/beyondcorp/v1/organizationTenantIamBinding.go +++ b/sdk/go/google/beyondcorp/v1/organizationTenantIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *OrganizationTenantIamBinding) ToOrganizationTenantIamBindingOutputWithC return pulumi.ToOutputWithContext(ctx, i).(OrganizationTenantIamBindingOutput) } +func (i *OrganizationTenantIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantIamBinding] { + return pulumix.Output[*OrganizationTenantIamBinding]{ + OutputState: i.ToOrganizationTenantIamBindingOutputWithContext(ctx).OutputState, + } +} + type OrganizationTenantIamBindingOutput struct{ *pulumi.OutputState } func (OrganizationTenantIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o OrganizationTenantIamBindingOutput) ToOrganizationTenantIamBindingOutput return o } +func (o OrganizationTenantIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantIamBinding] { + return pulumix.Output[*OrganizationTenantIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationTenantIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationTenantIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/organizationTenantIamMember.go b/sdk/go/google/beyondcorp/v1/organizationTenantIamMember.go index 9c107eef44..90c5d568cd 100644 --- a/sdk/go/google/beyondcorp/v1/organizationTenantIamMember.go +++ b/sdk/go/google/beyondcorp/v1/organizationTenantIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *OrganizationTenantIamMember) ToOrganizationTenantIamMemberOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(OrganizationTenantIamMemberOutput) } +func (i *OrganizationTenantIamMember) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantIamMember] { + return pulumix.Output[*OrganizationTenantIamMember]{ + OutputState: i.ToOrganizationTenantIamMemberOutputWithContext(ctx).OutputState, + } +} + type OrganizationTenantIamMemberOutput struct{ *pulumi.OutputState } func (OrganizationTenantIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o OrganizationTenantIamMemberOutput) ToOrganizationTenantIamMemberOutputWi return o } +func (o OrganizationTenantIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantIamMember] { + return pulumix.Output[*OrganizationTenantIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationTenantIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationTenantIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/organizationTenantIamPolicy.go b/sdk/go/google/beyondcorp/v1/organizationTenantIamPolicy.go index 5fd0bfb92c..59c2bee519 100644 --- a/sdk/go/google/beyondcorp/v1/organizationTenantIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/organizationTenantIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -134,6 +135,12 @@ func (i *OrganizationTenantIamPolicy) ToOrganizationTenantIamPolicyOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(OrganizationTenantIamPolicyOutput) } +func (i *OrganizationTenantIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantIamPolicy] { + return pulumix.Output[*OrganizationTenantIamPolicy]{ + OutputState: i.ToOrganizationTenantIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationTenantIamPolicyOutput struct{ *pulumi.OutputState } func (OrganizationTenantIamPolicyOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o OrganizationTenantIamPolicyOutput) ToOrganizationTenantIamPolicyOutputWi return o } +func (o OrganizationTenantIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantIamPolicy] { + return pulumix.Output[*OrganizationTenantIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o OrganizationTenantIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *OrganizationTenantIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamBinding.go b/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamBinding.go index 0fad9f1a52..fe9be86593 100644 --- a/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamBinding.go +++ b/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *OrganizationTenantProxyConfigIamBinding) ToOrganizationTenantProxyConfi return pulumi.ToOutputWithContext(ctx, i).(OrganizationTenantProxyConfigIamBindingOutput) } +func (i *OrganizationTenantProxyConfigIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantProxyConfigIamBinding] { + return pulumix.Output[*OrganizationTenantProxyConfigIamBinding]{ + OutputState: i.ToOrganizationTenantProxyConfigIamBindingOutputWithContext(ctx).OutputState, + } +} + type OrganizationTenantProxyConfigIamBindingOutput struct{ *pulumi.OutputState } func (OrganizationTenantProxyConfigIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o OrganizationTenantProxyConfigIamBindingOutput) ToOrganizationTenantProxy return o } +func (o OrganizationTenantProxyConfigIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantProxyConfigIamBinding] { + return pulumix.Output[*OrganizationTenantProxyConfigIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationTenantProxyConfigIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationTenantProxyConfigIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamMember.go b/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamMember.go index 86a9d4e92b..eddc2fcacf 100644 --- a/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamMember.go +++ b/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *OrganizationTenantProxyConfigIamMember) ToOrganizationTenantProxyConfig return pulumi.ToOutputWithContext(ctx, i).(OrganizationTenantProxyConfigIamMemberOutput) } +func (i *OrganizationTenantProxyConfigIamMember) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantProxyConfigIamMember] { + return pulumix.Output[*OrganizationTenantProxyConfigIamMember]{ + OutputState: i.ToOrganizationTenantProxyConfigIamMemberOutputWithContext(ctx).OutputState, + } +} + type OrganizationTenantProxyConfigIamMemberOutput struct{ *pulumi.OutputState } func (OrganizationTenantProxyConfigIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o OrganizationTenantProxyConfigIamMemberOutput) ToOrganizationTenantProxyC return o } +func (o OrganizationTenantProxyConfigIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantProxyConfigIamMember] { + return pulumix.Output[*OrganizationTenantProxyConfigIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationTenantProxyConfigIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationTenantProxyConfigIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamPolicy.go b/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamPolicy.go index 1be4450f20..cbbc2a0fe8 100644 --- a/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1/organizationTenantProxyConfigIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -141,6 +142,12 @@ func (i *OrganizationTenantProxyConfigIamPolicy) ToOrganizationTenantProxyConfig return pulumi.ToOutputWithContext(ctx, i).(OrganizationTenantProxyConfigIamPolicyOutput) } +func (i *OrganizationTenantProxyConfigIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantProxyConfigIamPolicy] { + return pulumix.Output[*OrganizationTenantProxyConfigIamPolicy]{ + OutputState: i.ToOrganizationTenantProxyConfigIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationTenantProxyConfigIamPolicyOutput struct{ *pulumi.OutputState } func (OrganizationTenantProxyConfigIamPolicyOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o OrganizationTenantProxyConfigIamPolicyOutput) ToOrganizationTenantProxyC return o } +func (o OrganizationTenantProxyConfigIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationTenantProxyConfigIamPolicy] { + return pulumix.Output[*OrganizationTenantProxyConfigIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o OrganizationTenantProxyConfigIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *OrganizationTenantProxyConfigIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { diff --git a/sdk/go/google/beyondcorp/v1/pulumiEnums.go b/sdk/go/google/beyondcorp/v1/pulumiEnums.go index a96f88a6a4..99e2790b33 100644 --- a/sdk/go/google/beyondcorp/v1/pulumiEnums.go +++ b/sdk/go/google/beyondcorp/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The type of network connectivity used by the AppConnection. @@ -80,6 +81,12 @@ func (o AppConnectionTypeOutput) ToAppConnectionTypePtrOutputWithContext(ctx con }).(AppConnectionTypePtrOutput) } +func (o AppConnectionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AppConnectionType] { + return pulumix.Output[AppConnectionType]{ + OutputState: o.OutputState, + } +} + func (o AppConnectionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o AppConnectionTypePtrOutput) ToAppConnectionTypePtrOutputWithContext(ctx return o } +func (o AppConnectionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionType] { + return pulumix.Output[*AppConnectionType]{ + OutputState: o.OutputState, + } +} + func (o AppConnectionTypePtrOutput) Elem() AppConnectionTypeOutput { return o.ApplyT(func(v *AppConnectionType) AppConnectionType { if v != nil { @@ -177,6 +190,12 @@ func (in *appConnectionTypePtr) ToAppConnectionTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(AppConnectionTypePtrOutput) } +func (in *appConnectionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionType] { + return pulumix.Output[*AppConnectionType]{ + OutputState: in.ToAppConnectionTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of hosting used by the AppGateway. type AppGatewayHostType string @@ -247,6 +266,12 @@ func (o AppGatewayHostTypeOutput) ToAppGatewayHostTypePtrOutputWithContext(ctx c }).(AppGatewayHostTypePtrOutput) } +func (o AppGatewayHostTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AppGatewayHostType] { + return pulumix.Output[AppGatewayHostType]{ + OutputState: o.OutputState, + } +} + func (o AppGatewayHostTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -282,6 +307,12 @@ func (o AppGatewayHostTypePtrOutput) ToAppGatewayHostTypePtrOutputWithContext(ct return o } +func (o AppGatewayHostTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayHostType] { + return pulumix.Output[*AppGatewayHostType]{ + OutputState: o.OutputState, + } +} + func (o AppGatewayHostTypePtrOutput) Elem() AppGatewayHostTypeOutput { return o.ApplyT(func(v *AppGatewayHostType) AppGatewayHostType { if v != nil { @@ -344,6 +375,12 @@ func (in *appGatewayHostTypePtr) ToAppGatewayHostTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(AppGatewayHostTypePtrOutput) } +func (in *appGatewayHostTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayHostType] { + return pulumix.Output[*AppGatewayHostType]{ + OutputState: in.ToAppGatewayHostTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of network connectivity used by the AppGateway. type AppGatewayType string @@ -414,6 +451,12 @@ func (o AppGatewayTypeOutput) ToAppGatewayTypePtrOutputWithContext(ctx context.C }).(AppGatewayTypePtrOutput) } +func (o AppGatewayTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AppGatewayType] { + return pulumix.Output[AppGatewayType]{ + OutputState: o.OutputState, + } +} + func (o AppGatewayTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -449,6 +492,12 @@ func (o AppGatewayTypePtrOutput) ToAppGatewayTypePtrOutputWithContext(ctx contex return o } +func (o AppGatewayTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayType] { + return pulumix.Output[*AppGatewayType]{ + OutputState: o.OutputState, + } +} + func (o AppGatewayTypePtrOutput) Elem() AppGatewayTypeOutput { return o.ApplyT(func(v *AppGatewayType) AppGatewayType { if v != nil { @@ -511,6 +560,12 @@ func (in *appGatewayTypePtr) ToAppGatewayTypePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(AppGatewayTypePtrOutput) } +func (in *appGatewayTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayType] { + return pulumix.Output[*AppGatewayType]{ + OutputState: in.ToAppGatewayTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of hosting used by the gateway. type GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayType string @@ -581,6 +636,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypeOutput) ToG }).(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypePtrOutput) } +func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayType] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -616,6 +677,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypePtrOutput) return o } +func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayType] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypePtrOutput) Elem() GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypeOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayType) GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayType { if v != nil { @@ -678,6 +745,12 @@ func (in *googleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypePtr) ToGo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypePtrOutput) } +func (in *googleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayType] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayType]{ + OutputState: in.ToGoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayTypePtrOutputWithContext(ctx).OutputState, + } +} + // Overall health status. Overall status is derived based on the status of each sub level resources. type GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatus string @@ -754,6 +827,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusOutput) ToGoogleCl }).(GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusPtrOutput) } +func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatus] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatus]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -789,6 +868,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusPtrOutput) ToGoogl return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatus] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatus]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusPtrOutput) Elem() GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatus) GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatus { if v != nil { @@ -851,6 +936,12 @@ func (in *googleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusPtr) ToGoogleClo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusPtrOutput) } +func (in *googleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatus] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatus]{ + OutputState: in.ToGoogleCloudBeyondcorpAppconnectorsV1ResourceInfoStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -925,6 +1016,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -960,6 +1057,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -1022,6 +1125,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AppConnectionTypeInput)(nil)).Elem(), AppConnectionType("TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AppConnectionTypePtrInput)(nil)).Elem(), AppConnectionType("TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/beyondcorp/v1/pulumiTypes.go b/sdk/go/google/beyondcorp/v1/pulumiTypes.go index b6761c96cb..92e8ff7ace 100644 --- a/sdk/go/google/beyondcorp/v1/pulumiTypes.go +++ b/sdk/go/google/beyondcorp/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -36,6 +37,12 @@ func (o AllocatedConnectionResponseOutput) ToAllocatedConnectionResponseOutputWi return o } +func (o AllocatedConnectionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocatedConnectionResponse] { + return pulumix.Output[AllocatedConnectionResponse]{ + OutputState: o.OutputState, + } +} + // The ingress port of an allocated connection func (o AllocatedConnectionResponseOutput) IngressPort() pulumi.IntOutput { return o.ApplyT(func(v AllocatedConnectionResponse) int { return v.IngressPort }).(pulumi.IntOutput) @@ -60,6 +67,12 @@ func (o AllocatedConnectionResponseArrayOutput) ToAllocatedConnectionResponseArr return o } +func (o AllocatedConnectionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllocatedConnectionResponse] { + return pulumix.Output[[]AllocatedConnectionResponse]{ + OutputState: o.OutputState, + } +} + func (o AllocatedConnectionResponseArrayOutput) Index(i pulumi.IntInput) AllocatedConnectionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllocatedConnectionResponse { return vs[0].([]AllocatedConnectionResponse)[vs[1].(int)] @@ -105,6 +118,12 @@ func (i GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointArg return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointOutput) } +func (i GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointOutputWithContext(ctx).OutputState, + } +} + // ApplicationEndpoint represents a remote application endpoint. type GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointOutput struct{ *pulumi.OutputState } @@ -120,6 +139,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointOut return o } +func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint]{ + OutputState: o.OutputState, + } +} + // Hostname or IP address of the remote application endpoint. func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpoint) string { return v.Host }).(pulumi.StringOutput) @@ -153,6 +178,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointRes return o } +func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointResponse] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointResponse]{ + OutputState: o.OutputState, + } +} + // Hostname or IP address of the remote application endpoint. func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectionsV1AppConnectionApplicationEndpointResponse) string { @@ -206,6 +237,12 @@ func (i GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayOutput) } +func (i GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayArgs) ToGoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrOutput() GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrOutput { return i.ToGoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrOutputWithContext(context.Background()) } @@ -247,6 +284,12 @@ func (i *googleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrType) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrOutput) } +func (i *googleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrOutputWithContext(ctx).OutputState, + } +} + // Gateway represents a user facing component that serves as an entrance to enable connectivity. type GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayOutput struct{ *pulumi.OutputState } @@ -272,6 +315,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayOutput) ToGoogl }).(GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrOutput) } +func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway]{ + OutputState: o.OutputState, + } +} + // AppGateway name in following format: `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}` func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayOutput) AppGateway() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway) string { return v.AppGateway }).(pulumi.StringOutput) @@ -298,6 +347,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrOutput) ToGo return o } +func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayPtrOutput) Elem() GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway) GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGateway { if v != nil { @@ -357,6 +412,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayResponseOutput) return o } +func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayResponse] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayResponse]{ + OutputState: o.OutputState, + } +} + // AppGateway name in following format: `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}` func (o GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayResponseOutput) AppGateway() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectionsV1AppConnectionGatewayResponse) string { return v.AppGateway }).(pulumi.StringOutput) @@ -417,6 +478,12 @@ func (i GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoOutput) } +func (i GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoOutputWithContext(ctx).OutputState, + } +} + // PrincipalInfo represents an Identity oneof. type GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoOutput struct{ *pulumi.OutputState } @@ -432,6 +499,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoOutput) ToG return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo]{ + OutputState: o.OutputState, + } +} + // A GCP service account. func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoOutput) ServiceAccount() GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountPtrOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo) *GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount { @@ -460,6 +533,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoResponseOut return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoResponse] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoResponse]{ + OutputState: o.OutputState, + } +} + // A GCP service account. func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoResponseOutput) ServiceAccount() GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountResponseOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoResponse) GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountResponse { @@ -502,6 +581,12 @@ func (i GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAcco return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountOutput) } +func (i GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountArgs) ToGoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountPtrOutput() GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountPtrOutput { return i.ToGoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountPtrOutputWithContext(context.Background()) } @@ -543,6 +628,12 @@ func (i *googleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAcc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountPtrOutput) } +func (i *googleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountPtrOutputWithContext(ctx).OutputState, + } +} + // ServiceAccount represents a GCP service account. type GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountOutput struct{ *pulumi.OutputState } @@ -568,6 +659,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAcco }).(GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountPtrOutput) } +func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount) *string { @@ -589,6 +686,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAcco return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountPtrOutput) Elem() GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount) GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccount { if v != nil { @@ -630,6 +733,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAcco return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountResponse] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfoServiceAccountResponse) string { @@ -688,6 +797,12 @@ func (i GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArgs) ToGoogleCloudBeyon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoOutput) } +func (i GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1ResourceInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArgs) ToGoogleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrOutput() GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrOutput { return i.ToGoogleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrOutputWithContext(context.Background()) } @@ -729,6 +844,12 @@ func (i *googleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrType) ToGoogleCloudB return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrOutput) } +func (i *googleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArrayInput is an input type that accepts GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArray and GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArrayOutput values. // You can construct a concrete instance of `GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArrayInput` via: // @@ -754,6 +875,12 @@ func (i GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArray) ToGoogleCloudBeyo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArrayOutput) } +func (i GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo] { + return pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArrayOutputWithContext(ctx).OutputState, + } +} + // ResourceInfo represents the information/status of an app connector resource. Such as: - remote_agent - container - runtime - appgateway - appconnector - appconnection - tunnel - logagent type GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoOutput struct{ *pulumi.OutputState } @@ -779,6 +906,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoOutput) ToGoogleCloudBey }).(GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrOutput) } +func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo]{ + OutputState: o.OutputState, + } +} + // Unique Id for the resource. func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo) string { return v.Id }).(pulumi.StringOutput) @@ -822,6 +955,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoPtrOutput) Elem() GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo) GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo { if v != nil { @@ -896,6 +1035,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArrayOutput) ToGoogleClo return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo] { + return pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoArrayOutput) Index(i pulumi.IntInput) GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo { return vs[0].([]GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo)[vs[1].(int)] @@ -929,6 +1074,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponseOutput) ToGoogle return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponse] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Specific details for the resource. This is for internal use only. func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponseOutput) Resource() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponse) map[string]string { return v.Resource }).(pulumi.StringMapOutput) @@ -965,6 +1116,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponseArrayOutput) ToG return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponse] { + return pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponse { return vs[0].([]GoogleCloudBeyondcorpAppconnectorsV1ResourceInfoResponse)[vs[1].(int)] @@ -1010,6 +1167,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -1035,6 +1198,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -1050,6 +1219,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -1074,6 +1249,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -1103,6 +1284,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -1127,6 +1314,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -1172,6 +1365,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -1197,6 +1396,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -1212,6 +1417,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -1236,6 +1447,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -1265,6 +1482,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -1289,6 +1512,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -1338,6 +1567,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -1363,6 +1598,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -1378,6 +1619,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() GoogleTypeExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *GoogleTypeExpr { return v.Condition }).(GoogleTypeExprPtrOutput) @@ -1407,6 +1654,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -1438,6 +1691,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() GoogleTypeExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) GoogleTypeExprResponse { return v.Condition }).(GoogleTypeExprResponseOutput) @@ -1467,6 +1726,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -1520,6 +1785,12 @@ func (i GoogleTypeExprArgs) ToGoogleTypeExprOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprOutput) } +func (i GoogleTypeExprArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeExprArgs) ToGoogleTypeExprPtrOutput() GoogleTypeExprPtrOutput { return i.ToGoogleTypeExprPtrOutputWithContext(context.Background()) } @@ -1561,6 +1832,12 @@ func (i *googleTypeExprPtrType) ToGoogleTypeExprPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprPtrOutput) } +func (i *googleTypeExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type GoogleTypeExprOutput struct{ *pulumi.OutputState } @@ -1586,6 +1863,12 @@ func (o GoogleTypeExprOutput) ToGoogleTypeExprPtrOutputWithContext(ctx context.C }).(GoogleTypeExprPtrOutput) } +func (o GoogleTypeExprOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeExpr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1620,6 +1903,12 @@ func (o GoogleTypeExprPtrOutput) ToGoogleTypeExprPtrOutputWithContext(ctx contex return o } +func (o GoogleTypeExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeExprPtrOutput) Elem() GoogleTypeExprOutput { return o.ApplyT(func(v *GoogleTypeExpr) GoogleTypeExpr { if v != nil { @@ -1697,6 +1986,12 @@ func (o GoogleTypeExprResponseOutput) ToGoogleTypeExprResponseOutputWithContext( return o } +func (o GoogleTypeExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExprResponse] { + return pulumix.Output[GoogleTypeExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/appConnection.go b/sdk/go/google/beyondcorp/v1alpha/appConnection.go index 2bf2a5522b..e6c2b8b89e 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appConnection.go +++ b/sdk/go/google/beyondcorp/v1alpha/appConnection.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new AppConnection in a given project and location. @@ -166,6 +167,12 @@ func (i *AppConnection) ToAppConnectionOutputWithContext(ctx context.Context) Ap return pulumi.ToOutputWithContext(ctx, i).(AppConnectionOutput) } +func (i *AppConnection) ToOutput(ctx context.Context) pulumix.Output[*AppConnection] { + return pulumix.Output[*AppConnection]{ + OutputState: i.ToAppConnectionOutputWithContext(ctx).OutputState, + } +} + type AppConnectionOutput struct{ *pulumi.OutputState } func (AppConnectionOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o AppConnectionOutput) ToAppConnectionOutputWithContext(ctx context.Contex return o } +func (o AppConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnection] { + return pulumix.Output[*AppConnection]{ + OutputState: o.OutputState, + } +} + // Optional. User-settable AppConnection resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter. func (o AppConnectionOutput) AppConnectionId() pulumi.StringPtrOutput { return o.ApplyT(func(v *AppConnection) pulumi.StringPtrOutput { return v.AppConnectionId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/appConnectionIamBinding.go b/sdk/go/google/beyondcorp/v1alpha/appConnectionIamBinding.go index f523aeed94..d5191661fb 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appConnectionIamBinding.go +++ b/sdk/go/google/beyondcorp/v1alpha/appConnectionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppConnectionIamBinding) ToAppConnectionIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AppConnectionIamBindingOutput) } +func (i *AppConnectionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamBinding] { + return pulumix.Output[*AppConnectionIamBinding]{ + OutputState: i.ToAppConnectionIamBindingOutputWithContext(ctx).OutputState, + } +} + type AppConnectionIamBindingOutput struct{ *pulumi.OutputState } func (AppConnectionIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppConnectionIamBindingOutput) ToAppConnectionIamBindingOutputWithContex return o } +func (o AppConnectionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamBinding] { + return pulumix.Output[*AppConnectionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppConnectionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/appConnectionIamMember.go b/sdk/go/google/beyondcorp/v1alpha/appConnectionIamMember.go index c448aab326..d8e49b5bce 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appConnectionIamMember.go +++ b/sdk/go/google/beyondcorp/v1alpha/appConnectionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppConnectionIamMember) ToAppConnectionIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AppConnectionIamMemberOutput) } +func (i *AppConnectionIamMember) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamMember] { + return pulumix.Output[*AppConnectionIamMember]{ + OutputState: i.ToAppConnectionIamMemberOutputWithContext(ctx).OutputState, + } +} + type AppConnectionIamMemberOutput struct{ *pulumi.OutputState } func (AppConnectionIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppConnectionIamMemberOutput) ToAppConnectionIamMemberOutputWithContext( return o } +func (o AppConnectionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamMember] { + return pulumix.Output[*AppConnectionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppConnectionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/appConnectionIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/appConnectionIamPolicy.go index c359e398a4..6aa9767379 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appConnectionIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/appConnectionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *AppConnectionIamPolicy) ToAppConnectionIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AppConnectionIamPolicyOutput) } +func (i *AppConnectionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamPolicy] { + return pulumix.Output[*AppConnectionIamPolicy]{ + OutputState: i.ToAppConnectionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AppConnectionIamPolicyOutput struct{ *pulumi.OutputState } func (AppConnectionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AppConnectionIamPolicyOutput) ToAppConnectionIamPolicyOutputWithContext( return o } +func (o AppConnectionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionIamPolicy] { + return pulumix.Output[*AppConnectionIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AppConnectionIamPolicyOutput) AppConnectionId() pulumi.StringOutput { return o.ApplyT(func(v *AppConnectionIamPolicy) pulumi.StringOutput { return v.AppConnectionId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/beyondcorp/v1alpha/appConnector.go b/sdk/go/google/beyondcorp/v1alpha/appConnector.go index 7f6f8aecc5..6ca7bae67a 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appConnector.go +++ b/sdk/go/google/beyondcorp/v1alpha/appConnector.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new AppConnector in a given project and location. @@ -151,6 +152,12 @@ func (i *AppConnector) ToAppConnectorOutputWithContext(ctx context.Context) AppC return pulumi.ToOutputWithContext(ctx, i).(AppConnectorOutput) } +func (i *AppConnector) ToOutput(ctx context.Context) pulumix.Output[*AppConnector] { + return pulumix.Output[*AppConnector]{ + OutputState: i.ToAppConnectorOutputWithContext(ctx).OutputState, + } +} + type AppConnectorOutput struct{ *pulumi.OutputState } func (AppConnectorOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o AppConnectorOutput) ToAppConnectorOutputWithContext(ctx context.Context) return o } +func (o AppConnectorOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnector] { + return pulumix.Output[*AppConnector]{ + OutputState: o.OutputState, + } +} + // Optional. User-settable AppConnector resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter. func (o AppConnectorOutput) AppConnectorId() pulumi.StringPtrOutput { return o.ApplyT(func(v *AppConnector) pulumi.StringPtrOutput { return v.AppConnectorId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/appConnectorIamBinding.go b/sdk/go/google/beyondcorp/v1alpha/appConnectorIamBinding.go index b961e8b816..921f3b82a1 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appConnectorIamBinding.go +++ b/sdk/go/google/beyondcorp/v1alpha/appConnectorIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppConnectorIamBinding) ToAppConnectorIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AppConnectorIamBindingOutput) } +func (i *AppConnectorIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamBinding] { + return pulumix.Output[*AppConnectorIamBinding]{ + OutputState: i.ToAppConnectorIamBindingOutputWithContext(ctx).OutputState, + } +} + type AppConnectorIamBindingOutput struct{ *pulumi.OutputState } func (AppConnectorIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppConnectorIamBindingOutput) ToAppConnectorIamBindingOutputWithContext( return o } +func (o AppConnectorIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamBinding] { + return pulumix.Output[*AppConnectorIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppConnectorIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppConnectorIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/appConnectorIamMember.go b/sdk/go/google/beyondcorp/v1alpha/appConnectorIamMember.go index ec597cf695..136ca669ca 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appConnectorIamMember.go +++ b/sdk/go/google/beyondcorp/v1alpha/appConnectorIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppConnectorIamMember) ToAppConnectorIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AppConnectorIamMemberOutput) } +func (i *AppConnectorIamMember) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamMember] { + return pulumix.Output[*AppConnectorIamMember]{ + OutputState: i.ToAppConnectorIamMemberOutputWithContext(ctx).OutputState, + } +} + type AppConnectorIamMemberOutput struct{ *pulumi.OutputState } func (AppConnectorIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppConnectorIamMemberOutput) ToAppConnectorIamMemberOutputWithContext(ct return o } +func (o AppConnectorIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamMember] { + return pulumix.Output[*AppConnectorIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppConnectorIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppConnectorIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/appConnectorIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/appConnectorIamPolicy.go index 82b93eed8f..d1a2b23859 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appConnectorIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/appConnectorIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *AppConnectorIamPolicy) ToAppConnectorIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AppConnectorIamPolicyOutput) } +func (i *AppConnectorIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamPolicy] { + return pulumix.Output[*AppConnectorIamPolicy]{ + OutputState: i.ToAppConnectorIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AppConnectorIamPolicyOutput struct{ *pulumi.OutputState } func (AppConnectorIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AppConnectorIamPolicyOutput) ToAppConnectorIamPolicyOutputWithContext(ct return o } +func (o AppConnectorIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectorIamPolicy] { + return pulumix.Output[*AppConnectorIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AppConnectorIamPolicyOutput) AppConnectorId() pulumi.StringOutput { return o.ApplyT(func(v *AppConnectorIamPolicy) pulumi.StringOutput { return v.AppConnectorId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/beyondcorp/v1alpha/appGateway.go b/sdk/go/google/beyondcorp/v1alpha/appGateway.go index 81def53aa4..d53de297b6 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appGateway.go +++ b/sdk/go/google/beyondcorp/v1alpha/appGateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new AppGateway in a given project and location. @@ -158,6 +159,12 @@ func (i *AppGateway) ToAppGatewayOutputWithContext(ctx context.Context) AppGatew return pulumi.ToOutputWithContext(ctx, i).(AppGatewayOutput) } +func (i *AppGateway) ToOutput(ctx context.Context) pulumix.Output[*AppGateway] { + return pulumix.Output[*AppGateway]{ + OutputState: i.ToAppGatewayOutputWithContext(ctx).OutputState, + } +} + type AppGatewayOutput struct{ *pulumi.OutputState } func (AppGatewayOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o AppGatewayOutput) ToAppGatewayOutputWithContext(ctx context.Context) App return o } +func (o AppGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGateway] { + return pulumix.Output[*AppGateway]{ + OutputState: o.OutputState, + } +} + // A list of connections allocated for the Gateway func (o AppGatewayOutput) AllocatedConnections() AllocatedConnectionResponseArrayOutput { return o.ApplyT(func(v *AppGateway) AllocatedConnectionResponseArrayOutput { return v.AllocatedConnections }).(AllocatedConnectionResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/appGatewayIamBinding.go b/sdk/go/google/beyondcorp/v1alpha/appGatewayIamBinding.go index 0a1971af47..66a72a129c 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appGatewayIamBinding.go +++ b/sdk/go/google/beyondcorp/v1alpha/appGatewayIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppGatewayIamBinding) ToAppGatewayIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AppGatewayIamBindingOutput) } +func (i *AppGatewayIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamBinding] { + return pulumix.Output[*AppGatewayIamBinding]{ + OutputState: i.ToAppGatewayIamBindingOutputWithContext(ctx).OutputState, + } +} + type AppGatewayIamBindingOutput struct{ *pulumi.OutputState } func (AppGatewayIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppGatewayIamBindingOutput) ToAppGatewayIamBindingOutputWithContext(ctx return o } +func (o AppGatewayIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamBinding] { + return pulumix.Output[*AppGatewayIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppGatewayIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppGatewayIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/appGatewayIamMember.go b/sdk/go/google/beyondcorp/v1alpha/appGatewayIamMember.go index af3619a9aa..776fe35648 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appGatewayIamMember.go +++ b/sdk/go/google/beyondcorp/v1alpha/appGatewayIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AppGatewayIamMember) ToAppGatewayIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AppGatewayIamMemberOutput) } +func (i *AppGatewayIamMember) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamMember] { + return pulumix.Output[*AppGatewayIamMember]{ + OutputState: i.ToAppGatewayIamMemberOutputWithContext(ctx).OutputState, + } +} + type AppGatewayIamMemberOutput struct{ *pulumi.OutputState } func (AppGatewayIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AppGatewayIamMemberOutput) ToAppGatewayIamMemberOutputWithContext(ctx co return o } +func (o AppGatewayIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamMember] { + return pulumix.Output[*AppGatewayIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AppGatewayIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AppGatewayIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/appGatewayIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/appGatewayIamPolicy.go index 7a4b1dd9aa..0f3a4bf452 100644 --- a/sdk/go/google/beyondcorp/v1alpha/appGatewayIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/appGatewayIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *AppGatewayIamPolicy) ToAppGatewayIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AppGatewayIamPolicyOutput) } +func (i *AppGatewayIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamPolicy] { + return pulumix.Output[*AppGatewayIamPolicy]{ + OutputState: i.ToAppGatewayIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AppGatewayIamPolicyOutput struct{ *pulumi.OutputState } func (AppGatewayIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AppGatewayIamPolicyOutput) ToAppGatewayIamPolicyOutputWithContext(ctx co return o } +func (o AppGatewayIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayIamPolicy] { + return pulumix.Output[*AppGatewayIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AppGatewayIamPolicyOutput) AppGatewayId() pulumi.StringOutput { return o.ApplyT(func(v *AppGatewayIamPolicy) pulumi.StringOutput { return v.AppGatewayId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/beyondcorp/v1alpha/applicationIamBinding.go b/sdk/go/google/beyondcorp/v1alpha/applicationIamBinding.go index b03c915324..72474a19f8 100644 --- a/sdk/go/google/beyondcorp/v1alpha/applicationIamBinding.go +++ b/sdk/go/google/beyondcorp/v1alpha/applicationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ApplicationIamBinding) ToApplicationIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ApplicationIamBindingOutput) } +func (i *ApplicationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ApplicationIamBinding] { + return pulumix.Output[*ApplicationIamBinding]{ + OutputState: i.ToApplicationIamBindingOutputWithContext(ctx).OutputState, + } +} + type ApplicationIamBindingOutput struct{ *pulumi.OutputState } func (ApplicationIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ApplicationIamBindingOutput) ToApplicationIamBindingOutputWithContext(ct return o } +func (o ApplicationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationIamBinding] { + return pulumix.Output[*ApplicationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApplicationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApplicationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/applicationIamMember.go b/sdk/go/google/beyondcorp/v1alpha/applicationIamMember.go index 64b3abc251..ac131432b3 100644 --- a/sdk/go/google/beyondcorp/v1alpha/applicationIamMember.go +++ b/sdk/go/google/beyondcorp/v1alpha/applicationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ApplicationIamMember) ToApplicationIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ApplicationIamMemberOutput) } +func (i *ApplicationIamMember) ToOutput(ctx context.Context) pulumix.Output[*ApplicationIamMember] { + return pulumix.Output[*ApplicationIamMember]{ + OutputState: i.ToApplicationIamMemberOutputWithContext(ctx).OutputState, + } +} + type ApplicationIamMemberOutput struct{ *pulumi.OutputState } func (ApplicationIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ApplicationIamMemberOutput) ToApplicationIamMemberOutputWithContext(ctx return o } +func (o ApplicationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationIamMember] { + return pulumix.Output[*ApplicationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ApplicationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ApplicationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/applicationIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/applicationIamPolicy.go index 81cd75b45a..578f65b224 100644 --- a/sdk/go/google/beyondcorp/v1alpha/applicationIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/applicationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ApplicationIamPolicy) ToApplicationIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ApplicationIamPolicyOutput) } +func (i *ApplicationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ApplicationIamPolicy] { + return pulumix.Output[*ApplicationIamPolicy]{ + OutputState: i.ToApplicationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ApplicationIamPolicyOutput struct{ *pulumi.OutputState } func (ApplicationIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ApplicationIamPolicyOutput) ToApplicationIamPolicyOutputWithContext(ctx return o } +func (o ApplicationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationIamPolicy] { + return pulumix.Output[*ApplicationIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o ApplicationIamPolicyOutput) ApplicationId() pulumi.StringOutput { return o.ApplyT(func(v *ApplicationIamPolicy) pulumi.StringOutput { return v.ApplicationId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/beyondcorp/v1alpha/clientConnectorService.go b/sdk/go/google/beyondcorp/v1alpha/clientConnectorService.go index 50191082cc..401ce3c367 100644 --- a/sdk/go/google/beyondcorp/v1alpha/clientConnectorService.go +++ b/sdk/go/google/beyondcorp/v1alpha/clientConnectorService.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ClientConnectorService in a given project and location. @@ -146,6 +147,12 @@ func (i *ClientConnectorService) ToClientConnectorServiceOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ClientConnectorServiceOutput) } +func (i *ClientConnectorService) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorService] { + return pulumix.Output[*ClientConnectorService]{ + OutputState: i.ToClientConnectorServiceOutputWithContext(ctx).OutputState, + } +} + type ClientConnectorServiceOutput struct{ *pulumi.OutputState } func (ClientConnectorServiceOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o ClientConnectorServiceOutput) ToClientConnectorServiceOutputWithContext( return o } +func (o ClientConnectorServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorService] { + return pulumix.Output[*ClientConnectorService]{ + OutputState: o.OutputState, + } +} + // Optional. User-settable client connector service resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter. A random system generated name will be assigned if not specified by the user. func (o ClientConnectorServiceOutput) ClientConnectorServiceId() pulumi.StringPtrOutput { return o.ApplyT(func(v *ClientConnectorService) pulumi.StringPtrOutput { return v.ClientConnectorServiceId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamBinding.go b/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamBinding.go index e6b03a1999..a94e818686 100644 --- a/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamBinding.go +++ b/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientConnectorServiceIamBinding) ToClientConnectorServiceIamBindingOut return pulumi.ToOutputWithContext(ctx, i).(ClientConnectorServiceIamBindingOutput) } +func (i *ClientConnectorServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamBinding] { + return pulumix.Output[*ClientConnectorServiceIamBinding]{ + OutputState: i.ToClientConnectorServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type ClientConnectorServiceIamBindingOutput struct{ *pulumi.OutputState } func (ClientConnectorServiceIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientConnectorServiceIamBindingOutput) ToClientConnectorServiceIamBindi return o } +func (o ClientConnectorServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamBinding] { + return pulumix.Output[*ClientConnectorServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientConnectorServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientConnectorServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamMember.go b/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamMember.go index 88da69647d..43e6d8c424 100644 --- a/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamMember.go +++ b/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientConnectorServiceIamMember) ToClientConnectorServiceIamMemberOutpu return pulumi.ToOutputWithContext(ctx, i).(ClientConnectorServiceIamMemberOutput) } +func (i *ClientConnectorServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamMember] { + return pulumix.Output[*ClientConnectorServiceIamMember]{ + OutputState: i.ToClientConnectorServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type ClientConnectorServiceIamMemberOutput struct{ *pulumi.OutputState } func (ClientConnectorServiceIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientConnectorServiceIamMemberOutput) ToClientConnectorServiceIamMember return o } +func (o ClientConnectorServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamMember] { + return pulumix.Output[*ClientConnectorServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientConnectorServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientConnectorServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamPolicy.go index 6c55f7bc1b..eb2a459b7c 100644 --- a/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/clientConnectorServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ClientConnectorServiceIamPolicy) ToClientConnectorServiceIamPolicyOutpu return pulumi.ToOutputWithContext(ctx, i).(ClientConnectorServiceIamPolicyOutput) } +func (i *ClientConnectorServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamPolicy] { + return pulumix.Output[*ClientConnectorServiceIamPolicy]{ + OutputState: i.ToClientConnectorServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ClientConnectorServiceIamPolicyOutput struct{ *pulumi.OutputState } func (ClientConnectorServiceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ClientConnectorServiceIamPolicyOutput) ToClientConnectorServiceIamPolicy return o } +func (o ClientConnectorServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientConnectorServiceIamPolicy] { + return pulumix.Output[*ClientConnectorServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ClientConnectorServiceIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ClientConnectorServiceIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { diff --git a/sdk/go/google/beyondcorp/v1alpha/clientGateway.go b/sdk/go/google/beyondcorp/v1alpha/clientGateway.go index 6c7f817455..3d0946d2f6 100644 --- a/sdk/go/google/beyondcorp/v1alpha/clientGateway.go +++ b/sdk/go/google/beyondcorp/v1alpha/clientGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ClientGateway in a given project and location. @@ -123,6 +124,12 @@ func (i *ClientGateway) ToClientGatewayOutputWithContext(ctx context.Context) Cl return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayOutput) } +func (i *ClientGateway) ToOutput(ctx context.Context) pulumix.Output[*ClientGateway] { + return pulumix.Output[*ClientGateway]{ + OutputState: i.ToClientGatewayOutputWithContext(ctx).OutputState, + } +} + type ClientGatewayOutput struct{ *pulumi.OutputState } func (ClientGatewayOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o ClientGatewayOutput) ToClientGatewayOutputWithContext(ctx context.Contex return o } +func (o ClientGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientGateway] { + return pulumix.Output[*ClientGateway]{ + OutputState: o.OutputState, + } +} + // The client connector service name that the client gateway is associated to. Client Connector Services, named as follows: `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`. func (o ClientGatewayOutput) ClientConnectorService() pulumi.StringOutput { return o.ApplyT(func(v *ClientGateway) pulumi.StringOutput { return v.ClientConnectorService }).(pulumi.StringOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamBinding.go b/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamBinding.go index 35c80421b8..76814ce81f 100644 --- a/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamBinding.go +++ b/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientGatewayIamBinding) ToClientGatewayIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayIamBindingOutput) } +func (i *ClientGatewayIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamBinding] { + return pulumix.Output[*ClientGatewayIamBinding]{ + OutputState: i.ToClientGatewayIamBindingOutputWithContext(ctx).OutputState, + } +} + type ClientGatewayIamBindingOutput struct{ *pulumi.OutputState } func (ClientGatewayIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientGatewayIamBindingOutput) ToClientGatewayIamBindingOutputWithContex return o } +func (o ClientGatewayIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamBinding] { + return pulumix.Output[*ClientGatewayIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientGatewayIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientGatewayIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamMember.go b/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamMember.go index ab91ad5281..26cd2d8ba5 100644 --- a/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamMember.go +++ b/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientGatewayIamMember) ToClientGatewayIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayIamMemberOutput) } +func (i *ClientGatewayIamMember) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamMember] { + return pulumix.Output[*ClientGatewayIamMember]{ + OutputState: i.ToClientGatewayIamMemberOutputWithContext(ctx).OutputState, + } +} + type ClientGatewayIamMemberOutput struct{ *pulumi.OutputState } func (ClientGatewayIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientGatewayIamMemberOutput) ToClientGatewayIamMemberOutputWithContext( return o } +func (o ClientGatewayIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamMember] { + return pulumix.Output[*ClientGatewayIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientGatewayIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientGatewayIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamPolicy.go index f24976a455..e4f1d72d5a 100644 --- a/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/clientGatewayIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ClientGatewayIamPolicy) ToClientGatewayIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ClientGatewayIamPolicyOutput) } +func (i *ClientGatewayIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamPolicy] { + return pulumix.Output[*ClientGatewayIamPolicy]{ + OutputState: i.ToClientGatewayIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ClientGatewayIamPolicyOutput struct{ *pulumi.OutputState } func (ClientGatewayIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ClientGatewayIamPolicyOutput) ToClientGatewayIamPolicyOutputWithContext( return o } +func (o ClientGatewayIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientGatewayIamPolicy] { + return pulumix.Output[*ClientGatewayIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ClientGatewayIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ClientGatewayIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/connection.go b/sdk/go/google/beyondcorp/v1alpha/connection.go index 27eb2dc163..9ffa646354 100644 --- a/sdk/go/google/beyondcorp/v1alpha/connection.go +++ b/sdk/go/google/beyondcorp/v1alpha/connection.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Connection in a given project and location. @@ -166,6 +167,12 @@ func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) Connecti return pulumi.ToOutputWithContext(ctx, i).(ConnectionOutput) } +func (i *Connection) ToOutput(ctx context.Context) pulumix.Output[*Connection] { + return pulumix.Output[*Connection]{ + OutputState: i.ToConnectionOutputWithContext(ctx).OutputState, + } +} + type ConnectionOutput struct{ *pulumi.OutputState } func (ConnectionOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) Con return o } +func (o ConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*Connection] { + return pulumix.Output[*Connection]{ + OutputState: o.OutputState, + } +} + // Address of the remote application endpoint for the BeyondCorp Connection. func (o ConnectionOutput) ApplicationEndpoint() ApplicationEndpointResponseOutput { return o.ApplyT(func(v *Connection) ApplicationEndpointResponseOutput { return v.ApplicationEndpoint }).(ApplicationEndpointResponseOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/connectionIamBinding.go b/sdk/go/google/beyondcorp/v1alpha/connectionIamBinding.go index 122c6949eb..dcdd168b13 100644 --- a/sdk/go/google/beyondcorp/v1alpha/connectionIamBinding.go +++ b/sdk/go/google/beyondcorp/v1alpha/connectionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ConnectionIamBinding) ToConnectionIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ConnectionIamBindingOutput) } +func (i *ConnectionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamBinding] { + return pulumix.Output[*ConnectionIamBinding]{ + OutputState: i.ToConnectionIamBindingOutputWithContext(ctx).OutputState, + } +} + type ConnectionIamBindingOutput struct{ *pulumi.OutputState } func (ConnectionIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ConnectionIamBindingOutput) ToConnectionIamBindingOutputWithContext(ctx return o } +func (o ConnectionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamBinding] { + return pulumix.Output[*ConnectionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/connectionIamMember.go b/sdk/go/google/beyondcorp/v1alpha/connectionIamMember.go index 964bbbba94..ae6a673fc8 100644 --- a/sdk/go/google/beyondcorp/v1alpha/connectionIamMember.go +++ b/sdk/go/google/beyondcorp/v1alpha/connectionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ConnectionIamMember) ToConnectionIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConnectionIamMemberOutput) } +func (i *ConnectionIamMember) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamMember] { + return pulumix.Output[*ConnectionIamMember]{ + OutputState: i.ToConnectionIamMemberOutputWithContext(ctx).OutputState, + } +} + type ConnectionIamMemberOutput struct{ *pulumi.OutputState } func (ConnectionIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ConnectionIamMemberOutput) ToConnectionIamMemberOutputWithContext(ctx co return o } +func (o ConnectionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamMember] { + return pulumix.Output[*ConnectionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/connectionIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/connectionIamPolicy.go index e3edc87620..4baf66657b 100644 --- a/sdk/go/google/beyondcorp/v1alpha/connectionIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/connectionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionIamPolicy) ToConnectionIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConnectionIamPolicyOutput) } +func (i *ConnectionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamPolicy] { + return pulumix.Output[*ConnectionIamPolicy]{ + OutputState: i.ToConnectionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ConnectionIamPolicyOutput struct{ *pulumi.OutputState } func (ConnectionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionIamPolicyOutput) ToConnectionIamPolicyOutputWithContext(ctx co return o } +func (o ConnectionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamPolicy] { + return pulumix.Output[*ConnectionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ConnectionIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ConnectionIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/connector.go b/sdk/go/google/beyondcorp/v1alpha/connector.go index 8271add3f5..fef6fbddf9 100644 --- a/sdk/go/google/beyondcorp/v1alpha/connector.go +++ b/sdk/go/google/beyondcorp/v1alpha/connector.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Connector in a given project and location. @@ -151,6 +152,12 @@ func (i *Connector) ToConnectorOutputWithContext(ctx context.Context) ConnectorO return pulumi.ToOutputWithContext(ctx, i).(ConnectorOutput) } +func (i *Connector) ToOutput(ctx context.Context) pulumix.Output[*Connector] { + return pulumix.Output[*Connector]{ + OutputState: i.ToConnectorOutputWithContext(ctx).OutputState, + } +} + type ConnectorOutput struct{ *pulumi.OutputState } func (ConnectorOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o ConnectorOutput) ToConnectorOutputWithContext(ctx context.Context) Conne return o } +func (o ConnectorOutput) ToOutput(ctx context.Context) pulumix.Output[*Connector] { + return pulumix.Output[*Connector]{ + OutputState: o.OutputState, + } +} + // Optional. User-settable connector resource ID. * Must start with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number or a letter. func (o ConnectorOutput) ConnectorId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Connector) pulumi.StringPtrOutput { return v.ConnectorId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/connectorIamBinding.go b/sdk/go/google/beyondcorp/v1alpha/connectorIamBinding.go index 527881f7d9..3b88daa0f6 100644 --- a/sdk/go/google/beyondcorp/v1alpha/connectorIamBinding.go +++ b/sdk/go/google/beyondcorp/v1alpha/connectorIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ConnectorIamBinding) ToConnectorIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConnectorIamBindingOutput) } +func (i *ConnectorIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ConnectorIamBinding] { + return pulumix.Output[*ConnectorIamBinding]{ + OutputState: i.ToConnectorIamBindingOutputWithContext(ctx).OutputState, + } +} + type ConnectorIamBindingOutput struct{ *pulumi.OutputState } func (ConnectorIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ConnectorIamBindingOutput) ToConnectorIamBindingOutputWithContext(ctx co return o } +func (o ConnectorIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectorIamBinding] { + return pulumix.Output[*ConnectorIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectorIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectorIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/connectorIamMember.go b/sdk/go/google/beyondcorp/v1alpha/connectorIamMember.go index 7977ae540d..b680faf6f2 100644 --- a/sdk/go/google/beyondcorp/v1alpha/connectorIamMember.go +++ b/sdk/go/google/beyondcorp/v1alpha/connectorIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ConnectorIamMember) ToConnectorIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ConnectorIamMemberOutput) } +func (i *ConnectorIamMember) ToOutput(ctx context.Context) pulumix.Output[*ConnectorIamMember] { + return pulumix.Output[*ConnectorIamMember]{ + OutputState: i.ToConnectorIamMemberOutputWithContext(ctx).OutputState, + } +} + type ConnectorIamMemberOutput struct{ *pulumi.OutputState } func (ConnectorIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ConnectorIamMemberOutput) ToConnectorIamMemberOutputWithContext(ctx cont return o } +func (o ConnectorIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectorIamMember] { + return pulumix.Output[*ConnectorIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectorIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectorIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/connectorIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/connectorIamPolicy.go index 9ea613ea93..21d536f502 100644 --- a/sdk/go/google/beyondcorp/v1alpha/connectorIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/connectorIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectorIamPolicy) ToConnectorIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ConnectorIamPolicyOutput) } +func (i *ConnectorIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ConnectorIamPolicy] { + return pulumix.Output[*ConnectorIamPolicy]{ + OutputState: i.ToConnectorIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ConnectorIamPolicyOutput struct{ *pulumi.OutputState } func (ConnectorIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectorIamPolicyOutput) ToConnectorIamPolicyOutputWithContext(ctx cont return o } +func (o ConnectorIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectorIamPolicy] { + return pulumix.Output[*ConnectorIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ConnectorIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ConnectorIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getAppConnection.go b/sdk/go/google/beyondcorp/v1alpha/getAppConnection.go index 7a0c900b1f..5cd0319516 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getAppConnection.go +++ b/sdk/go/google/beyondcorp/v1alpha/getAppConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single AppConnection. @@ -90,6 +91,12 @@ func (o LookupAppConnectionResultOutput) ToLookupAppConnectionResultOutputWithCo return o } +func (o LookupAppConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppConnectionResult] { + return pulumix.Output[LookupAppConnectionResult]{ + OutputState: o.OutputState, + } +} + // Address of the remote application endpoint for the BeyondCorp AppConnection. func (o LookupAppConnectionResultOutput) ApplicationEndpoint() GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointResponseOutput { return o.ApplyT(func(v LookupAppConnectionResult) GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointResponse { diff --git a/sdk/go/google/beyondcorp/v1alpha/getAppConnectionIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/getAppConnectionIamPolicy.go index 09a624f40a..cdbcc29937 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getAppConnectionIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/getAppConnectionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupAppConnectionIamPolicyResultOutput) ToLookupAppConnectionIamPolicy return o } +func (o LookupAppConnectionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppConnectionIamPolicyResult] { + return pulumix.Output[LookupAppConnectionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAppConnectionIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAppConnectionIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getAppConnector.go b/sdk/go/google/beyondcorp/v1alpha/getAppConnector.go index 57cfa80d81..63fb5c18ca 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getAppConnector.go +++ b/sdk/go/google/beyondcorp/v1alpha/getAppConnector.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single AppConnector. @@ -86,6 +87,12 @@ func (o LookupAppConnectorResultOutput) ToLookupAppConnectorResultOutputWithCont return o } +func (o LookupAppConnectorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppConnectorResult] { + return pulumix.Output[LookupAppConnectorResult]{ + OutputState: o.OutputState, + } +} + // Timestamp when the resource was created. func (o LookupAppConnectorResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupAppConnectorResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getAppConnectorIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/getAppConnectorIamPolicy.go index 5b8cb21237..09f4feae1b 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getAppConnectorIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/getAppConnectorIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupAppConnectorIamPolicyResultOutput) ToLookupAppConnectorIamPolicyRe return o } +func (o LookupAppConnectorIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppConnectorIamPolicyResult] { + return pulumix.Output[LookupAppConnectorIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAppConnectorIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAppConnectorIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getAppGateway.go b/sdk/go/google/beyondcorp/v1alpha/getAppGateway.go index b91056bc68..e0dcd5c940 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getAppGateway.go +++ b/sdk/go/google/beyondcorp/v1alpha/getAppGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single AppGateway. @@ -90,6 +91,12 @@ func (o LookupAppGatewayResultOutput) ToLookupAppGatewayResultOutputWithContext( return o } +func (o LookupAppGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppGatewayResult] { + return pulumix.Output[LookupAppGatewayResult]{ + OutputState: o.OutputState, + } +} + // A list of connections allocated for the Gateway func (o LookupAppGatewayResultOutput) AllocatedConnections() AllocatedConnectionResponseArrayOutput { return o.ApplyT(func(v LookupAppGatewayResult) []AllocatedConnectionResponse { return v.AllocatedConnections }).(AllocatedConnectionResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getAppGatewayIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/getAppGatewayIamPolicy.go index b1685ca5ff..9c7296389b 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getAppGatewayIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/getAppGatewayIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupAppGatewayIamPolicyResultOutput) ToLookupAppGatewayIamPolicyResult return o } +func (o LookupAppGatewayIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppGatewayIamPolicyResult] { + return pulumix.Output[LookupAppGatewayIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAppGatewayIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAppGatewayIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getApplicationIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/getApplicationIamPolicy.go index 066458cd7c..3aa1c366be 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getApplicationIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/getApplicationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupApplicationIamPolicyResultOutput) ToLookupApplicationIamPolicyResu return o } +func (o LookupApplicationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupApplicationIamPolicyResult] { + return pulumix.Output[LookupApplicationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupApplicationIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupApplicationIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getClientConnectorService.go b/sdk/go/google/beyondcorp/v1alpha/getClientConnectorService.go index 2f5390d155..17d9f6a6a3 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getClientConnectorService.go +++ b/sdk/go/google/beyondcorp/v1alpha/getClientConnectorService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ClientConnectorService. @@ -82,6 +83,12 @@ func (o LookupClientConnectorServiceResultOutput) ToLookupClientConnectorService return o } +func (o LookupClientConnectorServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClientConnectorServiceResult] { + return pulumix.Output[LookupClientConnectorServiceResult]{ + OutputState: o.OutputState, + } +} + // [Output only] Create time stamp. func (o LookupClientConnectorServiceResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupClientConnectorServiceResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getClientConnectorServiceIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/getClientConnectorServiceIamPolicy.go index 0b1b60f957..be86dde419 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getClientConnectorServiceIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/getClientConnectorServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupClientConnectorServiceIamPolicyResultOutput) ToLookupClientConnect return o } +func (o LookupClientConnectorServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClientConnectorServiceIamPolicyResult] { + return pulumix.Output[LookupClientConnectorServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupClientConnectorServiceIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupClientConnectorServiceIamPolicyResult) []GoogleIamV1AuditConfigResponse { diff --git a/sdk/go/google/beyondcorp/v1alpha/getClientGateway.go b/sdk/go/google/beyondcorp/v1alpha/getClientGateway.go index de12deb13e..7b8ea2f102 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getClientGateway.go +++ b/sdk/go/google/beyondcorp/v1alpha/getClientGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ClientGateway. @@ -78,6 +79,12 @@ func (o LookupClientGatewayResultOutput) ToLookupClientGatewayResultOutputWithCo return o } +func (o LookupClientGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClientGatewayResult] { + return pulumix.Output[LookupClientGatewayResult]{ + OutputState: o.OutputState, + } +} + // The client connector service name that the client gateway is associated to. Client Connector Services, named as follows: `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`. func (o LookupClientGatewayResultOutput) ClientConnectorService() pulumi.StringOutput { return o.ApplyT(func(v LookupClientGatewayResult) string { return v.ClientConnectorService }).(pulumi.StringOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getClientGatewayIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/getClientGatewayIamPolicy.go index b47885f9a0..6b491b17a7 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getClientGatewayIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/getClientGatewayIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupClientGatewayIamPolicyResultOutput) ToLookupClientGatewayIamPolicy return o } +func (o LookupClientGatewayIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClientGatewayIamPolicyResult] { + return pulumix.Output[LookupClientGatewayIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupClientGatewayIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupClientGatewayIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getConnection.go b/sdk/go/google/beyondcorp/v1alpha/getConnection.go index 98622c646f..1b5e590faf 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getConnection.go +++ b/sdk/go/google/beyondcorp/v1alpha/getConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Connection. @@ -90,6 +91,12 @@ func (o LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext( return o } +func (o LookupConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionResult] { + return pulumix.Output[LookupConnectionResult]{ + OutputState: o.OutputState, + } +} + // Address of the remote application endpoint for the BeyondCorp Connection. func (o LookupConnectionResultOutput) ApplicationEndpoint() ApplicationEndpointResponseOutput { return o.ApplyT(func(v LookupConnectionResult) ApplicationEndpointResponse { return v.ApplicationEndpoint }).(ApplicationEndpointResponseOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getConnectionIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/getConnectionIamPolicy.go index aa3bdb308e..82ab829d3e 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getConnectionIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/getConnectionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResult return o } +func (o LookupConnectionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionIamPolicyResult] { + return pulumix.Output[LookupConnectionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupConnectionIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupConnectionIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getConnector.go b/sdk/go/google/beyondcorp/v1alpha/getConnector.go index dcf1229132..dd8e18c066 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getConnector.go +++ b/sdk/go/google/beyondcorp/v1alpha/getConnector.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Connector. @@ -86,6 +87,12 @@ func (o LookupConnectorResultOutput) ToLookupConnectorResultOutputWithContext(ct return o } +func (o LookupConnectorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectorResult] { + return pulumix.Output[LookupConnectorResult]{ + OutputState: o.OutputState, + } +} + // Timestamp when the resource was created. func (o LookupConnectorResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectorResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getConnectorIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/getConnectorIamPolicy.go index 3d9a3f7aa0..d2a0167582 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getConnectorIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/getConnectorIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupConnectorIamPolicyResultOutput) ToLookupConnectorIamPolicyResultOu return o } +func (o LookupConnectorIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectorIamPolicyResult] { + return pulumix.Output[LookupConnectorIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupConnectorIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupConnectorIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getNetConnectionIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/getNetConnectionIamPolicy.go index 460db60fbe..eb4265cb59 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getNetConnectionIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/getNetConnectionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupNetConnectionIamPolicyResultOutput) ToLookupNetConnectionIamPolicy return o } +func (o LookupNetConnectionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetConnectionIamPolicyResult] { + return pulumix.Output[LookupNetConnectionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNetConnectionIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNetConnectionIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getProxyConfig.go b/sdk/go/google/beyondcorp/v1alpha/getProxyConfig.go index bcf117d938..832f58fd31 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getProxyConfig.go +++ b/sdk/go/google/beyondcorp/v1alpha/getProxyConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Tenant. @@ -84,6 +85,12 @@ func (o LookupProxyConfigResultOutput) ToLookupProxyConfigResultOutputWithContex return o } +func (o LookupProxyConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProxyConfigResult] { + return pulumix.Output[LookupProxyConfigResult]{ + OutputState: o.OutputState, + } +} + // Optional. Information to facilitate Authentication against the proxy server. func (o LookupProxyConfigResultOutput) AuthenticationInfo() GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoResponseOutput { return o.ApplyT(func(v LookupProxyConfigResult) GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoResponse { diff --git a/sdk/go/google/beyondcorp/v1alpha/getSubscription.go b/sdk/go/google/beyondcorp/v1alpha/getSubscription.go index 8786b80062..b6f51ab3ae 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getSubscription.go +++ b/sdk/go/google/beyondcorp/v1alpha/getSubscription.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Subscription. @@ -86,6 +87,12 @@ func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithCont return o } +func (o LookupSubscriptionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubscriptionResult] { + return pulumix.Output[LookupSubscriptionResult]{ + OutputState: o.OutputState, + } +} + // Represents that, if subscription will renew or end when the term ends. func (o LookupSubscriptionResultOutput) AutoRenewEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupSubscriptionResult) bool { return v.AutoRenewEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/getTenant.go b/sdk/go/google/beyondcorp/v1alpha/getTenant.go index 7e5f1306af..d901d4d29d 100644 --- a/sdk/go/google/beyondcorp/v1alpha/getTenant.go +++ b/sdk/go/google/beyondcorp/v1alpha/getTenant.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Tenant. @@ -80,6 +81,12 @@ func (o LookupTenantResultOutput) ToLookupTenantResultOutputWithContext(ctx cont return o } +func (o LookupTenantResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTenantResult] { + return pulumix.Output[LookupTenantResult]{ + OutputState: o.OutputState, + } +} + // Timestamp when the resource was created. func (o LookupTenantResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTenantResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/netConnectionIamBinding.go b/sdk/go/google/beyondcorp/v1alpha/netConnectionIamBinding.go index 52f05e8525..4eaf53eaad 100644 --- a/sdk/go/google/beyondcorp/v1alpha/netConnectionIamBinding.go +++ b/sdk/go/google/beyondcorp/v1alpha/netConnectionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *NetConnectionIamBinding) ToNetConnectionIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NetConnectionIamBindingOutput) } +func (i *NetConnectionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NetConnectionIamBinding] { + return pulumix.Output[*NetConnectionIamBinding]{ + OutputState: i.ToNetConnectionIamBindingOutputWithContext(ctx).OutputState, + } +} + type NetConnectionIamBindingOutput struct{ *pulumi.OutputState } func (NetConnectionIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o NetConnectionIamBindingOutput) ToNetConnectionIamBindingOutputWithContex return o } +func (o NetConnectionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NetConnectionIamBinding] { + return pulumix.Output[*NetConnectionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetConnectionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/netConnectionIamMember.go b/sdk/go/google/beyondcorp/v1alpha/netConnectionIamMember.go index 3e8ed53b9f..c535be56b3 100644 --- a/sdk/go/google/beyondcorp/v1alpha/netConnectionIamMember.go +++ b/sdk/go/google/beyondcorp/v1alpha/netConnectionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *NetConnectionIamMember) ToNetConnectionIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NetConnectionIamMemberOutput) } +func (i *NetConnectionIamMember) ToOutput(ctx context.Context) pulumix.Output[*NetConnectionIamMember] { + return pulumix.Output[*NetConnectionIamMember]{ + OutputState: i.ToNetConnectionIamMemberOutputWithContext(ctx).OutputState, + } +} + type NetConnectionIamMemberOutput struct{ *pulumi.OutputState } func (NetConnectionIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o NetConnectionIamMemberOutput) ToNetConnectionIamMemberOutputWithContext( return o } +func (o NetConnectionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NetConnectionIamMember] { + return pulumix.Output[*NetConnectionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetConnectionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/netConnectionIamPolicy.go b/sdk/go/google/beyondcorp/v1alpha/netConnectionIamPolicy.go index 4e13e70927..926541a56a 100644 --- a/sdk/go/google/beyondcorp/v1alpha/netConnectionIamPolicy.go +++ b/sdk/go/google/beyondcorp/v1alpha/netConnectionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *NetConnectionIamPolicy) ToNetConnectionIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NetConnectionIamPolicyOutput) } +func (i *NetConnectionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NetConnectionIamPolicy] { + return pulumix.Output[*NetConnectionIamPolicy]{ + OutputState: i.ToNetConnectionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NetConnectionIamPolicyOutput struct{ *pulumi.OutputState } func (NetConnectionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetConnectionIamPolicyOutput) ToNetConnectionIamPolicyOutputWithContext( return o } +func (o NetConnectionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NetConnectionIamPolicy] { + return pulumix.Output[*NetConnectionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NetConnectionIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NetConnectionIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/proxyConfig.go b/sdk/go/google/beyondcorp/v1alpha/proxyConfig.go index 5811b36736..5eef654dae 100644 --- a/sdk/go/google/beyondcorp/v1alpha/proxyConfig.go +++ b/sdk/go/google/beyondcorp/v1alpha/proxyConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new BeyondCorp Enterprise ProxyConfiguration in a given organization and tenant. Can only be called by on onboarded Beyondcorp Enterprise partner. @@ -158,6 +159,12 @@ func (i *ProxyConfig) ToProxyConfigOutputWithContext(ctx context.Context) ProxyC return pulumi.ToOutputWithContext(ctx, i).(ProxyConfigOutput) } +func (i *ProxyConfig) ToOutput(ctx context.Context) pulumix.Output[*ProxyConfig] { + return pulumix.Output[*ProxyConfig]{ + OutputState: i.ToProxyConfigOutputWithContext(ctx).OutputState, + } +} + type ProxyConfigOutput struct{ *pulumi.OutputState } func (ProxyConfigOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o ProxyConfigOutput) ToProxyConfigOutputWithContext(ctx context.Context) P return o } +func (o ProxyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ProxyConfig] { + return pulumix.Output[*ProxyConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Information to facilitate Authentication against the proxy server. func (o ProxyConfigOutput) AuthenticationInfo() GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoResponseOutput { return o.ApplyT(func(v *ProxyConfig) GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoResponseOutput { diff --git a/sdk/go/google/beyondcorp/v1alpha/pulumiEnums.go b/sdk/go/google/beyondcorp/v1alpha/pulumiEnums.go index 56430d7f65..9dd0fb2eea 100644 --- a/sdk/go/google/beyondcorp/v1alpha/pulumiEnums.go +++ b/sdk/go/google/beyondcorp/v1alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The type of network connectivity used by the AppConnection. @@ -80,6 +81,12 @@ func (o AppConnectionTypeOutput) ToAppConnectionTypePtrOutputWithContext(ctx con }).(AppConnectionTypePtrOutput) } +func (o AppConnectionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AppConnectionType] { + return pulumix.Output[AppConnectionType]{ + OutputState: o.OutputState, + } +} + func (o AppConnectionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o AppConnectionTypePtrOutput) ToAppConnectionTypePtrOutputWithContext(ctx return o } +func (o AppConnectionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionType] { + return pulumix.Output[*AppConnectionType]{ + OutputState: o.OutputState, + } +} + func (o AppConnectionTypePtrOutput) Elem() AppConnectionTypeOutput { return o.ApplyT(func(v *AppConnectionType) AppConnectionType { if v != nil { @@ -177,6 +190,12 @@ func (in *appConnectionTypePtr) ToAppConnectionTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(AppConnectionTypePtrOutput) } +func (in *appConnectionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AppConnectionType] { + return pulumix.Output[*AppConnectionType]{ + OutputState: in.ToAppConnectionTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of hosting used by the AppGateway. type AppGatewayHostType string @@ -247,6 +266,12 @@ func (o AppGatewayHostTypeOutput) ToAppGatewayHostTypePtrOutputWithContext(ctx c }).(AppGatewayHostTypePtrOutput) } +func (o AppGatewayHostTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AppGatewayHostType] { + return pulumix.Output[AppGatewayHostType]{ + OutputState: o.OutputState, + } +} + func (o AppGatewayHostTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -282,6 +307,12 @@ func (o AppGatewayHostTypePtrOutput) ToAppGatewayHostTypePtrOutputWithContext(ct return o } +func (o AppGatewayHostTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayHostType] { + return pulumix.Output[*AppGatewayHostType]{ + OutputState: o.OutputState, + } +} + func (o AppGatewayHostTypePtrOutput) Elem() AppGatewayHostTypeOutput { return o.ApplyT(func(v *AppGatewayHostType) AppGatewayHostType { if v != nil { @@ -344,6 +375,12 @@ func (in *appGatewayHostTypePtr) ToAppGatewayHostTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(AppGatewayHostTypePtrOutput) } +func (in *appGatewayHostTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayHostType] { + return pulumix.Output[*AppGatewayHostType]{ + OutputState: in.ToAppGatewayHostTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of network connectivity used by the AppGateway. type AppGatewayType string @@ -414,6 +451,12 @@ func (o AppGatewayTypeOutput) ToAppGatewayTypePtrOutputWithContext(ctx context.C }).(AppGatewayTypePtrOutput) } +func (o AppGatewayTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AppGatewayType] { + return pulumix.Output[AppGatewayType]{ + OutputState: o.OutputState, + } +} + func (o AppGatewayTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -449,6 +492,12 @@ func (o AppGatewayTypePtrOutput) ToAppGatewayTypePtrOutputWithContext(ctx contex return o } +func (o AppGatewayTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayType] { + return pulumix.Output[*AppGatewayType]{ + OutputState: o.OutputState, + } +} + func (o AppGatewayTypePtrOutput) Elem() AppGatewayTypeOutput { return o.ApplyT(func(v *AppGatewayType) AppGatewayType { if v != nil { @@ -511,6 +560,12 @@ func (in *appGatewayTypePtr) ToAppGatewayTypePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(AppGatewayTypePtrOutput) } +func (in *appGatewayTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AppGatewayType] { + return pulumix.Output[*AppGatewayType]{ + OutputState: in.ToAppGatewayTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The transport protocol used between the client and the server. type ConfigTransportProtocol string @@ -581,6 +636,12 @@ func (o ConfigTransportProtocolOutput) ToConfigTransportProtocolPtrOutputWithCon }).(ConfigTransportProtocolPtrOutput) } +func (o ConfigTransportProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigTransportProtocol] { + return pulumix.Output[ConfigTransportProtocol]{ + OutputState: o.OutputState, + } +} + func (o ConfigTransportProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -616,6 +677,12 @@ func (o ConfigTransportProtocolPtrOutput) ToConfigTransportProtocolPtrOutputWith return o } +func (o ConfigTransportProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigTransportProtocol] { + return pulumix.Output[*ConfigTransportProtocol]{ + OutputState: o.OutputState, + } +} + func (o ConfigTransportProtocolPtrOutput) Elem() ConfigTransportProtocolOutput { return o.ApplyT(func(v *ConfigTransportProtocol) ConfigTransportProtocol { if v != nil { @@ -678,6 +745,12 @@ func (in *configTransportProtocolPtr) ToConfigTransportProtocolPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(ConfigTransportProtocolPtrOutput) } +func (in *configTransportProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*ConfigTransportProtocol] { + return pulumix.Output[*ConfigTransportProtocol]{ + OutputState: in.ToConfigTransportProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of network connectivity used by the connection. type ConnectionType string @@ -748,6 +821,12 @@ func (o ConnectionTypeOutput) ToConnectionTypePtrOutputWithContext(ctx context.C }).(ConnectionTypePtrOutput) } +func (o ConnectionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionType] { + return pulumix.Output[ConnectionType]{ + OutputState: o.OutputState, + } +} + func (o ConnectionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -783,6 +862,12 @@ func (o ConnectionTypePtrOutput) ToConnectionTypePtrOutputWithContext(ctx contex return o } +func (o ConnectionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionType] { + return pulumix.Output[*ConnectionType]{ + OutputState: o.OutputState, + } +} + func (o ConnectionTypePtrOutput) Elem() ConnectionTypeOutput { return o.ApplyT(func(v *ConnectionType) ConnectionType { if v != nil { @@ -845,6 +930,12 @@ func (in *connectionTypePtr) ToConnectionTypePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(ConnectionTypePtrOutput) } +func (in *connectionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ConnectionType] { + return pulumix.Output[*ConnectionType]{ + OutputState: in.ToConnectionTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of hosting used by the gateway. type GatewayType string @@ -915,6 +1006,12 @@ func (o GatewayTypeOutput) ToGatewayTypePtrOutputWithContext(ctx context.Context }).(GatewayTypePtrOutput) } +func (o GatewayTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayType] { + return pulumix.Output[GatewayType]{ + OutputState: o.OutputState, + } +} + func (o GatewayTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -950,6 +1047,12 @@ func (o GatewayTypePtrOutput) ToGatewayTypePtrOutputWithContext(ctx context.Cont return o } +func (o GatewayTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayType] { + return pulumix.Output[*GatewayType]{ + OutputState: o.OutputState, + } +} + func (o GatewayTypePtrOutput) Elem() GatewayTypeOutput { return o.ApplyT(func(v *GatewayType) GatewayType { if v != nil { @@ -1012,6 +1115,12 @@ func (in *gatewayTypePtr) ToGatewayTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(GatewayTypePtrOutput) } +func (in *gatewayTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GatewayType] { + return pulumix.Output[*GatewayType]{ + OutputState: in.ToGatewayTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of hosting used by the gateway. type GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayType string @@ -1082,6 +1191,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypeOutput }).(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypePtrOutput) } +func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayType] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1117,6 +1232,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypePtrOut return o } +func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayType] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypePtrOutput) Elem() GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypeOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayType) GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayType { if v != nil { @@ -1179,6 +1300,12 @@ func (in *googleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypePtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypePtrOutput) } +func (in *googleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayType] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayType]{ + OutputState: in.ToGoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayTypePtrOutputWithContext(ctx).OutputState, + } +} + // Overall health status. Overall status is derived based on the status of each sub level resources. type GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatus string @@ -1255,6 +1382,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusOutput) ToGoo }).(GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusPtrOutput) } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatus] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatus]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1290,6 +1423,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusPtrOutput) To return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatus] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatus]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusPtrOutput) Elem() GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatus) GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatus { if v != nil { @@ -1352,6 +1491,12 @@ func (in *googleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusPtr) ToGoog return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusPtrOutput) } +func (in *googleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatus] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatus]{ + OutputState: in.ToGoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -1426,6 +1571,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1461,6 +1612,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -1523,6 +1680,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Overall health status. Overall status is derived based on the status of each sub level resources. type ResourceInfoStatus string @@ -1599,6 +1762,12 @@ func (o ResourceInfoStatusOutput) ToResourceInfoStatusPtrOutputWithContext(ctx c }).(ResourceInfoStatusPtrOutput) } +func (o ResourceInfoStatusOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceInfoStatus] { + return pulumix.Output[ResourceInfoStatus]{ + OutputState: o.OutputState, + } +} + func (o ResourceInfoStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1634,6 +1803,12 @@ func (o ResourceInfoStatusPtrOutput) ToResourceInfoStatusPtrOutputWithContext(ct return o } +func (o ResourceInfoStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceInfoStatus] { + return pulumix.Output[*ResourceInfoStatus]{ + OutputState: o.OutputState, + } +} + func (o ResourceInfoStatusPtrOutput) Elem() ResourceInfoStatusOutput { return o.ApplyT(func(v *ResourceInfoStatus) ResourceInfoStatus { if v != nil { @@ -1696,6 +1871,12 @@ func (in *resourceInfoStatusPtr) ToResourceInfoStatusPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ResourceInfoStatusPtrOutput) } +func (in *resourceInfoStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*ResourceInfoStatus] { + return pulumix.Output[*ResourceInfoStatus]{ + OutputState: in.ToResourceInfoStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Required. SKU of subscription. type SubscriptionSku string @@ -1766,6 +1947,12 @@ func (o SubscriptionSkuOutput) ToSubscriptionSkuPtrOutputWithContext(ctx context }).(SubscriptionSkuPtrOutput) } +func (o SubscriptionSkuOutput) ToOutput(ctx context.Context) pulumix.Output[SubscriptionSku] { + return pulumix.Output[SubscriptionSku]{ + OutputState: o.OutputState, + } +} + func (o SubscriptionSkuOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1801,6 +1988,12 @@ func (o SubscriptionSkuPtrOutput) ToSubscriptionSkuPtrOutputWithContext(ctx cont return o } +func (o SubscriptionSkuPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionSku] { + return pulumix.Output[*SubscriptionSku]{ + OutputState: o.OutputState, + } +} + func (o SubscriptionSkuPtrOutput) Elem() SubscriptionSkuOutput { return o.ApplyT(func(v *SubscriptionSku) SubscriptionSku { if v != nil { @@ -1863,6 +2056,12 @@ func (in *subscriptionSkuPtr) ToSubscriptionSkuPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(SubscriptionSkuPtrOutput) } +func (in *subscriptionSkuPtr) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionSku] { + return pulumix.Output[*SubscriptionSku]{ + OutputState: in.ToSubscriptionSkuPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Type of subscription. type SubscriptionType string @@ -1937,6 +2136,12 @@ func (o SubscriptionTypeOutput) ToSubscriptionTypePtrOutputWithContext(ctx conte }).(SubscriptionTypePtrOutput) } +func (o SubscriptionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SubscriptionType] { + return pulumix.Output[SubscriptionType]{ + OutputState: o.OutputState, + } +} + func (o SubscriptionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1972,6 +2177,12 @@ func (o SubscriptionTypePtrOutput) ToSubscriptionTypePtrOutputWithContext(ctx co return o } +func (o SubscriptionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionType] { + return pulumix.Output[*SubscriptionType]{ + OutputState: o.OutputState, + } +} + func (o SubscriptionTypePtrOutput) Elem() SubscriptionTypeOutput { return o.ApplyT(func(v *SubscriptionType) SubscriptionType { if v != nil { @@ -2034,6 +2245,12 @@ func (in *subscriptionTypePtr) ToSubscriptionTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(SubscriptionTypePtrOutput) } +func (in *subscriptionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionType] { + return pulumix.Output[*SubscriptionType]{ + OutputState: in.ToSubscriptionTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AppConnectionTypeInput)(nil)).Elem(), AppConnectionType("TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AppConnectionTypePtrInput)(nil)).Elem(), AppConnectionType("TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/beyondcorp/v1alpha/pulumiTypes.go b/sdk/go/google/beyondcorp/v1alpha/pulumiTypes.go index cbedb5782a..fea7634586 100644 --- a/sdk/go/google/beyondcorp/v1alpha/pulumiTypes.go +++ b/sdk/go/google/beyondcorp/v1alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -36,6 +37,12 @@ func (o AllocatedConnectionResponseOutput) ToAllocatedConnectionResponseOutputWi return o } +func (o AllocatedConnectionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocatedConnectionResponse] { + return pulumix.Output[AllocatedConnectionResponse]{ + OutputState: o.OutputState, + } +} + // The ingress port of an allocated connection func (o AllocatedConnectionResponseOutput) IngressPort() pulumi.IntOutput { return o.ApplyT(func(v AllocatedConnectionResponse) int { return v.IngressPort }).(pulumi.IntOutput) @@ -60,6 +67,12 @@ func (o AllocatedConnectionResponseArrayOutput) ToAllocatedConnectionResponseArr return o } +func (o AllocatedConnectionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllocatedConnectionResponse] { + return pulumix.Output[[]AllocatedConnectionResponse]{ + OutputState: o.OutputState, + } +} + func (o AllocatedConnectionResponseArrayOutput) Index(i pulumi.IntInput) AllocatedConnectionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllocatedConnectionResponse { return vs[0].([]AllocatedConnectionResponse)[vs[1].(int)] @@ -105,6 +118,12 @@ func (i ApplicationEndpointArgs) ToApplicationEndpointOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ApplicationEndpointOutput) } +func (i ApplicationEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[ApplicationEndpoint] { + return pulumix.Output[ApplicationEndpoint]{ + OutputState: i.ToApplicationEndpointOutputWithContext(ctx).OutputState, + } +} + // ApplicationEndpoint represents a remote application endpoint. type ApplicationEndpointOutput struct{ *pulumi.OutputState } @@ -120,6 +139,12 @@ func (o ApplicationEndpointOutput) ToApplicationEndpointOutputWithContext(ctx co return o } +func (o ApplicationEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationEndpoint] { + return pulumix.Output[ApplicationEndpoint]{ + OutputState: o.OutputState, + } +} + // Hostname or IP address of the remote application endpoint. func (o ApplicationEndpointOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v ApplicationEndpoint) string { return v.Host }).(pulumi.StringOutput) @@ -153,6 +178,12 @@ func (o ApplicationEndpointResponseOutput) ToApplicationEndpointResponseOutputWi return o } +func (o ApplicationEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationEndpointResponse] { + return pulumix.Output[ApplicationEndpointResponse]{ + OutputState: o.OutputState, + } +} + // Hostname or IP address of the remote application endpoint. func (o ApplicationEndpointResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v ApplicationEndpointResponse) string { return v.Host }).(pulumi.StringOutput) @@ -202,6 +233,12 @@ func (i ConfigArgs) ToConfigOutputWithContext(ctx context.Context) ConfigOutput return pulumi.ToOutputWithContext(ctx, i).(ConfigOutput) } +func (i ConfigArgs) ToOutput(ctx context.Context) pulumix.Output[Config] { + return pulumix.Output[Config]{ + OutputState: i.ToConfigOutputWithContext(ctx).OutputState, + } +} + func (i ConfigArgs) ToConfigPtrOutput() ConfigPtrOutput { return i.ToConfigPtrOutputWithContext(context.Background()) } @@ -243,6 +280,12 @@ func (i *configPtrType) ToConfigPtrOutputWithContext(ctx context.Context) Config return pulumi.ToOutputWithContext(ctx, i).(ConfigPtrOutput) } +func (i *configPtrType) ToOutput(ctx context.Context) pulumix.Output[*Config] { + return pulumix.Output[*Config]{ + OutputState: i.ToConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The basic ingress config for ClientGateways. type ConfigOutput struct{ *pulumi.OutputState } @@ -268,6 +311,12 @@ func (o ConfigOutput) ToConfigPtrOutputWithContext(ctx context.Context) ConfigPt }).(ConfigPtrOutput) } +func (o ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[Config] { + return pulumix.Output[Config]{ + OutputState: o.OutputState, + } +} + // The settings used to configure basic ClientGateways. func (o ConfigOutput) DestinationRoutes() DestinationRouteArrayOutput { return o.ApplyT(func(v Config) []DestinationRoute { return v.DestinationRoutes }).(DestinationRouteArrayOutput) @@ -292,6 +341,12 @@ func (o ConfigPtrOutput) ToConfigPtrOutputWithContext(ctx context.Context) Confi return o } +func (o ConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Config] { + return pulumix.Output[*Config]{ + OutputState: o.OutputState, + } +} + func (o ConfigPtrOutput) Elem() ConfigOutput { return o.ApplyT(func(v *Config) Config { if v != nil { @@ -345,6 +400,12 @@ func (o ConfigResponseOutput) ToConfigResponseOutputWithContext(ctx context.Cont return o } +func (o ConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigResponse] { + return pulumix.Output[ConfigResponse]{ + OutputState: o.OutputState, + } +} + // The settings used to configure basic ClientGateways. func (o ConfigResponseOutput) DestinationRoutes() DestinationRouteResponseArrayOutput { return o.ApplyT(func(v ConfigResponse) []DestinationRouteResponse { return v.DestinationRoutes }).(DestinationRouteResponseArrayOutput) @@ -394,6 +455,12 @@ func (i DestinationRouteArgs) ToDestinationRouteOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DestinationRouteOutput) } +func (i DestinationRouteArgs) ToOutput(ctx context.Context) pulumix.Output[DestinationRoute] { + return pulumix.Output[DestinationRoute]{ + OutputState: i.ToDestinationRouteOutputWithContext(ctx).OutputState, + } +} + // DestinationRouteArrayInput is an input type that accepts DestinationRouteArray and DestinationRouteArrayOutput values. // You can construct a concrete instance of `DestinationRouteArrayInput` via: // @@ -419,6 +486,12 @@ func (i DestinationRouteArray) ToDestinationRouteArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(DestinationRouteArrayOutput) } +func (i DestinationRouteArray) ToOutput(ctx context.Context) pulumix.Output[[]DestinationRoute] { + return pulumix.Output[[]DestinationRoute]{ + OutputState: i.ToDestinationRouteArrayOutputWithContext(ctx).OutputState, + } +} + // The setting used to configure ClientGateways. It is adding routes to the client's routing table after the connection is established. type DestinationRouteOutput struct{ *pulumi.OutputState } @@ -434,6 +507,12 @@ func (o DestinationRouteOutput) ToDestinationRouteOutputWithContext(ctx context. return o } +func (o DestinationRouteOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationRoute] { + return pulumix.Output[DestinationRoute]{ + OutputState: o.OutputState, + } +} + // The network address of the subnet for which the packet is routed to the ClientGateway. func (o DestinationRouteOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v DestinationRoute) string { return v.Address }).(pulumi.StringOutput) @@ -458,6 +537,12 @@ func (o DestinationRouteArrayOutput) ToDestinationRouteArrayOutputWithContext(ct return o } +func (o DestinationRouteArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DestinationRoute] { + return pulumix.Output[[]DestinationRoute]{ + OutputState: o.OutputState, + } +} + func (o DestinationRouteArrayOutput) Index(i pulumi.IntInput) DestinationRouteOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DestinationRoute { return vs[0].([]DestinationRoute)[vs[1].(int)] @@ -487,6 +572,12 @@ func (o DestinationRouteResponseOutput) ToDestinationRouteResponseOutputWithCont return o } +func (o DestinationRouteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationRouteResponse] { + return pulumix.Output[DestinationRouteResponse]{ + OutputState: o.OutputState, + } +} + // The network address of the subnet for which the packet is routed to the ClientGateway. func (o DestinationRouteResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v DestinationRouteResponse) string { return v.Address }).(pulumi.StringOutput) @@ -511,6 +602,12 @@ func (o DestinationRouteResponseArrayOutput) ToDestinationRouteResponseArrayOutp return o } +func (o DestinationRouteResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DestinationRouteResponse] { + return pulumix.Output[[]DestinationRouteResponse]{ + OutputState: o.OutputState, + } +} + func (o DestinationRouteResponseArrayOutput) Index(i pulumi.IntInput) DestinationRouteResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DestinationRouteResponse { return vs[0].([]DestinationRouteResponse)[vs[1].(int)] @@ -552,6 +649,12 @@ func (i EgressArgs) ToEgressOutputWithContext(ctx context.Context) EgressOutput return pulumi.ToOutputWithContext(ctx, i).(EgressOutput) } +func (i EgressArgs) ToOutput(ctx context.Context) pulumix.Output[Egress] { + return pulumix.Output[Egress]{ + OutputState: i.ToEgressOutputWithContext(ctx).OutputState, + } +} + // The details of the egress info. One of the following options should be set. type EgressOutput struct{ *pulumi.OutputState } @@ -567,6 +670,12 @@ func (o EgressOutput) ToEgressOutputWithContext(ctx context.Context) EgressOutpu return o } +func (o EgressOutput) ToOutput(ctx context.Context) pulumix.Output[Egress] { + return pulumix.Output[Egress]{ + OutputState: o.OutputState, + } +} + // A VPC from the consumer project. func (o EgressOutput) PeeredVpc() PeeredVpcPtrOutput { return o.ApplyT(func(v Egress) *PeeredVpc { return v.PeeredVpc }).(PeeredVpcPtrOutput) @@ -593,6 +702,12 @@ func (o EgressResponseOutput) ToEgressResponseOutputWithContext(ctx context.Cont return o } +func (o EgressResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EgressResponse] { + return pulumix.Output[EgressResponse]{ + OutputState: o.OutputState, + } +} + // A VPC from the consumer project. func (o EgressResponseOutput) PeeredVpc() PeeredVpcResponseOutput { return o.ApplyT(func(v EgressResponse) PeeredVpcResponse { return v.PeeredVpc }).(PeeredVpcResponseOutput) @@ -633,6 +748,12 @@ func (i GatewayArgs) ToGatewayOutputWithContext(ctx context.Context) GatewayOutp return pulumi.ToOutputWithContext(ctx, i).(GatewayOutput) } +func (i GatewayArgs) ToOutput(ctx context.Context) pulumix.Output[Gateway] { + return pulumix.Output[Gateway]{ + OutputState: i.ToGatewayOutputWithContext(ctx).OutputState, + } +} + func (i GatewayArgs) ToGatewayPtrOutput() GatewayPtrOutput { return i.ToGatewayPtrOutputWithContext(context.Background()) } @@ -674,6 +795,12 @@ func (i *gatewayPtrType) ToGatewayPtrOutputWithContext(ctx context.Context) Gate return pulumi.ToOutputWithContext(ctx, i).(GatewayPtrOutput) } +func (i *gatewayPtrType) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: i.ToGatewayPtrOutputWithContext(ctx).OutputState, + } +} + // Gateway represents a user facing component that serves as an entrance to enable connectivity. type GatewayOutput struct{ *pulumi.OutputState } @@ -699,6 +826,12 @@ func (o GatewayOutput) ToGatewayPtrOutputWithContext(ctx context.Context) Gatewa }).(GatewayPtrOutput) } +func (o GatewayOutput) ToOutput(ctx context.Context) pulumix.Output[Gateway] { + return pulumix.Output[Gateway]{ + OutputState: o.OutputState, + } +} + // The type of hosting used by the gateway. func (o GatewayOutput) Type() GatewayTypeOutput { return o.ApplyT(func(v Gateway) GatewayType { return v.Type }).(GatewayTypeOutput) @@ -718,6 +851,12 @@ func (o GatewayPtrOutput) ToGatewayPtrOutputWithContext(ctx context.Context) Gat return o } +func (o GatewayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: o.OutputState, + } +} + func (o GatewayPtrOutput) Elem() GatewayOutput { return o.ApplyT(func(v *Gateway) Gateway { if v != nil { @@ -763,6 +902,12 @@ func (o GatewayResponseOutput) ToGatewayResponseOutputWithContext(ctx context.Co return o } +func (o GatewayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayResponse] { + return pulumix.Output[GatewayResponse]{ + OutputState: o.OutputState, + } +} + // The type of hosting used by the gateway. func (o GatewayResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GatewayResponse) string { return v.Type }).(pulumi.StringOutput) @@ -817,6 +962,12 @@ func (i GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointOutput) } +func (i GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointOutputWithContext(ctx).OutputState, + } +} + // ApplicationEndpoint represents a remote application endpoint. type GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointOutput struct{ *pulumi.OutputState } @@ -832,6 +983,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoi return o } +func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint]{ + OutputState: o.OutputState, + } +} + // Hostname or IP address of the remote application endpoint. func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint) string { @@ -867,6 +1024,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoi return o } +func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointResponse] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointResponse]{ + OutputState: o.OutputState, + } +} + // Hostname or IP address of the remote application endpoint. func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpointResponse) string { @@ -920,6 +1083,12 @@ func (i GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayArgs) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayOutput) } +func (i GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayArgs) ToGoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrOutput() GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrOutput { return i.ToGoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrOutputWithContext(context.Background()) } @@ -961,6 +1130,12 @@ func (i *googleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrType) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrOutput) } +func (i *googleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrOutputWithContext(ctx).OutputState, + } +} + // Gateway represents a user facing component that serves as an entrance to enable connectivity. type GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayOutput struct{ *pulumi.OutputState } @@ -986,6 +1161,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayOutput) To }).(GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrOutput) } +func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway]{ + OutputState: o.OutputState, + } +} + // AppGateway name in following format: `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}` func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayOutput) AppGateway() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway) string { return v.AppGateway }).(pulumi.StringOutput) @@ -1012,6 +1193,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrOutput) return o } +func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayPtrOutput) Elem() GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway) GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway { if v != nil { @@ -1071,6 +1258,12 @@ func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayResponseOu return o } +func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayResponse] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayResponse]{ + OutputState: o.OutputState, + } +} + // AppGateway name in following format: `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}` func (o GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayResponseOutput) AppGateway() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGatewayResponse) string { @@ -1135,6 +1328,12 @@ func (i GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoOutput) } +func (i GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoOutputWithContext(ctx).OutputState, + } +} + // PrincipalInfo represents an Identity oneof. type GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoOutput struct{ *pulumi.OutputState } @@ -1150,6 +1349,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoOutput return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo]{ + OutputState: o.OutputState, + } +} + // A GCP service account. func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoOutput) ServiceAccount() GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountPtrOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo) *GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount { @@ -1178,6 +1383,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoRespon return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoResponse] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoResponse]{ + OutputState: o.OutputState, + } +} + // A GCP service account. func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoResponseOutput) ServiceAccount() GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountResponseOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoResponse) GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountResponse { @@ -1220,6 +1431,12 @@ func (i GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServic return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountOutput) } +func (i GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountArgs) ToGoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountPtrOutput() GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountPtrOutput { return i.ToGoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountPtrOutputWithContext(context.Background()) } @@ -1261,6 +1478,12 @@ func (i *googleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountPtrOutput) } +func (i *googleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountPtrOutputWithContext(ctx).OutputState, + } +} + // ServiceAccount represents a GCP service account. type GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountOutput struct{ *pulumi.OutputState } @@ -1286,6 +1509,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServic }).(GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountPtrOutput) } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount) *string { @@ -1307,6 +1536,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServic return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountPtrOutput) Elem() GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount) GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount { if v != nil { @@ -1348,6 +1583,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServic return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountResponse] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccountResponse) string { @@ -1406,6 +1647,12 @@ func (i GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoOutput) } +func (i GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArgs) ToGoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrOutput() GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrOutput { return i.ToGoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrOutputWithContext(context.Background()) } @@ -1447,6 +1694,12 @@ func (i *googleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrOutput) } +func (i *googleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArrayInput is an input type that accepts GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArray and GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArrayOutput values. // You can construct a concrete instance of `GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArrayInput` via: // @@ -1472,6 +1725,12 @@ func (i GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArray) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArrayOutput) } +func (i GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo] { + return pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArrayOutputWithContext(ctx).OutputState, + } +} + // ResourceInfo represents the information/status of an app connector resource. Such as: - remote_agent - container - runtime - appgateway - appconnector - appconnection - tunnel - logagent type GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoOutput struct{ *pulumi.OutputState } @@ -1497,6 +1756,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoOutput) ToGoogleClo }).(GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrOutput) } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo]{ + OutputState: o.OutputState, + } +} + // Unique Id for the resource. func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo) string { return v.Id }).(pulumi.StringOutput) @@ -1540,6 +1805,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrOutput) ToGoogle return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo] { + return pulumix.Output[*GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoPtrOutput) Elem() GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo) GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo { if v != nil { @@ -1614,6 +1885,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArrayOutput) ToGoog return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo] { + return pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoArrayOutput) Index(i pulumi.IntInput) GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo { return vs[0].([]GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo)[vs[1].(int)] @@ -1647,6 +1924,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponseOutput) ToG return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponse] { + return pulumix.Output[GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Specific details for the resource. This is for internal use only. func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponseOutput) Resource() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponse) map[string]string { @@ -1685,6 +1968,12 @@ func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponseArrayOutput return o } +func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponse] { + return pulumix.Output[[]GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponse { return vs[0].([]GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfoResponse)[vs[1].(int)] @@ -1726,6 +2015,12 @@ func (i GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoOutput) } +func (i GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoArgs) ToGoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrOutput() GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrOutput { return i.ToGoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrOutputWithContext(context.Background()) } @@ -1767,6 +2062,12 @@ func (i *googleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrType) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrOutput) } +func (i *googleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo] { + return pulumix.Output[*GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Message contains the authentication information to validate against the proxy server. type GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoOutput struct{ *pulumi.OutputState } @@ -1792,6 +2093,12 @@ func (o GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoOutput) ToG }).(GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrOutput) } +func (o GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo]{ + OutputState: o.OutputState, + } +} + // Optional. Service Account for encrypting the JWT. func (o GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoOutput) EncryptionSaEmail() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo) *string { @@ -1813,6 +2120,12 @@ func (o GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrOutput) return o } +func (o GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo] { + return pulumix.Output[*GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoPtrOutput) Elem() GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo) GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo { if v != nil { @@ -1854,6 +2167,12 @@ func (o GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoResponseOut return o } +func (o GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoResponse] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Service Account for encrypting the JWT. func (o GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoResponseOutput) EncryptionSaEmail() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfoResponse) string { @@ -1896,6 +2215,12 @@ func (i GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataArgs) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataOutput) } +func (i GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata]{ + OutputState: i.ToGoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataArgs) ToGoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrOutput() GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrOutput { return i.ToGoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrOutputWithContext(context.Background()) } @@ -1937,6 +2262,12 @@ func (i *googleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrType) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrOutput) } +func (i *googleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata] { + return pulumix.Output[*GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata]{ + OutputState: i.ToGoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata associated with Tenant and is provided by the Partner. type GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataOutput struct{ *pulumi.OutputState } @@ -1962,6 +2293,12 @@ func (o GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataOutput) ToGoog }).(GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrOutput) } +func (o GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata]{ + OutputState: o.OutputState, + } +} + // Optional. UUID used by the Partner to refer to the Tenant in their internal systems. func (o GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataOutput) PartnerTenantId() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata) *string { return v.PartnerTenantId }).(pulumi.StringPtrOutput) @@ -1981,6 +2318,12 @@ func (o GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrOutput) ToG return o } +func (o GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata] { + return pulumix.Output[*GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataPtrOutput) Elem() GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataOutput { return o.ApplyT(func(v *GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata) GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata { if v != nil { @@ -2022,6 +2365,12 @@ func (o GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataResponseOutput return o } +func (o GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataResponse] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Optional. UUID used by the Partner to refer to the Tenant in their internal systems. func (o GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataResponseOutput) PartnerTenantId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataResponse) string { @@ -2064,6 +2413,12 @@ func (i GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoOutput) } +func (i GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoOutputWithContext(ctx).OutputState, + } +} + // Message contains the routing information to direct traffic to the proxy server. type GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoOutput struct{ *pulumi.OutputState } @@ -2079,6 +2434,12 @@ func (o GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoOutput) ToGoogleCl return o } +func (o GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo]{ + OutputState: o.OutputState, + } +} + // Proxy Auto-Configuration (PAC) URI. func (o GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoOutput) PacUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo) string { return v.PacUri }).(pulumi.StringOutput) @@ -2105,6 +2466,12 @@ func (o GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoResponseOutput) To return o } +func (o GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoResponse] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoResponse]{ + OutputState: o.OutputState, + } +} + // Proxy Auto-Configuration (PAC) URI. func (o GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoResponseOutput) PacUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfoResponse) string { return v.PacUri }).(pulumi.StringOutput) @@ -2149,6 +2516,12 @@ func (i GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoOutput) } +func (i GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo]{ + OutputState: i.ToGoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoOutputWithContext(ctx).OutputState, + } +} + // Message contains the transport layer information to verify the proxy server. type GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoOutput struct{ *pulumi.OutputState } @@ -2164,6 +2537,12 @@ func (o GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoOutput) ToGoogle return o } +func (o GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo]{ + OutputState: o.OutputState, + } +} + // PEM encoded CA certificate associated with the proxy server certificate. func (o GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoOutput) ServerCaCertPem() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo) string { return v.ServerCaCertPem }).(pulumi.StringOutput) @@ -2197,6 +2576,12 @@ func (o GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoResponseOutput) return o } +func (o GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoResponse] { + return pulumix.Output[GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoResponse]{ + OutputState: o.OutputState, + } +} + // PEM encoded CA certificate associated with the proxy server certificate. func (o GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoResponseOutput) ServerCaCertPem() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfoResponse) string { @@ -2250,6 +2635,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -2275,6 +2666,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -2290,6 +2687,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -2314,6 +2717,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -2343,6 +2752,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -2367,6 +2782,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -2412,6 +2833,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -2437,6 +2864,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -2452,6 +2885,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -2476,6 +2915,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -2505,6 +2950,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -2529,6 +2980,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -2578,6 +3035,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -2603,6 +3066,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -2618,6 +3087,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() GoogleTypeExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *GoogleTypeExpr { return v.Condition }).(GoogleTypeExprPtrOutput) @@ -2647,6 +3122,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -2678,6 +3159,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() GoogleTypeExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) GoogleTypeExprResponse { return v.Condition }).(GoogleTypeExprResponseOutput) @@ -2707,6 +3194,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -2760,6 +3253,12 @@ func (i GoogleTypeExprArgs) ToGoogleTypeExprOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprOutput) } +func (i GoogleTypeExprArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeExprArgs) ToGoogleTypeExprPtrOutput() GoogleTypeExprPtrOutput { return i.ToGoogleTypeExprPtrOutputWithContext(context.Background()) } @@ -2801,6 +3300,12 @@ func (i *googleTypeExprPtrType) ToGoogleTypeExprPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprPtrOutput) } +func (i *googleTypeExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type GoogleTypeExprOutput struct{ *pulumi.OutputState } @@ -2826,6 +3331,12 @@ func (o GoogleTypeExprOutput) ToGoogleTypeExprPtrOutputWithContext(ctx context.C }).(GoogleTypeExprPtrOutput) } +func (o GoogleTypeExprOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeExpr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2860,6 +3371,12 @@ func (o GoogleTypeExprPtrOutput) ToGoogleTypeExprPtrOutputWithContext(ctx contex return o } +func (o GoogleTypeExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeExprPtrOutput) Elem() GoogleTypeExprOutput { return o.ApplyT(func(v *GoogleTypeExpr) GoogleTypeExpr { if v != nil { @@ -2937,6 +3454,12 @@ func (o GoogleTypeExprResponseOutput) ToGoogleTypeExprResponseOutputWithContext( return o } +func (o GoogleTypeExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExprResponse] { + return pulumix.Output[GoogleTypeExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2992,6 +3515,12 @@ func (i IngressArgs) ToIngressOutputWithContext(ctx context.Context) IngressOutp return pulumi.ToOutputWithContext(ctx, i).(IngressOutput) } +func (i IngressArgs) ToOutput(ctx context.Context) pulumix.Output[Ingress] { + return pulumix.Output[Ingress]{ + OutputState: i.ToIngressOutputWithContext(ctx).OutputState, + } +} + // Settings of how to connect to the ClientGateway. One of the following options should be set. type IngressOutput struct{ *pulumi.OutputState } @@ -3007,6 +3536,12 @@ func (o IngressOutput) ToIngressOutputWithContext(ctx context.Context) IngressOu return o } +func (o IngressOutput) ToOutput(ctx context.Context) pulumix.Output[Ingress] { + return pulumix.Output[Ingress]{ + OutputState: o.OutputState, + } +} + // The basic ingress config for ClientGateways. func (o IngressOutput) Config() ConfigPtrOutput { return o.ApplyT(func(v Ingress) *Config { return v.Config }).(ConfigPtrOutput) @@ -3033,6 +3568,12 @@ func (o IngressResponseOutput) ToIngressResponseOutputWithContext(ctx context.Co return o } +func (o IngressResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IngressResponse] { + return pulumix.Output[IngressResponse]{ + OutputState: o.OutputState, + } +} + // The basic ingress config for ClientGateways. func (o IngressResponseOutput) Config() ConfigResponseOutput { return o.ApplyT(func(v IngressResponse) ConfigResponse { return v.Config }).(ConfigResponseOutput) @@ -3073,6 +3614,12 @@ func (i PeeredVpcArgs) ToPeeredVpcOutputWithContext(ctx context.Context) PeeredV return pulumi.ToOutputWithContext(ctx, i).(PeeredVpcOutput) } +func (i PeeredVpcArgs) ToOutput(ctx context.Context) pulumix.Output[PeeredVpc] { + return pulumix.Output[PeeredVpc]{ + OutputState: i.ToPeeredVpcOutputWithContext(ctx).OutputState, + } +} + func (i PeeredVpcArgs) ToPeeredVpcPtrOutput() PeeredVpcPtrOutput { return i.ToPeeredVpcPtrOutputWithContext(context.Background()) } @@ -3114,6 +3661,12 @@ func (i *peeredVpcPtrType) ToPeeredVpcPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PeeredVpcPtrOutput) } +func (i *peeredVpcPtrType) ToOutput(ctx context.Context) pulumix.Output[*PeeredVpc] { + return pulumix.Output[*PeeredVpc]{ + OutputState: i.ToPeeredVpcPtrOutputWithContext(ctx).OutputState, + } +} + // The peered VPC owned by the consumer project. type PeeredVpcOutput struct{ *pulumi.OutputState } @@ -3139,6 +3692,12 @@ func (o PeeredVpcOutput) ToPeeredVpcPtrOutputWithContext(ctx context.Context) Pe }).(PeeredVpcPtrOutput) } +func (o PeeredVpcOutput) ToOutput(ctx context.Context) pulumix.Output[PeeredVpc] { + return pulumix.Output[PeeredVpc]{ + OutputState: o.OutputState, + } +} + // The name of the peered VPC owned by the consumer project. func (o PeeredVpcOutput) NetworkVpc() pulumi.StringOutput { return o.ApplyT(func(v PeeredVpc) string { return v.NetworkVpc }).(pulumi.StringOutput) @@ -3158,6 +3717,12 @@ func (o PeeredVpcPtrOutput) ToPeeredVpcPtrOutputWithContext(ctx context.Context) return o } +func (o PeeredVpcPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PeeredVpc] { + return pulumix.Output[*PeeredVpc]{ + OutputState: o.OutputState, + } +} + func (o PeeredVpcPtrOutput) Elem() PeeredVpcOutput { return o.ApplyT(func(v *PeeredVpc) PeeredVpc { if v != nil { @@ -3199,6 +3764,12 @@ func (o PeeredVpcResponseOutput) ToPeeredVpcResponseOutputWithContext(ctx contex return o } +func (o PeeredVpcResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PeeredVpcResponse] { + return pulumix.Output[PeeredVpcResponse]{ + OutputState: o.OutputState, + } +} + // The name of the peered VPC owned by the consumer project. func (o PeeredVpcResponseOutput) NetworkVpc() pulumi.StringOutput { return o.ApplyT(func(v PeeredVpcResponse) string { return v.NetworkVpc }).(pulumi.StringOutput) @@ -3239,6 +3810,12 @@ func (i PrincipalInfoArgs) ToPrincipalInfoOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PrincipalInfoOutput) } +func (i PrincipalInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PrincipalInfo] { + return pulumix.Output[PrincipalInfo]{ + OutputState: i.ToPrincipalInfoOutputWithContext(ctx).OutputState, + } +} + // PrincipalInfo represents an Identity oneof. type PrincipalInfoOutput struct{ *pulumi.OutputState } @@ -3254,6 +3831,12 @@ func (o PrincipalInfoOutput) ToPrincipalInfoOutputWithContext(ctx context.Contex return o } +func (o PrincipalInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PrincipalInfo] { + return pulumix.Output[PrincipalInfo]{ + OutputState: o.OutputState, + } +} + // A GCP service account. func (o PrincipalInfoOutput) ServiceAccount() ServiceAccountPtrOutput { return o.ApplyT(func(v PrincipalInfo) *ServiceAccount { return v.ServiceAccount }).(ServiceAccountPtrOutput) @@ -3280,6 +3863,12 @@ func (o PrincipalInfoResponseOutput) ToPrincipalInfoResponseOutputWithContext(ct return o } +func (o PrincipalInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrincipalInfoResponse] { + return pulumix.Output[PrincipalInfoResponse]{ + OutputState: o.OutputState, + } +} + // A GCP service account. func (o PrincipalInfoResponseOutput) ServiceAccount() ServiceAccountResponseOutput { return o.ApplyT(func(v PrincipalInfoResponse) ServiceAccountResponse { return v.ServiceAccount }).(ServiceAccountResponseOutput) @@ -3336,6 +3925,12 @@ func (i ResourceInfoArgs) ToResourceInfoOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, i).(ResourceInfoOutput) } +func (i ResourceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceInfo] { + return pulumix.Output[ResourceInfo]{ + OutputState: i.ToResourceInfoOutputWithContext(ctx).OutputState, + } +} + func (i ResourceInfoArgs) ToResourceInfoPtrOutput() ResourceInfoPtrOutput { return i.ToResourceInfoPtrOutputWithContext(context.Background()) } @@ -3377,6 +3972,12 @@ func (i *resourceInfoPtrType) ToResourceInfoPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ResourceInfoPtrOutput) } +func (i *resourceInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceInfo] { + return pulumix.Output[*ResourceInfo]{ + OutputState: i.ToResourceInfoPtrOutputWithContext(ctx).OutputState, + } +} + // ResourceInfoArrayInput is an input type that accepts ResourceInfoArray and ResourceInfoArrayOutput values. // You can construct a concrete instance of `ResourceInfoArrayInput` via: // @@ -3402,6 +4003,12 @@ func (i ResourceInfoArray) ToResourceInfoArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ResourceInfoArrayOutput) } +func (i ResourceInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourceInfo] { + return pulumix.Output[[]ResourceInfo]{ + OutputState: i.ToResourceInfoArrayOutputWithContext(ctx).OutputState, + } +} + // ResourceInfo represents the information/status of the associated resource. type ResourceInfoOutput struct{ *pulumi.OutputState } @@ -3427,6 +4034,12 @@ func (o ResourceInfoOutput) ToResourceInfoPtrOutputWithContext(ctx context.Conte }).(ResourceInfoPtrOutput) } +func (o ResourceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceInfo] { + return pulumix.Output[ResourceInfo]{ + OutputState: o.OutputState, + } +} + // Unique Id for the resource. func (o ResourceInfoOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v ResourceInfo) string { return v.Id }).(pulumi.StringOutput) @@ -3466,6 +4079,12 @@ func (o ResourceInfoPtrOutput) ToResourceInfoPtrOutputWithContext(ctx context.Co return o } +func (o ResourceInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceInfo] { + return pulumix.Output[*ResourceInfo]{ + OutputState: o.OutputState, + } +} + func (o ResourceInfoPtrOutput) Elem() ResourceInfoOutput { return o.ApplyT(func(v *ResourceInfo) ResourceInfo { if v != nil { @@ -3540,6 +4159,12 @@ func (o ResourceInfoArrayOutput) ToResourceInfoArrayOutputWithContext(ctx contex return o } +func (o ResourceInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceInfo] { + return pulumix.Output[[]ResourceInfo]{ + OutputState: o.OutputState, + } +} + func (o ResourceInfoArrayOutput) Index(i pulumi.IntInput) ResourceInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceInfo { return vs[0].([]ResourceInfo)[vs[1].(int)] @@ -3573,6 +4198,12 @@ func (o ResourceInfoResponseOutput) ToResourceInfoResponseOutputWithContext(ctx return o } +func (o ResourceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceInfoResponse] { + return pulumix.Output[ResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Specific details for the resource. func (o ResourceInfoResponseOutput) Resource() pulumi.StringMapOutput { return o.ApplyT(func(v ResourceInfoResponse) map[string]string { return v.Resource }).(pulumi.StringMapOutput) @@ -3607,6 +4238,12 @@ func (o ResourceInfoResponseArrayOutput) ToResourceInfoResponseArrayOutputWithCo return o } +func (o ResourceInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceInfoResponse] { + return pulumix.Output[[]ResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceInfoResponseArrayOutput) Index(i pulumi.IntInput) ResourceInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceInfoResponse { return vs[0].([]ResourceInfoResponse)[vs[1].(int)] @@ -3648,6 +4285,12 @@ func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) } +func (i ServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: i.ToServiceAccountOutputWithContext(ctx).OutputState, + } +} + func (i ServiceAccountArgs) ToServiceAccountPtrOutput() ServiceAccountPtrOutput { return i.ToServiceAccountPtrOutputWithContext(context.Background()) } @@ -3689,6 +4332,12 @@ func (i *serviceAccountPtrType) ToServiceAccountPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountPtrOutput) } +func (i *serviceAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: i.ToServiceAccountPtrOutputWithContext(ctx).OutputState, + } +} + // ServiceAccount represents a GCP service account. type ServiceAccountOutput struct{ *pulumi.OutputState } @@ -3714,6 +4363,12 @@ func (o ServiceAccountOutput) ToServiceAccountPtrOutputWithContext(ctx context.C }).(ServiceAccountPtrOutput) } +func (o ServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) @@ -3733,6 +4388,12 @@ func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext(ctx contex return o } +func (o ServiceAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountPtrOutput) Elem() ServiceAccountOutput { return o.ApplyT(func(v *ServiceAccount) ServiceAccount { if v != nil { @@ -3774,6 +4435,12 @@ func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext( return o } +func (o ServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccountResponse] { + return pulumix.Output[ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ServiceAccountResponse) string { return v.Email }).(pulumi.StringOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/subscription.go b/sdk/go/google/beyondcorp/v1alpha/subscription.go index 959e75eed6..2d919608de 100644 --- a/sdk/go/google/beyondcorp/v1alpha/subscription.go +++ b/sdk/go/google/beyondcorp/v1alpha/subscription.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new BeyondCorp Enterprise Subscription in a given organization. Location will always be global as BeyondCorp subscriptions are per organization. @@ -139,6 +140,12 @@ func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) Subs return pulumi.ToOutputWithContext(ctx, i).(SubscriptionOutput) } +func (i *Subscription) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: i.ToSubscriptionOutputWithContext(ctx).OutputState, + } +} + type SubscriptionOutput struct{ *pulumi.OutputState } func (SubscriptionOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) return o } +func (o SubscriptionOutput) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: o.OutputState, + } +} + // Represents that, if subscription will renew or end when the term ends. func (o SubscriptionOutput) AutoRenewEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *Subscription) pulumi.BoolOutput { return v.AutoRenewEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/beyondcorp/v1alpha/tenant.go b/sdk/go/google/beyondcorp/v1alpha/tenant.go index 42064bb0dd..1ff5f664bf 100644 --- a/sdk/go/google/beyondcorp/v1alpha/tenant.go +++ b/sdk/go/google/beyondcorp/v1alpha/tenant.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new BeyondCorp Enterprise tenant in a given organization and can only be called by onboarded BeyondCorp Enterprise partner. @@ -136,6 +137,12 @@ func (i *Tenant) ToTenantOutputWithContext(ctx context.Context) TenantOutput { return pulumi.ToOutputWithContext(ctx, i).(TenantOutput) } +func (i *Tenant) ToOutput(ctx context.Context) pulumix.Output[*Tenant] { + return pulumix.Output[*Tenant]{ + OutputState: i.ToTenantOutputWithContext(ctx).OutputState, + } +} + type TenantOutput struct{ *pulumi.OutputState } func (TenantOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o TenantOutput) ToTenantOutputWithContext(ctx context.Context) TenantOutpu return o } +func (o TenantOutput) ToOutput(ctx context.Context) pulumix.Output[*Tenant] { + return pulumix.Output[*Tenant]{ + OutputState: o.OutputState, + } +} + // Timestamp when the resource was created. func (o TenantOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Tenant) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigquery/v2/dataset.go b/sdk/go/google/bigquery/v2/dataset.go index bc1e5e607e..581a5c1e61 100644 --- a/sdk/go/google/bigquery/v2/dataset.go +++ b/sdk/go/google/bigquery/v2/dataset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new empty dataset. @@ -185,6 +186,12 @@ func (i *Dataset) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput return pulumi.ToOutputWithContext(ctx, i).(DatasetOutput) } +func (i *Dataset) ToOutput(ctx context.Context) pulumix.Output[*Dataset] { + return pulumix.Output[*Dataset]{ + OutputState: i.ToDatasetOutputWithContext(ctx).OutputState, + } +} + type DatasetOutput struct{ *pulumi.OutputState } func (DatasetOutput) ElementType() reflect.Type { @@ -199,6 +206,12 @@ func (o DatasetOutput) ToDatasetOutputWithContext(ctx context.Context) DatasetOu return o } +func (o DatasetOutput) ToOutput(ctx context.Context) pulumix.Output[*Dataset] { + return pulumix.Output[*Dataset]{ + OutputState: o.OutputState, + } +} + // [Optional] An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in order to control who is allowed to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER; func (o DatasetOutput) Access() DatasetAccessItemResponseArrayOutput { return o.ApplyT(func(v *Dataset) DatasetAccessItemResponseArrayOutput { return v.Access }).(DatasetAccessItemResponseArrayOutput) diff --git a/sdk/go/google/bigquery/v2/getDataset.go b/sdk/go/google/bigquery/v2/getDataset.go index fe51c318e3..3eb83a7df9 100644 --- a/sdk/go/google/bigquery/v2/getDataset.go +++ b/sdk/go/google/bigquery/v2/getDataset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the dataset specified by datasetID. @@ -107,6 +108,12 @@ func (o LookupDatasetResultOutput) ToLookupDatasetResultOutputWithContext(ctx co return o } +func (o LookupDatasetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetResult] { + return pulumix.Output[LookupDatasetResult]{ + OutputState: o.OutputState, + } +} + // [Optional] An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in order to control who is allowed to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER; func (o LookupDatasetResultOutput) Access() DatasetAccessItemResponseArrayOutput { return o.ApplyT(func(v LookupDatasetResult) []DatasetAccessItemResponse { return v.Access }).(DatasetAccessItemResponseArrayOutput) diff --git a/sdk/go/google/bigquery/v2/getJob.go b/sdk/go/google/bigquery/v2/getJob.go index 789eba582b..429ef9b913 100644 --- a/sdk/go/google/bigquery/v2/getJob.go +++ b/sdk/go/google/bigquery/v2/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role. @@ -84,6 +85,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // [Required] Describes the job configuration. func (o LookupJobResultOutput) Configuration() JobConfigurationResponseOutput { return o.ApplyT(func(v LookupJobResult) JobConfigurationResponse { return v.Configuration }).(JobConfigurationResponseOutput) diff --git a/sdk/go/google/bigquery/v2/getRoutine.go b/sdk/go/google/bigquery/v2/getRoutine.go index 25ea25e81e..8e7b9a9e20 100644 --- a/sdk/go/google/bigquery/v2/getRoutine.go +++ b/sdk/go/google/bigquery/v2/getRoutine.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified routine resource by routine ID. @@ -102,6 +103,12 @@ func (o LookupRoutineResultOutput) ToLookupRoutineResultOutputWithContext(ctx co return o } +func (o LookupRoutineResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRoutineResult] { + return pulumix.Output[LookupRoutineResult]{ + OutputState: o.OutputState, + } +} + // Optional. func (o LookupRoutineResultOutput) Arguments() ArgumentResponseArrayOutput { return o.ApplyT(func(v LookupRoutineResult) []ArgumentResponse { return v.Arguments }).(ArgumentResponseArrayOutput) diff --git a/sdk/go/google/bigquery/v2/getRowAccessPolicyIamPolicy.go b/sdk/go/google/bigquery/v2/getRowAccessPolicyIamPolicy.go index 735b38dc35..b9d3555907 100644 --- a/sdk/go/google/bigquery/v2/getRowAccessPolicyIamPolicy.go +++ b/sdk/go/google/bigquery/v2/getRowAccessPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupRowAccessPolicyIamPolicyResultOutput) ToLookupRowAccessPolicyIamPo return o } +func (o LookupRowAccessPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRowAccessPolicyIamPolicyResult] { + return pulumix.Output[LookupRowAccessPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRowAccessPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRowAccessPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigquery/v2/getTable.go b/sdk/go/google/bigquery/v2/getTable.go index 19eb3eaccd..5ce24d0325 100644 --- a/sdk/go/google/bigquery/v2/getTable.go +++ b/sdk/go/google/bigquery/v2/getTable.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table. @@ -154,6 +155,12 @@ func (o LookupTableResultOutput) ToLookupTableResultOutputWithContext(ctx contex return o } +func (o LookupTableResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTableResult] { + return pulumix.Output[LookupTableResult]{ + OutputState: o.OutputState, + } +} + // Clone definition. func (o LookupTableResultOutput) CloneDefinition() CloneDefinitionResponseOutput { return o.ApplyT(func(v LookupTableResult) CloneDefinitionResponse { return v.CloneDefinition }).(CloneDefinitionResponseOutput) diff --git a/sdk/go/google/bigquery/v2/getTableIamPolicy.go b/sdk/go/google/bigquery/v2/getTableIamPolicy.go index e6a45bf7b0..992429ce33 100644 --- a/sdk/go/google/bigquery/v2/getTableIamPolicy.go +++ b/sdk/go/google/bigquery/v2/getTableIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupTableIamPolicyResultOutput) ToLookupTableIamPolicyResultOutputWith return o } +func (o LookupTableIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTableIamPolicyResult] { + return pulumix.Output[LookupTableIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupTableIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupTableIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigquery/v2/job.go b/sdk/go/google/bigquery/v2/job.go index 62a8c614a2..4fb737b329 100644 --- a/sdk/go/google/bigquery/v2/job.go +++ b/sdk/go/google/bigquery/v2/job.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Starts a new asynchronous job. Requires the Can View project role. @@ -120,6 +121,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -134,6 +141,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // [Required] Describes the job configuration. func (o JobOutput) Configuration() JobConfigurationResponseOutput { return o.ApplyT(func(v *Job) JobConfigurationResponseOutput { return v.Configuration }).(JobConfigurationResponseOutput) diff --git a/sdk/go/google/bigquery/v2/pulumiEnums.go b/sdk/go/google/bigquery/v2/pulumiEnums.go index ceca8250f7..9de84d6f36 100644 --- a/sdk/go/google/bigquery/v2/pulumiEnums.go +++ b/sdk/go/google/bigquery/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. Defaults to FIXED_TYPE. @@ -81,6 +82,12 @@ func (o ArgumentArgumentKindOutput) ToArgumentArgumentKindPtrOutputWithContext(c }).(ArgumentArgumentKindPtrOutput) } +func (o ArgumentArgumentKindOutput) ToOutput(ctx context.Context) pulumix.Output[ArgumentArgumentKind] { + return pulumix.Output[ArgumentArgumentKind]{ + OutputState: o.OutputState, + } +} + func (o ArgumentArgumentKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -116,6 +123,12 @@ func (o ArgumentArgumentKindPtrOutput) ToArgumentArgumentKindPtrOutputWithContex return o } +func (o ArgumentArgumentKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ArgumentArgumentKind] { + return pulumix.Output[*ArgumentArgumentKind]{ + OutputState: o.OutputState, + } +} + func (o ArgumentArgumentKindPtrOutput) Elem() ArgumentArgumentKindOutput { return o.ApplyT(func(v *ArgumentArgumentKind) ArgumentArgumentKind { if v != nil { @@ -178,6 +191,12 @@ func (in *argumentArgumentKindPtr) ToArgumentArgumentKindPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(ArgumentArgumentKindPtrOutput) } +func (in *argumentArgumentKindPtr) ToOutput(ctx context.Context) pulumix.Output[*ArgumentArgumentKind] { + return pulumix.Output[*ArgumentArgumentKind]{ + OutputState: in.ToArgumentArgumentKindPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Specifies whether the argument is input or output. Can be set for procedures only. type ArgumentMode string @@ -251,6 +270,12 @@ func (o ArgumentModeOutput) ToArgumentModePtrOutputWithContext(ctx context.Conte }).(ArgumentModePtrOutput) } +func (o ArgumentModeOutput) ToOutput(ctx context.Context) pulumix.Output[ArgumentMode] { + return pulumix.Output[ArgumentMode]{ + OutputState: o.OutputState, + } +} + func (o ArgumentModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o ArgumentModePtrOutput) ToArgumentModePtrOutputWithContext(ctx context.Co return o } +func (o ArgumentModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ArgumentMode] { + return pulumix.Output[*ArgumentMode]{ + OutputState: o.OutputState, + } +} + func (o ArgumentModePtrOutput) Elem() ArgumentModeOutput { return o.ApplyT(func(v *ArgumentMode) ArgumentMode { if v != nil { @@ -348,6 +379,12 @@ func (in *argumentModePtr) ToArgumentModePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ArgumentModePtrOutput) } +func (in *argumentModePtr) ToOutput(ctx context.Context) pulumix.Output[*ArgumentMode] { + return pulumix.Output[*ArgumentMode]{ + OutputState: in.ToArgumentModePtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type AuditLogConfigLogType string @@ -422,6 +459,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -519,6 +568,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + type DatasetAccessEntryTargetTypesItem string const ( @@ -590,6 +645,12 @@ func (o DatasetAccessEntryTargetTypesItemOutput) ToDatasetAccessEntryTargetTypes }).(DatasetAccessEntryTargetTypesItemPtrOutput) } +func (o DatasetAccessEntryTargetTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetAccessEntryTargetTypesItem] { + return pulumix.Output[DatasetAccessEntryTargetTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DatasetAccessEntryTargetTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -625,6 +686,12 @@ func (o DatasetAccessEntryTargetTypesItemPtrOutput) ToDatasetAccessEntryTargetTy return o } +func (o DatasetAccessEntryTargetTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetAccessEntryTargetTypesItem] { + return pulumix.Output[*DatasetAccessEntryTargetTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DatasetAccessEntryTargetTypesItemPtrOutput) Elem() DatasetAccessEntryTargetTypesItemOutput { return o.ApplyT(func(v *DatasetAccessEntryTargetTypesItem) DatasetAccessEntryTargetTypesItem { if v != nil { @@ -687,6 +754,12 @@ func (in *datasetAccessEntryTargetTypesItemPtr) ToDatasetAccessEntryTargetTypesI return pulumi.ToOutputWithContext(ctx, in).(DatasetAccessEntryTargetTypesItemPtrOutput) } +func (in *datasetAccessEntryTargetTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*DatasetAccessEntryTargetTypesItem] { + return pulumix.Output[*DatasetAccessEntryTargetTypesItem]{ + OutputState: in.ToDatasetAccessEntryTargetTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // DatasetAccessEntryTargetTypesItemArrayInput is an input type that accepts DatasetAccessEntryTargetTypesItemArray and DatasetAccessEntryTargetTypesItemArrayOutput values. // You can construct a concrete instance of `DatasetAccessEntryTargetTypesItemArrayInput` via: // @@ -712,6 +785,12 @@ func (i DatasetAccessEntryTargetTypesItemArray) ToDatasetAccessEntryTargetTypesI return pulumi.ToOutputWithContext(ctx, i).(DatasetAccessEntryTargetTypesItemArrayOutput) } +func (i DatasetAccessEntryTargetTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]DatasetAccessEntryTargetTypesItem] { + return pulumix.Output[[]DatasetAccessEntryTargetTypesItem]{ + OutputState: i.ToDatasetAccessEntryTargetTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type DatasetAccessEntryTargetTypesItemArrayOutput struct{ *pulumi.OutputState } func (DatasetAccessEntryTargetTypesItemArrayOutput) ElementType() reflect.Type { @@ -726,6 +805,12 @@ func (o DatasetAccessEntryTargetTypesItemArrayOutput) ToDatasetAccessEntryTarget return o } +func (o DatasetAccessEntryTargetTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatasetAccessEntryTargetTypesItem] { + return pulumix.Output[[]DatasetAccessEntryTargetTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DatasetAccessEntryTargetTypesItemArrayOutput) Index(i pulumi.IntInput) DatasetAccessEntryTargetTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatasetAccessEntryTargetTypesItem { return vs[0].([]DatasetAccessEntryTargetTypesItem)[vs[1].(int)] @@ -804,6 +889,12 @@ func (o RoutineDeterminismLevelOutput) ToRoutineDeterminismLevelPtrOutputWithCon }).(RoutineDeterminismLevelPtrOutput) } +func (o RoutineDeterminismLevelOutput) ToOutput(ctx context.Context) pulumix.Output[RoutineDeterminismLevel] { + return pulumix.Output[RoutineDeterminismLevel]{ + OutputState: o.OutputState, + } +} + func (o RoutineDeterminismLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -839,6 +930,12 @@ func (o RoutineDeterminismLevelPtrOutput) ToRoutineDeterminismLevelPtrOutputWith return o } +func (o RoutineDeterminismLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoutineDeterminismLevel] { + return pulumix.Output[*RoutineDeterminismLevel]{ + OutputState: o.OutputState, + } +} + func (o RoutineDeterminismLevelPtrOutput) Elem() RoutineDeterminismLevelOutput { return o.ApplyT(func(v *RoutineDeterminismLevel) RoutineDeterminismLevel { if v != nil { @@ -901,6 +998,12 @@ func (in *routineDeterminismLevelPtr) ToRoutineDeterminismLevelPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(RoutineDeterminismLevelPtrOutput) } +func (in *routineDeterminismLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*RoutineDeterminismLevel] { + return pulumix.Output[*RoutineDeterminismLevel]{ + OutputState: in.ToRoutineDeterminismLevelPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise. type RoutineLanguage string @@ -978,6 +1081,12 @@ func (o RoutineLanguageOutput) ToRoutineLanguagePtrOutputWithContext(ctx context }).(RoutineLanguagePtrOutput) } +func (o RoutineLanguageOutput) ToOutput(ctx context.Context) pulumix.Output[RoutineLanguage] { + return pulumix.Output[RoutineLanguage]{ + OutputState: o.OutputState, + } +} + func (o RoutineLanguageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1013,6 +1122,12 @@ func (o RoutineLanguagePtrOutput) ToRoutineLanguagePtrOutputWithContext(ctx cont return o } +func (o RoutineLanguagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoutineLanguage] { + return pulumix.Output[*RoutineLanguage]{ + OutputState: o.OutputState, + } +} + func (o RoutineLanguagePtrOutput) Elem() RoutineLanguageOutput { return o.ApplyT(func(v *RoutineLanguage) RoutineLanguage { if v != nil { @@ -1075,6 +1190,12 @@ func (in *routineLanguagePtr) ToRoutineLanguagePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(RoutineLanguagePtrOutput) } +func (in *routineLanguagePtr) ToOutput(ctx context.Context) pulumix.Output[*RoutineLanguage] { + return pulumix.Output[*RoutineLanguage]{ + OutputState: in.ToRoutineLanguagePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of routine. type RoutineRoutineType string @@ -1150,6 +1271,12 @@ func (o RoutineRoutineTypeOutput) ToRoutineRoutineTypePtrOutputWithContext(ctx c }).(RoutineRoutineTypePtrOutput) } +func (o RoutineRoutineTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RoutineRoutineType] { + return pulumix.Output[RoutineRoutineType]{ + OutputState: o.OutputState, + } +} + func (o RoutineRoutineTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1185,6 +1312,12 @@ func (o RoutineRoutineTypePtrOutput) ToRoutineRoutineTypePtrOutputWithContext(ct return o } +func (o RoutineRoutineTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoutineRoutineType] { + return pulumix.Output[*RoutineRoutineType]{ + OutputState: o.OutputState, + } +} + func (o RoutineRoutineTypePtrOutput) Elem() RoutineRoutineTypeOutput { return o.ApplyT(func(v *RoutineRoutineType) RoutineRoutineType { if v != nil { @@ -1247,6 +1380,12 @@ func (in *routineRoutineTypePtr) ToRoutineRoutineTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(RoutineRoutineTypePtrOutput) } +func (in *routineRoutineTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RoutineRoutineType] { + return pulumix.Output[*RoutineRoutineType]{ + OutputState: in.ToRoutineRoutineTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The top level type of this field. Can be any GoogleSQL data type (e.g., "INT64", "DATE", "ARRAY"). type StandardSqlDataTypeTypeKind string @@ -1347,6 +1486,12 @@ func (o StandardSqlDataTypeTypeKindOutput) ToStandardSqlDataTypeTypeKindPtrOutpu }).(StandardSqlDataTypeTypeKindPtrOutput) } +func (o StandardSqlDataTypeTypeKindOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSqlDataTypeTypeKind] { + return pulumix.Output[StandardSqlDataTypeTypeKind]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlDataTypeTypeKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1382,6 +1527,12 @@ func (o StandardSqlDataTypeTypeKindPtrOutput) ToStandardSqlDataTypeTypeKindPtrOu return o } +func (o StandardSqlDataTypeTypeKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StandardSqlDataTypeTypeKind] { + return pulumix.Output[*StandardSqlDataTypeTypeKind]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlDataTypeTypeKindPtrOutput) Elem() StandardSqlDataTypeTypeKindOutput { return o.ApplyT(func(v *StandardSqlDataTypeTypeKind) StandardSqlDataTypeTypeKind { if v != nil { @@ -1444,6 +1595,12 @@ func (in *standardSqlDataTypeTypeKindPtr) ToStandardSqlDataTypeTypeKindPtrOutput return pulumi.ToOutputWithContext(ctx, in).(StandardSqlDataTypeTypeKindPtrOutput) } +func (in *standardSqlDataTypeTypeKindPtr) ToOutput(ctx context.Context) pulumix.Output[*StandardSqlDataTypeTypeKind] { + return pulumix.Output[*StandardSqlDataTypeTypeKind]{ + OutputState: in.ToStandardSqlDataTypeTypeKindPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ArgumentArgumentKindInput)(nil)).Elem(), ArgumentArgumentKind("ARGUMENT_KIND_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ArgumentArgumentKindPtrInput)(nil)).Elem(), ArgumentArgumentKind("ARGUMENT_KIND_UNSPECIFIED")) diff --git a/sdk/go/google/bigquery/v2/pulumiTypes.go b/sdk/go/google/bigquery/v2/pulumiTypes.go index 4093ed4125..324e97c77e 100644 --- a/sdk/go/google/bigquery/v2/pulumiTypes.go +++ b/sdk/go/google/bigquery/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i ArgumentArgs) ToArgumentOutputWithContext(ctx context.Context) ArgumentO return pulumi.ToOutputWithContext(ctx, i).(ArgumentOutput) } +func (i ArgumentArgs) ToOutput(ctx context.Context) pulumix.Output[Argument] { + return pulumix.Output[Argument]{ + OutputState: i.ToArgumentOutputWithContext(ctx).OutputState, + } +} + // ArgumentArrayInput is an input type that accepts ArgumentArray and ArgumentArrayOutput values. // You can construct a concrete instance of `ArgumentArrayInput` via: // @@ -85,6 +92,12 @@ func (i ArgumentArray) ToArgumentArrayOutputWithContext(ctx context.Context) Arg return pulumi.ToOutputWithContext(ctx, i).(ArgumentArrayOutput) } +func (i ArgumentArray) ToOutput(ctx context.Context) pulumix.Output[[]Argument] { + return pulumix.Output[[]Argument]{ + OutputState: i.ToArgumentArrayOutputWithContext(ctx).OutputState, + } +} + // Input/output argument of a function or a stored procedure. type ArgumentOutput struct{ *pulumi.OutputState } @@ -100,6 +113,12 @@ func (o ArgumentOutput) ToArgumentOutputWithContext(ctx context.Context) Argumen return o } +func (o ArgumentOutput) ToOutput(ctx context.Context) pulumix.Output[Argument] { + return pulumix.Output[Argument]{ + OutputState: o.OutputState, + } +} + // Optional. Defaults to FIXED_TYPE. func (o ArgumentOutput) ArgumentKind() ArgumentArgumentKindPtrOutput { return o.ApplyT(func(v Argument) *ArgumentArgumentKind { return v.ArgumentKind }).(ArgumentArgumentKindPtrOutput) @@ -134,6 +153,12 @@ func (o ArgumentArrayOutput) ToArgumentArrayOutputWithContext(ctx context.Contex return o } +func (o ArgumentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Argument] { + return pulumix.Output[[]Argument]{ + OutputState: o.OutputState, + } +} + func (o ArgumentArrayOutput) Index(i pulumi.IntInput) ArgumentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Argument { return vs[0].([]Argument)[vs[1].(int)] @@ -167,6 +192,12 @@ func (o ArgumentResponseOutput) ToArgumentResponseOutputWithContext(ctx context. return o } +func (o ArgumentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ArgumentResponse] { + return pulumix.Output[ArgumentResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Defaults to FIXED_TYPE. func (o ArgumentResponseOutput) ArgumentKind() pulumi.StringOutput { return o.ApplyT(func(v ArgumentResponse) string { return v.ArgumentKind }).(pulumi.StringOutput) @@ -201,6 +232,12 @@ func (o ArgumentResponseArrayOutput) ToArgumentResponseArrayOutputWithContext(ct return o } +func (o ArgumentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ArgumentResponse] { + return pulumix.Output[[]ArgumentResponse]{ + OutputState: o.OutputState, + } +} + func (o ArgumentResponseArrayOutput) Index(i pulumi.IntInput) ArgumentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ArgumentResponse { return vs[0].([]ArgumentResponse)[vs[1].(int)] @@ -246,6 +283,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -271,6 +314,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -286,6 +335,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -310,6 +365,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -339,6 +400,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -363,6 +430,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -408,6 +481,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -433,6 +512,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -448,6 +533,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -472,6 +563,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -501,6 +598,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -525,6 +628,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -564,6 +673,12 @@ func (i AvroOptionsArgs) ToAvroOptionsOutputWithContext(ctx context.Context) Avr return pulumi.ToOutputWithContext(ctx, i).(AvroOptionsOutput) } +func (i AvroOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[AvroOptions] { + return pulumix.Output[AvroOptions]{ + OutputState: i.ToAvroOptionsOutputWithContext(ctx).OutputState, + } +} + func (i AvroOptionsArgs) ToAvroOptionsPtrOutput() AvroOptionsPtrOutput { return i.ToAvroOptionsPtrOutputWithContext(context.Background()) } @@ -605,6 +720,12 @@ func (i *avroOptionsPtrType) ToAvroOptionsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AvroOptionsPtrOutput) } +func (i *avroOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AvroOptions] { + return pulumix.Output[*AvroOptions]{ + OutputState: i.ToAvroOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type AvroOptionsOutput struct{ *pulumi.OutputState } func (AvroOptionsOutput) ElementType() reflect.Type { @@ -629,6 +750,12 @@ func (o AvroOptionsOutput) ToAvroOptionsPtrOutputWithContext(ctx context.Context }).(AvroOptionsPtrOutput) } +func (o AvroOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[AvroOptions] { + return pulumix.Output[AvroOptions]{ + OutputState: o.OutputState, + } +} + // [Optional] If sourceFormat is set to "AVRO", indicates whether to interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER). func (o AvroOptionsOutput) UseAvroLogicalTypes() pulumi.BoolPtrOutput { return o.ApplyT(func(v AvroOptions) *bool { return v.UseAvroLogicalTypes }).(pulumi.BoolPtrOutput) @@ -648,6 +775,12 @@ func (o AvroOptionsPtrOutput) ToAvroOptionsPtrOutputWithContext(ctx context.Cont return o } +func (o AvroOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AvroOptions] { + return pulumix.Output[*AvroOptions]{ + OutputState: o.OutputState, + } +} + func (o AvroOptionsPtrOutput) Elem() AvroOptionsOutput { return o.ApplyT(func(v *AvroOptions) AvroOptions { if v != nil { @@ -687,6 +820,12 @@ func (o AvroOptionsResponseOutput) ToAvroOptionsResponseOutputWithContext(ctx co return o } +func (o AvroOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AvroOptionsResponse] { + return pulumix.Output[AvroOptionsResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] If sourceFormat is set to "AVRO", indicates whether to interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER). func (o AvroOptionsResponseOutput) UseAvroLogicalTypes() pulumi.BoolOutput { return o.ApplyT(func(v AvroOptionsResponse) bool { return v.UseAvroLogicalTypes }).(pulumi.BoolOutput) @@ -713,6 +852,12 @@ func (o BiEngineReasonResponseOutput) ToBiEngineReasonResponseOutputWithContext( return o } +func (o BiEngineReasonResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BiEngineReasonResponse] { + return pulumix.Output[BiEngineReasonResponse]{ + OutputState: o.OutputState, + } +} + // High-level BI Engine reason for partial or disabled acceleration. func (o BiEngineReasonResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v BiEngineReasonResponse) string { return v.Code }).(pulumi.StringOutput) @@ -737,6 +882,12 @@ func (o BiEngineReasonResponseArrayOutput) ToBiEngineReasonResponseArrayOutputWi return o } +func (o BiEngineReasonResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BiEngineReasonResponse] { + return pulumix.Output[[]BiEngineReasonResponse]{ + OutputState: o.OutputState, + } +} + func (o BiEngineReasonResponseArrayOutput) Index(i pulumi.IntInput) BiEngineReasonResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BiEngineReasonResponse { return vs[0].([]BiEngineReasonResponse)[vs[1].(int)] @@ -766,6 +917,12 @@ func (o BiEngineStatisticsResponseOutput) ToBiEngineStatisticsResponseOutputWith return o } +func (o BiEngineStatisticsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BiEngineStatisticsResponse] { + return pulumix.Output[BiEngineStatisticsResponse]{ + OutputState: o.OutputState, + } +} + // Specifies which mode of BI Engine acceleration was performed (if any). func (o BiEngineStatisticsResponseOutput) AccelerationMode() pulumi.StringOutput { return o.ApplyT(func(v BiEngineStatisticsResponse) string { return v.AccelerationMode }).(pulumi.StringOutput) @@ -802,6 +959,12 @@ func (o BigQueryModelTrainingResponseOutput) ToBigQueryModelTrainingResponseOutp return o } +func (o BigQueryModelTrainingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryModelTrainingResponse] { + return pulumix.Output[BigQueryModelTrainingResponse]{ + OutputState: o.OutputState, + } +} + // [Output-only, Beta] Index of current ML training iteration. Updated during create model query job to show job progress. func (o BigQueryModelTrainingResponseOutput) CurrentIteration() pulumi.IntOutput { return o.ApplyT(func(v BigQueryModelTrainingResponse) int { return v.CurrentIteration }).(pulumi.IntOutput) @@ -863,6 +1026,12 @@ func (i BigtableColumnArgs) ToBigtableColumnOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BigtableColumnOutput) } +func (i BigtableColumnArgs) ToOutput(ctx context.Context) pulumix.Output[BigtableColumn] { + return pulumix.Output[BigtableColumn]{ + OutputState: i.ToBigtableColumnOutputWithContext(ctx).OutputState, + } +} + // BigtableColumnArrayInput is an input type that accepts BigtableColumnArray and BigtableColumnArrayOutput values. // You can construct a concrete instance of `BigtableColumnArrayInput` via: // @@ -888,6 +1057,12 @@ func (i BigtableColumnArray) ToBigtableColumnArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BigtableColumnArrayOutput) } +func (i BigtableColumnArray) ToOutput(ctx context.Context) pulumix.Output[[]BigtableColumn] { + return pulumix.Output[[]BigtableColumn]{ + OutputState: i.ToBigtableColumnArrayOutputWithContext(ctx).OutputState, + } +} + type BigtableColumnOutput struct{ *pulumi.OutputState } func (BigtableColumnOutput) ElementType() reflect.Type { @@ -902,6 +1077,12 @@ func (o BigtableColumnOutput) ToBigtableColumnOutputWithContext(ctx context.Cont return o } +func (o BigtableColumnOutput) ToOutput(ctx context.Context) pulumix.Output[BigtableColumn] { + return pulumix.Output[BigtableColumn]{ + OutputState: o.OutputState, + } +} + // [Optional] The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels. func (o BigtableColumnOutput) Encoding() pulumi.StringPtrOutput { return o.ApplyT(func(v BigtableColumn) *string { return v.Encoding }).(pulumi.StringPtrOutput) @@ -945,6 +1126,12 @@ func (o BigtableColumnArrayOutput) ToBigtableColumnArrayOutputWithContext(ctx co return o } +func (o BigtableColumnArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BigtableColumn] { + return pulumix.Output[[]BigtableColumn]{ + OutputState: o.OutputState, + } +} + func (o BigtableColumnArrayOutput) Index(i pulumi.IntInput) BigtableColumnOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BigtableColumn { return vs[0].([]BigtableColumn)[vs[1].(int)] @@ -1000,6 +1187,12 @@ func (i BigtableColumnFamilyArgs) ToBigtableColumnFamilyOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(BigtableColumnFamilyOutput) } +func (i BigtableColumnFamilyArgs) ToOutput(ctx context.Context) pulumix.Output[BigtableColumnFamily] { + return pulumix.Output[BigtableColumnFamily]{ + OutputState: i.ToBigtableColumnFamilyOutputWithContext(ctx).OutputState, + } +} + // BigtableColumnFamilyArrayInput is an input type that accepts BigtableColumnFamilyArray and BigtableColumnFamilyArrayOutput values. // You can construct a concrete instance of `BigtableColumnFamilyArrayInput` via: // @@ -1025,6 +1218,12 @@ func (i BigtableColumnFamilyArray) ToBigtableColumnFamilyArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BigtableColumnFamilyArrayOutput) } +func (i BigtableColumnFamilyArray) ToOutput(ctx context.Context) pulumix.Output[[]BigtableColumnFamily] { + return pulumix.Output[[]BigtableColumnFamily]{ + OutputState: i.ToBigtableColumnFamilyArrayOutputWithContext(ctx).OutputState, + } +} + type BigtableColumnFamilyOutput struct{ *pulumi.OutputState } func (BigtableColumnFamilyOutput) ElementType() reflect.Type { @@ -1039,6 +1238,12 @@ func (o BigtableColumnFamilyOutput) ToBigtableColumnFamilyOutputWithContext(ctx return o } +func (o BigtableColumnFamilyOutput) ToOutput(ctx context.Context) pulumix.Output[BigtableColumnFamily] { + return pulumix.Output[BigtableColumnFamily]{ + OutputState: o.OutputState, + } +} + // [Optional] Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as .. Other columns can be accessed as a list through .Column field. func (o BigtableColumnFamilyOutput) Columns() BigtableColumnArrayOutput { return o.ApplyT(func(v BigtableColumnFamily) []BigtableColumn { return v.Columns }).(BigtableColumnArrayOutput) @@ -1078,6 +1283,12 @@ func (o BigtableColumnFamilyArrayOutput) ToBigtableColumnFamilyArrayOutputWithCo return o } +func (o BigtableColumnFamilyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BigtableColumnFamily] { + return pulumix.Output[[]BigtableColumnFamily]{ + OutputState: o.OutputState, + } +} + func (o BigtableColumnFamilyArrayOutput) Index(i pulumi.IntInput) BigtableColumnFamilyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BigtableColumnFamily { return vs[0].([]BigtableColumnFamily)[vs[1].(int)] @@ -1111,6 +1322,12 @@ func (o BigtableColumnFamilyResponseOutput) ToBigtableColumnFamilyResponseOutput return o } +func (o BigtableColumnFamilyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigtableColumnFamilyResponse] { + return pulumix.Output[BigtableColumnFamilyResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as .. Other columns can be accessed as a list through .Column field. func (o BigtableColumnFamilyResponseOutput) Columns() BigtableColumnResponseArrayOutput { return o.ApplyT(func(v BigtableColumnFamilyResponse) []BigtableColumnResponse { return v.Columns }).(BigtableColumnResponseArrayOutput) @@ -1150,6 +1367,12 @@ func (o BigtableColumnFamilyResponseArrayOutput) ToBigtableColumnFamilyResponseA return o } +func (o BigtableColumnFamilyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BigtableColumnFamilyResponse] { + return pulumix.Output[[]BigtableColumnFamilyResponse]{ + OutputState: o.OutputState, + } +} + func (o BigtableColumnFamilyResponseArrayOutput) Index(i pulumi.IntInput) BigtableColumnFamilyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BigtableColumnFamilyResponse { return vs[0].([]BigtableColumnFamilyResponse)[vs[1].(int)] @@ -1184,6 +1407,12 @@ func (o BigtableColumnResponseOutput) ToBigtableColumnResponseOutputWithContext( return o } +func (o BigtableColumnResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigtableColumnResponse] { + return pulumix.Output[BigtableColumnResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels. func (o BigtableColumnResponseOutput) Encoding() pulumi.StringOutput { return o.ApplyT(func(v BigtableColumnResponse) string { return v.Encoding }).(pulumi.StringOutput) @@ -1227,6 +1456,12 @@ func (o BigtableColumnResponseArrayOutput) ToBigtableColumnResponseArrayOutputWi return o } +func (o BigtableColumnResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BigtableColumnResponse] { + return pulumix.Output[[]BigtableColumnResponse]{ + OutputState: o.OutputState, + } +} + func (o BigtableColumnResponseArrayOutput) Index(i pulumi.IntInput) BigtableColumnResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BigtableColumnResponse { return vs[0].([]BigtableColumnResponse)[vs[1].(int)] @@ -1274,6 +1509,12 @@ func (i BigtableOptionsArgs) ToBigtableOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BigtableOptionsOutput) } +func (i BigtableOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[BigtableOptions] { + return pulumix.Output[BigtableOptions]{ + OutputState: i.ToBigtableOptionsOutputWithContext(ctx).OutputState, + } +} + func (i BigtableOptionsArgs) ToBigtableOptionsPtrOutput() BigtableOptionsPtrOutput { return i.ToBigtableOptionsPtrOutputWithContext(context.Background()) } @@ -1315,6 +1556,12 @@ func (i *bigtableOptionsPtrType) ToBigtableOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BigtableOptionsPtrOutput) } +func (i *bigtableOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BigtableOptions] { + return pulumix.Output[*BigtableOptions]{ + OutputState: i.ToBigtableOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type BigtableOptionsOutput struct{ *pulumi.OutputState } func (BigtableOptionsOutput) ElementType() reflect.Type { @@ -1339,6 +1586,12 @@ func (o BigtableOptionsOutput) ToBigtableOptionsPtrOutputWithContext(ctx context }).(BigtableOptionsPtrOutput) } +func (o BigtableOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[BigtableOptions] { + return pulumix.Output[BigtableOptions]{ + OutputState: o.OutputState, + } +} + // [Optional] List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the 'type' field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable. func (o BigtableOptionsOutput) ColumnFamilies() BigtableColumnFamilyArrayOutput { return o.ApplyT(func(v BigtableOptions) []BigtableColumnFamily { return v.ColumnFamilies }).(BigtableColumnFamilyArrayOutput) @@ -1368,6 +1621,12 @@ func (o BigtableOptionsPtrOutput) ToBigtableOptionsPtrOutputWithContext(ctx cont return o } +func (o BigtableOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BigtableOptions] { + return pulumix.Output[*BigtableOptions]{ + OutputState: o.OutputState, + } +} + func (o BigtableOptionsPtrOutput) Elem() BigtableOptionsOutput { return o.ApplyT(func(v *BigtableOptions) BigtableOptions { if v != nil { @@ -1431,6 +1690,12 @@ func (o BigtableOptionsResponseOutput) ToBigtableOptionsResponseOutputWithContex return o } +func (o BigtableOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigtableOptionsResponse] { + return pulumix.Output[BigtableOptionsResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the 'type' field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable. func (o BigtableOptionsResponseOutput) ColumnFamilies() BigtableColumnFamilyResponseArrayOutput { return o.ApplyT(func(v BigtableOptionsResponse) []BigtableColumnFamilyResponse { return v.ColumnFamilies }).(BigtableColumnFamilyResponseArrayOutput) @@ -1489,6 +1754,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -1514,6 +1785,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -1529,6 +1806,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -1558,6 +1841,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -1589,6 +1878,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1618,6 +1913,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1673,6 +1974,12 @@ func (i BqmlIterationResultArgs) ToBqmlIterationResultOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BqmlIterationResultOutput) } +func (i BqmlIterationResultArgs) ToOutput(ctx context.Context) pulumix.Output[BqmlIterationResult] { + return pulumix.Output[BqmlIterationResult]{ + OutputState: i.ToBqmlIterationResultOutputWithContext(ctx).OutputState, + } +} + // BqmlIterationResultArrayInput is an input type that accepts BqmlIterationResultArray and BqmlIterationResultArrayOutput values. // You can construct a concrete instance of `BqmlIterationResultArrayInput` via: // @@ -1698,6 +2005,12 @@ func (i BqmlIterationResultArray) ToBqmlIterationResultArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BqmlIterationResultArrayOutput) } +func (i BqmlIterationResultArray) ToOutput(ctx context.Context) pulumix.Output[[]BqmlIterationResult] { + return pulumix.Output[[]BqmlIterationResult]{ + OutputState: i.ToBqmlIterationResultArrayOutputWithContext(ctx).OutputState, + } +} + type BqmlIterationResultOutput struct{ *pulumi.OutputState } func (BqmlIterationResultOutput) ElementType() reflect.Type { @@ -1712,6 +2025,12 @@ func (o BqmlIterationResultOutput) ToBqmlIterationResultOutputWithContext(ctx co return o } +func (o BqmlIterationResultOutput) ToOutput(ctx context.Context) pulumix.Output[BqmlIterationResult] { + return pulumix.Output[BqmlIterationResult]{ + OutputState: o.OutputState, + } +} + // [Output-only, Beta] Time taken to run the training iteration in milliseconds. func (o BqmlIterationResultOutput) DurationMs() pulumi.StringPtrOutput { return o.ApplyT(func(v BqmlIterationResult) *string { return v.DurationMs }).(pulumi.StringPtrOutput) @@ -1751,6 +2070,12 @@ func (o BqmlIterationResultArrayOutput) ToBqmlIterationResultArrayOutputWithCont return o } +func (o BqmlIterationResultArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BqmlIterationResult] { + return pulumix.Output[[]BqmlIterationResult]{ + OutputState: o.OutputState, + } +} + func (o BqmlIterationResultArrayOutput) Index(i pulumi.IntInput) BqmlIterationResultOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BqmlIterationResult { return vs[0].([]BqmlIterationResult)[vs[1].(int)] @@ -1784,6 +2109,12 @@ func (o BqmlIterationResultResponseOutput) ToBqmlIterationResultResponseOutputWi return o } +func (o BqmlIterationResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BqmlIterationResultResponse] { + return pulumix.Output[BqmlIterationResultResponse]{ + OutputState: o.OutputState, + } +} + // [Output-only, Beta] Time taken to run the training iteration in milliseconds. func (o BqmlIterationResultResponseOutput) DurationMs() pulumi.StringOutput { return o.ApplyT(func(v BqmlIterationResultResponse) string { return v.DurationMs }).(pulumi.StringOutput) @@ -1823,6 +2154,12 @@ func (o BqmlIterationResultResponseArrayOutput) ToBqmlIterationResultResponseArr return o } +func (o BqmlIterationResultResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BqmlIterationResultResponse] { + return pulumix.Output[[]BqmlIterationResultResponse]{ + OutputState: o.OutputState, + } +} + func (o BqmlIterationResultResponseArrayOutput) Index(i pulumi.IntInput) BqmlIterationResultResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BqmlIterationResultResponse { return vs[0].([]BqmlIterationResultResponse)[vs[1].(int)] @@ -1874,6 +2211,12 @@ func (i BqmlTrainingRunArgs) ToBqmlTrainingRunOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BqmlTrainingRunOutput) } +func (i BqmlTrainingRunArgs) ToOutput(ctx context.Context) pulumix.Output[BqmlTrainingRun] { + return pulumix.Output[BqmlTrainingRun]{ + OutputState: i.ToBqmlTrainingRunOutputWithContext(ctx).OutputState, + } +} + // BqmlTrainingRunArrayInput is an input type that accepts BqmlTrainingRunArray and BqmlTrainingRunArrayOutput values. // You can construct a concrete instance of `BqmlTrainingRunArrayInput` via: // @@ -1899,6 +2242,12 @@ func (i BqmlTrainingRunArray) ToBqmlTrainingRunArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(BqmlTrainingRunArrayOutput) } +func (i BqmlTrainingRunArray) ToOutput(ctx context.Context) pulumix.Output[[]BqmlTrainingRun] { + return pulumix.Output[[]BqmlTrainingRun]{ + OutputState: i.ToBqmlTrainingRunArrayOutputWithContext(ctx).OutputState, + } +} + type BqmlTrainingRunOutput struct{ *pulumi.OutputState } func (BqmlTrainingRunOutput) ElementType() reflect.Type { @@ -1913,6 +2262,12 @@ func (o BqmlTrainingRunOutput) ToBqmlTrainingRunOutputWithContext(ctx context.Co return o } +func (o BqmlTrainingRunOutput) ToOutput(ctx context.Context) pulumix.Output[BqmlTrainingRun] { + return pulumix.Output[BqmlTrainingRun]{ + OutputState: o.OutputState, + } +} + // [Output-only, Beta] List of each iteration results. func (o BqmlTrainingRunOutput) IterationResults() BqmlIterationResultArrayOutput { return o.ApplyT(func(v BqmlTrainingRun) []BqmlIterationResult { return v.IterationResults }).(BqmlIterationResultArrayOutput) @@ -1947,6 +2302,12 @@ func (o BqmlTrainingRunArrayOutput) ToBqmlTrainingRunArrayOutputWithContext(ctx return o } +func (o BqmlTrainingRunArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BqmlTrainingRun] { + return pulumix.Output[[]BqmlTrainingRun]{ + OutputState: o.OutputState, + } +} + func (o BqmlTrainingRunArrayOutput) Index(i pulumi.IntInput) BqmlTrainingRunOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BqmlTrainingRun { return vs[0].([]BqmlTrainingRun)[vs[1].(int)] @@ -1978,6 +2339,12 @@ func (o BqmlTrainingRunResponseOutput) ToBqmlTrainingRunResponseOutputWithContex return o } +func (o BqmlTrainingRunResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BqmlTrainingRunResponse] { + return pulumix.Output[BqmlTrainingRunResponse]{ + OutputState: o.OutputState, + } +} + // [Output-only, Beta] List of each iteration results. func (o BqmlTrainingRunResponseOutput) IterationResults() BqmlIterationResultResponseArrayOutput { return o.ApplyT(func(v BqmlTrainingRunResponse) []BqmlIterationResultResponse { return v.IterationResults }).(BqmlIterationResultResponseArrayOutput) @@ -2012,6 +2379,12 @@ func (o BqmlTrainingRunResponseArrayOutput) ToBqmlTrainingRunResponseArrayOutput return o } +func (o BqmlTrainingRunResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BqmlTrainingRunResponse] { + return pulumix.Output[[]BqmlTrainingRunResponse]{ + OutputState: o.OutputState, + } +} + func (o BqmlTrainingRunResponseArrayOutput) Index(i pulumi.IntInput) BqmlTrainingRunResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BqmlTrainingRunResponse { return vs[0].([]BqmlTrainingRunResponse)[vs[1].(int)] @@ -2067,6 +2440,12 @@ func (i BqmlTrainingRunTrainingOptionsArgs) ToBqmlTrainingRunTrainingOptionsOutp return pulumi.ToOutputWithContext(ctx, i).(BqmlTrainingRunTrainingOptionsOutput) } +func (i BqmlTrainingRunTrainingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[BqmlTrainingRunTrainingOptions] { + return pulumix.Output[BqmlTrainingRunTrainingOptions]{ + OutputState: i.ToBqmlTrainingRunTrainingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i BqmlTrainingRunTrainingOptionsArgs) ToBqmlTrainingRunTrainingOptionsPtrOutput() BqmlTrainingRunTrainingOptionsPtrOutput { return i.ToBqmlTrainingRunTrainingOptionsPtrOutputWithContext(context.Background()) } @@ -2108,6 +2487,12 @@ func (i *bqmlTrainingRunTrainingOptionsPtrType) ToBqmlTrainingRunTrainingOptions return pulumi.ToOutputWithContext(ctx, i).(BqmlTrainingRunTrainingOptionsPtrOutput) } +func (i *bqmlTrainingRunTrainingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BqmlTrainingRunTrainingOptions] { + return pulumix.Output[*BqmlTrainingRunTrainingOptions]{ + OutputState: i.ToBqmlTrainingRunTrainingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // [Output-only, Beta] Training options used by this training run. These options are mutable for subsequent training runs. Default values are explicitly stored for options not specified in the input query of the first training run. For subsequent training runs, any option not explicitly specified in the input query will be copied from the previous training run. type BqmlTrainingRunTrainingOptionsOutput struct{ *pulumi.OutputState } @@ -2133,6 +2518,12 @@ func (o BqmlTrainingRunTrainingOptionsOutput) ToBqmlTrainingRunTrainingOptionsPt }).(BqmlTrainingRunTrainingOptionsPtrOutput) } +func (o BqmlTrainingRunTrainingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[BqmlTrainingRunTrainingOptions] { + return pulumix.Output[BqmlTrainingRunTrainingOptions]{ + OutputState: o.OutputState, + } +} + func (o BqmlTrainingRunTrainingOptionsOutput) EarlyStop() pulumi.BoolPtrOutput { return o.ApplyT(func(v BqmlTrainingRunTrainingOptions) *bool { return v.EarlyStop }).(pulumi.BoolPtrOutput) } @@ -2183,6 +2574,12 @@ func (o BqmlTrainingRunTrainingOptionsPtrOutput) ToBqmlTrainingRunTrainingOption return o } +func (o BqmlTrainingRunTrainingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BqmlTrainingRunTrainingOptions] { + return pulumix.Output[*BqmlTrainingRunTrainingOptions]{ + OutputState: o.OutputState, + } +} + func (o BqmlTrainingRunTrainingOptionsPtrOutput) Elem() BqmlTrainingRunTrainingOptionsOutput { return o.ApplyT(func(v *BqmlTrainingRunTrainingOptions) BqmlTrainingRunTrainingOptions { if v != nil { @@ -2302,6 +2699,12 @@ func (o BqmlTrainingRunTrainingOptionsResponseOutput) ToBqmlTrainingRunTrainingO return o } +func (o BqmlTrainingRunTrainingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BqmlTrainingRunTrainingOptionsResponse] { + return pulumix.Output[BqmlTrainingRunTrainingOptionsResponse]{ + OutputState: o.OutputState, + } +} + func (o BqmlTrainingRunTrainingOptionsResponseOutput) EarlyStop() pulumi.BoolOutput { return o.ApplyT(func(v BqmlTrainingRunTrainingOptionsResponse) bool { return v.EarlyStop }).(pulumi.BoolOutput) } @@ -2359,6 +2762,12 @@ func (o CloneDefinitionResponseOutput) ToCloneDefinitionResponseOutputWithContex return o } +func (o CloneDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloneDefinitionResponse] { + return pulumix.Output[CloneDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // [Required] Reference describing the ID of the table that was cloned. func (o CloneDefinitionResponseOutput) BaseTableReference() TableReferenceResponseOutput { return o.ApplyT(func(v CloneDefinitionResponse) TableReferenceResponse { return v.BaseTableReference }).(TableReferenceResponseOutput) @@ -2402,6 +2811,12 @@ func (i ClusteringArgs) ToClusteringOutputWithContext(ctx context.Context) Clust return pulumi.ToOutputWithContext(ctx, i).(ClusteringOutput) } +func (i ClusteringArgs) ToOutput(ctx context.Context) pulumix.Output[Clustering] { + return pulumix.Output[Clustering]{ + OutputState: i.ToClusteringOutputWithContext(ctx).OutputState, + } +} + func (i ClusteringArgs) ToClusteringPtrOutput() ClusteringPtrOutput { return i.ToClusteringPtrOutputWithContext(context.Background()) } @@ -2443,6 +2858,12 @@ func (i *clusteringPtrType) ToClusteringPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ClusteringPtrOutput) } +func (i *clusteringPtrType) ToOutput(ctx context.Context) pulumix.Output[*Clustering] { + return pulumix.Output[*Clustering]{ + OutputState: i.ToClusteringPtrOutputWithContext(ctx).OutputState, + } +} + type ClusteringOutput struct{ *pulumi.OutputState } func (ClusteringOutput) ElementType() reflect.Type { @@ -2467,6 +2888,12 @@ func (o ClusteringOutput) ToClusteringPtrOutputWithContext(ctx context.Context) }).(ClusteringPtrOutput) } +func (o ClusteringOutput) ToOutput(ctx context.Context) pulumix.Output[Clustering] { + return pulumix.Output[Clustering]{ + OutputState: o.OutputState, + } +} + // [Repeated] One or more fields on which data should be clustered. Only top-level, non-repeated, simple-type fields are supported. When you cluster a table using multiple columns, the order of columns you specify is important. The order of the specified columns determines the sort order of the data. func (o ClusteringOutput) Fields() pulumi.StringArrayOutput { return o.ApplyT(func(v Clustering) []string { return v.Fields }).(pulumi.StringArrayOutput) @@ -2486,6 +2913,12 @@ func (o ClusteringPtrOutput) ToClusteringPtrOutputWithContext(ctx context.Contex return o } +func (o ClusteringPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Clustering] { + return pulumix.Output[*Clustering]{ + OutputState: o.OutputState, + } +} + func (o ClusteringPtrOutput) Elem() ClusteringOutput { return o.ApplyT(func(v *Clustering) Clustering { if v != nil { @@ -2525,6 +2958,12 @@ func (o ClusteringResponseOutput) ToClusteringResponseOutputWithContext(ctx cont return o } +func (o ClusteringResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusteringResponse] { + return pulumix.Output[ClusteringResponse]{ + OutputState: o.OutputState, + } +} + // [Repeated] One or more fields on which data should be clustered. Only top-level, non-repeated, simple-type fields are supported. When you cluster a table using multiple columns, the order of columns you specify is important. The order of the specified columns determines the sort order of the data. func (o ClusteringResponseOutput) Fields() pulumi.StringArrayOutput { return o.ApplyT(func(v ClusteringResponse) []string { return v.Fields }).(pulumi.StringArrayOutput) @@ -2567,6 +3006,12 @@ func (i ConnectionPropertyArgs) ToConnectionPropertyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ConnectionPropertyOutput) } +func (i ConnectionPropertyArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionProperty] { + return pulumix.Output[ConnectionProperty]{ + OutputState: i.ToConnectionPropertyOutputWithContext(ctx).OutputState, + } +} + // ConnectionPropertyArrayInput is an input type that accepts ConnectionPropertyArray and ConnectionPropertyArrayOutput values. // You can construct a concrete instance of `ConnectionPropertyArrayInput` via: // @@ -2592,6 +3037,12 @@ func (i ConnectionPropertyArray) ToConnectionPropertyArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ConnectionPropertyArrayOutput) } +func (i ConnectionPropertyArray) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionProperty] { + return pulumix.Output[[]ConnectionProperty]{ + OutputState: i.ToConnectionPropertyArrayOutputWithContext(ctx).OutputState, + } +} + type ConnectionPropertyOutput struct{ *pulumi.OutputState } func (ConnectionPropertyOutput) ElementType() reflect.Type { @@ -2606,6 +3057,12 @@ func (o ConnectionPropertyOutput) ToConnectionPropertyOutputWithContext(ctx cont return o } +func (o ConnectionPropertyOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionProperty] { + return pulumix.Output[ConnectionProperty]{ + OutputState: o.OutputState, + } +} + // [Required] Name of the connection property to set. func (o ConnectionPropertyOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v ConnectionProperty) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -2630,6 +3087,12 @@ func (o ConnectionPropertyArrayOutput) ToConnectionPropertyArrayOutputWithContex return o } +func (o ConnectionPropertyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionProperty] { + return pulumix.Output[[]ConnectionProperty]{ + OutputState: o.OutputState, + } +} + func (o ConnectionPropertyArrayOutput) Index(i pulumi.IntInput) ConnectionPropertyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionProperty { return vs[0].([]ConnectionProperty)[vs[1].(int)] @@ -2657,6 +3120,12 @@ func (o ConnectionPropertyResponseOutput) ToConnectionPropertyResponseOutputWith return o } +func (o ConnectionPropertyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionPropertyResponse] { + return pulumix.Output[ConnectionPropertyResponse]{ + OutputState: o.OutputState, + } +} + // [Required] Name of the connection property to set. func (o ConnectionPropertyResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v ConnectionPropertyResponse) string { return v.Key }).(pulumi.StringOutput) @@ -2681,6 +3150,12 @@ func (o ConnectionPropertyResponseArrayOutput) ToConnectionPropertyResponseArray return o } +func (o ConnectionPropertyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConnectionPropertyResponse] { + return pulumix.Output[[]ConnectionPropertyResponse]{ + OutputState: o.OutputState, + } +} + func (o ConnectionPropertyResponseArrayOutput) Index(i pulumi.IntInput) ConnectionPropertyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConnectionPropertyResponse { return vs[0].([]ConnectionPropertyResponse)[vs[1].(int)] @@ -2748,6 +3223,12 @@ func (i CsvOptionsArgs) ToCsvOptionsOutputWithContext(ctx context.Context) CsvOp return pulumi.ToOutputWithContext(ctx, i).(CsvOptionsOutput) } +func (i CsvOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[CsvOptions] { + return pulumix.Output[CsvOptions]{ + OutputState: i.ToCsvOptionsOutputWithContext(ctx).OutputState, + } +} + func (i CsvOptionsArgs) ToCsvOptionsPtrOutput() CsvOptionsPtrOutput { return i.ToCsvOptionsPtrOutputWithContext(context.Background()) } @@ -2789,6 +3270,12 @@ func (i *csvOptionsPtrType) ToCsvOptionsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(CsvOptionsPtrOutput) } +func (i *csvOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CsvOptions] { + return pulumix.Output[*CsvOptions]{ + OutputState: i.ToCsvOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type CsvOptionsOutput struct{ *pulumi.OutputState } func (CsvOptionsOutput) ElementType() reflect.Type { @@ -2813,6 +3300,12 @@ func (o CsvOptionsOutput) ToCsvOptionsPtrOutputWithContext(ctx context.Context) }).(CsvOptionsPtrOutput) } +func (o CsvOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[CsvOptions] { + return pulumix.Output[CsvOptions]{ + OutputState: o.OutputState, + } +} + // [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. func (o CsvOptionsOutput) AllowJaggedRows() pulumi.BoolPtrOutput { return o.ApplyT(func(v CsvOptions) *bool { return v.AllowJaggedRows }).(pulumi.BoolPtrOutput) @@ -2867,6 +3360,12 @@ func (o CsvOptionsPtrOutput) ToCsvOptionsPtrOutputWithContext(ctx context.Contex return o } +func (o CsvOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CsvOptions] { + return pulumix.Output[*CsvOptions]{ + OutputState: o.OutputState, + } +} + func (o CsvOptionsPtrOutput) Elem() CsvOptionsOutput { return o.ApplyT(func(v *CsvOptions) CsvOptions { if v != nil { @@ -2990,6 +3489,12 @@ func (o CsvOptionsResponseOutput) ToCsvOptionsResponseOutputWithContext(ctx cont return o } +func (o CsvOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CsvOptionsResponse] { + return pulumix.Output[CsvOptionsResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. func (o CsvOptionsResponseOutput) AllowJaggedRows() pulumi.BoolOutput { return o.ApplyT(func(v CsvOptionsResponse) bool { return v.AllowJaggedRows }).(pulumi.BoolOutput) @@ -3049,6 +3554,12 @@ func (o DataMaskingStatisticsResponseOutput) ToDataMaskingStatisticsResponseOutp return o } +func (o DataMaskingStatisticsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataMaskingStatisticsResponse] { + return pulumix.Output[DataMaskingStatisticsResponse]{ + OutputState: o.OutputState, + } +} + // [Preview] Whether any accessed data was protected by data masking. The actual evaluation is done by accessStats.masked_field_count > 0. Since this is only used for the discovery_doc generation purpose, as long as the type (boolean) matches, client library can leverage this. The actual evaluation of the variable is done else-where. func (o DataMaskingStatisticsResponseOutput) DataMaskingApplied() pulumi.BoolOutput { return o.ApplyT(func(v DataMaskingStatisticsResponse) bool { return v.DataMaskingApplied }).(pulumi.BoolOutput) @@ -3089,6 +3600,12 @@ func (i DatasetAccessEntryArgs) ToDatasetAccessEntryOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DatasetAccessEntryOutput) } +func (i DatasetAccessEntryArgs) ToOutput(ctx context.Context) pulumix.Output[DatasetAccessEntry] { + return pulumix.Output[DatasetAccessEntry]{ + OutputState: i.ToDatasetAccessEntryOutputWithContext(ctx).OutputState, + } +} + func (i DatasetAccessEntryArgs) ToDatasetAccessEntryPtrOutput() DatasetAccessEntryPtrOutput { return i.ToDatasetAccessEntryPtrOutputWithContext(context.Background()) } @@ -3130,6 +3647,12 @@ func (i *datasetAccessEntryPtrType) ToDatasetAccessEntryPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DatasetAccessEntryPtrOutput) } +func (i *datasetAccessEntryPtrType) ToOutput(ctx context.Context) pulumix.Output[*DatasetAccessEntry] { + return pulumix.Output[*DatasetAccessEntry]{ + OutputState: i.ToDatasetAccessEntryPtrOutputWithContext(ctx).OutputState, + } +} + type DatasetAccessEntryOutput struct{ *pulumi.OutputState } func (DatasetAccessEntryOutput) ElementType() reflect.Type { @@ -3154,6 +3677,12 @@ func (o DatasetAccessEntryOutput) ToDatasetAccessEntryPtrOutputWithContext(ctx c }).(DatasetAccessEntryPtrOutput) } +func (o DatasetAccessEntryOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetAccessEntry] { + return pulumix.Output[DatasetAccessEntry]{ + OutputState: o.OutputState, + } +} + // [Required] The dataset this entry applies to. func (o DatasetAccessEntryOutput) Dataset() DatasetReferencePtrOutput { return o.ApplyT(func(v DatasetAccessEntry) *DatasetReference { return v.Dataset }).(DatasetReferencePtrOutput) @@ -3177,6 +3706,12 @@ func (o DatasetAccessEntryPtrOutput) ToDatasetAccessEntryPtrOutputWithContext(ct return o } +func (o DatasetAccessEntryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetAccessEntry] { + return pulumix.Output[*DatasetAccessEntry]{ + OutputState: o.OutputState, + } +} + func (o DatasetAccessEntryPtrOutput) Elem() DatasetAccessEntryOutput { return o.ApplyT(func(v *DatasetAccessEntry) DatasetAccessEntry { if v != nil { @@ -3226,6 +3761,12 @@ func (o DatasetAccessEntryResponseOutput) ToDatasetAccessEntryResponseOutputWith return o } +func (o DatasetAccessEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetAccessEntryResponse] { + return pulumix.Output[DatasetAccessEntryResponse]{ + OutputState: o.OutputState, + } +} + // [Required] The dataset this entry applies to. func (o DatasetAccessEntryResponseOutput) Dataset() DatasetReferenceResponseOutput { return o.ApplyT(func(v DatasetAccessEntryResponse) DatasetReferenceResponse { return v.Dataset }).(DatasetReferenceResponseOutput) @@ -3300,6 +3841,12 @@ func (i DatasetAccessItemArgs) ToDatasetAccessItemOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DatasetAccessItemOutput) } +func (i DatasetAccessItemArgs) ToOutput(ctx context.Context) pulumix.Output[DatasetAccessItem] { + return pulumix.Output[DatasetAccessItem]{ + OutputState: i.ToDatasetAccessItemOutputWithContext(ctx).OutputState, + } +} + // DatasetAccessItemArrayInput is an input type that accepts DatasetAccessItemArray and DatasetAccessItemArrayOutput values. // You can construct a concrete instance of `DatasetAccessItemArrayInput` via: // @@ -3325,6 +3872,12 @@ func (i DatasetAccessItemArray) ToDatasetAccessItemArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DatasetAccessItemArrayOutput) } +func (i DatasetAccessItemArray) ToOutput(ctx context.Context) pulumix.Output[[]DatasetAccessItem] { + return pulumix.Output[[]DatasetAccessItem]{ + OutputState: i.ToDatasetAccessItemArrayOutputWithContext(ctx).OutputState, + } +} + type DatasetAccessItemOutput struct{ *pulumi.OutputState } func (DatasetAccessItemOutput) ElementType() reflect.Type { @@ -3339,6 +3892,12 @@ func (o DatasetAccessItemOutput) ToDatasetAccessItemOutputWithContext(ctx contex return o } +func (o DatasetAccessItemOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetAccessItem] { + return pulumix.Output[DatasetAccessItem]{ + OutputState: o.OutputState, + } +} + // [Pick one] A grant authorizing all resources of a particular type in a particular dataset access to this dataset. Only views are supported for now. The role field is not required when this field is set. If that dataset is deleted and re-created, its access needs to be granted again via an update operation. func (o DatasetAccessItemOutput) Dataset() DatasetAccessEntryPtrOutput { return o.ApplyT(func(v DatasetAccessItem) *DatasetAccessEntry { return v.Dataset }).(DatasetAccessEntryPtrOutput) @@ -3398,6 +3957,12 @@ func (o DatasetAccessItemArrayOutput) ToDatasetAccessItemArrayOutputWithContext( return o } +func (o DatasetAccessItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatasetAccessItem] { + return pulumix.Output[[]DatasetAccessItem]{ + OutputState: o.OutputState, + } +} + func (o DatasetAccessItemArrayOutput) Index(i pulumi.IntInput) DatasetAccessItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatasetAccessItem { return vs[0].([]DatasetAccessItem)[vs[1].(int)] @@ -3439,6 +4004,12 @@ func (o DatasetAccessItemResponseOutput) ToDatasetAccessItemResponseOutputWithCo return o } +func (o DatasetAccessItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetAccessItemResponse] { + return pulumix.Output[DatasetAccessItemResponse]{ + OutputState: o.OutputState, + } +} + // [Pick one] A grant authorizing all resources of a particular type in a particular dataset access to this dataset. Only views are supported for now. The role field is not required when this field is set. If that dataset is deleted and re-created, its access needs to be granted again via an update operation. func (o DatasetAccessItemResponseOutput) Dataset() DatasetAccessEntryResponseOutput { return o.ApplyT(func(v DatasetAccessItemResponse) DatasetAccessEntryResponse { return v.Dataset }).(DatasetAccessEntryResponseOutput) @@ -3498,6 +4069,12 @@ func (o DatasetAccessItemResponseArrayOutput) ToDatasetAccessItemResponseArrayOu return o } +func (o DatasetAccessItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatasetAccessItemResponse] { + return pulumix.Output[[]DatasetAccessItemResponse]{ + OutputState: o.OutputState, + } +} + func (o DatasetAccessItemResponseArrayOutput) Index(i pulumi.IntInput) DatasetAccessItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatasetAccessItemResponse { return vs[0].([]DatasetAccessItemResponse)[vs[1].(int)] @@ -3541,6 +4118,12 @@ func (i DatasetReferenceArgs) ToDatasetReferenceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DatasetReferenceOutput) } +func (i DatasetReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[DatasetReference] { + return pulumix.Output[DatasetReference]{ + OutputState: i.ToDatasetReferenceOutputWithContext(ctx).OutputState, + } +} + func (i DatasetReferenceArgs) ToDatasetReferencePtrOutput() DatasetReferencePtrOutput { return i.ToDatasetReferencePtrOutputWithContext(context.Background()) } @@ -3582,6 +4165,12 @@ func (i *datasetReferencePtrType) ToDatasetReferencePtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DatasetReferencePtrOutput) } +func (i *datasetReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*DatasetReference] { + return pulumix.Output[*DatasetReference]{ + OutputState: i.ToDatasetReferencePtrOutputWithContext(ctx).OutputState, + } +} + type DatasetReferenceOutput struct{ *pulumi.OutputState } func (DatasetReferenceOutput) ElementType() reflect.Type { @@ -3606,6 +4195,12 @@ func (o DatasetReferenceOutput) ToDatasetReferencePtrOutputWithContext(ctx conte }).(DatasetReferencePtrOutput) } +func (o DatasetReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetReference] { + return pulumix.Output[DatasetReference]{ + OutputState: o.OutputState, + } +} + // [Required] A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. func (o DatasetReferenceOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v DatasetReference) *string { return v.DatasetId }).(pulumi.StringPtrOutput) @@ -3630,6 +4225,12 @@ func (o DatasetReferencePtrOutput) ToDatasetReferencePtrOutputWithContext(ctx co return o } +func (o DatasetReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetReference] { + return pulumix.Output[*DatasetReference]{ + OutputState: o.OutputState, + } +} + func (o DatasetReferencePtrOutput) Elem() DatasetReferenceOutput { return o.ApplyT(func(v *DatasetReference) DatasetReference { if v != nil { @@ -3681,6 +4282,12 @@ func (o DatasetReferenceResponseOutput) ToDatasetReferenceResponseOutputWithCont return o } +func (o DatasetReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetReferenceResponse] { + return pulumix.Output[DatasetReferenceResponse]{ + OutputState: o.OutputState, + } +} + // [Required] A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. func (o DatasetReferenceResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v DatasetReferenceResponse) string { return v.DatasetId }).(pulumi.StringOutput) @@ -3728,6 +4335,12 @@ func (i DatasetTagsItemArgs) ToDatasetTagsItemOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DatasetTagsItemOutput) } +func (i DatasetTagsItemArgs) ToOutput(ctx context.Context) pulumix.Output[DatasetTagsItem] { + return pulumix.Output[DatasetTagsItem]{ + OutputState: i.ToDatasetTagsItemOutputWithContext(ctx).OutputState, + } +} + // DatasetTagsItemArrayInput is an input type that accepts DatasetTagsItemArray and DatasetTagsItemArrayOutput values. // You can construct a concrete instance of `DatasetTagsItemArrayInput` via: // @@ -3753,6 +4366,12 @@ func (i DatasetTagsItemArray) ToDatasetTagsItemArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DatasetTagsItemArrayOutput) } +func (i DatasetTagsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]DatasetTagsItem] { + return pulumix.Output[[]DatasetTagsItem]{ + OutputState: i.ToDatasetTagsItemArrayOutputWithContext(ctx).OutputState, + } +} + type DatasetTagsItemOutput struct{ *pulumi.OutputState } func (DatasetTagsItemOutput) ElementType() reflect.Type { @@ -3767,6 +4386,12 @@ func (o DatasetTagsItemOutput) ToDatasetTagsItemOutputWithContext(ctx context.Co return o } +func (o DatasetTagsItemOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetTagsItem] { + return pulumix.Output[DatasetTagsItem]{ + OutputState: o.OutputState, + } +} + // [Required] The namespaced friendly name of the tag key, e.g. "12345/environment" where 12345 is org id. func (o DatasetTagsItemOutput) TagKey() pulumi.StringPtrOutput { return o.ApplyT(func(v DatasetTagsItem) *string { return v.TagKey }).(pulumi.StringPtrOutput) @@ -3791,6 +4416,12 @@ func (o DatasetTagsItemArrayOutput) ToDatasetTagsItemArrayOutputWithContext(ctx return o } +func (o DatasetTagsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatasetTagsItem] { + return pulumix.Output[[]DatasetTagsItem]{ + OutputState: o.OutputState, + } +} + func (o DatasetTagsItemArrayOutput) Index(i pulumi.IntInput) DatasetTagsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatasetTagsItem { return vs[0].([]DatasetTagsItem)[vs[1].(int)] @@ -3818,6 +4449,12 @@ func (o DatasetTagsItemResponseOutput) ToDatasetTagsItemResponseOutputWithContex return o } +func (o DatasetTagsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetTagsItemResponse] { + return pulumix.Output[DatasetTagsItemResponse]{ + OutputState: o.OutputState, + } +} + // [Required] The namespaced friendly name of the tag key, e.g. "12345/environment" where 12345 is org id. func (o DatasetTagsItemResponseOutput) TagKey() pulumi.StringOutput { return o.ApplyT(func(v DatasetTagsItemResponse) string { return v.TagKey }).(pulumi.StringOutput) @@ -3842,6 +4479,12 @@ func (o DatasetTagsItemResponseArrayOutput) ToDatasetTagsItemResponseArrayOutput return o } +func (o DatasetTagsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatasetTagsItemResponse] { + return pulumix.Output[[]DatasetTagsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o DatasetTagsItemResponseArrayOutput) Index(i pulumi.IntInput) DatasetTagsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatasetTagsItemResponse { return vs[0].([]DatasetTagsItemResponse)[vs[1].(int)] @@ -3893,6 +4536,12 @@ func (i DestinationTablePropertiesArgs) ToDestinationTablePropertiesOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(DestinationTablePropertiesOutput) } +func (i DestinationTablePropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[DestinationTableProperties] { + return pulumix.Output[DestinationTableProperties]{ + OutputState: i.ToDestinationTablePropertiesOutputWithContext(ctx).OutputState, + } +} + func (i DestinationTablePropertiesArgs) ToDestinationTablePropertiesPtrOutput() DestinationTablePropertiesPtrOutput { return i.ToDestinationTablePropertiesPtrOutputWithContext(context.Background()) } @@ -3934,6 +4583,12 @@ func (i *destinationTablePropertiesPtrType) ToDestinationTablePropertiesPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(DestinationTablePropertiesPtrOutput) } +func (i *destinationTablePropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*DestinationTableProperties] { + return pulumix.Output[*DestinationTableProperties]{ + OutputState: i.ToDestinationTablePropertiesPtrOutputWithContext(ctx).OutputState, + } +} + type DestinationTablePropertiesOutput struct{ *pulumi.OutputState } func (DestinationTablePropertiesOutput) ElementType() reflect.Type { @@ -3958,6 +4613,12 @@ func (o DestinationTablePropertiesOutput) ToDestinationTablePropertiesPtrOutputW }).(DestinationTablePropertiesPtrOutput) } +func (o DestinationTablePropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationTableProperties] { + return pulumix.Output[DestinationTableProperties]{ + OutputState: o.OutputState, + } +} + // [Optional] The description for the destination table. This will only be used if the destination table is newly created. If the table already exists and a value different than the current description is provided, the job will fail. func (o DestinationTablePropertiesOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v DestinationTableProperties) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -3992,6 +4653,12 @@ func (o DestinationTablePropertiesPtrOutput) ToDestinationTablePropertiesPtrOutp return o } +func (o DestinationTablePropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DestinationTableProperties] { + return pulumix.Output[*DestinationTableProperties]{ + OutputState: o.OutputState, + } +} + func (o DestinationTablePropertiesPtrOutput) Elem() DestinationTablePropertiesOutput { return o.ApplyT(func(v *DestinationTableProperties) DestinationTableProperties { if v != nil { @@ -4067,6 +4734,12 @@ func (o DestinationTablePropertiesResponseOutput) ToDestinationTablePropertiesRe return o } +func (o DestinationTablePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationTablePropertiesResponse] { + return pulumix.Output[DestinationTablePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] The description for the destination table. This will only be used if the destination table is newly created. If the table already exists and a value different than the current description is provided, the job will fail. func (o DestinationTablePropertiesResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v DestinationTablePropertiesResponse) string { return v.Description }).(pulumi.StringOutput) @@ -4110,6 +4783,12 @@ func (o DmlStatisticsResponseOutput) ToDmlStatisticsResponseOutputWithContext(ct return o } +func (o DmlStatisticsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DmlStatisticsResponse] { + return pulumix.Output[DmlStatisticsResponse]{ + OutputState: o.OutputState, + } +} + // Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements. func (o DmlStatisticsResponseOutput) DeletedRowCount() pulumi.StringOutput { return o.ApplyT(func(v DmlStatisticsResponse) string { return v.DeletedRowCount }).(pulumi.StringOutput) @@ -4158,6 +4837,12 @@ func (i EncryptionConfigurationArgs) ToEncryptionConfigurationOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigurationOutput) } +func (i EncryptionConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfiguration] { + return pulumix.Output[EncryptionConfiguration]{ + OutputState: i.ToEncryptionConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigurationArgs) ToEncryptionConfigurationPtrOutput() EncryptionConfigurationPtrOutput { return i.ToEncryptionConfigurationPtrOutputWithContext(context.Background()) } @@ -4199,6 +4884,12 @@ func (i *encryptionConfigurationPtrType) ToEncryptionConfigurationPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigurationPtrOutput) } +func (i *encryptionConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfiguration] { + return pulumix.Output[*EncryptionConfiguration]{ + OutputState: i.ToEncryptionConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + type EncryptionConfigurationOutput struct{ *pulumi.OutputState } func (EncryptionConfigurationOutput) ElementType() reflect.Type { @@ -4223,6 +4914,12 @@ func (o EncryptionConfigurationOutput) ToEncryptionConfigurationPtrOutputWithCon }).(EncryptionConfigurationPtrOutput) } +func (o EncryptionConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfiguration] { + return pulumix.Output[EncryptionConfiguration]{ + OutputState: o.OutputState, + } +} + // [Optional] Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. func (o EncryptionConfigurationOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfiguration) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -4242,6 +4939,12 @@ func (o EncryptionConfigurationPtrOutput) ToEncryptionConfigurationPtrOutputWith return o } +func (o EncryptionConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfiguration] { + return pulumix.Output[*EncryptionConfiguration]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigurationPtrOutput) Elem() EncryptionConfigurationOutput { return o.ApplyT(func(v *EncryptionConfiguration) EncryptionConfiguration { if v != nil { @@ -4281,6 +4984,12 @@ func (o EncryptionConfigurationResponseOutput) ToEncryptionConfigurationResponse return o } +func (o EncryptionConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigurationResponse] { + return pulumix.Output[EncryptionConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. func (o EncryptionConfigurationResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigurationResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -4311,6 +5020,12 @@ func (o ErrorProtoResponseOutput) ToErrorProtoResponseOutputWithContext(ctx cont return o } +func (o ErrorProtoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorProtoResponse] { + return pulumix.Output[ErrorProtoResponse]{ + OutputState: o.OutputState, + } +} + // Debugging information. This property is internal to Google and should not be used. func (o ErrorProtoResponseOutput) DebugInfo() pulumi.StringOutput { return o.ApplyT(func(v ErrorProtoResponse) string { return v.DebugInfo }).(pulumi.StringOutput) @@ -4345,6 +5060,12 @@ func (o ErrorProtoResponseArrayOutput) ToErrorProtoResponseArrayOutputWithContex return o } +func (o ErrorProtoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ErrorProtoResponse] { + return pulumix.Output[[]ErrorProtoResponse]{ + OutputState: o.OutputState, + } +} + func (o ErrorProtoResponseArrayOutput) Index(i pulumi.IntInput) ErrorProtoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ErrorProtoResponse { return vs[0].([]ErrorProtoResponse)[vs[1].(int)] @@ -4426,6 +5147,12 @@ func (o ExplainQueryStageResponseOutput) ToExplainQueryStageResponseOutputWithCo return o } +func (o ExplainQueryStageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExplainQueryStageResponse] { + return pulumix.Output[ExplainQueryStageResponse]{ + OutputState: o.OutputState, + } +} + // Number of parallel input segments completed. func (o ExplainQueryStageResponseOutput) CompletedParallelInputs() pulumi.StringOutput { return o.ApplyT(func(v ExplainQueryStageResponse) string { return v.CompletedParallelInputs }).(pulumi.StringOutput) @@ -4585,6 +5312,12 @@ func (o ExplainQueryStageResponseArrayOutput) ToExplainQueryStageResponseArrayOu return o } +func (o ExplainQueryStageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExplainQueryStageResponse] { + return pulumix.Output[[]ExplainQueryStageResponse]{ + OutputState: o.OutputState, + } +} + func (o ExplainQueryStageResponseArrayOutput) Index(i pulumi.IntInput) ExplainQueryStageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExplainQueryStageResponse { return vs[0].([]ExplainQueryStageResponse)[vs[1].(int)] @@ -4612,6 +5345,12 @@ func (o ExplainQueryStepResponseOutput) ToExplainQueryStepResponseOutputWithCont return o } +func (o ExplainQueryStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExplainQueryStepResponse] { + return pulumix.Output[ExplainQueryStepResponse]{ + OutputState: o.OutputState, + } +} + // Machine-readable operation type. func (o ExplainQueryStepResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ExplainQueryStepResponse) string { return v.Kind }).(pulumi.StringOutput) @@ -4636,6 +5375,12 @@ func (o ExplainQueryStepResponseArrayOutput) ToExplainQueryStepResponseArrayOutp return o } +func (o ExplainQueryStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExplainQueryStepResponse] { + return pulumix.Output[[]ExplainQueryStepResponse]{ + OutputState: o.OutputState, + } +} + func (o ExplainQueryStepResponseArrayOutput) Index(i pulumi.IntInput) ExplainQueryStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExplainQueryStepResponse { return vs[0].([]ExplainQueryStepResponse)[vs[1].(int)] @@ -4689,6 +5434,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -4730,6 +5481,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -4755,6 +5512,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -4789,6 +5552,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -4866,6 +5635,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -4987,6 +5762,12 @@ func (i ExternalDataConfigurationArgs) ToExternalDataConfigurationOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ExternalDataConfigurationOutput) } +func (i ExternalDataConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[ExternalDataConfiguration] { + return pulumix.Output[ExternalDataConfiguration]{ + OutputState: i.ToExternalDataConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i ExternalDataConfigurationArgs) ToExternalDataConfigurationPtrOutput() ExternalDataConfigurationPtrOutput { return i.ToExternalDataConfigurationPtrOutputWithContext(context.Background()) } @@ -5028,6 +5809,12 @@ func (i *externalDataConfigurationPtrType) ToExternalDataConfigurationPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ExternalDataConfigurationPtrOutput) } +func (i *externalDataConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExternalDataConfiguration] { + return pulumix.Output[*ExternalDataConfiguration]{ + OutputState: i.ToExternalDataConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + type ExternalDataConfigurationOutput struct{ *pulumi.OutputState } func (ExternalDataConfigurationOutput) ElementType() reflect.Type { @@ -5052,6 +5839,12 @@ func (o ExternalDataConfigurationOutput) ToExternalDataConfigurationPtrOutputWit }).(ExternalDataConfigurationPtrOutput) } +func (o ExternalDataConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalDataConfiguration] { + return pulumix.Output[ExternalDataConfiguration]{ + OutputState: o.OutputState, + } +} + // Try to detect schema and format options automatically. Any option specified explicitly will be honored. func (o ExternalDataConfigurationOutput) Autodetect() pulumi.BoolPtrOutput { return o.ApplyT(func(v ExternalDataConfiguration) *bool { return v.Autodetect }).(pulumi.BoolPtrOutput) @@ -5156,6 +5949,12 @@ func (o ExternalDataConfigurationPtrOutput) ToExternalDataConfigurationPtrOutput return o } +func (o ExternalDataConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExternalDataConfiguration] { + return pulumix.Output[*ExternalDataConfiguration]{ + OutputState: o.OutputState, + } +} + func (o ExternalDataConfigurationPtrOutput) Elem() ExternalDataConfigurationOutput { return o.ApplyT(func(v *ExternalDataConfiguration) ExternalDataConfiguration { if v != nil { @@ -5399,6 +6198,12 @@ func (o ExternalDataConfigurationResponseOutput) ToExternalDataConfigurationResp return o } +func (o ExternalDataConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalDataConfigurationResponse] { + return pulumix.Output[ExternalDataConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // Try to detect schema and format options automatically. Any option specified explicitly will be honored. func (o ExternalDataConfigurationResponseOutput) Autodetect() pulumi.BoolOutput { return o.ApplyT(func(v ExternalDataConfigurationResponse) bool { return v.Autodetect }).(pulumi.BoolOutput) @@ -5528,6 +6333,12 @@ func (i GoogleSheetsOptionsArgs) ToGoogleSheetsOptionsOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GoogleSheetsOptionsOutput) } +func (i GoogleSheetsOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleSheetsOptions] { + return pulumix.Output[GoogleSheetsOptions]{ + OutputState: i.ToGoogleSheetsOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleSheetsOptionsArgs) ToGoogleSheetsOptionsPtrOutput() GoogleSheetsOptionsPtrOutput { return i.ToGoogleSheetsOptionsPtrOutputWithContext(context.Background()) } @@ -5569,6 +6380,12 @@ func (i *googleSheetsOptionsPtrType) ToGoogleSheetsOptionsPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(GoogleSheetsOptionsPtrOutput) } +func (i *googleSheetsOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleSheetsOptions] { + return pulumix.Output[*GoogleSheetsOptions]{ + OutputState: i.ToGoogleSheetsOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type GoogleSheetsOptionsOutput struct{ *pulumi.OutputState } func (GoogleSheetsOptionsOutput) ElementType() reflect.Type { @@ -5593,6 +6410,12 @@ func (o GoogleSheetsOptionsOutput) ToGoogleSheetsOptionsPtrOutputWithContext(ctx }).(GoogleSheetsOptionsPtrOutput) } +func (o GoogleSheetsOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleSheetsOptions] { + return pulumix.Output[GoogleSheetsOptions]{ + OutputState: o.OutputState, + } +} + // [Optional] Range of a sheet to query from. Only used when non-empty. Typical format: sheet_name!top_left_cell_id:bottom_right_cell_id For example: sheet1!A1:B20 func (o GoogleSheetsOptionsOutput) Range() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleSheetsOptions) *string { return v.Range }).(pulumi.StringPtrOutput) @@ -5617,6 +6440,12 @@ func (o GoogleSheetsOptionsPtrOutput) ToGoogleSheetsOptionsPtrOutputWithContext( return o } +func (o GoogleSheetsOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleSheetsOptions] { + return pulumix.Output[*GoogleSheetsOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleSheetsOptionsPtrOutput) Elem() GoogleSheetsOptionsOutput { return o.ApplyT(func(v *GoogleSheetsOptions) GoogleSheetsOptions { if v != nil { @@ -5668,6 +6497,12 @@ func (o GoogleSheetsOptionsResponseOutput) ToGoogleSheetsOptionsResponseOutputWi return o } +func (o GoogleSheetsOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleSheetsOptionsResponse] { + return pulumix.Output[GoogleSheetsOptionsResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] Range of a sheet to query from. Only used when non-empty. Typical format: sheet_name!top_left_cell_id:bottom_right_cell_id For example: sheet1!A1:B20 func (o GoogleSheetsOptionsResponseOutput) Range() pulumi.StringOutput { return o.ApplyT(func(v GoogleSheetsOptionsResponse) string { return v.Range }).(pulumi.StringOutput) @@ -5719,6 +6554,12 @@ func (i HivePartitioningOptionsArgs) ToHivePartitioningOptionsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(HivePartitioningOptionsOutput) } +func (i HivePartitioningOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[HivePartitioningOptions] { + return pulumix.Output[HivePartitioningOptions]{ + OutputState: i.ToHivePartitioningOptionsOutputWithContext(ctx).OutputState, + } +} + func (i HivePartitioningOptionsArgs) ToHivePartitioningOptionsPtrOutput() HivePartitioningOptionsPtrOutput { return i.ToHivePartitioningOptionsPtrOutputWithContext(context.Background()) } @@ -5760,6 +6601,12 @@ func (i *hivePartitioningOptionsPtrType) ToHivePartitioningOptionsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(HivePartitioningOptionsPtrOutput) } +func (i *hivePartitioningOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*HivePartitioningOptions] { + return pulumix.Output[*HivePartitioningOptions]{ + OutputState: i.ToHivePartitioningOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type HivePartitioningOptionsOutput struct{ *pulumi.OutputState } func (HivePartitioningOptionsOutput) ElementType() reflect.Type { @@ -5784,6 +6631,12 @@ func (o HivePartitioningOptionsOutput) ToHivePartitioningOptionsPtrOutputWithCon }).(HivePartitioningOptionsPtrOutput) } +func (o HivePartitioningOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[HivePartitioningOptions] { + return pulumix.Output[HivePartitioningOptions]{ + OutputState: o.OutputState, + } +} + // [Optional] When set, what mode of hive partitioning to use when reading data. The following modes are supported. (1) AUTO: automatically infer partition key name(s) and type(s). (2) STRINGS: automatically infer partition key name(s). All types are interpreted as strings. (3) CUSTOM: partition key schema is encoded in the source URI prefix. Not all storage formats support hive partitioning. Requesting hive partitioning on an unsupported format will lead to an error. Currently supported types include: AVRO, CSV, JSON, ORC and Parquet. func (o HivePartitioningOptionsOutput) Mode() pulumi.StringPtrOutput { return o.ApplyT(func(v HivePartitioningOptions) *string { return v.Mode }).(pulumi.StringPtrOutput) @@ -5813,6 +6666,12 @@ func (o HivePartitioningOptionsPtrOutput) ToHivePartitioningOptionsPtrOutputWith return o } +func (o HivePartitioningOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HivePartitioningOptions] { + return pulumix.Output[*HivePartitioningOptions]{ + OutputState: o.OutputState, + } +} + func (o HivePartitioningOptionsPtrOutput) Elem() HivePartitioningOptionsOutput { return o.ApplyT(func(v *HivePartitioningOptions) HivePartitioningOptions { if v != nil { @@ -5878,6 +6737,12 @@ func (o HivePartitioningOptionsResponseOutput) ToHivePartitioningOptionsResponse return o } +func (o HivePartitioningOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HivePartitioningOptionsResponse] { + return pulumix.Output[HivePartitioningOptionsResponse]{ + OutputState: o.OutputState, + } +} + // For permanent external tables, this field is populated with the hive partition keys in the order they were inferred. The types of the partition keys can be deduced by checking the table schema (which will include the partition keys). Not every API will populate this field in the output. For example, Tables.Get will populate it, but Tables.List will not contain this field. func (o HivePartitioningOptionsResponseOutput) Fields() pulumi.StringArrayOutput { return o.ApplyT(func(v HivePartitioningOptionsResponse) []string { return v.Fields }).(pulumi.StringArrayOutput) @@ -5923,6 +6788,12 @@ func (o IndexUnusedReasonResponseOutput) ToIndexUnusedReasonResponseOutputWithCo return o } +func (o IndexUnusedReasonResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IndexUnusedReasonResponse] { + return pulumix.Output[IndexUnusedReasonResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the base table involved in the reason that no search index was used. func (o IndexUnusedReasonResponseOutput) BaseTable() TableReferenceResponseOutput { return o.ApplyT(func(v IndexUnusedReasonResponse) TableReferenceResponse { return v.BaseTable }).(TableReferenceResponseOutput) @@ -5957,6 +6828,12 @@ func (o IndexUnusedReasonResponseArrayOutput) ToIndexUnusedReasonResponseArrayOu return o } +func (o IndexUnusedReasonResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IndexUnusedReasonResponse] { + return pulumix.Output[[]IndexUnusedReasonResponse]{ + OutputState: o.OutputState, + } +} + func (o IndexUnusedReasonResponseArrayOutput) Index(i pulumi.IntInput) IndexUnusedReasonResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IndexUnusedReasonResponse { return vs[0].([]IndexUnusedReasonResponse)[vs[1].(int)] @@ -5990,6 +6867,12 @@ func (o IterationResultResponseOutput) ToIterationResultResponseOutputWithContex return o } +func (o IterationResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IterationResultResponse] { + return pulumix.Output[IterationResultResponse]{ + OutputState: o.OutputState, + } +} + // Time taken to run the iteration in milliseconds. func (o IterationResultResponseOutput) DurationMs() pulumi.StringOutput { return o.ApplyT(func(v IterationResultResponse) string { return v.DurationMs }).(pulumi.StringOutput) @@ -6029,6 +6912,12 @@ func (o IterationResultResponseArrayOutput) ToIterationResultResponseArrayOutput return o } +func (o IterationResultResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IterationResultResponse] { + return pulumix.Output[[]IterationResultResponse]{ + OutputState: o.OutputState, + } +} + func (o IterationResultResponseArrayOutput) Index(i pulumi.IntInput) IterationResultResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IterationResultResponse { return vs[0].([]IterationResultResponse)[vs[1].(int)] @@ -6092,6 +6981,12 @@ func (i JobConfigurationArgs) ToJobConfigurationOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(JobConfigurationOutput) } +func (i JobConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[JobConfiguration] { + return pulumix.Output[JobConfiguration]{ + OutputState: i.ToJobConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i JobConfigurationArgs) ToJobConfigurationPtrOutput() JobConfigurationPtrOutput { return i.ToJobConfigurationPtrOutputWithContext(context.Background()) } @@ -6133,6 +7028,12 @@ func (i *jobConfigurationPtrType) ToJobConfigurationPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(JobConfigurationPtrOutput) } +func (i *jobConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*JobConfiguration] { + return pulumix.Output[*JobConfiguration]{ + OutputState: i.ToJobConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + type JobConfigurationOutput struct{ *pulumi.OutputState } func (JobConfigurationOutput) ElementType() reflect.Type { @@ -6157,6 +7058,12 @@ func (o JobConfigurationOutput) ToJobConfigurationPtrOutputWithContext(ctx conte }).(JobConfigurationPtrOutput) } +func (o JobConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfiguration] { + return pulumix.Output[JobConfiguration]{ + OutputState: o.OutputState, + } +} + // [Pick one] Copies a table. func (o JobConfigurationOutput) Copy() JobConfigurationTableCopyPtrOutput { return o.ApplyT(func(v JobConfiguration) *JobConfigurationTableCopy { return v.Copy }).(JobConfigurationTableCopyPtrOutput) @@ -6206,6 +7113,12 @@ func (o JobConfigurationPtrOutput) ToJobConfigurationPtrOutputWithContext(ctx co return o } +func (o JobConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobConfiguration] { + return pulumix.Output[*JobConfiguration]{ + OutputState: o.OutputState, + } +} + func (o JobConfigurationPtrOutput) Elem() JobConfigurationOutput { return o.ApplyT(func(v *JobConfiguration) JobConfiguration { if v != nil { @@ -6351,6 +7264,12 @@ func (i JobConfigurationExtractArgs) ToJobConfigurationExtractOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(JobConfigurationExtractOutput) } +func (i JobConfigurationExtractArgs) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationExtract] { + return pulumix.Output[JobConfigurationExtract]{ + OutputState: i.ToJobConfigurationExtractOutputWithContext(ctx).OutputState, + } +} + func (i JobConfigurationExtractArgs) ToJobConfigurationExtractPtrOutput() JobConfigurationExtractPtrOutput { return i.ToJobConfigurationExtractPtrOutputWithContext(context.Background()) } @@ -6392,6 +7311,12 @@ func (i *jobConfigurationExtractPtrType) ToJobConfigurationExtractPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(JobConfigurationExtractPtrOutput) } +func (i *jobConfigurationExtractPtrType) ToOutput(ctx context.Context) pulumix.Output[*JobConfigurationExtract] { + return pulumix.Output[*JobConfigurationExtract]{ + OutputState: i.ToJobConfigurationExtractPtrOutputWithContext(ctx).OutputState, + } +} + type JobConfigurationExtractOutput struct{ *pulumi.OutputState } func (JobConfigurationExtractOutput) ElementType() reflect.Type { @@ -6416,6 +7341,12 @@ func (o JobConfigurationExtractOutput) ToJobConfigurationExtractPtrOutputWithCon }).(JobConfigurationExtractPtrOutput) } +func (o JobConfigurationExtractOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationExtract] { + return pulumix.Output[JobConfigurationExtract]{ + OutputState: o.OutputState, + } +} + // [Optional] The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE and SNAPPY are only supported for Avro. Not applicable when extracting models. func (o JobConfigurationExtractOutput) Compression() pulumi.StringPtrOutput { return o.ApplyT(func(v JobConfigurationExtract) *string { return v.Compression }).(pulumi.StringPtrOutput) @@ -6475,6 +7406,12 @@ func (o JobConfigurationExtractPtrOutput) ToJobConfigurationExtractPtrOutputWith return o } +func (o JobConfigurationExtractPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobConfigurationExtract] { + return pulumix.Output[*JobConfigurationExtract]{ + OutputState: o.OutputState, + } +} + func (o JobConfigurationExtractPtrOutput) Elem() JobConfigurationExtractOutput { return o.ApplyT(func(v *JobConfigurationExtract) JobConfigurationExtract { if v != nil { @@ -6610,6 +7547,12 @@ func (o JobConfigurationExtractResponseOutput) ToJobConfigurationExtractResponse return o } +func (o JobConfigurationExtractResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationExtractResponse] { + return pulumix.Output[JobConfigurationExtractResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE and SNAPPY are only supported for Avro. Not applicable when extracting models. func (o JobConfigurationExtractResponseOutput) Compression() pulumi.StringOutput { return o.ApplyT(func(v JobConfigurationExtractResponse) string { return v.Compression }).(pulumi.StringOutput) @@ -6828,6 +7771,12 @@ func (i JobConfigurationLoadArgs) ToJobConfigurationLoadOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(JobConfigurationLoadOutput) } +func (i JobConfigurationLoadArgs) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationLoad] { + return pulumix.Output[JobConfigurationLoad]{ + OutputState: i.ToJobConfigurationLoadOutputWithContext(ctx).OutputState, + } +} + func (i JobConfigurationLoadArgs) ToJobConfigurationLoadPtrOutput() JobConfigurationLoadPtrOutput { return i.ToJobConfigurationLoadPtrOutputWithContext(context.Background()) } @@ -6869,6 +7818,12 @@ func (i *jobConfigurationLoadPtrType) ToJobConfigurationLoadPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(JobConfigurationLoadPtrOutput) } +func (i *jobConfigurationLoadPtrType) ToOutput(ctx context.Context) pulumix.Output[*JobConfigurationLoad] { + return pulumix.Output[*JobConfigurationLoad]{ + OutputState: i.ToJobConfigurationLoadPtrOutputWithContext(ctx).OutputState, + } +} + type JobConfigurationLoadOutput struct{ *pulumi.OutputState } func (JobConfigurationLoadOutput) ElementType() reflect.Type { @@ -6893,6 +7848,12 @@ func (o JobConfigurationLoadOutput) ToJobConfigurationLoadPtrOutputWithContext(c }).(JobConfigurationLoadPtrOutput) } +func (o JobConfigurationLoadOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationLoad] { + return pulumix.Output[JobConfigurationLoad]{ + OutputState: o.OutputState, + } +} + // [Optional] Accept rows that are missing trailing optional columns. The missing values are treated as nulls. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. Only applicable to CSV, ignored for other formats. func (o JobConfigurationLoadOutput) AllowJaggedRows() pulumi.BoolPtrOutput { return o.ApplyT(func(v JobConfigurationLoad) *bool { return v.AllowJaggedRows }).(pulumi.BoolPtrOutput) @@ -7081,6 +8042,12 @@ func (o JobConfigurationLoadPtrOutput) ToJobConfigurationLoadPtrOutputWithContex return o } +func (o JobConfigurationLoadPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobConfigurationLoad] { + return pulumix.Output[*JobConfigurationLoad]{ + OutputState: o.OutputState, + } +} + func (o JobConfigurationLoadPtrOutput) Elem() JobConfigurationLoadOutput { return o.ApplyT(func(v *JobConfigurationLoad) JobConfigurationLoad { if v != nil { @@ -7524,6 +8491,12 @@ func (o JobConfigurationLoadResponseOutput) ToJobConfigurationLoadResponseOutput return o } +func (o JobConfigurationLoadResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationLoadResponse] { + return pulumix.Output[JobConfigurationLoadResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] Accept rows that are missing trailing optional columns. The missing values are treated as nulls. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. Only applicable to CSV, ignored for other formats. func (o JobConfigurationLoadResponseOutput) AllowJaggedRows() pulumi.BoolOutput { return o.ApplyT(func(v JobConfigurationLoadResponse) bool { return v.AllowJaggedRows }).(pulumi.BoolOutput) @@ -7835,6 +8808,12 @@ func (i JobConfigurationQueryArgs) ToJobConfigurationQueryOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(JobConfigurationQueryOutput) } +func (i JobConfigurationQueryArgs) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationQuery] { + return pulumix.Output[JobConfigurationQuery]{ + OutputState: i.ToJobConfigurationQueryOutputWithContext(ctx).OutputState, + } +} + func (i JobConfigurationQueryArgs) ToJobConfigurationQueryPtrOutput() JobConfigurationQueryPtrOutput { return i.ToJobConfigurationQueryPtrOutputWithContext(context.Background()) } @@ -7876,6 +8855,12 @@ func (i *jobConfigurationQueryPtrType) ToJobConfigurationQueryPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(JobConfigurationQueryPtrOutput) } +func (i *jobConfigurationQueryPtrType) ToOutput(ctx context.Context) pulumix.Output[*JobConfigurationQuery] { + return pulumix.Output[*JobConfigurationQuery]{ + OutputState: i.ToJobConfigurationQueryPtrOutputWithContext(ctx).OutputState, + } +} + type JobConfigurationQueryOutput struct{ *pulumi.OutputState } func (JobConfigurationQueryOutput) ElementType() reflect.Type { @@ -7900,6 +8885,12 @@ func (o JobConfigurationQueryOutput) ToJobConfigurationQueryPtrOutputWithContext }).(JobConfigurationQueryPtrOutput) } +func (o JobConfigurationQueryOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationQuery] { + return pulumix.Output[JobConfigurationQuery]{ + OutputState: o.OutputState, + } +} + // [Optional] If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed. However, you must still set destinationTable when result size exceeds the allowed maximum response size. func (o JobConfigurationQueryOutput) AllowLargeResults() pulumi.BoolPtrOutput { return o.ApplyT(func(v JobConfigurationQuery) *bool { return v.AllowLargeResults }).(pulumi.BoolPtrOutput) @@ -8041,6 +9032,12 @@ func (o JobConfigurationQueryPtrOutput) ToJobConfigurationQueryPtrOutputWithCont return o } +func (o JobConfigurationQueryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobConfigurationQuery] { + return pulumix.Output[*JobConfigurationQuery]{ + OutputState: o.OutputState, + } +} + func (o JobConfigurationQueryPtrOutput) Elem() JobConfigurationQueryOutput { return o.ApplyT(func(v *JobConfigurationQuery) JobConfigurationQuery { if v != nil { @@ -8372,6 +9369,12 @@ func (o JobConfigurationQueryResponseOutput) ToJobConfigurationQueryResponseOutp return o } +func (o JobConfigurationQueryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationQueryResponse] { + return pulumix.Output[JobConfigurationQueryResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed. However, you must still set destinationTable when result size exceeds the allowed maximum response size. func (o JobConfigurationQueryResponseOutput) AllowLargeResults() pulumi.BoolOutput { return o.ApplyT(func(v JobConfigurationQueryResponse) bool { return v.AllowLargeResults }).(pulumi.BoolOutput) @@ -8536,6 +9539,12 @@ func (o JobConfigurationResponseOutput) ToJobConfigurationResponseOutputWithCont return o } +func (o JobConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationResponse] { + return pulumix.Output[JobConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // [Pick one] Copies a table. func (o JobConfigurationResponseOutput) Copy() JobConfigurationTableCopyResponseOutput { return o.ApplyT(func(v JobConfigurationResponse) JobConfigurationTableCopyResponse { return v.Copy }).(JobConfigurationTableCopyResponseOutput) @@ -8637,6 +9646,12 @@ func (i JobConfigurationTableCopyArgs) ToJobConfigurationTableCopyOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(JobConfigurationTableCopyOutput) } +func (i JobConfigurationTableCopyArgs) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationTableCopy] { + return pulumix.Output[JobConfigurationTableCopy]{ + OutputState: i.ToJobConfigurationTableCopyOutputWithContext(ctx).OutputState, + } +} + func (i JobConfigurationTableCopyArgs) ToJobConfigurationTableCopyPtrOutput() JobConfigurationTableCopyPtrOutput { return i.ToJobConfigurationTableCopyPtrOutputWithContext(context.Background()) } @@ -8678,6 +9693,12 @@ func (i *jobConfigurationTableCopyPtrType) ToJobConfigurationTableCopyPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(JobConfigurationTableCopyPtrOutput) } +func (i *jobConfigurationTableCopyPtrType) ToOutput(ctx context.Context) pulumix.Output[*JobConfigurationTableCopy] { + return pulumix.Output[*JobConfigurationTableCopy]{ + OutputState: i.ToJobConfigurationTableCopyPtrOutputWithContext(ctx).OutputState, + } +} + type JobConfigurationTableCopyOutput struct{ *pulumi.OutputState } func (JobConfigurationTableCopyOutput) ElementType() reflect.Type { @@ -8702,6 +9723,12 @@ func (o JobConfigurationTableCopyOutput) ToJobConfigurationTableCopyPtrOutputWit }).(JobConfigurationTableCopyPtrOutput) } +func (o JobConfigurationTableCopyOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationTableCopy] { + return pulumix.Output[JobConfigurationTableCopy]{ + OutputState: o.OutputState, + } +} + // [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion. func (o JobConfigurationTableCopyOutput) CreateDisposition() pulumi.StringPtrOutput { return o.ApplyT(func(v JobConfigurationTableCopy) *string { return v.CreateDisposition }).(pulumi.StringPtrOutput) @@ -8758,6 +9785,12 @@ func (o JobConfigurationTableCopyPtrOutput) ToJobConfigurationTableCopyPtrOutput return o } +func (o JobConfigurationTableCopyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobConfigurationTableCopy] { + return pulumix.Output[*JobConfigurationTableCopy]{ + OutputState: o.OutputState, + } +} + func (o JobConfigurationTableCopyPtrOutput) Elem() JobConfigurationTableCopyOutput { return o.ApplyT(func(v *JobConfigurationTableCopy) JobConfigurationTableCopy { if v != nil { @@ -8881,6 +9914,12 @@ func (o JobConfigurationTableCopyResponseOutput) ToJobConfigurationTableCopyResp return o } +func (o JobConfigurationTableCopyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfigurationTableCopyResponse] { + return pulumix.Output[JobConfigurationTableCopyResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion. func (o JobConfigurationTableCopyResponseOutput) CreateDisposition() pulumi.StringOutput { return o.ApplyT(func(v JobConfigurationTableCopyResponse) string { return v.CreateDisposition }).(pulumi.StringOutput) @@ -8964,6 +10003,12 @@ func (i JobReferenceArgs) ToJobReferenceOutputWithContext(ctx context.Context) J return pulumi.ToOutputWithContext(ctx, i).(JobReferenceOutput) } +func (i JobReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[JobReference] { + return pulumix.Output[JobReference]{ + OutputState: i.ToJobReferenceOutputWithContext(ctx).OutputState, + } +} + func (i JobReferenceArgs) ToJobReferencePtrOutput() JobReferencePtrOutput { return i.ToJobReferencePtrOutputWithContext(context.Background()) } @@ -9005,6 +10050,12 @@ func (i *jobReferencePtrType) ToJobReferencePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(JobReferencePtrOutput) } +func (i *jobReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*JobReference] { + return pulumix.Output[*JobReference]{ + OutputState: i.ToJobReferencePtrOutputWithContext(ctx).OutputState, + } +} + type JobReferenceOutput struct{ *pulumi.OutputState } func (JobReferenceOutput) ElementType() reflect.Type { @@ -9029,6 +10080,12 @@ func (o JobReferenceOutput) ToJobReferencePtrOutputWithContext(ctx context.Conte }).(JobReferencePtrOutput) } +func (o JobReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[JobReference] { + return pulumix.Output[JobReference]{ + OutputState: o.OutputState, + } +} + // [Required] The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters. func (o JobReferenceOutput) JobId() pulumi.StringPtrOutput { return o.ApplyT(func(v JobReference) *string { return v.JobId }).(pulumi.StringPtrOutput) @@ -9058,6 +10115,12 @@ func (o JobReferencePtrOutput) ToJobReferencePtrOutputWithContext(ctx context.Co return o } +func (o JobReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobReference] { + return pulumix.Output[*JobReference]{ + OutputState: o.OutputState, + } +} + func (o JobReferencePtrOutput) Elem() JobReferenceOutput { return o.ApplyT(func(v *JobReference) JobReference { if v != nil { @@ -9121,6 +10184,12 @@ func (o JobReferenceResponseOutput) ToJobReferenceResponseOutputWithContext(ctx return o } +func (o JobReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobReferenceResponse] { + return pulumix.Output[JobReferenceResponse]{ + OutputState: o.OutputState, + } +} + // [Required] The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters. func (o JobReferenceResponseOutput) JobId() pulumi.StringOutput { return o.ApplyT(func(v JobReferenceResponse) string { return v.JobId }).(pulumi.StringOutput) @@ -9157,6 +10226,12 @@ func (o JobStatistics2ReservationUsageItemResponseOutput) ToJobStatistics2Reserv return o } +func (o JobStatistics2ReservationUsageItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatistics2ReservationUsageItemResponse] { + return pulumix.Output[JobStatistics2ReservationUsageItemResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Reservation name or "unreserved" for on-demand resources usage. func (o JobStatistics2ReservationUsageItemResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v JobStatistics2ReservationUsageItemResponse) string { return v.Name }).(pulumi.StringOutput) @@ -9181,6 +10256,12 @@ func (o JobStatistics2ReservationUsageItemResponseArrayOutput) ToJobStatistics2R return o } +func (o JobStatistics2ReservationUsageItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobStatistics2ReservationUsageItemResponse] { + return pulumix.Output[[]JobStatistics2ReservationUsageItemResponse]{ + OutputState: o.OutputState, + } +} + func (o JobStatistics2ReservationUsageItemResponseArrayOutput) Index(i pulumi.IntInput) JobStatistics2ReservationUsageItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobStatistics2ReservationUsageItemResponse { return vs[0].([]JobStatistics2ReservationUsageItemResponse)[vs[1].(int)] @@ -9274,6 +10355,12 @@ func (o JobStatistics2ResponseOutput) ToJobStatistics2ResponseOutputWithContext( return o } +func (o JobStatistics2ResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatistics2Response] { + return pulumix.Output[JobStatistics2Response]{ + OutputState: o.OutputState, + } +} + // BI Engine specific Statistics. [Output only] BI Engine specific Statistics. func (o JobStatistics2ResponseOutput) BiEngineStatistics() BiEngineStatisticsResponseOutput { return o.ApplyT(func(v JobStatistics2Response) BiEngineStatisticsResponse { return v.BiEngineStatistics }).(BiEngineStatisticsResponseOutput) @@ -9470,6 +10557,12 @@ func (o JobStatistics3ResponseOutput) ToJobStatistics3ResponseOutputWithContext( return o } +func (o JobStatistics3ResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatistics3Response] { + return pulumix.Output[JobStatistics3Response]{ + OutputState: o.OutputState, + } +} + // The number of bad records encountered. Note that if the job has failed because of more bad records encountered than the maximum allowed in the load job configuration, then this number can be less than the total number of bad records present in the input data. func (o JobStatistics3ResponseOutput) BadRecords() pulumi.StringOutput { return o.ApplyT(func(v JobStatistics3Response) string { return v.BadRecords }).(pulumi.StringOutput) @@ -9516,6 +10609,12 @@ func (o JobStatistics4ResponseOutput) ToJobStatistics4ResponseOutputWithContext( return o } +func (o JobStatistics4ResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatistics4Response] { + return pulumix.Output[JobStatistics4Response]{ + OutputState: o.OutputState, + } +} + // Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. func (o JobStatistics4ResponseOutput) DestinationUriFileCounts() pulumi.StringArrayOutput { return o.ApplyT(func(v JobStatistics4Response) []string { return v.DestinationUriFileCounts }).(pulumi.StringArrayOutput) @@ -9547,6 +10646,12 @@ func (o JobStatistics5ResponseOutput) ToJobStatistics5ResponseOutputWithContext( return o } +func (o JobStatistics5ResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatistics5Response] { + return pulumix.Output[JobStatistics5Response]{ + OutputState: o.OutputState, + } +} + // Number of logical bytes copied to the destination table. func (o JobStatistics5ResponseOutput) CopiedLogicalBytes() pulumi.StringOutput { return o.ApplyT(func(v JobStatistics5Response) string { return v.CopiedLogicalBytes }).(pulumi.StringOutput) @@ -9578,6 +10683,12 @@ func (o JobStatisticsReservationUsageItemResponseOutput) ToJobStatisticsReservat return o } +func (o JobStatisticsReservationUsageItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatisticsReservationUsageItemResponse] { + return pulumix.Output[JobStatisticsReservationUsageItemResponse]{ + OutputState: o.OutputState, + } +} + // Reservation name or "unreserved" for on-demand resources usage. func (o JobStatisticsReservationUsageItemResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v JobStatisticsReservationUsageItemResponse) string { return v.Name }).(pulumi.StringOutput) @@ -9602,6 +10713,12 @@ func (o JobStatisticsReservationUsageItemResponseArrayOutput) ToJobStatisticsRes return o } +func (o JobStatisticsReservationUsageItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobStatisticsReservationUsageItemResponse] { + return pulumix.Output[[]JobStatisticsReservationUsageItemResponse]{ + OutputState: o.OutputState, + } +} + func (o JobStatisticsReservationUsageItemResponseArrayOutput) Index(i pulumi.IntInput) JobStatisticsReservationUsageItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobStatisticsReservationUsageItemResponse { return vs[0].([]JobStatisticsReservationUsageItemResponse)[vs[1].(int)] @@ -9667,6 +10784,12 @@ func (o JobStatisticsResponseOutput) ToJobStatisticsResponseOutputWithContext(ct return o } +func (o JobStatisticsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatisticsResponse] { + return pulumix.Output[JobStatisticsResponse]{ + OutputState: o.OutputState, + } +} + // [TrustedTester] [Output-only] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs. func (o JobStatisticsResponseOutput) CompletionRatio() pulumi.Float64Output { return o.ApplyT(func(v JobStatisticsResponse) float64 { return v.CompletionRatio }).(pulumi.Float64Output) @@ -9792,6 +10915,12 @@ func (o JobStatusResponseOutput) ToJobStatusResponseOutputWithContext(ctx contex return o } +func (o JobStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatusResponse] { + return pulumix.Output[JobStatusResponse]{ + OutputState: o.OutputState, + } +} + // Final error result of the job. If present, indicates that the job has completed and was unsuccessful. func (o JobStatusResponseOutput) ErrorResult() ErrorProtoResponseOutput { return o.ApplyT(func(v JobStatusResponse) ErrorProtoResponse { return v.ErrorResult }).(ErrorProtoResponseOutput) @@ -9856,6 +10985,12 @@ func (i MaterializedViewDefinitionArgs) ToMaterializedViewDefinitionOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(MaterializedViewDefinitionOutput) } +func (i MaterializedViewDefinitionArgs) ToOutput(ctx context.Context) pulumix.Output[MaterializedViewDefinition] { + return pulumix.Output[MaterializedViewDefinition]{ + OutputState: i.ToMaterializedViewDefinitionOutputWithContext(ctx).OutputState, + } +} + func (i MaterializedViewDefinitionArgs) ToMaterializedViewDefinitionPtrOutput() MaterializedViewDefinitionPtrOutput { return i.ToMaterializedViewDefinitionPtrOutputWithContext(context.Background()) } @@ -9897,6 +11032,12 @@ func (i *materializedViewDefinitionPtrType) ToMaterializedViewDefinitionPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(MaterializedViewDefinitionPtrOutput) } +func (i *materializedViewDefinitionPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaterializedViewDefinition] { + return pulumix.Output[*MaterializedViewDefinition]{ + OutputState: i.ToMaterializedViewDefinitionPtrOutputWithContext(ctx).OutputState, + } +} + type MaterializedViewDefinitionOutput struct{ *pulumi.OutputState } func (MaterializedViewDefinitionOutput) ElementType() reflect.Type { @@ -9921,6 +11062,12 @@ func (o MaterializedViewDefinitionOutput) ToMaterializedViewDefinitionPtrOutputW }).(MaterializedViewDefinitionPtrOutput) } +func (o MaterializedViewDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[MaterializedViewDefinition] { + return pulumix.Output[MaterializedViewDefinition]{ + OutputState: o.OutputState, + } +} + // [Optional] Allow non incremental materialized view definition. The default value is "false". func (o MaterializedViewDefinitionOutput) AllowNonIncrementalDefinition() pulumi.BoolPtrOutput { return o.ApplyT(func(v MaterializedViewDefinition) *bool { return v.AllowNonIncrementalDefinition }).(pulumi.BoolPtrOutput) @@ -9960,6 +11107,12 @@ func (o MaterializedViewDefinitionPtrOutput) ToMaterializedViewDefinitionPtrOutp return o } +func (o MaterializedViewDefinitionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaterializedViewDefinition] { + return pulumix.Output[*MaterializedViewDefinition]{ + OutputState: o.OutputState, + } +} + func (o MaterializedViewDefinitionPtrOutput) Elem() MaterializedViewDefinitionOutput { return o.ApplyT(func(v *MaterializedViewDefinition) MaterializedViewDefinition { if v != nil { @@ -10049,6 +11202,12 @@ func (o MaterializedViewDefinitionResponseOutput) ToMaterializedViewDefinitionRe return o } +func (o MaterializedViewDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaterializedViewDefinitionResponse] { + return pulumix.Output[MaterializedViewDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] Allow non incremental materialized view definition. The default value is "false". func (o MaterializedViewDefinitionResponseOutput) AllowNonIncrementalDefinition() pulumi.BoolOutput { return o.ApplyT(func(v MaterializedViewDefinitionResponse) bool { return v.AllowNonIncrementalDefinition }).(pulumi.BoolOutput) @@ -10100,6 +11259,12 @@ func (o MlStatisticsResponseOutput) ToMlStatisticsResponseOutputWithContext(ctx return o } +func (o MlStatisticsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MlStatisticsResponse] { + return pulumix.Output[MlStatisticsResponse]{ + OutputState: o.OutputState, + } +} + // Results for all completed iterations. func (o MlStatisticsResponseOutput) IterationResults() IterationResultResponseArrayOutput { return o.ApplyT(func(v MlStatisticsResponse) []IterationResultResponse { return v.IterationResults }).(IterationResultResponseArrayOutput) @@ -10147,6 +11312,12 @@ func (i ModelDefinitionArgs) ToModelDefinitionOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ModelDefinitionOutput) } +func (i ModelDefinitionArgs) ToOutput(ctx context.Context) pulumix.Output[ModelDefinition] { + return pulumix.Output[ModelDefinition]{ + OutputState: i.ToModelDefinitionOutputWithContext(ctx).OutputState, + } +} + func (i ModelDefinitionArgs) ToModelDefinitionPtrOutput() ModelDefinitionPtrOutput { return i.ToModelDefinitionPtrOutputWithContext(context.Background()) } @@ -10188,6 +11359,12 @@ func (i *modelDefinitionPtrType) ToModelDefinitionPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ModelDefinitionPtrOutput) } +func (i *modelDefinitionPtrType) ToOutput(ctx context.Context) pulumix.Output[*ModelDefinition] { + return pulumix.Output[*ModelDefinition]{ + OutputState: i.ToModelDefinitionPtrOutputWithContext(ctx).OutputState, + } +} + type ModelDefinitionOutput struct{ *pulumi.OutputState } func (ModelDefinitionOutput) ElementType() reflect.Type { @@ -10212,6 +11389,12 @@ func (o ModelDefinitionOutput) ToModelDefinitionPtrOutputWithContext(ctx context }).(ModelDefinitionPtrOutput) } +func (o ModelDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[ModelDefinition] { + return pulumix.Output[ModelDefinition]{ + OutputState: o.OutputState, + } +} + // [Output-only, Beta] Model options used for the first training run. These options are immutable for subsequent training runs. Default values are used for any options not specified in the input query. func (o ModelDefinitionOutput) ModelOptions() ModelDefinitionModelOptionsPtrOutput { return o.ApplyT(func(v ModelDefinition) *ModelDefinitionModelOptions { return v.ModelOptions }).(ModelDefinitionModelOptionsPtrOutput) @@ -10236,6 +11419,12 @@ func (o ModelDefinitionPtrOutput) ToModelDefinitionPtrOutputWithContext(ctx cont return o } +func (o ModelDefinitionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelDefinition] { + return pulumix.Output[*ModelDefinition]{ + OutputState: o.OutputState, + } +} + func (o ModelDefinitionPtrOutput) Elem() ModelDefinitionOutput { return o.ApplyT(func(v *ModelDefinition) ModelDefinition { if v != nil { @@ -10303,6 +11492,12 @@ func (i ModelDefinitionModelOptionsArgs) ToModelDefinitionModelOptionsOutputWith return pulumi.ToOutputWithContext(ctx, i).(ModelDefinitionModelOptionsOutput) } +func (i ModelDefinitionModelOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ModelDefinitionModelOptions] { + return pulumix.Output[ModelDefinitionModelOptions]{ + OutputState: i.ToModelDefinitionModelOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ModelDefinitionModelOptionsArgs) ToModelDefinitionModelOptionsPtrOutput() ModelDefinitionModelOptionsPtrOutput { return i.ToModelDefinitionModelOptionsPtrOutputWithContext(context.Background()) } @@ -10344,6 +11539,12 @@ func (i *modelDefinitionModelOptionsPtrType) ToModelDefinitionModelOptionsPtrOut return pulumi.ToOutputWithContext(ctx, i).(ModelDefinitionModelOptionsPtrOutput) } +func (i *modelDefinitionModelOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ModelDefinitionModelOptions] { + return pulumix.Output[*ModelDefinitionModelOptions]{ + OutputState: i.ToModelDefinitionModelOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // [Output-only, Beta] Model options used for the first training run. These options are immutable for subsequent training runs. Default values are used for any options not specified in the input query. type ModelDefinitionModelOptionsOutput struct{ *pulumi.OutputState } @@ -10369,6 +11570,12 @@ func (o ModelDefinitionModelOptionsOutput) ToModelDefinitionModelOptionsPtrOutpu }).(ModelDefinitionModelOptionsPtrOutput) } +func (o ModelDefinitionModelOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ModelDefinitionModelOptions] { + return pulumix.Output[ModelDefinitionModelOptions]{ + OutputState: o.OutputState, + } +} + func (o ModelDefinitionModelOptionsOutput) Labels() pulumi.StringArrayOutput { return o.ApplyT(func(v ModelDefinitionModelOptions) []string { return v.Labels }).(pulumi.StringArrayOutput) } @@ -10395,6 +11602,12 @@ func (o ModelDefinitionModelOptionsPtrOutput) ToModelDefinitionModelOptionsPtrOu return o } +func (o ModelDefinitionModelOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelDefinitionModelOptions] { + return pulumix.Output[*ModelDefinitionModelOptions]{ + OutputState: o.OutputState, + } +} + func (o ModelDefinitionModelOptionsPtrOutput) Elem() ModelDefinitionModelOptionsOutput { return o.ApplyT(func(v *ModelDefinitionModelOptions) ModelDefinitionModelOptions { if v != nil { @@ -10454,6 +11667,12 @@ func (o ModelDefinitionModelOptionsResponseOutput) ToModelDefinitionModelOptions return o } +func (o ModelDefinitionModelOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ModelDefinitionModelOptionsResponse] { + return pulumix.Output[ModelDefinitionModelOptionsResponse]{ + OutputState: o.OutputState, + } +} + func (o ModelDefinitionModelOptionsResponseOutput) Labels() pulumi.StringArrayOutput { return o.ApplyT(func(v ModelDefinitionModelOptionsResponse) []string { return v.Labels }).(pulumi.StringArrayOutput) } @@ -10487,6 +11706,12 @@ func (o ModelDefinitionResponseOutput) ToModelDefinitionResponseOutputWithContex return o } +func (o ModelDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ModelDefinitionResponse] { + return pulumix.Output[ModelDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // [Output-only, Beta] Model options used for the first training run. These options are immutable for subsequent training runs. Default values are used for any options not specified in the input query. func (o ModelDefinitionResponseOutput) ModelOptions() ModelDefinitionModelOptionsResponseOutput { return o.ApplyT(func(v ModelDefinitionResponse) ModelDefinitionModelOptionsResponse { return v.ModelOptions }).(ModelDefinitionModelOptionsResponseOutput) @@ -10538,6 +11763,12 @@ func (i ModelReferenceArgs) ToModelReferenceOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ModelReferenceOutput) } +func (i ModelReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[ModelReference] { + return pulumix.Output[ModelReference]{ + OutputState: i.ToModelReferenceOutputWithContext(ctx).OutputState, + } +} + func (i ModelReferenceArgs) ToModelReferencePtrOutput() ModelReferencePtrOutput { return i.ToModelReferencePtrOutputWithContext(context.Background()) } @@ -10579,6 +11810,12 @@ func (i *modelReferencePtrType) ToModelReferencePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ModelReferencePtrOutput) } +func (i *modelReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*ModelReference] { + return pulumix.Output[*ModelReference]{ + OutputState: i.ToModelReferencePtrOutputWithContext(ctx).OutputState, + } +} + type ModelReferenceOutput struct{ *pulumi.OutputState } func (ModelReferenceOutput) ElementType() reflect.Type { @@ -10603,6 +11840,12 @@ func (o ModelReferenceOutput) ToModelReferencePtrOutputWithContext(ctx context.C }).(ModelReferencePtrOutput) } +func (o ModelReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[ModelReference] { + return pulumix.Output[ModelReference]{ + OutputState: o.OutputState, + } +} + // [Required] The ID of the dataset containing this model. func (o ModelReferenceOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v ModelReference) *string { return v.DatasetId }).(pulumi.StringPtrOutput) @@ -10632,6 +11875,12 @@ func (o ModelReferencePtrOutput) ToModelReferencePtrOutputWithContext(ctx contex return o } +func (o ModelReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelReference] { + return pulumix.Output[*ModelReference]{ + OutputState: o.OutputState, + } +} + func (o ModelReferencePtrOutput) Elem() ModelReferenceOutput { return o.ApplyT(func(v *ModelReference) ModelReference { if v != nil { @@ -10695,6 +11944,12 @@ func (o ModelReferenceResponseOutput) ToModelReferenceResponseOutputWithContext( return o } +func (o ModelReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ModelReferenceResponse] { + return pulumix.Output[ModelReferenceResponse]{ + OutputState: o.OutputState, + } +} + // [Required] The ID of the dataset containing this model. func (o ModelReferenceResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v ModelReferenceResponse) string { return v.DatasetId }).(pulumi.StringOutput) @@ -10747,6 +12002,12 @@ func (i ParquetOptionsArgs) ToParquetOptionsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ParquetOptionsOutput) } +func (i ParquetOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ParquetOptions] { + return pulumix.Output[ParquetOptions]{ + OutputState: i.ToParquetOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ParquetOptionsArgs) ToParquetOptionsPtrOutput() ParquetOptionsPtrOutput { return i.ToParquetOptionsPtrOutputWithContext(context.Background()) } @@ -10788,6 +12049,12 @@ func (i *parquetOptionsPtrType) ToParquetOptionsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ParquetOptionsPtrOutput) } +func (i *parquetOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ParquetOptions] { + return pulumix.Output[*ParquetOptions]{ + OutputState: i.ToParquetOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type ParquetOptionsOutput struct{ *pulumi.OutputState } func (ParquetOptionsOutput) ElementType() reflect.Type { @@ -10812,6 +12079,12 @@ func (o ParquetOptionsOutput) ToParquetOptionsPtrOutputWithContext(ctx context.C }).(ParquetOptionsPtrOutput) } +func (o ParquetOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ParquetOptions] { + return pulumix.Output[ParquetOptions]{ + OutputState: o.OutputState, + } +} + // [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type. func (o ParquetOptionsOutput) EnableListInference() pulumi.BoolPtrOutput { return o.ApplyT(func(v ParquetOptions) *bool { return v.EnableListInference }).(pulumi.BoolPtrOutput) @@ -10836,6 +12109,12 @@ func (o ParquetOptionsPtrOutput) ToParquetOptionsPtrOutputWithContext(ctx contex return o } +func (o ParquetOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParquetOptions] { + return pulumix.Output[*ParquetOptions]{ + OutputState: o.OutputState, + } +} + func (o ParquetOptionsPtrOutput) Elem() ParquetOptionsOutput { return o.ApplyT(func(v *ParquetOptions) ParquetOptions { if v != nil { @@ -10887,6 +12166,12 @@ func (o ParquetOptionsResponseOutput) ToParquetOptionsResponseOutputWithContext( return o } +func (o ParquetOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ParquetOptionsResponse] { + return pulumix.Output[ParquetOptionsResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type. func (o ParquetOptionsResponseOutput) EnableListInference() pulumi.BoolOutput { return o.ApplyT(func(v ParquetOptionsResponse) bool { return v.EnableListInference }).(pulumi.BoolOutput) @@ -10938,6 +12223,12 @@ func (i QueryParameterArgs) ToQueryParameterOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(QueryParameterOutput) } +func (i QueryParameterArgs) ToOutput(ctx context.Context) pulumix.Output[QueryParameter] { + return pulumix.Output[QueryParameter]{ + OutputState: i.ToQueryParameterOutputWithContext(ctx).OutputState, + } +} + // QueryParameterArrayInput is an input type that accepts QueryParameterArray and QueryParameterArrayOutput values. // You can construct a concrete instance of `QueryParameterArrayInput` via: // @@ -10963,6 +12254,12 @@ func (i QueryParameterArray) ToQueryParameterArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(QueryParameterArrayOutput) } +func (i QueryParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]QueryParameter] { + return pulumix.Output[[]QueryParameter]{ + OutputState: i.ToQueryParameterArrayOutputWithContext(ctx).OutputState, + } +} + type QueryParameterOutput struct{ *pulumi.OutputState } func (QueryParameterOutput) ElementType() reflect.Type { @@ -10977,6 +12274,12 @@ func (o QueryParameterOutput) ToQueryParameterOutputWithContext(ctx context.Cont return o } +func (o QueryParameterOutput) ToOutput(ctx context.Context) pulumix.Output[QueryParameter] { + return pulumix.Output[QueryParameter]{ + OutputState: o.OutputState, + } +} + // [Optional] If unset, this is a positional parameter. Otherwise, should be unique within a query. func (o QueryParameterOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v QueryParameter) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -11006,6 +12309,12 @@ func (o QueryParameterArrayOutput) ToQueryParameterArrayOutputWithContext(ctx co return o } +func (o QueryParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QueryParameter] { + return pulumix.Output[[]QueryParameter]{ + OutputState: o.OutputState, + } +} + func (o QueryParameterArrayOutput) Index(i pulumi.IntInput) QueryParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueryParameter { return vs[0].([]QueryParameter)[vs[1].(int)] @@ -11035,6 +12344,12 @@ func (o QueryParameterResponseOutput) ToQueryParameterResponseOutputWithContext( return o } +func (o QueryParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryParameterResponse] { + return pulumix.Output[QueryParameterResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] If unset, this is a positional parameter. Otherwise, should be unique within a query. func (o QueryParameterResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v QueryParameterResponse) string { return v.Name }).(pulumi.StringOutput) @@ -11064,6 +12379,12 @@ func (o QueryParameterResponseArrayOutput) ToQueryParameterResponseArrayOutputWi return o } +func (o QueryParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QueryParameterResponse] { + return pulumix.Output[[]QueryParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o QueryParameterResponseArrayOutput) Index(i pulumi.IntInput) QueryParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueryParameterResponse { return vs[0].([]QueryParameterResponse)[vs[1].(int)] @@ -11111,6 +12432,12 @@ func (i QueryParameterTypeArgs) ToQueryParameterTypeOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(QueryParameterTypeOutput) } +func (i QueryParameterTypeArgs) ToOutput(ctx context.Context) pulumix.Output[QueryParameterType] { + return pulumix.Output[QueryParameterType]{ + OutputState: i.ToQueryParameterTypeOutputWithContext(ctx).OutputState, + } +} + func (i QueryParameterTypeArgs) ToQueryParameterTypePtrOutput() QueryParameterTypePtrOutput { return i.ToQueryParameterTypePtrOutputWithContext(context.Background()) } @@ -11152,6 +12479,12 @@ func (i *queryParameterTypePtrType) ToQueryParameterTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(QueryParameterTypePtrOutput) } +func (i *queryParameterTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*QueryParameterType] { + return pulumix.Output[*QueryParameterType]{ + OutputState: i.ToQueryParameterTypePtrOutputWithContext(ctx).OutputState, + } +} + type QueryParameterTypeOutput struct{ *pulumi.OutputState } func (QueryParameterTypeOutput) ElementType() reflect.Type { @@ -11176,6 +12509,12 @@ func (o QueryParameterTypeOutput) ToQueryParameterTypePtrOutputWithContext(ctx c }).(QueryParameterTypePtrOutput) } +func (o QueryParameterTypeOutput) ToOutput(ctx context.Context) pulumix.Output[QueryParameterType] { + return pulumix.Output[QueryParameterType]{ + OutputState: o.OutputState, + } +} + // [Optional] The type of the array's elements, if this is an array. func (o QueryParameterTypeOutput) ArrayType() QueryParameterTypePtrOutput { return o.ApplyT(func(v QueryParameterType) *QueryParameterType { return v.ArrayType }).(QueryParameterTypePtrOutput) @@ -11205,6 +12544,12 @@ func (o QueryParameterTypePtrOutput) ToQueryParameterTypePtrOutputWithContext(ct return o } +func (o QueryParameterTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueryParameterType] { + return pulumix.Output[*QueryParameterType]{ + OutputState: o.OutputState, + } +} + func (o QueryParameterTypePtrOutput) Elem() QueryParameterTypeOutput { return o.ApplyT(func(v *QueryParameterType) QueryParameterType { if v != nil { @@ -11268,6 +12613,12 @@ func (o QueryParameterTypeResponseOutput) ToQueryParameterTypeResponseOutputWith return o } +func (o QueryParameterTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryParameterTypeResponse] { + return pulumix.Output[QueryParameterTypeResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] The type of the array's elements, if this is an array. func (o QueryParameterTypeResponseOutput) ArrayType() QueryParameterTypeResponsePtrOutput { return o.ApplyT(func(v QueryParameterTypeResponse) *QueryParameterTypeResponse { return v.ArrayType }).(QueryParameterTypeResponsePtrOutput) @@ -11297,6 +12648,12 @@ func (o QueryParameterTypeResponsePtrOutput) ToQueryParameterTypeResponsePtrOutp return o } +func (o QueryParameterTypeResponsePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueryParameterTypeResponse] { + return pulumix.Output[*QueryParameterTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o QueryParameterTypeResponsePtrOutput) Elem() QueryParameterTypeResponseOutput { return o.ApplyT(func(v *QueryParameterTypeResponse) QueryParameterTypeResponse { if v != nil { @@ -11378,6 +12735,12 @@ func (i QueryParameterTypeStructTypesItemArgs) ToQueryParameterTypeStructTypesIt return pulumi.ToOutputWithContext(ctx, i).(QueryParameterTypeStructTypesItemOutput) } +func (i QueryParameterTypeStructTypesItemArgs) ToOutput(ctx context.Context) pulumix.Output[QueryParameterTypeStructTypesItem] { + return pulumix.Output[QueryParameterTypeStructTypesItem]{ + OutputState: i.ToQueryParameterTypeStructTypesItemOutputWithContext(ctx).OutputState, + } +} + // QueryParameterTypeStructTypesItemArrayInput is an input type that accepts QueryParameterTypeStructTypesItemArray and QueryParameterTypeStructTypesItemArrayOutput values. // You can construct a concrete instance of `QueryParameterTypeStructTypesItemArrayInput` via: // @@ -11403,6 +12766,12 @@ func (i QueryParameterTypeStructTypesItemArray) ToQueryParameterTypeStructTypesI return pulumi.ToOutputWithContext(ctx, i).(QueryParameterTypeStructTypesItemArrayOutput) } +func (i QueryParameterTypeStructTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]QueryParameterTypeStructTypesItem] { + return pulumix.Output[[]QueryParameterTypeStructTypesItem]{ + OutputState: i.ToQueryParameterTypeStructTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type QueryParameterTypeStructTypesItemOutput struct{ *pulumi.OutputState } func (QueryParameterTypeStructTypesItemOutput) ElementType() reflect.Type { @@ -11417,6 +12786,12 @@ func (o QueryParameterTypeStructTypesItemOutput) ToQueryParameterTypeStructTypes return o } +func (o QueryParameterTypeStructTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[QueryParameterTypeStructTypesItem] { + return pulumix.Output[QueryParameterTypeStructTypesItem]{ + OutputState: o.OutputState, + } +} + // [Optional] Human-oriented description of the field. func (o QueryParameterTypeStructTypesItemOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v QueryParameterTypeStructTypesItem) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -11446,6 +12821,12 @@ func (o QueryParameterTypeStructTypesItemArrayOutput) ToQueryParameterTypeStruct return o } +func (o QueryParameterTypeStructTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QueryParameterTypeStructTypesItem] { + return pulumix.Output[[]QueryParameterTypeStructTypesItem]{ + OutputState: o.OutputState, + } +} + func (o QueryParameterTypeStructTypesItemArrayOutput) Index(i pulumi.IntInput) QueryParameterTypeStructTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueryParameterTypeStructTypesItem { return vs[0].([]QueryParameterTypeStructTypesItem)[vs[1].(int)] @@ -11475,6 +12856,12 @@ func (o QueryParameterTypeStructTypesItemResponseOutput) ToQueryParameterTypeStr return o } +func (o QueryParameterTypeStructTypesItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryParameterTypeStructTypesItemResponse] { + return pulumix.Output[QueryParameterTypeStructTypesItemResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] Human-oriented description of the field. func (o QueryParameterTypeStructTypesItemResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v QueryParameterTypeStructTypesItemResponse) string { return v.Description }).(pulumi.StringOutput) @@ -11504,6 +12891,12 @@ func (o QueryParameterTypeStructTypesItemResponseArrayOutput) ToQueryParameterTy return o } +func (o QueryParameterTypeStructTypesItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QueryParameterTypeStructTypesItemResponse] { + return pulumix.Output[[]QueryParameterTypeStructTypesItemResponse]{ + OutputState: o.OutputState, + } +} + func (o QueryParameterTypeStructTypesItemResponseArrayOutput) Index(i pulumi.IntInput) QueryParameterTypeStructTypesItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueryParameterTypeStructTypesItemResponse { return vs[0].([]QueryParameterTypeStructTypesItemResponse)[vs[1].(int)] @@ -11551,6 +12944,12 @@ func (i QueryParameterValueArgs) ToQueryParameterValueOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(QueryParameterValueOutput) } +func (i QueryParameterValueArgs) ToOutput(ctx context.Context) pulumix.Output[QueryParameterValue] { + return pulumix.Output[QueryParameterValue]{ + OutputState: i.ToQueryParameterValueOutputWithContext(ctx).OutputState, + } +} + func (i QueryParameterValueArgs) ToQueryParameterValuePtrOutput() QueryParameterValuePtrOutput { return i.ToQueryParameterValuePtrOutputWithContext(context.Background()) } @@ -11592,6 +12991,12 @@ func (i *queryParameterValuePtrType) ToQueryParameterValuePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(QueryParameterValuePtrOutput) } +func (i *queryParameterValuePtrType) ToOutput(ctx context.Context) pulumix.Output[*QueryParameterValue] { + return pulumix.Output[*QueryParameterValue]{ + OutputState: i.ToQueryParameterValuePtrOutputWithContext(ctx).OutputState, + } +} + // QueryParameterValueArrayInput is an input type that accepts QueryParameterValueArray and QueryParameterValueArrayOutput values. // You can construct a concrete instance of `QueryParameterValueArrayInput` via: // @@ -11617,6 +13022,12 @@ func (i QueryParameterValueArray) ToQueryParameterValueArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(QueryParameterValueArrayOutput) } +func (i QueryParameterValueArray) ToOutput(ctx context.Context) pulumix.Output[[]QueryParameterValue] { + return pulumix.Output[[]QueryParameterValue]{ + OutputState: i.ToQueryParameterValueArrayOutputWithContext(ctx).OutputState, + } +} + type QueryParameterValueOutput struct{ *pulumi.OutputState } func (QueryParameterValueOutput) ElementType() reflect.Type { @@ -11641,6 +13052,12 @@ func (o QueryParameterValueOutput) ToQueryParameterValuePtrOutputWithContext(ctx }).(QueryParameterValuePtrOutput) } +func (o QueryParameterValueOutput) ToOutput(ctx context.Context) pulumix.Output[QueryParameterValue] { + return pulumix.Output[QueryParameterValue]{ + OutputState: o.OutputState, + } +} + // [Optional] The array values, if this is an array type. func (o QueryParameterValueOutput) ArrayValues() QueryParameterValueArrayOutput { return o.ApplyT(func(v QueryParameterValue) []QueryParameterValue { return v.ArrayValues }).(QueryParameterValueArrayOutput) @@ -11670,6 +13087,12 @@ func (o QueryParameterValuePtrOutput) ToQueryParameterValuePtrOutputWithContext( return o } +func (o QueryParameterValuePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueryParameterValue] { + return pulumix.Output[*QueryParameterValue]{ + OutputState: o.OutputState, + } +} + func (o QueryParameterValuePtrOutput) Elem() QueryParameterValueOutput { return o.ApplyT(func(v *QueryParameterValue) QueryParameterValue { if v != nil { @@ -11724,6 +13147,12 @@ func (o QueryParameterValueArrayOutput) ToQueryParameterValueArrayOutputWithCont return o } +func (o QueryParameterValueArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QueryParameterValue] { + return pulumix.Output[[]QueryParameterValue]{ + OutputState: o.OutputState, + } +} + func (o QueryParameterValueArrayOutput) Index(i pulumi.IntInput) QueryParameterValueOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueryParameterValue { return vs[0].([]QueryParameterValue)[vs[1].(int)] @@ -11753,6 +13182,12 @@ func (o QueryParameterValueResponseOutput) ToQueryParameterValueResponseOutputWi return o } +func (o QueryParameterValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryParameterValueResponse] { + return pulumix.Output[QueryParameterValueResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] The array values, if this is an array type. func (o QueryParameterValueResponseOutput) ArrayValues() QueryParameterValueResponseArrayOutput { return o.ApplyT(func(v QueryParameterValueResponse) []QueryParameterValueResponse { return v.ArrayValues }).(QueryParameterValueResponseArrayOutput) @@ -11782,6 +13217,12 @@ func (o QueryParameterValueResponseArrayOutput) ToQueryParameterValueResponseArr return o } +func (o QueryParameterValueResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QueryParameterValueResponse] { + return pulumix.Output[[]QueryParameterValueResponse]{ + OutputState: o.OutputState, + } +} + func (o QueryParameterValueResponseArrayOutput) Index(i pulumi.IntInput) QueryParameterValueResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueryParameterValueResponse { return vs[0].([]QueryParameterValueResponse)[vs[1].(int)] @@ -11817,6 +13258,12 @@ func (o QueryTimelineSampleResponseOutput) ToQueryTimelineSampleResponseOutputWi return o } +func (o QueryTimelineSampleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryTimelineSampleResponse] { + return pulumix.Output[QueryTimelineSampleResponse]{ + OutputState: o.OutputState, + } +} + // Total number of units currently being processed by workers. This does not correspond directly to slot usage. This is the largest value observed since the last sample. func (o QueryTimelineSampleResponseOutput) ActiveUnits() pulumi.StringOutput { return o.ApplyT(func(v QueryTimelineSampleResponse) string { return v.ActiveUnits }).(pulumi.StringOutput) @@ -11861,6 +13308,12 @@ func (o QueryTimelineSampleResponseArrayOutput) ToQueryTimelineSampleResponseArr return o } +func (o QueryTimelineSampleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QueryTimelineSampleResponse] { + return pulumix.Output[[]QueryTimelineSampleResponse]{ + OutputState: o.OutputState, + } +} + func (o QueryTimelineSampleResponseArrayOutput) Index(i pulumi.IntInput) QueryTimelineSampleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueryTimelineSampleResponse { return vs[0].([]QueryTimelineSampleResponse)[vs[1].(int)] @@ -11904,6 +13357,12 @@ func (i RangePartitioningArgs) ToRangePartitioningOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(RangePartitioningOutput) } +func (i RangePartitioningArgs) ToOutput(ctx context.Context) pulumix.Output[RangePartitioning] { + return pulumix.Output[RangePartitioning]{ + OutputState: i.ToRangePartitioningOutputWithContext(ctx).OutputState, + } +} + func (i RangePartitioningArgs) ToRangePartitioningPtrOutput() RangePartitioningPtrOutput { return i.ToRangePartitioningPtrOutputWithContext(context.Background()) } @@ -11945,6 +13404,12 @@ func (i *rangePartitioningPtrType) ToRangePartitioningPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RangePartitioningPtrOutput) } +func (i *rangePartitioningPtrType) ToOutput(ctx context.Context) pulumix.Output[*RangePartitioning] { + return pulumix.Output[*RangePartitioning]{ + OutputState: i.ToRangePartitioningPtrOutputWithContext(ctx).OutputState, + } +} + type RangePartitioningOutput struct{ *pulumi.OutputState } func (RangePartitioningOutput) ElementType() reflect.Type { @@ -11969,6 +13434,12 @@ func (o RangePartitioningOutput) ToRangePartitioningPtrOutputWithContext(ctx con }).(RangePartitioningPtrOutput) } +func (o RangePartitioningOutput) ToOutput(ctx context.Context) pulumix.Output[RangePartitioning] { + return pulumix.Output[RangePartitioning]{ + OutputState: o.OutputState, + } +} + // [TrustedTester] [Required] The table is partitioned by this field. The field must be a top-level NULLABLE/REQUIRED field. The only supported type is INTEGER/INT64. func (o RangePartitioningOutput) Field() pulumi.StringPtrOutput { return o.ApplyT(func(v RangePartitioning) *string { return v.Field }).(pulumi.StringPtrOutput) @@ -11993,6 +13464,12 @@ func (o RangePartitioningPtrOutput) ToRangePartitioningPtrOutputWithContext(ctx return o } +func (o RangePartitioningPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RangePartitioning] { + return pulumix.Output[*RangePartitioning]{ + OutputState: o.OutputState, + } +} + func (o RangePartitioningPtrOutput) Elem() RangePartitioningOutput { return o.ApplyT(func(v *RangePartitioning) RangePartitioning { if v != nil { @@ -12066,6 +13543,12 @@ func (i RangePartitioningRangeArgs) ToRangePartitioningRangeOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(RangePartitioningRangeOutput) } +func (i RangePartitioningRangeArgs) ToOutput(ctx context.Context) pulumix.Output[RangePartitioningRange] { + return pulumix.Output[RangePartitioningRange]{ + OutputState: i.ToRangePartitioningRangeOutputWithContext(ctx).OutputState, + } +} + func (i RangePartitioningRangeArgs) ToRangePartitioningRangePtrOutput() RangePartitioningRangePtrOutput { return i.ToRangePartitioningRangePtrOutputWithContext(context.Background()) } @@ -12107,6 +13590,12 @@ func (i *rangePartitioningRangePtrType) ToRangePartitioningRangePtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RangePartitioningRangePtrOutput) } +func (i *rangePartitioningRangePtrType) ToOutput(ctx context.Context) pulumix.Output[*RangePartitioningRange] { + return pulumix.Output[*RangePartitioningRange]{ + OutputState: i.ToRangePartitioningRangePtrOutputWithContext(ctx).OutputState, + } +} + // [TrustedTester] [Required] Defines the ranges for range partitioning. type RangePartitioningRangeOutput struct{ *pulumi.OutputState } @@ -12132,6 +13621,12 @@ func (o RangePartitioningRangeOutput) ToRangePartitioningRangePtrOutputWithConte }).(RangePartitioningRangePtrOutput) } +func (o RangePartitioningRangeOutput) ToOutput(ctx context.Context) pulumix.Output[RangePartitioningRange] { + return pulumix.Output[RangePartitioningRange]{ + OutputState: o.OutputState, + } +} + // [TrustedTester] [Required] The end of range partitioning, exclusive. func (o RangePartitioningRangeOutput) End() pulumi.StringPtrOutput { return o.ApplyT(func(v RangePartitioningRange) *string { return v.End }).(pulumi.StringPtrOutput) @@ -12161,6 +13656,12 @@ func (o RangePartitioningRangePtrOutput) ToRangePartitioningRangePtrOutputWithCo return o } +func (o RangePartitioningRangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RangePartitioningRange] { + return pulumix.Output[*RangePartitioningRange]{ + OutputState: o.OutputState, + } +} + func (o RangePartitioningRangePtrOutput) Elem() RangePartitioningRangeOutput { return o.ApplyT(func(v *RangePartitioningRange) RangePartitioningRange { if v != nil { @@ -12226,6 +13727,12 @@ func (o RangePartitioningRangeResponseOutput) ToRangePartitioningRangeResponseOu return o } +func (o RangePartitioningRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RangePartitioningRangeResponse] { + return pulumix.Output[RangePartitioningRangeResponse]{ + OutputState: o.OutputState, + } +} + // [TrustedTester] [Required] The end of range partitioning, exclusive. func (o RangePartitioningRangeResponseOutput) End() pulumi.StringOutput { return o.ApplyT(func(v RangePartitioningRangeResponse) string { return v.End }).(pulumi.StringOutput) @@ -12262,6 +13769,12 @@ func (o RangePartitioningResponseOutput) ToRangePartitioningResponseOutputWithCo return o } +func (o RangePartitioningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RangePartitioningResponse] { + return pulumix.Output[RangePartitioningResponse]{ + OutputState: o.OutputState, + } +} + // [TrustedTester] [Required] The table is partitioned by this field. The field must be a top-level NULLABLE/REQUIRED field. The only supported type is INTEGER/INT64. func (o RangePartitioningResponseOutput) Field() pulumi.StringOutput { return o.ApplyT(func(v RangePartitioningResponse) string { return v.Field }).(pulumi.StringOutput) @@ -12319,6 +13832,12 @@ func (i RemoteFunctionOptionsArgs) ToRemoteFunctionOptionsOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RemoteFunctionOptionsOutput) } +func (i RemoteFunctionOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[RemoteFunctionOptions] { + return pulumix.Output[RemoteFunctionOptions]{ + OutputState: i.ToRemoteFunctionOptionsOutputWithContext(ctx).OutputState, + } +} + func (i RemoteFunctionOptionsArgs) ToRemoteFunctionOptionsPtrOutput() RemoteFunctionOptionsPtrOutput { return i.ToRemoteFunctionOptionsPtrOutputWithContext(context.Background()) } @@ -12360,6 +13879,12 @@ func (i *remoteFunctionOptionsPtrType) ToRemoteFunctionOptionsPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RemoteFunctionOptionsPtrOutput) } +func (i *remoteFunctionOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*RemoteFunctionOptions] { + return pulumix.Output[*RemoteFunctionOptions]{ + OutputState: i.ToRemoteFunctionOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options for a remote user-defined function. type RemoteFunctionOptionsOutput struct{ *pulumi.OutputState } @@ -12385,6 +13910,12 @@ func (o RemoteFunctionOptionsOutput) ToRemoteFunctionOptionsPtrOutputWithContext }).(RemoteFunctionOptionsPtrOutput) } +func (o RemoteFunctionOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[RemoteFunctionOptions] { + return pulumix.Output[RemoteFunctionOptions]{ + OutputState: o.OutputState, + } +} + // Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: ```"projects/{projectId}/locations/{locationId}/connections/{connectionId}"``` func (o RemoteFunctionOptionsOutput) Connection() pulumi.StringPtrOutput { return o.ApplyT(func(v RemoteFunctionOptions) *string { return v.Connection }).(pulumi.StringPtrOutput) @@ -12419,6 +13950,12 @@ func (o RemoteFunctionOptionsPtrOutput) ToRemoteFunctionOptionsPtrOutputWithCont return o } +func (o RemoteFunctionOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RemoteFunctionOptions] { + return pulumix.Output[*RemoteFunctionOptions]{ + OutputState: o.OutputState, + } +} + func (o RemoteFunctionOptionsPtrOutput) Elem() RemoteFunctionOptionsOutput { return o.ApplyT(func(v *RemoteFunctionOptions) RemoteFunctionOptions { if v != nil { @@ -12496,6 +14033,12 @@ func (o RemoteFunctionOptionsResponseOutput) ToRemoteFunctionOptionsResponseOutp return o } +func (o RemoteFunctionOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RemoteFunctionOptionsResponse] { + return pulumix.Output[RemoteFunctionOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: ```"projects/{projectId}/locations/{locationId}/connections/{connectionId}"``` func (o RemoteFunctionOptionsResponseOutput) Connection() pulumi.StringOutput { return o.ApplyT(func(v RemoteFunctionOptionsResponse) string { return v.Connection }).(pulumi.StringOutput) @@ -12557,6 +14100,12 @@ func (i RoutineReferenceArgs) ToRoutineReferenceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RoutineReferenceOutput) } +func (i RoutineReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[RoutineReference] { + return pulumix.Output[RoutineReference]{ + OutputState: i.ToRoutineReferenceOutputWithContext(ctx).OutputState, + } +} + func (i RoutineReferenceArgs) ToRoutineReferencePtrOutput() RoutineReferencePtrOutput { return i.ToRoutineReferencePtrOutputWithContext(context.Background()) } @@ -12598,6 +14147,12 @@ func (i *routineReferencePtrType) ToRoutineReferencePtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RoutineReferencePtrOutput) } +func (i *routineReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*RoutineReference] { + return pulumix.Output[*RoutineReference]{ + OutputState: i.ToRoutineReferencePtrOutputWithContext(ctx).OutputState, + } +} + type RoutineReferenceOutput struct{ *pulumi.OutputState } func (RoutineReferenceOutput) ElementType() reflect.Type { @@ -12622,6 +14177,12 @@ func (o RoutineReferenceOutput) ToRoutineReferencePtrOutputWithContext(ctx conte }).(RoutineReferencePtrOutput) } +func (o RoutineReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[RoutineReference] { + return pulumix.Output[RoutineReference]{ + OutputState: o.OutputState, + } +} + // [Required] The ID of the dataset containing this routine. func (o RoutineReferenceOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v RoutineReference) *string { return v.DatasetId }).(pulumi.StringPtrOutput) @@ -12651,6 +14212,12 @@ func (o RoutineReferencePtrOutput) ToRoutineReferencePtrOutputWithContext(ctx co return o } +func (o RoutineReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoutineReference] { + return pulumix.Output[*RoutineReference]{ + OutputState: o.OutputState, + } +} + func (o RoutineReferencePtrOutput) Elem() RoutineReferenceOutput { return o.ApplyT(func(v *RoutineReference) RoutineReference { if v != nil { @@ -12714,6 +14281,12 @@ func (o RoutineReferenceResponseOutput) ToRoutineReferenceResponseOutputWithCont return o } +func (o RoutineReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RoutineReferenceResponse] { + return pulumix.Output[RoutineReferenceResponse]{ + OutputState: o.OutputState, + } +} + // [Required] The ID of the dataset containing this routine. func (o RoutineReferenceResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v RoutineReferenceResponse) string { return v.DatasetId }).(pulumi.StringOutput) @@ -12743,6 +14316,12 @@ func (o RoutineReferenceResponseArrayOutput) ToRoutineReferenceResponseArrayOutp return o } +func (o RoutineReferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoutineReferenceResponse] { + return pulumix.Output[[]RoutineReferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o RoutineReferenceResponseArrayOutput) Index(i pulumi.IntInput) RoutineReferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutineReferenceResponse { return vs[0].([]RoutineReferenceResponse)[vs[1].(int)] @@ -12774,6 +14353,12 @@ func (o RowAccessPolicyReferenceResponseOutput) ToRowAccessPolicyReferenceRespon return o } +func (o RowAccessPolicyReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RowAccessPolicyReferenceResponse] { + return pulumix.Output[RowAccessPolicyReferenceResponse]{ + OutputState: o.OutputState, + } +} + // [Required] The ID of the dataset containing this row access policy. func (o RowAccessPolicyReferenceResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v RowAccessPolicyReferenceResponse) string { return v.DatasetId }).(pulumi.StringOutput) @@ -12813,6 +14398,12 @@ func (o RowLevelSecurityStatisticsResponseOutput) ToRowLevelSecurityStatisticsRe return o } +func (o RowLevelSecurityStatisticsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RowLevelSecurityStatisticsResponse] { + return pulumix.Output[RowLevelSecurityStatisticsResponse]{ + OutputState: o.OutputState, + } +} + // [Preview] Whether any accessed data was protected by row access policies. func (o RowLevelSecurityStatisticsResponseOutput) RowLevelSecurityApplied() pulumi.BoolOutput { return o.ApplyT(func(v RowLevelSecurityStatisticsResponse) bool { return v.RowLevelSecurityApplied }).(pulumi.BoolOutput) @@ -12847,6 +14438,12 @@ func (o ScriptStackFrameResponseOutput) ToScriptStackFrameResponseOutputWithCont return o } +func (o ScriptStackFrameResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScriptStackFrameResponse] { + return pulumix.Output[ScriptStackFrameResponse]{ + OutputState: o.OutputState, + } +} + // One-based end column. func (o ScriptStackFrameResponseOutput) EndColumn() pulumi.IntOutput { return o.ApplyT(func(v ScriptStackFrameResponse) int { return v.EndColumn }).(pulumi.IntOutput) @@ -12891,6 +14488,12 @@ func (o ScriptStackFrameResponseArrayOutput) ToScriptStackFrameResponseArrayOutp return o } +func (o ScriptStackFrameResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ScriptStackFrameResponse] { + return pulumix.Output[[]ScriptStackFrameResponse]{ + OutputState: o.OutputState, + } +} + func (o ScriptStackFrameResponseArrayOutput) Index(i pulumi.IntInput) ScriptStackFrameResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ScriptStackFrameResponse { return vs[0].([]ScriptStackFrameResponse)[vs[1].(int)] @@ -12918,6 +14521,12 @@ func (o ScriptStatisticsResponseOutput) ToScriptStatisticsResponseOutputWithCont return o } +func (o ScriptStatisticsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScriptStatisticsResponse] { + return pulumix.Output[ScriptStatisticsResponse]{ + OutputState: o.OutputState, + } +} + // Whether this child job was a statement or expression. func (o ScriptStatisticsResponseOutput) EvaluationKind() pulumi.StringOutput { return o.ApplyT(func(v ScriptStatisticsResponse) string { return v.EvaluationKind }).(pulumi.StringOutput) @@ -12949,6 +14558,12 @@ func (o SearchStatisticsResponseOutput) ToSearchStatisticsResponseOutputWithCont return o } +func (o SearchStatisticsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SearchStatisticsResponse] { + return pulumix.Output[SearchStatisticsResponse]{ + OutputState: o.OutputState, + } +} + // When index_usage_mode is UNUSED or PARTIALLY_USED, this field explains why index was not used in all or part of the search query. If index_usage_mode is FULLLY_USED, this field is not populated. func (o SearchStatisticsResponseOutput) IndexUnusedReason() IndexUnusedReasonResponseArrayOutput { return o.ApplyT(func(v SearchStatisticsResponse) []IndexUnusedReasonResponse { return v.IndexUnusedReason }).(IndexUnusedReasonResponseArrayOutput) @@ -12978,6 +14593,12 @@ func (o SessionInfoResponseOutput) ToSessionInfoResponseOutputWithContext(ctx co return o } +func (o SessionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SessionInfoResponse] { + return pulumix.Output[SessionInfoResponse]{ + OutputState: o.OutputState, + } +} + // // [Preview] Id of the session. func (o SessionInfoResponseOutput) SessionId() pulumi.StringOutput { return o.ApplyT(func(v SessionInfoResponse) string { return v.SessionId }).(pulumi.StringOutput) @@ -13004,6 +14625,12 @@ func (o SnapshotDefinitionResponseOutput) ToSnapshotDefinitionResponseOutputWith return o } +func (o SnapshotDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SnapshotDefinitionResponse] { + return pulumix.Output[SnapshotDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // [Required] Reference describing the ID of the table that was snapshot. func (o SnapshotDefinitionResponseOutput) BaseTableReference() TableReferenceResponseOutput { return o.ApplyT(func(v SnapshotDefinitionResponse) TableReferenceResponse { return v.BaseTableReference }).(TableReferenceResponseOutput) @@ -13035,6 +14662,12 @@ func (o SparkLoggingInfoResponseOutput) ToSparkLoggingInfoResponseOutputWithCont return o } +func (o SparkLoggingInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkLoggingInfoResponse] { + return pulumix.Output[SparkLoggingInfoResponse]{ + OutputState: o.OutputState, + } +} + // Project ID used for logging func (o SparkLoggingInfoResponseOutput) ProjectId() pulumi.StringOutput { return o.ApplyT(func(v SparkLoggingInfoResponse) string { return v.ProjectId }).(pulumi.StringOutput) @@ -13116,6 +14749,12 @@ func (i SparkOptionsArgs) ToSparkOptionsOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SparkOptionsOutput) } +func (i SparkOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[SparkOptions] { + return pulumix.Output[SparkOptions]{ + OutputState: i.ToSparkOptionsOutputWithContext(ctx).OutputState, + } +} + func (i SparkOptionsArgs) ToSparkOptionsPtrOutput() SparkOptionsPtrOutput { return i.ToSparkOptionsPtrOutputWithContext(context.Background()) } @@ -13157,6 +14796,12 @@ func (i *sparkOptionsPtrType) ToSparkOptionsPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SparkOptionsPtrOutput) } +func (i *sparkOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkOptions] { + return pulumix.Output[*SparkOptions]{ + OutputState: i.ToSparkOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options for a user-defined Spark routine. type SparkOptionsOutput struct{ *pulumi.OutputState } @@ -13182,6 +14827,12 @@ func (o SparkOptionsOutput) ToSparkOptionsPtrOutputWithContext(ctx context.Conte }).(SparkOptionsPtrOutput) } +func (o SparkOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[SparkOptions] { + return pulumix.Output[SparkOptions]{ + OutputState: o.OutputState, + } +} + // Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html). func (o SparkOptionsOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkOptions) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -13246,6 +14897,12 @@ func (o SparkOptionsPtrOutput) ToSparkOptionsPtrOutputWithContext(ctx context.Co return o } +func (o SparkOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkOptions] { + return pulumix.Output[*SparkOptions]{ + OutputState: o.OutputState, + } +} + func (o SparkOptionsPtrOutput) Elem() SparkOptionsOutput { return o.ApplyT(func(v *SparkOptions) SparkOptions { if v != nil { @@ -13395,6 +15052,12 @@ func (o SparkOptionsResponseOutput) ToSparkOptionsResponseOutputWithContext(ctx return o } +func (o SparkOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkOptionsResponse] { + return pulumix.Output[SparkOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/index.html). func (o SparkOptionsResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkOptionsResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -13470,6 +15133,12 @@ func (o SparkStatisticsResponseOutput) ToSparkStatisticsResponseOutputWithContex return o } +func (o SparkStatisticsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkStatisticsResponse] { + return pulumix.Output[SparkStatisticsResponse]{ + OutputState: o.OutputState, + } +} + // Endpoints generated for the Spark job. func (o SparkStatisticsResponseOutput) Endpoints() pulumi.StringMapOutput { return o.ApplyT(func(v SparkStatisticsResponse) map[string]string { return v.Endpoints }).(pulumi.StringMapOutput) @@ -13533,6 +15202,12 @@ func (i StandardSqlDataTypeArgs) ToStandardSqlDataTypeOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(StandardSqlDataTypeOutput) } +func (i StandardSqlDataTypeArgs) ToOutput(ctx context.Context) pulumix.Output[StandardSqlDataType] { + return pulumix.Output[StandardSqlDataType]{ + OutputState: i.ToStandardSqlDataTypeOutputWithContext(ctx).OutputState, + } +} + func (i StandardSqlDataTypeArgs) ToStandardSqlDataTypePtrOutput() StandardSqlDataTypePtrOutput { return i.ToStandardSqlDataTypePtrOutputWithContext(context.Background()) } @@ -13574,6 +15249,12 @@ func (i *standardSqlDataTypePtrType) ToStandardSqlDataTypePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(StandardSqlDataTypePtrOutput) } +func (i *standardSqlDataTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*StandardSqlDataType] { + return pulumix.Output[*StandardSqlDataType]{ + OutputState: i.ToStandardSqlDataTypePtrOutputWithContext(ctx).OutputState, + } +} + // The data type of a variable such as a function argument. Examples include: * INT64: `{"typeKind": "INT64"}` * ARRAY: { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "STRING"} } * STRUCT>: { "typeKind": "STRUCT", "structType": { "fields": [ { "name": "x", "type": {"typeKind": "STRING"} }, { "name": "y", "type": { "typeKind": "ARRAY", "arrayElementType": {"typeKind": "DATE"} } } ] } } type StandardSqlDataTypeOutput struct{ *pulumi.OutputState } @@ -13599,6 +15280,12 @@ func (o StandardSqlDataTypeOutput) ToStandardSqlDataTypePtrOutputWithContext(ctx }).(StandardSqlDataTypePtrOutput) } +func (o StandardSqlDataTypeOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSqlDataType] { + return pulumix.Output[StandardSqlDataType]{ + OutputState: o.OutputState, + } +} + // The type of the array's elements, if type_kind = "ARRAY". func (o StandardSqlDataTypeOutput) ArrayElementType() StandardSqlDataTypePtrOutput { return o.ApplyT(func(v StandardSqlDataType) *StandardSqlDataType { return v.ArrayElementType }).(StandardSqlDataTypePtrOutput) @@ -13628,6 +15315,12 @@ func (o StandardSqlDataTypePtrOutput) ToStandardSqlDataTypePtrOutputWithContext( return o } +func (o StandardSqlDataTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StandardSqlDataType] { + return pulumix.Output[*StandardSqlDataType]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlDataTypePtrOutput) Elem() StandardSqlDataTypeOutput { return o.ApplyT(func(v *StandardSqlDataType) StandardSqlDataType { if v != nil { @@ -13693,6 +15386,12 @@ func (o StandardSqlDataTypeResponseOutput) ToStandardSqlDataTypeResponseOutputWi return o } +func (o StandardSqlDataTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSqlDataTypeResponse] { + return pulumix.Output[StandardSqlDataTypeResponse]{ + OutputState: o.OutputState, + } +} + // The type of the array's elements, if type_kind = "ARRAY". func (o StandardSqlDataTypeResponseOutput) ArrayElementType() StandardSqlDataTypeResponsePtrOutput { return o.ApplyT(func(v StandardSqlDataTypeResponse) *StandardSqlDataTypeResponse { return v.ArrayElementType }).(StandardSqlDataTypeResponsePtrOutput) @@ -13722,6 +15421,12 @@ func (o StandardSqlDataTypeResponsePtrOutput) ToStandardSqlDataTypeResponsePtrOu return o } +func (o StandardSqlDataTypeResponsePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StandardSqlDataTypeResponse] { + return pulumix.Output[*StandardSqlDataTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlDataTypeResponsePtrOutput) Elem() StandardSqlDataTypeResponseOutput { return o.ApplyT(func(v *StandardSqlDataTypeResponse) StandardSqlDataTypeResponse { if v != nil { @@ -13801,6 +15506,12 @@ func (i StandardSqlFieldArgs) ToStandardSqlFieldOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(StandardSqlFieldOutput) } +func (i StandardSqlFieldArgs) ToOutput(ctx context.Context) pulumix.Output[StandardSqlField] { + return pulumix.Output[StandardSqlField]{ + OutputState: i.ToStandardSqlFieldOutputWithContext(ctx).OutputState, + } +} + // StandardSqlFieldArrayInput is an input type that accepts StandardSqlFieldArray and StandardSqlFieldArrayOutput values. // You can construct a concrete instance of `StandardSqlFieldArrayInput` via: // @@ -13826,6 +15537,12 @@ func (i StandardSqlFieldArray) ToStandardSqlFieldArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(StandardSqlFieldArrayOutput) } +func (i StandardSqlFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]StandardSqlField] { + return pulumix.Output[[]StandardSqlField]{ + OutputState: i.ToStandardSqlFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A field or a column. type StandardSqlFieldOutput struct{ *pulumi.OutputState } @@ -13841,6 +15558,12 @@ func (o StandardSqlFieldOutput) ToStandardSqlFieldOutputWithContext(ctx context. return o } +func (o StandardSqlFieldOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSqlField] { + return pulumix.Output[StandardSqlField]{ + OutputState: o.OutputState, + } +} + // Optional. The name of this field. Can be absent for struct fields. func (o StandardSqlFieldOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v StandardSqlField) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -13865,6 +15588,12 @@ func (o StandardSqlFieldArrayOutput) ToStandardSqlFieldArrayOutputWithContext(ct return o } +func (o StandardSqlFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StandardSqlField] { + return pulumix.Output[[]StandardSqlField]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlFieldArrayOutput) Index(i pulumi.IntInput) StandardSqlFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StandardSqlField { return vs[0].([]StandardSqlField)[vs[1].(int)] @@ -13894,6 +15623,12 @@ func (o StandardSqlFieldResponseOutput) ToStandardSqlFieldResponseOutputWithCont return o } +func (o StandardSqlFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSqlFieldResponse] { + return pulumix.Output[StandardSqlFieldResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The name of this field. Can be absent for struct fields. func (o StandardSqlFieldResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v StandardSqlFieldResponse) string { return v.Name }).(pulumi.StringOutput) @@ -13918,6 +15653,12 @@ func (o StandardSqlFieldResponseArrayOutput) ToStandardSqlFieldResponseArrayOutp return o } +func (o StandardSqlFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StandardSqlFieldResponse] { + return pulumix.Output[[]StandardSqlFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlFieldResponseArrayOutput) Index(i pulumi.IntInput) StandardSqlFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StandardSqlFieldResponse { return vs[0].([]StandardSqlFieldResponse)[vs[1].(int)] @@ -13955,6 +15696,12 @@ func (i StandardSqlStructTypeArgs) ToStandardSqlStructTypeOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(StandardSqlStructTypeOutput) } +func (i StandardSqlStructTypeArgs) ToOutput(ctx context.Context) pulumix.Output[StandardSqlStructType] { + return pulumix.Output[StandardSqlStructType]{ + OutputState: i.ToStandardSqlStructTypeOutputWithContext(ctx).OutputState, + } +} + func (i StandardSqlStructTypeArgs) ToStandardSqlStructTypePtrOutput() StandardSqlStructTypePtrOutput { return i.ToStandardSqlStructTypePtrOutputWithContext(context.Background()) } @@ -13996,6 +15743,12 @@ func (i *standardSqlStructTypePtrType) ToStandardSqlStructTypePtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(StandardSqlStructTypePtrOutput) } +func (i *standardSqlStructTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*StandardSqlStructType] { + return pulumix.Output[*StandardSqlStructType]{ + OutputState: i.ToStandardSqlStructTypePtrOutputWithContext(ctx).OutputState, + } +} + type StandardSqlStructTypeOutput struct{ *pulumi.OutputState } func (StandardSqlStructTypeOutput) ElementType() reflect.Type { @@ -14020,6 +15773,12 @@ func (o StandardSqlStructTypeOutput) ToStandardSqlStructTypePtrOutputWithContext }).(StandardSqlStructTypePtrOutput) } +func (o StandardSqlStructTypeOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSqlStructType] { + return pulumix.Output[StandardSqlStructType]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlStructTypeOutput) Fields() StandardSqlFieldArrayOutput { return o.ApplyT(func(v StandardSqlStructType) []StandardSqlField { return v.Fields }).(StandardSqlFieldArrayOutput) } @@ -14038,6 +15797,12 @@ func (o StandardSqlStructTypePtrOutput) ToStandardSqlStructTypePtrOutputWithCont return o } +func (o StandardSqlStructTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StandardSqlStructType] { + return pulumix.Output[*StandardSqlStructType]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlStructTypePtrOutput) Elem() StandardSqlStructTypeOutput { return o.ApplyT(func(v *StandardSqlStructType) StandardSqlStructType { if v != nil { @@ -14075,6 +15840,12 @@ func (o StandardSqlStructTypeResponseOutput) ToStandardSqlStructTypeResponseOutp return o } +func (o StandardSqlStructTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSqlStructTypeResponse] { + return pulumix.Output[StandardSqlStructTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlStructTypeResponseOutput) Fields() StandardSqlFieldResponseArrayOutput { return o.ApplyT(func(v StandardSqlStructTypeResponse) []StandardSqlFieldResponse { return v.Fields }).(StandardSqlFieldResponseArrayOutput) } @@ -14093,6 +15864,12 @@ func (o StandardSqlStructTypeResponsePtrOutput) ToStandardSqlStructTypeResponseP return o } +func (o StandardSqlStructTypeResponsePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StandardSqlStructTypeResponse] { + return pulumix.Output[*StandardSqlStructTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlStructTypeResponsePtrOutput) Elem() StandardSqlStructTypeResponseOutput { return o.ApplyT(func(v *StandardSqlStructTypeResponse) StandardSqlStructTypeResponse { if v != nil { @@ -14147,6 +15924,12 @@ func (i StandardSqlTableTypeArgs) ToStandardSqlTableTypeOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(StandardSqlTableTypeOutput) } +func (i StandardSqlTableTypeArgs) ToOutput(ctx context.Context) pulumix.Output[StandardSqlTableType] { + return pulumix.Output[StandardSqlTableType]{ + OutputState: i.ToStandardSqlTableTypeOutputWithContext(ctx).OutputState, + } +} + func (i StandardSqlTableTypeArgs) ToStandardSqlTableTypePtrOutput() StandardSqlTableTypePtrOutput { return i.ToStandardSqlTableTypePtrOutputWithContext(context.Background()) } @@ -14188,6 +15971,12 @@ func (i *standardSqlTableTypePtrType) ToStandardSqlTableTypePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(StandardSqlTableTypePtrOutput) } +func (i *standardSqlTableTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*StandardSqlTableType] { + return pulumix.Output[*StandardSqlTableType]{ + OutputState: i.ToStandardSqlTableTypePtrOutputWithContext(ctx).OutputState, + } +} + // A table type type StandardSqlTableTypeOutput struct{ *pulumi.OutputState } @@ -14213,6 +16002,12 @@ func (o StandardSqlTableTypeOutput) ToStandardSqlTableTypePtrOutputWithContext(c }).(StandardSqlTableTypePtrOutput) } +func (o StandardSqlTableTypeOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSqlTableType] { + return pulumix.Output[StandardSqlTableType]{ + OutputState: o.OutputState, + } +} + // The columns in this table type func (o StandardSqlTableTypeOutput) Columns() StandardSqlFieldArrayOutput { return o.ApplyT(func(v StandardSqlTableType) []StandardSqlField { return v.Columns }).(StandardSqlFieldArrayOutput) @@ -14232,6 +16027,12 @@ func (o StandardSqlTableTypePtrOutput) ToStandardSqlTableTypePtrOutputWithContex return o } +func (o StandardSqlTableTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StandardSqlTableType] { + return pulumix.Output[*StandardSqlTableType]{ + OutputState: o.OutputState, + } +} + func (o StandardSqlTableTypePtrOutput) Elem() StandardSqlTableTypeOutput { return o.ApplyT(func(v *StandardSqlTableType) StandardSqlTableType { if v != nil { @@ -14273,6 +16074,12 @@ func (o StandardSqlTableTypeResponseOutput) ToStandardSqlTableTypeResponseOutput return o } +func (o StandardSqlTableTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StandardSqlTableTypeResponse] { + return pulumix.Output[StandardSqlTableTypeResponse]{ + OutputState: o.OutputState, + } +} + // The columns in this table type func (o StandardSqlTableTypeResponseOutput) Columns() StandardSqlFieldResponseArrayOutput { return o.ApplyT(func(v StandardSqlTableTypeResponse) []StandardSqlFieldResponse { return v.Columns }).(StandardSqlFieldResponseArrayOutput) @@ -14301,6 +16108,12 @@ func (o StreamingbufferResponseOutput) ToStreamingbufferResponseOutputWithContex return o } +func (o StreamingbufferResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StreamingbufferResponse] { + return pulumix.Output[StreamingbufferResponse]{ + OutputState: o.OutputState, + } +} + // A lower-bound estimate of the number of bytes currently in the streaming buffer. func (o StreamingbufferResponseOutput) EstimatedBytes() pulumi.StringOutput { return o.ApplyT(func(v StreamingbufferResponse) string { return v.EstimatedBytes }).(pulumi.StringOutput) @@ -14353,6 +16166,12 @@ func (i TableConstraintsArgs) ToTableConstraintsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TableConstraintsOutput) } +func (i TableConstraintsArgs) ToOutput(ctx context.Context) pulumix.Output[TableConstraints] { + return pulumix.Output[TableConstraints]{ + OutputState: i.ToTableConstraintsOutputWithContext(ctx).OutputState, + } +} + func (i TableConstraintsArgs) ToTableConstraintsPtrOutput() TableConstraintsPtrOutput { return i.ToTableConstraintsPtrOutputWithContext(context.Background()) } @@ -14394,6 +16213,12 @@ func (i *tableConstraintsPtrType) ToTableConstraintsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(TableConstraintsPtrOutput) } +func (i *tableConstraintsPtrType) ToOutput(ctx context.Context) pulumix.Output[*TableConstraints] { + return pulumix.Output[*TableConstraints]{ + OutputState: i.ToTableConstraintsPtrOutputWithContext(ctx).OutputState, + } +} + type TableConstraintsOutput struct{ *pulumi.OutputState } func (TableConstraintsOutput) ElementType() reflect.Type { @@ -14418,6 +16243,12 @@ func (o TableConstraintsOutput) ToTableConstraintsPtrOutputWithContext(ctx conte }).(TableConstraintsPtrOutput) } +func (o TableConstraintsOutput) ToOutput(ctx context.Context) pulumix.Output[TableConstraints] { + return pulumix.Output[TableConstraints]{ + OutputState: o.OutputState, + } +} + // [Optional] The foreign keys of the tables. func (o TableConstraintsOutput) ForeignKeys() TableConstraintsForeignKeysItemArrayOutput { return o.ApplyT(func(v TableConstraints) []TableConstraintsForeignKeysItem { return v.ForeignKeys }).(TableConstraintsForeignKeysItemArrayOutput) @@ -14442,6 +16273,12 @@ func (o TableConstraintsPtrOutput) ToTableConstraintsPtrOutputWithContext(ctx co return o } +func (o TableConstraintsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TableConstraints] { + return pulumix.Output[*TableConstraints]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsPtrOutput) Elem() TableConstraintsOutput { return o.ApplyT(func(v *TableConstraints) TableConstraints { if v != nil { @@ -14507,6 +16344,12 @@ func (i TableConstraintsForeignKeysItemArgs) ToTableConstraintsForeignKeysItemOu return pulumi.ToOutputWithContext(ctx, i).(TableConstraintsForeignKeysItemOutput) } +func (i TableConstraintsForeignKeysItemArgs) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsForeignKeysItem] { + return pulumix.Output[TableConstraintsForeignKeysItem]{ + OutputState: i.ToTableConstraintsForeignKeysItemOutputWithContext(ctx).OutputState, + } +} + // TableConstraintsForeignKeysItemArrayInput is an input type that accepts TableConstraintsForeignKeysItemArray and TableConstraintsForeignKeysItemArrayOutput values. // You can construct a concrete instance of `TableConstraintsForeignKeysItemArrayInput` via: // @@ -14532,6 +16375,12 @@ func (i TableConstraintsForeignKeysItemArray) ToTableConstraintsForeignKeysItemA return pulumi.ToOutputWithContext(ctx, i).(TableConstraintsForeignKeysItemArrayOutput) } +func (i TableConstraintsForeignKeysItemArray) ToOutput(ctx context.Context) pulumix.Output[[]TableConstraintsForeignKeysItem] { + return pulumix.Output[[]TableConstraintsForeignKeysItem]{ + OutputState: i.ToTableConstraintsForeignKeysItemArrayOutputWithContext(ctx).OutputState, + } +} + type TableConstraintsForeignKeysItemOutput struct{ *pulumi.OutputState } func (TableConstraintsForeignKeysItemOutput) ElementType() reflect.Type { @@ -14546,6 +16395,12 @@ func (o TableConstraintsForeignKeysItemOutput) ToTableConstraintsForeignKeysItem return o } +func (o TableConstraintsForeignKeysItemOutput) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsForeignKeysItem] { + return pulumix.Output[TableConstraintsForeignKeysItem]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemOutput) ColumnReferences() TableConstraintsForeignKeysItemColumnReferencesItemArrayOutput { return o.ApplyT(func(v TableConstraintsForeignKeysItem) []TableConstraintsForeignKeysItemColumnReferencesItem { return v.ColumnReferences @@ -14576,6 +16431,12 @@ func (o TableConstraintsForeignKeysItemArrayOutput) ToTableConstraintsForeignKey return o } +func (o TableConstraintsForeignKeysItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TableConstraintsForeignKeysItem] { + return pulumix.Output[[]TableConstraintsForeignKeysItem]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemArrayOutput) Index(i pulumi.IntInput) TableConstraintsForeignKeysItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableConstraintsForeignKeysItem { return vs[0].([]TableConstraintsForeignKeysItem)[vs[1].(int)] @@ -14615,6 +16476,12 @@ func (i TableConstraintsForeignKeysItemColumnReferencesItemArgs) ToTableConstrai return pulumi.ToOutputWithContext(ctx, i).(TableConstraintsForeignKeysItemColumnReferencesItemOutput) } +func (i TableConstraintsForeignKeysItemColumnReferencesItemArgs) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsForeignKeysItemColumnReferencesItem] { + return pulumix.Output[TableConstraintsForeignKeysItemColumnReferencesItem]{ + OutputState: i.ToTableConstraintsForeignKeysItemColumnReferencesItemOutputWithContext(ctx).OutputState, + } +} + // TableConstraintsForeignKeysItemColumnReferencesItemArrayInput is an input type that accepts TableConstraintsForeignKeysItemColumnReferencesItemArray and TableConstraintsForeignKeysItemColumnReferencesItemArrayOutput values. // You can construct a concrete instance of `TableConstraintsForeignKeysItemColumnReferencesItemArrayInput` via: // @@ -14640,6 +16507,12 @@ func (i TableConstraintsForeignKeysItemColumnReferencesItemArray) ToTableConstra return pulumi.ToOutputWithContext(ctx, i).(TableConstraintsForeignKeysItemColumnReferencesItemArrayOutput) } +func (i TableConstraintsForeignKeysItemColumnReferencesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]TableConstraintsForeignKeysItemColumnReferencesItem] { + return pulumix.Output[[]TableConstraintsForeignKeysItemColumnReferencesItem]{ + OutputState: i.ToTableConstraintsForeignKeysItemColumnReferencesItemArrayOutputWithContext(ctx).OutputState, + } +} + type TableConstraintsForeignKeysItemColumnReferencesItemOutput struct{ *pulumi.OutputState } func (TableConstraintsForeignKeysItemColumnReferencesItemOutput) ElementType() reflect.Type { @@ -14654,6 +16527,12 @@ func (o TableConstraintsForeignKeysItemColumnReferencesItemOutput) ToTableConstr return o } +func (o TableConstraintsForeignKeysItemColumnReferencesItemOutput) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsForeignKeysItemColumnReferencesItem] { + return pulumix.Output[TableConstraintsForeignKeysItemColumnReferencesItem]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemColumnReferencesItemOutput) ReferencedColumn() pulumi.StringPtrOutput { return o.ApplyT(func(v TableConstraintsForeignKeysItemColumnReferencesItem) *string { return v.ReferencedColumn }).(pulumi.StringPtrOutput) } @@ -14676,6 +16555,12 @@ func (o TableConstraintsForeignKeysItemColumnReferencesItemArrayOutput) ToTableC return o } +func (o TableConstraintsForeignKeysItemColumnReferencesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TableConstraintsForeignKeysItemColumnReferencesItem] { + return pulumix.Output[[]TableConstraintsForeignKeysItemColumnReferencesItem]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemColumnReferencesItemArrayOutput) Index(i pulumi.IntInput) TableConstraintsForeignKeysItemColumnReferencesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableConstraintsForeignKeysItemColumnReferencesItem { return vs[0].([]TableConstraintsForeignKeysItemColumnReferencesItem)[vs[1].(int)] @@ -14701,6 +16586,12 @@ func (o TableConstraintsForeignKeysItemColumnReferencesItemResponseOutput) ToTab return o } +func (o TableConstraintsForeignKeysItemColumnReferencesItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsForeignKeysItemColumnReferencesItemResponse] { + return pulumix.Output[TableConstraintsForeignKeysItemColumnReferencesItemResponse]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemColumnReferencesItemResponseOutput) ReferencedColumn() pulumi.StringOutput { return o.ApplyT(func(v TableConstraintsForeignKeysItemColumnReferencesItemResponse) string { return v.ReferencedColumn }).(pulumi.StringOutput) } @@ -14723,6 +16614,12 @@ func (o TableConstraintsForeignKeysItemColumnReferencesItemResponseArrayOutput) return o } +func (o TableConstraintsForeignKeysItemColumnReferencesItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TableConstraintsForeignKeysItemColumnReferencesItemResponse] { + return pulumix.Output[[]TableConstraintsForeignKeysItemColumnReferencesItemResponse]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemColumnReferencesItemResponseArrayOutput) Index(i pulumi.IntInput) TableConstraintsForeignKeysItemColumnReferencesItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableConstraintsForeignKeysItemColumnReferencesItemResponse { return vs[0].([]TableConstraintsForeignKeysItemColumnReferencesItemResponse)[vs[1].(int)] @@ -14764,6 +16661,12 @@ func (i TableConstraintsForeignKeysItemReferencedTableArgs) ToTableConstraintsFo return pulumi.ToOutputWithContext(ctx, i).(TableConstraintsForeignKeysItemReferencedTableOutput) } +func (i TableConstraintsForeignKeysItemReferencedTableArgs) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsForeignKeysItemReferencedTable] { + return pulumix.Output[TableConstraintsForeignKeysItemReferencedTable]{ + OutputState: i.ToTableConstraintsForeignKeysItemReferencedTableOutputWithContext(ctx).OutputState, + } +} + func (i TableConstraintsForeignKeysItemReferencedTableArgs) ToTableConstraintsForeignKeysItemReferencedTablePtrOutput() TableConstraintsForeignKeysItemReferencedTablePtrOutput { return i.ToTableConstraintsForeignKeysItemReferencedTablePtrOutputWithContext(context.Background()) } @@ -14805,6 +16708,12 @@ func (i *tableConstraintsForeignKeysItemReferencedTablePtrType) ToTableConstrain return pulumi.ToOutputWithContext(ctx, i).(TableConstraintsForeignKeysItemReferencedTablePtrOutput) } +func (i *tableConstraintsForeignKeysItemReferencedTablePtrType) ToOutput(ctx context.Context) pulumix.Output[*TableConstraintsForeignKeysItemReferencedTable] { + return pulumix.Output[*TableConstraintsForeignKeysItemReferencedTable]{ + OutputState: i.ToTableConstraintsForeignKeysItemReferencedTablePtrOutputWithContext(ctx).OutputState, + } +} + type TableConstraintsForeignKeysItemReferencedTableOutput struct{ *pulumi.OutputState } func (TableConstraintsForeignKeysItemReferencedTableOutput) ElementType() reflect.Type { @@ -14829,6 +16738,12 @@ func (o TableConstraintsForeignKeysItemReferencedTableOutput) ToTableConstraints }).(TableConstraintsForeignKeysItemReferencedTablePtrOutput) } +func (o TableConstraintsForeignKeysItemReferencedTableOutput) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsForeignKeysItemReferencedTable] { + return pulumix.Output[TableConstraintsForeignKeysItemReferencedTable]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemReferencedTableOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v TableConstraintsForeignKeysItemReferencedTable) *string { return v.DatasetId }).(pulumi.StringPtrOutput) } @@ -14855,6 +16770,12 @@ func (o TableConstraintsForeignKeysItemReferencedTablePtrOutput) ToTableConstrai return o } +func (o TableConstraintsForeignKeysItemReferencedTablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TableConstraintsForeignKeysItemReferencedTable] { + return pulumix.Output[*TableConstraintsForeignKeysItemReferencedTable]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemReferencedTablePtrOutput) Elem() TableConstraintsForeignKeysItemReferencedTableOutput { return o.ApplyT(func(v *TableConstraintsForeignKeysItemReferencedTable) TableConstraintsForeignKeysItemReferencedTable { if v != nil { @@ -14912,6 +16833,12 @@ func (o TableConstraintsForeignKeysItemReferencedTableResponseOutput) ToTableCon return o } +func (o TableConstraintsForeignKeysItemReferencedTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsForeignKeysItemReferencedTableResponse] { + return pulumix.Output[TableConstraintsForeignKeysItemReferencedTableResponse]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemReferencedTableResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v TableConstraintsForeignKeysItemReferencedTableResponse) string { return v.DatasetId }).(pulumi.StringOutput) } @@ -14944,6 +16871,12 @@ func (o TableConstraintsForeignKeysItemResponseOutput) ToTableConstraintsForeign return o } +func (o TableConstraintsForeignKeysItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsForeignKeysItemResponse] { + return pulumix.Output[TableConstraintsForeignKeysItemResponse]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemResponseOutput) ColumnReferences() TableConstraintsForeignKeysItemColumnReferencesItemResponseArrayOutput { return o.ApplyT(func(v TableConstraintsForeignKeysItemResponse) []TableConstraintsForeignKeysItemColumnReferencesItemResponse { return v.ColumnReferences @@ -14974,6 +16907,12 @@ func (o TableConstraintsForeignKeysItemResponseArrayOutput) ToTableConstraintsFo return o } +func (o TableConstraintsForeignKeysItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TableConstraintsForeignKeysItemResponse] { + return pulumix.Output[[]TableConstraintsForeignKeysItemResponse]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsForeignKeysItemResponseArrayOutput) Index(i pulumi.IntInput) TableConstraintsForeignKeysItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableConstraintsForeignKeysItemResponse { return vs[0].([]TableConstraintsForeignKeysItemResponse)[vs[1].(int)] @@ -15013,6 +16952,12 @@ func (i TableConstraintsPrimaryKeyArgs) ToTableConstraintsPrimaryKeyOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(TableConstraintsPrimaryKeyOutput) } +func (i TableConstraintsPrimaryKeyArgs) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsPrimaryKey] { + return pulumix.Output[TableConstraintsPrimaryKey]{ + OutputState: i.ToTableConstraintsPrimaryKeyOutputWithContext(ctx).OutputState, + } +} + func (i TableConstraintsPrimaryKeyArgs) ToTableConstraintsPrimaryKeyPtrOutput() TableConstraintsPrimaryKeyPtrOutput { return i.ToTableConstraintsPrimaryKeyPtrOutputWithContext(context.Background()) } @@ -15054,6 +16999,12 @@ func (i *tableConstraintsPrimaryKeyPtrType) ToTableConstraintsPrimaryKeyPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(TableConstraintsPrimaryKeyPtrOutput) } +func (i *tableConstraintsPrimaryKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*TableConstraintsPrimaryKey] { + return pulumix.Output[*TableConstraintsPrimaryKey]{ + OutputState: i.ToTableConstraintsPrimaryKeyPtrOutputWithContext(ctx).OutputState, + } +} + // [Optional] The primary key of the table. type TableConstraintsPrimaryKeyOutput struct{ *pulumi.OutputState } @@ -15079,6 +17030,12 @@ func (o TableConstraintsPrimaryKeyOutput) ToTableConstraintsPrimaryKeyPtrOutputW }).(TableConstraintsPrimaryKeyPtrOutput) } +func (o TableConstraintsPrimaryKeyOutput) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsPrimaryKey] { + return pulumix.Output[TableConstraintsPrimaryKey]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsPrimaryKeyOutput) Columns() pulumi.StringArrayOutput { return o.ApplyT(func(v TableConstraintsPrimaryKey) []string { return v.Columns }).(pulumi.StringArrayOutput) } @@ -15097,6 +17054,12 @@ func (o TableConstraintsPrimaryKeyPtrOutput) ToTableConstraintsPrimaryKeyPtrOutp return o } +func (o TableConstraintsPrimaryKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TableConstraintsPrimaryKey] { + return pulumix.Output[*TableConstraintsPrimaryKey]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsPrimaryKeyPtrOutput) Elem() TableConstraintsPrimaryKeyOutput { return o.ApplyT(func(v *TableConstraintsPrimaryKey) TableConstraintsPrimaryKey { if v != nil { @@ -15136,6 +17099,12 @@ func (o TableConstraintsPrimaryKeyResponseOutput) ToTableConstraintsPrimaryKeyRe return o } +func (o TableConstraintsPrimaryKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsPrimaryKeyResponse] { + return pulumix.Output[TableConstraintsPrimaryKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o TableConstraintsPrimaryKeyResponseOutput) Columns() pulumi.StringArrayOutput { return o.ApplyT(func(v TableConstraintsPrimaryKeyResponse) []string { return v.Columns }).(pulumi.StringArrayOutput) } @@ -15161,6 +17130,12 @@ func (o TableConstraintsResponseOutput) ToTableConstraintsResponseOutputWithCont return o } +func (o TableConstraintsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableConstraintsResponse] { + return pulumix.Output[TableConstraintsResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] The foreign keys of the tables. func (o TableConstraintsResponseOutput) ForeignKeys() TableConstraintsForeignKeysItemResponseArrayOutput { return o.ApplyT(func(v TableConstraintsResponse) []TableConstraintsForeignKeysItemResponse { return v.ForeignKeys }).(TableConstraintsForeignKeysItemResponseArrayOutput) @@ -15250,6 +17225,12 @@ func (i TableFieldSchemaArgs) ToTableFieldSchemaOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TableFieldSchemaOutput) } +func (i TableFieldSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[TableFieldSchema] { + return pulumix.Output[TableFieldSchema]{ + OutputState: i.ToTableFieldSchemaOutputWithContext(ctx).OutputState, + } +} + // TableFieldSchemaArrayInput is an input type that accepts TableFieldSchemaArray and TableFieldSchemaArrayOutput values. // You can construct a concrete instance of `TableFieldSchemaArrayInput` via: // @@ -15275,6 +17256,12 @@ func (i TableFieldSchemaArray) ToTableFieldSchemaArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TableFieldSchemaArrayOutput) } +func (i TableFieldSchemaArray) ToOutput(ctx context.Context) pulumix.Output[[]TableFieldSchema] { + return pulumix.Output[[]TableFieldSchema]{ + OutputState: i.ToTableFieldSchemaArrayOutputWithContext(ctx).OutputState, + } +} + type TableFieldSchemaOutput struct{ *pulumi.OutputState } func (TableFieldSchemaOutput) ElementType() reflect.Type { @@ -15289,6 +17276,12 @@ func (o TableFieldSchemaOutput) ToTableFieldSchemaOutputWithContext(ctx context. return o } +func (o TableFieldSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[TableFieldSchema] { + return pulumix.Output[TableFieldSchema]{ + OutputState: o.OutputState, + } +} + // [Optional] The categories attached to this field, used for field-level access control. func (o TableFieldSchemaOutput) Categories() TableFieldSchemaCategoriesPtrOutput { return o.ApplyT(func(v TableFieldSchema) *TableFieldSchemaCategories { return v.Categories }).(TableFieldSchemaCategoriesPtrOutput) @@ -15367,6 +17360,12 @@ func (o TableFieldSchemaArrayOutput) ToTableFieldSchemaArrayOutputWithContext(ct return o } +func (o TableFieldSchemaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TableFieldSchema] { + return pulumix.Output[[]TableFieldSchema]{ + OutputState: o.OutputState, + } +} + func (o TableFieldSchemaArrayOutput) Index(i pulumi.IntInput) TableFieldSchemaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableFieldSchema { return vs[0].([]TableFieldSchema)[vs[1].(int)] @@ -15408,6 +17407,12 @@ func (i TableFieldSchemaCategoriesArgs) ToTableFieldSchemaCategoriesOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(TableFieldSchemaCategoriesOutput) } +func (i TableFieldSchemaCategoriesArgs) ToOutput(ctx context.Context) pulumix.Output[TableFieldSchemaCategories] { + return pulumix.Output[TableFieldSchemaCategories]{ + OutputState: i.ToTableFieldSchemaCategoriesOutputWithContext(ctx).OutputState, + } +} + func (i TableFieldSchemaCategoriesArgs) ToTableFieldSchemaCategoriesPtrOutput() TableFieldSchemaCategoriesPtrOutput { return i.ToTableFieldSchemaCategoriesPtrOutputWithContext(context.Background()) } @@ -15449,6 +17454,12 @@ func (i *tableFieldSchemaCategoriesPtrType) ToTableFieldSchemaCategoriesPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(TableFieldSchemaCategoriesPtrOutput) } +func (i *tableFieldSchemaCategoriesPtrType) ToOutput(ctx context.Context) pulumix.Output[*TableFieldSchemaCategories] { + return pulumix.Output[*TableFieldSchemaCategories]{ + OutputState: i.ToTableFieldSchemaCategoriesPtrOutputWithContext(ctx).OutputState, + } +} + // [Optional] The categories attached to this field, used for field-level access control. type TableFieldSchemaCategoriesOutput struct{ *pulumi.OutputState } @@ -15474,6 +17485,12 @@ func (o TableFieldSchemaCategoriesOutput) ToTableFieldSchemaCategoriesPtrOutputW }).(TableFieldSchemaCategoriesPtrOutput) } +func (o TableFieldSchemaCategoriesOutput) ToOutput(ctx context.Context) pulumix.Output[TableFieldSchemaCategories] { + return pulumix.Output[TableFieldSchemaCategories]{ + OutputState: o.OutputState, + } +} + // A list of category resource names. For example, "projects/1/taxonomies/2/categories/3". At most 5 categories are allowed. func (o TableFieldSchemaCategoriesOutput) Names() pulumi.StringArrayOutput { return o.ApplyT(func(v TableFieldSchemaCategories) []string { return v.Names }).(pulumi.StringArrayOutput) @@ -15493,6 +17510,12 @@ func (o TableFieldSchemaCategoriesPtrOutput) ToTableFieldSchemaCategoriesPtrOutp return o } +func (o TableFieldSchemaCategoriesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TableFieldSchemaCategories] { + return pulumix.Output[*TableFieldSchemaCategories]{ + OutputState: o.OutputState, + } +} + func (o TableFieldSchemaCategoriesPtrOutput) Elem() TableFieldSchemaCategoriesOutput { return o.ApplyT(func(v *TableFieldSchemaCategories) TableFieldSchemaCategories { if v != nil { @@ -15534,6 +17557,12 @@ func (o TableFieldSchemaCategoriesResponseOutput) ToTableFieldSchemaCategoriesRe return o } +func (o TableFieldSchemaCategoriesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableFieldSchemaCategoriesResponse] { + return pulumix.Output[TableFieldSchemaCategoriesResponse]{ + OutputState: o.OutputState, + } +} + // A list of category resource names. For example, "projects/1/taxonomies/2/categories/3". At most 5 categories are allowed. func (o TableFieldSchemaCategoriesResponseOutput) Names() pulumi.StringArrayOutput { return o.ApplyT(func(v TableFieldSchemaCategoriesResponse) []string { return v.Names }).(pulumi.StringArrayOutput) @@ -15572,6 +17601,12 @@ func (i TableFieldSchemaPolicyTagsArgs) ToTableFieldSchemaPolicyTagsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(TableFieldSchemaPolicyTagsOutput) } +func (i TableFieldSchemaPolicyTagsArgs) ToOutput(ctx context.Context) pulumix.Output[TableFieldSchemaPolicyTags] { + return pulumix.Output[TableFieldSchemaPolicyTags]{ + OutputState: i.ToTableFieldSchemaPolicyTagsOutputWithContext(ctx).OutputState, + } +} + func (i TableFieldSchemaPolicyTagsArgs) ToTableFieldSchemaPolicyTagsPtrOutput() TableFieldSchemaPolicyTagsPtrOutput { return i.ToTableFieldSchemaPolicyTagsPtrOutputWithContext(context.Background()) } @@ -15613,6 +17648,12 @@ func (i *tableFieldSchemaPolicyTagsPtrType) ToTableFieldSchemaPolicyTagsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(TableFieldSchemaPolicyTagsPtrOutput) } +func (i *tableFieldSchemaPolicyTagsPtrType) ToOutput(ctx context.Context) pulumix.Output[*TableFieldSchemaPolicyTags] { + return pulumix.Output[*TableFieldSchemaPolicyTags]{ + OutputState: i.ToTableFieldSchemaPolicyTagsPtrOutputWithContext(ctx).OutputState, + } +} + type TableFieldSchemaPolicyTagsOutput struct{ *pulumi.OutputState } func (TableFieldSchemaPolicyTagsOutput) ElementType() reflect.Type { @@ -15637,6 +17678,12 @@ func (o TableFieldSchemaPolicyTagsOutput) ToTableFieldSchemaPolicyTagsPtrOutputW }).(TableFieldSchemaPolicyTagsPtrOutput) } +func (o TableFieldSchemaPolicyTagsOutput) ToOutput(ctx context.Context) pulumix.Output[TableFieldSchemaPolicyTags] { + return pulumix.Output[TableFieldSchemaPolicyTags]{ + OutputState: o.OutputState, + } +} + // A list of category resource names. For example, "projects/1/location/eu/taxonomies/2/policyTags/3". At most 1 policy tag is allowed. func (o TableFieldSchemaPolicyTagsOutput) Names() pulumi.StringArrayOutput { return o.ApplyT(func(v TableFieldSchemaPolicyTags) []string { return v.Names }).(pulumi.StringArrayOutput) @@ -15656,6 +17703,12 @@ func (o TableFieldSchemaPolicyTagsPtrOutput) ToTableFieldSchemaPolicyTagsPtrOutp return o } +func (o TableFieldSchemaPolicyTagsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TableFieldSchemaPolicyTags] { + return pulumix.Output[*TableFieldSchemaPolicyTags]{ + OutputState: o.OutputState, + } +} + func (o TableFieldSchemaPolicyTagsPtrOutput) Elem() TableFieldSchemaPolicyTagsOutput { return o.ApplyT(func(v *TableFieldSchemaPolicyTags) TableFieldSchemaPolicyTags { if v != nil { @@ -15695,6 +17748,12 @@ func (o TableFieldSchemaPolicyTagsResponseOutput) ToTableFieldSchemaPolicyTagsRe return o } +func (o TableFieldSchemaPolicyTagsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableFieldSchemaPolicyTagsResponse] { + return pulumix.Output[TableFieldSchemaPolicyTagsResponse]{ + OutputState: o.OutputState, + } +} + // A list of category resource names. For example, "projects/1/location/eu/taxonomies/2/policyTags/3". At most 1 policy tag is allowed. func (o TableFieldSchemaPolicyTagsResponseOutput) Names() pulumi.StringArrayOutput { return o.ApplyT(func(v TableFieldSchemaPolicyTagsResponse) []string { return v.Names }).(pulumi.StringArrayOutput) @@ -15742,6 +17801,12 @@ func (o TableFieldSchemaResponseOutput) ToTableFieldSchemaResponseOutputWithCont return o } +func (o TableFieldSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableFieldSchemaResponse] { + return pulumix.Output[TableFieldSchemaResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] The categories attached to this field, used for field-level access control. func (o TableFieldSchemaResponseOutput) Categories() TableFieldSchemaCategoriesResponseOutput { return o.ApplyT(func(v TableFieldSchemaResponse) TableFieldSchemaCategoriesResponse { return v.Categories }).(TableFieldSchemaCategoriesResponseOutput) @@ -15820,6 +17885,12 @@ func (o TableFieldSchemaResponseArrayOutput) ToTableFieldSchemaResponseArrayOutp return o } +func (o TableFieldSchemaResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TableFieldSchemaResponse] { + return pulumix.Output[[]TableFieldSchemaResponse]{ + OutputState: o.OutputState, + } +} + func (o TableFieldSchemaResponseArrayOutput) Index(i pulumi.IntInput) TableFieldSchemaResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableFieldSchemaResponse { return vs[0].([]TableFieldSchemaResponse)[vs[1].(int)] @@ -15867,6 +17938,12 @@ func (i TableReferenceArgs) ToTableReferenceOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(TableReferenceOutput) } +func (i TableReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[TableReference] { + return pulumix.Output[TableReference]{ + OutputState: i.ToTableReferenceOutputWithContext(ctx).OutputState, + } +} + func (i TableReferenceArgs) ToTableReferencePtrOutput() TableReferencePtrOutput { return i.ToTableReferencePtrOutputWithContext(context.Background()) } @@ -15908,6 +17985,12 @@ func (i *tableReferencePtrType) ToTableReferencePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(TableReferencePtrOutput) } +func (i *tableReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*TableReference] { + return pulumix.Output[*TableReference]{ + OutputState: i.ToTableReferencePtrOutputWithContext(ctx).OutputState, + } +} + // TableReferenceArrayInput is an input type that accepts TableReferenceArray and TableReferenceArrayOutput values. // You can construct a concrete instance of `TableReferenceArrayInput` via: // @@ -15933,6 +18016,12 @@ func (i TableReferenceArray) ToTableReferenceArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TableReferenceArrayOutput) } +func (i TableReferenceArray) ToOutput(ctx context.Context) pulumix.Output[[]TableReference] { + return pulumix.Output[[]TableReference]{ + OutputState: i.ToTableReferenceArrayOutputWithContext(ctx).OutputState, + } +} + type TableReferenceOutput struct{ *pulumi.OutputState } func (TableReferenceOutput) ElementType() reflect.Type { @@ -15957,6 +18046,12 @@ func (o TableReferenceOutput) ToTableReferencePtrOutputWithContext(ctx context.C }).(TableReferencePtrOutput) } +func (o TableReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[TableReference] { + return pulumix.Output[TableReference]{ + OutputState: o.OutputState, + } +} + // [Required] The ID of the dataset containing this table. func (o TableReferenceOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v TableReference) *string { return v.DatasetId }).(pulumi.StringPtrOutput) @@ -15986,6 +18081,12 @@ func (o TableReferencePtrOutput) ToTableReferencePtrOutputWithContext(ctx contex return o } +func (o TableReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TableReference] { + return pulumix.Output[*TableReference]{ + OutputState: o.OutputState, + } +} + func (o TableReferencePtrOutput) Elem() TableReferenceOutput { return o.ApplyT(func(v *TableReference) TableReference { if v != nil { @@ -16040,6 +18141,12 @@ func (o TableReferenceArrayOutput) ToTableReferenceArrayOutputWithContext(ctx co return o } +func (o TableReferenceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TableReference] { + return pulumix.Output[[]TableReference]{ + OutputState: o.OutputState, + } +} + func (o TableReferenceArrayOutput) Index(i pulumi.IntInput) TableReferenceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableReference { return vs[0].([]TableReference)[vs[1].(int)] @@ -16069,6 +18176,12 @@ func (o TableReferenceResponseOutput) ToTableReferenceResponseOutputWithContext( return o } +func (o TableReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableReferenceResponse] { + return pulumix.Output[TableReferenceResponse]{ + OutputState: o.OutputState, + } +} + // [Required] The ID of the dataset containing this table. func (o TableReferenceResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v TableReferenceResponse) string { return v.DatasetId }).(pulumi.StringOutput) @@ -16098,6 +18211,12 @@ func (o TableReferenceResponseArrayOutput) ToTableReferenceResponseArrayOutputWi return o } +func (o TableReferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TableReferenceResponse] { + return pulumix.Output[[]TableReferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o TableReferenceResponseArrayOutput) Index(i pulumi.IntInput) TableReferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableReferenceResponse { return vs[0].([]TableReferenceResponse)[vs[1].(int)] @@ -16137,6 +18256,12 @@ func (i TableSchemaArgs) ToTableSchemaOutputWithContext(ctx context.Context) Tab return pulumi.ToOutputWithContext(ctx, i).(TableSchemaOutput) } +func (i TableSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[TableSchema] { + return pulumix.Output[TableSchema]{ + OutputState: i.ToTableSchemaOutputWithContext(ctx).OutputState, + } +} + func (i TableSchemaArgs) ToTableSchemaPtrOutput() TableSchemaPtrOutput { return i.ToTableSchemaPtrOutputWithContext(context.Background()) } @@ -16178,6 +18303,12 @@ func (i *tableSchemaPtrType) ToTableSchemaPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TableSchemaPtrOutput) } +func (i *tableSchemaPtrType) ToOutput(ctx context.Context) pulumix.Output[*TableSchema] { + return pulumix.Output[*TableSchema]{ + OutputState: i.ToTableSchemaPtrOutputWithContext(ctx).OutputState, + } +} + type TableSchemaOutput struct{ *pulumi.OutputState } func (TableSchemaOutput) ElementType() reflect.Type { @@ -16202,6 +18333,12 @@ func (o TableSchemaOutput) ToTableSchemaPtrOutputWithContext(ctx context.Context }).(TableSchemaPtrOutput) } +func (o TableSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[TableSchema] { + return pulumix.Output[TableSchema]{ + OutputState: o.OutputState, + } +} + // Describes the fields in a table. func (o TableSchemaOutput) Fields() TableFieldSchemaArrayOutput { return o.ApplyT(func(v TableSchema) []TableFieldSchema { return v.Fields }).(TableFieldSchemaArrayOutput) @@ -16221,6 +18358,12 @@ func (o TableSchemaPtrOutput) ToTableSchemaPtrOutputWithContext(ctx context.Cont return o } +func (o TableSchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TableSchema] { + return pulumix.Output[*TableSchema]{ + OutputState: o.OutputState, + } +} + func (o TableSchemaPtrOutput) Elem() TableSchemaOutput { return o.ApplyT(func(v *TableSchema) TableSchema { if v != nil { @@ -16260,6 +18403,12 @@ func (o TableSchemaResponseOutput) ToTableSchemaResponseOutputWithContext(ctx co return o } +func (o TableSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableSchemaResponse] { + return pulumix.Output[TableSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Describes the fields in a table. func (o TableSchemaResponseOutput) Fields() TableFieldSchemaResponseArrayOutput { return o.ApplyT(func(v TableSchemaResponse) []TableFieldSchemaResponse { return v.Fields }).(TableFieldSchemaResponseArrayOutput) @@ -16308,6 +18457,12 @@ func (i TimePartitioningArgs) ToTimePartitioningOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TimePartitioningOutput) } +func (i TimePartitioningArgs) ToOutput(ctx context.Context) pulumix.Output[TimePartitioning] { + return pulumix.Output[TimePartitioning]{ + OutputState: i.ToTimePartitioningOutputWithContext(ctx).OutputState, + } +} + func (i TimePartitioningArgs) ToTimePartitioningPtrOutput() TimePartitioningPtrOutput { return i.ToTimePartitioningPtrOutputWithContext(context.Background()) } @@ -16349,6 +18504,12 @@ func (i *timePartitioningPtrType) ToTimePartitioningPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(TimePartitioningPtrOutput) } +func (i *timePartitioningPtrType) ToOutput(ctx context.Context) pulumix.Output[*TimePartitioning] { + return pulumix.Output[*TimePartitioning]{ + OutputState: i.ToTimePartitioningPtrOutputWithContext(ctx).OutputState, + } +} + type TimePartitioningOutput struct{ *pulumi.OutputState } func (TimePartitioningOutput) ElementType() reflect.Type { @@ -16373,6 +18534,12 @@ func (o TimePartitioningOutput) ToTimePartitioningPtrOutputWithContext(ctx conte }).(TimePartitioningPtrOutput) } +func (o TimePartitioningOutput) ToOutput(ctx context.Context) pulumix.Output[TimePartitioning] { + return pulumix.Output[TimePartitioning]{ + OutputState: o.OutputState, + } +} + // [Optional] Number of milliseconds for which to keep the storage for partitions in the table. The storage in a partition will have an expiration time of its partition time plus this value. func (o TimePartitioningOutput) ExpirationMs() pulumi.StringPtrOutput { return o.ApplyT(func(v TimePartitioning) *string { return v.ExpirationMs }).(pulumi.StringPtrOutput) @@ -16406,6 +18573,12 @@ func (o TimePartitioningPtrOutput) ToTimePartitioningPtrOutputWithContext(ctx co return o } +func (o TimePartitioningPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimePartitioning] { + return pulumix.Output[*TimePartitioning]{ + OutputState: o.OutputState, + } +} + func (o TimePartitioningPtrOutput) Elem() TimePartitioningOutput { return o.ApplyT(func(v *TimePartitioning) TimePartitioning { if v != nil { @@ -16479,6 +18652,12 @@ func (o TimePartitioningResponseOutput) ToTimePartitioningResponseOutputWithCont return o } +func (o TimePartitioningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimePartitioningResponse] { + return pulumix.Output[TimePartitioningResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] Number of milliseconds for which to keep the storage for partitions in the table. The storage in a partition will have an expiration time of its partition time plus this value. func (o TimePartitioningResponseOutput) ExpirationMs() pulumi.StringOutput { return o.ApplyT(func(v TimePartitioningResponse) string { return v.ExpirationMs }).(pulumi.StringOutput) @@ -16517,6 +18696,12 @@ func (o TransactionInfoResponseOutput) ToTransactionInfoResponseOutputWithContex return o } +func (o TransactionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TransactionInfoResponse] { + return pulumix.Output[TransactionInfoResponse]{ + OutputState: o.OutputState, + } +} + // // [Alpha] Id of the transaction. func (o TransactionInfoResponseOutput) TransactionId() pulumi.StringOutput { return o.ApplyT(func(v TransactionInfoResponse) string { return v.TransactionId }).(pulumi.StringOutput) @@ -16561,6 +18746,12 @@ func (i UserDefinedFunctionResourceArgs) ToUserDefinedFunctionResourceOutputWith return pulumi.ToOutputWithContext(ctx, i).(UserDefinedFunctionResourceOutput) } +func (i UserDefinedFunctionResourceArgs) ToOutput(ctx context.Context) pulumix.Output[UserDefinedFunctionResource] { + return pulumix.Output[UserDefinedFunctionResource]{ + OutputState: i.ToUserDefinedFunctionResourceOutputWithContext(ctx).OutputState, + } +} + // UserDefinedFunctionResourceArrayInput is an input type that accepts UserDefinedFunctionResourceArray and UserDefinedFunctionResourceArrayOutput values. // You can construct a concrete instance of `UserDefinedFunctionResourceArrayInput` via: // @@ -16586,6 +18777,12 @@ func (i UserDefinedFunctionResourceArray) ToUserDefinedFunctionResourceArrayOutp return pulumi.ToOutputWithContext(ctx, i).(UserDefinedFunctionResourceArrayOutput) } +func (i UserDefinedFunctionResourceArray) ToOutput(ctx context.Context) pulumix.Output[[]UserDefinedFunctionResource] { + return pulumix.Output[[]UserDefinedFunctionResource]{ + OutputState: i.ToUserDefinedFunctionResourceArrayOutputWithContext(ctx).OutputState, + } +} + // This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions type UserDefinedFunctionResourceOutput struct{ *pulumi.OutputState } @@ -16601,6 +18798,12 @@ func (o UserDefinedFunctionResourceOutput) ToUserDefinedFunctionResourceOutputWi return o } +func (o UserDefinedFunctionResourceOutput) ToOutput(ctx context.Context) pulumix.Output[UserDefinedFunctionResource] { + return pulumix.Output[UserDefinedFunctionResource]{ + OutputState: o.OutputState, + } +} + // [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code. func (o UserDefinedFunctionResourceOutput) InlineCode() pulumi.StringPtrOutput { return o.ApplyT(func(v UserDefinedFunctionResource) *string { return v.InlineCode }).(pulumi.StringPtrOutput) @@ -16625,6 +18828,12 @@ func (o UserDefinedFunctionResourceArrayOutput) ToUserDefinedFunctionResourceArr return o } +func (o UserDefinedFunctionResourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UserDefinedFunctionResource] { + return pulumix.Output[[]UserDefinedFunctionResource]{ + OutputState: o.OutputState, + } +} + func (o UserDefinedFunctionResourceArrayOutput) Index(i pulumi.IntInput) UserDefinedFunctionResourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserDefinedFunctionResource { return vs[0].([]UserDefinedFunctionResource)[vs[1].(int)] @@ -16654,6 +18863,12 @@ func (o UserDefinedFunctionResourceResponseOutput) ToUserDefinedFunctionResource return o } +func (o UserDefinedFunctionResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UserDefinedFunctionResourceResponse] { + return pulumix.Output[UserDefinedFunctionResourceResponse]{ + OutputState: o.OutputState, + } +} + // [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code. func (o UserDefinedFunctionResourceResponseOutput) InlineCode() pulumi.StringOutput { return o.ApplyT(func(v UserDefinedFunctionResourceResponse) string { return v.InlineCode }).(pulumi.StringOutput) @@ -16678,6 +18893,12 @@ func (o UserDefinedFunctionResourceResponseArrayOutput) ToUserDefinedFunctionRes return o } +func (o UserDefinedFunctionResourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UserDefinedFunctionResourceResponse] { + return pulumix.Output[[]UserDefinedFunctionResourceResponse]{ + OutputState: o.OutputState, + } +} + func (o UserDefinedFunctionResourceResponseArrayOutput) Index(i pulumi.IntInput) UserDefinedFunctionResourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserDefinedFunctionResourceResponse { return vs[0].([]UserDefinedFunctionResourceResponse)[vs[1].(int)] @@ -16729,6 +18950,12 @@ func (i ViewDefinitionArgs) ToViewDefinitionOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ViewDefinitionOutput) } +func (i ViewDefinitionArgs) ToOutput(ctx context.Context) pulumix.Output[ViewDefinition] { + return pulumix.Output[ViewDefinition]{ + OutputState: i.ToViewDefinitionOutputWithContext(ctx).OutputState, + } +} + func (i ViewDefinitionArgs) ToViewDefinitionPtrOutput() ViewDefinitionPtrOutput { return i.ToViewDefinitionPtrOutputWithContext(context.Background()) } @@ -16770,6 +18997,12 @@ func (i *viewDefinitionPtrType) ToViewDefinitionPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ViewDefinitionPtrOutput) } +func (i *viewDefinitionPtrType) ToOutput(ctx context.Context) pulumix.Output[*ViewDefinition] { + return pulumix.Output[*ViewDefinition]{ + OutputState: i.ToViewDefinitionPtrOutputWithContext(ctx).OutputState, + } +} + type ViewDefinitionOutput struct{ *pulumi.OutputState } func (ViewDefinitionOutput) ElementType() reflect.Type { @@ -16794,6 +19027,12 @@ func (o ViewDefinitionOutput) ToViewDefinitionPtrOutputWithContext(ctx context.C }).(ViewDefinitionPtrOutput) } +func (o ViewDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[ViewDefinition] { + return pulumix.Output[ViewDefinition]{ + OutputState: o.OutputState, + } +} + // [Required] A query that BigQuery executes when the view is referenced. func (o ViewDefinitionOutput) Query() pulumi.StringPtrOutput { return o.ApplyT(func(v ViewDefinition) *string { return v.Query }).(pulumi.StringPtrOutput) @@ -16828,6 +19067,12 @@ func (o ViewDefinitionPtrOutput) ToViewDefinitionPtrOutputWithContext(ctx contex return o } +func (o ViewDefinitionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ViewDefinition] { + return pulumix.Output[*ViewDefinition]{ + OutputState: o.OutputState, + } +} + func (o ViewDefinitionPtrOutput) Elem() ViewDefinitionOutput { return o.ApplyT(func(v *ViewDefinition) ViewDefinition { if v != nil { @@ -16903,6 +19148,12 @@ func (o ViewDefinitionResponseOutput) ToViewDefinitionResponseOutputWithContext( return o } +func (o ViewDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ViewDefinitionResponse] { + return pulumix.Output[ViewDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // [Required] A query that BigQuery executes when the view is referenced. func (o ViewDefinitionResponseOutput) Query() pulumi.StringOutput { return o.ApplyT(func(v ViewDefinitionResponse) string { return v.Query }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigquery/v2/routine.go b/sdk/go/google/bigquery/v2/routine.go index dd9166593d..a685531d58 100644 --- a/sdk/go/google/bigquery/v2/routine.go +++ b/sdk/go/google/bigquery/v2/routine.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new routine in the dataset. @@ -195,6 +196,12 @@ func (i *Routine) ToRoutineOutputWithContext(ctx context.Context) RoutineOutput return pulumi.ToOutputWithContext(ctx, i).(RoutineOutput) } +func (i *Routine) ToOutput(ctx context.Context) pulumix.Output[*Routine] { + return pulumix.Output[*Routine]{ + OutputState: i.ToRoutineOutputWithContext(ctx).OutputState, + } +} + type RoutineOutput struct{ *pulumi.OutputState } func (RoutineOutput) ElementType() reflect.Type { @@ -209,6 +216,12 @@ func (o RoutineOutput) ToRoutineOutputWithContext(ctx context.Context) RoutineOu return o } +func (o RoutineOutput) ToOutput(ctx context.Context) pulumix.Output[*Routine] { + return pulumix.Output[*Routine]{ + OutputState: o.OutputState, + } +} + // Optional. func (o RoutineOutput) Arguments() ArgumentResponseArrayOutput { return o.ApplyT(func(v *Routine) ArgumentResponseArrayOutput { return v.Arguments }).(ArgumentResponseArrayOutput) diff --git a/sdk/go/google/bigquery/v2/rowAccessPolicyIamBinding.go b/sdk/go/google/bigquery/v2/rowAccessPolicyIamBinding.go index ece564fe3f..5b09240e2a 100644 --- a/sdk/go/google/bigquery/v2/rowAccessPolicyIamBinding.go +++ b/sdk/go/google/bigquery/v2/rowAccessPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RowAccessPolicyIamBinding) ToRowAccessPolicyIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(RowAccessPolicyIamBindingOutput) } +func (i *RowAccessPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RowAccessPolicyIamBinding] { + return pulumix.Output[*RowAccessPolicyIamBinding]{ + OutputState: i.ToRowAccessPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type RowAccessPolicyIamBindingOutput struct{ *pulumi.OutputState } func (RowAccessPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RowAccessPolicyIamBindingOutput) ToRowAccessPolicyIamBindingOutputWithCo return o } +func (o RowAccessPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RowAccessPolicyIamBinding] { + return pulumix.Output[*RowAccessPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RowAccessPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RowAccessPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigquery/v2/rowAccessPolicyIamMember.go b/sdk/go/google/bigquery/v2/rowAccessPolicyIamMember.go index 4125e39bba..ed0991ca74 100644 --- a/sdk/go/google/bigquery/v2/rowAccessPolicyIamMember.go +++ b/sdk/go/google/bigquery/v2/rowAccessPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RowAccessPolicyIamMember) ToRowAccessPolicyIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RowAccessPolicyIamMemberOutput) } +func (i *RowAccessPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*RowAccessPolicyIamMember] { + return pulumix.Output[*RowAccessPolicyIamMember]{ + OutputState: i.ToRowAccessPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type RowAccessPolicyIamMemberOutput struct{ *pulumi.OutputState } func (RowAccessPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RowAccessPolicyIamMemberOutput) ToRowAccessPolicyIamMemberOutputWithCont return o } +func (o RowAccessPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RowAccessPolicyIamMember] { + return pulumix.Output[*RowAccessPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RowAccessPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RowAccessPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigquery/v2/rowAccessPolicyIamPolicy.go b/sdk/go/google/bigquery/v2/rowAccessPolicyIamPolicy.go index 399441e0a2..a123e5d5ed 100644 --- a/sdk/go/google/bigquery/v2/rowAccessPolicyIamPolicy.go +++ b/sdk/go/google/bigquery/v2/rowAccessPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -145,6 +146,12 @@ func (i *RowAccessPolicyIamPolicy) ToRowAccessPolicyIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RowAccessPolicyIamPolicyOutput) } +func (i *RowAccessPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RowAccessPolicyIamPolicy] { + return pulumix.Output[*RowAccessPolicyIamPolicy]{ + OutputState: i.ToRowAccessPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RowAccessPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (RowAccessPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o RowAccessPolicyIamPolicyOutput) ToRowAccessPolicyIamPolicyOutputWithCont return o } +func (o RowAccessPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RowAccessPolicyIamPolicy] { + return pulumix.Output[*RowAccessPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RowAccessPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RowAccessPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigquery/v2/table.go b/sdk/go/google/bigquery/v2/table.go index e11ce074ef..34be040ca2 100644 --- a/sdk/go/google/bigquery/v2/table.go +++ b/sdk/go/google/bigquery/v2/table.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new, empty table in the dataset. @@ -252,6 +253,12 @@ func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput { return pulumi.ToOutputWithContext(ctx, i).(TableOutput) } +func (i *Table) ToOutput(ctx context.Context) pulumix.Output[*Table] { + return pulumix.Output[*Table]{ + OutputState: i.ToTableOutputWithContext(ctx).OutputState, + } +} + type TableOutput struct{ *pulumi.OutputState } func (TableOutput) ElementType() reflect.Type { @@ -266,6 +273,12 @@ func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput { return o } +func (o TableOutput) ToOutput(ctx context.Context) pulumix.Output[*Table] { + return pulumix.Output[*Table]{ + OutputState: o.OutputState, + } +} + // Clone definition. func (o TableOutput) CloneDefinition() CloneDefinitionResponseOutput { return o.ApplyT(func(v *Table) CloneDefinitionResponseOutput { return v.CloneDefinition }).(CloneDefinitionResponseOutput) diff --git a/sdk/go/google/bigquery/v2/tableIamBinding.go b/sdk/go/google/bigquery/v2/tableIamBinding.go index fe602326e7..9a68eb0d6a 100644 --- a/sdk/go/google/bigquery/v2/tableIamBinding.go +++ b/sdk/go/google/bigquery/v2/tableIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TableIamBinding) ToTableIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TableIamBindingOutput) } +func (i *TableIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TableIamBinding] { + return pulumix.Output[*TableIamBinding]{ + OutputState: i.ToTableIamBindingOutputWithContext(ctx).OutputState, + } +} + type TableIamBindingOutput struct{ *pulumi.OutputState } func (TableIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TableIamBindingOutput) ToTableIamBindingOutputWithContext(ctx context.Co return o } +func (o TableIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TableIamBinding] { + return pulumix.Output[*TableIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TableIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TableIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigquery/v2/tableIamMember.go b/sdk/go/google/bigquery/v2/tableIamMember.go index da345d280f..0543b97410 100644 --- a/sdk/go/google/bigquery/v2/tableIamMember.go +++ b/sdk/go/google/bigquery/v2/tableIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TableIamMember) ToTableIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TableIamMemberOutput) } +func (i *TableIamMember) ToOutput(ctx context.Context) pulumix.Output[*TableIamMember] { + return pulumix.Output[*TableIamMember]{ + OutputState: i.ToTableIamMemberOutputWithContext(ctx).OutputState, + } +} + type TableIamMemberOutput struct{ *pulumi.OutputState } func (TableIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TableIamMemberOutput) ToTableIamMemberOutputWithContext(ctx context.Cont return o } +func (o TableIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TableIamMember] { + return pulumix.Output[*TableIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TableIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TableIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigquery/v2/tableIamPolicy.go b/sdk/go/google/bigquery/v2/tableIamPolicy.go index e29fe2f3c2..b529e65aa5 100644 --- a/sdk/go/google/bigquery/v2/tableIamPolicy.go +++ b/sdk/go/google/bigquery/v2/tableIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -138,6 +139,12 @@ func (i *TableIamPolicy) ToTableIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TableIamPolicyOutput) } +func (i *TableIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TableIamPolicy] { + return pulumix.Output[*TableIamPolicy]{ + OutputState: i.ToTableIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TableIamPolicyOutput struct{ *pulumi.OutputState } func (TableIamPolicyOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o TableIamPolicyOutput) ToTableIamPolicyOutputWithContext(ctx context.Cont return o } +func (o TableIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TableIamPolicy] { + return pulumix.Output[*TableIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o TableIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *TableIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigqueryconnection/v1beta1/connection.go b/sdk/go/google/bigqueryconnection/v1beta1/connection.go index de849189cf..84b7472c0e 100644 --- a/sdk/go/google/bigqueryconnection/v1beta1/connection.go +++ b/sdk/go/google/bigqueryconnection/v1beta1/connection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new connection. @@ -133,6 +134,12 @@ func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) Connecti return pulumi.ToOutputWithContext(ctx, i).(ConnectionOutput) } +func (i *Connection) ToOutput(ctx context.Context) pulumix.Output[*Connection] { + return pulumix.Output[*Connection]{ + OutputState: i.ToConnectionOutputWithContext(ctx).OutputState, + } +} + type ConnectionOutput struct{ *pulumi.OutputState } func (ConnectionOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) Con return o } +func (o ConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*Connection] { + return pulumix.Output[*Connection]{ + OutputState: o.OutputState, + } +} + // Cloud SQL properties. func (o ConnectionOutput) CloudSql() CloudSqlPropertiesResponseOutput { return o.ApplyT(func(v *Connection) CloudSqlPropertiesResponseOutput { return v.CloudSql }).(CloudSqlPropertiesResponseOutput) diff --git a/sdk/go/google/bigqueryconnection/v1beta1/connectionIamBinding.go b/sdk/go/google/bigqueryconnection/v1beta1/connectionIamBinding.go index ba7dfc8b56..87dbe24691 100644 --- a/sdk/go/google/bigqueryconnection/v1beta1/connectionIamBinding.go +++ b/sdk/go/google/bigqueryconnection/v1beta1/connectionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionIamBinding) ToConnectionIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ConnectionIamBindingOutput) } +func (i *ConnectionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamBinding] { + return pulumix.Output[*ConnectionIamBinding]{ + OutputState: i.ToConnectionIamBindingOutputWithContext(ctx).OutputState, + } +} + type ConnectionIamBindingOutput struct{ *pulumi.OutputState } func (ConnectionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionIamBindingOutput) ToConnectionIamBindingOutputWithContext(ctx return o } +func (o ConnectionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamBinding] { + return pulumix.Output[*ConnectionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigqueryconnection/v1beta1/connectionIamMember.go b/sdk/go/google/bigqueryconnection/v1beta1/connectionIamMember.go index 9034148f95..5658bc9136 100644 --- a/sdk/go/google/bigqueryconnection/v1beta1/connectionIamMember.go +++ b/sdk/go/google/bigqueryconnection/v1beta1/connectionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionIamMember) ToConnectionIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConnectionIamMemberOutput) } +func (i *ConnectionIamMember) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamMember] { + return pulumix.Output[*ConnectionIamMember]{ + OutputState: i.ToConnectionIamMemberOutputWithContext(ctx).OutputState, + } +} + type ConnectionIamMemberOutput struct{ *pulumi.OutputState } func (ConnectionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionIamMemberOutput) ToConnectionIamMemberOutputWithContext(ctx co return o } +func (o ConnectionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamMember] { + return pulumix.Output[*ConnectionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigqueryconnection/v1beta1/connectionIamPolicy.go b/sdk/go/google/bigqueryconnection/v1beta1/connectionIamPolicy.go index eb73ace5b2..134037c898 100644 --- a/sdk/go/google/bigqueryconnection/v1beta1/connectionIamPolicy.go +++ b/sdk/go/google/bigqueryconnection/v1beta1/connectionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionIamPolicy) ToConnectionIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConnectionIamPolicyOutput) } +func (i *ConnectionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamPolicy] { + return pulumix.Output[*ConnectionIamPolicy]{ + OutputState: i.ToConnectionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ConnectionIamPolicyOutput struct{ *pulumi.OutputState } func (ConnectionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionIamPolicyOutput) ToConnectionIamPolicyOutputWithContext(ctx co return o } +func (o ConnectionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamPolicy] { + return pulumix.Output[*ConnectionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ConnectionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ConnectionIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigqueryconnection/v1beta1/getConnection.go b/sdk/go/google/bigqueryconnection/v1beta1/getConnection.go index c0da0e2456..1b22f5a135 100644 --- a/sdk/go/google/bigqueryconnection/v1beta1/getConnection.go +++ b/sdk/go/google/bigqueryconnection/v1beta1/getConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns specified connection. @@ -82,6 +83,12 @@ func (o LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext( return o } +func (o LookupConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionResult] { + return pulumix.Output[LookupConnectionResult]{ + OutputState: o.OutputState, + } +} + // Cloud SQL properties. func (o LookupConnectionResultOutput) CloudSql() CloudSqlPropertiesResponseOutput { return o.ApplyT(func(v LookupConnectionResult) CloudSqlPropertiesResponse { return v.CloudSql }).(CloudSqlPropertiesResponseOutput) diff --git a/sdk/go/google/bigqueryconnection/v1beta1/getConnectionIamPolicy.go b/sdk/go/google/bigqueryconnection/v1beta1/getConnectionIamPolicy.go index d9ca104193..a356a35f22 100644 --- a/sdk/go/google/bigqueryconnection/v1beta1/getConnectionIamPolicy.go +++ b/sdk/go/google/bigqueryconnection/v1beta1/getConnectionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResult return o } +func (o LookupConnectionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionIamPolicyResult] { + return pulumix.Output[LookupConnectionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupConnectionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupConnectionIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigqueryconnection/v1beta1/pulumiEnums.go b/sdk/go/google/bigqueryconnection/v1beta1/pulumiEnums.go index ca3f2cb175..7ef6dbfdb7 100644 --- a/sdk/go/google/bigqueryconnection/v1beta1/pulumiEnums.go +++ b/sdk/go/google/bigqueryconnection/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the Cloud SQL database. type CloudSqlPropertiesType string @@ -253,6 +272,12 @@ func (o CloudSqlPropertiesTypeOutput) ToCloudSqlPropertiesTypePtrOutputWithConte }).(CloudSqlPropertiesTypePtrOutput) } +func (o CloudSqlPropertiesTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlPropertiesType] { + return pulumix.Output[CloudSqlPropertiesType]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlPropertiesTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o CloudSqlPropertiesTypePtrOutput) ToCloudSqlPropertiesTypePtrOutputWithCo return o } +func (o CloudSqlPropertiesTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlPropertiesType] { + return pulumix.Output[*CloudSqlPropertiesType]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlPropertiesTypePtrOutput) Elem() CloudSqlPropertiesTypeOutput { return o.ApplyT(func(v *CloudSqlPropertiesType) CloudSqlPropertiesType { if v != nil { @@ -350,6 +381,12 @@ func (in *cloudSqlPropertiesTypePtr) ToCloudSqlPropertiesTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CloudSqlPropertiesTypePtrOutput) } +func (in *cloudSqlPropertiesTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlPropertiesType] { + return pulumix.Output[*CloudSqlPropertiesType]{ + OutputState: in.ToCloudSqlPropertiesTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/bigqueryconnection/v1beta1/pulumiTypes.go b/sdk/go/google/bigqueryconnection/v1beta1/pulumiTypes.go index 1bf8cbb2d4..01c4a786fc 100644 --- a/sdk/go/google/bigqueryconnection/v1beta1/pulumiTypes.go +++ b/sdk/go/google/bigqueryconnection/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -554,6 +663,12 @@ func (i CloudSqlCredentialArgs) ToCloudSqlCredentialOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CloudSqlCredentialOutput) } +func (i CloudSqlCredentialArgs) ToOutput(ctx context.Context) pulumix.Output[CloudSqlCredential] { + return pulumix.Output[CloudSqlCredential]{ + OutputState: i.ToCloudSqlCredentialOutputWithContext(ctx).OutputState, + } +} + func (i CloudSqlCredentialArgs) ToCloudSqlCredentialPtrOutput() CloudSqlCredentialPtrOutput { return i.ToCloudSqlCredentialPtrOutputWithContext(context.Background()) } @@ -595,6 +710,12 @@ func (i *cloudSqlCredentialPtrType) ToCloudSqlCredentialPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CloudSqlCredentialPtrOutput) } +func (i *cloudSqlCredentialPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlCredential] { + return pulumix.Output[*CloudSqlCredential]{ + OutputState: i.ToCloudSqlCredentialPtrOutputWithContext(ctx).OutputState, + } +} + // Credential info for the Cloud SQL. type CloudSqlCredentialOutput struct{ *pulumi.OutputState } @@ -620,6 +741,12 @@ func (o CloudSqlCredentialOutput) ToCloudSqlCredentialPtrOutputWithContext(ctx c }).(CloudSqlCredentialPtrOutput) } +func (o CloudSqlCredentialOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlCredential] { + return pulumix.Output[CloudSqlCredential]{ + OutputState: o.OutputState, + } +} + // The password for the credential. func (o CloudSqlCredentialOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudSqlCredential) *string { return v.Password }).(pulumi.StringPtrOutput) @@ -644,6 +771,12 @@ func (o CloudSqlCredentialPtrOutput) ToCloudSqlCredentialPtrOutputWithContext(ct return o } +func (o CloudSqlCredentialPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlCredential] { + return pulumix.Output[*CloudSqlCredential]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlCredentialPtrOutput) Elem() CloudSqlCredentialOutput { return o.ApplyT(func(v *CloudSqlCredential) CloudSqlCredential { if v != nil { @@ -697,6 +830,12 @@ func (o CloudSqlCredentialResponseOutput) ToCloudSqlCredentialResponseOutputWith return o } +func (o CloudSqlCredentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlCredentialResponse] { + return pulumix.Output[CloudSqlCredentialResponse]{ + OutputState: o.OutputState, + } +} + // The password for the credential. func (o CloudSqlCredentialResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v CloudSqlCredentialResponse) string { return v.Password }).(pulumi.StringOutput) @@ -754,6 +893,12 @@ func (i CloudSqlPropertiesArgs) ToCloudSqlPropertiesOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CloudSqlPropertiesOutput) } +func (i CloudSqlPropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[CloudSqlProperties] { + return pulumix.Output[CloudSqlProperties]{ + OutputState: i.ToCloudSqlPropertiesOutputWithContext(ctx).OutputState, + } +} + func (i CloudSqlPropertiesArgs) ToCloudSqlPropertiesPtrOutput() CloudSqlPropertiesPtrOutput { return i.ToCloudSqlPropertiesPtrOutputWithContext(context.Background()) } @@ -795,6 +940,12 @@ func (i *cloudSqlPropertiesPtrType) ToCloudSqlPropertiesPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CloudSqlPropertiesPtrOutput) } +func (i *cloudSqlPropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlProperties] { + return pulumix.Output[*CloudSqlProperties]{ + OutputState: i.ToCloudSqlPropertiesPtrOutputWithContext(ctx).OutputState, + } +} + // Connection properties specific to the Cloud SQL. type CloudSqlPropertiesOutput struct{ *pulumi.OutputState } @@ -820,6 +971,12 @@ func (o CloudSqlPropertiesOutput) ToCloudSqlPropertiesPtrOutputWithContext(ctx c }).(CloudSqlPropertiesPtrOutput) } +func (o CloudSqlPropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlProperties] { + return pulumix.Output[CloudSqlProperties]{ + OutputState: o.OutputState, + } +} + // Input only. Cloud SQL credential. func (o CloudSqlPropertiesOutput) Credential() CloudSqlCredentialPtrOutput { return o.ApplyT(func(v CloudSqlProperties) *CloudSqlCredential { return v.Credential }).(CloudSqlCredentialPtrOutput) @@ -854,6 +1011,12 @@ func (o CloudSqlPropertiesPtrOutput) ToCloudSqlPropertiesPtrOutputWithContext(ct return o } +func (o CloudSqlPropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlProperties] { + return pulumix.Output[*CloudSqlProperties]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlPropertiesPtrOutput) Elem() CloudSqlPropertiesOutput { return o.ApplyT(func(v *CloudSqlProperties) CloudSqlProperties { if v != nil { @@ -933,6 +1096,12 @@ func (o CloudSqlPropertiesResponseOutput) ToCloudSqlPropertiesResponseOutputWith return o } +func (o CloudSqlPropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlPropertiesResponse] { + return pulumix.Output[CloudSqlPropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Cloud SQL credential. func (o CloudSqlPropertiesResponseOutput) Credential() CloudSqlCredentialResponseOutput { return o.ApplyT(func(v CloudSqlPropertiesResponse) CloudSqlCredentialResponse { return v.Credential }).(CloudSqlCredentialResponseOutput) @@ -1005,6 +1174,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1046,6 +1221,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1071,6 +1252,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1105,6 +1292,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1182,6 +1375,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigquerydatatransfer/v1/getTransferConfig.go b/sdk/go/google/bigquerydatatransfer/v1/getTransferConfig.go index 382dfa4ce3..2b2af8aaf9 100644 --- a/sdk/go/google/bigquerydatatransfer/v1/getTransferConfig.go +++ b/sdk/go/google/bigquerydatatransfer/v1/getTransferConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns information about a data transfer config. @@ -104,6 +105,12 @@ func (o LookupTransferConfigResultOutput) ToLookupTransferConfigResultOutputWith return o } +func (o LookupTransferConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTransferConfigResult] { + return pulumix.Output[LookupTransferConfigResult]{ + OutputState: o.OutputState, + } +} + // The number of days to look back to automatically refresh the data. For example, if `data_refresh_window_days = 10`, then every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if the data source supports the feature. Set the value to 0 to use the default value. func (o LookupTransferConfigResultOutput) DataRefreshWindowDays() pulumi.IntOutput { return o.ApplyT(func(v LookupTransferConfigResult) int { return v.DataRefreshWindowDays }).(pulumi.IntOutput) diff --git a/sdk/go/google/bigquerydatatransfer/v1/pulumiTypes.go b/sdk/go/google/bigquerydatatransfer/v1/pulumiTypes.go index 4a31bb113b..52bc3868f4 100644 --- a/sdk/go/google/bigquerydatatransfer/v1/pulumiTypes.go +++ b/sdk/go/google/bigquerydatatransfer/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i EmailPreferencesArgs) ToEmailPreferencesOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EmailPreferencesOutput) } +func (i EmailPreferencesArgs) ToOutput(ctx context.Context) pulumix.Output[EmailPreferences] { + return pulumix.Output[EmailPreferences]{ + OutputState: i.ToEmailPreferencesOutputWithContext(ctx).OutputState, + } +} + func (i EmailPreferencesArgs) ToEmailPreferencesPtrOutput() EmailPreferencesPtrOutput { return i.ToEmailPreferencesPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *emailPreferencesPtrType) ToEmailPreferencesPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EmailPreferencesPtrOutput) } +func (i *emailPreferencesPtrType) ToOutput(ctx context.Context) pulumix.Output[*EmailPreferences] { + return pulumix.Output[*EmailPreferences]{ + OutputState: i.ToEmailPreferencesPtrOutputWithContext(ctx).OutputState, + } +} + // Represents preferences for sending email notifications for transfer run events. type EmailPreferencesOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o EmailPreferencesOutput) ToEmailPreferencesPtrOutputWithContext(ctx conte }).(EmailPreferencesPtrOutput) } +func (o EmailPreferencesOutput) ToOutput(ctx context.Context) pulumix.Output[EmailPreferences] { + return pulumix.Output[EmailPreferences]{ + OutputState: o.OutputState, + } +} + // If true, email notifications will be sent on transfer run failures. func (o EmailPreferencesOutput) EnableFailureEmail() pulumi.BoolPtrOutput { return o.ApplyT(func(v EmailPreferences) *bool { return v.EnableFailureEmail }).(pulumi.BoolPtrOutput) @@ -133,6 +152,12 @@ func (o EmailPreferencesPtrOutput) ToEmailPreferencesPtrOutputWithContext(ctx co return o } +func (o EmailPreferencesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EmailPreferences] { + return pulumix.Output[*EmailPreferences]{ + OutputState: o.OutputState, + } +} + func (o EmailPreferencesPtrOutput) Elem() EmailPreferencesOutput { return o.ApplyT(func(v *EmailPreferences) EmailPreferences { if v != nil { @@ -174,6 +199,12 @@ func (o EmailPreferencesResponseOutput) ToEmailPreferencesResponseOutputWithCont return o } +func (o EmailPreferencesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EmailPreferencesResponse] { + return pulumix.Output[EmailPreferencesResponse]{ + OutputState: o.OutputState, + } +} + // If true, email notifications will be sent on transfer run failures. func (o EmailPreferencesResponseOutput) EnableFailureEmail() pulumi.BoolOutput { return o.ApplyT(func(v EmailPreferencesResponse) bool { return v.EnableFailureEmail }).(pulumi.BoolOutput) @@ -222,6 +253,12 @@ func (i ScheduleOptionsArgs) ToScheduleOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ScheduleOptionsOutput) } +func (i ScheduleOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ScheduleOptions] { + return pulumix.Output[ScheduleOptions]{ + OutputState: i.ToScheduleOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ScheduleOptionsArgs) ToScheduleOptionsPtrOutput() ScheduleOptionsPtrOutput { return i.ToScheduleOptionsPtrOutputWithContext(context.Background()) } @@ -263,6 +300,12 @@ func (i *scheduleOptionsPtrType) ToScheduleOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ScheduleOptionsPtrOutput) } +func (i *scheduleOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScheduleOptions] { + return pulumix.Output[*ScheduleOptions]{ + OutputState: i.ToScheduleOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options customizing the data transfer schedule. type ScheduleOptionsOutput struct{ *pulumi.OutputState } @@ -288,6 +331,12 @@ func (o ScheduleOptionsOutput) ToScheduleOptionsPtrOutputWithContext(ctx context }).(ScheduleOptionsPtrOutput) } +func (o ScheduleOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduleOptions] { + return pulumix.Output[ScheduleOptions]{ + OutputState: o.OutputState, + } +} + // If true, automatic scheduling of data transfer runs for this configuration will be disabled. The runs can be started on ad-hoc basis using StartManualTransferRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored. func (o ScheduleOptionsOutput) DisableAutoScheduling() pulumi.BoolPtrOutput { return o.ApplyT(func(v ScheduleOptions) *bool { return v.DisableAutoScheduling }).(pulumi.BoolPtrOutput) @@ -317,6 +366,12 @@ func (o ScheduleOptionsPtrOutput) ToScheduleOptionsPtrOutputWithContext(ctx cont return o } +func (o ScheduleOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScheduleOptions] { + return pulumix.Output[*ScheduleOptions]{ + OutputState: o.OutputState, + } +} + func (o ScheduleOptionsPtrOutput) Elem() ScheduleOptionsOutput { return o.ApplyT(func(v *ScheduleOptions) ScheduleOptions { if v != nil { @@ -382,6 +437,12 @@ func (o ScheduleOptionsResponseOutput) ToScheduleOptionsResponseOutputWithContex return o } +func (o ScheduleOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduleOptionsResponse] { + return pulumix.Output[ScheduleOptionsResponse]{ + OutputState: o.OutputState, + } +} + // If true, automatic scheduling of data transfer runs for this configuration will be disabled. The runs can be started on ad-hoc basis using StartManualTransferRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored. func (o ScheduleOptionsResponseOutput) DisableAutoScheduling() pulumi.BoolOutput { return o.ApplyT(func(v ScheduleOptionsResponse) bool { return v.DisableAutoScheduling }).(pulumi.BoolOutput) @@ -418,6 +479,12 @@ func (o UserInfoResponseOutput) ToUserInfoResponseOutputWithContext(ctx context. return o } +func (o UserInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UserInfoResponse] { + return pulumix.Output[UserInfoResponse]{ + OutputState: o.OutputState, + } +} + // E-mail address of the user. func (o UserInfoResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v UserInfoResponse) string { return v.Email }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigquerydatatransfer/v1/transferConfig.go b/sdk/go/google/bigquerydatatransfer/v1/transferConfig.go index d68c148bf6..7662ba345d 100644 --- a/sdk/go/google/bigquerydatatransfer/v1/transferConfig.go +++ b/sdk/go/google/bigquerydatatransfer/v1/transferConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new data transfer configuration. @@ -203,6 +204,12 @@ func (i *TransferConfig) ToTransferConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TransferConfigOutput) } +func (i *TransferConfig) ToOutput(ctx context.Context) pulumix.Output[*TransferConfig] { + return pulumix.Output[*TransferConfig]{ + OutputState: i.ToTransferConfigOutputWithContext(ctx).OutputState, + } +} + type TransferConfigOutput struct{ *pulumi.OutputState } func (TransferConfigOutput) ElementType() reflect.Type { @@ -217,6 +224,12 @@ func (o TransferConfigOutput) ToTransferConfigOutputWithContext(ctx context.Cont return o } +func (o TransferConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*TransferConfig] { + return pulumix.Output[*TransferConfig]{ + OutputState: o.OutputState, + } +} + // Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config. func (o TransferConfigOutput) AuthorizationCode() pulumi.StringPtrOutput { return o.ApplyT(func(v *TransferConfig) pulumi.StringPtrOutput { return v.AuthorizationCode }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/bigqueryreservation/v1/capacityCommitment.go b/sdk/go/google/bigqueryreservation/v1/capacityCommitment.go index 0924827bf4..3646f03ed8 100644 --- a/sdk/go/google/bigqueryreservation/v1/capacityCommitment.go +++ b/sdk/go/google/bigqueryreservation/v1/capacityCommitment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new capacity commitment resource. @@ -150,6 +151,12 @@ func (i *CapacityCommitment) ToCapacityCommitmentOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(CapacityCommitmentOutput) } +func (i *CapacityCommitment) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitment] { + return pulumix.Output[*CapacityCommitment]{ + OutputState: i.ToCapacityCommitmentOutputWithContext(ctx).OutputState, + } +} + type CapacityCommitmentOutput struct{ *pulumi.OutputState } func (CapacityCommitmentOutput) ElementType() reflect.Type { @@ -164,6 +171,12 @@ func (o CapacityCommitmentOutput) ToCapacityCommitmentOutputWithContext(ctx cont return o } +func (o CapacityCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitment] { + return pulumix.Output[*CapacityCommitment]{ + OutputState: o.OutputState, + } +} + // The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged. func (o CapacityCommitmentOutput) CapacityCommitmentId() pulumi.StringPtrOutput { return o.ApplyT(func(v *CapacityCommitment) pulumi.StringPtrOutput { return v.CapacityCommitmentId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/bigqueryreservation/v1/getCapacityCommitment.go b/sdk/go/google/bigqueryreservation/v1/getCapacityCommitment.go index 734a768c8c..2f651df95f 100644 --- a/sdk/go/google/bigqueryreservation/v1/getCapacityCommitment.go +++ b/sdk/go/google/bigqueryreservation/v1/getCapacityCommitment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns information about the capacity commitment. @@ -88,6 +89,12 @@ func (o LookupCapacityCommitmentResultOutput) ToLookupCapacityCommitmentResultOu return o } +func (o LookupCapacityCommitmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCapacityCommitmentResult] { + return pulumix.Output[LookupCapacityCommitmentResult]{ + OutputState: o.OutputState, + } +} + // The end of the current commitment period. It is applicable only for ACTIVE capacity commitments. func (o LookupCapacityCommitmentResultOutput) CommitmentEndTime() pulumi.StringOutput { return o.ApplyT(func(v LookupCapacityCommitmentResult) string { return v.CommitmentEndTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigqueryreservation/v1/getReservation.go b/sdk/go/google/bigqueryreservation/v1/getReservation.go index a3c08985b8..e2c515c2e3 100644 --- a/sdk/go/google/bigqueryreservation/v1/getReservation.go +++ b/sdk/go/google/bigqueryreservation/v1/getReservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns information about the reservation. @@ -86,6 +87,12 @@ func (o LookupReservationResultOutput) ToLookupReservationResultOutputWithContex return o } +func (o LookupReservationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReservationResult] { + return pulumix.Output[LookupReservationResult]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the auto scaling feature. func (o LookupReservationResultOutput) Autoscale() AutoscaleResponseOutput { return o.ApplyT(func(v LookupReservationResult) AutoscaleResponse { return v.Autoscale }).(AutoscaleResponseOutput) diff --git a/sdk/go/google/bigqueryreservation/v1/pulumiEnums.go b/sdk/go/google/bigqueryreservation/v1/pulumiEnums.go index 8200eab701..e1030d48c3 100644 --- a/sdk/go/google/bigqueryreservation/v1/pulumiEnums.go +++ b/sdk/go/google/bigqueryreservation/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Edition of the capacity commitment. @@ -84,6 +85,12 @@ func (o CapacityCommitmentEditionOutput) ToCapacityCommitmentEditionPtrOutputWit }).(CapacityCommitmentEditionPtrOutput) } +func (o CapacityCommitmentEditionOutput) ToOutput(ctx context.Context) pulumix.Output[CapacityCommitmentEdition] { + return pulumix.Output[CapacityCommitmentEdition]{ + OutputState: o.OutputState, + } +} + func (o CapacityCommitmentEditionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o CapacityCommitmentEditionPtrOutput) ToCapacityCommitmentEditionPtrOutput return o } +func (o CapacityCommitmentEditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitmentEdition] { + return pulumix.Output[*CapacityCommitmentEdition]{ + OutputState: o.OutputState, + } +} + func (o CapacityCommitmentEditionPtrOutput) Elem() CapacityCommitmentEditionOutput { return o.ApplyT(func(v *CapacityCommitmentEdition) CapacityCommitmentEdition { if v != nil { @@ -181,6 +194,12 @@ func (in *capacityCommitmentEditionPtr) ToCapacityCommitmentEditionPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(CapacityCommitmentEditionPtrOutput) } +func (in *capacityCommitmentEditionPtr) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitmentEdition] { + return pulumix.Output[*CapacityCommitmentEdition]{ + OutputState: in.ToCapacityCommitmentEditionPtrOutputWithContext(ctx).OutputState, + } +} + // Capacity commitment commitment plan. type CapacityCommitmentPlan string @@ -267,6 +286,12 @@ func (o CapacityCommitmentPlanOutput) ToCapacityCommitmentPlanPtrOutputWithConte }).(CapacityCommitmentPlanPtrOutput) } +func (o CapacityCommitmentPlanOutput) ToOutput(ctx context.Context) pulumix.Output[CapacityCommitmentPlan] { + return pulumix.Output[CapacityCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o CapacityCommitmentPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -302,6 +327,12 @@ func (o CapacityCommitmentPlanPtrOutput) ToCapacityCommitmentPlanPtrOutputWithCo return o } +func (o CapacityCommitmentPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitmentPlan] { + return pulumix.Output[*CapacityCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o CapacityCommitmentPlanPtrOutput) Elem() CapacityCommitmentPlanOutput { return o.ApplyT(func(v *CapacityCommitmentPlan) CapacityCommitmentPlan { if v != nil { @@ -364,6 +395,12 @@ func (in *capacityCommitmentPlanPtr) ToCapacityCommitmentPlanPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CapacityCommitmentPlanPtrOutput) } +func (in *capacityCommitmentPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitmentPlan] { + return pulumix.Output[*CapacityCommitmentPlan]{ + OutputState: in.ToCapacityCommitmentPlanPtrOutputWithContext(ctx).OutputState, + } +} + // The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments. type CapacityCommitmentRenewalPlan string @@ -450,6 +487,12 @@ func (o CapacityCommitmentRenewalPlanOutput) ToCapacityCommitmentRenewalPlanPtrO }).(CapacityCommitmentRenewalPlanPtrOutput) } +func (o CapacityCommitmentRenewalPlanOutput) ToOutput(ctx context.Context) pulumix.Output[CapacityCommitmentRenewalPlan] { + return pulumix.Output[CapacityCommitmentRenewalPlan]{ + OutputState: o.OutputState, + } +} + func (o CapacityCommitmentRenewalPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -485,6 +528,12 @@ func (o CapacityCommitmentRenewalPlanPtrOutput) ToCapacityCommitmentRenewalPlanP return o } +func (o CapacityCommitmentRenewalPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitmentRenewalPlan] { + return pulumix.Output[*CapacityCommitmentRenewalPlan]{ + OutputState: o.OutputState, + } +} + func (o CapacityCommitmentRenewalPlanPtrOutput) Elem() CapacityCommitmentRenewalPlanOutput { return o.ApplyT(func(v *CapacityCommitmentRenewalPlan) CapacityCommitmentRenewalPlan { if v != nil { @@ -547,6 +596,12 @@ func (in *capacityCommitmentRenewalPlanPtr) ToCapacityCommitmentRenewalPlanPtrOu return pulumi.ToOutputWithContext(ctx, in).(CapacityCommitmentRenewalPlanPtrOutput) } +func (in *capacityCommitmentRenewalPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitmentRenewalPlan] { + return pulumix.Output[*CapacityCommitmentRenewalPlan]{ + OutputState: in.ToCapacityCommitmentRenewalPlanPtrOutputWithContext(ctx).OutputState, + } +} + // Edition of the reservation. type ReservationEdition string @@ -621,6 +676,12 @@ func (o ReservationEditionOutput) ToReservationEditionPtrOutputWithContext(ctx c }).(ReservationEditionPtrOutput) } +func (o ReservationEditionOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationEdition] { + return pulumix.Output[ReservationEdition]{ + OutputState: o.OutputState, + } +} + func (o ReservationEditionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -656,6 +717,12 @@ func (o ReservationEditionPtrOutput) ToReservationEditionPtrOutputWithContext(ct return o } +func (o ReservationEditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationEdition] { + return pulumix.Output[*ReservationEdition]{ + OutputState: o.OutputState, + } +} + func (o ReservationEditionPtrOutput) Elem() ReservationEditionOutput { return o.ApplyT(func(v *ReservationEdition) ReservationEdition { if v != nil { @@ -718,6 +785,12 @@ func (in *reservationEditionPtr) ToReservationEditionPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ReservationEditionPtrOutput) } +func (in *reservationEditionPtr) ToOutput(ctx context.Context) pulumix.Output[*ReservationEdition] { + return pulumix.Output[*ReservationEdition]{ + OutputState: in.ToReservationEditionPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*CapacityCommitmentEditionInput)(nil)).Elem(), CapacityCommitmentEdition("EDITION_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*CapacityCommitmentEditionPtrInput)(nil)).Elem(), CapacityCommitmentEdition("EDITION_UNSPECIFIED")) diff --git a/sdk/go/google/bigqueryreservation/v1/pulumiTypes.go b/sdk/go/google/bigqueryreservation/v1/pulumiTypes.go index a2439180fa..6c33c75d43 100644 --- a/sdk/go/google/bigqueryreservation/v1/pulumiTypes.go +++ b/sdk/go/google/bigqueryreservation/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i AutoscaleArgs) ToAutoscaleOutputWithContext(ctx context.Context) Autosca return pulumi.ToOutputWithContext(ctx, i).(AutoscaleOutput) } +func (i AutoscaleArgs) ToOutput(ctx context.Context) pulumix.Output[Autoscale] { + return pulumix.Output[Autoscale]{ + OutputState: i.ToAutoscaleOutputWithContext(ctx).OutputState, + } +} + func (i AutoscaleArgs) ToAutoscalePtrOutput() AutoscalePtrOutput { return i.ToAutoscalePtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *autoscalePtrType) ToAutoscalePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AutoscalePtrOutput) } +func (i *autoscalePtrType) ToOutput(ctx context.Context) pulumix.Output[*Autoscale] { + return pulumix.Output[*Autoscale]{ + OutputState: i.ToAutoscalePtrOutputWithContext(ctx).OutputState, + } +} + // Auto scaling settings. type AutoscaleOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o AutoscaleOutput) ToAutoscalePtrOutputWithContext(ctx context.Context) Au }).(AutoscalePtrOutput) } +func (o AutoscaleOutput) ToOutput(ctx context.Context) pulumix.Output[Autoscale] { + return pulumix.Output[Autoscale]{ + OutputState: o.OutputState, + } +} + // Number of slots to be scaled when needed. func (o AutoscaleOutput) MaxSlots() pulumi.StringPtrOutput { return o.ApplyT(func(v Autoscale) *string { return v.MaxSlots }).(pulumi.StringPtrOutput) @@ -133,6 +152,12 @@ func (o AutoscalePtrOutput) ToAutoscalePtrOutputWithContext(ctx context.Context) return o } +func (o AutoscalePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Autoscale] { + return pulumix.Output[*Autoscale]{ + OutputState: o.OutputState, + } +} + func (o AutoscalePtrOutput) Elem() AutoscaleOutput { return o.ApplyT(func(v *Autoscale) Autoscale { if v != nil { @@ -176,6 +201,12 @@ func (o AutoscaleResponseOutput) ToAutoscaleResponseOutputWithContext(ctx contex return o } +func (o AutoscaleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscaleResponse] { + return pulumix.Output[AutoscaleResponse]{ + OutputState: o.OutputState, + } +} + // The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots]. func (o AutoscaleResponseOutput) CurrentSlots() pulumi.StringOutput { return o.ApplyT(func(v AutoscaleResponse) string { return v.CurrentSlots }).(pulumi.StringOutput) @@ -211,6 +242,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/bigqueryreservation/v1/reservation.go b/sdk/go/google/bigqueryreservation/v1/reservation.go index 6bb2d0dd58..8a019cb624 100644 --- a/sdk/go/google/bigqueryreservation/v1/reservation.go +++ b/sdk/go/google/bigqueryreservation/v1/reservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new reservation resource. @@ -149,6 +150,12 @@ func (i *Reservation) ToReservationOutputWithContext(ctx context.Context) Reserv return pulumi.ToOutputWithContext(ctx, i).(ReservationOutput) } +func (i *Reservation) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: i.ToReservationOutputWithContext(ctx).OutputState, + } +} + type ReservationOutput struct{ *pulumi.OutputState } func (ReservationOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o ReservationOutput) ToReservationOutputWithContext(ctx context.Context) R return o } +func (o ReservationOutput) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the auto scaling feature. func (o ReservationOutput) Autoscale() AutoscaleResponseOutput { return o.ApplyT(func(v *Reservation) AutoscaleResponseOutput { return v.Autoscale }).(AutoscaleResponseOutput) diff --git a/sdk/go/google/bigqueryreservation/v1beta1/capacityCommitment.go b/sdk/go/google/bigqueryreservation/v1beta1/capacityCommitment.go index 6432be114c..c81201862e 100644 --- a/sdk/go/google/bigqueryreservation/v1beta1/capacityCommitment.go +++ b/sdk/go/google/bigqueryreservation/v1beta1/capacityCommitment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new capacity commitment resource. @@ -144,6 +145,12 @@ func (i *CapacityCommitment) ToCapacityCommitmentOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(CapacityCommitmentOutput) } +func (i *CapacityCommitment) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitment] { + return pulumix.Output[*CapacityCommitment]{ + OutputState: i.ToCapacityCommitmentOutputWithContext(ctx).OutputState, + } +} + type CapacityCommitmentOutput struct{ *pulumi.OutputState } func (CapacityCommitmentOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o CapacityCommitmentOutput) ToCapacityCommitmentOutputWithContext(ctx cont return o } +func (o CapacityCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitment] { + return pulumix.Output[*CapacityCommitment]{ + OutputState: o.OutputState, + } +} + // The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged. func (o CapacityCommitmentOutput) CapacityCommitmentId() pulumi.StringPtrOutput { return o.ApplyT(func(v *CapacityCommitment) pulumi.StringPtrOutput { return v.CapacityCommitmentId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/bigqueryreservation/v1beta1/getCapacityCommitment.go b/sdk/go/google/bigqueryreservation/v1beta1/getCapacityCommitment.go index a0ef6ab939..5a211b4ff8 100644 --- a/sdk/go/google/bigqueryreservation/v1beta1/getCapacityCommitment.go +++ b/sdk/go/google/bigqueryreservation/v1beta1/getCapacityCommitment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns information about the capacity commitment. @@ -86,6 +87,12 @@ func (o LookupCapacityCommitmentResultOutput) ToLookupCapacityCommitmentResultOu return o } +func (o LookupCapacityCommitmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCapacityCommitmentResult] { + return pulumix.Output[LookupCapacityCommitmentResult]{ + OutputState: o.OutputState, + } +} + // The end of the current commitment period. It is applicable only for ACTIVE capacity commitments. func (o LookupCapacityCommitmentResultOutput) CommitmentEndTime() pulumi.StringOutput { return o.ApplyT(func(v LookupCapacityCommitmentResult) string { return v.CommitmentEndTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigqueryreservation/v1beta1/getReservation.go b/sdk/go/google/bigqueryreservation/v1beta1/getReservation.go index 98191ece22..66aff63d18 100644 --- a/sdk/go/google/bigqueryreservation/v1beta1/getReservation.go +++ b/sdk/go/google/bigqueryreservation/v1beta1/getReservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns information about the reservation. @@ -82,6 +83,12 @@ func (o LookupReservationResultOutput) ToLookupReservationResultOutputWithContex return o } +func (o LookupReservationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReservationResult] { + return pulumix.Output[LookupReservationResult]{ + OutputState: o.OutputState, + } +} + // Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size. func (o LookupReservationResultOutput) Concurrency() pulumi.StringOutput { return o.ApplyT(func(v LookupReservationResult) string { return v.Concurrency }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigqueryreservation/v1beta1/pulumiEnums.go b/sdk/go/google/bigqueryreservation/v1beta1/pulumiEnums.go index 746989b687..be337e8bc9 100644 --- a/sdk/go/google/bigqueryreservation/v1beta1/pulumiEnums.go +++ b/sdk/go/google/bigqueryreservation/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Capacity commitment commitment plan. @@ -86,6 +87,12 @@ func (o CapacityCommitmentPlanOutput) ToCapacityCommitmentPlanPtrOutputWithConte }).(CapacityCommitmentPlanPtrOutput) } +func (o CapacityCommitmentPlanOutput) ToOutput(ctx context.Context) pulumix.Output[CapacityCommitmentPlan] { + return pulumix.Output[CapacityCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o CapacityCommitmentPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -121,6 +128,12 @@ func (o CapacityCommitmentPlanPtrOutput) ToCapacityCommitmentPlanPtrOutputWithCo return o } +func (o CapacityCommitmentPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitmentPlan] { + return pulumix.Output[*CapacityCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o CapacityCommitmentPlanPtrOutput) Elem() CapacityCommitmentPlanOutput { return o.ApplyT(func(v *CapacityCommitmentPlan) CapacityCommitmentPlan { if v != nil { @@ -183,6 +196,12 @@ func (in *capacityCommitmentPlanPtr) ToCapacityCommitmentPlanPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CapacityCommitmentPlanPtrOutput) } +func (in *capacityCommitmentPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitmentPlan] { + return pulumix.Output[*CapacityCommitmentPlan]{ + OutputState: in.ToCapacityCommitmentPlanPtrOutputWithContext(ctx).OutputState, + } +} + // The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL commitments. type CapacityCommitmentRenewalPlan string @@ -259,6 +278,12 @@ func (o CapacityCommitmentRenewalPlanOutput) ToCapacityCommitmentRenewalPlanPtrO }).(CapacityCommitmentRenewalPlanPtrOutput) } +func (o CapacityCommitmentRenewalPlanOutput) ToOutput(ctx context.Context) pulumix.Output[CapacityCommitmentRenewalPlan] { + return pulumix.Output[CapacityCommitmentRenewalPlan]{ + OutputState: o.OutputState, + } +} + func (o CapacityCommitmentRenewalPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -294,6 +319,12 @@ func (o CapacityCommitmentRenewalPlanPtrOutput) ToCapacityCommitmentRenewalPlanP return o } +func (o CapacityCommitmentRenewalPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitmentRenewalPlan] { + return pulumix.Output[*CapacityCommitmentRenewalPlan]{ + OutputState: o.OutputState, + } +} + func (o CapacityCommitmentRenewalPlanPtrOutput) Elem() CapacityCommitmentRenewalPlanOutput { return o.ApplyT(func(v *CapacityCommitmentRenewalPlan) CapacityCommitmentRenewalPlan { if v != nil { @@ -356,6 +387,12 @@ func (in *capacityCommitmentRenewalPlanPtr) ToCapacityCommitmentRenewalPlanPtrOu return pulumi.ToOutputWithContext(ctx, in).(CapacityCommitmentRenewalPlanPtrOutput) } +func (in *capacityCommitmentRenewalPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*CapacityCommitmentRenewalPlan] { + return pulumix.Output[*CapacityCommitmentRenewalPlan]{ + OutputState: in.ToCapacityCommitmentRenewalPlanPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*CapacityCommitmentPlanInput)(nil)).Elem(), CapacityCommitmentPlan("COMMITMENT_PLAN_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*CapacityCommitmentPlanPtrInput)(nil)).Elem(), CapacityCommitmentPlan("COMMITMENT_PLAN_UNSPECIFIED")) diff --git a/sdk/go/google/bigqueryreservation/v1beta1/pulumiTypes.go b/sdk/go/google/bigqueryreservation/v1beta1/pulumiTypes.go index d4a7f52a3e..1fbf63b3cb 100644 --- a/sdk/go/google/bigqueryreservation/v1beta1/pulumiTypes.go +++ b/sdk/go/google/bigqueryreservation/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -38,6 +39,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/bigqueryreservation/v1beta1/reservation.go b/sdk/go/google/bigqueryreservation/v1beta1/reservation.go index 665d6706d9..5bbfa53643 100644 --- a/sdk/go/google/bigqueryreservation/v1beta1/reservation.go +++ b/sdk/go/google/bigqueryreservation/v1beta1/reservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new reservation resource. @@ -137,6 +138,12 @@ func (i *Reservation) ToReservationOutputWithContext(ctx context.Context) Reserv return pulumi.ToOutputWithContext(ctx, i).(ReservationOutput) } +func (i *Reservation) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: i.ToReservationOutputWithContext(ctx).OutputState, + } +} + type ReservationOutput struct{ *pulumi.OutputState } func (ReservationOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ReservationOutput) ToReservationOutputWithContext(ctx context.Context) R return o } +func (o ReservationOutput) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: o.OutputState, + } +} + // Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size. func (o ReservationOutput) Concurrency() pulumi.StringOutput { return o.ApplyT(func(v *Reservation) pulumi.StringOutput { return v.Concurrency }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigtableadmin/v2/appProfile.go b/sdk/go/google/bigtableadmin/v2/appProfile.go index 212216c7db..1965978621 100644 --- a/sdk/go/google/bigtableadmin/v2/appProfile.go +++ b/sdk/go/google/bigtableadmin/v2/appProfile.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an app profile within an instance. @@ -147,6 +148,12 @@ func (i *AppProfile) ToAppProfileOutputWithContext(ctx context.Context) AppProfi return pulumi.ToOutputWithContext(ctx, i).(AppProfileOutput) } +func (i *AppProfile) ToOutput(ctx context.Context) pulumix.Output[*AppProfile] { + return pulumix.Output[*AppProfile]{ + OutputState: i.ToAppProfileOutputWithContext(ctx).OutputState, + } +} + type AppProfileOutput struct{ *pulumi.OutputState } func (AppProfileOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o AppProfileOutput) ToAppProfileOutputWithContext(ctx context.Context) App return o } +func (o AppProfileOutput) ToOutput(ctx context.Context) pulumix.Output[*AppProfile] { + return pulumix.Output[*AppProfile]{ + OutputState: o.OutputState, + } +} + // Required. The ID to be used when referring to the new app profile within its instance, e.g., just `myprofile` rather than `projects/myproject/instances/myinstance/appProfiles/myprofile`. func (o AppProfileOutput) AppProfileId() pulumi.StringOutput { return o.ApplyT(func(v *AppProfile) pulumi.StringOutput { return v.AppProfileId }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigtableadmin/v2/backup.go b/sdk/go/google/bigtableadmin/v2/backup.go index 2f7c60b7f4..f692ec9b5f 100644 --- a/sdk/go/google/bigtableadmin/v2/backup.go +++ b/sdk/go/google/bigtableadmin/v2/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Starts creating a new Cloud Bigtable Backup. The returned backup long-running operation can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup. @@ -155,6 +156,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // Required. The id of the backup to be created. The `backup_id` along with the parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup name, of the form: `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This string must be between 1 and 50 characters in length and match the regex _a-zA-Z0-9*. func (o BackupOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *Backup) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigtableadmin/v2/cluster.go b/sdk/go/google/bigtableadmin/v2/cluster.go index 8897c18940..348075f1e5 100644 --- a/sdk/go/google/bigtableadmin/v2/cluster.go +++ b/sdk/go/google/bigtableadmin/v2/cluster.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a cluster within an instance. Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled. @@ -149,6 +150,12 @@ func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput return pulumi.ToOutputWithContext(ctx, i).(ClusterOutput) } +func (i *Cluster) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { + return pulumix.Output[*Cluster]{ + OutputState: i.ToClusterOutputWithContext(ctx).OutputState, + } +} + type ClusterOutput struct{ *pulumi.OutputState } func (ClusterOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOu return o } +func (o ClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { + return pulumix.Output[*Cluster]{ + OutputState: o.OutputState, + } +} + // Configuration for this cluster. func (o ClusterOutput) ClusterConfig() ClusterConfigResponseOutput { return o.ApplyT(func(v *Cluster) ClusterConfigResponseOutput { return v.ClusterConfig }).(ClusterConfigResponseOutput) diff --git a/sdk/go/google/bigtableadmin/v2/getAppProfile.go b/sdk/go/google/bigtableadmin/v2/getAppProfile.go index d68079ff4d..0baa371c14 100644 --- a/sdk/go/google/bigtableadmin/v2/getAppProfile.go +++ b/sdk/go/google/bigtableadmin/v2/getAppProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about an app profile. @@ -78,6 +79,12 @@ func (o LookupAppProfileResultOutput) ToLookupAppProfileResultOutputWithContext( return o } +func (o LookupAppProfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAppProfileResult] { + return pulumix.Output[LookupAppProfileResult]{ + OutputState: o.OutputState, + } +} + // Long form description of the use case for this AppProfile. func (o LookupAppProfileResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupAppProfileResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigtableadmin/v2/getBackup.go b/sdk/go/google/bigtableadmin/v2/getBackup.go index f5e4b9b35a..b469091e95 100644 --- a/sdk/go/google/bigtableadmin/v2/getBackup.go +++ b/sdk/go/google/bigtableadmin/v2/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets metadata on a pending or completed Cloud Bigtable Backup. @@ -88,6 +89,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // The encryption information for the backup. func (o LookupBackupResultOutput) EncryptionInfo() EncryptionInfoResponseOutput { return o.ApplyT(func(v LookupBackupResult) EncryptionInfoResponse { return v.EncryptionInfo }).(EncryptionInfoResponseOutput) diff --git a/sdk/go/google/bigtableadmin/v2/getCluster.go b/sdk/go/google/bigtableadmin/v2/getCluster.go index 5bd82b16be..a9e07c1dde 100644 --- a/sdk/go/google/bigtableadmin/v2/getCluster.go +++ b/sdk/go/google/bigtableadmin/v2/getCluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a cluster. @@ -82,6 +83,12 @@ func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx co return o } +func (o LookupClusterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClusterResult] { + return pulumix.Output[LookupClusterResult]{ + OutputState: o.OutputState, + } +} + // Configuration for this cluster. func (o LookupClusterResultOutput) ClusterConfig() ClusterConfigResponseOutput { return o.ApplyT(func(v LookupClusterResult) ClusterConfigResponse { return v.ClusterConfig }).(ClusterConfigResponseOutput) diff --git a/sdk/go/google/bigtableadmin/v2/getInstance.go b/sdk/go/google/bigtableadmin/v2/getInstance.go index f51c9be48b..97f1be29d4 100644 --- a/sdk/go/google/bigtableadmin/v2/getInstance.go +++ b/sdk/go/google/bigtableadmin/v2/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about an instance. @@ -80,6 +81,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // A commit timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is `seconds: 0, nanos: 1`. func (o LookupInstanceResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigtableadmin/v2/getInstanceClusterBackupIamPolicy.go b/sdk/go/google/bigtableadmin/v2/getInstanceClusterBackupIamPolicy.go index 95d36cc6b0..9a6a847dff 100644 --- a/sdk/go/google/bigtableadmin/v2/getInstanceClusterBackupIamPolicy.go +++ b/sdk/go/google/bigtableadmin/v2/getInstanceClusterBackupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a Table resource. Returns an empty policy if the resource exists but does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupInstanceClusterBackupIamPolicyResultOutput) ToLookupInstanceCluste return o } +func (o LookupInstanceClusterBackupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceClusterBackupIamPolicyResult] { + return pulumix.Output[LookupInstanceClusterBackupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceClusterBackupIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceClusterBackupIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigtableadmin/v2/getInstanceIamPolicy.go b/sdk/go/google/bigtableadmin/v2/getInstanceIamPolicy.go index 13d9d4b1f4..2b40ff4bf9 100644 --- a/sdk/go/google/bigtableadmin/v2/getInstanceIamPolicy.go +++ b/sdk/go/google/bigtableadmin/v2/getInstanceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutp return o } +func (o LookupInstanceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceIamPolicyResult] { + return pulumix.Output[LookupInstanceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigtableadmin/v2/getInstanceTableIamPolicy.go b/sdk/go/google/bigtableadmin/v2/getInstanceTableIamPolicy.go index bb04131c41..d2e3ed22d6 100644 --- a/sdk/go/google/bigtableadmin/v2/getInstanceTableIamPolicy.go +++ b/sdk/go/google/bigtableadmin/v2/getInstanceTableIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a Table resource. Returns an empty policy if the resource exists but does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupInstanceTableIamPolicyResultOutput) ToLookupInstanceTableIamPolicy return o } +func (o LookupInstanceTableIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceTableIamPolicyResult] { + return pulumix.Output[LookupInstanceTableIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceTableIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceTableIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigtableadmin/v2/getTable.go b/sdk/go/google/bigtableadmin/v2/getTable.go index 00843d5ff5..82032d9340 100644 --- a/sdk/go/google/bigtableadmin/v2/getTable.go +++ b/sdk/go/google/bigtableadmin/v2/getTable.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets metadata information about the specified table. @@ -84,6 +85,12 @@ func (o LookupTableResultOutput) ToLookupTableResultOutputWithContext(ctx contex return o } +func (o LookupTableResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTableResult] { + return pulumix.Output[LookupTableResult]{ + OutputState: o.OutputState, + } +} + // Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN `replication_status`. Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL` func (o LookupTableResultOutput) ClusterStates() pulumi.StringMapOutput { return o.ApplyT(func(v LookupTableResult) map[string]string { return v.ClusterStates }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/bigtableadmin/v2/instance.go b/sdk/go/google/bigtableadmin/v2/instance.go index fbf4eebffc..9976d32ac8 100644 --- a/sdk/go/google/bigtableadmin/v2/instance.go +++ b/sdk/go/google/bigtableadmin/v2/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an instance within a project. Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled. @@ -148,6 +149,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // A commit timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is `seconds: 0, nanos: 1`. func (o InstanceOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamBinding.go b/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamBinding.go index 955e0d4007..4dcd8975c2 100644 --- a/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamBinding.go +++ b/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Table resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceClusterBackupIamBinding) ToInstanceClusterBackupIamBindingOutpu return pulumi.ToOutputWithContext(ctx, i).(InstanceClusterBackupIamBindingOutput) } +func (i *InstanceClusterBackupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceClusterBackupIamBinding] { + return pulumix.Output[*InstanceClusterBackupIamBinding]{ + OutputState: i.ToInstanceClusterBackupIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceClusterBackupIamBindingOutput struct{ *pulumi.OutputState } func (InstanceClusterBackupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceClusterBackupIamBindingOutput) ToInstanceClusterBackupIamBinding return o } +func (o InstanceClusterBackupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceClusterBackupIamBinding] { + return pulumix.Output[*InstanceClusterBackupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceClusterBackupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceClusterBackupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamMember.go b/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamMember.go index a93c11c07a..9bf1245a3f 100644 --- a/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamMember.go +++ b/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Table resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceClusterBackupIamMember) ToInstanceClusterBackupIamMemberOutputW return pulumi.ToOutputWithContext(ctx, i).(InstanceClusterBackupIamMemberOutput) } +func (i *InstanceClusterBackupIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceClusterBackupIamMember] { + return pulumix.Output[*InstanceClusterBackupIamMember]{ + OutputState: i.ToInstanceClusterBackupIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceClusterBackupIamMemberOutput struct{ *pulumi.OutputState } func (InstanceClusterBackupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceClusterBackupIamMemberOutput) ToInstanceClusterBackupIamMemberOu return o } +func (o InstanceClusterBackupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceClusterBackupIamMember] { + return pulumix.Output[*InstanceClusterBackupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceClusterBackupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceClusterBackupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamPolicy.go b/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamPolicy.go index ebdeead08b..e356570c27 100644 --- a/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamPolicy.go +++ b/sdk/go/google/bigtableadmin/v2/instanceClusterBackupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Table resource. Replaces any existing policy. @@ -145,6 +146,12 @@ func (i *InstanceClusterBackupIamPolicy) ToInstanceClusterBackupIamPolicyOutputW return pulumi.ToOutputWithContext(ctx, i).(InstanceClusterBackupIamPolicyOutput) } +func (i *InstanceClusterBackupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceClusterBackupIamPolicy] { + return pulumix.Output[*InstanceClusterBackupIamPolicy]{ + OutputState: i.ToInstanceClusterBackupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceClusterBackupIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceClusterBackupIamPolicyOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o InstanceClusterBackupIamPolicyOutput) ToInstanceClusterBackupIamPolicyOu return o } +func (o InstanceClusterBackupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceClusterBackupIamPolicy] { + return pulumix.Output[*InstanceClusterBackupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceClusterBackupIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceClusterBackupIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigtableadmin/v2/instanceIamBinding.go b/sdk/go/google/bigtableadmin/v2/instanceIamBinding.go index dbd77e766d..c173e478a9 100644 --- a/sdk/go/google/bigtableadmin/v2/instanceIamBinding.go +++ b/sdk/go/google/bigtableadmin/v2/instanceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an instance resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceIamBindingOutput) } +func (i *InstanceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: i.ToInstanceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx cont return o } +func (o InstanceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigtableadmin/v2/instanceIamMember.go b/sdk/go/google/bigtableadmin/v2/instanceIamMember.go index d938e2b707..6775f48502 100644 --- a/sdk/go/google/bigtableadmin/v2/instanceIamMember.go +++ b/sdk/go/google/bigtableadmin/v2/instanceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an instance resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamMemberOutput) } +func (i *InstanceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: i.ToInstanceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx contex return o } +func (o InstanceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigtableadmin/v2/instanceIamPolicy.go b/sdk/go/google/bigtableadmin/v2/instanceIamPolicy.go index 83f292efa0..3d26fc43c6 100644 --- a/sdk/go/google/bigtableadmin/v2/instanceIamPolicy.go +++ b/sdk/go/google/bigtableadmin/v2/instanceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an instance resource. Replaces any existing policy. @@ -131,6 +132,12 @@ func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamPolicyOutput) } +func (i *InstanceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: i.ToInstanceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx contex return o } +func (o InstanceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigtableadmin/v2/instanceTableIamBinding.go b/sdk/go/google/bigtableadmin/v2/instanceTableIamBinding.go index 5f6e13c63b..37b9a4dd90 100644 --- a/sdk/go/google/bigtableadmin/v2/instanceTableIamBinding.go +++ b/sdk/go/google/bigtableadmin/v2/instanceTableIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Table resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceTableIamBinding) ToInstanceTableIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InstanceTableIamBindingOutput) } +func (i *InstanceTableIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceTableIamBinding] { + return pulumix.Output[*InstanceTableIamBinding]{ + OutputState: i.ToInstanceTableIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceTableIamBindingOutput struct{ *pulumi.OutputState } func (InstanceTableIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceTableIamBindingOutput) ToInstanceTableIamBindingOutputWithContex return o } +func (o InstanceTableIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTableIamBinding] { + return pulumix.Output[*InstanceTableIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceTableIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceTableIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigtableadmin/v2/instanceTableIamMember.go b/sdk/go/google/bigtableadmin/v2/instanceTableIamMember.go index 6b65b4feba..478d7c8384 100644 --- a/sdk/go/google/bigtableadmin/v2/instanceTableIamMember.go +++ b/sdk/go/google/bigtableadmin/v2/instanceTableIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Table resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceTableIamMember) ToInstanceTableIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InstanceTableIamMemberOutput) } +func (i *InstanceTableIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceTableIamMember] { + return pulumix.Output[*InstanceTableIamMember]{ + OutputState: i.ToInstanceTableIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceTableIamMemberOutput struct{ *pulumi.OutputState } func (InstanceTableIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceTableIamMemberOutput) ToInstanceTableIamMemberOutputWithContext( return o } +func (o InstanceTableIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTableIamMember] { + return pulumix.Output[*InstanceTableIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceTableIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceTableIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/bigtableadmin/v2/instanceTableIamPolicy.go b/sdk/go/google/bigtableadmin/v2/instanceTableIamPolicy.go index 9340bb8b15..5bd071fd3a 100644 --- a/sdk/go/google/bigtableadmin/v2/instanceTableIamPolicy.go +++ b/sdk/go/google/bigtableadmin/v2/instanceTableIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Table resource. Replaces any existing policy. @@ -138,6 +139,12 @@ func (i *InstanceTableIamPolicy) ToInstanceTableIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InstanceTableIamPolicyOutput) } +func (i *InstanceTableIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceTableIamPolicy] { + return pulumix.Output[*InstanceTableIamPolicy]{ + OutputState: i.ToInstanceTableIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceTableIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceTableIamPolicyOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o InstanceTableIamPolicyOutput) ToInstanceTableIamPolicyOutputWithContext( return o } +func (o InstanceTableIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTableIamPolicy] { + return pulumix.Output[*InstanceTableIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceTableIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceTableIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/bigtableadmin/v2/pulumiEnums.go b/sdk/go/google/bigtableadmin/v2/pulumiEnums.go index d9b50c081c..2e6c860b7d 100644 --- a/sdk/go/google/bigtableadmin/v2/pulumiEnums.go +++ b/sdk/go/google/bigtableadmin/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden. type ClusterDefaultStorageType string @@ -253,6 +272,12 @@ func (o ClusterDefaultStorageTypeOutput) ToClusterDefaultStorageTypePtrOutputWit }).(ClusterDefaultStorageTypePtrOutput) } +func (o ClusterDefaultStorageTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterDefaultStorageType] { + return pulumix.Output[ClusterDefaultStorageType]{ + OutputState: o.OutputState, + } +} + func (o ClusterDefaultStorageTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o ClusterDefaultStorageTypePtrOutput) ToClusterDefaultStorageTypePtrOutput return o } +func (o ClusterDefaultStorageTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterDefaultStorageType] { + return pulumix.Output[*ClusterDefaultStorageType]{ + OutputState: o.OutputState, + } +} + func (o ClusterDefaultStorageTypePtrOutput) Elem() ClusterDefaultStorageTypeOutput { return o.ApplyT(func(v *ClusterDefaultStorageType) ClusterDefaultStorageType { if v != nil { @@ -350,6 +381,12 @@ func (in *clusterDefaultStorageTypePtr) ToClusterDefaultStorageTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ClusterDefaultStorageTypePtrOutput) } +func (in *clusterDefaultStorageTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ClusterDefaultStorageType] { + return pulumix.Output[*ClusterDefaultStorageType]{ + OutputState: in.ToClusterDefaultStorageTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the instance. Defaults to `PRODUCTION`. type InstanceType string @@ -422,6 +459,12 @@ func (o InstanceTypeOutput) ToInstanceTypePtrOutputWithContext(ctx context.Conte }).(InstanceTypePtrOutput) } +func (o InstanceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceType] { + return pulumix.Output[InstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext(ctx context.Co return o } +func (o InstanceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceType] { + return pulumix.Output[*InstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceTypePtrOutput) Elem() InstanceTypeOutput { return o.ApplyT(func(v *InstanceType) InstanceType { if v != nil { @@ -519,6 +568,12 @@ func (in *instanceTypePtr) ToInstanceTypePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(InstanceTypePtrOutput) } +func (in *instanceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceType] { + return pulumix.Output[*InstanceType]{ + OutputState: in.ToInstanceTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set to `MILLIS`. Views: `SCHEMA_VIEW`, `FULL`. type TableGranularity string @@ -589,6 +644,12 @@ func (o TableGranularityOutput) ToTableGranularityPtrOutputWithContext(ctx conte }).(TableGranularityPtrOutput) } +func (o TableGranularityOutput) ToOutput(ctx context.Context) pulumix.Output[TableGranularity] { + return pulumix.Output[TableGranularity]{ + OutputState: o.OutputState, + } +} + func (o TableGranularityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -624,6 +685,12 @@ func (o TableGranularityPtrOutput) ToTableGranularityPtrOutputWithContext(ctx co return o } +func (o TableGranularityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TableGranularity] { + return pulumix.Output[*TableGranularity]{ + OutputState: o.OutputState, + } +} + func (o TableGranularityPtrOutput) Elem() TableGranularityOutput { return o.ApplyT(func(v *TableGranularity) TableGranularity { if v != nil { @@ -686,6 +753,12 @@ func (in *tableGranularityPtr) ToTableGranularityPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(TableGranularityPtrOutput) } +func (in *tableGranularityPtr) ToOutput(ctx context.Context) pulumix.Output[*TableGranularity] { + return pulumix.Output[*TableGranularity]{ + OutputState: in.ToTableGranularityPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/bigtableadmin/v2/pulumiTypes.go b/sdk/go/google/bigtableadmin/v2/pulumiTypes.go index 550f396420..2066087097 100644 --- a/sdk/go/google/bigtableadmin/v2/pulumiTypes.go +++ b/sdk/go/google/bigtableadmin/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -376,6 +449,12 @@ func (i AutoscalingLimitsArgs) ToAutoscalingLimitsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AutoscalingLimitsOutput) } +func (i AutoscalingLimitsArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingLimits] { + return pulumix.Output[AutoscalingLimits]{ + OutputState: i.ToAutoscalingLimitsOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingLimitsArgs) ToAutoscalingLimitsPtrOutput() AutoscalingLimitsPtrOutput { return i.ToAutoscalingLimitsPtrOutputWithContext(context.Background()) } @@ -417,6 +496,12 @@ func (i *autoscalingLimitsPtrType) ToAutoscalingLimitsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AutoscalingLimitsPtrOutput) } +func (i *autoscalingLimitsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingLimits] { + return pulumix.Output[*AutoscalingLimits]{ + OutputState: i.ToAutoscalingLimitsPtrOutputWithContext(ctx).OutputState, + } +} + // Limits for the number of nodes a Cluster can autoscale up/down to. type AutoscalingLimitsOutput struct{ *pulumi.OutputState } @@ -442,6 +527,12 @@ func (o AutoscalingLimitsOutput) ToAutoscalingLimitsPtrOutputWithContext(ctx con }).(AutoscalingLimitsPtrOutput) } +func (o AutoscalingLimitsOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingLimits] { + return pulumix.Output[AutoscalingLimits]{ + OutputState: o.OutputState, + } +} + // Maximum number of nodes to scale up to. func (o AutoscalingLimitsOutput) MaxServeNodes() pulumi.IntOutput { return o.ApplyT(func(v AutoscalingLimits) int { return v.MaxServeNodes }).(pulumi.IntOutput) @@ -466,6 +557,12 @@ func (o AutoscalingLimitsPtrOutput) ToAutoscalingLimitsPtrOutputWithContext(ctx return o } +func (o AutoscalingLimitsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingLimits] { + return pulumix.Output[*AutoscalingLimits]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingLimitsPtrOutput) Elem() AutoscalingLimitsOutput { return o.ApplyT(func(v *AutoscalingLimits) AutoscalingLimits { if v != nil { @@ -519,6 +616,12 @@ func (o AutoscalingLimitsResponseOutput) ToAutoscalingLimitsResponseOutputWithCo return o } +func (o AutoscalingLimitsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingLimitsResponse] { + return pulumix.Output[AutoscalingLimitsResponse]{ + OutputState: o.OutputState, + } +} + // Maximum number of nodes to scale up to. func (o AutoscalingLimitsResponseOutput) MaxServeNodes() pulumi.IntOutput { return o.ApplyT(func(v AutoscalingLimitsResponse) int { return v.MaxServeNodes }).(pulumi.IntOutput) @@ -568,6 +671,12 @@ func (i AutoscalingTargetsArgs) ToAutoscalingTargetsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AutoscalingTargetsOutput) } +func (i AutoscalingTargetsArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingTargets] { + return pulumix.Output[AutoscalingTargets]{ + OutputState: i.ToAutoscalingTargetsOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingTargetsArgs) ToAutoscalingTargetsPtrOutput() AutoscalingTargetsPtrOutput { return i.ToAutoscalingTargetsPtrOutputWithContext(context.Background()) } @@ -609,6 +718,12 @@ func (i *autoscalingTargetsPtrType) ToAutoscalingTargetsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AutoscalingTargetsPtrOutput) } +func (i *autoscalingTargetsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingTargets] { + return pulumix.Output[*AutoscalingTargets]{ + OutputState: i.ToAutoscalingTargetsPtrOutputWithContext(ctx).OutputState, + } +} + // The Autoscaling targets for a Cluster. These determine the recommended nodes. type AutoscalingTargetsOutput struct{ *pulumi.OutputState } @@ -634,6 +749,12 @@ func (o AutoscalingTargetsOutput) ToAutoscalingTargetsPtrOutputWithContext(ctx c }).(AutoscalingTargetsPtrOutput) } +func (o AutoscalingTargetsOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingTargets] { + return pulumix.Output[AutoscalingTargets]{ + OutputState: o.OutputState, + } +} + // The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error. func (o AutoscalingTargetsOutput) CpuUtilizationPercent() pulumi.IntPtrOutput { return o.ApplyT(func(v AutoscalingTargets) *int { return v.CpuUtilizationPercent }).(pulumi.IntPtrOutput) @@ -658,6 +779,12 @@ func (o AutoscalingTargetsPtrOutput) ToAutoscalingTargetsPtrOutputWithContext(ct return o } +func (o AutoscalingTargetsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingTargets] { + return pulumix.Output[*AutoscalingTargets]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingTargetsPtrOutput) Elem() AutoscalingTargetsOutput { return o.ApplyT(func(v *AutoscalingTargets) AutoscalingTargets { if v != nil { @@ -711,6 +838,12 @@ func (o AutoscalingTargetsResponseOutput) ToAutoscalingTargetsResponseOutputWith return o } +func (o AutoscalingTargetsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingTargetsResponse] { + return pulumix.Output[AutoscalingTargetsResponse]{ + OutputState: o.OutputState, + } +} + // The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error. func (o AutoscalingTargetsResponseOutput) CpuUtilizationPercent() pulumi.IntOutput { return o.ApplyT(func(v AutoscalingTargetsResponse) int { return v.CpuUtilizationPercent }).(pulumi.IntOutput) @@ -750,6 +883,12 @@ func (o BackupInfoResponseOutput) ToBackupInfoResponseOutputWithContext(ctx cont return o } +func (o BackupInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackupInfoResponse] { + return pulumix.Output[BackupInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of the backup. func (o BackupInfoResponseOutput) Backup() pulumi.StringOutput { return o.ApplyT(func(v BackupInfoResponse) string { return v.Backup }).(pulumi.StringOutput) @@ -818,6 +957,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -843,6 +988,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -858,6 +1009,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -887,6 +1044,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -918,6 +1081,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -947,6 +1116,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -992,6 +1167,12 @@ func (i ClusterAutoscalingConfigArgs) ToClusterAutoscalingConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscalingConfigOutput) } +func (i ClusterAutoscalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscalingConfig] { + return pulumix.Output[ClusterAutoscalingConfig]{ + OutputState: i.ToClusterAutoscalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i ClusterAutoscalingConfigArgs) ToClusterAutoscalingConfigPtrOutput() ClusterAutoscalingConfigPtrOutput { return i.ToClusterAutoscalingConfigPtrOutputWithContext(context.Background()) } @@ -1033,6 +1214,12 @@ func (i *clusterAutoscalingConfigPtrType) ToClusterAutoscalingConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscalingConfigPtrOutput) } +func (i *clusterAutoscalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterAutoscalingConfig] { + return pulumix.Output[*ClusterAutoscalingConfig]{ + OutputState: i.ToClusterAutoscalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Autoscaling config for a cluster. type ClusterAutoscalingConfigOutput struct{ *pulumi.OutputState } @@ -1058,6 +1245,12 @@ func (o ClusterAutoscalingConfigOutput) ToClusterAutoscalingConfigPtrOutputWithC }).(ClusterAutoscalingConfigPtrOutput) } +func (o ClusterAutoscalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscalingConfig] { + return pulumix.Output[ClusterAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + // Autoscaling limits for this cluster. func (o ClusterAutoscalingConfigOutput) AutoscalingLimits() AutoscalingLimitsOutput { return o.ApplyT(func(v ClusterAutoscalingConfig) AutoscalingLimits { return v.AutoscalingLimits }).(AutoscalingLimitsOutput) @@ -1082,6 +1275,12 @@ func (o ClusterAutoscalingConfigPtrOutput) ToClusterAutoscalingConfigPtrOutputWi return o } +func (o ClusterAutoscalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterAutoscalingConfig] { + return pulumix.Output[*ClusterAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + func (o ClusterAutoscalingConfigPtrOutput) Elem() ClusterAutoscalingConfigOutput { return o.ApplyT(func(v *ClusterAutoscalingConfig) ClusterAutoscalingConfig { if v != nil { @@ -1135,6 +1334,12 @@ func (o ClusterAutoscalingConfigResponseOutput) ToClusterAutoscalingConfigRespon return o } +func (o ClusterAutoscalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscalingConfigResponse] { + return pulumix.Output[ClusterAutoscalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Autoscaling limits for this cluster. func (o ClusterAutoscalingConfigResponseOutput) AutoscalingLimits() AutoscalingLimitsResponseOutput { return o.ApplyT(func(v ClusterAutoscalingConfigResponse) AutoscalingLimitsResponse { return v.AutoscalingLimits }).(AutoscalingLimitsResponseOutput) @@ -1180,6 +1385,12 @@ func (i ClusterConfigArgs) ToClusterConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ClusterConfigOutput) } +func (i ClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterConfig] { + return pulumix.Output[ClusterConfig]{ + OutputState: i.ToClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i ClusterConfigArgs) ToClusterConfigPtrOutput() ClusterConfigPtrOutput { return i.ToClusterConfigPtrOutputWithContext(context.Background()) } @@ -1221,6 +1432,12 @@ func (i *clusterConfigPtrType) ToClusterConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ClusterConfigPtrOutput) } +func (i *clusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterConfig] { + return pulumix.Output[*ClusterConfig]{ + OutputState: i.ToClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a cluster. type ClusterConfigOutput struct{ *pulumi.OutputState } @@ -1246,6 +1463,12 @@ func (o ClusterConfigOutput) ToClusterConfigPtrOutputWithContext(ctx context.Con }).(ClusterConfigPtrOutput) } +func (o ClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterConfig] { + return pulumix.Output[ClusterConfig]{ + OutputState: o.OutputState, + } +} + // Autoscaling configuration for this cluster. func (o ClusterConfigOutput) ClusterAutoscalingConfig() ClusterAutoscalingConfigPtrOutput { return o.ApplyT(func(v ClusterConfig) *ClusterAutoscalingConfig { return v.ClusterAutoscalingConfig }).(ClusterAutoscalingConfigPtrOutput) @@ -1265,6 +1488,12 @@ func (o ClusterConfigPtrOutput) ToClusterConfigPtrOutputWithContext(ctx context. return o } +func (o ClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterConfig] { + return pulumix.Output[*ClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o ClusterConfigPtrOutput) Elem() ClusterConfigOutput { return o.ApplyT(func(v *ClusterConfig) ClusterConfig { if v != nil { @@ -1306,6 +1535,12 @@ func (o ClusterConfigResponseOutput) ToClusterConfigResponseOutputWithContext(ct return o } +func (o ClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterConfigResponse] { + return pulumix.Output[ClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Autoscaling configuration for this cluster. func (o ClusterConfigResponseOutput) ClusterAutoscalingConfig() ClusterAutoscalingConfigResponseOutput { return o.ApplyT(func(v ClusterConfigResponse) ClusterAutoscalingConfigResponse { return v.ClusterAutoscalingConfig }).(ClusterAutoscalingConfigResponseOutput) @@ -1346,6 +1581,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -1387,6 +1628,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster. type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -1412,6 +1659,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. Values are of the form `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}` func (o EncryptionConfigOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -1431,6 +1684,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -1472,6 +1731,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. Values are of the form `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}` func (o EncryptionConfigResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -1502,6 +1767,12 @@ func (o EncryptionInfoResponseOutput) ToEncryptionInfoResponseOutputWithContext( return o } +func (o EncryptionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionInfoResponse] { + return pulumix.Output[EncryptionInfoResponse]{ + OutputState: o.OutputState, + } +} + // The status of encrypt/decrypt calls on underlying data for this resource. Regardless of status, the existing data is always encrypted at rest. func (o EncryptionInfoResponseOutput) EncryptionStatus() StatusResponseOutput { return o.ApplyT(func(v EncryptionInfoResponse) StatusResponse { return v.EncryptionStatus }).(StatusResponseOutput) @@ -1564,6 +1835,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1605,6 +1882,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1630,6 +1913,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1664,6 +1953,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1741,6 +2036,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1796,6 +2097,12 @@ func (i MultiClusterRoutingUseAnyArgs) ToMultiClusterRoutingUseAnyOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(MultiClusterRoutingUseAnyOutput) } +func (i MultiClusterRoutingUseAnyArgs) ToOutput(ctx context.Context) pulumix.Output[MultiClusterRoutingUseAny] { + return pulumix.Output[MultiClusterRoutingUseAny]{ + OutputState: i.ToMultiClusterRoutingUseAnyOutputWithContext(ctx).OutputState, + } +} + func (i MultiClusterRoutingUseAnyArgs) ToMultiClusterRoutingUseAnyPtrOutput() MultiClusterRoutingUseAnyPtrOutput { return i.ToMultiClusterRoutingUseAnyPtrOutputWithContext(context.Background()) } @@ -1837,6 +2144,12 @@ func (i *multiClusterRoutingUseAnyPtrType) ToMultiClusterRoutingUseAnyPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(MultiClusterRoutingUseAnyPtrOutput) } +func (i *multiClusterRoutingUseAnyPtrType) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterRoutingUseAny] { + return pulumix.Output[*MultiClusterRoutingUseAny]{ + OutputState: i.ToMultiClusterRoutingUseAnyPtrOutputWithContext(ctx).OutputState, + } +} + // Read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability. type MultiClusterRoutingUseAnyOutput struct{ *pulumi.OutputState } @@ -1862,6 +2175,12 @@ func (o MultiClusterRoutingUseAnyOutput) ToMultiClusterRoutingUseAnyPtrOutputWit }).(MultiClusterRoutingUseAnyPtrOutput) } +func (o MultiClusterRoutingUseAnyOutput) ToOutput(ctx context.Context) pulumix.Output[MultiClusterRoutingUseAny] { + return pulumix.Output[MultiClusterRoutingUseAny]{ + OutputState: o.OutputState, + } +} + // The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible. func (o MultiClusterRoutingUseAnyOutput) ClusterIds() pulumi.StringArrayOutput { return o.ApplyT(func(v MultiClusterRoutingUseAny) []string { return v.ClusterIds }).(pulumi.StringArrayOutput) @@ -1881,6 +2200,12 @@ func (o MultiClusterRoutingUseAnyPtrOutput) ToMultiClusterRoutingUseAnyPtrOutput return o } +func (o MultiClusterRoutingUseAnyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterRoutingUseAny] { + return pulumix.Output[*MultiClusterRoutingUseAny]{ + OutputState: o.OutputState, + } +} + func (o MultiClusterRoutingUseAnyPtrOutput) Elem() MultiClusterRoutingUseAnyOutput { return o.ApplyT(func(v *MultiClusterRoutingUseAny) MultiClusterRoutingUseAny { if v != nil { @@ -1922,6 +2247,12 @@ func (o MultiClusterRoutingUseAnyResponseOutput) ToMultiClusterRoutingUseAnyResp return o } +func (o MultiClusterRoutingUseAnyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MultiClusterRoutingUseAnyResponse] { + return pulumix.Output[MultiClusterRoutingUseAnyResponse]{ + OutputState: o.OutputState, + } +} + // The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible. func (o MultiClusterRoutingUseAnyResponseOutput) ClusterIds() pulumi.StringArrayOutput { return o.ApplyT(func(v MultiClusterRoutingUseAnyResponse) []string { return v.ClusterIds }).(pulumi.StringArrayOutput) @@ -1950,6 +2281,12 @@ func (o RestoreInfoResponseOutput) ToRestoreInfoResponseOutputWithContext(ctx co return o } +func (o RestoreInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RestoreInfoResponse] { + return pulumix.Output[RestoreInfoResponse]{ + OutputState: o.OutputState, + } +} + // Information about the backup used to restore the table. The backup may no longer exist. func (o RestoreInfoResponseOutput) BackupInfo() BackupInfoResponseOutput { return o.ApplyT(func(v RestoreInfoResponse) BackupInfoResponse { return v.BackupInfo }).(BackupInfoResponseOutput) @@ -1999,6 +2336,12 @@ func (i SingleClusterRoutingArgs) ToSingleClusterRoutingOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SingleClusterRoutingOutput) } +func (i SingleClusterRoutingArgs) ToOutput(ctx context.Context) pulumix.Output[SingleClusterRouting] { + return pulumix.Output[SingleClusterRouting]{ + OutputState: i.ToSingleClusterRoutingOutputWithContext(ctx).OutputState, + } +} + func (i SingleClusterRoutingArgs) ToSingleClusterRoutingPtrOutput() SingleClusterRoutingPtrOutput { return i.ToSingleClusterRoutingPtrOutputWithContext(context.Background()) } @@ -2040,6 +2383,12 @@ func (i *singleClusterRoutingPtrType) ToSingleClusterRoutingPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(SingleClusterRoutingPtrOutput) } +func (i *singleClusterRoutingPtrType) ToOutput(ctx context.Context) pulumix.Output[*SingleClusterRouting] { + return pulumix.Output[*SingleClusterRouting]{ + OutputState: i.ToSingleClusterRoutingPtrOutputWithContext(ctx).OutputState, + } +} + // Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability. type SingleClusterRoutingOutput struct{ *pulumi.OutputState } @@ -2065,6 +2414,12 @@ func (o SingleClusterRoutingOutput) ToSingleClusterRoutingPtrOutputWithContext(c }).(SingleClusterRoutingPtrOutput) } +func (o SingleClusterRoutingOutput) ToOutput(ctx context.Context) pulumix.Output[SingleClusterRouting] { + return pulumix.Output[SingleClusterRouting]{ + OutputState: o.OutputState, + } +} + // Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters. func (o SingleClusterRoutingOutput) AllowTransactionalWrites() pulumi.BoolPtrOutput { return o.ApplyT(func(v SingleClusterRouting) *bool { return v.AllowTransactionalWrites }).(pulumi.BoolPtrOutput) @@ -2089,6 +2444,12 @@ func (o SingleClusterRoutingPtrOutput) ToSingleClusterRoutingPtrOutputWithContex return o } +func (o SingleClusterRoutingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SingleClusterRouting] { + return pulumix.Output[*SingleClusterRouting]{ + OutputState: o.OutputState, + } +} + func (o SingleClusterRoutingPtrOutput) Elem() SingleClusterRoutingOutput { return o.ApplyT(func(v *SingleClusterRouting) SingleClusterRouting { if v != nil { @@ -2142,6 +2503,12 @@ func (o SingleClusterRoutingResponseOutput) ToSingleClusterRoutingResponseOutput return o } +func (o SingleClusterRoutingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SingleClusterRoutingResponse] { + return pulumix.Output[SingleClusterRoutingResponse]{ + OutputState: o.OutputState, + } +} + // Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters. func (o SingleClusterRoutingResponseOutput) AllowTransactionalWrites() pulumi.BoolOutput { return o.ApplyT(func(v SingleClusterRoutingResponse) bool { return v.AllowTransactionalWrites }).(pulumi.BoolOutput) @@ -2187,6 +2554,12 @@ func (i SplitArgs) ToSplitOutputWithContext(ctx context.Context) SplitOutput { return pulumi.ToOutputWithContext(ctx, i).(SplitOutput) } +func (i SplitArgs) ToOutput(ctx context.Context) pulumix.Output[Split] { + return pulumix.Output[Split]{ + OutputState: i.ToSplitOutputWithContext(ctx).OutputState, + } +} + // SplitArrayInput is an input type that accepts SplitArray and SplitArrayOutput values. // You can construct a concrete instance of `SplitArrayInput` via: // @@ -2212,6 +2585,12 @@ func (i SplitArray) ToSplitArrayOutputWithContext(ctx context.Context) SplitArra return pulumi.ToOutputWithContext(ctx, i).(SplitArrayOutput) } +func (i SplitArray) ToOutput(ctx context.Context) pulumix.Output[[]Split] { + return pulumix.Output[[]Split]{ + OutputState: i.ToSplitArrayOutputWithContext(ctx).OutputState, + } +} + // An initial split point for a newly created table. type SplitOutput struct{ *pulumi.OutputState } @@ -2227,6 +2606,12 @@ func (o SplitOutput) ToSplitOutputWithContext(ctx context.Context) SplitOutput { return o } +func (o SplitOutput) ToOutput(ctx context.Context) pulumix.Output[Split] { + return pulumix.Output[Split]{ + OutputState: o.OutputState, + } +} + // Row key to use as an initial tablet boundary. func (o SplitOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v Split) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -2246,6 +2631,12 @@ func (o SplitArrayOutput) ToSplitArrayOutputWithContext(ctx context.Context) Spl return o } +func (o SplitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Split] { + return pulumix.Output[[]Split]{ + OutputState: o.OutputState, + } +} + func (o SplitArrayOutput) Index(i pulumi.IntInput) SplitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Split { return vs[0].([]Split)[vs[1].(int)] @@ -2277,6 +2668,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -2339,6 +2736,12 @@ func (i TableStatsArgs) ToTableStatsOutputWithContext(ctx context.Context) Table return pulumi.ToOutputWithContext(ctx, i).(TableStatsOutput) } +func (i TableStatsArgs) ToOutput(ctx context.Context) pulumix.Output[TableStats] { + return pulumix.Output[TableStats]{ + OutputState: i.ToTableStatsOutputWithContext(ctx).OutputState, + } +} + func (i TableStatsArgs) ToTableStatsPtrOutput() TableStatsPtrOutput { return i.ToTableStatsPtrOutputWithContext(context.Background()) } @@ -2380,6 +2783,12 @@ func (i *tableStatsPtrType) ToTableStatsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TableStatsPtrOutput) } +func (i *tableStatsPtrType) ToOutput(ctx context.Context) pulumix.Output[*TableStats] { + return pulumix.Output[*TableStats]{ + OutputState: i.ToTableStatsPtrOutputWithContext(ctx).OutputState, + } +} + // Approximate statistics related to a table. These statistics are calculated infrequently, while simultaneously, data in the table can change rapidly. Thus the values reported here (e.g. row count) are very likely out-of date, even the instant they are received in this API. Thus, only treat these values as approximate. IMPORTANT: Everything below is approximate, unless otherwise specified. type TableStatsOutput struct{ *pulumi.OutputState } @@ -2405,6 +2814,12 @@ func (o TableStatsOutput) ToTableStatsPtrOutputWithContext(ctx context.Context) }).(TableStatsPtrOutput) } +func (o TableStatsOutput) ToOutput(ctx context.Context) pulumix.Output[TableStats] { + return pulumix.Output[TableStats]{ + OutputState: o.OutputState, + } +} + // How many cells are present per column (column family, column qualifier) combinations, averaged over all columns in all rows in the table. e.g. A table with 2 rows: * A row with 3 cells in "family:col" and 1 cell in "other:col" (4 cells / 2 columns) * A row with 1 cell in "family:col", 7 cells in "family:other_col", and 7 cells in "other:data" (15 cells / 3 columns) would report (4 + 15)/(2 + 3) = 3.8 in this field. func (o TableStatsOutput) AverageCellsPerColumn() pulumi.Float64PtrOutput { return o.ApplyT(func(v TableStats) *float64 { return v.AverageCellsPerColumn }).(pulumi.Float64PtrOutput) @@ -2439,6 +2854,12 @@ func (o TableStatsPtrOutput) ToTableStatsPtrOutputWithContext(ctx context.Contex return o } +func (o TableStatsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TableStats] { + return pulumix.Output[*TableStats]{ + OutputState: o.OutputState, + } +} + func (o TableStatsPtrOutput) Elem() TableStatsOutput { return o.ApplyT(func(v *TableStats) TableStats { if v != nil { @@ -2516,6 +2937,12 @@ func (o TableStatsResponseOutput) ToTableStatsResponseOutputWithContext(ctx cont return o } +func (o TableStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableStatsResponse] { + return pulumix.Output[TableStatsResponse]{ + OutputState: o.OutputState, + } +} + // How many cells are present per column (column family, column qualifier) combinations, averaged over all columns in all rows in the table. e.g. A table with 2 rows: * A row with 3 cells in "family:col" and 1 cell in "other:col" (4 cells / 2 columns) * A row with 1 cell in "family:col", 7 cells in "family:other_col", and 7 cells in "other:data" (15 cells / 3 columns) would report (4 + 15)/(2 + 3) = 3.8 in this field. func (o TableStatsResponseOutput) AverageCellsPerColumn() pulumi.Float64Output { return o.ApplyT(func(v TableStatsResponse) float64 { return v.AverageCellsPerColumn }).(pulumi.Float64Output) diff --git a/sdk/go/google/bigtableadmin/v2/table.go b/sdk/go/google/bigtableadmin/v2/table.go index e0f80d76c3..ca22ef49c4 100644 --- a/sdk/go/google/bigtableadmin/v2/table.go +++ b/sdk/go/google/bigtableadmin/v2/table.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new table in the specified instance. The table can be created with a full set of initial column families, specified in the request. @@ -146,6 +147,12 @@ func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput { return pulumi.ToOutputWithContext(ctx, i).(TableOutput) } +func (i *Table) ToOutput(ctx context.Context) pulumix.Output[*Table] { + return pulumix.Output[*Table]{ + OutputState: i.ToTableOutputWithContext(ctx).OutputState, + } +} + type TableOutput struct{ *pulumi.OutputState } func (TableOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput { return o } +func (o TableOutput) ToOutput(ctx context.Context) pulumix.Output[*Table] { + return pulumix.Output[*Table]{ + OutputState: o.OutputState, + } +} + // Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN `replication_status`. Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL` func (o TableOutput) ClusterStates() pulumi.StringMapOutput { return o.ApplyT(func(v *Table) pulumi.StringMapOutput { return v.ClusterStates }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/billingbudgets/v1/budget.go b/sdk/go/google/billingbudgets/v1/budget.go index 11a781648a..bf5d89da4d 100644 --- a/sdk/go/google/billingbudgets/v1/budget.go +++ b/sdk/go/google/billingbudgets/v1/budget.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new budget. See [Quotas and limits](https://cloud.google.com/billing/quotas) for more information on the limits of the number of budgets you can create. @@ -139,6 +140,12 @@ func (i *Budget) ToBudgetOutputWithContext(ctx context.Context) BudgetOutput { return pulumi.ToOutputWithContext(ctx, i).(BudgetOutput) } +func (i *Budget) ToOutput(ctx context.Context) pulumix.Output[*Budget] { + return pulumix.Output[*Budget]{ + OutputState: i.ToBudgetOutputWithContext(ctx).OutputState, + } +} + type BudgetOutput struct{ *pulumi.OutputState } func (BudgetOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o BudgetOutput) ToBudgetOutputWithContext(ctx context.Context) BudgetOutpu return o } +func (o BudgetOutput) ToOutput(ctx context.Context) pulumix.Output[*Budget] { + return pulumix.Output[*Budget]{ + OutputState: o.OutputState, + } +} + // Budgeted amount. func (o BudgetOutput) Amount() GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput { return o.ApplyT(func(v *Budget) GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput { return v.Amount }).(GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) diff --git a/sdk/go/google/billingbudgets/v1/getBudget.go b/sdk/go/google/billingbudgets/v1/getBudget.go index 8b1bc4d97a..713e96c5b9 100644 --- a/sdk/go/google/billingbudgets/v1/getBudget.go +++ b/sdk/go/google/billingbudgets/v1/getBudget.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console. @@ -80,6 +81,12 @@ func (o LookupBudgetResultOutput) ToLookupBudgetResultOutputWithContext(ctx cont return o } +func (o LookupBudgetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBudgetResult] { + return pulumix.Output[LookupBudgetResult]{ + OutputState: o.OutputState, + } +} + // Budgeted amount. func (o LookupBudgetResultOutput) Amount() GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput { return o.ApplyT(func(v LookupBudgetResult) GoogleCloudBillingBudgetsV1BudgetAmountResponse { return v.Amount }).(GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) diff --git a/sdk/go/google/billingbudgets/v1/pulumiEnums.go b/sdk/go/google/billingbudgets/v1/pulumiEnums.go index 2541592631..c5b3b6076e 100644 --- a/sdk/go/google/billingbudgets/v1/pulumiEnums.go +++ b/sdk/go/google/billingbudgets/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on. @@ -84,6 +85,12 @@ func (o GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToGoogleCloudBill }).(GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) } +func (o GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1FilterCalendarPeriod] { + return pulumix.Output[GoogleCloudBillingBudgetsV1FilterCalendarPeriod]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) ToGoogleCloudB return o } +func (o GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1FilterCalendarPeriod] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1FilterCalendarPeriod]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) Elem() GoogleCloudBillingBudgetsV1FilterCalendarPeriodOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1FilterCalendarPeriod) GoogleCloudBillingBudgetsV1FilterCalendarPeriod { if v != nil { @@ -181,6 +194,12 @@ func (in *googleCloudBillingBudgetsV1FilterCalendarPeriodPtr) ToGoogleCloudBilli return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput) } +func (in *googleCloudBillingBudgetsV1FilterCalendarPeriodPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1FilterCalendarPeriod] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1FilterCalendarPeriod]{ + OutputState: in.ToGoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`. type GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment string @@ -254,6 +273,12 @@ func (o GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToGoogleClo }).(GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) } +func (o GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment] { + return pulumix.Output[GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -289,6 +314,12 @@ func (o GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) ToGoogle return o } +func (o GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) Elem() GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment) GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment { if v != nil { @@ -351,6 +382,12 @@ func (in *googleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtr) ToGoogleClou return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutput) } +func (in *googleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1FilterCreditTypesTreatment]{ + OutputState: in.ToGoogleCloudBillingBudgetsV1FilterCreditTypesTreatmentPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set. type GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis string @@ -423,6 +460,12 @@ func (o GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToGoogleCloudB }).(GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) } +func (o GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis] { + return pulumix.Output[GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -458,6 +501,12 @@ func (o GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) ToGoogleClo return o } +func (o GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) Elem() GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis) GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis { if v != nil { @@ -520,6 +569,12 @@ func (in *googleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtr) ToGoogleCloudBi return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput) } +func (in *googleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis]{ + OutputState: in.ToGoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudBillingBudgetsV1FilterCalendarPeriodInput)(nil)).Elem(), GoogleCloudBillingBudgetsV1FilterCalendarPeriod("CALENDAR_PERIOD_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrInput)(nil)).Elem(), GoogleCloudBillingBudgetsV1FilterCalendarPeriod("CALENDAR_PERIOD_UNSPECIFIED")) diff --git a/sdk/go/google/billingbudgets/v1/pulumiTypes.go b/sdk/go/google/billingbudgets/v1/pulumiTypes.go index f48e11f97b..7ed3e98ac2 100644 --- a/sdk/go/google/billingbudgets/v1/pulumiTypes.go +++ b/sdk/go/google/billingbudgets/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudBillingBudgetsV1BudgetAmountArgs) ToGoogleCloudBillingBudgets return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1BudgetAmountOutput) } +func (i GoogleCloudBillingBudgetsV1BudgetAmountArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1BudgetAmount] { + return pulumix.Output[GoogleCloudBillingBudgetsV1BudgetAmount]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1BudgetAmountOutputWithContext(ctx).OutputState, + } +} + // The budgeted amount for each usage period. type GoogleCloudBillingBudgetsV1BudgetAmountOutput struct{ *pulumi.OutputState } @@ -67,6 +74,12 @@ func (o GoogleCloudBillingBudgetsV1BudgetAmountOutput) ToGoogleCloudBillingBudge return o } +func (o GoogleCloudBillingBudgetsV1BudgetAmountOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1BudgetAmount] { + return pulumix.Output[GoogleCloudBillingBudgetsV1BudgetAmount]{ + OutputState: o.OutputState, + } +} + // Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period. func (o GoogleCloudBillingBudgetsV1BudgetAmountOutput) LastPeriodAmount() GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1BudgetAmount) *GoogleCloudBillingBudgetsV1LastPeriodAmount { @@ -102,6 +115,12 @@ func (o GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) ToGoogleCloudBill return o } +func (o GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1BudgetAmountResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1BudgetAmountResponse]{ + OutputState: o.OutputState, + } +} + // Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period. func (o GoogleCloudBillingBudgetsV1BudgetAmountResponseOutput) LastPeriodAmount() GoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1BudgetAmountResponse) GoogleCloudBillingBudgetsV1LastPeriodAmountResponse { @@ -155,6 +174,12 @@ func (i GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToGoogleCloudBillingBudgets return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1CustomPeriodOutput) } +func (i GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1CustomPeriod] { + return pulumix.Output[GoogleCloudBillingBudgetsV1CustomPeriod]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1CustomPeriodOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBillingBudgetsV1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutput() GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput { return i.ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutputWithContext(context.Background()) } @@ -196,6 +221,12 @@ func (i *googleCloudBillingBudgetsV1CustomPeriodPtrType) ToGoogleCloudBillingBud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) } +func (i *googleCloudBillingBudgetsV1CustomPeriodPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1CustomPeriod] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1CustomPeriod]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1CustomPeriodPtrOutputWithContext(ctx).OutputState, + } +} + // All date times begin at 12 AM US and Canadian Pacific Time (UTC-8). type GoogleCloudBillingBudgetsV1CustomPeriodOutput struct{ *pulumi.OutputState } @@ -221,6 +252,12 @@ func (o GoogleCloudBillingBudgetsV1CustomPeriodOutput) ToGoogleCloudBillingBudge }).(GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) } +func (o GoogleCloudBillingBudgetsV1CustomPeriodOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1CustomPeriod] { + return pulumix.Output[GoogleCloudBillingBudgetsV1CustomPeriod]{ + OutputState: o.OutputState, + } +} + // Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date. func (o GoogleCloudBillingBudgetsV1CustomPeriodOutput) EndDate() GoogleTypeDatePtrOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1CustomPeriod) *GoogleTypeDate { return v.EndDate }).(GoogleTypeDatePtrOutput) @@ -245,6 +282,12 @@ func (o GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) ToGoogleCloudBillingBu return o } +func (o GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1CustomPeriod] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1CustomPeriod]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1CustomPeriodPtrOutput) Elem() GoogleCloudBillingBudgetsV1CustomPeriodOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1CustomPeriod) GoogleCloudBillingBudgetsV1CustomPeriod { if v != nil { @@ -298,6 +341,12 @@ func (o GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput) ToGoogleCloudBill return o } +func (o GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1CustomPeriodResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1CustomPeriodResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date. func (o GoogleCloudBillingBudgetsV1CustomPeriodResponseOutput) EndDate() GoogleTypeDateResponseOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1CustomPeriodResponse) GoogleTypeDateResponse { return v.EndDate }).(GoogleTypeDateResponseOutput) @@ -371,6 +420,12 @@ func (i GoogleCloudBillingBudgetsV1FilterArgs) ToGoogleCloudBillingBudgetsV1Filt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1FilterOutput) } +func (i GoogleCloudBillingBudgetsV1FilterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1Filter] { + return pulumix.Output[GoogleCloudBillingBudgetsV1Filter]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1FilterOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBillingBudgetsV1FilterArgs) ToGoogleCloudBillingBudgetsV1FilterPtrOutput() GoogleCloudBillingBudgetsV1FilterPtrOutput { return i.ToGoogleCloudBillingBudgetsV1FilterPtrOutputWithContext(context.Background()) } @@ -412,6 +467,12 @@ func (i *googleCloudBillingBudgetsV1FilterPtrType) ToGoogleCloudBillingBudgetsV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1FilterPtrOutput) } +func (i *googleCloudBillingBudgetsV1FilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1Filter] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1Filter]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1FilterPtrOutputWithContext(ctx).OutputState, + } +} + // A filter for a budget, limiting the scope of the cost to calculate. type GoogleCloudBillingBudgetsV1FilterOutput struct{ *pulumi.OutputState } @@ -437,6 +498,12 @@ func (o GoogleCloudBillingBudgetsV1FilterOutput) ToGoogleCloudBillingBudgetsV1Fi }).(GoogleCloudBillingBudgetsV1FilterPtrOutput) } +func (o GoogleCloudBillingBudgetsV1FilterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1Filter] { + return pulumix.Output[GoogleCloudBillingBudgetsV1Filter]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on. func (o GoogleCloudBillingBudgetsV1FilterOutput) CalendarPeriod() GoogleCloudBillingBudgetsV1FilterCalendarPeriodPtrOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1Filter) *GoogleCloudBillingBudgetsV1FilterCalendarPeriod { @@ -497,6 +564,12 @@ func (o GoogleCloudBillingBudgetsV1FilterPtrOutput) ToGoogleCloudBillingBudgetsV return o } +func (o GoogleCloudBillingBudgetsV1FilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1Filter] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1Filter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1FilterPtrOutput) Elem() GoogleCloudBillingBudgetsV1FilterOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1Filter) GoogleCloudBillingBudgetsV1Filter { if v != nil { @@ -622,6 +695,12 @@ func (o GoogleCloudBillingBudgetsV1FilterResponseOutput) ToGoogleCloudBillingBud return o } +func (o GoogleCloudBillingBudgetsV1FilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1FilterResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1FilterResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it tracks usage from July 1 to September 30 when the current calendar month is July, August, September, so on. func (o GoogleCloudBillingBudgetsV1FilterResponseOutput) CalendarPeriod() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1FilterResponse) string { return v.CalendarPeriod }).(pulumi.StringOutput) @@ -695,6 +774,12 @@ func (i GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToGoogleCloudBillingBud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) } +func (i GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1LastPeriodAmount] { + return pulumix.Output[GoogleCloudBillingBudgetsV1LastPeriodAmount]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1LastPeriodAmountOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBillingBudgetsV1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput() GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput { return i.ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutputWithContext(context.Background()) } @@ -736,6 +821,12 @@ func (i *googleCloudBillingBudgetsV1LastPeriodAmountPtrType) ToGoogleCloudBillin return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) } +func (i *googleCloudBillingBudgetsV1LastPeriodAmountPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1LastPeriodAmount] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1LastPeriodAmount]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutputWithContext(ctx).OutputState, + } +} + // Describes a budget amount targeted to the last Filter.calendar_period spend. At this time, the amount is automatically 100% of the last calendar period's spend; that is, there are no other options yet. LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period. type GoogleCloudBillingBudgetsV1LastPeriodAmountOutput struct{ *pulumi.OutputState } @@ -761,6 +852,12 @@ func (o GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ToGoogleCloudBillingB }).(GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) } +func (o GoogleCloudBillingBudgetsV1LastPeriodAmountOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1LastPeriodAmount] { + return pulumix.Output[GoogleCloudBillingBudgetsV1LastPeriodAmount]{ + OutputState: o.OutputState, + } +} + type GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) ElementType() reflect.Type { @@ -775,6 +872,12 @@ func (o GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) ToGoogleCloudBilli return o } +func (o GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1LastPeriodAmount] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1LastPeriodAmount]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1LastPeriodAmountPtrOutput) Elem() GoogleCloudBillingBudgetsV1LastPeriodAmountOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1LastPeriodAmount) GoogleCloudBillingBudgetsV1LastPeriodAmount { if v != nil { @@ -804,6 +907,12 @@ func (o GoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudBillingBudgetsV1LastPeriodAmountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1LastPeriodAmountResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1LastPeriodAmountResponse]{ + OutputState: o.OutputState, + } +} + // NotificationsRule defines notifications that are sent based on budget spend and thresholds. type GoogleCloudBillingBudgetsV1NotificationsRule struct { // Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account. @@ -851,6 +960,12 @@ func (i GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToGoogleCloudBillingBu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1NotificationsRuleOutput) } +func (i GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1NotificationsRule] { + return pulumix.Output[GoogleCloudBillingBudgetsV1NotificationsRule]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1NotificationsRuleOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBillingBudgetsV1NotificationsRuleArgs) ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutput() GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput { return i.ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutputWithContext(context.Background()) } @@ -892,6 +1007,12 @@ func (i *googleCloudBillingBudgetsV1NotificationsRulePtrType) ToGoogleCloudBilli return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) } +func (i *googleCloudBillingBudgetsV1NotificationsRulePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1NotificationsRule] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1NotificationsRule]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1NotificationsRulePtrOutputWithContext(ctx).OutputState, + } +} + // NotificationsRule defines notifications that are sent based on budget spend and thresholds. type GoogleCloudBillingBudgetsV1NotificationsRuleOutput struct{ *pulumi.OutputState } @@ -917,6 +1038,12 @@ func (o GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ToGoogleCloudBilling }).(GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) } +func (o GoogleCloudBillingBudgetsV1NotificationsRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1NotificationsRule] { + return pulumix.Output[GoogleCloudBillingBudgetsV1NotificationsRule]{ + OutputState: o.OutputState, + } +} + // Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account. func (o GoogleCloudBillingBudgetsV1NotificationsRuleOutput) DisableDefaultIamRecipients() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1NotificationsRule) *bool { return v.DisableDefaultIamRecipients }).(pulumi.BoolPtrOutput) @@ -951,6 +1078,12 @@ func (o GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) ToGoogleCloudBill return o } +func (o GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1NotificationsRule] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1NotificationsRule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1NotificationsRulePtrOutput) Elem() GoogleCloudBillingBudgetsV1NotificationsRuleOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1NotificationsRule) GoogleCloudBillingBudgetsV1NotificationsRule { if v != nil { @@ -1028,6 +1161,12 @@ func (o GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) ToGoogleClou return o } +func (o GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1NotificationsRuleResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1NotificationsRuleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account. func (o GoogleCloudBillingBudgetsV1NotificationsRuleResponseOutput) DisableDefaultIamRecipients() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1NotificationsRuleResponse) bool { @@ -1091,6 +1230,12 @@ func (i GoogleCloudBillingBudgetsV1ThresholdRuleArgs) ToGoogleCloudBillingBudget return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1ThresholdRuleOutput) } +func (i GoogleCloudBillingBudgetsV1ThresholdRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1ThresholdRule] { + return pulumix.Output[GoogleCloudBillingBudgetsV1ThresholdRule]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1ThresholdRuleOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudBillingBudgetsV1ThresholdRuleArrayInput is an input type that accepts GoogleCloudBillingBudgetsV1ThresholdRuleArray and GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput values. // You can construct a concrete instance of `GoogleCloudBillingBudgetsV1ThresholdRuleArrayInput` via: // @@ -1116,6 +1261,12 @@ func (i GoogleCloudBillingBudgetsV1ThresholdRuleArray) ToGoogleCloudBillingBudge return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput) } +func (i GoogleCloudBillingBudgetsV1ThresholdRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBillingBudgetsV1ThresholdRule] { + return pulumix.Output[[]GoogleCloudBillingBudgetsV1ThresholdRule]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1ThresholdRuleArrayOutputWithContext(ctx).OutputState, + } +} + // ThresholdRule contains the definition of a threshold. Threshold rules define the triggering events used to generate a budget notification email. When a threshold is crossed (spend exceeds the specified percentages of the budget), budget alert emails are sent to the email recipients you specify in the [NotificationsRule](#notificationsrule). Threshold rules also affect the fields included in the [JSON data object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) sent to a Pub/Sub topic. Threshold rules are _required_ if using email notifications. Threshold rules are _optional_ if only setting a [`pubsubTopic` NotificationsRule](#NotificationsRule), unless you want your JSON data object to include data about the thresholds you set. For more information, see [set budget threshold rules and actions](https://cloud.google.com/billing/docs/how-to/budgets#budget-actions). type GoogleCloudBillingBudgetsV1ThresholdRuleOutput struct{ *pulumi.OutputState } @@ -1131,6 +1282,12 @@ func (o GoogleCloudBillingBudgetsV1ThresholdRuleOutput) ToGoogleCloudBillingBudg return o } +func (o GoogleCloudBillingBudgetsV1ThresholdRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1ThresholdRule] { + return pulumix.Output[GoogleCloudBillingBudgetsV1ThresholdRule]{ + OutputState: o.OutputState, + } +} + // Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set. func (o GoogleCloudBillingBudgetsV1ThresholdRuleOutput) SpendBasis() GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasisPtrOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1ThresholdRule) *GoogleCloudBillingBudgetsV1ThresholdRuleSpendBasis { @@ -1157,6 +1314,12 @@ func (o GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput) ToGoogleCloudBillin return o } +func (o GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBillingBudgetsV1ThresholdRule] { + return pulumix.Output[[]GoogleCloudBillingBudgetsV1ThresholdRule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1ThresholdRuleArrayOutput) Index(i pulumi.IntInput) GoogleCloudBillingBudgetsV1ThresholdRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudBillingBudgetsV1ThresholdRule { return vs[0].([]GoogleCloudBillingBudgetsV1ThresholdRule)[vs[1].(int)] @@ -1186,6 +1349,12 @@ func (o GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput) ToGoogleCloudBil return o } +func (o GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1ThresholdRuleResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1ThresholdRuleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set. func (o GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput) SpendBasis() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1ThresholdRuleResponse) string { return v.SpendBasis }).(pulumi.StringOutput) @@ -1210,6 +1379,12 @@ func (o GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBillingBudgetsV1ThresholdRuleResponse] { + return pulumix.Output[[]GoogleCloudBillingBudgetsV1ThresholdRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1ThresholdRuleResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudBillingBudgetsV1ThresholdRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudBillingBudgetsV1ThresholdRuleResponse { return vs[0].([]GoogleCloudBillingBudgetsV1ThresholdRuleResponse)[vs[1].(int)] @@ -1259,6 +1434,12 @@ func (i GoogleTypeDateArgs) ToGoogleTypeDateOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDateOutput) } +func (i GoogleTypeDateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDate] { + return pulumix.Output[GoogleTypeDate]{ + OutputState: i.ToGoogleTypeDateOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeDateArgs) ToGoogleTypeDatePtrOutput() GoogleTypeDatePtrOutput { return i.ToGoogleTypeDatePtrOutputWithContext(context.Background()) } @@ -1300,6 +1481,12 @@ func (i *googleTypeDatePtrType) ToGoogleTypeDatePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDatePtrOutput) } +func (i *googleTypeDatePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDate] { + return pulumix.Output[*GoogleTypeDate]{ + OutputState: i.ToGoogleTypeDatePtrOutputWithContext(ctx).OutputState, + } +} + // Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp type GoogleTypeDateOutput struct{ *pulumi.OutputState } @@ -1325,6 +1512,12 @@ func (o GoogleTypeDateOutput) ToGoogleTypeDatePtrOutputWithContext(ctx context.C }).(GoogleTypeDatePtrOutput) } +func (o GoogleTypeDateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDate] { + return pulumix.Output[GoogleTypeDate]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateOutput) Day() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleTypeDate) *int { return v.Day }).(pulumi.IntPtrOutput) @@ -1354,6 +1547,12 @@ func (o GoogleTypeDatePtrOutput) ToGoogleTypeDatePtrOutputWithContext(ctx contex return o } +func (o GoogleTypeDatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDate] { + return pulumix.Output[*GoogleTypeDate]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeDatePtrOutput) Elem() GoogleTypeDateOutput { return o.ApplyT(func(v *GoogleTypeDate) GoogleTypeDate { if v != nil { @@ -1419,6 +1618,12 @@ func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext( return o } +func (o GoogleTypeDateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDateResponse] { + return pulumix.Output[GoogleTypeDateResponse]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v GoogleTypeDateResponse) int { return v.Day }).(pulumi.IntOutput) @@ -1477,6 +1682,12 @@ func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeMoneyOutput) } +func (i GoogleTypeMoneyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoney] { + return pulumix.Output[GoogleTypeMoney]{ + OutputState: i.ToGoogleTypeMoneyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyPtrOutput() GoogleTypeMoneyPtrOutput { return i.ToGoogleTypeMoneyPtrOutputWithContext(context.Background()) } @@ -1518,6 +1729,12 @@ func (i *googleTypeMoneyPtrType) ToGoogleTypeMoneyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeMoneyPtrOutput) } +func (i *googleTypeMoneyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeMoney] { + return pulumix.Output[*GoogleTypeMoney]{ + OutputState: i.ToGoogleTypeMoneyPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an amount of money with its currency type. type GoogleTypeMoneyOutput struct{ *pulumi.OutputState } @@ -1543,6 +1760,12 @@ func (o GoogleTypeMoneyOutput) ToGoogleTypeMoneyPtrOutputWithContext(ctx context }).(GoogleTypeMoneyPtrOutput) } +func (o GoogleTypeMoneyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoney] { + return pulumix.Output[GoogleTypeMoney]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o GoogleTypeMoneyOutput) CurrencyCode() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeMoney) *string { return v.CurrencyCode }).(pulumi.StringPtrOutput) @@ -1572,6 +1795,12 @@ func (o GoogleTypeMoneyPtrOutput) ToGoogleTypeMoneyPtrOutputWithContext(ctx cont return o } +func (o GoogleTypeMoneyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeMoney] { + return pulumix.Output[*GoogleTypeMoney]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeMoneyPtrOutput) Elem() GoogleTypeMoneyOutput { return o.ApplyT(func(v *GoogleTypeMoney) GoogleTypeMoney { if v != nil { @@ -1637,6 +1866,12 @@ func (o GoogleTypeMoneyResponseOutput) ToGoogleTypeMoneyResponseOutputWithContex return o } +func (o GoogleTypeMoneyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoneyResponse] { + return pulumix.Output[GoogleTypeMoneyResponse]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o GoogleTypeMoneyResponseOutput) CurrencyCode() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeMoneyResponse) string { return v.CurrencyCode }).(pulumi.StringOutput) diff --git a/sdk/go/google/billingbudgets/v1beta1/budget.go b/sdk/go/google/billingbudgets/v1beta1/budget.go index 7e469dfe6b..73ddce5166 100644 --- a/sdk/go/google/billingbudgets/v1beta1/budget.go +++ b/sdk/go/google/billingbudgets/v1beta1/budget.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new budget. See [Quotas and limits](https://cloud.google.com/billing/quotas) for more information on the limits of the number of budgets you can create. @@ -139,6 +140,12 @@ func (i *Budget) ToBudgetOutputWithContext(ctx context.Context) BudgetOutput { return pulumi.ToOutputWithContext(ctx, i).(BudgetOutput) } +func (i *Budget) ToOutput(ctx context.Context) pulumix.Output[*Budget] { + return pulumix.Output[*Budget]{ + OutputState: i.ToBudgetOutputWithContext(ctx).OutputState, + } +} + type BudgetOutput struct{ *pulumi.OutputState } func (BudgetOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o BudgetOutput) ToBudgetOutputWithContext(ctx context.Context) BudgetOutpu return o } +func (o BudgetOutput) ToOutput(ctx context.Context) pulumix.Output[*Budget] { + return pulumix.Output[*Budget]{ + OutputState: o.OutputState, + } +} + // Optional. Rules to apply to notifications sent based on budget spend and thresholds. func (o BudgetOutput) AllUpdatesRule() GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput { return o.ApplyT(func(v *Budget) GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput { return v.AllUpdatesRule }).(GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) diff --git a/sdk/go/google/billingbudgets/v1beta1/getBudget.go b/sdk/go/google/billingbudgets/v1beta1/getBudget.go index 13c71d8ff1..c44e301d63 100644 --- a/sdk/go/google/billingbudgets/v1beta1/getBudget.go +++ b/sdk/go/google/billingbudgets/v1beta1/getBudget.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console. @@ -80,6 +81,12 @@ func (o LookupBudgetResultOutput) ToLookupBudgetResultOutputWithContext(ctx cont return o } +func (o LookupBudgetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBudgetResult] { + return pulumix.Output[LookupBudgetResult]{ + OutputState: o.OutputState, + } +} + // Optional. Rules to apply to notifications sent based on budget spend and thresholds. func (o LookupBudgetResultOutput) AllUpdatesRule() GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput { return o.ApplyT(func(v LookupBudgetResult) GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponse { diff --git a/sdk/go/google/billingbudgets/v1beta1/pulumiEnums.go b/sdk/go/google/billingbudgets/v1beta1/pulumiEnums.go index 22e684c6d3..9cb13f3064 100644 --- a/sdk/go/google/billingbudgets/v1beta1/pulumiEnums.go +++ b/sdk/go/google/billingbudgets/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget will track usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it will track usage from July 1 to September 30 when the current calendar month is July, August, September, so on. @@ -84,6 +85,12 @@ func (o GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToGoogleClou }).(GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) } +func (o GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) ToGoogleC return o } +func (o GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) Elem() GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod) GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod { if v != nil { @@ -181,6 +194,12 @@ func (in *googleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtr) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput) } +func (in *googleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod]{ + OutputState: in.ToGoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`. type GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment string @@ -254,6 +273,12 @@ func (o GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToGoog }).(GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) } +func (o GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -289,6 +314,12 @@ func (o GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) ToG return o } +func (o GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) Elem() GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment) GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment { if v != nil { @@ -351,6 +382,12 @@ func (in *googleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtr) ToGoogl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutput) } +func (in *googleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatment]{ + OutputState: in.ToGoogleCloudBillingBudgetsV1beta1FilterCreditTypesTreatmentPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set. type GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis string @@ -423,6 +460,12 @@ func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToGoogleC }).(GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) } +func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -458,6 +501,12 @@ func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) ToGoog return o } +func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) Elem() GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis) GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis { if v != nil { @@ -520,6 +569,12 @@ func (in *googleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtr) ToGoogleCl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput) } +func (in *googleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis]{ + OutputState: in.ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodInput)(nil)).Elem(), GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod("CALENDAR_PERIOD_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrInput)(nil)).Elem(), GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod("CALENDAR_PERIOD_UNSPECIFIED")) diff --git a/sdk/go/google/billingbudgets/v1beta1/pulumiTypes.go b/sdk/go/google/billingbudgets/v1beta1/pulumiTypes.go index d767b6dabe..1a47b97540 100644 --- a/sdk/go/google/billingbudgets/v1beta1/pulumiTypes.go +++ b/sdk/go/google/billingbudgets/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToGoogleCloudBilling return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) } +func (i GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1AllUpdatesRule] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1AllUpdatesRule]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleArgs) ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput() GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput { return i.ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutputWithContext(context.Background()) } @@ -101,6 +108,12 @@ func (i *googleCloudBillingBudgetsV1beta1AllUpdatesRulePtrType) ToGoogleCloudBil return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) } +func (i *googleCloudBillingBudgetsV1beta1AllUpdatesRulePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1AllUpdatesRule] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1AllUpdatesRule]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutputWithContext(ctx).OutputState, + } +} + // AllUpdatesRule defines notifications that are sent based on budget spend and thresholds. type GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput struct{ *pulumi.OutputState } @@ -126,6 +139,12 @@ func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) ToGoogleCloudBilli }).(GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) } +func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1AllUpdatesRule] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1AllUpdatesRule]{ + OutputState: o.OutputState, + } +} + // Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account. func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput) DisableDefaultIamRecipients() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1beta1AllUpdatesRule) *bool { return v.DisableDefaultIamRecipients }).(pulumi.BoolPtrOutput) @@ -162,6 +181,12 @@ func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) ToGoogleCloudBi return o } +func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1AllUpdatesRule] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1AllUpdatesRule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRulePtrOutput) Elem() GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1beta1AllUpdatesRule) GoogleCloudBillingBudgetsV1beta1AllUpdatesRule { if v != nil { @@ -239,6 +264,12 @@ func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) ToGoogleCl return o } +func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. When set to true, disables default notifications sent when a threshold is exceeded. Default notifications are sent to those with Billing Account Administrator and Billing Account User IAM roles for the target account. func (o GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponseOutput) DisableDefaultIamRecipients() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponse) bool { @@ -302,6 +333,12 @@ func (i GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs) ToGoogleCloudBillingBu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) } +func (i GoogleCloudBillingBudgetsV1beta1BudgetAmountArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1BudgetAmount] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1BudgetAmount]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1BudgetAmountOutputWithContext(ctx).OutputState, + } +} + // The budgeted amount for each usage period. type GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput struct{ *pulumi.OutputState } @@ -317,6 +354,12 @@ func (o GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) ToGoogleCloudBilling return o } +func (o GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1BudgetAmount] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1BudgetAmount]{ + OutputState: o.OutputState, + } +} + // Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period. func (o GoogleCloudBillingBudgetsV1beta1BudgetAmountOutput) LastPeriodAmount() GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1beta1BudgetAmount) *GoogleCloudBillingBudgetsV1beta1LastPeriodAmount { @@ -352,6 +395,12 @@ func (o GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput) ToGoogleClou return o } +func (o GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1BudgetAmountResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1BudgetAmountResponse]{ + OutputState: o.OutputState, + } +} + // Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period. func (o GoogleCloudBillingBudgetsV1beta1BudgetAmountResponseOutput) LastPeriodAmount() GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1beta1BudgetAmountResponse) GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponse { @@ -405,6 +454,12 @@ func (i GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToGoogleCloudBillingBu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) } +func (i GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1CustomPeriod] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1CustomPeriod]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1CustomPeriodOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBillingBudgetsV1beta1CustomPeriodArgs) ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput() GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput { return i.ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutputWithContext(context.Background()) } @@ -446,6 +501,12 @@ func (i *googleCloudBillingBudgetsV1beta1CustomPeriodPtrType) ToGoogleCloudBilli return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) } +func (i *googleCloudBillingBudgetsV1beta1CustomPeriodPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1CustomPeriod] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1CustomPeriod]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutputWithContext(ctx).OutputState, + } +} + // All date times begin at 12 AM US and Canadian Pacific Time (UTC-8). type GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput struct{ *pulumi.OutputState } @@ -471,6 +532,12 @@ func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ToGoogleCloudBilling }).(GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) } +func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1CustomPeriod] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1CustomPeriod]{ + OutputState: o.OutputState, + } +} + // Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date. func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput) EndDate() GoogleTypeDatePtrOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1beta1CustomPeriod) *GoogleTypeDate { return v.EndDate }).(GoogleTypeDatePtrOutput) @@ -495,6 +562,12 @@ func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) ToGoogleCloudBill return o } +func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1CustomPeriod] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1CustomPeriod]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodPtrOutput) Elem() GoogleCloudBillingBudgetsV1beta1CustomPeriodOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1beta1CustomPeriod) GoogleCloudBillingBudgetsV1beta1CustomPeriod { if v != nil { @@ -548,6 +621,12 @@ func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput) ToGoogleClou return o } +func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1CustomPeriodResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1CustomPeriodResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The end date of the time period. Budgets with elapsed end date won't be processed. If unset, specifies to track all usage incurred since the start_date. func (o GoogleCloudBillingBudgetsV1beta1CustomPeriodResponseOutput) EndDate() GoogleTypeDateResponseOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1beta1CustomPeriodResponse) GoogleTypeDateResponse { return v.EndDate }).(GoogleTypeDateResponseOutput) @@ -623,6 +702,12 @@ func (i GoogleCloudBillingBudgetsV1beta1FilterArgs) ToGoogleCloudBillingBudgetsV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1FilterOutput) } +func (i GoogleCloudBillingBudgetsV1beta1FilterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1Filter] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1Filter]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1FilterOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBillingBudgetsV1beta1FilterArgs) ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutput() GoogleCloudBillingBudgetsV1beta1FilterPtrOutput { return i.ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutputWithContext(context.Background()) } @@ -664,6 +749,12 @@ func (i *googleCloudBillingBudgetsV1beta1FilterPtrType) ToGoogleCloudBillingBudg return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) } +func (i *googleCloudBillingBudgetsV1beta1FilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1Filter] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1Filter]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1FilterPtrOutputWithContext(ctx).OutputState, + } +} + // A filter for a budget, limiting the scope of the cost to calculate. type GoogleCloudBillingBudgetsV1beta1FilterOutput struct{ *pulumi.OutputState } @@ -689,6 +780,12 @@ func (o GoogleCloudBillingBudgetsV1beta1FilterOutput) ToGoogleCloudBillingBudget }).(GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) } +func (o GoogleCloudBillingBudgetsV1beta1FilterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1Filter] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1Filter]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget will track usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it will track usage from July 1 to September 30 when the current calendar month is July, August, September, so on. func (o GoogleCloudBillingBudgetsV1beta1FilterOutput) CalendarPeriod() GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriodPtrOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1beta1Filter) *GoogleCloudBillingBudgetsV1beta1FilterCalendarPeriod { @@ -749,6 +846,12 @@ func (o GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) ToGoogleCloudBillingBud return o } +func (o GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1Filter] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1Filter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1FilterPtrOutput) Elem() GoogleCloudBillingBudgetsV1beta1FilterOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1beta1Filter) GoogleCloudBillingBudgetsV1beta1Filter { if v != nil { @@ -874,6 +977,12 @@ func (o GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) ToGoogleCloudBilli return o } +func (o GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1FilterResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1FilterResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies to track usage for recurring calendar period. For example, assume that CalendarPeriod.QUARTER is set. The budget will track usage from April 1 to June 30, when the current calendar month is April, May, June. After that, it will track usage from July 1 to September 30 when the current calendar month is July, August, September, so on. func (o GoogleCloudBillingBudgetsV1beta1FilterResponseOutput) CalendarPeriod() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1beta1FilterResponse) string { return v.CalendarPeriod }).(pulumi.StringOutput) @@ -947,6 +1056,12 @@ func (i GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToGoogleCloudBilli return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) } +func (i GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1LastPeriodAmount] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1LastPeriodAmount]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudBillingBudgetsV1beta1LastPeriodAmountArgs) ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput() GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput { return i.ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutputWithContext(context.Background()) } @@ -988,6 +1103,12 @@ func (i *googleCloudBillingBudgetsV1beta1LastPeriodAmountPtrType) ToGoogleCloudB return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) } +func (i *googleCloudBillingBudgetsV1beta1LastPeriodAmountPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1LastPeriodAmount] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1LastPeriodAmount]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutputWithContext(ctx).OutputState, + } +} + // Describes a budget amount targeted to the last Filter.calendar_period spend. At this time, the amount is automatically 100% of the last calendar period's spend; that is, there are no other options yet. Future configuration options will be described here (for example, configuring a percentage of last period's spend). LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period. type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput struct{ *pulumi.OutputState } @@ -1013,6 +1134,12 @@ func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) ToGoogleCloudBil }).(GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) } +func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1LastPeriodAmount] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1LastPeriodAmount]{ + OutputState: o.OutputState, + } +} + type GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) ElementType() reflect.Type { @@ -1027,6 +1154,12 @@ func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudBillingBudgetsV1beta1LastPeriodAmount] { + return pulumix.Output[*GoogleCloudBillingBudgetsV1beta1LastPeriodAmount]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountPtrOutput) Elem() GoogleCloudBillingBudgetsV1beta1LastPeriodAmountOutput { return o.ApplyT(func(v *GoogleCloudBillingBudgetsV1beta1LastPeriodAmount) GoogleCloudBillingBudgetsV1beta1LastPeriodAmount { if v != nil { @@ -1056,6 +1189,12 @@ func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput) ToGoogle return o } +func (o GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1LastPeriodAmountResponse]{ + OutputState: o.OutputState, + } +} + // ThresholdRule contains the definition of a threshold. Threshold rules define the triggering events used to generate a budget notification email. When a threshold is crossed (spend exceeds the specified percentages of the budget), budget alert emails are sent to the email recipients you specify in the [NotificationsRule](#notificationsrule). Threshold rules also affect the fields included in the [JSON data object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) sent to a Pub/Sub topic. Threshold rules are _required_ if using email notifications. Threshold rules are _optional_ if only setting a [`pubsubTopic` NotificationsRule](#NotificationsRule), unless you want your JSON data object to include data about the thresholds you set. For more information, see [set budget threshold rules and actions](https://cloud.google.com/billing/docs/how-to/budgets#budget-actions). type GoogleCloudBillingBudgetsV1beta1ThresholdRule struct { // Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set. @@ -1095,6 +1234,12 @@ func (i GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs) ToGoogleCloudBillingB return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) } +func (i GoogleCloudBillingBudgetsV1beta1ThresholdRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1ThresholdRule] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1ThresholdRule]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayInput is an input type that accepts GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray and GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput values. // You can construct a concrete instance of `GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayInput` via: // @@ -1120,6 +1265,12 @@ func (i GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray) ToGoogleCloudBilling return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput) } +func (i GoogleCloudBillingBudgetsV1beta1ThresholdRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBillingBudgetsV1beta1ThresholdRule] { + return pulumix.Output[[]GoogleCloudBillingBudgetsV1beta1ThresholdRule]{ + OutputState: i.ToGoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutputWithContext(ctx).OutputState, + } +} + // ThresholdRule contains the definition of a threshold. Threshold rules define the triggering events used to generate a budget notification email. When a threshold is crossed (spend exceeds the specified percentages of the budget), budget alert emails are sent to the email recipients you specify in the [NotificationsRule](#notificationsrule). Threshold rules also affect the fields included in the [JSON data object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) sent to a Pub/Sub topic. Threshold rules are _required_ if using email notifications. Threshold rules are _optional_ if only setting a [`pubsubTopic` NotificationsRule](#NotificationsRule), unless you want your JSON data object to include data about the thresholds you set. For more information, see [set budget threshold rules and actions](https://cloud.google.com/billing/docs/how-to/budgets#budget-actions). type GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput struct{ *pulumi.OutputState } @@ -1135,6 +1286,12 @@ func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) ToGoogleCloudBillin return o } +func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1ThresholdRule] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1ThresholdRule]{ + OutputState: o.OutputState, + } +} + // Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set. func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput) SpendBasis() GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasisPtrOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1beta1ThresholdRule) *GoogleCloudBillingBudgetsV1beta1ThresholdRuleSpendBasis { @@ -1161,6 +1318,12 @@ func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput) ToGoogleCloudB return o } +func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBillingBudgetsV1beta1ThresholdRule] { + return pulumix.Output[[]GoogleCloudBillingBudgetsV1beta1ThresholdRule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleArrayOutput) Index(i pulumi.IntInput) GoogleCloudBillingBudgetsV1beta1ThresholdRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudBillingBudgetsV1beta1ThresholdRule { return vs[0].([]GoogleCloudBillingBudgetsV1beta1ThresholdRule)[vs[1].(int)] @@ -1190,6 +1353,12 @@ func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput) ToGoogleClo return o } +func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse] { + return pulumix.Output[GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set. func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput) SpendBasis() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse) string { return v.SpendBasis }).(pulumi.StringOutput) @@ -1214,6 +1383,12 @@ func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput) ToGoog return o } +func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse] { + return pulumix.Output[[]GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse { return vs[0].([]GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse)[vs[1].(int)] @@ -1263,6 +1438,12 @@ func (i GoogleTypeDateArgs) ToGoogleTypeDateOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDateOutput) } +func (i GoogleTypeDateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDate] { + return pulumix.Output[GoogleTypeDate]{ + OutputState: i.ToGoogleTypeDateOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeDateArgs) ToGoogleTypeDatePtrOutput() GoogleTypeDatePtrOutput { return i.ToGoogleTypeDatePtrOutputWithContext(context.Background()) } @@ -1304,6 +1485,12 @@ func (i *googleTypeDatePtrType) ToGoogleTypeDatePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDatePtrOutput) } +func (i *googleTypeDatePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDate] { + return pulumix.Output[*GoogleTypeDate]{ + OutputState: i.ToGoogleTypeDatePtrOutputWithContext(ctx).OutputState, + } +} + // Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp type GoogleTypeDateOutput struct{ *pulumi.OutputState } @@ -1329,6 +1516,12 @@ func (o GoogleTypeDateOutput) ToGoogleTypeDatePtrOutputWithContext(ctx context.C }).(GoogleTypeDatePtrOutput) } +func (o GoogleTypeDateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDate] { + return pulumix.Output[GoogleTypeDate]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateOutput) Day() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleTypeDate) *int { return v.Day }).(pulumi.IntPtrOutput) @@ -1358,6 +1551,12 @@ func (o GoogleTypeDatePtrOutput) ToGoogleTypeDatePtrOutputWithContext(ctx contex return o } +func (o GoogleTypeDatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDate] { + return pulumix.Output[*GoogleTypeDate]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeDatePtrOutput) Elem() GoogleTypeDateOutput { return o.ApplyT(func(v *GoogleTypeDate) GoogleTypeDate { if v != nil { @@ -1423,6 +1622,12 @@ func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext( return o } +func (o GoogleTypeDateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDateResponse] { + return pulumix.Output[GoogleTypeDateResponse]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v GoogleTypeDateResponse) int { return v.Day }).(pulumi.IntOutput) @@ -1481,6 +1686,12 @@ func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeMoneyOutput) } +func (i GoogleTypeMoneyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoney] { + return pulumix.Output[GoogleTypeMoney]{ + OutputState: i.ToGoogleTypeMoneyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyPtrOutput() GoogleTypeMoneyPtrOutput { return i.ToGoogleTypeMoneyPtrOutputWithContext(context.Background()) } @@ -1522,6 +1733,12 @@ func (i *googleTypeMoneyPtrType) ToGoogleTypeMoneyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeMoneyPtrOutput) } +func (i *googleTypeMoneyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeMoney] { + return pulumix.Output[*GoogleTypeMoney]{ + OutputState: i.ToGoogleTypeMoneyPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an amount of money with its currency type. type GoogleTypeMoneyOutput struct{ *pulumi.OutputState } @@ -1547,6 +1764,12 @@ func (o GoogleTypeMoneyOutput) ToGoogleTypeMoneyPtrOutputWithContext(ctx context }).(GoogleTypeMoneyPtrOutput) } +func (o GoogleTypeMoneyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoney] { + return pulumix.Output[GoogleTypeMoney]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o GoogleTypeMoneyOutput) CurrencyCode() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeMoney) *string { return v.CurrencyCode }).(pulumi.StringPtrOutput) @@ -1576,6 +1799,12 @@ func (o GoogleTypeMoneyPtrOutput) ToGoogleTypeMoneyPtrOutputWithContext(ctx cont return o } +func (o GoogleTypeMoneyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeMoney] { + return pulumix.Output[*GoogleTypeMoney]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeMoneyPtrOutput) Elem() GoogleTypeMoneyOutput { return o.ApplyT(func(v *GoogleTypeMoney) GoogleTypeMoney { if v != nil { @@ -1641,6 +1870,12 @@ func (o GoogleTypeMoneyResponseOutput) ToGoogleTypeMoneyResponseOutputWithContex return o } +func (o GoogleTypeMoneyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoneyResponse] { + return pulumix.Output[GoogleTypeMoneyResponse]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o GoogleTypeMoneyResponseOutput) CurrencyCode() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeMoneyResponse) string { return v.CurrencyCode }).(pulumi.StringOutput) diff --git a/sdk/go/google/binaryauthorization/v1/attestor.go b/sdk/go/google/binaryauthorization/v1/attestor.go index 77d41c9ea6..5caa2249b2 100644 --- a/sdk/go/google/binaryauthorization/v1/attestor.go +++ b/sdk/go/google/binaryauthorization/v1/attestor.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an attestor, and returns a copy of the new attestor. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the attestor already exists. @@ -130,6 +131,12 @@ func (i *Attestor) ToAttestorOutputWithContext(ctx context.Context) AttestorOutp return pulumi.ToOutputWithContext(ctx, i).(AttestorOutput) } +func (i *Attestor) ToOutput(ctx context.Context) pulumix.Output[*Attestor] { + return pulumix.Output[*Attestor]{ + OutputState: i.ToAttestorOutputWithContext(ctx).OutputState, + } +} + type AttestorOutput struct{ *pulumi.OutputState } func (AttestorOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o AttestorOutput) ToAttestorOutputWithContext(ctx context.Context) Attesto return o } +func (o AttestorOutput) ToOutput(ctx context.Context) pulumix.Output[*Attestor] { + return pulumix.Output[*Attestor]{ + OutputState: o.OutputState, + } +} + // Required. The attestors ID. func (o AttestorOutput) AttestorId() pulumi.StringOutput { return o.ApplyT(func(v *Attestor) pulumi.StringOutput { return v.AttestorId }).(pulumi.StringOutput) diff --git a/sdk/go/google/binaryauthorization/v1/attestorIamBinding.go b/sdk/go/google/binaryauthorization/v1/attestorIamBinding.go index 72aaa13e1d..50fcaa914e 100644 --- a/sdk/go/google/binaryauthorization/v1/attestorIamBinding.go +++ b/sdk/go/google/binaryauthorization/v1/attestorIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AttestorIamBinding) ToAttestorIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AttestorIamBindingOutput) } +func (i *AttestorIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamBinding] { + return pulumix.Output[*AttestorIamBinding]{ + OutputState: i.ToAttestorIamBindingOutputWithContext(ctx).OutputState, + } +} + type AttestorIamBindingOutput struct{ *pulumi.OutputState } func (AttestorIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AttestorIamBindingOutput) ToAttestorIamBindingOutputWithContext(ctx cont return o } +func (o AttestorIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamBinding] { + return pulumix.Output[*AttestorIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AttestorIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AttestorIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/binaryauthorization/v1/attestorIamMember.go b/sdk/go/google/binaryauthorization/v1/attestorIamMember.go index 1740628537..7f1d21a014 100644 --- a/sdk/go/google/binaryauthorization/v1/attestorIamMember.go +++ b/sdk/go/google/binaryauthorization/v1/attestorIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AttestorIamMember) ToAttestorIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AttestorIamMemberOutput) } +func (i *AttestorIamMember) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamMember] { + return pulumix.Output[*AttestorIamMember]{ + OutputState: i.ToAttestorIamMemberOutputWithContext(ctx).OutputState, + } +} + type AttestorIamMemberOutput struct{ *pulumi.OutputState } func (AttestorIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AttestorIamMemberOutput) ToAttestorIamMemberOutputWithContext(ctx contex return o } +func (o AttestorIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamMember] { + return pulumix.Output[*AttestorIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AttestorIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AttestorIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/binaryauthorization/v1/attestorIamPolicy.go b/sdk/go/google/binaryauthorization/v1/attestorIamPolicy.go index 0cc29a4f9d..e5a518e69b 100644 --- a/sdk/go/google/binaryauthorization/v1/attestorIamPolicy.go +++ b/sdk/go/google/binaryauthorization/v1/attestorIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *AttestorIamPolicy) ToAttestorIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AttestorIamPolicyOutput) } +func (i *AttestorIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamPolicy] { + return pulumix.Output[*AttestorIamPolicy]{ + OutputState: i.ToAttestorIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AttestorIamPolicyOutput struct{ *pulumi.OutputState } func (AttestorIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o AttestorIamPolicyOutput) ToAttestorIamPolicyOutputWithContext(ctx contex return o } +func (o AttestorIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamPolicy] { + return pulumix.Output[*AttestorIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AttestorIamPolicyOutput) AttestorId() pulumi.StringOutput { return o.ApplyT(func(v *AttestorIamPolicy) pulumi.StringOutput { return v.AttestorId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/binaryauthorization/v1/getAttestor.go b/sdk/go/google/binaryauthorization/v1/getAttestor.go index 66f2efe6a6..16890d6c97 100644 --- a/sdk/go/google/binaryauthorization/v1/getAttestor.go +++ b/sdk/go/google/binaryauthorization/v1/getAttestor.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an attestor. Returns NOT_FOUND if the attestor does not exist. @@ -76,6 +77,12 @@ func (o LookupAttestorResultOutput) ToLookupAttestorResultOutputWithContext(ctx return o } +func (o LookupAttestorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAttestorResult] { + return pulumix.Output[LookupAttestorResult]{ + OutputState: o.OutputState, + } +} + // Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs. func (o LookupAttestorResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupAttestorResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/binaryauthorization/v1/getAttestorIamPolicy.go b/sdk/go/google/binaryauthorization/v1/getAttestorIamPolicy.go index 376f766774..6795ca7a4b 100644 --- a/sdk/go/google/binaryauthorization/v1/getAttestorIamPolicy.go +++ b/sdk/go/google/binaryauthorization/v1/getAttestorIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupAttestorIamPolicyResultOutput) ToLookupAttestorIamPolicyResultOutp return o } +func (o LookupAttestorIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAttestorIamPolicyResult] { + return pulumix.Output[LookupAttestorIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupAttestorIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupAttestorIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/binaryauthorization/v1/getPolicyIamPolicy.go b/sdk/go/google/binaryauthorization/v1/getPolicyIamPolicy.go index f73e8c6cb9..8edea59e41 100644 --- a/sdk/go/google/binaryauthorization/v1/getPolicyIamPolicy.go +++ b/sdk/go/google/binaryauthorization/v1/getPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -72,6 +73,12 @@ func (o LookupPolicyIamPolicyResultOutput) ToLookupPolicyIamPolicyResultOutputWi return o } +func (o LookupPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPolicyIamPolicyResult] { + return pulumix.Output[LookupPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupPolicyIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupPolicyIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/binaryauthorization/v1/policyIamBinding.go b/sdk/go/google/binaryauthorization/v1/policyIamBinding.go index 540c5e7758..4342191376 100644 --- a/sdk/go/google/binaryauthorization/v1/policyIamBinding.go +++ b/sdk/go/google/binaryauthorization/v1/policyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *PolicyIamBinding) ToPolicyIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PolicyIamBindingOutput) } +func (i *PolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamBinding] { + return pulumix.Output[*PolicyIamBinding]{ + OutputState: i.ToPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type PolicyIamBindingOutput struct{ *pulumi.OutputState } func (PolicyIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o PolicyIamBindingOutput) ToPolicyIamBindingOutputWithContext(ctx context. return o } +func (o PolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamBinding] { + return pulumix.Output[*PolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/binaryauthorization/v1/policyIamMember.go b/sdk/go/google/binaryauthorization/v1/policyIamMember.go index bc72bd0cfa..6b29b70b99 100644 --- a/sdk/go/google/binaryauthorization/v1/policyIamMember.go +++ b/sdk/go/google/binaryauthorization/v1/policyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *PolicyIamMember) ToPolicyIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PolicyIamMemberOutput) } +func (i *PolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamMember] { + return pulumix.Output[*PolicyIamMember]{ + OutputState: i.ToPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type PolicyIamMemberOutput struct{ *pulumi.OutputState } func (PolicyIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o PolicyIamMemberOutput) ToPolicyIamMemberOutputWithContext(ctx context.Co return o } +func (o PolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamMember] { + return pulumix.Output[*PolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/binaryauthorization/v1/policyIamPolicy.go b/sdk/go/google/binaryauthorization/v1/policyIamPolicy.go index c94bd90865..d28dfc998b 100644 --- a/sdk/go/google/binaryauthorization/v1/policyIamPolicy.go +++ b/sdk/go/google/binaryauthorization/v1/policyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -113,6 +114,12 @@ func (i *PolicyIamPolicy) ToPolicyIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PolicyIamPolicyOutput) } +func (i *PolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamPolicy] { + return pulumix.Output[*PolicyIamPolicy]{ + OutputState: i.ToPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type PolicyIamPolicyOutput struct{ *pulumi.OutputState } func (PolicyIamPolicyOutput) ElementType() reflect.Type { @@ -127,6 +134,12 @@ func (o PolicyIamPolicyOutput) ToPolicyIamPolicyOutputWithContext(ctx context.Co return o } +func (o PolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamPolicy] { + return pulumix.Output[*PolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o PolicyIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *PolicyIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/binaryauthorization/v1/pulumiEnums.go b/sdk/go/google/binaryauthorization/v1/pulumiEnums.go index 9020fffea3..81dc683a77 100644 --- a/sdk/go/google/binaryauthorization/v1/pulumiEnums.go +++ b/sdk/go/google/binaryauthorization/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in `public_key_pem` (i.e. this algorithm must match that of the public key). @@ -114,6 +115,12 @@ func (o PkixPublicKeySignatureAlgorithmOutput) ToPkixPublicKeySignatureAlgorithm }).(PkixPublicKeySignatureAlgorithmPtrOutput) } +func (o PkixPublicKeySignatureAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[PkixPublicKeySignatureAlgorithm] { + return pulumix.Output[PkixPublicKeySignatureAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o PkixPublicKeySignatureAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -149,6 +156,12 @@ func (o PkixPublicKeySignatureAlgorithmPtrOutput) ToPkixPublicKeySignatureAlgori return o } +func (o PkixPublicKeySignatureAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PkixPublicKeySignatureAlgorithm] { + return pulumix.Output[*PkixPublicKeySignatureAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o PkixPublicKeySignatureAlgorithmPtrOutput) Elem() PkixPublicKeySignatureAlgorithmOutput { return o.ApplyT(func(v *PkixPublicKeySignatureAlgorithm) PkixPublicKeySignatureAlgorithm { if v != nil { @@ -211,6 +224,12 @@ func (in *pkixPublicKeySignatureAlgorithmPtr) ToPkixPublicKeySignatureAlgorithmP return pulumi.ToOutputWithContext(ctx, in).(PkixPublicKeySignatureAlgorithmPtrOutput) } +func (in *pkixPublicKeySignatureAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*PkixPublicKeySignatureAlgorithm] { + return pulumix.Output[*PkixPublicKeySignatureAlgorithm]{ + OutputState: in.ToPkixPublicKeySignatureAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*PkixPublicKeySignatureAlgorithmInput)(nil)).Elem(), PkixPublicKeySignatureAlgorithm("SIGNATURE_ALGORITHM_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*PkixPublicKeySignatureAlgorithmPtrInput)(nil)).Elem(), PkixPublicKeySignatureAlgorithm("SIGNATURE_ALGORITHM_UNSPECIFIED")) diff --git a/sdk/go/google/binaryauthorization/v1/pulumiTypes.go b/sdk/go/google/binaryauthorization/v1/pulumiTypes.go index f38473cde2..713f2fb6ae 100644 --- a/sdk/go/google/binaryauthorization/v1/pulumiTypes.go +++ b/sdk/go/google/binaryauthorization/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AttestorPublicKeyArgs) ToAttestorPublicKeyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AttestorPublicKeyOutput) } +func (i AttestorPublicKeyArgs) ToOutput(ctx context.Context) pulumix.Output[AttestorPublicKey] { + return pulumix.Output[AttestorPublicKey]{ + OutputState: i.ToAttestorPublicKeyOutputWithContext(ctx).OutputState, + } +} + // AttestorPublicKeyArrayInput is an input type that accepts AttestorPublicKeyArray and AttestorPublicKeyArrayOutput values. // You can construct a concrete instance of `AttestorPublicKeyArrayInput` via: // @@ -85,6 +92,12 @@ func (i AttestorPublicKeyArray) ToAttestorPublicKeyArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AttestorPublicKeyArrayOutput) } +func (i AttestorPublicKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]AttestorPublicKey] { + return pulumix.Output[[]AttestorPublicKey]{ + OutputState: i.ToAttestorPublicKeyArrayOutputWithContext(ctx).OutputState, + } +} + // An attestor public key that will be used to verify attestations signed by this attestor. type AttestorPublicKeyOutput struct{ *pulumi.OutputState } @@ -100,6 +113,12 @@ func (o AttestorPublicKeyOutput) ToAttestorPublicKeyOutputWithContext(ctx contex return o } +func (o AttestorPublicKeyOutput) ToOutput(ctx context.Context) pulumix.Output[AttestorPublicKey] { + return pulumix.Output[AttestorPublicKey]{ + OutputState: o.OutputState, + } +} + // ASCII-armored representation of a PGP public key, as the entire output by the command `gpg --export --armor foo@example.com` (either LF or CRLF line endings). When using this field, `id` should be left blank. The BinAuthz API handlers will calculate the ID and fill it in automatically. BinAuthz computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. If `id` is provided by the caller, it will be overwritten by the API-calculated ID. func (o AttestorPublicKeyOutput) AsciiArmoredPgpPublicKey() pulumi.StringPtrOutput { return o.ApplyT(func(v AttestorPublicKey) *string { return v.AsciiArmoredPgpPublicKey }).(pulumi.StringPtrOutput) @@ -134,6 +153,12 @@ func (o AttestorPublicKeyArrayOutput) ToAttestorPublicKeyArrayOutputWithContext( return o } +func (o AttestorPublicKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttestorPublicKey] { + return pulumix.Output[[]AttestorPublicKey]{ + OutputState: o.OutputState, + } +} + func (o AttestorPublicKeyArrayOutput) Index(i pulumi.IntInput) AttestorPublicKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttestorPublicKey { return vs[0].([]AttestorPublicKey)[vs[1].(int)] @@ -165,6 +190,12 @@ func (o AttestorPublicKeyResponseOutput) ToAttestorPublicKeyResponseOutputWithCo return o } +func (o AttestorPublicKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttestorPublicKeyResponse] { + return pulumix.Output[AttestorPublicKeyResponse]{ + OutputState: o.OutputState, + } +} + // ASCII-armored representation of a PGP public key, as the entire output by the command `gpg --export --armor foo@example.com` (either LF or CRLF line endings). When using this field, `id` should be left blank. The BinAuthz API handlers will calculate the ID and fill it in automatically. BinAuthz computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. If `id` is provided by the caller, it will be overwritten by the API-calculated ID. func (o AttestorPublicKeyResponseOutput) AsciiArmoredPgpPublicKey() pulumi.StringOutput { return o.ApplyT(func(v AttestorPublicKeyResponse) string { return v.AsciiArmoredPgpPublicKey }).(pulumi.StringOutput) @@ -194,6 +225,12 @@ func (o AttestorPublicKeyResponseArrayOutput) ToAttestorPublicKeyResponseArrayOu return o } +func (o AttestorPublicKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttestorPublicKeyResponse] { + return pulumix.Output[[]AttestorPublicKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o AttestorPublicKeyResponseArrayOutput) Index(i pulumi.IntInput) AttestorPublicKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttestorPublicKeyResponse { return vs[0].([]AttestorPublicKeyResponse)[vs[1].(int)] @@ -243,6 +280,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -268,6 +311,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -283,6 +332,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -312,6 +367,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -343,6 +404,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -372,6 +439,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -425,6 +498,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -466,6 +545,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -491,6 +576,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -525,6 +616,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -602,6 +699,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -661,6 +764,12 @@ func (i PkixPublicKeyArgs) ToPkixPublicKeyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PkixPublicKeyOutput) } +func (i PkixPublicKeyArgs) ToOutput(ctx context.Context) pulumix.Output[PkixPublicKey] { + return pulumix.Output[PkixPublicKey]{ + OutputState: i.ToPkixPublicKeyOutputWithContext(ctx).OutputState, + } +} + func (i PkixPublicKeyArgs) ToPkixPublicKeyPtrOutput() PkixPublicKeyPtrOutput { return i.ToPkixPublicKeyPtrOutputWithContext(context.Background()) } @@ -702,6 +811,12 @@ func (i *pkixPublicKeyPtrType) ToPkixPublicKeyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(PkixPublicKeyPtrOutput) } +func (i *pkixPublicKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*PkixPublicKey] { + return pulumix.Output[*PkixPublicKey]{ + OutputState: i.ToPkixPublicKeyPtrOutputWithContext(ctx).OutputState, + } +} + // A public key in the PkixPublicKey format (see https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details). Public keys of this type are typically textually encoded using the PEM format. type PkixPublicKeyOutput struct{ *pulumi.OutputState } @@ -727,6 +842,12 @@ func (o PkixPublicKeyOutput) ToPkixPublicKeyPtrOutputWithContext(ctx context.Con }).(PkixPublicKeyPtrOutput) } +func (o PkixPublicKeyOutput) ToOutput(ctx context.Context) pulumix.Output[PkixPublicKey] { + return pulumix.Output[PkixPublicKey]{ + OutputState: o.OutputState, + } +} + // A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13 func (o PkixPublicKeyOutput) PublicKeyPem() pulumi.StringPtrOutput { return o.ApplyT(func(v PkixPublicKey) *string { return v.PublicKeyPem }).(pulumi.StringPtrOutput) @@ -751,6 +872,12 @@ func (o PkixPublicKeyPtrOutput) ToPkixPublicKeyPtrOutputWithContext(ctx context. return o } +func (o PkixPublicKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PkixPublicKey] { + return pulumix.Output[*PkixPublicKey]{ + OutputState: o.OutputState, + } +} + func (o PkixPublicKeyPtrOutput) Elem() PkixPublicKeyOutput { return o.ApplyT(func(v *PkixPublicKey) PkixPublicKey { if v != nil { @@ -804,6 +931,12 @@ func (o PkixPublicKeyResponseOutput) ToPkixPublicKeyResponseOutputWithContext(ct return o } +func (o PkixPublicKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PkixPublicKeyResponse] { + return pulumix.Output[PkixPublicKeyResponse]{ + OutputState: o.OutputState, + } +} + // A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13 func (o PkixPublicKeyResponseOutput) PublicKeyPem() pulumi.StringOutput { return o.ApplyT(func(v PkixPublicKeyResponse) string { return v.PublicKeyPem }).(pulumi.StringOutput) @@ -853,6 +986,12 @@ func (i UserOwnedGrafeasNoteArgs) ToUserOwnedGrafeasNoteOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(UserOwnedGrafeasNoteOutput) } +func (i UserOwnedGrafeasNoteArgs) ToOutput(ctx context.Context) pulumix.Output[UserOwnedGrafeasNote] { + return pulumix.Output[UserOwnedGrafeasNote]{ + OutputState: i.ToUserOwnedGrafeasNoteOutputWithContext(ctx).OutputState, + } +} + func (i UserOwnedGrafeasNoteArgs) ToUserOwnedGrafeasNotePtrOutput() UserOwnedGrafeasNotePtrOutput { return i.ToUserOwnedGrafeasNotePtrOutputWithContext(context.Background()) } @@ -894,6 +1033,12 @@ func (i *userOwnedGrafeasNotePtrType) ToUserOwnedGrafeasNotePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(UserOwnedGrafeasNotePtrOutput) } +func (i *userOwnedGrafeasNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*UserOwnedGrafeasNote] { + return pulumix.Output[*UserOwnedGrafeasNote]{ + OutputState: i.ToUserOwnedGrafeasNotePtrOutputWithContext(ctx).OutputState, + } +} + // An user owned Grafeas note references a Grafeas Attestation.Authority Note created by the user. type UserOwnedGrafeasNoteOutput struct{ *pulumi.OutputState } @@ -919,6 +1064,12 @@ func (o UserOwnedGrafeasNoteOutput) ToUserOwnedGrafeasNotePtrOutputWithContext(c }).(UserOwnedGrafeasNotePtrOutput) } +func (o UserOwnedGrafeasNoteOutput) ToOutput(ctx context.Context) pulumix.Output[UserOwnedGrafeasNote] { + return pulumix.Output[UserOwnedGrafeasNote]{ + OutputState: o.OutputState, + } +} + // The Grafeas resource name of a Attestation.Authority Note, created by the user, in the format: `projects/*/notes/*`. This field may not be updated. An attestation by this attestor is stored as a Grafeas Attestation.Authority Occurrence that names a container image and that links to this Note. Grafeas is an external dependency. func (o UserOwnedGrafeasNoteOutput) NoteReference() pulumi.StringOutput { return o.ApplyT(func(v UserOwnedGrafeasNote) string { return v.NoteReference }).(pulumi.StringOutput) @@ -943,6 +1094,12 @@ func (o UserOwnedGrafeasNotePtrOutput) ToUserOwnedGrafeasNotePtrOutputWithContex return o } +func (o UserOwnedGrafeasNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserOwnedGrafeasNote] { + return pulumix.Output[*UserOwnedGrafeasNote]{ + OutputState: o.OutputState, + } +} + func (o UserOwnedGrafeasNotePtrOutput) Elem() UserOwnedGrafeasNoteOutput { return o.ApplyT(func(v *UserOwnedGrafeasNote) UserOwnedGrafeasNote { if v != nil { @@ -998,6 +1155,12 @@ func (o UserOwnedGrafeasNoteResponseOutput) ToUserOwnedGrafeasNoteResponseOutput return o } +func (o UserOwnedGrafeasNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UserOwnedGrafeasNoteResponse] { + return pulumix.Output[UserOwnedGrafeasNoteResponse]{ + OutputState: o.OutputState, + } +} + // This field will contain the service account email address that this Attestor will use as the principal when querying Container Analysis. Attestor administrators must grant this service account the IAM role needed to read attestations from the note_reference in Container Analysis (`containeranalysis.notes.occurrences.viewer`). This email address is fixed for the lifetime of the Attestor, but callers should not make any other assumptions about the service account email; future versions may use an email based on a different naming pattern. func (o UserOwnedGrafeasNoteResponseOutput) DelegationServiceAccountEmail() pulumi.StringOutput { return o.ApplyT(func(v UserOwnedGrafeasNoteResponse) string { return v.DelegationServiceAccountEmail }).(pulumi.StringOutput) diff --git a/sdk/go/google/binaryauthorization/v1beta1/attestor.go b/sdk/go/google/binaryauthorization/v1beta1/attestor.go index c617ab5202..5f505d1493 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/attestor.go +++ b/sdk/go/google/binaryauthorization/v1beta1/attestor.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an attestor, and returns a copy of the new attestor. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the attestor already exists. @@ -130,6 +131,12 @@ func (i *Attestor) ToAttestorOutputWithContext(ctx context.Context) AttestorOutp return pulumi.ToOutputWithContext(ctx, i).(AttestorOutput) } +func (i *Attestor) ToOutput(ctx context.Context) pulumix.Output[*Attestor] { + return pulumix.Output[*Attestor]{ + OutputState: i.ToAttestorOutputWithContext(ctx).OutputState, + } +} + type AttestorOutput struct{ *pulumi.OutputState } func (AttestorOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o AttestorOutput) ToAttestorOutputWithContext(ctx context.Context) Attesto return o } +func (o AttestorOutput) ToOutput(ctx context.Context) pulumix.Output[*Attestor] { + return pulumix.Output[*Attestor]{ + OutputState: o.OutputState, + } +} + // Required. The attestors ID. func (o AttestorOutput) AttestorId() pulumi.StringOutput { return o.ApplyT(func(v *Attestor) pulumi.StringOutput { return v.AttestorId }).(pulumi.StringOutput) diff --git a/sdk/go/google/binaryauthorization/v1beta1/attestorIamBinding.go b/sdk/go/google/binaryauthorization/v1beta1/attestorIamBinding.go index 81e410f76a..e9cbceb98a 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/attestorIamBinding.go +++ b/sdk/go/google/binaryauthorization/v1beta1/attestorIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AttestorIamBinding) ToAttestorIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AttestorIamBindingOutput) } +func (i *AttestorIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamBinding] { + return pulumix.Output[*AttestorIamBinding]{ + OutputState: i.ToAttestorIamBindingOutputWithContext(ctx).OutputState, + } +} + type AttestorIamBindingOutput struct{ *pulumi.OutputState } func (AttestorIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AttestorIamBindingOutput) ToAttestorIamBindingOutputWithContext(ctx cont return o } +func (o AttestorIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamBinding] { + return pulumix.Output[*AttestorIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AttestorIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AttestorIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/binaryauthorization/v1beta1/attestorIamMember.go b/sdk/go/google/binaryauthorization/v1beta1/attestorIamMember.go index 2331ff8370..0b7fa001eb 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/attestorIamMember.go +++ b/sdk/go/google/binaryauthorization/v1beta1/attestorIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AttestorIamMember) ToAttestorIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AttestorIamMemberOutput) } +func (i *AttestorIamMember) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamMember] { + return pulumix.Output[*AttestorIamMember]{ + OutputState: i.ToAttestorIamMemberOutputWithContext(ctx).OutputState, + } +} + type AttestorIamMemberOutput struct{ *pulumi.OutputState } func (AttestorIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AttestorIamMemberOutput) ToAttestorIamMemberOutputWithContext(ctx contex return o } +func (o AttestorIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamMember] { + return pulumix.Output[*AttestorIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AttestorIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AttestorIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/binaryauthorization/v1beta1/attestorIamPolicy.go b/sdk/go/google/binaryauthorization/v1beta1/attestorIamPolicy.go index c29fe51e61..967090334e 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/attestorIamPolicy.go +++ b/sdk/go/google/binaryauthorization/v1beta1/attestorIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *AttestorIamPolicy) ToAttestorIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AttestorIamPolicyOutput) } +func (i *AttestorIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamPolicy] { + return pulumix.Output[*AttestorIamPolicy]{ + OutputState: i.ToAttestorIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AttestorIamPolicyOutput struct{ *pulumi.OutputState } func (AttestorIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o AttestorIamPolicyOutput) ToAttestorIamPolicyOutputWithContext(ctx contex return o } +func (o AttestorIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AttestorIamPolicy] { + return pulumix.Output[*AttestorIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AttestorIamPolicyOutput) AttestorId() pulumi.StringOutput { return o.ApplyT(func(v *AttestorIamPolicy) pulumi.StringOutput { return v.AttestorId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/binaryauthorization/v1beta1/getAttestor.go b/sdk/go/google/binaryauthorization/v1beta1/getAttestor.go index 5ed8d188d5..83bbf28179 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/getAttestor.go +++ b/sdk/go/google/binaryauthorization/v1beta1/getAttestor.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an attestor. Returns NOT_FOUND if the attestor does not exist. @@ -76,6 +77,12 @@ func (o LookupAttestorResultOutput) ToLookupAttestorResultOutputWithContext(ctx return o } +func (o LookupAttestorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAttestorResult] { + return pulumix.Output[LookupAttestorResult]{ + OutputState: o.OutputState, + } +} + // Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs. func (o LookupAttestorResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupAttestorResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/binaryauthorization/v1beta1/getAttestorIamPolicy.go b/sdk/go/google/binaryauthorization/v1beta1/getAttestorIamPolicy.go index 9b98cc51e2..ff980d1174 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/getAttestorIamPolicy.go +++ b/sdk/go/google/binaryauthorization/v1beta1/getAttestorIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupAttestorIamPolicyResultOutput) ToLookupAttestorIamPolicyResultOutp return o } +func (o LookupAttestorIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAttestorIamPolicyResult] { + return pulumix.Output[LookupAttestorIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupAttestorIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupAttestorIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/binaryauthorization/v1beta1/getPolicyIamPolicy.go b/sdk/go/google/binaryauthorization/v1beta1/getPolicyIamPolicy.go index 2aeb9bd491..a27d461d3a 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/getPolicyIamPolicy.go +++ b/sdk/go/google/binaryauthorization/v1beta1/getPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -72,6 +73,12 @@ func (o LookupPolicyIamPolicyResultOutput) ToLookupPolicyIamPolicyResultOutputWi return o } +func (o LookupPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPolicyIamPolicyResult] { + return pulumix.Output[LookupPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupPolicyIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupPolicyIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/binaryauthorization/v1beta1/policyIamBinding.go b/sdk/go/google/binaryauthorization/v1beta1/policyIamBinding.go index 6f9990d0de..61c12871e1 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/policyIamBinding.go +++ b/sdk/go/google/binaryauthorization/v1beta1/policyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *PolicyIamBinding) ToPolicyIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PolicyIamBindingOutput) } +func (i *PolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamBinding] { + return pulumix.Output[*PolicyIamBinding]{ + OutputState: i.ToPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type PolicyIamBindingOutput struct{ *pulumi.OutputState } func (PolicyIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o PolicyIamBindingOutput) ToPolicyIamBindingOutputWithContext(ctx context. return o } +func (o PolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamBinding] { + return pulumix.Output[*PolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/binaryauthorization/v1beta1/policyIamMember.go b/sdk/go/google/binaryauthorization/v1beta1/policyIamMember.go index 84e9e13ba4..d749a7a292 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/policyIamMember.go +++ b/sdk/go/google/binaryauthorization/v1beta1/policyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *PolicyIamMember) ToPolicyIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PolicyIamMemberOutput) } +func (i *PolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamMember] { + return pulumix.Output[*PolicyIamMember]{ + OutputState: i.ToPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type PolicyIamMemberOutput struct{ *pulumi.OutputState } func (PolicyIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o PolicyIamMemberOutput) ToPolicyIamMemberOutputWithContext(ctx context.Co return o } +func (o PolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamMember] { + return pulumix.Output[*PolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/binaryauthorization/v1beta1/policyIamPolicy.go b/sdk/go/google/binaryauthorization/v1beta1/policyIamPolicy.go index 43cd1760dd..55179bb766 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/policyIamPolicy.go +++ b/sdk/go/google/binaryauthorization/v1beta1/policyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -113,6 +114,12 @@ func (i *PolicyIamPolicy) ToPolicyIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PolicyIamPolicyOutput) } +func (i *PolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamPolicy] { + return pulumix.Output[*PolicyIamPolicy]{ + OutputState: i.ToPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type PolicyIamPolicyOutput struct{ *pulumi.OutputState } func (PolicyIamPolicyOutput) ElementType() reflect.Type { @@ -127,6 +134,12 @@ func (o PolicyIamPolicyOutput) ToPolicyIamPolicyOutputWithContext(ctx context.Co return o } +func (o PolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyIamPolicy] { + return pulumix.Output[*PolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o PolicyIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *PolicyIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/binaryauthorization/v1beta1/pulumiEnums.go b/sdk/go/google/binaryauthorization/v1beta1/pulumiEnums.go index dfc3c6c676..3661dc7b0f 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/pulumiEnums.go +++ b/sdk/go/google/binaryauthorization/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded in `public_key_pem` (i.e. this algorithm must match that of the public key). @@ -114,6 +115,12 @@ func (o PkixPublicKeySignatureAlgorithmOutput) ToPkixPublicKeySignatureAlgorithm }).(PkixPublicKeySignatureAlgorithmPtrOutput) } +func (o PkixPublicKeySignatureAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[PkixPublicKeySignatureAlgorithm] { + return pulumix.Output[PkixPublicKeySignatureAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o PkixPublicKeySignatureAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -149,6 +156,12 @@ func (o PkixPublicKeySignatureAlgorithmPtrOutput) ToPkixPublicKeySignatureAlgori return o } +func (o PkixPublicKeySignatureAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PkixPublicKeySignatureAlgorithm] { + return pulumix.Output[*PkixPublicKeySignatureAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o PkixPublicKeySignatureAlgorithmPtrOutput) Elem() PkixPublicKeySignatureAlgorithmOutput { return o.ApplyT(func(v *PkixPublicKeySignatureAlgorithm) PkixPublicKeySignatureAlgorithm { if v != nil { @@ -211,6 +224,12 @@ func (in *pkixPublicKeySignatureAlgorithmPtr) ToPkixPublicKeySignatureAlgorithmP return pulumi.ToOutputWithContext(ctx, in).(PkixPublicKeySignatureAlgorithmPtrOutput) } +func (in *pkixPublicKeySignatureAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*PkixPublicKeySignatureAlgorithm] { + return pulumix.Output[*PkixPublicKeySignatureAlgorithm]{ + OutputState: in.ToPkixPublicKeySignatureAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*PkixPublicKeySignatureAlgorithmInput)(nil)).Elem(), PkixPublicKeySignatureAlgorithm("SIGNATURE_ALGORITHM_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*PkixPublicKeySignatureAlgorithmPtrInput)(nil)).Elem(), PkixPublicKeySignatureAlgorithm("SIGNATURE_ALGORITHM_UNSPECIFIED")) diff --git a/sdk/go/google/binaryauthorization/v1beta1/pulumiTypes.go b/sdk/go/google/binaryauthorization/v1beta1/pulumiTypes.go index da61a29eec..7f1880d7c1 100644 --- a/sdk/go/google/binaryauthorization/v1beta1/pulumiTypes.go +++ b/sdk/go/google/binaryauthorization/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AttestorPublicKeyArgs) ToAttestorPublicKeyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AttestorPublicKeyOutput) } +func (i AttestorPublicKeyArgs) ToOutput(ctx context.Context) pulumix.Output[AttestorPublicKey] { + return pulumix.Output[AttestorPublicKey]{ + OutputState: i.ToAttestorPublicKeyOutputWithContext(ctx).OutputState, + } +} + // AttestorPublicKeyArrayInput is an input type that accepts AttestorPublicKeyArray and AttestorPublicKeyArrayOutput values. // You can construct a concrete instance of `AttestorPublicKeyArrayInput` via: // @@ -85,6 +92,12 @@ func (i AttestorPublicKeyArray) ToAttestorPublicKeyArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AttestorPublicKeyArrayOutput) } +func (i AttestorPublicKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]AttestorPublicKey] { + return pulumix.Output[[]AttestorPublicKey]{ + OutputState: i.ToAttestorPublicKeyArrayOutputWithContext(ctx).OutputState, + } +} + // An attestor public key that will be used to verify attestations signed by this attestor. type AttestorPublicKeyOutput struct{ *pulumi.OutputState } @@ -100,6 +113,12 @@ func (o AttestorPublicKeyOutput) ToAttestorPublicKeyOutputWithContext(ctx contex return o } +func (o AttestorPublicKeyOutput) ToOutput(ctx context.Context) pulumix.Output[AttestorPublicKey] { + return pulumix.Output[AttestorPublicKey]{ + OutputState: o.OutputState, + } +} + // ASCII-armored representation of a PGP public key, as the entire output by the command `gpg --export --armor foo@example.com` (either LF or CRLF line endings). When using this field, `id` should be left blank. The BinAuthz API handlers will calculate the ID and fill it in automatically. BinAuthz computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. If `id` is provided by the caller, it will be overwritten by the API-calculated ID. func (o AttestorPublicKeyOutput) AsciiArmoredPgpPublicKey() pulumi.StringPtrOutput { return o.ApplyT(func(v AttestorPublicKey) *string { return v.AsciiArmoredPgpPublicKey }).(pulumi.StringPtrOutput) @@ -134,6 +153,12 @@ func (o AttestorPublicKeyArrayOutput) ToAttestorPublicKeyArrayOutputWithContext( return o } +func (o AttestorPublicKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttestorPublicKey] { + return pulumix.Output[[]AttestorPublicKey]{ + OutputState: o.OutputState, + } +} + func (o AttestorPublicKeyArrayOutput) Index(i pulumi.IntInput) AttestorPublicKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttestorPublicKey { return vs[0].([]AttestorPublicKey)[vs[1].(int)] @@ -165,6 +190,12 @@ func (o AttestorPublicKeyResponseOutput) ToAttestorPublicKeyResponseOutputWithCo return o } +func (o AttestorPublicKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttestorPublicKeyResponse] { + return pulumix.Output[AttestorPublicKeyResponse]{ + OutputState: o.OutputState, + } +} + // ASCII-armored representation of a PGP public key, as the entire output by the command `gpg --export --armor foo@example.com` (either LF or CRLF line endings). When using this field, `id` should be left blank. The BinAuthz API handlers will calculate the ID and fill it in automatically. BinAuthz computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. If `id` is provided by the caller, it will be overwritten by the API-calculated ID. func (o AttestorPublicKeyResponseOutput) AsciiArmoredPgpPublicKey() pulumi.StringOutput { return o.ApplyT(func(v AttestorPublicKeyResponse) string { return v.AsciiArmoredPgpPublicKey }).(pulumi.StringOutput) @@ -194,6 +225,12 @@ func (o AttestorPublicKeyResponseArrayOutput) ToAttestorPublicKeyResponseArrayOu return o } +func (o AttestorPublicKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttestorPublicKeyResponse] { + return pulumix.Output[[]AttestorPublicKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o AttestorPublicKeyResponseArrayOutput) Index(i pulumi.IntInput) AttestorPublicKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttestorPublicKeyResponse { return vs[0].([]AttestorPublicKeyResponse)[vs[1].(int)] @@ -243,6 +280,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -268,6 +311,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -283,6 +332,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -312,6 +367,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -343,6 +404,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -372,6 +439,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -425,6 +498,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -466,6 +545,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -491,6 +576,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -525,6 +616,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -602,6 +699,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -661,6 +764,12 @@ func (i PkixPublicKeyArgs) ToPkixPublicKeyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PkixPublicKeyOutput) } +func (i PkixPublicKeyArgs) ToOutput(ctx context.Context) pulumix.Output[PkixPublicKey] { + return pulumix.Output[PkixPublicKey]{ + OutputState: i.ToPkixPublicKeyOutputWithContext(ctx).OutputState, + } +} + func (i PkixPublicKeyArgs) ToPkixPublicKeyPtrOutput() PkixPublicKeyPtrOutput { return i.ToPkixPublicKeyPtrOutputWithContext(context.Background()) } @@ -702,6 +811,12 @@ func (i *pkixPublicKeyPtrType) ToPkixPublicKeyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(PkixPublicKeyPtrOutput) } +func (i *pkixPublicKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*PkixPublicKey] { + return pulumix.Output[*PkixPublicKey]{ + OutputState: i.ToPkixPublicKeyPtrOutputWithContext(ctx).OutputState, + } +} + // A public key in the PkixPublicKey format (see https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details). Public keys of this type are typically textually encoded using the PEM format. type PkixPublicKeyOutput struct{ *pulumi.OutputState } @@ -727,6 +842,12 @@ func (o PkixPublicKeyOutput) ToPkixPublicKeyPtrOutputWithContext(ctx context.Con }).(PkixPublicKeyPtrOutput) } +func (o PkixPublicKeyOutput) ToOutput(ctx context.Context) pulumix.Output[PkixPublicKey] { + return pulumix.Output[PkixPublicKey]{ + OutputState: o.OutputState, + } +} + // A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13 func (o PkixPublicKeyOutput) PublicKeyPem() pulumi.StringPtrOutput { return o.ApplyT(func(v PkixPublicKey) *string { return v.PublicKeyPem }).(pulumi.StringPtrOutput) @@ -751,6 +872,12 @@ func (o PkixPublicKeyPtrOutput) ToPkixPublicKeyPtrOutputWithContext(ctx context. return o } +func (o PkixPublicKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PkixPublicKey] { + return pulumix.Output[*PkixPublicKey]{ + OutputState: o.OutputState, + } +} + func (o PkixPublicKeyPtrOutput) Elem() PkixPublicKeyOutput { return o.ApplyT(func(v *PkixPublicKey) PkixPublicKey { if v != nil { @@ -804,6 +931,12 @@ func (o PkixPublicKeyResponseOutput) ToPkixPublicKeyResponseOutputWithContext(ct return o } +func (o PkixPublicKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PkixPublicKeyResponse] { + return pulumix.Output[PkixPublicKeyResponse]{ + OutputState: o.OutputState, + } +} + // A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13 func (o PkixPublicKeyResponseOutput) PublicKeyPem() pulumi.StringOutput { return o.ApplyT(func(v PkixPublicKeyResponse) string { return v.PublicKeyPem }).(pulumi.StringOutput) @@ -853,6 +986,12 @@ func (i UserOwnedDrydockNoteArgs) ToUserOwnedDrydockNoteOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(UserOwnedDrydockNoteOutput) } +func (i UserOwnedDrydockNoteArgs) ToOutput(ctx context.Context) pulumix.Output[UserOwnedDrydockNote] { + return pulumix.Output[UserOwnedDrydockNote]{ + OutputState: i.ToUserOwnedDrydockNoteOutputWithContext(ctx).OutputState, + } +} + func (i UserOwnedDrydockNoteArgs) ToUserOwnedDrydockNotePtrOutput() UserOwnedDrydockNotePtrOutput { return i.ToUserOwnedDrydockNotePtrOutputWithContext(context.Background()) } @@ -894,6 +1033,12 @@ func (i *userOwnedDrydockNotePtrType) ToUserOwnedDrydockNotePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(UserOwnedDrydockNotePtrOutput) } +func (i *userOwnedDrydockNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*UserOwnedDrydockNote] { + return pulumix.Output[*UserOwnedDrydockNote]{ + OutputState: i.ToUserOwnedDrydockNotePtrOutputWithContext(ctx).OutputState, + } +} + // An user owned drydock note references a Drydock ATTESTATION_AUTHORITY Note created by the user. type UserOwnedDrydockNoteOutput struct{ *pulumi.OutputState } @@ -919,6 +1064,12 @@ func (o UserOwnedDrydockNoteOutput) ToUserOwnedDrydockNotePtrOutputWithContext(c }).(UserOwnedDrydockNotePtrOutput) } +func (o UserOwnedDrydockNoteOutput) ToOutput(ctx context.Context) pulumix.Output[UserOwnedDrydockNote] { + return pulumix.Output[UserOwnedDrydockNote]{ + OutputState: o.OutputState, + } +} + // The Drydock resource name of a ATTESTATION_AUTHORITY Note, created by the user, in the format: `projects/*/notes/*` (or the legacy `providers/*/notes/*`). This field may not be updated. An attestation by this attestor is stored as a Drydock ATTESTATION_AUTHORITY Occurrence that names a container image and that links to this Note. Drydock is an external dependency. func (o UserOwnedDrydockNoteOutput) NoteReference() pulumi.StringOutput { return o.ApplyT(func(v UserOwnedDrydockNote) string { return v.NoteReference }).(pulumi.StringOutput) @@ -943,6 +1094,12 @@ func (o UserOwnedDrydockNotePtrOutput) ToUserOwnedDrydockNotePtrOutputWithContex return o } +func (o UserOwnedDrydockNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserOwnedDrydockNote] { + return pulumix.Output[*UserOwnedDrydockNote]{ + OutputState: o.OutputState, + } +} + func (o UserOwnedDrydockNotePtrOutput) Elem() UserOwnedDrydockNoteOutput { return o.ApplyT(func(v *UserOwnedDrydockNote) UserOwnedDrydockNote { if v != nil { @@ -998,6 +1155,12 @@ func (o UserOwnedDrydockNoteResponseOutput) ToUserOwnedDrydockNoteResponseOutput return o } +func (o UserOwnedDrydockNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UserOwnedDrydockNoteResponse] { + return pulumix.Output[UserOwnedDrydockNoteResponse]{ + OutputState: o.OutputState, + } +} + // This field will contain the service account email address that this Attestor will use as the principal when querying Container Analysis. Attestor administrators must grant this service account the IAM role needed to read attestations from the note_reference in Container Analysis (`containeranalysis.notes.occurrences.viewer`). This email address is fixed for the lifetime of the Attestor, but callers should not make any other assumptions about the service account email; future versions may use an email based on a different naming pattern. func (o UserOwnedDrydockNoteResponseOutput) DelegationServiceAccountEmail() pulumi.StringOutput { return o.ApplyT(func(v UserOwnedDrydockNoteResponse) string { return v.DelegationServiceAccountEmail }).(pulumi.StringOutput) diff --git a/sdk/go/google/certificatemanager/v1/certificate.go b/sdk/go/google/certificatemanager/v1/certificate.go index 8e557963f5..faecca4291 100644 --- a/sdk/go/google/certificatemanager/v1/certificate.go +++ b/sdk/go/google/certificatemanager/v1/certificate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Certificate in a given project and location. @@ -154,6 +155,12 @@ func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) Certif return pulumi.ToOutputWithContext(ctx, i).(CertificateOutput) } +func (i *Certificate) ToOutput(ctx context.Context) pulumix.Output[*Certificate] { + return pulumix.Output[*Certificate]{ + OutputState: i.ToCertificateOutputWithContext(ctx).OutputState, + } +} + type CertificateOutput struct{ *pulumi.OutputState } func (CertificateOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) C return o } +func (o CertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*Certificate] { + return pulumix.Output[*Certificate]{ + OutputState: o.OutputState, + } +} + // Required. A user-provided name of the certificate. func (o CertificateOutput) CertificateId() pulumi.StringOutput { return o.ApplyT(func(v *Certificate) pulumi.StringOutput { return v.CertificateId }).(pulumi.StringOutput) diff --git a/sdk/go/google/certificatemanager/v1/certificateIssuanceConfig.go b/sdk/go/google/certificatemanager/v1/certificateIssuanceConfig.go index caa2671079..7ddcbab845 100644 --- a/sdk/go/google/certificatemanager/v1/certificateIssuanceConfig.go +++ b/sdk/go/google/certificatemanager/v1/certificateIssuanceConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new CertificateIssuanceConfig in a given project and location. @@ -166,6 +167,12 @@ func (i *CertificateIssuanceConfig) ToCertificateIssuanceConfigOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(CertificateIssuanceConfigOutput) } +func (i *CertificateIssuanceConfig) ToOutput(ctx context.Context) pulumix.Output[*CertificateIssuanceConfig] { + return pulumix.Output[*CertificateIssuanceConfig]{ + OutputState: i.ToCertificateIssuanceConfigOutputWithContext(ctx).OutputState, + } +} + type CertificateIssuanceConfigOutput struct{ *pulumi.OutputState } func (CertificateIssuanceConfigOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o CertificateIssuanceConfigOutput) ToCertificateIssuanceConfigOutputWithCo return o } +func (o CertificateIssuanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateIssuanceConfig] { + return pulumix.Output[*CertificateIssuanceConfig]{ + OutputState: o.OutputState, + } +} + // The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc. func (o CertificateIssuanceConfigOutput) CertificateAuthorityConfig() CertificateAuthorityConfigResponseOutput { return o.ApplyT(func(v *CertificateIssuanceConfig) CertificateAuthorityConfigResponseOutput { diff --git a/sdk/go/google/certificatemanager/v1/certificateMap.go b/sdk/go/google/certificatemanager/v1/certificateMap.go index 521cae57de..049a35fadf 100644 --- a/sdk/go/google/certificatemanager/v1/certificateMap.go +++ b/sdk/go/google/certificatemanager/v1/certificateMap.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new CertificateMap in a given project and location. @@ -132,6 +133,12 @@ func (i *CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(CertificateMapOutput) } +func (i *CertificateMap) ToOutput(ctx context.Context) pulumix.Output[*CertificateMap] { + return pulumix.Output[*CertificateMap]{ + OutputState: i.ToCertificateMapOutputWithContext(ctx).OutputState, + } +} + type CertificateMapOutput struct{ *pulumi.OutputState } func (CertificateMapOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Cont return o } +func (o CertificateMapOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateMap] { + return pulumix.Output[*CertificateMap]{ + OutputState: o.OutputState, + } +} + // Required. A user-provided name of the certificate map. func (o CertificateMapOutput) CertificateMapId() pulumi.StringOutput { return o.ApplyT(func(v *CertificateMap) pulumi.StringOutput { return v.CertificateMapId }).(pulumi.StringOutput) diff --git a/sdk/go/google/certificatemanager/v1/certificateMapEntry.go b/sdk/go/google/certificatemanager/v1/certificateMapEntry.go index aeed0dcdeb..d66a2c3c40 100644 --- a/sdk/go/google/certificatemanager/v1/certificateMapEntry.go +++ b/sdk/go/google/certificatemanager/v1/certificateMapEntry.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new CertificateMapEntry in a given project and location. @@ -157,6 +158,12 @@ func (i *CertificateMapEntry) ToCertificateMapEntryOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CertificateMapEntryOutput) } +func (i *CertificateMapEntry) ToOutput(ctx context.Context) pulumix.Output[*CertificateMapEntry] { + return pulumix.Output[*CertificateMapEntry]{ + OutputState: i.ToCertificateMapEntryOutputWithContext(ctx).OutputState, + } +} + type CertificateMapEntryOutput struct{ *pulumi.OutputState } func (CertificateMapEntryOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o CertificateMapEntryOutput) ToCertificateMapEntryOutputWithContext(ctx co return o } +func (o CertificateMapEntryOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateMapEntry] { + return pulumix.Output[*CertificateMapEntry]{ + OutputState: o.OutputState, + } +} + // Required. A user-provided name of the certificate map entry. func (o CertificateMapEntryOutput) CertificateMapEntryId() pulumi.StringOutput { return o.ApplyT(func(v *CertificateMapEntry) pulumi.StringOutput { return v.CertificateMapEntryId }).(pulumi.StringOutput) diff --git a/sdk/go/google/certificatemanager/v1/dnsAuthorization.go b/sdk/go/google/certificatemanager/v1/dnsAuthorization.go index f6f401626e..5840518507 100644 --- a/sdk/go/google/certificatemanager/v1/dnsAuthorization.go +++ b/sdk/go/google/certificatemanager/v1/dnsAuthorization.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new DnsAuthorization in a given project and location. @@ -141,6 +142,12 @@ func (i *DnsAuthorization) ToDnsAuthorizationOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DnsAuthorizationOutput) } +func (i *DnsAuthorization) ToOutput(ctx context.Context) pulumix.Output[*DnsAuthorization] { + return pulumix.Output[*DnsAuthorization]{ + OutputState: i.ToDnsAuthorizationOutputWithContext(ctx).OutputState, + } +} + type DnsAuthorizationOutput struct{ *pulumi.OutputState } func (DnsAuthorizationOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o DnsAuthorizationOutput) ToDnsAuthorizationOutputWithContext(ctx context. return o } +func (o DnsAuthorizationOutput) ToOutput(ctx context.Context) pulumix.Output[*DnsAuthorization] { + return pulumix.Output[*DnsAuthorization]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of a DnsAuthorization. func (o DnsAuthorizationOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *DnsAuthorization) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/certificatemanager/v1/getCertificate.go b/sdk/go/google/certificatemanager/v1/getCertificate.go index 43fac947c0..f0e1dcd354 100644 --- a/sdk/go/google/certificatemanager/v1/getCertificate.go +++ b/sdk/go/google/certificatemanager/v1/getCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Certificate. @@ -90,6 +91,12 @@ func (o LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContex return o } +func (o LookupCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateResult] { + return pulumix.Output[LookupCertificateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of a Certificate. func (o LookupCertificateResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupCertificateResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/certificatemanager/v1/getCertificateIssuanceConfig.go b/sdk/go/google/certificatemanager/v1/getCertificateIssuanceConfig.go index e212d40012..01806c251c 100644 --- a/sdk/go/google/certificatemanager/v1/getCertificateIssuanceConfig.go +++ b/sdk/go/google/certificatemanager/v1/getCertificateIssuanceConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single CertificateIssuanceConfig. @@ -86,6 +87,12 @@ func (o LookupCertificateIssuanceConfigResultOutput) ToLookupCertificateIssuance return o } +func (o LookupCertificateIssuanceConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateIssuanceConfigResult] { + return pulumix.Output[LookupCertificateIssuanceConfigResult]{ + OutputState: o.OutputState, + } +} + // The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc. func (o LookupCertificateIssuanceConfigResultOutput) CertificateAuthorityConfig() CertificateAuthorityConfigResponseOutput { return o.ApplyT(func(v LookupCertificateIssuanceConfigResult) CertificateAuthorityConfigResponse { diff --git a/sdk/go/google/certificatemanager/v1/getCertificateMap.go b/sdk/go/google/certificatemanager/v1/getCertificateMap.go index 4fdf831e8c..644722175a 100644 --- a/sdk/go/google/certificatemanager/v1/getCertificateMap.go +++ b/sdk/go/google/certificatemanager/v1/getCertificateMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single CertificateMap. @@ -80,6 +81,12 @@ func (o LookupCertificateMapResultOutput) ToLookupCertificateMapResultOutputWith return o } +func (o LookupCertificateMapResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateMapResult] { + return pulumix.Output[LookupCertificateMapResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of a Certificate Map. func (o LookupCertificateMapResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupCertificateMapResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/certificatemanager/v1/getCertificateMapEntry.go b/sdk/go/google/certificatemanager/v1/getCertificateMapEntry.go index 153c0ea092..81e13cf1e4 100644 --- a/sdk/go/google/certificatemanager/v1/getCertificateMapEntry.go +++ b/sdk/go/google/certificatemanager/v1/getCertificateMapEntry.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single CertificateMapEntry. @@ -88,6 +89,12 @@ func (o LookupCertificateMapEntryResultOutput) ToLookupCertificateMapEntryResult return o } +func (o LookupCertificateMapEntryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateMapEntryResult] { + return pulumix.Output[LookupCertificateMapEntryResult]{ + OutputState: o.OutputState, + } +} + // A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`. func (o LookupCertificateMapEntryResultOutput) Certificates() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupCertificateMapEntryResult) []string { return v.Certificates }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/certificatemanager/v1/getDnsAuthorization.go b/sdk/go/google/certificatemanager/v1/getDnsAuthorization.go index 74d132f911..ca54cd99ee 100644 --- a/sdk/go/google/certificatemanager/v1/getDnsAuthorization.go +++ b/sdk/go/google/certificatemanager/v1/getDnsAuthorization.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single DnsAuthorization. @@ -82,6 +83,12 @@ func (o LookupDnsAuthorizationResultOutput) ToLookupDnsAuthorizationResultOutput return o } +func (o LookupDnsAuthorizationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDnsAuthorizationResult] { + return pulumix.Output[LookupDnsAuthorizationResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of a DnsAuthorization. func (o LookupDnsAuthorizationResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupDnsAuthorizationResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/certificatemanager/v1/getTrustConfig.go b/sdk/go/google/certificatemanager/v1/getTrustConfig.go index 80265aff19..71f4909e46 100644 --- a/sdk/go/google/certificatemanager/v1/getTrustConfig.go +++ b/sdk/go/google/certificatemanager/v1/getTrustConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single TrustConfig. @@ -82,6 +83,12 @@ func (o LookupTrustConfigResultOutput) ToLookupTrustConfigResultOutputWithContex return o } +func (o LookupTrustConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTrustConfigResult] { + return pulumix.Output[LookupTrustConfigResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of a TrustConfig. func (o LookupTrustConfigResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTrustConfigResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/certificatemanager/v1/pulumiEnums.go b/sdk/go/google/certificatemanager/v1/pulumiEnums.go index 7c08cb5eba..1419420bdd 100644 --- a/sdk/go/google/certificatemanager/v1/pulumiEnums.go +++ b/sdk/go/google/certificatemanager/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The key algorithm to use when generating the private key. @@ -82,6 +83,12 @@ func (o CertificateIssuanceConfigKeyAlgorithmOutput) ToCertificateIssuanceConfig }).(CertificateIssuanceConfigKeyAlgorithmPtrOutput) } +func (o CertificateIssuanceConfigKeyAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateIssuanceConfigKeyAlgorithm] { + return pulumix.Output[CertificateIssuanceConfigKeyAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o CertificateIssuanceConfigKeyAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o CertificateIssuanceConfigKeyAlgorithmPtrOutput) ToCertificateIssuanceCon return o } +func (o CertificateIssuanceConfigKeyAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateIssuanceConfigKeyAlgorithm] { + return pulumix.Output[*CertificateIssuanceConfigKeyAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o CertificateIssuanceConfigKeyAlgorithmPtrOutput) Elem() CertificateIssuanceConfigKeyAlgorithmOutput { return o.ApplyT(func(v *CertificateIssuanceConfigKeyAlgorithm) CertificateIssuanceConfigKeyAlgorithm { if v != nil { @@ -179,6 +192,12 @@ func (in *certificateIssuanceConfigKeyAlgorithmPtr) ToCertificateIssuanceConfigK return pulumi.ToOutputWithContext(ctx, in).(CertificateIssuanceConfigKeyAlgorithmPtrOutput) } +func (in *certificateIssuanceConfigKeyAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*CertificateIssuanceConfigKeyAlgorithm] { + return pulumix.Output[*CertificateIssuanceConfigKeyAlgorithm]{ + OutputState: in.ToCertificateIssuanceConfigKeyAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // A predefined matcher for particular cases, other than SNI selection. type CertificateMapEntryMatcher string @@ -249,6 +268,12 @@ func (o CertificateMapEntryMatcherOutput) ToCertificateMapEntryMatcherPtrOutputW }).(CertificateMapEntryMatcherPtrOutput) } +func (o CertificateMapEntryMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateMapEntryMatcher] { + return pulumix.Output[CertificateMapEntryMatcher]{ + OutputState: o.OutputState, + } +} + func (o CertificateMapEntryMatcherOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o CertificateMapEntryMatcherPtrOutput) ToCertificateMapEntryMatcherPtrOutp return o } +func (o CertificateMapEntryMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateMapEntryMatcher] { + return pulumix.Output[*CertificateMapEntryMatcher]{ + OutputState: o.OutputState, + } +} + func (o CertificateMapEntryMatcherPtrOutput) Elem() CertificateMapEntryMatcherOutput { return o.ApplyT(func(v *CertificateMapEntryMatcher) CertificateMapEntryMatcher { if v != nil { @@ -346,6 +377,12 @@ func (in *certificateMapEntryMatcherPtr) ToCertificateMapEntryMatcherPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(CertificateMapEntryMatcherPtrOutput) } +func (in *certificateMapEntryMatcherPtr) ToOutput(ctx context.Context) pulumix.Output[*CertificateMapEntryMatcher] { + return pulumix.Output[*CertificateMapEntryMatcher]{ + OutputState: in.ToCertificateMapEntryMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The scope of the certificate. type CertificateScope string @@ -416,6 +453,12 @@ func (o CertificateScopeOutput) ToCertificateScopePtrOutputWithContext(ctx conte }).(CertificateScopePtrOutput) } +func (o CertificateScopeOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateScope] { + return pulumix.Output[CertificateScope]{ + OutputState: o.OutputState, + } +} + func (o CertificateScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -451,6 +494,12 @@ func (o CertificateScopePtrOutput) ToCertificateScopePtrOutputWithContext(ctx co return o } +func (o CertificateScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateScope] { + return pulumix.Output[*CertificateScope]{ + OutputState: o.OutputState, + } +} + func (o CertificateScopePtrOutput) Elem() CertificateScopeOutput { return o.ApplyT(func(v *CertificateScope) CertificateScope { if v != nil { @@ -513,6 +562,12 @@ func (in *certificateScopePtr) ToCertificateScopePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(CertificateScopePtrOutput) } +func (in *certificateScopePtr) ToOutput(ctx context.Context) pulumix.Output[*CertificateScope] { + return pulumix.Output[*CertificateScope]{ + OutputState: in.ToCertificateScopePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*CertificateIssuanceConfigKeyAlgorithmInput)(nil)).Elem(), CertificateIssuanceConfigKeyAlgorithm("KEY_ALGORITHM_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*CertificateIssuanceConfigKeyAlgorithmPtrInput)(nil)).Elem(), CertificateIssuanceConfigKeyAlgorithm("KEY_ALGORITHM_UNSPECIFIED")) diff --git a/sdk/go/google/certificatemanager/v1/pulumiTypes.go b/sdk/go/google/certificatemanager/v1/pulumiTypes.go index 35e40572b8..f35a72b49c 100644 --- a/sdk/go/google/certificatemanager/v1/pulumiTypes.go +++ b/sdk/go/google/certificatemanager/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -40,6 +41,12 @@ func (o AuthorizationAttemptInfoResponseOutput) ToAuthorizationAttemptInfoRespon return o } +func (o AuthorizationAttemptInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationAttemptInfoResponse] { + return pulumix.Output[AuthorizationAttemptInfoResponse]{ + OutputState: o.OutputState, + } +} + // Human readable explanation for reaching the state. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use FailureReason enum. func (o AuthorizationAttemptInfoResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v AuthorizationAttemptInfoResponse) string { return v.Details }).(pulumi.StringOutput) @@ -74,6 +81,12 @@ func (o AuthorizationAttemptInfoResponseArrayOutput) ToAuthorizationAttemptInfoR return o } +func (o AuthorizationAttemptInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuthorizationAttemptInfoResponse] { + return pulumix.Output[[]AuthorizationAttemptInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationAttemptInfoResponseArrayOutput) Index(i pulumi.IntInput) AuthorizationAttemptInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthorizationAttemptInfoResponse { return vs[0].([]AuthorizationAttemptInfoResponse)[vs[1].(int)] @@ -115,6 +128,12 @@ func (i CertificateAuthorityConfigArgs) ToCertificateAuthorityConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(CertificateAuthorityConfigOutput) } +func (i CertificateAuthorityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CertificateAuthorityConfig] { + return pulumix.Output[CertificateAuthorityConfig]{ + OutputState: i.ToCertificateAuthorityConfigOutputWithContext(ctx).OutputState, + } +} + // The CA that issues the workload certificate. It includes CA address, type, authentication to CA service, etc. type CertificateAuthorityConfigOutput struct{ *pulumi.OutputState } @@ -130,6 +149,12 @@ func (o CertificateAuthorityConfigOutput) ToCertificateAuthorityConfigOutputWith return o } +func (o CertificateAuthorityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateAuthorityConfig] { + return pulumix.Output[CertificateAuthorityConfig]{ + OutputState: o.OutputState, + } +} + // Defines a CertificateAuthorityServiceConfig. func (o CertificateAuthorityConfigOutput) CertificateAuthorityServiceConfig() CertificateAuthorityServiceConfigPtrOutput { return o.ApplyT(func(v CertificateAuthorityConfig) *CertificateAuthorityServiceConfig { @@ -158,6 +183,12 @@ func (o CertificateAuthorityConfigResponseOutput) ToCertificateAuthorityConfigRe return o } +func (o CertificateAuthorityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateAuthorityConfigResponse] { + return pulumix.Output[CertificateAuthorityConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines a CertificateAuthorityServiceConfig. func (o CertificateAuthorityConfigResponseOutput) CertificateAuthorityServiceConfig() CertificateAuthorityServiceConfigResponseOutput { return o.ApplyT(func(v CertificateAuthorityConfigResponse) CertificateAuthorityServiceConfigResponse { @@ -200,6 +231,12 @@ func (i CertificateAuthorityServiceConfigArgs) ToCertificateAuthorityServiceConf return pulumi.ToOutputWithContext(ctx, i).(CertificateAuthorityServiceConfigOutput) } +func (i CertificateAuthorityServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CertificateAuthorityServiceConfig] { + return pulumix.Output[CertificateAuthorityServiceConfig]{ + OutputState: i.ToCertificateAuthorityServiceConfigOutputWithContext(ctx).OutputState, + } +} + func (i CertificateAuthorityServiceConfigArgs) ToCertificateAuthorityServiceConfigPtrOutput() CertificateAuthorityServiceConfigPtrOutput { return i.ToCertificateAuthorityServiceConfigPtrOutputWithContext(context.Background()) } @@ -241,6 +278,12 @@ func (i *certificateAuthorityServiceConfigPtrType) ToCertificateAuthorityService return pulumi.ToOutputWithContext(ctx, i).(CertificateAuthorityServiceConfigPtrOutput) } +func (i *certificateAuthorityServiceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityServiceConfig] { + return pulumix.Output[*CertificateAuthorityServiceConfig]{ + OutputState: i.ToCertificateAuthorityServiceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information required to contact CA service. type CertificateAuthorityServiceConfigOutput struct{ *pulumi.OutputState } @@ -266,6 +309,12 @@ func (o CertificateAuthorityServiceConfigOutput) ToCertificateAuthorityServiceCo }).(CertificateAuthorityServiceConfigPtrOutput) } +func (o CertificateAuthorityServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateAuthorityServiceConfig] { + return pulumix.Output[CertificateAuthorityServiceConfig]{ + OutputState: o.OutputState, + } +} + // A CA pool resource used to issue a certificate. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}". func (o CertificateAuthorityServiceConfigOutput) CaPool() pulumi.StringOutput { return o.ApplyT(func(v CertificateAuthorityServiceConfig) string { return v.CaPool }).(pulumi.StringOutput) @@ -285,6 +334,12 @@ func (o CertificateAuthorityServiceConfigPtrOutput) ToCertificateAuthorityServic return o } +func (o CertificateAuthorityServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityServiceConfig] { + return pulumix.Output[*CertificateAuthorityServiceConfig]{ + OutputState: o.OutputState, + } +} + func (o CertificateAuthorityServiceConfigPtrOutput) Elem() CertificateAuthorityServiceConfigOutput { return o.ApplyT(func(v *CertificateAuthorityServiceConfig) CertificateAuthorityServiceConfig { if v != nil { @@ -326,6 +381,12 @@ func (o CertificateAuthorityServiceConfigResponseOutput) ToCertificateAuthorityS return o } +func (o CertificateAuthorityServiceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateAuthorityServiceConfigResponse] { + return pulumix.Output[CertificateAuthorityServiceConfigResponse]{ + OutputState: o.OutputState, + } +} + // A CA pool resource used to issue a certificate. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}". func (o CertificateAuthorityServiceConfigResponseOutput) CaPool() pulumi.StringOutput { return o.ApplyT(func(v CertificateAuthorityServiceConfigResponse) string { return v.CaPool }).(pulumi.StringOutput) @@ -356,6 +417,12 @@ func (o DnsResourceRecordResponseOutput) ToDnsResourceRecordResponseOutputWithCo return o } +func (o DnsResourceRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DnsResourceRecordResponse] { + return pulumix.Output[DnsResourceRecordResponse]{ + OutputState: o.OutputState, + } +} + // Data of the DNS Resource Record. func (o DnsResourceRecordResponseOutput) Data() pulumi.StringOutput { return o.ApplyT(func(v DnsResourceRecordResponse) string { return v.Data }).(pulumi.StringOutput) @@ -396,6 +463,12 @@ func (o GclbTargetResponseOutput) ToGclbTargetResponseOutputWithContext(ctx cont return o } +func (o GclbTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GclbTargetResponse] { + return pulumix.Output[GclbTargetResponse]{ + OutputState: o.OutputState, + } +} + // IP configurations for this Target Proxy where the Certificate Map is serving. func (o GclbTargetResponseOutput) IpConfigs() IpConfigResponseArrayOutput { return o.ApplyT(func(v GclbTargetResponse) []IpConfigResponse { return v.IpConfigs }).(IpConfigResponseArrayOutput) @@ -425,6 +498,12 @@ func (o GclbTargetResponseArrayOutput) ToGclbTargetResponseArrayOutputWithContex return o } +func (o GclbTargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GclbTargetResponse] { + return pulumix.Output[[]GclbTargetResponse]{ + OutputState: o.OutputState, + } +} + func (o GclbTargetResponseArrayOutput) Index(i pulumi.IntInput) GclbTargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GclbTargetResponse { return vs[0].([]GclbTargetResponse)[vs[1].(int)] @@ -466,6 +545,12 @@ func (i IntermediateCAArgs) ToIntermediateCAOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(IntermediateCAOutput) } +func (i IntermediateCAArgs) ToOutput(ctx context.Context) pulumix.Output[IntermediateCA] { + return pulumix.Output[IntermediateCA]{ + OutputState: i.ToIntermediateCAOutputWithContext(ctx).OutputState, + } +} + // IntermediateCAArrayInput is an input type that accepts IntermediateCAArray and IntermediateCAArrayOutput values. // You can construct a concrete instance of `IntermediateCAArrayInput` via: // @@ -491,6 +576,12 @@ func (i IntermediateCAArray) ToIntermediateCAArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(IntermediateCAArrayOutput) } +func (i IntermediateCAArray) ToOutput(ctx context.Context) pulumix.Output[[]IntermediateCA] { + return pulumix.Output[[]IntermediateCA]{ + OutputState: i.ToIntermediateCAArrayOutputWithContext(ctx).OutputState, + } +} + // Defines an intermediate CA. type IntermediateCAOutput struct{ *pulumi.OutputState } @@ -506,6 +597,12 @@ func (o IntermediateCAOutput) ToIntermediateCAOutputWithContext(ctx context.Cont return o } +func (o IntermediateCAOutput) ToOutput(ctx context.Context) pulumix.Output[IntermediateCA] { + return pulumix.Output[IntermediateCA]{ + OutputState: o.OutputState, + } +} + // PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB. func (o IntermediateCAOutput) PemCertificate() pulumi.StringPtrOutput { return o.ApplyT(func(v IntermediateCA) *string { return v.PemCertificate }).(pulumi.StringPtrOutput) @@ -525,6 +622,12 @@ func (o IntermediateCAArrayOutput) ToIntermediateCAArrayOutputWithContext(ctx co return o } +func (o IntermediateCAArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IntermediateCA] { + return pulumix.Output[[]IntermediateCA]{ + OutputState: o.OutputState, + } +} + func (o IntermediateCAArrayOutput) Index(i pulumi.IntInput) IntermediateCAOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IntermediateCA { return vs[0].([]IntermediateCA)[vs[1].(int)] @@ -552,6 +655,12 @@ func (o IntermediateCAResponseOutput) ToIntermediateCAResponseOutputWithContext( return o } +func (o IntermediateCAResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IntermediateCAResponse] { + return pulumix.Output[IntermediateCAResponse]{ + OutputState: o.OutputState, + } +} + // PEM intermediate certificate used for building up paths for validation. Each certificate provided in PEM format may occupy up to 5kB. func (o IntermediateCAResponseOutput) PemCertificate() pulumi.StringOutput { return o.ApplyT(func(v IntermediateCAResponse) string { return v.PemCertificate }).(pulumi.StringOutput) @@ -571,6 +680,12 @@ func (o IntermediateCAResponseArrayOutput) ToIntermediateCAResponseArrayOutputWi return o } +func (o IntermediateCAResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IntermediateCAResponse] { + return pulumix.Output[[]IntermediateCAResponse]{ + OutputState: o.OutputState, + } +} + func (o IntermediateCAResponseArrayOutput) Index(i pulumi.IntInput) IntermediateCAResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IntermediateCAResponse { return vs[0].([]IntermediateCAResponse)[vs[1].(int)] @@ -600,6 +715,12 @@ func (o IpConfigResponseOutput) ToIpConfigResponseOutputWithContext(ctx context. return o } +func (o IpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IpConfigResponse] { + return pulumix.Output[IpConfigResponse]{ + OutputState: o.OutputState, + } +} + // An external IP address. func (o IpConfigResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v IpConfigResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -624,6 +745,12 @@ func (o IpConfigResponseArrayOutput) ToIpConfigResponseArrayOutputWithContext(ct return o } +func (o IpConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IpConfigResponse] { + return pulumix.Output[[]IpConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o IpConfigResponseArrayOutput) Index(i pulumi.IntInput) IpConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpConfigResponse { return vs[0].([]IpConfigResponse)[vs[1].(int)] @@ -673,6 +800,12 @@ func (i ManagedCertificateArgs) ToManagedCertificateOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ManagedCertificateOutput) } +func (i ManagedCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedCertificate] { + return pulumix.Output[ManagedCertificate]{ + OutputState: i.ToManagedCertificateOutputWithContext(ctx).OutputState, + } +} + func (i ManagedCertificateArgs) ToManagedCertificatePtrOutput() ManagedCertificatePtrOutput { return i.ToManagedCertificatePtrOutputWithContext(context.Background()) } @@ -714,6 +847,12 @@ func (i *managedCertificatePtrType) ToManagedCertificatePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ManagedCertificatePtrOutput) } +func (i *managedCertificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedCertificate] { + return pulumix.Output[*ManagedCertificate]{ + OutputState: i.ToManagedCertificatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration and state of a Managed Certificate. Certificate Manager provisions and renews Managed Certificates automatically, for as long as it's authorized to do so. type ManagedCertificateOutput struct{ *pulumi.OutputState } @@ -739,6 +878,12 @@ func (o ManagedCertificateOutput) ToManagedCertificatePtrOutputWithContext(ctx c }).(ManagedCertificatePtrOutput) } +func (o ManagedCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedCertificate] { + return pulumix.Output[ManagedCertificate]{ + OutputState: o.OutputState, + } +} + // Immutable. Authorizations that will be used for performing domain authorization. func (o ManagedCertificateOutput) DnsAuthorizations() pulumi.StringArrayOutput { return o.ApplyT(func(v ManagedCertificate) []string { return v.DnsAuthorizations }).(pulumi.StringArrayOutput) @@ -768,6 +913,12 @@ func (o ManagedCertificatePtrOutput) ToManagedCertificatePtrOutputWithContext(ct return o } +func (o ManagedCertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedCertificate] { + return pulumix.Output[*ManagedCertificate]{ + OutputState: o.OutputState, + } +} + func (o ManagedCertificatePtrOutput) Elem() ManagedCertificateOutput { return o.ApplyT(func(v *ManagedCertificate) ManagedCertificate { if v != nil { @@ -839,6 +990,12 @@ func (o ManagedCertificateResponseOutput) ToManagedCertificateResponseOutputWith return o } +func (o ManagedCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedCertificateResponse] { + return pulumix.Output[ManagedCertificateResponse]{ + OutputState: o.OutputState, + } +} + // Detailed state of the latest authorization attempt for each domain specified for managed certificate resource. func (o ManagedCertificateResponseOutput) AuthorizationAttemptInfo() AuthorizationAttemptInfoResponseArrayOutput { return o.ApplyT(func(v ManagedCertificateResponse) []AuthorizationAttemptInfoResponse { @@ -894,6 +1051,12 @@ func (o ProvisioningIssueResponseOutput) ToProvisioningIssueResponseOutputWithCo return o } +func (o ProvisioningIssueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProvisioningIssueResponse] { + return pulumix.Output[ProvisioningIssueResponse]{ + OutputState: o.OutputState, + } +} + // Human readable explanation about the issue. Provided to help address the configuration issues. Not guaranteed to be stable. For programmatic access use Reason enum. func (o ProvisioningIssueResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v ProvisioningIssueResponse) string { return v.Details }).(pulumi.StringOutput) @@ -943,6 +1106,12 @@ func (i SelfManagedCertificateArgs) ToSelfManagedCertificateOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SelfManagedCertificateOutput) } +func (i SelfManagedCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[SelfManagedCertificate] { + return pulumix.Output[SelfManagedCertificate]{ + OutputState: i.ToSelfManagedCertificateOutputWithContext(ctx).OutputState, + } +} + func (i SelfManagedCertificateArgs) ToSelfManagedCertificatePtrOutput() SelfManagedCertificatePtrOutput { return i.ToSelfManagedCertificatePtrOutputWithContext(context.Background()) } @@ -984,6 +1153,12 @@ func (i *selfManagedCertificatePtrType) ToSelfManagedCertificatePtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(SelfManagedCertificatePtrOutput) } +func (i *selfManagedCertificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*SelfManagedCertificate] { + return pulumix.Output[*SelfManagedCertificate]{ + OutputState: i.ToSelfManagedCertificatePtrOutputWithContext(ctx).OutputState, + } +} + // Certificate data for a SelfManaged Certificate. SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility. type SelfManagedCertificateOutput struct{ *pulumi.OutputState } @@ -1009,6 +1184,12 @@ func (o SelfManagedCertificateOutput) ToSelfManagedCertificatePtrOutputWithConte }).(SelfManagedCertificatePtrOutput) } +func (o SelfManagedCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[SelfManagedCertificate] { + return pulumix.Output[SelfManagedCertificate]{ + OutputState: o.OutputState, + } +} + // Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any. func (o SelfManagedCertificateOutput) PemCertificate() pulumi.StringPtrOutput { return o.ApplyT(func(v SelfManagedCertificate) *string { return v.PemCertificate }).(pulumi.StringPtrOutput) @@ -1033,6 +1214,12 @@ func (o SelfManagedCertificatePtrOutput) ToSelfManagedCertificatePtrOutputWithCo return o } +func (o SelfManagedCertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SelfManagedCertificate] { + return pulumix.Output[*SelfManagedCertificate]{ + OutputState: o.OutputState, + } +} + func (o SelfManagedCertificatePtrOutput) Elem() SelfManagedCertificateOutput { return o.ApplyT(func(v *SelfManagedCertificate) SelfManagedCertificate { if v != nil { @@ -1086,6 +1273,12 @@ func (o SelfManagedCertificateResponseOutput) ToSelfManagedCertificateResponseOu return o } +func (o SelfManagedCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SelfManagedCertificateResponse] { + return pulumix.Output[SelfManagedCertificateResponse]{ + OutputState: o.OutputState, + } +} + // Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any. func (o SelfManagedCertificateResponseOutput) PemCertificate() pulumi.StringOutput { return o.ApplyT(func(v SelfManagedCertificateResponse) string { return v.PemCertificate }).(pulumi.StringOutput) @@ -1131,6 +1324,12 @@ func (i TrustAnchorArgs) ToTrustAnchorOutputWithContext(ctx context.Context) Tru return pulumi.ToOutputWithContext(ctx, i).(TrustAnchorOutput) } +func (i TrustAnchorArgs) ToOutput(ctx context.Context) pulumix.Output[TrustAnchor] { + return pulumix.Output[TrustAnchor]{ + OutputState: i.ToTrustAnchorOutputWithContext(ctx).OutputState, + } +} + // TrustAnchorArrayInput is an input type that accepts TrustAnchorArray and TrustAnchorArrayOutput values. // You can construct a concrete instance of `TrustAnchorArrayInput` via: // @@ -1156,6 +1355,12 @@ func (i TrustAnchorArray) ToTrustAnchorArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(TrustAnchorArrayOutput) } +func (i TrustAnchorArray) ToOutput(ctx context.Context) pulumix.Output[[]TrustAnchor] { + return pulumix.Output[[]TrustAnchor]{ + OutputState: i.ToTrustAnchorArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a trust anchor. type TrustAnchorOutput struct{ *pulumi.OutputState } @@ -1171,6 +1376,12 @@ func (o TrustAnchorOutput) ToTrustAnchorOutputWithContext(ctx context.Context) T return o } +func (o TrustAnchorOutput) ToOutput(ctx context.Context) pulumix.Output[TrustAnchor] { + return pulumix.Output[TrustAnchor]{ + OutputState: o.OutputState, + } +} + // PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB. func (o TrustAnchorOutput) PemCertificate() pulumi.StringPtrOutput { return o.ApplyT(func(v TrustAnchor) *string { return v.PemCertificate }).(pulumi.StringPtrOutput) @@ -1190,6 +1401,12 @@ func (o TrustAnchorArrayOutput) ToTrustAnchorArrayOutputWithContext(ctx context. return o } +func (o TrustAnchorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TrustAnchor] { + return pulumix.Output[[]TrustAnchor]{ + OutputState: o.OutputState, + } +} + func (o TrustAnchorArrayOutput) Index(i pulumi.IntInput) TrustAnchorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrustAnchor { return vs[0].([]TrustAnchor)[vs[1].(int)] @@ -1217,6 +1434,12 @@ func (o TrustAnchorResponseOutput) ToTrustAnchorResponseOutputWithContext(ctx co return o } +func (o TrustAnchorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TrustAnchorResponse] { + return pulumix.Output[TrustAnchorResponse]{ + OutputState: o.OutputState, + } +} + // PEM root certificate of the PKI used for validation. Each certificate provided in PEM format may occupy up to 5kB. func (o TrustAnchorResponseOutput) PemCertificate() pulumi.StringOutput { return o.ApplyT(func(v TrustAnchorResponse) string { return v.PemCertificate }).(pulumi.StringOutput) @@ -1236,6 +1459,12 @@ func (o TrustAnchorResponseArrayOutput) ToTrustAnchorResponseArrayOutputWithCont return o } +func (o TrustAnchorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TrustAnchorResponse] { + return pulumix.Output[[]TrustAnchorResponse]{ + OutputState: o.OutputState, + } +} + func (o TrustAnchorResponseArrayOutput) Index(i pulumi.IntInput) TrustAnchorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrustAnchorResponse { return vs[0].([]TrustAnchorResponse)[vs[1].(int)] @@ -1281,6 +1510,12 @@ func (i TrustStoreArgs) ToTrustStoreOutputWithContext(ctx context.Context) Trust return pulumi.ToOutputWithContext(ctx, i).(TrustStoreOutput) } +func (i TrustStoreArgs) ToOutput(ctx context.Context) pulumix.Output[TrustStore] { + return pulumix.Output[TrustStore]{ + OutputState: i.ToTrustStoreOutputWithContext(ctx).OutputState, + } +} + // TrustStoreArrayInput is an input type that accepts TrustStoreArray and TrustStoreArrayOutput values. // You can construct a concrete instance of `TrustStoreArrayInput` via: // @@ -1306,6 +1541,12 @@ func (i TrustStoreArray) ToTrustStoreArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TrustStoreArrayOutput) } +func (i TrustStoreArray) ToOutput(ctx context.Context) pulumix.Output[[]TrustStore] { + return pulumix.Output[[]TrustStore]{ + OutputState: i.ToTrustStoreArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a trust store. type TrustStoreOutput struct{ *pulumi.OutputState } @@ -1321,6 +1562,12 @@ func (o TrustStoreOutput) ToTrustStoreOutputWithContext(ctx context.Context) Tru return o } +func (o TrustStoreOutput) ToOutput(ctx context.Context) pulumix.Output[TrustStore] { + return pulumix.Output[TrustStore]{ + OutputState: o.OutputState, + } +} + // Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature. func (o TrustStoreOutput) IntermediateCas() IntermediateCAArrayOutput { return o.ApplyT(func(v TrustStore) []IntermediateCA { return v.IntermediateCas }).(IntermediateCAArrayOutput) @@ -1345,6 +1592,12 @@ func (o TrustStoreArrayOutput) ToTrustStoreArrayOutputWithContext(ctx context.Co return o } +func (o TrustStoreArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TrustStore] { + return pulumix.Output[[]TrustStore]{ + OutputState: o.OutputState, + } +} + func (o TrustStoreArrayOutput) Index(i pulumi.IntInput) TrustStoreOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrustStore { return vs[0].([]TrustStore)[vs[1].(int)] @@ -1374,6 +1627,12 @@ func (o TrustStoreResponseOutput) ToTrustStoreResponseOutputWithContext(ctx cont return o } +func (o TrustStoreResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TrustStoreResponse] { + return pulumix.Output[TrustStoreResponse]{ + OutputState: o.OutputState, + } +} + // Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature. func (o TrustStoreResponseOutput) IntermediateCas() IntermediateCAResponseArrayOutput { return o.ApplyT(func(v TrustStoreResponse) []IntermediateCAResponse { return v.IntermediateCas }).(IntermediateCAResponseArrayOutput) @@ -1398,6 +1657,12 @@ func (o TrustStoreResponseArrayOutput) ToTrustStoreResponseArrayOutputWithContex return o } +func (o TrustStoreResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TrustStoreResponse] { + return pulumix.Output[[]TrustStoreResponse]{ + OutputState: o.OutputState, + } +} + func (o TrustStoreResponseArrayOutput) Index(i pulumi.IntInput) TrustStoreResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrustStoreResponse { return vs[0].([]TrustStoreResponse)[vs[1].(int)] diff --git a/sdk/go/google/certificatemanager/v1/trustConfig.go b/sdk/go/google/certificatemanager/v1/trustConfig.go index 7264e1a6ce..ccd08a10b4 100644 --- a/sdk/go/google/certificatemanager/v1/trustConfig.go +++ b/sdk/go/google/certificatemanager/v1/trustConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TrustConfig in a given project and location. @@ -142,6 +143,12 @@ func (i *TrustConfig) ToTrustConfigOutputWithContext(ctx context.Context) TrustC return pulumi.ToOutputWithContext(ctx, i).(TrustConfigOutput) } +func (i *TrustConfig) ToOutput(ctx context.Context) pulumix.Output[*TrustConfig] { + return pulumix.Output[*TrustConfig]{ + OutputState: i.ToTrustConfigOutputWithContext(ctx).OutputState, + } +} + type TrustConfigOutput struct{ *pulumi.OutputState } func (TrustConfigOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o TrustConfigOutput) ToTrustConfigOutputWithContext(ctx context.Context) T return o } +func (o TrustConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*TrustConfig] { + return pulumix.Output[*TrustConfig]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of a TrustConfig. func (o TrustConfigOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TrustConfig) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudasset/v1/feed.go b/sdk/go/google/cloudasset/v1/feed.go index 2974d221f0..1708fe1ed3 100644 --- a/sdk/go/google/cloudasset/v1/feed.go +++ b/sdk/go/google/cloudasset/v1/feed.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a feed in a parent project/folder/organization to listen to its asset updates. @@ -160,6 +161,12 @@ func (i *Feed) ToFeedOutputWithContext(ctx context.Context) FeedOutput { return pulumi.ToOutputWithContext(ctx, i).(FeedOutput) } +func (i *Feed) ToOutput(ctx context.Context) pulumix.Output[*Feed] { + return pulumix.Output[*Feed]{ + OutputState: i.ToFeedOutputWithContext(ctx).OutputState, + } +} + type FeedOutput struct{ *pulumi.OutputState } func (FeedOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o FeedOutput) ToFeedOutputWithContext(ctx context.Context) FeedOutput { return o } +func (o FeedOutput) ToOutput(ctx context.Context) pulumix.Output[*Feed] { + return pulumix.Output[*Feed]{ + OutputState: o.OutputState, + } +} + // A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format). func (o FeedOutput) AssetNames() pulumi.StringArrayOutput { return o.ApplyT(func(v *Feed) pulumi.StringArrayOutput { return v.AssetNames }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/cloudasset/v1/getFeed.go b/sdk/go/google/cloudasset/v1/getFeed.go index 540f801071..38f202dea4 100644 --- a/sdk/go/google/cloudasset/v1/getFeed.go +++ b/sdk/go/google/cloudasset/v1/getFeed.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details about an asset feed. @@ -82,6 +83,12 @@ func (o LookupFeedResultOutput) ToLookupFeedResultOutputWithContext(ctx context. return o } +func (o LookupFeedResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFeedResult] { + return pulumix.Output[LookupFeedResult]{ + OutputState: o.OutputState, + } +} + // A list of the full names of the assets to receive updates. You must specify either or both of asset_names and asset_types. Only asset updates matching specified asset_names or asset_types are exported to the feed. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. For a list of the full names for supported asset types, see [Resource name format](/asset-inventory/docs/resource-name-format). func (o LookupFeedResultOutput) AssetNames() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupFeedResult) []string { return v.AssetNames }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/cloudasset/v1/getSavedQuery.go b/sdk/go/google/cloudasset/v1/getSavedQuery.go index c08ee5102a..6a779f5b75 100644 --- a/sdk/go/google/cloudasset/v1/getSavedQuery.go +++ b/sdk/go/google/cloudasset/v1/getSavedQuery.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details about a saved query. @@ -84,6 +85,12 @@ func (o LookupSavedQueryResultOutput) ToLookupSavedQueryResultOutputWithContext( return o } +func (o LookupSavedQueryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSavedQueryResult] { + return pulumix.Output[LookupSavedQueryResult]{ + OutputState: o.OutputState, + } +} + // The query content. func (o LookupSavedQueryResultOutput) Content() QueryContentResponseOutput { return o.ApplyT(func(v LookupSavedQueryResult) QueryContentResponse { return v.Content }).(QueryContentResponseOutput) diff --git a/sdk/go/google/cloudasset/v1/pulumiEnums.go b/sdk/go/google/cloudasset/v1/pulumiEnums.go index a3d57e0e09..757d904050 100644 --- a/sdk/go/google/cloudasset/v1/pulumiEnums.go +++ b/sdk/go/google/cloudasset/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Asset content type. If not specified, no content but the asset name and type will be returned. @@ -90,6 +91,12 @@ func (o FeedContentTypeOutput) ToFeedContentTypePtrOutputWithContext(ctx context }).(FeedContentTypePtrOutput) } +func (o FeedContentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[FeedContentType] { + return pulumix.Output[FeedContentType]{ + OutputState: o.OutputState, + } +} + func (o FeedContentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -125,6 +132,12 @@ func (o FeedContentTypePtrOutput) ToFeedContentTypePtrOutputWithContext(ctx cont return o } +func (o FeedContentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FeedContentType] { + return pulumix.Output[*FeedContentType]{ + OutputState: o.OutputState, + } +} + func (o FeedContentTypePtrOutput) Elem() FeedContentTypeOutput { return o.ApplyT(func(v *FeedContentType) FeedContentType { if v != nil { @@ -187,6 +200,12 @@ func (in *feedContentTypePtr) ToFeedContentTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(FeedContentTypePtrOutput) } +func (in *feedContentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*FeedContentType] { + return pulumix.Output[*FeedContentType]{ + OutputState: in.ToFeedContentTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*FeedContentTypeInput)(nil)).Elem(), FeedContentType("CONTENT_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*FeedContentTypePtrInput)(nil)).Elem(), FeedContentType("CONTENT_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudasset/v1/pulumiTypes.go b/sdk/go/google/cloudasset/v1/pulumiTypes.go index 468e2a8645..fff36ce987 100644 --- a/sdk/go/google/cloudasset/v1/pulumiTypes.go +++ b/sdk/go/google/cloudasset/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AccessSelectorArgs) ToAccessSelectorOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AccessSelectorOutput) } +func (i AccessSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[AccessSelector] { + return pulumix.Output[AccessSelector]{ + OutputState: i.ToAccessSelectorOutputWithContext(ctx).OutputState, + } +} + func (i AccessSelectorArgs) ToAccessSelectorPtrOutput() AccessSelectorPtrOutput { return i.ToAccessSelectorPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *accessSelectorPtrType) ToAccessSelectorPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AccessSelectorPtrOutput) } +func (i *accessSelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*AccessSelector] { + return pulumix.Output[*AccessSelector]{ + OutputState: i.ToAccessSelectorPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include roles or permissions matching any of them. The total number of roles and permissions should be equal or less than 10. type AccessSelectorOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AccessSelectorOutput) ToAccessSelectorPtrOutputWithContext(ctx context.C }).(AccessSelectorPtrOutput) } +func (o AccessSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[AccessSelector] { + return pulumix.Output[AccessSelector]{ + OutputState: o.OutputState, + } +} + // Optional. The permissions to appear in result. func (o AccessSelectorOutput) Permissions() pulumi.StringArrayOutput { return o.ApplyT(func(v AccessSelector) []string { return v.Permissions }).(pulumi.StringArrayOutput) @@ -142,6 +161,12 @@ func (o AccessSelectorPtrOutput) ToAccessSelectorPtrOutputWithContext(ctx contex return o } +func (o AccessSelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessSelector] { + return pulumix.Output[*AccessSelector]{ + OutputState: o.OutputState, + } +} + func (o AccessSelectorPtrOutput) Elem() AccessSelectorOutput { return o.ApplyT(func(v *AccessSelector) AccessSelector { if v != nil { @@ -195,6 +220,12 @@ func (o AccessSelectorResponseOutput) ToAccessSelectorResponseOutputWithContext( return o } +func (o AccessSelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AccessSelectorResponse] { + return pulumix.Output[AccessSelectorResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The permissions to appear in result. func (o AccessSelectorResponseOutput) Permissions() pulumi.StringArrayOutput { return o.ApplyT(func(v AccessSelectorResponse) []string { return v.Permissions }).(pulumi.StringArrayOutput) @@ -240,6 +271,12 @@ func (i ConditionContextArgs) ToConditionContextOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ConditionContextOutput) } +func (i ConditionContextArgs) ToOutput(ctx context.Context) pulumix.Output[ConditionContext] { + return pulumix.Output[ConditionContext]{ + OutputState: i.ToConditionContextOutputWithContext(ctx).OutputState, + } +} + func (i ConditionContextArgs) ToConditionContextPtrOutput() ConditionContextPtrOutput { return i.ToConditionContextPtrOutputWithContext(context.Background()) } @@ -281,6 +318,12 @@ func (i *conditionContextPtrType) ToConditionContextPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ConditionContextPtrOutput) } +func (i *conditionContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConditionContext] { + return pulumix.Output[*ConditionContext]{ + OutputState: i.ToConditionContextPtrOutputWithContext(ctx).OutputState, + } +} + // The IAM conditions context. type ConditionContextOutput struct{ *pulumi.OutputState } @@ -306,6 +349,12 @@ func (o ConditionContextOutput) ToConditionContextPtrOutputWithContext(ctx conte }).(ConditionContextPtrOutput) } +func (o ConditionContextOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionContext] { + return pulumix.Output[ConditionContext]{ + OutputState: o.OutputState, + } +} + // The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned. func (o ConditionContextOutput) AccessTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ConditionContext) *string { return v.AccessTime }).(pulumi.StringPtrOutput) @@ -325,6 +374,12 @@ func (o ConditionContextPtrOutput) ToConditionContextPtrOutputWithContext(ctx co return o } +func (o ConditionContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionContext] { + return pulumix.Output[*ConditionContext]{ + OutputState: o.OutputState, + } +} + func (o ConditionContextPtrOutput) Elem() ConditionContextOutput { return o.ApplyT(func(v *ConditionContext) ConditionContext { if v != nil { @@ -366,6 +421,12 @@ func (o ConditionContextResponseOutput) ToConditionContextResponseOutputWithCont return o } +func (o ConditionContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionContextResponse] { + return pulumix.Output[ConditionContextResponse]{ + OutputState: o.OutputState, + } +} + // The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned. func (o ConditionContextResponseOutput) AccessTime() pulumi.StringOutput { return o.ApplyT(func(v ConditionContextResponse) string { return v.AccessTime }).(pulumi.StringOutput) @@ -418,6 +479,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -459,6 +526,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -484,6 +557,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -518,6 +597,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -595,6 +680,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -650,6 +741,12 @@ func (i FeedOutputConfigArgs) ToFeedOutputConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(FeedOutputConfigOutput) } +func (i FeedOutputConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FeedOutputConfig] { + return pulumix.Output[FeedOutputConfig]{ + OutputState: i.ToFeedOutputConfigOutputWithContext(ctx).OutputState, + } +} + // Output configuration for asset feed destination. type FeedOutputConfigOutput struct{ *pulumi.OutputState } @@ -665,6 +762,12 @@ func (o FeedOutputConfigOutput) ToFeedOutputConfigOutputWithContext(ctx context. return o } +func (o FeedOutputConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FeedOutputConfig] { + return pulumix.Output[FeedOutputConfig]{ + OutputState: o.OutputState, + } +} + // Destination on Pub/Sub. func (o FeedOutputConfigOutput) PubsubDestination() PubsubDestinationPtrOutput { return o.ApplyT(func(v FeedOutputConfig) *PubsubDestination { return v.PubsubDestination }).(PubsubDestinationPtrOutput) @@ -691,6 +794,12 @@ func (o FeedOutputConfigResponseOutput) ToFeedOutputConfigResponseOutputWithCont return o } +func (o FeedOutputConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FeedOutputConfigResponse] { + return pulumix.Output[FeedOutputConfigResponse]{ + OutputState: o.OutputState, + } +} + // Destination on Pub/Sub. func (o FeedOutputConfigResponseOutput) PubsubDestination() PubsubDestinationResponseOutput { return o.ApplyT(func(v FeedOutputConfigResponse) PubsubDestinationResponse { return v.PubsubDestination }).(PubsubDestinationResponseOutput) @@ -751,6 +860,12 @@ func (i IamPolicyAnalysisQueryArgs) ToIamPolicyAnalysisQueryOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(IamPolicyAnalysisQueryOutput) } +func (i IamPolicyAnalysisQueryArgs) ToOutput(ctx context.Context) pulumix.Output[IamPolicyAnalysisQuery] { + return pulumix.Output[IamPolicyAnalysisQuery]{ + OutputState: i.ToIamPolicyAnalysisQueryOutputWithContext(ctx).OutputState, + } +} + func (i IamPolicyAnalysisQueryArgs) ToIamPolicyAnalysisQueryPtrOutput() IamPolicyAnalysisQueryPtrOutput { return i.ToIamPolicyAnalysisQueryPtrOutputWithContext(context.Background()) } @@ -792,6 +907,12 @@ func (i *iamPolicyAnalysisQueryPtrType) ToIamPolicyAnalysisQueryPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(IamPolicyAnalysisQueryPtrOutput) } +func (i *iamPolicyAnalysisQueryPtrType) ToOutput(ctx context.Context) pulumix.Output[*IamPolicyAnalysisQuery] { + return pulumix.Output[*IamPolicyAnalysisQuery]{ + OutputState: i.ToIamPolicyAnalysisQueryPtrOutputWithContext(ctx).OutputState, + } +} + // IAM policy analysis query message. type IamPolicyAnalysisQueryOutput struct{ *pulumi.OutputState } @@ -817,6 +938,12 @@ func (o IamPolicyAnalysisQueryOutput) ToIamPolicyAnalysisQueryPtrOutputWithConte }).(IamPolicyAnalysisQueryPtrOutput) } +func (o IamPolicyAnalysisQueryOutput) ToOutput(ctx context.Context) pulumix.Output[IamPolicyAnalysisQuery] { + return pulumix.Output[IamPolicyAnalysisQuery]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies roles or permissions for analysis. This is optional. func (o IamPolicyAnalysisQueryOutput) AccessSelector() AccessSelectorPtrOutput { return o.ApplyT(func(v IamPolicyAnalysisQuery) *AccessSelector { return v.AccessSelector }).(AccessSelectorPtrOutput) @@ -861,6 +988,12 @@ func (o IamPolicyAnalysisQueryPtrOutput) ToIamPolicyAnalysisQueryPtrOutputWithCo return o } +func (o IamPolicyAnalysisQueryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IamPolicyAnalysisQuery] { + return pulumix.Output[*IamPolicyAnalysisQuery]{ + OutputState: o.OutputState, + } +} + func (o IamPolicyAnalysisQueryPtrOutput) Elem() IamPolicyAnalysisQueryOutput { return o.ApplyT(func(v *IamPolicyAnalysisQuery) IamPolicyAnalysisQuery { if v != nil { @@ -962,6 +1095,12 @@ func (o IamPolicyAnalysisQueryResponseOutput) ToIamPolicyAnalysisQueryResponseOu return o } +func (o IamPolicyAnalysisQueryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IamPolicyAnalysisQueryResponse] { + return pulumix.Output[IamPolicyAnalysisQueryResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies roles or permissions for analysis. This is optional. func (o IamPolicyAnalysisQueryResponseOutput) AccessSelector() AccessSelectorResponseOutput { return o.ApplyT(func(v IamPolicyAnalysisQueryResponse) AccessSelectorResponse { return v.AccessSelector }).(AccessSelectorResponseOutput) @@ -1027,6 +1166,12 @@ func (i IdentitySelectorArgs) ToIdentitySelectorOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(IdentitySelectorOutput) } +func (i IdentitySelectorArgs) ToOutput(ctx context.Context) pulumix.Output[IdentitySelector] { + return pulumix.Output[IdentitySelector]{ + OutputState: i.ToIdentitySelectorOutputWithContext(ctx).OutputState, + } +} + func (i IdentitySelectorArgs) ToIdentitySelectorPtrOutput() IdentitySelectorPtrOutput { return i.ToIdentitySelectorPtrOutputWithContext(context.Background()) } @@ -1068,6 +1213,12 @@ func (i *identitySelectorPtrType) ToIdentitySelectorPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(IdentitySelectorPtrOutput) } +func (i *identitySelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentitySelector] { + return pulumix.Output[*IdentitySelector]{ + OutputState: i.ToIdentitySelectorPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly. type IdentitySelectorOutput struct{ *pulumi.OutputState } @@ -1093,6 +1244,12 @@ func (o IdentitySelectorOutput) ToIdentitySelectorPtrOutputWithContext(ctx conte }).(IdentitySelectorPtrOutput) } +func (o IdentitySelectorOutput) ToOutput(ctx context.Context) pulumix.Output[IdentitySelector] { + return pulumix.Output[IdentitySelector]{ + OutputState: o.OutputState, + } +} + // The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity. func (o IdentitySelectorOutput) Identity() pulumi.StringOutput { return o.ApplyT(func(v IdentitySelector) string { return v.Identity }).(pulumi.StringOutput) @@ -1112,6 +1269,12 @@ func (o IdentitySelectorPtrOutput) ToIdentitySelectorPtrOutputWithContext(ctx co return o } +func (o IdentitySelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentitySelector] { + return pulumix.Output[*IdentitySelector]{ + OutputState: o.OutputState, + } +} + func (o IdentitySelectorPtrOutput) Elem() IdentitySelectorOutput { return o.ApplyT(func(v *IdentitySelector) IdentitySelector { if v != nil { @@ -1153,6 +1316,12 @@ func (o IdentitySelectorResponseOutput) ToIdentitySelectorResponseOutputWithCont return o } +func (o IdentitySelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentitySelectorResponse] { + return pulumix.Output[IdentitySelectorResponse]{ + OutputState: o.OutputState, + } +} + // The identity appear in the form of principals in [IAM policy binding](https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of supported forms are: "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com". Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity. func (o IdentitySelectorResponseOutput) Identity() pulumi.StringOutput { return o.ApplyT(func(v IdentitySelectorResponse) string { return v.Identity }).(pulumi.StringOutput) @@ -1217,6 +1386,12 @@ func (i OptionsArgs) ToOptionsOutputWithContext(ctx context.Context) OptionsOutp return pulumi.ToOutputWithContext(ctx, i).(OptionsOutput) } +func (i OptionsArgs) ToOutput(ctx context.Context) pulumix.Output[Options] { + return pulumix.Output[Options]{ + OutputState: i.ToOptionsOutputWithContext(ctx).OutputState, + } +} + func (i OptionsArgs) ToOptionsPtrOutput() OptionsPtrOutput { return i.ToOptionsPtrOutputWithContext(context.Background()) } @@ -1258,6 +1433,12 @@ func (i *optionsPtrType) ToOptionsPtrOutputWithContext(ctx context.Context) Opti return pulumi.ToOutputWithContext(ctx, i).(OptionsPtrOutput) } +func (i *optionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Options] { + return pulumix.Output[*Options]{ + OutputState: i.ToOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Contains query options. type OptionsOutput struct{ *pulumi.OutputState } @@ -1283,6 +1464,12 @@ func (o OptionsOutput) ToOptionsPtrOutputWithContext(ctx context.Context) Option }).(OptionsPtrOutput) } +func (o OptionsOutput) ToOutput(ctx context.Context) pulumix.Output[Options] { + return pulumix.Output[Options]{ + OutputState: o.OutputState, + } +} + // Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false. func (o OptionsOutput) AnalyzeServiceAccountImpersonation() pulumi.BoolPtrOutput { return o.ApplyT(func(v Options) *bool { return v.AnalyzeServiceAccountImpersonation }).(pulumi.BoolPtrOutput) @@ -1332,6 +1519,12 @@ func (o OptionsPtrOutput) ToOptionsPtrOutputWithContext(ctx context.Context) Opt return o } +func (o OptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Options] { + return pulumix.Output[*Options]{ + OutputState: o.OutputState, + } +} + func (o OptionsPtrOutput) Elem() OptionsOutput { return o.ApplyT(func(v *Options) Options { if v != nil { @@ -1445,6 +1638,12 @@ func (o OptionsResponseOutput) ToOptionsResponseOutputWithContext(ctx context.Co return o } +func (o OptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OptionsResponse] { + return pulumix.Output[OptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If true, the response will include access analysis from identities to resources via service account impersonation. This is a very expensive operation, because many derived queries will be executed. We highly recommend you use AssetService.AnalyzeIamPolicyLongrunning RPC instead. For example, if the request analyzes for which resources user A has permission P, and there's an IAM policy states user A has iam.serviceAccounts.getAccessToken permission to a service account SA, and there's another IAM policy states service account SA has permission P to a Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Another example, if the request analyzes for who has permission P to a Google Cloud folder F, and there's an IAM policy states user A has iam.serviceAccounts.actAs permission to a service account SA, and there's another IAM policy states service account SA has permission P to the Google Cloud folder F, then user A potentially has access to the Google Cloud folder F. And those advanced analysis results will be included in AnalyzeIamPolicyResponse.service_account_impersonation_analysis. Only the following permissions are considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.serviceAccounts.implicitDelegation` Default is false. func (o OptionsResponseOutput) AnalyzeServiceAccountImpersonation() pulumi.BoolOutput { return o.ApplyT(func(v OptionsResponse) bool { return v.AnalyzeServiceAccountImpersonation }).(pulumi.BoolOutput) @@ -1515,6 +1714,12 @@ func (i PubsubDestinationArgs) ToPubsubDestinationOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PubsubDestinationOutput) } +func (i PubsubDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[PubsubDestination] { + return pulumix.Output[PubsubDestination]{ + OutputState: i.ToPubsubDestinationOutputWithContext(ctx).OutputState, + } +} + func (i PubsubDestinationArgs) ToPubsubDestinationPtrOutput() PubsubDestinationPtrOutput { return i.ToPubsubDestinationPtrOutputWithContext(context.Background()) } @@ -1556,6 +1761,12 @@ func (i *pubsubDestinationPtrType) ToPubsubDestinationPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PubsubDestinationPtrOutput) } +func (i *pubsubDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*PubsubDestination] { + return pulumix.Output[*PubsubDestination]{ + OutputState: i.ToPubsubDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // A Pub/Sub destination. type PubsubDestinationOutput struct{ *pulumi.OutputState } @@ -1581,6 +1792,12 @@ func (o PubsubDestinationOutput) ToPubsubDestinationPtrOutputWithContext(ctx con }).(PubsubDestinationPtrOutput) } +func (o PubsubDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubDestination] { + return pulumix.Output[PubsubDestination]{ + OutputState: o.OutputState, + } +} + // The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`. func (o PubsubDestinationOutput) Topic() pulumi.StringPtrOutput { return o.ApplyT(func(v PubsubDestination) *string { return v.Topic }).(pulumi.StringPtrOutput) @@ -1600,6 +1817,12 @@ func (o PubsubDestinationPtrOutput) ToPubsubDestinationPtrOutputWithContext(ctx return o } +func (o PubsubDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PubsubDestination] { + return pulumix.Output[*PubsubDestination]{ + OutputState: o.OutputState, + } +} + func (o PubsubDestinationPtrOutput) Elem() PubsubDestinationOutput { return o.ApplyT(func(v *PubsubDestination) PubsubDestination { if v != nil { @@ -1641,6 +1864,12 @@ func (o PubsubDestinationResponseOutput) ToPubsubDestinationResponseOutputWithCo return o } +func (o PubsubDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubDestinationResponse] { + return pulumix.Output[PubsubDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/topics/TOPIC_ID`. func (o PubsubDestinationResponseOutput) Topic() pulumi.StringOutput { return o.ApplyT(func(v PubsubDestinationResponse) string { return v.Topic }).(pulumi.StringOutput) @@ -1681,6 +1910,12 @@ func (i QueryContentArgs) ToQueryContentOutputWithContext(ctx context.Context) Q return pulumi.ToOutputWithContext(ctx, i).(QueryContentOutput) } +func (i QueryContentArgs) ToOutput(ctx context.Context) pulumix.Output[QueryContent] { + return pulumix.Output[QueryContent]{ + OutputState: i.ToQueryContentOutputWithContext(ctx).OutputState, + } +} + func (i QueryContentArgs) ToQueryContentPtrOutput() QueryContentPtrOutput { return i.ToQueryContentPtrOutputWithContext(context.Background()) } @@ -1722,6 +1957,12 @@ func (i *queryContentPtrType) ToQueryContentPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(QueryContentPtrOutput) } +func (i *queryContentPtrType) ToOutput(ctx context.Context) pulumix.Output[*QueryContent] { + return pulumix.Output[*QueryContent]{ + OutputState: i.ToQueryContentPtrOutputWithContext(ctx).OutputState, + } +} + // The query content. type QueryContentOutput struct{ *pulumi.OutputState } @@ -1747,6 +1988,12 @@ func (o QueryContentOutput) ToQueryContentPtrOutputWithContext(ctx context.Conte }).(QueryContentPtrOutput) } +func (o QueryContentOutput) ToOutput(ctx context.Context) pulumix.Output[QueryContent] { + return pulumix.Output[QueryContent]{ + OutputState: o.OutputState, + } +} + // An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC. func (o QueryContentOutput) IamPolicyAnalysisQuery() IamPolicyAnalysisQueryPtrOutput { return o.ApplyT(func(v QueryContent) *IamPolicyAnalysisQuery { return v.IamPolicyAnalysisQuery }).(IamPolicyAnalysisQueryPtrOutput) @@ -1766,6 +2013,12 @@ func (o QueryContentPtrOutput) ToQueryContentPtrOutputWithContext(ctx context.Co return o } +func (o QueryContentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueryContent] { + return pulumix.Output[*QueryContent]{ + OutputState: o.OutputState, + } +} + func (o QueryContentPtrOutput) Elem() QueryContentOutput { return o.ApplyT(func(v *QueryContent) QueryContent { if v != nil { @@ -1807,6 +2060,12 @@ func (o QueryContentResponseOutput) ToQueryContentResponseOutputWithContext(ctx return o } +func (o QueryContentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryContentResponse] { + return pulumix.Output[QueryContentResponse]{ + OutputState: o.OutputState, + } +} + // An IAM Policy Analysis query, which could be used in the AssetService.AnalyzeIamPolicy RPC or the AssetService.AnalyzeIamPolicyLongrunning RPC. func (o QueryContentResponseOutput) IamPolicyAnalysisQuery() IamPolicyAnalysisQueryResponseOutput { return o.ApplyT(func(v QueryContentResponse) IamPolicyAnalysisQueryResponse { return v.IamPolicyAnalysisQuery }).(IamPolicyAnalysisQueryResponseOutput) @@ -1847,6 +2106,12 @@ func (i ResourceSelectorArgs) ToResourceSelectorOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ResourceSelectorOutput) } +func (i ResourceSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceSelector] { + return pulumix.Output[ResourceSelector]{ + OutputState: i.ToResourceSelectorOutputWithContext(ctx).OutputState, + } +} + func (i ResourceSelectorArgs) ToResourceSelectorPtrOutput() ResourceSelectorPtrOutput { return i.ToResourceSelectorPtrOutputWithContext(context.Background()) } @@ -1888,6 +2153,12 @@ func (i *resourceSelectorPtrType) ToResourceSelectorPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ResourceSelectorPtrOutput) } +func (i *resourceSelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceSelector] { + return pulumix.Output[*ResourceSelector]{ + OutputState: i.ToResourceSelectorPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects. type ResourceSelectorOutput struct{ *pulumi.OutputState } @@ -1913,6 +2184,12 @@ func (o ResourceSelectorOutput) ToResourceSelectorPtrOutputWithContext(ctx conte }).(ResourceSelectorPtrOutput) } +func (o ResourceSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceSelector] { + return pulumix.Output[ResourceSelector]{ + OutputState: o.OutputState, + } +} + // The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types). func (o ResourceSelectorOutput) FullResourceName() pulumi.StringOutput { return o.ApplyT(func(v ResourceSelector) string { return v.FullResourceName }).(pulumi.StringOutput) @@ -1932,6 +2209,12 @@ func (o ResourceSelectorPtrOutput) ToResourceSelectorPtrOutputWithContext(ctx co return o } +func (o ResourceSelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceSelector] { + return pulumix.Output[*ResourceSelector]{ + OutputState: o.OutputState, + } +} + func (o ResourceSelectorPtrOutput) Elem() ResourceSelectorOutput { return o.ApplyT(func(v *ResourceSelector) ResourceSelector { if v != nil { @@ -1973,6 +2256,12 @@ func (o ResourceSelectorResponseOutput) ToResourceSelectorResponseOutputWithCont return o } +func (o ResourceSelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceSelectorResponse] { + return pulumix.Output[ResourceSelectorResponse]{ + OutputState: o.OutputState, + } +} + // The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types). func (o ResourceSelectorResponseOutput) FullResourceName() pulumi.StringOutput { return o.ApplyT(func(v ResourceSelectorResponse) string { return v.FullResourceName }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudasset/v1/savedQuery.go b/sdk/go/google/cloudasset/v1/savedQuery.go index d86189f8d0..04c18ad781 100644 --- a/sdk/go/google/cloudasset/v1/savedQuery.go +++ b/sdk/go/google/cloudasset/v1/savedQuery.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a saved query in a parent project/folder/organization. @@ -147,6 +148,12 @@ func (i *SavedQuery) ToSavedQueryOutputWithContext(ctx context.Context) SavedQue return pulumi.ToOutputWithContext(ctx, i).(SavedQueryOutput) } +func (i *SavedQuery) ToOutput(ctx context.Context) pulumix.Output[*SavedQuery] { + return pulumix.Output[*SavedQuery]{ + OutputState: i.ToSavedQueryOutputWithContext(ctx).OutputState, + } +} + type SavedQueryOutput struct{ *pulumi.OutputState } func (SavedQueryOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o SavedQueryOutput) ToSavedQueryOutputWithContext(ctx context.Context) Sav return o } +func (o SavedQueryOutput) ToOutput(ctx context.Context) pulumix.Output[*SavedQuery] { + return pulumix.Output[*SavedQuery]{ + OutputState: o.OutputState, + } +} + // The query content. func (o SavedQueryOutput) Content() QueryContentResponseOutput { return o.ApplyT(func(v *SavedQuery) QueryContentResponseOutput { return v.Content }).(QueryContentResponseOutput) diff --git a/sdk/go/google/cloudbilling/v1/billingAccount.go b/sdk/go/google/cloudbilling/v1/billingAccount.go index d6e82c62ff..0ba21dc2a5 100644 --- a/sdk/go/google/cloudbilling/v1/billingAccount.go +++ b/sdk/go/google/cloudbilling/v1/billingAccount.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This method creates [billing subaccounts](https://cloud.google.com/billing/docs/concepts#subaccounts). Google Cloud resellers should use the Channel Services APIs, [accounts.customers.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers/create) and [accounts.customers.entitlements.create](https://cloud.google.com/channel/docs/reference/rest/v1/accounts.customers.entitlements/create). When creating a subaccount, the current authenticated user must have the `billing.accounts.update` IAM permission on the parent account, which is typically given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). This method will return an error if the parent account has not been provisioned as a reseller account. @@ -105,6 +106,12 @@ func (i *BillingAccount) ToBillingAccountOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BillingAccountOutput) } +func (i *BillingAccount) ToOutput(ctx context.Context) pulumix.Output[*BillingAccount] { + return pulumix.Output[*BillingAccount]{ + OutputState: i.ToBillingAccountOutputWithContext(ctx).OutputState, + } +} + type BillingAccountOutput struct{ *pulumi.OutputState } func (BillingAccountOutput) ElementType() reflect.Type { @@ -119,6 +126,12 @@ func (o BillingAccountOutput) ToBillingAccountOutputWithContext(ctx context.Cont return o } +func (o BillingAccountOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingAccount] { + return pulumix.Output[*BillingAccount]{ + OutputState: o.OutputState, + } +} + // The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console. func (o BillingAccountOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *BillingAccount) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbilling/v1/billingAccountIamBinding.go b/sdk/go/google/cloudbilling/v1/billingAccountIamBinding.go index ac7a524075..e105c8aa47 100644 --- a/sdk/go/google/cloudbilling/v1/billingAccountIamBinding.go +++ b/sdk/go/google/cloudbilling/v1/billingAccountIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a billing account. Replaces any existing policy. The caller must have the `billing.accounts.setIamPolicy` permission on the account, which is often given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). @@ -135,6 +136,12 @@ func (i *BillingAccountIamBinding) ToBillingAccountIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BillingAccountIamBindingOutput) } +func (i *BillingAccountIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountIamBinding] { + return pulumix.Output[*BillingAccountIamBinding]{ + OutputState: i.ToBillingAccountIamBindingOutputWithContext(ctx).OutputState, + } +} + type BillingAccountIamBindingOutput struct{ *pulumi.OutputState } func (BillingAccountIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BillingAccountIamBindingOutput) ToBillingAccountIamBindingOutputWithCont return o } +func (o BillingAccountIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountIamBinding] { + return pulumix.Output[*BillingAccountIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BillingAccountIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BillingAccountIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudbilling/v1/billingAccountIamMember.go b/sdk/go/google/cloudbilling/v1/billingAccountIamMember.go index 8ad1a52f12..5bc3e65fbb 100644 --- a/sdk/go/google/cloudbilling/v1/billingAccountIamMember.go +++ b/sdk/go/google/cloudbilling/v1/billingAccountIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a billing account. Replaces any existing policy. The caller must have the `billing.accounts.setIamPolicy` permission on the account, which is often given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). @@ -135,6 +136,12 @@ func (i *BillingAccountIamMember) ToBillingAccountIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BillingAccountIamMemberOutput) } +func (i *BillingAccountIamMember) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountIamMember] { + return pulumix.Output[*BillingAccountIamMember]{ + OutputState: i.ToBillingAccountIamMemberOutputWithContext(ctx).OutputState, + } +} + type BillingAccountIamMemberOutput struct{ *pulumi.OutputState } func (BillingAccountIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BillingAccountIamMemberOutput) ToBillingAccountIamMemberOutputWithContex return o } +func (o BillingAccountIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountIamMember] { + return pulumix.Output[*BillingAccountIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BillingAccountIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BillingAccountIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudbilling/v1/billingAccountIamPolicy.go b/sdk/go/google/cloudbilling/v1/billingAccountIamPolicy.go index 34a20cecc0..811f5c8b02 100644 --- a/sdk/go/google/cloudbilling/v1/billingAccountIamPolicy.go +++ b/sdk/go/google/cloudbilling/v1/billingAccountIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a billing account. Replaces any existing policy. The caller must have the `billing.accounts.setIamPolicy` permission on the account, which is often given to billing account [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). @@ -127,6 +128,12 @@ func (i *BillingAccountIamPolicy) ToBillingAccountIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BillingAccountIamPolicyOutput) } +func (i *BillingAccountIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountIamPolicy] { + return pulumix.Output[*BillingAccountIamPolicy]{ + OutputState: i.ToBillingAccountIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BillingAccountIamPolicyOutput struct{ *pulumi.OutputState } func (BillingAccountIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o BillingAccountIamPolicyOutput) ToBillingAccountIamPolicyOutputWithContex return o } +func (o BillingAccountIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountIamPolicy] { + return pulumix.Output[*BillingAccountIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o BillingAccountIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *BillingAccountIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudbilling/v1/getBillingAccount.go b/sdk/go/google/cloudbilling/v1/getBillingAccount.go index 62f8de7a50..28c3ee3ee6 100644 --- a/sdk/go/google/cloudbilling/v1/getBillingAccount.go +++ b/sdk/go/google/cloudbilling/v1/getBillingAccount.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a billing account. The current authenticated user must be a [viewer of the billing account](https://cloud.google.com/billing/docs/how-to/billing-access). @@ -72,6 +73,12 @@ func (o LookupBillingAccountResultOutput) ToLookupBillingAccountResultOutputWith return o } +func (o LookupBillingAccountResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBillingAccountResult] { + return pulumix.Output[LookupBillingAccountResult]{ + OutputState: o.OutputState, + } +} + // The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console. func (o LookupBillingAccountResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupBillingAccountResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbilling/v1/getBillingAccountIamPolicy.go b/sdk/go/google/cloudbilling/v1/getBillingAccountIamPolicy.go index 2bd4f02d5b..2a9ba9bbb5 100644 --- a/sdk/go/google/cloudbilling/v1/getBillingAccountIamPolicy.go +++ b/sdk/go/google/cloudbilling/v1/getBillingAccountIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a billing account. The caller must have the `billing.accounts.getIamPolicy` permission on the account, which is often given to billing account [viewers](https://cloud.google.com/billing/docs/how-to/billing-access). @@ -74,6 +75,12 @@ func (o LookupBillingAccountIamPolicyResultOutput) ToLookupBillingAccountIamPoli return o } +func (o LookupBillingAccountIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBillingAccountIamPolicyResult] { + return pulumix.Output[LookupBillingAccountIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupBillingAccountIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupBillingAccountIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudbilling/v1/pulumiEnums.go b/sdk/go/google/cloudbilling/v1/pulumiEnums.go index 1933426dfd..57f0421e67 100644 --- a/sdk/go/google/cloudbilling/v1/pulumiEnums.go +++ b/sdk/go/google/cloudbilling/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudbilling/v1/pulumiTypes.go b/sdk/go/google/cloudbilling/v1/pulumiTypes.go index 3fc4baeaf0..3a959ea5cc 100644 --- a/sdk/go/google/cloudbilling/v1/pulumiTypes.go +++ b/sdk/go/google/cloudbilling/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1/bitbucketServerConfig.go b/sdk/go/google/cloudbuild/v1/bitbucketServerConfig.go index 49603c1986..49b35d3004 100644 --- a/sdk/go/google/cloudbuild/v1/bitbucketServerConfig.go +++ b/sdk/go/google/cloudbuild/v1/bitbucketServerConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new `BitbucketServerConfig`. This API is experimental. @@ -165,6 +166,12 @@ func (i *BitbucketServerConfig) ToBitbucketServerConfigOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(BitbucketServerConfigOutput) } +func (i *BitbucketServerConfig) ToOutput(ctx context.Context) pulumix.Output[*BitbucketServerConfig] { + return pulumix.Output[*BitbucketServerConfig]{ + OutputState: i.ToBitbucketServerConfigOutputWithContext(ctx).OutputState, + } +} + type BitbucketServerConfigOutput struct{ *pulumi.OutputState } func (BitbucketServerConfigOutput) ElementType() reflect.Type { @@ -179,6 +186,12 @@ func (o BitbucketServerConfigOutput) ToBitbucketServerConfigOutputWithContext(ct return o } +func (o BitbucketServerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*BitbucketServerConfig] { + return pulumix.Output[*BitbucketServerConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig. func (o BitbucketServerConfigOutput) ApiKey() pulumi.StringOutput { return o.ApplyT(func(v *BitbucketServerConfig) pulumi.StringOutput { return v.ApiKey }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1/build.go b/sdk/go/google/cloudbuild/v1/build.go index 6526b0d846..b10b942c0b 100644 --- a/sdk/go/google/cloudbuild/v1/build.go +++ b/sdk/go/google/cloudbuild/v1/build.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). @@ -220,6 +221,12 @@ func (i *Build) ToBuildOutputWithContext(ctx context.Context) BuildOutput { return pulumi.ToOutputWithContext(ctx, i).(BuildOutput) } +func (i *Build) ToOutput(ctx context.Context) pulumix.Output[*Build] { + return pulumix.Output[*Build]{ + OutputState: i.ToBuildOutputWithContext(ctx).OutputState, + } +} + type BuildOutput struct{ *pulumi.OutputState } func (BuildOutput) ElementType() reflect.Type { @@ -234,6 +241,12 @@ func (o BuildOutput) ToBuildOutputWithContext(ctx context.Context) BuildOutput { return o } +func (o BuildOutput) ToOutput(ctx context.Context) pulumix.Output[*Build] { + return pulumix.Output[*Build]{ + OutputState: o.OutputState, + } +} + // Describes this build's approval configuration, status, and result. func (o BuildOutput) Approval() BuildApprovalResponseOutput { return o.ApplyT(func(v *Build) BuildApprovalResponseOutput { return v.Approval }).(BuildApprovalResponseOutput) diff --git a/sdk/go/google/cloudbuild/v1/getBitbucketServerConfig.go b/sdk/go/google/cloudbuild/v1/getBitbucketServerConfig.go index 9795f0ae31..7d1d8e6b49 100644 --- a/sdk/go/google/cloudbuild/v1/getBitbucketServerConfig.go +++ b/sdk/go/google/cloudbuild/v1/getBitbucketServerConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve a `BitbucketServerConfig`. This API is experimental. @@ -88,6 +89,12 @@ func (o LookupBitbucketServerConfigResultOutput) ToLookupBitbucketServerConfigRe return o } +func (o LookupBitbucketServerConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBitbucketServerConfigResult] { + return pulumix.Output[LookupBitbucketServerConfigResult]{ + OutputState: o.OutputState, + } +} + // Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig. func (o LookupBitbucketServerConfigResultOutput) ApiKey() pulumi.StringOutput { return o.ApplyT(func(v LookupBitbucketServerConfigResult) string { return v.ApiKey }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1/getBuild.go b/sdk/go/google/cloudbuild/v1/getBuild.go index 82f331ec48..5932333751 100644 --- a/sdk/go/google/cloudbuild/v1/getBuild.go +++ b/sdk/go/google/cloudbuild/v1/getBuild.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information. @@ -128,6 +129,12 @@ func (o LookupBuildResultOutput) ToLookupBuildResultOutputWithContext(ctx contex return o } +func (o LookupBuildResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBuildResult] { + return pulumix.Output[LookupBuildResult]{ + OutputState: o.OutputState, + } +} + // Describes this build's approval configuration, status, and result. func (o LookupBuildResultOutput) Approval() BuildApprovalResponseOutput { return o.ApplyT(func(v LookupBuildResult) BuildApprovalResponse { return v.Approval }).(BuildApprovalResponseOutput) diff --git a/sdk/go/google/cloudbuild/v1/getGitLabConfig.go b/sdk/go/google/cloudbuild/v1/getGitLabConfig.go index 070abe4c8d..f125492dd3 100644 --- a/sdk/go/google/cloudbuild/v1/getGitLabConfig.go +++ b/sdk/go/google/cloudbuild/v1/getGitLabConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a `GitLabConfig`. This API is experimental @@ -82,6 +83,12 @@ func (o LookupGitLabConfigResultOutput) ToLookupGitLabConfigResultOutputWithCont return o } +func (o LookupGitLabConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGitLabConfigResult] { + return pulumix.Output[LookupGitLabConfigResult]{ + OutputState: o.OutputState, + } +} + // Connected GitLab.com or GitLabEnterprise repositories for this config. func (o LookupGitLabConfigResultOutput) ConnectedRepositories() GitLabRepositoryIdResponseArrayOutput { return o.ApplyT(func(v LookupGitLabConfigResult) []GitLabRepositoryIdResponse { return v.ConnectedRepositories }).(GitLabRepositoryIdResponseArrayOutput) diff --git a/sdk/go/google/cloudbuild/v1/getGithubEnterpriseConfig.go b/sdk/go/google/cloudbuild/v1/getGithubEnterpriseConfig.go index 6145f3bd2b..e881497d32 100644 --- a/sdk/go/google/cloudbuild/v1/getGithubEnterpriseConfig.go +++ b/sdk/go/google/cloudbuild/v1/getGithubEnterpriseConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve a GitHubEnterpriseConfig. @@ -90,6 +91,12 @@ func (o LookupGithubEnterpriseConfigResultOutput) ToLookupGithubEnterpriseConfig return o } +func (o LookupGithubEnterpriseConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGithubEnterpriseConfigResult] { + return pulumix.Output[LookupGithubEnterpriseConfigResult]{ + OutputState: o.OutputState, + } +} + // The GitHub app id of the Cloud Build app on the GitHub Enterprise server. func (o LookupGithubEnterpriseConfigResultOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v LookupGithubEnterpriseConfigResult) string { return v.AppId }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1/getTrigger.go b/sdk/go/google/cloudbuild/v1/getTrigger.go index a68174ee04..f9cb9b78b7 100644 --- a/sdk/go/google/cloudbuild/v1/getTrigger.go +++ b/sdk/go/google/cloudbuild/v1/getTrigger.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns information about a `BuildTrigger`. This API is experimental. @@ -122,6 +123,12 @@ func (o LookupTriggerResultOutput) ToLookupTriggerResultOutputWithContext(ctx co return o } +func (o LookupTriggerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTriggerResult] { + return pulumix.Output[LookupTriggerResult]{ + OutputState: o.OutputState, + } +} + // Configuration for manual approval to start a build invocation of this BuildTrigger. func (o LookupTriggerResultOutput) ApprovalConfig() ApprovalConfigResponseOutput { return o.ApplyT(func(v LookupTriggerResult) ApprovalConfigResponse { return v.ApprovalConfig }).(ApprovalConfigResponseOutput) diff --git a/sdk/go/google/cloudbuild/v1/getWorkerPool.go b/sdk/go/google/cloudbuild/v1/getWorkerPool.go index 4fbf33474e..c35d06f4d5 100644 --- a/sdk/go/google/cloudbuild/v1/getWorkerPool.go +++ b/sdk/go/google/cloudbuild/v1/getWorkerPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns details of a `WorkerPool`. @@ -88,6 +89,12 @@ func (o LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutputWithContext( return o } +func (o LookupWorkerPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkerPoolResult] { + return pulumix.Output[LookupWorkerPoolResult]{ + OutputState: o.OutputState, + } +} + // User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. func (o LookupWorkerPoolResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupWorkerPoolResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/cloudbuild/v1/gitLabConfig.go b/sdk/go/google/cloudbuild/v1/gitLabConfig.go index ce2103b487..fd5882029f 100644 --- a/sdk/go/google/cloudbuild/v1/gitLabConfig.go +++ b/sdk/go/google/cloudbuild/v1/gitLabConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new `GitLabConfig`. This API is experimental @@ -141,6 +142,12 @@ func (i *GitLabConfig) ToGitLabConfigOutputWithContext(ctx context.Context) GitL return pulumi.ToOutputWithContext(ctx, i).(GitLabConfigOutput) } +func (i *GitLabConfig) ToOutput(ctx context.Context) pulumix.Output[*GitLabConfig] { + return pulumix.Output[*GitLabConfig]{ + OutputState: i.ToGitLabConfigOutputWithContext(ctx).OutputState, + } +} + type GitLabConfigOutput struct{ *pulumi.OutputState } func (GitLabConfigOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o GitLabConfigOutput) ToGitLabConfigOutputWithContext(ctx context.Context) return o } +func (o GitLabConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*GitLabConfig] { + return pulumix.Output[*GitLabConfig]{ + OutputState: o.OutputState, + } +} + // Connected GitLab.com or GitLabEnterprise repositories for this config. func (o GitLabConfigOutput) ConnectedRepositories() GitLabRepositoryIdResponseArrayOutput { return o.ApplyT(func(v *GitLabConfig) GitLabRepositoryIdResponseArrayOutput { return v.ConnectedRepositories }).(GitLabRepositoryIdResponseArrayOutput) diff --git a/sdk/go/google/cloudbuild/v1/githubEnterpriseConfig.go b/sdk/go/google/cloudbuild/v1/githubEnterpriseConfig.go index c9fed56f59..96f812fa22 100644 --- a/sdk/go/google/cloudbuild/v1/githubEnterpriseConfig.go +++ b/sdk/go/google/cloudbuild/v1/githubEnterpriseConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an association between a GCP project and a GitHub Enterprise server. @@ -163,6 +164,12 @@ func (i *GithubEnterpriseConfig) ToGithubEnterpriseConfigOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(GithubEnterpriseConfigOutput) } +func (i *GithubEnterpriseConfig) ToOutput(ctx context.Context) pulumix.Output[*GithubEnterpriseConfig] { + return pulumix.Output[*GithubEnterpriseConfig]{ + OutputState: i.ToGithubEnterpriseConfigOutputWithContext(ctx).OutputState, + } +} + type GithubEnterpriseConfigOutput struct{ *pulumi.OutputState } func (GithubEnterpriseConfigOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o GithubEnterpriseConfigOutput) ToGithubEnterpriseConfigOutputWithContext( return o } +func (o GithubEnterpriseConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*GithubEnterpriseConfig] { + return pulumix.Output[*GithubEnterpriseConfig]{ + OutputState: o.OutputState, + } +} + // The GitHub app id of the Cloud Build app on the GitHub Enterprise server. func (o GithubEnterpriseConfigOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *GithubEnterpriseConfig) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1/pulumiEnums.go b/sdk/go/google/cloudbuild/v1/pulumiEnums.go index cabe507eea..b3a86bfbe3 100644 --- a/sdk/go/google/cloudbuild/v1/pulumiEnums.go +++ b/sdk/go/google/cloudbuild/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. Option to specify how default logs buckets are setup. @@ -80,6 +81,12 @@ func (o BuildOptionsDefaultLogsBucketBehaviorOutput) ToBuildOptionsDefaultLogsBu }).(BuildOptionsDefaultLogsBucketBehaviorPtrOutput) } +func (o BuildOptionsDefaultLogsBucketBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOptionsDefaultLogsBucketBehavior] { + return pulumix.Output[BuildOptionsDefaultLogsBucketBehavior]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsDefaultLogsBucketBehaviorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o BuildOptionsDefaultLogsBucketBehaviorPtrOutput) ToBuildOptionsDefaultLog return o } +func (o BuildOptionsDefaultLogsBucketBehaviorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsDefaultLogsBucketBehavior] { + return pulumix.Output[*BuildOptionsDefaultLogsBucketBehavior]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsDefaultLogsBucketBehaviorPtrOutput) Elem() BuildOptionsDefaultLogsBucketBehaviorOutput { return o.ApplyT(func(v *BuildOptionsDefaultLogsBucketBehavior) BuildOptionsDefaultLogsBucketBehavior { if v != nil { @@ -177,6 +190,12 @@ func (in *buildOptionsDefaultLogsBucketBehaviorPtr) ToBuildOptionsDefaultLogsBuc return pulumi.ToOutputWithContext(ctx, in).(BuildOptionsDefaultLogsBucketBehaviorPtrOutput) } +func (in *buildOptionsDefaultLogsBucketBehaviorPtr) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsDefaultLogsBucketBehavior] { + return pulumix.Output[*BuildOptionsDefaultLogsBucketBehavior]{ + OutputState: in.ToBuildOptionsDefaultLogsBucketBehaviorPtrOutputWithContext(ctx).OutputState, + } +} + // Option to define build log streaming behavior to Google Cloud Storage. type BuildOptionsLogStreamingOption string @@ -249,6 +268,12 @@ func (o BuildOptionsLogStreamingOptionOutput) ToBuildOptionsLogStreamingOptionPt }).(BuildOptionsLogStreamingOptionPtrOutput) } +func (o BuildOptionsLogStreamingOptionOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOptionsLogStreamingOption] { + return pulumix.Output[BuildOptionsLogStreamingOption]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsLogStreamingOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o BuildOptionsLogStreamingOptionPtrOutput) ToBuildOptionsLogStreamingOptio return o } +func (o BuildOptionsLogStreamingOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsLogStreamingOption] { + return pulumix.Output[*BuildOptionsLogStreamingOption]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsLogStreamingOptionPtrOutput) Elem() BuildOptionsLogStreamingOptionOutput { return o.ApplyT(func(v *BuildOptionsLogStreamingOption) BuildOptionsLogStreamingOption { if v != nil { @@ -346,6 +377,12 @@ func (in *buildOptionsLogStreamingOptionPtr) ToBuildOptionsLogStreamingOptionPtr return pulumi.ToOutputWithContext(ctx, in).(BuildOptionsLogStreamingOptionPtrOutput) } +func (in *buildOptionsLogStreamingOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsLogStreamingOption] { + return pulumix.Output[*BuildOptionsLogStreamingOption]{ + OutputState: in.ToBuildOptionsLogStreamingOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Option to specify the logging mode, which determines if and where build logs are stored. type BuildOptionsLogging string @@ -424,6 +461,12 @@ func (o BuildOptionsLoggingOutput) ToBuildOptionsLoggingPtrOutputWithContext(ctx }).(BuildOptionsLoggingPtrOutput) } +func (o BuildOptionsLoggingOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOptionsLogging] { + return pulumix.Output[BuildOptionsLogging]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsLoggingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -459,6 +502,12 @@ func (o BuildOptionsLoggingPtrOutput) ToBuildOptionsLoggingPtrOutputWithContext( return o } +func (o BuildOptionsLoggingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsLogging] { + return pulumix.Output[*BuildOptionsLogging]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsLoggingPtrOutput) Elem() BuildOptionsLoggingOutput { return o.ApplyT(func(v *BuildOptionsLogging) BuildOptionsLogging { if v != nil { @@ -521,6 +570,12 @@ func (in *buildOptionsLoggingPtr) ToBuildOptionsLoggingPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(BuildOptionsLoggingPtrOutput) } +func (in *buildOptionsLoggingPtr) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsLogging] { + return pulumix.Output[*BuildOptionsLogging]{ + OutputState: in.ToBuildOptionsLoggingPtrOutputWithContext(ctx).OutputState, + } +} + // Compute Engine machine type on which to run the build. type BuildOptionsMachineType string @@ -597,6 +652,12 @@ func (o BuildOptionsMachineTypeOutput) ToBuildOptionsMachineTypePtrOutputWithCon }).(BuildOptionsMachineTypePtrOutput) } +func (o BuildOptionsMachineTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOptionsMachineType] { + return pulumix.Output[BuildOptionsMachineType]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsMachineTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -632,6 +693,12 @@ func (o BuildOptionsMachineTypePtrOutput) ToBuildOptionsMachineTypePtrOutputWith return o } +func (o BuildOptionsMachineTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsMachineType] { + return pulumix.Output[*BuildOptionsMachineType]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsMachineTypePtrOutput) Elem() BuildOptionsMachineTypeOutput { return o.ApplyT(func(v *BuildOptionsMachineType) BuildOptionsMachineType { if v != nil { @@ -694,6 +761,12 @@ func (in *buildOptionsMachineTypePtr) ToBuildOptionsMachineTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(BuildOptionsMachineTypePtrOutput) } +func (in *buildOptionsMachineTypePtr) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsMachineType] { + return pulumix.Output[*BuildOptionsMachineType]{ + OutputState: in.ToBuildOptionsMachineTypePtrOutputWithContext(ctx).OutputState, + } +} + // Requested verifiability options. type BuildOptionsRequestedVerifyOption string @@ -764,6 +837,12 @@ func (o BuildOptionsRequestedVerifyOptionOutput) ToBuildOptionsRequestedVerifyOp }).(BuildOptionsRequestedVerifyOptionPtrOutput) } +func (o BuildOptionsRequestedVerifyOptionOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOptionsRequestedVerifyOption] { + return pulumix.Output[BuildOptionsRequestedVerifyOption]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsRequestedVerifyOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -799,6 +878,12 @@ func (o BuildOptionsRequestedVerifyOptionPtrOutput) ToBuildOptionsRequestedVerif return o } +func (o BuildOptionsRequestedVerifyOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsRequestedVerifyOption] { + return pulumix.Output[*BuildOptionsRequestedVerifyOption]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsRequestedVerifyOptionPtrOutput) Elem() BuildOptionsRequestedVerifyOptionOutput { return o.ApplyT(func(v *BuildOptionsRequestedVerifyOption) BuildOptionsRequestedVerifyOption { if v != nil { @@ -861,6 +946,12 @@ func (in *buildOptionsRequestedVerifyOptionPtr) ToBuildOptionsRequestedVerifyOpt return pulumi.ToOutputWithContext(ctx, in).(BuildOptionsRequestedVerifyOptionPtrOutput) } +func (in *buildOptionsRequestedVerifyOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsRequestedVerifyOption] { + return pulumix.Output[*BuildOptionsRequestedVerifyOption]{ + OutputState: in.ToBuildOptionsRequestedVerifyOptionPtrOutputWithContext(ctx).OutputState, + } +} + type BuildOptionsSourceProvenanceHashItem string const ( @@ -934,6 +1025,12 @@ func (o BuildOptionsSourceProvenanceHashItemOutput) ToBuildOptionsSourceProvenan }).(BuildOptionsSourceProvenanceHashItemPtrOutput) } +func (o BuildOptionsSourceProvenanceHashItemOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOptionsSourceProvenanceHashItem] { + return pulumix.Output[BuildOptionsSourceProvenanceHashItem]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsSourceProvenanceHashItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -969,6 +1066,12 @@ func (o BuildOptionsSourceProvenanceHashItemPtrOutput) ToBuildOptionsSourceProve return o } +func (o BuildOptionsSourceProvenanceHashItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsSourceProvenanceHashItem] { + return pulumix.Output[*BuildOptionsSourceProvenanceHashItem]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsSourceProvenanceHashItemPtrOutput) Elem() BuildOptionsSourceProvenanceHashItemOutput { return o.ApplyT(func(v *BuildOptionsSourceProvenanceHashItem) BuildOptionsSourceProvenanceHashItem { if v != nil { @@ -1031,6 +1134,12 @@ func (in *buildOptionsSourceProvenanceHashItemPtr) ToBuildOptionsSourceProvenanc return pulumi.ToOutputWithContext(ctx, in).(BuildOptionsSourceProvenanceHashItemPtrOutput) } +func (in *buildOptionsSourceProvenanceHashItemPtr) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsSourceProvenanceHashItem] { + return pulumix.Output[*BuildOptionsSourceProvenanceHashItem]{ + OutputState: in.ToBuildOptionsSourceProvenanceHashItemPtrOutputWithContext(ctx).OutputState, + } +} + // BuildOptionsSourceProvenanceHashItemArrayInput is an input type that accepts BuildOptionsSourceProvenanceHashItemArray and BuildOptionsSourceProvenanceHashItemArrayOutput values. // You can construct a concrete instance of `BuildOptionsSourceProvenanceHashItemArrayInput` via: // @@ -1056,6 +1165,12 @@ func (i BuildOptionsSourceProvenanceHashItemArray) ToBuildOptionsSourceProvenanc return pulumi.ToOutputWithContext(ctx, i).(BuildOptionsSourceProvenanceHashItemArrayOutput) } +func (i BuildOptionsSourceProvenanceHashItemArray) ToOutput(ctx context.Context) pulumix.Output[[]BuildOptionsSourceProvenanceHashItem] { + return pulumix.Output[[]BuildOptionsSourceProvenanceHashItem]{ + OutputState: i.ToBuildOptionsSourceProvenanceHashItemArrayOutputWithContext(ctx).OutputState, + } +} + type BuildOptionsSourceProvenanceHashItemArrayOutput struct{ *pulumi.OutputState } func (BuildOptionsSourceProvenanceHashItemArrayOutput) ElementType() reflect.Type { @@ -1070,6 +1185,12 @@ func (o BuildOptionsSourceProvenanceHashItemArrayOutput) ToBuildOptionsSourcePro return o } +func (o BuildOptionsSourceProvenanceHashItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BuildOptionsSourceProvenanceHashItem] { + return pulumix.Output[[]BuildOptionsSourceProvenanceHashItem]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsSourceProvenanceHashItemArrayOutput) Index(i pulumi.IntInput) BuildOptionsSourceProvenanceHashItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildOptionsSourceProvenanceHashItem { return vs[0].([]BuildOptionsSourceProvenanceHashItem)[vs[1].(int)] @@ -1146,6 +1267,12 @@ func (o BuildOptionsSubstitutionOptionOutput) ToBuildOptionsSubstitutionOptionPt }).(BuildOptionsSubstitutionOptionPtrOutput) } +func (o BuildOptionsSubstitutionOptionOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOptionsSubstitutionOption] { + return pulumix.Output[BuildOptionsSubstitutionOption]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsSubstitutionOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1181,6 +1308,12 @@ func (o BuildOptionsSubstitutionOptionPtrOutput) ToBuildOptionsSubstitutionOptio return o } +func (o BuildOptionsSubstitutionOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsSubstitutionOption] { + return pulumix.Output[*BuildOptionsSubstitutionOption]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsSubstitutionOptionPtrOutput) Elem() BuildOptionsSubstitutionOptionOutput { return o.ApplyT(func(v *BuildOptionsSubstitutionOption) BuildOptionsSubstitutionOption { if v != nil { @@ -1243,6 +1376,12 @@ func (in *buildOptionsSubstitutionOptionPtr) ToBuildOptionsSubstitutionOptionPtr return pulumi.ToOutputWithContext(ctx, in).(BuildOptionsSubstitutionOptionPtrOutput) } +func (in *buildOptionsSubstitutionOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*BuildOptionsSubstitutionOption] { + return pulumix.Output[*BuildOptionsSubstitutionOption]{ + OutputState: in.ToBuildOptionsSubstitutionOptionPtrOutputWithContext(ctx).OutputState, + } +} + // See RepoType above. type GitFileSourceRepoType string @@ -1319,6 +1458,12 @@ func (o GitFileSourceRepoTypeOutput) ToGitFileSourceRepoTypePtrOutputWithContext }).(GitFileSourceRepoTypePtrOutput) } +func (o GitFileSourceRepoTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GitFileSourceRepoType] { + return pulumix.Output[GitFileSourceRepoType]{ + OutputState: o.OutputState, + } +} + func (o GitFileSourceRepoTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1354,6 +1499,12 @@ func (o GitFileSourceRepoTypePtrOutput) ToGitFileSourceRepoTypePtrOutputWithCont return o } +func (o GitFileSourceRepoTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitFileSourceRepoType] { + return pulumix.Output[*GitFileSourceRepoType]{ + OutputState: o.OutputState, + } +} + func (o GitFileSourceRepoTypePtrOutput) Elem() GitFileSourceRepoTypeOutput { return o.ApplyT(func(v *GitFileSourceRepoType) GitFileSourceRepoType { if v != nil { @@ -1416,6 +1567,12 @@ func (in *gitFileSourceRepoTypePtr) ToGitFileSourceRepoTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(GitFileSourceRepoTypePtrOutput) } +func (in *gitFileSourceRepoTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GitFileSourceRepoType] { + return pulumix.Output[*GitFileSourceRepoType]{ + OutputState: in.ToGitFileSourceRepoTypePtrOutputWithContext(ctx).OutputState, + } +} + // See RepoType below. type GitRepoSourceRepoType string @@ -1492,6 +1649,12 @@ func (o GitRepoSourceRepoTypeOutput) ToGitRepoSourceRepoTypePtrOutputWithContext }).(GitRepoSourceRepoTypePtrOutput) } +func (o GitRepoSourceRepoTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GitRepoSourceRepoType] { + return pulumix.Output[GitRepoSourceRepoType]{ + OutputState: o.OutputState, + } +} + func (o GitRepoSourceRepoTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1527,6 +1690,12 @@ func (o GitRepoSourceRepoTypePtrOutput) ToGitRepoSourceRepoTypePtrOutputWithCont return o } +func (o GitRepoSourceRepoTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitRepoSourceRepoType] { + return pulumix.Output[*GitRepoSourceRepoType]{ + OutputState: o.OutputState, + } +} + func (o GitRepoSourceRepoTypePtrOutput) Elem() GitRepoSourceRepoTypeOutput { return o.ApplyT(func(v *GitRepoSourceRepoType) GitRepoSourceRepoType { if v != nil { @@ -1589,6 +1758,12 @@ func (in *gitRepoSourceRepoTypePtr) ToGitRepoSourceRepoTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(GitRepoSourceRepoTypePtrOutput) } +func (in *gitRepoSourceRepoTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GitRepoSourceRepoType] { + return pulumix.Output[*GitRepoSourceRepoType]{ + OutputState: in.ToGitRepoSourceRepoTypePtrOutputWithContext(ctx).OutputState, + } +} + // Option to configure network egress for the workers. type NetworkConfigEgressOption string @@ -1661,6 +1836,12 @@ func (o NetworkConfigEgressOptionOutput) ToNetworkConfigEgressOptionPtrOutputWit }).(NetworkConfigEgressOptionPtrOutput) } +func (o NetworkConfigEgressOptionOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigEgressOption] { + return pulumix.Output[NetworkConfigEgressOption]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigEgressOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1696,6 +1877,12 @@ func (o NetworkConfigEgressOptionPtrOutput) ToNetworkConfigEgressOptionPtrOutput return o } +func (o NetworkConfigEgressOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigEgressOption] { + return pulumix.Output[*NetworkConfigEgressOption]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigEgressOptionPtrOutput) Elem() NetworkConfigEgressOptionOutput { return o.ApplyT(func(v *NetworkConfigEgressOption) NetworkConfigEgressOption { if v != nil { @@ -1758,6 +1945,12 @@ func (in *networkConfigEgressOptionPtr) ToNetworkConfigEgressOptionPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigEgressOptionPtrOutput) } +func (in *networkConfigEgressOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigEgressOption] { + return pulumix.Output[*NetworkConfigEgressOption]{ + OutputState: in.ToNetworkConfigEgressOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. type PubsubConfigState string @@ -1834,6 +2027,12 @@ func (o PubsubConfigStateOutput) ToPubsubConfigStatePtrOutputWithContext(ctx con }).(PubsubConfigStatePtrOutput) } +func (o PubsubConfigStateOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubConfigState] { + return pulumix.Output[PubsubConfigState]{ + OutputState: o.OutputState, + } +} + func (o PubsubConfigStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1869,6 +2068,12 @@ func (o PubsubConfigStatePtrOutput) ToPubsubConfigStatePtrOutputWithContext(ctx return o } +func (o PubsubConfigStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PubsubConfigState] { + return pulumix.Output[*PubsubConfigState]{ + OutputState: o.OutputState, + } +} + func (o PubsubConfigStatePtrOutput) Elem() PubsubConfigStateOutput { return o.ApplyT(func(v *PubsubConfigState) PubsubConfigState { if v != nil { @@ -1931,6 +2136,12 @@ func (in *pubsubConfigStatePtr) ToPubsubConfigStatePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(PubsubConfigStatePtrOutput) } +func (in *pubsubConfigStatePtr) ToOutput(ctx context.Context) pulumix.Output[*PubsubConfigState] { + return pulumix.Output[*PubsubConfigState]{ + OutputState: in.ToPubsubConfigStatePtrOutputWithContext(ctx).OutputState, + } +} + // Configure builds to run whether a repository owner or collaborator need to comment `/gcbrun`. type PullRequestFilterCommentControl string @@ -2003,6 +2214,12 @@ func (o PullRequestFilterCommentControlOutput) ToPullRequestFilterCommentControl }).(PullRequestFilterCommentControlPtrOutput) } +func (o PullRequestFilterCommentControlOutput) ToOutput(ctx context.Context) pulumix.Output[PullRequestFilterCommentControl] { + return pulumix.Output[PullRequestFilterCommentControl]{ + OutputState: o.OutputState, + } +} + func (o PullRequestFilterCommentControlOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2038,6 +2255,12 @@ func (o PullRequestFilterCommentControlPtrOutput) ToPullRequestFilterCommentCont return o } +func (o PullRequestFilterCommentControlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PullRequestFilterCommentControl] { + return pulumix.Output[*PullRequestFilterCommentControl]{ + OutputState: o.OutputState, + } +} + func (o PullRequestFilterCommentControlPtrOutput) Elem() PullRequestFilterCommentControlOutput { return o.ApplyT(func(v *PullRequestFilterCommentControl) PullRequestFilterCommentControl { if v != nil { @@ -2100,6 +2323,12 @@ func (in *pullRequestFilterCommentControlPtr) ToPullRequestFilterCommentControlP return pulumi.ToOutputWithContext(ctx, in).(PullRequestFilterCommentControlPtrOutput) } +func (in *pullRequestFilterCommentControlPtr) ToOutput(ctx context.Context) pulumix.Output[*PullRequestFilterCommentControl] { + return pulumix.Output[*PullRequestFilterCommentControl]{ + OutputState: in.ToPullRequestFilterCommentControlPtrOutputWithContext(ctx).OutputState, + } +} + // EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond. This field will be validated against the rest of the configuration if it is set. type TriggerEventType string @@ -2176,6 +2405,12 @@ func (o TriggerEventTypeOutput) ToTriggerEventTypePtrOutputWithContext(ctx conte }).(TriggerEventTypePtrOutput) } +func (o TriggerEventTypeOutput) ToOutput(ctx context.Context) pulumix.Output[TriggerEventType] { + return pulumix.Output[TriggerEventType]{ + OutputState: o.OutputState, + } +} + func (o TriggerEventTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2211,6 +2446,12 @@ func (o TriggerEventTypePtrOutput) ToTriggerEventTypePtrOutputWithContext(ctx co return o } +func (o TriggerEventTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TriggerEventType] { + return pulumix.Output[*TriggerEventType]{ + OutputState: o.OutputState, + } +} + func (o TriggerEventTypePtrOutput) Elem() TriggerEventTypeOutput { return o.ApplyT(func(v *TriggerEventType) TriggerEventType { if v != nil { @@ -2273,6 +2514,12 @@ func (in *triggerEventTypePtr) ToTriggerEventTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(TriggerEventTypePtrOutput) } +func (in *triggerEventTypePtr) ToOutput(ctx context.Context) pulumix.Output[*TriggerEventType] { + return pulumix.Output[*TriggerEventType]{ + OutputState: in.ToTriggerEventTypePtrOutputWithContext(ctx).OutputState, + } +} + // If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error. type TriggerIncludeBuildLogs string @@ -2343,6 +2590,12 @@ func (o TriggerIncludeBuildLogsOutput) ToTriggerIncludeBuildLogsPtrOutputWithCon }).(TriggerIncludeBuildLogsPtrOutput) } +func (o TriggerIncludeBuildLogsOutput) ToOutput(ctx context.Context) pulumix.Output[TriggerIncludeBuildLogs] { + return pulumix.Output[TriggerIncludeBuildLogs]{ + OutputState: o.OutputState, + } +} + func (o TriggerIncludeBuildLogsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2378,6 +2631,12 @@ func (o TriggerIncludeBuildLogsPtrOutput) ToTriggerIncludeBuildLogsPtrOutputWith return o } +func (o TriggerIncludeBuildLogsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TriggerIncludeBuildLogs] { + return pulumix.Output[*TriggerIncludeBuildLogs]{ + OutputState: o.OutputState, + } +} + func (o TriggerIncludeBuildLogsPtrOutput) Elem() TriggerIncludeBuildLogsOutput { return o.ApplyT(func(v *TriggerIncludeBuildLogs) TriggerIncludeBuildLogs { if v != nil { @@ -2440,6 +2699,12 @@ func (in *triggerIncludeBuildLogsPtr) ToTriggerIncludeBuildLogsPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(TriggerIncludeBuildLogsPtrOutput) } +func (in *triggerIncludeBuildLogsPtr) ToOutput(ctx context.Context) pulumix.Output[*TriggerIncludeBuildLogs] { + return pulumix.Output[*TriggerIncludeBuildLogs]{ + OutputState: in.ToTriggerIncludeBuildLogsPtrOutputWithContext(ctx).OutputState, + } +} + // Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests. type WebhookConfigState string @@ -2512,6 +2777,12 @@ func (o WebhookConfigStateOutput) ToWebhookConfigStatePtrOutputWithContext(ctx c }).(WebhookConfigStatePtrOutput) } +func (o WebhookConfigStateOutput) ToOutput(ctx context.Context) pulumix.Output[WebhookConfigState] { + return pulumix.Output[WebhookConfigState]{ + OutputState: o.OutputState, + } +} + func (o WebhookConfigStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2547,6 +2818,12 @@ func (o WebhookConfigStatePtrOutput) ToWebhookConfigStatePtrOutputWithContext(ct return o } +func (o WebhookConfigStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WebhookConfigState] { + return pulumix.Output[*WebhookConfigState]{ + OutputState: o.OutputState, + } +} + func (o WebhookConfigStatePtrOutput) Elem() WebhookConfigStateOutput { return o.ApplyT(func(v *WebhookConfigState) WebhookConfigState { if v != nil { @@ -2609,6 +2886,12 @@ func (in *webhookConfigStatePtr) ToWebhookConfigStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(WebhookConfigStatePtrOutput) } +func (in *webhookConfigStatePtr) ToOutput(ctx context.Context) pulumix.Output[*WebhookConfigState] { + return pulumix.Output[*WebhookConfigState]{ + OutputState: in.ToWebhookConfigStatePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*BuildOptionsDefaultLogsBucketBehaviorInput)(nil)).Elem(), BuildOptionsDefaultLogsBucketBehavior("DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*BuildOptionsDefaultLogsBucketBehaviorPtrInput)(nil)).Elem(), BuildOptionsDefaultLogsBucketBehavior("DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED")) diff --git a/sdk/go/google/cloudbuild/v1/pulumiTypes.go b/sdk/go/google/cloudbuild/v1/pulumiTypes.go index 53508149c7..b6ff8bdaed 100644 --- a/sdk/go/google/cloudbuild/v1/pulumiTypes.go +++ b/sdk/go/google/cloudbuild/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i ApprovalConfigArgs) ToApprovalConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ApprovalConfigOutput) } +func (i ApprovalConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ApprovalConfig] { + return pulumix.Output[ApprovalConfig]{ + OutputState: i.ToApprovalConfigOutputWithContext(ctx).OutputState, + } +} + func (i ApprovalConfigArgs) ToApprovalConfigPtrOutput() ApprovalConfigPtrOutput { return i.ToApprovalConfigPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *approvalConfigPtrType) ToApprovalConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ApprovalConfigPtrOutput) } +func (i *approvalConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApprovalConfig] { + return pulumix.Output[*ApprovalConfig]{ + OutputState: i.ToApprovalConfigPtrOutputWithContext(ctx).OutputState, + } +} + // ApprovalConfig describes configuration for manual approval of a build. type ApprovalConfigOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o ApprovalConfigOutput) ToApprovalConfigPtrOutputWithContext(ctx context.C }).(ApprovalConfigPtrOutput) } +func (o ApprovalConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ApprovalConfig] { + return pulumix.Output[ApprovalConfig]{ + OutputState: o.OutputState, + } +} + // Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start. func (o ApprovalConfigOutput) ApprovalRequired() pulumi.BoolPtrOutput { return o.ApplyT(func(v ApprovalConfig) *bool { return v.ApprovalRequired }).(pulumi.BoolPtrOutput) @@ -133,6 +152,12 @@ func (o ApprovalConfigPtrOutput) ToApprovalConfigPtrOutputWithContext(ctx contex return o } +func (o ApprovalConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApprovalConfig] { + return pulumix.Output[*ApprovalConfig]{ + OutputState: o.OutputState, + } +} + func (o ApprovalConfigPtrOutput) Elem() ApprovalConfigOutput { return o.ApplyT(func(v *ApprovalConfig) ApprovalConfig { if v != nil { @@ -174,6 +199,12 @@ func (o ApprovalConfigResponseOutput) ToApprovalConfigResponseOutputWithContext( return o } +func (o ApprovalConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApprovalConfigResponse] { + return pulumix.Output[ApprovalConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start. func (o ApprovalConfigResponseOutput) ApprovalRequired() pulumi.BoolOutput { return o.ApplyT(func(v ApprovalConfigResponse) bool { return v.ApprovalRequired }).(pulumi.BoolOutput) @@ -208,6 +239,12 @@ func (o ApprovalResultResponseOutput) ToApprovalResultResponseOutputWithContext( return o } +func (o ApprovalResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApprovalResultResponse] { + return pulumix.Output[ApprovalResultResponse]{ + OutputState: o.OutputState, + } +} + // The time when the approval decision was made. func (o ApprovalResultResponseOutput) ApprovalTime() pulumi.StringOutput { return o.ApplyT(func(v ApprovalResultResponse) string { return v.ApprovalTime }).(pulumi.StringOutput) @@ -272,6 +309,12 @@ func (i ArtifactObjectsArgs) ToArtifactObjectsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ArtifactObjectsOutput) } +func (i ArtifactObjectsArgs) ToOutput(ctx context.Context) pulumix.Output[ArtifactObjects] { + return pulumix.Output[ArtifactObjects]{ + OutputState: i.ToArtifactObjectsOutputWithContext(ctx).OutputState, + } +} + func (i ArtifactObjectsArgs) ToArtifactObjectsPtrOutput() ArtifactObjectsPtrOutput { return i.ToArtifactObjectsPtrOutputWithContext(context.Background()) } @@ -313,6 +356,12 @@ func (i *artifactObjectsPtrType) ToArtifactObjectsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ArtifactObjectsPtrOutput) } +func (i *artifactObjectsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ArtifactObjects] { + return pulumix.Output[*ArtifactObjects]{ + OutputState: i.ToArtifactObjectsPtrOutputWithContext(ctx).OutputState, + } +} + // Files in the workspace to upload to Cloud Storage upon successful completion of all build steps. type ArtifactObjectsOutput struct{ *pulumi.OutputState } @@ -338,6 +387,12 @@ func (o ArtifactObjectsOutput) ToArtifactObjectsPtrOutputWithContext(ctx context }).(ArtifactObjectsPtrOutput) } +func (o ArtifactObjectsOutput) ToOutput(ctx context.Context) pulumix.Output[ArtifactObjects] { + return pulumix.Output[ArtifactObjects]{ + OutputState: o.OutputState, + } +} + // Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix. func (o ArtifactObjectsOutput) Location() pulumi.StringPtrOutput { return o.ApplyT(func(v ArtifactObjects) *string { return v.Location }).(pulumi.StringPtrOutput) @@ -362,6 +417,12 @@ func (o ArtifactObjectsPtrOutput) ToArtifactObjectsPtrOutputWithContext(ctx cont return o } +func (o ArtifactObjectsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ArtifactObjects] { + return pulumix.Output[*ArtifactObjects]{ + OutputState: o.OutputState, + } +} + func (o ArtifactObjectsPtrOutput) Elem() ArtifactObjectsOutput { return o.ApplyT(func(v *ArtifactObjects) ArtifactObjects { if v != nil { @@ -417,6 +478,12 @@ func (o ArtifactObjectsResponseOutput) ToArtifactObjectsResponseOutputWithContex return o } +func (o ArtifactObjectsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ArtifactObjectsResponse] { + return pulumix.Output[ArtifactObjectsResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix. func (o ArtifactObjectsResponseOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v ArtifactObjectsResponse) string { return v.Location }).(pulumi.StringOutput) @@ -483,6 +550,12 @@ func (i ArtifactsArgs) ToArtifactsOutputWithContext(ctx context.Context) Artifac return pulumi.ToOutputWithContext(ctx, i).(ArtifactsOutput) } +func (i ArtifactsArgs) ToOutput(ctx context.Context) pulumix.Output[Artifacts] { + return pulumix.Output[Artifacts]{ + OutputState: i.ToArtifactsOutputWithContext(ctx).OutputState, + } +} + func (i ArtifactsArgs) ToArtifactsPtrOutput() ArtifactsPtrOutput { return i.ToArtifactsPtrOutputWithContext(context.Background()) } @@ -524,6 +597,12 @@ func (i *artifactsPtrType) ToArtifactsPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ArtifactsPtrOutput) } +func (i *artifactsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Artifacts] { + return pulumix.Output[*Artifacts]{ + OutputState: i.ToArtifactsPtrOutputWithContext(ctx).OutputState, + } +} + // Artifacts produced by a build that should be uploaded upon successful completion of all build steps. type ArtifactsOutput struct{ *pulumi.OutputState } @@ -549,6 +628,12 @@ func (o ArtifactsOutput) ToArtifactsPtrOutputWithContext(ctx context.Context) Ar }).(ArtifactsPtrOutput) } +func (o ArtifactsOutput) ToOutput(ctx context.Context) pulumix.Output[Artifacts] { + return pulumix.Output[Artifacts]{ + OutputState: o.OutputState, + } +} + // A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE. func (o ArtifactsOutput) Images() pulumi.StringArrayOutput { return o.ApplyT(func(v Artifacts) []string { return v.Images }).(pulumi.StringArrayOutput) @@ -588,6 +673,12 @@ func (o ArtifactsPtrOutput) ToArtifactsPtrOutputWithContext(ctx context.Context) return o } +func (o ArtifactsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Artifacts] { + return pulumix.Output[*Artifacts]{ + OutputState: o.OutputState, + } +} + func (o ArtifactsPtrOutput) Elem() ArtifactsOutput { return o.ApplyT(func(v *Artifacts) Artifacts { if v != nil { @@ -677,6 +768,12 @@ func (o ArtifactsResponseOutput) ToArtifactsResponseOutputWithContext(ctx contex return o } +func (o ArtifactsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ArtifactsResponse] { + return pulumix.Output[ArtifactsResponse]{ + OutputState: o.OutputState, + } +} + // A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE. func (o ArtifactsResponseOutput) Images() pulumi.StringArrayOutput { return o.ApplyT(func(v ArtifactsResponse) []string { return v.Images }).(pulumi.StringArrayOutput) @@ -741,6 +838,12 @@ func (o BitbucketServerConfigResponseOutput) ToBitbucketServerConfigResponseOutp return o } +func (o BitbucketServerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BitbucketServerConfigResponse] { + return pulumix.Output[BitbucketServerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig. func (o BitbucketServerConfigResponseOutput) ApiKey() pulumi.StringOutput { return o.ApplyT(func(v BitbucketServerConfigResponse) string { return v.ApiKey }).(pulumi.StringOutput) @@ -818,6 +921,12 @@ func (o BitbucketServerRepositoryIdResponseOutput) ToBitbucketServerRepositoryId return o } +func (o BitbucketServerRepositoryIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BitbucketServerRepositoryIdResponse] { + return pulumix.Output[BitbucketServerRepositoryIdResponse]{ + OutputState: o.OutputState, + } +} + // Identifier for the project storing the repository. func (o BitbucketServerRepositoryIdResponseOutput) ProjectKey() pulumi.StringOutput { return o.ApplyT(func(v BitbucketServerRepositoryIdResponse) string { return v.ProjectKey }).(pulumi.StringOutput) @@ -847,6 +956,12 @@ func (o BitbucketServerRepositoryIdResponseArrayOutput) ToBitbucketServerReposit return o } +func (o BitbucketServerRepositoryIdResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BitbucketServerRepositoryIdResponse] { + return pulumix.Output[[]BitbucketServerRepositoryIdResponse]{ + OutputState: o.OutputState, + } +} + func (o BitbucketServerRepositoryIdResponseArrayOutput) Index(i pulumi.IntInput) BitbucketServerRepositoryIdResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BitbucketServerRepositoryIdResponse { return vs[0].([]BitbucketServerRepositoryIdResponse)[vs[1].(int)] @@ -896,6 +1011,12 @@ func (i BitbucketServerSecretsArgs) ToBitbucketServerSecretsOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BitbucketServerSecretsOutput) } +func (i BitbucketServerSecretsArgs) ToOutput(ctx context.Context) pulumix.Output[BitbucketServerSecrets] { + return pulumix.Output[BitbucketServerSecrets]{ + OutputState: i.ToBitbucketServerSecretsOutputWithContext(ctx).OutputState, + } +} + // BitbucketServerSecrets represents the secrets in Secret Manager for a Bitbucket Server. type BitbucketServerSecretsOutput struct{ *pulumi.OutputState } @@ -911,6 +1032,12 @@ func (o BitbucketServerSecretsOutput) ToBitbucketServerSecretsOutputWithContext( return o } +func (o BitbucketServerSecretsOutput) ToOutput(ctx context.Context) pulumix.Output[BitbucketServerSecrets] { + return pulumix.Output[BitbucketServerSecrets]{ + OutputState: o.OutputState, + } +} + // The resource name for the admin access token's secret version. func (o BitbucketServerSecretsOutput) AdminAccessTokenVersionName() pulumi.StringOutput { return o.ApplyT(func(v BitbucketServerSecrets) string { return v.AdminAccessTokenVersionName }).(pulumi.StringOutput) @@ -951,6 +1078,12 @@ func (o BitbucketServerSecretsResponseOutput) ToBitbucketServerSecretsResponseOu return o } +func (o BitbucketServerSecretsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BitbucketServerSecretsResponse] { + return pulumix.Output[BitbucketServerSecretsResponse]{ + OutputState: o.OutputState, + } +} + // The resource name for the admin access token's secret version. func (o BitbucketServerSecretsResponseOutput) AdminAccessTokenVersionName() pulumi.StringOutput { return o.ApplyT(func(v BitbucketServerSecretsResponse) string { return v.AdminAccessTokenVersionName }).(pulumi.StringOutput) @@ -1017,6 +1150,12 @@ func (i BitbucketServerTriggerConfigArgs) ToBitbucketServerTriggerConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(BitbucketServerTriggerConfigOutput) } +func (i BitbucketServerTriggerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BitbucketServerTriggerConfig] { + return pulumix.Output[BitbucketServerTriggerConfig]{ + OutputState: i.ToBitbucketServerTriggerConfigOutputWithContext(ctx).OutputState, + } +} + func (i BitbucketServerTriggerConfigArgs) ToBitbucketServerTriggerConfigPtrOutput() BitbucketServerTriggerConfigPtrOutput { return i.ToBitbucketServerTriggerConfigPtrOutputWithContext(context.Background()) } @@ -1058,6 +1197,12 @@ func (i *bitbucketServerTriggerConfigPtrType) ToBitbucketServerTriggerConfigPtrO return pulumi.ToOutputWithContext(ctx, i).(BitbucketServerTriggerConfigPtrOutput) } +func (i *bitbucketServerTriggerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BitbucketServerTriggerConfig] { + return pulumix.Output[*BitbucketServerTriggerConfig]{ + OutputState: i.ToBitbucketServerTriggerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received. type BitbucketServerTriggerConfigOutput struct{ *pulumi.OutputState } @@ -1083,6 +1228,12 @@ func (o BitbucketServerTriggerConfigOutput) ToBitbucketServerTriggerConfigPtrOut }).(BitbucketServerTriggerConfigPtrOutput) } +func (o BitbucketServerTriggerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BitbucketServerTriggerConfig] { + return pulumix.Output[BitbucketServerTriggerConfig]{ + OutputState: o.OutputState, + } +} + // The Bitbucket server config resource that this trigger config maps to. func (o BitbucketServerTriggerConfigOutput) BitbucketServerConfigResource() pulumi.StringOutput { return o.ApplyT(func(v BitbucketServerTriggerConfig) string { return v.BitbucketServerConfigResource }).(pulumi.StringOutput) @@ -1122,6 +1273,12 @@ func (o BitbucketServerTriggerConfigPtrOutput) ToBitbucketServerTriggerConfigPtr return o } +func (o BitbucketServerTriggerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BitbucketServerTriggerConfig] { + return pulumix.Output[*BitbucketServerTriggerConfig]{ + OutputState: o.OutputState, + } +} + func (o BitbucketServerTriggerConfigPtrOutput) Elem() BitbucketServerTriggerConfigOutput { return o.ApplyT(func(v *BitbucketServerTriggerConfig) BitbucketServerTriggerConfig { if v != nil { @@ -1213,6 +1370,12 @@ func (o BitbucketServerTriggerConfigResponseOutput) ToBitbucketServerTriggerConf return o } +func (o BitbucketServerTriggerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BitbucketServerTriggerConfigResponse] { + return pulumix.Output[BitbucketServerTriggerConfigResponse]{ + OutputState: o.OutputState, + } +} + // The BitbucketServerConfig specified in the bitbucket_server_config_resource field. func (o BitbucketServerTriggerConfigResponseOutput) BitbucketServerConfig() BitbucketServerConfigResponseOutput { return o.ApplyT(func(v BitbucketServerTriggerConfigResponse) BitbucketServerConfigResponse { @@ -1328,6 +1491,12 @@ func (i BuildTypeArgs) ToBuildTypeOutputWithContext(ctx context.Context) BuildTy return pulumi.ToOutputWithContext(ctx, i).(BuildTypeOutput) } +func (i BuildTypeArgs) ToOutput(ctx context.Context) pulumix.Output[BuildType] { + return pulumix.Output[BuildType]{ + OutputState: i.ToBuildTypeOutputWithContext(ctx).OutputState, + } +} + func (i BuildTypeArgs) ToBuildTypePtrOutput() BuildTypePtrOutput { return i.ToBuildTypePtrOutputWithContext(context.Background()) } @@ -1369,6 +1538,12 @@ func (i *buildTypePtrType) ToBuildTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BuildTypePtrOutput) } +func (i *buildTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildType] { + return pulumix.Output[*BuildType]{ + OutputState: i.ToBuildTypePtrOutputWithContext(ctx).OutputState, + } +} + // A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA. type BuildTypeOutput struct{ *pulumi.OutputState } @@ -1394,6 +1569,12 @@ func (o BuildTypeOutput) ToBuildTypePtrOutputWithContext(ctx context.Context) Bu }).(BuildTypePtrOutput) } +func (o BuildTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BuildType] { + return pulumix.Output[BuildType]{ + OutputState: o.OutputState, + } +} + // Artifacts produced by the build that should be uploaded upon successful completion of all build steps. func (o BuildTypeOutput) Artifacts() ArtifactsPtrOutput { return o.ApplyT(func(v BuildType) *Artifacts { return v.Artifacts }).(ArtifactsPtrOutput) @@ -1473,6 +1654,12 @@ func (o BuildTypePtrOutput) ToBuildTypePtrOutputWithContext(ctx context.Context) return o } +func (o BuildTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildType] { + return pulumix.Output[*BuildType]{ + OutputState: o.OutputState, + } +} + func (o BuildTypePtrOutput) Elem() BuildTypeOutput { return o.ApplyT(func(v *BuildType) BuildType { if v != nil { @@ -1638,6 +1825,12 @@ func (o BuildApprovalResponseOutput) ToBuildApprovalResponseOutputWithContext(ct return o } +func (o BuildApprovalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildApprovalResponse] { + return pulumix.Output[BuildApprovalResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for manual approval of this build. func (o BuildApprovalResponseOutput) Config() ApprovalConfigResponseOutput { return o.ApplyT(func(v BuildApprovalResponse) ApprovalConfigResponse { return v.Config }).(ApprovalConfigResponseOutput) @@ -1740,6 +1933,12 @@ func (i BuildOptionsArgs) ToBuildOptionsOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BuildOptionsOutput) } +func (i BuildOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[BuildOptions] { + return pulumix.Output[BuildOptions]{ + OutputState: i.ToBuildOptionsOutputWithContext(ctx).OutputState, + } +} + func (i BuildOptionsArgs) ToBuildOptionsPtrOutput() BuildOptionsPtrOutput { return i.ToBuildOptionsPtrOutputWithContext(context.Background()) } @@ -1781,6 +1980,12 @@ func (i *buildOptionsPtrType) ToBuildOptionsPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(BuildOptionsPtrOutput) } +func (i *buildOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildOptions] { + return pulumix.Output[*BuildOptions]{ + OutputState: i.ToBuildOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Optional arguments to enable specific features of builds. type BuildOptionsOutput struct{ *pulumi.OutputState } @@ -1806,6 +2011,12 @@ func (o BuildOptionsOutput) ToBuildOptionsPtrOutputWithContext(ctx context.Conte }).(BuildOptionsPtrOutput) } +func (o BuildOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOptions] { + return pulumix.Output[BuildOptions]{ + OutputState: o.OutputState, + } +} + // Optional. Option to specify how default logs buckets are setup. func (o BuildOptionsOutput) DefaultLogsBucketBehavior() BuildOptionsDefaultLogsBucketBehaviorPtrOutput { return o.ApplyT(func(v BuildOptions) *BuildOptionsDefaultLogsBucketBehavior { return v.DefaultLogsBucketBehavior }).(BuildOptionsDefaultLogsBucketBehaviorPtrOutput) @@ -1890,6 +2101,12 @@ func (o BuildOptionsPtrOutput) ToBuildOptionsPtrOutputWithContext(ctx context.Co return o } +func (o BuildOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildOptions] { + return pulumix.Output[*BuildOptions]{ + OutputState: o.OutputState, + } +} + func (o BuildOptionsPtrOutput) Elem() BuildOptionsOutput { return o.ApplyT(func(v *BuildOptions) BuildOptions { if v != nil { @@ -2087,6 +2304,12 @@ func (o BuildOptionsResponseOutput) ToBuildOptionsResponseOutputWithContext(ctx return o } +func (o BuildOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOptionsResponse] { + return pulumix.Output[BuildOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Option to specify how default logs buckets are setup. func (o BuildOptionsResponseOutput) DefaultLogsBucketBehavior() pulumi.StringOutput { return o.ApplyT(func(v BuildOptionsResponse) string { return v.DefaultLogsBucketBehavior }).(pulumi.StringOutput) @@ -2232,6 +2455,12 @@ func (o BuildResponseOutput) ToBuildResponseOutputWithContext(ctx context.Contex return o } +func (o BuildResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildResponse] { + return pulumix.Output[BuildResponse]{ + OutputState: o.OutputState, + } +} + // Describes this build's approval configuration, status, and result. func (o BuildResponseOutput) Approval() BuildApprovalResponseOutput { return o.ApplyT(func(v BuildResponse) BuildApprovalResponse { return v.Approval }).(BuildApprovalResponseOutput) @@ -2455,6 +2684,12 @@ func (i BuildStepArgs) ToBuildStepOutputWithContext(ctx context.Context) BuildSt return pulumi.ToOutputWithContext(ctx, i).(BuildStepOutput) } +func (i BuildStepArgs) ToOutput(ctx context.Context) pulumix.Output[BuildStep] { + return pulumix.Output[BuildStep]{ + OutputState: i.ToBuildStepOutputWithContext(ctx).OutputState, + } +} + // BuildStepArrayInput is an input type that accepts BuildStepArray and BuildStepArrayOutput values. // You can construct a concrete instance of `BuildStepArrayInput` via: // @@ -2480,6 +2715,12 @@ func (i BuildStepArray) ToBuildStepArrayOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BuildStepArrayOutput) } +func (i BuildStepArray) ToOutput(ctx context.Context) pulumix.Output[[]BuildStep] { + return pulumix.Output[[]BuildStep]{ + OutputState: i.ToBuildStepArrayOutputWithContext(ctx).OutputState, + } +} + // A step in the build pipeline. type BuildStepOutput struct{ *pulumi.OutputState } @@ -2495,6 +2736,12 @@ func (o BuildStepOutput) ToBuildStepOutputWithContext(ctx context.Context) Build return o } +func (o BuildStepOutput) ToOutput(ctx context.Context) pulumix.Output[BuildStep] { + return pulumix.Output[BuildStep]{ + OutputState: o.OutputState, + } +} + // Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence. func (o BuildStepOutput) AllowExitCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v BuildStep) []int { return v.AllowExitCodes }).(pulumi.IntArrayOutput) @@ -2574,6 +2821,12 @@ func (o BuildStepArrayOutput) ToBuildStepArrayOutputWithContext(ctx context.Cont return o } +func (o BuildStepArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BuildStep] { + return pulumix.Output[[]BuildStep]{ + OutputState: o.OutputState, + } +} + func (o BuildStepArrayOutput) Index(i pulumi.IntInput) BuildStepOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildStep { return vs[0].([]BuildStep)[vs[1].(int)] @@ -2631,6 +2884,12 @@ func (o BuildStepResponseOutput) ToBuildStepResponseOutputWithContext(ctx contex return o } +func (o BuildStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildStepResponse] { + return pulumix.Output[BuildStepResponse]{ + OutputState: o.OutputState, + } +} + // Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence. func (o BuildStepResponseOutput) AllowExitCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v BuildStepResponse) []int { return v.AllowExitCodes }).(pulumi.IntArrayOutput) @@ -2725,6 +2984,12 @@ func (o BuildStepResponseArrayOutput) ToBuildStepResponseArrayOutputWithContext( return o } +func (o BuildStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BuildStepResponse] { + return pulumix.Output[[]BuildStepResponse]{ + OutputState: o.OutputState, + } +} + func (o BuildStepResponseArrayOutput) Index(i pulumi.IntInput) BuildStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildStepResponse { return vs[0].([]BuildStepResponse)[vs[1].(int)] @@ -2756,6 +3021,12 @@ func (o BuiltImageResponseOutput) ToBuiltImageResponseOutputWithContext(ctx cont return o } +func (o BuiltImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuiltImageResponse] { + return pulumix.Output[BuiltImageResponse]{ + OutputState: o.OutputState, + } +} + // Docker Registry 2.0 digest. func (o BuiltImageResponseOutput) Digest() pulumi.StringOutput { return o.ApplyT(func(v BuiltImageResponse) string { return v.Digest }).(pulumi.StringOutput) @@ -2785,6 +3056,12 @@ func (o BuiltImageResponseArrayOutput) ToBuiltImageResponseArrayOutputWithContex return o } +func (o BuiltImageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BuiltImageResponse] { + return pulumix.Output[[]BuiltImageResponse]{ + OutputState: o.OutputState, + } +} + func (o BuiltImageResponseArrayOutput) Index(i pulumi.IntInput) BuiltImageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuiltImageResponse { return vs[0].([]BuiltImageResponse)[vs[1].(int)] @@ -2814,6 +3091,12 @@ func (o FailureInfoResponseOutput) ToFailureInfoResponseOutputWithContext(ctx co return o } +func (o FailureInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FailureInfoResponse] { + return pulumix.Output[FailureInfoResponse]{ + OutputState: o.OutputState, + } +} + // Explains the failure issue in more detail using hard-coded text. func (o FailureInfoResponseOutput) Detail() pulumi.StringOutput { return o.ApplyT(func(v FailureInfoResponse) string { return v.Detail }).(pulumi.StringOutput) @@ -2845,6 +3128,12 @@ func (o FileHashesResponseOutput) ToFileHashesResponseOutputWithContext(ctx cont return o } +func (o FileHashesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileHashesResponse] { + return pulumix.Output[FileHashesResponse]{ + OutputState: o.OutputState, + } +} + // Collection of file hashes. func (o FileHashesResponseOutput) FileHash() HashResponseArrayOutput { return o.ApplyT(func(v FileHashesResponse) []HashResponse { return v.FileHash }).(HashResponseArrayOutput) @@ -2909,6 +3198,12 @@ func (i GitFileSourceArgs) ToGitFileSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GitFileSourceOutput) } +func (i GitFileSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GitFileSource] { + return pulumix.Output[GitFileSource]{ + OutputState: i.ToGitFileSourceOutputWithContext(ctx).OutputState, + } +} + func (i GitFileSourceArgs) ToGitFileSourcePtrOutput() GitFileSourcePtrOutput { return i.ToGitFileSourcePtrOutputWithContext(context.Background()) } @@ -2950,6 +3245,12 @@ func (i *gitFileSourcePtrType) ToGitFileSourcePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(GitFileSourcePtrOutput) } +func (i *gitFileSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GitFileSource] { + return pulumix.Output[*GitFileSource]{ + OutputState: i.ToGitFileSourcePtrOutputWithContext(ctx).OutputState, + } +} + // GitFileSource describes a file within a (possibly remote) code repository. type GitFileSourceOutput struct{ *pulumi.OutputState } @@ -2975,6 +3276,12 @@ func (o GitFileSourceOutput) ToGitFileSourcePtrOutputWithContext(ctx context.Con }).(GitFileSourcePtrOutput) } +func (o GitFileSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GitFileSource] { + return pulumix.Output[GitFileSource]{ + OutputState: o.OutputState, + } +} + // The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`. func (o GitFileSourceOutput) BitbucketServerConfig() pulumi.StringPtrOutput { return o.ApplyT(func(v GitFileSource) *string { return v.BitbucketServerConfig }).(pulumi.StringPtrOutput) @@ -3024,6 +3331,12 @@ func (o GitFileSourcePtrOutput) ToGitFileSourcePtrOutputWithContext(ctx context. return o } +func (o GitFileSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitFileSource] { + return pulumix.Output[*GitFileSource]{ + OutputState: o.OutputState, + } +} + func (o GitFileSourcePtrOutput) Elem() GitFileSourceOutput { return o.ApplyT(func(v *GitFileSource) GitFileSource { if v != nil { @@ -3137,6 +3450,12 @@ func (o GitFileSourceResponseOutput) ToGitFileSourceResponseOutputWithContext(ct return o } +func (o GitFileSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitFileSourceResponse] { + return pulumix.Output[GitFileSourceResponse]{ + OutputState: o.OutputState, + } +} + // The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`. func (o GitFileSourceResponseOutput) BitbucketServerConfig() pulumi.StringOutput { return o.ApplyT(func(v GitFileSourceResponse) string { return v.BitbucketServerConfig }).(pulumi.StringOutput) @@ -3235,6 +3554,12 @@ func (i GitHubEnterpriseSecretsArgs) ToGitHubEnterpriseSecretsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GitHubEnterpriseSecretsOutput) } +func (i GitHubEnterpriseSecretsArgs) ToOutput(ctx context.Context) pulumix.Output[GitHubEnterpriseSecrets] { + return pulumix.Output[GitHubEnterpriseSecrets]{ + OutputState: i.ToGitHubEnterpriseSecretsOutputWithContext(ctx).OutputState, + } +} + func (i GitHubEnterpriseSecretsArgs) ToGitHubEnterpriseSecretsPtrOutput() GitHubEnterpriseSecretsPtrOutput { return i.ToGitHubEnterpriseSecretsPtrOutputWithContext(context.Background()) } @@ -3276,6 +3601,12 @@ func (i *gitHubEnterpriseSecretsPtrType) ToGitHubEnterpriseSecretsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(GitHubEnterpriseSecretsPtrOutput) } +func (i *gitHubEnterpriseSecretsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GitHubEnterpriseSecrets] { + return pulumix.Output[*GitHubEnterpriseSecrets]{ + OutputState: i.ToGitHubEnterpriseSecretsPtrOutputWithContext(ctx).OutputState, + } +} + // GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. type GitHubEnterpriseSecretsOutput struct{ *pulumi.OutputState } @@ -3301,6 +3632,12 @@ func (o GitHubEnterpriseSecretsOutput) ToGitHubEnterpriseSecretsPtrOutputWithCon }).(GitHubEnterpriseSecretsPtrOutput) } +func (o GitHubEnterpriseSecretsOutput) ToOutput(ctx context.Context) pulumix.Output[GitHubEnterpriseSecrets] { + return pulumix.Output[GitHubEnterpriseSecrets]{ + OutputState: o.OutputState, + } +} + // The resource name for the OAuth client ID secret in Secret Manager. func (o GitHubEnterpriseSecretsOutput) OauthClientIdName() pulumi.StringPtrOutput { return o.ApplyT(func(v GitHubEnterpriseSecrets) *string { return v.OauthClientIdName }).(pulumi.StringPtrOutput) @@ -3355,6 +3692,12 @@ func (o GitHubEnterpriseSecretsPtrOutput) ToGitHubEnterpriseSecretsPtrOutputWith return o } +func (o GitHubEnterpriseSecretsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitHubEnterpriseSecrets] { + return pulumix.Output[*GitHubEnterpriseSecrets]{ + OutputState: o.OutputState, + } +} + func (o GitHubEnterpriseSecretsPtrOutput) Elem() GitHubEnterpriseSecretsOutput { return o.ApplyT(func(v *GitHubEnterpriseSecrets) GitHubEnterpriseSecrets { if v != nil { @@ -3480,6 +3823,12 @@ func (o GitHubEnterpriseSecretsResponseOutput) ToGitHubEnterpriseSecretsResponse return o } +func (o GitHubEnterpriseSecretsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitHubEnterpriseSecretsResponse] { + return pulumix.Output[GitHubEnterpriseSecretsResponse]{ + OutputState: o.OutputState, + } +} + // The resource name for the OAuth client ID secret in Secret Manager. func (o GitHubEnterpriseSecretsResponseOutput) OauthClientIdName() pulumi.StringOutput { return o.ApplyT(func(v GitHubEnterpriseSecretsResponse) string { return v.OauthClientIdName }).(pulumi.StringOutput) @@ -3575,6 +3924,12 @@ func (i GitHubEventsConfigArgs) ToGitHubEventsConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GitHubEventsConfigOutput) } +func (i GitHubEventsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GitHubEventsConfig] { + return pulumix.Output[GitHubEventsConfig]{ + OutputState: i.ToGitHubEventsConfigOutputWithContext(ctx).OutputState, + } +} + func (i GitHubEventsConfigArgs) ToGitHubEventsConfigPtrOutput() GitHubEventsConfigPtrOutput { return i.ToGitHubEventsConfigPtrOutputWithContext(context.Background()) } @@ -3616,6 +3971,12 @@ func (i *gitHubEventsConfigPtrType) ToGitHubEventsConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GitHubEventsConfigPtrOutput) } +func (i *gitHubEventsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GitHubEventsConfig] { + return pulumix.Output[*GitHubEventsConfig]{ + OutputState: i.ToGitHubEventsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. type GitHubEventsConfigOutput struct{ *pulumi.OutputState } @@ -3641,6 +4002,12 @@ func (o GitHubEventsConfigOutput) ToGitHubEventsConfigPtrOutputWithContext(ctx c }).(GitHubEventsConfigPtrOutput) } +func (o GitHubEventsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GitHubEventsConfig] { + return pulumix.Output[GitHubEventsConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" func (o GitHubEventsConfigOutput) EnterpriseConfigResourceName() pulumi.StringPtrOutput { return o.ApplyT(func(v GitHubEventsConfig) *string { return v.EnterpriseConfigResourceName }).(pulumi.StringPtrOutput) @@ -3685,6 +4052,12 @@ func (o GitHubEventsConfigPtrOutput) ToGitHubEventsConfigPtrOutputWithContext(ct return o } +func (o GitHubEventsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitHubEventsConfig] { + return pulumix.Output[*GitHubEventsConfig]{ + OutputState: o.OutputState, + } +} + func (o GitHubEventsConfigPtrOutput) Elem() GitHubEventsConfigOutput { return o.ApplyT(func(v *GitHubEventsConfig) GitHubEventsConfig { if v != nil { @@ -3786,6 +4159,12 @@ func (o GitHubEventsConfigResponseOutput) ToGitHubEventsConfigResponseOutputWith return o } +func (o GitHubEventsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitHubEventsConfigResponse] { + return pulumix.Output[GitHubEventsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" func (o GitHubEventsConfigResponseOutput) EnterpriseConfigResourceName() pulumi.StringOutput { return o.ApplyT(func(v GitHubEventsConfigResponse) string { return v.EnterpriseConfigResourceName }).(pulumi.StringOutput) @@ -3849,6 +4228,12 @@ func (o GitLabConfigResponseOutput) ToGitLabConfigResponseOutputWithContext(ctx return o } +func (o GitLabConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitLabConfigResponse] { + return pulumix.Output[GitLabConfigResponse]{ + OutputState: o.OutputState, + } +} + // Connected GitLab.com or GitLabEnterprise repositories for this config. func (o GitLabConfigResponseOutput) ConnectedRepositories() GitLabRepositoryIdResponseArrayOutput { return o.ApplyT(func(v GitLabConfigResponse) []GitLabRepositoryIdResponse { return v.ConnectedRepositories }).(GitLabRepositoryIdResponseArrayOutput) @@ -3927,6 +4312,12 @@ func (i GitLabEnterpriseConfigArgs) ToGitLabEnterpriseConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GitLabEnterpriseConfigOutput) } +func (i GitLabEnterpriseConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GitLabEnterpriseConfig] { + return pulumix.Output[GitLabEnterpriseConfig]{ + OutputState: i.ToGitLabEnterpriseConfigOutputWithContext(ctx).OutputState, + } +} + func (i GitLabEnterpriseConfigArgs) ToGitLabEnterpriseConfigPtrOutput() GitLabEnterpriseConfigPtrOutput { return i.ToGitLabEnterpriseConfigPtrOutputWithContext(context.Background()) } @@ -3968,6 +4359,12 @@ func (i *gitLabEnterpriseConfigPtrType) ToGitLabEnterpriseConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(GitLabEnterpriseConfigPtrOutput) } +func (i *gitLabEnterpriseConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GitLabEnterpriseConfig] { + return pulumix.Output[*GitLabEnterpriseConfig]{ + OutputState: i.ToGitLabEnterpriseConfigPtrOutputWithContext(ctx).OutputState, + } +} + // GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise integration. type GitLabEnterpriseConfigOutput struct{ *pulumi.OutputState } @@ -3993,6 +4390,12 @@ func (o GitLabEnterpriseConfigOutput) ToGitLabEnterpriseConfigPtrOutputWithConte }).(GitLabEnterpriseConfigPtrOutput) } +func (o GitLabEnterpriseConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GitLabEnterpriseConfig] { + return pulumix.Output[GitLabEnterpriseConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. The URI of the GitlabEnterprise host. func (o GitLabEnterpriseConfigOutput) HostUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GitLabEnterpriseConfig) *string { return v.HostUri }).(pulumi.StringPtrOutput) @@ -4022,6 +4425,12 @@ func (o GitLabEnterpriseConfigPtrOutput) ToGitLabEnterpriseConfigPtrOutputWithCo return o } +func (o GitLabEnterpriseConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitLabEnterpriseConfig] { + return pulumix.Output[*GitLabEnterpriseConfig]{ + OutputState: o.OutputState, + } +} + func (o GitLabEnterpriseConfigPtrOutput) Elem() GitLabEnterpriseConfigOutput { return o.ApplyT(func(v *GitLabEnterpriseConfig) GitLabEnterpriseConfig { if v != nil { @@ -4087,6 +4496,12 @@ func (o GitLabEnterpriseConfigResponseOutput) ToGitLabEnterpriseConfigResponseOu return o } +func (o GitLabEnterpriseConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitLabEnterpriseConfigResponse] { + return pulumix.Output[GitLabEnterpriseConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The URI of the GitlabEnterprise host. func (o GitLabEnterpriseConfigResponseOutput) HostUri() pulumi.StringOutput { return o.ApplyT(func(v GitLabEnterpriseConfigResponse) string { return v.HostUri }).(pulumi.StringOutput) @@ -4149,6 +4564,12 @@ func (i GitLabEventsConfigArgs) ToGitLabEventsConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GitLabEventsConfigOutput) } +func (i GitLabEventsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GitLabEventsConfig] { + return pulumix.Output[GitLabEventsConfig]{ + OutputState: i.ToGitLabEventsConfigOutputWithContext(ctx).OutputState, + } +} + func (i GitLabEventsConfigArgs) ToGitLabEventsConfigPtrOutput() GitLabEventsConfigPtrOutput { return i.ToGitLabEventsConfigPtrOutputWithContext(context.Background()) } @@ -4190,6 +4611,12 @@ func (i *gitLabEventsConfigPtrType) ToGitLabEventsConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GitLabEventsConfigPtrOutput) } +func (i *gitLabEventsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GitLabEventsConfig] { + return pulumix.Output[*GitLabEventsConfig]{ + OutputState: i.ToGitLabEventsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // GitLabEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab event is received. type GitLabEventsConfigOutput struct{ *pulumi.OutputState } @@ -4215,6 +4642,12 @@ func (o GitLabEventsConfigOutput) ToGitLabEventsConfigPtrOutputWithContext(ctx c }).(GitLabEventsConfigPtrOutput) } +func (o GitLabEventsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GitLabEventsConfig] { + return pulumix.Output[GitLabEventsConfig]{ + OutputState: o.OutputState, + } +} + // The GitLab config resource that this trigger config maps to. func (o GitLabEventsConfigOutput) GitlabConfigResource() pulumi.StringPtrOutput { return o.ApplyT(func(v GitLabEventsConfig) *string { return v.GitlabConfigResource }).(pulumi.StringPtrOutput) @@ -4249,6 +4682,12 @@ func (o GitLabEventsConfigPtrOutput) ToGitLabEventsConfigPtrOutputWithContext(ct return o } +func (o GitLabEventsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitLabEventsConfig] { + return pulumix.Output[*GitLabEventsConfig]{ + OutputState: o.OutputState, + } +} + func (o GitLabEventsConfigPtrOutput) Elem() GitLabEventsConfigOutput { return o.ApplyT(func(v *GitLabEventsConfig) GitLabEventsConfig { if v != nil { @@ -4328,6 +4767,12 @@ func (o GitLabEventsConfigResponseOutput) ToGitLabEventsConfigResponseOutputWith return o } +func (o GitLabEventsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitLabEventsConfigResponse] { + return pulumix.Output[GitLabEventsConfigResponse]{ + OutputState: o.OutputState, + } +} + // The GitLabConfig specified in the gitlab_config_resource field. func (o GitLabEventsConfigResponseOutput) GitlabConfig() GitLabConfigResponseOutput { return o.ApplyT(func(v GitLabEventsConfigResponse) GitLabConfigResponse { return v.GitlabConfig }).(GitLabConfigResponseOutput) @@ -4388,6 +4833,12 @@ func (i GitLabRepositoryIdArgs) ToGitLabRepositoryIdOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GitLabRepositoryIdOutput) } +func (i GitLabRepositoryIdArgs) ToOutput(ctx context.Context) pulumix.Output[GitLabRepositoryId] { + return pulumix.Output[GitLabRepositoryId]{ + OutputState: i.ToGitLabRepositoryIdOutputWithContext(ctx).OutputState, + } +} + // GitLabRepositoryIdArrayInput is an input type that accepts GitLabRepositoryIdArray and GitLabRepositoryIdArrayOutput values. // You can construct a concrete instance of `GitLabRepositoryIdArrayInput` via: // @@ -4413,6 +4864,12 @@ func (i GitLabRepositoryIdArray) ToGitLabRepositoryIdArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GitLabRepositoryIdArrayOutput) } +func (i GitLabRepositoryIdArray) ToOutput(ctx context.Context) pulumix.Output[[]GitLabRepositoryId] { + return pulumix.Output[[]GitLabRepositoryId]{ + OutputState: i.ToGitLabRepositoryIdArrayOutputWithContext(ctx).OutputState, + } +} + // GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise type GitLabRepositoryIdOutput struct{ *pulumi.OutputState } @@ -4428,6 +4885,12 @@ func (o GitLabRepositoryIdOutput) ToGitLabRepositoryIdOutputWithContext(ctx cont return o } +func (o GitLabRepositoryIdOutput) ToOutput(ctx context.Context) pulumix.Output[GitLabRepositoryId] { + return pulumix.Output[GitLabRepositoryId]{ + OutputState: o.OutputState, + } +} + // Identifier for the repository. example: "namespace/project-slug", namespace is usually the username or group ID func (o GitLabRepositoryIdOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GitLabRepositoryId) string { return v.Id }).(pulumi.StringOutput) @@ -4447,6 +4910,12 @@ func (o GitLabRepositoryIdArrayOutput) ToGitLabRepositoryIdArrayOutputWithContex return o } +func (o GitLabRepositoryIdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GitLabRepositoryId] { + return pulumix.Output[[]GitLabRepositoryId]{ + OutputState: o.OutputState, + } +} + func (o GitLabRepositoryIdArrayOutput) Index(i pulumi.IntInput) GitLabRepositoryIdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitLabRepositoryId { return vs[0].([]GitLabRepositoryId)[vs[1].(int)] @@ -4474,6 +4943,12 @@ func (o GitLabRepositoryIdResponseOutput) ToGitLabRepositoryIdResponseOutputWith return o } +func (o GitLabRepositoryIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitLabRepositoryIdResponse] { + return pulumix.Output[GitLabRepositoryIdResponse]{ + OutputState: o.OutputState, + } +} + // The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo. func (o GitLabRepositoryIdResponseOutput) WebhookId() pulumi.IntOutput { return o.ApplyT(func(v GitLabRepositoryIdResponse) int { return v.WebhookId }).(pulumi.IntOutput) @@ -4493,6 +4968,12 @@ func (o GitLabRepositoryIdResponseArrayOutput) ToGitLabRepositoryIdResponseArray return o } +func (o GitLabRepositoryIdResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GitLabRepositoryIdResponse] { + return pulumix.Output[[]GitLabRepositoryIdResponse]{ + OutputState: o.OutputState, + } +} + func (o GitLabRepositoryIdResponseArrayOutput) Index(i pulumi.IntInput) GitLabRepositoryIdResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GitLabRepositoryIdResponse { return vs[0].([]GitLabRepositoryIdResponse)[vs[1].(int)] @@ -4546,6 +5027,12 @@ func (i GitLabSecretsArgs) ToGitLabSecretsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GitLabSecretsOutput) } +func (i GitLabSecretsArgs) ToOutput(ctx context.Context) pulumix.Output[GitLabSecrets] { + return pulumix.Output[GitLabSecrets]{ + OutputState: i.ToGitLabSecretsOutputWithContext(ctx).OutputState, + } +} + // GitLabSecrets represents the secrets in Secret Manager for a GitLab integration. type GitLabSecretsOutput struct{ *pulumi.OutputState } @@ -4561,6 +5048,12 @@ func (o GitLabSecretsOutput) ToGitLabSecretsOutputWithContext(ctx context.Contex return o } +func (o GitLabSecretsOutput) ToOutput(ctx context.Context) pulumix.Output[GitLabSecrets] { + return pulumix.Output[GitLabSecrets]{ + OutputState: o.OutputState, + } +} + // The resource name for the api access token’s secret version func (o GitLabSecretsOutput) ApiAccessTokenVersion() pulumi.StringOutput { return o.ApplyT(func(v GitLabSecrets) string { return v.ApiAccessTokenVersion }).(pulumi.StringOutput) @@ -4608,6 +5101,12 @@ func (o GitLabSecretsResponseOutput) ToGitLabSecretsResponseOutputWithContext(ct return o } +func (o GitLabSecretsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitLabSecretsResponse] { + return pulumix.Output[GitLabSecretsResponse]{ + OutputState: o.OutputState, + } +} + // The resource name for the api access token’s secret version func (o GitLabSecretsResponseOutput) ApiAccessTokenVersion() pulumi.StringOutput { return o.ApplyT(func(v GitLabSecretsResponse) string { return v.ApiAccessTokenVersion }).(pulumi.StringOutput) @@ -4683,6 +5182,12 @@ func (i GitRepoSourceArgs) ToGitRepoSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GitRepoSourceOutput) } +func (i GitRepoSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GitRepoSource] { + return pulumix.Output[GitRepoSource]{ + OutputState: i.ToGitRepoSourceOutputWithContext(ctx).OutputState, + } +} + func (i GitRepoSourceArgs) ToGitRepoSourcePtrOutput() GitRepoSourcePtrOutput { return i.ToGitRepoSourcePtrOutputWithContext(context.Background()) } @@ -4724,6 +5229,12 @@ func (i *gitRepoSourcePtrType) ToGitRepoSourcePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(GitRepoSourcePtrOutput) } +func (i *gitRepoSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GitRepoSource] { + return pulumix.Output[*GitRepoSource]{ + OutputState: i.ToGitRepoSourcePtrOutputWithContext(ctx).OutputState, + } +} + // GitRepoSource describes a repo and ref of a code repository. type GitRepoSourceOutput struct{ *pulumi.OutputState } @@ -4749,6 +5260,12 @@ func (o GitRepoSourceOutput) ToGitRepoSourcePtrOutputWithContext(ctx context.Con }).(GitRepoSourcePtrOutput) } +func (o GitRepoSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GitRepoSource] { + return pulumix.Output[GitRepoSource]{ + OutputState: o.OutputState, + } +} + // The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`. func (o GitRepoSourceOutput) BitbucketServerConfig() pulumi.StringPtrOutput { return o.ApplyT(func(v GitRepoSource) *string { return v.BitbucketServerConfig }).(pulumi.StringPtrOutput) @@ -4793,6 +5310,12 @@ func (o GitRepoSourcePtrOutput) ToGitRepoSourcePtrOutputWithContext(ctx context. return o } +func (o GitRepoSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitRepoSource] { + return pulumix.Output[*GitRepoSource]{ + OutputState: o.OutputState, + } +} + func (o GitRepoSourcePtrOutput) Elem() GitRepoSourceOutput { return o.ApplyT(func(v *GitRepoSource) GitRepoSource { if v != nil { @@ -4894,6 +5417,12 @@ func (o GitRepoSourceResponseOutput) ToGitRepoSourceResponseOutputWithContext(ct return o } +func (o GitRepoSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitRepoSourceResponse] { + return pulumix.Output[GitRepoSourceResponse]{ + OutputState: o.OutputState, + } +} + // The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`. func (o GitRepoSourceResponseOutput) BitbucketServerConfig() pulumi.StringOutput { return o.ApplyT(func(v GitRepoSourceResponse) string { return v.BitbucketServerConfig }).(pulumi.StringOutput) @@ -4967,6 +5496,12 @@ func (i GitSourceArgs) ToGitSourceOutputWithContext(ctx context.Context) GitSour return pulumi.ToOutputWithContext(ctx, i).(GitSourceOutput) } +func (i GitSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GitSource] { + return pulumix.Output[GitSource]{ + OutputState: i.ToGitSourceOutputWithContext(ctx).OutputState, + } +} + func (i GitSourceArgs) ToGitSourcePtrOutput() GitSourcePtrOutput { return i.ToGitSourcePtrOutputWithContext(context.Background()) } @@ -5008,6 +5543,12 @@ func (i *gitSourcePtrType) ToGitSourcePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GitSourcePtrOutput) } +func (i *gitSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GitSource] { + return pulumix.Output[*GitSource]{ + OutputState: i.ToGitSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source in any accessible Git repository. type GitSourceOutput struct{ *pulumi.OutputState } @@ -5033,6 +5574,12 @@ func (o GitSourceOutput) ToGitSourcePtrOutputWithContext(ctx context.Context) Gi }).(GitSourcePtrOutput) } +func (o GitSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GitSource] { + return pulumix.Output[GitSource]{ + OutputState: o.OutputState, + } +} + // Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. func (o GitSourceOutput) Dir() pulumi.StringPtrOutput { return o.ApplyT(func(v GitSource) *string { return v.Dir }).(pulumi.StringPtrOutput) @@ -5062,6 +5609,12 @@ func (o GitSourcePtrOutput) ToGitSourcePtrOutputWithContext(ctx context.Context) return o } +func (o GitSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitSource] { + return pulumix.Output[*GitSource]{ + OutputState: o.OutputState, + } +} + func (o GitSourcePtrOutput) Elem() GitSourceOutput { return o.ApplyT(func(v *GitSource) GitSource { if v != nil { @@ -5127,6 +5680,12 @@ func (o GitSourceResponseOutput) ToGitSourceResponseOutputWithContext(ctx contex return o } +func (o GitSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitSourceResponse] { + return pulumix.Output[GitSourceResponse]{ + OutputState: o.OutputState, + } +} + // Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution. func (o GitSourceResponseOutput) Dir() pulumi.StringOutput { return o.ApplyT(func(v GitSourceResponse) string { return v.Dir }).(pulumi.StringOutput) @@ -5165,6 +5724,12 @@ func (o HashResponseOutput) ToHashResponseOutputWithContext(ctx context.Context) return o } +func (o HashResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HashResponse] { + return pulumix.Output[HashResponse]{ + OutputState: o.OutputState, + } +} + // The type of hash that was performed. func (o HashResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v HashResponse) string { return v.Type }).(pulumi.StringOutput) @@ -5189,6 +5754,12 @@ func (o HashResponseArrayOutput) ToHashResponseArrayOutputWithContext(ctx contex return o } +func (o HashResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HashResponse] { + return pulumix.Output[[]HashResponse]{ + OutputState: o.OutputState, + } +} + func (o HashResponseArrayOutput) Index(i pulumi.IntInput) HashResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HashResponse { return vs[0].([]HashResponse)[vs[1].(int)] @@ -5234,6 +5805,12 @@ func (i InlineSecretArgs) ToInlineSecretOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(InlineSecretOutput) } +func (i InlineSecretArgs) ToOutput(ctx context.Context) pulumix.Output[InlineSecret] { + return pulumix.Output[InlineSecret]{ + OutputState: i.ToInlineSecretOutputWithContext(ctx).OutputState, + } +} + // InlineSecretArrayInput is an input type that accepts InlineSecretArray and InlineSecretArrayOutput values. // You can construct a concrete instance of `InlineSecretArrayInput` via: // @@ -5259,6 +5836,12 @@ func (i InlineSecretArray) ToInlineSecretArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(InlineSecretArrayOutput) } +func (i InlineSecretArray) ToOutput(ctx context.Context) pulumix.Output[[]InlineSecret] { + return pulumix.Output[[]InlineSecret]{ + OutputState: i.ToInlineSecretArrayOutputWithContext(ctx).OutputState, + } +} + // Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value. type InlineSecretOutput struct{ *pulumi.OutputState } @@ -5274,6 +5857,12 @@ func (o InlineSecretOutput) ToInlineSecretOutputWithContext(ctx context.Context) return o } +func (o InlineSecretOutput) ToOutput(ctx context.Context) pulumix.Output[InlineSecret] { + return pulumix.Output[InlineSecret]{ + OutputState: o.OutputState, + } +} + // Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets. func (o InlineSecretOutput) EnvMap() pulumi.StringMapOutput { return o.ApplyT(func(v InlineSecret) map[string]string { return v.EnvMap }).(pulumi.StringMapOutput) @@ -5298,6 +5887,12 @@ func (o InlineSecretArrayOutput) ToInlineSecretArrayOutputWithContext(ctx contex return o } +func (o InlineSecretArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InlineSecret] { + return pulumix.Output[[]InlineSecret]{ + OutputState: o.OutputState, + } +} + func (o InlineSecretArrayOutput) Index(i pulumi.IntInput) InlineSecretOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InlineSecret { return vs[0].([]InlineSecret)[vs[1].(int)] @@ -5327,6 +5922,12 @@ func (o InlineSecretResponseOutput) ToInlineSecretResponseOutputWithContext(ctx return o } +func (o InlineSecretResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InlineSecretResponse] { + return pulumix.Output[InlineSecretResponse]{ + OutputState: o.OutputState, + } +} + // Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets. func (o InlineSecretResponseOutput) EnvMap() pulumi.StringMapOutput { return o.ApplyT(func(v InlineSecretResponse) map[string]string { return v.EnvMap }).(pulumi.StringMapOutput) @@ -5351,6 +5952,12 @@ func (o InlineSecretResponseArrayOutput) ToInlineSecretResponseArrayOutputWithCo return o } +func (o InlineSecretResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InlineSecretResponse] { + return pulumix.Output[[]InlineSecretResponse]{ + OutputState: o.OutputState, + } +} + func (o InlineSecretResponseArrayOutput) Index(i pulumi.IntInput) InlineSecretResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InlineSecretResponse { return vs[0].([]InlineSecretResponse)[vs[1].(int)] @@ -5408,6 +6015,12 @@ func (i MavenArtifactArgs) ToMavenArtifactOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MavenArtifactOutput) } +func (i MavenArtifactArgs) ToOutput(ctx context.Context) pulumix.Output[MavenArtifact] { + return pulumix.Output[MavenArtifact]{ + OutputState: i.ToMavenArtifactOutputWithContext(ctx).OutputState, + } +} + // MavenArtifactArrayInput is an input type that accepts MavenArtifactArray and MavenArtifactArrayOutput values. // You can construct a concrete instance of `MavenArtifactArrayInput` via: // @@ -5433,6 +6046,12 @@ func (i MavenArtifactArray) ToMavenArtifactArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MavenArtifactArrayOutput) } +func (i MavenArtifactArray) ToOutput(ctx context.Context) pulumix.Output[[]MavenArtifact] { + return pulumix.Output[[]MavenArtifact]{ + OutputState: i.ToMavenArtifactArrayOutputWithContext(ctx).OutputState, + } +} + // A Maven artifact to upload to Artifact Registry upon successful completion of all build steps. type MavenArtifactOutput struct{ *pulumi.OutputState } @@ -5448,6 +6067,12 @@ func (o MavenArtifactOutput) ToMavenArtifactOutputWithContext(ctx context.Contex return o } +func (o MavenArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[MavenArtifact] { + return pulumix.Output[MavenArtifact]{ + OutputState: o.OutputState, + } +} + // Maven `artifactId` value used when uploading the artifact to Artifact Registry. func (o MavenArtifactOutput) ArtifactId() pulumi.StringPtrOutput { return o.ApplyT(func(v MavenArtifact) *string { return v.ArtifactId }).(pulumi.StringPtrOutput) @@ -5487,6 +6112,12 @@ func (o MavenArtifactArrayOutput) ToMavenArtifactArrayOutputWithContext(ctx cont return o } +func (o MavenArtifactArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MavenArtifact] { + return pulumix.Output[[]MavenArtifact]{ + OutputState: o.OutputState, + } +} + func (o MavenArtifactArrayOutput) Index(i pulumi.IntInput) MavenArtifactOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MavenArtifact { return vs[0].([]MavenArtifact)[vs[1].(int)] @@ -5522,6 +6153,12 @@ func (o MavenArtifactResponseOutput) ToMavenArtifactResponseOutputWithContext(ct return o } +func (o MavenArtifactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MavenArtifactResponse] { + return pulumix.Output[MavenArtifactResponse]{ + OutputState: o.OutputState, + } +} + // Maven `artifactId` value used when uploading the artifact to Artifact Registry. func (o MavenArtifactResponseOutput) ArtifactId() pulumi.StringOutput { return o.ApplyT(func(v MavenArtifactResponse) string { return v.ArtifactId }).(pulumi.StringOutput) @@ -5561,6 +6198,12 @@ func (o MavenArtifactResponseArrayOutput) ToMavenArtifactResponseArrayOutputWith return o } +func (o MavenArtifactResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MavenArtifactResponse] { + return pulumix.Output[[]MavenArtifactResponse]{ + OutputState: o.OutputState, + } +} + func (o MavenArtifactResponseArrayOutput) Index(i pulumi.IntInput) MavenArtifactResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MavenArtifactResponse { return vs[0].([]MavenArtifactResponse)[vs[1].(int)] @@ -5610,6 +6253,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -5651,6 +6300,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the network configuration for the pool. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -5676,6 +6331,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // Option to configure network egress for the workers. func (o NetworkConfigOutput) EgressOption() NetworkConfigEgressOptionPtrOutput { return o.ApplyT(func(v NetworkConfig) *NetworkConfigEgressOption { return v.EgressOption }).(NetworkConfigEgressOptionPtrOutput) @@ -5705,6 +6366,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -5770,6 +6437,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Option to configure network egress for the workers. func (o NetworkConfigResponseOutput) EgressOption() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfigResponse) string { return v.EgressOption }).(pulumi.StringOutput) @@ -5824,6 +6497,12 @@ func (i NpmPackageArgs) ToNpmPackageOutputWithContext(ctx context.Context) NpmPa return pulumi.ToOutputWithContext(ctx, i).(NpmPackageOutput) } +func (i NpmPackageArgs) ToOutput(ctx context.Context) pulumix.Output[NpmPackage] { + return pulumix.Output[NpmPackage]{ + OutputState: i.ToNpmPackageOutputWithContext(ctx).OutputState, + } +} + // NpmPackageArrayInput is an input type that accepts NpmPackageArray and NpmPackageArrayOutput values. // You can construct a concrete instance of `NpmPackageArrayInput` via: // @@ -5849,6 +6528,12 @@ func (i NpmPackageArray) ToNpmPackageArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NpmPackageArrayOutput) } +func (i NpmPackageArray) ToOutput(ctx context.Context) pulumix.Output[[]NpmPackage] { + return pulumix.Output[[]NpmPackage]{ + OutputState: i.ToNpmPackageArrayOutputWithContext(ctx).OutputState, + } +} + // Npm package to upload to Artifact Registry upon successful completion of all build steps. type NpmPackageOutput struct{ *pulumi.OutputState } @@ -5864,6 +6549,12 @@ func (o NpmPackageOutput) ToNpmPackageOutputWithContext(ctx context.Context) Npm return o } +func (o NpmPackageOutput) ToOutput(ctx context.Context) pulumix.Output[NpmPackage] { + return pulumix.Output[NpmPackage]{ + OutputState: o.OutputState, + } +} + // Path to the package.json. e.g. workspace/path/to/package func (o NpmPackageOutput) PackagePath() pulumi.StringPtrOutput { return o.ApplyT(func(v NpmPackage) *string { return v.PackagePath }).(pulumi.StringPtrOutput) @@ -5888,6 +6579,12 @@ func (o NpmPackageArrayOutput) ToNpmPackageArrayOutputWithContext(ctx context.Co return o } +func (o NpmPackageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NpmPackage] { + return pulumix.Output[[]NpmPackage]{ + OutputState: o.OutputState, + } +} + func (o NpmPackageArrayOutput) Index(i pulumi.IntInput) NpmPackageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NpmPackage { return vs[0].([]NpmPackage)[vs[1].(int)] @@ -5917,6 +6614,12 @@ func (o NpmPackageResponseOutput) ToNpmPackageResponseOutputWithContext(ctx cont return o } +func (o NpmPackageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NpmPackageResponse] { + return pulumix.Output[NpmPackageResponse]{ + OutputState: o.OutputState, + } +} + // Path to the package.json. e.g. workspace/path/to/package func (o NpmPackageResponseOutput) PackagePath() pulumi.StringOutput { return o.ApplyT(func(v NpmPackageResponse) string { return v.PackagePath }).(pulumi.StringOutput) @@ -5941,6 +6644,12 @@ func (o NpmPackageResponseArrayOutput) ToNpmPackageResponseArrayOutputWithContex return o } +func (o NpmPackageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NpmPackageResponse] { + return pulumix.Output[[]NpmPackageResponse]{ + OutputState: o.OutputState, + } +} + func (o NpmPackageResponseArrayOutput) Index(i pulumi.IntInput) NpmPackageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NpmPackageResponse { return vs[0].([]NpmPackageResponse)[vs[1].(int)] @@ -5982,6 +6691,12 @@ func (i PoolOptionArgs) ToPoolOptionOutputWithContext(ctx context.Context) PoolO return pulumi.ToOutputWithContext(ctx, i).(PoolOptionOutput) } +func (i PoolOptionArgs) ToOutput(ctx context.Context) pulumix.Output[PoolOption] { + return pulumix.Output[PoolOption]{ + OutputState: i.ToPoolOptionOutputWithContext(ctx).OutputState, + } +} + func (i PoolOptionArgs) ToPoolOptionPtrOutput() PoolOptionPtrOutput { return i.ToPoolOptionPtrOutputWithContext(context.Background()) } @@ -6023,6 +6738,12 @@ func (i *poolOptionPtrType) ToPoolOptionPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PoolOptionPtrOutput) } +func (i *poolOptionPtrType) ToOutput(ctx context.Context) pulumix.Output[*PoolOption] { + return pulumix.Output[*PoolOption]{ + OutputState: i.ToPoolOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. type PoolOptionOutput struct{ *pulumi.OutputState } @@ -6048,6 +6769,12 @@ func (o PoolOptionOutput) ToPoolOptionPtrOutputWithContext(ctx context.Context) }).(PoolOptionPtrOutput) } +func (o PoolOptionOutput) ToOutput(ctx context.Context) pulumix.Output[PoolOption] { + return pulumix.Output[PoolOption]{ + OutputState: o.OutputState, + } +} + // The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} func (o PoolOptionOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v PoolOption) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -6067,6 +6794,12 @@ func (o PoolOptionPtrOutput) ToPoolOptionPtrOutputWithContext(ctx context.Contex return o } +func (o PoolOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PoolOption] { + return pulumix.Output[*PoolOption]{ + OutputState: o.OutputState, + } +} + func (o PoolOptionPtrOutput) Elem() PoolOptionOutput { return o.ApplyT(func(v *PoolOption) PoolOption { if v != nil { @@ -6108,6 +6841,12 @@ func (o PoolOptionResponseOutput) ToPoolOptionResponseOutputWithContext(ctx cont return o } +func (o PoolOptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PoolOptionResponse] { + return pulumix.Output[PoolOptionResponse]{ + OutputState: o.OutputState, + } +} + // The `WorkerPool` resource to execute the build on. You must have `cloudbuild.workerpools.use` on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} func (o PoolOptionResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v PoolOptionResponse) string { return v.Name }).(pulumi.StringOutput) @@ -6152,6 +6891,12 @@ func (i PrivatePoolV1ConfigArgs) ToPrivatePoolV1ConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PrivatePoolV1ConfigOutput) } +func (i PrivatePoolV1ConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PrivatePoolV1Config] { + return pulumix.Output[PrivatePoolV1Config]{ + OutputState: i.ToPrivatePoolV1ConfigOutputWithContext(ctx).OutputState, + } +} + func (i PrivatePoolV1ConfigArgs) ToPrivatePoolV1ConfigPtrOutput() PrivatePoolV1ConfigPtrOutput { return i.ToPrivatePoolV1ConfigPtrOutputWithContext(context.Background()) } @@ -6193,6 +6938,12 @@ func (i *privatePoolV1ConfigPtrType) ToPrivatePoolV1ConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(PrivatePoolV1ConfigPtrOutput) } +func (i *privatePoolV1ConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivatePoolV1Config] { + return pulumix.Output[*PrivatePoolV1Config]{ + OutputState: i.ToPrivatePoolV1ConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a V1 `PrivatePool`. type PrivatePoolV1ConfigOutput struct{ *pulumi.OutputState } @@ -6218,6 +6969,12 @@ func (o PrivatePoolV1ConfigOutput) ToPrivatePoolV1ConfigPtrOutputWithContext(ctx }).(PrivatePoolV1ConfigPtrOutput) } +func (o PrivatePoolV1ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PrivatePoolV1Config] { + return pulumix.Output[PrivatePoolV1Config]{ + OutputState: o.OutputState, + } +} + // Network configuration for the pool. func (o PrivatePoolV1ConfigOutput) NetworkConfig() NetworkConfigPtrOutput { return o.ApplyT(func(v PrivatePoolV1Config) *NetworkConfig { return v.NetworkConfig }).(NetworkConfigPtrOutput) @@ -6242,6 +6999,12 @@ func (o PrivatePoolV1ConfigPtrOutput) ToPrivatePoolV1ConfigPtrOutputWithContext( return o } +func (o PrivatePoolV1ConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivatePoolV1Config] { + return pulumix.Output[*PrivatePoolV1Config]{ + OutputState: o.OutputState, + } +} + func (o PrivatePoolV1ConfigPtrOutput) Elem() PrivatePoolV1ConfigOutput { return o.ApplyT(func(v *PrivatePoolV1Config) PrivatePoolV1Config { if v != nil { @@ -6295,6 +7058,12 @@ func (o PrivatePoolV1ConfigResponseOutput) ToPrivatePoolV1ConfigResponseOutputWi return o } +func (o PrivatePoolV1ConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivatePoolV1ConfigResponse] { + return pulumix.Output[PrivatePoolV1ConfigResponse]{ + OutputState: o.OutputState, + } +} + // Network configuration for the pool. func (o PrivatePoolV1ConfigResponseOutput) NetworkConfig() NetworkConfigResponseOutput { return o.ApplyT(func(v PrivatePoolV1ConfigResponse) NetworkConfigResponse { return v.NetworkConfig }).(NetworkConfigResponseOutput) @@ -6348,6 +7117,12 @@ func (i PubsubConfigArgs) ToPubsubConfigOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PubsubConfigOutput) } +func (i PubsubConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PubsubConfig] { + return pulumix.Output[PubsubConfig]{ + OutputState: i.ToPubsubConfigOutputWithContext(ctx).OutputState, + } +} + func (i PubsubConfigArgs) ToPubsubConfigPtrOutput() PubsubConfigPtrOutput { return i.ToPubsubConfigPtrOutputWithContext(context.Background()) } @@ -6389,6 +7164,12 @@ func (i *pubsubConfigPtrType) ToPubsubConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PubsubConfigPtrOutput) } +func (i *pubsubConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PubsubConfig] { + return pulumix.Output[*PubsubConfig]{ + OutputState: i.ToPubsubConfigPtrOutputWithContext(ctx).OutputState, + } +} + // PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published. type PubsubConfigOutput struct{ *pulumi.OutputState } @@ -6414,6 +7195,12 @@ func (o PubsubConfigOutput) ToPubsubConfigPtrOutputWithContext(ctx context.Conte }).(PubsubConfigPtrOutput) } +func (o PubsubConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubConfig] { + return pulumix.Output[PubsubConfig]{ + OutputState: o.OutputState, + } +} + // Service account that will make the push request. func (o PubsubConfigOutput) ServiceAccountEmail() pulumi.StringPtrOutput { return o.ApplyT(func(v PubsubConfig) *string { return v.ServiceAccountEmail }).(pulumi.StringPtrOutput) @@ -6443,6 +7230,12 @@ func (o PubsubConfigPtrOutput) ToPubsubConfigPtrOutputWithContext(ctx context.Co return o } +func (o PubsubConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PubsubConfig] { + return pulumix.Output[*PubsubConfig]{ + OutputState: o.OutputState, + } +} + func (o PubsubConfigPtrOutput) Elem() PubsubConfigOutput { return o.ApplyT(func(v *PubsubConfig) PubsubConfig { if v != nil { @@ -6510,6 +7303,12 @@ func (o PubsubConfigResponseOutput) ToPubsubConfigResponseOutputWithContext(ctx return o } +func (o PubsubConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubConfigResponse] { + return pulumix.Output[PubsubConfigResponse]{ + OutputState: o.OutputState, + } +} + // Service account that will make the push request. func (o PubsubConfigResponseOutput) ServiceAccountEmail() pulumi.StringOutput { return o.ApplyT(func(v PubsubConfigResponse) string { return v.ServiceAccountEmail }).(pulumi.StringOutput) @@ -6573,6 +7372,12 @@ func (i PullRequestFilterArgs) ToPullRequestFilterOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PullRequestFilterOutput) } +func (i PullRequestFilterArgs) ToOutput(ctx context.Context) pulumix.Output[PullRequestFilter] { + return pulumix.Output[PullRequestFilter]{ + OutputState: i.ToPullRequestFilterOutputWithContext(ctx).OutputState, + } +} + func (i PullRequestFilterArgs) ToPullRequestFilterPtrOutput() PullRequestFilterPtrOutput { return i.ToPullRequestFilterPtrOutputWithContext(context.Background()) } @@ -6614,6 +7419,12 @@ func (i *pullRequestFilterPtrType) ToPullRequestFilterPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PullRequestFilterPtrOutput) } +func (i *pullRequestFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*PullRequestFilter] { + return pulumix.Output[*PullRequestFilter]{ + OutputState: i.ToPullRequestFilterPtrOutputWithContext(ctx).OutputState, + } +} + // PullRequestFilter contains filter properties for matching GitHub Pull Requests. type PullRequestFilterOutput struct{ *pulumi.OutputState } @@ -6639,6 +7450,12 @@ func (o PullRequestFilterOutput) ToPullRequestFilterPtrOutputWithContext(ctx con }).(PullRequestFilterPtrOutput) } +func (o PullRequestFilterOutput) ToOutput(ctx context.Context) pulumix.Output[PullRequestFilter] { + return pulumix.Output[PullRequestFilter]{ + OutputState: o.OutputState, + } +} + // Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o PullRequestFilterOutput) Branch() pulumi.StringPtrOutput { return o.ApplyT(func(v PullRequestFilter) *string { return v.Branch }).(pulumi.StringPtrOutput) @@ -6668,6 +7485,12 @@ func (o PullRequestFilterPtrOutput) ToPullRequestFilterPtrOutputWithContext(ctx return o } +func (o PullRequestFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PullRequestFilter] { + return pulumix.Output[*PullRequestFilter]{ + OutputState: o.OutputState, + } +} + func (o PullRequestFilterPtrOutput) Elem() PullRequestFilterOutput { return o.ApplyT(func(v *PullRequestFilter) PullRequestFilter { if v != nil { @@ -6733,6 +7556,12 @@ func (o PullRequestFilterResponseOutput) ToPullRequestFilterResponseOutputWithCo return o } +func (o PullRequestFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PullRequestFilterResponse] { + return pulumix.Output[PullRequestFilterResponse]{ + OutputState: o.OutputState, + } +} + // Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o PullRequestFilterResponseOutput) Branch() pulumi.StringOutput { return o.ApplyT(func(v PullRequestFilterResponse) string { return v.Branch }).(pulumi.StringOutput) @@ -6791,6 +7620,12 @@ func (i PushFilterArgs) ToPushFilterOutputWithContext(ctx context.Context) PushF return pulumi.ToOutputWithContext(ctx, i).(PushFilterOutput) } +func (i PushFilterArgs) ToOutput(ctx context.Context) pulumix.Output[PushFilter] { + return pulumix.Output[PushFilter]{ + OutputState: i.ToPushFilterOutputWithContext(ctx).OutputState, + } +} + func (i PushFilterArgs) ToPushFilterPtrOutput() PushFilterPtrOutput { return i.ToPushFilterPtrOutputWithContext(context.Background()) } @@ -6832,6 +7667,12 @@ func (i *pushFilterPtrType) ToPushFilterPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PushFilterPtrOutput) } +func (i *pushFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*PushFilter] { + return pulumix.Output[*PushFilter]{ + OutputState: i.ToPushFilterPtrOutputWithContext(ctx).OutputState, + } +} + // Push contains filter properties for matching GitHub git pushes. type PushFilterOutput struct{ *pulumi.OutputState } @@ -6857,6 +7698,12 @@ func (o PushFilterOutput) ToPushFilterPtrOutputWithContext(ctx context.Context) }).(PushFilterPtrOutput) } +func (o PushFilterOutput) ToOutput(ctx context.Context) pulumix.Output[PushFilter] { + return pulumix.Output[PushFilter]{ + OutputState: o.OutputState, + } +} + // Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o PushFilterOutput) Branch() pulumi.StringPtrOutput { return o.ApplyT(func(v PushFilter) *string { return v.Branch }).(pulumi.StringPtrOutput) @@ -6886,6 +7733,12 @@ func (o PushFilterPtrOutput) ToPushFilterPtrOutputWithContext(ctx context.Contex return o } +func (o PushFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PushFilter] { + return pulumix.Output[*PushFilter]{ + OutputState: o.OutputState, + } +} + func (o PushFilterPtrOutput) Elem() PushFilterOutput { return o.ApplyT(func(v *PushFilter) PushFilter { if v != nil { @@ -6951,6 +7804,12 @@ func (o PushFilterResponseOutput) ToPushFilterResponseOutputWithContext(ctx cont return o } +func (o PushFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PushFilterResponse] { + return pulumix.Output[PushFilterResponse]{ + OutputState: o.OutputState, + } +} + // Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o PushFilterResponseOutput) Branch() pulumi.StringOutput { return o.ApplyT(func(v PushFilterResponse) string { return v.Branch }).(pulumi.StringOutput) @@ -7005,6 +7864,12 @@ func (i PythonPackageArgs) ToPythonPackageOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PythonPackageOutput) } +func (i PythonPackageArgs) ToOutput(ctx context.Context) pulumix.Output[PythonPackage] { + return pulumix.Output[PythonPackage]{ + OutputState: i.ToPythonPackageOutputWithContext(ctx).OutputState, + } +} + // PythonPackageArrayInput is an input type that accepts PythonPackageArray and PythonPackageArrayOutput values. // You can construct a concrete instance of `PythonPackageArrayInput` via: // @@ -7030,6 +7895,12 @@ func (i PythonPackageArray) ToPythonPackageArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(PythonPackageArrayOutput) } +func (i PythonPackageArray) ToOutput(ctx context.Context) pulumix.Output[[]PythonPackage] { + return pulumix.Output[[]PythonPackage]{ + OutputState: i.ToPythonPackageArrayOutputWithContext(ctx).OutputState, + } +} + // Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository. type PythonPackageOutput struct{ *pulumi.OutputState } @@ -7045,6 +7916,12 @@ func (o PythonPackageOutput) ToPythonPackageOutputWithContext(ctx context.Contex return o } +func (o PythonPackageOutput) ToOutput(ctx context.Context) pulumix.Output[PythonPackage] { + return pulumix.Output[PythonPackage]{ + OutputState: o.OutputState, + } +} + // Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. func (o PythonPackageOutput) Paths() pulumi.StringArrayOutput { return o.ApplyT(func(v PythonPackage) []string { return v.Paths }).(pulumi.StringArrayOutput) @@ -7069,6 +7946,12 @@ func (o PythonPackageArrayOutput) ToPythonPackageArrayOutputWithContext(ctx cont return o } +func (o PythonPackageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PythonPackage] { + return pulumix.Output[[]PythonPackage]{ + OutputState: o.OutputState, + } +} + func (o PythonPackageArrayOutput) Index(i pulumi.IntInput) PythonPackageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PythonPackage { return vs[0].([]PythonPackage)[vs[1].(int)] @@ -7098,6 +7981,12 @@ func (o PythonPackageResponseOutput) ToPythonPackageResponseOutputWithContext(ct return o } +func (o PythonPackageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PythonPackageResponse] { + return pulumix.Output[PythonPackageResponse]{ + OutputState: o.OutputState, + } +} + // Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. func (o PythonPackageResponseOutput) Paths() pulumi.StringArrayOutput { return o.ApplyT(func(v PythonPackageResponse) []string { return v.Paths }).(pulumi.StringArrayOutput) @@ -7122,6 +8011,12 @@ func (o PythonPackageResponseArrayOutput) ToPythonPackageResponseArrayOutputWith return o } +func (o PythonPackageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PythonPackageResponse] { + return pulumix.Output[[]PythonPackageResponse]{ + OutputState: o.OutputState, + } +} + func (o PythonPackageResponseArrayOutput) Index(i pulumi.IntInput) PythonPackageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PythonPackageResponse { return vs[0].([]PythonPackageResponse)[vs[1].(int)] @@ -7191,6 +8086,12 @@ func (i RepoSourceArgs) ToRepoSourceOutputWithContext(ctx context.Context) RepoS return pulumi.ToOutputWithContext(ctx, i).(RepoSourceOutput) } +func (i RepoSourceArgs) ToOutput(ctx context.Context) pulumix.Output[RepoSource] { + return pulumix.Output[RepoSource]{ + OutputState: i.ToRepoSourceOutputWithContext(ctx).OutputState, + } +} + func (i RepoSourceArgs) ToRepoSourcePtrOutput() RepoSourcePtrOutput { return i.ToRepoSourcePtrOutputWithContext(context.Background()) } @@ -7232,6 +8133,12 @@ func (i *repoSourcePtrType) ToRepoSourcePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RepoSourcePtrOutput) } +func (i *repoSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*RepoSource] { + return pulumix.Output[*RepoSource]{ + OutputState: i.ToRepoSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source in a Google Cloud Source Repository. type RepoSourceOutput struct{ *pulumi.OutputState } @@ -7257,6 +8164,12 @@ func (o RepoSourceOutput) ToRepoSourcePtrOutputWithContext(ctx context.Context) }).(RepoSourcePtrOutput) } +func (o RepoSourceOutput) ToOutput(ctx context.Context) pulumix.Output[RepoSource] { + return pulumix.Output[RepoSource]{ + OutputState: o.OutputState, + } +} + // Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o RepoSourceOutput) BranchName() pulumi.StringPtrOutput { return o.ApplyT(func(v RepoSource) *string { return v.BranchName }).(pulumi.StringPtrOutput) @@ -7311,6 +8224,12 @@ func (o RepoSourcePtrOutput) ToRepoSourcePtrOutputWithContext(ctx context.Contex return o } +func (o RepoSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepoSource] { + return pulumix.Output[*RepoSource]{ + OutputState: o.OutputState, + } +} + func (o RepoSourcePtrOutput) Elem() RepoSourceOutput { return o.ApplyT(func(v *RepoSource) RepoSource { if v != nil { @@ -7436,6 +8355,12 @@ func (o RepoSourceResponseOutput) ToRepoSourceResponseOutputWithContext(ctx cont return o } +func (o RepoSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RepoSourceResponse] { + return pulumix.Output[RepoSourceResponse]{ + OutputState: o.OutputState, + } +} + // Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o RepoSourceResponseOutput) BranchName() pulumi.StringOutput { return o.ApplyT(func(v RepoSourceResponse) string { return v.BranchName }).(pulumi.StringOutput) @@ -7519,6 +8444,12 @@ func (i RepositoryEventConfigArgs) ToRepositoryEventConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RepositoryEventConfigOutput) } +func (i RepositoryEventConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RepositoryEventConfig] { + return pulumix.Output[RepositoryEventConfig]{ + OutputState: i.ToRepositoryEventConfigOutputWithContext(ctx).OutputState, + } +} + func (i RepositoryEventConfigArgs) ToRepositoryEventConfigPtrOutput() RepositoryEventConfigPtrOutput { return i.ToRepositoryEventConfigPtrOutputWithContext(context.Background()) } @@ -7560,6 +8491,12 @@ func (i *repositoryEventConfigPtrType) ToRepositoryEventConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RepositoryEventConfigPtrOutput) } +func (i *repositoryEventConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RepositoryEventConfig] { + return pulumix.Output[*RepositoryEventConfig]{ + OutputState: i.ToRepositoryEventConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration of a trigger that creates a build whenever an event from Repo API is received. type RepositoryEventConfigOutput struct{ *pulumi.OutputState } @@ -7585,6 +8522,12 @@ func (o RepositoryEventConfigOutput) ToRepositoryEventConfigPtrOutputWithContext }).(RepositoryEventConfigPtrOutput) } +func (o RepositoryEventConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RepositoryEventConfig] { + return pulumix.Output[RepositoryEventConfig]{ + OutputState: o.OutputState, + } +} + // Filter to match changes in pull requests. func (o RepositoryEventConfigOutput) PullRequest() PullRequestFilterPtrOutput { return o.ApplyT(func(v RepositoryEventConfig) *PullRequestFilter { return v.PullRequest }).(PullRequestFilterPtrOutput) @@ -7614,6 +8557,12 @@ func (o RepositoryEventConfigPtrOutput) ToRepositoryEventConfigPtrOutputWithCont return o } +func (o RepositoryEventConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryEventConfig] { + return pulumix.Output[*RepositoryEventConfig]{ + OutputState: o.OutputState, + } +} + func (o RepositoryEventConfigPtrOutput) Elem() RepositoryEventConfigOutput { return o.ApplyT(func(v *RepositoryEventConfig) RepositoryEventConfig { if v != nil { @@ -7681,6 +8630,12 @@ func (o RepositoryEventConfigResponseOutput) ToRepositoryEventConfigResponseOutp return o } +func (o RepositoryEventConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RepositoryEventConfigResponse] { + return pulumix.Output[RepositoryEventConfigResponse]{ + OutputState: o.OutputState, + } +} + // Filter to match changes in pull requests. func (o RepositoryEventConfigResponseOutput) PullRequest() PullRequestFilterResponseOutput { return o.ApplyT(func(v RepositoryEventConfigResponse) PullRequestFilterResponse { return v.PullRequest }).(PullRequestFilterResponseOutput) @@ -7738,6 +8693,12 @@ func (o ResultsResponseOutput) ToResultsResponseOutputWithContext(ctx context.Co return o } +func (o ResultsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResultsResponse] { + return pulumix.Output[ResultsResponse]{ + OutputState: o.OutputState, + } +} + // Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage. func (o ResultsResponseOutput) ArtifactManifest() pulumi.StringOutput { return o.ApplyT(func(v ResultsResponse) string { return v.ArtifactManifest }).(pulumi.StringOutput) @@ -7822,6 +8783,12 @@ func (i SecretArgs) ToSecretOutputWithContext(ctx context.Context) SecretOutput return pulumi.ToOutputWithContext(ctx, i).(SecretOutput) } +func (i SecretArgs) ToOutput(ctx context.Context) pulumix.Output[Secret] { + return pulumix.Output[Secret]{ + OutputState: i.ToSecretOutputWithContext(ctx).OutputState, + } +} + // SecretArrayInput is an input type that accepts SecretArray and SecretArrayOutput values. // You can construct a concrete instance of `SecretArrayInput` via: // @@ -7847,6 +8814,12 @@ func (i SecretArray) ToSecretArrayOutputWithContext(ctx context.Context) SecretA return pulumi.ToOutputWithContext(ctx, i).(SecretArrayOutput) } +func (i SecretArray) ToOutput(ctx context.Context) pulumix.Output[[]Secret] { + return pulumix.Output[[]Secret]{ + OutputState: i.ToSecretArrayOutputWithContext(ctx).OutputState, + } +} + // Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use `kmsKeyName` with `available_secrets` instead of using `kmsKeyName` with `secret`. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials. type SecretOutput struct{ *pulumi.OutputState } @@ -7862,6 +8835,12 @@ func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutpu return o } +func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[Secret] { + return pulumix.Output[Secret]{ + OutputState: o.OutputState, + } +} + // Cloud KMS key name to use to decrypt these envs. func (o SecretOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v Secret) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -7886,6 +8865,12 @@ func (o SecretArrayOutput) ToSecretArrayOutputWithContext(ctx context.Context) S return o } +func (o SecretArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Secret] { + return pulumix.Output[[]Secret]{ + OutputState: o.OutputState, + } +} + func (o SecretArrayOutput) Index(i pulumi.IntInput) SecretOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Secret { return vs[0].([]Secret)[vs[1].(int)] @@ -7931,6 +8916,12 @@ func (i SecretManagerSecretArgs) ToSecretManagerSecretOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SecretManagerSecretOutput) } +func (i SecretManagerSecretArgs) ToOutput(ctx context.Context) pulumix.Output[SecretManagerSecret] { + return pulumix.Output[SecretManagerSecret]{ + OutputState: i.ToSecretManagerSecretOutputWithContext(ctx).OutputState, + } +} + // SecretManagerSecretArrayInput is an input type that accepts SecretManagerSecretArray and SecretManagerSecretArrayOutput values. // You can construct a concrete instance of `SecretManagerSecretArrayInput` via: // @@ -7956,6 +8947,12 @@ func (i SecretManagerSecretArray) ToSecretManagerSecretArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SecretManagerSecretArrayOutput) } +func (i SecretManagerSecretArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretManagerSecret] { + return pulumix.Output[[]SecretManagerSecret]{ + OutputState: i.ToSecretManagerSecretArrayOutputWithContext(ctx).OutputState, + } +} + // Pairs a secret environment variable with a SecretVersion in Secret Manager. type SecretManagerSecretOutput struct{ *pulumi.OutputState } @@ -7971,6 +8968,12 @@ func (o SecretManagerSecretOutput) ToSecretManagerSecretOutputWithContext(ctx co return o } +func (o SecretManagerSecretOutput) ToOutput(ctx context.Context) pulumix.Output[SecretManagerSecret] { + return pulumix.Output[SecretManagerSecret]{ + OutputState: o.OutputState, + } +} + // Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. func (o SecretManagerSecretOutput) Env() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretManagerSecret) *string { return v.Env }).(pulumi.StringPtrOutput) @@ -7995,6 +8998,12 @@ func (o SecretManagerSecretArrayOutput) ToSecretManagerSecretArrayOutputWithCont return o } +func (o SecretManagerSecretArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretManagerSecret] { + return pulumix.Output[[]SecretManagerSecret]{ + OutputState: o.OutputState, + } +} + func (o SecretManagerSecretArrayOutput) Index(i pulumi.IntInput) SecretManagerSecretOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretManagerSecret { return vs[0].([]SecretManagerSecret)[vs[1].(int)] @@ -8024,6 +9033,12 @@ func (o SecretManagerSecretResponseOutput) ToSecretManagerSecretResponseOutputWi return o } +func (o SecretManagerSecretResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretManagerSecretResponse] { + return pulumix.Output[SecretManagerSecretResponse]{ + OutputState: o.OutputState, + } +} + // Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. func (o SecretManagerSecretResponseOutput) Env() pulumi.StringOutput { return o.ApplyT(func(v SecretManagerSecretResponse) string { return v.Env }).(pulumi.StringOutput) @@ -8048,6 +9063,12 @@ func (o SecretManagerSecretResponseArrayOutput) ToSecretManagerSecretResponseArr return o } +func (o SecretManagerSecretResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretManagerSecretResponse] { + return pulumix.Output[[]SecretManagerSecretResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretManagerSecretResponseArrayOutput) Index(i pulumi.IntInput) SecretManagerSecretResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretManagerSecretResponse { return vs[0].([]SecretManagerSecretResponse)[vs[1].(int)] @@ -8077,6 +9098,12 @@ func (o SecretResponseOutput) ToSecretResponseOutputWithContext(ctx context.Cont return o } +func (o SecretResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretResponse] { + return pulumix.Output[SecretResponse]{ + OutputState: o.OutputState, + } +} + // Cloud KMS key name to use to decrypt these envs. func (o SecretResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v SecretResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -8101,6 +9128,12 @@ func (o SecretResponseArrayOutput) ToSecretResponseArrayOutputWithContext(ctx co return o } +func (o SecretResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretResponse] { + return pulumix.Output[[]SecretResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretResponseArrayOutput) Index(i pulumi.IntInput) SecretResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretResponse { return vs[0].([]SecretResponse)[vs[1].(int)] @@ -8146,6 +9179,12 @@ func (i SecretsArgs) ToSecretsOutputWithContext(ctx context.Context) SecretsOutp return pulumi.ToOutputWithContext(ctx, i).(SecretsOutput) } +func (i SecretsArgs) ToOutput(ctx context.Context) pulumix.Output[Secrets] { + return pulumix.Output[Secrets]{ + OutputState: i.ToSecretsOutputWithContext(ctx).OutputState, + } +} + func (i SecretsArgs) ToSecretsPtrOutput() SecretsPtrOutput { return i.ToSecretsPtrOutputWithContext(context.Background()) } @@ -8187,6 +9226,12 @@ func (i *secretsPtrType) ToSecretsPtrOutputWithContext(ctx context.Context) Secr return pulumi.ToOutputWithContext(ctx, i).(SecretsPtrOutput) } +func (i *secretsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Secrets] { + return pulumix.Output[*Secrets]{ + OutputState: i.ToSecretsPtrOutputWithContext(ctx).OutputState, + } +} + // Secrets and secret environment variables. type SecretsOutput struct{ *pulumi.OutputState } @@ -8212,6 +9257,12 @@ func (o SecretsOutput) ToSecretsPtrOutputWithContext(ctx context.Context) Secret }).(SecretsPtrOutput) } +func (o SecretsOutput) ToOutput(ctx context.Context) pulumix.Output[Secrets] { + return pulumix.Output[Secrets]{ + OutputState: o.OutputState, + } +} + // Secrets encrypted with KMS key and the associated secret environment variable. func (o SecretsOutput) Inline() InlineSecretArrayOutput { return o.ApplyT(func(v Secrets) []InlineSecret { return v.Inline }).(InlineSecretArrayOutput) @@ -8236,6 +9287,12 @@ func (o SecretsPtrOutput) ToSecretsPtrOutputWithContext(ctx context.Context) Sec return o } +func (o SecretsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Secrets] { + return pulumix.Output[*Secrets]{ + OutputState: o.OutputState, + } +} + func (o SecretsPtrOutput) Elem() SecretsOutput { return o.ApplyT(func(v *Secrets) Secrets { if v != nil { @@ -8289,6 +9346,12 @@ func (o SecretsResponseOutput) ToSecretsResponseOutputWithContext(ctx context.Co return o } +func (o SecretsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsResponse] { + return pulumix.Output[SecretsResponse]{ + OutputState: o.OutputState, + } +} + // Secrets encrypted with KMS key and the associated secret environment variable. func (o SecretsResponseOutput) Inline() InlineSecretResponseArrayOutput { return o.ApplyT(func(v SecretsResponse) []InlineSecretResponse { return v.Inline }).(InlineSecretResponseArrayOutput) @@ -8334,6 +9397,12 @@ func (i ServiceDirectoryConfigArgs) ToServiceDirectoryConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ServiceDirectoryConfigOutput) } +func (i ServiceDirectoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceDirectoryConfig] { + return pulumix.Output[ServiceDirectoryConfig]{ + OutputState: i.ToServiceDirectoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i ServiceDirectoryConfigArgs) ToServiceDirectoryConfigPtrOutput() ServiceDirectoryConfigPtrOutput { return i.ToServiceDirectoryConfigPtrOutputWithContext(context.Background()) } @@ -8375,6 +9444,12 @@ func (i *serviceDirectoryConfigPtrType) ToServiceDirectoryConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ServiceDirectoryConfigPtrOutput) } +func (i *serviceDirectoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceDirectoryConfig] { + return pulumix.Output[*ServiceDirectoryConfig]{ + OutputState: i.ToServiceDirectoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection. type ServiceDirectoryConfigOutput struct{ *pulumi.OutputState } @@ -8400,6 +9475,12 @@ func (o ServiceDirectoryConfigOutput) ToServiceDirectoryConfigPtrOutputWithConte }).(ServiceDirectoryConfigPtrOutput) } +func (o ServiceDirectoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceDirectoryConfig] { + return pulumix.Output[ServiceDirectoryConfig]{ + OutputState: o.OutputState, + } +} + // The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. func (o ServiceDirectoryConfigOutput) Service() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceDirectoryConfig) *string { return v.Service }).(pulumi.StringPtrOutput) @@ -8419,6 +9500,12 @@ func (o ServiceDirectoryConfigPtrOutput) ToServiceDirectoryConfigPtrOutputWithCo return o } +func (o ServiceDirectoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDirectoryConfig] { + return pulumix.Output[*ServiceDirectoryConfig]{ + OutputState: o.OutputState, + } +} + func (o ServiceDirectoryConfigPtrOutput) Elem() ServiceDirectoryConfigOutput { return o.ApplyT(func(v *ServiceDirectoryConfig) ServiceDirectoryConfig { if v != nil { @@ -8460,6 +9547,12 @@ func (o ServiceDirectoryConfigResponseOutput) ToServiceDirectoryConfigResponseOu return o } +func (o ServiceDirectoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceDirectoryConfigResponse] { + return pulumix.Output[ServiceDirectoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. func (o ServiceDirectoryConfigResponseOutput) Service() pulumi.StringOutput { return o.ApplyT(func(v ServiceDirectoryConfigResponse) string { return v.Service }).(pulumi.StringOutput) @@ -8512,6 +9605,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + func (i SourceArgs) ToSourcePtrOutput() SourcePtrOutput { return i.ToSourcePtrOutputWithContext(context.Background()) } @@ -8553,6 +9652,12 @@ func (i *sourcePtrType) ToSourcePtrOutputWithContext(ctx context.Context) Source return pulumi.ToOutputWithContext(ctx, i).(SourcePtrOutput) } +func (i *sourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source in a supported storage service. type SourceOutput struct{ *pulumi.OutputState } @@ -8578,6 +9683,12 @@ func (o SourceOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePt }).(SourcePtrOutput) } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // If provided, get the source from this Git repository. func (o SourceOutput) GitSource() GitSourcePtrOutput { return o.ApplyT(func(v Source) *GitSource { return v.GitSource }).(GitSourcePtrOutput) @@ -8612,6 +9723,12 @@ func (o SourcePtrOutput) ToSourcePtrOutputWithContext(ctx context.Context) Sourc return o } +func (o SourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + func (o SourcePtrOutput) Elem() SourceOutput { return o.ApplyT(func(v *Source) Source { if v != nil { @@ -8689,6 +9806,12 @@ func (o SourceProvenanceResponseOutput) ToSourceProvenanceResponseOutputWithCont return o } +func (o SourceProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceProvenanceResponse] { + return pulumix.Output[SourceProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (`.tar.gz`), the `FileHash` will be for the single path to that file. func (o SourceProvenanceResponseOutput) FileHashes() pulumi.StringMapOutput { return o.ApplyT(func(v SourceProvenanceResponse) map[string]string { return v.FileHashes }).(pulumi.StringMapOutput) @@ -8736,6 +9859,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // If provided, get the source from this Git repository. func (o SourceResponseOutput) GitSource() GitSourceResponseOutput { return o.ApplyT(func(v SourceResponse) GitSourceResponse { return v.GitSource }).(GitSourceResponseOutput) @@ -8799,6 +9928,12 @@ func (i StorageSourceArgs) ToStorageSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(StorageSourceOutput) } +func (i StorageSourceArgs) ToOutput(ctx context.Context) pulumix.Output[StorageSource] { + return pulumix.Output[StorageSource]{ + OutputState: i.ToStorageSourceOutputWithContext(ctx).OutputState, + } +} + func (i StorageSourceArgs) ToStorageSourcePtrOutput() StorageSourcePtrOutput { return i.ToStorageSourcePtrOutputWithContext(context.Background()) } @@ -8840,6 +9975,12 @@ func (i *storageSourcePtrType) ToStorageSourcePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(StorageSourcePtrOutput) } +func (i *storageSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*StorageSource] { + return pulumix.Output[*StorageSource]{ + OutputState: i.ToStorageSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source in an archive file in Google Cloud Storage. type StorageSourceOutput struct{ *pulumi.OutputState } @@ -8865,6 +10006,12 @@ func (o StorageSourceOutput) ToStorageSourcePtrOutputWithContext(ctx context.Con }).(StorageSourcePtrOutput) } +func (o StorageSourceOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSource] { + return pulumix.Output[StorageSource]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v StorageSource) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -8894,6 +10041,12 @@ func (o StorageSourcePtrOutput) ToStorageSourcePtrOutputWithContext(ctx context. return o } +func (o StorageSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StorageSource] { + return pulumix.Output[*StorageSource]{ + OutputState: o.OutputState, + } +} + func (o StorageSourcePtrOutput) Elem() StorageSourceOutput { return o.ApplyT(func(v *StorageSource) StorageSource { if v != nil { @@ -8977,6 +10130,12 @@ func (i StorageSourceManifestArgs) ToStorageSourceManifestOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(StorageSourceManifestOutput) } +func (i StorageSourceManifestArgs) ToOutput(ctx context.Context) pulumix.Output[StorageSourceManifest] { + return pulumix.Output[StorageSourceManifest]{ + OutputState: i.ToStorageSourceManifestOutputWithContext(ctx).OutputState, + } +} + func (i StorageSourceManifestArgs) ToStorageSourceManifestPtrOutput() StorageSourceManifestPtrOutput { return i.ToStorageSourceManifestPtrOutputWithContext(context.Background()) } @@ -9018,6 +10177,12 @@ func (i *storageSourceManifestPtrType) ToStorageSourceManifestPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(StorageSourceManifestPtrOutput) } +func (i *storageSourceManifestPtrType) ToOutput(ctx context.Context) pulumix.Output[*StorageSourceManifest] { + return pulumix.Output[*StorageSourceManifest]{ + OutputState: i.ToStorageSourceManifestPtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher). type StorageSourceManifestOutput struct{ *pulumi.OutputState } @@ -9043,6 +10208,12 @@ func (o StorageSourceManifestOutput) ToStorageSourceManifestPtrOutputWithContext }).(StorageSourceManifestPtrOutput) } +func (o StorageSourceManifestOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSourceManifest] { + return pulumix.Output[StorageSourceManifest]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceManifestOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v StorageSourceManifest) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -9072,6 +10243,12 @@ func (o StorageSourceManifestPtrOutput) ToStorageSourceManifestPtrOutputWithCont return o } +func (o StorageSourceManifestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StorageSourceManifest] { + return pulumix.Output[*StorageSourceManifest]{ + OutputState: o.OutputState, + } +} + func (o StorageSourceManifestPtrOutput) Elem() StorageSourceManifestOutput { return o.ApplyT(func(v *StorageSourceManifest) StorageSourceManifest { if v != nil { @@ -9137,6 +10314,12 @@ func (o StorageSourceManifestResponseOutput) ToStorageSourceManifestResponseOutp return o } +func (o StorageSourceManifestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSourceManifestResponse] { + return pulumix.Output[StorageSourceManifestResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceManifestResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v StorageSourceManifestResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -9177,6 +10360,12 @@ func (o StorageSourceResponseOutput) ToStorageSourceResponseOutputWithContext(ct return o } +func (o StorageSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSourceResponse] { + return pulumix.Output[StorageSourceResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v StorageSourceResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -9215,6 +10404,12 @@ func (o TimeSpanResponseOutput) ToTimeSpanResponseOutputWithContext(ctx context. return o } +func (o TimeSpanResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSpanResponse] { + return pulumix.Output[TimeSpanResponse]{ + OutputState: o.OutputState, + } +} + // End of time span. func (o TimeSpanResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v TimeSpanResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -9250,6 +10445,12 @@ func (o UploadedMavenArtifactResponseOutput) ToUploadedMavenArtifactResponseOutp return o } +func (o UploadedMavenArtifactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UploadedMavenArtifactResponse] { + return pulumix.Output[UploadedMavenArtifactResponse]{ + OutputState: o.OutputState, + } +} + // Hash types and values of the Maven Artifact. func (o UploadedMavenArtifactResponseOutput) FileHashes() FileHashesResponseOutput { return o.ApplyT(func(v UploadedMavenArtifactResponse) FileHashesResponse { return v.FileHashes }).(FileHashesResponseOutput) @@ -9279,6 +10480,12 @@ func (o UploadedMavenArtifactResponseArrayOutput) ToUploadedMavenArtifactRespons return o } +func (o UploadedMavenArtifactResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UploadedMavenArtifactResponse] { + return pulumix.Output[[]UploadedMavenArtifactResponse]{ + OutputState: o.OutputState, + } +} + func (o UploadedMavenArtifactResponseArrayOutput) Index(i pulumi.IntInput) UploadedMavenArtifactResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UploadedMavenArtifactResponse { return vs[0].([]UploadedMavenArtifactResponse)[vs[1].(int)] @@ -9310,6 +10517,12 @@ func (o UploadedNpmPackageResponseOutput) ToUploadedNpmPackageResponseOutputWith return o } +func (o UploadedNpmPackageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UploadedNpmPackageResponse] { + return pulumix.Output[UploadedNpmPackageResponse]{ + OutputState: o.OutputState, + } +} + // Hash types and values of the npm package. func (o UploadedNpmPackageResponseOutput) FileHashes() FileHashesResponseOutput { return o.ApplyT(func(v UploadedNpmPackageResponse) FileHashesResponse { return v.FileHashes }).(FileHashesResponseOutput) @@ -9339,6 +10552,12 @@ func (o UploadedNpmPackageResponseArrayOutput) ToUploadedNpmPackageResponseArray return o } +func (o UploadedNpmPackageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UploadedNpmPackageResponse] { + return pulumix.Output[[]UploadedNpmPackageResponse]{ + OutputState: o.OutputState, + } +} + func (o UploadedNpmPackageResponseArrayOutput) Index(i pulumi.IntInput) UploadedNpmPackageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UploadedNpmPackageResponse { return vs[0].([]UploadedNpmPackageResponse)[vs[1].(int)] @@ -9370,6 +10589,12 @@ func (o UploadedPythonPackageResponseOutput) ToUploadedPythonPackageResponseOutp return o } +func (o UploadedPythonPackageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UploadedPythonPackageResponse] { + return pulumix.Output[UploadedPythonPackageResponse]{ + OutputState: o.OutputState, + } +} + // Hash types and values of the Python Artifact. func (o UploadedPythonPackageResponseOutput) FileHashes() FileHashesResponseOutput { return o.ApplyT(func(v UploadedPythonPackageResponse) FileHashesResponse { return v.FileHashes }).(FileHashesResponseOutput) @@ -9399,6 +10624,12 @@ func (o UploadedPythonPackageResponseArrayOutput) ToUploadedPythonPackageRespons return o } +func (o UploadedPythonPackageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UploadedPythonPackageResponse] { + return pulumix.Output[[]UploadedPythonPackageResponse]{ + OutputState: o.OutputState, + } +} + func (o UploadedPythonPackageResponseArrayOutput) Index(i pulumi.IntInput) UploadedPythonPackageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UploadedPythonPackageResponse { return vs[0].([]UploadedPythonPackageResponse)[vs[1].(int)] @@ -9444,6 +10675,12 @@ func (i VolumeArgs) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput return pulumi.ToOutputWithContext(ctx, i).(VolumeOutput) } +func (i VolumeArgs) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: i.ToVolumeOutputWithContext(ctx).OutputState, + } +} + // VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. // You can construct a concrete instance of `VolumeArrayInput` via: // @@ -9469,6 +10706,12 @@ func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeA return pulumi.ToOutputWithContext(ctx, i).(VolumeArrayOutput) } +func (i VolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: i.ToVolumeArrayOutputWithContext(ctx).OutputState, + } +} + // Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution. type VolumeOutput struct{ *pulumi.OutputState } @@ -9484,6 +10727,12 @@ func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutpu return o } +func (o VolumeOutput) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: o.OutputState, + } +} + // Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps. func (o VolumeOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Volume) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -9508,6 +10757,12 @@ func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) V return o } +func (o VolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: o.OutputState, + } +} + func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Volume { return vs[0].([]Volume)[vs[1].(int)] @@ -9537,6 +10792,12 @@ func (o VolumeResponseOutput) ToVolumeResponseOutputWithContext(ctx context.Cont return o } +func (o VolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeResponse] { + return pulumix.Output[VolumeResponse]{ + OutputState: o.OutputState, + } +} + // Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps. func (o VolumeResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v VolumeResponse) string { return v.Name }).(pulumi.StringOutput) @@ -9561,6 +10822,12 @@ func (o VolumeResponseArrayOutput) ToVolumeResponseArrayOutputWithContext(ctx co return o } +func (o VolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VolumeResponse] { + return pulumix.Output[[]VolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o VolumeResponseArrayOutput) Index(i pulumi.IntInput) VolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeResponse { return vs[0].([]VolumeResponse)[vs[1].(int)] @@ -9590,6 +10857,12 @@ func (o WarningResponseOutput) ToWarningResponseOutputWithContext(ctx context.Co return o } +func (o WarningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WarningResponse] { + return pulumix.Output[WarningResponse]{ + OutputState: o.OutputState, + } +} + // The priority for this warning. func (o WarningResponseOutput) Priority() pulumi.StringOutput { return o.ApplyT(func(v WarningResponse) string { return v.Priority }).(pulumi.StringOutput) @@ -9614,6 +10887,12 @@ func (o WarningResponseArrayOutput) ToWarningResponseArrayOutputWithContext(ctx return o } +func (o WarningResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WarningResponse] { + return pulumix.Output[[]WarningResponse]{ + OutputState: o.OutputState, + } +} + func (o WarningResponseArrayOutput) Index(i pulumi.IntInput) WarningResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WarningResponse { return vs[0].([]WarningResponse)[vs[1].(int)] @@ -9659,6 +10938,12 @@ func (i WebhookConfigArgs) ToWebhookConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(WebhookConfigOutput) } +func (i WebhookConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WebhookConfig] { + return pulumix.Output[WebhookConfig]{ + OutputState: i.ToWebhookConfigOutputWithContext(ctx).OutputState, + } +} + func (i WebhookConfigArgs) ToWebhookConfigPtrOutput() WebhookConfigPtrOutput { return i.ToWebhookConfigPtrOutputWithContext(context.Background()) } @@ -9700,6 +10985,12 @@ func (i *webhookConfigPtrType) ToWebhookConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(WebhookConfigPtrOutput) } +func (i *webhookConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WebhookConfig] { + return pulumix.Output[*WebhookConfig]{ + OutputState: i.ToWebhookConfigPtrOutputWithContext(ctx).OutputState, + } +} + // WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL. type WebhookConfigOutput struct{ *pulumi.OutputState } @@ -9725,6 +11016,12 @@ func (o WebhookConfigOutput) ToWebhookConfigPtrOutputWithContext(ctx context.Con }).(WebhookConfigPtrOutput) } +func (o WebhookConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WebhookConfig] { + return pulumix.Output[WebhookConfig]{ + OutputState: o.OutputState, + } +} + // Resource name for the secret required as a URL parameter. func (o WebhookConfigOutput) Secret() pulumi.StringOutput { return o.ApplyT(func(v WebhookConfig) string { return v.Secret }).(pulumi.StringOutput) @@ -9749,6 +11046,12 @@ func (o WebhookConfigPtrOutput) ToWebhookConfigPtrOutputWithContext(ctx context. return o } +func (o WebhookConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WebhookConfig] { + return pulumix.Output[*WebhookConfig]{ + OutputState: o.OutputState, + } +} + func (o WebhookConfigPtrOutput) Elem() WebhookConfigOutput { return o.ApplyT(func(v *WebhookConfig) WebhookConfig { if v != nil { @@ -9802,6 +11105,12 @@ func (o WebhookConfigResponseOutput) ToWebhookConfigResponseOutputWithContext(ct return o } +func (o WebhookConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WebhookConfigResponse] { + return pulumix.Output[WebhookConfigResponse]{ + OutputState: o.OutputState, + } +} + // Resource name for the secret required as a URL parameter. func (o WebhookConfigResponseOutput) Secret() pulumi.StringOutput { return o.ApplyT(func(v WebhookConfigResponse) string { return v.Secret }).(pulumi.StringOutput) @@ -9851,6 +11160,12 @@ func (i WorkerConfigArgs) ToWorkerConfigOutputWithContext(ctx context.Context) W return pulumi.ToOutputWithContext(ctx, i).(WorkerConfigOutput) } +func (i WorkerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkerConfig] { + return pulumix.Output[WorkerConfig]{ + OutputState: i.ToWorkerConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkerConfigArgs) ToWorkerConfigPtrOutput() WorkerConfigPtrOutput { return i.ToWorkerConfigPtrOutputWithContext(context.Background()) } @@ -9892,6 +11207,12 @@ func (i *workerConfigPtrType) ToWorkerConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(WorkerConfigPtrOutput) } +func (i *workerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkerConfig] { + return pulumix.Output[*WorkerConfig]{ + OutputState: i.ToWorkerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the configuration to be used for creating workers in the pool. type WorkerConfigOutput struct{ *pulumi.OutputState } @@ -9917,6 +11238,12 @@ func (o WorkerConfigOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Conte }).(WorkerConfigPtrOutput) } +func (o WorkerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerConfig] { + return pulumix.Output[WorkerConfig]{ + OutputState: o.OutputState, + } +} + // Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). Specify a value of up to 2000. If `0` is specified, Cloud Build will use a standard disk size. func (o WorkerConfigOutput) DiskSizeGb() pulumi.StringPtrOutput { return o.ApplyT(func(v WorkerConfig) *string { return v.DiskSizeGb }).(pulumi.StringPtrOutput) @@ -9941,6 +11268,12 @@ func (o WorkerConfigPtrOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Co return o } +func (o WorkerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerConfig] { + return pulumix.Output[*WorkerConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkerConfigPtrOutput) Elem() WorkerConfigOutput { return o.ApplyT(func(v *WorkerConfig) WorkerConfig { if v != nil { @@ -9994,6 +11327,12 @@ func (o WorkerConfigResponseOutput) ToWorkerConfigResponseOutputWithContext(ctx return o } +func (o WorkerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerConfigResponse] { + return pulumix.Output[WorkerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). Specify a value of up to 2000. If `0` is specified, Cloud Build will use a standard disk size. func (o WorkerConfigResponseOutput) DiskSizeGb() pulumi.StringOutput { return o.ApplyT(func(v WorkerConfigResponse) string { return v.DiskSizeGb }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1/trigger.go b/sdk/go/google/cloudbuild/v1/trigger.go index dd48bdf92d..b6e8737749 100644 --- a/sdk/go/google/cloudbuild/v1/trigger.go +++ b/sdk/go/google/cloudbuild/v1/trigger.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new `BuildTrigger`. This API is experimental. @@ -260,6 +261,12 @@ func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput return pulumi.ToOutputWithContext(ctx, i).(TriggerOutput) } +func (i *Trigger) ToOutput(ctx context.Context) pulumix.Output[*Trigger] { + return pulumix.Output[*Trigger]{ + OutputState: i.ToTriggerOutputWithContext(ctx).OutputState, + } +} + type TriggerOutput struct{ *pulumi.OutputState } func (TriggerOutput) ElementType() reflect.Type { @@ -274,6 +281,12 @@ func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOu return o } +func (o TriggerOutput) ToOutput(ctx context.Context) pulumix.Output[*Trigger] { + return pulumix.Output[*Trigger]{ + OutputState: o.OutputState, + } +} + // Configuration for manual approval to start a build invocation of this BuildTrigger. func (o TriggerOutput) ApprovalConfig() ApprovalConfigResponseOutput { return o.ApplyT(func(v *Trigger) ApprovalConfigResponseOutput { return v.ApprovalConfig }).(ApprovalConfigResponseOutput) diff --git a/sdk/go/google/cloudbuild/v1/workerPool.go b/sdk/go/google/cloudbuild/v1/workerPool.go index 84b6674b2e..258d1e4196 100644 --- a/sdk/go/google/cloudbuild/v1/workerPool.go +++ b/sdk/go/google/cloudbuild/v1/workerPool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a `WorkerPool`. @@ -141,6 +142,12 @@ func (i *WorkerPool) ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPo return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolOutput) } +func (i *WorkerPool) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { + return pulumix.Output[*WorkerPool]{ + OutputState: i.ToWorkerPoolOutputWithContext(ctx).OutputState, + } +} + type WorkerPoolOutput struct{ *pulumi.OutputState } func (WorkerPoolOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o WorkerPoolOutput) ToWorkerPoolOutputWithContext(ctx context.Context) Wor return o } +func (o WorkerPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { + return pulumix.Output[*WorkerPool]{ + OutputState: o.OutputState, + } +} + // User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. func (o WorkerPoolOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *WorkerPool) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/cloudbuild/v1alpha1/getWorkerPool.go b/sdk/go/google/cloudbuild/v1alpha1/getWorkerPool.go index a30abdb66c..978009375e 100644 --- a/sdk/go/google/cloudbuild/v1alpha1/getWorkerPool.go +++ b/sdk/go/google/cloudbuild/v1alpha1/getWorkerPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns information about a `WorkerPool`. @@ -86,6 +87,12 @@ func (o LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutputWithContext( return o } +func (o LookupWorkerPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkerPoolResult] { + return pulumix.Output[LookupWorkerPoolResult]{ + OutputState: o.OutputState, + } +} + // Time at which the request to create the `WorkerPool` was received. func (o LookupWorkerPoolResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkerPoolResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1alpha1/pulumiEnums.go b/sdk/go/google/cloudbuild/v1alpha1/pulumiEnums.go index a8ba007f27..c552d06741 100644 --- a/sdk/go/google/cloudbuild/v1alpha1/pulumiEnums.go +++ b/sdk/go/google/cloudbuild/v1alpha1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type WorkerPoolRegionsItem string @@ -85,6 +86,12 @@ func (o WorkerPoolRegionsItemOutput) ToWorkerPoolRegionsItemPtrOutputWithContext }).(WorkerPoolRegionsItemPtrOutput) } +func (o WorkerPoolRegionsItemOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerPoolRegionsItem] { + return pulumix.Output[WorkerPoolRegionsItem]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolRegionsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -120,6 +127,12 @@ func (o WorkerPoolRegionsItemPtrOutput) ToWorkerPoolRegionsItemPtrOutputWithCont return o } +func (o WorkerPoolRegionsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerPoolRegionsItem] { + return pulumix.Output[*WorkerPoolRegionsItem]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolRegionsItemPtrOutput) Elem() WorkerPoolRegionsItemOutput { return o.ApplyT(func(v *WorkerPoolRegionsItem) WorkerPoolRegionsItem { if v != nil { @@ -182,6 +195,12 @@ func (in *workerPoolRegionsItemPtr) ToWorkerPoolRegionsItemPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(WorkerPoolRegionsItemPtrOutput) } +func (in *workerPoolRegionsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*WorkerPoolRegionsItem] { + return pulumix.Output[*WorkerPoolRegionsItem]{ + OutputState: in.ToWorkerPoolRegionsItemPtrOutputWithContext(ctx).OutputState, + } +} + // WorkerPoolRegionsItemArrayInput is an input type that accepts WorkerPoolRegionsItemArray and WorkerPoolRegionsItemArrayOutput values. // You can construct a concrete instance of `WorkerPoolRegionsItemArrayInput` via: // @@ -207,6 +226,12 @@ func (i WorkerPoolRegionsItemArray) ToWorkerPoolRegionsItemArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolRegionsItemArrayOutput) } +func (i WorkerPoolRegionsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]WorkerPoolRegionsItem] { + return pulumix.Output[[]WorkerPoolRegionsItem]{ + OutputState: i.ToWorkerPoolRegionsItemArrayOutputWithContext(ctx).OutputState, + } +} + type WorkerPoolRegionsItemArrayOutput struct{ *pulumi.OutputState } func (WorkerPoolRegionsItemArrayOutput) ElementType() reflect.Type { @@ -221,6 +246,12 @@ func (o WorkerPoolRegionsItemArrayOutput) ToWorkerPoolRegionsItemArrayOutputWith return o } +func (o WorkerPoolRegionsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WorkerPoolRegionsItem] { + return pulumix.Output[[]WorkerPoolRegionsItem]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolRegionsItemArrayOutput) Index(i pulumi.IntInput) WorkerPoolRegionsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WorkerPoolRegionsItem { return vs[0].([]WorkerPoolRegionsItem)[vs[1].(int)] diff --git a/sdk/go/google/cloudbuild/v1alpha1/pulumiTypes.go b/sdk/go/google/cloudbuild/v1alpha1/pulumiTypes.go index 24ffdee0b6..fdf6f33ad6 100644 --- a/sdk/go/google/cloudbuild/v1alpha1/pulumiTypes.go +++ b/sdk/go/google/cloudbuild/v1alpha1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i NetworkArgs) ToNetworkOutputWithContext(ctx context.Context) NetworkOutp return pulumi.ToOutputWithContext(ctx, i).(NetworkOutput) } +func (i NetworkArgs) ToOutput(ctx context.Context) pulumix.Output[Network] { + return pulumix.Output[Network]{ + OutputState: i.ToNetworkOutputWithContext(ctx).OutputState, + } +} + func (i NetworkArgs) ToNetworkPtrOutput() NetworkPtrOutput { return i.ToNetworkPtrOutputWithContext(context.Background()) } @@ -97,6 +104,12 @@ func (i *networkPtrType) ToNetworkPtrOutputWithContext(ctx context.Context) Netw return pulumi.ToOutputWithContext(ctx, i).(NetworkPtrOutput) } +func (i *networkPtrType) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: i.ToNetworkPtrOutputWithContext(ctx).OutputState, + } +} + // Network describes the GCP network used to create workers in. type NetworkOutput struct{ *pulumi.OutputState } @@ -122,6 +135,12 @@ func (o NetworkOutput) ToNetworkPtrOutputWithContext(ctx context.Context) Networ }).(NetworkPtrOutput) } +func (o NetworkOutput) ToOutput(ctx context.Context) pulumix.Output[Network] { + return pulumix.Output[Network]{ + OutputState: o.OutputState, + } +} + // Network on which the workers are created. "default" network is used if empty. func (o NetworkOutput) Network() pulumi.StringPtrOutput { return o.ApplyT(func(v Network) *string { return v.Network }).(pulumi.StringPtrOutput) @@ -151,6 +170,12 @@ func (o NetworkPtrOutput) ToNetworkPtrOutputWithContext(ctx context.Context) Net return o } +func (o NetworkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: o.OutputState, + } +} + func (o NetworkPtrOutput) Elem() NetworkOutput { return o.ApplyT(func(v *Network) Network { if v != nil { @@ -216,6 +241,12 @@ func (o NetworkResponseOutput) ToNetworkResponseOutputWithContext(ctx context.Co return o } +func (o NetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkResponse] { + return pulumix.Output[NetworkResponse]{ + OutputState: o.OutputState, + } +} + // Network on which the workers are created. "default" network is used if empty. func (o NetworkResponseOutput) Network() pulumi.StringOutput { return o.ApplyT(func(v NetworkResponse) string { return v.Network }).(pulumi.StringOutput) @@ -278,6 +309,12 @@ func (i WorkerConfigArgs) ToWorkerConfigOutputWithContext(ctx context.Context) W return pulumi.ToOutputWithContext(ctx, i).(WorkerConfigOutput) } +func (i WorkerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkerConfig] { + return pulumix.Output[WorkerConfig]{ + OutputState: i.ToWorkerConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkerConfigArgs) ToWorkerConfigPtrOutput() WorkerConfigPtrOutput { return i.ToWorkerConfigPtrOutputWithContext(context.Background()) } @@ -319,6 +356,12 @@ func (i *workerConfigPtrType) ToWorkerConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(WorkerConfigPtrOutput) } +func (i *workerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkerConfig] { + return pulumix.Output[*WorkerConfig]{ + OutputState: i.ToWorkerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // WorkerConfig defines the configuration to be used for a creating workers in the pool. type WorkerConfigOutput struct{ *pulumi.OutputState } @@ -344,6 +387,12 @@ func (o WorkerConfigOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Conte }).(WorkerConfigPtrOutput) } +func (o WorkerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerConfig] { + return pulumix.Output[WorkerConfig]{ + OutputState: o.OutputState, + } +} + // Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If `0` is specified, Cloud Build will use a standard disk size. `disk_size` is overridden if you specify a different disk size in `build_options`. In this case, a VM with a disk size specified in the `build_options` will be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions func (o WorkerConfigOutput) DiskSizeGb() pulumi.StringPtrOutput { return o.ApplyT(func(v WorkerConfig) *string { return v.DiskSizeGb }).(pulumi.StringPtrOutput) @@ -378,6 +427,12 @@ func (o WorkerConfigPtrOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Co return o } +func (o WorkerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerConfig] { + return pulumix.Output[*WorkerConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkerConfigPtrOutput) Elem() WorkerConfigOutput { return o.ApplyT(func(v *WorkerConfig) WorkerConfig { if v != nil { @@ -455,6 +510,12 @@ func (o WorkerConfigResponseOutput) ToWorkerConfigResponseOutputWithContext(ctx return o } +func (o WorkerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerConfigResponse] { + return pulumix.Output[WorkerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If `0` is specified, Cloud Build will use a standard disk size. `disk_size` is overridden if you specify a different disk size in `build_options`. In this case, a VM with a disk size specified in the `build_options` will be created on demand at build time. For more information see https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions func (o WorkerConfigResponseOutput) DiskSizeGb() pulumi.StringOutput { return o.ApplyT(func(v WorkerConfigResponse) string { return v.DiskSizeGb }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1alpha1/workerPool.go b/sdk/go/google/cloudbuild/v1alpha1/workerPool.go index 9f73598c8a..c93ea29815 100644 --- a/sdk/go/google/cloudbuild/v1alpha1/workerPool.go +++ b/sdk/go/google/cloudbuild/v1alpha1/workerPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a `WorkerPool` to run the builds, and returns the new worker pool. @@ -129,6 +130,12 @@ func (i *WorkerPool) ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPo return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolOutput) } +func (i *WorkerPool) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { + return pulumix.Output[*WorkerPool]{ + OutputState: i.ToWorkerPoolOutputWithContext(ctx).OutputState, + } +} + type WorkerPoolOutput struct{ *pulumi.OutputState } func (WorkerPoolOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o WorkerPoolOutput) ToWorkerPoolOutputWithContext(ctx context.Context) Wor return o } +func (o WorkerPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { + return pulumix.Output[*WorkerPool]{ + OutputState: o.OutputState, + } +} + // Time at which the request to create the `WorkerPool` was received. func (o WorkerPoolOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *WorkerPool) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1alpha2/getWorkerPool.go b/sdk/go/google/cloudbuild/v1alpha2/getWorkerPool.go index 03d475cc52..18f43ae6ac 100644 --- a/sdk/go/google/cloudbuild/v1alpha2/getWorkerPool.go +++ b/sdk/go/google/cloudbuild/v1alpha2/getWorkerPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns details of a `WorkerPool`. @@ -82,6 +83,12 @@ func (o LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutputWithContext( return o } +func (o LookupWorkerPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkerPoolResult] { + return pulumix.Output[LookupWorkerPoolResult]{ + OutputState: o.OutputState, + } +} + // Time at which the request to create the `WorkerPool` was received. func (o LookupWorkerPoolResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkerPoolResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1alpha2/pulumiTypes.go b/sdk/go/google/cloudbuild/v1alpha2/pulumiTypes.go index b8bd7b7507..766b2c2f15 100644 --- a/sdk/go/google/cloudbuild/v1alpha2/pulumiTypes.go +++ b/sdk/go/google/cloudbuild/v1alpha2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Network describes the network configuration for a `WorkerPool`. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the default network. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number, such as `12345`, and {network} is the name of a VPC network in the project. func (o NetworkConfigOutput) PeeredNetwork() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfig) string { return v.PeeredNetwork }).(pulumi.StringOutput) @@ -133,6 +152,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -174,6 +199,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the default network. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number, such as `12345`, and {network} is the name of a VPC network in the project. func (o NetworkConfigResponseOutput) PeeredNetwork() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfigResponse) string { return v.PeeredNetwork }).(pulumi.StringOutput) @@ -218,6 +249,12 @@ func (i WorkerConfigArgs) ToWorkerConfigOutputWithContext(ctx context.Context) W return pulumi.ToOutputWithContext(ctx, i).(WorkerConfigOutput) } +func (i WorkerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkerConfig] { + return pulumix.Output[WorkerConfig]{ + OutputState: i.ToWorkerConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkerConfigArgs) ToWorkerConfigPtrOutput() WorkerConfigPtrOutput { return i.ToWorkerConfigPtrOutputWithContext(context.Background()) } @@ -259,6 +296,12 @@ func (i *workerConfigPtrType) ToWorkerConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(WorkerConfigPtrOutput) } +func (i *workerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkerConfig] { + return pulumix.Output[*WorkerConfig]{ + OutputState: i.ToWorkerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // WorkerConfig defines the configuration to be used for a creating workers in the pool. type WorkerConfigOutput struct{ *pulumi.OutputState } @@ -284,6 +327,12 @@ func (o WorkerConfigOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Conte }).(WorkerConfigPtrOutput) } +func (o WorkerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerConfig] { + return pulumix.Output[WorkerConfig]{ + OutputState: o.OutputState, + } +} + // Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If `0` is specified, Cloud Build will use a standard disk size. func (o WorkerConfigOutput) DiskSizeGb() pulumi.StringPtrOutput { return o.ApplyT(func(v WorkerConfig) *string { return v.DiskSizeGb }).(pulumi.StringPtrOutput) @@ -308,6 +357,12 @@ func (o WorkerConfigPtrOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Co return o } +func (o WorkerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerConfig] { + return pulumix.Output[*WorkerConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkerConfigPtrOutput) Elem() WorkerConfigOutput { return o.ApplyT(func(v *WorkerConfig) WorkerConfig { if v != nil { @@ -361,6 +416,12 @@ func (o WorkerConfigResponseOutput) ToWorkerConfigResponseOutputWithContext(ctx return o } +func (o WorkerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerConfigResponse] { + return pulumix.Output[WorkerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ If `0` is specified, Cloud Build will use a standard disk size. func (o WorkerConfigResponseOutput) DiskSizeGb() pulumi.StringOutput { return o.ApplyT(func(v WorkerConfigResponse) string { return v.DiskSizeGb }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1alpha2/workerPool.go b/sdk/go/google/cloudbuild/v1alpha2/workerPool.go index 3454d89cba..d0a9140485 100644 --- a/sdk/go/google/cloudbuild/v1alpha2/workerPool.go +++ b/sdk/go/google/cloudbuild/v1alpha2/workerPool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a `WorkerPool` to run the builds, and returns the new worker pool. @@ -136,6 +137,12 @@ func (i *WorkerPool) ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPo return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolOutput) } +func (i *WorkerPool) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { + return pulumix.Output[*WorkerPool]{ + OutputState: i.ToWorkerPoolOutputWithContext(ctx).OutputState, + } +} + type WorkerPoolOutput struct{ *pulumi.OutputState } func (WorkerPoolOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o WorkerPoolOutput) ToWorkerPoolOutputWithContext(ctx context.Context) Wor return o } +func (o WorkerPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { + return pulumix.Output[*WorkerPool]{ + OutputState: o.OutputState, + } +} + // Time at which the request to create the `WorkerPool` was received. func (o WorkerPoolOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *WorkerPool) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1beta1/getWorkerPool.go b/sdk/go/google/cloudbuild/v1beta1/getWorkerPool.go index e5a4c53645..8352d46eda 100644 --- a/sdk/go/google/cloudbuild/v1beta1/getWorkerPool.go +++ b/sdk/go/google/cloudbuild/v1beta1/getWorkerPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns details of a `WorkerPool`. @@ -90,6 +91,12 @@ func (o LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutputWithContext( return o } +func (o LookupWorkerPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkerPoolResult] { + return pulumix.Output[LookupWorkerPoolResult]{ + OutputState: o.OutputState, + } +} + // User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. func (o LookupWorkerPoolResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupWorkerPoolResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/cloudbuild/v1beta1/pulumiTypes.go b/sdk/go/google/cloudbuild/v1beta1/pulumiTypes.go index b47e5c2e37..d05580f731 100644 --- a/sdk/go/google/cloudbuild/v1beta1/pulumiTypes.go +++ b/sdk/go/google/cloudbuild/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Network describes the network configuration for a `WorkerPool`. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See [Understanding network configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options) func (o NetworkConfigOutput) PeeredNetwork() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfig) string { return v.PeeredNetwork }).(pulumi.StringOutput) @@ -133,6 +152,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -174,6 +199,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See [Understanding network configuration options](https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options) func (o NetworkConfigResponseOutput) PeeredNetwork() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfigResponse) string { return v.PeeredNetwork }).(pulumi.StringOutput) @@ -222,6 +253,12 @@ func (i WorkerConfigArgs) ToWorkerConfigOutputWithContext(ctx context.Context) W return pulumi.ToOutputWithContext(ctx, i).(WorkerConfigOutput) } +func (i WorkerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkerConfig] { + return pulumix.Output[WorkerConfig]{ + OutputState: i.ToWorkerConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkerConfigArgs) ToWorkerConfigPtrOutput() WorkerConfigPtrOutput { return i.ToWorkerConfigPtrOutputWithContext(context.Background()) } @@ -263,6 +300,12 @@ func (i *workerConfigPtrType) ToWorkerConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(WorkerConfigPtrOutput) } +func (i *workerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkerConfig] { + return pulumix.Output[*WorkerConfig]{ + OutputState: i.ToWorkerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the configuration to be used for creating workers in the pool. type WorkerConfigOutput struct{ *pulumi.OutputState } @@ -288,6 +331,12 @@ func (o WorkerConfigOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Conte }).(WorkerConfigPtrOutput) } +func (o WorkerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerConfig] { + return pulumix.Output[WorkerConfig]{ + OutputState: o.OutputState, + } +} + // Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size. func (o WorkerConfigOutput) DiskSizeGb() pulumi.StringPtrOutput { return o.ApplyT(func(v WorkerConfig) *string { return v.DiskSizeGb }).(pulumi.StringPtrOutput) @@ -317,6 +366,12 @@ func (o WorkerConfigPtrOutput) ToWorkerConfigPtrOutputWithContext(ctx context.Co return o } +func (o WorkerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerConfig] { + return pulumix.Output[*WorkerConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkerConfigPtrOutput) Elem() WorkerConfigOutput { return o.ApplyT(func(v *WorkerConfig) WorkerConfig { if v != nil { @@ -382,6 +437,12 @@ func (o WorkerConfigResponseOutput) ToWorkerConfigResponseOutputWithContext(ctx return o } +func (o WorkerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerConfigResponse] { + return pulumix.Output[WorkerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Size of the disk attached to the worker, in GB. See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size. func (o WorkerConfigResponseOutput) DiskSizeGb() pulumi.StringOutput { return o.ApplyT(func(v WorkerConfigResponse) string { return v.DiskSizeGb }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudbuild/v1beta1/workerPool.go b/sdk/go/google/cloudbuild/v1beta1/workerPool.go index 82d63e5029..4bb3873c5f 100644 --- a/sdk/go/google/cloudbuild/v1beta1/workerPool.go +++ b/sdk/go/google/cloudbuild/v1beta1/workerPool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a `WorkerPool` to run the builds, and returns the new worker pool. NOTE: As of now, this method returns an `Operation` that is always complete. @@ -147,6 +148,12 @@ func (i *WorkerPool) ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPo return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolOutput) } +func (i *WorkerPool) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { + return pulumix.Output[*WorkerPool]{ + OutputState: i.ToWorkerPoolOutputWithContext(ctx).OutputState, + } +} + type WorkerPoolOutput struct{ *pulumi.OutputState } func (WorkerPoolOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o WorkerPoolOutput) ToWorkerPoolOutputWithContext(ctx context.Context) Wor return o } +func (o WorkerPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { + return pulumix.Output[*WorkerPool]{ + OutputState: o.OutputState, + } +} + // User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. func (o WorkerPoolOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *WorkerPool) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/cloudchannel/v1/channelPartnerLink.go b/sdk/go/google/cloudchannel/v1/channelPartnerLink.go index a7fb018077..f6db2f739a 100644 --- a/sdk/go/google/cloudchannel/v1/channelPartnerLink.go +++ b/sdk/go/google/cloudchannel/v1/channelPartnerLink.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Initiates a channel partner link between a distributor and a reseller, or between resellers in an n-tier reseller channel. Invited partners need to follow the invite_link_uri provided in the response to accept. After accepting the invitation, a link is set up between the two parties. You must be a distributor to call this method. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. * NOT_FOUND: No Cloud Identity customer exists for provided domain. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The new ChannelPartnerLink resource. @@ -130,6 +131,12 @@ func (i *ChannelPartnerLink) ToChannelPartnerLinkOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ChannelPartnerLinkOutput) } +func (i *ChannelPartnerLink) ToOutput(ctx context.Context) pulumix.Output[*ChannelPartnerLink] { + return pulumix.Output[*ChannelPartnerLink]{ + OutputState: i.ToChannelPartnerLinkOutputWithContext(ctx).OutputState, + } +} + type ChannelPartnerLinkOutput struct{ *pulumi.OutputState } func (ChannelPartnerLinkOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o ChannelPartnerLinkOutput) ToChannelPartnerLinkOutputWithContext(ctx cont return o } +func (o ChannelPartnerLinkOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelPartnerLink] { + return pulumix.Output[*ChannelPartnerLink]{ + OutputState: o.OutputState, + } +} + func (o ChannelPartnerLinkOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v *ChannelPartnerLink) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/cloudchannel/v1/channelPartnerRepricingConfig.go b/sdk/go/google/cloudchannel/v1/channelPartnerRepricingConfig.go index d1dbbbde01..b9599594e3 100644 --- a/sdk/go/google/cloudchannel/v1/channelPartnerRepricingConfig.go +++ b/sdk/go/google/cloudchannel/v1/channelPartnerRepricingConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a future month. If needed, you can create a config for the current month, with some restrictions. When creating a config for a future month, make sure there are no existing configs for that RepricingConfig.effective_invoice_month. The following restrictions are for creating configs in the current month. * This functionality is reserved for recovering from an erroneous config, and should not be used for regular business cases. * The new config will not modify exports used with other configs. Changes to the config may be immediate, but may take up to 24 hours. * There is a limit of ten configs for any ChannelPartner or RepricingConfig.effective_invoice_month. * The contained ChannelPartnerRepricingConfig.repricing_config vaule must be different from the value used in the current config for a ChannelPartner. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated ChannelPartnerRepricingConfig resource, otherwise returns an error. @@ -118,6 +119,12 @@ func (i *ChannelPartnerRepricingConfig) ToChannelPartnerRepricingConfigOutputWit return pulumi.ToOutputWithContext(ctx, i).(ChannelPartnerRepricingConfigOutput) } +func (i *ChannelPartnerRepricingConfig) ToOutput(ctx context.Context) pulumix.Output[*ChannelPartnerRepricingConfig] { + return pulumix.Output[*ChannelPartnerRepricingConfig]{ + OutputState: i.ToChannelPartnerRepricingConfigOutputWithContext(ctx).OutputState, + } +} + type ChannelPartnerRepricingConfigOutput struct{ *pulumi.OutputState } func (ChannelPartnerRepricingConfigOutput) ElementType() reflect.Type { @@ -132,6 +139,12 @@ func (o ChannelPartnerRepricingConfigOutput) ToChannelPartnerRepricingConfigOutp return o } +func (o ChannelPartnerRepricingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelPartnerRepricingConfig] { + return pulumix.Output[*ChannelPartnerRepricingConfig]{ + OutputState: o.OutputState, + } +} + func (o ChannelPartnerRepricingConfigOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v *ChannelPartnerRepricingConfig) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/cloudchannel/v1/customer.go b/sdk/go/google/cloudchannel/v1/customer.go index 28b66b49eb..bc20835970 100644 --- a/sdk/go/google/cloudchannel/v1/customer.go +++ b/sdk/go/google/cloudchannel/v1/customer.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value: The newly created Customer resource. @@ -172,6 +173,12 @@ func (i *Customer) ToCustomerOutputWithContext(ctx context.Context) CustomerOutp return pulumi.ToOutputWithContext(ctx, i).(CustomerOutput) } +func (i *Customer) ToOutput(ctx context.Context) pulumix.Output[*Customer] { + return pulumix.Output[*Customer]{ + OutputState: i.ToCustomerOutputWithContext(ctx).OutputState, + } +} + type CustomerOutput struct{ *pulumi.OutputState } func (CustomerOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o CustomerOutput) ToCustomerOutputWithContext(ctx context.Context) Custome return o } +func (o CustomerOutput) ToOutput(ctx context.Context) pulumix.Output[*Customer] { + return pulumix.Output[*Customer]{ + OutputState: o.OutputState, + } +} + func (o CustomerOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v *Customer) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/cloudchannel/v1/customerRepricingConfig.go b/sdk/go/google/cloudchannel/v1/customerRepricingConfig.go index afe139a35e..f17b30b1ba 100644 --- a/sdk/go/google/cloudchannel/v1/customerRepricingConfig.go +++ b/sdk/go/google/cloudchannel/v1/customerRepricingConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a CustomerRepricingConfig. Call this method to set modifications for a specific customer's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a future month. If needed, you can create a config for the current month, with some restrictions. When creating a config for a future month, make sure there are no existing configs for that RepricingConfig.effective_invoice_month. The following restrictions are for creating configs in the current month. * This functionality is reserved for recovering from an erroneous config, and should not be used for regular business cases. * The new config will not modify exports used with other configs. Changes to the config may be immediate, but may take up to 24 hours. * There is a limit of ten configs for any RepricingConfig.EntitlementGranularity.entitlement or RepricingConfig.effective_invoice_month. * The contained CustomerRepricingConfig.repricing_config vaule must be different from the value used in the current config for a RepricingConfig.EntitlementGranularity.entitlement. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months. * NOT_FOUND: The CustomerRepricingConfig specified does not exist or is not associated with the given account. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the updated CustomerRepricingConfig resource, otherwise returns an error. @@ -118,6 +119,12 @@ func (i *CustomerRepricingConfig) ToCustomerRepricingConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CustomerRepricingConfigOutput) } +func (i *CustomerRepricingConfig) ToOutput(ctx context.Context) pulumix.Output[*CustomerRepricingConfig] { + return pulumix.Output[*CustomerRepricingConfig]{ + OutputState: i.ToCustomerRepricingConfigOutputWithContext(ctx).OutputState, + } +} + type CustomerRepricingConfigOutput struct{ *pulumi.OutputState } func (CustomerRepricingConfigOutput) ElementType() reflect.Type { @@ -132,6 +139,12 @@ func (o CustomerRepricingConfigOutput) ToCustomerRepricingConfigOutputWithContex return o } +func (o CustomerRepricingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomerRepricingConfig] { + return pulumix.Output[*CustomerRepricingConfig]{ + OutputState: o.OutputState, + } +} + func (o CustomerRepricingConfigOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v *CustomerRepricingConfig) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/cloudchannel/v1/entitlement.go b/sdk/go/google/cloudchannel/v1/entitlement.go index 02520d4f41..9a82d4e106 100644 --- a/sdk/go/google/cloudchannel/v1/entitlement.go +++ b/sdk/go/google/cloudchannel/v1/entitlement.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an entitlement for a customer. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There is already a customer entitlement for a SKU from the same product family. * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support for further troubleshooting. * NOT_FOUND: The customer or offer resource was not found. * ALREADY_EXISTS: * The SKU was already purchased for the customer. * The customer's primary email already exists. Retry after changing the customer's primary contact email. * CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU has not been verified. * A pre-requisite SKU required to purchase an Add-On SKU is missing. For example, Google Workspace Business Starter is required to purchase Vault or Drive. * (Developer accounts only) Reseller and resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain names must include the reseller domain. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata. @@ -164,6 +165,12 @@ func (i *Entitlement) ToEntitlementOutputWithContext(ctx context.Context) Entitl return pulumi.ToOutputWithContext(ctx, i).(EntitlementOutput) } +func (i *Entitlement) ToOutput(ctx context.Context) pulumix.Output[*Entitlement] { + return pulumix.Output[*Entitlement]{ + OutputState: i.ToEntitlementOutputWithContext(ctx).OutputState, + } +} + type EntitlementOutput struct{ *pulumi.OutputState } func (EntitlementOutput) ElementType() reflect.Type { @@ -178,6 +185,12 @@ func (o EntitlementOutput) ToEntitlementOutputWithContext(ctx context.Context) E return o } +func (o EntitlementOutput) ToOutput(ctx context.Context) pulumix.Output[*Entitlement] { + return pulumix.Output[*Entitlement]{ + OutputState: o.OutputState, + } +} + func (o EntitlementOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v *Entitlement) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/cloudchannel/v1/getChannelPartnerLink.go b/sdk/go/google/cloudchannel/v1/getChannelPartnerLink.go index 54cca67475..eab4022767 100644 --- a/sdk/go/google/cloudchannel/v1/getChannelPartnerLink.go +++ b/sdk/go/google/cloudchannel/v1/getChannelPartnerLink.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the requested ChannelPartnerLink resource. You must be a distributor to call this method. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: ChannelPartnerLink resource not found because of an invalid channel partner link name. Return value: The ChannelPartnerLink resource. @@ -84,6 +85,12 @@ func (o LookupChannelPartnerLinkResultOutput) ToLookupChannelPartnerLinkResultOu return o } +func (o LookupChannelPartnerLinkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupChannelPartnerLinkResult] { + return pulumix.Output[LookupChannelPartnerLinkResult]{ + OutputState: o.OutputState, + } +} + // Cloud Identity info of the channel partner (IR). func (o LookupChannelPartnerLinkResultOutput) ChannelPartnerCloudIdentityInfo() GoogleCloudChannelV1CloudIdentityInfoResponseOutput { return o.ApplyT(func(v LookupChannelPartnerLinkResult) GoogleCloudChannelV1CloudIdentityInfoResponse { diff --git a/sdk/go/google/cloudchannel/v1/getChannelPartnerRepricingConfig.go b/sdk/go/google/cloudchannel/v1/getChannelPartnerRepricingConfig.go index 1435484407..a8a7be1ac9 100644 --- a/sdk/go/google/cloudchannel/v1/getChannelPartnerRepricingConfig.go +++ b/sdk/go/google/cloudchannel/v1/getChannelPartnerRepricingConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about how a Distributor modifies their bill before sending it to a ChannelPartner. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * NOT_FOUND: The ChannelPartnerRepricingConfig was not found. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the ChannelPartnerRepricingConfig resource, otherwise returns an error. @@ -74,6 +75,12 @@ func (o LookupChannelPartnerRepricingConfigResultOutput) ToLookupChannelPartnerR return o } +func (o LookupChannelPartnerRepricingConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupChannelPartnerRepricingConfigResult] { + return pulumix.Output[LookupChannelPartnerRepricingConfigResult]{ + OutputState: o.OutputState, + } +} + // Resource name of the ChannelPartnerRepricingConfig. Format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}. func (o LookupChannelPartnerRepricingConfigResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupChannelPartnerRepricingConfigResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudchannel/v1/getCustomer.go b/sdk/go/google/cloudchannel/v1/getCustomer.go index b433eddde9..a0b514518a 100644 --- a/sdk/go/google/cloudchannel/v1/getCustomer.go +++ b/sdk/go/google/cloudchannel/v1/getCustomer.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the requested Customer resource. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer resource doesn't exist. Usually the result of an invalid name parameter. Return value: The Customer resource. @@ -94,6 +95,12 @@ func (o LookupCustomerResultOutput) ToLookupCustomerResultOutputWithContext(ctx return o } +func (o LookupCustomerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCustomerResult] { + return pulumix.Output[LookupCustomerResult]{ + OutputState: o.OutputState, + } +} + // Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers. func (o LookupCustomerResultOutput) AlternateEmail() pulumi.StringOutput { return o.ApplyT(func(v LookupCustomerResult) string { return v.AlternateEmail }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudchannel/v1/getCustomerRepricingConfig.go b/sdk/go/google/cloudchannel/v1/getCustomerRepricingConfig.go index f047e3e0a1..917defe0bb 100644 --- a/sdk/go/google/cloudchannel/v1/getCustomerRepricingConfig.go +++ b/sdk/go/google/cloudchannel/v1/getCustomerRepricingConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about how a Reseller modifies their bill before sending it to a Customer. Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account being queried are different. * NOT_FOUND: The CustomerRepricingConfig was not found. * INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful, the CustomerRepricingConfig resource, otherwise returns an error. @@ -74,6 +75,12 @@ func (o LookupCustomerRepricingConfigResultOutput) ToLookupCustomerRepricingConf return o } +func (o LookupCustomerRepricingConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCustomerRepricingConfigResult] { + return pulumix.Output[LookupCustomerRepricingConfigResult]{ + OutputState: o.OutputState, + } +} + // Resource name of the CustomerRepricingConfig. Format: accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}. func (o LookupCustomerRepricingConfigResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupCustomerRepricingConfigResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudchannel/v1/getEntitlement.go b/sdk/go/google/cloudchannel/v1/getEntitlement.go index 4f1ed9ba9c..e47be8e414 100644 --- a/sdk/go/google/cloudchannel/v1/getEntitlement.go +++ b/sdk/go/google/cloudchannel/v1/getEntitlement.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the requested Entitlement resource. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer entitlement was not found. Return value: The requested Entitlement resource. @@ -94,6 +95,12 @@ func (o LookupEntitlementResultOutput) ToLookupEntitlementResultOutputWithContex return o } +func (o LookupEntitlementResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntitlementResult] { + return pulumix.Output[LookupEntitlementResult]{ + OutputState: o.OutputState, + } +} + // Association information to other entitlements. func (o LookupEntitlementResultOutput) AssociationInfo() GoogleCloudChannelV1AssociationInfoResponseOutput { return o.ApplyT(func(v LookupEntitlementResult) GoogleCloudChannelV1AssociationInfoResponse { return v.AssociationInfo }).(GoogleCloudChannelV1AssociationInfoResponseOutput) diff --git a/sdk/go/google/cloudchannel/v1/pulumiEnums.go b/sdk/go/google/cloudchannel/v1/pulumiEnums.go index 70e0faf5ac..097d02985a 100644 --- a/sdk/go/google/cloudchannel/v1/pulumiEnums.go +++ b/sdk/go/google/cloudchannel/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. State of the channel partner link. @@ -86,6 +87,12 @@ func (o ChannelPartnerLinkLinkStateOutput) ToChannelPartnerLinkLinkStatePtrOutpu }).(ChannelPartnerLinkLinkStatePtrOutput) } +func (o ChannelPartnerLinkLinkStateOutput) ToOutput(ctx context.Context) pulumix.Output[ChannelPartnerLinkLinkState] { + return pulumix.Output[ChannelPartnerLinkLinkState]{ + OutputState: o.OutputState, + } +} + func (o ChannelPartnerLinkLinkStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -121,6 +128,12 @@ func (o ChannelPartnerLinkLinkStatePtrOutput) ToChannelPartnerLinkLinkStatePtrOu return o } +func (o ChannelPartnerLinkLinkStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelPartnerLinkLinkState] { + return pulumix.Output[*ChannelPartnerLinkLinkState]{ + OutputState: o.OutputState, + } +} + func (o ChannelPartnerLinkLinkStatePtrOutput) Elem() ChannelPartnerLinkLinkStateOutput { return o.ApplyT(func(v *ChannelPartnerLinkLinkState) ChannelPartnerLinkLinkState { if v != nil { @@ -183,6 +196,12 @@ func (in *channelPartnerLinkLinkStatePtr) ToChannelPartnerLinkLinkStatePtrOutput return pulumi.ToOutputWithContext(ctx, in).(ChannelPartnerLinkLinkStatePtrOutput) } +func (in *channelPartnerLinkLinkStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ChannelPartnerLinkLinkState] { + return pulumix.Output[*ChannelPartnerLinkLinkState]{ + OutputState: in.ToChannelPartnerLinkLinkStatePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs. type GoogleCloudChannelV1ConditionalOverrideRebillingBasis string @@ -255,6 +274,12 @@ func (o GoogleCloudChannelV1ConditionalOverrideRebillingBasisOutput) ToGoogleClo }).(GoogleCloudChannelV1ConditionalOverrideRebillingBasisPtrOutput) } +func (o GoogleCloudChannelV1ConditionalOverrideRebillingBasisOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1ConditionalOverrideRebillingBasis] { + return pulumix.Output[GoogleCloudChannelV1ConditionalOverrideRebillingBasis]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1ConditionalOverrideRebillingBasisOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o GoogleCloudChannelV1ConditionalOverrideRebillingBasisPtrOutput) ToGoogle return o } +func (o GoogleCloudChannelV1ConditionalOverrideRebillingBasisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1ConditionalOverrideRebillingBasis] { + return pulumix.Output[*GoogleCloudChannelV1ConditionalOverrideRebillingBasis]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1ConditionalOverrideRebillingBasisPtrOutput) Elem() GoogleCloudChannelV1ConditionalOverrideRebillingBasisOutput { return o.ApplyT(func(v *GoogleCloudChannelV1ConditionalOverrideRebillingBasis) GoogleCloudChannelV1ConditionalOverrideRebillingBasis { if v != nil { @@ -352,6 +383,12 @@ func (in *googleCloudChannelV1ConditionalOverrideRebillingBasisPtr) ToGoogleClou return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudChannelV1ConditionalOverrideRebillingBasisPtrOutput) } +func (in *googleCloudChannelV1ConditionalOverrideRebillingBasisPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1ConditionalOverrideRebillingBasis] { + return pulumix.Output[*GoogleCloudChannelV1ConditionalOverrideRebillingBasis]{ + OutputState: in.ToGoogleCloudChannelV1ConditionalOverrideRebillingBasisPtrOutputWithContext(ctx).OutputState, + } +} + // Period Type. type GoogleCloudChannelV1PeriodPeriodType string @@ -426,6 +463,12 @@ func (o GoogleCloudChannelV1PeriodPeriodTypeOutput) ToGoogleCloudChannelV1Period }).(GoogleCloudChannelV1PeriodPeriodTypePtrOutput) } +func (o GoogleCloudChannelV1PeriodPeriodTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1PeriodPeriodType] { + return pulumix.Output[GoogleCloudChannelV1PeriodPeriodType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1PeriodPeriodTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o GoogleCloudChannelV1PeriodPeriodTypePtrOutput) ToGoogleCloudChannelV1Per return o } +func (o GoogleCloudChannelV1PeriodPeriodTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1PeriodPeriodType] { + return pulumix.Output[*GoogleCloudChannelV1PeriodPeriodType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1PeriodPeriodTypePtrOutput) Elem() GoogleCloudChannelV1PeriodPeriodTypeOutput { return o.ApplyT(func(v *GoogleCloudChannelV1PeriodPeriodType) GoogleCloudChannelV1PeriodPeriodType { if v != nil { @@ -523,6 +572,12 @@ func (in *googleCloudChannelV1PeriodPeriodTypePtr) ToGoogleCloudChannelV1PeriodP return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudChannelV1PeriodPeriodTypePtrOutput) } +func (in *googleCloudChannelV1PeriodPeriodTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1PeriodPeriodType] { + return pulumix.Output[*GoogleCloudChannelV1PeriodPeriodType]{ + OutputState: in.ToGoogleCloudChannelV1PeriodPeriodTypePtrOutputWithContext(ctx).OutputState, + } +} + // Describes how a reseller will be billed. type GoogleCloudChannelV1RenewalSettingsPaymentPlan string @@ -601,6 +656,12 @@ func (o GoogleCloudChannelV1RenewalSettingsPaymentPlanOutput) ToGoogleCloudChann }).(GoogleCloudChannelV1RenewalSettingsPaymentPlanPtrOutput) } +func (o GoogleCloudChannelV1RenewalSettingsPaymentPlanOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RenewalSettingsPaymentPlan] { + return pulumix.Output[GoogleCloudChannelV1RenewalSettingsPaymentPlan]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1RenewalSettingsPaymentPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -636,6 +697,12 @@ func (o GoogleCloudChannelV1RenewalSettingsPaymentPlanPtrOutput) ToGoogleCloudCh return o } +func (o GoogleCloudChannelV1RenewalSettingsPaymentPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1RenewalSettingsPaymentPlan] { + return pulumix.Output[*GoogleCloudChannelV1RenewalSettingsPaymentPlan]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1RenewalSettingsPaymentPlanPtrOutput) Elem() GoogleCloudChannelV1RenewalSettingsPaymentPlanOutput { return o.ApplyT(func(v *GoogleCloudChannelV1RenewalSettingsPaymentPlan) GoogleCloudChannelV1RenewalSettingsPaymentPlan { if v != nil { @@ -698,6 +765,12 @@ func (in *googleCloudChannelV1RenewalSettingsPaymentPlanPtr) ToGoogleCloudChanne return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudChannelV1RenewalSettingsPaymentPlanPtrOutput) } +func (in *googleCloudChannelV1RenewalSettingsPaymentPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1RenewalSettingsPaymentPlan] { + return pulumix.Output[*GoogleCloudChannelV1RenewalSettingsPaymentPlan]{ + OutputState: in.ToGoogleCloudChannelV1RenewalSettingsPaymentPlanPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply. type GoogleCloudChannelV1RepricingConfigRebillingBasis string @@ -770,6 +843,12 @@ func (o GoogleCloudChannelV1RepricingConfigRebillingBasisOutput) ToGoogleCloudCh }).(GoogleCloudChannelV1RepricingConfigRebillingBasisPtrOutput) } +func (o GoogleCloudChannelV1RepricingConfigRebillingBasisOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConfigRebillingBasis] { + return pulumix.Output[GoogleCloudChannelV1RepricingConfigRebillingBasis]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1RepricingConfigRebillingBasisOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -805,6 +884,12 @@ func (o GoogleCloudChannelV1RepricingConfigRebillingBasisPtrOutput) ToGoogleClou return o } +func (o GoogleCloudChannelV1RepricingConfigRebillingBasisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1RepricingConfigRebillingBasis] { + return pulumix.Output[*GoogleCloudChannelV1RepricingConfigRebillingBasis]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1RepricingConfigRebillingBasisPtrOutput) Elem() GoogleCloudChannelV1RepricingConfigRebillingBasisOutput { return o.ApplyT(func(v *GoogleCloudChannelV1RepricingConfigRebillingBasis) GoogleCloudChannelV1RepricingConfigRebillingBasis { if v != nil { @@ -867,6 +952,12 @@ func (in *googleCloudChannelV1RepricingConfigRebillingBasisPtr) ToGoogleCloudCha return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudChannelV1RepricingConfigRebillingBasisPtrOutput) } +func (in *googleCloudChannelV1RepricingConfigRebillingBasisPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1RepricingConfigRebillingBasis] { + return pulumix.Output[*GoogleCloudChannelV1RepricingConfigRebillingBasis]{ + OutputState: in.ToGoogleCloudChannelV1RepricingConfigRebillingBasisPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ChannelPartnerLinkLinkStateInput)(nil)).Elem(), ChannelPartnerLinkLinkState("CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ChannelPartnerLinkLinkStatePtrInput)(nil)).Elem(), ChannelPartnerLinkLinkState("CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudchannel/v1/pulumiTypes.go b/sdk/go/google/cloudchannel/v1/pulumiTypes.go index bd1a65ff21..c73b66e655 100644 --- a/sdk/go/google/cloudchannel/v1/pulumiTypes.go +++ b/sdk/go/google/cloudchannel/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i GoogleCloudChannelV1AssociationInfoArgs) ToGoogleCloudChannelV1Associati return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1AssociationInfoOutput) } +func (i GoogleCloudChannelV1AssociationInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1AssociationInfo] { + return pulumix.Output[GoogleCloudChannelV1AssociationInfo]{ + OutputState: i.ToGoogleCloudChannelV1AssociationInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudChannelV1AssociationInfoArgs) ToGoogleCloudChannelV1AssociationInfoPtrOutput() GoogleCloudChannelV1AssociationInfoPtrOutput { return i.ToGoogleCloudChannelV1AssociationInfoPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *googleCloudChannelV1AssociationInfoPtrType) ToGoogleCloudChannelV1Assoc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1AssociationInfoPtrOutput) } +func (i *googleCloudChannelV1AssociationInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1AssociationInfo] { + return pulumix.Output[*GoogleCloudChannelV1AssociationInfo]{ + OutputState: i.ToGoogleCloudChannelV1AssociationInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Association links that an entitlement has to other entitlements. type GoogleCloudChannelV1AssociationInfoOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o GoogleCloudChannelV1AssociationInfoOutput) ToGoogleCloudChannelV1Associa }).(GoogleCloudChannelV1AssociationInfoPtrOutput) } +func (o GoogleCloudChannelV1AssociationInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1AssociationInfo] { + return pulumix.Output[GoogleCloudChannelV1AssociationInfo]{ + OutputState: o.OutputState, + } +} + // The name of the base entitlement, for which this entitlement is an add-on. func (o GoogleCloudChannelV1AssociationInfoOutput) BaseEntitlement() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1AssociationInfo) *string { return v.BaseEntitlement }).(pulumi.StringPtrOutput) @@ -133,6 +152,12 @@ func (o GoogleCloudChannelV1AssociationInfoPtrOutput) ToGoogleCloudChannelV1Asso return o } +func (o GoogleCloudChannelV1AssociationInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1AssociationInfo] { + return pulumix.Output[*GoogleCloudChannelV1AssociationInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1AssociationInfoPtrOutput) Elem() GoogleCloudChannelV1AssociationInfoOutput { return o.ApplyT(func(v *GoogleCloudChannelV1AssociationInfo) GoogleCloudChannelV1AssociationInfo { if v != nil { @@ -174,6 +199,12 @@ func (o GoogleCloudChannelV1AssociationInfoResponseOutput) ToGoogleCloudChannelV return o } +func (o GoogleCloudChannelV1AssociationInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1AssociationInfoResponse] { + return pulumix.Output[GoogleCloudChannelV1AssociationInfoResponse]{ + OutputState: o.OutputState, + } +} + // The name of the base entitlement, for which this entitlement is an add-on. func (o GoogleCloudChannelV1AssociationInfoResponseOutput) BaseEntitlement() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudChannelV1AssociationInfoResponse) string { return v.BaseEntitlement }).(pulumi.StringOutput) @@ -214,6 +245,12 @@ func (o GoogleCloudChannelV1CloudIdentityInfoResponseOutput) ToGoogleCloudChanne return o } +func (o GoogleCloudChannelV1CloudIdentityInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1CloudIdentityInfoResponse] { + return pulumix.Output[GoogleCloudChannelV1CloudIdentityInfoResponse]{ + OutputState: o.OutputState, + } +} + // URI of Customer's Admin console dashboard. func (o GoogleCloudChannelV1CloudIdentityInfoResponseOutput) AdminConsoleUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudChannelV1CloudIdentityInfoResponse) string { return v.AdminConsoleUri }).(pulumi.StringOutput) @@ -291,6 +328,12 @@ func (i GoogleCloudChannelV1CommitmentSettingsArgs) ToGoogleCloudChannelV1Commit return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1CommitmentSettingsOutput) } +func (i GoogleCloudChannelV1CommitmentSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1CommitmentSettings] { + return pulumix.Output[GoogleCloudChannelV1CommitmentSettings]{ + OutputState: i.ToGoogleCloudChannelV1CommitmentSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudChannelV1CommitmentSettingsArgs) ToGoogleCloudChannelV1CommitmentSettingsPtrOutput() GoogleCloudChannelV1CommitmentSettingsPtrOutput { return i.ToGoogleCloudChannelV1CommitmentSettingsPtrOutputWithContext(context.Background()) } @@ -332,6 +375,12 @@ func (i *googleCloudChannelV1CommitmentSettingsPtrType) ToGoogleCloudChannelV1Co return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1CommitmentSettingsPtrOutput) } +func (i *googleCloudChannelV1CommitmentSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1CommitmentSettings] { + return pulumix.Output[*GoogleCloudChannelV1CommitmentSettings]{ + OutputState: i.ToGoogleCloudChannelV1CommitmentSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Commitment settings for commitment-based offers. type GoogleCloudChannelV1CommitmentSettingsOutput struct{ *pulumi.OutputState } @@ -357,6 +406,12 @@ func (o GoogleCloudChannelV1CommitmentSettingsOutput) ToGoogleCloudChannelV1Comm }).(GoogleCloudChannelV1CommitmentSettingsPtrOutput) } +func (o GoogleCloudChannelV1CommitmentSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1CommitmentSettings] { + return pulumix.Output[GoogleCloudChannelV1CommitmentSettings]{ + OutputState: o.OutputState, + } +} + // Optional. Renewal settings applicable for a commitment-based Offer. func (o GoogleCloudChannelV1CommitmentSettingsOutput) RenewalSettings() GoogleCloudChannelV1RenewalSettingsPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1CommitmentSettings) *GoogleCloudChannelV1RenewalSettings { @@ -378,6 +433,12 @@ func (o GoogleCloudChannelV1CommitmentSettingsPtrOutput) ToGoogleCloudChannelV1C return o } +func (o GoogleCloudChannelV1CommitmentSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1CommitmentSettings] { + return pulumix.Output[*GoogleCloudChannelV1CommitmentSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1CommitmentSettingsPtrOutput) Elem() GoogleCloudChannelV1CommitmentSettingsOutput { return o.ApplyT(func(v *GoogleCloudChannelV1CommitmentSettings) GoogleCloudChannelV1CommitmentSettings { if v != nil { @@ -423,6 +484,12 @@ func (o GoogleCloudChannelV1CommitmentSettingsResponseOutput) ToGoogleCloudChann return o } +func (o GoogleCloudChannelV1CommitmentSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1CommitmentSettingsResponse] { + return pulumix.Output[GoogleCloudChannelV1CommitmentSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Commitment end timestamp. func (o GoogleCloudChannelV1CommitmentSettingsResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudChannelV1CommitmentSettingsResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -483,6 +550,12 @@ func (i GoogleCloudChannelV1ConditionalOverrideArgs) ToGoogleCloudChannelV1Condi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1ConditionalOverrideOutput) } +func (i GoogleCloudChannelV1ConditionalOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1ConditionalOverride] { + return pulumix.Output[GoogleCloudChannelV1ConditionalOverride]{ + OutputState: i.ToGoogleCloudChannelV1ConditionalOverrideOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudChannelV1ConditionalOverrideArrayInput is an input type that accepts GoogleCloudChannelV1ConditionalOverrideArray and GoogleCloudChannelV1ConditionalOverrideArrayOutput values. // You can construct a concrete instance of `GoogleCloudChannelV1ConditionalOverrideArrayInput` via: // @@ -508,6 +581,12 @@ func (i GoogleCloudChannelV1ConditionalOverrideArray) ToGoogleCloudChannelV1Cond return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1ConditionalOverrideArrayOutput) } +func (i GoogleCloudChannelV1ConditionalOverrideArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudChannelV1ConditionalOverride] { + return pulumix.Output[[]GoogleCloudChannelV1ConditionalOverride]{ + OutputState: i.ToGoogleCloudChannelV1ConditionalOverrideArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the override to conditionally apply. type GoogleCloudChannelV1ConditionalOverrideOutput struct{ *pulumi.OutputState } @@ -523,6 +602,12 @@ func (o GoogleCloudChannelV1ConditionalOverrideOutput) ToGoogleCloudChannelV1Con return o } +func (o GoogleCloudChannelV1ConditionalOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1ConditionalOverride] { + return pulumix.Output[GoogleCloudChannelV1ConditionalOverride]{ + OutputState: o.OutputState, + } +} + // Information about the applied override's adjustment. func (o GoogleCloudChannelV1ConditionalOverrideOutput) Adjustment() GoogleCloudChannelV1RepricingAdjustmentOutput { return o.ApplyT(func(v GoogleCloudChannelV1ConditionalOverride) GoogleCloudChannelV1RepricingAdjustment { @@ -558,6 +643,12 @@ func (o GoogleCloudChannelV1ConditionalOverrideArrayOutput) ToGoogleCloudChannel return o } +func (o GoogleCloudChannelV1ConditionalOverrideArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudChannelV1ConditionalOverride] { + return pulumix.Output[[]GoogleCloudChannelV1ConditionalOverride]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1ConditionalOverrideArrayOutput) Index(i pulumi.IntInput) GoogleCloudChannelV1ConditionalOverrideOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudChannelV1ConditionalOverride { return vs[0].([]GoogleCloudChannelV1ConditionalOverride)[vs[1].(int)] @@ -589,6 +680,12 @@ func (o GoogleCloudChannelV1ConditionalOverrideResponseOutput) ToGoogleCloudChan return o } +func (o GoogleCloudChannelV1ConditionalOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1ConditionalOverrideResponse] { + return pulumix.Output[GoogleCloudChannelV1ConditionalOverrideResponse]{ + OutputState: o.OutputState, + } +} + // Information about the applied override's adjustment. func (o GoogleCloudChannelV1ConditionalOverrideResponseOutput) Adjustment() GoogleCloudChannelV1RepricingAdjustmentResponseOutput { return o.ApplyT(func(v GoogleCloudChannelV1ConditionalOverrideResponse) GoogleCloudChannelV1RepricingAdjustmentResponse { @@ -622,6 +719,12 @@ func (o GoogleCloudChannelV1ConditionalOverrideResponseArrayOutput) ToGoogleClou return o } +func (o GoogleCloudChannelV1ConditionalOverrideResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudChannelV1ConditionalOverrideResponse] { + return pulumix.Output[[]GoogleCloudChannelV1ConditionalOverrideResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1ConditionalOverrideResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudChannelV1ConditionalOverrideResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudChannelV1ConditionalOverrideResponse { return vs[0].([]GoogleCloudChannelV1ConditionalOverrideResponse)[vs[1].(int)] @@ -679,6 +782,12 @@ func (i GoogleCloudChannelV1ContactInfoArgs) ToGoogleCloudChannelV1ContactInfoOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1ContactInfoOutput) } +func (i GoogleCloudChannelV1ContactInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1ContactInfo] { + return pulumix.Output[GoogleCloudChannelV1ContactInfo]{ + OutputState: i.ToGoogleCloudChannelV1ContactInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudChannelV1ContactInfoArgs) ToGoogleCloudChannelV1ContactInfoPtrOutput() GoogleCloudChannelV1ContactInfoPtrOutput { return i.ToGoogleCloudChannelV1ContactInfoPtrOutputWithContext(context.Background()) } @@ -720,6 +829,12 @@ func (i *googleCloudChannelV1ContactInfoPtrType) ToGoogleCloudChannelV1ContactIn return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1ContactInfoPtrOutput) } +func (i *googleCloudChannelV1ContactInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1ContactInfo] { + return pulumix.Output[*GoogleCloudChannelV1ContactInfo]{ + OutputState: i.ToGoogleCloudChannelV1ContactInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Contact information for a customer account. type GoogleCloudChannelV1ContactInfoOutput struct{ *pulumi.OutputState } @@ -745,6 +860,12 @@ func (o GoogleCloudChannelV1ContactInfoOutput) ToGoogleCloudChannelV1ContactInfo }).(GoogleCloudChannelV1ContactInfoPtrOutput) } +func (o GoogleCloudChannelV1ContactInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1ContactInfo] { + return pulumix.Output[GoogleCloudChannelV1ContactInfo]{ + OutputState: o.OutputState, + } +} + // The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers. func (o GoogleCloudChannelV1ContactInfoOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1ContactInfo) *string { return v.Email }).(pulumi.StringPtrOutput) @@ -784,6 +905,12 @@ func (o GoogleCloudChannelV1ContactInfoPtrOutput) ToGoogleCloudChannelV1ContactI return o } +func (o GoogleCloudChannelV1ContactInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1ContactInfo] { + return pulumix.Output[*GoogleCloudChannelV1ContactInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1ContactInfoPtrOutput) Elem() GoogleCloudChannelV1ContactInfoOutput { return o.ApplyT(func(v *GoogleCloudChannelV1ContactInfo) GoogleCloudChannelV1ContactInfo { if v != nil { @@ -875,6 +1002,12 @@ func (o GoogleCloudChannelV1ContactInfoResponseOutput) ToGoogleCloudChannelV1Con return o } +func (o GoogleCloudChannelV1ContactInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1ContactInfoResponse] { + return pulumix.Output[GoogleCloudChannelV1ContactInfoResponse]{ + OutputState: o.OutputState, + } +} + // The customer account contact's display name, formatted as a combination of the customer's first and last name. func (o GoogleCloudChannelV1ContactInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudChannelV1ContactInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -930,6 +1063,12 @@ func (o GoogleCloudChannelV1EduDataResponseOutput) ToGoogleCloudChannelV1EduData return o } +func (o GoogleCloudChannelV1EduDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1EduDataResponse] { + return pulumix.Output[GoogleCloudChannelV1EduDataResponse]{ + OutputState: o.OutputState, + } +} + // Size of the institute. func (o GoogleCloudChannelV1EduDataResponseOutput) InstituteSize() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudChannelV1EduDataResponse) string { return v.InstituteSize }).(pulumi.StringOutput) @@ -984,6 +1123,12 @@ func (i GoogleCloudChannelV1ParameterArgs) ToGoogleCloudChannelV1ParameterOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1ParameterOutput) } +func (i GoogleCloudChannelV1ParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1Parameter] { + return pulumix.Output[GoogleCloudChannelV1Parameter]{ + OutputState: i.ToGoogleCloudChannelV1ParameterOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudChannelV1ParameterArrayInput is an input type that accepts GoogleCloudChannelV1ParameterArray and GoogleCloudChannelV1ParameterArrayOutput values. // You can construct a concrete instance of `GoogleCloudChannelV1ParameterArrayInput` via: // @@ -1009,6 +1154,12 @@ func (i GoogleCloudChannelV1ParameterArray) ToGoogleCloudChannelV1ParameterArray return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1ParameterArrayOutput) } +func (i GoogleCloudChannelV1ParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudChannelV1Parameter] { + return pulumix.Output[[]GoogleCloudChannelV1Parameter]{ + OutputState: i.ToGoogleCloudChannelV1ParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Definition for extended entitlement parameters. type GoogleCloudChannelV1ParameterOutput struct{ *pulumi.OutputState } @@ -1024,6 +1175,12 @@ func (o GoogleCloudChannelV1ParameterOutput) ToGoogleCloudChannelV1ParameterOutp return o } +func (o GoogleCloudChannelV1ParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1Parameter] { + return pulumix.Output[GoogleCloudChannelV1Parameter]{ + OutputState: o.OutputState, + } +} + // Name of the parameter. func (o GoogleCloudChannelV1ParameterOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1Parameter) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -1048,6 +1205,12 @@ func (o GoogleCloudChannelV1ParameterArrayOutput) ToGoogleCloudChannelV1Paramete return o } +func (o GoogleCloudChannelV1ParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudChannelV1Parameter] { + return pulumix.Output[[]GoogleCloudChannelV1Parameter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1ParameterArrayOutput) Index(i pulumi.IntInput) GoogleCloudChannelV1ParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudChannelV1Parameter { return vs[0].([]GoogleCloudChannelV1Parameter)[vs[1].(int)] @@ -1079,6 +1242,12 @@ func (o GoogleCloudChannelV1ParameterResponseOutput) ToGoogleCloudChannelV1Param return o } +func (o GoogleCloudChannelV1ParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1ParameterResponse] { + return pulumix.Output[GoogleCloudChannelV1ParameterResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, num_units is editable when entitlement is active. func (o GoogleCloudChannelV1ParameterResponseOutput) Editable() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudChannelV1ParameterResponse) bool { return v.Editable }).(pulumi.BoolOutput) @@ -1108,6 +1277,12 @@ func (o GoogleCloudChannelV1ParameterResponseArrayOutput) ToGoogleCloudChannelV1 return o } +func (o GoogleCloudChannelV1ParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudChannelV1ParameterResponse] { + return pulumix.Output[[]GoogleCloudChannelV1ParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1ParameterResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudChannelV1ParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudChannelV1ParameterResponse { return vs[0].([]GoogleCloudChannelV1ParameterResponse)[vs[1].(int)] @@ -1149,6 +1324,12 @@ func (i GoogleCloudChannelV1PercentageAdjustmentArgs) ToGoogleCloudChannelV1Perc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1PercentageAdjustmentOutput) } +func (i GoogleCloudChannelV1PercentageAdjustmentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1PercentageAdjustment] { + return pulumix.Output[GoogleCloudChannelV1PercentageAdjustment]{ + OutputState: i.ToGoogleCloudChannelV1PercentageAdjustmentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudChannelV1PercentageAdjustmentArgs) ToGoogleCloudChannelV1PercentageAdjustmentPtrOutput() GoogleCloudChannelV1PercentageAdjustmentPtrOutput { return i.ToGoogleCloudChannelV1PercentageAdjustmentPtrOutputWithContext(context.Background()) } @@ -1190,6 +1371,12 @@ func (i *googleCloudChannelV1PercentageAdjustmentPtrType) ToGoogleCloudChannelV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1PercentageAdjustmentPtrOutput) } +func (i *googleCloudChannelV1PercentageAdjustmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1PercentageAdjustment] { + return pulumix.Output[*GoogleCloudChannelV1PercentageAdjustment]{ + OutputState: i.ToGoogleCloudChannelV1PercentageAdjustmentPtrOutputWithContext(ctx).OutputState, + } +} + // An adjustment that applies a flat markup or markdown to an entire bill. type GoogleCloudChannelV1PercentageAdjustmentOutput struct{ *pulumi.OutputState } @@ -1215,6 +1402,12 @@ func (o GoogleCloudChannelV1PercentageAdjustmentOutput) ToGoogleCloudChannelV1Pe }).(GoogleCloudChannelV1PercentageAdjustmentPtrOutput) } +func (o GoogleCloudChannelV1PercentageAdjustmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1PercentageAdjustment] { + return pulumix.Output[GoogleCloudChannelV1PercentageAdjustment]{ + OutputState: o.OutputState, + } +} + // The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00" func (o GoogleCloudChannelV1PercentageAdjustmentOutput) Percentage() GoogleTypeDecimalPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1PercentageAdjustment) *GoogleTypeDecimal { return v.Percentage }).(GoogleTypeDecimalPtrOutput) @@ -1234,6 +1427,12 @@ func (o GoogleCloudChannelV1PercentageAdjustmentPtrOutput) ToGoogleCloudChannelV return o } +func (o GoogleCloudChannelV1PercentageAdjustmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1PercentageAdjustment] { + return pulumix.Output[*GoogleCloudChannelV1PercentageAdjustment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1PercentageAdjustmentPtrOutput) Elem() GoogleCloudChannelV1PercentageAdjustmentOutput { return o.ApplyT(func(v *GoogleCloudChannelV1PercentageAdjustment) GoogleCloudChannelV1PercentageAdjustment { if v != nil { @@ -1275,6 +1474,12 @@ func (o GoogleCloudChannelV1PercentageAdjustmentResponseOutput) ToGoogleCloudCha return o } +func (o GoogleCloudChannelV1PercentageAdjustmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1PercentageAdjustmentResponse] { + return pulumix.Output[GoogleCloudChannelV1PercentageAdjustmentResponse]{ + OutputState: o.OutputState, + } +} + // The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00" func (o GoogleCloudChannelV1PercentageAdjustmentResponseOutput) Percentage() GoogleTypeDecimalResponseOutput { return o.ApplyT(func(v GoogleCloudChannelV1PercentageAdjustmentResponse) GoogleTypeDecimalResponse { @@ -1321,6 +1526,12 @@ func (i GoogleCloudChannelV1PeriodArgs) ToGoogleCloudChannelV1PeriodOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1PeriodOutput) } +func (i GoogleCloudChannelV1PeriodArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1Period] { + return pulumix.Output[GoogleCloudChannelV1Period]{ + OutputState: i.ToGoogleCloudChannelV1PeriodOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudChannelV1PeriodArgs) ToGoogleCloudChannelV1PeriodPtrOutput() GoogleCloudChannelV1PeriodPtrOutput { return i.ToGoogleCloudChannelV1PeriodPtrOutputWithContext(context.Background()) } @@ -1362,6 +1573,12 @@ func (i *googleCloudChannelV1PeriodPtrType) ToGoogleCloudChannelV1PeriodPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1PeriodPtrOutput) } +func (i *googleCloudChannelV1PeriodPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1Period] { + return pulumix.Output[*GoogleCloudChannelV1Period]{ + OutputState: i.ToGoogleCloudChannelV1PeriodPtrOutputWithContext(ctx).OutputState, + } +} + // Represents period in days/months/years. type GoogleCloudChannelV1PeriodOutput struct{ *pulumi.OutputState } @@ -1387,6 +1604,12 @@ func (o GoogleCloudChannelV1PeriodOutput) ToGoogleCloudChannelV1PeriodPtrOutputW }).(GoogleCloudChannelV1PeriodPtrOutput) } +func (o GoogleCloudChannelV1PeriodOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1Period] { + return pulumix.Output[GoogleCloudChannelV1Period]{ + OutputState: o.OutputState, + } +} + // Total duration of Period Type defined. func (o GoogleCloudChannelV1PeriodOutput) Duration() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1Period) *int { return v.Duration }).(pulumi.IntPtrOutput) @@ -1411,6 +1634,12 @@ func (o GoogleCloudChannelV1PeriodPtrOutput) ToGoogleCloudChannelV1PeriodPtrOutp return o } +func (o GoogleCloudChannelV1PeriodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1Period] { + return pulumix.Output[*GoogleCloudChannelV1Period]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1PeriodPtrOutput) Elem() GoogleCloudChannelV1PeriodOutput { return o.ApplyT(func(v *GoogleCloudChannelV1Period) GoogleCloudChannelV1Period { if v != nil { @@ -1464,6 +1693,12 @@ func (o GoogleCloudChannelV1PeriodResponseOutput) ToGoogleCloudChannelV1PeriodRe return o } +func (o GoogleCloudChannelV1PeriodResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1PeriodResponse] { + return pulumix.Output[GoogleCloudChannelV1PeriodResponse]{ + OutputState: o.OutputState, + } +} + // Total duration of Period Type defined. func (o GoogleCloudChannelV1PeriodResponseOutput) Duration() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudChannelV1PeriodResponse) int { return v.Duration }).(pulumi.IntOutput) @@ -1499,6 +1734,12 @@ func (o GoogleCloudChannelV1ProvisionedServiceResponseOutput) ToGoogleCloudChann return o } +func (o GoogleCloudChannelV1ProvisionedServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1ProvisionedServiceResponse] { + return pulumix.Output[GoogleCloudChannelV1ProvisionedServiceResponse]{ + OutputState: o.OutputState, + } +} + // The product pertaining to the provisioning resource as specified in the Offer. func (o GoogleCloudChannelV1ProvisionedServiceResponseOutput) ProductId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudChannelV1ProvisionedServiceResponse) string { return v.ProductId }).(pulumi.StringOutput) @@ -1561,6 +1802,12 @@ func (i GoogleCloudChannelV1RenewalSettingsArgs) ToGoogleCloudChannelV1RenewalSe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1RenewalSettingsOutput) } +func (i GoogleCloudChannelV1RenewalSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RenewalSettings] { + return pulumix.Output[GoogleCloudChannelV1RenewalSettings]{ + OutputState: i.ToGoogleCloudChannelV1RenewalSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudChannelV1RenewalSettingsArgs) ToGoogleCloudChannelV1RenewalSettingsPtrOutput() GoogleCloudChannelV1RenewalSettingsPtrOutput { return i.ToGoogleCloudChannelV1RenewalSettingsPtrOutputWithContext(context.Background()) } @@ -1602,6 +1849,12 @@ func (i *googleCloudChannelV1RenewalSettingsPtrType) ToGoogleCloudChannelV1Renew return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1RenewalSettingsPtrOutput) } +func (i *googleCloudChannelV1RenewalSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1RenewalSettings] { + return pulumix.Output[*GoogleCloudChannelV1RenewalSettings]{ + OutputState: i.ToGoogleCloudChannelV1RenewalSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Renewal settings for renewable Offers. type GoogleCloudChannelV1RenewalSettingsOutput struct{ *pulumi.OutputState } @@ -1627,6 +1880,12 @@ func (o GoogleCloudChannelV1RenewalSettingsOutput) ToGoogleCloudChannelV1Renewal }).(GoogleCloudChannelV1RenewalSettingsPtrOutput) } +func (o GoogleCloudChannelV1RenewalSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RenewalSettings] { + return pulumix.Output[GoogleCloudChannelV1RenewalSettings]{ + OutputState: o.OutputState, + } +} + // If false, the plan will be completed at the end date. func (o GoogleCloudChannelV1RenewalSettingsOutput) EnableRenewal() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1RenewalSettings) *bool { return v.EnableRenewal }).(pulumi.BoolPtrOutput) @@ -1663,6 +1922,12 @@ func (o GoogleCloudChannelV1RenewalSettingsPtrOutput) ToGoogleCloudChannelV1Rene return o } +func (o GoogleCloudChannelV1RenewalSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1RenewalSettings] { + return pulumix.Output[*GoogleCloudChannelV1RenewalSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1RenewalSettingsPtrOutput) Elem() GoogleCloudChannelV1RenewalSettingsOutput { return o.ApplyT(func(v *GoogleCloudChannelV1RenewalSettings) GoogleCloudChannelV1RenewalSettings { if v != nil { @@ -1740,6 +2005,12 @@ func (o GoogleCloudChannelV1RenewalSettingsResponseOutput) ToGoogleCloudChannelV return o } +func (o GoogleCloudChannelV1RenewalSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RenewalSettingsResponse] { + return pulumix.Output[GoogleCloudChannelV1RenewalSettingsResponse]{ + OutputState: o.OutputState, + } +} + // If false, the plan will be completed at the end date. func (o GoogleCloudChannelV1RenewalSettingsResponseOutput) EnableRenewal() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudChannelV1RenewalSettingsResponse) bool { return v.EnableRenewal }).(pulumi.BoolOutput) @@ -1797,6 +2068,12 @@ func (i GoogleCloudChannelV1RepricingAdjustmentArgs) ToGoogleCloudChannelV1Repri return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1RepricingAdjustmentOutput) } +func (i GoogleCloudChannelV1RepricingAdjustmentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingAdjustment] { + return pulumix.Output[GoogleCloudChannelV1RepricingAdjustment]{ + OutputState: i.ToGoogleCloudChannelV1RepricingAdjustmentOutputWithContext(ctx).OutputState, + } +} + // A type that represents the various adjustments you can apply to a bill. type GoogleCloudChannelV1RepricingAdjustmentOutput struct{ *pulumi.OutputState } @@ -1812,6 +2089,12 @@ func (o GoogleCloudChannelV1RepricingAdjustmentOutput) ToGoogleCloudChannelV1Rep return o } +func (o GoogleCloudChannelV1RepricingAdjustmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingAdjustment] { + return pulumix.Output[GoogleCloudChannelV1RepricingAdjustment]{ + OutputState: o.OutputState, + } +} + // Flat markup or markdown on an entire bill. func (o GoogleCloudChannelV1RepricingAdjustmentOutput) PercentageAdjustment() GoogleCloudChannelV1PercentageAdjustmentPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1RepricingAdjustment) *GoogleCloudChannelV1PercentageAdjustment { @@ -1840,6 +2123,12 @@ func (o GoogleCloudChannelV1RepricingAdjustmentResponseOutput) ToGoogleCloudChan return o } +func (o GoogleCloudChannelV1RepricingAdjustmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingAdjustmentResponse] { + return pulumix.Output[GoogleCloudChannelV1RepricingAdjustmentResponse]{ + OutputState: o.OutputState, + } +} + // Flat markup or markdown on an entire bill. func (o GoogleCloudChannelV1RepricingAdjustmentResponseOutput) PercentageAdjustment() GoogleCloudChannelV1PercentageAdjustmentResponseOutput { return o.ApplyT(func(v GoogleCloudChannelV1RepricingAdjustmentResponse) GoogleCloudChannelV1PercentageAdjustmentResponse { @@ -1882,6 +2171,12 @@ func (i GoogleCloudChannelV1RepricingConditionArgs) ToGoogleCloudChannelV1Repric return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1RepricingConditionOutput) } +func (i GoogleCloudChannelV1RepricingConditionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingCondition] { + return pulumix.Output[GoogleCloudChannelV1RepricingCondition]{ + OutputState: i.ToGoogleCloudChannelV1RepricingConditionOutputWithContext(ctx).OutputState, + } +} + // Represents the various repricing conditions you can use for a conditional override. type GoogleCloudChannelV1RepricingConditionOutput struct{ *pulumi.OutputState } @@ -1897,6 +2192,12 @@ func (o GoogleCloudChannelV1RepricingConditionOutput) ToGoogleCloudChannelV1Repr return o } +func (o GoogleCloudChannelV1RepricingConditionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingCondition] { + return pulumix.Output[GoogleCloudChannelV1RepricingCondition]{ + OutputState: o.OutputState, + } +} + // SKU Group condition for override. func (o GoogleCloudChannelV1RepricingConditionOutput) SkuGroupCondition() GoogleCloudChannelV1SkuGroupConditionPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1RepricingCondition) *GoogleCloudChannelV1SkuGroupCondition { @@ -1925,6 +2226,12 @@ func (o GoogleCloudChannelV1RepricingConditionResponseOutput) ToGoogleCloudChann return o } +func (o GoogleCloudChannelV1RepricingConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConditionResponse] { + return pulumix.Output[GoogleCloudChannelV1RepricingConditionResponse]{ + OutputState: o.OutputState, + } +} + // SKU Group condition for override. func (o GoogleCloudChannelV1RepricingConditionResponseOutput) SkuGroupCondition() GoogleCloudChannelV1SkuGroupConditionResponseOutput { return o.ApplyT(func(v GoogleCloudChannelV1RepricingConditionResponse) GoogleCloudChannelV1SkuGroupConditionResponse { @@ -1987,6 +2294,12 @@ func (i GoogleCloudChannelV1RepricingConfigArgs) ToGoogleCloudChannelV1Repricing return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1RepricingConfigOutput) } +func (i GoogleCloudChannelV1RepricingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConfig] { + return pulumix.Output[GoogleCloudChannelV1RepricingConfig]{ + OutputState: i.ToGoogleCloudChannelV1RepricingConfigOutputWithContext(ctx).OutputState, + } +} + // Configuration for repricing a Google bill over a period of time. type GoogleCloudChannelV1RepricingConfigOutput struct{ *pulumi.OutputState } @@ -2002,6 +2315,12 @@ func (o GoogleCloudChannelV1RepricingConfigOutput) ToGoogleCloudChannelV1Reprici return o } +func (o GoogleCloudChannelV1RepricingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConfig] { + return pulumix.Output[GoogleCloudChannelV1RepricingConfig]{ + OutputState: o.OutputState, + } +} + // Information about the adjustment. func (o GoogleCloudChannelV1RepricingConfigOutput) Adjustment() GoogleCloudChannelV1RepricingAdjustmentOutput { return o.ApplyT(func(v GoogleCloudChannelV1RepricingConfig) GoogleCloudChannelV1RepricingAdjustment { @@ -2073,6 +2392,12 @@ func (i GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityArgs) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityOutput) } +func (i GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity] { + return pulumix.Output[GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity]{ + OutputState: i.ToGoogleCloudChannelV1RepricingConfigChannelPartnerGranularityOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityArgs) ToGoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutput() GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutput { return i.ToGoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutputWithContext(context.Background()) } @@ -2114,6 +2439,12 @@ func (i *googleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrType) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutput) } +func (i *googleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity] { + return pulumix.Output[*GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity]{ + OutputState: i.ToGoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutputWithContext(ctx).OutputState, + } +} + // Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object. type GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityOutput struct{ *pulumi.OutputState } @@ -2139,6 +2470,12 @@ func (o GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityOutput) ToGo }).(GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutput) } +func (o GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity] { + return pulumix.Output[GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity]{ + OutputState: o.OutputState, + } +} + type GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutput) ElementType() reflect.Type { @@ -2153,6 +2490,12 @@ func (o GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutput) T return o } +func (o GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity] { + return pulumix.Output[*GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityPtrOutput) Elem() GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityOutput { return o.ApplyT(func(v *GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity) GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity { if v != nil { @@ -2182,6 +2525,12 @@ func (o GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityResponseOutp return o } +func (o GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityResponse] { + return pulumix.Output[GoogleCloudChannelV1RepricingConfigChannelPartnerGranularityResponse]{ + OutputState: o.OutputState, + } +} + // Applies the repricing configuration at the entitlement level. type GoogleCloudChannelV1RepricingConfigEntitlementGranularity struct { // Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} @@ -2217,6 +2566,12 @@ func (i GoogleCloudChannelV1RepricingConfigEntitlementGranularityArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1RepricingConfigEntitlementGranularityOutput) } +func (i GoogleCloudChannelV1RepricingConfigEntitlementGranularityArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConfigEntitlementGranularity] { + return pulumix.Output[GoogleCloudChannelV1RepricingConfigEntitlementGranularity]{ + OutputState: i.ToGoogleCloudChannelV1RepricingConfigEntitlementGranularityOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudChannelV1RepricingConfigEntitlementGranularityArgs) ToGoogleCloudChannelV1RepricingConfigEntitlementGranularityPtrOutput() GoogleCloudChannelV1RepricingConfigEntitlementGranularityPtrOutput { return i.ToGoogleCloudChannelV1RepricingConfigEntitlementGranularityPtrOutputWithContext(context.Background()) } @@ -2258,6 +2613,12 @@ func (i *googleCloudChannelV1RepricingConfigEntitlementGranularityPtrType) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1RepricingConfigEntitlementGranularityPtrOutput) } +func (i *googleCloudChannelV1RepricingConfigEntitlementGranularityPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1RepricingConfigEntitlementGranularity] { + return pulumix.Output[*GoogleCloudChannelV1RepricingConfigEntitlementGranularity]{ + OutputState: i.ToGoogleCloudChannelV1RepricingConfigEntitlementGranularityPtrOutputWithContext(ctx).OutputState, + } +} + // Applies the repricing configuration at the entitlement level. type GoogleCloudChannelV1RepricingConfigEntitlementGranularityOutput struct{ *pulumi.OutputState } @@ -2283,6 +2644,12 @@ func (o GoogleCloudChannelV1RepricingConfigEntitlementGranularityOutput) ToGoogl }).(GoogleCloudChannelV1RepricingConfigEntitlementGranularityPtrOutput) } +func (o GoogleCloudChannelV1RepricingConfigEntitlementGranularityOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConfigEntitlementGranularity] { + return pulumix.Output[GoogleCloudChannelV1RepricingConfigEntitlementGranularity]{ + OutputState: o.OutputState, + } +} + // Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} func (o GoogleCloudChannelV1RepricingConfigEntitlementGranularityOutput) Entitlement() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1RepricingConfigEntitlementGranularity) *string { return v.Entitlement }).(pulumi.StringPtrOutput) @@ -2302,6 +2669,12 @@ func (o GoogleCloudChannelV1RepricingConfigEntitlementGranularityPtrOutput) ToGo return o } +func (o GoogleCloudChannelV1RepricingConfigEntitlementGranularityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1RepricingConfigEntitlementGranularity] { + return pulumix.Output[*GoogleCloudChannelV1RepricingConfigEntitlementGranularity]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1RepricingConfigEntitlementGranularityPtrOutput) Elem() GoogleCloudChannelV1RepricingConfigEntitlementGranularityOutput { return o.ApplyT(func(v *GoogleCloudChannelV1RepricingConfigEntitlementGranularity) GoogleCloudChannelV1RepricingConfigEntitlementGranularity { if v != nil { @@ -2343,6 +2716,12 @@ func (o GoogleCloudChannelV1RepricingConfigEntitlementGranularityResponseOutput) return o } +func (o GoogleCloudChannelV1RepricingConfigEntitlementGranularityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConfigEntitlementGranularityResponse] { + return pulumix.Output[GoogleCloudChannelV1RepricingConfigEntitlementGranularityResponse]{ + OutputState: o.OutputState, + } +} + // Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} func (o GoogleCloudChannelV1RepricingConfigEntitlementGranularityResponseOutput) Entitlement() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudChannelV1RepricingConfigEntitlementGranularityResponse) string { return v.Entitlement }).(pulumi.StringOutput) @@ -2379,6 +2758,12 @@ func (o GoogleCloudChannelV1RepricingConfigResponseOutput) ToGoogleCloudChannelV return o } +func (o GoogleCloudChannelV1RepricingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1RepricingConfigResponse] { + return pulumix.Output[GoogleCloudChannelV1RepricingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Information about the adjustment. func (o GoogleCloudChannelV1RepricingConfigResponseOutput) Adjustment() GoogleCloudChannelV1RepricingAdjustmentResponseOutput { return o.ApplyT(func(v GoogleCloudChannelV1RepricingConfigResponse) GoogleCloudChannelV1RepricingAdjustmentResponse { @@ -2454,6 +2839,12 @@ func (i GoogleCloudChannelV1SkuGroupConditionArgs) ToGoogleCloudChannelV1SkuGrou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1SkuGroupConditionOutput) } +func (i GoogleCloudChannelV1SkuGroupConditionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1SkuGroupCondition] { + return pulumix.Output[GoogleCloudChannelV1SkuGroupCondition]{ + OutputState: i.ToGoogleCloudChannelV1SkuGroupConditionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudChannelV1SkuGroupConditionArgs) ToGoogleCloudChannelV1SkuGroupConditionPtrOutput() GoogleCloudChannelV1SkuGroupConditionPtrOutput { return i.ToGoogleCloudChannelV1SkuGroupConditionPtrOutputWithContext(context.Background()) } @@ -2495,6 +2886,12 @@ func (i *googleCloudChannelV1SkuGroupConditionPtrType) ToGoogleCloudChannelV1Sku return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1SkuGroupConditionPtrOutput) } +func (i *googleCloudChannelV1SkuGroupConditionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1SkuGroupCondition] { + return pulumix.Output[*GoogleCloudChannelV1SkuGroupCondition]{ + OutputState: i.ToGoogleCloudChannelV1SkuGroupConditionPtrOutputWithContext(ctx).OutputState, + } +} + // A condition that applies the override if a line item SKU is found in the SKU group. type GoogleCloudChannelV1SkuGroupConditionOutput struct{ *pulumi.OutputState } @@ -2520,6 +2917,12 @@ func (o GoogleCloudChannelV1SkuGroupConditionOutput) ToGoogleCloudChannelV1SkuGr }).(GoogleCloudChannelV1SkuGroupConditionPtrOutput) } +func (o GoogleCloudChannelV1SkuGroupConditionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1SkuGroupCondition] { + return pulumix.Output[GoogleCloudChannelV1SkuGroupCondition]{ + OutputState: o.OutputState, + } +} + // Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041". func (o GoogleCloudChannelV1SkuGroupConditionOutput) SkuGroup() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1SkuGroupCondition) *string { return v.SkuGroup }).(pulumi.StringPtrOutput) @@ -2539,6 +2942,12 @@ func (o GoogleCloudChannelV1SkuGroupConditionPtrOutput) ToGoogleCloudChannelV1Sk return o } +func (o GoogleCloudChannelV1SkuGroupConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1SkuGroupCondition] { + return pulumix.Output[*GoogleCloudChannelV1SkuGroupCondition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1SkuGroupConditionPtrOutput) Elem() GoogleCloudChannelV1SkuGroupConditionOutput { return o.ApplyT(func(v *GoogleCloudChannelV1SkuGroupCondition) GoogleCloudChannelV1SkuGroupCondition { if v != nil { @@ -2580,6 +2989,12 @@ func (o GoogleCloudChannelV1SkuGroupConditionResponseOutput) ToGoogleCloudChanne return o } +func (o GoogleCloudChannelV1SkuGroupConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1SkuGroupConditionResponse] { + return pulumix.Output[GoogleCloudChannelV1SkuGroupConditionResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041". func (o GoogleCloudChannelV1SkuGroupConditionResponseOutput) SkuGroup() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudChannelV1SkuGroupConditionResponse) string { return v.SkuGroup }).(pulumi.StringOutput) @@ -2608,6 +3023,12 @@ func (o GoogleCloudChannelV1TrialSettingsResponseOutput) ToGoogleCloudChannelV1T return o } +func (o GoogleCloudChannelV1TrialSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1TrialSettingsResponse] { + return pulumix.Output[GoogleCloudChannelV1TrialSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Date when the trial ends. The value is in milliseconds using the UNIX Epoch format. See an example [Epoch converter](https://www.epochconverter.com). func (o GoogleCloudChannelV1TrialSettingsResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudChannelV1TrialSettingsResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -2669,6 +3090,12 @@ func (i GoogleCloudChannelV1ValueArgs) ToGoogleCloudChannelV1ValueOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1ValueOutput) } +func (i GoogleCloudChannelV1ValueArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1Value] { + return pulumix.Output[GoogleCloudChannelV1Value]{ + OutputState: i.ToGoogleCloudChannelV1ValueOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudChannelV1ValueArgs) ToGoogleCloudChannelV1ValuePtrOutput() GoogleCloudChannelV1ValuePtrOutput { return i.ToGoogleCloudChannelV1ValuePtrOutputWithContext(context.Background()) } @@ -2710,6 +3137,12 @@ func (i *googleCloudChannelV1ValuePtrType) ToGoogleCloudChannelV1ValuePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudChannelV1ValuePtrOutput) } +func (i *googleCloudChannelV1ValuePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1Value] { + return pulumix.Output[*GoogleCloudChannelV1Value]{ + OutputState: i.ToGoogleCloudChannelV1ValuePtrOutputWithContext(ctx).OutputState, + } +} + // Data type and value of a parameter. type GoogleCloudChannelV1ValueOutput struct{ *pulumi.OutputState } @@ -2735,6 +3168,12 @@ func (o GoogleCloudChannelV1ValueOutput) ToGoogleCloudChannelV1ValuePtrOutputWit }).(GoogleCloudChannelV1ValuePtrOutput) } +func (o GoogleCloudChannelV1ValueOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1Value] { + return pulumix.Output[GoogleCloudChannelV1Value]{ + OutputState: o.OutputState, + } +} + // Represents a boolean value. func (o GoogleCloudChannelV1ValueOutput) BoolValue() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudChannelV1Value) *bool { return v.BoolValue }).(pulumi.BoolPtrOutput) @@ -2774,6 +3213,12 @@ func (o GoogleCloudChannelV1ValuePtrOutput) ToGoogleCloudChannelV1ValuePtrOutput return o } +func (o GoogleCloudChannelV1ValuePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudChannelV1Value] { + return pulumix.Output[*GoogleCloudChannelV1Value]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudChannelV1ValuePtrOutput) Elem() GoogleCloudChannelV1ValueOutput { return o.ApplyT(func(v *GoogleCloudChannelV1Value) GoogleCloudChannelV1Value { if v != nil { @@ -2863,6 +3308,12 @@ func (o GoogleCloudChannelV1ValueResponseOutput) ToGoogleCloudChannelV1ValueResp return o } +func (o GoogleCloudChannelV1ValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudChannelV1ValueResponse] { + return pulumix.Output[GoogleCloudChannelV1ValueResponse]{ + OutputState: o.OutputState, + } +} + // Represents a boolean value. func (o GoogleCloudChannelV1ValueResponseOutput) BoolValue() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudChannelV1ValueResponse) bool { return v.BoolValue }).(pulumi.BoolOutput) @@ -2931,6 +3382,12 @@ func (i GoogleTypeDateArgs) ToGoogleTypeDateOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDateOutput) } +func (i GoogleTypeDateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDate] { + return pulumix.Output[GoogleTypeDate]{ + OutputState: i.ToGoogleTypeDateOutputWithContext(ctx).OutputState, + } +} + // Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp type GoogleTypeDateOutput struct{ *pulumi.OutputState } @@ -2946,6 +3403,12 @@ func (o GoogleTypeDateOutput) ToGoogleTypeDateOutputWithContext(ctx context.Cont return o } +func (o GoogleTypeDateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDate] { + return pulumix.Output[GoogleTypeDate]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateOutput) Day() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleTypeDate) *int { return v.Day }).(pulumi.IntPtrOutput) @@ -2986,6 +3449,12 @@ func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext( return o } +func (o GoogleTypeDateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDateResponse] { + return pulumix.Output[GoogleTypeDateResponse]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v GoogleTypeDateResponse) int { return v.Day }).(pulumi.IntOutput) @@ -3036,6 +3505,12 @@ func (i GoogleTypeDecimalArgs) ToGoogleTypeDecimalOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDecimalOutput) } +func (i GoogleTypeDecimalArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDecimal] { + return pulumix.Output[GoogleTypeDecimal]{ + OutputState: i.ToGoogleTypeDecimalOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeDecimalArgs) ToGoogleTypeDecimalPtrOutput() GoogleTypeDecimalPtrOutput { return i.ToGoogleTypeDecimalPtrOutputWithContext(context.Background()) } @@ -3077,6 +3552,12 @@ func (i *googleTypeDecimalPtrType) ToGoogleTypeDecimalPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDecimalPtrOutput) } +func (i *googleTypeDecimalPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDecimal] { + return pulumix.Output[*GoogleTypeDecimal]{ + OutputState: i.ToGoogleTypeDecimalPtrOutputWithContext(ctx).OutputState, + } +} + // A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's BigDecimal or Python's decimal.Decimal. [BigDecimal]: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html [decimal.Decimal]: https://docs.python.org/3/library/decimal.html type GoogleTypeDecimalOutput struct{ *pulumi.OutputState } @@ -3102,6 +3583,12 @@ func (o GoogleTypeDecimalOutput) ToGoogleTypeDecimalPtrOutputWithContext(ctx con }).(GoogleTypeDecimalPtrOutput) } +func (o GoogleTypeDecimalOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDecimal] { + return pulumix.Output[GoogleTypeDecimal]{ + OutputState: o.OutputState, + } +} + // The decimal value, as a string. The string representation consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the integer"), optionally followed by a fraction, optionally followed by an exponent. An empty string **should** be interpreted as `0`. The fraction consists of a decimal point followed by zero or more decimal digits. The string must contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is referred to as the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal values before storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper-case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs and the internal decimal implementation selected, such as shifting the decimal point and exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve trailing zeroes in the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported to divide the integer and the fraction; `,` **should not** be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does support them, values **must** be normalized. The ENBF grammar is: DecimalString = ” | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range of supported values, the maximum supported precision (total number of digits), and, if applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving out-of-bounds values. Services **may** choose to accept values passed as input even when the value has a higher precision or scale than the service supports, and **should** round the value to fit the supported scale. Alternatively, the service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of the supported range. func (o GoogleTypeDecimalOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeDecimal) *string { return v.Value }).(pulumi.StringPtrOutput) @@ -3121,6 +3608,12 @@ func (o GoogleTypeDecimalPtrOutput) ToGoogleTypeDecimalPtrOutputWithContext(ctx return o } +func (o GoogleTypeDecimalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDecimal] { + return pulumix.Output[*GoogleTypeDecimal]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeDecimalPtrOutput) Elem() GoogleTypeDecimalOutput { return o.ApplyT(func(v *GoogleTypeDecimal) GoogleTypeDecimal { if v != nil { @@ -3162,6 +3655,12 @@ func (o GoogleTypeDecimalResponseOutput) ToGoogleTypeDecimalResponseOutputWithCo return o } +func (o GoogleTypeDecimalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDecimalResponse] { + return pulumix.Output[GoogleTypeDecimalResponse]{ + OutputState: o.OutputState, + } +} + // The decimal value, as a string. The string representation consists of an optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of zero or more decimal digits ("the integer"), optionally followed by a fraction, optionally followed by an exponent. An empty string **should** be interpreted as `0`. The fraction consists of a decimal point followed by zero or more decimal digits. The string must contain at least one digit in either the integer or the fraction. The number formed by the sign, the integer and the fraction is referred to as the significand. The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal digits. Services **should** normalize decimal values before storing them by: - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent character to upper-case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing an explicitly-provided zero exponent (`2.5E0` -> `2.5`). Services **may** perform additional normalization based on its own needs and the internal decimal implementation selected, such as shifting the decimal point and exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services **may** preserve trailing zeroes in the fraction to indicate increased precision, but are not required to do so. Note that only the `.` character is supported to divide the integer and the fraction; `,` **should not** be supported regardless of locale. Additionally, thousand separators **should not** be supported. If a service does support them, values **must** be normalized. The ENBF grammar is: DecimalString = ” | [Sign] Significand [Exponent]; Sign = '+' | '-'; Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | 'E') [Sign] Digits; Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; Services **should** clearly document the range of supported values, the maximum supported precision (total number of digits), and, if applicable, the scale (number of digits after the decimal point), as well as how it behaves when receiving out-of-bounds values. Services **may** choose to accept values passed as input even when the value has a higher precision or scale than the service supports, and **should** round the value to fit the supported scale. Alternatively, the service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service receives a value outside of the supported range. func (o GoogleTypeDecimalResponseOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeDecimalResponse) string { return v.Value }).(pulumi.StringOutput) @@ -3242,6 +3741,12 @@ func (i GoogleTypePostalAddressArgs) ToGoogleTypePostalAddressOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GoogleTypePostalAddressOutput) } +func (i GoogleTypePostalAddressArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypePostalAddress] { + return pulumix.Output[GoogleTypePostalAddress]{ + OutputState: i.ToGoogleTypePostalAddressOutputWithContext(ctx).OutputState, + } +} + // Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 type GoogleTypePostalAddressOutput struct{ *pulumi.OutputState } @@ -3257,6 +3762,12 @@ func (o GoogleTypePostalAddressOutput) ToGoogleTypePostalAddressOutputWithContex return o } +func (o GoogleTypePostalAddressOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypePostalAddress] { + return pulumix.Output[GoogleTypePostalAddress]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o GoogleTypePostalAddressOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleTypePostalAddress) []string { return v.AddressLines }).(pulumi.StringArrayOutput) @@ -3353,6 +3864,12 @@ func (o GoogleTypePostalAddressResponseOutput) ToGoogleTypePostalAddressResponse return o } +func (o GoogleTypePostalAddressResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypePostalAddressResponse] { + return pulumix.Output[GoogleTypePostalAddressResponse]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o GoogleTypePostalAddressResponseOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleTypePostalAddressResponse) []string { return v.AddressLines }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/clouddeploy/v1/deliveryPipeline.go b/sdk/go/google/clouddeploy/v1/deliveryPipeline.go index fb32b39e70..3e6689a846 100644 --- a/sdk/go/google/clouddeploy/v1/deliveryPipeline.go +++ b/sdk/go/google/clouddeploy/v1/deliveryPipeline.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new DeliveryPipeline in a given project and location. @@ -165,6 +166,12 @@ func (i *DeliveryPipeline) ToDeliveryPipelineOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DeliveryPipelineOutput) } +func (i *DeliveryPipeline) ToOutput(ctx context.Context) pulumix.Output[*DeliveryPipeline] { + return pulumix.Output[*DeliveryPipeline]{ + OutputState: i.ToDeliveryPipelineOutputWithContext(ctx).OutputState, + } +} + type DeliveryPipelineOutput struct{ *pulumi.OutputState } func (DeliveryPipelineOutput) ElementType() reflect.Type { @@ -179,6 +186,12 @@ func (o DeliveryPipelineOutput) ToDeliveryPipelineOutputWithContext(ctx context. return o } +func (o DeliveryPipelineOutput) ToOutput(ctx context.Context) pulumix.Output[*DeliveryPipeline] { + return pulumix.Output[*DeliveryPipeline]{ + OutputState: o.OutputState, + } +} + // User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. func (o DeliveryPipelineOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *DeliveryPipeline) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/clouddeploy/v1/deliveryPipelineIamBinding.go b/sdk/go/google/clouddeploy/v1/deliveryPipelineIamBinding.go index 9e12f9937d..db98a5191f 100644 --- a/sdk/go/google/clouddeploy/v1/deliveryPipelineIamBinding.go +++ b/sdk/go/google/clouddeploy/v1/deliveryPipelineIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DeliveryPipelineIamBinding) ToDeliveryPipelineIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DeliveryPipelineIamBindingOutput) } +func (i *DeliveryPipelineIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DeliveryPipelineIamBinding] { + return pulumix.Output[*DeliveryPipelineIamBinding]{ + OutputState: i.ToDeliveryPipelineIamBindingOutputWithContext(ctx).OutputState, + } +} + type DeliveryPipelineIamBindingOutput struct{ *pulumi.OutputState } func (DeliveryPipelineIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DeliveryPipelineIamBindingOutput) ToDeliveryPipelineIamBindingOutputWith return o } +func (o DeliveryPipelineIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DeliveryPipelineIamBinding] { + return pulumix.Output[*DeliveryPipelineIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DeliveryPipelineIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DeliveryPipelineIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/clouddeploy/v1/deliveryPipelineIamMember.go b/sdk/go/google/clouddeploy/v1/deliveryPipelineIamMember.go index 79c2beb5a6..c43befd418 100644 --- a/sdk/go/google/clouddeploy/v1/deliveryPipelineIamMember.go +++ b/sdk/go/google/clouddeploy/v1/deliveryPipelineIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DeliveryPipelineIamMember) ToDeliveryPipelineIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DeliveryPipelineIamMemberOutput) } +func (i *DeliveryPipelineIamMember) ToOutput(ctx context.Context) pulumix.Output[*DeliveryPipelineIamMember] { + return pulumix.Output[*DeliveryPipelineIamMember]{ + OutputState: i.ToDeliveryPipelineIamMemberOutputWithContext(ctx).OutputState, + } +} + type DeliveryPipelineIamMemberOutput struct{ *pulumi.OutputState } func (DeliveryPipelineIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DeliveryPipelineIamMemberOutput) ToDeliveryPipelineIamMemberOutputWithCo return o } +func (o DeliveryPipelineIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DeliveryPipelineIamMember] { + return pulumix.Output[*DeliveryPipelineIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DeliveryPipelineIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DeliveryPipelineIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/clouddeploy/v1/deliveryPipelineIamPolicy.go b/sdk/go/google/clouddeploy/v1/deliveryPipelineIamPolicy.go index bbd90ffbee..d11f50e96a 100644 --- a/sdk/go/google/clouddeploy/v1/deliveryPipelineIamPolicy.go +++ b/sdk/go/google/clouddeploy/v1/deliveryPipelineIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DeliveryPipelineIamPolicy) ToDeliveryPipelineIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DeliveryPipelineIamPolicyOutput) } +func (i *DeliveryPipelineIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DeliveryPipelineIamPolicy] { + return pulumix.Output[*DeliveryPipelineIamPolicy]{ + OutputState: i.ToDeliveryPipelineIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DeliveryPipelineIamPolicyOutput struct{ *pulumi.OutputState } func (DeliveryPipelineIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DeliveryPipelineIamPolicyOutput) ToDeliveryPipelineIamPolicyOutputWithCo return o } +func (o DeliveryPipelineIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DeliveryPipelineIamPolicy] { + return pulumix.Output[*DeliveryPipelineIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DeliveryPipelineIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DeliveryPipelineIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/clouddeploy/v1/getDeliveryPipeline.go b/sdk/go/google/clouddeploy/v1/getDeliveryPipeline.go index 2c5075e937..34e2b185a7 100644 --- a/sdk/go/google/clouddeploy/v1/getDeliveryPipeline.go +++ b/sdk/go/google/clouddeploy/v1/getDeliveryPipeline.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single DeliveryPipeline. @@ -90,6 +91,12 @@ func (o LookupDeliveryPipelineResultOutput) ToLookupDeliveryPipelineResultOutput return o } +func (o LookupDeliveryPipelineResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeliveryPipelineResult] { + return pulumix.Output[LookupDeliveryPipelineResult]{ + OutputState: o.OutputState, + } +} + // User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. func (o LookupDeliveryPipelineResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupDeliveryPipelineResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/clouddeploy/v1/getDeliveryPipelineIamPolicy.go b/sdk/go/google/clouddeploy/v1/getDeliveryPipelineIamPolicy.go index a4c0e046cf..c73e67f687 100644 --- a/sdk/go/google/clouddeploy/v1/getDeliveryPipelineIamPolicy.go +++ b/sdk/go/google/clouddeploy/v1/getDeliveryPipelineIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupDeliveryPipelineIamPolicyResultOutput) ToLookupDeliveryPipelineIam return o } +func (o LookupDeliveryPipelineIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeliveryPipelineIamPolicyResult] { + return pulumix.Output[LookupDeliveryPipelineIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDeliveryPipelineIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDeliveryPipelineIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/clouddeploy/v1/getRelease.go b/sdk/go/google/clouddeploy/v1/getRelease.go index 5b50c5b03b..6817afda3c 100644 --- a/sdk/go/google/clouddeploy/v1/getRelease.go +++ b/sdk/go/google/clouddeploy/v1/getRelease.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Release. @@ -110,6 +111,12 @@ func (o LookupReleaseResultOutput) ToLookupReleaseResultOutputWithContext(ctx co return o } +func (o LookupReleaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReleaseResult] { + return pulumix.Output[LookupReleaseResult]{ + OutputState: o.OutputState, + } +} + // Indicates whether this is an abandoned release. func (o LookupReleaseResultOutput) Abandoned() pulumi.BoolOutput { return o.ApplyT(func(v LookupReleaseResult) bool { return v.Abandoned }).(pulumi.BoolOutput) diff --git a/sdk/go/google/clouddeploy/v1/getRollout.go b/sdk/go/google/clouddeploy/v1/getRollout.go index c72cb0ae2d..bfbf4bdb29 100644 --- a/sdk/go/google/clouddeploy/v1/getRollout.go +++ b/sdk/go/google/clouddeploy/v1/getRollout.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Rollout. @@ -112,6 +113,12 @@ func (o LookupRolloutResultOutput) ToLookupRolloutResultOutputWithContext(ctx co return o } +func (o LookupRolloutResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRolloutResult] { + return pulumix.Output[LookupRolloutResult]{ + OutputState: o.OutputState, + } +} + // User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. func (o LookupRolloutResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupRolloutResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/clouddeploy/v1/getTarget.go b/sdk/go/google/clouddeploy/v1/getTarget.go index 744a81ffff..b2cd71e48d 100644 --- a/sdk/go/google/clouddeploy/v1/getTarget.go +++ b/sdk/go/google/clouddeploy/v1/getTarget.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Target. @@ -98,6 +99,12 @@ func (o LookupTargetResultOutput) ToLookupTargetResultOutputWithContext(ctx cont return o } +func (o LookupTargetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetResult] { + return pulumix.Output[LookupTargetResult]{ + OutputState: o.OutputState, + } +} + // Optional. User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. func (o LookupTargetResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupTargetResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/clouddeploy/v1/getTargetIamPolicy.go b/sdk/go/google/clouddeploy/v1/getTargetIamPolicy.go index db63cefd5f..7e21b9b1e2 100644 --- a/sdk/go/google/clouddeploy/v1/getTargetIamPolicy.go +++ b/sdk/go/google/clouddeploy/v1/getTargetIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupTargetIamPolicyResultOutput) ToLookupTargetIamPolicyResultOutputWi return o } +func (o LookupTargetIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetIamPolicyResult] { + return pulumix.Output[LookupTargetIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupTargetIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupTargetIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/clouddeploy/v1/pulumiEnums.go b/sdk/go/google/clouddeploy/v1/pulumiEnums.go index 754261836d..fbebf2a0cd 100644 --- a/sdk/go/google/clouddeploy/v1/pulumiEnums.go +++ b/sdk/go/google/clouddeploy/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + type ExecutionConfigUsagesItem string const ( @@ -254,6 +273,12 @@ func (o ExecutionConfigUsagesItemOutput) ToExecutionConfigUsagesItemPtrOutputWit }).(ExecutionConfigUsagesItemPtrOutput) } +func (o ExecutionConfigUsagesItemOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionConfigUsagesItem] { + return pulumix.Output[ExecutionConfigUsagesItem]{ + OutputState: o.OutputState, + } +} + func (o ExecutionConfigUsagesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -289,6 +314,12 @@ func (o ExecutionConfigUsagesItemPtrOutput) ToExecutionConfigUsagesItemPtrOutput return o } +func (o ExecutionConfigUsagesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecutionConfigUsagesItem] { + return pulumix.Output[*ExecutionConfigUsagesItem]{ + OutputState: o.OutputState, + } +} + func (o ExecutionConfigUsagesItemPtrOutput) Elem() ExecutionConfigUsagesItemOutput { return o.ApplyT(func(v *ExecutionConfigUsagesItem) ExecutionConfigUsagesItem { if v != nil { @@ -351,6 +382,12 @@ func (in *executionConfigUsagesItemPtr) ToExecutionConfigUsagesItemPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ExecutionConfigUsagesItemPtrOutput) } +func (in *executionConfigUsagesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ExecutionConfigUsagesItem] { + return pulumix.Output[*ExecutionConfigUsagesItem]{ + OutputState: in.ToExecutionConfigUsagesItemPtrOutputWithContext(ctx).OutputState, + } +} + // ExecutionConfigUsagesItemArrayInput is an input type that accepts ExecutionConfigUsagesItemArray and ExecutionConfigUsagesItemArrayOutput values. // You can construct a concrete instance of `ExecutionConfigUsagesItemArrayInput` via: // @@ -376,6 +413,12 @@ func (i ExecutionConfigUsagesItemArray) ToExecutionConfigUsagesItemArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(ExecutionConfigUsagesItemArrayOutput) } +func (i ExecutionConfigUsagesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionConfigUsagesItem] { + return pulumix.Output[[]ExecutionConfigUsagesItem]{ + OutputState: i.ToExecutionConfigUsagesItemArrayOutputWithContext(ctx).OutputState, + } +} + type ExecutionConfigUsagesItemArrayOutput struct{ *pulumi.OutputState } func (ExecutionConfigUsagesItemArrayOutput) ElementType() reflect.Type { @@ -390,6 +433,12 @@ func (o ExecutionConfigUsagesItemArrayOutput) ToExecutionConfigUsagesItemArrayOu return o } +func (o ExecutionConfigUsagesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionConfigUsagesItem] { + return pulumix.Output[[]ExecutionConfigUsagesItem]{ + OutputState: o.OutputState, + } +} + func (o ExecutionConfigUsagesItemArrayOutput) Index(i pulumi.IntInput) ExecutionConfigUsagesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExecutionConfigUsagesItem { return vs[0].([]ExecutionConfigUsagesItem)[vs[1].(int)] diff --git a/sdk/go/google/clouddeploy/v1/pulumiTypes.go b/sdk/go/google/clouddeploy/v1/pulumiTypes.go index 83418287d6..7e4efda9dc 100644 --- a/sdk/go/google/clouddeploy/v1/pulumiTypes.go +++ b/sdk/go/google/clouddeploy/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -32,6 +33,12 @@ func (o AdvanceChildRolloutJobResponseOutput) ToAdvanceChildRolloutJobResponseOu return o } +func (o AdvanceChildRolloutJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdvanceChildRolloutJobResponse] { + return pulumix.Output[AdvanceChildRolloutJobResponse]{ + OutputState: o.OutputState, + } +} + // Information specifying an Anthos Cluster. type AnthosCluster struct { // Membership of the GKE Hub-registered cluster to which to apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`. @@ -67,6 +74,12 @@ func (i AnthosClusterArgs) ToAnthosClusterOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AnthosClusterOutput) } +func (i AnthosClusterArgs) ToOutput(ctx context.Context) pulumix.Output[AnthosCluster] { + return pulumix.Output[AnthosCluster]{ + OutputState: i.ToAnthosClusterOutputWithContext(ctx).OutputState, + } +} + func (i AnthosClusterArgs) ToAnthosClusterPtrOutput() AnthosClusterPtrOutput { return i.ToAnthosClusterPtrOutputWithContext(context.Background()) } @@ -108,6 +121,12 @@ func (i *anthosClusterPtrType) ToAnthosClusterPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AnthosClusterPtrOutput) } +func (i *anthosClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnthosCluster] { + return pulumix.Output[*AnthosCluster]{ + OutputState: i.ToAnthosClusterPtrOutputWithContext(ctx).OutputState, + } +} + // Information specifying an Anthos Cluster. type AnthosClusterOutput struct{ *pulumi.OutputState } @@ -133,6 +152,12 @@ func (o AnthosClusterOutput) ToAnthosClusterPtrOutputWithContext(ctx context.Con }).(AnthosClusterPtrOutput) } +func (o AnthosClusterOutput) ToOutput(ctx context.Context) pulumix.Output[AnthosCluster] { + return pulumix.Output[AnthosCluster]{ + OutputState: o.OutputState, + } +} + // Membership of the GKE Hub-registered cluster to which to apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`. func (o AnthosClusterOutput) Membership() pulumi.StringPtrOutput { return o.ApplyT(func(v AnthosCluster) *string { return v.Membership }).(pulumi.StringPtrOutput) @@ -152,6 +177,12 @@ func (o AnthosClusterPtrOutput) ToAnthosClusterPtrOutputWithContext(ctx context. return o } +func (o AnthosClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnthosCluster] { + return pulumix.Output[*AnthosCluster]{ + OutputState: o.OutputState, + } +} + func (o AnthosClusterPtrOutput) Elem() AnthosClusterOutput { return o.ApplyT(func(v *AnthosCluster) AnthosCluster { if v != nil { @@ -193,6 +224,12 @@ func (o AnthosClusterResponseOutput) ToAnthosClusterResponseOutputWithContext(ct return o } +func (o AnthosClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnthosClusterResponse] { + return pulumix.Output[AnthosClusterResponse]{ + OutputState: o.OutputState, + } +} + // Membership of the GKE Hub-registered cluster to which to apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`. func (o AnthosClusterResponseOutput) Membership() pulumi.StringOutput { return o.ApplyT(func(v AnthosClusterResponse) string { return v.Membership }).(pulumi.StringOutput) @@ -237,6 +274,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -262,6 +305,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -277,6 +326,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -301,6 +356,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -330,6 +391,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -354,6 +421,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -399,6 +472,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -424,6 +503,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -439,6 +524,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -463,6 +554,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -492,6 +589,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -516,6 +619,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -565,6 +674,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -590,6 +705,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -605,6 +726,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -634,6 +761,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -665,6 +798,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -694,6 +833,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -739,6 +884,12 @@ func (i BuildArtifactArgs) ToBuildArtifactOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BuildArtifactOutput) } +func (i BuildArtifactArgs) ToOutput(ctx context.Context) pulumix.Output[BuildArtifact] { + return pulumix.Output[BuildArtifact]{ + OutputState: i.ToBuildArtifactOutputWithContext(ctx).OutputState, + } +} + // BuildArtifactArrayInput is an input type that accepts BuildArtifactArray and BuildArtifactArrayOutput values. // You can construct a concrete instance of `BuildArtifactArrayInput` via: // @@ -764,6 +915,12 @@ func (i BuildArtifactArray) ToBuildArtifactArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(BuildArtifactArrayOutput) } +func (i BuildArtifactArray) ToOutput(ctx context.Context) pulumix.Output[[]BuildArtifact] { + return pulumix.Output[[]BuildArtifact]{ + OutputState: i.ToBuildArtifactArrayOutputWithContext(ctx).OutputState, + } +} + // Description of an a image to use during Skaffold rendering. type BuildArtifactOutput struct{ *pulumi.OutputState } @@ -779,6 +936,12 @@ func (o BuildArtifactOutput) ToBuildArtifactOutputWithContext(ctx context.Contex return o } +func (o BuildArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[BuildArtifact] { + return pulumix.Output[BuildArtifact]{ + OutputState: o.OutputState, + } +} + // Image name in Skaffold configuration. func (o BuildArtifactOutput) Image() pulumi.StringPtrOutput { return o.ApplyT(func(v BuildArtifact) *string { return v.Image }).(pulumi.StringPtrOutput) @@ -803,6 +966,12 @@ func (o BuildArtifactArrayOutput) ToBuildArtifactArrayOutputWithContext(ctx cont return o } +func (o BuildArtifactArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BuildArtifact] { + return pulumix.Output[[]BuildArtifact]{ + OutputState: o.OutputState, + } +} + func (o BuildArtifactArrayOutput) Index(i pulumi.IntInput) BuildArtifactOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildArtifact { return vs[0].([]BuildArtifact)[vs[1].(int)] @@ -832,6 +1001,12 @@ func (o BuildArtifactResponseOutput) ToBuildArtifactResponseOutputWithContext(ct return o } +func (o BuildArtifactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildArtifactResponse] { + return pulumix.Output[BuildArtifactResponse]{ + OutputState: o.OutputState, + } +} + // Image name in Skaffold configuration. func (o BuildArtifactResponseOutput) Image() pulumi.StringOutput { return o.ApplyT(func(v BuildArtifactResponse) string { return v.Image }).(pulumi.StringOutput) @@ -856,6 +1031,12 @@ func (o BuildArtifactResponseArrayOutput) ToBuildArtifactResponseArrayOutputWith return o } +func (o BuildArtifactResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BuildArtifactResponse] { + return pulumix.Output[[]BuildArtifactResponse]{ + OutputState: o.OutputState, + } +} + func (o BuildArtifactResponseArrayOutput) Index(i pulumi.IntInput) BuildArtifactResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BuildArtifactResponse { return vs[0].([]BuildArtifactResponse)[vs[1].(int)] @@ -905,6 +1086,12 @@ func (i CanaryArgs) ToCanaryOutputWithContext(ctx context.Context) CanaryOutput return pulumi.ToOutputWithContext(ctx, i).(CanaryOutput) } +func (i CanaryArgs) ToOutput(ctx context.Context) pulumix.Output[Canary] { + return pulumix.Output[Canary]{ + OutputState: i.ToCanaryOutputWithContext(ctx).OutputState, + } +} + func (i CanaryArgs) ToCanaryPtrOutput() CanaryPtrOutput { return i.ToCanaryPtrOutputWithContext(context.Background()) } @@ -946,6 +1133,12 @@ func (i *canaryPtrType) ToCanaryPtrOutputWithContext(ctx context.Context) Canary return pulumi.ToOutputWithContext(ctx, i).(CanaryPtrOutput) } +func (i *canaryPtrType) ToOutput(ctx context.Context) pulumix.Output[*Canary] { + return pulumix.Output[*Canary]{ + OutputState: i.ToCanaryPtrOutputWithContext(ctx).OutputState, + } +} + // Canary represents the canary deployment strategy. type CanaryOutput struct{ *pulumi.OutputState } @@ -971,6 +1164,12 @@ func (o CanaryOutput) ToCanaryPtrOutputWithContext(ctx context.Context) CanaryPt }).(CanaryPtrOutput) } +func (o CanaryOutput) ToOutput(ctx context.Context) pulumix.Output[Canary] { + return pulumix.Output[Canary]{ + OutputState: o.OutputState, + } +} + // Configures the progressive based deployment for a Target. func (o CanaryOutput) CanaryDeployment() CanaryDeploymentPtrOutput { return o.ApplyT(func(v Canary) *CanaryDeployment { return v.CanaryDeployment }).(CanaryDeploymentPtrOutput) @@ -1000,6 +1199,12 @@ func (o CanaryPtrOutput) ToCanaryPtrOutputWithContext(ctx context.Context) Canar return o } +func (o CanaryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Canary] { + return pulumix.Output[*Canary]{ + OutputState: o.OutputState, + } +} + func (o CanaryPtrOutput) Elem() CanaryOutput { return o.ApplyT(func(v *Canary) Canary { if v != nil { @@ -1079,6 +1284,12 @@ func (i CanaryDeploymentArgs) ToCanaryDeploymentOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(CanaryDeploymentOutput) } +func (i CanaryDeploymentArgs) ToOutput(ctx context.Context) pulumix.Output[CanaryDeployment] { + return pulumix.Output[CanaryDeployment]{ + OutputState: i.ToCanaryDeploymentOutputWithContext(ctx).OutputState, + } +} + func (i CanaryDeploymentArgs) ToCanaryDeploymentPtrOutput() CanaryDeploymentPtrOutput { return i.ToCanaryDeploymentPtrOutputWithContext(context.Background()) } @@ -1120,6 +1331,12 @@ func (i *canaryDeploymentPtrType) ToCanaryDeploymentPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(CanaryDeploymentPtrOutput) } +func (i *canaryDeploymentPtrType) ToOutput(ctx context.Context) pulumix.Output[*CanaryDeployment] { + return pulumix.Output[*CanaryDeployment]{ + OutputState: i.ToCanaryDeploymentPtrOutputWithContext(ctx).OutputState, + } +} + // CanaryDeployment represents the canary deployment configuration type CanaryDeploymentOutput struct{ *pulumi.OutputState } @@ -1145,6 +1362,12 @@ func (o CanaryDeploymentOutput) ToCanaryDeploymentPtrOutputWithContext(ctx conte }).(CanaryDeploymentPtrOutput) } +func (o CanaryDeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[CanaryDeployment] { + return pulumix.Output[CanaryDeployment]{ + OutputState: o.OutputState, + } +} + // The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. func (o CanaryDeploymentOutput) Percentages() pulumi.IntArrayOutput { return o.ApplyT(func(v CanaryDeployment) []int { return v.Percentages }).(pulumi.IntArrayOutput) @@ -1169,6 +1392,12 @@ func (o CanaryDeploymentPtrOutput) ToCanaryDeploymentPtrOutputWithContext(ctx co return o } +func (o CanaryDeploymentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CanaryDeployment] { + return pulumix.Output[*CanaryDeployment]{ + OutputState: o.OutputState, + } +} + func (o CanaryDeploymentPtrOutput) Elem() CanaryDeploymentOutput { return o.ApplyT(func(v *CanaryDeployment) CanaryDeployment { if v != nil { @@ -1222,6 +1451,12 @@ func (o CanaryDeploymentResponseOutput) ToCanaryDeploymentResponseOutputWithCont return o } +func (o CanaryDeploymentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CanaryDeploymentResponse] { + return pulumix.Output[CanaryDeploymentResponse]{ + OutputState: o.OutputState, + } +} + // The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. func (o CanaryDeploymentResponseOutput) Percentages() pulumi.IntArrayOutput { return o.ApplyT(func(v CanaryDeploymentResponse) []int { return v.Percentages }).(pulumi.IntArrayOutput) @@ -1257,6 +1492,12 @@ func (o CanaryResponseOutput) ToCanaryResponseOutputWithContext(ctx context.Cont return o } +func (o CanaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CanaryResponse] { + return pulumix.Output[CanaryResponse]{ + OutputState: o.OutputState, + } +} + // Configures the progressive based deployment for a Target. func (o CanaryResponseOutput) CanaryDeployment() CanaryDeploymentResponseOutput { return o.ApplyT(func(v CanaryResponse) CanaryDeploymentResponse { return v.CanaryDeployment }).(CanaryDeploymentResponseOutput) @@ -1295,6 +1536,12 @@ func (o ChildRolloutJobsResponseOutput) ToChildRolloutJobsResponseOutputWithCont return o } +func (o ChildRolloutJobsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ChildRolloutJobsResponse] { + return pulumix.Output[ChildRolloutJobsResponse]{ + OutputState: o.OutputState, + } +} + // List of AdvanceChildRolloutJobs func (o ChildRolloutJobsResponseOutput) AdvanceRolloutJobs() JobResponseArrayOutput { return o.ApplyT(func(v ChildRolloutJobsResponse) []JobResponse { return v.AdvanceRolloutJobs }).(JobResponseArrayOutput) @@ -1340,6 +1587,12 @@ func (i CloudRunConfigArgs) ToCloudRunConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CloudRunConfigOutput) } +func (i CloudRunConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfig] { + return pulumix.Output[CloudRunConfig]{ + OutputState: i.ToCloudRunConfigOutputWithContext(ctx).OutputState, + } +} + func (i CloudRunConfigArgs) ToCloudRunConfigPtrOutput() CloudRunConfigPtrOutput { return i.ToCloudRunConfigPtrOutputWithContext(context.Background()) } @@ -1381,6 +1634,12 @@ func (i *cloudRunConfigPtrType) ToCloudRunConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CloudRunConfigPtrOutput) } +func (i *cloudRunConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRunConfig] { + return pulumix.Output[*CloudRunConfig]{ + OutputState: i.ToCloudRunConfigPtrOutputWithContext(ctx).OutputState, + } +} + // CloudRunConfig contains the Cloud Run runtime configuration. type CloudRunConfigOutput struct{ *pulumi.OutputState } @@ -1406,6 +1665,12 @@ func (o CloudRunConfigOutput) ToCloudRunConfigPtrOutputWithContext(ctx context.C }).(CloudRunConfigPtrOutput) } +func (o CloudRunConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfig] { + return pulumix.Output[CloudRunConfig]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments. func (o CloudRunConfigOutput) AutomaticTrafficControl() pulumi.BoolPtrOutput { return o.ApplyT(func(v CloudRunConfig) *bool { return v.AutomaticTrafficControl }).(pulumi.BoolPtrOutput) @@ -1425,6 +1690,12 @@ func (o CloudRunConfigPtrOutput) ToCloudRunConfigPtrOutputWithContext(ctx contex return o } +func (o CloudRunConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRunConfig] { + return pulumix.Output[*CloudRunConfig]{ + OutputState: o.OutputState, + } +} + func (o CloudRunConfigPtrOutput) Elem() CloudRunConfigOutput { return o.ApplyT(func(v *CloudRunConfig) CloudRunConfig { if v != nil { @@ -1466,6 +1737,12 @@ func (o CloudRunConfigResponseOutput) ToCloudRunConfigResponseOutputWithContext( return o } +func (o CloudRunConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfigResponse] { + return pulumix.Output[CloudRunConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments. func (o CloudRunConfigResponseOutput) AutomaticTrafficControl() pulumi.BoolOutput { return o.ApplyT(func(v CloudRunConfigResponse) bool { return v.AutomaticTrafficControl }).(pulumi.BoolOutput) @@ -1506,6 +1783,12 @@ func (i CloudRunLocationArgs) ToCloudRunLocationOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(CloudRunLocationOutput) } +func (i CloudRunLocationArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRunLocation] { + return pulumix.Output[CloudRunLocation]{ + OutputState: i.ToCloudRunLocationOutputWithContext(ctx).OutputState, + } +} + func (i CloudRunLocationArgs) ToCloudRunLocationPtrOutput() CloudRunLocationPtrOutput { return i.ToCloudRunLocationPtrOutputWithContext(context.Background()) } @@ -1547,6 +1830,12 @@ func (i *cloudRunLocationPtrType) ToCloudRunLocationPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(CloudRunLocationPtrOutput) } +func (i *cloudRunLocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRunLocation] { + return pulumix.Output[*CloudRunLocation]{ + OutputState: i.ToCloudRunLocationPtrOutputWithContext(ctx).OutputState, + } +} + // Information specifying where to deploy a Cloud Run Service. type CloudRunLocationOutput struct{ *pulumi.OutputState } @@ -1572,6 +1861,12 @@ func (o CloudRunLocationOutput) ToCloudRunLocationPtrOutputWithContext(ctx conte }).(CloudRunLocationPtrOutput) } +func (o CloudRunLocationOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunLocation] { + return pulumix.Output[CloudRunLocation]{ + OutputState: o.OutputState, + } +} + // The location for the Cloud Run Service. Format must be `projects/{project}/locations/{location}`. func (o CloudRunLocationOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v CloudRunLocation) string { return v.Location }).(pulumi.StringOutput) @@ -1591,6 +1886,12 @@ func (o CloudRunLocationPtrOutput) ToCloudRunLocationPtrOutputWithContext(ctx co return o } +func (o CloudRunLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRunLocation] { + return pulumix.Output[*CloudRunLocation]{ + OutputState: o.OutputState, + } +} + func (o CloudRunLocationPtrOutput) Elem() CloudRunLocationOutput { return o.ApplyT(func(v *CloudRunLocation) CloudRunLocation { if v != nil { @@ -1632,6 +1933,12 @@ func (o CloudRunLocationResponseOutput) ToCloudRunLocationResponseOutputWithCont return o } +func (o CloudRunLocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunLocationResponse] { + return pulumix.Output[CloudRunLocationResponse]{ + OutputState: o.OutputState, + } +} + // The location for the Cloud Run Service. Format must be `projects/{project}/locations/{location}`. func (o CloudRunLocationResponseOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v CloudRunLocationResponse) string { return v.Location }).(pulumi.StringOutput) @@ -1662,6 +1969,12 @@ func (o CloudRunMetadataResponseOutput) ToCloudRunMetadataResponseOutputWithCont return o } +func (o CloudRunMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunMetadataResponse] { + return pulumix.Output[CloudRunMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud Run Revision id associated with a `Rollout`. func (o CloudRunMetadataResponseOutput) Revision() pulumi.StringOutput { return o.ApplyT(func(v CloudRunMetadataResponse) string { return v.Revision }).(pulumi.StringOutput) @@ -1696,6 +2009,12 @@ func (o CreateChildRolloutJobResponseOutput) ToCreateChildRolloutJobResponseOutp return o } +func (o CreateChildRolloutJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CreateChildRolloutJobResponse] { + return pulumix.Output[CreateChildRolloutJobResponse]{ + OutputState: o.OutputState, + } +} + // CustomCanaryDeployment represents the custom canary deployment configuration. type CustomCanaryDeployment struct { // Configuration for each phase in the canary deployment in the order executed. @@ -1731,6 +2050,12 @@ func (i CustomCanaryDeploymentArgs) ToCustomCanaryDeploymentOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(CustomCanaryDeploymentOutput) } +func (i CustomCanaryDeploymentArgs) ToOutput(ctx context.Context) pulumix.Output[CustomCanaryDeployment] { + return pulumix.Output[CustomCanaryDeployment]{ + OutputState: i.ToCustomCanaryDeploymentOutputWithContext(ctx).OutputState, + } +} + func (i CustomCanaryDeploymentArgs) ToCustomCanaryDeploymentPtrOutput() CustomCanaryDeploymentPtrOutput { return i.ToCustomCanaryDeploymentPtrOutputWithContext(context.Background()) } @@ -1772,6 +2097,12 @@ func (i *customCanaryDeploymentPtrType) ToCustomCanaryDeploymentPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(CustomCanaryDeploymentPtrOutput) } +func (i *customCanaryDeploymentPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomCanaryDeployment] { + return pulumix.Output[*CustomCanaryDeployment]{ + OutputState: i.ToCustomCanaryDeploymentPtrOutputWithContext(ctx).OutputState, + } +} + // CustomCanaryDeployment represents the custom canary deployment configuration. type CustomCanaryDeploymentOutput struct{ *pulumi.OutputState } @@ -1797,6 +2128,12 @@ func (o CustomCanaryDeploymentOutput) ToCustomCanaryDeploymentPtrOutputWithConte }).(CustomCanaryDeploymentPtrOutput) } +func (o CustomCanaryDeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[CustomCanaryDeployment] { + return pulumix.Output[CustomCanaryDeployment]{ + OutputState: o.OutputState, + } +} + // Configuration for each phase in the canary deployment in the order executed. func (o CustomCanaryDeploymentOutput) PhaseConfigs() PhaseConfigArrayOutput { return o.ApplyT(func(v CustomCanaryDeployment) []PhaseConfig { return v.PhaseConfigs }).(PhaseConfigArrayOutput) @@ -1816,6 +2153,12 @@ func (o CustomCanaryDeploymentPtrOutput) ToCustomCanaryDeploymentPtrOutputWithCo return o } +func (o CustomCanaryDeploymentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomCanaryDeployment] { + return pulumix.Output[*CustomCanaryDeployment]{ + OutputState: o.OutputState, + } +} + func (o CustomCanaryDeploymentPtrOutput) Elem() CustomCanaryDeploymentOutput { return o.ApplyT(func(v *CustomCanaryDeployment) CustomCanaryDeployment { if v != nil { @@ -1857,6 +2200,12 @@ func (o CustomCanaryDeploymentResponseOutput) ToCustomCanaryDeploymentResponseOu return o } +func (o CustomCanaryDeploymentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomCanaryDeploymentResponse] { + return pulumix.Output[CustomCanaryDeploymentResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for each phase in the canary deployment in the order executed. func (o CustomCanaryDeploymentResponseOutput) PhaseConfigs() PhaseConfigResponseArrayOutput { return o.ApplyT(func(v CustomCanaryDeploymentResponse) []PhaseConfigResponse { return v.PhaseConfigs }).(PhaseConfigResponseArrayOutput) @@ -1901,6 +2250,12 @@ func (i DefaultPoolArgs) ToDefaultPoolOutputWithContext(ctx context.Context) Def return pulumi.ToOutputWithContext(ctx, i).(DefaultPoolOutput) } +func (i DefaultPoolArgs) ToOutput(ctx context.Context) pulumix.Output[DefaultPool] { + return pulumix.Output[DefaultPool]{ + OutputState: i.ToDefaultPoolOutputWithContext(ctx).OutputState, + } +} + func (i DefaultPoolArgs) ToDefaultPoolPtrOutput() DefaultPoolPtrOutput { return i.ToDefaultPoolPtrOutputWithContext(context.Background()) } @@ -1942,6 +2297,12 @@ func (i *defaultPoolPtrType) ToDefaultPoolPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DefaultPoolPtrOutput) } +func (i *defaultPoolPtrType) ToOutput(ctx context.Context) pulumix.Output[*DefaultPool] { + return pulumix.Output[*DefaultPool]{ + OutputState: i.ToDefaultPoolPtrOutputWithContext(ctx).OutputState, + } +} + // Execution using the default Cloud Build pool. type DefaultPoolOutput struct{ *pulumi.OutputState } @@ -1967,6 +2328,12 @@ func (o DefaultPoolOutput) ToDefaultPoolPtrOutputWithContext(ctx context.Context }).(DefaultPoolPtrOutput) } +func (o DefaultPoolOutput) ToOutput(ctx context.Context) pulumix.Output[DefaultPool] { + return pulumix.Output[DefaultPool]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud Storage location where execution outputs should be stored. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used. func (o DefaultPoolOutput) ArtifactStorage() pulumi.StringPtrOutput { return o.ApplyT(func(v DefaultPool) *string { return v.ArtifactStorage }).(pulumi.StringPtrOutput) @@ -1991,6 +2358,12 @@ func (o DefaultPoolPtrOutput) ToDefaultPoolPtrOutputWithContext(ctx context.Cont return o } +func (o DefaultPoolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultPool] { + return pulumix.Output[*DefaultPool]{ + OutputState: o.OutputState, + } +} + func (o DefaultPoolPtrOutput) Elem() DefaultPoolOutput { return o.ApplyT(func(v *DefaultPool) DefaultPool { if v != nil { @@ -2044,6 +2417,12 @@ func (o DefaultPoolResponseOutput) ToDefaultPoolResponseOutputWithContext(ctx co return o } +func (o DefaultPoolResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DefaultPoolResponse] { + return pulumix.Output[DefaultPoolResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud Storage location where execution outputs should be stored. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used. func (o DefaultPoolResponseOutput) ArtifactStorage() pulumi.StringOutput { return o.ApplyT(func(v DefaultPoolResponse) string { return v.ArtifactStorage }).(pulumi.StringOutput) @@ -2095,6 +2474,12 @@ func (o DeliveryPipelineResponseOutput) ToDeliveryPipelineResponseOutputWithCont return o } +func (o DeliveryPipelineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeliveryPipelineResponse] { + return pulumix.Output[DeliveryPipelineResponse]{ + OutputState: o.OutputState, + } +} + // User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. func (o DeliveryPipelineResponseOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v DeliveryPipelineResponse) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) @@ -2169,6 +2554,12 @@ func (o DeployJobResponseOutput) ToDeployJobResponseOutputWithContext(ctx contex return o } +func (o DeployJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeployJobResponse] { + return pulumix.Output[DeployJobResponse]{ + OutputState: o.OutputState, + } +} + // Deployment job composition. type DeploymentJobsResponse struct { // The deploy Job. This is the deploy job in the phase. @@ -2192,6 +2583,12 @@ func (o DeploymentJobsResponseOutput) ToDeploymentJobsResponseOutputWithContext( return o } +func (o DeploymentJobsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentJobsResponse] { + return pulumix.Output[DeploymentJobsResponse]{ + OutputState: o.OutputState, + } +} + // The deploy Job. This is the deploy job in the phase. func (o DeploymentJobsResponseOutput) DeployJob() JobResponseOutput { return o.ApplyT(func(v DeploymentJobsResponse) JobResponse { return v.DeployJob }).(JobResponseOutput) @@ -2261,6 +2658,12 @@ func (i ExecutionConfigArgs) ToExecutionConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ExecutionConfigOutput) } +func (i ExecutionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ExecutionConfig] { + return pulumix.Output[ExecutionConfig]{ + OutputState: i.ToExecutionConfigOutputWithContext(ctx).OutputState, + } +} + // ExecutionConfigArrayInput is an input type that accepts ExecutionConfigArray and ExecutionConfigArrayOutput values. // You can construct a concrete instance of `ExecutionConfigArrayInput` via: // @@ -2286,6 +2689,12 @@ func (i ExecutionConfigArray) ToExecutionConfigArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ExecutionConfigArrayOutput) } +func (i ExecutionConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionConfig] { + return pulumix.Output[[]ExecutionConfig]{ + OutputState: i.ToExecutionConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration of the environment to use when calling Skaffold. type ExecutionConfigOutput struct{ *pulumi.OutputState } @@ -2301,6 +2710,12 @@ func (o ExecutionConfigOutput) ToExecutionConfigOutputWithContext(ctx context.Co return o } +func (o ExecutionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionConfig] { + return pulumix.Output[ExecutionConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used. func (o ExecutionConfigOutput) ArtifactStorage() pulumi.StringPtrOutput { return o.ApplyT(func(v ExecutionConfig) *string { return v.ArtifactStorage }).(pulumi.StringPtrOutput) @@ -2350,6 +2765,12 @@ func (o ExecutionConfigArrayOutput) ToExecutionConfigArrayOutputWithContext(ctx return o } +func (o ExecutionConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionConfig] { + return pulumix.Output[[]ExecutionConfig]{ + OutputState: o.OutputState, + } +} + func (o ExecutionConfigArrayOutput) Index(i pulumi.IntInput) ExecutionConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExecutionConfig { return vs[0].([]ExecutionConfig)[vs[1].(int)] @@ -2389,6 +2810,12 @@ func (o ExecutionConfigResponseOutput) ToExecutionConfigResponseOutputWithContex return o } +func (o ExecutionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionConfigResponse] { + return pulumix.Output[ExecutionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used. func (o ExecutionConfigResponseOutput) ArtifactStorage() pulumi.StringOutput { return o.ApplyT(func(v ExecutionConfigResponse) string { return v.ArtifactStorage }).(pulumi.StringOutput) @@ -2438,6 +2865,12 @@ func (o ExecutionConfigResponseArrayOutput) ToExecutionConfigResponseArrayOutput return o } +func (o ExecutionConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionConfigResponse] { + return pulumix.Output[[]ExecutionConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ExecutionConfigResponseArrayOutput) Index(i pulumi.IntInput) ExecutionConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExecutionConfigResponse { return vs[0].([]ExecutionConfigResponse)[vs[1].(int)] @@ -2491,6 +2924,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -2532,6 +2971,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -2557,6 +3002,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2591,6 +3042,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -2668,6 +3125,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2731,6 +3194,12 @@ func (i GatewayServiceMeshArgs) ToGatewayServiceMeshOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GatewayServiceMeshOutput) } +func (i GatewayServiceMeshArgs) ToOutput(ctx context.Context) pulumix.Output[GatewayServiceMesh] { + return pulumix.Output[GatewayServiceMesh]{ + OutputState: i.ToGatewayServiceMeshOutputWithContext(ctx).OutputState, + } +} + func (i GatewayServiceMeshArgs) ToGatewayServiceMeshPtrOutput() GatewayServiceMeshPtrOutput { return i.ToGatewayServiceMeshPtrOutputWithContext(context.Background()) } @@ -2772,6 +3241,12 @@ func (i *gatewayServiceMeshPtrType) ToGatewayServiceMeshPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GatewayServiceMeshPtrOutput) } +func (i *gatewayServiceMeshPtrType) ToOutput(ctx context.Context) pulumix.Output[*GatewayServiceMesh] { + return pulumix.Output[*GatewayServiceMesh]{ + OutputState: i.ToGatewayServiceMeshPtrOutputWithContext(ctx).OutputState, + } +} + // Information about the Kubernetes Gateway API service mesh configuration. type GatewayServiceMeshOutput struct{ *pulumi.OutputState } @@ -2797,6 +3272,12 @@ func (o GatewayServiceMeshOutput) ToGatewayServiceMeshPtrOutputWithContext(ctx c }).(GatewayServiceMeshPtrOutput) } +func (o GatewayServiceMeshOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayServiceMesh] { + return pulumix.Output[GatewayServiceMesh]{ + OutputState: o.OutputState, + } +} + // Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service. func (o GatewayServiceMeshOutput) Deployment() pulumi.StringOutput { return o.ApplyT(func(v GatewayServiceMesh) string { return v.Deployment }).(pulumi.StringOutput) @@ -2826,6 +3307,12 @@ func (o GatewayServiceMeshPtrOutput) ToGatewayServiceMeshPtrOutputWithContext(ct return o } +func (o GatewayServiceMeshPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayServiceMesh] { + return pulumix.Output[*GatewayServiceMesh]{ + OutputState: o.OutputState, + } +} + func (o GatewayServiceMeshPtrOutput) Elem() GatewayServiceMeshOutput { return o.ApplyT(func(v *GatewayServiceMesh) GatewayServiceMesh { if v != nil { @@ -2891,6 +3378,12 @@ func (o GatewayServiceMeshResponseOutput) ToGatewayServiceMeshResponseOutputWith return o } +func (o GatewayServiceMeshResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayServiceMeshResponse] { + return pulumix.Output[GatewayServiceMeshResponse]{ + OutputState: o.OutputState, + } +} + // Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service. func (o GatewayServiceMeshResponseOutput) Deployment() pulumi.StringOutput { return o.ApplyT(func(v GatewayServiceMeshResponse) string { return v.Deployment }).(pulumi.StringOutput) @@ -2945,6 +3438,12 @@ func (i GkeClusterArgs) ToGkeClusterOutputWithContext(ctx context.Context) GkeCl return pulumi.ToOutputWithContext(ctx, i).(GkeClusterOutput) } +func (i GkeClusterArgs) ToOutput(ctx context.Context) pulumix.Output[GkeCluster] { + return pulumix.Output[GkeCluster]{ + OutputState: i.ToGkeClusterOutputWithContext(ctx).OutputState, + } +} + func (i GkeClusterArgs) ToGkeClusterPtrOutput() GkeClusterPtrOutput { return i.ToGkeClusterPtrOutputWithContext(context.Background()) } @@ -2986,6 +3485,12 @@ func (i *gkeClusterPtrType) ToGkeClusterPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GkeClusterPtrOutput) } +func (i *gkeClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeCluster] { + return pulumix.Output[*GkeCluster]{ + OutputState: i.ToGkeClusterPtrOutputWithContext(ctx).OutputState, + } +} + // Information specifying a GKE Cluster. type GkeClusterOutput struct{ *pulumi.OutputState } @@ -3011,6 +3516,12 @@ func (o GkeClusterOutput) ToGkeClusterPtrOutputWithContext(ctx context.Context) }).(GkeClusterPtrOutput) } +func (o GkeClusterOutput) ToOutput(ctx context.Context) pulumix.Output[GkeCluster] { + return pulumix.Output[GkeCluster]{ + OutputState: o.OutputState, + } +} + // Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}. func (o GkeClusterOutput) Cluster() pulumi.StringPtrOutput { return o.ApplyT(func(v GkeCluster) *string { return v.Cluster }).(pulumi.StringPtrOutput) @@ -3035,6 +3546,12 @@ func (o GkeClusterPtrOutput) ToGkeClusterPtrOutputWithContext(ctx context.Contex return o } +func (o GkeClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeCluster] { + return pulumix.Output[*GkeCluster]{ + OutputState: o.OutputState, + } +} + func (o GkeClusterPtrOutput) Elem() GkeClusterOutput { return o.ApplyT(func(v *GkeCluster) GkeCluster { if v != nil { @@ -3088,6 +3605,12 @@ func (o GkeClusterResponseOutput) ToGkeClusterResponseOutputWithContext(ctx cont return o } +func (o GkeClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeClusterResponse] { + return pulumix.Output[GkeClusterResponse]{ + OutputState: o.OutputState, + } +} + // Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}. func (o GkeClusterResponseOutput) Cluster() pulumi.StringOutput { return o.ApplyT(func(v GkeClusterResponse) string { return v.Cluster }).(pulumi.StringOutput) @@ -3131,6 +3654,12 @@ func (o JobResponseOutput) ToJobResponseOutputWithContext(ctx context.Context) J return o } +func (o JobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobResponse] { + return pulumix.Output[JobResponse]{ + OutputState: o.OutputState, + } +} + // An advanceChildRollout Job. func (o JobResponseOutput) AdvanceChildRolloutJob() AdvanceChildRolloutJobResponseOutput { return o.ApplyT(func(v JobResponse) AdvanceChildRolloutJobResponse { return v.AdvanceChildRolloutJob }).(AdvanceChildRolloutJobResponseOutput) @@ -3180,6 +3709,12 @@ func (o JobResponseArrayOutput) ToJobResponseArrayOutputWithContext(ctx context. return o } +func (o JobResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobResponse] { + return pulumix.Output[[]JobResponse]{ + OutputState: o.OutputState, + } +} + func (o JobResponseArrayOutput) Index(i pulumi.IntInput) JobResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobResponse { return vs[0].([]JobResponse)[vs[1].(int)] @@ -3225,6 +3760,12 @@ func (i KubernetesConfigArgs) ToKubernetesConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(KubernetesConfigOutput) } +func (i KubernetesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[KubernetesConfig] { + return pulumix.Output[KubernetesConfig]{ + OutputState: i.ToKubernetesConfigOutputWithContext(ctx).OutputState, + } +} + func (i KubernetesConfigArgs) ToKubernetesConfigPtrOutput() KubernetesConfigPtrOutput { return i.ToKubernetesConfigPtrOutputWithContext(context.Background()) } @@ -3266,6 +3807,12 @@ func (i *kubernetesConfigPtrType) ToKubernetesConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(KubernetesConfigPtrOutput) } +func (i *kubernetesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*KubernetesConfig] { + return pulumix.Output[*KubernetesConfig]{ + OutputState: i.ToKubernetesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // KubernetesConfig contains the Kubernetes runtime configuration. type KubernetesConfigOutput struct{ *pulumi.OutputState } @@ -3291,6 +3838,12 @@ func (o KubernetesConfigOutput) ToKubernetesConfigPtrOutputWithContext(ctx conte }).(KubernetesConfigPtrOutput) } +func (o KubernetesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesConfig] { + return pulumix.Output[KubernetesConfig]{ + OutputState: o.OutputState, + } +} + // Kubernetes Gateway API service mesh configuration. func (o KubernetesConfigOutput) GatewayServiceMesh() GatewayServiceMeshPtrOutput { return o.ApplyT(func(v KubernetesConfig) *GatewayServiceMesh { return v.GatewayServiceMesh }).(GatewayServiceMeshPtrOutput) @@ -3315,6 +3868,12 @@ func (o KubernetesConfigPtrOutput) ToKubernetesConfigPtrOutputWithContext(ctx co return o } +func (o KubernetesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KubernetesConfig] { + return pulumix.Output[*KubernetesConfig]{ + OutputState: o.OutputState, + } +} + func (o KubernetesConfigPtrOutput) Elem() KubernetesConfigOutput { return o.ApplyT(func(v *KubernetesConfig) KubernetesConfig { if v != nil { @@ -3368,6 +3927,12 @@ func (o KubernetesConfigResponseOutput) ToKubernetesConfigResponseOutputWithCont return o } +func (o KubernetesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesConfigResponse] { + return pulumix.Output[KubernetesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Kubernetes Gateway API service mesh configuration. func (o KubernetesConfigResponseOutput) GatewayServiceMesh() GatewayServiceMeshResponseOutput { return o.ApplyT(func(v KubernetesConfigResponse) GatewayServiceMeshResponse { return v.GatewayServiceMesh }).(GatewayServiceMeshResponseOutput) @@ -3399,6 +3964,12 @@ func (o MetadataResponseOutput) ToMetadataResponseOutputWithContext(ctx context. return o } +func (o MetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataResponse] { + return pulumix.Output[MetadataResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Cloud Run Service that is associated with a `Rollout`. func (o MetadataResponseOutput) CloudRun() CloudRunMetadataResponseOutput { return o.ApplyT(func(v MetadataResponse) CloudRunMetadataResponse { return v.CloudRun }).(CloudRunMetadataResponseOutput) @@ -3439,6 +4010,12 @@ func (i MultiTargetArgs) ToMultiTargetOutputWithContext(ctx context.Context) Mul return pulumi.ToOutputWithContext(ctx, i).(MultiTargetOutput) } +func (i MultiTargetArgs) ToOutput(ctx context.Context) pulumix.Output[MultiTarget] { + return pulumix.Output[MultiTarget]{ + OutputState: i.ToMultiTargetOutputWithContext(ctx).OutputState, + } +} + func (i MultiTargetArgs) ToMultiTargetPtrOutput() MultiTargetPtrOutput { return i.ToMultiTargetPtrOutputWithContext(context.Background()) } @@ -3480,6 +4057,12 @@ func (i *multiTargetPtrType) ToMultiTargetPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(MultiTargetPtrOutput) } +func (i *multiTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*MultiTarget] { + return pulumix.Output[*MultiTarget]{ + OutputState: i.ToMultiTargetPtrOutputWithContext(ctx).OutputState, + } +} + // Information specifying a multiTarget. type MultiTargetOutput struct{ *pulumi.OutputState } @@ -3505,6 +4088,12 @@ func (o MultiTargetOutput) ToMultiTargetPtrOutputWithContext(ctx context.Context }).(MultiTargetPtrOutput) } +func (o MultiTargetOutput) ToOutput(ctx context.Context) pulumix.Output[MultiTarget] { + return pulumix.Output[MultiTarget]{ + OutputState: o.OutputState, + } +} + // The target_ids of this multiTarget. func (o MultiTargetOutput) TargetIds() pulumi.StringArrayOutput { return o.ApplyT(func(v MultiTarget) []string { return v.TargetIds }).(pulumi.StringArrayOutput) @@ -3524,6 +4113,12 @@ func (o MultiTargetPtrOutput) ToMultiTargetPtrOutputWithContext(ctx context.Cont return o } +func (o MultiTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiTarget] { + return pulumix.Output[*MultiTarget]{ + OutputState: o.OutputState, + } +} + func (o MultiTargetPtrOutput) Elem() MultiTargetOutput { return o.ApplyT(func(v *MultiTarget) MultiTarget { if v != nil { @@ -3565,6 +4160,12 @@ func (o MultiTargetResponseOutput) ToMultiTargetResponseOutputWithContext(ctx co return o } +func (o MultiTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MultiTargetResponse] { + return pulumix.Output[MultiTargetResponse]{ + OutputState: o.OutputState, + } +} + // The target_ids of this multiTarget. func (o MultiTargetResponseOutput) TargetIds() pulumi.StringArrayOutput { return o.ApplyT(func(v MultiTargetResponse) []string { return v.TargetIds }).(pulumi.StringArrayOutput) @@ -3617,6 +4218,12 @@ func (i PhaseConfigArgs) ToPhaseConfigOutputWithContext(ctx context.Context) Pha return pulumi.ToOutputWithContext(ctx, i).(PhaseConfigOutput) } +func (i PhaseConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PhaseConfig] { + return pulumix.Output[PhaseConfig]{ + OutputState: i.ToPhaseConfigOutputWithContext(ctx).OutputState, + } +} + // PhaseConfigArrayInput is an input type that accepts PhaseConfigArray and PhaseConfigArrayOutput values. // You can construct a concrete instance of `PhaseConfigArrayInput` via: // @@ -3642,6 +4249,12 @@ func (i PhaseConfigArray) ToPhaseConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(PhaseConfigArrayOutput) } +func (i PhaseConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]PhaseConfig] { + return pulumix.Output[[]PhaseConfig]{ + OutputState: i.ToPhaseConfigArrayOutputWithContext(ctx).OutputState, + } +} + // PhaseConfig represents the configuration for a phase in the custom canary deployment. type PhaseConfigOutput struct{ *pulumi.OutputState } @@ -3657,6 +4270,12 @@ func (o PhaseConfigOutput) ToPhaseConfigOutputWithContext(ctx context.Context) P return o } +func (o PhaseConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PhaseConfig] { + return pulumix.Output[PhaseConfig]{ + OutputState: o.OutputState, + } +} + // Percentage deployment for the phase. func (o PhaseConfigOutput) Percentage() pulumi.IntOutput { return o.ApplyT(func(v PhaseConfig) int { return v.Percentage }).(pulumi.IntOutput) @@ -3691,6 +4310,12 @@ func (o PhaseConfigArrayOutput) ToPhaseConfigArrayOutputWithContext(ctx context. return o } +func (o PhaseConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PhaseConfig] { + return pulumix.Output[[]PhaseConfig]{ + OutputState: o.OutputState, + } +} + func (o PhaseConfigArrayOutput) Index(i pulumi.IntInput) PhaseConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PhaseConfig { return vs[0].([]PhaseConfig)[vs[1].(int)] @@ -3724,6 +4349,12 @@ func (o PhaseConfigResponseOutput) ToPhaseConfigResponseOutputWithContext(ctx co return o } +func (o PhaseConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PhaseConfigResponse] { + return pulumix.Output[PhaseConfigResponse]{ + OutputState: o.OutputState, + } +} + // Percentage deployment for the phase. func (o PhaseConfigResponseOutput) Percentage() pulumi.IntOutput { return o.ApplyT(func(v PhaseConfigResponse) int { return v.Percentage }).(pulumi.IntOutput) @@ -3758,6 +4389,12 @@ func (o PhaseConfigResponseArrayOutput) ToPhaseConfigResponseArrayOutputWithCont return o } +func (o PhaseConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PhaseConfigResponse] { + return pulumix.Output[[]PhaseConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o PhaseConfigResponseArrayOutput) Index(i pulumi.IntInput) PhaseConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PhaseConfigResponse { return vs[0].([]PhaseConfigResponse)[vs[1].(int)] @@ -3791,6 +4428,12 @@ func (o PhaseResponseOutput) ToPhaseResponseOutputWithContext(ctx context.Contex return o } +func (o PhaseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PhaseResponse] { + return pulumix.Output[PhaseResponse]{ + OutputState: o.OutputState, + } +} + // ChildRollout job composition. func (o PhaseResponseOutput) ChildRolloutJobs() ChildRolloutJobsResponseOutput { return o.ApplyT(func(v PhaseResponse) ChildRolloutJobsResponse { return v.ChildRolloutJobs }).(ChildRolloutJobsResponseOutput) @@ -3825,6 +4468,12 @@ func (o PhaseResponseArrayOutput) ToPhaseResponseArrayOutputWithContext(ctx cont return o } +func (o PhaseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PhaseResponse] { + return pulumix.Output[[]PhaseResponse]{ + OutputState: o.OutputState, + } +} + func (o PhaseResponseArrayOutput) Index(i pulumi.IntInput) PhaseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PhaseResponse { return vs[0].([]PhaseResponse)[vs[1].(int)] @@ -3856,6 +4505,12 @@ func (o PipelineConditionResponseOutput) ToPipelineConditionResponseOutputWithCo return o } +func (o PipelineConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PipelineConditionResponse] { + return pulumix.Output[PipelineConditionResponse]{ + OutputState: o.OutputState, + } +} + // Details around the Pipeline's overall status. func (o PipelineConditionResponseOutput) PipelineReadyCondition() PipelineReadyConditionResponseOutput { return o.ApplyT(func(v PipelineConditionResponse) PipelineReadyConditionResponse { return v.PipelineReadyCondition }).(PipelineReadyConditionResponseOutput) @@ -3894,6 +4549,12 @@ func (o PipelineReadyConditionResponseOutput) ToPipelineReadyConditionResponseOu return o } +func (o PipelineReadyConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PipelineReadyConditionResponse] { + return pulumix.Output[PipelineReadyConditionResponse]{ + OutputState: o.OutputState, + } +} + // True if the Pipeline is in a valid state. Otherwise at least one condition in `PipelineCondition` is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline. func (o PipelineReadyConditionResponseOutput) Status() pulumi.BoolOutput { return o.ApplyT(func(v PipelineReadyConditionResponse) bool { return v.Status }).(pulumi.BoolOutput) @@ -3947,6 +4608,12 @@ func (i PrivatePoolArgs) ToPrivatePoolOutputWithContext(ctx context.Context) Pri return pulumi.ToOutputWithContext(ctx, i).(PrivatePoolOutput) } +func (i PrivatePoolArgs) ToOutput(ctx context.Context) pulumix.Output[PrivatePool] { + return pulumix.Output[PrivatePool]{ + OutputState: i.ToPrivatePoolOutputWithContext(ctx).OutputState, + } +} + func (i PrivatePoolArgs) ToPrivatePoolPtrOutput() PrivatePoolPtrOutput { return i.ToPrivatePoolPtrOutputWithContext(context.Background()) } @@ -3988,6 +4655,12 @@ func (i *privatePoolPtrType) ToPrivatePoolPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PrivatePoolPtrOutput) } +func (i *privatePoolPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivatePool] { + return pulumix.Output[*PrivatePool]{ + OutputState: i.ToPrivatePoolPtrOutputWithContext(ctx).OutputState, + } +} + // Execution using a private Cloud Build pool. type PrivatePoolOutput struct{ *pulumi.OutputState } @@ -4013,6 +4686,12 @@ func (o PrivatePoolOutput) ToPrivatePoolPtrOutputWithContext(ctx context.Context }).(PrivatePoolPtrOutput) } +func (o PrivatePoolOutput) ToOutput(ctx context.Context) pulumix.Output[PrivatePool] { + return pulumix.Output[PrivatePool]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud Storage location where execution outputs should be stored. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used. func (o PrivatePoolOutput) ArtifactStorage() pulumi.StringPtrOutput { return o.ApplyT(func(v PrivatePool) *string { return v.ArtifactStorage }).(pulumi.StringPtrOutput) @@ -4042,6 +4721,12 @@ func (o PrivatePoolPtrOutput) ToPrivatePoolPtrOutputWithContext(ctx context.Cont return o } +func (o PrivatePoolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivatePool] { + return pulumix.Output[*PrivatePool]{ + OutputState: o.OutputState, + } +} + func (o PrivatePoolPtrOutput) Elem() PrivatePoolOutput { return o.ApplyT(func(v *PrivatePool) PrivatePool { if v != nil { @@ -4107,6 +4792,12 @@ func (o PrivatePoolResponseOutput) ToPrivatePoolResponseOutputWithContext(ctx co return o } +func (o PrivatePoolResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivatePoolResponse] { + return pulumix.Output[PrivatePoolResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud Storage location where execution outputs should be stored. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used. func (o PrivatePoolResponseOutput) ArtifactStorage() pulumi.StringOutput { return o.ApplyT(func(v PrivatePoolResponse) string { return v.ArtifactStorage }).(pulumi.StringOutput) @@ -4145,6 +4836,12 @@ func (o ReleaseConditionResponseOutput) ToReleaseConditionResponseOutputWithCont return o } +func (o ReleaseConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseConditionResponse] { + return pulumix.Output[ReleaseConditionResponse]{ + OutputState: o.OutputState, + } +} + // Details around the Releases's overall status. func (o ReleaseConditionResponseOutput) ReleaseReadyCondition() ReleaseReadyConditionResponseOutput { return o.ApplyT(func(v ReleaseConditionResponse) ReleaseReadyConditionResponse { return v.ReleaseReadyCondition }).(ReleaseReadyConditionResponseOutput) @@ -4178,6 +4875,12 @@ func (o ReleaseReadyConditionResponseOutput) ToReleaseReadyConditionResponseOutp return o } +func (o ReleaseReadyConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseReadyConditionResponse] { + return pulumix.Output[ReleaseReadyConditionResponse]{ + OutputState: o.OutputState, + } +} + // True if the Release is in a valid state. Otherwise at least one condition in `ReleaseCondition` is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Release. func (o ReleaseReadyConditionResponseOutput) Status() pulumi.BoolOutput { return o.ApplyT(func(v ReleaseReadyConditionResponse) bool { return v.Status }).(pulumi.BoolOutput) @@ -4222,6 +4925,12 @@ func (i RuntimeConfigArgs) ToRuntimeConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RuntimeConfigOutput) } +func (i RuntimeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RuntimeConfig] { + return pulumix.Output[RuntimeConfig]{ + OutputState: i.ToRuntimeConfigOutputWithContext(ctx).OutputState, + } +} + func (i RuntimeConfigArgs) ToRuntimeConfigPtrOutput() RuntimeConfigPtrOutput { return i.ToRuntimeConfigPtrOutputWithContext(context.Background()) } @@ -4263,6 +4972,12 @@ func (i *runtimeConfigPtrType) ToRuntimeConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(RuntimeConfigPtrOutput) } +func (i *runtimeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RuntimeConfig] { + return pulumix.Output[*RuntimeConfig]{ + OutputState: i.ToRuntimeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // RuntimeConfig contains the runtime specific configurations for a deployment strategy. type RuntimeConfigOutput struct{ *pulumi.OutputState } @@ -4288,6 +5003,12 @@ func (o RuntimeConfigOutput) ToRuntimeConfigPtrOutputWithContext(ctx context.Con }).(RuntimeConfigPtrOutput) } +func (o RuntimeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeConfig] { + return pulumix.Output[RuntimeConfig]{ + OutputState: o.OutputState, + } +} + // Cloud Run runtime configuration. func (o RuntimeConfigOutput) CloudRun() CloudRunConfigPtrOutput { return o.ApplyT(func(v RuntimeConfig) *CloudRunConfig { return v.CloudRun }).(CloudRunConfigPtrOutput) @@ -4312,6 +5033,12 @@ func (o RuntimeConfigPtrOutput) ToRuntimeConfigPtrOutputWithContext(ctx context. return o } +func (o RuntimeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeConfig] { + return pulumix.Output[*RuntimeConfig]{ + OutputState: o.OutputState, + } +} + func (o RuntimeConfigPtrOutput) Elem() RuntimeConfigOutput { return o.ApplyT(func(v *RuntimeConfig) RuntimeConfig { if v != nil { @@ -4365,6 +5092,12 @@ func (o RuntimeConfigResponseOutput) ToRuntimeConfigResponseOutputWithContext(ct return o } +func (o RuntimeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeConfigResponse] { + return pulumix.Output[RuntimeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Run runtime configuration. func (o RuntimeConfigResponseOutput) CloudRun() CloudRunConfigResponseOutput { return o.ApplyT(func(v RuntimeConfigResponse) CloudRunConfigResponse { return v.CloudRun }).(CloudRunConfigResponseOutput) @@ -4410,6 +5143,12 @@ func (i SerialPipelineArgs) ToSerialPipelineOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SerialPipelineOutput) } +func (i SerialPipelineArgs) ToOutput(ctx context.Context) pulumix.Output[SerialPipeline] { + return pulumix.Output[SerialPipeline]{ + OutputState: i.ToSerialPipelineOutputWithContext(ctx).OutputState, + } +} + func (i SerialPipelineArgs) ToSerialPipelinePtrOutput() SerialPipelinePtrOutput { return i.ToSerialPipelinePtrOutputWithContext(context.Background()) } @@ -4451,6 +5190,12 @@ func (i *serialPipelinePtrType) ToSerialPipelinePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SerialPipelinePtrOutput) } +func (i *serialPipelinePtrType) ToOutput(ctx context.Context) pulumix.Output[*SerialPipeline] { + return pulumix.Output[*SerialPipeline]{ + OutputState: i.ToSerialPipelinePtrOutputWithContext(ctx).OutputState, + } +} + // SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`. type SerialPipelineOutput struct{ *pulumi.OutputState } @@ -4476,6 +5221,12 @@ func (o SerialPipelineOutput) ToSerialPipelinePtrOutputWithContext(ctx context.C }).(SerialPipelinePtrOutput) } +func (o SerialPipelineOutput) ToOutput(ctx context.Context) pulumix.Output[SerialPipeline] { + return pulumix.Output[SerialPipeline]{ + OutputState: o.OutputState, + } +} + // Each stage specifies configuration for a `Target`. The ordering of this list defines the promotion flow. func (o SerialPipelineOutput) Stages() StageArrayOutput { return o.ApplyT(func(v SerialPipeline) []Stage { return v.Stages }).(StageArrayOutput) @@ -4495,6 +5246,12 @@ func (o SerialPipelinePtrOutput) ToSerialPipelinePtrOutputWithContext(ctx contex return o } +func (o SerialPipelinePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SerialPipeline] { + return pulumix.Output[*SerialPipeline]{ + OutputState: o.OutputState, + } +} + func (o SerialPipelinePtrOutput) Elem() SerialPipelineOutput { return o.ApplyT(func(v *SerialPipeline) SerialPipeline { if v != nil { @@ -4536,6 +5293,12 @@ func (o SerialPipelineResponseOutput) ToSerialPipelineResponseOutputWithContext( return o } +func (o SerialPipelineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SerialPipelineResponse] { + return pulumix.Output[SerialPipelineResponse]{ + OutputState: o.OutputState, + } +} + // Each stage specifies configuration for a `Target`. The ordering of this list defines the promotion flow. func (o SerialPipelineResponseOutput) Stages() StageResponseArrayOutput { return o.ApplyT(func(v SerialPipelineResponse) []StageResponse { return v.Stages }).(StageResponseArrayOutput) @@ -4580,6 +5343,12 @@ func (i ServiceNetworkingArgs) ToServiceNetworkingOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ServiceNetworkingOutput) } +func (i ServiceNetworkingArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceNetworking] { + return pulumix.Output[ServiceNetworking]{ + OutputState: i.ToServiceNetworkingOutputWithContext(ctx).OutputState, + } +} + func (i ServiceNetworkingArgs) ToServiceNetworkingPtrOutput() ServiceNetworkingPtrOutput { return i.ToServiceNetworkingPtrOutputWithContext(context.Background()) } @@ -4621,6 +5390,12 @@ func (i *serviceNetworkingPtrType) ToServiceNetworkingPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ServiceNetworkingPtrOutput) } +func (i *serviceNetworkingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceNetworking] { + return pulumix.Output[*ServiceNetworking]{ + OutputState: i.ToServiceNetworkingPtrOutputWithContext(ctx).OutputState, + } +} + // Information about the Kubernetes Service networking configuration. type ServiceNetworkingOutput struct{ *pulumi.OutputState } @@ -4646,6 +5421,12 @@ func (o ServiceNetworkingOutput) ToServiceNetworkingPtrOutputWithContext(ctx con }).(ServiceNetworkingPtrOutput) } +func (o ServiceNetworkingOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceNetworking] { + return pulumix.Output[ServiceNetworking]{ + OutputState: o.OutputState, + } +} + // Name of the Kubernetes Deployment whose traffic is managed by the specified Service. func (o ServiceNetworkingOutput) Deployment() pulumi.StringOutput { return o.ApplyT(func(v ServiceNetworking) string { return v.Deployment }).(pulumi.StringOutput) @@ -4670,6 +5451,12 @@ func (o ServiceNetworkingPtrOutput) ToServiceNetworkingPtrOutputWithContext(ctx return o } +func (o ServiceNetworkingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceNetworking] { + return pulumix.Output[*ServiceNetworking]{ + OutputState: o.OutputState, + } +} + func (o ServiceNetworkingPtrOutput) Elem() ServiceNetworkingOutput { return o.ApplyT(func(v *ServiceNetworking) ServiceNetworking { if v != nil { @@ -4723,6 +5510,12 @@ func (o ServiceNetworkingResponseOutput) ToServiceNetworkingResponseOutputWithCo return o } +func (o ServiceNetworkingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceNetworkingResponse] { + return pulumix.Output[ServiceNetworkingResponse]{ + OutputState: o.OutputState, + } +} + // Name of the Kubernetes Deployment whose traffic is managed by the specified Service. func (o ServiceNetworkingResponseOutput) Deployment() pulumi.StringOutput { return o.ApplyT(func(v ServiceNetworkingResponse) string { return v.Deployment }).(pulumi.StringOutput) @@ -4760,6 +5553,12 @@ func (o SkaffoldSupportedConditionResponseOutput) ToSkaffoldSupportedConditionRe return o } +func (o SkaffoldSupportedConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SkaffoldSupportedConditionResponse] { + return pulumix.Output[SkaffoldSupportedConditionResponse]{ + OutputState: o.OutputState, + } +} + // The time at which this release's version of skaffold will enter maintenance mode. func (o SkaffoldSupportedConditionResponseOutput) MaintenanceModeTime() pulumi.StringOutput { return o.ApplyT(func(v SkaffoldSupportedConditionResponse) string { return v.MaintenanceModeTime }).(pulumi.StringOutput) @@ -4823,6 +5622,12 @@ func (i StageArgs) ToStageOutputWithContext(ctx context.Context) StageOutput { return pulumi.ToOutputWithContext(ctx, i).(StageOutput) } +func (i StageArgs) ToOutput(ctx context.Context) pulumix.Output[Stage] { + return pulumix.Output[Stage]{ + OutputState: i.ToStageOutputWithContext(ctx).OutputState, + } +} + // StageArrayInput is an input type that accepts StageArray and StageArrayOutput values. // You can construct a concrete instance of `StageArrayInput` via: // @@ -4848,6 +5653,12 @@ func (i StageArray) ToStageArrayOutputWithContext(ctx context.Context) StageArra return pulumi.ToOutputWithContext(ctx, i).(StageArrayOutput) } +func (i StageArray) ToOutput(ctx context.Context) pulumix.Output[[]Stage] { + return pulumix.Output[[]Stage]{ + OutputState: i.ToStageArrayOutputWithContext(ctx).OutputState, + } +} + // Stage specifies a location to which to deploy. type StageOutput struct{ *pulumi.OutputState } @@ -4863,6 +5674,12 @@ func (o StageOutput) ToStageOutputWithContext(ctx context.Context) StageOutput { return o } +func (o StageOutput) ToOutput(ctx context.Context) pulumix.Output[Stage] { + return pulumix.Output[Stage]{ + OutputState: o.OutputState, + } +} + // Skaffold profiles to use when rendering the manifest for this stage's `Target`. func (o StageOutput) Profiles() pulumi.StringArrayOutput { return o.ApplyT(func(v Stage) []string { return v.Profiles }).(pulumi.StringArrayOutput) @@ -4892,6 +5709,12 @@ func (o StageArrayOutput) ToStageArrayOutputWithContext(ctx context.Context) Sta return o } +func (o StageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Stage] { + return pulumix.Output[[]Stage]{ + OutputState: o.OutputState, + } +} + func (o StageArrayOutput) Index(i pulumi.IntInput) StageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Stage { return vs[0].([]Stage)[vs[1].(int)] @@ -4923,6 +5746,12 @@ func (o StageResponseOutput) ToStageResponseOutputWithContext(ctx context.Contex return o } +func (o StageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StageResponse] { + return pulumix.Output[StageResponse]{ + OutputState: o.OutputState, + } +} + // Skaffold profiles to use when rendering the manifest for this stage's `Target`. func (o StageResponseOutput) Profiles() pulumi.StringArrayOutput { return o.ApplyT(func(v StageResponse) []string { return v.Profiles }).(pulumi.StringArrayOutput) @@ -4952,6 +5781,12 @@ func (o StageResponseArrayOutput) ToStageResponseArrayOutputWithContext(ctx cont return o } +func (o StageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StageResponse] { + return pulumix.Output[[]StageResponse]{ + OutputState: o.OutputState, + } +} + func (o StageResponseArrayOutput) Index(i pulumi.IntInput) StageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StageResponse { return vs[0].([]StageResponse)[vs[1].(int)] @@ -4993,6 +5828,12 @@ func (i StandardArgs) ToStandardOutputWithContext(ctx context.Context) StandardO return pulumi.ToOutputWithContext(ctx, i).(StandardOutput) } +func (i StandardArgs) ToOutput(ctx context.Context) pulumix.Output[Standard] { + return pulumix.Output[Standard]{ + OutputState: i.ToStandardOutputWithContext(ctx).OutputState, + } +} + func (i StandardArgs) ToStandardPtrOutput() StandardPtrOutput { return i.ToStandardPtrOutputWithContext(context.Background()) } @@ -5034,6 +5875,12 @@ func (i *standardPtrType) ToStandardPtrOutputWithContext(ctx context.Context) St return pulumi.ToOutputWithContext(ctx, i).(StandardPtrOutput) } +func (i *standardPtrType) ToOutput(ctx context.Context) pulumix.Output[*Standard] { + return pulumix.Output[*Standard]{ + OutputState: i.ToStandardPtrOutputWithContext(ctx).OutputState, + } +} + // Standard represents the standard deployment strategy. type StandardOutput struct{ *pulumi.OutputState } @@ -5059,6 +5906,12 @@ func (o StandardOutput) ToStandardPtrOutputWithContext(ctx context.Context) Stan }).(StandardPtrOutput) } +func (o StandardOutput) ToOutput(ctx context.Context) pulumix.Output[Standard] { + return pulumix.Output[Standard]{ + OutputState: o.OutputState, + } +} + // Whether to verify a deployment. func (o StandardOutput) Verify() pulumi.BoolPtrOutput { return o.ApplyT(func(v Standard) *bool { return v.Verify }).(pulumi.BoolPtrOutput) @@ -5078,6 +5931,12 @@ func (o StandardPtrOutput) ToStandardPtrOutputWithContext(ctx context.Context) S return o } +func (o StandardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Standard] { + return pulumix.Output[*Standard]{ + OutputState: o.OutputState, + } +} + func (o StandardPtrOutput) Elem() StandardOutput { return o.ApplyT(func(v *Standard) Standard { if v != nil { @@ -5119,6 +5978,12 @@ func (o StandardResponseOutput) ToStandardResponseOutputWithContext(ctx context. return o } +func (o StandardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StandardResponse] { + return pulumix.Output[StandardResponse]{ + OutputState: o.OutputState, + } +} + // Whether to verify a deployment. func (o StandardResponseOutput) Verify() pulumi.BoolOutput { return o.ApplyT(func(v StandardResponse) bool { return v.Verify }).(pulumi.BoolOutput) @@ -5163,6 +6028,12 @@ func (i StrategyArgs) ToStrategyOutputWithContext(ctx context.Context) StrategyO return pulumi.ToOutputWithContext(ctx, i).(StrategyOutput) } +func (i StrategyArgs) ToOutput(ctx context.Context) pulumix.Output[Strategy] { + return pulumix.Output[Strategy]{ + OutputState: i.ToStrategyOutputWithContext(ctx).OutputState, + } +} + func (i StrategyArgs) ToStrategyPtrOutput() StrategyPtrOutput { return i.ToStrategyPtrOutputWithContext(context.Background()) } @@ -5204,6 +6075,12 @@ func (i *strategyPtrType) ToStrategyPtrOutputWithContext(ctx context.Context) St return pulumi.ToOutputWithContext(ctx, i).(StrategyPtrOutput) } +func (i *strategyPtrType) ToOutput(ctx context.Context) pulumix.Output[*Strategy] { + return pulumix.Output[*Strategy]{ + OutputState: i.ToStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Strategy contains deployment strategy information. type StrategyOutput struct{ *pulumi.OutputState } @@ -5229,6 +6106,12 @@ func (o StrategyOutput) ToStrategyPtrOutputWithContext(ctx context.Context) Stra }).(StrategyPtrOutput) } +func (o StrategyOutput) ToOutput(ctx context.Context) pulumix.Output[Strategy] { + return pulumix.Output[Strategy]{ + OutputState: o.OutputState, + } +} + // Canary deployment strategy provides progressive percentage based deployments to a Target. func (o StrategyOutput) Canary() CanaryPtrOutput { return o.ApplyT(func(v Strategy) *Canary { return v.Canary }).(CanaryPtrOutput) @@ -5253,6 +6136,12 @@ func (o StrategyPtrOutput) ToStrategyPtrOutputWithContext(ctx context.Context) S return o } +func (o StrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Strategy] { + return pulumix.Output[*Strategy]{ + OutputState: o.OutputState, + } +} + func (o StrategyPtrOutput) Elem() StrategyOutput { return o.ApplyT(func(v *Strategy) Strategy { if v != nil { @@ -5306,6 +6195,12 @@ func (o StrategyResponseOutput) ToStrategyResponseOutputWithContext(ctx context. return o } +func (o StrategyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StrategyResponse] { + return pulumix.Output[StrategyResponse]{ + OutputState: o.OutputState, + } +} + // Canary deployment strategy provides progressive percentage based deployments to a Target. func (o StrategyResponseOutput) Canary() CanaryResponseOutput { return o.ApplyT(func(v StrategyResponse) CanaryResponse { return v.Canary }).(CanaryResponseOutput) @@ -5365,6 +6260,12 @@ func (o TargetResponseOutput) ToTargetResponseOutputWithContext(ctx context.Cont return o } +func (o TargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TargetResponse] { + return pulumix.Output[TargetResponse]{ + OutputState: o.OutputState, + } +} + // Optional. User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. func (o TargetResponseOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v TargetResponse) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) @@ -5454,6 +6355,12 @@ func (o TargetResponseArrayOutput) ToTargetResponseArrayOutputWithContext(ctx co return o } +func (o TargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TargetResponse] { + return pulumix.Output[[]TargetResponse]{ + OutputState: o.OutputState, + } +} + func (o TargetResponseArrayOutput) Index(i pulumi.IntInput) TargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TargetResponse { return vs[0].([]TargetResponse)[vs[1].(int)] @@ -5485,6 +6392,12 @@ func (o TargetsPresentConditionResponseOutput) ToTargetsPresentConditionResponse return o } +func (o TargetsPresentConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TargetsPresentConditionResponse] { + return pulumix.Output[TargetsPresentConditionResponse]{ + OutputState: o.OutputState, + } +} + // The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}. func (o TargetsPresentConditionResponseOutput) MissingTargets() pulumi.StringArrayOutput { return o.ApplyT(func(v TargetsPresentConditionResponse) []string { return v.MissingTargets }).(pulumi.StringArrayOutput) @@ -5523,6 +6436,12 @@ func (o TargetsTypeConditionResponseOutput) ToTargetsTypeConditionResponseOutput return o } +func (o TargetsTypeConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TargetsTypeConditionResponse] { + return pulumix.Output[TargetsTypeConditionResponse]{ + OutputState: o.OutputState, + } +} + // Human readable error message. func (o TargetsTypeConditionResponseOutput) ErrorDetails() pulumi.StringOutput { return o.ApplyT(func(v TargetsTypeConditionResponse) string { return v.ErrorDetails }).(pulumi.StringOutput) @@ -5552,6 +6471,12 @@ func (o VerifyJobResponseOutput) ToVerifyJobResponseOutputWithContext(ctx contex return o } +func (o VerifyJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VerifyJobResponse] { + return pulumix.Output[VerifyJobResponse]{ + OutputState: o.OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AnthosClusterInput)(nil)).Elem(), AnthosClusterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AnthosClusterPtrInput)(nil)).Elem(), AnthosClusterArgs{}) diff --git a/sdk/go/google/clouddeploy/v1/release.go b/sdk/go/google/clouddeploy/v1/release.go index 23f6f4b243..a8ed601d5c 100644 --- a/sdk/go/google/clouddeploy/v1/release.go +++ b/sdk/go/google/clouddeploy/v1/release.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Release in a given project and location. @@ -200,6 +201,12 @@ func (i *Release) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput return pulumi.ToOutputWithContext(ctx, i).(ReleaseOutput) } +func (i *Release) ToOutput(ctx context.Context) pulumix.Output[*Release] { + return pulumix.Output[*Release]{ + OutputState: i.ToReleaseOutputWithContext(ctx).OutputState, + } +} + type ReleaseOutput struct{ *pulumi.OutputState } func (ReleaseOutput) ElementType() reflect.Type { @@ -214,6 +221,12 @@ func (o ReleaseOutput) ToReleaseOutputWithContext(ctx context.Context) ReleaseOu return o } +func (o ReleaseOutput) ToOutput(ctx context.Context) pulumix.Output[*Release] { + return pulumix.Output[*Release]{ + OutputState: o.OutputState, + } +} + // Indicates whether this is an abandoned release. func (o ReleaseOutput) Abandoned() pulumi.BoolOutput { return o.ApplyT(func(v *Release) pulumi.BoolOutput { return v.Abandoned }).(pulumi.BoolOutput) diff --git a/sdk/go/google/clouddeploy/v1/rollout.go b/sdk/go/google/clouddeploy/v1/rollout.go index 43aaf61148..a07d9d4a4d 100644 --- a/sdk/go/google/clouddeploy/v1/rollout.go +++ b/sdk/go/google/clouddeploy/v1/rollout.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Rollout in a given project and location. @@ -204,6 +205,12 @@ func (i *Rollout) ToRolloutOutputWithContext(ctx context.Context) RolloutOutput return pulumi.ToOutputWithContext(ctx, i).(RolloutOutput) } +func (i *Rollout) ToOutput(ctx context.Context) pulumix.Output[*Rollout] { + return pulumix.Output[*Rollout]{ + OutputState: i.ToRolloutOutputWithContext(ctx).OutputState, + } +} + type RolloutOutput struct{ *pulumi.OutputState } func (RolloutOutput) ElementType() reflect.Type { @@ -218,6 +225,12 @@ func (o RolloutOutput) ToRolloutOutputWithContext(ctx context.Context) RolloutOu return o } +func (o RolloutOutput) ToOutput(ctx context.Context) pulumix.Output[*Rollout] { + return pulumix.Output[*Rollout]{ + OutputState: o.OutputState, + } +} + // User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. func (o RolloutOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Rollout) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/clouddeploy/v1/target.go b/sdk/go/google/clouddeploy/v1/target.go index 812e3befaa..b2806fe51a 100644 --- a/sdk/go/google/clouddeploy/v1/target.go +++ b/sdk/go/google/clouddeploy/v1/target.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Target in a given project and location. @@ -186,6 +187,12 @@ func (i *Target) ToTargetOutputWithContext(ctx context.Context) TargetOutput { return pulumi.ToOutputWithContext(ctx, i).(TargetOutput) } +func (i *Target) ToOutput(ctx context.Context) pulumix.Output[*Target] { + return pulumix.Output[*Target]{ + OutputState: i.ToTargetOutputWithContext(ctx).OutputState, + } +} + type TargetOutput struct{ *pulumi.OutputState } func (TargetOutput) ElementType() reflect.Type { @@ -200,6 +207,12 @@ func (o TargetOutput) ToTargetOutputWithContext(ctx context.Context) TargetOutpu return o } +func (o TargetOutput) ToOutput(ctx context.Context) pulumix.Output[*Target] { + return pulumix.Output[*Target]{ + OutputState: o.OutputState, + } +} + // Optional. User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. func (o TargetOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Target) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/clouddeploy/v1/targetIamBinding.go b/sdk/go/google/clouddeploy/v1/targetIamBinding.go index 8658ecddb3..8bd2b83007 100644 --- a/sdk/go/google/clouddeploy/v1/targetIamBinding.go +++ b/sdk/go/google/clouddeploy/v1/targetIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TargetIamBinding) ToTargetIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TargetIamBindingOutput) } +func (i *TargetIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TargetIamBinding] { + return pulumix.Output[*TargetIamBinding]{ + OutputState: i.ToTargetIamBindingOutputWithContext(ctx).OutputState, + } +} + type TargetIamBindingOutput struct{ *pulumi.OutputState } func (TargetIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TargetIamBindingOutput) ToTargetIamBindingOutputWithContext(ctx context. return o } +func (o TargetIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetIamBinding] { + return pulumix.Output[*TargetIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TargetIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TargetIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/clouddeploy/v1/targetIamMember.go b/sdk/go/google/clouddeploy/v1/targetIamMember.go index 3d3e2143b2..90395a08d2 100644 --- a/sdk/go/google/clouddeploy/v1/targetIamMember.go +++ b/sdk/go/google/clouddeploy/v1/targetIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TargetIamMember) ToTargetIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TargetIamMemberOutput) } +func (i *TargetIamMember) ToOutput(ctx context.Context) pulumix.Output[*TargetIamMember] { + return pulumix.Output[*TargetIamMember]{ + OutputState: i.ToTargetIamMemberOutputWithContext(ctx).OutputState, + } +} + type TargetIamMemberOutput struct{ *pulumi.OutputState } func (TargetIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TargetIamMemberOutput) ToTargetIamMemberOutputWithContext(ctx context.Co return o } +func (o TargetIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetIamMember] { + return pulumix.Output[*TargetIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TargetIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TargetIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/clouddeploy/v1/targetIamPolicy.go b/sdk/go/google/clouddeploy/v1/targetIamPolicy.go index 1931fc0ab0..c76afbe3d0 100644 --- a/sdk/go/google/clouddeploy/v1/targetIamPolicy.go +++ b/sdk/go/google/clouddeploy/v1/targetIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TargetIamPolicy) ToTargetIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TargetIamPolicyOutput) } +func (i *TargetIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TargetIamPolicy] { + return pulumix.Output[*TargetIamPolicy]{ + OutputState: i.ToTargetIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TargetIamPolicyOutput struct{ *pulumi.OutputState } func (TargetIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TargetIamPolicyOutput) ToTargetIamPolicyOutputWithContext(ctx context.Co return o } +func (o TargetIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetIamPolicy] { + return pulumix.Output[*TargetIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o TargetIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *TargetIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudfunctions/v1/function.go b/sdk/go/google/cloudfunctions/v1/function.go index 0f02b93ca1..4fff0edc40 100644 --- a/sdk/go/google/cloudfunctions/v1/function.go +++ b/sdk/go/google/cloudfunctions/v1/function.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error. @@ -275,6 +276,12 @@ func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutp return pulumi.ToOutputWithContext(ctx, i).(FunctionOutput) } +func (i *Function) ToOutput(ctx context.Context) pulumix.Output[*Function] { + return pulumix.Output[*Function]{ + OutputState: i.ToFunctionOutputWithContext(ctx).OutputState, + } +} + type FunctionOutput struct{ *pulumi.OutputState } func (FunctionOutput) ElementType() reflect.Type { @@ -289,6 +296,12 @@ func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) Functio return o } +func (o FunctionOutput) ToOutput(ctx context.Context) pulumix.Output[*Function] { + return pulumix.Output[*Function]{ + OutputState: o.OutputState, + } +} + // The amount of memory in MB available for a function. Defaults to 256MB. func (o FunctionOutput) AvailableMemoryMb() pulumi.IntOutput { return o.ApplyT(func(v *Function) pulumi.IntOutput { return v.AvailableMemoryMb }).(pulumi.IntOutput) diff --git a/sdk/go/google/cloudfunctions/v1/functionIamBinding.go b/sdk/go/google/cloudfunctions/v1/functionIamBinding.go index 3307c6e827..21219e8a28 100644 --- a/sdk/go/google/cloudfunctions/v1/functionIamBinding.go +++ b/sdk/go/google/cloudfunctions/v1/functionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy on the specified function. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *FunctionIamBinding) ToFunctionIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(FunctionIamBindingOutput) } +func (i *FunctionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamBinding] { + return pulumix.Output[*FunctionIamBinding]{ + OutputState: i.ToFunctionIamBindingOutputWithContext(ctx).OutputState, + } +} + type FunctionIamBindingOutput struct{ *pulumi.OutputState } func (FunctionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx cont return o } +func (o FunctionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamBinding] { + return pulumix.Output[*FunctionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FunctionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FunctionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudfunctions/v1/functionIamMember.go b/sdk/go/google/cloudfunctions/v1/functionIamMember.go index a4b1d54a1f..00adf4b8af 100644 --- a/sdk/go/google/cloudfunctions/v1/functionIamMember.go +++ b/sdk/go/google/cloudfunctions/v1/functionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy on the specified function. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *FunctionIamMember) ToFunctionIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FunctionIamMemberOutput) } +func (i *FunctionIamMember) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamMember] { + return pulumix.Output[*FunctionIamMember]{ + OutputState: i.ToFunctionIamMemberOutputWithContext(ctx).OutputState, + } +} + type FunctionIamMemberOutput struct{ *pulumi.OutputState } func (FunctionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx contex return o } +func (o FunctionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamMember] { + return pulumix.Output[*FunctionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FunctionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FunctionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudfunctions/v1/functionIamPolicy.go b/sdk/go/google/cloudfunctions/v1/functionIamPolicy.go index 270906d7b7..baea2fe3d7 100644 --- a/sdk/go/google/cloudfunctions/v1/functionIamPolicy.go +++ b/sdk/go/google/cloudfunctions/v1/functionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy on the specified function. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FunctionIamPolicyOutput) } +func (i *FunctionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamPolicy] { + return pulumix.Output[*FunctionIamPolicy]{ + OutputState: i.ToFunctionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FunctionIamPolicyOutput struct{ *pulumi.OutputState } func (FunctionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx contex return o } +func (o FunctionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamPolicy] { + return pulumix.Output[*FunctionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FunctionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FunctionIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudfunctions/v1/getFunction.go b/sdk/go/google/cloudfunctions/v1/getFunction.go index 7cdf73a525..1565e40191 100644 --- a/sdk/go/google/cloudfunctions/v1/getFunction.go +++ b/sdk/go/google/cloudfunctions/v1/getFunction.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a function with the given name from the requested project. @@ -134,6 +135,12 @@ func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx return o } +func (o LookupFunctionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionResult] { + return pulumix.Output[LookupFunctionResult]{ + OutputState: o.OutputState, + } +} + // The amount of memory in MB available for a function. Defaults to 256MB. func (o LookupFunctionResultOutput) AvailableMemoryMb() pulumi.IntOutput { return o.ApplyT(func(v LookupFunctionResult) int { return v.AvailableMemoryMb }).(pulumi.IntOutput) diff --git a/sdk/go/google/cloudfunctions/v1/getFunctionIamPolicy.go b/sdk/go/google/cloudfunctions/v1/getFunctionIamPolicy.go index 49324a15ab..93081a0ae5 100644 --- a/sdk/go/google/cloudfunctions/v1/getFunctionIamPolicy.go +++ b/sdk/go/google/cloudfunctions/v1/getFunctionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM access control policy for a function. Returns an empty policy if the function exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutp return o } +func (o LookupFunctionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionIamPolicyResult] { + return pulumix.Output[LookupFunctionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFunctionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFunctionIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudfunctions/v1/pulumiEnums.go b/sdk/go/google/cloudfunctions/v1/pulumiEnums.go index 4b39e8ce5e..32d5adc5eb 100644 --- a/sdk/go/google/cloudfunctions/v1/pulumiEnums.go +++ b/sdk/go/google/cloudfunctions/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Docker Registry to use for this deployment. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments. type FunctionDockerRegistry string @@ -253,6 +272,12 @@ func (o FunctionDockerRegistryOutput) ToFunctionDockerRegistryPtrOutputWithConte }).(FunctionDockerRegistryPtrOutput) } +func (o FunctionDockerRegistryOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionDockerRegistry] { + return pulumix.Output[FunctionDockerRegistry]{ + OutputState: o.OutputState, + } +} + func (o FunctionDockerRegistryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o FunctionDockerRegistryPtrOutput) ToFunctionDockerRegistryPtrOutputWithCo return o } +func (o FunctionDockerRegistryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionDockerRegistry] { + return pulumix.Output[*FunctionDockerRegistry]{ + OutputState: o.OutputState, + } +} + func (o FunctionDockerRegistryPtrOutput) Elem() FunctionDockerRegistryOutput { return o.ApplyT(func(v *FunctionDockerRegistry) FunctionDockerRegistry { if v != nil { @@ -350,6 +381,12 @@ func (in *functionDockerRegistryPtr) ToFunctionDockerRegistryPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(FunctionDockerRegistryPtrOutput) } +func (in *functionDockerRegistryPtr) ToOutput(ctx context.Context) pulumix.Output[*FunctionDockerRegistry] { + return pulumix.Output[*FunctionDockerRegistry]{ + OutputState: in.ToFunctionDockerRegistryPtrOutputWithContext(ctx).OutputState, + } +} + // The ingress settings for the function, controlling what traffic can reach it. type FunctionIngressSettings string @@ -424,6 +461,12 @@ func (o FunctionIngressSettingsOutput) ToFunctionIngressSettingsPtrOutputWithCon }).(FunctionIngressSettingsPtrOutput) } +func (o FunctionIngressSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionIngressSettings] { + return pulumix.Output[FunctionIngressSettings]{ + OutputState: o.OutputState, + } +} + func (o FunctionIngressSettingsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -459,6 +502,12 @@ func (o FunctionIngressSettingsPtrOutput) ToFunctionIngressSettingsPtrOutputWith return o } +func (o FunctionIngressSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIngressSettings] { + return pulumix.Output[*FunctionIngressSettings]{ + OutputState: o.OutputState, + } +} + func (o FunctionIngressSettingsPtrOutput) Elem() FunctionIngressSettingsOutput { return o.ApplyT(func(v *FunctionIngressSettings) FunctionIngressSettings { if v != nil { @@ -521,6 +570,12 @@ func (in *functionIngressSettingsPtr) ToFunctionIngressSettingsPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(FunctionIngressSettingsPtrOutput) } +func (in *functionIngressSettingsPtr) ToOutput(ctx context.Context) pulumix.Output[*FunctionIngressSettings] { + return pulumix.Output[*FunctionIngressSettings]{ + OutputState: in.ToFunctionIngressSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The egress settings for the connector, controlling what traffic is diverted through it. type FunctionVpcConnectorEgressSettings string @@ -593,6 +648,12 @@ func (o FunctionVpcConnectorEgressSettingsOutput) ToFunctionVpcConnectorEgressSe }).(FunctionVpcConnectorEgressSettingsPtrOutput) } +func (o FunctionVpcConnectorEgressSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionVpcConnectorEgressSettings] { + return pulumix.Output[FunctionVpcConnectorEgressSettings]{ + OutputState: o.OutputState, + } +} + func (o FunctionVpcConnectorEgressSettingsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -628,6 +689,12 @@ func (o FunctionVpcConnectorEgressSettingsPtrOutput) ToFunctionVpcConnectorEgres return o } +func (o FunctionVpcConnectorEgressSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionVpcConnectorEgressSettings] { + return pulumix.Output[*FunctionVpcConnectorEgressSettings]{ + OutputState: o.OutputState, + } +} + func (o FunctionVpcConnectorEgressSettingsPtrOutput) Elem() FunctionVpcConnectorEgressSettingsOutput { return o.ApplyT(func(v *FunctionVpcConnectorEgressSettings) FunctionVpcConnectorEgressSettings { if v != nil { @@ -690,6 +757,12 @@ func (in *functionVpcConnectorEgressSettingsPtr) ToFunctionVpcConnectorEgressSet return pulumi.ToOutputWithContext(ctx, in).(FunctionVpcConnectorEgressSettingsPtrOutput) } +func (in *functionVpcConnectorEgressSettingsPtr) ToOutput(ctx context.Context) pulumix.Output[*FunctionVpcConnectorEgressSettings] { + return pulumix.Output[*FunctionVpcConnectorEgressSettings]{ + OutputState: in.ToFunctionVpcConnectorEgressSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The security level for the function. type HttpsTriggerSecurityLevel string @@ -762,6 +835,12 @@ func (o HttpsTriggerSecurityLevelOutput) ToHttpsTriggerSecurityLevelPtrOutputWit }).(HttpsTriggerSecurityLevelPtrOutput) } +func (o HttpsTriggerSecurityLevelOutput) ToOutput(ctx context.Context) pulumix.Output[HttpsTriggerSecurityLevel] { + return pulumix.Output[HttpsTriggerSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o HttpsTriggerSecurityLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -797,6 +876,12 @@ func (o HttpsTriggerSecurityLevelPtrOutput) ToHttpsTriggerSecurityLevelPtrOutput return o } +func (o HttpsTriggerSecurityLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpsTriggerSecurityLevel] { + return pulumix.Output[*HttpsTriggerSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o HttpsTriggerSecurityLevelPtrOutput) Elem() HttpsTriggerSecurityLevelOutput { return o.ApplyT(func(v *HttpsTriggerSecurityLevel) HttpsTriggerSecurityLevel { if v != nil { @@ -859,6 +944,12 @@ func (in *httpsTriggerSecurityLevelPtr) ToHttpsTriggerSecurityLevelPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(HttpsTriggerSecurityLevelPtrOutput) } +func (in *httpsTriggerSecurityLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*HttpsTriggerSecurityLevel] { + return pulumix.Output[*HttpsTriggerSecurityLevel]{ + OutputState: in.ToHttpsTriggerSecurityLevelPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudfunctions/v1/pulumiTypes.go b/sdk/go/google/cloudfunctions/v1/pulumiTypes.go index e719905aa1..cb7dc62df1 100644 --- a/sdk/go/google/cloudfunctions/v1/pulumiTypes.go +++ b/sdk/go/google/cloudfunctions/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i EventTriggerArgs) ToEventTriggerOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(EventTriggerOutput) } +func (i EventTriggerArgs) ToOutput(ctx context.Context) pulumix.Output[EventTrigger] { + return pulumix.Output[EventTrigger]{ + OutputState: i.ToEventTriggerOutputWithContext(ctx).OutputState, + } +} + func (i EventTriggerArgs) ToEventTriggerPtrOutput() EventTriggerPtrOutput { return i.ToEventTriggerPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *eventTriggerPtrType) ToEventTriggerPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(EventTriggerPtrOutput) } +func (i *eventTriggerPtrType) ToOutput(ctx context.Context) pulumix.Output[*EventTrigger] { + return pulumix.Output[*EventTrigger]{ + OutputState: i.ToEventTriggerPtrOutputWithContext(ctx).OutputState, + } +} + // Describes EventTrigger, used to request events be sent from another service. type EventTriggerOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o EventTriggerOutput) ToEventTriggerPtrOutputWithContext(ctx context.Conte }).(EventTriggerPtrOutput) } +func (o EventTriggerOutput) ToOutput(ctx context.Context) pulumix.Output[EventTrigger] { + return pulumix.Output[EventTrigger]{ + OutputState: o.OutputState, + } +} + // The type of event to observe. For example: `providers/cloud.storage/eventTypes/object.change` and `providers/cloud.pubsub/eventTypes/topic.publish`. Event types match pattern `providers/*/eventTypes/*.*`. The pattern contains: 1. namespace: For example, `cloud.storage` and `google.firebase.analytics`. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case. func (o EventTriggerOutput) EventType() pulumi.StringOutput { return o.ApplyT(func(v EventTrigger) string { return v.EventType }).(pulumi.StringOutput) @@ -662,6 +789,12 @@ func (o EventTriggerPtrOutput) ToEventTriggerPtrOutputWithContext(ctx context.Co return o } +func (o EventTriggerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventTrigger] { + return pulumix.Output[*EventTrigger]{ + OutputState: o.OutputState, + } +} + func (o EventTriggerPtrOutput) Elem() EventTriggerOutput { return o.ApplyT(func(v *EventTrigger) EventTrigger { if v != nil { @@ -739,6 +872,12 @@ func (o EventTriggerResponseOutput) ToEventTriggerResponseOutputWithContext(ctx return o } +func (o EventTriggerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventTriggerResponse] { + return pulumix.Output[EventTriggerResponse]{ + OutputState: o.OutputState, + } +} + // The type of event to observe. For example: `providers/cloud.storage/eventTypes/object.change` and `providers/cloud.pubsub/eventTypes/topic.publish`. Event types match pattern `providers/*/eventTypes/*.*`. The pattern contains: 1. namespace: For example, `cloud.storage` and `google.firebase.analytics`. 2. resource type: The type of resource on which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud Storage Object is 'change'. These parts are lower case. func (o EventTriggerResponseOutput) EventType() pulumi.StringOutput { return o.ApplyT(func(v EventTriggerResponse) string { return v.EventType }).(pulumi.StringOutput) @@ -806,6 +945,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -847,6 +992,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -872,6 +1023,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -906,6 +1063,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -983,6 +1146,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1038,6 +1207,12 @@ func (i FailurePolicyArgs) ToFailurePolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FailurePolicyOutput) } +func (i FailurePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[FailurePolicy] { + return pulumix.Output[FailurePolicy]{ + OutputState: i.ToFailurePolicyOutputWithContext(ctx).OutputState, + } +} + func (i FailurePolicyArgs) ToFailurePolicyPtrOutput() FailurePolicyPtrOutput { return i.ToFailurePolicyPtrOutputWithContext(context.Background()) } @@ -1079,6 +1254,12 @@ func (i *failurePolicyPtrType) ToFailurePolicyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(FailurePolicyPtrOutput) } +func (i *failurePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*FailurePolicy] { + return pulumix.Output[*FailurePolicy]{ + OutputState: i.ToFailurePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them). type FailurePolicyOutput struct{ *pulumi.OutputState } @@ -1104,6 +1285,12 @@ func (o FailurePolicyOutput) ToFailurePolicyPtrOutputWithContext(ctx context.Con }).(FailurePolicyPtrOutput) } +func (o FailurePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[FailurePolicy] { + return pulumix.Output[FailurePolicy]{ + OutputState: o.OutputState, + } +} + // If specified, then the function will be retried in case of a failure. func (o FailurePolicyOutput) Retry() RetryPtrOutput { return o.ApplyT(func(v FailurePolicy) *Retry { return v.Retry }).(RetryPtrOutput) @@ -1123,6 +1310,12 @@ func (o FailurePolicyPtrOutput) ToFailurePolicyPtrOutputWithContext(ctx context. return o } +func (o FailurePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FailurePolicy] { + return pulumix.Output[*FailurePolicy]{ + OutputState: o.OutputState, + } +} + func (o FailurePolicyPtrOutput) Elem() FailurePolicyOutput { return o.ApplyT(func(v *FailurePolicy) FailurePolicy { if v != nil { @@ -1164,6 +1357,12 @@ func (o FailurePolicyResponseOutput) ToFailurePolicyResponseOutputWithContext(ct return o } +func (o FailurePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FailurePolicyResponse] { + return pulumix.Output[FailurePolicyResponse]{ + OutputState: o.OutputState, + } +} + // If specified, then the function will be retried in case of a failure. func (o FailurePolicyResponseOutput) Retry() RetryResponseOutput { return o.ApplyT(func(v FailurePolicyResponse) RetryResponse { return v.Retry }).(RetryResponseOutput) @@ -1204,6 +1403,12 @@ func (i HttpsTriggerArgs) ToHttpsTriggerOutputWithContext(ctx context.Context) H return pulumi.ToOutputWithContext(ctx, i).(HttpsTriggerOutput) } +func (i HttpsTriggerArgs) ToOutput(ctx context.Context) pulumix.Output[HttpsTrigger] { + return pulumix.Output[HttpsTrigger]{ + OutputState: i.ToHttpsTriggerOutputWithContext(ctx).OutputState, + } +} + func (i HttpsTriggerArgs) ToHttpsTriggerPtrOutput() HttpsTriggerPtrOutput { return i.ToHttpsTriggerPtrOutputWithContext(context.Background()) } @@ -1245,6 +1450,12 @@ func (i *httpsTriggerPtrType) ToHttpsTriggerPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(HttpsTriggerPtrOutput) } +func (i *httpsTriggerPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpsTrigger] { + return pulumix.Output[*HttpsTrigger]{ + OutputState: i.ToHttpsTriggerPtrOutputWithContext(ctx).OutputState, + } +} + // Describes HttpsTrigger, could be used to connect web hooks to function. type HttpsTriggerOutput struct{ *pulumi.OutputState } @@ -1270,6 +1481,12 @@ func (o HttpsTriggerOutput) ToHttpsTriggerPtrOutputWithContext(ctx context.Conte }).(HttpsTriggerPtrOutput) } +func (o HttpsTriggerOutput) ToOutput(ctx context.Context) pulumix.Output[HttpsTrigger] { + return pulumix.Output[HttpsTrigger]{ + OutputState: o.OutputState, + } +} + // The security level for the function. func (o HttpsTriggerOutput) SecurityLevel() HttpsTriggerSecurityLevelPtrOutput { return o.ApplyT(func(v HttpsTrigger) *HttpsTriggerSecurityLevel { return v.SecurityLevel }).(HttpsTriggerSecurityLevelPtrOutput) @@ -1289,6 +1506,12 @@ func (o HttpsTriggerPtrOutput) ToHttpsTriggerPtrOutputWithContext(ctx context.Co return o } +func (o HttpsTriggerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpsTrigger] { + return pulumix.Output[*HttpsTrigger]{ + OutputState: o.OutputState, + } +} + func (o HttpsTriggerPtrOutput) Elem() HttpsTriggerOutput { return o.ApplyT(func(v *HttpsTrigger) HttpsTrigger { if v != nil { @@ -1332,6 +1555,12 @@ func (o HttpsTriggerResponseOutput) ToHttpsTriggerResponseOutputWithContext(ctx return o } +func (o HttpsTriggerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpsTriggerResponse] { + return pulumix.Output[HttpsTriggerResponse]{ + OutputState: o.OutputState, + } +} + // The security level for the function. func (o HttpsTriggerResponseOutput) SecurityLevel() pulumi.StringOutput { return o.ApplyT(func(v HttpsTriggerResponse) string { return v.SecurityLevel }).(pulumi.StringOutput) @@ -1373,6 +1602,12 @@ func (i RetryArgs) ToRetryOutputWithContext(ctx context.Context) RetryOutput { return pulumi.ToOutputWithContext(ctx, i).(RetryOutput) } +func (i RetryArgs) ToOutput(ctx context.Context) pulumix.Output[Retry] { + return pulumix.Output[Retry]{ + OutputState: i.ToRetryOutputWithContext(ctx).OutputState, + } +} + func (i RetryArgs) ToRetryPtrOutput() RetryPtrOutput { return i.ToRetryPtrOutputWithContext(context.Background()) } @@ -1414,6 +1649,12 @@ func (i *retryPtrType) ToRetryPtrOutputWithContext(ctx context.Context) RetryPtr return pulumi.ToOutputWithContext(ctx, i).(RetryPtrOutput) } +func (i *retryPtrType) ToOutput(ctx context.Context) pulumix.Output[*Retry] { + return pulumix.Output[*Retry]{ + OutputState: i.ToRetryPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the retry policy in case of function's execution failure. A function execution will be retried on any failure. A failed execution will be retried up to 7 days with an exponential backoff (capped at 10 seconds). Retried execution is charged as any other execution. type RetryOutput struct{ *pulumi.OutputState } @@ -1439,6 +1680,12 @@ func (o RetryOutput) ToRetryPtrOutputWithContext(ctx context.Context) RetryPtrOu }).(RetryPtrOutput) } +func (o RetryOutput) ToOutput(ctx context.Context) pulumix.Output[Retry] { + return pulumix.Output[Retry]{ + OutputState: o.OutputState, + } +} + type RetryPtrOutput struct{ *pulumi.OutputState } func (RetryPtrOutput) ElementType() reflect.Type { @@ -1453,6 +1700,12 @@ func (o RetryPtrOutput) ToRetryPtrOutputWithContext(ctx context.Context) RetryPt return o } +func (o RetryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Retry] { + return pulumix.Output[*Retry]{ + OutputState: o.OutputState, + } +} + func (o RetryPtrOutput) Elem() RetryOutput { return o.ApplyT(func(v *Retry) Retry { if v != nil { @@ -1482,6 +1735,12 @@ func (o RetryResponseOutput) ToRetryResponseOutputWithContext(ctx context.Contex return o } +func (o RetryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RetryResponse] { + return pulumix.Output[RetryResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable. type SecretEnvVar struct { // Name of the environment variable. @@ -1529,6 +1788,12 @@ func (i SecretEnvVarArgs) ToSecretEnvVarOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretEnvVarOutput) } +func (i SecretEnvVarArgs) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVar] { + return pulumix.Output[SecretEnvVar]{ + OutputState: i.ToSecretEnvVarOutputWithContext(ctx).OutputState, + } +} + // SecretEnvVarArrayInput is an input type that accepts SecretEnvVarArray and SecretEnvVarArrayOutput values. // You can construct a concrete instance of `SecretEnvVarArrayInput` via: // @@ -1554,6 +1819,12 @@ func (i SecretEnvVarArray) ToSecretEnvVarArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecretEnvVarArrayOutput) } +func (i SecretEnvVarArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVar] { + return pulumix.Output[[]SecretEnvVar]{ + OutputState: i.ToSecretEnvVarArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable. type SecretEnvVarOutput struct{ *pulumi.OutputState } @@ -1569,6 +1840,12 @@ func (o SecretEnvVarOutput) ToSecretEnvVarOutputWithContext(ctx context.Context) return o } +func (o SecretEnvVarOutput) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVar] { + return pulumix.Output[SecretEnvVar]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. func (o SecretEnvVarOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretEnvVar) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -1603,6 +1880,12 @@ func (o SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutputWithContext(ctx contex return o } +func (o SecretEnvVarArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVar] { + return pulumix.Output[[]SecretEnvVar]{ + OutputState: o.OutputState, + } +} + func (o SecretEnvVarArrayOutput) Index(i pulumi.IntInput) SecretEnvVarOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretEnvVar { return vs[0].([]SecretEnvVar)[vs[1].(int)] @@ -1636,6 +1919,12 @@ func (o SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutputWithContext(ctx return o } +func (o SecretEnvVarResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVarResponse] { + return pulumix.Output[SecretEnvVarResponse]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. func (o SecretEnvVarResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SecretEnvVarResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1670,6 +1959,12 @@ func (o SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutputWithCo return o } +func (o SecretEnvVarResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVarResponse] { + return pulumix.Output[[]SecretEnvVarResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretEnvVarResponseArrayOutput) Index(i pulumi.IntInput) SecretEnvVarResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretEnvVarResponse { return vs[0].([]SecretEnvVarResponse)[vs[1].(int)] @@ -1715,6 +2010,12 @@ func (i SecretVersionArgs) ToSecretVersionOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecretVersionOutput) } +func (i SecretVersionArgs) ToOutput(ctx context.Context) pulumix.Output[SecretVersion] { + return pulumix.Output[SecretVersion]{ + OutputState: i.ToSecretVersionOutputWithContext(ctx).OutputState, + } +} + // SecretVersionArrayInput is an input type that accepts SecretVersionArray and SecretVersionArrayOutput values. // You can construct a concrete instance of `SecretVersionArrayInput` via: // @@ -1740,6 +2041,12 @@ func (i SecretVersionArray) ToSecretVersionArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretVersionArrayOutput) } +func (i SecretVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersion] { + return pulumix.Output[[]SecretVersion]{ + OutputState: i.ToSecretVersionArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a single version. type SecretVersionOutput struct{ *pulumi.OutputState } @@ -1755,6 +2062,12 @@ func (o SecretVersionOutput) ToSecretVersionOutputWithContext(ctx context.Contex return o } +func (o SecretVersionOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVersion] { + return pulumix.Output[SecretVersion]{ + OutputState: o.OutputState, + } +} + // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`. func (o SecretVersionOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretVersion) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -1779,6 +2092,12 @@ func (o SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext(ctx cont return o } +func (o SecretVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersion] { + return pulumix.Output[[]SecretVersion]{ + OutputState: o.OutputState, + } +} + func (o SecretVersionArrayOutput) Index(i pulumi.IntInput) SecretVersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVersion { return vs[0].([]SecretVersion)[vs[1].(int)] @@ -1808,6 +2127,12 @@ func (o SecretVersionResponseOutput) ToSecretVersionResponseOutputWithContext(ct return o } +func (o SecretVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVersionResponse] { + return pulumix.Output[SecretVersionResponse]{ + OutputState: o.OutputState, + } +} + // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`. func (o SecretVersionResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v SecretVersionResponse) string { return v.Path }).(pulumi.StringOutput) @@ -1832,6 +2157,12 @@ func (o SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutputWith return o } +func (o SecretVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersionResponse] { + return pulumix.Output[[]SecretVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretVersionResponseArrayOutput) Index(i pulumi.IntInput) SecretVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVersionResponse { return vs[0].([]SecretVersionResponse)[vs[1].(int)] @@ -1885,6 +2216,12 @@ func (i SecretVolumeArgs) ToSecretVolumeOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretVolumeOutput) } +func (i SecretVolumeArgs) ToOutput(ctx context.Context) pulumix.Output[SecretVolume] { + return pulumix.Output[SecretVolume]{ + OutputState: i.ToSecretVolumeOutputWithContext(ctx).OutputState, + } +} + // SecretVolumeArrayInput is an input type that accepts SecretVolumeArray and SecretVolumeArrayOutput values. // You can construct a concrete instance of `SecretVolumeArrayInput` via: // @@ -1910,6 +2247,12 @@ func (i SecretVolumeArray) ToSecretVolumeArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecretVolumeArrayOutput) } +func (i SecretVolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolume] { + return pulumix.Output[[]SecretVolume]{ + OutputState: i.ToSecretVolumeArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container. Secret value is not a part of the configuration. Every filesystem read operation performs a lookup in secret manager to retrieve the secret value. type SecretVolumeOutput struct{ *pulumi.OutputState } @@ -1925,6 +2268,12 @@ func (o SecretVolumeOutput) ToSecretVolumeOutputWithContext(ctx context.Context) return o } +func (o SecretVolumeOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVolume] { + return pulumix.Output[SecretVolume]{ + OutputState: o.OutputState, + } +} + // The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log func (o SecretVolumeOutput) MountPath() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretVolume) *string { return v.MountPath }).(pulumi.StringPtrOutput) @@ -1959,6 +2308,12 @@ func (o SecretVolumeArrayOutput) ToSecretVolumeArrayOutputWithContext(ctx contex return o } +func (o SecretVolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolume] { + return pulumix.Output[[]SecretVolume]{ + OutputState: o.OutputState, + } +} + func (o SecretVolumeArrayOutput) Index(i pulumi.IntInput) SecretVolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVolume { return vs[0].([]SecretVolume)[vs[1].(int)] @@ -1992,6 +2347,12 @@ func (o SecretVolumeResponseOutput) ToSecretVolumeResponseOutputWithContext(ctx return o } +func (o SecretVolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVolumeResponse] { + return pulumix.Output[SecretVolumeResponse]{ + OutputState: o.OutputState, + } +} + // The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql, /dev/log, /pod, /proc, /var/log func (o SecretVolumeResponseOutput) MountPath() pulumi.StringOutput { return o.ApplyT(func(v SecretVolumeResponse) string { return v.MountPath }).(pulumi.StringOutput) @@ -2026,6 +2387,12 @@ func (o SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutputWithCo return o } +func (o SecretVolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolumeResponse] { + return pulumix.Output[[]SecretVolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretVolumeResponseArrayOutput) Index(i pulumi.IntInput) SecretVolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVolumeResponse { return vs[0].([]SecretVolumeResponse)[vs[1].(int)] @@ -2067,6 +2434,12 @@ func (i SourceRepositoryArgs) ToSourceRepositoryOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SourceRepositoryOutput) } +func (i SourceRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[SourceRepository] { + return pulumix.Output[SourceRepository]{ + OutputState: i.ToSourceRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i SourceRepositoryArgs) ToSourceRepositoryPtrOutput() SourceRepositoryPtrOutput { return i.ToSourceRepositoryPtrOutputWithContext(context.Background()) } @@ -2108,6 +2481,12 @@ func (i *sourceRepositoryPtrType) ToSourceRepositoryPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SourceRepositoryPtrOutput) } +func (i *sourceRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*SourceRepository] { + return pulumix.Output[*SourceRepository]{ + OutputState: i.ToSourceRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Describes SourceRepository, used to represent parameters related to source repository where a function is hosted. type SourceRepositoryOutput struct{ *pulumi.OutputState } @@ -2133,6 +2512,12 @@ func (o SourceRepositoryOutput) ToSourceRepositoryPtrOutputWithContext(ctx conte }).(SourceRepositoryPtrOutput) } +func (o SourceRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[SourceRepository] { + return pulumix.Output[SourceRepository]{ + OutputState: o.OutputState, + } +} + // The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit: `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch): `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory. func (o SourceRepositoryOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v SourceRepository) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -2152,6 +2537,12 @@ func (o SourceRepositoryPtrOutput) ToSourceRepositoryPtrOutputWithContext(ctx co return o } +func (o SourceRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceRepository] { + return pulumix.Output[*SourceRepository]{ + OutputState: o.OutputState, + } +} + func (o SourceRepositoryPtrOutput) Elem() SourceRepositoryOutput { return o.ApplyT(func(v *SourceRepository) SourceRepository { if v != nil { @@ -2195,6 +2586,12 @@ func (o SourceRepositoryResponseOutput) ToSourceRepositoryResponseOutputWithCont return o } +func (o SourceRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceRepositoryResponse] { + return pulumix.Output[SourceRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described above. func (o SourceRepositoryResponseOutput) DeployedUrl() pulumi.StringOutput { return o.ApplyT(func(v SourceRepositoryResponse) string { return v.DeployedUrl }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudfunctions/v2/function.go b/sdk/go/google/cloudfunctions/v2/function.go index b58ae2cb04..d763df6973 100644 --- a/sdk/go/google/cloudfunctions/v2/function.go +++ b/sdk/go/google/cloudfunctions/v2/function.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error. @@ -157,6 +158,12 @@ func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutp return pulumi.ToOutputWithContext(ctx, i).(FunctionOutput) } +func (i *Function) ToOutput(ctx context.Context) pulumix.Output[*Function] { + return pulumix.Output[*Function]{ + OutputState: i.ToFunctionOutputWithContext(ctx).OutputState, + } +} + type FunctionOutput struct{ *pulumi.OutputState } func (FunctionOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) Functio return o } +func (o FunctionOutput) ToOutput(ctx context.Context) pulumix.Output[*Function] { + return pulumix.Output[*Function]{ + OutputState: o.OutputState, + } +} + // Describes the Build step of the function that builds a container from the given source. func (o FunctionOutput) BuildConfig() BuildConfigResponseOutput { return o.ApplyT(func(v *Function) BuildConfigResponseOutput { return v.BuildConfig }).(BuildConfigResponseOutput) diff --git a/sdk/go/google/cloudfunctions/v2/functionIamBinding.go b/sdk/go/google/cloudfunctions/v2/functionIamBinding.go index 9989e0da0e..cd3f6acdb1 100644 --- a/sdk/go/google/cloudfunctions/v2/functionIamBinding.go +++ b/sdk/go/google/cloudfunctions/v2/functionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FunctionIamBinding) ToFunctionIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(FunctionIamBindingOutput) } +func (i *FunctionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamBinding] { + return pulumix.Output[*FunctionIamBinding]{ + OutputState: i.ToFunctionIamBindingOutputWithContext(ctx).OutputState, + } +} + type FunctionIamBindingOutput struct{ *pulumi.OutputState } func (FunctionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx cont return o } +func (o FunctionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamBinding] { + return pulumix.Output[*FunctionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FunctionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FunctionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudfunctions/v2/functionIamMember.go b/sdk/go/google/cloudfunctions/v2/functionIamMember.go index 70faf2020f..94923cf042 100644 --- a/sdk/go/google/cloudfunctions/v2/functionIamMember.go +++ b/sdk/go/google/cloudfunctions/v2/functionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FunctionIamMember) ToFunctionIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FunctionIamMemberOutput) } +func (i *FunctionIamMember) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamMember] { + return pulumix.Output[*FunctionIamMember]{ + OutputState: i.ToFunctionIamMemberOutputWithContext(ctx).OutputState, + } +} + type FunctionIamMemberOutput struct{ *pulumi.OutputState } func (FunctionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx contex return o } +func (o FunctionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamMember] { + return pulumix.Output[*FunctionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FunctionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FunctionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudfunctions/v2/functionIamPolicy.go b/sdk/go/google/cloudfunctions/v2/functionIamPolicy.go index e8949c3f0f..fcf8702137 100644 --- a/sdk/go/google/cloudfunctions/v2/functionIamPolicy.go +++ b/sdk/go/google/cloudfunctions/v2/functionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FunctionIamPolicyOutput) } +func (i *FunctionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamPolicy] { + return pulumix.Output[*FunctionIamPolicy]{ + OutputState: i.ToFunctionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FunctionIamPolicyOutput struct{ *pulumi.OutputState } func (FunctionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx contex return o } +func (o FunctionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamPolicy] { + return pulumix.Output[*FunctionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FunctionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FunctionIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudfunctions/v2/getFunction.go b/sdk/go/google/cloudfunctions/v2/getFunction.go index 6982362356..fc9ace13d5 100644 --- a/sdk/go/google/cloudfunctions/v2/getFunction.go +++ b/sdk/go/google/cloudfunctions/v2/getFunction.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a function with the given name from the requested project. @@ -90,6 +91,12 @@ func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx return o } +func (o LookupFunctionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionResult] { + return pulumix.Output[LookupFunctionResult]{ + OutputState: o.OutputState, + } +} + // Describes the Build step of the function that builds a container from the given source. func (o LookupFunctionResultOutput) BuildConfig() BuildConfigResponseOutput { return o.ApplyT(func(v LookupFunctionResult) BuildConfigResponse { return v.BuildConfig }).(BuildConfigResponseOutput) diff --git a/sdk/go/google/cloudfunctions/v2/getFunctionIamPolicy.go b/sdk/go/google/cloudfunctions/v2/getFunctionIamPolicy.go index adcc3af6de..7cbc32479e 100644 --- a/sdk/go/google/cloudfunctions/v2/getFunctionIamPolicy.go +++ b/sdk/go/google/cloudfunctions/v2/getFunctionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutp return o } +func (o LookupFunctionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionIamPolicyResult] { + return pulumix.Output[LookupFunctionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFunctionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFunctionIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudfunctions/v2/pulumiEnums.go b/sdk/go/google/cloudfunctions/v2/pulumiEnums.go index 3a5155c709..26ba545237 100644 --- a/sdk/go/google/cloudfunctions/v2/pulumiEnums.go +++ b/sdk/go/google/cloudfunctions/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments. type BuildConfigDockerRegistry string @@ -253,6 +272,12 @@ func (o BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryPtrOutputWit }).(BuildConfigDockerRegistryPtrOutput) } +func (o BuildConfigDockerRegistryOutput) ToOutput(ctx context.Context) pulumix.Output[BuildConfigDockerRegistry] { + return pulumix.Output[BuildConfigDockerRegistry]{ + OutputState: o.OutputState, + } +} + func (o BuildConfigDockerRegistryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o BuildConfigDockerRegistryPtrOutput) ToBuildConfigDockerRegistryPtrOutput return o } +func (o BuildConfigDockerRegistryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildConfigDockerRegistry] { + return pulumix.Output[*BuildConfigDockerRegistry]{ + OutputState: o.OutputState, + } +} + func (o BuildConfigDockerRegistryPtrOutput) Elem() BuildConfigDockerRegistryOutput { return o.ApplyT(func(v *BuildConfigDockerRegistry) BuildConfigDockerRegistry { if v != nil { @@ -350,6 +381,12 @@ func (in *buildConfigDockerRegistryPtr) ToBuildConfigDockerRegistryPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(BuildConfigDockerRegistryPtrOutput) } +func (in *buildConfigDockerRegistryPtr) ToOutput(ctx context.Context) pulumix.Output[*BuildConfigDockerRegistry] { + return pulumix.Output[*BuildConfigDockerRegistry]{ + OutputState: in.ToBuildConfigDockerRegistryPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. If unset, then defaults to ignoring failures (i.e. not retrying them). type EventTriggerRetryPolicy string @@ -422,6 +459,12 @@ func (o EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyPtrOutputWithCon }).(EventTriggerRetryPolicyPtrOutput) } +func (o EventTriggerRetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[EventTriggerRetryPolicy] { + return pulumix.Output[EventTriggerRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o EventTriggerRetryPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o EventTriggerRetryPolicyPtrOutput) ToEventTriggerRetryPolicyPtrOutputWith return o } +func (o EventTriggerRetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventTriggerRetryPolicy] { + return pulumix.Output[*EventTriggerRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o EventTriggerRetryPolicyPtrOutput) Elem() EventTriggerRetryPolicyOutput { return o.ApplyT(func(v *EventTriggerRetryPolicy) EventTriggerRetryPolicy { if v != nil { @@ -519,6 +568,12 @@ func (in *eventTriggerRetryPolicyPtr) ToEventTriggerRetryPolicyPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(EventTriggerRetryPolicyPtrOutput) } +func (in *eventTriggerRetryPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*EventTriggerRetryPolicy] { + return pulumix.Output[*EventTriggerRetryPolicy]{ + OutputState: in.ToEventTriggerRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Describe whether the function is 1st Gen or 2nd Gen. type FunctionEnvironment string @@ -591,6 +646,12 @@ func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx }).(FunctionEnvironmentPtrOutput) } +func (o FunctionEnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionEnvironment] { + return pulumix.Output[FunctionEnvironment]{ + OutputState: o.OutputState, + } +} + func (o FunctionEnvironmentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext( return o } +func (o FunctionEnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEnvironment] { + return pulumix.Output[*FunctionEnvironment]{ + OutputState: o.OutputState, + } +} + func (o FunctionEnvironmentPtrOutput) Elem() FunctionEnvironmentOutput { return o.ApplyT(func(v *FunctionEnvironment) FunctionEnvironment { if v != nil { @@ -688,6 +755,12 @@ func (in *functionEnvironmentPtr) ToFunctionEnvironmentPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(FunctionEnvironmentPtrOutput) } +func (in *functionEnvironmentPtr) ToOutput(ctx context.Context) pulumix.Output[*FunctionEnvironment] { + return pulumix.Output[*FunctionEnvironment]{ + OutputState: in.ToFunctionEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // The ingress settings for the function, controlling what traffic can reach it. type ServiceConfigIngressSettings string @@ -762,6 +835,12 @@ func (o ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsPtrOut }).(ServiceConfigIngressSettingsPtrOutput) } +func (o ServiceConfigIngressSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigIngressSettings] { + return pulumix.Output[ServiceConfigIngressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigIngressSettingsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -797,6 +876,12 @@ func (o ServiceConfigIngressSettingsPtrOutput) ToServiceConfigIngressSettingsPtr return o } +func (o ServiceConfigIngressSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigIngressSettings] { + return pulumix.Output[*ServiceConfigIngressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigIngressSettingsPtrOutput) Elem() ServiceConfigIngressSettingsOutput { return o.ApplyT(func(v *ServiceConfigIngressSettings) ServiceConfigIngressSettings { if v != nil { @@ -859,6 +944,12 @@ func (in *serviceConfigIngressSettingsPtr) ToServiceConfigIngressSettingsPtrOutp return pulumi.ToOutputWithContext(ctx, in).(ServiceConfigIngressSettingsPtrOutput) } +func (in *serviceConfigIngressSettingsPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigIngressSettings] { + return pulumix.Output[*ServiceConfigIngressSettings]{ + OutputState: in.ToServiceConfigIngressSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. type ServiceConfigSecurityLevel string @@ -931,6 +1022,12 @@ func (o ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelPtrOutputW }).(ServiceConfigSecurityLevelPtrOutput) } +func (o ServiceConfigSecurityLevelOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigSecurityLevel] { + return pulumix.Output[ServiceConfigSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigSecurityLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -966,6 +1063,12 @@ func (o ServiceConfigSecurityLevelPtrOutput) ToServiceConfigSecurityLevelPtrOutp return o } +func (o ServiceConfigSecurityLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigSecurityLevel] { + return pulumix.Output[*ServiceConfigSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigSecurityLevelPtrOutput) Elem() ServiceConfigSecurityLevelOutput { return o.ApplyT(func(v *ServiceConfigSecurityLevel) ServiceConfigSecurityLevel { if v != nil { @@ -1028,6 +1131,12 @@ func (in *serviceConfigSecurityLevelPtr) ToServiceConfigSecurityLevelPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(ServiceConfigSecurityLevelPtrOutput) } +func (in *serviceConfigSecurityLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigSecurityLevel] { + return pulumix.Output[*ServiceConfigSecurityLevel]{ + OutputState: in.ToServiceConfigSecurityLevelPtrOutputWithContext(ctx).OutputState, + } +} + // The egress settings for the connector, controlling what traffic is diverted through it. type ServiceConfigVpcConnectorEgressSettings string @@ -1100,6 +1209,12 @@ func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnect }).(ServiceConfigVpcConnectorEgressSettingsPtrOutput) } +func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigVpcConnectorEgressSettings] { + return pulumix.Output[ServiceConfigVpcConnectorEgressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1135,6 +1250,12 @@ func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToServiceConfigVpcConn return o } +func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigVpcConnectorEgressSettings] { + return pulumix.Output[*ServiceConfigVpcConnectorEgressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) Elem() ServiceConfigVpcConnectorEgressSettingsOutput { return o.ApplyT(func(v *ServiceConfigVpcConnectorEgressSettings) ServiceConfigVpcConnectorEgressSettings { if v != nil { @@ -1197,6 +1318,12 @@ func (in *serviceConfigVpcConnectorEgressSettingsPtr) ToServiceConfigVpcConnecto return pulumi.ToOutputWithContext(ctx, in).(ServiceConfigVpcConnectorEgressSettingsPtrOutput) } +func (in *serviceConfigVpcConnectorEgressSettingsPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigVpcConnectorEgressSettings] { + return pulumix.Output[*ServiceConfigVpcConnectorEgressSettings]{ + OutputState: in.ToServiceConfigVpcConnectorEgressSettingsPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudfunctions/v2/pulumiTypes.go b/sdk/go/google/cloudfunctions/v2/pulumiTypes.go index 9be6190476..b92ce3a146 100644 --- a/sdk/go/google/cloudfunctions/v2/pulumiTypes.go +++ b/sdk/go/google/cloudfunctions/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -574,6 +683,12 @@ func (i BuildConfigArgs) ToBuildConfigOutputWithContext(ctx context.Context) Bui return pulumi.ToOutputWithContext(ctx, i).(BuildConfigOutput) } +func (i BuildConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BuildConfig] { + return pulumix.Output[BuildConfig]{ + OutputState: i.ToBuildConfigOutputWithContext(ctx).OutputState, + } +} + func (i BuildConfigArgs) ToBuildConfigPtrOutput() BuildConfigPtrOutput { return i.ToBuildConfigPtrOutputWithContext(context.Background()) } @@ -615,6 +730,12 @@ func (i *buildConfigPtrType) ToBuildConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(BuildConfigPtrOutput) } +func (i *buildConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildConfig] { + return pulumix.Output[*BuildConfig]{ + OutputState: i.ToBuildConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the Build step of the function that builds a container from the given source. type BuildConfigOutput struct{ *pulumi.OutputState } @@ -640,6 +761,12 @@ func (o BuildConfigOutput) ToBuildConfigPtrOutputWithContext(ctx context.Context }).(BuildConfigPtrOutput) } +func (o BuildConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BuildConfig] { + return pulumix.Output[BuildConfig]{ + OutputState: o.OutputState, + } +} + // Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments. func (o BuildConfigOutput) DockerRegistry() BuildConfigDockerRegistryPtrOutput { return o.ApplyT(func(v BuildConfig) *BuildConfigDockerRegistry { return v.DockerRegistry }).(BuildConfigDockerRegistryPtrOutput) @@ -689,6 +816,12 @@ func (o BuildConfigPtrOutput) ToBuildConfigPtrOutputWithContext(ctx context.Cont return o } +func (o BuildConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildConfig] { + return pulumix.Output[*BuildConfig]{ + OutputState: o.OutputState, + } +} + func (o BuildConfigPtrOutput) Elem() BuildConfigOutput { return o.ApplyT(func(v *BuildConfig) BuildConfig { if v != nil { @@ -806,6 +939,12 @@ func (o BuildConfigResponseOutput) ToBuildConfigResponseOutputWithContext(ctx co return o } +func (o BuildConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildConfigResponse] { + return pulumix.Output[BuildConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud Build name of the latest successful deployment of the function. func (o BuildConfigResponseOutput) Build() pulumi.StringOutput { return o.ApplyT(func(v BuildConfigResponse) string { return v.Build }).(pulumi.StringOutput) @@ -894,6 +1033,12 @@ func (i EventFilterArgs) ToEventFilterOutputWithContext(ctx context.Context) Eve return pulumi.ToOutputWithContext(ctx, i).(EventFilterOutput) } +func (i EventFilterArgs) ToOutput(ctx context.Context) pulumix.Output[EventFilter] { + return pulumix.Output[EventFilter]{ + OutputState: i.ToEventFilterOutputWithContext(ctx).OutputState, + } +} + // EventFilterArrayInput is an input type that accepts EventFilterArray and EventFilterArrayOutput values. // You can construct a concrete instance of `EventFilterArrayInput` via: // @@ -919,6 +1064,12 @@ func (i EventFilterArray) ToEventFilterArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(EventFilterArrayOutput) } +func (i EventFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]EventFilter] { + return pulumix.Output[[]EventFilter]{ + OutputState: i.ToEventFilterArrayOutputWithContext(ctx).OutputState, + } +} + // Filters events based on exact matches on the CloudEvents attributes. type EventFilterOutput struct{ *pulumi.OutputState } @@ -934,6 +1085,12 @@ func (o EventFilterOutput) ToEventFilterOutputWithContext(ctx context.Context) E return o } +func (o EventFilterOutput) ToOutput(ctx context.Context) pulumix.Output[EventFilter] { + return pulumix.Output[EventFilter]{ + OutputState: o.OutputState, + } +} + // The name of a CloudEvents attribute. func (o EventFilterOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v EventFilter) string { return v.Attribute }).(pulumi.StringOutput) @@ -963,6 +1120,12 @@ func (o EventFilterArrayOutput) ToEventFilterArrayOutputWithContext(ctx context. return o } +func (o EventFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventFilter] { + return pulumix.Output[[]EventFilter]{ + OutputState: o.OutputState, + } +} + func (o EventFilterArrayOutput) Index(i pulumi.IntInput) EventFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventFilter { return vs[0].([]EventFilter)[vs[1].(int)] @@ -994,6 +1157,12 @@ func (o EventFilterResponseOutput) ToEventFilterResponseOutputWithContext(ctx co return o } +func (o EventFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventFilterResponse] { + return pulumix.Output[EventFilterResponse]{ + OutputState: o.OutputState, + } +} + // The name of a CloudEvents attribute. func (o EventFilterResponseOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v EventFilterResponse) string { return v.Attribute }).(pulumi.StringOutput) @@ -1023,6 +1192,12 @@ func (o EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutputWithCont return o } +func (o EventFilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventFilterResponse] { + return pulumix.Output[[]EventFilterResponse]{ + OutputState: o.OutputState, + } +} + func (o EventFilterResponseArrayOutput) Index(i pulumi.IntInput) EventFilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventFilterResponse { return vs[0].([]EventFilterResponse)[vs[1].(int)] @@ -1088,6 +1263,12 @@ func (i EventTriggerArgs) ToEventTriggerOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(EventTriggerOutput) } +func (i EventTriggerArgs) ToOutput(ctx context.Context) pulumix.Output[EventTrigger] { + return pulumix.Output[EventTrigger]{ + OutputState: i.ToEventTriggerOutputWithContext(ctx).OutputState, + } +} + func (i EventTriggerArgs) ToEventTriggerPtrOutput() EventTriggerPtrOutput { return i.ToEventTriggerPtrOutputWithContext(context.Background()) } @@ -1129,6 +1310,12 @@ func (i *eventTriggerPtrType) ToEventTriggerPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(EventTriggerPtrOutput) } +func (i *eventTriggerPtrType) ToOutput(ctx context.Context) pulumix.Output[*EventTrigger] { + return pulumix.Output[*EventTrigger]{ + OutputState: i.ToEventTriggerPtrOutputWithContext(ctx).OutputState, + } +} + // Describes EventTrigger, used to request events to be sent from another service. type EventTriggerOutput struct{ *pulumi.OutputState } @@ -1154,6 +1341,12 @@ func (o EventTriggerOutput) ToEventTriggerPtrOutputWithContext(ctx context.Conte }).(EventTriggerPtrOutput) } +func (o EventTriggerOutput) ToOutput(ctx context.Context) pulumix.Output[EventTrigger] { + return pulumix.Output[EventTrigger]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners. func (o EventTriggerOutput) Channel() pulumi.StringPtrOutput { return o.ApplyT(func(v EventTrigger) *string { return v.Channel }).(pulumi.StringPtrOutput) @@ -1203,6 +1396,12 @@ func (o EventTriggerPtrOutput) ToEventTriggerPtrOutputWithContext(ctx context.Co return o } +func (o EventTriggerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventTrigger] { + return pulumix.Output[*EventTrigger]{ + OutputState: o.OutputState, + } +} + func (o EventTriggerPtrOutput) Elem() EventTriggerOutput { return o.ApplyT(func(v *EventTrigger) EventTrigger { if v != nil { @@ -1318,6 +1517,12 @@ func (o EventTriggerResponseOutput) ToEventTriggerResponseOutputWithContext(ctx return o } +func (o EventTriggerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventTriggerResponse] { + return pulumix.Output[EventTriggerResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners. func (o EventTriggerResponseOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v EventTriggerResponse) string { return v.Channel }).(pulumi.StringOutput) @@ -1405,6 +1610,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1446,6 +1657,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1471,6 +1688,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1505,6 +1728,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1582,6 +1811,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1627,6 +1862,12 @@ func (o GoogleCloudFunctionsV2StateMessageResponseOutput) ToGoogleCloudFunctions return o } +func (o GoogleCloudFunctionsV2StateMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudFunctionsV2StateMessageResponse] { + return pulumix.Output[GoogleCloudFunctionsV2StateMessageResponse]{ + OutputState: o.OutputState, + } +} + // The message. func (o GoogleCloudFunctionsV2StateMessageResponseOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudFunctionsV2StateMessageResponse) string { return v.Message }).(pulumi.StringOutput) @@ -1656,6 +1897,12 @@ func (o GoogleCloudFunctionsV2StateMessageResponseArrayOutput) ToGoogleCloudFunc return o } +func (o GoogleCloudFunctionsV2StateMessageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudFunctionsV2StateMessageResponse] { + return pulumix.Output[[]GoogleCloudFunctionsV2StateMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudFunctionsV2StateMessageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudFunctionsV2StateMessageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudFunctionsV2StateMessageResponse { return vs[0].([]GoogleCloudFunctionsV2StateMessageResponse)[vs[1].(int)] @@ -1721,6 +1968,12 @@ func (i RepoSourceArgs) ToRepoSourceOutputWithContext(ctx context.Context) RepoS return pulumi.ToOutputWithContext(ctx, i).(RepoSourceOutput) } +func (i RepoSourceArgs) ToOutput(ctx context.Context) pulumix.Output[RepoSource] { + return pulumix.Output[RepoSource]{ + OutputState: i.ToRepoSourceOutputWithContext(ctx).OutputState, + } +} + func (i RepoSourceArgs) ToRepoSourcePtrOutput() RepoSourcePtrOutput { return i.ToRepoSourcePtrOutputWithContext(context.Background()) } @@ -1762,6 +2015,12 @@ func (i *repoSourcePtrType) ToRepoSourcePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RepoSourcePtrOutput) } +func (i *repoSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*RepoSource] { + return pulumix.Output[*RepoSource]{ + OutputState: i.ToRepoSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source in a Google Cloud Source Repository. type RepoSourceOutput struct{ *pulumi.OutputState } @@ -1787,6 +2046,12 @@ func (o RepoSourceOutput) ToRepoSourcePtrOutputWithContext(ctx context.Context) }).(RepoSourcePtrOutput) } +func (o RepoSourceOutput) ToOutput(ctx context.Context) pulumix.Output[RepoSource] { + return pulumix.Output[RepoSource]{ + OutputState: o.OutputState, + } +} + // Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o RepoSourceOutput) BranchName() pulumi.StringPtrOutput { return o.ApplyT(func(v RepoSource) *string { return v.BranchName }).(pulumi.StringPtrOutput) @@ -1836,6 +2101,12 @@ func (o RepoSourcePtrOutput) ToRepoSourcePtrOutputWithContext(ctx context.Contex return o } +func (o RepoSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepoSource] { + return pulumix.Output[*RepoSource]{ + OutputState: o.OutputState, + } +} + func (o RepoSourcePtrOutput) Elem() RepoSourceOutput { return o.ApplyT(func(v *RepoSource) RepoSource { if v != nil { @@ -1949,6 +2220,12 @@ func (o RepoSourceResponseOutput) ToRepoSourceResponseOutputWithContext(ctx cont return o } +func (o RepoSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RepoSourceResponse] { + return pulumix.Output[RepoSourceResponse]{ + OutputState: o.OutputState, + } +} + // Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o RepoSourceResponseOutput) BranchName() pulumi.StringOutput { return o.ApplyT(func(v RepoSourceResponse) string { return v.BranchName }).(pulumi.StringOutput) @@ -2031,6 +2308,12 @@ func (i SecretEnvVarArgs) ToSecretEnvVarOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretEnvVarOutput) } +func (i SecretEnvVarArgs) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVar] { + return pulumix.Output[SecretEnvVar]{ + OutputState: i.ToSecretEnvVarOutputWithContext(ctx).OutputState, + } +} + // SecretEnvVarArrayInput is an input type that accepts SecretEnvVarArray and SecretEnvVarArrayOutput values. // You can construct a concrete instance of `SecretEnvVarArrayInput` via: // @@ -2056,6 +2339,12 @@ func (i SecretEnvVarArray) ToSecretEnvVarArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecretEnvVarArrayOutput) } +func (i SecretEnvVarArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVar] { + return pulumix.Output[[]SecretEnvVar]{ + OutputState: i.ToSecretEnvVarArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable. type SecretEnvVarOutput struct{ *pulumi.OutputState } @@ -2071,6 +2360,12 @@ func (o SecretEnvVarOutput) ToSecretEnvVarOutputWithContext(ctx context.Context) return o } +func (o SecretEnvVarOutput) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVar] { + return pulumix.Output[SecretEnvVar]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. func (o SecretEnvVarOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretEnvVar) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -2105,6 +2400,12 @@ func (o SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutputWithContext(ctx contex return o } +func (o SecretEnvVarArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVar] { + return pulumix.Output[[]SecretEnvVar]{ + OutputState: o.OutputState, + } +} + func (o SecretEnvVarArrayOutput) Index(i pulumi.IntInput) SecretEnvVarOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretEnvVar { return vs[0].([]SecretEnvVar)[vs[1].(int)] @@ -2138,6 +2439,12 @@ func (o SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutputWithContext(ctx return o } +func (o SecretEnvVarResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVarResponse] { + return pulumix.Output[SecretEnvVarResponse]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. func (o SecretEnvVarResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SecretEnvVarResponse) string { return v.Key }).(pulumi.StringOutput) @@ -2172,6 +2479,12 @@ func (o SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutputWithCo return o } +func (o SecretEnvVarResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVarResponse] { + return pulumix.Output[[]SecretEnvVarResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretEnvVarResponseArrayOutput) Index(i pulumi.IntInput) SecretEnvVarResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretEnvVarResponse { return vs[0].([]SecretEnvVarResponse)[vs[1].(int)] @@ -2217,6 +2530,12 @@ func (i SecretVersionArgs) ToSecretVersionOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecretVersionOutput) } +func (i SecretVersionArgs) ToOutput(ctx context.Context) pulumix.Output[SecretVersion] { + return pulumix.Output[SecretVersion]{ + OutputState: i.ToSecretVersionOutputWithContext(ctx).OutputState, + } +} + // SecretVersionArrayInput is an input type that accepts SecretVersionArray and SecretVersionArrayOutput values. // You can construct a concrete instance of `SecretVersionArrayInput` via: // @@ -2242,6 +2561,12 @@ func (i SecretVersionArray) ToSecretVersionArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretVersionArrayOutput) } +func (i SecretVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersion] { + return pulumix.Output[[]SecretVersion]{ + OutputState: i.ToSecretVersionArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a single version. type SecretVersionOutput struct{ *pulumi.OutputState } @@ -2257,6 +2582,12 @@ func (o SecretVersionOutput) ToSecretVersionOutputWithContext(ctx context.Contex return o } +func (o SecretVersionOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVersion] { + return pulumix.Output[SecretVersion]{ + OutputState: o.OutputState, + } +} + // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`. func (o SecretVersionOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretVersion) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -2281,6 +2612,12 @@ func (o SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext(ctx cont return o } +func (o SecretVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersion] { + return pulumix.Output[[]SecretVersion]{ + OutputState: o.OutputState, + } +} + func (o SecretVersionArrayOutput) Index(i pulumi.IntInput) SecretVersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVersion { return vs[0].([]SecretVersion)[vs[1].(int)] @@ -2310,6 +2647,12 @@ func (o SecretVersionResponseOutput) ToSecretVersionResponseOutputWithContext(ct return o } +func (o SecretVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVersionResponse] { + return pulumix.Output[SecretVersionResponse]{ + OutputState: o.OutputState, + } +} + // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`. func (o SecretVersionResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v SecretVersionResponse) string { return v.Path }).(pulumi.StringOutput) @@ -2334,6 +2677,12 @@ func (o SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutputWith return o } +func (o SecretVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersionResponse] { + return pulumix.Output[[]SecretVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretVersionResponseArrayOutput) Index(i pulumi.IntInput) SecretVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVersionResponse { return vs[0].([]SecretVersionResponse)[vs[1].(int)] @@ -2387,6 +2736,12 @@ func (i SecretVolumeArgs) ToSecretVolumeOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretVolumeOutput) } +func (i SecretVolumeArgs) ToOutput(ctx context.Context) pulumix.Output[SecretVolume] { + return pulumix.Output[SecretVolume]{ + OutputState: i.ToSecretVolumeOutputWithContext(ctx).OutputState, + } +} + // SecretVolumeArrayInput is an input type that accepts SecretVolumeArray and SecretVolumeArrayOutput values. // You can construct a concrete instance of `SecretVolumeArrayInput` via: // @@ -2412,6 +2767,12 @@ func (i SecretVolumeArray) ToSecretVolumeArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecretVolumeArrayOutput) } +func (i SecretVolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolume] { + return pulumix.Output[[]SecretVolume]{ + OutputState: i.ToSecretVolumeArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container. type SecretVolumeOutput struct{ *pulumi.OutputState } @@ -2427,6 +2788,12 @@ func (o SecretVolumeOutput) ToSecretVolumeOutputWithContext(ctx context.Context) return o } +func (o SecretVolumeOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVolume] { + return pulumix.Output[SecretVolume]{ + OutputState: o.OutputState, + } +} + // The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets func (o SecretVolumeOutput) MountPath() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretVolume) *string { return v.MountPath }).(pulumi.StringPtrOutput) @@ -2461,6 +2828,12 @@ func (o SecretVolumeArrayOutput) ToSecretVolumeArrayOutputWithContext(ctx contex return o } +func (o SecretVolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolume] { + return pulumix.Output[[]SecretVolume]{ + OutputState: o.OutputState, + } +} + func (o SecretVolumeArrayOutput) Index(i pulumi.IntInput) SecretVolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVolume { return vs[0].([]SecretVolume)[vs[1].(int)] @@ -2494,6 +2867,12 @@ func (o SecretVolumeResponseOutput) ToSecretVolumeResponseOutputWithContext(ctx return o } +func (o SecretVolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVolumeResponse] { + return pulumix.Output[SecretVolumeResponse]{ + OutputState: o.OutputState, + } +} + // The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets func (o SecretVolumeResponseOutput) MountPath() pulumi.StringOutput { return o.ApplyT(func(v SecretVolumeResponse) string { return v.MountPath }).(pulumi.StringOutput) @@ -2528,6 +2907,12 @@ func (o SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutputWithCo return o } +func (o SecretVolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolumeResponse] { + return pulumix.Output[[]SecretVolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretVolumeResponseArrayOutput) Index(i pulumi.IntInput) SecretVolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVolumeResponse { return vs[0].([]SecretVolumeResponse)[vs[1].(int)] @@ -2625,6 +3010,12 @@ func (i ServiceConfigArgs) ToServiceConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServiceConfigOutput) } +func (i ServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceConfig] { + return pulumix.Output[ServiceConfig]{ + OutputState: i.ToServiceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ServiceConfigArgs) ToServiceConfigPtrOutput() ServiceConfigPtrOutput { return i.ToServiceConfigPtrOutputWithContext(context.Background()) } @@ -2666,6 +3057,12 @@ func (i *serviceConfigPtrType) ToServiceConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ServiceConfigPtrOutput) } +func (i *serviceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfig] { + return pulumix.Output[*ServiceConfig]{ + OutputState: i.ToServiceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). type ServiceConfigOutput struct{ *pulumi.OutputState } @@ -2691,6 +3088,12 @@ func (o ServiceConfigOutput) ToServiceConfigPtrOutputWithContext(ctx context.Con }).(ServiceConfigPtrOutput) } +func (o ServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfig] { + return pulumix.Output[ServiceConfig]{ + OutputState: o.OutputState, + } +} + // Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. func (o ServiceConfigOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput { return o.ApplyT(func(v ServiceConfig) *bool { return v.AllTrafficOnLatestRevision }).(pulumi.BoolPtrOutput) @@ -2780,6 +3183,12 @@ func (o ServiceConfigPtrOutput) ToServiceConfigPtrOutputWithContext(ctx context. return o } +func (o ServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfig] { + return pulumix.Output[*ServiceConfig]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigPtrOutput) Elem() ServiceConfigOutput { return o.ApplyT(func(v *ServiceConfig) ServiceConfig { if v != nil { @@ -2995,6 +3404,12 @@ func (o ServiceConfigResponseOutput) ToServiceConfigResponseOutputWithContext(ct return o } +func (o ServiceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigResponse] { + return pulumix.Output[ServiceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. func (o ServiceConfigResponseOutput) AllTrafficOnLatestRevision() pulumi.BoolOutput { return o.ApplyT(func(v ServiceConfigResponse) bool { return v.AllTrafficOnLatestRevision }).(pulumi.BoolOutput) @@ -3124,6 +3539,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + func (i SourceArgs) ToSourcePtrOutput() SourcePtrOutput { return i.ToSourcePtrOutputWithContext(context.Background()) } @@ -3165,6 +3586,12 @@ func (i *sourcePtrType) ToSourcePtrOutputWithContext(ctx context.Context) Source return pulumi.ToOutputWithContext(ctx, i).(SourcePtrOutput) } +func (i *sourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourcePtrOutputWithContext(ctx).OutputState, + } +} + // The location of the function source code. type SourceOutput struct{ *pulumi.OutputState } @@ -3190,6 +3617,12 @@ func (o SourceOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePt }).(SourcePtrOutput) } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // If provided, get the source from this location in a Cloud Source Repository. func (o SourceOutput) RepoSource() RepoSourcePtrOutput { return o.ApplyT(func(v Source) *RepoSource { return v.RepoSource }).(RepoSourcePtrOutput) @@ -3214,6 +3647,12 @@ func (o SourcePtrOutput) ToSourcePtrOutputWithContext(ctx context.Context) Sourc return o } +func (o SourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + func (o SourcePtrOutput) Elem() SourceOutput { return o.ApplyT(func(v *Source) Source { if v != nil { @@ -3267,6 +3706,12 @@ func (o SourceProvenanceResponseOutput) ToSourceProvenanceResponseOutputWithCont return o } +func (o SourceProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceProvenanceResponse] { + return pulumix.Output[SourceProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // A copy of the build's `source.repo_source`, if exists, with any revisions resolved. func (o SourceProvenanceResponseOutput) ResolvedRepoSource() RepoSourceResponseOutput { return o.ApplyT(func(v SourceProvenanceResponse) RepoSourceResponse { return v.ResolvedRepoSource }).(RepoSourceResponseOutput) @@ -3300,6 +3745,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // If provided, get the source from this location in a Cloud Source Repository. func (o SourceResponseOutput) RepoSource() RepoSourceResponseOutput { return o.ApplyT(func(v SourceResponse) RepoSourceResponse { return v.RepoSource }).(RepoSourceResponseOutput) @@ -3353,6 +3804,12 @@ func (i StorageSourceArgs) ToStorageSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(StorageSourceOutput) } +func (i StorageSourceArgs) ToOutput(ctx context.Context) pulumix.Output[StorageSource] { + return pulumix.Output[StorageSource]{ + OutputState: i.ToStorageSourceOutputWithContext(ctx).OutputState, + } +} + func (i StorageSourceArgs) ToStorageSourcePtrOutput() StorageSourcePtrOutput { return i.ToStorageSourcePtrOutputWithContext(context.Background()) } @@ -3394,6 +3851,12 @@ func (i *storageSourcePtrType) ToStorageSourcePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(StorageSourcePtrOutput) } +func (i *storageSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*StorageSource] { + return pulumix.Output[*StorageSource]{ + OutputState: i.ToStorageSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source in an archive file in Google Cloud Storage. type StorageSourceOutput struct{ *pulumi.OutputState } @@ -3419,6 +3882,12 @@ func (o StorageSourceOutput) ToStorageSourcePtrOutputWithContext(ctx context.Con }).(StorageSourcePtrOutput) } +func (o StorageSourceOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSource] { + return pulumix.Output[StorageSource]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v StorageSource) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -3448,6 +3917,12 @@ func (o StorageSourcePtrOutput) ToStorageSourcePtrOutputWithContext(ctx context. return o } +func (o StorageSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StorageSource] { + return pulumix.Output[*StorageSource]{ + OutputState: o.OutputState, + } +} + func (o StorageSourcePtrOutput) Elem() StorageSourceOutput { return o.ApplyT(func(v *StorageSource) StorageSource { if v != nil { @@ -3513,6 +3988,12 @@ func (o StorageSourceResponseOutput) ToStorageSourceResponseOutputWithContext(ct return o } +func (o StorageSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSourceResponse] { + return pulumix.Output[StorageSourceResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v StorageSourceResponse) string { return v.Bucket }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudfunctions/v2alpha/function.go b/sdk/go/google/cloudfunctions/v2alpha/function.go index 52a7886db2..26e271c0c8 100644 --- a/sdk/go/google/cloudfunctions/v2alpha/function.go +++ b/sdk/go/google/cloudfunctions/v2alpha/function.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error. @@ -157,6 +158,12 @@ func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutp return pulumi.ToOutputWithContext(ctx, i).(FunctionOutput) } +func (i *Function) ToOutput(ctx context.Context) pulumix.Output[*Function] { + return pulumix.Output[*Function]{ + OutputState: i.ToFunctionOutputWithContext(ctx).OutputState, + } +} + type FunctionOutput struct{ *pulumi.OutputState } func (FunctionOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) Functio return o } +func (o FunctionOutput) ToOutput(ctx context.Context) pulumix.Output[*Function] { + return pulumix.Output[*Function]{ + OutputState: o.OutputState, + } +} + // Describes the Build step of the function that builds a container from the given source. func (o FunctionOutput) BuildConfig() BuildConfigResponseOutput { return o.ApplyT(func(v *Function) BuildConfigResponseOutput { return v.BuildConfig }).(BuildConfigResponseOutput) diff --git a/sdk/go/google/cloudfunctions/v2alpha/functionIamBinding.go b/sdk/go/google/cloudfunctions/v2alpha/functionIamBinding.go index ddc5d215af..e2755a718f 100644 --- a/sdk/go/google/cloudfunctions/v2alpha/functionIamBinding.go +++ b/sdk/go/google/cloudfunctions/v2alpha/functionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FunctionIamBinding) ToFunctionIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(FunctionIamBindingOutput) } +func (i *FunctionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamBinding] { + return pulumix.Output[*FunctionIamBinding]{ + OutputState: i.ToFunctionIamBindingOutputWithContext(ctx).OutputState, + } +} + type FunctionIamBindingOutput struct{ *pulumi.OutputState } func (FunctionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx cont return o } +func (o FunctionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamBinding] { + return pulumix.Output[*FunctionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FunctionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FunctionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudfunctions/v2alpha/functionIamMember.go b/sdk/go/google/cloudfunctions/v2alpha/functionIamMember.go index 58326f4904..b5b0066a1f 100644 --- a/sdk/go/google/cloudfunctions/v2alpha/functionIamMember.go +++ b/sdk/go/google/cloudfunctions/v2alpha/functionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FunctionIamMember) ToFunctionIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FunctionIamMemberOutput) } +func (i *FunctionIamMember) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamMember] { + return pulumix.Output[*FunctionIamMember]{ + OutputState: i.ToFunctionIamMemberOutputWithContext(ctx).OutputState, + } +} + type FunctionIamMemberOutput struct{ *pulumi.OutputState } func (FunctionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx contex return o } +func (o FunctionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamMember] { + return pulumix.Output[*FunctionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FunctionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FunctionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudfunctions/v2alpha/functionIamPolicy.go b/sdk/go/google/cloudfunctions/v2alpha/functionIamPolicy.go index 1555c2880f..e29a68e824 100644 --- a/sdk/go/google/cloudfunctions/v2alpha/functionIamPolicy.go +++ b/sdk/go/google/cloudfunctions/v2alpha/functionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FunctionIamPolicyOutput) } +func (i *FunctionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamPolicy] { + return pulumix.Output[*FunctionIamPolicy]{ + OutputState: i.ToFunctionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FunctionIamPolicyOutput struct{ *pulumi.OutputState } func (FunctionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx contex return o } +func (o FunctionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamPolicy] { + return pulumix.Output[*FunctionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FunctionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FunctionIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudfunctions/v2alpha/getFunction.go b/sdk/go/google/cloudfunctions/v2alpha/getFunction.go index 859d1e4d19..58b31d4437 100644 --- a/sdk/go/google/cloudfunctions/v2alpha/getFunction.go +++ b/sdk/go/google/cloudfunctions/v2alpha/getFunction.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a function with the given name from the requested project. @@ -90,6 +91,12 @@ func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx return o } +func (o LookupFunctionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionResult] { + return pulumix.Output[LookupFunctionResult]{ + OutputState: o.OutputState, + } +} + // Describes the Build step of the function that builds a container from the given source. func (o LookupFunctionResultOutput) BuildConfig() BuildConfigResponseOutput { return o.ApplyT(func(v LookupFunctionResult) BuildConfigResponse { return v.BuildConfig }).(BuildConfigResponseOutput) diff --git a/sdk/go/google/cloudfunctions/v2alpha/getFunctionIamPolicy.go b/sdk/go/google/cloudfunctions/v2alpha/getFunctionIamPolicy.go index bfb5bd952b..884d630d4b 100644 --- a/sdk/go/google/cloudfunctions/v2alpha/getFunctionIamPolicy.go +++ b/sdk/go/google/cloudfunctions/v2alpha/getFunctionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutp return o } +func (o LookupFunctionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionIamPolicyResult] { + return pulumix.Output[LookupFunctionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFunctionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFunctionIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudfunctions/v2alpha/pulumiEnums.go b/sdk/go/google/cloudfunctions/v2alpha/pulumiEnums.go index d787007451..2da7c0d1fb 100644 --- a/sdk/go/google/cloudfunctions/v2alpha/pulumiEnums.go +++ b/sdk/go/google/cloudfunctions/v2alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments. type BuildConfigDockerRegistry string @@ -253,6 +272,12 @@ func (o BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryPtrOutputWit }).(BuildConfigDockerRegistryPtrOutput) } +func (o BuildConfigDockerRegistryOutput) ToOutput(ctx context.Context) pulumix.Output[BuildConfigDockerRegistry] { + return pulumix.Output[BuildConfigDockerRegistry]{ + OutputState: o.OutputState, + } +} + func (o BuildConfigDockerRegistryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o BuildConfigDockerRegistryPtrOutput) ToBuildConfigDockerRegistryPtrOutput return o } +func (o BuildConfigDockerRegistryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildConfigDockerRegistry] { + return pulumix.Output[*BuildConfigDockerRegistry]{ + OutputState: o.OutputState, + } +} + func (o BuildConfigDockerRegistryPtrOutput) Elem() BuildConfigDockerRegistryOutput { return o.ApplyT(func(v *BuildConfigDockerRegistry) BuildConfigDockerRegistry { if v != nil { @@ -350,6 +381,12 @@ func (in *buildConfigDockerRegistryPtr) ToBuildConfigDockerRegistryPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(BuildConfigDockerRegistryPtrOutput) } +func (in *buildConfigDockerRegistryPtr) ToOutput(ctx context.Context) pulumix.Output[*BuildConfigDockerRegistry] { + return pulumix.Output[*BuildConfigDockerRegistry]{ + OutputState: in.ToBuildConfigDockerRegistryPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. If unset, then defaults to ignoring failures (i.e. not retrying them). type EventTriggerRetryPolicy string @@ -422,6 +459,12 @@ func (o EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyPtrOutputWithCon }).(EventTriggerRetryPolicyPtrOutput) } +func (o EventTriggerRetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[EventTriggerRetryPolicy] { + return pulumix.Output[EventTriggerRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o EventTriggerRetryPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o EventTriggerRetryPolicyPtrOutput) ToEventTriggerRetryPolicyPtrOutputWith return o } +func (o EventTriggerRetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventTriggerRetryPolicy] { + return pulumix.Output[*EventTriggerRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o EventTriggerRetryPolicyPtrOutput) Elem() EventTriggerRetryPolicyOutput { return o.ApplyT(func(v *EventTriggerRetryPolicy) EventTriggerRetryPolicy { if v != nil { @@ -519,6 +568,12 @@ func (in *eventTriggerRetryPolicyPtr) ToEventTriggerRetryPolicyPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(EventTriggerRetryPolicyPtrOutput) } +func (in *eventTriggerRetryPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*EventTriggerRetryPolicy] { + return pulumix.Output[*EventTriggerRetryPolicy]{ + OutputState: in.ToEventTriggerRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Describe whether the function is 1st Gen or 2nd Gen. type FunctionEnvironment string @@ -591,6 +646,12 @@ func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx }).(FunctionEnvironmentPtrOutput) } +func (o FunctionEnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionEnvironment] { + return pulumix.Output[FunctionEnvironment]{ + OutputState: o.OutputState, + } +} + func (o FunctionEnvironmentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext( return o } +func (o FunctionEnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEnvironment] { + return pulumix.Output[*FunctionEnvironment]{ + OutputState: o.OutputState, + } +} + func (o FunctionEnvironmentPtrOutput) Elem() FunctionEnvironmentOutput { return o.ApplyT(func(v *FunctionEnvironment) FunctionEnvironment { if v != nil { @@ -688,6 +755,12 @@ func (in *functionEnvironmentPtr) ToFunctionEnvironmentPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(FunctionEnvironmentPtrOutput) } +func (in *functionEnvironmentPtr) ToOutput(ctx context.Context) pulumix.Output[*FunctionEnvironment] { + return pulumix.Output[*FunctionEnvironment]{ + OutputState: in.ToFunctionEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // The ingress settings for the function, controlling what traffic can reach it. type ServiceConfigIngressSettings string @@ -762,6 +835,12 @@ func (o ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsPtrOut }).(ServiceConfigIngressSettingsPtrOutput) } +func (o ServiceConfigIngressSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigIngressSettings] { + return pulumix.Output[ServiceConfigIngressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigIngressSettingsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -797,6 +876,12 @@ func (o ServiceConfigIngressSettingsPtrOutput) ToServiceConfigIngressSettingsPtr return o } +func (o ServiceConfigIngressSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigIngressSettings] { + return pulumix.Output[*ServiceConfigIngressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigIngressSettingsPtrOutput) Elem() ServiceConfigIngressSettingsOutput { return o.ApplyT(func(v *ServiceConfigIngressSettings) ServiceConfigIngressSettings { if v != nil { @@ -859,6 +944,12 @@ func (in *serviceConfigIngressSettingsPtr) ToServiceConfigIngressSettingsPtrOutp return pulumi.ToOutputWithContext(ctx, in).(ServiceConfigIngressSettingsPtrOutput) } +func (in *serviceConfigIngressSettingsPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigIngressSettings] { + return pulumix.Output[*ServiceConfigIngressSettings]{ + OutputState: in.ToServiceConfigIngressSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. type ServiceConfigSecurityLevel string @@ -931,6 +1022,12 @@ func (o ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelPtrOutputW }).(ServiceConfigSecurityLevelPtrOutput) } +func (o ServiceConfigSecurityLevelOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigSecurityLevel] { + return pulumix.Output[ServiceConfigSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigSecurityLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -966,6 +1063,12 @@ func (o ServiceConfigSecurityLevelPtrOutput) ToServiceConfigSecurityLevelPtrOutp return o } +func (o ServiceConfigSecurityLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigSecurityLevel] { + return pulumix.Output[*ServiceConfigSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigSecurityLevelPtrOutput) Elem() ServiceConfigSecurityLevelOutput { return o.ApplyT(func(v *ServiceConfigSecurityLevel) ServiceConfigSecurityLevel { if v != nil { @@ -1028,6 +1131,12 @@ func (in *serviceConfigSecurityLevelPtr) ToServiceConfigSecurityLevelPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(ServiceConfigSecurityLevelPtrOutput) } +func (in *serviceConfigSecurityLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigSecurityLevel] { + return pulumix.Output[*ServiceConfigSecurityLevel]{ + OutputState: in.ToServiceConfigSecurityLevelPtrOutputWithContext(ctx).OutputState, + } +} + // The egress settings for the connector, controlling what traffic is diverted through it. type ServiceConfigVpcConnectorEgressSettings string @@ -1100,6 +1209,12 @@ func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnect }).(ServiceConfigVpcConnectorEgressSettingsPtrOutput) } +func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigVpcConnectorEgressSettings] { + return pulumix.Output[ServiceConfigVpcConnectorEgressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1135,6 +1250,12 @@ func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToServiceConfigVpcConn return o } +func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigVpcConnectorEgressSettings] { + return pulumix.Output[*ServiceConfigVpcConnectorEgressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) Elem() ServiceConfigVpcConnectorEgressSettingsOutput { return o.ApplyT(func(v *ServiceConfigVpcConnectorEgressSettings) ServiceConfigVpcConnectorEgressSettings { if v != nil { @@ -1197,6 +1318,12 @@ func (in *serviceConfigVpcConnectorEgressSettingsPtr) ToServiceConfigVpcConnecto return pulumi.ToOutputWithContext(ctx, in).(ServiceConfigVpcConnectorEgressSettingsPtrOutput) } +func (in *serviceConfigVpcConnectorEgressSettingsPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigVpcConnectorEgressSettings] { + return pulumix.Output[*ServiceConfigVpcConnectorEgressSettings]{ + OutputState: in.ToServiceConfigVpcConnectorEgressSettingsPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudfunctions/v2alpha/pulumiTypes.go b/sdk/go/google/cloudfunctions/v2alpha/pulumiTypes.go index 05d66c7ece..89614ad227 100644 --- a/sdk/go/google/cloudfunctions/v2alpha/pulumiTypes.go +++ b/sdk/go/google/cloudfunctions/v2alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -574,6 +683,12 @@ func (i BuildConfigArgs) ToBuildConfigOutputWithContext(ctx context.Context) Bui return pulumi.ToOutputWithContext(ctx, i).(BuildConfigOutput) } +func (i BuildConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BuildConfig] { + return pulumix.Output[BuildConfig]{ + OutputState: i.ToBuildConfigOutputWithContext(ctx).OutputState, + } +} + func (i BuildConfigArgs) ToBuildConfigPtrOutput() BuildConfigPtrOutput { return i.ToBuildConfigPtrOutputWithContext(context.Background()) } @@ -615,6 +730,12 @@ func (i *buildConfigPtrType) ToBuildConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(BuildConfigPtrOutput) } +func (i *buildConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildConfig] { + return pulumix.Output[*BuildConfig]{ + OutputState: i.ToBuildConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the Build step of the function that builds a container from the given source. type BuildConfigOutput struct{ *pulumi.OutputState } @@ -640,6 +761,12 @@ func (o BuildConfigOutput) ToBuildConfigPtrOutputWithContext(ctx context.Context }).(BuildConfigPtrOutput) } +func (o BuildConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BuildConfig] { + return pulumix.Output[BuildConfig]{ + OutputState: o.OutputState, + } +} + // Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments. func (o BuildConfigOutput) DockerRegistry() BuildConfigDockerRegistryPtrOutput { return o.ApplyT(func(v BuildConfig) *BuildConfigDockerRegistry { return v.DockerRegistry }).(BuildConfigDockerRegistryPtrOutput) @@ -689,6 +816,12 @@ func (o BuildConfigPtrOutput) ToBuildConfigPtrOutputWithContext(ctx context.Cont return o } +func (o BuildConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildConfig] { + return pulumix.Output[*BuildConfig]{ + OutputState: o.OutputState, + } +} + func (o BuildConfigPtrOutput) Elem() BuildConfigOutput { return o.ApplyT(func(v *BuildConfig) BuildConfig { if v != nil { @@ -806,6 +939,12 @@ func (o BuildConfigResponseOutput) ToBuildConfigResponseOutputWithContext(ctx co return o } +func (o BuildConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildConfigResponse] { + return pulumix.Output[BuildConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud Build name of the latest successful deployment of the function. func (o BuildConfigResponseOutput) Build() pulumi.StringOutput { return o.ApplyT(func(v BuildConfigResponse) string { return v.Build }).(pulumi.StringOutput) @@ -894,6 +1033,12 @@ func (i EventFilterArgs) ToEventFilterOutputWithContext(ctx context.Context) Eve return pulumi.ToOutputWithContext(ctx, i).(EventFilterOutput) } +func (i EventFilterArgs) ToOutput(ctx context.Context) pulumix.Output[EventFilter] { + return pulumix.Output[EventFilter]{ + OutputState: i.ToEventFilterOutputWithContext(ctx).OutputState, + } +} + // EventFilterArrayInput is an input type that accepts EventFilterArray and EventFilterArrayOutput values. // You can construct a concrete instance of `EventFilterArrayInput` via: // @@ -919,6 +1064,12 @@ func (i EventFilterArray) ToEventFilterArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(EventFilterArrayOutput) } +func (i EventFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]EventFilter] { + return pulumix.Output[[]EventFilter]{ + OutputState: i.ToEventFilterArrayOutputWithContext(ctx).OutputState, + } +} + // Filters events based on exact matches on the CloudEvents attributes. type EventFilterOutput struct{ *pulumi.OutputState } @@ -934,6 +1085,12 @@ func (o EventFilterOutput) ToEventFilterOutputWithContext(ctx context.Context) E return o } +func (o EventFilterOutput) ToOutput(ctx context.Context) pulumix.Output[EventFilter] { + return pulumix.Output[EventFilter]{ + OutputState: o.OutputState, + } +} + // The name of a CloudEvents attribute. func (o EventFilterOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v EventFilter) string { return v.Attribute }).(pulumi.StringOutput) @@ -963,6 +1120,12 @@ func (o EventFilterArrayOutput) ToEventFilterArrayOutputWithContext(ctx context. return o } +func (o EventFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventFilter] { + return pulumix.Output[[]EventFilter]{ + OutputState: o.OutputState, + } +} + func (o EventFilterArrayOutput) Index(i pulumi.IntInput) EventFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventFilter { return vs[0].([]EventFilter)[vs[1].(int)] @@ -994,6 +1157,12 @@ func (o EventFilterResponseOutput) ToEventFilterResponseOutputWithContext(ctx co return o } +func (o EventFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventFilterResponse] { + return pulumix.Output[EventFilterResponse]{ + OutputState: o.OutputState, + } +} + // The name of a CloudEvents attribute. func (o EventFilterResponseOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v EventFilterResponse) string { return v.Attribute }).(pulumi.StringOutput) @@ -1023,6 +1192,12 @@ func (o EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutputWithCont return o } +func (o EventFilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventFilterResponse] { + return pulumix.Output[[]EventFilterResponse]{ + OutputState: o.OutputState, + } +} + func (o EventFilterResponseArrayOutput) Index(i pulumi.IntInput) EventFilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventFilterResponse { return vs[0].([]EventFilterResponse)[vs[1].(int)] @@ -1088,6 +1263,12 @@ func (i EventTriggerArgs) ToEventTriggerOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(EventTriggerOutput) } +func (i EventTriggerArgs) ToOutput(ctx context.Context) pulumix.Output[EventTrigger] { + return pulumix.Output[EventTrigger]{ + OutputState: i.ToEventTriggerOutputWithContext(ctx).OutputState, + } +} + func (i EventTriggerArgs) ToEventTriggerPtrOutput() EventTriggerPtrOutput { return i.ToEventTriggerPtrOutputWithContext(context.Background()) } @@ -1129,6 +1310,12 @@ func (i *eventTriggerPtrType) ToEventTriggerPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(EventTriggerPtrOutput) } +func (i *eventTriggerPtrType) ToOutput(ctx context.Context) pulumix.Output[*EventTrigger] { + return pulumix.Output[*EventTrigger]{ + OutputState: i.ToEventTriggerPtrOutputWithContext(ctx).OutputState, + } +} + // Describes EventTrigger, used to request events to be sent from another service. type EventTriggerOutput struct{ *pulumi.OutputState } @@ -1154,6 +1341,12 @@ func (o EventTriggerOutput) ToEventTriggerPtrOutputWithContext(ctx context.Conte }).(EventTriggerPtrOutput) } +func (o EventTriggerOutput) ToOutput(ctx context.Context) pulumix.Output[EventTrigger] { + return pulumix.Output[EventTrigger]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners. func (o EventTriggerOutput) Channel() pulumi.StringPtrOutput { return o.ApplyT(func(v EventTrigger) *string { return v.Channel }).(pulumi.StringPtrOutput) @@ -1203,6 +1396,12 @@ func (o EventTriggerPtrOutput) ToEventTriggerPtrOutputWithContext(ctx context.Co return o } +func (o EventTriggerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventTrigger] { + return pulumix.Output[*EventTrigger]{ + OutputState: o.OutputState, + } +} + func (o EventTriggerPtrOutput) Elem() EventTriggerOutput { return o.ApplyT(func(v *EventTrigger) EventTrigger { if v != nil { @@ -1318,6 +1517,12 @@ func (o EventTriggerResponseOutput) ToEventTriggerResponseOutputWithContext(ctx return o } +func (o EventTriggerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventTriggerResponse] { + return pulumix.Output[EventTriggerResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners. func (o EventTriggerResponseOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v EventTriggerResponse) string { return v.Channel }).(pulumi.StringOutput) @@ -1405,6 +1610,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1446,6 +1657,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1471,6 +1688,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1505,6 +1728,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1582,6 +1811,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1627,6 +1862,12 @@ func (o GoogleCloudFunctionsV2alphaStateMessageResponseOutput) ToGoogleCloudFunc return o } +func (o GoogleCloudFunctionsV2alphaStateMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudFunctionsV2alphaStateMessageResponse] { + return pulumix.Output[GoogleCloudFunctionsV2alphaStateMessageResponse]{ + OutputState: o.OutputState, + } +} + // The message. func (o GoogleCloudFunctionsV2alphaStateMessageResponseOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudFunctionsV2alphaStateMessageResponse) string { return v.Message }).(pulumi.StringOutput) @@ -1656,6 +1897,12 @@ func (o GoogleCloudFunctionsV2alphaStateMessageResponseArrayOutput) ToGoogleClou return o } +func (o GoogleCloudFunctionsV2alphaStateMessageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudFunctionsV2alphaStateMessageResponse] { + return pulumix.Output[[]GoogleCloudFunctionsV2alphaStateMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudFunctionsV2alphaStateMessageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudFunctionsV2alphaStateMessageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudFunctionsV2alphaStateMessageResponse { return vs[0].([]GoogleCloudFunctionsV2alphaStateMessageResponse)[vs[1].(int)] @@ -1721,6 +1968,12 @@ func (i RepoSourceArgs) ToRepoSourceOutputWithContext(ctx context.Context) RepoS return pulumi.ToOutputWithContext(ctx, i).(RepoSourceOutput) } +func (i RepoSourceArgs) ToOutput(ctx context.Context) pulumix.Output[RepoSource] { + return pulumix.Output[RepoSource]{ + OutputState: i.ToRepoSourceOutputWithContext(ctx).OutputState, + } +} + func (i RepoSourceArgs) ToRepoSourcePtrOutput() RepoSourcePtrOutput { return i.ToRepoSourcePtrOutputWithContext(context.Background()) } @@ -1762,6 +2015,12 @@ func (i *repoSourcePtrType) ToRepoSourcePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RepoSourcePtrOutput) } +func (i *repoSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*RepoSource] { + return pulumix.Output[*RepoSource]{ + OutputState: i.ToRepoSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source in a Google Cloud Source Repository. type RepoSourceOutput struct{ *pulumi.OutputState } @@ -1787,6 +2046,12 @@ func (o RepoSourceOutput) ToRepoSourcePtrOutputWithContext(ctx context.Context) }).(RepoSourcePtrOutput) } +func (o RepoSourceOutput) ToOutput(ctx context.Context) pulumix.Output[RepoSource] { + return pulumix.Output[RepoSource]{ + OutputState: o.OutputState, + } +} + // Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o RepoSourceOutput) BranchName() pulumi.StringPtrOutput { return o.ApplyT(func(v RepoSource) *string { return v.BranchName }).(pulumi.StringPtrOutput) @@ -1836,6 +2101,12 @@ func (o RepoSourcePtrOutput) ToRepoSourcePtrOutputWithContext(ctx context.Contex return o } +func (o RepoSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepoSource] { + return pulumix.Output[*RepoSource]{ + OutputState: o.OutputState, + } +} + func (o RepoSourcePtrOutput) Elem() RepoSourceOutput { return o.ApplyT(func(v *RepoSource) RepoSource { if v != nil { @@ -1949,6 +2220,12 @@ func (o RepoSourceResponseOutput) ToRepoSourceResponseOutputWithContext(ctx cont return o } +func (o RepoSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RepoSourceResponse] { + return pulumix.Output[RepoSourceResponse]{ + OutputState: o.OutputState, + } +} + // Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o RepoSourceResponseOutput) BranchName() pulumi.StringOutput { return o.ApplyT(func(v RepoSourceResponse) string { return v.BranchName }).(pulumi.StringOutput) @@ -2031,6 +2308,12 @@ func (i SecretEnvVarArgs) ToSecretEnvVarOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretEnvVarOutput) } +func (i SecretEnvVarArgs) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVar] { + return pulumix.Output[SecretEnvVar]{ + OutputState: i.ToSecretEnvVarOutputWithContext(ctx).OutputState, + } +} + // SecretEnvVarArrayInput is an input type that accepts SecretEnvVarArray and SecretEnvVarArrayOutput values. // You can construct a concrete instance of `SecretEnvVarArrayInput` via: // @@ -2056,6 +2339,12 @@ func (i SecretEnvVarArray) ToSecretEnvVarArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecretEnvVarArrayOutput) } +func (i SecretEnvVarArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVar] { + return pulumix.Output[[]SecretEnvVar]{ + OutputState: i.ToSecretEnvVarArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable. type SecretEnvVarOutput struct{ *pulumi.OutputState } @@ -2071,6 +2360,12 @@ func (o SecretEnvVarOutput) ToSecretEnvVarOutputWithContext(ctx context.Context) return o } +func (o SecretEnvVarOutput) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVar] { + return pulumix.Output[SecretEnvVar]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. func (o SecretEnvVarOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretEnvVar) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -2105,6 +2400,12 @@ func (o SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutputWithContext(ctx contex return o } +func (o SecretEnvVarArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVar] { + return pulumix.Output[[]SecretEnvVar]{ + OutputState: o.OutputState, + } +} + func (o SecretEnvVarArrayOutput) Index(i pulumi.IntInput) SecretEnvVarOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretEnvVar { return vs[0].([]SecretEnvVar)[vs[1].(int)] @@ -2138,6 +2439,12 @@ func (o SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutputWithContext(ctx return o } +func (o SecretEnvVarResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVarResponse] { + return pulumix.Output[SecretEnvVarResponse]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. func (o SecretEnvVarResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SecretEnvVarResponse) string { return v.Key }).(pulumi.StringOutput) @@ -2172,6 +2479,12 @@ func (o SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutputWithCo return o } +func (o SecretEnvVarResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVarResponse] { + return pulumix.Output[[]SecretEnvVarResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretEnvVarResponseArrayOutput) Index(i pulumi.IntInput) SecretEnvVarResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretEnvVarResponse { return vs[0].([]SecretEnvVarResponse)[vs[1].(int)] @@ -2217,6 +2530,12 @@ func (i SecretVersionArgs) ToSecretVersionOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecretVersionOutput) } +func (i SecretVersionArgs) ToOutput(ctx context.Context) pulumix.Output[SecretVersion] { + return pulumix.Output[SecretVersion]{ + OutputState: i.ToSecretVersionOutputWithContext(ctx).OutputState, + } +} + // SecretVersionArrayInput is an input type that accepts SecretVersionArray and SecretVersionArrayOutput values. // You can construct a concrete instance of `SecretVersionArrayInput` via: // @@ -2242,6 +2561,12 @@ func (i SecretVersionArray) ToSecretVersionArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretVersionArrayOutput) } +func (i SecretVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersion] { + return pulumix.Output[[]SecretVersion]{ + OutputState: i.ToSecretVersionArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a single version. type SecretVersionOutput struct{ *pulumi.OutputState } @@ -2257,6 +2582,12 @@ func (o SecretVersionOutput) ToSecretVersionOutputWithContext(ctx context.Contex return o } +func (o SecretVersionOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVersion] { + return pulumix.Output[SecretVersion]{ + OutputState: o.OutputState, + } +} + // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`. func (o SecretVersionOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretVersion) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -2281,6 +2612,12 @@ func (o SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext(ctx cont return o } +func (o SecretVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersion] { + return pulumix.Output[[]SecretVersion]{ + OutputState: o.OutputState, + } +} + func (o SecretVersionArrayOutput) Index(i pulumi.IntInput) SecretVersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVersion { return vs[0].([]SecretVersion)[vs[1].(int)] @@ -2310,6 +2647,12 @@ func (o SecretVersionResponseOutput) ToSecretVersionResponseOutputWithContext(ct return o } +func (o SecretVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVersionResponse] { + return pulumix.Output[SecretVersionResponse]{ + OutputState: o.OutputState, + } +} + // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`. func (o SecretVersionResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v SecretVersionResponse) string { return v.Path }).(pulumi.StringOutput) @@ -2334,6 +2677,12 @@ func (o SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutputWith return o } +func (o SecretVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersionResponse] { + return pulumix.Output[[]SecretVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretVersionResponseArrayOutput) Index(i pulumi.IntInput) SecretVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVersionResponse { return vs[0].([]SecretVersionResponse)[vs[1].(int)] @@ -2387,6 +2736,12 @@ func (i SecretVolumeArgs) ToSecretVolumeOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretVolumeOutput) } +func (i SecretVolumeArgs) ToOutput(ctx context.Context) pulumix.Output[SecretVolume] { + return pulumix.Output[SecretVolume]{ + OutputState: i.ToSecretVolumeOutputWithContext(ctx).OutputState, + } +} + // SecretVolumeArrayInput is an input type that accepts SecretVolumeArray and SecretVolumeArrayOutput values. // You can construct a concrete instance of `SecretVolumeArrayInput` via: // @@ -2412,6 +2767,12 @@ func (i SecretVolumeArray) ToSecretVolumeArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecretVolumeArrayOutput) } +func (i SecretVolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolume] { + return pulumix.Output[[]SecretVolume]{ + OutputState: i.ToSecretVolumeArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container. type SecretVolumeOutput struct{ *pulumi.OutputState } @@ -2427,6 +2788,12 @@ func (o SecretVolumeOutput) ToSecretVolumeOutputWithContext(ctx context.Context) return o } +func (o SecretVolumeOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVolume] { + return pulumix.Output[SecretVolume]{ + OutputState: o.OutputState, + } +} + // The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets func (o SecretVolumeOutput) MountPath() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretVolume) *string { return v.MountPath }).(pulumi.StringPtrOutput) @@ -2461,6 +2828,12 @@ func (o SecretVolumeArrayOutput) ToSecretVolumeArrayOutputWithContext(ctx contex return o } +func (o SecretVolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolume] { + return pulumix.Output[[]SecretVolume]{ + OutputState: o.OutputState, + } +} + func (o SecretVolumeArrayOutput) Index(i pulumi.IntInput) SecretVolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVolume { return vs[0].([]SecretVolume)[vs[1].(int)] @@ -2494,6 +2867,12 @@ func (o SecretVolumeResponseOutput) ToSecretVolumeResponseOutputWithContext(ctx return o } +func (o SecretVolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVolumeResponse] { + return pulumix.Output[SecretVolumeResponse]{ + OutputState: o.OutputState, + } +} + // The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets func (o SecretVolumeResponseOutput) MountPath() pulumi.StringOutput { return o.ApplyT(func(v SecretVolumeResponse) string { return v.MountPath }).(pulumi.StringOutput) @@ -2528,6 +2907,12 @@ func (o SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutputWithCo return o } +func (o SecretVolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolumeResponse] { + return pulumix.Output[[]SecretVolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretVolumeResponseArrayOutput) Index(i pulumi.IntInput) SecretVolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVolumeResponse { return vs[0].([]SecretVolumeResponse)[vs[1].(int)] @@ -2625,6 +3010,12 @@ func (i ServiceConfigArgs) ToServiceConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServiceConfigOutput) } +func (i ServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceConfig] { + return pulumix.Output[ServiceConfig]{ + OutputState: i.ToServiceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ServiceConfigArgs) ToServiceConfigPtrOutput() ServiceConfigPtrOutput { return i.ToServiceConfigPtrOutputWithContext(context.Background()) } @@ -2666,6 +3057,12 @@ func (i *serviceConfigPtrType) ToServiceConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ServiceConfigPtrOutput) } +func (i *serviceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfig] { + return pulumix.Output[*ServiceConfig]{ + OutputState: i.ToServiceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). type ServiceConfigOutput struct{ *pulumi.OutputState } @@ -2691,6 +3088,12 @@ func (o ServiceConfigOutput) ToServiceConfigPtrOutputWithContext(ctx context.Con }).(ServiceConfigPtrOutput) } +func (o ServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfig] { + return pulumix.Output[ServiceConfig]{ + OutputState: o.OutputState, + } +} + // Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. func (o ServiceConfigOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput { return o.ApplyT(func(v ServiceConfig) *bool { return v.AllTrafficOnLatestRevision }).(pulumi.BoolPtrOutput) @@ -2780,6 +3183,12 @@ func (o ServiceConfigPtrOutput) ToServiceConfigPtrOutputWithContext(ctx context. return o } +func (o ServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfig] { + return pulumix.Output[*ServiceConfig]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigPtrOutput) Elem() ServiceConfigOutput { return o.ApplyT(func(v *ServiceConfig) ServiceConfig { if v != nil { @@ -2995,6 +3404,12 @@ func (o ServiceConfigResponseOutput) ToServiceConfigResponseOutputWithContext(ct return o } +func (o ServiceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigResponse] { + return pulumix.Output[ServiceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. func (o ServiceConfigResponseOutput) AllTrafficOnLatestRevision() pulumi.BoolOutput { return o.ApplyT(func(v ServiceConfigResponse) bool { return v.AllTrafficOnLatestRevision }).(pulumi.BoolOutput) @@ -3124,6 +3539,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + func (i SourceArgs) ToSourcePtrOutput() SourcePtrOutput { return i.ToSourcePtrOutputWithContext(context.Background()) } @@ -3165,6 +3586,12 @@ func (i *sourcePtrType) ToSourcePtrOutputWithContext(ctx context.Context) Source return pulumi.ToOutputWithContext(ctx, i).(SourcePtrOutput) } +func (i *sourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourcePtrOutputWithContext(ctx).OutputState, + } +} + // The location of the function source code. type SourceOutput struct{ *pulumi.OutputState } @@ -3190,6 +3617,12 @@ func (o SourceOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePt }).(SourcePtrOutput) } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // If provided, get the source from this location in a Cloud Source Repository. func (o SourceOutput) RepoSource() RepoSourcePtrOutput { return o.ApplyT(func(v Source) *RepoSource { return v.RepoSource }).(RepoSourcePtrOutput) @@ -3214,6 +3647,12 @@ func (o SourcePtrOutput) ToSourcePtrOutputWithContext(ctx context.Context) Sourc return o } +func (o SourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + func (o SourcePtrOutput) Elem() SourceOutput { return o.ApplyT(func(v *Source) Source { if v != nil { @@ -3267,6 +3706,12 @@ func (o SourceProvenanceResponseOutput) ToSourceProvenanceResponseOutputWithCont return o } +func (o SourceProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceProvenanceResponse] { + return pulumix.Output[SourceProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // A copy of the build's `source.repo_source`, if exists, with any revisions resolved. func (o SourceProvenanceResponseOutput) ResolvedRepoSource() RepoSourceResponseOutput { return o.ApplyT(func(v SourceProvenanceResponse) RepoSourceResponse { return v.ResolvedRepoSource }).(RepoSourceResponseOutput) @@ -3300,6 +3745,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // If provided, get the source from this location in a Cloud Source Repository. func (o SourceResponseOutput) RepoSource() RepoSourceResponseOutput { return o.ApplyT(func(v SourceResponse) RepoSourceResponse { return v.RepoSource }).(RepoSourceResponseOutput) @@ -3353,6 +3804,12 @@ func (i StorageSourceArgs) ToStorageSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(StorageSourceOutput) } +func (i StorageSourceArgs) ToOutput(ctx context.Context) pulumix.Output[StorageSource] { + return pulumix.Output[StorageSource]{ + OutputState: i.ToStorageSourceOutputWithContext(ctx).OutputState, + } +} + func (i StorageSourceArgs) ToStorageSourcePtrOutput() StorageSourcePtrOutput { return i.ToStorageSourcePtrOutputWithContext(context.Background()) } @@ -3394,6 +3851,12 @@ func (i *storageSourcePtrType) ToStorageSourcePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(StorageSourcePtrOutput) } +func (i *storageSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*StorageSource] { + return pulumix.Output[*StorageSource]{ + OutputState: i.ToStorageSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source in an archive file in Google Cloud Storage. type StorageSourceOutput struct{ *pulumi.OutputState } @@ -3419,6 +3882,12 @@ func (o StorageSourceOutput) ToStorageSourcePtrOutputWithContext(ctx context.Con }).(StorageSourcePtrOutput) } +func (o StorageSourceOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSource] { + return pulumix.Output[StorageSource]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v StorageSource) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -3448,6 +3917,12 @@ func (o StorageSourcePtrOutput) ToStorageSourcePtrOutputWithContext(ctx context. return o } +func (o StorageSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StorageSource] { + return pulumix.Output[*StorageSource]{ + OutputState: o.OutputState, + } +} + func (o StorageSourcePtrOutput) Elem() StorageSourceOutput { return o.ApplyT(func(v *StorageSource) StorageSource { if v != nil { @@ -3513,6 +3988,12 @@ func (o StorageSourceResponseOutput) ToStorageSourceResponseOutputWithContext(ct return o } +func (o StorageSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSourceResponse] { + return pulumix.Output[StorageSourceResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v StorageSourceResponse) string { return v.Bucket }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudfunctions/v2beta/function.go b/sdk/go/google/cloudfunctions/v2beta/function.go index 62e029133c..138ad8ffd8 100644 --- a/sdk/go/google/cloudfunctions/v2beta/function.go +++ b/sdk/go/google/cloudfunctions/v2beta/function.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error. @@ -157,6 +158,12 @@ func (i *Function) ToFunctionOutputWithContext(ctx context.Context) FunctionOutp return pulumi.ToOutputWithContext(ctx, i).(FunctionOutput) } +func (i *Function) ToOutput(ctx context.Context) pulumix.Output[*Function] { + return pulumix.Output[*Function]{ + OutputState: i.ToFunctionOutputWithContext(ctx).OutputState, + } +} + type FunctionOutput struct{ *pulumi.OutputState } func (FunctionOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o FunctionOutput) ToFunctionOutputWithContext(ctx context.Context) Functio return o } +func (o FunctionOutput) ToOutput(ctx context.Context) pulumix.Output[*Function] { + return pulumix.Output[*Function]{ + OutputState: o.OutputState, + } +} + // Describes the Build step of the function that builds a container from the given source. func (o FunctionOutput) BuildConfig() BuildConfigResponseOutput { return o.ApplyT(func(v *Function) BuildConfigResponseOutput { return v.BuildConfig }).(BuildConfigResponseOutput) diff --git a/sdk/go/google/cloudfunctions/v2beta/functionIamBinding.go b/sdk/go/google/cloudfunctions/v2beta/functionIamBinding.go index 734cbb8ba1..4441b83a98 100644 --- a/sdk/go/google/cloudfunctions/v2beta/functionIamBinding.go +++ b/sdk/go/google/cloudfunctions/v2beta/functionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FunctionIamBinding) ToFunctionIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(FunctionIamBindingOutput) } +func (i *FunctionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamBinding] { + return pulumix.Output[*FunctionIamBinding]{ + OutputState: i.ToFunctionIamBindingOutputWithContext(ctx).OutputState, + } +} + type FunctionIamBindingOutput struct{ *pulumi.OutputState } func (FunctionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamBindingOutput) ToFunctionIamBindingOutputWithContext(ctx cont return o } +func (o FunctionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamBinding] { + return pulumix.Output[*FunctionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FunctionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FunctionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudfunctions/v2beta/functionIamMember.go b/sdk/go/google/cloudfunctions/v2beta/functionIamMember.go index 7bf5b6576a..bf0d3cec01 100644 --- a/sdk/go/google/cloudfunctions/v2beta/functionIamMember.go +++ b/sdk/go/google/cloudfunctions/v2beta/functionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FunctionIamMember) ToFunctionIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FunctionIamMemberOutput) } +func (i *FunctionIamMember) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamMember] { + return pulumix.Output[*FunctionIamMember]{ + OutputState: i.ToFunctionIamMemberOutputWithContext(ctx).OutputState, + } +} + type FunctionIamMemberOutput struct{ *pulumi.OutputState } func (FunctionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamMemberOutput) ToFunctionIamMemberOutputWithContext(ctx contex return o } +func (o FunctionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamMember] { + return pulumix.Output[*FunctionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FunctionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FunctionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudfunctions/v2beta/functionIamPolicy.go b/sdk/go/google/cloudfunctions/v2beta/functionIamPolicy.go index fc6a7888e6..2424745a32 100644 --- a/sdk/go/google/cloudfunctions/v2beta/functionIamPolicy.go +++ b/sdk/go/google/cloudfunctions/v2beta/functionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FunctionIamPolicy) ToFunctionIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FunctionIamPolicyOutput) } +func (i *FunctionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamPolicy] { + return pulumix.Output[*FunctionIamPolicy]{ + OutputState: i.ToFunctionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FunctionIamPolicyOutput struct{ *pulumi.OutputState } func (FunctionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FunctionIamPolicyOutput) ToFunctionIamPolicyOutputWithContext(ctx contex return o } +func (o FunctionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionIamPolicy] { + return pulumix.Output[*FunctionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FunctionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FunctionIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudfunctions/v2beta/getFunction.go b/sdk/go/google/cloudfunctions/v2beta/getFunction.go index 4f11ad4928..8be3000165 100644 --- a/sdk/go/google/cloudfunctions/v2beta/getFunction.go +++ b/sdk/go/google/cloudfunctions/v2beta/getFunction.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a function with the given name from the requested project. @@ -90,6 +91,12 @@ func (o LookupFunctionResultOutput) ToLookupFunctionResultOutputWithContext(ctx return o } +func (o LookupFunctionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionResult] { + return pulumix.Output[LookupFunctionResult]{ + OutputState: o.OutputState, + } +} + // Describes the Build step of the function that builds a container from the given source. func (o LookupFunctionResultOutput) BuildConfig() BuildConfigResponseOutput { return o.ApplyT(func(v LookupFunctionResult) BuildConfigResponse { return v.BuildConfig }).(BuildConfigResponseOutput) diff --git a/sdk/go/google/cloudfunctions/v2beta/getFunctionIamPolicy.go b/sdk/go/google/cloudfunctions/v2beta/getFunctionIamPolicy.go index 9138c7c655..1c17cf26dd 100644 --- a/sdk/go/google/cloudfunctions/v2beta/getFunctionIamPolicy.go +++ b/sdk/go/google/cloudfunctions/v2beta/getFunctionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupFunctionIamPolicyResultOutput) ToLookupFunctionIamPolicyResultOutp return o } +func (o LookupFunctionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFunctionIamPolicyResult] { + return pulumix.Output[LookupFunctionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFunctionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFunctionIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudfunctions/v2beta/pulumiEnums.go b/sdk/go/google/cloudfunctions/v2beta/pulumiEnums.go index 88fdaf8d8a..f29a13012c 100644 --- a/sdk/go/google/cloudfunctions/v2beta/pulumiEnums.go +++ b/sdk/go/google/cloudfunctions/v2beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments. type BuildConfigDockerRegistry string @@ -253,6 +272,12 @@ func (o BuildConfigDockerRegistryOutput) ToBuildConfigDockerRegistryPtrOutputWit }).(BuildConfigDockerRegistryPtrOutput) } +func (o BuildConfigDockerRegistryOutput) ToOutput(ctx context.Context) pulumix.Output[BuildConfigDockerRegistry] { + return pulumix.Output[BuildConfigDockerRegistry]{ + OutputState: o.OutputState, + } +} + func (o BuildConfigDockerRegistryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o BuildConfigDockerRegistryPtrOutput) ToBuildConfigDockerRegistryPtrOutput return o } +func (o BuildConfigDockerRegistryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildConfigDockerRegistry] { + return pulumix.Output[*BuildConfigDockerRegistry]{ + OutputState: o.OutputState, + } +} + func (o BuildConfigDockerRegistryPtrOutput) Elem() BuildConfigDockerRegistryOutput { return o.ApplyT(func(v *BuildConfigDockerRegistry) BuildConfigDockerRegistry { if v != nil { @@ -350,6 +381,12 @@ func (in *buildConfigDockerRegistryPtr) ToBuildConfigDockerRegistryPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(BuildConfigDockerRegistryPtrOutput) } +func (in *buildConfigDockerRegistryPtr) ToOutput(ctx context.Context) pulumix.Output[*BuildConfigDockerRegistry] { + return pulumix.Output[*BuildConfigDockerRegistry]{ + OutputState: in.ToBuildConfigDockerRegistryPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. If unset, then defaults to ignoring failures (i.e. not retrying them). type EventTriggerRetryPolicy string @@ -422,6 +459,12 @@ func (o EventTriggerRetryPolicyOutput) ToEventTriggerRetryPolicyPtrOutputWithCon }).(EventTriggerRetryPolicyPtrOutput) } +func (o EventTriggerRetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[EventTriggerRetryPolicy] { + return pulumix.Output[EventTriggerRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o EventTriggerRetryPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o EventTriggerRetryPolicyPtrOutput) ToEventTriggerRetryPolicyPtrOutputWith return o } +func (o EventTriggerRetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventTriggerRetryPolicy] { + return pulumix.Output[*EventTriggerRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o EventTriggerRetryPolicyPtrOutput) Elem() EventTriggerRetryPolicyOutput { return o.ApplyT(func(v *EventTriggerRetryPolicy) EventTriggerRetryPolicy { if v != nil { @@ -519,6 +568,12 @@ func (in *eventTriggerRetryPolicyPtr) ToEventTriggerRetryPolicyPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(EventTriggerRetryPolicyPtrOutput) } +func (in *eventTriggerRetryPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*EventTriggerRetryPolicy] { + return pulumix.Output[*EventTriggerRetryPolicy]{ + OutputState: in.ToEventTriggerRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Describe whether the function is 1st Gen or 2nd Gen. type FunctionEnvironment string @@ -591,6 +646,12 @@ func (o FunctionEnvironmentOutput) ToFunctionEnvironmentPtrOutputWithContext(ctx }).(FunctionEnvironmentPtrOutput) } +func (o FunctionEnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[FunctionEnvironment] { + return pulumix.Output[FunctionEnvironment]{ + OutputState: o.OutputState, + } +} + func (o FunctionEnvironmentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o FunctionEnvironmentPtrOutput) ToFunctionEnvironmentPtrOutputWithContext( return o } +func (o FunctionEnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FunctionEnvironment] { + return pulumix.Output[*FunctionEnvironment]{ + OutputState: o.OutputState, + } +} + func (o FunctionEnvironmentPtrOutput) Elem() FunctionEnvironmentOutput { return o.ApplyT(func(v *FunctionEnvironment) FunctionEnvironment { if v != nil { @@ -688,6 +755,12 @@ func (in *functionEnvironmentPtr) ToFunctionEnvironmentPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(FunctionEnvironmentPtrOutput) } +func (in *functionEnvironmentPtr) ToOutput(ctx context.Context) pulumix.Output[*FunctionEnvironment] { + return pulumix.Output[*FunctionEnvironment]{ + OutputState: in.ToFunctionEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // The ingress settings for the function, controlling what traffic can reach it. type ServiceConfigIngressSettings string @@ -762,6 +835,12 @@ func (o ServiceConfigIngressSettingsOutput) ToServiceConfigIngressSettingsPtrOut }).(ServiceConfigIngressSettingsPtrOutput) } +func (o ServiceConfigIngressSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigIngressSettings] { + return pulumix.Output[ServiceConfigIngressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigIngressSettingsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -797,6 +876,12 @@ func (o ServiceConfigIngressSettingsPtrOutput) ToServiceConfigIngressSettingsPtr return o } +func (o ServiceConfigIngressSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigIngressSettings] { + return pulumix.Output[*ServiceConfigIngressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigIngressSettingsPtrOutput) Elem() ServiceConfigIngressSettingsOutput { return o.ApplyT(func(v *ServiceConfigIngressSettings) ServiceConfigIngressSettings { if v != nil { @@ -859,6 +944,12 @@ func (in *serviceConfigIngressSettingsPtr) ToServiceConfigIngressSettingsPtrOutp return pulumi.ToOutputWithContext(ctx, in).(ServiceConfigIngressSettingsPtrOutput) } +func (in *serviceConfigIngressSettingsPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigIngressSettings] { + return pulumix.Output[*ServiceConfigIngressSettings]{ + OutputState: in.ToServiceConfigIngressSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY. type ServiceConfigSecurityLevel string @@ -931,6 +1022,12 @@ func (o ServiceConfigSecurityLevelOutput) ToServiceConfigSecurityLevelPtrOutputW }).(ServiceConfigSecurityLevelPtrOutput) } +func (o ServiceConfigSecurityLevelOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigSecurityLevel] { + return pulumix.Output[ServiceConfigSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigSecurityLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -966,6 +1063,12 @@ func (o ServiceConfigSecurityLevelPtrOutput) ToServiceConfigSecurityLevelPtrOutp return o } +func (o ServiceConfigSecurityLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigSecurityLevel] { + return pulumix.Output[*ServiceConfigSecurityLevel]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigSecurityLevelPtrOutput) Elem() ServiceConfigSecurityLevelOutput { return o.ApplyT(func(v *ServiceConfigSecurityLevel) ServiceConfigSecurityLevel { if v != nil { @@ -1028,6 +1131,12 @@ func (in *serviceConfigSecurityLevelPtr) ToServiceConfigSecurityLevelPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(ServiceConfigSecurityLevelPtrOutput) } +func (in *serviceConfigSecurityLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigSecurityLevel] { + return pulumix.Output[*ServiceConfigSecurityLevel]{ + OutputState: in.ToServiceConfigSecurityLevelPtrOutputWithContext(ctx).OutputState, + } +} + // The egress settings for the connector, controlling what traffic is diverted through it. type ServiceConfigVpcConnectorEgressSettings string @@ -1100,6 +1209,12 @@ func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToServiceConfigVpcConnect }).(ServiceConfigVpcConnectorEgressSettingsPtrOutput) } +func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigVpcConnectorEgressSettings] { + return pulumix.Output[ServiceConfigVpcConnectorEgressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigVpcConnectorEgressSettingsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1135,6 +1250,12 @@ func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToServiceConfigVpcConn return o } +func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigVpcConnectorEgressSettings] { + return pulumix.Output[*ServiceConfigVpcConnectorEgressSettings]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigVpcConnectorEgressSettingsPtrOutput) Elem() ServiceConfigVpcConnectorEgressSettingsOutput { return o.ApplyT(func(v *ServiceConfigVpcConnectorEgressSettings) ServiceConfigVpcConnectorEgressSettings { if v != nil { @@ -1197,6 +1318,12 @@ func (in *serviceConfigVpcConnectorEgressSettingsPtr) ToServiceConfigVpcConnecto return pulumi.ToOutputWithContext(ctx, in).(ServiceConfigVpcConnectorEgressSettingsPtrOutput) } +func (in *serviceConfigVpcConnectorEgressSettingsPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfigVpcConnectorEgressSettings] { + return pulumix.Output[*ServiceConfigVpcConnectorEgressSettings]{ + OutputState: in.ToServiceConfigVpcConnectorEgressSettingsPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudfunctions/v2beta/pulumiTypes.go b/sdk/go/google/cloudfunctions/v2beta/pulumiTypes.go index 1aab984abf..3698bb1777 100644 --- a/sdk/go/google/cloudfunctions/v2beta/pulumiTypes.go +++ b/sdk/go/google/cloudfunctions/v2beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -574,6 +683,12 @@ func (i BuildConfigArgs) ToBuildConfigOutputWithContext(ctx context.Context) Bui return pulumi.ToOutputWithContext(ctx, i).(BuildConfigOutput) } +func (i BuildConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BuildConfig] { + return pulumix.Output[BuildConfig]{ + OutputState: i.ToBuildConfigOutputWithContext(ctx).OutputState, + } +} + func (i BuildConfigArgs) ToBuildConfigPtrOutput() BuildConfigPtrOutput { return i.ToBuildConfigPtrOutputWithContext(context.Background()) } @@ -615,6 +730,12 @@ func (i *buildConfigPtrType) ToBuildConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(BuildConfigPtrOutput) } +func (i *buildConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildConfig] { + return pulumix.Output[*BuildConfig]{ + OutputState: i.ToBuildConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the Build step of the function that builds a container from the given source. type BuildConfigOutput struct{ *pulumi.OutputState } @@ -640,6 +761,12 @@ func (o BuildConfigOutput) ToBuildConfigPtrOutputWithContext(ctx context.Context }).(BuildConfigPtrOutput) } +func (o BuildConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BuildConfig] { + return pulumix.Output[BuildConfig]{ + OutputState: o.OutputState, + } +} + // Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments. func (o BuildConfigOutput) DockerRegistry() BuildConfigDockerRegistryPtrOutput { return o.ApplyT(func(v BuildConfig) *BuildConfigDockerRegistry { return v.DockerRegistry }).(BuildConfigDockerRegistryPtrOutput) @@ -689,6 +816,12 @@ func (o BuildConfigPtrOutput) ToBuildConfigPtrOutputWithContext(ctx context.Cont return o } +func (o BuildConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildConfig] { + return pulumix.Output[*BuildConfig]{ + OutputState: o.OutputState, + } +} + func (o BuildConfigPtrOutput) Elem() BuildConfigOutput { return o.ApplyT(func(v *BuildConfig) BuildConfig { if v != nil { @@ -806,6 +939,12 @@ func (o BuildConfigResponseOutput) ToBuildConfigResponseOutputWithContext(ctx co return o } +func (o BuildConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildConfigResponse] { + return pulumix.Output[BuildConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud Build name of the latest successful deployment of the function. func (o BuildConfigResponseOutput) Build() pulumi.StringOutput { return o.ApplyT(func(v BuildConfigResponse) string { return v.Build }).(pulumi.StringOutput) @@ -894,6 +1033,12 @@ func (i EventFilterArgs) ToEventFilterOutputWithContext(ctx context.Context) Eve return pulumi.ToOutputWithContext(ctx, i).(EventFilterOutput) } +func (i EventFilterArgs) ToOutput(ctx context.Context) pulumix.Output[EventFilter] { + return pulumix.Output[EventFilter]{ + OutputState: i.ToEventFilterOutputWithContext(ctx).OutputState, + } +} + // EventFilterArrayInput is an input type that accepts EventFilterArray and EventFilterArrayOutput values. // You can construct a concrete instance of `EventFilterArrayInput` via: // @@ -919,6 +1064,12 @@ func (i EventFilterArray) ToEventFilterArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(EventFilterArrayOutput) } +func (i EventFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]EventFilter] { + return pulumix.Output[[]EventFilter]{ + OutputState: i.ToEventFilterArrayOutputWithContext(ctx).OutputState, + } +} + // Filters events based on exact matches on the CloudEvents attributes. type EventFilterOutput struct{ *pulumi.OutputState } @@ -934,6 +1085,12 @@ func (o EventFilterOutput) ToEventFilterOutputWithContext(ctx context.Context) E return o } +func (o EventFilterOutput) ToOutput(ctx context.Context) pulumix.Output[EventFilter] { + return pulumix.Output[EventFilter]{ + OutputState: o.OutputState, + } +} + // The name of a CloudEvents attribute. func (o EventFilterOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v EventFilter) string { return v.Attribute }).(pulumi.StringOutput) @@ -963,6 +1120,12 @@ func (o EventFilterArrayOutput) ToEventFilterArrayOutputWithContext(ctx context. return o } +func (o EventFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventFilter] { + return pulumix.Output[[]EventFilter]{ + OutputState: o.OutputState, + } +} + func (o EventFilterArrayOutput) Index(i pulumi.IntInput) EventFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventFilter { return vs[0].([]EventFilter)[vs[1].(int)] @@ -994,6 +1157,12 @@ func (o EventFilterResponseOutput) ToEventFilterResponseOutputWithContext(ctx co return o } +func (o EventFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventFilterResponse] { + return pulumix.Output[EventFilterResponse]{ + OutputState: o.OutputState, + } +} + // The name of a CloudEvents attribute. func (o EventFilterResponseOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v EventFilterResponse) string { return v.Attribute }).(pulumi.StringOutput) @@ -1023,6 +1192,12 @@ func (o EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutputWithCont return o } +func (o EventFilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventFilterResponse] { + return pulumix.Output[[]EventFilterResponse]{ + OutputState: o.OutputState, + } +} + func (o EventFilterResponseArrayOutput) Index(i pulumi.IntInput) EventFilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventFilterResponse { return vs[0].([]EventFilterResponse)[vs[1].(int)] @@ -1088,6 +1263,12 @@ func (i EventTriggerArgs) ToEventTriggerOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(EventTriggerOutput) } +func (i EventTriggerArgs) ToOutput(ctx context.Context) pulumix.Output[EventTrigger] { + return pulumix.Output[EventTrigger]{ + OutputState: i.ToEventTriggerOutputWithContext(ctx).OutputState, + } +} + func (i EventTriggerArgs) ToEventTriggerPtrOutput() EventTriggerPtrOutput { return i.ToEventTriggerPtrOutputWithContext(context.Background()) } @@ -1129,6 +1310,12 @@ func (i *eventTriggerPtrType) ToEventTriggerPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(EventTriggerPtrOutput) } +func (i *eventTriggerPtrType) ToOutput(ctx context.Context) pulumix.Output[*EventTrigger] { + return pulumix.Output[*EventTrigger]{ + OutputState: i.ToEventTriggerPtrOutputWithContext(ctx).OutputState, + } +} + // Describes EventTrigger, used to request events to be sent from another service. type EventTriggerOutput struct{ *pulumi.OutputState } @@ -1154,6 +1341,12 @@ func (o EventTriggerOutput) ToEventTriggerPtrOutputWithContext(ctx context.Conte }).(EventTriggerPtrOutput) } +func (o EventTriggerOutput) ToOutput(ctx context.Context) pulumix.Output[EventTrigger] { + return pulumix.Output[EventTrigger]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners. func (o EventTriggerOutput) Channel() pulumi.StringPtrOutput { return o.ApplyT(func(v EventTrigger) *string { return v.Channel }).(pulumi.StringPtrOutput) @@ -1203,6 +1396,12 @@ func (o EventTriggerPtrOutput) ToEventTriggerPtrOutputWithContext(ctx context.Co return o } +func (o EventTriggerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventTrigger] { + return pulumix.Output[*EventTrigger]{ + OutputState: o.OutputState, + } +} + func (o EventTriggerPtrOutput) Elem() EventTriggerOutput { return o.ApplyT(func(v *EventTrigger) EventTrigger { if v != nil { @@ -1318,6 +1517,12 @@ func (o EventTriggerResponseOutput) ToEventTriggerResponseOutputWithContext(ctx return o } +func (o EventTriggerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventTriggerResponse] { + return pulumix.Output[EventTriggerResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners. func (o EventTriggerResponseOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v EventTriggerResponse) string { return v.Channel }).(pulumi.StringOutput) @@ -1405,6 +1610,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1446,6 +1657,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1471,6 +1688,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1505,6 +1728,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1582,6 +1811,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1627,6 +1862,12 @@ func (o GoogleCloudFunctionsV2betaStateMessageResponseOutput) ToGoogleCloudFunct return o } +func (o GoogleCloudFunctionsV2betaStateMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudFunctionsV2betaStateMessageResponse] { + return pulumix.Output[GoogleCloudFunctionsV2betaStateMessageResponse]{ + OutputState: o.OutputState, + } +} + // The message. func (o GoogleCloudFunctionsV2betaStateMessageResponseOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudFunctionsV2betaStateMessageResponse) string { return v.Message }).(pulumi.StringOutput) @@ -1656,6 +1897,12 @@ func (o GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudFunctionsV2betaStateMessageResponse] { + return pulumix.Output[[]GoogleCloudFunctionsV2betaStateMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudFunctionsV2betaStateMessageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudFunctionsV2betaStateMessageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudFunctionsV2betaStateMessageResponse { return vs[0].([]GoogleCloudFunctionsV2betaStateMessageResponse)[vs[1].(int)] @@ -1721,6 +1968,12 @@ func (i RepoSourceArgs) ToRepoSourceOutputWithContext(ctx context.Context) RepoS return pulumi.ToOutputWithContext(ctx, i).(RepoSourceOutput) } +func (i RepoSourceArgs) ToOutput(ctx context.Context) pulumix.Output[RepoSource] { + return pulumix.Output[RepoSource]{ + OutputState: i.ToRepoSourceOutputWithContext(ctx).OutputState, + } +} + func (i RepoSourceArgs) ToRepoSourcePtrOutput() RepoSourcePtrOutput { return i.ToRepoSourcePtrOutputWithContext(context.Background()) } @@ -1762,6 +2015,12 @@ func (i *repoSourcePtrType) ToRepoSourcePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RepoSourcePtrOutput) } +func (i *repoSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*RepoSource] { + return pulumix.Output[*RepoSource]{ + OutputState: i.ToRepoSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source in a Google Cloud Source Repository. type RepoSourceOutput struct{ *pulumi.OutputState } @@ -1787,6 +2046,12 @@ func (o RepoSourceOutput) ToRepoSourcePtrOutputWithContext(ctx context.Context) }).(RepoSourcePtrOutput) } +func (o RepoSourceOutput) ToOutput(ctx context.Context) pulumix.Output[RepoSource] { + return pulumix.Output[RepoSource]{ + OutputState: o.OutputState, + } +} + // Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o RepoSourceOutput) BranchName() pulumi.StringPtrOutput { return o.ApplyT(func(v RepoSource) *string { return v.BranchName }).(pulumi.StringPtrOutput) @@ -1836,6 +2101,12 @@ func (o RepoSourcePtrOutput) ToRepoSourcePtrOutputWithContext(ctx context.Contex return o } +func (o RepoSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepoSource] { + return pulumix.Output[*RepoSource]{ + OutputState: o.OutputState, + } +} + func (o RepoSourcePtrOutput) Elem() RepoSourceOutput { return o.ApplyT(func(v *RepoSource) RepoSource { if v != nil { @@ -1949,6 +2220,12 @@ func (o RepoSourceResponseOutput) ToRepoSourceResponseOutputWithContext(ctx cont return o } +func (o RepoSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RepoSourceResponse] { + return pulumix.Output[RepoSourceResponse]{ + OutputState: o.OutputState, + } +} + // Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax func (o RepoSourceResponseOutput) BranchName() pulumi.StringOutput { return o.ApplyT(func(v RepoSourceResponse) string { return v.BranchName }).(pulumi.StringOutput) @@ -2031,6 +2308,12 @@ func (i SecretEnvVarArgs) ToSecretEnvVarOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretEnvVarOutput) } +func (i SecretEnvVarArgs) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVar] { + return pulumix.Output[SecretEnvVar]{ + OutputState: i.ToSecretEnvVarOutputWithContext(ctx).OutputState, + } +} + // SecretEnvVarArrayInput is an input type that accepts SecretEnvVarArray and SecretEnvVarArrayOutput values. // You can construct a concrete instance of `SecretEnvVarArrayInput` via: // @@ -2056,6 +2339,12 @@ func (i SecretEnvVarArray) ToSecretEnvVarArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecretEnvVarArrayOutput) } +func (i SecretEnvVarArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVar] { + return pulumix.Output[[]SecretEnvVar]{ + OutputState: i.ToSecretEnvVarArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable. type SecretEnvVarOutput struct{ *pulumi.OutputState } @@ -2071,6 +2360,12 @@ func (o SecretEnvVarOutput) ToSecretEnvVarOutputWithContext(ctx context.Context) return o } +func (o SecretEnvVarOutput) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVar] { + return pulumix.Output[SecretEnvVar]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. func (o SecretEnvVarOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretEnvVar) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -2105,6 +2400,12 @@ func (o SecretEnvVarArrayOutput) ToSecretEnvVarArrayOutputWithContext(ctx contex return o } +func (o SecretEnvVarArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVar] { + return pulumix.Output[[]SecretEnvVar]{ + OutputState: o.OutputState, + } +} + func (o SecretEnvVarArrayOutput) Index(i pulumi.IntInput) SecretEnvVarOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretEnvVar { return vs[0].([]SecretEnvVar)[vs[1].(int)] @@ -2138,6 +2439,12 @@ func (o SecretEnvVarResponseOutput) ToSecretEnvVarResponseOutputWithContext(ctx return o } +func (o SecretEnvVarResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretEnvVarResponse] { + return pulumix.Output[SecretEnvVarResponse]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. func (o SecretEnvVarResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SecretEnvVarResponse) string { return v.Key }).(pulumi.StringOutput) @@ -2172,6 +2479,12 @@ func (o SecretEnvVarResponseArrayOutput) ToSecretEnvVarResponseArrayOutputWithCo return o } +func (o SecretEnvVarResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretEnvVarResponse] { + return pulumix.Output[[]SecretEnvVarResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretEnvVarResponseArrayOutput) Index(i pulumi.IntInput) SecretEnvVarResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretEnvVarResponse { return vs[0].([]SecretEnvVarResponse)[vs[1].(int)] @@ -2217,6 +2530,12 @@ func (i SecretVersionArgs) ToSecretVersionOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecretVersionOutput) } +func (i SecretVersionArgs) ToOutput(ctx context.Context) pulumix.Output[SecretVersion] { + return pulumix.Output[SecretVersion]{ + OutputState: i.ToSecretVersionOutputWithContext(ctx).OutputState, + } +} + // SecretVersionArrayInput is an input type that accepts SecretVersionArray and SecretVersionArrayOutput values. // You can construct a concrete instance of `SecretVersionArrayInput` via: // @@ -2242,6 +2561,12 @@ func (i SecretVersionArray) ToSecretVersionArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretVersionArrayOutput) } +func (i SecretVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersion] { + return pulumix.Output[[]SecretVersion]{ + OutputState: i.ToSecretVersionArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a single version. type SecretVersionOutput struct{ *pulumi.OutputState } @@ -2257,6 +2582,12 @@ func (o SecretVersionOutput) ToSecretVersionOutputWithContext(ctx context.Contex return o } +func (o SecretVersionOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVersion] { + return pulumix.Output[SecretVersion]{ + OutputState: o.OutputState, + } +} + // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`. func (o SecretVersionOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretVersion) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -2281,6 +2612,12 @@ func (o SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext(ctx cont return o } +func (o SecretVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersion] { + return pulumix.Output[[]SecretVersion]{ + OutputState: o.OutputState, + } +} + func (o SecretVersionArrayOutput) Index(i pulumi.IntInput) SecretVersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVersion { return vs[0].([]SecretVersion)[vs[1].(int)] @@ -2310,6 +2647,12 @@ func (o SecretVersionResponseOutput) ToSecretVersionResponseOutputWithContext(ct return o } +func (o SecretVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVersionResponse] { + return pulumix.Output[SecretVersionResponse]{ + OutputState: o.OutputState, + } +} + // Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as `secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`. func (o SecretVersionResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v SecretVersionResponse) string { return v.Path }).(pulumi.StringOutput) @@ -2334,6 +2677,12 @@ func (o SecretVersionResponseArrayOutput) ToSecretVersionResponseArrayOutputWith return o } +func (o SecretVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVersionResponse] { + return pulumix.Output[[]SecretVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretVersionResponseArrayOutput) Index(i pulumi.IntInput) SecretVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVersionResponse { return vs[0].([]SecretVersionResponse)[vs[1].(int)] @@ -2387,6 +2736,12 @@ func (i SecretVolumeArgs) ToSecretVolumeOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretVolumeOutput) } +func (i SecretVolumeArgs) ToOutput(ctx context.Context) pulumix.Output[SecretVolume] { + return pulumix.Output[SecretVolume]{ + OutputState: i.ToSecretVolumeOutputWithContext(ctx).OutputState, + } +} + // SecretVolumeArrayInput is an input type that accepts SecretVolumeArray and SecretVolumeArrayOutput values. // You can construct a concrete instance of `SecretVolumeArrayInput` via: // @@ -2412,6 +2767,12 @@ func (i SecretVolumeArray) ToSecretVolumeArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecretVolumeArrayOutput) } +func (i SecretVolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolume] { + return pulumix.Output[[]SecretVolume]{ + OutputState: i.ToSecretVolumeArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container. type SecretVolumeOutput struct{ *pulumi.OutputState } @@ -2427,6 +2788,12 @@ func (o SecretVolumeOutput) ToSecretVolumeOutputWithContext(ctx context.Context) return o } +func (o SecretVolumeOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVolume] { + return pulumix.Output[SecretVolume]{ + OutputState: o.OutputState, + } +} + // The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets func (o SecretVolumeOutput) MountPath() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretVolume) *string { return v.MountPath }).(pulumi.StringPtrOutput) @@ -2461,6 +2828,12 @@ func (o SecretVolumeArrayOutput) ToSecretVolumeArrayOutputWithContext(ctx contex return o } +func (o SecretVolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolume] { + return pulumix.Output[[]SecretVolume]{ + OutputState: o.OutputState, + } +} + func (o SecretVolumeArrayOutput) Index(i pulumi.IntInput) SecretVolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVolume { return vs[0].([]SecretVolume)[vs[1].(int)] @@ -2494,6 +2867,12 @@ func (o SecretVolumeResponseOutput) ToSecretVolumeResponseOutputWithContext(ctx return o } +func (o SecretVolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVolumeResponse] { + return pulumix.Output[SecretVolumeResponse]{ + OutputState: o.OutputState, + } +} + // The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets` directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets func (o SecretVolumeResponseOutput) MountPath() pulumi.StringOutput { return o.ApplyT(func(v SecretVolumeResponse) string { return v.MountPath }).(pulumi.StringOutput) @@ -2528,6 +2907,12 @@ func (o SecretVolumeResponseArrayOutput) ToSecretVolumeResponseArrayOutputWithCo return o } +func (o SecretVolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretVolumeResponse] { + return pulumix.Output[[]SecretVolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o SecretVolumeResponseArrayOutput) Index(i pulumi.IntInput) SecretVolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretVolumeResponse { return vs[0].([]SecretVolumeResponse)[vs[1].(int)] @@ -2625,6 +3010,12 @@ func (i ServiceConfigArgs) ToServiceConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServiceConfigOutput) } +func (i ServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceConfig] { + return pulumix.Output[ServiceConfig]{ + OutputState: i.ToServiceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ServiceConfigArgs) ToServiceConfigPtrOutput() ServiceConfigPtrOutput { return i.ToServiceConfigPtrOutputWithContext(context.Background()) } @@ -2666,6 +3057,12 @@ func (i *serviceConfigPtrType) ToServiceConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ServiceConfigPtrOutput) } +func (i *serviceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfig] { + return pulumix.Output[*ServiceConfig]{ + OutputState: i.ToServiceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the Service being deployed. Currently Supported : Cloud Run (fully managed). type ServiceConfigOutput struct{ *pulumi.OutputState } @@ -2691,6 +3088,12 @@ func (o ServiceConfigOutput) ToServiceConfigPtrOutputWithContext(ctx context.Con }).(ServiceConfigPtrOutput) } +func (o ServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfig] { + return pulumix.Output[ServiceConfig]{ + OutputState: o.OutputState, + } +} + // Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. func (o ServiceConfigOutput) AllTrafficOnLatestRevision() pulumi.BoolPtrOutput { return o.ApplyT(func(v ServiceConfig) *bool { return v.AllTrafficOnLatestRevision }).(pulumi.BoolPtrOutput) @@ -2780,6 +3183,12 @@ func (o ServiceConfigPtrOutput) ToServiceConfigPtrOutputWithContext(ctx context. return o } +func (o ServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConfig] { + return pulumix.Output[*ServiceConfig]{ + OutputState: o.OutputState, + } +} + func (o ServiceConfigPtrOutput) Elem() ServiceConfigOutput { return o.ApplyT(func(v *ServiceConfig) ServiceConfig { if v != nil { @@ -2995,6 +3404,12 @@ func (o ServiceConfigResponseOutput) ToServiceConfigResponseOutputWithContext(ct return o } +func (o ServiceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceConfigResponse] { + return pulumix.Output[ServiceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic. func (o ServiceConfigResponseOutput) AllTrafficOnLatestRevision() pulumi.BoolOutput { return o.ApplyT(func(v ServiceConfigResponse) bool { return v.AllTrafficOnLatestRevision }).(pulumi.BoolOutput) @@ -3124,6 +3539,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + func (i SourceArgs) ToSourcePtrOutput() SourcePtrOutput { return i.ToSourcePtrOutputWithContext(context.Background()) } @@ -3165,6 +3586,12 @@ func (i *sourcePtrType) ToSourcePtrOutputWithContext(ctx context.Context) Source return pulumi.ToOutputWithContext(ctx, i).(SourcePtrOutput) } +func (i *sourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourcePtrOutputWithContext(ctx).OutputState, + } +} + // The location of the function source code. type SourceOutput struct{ *pulumi.OutputState } @@ -3190,6 +3617,12 @@ func (o SourceOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePt }).(SourcePtrOutput) } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // If provided, get the source from this location in a Cloud Source Repository. func (o SourceOutput) RepoSource() RepoSourcePtrOutput { return o.ApplyT(func(v Source) *RepoSource { return v.RepoSource }).(RepoSourcePtrOutput) @@ -3214,6 +3647,12 @@ func (o SourcePtrOutput) ToSourcePtrOutputWithContext(ctx context.Context) Sourc return o } +func (o SourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + func (o SourcePtrOutput) Elem() SourceOutput { return o.ApplyT(func(v *Source) Source { if v != nil { @@ -3267,6 +3706,12 @@ func (o SourceProvenanceResponseOutput) ToSourceProvenanceResponseOutputWithCont return o } +func (o SourceProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceProvenanceResponse] { + return pulumix.Output[SourceProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // A copy of the build's `source.repo_source`, if exists, with any revisions resolved. func (o SourceProvenanceResponseOutput) ResolvedRepoSource() RepoSourceResponseOutput { return o.ApplyT(func(v SourceProvenanceResponse) RepoSourceResponse { return v.ResolvedRepoSource }).(RepoSourceResponseOutput) @@ -3300,6 +3745,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // If provided, get the source from this location in a Cloud Source Repository. func (o SourceResponseOutput) RepoSource() RepoSourceResponseOutput { return o.ApplyT(func(v SourceResponse) RepoSourceResponse { return v.RepoSource }).(RepoSourceResponseOutput) @@ -3353,6 +3804,12 @@ func (i StorageSourceArgs) ToStorageSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(StorageSourceOutput) } +func (i StorageSourceArgs) ToOutput(ctx context.Context) pulumix.Output[StorageSource] { + return pulumix.Output[StorageSource]{ + OutputState: i.ToStorageSourceOutputWithContext(ctx).OutputState, + } +} + func (i StorageSourceArgs) ToStorageSourcePtrOutput() StorageSourcePtrOutput { return i.ToStorageSourcePtrOutputWithContext(context.Background()) } @@ -3394,6 +3851,12 @@ func (i *storageSourcePtrType) ToStorageSourcePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(StorageSourcePtrOutput) } +func (i *storageSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*StorageSource] { + return pulumix.Output[*StorageSource]{ + OutputState: i.ToStorageSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Location of the source in an archive file in Google Cloud Storage. type StorageSourceOutput struct{ *pulumi.OutputState } @@ -3419,6 +3882,12 @@ func (o StorageSourceOutput) ToStorageSourcePtrOutputWithContext(ctx context.Con }).(StorageSourcePtrOutput) } +func (o StorageSourceOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSource] { + return pulumix.Output[StorageSource]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v StorageSource) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -3448,6 +3917,12 @@ func (o StorageSourcePtrOutput) ToStorageSourcePtrOutputWithContext(ctx context. return o } +func (o StorageSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StorageSource] { + return pulumix.Output[*StorageSource]{ + OutputState: o.OutputState, + } +} + func (o StorageSourcePtrOutput) Elem() StorageSourceOutput { return o.ApplyT(func(v *StorageSource) StorageSource { if v != nil { @@ -3513,6 +3988,12 @@ func (o StorageSourceResponseOutput) ToStorageSourceResponseOutputWithContext(ct return o } +func (o StorageSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSourceResponse] { + return pulumix.Output[StorageSourceResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v StorageSourceResponse) string { return v.Bucket }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1/device.go b/sdk/go/google/cloudidentity/v1/device.go index 99e5abbed9..aa32f900cc 100644 --- a/sdk/go/google/cloudidentity/v1/device.go +++ b/sdk/go/google/cloudidentity/v1/device.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a device. Only company-owned device may be created. **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium @@ -171,6 +172,12 @@ func (i *Device) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput { return pulumi.ToOutputWithContext(ctx, i).(DeviceOutput) } +func (i *Device) ToOutput(ctx context.Context) pulumix.Output[*Device] { + return pulumix.Output[*Device]{ + OutputState: i.ToDeviceOutputWithContext(ctx).OutputState, + } +} + type DeviceOutput struct{ *pulumi.OutputState } func (DeviceOutput) ElementType() reflect.Type { @@ -185,6 +192,12 @@ func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutpu return o } +func (o DeviceOutput) ToOutput(ctx context.Context) pulumix.Output[*Device] { + return pulumix.Output[*Device]{ + OutputState: o.OutputState, + } +} + // Attributes specific to Android devices. func (o DeviceOutput) AndroidSpecificAttributes() GoogleAppsCloudidentityDevicesV1AndroidAttributesResponseOutput { return o.ApplyT(func(v *Device) GoogleAppsCloudidentityDevicesV1AndroidAttributesResponseOutput { diff --git a/sdk/go/google/cloudidentity/v1/getDevice.go b/sdk/go/google/cloudidentity/v1/getDevice.go index 0ab45b94a5..fc96b9b4ff 100644 --- a/sdk/go/google/cloudidentity/v1/getDevice.go +++ b/sdk/go/google/cloudidentity/v1/getDevice.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified device. @@ -124,6 +125,12 @@ func (o LookupDeviceResultOutput) ToLookupDeviceResultOutputWithContext(ctx cont return o } +func (o LookupDeviceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeviceResult] { + return pulumix.Output[LookupDeviceResult]{ + OutputState: o.OutputState, + } +} + // Attributes specific to Android devices. func (o LookupDeviceResultOutput) AndroidSpecificAttributes() GoogleAppsCloudidentityDevicesV1AndroidAttributesResponseOutput { return o.ApplyT(func(v LookupDeviceResult) GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse { diff --git a/sdk/go/google/cloudidentity/v1/getGroup.go b/sdk/go/google/cloudidentity/v1/getGroup.go index 87f4efcd2d..2ca4b30c43 100644 --- a/sdk/go/google/cloudidentity/v1/getGroup.go +++ b/sdk/go/google/cloudidentity/v1/getGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a `Group`. @@ -84,6 +85,12 @@ func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx contex return o } +func (o LookupGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupResult] { + return pulumix.Output[LookupGroupResult]{ + OutputState: o.OutputState, + } +} + // Additional group keys associated with the Group. func (o LookupGroupResultOutput) AdditionalGroupKeys() EntityKeyResponseArrayOutput { return o.ApplyT(func(v LookupGroupResult) []EntityKeyResponse { return v.AdditionalGroupKeys }).(EntityKeyResponseArrayOutput) diff --git a/sdk/go/google/cloudidentity/v1/getInboundSamlSsoProfile.go b/sdk/go/google/cloudidentity/v1/getInboundSamlSsoProfile.go index 7d45819603..5ea2cb459c 100644 --- a/sdk/go/google/cloudidentity/v1/getInboundSamlSsoProfile.go +++ b/sdk/go/google/cloudidentity/v1/getInboundSamlSsoProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an InboundSamlSsoProfile. @@ -74,6 +75,12 @@ func (o LookupInboundSamlSsoProfileResultOutput) ToLookupInboundSamlSsoProfileRe return o } +func (o LookupInboundSamlSsoProfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInboundSamlSsoProfileResult] { + return pulumix.Output[LookupInboundSamlSsoProfileResult]{ + OutputState: o.OutputState, + } +} + // Immutable. The customer. For example: `customers/C0123abc`. func (o LookupInboundSamlSsoProfileResultOutput) Customer() pulumi.StringOutput { return o.ApplyT(func(v LookupInboundSamlSsoProfileResult) string { return v.Customer }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1/getInboundSsoAssignment.go b/sdk/go/google/cloudidentity/v1/getInboundSsoAssignment.go index 72a6e6a3a7..944861563b 100644 --- a/sdk/go/google/cloudidentity/v1/getInboundSsoAssignment.go +++ b/sdk/go/google/cloudidentity/v1/getInboundSsoAssignment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an InboundSsoAssignment. @@ -80,6 +81,12 @@ func (o LookupInboundSsoAssignmentResultOutput) ToLookupInboundSsoAssignmentResu return o } +func (o LookupInboundSsoAssignmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInboundSsoAssignmentResult] { + return pulumix.Output[LookupInboundSsoAssignmentResult]{ + OutputState: o.OutputState, + } +} + // Immutable. The customer. For example: `customers/C0123abc`. func (o LookupInboundSsoAssignmentResultOutput) Customer() pulumi.StringOutput { return o.ApplyT(func(v LookupInboundSsoAssignmentResult) string { return v.Customer }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1/getMembership.go b/sdk/go/google/cloudidentity/v1/getMembership.go index 8242d0c881..3a8adc4a28 100644 --- a/sdk/go/google/cloudidentity/v1/getMembership.go +++ b/sdk/go/google/cloudidentity/v1/getMembership.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a `Membership`. @@ -80,6 +81,12 @@ func (o LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext( return o } +func (o LookupMembershipResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipResult] { + return pulumix.Output[LookupMembershipResult]{ + OutputState: o.OutputState, + } +} + // The time when the `Membership` was created. func (o LookupMembershipResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMembershipResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1/group.go b/sdk/go/google/cloudidentity/v1/group.go index d3054da4dd..d3c2ff7fa0 100644 --- a/sdk/go/google/cloudidentity/v1/group.go +++ b/sdk/go/google/cloudidentity/v1/group.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Group. @@ -147,6 +148,12 @@ func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return pulumi.ToOutputWithContext(ctx, i).(GroupOutput) } +func (i *Group) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: i.ToGroupOutputWithContext(ctx).OutputState, + } +} + type GroupOutput struct{ *pulumi.OutputState } func (GroupOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return o } +func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: o.OutputState, + } +} + // Additional group keys associated with the Group. func (o GroupOutput) AdditionalGroupKeys() EntityKeyResponseArrayOutput { return o.ApplyT(func(v *Group) EntityKeyResponseArrayOutput { return v.AdditionalGroupKeys }).(EntityKeyResponseArrayOutput) diff --git a/sdk/go/google/cloudidentity/v1/inboundSamlSsoProfile.go b/sdk/go/google/cloudidentity/v1/inboundSamlSsoProfile.go index 2070aa00a2..e0bcd124b4 100644 --- a/sdk/go/google/cloudidentity/v1/inboundSamlSsoProfile.go +++ b/sdk/go/google/cloudidentity/v1/inboundSamlSsoProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an InboundSamlSsoProfile for a customer. @@ -113,6 +114,12 @@ func (i *InboundSamlSsoProfile) ToInboundSamlSsoProfileOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(InboundSamlSsoProfileOutput) } +func (i *InboundSamlSsoProfile) ToOutput(ctx context.Context) pulumix.Output[*InboundSamlSsoProfile] { + return pulumix.Output[*InboundSamlSsoProfile]{ + OutputState: i.ToInboundSamlSsoProfileOutputWithContext(ctx).OutputState, + } +} + type InboundSamlSsoProfileOutput struct{ *pulumi.OutputState } func (InboundSamlSsoProfileOutput) ElementType() reflect.Type { @@ -127,6 +134,12 @@ func (o InboundSamlSsoProfileOutput) ToInboundSamlSsoProfileOutputWithContext(ct return o } +func (o InboundSamlSsoProfileOutput) ToOutput(ctx context.Context) pulumix.Output[*InboundSamlSsoProfile] { + return pulumix.Output[*InboundSamlSsoProfile]{ + OutputState: o.OutputState, + } +} + // Immutable. The customer. For example: `customers/C0123abc`. func (o InboundSamlSsoProfileOutput) Customer() pulumi.StringOutput { return o.ApplyT(func(v *InboundSamlSsoProfile) pulumi.StringOutput { return v.Customer }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1/inboundSsoAssignment.go b/sdk/go/google/cloudidentity/v1/inboundSsoAssignment.go index d1d045b333..0ccf0d8bd7 100644 --- a/sdk/go/google/cloudidentity/v1/inboundSsoAssignment.go +++ b/sdk/go/google/cloudidentity/v1/inboundSsoAssignment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`. @@ -131,6 +132,12 @@ func (i *InboundSsoAssignment) ToInboundSsoAssignmentOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(InboundSsoAssignmentOutput) } +func (i *InboundSsoAssignment) ToOutput(ctx context.Context) pulumix.Output[*InboundSsoAssignment] { + return pulumix.Output[*InboundSsoAssignment]{ + OutputState: i.ToInboundSsoAssignmentOutputWithContext(ctx).OutputState, + } +} + type InboundSsoAssignmentOutput struct{ *pulumi.OutputState } func (InboundSsoAssignmentOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o InboundSsoAssignmentOutput) ToInboundSsoAssignmentOutputWithContext(ctx return o } +func (o InboundSsoAssignmentOutput) ToOutput(ctx context.Context) pulumix.Output[*InboundSsoAssignment] { + return pulumix.Output[*InboundSsoAssignment]{ + OutputState: o.OutputState, + } +} + // Immutable. The customer. For example: `customers/C0123abc`. func (o InboundSsoAssignmentOutput) Customer() pulumi.StringOutput { return o.ApplyT(func(v *InboundSsoAssignment) pulumi.StringOutput { return v.Customer }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1/membership.go b/sdk/go/google/cloudidentity/v1/membership.go index dc3e91c5f9..ce657cc9be 100644 --- a/sdk/go/google/cloudidentity/v1/membership.go +++ b/sdk/go/google/cloudidentity/v1/membership.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a `Membership`. @@ -123,6 +124,12 @@ func (i *Membership) ToMembershipOutputWithContext(ctx context.Context) Membersh return pulumi.ToOutputWithContext(ctx, i).(MembershipOutput) } +func (i *Membership) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: i.ToMembershipOutputWithContext(ctx).OutputState, + } +} + type MembershipOutput struct{ *pulumi.OutputState } func (MembershipOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o MembershipOutput) ToMembershipOutputWithContext(ctx context.Context) Mem return o } +func (o MembershipOutput) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: o.OutputState, + } +} + // The time when the `Membership` was created. func (o MembershipOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Membership) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1/pulumiEnums.go b/sdk/go/google/cloudidentity/v1/pulumiEnums.go index 52763c5f80..d41744587e 100644 --- a/sdk/go/google/cloudidentity/v1/pulumiEnums.go +++ b/sdk/go/google/cloudidentity/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource type for the Dynamic Group Query @@ -80,6 +81,12 @@ func (o DynamicGroupQueryResourceTypeOutput) ToDynamicGroupQueryResourceTypePtrO }).(DynamicGroupQueryResourceTypePtrOutput) } +func (o DynamicGroupQueryResourceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupQueryResourceType] { + return pulumix.Output[DynamicGroupQueryResourceType]{ + OutputState: o.OutputState, + } +} + func (o DynamicGroupQueryResourceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o DynamicGroupQueryResourceTypePtrOutput) ToDynamicGroupQueryResourceTypeP return o } +func (o DynamicGroupQueryResourceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DynamicGroupQueryResourceType] { + return pulumix.Output[*DynamicGroupQueryResourceType]{ + OutputState: o.OutputState, + } +} + func (o DynamicGroupQueryResourceTypePtrOutput) Elem() DynamicGroupQueryResourceTypeOutput { return o.ApplyT(func(v *DynamicGroupQueryResourceType) DynamicGroupQueryResourceType { if v != nil { @@ -177,6 +190,12 @@ func (in *dynamicGroupQueryResourceTypePtr) ToDynamicGroupQueryResourceTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(DynamicGroupQueryResourceTypePtrOutput) } +func (in *dynamicGroupQueryResourceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DynamicGroupQueryResourceType] { + return pulumix.Output[*DynamicGroupQueryResourceType]{ + OutputState: in.ToDynamicGroupQueryResourceTypePtrOutputWithContext(ctx).OutputState, + } +} + // Inbound SSO behavior. type InboundSsoAssignmentSsoMode string @@ -251,6 +270,12 @@ func (o InboundSsoAssignmentSsoModeOutput) ToInboundSsoAssignmentSsoModePtrOutpu }).(InboundSsoAssignmentSsoModePtrOutput) } +func (o InboundSsoAssignmentSsoModeOutput) ToOutput(ctx context.Context) pulumix.Output[InboundSsoAssignmentSsoMode] { + return pulumix.Output[InboundSsoAssignmentSsoMode]{ + OutputState: o.OutputState, + } +} + func (o InboundSsoAssignmentSsoModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o InboundSsoAssignmentSsoModePtrOutput) ToInboundSsoAssignmentSsoModePtrOu return o } +func (o InboundSsoAssignmentSsoModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InboundSsoAssignmentSsoMode] { + return pulumix.Output[*InboundSsoAssignmentSsoMode]{ + OutputState: o.OutputState, + } +} + func (o InboundSsoAssignmentSsoModePtrOutput) Elem() InboundSsoAssignmentSsoModeOutput { return o.ApplyT(func(v *InboundSsoAssignmentSsoMode) InboundSsoAssignmentSsoMode { if v != nil { @@ -348,6 +379,12 @@ func (in *inboundSsoAssignmentSsoModePtr) ToInboundSsoAssignmentSsoModePtrOutput return pulumi.ToOutputWithContext(ctx, in).(InboundSsoAssignmentSsoModePtrOutput) } +func (in *inboundSsoAssignmentSsoModePtr) ToOutput(ctx context.Context) pulumix.Output[*InboundSsoAssignmentSsoMode] { + return pulumix.Output[*InboundSsoAssignmentSsoMode]{ + OutputState: in.ToInboundSsoAssignmentSsoModePtrOutputWithContext(ctx).OutputState, + } +} + // When to redirect sign-ins to the IdP. type SignInBehaviorRedirectCondition string @@ -418,6 +455,12 @@ func (o SignInBehaviorRedirectConditionOutput) ToSignInBehaviorRedirectCondition }).(SignInBehaviorRedirectConditionPtrOutput) } +func (o SignInBehaviorRedirectConditionOutput) ToOutput(ctx context.Context) pulumix.Output[SignInBehaviorRedirectCondition] { + return pulumix.Output[SignInBehaviorRedirectCondition]{ + OutputState: o.OutputState, + } +} + func (o SignInBehaviorRedirectConditionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -453,6 +496,12 @@ func (o SignInBehaviorRedirectConditionPtrOutput) ToSignInBehaviorRedirectCondit return o } +func (o SignInBehaviorRedirectConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SignInBehaviorRedirectCondition] { + return pulumix.Output[*SignInBehaviorRedirectCondition]{ + OutputState: o.OutputState, + } +} + func (o SignInBehaviorRedirectConditionPtrOutput) Elem() SignInBehaviorRedirectConditionOutput { return o.ApplyT(func(v *SignInBehaviorRedirectCondition) SignInBehaviorRedirectCondition { if v != nil { @@ -515,6 +564,12 @@ func (in *signInBehaviorRedirectConditionPtr) ToSignInBehaviorRedirectConditionP return pulumi.ToOutputWithContext(ctx, in).(SignInBehaviorRedirectConditionPtrOutput) } +func (in *signInBehaviorRedirectConditionPtr) ToOutput(ctx context.Context) pulumix.Output[*SignInBehaviorRedirectCondition] { + return pulumix.Output[*SignInBehaviorRedirectCondition]{ + OutputState: in.ToSignInBehaviorRedirectConditionPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*DynamicGroupQueryResourceTypeInput)(nil)).Elem(), DynamicGroupQueryResourceType("RESOURCE_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*DynamicGroupQueryResourceTypePtrInput)(nil)).Elem(), DynamicGroupQueryResourceType("RESOURCE_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudidentity/v1/pulumiTypes.go b/sdk/go/google/cloudidentity/v1/pulumiTypes.go index 028f3f4e90..6e610643e2 100644 --- a/sdk/go/google/cloudidentity/v1/pulumiTypes.go +++ b/sdk/go/google/cloudidentity/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i DynamicGroupMetadataArgs) ToDynamicGroupMetadataOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DynamicGroupMetadataOutput) } +func (i DynamicGroupMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupMetadata] { + return pulumix.Output[DynamicGroupMetadata]{ + OutputState: i.ToDynamicGroupMetadataOutputWithContext(ctx).OutputState, + } +} + func (i DynamicGroupMetadataArgs) ToDynamicGroupMetadataPtrOutput() DynamicGroupMetadataPtrOutput { return i.ToDynamicGroupMetadataPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *dynamicGroupMetadataPtrType) ToDynamicGroupMetadataPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DynamicGroupMetadataPtrOutput) } +func (i *dynamicGroupMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*DynamicGroupMetadata] { + return pulumix.Output[*DynamicGroupMetadata]{ + OutputState: i.ToDynamicGroupMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Dynamic group metadata like queries and status. type DynamicGroupMetadataOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o DynamicGroupMetadataOutput) ToDynamicGroupMetadataPtrOutputWithContext(c }).(DynamicGroupMetadataPtrOutput) } +func (o DynamicGroupMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupMetadata] { + return pulumix.Output[DynamicGroupMetadata]{ + OutputState: o.OutputState, + } +} + // Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups. func (o DynamicGroupMetadataOutput) Queries() DynamicGroupQueryArrayOutput { return o.ApplyT(func(v DynamicGroupMetadata) []DynamicGroupQuery { return v.Queries }).(DynamicGroupQueryArrayOutput) @@ -133,6 +152,12 @@ func (o DynamicGroupMetadataPtrOutput) ToDynamicGroupMetadataPtrOutputWithContex return o } +func (o DynamicGroupMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DynamicGroupMetadata] { + return pulumix.Output[*DynamicGroupMetadata]{ + OutputState: o.OutputState, + } +} + func (o DynamicGroupMetadataPtrOutput) Elem() DynamicGroupMetadataOutput { return o.ApplyT(func(v *DynamicGroupMetadata) DynamicGroupMetadata { if v != nil { @@ -176,6 +201,12 @@ func (o DynamicGroupMetadataResponseOutput) ToDynamicGroupMetadataResponseOutput return o } +func (o DynamicGroupMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupMetadataResponse] { + return pulumix.Output[DynamicGroupMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups. func (o DynamicGroupMetadataResponseOutput) Queries() DynamicGroupQueryResponseArrayOutput { return o.ApplyT(func(v DynamicGroupMetadataResponse) []DynamicGroupQueryResponse { return v.Queries }).(DynamicGroupQueryResponseArrayOutput) @@ -225,6 +256,12 @@ func (i DynamicGroupQueryArgs) ToDynamicGroupQueryOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DynamicGroupQueryOutput) } +func (i DynamicGroupQueryArgs) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupQuery] { + return pulumix.Output[DynamicGroupQuery]{ + OutputState: i.ToDynamicGroupQueryOutputWithContext(ctx).OutputState, + } +} + // DynamicGroupQueryArrayInput is an input type that accepts DynamicGroupQueryArray and DynamicGroupQueryArrayOutput values. // You can construct a concrete instance of `DynamicGroupQueryArrayInput` via: // @@ -250,6 +287,12 @@ func (i DynamicGroupQueryArray) ToDynamicGroupQueryArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DynamicGroupQueryArrayOutput) } +func (i DynamicGroupQueryArray) ToOutput(ctx context.Context) pulumix.Output[[]DynamicGroupQuery] { + return pulumix.Output[[]DynamicGroupQuery]{ + OutputState: i.ToDynamicGroupQueryArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a query on a resource. type DynamicGroupQueryOutput struct{ *pulumi.OutputState } @@ -265,6 +308,12 @@ func (o DynamicGroupQueryOutput) ToDynamicGroupQueryOutputWithContext(ctx contex return o } +func (o DynamicGroupQueryOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupQuery] { + return pulumix.Output[DynamicGroupQuery]{ + OutputState: o.OutputState, + } +} + // Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department=='engineering')` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')` All users with any variation of the name John Doe (case-insensitive queries add `equalsIgnoreCase()` to the value being queried). `user.name.value.equalsIgnoreCase('jOhn DoE')` func (o DynamicGroupQueryOutput) Query() pulumi.StringPtrOutput { return o.ApplyT(func(v DynamicGroupQuery) *string { return v.Query }).(pulumi.StringPtrOutput) @@ -289,6 +338,12 @@ func (o DynamicGroupQueryArrayOutput) ToDynamicGroupQueryArrayOutputWithContext( return o } +func (o DynamicGroupQueryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DynamicGroupQuery] { + return pulumix.Output[[]DynamicGroupQuery]{ + OutputState: o.OutputState, + } +} + func (o DynamicGroupQueryArrayOutput) Index(i pulumi.IntInput) DynamicGroupQueryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DynamicGroupQuery { return vs[0].([]DynamicGroupQuery)[vs[1].(int)] @@ -318,6 +373,12 @@ func (o DynamicGroupQueryResponseOutput) ToDynamicGroupQueryResponseOutputWithCo return o } +func (o DynamicGroupQueryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupQueryResponse] { + return pulumix.Output[DynamicGroupQueryResponse]{ + OutputState: o.OutputState, + } +} + // Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department=='engineering')` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')` All users with any variation of the name John Doe (case-insensitive queries add `equalsIgnoreCase()` to the value being queried). `user.name.value.equalsIgnoreCase('jOhn DoE')` func (o DynamicGroupQueryResponseOutput) Query() pulumi.StringOutput { return o.ApplyT(func(v DynamicGroupQueryResponse) string { return v.Query }).(pulumi.StringOutput) @@ -342,6 +403,12 @@ func (o DynamicGroupQueryResponseArrayOutput) ToDynamicGroupQueryResponseArrayOu return o } +func (o DynamicGroupQueryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DynamicGroupQueryResponse] { + return pulumix.Output[[]DynamicGroupQueryResponse]{ + OutputState: o.OutputState, + } +} + func (o DynamicGroupQueryResponseArrayOutput) Index(i pulumi.IntInput) DynamicGroupQueryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DynamicGroupQueryResponse { return vs[0].([]DynamicGroupQueryResponse)[vs[1].(int)] @@ -371,6 +438,12 @@ func (o DynamicGroupStatusResponseOutput) ToDynamicGroupStatusResponseOutputWith return o } +func (o DynamicGroupStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupStatusResponse] { + return pulumix.Output[DynamicGroupStatusResponse]{ + OutputState: o.OutputState, + } +} + // Status of the dynamic group. func (o DynamicGroupStatusResponseOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v DynamicGroupStatusResponse) string { return v.Status }).(pulumi.StringOutput) @@ -420,6 +493,12 @@ func (i EntityKeyArgs) ToEntityKeyOutputWithContext(ctx context.Context) EntityK return pulumi.ToOutputWithContext(ctx, i).(EntityKeyOutput) } +func (i EntityKeyArgs) ToOutput(ctx context.Context) pulumix.Output[EntityKey] { + return pulumix.Output[EntityKey]{ + OutputState: i.ToEntityKeyOutputWithContext(ctx).OutputState, + } +} + // A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s. type EntityKeyOutput struct{ *pulumi.OutputState } @@ -435,6 +514,12 @@ func (o EntityKeyOutput) ToEntityKeyOutputWithContext(ctx context.Context) Entit return o } +func (o EntityKeyOutput) ToOutput(ctx context.Context) pulumix.Output[EntityKey] { + return pulumix.Output[EntityKey]{ + OutputState: o.OutputState, + } +} + // The ID of the entity. For Google-managed entities, the `id` should be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source's requirements. Must be unique within a `namespace`. func (o EntityKeyOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v EntityKey) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -466,6 +551,12 @@ func (o EntityKeyResponseOutput) ToEntityKeyResponseOutputWithContext(ctx contex return o } +func (o EntityKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EntityKeyResponse] { + return pulumix.Output[EntityKeyResponse]{ + OutputState: o.OutputState, + } +} + // The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source}`. func (o EntityKeyResponseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v EntityKeyResponse) string { return v.Namespace }).(pulumi.StringOutput) @@ -485,6 +576,12 @@ func (o EntityKeyResponseArrayOutput) ToEntityKeyResponseArrayOutputWithContext( return o } +func (o EntityKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EntityKeyResponse] { + return pulumix.Output[[]EntityKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o EntityKeyResponseArrayOutput) Index(i pulumi.IntInput) EntityKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EntityKeyResponse { return vs[0].([]EntityKeyResponse)[vs[1].(int)] @@ -526,6 +623,12 @@ func (i ExpiryDetailArgs) ToExpiryDetailOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(ExpiryDetailOutput) } +func (i ExpiryDetailArgs) ToOutput(ctx context.Context) pulumix.Output[ExpiryDetail] { + return pulumix.Output[ExpiryDetail]{ + OutputState: i.ToExpiryDetailOutputWithContext(ctx).OutputState, + } +} + func (i ExpiryDetailArgs) ToExpiryDetailPtrOutput() ExpiryDetailPtrOutput { return i.ToExpiryDetailPtrOutputWithContext(context.Background()) } @@ -567,6 +670,12 @@ func (i *expiryDetailPtrType) ToExpiryDetailPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ExpiryDetailPtrOutput) } +func (i *expiryDetailPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExpiryDetail] { + return pulumix.Output[*ExpiryDetail]{ + OutputState: i.ToExpiryDetailPtrOutputWithContext(ctx).OutputState, + } +} + // The `MembershipRole` expiry details. type ExpiryDetailOutput struct{ *pulumi.OutputState } @@ -592,6 +701,12 @@ func (o ExpiryDetailOutput) ToExpiryDetailPtrOutputWithContext(ctx context.Conte }).(ExpiryDetailPtrOutput) } +func (o ExpiryDetailOutput) ToOutput(ctx context.Context) pulumix.Output[ExpiryDetail] { + return pulumix.Output[ExpiryDetail]{ + OutputState: o.OutputState, + } +} + // The time at which the `MembershipRole` will expire. func (o ExpiryDetailOutput) ExpireTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ExpiryDetail) *string { return v.ExpireTime }).(pulumi.StringPtrOutput) @@ -611,6 +726,12 @@ func (o ExpiryDetailPtrOutput) ToExpiryDetailPtrOutputWithContext(ctx context.Co return o } +func (o ExpiryDetailPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExpiryDetail] { + return pulumix.Output[*ExpiryDetail]{ + OutputState: o.OutputState, + } +} + func (o ExpiryDetailPtrOutput) Elem() ExpiryDetailOutput { return o.ApplyT(func(v *ExpiryDetail) ExpiryDetail { if v != nil { @@ -652,6 +773,12 @@ func (o ExpiryDetailResponseOutput) ToExpiryDetailResponseOutputWithContext(ctx return o } +func (o ExpiryDetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExpiryDetailResponse] { + return pulumix.Output[ExpiryDetailResponse]{ + OutputState: o.OutputState, + } +} + // The time at which the `MembershipRole` will expire. func (o ExpiryDetailResponseOutput) ExpireTime() pulumi.StringOutput { return o.ApplyT(func(v ExpiryDetailResponse) string { return v.ExpireTime }).(pulumi.StringOutput) @@ -684,6 +811,12 @@ func (o GoogleAppsCloudidentityDevicesV1AndroidAttributesResponseOutput) ToGoogl return o } +func (o GoogleAppsCloudidentityDevicesV1AndroidAttributesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse] { + return pulumix.Output[GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse]{ + OutputState: o.OutputState, + } +} + // Whether applications from unknown sources can be installed on device. func (o GoogleAppsCloudidentityDevicesV1AndroidAttributesResponseOutput) EnabledUnknownSources() pulumi.BoolOutput { return o.ApplyT(func(v GoogleAppsCloudidentityDevicesV1AndroidAttributesResponse) bool { return v.EnabledUnknownSources }).(pulumi.BoolOutput) @@ -747,6 +880,12 @@ func (i MembershipRoleArgs) ToMembershipRoleOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MembershipRoleOutput) } +func (i MembershipRoleArgs) ToOutput(ctx context.Context) pulumix.Output[MembershipRole] { + return pulumix.Output[MembershipRole]{ + OutputState: i.ToMembershipRoleOutputWithContext(ctx).OutputState, + } +} + // MembershipRoleArrayInput is an input type that accepts MembershipRoleArray and MembershipRoleArrayOutput values. // You can construct a concrete instance of `MembershipRoleArrayInput` via: // @@ -772,6 +911,12 @@ func (i MembershipRoleArray) ToMembershipRoleArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MembershipRoleArrayOutput) } +func (i MembershipRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]MembershipRole] { + return pulumix.Output[[]MembershipRole]{ + OutputState: i.ToMembershipRoleArrayOutputWithContext(ctx).OutputState, + } +} + // A membership role within the Cloud Identity Groups API. A `MembershipRole` defines the privileges granted to a `Membership`. type MembershipRoleOutput struct{ *pulumi.OutputState } @@ -787,6 +932,12 @@ func (o MembershipRoleOutput) ToMembershipRoleOutputWithContext(ctx context.Cont return o } +func (o MembershipRoleOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipRole] { + return pulumix.Output[MembershipRole]{ + OutputState: o.OutputState, + } +} + // The expiry details of the `MembershipRole`. Expiry details are only supported for `MEMBER` `MembershipRoles`. May be set if `name` is `MEMBER`. Must not be set if `name` is any other value. func (o MembershipRoleOutput) ExpiryDetail() ExpiryDetailPtrOutput { return o.ApplyT(func(v MembershipRole) *ExpiryDetail { return v.ExpiryDetail }).(ExpiryDetailPtrOutput) @@ -816,6 +967,12 @@ func (o MembershipRoleArrayOutput) ToMembershipRoleArrayOutputWithContext(ctx co return o } +func (o MembershipRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MembershipRole] { + return pulumix.Output[[]MembershipRole]{ + OutputState: o.OutputState, + } +} + func (o MembershipRoleArrayOutput) Index(i pulumi.IntInput) MembershipRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MembershipRole { return vs[0].([]MembershipRole)[vs[1].(int)] @@ -847,6 +1004,12 @@ func (o MembershipRoleResponseOutput) ToMembershipRoleResponseOutputWithContext( return o } +func (o MembershipRoleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipRoleResponse] { + return pulumix.Output[MembershipRoleResponse]{ + OutputState: o.OutputState, + } +} + // The expiry details of the `MembershipRole`. Expiry details are only supported for `MEMBER` `MembershipRoles`. May be set if `name` is `MEMBER`. Must not be set if `name` is any other value. func (o MembershipRoleResponseOutput) ExpiryDetail() ExpiryDetailResponseOutput { return o.ApplyT(func(v MembershipRoleResponse) ExpiryDetailResponse { return v.ExpiryDetail }).(ExpiryDetailResponseOutput) @@ -876,6 +1039,12 @@ func (o MembershipRoleResponseArrayOutput) ToMembershipRoleResponseArrayOutputWi return o } +func (o MembershipRoleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MembershipRoleResponse] { + return pulumix.Output[[]MembershipRoleResponse]{ + OutputState: o.OutputState, + } +} + func (o MembershipRoleResponseArrayOutput) Index(i pulumi.IntInput) MembershipRoleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MembershipRoleResponse { return vs[0].([]MembershipRoleResponse)[vs[1].(int)] @@ -913,6 +1082,12 @@ func (i MembershipRoleRestrictionEvaluationArgs) ToMembershipRoleRestrictionEval return pulumi.ToOutputWithContext(ctx, i).(MembershipRoleRestrictionEvaluationOutput) } +func (i MembershipRoleRestrictionEvaluationArgs) ToOutput(ctx context.Context) pulumix.Output[MembershipRoleRestrictionEvaluation] { + return pulumix.Output[MembershipRoleRestrictionEvaluation]{ + OutputState: i.ToMembershipRoleRestrictionEvaluationOutputWithContext(ctx).OutputState, + } +} + func (i MembershipRoleRestrictionEvaluationArgs) ToMembershipRoleRestrictionEvaluationPtrOutput() MembershipRoleRestrictionEvaluationPtrOutput { return i.ToMembershipRoleRestrictionEvaluationPtrOutputWithContext(context.Background()) } @@ -954,6 +1129,12 @@ func (i *membershipRoleRestrictionEvaluationPtrType) ToMembershipRoleRestriction return pulumi.ToOutputWithContext(ctx, i).(MembershipRoleRestrictionEvaluationPtrOutput) } +func (i *membershipRoleRestrictionEvaluationPtrType) ToOutput(ctx context.Context) pulumix.Output[*MembershipRoleRestrictionEvaluation] { + return pulumix.Output[*MembershipRoleRestrictionEvaluation]{ + OutputState: i.ToMembershipRoleRestrictionEvaluationPtrOutputWithContext(ctx).OutputState, + } +} + // The evaluated state of this restriction. type MembershipRoleRestrictionEvaluationOutput struct{ *pulumi.OutputState } @@ -979,6 +1160,12 @@ func (o MembershipRoleRestrictionEvaluationOutput) ToMembershipRoleRestrictionEv }).(MembershipRoleRestrictionEvaluationPtrOutput) } +func (o MembershipRoleRestrictionEvaluationOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipRoleRestrictionEvaluation] { + return pulumix.Output[MembershipRoleRestrictionEvaluation]{ + OutputState: o.OutputState, + } +} + type MembershipRoleRestrictionEvaluationPtrOutput struct{ *pulumi.OutputState } func (MembershipRoleRestrictionEvaluationPtrOutput) ElementType() reflect.Type { @@ -993,6 +1180,12 @@ func (o MembershipRoleRestrictionEvaluationPtrOutput) ToMembershipRoleRestrictio return o } +func (o MembershipRoleRestrictionEvaluationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipRoleRestrictionEvaluation] { + return pulumix.Output[*MembershipRoleRestrictionEvaluation]{ + OutputState: o.OutputState, + } +} + func (o MembershipRoleRestrictionEvaluationPtrOutput) Elem() MembershipRoleRestrictionEvaluationOutput { return o.ApplyT(func(v *MembershipRoleRestrictionEvaluation) MembershipRoleRestrictionEvaluation { if v != nil { @@ -1024,6 +1217,12 @@ func (o MembershipRoleRestrictionEvaluationResponseOutput) ToMembershipRoleRestr return o } +func (o MembershipRoleRestrictionEvaluationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipRoleRestrictionEvaluationResponse] { + return pulumix.Output[MembershipRoleRestrictionEvaluationResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the restriction func (o MembershipRoleRestrictionEvaluationResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v MembershipRoleRestrictionEvaluationResponse) string { return v.State }).(pulumi.StringOutput) @@ -1064,6 +1263,12 @@ func (i RestrictionEvaluationsArgs) ToRestrictionEvaluationsOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(RestrictionEvaluationsOutput) } +func (i RestrictionEvaluationsArgs) ToOutput(ctx context.Context) pulumix.Output[RestrictionEvaluations] { + return pulumix.Output[RestrictionEvaluations]{ + OutputState: i.ToRestrictionEvaluationsOutputWithContext(ctx).OutputState, + } +} + func (i RestrictionEvaluationsArgs) ToRestrictionEvaluationsPtrOutput() RestrictionEvaluationsPtrOutput { return i.ToRestrictionEvaluationsPtrOutputWithContext(context.Background()) } @@ -1105,6 +1310,12 @@ func (i *restrictionEvaluationsPtrType) ToRestrictionEvaluationsPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RestrictionEvaluationsPtrOutput) } +func (i *restrictionEvaluationsPtrType) ToOutput(ctx context.Context) pulumix.Output[*RestrictionEvaluations] { + return pulumix.Output[*RestrictionEvaluations]{ + OutputState: i.ToRestrictionEvaluationsPtrOutputWithContext(ctx).OutputState, + } +} + // Evaluations of restrictions applied to parent group on this membership. type RestrictionEvaluationsOutput struct{ *pulumi.OutputState } @@ -1130,6 +1341,12 @@ func (o RestrictionEvaluationsOutput) ToRestrictionEvaluationsPtrOutputWithConte }).(RestrictionEvaluationsPtrOutput) } +func (o RestrictionEvaluationsOutput) ToOutput(ctx context.Context) pulumix.Output[RestrictionEvaluations] { + return pulumix.Output[RestrictionEvaluations]{ + OutputState: o.OutputState, + } +} + // Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation. func (o RestrictionEvaluationsOutput) MemberRestrictionEvaluation() MembershipRoleRestrictionEvaluationPtrOutput { return o.ApplyT(func(v RestrictionEvaluations) *MembershipRoleRestrictionEvaluation { @@ -1151,6 +1368,12 @@ func (o RestrictionEvaluationsPtrOutput) ToRestrictionEvaluationsPtrOutputWithCo return o } +func (o RestrictionEvaluationsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestrictionEvaluations] { + return pulumix.Output[*RestrictionEvaluations]{ + OutputState: o.OutputState, + } +} + func (o RestrictionEvaluationsPtrOutput) Elem() RestrictionEvaluationsOutput { return o.ApplyT(func(v *RestrictionEvaluations) RestrictionEvaluations { if v != nil { @@ -1192,6 +1415,12 @@ func (o RestrictionEvaluationsResponseOutput) ToRestrictionEvaluationsResponseOu return o } +func (o RestrictionEvaluationsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RestrictionEvaluationsResponse] { + return pulumix.Output[RestrictionEvaluationsResponse]{ + OutputState: o.OutputState, + } +} + // Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation. func (o RestrictionEvaluationsResponseOutput) MemberRestrictionEvaluation() MembershipRoleRestrictionEvaluationResponseOutput { return o.ApplyT(func(v RestrictionEvaluationsResponse) MembershipRoleRestrictionEvaluationResponse { @@ -1246,6 +1475,12 @@ func (i SamlIdpConfigArgs) ToSamlIdpConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SamlIdpConfigOutput) } +func (i SamlIdpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SamlIdpConfig] { + return pulumix.Output[SamlIdpConfig]{ + OutputState: i.ToSamlIdpConfigOutputWithContext(ctx).OutputState, + } +} + func (i SamlIdpConfigArgs) ToSamlIdpConfigPtrOutput() SamlIdpConfigPtrOutput { return i.ToSamlIdpConfigPtrOutputWithContext(context.Background()) } @@ -1287,6 +1522,12 @@ func (i *samlIdpConfigPtrType) ToSamlIdpConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SamlIdpConfigPtrOutput) } +func (i *samlIdpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SamlIdpConfig] { + return pulumix.Output[*SamlIdpConfig]{ + OutputState: i.ToSamlIdpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SAML IDP (identity provider) configuration. type SamlIdpConfigOutput struct{ *pulumi.OutputState } @@ -1312,6 +1553,12 @@ func (o SamlIdpConfigOutput) ToSamlIdpConfigPtrOutputWithContext(ctx context.Con }).(SamlIdpConfigPtrOutput) } +func (o SamlIdpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SamlIdpConfig] { + return pulumix.Output[SamlIdpConfig]{ + OutputState: o.OutputState, + } +} + // The **Change Password URL** of the identity provider. Users will be sent to this URL when changing their passwords at `myaccount.google.com`. This takes precedence over the change password URL configured at customer-level. Must use `HTTPS`. func (o SamlIdpConfigOutput) ChangePasswordUri() pulumi.StringPtrOutput { return o.ApplyT(func(v SamlIdpConfig) *string { return v.ChangePasswordUri }).(pulumi.StringPtrOutput) @@ -1346,6 +1593,12 @@ func (o SamlIdpConfigPtrOutput) ToSamlIdpConfigPtrOutputWithContext(ctx context. return o } +func (o SamlIdpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SamlIdpConfig] { + return pulumix.Output[*SamlIdpConfig]{ + OutputState: o.OutputState, + } +} + func (o SamlIdpConfigPtrOutput) Elem() SamlIdpConfigOutput { return o.ApplyT(func(v *SamlIdpConfig) SamlIdpConfig { if v != nil { @@ -1423,6 +1676,12 @@ func (o SamlIdpConfigResponseOutput) ToSamlIdpConfigResponseOutputWithContext(ct return o } +func (o SamlIdpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SamlIdpConfigResponse] { + return pulumix.Output[SamlIdpConfigResponse]{ + OutputState: o.OutputState, + } +} + // The **Change Password URL** of the identity provider. Users will be sent to this URL when changing their passwords at `myaccount.google.com`. This takes precedence over the change password URL configured at customer-level. Must use `HTTPS`. func (o SamlIdpConfigResponseOutput) ChangePasswordUri() pulumi.StringOutput { return o.ApplyT(func(v SamlIdpConfigResponse) string { return v.ChangePasswordUri }).(pulumi.StringOutput) @@ -1474,6 +1733,12 @@ func (i SamlSpConfigArgs) ToSamlSpConfigOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SamlSpConfigOutput) } +func (i SamlSpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SamlSpConfig] { + return pulumix.Output[SamlSpConfig]{ + OutputState: i.ToSamlSpConfigOutputWithContext(ctx).OutputState, + } +} + func (i SamlSpConfigArgs) ToSamlSpConfigPtrOutput() SamlSpConfigPtrOutput { return i.ToSamlSpConfigPtrOutputWithContext(context.Background()) } @@ -1515,6 +1780,12 @@ func (i *samlSpConfigPtrType) ToSamlSpConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SamlSpConfigPtrOutput) } +func (i *samlSpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SamlSpConfig] { + return pulumix.Output[*SamlSpConfig]{ + OutputState: i.ToSamlSpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SAML SP (service provider) configuration. type SamlSpConfigOutput struct{ *pulumi.OutputState } @@ -1540,6 +1811,12 @@ func (o SamlSpConfigOutput) ToSamlSpConfigPtrOutputWithContext(ctx context.Conte }).(SamlSpConfigPtrOutput) } +func (o SamlSpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SamlSpConfig] { + return pulumix.Output[SamlSpConfig]{ + OutputState: o.OutputState, + } +} + type SamlSpConfigPtrOutput struct{ *pulumi.OutputState } func (SamlSpConfigPtrOutput) ElementType() reflect.Type { @@ -1554,6 +1831,12 @@ func (o SamlSpConfigPtrOutput) ToSamlSpConfigPtrOutputWithContext(ctx context.Co return o } +func (o SamlSpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SamlSpConfig] { + return pulumix.Output[*SamlSpConfig]{ + OutputState: o.OutputState, + } +} + func (o SamlSpConfigPtrOutput) Elem() SamlSpConfigOutput { return o.ApplyT(func(v *SamlSpConfig) SamlSpConfig { if v != nil { @@ -1587,6 +1870,12 @@ func (o SamlSpConfigResponseOutput) ToSamlSpConfigResponseOutputWithContext(ctx return o } +func (o SamlSpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SamlSpConfigResponse] { + return pulumix.Output[SamlSpConfigResponse]{ + OutputState: o.OutputState, + } +} + // The SAML **Assertion Consumer Service (ACS) URL** to be used for the IDP-initiated login. Assumed to accept response messages via the `HTTP-POST` binding. func (o SamlSpConfigResponseOutput) AssertionConsumerServiceUri() pulumi.StringOutput { return o.ApplyT(func(v SamlSpConfigResponse) string { return v.AssertionConsumerServiceUri }).(pulumi.StringOutput) @@ -1632,6 +1921,12 @@ func (i SamlSsoInfoArgs) ToSamlSsoInfoOutputWithContext(ctx context.Context) Sam return pulumi.ToOutputWithContext(ctx, i).(SamlSsoInfoOutput) } +func (i SamlSsoInfoArgs) ToOutput(ctx context.Context) pulumix.Output[SamlSsoInfo] { + return pulumix.Output[SamlSsoInfo]{ + OutputState: i.ToSamlSsoInfoOutputWithContext(ctx).OutputState, + } +} + func (i SamlSsoInfoArgs) ToSamlSsoInfoPtrOutput() SamlSsoInfoPtrOutput { return i.ToSamlSsoInfoPtrOutputWithContext(context.Background()) } @@ -1673,6 +1968,12 @@ func (i *samlSsoInfoPtrType) ToSamlSsoInfoPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SamlSsoInfoPtrOutput) } +func (i *samlSsoInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*SamlSsoInfo] { + return pulumix.Output[*SamlSsoInfo]{ + OutputState: i.ToSamlSsoInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Details that are applicable when `sso_mode` == `SAML_SSO`. type SamlSsoInfoOutput struct{ *pulumi.OutputState } @@ -1698,6 +1999,12 @@ func (o SamlSsoInfoOutput) ToSamlSsoInfoPtrOutputWithContext(ctx context.Context }).(SamlSsoInfoPtrOutput) } +func (o SamlSsoInfoOutput) ToOutput(ctx context.Context) pulumix.Output[SamlSsoInfo] { + return pulumix.Output[SamlSsoInfo]{ + OutputState: o.OutputState, + } +} + // Name of the `InboundSamlSsoProfile` to use. Must be of the form `inboundSamlSsoProfiles/{inbound_saml_sso_profile}`. func (o SamlSsoInfoOutput) InboundSamlSsoProfile() pulumi.StringOutput { return o.ApplyT(func(v SamlSsoInfo) string { return v.InboundSamlSsoProfile }).(pulumi.StringOutput) @@ -1717,6 +2024,12 @@ func (o SamlSsoInfoPtrOutput) ToSamlSsoInfoPtrOutputWithContext(ctx context.Cont return o } +func (o SamlSsoInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SamlSsoInfo] { + return pulumix.Output[*SamlSsoInfo]{ + OutputState: o.OutputState, + } +} + func (o SamlSsoInfoPtrOutput) Elem() SamlSsoInfoOutput { return o.ApplyT(func(v *SamlSsoInfo) SamlSsoInfo { if v != nil { @@ -1758,6 +2071,12 @@ func (o SamlSsoInfoResponseOutput) ToSamlSsoInfoResponseOutputWithContext(ctx co return o } +func (o SamlSsoInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SamlSsoInfoResponse] { + return pulumix.Output[SamlSsoInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of the `InboundSamlSsoProfile` to use. Must be of the form `inboundSamlSsoProfiles/{inbound_saml_sso_profile}`. func (o SamlSsoInfoResponseOutput) InboundSamlSsoProfile() pulumi.StringOutput { return o.ApplyT(func(v SamlSsoInfoResponse) string { return v.InboundSamlSsoProfile }).(pulumi.StringOutput) @@ -1798,6 +2117,12 @@ func (i SignInBehaviorArgs) ToSignInBehaviorOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SignInBehaviorOutput) } +func (i SignInBehaviorArgs) ToOutput(ctx context.Context) pulumix.Output[SignInBehavior] { + return pulumix.Output[SignInBehavior]{ + OutputState: i.ToSignInBehaviorOutputWithContext(ctx).OutputState, + } +} + func (i SignInBehaviorArgs) ToSignInBehaviorPtrOutput() SignInBehaviorPtrOutput { return i.ToSignInBehaviorPtrOutputWithContext(context.Background()) } @@ -1839,6 +2164,12 @@ func (i *signInBehaviorPtrType) ToSignInBehaviorPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SignInBehaviorPtrOutput) } +func (i *signInBehaviorPtrType) ToOutput(ctx context.Context) pulumix.Output[*SignInBehavior] { + return pulumix.Output[*SignInBehavior]{ + OutputState: i.ToSignInBehaviorPtrOutputWithContext(ctx).OutputState, + } +} + // Controls sign-in behavior. type SignInBehaviorOutput struct{ *pulumi.OutputState } @@ -1864,6 +2195,12 @@ func (o SignInBehaviorOutput) ToSignInBehaviorPtrOutputWithContext(ctx context.C }).(SignInBehaviorPtrOutput) } +func (o SignInBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[SignInBehavior] { + return pulumix.Output[SignInBehavior]{ + OutputState: o.OutputState, + } +} + // When to redirect sign-ins to the IdP. func (o SignInBehaviorOutput) RedirectCondition() SignInBehaviorRedirectConditionPtrOutput { return o.ApplyT(func(v SignInBehavior) *SignInBehaviorRedirectCondition { return v.RedirectCondition }).(SignInBehaviorRedirectConditionPtrOutput) @@ -1883,6 +2220,12 @@ func (o SignInBehaviorPtrOutput) ToSignInBehaviorPtrOutputWithContext(ctx contex return o } +func (o SignInBehaviorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SignInBehavior] { + return pulumix.Output[*SignInBehavior]{ + OutputState: o.OutputState, + } +} + func (o SignInBehaviorPtrOutput) Elem() SignInBehaviorOutput { return o.ApplyT(func(v *SignInBehavior) SignInBehavior { if v != nil { @@ -1924,6 +2267,12 @@ func (o SignInBehaviorResponseOutput) ToSignInBehaviorResponseOutputWithContext( return o } +func (o SignInBehaviorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SignInBehaviorResponse] { + return pulumix.Output[SignInBehaviorResponse]{ + OutputState: o.OutputState, + } +} + // When to redirect sign-ins to the IdP. func (o SignInBehaviorResponseOutput) RedirectCondition() pulumi.StringOutput { return o.ApplyT(func(v SignInBehaviorResponse) string { return v.RedirectCondition }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/device.go b/sdk/go/google/cloudidentity/v1beta1/device.go index 0ddd8716c9..ba533f6ff2 100644 --- a/sdk/go/google/cloudidentity/v1beta1/device.go +++ b/sdk/go/google/cloudidentity/v1beta1/device.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a device. Only company-owned device may be created. **Note**: This method is available only to customers who have one of the following SKUs: Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity Premium @@ -183,6 +184,12 @@ func (i *Device) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput { return pulumi.ToOutputWithContext(ctx, i).(DeviceOutput) } +func (i *Device) ToOutput(ctx context.Context) pulumix.Output[*Device] { + return pulumix.Output[*Device]{ + OutputState: i.ToDeviceOutputWithContext(ctx).OutputState, + } +} + type DeviceOutput struct{ *pulumi.OutputState } func (DeviceOutput) ElementType() reflect.Type { @@ -197,6 +204,12 @@ func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutpu return o } +func (o DeviceOutput) ToOutput(ctx context.Context) pulumix.Output[*Device] { + return pulumix.Output[*Device]{ + OutputState: o.OutputState, + } +} + // Attributes specific to Android devices. func (o DeviceOutput) AndroidSpecificAttributes() AndroidAttributesResponseOutput { return o.ApplyT(func(v *Device) AndroidAttributesResponseOutput { return v.AndroidSpecificAttributes }).(AndroidAttributesResponseOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/getDevice.go b/sdk/go/google/cloudidentity/v1beta1/getDevice.go index 816832dcef..e8ed55361a 100644 --- a/sdk/go/google/cloudidentity/v1beta1/getDevice.go +++ b/sdk/go/google/cloudidentity/v1beta1/getDevice.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified device. @@ -130,6 +131,12 @@ func (o LookupDeviceResultOutput) ToLookupDeviceResultOutputWithContext(ctx cont return o } +func (o LookupDeviceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeviceResult] { + return pulumix.Output[LookupDeviceResult]{ + OutputState: o.OutputState, + } +} + // Attributes specific to Android devices. func (o LookupDeviceResultOutput) AndroidSpecificAttributes() AndroidAttributesResponseOutput { return o.ApplyT(func(v LookupDeviceResult) AndroidAttributesResponse { return v.AndroidSpecificAttributes }).(AndroidAttributesResponseOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/getGroup.go b/sdk/go/google/cloudidentity/v1beta1/getGroup.go index 2bdbacd668..1c8192e279 100644 --- a/sdk/go/google/cloudidentity/v1beta1/getGroup.go +++ b/sdk/go/google/cloudidentity/v1beta1/getGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a `Group`. @@ -86,6 +87,12 @@ func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx contex return o } +func (o LookupGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupResult] { + return pulumix.Output[LookupGroupResult]{ + OutputState: o.OutputState, + } +} + // Additional group keys associated with the Group. func (o LookupGroupResultOutput) AdditionalGroupKeys() EntityKeyResponseArrayOutput { return o.ApplyT(func(v LookupGroupResult) []EntityKeyResponse { return v.AdditionalGroupKeys }).(EntityKeyResponseArrayOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/getInboundSamlSsoProfile.go b/sdk/go/google/cloudidentity/v1beta1/getInboundSamlSsoProfile.go index b104f632a8..0d008765d5 100644 --- a/sdk/go/google/cloudidentity/v1beta1/getInboundSamlSsoProfile.go +++ b/sdk/go/google/cloudidentity/v1beta1/getInboundSamlSsoProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an InboundSamlSsoProfile. @@ -74,6 +75,12 @@ func (o LookupInboundSamlSsoProfileResultOutput) ToLookupInboundSamlSsoProfileRe return o } +func (o LookupInboundSamlSsoProfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInboundSamlSsoProfileResult] { + return pulumix.Output[LookupInboundSamlSsoProfileResult]{ + OutputState: o.OutputState, + } +} + // Immutable. The customer. For example: `customers/C0123abc`. func (o LookupInboundSamlSsoProfileResultOutput) Customer() pulumi.StringOutput { return o.ApplyT(func(v LookupInboundSamlSsoProfileResult) string { return v.Customer }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/getInboundSsoAssignment.go b/sdk/go/google/cloudidentity/v1beta1/getInboundSsoAssignment.go index 91a14512e8..91805a23b0 100644 --- a/sdk/go/google/cloudidentity/v1beta1/getInboundSsoAssignment.go +++ b/sdk/go/google/cloudidentity/v1beta1/getInboundSsoAssignment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an InboundSsoAssignment. @@ -80,6 +81,12 @@ func (o LookupInboundSsoAssignmentResultOutput) ToLookupInboundSsoAssignmentResu return o } +func (o LookupInboundSsoAssignmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInboundSsoAssignmentResult] { + return pulumix.Output[LookupInboundSsoAssignmentResult]{ + OutputState: o.OutputState, + } +} + // Immutable. The customer. For example: `customers/C0123abc`. func (o LookupInboundSsoAssignmentResultOutput) Customer() pulumi.StringOutput { return o.ApplyT(func(v LookupInboundSsoAssignmentResult) string { return v.Customer }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/getMembership.go b/sdk/go/google/cloudidentity/v1beta1/getMembership.go index 8252ca99df..e0dc11ec78 100644 --- a/sdk/go/google/cloudidentity/v1beta1/getMembership.go +++ b/sdk/go/google/cloudidentity/v1beta1/getMembership.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a `Membership`. @@ -82,6 +83,12 @@ func (o LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext( return o } +func (o LookupMembershipResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipResult] { + return pulumix.Output[LookupMembershipResult]{ + OutputState: o.OutputState, + } +} + // The time when the `Membership` was created. func (o LookupMembershipResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMembershipResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/group.go b/sdk/go/google/cloudidentity/v1beta1/group.go index 8727968d52..a49decb516 100644 --- a/sdk/go/google/cloudidentity/v1beta1/group.go +++ b/sdk/go/google/cloudidentity/v1beta1/group.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a `Group`. @@ -160,6 +161,12 @@ func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return pulumi.ToOutputWithContext(ctx, i).(GroupOutput) } +func (i *Group) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: i.ToGroupOutputWithContext(ctx).OutputState, + } +} + type GroupOutput struct{ *pulumi.OutputState } func (GroupOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return o } +func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: o.OutputState, + } +} + // Additional group keys associated with the Group. func (o GroupOutput) AdditionalGroupKeys() EntityKeyResponseArrayOutput { return o.ApplyT(func(v *Group) EntityKeyResponseArrayOutput { return v.AdditionalGroupKeys }).(EntityKeyResponseArrayOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/inboundSamlSsoProfile.go b/sdk/go/google/cloudidentity/v1beta1/inboundSamlSsoProfile.go index 068ef1cc87..07160dd02a 100644 --- a/sdk/go/google/cloudidentity/v1beta1/inboundSamlSsoProfile.go +++ b/sdk/go/google/cloudidentity/v1beta1/inboundSamlSsoProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an InboundSamlSsoProfile for a customer. @@ -113,6 +114,12 @@ func (i *InboundSamlSsoProfile) ToInboundSamlSsoProfileOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(InboundSamlSsoProfileOutput) } +func (i *InboundSamlSsoProfile) ToOutput(ctx context.Context) pulumix.Output[*InboundSamlSsoProfile] { + return pulumix.Output[*InboundSamlSsoProfile]{ + OutputState: i.ToInboundSamlSsoProfileOutputWithContext(ctx).OutputState, + } +} + type InboundSamlSsoProfileOutput struct{ *pulumi.OutputState } func (InboundSamlSsoProfileOutput) ElementType() reflect.Type { @@ -127,6 +134,12 @@ func (o InboundSamlSsoProfileOutput) ToInboundSamlSsoProfileOutputWithContext(ct return o } +func (o InboundSamlSsoProfileOutput) ToOutput(ctx context.Context) pulumix.Output[*InboundSamlSsoProfile] { + return pulumix.Output[*InboundSamlSsoProfile]{ + OutputState: o.OutputState, + } +} + // Immutable. The customer. For example: `customers/C0123abc`. func (o InboundSamlSsoProfileOutput) Customer() pulumi.StringOutput { return o.ApplyT(func(v *InboundSamlSsoProfile) pulumi.StringOutput { return v.Customer }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/inboundSsoAssignment.go b/sdk/go/google/cloudidentity/v1beta1/inboundSsoAssignment.go index 18959bbfc8..c5316094aa 100644 --- a/sdk/go/google/cloudidentity/v1beta1/inboundSsoAssignment.go +++ b/sdk/go/google/cloudidentity/v1beta1/inboundSsoAssignment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an InboundSsoAssignment for users and devices in a `Customer` under a given `Group` or `OrgUnit`. @@ -131,6 +132,12 @@ func (i *InboundSsoAssignment) ToInboundSsoAssignmentOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(InboundSsoAssignmentOutput) } +func (i *InboundSsoAssignment) ToOutput(ctx context.Context) pulumix.Output[*InboundSsoAssignment] { + return pulumix.Output[*InboundSsoAssignment]{ + OutputState: i.ToInboundSsoAssignmentOutputWithContext(ctx).OutputState, + } +} + type InboundSsoAssignmentOutput struct{ *pulumi.OutputState } func (InboundSsoAssignmentOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o InboundSsoAssignmentOutput) ToInboundSsoAssignmentOutputWithContext(ctx return o } +func (o InboundSsoAssignmentOutput) ToOutput(ctx context.Context) pulumix.Output[*InboundSsoAssignment] { + return pulumix.Output[*InboundSsoAssignment]{ + OutputState: o.OutputState, + } +} + // Immutable. The customer. For example: `customers/C0123abc`. func (o InboundSsoAssignmentOutput) Customer() pulumi.StringOutput { return o.ApplyT(func(v *InboundSsoAssignment) pulumi.StringOutput { return v.Customer }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/membership.go b/sdk/go/google/cloudidentity/v1beta1/membership.go index c1af494d49..723a70e787 100644 --- a/sdk/go/google/cloudidentity/v1beta1/membership.go +++ b/sdk/go/google/cloudidentity/v1beta1/membership.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a `Membership`. @@ -129,6 +130,12 @@ func (i *Membership) ToMembershipOutputWithContext(ctx context.Context) Membersh return pulumi.ToOutputWithContext(ctx, i).(MembershipOutput) } +func (i *Membership) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: i.ToMembershipOutputWithContext(ctx).OutputState, + } +} + type MembershipOutput struct{ *pulumi.OutputState } func (MembershipOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o MembershipOutput) ToMembershipOutputWithContext(ctx context.Context) Mem return o } +func (o MembershipOutput) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: o.OutputState, + } +} + // The time when the `Membership` was created. func (o MembershipOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Membership) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudidentity/v1beta1/pulumiEnums.go b/sdk/go/google/cloudidentity/v1beta1/pulumiEnums.go index 52eca4112d..3dda35845f 100644 --- a/sdk/go/google/cloudidentity/v1beta1/pulumiEnums.go +++ b/sdk/go/google/cloudidentity/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type DeviceClientTypesItem string @@ -87,6 +88,12 @@ func (o DeviceClientTypesItemOutput) ToDeviceClientTypesItemPtrOutputWithContext }).(DeviceClientTypesItemPtrOutput) } +func (o DeviceClientTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceClientTypesItem] { + return pulumix.Output[DeviceClientTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DeviceClientTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -122,6 +129,12 @@ func (o DeviceClientTypesItemPtrOutput) ToDeviceClientTypesItemPtrOutputWithCont return o } +func (o DeviceClientTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceClientTypesItem] { + return pulumix.Output[*DeviceClientTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DeviceClientTypesItemPtrOutput) Elem() DeviceClientTypesItemOutput { return o.ApplyT(func(v *DeviceClientTypesItem) DeviceClientTypesItem { if v != nil { @@ -184,6 +197,12 @@ func (in *deviceClientTypesItemPtr) ToDeviceClientTypesItemPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(DeviceClientTypesItemPtrOutput) } +func (in *deviceClientTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*DeviceClientTypesItem] { + return pulumix.Output[*DeviceClientTypesItem]{ + OutputState: in.ToDeviceClientTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // DeviceClientTypesItemArrayInput is an input type that accepts DeviceClientTypesItemArray and DeviceClientTypesItemArrayOutput values. // You can construct a concrete instance of `DeviceClientTypesItemArrayInput` via: // @@ -209,6 +228,12 @@ func (i DeviceClientTypesItemArray) ToDeviceClientTypesItemArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(DeviceClientTypesItemArrayOutput) } +func (i DeviceClientTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]DeviceClientTypesItem] { + return pulumix.Output[[]DeviceClientTypesItem]{ + OutputState: i.ToDeviceClientTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type DeviceClientTypesItemArrayOutput struct{ *pulumi.OutputState } func (DeviceClientTypesItemArrayOutput) ElementType() reflect.Type { @@ -223,6 +248,12 @@ func (o DeviceClientTypesItemArrayOutput) ToDeviceClientTypesItemArrayOutputWith return o } +func (o DeviceClientTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceClientTypesItem] { + return pulumix.Output[[]DeviceClientTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DeviceClientTypesItemArrayOutput) Index(i pulumi.IntInput) DeviceClientTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceClientTypesItem { return vs[0].([]DeviceClientTypesItem)[vs[1].(int)] @@ -298,6 +329,12 @@ func (o DynamicGroupQueryResourceTypeOutput) ToDynamicGroupQueryResourceTypePtrO }).(DynamicGroupQueryResourceTypePtrOutput) } +func (o DynamicGroupQueryResourceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupQueryResourceType] { + return pulumix.Output[DynamicGroupQueryResourceType]{ + OutputState: o.OutputState, + } +} + func (o DynamicGroupQueryResourceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -333,6 +370,12 @@ func (o DynamicGroupQueryResourceTypePtrOutput) ToDynamicGroupQueryResourceTypeP return o } +func (o DynamicGroupQueryResourceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DynamicGroupQueryResourceType] { + return pulumix.Output[*DynamicGroupQueryResourceType]{ + OutputState: o.OutputState, + } +} + func (o DynamicGroupQueryResourceTypePtrOutput) Elem() DynamicGroupQueryResourceTypeOutput { return o.ApplyT(func(v *DynamicGroupQueryResourceType) DynamicGroupQueryResourceType { if v != nil { @@ -395,6 +438,12 @@ func (in *dynamicGroupQueryResourceTypePtr) ToDynamicGroupQueryResourceTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(DynamicGroupQueryResourceTypePtrOutput) } +func (in *dynamicGroupQueryResourceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DynamicGroupQueryResourceType] { + return pulumix.Output[*DynamicGroupQueryResourceType]{ + OutputState: in.ToDynamicGroupQueryResourceTypePtrOutputWithContext(ctx).OutputState, + } +} + // Inbound SSO behavior. type InboundSsoAssignmentSsoMode string @@ -469,6 +518,12 @@ func (o InboundSsoAssignmentSsoModeOutput) ToInboundSsoAssignmentSsoModePtrOutpu }).(InboundSsoAssignmentSsoModePtrOutput) } +func (o InboundSsoAssignmentSsoModeOutput) ToOutput(ctx context.Context) pulumix.Output[InboundSsoAssignmentSsoMode] { + return pulumix.Output[InboundSsoAssignmentSsoMode]{ + OutputState: o.OutputState, + } +} + func (o InboundSsoAssignmentSsoModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -504,6 +559,12 @@ func (o InboundSsoAssignmentSsoModePtrOutput) ToInboundSsoAssignmentSsoModePtrOu return o } +func (o InboundSsoAssignmentSsoModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InboundSsoAssignmentSsoMode] { + return pulumix.Output[*InboundSsoAssignmentSsoMode]{ + OutputState: o.OutputState, + } +} + func (o InboundSsoAssignmentSsoModePtrOutput) Elem() InboundSsoAssignmentSsoModeOutput { return o.ApplyT(func(v *InboundSsoAssignmentSsoMode) InboundSsoAssignmentSsoMode { if v != nil { @@ -566,6 +627,12 @@ func (in *inboundSsoAssignmentSsoModePtr) ToInboundSsoAssignmentSsoModePtrOutput return pulumi.ToOutputWithContext(ctx, in).(InboundSsoAssignmentSsoModePtrOutput) } +func (in *inboundSsoAssignmentSsoModePtr) ToOutput(ctx context.Context) pulumix.Output[*InboundSsoAssignmentSsoMode] { + return pulumix.Output[*InboundSsoAssignmentSsoMode]{ + OutputState: in.ToInboundSsoAssignmentSsoModePtrOutputWithContext(ctx).OutputState, + } +} + // When to redirect sign-ins to the IdP. type SignInBehaviorRedirectCondition string @@ -636,6 +703,12 @@ func (o SignInBehaviorRedirectConditionOutput) ToSignInBehaviorRedirectCondition }).(SignInBehaviorRedirectConditionPtrOutput) } +func (o SignInBehaviorRedirectConditionOutput) ToOutput(ctx context.Context) pulumix.Output[SignInBehaviorRedirectCondition] { + return pulumix.Output[SignInBehaviorRedirectCondition]{ + OutputState: o.OutputState, + } +} + func (o SignInBehaviorRedirectConditionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -671,6 +744,12 @@ func (o SignInBehaviorRedirectConditionPtrOutput) ToSignInBehaviorRedirectCondit return o } +func (o SignInBehaviorRedirectConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SignInBehaviorRedirectCondition] { + return pulumix.Output[*SignInBehaviorRedirectCondition]{ + OutputState: o.OutputState, + } +} + func (o SignInBehaviorRedirectConditionPtrOutput) Elem() SignInBehaviorRedirectConditionOutput { return o.ApplyT(func(v *SignInBehaviorRedirectCondition) SignInBehaviorRedirectCondition { if v != nil { @@ -733,6 +812,12 @@ func (in *signInBehaviorRedirectConditionPtr) ToSignInBehaviorRedirectConditionP return pulumi.ToOutputWithContext(ctx, in).(SignInBehaviorRedirectConditionPtrOutput) } +func (in *signInBehaviorRedirectConditionPtr) ToOutput(ctx context.Context) pulumix.Output[*SignInBehaviorRedirectCondition] { + return pulumix.Output[*SignInBehaviorRedirectCondition]{ + OutputState: in.ToSignInBehaviorRedirectConditionPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*DeviceClientTypesItemInput)(nil)).Elem(), DeviceClientTypesItem("CLIENT_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*DeviceClientTypesItemPtrInput)(nil)).Elem(), DeviceClientTypesItem("CLIENT_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudidentity/v1beta1/pulumiTypes.go b/sdk/go/google/cloudidentity/v1beta1/pulumiTypes.go index a5216dc6ef..c4f62554d1 100644 --- a/sdk/go/google/cloudidentity/v1beta1/pulumiTypes.go +++ b/sdk/go/google/cloudidentity/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -40,6 +41,12 @@ func (o AndroidAttributesResponseOutput) ToAndroidAttributesResponseOutputWithCo return o } +func (o AndroidAttributesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidAttributesResponse] { + return pulumix.Output[AndroidAttributesResponse]{ + OutputState: o.OutputState, + } +} + // Whether applications from unknown sources can be installed on device. func (o AndroidAttributesResponseOutput) EnabledUnknownSources() pulumi.BoolOutput { return o.ApplyT(func(v AndroidAttributesResponse) bool { return v.EnabledUnknownSources }).(pulumi.BoolOutput) @@ -97,6 +104,12 @@ func (o CertificateAttributesResponseOutput) ToCertificateAttributesResponseOutp return o } +func (o CertificateAttributesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateAttributesResponse] { + return pulumix.Output[CertificateAttributesResponse]{ + OutputState: o.OutputState, + } +} + // The X.509 extension for CertificateTemplate. func (o CertificateAttributesResponseOutput) CertificateTemplate() CertificateTemplateResponseOutput { return o.ApplyT(func(v CertificateAttributesResponse) CertificateTemplateResponse { return v.CertificateTemplate }).(CertificateTemplateResponseOutput) @@ -156,6 +169,12 @@ func (o CertificateAttributesResponseArrayOutput) ToCertificateAttributesRespons return o } +func (o CertificateAttributesResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CertificateAttributesResponse] { + return pulumix.Output[[]CertificateAttributesResponse]{ + OutputState: o.OutputState, + } +} + func (o CertificateAttributesResponseArrayOutput) Index(i pulumi.IntInput) CertificateAttributesResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CertificateAttributesResponse { return vs[0].([]CertificateAttributesResponse)[vs[1].(int)] @@ -185,6 +204,12 @@ func (o CertificateTemplateResponseOutput) ToCertificateTemplateResponseOutputWi return o } +func (o CertificateTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateTemplateResponse] { + return pulumix.Output[CertificateTemplateResponse]{ + OutputState: o.OutputState, + } +} + // The Major version of the template. Example: 100. func (o CertificateTemplateResponseOutput) MajorVersion() pulumi.IntOutput { return o.ApplyT(func(v CertificateTemplateResponse) int { return v.MajorVersion }).(pulumi.IntOutput) @@ -230,6 +255,12 @@ func (i DynamicGroupMetadataArgs) ToDynamicGroupMetadataOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DynamicGroupMetadataOutput) } +func (i DynamicGroupMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupMetadata] { + return pulumix.Output[DynamicGroupMetadata]{ + OutputState: i.ToDynamicGroupMetadataOutputWithContext(ctx).OutputState, + } +} + func (i DynamicGroupMetadataArgs) ToDynamicGroupMetadataPtrOutput() DynamicGroupMetadataPtrOutput { return i.ToDynamicGroupMetadataPtrOutputWithContext(context.Background()) } @@ -271,6 +302,12 @@ func (i *dynamicGroupMetadataPtrType) ToDynamicGroupMetadataPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DynamicGroupMetadataPtrOutput) } +func (i *dynamicGroupMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*DynamicGroupMetadata] { + return pulumix.Output[*DynamicGroupMetadata]{ + OutputState: i.ToDynamicGroupMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Dynamic group metadata like queries and status. type DynamicGroupMetadataOutput struct{ *pulumi.OutputState } @@ -296,6 +333,12 @@ func (o DynamicGroupMetadataOutput) ToDynamicGroupMetadataPtrOutputWithContext(c }).(DynamicGroupMetadataPtrOutput) } +func (o DynamicGroupMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupMetadata] { + return pulumix.Output[DynamicGroupMetadata]{ + OutputState: o.OutputState, + } +} + // Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups. func (o DynamicGroupMetadataOutput) Queries() DynamicGroupQueryArrayOutput { return o.ApplyT(func(v DynamicGroupMetadata) []DynamicGroupQuery { return v.Queries }).(DynamicGroupQueryArrayOutput) @@ -315,6 +358,12 @@ func (o DynamicGroupMetadataPtrOutput) ToDynamicGroupMetadataPtrOutputWithContex return o } +func (o DynamicGroupMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DynamicGroupMetadata] { + return pulumix.Output[*DynamicGroupMetadata]{ + OutputState: o.OutputState, + } +} + func (o DynamicGroupMetadataPtrOutput) Elem() DynamicGroupMetadataOutput { return o.ApplyT(func(v *DynamicGroupMetadata) DynamicGroupMetadata { if v != nil { @@ -358,6 +407,12 @@ func (o DynamicGroupMetadataResponseOutput) ToDynamicGroupMetadataResponseOutput return o } +func (o DynamicGroupMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupMetadataResponse] { + return pulumix.Output[DynamicGroupMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Memberships will be the union of all queries. Only one entry with USER resource is currently supported. Customers can create up to 100 dynamic groups. func (o DynamicGroupMetadataResponseOutput) Queries() DynamicGroupQueryResponseArrayOutput { return o.ApplyT(func(v DynamicGroupMetadataResponse) []DynamicGroupQueryResponse { return v.Queries }).(DynamicGroupQueryResponseArrayOutput) @@ -405,6 +460,12 @@ func (i DynamicGroupQueryArgs) ToDynamicGroupQueryOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DynamicGroupQueryOutput) } +func (i DynamicGroupQueryArgs) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupQuery] { + return pulumix.Output[DynamicGroupQuery]{ + OutputState: i.ToDynamicGroupQueryOutputWithContext(ctx).OutputState, + } +} + // DynamicGroupQueryArrayInput is an input type that accepts DynamicGroupQueryArray and DynamicGroupQueryArrayOutput values. // You can construct a concrete instance of `DynamicGroupQueryArrayInput` via: // @@ -430,6 +491,12 @@ func (i DynamicGroupQueryArray) ToDynamicGroupQueryArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DynamicGroupQueryArrayOutput) } +func (i DynamicGroupQueryArray) ToOutput(ctx context.Context) pulumix.Output[[]DynamicGroupQuery] { + return pulumix.Output[[]DynamicGroupQuery]{ + OutputState: i.ToDynamicGroupQueryArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a query on a resource. type DynamicGroupQueryOutput struct{ *pulumi.OutputState } @@ -445,6 +512,12 @@ func (o DynamicGroupQueryOutput) ToDynamicGroupQueryOutputWithContext(ctx contex return o } +func (o DynamicGroupQueryOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupQuery] { + return pulumix.Output[DynamicGroupQuery]{ + OutputState: o.OutputState, + } +} + // Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department=='engineering')` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')` All users with any variation of the name John Doe (case-insensitive queries add `equalsIgnoreCase()` to the value being queried). `user.name.value.equalsIgnoreCase('jOhn DoE')` func (o DynamicGroupQueryOutput) Query() pulumi.StringPtrOutput { return o.ApplyT(func(v DynamicGroupQuery) *string { return v.Query }).(pulumi.StringPtrOutput) @@ -468,6 +541,12 @@ func (o DynamicGroupQueryArrayOutput) ToDynamicGroupQueryArrayOutputWithContext( return o } +func (o DynamicGroupQueryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DynamicGroupQuery] { + return pulumix.Output[[]DynamicGroupQuery]{ + OutputState: o.OutputState, + } +} + func (o DynamicGroupQueryArrayOutput) Index(i pulumi.IntInput) DynamicGroupQueryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DynamicGroupQuery { return vs[0].([]DynamicGroupQuery)[vs[1].(int)] @@ -496,6 +575,12 @@ func (o DynamicGroupQueryResponseOutput) ToDynamicGroupQueryResponseOutputWithCo return o } +func (o DynamicGroupQueryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupQueryResponse] { + return pulumix.Output[DynamicGroupQueryResponse]{ + OutputState: o.OutputState, + } +} + // Query that determines the memberships of the dynamic group. Examples: All users with at least one `organizations.department` of engineering. `user.organizations.exists(org, org.department=='engineering')` All users with at least one location that has `area` of `foo` and `building_id` of `bar`. `user.locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')` All users with any variation of the name John Doe (case-insensitive queries add `equalsIgnoreCase()` to the value being queried). `user.name.value.equalsIgnoreCase('jOhn DoE')` func (o DynamicGroupQueryResponseOutput) Query() pulumi.StringOutput { return o.ApplyT(func(v DynamicGroupQueryResponse) string { return v.Query }).(pulumi.StringOutput) @@ -519,6 +604,12 @@ func (o DynamicGroupQueryResponseArrayOutput) ToDynamicGroupQueryResponseArrayOu return o } +func (o DynamicGroupQueryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DynamicGroupQueryResponse] { + return pulumix.Output[[]DynamicGroupQueryResponse]{ + OutputState: o.OutputState, + } +} + func (o DynamicGroupQueryResponseArrayOutput) Index(i pulumi.IntInput) DynamicGroupQueryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DynamicGroupQueryResponse { return vs[0].([]DynamicGroupQueryResponse)[vs[1].(int)] @@ -548,6 +639,12 @@ func (o DynamicGroupStatusResponseOutput) ToDynamicGroupStatusResponseOutputWith return o } +func (o DynamicGroupStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DynamicGroupStatusResponse] { + return pulumix.Output[DynamicGroupStatusResponse]{ + OutputState: o.OutputState, + } +} + // Status of the dynamic group. func (o DynamicGroupStatusResponseOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v DynamicGroupStatusResponse) string { return v.Status }).(pulumi.StringOutput) @@ -579,6 +676,12 @@ func (o EndpointVerificationSpecificAttributesResponseOutput) ToEndpointVerifica return o } +func (o EndpointVerificationSpecificAttributesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointVerificationSpecificAttributesResponse] { + return pulumix.Output[EndpointVerificationSpecificAttributesResponse]{ + OutputState: o.OutputState, + } +} + // Details of certificates. func (o EndpointVerificationSpecificAttributesResponseOutput) CertificateAttributes() CertificateAttributesResponseArrayOutput { return o.ApplyT(func(v EndpointVerificationSpecificAttributesResponse) []CertificateAttributesResponse { @@ -625,6 +728,12 @@ func (i EntityKeyArgs) ToEntityKeyOutputWithContext(ctx context.Context) EntityK return pulumi.ToOutputWithContext(ctx, i).(EntityKeyOutput) } +func (i EntityKeyArgs) ToOutput(ctx context.Context) pulumix.Output[EntityKey] { + return pulumix.Output[EntityKey]{ + OutputState: i.ToEntityKeyOutputWithContext(ctx).OutputState, + } +} + func (i EntityKeyArgs) ToEntityKeyPtrOutput() EntityKeyPtrOutput { return i.ToEntityKeyPtrOutputWithContext(context.Background()) } @@ -666,6 +775,12 @@ func (i *entityKeyPtrType) ToEntityKeyPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(EntityKeyPtrOutput) } +func (i *entityKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*EntityKey] { + return pulumix.Output[*EntityKey]{ + OutputState: i.ToEntityKeyPtrOutputWithContext(ctx).OutputState, + } +} + // A unique identifier for an entity in the Cloud Identity Groups API. An entity can represent either a group with an optional `namespace` or a user without a `namespace`. The combination of `id` and `namespace` must be unique; however, the same `id` can be used with different `namespace`s. type EntityKeyOutput struct{ *pulumi.OutputState } @@ -691,6 +806,12 @@ func (o EntityKeyOutput) ToEntityKeyPtrOutputWithContext(ctx context.Context) En }).(EntityKeyPtrOutput) } +func (o EntityKeyOutput) ToOutput(ctx context.Context) pulumix.Output[EntityKey] { + return pulumix.Output[EntityKey]{ + OutputState: o.OutputState, + } +} + // The ID of the entity. For Google-managed entities, the `id` must be the email address of an existing group or user. For external-identity-mapped entities, the `id` must be a string conforming to the Identity Source's requirements. Must be unique within a `namespace`. func (o EntityKeyOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v EntityKey) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -715,6 +836,12 @@ func (o EntityKeyPtrOutput) ToEntityKeyPtrOutputWithContext(ctx context.Context) return o } +func (o EntityKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityKey] { + return pulumix.Output[*EntityKey]{ + OutputState: o.OutputState, + } +} + func (o EntityKeyPtrOutput) Elem() EntityKeyOutput { return o.ApplyT(func(v *EntityKey) EntityKey { if v != nil { @@ -766,6 +893,12 @@ func (o EntityKeyResponseOutput) ToEntityKeyResponseOutputWithContext(ctx contex return o } +func (o EntityKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EntityKeyResponse] { + return pulumix.Output[EntityKeyResponse]{ + OutputState: o.OutputState, + } +} + // The namespace in which the entity exists. If not specified, the `EntityKey` represents a Google-managed entity such as a Google user or a Google Group. If specified, the `EntityKey` represents an external-identity-mapped group. The namespace must correspond to an identity source created in Admin Console and must be in the form of `identitysources/{identity_source_id}`. func (o EntityKeyResponseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v EntityKeyResponse) string { return v.Namespace }).(pulumi.StringOutput) @@ -785,6 +918,12 @@ func (o EntityKeyResponseArrayOutput) ToEntityKeyResponseArrayOutputWithContext( return o } +func (o EntityKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EntityKeyResponse] { + return pulumix.Output[[]EntityKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o EntityKeyResponseArrayOutput) Index(i pulumi.IntInput) EntityKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EntityKeyResponse { return vs[0].([]EntityKeyResponse)[vs[1].(int)] @@ -826,6 +965,12 @@ func (i ExpiryDetailArgs) ToExpiryDetailOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(ExpiryDetailOutput) } +func (i ExpiryDetailArgs) ToOutput(ctx context.Context) pulumix.Output[ExpiryDetail] { + return pulumix.Output[ExpiryDetail]{ + OutputState: i.ToExpiryDetailOutputWithContext(ctx).OutputState, + } +} + func (i ExpiryDetailArgs) ToExpiryDetailPtrOutput() ExpiryDetailPtrOutput { return i.ToExpiryDetailPtrOutputWithContext(context.Background()) } @@ -867,6 +1012,12 @@ func (i *expiryDetailPtrType) ToExpiryDetailPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ExpiryDetailPtrOutput) } +func (i *expiryDetailPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExpiryDetail] { + return pulumix.Output[*ExpiryDetail]{ + OutputState: i.ToExpiryDetailPtrOutputWithContext(ctx).OutputState, + } +} + // The `MembershipRole` expiry details. type ExpiryDetailOutput struct{ *pulumi.OutputState } @@ -892,6 +1043,12 @@ func (o ExpiryDetailOutput) ToExpiryDetailPtrOutputWithContext(ctx context.Conte }).(ExpiryDetailPtrOutput) } +func (o ExpiryDetailOutput) ToOutput(ctx context.Context) pulumix.Output[ExpiryDetail] { + return pulumix.Output[ExpiryDetail]{ + OutputState: o.OutputState, + } +} + // The time at which the `MembershipRole` will expire. func (o ExpiryDetailOutput) ExpireTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ExpiryDetail) *string { return v.ExpireTime }).(pulumi.StringPtrOutput) @@ -911,6 +1068,12 @@ func (o ExpiryDetailPtrOutput) ToExpiryDetailPtrOutputWithContext(ctx context.Co return o } +func (o ExpiryDetailPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExpiryDetail] { + return pulumix.Output[*ExpiryDetail]{ + OutputState: o.OutputState, + } +} + func (o ExpiryDetailPtrOutput) Elem() ExpiryDetailOutput { return o.ApplyT(func(v *ExpiryDetail) ExpiryDetail { if v != nil { @@ -952,6 +1115,12 @@ func (o ExpiryDetailResponseOutput) ToExpiryDetailResponseOutputWithContext(ctx return o } +func (o ExpiryDetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExpiryDetailResponse] { + return pulumix.Output[ExpiryDetailResponse]{ + OutputState: o.OutputState, + } +} + // The time at which the `MembershipRole` will expire. func (o ExpiryDetailResponseOutput) ExpireTime() pulumi.StringOutput { return o.ApplyT(func(v ExpiryDetailResponse) string { return v.ExpireTime }).(pulumi.StringOutput) @@ -1000,6 +1169,12 @@ func (i MembershipRoleArgs) ToMembershipRoleOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MembershipRoleOutput) } +func (i MembershipRoleArgs) ToOutput(ctx context.Context) pulumix.Output[MembershipRole] { + return pulumix.Output[MembershipRole]{ + OutputState: i.ToMembershipRoleOutputWithContext(ctx).OutputState, + } +} + // MembershipRoleArrayInput is an input type that accepts MembershipRoleArray and MembershipRoleArrayOutput values. // You can construct a concrete instance of `MembershipRoleArrayInput` via: // @@ -1025,6 +1200,12 @@ func (i MembershipRoleArray) ToMembershipRoleArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MembershipRoleArrayOutput) } +func (i MembershipRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]MembershipRole] { + return pulumix.Output[[]MembershipRole]{ + OutputState: i.ToMembershipRoleArrayOutputWithContext(ctx).OutputState, + } +} + // A membership role within the Cloud Identity Groups API. A `MembershipRole` defines the privileges granted to a `Membership`. type MembershipRoleOutput struct{ *pulumi.OutputState } @@ -1040,6 +1221,12 @@ func (o MembershipRoleOutput) ToMembershipRoleOutputWithContext(ctx context.Cont return o } +func (o MembershipRoleOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipRole] { + return pulumix.Output[MembershipRole]{ + OutputState: o.OutputState, + } +} + // The expiry details of the `MembershipRole`. Expiry details are only supported for `MEMBER` `MembershipRoles`. May be set if `name` is `MEMBER`. Must not be set if `name` is any other value. func (o MembershipRoleOutput) ExpiryDetail() ExpiryDetailPtrOutput { return o.ApplyT(func(v MembershipRole) *ExpiryDetail { return v.ExpiryDetail }).(ExpiryDetailPtrOutput) @@ -1069,6 +1256,12 @@ func (o MembershipRoleArrayOutput) ToMembershipRoleArrayOutputWithContext(ctx co return o } +func (o MembershipRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MembershipRole] { + return pulumix.Output[[]MembershipRole]{ + OutputState: o.OutputState, + } +} + func (o MembershipRoleArrayOutput) Index(i pulumi.IntInput) MembershipRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MembershipRole { return vs[0].([]MembershipRole)[vs[1].(int)] @@ -1100,6 +1293,12 @@ func (o MembershipRoleResponseOutput) ToMembershipRoleResponseOutputWithContext( return o } +func (o MembershipRoleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipRoleResponse] { + return pulumix.Output[MembershipRoleResponse]{ + OutputState: o.OutputState, + } +} + // The expiry details of the `MembershipRole`. Expiry details are only supported for `MEMBER` `MembershipRoles`. May be set if `name` is `MEMBER`. Must not be set if `name` is any other value. func (o MembershipRoleResponseOutput) ExpiryDetail() ExpiryDetailResponseOutput { return o.ApplyT(func(v MembershipRoleResponse) ExpiryDetailResponse { return v.ExpiryDetail }).(ExpiryDetailResponseOutput) @@ -1129,6 +1328,12 @@ func (o MembershipRoleResponseArrayOutput) ToMembershipRoleResponseArrayOutputWi return o } +func (o MembershipRoleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MembershipRoleResponse] { + return pulumix.Output[[]MembershipRoleResponse]{ + OutputState: o.OutputState, + } +} + func (o MembershipRoleResponseArrayOutput) Index(i pulumi.IntInput) MembershipRoleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MembershipRoleResponse { return vs[0].([]MembershipRoleResponse)[vs[1].(int)] @@ -1166,6 +1371,12 @@ func (i MembershipRoleRestrictionEvaluationArgs) ToMembershipRoleRestrictionEval return pulumi.ToOutputWithContext(ctx, i).(MembershipRoleRestrictionEvaluationOutput) } +func (i MembershipRoleRestrictionEvaluationArgs) ToOutput(ctx context.Context) pulumix.Output[MembershipRoleRestrictionEvaluation] { + return pulumix.Output[MembershipRoleRestrictionEvaluation]{ + OutputState: i.ToMembershipRoleRestrictionEvaluationOutputWithContext(ctx).OutputState, + } +} + func (i MembershipRoleRestrictionEvaluationArgs) ToMembershipRoleRestrictionEvaluationPtrOutput() MembershipRoleRestrictionEvaluationPtrOutput { return i.ToMembershipRoleRestrictionEvaluationPtrOutputWithContext(context.Background()) } @@ -1207,6 +1418,12 @@ func (i *membershipRoleRestrictionEvaluationPtrType) ToMembershipRoleRestriction return pulumi.ToOutputWithContext(ctx, i).(MembershipRoleRestrictionEvaluationPtrOutput) } +func (i *membershipRoleRestrictionEvaluationPtrType) ToOutput(ctx context.Context) pulumix.Output[*MembershipRoleRestrictionEvaluation] { + return pulumix.Output[*MembershipRoleRestrictionEvaluation]{ + OutputState: i.ToMembershipRoleRestrictionEvaluationPtrOutputWithContext(ctx).OutputState, + } +} + // The evaluated state of this restriction. type MembershipRoleRestrictionEvaluationOutput struct{ *pulumi.OutputState } @@ -1232,6 +1449,12 @@ func (o MembershipRoleRestrictionEvaluationOutput) ToMembershipRoleRestrictionEv }).(MembershipRoleRestrictionEvaluationPtrOutput) } +func (o MembershipRoleRestrictionEvaluationOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipRoleRestrictionEvaluation] { + return pulumix.Output[MembershipRoleRestrictionEvaluation]{ + OutputState: o.OutputState, + } +} + type MembershipRoleRestrictionEvaluationPtrOutput struct{ *pulumi.OutputState } func (MembershipRoleRestrictionEvaluationPtrOutput) ElementType() reflect.Type { @@ -1246,6 +1469,12 @@ func (o MembershipRoleRestrictionEvaluationPtrOutput) ToMembershipRoleRestrictio return o } +func (o MembershipRoleRestrictionEvaluationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipRoleRestrictionEvaluation] { + return pulumix.Output[*MembershipRoleRestrictionEvaluation]{ + OutputState: o.OutputState, + } +} + func (o MembershipRoleRestrictionEvaluationPtrOutput) Elem() MembershipRoleRestrictionEvaluationOutput { return o.ApplyT(func(v *MembershipRoleRestrictionEvaluation) MembershipRoleRestrictionEvaluation { if v != nil { @@ -1277,6 +1506,12 @@ func (o MembershipRoleRestrictionEvaluationResponseOutput) ToMembershipRoleRestr return o } +func (o MembershipRoleRestrictionEvaluationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipRoleRestrictionEvaluationResponse] { + return pulumix.Output[MembershipRoleRestrictionEvaluationResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the restriction func (o MembershipRoleRestrictionEvaluationResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v MembershipRoleRestrictionEvaluationResponse) string { return v.State }).(pulumi.StringOutput) @@ -1325,6 +1560,12 @@ func (i PosixGroupArgs) ToPosixGroupOutputWithContext(ctx context.Context) Posix return pulumi.ToOutputWithContext(ctx, i).(PosixGroupOutput) } +func (i PosixGroupArgs) ToOutput(ctx context.Context) pulumix.Output[PosixGroup] { + return pulumix.Output[PosixGroup]{ + OutputState: i.ToPosixGroupOutputWithContext(ctx).OutputState, + } +} + // PosixGroupArrayInput is an input type that accepts PosixGroupArray and PosixGroupArrayOutput values. // You can construct a concrete instance of `PosixGroupArrayInput` via: // @@ -1350,6 +1591,12 @@ func (i PosixGroupArray) ToPosixGroupArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PosixGroupArrayOutput) } +func (i PosixGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]PosixGroup] { + return pulumix.Output[[]PosixGroup]{ + OutputState: i.ToPosixGroupArrayOutputWithContext(ctx).OutputState, + } +} + // POSIX Group definition to represent a group in a POSIX compliant system. type PosixGroupOutput struct{ *pulumi.OutputState } @@ -1365,6 +1612,12 @@ func (o PosixGroupOutput) ToPosixGroupOutputWithContext(ctx context.Context) Pos return o } +func (o PosixGroupOutput) ToOutput(ctx context.Context) pulumix.Output[PosixGroup] { + return pulumix.Output[PosixGroup]{ + OutputState: o.OutputState, + } +} + // GID of the POSIX group. func (o PosixGroupOutput) Gid() pulumi.StringPtrOutput { return o.ApplyT(func(v PosixGroup) *string { return v.Gid }).(pulumi.StringPtrOutput) @@ -1394,6 +1647,12 @@ func (o PosixGroupArrayOutput) ToPosixGroupArrayOutputWithContext(ctx context.Co return o } +func (o PosixGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PosixGroup] { + return pulumix.Output[[]PosixGroup]{ + OutputState: o.OutputState, + } +} + func (o PosixGroupArrayOutput) Index(i pulumi.IntInput) PosixGroupOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PosixGroup { return vs[0].([]PosixGroup)[vs[1].(int)] @@ -1425,6 +1684,12 @@ func (o PosixGroupResponseOutput) ToPosixGroupResponseOutputWithContext(ctx cont return o } +func (o PosixGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PosixGroupResponse] { + return pulumix.Output[PosixGroupResponse]{ + OutputState: o.OutputState, + } +} + // GID of the POSIX group. func (o PosixGroupResponseOutput) Gid() pulumi.StringOutput { return o.ApplyT(func(v PosixGroupResponse) string { return v.Gid }).(pulumi.StringOutput) @@ -1454,6 +1719,12 @@ func (o PosixGroupResponseArrayOutput) ToPosixGroupResponseArrayOutputWithContex return o } +func (o PosixGroupResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PosixGroupResponse] { + return pulumix.Output[[]PosixGroupResponse]{ + OutputState: o.OutputState, + } +} + func (o PosixGroupResponseArrayOutput) Index(i pulumi.IntInput) PosixGroupResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PosixGroupResponse { return vs[0].([]PosixGroupResponse)[vs[1].(int)] @@ -1495,6 +1766,12 @@ func (i RestrictionEvaluationsArgs) ToRestrictionEvaluationsOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(RestrictionEvaluationsOutput) } +func (i RestrictionEvaluationsArgs) ToOutput(ctx context.Context) pulumix.Output[RestrictionEvaluations] { + return pulumix.Output[RestrictionEvaluations]{ + OutputState: i.ToRestrictionEvaluationsOutputWithContext(ctx).OutputState, + } +} + func (i RestrictionEvaluationsArgs) ToRestrictionEvaluationsPtrOutput() RestrictionEvaluationsPtrOutput { return i.ToRestrictionEvaluationsPtrOutputWithContext(context.Background()) } @@ -1536,6 +1813,12 @@ func (i *restrictionEvaluationsPtrType) ToRestrictionEvaluationsPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RestrictionEvaluationsPtrOutput) } +func (i *restrictionEvaluationsPtrType) ToOutput(ctx context.Context) pulumix.Output[*RestrictionEvaluations] { + return pulumix.Output[*RestrictionEvaluations]{ + OutputState: i.ToRestrictionEvaluationsPtrOutputWithContext(ctx).OutputState, + } +} + // Evaluations of restrictions applied to parent group on this membership. type RestrictionEvaluationsOutput struct{ *pulumi.OutputState } @@ -1561,6 +1844,12 @@ func (o RestrictionEvaluationsOutput) ToRestrictionEvaluationsPtrOutputWithConte }).(RestrictionEvaluationsPtrOutput) } +func (o RestrictionEvaluationsOutput) ToOutput(ctx context.Context) pulumix.Output[RestrictionEvaluations] { + return pulumix.Output[RestrictionEvaluations]{ + OutputState: o.OutputState, + } +} + // Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation. func (o RestrictionEvaluationsOutput) MemberRestrictionEvaluation() MembershipRoleRestrictionEvaluationPtrOutput { return o.ApplyT(func(v RestrictionEvaluations) *MembershipRoleRestrictionEvaluation { @@ -1582,6 +1871,12 @@ func (o RestrictionEvaluationsPtrOutput) ToRestrictionEvaluationsPtrOutputWithCo return o } +func (o RestrictionEvaluationsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestrictionEvaluations] { + return pulumix.Output[*RestrictionEvaluations]{ + OutputState: o.OutputState, + } +} + func (o RestrictionEvaluationsPtrOutput) Elem() RestrictionEvaluationsOutput { return o.ApplyT(func(v *RestrictionEvaluations) RestrictionEvaluations { if v != nil { @@ -1623,6 +1918,12 @@ func (o RestrictionEvaluationsResponseOutput) ToRestrictionEvaluationsResponseOu return o } +func (o RestrictionEvaluationsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RestrictionEvaluationsResponse] { + return pulumix.Output[RestrictionEvaluationsResponse]{ + OutputState: o.OutputState, + } +} + // Evaluation of the member restriction applied to this membership. Empty if the user lacks permission to view the restriction evaluation. func (o RestrictionEvaluationsResponseOutput) MemberRestrictionEvaluation() MembershipRoleRestrictionEvaluationResponseOutput { return o.ApplyT(func(v RestrictionEvaluationsResponse) MembershipRoleRestrictionEvaluationResponse { @@ -1677,6 +1978,12 @@ func (i SamlIdpConfigArgs) ToSamlIdpConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SamlIdpConfigOutput) } +func (i SamlIdpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SamlIdpConfig] { + return pulumix.Output[SamlIdpConfig]{ + OutputState: i.ToSamlIdpConfigOutputWithContext(ctx).OutputState, + } +} + func (i SamlIdpConfigArgs) ToSamlIdpConfigPtrOutput() SamlIdpConfigPtrOutput { return i.ToSamlIdpConfigPtrOutputWithContext(context.Background()) } @@ -1718,6 +2025,12 @@ func (i *samlIdpConfigPtrType) ToSamlIdpConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SamlIdpConfigPtrOutput) } +func (i *samlIdpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SamlIdpConfig] { + return pulumix.Output[*SamlIdpConfig]{ + OutputState: i.ToSamlIdpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SAML IDP (identity provider) configuration. type SamlIdpConfigOutput struct{ *pulumi.OutputState } @@ -1743,6 +2056,12 @@ func (o SamlIdpConfigOutput) ToSamlIdpConfigPtrOutputWithContext(ctx context.Con }).(SamlIdpConfigPtrOutput) } +func (o SamlIdpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SamlIdpConfig] { + return pulumix.Output[SamlIdpConfig]{ + OutputState: o.OutputState, + } +} + // The **Change Password URL** of the identity provider. Users will be sent to this URL when changing their passwords at `myaccount.google.com`. This takes precedence over the change password URL configured at customer-level. Must use `HTTPS`. func (o SamlIdpConfigOutput) ChangePasswordUri() pulumi.StringPtrOutput { return o.ApplyT(func(v SamlIdpConfig) *string { return v.ChangePasswordUri }).(pulumi.StringPtrOutput) @@ -1777,6 +2096,12 @@ func (o SamlIdpConfigPtrOutput) ToSamlIdpConfigPtrOutputWithContext(ctx context. return o } +func (o SamlIdpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SamlIdpConfig] { + return pulumix.Output[*SamlIdpConfig]{ + OutputState: o.OutputState, + } +} + func (o SamlIdpConfigPtrOutput) Elem() SamlIdpConfigOutput { return o.ApplyT(func(v *SamlIdpConfig) SamlIdpConfig { if v != nil { @@ -1854,6 +2179,12 @@ func (o SamlIdpConfigResponseOutput) ToSamlIdpConfigResponseOutputWithContext(ct return o } +func (o SamlIdpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SamlIdpConfigResponse] { + return pulumix.Output[SamlIdpConfigResponse]{ + OutputState: o.OutputState, + } +} + // The **Change Password URL** of the identity provider. Users will be sent to this URL when changing their passwords at `myaccount.google.com`. This takes precedence over the change password URL configured at customer-level. Must use `HTTPS`. func (o SamlIdpConfigResponseOutput) ChangePasswordUri() pulumi.StringOutput { return o.ApplyT(func(v SamlIdpConfigResponse) string { return v.ChangePasswordUri }).(pulumi.StringOutput) @@ -1905,6 +2236,12 @@ func (i SamlSpConfigArgs) ToSamlSpConfigOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SamlSpConfigOutput) } +func (i SamlSpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SamlSpConfig] { + return pulumix.Output[SamlSpConfig]{ + OutputState: i.ToSamlSpConfigOutputWithContext(ctx).OutputState, + } +} + func (i SamlSpConfigArgs) ToSamlSpConfigPtrOutput() SamlSpConfigPtrOutput { return i.ToSamlSpConfigPtrOutputWithContext(context.Background()) } @@ -1946,6 +2283,12 @@ func (i *samlSpConfigPtrType) ToSamlSpConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SamlSpConfigPtrOutput) } +func (i *samlSpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SamlSpConfig] { + return pulumix.Output[*SamlSpConfig]{ + OutputState: i.ToSamlSpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SAML SP (service provider) configuration. type SamlSpConfigOutput struct{ *pulumi.OutputState } @@ -1971,6 +2314,12 @@ func (o SamlSpConfigOutput) ToSamlSpConfigPtrOutputWithContext(ctx context.Conte }).(SamlSpConfigPtrOutput) } +func (o SamlSpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SamlSpConfig] { + return pulumix.Output[SamlSpConfig]{ + OutputState: o.OutputState, + } +} + type SamlSpConfigPtrOutput struct{ *pulumi.OutputState } func (SamlSpConfigPtrOutput) ElementType() reflect.Type { @@ -1985,6 +2334,12 @@ func (o SamlSpConfigPtrOutput) ToSamlSpConfigPtrOutputWithContext(ctx context.Co return o } +func (o SamlSpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SamlSpConfig] { + return pulumix.Output[*SamlSpConfig]{ + OutputState: o.OutputState, + } +} + func (o SamlSpConfigPtrOutput) Elem() SamlSpConfigOutput { return o.ApplyT(func(v *SamlSpConfig) SamlSpConfig { if v != nil { @@ -2018,6 +2373,12 @@ func (o SamlSpConfigResponseOutput) ToSamlSpConfigResponseOutputWithContext(ctx return o } +func (o SamlSpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SamlSpConfigResponse] { + return pulumix.Output[SamlSpConfigResponse]{ + OutputState: o.OutputState, + } +} + // The SAML **Assertion Consumer Service (ACS) URL** to be used for the IDP-initiated login. Assumed to accept response messages via the `HTTP-POST` binding. func (o SamlSpConfigResponseOutput) AssertionConsumerServiceUri() pulumi.StringOutput { return o.ApplyT(func(v SamlSpConfigResponse) string { return v.AssertionConsumerServiceUri }).(pulumi.StringOutput) @@ -2063,6 +2424,12 @@ func (i SamlSsoInfoArgs) ToSamlSsoInfoOutputWithContext(ctx context.Context) Sam return pulumi.ToOutputWithContext(ctx, i).(SamlSsoInfoOutput) } +func (i SamlSsoInfoArgs) ToOutput(ctx context.Context) pulumix.Output[SamlSsoInfo] { + return pulumix.Output[SamlSsoInfo]{ + OutputState: i.ToSamlSsoInfoOutputWithContext(ctx).OutputState, + } +} + func (i SamlSsoInfoArgs) ToSamlSsoInfoPtrOutput() SamlSsoInfoPtrOutput { return i.ToSamlSsoInfoPtrOutputWithContext(context.Background()) } @@ -2104,6 +2471,12 @@ func (i *samlSsoInfoPtrType) ToSamlSsoInfoPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SamlSsoInfoPtrOutput) } +func (i *samlSsoInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*SamlSsoInfo] { + return pulumix.Output[*SamlSsoInfo]{ + OutputState: i.ToSamlSsoInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Details that are applicable when `sso_mode` == `SAML_SSO`. type SamlSsoInfoOutput struct{ *pulumi.OutputState } @@ -2129,6 +2502,12 @@ func (o SamlSsoInfoOutput) ToSamlSsoInfoPtrOutputWithContext(ctx context.Context }).(SamlSsoInfoPtrOutput) } +func (o SamlSsoInfoOutput) ToOutput(ctx context.Context) pulumix.Output[SamlSsoInfo] { + return pulumix.Output[SamlSsoInfo]{ + OutputState: o.OutputState, + } +} + // Name of the `InboundSamlSsoProfile` to use. Must be of the form `inboundSamlSsoProfiles/{inbound_saml_sso_profile}`. func (o SamlSsoInfoOutput) InboundSamlSsoProfile() pulumi.StringOutput { return o.ApplyT(func(v SamlSsoInfo) string { return v.InboundSamlSsoProfile }).(pulumi.StringOutput) @@ -2148,6 +2527,12 @@ func (o SamlSsoInfoPtrOutput) ToSamlSsoInfoPtrOutputWithContext(ctx context.Cont return o } +func (o SamlSsoInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SamlSsoInfo] { + return pulumix.Output[*SamlSsoInfo]{ + OutputState: o.OutputState, + } +} + func (o SamlSsoInfoPtrOutput) Elem() SamlSsoInfoOutput { return o.ApplyT(func(v *SamlSsoInfo) SamlSsoInfo { if v != nil { @@ -2189,6 +2574,12 @@ func (o SamlSsoInfoResponseOutput) ToSamlSsoInfoResponseOutputWithContext(ctx co return o } +func (o SamlSsoInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SamlSsoInfoResponse] { + return pulumix.Output[SamlSsoInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of the `InboundSamlSsoProfile` to use. Must be of the form `inboundSamlSsoProfiles/{inbound_saml_sso_profile}`. func (o SamlSsoInfoResponseOutput) InboundSamlSsoProfile() pulumi.StringOutput { return o.ApplyT(func(v SamlSsoInfoResponse) string { return v.InboundSamlSsoProfile }).(pulumi.StringOutput) @@ -2229,6 +2620,12 @@ func (i SignInBehaviorArgs) ToSignInBehaviorOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SignInBehaviorOutput) } +func (i SignInBehaviorArgs) ToOutput(ctx context.Context) pulumix.Output[SignInBehavior] { + return pulumix.Output[SignInBehavior]{ + OutputState: i.ToSignInBehaviorOutputWithContext(ctx).OutputState, + } +} + func (i SignInBehaviorArgs) ToSignInBehaviorPtrOutput() SignInBehaviorPtrOutput { return i.ToSignInBehaviorPtrOutputWithContext(context.Background()) } @@ -2270,6 +2667,12 @@ func (i *signInBehaviorPtrType) ToSignInBehaviorPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SignInBehaviorPtrOutput) } +func (i *signInBehaviorPtrType) ToOutput(ctx context.Context) pulumix.Output[*SignInBehavior] { + return pulumix.Output[*SignInBehavior]{ + OutputState: i.ToSignInBehaviorPtrOutputWithContext(ctx).OutputState, + } +} + // Controls sign-in behavior. type SignInBehaviorOutput struct{ *pulumi.OutputState } @@ -2295,6 +2698,12 @@ func (o SignInBehaviorOutput) ToSignInBehaviorPtrOutputWithContext(ctx context.C }).(SignInBehaviorPtrOutput) } +func (o SignInBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[SignInBehavior] { + return pulumix.Output[SignInBehavior]{ + OutputState: o.OutputState, + } +} + // When to redirect sign-ins to the IdP. func (o SignInBehaviorOutput) RedirectCondition() SignInBehaviorRedirectConditionPtrOutput { return o.ApplyT(func(v SignInBehavior) *SignInBehaviorRedirectCondition { return v.RedirectCondition }).(SignInBehaviorRedirectConditionPtrOutput) @@ -2314,6 +2723,12 @@ func (o SignInBehaviorPtrOutput) ToSignInBehaviorPtrOutputWithContext(ctx contex return o } +func (o SignInBehaviorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SignInBehavior] { + return pulumix.Output[*SignInBehavior]{ + OutputState: o.OutputState, + } +} + func (o SignInBehaviorPtrOutput) Elem() SignInBehaviorOutput { return o.ApplyT(func(v *SignInBehavior) SignInBehavior { if v != nil { @@ -2355,6 +2770,12 @@ func (o SignInBehaviorResponseOutput) ToSignInBehaviorResponseOutputWithContext( return o } +func (o SignInBehaviorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SignInBehaviorResponse] { + return pulumix.Output[SignInBehaviorResponse]{ + OutputState: o.OutputState, + } +} + // When to redirect sign-ins to the IdP. func (o SignInBehaviorResponseOutput) RedirectCondition() pulumi.StringOutput { return o.ApplyT(func(v SignInBehaviorResponse) string { return v.RedirectCondition }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudiot/v1/device.go b/sdk/go/google/cloudiot/v1/device.go index c5adbb01dd..9371440bfa 100644 --- a/sdk/go/google/cloudiot/v1/device.go +++ b/sdk/go/google/cloudiot/v1/device.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a device in a device registry. @@ -169,6 +170,12 @@ func (i *Device) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput { return pulumi.ToOutputWithContext(ctx, i).(DeviceOutput) } +func (i *Device) ToOutput(ctx context.Context) pulumix.Output[*Device] { + return pulumix.Output[*Device]{ + OutputState: i.ToDeviceOutputWithContext(ctx).OutputState, + } +} + type DeviceOutput struct{ *pulumi.OutputState } func (DeviceOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutpu return o } +func (o DeviceOutput) ToOutput(ctx context.Context) pulumix.Output[*Device] { + return pulumix.Output[*Device]{ + OutputState: o.OutputState, + } +} + // If a device is blocked, connections or requests from this device will fail. Can be used to temporarily prevent the device from connecting if, for example, the sensor is generating bad data and needs maintenance. func (o DeviceOutput) Blocked() pulumi.BoolOutput { return o.ApplyT(func(v *Device) pulumi.BoolOutput { return v.Blocked }).(pulumi.BoolOutput) diff --git a/sdk/go/google/cloudiot/v1/getDevice.go b/sdk/go/google/cloudiot/v1/getDevice.go index 864f2ee353..2046a1ae59 100644 --- a/sdk/go/google/cloudiot/v1/getDevice.go +++ b/sdk/go/google/cloudiot/v1/getDevice.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details about a device. @@ -104,6 +105,12 @@ func (o LookupDeviceResultOutput) ToLookupDeviceResultOutputWithContext(ctx cont return o } +func (o LookupDeviceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeviceResult] { + return pulumix.Output[LookupDeviceResult]{ + OutputState: o.OutputState, + } +} + // If a device is blocked, connections or requests from this device will fail. Can be used to temporarily prevent the device from connecting if, for example, the sensor is generating bad data and needs maintenance. func (o LookupDeviceResultOutput) Blocked() pulumi.BoolOutput { return o.ApplyT(func(v LookupDeviceResult) bool { return v.Blocked }).(pulumi.BoolOutput) diff --git a/sdk/go/google/cloudiot/v1/getRegistry.go b/sdk/go/google/cloudiot/v1/getRegistry.go index 21ac18c398..815f313d95 100644 --- a/sdk/go/google/cloudiot/v1/getRegistry.go +++ b/sdk/go/google/cloudiot/v1/getRegistry.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a device registry configuration. @@ -82,6 +83,12 @@ func (o LookupRegistryResultOutput) ToLookupRegistryResultOutputWithContext(ctx return o } +func (o LookupRegistryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegistryResult] { + return pulumix.Output[LookupRegistryResult]{ + OutputState: o.OutputState, + } +} + // The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified. func (o LookupRegistryResultOutput) Credentials() RegistryCredentialResponseArrayOutput { return o.ApplyT(func(v LookupRegistryResult) []RegistryCredentialResponse { return v.Credentials }).(RegistryCredentialResponseArrayOutput) diff --git a/sdk/go/google/cloudiot/v1/getRegistryGroupIamPolicy.go b/sdk/go/google/cloudiot/v1/getRegistryGroupIamPolicy.go index 10257d7759..0c82a81ce1 100644 --- a/sdk/go/google/cloudiot/v1/getRegistryGroupIamPolicy.go +++ b/sdk/go/google/cloudiot/v1/getRegistryGroupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupRegistryGroupIamPolicyResultOutput) ToLookupRegistryGroupIamPolicy return o } +func (o LookupRegistryGroupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegistryGroupIamPolicyResult] { + return pulumix.Output[LookupRegistryGroupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupRegistryGroupIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegistryGroupIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/cloudiot/v1/getRegistryIamPolicy.go b/sdk/go/google/cloudiot/v1/getRegistryIamPolicy.go index 6d16ac99dc..e4d23419c0 100644 --- a/sdk/go/google/cloudiot/v1/getRegistryIamPolicy.go +++ b/sdk/go/google/cloudiot/v1/getRegistryIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupRegistryIamPolicyResultOutput) ToLookupRegistryIamPolicyResultOutp return o } +func (o LookupRegistryIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegistryIamPolicyResult] { + return pulumix.Output[LookupRegistryIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupRegistryIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegistryIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/cloudiot/v1/pulumiEnums.go b/sdk/go/google/cloudiot/v1/pulumiEnums.go index 70e8291426..5b9a3b5e9a 100644 --- a/sdk/go/google/cloudiot/v1/pulumiEnums.go +++ b/sdk/go/google/cloudiot/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // **Beta Feature** The logging verbosity for device activity. If unspecified, DeviceRegistry.log_level will be used. @@ -86,6 +87,12 @@ func (o DeviceLogLevelOutput) ToDeviceLogLevelPtrOutputWithContext(ctx context.C }).(DeviceLogLevelPtrOutput) } +func (o DeviceLogLevelOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceLogLevel] { + return pulumix.Output[DeviceLogLevel]{ + OutputState: o.OutputState, + } +} + func (o DeviceLogLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -121,6 +128,12 @@ func (o DeviceLogLevelPtrOutput) ToDeviceLogLevelPtrOutputWithContext(ctx contex return o } +func (o DeviceLogLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceLogLevel] { + return pulumix.Output[*DeviceLogLevel]{ + OutputState: o.OutputState, + } +} + func (o DeviceLogLevelPtrOutput) Elem() DeviceLogLevelOutput { return o.ApplyT(func(v *DeviceLogLevel) DeviceLogLevel { if v != nil { @@ -183,6 +196,12 @@ func (in *deviceLogLevelPtr) ToDeviceLogLevelPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(DeviceLogLevelPtrOutput) } +func (in *deviceLogLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*DeviceLogLevel] { + return pulumix.Output[*DeviceLogLevel]{ + OutputState: in.ToDeviceLogLevelPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates how to authorize and/or authenticate devices to access the gateway. type GatewayConfigGatewayAuthMethod string @@ -257,6 +276,12 @@ func (o GatewayConfigGatewayAuthMethodOutput) ToGatewayConfigGatewayAuthMethodPt }).(GatewayConfigGatewayAuthMethodPtrOutput) } +func (o GatewayConfigGatewayAuthMethodOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayConfigGatewayAuthMethod] { + return pulumix.Output[GatewayConfigGatewayAuthMethod]{ + OutputState: o.OutputState, + } +} + func (o GatewayConfigGatewayAuthMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -292,6 +317,12 @@ func (o GatewayConfigGatewayAuthMethodPtrOutput) ToGatewayConfigGatewayAuthMetho return o } +func (o GatewayConfigGatewayAuthMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayConfigGatewayAuthMethod] { + return pulumix.Output[*GatewayConfigGatewayAuthMethod]{ + OutputState: o.OutputState, + } +} + func (o GatewayConfigGatewayAuthMethodPtrOutput) Elem() GatewayConfigGatewayAuthMethodOutput { return o.ApplyT(func(v *GatewayConfigGatewayAuthMethod) GatewayConfigGatewayAuthMethod { if v != nil { @@ -354,6 +385,12 @@ func (in *gatewayConfigGatewayAuthMethodPtr) ToGatewayConfigGatewayAuthMethodPtr return pulumi.ToOutputWithContext(ctx, in).(GatewayConfigGatewayAuthMethodPtrOutput) } +func (in *gatewayConfigGatewayAuthMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*GatewayConfigGatewayAuthMethod] { + return pulumix.Output[*GatewayConfigGatewayAuthMethod]{ + OutputState: in.ToGatewayConfigGatewayAuthMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates whether the device is a gateway. type GatewayConfigGatewayType string @@ -426,6 +463,12 @@ func (o GatewayConfigGatewayTypeOutput) ToGatewayConfigGatewayTypePtrOutputWithC }).(GatewayConfigGatewayTypePtrOutput) } +func (o GatewayConfigGatewayTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayConfigGatewayType] { + return pulumix.Output[GatewayConfigGatewayType]{ + OutputState: o.OutputState, + } +} + func (o GatewayConfigGatewayTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o GatewayConfigGatewayTypePtrOutput) ToGatewayConfigGatewayTypePtrOutputWi return o } +func (o GatewayConfigGatewayTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayConfigGatewayType] { + return pulumix.Output[*GatewayConfigGatewayType]{ + OutputState: o.OutputState, + } +} + func (o GatewayConfigGatewayTypePtrOutput) Elem() GatewayConfigGatewayTypeOutput { return o.ApplyT(func(v *GatewayConfigGatewayType) GatewayConfigGatewayType { if v != nil { @@ -523,6 +572,12 @@ func (in *gatewayConfigGatewayTypePtr) ToGatewayConfigGatewayTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GatewayConfigGatewayTypePtrOutput) } +func (in *gatewayConfigGatewayTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GatewayConfigGatewayType] { + return pulumix.Output[*GatewayConfigGatewayType]{ + OutputState: in.ToGatewayConfigGatewayTypePtrOutputWithContext(ctx).OutputState, + } +} + // If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry. type HttpConfigHttpEnabledState string @@ -595,6 +650,12 @@ func (o HttpConfigHttpEnabledStateOutput) ToHttpConfigHttpEnabledStatePtrOutputW }).(HttpConfigHttpEnabledStatePtrOutput) } +func (o HttpConfigHttpEnabledStateOutput) ToOutput(ctx context.Context) pulumix.Output[HttpConfigHttpEnabledState] { + return pulumix.Output[HttpConfigHttpEnabledState]{ + OutputState: o.OutputState, + } +} + func (o HttpConfigHttpEnabledStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -630,6 +691,12 @@ func (o HttpConfigHttpEnabledStatePtrOutput) ToHttpConfigHttpEnabledStatePtrOutp return o } +func (o HttpConfigHttpEnabledStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpConfigHttpEnabledState] { + return pulumix.Output[*HttpConfigHttpEnabledState]{ + OutputState: o.OutputState, + } +} + func (o HttpConfigHttpEnabledStatePtrOutput) Elem() HttpConfigHttpEnabledStateOutput { return o.ApplyT(func(v *HttpConfigHttpEnabledState) HttpConfigHttpEnabledState { if v != nil { @@ -692,6 +759,12 @@ func (in *httpConfigHttpEnabledStatePtr) ToHttpConfigHttpEnabledStatePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(HttpConfigHttpEnabledStatePtrOutput) } +func (in *httpConfigHttpEnabledStatePtr) ToOutput(ctx context.Context) pulumix.Output[*HttpConfigHttpEnabledState] { + return pulumix.Output[*HttpConfigHttpEnabledState]{ + OutputState: in.ToHttpConfigHttpEnabledStatePtrOutputWithContext(ctx).OutputState, + } +} + // If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail. type MqttConfigMqttEnabledState string @@ -764,6 +837,12 @@ func (o MqttConfigMqttEnabledStateOutput) ToMqttConfigMqttEnabledStatePtrOutputW }).(MqttConfigMqttEnabledStatePtrOutput) } +func (o MqttConfigMqttEnabledStateOutput) ToOutput(ctx context.Context) pulumix.Output[MqttConfigMqttEnabledState] { + return pulumix.Output[MqttConfigMqttEnabledState]{ + OutputState: o.OutputState, + } +} + func (o MqttConfigMqttEnabledStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -799,6 +878,12 @@ func (o MqttConfigMqttEnabledStatePtrOutput) ToMqttConfigMqttEnabledStatePtrOutp return o } +func (o MqttConfigMqttEnabledStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MqttConfigMqttEnabledState] { + return pulumix.Output[*MqttConfigMqttEnabledState]{ + OutputState: o.OutputState, + } +} + func (o MqttConfigMqttEnabledStatePtrOutput) Elem() MqttConfigMqttEnabledStateOutput { return o.ApplyT(func(v *MqttConfigMqttEnabledState) MqttConfigMqttEnabledState { if v != nil { @@ -861,6 +946,12 @@ func (in *mqttConfigMqttEnabledStatePtr) ToMqttConfigMqttEnabledStatePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(MqttConfigMqttEnabledStatePtrOutput) } +func (in *mqttConfigMqttEnabledStatePtr) ToOutput(ctx context.Context) pulumix.Output[*MqttConfigMqttEnabledState] { + return pulumix.Output[*MqttConfigMqttEnabledState]{ + OutputState: in.ToMqttConfigMqttEnabledStatePtrOutputWithContext(ctx).OutputState, + } +} + // The certificate format. type PublicKeyCertificateFormat string @@ -931,6 +1022,12 @@ func (o PublicKeyCertificateFormatOutput) ToPublicKeyCertificateFormatPtrOutputW }).(PublicKeyCertificateFormatPtrOutput) } +func (o PublicKeyCertificateFormatOutput) ToOutput(ctx context.Context) pulumix.Output[PublicKeyCertificateFormat] { + return pulumix.Output[PublicKeyCertificateFormat]{ + OutputState: o.OutputState, + } +} + func (o PublicKeyCertificateFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -966,6 +1063,12 @@ func (o PublicKeyCertificateFormatPtrOutput) ToPublicKeyCertificateFormatPtrOutp return o } +func (o PublicKeyCertificateFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicKeyCertificateFormat] { + return pulumix.Output[*PublicKeyCertificateFormat]{ + OutputState: o.OutputState, + } +} + func (o PublicKeyCertificateFormatPtrOutput) Elem() PublicKeyCertificateFormatOutput { return o.ApplyT(func(v *PublicKeyCertificateFormat) PublicKeyCertificateFormat { if v != nil { @@ -1028,6 +1131,12 @@ func (in *publicKeyCertificateFormatPtr) ToPublicKeyCertificateFormatPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(PublicKeyCertificateFormatPtrOutput) } +func (in *publicKeyCertificateFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*PublicKeyCertificateFormat] { + return pulumix.Output[*PublicKeyCertificateFormat]{ + OutputState: in.ToPublicKeyCertificateFormatPtrOutputWithContext(ctx).OutputState, + } +} + // The format of the key. type PublicKeyCredentialFormat string @@ -1104,6 +1213,12 @@ func (o PublicKeyCredentialFormatOutput) ToPublicKeyCredentialFormatPtrOutputWit }).(PublicKeyCredentialFormatPtrOutput) } +func (o PublicKeyCredentialFormatOutput) ToOutput(ctx context.Context) pulumix.Output[PublicKeyCredentialFormat] { + return pulumix.Output[PublicKeyCredentialFormat]{ + OutputState: o.OutputState, + } +} + func (o PublicKeyCredentialFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1139,6 +1254,12 @@ func (o PublicKeyCredentialFormatPtrOutput) ToPublicKeyCredentialFormatPtrOutput return o } +func (o PublicKeyCredentialFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicKeyCredentialFormat] { + return pulumix.Output[*PublicKeyCredentialFormat]{ + OutputState: o.OutputState, + } +} + func (o PublicKeyCredentialFormatPtrOutput) Elem() PublicKeyCredentialFormatOutput { return o.ApplyT(func(v *PublicKeyCredentialFormat) PublicKeyCredentialFormat { if v != nil { @@ -1201,6 +1322,12 @@ func (in *publicKeyCredentialFormatPtr) ToPublicKeyCredentialFormatPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(PublicKeyCredentialFormatPtrOutput) } +func (in *publicKeyCredentialFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*PublicKeyCredentialFormat] { + return pulumix.Output[*PublicKeyCredentialFormat]{ + OutputState: in.ToPublicKeyCredentialFormatPtrOutputWithContext(ctx).OutputState, + } +} + // **Beta Feature** The default logging verbosity for activity from devices in this registry. The verbosity level can be overridden by Device.log_level. type RegistryLogLevel string @@ -1277,6 +1404,12 @@ func (o RegistryLogLevelOutput) ToRegistryLogLevelPtrOutputWithContext(ctx conte }).(RegistryLogLevelPtrOutput) } +func (o RegistryLogLevelOutput) ToOutput(ctx context.Context) pulumix.Output[RegistryLogLevel] { + return pulumix.Output[RegistryLogLevel]{ + OutputState: o.OutputState, + } +} + func (o RegistryLogLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1312,6 +1445,12 @@ func (o RegistryLogLevelPtrOutput) ToRegistryLogLevelPtrOutputWithContext(ctx co return o } +func (o RegistryLogLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistryLogLevel] { + return pulumix.Output[*RegistryLogLevel]{ + OutputState: o.OutputState, + } +} + func (o RegistryLogLevelPtrOutput) Elem() RegistryLogLevelOutput { return o.ApplyT(func(v *RegistryLogLevel) RegistryLogLevel { if v != nil { @@ -1374,6 +1513,12 @@ func (in *registryLogLevelPtr) ToRegistryLogLevelPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(RegistryLogLevelPtrOutput) } +func (in *registryLogLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*RegistryLogLevel] { + return pulumix.Output[*RegistryLogLevel]{ + OutputState: in.ToRegistryLogLevelPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*DeviceLogLevelInput)(nil)).Elem(), DeviceLogLevel("LOG_LEVEL_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*DeviceLogLevelPtrInput)(nil)).Elem(), DeviceLogLevel("LOG_LEVEL_UNSPECIFIED")) diff --git a/sdk/go/google/cloudiot/v1/pulumiTypes.go b/sdk/go/google/cloudiot/v1/pulumiTypes.go index aade23cbb4..5e6b92eaf3 100644 --- a/sdk/go/google/cloudiot/v1/pulumiTypes.go +++ b/sdk/go/google/cloudiot/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -226,6 +263,12 @@ func (i DeviceConfigArgs) ToDeviceConfigOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DeviceConfigOutput) } +func (i DeviceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceConfig] { + return pulumix.Output[DeviceConfig]{ + OutputState: i.ToDeviceConfigOutputWithContext(ctx).OutputState, + } +} + func (i DeviceConfigArgs) ToDeviceConfigPtrOutput() DeviceConfigPtrOutput { return i.ToDeviceConfigPtrOutputWithContext(context.Background()) } @@ -267,6 +310,12 @@ func (i *deviceConfigPtrType) ToDeviceConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DeviceConfigPtrOutput) } +func (i *deviceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeviceConfig] { + return pulumix.Output[*DeviceConfig]{ + OutputState: i.ToDeviceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The device configuration. Eventually delivered to devices. type DeviceConfigOutput struct{ *pulumi.OutputState } @@ -292,6 +341,12 @@ func (o DeviceConfigOutput) ToDeviceConfigPtrOutputWithContext(ctx context.Conte }).(DeviceConfigPtrOutput) } +func (o DeviceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceConfig] { + return pulumix.Output[DeviceConfig]{ + OutputState: o.OutputState, + } +} + // The device configuration data. func (o DeviceConfigOutput) BinaryData() pulumi.StringPtrOutput { return o.ApplyT(func(v DeviceConfig) *string { return v.BinaryData }).(pulumi.StringPtrOutput) @@ -311,6 +366,12 @@ func (o DeviceConfigPtrOutput) ToDeviceConfigPtrOutputWithContext(ctx context.Co return o } +func (o DeviceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeviceConfig] { + return pulumix.Output[*DeviceConfig]{ + OutputState: o.OutputState, + } +} + func (o DeviceConfigPtrOutput) Elem() DeviceConfigOutput { return o.ApplyT(func(v *DeviceConfig) DeviceConfig { if v != nil { @@ -358,6 +419,12 @@ func (o DeviceConfigResponseOutput) ToDeviceConfigResponseOutputWithContext(ctx return o } +func (o DeviceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceConfigResponse] { + return pulumix.Output[DeviceConfigResponse]{ + OutputState: o.OutputState, + } +} + // The device configuration data. func (o DeviceConfigResponseOutput) BinaryData() pulumi.StringOutput { return o.ApplyT(func(v DeviceConfigResponse) string { return v.BinaryData }).(pulumi.StringOutput) @@ -417,6 +484,12 @@ func (i DeviceCredentialArgs) ToDeviceCredentialOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DeviceCredentialOutput) } +func (i DeviceCredentialArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceCredential] { + return pulumix.Output[DeviceCredential]{ + OutputState: i.ToDeviceCredentialOutputWithContext(ctx).OutputState, + } +} + // DeviceCredentialArrayInput is an input type that accepts DeviceCredentialArray and DeviceCredentialArrayOutput values. // You can construct a concrete instance of `DeviceCredentialArrayInput` via: // @@ -442,6 +515,12 @@ func (i DeviceCredentialArray) ToDeviceCredentialArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(DeviceCredentialArrayOutput) } +func (i DeviceCredentialArray) ToOutput(ctx context.Context) pulumix.Output[[]DeviceCredential] { + return pulumix.Output[[]DeviceCredential]{ + OutputState: i.ToDeviceCredentialArrayOutputWithContext(ctx).OutputState, + } +} + // A server-stored device credential used for authentication. type DeviceCredentialOutput struct{ *pulumi.OutputState } @@ -457,6 +536,12 @@ func (o DeviceCredentialOutput) ToDeviceCredentialOutputWithContext(ctx context. return o } +func (o DeviceCredentialOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceCredential] { + return pulumix.Output[DeviceCredential]{ + OutputState: o.OutputState, + } +} + // [Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted. func (o DeviceCredentialOutput) ExpirationTime() pulumi.StringPtrOutput { return o.ApplyT(func(v DeviceCredential) *string { return v.ExpirationTime }).(pulumi.StringPtrOutput) @@ -481,6 +566,12 @@ func (o DeviceCredentialArrayOutput) ToDeviceCredentialArrayOutputWithContext(ct return o } +func (o DeviceCredentialArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceCredential] { + return pulumix.Output[[]DeviceCredential]{ + OutputState: o.OutputState, + } +} + func (o DeviceCredentialArrayOutput) Index(i pulumi.IntInput) DeviceCredentialOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceCredential { return vs[0].([]DeviceCredential)[vs[1].(int)] @@ -510,6 +601,12 @@ func (o DeviceCredentialResponseOutput) ToDeviceCredentialResponseOutputWithCont return o } +func (o DeviceCredentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceCredentialResponse] { + return pulumix.Output[DeviceCredentialResponse]{ + OutputState: o.OutputState, + } +} + // [Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted. func (o DeviceCredentialResponseOutput) ExpirationTime() pulumi.StringOutput { return o.ApplyT(func(v DeviceCredentialResponse) string { return v.ExpirationTime }).(pulumi.StringOutput) @@ -534,6 +631,12 @@ func (o DeviceCredentialResponseArrayOutput) ToDeviceCredentialResponseArrayOutp return o } +func (o DeviceCredentialResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceCredentialResponse] { + return pulumix.Output[[]DeviceCredentialResponse]{ + OutputState: o.OutputState, + } +} + func (o DeviceCredentialResponseArrayOutput) Index(i pulumi.IntInput) DeviceCredentialResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceCredentialResponse { return vs[0].([]DeviceCredentialResponse)[vs[1].(int)] @@ -563,6 +666,12 @@ func (o DeviceStateResponseOutput) ToDeviceStateResponseOutputWithContext(ctx co return o } +func (o DeviceStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceStateResponse] { + return pulumix.Output[DeviceStateResponse]{ + OutputState: o.OutputState, + } +} + // The device state data. func (o DeviceStateResponseOutput) BinaryData() pulumi.StringOutput { return o.ApplyT(func(v DeviceStateResponse) string { return v.BinaryData }).(pulumi.StringOutput) @@ -612,6 +721,12 @@ func (i EventNotificationConfigArgs) ToEventNotificationConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(EventNotificationConfigOutput) } +func (i EventNotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EventNotificationConfig] { + return pulumix.Output[EventNotificationConfig]{ + OutputState: i.ToEventNotificationConfigOutputWithContext(ctx).OutputState, + } +} + // EventNotificationConfigArrayInput is an input type that accepts EventNotificationConfigArray and EventNotificationConfigArrayOutput values. // You can construct a concrete instance of `EventNotificationConfigArrayInput` via: // @@ -637,6 +752,12 @@ func (i EventNotificationConfigArray) ToEventNotificationConfigArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(EventNotificationConfigArrayOutput) } +func (i EventNotificationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]EventNotificationConfig] { + return pulumix.Output[[]EventNotificationConfig]{ + OutputState: i.ToEventNotificationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // The configuration for forwarding telemetry events. type EventNotificationConfigOutput struct{ *pulumi.OutputState } @@ -652,6 +773,12 @@ func (o EventNotificationConfigOutput) ToEventNotificationConfigOutputWithContex return o } +func (o EventNotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EventNotificationConfig] { + return pulumix.Output[EventNotificationConfig]{ + OutputState: o.OutputState, + } +} + // A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`. func (o EventNotificationConfigOutput) PubsubTopicName() pulumi.StringPtrOutput { return o.ApplyT(func(v EventNotificationConfig) *string { return v.PubsubTopicName }).(pulumi.StringPtrOutput) @@ -676,6 +803,12 @@ func (o EventNotificationConfigArrayOutput) ToEventNotificationConfigArrayOutput return o } +func (o EventNotificationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventNotificationConfig] { + return pulumix.Output[[]EventNotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o EventNotificationConfigArrayOutput) Index(i pulumi.IntInput) EventNotificationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventNotificationConfig { return vs[0].([]EventNotificationConfig)[vs[1].(int)] @@ -705,6 +838,12 @@ func (o EventNotificationConfigResponseOutput) ToEventNotificationConfigResponse return o } +func (o EventNotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventNotificationConfigResponse] { + return pulumix.Output[EventNotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`. func (o EventNotificationConfigResponseOutput) PubsubTopicName() pulumi.StringOutput { return o.ApplyT(func(v EventNotificationConfigResponse) string { return v.PubsubTopicName }).(pulumi.StringOutput) @@ -729,6 +868,12 @@ func (o EventNotificationConfigResponseArrayOutput) ToEventNotificationConfigRes return o } +func (o EventNotificationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventNotificationConfigResponse] { + return pulumix.Output[[]EventNotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o EventNotificationConfigResponseArrayOutput) Index(i pulumi.IntInput) EventNotificationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventNotificationConfigResponse { return vs[0].([]EventNotificationConfigResponse)[vs[1].(int)] @@ -782,6 +927,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -823,6 +974,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -848,6 +1005,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -882,6 +1045,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -959,6 +1128,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1018,6 +1193,12 @@ func (i GatewayConfigArgs) ToGatewayConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GatewayConfigOutput) } +func (i GatewayConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GatewayConfig] { + return pulumix.Output[GatewayConfig]{ + OutputState: i.ToGatewayConfigOutputWithContext(ctx).OutputState, + } +} + func (i GatewayConfigArgs) ToGatewayConfigPtrOutput() GatewayConfigPtrOutput { return i.ToGatewayConfigPtrOutputWithContext(context.Background()) } @@ -1059,6 +1240,12 @@ func (i *gatewayConfigPtrType) ToGatewayConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(GatewayConfigPtrOutput) } +func (i *gatewayConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GatewayConfig] { + return pulumix.Output[*GatewayConfig]{ + OutputState: i.ToGatewayConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Gateway-related configuration and state. type GatewayConfigOutput struct{ *pulumi.OutputState } @@ -1084,6 +1271,12 @@ func (o GatewayConfigOutput) ToGatewayConfigPtrOutputWithContext(ctx context.Con }).(GatewayConfigPtrOutput) } +func (o GatewayConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayConfig] { + return pulumix.Output[GatewayConfig]{ + OutputState: o.OutputState, + } +} + // Indicates how to authorize and/or authenticate devices to access the gateway. func (o GatewayConfigOutput) GatewayAuthMethod() GatewayConfigGatewayAuthMethodPtrOutput { return o.ApplyT(func(v GatewayConfig) *GatewayConfigGatewayAuthMethod { return v.GatewayAuthMethod }).(GatewayConfigGatewayAuthMethodPtrOutput) @@ -1108,6 +1301,12 @@ func (o GatewayConfigPtrOutput) ToGatewayConfigPtrOutputWithContext(ctx context. return o } +func (o GatewayConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayConfig] { + return pulumix.Output[*GatewayConfig]{ + OutputState: o.OutputState, + } +} + func (o GatewayConfigPtrOutput) Elem() GatewayConfigOutput { return o.ApplyT(func(v *GatewayConfig) GatewayConfig { if v != nil { @@ -1165,6 +1364,12 @@ func (o GatewayConfigResponseOutput) ToGatewayConfigResponseOutputWithContext(ct return o } +func (o GatewayConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayConfigResponse] { + return pulumix.Output[GatewayConfigResponse]{ + OutputState: o.OutputState, + } +} + // Indicates how to authorize and/or authenticate devices to access the gateway. func (o GatewayConfigResponseOutput) GatewayAuthMethod() pulumi.StringOutput { return o.ApplyT(func(v GatewayConfigResponse) string { return v.GatewayAuthMethod }).(pulumi.StringOutput) @@ -1220,6 +1425,12 @@ func (i HttpConfigArgs) ToHttpConfigOutputWithContext(ctx context.Context) HttpC return pulumi.ToOutputWithContext(ctx, i).(HttpConfigOutput) } +func (i HttpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[HttpConfig] { + return pulumix.Output[HttpConfig]{ + OutputState: i.ToHttpConfigOutputWithContext(ctx).OutputState, + } +} + func (i HttpConfigArgs) ToHttpConfigPtrOutput() HttpConfigPtrOutput { return i.ToHttpConfigPtrOutputWithContext(context.Background()) } @@ -1261,6 +1472,12 @@ func (i *httpConfigPtrType) ToHttpConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(HttpConfigPtrOutput) } +func (i *httpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpConfig] { + return pulumix.Output[*HttpConfig]{ + OutputState: i.ToHttpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration of the HTTP bridge for a device registry. type HttpConfigOutput struct{ *pulumi.OutputState } @@ -1286,6 +1503,12 @@ func (o HttpConfigOutput) ToHttpConfigPtrOutputWithContext(ctx context.Context) }).(HttpConfigPtrOutput) } +func (o HttpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[HttpConfig] { + return pulumix.Output[HttpConfig]{ + OutputState: o.OutputState, + } +} + // If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry. func (o HttpConfigOutput) HttpEnabledState() HttpConfigHttpEnabledStatePtrOutput { return o.ApplyT(func(v HttpConfig) *HttpConfigHttpEnabledState { return v.HttpEnabledState }).(HttpConfigHttpEnabledStatePtrOutput) @@ -1305,6 +1528,12 @@ func (o HttpConfigPtrOutput) ToHttpConfigPtrOutputWithContext(ctx context.Contex return o } +func (o HttpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpConfig] { + return pulumix.Output[*HttpConfig]{ + OutputState: o.OutputState, + } +} + func (o HttpConfigPtrOutput) Elem() HttpConfigOutput { return o.ApplyT(func(v *HttpConfig) HttpConfig { if v != nil { @@ -1346,6 +1575,12 @@ func (o HttpConfigResponseOutput) ToHttpConfigResponseOutputWithContext(ctx cont return o } +func (o HttpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpConfigResponse] { + return pulumix.Output[HttpConfigResponse]{ + OutputState: o.OutputState, + } +} + // If enabled, allows devices to use DeviceService via the HTTP protocol. Otherwise, any requests to DeviceService will fail for this registry. func (o HttpConfigResponseOutput) HttpEnabledState() pulumi.StringOutput { return o.ApplyT(func(v HttpConfigResponse) string { return v.HttpEnabledState }).(pulumi.StringOutput) @@ -1386,6 +1621,12 @@ func (i MqttConfigArgs) ToMqttConfigOutputWithContext(ctx context.Context) MqttC return pulumi.ToOutputWithContext(ctx, i).(MqttConfigOutput) } +func (i MqttConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MqttConfig] { + return pulumix.Output[MqttConfig]{ + OutputState: i.ToMqttConfigOutputWithContext(ctx).OutputState, + } +} + func (i MqttConfigArgs) ToMqttConfigPtrOutput() MqttConfigPtrOutput { return i.ToMqttConfigPtrOutputWithContext(context.Background()) } @@ -1427,6 +1668,12 @@ func (i *mqttConfigPtrType) ToMqttConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(MqttConfigPtrOutput) } +func (i *mqttConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MqttConfig] { + return pulumix.Output[*MqttConfig]{ + OutputState: i.ToMqttConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration of MQTT for a device registry. type MqttConfigOutput struct{ *pulumi.OutputState } @@ -1452,6 +1699,12 @@ func (o MqttConfigOutput) ToMqttConfigPtrOutputWithContext(ctx context.Context) }).(MqttConfigPtrOutput) } +func (o MqttConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MqttConfig] { + return pulumix.Output[MqttConfig]{ + OutputState: o.OutputState, + } +} + // If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail. func (o MqttConfigOutput) MqttEnabledState() MqttConfigMqttEnabledStatePtrOutput { return o.ApplyT(func(v MqttConfig) *MqttConfigMqttEnabledState { return v.MqttEnabledState }).(MqttConfigMqttEnabledStatePtrOutput) @@ -1471,6 +1724,12 @@ func (o MqttConfigPtrOutput) ToMqttConfigPtrOutputWithContext(ctx context.Contex return o } +func (o MqttConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MqttConfig] { + return pulumix.Output[*MqttConfig]{ + OutputState: o.OutputState, + } +} + func (o MqttConfigPtrOutput) Elem() MqttConfigOutput { return o.ApplyT(func(v *MqttConfig) MqttConfig { if v != nil { @@ -1512,6 +1771,12 @@ func (o MqttConfigResponseOutput) ToMqttConfigResponseOutputWithContext(ctx cont return o } +func (o MqttConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MqttConfigResponse] { + return pulumix.Output[MqttConfigResponse]{ + OutputState: o.OutputState, + } +} + // If enabled, allows connections using the MQTT protocol. Otherwise, MQTT connections to this registry will fail. func (o MqttConfigResponseOutput) MqttEnabledState() pulumi.StringOutput { return o.ApplyT(func(v MqttConfigResponse) string { return v.MqttEnabledState }).(pulumi.StringOutput) @@ -1556,6 +1821,12 @@ func (i PublicKeyCertificateArgs) ToPublicKeyCertificateOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PublicKeyCertificateOutput) } +func (i PublicKeyCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[PublicKeyCertificate] { + return pulumix.Output[PublicKeyCertificate]{ + OutputState: i.ToPublicKeyCertificateOutputWithContext(ctx).OutputState, + } +} + func (i PublicKeyCertificateArgs) ToPublicKeyCertificatePtrOutput() PublicKeyCertificatePtrOutput { return i.ToPublicKeyCertificatePtrOutputWithContext(context.Background()) } @@ -1597,6 +1868,12 @@ func (i *publicKeyCertificatePtrType) ToPublicKeyCertificatePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PublicKeyCertificatePtrOutput) } +func (i *publicKeyCertificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*PublicKeyCertificate] { + return pulumix.Output[*PublicKeyCertificate]{ + OutputState: i.ToPublicKeyCertificatePtrOutputWithContext(ctx).OutputState, + } +} + // A public key certificate format and data. type PublicKeyCertificateOutput struct{ *pulumi.OutputState } @@ -1622,6 +1899,12 @@ func (o PublicKeyCertificateOutput) ToPublicKeyCertificatePtrOutputWithContext(c }).(PublicKeyCertificatePtrOutput) } +func (o PublicKeyCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[PublicKeyCertificate] { + return pulumix.Output[PublicKeyCertificate]{ + OutputState: o.OutputState, + } +} + // The certificate data. func (o PublicKeyCertificateOutput) Certificate() pulumi.StringPtrOutput { return o.ApplyT(func(v PublicKeyCertificate) *string { return v.Certificate }).(pulumi.StringPtrOutput) @@ -1646,6 +1929,12 @@ func (o PublicKeyCertificatePtrOutput) ToPublicKeyCertificatePtrOutputWithContex return o } +func (o PublicKeyCertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicKeyCertificate] { + return pulumix.Output[*PublicKeyCertificate]{ + OutputState: o.OutputState, + } +} + func (o PublicKeyCertificatePtrOutput) Elem() PublicKeyCertificateOutput { return o.ApplyT(func(v *PublicKeyCertificate) PublicKeyCertificate { if v != nil { @@ -1701,6 +1990,12 @@ func (o PublicKeyCertificateResponseOutput) ToPublicKeyCertificateResponseOutput return o } +func (o PublicKeyCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublicKeyCertificateResponse] { + return pulumix.Output[PublicKeyCertificateResponse]{ + OutputState: o.OutputState, + } +} + // The certificate data. func (o PublicKeyCertificateResponseOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v PublicKeyCertificateResponse) string { return v.Certificate }).(pulumi.StringOutput) @@ -1755,6 +2050,12 @@ func (i PublicKeyCredentialArgs) ToPublicKeyCredentialOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PublicKeyCredentialOutput) } +func (i PublicKeyCredentialArgs) ToOutput(ctx context.Context) pulumix.Output[PublicKeyCredential] { + return pulumix.Output[PublicKeyCredential]{ + OutputState: i.ToPublicKeyCredentialOutputWithContext(ctx).OutputState, + } +} + func (i PublicKeyCredentialArgs) ToPublicKeyCredentialPtrOutput() PublicKeyCredentialPtrOutput { return i.ToPublicKeyCredentialPtrOutputWithContext(context.Background()) } @@ -1796,6 +2097,12 @@ func (i *publicKeyCredentialPtrType) ToPublicKeyCredentialPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(PublicKeyCredentialPtrOutput) } +func (i *publicKeyCredentialPtrType) ToOutput(ctx context.Context) pulumix.Output[*PublicKeyCredential] { + return pulumix.Output[*PublicKeyCredential]{ + OutputState: i.ToPublicKeyCredentialPtrOutputWithContext(ctx).OutputState, + } +} + // A public key format and data. type PublicKeyCredentialOutput struct{ *pulumi.OutputState } @@ -1821,6 +2128,12 @@ func (o PublicKeyCredentialOutput) ToPublicKeyCredentialPtrOutputWithContext(ctx }).(PublicKeyCredentialPtrOutput) } +func (o PublicKeyCredentialOutput) ToOutput(ctx context.Context) pulumix.Output[PublicKeyCredential] { + return pulumix.Output[PublicKeyCredential]{ + OutputState: o.OutputState, + } +} + // The format of the key. func (o PublicKeyCredentialOutput) Format() PublicKeyCredentialFormatPtrOutput { return o.ApplyT(func(v PublicKeyCredential) *PublicKeyCredentialFormat { return v.Format }).(PublicKeyCredentialFormatPtrOutput) @@ -1845,6 +2158,12 @@ func (o PublicKeyCredentialPtrOutput) ToPublicKeyCredentialPtrOutputWithContext( return o } +func (o PublicKeyCredentialPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicKeyCredential] { + return pulumix.Output[*PublicKeyCredential]{ + OutputState: o.OutputState, + } +} + func (o PublicKeyCredentialPtrOutput) Elem() PublicKeyCredentialOutput { return o.ApplyT(func(v *PublicKeyCredential) PublicKeyCredential { if v != nil { @@ -1898,6 +2217,12 @@ func (o PublicKeyCredentialResponseOutput) ToPublicKeyCredentialResponseOutputWi return o } +func (o PublicKeyCredentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublicKeyCredentialResponse] { + return pulumix.Output[PublicKeyCredentialResponse]{ + OutputState: o.OutputState, + } +} + // The format of the key. func (o PublicKeyCredentialResponseOutput) Format() pulumi.StringOutput { return o.ApplyT(func(v PublicKeyCredentialResponse) string { return v.Format }).(pulumi.StringOutput) @@ -1943,6 +2268,12 @@ func (i RegistryCredentialArgs) ToRegistryCredentialOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RegistryCredentialOutput) } +func (i RegistryCredentialArgs) ToOutput(ctx context.Context) pulumix.Output[RegistryCredential] { + return pulumix.Output[RegistryCredential]{ + OutputState: i.ToRegistryCredentialOutputWithContext(ctx).OutputState, + } +} + // RegistryCredentialArrayInput is an input type that accepts RegistryCredentialArray and RegistryCredentialArrayOutput values. // You can construct a concrete instance of `RegistryCredentialArrayInput` via: // @@ -1968,6 +2299,12 @@ func (i RegistryCredentialArray) ToRegistryCredentialArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RegistryCredentialArrayOutput) } +func (i RegistryCredentialArray) ToOutput(ctx context.Context) pulumix.Output[[]RegistryCredential] { + return pulumix.Output[[]RegistryCredential]{ + OutputState: i.ToRegistryCredentialArrayOutputWithContext(ctx).OutputState, + } +} + // A server-stored registry credential used to validate device credentials. type RegistryCredentialOutput struct{ *pulumi.OutputState } @@ -1983,6 +2320,12 @@ func (o RegistryCredentialOutput) ToRegistryCredentialOutputWithContext(ctx cont return o } +func (o RegistryCredentialOutput) ToOutput(ctx context.Context) pulumix.Output[RegistryCredential] { + return pulumix.Output[RegistryCredential]{ + OutputState: o.OutputState, + } +} + // A public key certificate used to verify the device credentials. func (o RegistryCredentialOutput) PublicKeyCertificate() PublicKeyCertificatePtrOutput { return o.ApplyT(func(v RegistryCredential) *PublicKeyCertificate { return v.PublicKeyCertificate }).(PublicKeyCertificatePtrOutput) @@ -2002,6 +2345,12 @@ func (o RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutputWithContex return o } +func (o RegistryCredentialArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegistryCredential] { + return pulumix.Output[[]RegistryCredential]{ + OutputState: o.OutputState, + } +} + func (o RegistryCredentialArrayOutput) Index(i pulumi.IntInput) RegistryCredentialOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistryCredential { return vs[0].([]RegistryCredential)[vs[1].(int)] @@ -2029,6 +2378,12 @@ func (o RegistryCredentialResponseOutput) ToRegistryCredentialResponseOutputWith return o } +func (o RegistryCredentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegistryCredentialResponse] { + return pulumix.Output[RegistryCredentialResponse]{ + OutputState: o.OutputState, + } +} + // A public key certificate used to verify the device credentials. func (o RegistryCredentialResponseOutput) PublicKeyCertificate() PublicKeyCertificateResponseOutput { return o.ApplyT(func(v RegistryCredentialResponse) PublicKeyCertificateResponse { return v.PublicKeyCertificate }).(PublicKeyCertificateResponseOutput) @@ -2048,6 +2403,12 @@ func (o RegistryCredentialResponseArrayOutput) ToRegistryCredentialResponseArray return o } +func (o RegistryCredentialResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegistryCredentialResponse] { + return pulumix.Output[[]RegistryCredentialResponse]{ + OutputState: o.OutputState, + } +} + func (o RegistryCredentialResponseArrayOutput) Index(i pulumi.IntInput) RegistryCredentialResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistryCredentialResponse { return vs[0].([]RegistryCredentialResponse)[vs[1].(int)] @@ -2089,6 +2450,12 @@ func (i StateNotificationConfigArgs) ToStateNotificationConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(StateNotificationConfigOutput) } +func (i StateNotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[StateNotificationConfig] { + return pulumix.Output[StateNotificationConfig]{ + OutputState: i.ToStateNotificationConfigOutputWithContext(ctx).OutputState, + } +} + func (i StateNotificationConfigArgs) ToStateNotificationConfigPtrOutput() StateNotificationConfigPtrOutput { return i.ToStateNotificationConfigPtrOutputWithContext(context.Background()) } @@ -2130,6 +2497,12 @@ func (i *stateNotificationConfigPtrType) ToStateNotificationConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(StateNotificationConfigPtrOutput) } +func (i *stateNotificationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*StateNotificationConfig] { + return pulumix.Output[*StateNotificationConfig]{ + OutputState: i.ToStateNotificationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for notification of new states received from the device. type StateNotificationConfigOutput struct{ *pulumi.OutputState } @@ -2155,6 +2528,12 @@ func (o StateNotificationConfigOutput) ToStateNotificationConfigPtrOutputWithCon }).(StateNotificationConfigPtrOutput) } +func (o StateNotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[StateNotificationConfig] { + return pulumix.Output[StateNotificationConfig]{ + OutputState: o.OutputState, + } +} + // A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`. func (o StateNotificationConfigOutput) PubsubTopicName() pulumi.StringPtrOutput { return o.ApplyT(func(v StateNotificationConfig) *string { return v.PubsubTopicName }).(pulumi.StringPtrOutput) @@ -2174,6 +2553,12 @@ func (o StateNotificationConfigPtrOutput) ToStateNotificationConfigPtrOutputWith return o } +func (o StateNotificationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StateNotificationConfig] { + return pulumix.Output[*StateNotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o StateNotificationConfigPtrOutput) Elem() StateNotificationConfigOutput { return o.ApplyT(func(v *StateNotificationConfig) StateNotificationConfig { if v != nil { @@ -2215,6 +2600,12 @@ func (o StateNotificationConfigResponseOutput) ToStateNotificationConfigResponse return o } +func (o StateNotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StateNotificationConfigResponse] { + return pulumix.Output[StateNotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // A Cloud Pub/Sub topic name. For example, `projects/myProject/topics/deviceEvents`. func (o StateNotificationConfigResponseOutput) PubsubTopicName() pulumi.StringOutput { return o.ApplyT(func(v StateNotificationConfigResponse) string { return v.PubsubTopicName }).(pulumi.StringOutput) @@ -2245,6 +2636,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -2291,6 +2688,12 @@ func (o X509CertificateDetailsResponseOutput) ToX509CertificateDetailsResponseOu return o } +func (o X509CertificateDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[X509CertificateDetailsResponse] { + return pulumix.Output[X509CertificateDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The time the certificate becomes invalid. func (o X509CertificateDetailsResponseOutput) ExpiryTime() pulumi.StringOutput { return o.ApplyT(func(v X509CertificateDetailsResponse) string { return v.ExpiryTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudiot/v1/registry.go b/sdk/go/google/cloudiot/v1/registry.go index 1851b72431..1b63bcf6c1 100644 --- a/sdk/go/google/cloudiot/v1/registry.go +++ b/sdk/go/google/cloudiot/v1/registry.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a device registry that contains devices. @@ -143,6 +144,12 @@ func (i *Registry) ToRegistryOutputWithContext(ctx context.Context) RegistryOutp return pulumi.ToOutputWithContext(ctx, i).(RegistryOutput) } +func (i *Registry) ToOutput(ctx context.Context) pulumix.Output[*Registry] { + return pulumix.Output[*Registry]{ + OutputState: i.ToRegistryOutputWithContext(ctx).OutputState, + } +} + type RegistryOutput struct{ *pulumi.OutputState } func (RegistryOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o RegistryOutput) ToRegistryOutputWithContext(ctx context.Context) Registr return o } +func (o RegistryOutput) ToOutput(ctx context.Context) pulumix.Output[*Registry] { + return pulumix.Output[*Registry]{ + OutputState: o.OutputState, + } +} + // The credentials used to verify the device credentials. No more than 10 credentials can be bound to a single registry at a time. The verification process occurs at the time of device creation or update. If this field is empty, no verification is performed. Otherwise, the credentials of a newly created device or added credentials of an updated device should be signed with one of these registry credentials. Note, however, that existing devices will never be affected by modifications to this list of credentials: after a device has been successfully created in a registry, it should be able to connect even if its registry credentials are revoked, deleted, or modified. func (o RegistryOutput) Credentials() RegistryCredentialResponseArrayOutput { return o.ApplyT(func(v *Registry) RegistryCredentialResponseArrayOutput { return v.Credentials }).(RegistryCredentialResponseArrayOutput) diff --git a/sdk/go/google/cloudiot/v1/registryGroupIamBinding.go b/sdk/go/google/cloudiot/v1/registryGroupIamBinding.go index 9aac69cac4..1b25cb45d4 100644 --- a/sdk/go/google/cloudiot/v1/registryGroupIamBinding.go +++ b/sdk/go/google/cloudiot/v1/registryGroupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegistryGroupIamBinding) ToRegistryGroupIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RegistryGroupIamBindingOutput) } +func (i *RegistryGroupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegistryGroupIamBinding] { + return pulumix.Output[*RegistryGroupIamBinding]{ + OutputState: i.ToRegistryGroupIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegistryGroupIamBindingOutput struct{ *pulumi.OutputState } func (RegistryGroupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistryGroupIamBindingOutput) ToRegistryGroupIamBindingOutputWithContex return o } +func (o RegistryGroupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistryGroupIamBinding] { + return pulumix.Output[*RegistryGroupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistryGroupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistryGroupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudiot/v1/registryGroupIamMember.go b/sdk/go/google/cloudiot/v1/registryGroupIamMember.go index 8e9377e791..88360cda16 100644 --- a/sdk/go/google/cloudiot/v1/registryGroupIamMember.go +++ b/sdk/go/google/cloudiot/v1/registryGroupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegistryGroupIamMember) ToRegistryGroupIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegistryGroupIamMemberOutput) } +func (i *RegistryGroupIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegistryGroupIamMember] { + return pulumix.Output[*RegistryGroupIamMember]{ + OutputState: i.ToRegistryGroupIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegistryGroupIamMemberOutput struct{ *pulumi.OutputState } func (RegistryGroupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistryGroupIamMemberOutput) ToRegistryGroupIamMemberOutputWithContext( return o } +func (o RegistryGroupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistryGroupIamMember] { + return pulumix.Output[*RegistryGroupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistryGroupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistryGroupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudiot/v1/registryGroupIamPolicy.go b/sdk/go/google/cloudiot/v1/registryGroupIamPolicy.go index 2c3fe6ed87..c7fc9d0178 100644 --- a/sdk/go/google/cloudiot/v1/registryGroupIamPolicy.go +++ b/sdk/go/google/cloudiot/v1/registryGroupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -132,6 +133,12 @@ func (i *RegistryGroupIamPolicy) ToRegistryGroupIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegistryGroupIamPolicyOutput) } +func (i *RegistryGroupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegistryGroupIamPolicy] { + return pulumix.Output[*RegistryGroupIamPolicy]{ + OutputState: i.ToRegistryGroupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegistryGroupIamPolicyOutput struct{ *pulumi.OutputState } func (RegistryGroupIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o RegistryGroupIamPolicyOutput) ToRegistryGroupIamPolicyOutputWithContext( return o } +func (o RegistryGroupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistryGroupIamPolicy] { + return pulumix.Output[*RegistryGroupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o RegistryGroupIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegistryGroupIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/cloudiot/v1/registryIamBinding.go b/sdk/go/google/cloudiot/v1/registryIamBinding.go index dd6f63069f..1d99824c95 100644 --- a/sdk/go/google/cloudiot/v1/registryIamBinding.go +++ b/sdk/go/google/cloudiot/v1/registryIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegistryIamBinding) ToRegistryIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(RegistryIamBindingOutput) } +func (i *RegistryIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegistryIamBinding] { + return pulumix.Output[*RegistryIamBinding]{ + OutputState: i.ToRegistryIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegistryIamBindingOutput struct{ *pulumi.OutputState } func (RegistryIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistryIamBindingOutput) ToRegistryIamBindingOutputWithContext(ctx cont return o } +func (o RegistryIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistryIamBinding] { + return pulumix.Output[*RegistryIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistryIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistryIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudiot/v1/registryIamMember.go b/sdk/go/google/cloudiot/v1/registryIamMember.go index 2806e42740..00d43f5d87 100644 --- a/sdk/go/google/cloudiot/v1/registryIamMember.go +++ b/sdk/go/google/cloudiot/v1/registryIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegistryIamMember) ToRegistryIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RegistryIamMemberOutput) } +func (i *RegistryIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegistryIamMember] { + return pulumix.Output[*RegistryIamMember]{ + OutputState: i.ToRegistryIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegistryIamMemberOutput struct{ *pulumi.OutputState } func (RegistryIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistryIamMemberOutput) ToRegistryIamMemberOutputWithContext(ctx contex return o } +func (o RegistryIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistryIamMember] { + return pulumix.Output[*RegistryIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistryIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistryIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudiot/v1/registryIamPolicy.go b/sdk/go/google/cloudiot/v1/registryIamPolicy.go index 7635f1aeb1..ba665a1bf2 100644 --- a/sdk/go/google/cloudiot/v1/registryIamPolicy.go +++ b/sdk/go/google/cloudiot/v1/registryIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -125,6 +126,12 @@ func (i *RegistryIamPolicy) ToRegistryIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RegistryIamPolicyOutput) } +func (i *RegistryIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegistryIamPolicy] { + return pulumix.Output[*RegistryIamPolicy]{ + OutputState: i.ToRegistryIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegistryIamPolicyOutput struct{ *pulumi.OutputState } func (RegistryIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o RegistryIamPolicyOutput) ToRegistryIamPolicyOutputWithContext(ctx contex return o } +func (o RegistryIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistryIamPolicy] { + return pulumix.Output[*RegistryIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o RegistryIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegistryIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/cryptoKey.go b/sdk/go/google/cloudkms/v1/cryptoKey.go index 917a4752ca..319e0c1fba 100644 --- a/sdk/go/google/cloudkms/v1/cryptoKey.go +++ b/sdk/go/google/cloudkms/v1/cryptoKey.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new CryptoKey within a KeyRing. CryptoKey.purpose and CryptoKey.version_template.algorithm are required. @@ -174,6 +175,12 @@ func (i *CryptoKey) ToCryptoKeyOutputWithContext(ctx context.Context) CryptoKeyO return pulumi.ToOutputWithContext(ctx, i).(CryptoKeyOutput) } +func (i *CryptoKey) ToOutput(ctx context.Context) pulumix.Output[*CryptoKey] { + return pulumix.Output[*CryptoKey]{ + OutputState: i.ToCryptoKeyOutputWithContext(ctx).OutputState, + } +} + type CryptoKeyOutput struct{ *pulumi.OutputState } func (CryptoKeyOutput) ElementType() reflect.Type { @@ -188,6 +195,12 @@ func (o CryptoKeyOutput) ToCryptoKeyOutputWithContext(ctx context.Context) Crypt return o } +func (o CryptoKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoKey] { + return pulumix.Output[*CryptoKey]{ + OutputState: o.OutputState, + } +} + // The time at which this CryptoKey was created. func (o CryptoKeyOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *CryptoKey) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudkms/v1/cryptoKeyVersion.go b/sdk/go/google/cloudkms/v1/cryptoKeyVersion.go index 267dedd6ed..1a8e90d9cf 100644 --- a/sdk/go/google/cloudkms/v1/cryptoKeyVersion.go +++ b/sdk/go/google/cloudkms/v1/cryptoKeyVersion.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new CryptoKeyVersion in a CryptoKey. The server will assign the next sequential id. If unset, state will be set to ENABLED. @@ -151,6 +152,12 @@ func (i *CryptoKeyVersion) ToCryptoKeyVersionOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(CryptoKeyVersionOutput) } +func (i *CryptoKeyVersion) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyVersion] { + return pulumix.Output[*CryptoKeyVersion]{ + OutputState: i.ToCryptoKeyVersionOutputWithContext(ctx).OutputState, + } +} + type CryptoKeyVersionOutput struct{ *pulumi.OutputState } func (CryptoKeyVersionOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o CryptoKeyVersionOutput) ToCryptoKeyVersionOutputWithContext(ctx context. return o } +func (o CryptoKeyVersionOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyVersion] { + return pulumix.Output[*CryptoKeyVersion]{ + OutputState: o.OutputState, + } +} + // The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports. func (o CryptoKeyVersionOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v *CryptoKeyVersion) pulumi.StringOutput { return v.Algorithm }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudkms/v1/ekmConfigIamBinding.go b/sdk/go/google/cloudkms/v1/ekmConfigIamBinding.go index 8781bbf2f6..73b4d86e28 100644 --- a/sdk/go/google/cloudkms/v1/ekmConfigIamBinding.go +++ b/sdk/go/google/cloudkms/v1/ekmConfigIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EkmConfigIamBinding) ToEkmConfigIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EkmConfigIamBindingOutput) } +func (i *EkmConfigIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EkmConfigIamBinding] { + return pulumix.Output[*EkmConfigIamBinding]{ + OutputState: i.ToEkmConfigIamBindingOutputWithContext(ctx).OutputState, + } +} + type EkmConfigIamBindingOutput struct{ *pulumi.OutputState } func (EkmConfigIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EkmConfigIamBindingOutput) ToEkmConfigIamBindingOutputWithContext(ctx co return o } +func (o EkmConfigIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EkmConfigIamBinding] { + return pulumix.Output[*EkmConfigIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EkmConfigIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EkmConfigIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudkms/v1/ekmConfigIamMember.go b/sdk/go/google/cloudkms/v1/ekmConfigIamMember.go index 97d803242d..10e992a4a8 100644 --- a/sdk/go/google/cloudkms/v1/ekmConfigIamMember.go +++ b/sdk/go/google/cloudkms/v1/ekmConfigIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EkmConfigIamMember) ToEkmConfigIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(EkmConfigIamMemberOutput) } +func (i *EkmConfigIamMember) ToOutput(ctx context.Context) pulumix.Output[*EkmConfigIamMember] { + return pulumix.Output[*EkmConfigIamMember]{ + OutputState: i.ToEkmConfigIamMemberOutputWithContext(ctx).OutputState, + } +} + type EkmConfigIamMemberOutput struct{ *pulumi.OutputState } func (EkmConfigIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EkmConfigIamMemberOutput) ToEkmConfigIamMemberOutputWithContext(ctx cont return o } +func (o EkmConfigIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EkmConfigIamMember] { + return pulumix.Output[*EkmConfigIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EkmConfigIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EkmConfigIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudkms/v1/ekmConfigIamPolicy.go b/sdk/go/google/cloudkms/v1/ekmConfigIamPolicy.go index 09b2fd37ce..ba00070934 100644 --- a/sdk/go/google/cloudkms/v1/ekmConfigIamPolicy.go +++ b/sdk/go/google/cloudkms/v1/ekmConfigIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -127,6 +128,12 @@ func (i *EkmConfigIamPolicy) ToEkmConfigIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(EkmConfigIamPolicyOutput) } +func (i *EkmConfigIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EkmConfigIamPolicy] { + return pulumix.Output[*EkmConfigIamPolicy]{ + OutputState: i.ToEkmConfigIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EkmConfigIamPolicyOutput struct{ *pulumi.OutputState } func (EkmConfigIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o EkmConfigIamPolicyOutput) ToEkmConfigIamPolicyOutputWithContext(ctx cont return o } +func (o EkmConfigIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EkmConfigIamPolicy] { + return pulumix.Output[*EkmConfigIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o EkmConfigIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *EkmConfigIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/ekmConnection.go b/sdk/go/google/cloudkms/v1/ekmConnection.go index 5e31243f84..dc4ddc41c2 100644 --- a/sdk/go/google/cloudkms/v1/ekmConnection.go +++ b/sdk/go/google/cloudkms/v1/ekmConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new EkmConnection in a given Project and Location. @@ -134,6 +135,12 @@ func (i *EkmConnection) ToEkmConnectionOutputWithContext(ctx context.Context) Ek return pulumi.ToOutputWithContext(ctx, i).(EkmConnectionOutput) } +func (i *EkmConnection) ToOutput(ctx context.Context) pulumix.Output[*EkmConnection] { + return pulumix.Output[*EkmConnection]{ + OutputState: i.ToEkmConnectionOutputWithContext(ctx).OutputState, + } +} + type EkmConnectionOutput struct{ *pulumi.OutputState } func (EkmConnectionOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o EkmConnectionOutput) ToEkmConnectionOutputWithContext(ctx context.Contex return o } +func (o EkmConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*EkmConnection] { + return pulumix.Output[*EkmConnection]{ + OutputState: o.OutputState, + } +} + // The time at which the EkmConnection was created. func (o EkmConnectionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *EkmConnection) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudkms/v1/ekmConnectionIamBinding.go b/sdk/go/google/cloudkms/v1/ekmConnectionIamBinding.go index 2fcad46d09..4a601daa48 100644 --- a/sdk/go/google/cloudkms/v1/ekmConnectionIamBinding.go +++ b/sdk/go/google/cloudkms/v1/ekmConnectionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EkmConnectionIamBinding) ToEkmConnectionIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(EkmConnectionIamBindingOutput) } +func (i *EkmConnectionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EkmConnectionIamBinding] { + return pulumix.Output[*EkmConnectionIamBinding]{ + OutputState: i.ToEkmConnectionIamBindingOutputWithContext(ctx).OutputState, + } +} + type EkmConnectionIamBindingOutput struct{ *pulumi.OutputState } func (EkmConnectionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EkmConnectionIamBindingOutput) ToEkmConnectionIamBindingOutputWithContex return o } +func (o EkmConnectionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EkmConnectionIamBinding] { + return pulumix.Output[*EkmConnectionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EkmConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EkmConnectionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudkms/v1/ekmConnectionIamMember.go b/sdk/go/google/cloudkms/v1/ekmConnectionIamMember.go index 0b6c7ecbc6..e9613f9b51 100644 --- a/sdk/go/google/cloudkms/v1/ekmConnectionIamMember.go +++ b/sdk/go/google/cloudkms/v1/ekmConnectionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EkmConnectionIamMember) ToEkmConnectionIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(EkmConnectionIamMemberOutput) } +func (i *EkmConnectionIamMember) ToOutput(ctx context.Context) pulumix.Output[*EkmConnectionIamMember] { + return pulumix.Output[*EkmConnectionIamMember]{ + OutputState: i.ToEkmConnectionIamMemberOutputWithContext(ctx).OutputState, + } +} + type EkmConnectionIamMemberOutput struct{ *pulumi.OutputState } func (EkmConnectionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EkmConnectionIamMemberOutput) ToEkmConnectionIamMemberOutputWithContext( return o } +func (o EkmConnectionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EkmConnectionIamMember] { + return pulumix.Output[*EkmConnectionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EkmConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EkmConnectionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudkms/v1/ekmConnectionIamPolicy.go b/sdk/go/google/cloudkms/v1/ekmConnectionIamPolicy.go index afb6b5ac57..1cf7f7fbe3 100644 --- a/sdk/go/google/cloudkms/v1/ekmConnectionIamPolicy.go +++ b/sdk/go/google/cloudkms/v1/ekmConnectionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EkmConnectionIamPolicy) ToEkmConnectionIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(EkmConnectionIamPolicyOutput) } +func (i *EkmConnectionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EkmConnectionIamPolicy] { + return pulumix.Output[*EkmConnectionIamPolicy]{ + OutputState: i.ToEkmConnectionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EkmConnectionIamPolicyOutput struct{ *pulumi.OutputState } func (EkmConnectionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EkmConnectionIamPolicyOutput) ToEkmConnectionIamPolicyOutputWithContext( return o } +func (o EkmConnectionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EkmConnectionIamPolicy] { + return pulumix.Output[*EkmConnectionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o EkmConnectionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *EkmConnectionIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/getCryptoKey.go b/sdk/go/google/cloudkms/v1/getCryptoKey.go index de668a06e1..33ffaf3df7 100644 --- a/sdk/go/google/cloudkms/v1/getCryptoKey.go +++ b/sdk/go/google/cloudkms/v1/getCryptoKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns metadata for a given CryptoKey, as well as its primary CryptoKeyVersion. @@ -92,6 +93,12 @@ func (o LookupCryptoKeyResultOutput) ToLookupCryptoKeyResultOutputWithContext(ct return o } +func (o LookupCryptoKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCryptoKeyResult] { + return pulumix.Output[LookupCryptoKeyResult]{ + OutputState: o.OutputState, + } +} + // The time at which this CryptoKey was created. func (o LookupCryptoKeyResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupCryptoKeyResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudkms/v1/getCryptoKeyVersion.go b/sdk/go/google/cloudkms/v1/getCryptoKeyVersion.go index 622758536c..821ce7a558 100644 --- a/sdk/go/google/cloudkms/v1/getCryptoKeyVersion.go +++ b/sdk/go/google/cloudkms/v1/getCryptoKeyVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns metadata for a given CryptoKeyVersion. @@ -104,6 +105,12 @@ func (o LookupCryptoKeyVersionResultOutput) ToLookupCryptoKeyVersionResultOutput return o } +func (o LookupCryptoKeyVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCryptoKeyVersionResult] { + return pulumix.Output[LookupCryptoKeyVersionResult]{ + OutputState: o.OutputState, + } +} + // The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports. func (o LookupCryptoKeyVersionResultOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v LookupCryptoKeyVersionResult) string { return v.Algorithm }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudkms/v1/getEkmConfigIamPolicy.go b/sdk/go/google/cloudkms/v1/getEkmConfigIamPolicy.go index d35fb127b7..7844d0b6f9 100644 --- a/sdk/go/google/cloudkms/v1/getEkmConfigIamPolicy.go +++ b/sdk/go/google/cloudkms/v1/getEkmConfigIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupEkmConfigIamPolicyResultOutput) ToLookupEkmConfigIamPolicyResultOu return o } +func (o LookupEkmConfigIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEkmConfigIamPolicyResult] { + return pulumix.Output[LookupEkmConfigIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupEkmConfigIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupEkmConfigIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/getEkmConnection.go b/sdk/go/google/cloudkms/v1/getEkmConnection.go index c9071e6716..cacc1ec4d1 100644 --- a/sdk/go/google/cloudkms/v1/getEkmConnection.go +++ b/sdk/go/google/cloudkms/v1/getEkmConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns metadata for a given EkmConnection. @@ -80,6 +81,12 @@ func (o LookupEkmConnectionResultOutput) ToLookupEkmConnectionResultOutputWithCo return o } +func (o LookupEkmConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEkmConnectionResult] { + return pulumix.Output[LookupEkmConnectionResult]{ + OutputState: o.OutputState, + } +} + // The time at which the EkmConnection was created. func (o LookupEkmConnectionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupEkmConnectionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudkms/v1/getEkmConnectionIamPolicy.go b/sdk/go/google/cloudkms/v1/getEkmConnectionIamPolicy.go index eb0bade5a1..a8b1a3b5fc 100644 --- a/sdk/go/google/cloudkms/v1/getEkmConnectionIamPolicy.go +++ b/sdk/go/google/cloudkms/v1/getEkmConnectionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupEkmConnectionIamPolicyResultOutput) ToLookupEkmConnectionIamPolicy return o } +func (o LookupEkmConnectionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEkmConnectionIamPolicyResult] { + return pulumix.Output[LookupEkmConnectionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupEkmConnectionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupEkmConnectionIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/getImportJob.go b/sdk/go/google/cloudkms/v1/getImportJob.go index ef1bd6eac0..1a93cac6a8 100644 --- a/sdk/go/google/cloudkms/v1/getImportJob.go +++ b/sdk/go/google/cloudkms/v1/getImportJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns metadata for a given ImportJob. @@ -90,6 +91,12 @@ func (o LookupImportJobResultOutput) ToLookupImportJobResultOutputWithContext(ct return o } +func (o LookupImportJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupImportJobResult] { + return pulumix.Output[LookupImportJobResult]{ + OutputState: o.OutputState, + } +} + // Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM. func (o LookupImportJobResultOutput) Attestation() KeyOperationAttestationResponseOutput { return o.ApplyT(func(v LookupImportJobResult) KeyOperationAttestationResponse { return v.Attestation }).(KeyOperationAttestationResponseOutput) diff --git a/sdk/go/google/cloudkms/v1/getKeyRing.go b/sdk/go/google/cloudkms/v1/getKeyRing.go index 4bf3f58b7e..4ec1544081 100644 --- a/sdk/go/google/cloudkms/v1/getKeyRing.go +++ b/sdk/go/google/cloudkms/v1/getKeyRing.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns metadata for a given KeyRing. @@ -72,6 +73,12 @@ func (o LookupKeyRingResultOutput) ToLookupKeyRingResultOutputWithContext(ctx co return o } +func (o LookupKeyRingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupKeyRingResult] { + return pulumix.Output[LookupKeyRingResult]{ + OutputState: o.OutputState, + } +} + // The time at which this KeyRing was created. func (o LookupKeyRingResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupKeyRingResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudkms/v1/getKeyRingCryptoKeyIamPolicy.go b/sdk/go/google/cloudkms/v1/getKeyRingCryptoKeyIamPolicy.go index 2e4cd6fd14..7db794c2f0 100644 --- a/sdk/go/google/cloudkms/v1/getKeyRingCryptoKeyIamPolicy.go +++ b/sdk/go/google/cloudkms/v1/getKeyRingCryptoKeyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupKeyRingCryptoKeyIamPolicyResultOutput) ToLookupKeyRingCryptoKeyIam return o } +func (o LookupKeyRingCryptoKeyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupKeyRingCryptoKeyIamPolicyResult] { + return pulumix.Output[LookupKeyRingCryptoKeyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupKeyRingCryptoKeyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupKeyRingCryptoKeyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/getKeyRingIamPolicy.go b/sdk/go/google/cloudkms/v1/getKeyRingIamPolicy.go index 2b844e9353..eaa438481a 100644 --- a/sdk/go/google/cloudkms/v1/getKeyRingIamPolicy.go +++ b/sdk/go/google/cloudkms/v1/getKeyRingIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupKeyRingIamPolicyResultOutput) ToLookupKeyRingIamPolicyResultOutput return o } +func (o LookupKeyRingIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupKeyRingIamPolicyResult] { + return pulumix.Output[LookupKeyRingIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupKeyRingIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupKeyRingIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/getKeyRingImportJobIamPolicy.go b/sdk/go/google/cloudkms/v1/getKeyRingImportJobIamPolicy.go index e363fe4f95..3fbf51597a 100644 --- a/sdk/go/google/cloudkms/v1/getKeyRingImportJobIamPolicy.go +++ b/sdk/go/google/cloudkms/v1/getKeyRingImportJobIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupKeyRingImportJobIamPolicyResultOutput) ToLookupKeyRingImportJobIam return o } +func (o LookupKeyRingImportJobIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupKeyRingImportJobIamPolicyResult] { + return pulumix.Output[LookupKeyRingImportJobIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupKeyRingImportJobIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupKeyRingImportJobIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/importJob.go b/sdk/go/google/cloudkms/v1/importJob.go index b3cac5bae4..cd5a597ab0 100644 --- a/sdk/go/google/cloudkms/v1/importJob.go +++ b/sdk/go/google/cloudkms/v1/importJob.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new ImportJob within a KeyRing. ImportJob.import_method is required. @@ -148,6 +149,12 @@ func (i *ImportJob) ToImportJobOutputWithContext(ctx context.Context) ImportJobO return pulumi.ToOutputWithContext(ctx, i).(ImportJobOutput) } +func (i *ImportJob) ToOutput(ctx context.Context) pulumix.Output[*ImportJob] { + return pulumix.Output[*ImportJob]{ + OutputState: i.ToImportJobOutputWithContext(ctx).OutputState, + } +} + type ImportJobOutput struct{ *pulumi.OutputState } func (ImportJobOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o ImportJobOutput) ToImportJobOutputWithContext(ctx context.Context) Impor return o } +func (o ImportJobOutput) ToOutput(ctx context.Context) pulumix.Output[*ImportJob] { + return pulumix.Output[*ImportJob]{ + OutputState: o.OutputState, + } +} + // Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM. func (o ImportJobOutput) Attestation() KeyOperationAttestationResponseOutput { return o.ApplyT(func(v *ImportJob) KeyOperationAttestationResponseOutput { return v.Attestation }).(KeyOperationAttestationResponseOutput) diff --git a/sdk/go/google/cloudkms/v1/keyRing.go b/sdk/go/google/cloudkms/v1/keyRing.go index 005b74734b..e3270c18c1 100644 --- a/sdk/go/google/cloudkms/v1/keyRing.go +++ b/sdk/go/google/cloudkms/v1/keyRing.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new KeyRing in a given Project and Location. @@ -110,6 +111,12 @@ func (i *KeyRing) ToKeyRingOutputWithContext(ctx context.Context) KeyRingOutput return pulumi.ToOutputWithContext(ctx, i).(KeyRingOutput) } +func (i *KeyRing) ToOutput(ctx context.Context) pulumix.Output[*KeyRing] { + return pulumix.Output[*KeyRing]{ + OutputState: i.ToKeyRingOutputWithContext(ctx).OutputState, + } +} + type KeyRingOutput struct{ *pulumi.OutputState } func (KeyRingOutput) ElementType() reflect.Type { @@ -124,6 +131,12 @@ func (o KeyRingOutput) ToKeyRingOutputWithContext(ctx context.Context) KeyRingOu return o } +func (o KeyRingOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyRing] { + return pulumix.Output[*KeyRing]{ + OutputState: o.OutputState, + } +} + // The time at which this KeyRing was created. func (o KeyRingOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *KeyRing) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamBinding.go b/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamBinding.go index 5f79ab6ed6..d6ed3c519c 100644 --- a/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamBinding.go +++ b/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *KeyRingCryptoKeyIamBinding) ToKeyRingCryptoKeyIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(KeyRingCryptoKeyIamBindingOutput) } +func (i *KeyRingCryptoKeyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*KeyRingCryptoKeyIamBinding] { + return pulumix.Output[*KeyRingCryptoKeyIamBinding]{ + OutputState: i.ToKeyRingCryptoKeyIamBindingOutputWithContext(ctx).OutputState, + } +} + type KeyRingCryptoKeyIamBindingOutput struct{ *pulumi.OutputState } func (KeyRingCryptoKeyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o KeyRingCryptoKeyIamBindingOutput) ToKeyRingCryptoKeyIamBindingOutputWith return o } +func (o KeyRingCryptoKeyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyRingCryptoKeyIamBinding] { + return pulumix.Output[*KeyRingCryptoKeyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o KeyRingCryptoKeyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *KeyRingCryptoKeyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamMember.go b/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamMember.go index d3fc77792d..629f86547c 100644 --- a/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamMember.go +++ b/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *KeyRingCryptoKeyIamMember) ToKeyRingCryptoKeyIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(KeyRingCryptoKeyIamMemberOutput) } +func (i *KeyRingCryptoKeyIamMember) ToOutput(ctx context.Context) pulumix.Output[*KeyRingCryptoKeyIamMember] { + return pulumix.Output[*KeyRingCryptoKeyIamMember]{ + OutputState: i.ToKeyRingCryptoKeyIamMemberOutputWithContext(ctx).OutputState, + } +} + type KeyRingCryptoKeyIamMemberOutput struct{ *pulumi.OutputState } func (KeyRingCryptoKeyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o KeyRingCryptoKeyIamMemberOutput) ToKeyRingCryptoKeyIamMemberOutputWithCo return o } +func (o KeyRingCryptoKeyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyRingCryptoKeyIamMember] { + return pulumix.Output[*KeyRingCryptoKeyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o KeyRingCryptoKeyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *KeyRingCryptoKeyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamPolicy.go b/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamPolicy.go index ec27cc2d1d..8de4263e0b 100644 --- a/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamPolicy.go +++ b/sdk/go/google/cloudkms/v1/keyRingCryptoKeyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *KeyRingCryptoKeyIamPolicy) ToKeyRingCryptoKeyIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(KeyRingCryptoKeyIamPolicyOutput) } +func (i *KeyRingCryptoKeyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*KeyRingCryptoKeyIamPolicy] { + return pulumix.Output[*KeyRingCryptoKeyIamPolicy]{ + OutputState: i.ToKeyRingCryptoKeyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type KeyRingCryptoKeyIamPolicyOutput struct{ *pulumi.OutputState } func (KeyRingCryptoKeyIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o KeyRingCryptoKeyIamPolicyOutput) ToKeyRingCryptoKeyIamPolicyOutputWithCo return o } +func (o KeyRingCryptoKeyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyRingCryptoKeyIamPolicy] { + return pulumix.Output[*KeyRingCryptoKeyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o KeyRingCryptoKeyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *KeyRingCryptoKeyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/keyRingIamBinding.go b/sdk/go/google/cloudkms/v1/keyRingIamBinding.go index 5da9b2940c..c0aa4e1107 100644 --- a/sdk/go/google/cloudkms/v1/keyRingIamBinding.go +++ b/sdk/go/google/cloudkms/v1/keyRingIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *KeyRingIamBinding) ToKeyRingIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(KeyRingIamBindingOutput) } +func (i *KeyRingIamBinding) ToOutput(ctx context.Context) pulumix.Output[*KeyRingIamBinding] { + return pulumix.Output[*KeyRingIamBinding]{ + OutputState: i.ToKeyRingIamBindingOutputWithContext(ctx).OutputState, + } +} + type KeyRingIamBindingOutput struct{ *pulumi.OutputState } func (KeyRingIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o KeyRingIamBindingOutput) ToKeyRingIamBindingOutputWithContext(ctx contex return o } +func (o KeyRingIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyRingIamBinding] { + return pulumix.Output[*KeyRingIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o KeyRingIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *KeyRingIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudkms/v1/keyRingIamMember.go b/sdk/go/google/cloudkms/v1/keyRingIamMember.go index 68b7d83fa7..aa71b1bbaf 100644 --- a/sdk/go/google/cloudkms/v1/keyRingIamMember.go +++ b/sdk/go/google/cloudkms/v1/keyRingIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *KeyRingIamMember) ToKeyRingIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(KeyRingIamMemberOutput) } +func (i *KeyRingIamMember) ToOutput(ctx context.Context) pulumix.Output[*KeyRingIamMember] { + return pulumix.Output[*KeyRingIamMember]{ + OutputState: i.ToKeyRingIamMemberOutputWithContext(ctx).OutputState, + } +} + type KeyRingIamMemberOutput struct{ *pulumi.OutputState } func (KeyRingIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o KeyRingIamMemberOutput) ToKeyRingIamMemberOutputWithContext(ctx context. return o } +func (o KeyRingIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyRingIamMember] { + return pulumix.Output[*KeyRingIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o KeyRingIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *KeyRingIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudkms/v1/keyRingIamPolicy.go b/sdk/go/google/cloudkms/v1/keyRingIamPolicy.go index 07dee54ba5..9838bf9466 100644 --- a/sdk/go/google/cloudkms/v1/keyRingIamPolicy.go +++ b/sdk/go/google/cloudkms/v1/keyRingIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *KeyRingIamPolicy) ToKeyRingIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(KeyRingIamPolicyOutput) } +func (i *KeyRingIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*KeyRingIamPolicy] { + return pulumix.Output[*KeyRingIamPolicy]{ + OutputState: i.ToKeyRingIamPolicyOutputWithContext(ctx).OutputState, + } +} + type KeyRingIamPolicyOutput struct{ *pulumi.OutputState } func (KeyRingIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o KeyRingIamPolicyOutput) ToKeyRingIamPolicyOutputWithContext(ctx context. return o } +func (o KeyRingIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyRingIamPolicy] { + return pulumix.Output[*KeyRingIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o KeyRingIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *KeyRingIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/keyRingImportJobIamBinding.go b/sdk/go/google/cloudkms/v1/keyRingImportJobIamBinding.go index 7d89370bc0..ce8316d15a 100644 --- a/sdk/go/google/cloudkms/v1/keyRingImportJobIamBinding.go +++ b/sdk/go/google/cloudkms/v1/keyRingImportJobIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *KeyRingImportJobIamBinding) ToKeyRingImportJobIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(KeyRingImportJobIamBindingOutput) } +func (i *KeyRingImportJobIamBinding) ToOutput(ctx context.Context) pulumix.Output[*KeyRingImportJobIamBinding] { + return pulumix.Output[*KeyRingImportJobIamBinding]{ + OutputState: i.ToKeyRingImportJobIamBindingOutputWithContext(ctx).OutputState, + } +} + type KeyRingImportJobIamBindingOutput struct{ *pulumi.OutputState } func (KeyRingImportJobIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o KeyRingImportJobIamBindingOutput) ToKeyRingImportJobIamBindingOutputWith return o } +func (o KeyRingImportJobIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyRingImportJobIamBinding] { + return pulumix.Output[*KeyRingImportJobIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o KeyRingImportJobIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *KeyRingImportJobIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudkms/v1/keyRingImportJobIamMember.go b/sdk/go/google/cloudkms/v1/keyRingImportJobIamMember.go index 7477f140ad..f982377c8a 100644 --- a/sdk/go/google/cloudkms/v1/keyRingImportJobIamMember.go +++ b/sdk/go/google/cloudkms/v1/keyRingImportJobIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *KeyRingImportJobIamMember) ToKeyRingImportJobIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(KeyRingImportJobIamMemberOutput) } +func (i *KeyRingImportJobIamMember) ToOutput(ctx context.Context) pulumix.Output[*KeyRingImportJobIamMember] { + return pulumix.Output[*KeyRingImportJobIamMember]{ + OutputState: i.ToKeyRingImportJobIamMemberOutputWithContext(ctx).OutputState, + } +} + type KeyRingImportJobIamMemberOutput struct{ *pulumi.OutputState } func (KeyRingImportJobIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o KeyRingImportJobIamMemberOutput) ToKeyRingImportJobIamMemberOutputWithCo return o } +func (o KeyRingImportJobIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyRingImportJobIamMember] { + return pulumix.Output[*KeyRingImportJobIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o KeyRingImportJobIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *KeyRingImportJobIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudkms/v1/keyRingImportJobIamPolicy.go b/sdk/go/google/cloudkms/v1/keyRingImportJobIamPolicy.go index 96db26874b..32916349a5 100644 --- a/sdk/go/google/cloudkms/v1/keyRingImportJobIamPolicy.go +++ b/sdk/go/google/cloudkms/v1/keyRingImportJobIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *KeyRingImportJobIamPolicy) ToKeyRingImportJobIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(KeyRingImportJobIamPolicyOutput) } +func (i *KeyRingImportJobIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*KeyRingImportJobIamPolicy] { + return pulumix.Output[*KeyRingImportJobIamPolicy]{ + OutputState: i.ToKeyRingImportJobIamPolicyOutputWithContext(ctx).OutputState, + } +} + type KeyRingImportJobIamPolicyOutput struct{ *pulumi.OutputState } func (KeyRingImportJobIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o KeyRingImportJobIamPolicyOutput) ToKeyRingImportJobIamPolicyOutputWithCo return o } +func (o KeyRingImportJobIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyRingImportJobIamPolicy] { + return pulumix.Output[*KeyRingImportJobIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o KeyRingImportJobIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *KeyRingImportJobIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudkms/v1/pulumiEnums.go b/sdk/go/google/cloudkms/v1/pulumiEnums.go index 49a2a90793..6552804d1e 100644 --- a/sdk/go/google/cloudkms/v1/pulumiEnums.go +++ b/sdk/go/google/cloudkms/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The immutable purpose of this CryptoKey. type CryptoKeyPurpose string @@ -257,6 +276,12 @@ func (o CryptoKeyPurposeOutput) ToCryptoKeyPurposePtrOutputWithContext(ctx conte }).(CryptoKeyPurposePtrOutput) } +func (o CryptoKeyPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyPurpose] { + return pulumix.Output[CryptoKeyPurpose]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -292,6 +317,12 @@ func (o CryptoKeyPurposePtrOutput) ToCryptoKeyPurposePtrOutputWithContext(ctx co return o } +func (o CryptoKeyPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyPurpose] { + return pulumix.Output[*CryptoKeyPurpose]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyPurposePtrOutput) Elem() CryptoKeyPurposeOutput { return o.ApplyT(func(v *CryptoKeyPurpose) CryptoKeyPurpose { if v != nil { @@ -354,6 +385,12 @@ func (in *cryptoKeyPurposePtr) ToCryptoKeyPurposePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(CryptoKeyPurposePtrOutput) } +func (in *cryptoKeyPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyPurpose] { + return pulumix.Output[*CryptoKeyPurpose]{ + OutputState: in.ToCryptoKeyPurposePtrOutputWithContext(ctx).OutputState, + } +} + // The current state of the CryptoKeyVersion. type CryptoKeyVersionStateEnum string @@ -442,6 +479,12 @@ func (o CryptoKeyVersionStateEnumOutput) ToCryptoKeyVersionStateEnumPtrOutputWit }).(CryptoKeyVersionStateEnumPtrOutput) } +func (o CryptoKeyVersionStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyVersionStateEnum] { + return pulumix.Output[CryptoKeyVersionStateEnum]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyVersionStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -477,6 +520,12 @@ func (o CryptoKeyVersionStateEnumPtrOutput) ToCryptoKeyVersionStateEnumPtrOutput return o } +func (o CryptoKeyVersionStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyVersionStateEnum] { + return pulumix.Output[*CryptoKeyVersionStateEnum]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyVersionStateEnumPtrOutput) Elem() CryptoKeyVersionStateEnumOutput { return o.ApplyT(func(v *CryptoKeyVersionStateEnum) CryptoKeyVersionStateEnum { if v != nil { @@ -539,6 +588,12 @@ func (in *cryptoKeyVersionStateEnumPtr) ToCryptoKeyVersionStateEnumPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(CryptoKeyVersionStateEnumPtrOutput) } +func (in *cryptoKeyVersionStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyVersionStateEnum] { + return pulumix.Output[*CryptoKeyVersionStateEnum]{ + OutputState: in.ToCryptoKeyVersionStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT. type CryptoKeyVersionTemplateAlgorithm string @@ -663,6 +718,12 @@ func (o CryptoKeyVersionTemplateAlgorithmOutput) ToCryptoKeyVersionTemplateAlgor }).(CryptoKeyVersionTemplateAlgorithmPtrOutput) } +func (o CryptoKeyVersionTemplateAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyVersionTemplateAlgorithm] { + return pulumix.Output[CryptoKeyVersionTemplateAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyVersionTemplateAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -698,6 +759,12 @@ func (o CryptoKeyVersionTemplateAlgorithmPtrOutput) ToCryptoKeyVersionTemplateAl return o } +func (o CryptoKeyVersionTemplateAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyVersionTemplateAlgorithm] { + return pulumix.Output[*CryptoKeyVersionTemplateAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyVersionTemplateAlgorithmPtrOutput) Elem() CryptoKeyVersionTemplateAlgorithmOutput { return o.ApplyT(func(v *CryptoKeyVersionTemplateAlgorithm) CryptoKeyVersionTemplateAlgorithm { if v != nil { @@ -760,6 +827,12 @@ func (in *cryptoKeyVersionTemplateAlgorithmPtr) ToCryptoKeyVersionTemplateAlgori return pulumi.ToOutputWithContext(ctx, in).(CryptoKeyVersionTemplateAlgorithmPtrOutput) } +func (in *cryptoKeyVersionTemplateAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyVersionTemplateAlgorithm] { + return pulumix.Output[*CryptoKeyVersionTemplateAlgorithm]{ + OutputState: in.ToCryptoKeyVersionTemplateAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE. type CryptoKeyVersionTemplateProtectionLevel string @@ -836,6 +909,12 @@ func (o CryptoKeyVersionTemplateProtectionLevelOutput) ToCryptoKeyVersionTemplat }).(CryptoKeyVersionTemplateProtectionLevelPtrOutput) } +func (o CryptoKeyVersionTemplateProtectionLevelOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyVersionTemplateProtectionLevel] { + return pulumix.Output[CryptoKeyVersionTemplateProtectionLevel]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyVersionTemplateProtectionLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -871,6 +950,12 @@ func (o CryptoKeyVersionTemplateProtectionLevelPtrOutput) ToCryptoKeyVersionTemp return o } +func (o CryptoKeyVersionTemplateProtectionLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyVersionTemplateProtectionLevel] { + return pulumix.Output[*CryptoKeyVersionTemplateProtectionLevel]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyVersionTemplateProtectionLevelPtrOutput) Elem() CryptoKeyVersionTemplateProtectionLevelOutput { return o.ApplyT(func(v *CryptoKeyVersionTemplateProtectionLevel) CryptoKeyVersionTemplateProtectionLevel { if v != nil { @@ -933,6 +1018,12 @@ func (in *cryptoKeyVersionTemplateProtectionLevelPtr) ToCryptoKeyVersionTemplate return pulumi.ToOutputWithContext(ctx, in).(CryptoKeyVersionTemplateProtectionLevelPtrOutput) } +func (in *cryptoKeyVersionTemplateProtectionLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyVersionTemplateProtectionLevel] { + return pulumix.Output[*CryptoKeyVersionTemplateProtectionLevel]{ + OutputState: in.ToCryptoKeyVersionTemplateProtectionLevelPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL. type EkmConnectionKeyManagementMode string @@ -1005,6 +1096,12 @@ func (o EkmConnectionKeyManagementModeOutput) ToEkmConnectionKeyManagementModePt }).(EkmConnectionKeyManagementModePtrOutput) } +func (o EkmConnectionKeyManagementModeOutput) ToOutput(ctx context.Context) pulumix.Output[EkmConnectionKeyManagementMode] { + return pulumix.Output[EkmConnectionKeyManagementMode]{ + OutputState: o.OutputState, + } +} + func (o EkmConnectionKeyManagementModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1040,6 +1137,12 @@ func (o EkmConnectionKeyManagementModePtrOutput) ToEkmConnectionKeyManagementMod return o } +func (o EkmConnectionKeyManagementModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EkmConnectionKeyManagementMode] { + return pulumix.Output[*EkmConnectionKeyManagementMode]{ + OutputState: o.OutputState, + } +} + func (o EkmConnectionKeyManagementModePtrOutput) Elem() EkmConnectionKeyManagementModeOutput { return o.ApplyT(func(v *EkmConnectionKeyManagementMode) EkmConnectionKeyManagementMode { if v != nil { @@ -1102,6 +1205,12 @@ func (in *ekmConnectionKeyManagementModePtr) ToEkmConnectionKeyManagementModePtr return pulumi.ToOutputWithContext(ctx, in).(EkmConnectionKeyManagementModePtrOutput) } +func (in *ekmConnectionKeyManagementModePtr) ToOutput(ctx context.Context) pulumix.Output[*EkmConnectionKeyManagementMode] { + return pulumix.Output[*EkmConnectionKeyManagementMode]{ + OutputState: in.ToEkmConnectionKeyManagementModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The wrapping method to be used for incoming key material. type ImportJobImportMethod string @@ -1182,6 +1291,12 @@ func (o ImportJobImportMethodOutput) ToImportJobImportMethodPtrOutputWithContext }).(ImportJobImportMethodPtrOutput) } +func (o ImportJobImportMethodOutput) ToOutput(ctx context.Context) pulumix.Output[ImportJobImportMethod] { + return pulumix.Output[ImportJobImportMethod]{ + OutputState: o.OutputState, + } +} + func (o ImportJobImportMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1217,6 +1332,12 @@ func (o ImportJobImportMethodPtrOutput) ToImportJobImportMethodPtrOutputWithCont return o } +func (o ImportJobImportMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImportJobImportMethod] { + return pulumix.Output[*ImportJobImportMethod]{ + OutputState: o.OutputState, + } +} + func (o ImportJobImportMethodPtrOutput) Elem() ImportJobImportMethodOutput { return o.ApplyT(func(v *ImportJobImportMethod) ImportJobImportMethod { if v != nil { @@ -1279,6 +1400,12 @@ func (in *importJobImportMethodPtr) ToImportJobImportMethodPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ImportJobImportMethodPtrOutput) } +func (in *importJobImportMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*ImportJobImportMethod] { + return pulumix.Output[*ImportJobImportMethod]{ + OutputState: in.ToImportJobImportMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into. type ImportJobProtectionLevel string @@ -1355,6 +1482,12 @@ func (o ImportJobProtectionLevelOutput) ToImportJobProtectionLevelPtrOutputWithC }).(ImportJobProtectionLevelPtrOutput) } +func (o ImportJobProtectionLevelOutput) ToOutput(ctx context.Context) pulumix.Output[ImportJobProtectionLevel] { + return pulumix.Output[ImportJobProtectionLevel]{ + OutputState: o.OutputState, + } +} + func (o ImportJobProtectionLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1390,6 +1523,12 @@ func (o ImportJobProtectionLevelPtrOutput) ToImportJobProtectionLevelPtrOutputWi return o } +func (o ImportJobProtectionLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImportJobProtectionLevel] { + return pulumix.Output[*ImportJobProtectionLevel]{ + OutputState: o.OutputState, + } +} + func (o ImportJobProtectionLevelPtrOutput) Elem() ImportJobProtectionLevelOutput { return o.ApplyT(func(v *ImportJobProtectionLevel) ImportJobProtectionLevel { if v != nil { @@ -1452,6 +1591,12 @@ func (in *importJobProtectionLevelPtr) ToImportJobProtectionLevelPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ImportJobProtectionLevelPtrOutput) } +func (in *importJobProtectionLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*ImportJobProtectionLevel] { + return pulumix.Output[*ImportJobProtectionLevel]{ + OutputState: in.ToImportJobProtectionLevelPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudkms/v1/pulumiTypes.go b/sdk/go/google/cloudkms/v1/pulumiTypes.go index bfcd128e05..8fb78eb79e 100644 --- a/sdk/go/google/cloudkms/v1/pulumiTypes.go +++ b/sdk/go/google/cloudkms/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -550,6 +659,12 @@ func (i CertificateArgs) ToCertificateOutputWithContext(ctx context.Context) Cer return pulumi.ToOutputWithContext(ctx, i).(CertificateOutput) } +func (i CertificateArgs) ToOutput(ctx context.Context) pulumix.Output[Certificate] { + return pulumix.Output[Certificate]{ + OutputState: i.ToCertificateOutputWithContext(ctx).OutputState, + } +} + // CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. // You can construct a concrete instance of `CertificateArrayInput` via: // @@ -575,6 +690,12 @@ func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CertificateArrayOutput) } +func (i CertificateArray) ToOutput(ctx context.Context) pulumix.Output[[]Certificate] { + return pulumix.Output[[]Certificate]{ + OutputState: i.ToCertificateArrayOutputWithContext(ctx).OutputState, + } +} + // A Certificate represents an X.509 certificate used to authenticate HTTPS connections to EKM replicas. type CertificateOutput struct{ *pulumi.OutputState } @@ -590,6 +711,12 @@ func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) C return o } +func (o CertificateOutput) ToOutput(ctx context.Context) pulumix.Output[Certificate] { + return pulumix.Output[Certificate]{ + OutputState: o.OutputState, + } +} + // The raw certificate bytes in DER format. func (o CertificateOutput) RawDer() pulumi.StringOutput { return o.ApplyT(func(v Certificate) string { return v.RawDer }).(pulumi.StringOutput) @@ -609,6 +736,12 @@ func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context. return o } +func (o CertificateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Certificate] { + return pulumix.Output[[]Certificate]{ + OutputState: o.OutputState, + } +} + func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Certificate { return vs[0].([]Certificate)[vs[1].(int)] @@ -640,6 +773,12 @@ func (o CertificateChainsResponseOutput) ToCertificateChainsResponseOutputWithCo return o } +func (o CertificateChainsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateChainsResponse] { + return pulumix.Output[CertificateChainsResponse]{ + OutputState: o.OutputState, + } +} + // Cavium certificate chain corresponding to the attestation. func (o CertificateChainsResponseOutput) CaviumCerts() pulumi.StringArrayOutput { return o.ApplyT(func(v CertificateChainsResponse) []string { return v.CaviumCerts }).(pulumi.StringArrayOutput) @@ -692,6 +831,12 @@ func (o CertificateResponseOutput) ToCertificateResponseOutputWithContext(ctx co return o } +func (o CertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateResponse] { + return pulumix.Output[CertificateResponse]{ + OutputState: o.OutputState, + } +} + // The issuer distinguished name in RFC 2253 format. Only present if parsed is true. func (o CertificateResponseOutput) Issuer() pulumi.StringOutput { return o.ApplyT(func(v CertificateResponse) string { return v.Issuer }).(pulumi.StringOutput) @@ -751,6 +896,12 @@ func (o CertificateResponseArrayOutput) ToCertificateResponseArrayOutputWithCont return o } +func (o CertificateResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CertificateResponse] { + return pulumix.Output[[]CertificateResponse]{ + OutputState: o.OutputState, + } +} + func (o CertificateResponseArrayOutput) Index(i pulumi.IntInput) CertificateResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CertificateResponse { return vs[0].([]CertificateResponse)[vs[1].(int)] @@ -808,6 +959,12 @@ func (o CryptoKeyVersionResponseOutput) ToCryptoKeyVersionResponseOutputWithCont return o } +func (o CryptoKeyVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyVersionResponse] { + return pulumix.Output[CryptoKeyVersionResponse]{ + OutputState: o.OutputState, + } +} + // The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports. func (o CryptoKeyVersionResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v CryptoKeyVersionResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -929,6 +1086,12 @@ func (i CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplateOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(CryptoKeyVersionTemplateOutput) } +func (i CryptoKeyVersionTemplateArgs) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyVersionTemplate] { + return pulumix.Output[CryptoKeyVersionTemplate]{ + OutputState: i.ToCryptoKeyVersionTemplateOutputWithContext(ctx).OutputState, + } +} + func (i CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplatePtrOutput() CryptoKeyVersionTemplatePtrOutput { return i.ToCryptoKeyVersionTemplatePtrOutputWithContext(context.Background()) } @@ -970,6 +1133,12 @@ func (i *cryptoKeyVersionTemplatePtrType) ToCryptoKeyVersionTemplatePtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(CryptoKeyVersionTemplatePtrOutput) } +func (i *cryptoKeyVersionTemplatePtrType) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyVersionTemplate] { + return pulumix.Output[*CryptoKeyVersionTemplate]{ + OutputState: i.ToCryptoKeyVersionTemplatePtrOutputWithContext(ctx).OutputState, + } +} + // A CryptoKeyVersionTemplate specifies the properties to use when creating a new CryptoKeyVersion, either manually with CreateCryptoKeyVersion or automatically as a result of auto-rotation. type CryptoKeyVersionTemplateOutput struct{ *pulumi.OutputState } @@ -995,6 +1164,12 @@ func (o CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplatePtrOutputWithC }).(CryptoKeyVersionTemplatePtrOutput) } +func (o CryptoKeyVersionTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyVersionTemplate] { + return pulumix.Output[CryptoKeyVersionTemplate]{ + OutputState: o.OutputState, + } +} + // Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT. func (o CryptoKeyVersionTemplateOutput) Algorithm() CryptoKeyVersionTemplateAlgorithmOutput { return o.ApplyT(func(v CryptoKeyVersionTemplate) CryptoKeyVersionTemplateAlgorithm { return v.Algorithm }).(CryptoKeyVersionTemplateAlgorithmOutput) @@ -1019,6 +1194,12 @@ func (o CryptoKeyVersionTemplatePtrOutput) ToCryptoKeyVersionTemplatePtrOutputWi return o } +func (o CryptoKeyVersionTemplatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyVersionTemplate] { + return pulumix.Output[*CryptoKeyVersionTemplate]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyVersionTemplatePtrOutput) Elem() CryptoKeyVersionTemplateOutput { return o.ApplyT(func(v *CryptoKeyVersionTemplate) CryptoKeyVersionTemplate { if v != nil { @@ -1072,6 +1253,12 @@ func (o CryptoKeyVersionTemplateResponseOutput) ToCryptoKeyVersionTemplateRespon return o } +func (o CryptoKeyVersionTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyVersionTemplateResponse] { + return pulumix.Output[CryptoKeyVersionTemplateResponse]{ + OutputState: o.OutputState, + } +} + // Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT. func (o CryptoKeyVersionTemplateResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v CryptoKeyVersionTemplateResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -1129,6 +1316,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1170,6 +1363,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1195,6 +1394,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1229,6 +1434,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1306,6 +1517,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1365,6 +1582,12 @@ func (i ExternalProtectionLevelOptionsArgs) ToExternalProtectionLevelOptionsOutp return pulumi.ToOutputWithContext(ctx, i).(ExternalProtectionLevelOptionsOutput) } +func (i ExternalProtectionLevelOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ExternalProtectionLevelOptions] { + return pulumix.Output[ExternalProtectionLevelOptions]{ + OutputState: i.ToExternalProtectionLevelOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ExternalProtectionLevelOptionsArgs) ToExternalProtectionLevelOptionsPtrOutput() ExternalProtectionLevelOptionsPtrOutput { return i.ToExternalProtectionLevelOptionsPtrOutputWithContext(context.Background()) } @@ -1406,6 +1629,12 @@ func (i *externalProtectionLevelOptionsPtrType) ToExternalProtectionLevelOptions return pulumi.ToOutputWithContext(ctx, i).(ExternalProtectionLevelOptionsPtrOutput) } +func (i *externalProtectionLevelOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExternalProtectionLevelOptions] { + return pulumix.Output[*ExternalProtectionLevelOptions]{ + OutputState: i.ToExternalProtectionLevelOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level and EXTERNAL_VPC protection levels. type ExternalProtectionLevelOptionsOutput struct{ *pulumi.OutputState } @@ -1431,6 +1660,12 @@ func (o ExternalProtectionLevelOptionsOutput) ToExternalProtectionLevelOptionsPt }).(ExternalProtectionLevelOptionsPtrOutput) } +func (o ExternalProtectionLevelOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalProtectionLevelOptions] { + return pulumix.Output[ExternalProtectionLevelOptions]{ + OutputState: o.OutputState, + } +} + // The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of external_key_uri when using an EkmConnection. func (o ExternalProtectionLevelOptionsOutput) EkmConnectionKeyPath() pulumi.StringPtrOutput { return o.ApplyT(func(v ExternalProtectionLevelOptions) *string { return v.EkmConnectionKeyPath }).(pulumi.StringPtrOutput) @@ -1455,6 +1690,12 @@ func (o ExternalProtectionLevelOptionsPtrOutput) ToExternalProtectionLevelOption return o } +func (o ExternalProtectionLevelOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExternalProtectionLevelOptions] { + return pulumix.Output[*ExternalProtectionLevelOptions]{ + OutputState: o.OutputState, + } +} + func (o ExternalProtectionLevelOptionsPtrOutput) Elem() ExternalProtectionLevelOptionsOutput { return o.ApplyT(func(v *ExternalProtectionLevelOptions) ExternalProtectionLevelOptions { if v != nil { @@ -1508,6 +1749,12 @@ func (o ExternalProtectionLevelOptionsResponseOutput) ToExternalProtectionLevelO return o } +func (o ExternalProtectionLevelOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalProtectionLevelOptionsResponse] { + return pulumix.Output[ExternalProtectionLevelOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of external_key_uri when using an EkmConnection. func (o ExternalProtectionLevelOptionsResponseOutput) EkmConnectionKeyPath() pulumi.StringOutput { return o.ApplyT(func(v ExternalProtectionLevelOptionsResponse) string { return v.EkmConnectionKeyPath }).(pulumi.StringOutput) @@ -1543,6 +1790,12 @@ func (o KeyOperationAttestationResponseOutput) ToKeyOperationAttestationResponse return o } +func (o KeyOperationAttestationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeyOperationAttestationResponse] { + return pulumix.Output[KeyOperationAttestationResponse]{ + OutputState: o.OutputState, + } +} + // The certificate chains needed to validate the attestation func (o KeyOperationAttestationResponseOutput) CertChains() CertificateChainsResponseOutput { return o.ApplyT(func(v KeyOperationAttestationResponse) CertificateChainsResponse { return v.CertChains }).(CertificateChainsResponseOutput) @@ -1605,6 +1858,12 @@ func (i ServiceResolverArgs) ToServiceResolverOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ServiceResolverOutput) } +func (i ServiceResolverArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceResolver] { + return pulumix.Output[ServiceResolver]{ + OutputState: i.ToServiceResolverOutputWithContext(ctx).OutputState, + } +} + // ServiceResolverArrayInput is an input type that accepts ServiceResolverArray and ServiceResolverArrayOutput values. // You can construct a concrete instance of `ServiceResolverArrayInput` via: // @@ -1630,6 +1889,12 @@ func (i ServiceResolverArray) ToServiceResolverArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ServiceResolverArrayOutput) } +func (i ServiceResolverArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceResolver] { + return pulumix.Output[[]ServiceResolver]{ + OutputState: i.ToServiceResolverArrayOutputWithContext(ctx).OutputState, + } +} + // A ServiceResolver represents an EKM replica that can be reached within an EkmConnection. type ServiceResolverOutput struct{ *pulumi.OutputState } @@ -1645,6 +1910,12 @@ func (o ServiceResolverOutput) ToServiceResolverOutputWithContext(ctx context.Co return o } +func (o ServiceResolverOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceResolver] { + return pulumix.Output[ServiceResolver]{ + OutputState: o.OutputState, + } +} + // Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest. func (o ServiceResolverOutput) EndpointFilter() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceResolver) *string { return v.EndpointFilter }).(pulumi.StringPtrOutput) @@ -1679,6 +1950,12 @@ func (o ServiceResolverArrayOutput) ToServiceResolverArrayOutputWithContext(ctx return o } +func (o ServiceResolverArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceResolver] { + return pulumix.Output[[]ServiceResolver]{ + OutputState: o.OutputState, + } +} + func (o ServiceResolverArrayOutput) Index(i pulumi.IntInput) ServiceResolverOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceResolver { return vs[0].([]ServiceResolver)[vs[1].(int)] @@ -1712,6 +1989,12 @@ func (o ServiceResolverResponseOutput) ToServiceResolverResponseOutputWithContex return o } +func (o ServiceResolverResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceResolverResponse] { + return pulumix.Output[ServiceResolverResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest. func (o ServiceResolverResponseOutput) EndpointFilter() pulumi.StringOutput { return o.ApplyT(func(v ServiceResolverResponse) string { return v.EndpointFilter }).(pulumi.StringOutput) @@ -1746,6 +2029,12 @@ func (o ServiceResolverResponseArrayOutput) ToServiceResolverResponseArrayOutput return o } +func (o ServiceResolverResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceResolverResponse] { + return pulumix.Output[[]ServiceResolverResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceResolverResponseArrayOutput) Index(i pulumi.IntInput) ServiceResolverResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceResolverResponse { return vs[0].([]ServiceResolverResponse)[vs[1].(int)] @@ -1773,6 +2062,12 @@ func (o WrappingPublicKeyResponseOutput) ToWrappingPublicKeyResponseOutputWithCo return o } +func (o WrappingPublicKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WrappingPublicKeyResponse] { + return pulumix.Output[WrappingPublicKeyResponse]{ + OutputState: o.OutputState, + } +} + // The public key, encoded in PEM format. For more information, see the [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13). func (o WrappingPublicKeyResponseOutput) Pem() pulumi.StringOutput { return o.ApplyT(func(v WrappingPublicKeyResponse) string { return v.Pem }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/getLien.go b/sdk/go/google/cloudresourcemanager/v1/getLien.go index f3ff1d3944..24cb2e9116 100644 --- a/sdk/go/google/cloudresourcemanager/v1/getLien.go +++ b/sdk/go/google/cloudresourcemanager/v1/getLien.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve a Lien by `name`. Callers of this method will require permission on the `parent` resource. For example, a Lien with a `parent` of `projects/1234` requires permission `resourcemanager.projects.get` @@ -76,6 +77,12 @@ func (o LookupLienResultOutput) ToLookupLienResultOutputWithContext(ctx context. return o } +func (o LookupLienResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLienResult] { + return pulumix.Output[LookupLienResult]{ + OutputState: o.OutputState, + } +} + // The creation time of this Lien. func (o LookupLienResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupLienResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/getOrganizationIamPolicy.go b/sdk/go/google/cloudresourcemanager/v1/getOrganizationIamPolicy.go index 6981488f0b..2aa982ebcd 100644 --- a/sdk/go/google/cloudresourcemanager/v1/getOrganizationIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v1/getOrganizationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for an Organization resource. May be empty if no such policy or resource exists. The `resource` field should be the organization's resource name, e.g. "organizations/123". Authorization requires the Google IAM permission `resourcemanager.organizations.getIamPolicy` on the specified organization @@ -72,6 +73,12 @@ func (o LookupOrganizationIamPolicyResultOutput) ToLookupOrganizationIamPolicyRe return o } +func (o LookupOrganizationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationIamPolicyResult] { + return pulumix.Output[LookupOrganizationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupOrganizationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupOrganizationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/getProject.go b/sdk/go/google/cloudresourcemanager/v1/getProject.go index ea31bb0aed..3d088762b9 100644 --- a/sdk/go/google/cloudresourcemanager/v1/getProject.go +++ b/sdk/go/google/cloudresourcemanager/v1/getProject.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project. @@ -78,6 +79,12 @@ func (o LookupProjectResultOutput) ToLookupProjectResultOutputWithContext(ctx co return o } +func (o LookupProjectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectResult] { + return pulumix.Output[LookupProjectResult]{ + OutputState: o.OutputState, + } +} + // Creation time. Read-only. func (o LookupProjectResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupProjectResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/getProjectIamPolicy.go b/sdk/go/google/cloudresourcemanager/v1/getProjectIamPolicy.go index 8f8f6824a0..4e20f2f563 100644 --- a/sdk/go/google/cloudresourcemanager/v1/getProjectIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v1/getProjectIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the IAM access control policy for the specified Project. Permission is denied if the policy or the resource does not exist. Authorization requires the Google IAM permission `resourcemanager.projects.getIamPolicy` on the project. For additional information about `resource` (e.g. my-project-id) structure and identification, see [Resource Names](https://cloud.google.com/apis/design/resource_names). @@ -72,6 +73,12 @@ func (o LookupProjectIamPolicyResultOutput) ToLookupProjectIamPolicyResultOutput return o } +func (o LookupProjectIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectIamPolicyResult] { + return pulumix.Output[LookupProjectIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupProjectIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupProjectIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/lien.go b/sdk/go/google/cloudresourcemanager/v1/lien.go index 66eaf54815..ae93744b67 100644 --- a/sdk/go/google/cloudresourcemanager/v1/lien.go +++ b/sdk/go/google/cloudresourcemanager/v1/lien.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a Lien which applies to the resource denoted by the `parent` field. Callers of this method will require permission on the `parent` resource. For example, applying to `projects/1234` requires permission `resourcemanager.projects.updateLiens`. NOTE: Some resources may limit the number of Liens which may be applied. @@ -122,6 +123,12 @@ func (i *Lien) ToLienOutputWithContext(ctx context.Context) LienOutput { return pulumi.ToOutputWithContext(ctx, i).(LienOutput) } +func (i *Lien) ToOutput(ctx context.Context) pulumix.Output[*Lien] { + return pulumix.Output[*Lien]{ + OutputState: i.ToLienOutputWithContext(ctx).OutputState, + } +} + type LienOutput struct{ *pulumi.OutputState } func (LienOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o LienOutput) ToLienOutputWithContext(ctx context.Context) LienOutput { return o } +func (o LienOutput) ToOutput(ctx context.Context) pulumix.Output[*Lien] { + return pulumix.Output[*Lien]{ + OutputState: o.OutputState, + } +} + // The creation time of this Lien. func (o LienOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Lien) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/organizationIamBinding.go b/sdk/go/google/cloudresourcemanager/v1/organizationIamBinding.go index f1080bfae3..617d46d294 100644 --- a/sdk/go/google/cloudresourcemanager/v1/organizationIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v1/organizationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an Organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, e.g. "organizations/123". Authorization requires the Google IAM permission `resourcemanager.organizations.setIamPolicy` on the specified organization @@ -135,6 +136,12 @@ func (i *OrganizationIamBinding) ToOrganizationIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(OrganizationIamBindingOutput) } +func (i *OrganizationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamBinding] { + return pulumix.Output[*OrganizationIamBinding]{ + OutputState: i.ToOrganizationIamBindingOutputWithContext(ctx).OutputState, + } +} + type OrganizationIamBindingOutput struct{ *pulumi.OutputState } func (OrganizationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OrganizationIamBindingOutput) ToOrganizationIamBindingOutputWithContext( return o } +func (o OrganizationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamBinding] { + return pulumix.Output[*OrganizationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/organizationIamMember.go b/sdk/go/google/cloudresourcemanager/v1/organizationIamMember.go index 6c7b490acd..a274170336 100644 --- a/sdk/go/google/cloudresourcemanager/v1/organizationIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v1/organizationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an Organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, e.g. "organizations/123". Authorization requires the Google IAM permission `resourcemanager.organizations.setIamPolicy` on the specified organization @@ -135,6 +136,12 @@ func (i *OrganizationIamMember) ToOrganizationIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OrganizationIamMemberOutput) } +func (i *OrganizationIamMember) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamMember] { + return pulumix.Output[*OrganizationIamMember]{ + OutputState: i.ToOrganizationIamMemberOutputWithContext(ctx).OutputState, + } +} + type OrganizationIamMemberOutput struct{ *pulumi.OutputState } func (OrganizationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OrganizationIamMemberOutput) ToOrganizationIamMemberOutputWithContext(ct return o } +func (o OrganizationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamMember] { + return pulumix.Output[*OrganizationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/organizationIamPolicy.go b/sdk/go/google/cloudresourcemanager/v1/organizationIamPolicy.go index 26d9fe73bf..69f1309823 100644 --- a/sdk/go/google/cloudresourcemanager/v1/organizationIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v1/organizationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an Organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, e.g. "organizations/123". Authorization requires the Google IAM permission `resourcemanager.organizations.setIamPolicy` on the specified organization @@ -127,6 +128,12 @@ func (i *OrganizationIamPolicy) ToOrganizationIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OrganizationIamPolicyOutput) } +func (i *OrganizationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamPolicy] { + return pulumix.Output[*OrganizationIamPolicy]{ + OutputState: i.ToOrganizationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationIamPolicyOutput struct{ *pulumi.OutputState } func (OrganizationIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o OrganizationIamPolicyOutput) ToOrganizationIamPolicyOutputWithContext(ct return o } +func (o OrganizationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamPolicy] { + return pulumix.Output[*OrganizationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o OrganizationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *OrganizationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/project.go b/sdk/go/google/cloudresourcemanager/v1/project.go index 2689873bfe..da6fedbff6 100644 --- a/sdk/go/google/cloudresourcemanager/v1/project.go +++ b/sdk/go/google/cloudresourcemanager/v1/project.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Request that a new Project be created. The result is an Operation which can be used to track the creation process. This process usually takes a few seconds, but can sometimes take much longer. The tracking Operation is automatically deleted after a few hours, so there is no need to call DeleteOperation. Authorization requires the Google IAM permission `resourcemanager.projects.create` on the specified parent for the new project. The parent is identified by a specified ResourceId, which must include both an ID and a type, such as organization. This method does not associate the new project with a billing account. You can set or update the billing account associated with a project using the [`projects.updateBillingInfo`] (/billing/reference/rest/v1/projects/updateBillingInfo) method. @@ -128,6 +129,12 @@ func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput return pulumi.ToOutputWithContext(ctx, i).(ProjectOutput) } +func (i *Project) ToOutput(ctx context.Context) pulumix.Output[*Project] { + return pulumix.Output[*Project]{ + OutputState: i.ToProjectOutputWithContext(ctx).OutputState, + } +} + type ProjectOutput struct{ *pulumi.OutputState } func (ProjectOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOu return o } +func (o ProjectOutput) ToOutput(ctx context.Context) pulumix.Output[*Project] { + return pulumix.Output[*Project]{ + OutputState: o.OutputState, + } +} + // Creation time. Read-only. func (o ProjectOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Project) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/projectIamBinding.go b/sdk/go/google/cloudresourcemanager/v1/projectIamBinding.go index 3cb9821d31..64db3e8cad 100644 --- a/sdk/go/google/cloudresourcemanager/v1/projectIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v1/projectIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy for the specified Project. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. NOTE: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. For additional information about `resource` (e.g. my-project-id) structure and identification, see [Resource Names](https://cloud.google.com/apis/design/resource_names). The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + You can only grant ownership of a project to a member by using the GCP Console. Inviting a member will deliver an invitation email that they must accept. An invitation email is not generated if you are granting a role other than owner, or if both the member you are inviting and the project are part of your organization. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible. Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project @@ -135,6 +136,12 @@ func (i *ProjectIamBinding) ToProjectIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ProjectIamBindingOutput) } +func (i *ProjectIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamBinding] { + return pulumix.Output[*ProjectIamBinding]{ + OutputState: i.ToProjectIamBindingOutputWithContext(ctx).OutputState, + } +} + type ProjectIamBindingOutput struct{ *pulumi.OutputState } func (ProjectIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProjectIamBindingOutput) ToProjectIamBindingOutputWithContext(ctx contex return o } +func (o ProjectIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamBinding] { + return pulumix.Output[*ProjectIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ProjectIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ProjectIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/projectIamMember.go b/sdk/go/google/cloudresourcemanager/v1/projectIamMember.go index 9f10ed1384..2ba1425ad3 100644 --- a/sdk/go/google/cloudresourcemanager/v1/projectIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v1/projectIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy for the specified Project. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. NOTE: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. For additional information about `resource` (e.g. my-project-id) structure and identification, see [Resource Names](https://cloud.google.com/apis/design/resource_names). The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + You can only grant ownership of a project to a member by using the GCP Console. Inviting a member will deliver an invitation email that they must accept. An invitation email is not generated if you are granting a role other than owner, or if both the member you are inviting and the project are part of your organization. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible. Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project @@ -135,6 +136,12 @@ func (i *ProjectIamMember) ToProjectIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ProjectIamMemberOutput) } +func (i *ProjectIamMember) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamMember] { + return pulumix.Output[*ProjectIamMember]{ + OutputState: i.ToProjectIamMemberOutputWithContext(ctx).OutputState, + } +} + type ProjectIamMemberOutput struct{ *pulumi.OutputState } func (ProjectIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProjectIamMemberOutput) ToProjectIamMemberOutputWithContext(ctx context. return o } +func (o ProjectIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamMember] { + return pulumix.Output[*ProjectIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ProjectIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ProjectIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/projectIamPolicy.go b/sdk/go/google/cloudresourcemanager/v1/projectIamPolicy.go index e2f244dfad..71691dc43b 100644 --- a/sdk/go/google/cloudresourcemanager/v1/projectIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v1/projectIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy for the specified Project. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. NOTE: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. For additional information about `resource` (e.g. my-project-id) structure and identification, see [Resource Names](https://cloud.google.com/apis/design/resource_names). The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + You can only grant ownership of a project to a member by using the GCP Console. Inviting a member will deliver an invitation email that they must accept. An invitation email is not generated if you are granting a role other than owner, or if both the member you are inviting and the project are part of your organization. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible. Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project @@ -127,6 +128,12 @@ func (i *ProjectIamPolicy) ToProjectIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ProjectIamPolicyOutput) } +func (i *ProjectIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamPolicy] { + return pulumix.Output[*ProjectIamPolicy]{ + OutputState: i.ToProjectIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ProjectIamPolicyOutput struct{ *pulumi.OutputState } func (ProjectIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o ProjectIamPolicyOutput) ToProjectIamPolicyOutputWithContext(ctx context. return o } +func (o ProjectIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamPolicy] { + return pulumix.Output[*ProjectIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ProjectIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ProjectIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1/pulumiEnums.go b/sdk/go/google/cloudresourcemanager/v1/pulumiEnums.go index 4d811da8e0..c3817dd34f 100644 --- a/sdk/go/google/cloudresourcemanager/v1/pulumiEnums.go +++ b/sdk/go/google/cloudresourcemanager/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The Project lifecycle state. Read-only. type ProjectLifecycleState string @@ -255,6 +274,12 @@ func (o ProjectLifecycleStateOutput) ToProjectLifecycleStatePtrOutputWithContext }).(ProjectLifecycleStatePtrOutput) } +func (o ProjectLifecycleStateOutput) ToOutput(ctx context.Context) pulumix.Output[ProjectLifecycleState] { + return pulumix.Output[ProjectLifecycleState]{ + OutputState: o.OutputState, + } +} + func (o ProjectLifecycleStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o ProjectLifecycleStatePtrOutput) ToProjectLifecycleStatePtrOutputWithCont return o } +func (o ProjectLifecycleStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectLifecycleState] { + return pulumix.Output[*ProjectLifecycleState]{ + OutputState: o.OutputState, + } +} + func (o ProjectLifecycleStatePtrOutput) Elem() ProjectLifecycleStateOutput { return o.ApplyT(func(v *ProjectLifecycleState) ProjectLifecycleState { if v != nil { @@ -352,6 +383,12 @@ func (in *projectLifecycleStatePtr) ToProjectLifecycleStatePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ProjectLifecycleStatePtrOutput) } +func (in *projectLifecycleStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ProjectLifecycleState] { + return pulumix.Output[*ProjectLifecycleState]{ + OutputState: in.ToProjectLifecycleStatePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudresourcemanager/v1/pulumiTypes.go b/sdk/go/google/cloudresourcemanager/v1/pulumiTypes.go index 97c9b50656..f0fbc9c92c 100644 --- a/sdk/go/google/cloudresourcemanager/v1/pulumiTypes.go +++ b/sdk/go/google/cloudresourcemanager/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -798,6 +937,12 @@ func (i ResourceIdArgs) ToResourceIdOutputWithContext(ctx context.Context) Resou return pulumi.ToOutputWithContext(ctx, i).(ResourceIdOutput) } +func (i ResourceIdArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceId] { + return pulumix.Output[ResourceId]{ + OutputState: i.ToResourceIdOutputWithContext(ctx).OutputState, + } +} + func (i ResourceIdArgs) ToResourceIdPtrOutput() ResourceIdPtrOutput { return i.ToResourceIdPtrOutputWithContext(context.Background()) } @@ -839,6 +984,12 @@ func (i *resourceIdPtrType) ToResourceIdPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ResourceIdPtrOutput) } +func (i *resourceIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceId] { + return pulumix.Output[*ResourceId]{ + OutputState: i.ToResourceIdPtrOutputWithContext(ctx).OutputState, + } +} + // A container to reference an id for any resource type. A `resource` in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an App Engine app, a Compute Engine instance, a Cloud SQL database, and so on. type ResourceIdOutput struct{ *pulumi.OutputState } @@ -864,6 +1015,12 @@ func (o ResourceIdOutput) ToResourceIdPtrOutputWithContext(ctx context.Context) }).(ResourceIdPtrOutput) } +func (o ResourceIdOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceId] { + return pulumix.Output[ResourceId]{ + OutputState: o.OutputState, + } +} + // The type-specific id. This should correspond to the id used in the type-specific API's. func (o ResourceIdOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceId) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -888,6 +1045,12 @@ func (o ResourceIdPtrOutput) ToResourceIdPtrOutputWithContext(ctx context.Contex return o } +func (o ResourceIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceId] { + return pulumix.Output[*ResourceId]{ + OutputState: o.OutputState, + } +} + func (o ResourceIdPtrOutput) Elem() ResourceIdOutput { return o.ApplyT(func(v *ResourceId) ResourceId { if v != nil { @@ -939,6 +1102,12 @@ func (o ResourceIdResponseOutput) ToResourceIdResponseOutputWithContext(ctx cont return o } +func (o ResourceIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceIdResponse] { + return pulumix.Output[ResourceIdResponse]{ + OutputState: o.OutputState, + } +} + // The resource type this id is for. At present, the valid types are: "organization", "folder", and "project". func (o ResourceIdResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v ResourceIdResponse) string { return v.Type }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/getOrganizationIamPolicy.go b/sdk/go/google/cloudresourcemanager/v1beta1/getOrganizationIamPolicy.go index ad8da284f5..8cb7d16af5 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/getOrganizationIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/getOrganizationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for an Organization resource. May be empty if no such policy or resource exists. The `resource` field should be the organization's resource name, e.g. "organizations/123". @@ -72,6 +73,12 @@ func (o LookupOrganizationIamPolicyResultOutput) ToLookupOrganizationIamPolicyRe return o } +func (o LookupOrganizationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationIamPolicyResult] { + return pulumix.Output[LookupOrganizationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupOrganizationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupOrganizationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/getProject.go b/sdk/go/google/cloudresourcemanager/v1beta1/getProject.go index eab171ea06..933010bf23 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/getProject.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/getProject.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project. @@ -78,6 +79,12 @@ func (o LookupProjectResultOutput) ToLookupProjectResultOutputWithContext(ctx co return o } +func (o LookupProjectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectResult] { + return pulumix.Output[LookupProjectResult]{ + OutputState: o.OutputState, + } +} + // Creation time. Read-only. func (o LookupProjectResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupProjectResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/getProjectIamPolicy.go b/sdk/go/google/cloudresourcemanager/v1beta1/getProjectIamPolicy.go index 50b464c3be..8009b3cbb6 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/getProjectIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/getProjectIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the IAM access control policy for the specified Project. Permission is denied if the policy or the resource does not exist. For additional information about resource structure and identification, see [Resource Names](/apis/design/resource_names). @@ -72,6 +73,12 @@ func (o LookupProjectIamPolicyResultOutput) ToLookupProjectIamPolicyResultOutput return o } +func (o LookupProjectIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectIamPolicyResult] { + return pulumix.Output[LookupProjectIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupProjectIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupProjectIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamBinding.go b/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamBinding.go index 93b1f74d93..10c18c24d9 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an Organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, e.g. "organizations/123". @@ -135,6 +136,12 @@ func (i *OrganizationIamBinding) ToOrganizationIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(OrganizationIamBindingOutput) } +func (i *OrganizationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamBinding] { + return pulumix.Output[*OrganizationIamBinding]{ + OutputState: i.ToOrganizationIamBindingOutputWithContext(ctx).OutputState, + } +} + type OrganizationIamBindingOutput struct{ *pulumi.OutputState } func (OrganizationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OrganizationIamBindingOutput) ToOrganizationIamBindingOutputWithContext( return o } +func (o OrganizationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamBinding] { + return pulumix.Output[*OrganizationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamMember.go b/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamMember.go index 29d81e4858..aabb71a4ec 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an Organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, e.g. "organizations/123". @@ -135,6 +136,12 @@ func (i *OrganizationIamMember) ToOrganizationIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OrganizationIamMemberOutput) } +func (i *OrganizationIamMember) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamMember] { + return pulumix.Output[*OrganizationIamMember]{ + OutputState: i.ToOrganizationIamMemberOutputWithContext(ctx).OutputState, + } +} + type OrganizationIamMemberOutput struct{ *pulumi.OutputState } func (OrganizationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OrganizationIamMemberOutput) ToOrganizationIamMemberOutputWithContext(ct return o } +func (o OrganizationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamMember] { + return pulumix.Output[*OrganizationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamPolicy.go b/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamPolicy.go index a70dfe7323..0d432c69de 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/organizationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an Organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, e.g. "organizations/123". @@ -127,6 +128,12 @@ func (i *OrganizationIamPolicy) ToOrganizationIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OrganizationIamPolicyOutput) } +func (i *OrganizationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamPolicy] { + return pulumix.Output[*OrganizationIamPolicy]{ + OutputState: i.ToOrganizationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationIamPolicyOutput struct{ *pulumi.OutputState } func (OrganizationIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o OrganizationIamPolicyOutput) ToOrganizationIamPolicyOutputWithContext(ct return o } +func (o OrganizationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamPolicy] { + return pulumix.Output[*OrganizationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o OrganizationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *OrganizationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/project.go b/sdk/go/google/cloudresourcemanager/v1beta1/project.go index 0bfd18b278..73f02da715 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/project.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/project.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Project resource. Initially, the Project resource is owned by its creator exclusively. The creator can later grant permission to others to read or update the Project. Several APIs are activated automatically for the Project, including Google Cloud Storage. The parent is identified by a specified ResourceId, which must include both an ID and a type, such as project, folder, or organization. This method does not associate the new project with a billing account. You can set or update the billing account associated with a project using the [`projects.updateBillingInfo`] (/billing/reference/rest/v1/projects/updateBillingInfo) method. @@ -134,6 +135,12 @@ func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput return pulumi.ToOutputWithContext(ctx, i).(ProjectOutput) } +func (i *Project) ToOutput(ctx context.Context) pulumix.Output[*Project] { + return pulumix.Output[*Project]{ + OutputState: i.ToProjectOutputWithContext(ctx).OutputState, + } +} + type ProjectOutput struct{ *pulumi.OutputState } func (ProjectOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOu return o } +func (o ProjectOutput) ToOutput(ctx context.Context) pulumix.Output[*Project] { + return pulumix.Output[*Project]{ + OutputState: o.OutputState, + } +} + // Creation time. Read-only. func (o ProjectOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Project) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/projectIamBinding.go b/sdk/go/google/cloudresourcemanager/v1beta1/projectIamBinding.go index 3f47f39883..836ca41712 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/projectIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/projectIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy for the specified Project. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. NOTE: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + Membership changes that leave the project without any owners that have accepted the Terms of Service (ToS) will be rejected. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project @@ -135,6 +136,12 @@ func (i *ProjectIamBinding) ToProjectIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ProjectIamBindingOutput) } +func (i *ProjectIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamBinding] { + return pulumix.Output[*ProjectIamBinding]{ + OutputState: i.ToProjectIamBindingOutputWithContext(ctx).OutputState, + } +} + type ProjectIamBindingOutput struct{ *pulumi.OutputState } func (ProjectIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProjectIamBindingOutput) ToProjectIamBindingOutputWithContext(ctx contex return o } +func (o ProjectIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamBinding] { + return pulumix.Output[*ProjectIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ProjectIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ProjectIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/projectIamMember.go b/sdk/go/google/cloudresourcemanager/v1beta1/projectIamMember.go index 6ec3359092..65258a97b4 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/projectIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/projectIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy for the specified Project. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. NOTE: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + Membership changes that leave the project without any owners that have accepted the Terms of Service (ToS) will be rejected. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project @@ -135,6 +136,12 @@ func (i *ProjectIamMember) ToProjectIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ProjectIamMemberOutput) } +func (i *ProjectIamMember) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamMember] { + return pulumix.Output[*ProjectIamMember]{ + OutputState: i.ToProjectIamMemberOutputWithContext(ctx).OutputState, + } +} + type ProjectIamMemberOutput struct{ *pulumi.OutputState } func (ProjectIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProjectIamMemberOutput) ToProjectIamMemberOutputWithContext(ctx context. return o } +func (o ProjectIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamMember] { + return pulumix.Output[*ProjectIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ProjectIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ProjectIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/projectIamPolicy.go b/sdk/go/google/cloudresourcemanager/v1beta1/projectIamPolicy.go index fb2be09a70..d93f49200e 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/projectIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/projectIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy for the specified Project. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. NOTE: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + Membership changes that leave the project without any owners that have accepted the Terms of Service (ToS) will be rejected. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project @@ -127,6 +128,12 @@ func (i *ProjectIamPolicy) ToProjectIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ProjectIamPolicyOutput) } +func (i *ProjectIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamPolicy] { + return pulumix.Output[*ProjectIamPolicy]{ + OutputState: i.ToProjectIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ProjectIamPolicyOutput struct{ *pulumi.OutputState } func (ProjectIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o ProjectIamPolicyOutput) ToProjectIamPolicyOutputWithContext(ctx context. return o } +func (o ProjectIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamPolicy] { + return pulumix.Output[*ProjectIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ProjectIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ProjectIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/pulumiEnums.go b/sdk/go/google/cloudresourcemanager/v1beta1/pulumiEnums.go index ca865c5998..ca705989ec 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/pulumiEnums.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The Project lifecycle state. Read-only. type ProjectLifecycleState string @@ -255,6 +274,12 @@ func (o ProjectLifecycleStateOutput) ToProjectLifecycleStatePtrOutputWithContext }).(ProjectLifecycleStatePtrOutput) } +func (o ProjectLifecycleStateOutput) ToOutput(ctx context.Context) pulumix.Output[ProjectLifecycleState] { + return pulumix.Output[ProjectLifecycleState]{ + OutputState: o.OutputState, + } +} + func (o ProjectLifecycleStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o ProjectLifecycleStatePtrOutput) ToProjectLifecycleStatePtrOutputWithCont return o } +func (o ProjectLifecycleStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectLifecycleState] { + return pulumix.Output[*ProjectLifecycleState]{ + OutputState: o.OutputState, + } +} + func (o ProjectLifecycleStatePtrOutput) Elem() ProjectLifecycleStateOutput { return o.ApplyT(func(v *ProjectLifecycleState) ProjectLifecycleState { if v != nil { @@ -352,6 +383,12 @@ func (in *projectLifecycleStatePtr) ToProjectLifecycleStatePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ProjectLifecycleStatePtrOutput) } +func (in *projectLifecycleStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ProjectLifecycleState] { + return pulumix.Output[*ProjectLifecycleState]{ + OutputState: in.ToProjectLifecycleStatePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudresourcemanager/v1beta1/pulumiTypes.go b/sdk/go/google/cloudresourcemanager/v1beta1/pulumiTypes.go index 186023173d..a7cb1983e5 100644 --- a/sdk/go/google/cloudresourcemanager/v1beta1/pulumiTypes.go +++ b/sdk/go/google/cloudresourcemanager/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -798,6 +937,12 @@ func (i ResourceIdArgs) ToResourceIdOutputWithContext(ctx context.Context) Resou return pulumi.ToOutputWithContext(ctx, i).(ResourceIdOutput) } +func (i ResourceIdArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceId] { + return pulumix.Output[ResourceId]{ + OutputState: i.ToResourceIdOutputWithContext(ctx).OutputState, + } +} + func (i ResourceIdArgs) ToResourceIdPtrOutput() ResourceIdPtrOutput { return i.ToResourceIdPtrOutputWithContext(context.Background()) } @@ -839,6 +984,12 @@ func (i *resourceIdPtrType) ToResourceIdPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ResourceIdPtrOutput) } +func (i *resourceIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceId] { + return pulumix.Output[*ResourceId]{ + OutputState: i.ToResourceIdPtrOutputWithContext(ctx).OutputState, + } +} + // A container to reference an id for any resource type. A `resource` in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an App Engine app, a Compute Engine instance, a Cloud SQL database, and so on. type ResourceIdOutput struct{ *pulumi.OutputState } @@ -864,6 +1015,12 @@ func (o ResourceIdOutput) ToResourceIdPtrOutputWithContext(ctx context.Context) }).(ResourceIdPtrOutput) } +func (o ResourceIdOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceId] { + return pulumix.Output[ResourceId]{ + OutputState: o.OutputState, + } +} + // Required field for the type-specific id. This should correspond to the id used in the type-specific API's. func (o ResourceIdOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceId) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -888,6 +1045,12 @@ func (o ResourceIdPtrOutput) ToResourceIdPtrOutputWithContext(ctx context.Contex return o } +func (o ResourceIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceId] { + return pulumix.Output[*ResourceId]{ + OutputState: o.OutputState, + } +} + func (o ResourceIdPtrOutput) Elem() ResourceIdOutput { return o.ApplyT(func(v *ResourceId) ResourceId { if v != nil { @@ -939,6 +1102,12 @@ func (o ResourceIdResponseOutput) ToResourceIdResponseOutputWithContext(ctx cont return o } +func (o ResourceIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceIdResponse] { + return pulumix.Output[ResourceIdResponse]{ + OutputState: o.OutputState, + } +} + // Required field representing the resource type this id is for. At present, the valid types are "project", "folder", and "organization". func (o ResourceIdResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v ResourceIdResponse) string { return v.Type }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2/folder.go b/sdk/go/google/cloudresourcemanager/v2/folder.go index 5c2c8edc18..f188ffbd55 100644 --- a/sdk/go/google/cloudresourcemanager/v2/folder.go +++ b/sdk/go/google/cloudresourcemanager/v2/folder.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Folder in the resource hierarchy. Returns an Operation which can be used to track the progress of the folder creation workflow. Upon success the Operation.response field will be populated with the created Folder. In order to succeed, the addition of this new Folder must not violate the Folder naming, height or fanout constraints. + The Folder's display_name must be distinct from all other Folders that share its parent. + The addition of the Folder must not cause the active Folder hierarchy to exceed a height of 10. Note, the full active + deleted Folder hierarchy is allowed to reach a height of 20; this provides additional headroom when moving folders that contain deleted folders. + The addition of the Folder must not cause the total number of Folders under its parent to exceed 300. If the operation fails due to a folder constraint violation, some errors may be returned by the CreateFolder request, with status code FAILED_PRECONDITION and an error description. Other folder constraint violations will be communicated in the Operation, with the specific PreconditionFailure returned via the details list in the Operation.error field. The caller must have `resourcemanager.folders.create` permission on the identified parent. @@ -113,6 +114,12 @@ func (i *Folder) ToFolderOutputWithContext(ctx context.Context) FolderOutput { return pulumi.ToOutputWithContext(ctx, i).(FolderOutput) } +func (i *Folder) ToOutput(ctx context.Context) pulumix.Output[*Folder] { + return pulumix.Output[*Folder]{ + OutputState: i.ToFolderOutputWithContext(ctx).OutputState, + } +} + type FolderOutput struct{ *pulumi.OutputState } func (FolderOutput) ElementType() reflect.Type { @@ -127,6 +134,12 @@ func (o FolderOutput) ToFolderOutputWithContext(ctx context.Context) FolderOutpu return o } +func (o FolderOutput) ToOutput(ctx context.Context) pulumix.Output[*Folder] { + return pulumix.Output[*Folder]{ + OutputState: o.OutputState, + } +} + // Timestamp when the Folder was created. Assigned by the server. func (o FolderOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Folder) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2/folderIamBinding.go b/sdk/go/google/cloudresourcemanager/v2/folderIamBinding.go index ca70545cc0..a4da380a17 100644 --- a/sdk/go/google/cloudresourcemanager/v2/folderIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v2/folderIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Folder, replacing any existing policy. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder. @@ -135,6 +136,12 @@ func (i *FolderIamBinding) ToFolderIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FolderIamBindingOutput) } +func (i *FolderIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FolderIamBinding] { + return pulumix.Output[*FolderIamBinding]{ + OutputState: i.ToFolderIamBindingOutputWithContext(ctx).OutputState, + } +} + type FolderIamBindingOutput struct{ *pulumi.OutputState } func (FolderIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FolderIamBindingOutput) ToFolderIamBindingOutputWithContext(ctx context. return o } +func (o FolderIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderIamBinding] { + return pulumix.Output[*FolderIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FolderIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FolderIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2/folderIamMember.go b/sdk/go/google/cloudresourcemanager/v2/folderIamMember.go index 7d4d5e19b1..4ceb2214e2 100644 --- a/sdk/go/google/cloudresourcemanager/v2/folderIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v2/folderIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Folder, replacing any existing policy. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder. @@ -135,6 +136,12 @@ func (i *FolderIamMember) ToFolderIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FolderIamMemberOutput) } +func (i *FolderIamMember) ToOutput(ctx context.Context) pulumix.Output[*FolderIamMember] { + return pulumix.Output[*FolderIamMember]{ + OutputState: i.ToFolderIamMemberOutputWithContext(ctx).OutputState, + } +} + type FolderIamMemberOutput struct{ *pulumi.OutputState } func (FolderIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FolderIamMemberOutput) ToFolderIamMemberOutputWithContext(ctx context.Co return o } +func (o FolderIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderIamMember] { + return pulumix.Output[*FolderIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FolderIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FolderIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2/folderIamPolicy.go b/sdk/go/google/cloudresourcemanager/v2/folderIamPolicy.go index e137fa8a5e..fa1ebbbb6b 100644 --- a/sdk/go/google/cloudresourcemanager/v2/folderIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v2/folderIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Folder, replacing any existing policy. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder. @@ -127,6 +128,12 @@ func (i *FolderIamPolicy) ToFolderIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FolderIamPolicyOutput) } +func (i *FolderIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FolderIamPolicy] { + return pulumix.Output[*FolderIamPolicy]{ + OutputState: i.ToFolderIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FolderIamPolicyOutput struct{ *pulumi.OutputState } func (FolderIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o FolderIamPolicyOutput) ToFolderIamPolicyOutputWithContext(ctx context.Co return o } +func (o FolderIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderIamPolicy] { + return pulumix.Output[*FolderIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FolderIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FolderIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2/getFolder.go b/sdk/go/google/cloudresourcemanager/v2/getFolder.go index 193b9d4ae0..06ee70fa4c 100644 --- a/sdk/go/google/cloudresourcemanager/v2/getFolder.go +++ b/sdk/go/google/cloudresourcemanager/v2/getFolder.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a Folder identified by the supplied resource name. Valid Folder resource names have the format `folders/{folder_id}` (for example, `folders/1234`). The caller must have `resourcemanager.folders.get` permission on the identified folder. @@ -74,6 +75,12 @@ func (o LookupFolderResultOutput) ToLookupFolderResultOutputWithContext(ctx cont return o } +func (o LookupFolderResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderResult] { + return pulumix.Output[LookupFolderResult]{ + OutputState: o.OutputState, + } +} + // Timestamp when the Folder was created. Assigned by the server. func (o LookupFolderResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFolderResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2/getFolderIamPolicy.go b/sdk/go/google/cloudresourcemanager/v2/getFolderIamPolicy.go index 88933fb18e..3c49b8bd00 100644 --- a/sdk/go/google/cloudresourcemanager/v2/getFolderIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v2/getFolderIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a Folder. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.getIamPolicy` permission on the identified folder. @@ -72,6 +73,12 @@ func (o LookupFolderIamPolicyResultOutput) ToLookupFolderIamPolicyResultOutputWi return o } +func (o LookupFolderIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderIamPolicyResult] { + return pulumix.Output[LookupFolderIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFolderIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFolderIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2/pulumiEnums.go b/sdk/go/google/cloudresourcemanager/v2/pulumiEnums.go index fddbeb2f82..9cf570f7ed 100644 --- a/sdk/go/google/cloudresourcemanager/v2/pulumiEnums.go +++ b/sdk/go/google/cloudresourcemanager/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudresourcemanager/v2/pulumiTypes.go b/sdk/go/google/cloudresourcemanager/v2/pulumiTypes.go index e416ea5108..9d96ca3ed2 100644 --- a/sdk/go/google/cloudresourcemanager/v2/pulumiTypes.go +++ b/sdk/go/google/cloudresourcemanager/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2beta1/folder.go b/sdk/go/google/cloudresourcemanager/v2beta1/folder.go index 5196b392b8..5d42c918f6 100644 --- a/sdk/go/google/cloudresourcemanager/v2beta1/folder.go +++ b/sdk/go/google/cloudresourcemanager/v2beta1/folder.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Folder in the resource hierarchy. Returns an Operation which can be used to track the progress of the folder creation workflow. Upon success the Operation.response field will be populated with the created Folder. In order to succeed, the addition of this new Folder must not violate the Folder naming, height or fanout constraints. + The Folder's display_name must be distinct from all other Folders that share its parent. + The addition of the Folder must not cause the active Folder hierarchy to exceed a height of 10. Note, the full active + deleted Folder hierarchy is allowed to reach a height of 20; this provides additional headroom when moving folders that contain deleted folders. + The addition of the Folder must not cause the total number of Folders under its parent to exceed 300. If the operation fails due to a folder constraint violation, some errors may be returned by the CreateFolder request, with status code FAILED_PRECONDITION and an error description. Other folder constraint violations will be communicated in the Operation, with the specific PreconditionFailure returned via the details list in the Operation.error field. The caller must have `resourcemanager.folders.create` permission on the identified parent. @@ -113,6 +114,12 @@ func (i *Folder) ToFolderOutputWithContext(ctx context.Context) FolderOutput { return pulumi.ToOutputWithContext(ctx, i).(FolderOutput) } +func (i *Folder) ToOutput(ctx context.Context) pulumix.Output[*Folder] { + return pulumix.Output[*Folder]{ + OutputState: i.ToFolderOutputWithContext(ctx).OutputState, + } +} + type FolderOutput struct{ *pulumi.OutputState } func (FolderOutput) ElementType() reflect.Type { @@ -127,6 +134,12 @@ func (o FolderOutput) ToFolderOutputWithContext(ctx context.Context) FolderOutpu return o } +func (o FolderOutput) ToOutput(ctx context.Context) pulumix.Output[*Folder] { + return pulumix.Output[*Folder]{ + OutputState: o.OutputState, + } +} + // Timestamp when the Folder was created. Assigned by the server. func (o FolderOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Folder) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2beta1/folderIamBinding.go b/sdk/go/google/cloudresourcemanager/v2beta1/folderIamBinding.go index 671f28fb67..5aa8de0ccc 100644 --- a/sdk/go/google/cloudresourcemanager/v2beta1/folderIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v2beta1/folderIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Folder, replacing any existing policy. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder. @@ -135,6 +136,12 @@ func (i *FolderIamBinding) ToFolderIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FolderIamBindingOutput) } +func (i *FolderIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FolderIamBinding] { + return pulumix.Output[*FolderIamBinding]{ + OutputState: i.ToFolderIamBindingOutputWithContext(ctx).OutputState, + } +} + type FolderIamBindingOutput struct{ *pulumi.OutputState } func (FolderIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FolderIamBindingOutput) ToFolderIamBindingOutputWithContext(ctx context. return o } +func (o FolderIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderIamBinding] { + return pulumix.Output[*FolderIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FolderIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FolderIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2beta1/folderIamMember.go b/sdk/go/google/cloudresourcemanager/v2beta1/folderIamMember.go index dfb56752eb..43f78de05b 100644 --- a/sdk/go/google/cloudresourcemanager/v2beta1/folderIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v2beta1/folderIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Folder, replacing any existing policy. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder. @@ -135,6 +136,12 @@ func (i *FolderIamMember) ToFolderIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FolderIamMemberOutput) } +func (i *FolderIamMember) ToOutput(ctx context.Context) pulumix.Output[*FolderIamMember] { + return pulumix.Output[*FolderIamMember]{ + OutputState: i.ToFolderIamMemberOutputWithContext(ctx).OutputState, + } +} + type FolderIamMemberOutput struct{ *pulumi.OutputState } func (FolderIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FolderIamMemberOutput) ToFolderIamMemberOutputWithContext(ctx context.Co return o } +func (o FolderIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderIamMember] { + return pulumix.Output[*FolderIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FolderIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FolderIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2beta1/folderIamPolicy.go b/sdk/go/google/cloudresourcemanager/v2beta1/folderIamPolicy.go index a7d7c5ac5e..6dc940453a 100644 --- a/sdk/go/google/cloudresourcemanager/v2beta1/folderIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v2beta1/folderIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a Folder, replacing any existing policy. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder. @@ -127,6 +128,12 @@ func (i *FolderIamPolicy) ToFolderIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FolderIamPolicyOutput) } +func (i *FolderIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FolderIamPolicy] { + return pulumix.Output[*FolderIamPolicy]{ + OutputState: i.ToFolderIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FolderIamPolicyOutput struct{ *pulumi.OutputState } func (FolderIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o FolderIamPolicyOutput) ToFolderIamPolicyOutputWithContext(ctx context.Co return o } +func (o FolderIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderIamPolicy] { + return pulumix.Output[*FolderIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FolderIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FolderIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2beta1/getFolder.go b/sdk/go/google/cloudresourcemanager/v2beta1/getFolder.go index ab884900e4..6f1ea7f6c1 100644 --- a/sdk/go/google/cloudresourcemanager/v2beta1/getFolder.go +++ b/sdk/go/google/cloudresourcemanager/v2beta1/getFolder.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a Folder identified by the supplied resource name. Valid Folder resource names have the format `folders/{folder_id}` (for example, `folders/1234`). The caller must have `resourcemanager.folders.get` permission on the identified folder. @@ -74,6 +75,12 @@ func (o LookupFolderResultOutput) ToLookupFolderResultOutputWithContext(ctx cont return o } +func (o LookupFolderResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderResult] { + return pulumix.Output[LookupFolderResult]{ + OutputState: o.OutputState, + } +} + // Timestamp when the Folder was created. Assigned by the server. func (o LookupFolderResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFolderResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2beta1/getFolderIamPolicy.go b/sdk/go/google/cloudresourcemanager/v2beta1/getFolderIamPolicy.go index 04ad86ced0..c31d33cf59 100644 --- a/sdk/go/google/cloudresourcemanager/v2beta1/getFolderIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v2beta1/getFolderIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a Folder. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the Folder's resource name, e.g. "folders/1234". The caller must have `resourcemanager.folders.getIamPolicy` permission on the identified folder. @@ -72,6 +73,12 @@ func (o LookupFolderIamPolicyResultOutput) ToLookupFolderIamPolicyResultOutputWi return o } +func (o LookupFolderIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderIamPolicyResult] { + return pulumix.Output[LookupFolderIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFolderIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFolderIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v2beta1/pulumiEnums.go b/sdk/go/google/cloudresourcemanager/v2beta1/pulumiEnums.go index e5802cc55b..fcea33d57c 100644 --- a/sdk/go/google/cloudresourcemanager/v2beta1/pulumiEnums.go +++ b/sdk/go/google/cloudresourcemanager/v2beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudresourcemanager/v2beta1/pulumiTypes.go b/sdk/go/google/cloudresourcemanager/v2beta1/pulumiTypes.go index 9f7b36ad70..ff14b94145 100644 --- a/sdk/go/google/cloudresourcemanager/v2beta1/pulumiTypes.go +++ b/sdk/go/google/cloudresourcemanager/v2beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/folder.go b/sdk/go/google/cloudresourcemanager/v3/folder.go index d265b4bc2b..2f4a9e1e76 100644 --- a/sdk/go/google/cloudresourcemanager/v3/folder.go +++ b/sdk/go/google/cloudresourcemanager/v3/folder.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a folder in the resource hierarchy. Returns an `Operation` which can be used to track the progress of the folder creation workflow. Upon success, the `Operation.response` field will be populated with the created Folder. In order to succeed, the addition of this new folder must not violate the folder naming, height, or fanout constraints. + The folder's `display_name` must be distinct from all other folders that share its parent. + The addition of the folder must not cause the active folder hierarchy to exceed a height of 10. Note, the full active + deleted folder hierarchy is allowed to reach a height of 20; this provides additional headroom when moving folders that contain deleted folders. + The addition of the folder must not cause the total number of folders under its parent to exceed 300. If the operation fails due to a folder constraint violation, some errors may be returned by the `CreateFolder` request, with status code `FAILED_PRECONDITION` and an error description. Other folder constraint violations will be communicated in the `Operation`, with the specific `PreconditionFailure` returned in the details list in the `Operation.error` field. The caller must have `resourcemanager.folders.create` permission on the identified parent. @@ -115,6 +116,12 @@ func (i *Folder) ToFolderOutputWithContext(ctx context.Context) FolderOutput { return pulumi.ToOutputWithContext(ctx, i).(FolderOutput) } +func (i *Folder) ToOutput(ctx context.Context) pulumix.Output[*Folder] { + return pulumix.Output[*Folder]{ + OutputState: i.ToFolderOutputWithContext(ctx).OutputState, + } +} + type FolderOutput struct{ *pulumi.OutputState } func (FolderOutput) ElementType() reflect.Type { @@ -129,6 +136,12 @@ func (o FolderOutput) ToFolderOutputWithContext(ctx context.Context) FolderOutpu return o } +func (o FolderOutput) ToOutput(ctx context.Context) pulumix.Output[*Folder] { + return pulumix.Output[*Folder]{ + OutputState: o.OutputState, + } +} + // Timestamp when the folder was created. func (o FolderOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Folder) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/folderIamBinding.go b/sdk/go/google/cloudresourcemanager/v3/folderIamBinding.go index fa10a0a8a5..112d33b935 100644 --- a/sdk/go/google/cloudresourcemanager/v3/folderIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v3/folderIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a folder, replacing any existing policy. The `resource` field should be the folder's resource name, for example: "folders/1234". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder. @@ -135,6 +136,12 @@ func (i *FolderIamBinding) ToFolderIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FolderIamBindingOutput) } +func (i *FolderIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FolderIamBinding] { + return pulumix.Output[*FolderIamBinding]{ + OutputState: i.ToFolderIamBindingOutputWithContext(ctx).OutputState, + } +} + type FolderIamBindingOutput struct{ *pulumi.OutputState } func (FolderIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FolderIamBindingOutput) ToFolderIamBindingOutputWithContext(ctx context. return o } +func (o FolderIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderIamBinding] { + return pulumix.Output[*FolderIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FolderIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FolderIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/folderIamMember.go b/sdk/go/google/cloudresourcemanager/v3/folderIamMember.go index 07bd57b9c0..f6cb4804f0 100644 --- a/sdk/go/google/cloudresourcemanager/v3/folderIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v3/folderIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a folder, replacing any existing policy. The `resource` field should be the folder's resource name, for example: "folders/1234". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder. @@ -135,6 +136,12 @@ func (i *FolderIamMember) ToFolderIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FolderIamMemberOutput) } +func (i *FolderIamMember) ToOutput(ctx context.Context) pulumix.Output[*FolderIamMember] { + return pulumix.Output[*FolderIamMember]{ + OutputState: i.ToFolderIamMemberOutputWithContext(ctx).OutputState, + } +} + type FolderIamMemberOutput struct{ *pulumi.OutputState } func (FolderIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FolderIamMemberOutput) ToFolderIamMemberOutputWithContext(ctx context.Co return o } +func (o FolderIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderIamMember] { + return pulumix.Output[*FolderIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FolderIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FolderIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/folderIamPolicy.go b/sdk/go/google/cloudresourcemanager/v3/folderIamPolicy.go index b2b6cd3541..5a938c5f8d 100644 --- a/sdk/go/google/cloudresourcemanager/v3/folderIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v3/folderIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a folder, replacing any existing policy. The `resource` field should be the folder's resource name, for example: "folders/1234". The caller must have `resourcemanager.folders.setIamPolicy` permission on the identified folder. @@ -127,6 +128,12 @@ func (i *FolderIamPolicy) ToFolderIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FolderIamPolicyOutput) } +func (i *FolderIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FolderIamPolicy] { + return pulumix.Output[*FolderIamPolicy]{ + OutputState: i.ToFolderIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FolderIamPolicyOutput struct{ *pulumi.OutputState } func (FolderIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o FolderIamPolicyOutput) ToFolderIamPolicyOutputWithContext(ctx context.Co return o } +func (o FolderIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderIamPolicy] { + return pulumix.Output[*FolderIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FolderIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FolderIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/getFolder.go b/sdk/go/google/cloudresourcemanager/v3/getFolder.go index 04b4c7d1cf..9a3fcf6342 100644 --- a/sdk/go/google/cloudresourcemanager/v3/getFolder.go +++ b/sdk/go/google/cloudresourcemanager/v3/getFolder.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a folder identified by the supplied resource name. Valid folder resource names have the format `folders/{folder_id}` (for example, `folders/1234`). The caller must have `resourcemanager.folders.get` permission on the identified folder. @@ -80,6 +81,12 @@ func (o LookupFolderResultOutput) ToLookupFolderResultOutputWithContext(ctx cont return o } +func (o LookupFolderResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderResult] { + return pulumix.Output[LookupFolderResult]{ + OutputState: o.OutputState, + } +} + // Timestamp when the folder was created. func (o LookupFolderResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFolderResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/getFolderIamPolicy.go b/sdk/go/google/cloudresourcemanager/v3/getFolderIamPolicy.go index b07035d22a..8d8d014fc9 100644 --- a/sdk/go/google/cloudresourcemanager/v3/getFolderIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v3/getFolderIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a folder. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the folder's resource name, for example: "folders/1234". The caller must have `resourcemanager.folders.getIamPolicy` permission on the identified folder. @@ -72,6 +73,12 @@ func (o LookupFolderIamPolicyResultOutput) ToLookupFolderIamPolicyResultOutputWi return o } +func (o LookupFolderIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderIamPolicyResult] { + return pulumix.Output[LookupFolderIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFolderIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFolderIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/getLien.go b/sdk/go/google/cloudresourcemanager/v3/getLien.go index bfb26c2bca..5a53a091ee 100644 --- a/sdk/go/google/cloudresourcemanager/v3/getLien.go +++ b/sdk/go/google/cloudresourcemanager/v3/getLien.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve a Lien by `name`. Callers of this method will require permission on the `parent` resource. For example, a Lien with a `parent` of `projects/1234` requires permission `resourcemanager.projects.get` @@ -76,6 +77,12 @@ func (o LookupLienResultOutput) ToLookupLienResultOutputWithContext(ctx context. return o } +func (o LookupLienResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLienResult] { + return pulumix.Output[LookupLienResult]{ + OutputState: o.OutputState, + } +} + // The creation time of this Lien. func (o LookupLienResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupLienResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/getOrganizationIamPolicy.go b/sdk/go/google/cloudresourcemanager/v3/getOrganizationIamPolicy.go index d62cf3767b..144720b64a 100644 --- a/sdk/go/google/cloudresourcemanager/v3/getOrganizationIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v3/getOrganizationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for an organization resource. The policy may be empty if no such policy or resource exists. The `resource` field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission `resourcemanager.organizations.getIamPolicy` on the specified organization. @@ -72,6 +73,12 @@ func (o LookupOrganizationIamPolicyResultOutput) ToLookupOrganizationIamPolicyRe return o } +func (o LookupOrganizationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationIamPolicyResult] { + return pulumix.Output[LookupOrganizationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupOrganizationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupOrganizationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/getProject.go b/sdk/go/google/cloudresourcemanager/v3/getProject.go index 1e0995930d..05025e3e44 100644 --- a/sdk/go/google/cloudresourcemanager/v3/getProject.go +++ b/sdk/go/google/cloudresourcemanager/v3/getProject.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the project identified by the specified `name` (for example, `projects/415104041262`). The caller must have `resourcemanager.projects.get` permission for this project. @@ -84,6 +85,12 @@ func (o LookupProjectResultOutput) ToLookupProjectResultOutputWithContext(ctx co return o } +func (o LookupProjectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectResult] { + return pulumix.Output[LookupProjectResult]{ + OutputState: o.OutputState, + } +} + // Creation time. func (o LookupProjectResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupProjectResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/getProjectIamPolicy.go b/sdk/go/google/cloudresourcemanager/v3/getProjectIamPolicy.go index 3c948ad988..81a77574ed 100644 --- a/sdk/go/google/cloudresourcemanager/v3/getProjectIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v3/getProjectIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. Permission is denied if the policy or the resource do not exist. @@ -72,6 +73,12 @@ func (o LookupProjectIamPolicyResultOutput) ToLookupProjectIamPolicyResultOutput return o } +func (o LookupProjectIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectIamPolicyResult] { + return pulumix.Output[LookupProjectIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupProjectIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupProjectIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/getTagKey.go b/sdk/go/google/cloudresourcemanager/v3/getTagKey.go index e085e8d270..ead9748732 100644 --- a/sdk/go/google/cloudresourcemanager/v3/getTagKey.go +++ b/sdk/go/google/cloudresourcemanager/v3/getTagKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a TagKey. This method will return `PERMISSION_DENIED` if the key does not exist or the user does not have permission to view it. @@ -84,6 +85,12 @@ func (o LookupTagKeyResultOutput) ToLookupTagKeyResultOutputWithContext(ctx cont return o } +func (o LookupTagKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagKeyResult] { + return pulumix.Output[LookupTagKeyResult]{ + OutputState: o.OutputState, + } +} + // Creation time. func (o LookupTagKeyResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTagKeyResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/getTagKeyIamPolicy.go b/sdk/go/google/cloudresourcemanager/v3/getTagKeyIamPolicy.go index b881979d47..7d6718f19e 100644 --- a/sdk/go/google/cloudresourcemanager/v3/getTagKeyIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v3/getTagKeyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a TagKey. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the TagKey's resource name. For example, "tagKeys/1234". The caller must have `cloudresourcemanager.googleapis.com/tagKeys.getIamPolicy` permission on the specified TagKey. @@ -72,6 +73,12 @@ func (o LookupTagKeyIamPolicyResultOutput) ToLookupTagKeyIamPolicyResultOutputWi return o } +func (o LookupTagKeyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagKeyIamPolicyResult] { + return pulumix.Output[LookupTagKeyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupTagKeyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupTagKeyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/getTagValue.go b/sdk/go/google/cloudresourcemanager/v3/getTagValue.go index 2d088f2a1b..e2c4aab813 100644 --- a/sdk/go/google/cloudresourcemanager/v3/getTagValue.go +++ b/sdk/go/google/cloudresourcemanager/v3/getTagValue.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a TagValue. This method will return `PERMISSION_DENIED` if the value does not exist or the user does not have permission to view it. @@ -80,6 +81,12 @@ func (o LookupTagValueResultOutput) ToLookupTagValueResultOutputWithContext(ctx return o } +func (o LookupTagValueResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagValueResult] { + return pulumix.Output[LookupTagValueResult]{ + OutputState: o.OutputState, + } +} + // Creation time. func (o LookupTagValueResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTagValueResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/getTagValueIamPolicy.go b/sdk/go/google/cloudresourcemanager/v3/getTagValueIamPolicy.go index 1ab11e89a6..572b03dacc 100644 --- a/sdk/go/google/cloudresourcemanager/v3/getTagValueIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v3/getTagValueIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a TagValue. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the TagValue's resource name. For example: `tagValues/1234`. The caller must have the `cloudresourcemanager.googleapis.com/tagValues.getIamPolicy` permission on the identified TagValue to get the access control policy. @@ -72,6 +73,12 @@ func (o LookupTagValueIamPolicyResultOutput) ToLookupTagValueIamPolicyResultOutp return o } +func (o LookupTagValueIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagValueIamPolicyResult] { + return pulumix.Output[LookupTagValueIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupTagValueIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupTagValueIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/lien.go b/sdk/go/google/cloudresourcemanager/v3/lien.go index 672b1b6624..fc405c5905 100644 --- a/sdk/go/google/cloudresourcemanager/v3/lien.go +++ b/sdk/go/google/cloudresourcemanager/v3/lien.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a Lien which applies to the resource denoted by the `parent` field. Callers of this method will require permission on the `parent` resource. For example, applying to `projects/1234` requires permission `resourcemanager.projects.updateLiens`. NOTE: Some resources may limit the number of Liens which may be applied. @@ -122,6 +123,12 @@ func (i *Lien) ToLienOutputWithContext(ctx context.Context) LienOutput { return pulumi.ToOutputWithContext(ctx, i).(LienOutput) } +func (i *Lien) ToOutput(ctx context.Context) pulumix.Output[*Lien] { + return pulumix.Output[*Lien]{ + OutputState: i.ToLienOutputWithContext(ctx).OutputState, + } +} + type LienOutput struct{ *pulumi.OutputState } func (LienOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o LienOutput) ToLienOutputWithContext(ctx context.Context) LienOutput { return o } +func (o LienOutput) ToOutput(ctx context.Context) pulumix.Output[*Lien] { + return pulumix.Output[*Lien]{ + OutputState: o.OutputState, + } +} + // The creation time of this Lien. func (o LienOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Lien) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/organizationIamBinding.go b/sdk/go/google/cloudresourcemanager/v3/organizationIamBinding.go index 2d784bfecf..9619d66179 100644 --- a/sdk/go/google/cloudresourcemanager/v3/organizationIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v3/organizationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission `resourcemanager.organizations.setIamPolicy` on the specified organization. @@ -135,6 +136,12 @@ func (i *OrganizationIamBinding) ToOrganizationIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(OrganizationIamBindingOutput) } +func (i *OrganizationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamBinding] { + return pulumix.Output[*OrganizationIamBinding]{ + OutputState: i.ToOrganizationIamBindingOutputWithContext(ctx).OutputState, + } +} + type OrganizationIamBindingOutput struct{ *pulumi.OutputState } func (OrganizationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OrganizationIamBindingOutput) ToOrganizationIamBindingOutputWithContext( return o } +func (o OrganizationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamBinding] { + return pulumix.Output[*OrganizationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/organizationIamMember.go b/sdk/go/google/cloudresourcemanager/v3/organizationIamMember.go index 323e7c66bd..9bda11e8ce 100644 --- a/sdk/go/google/cloudresourcemanager/v3/organizationIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v3/organizationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission `resourcemanager.organizations.setIamPolicy` on the specified organization. @@ -135,6 +136,12 @@ func (i *OrganizationIamMember) ToOrganizationIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OrganizationIamMemberOutput) } +func (i *OrganizationIamMember) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamMember] { + return pulumix.Output[*OrganizationIamMember]{ + OutputState: i.ToOrganizationIamMemberOutputWithContext(ctx).OutputState, + } +} + type OrganizationIamMemberOutput struct{ *pulumi.OutputState } func (OrganizationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OrganizationIamMemberOutput) ToOrganizationIamMemberOutputWithContext(ct return o } +func (o OrganizationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamMember] { + return pulumix.Output[*OrganizationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/organizationIamPolicy.go b/sdk/go/google/cloudresourcemanager/v3/organizationIamPolicy.go index 1ae2c3d45f..da35217c6a 100644 --- a/sdk/go/google/cloudresourcemanager/v3/organizationIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v3/organizationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, for example: "organizations/123". Authorization requires the IAM permission `resourcemanager.organizations.setIamPolicy` on the specified organization. @@ -127,6 +128,12 @@ func (i *OrganizationIamPolicy) ToOrganizationIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OrganizationIamPolicyOutput) } +func (i *OrganizationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamPolicy] { + return pulumix.Output[*OrganizationIamPolicy]{ + OutputState: i.ToOrganizationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationIamPolicyOutput struct{ *pulumi.OutputState } func (OrganizationIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o OrganizationIamPolicyOutput) ToOrganizationIamPolicyOutputWithContext(ct return o } +func (o OrganizationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationIamPolicy] { + return pulumix.Output[*OrganizationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o OrganizationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *OrganizationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/project.go b/sdk/go/google/cloudresourcemanager/v3/project.go index 6ddf9d386c..40a3609b36 100644 --- a/sdk/go/google/cloudresourcemanager/v3/project.go +++ b/sdk/go/google/cloudresourcemanager/v3/project.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Request that a new project be created. The result is an `Operation` which can be used to track the creation process. This process usually takes a few seconds, but can sometimes take much longer. The tracking `Operation` is automatically deleted after a few hours, so there is no need to call `DeleteOperation`. @@ -123,6 +124,12 @@ func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput return pulumi.ToOutputWithContext(ctx, i).(ProjectOutput) } +func (i *Project) ToOutput(ctx context.Context) pulumix.Output[*Project] { + return pulumix.Output[*Project]{ + OutputState: i.ToProjectOutputWithContext(ctx).OutputState, + } +} + type ProjectOutput struct{ *pulumi.OutputState } func (ProjectOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOu return o } +func (o ProjectOutput) ToOutput(ctx context.Context) pulumix.Output[*Project] { + return pulumix.Output[*Project]{ + OutputState: o.OutputState, + } +} + // Creation time. func (o ProjectOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Project) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/projectIamBinding.go b/sdk/go/google/cloudresourcemanager/v3/projectIamBinding.go index d4ba6e034b..025ed1e12b 100644 --- a/sdk/go/google/cloudresourcemanager/v3/projectIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v3/projectIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited using the Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible. @@ -135,6 +136,12 @@ func (i *ProjectIamBinding) ToProjectIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ProjectIamBindingOutput) } +func (i *ProjectIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamBinding] { + return pulumix.Output[*ProjectIamBinding]{ + OutputState: i.ToProjectIamBindingOutputWithContext(ctx).OutputState, + } +} + type ProjectIamBindingOutput struct{ *pulumi.OutputState } func (ProjectIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProjectIamBindingOutput) ToProjectIamBindingOutputWithContext(ctx contex return o } +func (o ProjectIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamBinding] { + return pulumix.Output[*ProjectIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ProjectIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ProjectIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/projectIamMember.go b/sdk/go/google/cloudresourcemanager/v3/projectIamMember.go index 97a5f5ec1b..e11bcfe043 100644 --- a/sdk/go/google/cloudresourcemanager/v3/projectIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v3/projectIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited using the Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible. @@ -135,6 +136,12 @@ func (i *ProjectIamMember) ToProjectIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ProjectIamMemberOutput) } +func (i *ProjectIamMember) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamMember] { + return pulumix.Output[*ProjectIamMember]{ + OutputState: i.ToProjectIamMemberOutputWithContext(ctx).OutputState, + } +} + type ProjectIamMemberOutput struct{ *pulumi.OutputState } func (ProjectIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProjectIamMemberOutput) ToProjectIamMemberOutputWithContext(ctx context. return o } +func (o ProjectIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamMember] { + return pulumix.Output[*ProjectIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ProjectIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ProjectIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/projectIamPolicy.go b/sdk/go/google/cloudresourcemanager/v3/projectIamPolicy.go index 6ac6f84a6f..8f25cda4ef 100644 --- a/sdk/go/google/cloudresourcemanager/v3/projectIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v3/projectIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM access control policy for the specified project, in the format `projects/{ProjectIdOrNumber}` e.g. projects/123. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited using the Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible. @@ -123,6 +124,12 @@ func (i *ProjectIamPolicy) ToProjectIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ProjectIamPolicyOutput) } +func (i *ProjectIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamPolicy] { + return pulumix.Output[*ProjectIamPolicy]{ + OutputState: i.ToProjectIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ProjectIamPolicyOutput struct{ *pulumi.OutputState } func (ProjectIamPolicyOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o ProjectIamPolicyOutput) ToProjectIamPolicyOutputWithContext(ctx context. return o } +func (o ProjectIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectIamPolicy] { + return pulumix.Output[*ProjectIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ProjectIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ProjectIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/pulumiEnums.go b/sdk/go/google/cloudresourcemanager/v3/pulumiEnums.go index 0129b69ecd..65d36c8a1d 100644 --- a/sdk/go/google/cloudresourcemanager/v3/pulumiEnums.go +++ b/sdk/go/google/cloudresourcemanager/v3/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this Tag. A purpose does not grant a policy engine exclusive rights to the Tag, and it may be referenced by other policy engines. A purpose cannot be changed once set. type TagKeyPurpose string @@ -251,6 +270,12 @@ func (o TagKeyPurposeOutput) ToTagKeyPurposePtrOutputWithContext(ctx context.Con }).(TagKeyPurposePtrOutput) } +func (o TagKeyPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[TagKeyPurpose] { + return pulumix.Output[TagKeyPurpose]{ + OutputState: o.OutputState, + } +} + func (o TagKeyPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o TagKeyPurposePtrOutput) ToTagKeyPurposePtrOutputWithContext(ctx context. return o } +func (o TagKeyPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TagKeyPurpose] { + return pulumix.Output[*TagKeyPurpose]{ + OutputState: o.OutputState, + } +} + func (o TagKeyPurposePtrOutput) Elem() TagKeyPurposeOutput { return o.ApplyT(func(v *TagKeyPurpose) TagKeyPurpose { if v != nil { @@ -348,6 +379,12 @@ func (in *tagKeyPurposePtr) ToTagKeyPurposePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(TagKeyPurposePtrOutput) } +func (in *tagKeyPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*TagKeyPurpose] { + return pulumix.Output[*TagKeyPurpose]{ + OutputState: in.ToTagKeyPurposePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/cloudresourcemanager/v3/pulumiTypes.go b/sdk/go/google/cloudresourcemanager/v3/pulumiTypes.go index aa2fe759dd..4f3c4f26b5 100644 --- a/sdk/go/google/cloudresourcemanager/v3/pulumiTypes.go +++ b/sdk/go/google/cloudresourcemanager/v3/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/tagKey.go b/sdk/go/google/cloudresourcemanager/v3/tagKey.go index 5aa6a95438..51d3eca51e 100644 --- a/sdk/go/google/cloudresourcemanager/v3/tagKey.go +++ b/sdk/go/google/cloudresourcemanager/v3/tagKey.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TagKey. If another request with the same parameters is sent while the original request is in process, the second request will receive an error. A maximum of 1000 TagKeys can exist under a parent at any given time. @@ -138,6 +139,12 @@ func (i *TagKey) ToTagKeyOutputWithContext(ctx context.Context) TagKeyOutput { return pulumi.ToOutputWithContext(ctx, i).(TagKeyOutput) } +func (i *TagKey) ToOutput(ctx context.Context) pulumix.Output[*TagKey] { + return pulumix.Output[*TagKey]{ + OutputState: i.ToTagKeyOutputWithContext(ctx).OutputState, + } +} + type TagKeyOutput struct{ *pulumi.OutputState } func (TagKeyOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o TagKeyOutput) ToTagKeyOutputWithContext(ctx context.Context) TagKeyOutpu return o } +func (o TagKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*TagKey] { + return pulumix.Output[*TagKey]{ + OutputState: o.OutputState, + } +} + // Creation time. func (o TagKeyOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TagKey) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/tagKeyIamBinding.go b/sdk/go/google/cloudresourcemanager/v3/tagKeyIamBinding.go index 3020a5ef15..7726007e18 100644 --- a/sdk/go/google/cloudresourcemanager/v3/tagKeyIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v3/tagKeyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a TagKey, replacing any existing policy. The `resource` field should be the TagKey's resource name. For example, "tagKeys/1234". The caller must have `resourcemanager.tagKeys.setIamPolicy` permission on the identified tagValue. @@ -135,6 +136,12 @@ func (i *TagKeyIamBinding) ToTagKeyIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TagKeyIamBindingOutput) } +func (i *TagKeyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TagKeyIamBinding] { + return pulumix.Output[*TagKeyIamBinding]{ + OutputState: i.ToTagKeyIamBindingOutputWithContext(ctx).OutputState, + } +} + type TagKeyIamBindingOutput struct{ *pulumi.OutputState } func (TagKeyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TagKeyIamBindingOutput) ToTagKeyIamBindingOutputWithContext(ctx context. return o } +func (o TagKeyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TagKeyIamBinding] { + return pulumix.Output[*TagKeyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TagKeyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TagKeyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/tagKeyIamMember.go b/sdk/go/google/cloudresourcemanager/v3/tagKeyIamMember.go index f29d58cf0f..2987404b6b 100644 --- a/sdk/go/google/cloudresourcemanager/v3/tagKeyIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v3/tagKeyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a TagKey, replacing any existing policy. The `resource` field should be the TagKey's resource name. For example, "tagKeys/1234". The caller must have `resourcemanager.tagKeys.setIamPolicy` permission on the identified tagValue. @@ -135,6 +136,12 @@ func (i *TagKeyIamMember) ToTagKeyIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TagKeyIamMemberOutput) } +func (i *TagKeyIamMember) ToOutput(ctx context.Context) pulumix.Output[*TagKeyIamMember] { + return pulumix.Output[*TagKeyIamMember]{ + OutputState: i.ToTagKeyIamMemberOutputWithContext(ctx).OutputState, + } +} + type TagKeyIamMemberOutput struct{ *pulumi.OutputState } func (TagKeyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TagKeyIamMemberOutput) ToTagKeyIamMemberOutputWithContext(ctx context.Co return o } +func (o TagKeyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TagKeyIamMember] { + return pulumix.Output[*TagKeyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TagKeyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TagKeyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/tagKeyIamPolicy.go b/sdk/go/google/cloudresourcemanager/v3/tagKeyIamPolicy.go index a3634c6a65..263aee9b15 100644 --- a/sdk/go/google/cloudresourcemanager/v3/tagKeyIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v3/tagKeyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a TagKey, replacing any existing policy. The `resource` field should be the TagKey's resource name. For example, "tagKeys/1234". The caller must have `resourcemanager.tagKeys.setIamPolicy` permission on the identified tagValue. @@ -127,6 +128,12 @@ func (i *TagKeyIamPolicy) ToTagKeyIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TagKeyIamPolicyOutput) } +func (i *TagKeyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TagKeyIamPolicy] { + return pulumix.Output[*TagKeyIamPolicy]{ + OutputState: i.ToTagKeyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TagKeyIamPolicyOutput struct{ *pulumi.OutputState } func (TagKeyIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o TagKeyIamPolicyOutput) ToTagKeyIamPolicyOutputWithContext(ctx context.Co return o } +func (o TagKeyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TagKeyIamPolicy] { + return pulumix.Output[*TagKeyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o TagKeyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *TagKeyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/tagValue.go b/sdk/go/google/cloudresourcemanager/v3/tagValue.go index f95d6e82e8..c95dab5b82 100644 --- a/sdk/go/google/cloudresourcemanager/v3/tagValue.go +++ b/sdk/go/google/cloudresourcemanager/v3/tagValue.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TagValue as a child of the specified TagKey. If a another request with the same parameters is sent while the original request is in process the second request will receive an error. A maximum of 1000 TagValues can exist under a TagKey at any given time. @@ -126,6 +127,12 @@ func (i *TagValue) ToTagValueOutputWithContext(ctx context.Context) TagValueOutp return pulumi.ToOutputWithContext(ctx, i).(TagValueOutput) } +func (i *TagValue) ToOutput(ctx context.Context) pulumix.Output[*TagValue] { + return pulumix.Output[*TagValue]{ + OutputState: i.ToTagValueOutputWithContext(ctx).OutputState, + } +} + type TagValueOutput struct{ *pulumi.OutputState } func (TagValueOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o TagValueOutput) ToTagValueOutputWithContext(ctx context.Context) TagValu return o } +func (o TagValueOutput) ToOutput(ctx context.Context) pulumix.Output[*TagValue] { + return pulumix.Output[*TagValue]{ + OutputState: o.OutputState, + } +} + // Creation time. func (o TagValueOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TagValue) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/tagValueIamBinding.go b/sdk/go/google/cloudresourcemanager/v3/tagValueIamBinding.go index 673e0f2e38..b0bd172a35 100644 --- a/sdk/go/google/cloudresourcemanager/v3/tagValueIamBinding.go +++ b/sdk/go/google/cloudresourcemanager/v3/tagValueIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a TagValue, replacing any existing policy. The `resource` field should be the TagValue's resource name. For example: `tagValues/1234`. The caller must have `resourcemanager.tagValues.setIamPolicy` permission on the identified tagValue. @@ -135,6 +136,12 @@ func (i *TagValueIamBinding) ToTagValueIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(TagValueIamBindingOutput) } +func (i *TagValueIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TagValueIamBinding] { + return pulumix.Output[*TagValueIamBinding]{ + OutputState: i.ToTagValueIamBindingOutputWithContext(ctx).OutputState, + } +} + type TagValueIamBindingOutput struct{ *pulumi.OutputState } func (TagValueIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TagValueIamBindingOutput) ToTagValueIamBindingOutputWithContext(ctx cont return o } +func (o TagValueIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TagValueIamBinding] { + return pulumix.Output[*TagValueIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TagValueIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TagValueIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/tagValueIamMember.go b/sdk/go/google/cloudresourcemanager/v3/tagValueIamMember.go index fad44ebea4..5789255aad 100644 --- a/sdk/go/google/cloudresourcemanager/v3/tagValueIamMember.go +++ b/sdk/go/google/cloudresourcemanager/v3/tagValueIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a TagValue, replacing any existing policy. The `resource` field should be the TagValue's resource name. For example: `tagValues/1234`. The caller must have `resourcemanager.tagValues.setIamPolicy` permission on the identified tagValue. @@ -135,6 +136,12 @@ func (i *TagValueIamMember) ToTagValueIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(TagValueIamMemberOutput) } +func (i *TagValueIamMember) ToOutput(ctx context.Context) pulumix.Output[*TagValueIamMember] { + return pulumix.Output[*TagValueIamMember]{ + OutputState: i.ToTagValueIamMemberOutputWithContext(ctx).OutputState, + } +} + type TagValueIamMemberOutput struct{ *pulumi.OutputState } func (TagValueIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TagValueIamMemberOutput) ToTagValueIamMemberOutputWithContext(ctx contex return o } +func (o TagValueIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TagValueIamMember] { + return pulumix.Output[*TagValueIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TagValueIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TagValueIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudresourcemanager/v3/tagValueIamPolicy.go b/sdk/go/google/cloudresourcemanager/v3/tagValueIamPolicy.go index d5ea75420d..440a87bbaf 100644 --- a/sdk/go/google/cloudresourcemanager/v3/tagValueIamPolicy.go +++ b/sdk/go/google/cloudresourcemanager/v3/tagValueIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a TagValue, replacing any existing policy. The `resource` field should be the TagValue's resource name. For example: `tagValues/1234`. The caller must have `resourcemanager.tagValues.setIamPolicy` permission on the identified tagValue. @@ -127,6 +128,12 @@ func (i *TagValueIamPolicy) ToTagValueIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(TagValueIamPolicyOutput) } +func (i *TagValueIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TagValueIamPolicy] { + return pulumix.Output[*TagValueIamPolicy]{ + OutputState: i.ToTagValueIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TagValueIamPolicyOutput struct{ *pulumi.OutputState } func (TagValueIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o TagValueIamPolicyOutput) ToTagValueIamPolicyOutputWithContext(ctx contex return o } +func (o TagValueIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TagValueIamPolicy] { + return pulumix.Output[*TagValueIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o TagValueIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *TagValueIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/cloudscheduler/v1/getJob.go b/sdk/go/google/cloudscheduler/v1/getJob.go index a7dfdf3bd2..89d953084e 100644 --- a/sdk/go/google/cloudscheduler/v1/getJob.go +++ b/sdk/go/google/cloudscheduler/v1/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a job. @@ -96,6 +97,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // App Engine HTTP target. func (o LookupJobResultOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput { return o.ApplyT(func(v LookupJobResult) AppEngineHttpTargetResponse { return v.AppEngineHttpTarget }).(AppEngineHttpTargetResponseOutput) diff --git a/sdk/go/google/cloudscheduler/v1/job.go b/sdk/go/google/cloudscheduler/v1/job.go index f6dc3a8523..c80e71e620 100644 --- a/sdk/go/google/cloudscheduler/v1/job.go +++ b/sdk/go/google/cloudscheduler/v1/job.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a job. @@ -161,6 +162,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // App Engine HTTP target. func (o JobOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput { return o.ApplyT(func(v *Job) AppEngineHttpTargetResponseOutput { return v.AppEngineHttpTarget }).(AppEngineHttpTargetResponseOutput) diff --git a/sdk/go/google/cloudscheduler/v1/pulumiEnums.go b/sdk/go/google/cloudscheduler/v1/pulumiEnums.go index fd18ffc30b..729f3bf295 100644 --- a/sdk/go/google/cloudscheduler/v1/pulumiEnums.go +++ b/sdk/go/google/cloudscheduler/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The HTTP method to use for the request. PATCH and OPTIONS are not permitted. @@ -92,6 +93,12 @@ func (o AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodPtrO }).(AppEngineHttpTargetHttpMethodPtrOutput) } +func (o AppEngineHttpTargetHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTargetHttpMethod] { + return pulumix.Output[AppEngineHttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpTargetHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -127,6 +134,12 @@ func (o AppEngineHttpTargetHttpMethodPtrOutput) ToAppEngineHttpTargetHttpMethodP return o } +func (o AppEngineHttpTargetHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpTargetHttpMethod] { + return pulumix.Output[*AppEngineHttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpTargetHttpMethodPtrOutput) Elem() AppEngineHttpTargetHttpMethodOutput { return o.ApplyT(func(v *AppEngineHttpTargetHttpMethod) AppEngineHttpTargetHttpMethod { if v != nil { @@ -189,6 +202,12 @@ func (in *appEngineHttpTargetHttpMethodPtr) ToAppEngineHttpTargetHttpMethodPtrOu return pulumi.ToOutputWithContext(ctx, in).(AppEngineHttpTargetHttpMethodPtrOutput) } +func (in *appEngineHttpTargetHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpTargetHttpMethod] { + return pulumix.Output[*AppEngineHttpTargetHttpMethod]{ + OutputState: in.ToAppEngineHttpTargetHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Which HTTP method to use for the request. type HttpTargetHttpMethod string @@ -271,6 +290,12 @@ func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodPtrOutputWithContext(c }).(HttpTargetHttpMethodPtrOutput) } +func (o HttpTargetHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTargetHttpMethod] { + return pulumix.Output[HttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -306,6 +331,12 @@ func (o HttpTargetHttpMethodPtrOutput) ToHttpTargetHttpMethodPtrOutputWithContex return o } +func (o HttpTargetHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpTargetHttpMethod] { + return pulumix.Output[*HttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetHttpMethodPtrOutput) Elem() HttpTargetHttpMethodOutput { return o.ApplyT(func(v *HttpTargetHttpMethod) HttpTargetHttpMethod { if v != nil { @@ -368,6 +399,12 @@ func (in *httpTargetHttpMethodPtr) ToHttpTargetHttpMethodPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(HttpTargetHttpMethodPtrOutput) } +func (in *httpTargetHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*HttpTargetHttpMethod] { + return pulumix.Output[*HttpTargetHttpMethod]{ + OutputState: in.ToHttpTargetHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AppEngineHttpTargetHttpMethodInput)(nil)).Elem(), AppEngineHttpTargetHttpMethod("HTTP_METHOD_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AppEngineHttpTargetHttpMethodPtrInput)(nil)).Elem(), AppEngineHttpTargetHttpMethod("HTTP_METHOD_UNSPECIFIED")) diff --git a/sdk/go/google/cloudscheduler/v1/pulumiTypes.go b/sdk/go/google/cloudscheduler/v1/pulumiTypes.go index 5b97e7d9ca..9be9982b0f 100644 --- a/sdk/go/google/cloudscheduler/v1/pulumiTypes.go +++ b/sdk/go/google/cloudscheduler/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -64,6 +65,12 @@ func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpTargetOutput) } +func (i AppEngineHttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTarget] { + return pulumix.Output[AppEngineHttpTarget]{ + OutputState: i.ToAppEngineHttpTargetOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput { return i.ToAppEngineHttpTargetPtrOutputWithContext(context.Background()) } @@ -105,6 +112,12 @@ func (i *appEngineHttpTargetPtrType) ToAppEngineHttpTargetPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpTargetPtrOutput) } +func (i *appEngineHttpTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpTarget] { + return pulumix.Output[*AppEngineHttpTarget]{ + OutputState: i.ToAppEngineHttpTargetPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine target. The job will be pushed to a job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. Error 503 is considered an App Engine system error instead of an application error. Requests returning error 503 will be retried regardless of retry configuration and not counted against retry counts. Any other response code, or a failure to receive a response before the deadline, constitutes a failed attempt. type AppEngineHttpTargetOutput struct{ *pulumi.OutputState } @@ -130,6 +143,12 @@ func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx }).(AppEngineHttpTargetPtrOutput) } +func (o AppEngineHttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTarget] { + return pulumix.Output[AppEngineHttpTarget]{ + OutputState: o.OutputState, + } +} + // App Engine Routing setting for the job. func (o AppEngineHttpTargetOutput) AppEngineRouting() AppEngineRoutingPtrOutput { return o.ApplyT(func(v AppEngineHttpTarget) *AppEngineRouting { return v.AppEngineRouting }).(AppEngineRoutingPtrOutput) @@ -169,6 +188,12 @@ func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutputWithContext( return o } +func (o AppEngineHttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpTarget] { + return pulumix.Output[*AppEngineHttpTarget]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpTargetPtrOutput) Elem() AppEngineHttpTargetOutput { return o.ApplyT(func(v *AppEngineHttpTarget) AppEngineHttpTarget { if v != nil { @@ -258,6 +283,12 @@ func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutputWi return o } +func (o AppEngineHttpTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTargetResponse] { + return pulumix.Output[AppEngineHttpTargetResponse]{ + OutputState: o.OutputState, + } +} + // App Engine Routing setting for the job. func (o AppEngineHttpTargetResponseOutput) AppEngineRouting() AppEngineRoutingResponseOutput { return o.ApplyT(func(v AppEngineHttpTargetResponse) AppEngineRoutingResponse { return v.AppEngineRouting }).(AppEngineRoutingResponseOutput) @@ -326,6 +357,12 @@ func (i AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AppEngineRoutingOutput) } +func (i AppEngineRoutingArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineRouting] { + return pulumix.Output[AppEngineRouting]{ + OutputState: i.ToAppEngineRoutingOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput { return i.ToAppEngineRoutingPtrOutputWithContext(context.Background()) } @@ -367,6 +404,12 @@ func (i *appEngineRoutingPtrType) ToAppEngineRoutingPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AppEngineRoutingPtrOutput) } +func (i *appEngineRoutingPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineRouting] { + return pulumix.Output[*AppEngineRouting]{ + OutputState: i.ToAppEngineRoutingPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine Routing. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). type AppEngineRoutingOutput struct{ *pulumi.OutputState } @@ -392,6 +435,12 @@ func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutputWithContext(ctx conte }).(AppEngineRoutingPtrOutput) } +func (o AppEngineRoutingOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineRouting] { + return pulumix.Output[AppEngineRouting]{ + OutputState: o.OutputState, + } +} + // App instance. By default, the job is sent to an instance which is available when the job is attempted. Requests can only be sent to a specific instance if [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?#scaling_types_and_instance_classes). App Engine Flex does not support instances. For more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). func (o AppEngineRoutingOutput) Instance() pulumi.StringPtrOutput { return o.ApplyT(func(v AppEngineRouting) *string { return v.Instance }).(pulumi.StringPtrOutput) @@ -421,6 +470,12 @@ func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutputWithContext(ctx co return o } +func (o AppEngineRoutingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineRouting] { + return pulumix.Output[*AppEngineRouting]{ + OutputState: o.OutputState, + } +} + func (o AppEngineRoutingPtrOutput) Elem() AppEngineRoutingOutput { return o.ApplyT(func(v *AppEngineRouting) AppEngineRouting { if v != nil { @@ -488,6 +543,12 @@ func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutputWithCont return o } +func (o AppEngineRoutingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineRoutingResponse] { + return pulumix.Output[AppEngineRoutingResponse]{ + OutputState: o.OutputState, + } +} + // The host that the job is sent to. For more information about how App Engine requests are routed, see [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). The host is constructed as: * `host = [application_domain_name]` `| [service] + '.' + [application_domain_name]` `| [version] + '.' + [application_domain_name]` `| [version_dot_service]+ '.' + [application_domain_name]` `| [instance] + '.' + [application_domain_name]` `| [instance_dot_service] + '.' + [application_domain_name]` `| [instance_dot_version] + '.' + [application_domain_name]` `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` * `application_domain_name` = The domain name of the app, for example .appspot.com, which is associated with the job's project ID. * `service =` service * `version =` version * `version_dot_service =` version `+ '.' +` service * `instance =` instance * `instance_dot_service =` instance `+ '.' +` service * `instance_dot_version =` instance `+ '.' +` version * `instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +` service If service is empty, then the job will be sent to the service which is the default service when the job is attempted. If version is empty, then the job will be sent to the version which is the default version when the job is attempted. If instance is empty, then the job will be sent to an instance which is available when the job is attempted. If service, version, or instance is invalid, then the job will be sent to the default version of the default service when the job is attempted. func (o AppEngineRoutingResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v AppEngineRoutingResponse) string { return v.Host }).(pulumi.StringOutput) @@ -563,6 +624,12 @@ func (i HttpTargetArgs) ToHttpTargetOutputWithContext(ctx context.Context) HttpT return pulumi.ToOutputWithContext(ctx, i).(HttpTargetOutput) } +func (i HttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[HttpTarget] { + return pulumix.Output[HttpTarget]{ + OutputState: i.ToHttpTargetOutputWithContext(ctx).OutputState, + } +} + func (i HttpTargetArgs) ToHttpTargetPtrOutput() HttpTargetPtrOutput { return i.ToHttpTargetPtrOutputWithContext(context.Background()) } @@ -604,6 +671,12 @@ func (i *httpTargetPtrType) ToHttpTargetPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(HttpTargetPtrOutput) } +func (i *httpTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpTarget] { + return pulumix.Output[*HttpTarget]{ + OutputState: i.ToHttpTargetPtrOutputWithContext(ctx).OutputState, + } +} + // Http target. The job will be pushed to the job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. A failure to receive a response constitutes a failed execution. For a redirected request, the response returned by the redirected request is considered. type HttpTargetOutput struct{ *pulumi.OutputState } @@ -629,6 +702,12 @@ func (o HttpTargetOutput) ToHttpTargetPtrOutputWithContext(ctx context.Context) }).(HttpTargetPtrOutput) } +func (o HttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTarget] { + return pulumix.Output[HttpTarget]{ + OutputState: o.OutputState, + } +} + // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a job with an incompatible HttpMethod. func (o HttpTargetOutput) Body() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpTarget) *string { return v.Body }).(pulumi.StringPtrOutput) @@ -673,6 +752,12 @@ func (o HttpTargetPtrOutput) ToHttpTargetPtrOutputWithContext(ctx context.Contex return o } +func (o HttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpTarget] { + return pulumix.Output[*HttpTarget]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetPtrOutput) Elem() HttpTargetOutput { return o.ApplyT(func(v *HttpTarget) HttpTarget { if v != nil { @@ -774,6 +859,12 @@ func (o HttpTargetResponseOutput) ToHttpTargetResponseOutputWithContext(ctx cont return o } +func (o HttpTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTargetResponse] { + return pulumix.Output[HttpTargetResponse]{ + OutputState: o.OutputState, + } +} + // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a job with an incompatible HttpMethod. func (o HttpTargetResponseOutput) Body() pulumi.StringOutput { return o.ApplyT(func(v HttpTargetResponse) string { return v.Body }).(pulumi.StringOutput) @@ -843,6 +934,12 @@ func (i OAuthTokenArgs) ToOAuthTokenOutputWithContext(ctx context.Context) OAuth return pulumi.ToOutputWithContext(ctx, i).(OAuthTokenOutput) } +func (i OAuthTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OAuthToken] { + return pulumix.Output[OAuthToken]{ + OutputState: i.ToOAuthTokenOutputWithContext(ctx).OutputState, + } +} + func (i OAuthTokenArgs) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput { return i.ToOAuthTokenPtrOutputWithContext(context.Background()) } @@ -884,6 +981,12 @@ func (i *oauthTokenPtrType) ToOAuthTokenPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(OAuthTokenPtrOutput) } +func (i *oauthTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OAuthToken] { + return pulumix.Output[*OAuthToken]{ + OutputState: i.ToOAuthTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com. type OAuthTokenOutput struct{ *pulumi.OutputState } @@ -909,6 +1012,12 @@ func (o OAuthTokenOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Context) }).(OAuthTokenPtrOutput) } +func (o OAuthTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthToken] { + return pulumix.Output[OAuthToken]{ + OutputState: o.OutputState, + } +} + // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. func (o OAuthTokenOutput) Scope() pulumi.StringPtrOutput { return o.ApplyT(func(v OAuthToken) *string { return v.Scope }).(pulumi.StringPtrOutput) @@ -933,6 +1042,12 @@ func (o OAuthTokenPtrOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Contex return o } +func (o OAuthTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OAuthToken] { + return pulumix.Output[*OAuthToken]{ + OutputState: o.OutputState, + } +} + func (o OAuthTokenPtrOutput) Elem() OAuthTokenOutput { return o.ApplyT(func(v *OAuthToken) OAuthToken { if v != nil { @@ -986,6 +1101,12 @@ func (o OAuthTokenResponseOutput) ToOAuthTokenResponseOutputWithContext(ctx cont return o } +func (o OAuthTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthTokenResponse] { + return pulumix.Output[OAuthTokenResponse]{ + OutputState: o.OutputState, + } +} + // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. func (o OAuthTokenResponseOutput) Scope() pulumi.StringOutput { return o.ApplyT(func(v OAuthTokenResponse) string { return v.Scope }).(pulumi.StringOutput) @@ -1035,6 +1156,12 @@ func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTok return pulumi.ToOutputWithContext(ctx, i).(OidcTokenOutput) } +func (i OidcTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: i.ToOidcTokenOutputWithContext(ctx).OutputState, + } +} + func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput { return i.ToOidcTokenPtrOutputWithContext(context.Background()) } @@ -1076,6 +1203,12 @@ func (i *oidcTokenPtrType) ToOidcTokenPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OidcTokenPtrOutput) } +func (i *oidcTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: i.ToOidcTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. type OidcTokenOutput struct{ *pulumi.OutputState } @@ -1101,6 +1234,12 @@ func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) Oi }).(OidcTokenPtrOutput) } +func (o OidcTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput { return o.ApplyT(func(v OidcToken) *string { return v.Audience }).(pulumi.StringPtrOutput) @@ -1125,6 +1264,12 @@ func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) return o } +func (o OidcTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: o.OutputState, + } +} + func (o OidcTokenPtrOutput) Elem() OidcTokenOutput { return o.ApplyT(func(v *OidcToken) OidcToken { if v != nil { @@ -1178,6 +1323,12 @@ func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx contex return o } +func (o OidcTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OidcTokenResponse] { + return pulumix.Output[OidcTokenResponse]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput { return o.ApplyT(func(v OidcTokenResponse) string { return v.Audience }).(pulumi.StringOutput) @@ -1231,6 +1382,12 @@ func (i PubsubTargetArgs) ToPubsubTargetOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PubsubTargetOutput) } +func (i PubsubTargetArgs) ToOutput(ctx context.Context) pulumix.Output[PubsubTarget] { + return pulumix.Output[PubsubTarget]{ + OutputState: i.ToPubsubTargetOutputWithContext(ctx).OutputState, + } +} + func (i PubsubTargetArgs) ToPubsubTargetPtrOutput() PubsubTargetPtrOutput { return i.ToPubsubTargetPtrOutputWithContext(context.Background()) } @@ -1272,6 +1429,12 @@ func (i *pubsubTargetPtrType) ToPubsubTargetPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PubsubTargetPtrOutput) } +func (i *pubsubTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*PubsubTarget] { + return pulumix.Output[*PubsubTarget]{ + OutputState: i.ToPubsubTargetPtrOutputWithContext(ctx).OutputState, + } +} + // Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic. type PubsubTargetOutput struct{ *pulumi.OutputState } @@ -1297,6 +1460,12 @@ func (o PubsubTargetOutput) ToPubsubTargetPtrOutputWithContext(ctx context.Conte }).(PubsubTargetPtrOutput) } +func (o PubsubTargetOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubTarget] { + return pulumix.Output[PubsubTarget]{ + OutputState: o.OutputState, + } +} + // Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. func (o PubsubTargetOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v PubsubTarget) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -1326,6 +1495,12 @@ func (o PubsubTargetPtrOutput) ToPubsubTargetPtrOutputWithContext(ctx context.Co return o } +func (o PubsubTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PubsubTarget] { + return pulumix.Output[*PubsubTarget]{ + OutputState: o.OutputState, + } +} + func (o PubsubTargetPtrOutput) Elem() PubsubTargetOutput { return o.ApplyT(func(v *PubsubTarget) PubsubTarget { if v != nil { @@ -1391,6 +1566,12 @@ func (o PubsubTargetResponseOutput) ToPubsubTargetResponseOutputWithContext(ctx return o } +func (o PubsubTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubTargetResponse] { + return pulumix.Output[PubsubTargetResponse]{ + OutputState: o.OutputState, + } +} + // Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. func (o PubsubTargetResponseOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v PubsubTargetResponse) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -1457,6 +1638,12 @@ func (i RetryConfigArgs) ToRetryConfigOutputWithContext(ctx context.Context) Ret return pulumi.ToOutputWithContext(ctx, i).(RetryConfigOutput) } +func (i RetryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RetryConfig] { + return pulumix.Output[RetryConfig]{ + OutputState: i.ToRetryConfigOutputWithContext(ctx).OutputState, + } +} + func (i RetryConfigArgs) ToRetryConfigPtrOutput() RetryConfigPtrOutput { return i.ToRetryConfigPtrOutputWithContext(context.Background()) } @@ -1498,6 +1685,12 @@ func (i *retryConfigPtrType) ToRetryConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RetryConfigPtrOutput) } +func (i *retryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RetryConfig] { + return pulumix.Output[*RetryConfig]{ + OutputState: i.ToRetryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Settings that determine the retry behavior. By default, if a job does not complete successfully (meaning that an acknowledgement is not received from the handler, then it will be retried with exponential backoff according to the settings in RetryConfig. type RetryConfigOutput struct{ *pulumi.OutputState } @@ -1523,6 +1716,12 @@ func (o RetryConfigOutput) ToRetryConfigPtrOutputWithContext(ctx context.Context }).(RetryConfigPtrOutput) } +func (o RetryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RetryConfig] { + return pulumix.Output[RetryConfig]{ + OutputState: o.OutputState, + } +} + // The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour. func (o RetryConfigOutput) MaxBackoffDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v RetryConfig) *string { return v.MaxBackoffDuration }).(pulumi.StringPtrOutput) @@ -1562,6 +1761,12 @@ func (o RetryConfigPtrOutput) ToRetryConfigPtrOutputWithContext(ctx context.Cont return o } +func (o RetryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RetryConfig] { + return pulumix.Output[*RetryConfig]{ + OutputState: o.OutputState, + } +} + func (o RetryConfigPtrOutput) Elem() RetryConfigOutput { return o.ApplyT(func(v *RetryConfig) RetryConfig { if v != nil { @@ -1651,6 +1856,12 @@ func (o RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext(ctx co return o } +func (o RetryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RetryConfigResponse] { + return pulumix.Output[RetryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour. func (o RetryConfigResponseOutput) MaxBackoffDuration() pulumi.StringOutput { return o.ApplyT(func(v RetryConfigResponse) string { return v.MaxBackoffDuration }).(pulumi.StringOutput) @@ -1701,6 +1912,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/cloudscheduler/v1beta1/getJob.go b/sdk/go/google/cloudscheduler/v1beta1/getJob.go index 61eb18438a..7bf499cc8c 100644 --- a/sdk/go/google/cloudscheduler/v1beta1/getJob.go +++ b/sdk/go/google/cloudscheduler/v1beta1/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a job. @@ -98,6 +99,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // App Engine HTTP target. func (o LookupJobResultOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput { return o.ApplyT(func(v LookupJobResult) AppEngineHttpTargetResponse { return v.AppEngineHttpTarget }).(AppEngineHttpTargetResponseOutput) diff --git a/sdk/go/google/cloudscheduler/v1beta1/job.go b/sdk/go/google/cloudscheduler/v1beta1/job.go index d53b2b3363..1f827d10c5 100644 --- a/sdk/go/google/cloudscheduler/v1beta1/job.go +++ b/sdk/go/google/cloudscheduler/v1beta1/job.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a job. @@ -167,6 +168,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -181,6 +188,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // App Engine HTTP target. func (o JobOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput { return o.ApplyT(func(v *Job) AppEngineHttpTargetResponseOutput { return v.AppEngineHttpTarget }).(AppEngineHttpTargetResponseOutput) diff --git a/sdk/go/google/cloudscheduler/v1beta1/pulumiEnums.go b/sdk/go/google/cloudscheduler/v1beta1/pulumiEnums.go index 61110dc6d3..0c86792619 100644 --- a/sdk/go/google/cloudscheduler/v1beta1/pulumiEnums.go +++ b/sdk/go/google/cloudscheduler/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The HTTP method to use for the request. PATCH and OPTIONS are not permitted. @@ -92,6 +93,12 @@ func (o AppEngineHttpTargetHttpMethodOutput) ToAppEngineHttpTargetHttpMethodPtrO }).(AppEngineHttpTargetHttpMethodPtrOutput) } +func (o AppEngineHttpTargetHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTargetHttpMethod] { + return pulumix.Output[AppEngineHttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpTargetHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -127,6 +134,12 @@ func (o AppEngineHttpTargetHttpMethodPtrOutput) ToAppEngineHttpTargetHttpMethodP return o } +func (o AppEngineHttpTargetHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpTargetHttpMethod] { + return pulumix.Output[*AppEngineHttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpTargetHttpMethodPtrOutput) Elem() AppEngineHttpTargetHttpMethodOutput { return o.ApplyT(func(v *AppEngineHttpTargetHttpMethod) AppEngineHttpTargetHttpMethod { if v != nil { @@ -189,6 +202,12 @@ func (in *appEngineHttpTargetHttpMethodPtr) ToAppEngineHttpTargetHttpMethodPtrOu return pulumi.ToOutputWithContext(ctx, in).(AppEngineHttpTargetHttpMethodPtrOutput) } +func (in *appEngineHttpTargetHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpTargetHttpMethod] { + return pulumix.Output[*AppEngineHttpTargetHttpMethod]{ + OutputState: in.ToAppEngineHttpTargetHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Which HTTP method to use for the request. type HttpTargetHttpMethod string @@ -271,6 +290,12 @@ func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodPtrOutputWithContext(c }).(HttpTargetHttpMethodPtrOutput) } +func (o HttpTargetHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTargetHttpMethod] { + return pulumix.Output[HttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -306,6 +331,12 @@ func (o HttpTargetHttpMethodPtrOutput) ToHttpTargetHttpMethodPtrOutputWithContex return o } +func (o HttpTargetHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpTargetHttpMethod] { + return pulumix.Output[*HttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetHttpMethodPtrOutput) Elem() HttpTargetHttpMethodOutput { return o.ApplyT(func(v *HttpTargetHttpMethod) HttpTargetHttpMethod { if v != nil { @@ -368,6 +399,12 @@ func (in *httpTargetHttpMethodPtr) ToHttpTargetHttpMethodPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(HttpTargetHttpMethodPtrOutput) } +func (in *httpTargetHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*HttpTargetHttpMethod] { + return pulumix.Output[*HttpTargetHttpMethod]{ + OutputState: in.ToHttpTargetHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AppEngineHttpTargetHttpMethodInput)(nil)).Elem(), AppEngineHttpTargetHttpMethod("HTTP_METHOD_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AppEngineHttpTargetHttpMethodPtrInput)(nil)).Elem(), AppEngineHttpTargetHttpMethod("HTTP_METHOD_UNSPECIFIED")) diff --git a/sdk/go/google/cloudscheduler/v1beta1/pulumiTypes.go b/sdk/go/google/cloudscheduler/v1beta1/pulumiTypes.go index b1cd6fe632..0bc854a3c8 100644 --- a/sdk/go/google/cloudscheduler/v1beta1/pulumiTypes.go +++ b/sdk/go/google/cloudscheduler/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -64,6 +65,12 @@ func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpTargetOutput) } +func (i AppEngineHttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTarget] { + return pulumix.Output[AppEngineHttpTarget]{ + OutputState: i.ToAppEngineHttpTargetOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput { return i.ToAppEngineHttpTargetPtrOutputWithContext(context.Background()) } @@ -105,6 +112,12 @@ func (i *appEngineHttpTargetPtrType) ToAppEngineHttpTargetPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpTargetPtrOutput) } +func (i *appEngineHttpTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpTarget] { + return pulumix.Output[*AppEngineHttpTarget]{ + OutputState: i.ToAppEngineHttpTargetPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine target. The job will be pushed to a job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. Error 503 is considered an App Engine system error instead of an application error. Requests returning error 503 will be retried regardless of retry configuration and not counted against retry counts. Any other response code, or a failure to receive a response before the deadline, constitutes a failed attempt. type AppEngineHttpTargetOutput struct{ *pulumi.OutputState } @@ -130,6 +143,12 @@ func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx }).(AppEngineHttpTargetPtrOutput) } +func (o AppEngineHttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTarget] { + return pulumix.Output[AppEngineHttpTarget]{ + OutputState: o.OutputState, + } +} + // App Engine Routing setting for the job. func (o AppEngineHttpTargetOutput) AppEngineRouting() AppEngineRoutingPtrOutput { return o.ApplyT(func(v AppEngineHttpTarget) *AppEngineRouting { return v.AppEngineRouting }).(AppEngineRoutingPtrOutput) @@ -169,6 +188,12 @@ func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutputWithContext( return o } +func (o AppEngineHttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpTarget] { + return pulumix.Output[*AppEngineHttpTarget]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpTargetPtrOutput) Elem() AppEngineHttpTargetOutput { return o.ApplyT(func(v *AppEngineHttpTarget) AppEngineHttpTarget { if v != nil { @@ -258,6 +283,12 @@ func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutputWi return o } +func (o AppEngineHttpTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTargetResponse] { + return pulumix.Output[AppEngineHttpTargetResponse]{ + OutputState: o.OutputState, + } +} + // App Engine Routing setting for the job. func (o AppEngineHttpTargetResponseOutput) AppEngineRouting() AppEngineRoutingResponseOutput { return o.ApplyT(func(v AppEngineHttpTargetResponse) AppEngineRoutingResponse { return v.AppEngineRouting }).(AppEngineRoutingResponseOutput) @@ -326,6 +357,12 @@ func (i AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AppEngineRoutingOutput) } +func (i AppEngineRoutingArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineRouting] { + return pulumix.Output[AppEngineRouting]{ + OutputState: i.ToAppEngineRoutingOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput { return i.ToAppEngineRoutingPtrOutputWithContext(context.Background()) } @@ -367,6 +404,12 @@ func (i *appEngineRoutingPtrType) ToAppEngineRoutingPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AppEngineRoutingPtrOutput) } +func (i *appEngineRoutingPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineRouting] { + return pulumix.Output[*AppEngineRouting]{ + OutputState: i.ToAppEngineRoutingPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine Routing. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). type AppEngineRoutingOutput struct{ *pulumi.OutputState } @@ -392,6 +435,12 @@ func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutputWithContext(ctx conte }).(AppEngineRoutingPtrOutput) } +func (o AppEngineRoutingOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineRouting] { + return pulumix.Output[AppEngineRouting]{ + OutputState: o.OutputState, + } +} + // App instance. By default, the job is sent to an instance which is available when the job is attempted. Requests can only be sent to a specific instance if [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?#scaling_types_and_instance_classes). App Engine Flex does not support instances. For more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). func (o AppEngineRoutingOutput) Instance() pulumi.StringPtrOutput { return o.ApplyT(func(v AppEngineRouting) *string { return v.Instance }).(pulumi.StringPtrOutput) @@ -421,6 +470,12 @@ func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutputWithContext(ctx co return o } +func (o AppEngineRoutingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineRouting] { + return pulumix.Output[*AppEngineRouting]{ + OutputState: o.OutputState, + } +} + func (o AppEngineRoutingPtrOutput) Elem() AppEngineRoutingOutput { return o.ApplyT(func(v *AppEngineRouting) AppEngineRouting { if v != nil { @@ -488,6 +543,12 @@ func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutputWithCont return o } +func (o AppEngineRoutingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineRoutingResponse] { + return pulumix.Output[AppEngineRoutingResponse]{ + OutputState: o.OutputState, + } +} + // The host that the job is sent to. For more information about how App Engine requests are routed, see [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). The host is constructed as: * `host = [application_domain_name]` `| [service] + '.' + [application_domain_name]` `| [version] + '.' + [application_domain_name]` `| [version_dot_service]+ '.' + [application_domain_name]` `| [instance] + '.' + [application_domain_name]` `| [instance_dot_service] + '.' + [application_domain_name]` `| [instance_dot_version] + '.' + [application_domain_name]` `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` * `application_domain_name` = The domain name of the app, for example .appspot.com, which is associated with the job's project ID. * `service =` service * `version =` version * `version_dot_service =` version `+ '.' +` service * `instance =` instance * `instance_dot_service =` instance `+ '.' +` service * `instance_dot_version =` instance `+ '.' +` version * `instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +` service If service is empty, then the job will be sent to the service which is the default service when the job is attempted. If version is empty, then the job will be sent to the version which is the default version when the job is attempted. If instance is empty, then the job will be sent to an instance which is available when the job is attempted. If service, version, or instance is invalid, then the job will be sent to the default version of the default service when the job is attempted. func (o AppEngineRoutingResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v AppEngineRoutingResponse) string { return v.Host }).(pulumi.StringOutput) @@ -563,6 +624,12 @@ func (i HttpTargetArgs) ToHttpTargetOutputWithContext(ctx context.Context) HttpT return pulumi.ToOutputWithContext(ctx, i).(HttpTargetOutput) } +func (i HttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[HttpTarget] { + return pulumix.Output[HttpTarget]{ + OutputState: i.ToHttpTargetOutputWithContext(ctx).OutputState, + } +} + func (i HttpTargetArgs) ToHttpTargetPtrOutput() HttpTargetPtrOutput { return i.ToHttpTargetPtrOutputWithContext(context.Background()) } @@ -604,6 +671,12 @@ func (i *httpTargetPtrType) ToHttpTargetPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(HttpTargetPtrOutput) } +func (i *httpTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpTarget] { + return pulumix.Output[*HttpTarget]{ + OutputState: i.ToHttpTargetPtrOutputWithContext(ctx).OutputState, + } +} + // Http target. The job will be pushed to the job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. A failure to receive a response constitutes a failed execution. For a redirected request, the response returned by the redirected request is considered. type HttpTargetOutput struct{ *pulumi.OutputState } @@ -629,6 +702,12 @@ func (o HttpTargetOutput) ToHttpTargetPtrOutputWithContext(ctx context.Context) }).(HttpTargetPtrOutput) } +func (o HttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTarget] { + return pulumix.Output[HttpTarget]{ + OutputState: o.OutputState, + } +} + // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a job with an incompatible HttpMethod. func (o HttpTargetOutput) Body() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpTarget) *string { return v.Body }).(pulumi.StringPtrOutput) @@ -673,6 +752,12 @@ func (o HttpTargetPtrOutput) ToHttpTargetPtrOutputWithContext(ctx context.Contex return o } +func (o HttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpTarget] { + return pulumix.Output[*HttpTarget]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetPtrOutput) Elem() HttpTargetOutput { return o.ApplyT(func(v *HttpTarget) HttpTarget { if v != nil { @@ -774,6 +859,12 @@ func (o HttpTargetResponseOutput) ToHttpTargetResponseOutputWithContext(ctx cont return o } +func (o HttpTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTargetResponse] { + return pulumix.Output[HttpTargetResponse]{ + OutputState: o.OutputState, + } +} + // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a job with an incompatible HttpMethod. func (o HttpTargetResponseOutput) Body() pulumi.StringOutput { return o.ApplyT(func(v HttpTargetResponse) string { return v.Body }).(pulumi.StringOutput) @@ -843,6 +934,12 @@ func (i OAuthTokenArgs) ToOAuthTokenOutputWithContext(ctx context.Context) OAuth return pulumi.ToOutputWithContext(ctx, i).(OAuthTokenOutput) } +func (i OAuthTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OAuthToken] { + return pulumix.Output[OAuthToken]{ + OutputState: i.ToOAuthTokenOutputWithContext(ctx).OutputState, + } +} + func (i OAuthTokenArgs) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput { return i.ToOAuthTokenPtrOutputWithContext(context.Background()) } @@ -884,6 +981,12 @@ func (i *oauthTokenPtrType) ToOAuthTokenPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(OAuthTokenPtrOutput) } +func (i *oauthTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OAuthToken] { + return pulumix.Output[*OAuthToken]{ + OutputState: i.ToOAuthTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com. type OAuthTokenOutput struct{ *pulumi.OutputState } @@ -909,6 +1012,12 @@ func (o OAuthTokenOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Context) }).(OAuthTokenPtrOutput) } +func (o OAuthTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthToken] { + return pulumix.Output[OAuthToken]{ + OutputState: o.OutputState, + } +} + // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. func (o OAuthTokenOutput) Scope() pulumi.StringPtrOutput { return o.ApplyT(func(v OAuthToken) *string { return v.Scope }).(pulumi.StringPtrOutput) @@ -933,6 +1042,12 @@ func (o OAuthTokenPtrOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Contex return o } +func (o OAuthTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OAuthToken] { + return pulumix.Output[*OAuthToken]{ + OutputState: o.OutputState, + } +} + func (o OAuthTokenPtrOutput) Elem() OAuthTokenOutput { return o.ApplyT(func(v *OAuthToken) OAuthToken { if v != nil { @@ -986,6 +1101,12 @@ func (o OAuthTokenResponseOutput) ToOAuthTokenResponseOutputWithContext(ctx cont return o } +func (o OAuthTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthTokenResponse] { + return pulumix.Output[OAuthTokenResponse]{ + OutputState: o.OutputState, + } +} + // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. func (o OAuthTokenResponseOutput) Scope() pulumi.StringOutput { return o.ApplyT(func(v OAuthTokenResponse) string { return v.Scope }).(pulumi.StringOutput) @@ -1035,6 +1156,12 @@ func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTok return pulumi.ToOutputWithContext(ctx, i).(OidcTokenOutput) } +func (i OidcTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: i.ToOidcTokenOutputWithContext(ctx).OutputState, + } +} + func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput { return i.ToOidcTokenPtrOutputWithContext(context.Background()) } @@ -1076,6 +1203,12 @@ func (i *oidcTokenPtrType) ToOidcTokenPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OidcTokenPtrOutput) } +func (i *oidcTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: i.ToOidcTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. type OidcTokenOutput struct{ *pulumi.OutputState } @@ -1101,6 +1234,12 @@ func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) Oi }).(OidcTokenPtrOutput) } +func (o OidcTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput { return o.ApplyT(func(v OidcToken) *string { return v.Audience }).(pulumi.StringPtrOutput) @@ -1125,6 +1264,12 @@ func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) return o } +func (o OidcTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: o.OutputState, + } +} + func (o OidcTokenPtrOutput) Elem() OidcTokenOutput { return o.ApplyT(func(v *OidcToken) OidcToken { if v != nil { @@ -1178,6 +1323,12 @@ func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx contex return o } +func (o OidcTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OidcTokenResponse] { + return pulumix.Output[OidcTokenResponse]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput { return o.ApplyT(func(v OidcTokenResponse) string { return v.Audience }).(pulumi.StringOutput) @@ -1231,6 +1382,12 @@ func (i PubsubTargetArgs) ToPubsubTargetOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PubsubTargetOutput) } +func (i PubsubTargetArgs) ToOutput(ctx context.Context) pulumix.Output[PubsubTarget] { + return pulumix.Output[PubsubTarget]{ + OutputState: i.ToPubsubTargetOutputWithContext(ctx).OutputState, + } +} + func (i PubsubTargetArgs) ToPubsubTargetPtrOutput() PubsubTargetPtrOutput { return i.ToPubsubTargetPtrOutputWithContext(context.Background()) } @@ -1272,6 +1429,12 @@ func (i *pubsubTargetPtrType) ToPubsubTargetPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PubsubTargetPtrOutput) } +func (i *pubsubTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*PubsubTarget] { + return pulumix.Output[*PubsubTarget]{ + OutputState: i.ToPubsubTargetPtrOutputWithContext(ctx).OutputState, + } +} + // Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic. type PubsubTargetOutput struct{ *pulumi.OutputState } @@ -1297,6 +1460,12 @@ func (o PubsubTargetOutput) ToPubsubTargetPtrOutputWithContext(ctx context.Conte }).(PubsubTargetPtrOutput) } +func (o PubsubTargetOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubTarget] { + return pulumix.Output[PubsubTarget]{ + OutputState: o.OutputState, + } +} + // Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. func (o PubsubTargetOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v PubsubTarget) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -1326,6 +1495,12 @@ func (o PubsubTargetPtrOutput) ToPubsubTargetPtrOutputWithContext(ctx context.Co return o } +func (o PubsubTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PubsubTarget] { + return pulumix.Output[*PubsubTarget]{ + OutputState: o.OutputState, + } +} + func (o PubsubTargetPtrOutput) Elem() PubsubTargetOutput { return o.ApplyT(func(v *PubsubTarget) PubsubTarget { if v != nil { @@ -1391,6 +1566,12 @@ func (o PubsubTargetResponseOutput) ToPubsubTargetResponseOutputWithContext(ctx return o } +func (o PubsubTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubTargetResponse] { + return pulumix.Output[PubsubTargetResponse]{ + OutputState: o.OutputState, + } +} + // Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute. func (o PubsubTargetResponseOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v PubsubTargetResponse) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -1457,6 +1638,12 @@ func (i RetryConfigArgs) ToRetryConfigOutputWithContext(ctx context.Context) Ret return pulumi.ToOutputWithContext(ctx, i).(RetryConfigOutput) } +func (i RetryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RetryConfig] { + return pulumix.Output[RetryConfig]{ + OutputState: i.ToRetryConfigOutputWithContext(ctx).OutputState, + } +} + func (i RetryConfigArgs) ToRetryConfigPtrOutput() RetryConfigPtrOutput { return i.ToRetryConfigPtrOutputWithContext(context.Background()) } @@ -1498,6 +1685,12 @@ func (i *retryConfigPtrType) ToRetryConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RetryConfigPtrOutput) } +func (i *retryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RetryConfig] { + return pulumix.Output[*RetryConfig]{ + OutputState: i.ToRetryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Settings that determine the retry behavior. By default, if a job does not complete successfully (meaning that an acknowledgement is not received from the handler, then it will be retried with exponential backoff according to the settings in RetryConfig. type RetryConfigOutput struct{ *pulumi.OutputState } @@ -1523,6 +1716,12 @@ func (o RetryConfigOutput) ToRetryConfigPtrOutputWithContext(ctx context.Context }).(RetryConfigPtrOutput) } +func (o RetryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RetryConfig] { + return pulumix.Output[RetryConfig]{ + OutputState: o.OutputState, + } +} + // The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour. func (o RetryConfigOutput) MaxBackoffDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v RetryConfig) *string { return v.MaxBackoffDuration }).(pulumi.StringPtrOutput) @@ -1562,6 +1761,12 @@ func (o RetryConfigPtrOutput) ToRetryConfigPtrOutputWithContext(ctx context.Cont return o } +func (o RetryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RetryConfig] { + return pulumix.Output[*RetryConfig]{ + OutputState: o.OutputState, + } +} + func (o RetryConfigPtrOutput) Elem() RetryConfigOutput { return o.ApplyT(func(v *RetryConfig) RetryConfig { if v != nil { @@ -1651,6 +1856,12 @@ func (o RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext(ctx co return o } +func (o RetryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RetryConfigResponse] { + return pulumix.Output[RetryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The maximum amount of time to wait before retrying a job after it fails. The default value of this field is 1 hour. func (o RetryConfigResponseOutput) MaxBackoffDuration() pulumi.StringOutput { return o.ApplyT(func(v RetryConfigResponse) string { return v.MaxBackoffDuration }).(pulumi.StringOutput) @@ -1701,6 +1912,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/cloudsearch/v1/dataSource.go b/sdk/go/google/cloudsearch/v1/dataSource.go index 47e59ccca5..761f81c5d4 100644 --- a/sdk/go/google/cloudsearch/v1/dataSource.go +++ b/sdk/go/google/cloudsearch/v1/dataSource.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a datasource. **Note:** This API requires an admin account to execute. @@ -144,6 +145,12 @@ func (i *DataSource) ToDataSourceOutputWithContext(ctx context.Context) DataSour return pulumi.ToOutputWithContext(ctx, i).(DataSourceOutput) } +func (i *DataSource) ToOutput(ctx context.Context) pulumix.Output[*DataSource] { + return pulumix.Output[*DataSource]{ + OutputState: i.ToDataSourceOutputWithContext(ctx).OutputState, + } +} + type DataSourceOutput struct{ *pulumi.OutputState } func (DataSourceOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o DataSourceOutput) ToDataSourceOutputWithContext(ctx context.Context) Dat return o } +func (o DataSourceOutput) ToOutput(ctx context.Context) pulumix.Output[*DataSource] { + return pulumix.Output[*DataSource]{ + OutputState: o.OutputState, + } +} + // If true, sets the datasource to read-only mode. In read-only mode, the Indexing API rejects any requests to index or delete items in this source. Enabling read-only mode does not stop the processing of previously accepted data. func (o DataSourceOutput) DisableModifications() pulumi.BoolOutput { return o.ApplyT(func(v *DataSource) pulumi.BoolOutput { return v.DisableModifications }).(pulumi.BoolOutput) diff --git a/sdk/go/google/cloudsearch/v1/getDataSource.go b/sdk/go/google/cloudsearch/v1/getDataSource.go index 7ed0eb6761..64f291fce6 100644 --- a/sdk/go/google/cloudsearch/v1/getDataSource.go +++ b/sdk/go/google/cloudsearch/v1/getDataSource.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a datasource. **Note:** This API requires an admin account to execute. @@ -84,6 +85,12 @@ func (o LookupDataSourceResultOutput) ToLookupDataSourceResultOutputWithContext( return o } +func (o LookupDataSourceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataSourceResult] { + return pulumix.Output[LookupDataSourceResult]{ + OutputState: o.OutputState, + } +} + // If true, sets the datasource to read-only mode. In read-only mode, the Indexing API rejects any requests to index or delete items in this source. Enabling read-only mode does not stop the processing of previously accepted data. func (o LookupDataSourceResultOutput) DisableModifications() pulumi.BoolOutput { return o.ApplyT(func(v LookupDataSourceResult) bool { return v.DisableModifications }).(pulumi.BoolOutput) diff --git a/sdk/go/google/cloudsearch/v1/getSearchApplication.go b/sdk/go/google/cloudsearch/v1/getSearchApplication.go index c48fc9d7a3..35e6c1df78 100644 --- a/sdk/go/google/cloudsearch/v1/getSearchApplication.go +++ b/sdk/go/google/cloudsearch/v1/getSearchApplication.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified search application. **Note:** This API requires an admin account to execute. @@ -88,6 +89,12 @@ func (o LookupSearchApplicationResultOutput) ToLookupSearchApplicationResultOutp return o } +func (o LookupSearchApplicationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSearchApplicationResult] { + return pulumix.Output[LookupSearchApplicationResult]{ + OutputState: o.OutputState, + } +} + // Retrictions applied to the configurations. The maximum number of elements is 10. func (o LookupSearchApplicationResultOutput) DataSourceRestrictions() DataSourceRestrictionResponseArrayOutput { return o.ApplyT(func(v LookupSearchApplicationResult) []DataSourceRestrictionResponse { return v.DataSourceRestrictions }).(DataSourceRestrictionResponseArrayOutput) diff --git a/sdk/go/google/cloudsearch/v1/pulumiEnums.go b/sdk/go/google/cloudsearch/v1/pulumiEnums.go index ddf9c8385e..e6ecdc5f08 100644 --- a/sdk/go/google/cloudsearch/v1/pulumiEnums.go +++ b/sdk/go/google/cloudsearch/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The logic operator of the sub filter. @@ -81,6 +82,12 @@ func (o CompositeFilterLogicOperatorOutput) ToCompositeFilterLogicOperatorPtrOut }).(CompositeFilterLogicOperatorPtrOutput) } +func (o CompositeFilterLogicOperatorOutput) ToOutput(ctx context.Context) pulumix.Output[CompositeFilterLogicOperator] { + return pulumix.Output[CompositeFilterLogicOperator]{ + OutputState: o.OutputState, + } +} + func (o CompositeFilterLogicOperatorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -116,6 +123,12 @@ func (o CompositeFilterLogicOperatorPtrOutput) ToCompositeFilterLogicOperatorPtr return o } +func (o CompositeFilterLogicOperatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompositeFilterLogicOperator] { + return pulumix.Output[*CompositeFilterLogicOperator]{ + OutputState: o.OutputState, + } +} + func (o CompositeFilterLogicOperatorPtrOutput) Elem() CompositeFilterLogicOperatorOutput { return o.ApplyT(func(v *CompositeFilterLogicOperator) CompositeFilterLogicOperator { if v != nil { @@ -178,6 +191,12 @@ func (in *compositeFilterLogicOperatorPtr) ToCompositeFilterLogicOperatorPtrOutp return pulumi.ToOutputWithContext(ctx, in).(CompositeFilterLogicOperatorPtrOutput) } +func (in *compositeFilterLogicOperatorPtr) ToOutput(ctx context.Context) pulumix.Output[*CompositeFilterLogicOperator] { + return pulumix.Output[*CompositeFilterLogicOperator]{ + OutputState: in.ToCompositeFilterLogicOperatorPtrOutputWithContext(ctx).OutputState, + } +} + // Ascending is the default sort order type SortOptionsSortOrder string @@ -246,6 +265,12 @@ func (o SortOptionsSortOrderOutput) ToSortOptionsSortOrderPtrOutputWithContext(c }).(SortOptionsSortOrderPtrOutput) } +func (o SortOptionsSortOrderOutput) ToOutput(ctx context.Context) pulumix.Output[SortOptionsSortOrder] { + return pulumix.Output[SortOptionsSortOrder]{ + OutputState: o.OutputState, + } +} + func (o SortOptionsSortOrderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -281,6 +306,12 @@ func (o SortOptionsSortOrderPtrOutput) ToSortOptionsSortOrderPtrOutputWithContex return o } +func (o SortOptionsSortOrderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SortOptionsSortOrder] { + return pulumix.Output[*SortOptionsSortOrder]{ + OutputState: o.OutputState, + } +} + func (o SortOptionsSortOrderPtrOutput) Elem() SortOptionsSortOrderOutput { return o.ApplyT(func(v *SortOptionsSortOrder) SortOptionsSortOrder { if v != nil { @@ -343,6 +374,12 @@ func (in *sortOptionsSortOrderPtr) ToSortOptionsSortOrderPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(SortOptionsSortOrderPtrOutput) } +func (in *sortOptionsSortOrderPtr) ToOutput(ctx context.Context) pulumix.Output[*SortOptionsSortOrder] { + return pulumix.Output[*SortOptionsSortOrder]{ + OutputState: in.ToSortOptionsSortOrderPtrOutputWithContext(ctx).OutputState, + } +} + // Predefined content source for Google Apps. type SourcePredefinedSource string @@ -420,6 +457,12 @@ func (o SourcePredefinedSourceOutput) ToSourcePredefinedSourcePtrOutputWithConte }).(SourcePredefinedSourcePtrOutput) } +func (o SourcePredefinedSourceOutput) ToOutput(ctx context.Context) pulumix.Output[SourcePredefinedSource] { + return pulumix.Output[SourcePredefinedSource]{ + OutputState: o.OutputState, + } +} + func (o SourcePredefinedSourceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o SourcePredefinedSourcePtrOutput) ToSourcePredefinedSourcePtrOutputWithCo return o } +func (o SourcePredefinedSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourcePredefinedSource] { + return pulumix.Output[*SourcePredefinedSource]{ + OutputState: o.OutputState, + } +} + func (o SourcePredefinedSourcePtrOutput) Elem() SourcePredefinedSourceOutput { return o.ApplyT(func(v *SourcePredefinedSource) SourcePredefinedSource { if v != nil { @@ -517,6 +566,12 @@ func (in *sourcePredefinedSourcePtr) ToSourcePredefinedSourcePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(SourcePredefinedSourcePtrOutput) } +func (in *sourcePredefinedSourcePtr) ToOutput(ctx context.Context) pulumix.Output[*SourcePredefinedSource] { + return pulumix.Output[*SourcePredefinedSource]{ + OutputState: in.ToSourcePredefinedSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Importance of the source. type SourceScoringConfigSourceImportance string @@ -586,6 +641,12 @@ func (o SourceScoringConfigSourceImportanceOutput) ToSourceScoringConfigSourceIm }).(SourceScoringConfigSourceImportancePtrOutput) } +func (o SourceScoringConfigSourceImportanceOutput) ToOutput(ctx context.Context) pulumix.Output[SourceScoringConfigSourceImportance] { + return pulumix.Output[SourceScoringConfigSourceImportance]{ + OutputState: o.OutputState, + } +} + func (o SourceScoringConfigSourceImportanceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -621,6 +682,12 @@ func (o SourceScoringConfigSourceImportancePtrOutput) ToSourceScoringConfigSourc return o } +func (o SourceScoringConfigSourceImportancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceScoringConfigSourceImportance] { + return pulumix.Output[*SourceScoringConfigSourceImportance]{ + OutputState: o.OutputState, + } +} + func (o SourceScoringConfigSourceImportancePtrOutput) Elem() SourceScoringConfigSourceImportanceOutput { return o.ApplyT(func(v *SourceScoringConfigSourceImportance) SourceScoringConfigSourceImportance { if v != nil { @@ -683,6 +750,12 @@ func (in *sourceScoringConfigSourceImportancePtr) ToSourceScoringConfigSourceImp return pulumi.ToOutputWithContext(ctx, in).(SourceScoringConfigSourceImportancePtrOutput) } +func (in *sourceScoringConfigSourceImportancePtr) ToOutput(ctx context.Context) pulumix.Output[*SourceScoringConfigSourceImportance] { + return pulumix.Output[*SourceScoringConfigSourceImportance]{ + OutputState: in.ToSourceScoringConfigSourceImportancePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*CompositeFilterLogicOperatorInput)(nil)).Elem(), CompositeFilterLogicOperator("AND")) pulumi.RegisterInputType(reflect.TypeOf((*CompositeFilterLogicOperatorPtrInput)(nil)).Elem(), CompositeFilterLogicOperator("AND")) diff --git a/sdk/go/google/cloudsearch/v1/pulumiTypes.go b/sdk/go/google/cloudsearch/v1/pulumiTypes.go index 5ebd59569c..4b1ee11b7a 100644 --- a/sdk/go/google/cloudsearch/v1/pulumiTypes.go +++ b/sdk/go/google/cloudsearch/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -50,6 +51,12 @@ func (i CompositeFilterArgs) ToCompositeFilterOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CompositeFilterOutput) } +func (i CompositeFilterArgs) ToOutput(ctx context.Context) pulumix.Output[CompositeFilter] { + return pulumix.Output[CompositeFilter]{ + OutputState: i.ToCompositeFilterOutputWithContext(ctx).OutputState, + } +} + func (i CompositeFilterArgs) ToCompositeFilterPtrOutput() CompositeFilterPtrOutput { return i.ToCompositeFilterPtrOutputWithContext(context.Background()) } @@ -91,6 +98,12 @@ func (i *compositeFilterPtrType) ToCompositeFilterPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CompositeFilterPtrOutput) } +func (i *compositeFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*CompositeFilter] { + return pulumix.Output[*CompositeFilter]{ + OutputState: i.ToCompositeFilterPtrOutputWithContext(ctx).OutputState, + } +} + type CompositeFilterOutput struct{ *pulumi.OutputState } func (CompositeFilterOutput) ElementType() reflect.Type { @@ -115,6 +128,12 @@ func (o CompositeFilterOutput) ToCompositeFilterPtrOutputWithContext(ctx context }).(CompositeFilterPtrOutput) } +func (o CompositeFilterOutput) ToOutput(ctx context.Context) pulumix.Output[CompositeFilter] { + return pulumix.Output[CompositeFilter]{ + OutputState: o.OutputState, + } +} + // The logic operator of the sub filter. func (o CompositeFilterOutput) LogicOperator() CompositeFilterLogicOperatorPtrOutput { return o.ApplyT(func(v CompositeFilter) *CompositeFilterLogicOperator { return v.LogicOperator }).(CompositeFilterLogicOperatorPtrOutput) @@ -139,6 +158,12 @@ func (o CompositeFilterPtrOutput) ToCompositeFilterPtrOutputWithContext(ctx cont return o } +func (o CompositeFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompositeFilter] { + return pulumix.Output[*CompositeFilter]{ + OutputState: o.OutputState, + } +} + func (o CompositeFilterPtrOutput) Elem() CompositeFilterOutput { return o.ApplyT(func(v *CompositeFilter) CompositeFilter { if v != nil { @@ -190,6 +215,12 @@ func (o CompositeFilterResponseOutput) ToCompositeFilterResponseOutputWithContex return o } +func (o CompositeFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompositeFilterResponse] { + return pulumix.Output[CompositeFilterResponse]{ + OutputState: o.OutputState, + } +} + // The logic operator of the sub filter. func (o CompositeFilterResponseOutput) LogicOperator() pulumi.StringOutput { return o.ApplyT(func(v CompositeFilterResponse) string { return v.LogicOperator }).(pulumi.StringOutput) @@ -239,6 +270,12 @@ func (i DataSourceRestrictionArgs) ToDataSourceRestrictionOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DataSourceRestrictionOutput) } +func (i DataSourceRestrictionArgs) ToOutput(ctx context.Context) pulumix.Output[DataSourceRestriction] { + return pulumix.Output[DataSourceRestriction]{ + OutputState: i.ToDataSourceRestrictionOutputWithContext(ctx).OutputState, + } +} + // DataSourceRestrictionArrayInput is an input type that accepts DataSourceRestrictionArray and DataSourceRestrictionArrayOutput values. // You can construct a concrete instance of `DataSourceRestrictionArrayInput` via: // @@ -264,6 +301,12 @@ func (i DataSourceRestrictionArray) ToDataSourceRestrictionArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(DataSourceRestrictionArrayOutput) } +func (i DataSourceRestrictionArray) ToOutput(ctx context.Context) pulumix.Output[[]DataSourceRestriction] { + return pulumix.Output[[]DataSourceRestriction]{ + OutputState: i.ToDataSourceRestrictionArrayOutputWithContext(ctx).OutputState, + } +} + // Restriction on Datasource. type DataSourceRestrictionOutput struct{ *pulumi.OutputState } @@ -279,6 +322,12 @@ func (o DataSourceRestrictionOutput) ToDataSourceRestrictionOutputWithContext(ct return o } +func (o DataSourceRestrictionOutput) ToOutput(ctx context.Context) pulumix.Output[DataSourceRestriction] { + return pulumix.Output[DataSourceRestriction]{ + OutputState: o.OutputState, + } +} + // Filter options restricting the results. If multiple filters are present, they are grouped by object type before joining. Filters with the same object type are joined conjunctively, then the resulting expressions are joined disjunctively. The maximum number of elements is 20. NOTE: Suggest API supports only few filters at the moment: "objecttype", "type" and "mimetype". For now, schema specific filters cannot be used to filter suggestions. func (o DataSourceRestrictionOutput) FilterOptions() FilterOptionsArrayOutput { return o.ApplyT(func(v DataSourceRestriction) []FilterOptions { return v.FilterOptions }).(FilterOptionsArrayOutput) @@ -303,6 +352,12 @@ func (o DataSourceRestrictionArrayOutput) ToDataSourceRestrictionArrayOutputWith return o } +func (o DataSourceRestrictionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DataSourceRestriction] { + return pulumix.Output[[]DataSourceRestriction]{ + OutputState: o.OutputState, + } +} + func (o DataSourceRestrictionArrayOutput) Index(i pulumi.IntInput) DataSourceRestrictionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DataSourceRestriction { return vs[0].([]DataSourceRestriction)[vs[1].(int)] @@ -332,6 +387,12 @@ func (o DataSourceRestrictionResponseOutput) ToDataSourceRestrictionResponseOutp return o } +func (o DataSourceRestrictionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataSourceRestrictionResponse] { + return pulumix.Output[DataSourceRestrictionResponse]{ + OutputState: o.OutputState, + } +} + // Filter options restricting the results. If multiple filters are present, they are grouped by object type before joining. Filters with the same object type are joined conjunctively, then the resulting expressions are joined disjunctively. The maximum number of elements is 20. NOTE: Suggest API supports only few filters at the moment: "objecttype", "type" and "mimetype". For now, schema specific filters cannot be used to filter suggestions. func (o DataSourceRestrictionResponseOutput) FilterOptions() FilterOptionsResponseArrayOutput { return o.ApplyT(func(v DataSourceRestrictionResponse) []FilterOptionsResponse { return v.FilterOptions }).(FilterOptionsResponseArrayOutput) @@ -356,6 +417,12 @@ func (o DataSourceRestrictionResponseArrayOutput) ToDataSourceRestrictionRespons return o } +func (o DataSourceRestrictionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DataSourceRestrictionResponse] { + return pulumix.Output[[]DataSourceRestrictionResponse]{ + OutputState: o.OutputState, + } +} + func (o DataSourceRestrictionResponseArrayOutput) Index(i pulumi.IntInput) DataSourceRestrictionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DataSourceRestrictionResponse { return vs[0].([]DataSourceRestrictionResponse)[vs[1].(int)] @@ -405,6 +472,12 @@ func (i DateArgs) ToDateOutputWithContext(ctx context.Context) DateOutput { return pulumi.ToOutputWithContext(ctx, i).(DateOutput) } +func (i DateArgs) ToOutput(ctx context.Context) pulumix.Output[Date] { + return pulumix.Output[Date]{ + OutputState: i.ToDateOutputWithContext(ctx).OutputState, + } +} + func (i DateArgs) ToDatePtrOutput() DatePtrOutput { return i.ToDatePtrOutputWithContext(context.Background()) } @@ -446,6 +519,12 @@ func (i *datePtrType) ToDatePtrOutputWithContext(ctx context.Context) DatePtrOut return pulumi.ToOutputWithContext(ctx, i).(DatePtrOutput) } +func (i *datePtrType) ToOutput(ctx context.Context) pulumix.Output[*Date] { + return pulumix.Output[*Date]{ + OutputState: i.ToDatePtrOutputWithContext(ctx).OutputState, + } +} + // Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date between the year 1 and 9999. type DateOutput struct{ *pulumi.OutputState } @@ -471,6 +550,12 @@ func (o DateOutput) ToDatePtrOutputWithContext(ctx context.Context) DatePtrOutpu }).(DatePtrOutput) } +func (o DateOutput) ToOutput(ctx context.Context) pulumix.Output[Date] { + return pulumix.Output[Date]{ + OutputState: o.OutputState, + } +} + // Day of month. Must be from 1 to 31 and valid for the year and month. func (o DateOutput) Day() pulumi.IntPtrOutput { return o.ApplyT(func(v Date) *int { return v.Day }).(pulumi.IntPtrOutput) @@ -500,6 +585,12 @@ func (o DatePtrOutput) ToDatePtrOutputWithContext(ctx context.Context) DatePtrOu return o } +func (o DatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Date] { + return pulumix.Output[*Date]{ + OutputState: o.OutputState, + } +} + func (o DatePtrOutput) Elem() DateOutput { return o.ApplyT(func(v *Date) Date { if v != nil { @@ -565,6 +656,12 @@ func (o DateResponseOutput) ToDateResponseOutputWithContext(ctx context.Context) return o } +func (o DateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DateResponse] { + return pulumix.Output[DateResponse]{ + OutputState: o.OutputState, + } +} + // Day of month. Must be from 1 to 31 and valid for the year and month. func (o DateResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v DateResponse) int { return v.Day }).(pulumi.IntOutput) @@ -631,6 +728,12 @@ func (i FacetOptionsArgs) ToFacetOptionsOutputWithContext(ctx context.Context) F return pulumi.ToOutputWithContext(ctx, i).(FacetOptionsOutput) } +func (i FacetOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[FacetOptions] { + return pulumix.Output[FacetOptions]{ + OutputState: i.ToFacetOptionsOutputWithContext(ctx).OutputState, + } +} + // FacetOptionsArrayInput is an input type that accepts FacetOptionsArray and FacetOptionsArrayOutput values. // You can construct a concrete instance of `FacetOptionsArrayInput` via: // @@ -656,6 +759,12 @@ func (i FacetOptionsArray) ToFacetOptionsArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(FacetOptionsArrayOutput) } +func (i FacetOptionsArray) ToOutput(ctx context.Context) pulumix.Output[[]FacetOptions] { + return pulumix.Output[[]FacetOptions]{ + OutputState: i.ToFacetOptionsArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination. type FacetOptionsOutput struct{ *pulumi.OutputState } @@ -671,6 +780,12 @@ func (o FacetOptionsOutput) ToFacetOptionsOutputWithContext(ctx context.Context) return o } +func (o FacetOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[FacetOptions] { + return pulumix.Output[FacetOptions]{ + OutputState: o.OutputState, + } +} + // If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets. func (o FacetOptionsOutput) IntegerFacetingOptions() IntegerFacetingOptionsPtrOutput { return o.ApplyT(func(v FacetOptions) *IntegerFacetingOptions { return v.IntegerFacetingOptions }).(IntegerFacetingOptionsPtrOutput) @@ -710,6 +825,12 @@ func (o FacetOptionsArrayOutput) ToFacetOptionsArrayOutputWithContext(ctx contex return o } +func (o FacetOptionsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FacetOptions] { + return pulumix.Output[[]FacetOptions]{ + OutputState: o.OutputState, + } +} + func (o FacetOptionsArrayOutput) Index(i pulumi.IntInput) FacetOptionsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FacetOptions { return vs[0].([]FacetOptions)[vs[1].(int)] @@ -745,6 +866,12 @@ func (o FacetOptionsResponseOutput) ToFacetOptionsResponseOutputWithContext(ctx return o } +func (o FacetOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FacetOptionsResponse] { + return pulumix.Output[FacetOptionsResponse]{ + OutputState: o.OutputState, + } +} + // If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets. func (o FacetOptionsResponseOutput) IntegerFacetingOptions() IntegerFacetingOptionsResponseOutput { return o.ApplyT(func(v FacetOptionsResponse) IntegerFacetingOptionsResponse { return v.IntegerFacetingOptions }).(IntegerFacetingOptionsResponseOutput) @@ -784,6 +911,12 @@ func (o FacetOptionsResponseArrayOutput) ToFacetOptionsResponseArrayOutputWithCo return o } +func (o FacetOptionsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FacetOptionsResponse] { + return pulumix.Output[[]FacetOptionsResponse]{ + OutputState: o.OutputState, + } +} + func (o FacetOptionsResponseArrayOutput) Index(i pulumi.IntInput) FacetOptionsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FacetOptionsResponse { return vs[0].([]FacetOptionsResponse)[vs[1].(int)] @@ -825,6 +958,12 @@ func (i FilterArgs) ToFilterOutputWithContext(ctx context.Context) FilterOutput return pulumi.ToOutputWithContext(ctx, i).(FilterOutput) } +func (i FilterArgs) ToOutput(ctx context.Context) pulumix.Output[Filter] { + return pulumix.Output[Filter]{ + OutputState: i.ToFilterOutputWithContext(ctx).OutputState, + } +} + func (i FilterArgs) ToFilterPtrOutput() FilterPtrOutput { return i.ToFilterPtrOutputWithContext(context.Background()) } @@ -866,6 +1005,12 @@ func (i *filterPtrType) ToFilterPtrOutputWithContext(ctx context.Context) Filter return pulumi.ToOutputWithContext(ctx, i).(FilterPtrOutput) } +func (i *filterPtrType) ToOutput(ctx context.Context) pulumix.Output[*Filter] { + return pulumix.Output[*Filter]{ + OutputState: i.ToFilterPtrOutputWithContext(ctx).OutputState, + } +} + // FilterArrayInput is an input type that accepts FilterArray and FilterArrayOutput values. // You can construct a concrete instance of `FilterArrayInput` via: // @@ -891,6 +1036,12 @@ func (i FilterArray) ToFilterArrayOutputWithContext(ctx context.Context) FilterA return pulumi.ToOutputWithContext(ctx, i).(FilterArrayOutput) } +func (i FilterArray) ToOutput(ctx context.Context) pulumix.Output[[]Filter] { + return pulumix.Output[[]Filter]{ + OutputState: i.ToFilterArrayOutputWithContext(ctx).OutputState, + } +} + // A generic way of expressing filters in a query, which supports two approaches: **1. Setting a ValueFilter.** The name must match an operator_name defined in the schema for your data source. **2. Setting a CompositeFilter.** The filters are evaluated using the logical operator. The top-level operators can only be either an AND or a NOT. AND can appear only at the top-most level. OR can appear only under a top-level AND. type FilterOutput struct{ *pulumi.OutputState } @@ -916,6 +1067,12 @@ func (o FilterOutput) ToFilterPtrOutputWithContext(ctx context.Context) FilterPt }).(FilterPtrOutput) } +func (o FilterOutput) ToOutput(ctx context.Context) pulumix.Output[Filter] { + return pulumix.Output[Filter]{ + OutputState: o.OutputState, + } +} + func (o FilterOutput) CompositeFilter() CompositeFilterPtrOutput { return o.ApplyT(func(v Filter) *CompositeFilter { return v.CompositeFilter }).(CompositeFilterPtrOutput) } @@ -938,6 +1095,12 @@ func (o FilterPtrOutput) ToFilterPtrOutputWithContext(ctx context.Context) Filte return o } +func (o FilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Filter] { + return pulumix.Output[*Filter]{ + OutputState: o.OutputState, + } +} + func (o FilterPtrOutput) Elem() FilterOutput { return o.ApplyT(func(v *Filter) Filter { if v != nil { @@ -980,6 +1143,12 @@ func (o FilterArrayOutput) ToFilterArrayOutputWithContext(ctx context.Context) F return o } +func (o FilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Filter] { + return pulumix.Output[[]Filter]{ + OutputState: o.OutputState, + } +} + func (o FilterArrayOutput) Index(i pulumi.IntInput) FilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Filter { return vs[0].([]Filter)[vs[1].(int)] @@ -1025,6 +1194,12 @@ func (i FilterOptionsArgs) ToFilterOptionsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FilterOptionsOutput) } +func (i FilterOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[FilterOptions] { + return pulumix.Output[FilterOptions]{ + OutputState: i.ToFilterOptionsOutputWithContext(ctx).OutputState, + } +} + // FilterOptionsArrayInput is an input type that accepts FilterOptionsArray and FilterOptionsArrayOutput values. // You can construct a concrete instance of `FilterOptionsArrayInput` via: // @@ -1050,6 +1225,12 @@ func (i FilterOptionsArray) ToFilterOptionsArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(FilterOptionsArrayOutput) } +func (i FilterOptionsArray) ToOutput(ctx context.Context) pulumix.Output[[]FilterOptions] { + return pulumix.Output[[]FilterOptions]{ + OutputState: i.ToFilterOptionsArrayOutputWithContext(ctx).OutputState, + } +} + // Filter options to be applied on query. type FilterOptionsOutput struct{ *pulumi.OutputState } @@ -1065,6 +1246,12 @@ func (o FilterOptionsOutput) ToFilterOptionsOutputWithContext(ctx context.Contex return o } +func (o FilterOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[FilterOptions] { + return pulumix.Output[FilterOptions]{ + OutputState: o.OutputState, + } +} + // Generic filter to restrict the search, such as `lang:en`, `site:xyz`. func (o FilterOptionsOutput) Filter() FilterPtrOutput { return o.ApplyT(func(v FilterOptions) *Filter { return v.Filter }).(FilterPtrOutput) @@ -1089,6 +1276,12 @@ func (o FilterOptionsArrayOutput) ToFilterOptionsArrayOutputWithContext(ctx cont return o } +func (o FilterOptionsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FilterOptions] { + return pulumix.Output[[]FilterOptions]{ + OutputState: o.OutputState, + } +} + func (o FilterOptionsArrayOutput) Index(i pulumi.IntInput) FilterOptionsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FilterOptions { return vs[0].([]FilterOptions)[vs[1].(int)] @@ -1118,6 +1311,12 @@ func (o FilterOptionsResponseOutput) ToFilterOptionsResponseOutputWithContext(ct return o } +func (o FilterOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FilterOptionsResponse] { + return pulumix.Output[FilterOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Generic filter to restrict the search, such as `lang:en`, `site:xyz`. func (o FilterOptionsResponseOutput) Filter() FilterResponseOutput { return o.ApplyT(func(v FilterOptionsResponse) FilterResponse { return v.Filter }).(FilterResponseOutput) @@ -1142,6 +1341,12 @@ func (o FilterOptionsResponseArrayOutput) ToFilterOptionsResponseArrayOutputWith return o } +func (o FilterOptionsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FilterOptionsResponse] { + return pulumix.Output[[]FilterOptionsResponse]{ + OutputState: o.OutputState, + } +} + func (o FilterOptionsResponseArrayOutput) Index(i pulumi.IntInput) FilterOptionsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FilterOptionsResponse { return vs[0].([]FilterOptionsResponse)[vs[1].(int)] @@ -1169,6 +1374,12 @@ func (o FilterResponseOutput) ToFilterResponseOutputWithContext(ctx context.Cont return o } +func (o FilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FilterResponse] { + return pulumix.Output[FilterResponse]{ + OutputState: o.OutputState, + } +} + func (o FilterResponseOutput) CompositeFilter() CompositeFilterResponseOutput { return o.ApplyT(func(v FilterResponse) CompositeFilterResponse { return v.CompositeFilter }).(CompositeFilterResponseOutput) } @@ -1191,6 +1402,12 @@ func (o FilterResponseArrayOutput) ToFilterResponseArrayOutputWithContext(ctx co return o } +func (o FilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FilterResponse] { + return pulumix.Output[[]FilterResponse]{ + OutputState: o.OutputState, + } +} + func (o FilterResponseArrayOutput) Index(i pulumi.IntInput) FilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FilterResponse { return vs[0].([]FilterResponse)[vs[1].(int)] @@ -1238,6 +1455,12 @@ func (i GSuitePrincipalArgs) ToGSuitePrincipalOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GSuitePrincipalOutput) } +func (i GSuitePrincipalArgs) ToOutput(ctx context.Context) pulumix.Output[GSuitePrincipal] { + return pulumix.Output[GSuitePrincipal]{ + OutputState: i.ToGSuitePrincipalOutputWithContext(ctx).OutputState, + } +} + // GSuitePrincipalArrayInput is an input type that accepts GSuitePrincipalArray and GSuitePrincipalArrayOutput values. // You can construct a concrete instance of `GSuitePrincipalArrayInput` via: // @@ -1263,6 +1486,12 @@ func (i GSuitePrincipalArray) ToGSuitePrincipalArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GSuitePrincipalArrayOutput) } +func (i GSuitePrincipalArray) ToOutput(ctx context.Context) pulumix.Output[[]GSuitePrincipal] { + return pulumix.Output[[]GSuitePrincipal]{ + OutputState: i.ToGSuitePrincipalArrayOutputWithContext(ctx).OutputState, + } +} + type GSuitePrincipalOutput struct{ *pulumi.OutputState } func (GSuitePrincipalOutput) ElementType() reflect.Type { @@ -1277,6 +1506,12 @@ func (o GSuitePrincipalOutput) ToGSuitePrincipalOutputWithContext(ctx context.Co return o } +func (o GSuitePrincipalOutput) ToOutput(ctx context.Context) pulumix.Output[GSuitePrincipal] { + return pulumix.Output[GSuitePrincipal]{ + OutputState: o.OutputState, + } +} + // This principal represents all users of the Google Workspace domain of the customer. func (o GSuitePrincipalOutput) GsuiteDomain() pulumi.BoolPtrOutput { return o.ApplyT(func(v GSuitePrincipal) *bool { return v.GsuiteDomain }).(pulumi.BoolPtrOutput) @@ -1306,6 +1541,12 @@ func (o GSuitePrincipalArrayOutput) ToGSuitePrincipalArrayOutputWithContext(ctx return o } +func (o GSuitePrincipalArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GSuitePrincipal] { + return pulumix.Output[[]GSuitePrincipal]{ + OutputState: o.OutputState, + } +} + func (o GSuitePrincipalArrayOutput) Index(i pulumi.IntInput) GSuitePrincipalOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GSuitePrincipal { return vs[0].([]GSuitePrincipal)[vs[1].(int)] @@ -1335,6 +1576,12 @@ func (o GSuitePrincipalResponseOutput) ToGSuitePrincipalResponseOutputWithContex return o } +func (o GSuitePrincipalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GSuitePrincipalResponse] { + return pulumix.Output[GSuitePrincipalResponse]{ + OutputState: o.OutputState, + } +} + // This principal represents all users of the Google Workspace domain of the customer. func (o GSuitePrincipalResponseOutput) GsuiteDomain() pulumi.BoolOutput { return o.ApplyT(func(v GSuitePrincipalResponse) bool { return v.GsuiteDomain }).(pulumi.BoolOutput) @@ -1364,6 +1611,12 @@ func (o GSuitePrincipalResponseArrayOutput) ToGSuitePrincipalResponseArrayOutput return o } +func (o GSuitePrincipalResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GSuitePrincipalResponse] { + return pulumix.Output[[]GSuitePrincipalResponse]{ + OutputState: o.OutputState, + } +} + func (o GSuitePrincipalResponseArrayOutput) Index(i pulumi.IntInput) GSuitePrincipalResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GSuitePrincipalResponse { return vs[0].([]GSuitePrincipalResponse)[vs[1].(int)] @@ -1405,6 +1658,12 @@ func (i IntegerFacetingOptionsArgs) ToIntegerFacetingOptionsOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(IntegerFacetingOptionsOutput) } +func (i IntegerFacetingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[IntegerFacetingOptions] { + return pulumix.Output[IntegerFacetingOptions]{ + OutputState: i.ToIntegerFacetingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i IntegerFacetingOptionsArgs) ToIntegerFacetingOptionsPtrOutput() IntegerFacetingOptionsPtrOutput { return i.ToIntegerFacetingOptionsPtrOutputWithContext(context.Background()) } @@ -1446,6 +1705,12 @@ func (i *integerFacetingOptionsPtrType) ToIntegerFacetingOptionsPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(IntegerFacetingOptionsPtrOutput) } +func (i *integerFacetingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*IntegerFacetingOptions] { + return pulumix.Output[*IntegerFacetingOptions]{ + OutputState: i.ToIntegerFacetingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Used to specify integer faceting options. type IntegerFacetingOptionsOutput struct{ *pulumi.OutputState } @@ -1471,6 +1736,12 @@ func (o IntegerFacetingOptionsOutput) ToIntegerFacetingOptionsPtrOutputWithConte }).(IntegerFacetingOptionsPtrOutput) } +func (o IntegerFacetingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[IntegerFacetingOptions] { + return pulumix.Output[IntegerFacetingOptions]{ + OutputState: o.OutputState, + } +} + // Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {<1, [1,5), [5-10), [10-100), >=100}. func (o IntegerFacetingOptionsOutput) IntegerBuckets() pulumi.StringArrayOutput { return o.ApplyT(func(v IntegerFacetingOptions) []string { return v.IntegerBuckets }).(pulumi.StringArrayOutput) @@ -1490,6 +1761,12 @@ func (o IntegerFacetingOptionsPtrOutput) ToIntegerFacetingOptionsPtrOutputWithCo return o } +func (o IntegerFacetingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IntegerFacetingOptions] { + return pulumix.Output[*IntegerFacetingOptions]{ + OutputState: o.OutputState, + } +} + func (o IntegerFacetingOptionsPtrOutput) Elem() IntegerFacetingOptionsOutput { return o.ApplyT(func(v *IntegerFacetingOptions) IntegerFacetingOptions { if v != nil { @@ -1531,6 +1808,12 @@ func (o IntegerFacetingOptionsResponseOutput) ToIntegerFacetingOptionsResponseOu return o } +func (o IntegerFacetingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IntegerFacetingOptionsResponse] { + return pulumix.Output[IntegerFacetingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Buckets for given integer values should be in strictly ascending order. For example, if values supplied are (1,5,10,100), the following facet buckets will be formed {<1, [1,5), [5-10), [10-100), >=100}. func (o IntegerFacetingOptionsResponseOutput) IntegerBuckets() pulumi.StringArrayOutput { return o.ApplyT(func(v IntegerFacetingOptionsResponse) []string { return v.IntegerBuckets }).(pulumi.StringArrayOutput) @@ -1575,6 +1858,12 @@ func (i QueryInterpretationConfigArgs) ToQueryInterpretationConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(QueryInterpretationConfigOutput) } +func (i QueryInterpretationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[QueryInterpretationConfig] { + return pulumix.Output[QueryInterpretationConfig]{ + OutputState: i.ToQueryInterpretationConfigOutputWithContext(ctx).OutputState, + } +} + func (i QueryInterpretationConfigArgs) ToQueryInterpretationConfigPtrOutput() QueryInterpretationConfigPtrOutput { return i.ToQueryInterpretationConfigPtrOutputWithContext(context.Background()) } @@ -1616,6 +1905,12 @@ func (i *queryInterpretationConfigPtrType) ToQueryInterpretationConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(QueryInterpretationConfigPtrOutput) } +func (i *queryInterpretationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*QueryInterpretationConfig] { + return pulumix.Output[*QueryInterpretationConfig]{ + OutputState: i.ToQueryInterpretationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Default options to interpret user query. type QueryInterpretationConfigOutput struct{ *pulumi.OutputState } @@ -1641,6 +1936,12 @@ func (o QueryInterpretationConfigOutput) ToQueryInterpretationConfigPtrOutputWit }).(QueryInterpretationConfigPtrOutput) } +func (o QueryInterpretationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[QueryInterpretationConfig] { + return pulumix.Output[QueryInterpretationConfig]{ + OutputState: o.OutputState, + } +} + // Set this flag to disable supplemental results retrieval, setting a flag here will not retrieve supplemental results for queries associated with a given search application. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for supplemental results. func (o QueryInterpretationConfigOutput) ForceDisableSupplementalResults() pulumi.BoolPtrOutput { return o.ApplyT(func(v QueryInterpretationConfig) *bool { return v.ForceDisableSupplementalResults }).(pulumi.BoolPtrOutput) @@ -1665,6 +1966,12 @@ func (o QueryInterpretationConfigPtrOutput) ToQueryInterpretationConfigPtrOutput return o } +func (o QueryInterpretationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueryInterpretationConfig] { + return pulumix.Output[*QueryInterpretationConfig]{ + OutputState: o.OutputState, + } +} + func (o QueryInterpretationConfigPtrOutput) Elem() QueryInterpretationConfigOutput { return o.ApplyT(func(v *QueryInterpretationConfig) QueryInterpretationConfig { if v != nil { @@ -1718,6 +2025,12 @@ func (o QueryInterpretationConfigResponseOutput) ToQueryInterpretationConfigResp return o } +func (o QueryInterpretationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryInterpretationConfigResponse] { + return pulumix.Output[QueryInterpretationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Set this flag to disable supplemental results retrieval, setting a flag here will not retrieve supplemental results for queries associated with a given search application. If this flag is set to True, it will take precedence over the option set at Query level. For the default value of False, query level flag will set the correct interpretation for supplemental results. func (o QueryInterpretationConfigResponseOutput) ForceDisableSupplementalResults() pulumi.BoolOutput { return o.ApplyT(func(v QueryInterpretationConfigResponse) bool { return v.ForceDisableSupplementalResults }).(pulumi.BoolOutput) @@ -1767,6 +2080,12 @@ func (i ScoringConfigArgs) ToScoringConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ScoringConfigOutput) } +func (i ScoringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ScoringConfig] { + return pulumix.Output[ScoringConfig]{ + OutputState: i.ToScoringConfigOutputWithContext(ctx).OutputState, + } +} + func (i ScoringConfigArgs) ToScoringConfigPtrOutput() ScoringConfigPtrOutput { return i.ToScoringConfigPtrOutputWithContext(context.Background()) } @@ -1808,6 +2127,12 @@ func (i *scoringConfigPtrType) ToScoringConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ScoringConfigPtrOutput) } +func (i *scoringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScoringConfig] { + return pulumix.Output[*ScoringConfig]{ + OutputState: i.ToScoringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Scoring configurations for a source while processing a Search or Suggest request. type ScoringConfigOutput struct{ *pulumi.OutputState } @@ -1833,6 +2158,12 @@ func (o ScoringConfigOutput) ToScoringConfigPtrOutputWithContext(ctx context.Con }).(ScoringConfigPtrOutput) } +func (o ScoringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ScoringConfig] { + return pulumix.Output[ScoringConfig]{ + OutputState: o.OutputState, + } +} + // Whether to use freshness as a ranking signal. By default, freshness is used as a ranking signal. Note that this setting is not available in the Admin UI. func (o ScoringConfigOutput) DisableFreshness() pulumi.BoolPtrOutput { return o.ApplyT(func(v ScoringConfig) *bool { return v.DisableFreshness }).(pulumi.BoolPtrOutput) @@ -1857,6 +2188,12 @@ func (o ScoringConfigPtrOutput) ToScoringConfigPtrOutputWithContext(ctx context. return o } +func (o ScoringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScoringConfig] { + return pulumix.Output[*ScoringConfig]{ + OutputState: o.OutputState, + } +} + func (o ScoringConfigPtrOutput) Elem() ScoringConfigOutput { return o.ApplyT(func(v *ScoringConfig) ScoringConfig { if v != nil { @@ -1910,6 +2247,12 @@ func (o ScoringConfigResponseOutput) ToScoringConfigResponseOutputWithContext(ct return o } +func (o ScoringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScoringConfigResponse] { + return pulumix.Output[ScoringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to use freshness as a ranking signal. By default, freshness is used as a ranking signal. Note that this setting is not available in the Admin UI. func (o ScoringConfigResponseOutput) DisableFreshness() pulumi.BoolOutput { return o.ApplyT(func(v ScoringConfigResponse) bool { return v.DisableFreshness }).(pulumi.BoolOutput) @@ -1957,6 +2300,12 @@ func (i SortOptionsArgs) ToSortOptionsOutputWithContext(ctx context.Context) Sor return pulumi.ToOutputWithContext(ctx, i).(SortOptionsOutput) } +func (i SortOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[SortOptions] { + return pulumix.Output[SortOptions]{ + OutputState: i.ToSortOptionsOutputWithContext(ctx).OutputState, + } +} + func (i SortOptionsArgs) ToSortOptionsPtrOutput() SortOptionsPtrOutput { return i.ToSortOptionsPtrOutputWithContext(context.Background()) } @@ -1998,6 +2347,12 @@ func (i *sortOptionsPtrType) ToSortOptionsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SortOptionsPtrOutput) } +func (i *sortOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SortOptions] { + return pulumix.Output[*SortOptions]{ + OutputState: i.ToSortOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type SortOptionsOutput struct{ *pulumi.OutputState } func (SortOptionsOutput) ElementType() reflect.Type { @@ -2022,6 +2377,12 @@ func (o SortOptionsOutput) ToSortOptionsPtrOutputWithContext(ctx context.Context }).(SortOptionsPtrOutput) } +func (o SortOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[SortOptions] { + return pulumix.Output[SortOptions]{ + OutputState: o.OutputState, + } +} + // The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable. func (o SortOptionsOutput) OperatorName() pulumi.StringPtrOutput { return o.ApplyT(func(v SortOptions) *string { return v.OperatorName }).(pulumi.StringPtrOutput) @@ -2046,6 +2407,12 @@ func (o SortOptionsPtrOutput) ToSortOptionsPtrOutputWithContext(ctx context.Cont return o } +func (o SortOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SortOptions] { + return pulumix.Output[*SortOptions]{ + OutputState: o.OutputState, + } +} + func (o SortOptionsPtrOutput) Elem() SortOptionsOutput { return o.ApplyT(func(v *SortOptions) SortOptions { if v != nil { @@ -2097,6 +2464,12 @@ func (o SortOptionsResponseOutput) ToSortOptionsResponseOutputWithContext(ctx co return o } +func (o SortOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SortOptionsResponse] { + return pulumix.Output[SortOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The name of the operator corresponding to the field to sort on. The corresponding property must be marked as sortable. func (o SortOptionsResponseOutput) OperatorName() pulumi.StringOutput { return o.ApplyT(func(v SortOptionsResponse) string { return v.OperatorName }).(pulumi.StringOutput) @@ -2146,6 +2519,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + func (i SourceArgs) ToSourcePtrOutput() SourcePtrOutput { return i.ToSourcePtrOutputWithContext(context.Background()) } @@ -2187,6 +2566,12 @@ func (i *sourcePtrType) ToSourcePtrOutputWithContext(ctx context.Context) Source return pulumi.ToOutputWithContext(ctx, i).(SourcePtrOutput) } +func (i *sourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Defines sources for the suggest/search APIs. type SourceOutput struct{ *pulumi.OutputState } @@ -2212,6 +2597,12 @@ func (o SourceOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePt }).(SourcePtrOutput) } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // Source name for content indexed by the Indexing API. func (o SourceOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Source) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -2236,6 +2627,12 @@ func (o SourcePtrOutput) ToSourcePtrOutputWithContext(ctx context.Context) Sourc return o } +func (o SourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + func (o SourcePtrOutput) Elem() SourceOutput { return o.ApplyT(func(v *Source) Source { if v != nil { @@ -2309,6 +2706,12 @@ func (i SourceConfigArgs) ToSourceConfigOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SourceConfigOutput) } +func (i SourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SourceConfig] { + return pulumix.Output[SourceConfig]{ + OutputState: i.ToSourceConfigOutputWithContext(ctx).OutputState, + } +} + // SourceConfigArrayInput is an input type that accepts SourceConfigArray and SourceConfigArrayOutput values. // You can construct a concrete instance of `SourceConfigArrayInput` via: // @@ -2334,6 +2737,12 @@ func (i SourceConfigArray) ToSourceConfigArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SourceConfigArrayOutput) } +func (i SourceConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]SourceConfig] { + return pulumix.Output[[]SourceConfig]{ + OutputState: i.ToSourceConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configurations for a source while processing a Search or Suggest request. type SourceConfigOutput struct{ *pulumi.OutputState } @@ -2349,6 +2758,12 @@ func (o SourceConfigOutput) ToSourceConfigOutputWithContext(ctx context.Context) return o } +func (o SourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SourceConfig] { + return pulumix.Output[SourceConfig]{ + OutputState: o.OutputState, + } +} + // The crowding configuration for the source. func (o SourceConfigOutput) CrowdingConfig() SourceCrowdingConfigPtrOutput { return o.ApplyT(func(v SourceConfig) *SourceCrowdingConfig { return v.CrowdingConfig }).(SourceCrowdingConfigPtrOutput) @@ -2378,6 +2793,12 @@ func (o SourceConfigArrayOutput) ToSourceConfigArrayOutputWithContext(ctx contex return o } +func (o SourceConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceConfig] { + return pulumix.Output[[]SourceConfig]{ + OutputState: o.OutputState, + } +} + func (o SourceConfigArrayOutput) Index(i pulumi.IntInput) SourceConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceConfig { return vs[0].([]SourceConfig)[vs[1].(int)] @@ -2409,6 +2830,12 @@ func (o SourceConfigResponseOutput) ToSourceConfigResponseOutputWithContext(ctx return o } +func (o SourceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceConfigResponse] { + return pulumix.Output[SourceConfigResponse]{ + OutputState: o.OutputState, + } +} + // The crowding configuration for the source. func (o SourceConfigResponseOutput) CrowdingConfig() SourceCrowdingConfigResponseOutput { return o.ApplyT(func(v SourceConfigResponse) SourceCrowdingConfigResponse { return v.CrowdingConfig }).(SourceCrowdingConfigResponseOutput) @@ -2438,6 +2865,12 @@ func (o SourceConfigResponseArrayOutput) ToSourceConfigResponseArrayOutputWithCo return o } +func (o SourceConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceConfigResponse] { + return pulumix.Output[[]SourceConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SourceConfigResponseArrayOutput) Index(i pulumi.IntInput) SourceConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceConfigResponse { return vs[0].([]SourceConfigResponse)[vs[1].(int)] @@ -2483,6 +2916,12 @@ func (i SourceCrowdingConfigArgs) ToSourceCrowdingConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SourceCrowdingConfigOutput) } +func (i SourceCrowdingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SourceCrowdingConfig] { + return pulumix.Output[SourceCrowdingConfig]{ + OutputState: i.ToSourceCrowdingConfigOutputWithContext(ctx).OutputState, + } +} + func (i SourceCrowdingConfigArgs) ToSourceCrowdingConfigPtrOutput() SourceCrowdingConfigPtrOutput { return i.ToSourceCrowdingConfigPtrOutputWithContext(context.Background()) } @@ -2524,6 +2963,12 @@ func (i *sourceCrowdingConfigPtrType) ToSourceCrowdingConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(SourceCrowdingConfigPtrOutput) } +func (i *sourceCrowdingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SourceCrowdingConfig] { + return pulumix.Output[*SourceCrowdingConfig]{ + OutputState: i.ToSourceCrowdingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Set search results crowding limits. Crowding is a situation in which multiple results from the same source or host "crowd out" other results, diminishing the quality of search for users. To foster better search quality and source diversity in search results, you can set a condition to reduce repetitive results by source. type SourceCrowdingConfigOutput struct{ *pulumi.OutputState } @@ -2549,6 +2994,12 @@ func (o SourceCrowdingConfigOutput) ToSourceCrowdingConfigPtrOutputWithContext(c }).(SourceCrowdingConfigPtrOutput) } +func (o SourceCrowdingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SourceCrowdingConfig] { + return pulumix.Output[SourceCrowdingConfig]{ + OutputState: o.OutputState, + } +} + // Maximum number of results allowed from a datasource in a result page as long as results from other sources are not exhausted. Value specified must not be negative. A default value is used if this value is equal to 0. To disable crowding, set the value greater than 100. func (o SourceCrowdingConfigOutput) NumResults() pulumi.IntPtrOutput { return o.ApplyT(func(v SourceCrowdingConfig) *int { return v.NumResults }).(pulumi.IntPtrOutput) @@ -2573,6 +3024,12 @@ func (o SourceCrowdingConfigPtrOutput) ToSourceCrowdingConfigPtrOutputWithContex return o } +func (o SourceCrowdingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceCrowdingConfig] { + return pulumix.Output[*SourceCrowdingConfig]{ + OutputState: o.OutputState, + } +} + func (o SourceCrowdingConfigPtrOutput) Elem() SourceCrowdingConfigOutput { return o.ApplyT(func(v *SourceCrowdingConfig) SourceCrowdingConfig { if v != nil { @@ -2626,6 +3083,12 @@ func (o SourceCrowdingConfigResponseOutput) ToSourceCrowdingConfigResponseOutput return o } +func (o SourceCrowdingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceCrowdingConfigResponse] { + return pulumix.Output[SourceCrowdingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Maximum number of results allowed from a datasource in a result page as long as results from other sources are not exhausted. Value specified must not be negative. A default value is used if this value is equal to 0. To disable crowding, set the value greater than 100. func (o SourceCrowdingConfigResponseOutput) NumResults() pulumi.IntOutput { return o.ApplyT(func(v SourceCrowdingConfigResponse) int { return v.NumResults }).(pulumi.IntOutput) @@ -2659,6 +3122,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // Source name for content indexed by the Indexing API. func (o SourceResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v SourceResponse) string { return v.Name }).(pulumi.StringOutput) @@ -2704,6 +3173,12 @@ func (i SourceScoringConfigArgs) ToSourceScoringConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SourceScoringConfigOutput) } +func (i SourceScoringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SourceScoringConfig] { + return pulumix.Output[SourceScoringConfig]{ + OutputState: i.ToSourceScoringConfigOutputWithContext(ctx).OutputState, + } +} + func (i SourceScoringConfigArgs) ToSourceScoringConfigPtrOutput() SourceScoringConfigPtrOutput { return i.ToSourceScoringConfigPtrOutputWithContext(context.Background()) } @@ -2745,6 +3220,12 @@ func (i *sourceScoringConfigPtrType) ToSourceScoringConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(SourceScoringConfigPtrOutput) } +func (i *sourceScoringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SourceScoringConfig] { + return pulumix.Output[*SourceScoringConfig]{ + OutputState: i.ToSourceScoringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Set the scoring configuration. This allows modifying the ranking of results for a source. type SourceScoringConfigOutput struct{ *pulumi.OutputState } @@ -2770,6 +3251,12 @@ func (o SourceScoringConfigOutput) ToSourceScoringConfigPtrOutputWithContext(ctx }).(SourceScoringConfigPtrOutput) } +func (o SourceScoringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SourceScoringConfig] { + return pulumix.Output[SourceScoringConfig]{ + OutputState: o.OutputState, + } +} + // Importance of the source. func (o SourceScoringConfigOutput) SourceImportance() SourceScoringConfigSourceImportancePtrOutput { return o.ApplyT(func(v SourceScoringConfig) *SourceScoringConfigSourceImportance { return v.SourceImportance }).(SourceScoringConfigSourceImportancePtrOutput) @@ -2789,6 +3276,12 @@ func (o SourceScoringConfigPtrOutput) ToSourceScoringConfigPtrOutputWithContext( return o } +func (o SourceScoringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceScoringConfig] { + return pulumix.Output[*SourceScoringConfig]{ + OutputState: o.OutputState, + } +} + func (o SourceScoringConfigPtrOutput) Elem() SourceScoringConfigOutput { return o.ApplyT(func(v *SourceScoringConfig) SourceScoringConfig { if v != nil { @@ -2830,6 +3323,12 @@ func (o SourceScoringConfigResponseOutput) ToSourceScoringConfigResponseOutputWi return o } +func (o SourceScoringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceScoringConfigResponse] { + return pulumix.Output[SourceScoringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Importance of the source. func (o SourceScoringConfigResponseOutput) SourceImportance() pulumi.StringOutput { return o.ApplyT(func(v SourceScoringConfigResponse) string { return v.SourceImportance }).(pulumi.StringOutput) @@ -2878,6 +3377,12 @@ func (i ValueArgs) ToValueOutputWithContext(ctx context.Context) ValueOutput { return pulumi.ToOutputWithContext(ctx, i).(ValueOutput) } +func (i ValueArgs) ToOutput(ctx context.Context) pulumix.Output[Value] { + return pulumix.Output[Value]{ + OutputState: i.ToValueOutputWithContext(ctx).OutputState, + } +} + func (i ValueArgs) ToValuePtrOutput() ValuePtrOutput { return i.ToValuePtrOutputWithContext(context.Background()) } @@ -2919,6 +3424,12 @@ func (i *valuePtrType) ToValuePtrOutputWithContext(ctx context.Context) ValuePtr return pulumi.ToOutputWithContext(ctx, i).(ValuePtrOutput) } +func (i *valuePtrType) ToOutput(ctx context.Context) pulumix.Output[*Value] { + return pulumix.Output[*Value]{ + OutputState: i.ToValuePtrOutputWithContext(ctx).OutputState, + } +} + // Definition of a single value with generic type. type ValueOutput struct{ *pulumi.OutputState } @@ -2944,6 +3455,12 @@ func (o ValueOutput) ToValuePtrOutputWithContext(ctx context.Context) ValuePtrOu }).(ValuePtrOutput) } +func (o ValueOutput) ToOutput(ctx context.Context) pulumix.Output[Value] { + return pulumix.Output[Value]{ + OutputState: o.OutputState, + } +} + func (o ValueOutput) BooleanValue() pulumi.BoolPtrOutput { return o.ApplyT(func(v Value) *bool { return v.BooleanValue }).(pulumi.BoolPtrOutput) } @@ -2982,6 +3499,12 @@ func (o ValuePtrOutput) ToValuePtrOutputWithContext(ctx context.Context) ValuePt return o } +func (o ValuePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Value] { + return pulumix.Output[*Value]{ + OutputState: o.OutputState, + } +} + func (o ValuePtrOutput) Elem() ValueOutput { return o.ApplyT(func(v *Value) Value { if v != nil { @@ -3083,6 +3606,12 @@ func (i ValueFilterArgs) ToValueFilterOutputWithContext(ctx context.Context) Val return pulumi.ToOutputWithContext(ctx, i).(ValueFilterOutput) } +func (i ValueFilterArgs) ToOutput(ctx context.Context) pulumix.Output[ValueFilter] { + return pulumix.Output[ValueFilter]{ + OutputState: i.ToValueFilterOutputWithContext(ctx).OutputState, + } +} + func (i ValueFilterArgs) ToValueFilterPtrOutput() ValueFilterPtrOutput { return i.ToValueFilterPtrOutputWithContext(context.Background()) } @@ -3124,6 +3653,12 @@ func (i *valueFilterPtrType) ToValueFilterPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ValueFilterPtrOutput) } +func (i *valueFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ValueFilter] { + return pulumix.Output[*ValueFilter]{ + OutputState: i.ToValueFilterPtrOutputWithContext(ctx).OutputState, + } +} + type ValueFilterOutput struct{ *pulumi.OutputState } func (ValueFilterOutput) ElementType() reflect.Type { @@ -3148,6 +3683,12 @@ func (o ValueFilterOutput) ToValueFilterPtrOutputWithContext(ctx context.Context }).(ValueFilterPtrOutput) } +func (o ValueFilterOutput) ToOutput(ctx context.Context) pulumix.Output[ValueFilter] { + return pulumix.Output[ValueFilter]{ + OutputState: o.OutputState, + } +} + // The `operator_name` applied to the query, such as *price_greater_than*. The filter can work against both types of filters defined in the schema for your data source: 1. `operator_name`, where the query filters results by the property that matches the value. 2. `greater_than_operator_name` or `less_than_operator_name` in your schema. The query filters the results for the property values that are greater than or less than the supplied value in the query. func (o ValueFilterOutput) OperatorName() pulumi.StringPtrOutput { return o.ApplyT(func(v ValueFilter) *string { return v.OperatorName }).(pulumi.StringPtrOutput) @@ -3172,6 +3713,12 @@ func (o ValueFilterPtrOutput) ToValueFilterPtrOutputWithContext(ctx context.Cont return o } +func (o ValueFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValueFilter] { + return pulumix.Output[*ValueFilter]{ + OutputState: o.OutputState, + } +} + func (o ValueFilterPtrOutput) Elem() ValueFilterOutput { return o.ApplyT(func(v *ValueFilter) ValueFilter { if v != nil { @@ -3223,6 +3770,12 @@ func (o ValueFilterResponseOutput) ToValueFilterResponseOutputWithContext(ctx co return o } +func (o ValueFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValueFilterResponse] { + return pulumix.Output[ValueFilterResponse]{ + OutputState: o.OutputState, + } +} + // The `operator_name` applied to the query, such as *price_greater_than*. The filter can work against both types of filters defined in the schema for your data source: 1. `operator_name`, where the query filters results by the property that matches the value. 2. `greater_than_operator_name` or `less_than_operator_name` in your schema. The query filters the results for the property values that are greater than or less than the supplied value in the query. func (o ValueFilterResponseOutput) OperatorName() pulumi.StringOutput { return o.ApplyT(func(v ValueFilterResponse) string { return v.OperatorName }).(pulumi.StringOutput) @@ -3258,6 +3811,12 @@ func (o ValueResponseOutput) ToValueResponseOutputWithContext(ctx context.Contex return o } +func (o ValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValueResponse] { + return pulumix.Output[ValueResponse]{ + OutputState: o.OutputState, + } +} + func (o ValueResponseOutput) BooleanValue() pulumi.BoolOutput { return o.ApplyT(func(v ValueResponse) bool { return v.BooleanValue }).(pulumi.BoolOutput) } diff --git a/sdk/go/google/cloudsearch/v1/searchApplication.go b/sdk/go/google/cloudsearch/v1/searchApplication.go index f3a5c8d101..484c1f6205 100644 --- a/sdk/go/google/cloudsearch/v1/searchApplication.go +++ b/sdk/go/google/cloudsearch/v1/searchApplication.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a search application. **Note:** This API requires an admin account to execute. @@ -148,6 +149,12 @@ func (i *SearchApplication) ToSearchApplicationOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SearchApplicationOutput) } +func (i *SearchApplication) ToOutput(ctx context.Context) pulumix.Output[*SearchApplication] { + return pulumix.Output[*SearchApplication]{ + OutputState: i.ToSearchApplicationOutputWithContext(ctx).OutputState, + } +} + type SearchApplicationOutput struct{ *pulumi.OutputState } func (SearchApplicationOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o SearchApplicationOutput) ToSearchApplicationOutputWithContext(ctx contex return o } +func (o SearchApplicationOutput) ToOutput(ctx context.Context) pulumix.Output[*SearchApplication] { + return pulumix.Output[*SearchApplication]{ + OutputState: o.OutputState, + } +} + // Retrictions applied to the configurations. The maximum number of elements is 10. func (o SearchApplicationOutput) DataSourceRestrictions() DataSourceRestrictionResponseArrayOutput { return o.ApplyT(func(v *SearchApplication) DataSourceRestrictionResponseArrayOutput { return v.DataSourceRestrictions }).(DataSourceRestrictionResponseArrayOutput) diff --git a/sdk/go/google/cloudsupport/v2beta/case.go b/sdk/go/google/cloudsupport/v2beta/case.go index 2535d1b6a0..01dee3ace1 100644 --- a/sdk/go/google/cloudsupport/v2beta/case.go +++ b/sdk/go/google/cloudsupport/v2beta/case.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new case and associate it with the given Google Cloud Resource. The case object must have the following fields set: `display_name`, `description`, `classification`, and `priority`. @@ -190,6 +191,12 @@ func (i *Case) ToCaseOutputWithContext(ctx context.Context) CaseOutput { return pulumi.ToOutputWithContext(ctx, i).(CaseOutput) } +func (i *Case) ToOutput(ctx context.Context) pulumix.Output[*Case] { + return pulumix.Output[*Case]{ + OutputState: i.ToCaseOutputWithContext(ctx).OutputState, + } +} + type CaseOutput struct{ *pulumi.OutputState } func (CaseOutput) ElementType() reflect.Type { @@ -204,6 +211,12 @@ func (o CaseOutput) ToCaseOutputWithContext(ctx context.Context) CaseOutput { return o } +func (o CaseOutput) ToOutput(ctx context.Context) pulumix.Output[*Case] { + return pulumix.Output[*Case]{ + OutputState: o.OutputState, + } +} + // The issue classification applicable to this case. func (o CaseOutput) Classification() CaseClassificationResponseOutput { return o.ApplyT(func(v *Case) CaseClassificationResponseOutput { return v.Classification }).(CaseClassificationResponseOutput) diff --git a/sdk/go/google/cloudsupport/v2beta/getCase.go b/sdk/go/google/cloudsupport/v2beta/getCase.go index 99a484a41b..28cd3b708b 100644 --- a/sdk/go/google/cloudsupport/v2beta/getCase.go +++ b/sdk/go/google/cloudsupport/v2beta/getCase.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve the specified case. @@ -100,6 +101,12 @@ func (o LookupCaseResultOutput) ToLookupCaseResultOutputWithContext(ctx context. return o } +func (o LookupCaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCaseResult] { + return pulumix.Output[LookupCaseResult]{ + OutputState: o.OutputState, + } +} + // The issue classification applicable to this case. func (o LookupCaseResultOutput) Classification() CaseClassificationResponseOutput { return o.ApplyT(func(v LookupCaseResult) CaseClassificationResponse { return v.Classification }).(CaseClassificationResponseOutput) diff --git a/sdk/go/google/cloudsupport/v2beta/pulumiEnums.go b/sdk/go/google/cloudsupport/v2beta/pulumiEnums.go index 9272f713ef..ffe6ddd42e 100644 --- a/sdk/go/google/cloudsupport/v2beta/pulumiEnums.go +++ b/sdk/go/google/cloudsupport/v2beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The priority of this case. @@ -88,6 +89,12 @@ func (o CasePriorityOutput) ToCasePriorityPtrOutputWithContext(ctx context.Conte }).(CasePriorityPtrOutput) } +func (o CasePriorityOutput) ToOutput(ctx context.Context) pulumix.Output[CasePriority] { + return pulumix.Output[CasePriority]{ + OutputState: o.OutputState, + } +} + func (o CasePriorityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -123,6 +130,12 @@ func (o CasePriorityPtrOutput) ToCasePriorityPtrOutputWithContext(ctx context.Co return o } +func (o CasePriorityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CasePriority] { + return pulumix.Output[*CasePriority]{ + OutputState: o.OutputState, + } +} + func (o CasePriorityPtrOutput) Elem() CasePriorityOutput { return o.ApplyT(func(v *CasePriority) CasePriority { if v != nil { @@ -185,6 +198,12 @@ func (in *casePriorityPtr) ToCasePriorityPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(CasePriorityPtrOutput) } +func (in *casePriorityPtr) ToOutput(ctx context.Context) pulumix.Output[*CasePriority] { + return pulumix.Output[*CasePriority]{ + OutputState: in.ToCasePriorityPtrOutputWithContext(ctx).OutputState, + } +} + // REMOVED. The severity of this case. Use priority instead. type CaseSeverity string @@ -263,6 +282,12 @@ func (o CaseSeverityOutput) ToCaseSeverityPtrOutputWithContext(ctx context.Conte }).(CaseSeverityPtrOutput) } +func (o CaseSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[CaseSeverity] { + return pulumix.Output[CaseSeverity]{ + OutputState: o.OutputState, + } +} + func (o CaseSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -298,6 +323,12 @@ func (o CaseSeverityPtrOutput) ToCaseSeverityPtrOutputWithContext(ctx context.Co return o } +func (o CaseSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CaseSeverity] { + return pulumix.Output[*CaseSeverity]{ + OutputState: o.OutputState, + } +} + func (o CaseSeverityPtrOutput) Elem() CaseSeverityOutput { return o.ApplyT(func(v *CaseSeverity) CaseSeverity { if v != nil { @@ -360,6 +391,12 @@ func (in *caseSeverityPtr) ToCaseSeverityPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(CaseSeverityPtrOutput) } +func (in *caseSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*CaseSeverity] { + return pulumix.Output[*CaseSeverity]{ + OutputState: in.ToCaseSeverityPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*CasePriorityInput)(nil)).Elem(), CasePriority("PRIORITY_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*CasePriorityPtrInput)(nil)).Elem(), CasePriority("PRIORITY_UNSPECIFIED")) diff --git a/sdk/go/google/cloudsupport/v2beta/pulumiTypes.go b/sdk/go/google/cloudsupport/v2beta/pulumiTypes.go index bed8d69020..94a5ddccea 100644 --- a/sdk/go/google/cloudsupport/v2beta/pulumiTypes.go +++ b/sdk/go/google/cloudsupport/v2beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i ActorArgs) ToActorOutputWithContext(ctx context.Context) ActorOutput { return pulumi.ToOutputWithContext(ctx, i).(ActorOutput) } +func (i ActorArgs) ToOutput(ctx context.Context) pulumix.Output[Actor] { + return pulumix.Output[Actor]{ + OutputState: i.ToActorOutputWithContext(ctx).OutputState, + } +} + func (i ActorArgs) ToActorPtrOutput() ActorPtrOutput { return i.ToActorPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *actorPtrType) ToActorPtrOutputWithContext(ctx context.Context) ActorPtr return pulumi.ToOutputWithContext(ctx, i).(ActorPtrOutput) } +func (i *actorPtrType) ToOutput(ctx context.Context) pulumix.Output[*Actor] { + return pulumix.Output[*Actor]{ + OutputState: i.ToActorPtrOutputWithContext(ctx).OutputState, + } +} + // An object containing information about the effective user and authenticated principal responsible for an action. type ActorOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o ActorOutput) ToActorPtrOutputWithContext(ctx context.Context) ActorPtrOu }).(ActorPtrOutput) } +func (o ActorOutput) ToOutput(ctx context.Context) pulumix.Output[Actor] { + return pulumix.Output[Actor]{ + OutputState: o.OutputState, + } +} + // The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent. func (o ActorOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v Actor) *string { return v.DisplayName }).(pulumi.StringPtrOutput) @@ -142,6 +161,12 @@ func (o ActorPtrOutput) ToActorPtrOutputWithContext(ctx context.Context) ActorPt return o } +func (o ActorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Actor] { + return pulumix.Output[*Actor]{ + OutputState: o.OutputState, + } +} + func (o ActorPtrOutput) Elem() ActorOutput { return o.ApplyT(func(v *Actor) Actor { if v != nil { @@ -197,6 +222,12 @@ func (o ActorResponseOutput) ToActorResponseOutputWithContext(ctx context.Contex return o } +func (o ActorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ActorResponse] { + return pulumix.Output[ActorResponse]{ + OutputState: o.OutputState, + } +} + // The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent. func (o ActorResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v ActorResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -251,6 +282,12 @@ func (i CaseClassificationArgs) ToCaseClassificationOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CaseClassificationOutput) } +func (i CaseClassificationArgs) ToOutput(ctx context.Context) pulumix.Output[CaseClassification] { + return pulumix.Output[CaseClassification]{ + OutputState: i.ToCaseClassificationOutputWithContext(ctx).OutputState, + } +} + func (i CaseClassificationArgs) ToCaseClassificationPtrOutput() CaseClassificationPtrOutput { return i.ToCaseClassificationPtrOutputWithContext(context.Background()) } @@ -292,6 +329,12 @@ func (i *caseClassificationPtrType) ToCaseClassificationPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CaseClassificationPtrOutput) } +func (i *caseClassificationPtrType) ToOutput(ctx context.Context) pulumix.Output[*CaseClassification] { + return pulumix.Output[*CaseClassification]{ + OutputState: i.ToCaseClassificationPtrOutputWithContext(ctx).OutputState, + } +} + // A classification object with a product type and value. type CaseClassificationOutput struct{ *pulumi.OutputState } @@ -317,6 +360,12 @@ func (o CaseClassificationOutput) ToCaseClassificationPtrOutputWithContext(ctx c }).(CaseClassificationPtrOutput) } +func (o CaseClassificationOutput) ToOutput(ctx context.Context) pulumix.Output[CaseClassification] { + return pulumix.Output[CaseClassification]{ + OutputState: o.OutputState, + } +} + // The display name of the classification. func (o CaseClassificationOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v CaseClassification) *string { return v.DisplayName }).(pulumi.StringPtrOutput) @@ -341,6 +390,12 @@ func (o CaseClassificationPtrOutput) ToCaseClassificationPtrOutputWithContext(ct return o } +func (o CaseClassificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CaseClassification] { + return pulumix.Output[*CaseClassification]{ + OutputState: o.OutputState, + } +} + func (o CaseClassificationPtrOutput) Elem() CaseClassificationOutput { return o.ApplyT(func(v *CaseClassification) CaseClassification { if v != nil { @@ -392,6 +447,12 @@ func (o CaseClassificationResponseOutput) ToCaseClassificationResponseOutputWith return o } +func (o CaseClassificationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CaseClassificationResponse] { + return pulumix.Output[CaseClassificationResponse]{ + OutputState: o.OutputState, + } +} + // The display name of the classification. func (o CaseClassificationResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v CaseClassificationResponse) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudtasks/v2/getQueue.go b/sdk/go/google/cloudtasks/v2/getQueue.go index 817af718f1..3b36fab5a1 100644 --- a/sdk/go/google/cloudtasks/v2/getQueue.go +++ b/sdk/go/google/cloudtasks/v2/getQueue.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a queue. @@ -82,6 +83,12 @@ func (o LookupQueueResultOutput) ToLookupQueueResultOutputWithContext(ctx contex return o } +func (o LookupQueueResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupQueueResult] { + return pulumix.Output[LookupQueueResult]{ + OutputState: o.OutputState, + } +} + // Overrides for task-level app_engine_routing. These settings apply only to App Engine tasks in this queue. Http tasks are not affected. If set, `app_engine_routing_override` is used for all App Engine tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o LookupQueueResultOutput) AppEngineRoutingOverride() AppEngineRoutingResponseOutput { return o.ApplyT(func(v LookupQueueResult) AppEngineRoutingResponse { return v.AppEngineRoutingOverride }).(AppEngineRoutingResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2/getQueueIamPolicy.go b/sdk/go/google/cloudtasks/v2/getQueueIamPolicy.go index 23c2886ea1..c8d190ffa6 100644 --- a/sdk/go/google/cloudtasks/v2/getQueueIamPolicy.go +++ b/sdk/go/google/cloudtasks/v2/getQueueIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have a policy set. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.getIamPolicy` @@ -74,6 +75,12 @@ func (o LookupQueueIamPolicyResultOutput) ToLookupQueueIamPolicyResultOutputWith return o } +func (o LookupQueueIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupQueueIamPolicyResult] { + return pulumix.Output[LookupQueueIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupQueueIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupQueueIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/cloudtasks/v2/getTask.go b/sdk/go/google/cloudtasks/v2/getTask.go index 0596f2baad..69e982fc37 100644 --- a/sdk/go/google/cloudtasks/v2/getTask.go +++ b/sdk/go/google/cloudtasks/v2/getTask.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a task. @@ -94,6 +95,12 @@ func (o LookupTaskResultOutput) ToLookupTaskResultOutputWithContext(ctx context. return o } +func (o LookupTaskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTaskResult] { + return pulumix.Output[LookupTaskResult]{ + OutputState: o.OutputState, + } +} + // HTTP request that is sent to the App Engine app handler. An App Engine task is a task that has AppEngineHttpRequest set. func (o LookupTaskResultOutput) AppEngineHttpRequest() AppEngineHttpRequestResponseOutput { return o.ApplyT(func(v LookupTaskResult) AppEngineHttpRequestResponse { return v.AppEngineHttpRequest }).(AppEngineHttpRequestResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2/pulumiEnums.go b/sdk/go/google/cloudtasks/v2/pulumiEnums.go index 1f4cc5e8f3..820a4eb402 100644 --- a/sdk/go/google/cloudtasks/v2/pulumiEnums.go +++ b/sdk/go/google/cloudtasks/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The HTTP method to use for the request. The default is POST. The app's request handler for the task's target URL must be able to handle HTTP requests with this http_method, otherwise the task attempt fails with error code 405 (Method Not Allowed). See [Writing a push task request handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled). @@ -92,6 +93,12 @@ func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodPt }).(AppEngineHttpRequestHttpMethodPtrOutput) } +func (o AppEngineHttpRequestHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequestHttpMethod] { + return pulumix.Output[AppEngineHttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpRequestHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -127,6 +134,12 @@ func (o AppEngineHttpRequestHttpMethodPtrOutput) ToAppEngineHttpRequestHttpMetho return o } +func (o AppEngineHttpRequestHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequestHttpMethod] { + return pulumix.Output[*AppEngineHttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpRequestHttpMethodPtrOutput) Elem() AppEngineHttpRequestHttpMethodOutput { return o.ApplyT(func(v *AppEngineHttpRequestHttpMethod) AppEngineHttpRequestHttpMethod { if v != nil { @@ -189,6 +202,12 @@ func (in *appEngineHttpRequestHttpMethodPtr) ToAppEngineHttpRequestHttpMethodPtr return pulumi.ToOutputWithContext(ctx, in).(AppEngineHttpRequestHttpMethodPtrOutput) } +func (in *appEngineHttpRequestHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequestHttpMethod] { + return pulumix.Output[*AppEngineHttpRequestHttpMethod]{ + OutputState: in.ToAppEngineHttpRequestHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP method to use for the request. The default is POST. type HttpRequestHttpMethod string @@ -271,6 +290,12 @@ func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodPtrOutputWithContext }).(HttpRequestHttpMethodPtrOutput) } +func (o HttpRequestHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRequestHttpMethod] { + return pulumix.Output[HttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpRequestHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -306,6 +331,12 @@ func (o HttpRequestHttpMethodPtrOutput) ToHttpRequestHttpMethodPtrOutputWithCont return o } +func (o HttpRequestHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRequestHttpMethod] { + return pulumix.Output[*HttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpRequestHttpMethodPtrOutput) Elem() HttpRequestHttpMethodOutput { return o.ApplyT(func(v *HttpRequestHttpMethod) HttpRequestHttpMethod { if v != nil { @@ -368,6 +399,12 @@ func (in *httpRequestHttpMethodPtr) ToHttpRequestHttpMethodPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(HttpRequestHttpMethodPtrOutput) } +func (in *httpRequestHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*HttpRequestHttpMethod] { + return pulumix.Output[*HttpRequestHttpMethod]{ + OutputState: in.ToHttpRequestHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource. type TaskResponseView string @@ -440,6 +477,12 @@ func (o TaskResponseViewOutput) ToTaskResponseViewPtrOutputWithContext(ctx conte }).(TaskResponseViewPtrOutput) } +func (o TaskResponseViewOutput) ToOutput(ctx context.Context) pulumix.Output[TaskResponseView] { + return pulumix.Output[TaskResponseView]{ + OutputState: o.OutputState, + } +} + func (o TaskResponseViewOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -475,6 +518,12 @@ func (o TaskResponseViewPtrOutput) ToTaskResponseViewPtrOutputWithContext(ctx co return o } +func (o TaskResponseViewPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TaskResponseView] { + return pulumix.Output[*TaskResponseView]{ + OutputState: o.OutputState, + } +} + func (o TaskResponseViewPtrOutput) Elem() TaskResponseViewOutput { return o.ApplyT(func(v *TaskResponseView) TaskResponseView { if v != nil { @@ -537,6 +586,12 @@ func (in *taskResponseViewPtr) ToTaskResponseViewPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(TaskResponseViewPtrOutput) } +func (in *taskResponseViewPtr) ToOutput(ctx context.Context) pulumix.Output[*TaskResponseView] { + return pulumix.Output[*TaskResponseView]{ + OutputState: in.ToTaskResponseViewPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AppEngineHttpRequestHttpMethodInput)(nil)).Elem(), AppEngineHttpRequestHttpMethod("HTTP_METHOD_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AppEngineHttpRequestHttpMethodPtrInput)(nil)).Elem(), AppEngineHttpRequestHttpMethod("HTTP_METHOD_UNSPECIFIED")) diff --git a/sdk/go/google/cloudtasks/v2/pulumiTypes.go b/sdk/go/google/cloudtasks/v2/pulumiTypes.go index c8112ac0d5..b88f8680e5 100644 --- a/sdk/go/google/cloudtasks/v2/pulumiTypes.go +++ b/sdk/go/google/cloudtasks/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -64,6 +65,12 @@ func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpRequestOutput) } +func (i AppEngineHttpRequestArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequest] { + return pulumix.Output[AppEngineHttpRequest]{ + OutputState: i.ToAppEngineHttpRequestOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestPtrOutput() AppEngineHttpRequestPtrOutput { return i.ToAppEngineHttpRequestPtrOutputWithContext(context.Background()) } @@ -105,6 +112,12 @@ func (i *appEngineHttpRequestPtrType) ToAppEngineHttpRequestPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpRequestPtrOutput) } +func (i *appEngineHttpRequestPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequest] { + return pulumix.Output[*AppEngineHttpRequest]{ + OutputState: i.ToAppEngineHttpRequestPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. Using AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform` The task will be delivered to the App Engine app which belongs to the same project as the queue. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and how routing is affected by [dispatch files](https://cloud.google.com/appengine/docs/python/config/dispatchref). Traffic is encrypted during transport and never leaves Google datacenters. Because this traffic is carried over a communication mechanism internal to Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If app_engine_routing_override is set on the queue, this value is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` relative_uri Tasks can be dispatched to secure app handlers, unsecure app handlers, and URIs restricted with [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). Because tasks are not run as any user, they cannot be dispatched to URIs restricted with [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) Task dispatches also do not follow redirects. The task attempt has succeeded if the app's request handler returns an HTTP response code in the range [`200` - `299`]. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. `503` (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a `429` (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue. type AppEngineHttpRequestOutput struct{ *pulumi.OutputState } @@ -130,6 +143,12 @@ func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestPtrOutputWithContext(c }).(AppEngineHttpRequestPtrOutput) } +func (o AppEngineHttpRequestOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequest] { + return pulumix.Output[AppEngineHttpRequest]{ + OutputState: o.OutputState, + } +} + // Task-level setting for App Engine routing. * If app_engine_routing_override is set on the queue, this value is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o AppEngineHttpRequestOutput) AppEngineRouting() AppEngineRoutingPtrOutput { return o.ApplyT(func(v AppEngineHttpRequest) *AppEngineRouting { return v.AppEngineRouting }).(AppEngineRoutingPtrOutput) @@ -169,6 +188,12 @@ func (o AppEngineHttpRequestPtrOutput) ToAppEngineHttpRequestPtrOutputWithContex return o } +func (o AppEngineHttpRequestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequest] { + return pulumix.Output[*AppEngineHttpRequest]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpRequestPtrOutput) Elem() AppEngineHttpRequestOutput { return o.ApplyT(func(v *AppEngineHttpRequest) AppEngineHttpRequest { if v != nil { @@ -258,6 +283,12 @@ func (o AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutput return o } +func (o AppEngineHttpRequestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequestResponse] { + return pulumix.Output[AppEngineHttpRequestResponse]{ + OutputState: o.OutputState, + } +} + // Task-level setting for App Engine routing. * If app_engine_routing_override is set on the queue, this value is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o AppEngineHttpRequestResponseOutput) AppEngineRouting() AppEngineRoutingResponseOutput { return o.ApplyT(func(v AppEngineHttpRequestResponse) AppEngineRoutingResponse { return v.AppEngineRouting }).(AppEngineRoutingResponseOutput) @@ -326,6 +357,12 @@ func (i AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AppEngineRoutingOutput) } +func (i AppEngineRoutingArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineRouting] { + return pulumix.Output[AppEngineRouting]{ + OutputState: i.ToAppEngineRoutingOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput { return i.ToAppEngineRoutingPtrOutputWithContext(context.Background()) } @@ -367,6 +404,12 @@ func (i *appEngineRoutingPtrType) ToAppEngineRoutingPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AppEngineRoutingPtrOutput) } +func (i *appEngineRoutingPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineRouting] { + return pulumix.Output[*AppEngineRouting]{ + OutputState: i.ToAppEngineRoutingPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine Routing. Defines routing characteristics specific to App Engine - service, version, and instance. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). Using AppEngineRouting requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform` type AppEngineRoutingOutput struct{ *pulumi.OutputState } @@ -392,6 +435,12 @@ func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutputWithContext(ctx conte }).(AppEngineRoutingPtrOutput) } +func (o AppEngineRoutingOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineRouting] { + return pulumix.Output[AppEngineRouting]{ + OutputState: o.OutputState, + } +} + // App instance. By default, the task is sent to an instance which is available when the task is attempted. Requests can only be sent to a specific instance if [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). App Engine Flex does not support instances. For more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). func (o AppEngineRoutingOutput) Instance() pulumi.StringPtrOutput { return o.ApplyT(func(v AppEngineRouting) *string { return v.Instance }).(pulumi.StringPtrOutput) @@ -421,6 +470,12 @@ func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutputWithContext(ctx co return o } +func (o AppEngineRoutingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineRouting] { + return pulumix.Output[*AppEngineRouting]{ + OutputState: o.OutputState, + } +} + func (o AppEngineRoutingPtrOutput) Elem() AppEngineRoutingOutput { return o.ApplyT(func(v *AppEngineRouting) AppEngineRouting { if v != nil { @@ -488,6 +543,12 @@ func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutputWithCont return o } +func (o AppEngineRoutingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineRoutingResponse] { + return pulumix.Output[AppEngineRoutingResponse]{ + OutputState: o.OutputState, + } +} + // The host that the task is sent to. The host is constructed from the domain name of the app associated with the queue's project ID (for example .appspot.com), and the service, version, and instance. Tasks which were created using the App Engine SDK might have a custom domain name. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). func (o AppEngineRoutingResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v AppEngineRoutingResponse) string { return v.Host }).(pulumi.StringOutput) @@ -535,6 +596,12 @@ func (o AttemptResponseOutput) ToAttemptResponseOutputWithContext(ctx context.Co return o } +func (o AttemptResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttemptResponse] { + return pulumix.Output[AttemptResponse]{ + OutputState: o.OutputState, + } +} + // The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond. func (o AttemptResponseOutput) DispatchTime() pulumi.StringOutput { return o.ApplyT(func(v AttemptResponse) string { return v.DispatchTime }).(pulumi.StringOutput) @@ -598,6 +665,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -623,6 +696,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -638,6 +717,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -667,6 +752,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -698,6 +789,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -727,6 +824,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -780,6 +883,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -821,6 +930,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -846,6 +961,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -880,6 +1001,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -957,6 +1084,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1032,6 +1165,12 @@ func (i HttpRequestArgs) ToHttpRequestOutputWithContext(ctx context.Context) Htt return pulumi.ToOutputWithContext(ctx, i).(HttpRequestOutput) } +func (i HttpRequestArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRequest] { + return pulumix.Output[HttpRequest]{ + OutputState: i.ToHttpRequestOutputWithContext(ctx).OutputState, + } +} + func (i HttpRequestArgs) ToHttpRequestPtrOutput() HttpRequestPtrOutput { return i.ToHttpRequestPtrOutputWithContext(context.Background()) } @@ -1073,6 +1212,12 @@ func (i *httpRequestPtrType) ToHttpRequestPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(HttpRequestPtrOutput) } +func (i *httpRequestPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRequest] { + return pulumix.Output[*HttpRequest]{ + OutputState: i.ToHttpRequestPtrOutputWithContext(ctx).OutputState, + } +} + // HTTP request. The task will be pushed to the worker as an HTTP request. If the worker or the redirected worker acknowledges the task by returning a successful HTTP response code ([`200` - `299`]), the task will be removed from the queue. If any other HTTP response code is returned or no response is received, the task will be retried according to the following: * User-specified throttling: retry configuration, rate limits, and the queue's state. * System throttling: To prevent the worker from overloading, Cloud Tasks may temporarily reduce the queue's effective rate. User-specified settings will not be changed. System throttling happens because: * Cloud Tasks backs off on all errors. Normally the backoff specified in rate limits will be used. But if the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or the rate of errors is high, Cloud Tasks will use a higher backoff rate. The retry specified in the `Retry-After` HTTP response header is considered. * To prevent traffic spikes and to smooth sudden increases in traffic, dispatches ramp up slowly when the queue is newly created or idle and if large numbers of tasks suddenly become available to dispatch (due to spikes in create task rates, the queue being unpaused, or many tasks that are scheduled at the same time). type HttpRequestOutput struct{ *pulumi.OutputState } @@ -1098,6 +1243,12 @@ func (o HttpRequestOutput) ToHttpRequestPtrOutputWithContext(ctx context.Context }).(HttpRequestPtrOutput) } +func (o HttpRequestOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRequest] { + return pulumix.Output[HttpRequest]{ + OutputState: o.OutputState, + } +} + // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod. func (o HttpRequestOutput) Body() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRequest) *string { return v.Body }).(pulumi.StringPtrOutput) @@ -1142,6 +1293,12 @@ func (o HttpRequestPtrOutput) ToHttpRequestPtrOutputWithContext(ctx context.Cont return o } +func (o HttpRequestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRequest] { + return pulumix.Output[*HttpRequest]{ + OutputState: o.OutputState, + } +} + func (o HttpRequestPtrOutput) Elem() HttpRequestOutput { return o.ApplyT(func(v *HttpRequest) HttpRequest { if v != nil { @@ -1243,6 +1400,12 @@ func (o HttpRequestResponseOutput) ToHttpRequestResponseOutputWithContext(ctx co return o } +func (o HttpRequestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRequestResponse] { + return pulumix.Output[HttpRequestResponse]{ + OutputState: o.OutputState, + } +} + // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod. func (o HttpRequestResponseOutput) Body() pulumi.StringOutput { return o.ApplyT(func(v HttpRequestResponse) string { return v.Body }).(pulumi.StringOutput) @@ -1312,6 +1475,12 @@ func (i OAuthTokenArgs) ToOAuthTokenOutputWithContext(ctx context.Context) OAuth return pulumi.ToOutputWithContext(ctx, i).(OAuthTokenOutput) } +func (i OAuthTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OAuthToken] { + return pulumix.Output[OAuthToken]{ + OutputState: i.ToOAuthTokenOutputWithContext(ctx).OutputState, + } +} + func (i OAuthTokenArgs) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput { return i.ToOAuthTokenPtrOutputWithContext(context.Background()) } @@ -1353,6 +1522,12 @@ func (i *oauthTokenPtrType) ToOAuthTokenPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(OAuthTokenPtrOutput) } +func (i *oauthTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OAuthToken] { + return pulumix.Output[*OAuthToken]{ + OutputState: i.ToOAuthTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com. type OAuthTokenOutput struct{ *pulumi.OutputState } @@ -1378,6 +1553,12 @@ func (o OAuthTokenOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Context) }).(OAuthTokenPtrOutput) } +func (o OAuthTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthToken] { + return pulumix.Output[OAuthToken]{ + OutputState: o.OutputState, + } +} + // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. func (o OAuthTokenOutput) Scope() pulumi.StringPtrOutput { return o.ApplyT(func(v OAuthToken) *string { return v.Scope }).(pulumi.StringPtrOutput) @@ -1402,6 +1583,12 @@ func (o OAuthTokenPtrOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Contex return o } +func (o OAuthTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OAuthToken] { + return pulumix.Output[*OAuthToken]{ + OutputState: o.OutputState, + } +} + func (o OAuthTokenPtrOutput) Elem() OAuthTokenOutput { return o.ApplyT(func(v *OAuthToken) OAuthToken { if v != nil { @@ -1455,6 +1642,12 @@ func (o OAuthTokenResponseOutput) ToOAuthTokenResponseOutputWithContext(ctx cont return o } +func (o OAuthTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthTokenResponse] { + return pulumix.Output[OAuthTokenResponse]{ + OutputState: o.OutputState, + } +} + // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. func (o OAuthTokenResponseOutput) Scope() pulumi.StringOutput { return o.ApplyT(func(v OAuthTokenResponse) string { return v.Scope }).(pulumi.StringOutput) @@ -1504,6 +1697,12 @@ func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTok return pulumi.ToOutputWithContext(ctx, i).(OidcTokenOutput) } +func (i OidcTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: i.ToOidcTokenOutputWithContext(ctx).OutputState, + } +} + func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput { return i.ToOidcTokenPtrOutputWithContext(context.Background()) } @@ -1545,6 +1744,12 @@ func (i *oidcTokenPtrType) ToOidcTokenPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OidcTokenPtrOutput) } +func (i *oidcTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: i.ToOidcTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. type OidcTokenOutput struct{ *pulumi.OutputState } @@ -1570,6 +1775,12 @@ func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) Oi }).(OidcTokenPtrOutput) } +func (o OidcTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput { return o.ApplyT(func(v OidcToken) *string { return v.Audience }).(pulumi.StringPtrOutput) @@ -1594,6 +1805,12 @@ func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) return o } +func (o OidcTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: o.OutputState, + } +} + func (o OidcTokenPtrOutput) Elem() OidcTokenOutput { return o.ApplyT(func(v *OidcToken) OidcToken { if v != nil { @@ -1647,6 +1864,12 @@ func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx contex return o } +func (o OidcTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OidcTokenResponse] { + return pulumix.Output[OidcTokenResponse]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput { return o.ApplyT(func(v OidcTokenResponse) string { return v.Audience }).(pulumi.StringOutput) @@ -1696,6 +1919,12 @@ func (i RateLimitsArgs) ToRateLimitsOutputWithContext(ctx context.Context) RateL return pulumi.ToOutputWithContext(ctx, i).(RateLimitsOutput) } +func (i RateLimitsArgs) ToOutput(ctx context.Context) pulumix.Output[RateLimits] { + return pulumix.Output[RateLimits]{ + OutputState: i.ToRateLimitsOutputWithContext(ctx).OutputState, + } +} + func (i RateLimitsArgs) ToRateLimitsPtrOutput() RateLimitsPtrOutput { return i.ToRateLimitsPtrOutputWithContext(context.Background()) } @@ -1737,6 +1966,12 @@ func (i *rateLimitsPtrType) ToRateLimitsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RateLimitsPtrOutput) } +func (i *rateLimitsPtrType) ToOutput(ctx context.Context) pulumix.Output[*RateLimits] { + return pulumix.Output[*RateLimits]{ + OutputState: i.ToRateLimitsPtrOutputWithContext(ctx).OutputState, + } +} + // Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits. type RateLimitsOutput struct{ *pulumi.OutputState } @@ -1762,6 +1997,12 @@ func (o RateLimitsOutput) ToRateLimitsPtrOutputWithContext(ctx context.Context) }).(RateLimitsPtrOutput) } +func (o RateLimitsOutput) ToOutput(ctx context.Context) pulumix.Output[RateLimits] { + return pulumix.Output[RateLimits]{ + OutputState: o.OutputState, + } +} + // The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field has the same meaning as [max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). func (o RateLimitsOutput) MaxConcurrentDispatches() pulumi.IntPtrOutput { return o.ApplyT(func(v RateLimits) *int { return v.MaxConcurrentDispatches }).(pulumi.IntPtrOutput) @@ -1786,6 +2027,12 @@ func (o RateLimitsPtrOutput) ToRateLimitsPtrOutputWithContext(ctx context.Contex return o } +func (o RateLimitsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RateLimits] { + return pulumix.Output[*RateLimits]{ + OutputState: o.OutputState, + } +} + func (o RateLimitsPtrOutput) Elem() RateLimitsOutput { return o.ApplyT(func(v *RateLimits) RateLimits { if v != nil { @@ -1841,6 +2088,12 @@ func (o RateLimitsResponseOutput) ToRateLimitsResponseOutputWithContext(ctx cont return o } +func (o RateLimitsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RateLimitsResponse] { + return pulumix.Output[RateLimitsResponse]{ + OutputState: o.OutputState, + } +} + // The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on max_dispatches_per_second. Cloud Tasks will pick the value of `max_burst_size` based on the value of max_dispatches_per_second. For queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). Since `max_burst_size` is output only, if UpdateQueue is called on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset based on the value of max_dispatches_per_second, regardless of whether max_dispatches_per_second is updated. func (o RateLimitsResponseOutput) MaxBurstSize() pulumi.IntOutput { return o.ApplyT(func(v RateLimitsResponse) int { return v.MaxBurstSize }).(pulumi.IntOutput) @@ -1907,6 +2160,12 @@ func (i RetryConfigArgs) ToRetryConfigOutputWithContext(ctx context.Context) Ret return pulumi.ToOutputWithContext(ctx, i).(RetryConfigOutput) } +func (i RetryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RetryConfig] { + return pulumix.Output[RetryConfig]{ + OutputState: i.ToRetryConfigOutputWithContext(ctx).OutputState, + } +} + func (i RetryConfigArgs) ToRetryConfigPtrOutput() RetryConfigPtrOutput { return i.ToRetryConfigPtrOutputWithContext(context.Background()) } @@ -1948,6 +2207,12 @@ func (i *retryConfigPtrType) ToRetryConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RetryConfigPtrOutput) } +func (i *retryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RetryConfig] { + return pulumix.Output[*RetryConfig]{ + OutputState: i.ToRetryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Retry config. These settings determine when a failed task attempt is retried. type RetryConfigOutput struct{ *pulumi.OutputState } @@ -1973,6 +2238,12 @@ func (o RetryConfigOutput) ToRetryConfigPtrOutputWithContext(ctx context.Context }).(RetryConfigPtrOutput) } +func (o RetryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RetryConfig] { + return pulumix.Output[RetryConfig]{ + OutputState: o.OutputState, + } +} + // Number of attempts per task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). func (o RetryConfigOutput) MaxAttempts() pulumi.IntPtrOutput { return o.ApplyT(func(v RetryConfig) *int { return v.MaxAttempts }).(pulumi.IntPtrOutput) @@ -2012,6 +2283,12 @@ func (o RetryConfigPtrOutput) ToRetryConfigPtrOutputWithContext(ctx context.Cont return o } +func (o RetryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RetryConfig] { + return pulumix.Output[*RetryConfig]{ + OutputState: o.OutputState, + } +} + func (o RetryConfigPtrOutput) Elem() RetryConfigOutput { return o.ApplyT(func(v *RetryConfig) RetryConfig { if v != nil { @@ -2101,6 +2378,12 @@ func (o RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext(ctx co return o } +func (o RetryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RetryConfigResponse] { + return pulumix.Output[RetryConfigResponse]{ + OutputState: o.OutputState, + } +} + // Number of attempts per task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). func (o RetryConfigResponseOutput) MaxAttempts() pulumi.IntOutput { return o.ApplyT(func(v RetryConfigResponse) int { return v.MaxAttempts }).(pulumi.IntOutput) @@ -2161,6 +2444,12 @@ func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(StackdriverLoggingConfigOutput) } +func (i StackdriverLoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[StackdriverLoggingConfig] { + return pulumix.Output[StackdriverLoggingConfig]{ + OutputState: i.ToStackdriverLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigPtrOutput() StackdriverLoggingConfigPtrOutput { return i.ToStackdriverLoggingConfigPtrOutputWithContext(context.Background()) } @@ -2202,6 +2491,12 @@ func (i *stackdriverLoggingConfigPtrType) ToStackdriverLoggingConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(StackdriverLoggingConfigPtrOutput) } +func (i *stackdriverLoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackdriverLoggingConfig] { + return pulumix.Output[*StackdriverLoggingConfig]{ + OutputState: i.ToStackdriverLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). type StackdriverLoggingConfigOutput struct{ *pulumi.OutputState } @@ -2227,6 +2522,12 @@ func (o StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigPtrOutputWithC }).(StackdriverLoggingConfigPtrOutput) } +func (o StackdriverLoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[StackdriverLoggingConfig] { + return pulumix.Output[StackdriverLoggingConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged. func (o StackdriverLoggingConfigOutput) SamplingRatio() pulumi.Float64PtrOutput { return o.ApplyT(func(v StackdriverLoggingConfig) *float64 { return v.SamplingRatio }).(pulumi.Float64PtrOutput) @@ -2246,6 +2547,12 @@ func (o StackdriverLoggingConfigPtrOutput) ToStackdriverLoggingConfigPtrOutputWi return o } +func (o StackdriverLoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackdriverLoggingConfig] { + return pulumix.Output[*StackdriverLoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o StackdriverLoggingConfigPtrOutput) Elem() StackdriverLoggingConfigOutput { return o.ApplyT(func(v *StackdriverLoggingConfig) StackdriverLoggingConfig { if v != nil { @@ -2287,6 +2594,12 @@ func (o StackdriverLoggingConfigResponseOutput) ToStackdriverLoggingConfigRespon return o } +func (o StackdriverLoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StackdriverLoggingConfigResponse] { + return pulumix.Output[StackdriverLoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged. func (o StackdriverLoggingConfigResponseOutput) SamplingRatio() pulumi.Float64Output { return o.ApplyT(func(v StackdriverLoggingConfigResponse) float64 { return v.SamplingRatio }).(pulumi.Float64Output) @@ -2317,6 +2630,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/cloudtasks/v2/queue.go b/sdk/go/google/cloudtasks/v2/queue.go index 9d2bd95755..d8ece2e22f 100644 --- a/sdk/go/google/cloudtasks/v2/queue.go +++ b/sdk/go/google/cloudtasks/v2/queue.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a queue. Queues created with this method allow tasks to live for a maximum of 31 days. After a task is 31 days old, the task will be deleted regardless of whether it was dispatched or not. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method. @@ -131,6 +132,12 @@ func (i *Queue) ToQueueOutputWithContext(ctx context.Context) QueueOutput { return pulumi.ToOutputWithContext(ctx, i).(QueueOutput) } +func (i *Queue) ToOutput(ctx context.Context) pulumix.Output[*Queue] { + return pulumix.Output[*Queue]{ + OutputState: i.ToQueueOutputWithContext(ctx).OutputState, + } +} + type QueueOutput struct{ *pulumi.OutputState } func (QueueOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput { return o } +func (o QueueOutput) ToOutput(ctx context.Context) pulumix.Output[*Queue] { + return pulumix.Output[*Queue]{ + OutputState: o.OutputState, + } +} + // Overrides for task-level app_engine_routing. These settings apply only to App Engine tasks in this queue. Http tasks are not affected. If set, `app_engine_routing_override` is used for all App Engine tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o QueueOutput) AppEngineRoutingOverride() AppEngineRoutingResponseOutput { return o.ApplyT(func(v *Queue) AppEngineRoutingResponseOutput { return v.AppEngineRoutingOverride }).(AppEngineRoutingResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2/queueIamBinding.go b/sdk/go/google/cloudtasks/v2/queueIamBinding.go index 6383c3af99..4c28a1e9e3 100644 --- a/sdk/go/google/cloudtasks/v2/queueIamBinding.go +++ b/sdk/go/google/cloudtasks/v2/queueIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy` @@ -135,6 +136,12 @@ func (i *QueueIamBinding) ToQueueIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(QueueIamBindingOutput) } +func (i *QueueIamBinding) ToOutput(ctx context.Context) pulumix.Output[*QueueIamBinding] { + return pulumix.Output[*QueueIamBinding]{ + OutputState: i.ToQueueIamBindingOutputWithContext(ctx).OutputState, + } +} + type QueueIamBindingOutput struct{ *pulumi.OutputState } func (QueueIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o QueueIamBindingOutput) ToQueueIamBindingOutputWithContext(ctx context.Co return o } +func (o QueueIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueIamBinding] { + return pulumix.Output[*QueueIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o QueueIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *QueueIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudtasks/v2/queueIamMember.go b/sdk/go/google/cloudtasks/v2/queueIamMember.go index 8ad8ed1956..f9fe842925 100644 --- a/sdk/go/google/cloudtasks/v2/queueIamMember.go +++ b/sdk/go/google/cloudtasks/v2/queueIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy` @@ -135,6 +136,12 @@ func (i *QueueIamMember) ToQueueIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueueIamMemberOutput) } +func (i *QueueIamMember) ToOutput(ctx context.Context) pulumix.Output[*QueueIamMember] { + return pulumix.Output[*QueueIamMember]{ + OutputState: i.ToQueueIamMemberOutputWithContext(ctx).OutputState, + } +} + type QueueIamMemberOutput struct{ *pulumi.OutputState } func (QueueIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o QueueIamMemberOutput) ToQueueIamMemberOutputWithContext(ctx context.Cont return o } +func (o QueueIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueIamMember] { + return pulumix.Output[*QueueIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o QueueIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *QueueIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudtasks/v2/queueIamPolicy.go b/sdk/go/google/cloudtasks/v2/queueIamPolicy.go index bd22326296..12c1881afb 100644 --- a/sdk/go/google/cloudtasks/v2/queueIamPolicy.go +++ b/sdk/go/google/cloudtasks/v2/queueIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy` @@ -125,6 +126,12 @@ func (i *QueueIamPolicy) ToQueueIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueueIamPolicyOutput) } +func (i *QueueIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*QueueIamPolicy] { + return pulumix.Output[*QueueIamPolicy]{ + OutputState: i.ToQueueIamPolicyOutputWithContext(ctx).OutputState, + } +} + type QueueIamPolicyOutput struct{ *pulumi.OutputState } func (QueueIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o QueueIamPolicyOutput) ToQueueIamPolicyOutputWithContext(ctx context.Cont return o } +func (o QueueIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueIamPolicy] { + return pulumix.Output[*QueueIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o QueueIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *QueueIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/cloudtasks/v2/task.go b/sdk/go/google/cloudtasks/v2/task.go index 7ccc0acefc..932fd88146 100644 --- a/sdk/go/google/cloudtasks/v2/task.go +++ b/sdk/go/google/cloudtasks/v2/task.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a task and adds it to a queue. Tasks cannot be updated after creation; there is no UpdateTask command. * The maximum task size is 100KB. @@ -151,6 +152,12 @@ func (i *Task) ToTaskOutputWithContext(ctx context.Context) TaskOutput { return pulumi.ToOutputWithContext(ctx, i).(TaskOutput) } +func (i *Task) ToOutput(ctx context.Context) pulumix.Output[*Task] { + return pulumix.Output[*Task]{ + OutputState: i.ToTaskOutputWithContext(ctx).OutputState, + } +} + type TaskOutput struct{ *pulumi.OutputState } func (TaskOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o TaskOutput) ToTaskOutputWithContext(ctx context.Context) TaskOutput { return o } +func (o TaskOutput) ToOutput(ctx context.Context) pulumix.Output[*Task] { + return pulumix.Output[*Task]{ + OutputState: o.OutputState, + } +} + // HTTP request that is sent to the App Engine app handler. An App Engine task is a task that has AppEngineHttpRequest set. func (o TaskOutput) AppEngineHttpRequest() AppEngineHttpRequestResponseOutput { return o.ApplyT(func(v *Task) AppEngineHttpRequestResponseOutput { return v.AppEngineHttpRequest }).(AppEngineHttpRequestResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2beta2/getQueue.go b/sdk/go/google/cloudtasks/v2beta2/getQueue.go index a3d10dbaab..8d3fb6a3e9 100644 --- a/sdk/go/google/cloudtasks/v2beta2/getQueue.go +++ b/sdk/go/google/cloudtasks/v2beta2/getQueue.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a queue. @@ -92,6 +93,12 @@ func (o LookupQueueResultOutput) ToLookupQueueResultOutputWithContext(ctx contex return o } +func (o LookupQueueResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupQueueResult] { + return pulumix.Output[LookupQueueResult]{ + OutputState: o.OutputState, + } +} + // App Engine HTTP target. An App Engine queue is a queue that has an AppEngineHttpTarget. func (o LookupQueueResultOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput { return o.ApplyT(func(v LookupQueueResult) AppEngineHttpTargetResponse { return v.AppEngineHttpTarget }).(AppEngineHttpTargetResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2beta2/getQueueIamPolicy.go b/sdk/go/google/cloudtasks/v2beta2/getQueueIamPolicy.go index daee826474..8d3ab9101c 100644 --- a/sdk/go/google/cloudtasks/v2beta2/getQueueIamPolicy.go +++ b/sdk/go/google/cloudtasks/v2beta2/getQueueIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have a policy set. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.getIamPolicy` @@ -74,6 +75,12 @@ func (o LookupQueueIamPolicyResultOutput) ToLookupQueueIamPolicyResultOutputWith return o } +func (o LookupQueueIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupQueueIamPolicyResult] { + return pulumix.Output[LookupQueueIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupQueueIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupQueueIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/cloudtasks/v2beta2/getTask.go b/sdk/go/google/cloudtasks/v2beta2/getTask.go index 663e211c4f..0859fc1976 100644 --- a/sdk/go/google/cloudtasks/v2beta2/getTask.go +++ b/sdk/go/google/cloudtasks/v2beta2/getTask.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a task. @@ -88,6 +89,12 @@ func (o LookupTaskResultOutput) ToLookupTaskResultOutputWithContext(ctx context. return o } +func (o LookupTaskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTaskResult] { + return pulumix.Output[LookupTaskResult]{ + OutputState: o.OutputState, + } +} + // App Engine HTTP request that is sent to the task's target. Can be set only if app_engine_http_target is set on the queue. An App Engine task is a task that has AppEngineHttpRequest set. func (o LookupTaskResultOutput) AppEngineHttpRequest() AppEngineHttpRequestResponseOutput { return o.ApplyT(func(v LookupTaskResult) AppEngineHttpRequestResponse { return v.AppEngineHttpRequest }).(AppEngineHttpRequestResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2beta2/pulumiEnums.go b/sdk/go/google/cloudtasks/v2beta2/pulumiEnums.go index 4c281bb64b..ee5e9ddebd 100644 --- a/sdk/go/google/cloudtasks/v2beta2/pulumiEnums.go +++ b/sdk/go/google/cloudtasks/v2beta2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The HTTP method to use for the request. The default is POST. The app's request handler for the task's target URL must be able to handle HTTP requests with this http_method, otherwise the task attempt fails with error code 405 (Method Not Allowed). See [Writing a push task request handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled). @@ -92,6 +93,12 @@ func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodPt }).(AppEngineHttpRequestHttpMethodPtrOutput) } +func (o AppEngineHttpRequestHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequestHttpMethod] { + return pulumix.Output[AppEngineHttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpRequestHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -127,6 +134,12 @@ func (o AppEngineHttpRequestHttpMethodPtrOutput) ToAppEngineHttpRequestHttpMetho return o } +func (o AppEngineHttpRequestHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequestHttpMethod] { + return pulumix.Output[*AppEngineHttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpRequestHttpMethodPtrOutput) Elem() AppEngineHttpRequestHttpMethodOutput { return o.ApplyT(func(v *AppEngineHttpRequestHttpMethod) AppEngineHttpRequestHttpMethod { if v != nil { @@ -189,6 +202,12 @@ func (in *appEngineHttpRequestHttpMethodPtr) ToAppEngineHttpRequestHttpMethodPtr return pulumi.ToOutputWithContext(ctx, in).(AppEngineHttpRequestHttpMethodPtrOutput) } +func (in *appEngineHttpRequestHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequestHttpMethod] { + return pulumix.Output[*AppEngineHttpRequestHttpMethod]{ + OutputState: in.ToAppEngineHttpRequestHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP method to use for the request. The default is POST. type HttpRequestHttpMethod string @@ -271,6 +290,12 @@ func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodPtrOutputWithContext }).(HttpRequestHttpMethodPtrOutput) } +func (o HttpRequestHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRequestHttpMethod] { + return pulumix.Output[HttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpRequestHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -306,6 +331,12 @@ func (o HttpRequestHttpMethodPtrOutput) ToHttpRequestHttpMethodPtrOutputWithCont return o } +func (o HttpRequestHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRequestHttpMethod] { + return pulumix.Output[*HttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpRequestHttpMethodPtrOutput) Elem() HttpRequestHttpMethodOutput { return o.ApplyT(func(v *HttpRequestHttpMethod) HttpRequestHttpMethod { if v != nil { @@ -368,6 +399,12 @@ func (in *httpRequestHttpMethodPtr) ToHttpRequestHttpMethodPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(HttpRequestHttpMethodPtrOutput) } +func (in *httpRequestHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*HttpRequestHttpMethod] { + return pulumix.Output[*HttpRequestHttpMethod]{ + OutputState: in.ToHttpRequestHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP method to use for the request. When specified, it overrides HttpRequest for the task. Note that if the value is set to HttpMethod the HttpRequest of the task will be ignored at execution time. type HttpTargetHttpMethod string @@ -450,6 +487,12 @@ func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodPtrOutputWithContext(c }).(HttpTargetHttpMethodPtrOutput) } +func (o HttpTargetHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTargetHttpMethod] { + return pulumix.Output[HttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -485,6 +528,12 @@ func (o HttpTargetHttpMethodPtrOutput) ToHttpTargetHttpMethodPtrOutputWithContex return o } +func (o HttpTargetHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpTargetHttpMethod] { + return pulumix.Output[*HttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetHttpMethodPtrOutput) Elem() HttpTargetHttpMethodOutput { return o.ApplyT(func(v *HttpTargetHttpMethod) HttpTargetHttpMethod { if v != nil { @@ -547,6 +596,12 @@ func (in *httpTargetHttpMethodPtr) ToHttpTargetHttpMethodPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(HttpTargetHttpMethodPtrOutput) } +func (in *httpTargetHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*HttpTargetHttpMethod] { + return pulumix.Output[*HttpTargetHttpMethod]{ + OutputState: in.ToHttpTargetHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource. type TaskResponseView string @@ -619,6 +674,12 @@ func (o TaskResponseViewOutput) ToTaskResponseViewPtrOutputWithContext(ctx conte }).(TaskResponseViewPtrOutput) } +func (o TaskResponseViewOutput) ToOutput(ctx context.Context) pulumix.Output[TaskResponseView] { + return pulumix.Output[TaskResponseView]{ + OutputState: o.OutputState, + } +} + func (o TaskResponseViewOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -654,6 +715,12 @@ func (o TaskResponseViewPtrOutput) ToTaskResponseViewPtrOutputWithContext(ctx co return o } +func (o TaskResponseViewPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TaskResponseView] { + return pulumix.Output[*TaskResponseView]{ + OutputState: o.OutputState, + } +} + func (o TaskResponseViewPtrOutput) Elem() TaskResponseViewOutput { return o.ApplyT(func(v *TaskResponseView) TaskResponseView { if v != nil { @@ -716,6 +783,12 @@ func (in *taskResponseViewPtr) ToTaskResponseViewPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(TaskResponseViewPtrOutput) } +func (in *taskResponseViewPtr) ToOutput(ctx context.Context) pulumix.Output[*TaskResponseView] { + return pulumix.Output[*TaskResponseView]{ + OutputState: in.ToTaskResponseViewPtrOutputWithContext(ctx).OutputState, + } +} + // Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS). type UriOverrideScheme string @@ -788,6 +861,12 @@ func (o UriOverrideSchemeOutput) ToUriOverrideSchemePtrOutputWithContext(ctx con }).(UriOverrideSchemePtrOutput) } +func (o UriOverrideSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[UriOverrideScheme] { + return pulumix.Output[UriOverrideScheme]{ + OutputState: o.OutputState, + } +} + func (o UriOverrideSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -823,6 +902,12 @@ func (o UriOverrideSchemePtrOutput) ToUriOverrideSchemePtrOutputWithContext(ctx return o } +func (o UriOverrideSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UriOverrideScheme] { + return pulumix.Output[*UriOverrideScheme]{ + OutputState: o.OutputState, + } +} + func (o UriOverrideSchemePtrOutput) Elem() UriOverrideSchemeOutput { return o.ApplyT(func(v *UriOverrideScheme) UriOverrideScheme { if v != nil { @@ -885,6 +970,12 @@ func (in *uriOverrideSchemePtr) ToUriOverrideSchemePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(UriOverrideSchemePtrOutput) } +func (in *uriOverrideSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*UriOverrideScheme] { + return pulumix.Output[*UriOverrideScheme]{ + OutputState: in.ToUriOverrideSchemePtrOutputWithContext(ctx).OutputState, + } +} + // URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS. type UriOverrideUriOverrideEnforceMode string @@ -957,6 +1048,12 @@ func (o UriOverrideUriOverrideEnforceModeOutput) ToUriOverrideUriOverrideEnforce }).(UriOverrideUriOverrideEnforceModePtrOutput) } +func (o UriOverrideUriOverrideEnforceModeOutput) ToOutput(ctx context.Context) pulumix.Output[UriOverrideUriOverrideEnforceMode] { + return pulumix.Output[UriOverrideUriOverrideEnforceMode]{ + OutputState: o.OutputState, + } +} + func (o UriOverrideUriOverrideEnforceModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -992,6 +1089,12 @@ func (o UriOverrideUriOverrideEnforceModePtrOutput) ToUriOverrideUriOverrideEnfo return o } +func (o UriOverrideUriOverrideEnforceModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UriOverrideUriOverrideEnforceMode] { + return pulumix.Output[*UriOverrideUriOverrideEnforceMode]{ + OutputState: o.OutputState, + } +} + func (o UriOverrideUriOverrideEnforceModePtrOutput) Elem() UriOverrideUriOverrideEnforceModeOutput { return o.ApplyT(func(v *UriOverrideUriOverrideEnforceMode) UriOverrideUriOverrideEnforceMode { if v != nil { @@ -1054,6 +1157,12 @@ func (in *uriOverrideUriOverrideEnforceModePtr) ToUriOverrideUriOverrideEnforceM return pulumi.ToOutputWithContext(ctx, in).(UriOverrideUriOverrideEnforceModePtrOutput) } +func (in *uriOverrideUriOverrideEnforceModePtr) ToOutput(ctx context.Context) pulumix.Output[*UriOverrideUriOverrideEnforceMode] { + return pulumix.Output[*UriOverrideUriOverrideEnforceMode]{ + OutputState: in.ToUriOverrideUriOverrideEnforceModePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AppEngineHttpRequestHttpMethodInput)(nil)).Elem(), AppEngineHttpRequestHttpMethod("HTTP_METHOD_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AppEngineHttpRequestHttpMethodPtrInput)(nil)).Elem(), AppEngineHttpRequestHttpMethod("HTTP_METHOD_UNSPECIFIED")) diff --git a/sdk/go/google/cloudtasks/v2beta2/pulumiTypes.go b/sdk/go/google/cloudtasks/v2beta2/pulumiTypes.go index b8c2f06859..e8a5862f60 100644 --- a/sdk/go/google/cloudtasks/v2beta2/pulumiTypes.go +++ b/sdk/go/google/cloudtasks/v2beta2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -64,6 +65,12 @@ func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpRequestOutput) } +func (i AppEngineHttpRequestArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequest] { + return pulumix.Output[AppEngineHttpRequest]{ + OutputState: i.ToAppEngineHttpRequestOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestPtrOutput() AppEngineHttpRequestPtrOutput { return i.ToAppEngineHttpRequestPtrOutputWithContext(context.Background()) } @@ -105,6 +112,12 @@ func (i *appEngineHttpRequestPtrType) ToAppEngineHttpRequestPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpRequestPtrOutput) } +func (i *appEngineHttpRequestPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequest] { + return pulumix.Output[*AppEngineHttpRequest]{ + OutputState: i.ToAppEngineHttpRequestPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. This proto can only be used for tasks in a queue which has app_engine_http_target set. Using AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform` The task will be delivered to the App Engine app which belongs to the same project as the queue. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and how routing is affected by [dispatch files](https://cloud.google.com/appengine/docs/python/config/dispatchref). Traffic is encrypted during transport and never leaves Google datacenters. Because this traffic is carried over a communication mechanism internal to Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` relative_url Tasks can be dispatched to secure app handlers, unsecure app handlers, and URIs restricted with [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). Because tasks are not run as any user, they cannot be dispatched to URIs restricted with [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) Task dispatches also do not follow redirects. The task attempt has succeeded if the app's request handler returns an HTTP response code in the range [`200` - `299`]. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. `503` (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a `429` (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue. type AppEngineHttpRequestOutput struct{ *pulumi.OutputState } @@ -130,6 +143,12 @@ func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestPtrOutputWithContext(c }).(AppEngineHttpRequestPtrOutput) } +func (o AppEngineHttpRequestOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequest] { + return pulumix.Output[AppEngineHttpRequest]{ + OutputState: o.OutputState, + } +} + // Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o AppEngineHttpRequestOutput) AppEngineRouting() AppEngineRoutingPtrOutput { return o.ApplyT(func(v AppEngineHttpRequest) *AppEngineRouting { return v.AppEngineRouting }).(AppEngineRoutingPtrOutput) @@ -169,6 +188,12 @@ func (o AppEngineHttpRequestPtrOutput) ToAppEngineHttpRequestPtrOutputWithContex return o } +func (o AppEngineHttpRequestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequest] { + return pulumix.Output[*AppEngineHttpRequest]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpRequestPtrOutput) Elem() AppEngineHttpRequestOutput { return o.ApplyT(func(v *AppEngineHttpRequest) AppEngineHttpRequest { if v != nil { @@ -258,6 +283,12 @@ func (o AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutput return o } +func (o AppEngineHttpRequestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequestResponse] { + return pulumix.Output[AppEngineHttpRequestResponse]{ + OutputState: o.OutputState, + } +} + // Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o AppEngineHttpRequestResponseOutput) AppEngineRouting() AppEngineRoutingResponseOutput { return o.ApplyT(func(v AppEngineHttpRequestResponse) AppEngineRoutingResponse { return v.AppEngineRouting }).(AppEngineRoutingResponseOutput) @@ -318,6 +349,12 @@ func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpTargetOutput) } +func (i AppEngineHttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTarget] { + return pulumix.Output[AppEngineHttpTarget]{ + OutputState: i.ToAppEngineHttpTargetOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineHttpTargetArgs) ToAppEngineHttpTargetPtrOutput() AppEngineHttpTargetPtrOutput { return i.ToAppEngineHttpTargetPtrOutputWithContext(context.Background()) } @@ -359,6 +396,12 @@ func (i *appEngineHttpTargetPtrType) ToAppEngineHttpTargetPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpTargetPtrOutput) } +func (i *appEngineHttpTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpTarget] { + return pulumix.Output[*AppEngineHttpTarget]{ + OutputState: i.ToAppEngineHttpTargetPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine HTTP target. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpTarget and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpTarget requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform` type AppEngineHttpTargetOutput struct{ *pulumi.OutputState } @@ -384,6 +427,12 @@ func (o AppEngineHttpTargetOutput) ToAppEngineHttpTargetPtrOutputWithContext(ctx }).(AppEngineHttpTargetPtrOutput) } +func (o AppEngineHttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTarget] { + return pulumix.Output[AppEngineHttpTarget]{ + OutputState: o.OutputState, + } +} + // Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o AppEngineHttpTargetOutput) AppEngineRoutingOverride() AppEngineRoutingPtrOutput { return o.ApplyT(func(v AppEngineHttpTarget) *AppEngineRouting { return v.AppEngineRoutingOverride }).(AppEngineRoutingPtrOutput) @@ -403,6 +452,12 @@ func (o AppEngineHttpTargetPtrOutput) ToAppEngineHttpTargetPtrOutputWithContext( return o } +func (o AppEngineHttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpTarget] { + return pulumix.Output[*AppEngineHttpTarget]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpTargetPtrOutput) Elem() AppEngineHttpTargetOutput { return o.ApplyT(func(v *AppEngineHttpTarget) AppEngineHttpTarget { if v != nil { @@ -444,6 +499,12 @@ func (o AppEngineHttpTargetResponseOutput) ToAppEngineHttpTargetResponseOutputWi return o } +func (o AppEngineHttpTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpTargetResponse] { + return pulumix.Output[AppEngineHttpTargetResponse]{ + OutputState: o.OutputState, + } +} + // Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o AppEngineHttpTargetResponseOutput) AppEngineRoutingOverride() AppEngineRoutingResponseOutput { return o.ApplyT(func(v AppEngineHttpTargetResponse) AppEngineRoutingResponse { return v.AppEngineRoutingOverride }).(AppEngineRoutingResponseOutput) @@ -492,6 +553,12 @@ func (i AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AppEngineRoutingOutput) } +func (i AppEngineRoutingArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineRouting] { + return pulumix.Output[AppEngineRouting]{ + OutputState: i.ToAppEngineRoutingOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput { return i.ToAppEngineRoutingPtrOutputWithContext(context.Background()) } @@ -533,6 +600,12 @@ func (i *appEngineRoutingPtrType) ToAppEngineRoutingPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AppEngineRoutingPtrOutput) } +func (i *appEngineRoutingPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineRouting] { + return pulumix.Output[*AppEngineRouting]{ + OutputState: i.ToAppEngineRoutingPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine Routing. Defines routing characteristics specific to App Engine - service, version, and instance. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). type AppEngineRoutingOutput struct{ *pulumi.OutputState } @@ -558,6 +631,12 @@ func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutputWithContext(ctx conte }).(AppEngineRoutingPtrOutput) } +func (o AppEngineRoutingOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineRouting] { + return pulumix.Output[AppEngineRouting]{ + OutputState: o.OutputState, + } +} + // App instance. By default, the task is sent to an instance which is available when the task is attempted. Requests can only be sent to a specific instance if [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). App Engine Flex does not support instances. For more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). func (o AppEngineRoutingOutput) Instance() pulumi.StringPtrOutput { return o.ApplyT(func(v AppEngineRouting) *string { return v.Instance }).(pulumi.StringPtrOutput) @@ -587,6 +666,12 @@ func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutputWithContext(ctx co return o } +func (o AppEngineRoutingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineRouting] { + return pulumix.Output[*AppEngineRouting]{ + OutputState: o.OutputState, + } +} + func (o AppEngineRoutingPtrOutput) Elem() AppEngineRoutingOutput { return o.ApplyT(func(v *AppEngineRouting) AppEngineRouting { if v != nil { @@ -654,6 +739,12 @@ func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutputWithCont return o } +func (o AppEngineRoutingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineRoutingResponse] { + return pulumix.Output[AppEngineRoutingResponse]{ + OutputState: o.OutputState, + } +} + // The host that the task is sent to. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). The host is constructed as: * `host = [application_domain_name]` `| [service] + '.' + [application_domain_name]` `| [version] + '.' + [application_domain_name]` `| [version_dot_service]+ '.' + [application_domain_name]` `| [instance] + '.' + [application_domain_name]` `| [instance_dot_service] + '.' + [application_domain_name]` `| [instance_dot_version] + '.' + [application_domain_name]` `| [instance_dot_version_dot_service] + '.' + [application_domain_name]` * `application_domain_name` = The domain name of the app, for example .appspot.com, which is associated with the queue's project ID. Some tasks which were created using the App Engine SDK use a custom domain name. * `service =` service * `version =` version * `version_dot_service =` version `+ '.' +` service * `instance =` instance * `instance_dot_service =` instance `+ '.' +` service * `instance_dot_version =` instance `+ '.' +` version * `instance_dot_version_dot_service =` instance `+ '.' +` version `+ '.' +` service If service is empty, then the task will be sent to the service which is the default service when the task is attempted. If version is empty, then the task will be sent to the version which is the default version when the task is attempted. If instance is empty, then the task will be sent to an instance which is available when the task is attempted. If service, version, or instance is invalid, then the task will be sent to the default version of the default service when the task is attempted. func (o AppEngineRoutingResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v AppEngineRoutingResponse) string { return v.Host }).(pulumi.StringOutput) @@ -701,6 +792,12 @@ func (o AttemptStatusResponseOutput) ToAttemptStatusResponseOutputWithContext(ct return o } +func (o AttemptStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttemptStatusResponse] { + return pulumix.Output[AttemptStatusResponse]{ + OutputState: o.OutputState, + } +} + // The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond. func (o AttemptStatusResponseOutput) DispatchTime() pulumi.StringOutput { return o.ApplyT(func(v AttemptStatusResponse) string { return v.DispatchTime }).(pulumi.StringOutput) @@ -764,6 +861,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -789,6 +892,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -804,6 +913,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -833,6 +948,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -864,6 +985,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -893,6 +1020,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -946,6 +1079,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -987,6 +1126,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1012,6 +1157,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1046,6 +1197,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1123,6 +1280,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1182,6 +1345,12 @@ func (i HeaderArgs) ToHeaderOutputWithContext(ctx context.Context) HeaderOutput return pulumi.ToOutputWithContext(ctx, i).(HeaderOutput) } +func (i HeaderArgs) ToOutput(ctx context.Context) pulumix.Output[Header] { + return pulumix.Output[Header]{ + OutputState: i.ToHeaderOutputWithContext(ctx).OutputState, + } +} + func (i HeaderArgs) ToHeaderPtrOutput() HeaderPtrOutput { return i.ToHeaderPtrOutputWithContext(context.Background()) } @@ -1223,6 +1392,12 @@ func (i *headerPtrType) ToHeaderPtrOutputWithContext(ctx context.Context) Header return pulumi.ToOutputWithContext(ctx, i).(HeaderPtrOutput) } +func (i *headerPtrType) ToOutput(ctx context.Context) pulumix.Output[*Header] { + return pulumix.Output[*Header]{ + OutputState: i.ToHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Defines a header message. A header can have a key and a value. type HeaderOutput struct{ *pulumi.OutputState } @@ -1248,6 +1423,12 @@ func (o HeaderOutput) ToHeaderPtrOutputWithContext(ctx context.Context) HeaderPt }).(HeaderPtrOutput) } +func (o HeaderOutput) ToOutput(ctx context.Context) pulumix.Output[Header] { + return pulumix.Output[Header]{ + OutputState: o.OutputState, + } +} + // The key of the header. func (o HeaderOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v Header) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -1272,6 +1453,12 @@ func (o HeaderPtrOutput) ToHeaderPtrOutputWithContext(ctx context.Context) Heade return o } +func (o HeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Header] { + return pulumix.Output[*Header]{ + OutputState: o.OutputState, + } +} + func (o HeaderPtrOutput) Elem() HeaderOutput { return o.ApplyT(func(v *Header) Header { if v != nil { @@ -1337,6 +1524,12 @@ func (i HeaderOverrideArgs) ToHeaderOverrideOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(HeaderOverrideOutput) } +func (i HeaderOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[HeaderOverride] { + return pulumix.Output[HeaderOverride]{ + OutputState: i.ToHeaderOverrideOutputWithContext(ctx).OutputState, + } +} + // HeaderOverrideArrayInput is an input type that accepts HeaderOverrideArray and HeaderOverrideArrayOutput values. // You can construct a concrete instance of `HeaderOverrideArrayInput` via: // @@ -1362,6 +1555,12 @@ func (i HeaderOverrideArray) ToHeaderOverrideArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(HeaderOverrideArrayOutput) } +func (i HeaderOverrideArray) ToOutput(ctx context.Context) pulumix.Output[[]HeaderOverride] { + return pulumix.Output[[]HeaderOverride]{ + OutputState: i.ToHeaderOverrideArrayOutputWithContext(ctx).OutputState, + } +} + // Wraps the Header object. type HeaderOverrideOutput struct{ *pulumi.OutputState } @@ -1377,6 +1576,12 @@ func (o HeaderOverrideOutput) ToHeaderOverrideOutputWithContext(ctx context.Cont return o } +func (o HeaderOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[HeaderOverride] { + return pulumix.Output[HeaderOverride]{ + OutputState: o.OutputState, + } +} + // header embodying a key and a value. func (o HeaderOverrideOutput) Header() HeaderPtrOutput { return o.ApplyT(func(v HeaderOverride) *Header { return v.Header }).(HeaderPtrOutput) @@ -1396,6 +1601,12 @@ func (o HeaderOverrideArrayOutput) ToHeaderOverrideArrayOutputWithContext(ctx co return o } +func (o HeaderOverrideArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HeaderOverride] { + return pulumix.Output[[]HeaderOverride]{ + OutputState: o.OutputState, + } +} + func (o HeaderOverrideArrayOutput) Index(i pulumi.IntInput) HeaderOverrideOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HeaderOverride { return vs[0].([]HeaderOverride)[vs[1].(int)] @@ -1423,6 +1634,12 @@ func (o HeaderOverrideResponseOutput) ToHeaderOverrideResponseOutputWithContext( return o } +func (o HeaderOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HeaderOverrideResponse] { + return pulumix.Output[HeaderOverrideResponse]{ + OutputState: o.OutputState, + } +} + // header embodying a key and a value. func (o HeaderOverrideResponseOutput) Header() HeaderResponseOutput { return o.ApplyT(func(v HeaderOverrideResponse) HeaderResponse { return v.Header }).(HeaderResponseOutput) @@ -1442,6 +1659,12 @@ func (o HeaderOverrideResponseArrayOutput) ToHeaderOverrideResponseArrayOutputWi return o } +func (o HeaderOverrideResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HeaderOverrideResponse] { + return pulumix.Output[[]HeaderOverrideResponse]{ + OutputState: o.OutputState, + } +} + func (o HeaderOverrideResponseArrayOutput) Index(i pulumi.IntInput) HeaderOverrideResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HeaderOverrideResponse { return vs[0].([]HeaderOverrideResponse)[vs[1].(int)] @@ -1471,6 +1694,12 @@ func (o HeaderResponseOutput) ToHeaderResponseOutputWithContext(ctx context.Cont return o } +func (o HeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HeaderResponse] { + return pulumix.Output[HeaderResponse]{ + OutputState: o.OutputState, + } +} + // The key of the header. func (o HeaderResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v HeaderResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1536,6 +1765,12 @@ func (i HttpRequestArgs) ToHttpRequestOutputWithContext(ctx context.Context) Htt return pulumi.ToOutputWithContext(ctx, i).(HttpRequestOutput) } +func (i HttpRequestArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRequest] { + return pulumix.Output[HttpRequest]{ + OutputState: i.ToHttpRequestOutputWithContext(ctx).OutputState, + } +} + func (i HttpRequestArgs) ToHttpRequestPtrOutput() HttpRequestPtrOutput { return i.ToHttpRequestPtrOutputWithContext(context.Background()) } @@ -1577,6 +1812,12 @@ func (i *httpRequestPtrType) ToHttpRequestPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(HttpRequestPtrOutput) } +func (i *httpRequestPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRequest] { + return pulumix.Output[*HttpRequest]{ + OutputState: i.ToHttpRequestPtrOutputWithContext(ctx).OutputState, + } +} + // HTTP request. The task will be pushed to the worker as an HTTP request. An HTTP request embodies a url, an http method, headers, body and authorization for the http task. type HttpRequestOutput struct{ *pulumi.OutputState } @@ -1602,6 +1843,12 @@ func (o HttpRequestOutput) ToHttpRequestPtrOutputWithContext(ctx context.Context }).(HttpRequestPtrOutput) } +func (o HttpRequestOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRequest] { + return pulumix.Output[HttpRequest]{ + OutputState: o.OutputState, + } +} + // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod. func (o HttpRequestOutput) Body() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRequest) *string { return v.Body }).(pulumi.StringPtrOutput) @@ -1646,6 +1893,12 @@ func (o HttpRequestPtrOutput) ToHttpRequestPtrOutputWithContext(ctx context.Cont return o } +func (o HttpRequestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRequest] { + return pulumix.Output[*HttpRequest]{ + OutputState: o.OutputState, + } +} + func (o HttpRequestPtrOutput) Elem() HttpRequestOutput { return o.ApplyT(func(v *HttpRequest) HttpRequest { if v != nil { @@ -1747,6 +2000,12 @@ func (o HttpRequestResponseOutput) ToHttpRequestResponseOutputWithContext(ctx co return o } +func (o HttpRequestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRequestResponse] { + return pulumix.Output[HttpRequestResponse]{ + OutputState: o.OutputState, + } +} + // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod. func (o HttpRequestResponseOutput) Body() pulumi.StringOutput { return o.ApplyT(func(v HttpRequestResponse) string { return v.Body }).(pulumi.StringOutput) @@ -1828,6 +2087,12 @@ func (i HttpTargetArgs) ToHttpTargetOutputWithContext(ctx context.Context) HttpT return pulumi.ToOutputWithContext(ctx, i).(HttpTargetOutput) } +func (i HttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[HttpTarget] { + return pulumix.Output[HttpTarget]{ + OutputState: i.ToHttpTargetOutputWithContext(ctx).OutputState, + } +} + func (i HttpTargetArgs) ToHttpTargetPtrOutput() HttpTargetPtrOutput { return i.ToHttpTargetPtrOutputWithContext(context.Background()) } @@ -1869,6 +2134,12 @@ func (i *httpTargetPtrType) ToHttpTargetPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(HttpTargetPtrOutput) } +func (i *httpTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpTarget] { + return pulumix.Output[*HttpTarget]{ + OutputState: i.ToHttpTargetPtrOutputWithContext(ctx).OutputState, + } +} + // HTTP target. When specified as a Queue, all the tasks with [HttpRequest] will be overridden according to the target. type HttpTargetOutput struct{ *pulumi.OutputState } @@ -1894,6 +2165,12 @@ func (o HttpTargetOutput) ToHttpTargetPtrOutputWithContext(ctx context.Context) }).(HttpTargetPtrOutput) } +func (o HttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTarget] { + return pulumix.Output[HttpTarget]{ + OutputState: o.OutputState, + } +} + // HTTP target headers. This map contains the header field names and values. Headers will be set when running the task is created and/or task is created. These headers represent a subset of the headers that will accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Any header that is prefixed with "X-CloudTasks-" will be treated as service header. Service headers define properties of the task and are predefined in CloudTask. * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will be set to `"Google-CloudTasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue. func (o HttpTargetOutput) HeaderOverrides() HeaderOverrideArrayOutput { return o.ApplyT(func(v HttpTarget) []HeaderOverride { return v.HeaderOverrides }).(HeaderOverrideArrayOutput) @@ -1933,6 +2210,12 @@ func (o HttpTargetPtrOutput) ToHttpTargetPtrOutputWithContext(ctx context.Contex return o } +func (o HttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpTarget] { + return pulumix.Output[*HttpTarget]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetPtrOutput) Elem() HttpTargetOutput { return o.ApplyT(func(v *HttpTarget) HttpTarget { if v != nil { @@ -2022,6 +2305,12 @@ func (o HttpTargetResponseOutput) ToHttpTargetResponseOutputWithContext(ctx cont return o } +func (o HttpTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTargetResponse] { + return pulumix.Output[HttpTargetResponse]{ + OutputState: o.OutputState, + } +} + // HTTP target headers. This map contains the header field names and values. Headers will be set when running the task is created and/or task is created. These headers represent a subset of the headers that will accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Any header that is prefixed with "X-CloudTasks-" will be treated as service header. Service headers define properties of the task and are predefined in CloudTask. * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will be set to `"Google-CloudTasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue. func (o HttpTargetResponseOutput) HeaderOverrides() HeaderOverrideResponseArrayOutput { return o.ApplyT(func(v HttpTargetResponse) []HeaderOverrideResponse { return v.HeaderOverrides }).(HeaderOverrideResponseArrayOutput) @@ -2086,6 +2375,12 @@ func (i OAuthTokenArgs) ToOAuthTokenOutputWithContext(ctx context.Context) OAuth return pulumi.ToOutputWithContext(ctx, i).(OAuthTokenOutput) } +func (i OAuthTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OAuthToken] { + return pulumix.Output[OAuthToken]{ + OutputState: i.ToOAuthTokenOutputWithContext(ctx).OutputState, + } +} + func (i OAuthTokenArgs) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput { return i.ToOAuthTokenPtrOutputWithContext(context.Background()) } @@ -2127,6 +2422,12 @@ func (i *oauthTokenPtrType) ToOAuthTokenPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(OAuthTokenPtrOutput) } +func (i *oauthTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OAuthToken] { + return pulumix.Output[*OAuthToken]{ + OutputState: i.ToOAuthTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com. type OAuthTokenOutput struct{ *pulumi.OutputState } @@ -2152,6 +2453,12 @@ func (o OAuthTokenOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Context) }).(OAuthTokenPtrOutput) } +func (o OAuthTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthToken] { + return pulumix.Output[OAuthToken]{ + OutputState: o.OutputState, + } +} + // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. func (o OAuthTokenOutput) Scope() pulumi.StringPtrOutput { return o.ApplyT(func(v OAuthToken) *string { return v.Scope }).(pulumi.StringPtrOutput) @@ -2176,6 +2483,12 @@ func (o OAuthTokenPtrOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Contex return o } +func (o OAuthTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OAuthToken] { + return pulumix.Output[*OAuthToken]{ + OutputState: o.OutputState, + } +} + func (o OAuthTokenPtrOutput) Elem() OAuthTokenOutput { return o.ApplyT(func(v *OAuthToken) OAuthToken { if v != nil { @@ -2229,6 +2542,12 @@ func (o OAuthTokenResponseOutput) ToOAuthTokenResponseOutputWithContext(ctx cont return o } +func (o OAuthTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthTokenResponse] { + return pulumix.Output[OAuthTokenResponse]{ + OutputState: o.OutputState, + } +} + // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. func (o OAuthTokenResponseOutput) Scope() pulumi.StringOutput { return o.ApplyT(func(v OAuthTokenResponse) string { return v.Scope }).(pulumi.StringOutput) @@ -2278,6 +2597,12 @@ func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTok return pulumi.ToOutputWithContext(ctx, i).(OidcTokenOutput) } +func (i OidcTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: i.ToOidcTokenOutputWithContext(ctx).OutputState, + } +} + func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput { return i.ToOidcTokenPtrOutputWithContext(context.Background()) } @@ -2319,6 +2644,12 @@ func (i *oidcTokenPtrType) ToOidcTokenPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OidcTokenPtrOutput) } +func (i *oidcTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: i.ToOidcTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. type OidcTokenOutput struct{ *pulumi.OutputState } @@ -2344,6 +2675,12 @@ func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) Oi }).(OidcTokenPtrOutput) } +func (o OidcTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput { return o.ApplyT(func(v OidcToken) *string { return v.Audience }).(pulumi.StringPtrOutput) @@ -2368,6 +2705,12 @@ func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) return o } +func (o OidcTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: o.OutputState, + } +} + func (o OidcTokenPtrOutput) Elem() OidcTokenOutput { return o.ApplyT(func(v *OidcToken) OidcToken { if v != nil { @@ -2421,6 +2764,12 @@ func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx contex return o } +func (o OidcTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OidcTokenResponse] { + return pulumix.Output[OidcTokenResponse]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput { return o.ApplyT(func(v OidcTokenResponse) string { return v.Audience }).(pulumi.StringOutput) @@ -2466,6 +2815,12 @@ func (i PathOverrideArgs) ToPathOverrideOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PathOverrideOutput) } +func (i PathOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[PathOverride] { + return pulumix.Output[PathOverride]{ + OutputState: i.ToPathOverrideOutputWithContext(ctx).OutputState, + } +} + func (i PathOverrideArgs) ToPathOverridePtrOutput() PathOverridePtrOutput { return i.ToPathOverridePtrOutputWithContext(context.Background()) } @@ -2507,6 +2862,12 @@ func (i *pathOverridePtrType) ToPathOverridePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PathOverridePtrOutput) } +func (i *pathOverridePtrType) ToOutput(ctx context.Context) pulumix.Output[*PathOverride] { + return pulumix.Output[*PathOverride]{ + OutputState: i.ToPathOverridePtrOutputWithContext(ctx).OutputState, + } +} + // PathOverride. Path message defines path override for HTTP targets. type PathOverrideOutput struct{ *pulumi.OutputState } @@ -2532,6 +2893,12 @@ func (o PathOverrideOutput) ToPathOverridePtrOutputWithContext(ctx context.Conte }).(PathOverridePtrOutput) } +func (o PathOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[PathOverride] { + return pulumix.Output[PathOverride]{ + OutputState: o.OutputState, + } +} + // The URI path (e.g., /users/1234). Default is an empty string. func (o PathOverrideOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v PathOverride) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -2551,6 +2918,12 @@ func (o PathOverridePtrOutput) ToPathOverridePtrOutputWithContext(ctx context.Co return o } +func (o PathOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PathOverride] { + return pulumix.Output[*PathOverride]{ + OutputState: o.OutputState, + } +} + func (o PathOverridePtrOutput) Elem() PathOverrideOutput { return o.ApplyT(func(v *PathOverride) PathOverride { if v != nil { @@ -2592,6 +2965,12 @@ func (o PathOverrideResponseOutput) ToPathOverrideResponseOutputWithContext(ctx return o } +func (o PathOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PathOverrideResponse] { + return pulumix.Output[PathOverrideResponse]{ + OutputState: o.OutputState, + } +} + // The URI path (e.g., /users/1234). Default is an empty string. func (o PathOverrideResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v PathOverrideResponse) string { return v.Path }).(pulumi.StringOutput) @@ -2636,6 +3015,12 @@ func (i PullMessageArgs) ToPullMessageOutputWithContext(ctx context.Context) Pul return pulumi.ToOutputWithContext(ctx, i).(PullMessageOutput) } +func (i PullMessageArgs) ToOutput(ctx context.Context) pulumix.Output[PullMessage] { + return pulumix.Output[PullMessage]{ + OutputState: i.ToPullMessageOutputWithContext(ctx).OutputState, + } +} + func (i PullMessageArgs) ToPullMessagePtrOutput() PullMessagePtrOutput { return i.ToPullMessagePtrOutputWithContext(context.Background()) } @@ -2677,6 +3062,12 @@ func (i *pullMessagePtrType) ToPullMessagePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PullMessagePtrOutput) } +func (i *pullMessagePtrType) ToOutput(ctx context.Context) pulumix.Output[*PullMessage] { + return pulumix.Output[*PullMessage]{ + OutputState: i.ToPullMessagePtrOutputWithContext(ctx).OutputState, + } +} + // The pull message contains data that can be used by the caller of LeaseTasks to process the task. This proto can only be used for tasks in a queue which has pull_target set. type PullMessageOutput struct{ *pulumi.OutputState } @@ -2702,6 +3093,12 @@ func (o PullMessageOutput) ToPullMessagePtrOutputWithContext(ctx context.Context }).(PullMessagePtrOutput) } +func (o PullMessageOutput) ToOutput(ctx context.Context) pulumix.Output[PullMessage] { + return pulumix.Output[PullMessage]{ + OutputState: o.OutputState, + } +} + // A data payload consumed by the worker to execute the task. func (o PullMessageOutput) Payload() pulumi.StringPtrOutput { return o.ApplyT(func(v PullMessage) *string { return v.Payload }).(pulumi.StringPtrOutput) @@ -2726,6 +3123,12 @@ func (o PullMessagePtrOutput) ToPullMessagePtrOutputWithContext(ctx context.Cont return o } +func (o PullMessagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PullMessage] { + return pulumix.Output[*PullMessage]{ + OutputState: o.OutputState, + } +} + func (o PullMessagePtrOutput) Elem() PullMessageOutput { return o.ApplyT(func(v *PullMessage) PullMessage { if v != nil { @@ -2779,6 +3182,12 @@ func (o PullMessageResponseOutput) ToPullMessageResponseOutputWithContext(ctx co return o } +func (o PullMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PullMessageResponse] { + return pulumix.Output[PullMessageResponse]{ + OutputState: o.OutputState, + } +} + // A data payload consumed by the worker to execute the task. func (o PullMessageResponseOutput) Payload() pulumi.StringOutput { return o.ApplyT(func(v PullMessageResponse) string { return v.Payload }).(pulumi.StringOutput) @@ -2820,6 +3229,12 @@ func (i PullTargetArgs) ToPullTargetOutputWithContext(ctx context.Context) PullT return pulumi.ToOutputWithContext(ctx, i).(PullTargetOutput) } +func (i PullTargetArgs) ToOutput(ctx context.Context) pulumix.Output[PullTarget] { + return pulumix.Output[PullTarget]{ + OutputState: i.ToPullTargetOutputWithContext(ctx).OutputState, + } +} + func (i PullTargetArgs) ToPullTargetPtrOutput() PullTargetPtrOutput { return i.ToPullTargetPtrOutputWithContext(context.Background()) } @@ -2861,6 +3276,12 @@ func (i *pullTargetPtrType) ToPullTargetPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PullTargetPtrOutput) } +func (i *pullTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*PullTarget] { + return pulumix.Output[*PullTarget]{ + OutputState: i.ToPullTargetPtrOutputWithContext(ctx).OutputState, + } +} + // Pull target. type PullTargetOutput struct{ *pulumi.OutputState } @@ -2886,6 +3307,12 @@ func (o PullTargetOutput) ToPullTargetPtrOutputWithContext(ctx context.Context) }).(PullTargetPtrOutput) } +func (o PullTargetOutput) ToOutput(ctx context.Context) pulumix.Output[PullTarget] { + return pulumix.Output[PullTarget]{ + OutputState: o.OutputState, + } +} + type PullTargetPtrOutput struct{ *pulumi.OutputState } func (PullTargetPtrOutput) ElementType() reflect.Type { @@ -2900,6 +3327,12 @@ func (o PullTargetPtrOutput) ToPullTargetPtrOutputWithContext(ctx context.Contex return o } +func (o PullTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PullTarget] { + return pulumix.Output[*PullTarget]{ + OutputState: o.OutputState, + } +} + func (o PullTargetPtrOutput) Elem() PullTargetOutput { return o.ApplyT(func(v *PullTarget) PullTarget { if v != nil { @@ -2929,6 +3362,12 @@ func (o PullTargetResponseOutput) ToPullTargetResponseOutputWithContext(ctx cont return o } +func (o PullTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PullTargetResponse] { + return pulumix.Output[PullTargetResponse]{ + OutputState: o.OutputState, + } +} + // QueryOverride. Query message defines query override for HTTP targets. type QueryOverride struct { // The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string. @@ -2964,6 +3403,12 @@ func (i QueryOverrideArgs) ToQueryOverrideOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueryOverrideOutput) } +func (i QueryOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[QueryOverride] { + return pulumix.Output[QueryOverride]{ + OutputState: i.ToQueryOverrideOutputWithContext(ctx).OutputState, + } +} + func (i QueryOverrideArgs) ToQueryOverridePtrOutput() QueryOverridePtrOutput { return i.ToQueryOverridePtrOutputWithContext(context.Background()) } @@ -3005,6 +3450,12 @@ func (i *queryOverridePtrType) ToQueryOverridePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(QueryOverridePtrOutput) } +func (i *queryOverridePtrType) ToOutput(ctx context.Context) pulumix.Output[*QueryOverride] { + return pulumix.Output[*QueryOverride]{ + OutputState: i.ToQueryOverridePtrOutputWithContext(ctx).OutputState, + } +} + // QueryOverride. Query message defines query override for HTTP targets. type QueryOverrideOutput struct{ *pulumi.OutputState } @@ -3030,6 +3481,12 @@ func (o QueryOverrideOutput) ToQueryOverridePtrOutputWithContext(ctx context.Con }).(QueryOverridePtrOutput) } +func (o QueryOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[QueryOverride] { + return pulumix.Output[QueryOverride]{ + OutputState: o.OutputState, + } +} + // The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string. func (o QueryOverrideOutput) QueryParams() pulumi.StringPtrOutput { return o.ApplyT(func(v QueryOverride) *string { return v.QueryParams }).(pulumi.StringPtrOutput) @@ -3049,6 +3506,12 @@ func (o QueryOverridePtrOutput) ToQueryOverridePtrOutputWithContext(ctx context. return o } +func (o QueryOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueryOverride] { + return pulumix.Output[*QueryOverride]{ + OutputState: o.OutputState, + } +} + func (o QueryOverridePtrOutput) Elem() QueryOverrideOutput { return o.ApplyT(func(v *QueryOverride) QueryOverride { if v != nil { @@ -3090,6 +3553,12 @@ func (o QueryOverrideResponseOutput) ToQueryOverrideResponseOutputWithContext(ct return o } +func (o QueryOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryOverrideResponse] { + return pulumix.Output[QueryOverrideResponse]{ + OutputState: o.OutputState, + } +} + // The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string. func (o QueryOverrideResponseOutput) QueryParams() pulumi.StringOutput { return o.ApplyT(func(v QueryOverrideResponse) string { return v.QueryParams }).(pulumi.StringOutput) @@ -3124,6 +3593,12 @@ func (o QueueStatsResponseOutput) ToQueueStatsResponseOutputWithContext(ctx cont return o } +func (o QueueStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueueStatsResponse] { + return pulumix.Output[QueueStatsResponse]{ + OutputState: o.OutputState, + } +} + // The number of requests that the queue has dispatched but has not received a reply for yet. func (o QueueStatsResponseOutput) ConcurrentDispatchesCount() pulumi.StringOutput { return o.ApplyT(func(v QueueStatsResponse) string { return v.ConcurrentDispatchesCount }).(pulumi.StringOutput) @@ -3192,6 +3667,12 @@ func (i RateLimitsArgs) ToRateLimitsOutputWithContext(ctx context.Context) RateL return pulumi.ToOutputWithContext(ctx, i).(RateLimitsOutput) } +func (i RateLimitsArgs) ToOutput(ctx context.Context) pulumix.Output[RateLimits] { + return pulumix.Output[RateLimits]{ + OutputState: i.ToRateLimitsOutputWithContext(ctx).OutputState, + } +} + func (i RateLimitsArgs) ToRateLimitsPtrOutput() RateLimitsPtrOutput { return i.ToRateLimitsPtrOutputWithContext(context.Background()) } @@ -3233,6 +3714,12 @@ func (i *rateLimitsPtrType) ToRateLimitsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RateLimitsPtrOutput) } +func (i *rateLimitsPtrType) ToOutput(ctx context.Context) pulumix.Output[*RateLimits] { + return pulumix.Output[*RateLimits]{ + OutputState: i.ToRateLimitsPtrOutputWithContext(ctx).OutputState, + } +} + // Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits. type RateLimitsOutput struct{ *pulumi.OutputState } @@ -3258,6 +3745,12 @@ func (o RateLimitsOutput) ToRateLimitsPtrOutputWithContext(ctx context.Context) }).(RateLimitsPtrOutput) } +func (o RateLimitsOutput) ToOutput(ctx context.Context) pulumix.Output[RateLimits] { + return pulumix.Output[RateLimits]{ + OutputState: o.OutputState, + } +} + // The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on max_dispatches_per_second. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second. func (o RateLimitsOutput) MaxBurstSize() pulumi.IntPtrOutput { return o.ApplyT(func(v RateLimits) *int { return v.MaxBurstSize }).(pulumi.IntPtrOutput) @@ -3287,6 +3780,12 @@ func (o RateLimitsPtrOutput) ToRateLimitsPtrOutputWithContext(ctx context.Contex return o } +func (o RateLimitsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RateLimits] { + return pulumix.Output[*RateLimits]{ + OutputState: o.OutputState, + } +} + func (o RateLimitsPtrOutput) Elem() RateLimitsOutput { return o.ApplyT(func(v *RateLimits) RateLimits { if v != nil { @@ -3352,6 +3851,12 @@ func (o RateLimitsResponseOutput) ToRateLimitsResponseOutputWithContext(ctx cont return o } +func (o RateLimitsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RateLimitsResponse] { + return pulumix.Output[RateLimitsResponse]{ + OutputState: o.OutputState, + } +} + // The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on max_dispatches_per_second. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second. func (o RateLimitsResponseOutput) MaxBurstSize() pulumi.IntOutput { return o.ApplyT(func(v RateLimitsResponse) int { return v.MaxBurstSize }).(pulumi.IntOutput) @@ -3422,6 +3927,12 @@ func (i RetryConfigArgs) ToRetryConfigOutputWithContext(ctx context.Context) Ret return pulumi.ToOutputWithContext(ctx, i).(RetryConfigOutput) } +func (i RetryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RetryConfig] { + return pulumix.Output[RetryConfig]{ + OutputState: i.ToRetryConfigOutputWithContext(ctx).OutputState, + } +} + func (i RetryConfigArgs) ToRetryConfigPtrOutput() RetryConfigPtrOutput { return i.ToRetryConfigPtrOutputWithContext(context.Background()) } @@ -3463,6 +3974,12 @@ func (i *retryConfigPtrType) ToRetryConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RetryConfigPtrOutput) } +func (i *retryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RetryConfig] { + return pulumix.Output[*RetryConfig]{ + OutputState: i.ToRetryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Retry config. These settings determine how a failed task attempt is retried. type RetryConfigOutput struct{ *pulumi.OutputState } @@ -3488,6 +4005,12 @@ func (o RetryConfigOutput) ToRetryConfigPtrOutputWithContext(ctx context.Context }).(RetryConfigPtrOutput) } +func (o RetryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RetryConfig] { + return pulumix.Output[RetryConfig]{ + OutputState: o.OutputState, + } +} + // The maximum number of attempts for a task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be > 0. func (o RetryConfigOutput) MaxAttempts() pulumi.IntPtrOutput { return o.ApplyT(func(v RetryConfig) *int { return v.MaxAttempts }).(pulumi.IntPtrOutput) @@ -3532,6 +4055,12 @@ func (o RetryConfigPtrOutput) ToRetryConfigPtrOutputWithContext(ctx context.Cont return o } +func (o RetryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RetryConfig] { + return pulumix.Output[*RetryConfig]{ + OutputState: o.OutputState, + } +} + func (o RetryConfigPtrOutput) Elem() RetryConfigOutput { return o.ApplyT(func(v *RetryConfig) RetryConfig { if v != nil { @@ -3633,6 +4162,12 @@ func (o RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext(ctx co return o } +func (o RetryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RetryConfigResponse] { + return pulumix.Output[RetryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of attempts for a task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be > 0. func (o RetryConfigResponseOutput) MaxAttempts() pulumi.IntOutput { return o.ApplyT(func(v RetryConfigResponse) int { return v.MaxAttempts }).(pulumi.IntOutput) @@ -3688,6 +4223,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -3730,6 +4271,12 @@ func (o TaskStatusResponseOutput) ToTaskStatusResponseOutputWithContext(ctx cont return o } +func (o TaskStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TaskStatusResponse] { + return pulumix.Output[TaskStatusResponse]{ + OutputState: o.OutputState, + } +} + // The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response. func (o TaskStatusResponseOutput) AttemptDispatchCount() pulumi.IntOutput { return o.ApplyT(func(v TaskStatusResponse) int { return v.AttemptDispatchCount }).(pulumi.IntOutput) @@ -3805,6 +4352,12 @@ func (i UriOverrideArgs) ToUriOverrideOutputWithContext(ctx context.Context) Uri return pulumi.ToOutputWithContext(ctx, i).(UriOverrideOutput) } +func (i UriOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[UriOverride] { + return pulumix.Output[UriOverride]{ + OutputState: i.ToUriOverrideOutputWithContext(ctx).OutputState, + } +} + func (i UriOverrideArgs) ToUriOverridePtrOutput() UriOverridePtrOutput { return i.ToUriOverridePtrOutputWithContext(context.Background()) } @@ -3846,6 +4399,12 @@ func (i *uriOverridePtrType) ToUriOverridePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(UriOverridePtrOutput) } +func (i *uriOverridePtrType) ToOutput(ctx context.Context) pulumix.Output[*UriOverride] { + return pulumix.Output[*UriOverride]{ + OutputState: i.ToUriOverridePtrOutputWithContext(ctx).OutputState, + } +} + // Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. type UriOverrideOutput struct{ *pulumi.OutputState } @@ -3871,6 +4430,12 @@ func (o UriOverrideOutput) ToUriOverridePtrOutputWithContext(ctx context.Context }).(UriOverridePtrOutput) } +func (o UriOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[UriOverride] { + return pulumix.Output[UriOverride]{ + OutputState: o.OutputState, + } +} + // Host override. When specified, replaces the host part of the task URL. For example, if the task URL is "https://www.google.com," and host value is set to "example.net", the overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT). func (o UriOverrideOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v UriOverride) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -3915,6 +4480,12 @@ func (o UriOverridePtrOutput) ToUriOverridePtrOutputWithContext(ctx context.Cont return o } +func (o UriOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UriOverride] { + return pulumix.Output[*UriOverride]{ + OutputState: o.OutputState, + } +} + func (o UriOverridePtrOutput) Elem() UriOverrideOutput { return o.ApplyT(func(v *UriOverride) UriOverride { if v != nil { @@ -4016,6 +4587,12 @@ func (o UriOverrideResponseOutput) ToUriOverrideResponseOutputWithContext(ctx co return o } +func (o UriOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UriOverrideResponse] { + return pulumix.Output[UriOverrideResponse]{ + OutputState: o.OutputState, + } +} + // Host override. When specified, replaces the host part of the task URL. For example, if the task URL is "https://www.google.com," and host value is set to "example.net", the overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT). func (o UriOverrideResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v UriOverrideResponse) string { return v.Host }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudtasks/v2beta2/queue.go b/sdk/go/google/cloudtasks/v2beta2/queue.go index f44a7ba16f..9e617becbb 100644 --- a/sdk/go/google/cloudtasks/v2beta2/queue.go +++ b/sdk/go/google/cloudtasks/v2beta2/queue.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a queue. Queues created with this method allow tasks to live for a maximum of 31 days. After a task is 31 days old, the task will be deleted regardless of whether it was dispatched or not. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method. @@ -151,6 +152,12 @@ func (i *Queue) ToQueueOutputWithContext(ctx context.Context) QueueOutput { return pulumi.ToOutputWithContext(ctx, i).(QueueOutput) } +func (i *Queue) ToOutput(ctx context.Context) pulumix.Output[*Queue] { + return pulumix.Output[*Queue]{ + OutputState: i.ToQueueOutputWithContext(ctx).OutputState, + } +} + type QueueOutput struct{ *pulumi.OutputState } func (QueueOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput { return o } +func (o QueueOutput) ToOutput(ctx context.Context) pulumix.Output[*Queue] { + return pulumix.Output[*Queue]{ + OutputState: o.OutputState, + } +} + // App Engine HTTP target. An App Engine queue is a queue that has an AppEngineHttpTarget. func (o QueueOutput) AppEngineHttpTarget() AppEngineHttpTargetResponseOutput { return o.ApplyT(func(v *Queue) AppEngineHttpTargetResponseOutput { return v.AppEngineHttpTarget }).(AppEngineHttpTargetResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2beta2/queueIamBinding.go b/sdk/go/google/cloudtasks/v2beta2/queueIamBinding.go index ce1347e5df..0448279886 100644 --- a/sdk/go/google/cloudtasks/v2beta2/queueIamBinding.go +++ b/sdk/go/google/cloudtasks/v2beta2/queueIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy` @@ -135,6 +136,12 @@ func (i *QueueIamBinding) ToQueueIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(QueueIamBindingOutput) } +func (i *QueueIamBinding) ToOutput(ctx context.Context) pulumix.Output[*QueueIamBinding] { + return pulumix.Output[*QueueIamBinding]{ + OutputState: i.ToQueueIamBindingOutputWithContext(ctx).OutputState, + } +} + type QueueIamBindingOutput struct{ *pulumi.OutputState } func (QueueIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o QueueIamBindingOutput) ToQueueIamBindingOutputWithContext(ctx context.Co return o } +func (o QueueIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueIamBinding] { + return pulumix.Output[*QueueIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o QueueIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *QueueIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudtasks/v2beta2/queueIamMember.go b/sdk/go/google/cloudtasks/v2beta2/queueIamMember.go index b433f9ad60..cb02ad0e83 100644 --- a/sdk/go/google/cloudtasks/v2beta2/queueIamMember.go +++ b/sdk/go/google/cloudtasks/v2beta2/queueIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy` @@ -135,6 +136,12 @@ func (i *QueueIamMember) ToQueueIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueueIamMemberOutput) } +func (i *QueueIamMember) ToOutput(ctx context.Context) pulumix.Output[*QueueIamMember] { + return pulumix.Output[*QueueIamMember]{ + OutputState: i.ToQueueIamMemberOutputWithContext(ctx).OutputState, + } +} + type QueueIamMemberOutput struct{ *pulumi.OutputState } func (QueueIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o QueueIamMemberOutput) ToQueueIamMemberOutputWithContext(ctx context.Cont return o } +func (o QueueIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueIamMember] { + return pulumix.Output[*QueueIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o QueueIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *QueueIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudtasks/v2beta2/queueIamPolicy.go b/sdk/go/google/cloudtasks/v2beta2/queueIamPolicy.go index d7f864d1ec..a553aa03ba 100644 --- a/sdk/go/google/cloudtasks/v2beta2/queueIamPolicy.go +++ b/sdk/go/google/cloudtasks/v2beta2/queueIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy` @@ -125,6 +126,12 @@ func (i *QueueIamPolicy) ToQueueIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueueIamPolicyOutput) } +func (i *QueueIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*QueueIamPolicy] { + return pulumix.Output[*QueueIamPolicy]{ + OutputState: i.ToQueueIamPolicyOutputWithContext(ctx).OutputState, + } +} + type QueueIamPolicyOutput struct{ *pulumi.OutputState } func (QueueIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o QueueIamPolicyOutput) ToQueueIamPolicyOutputWithContext(ctx context.Cont return o } +func (o QueueIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueIamPolicy] { + return pulumix.Output[*QueueIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o QueueIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *QueueIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/cloudtasks/v2beta2/task.go b/sdk/go/google/cloudtasks/v2beta2/task.go index 2bda48b1cf..f0b66355d2 100644 --- a/sdk/go/google/cloudtasks/v2beta2/task.go +++ b/sdk/go/google/cloudtasks/v2beta2/task.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a task and adds it to a queue. Tasks cannot be updated after creation; there is no UpdateTask command. * For App Engine queues, the maximum task size is 100KB. * For pull queues, the maximum task size is 1MB. @@ -145,6 +146,12 @@ func (i *Task) ToTaskOutputWithContext(ctx context.Context) TaskOutput { return pulumi.ToOutputWithContext(ctx, i).(TaskOutput) } +func (i *Task) ToOutput(ctx context.Context) pulumix.Output[*Task] { + return pulumix.Output[*Task]{ + OutputState: i.ToTaskOutputWithContext(ctx).OutputState, + } +} + type TaskOutput struct{ *pulumi.OutputState } func (TaskOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o TaskOutput) ToTaskOutputWithContext(ctx context.Context) TaskOutput { return o } +func (o TaskOutput) ToOutput(ctx context.Context) pulumix.Output[*Task] { + return pulumix.Output[*Task]{ + OutputState: o.OutputState, + } +} + // App Engine HTTP request that is sent to the task's target. Can be set only if app_engine_http_target is set on the queue. An App Engine task is a task that has AppEngineHttpRequest set. func (o TaskOutput) AppEngineHttpRequest() AppEngineHttpRequestResponseOutput { return o.ApplyT(func(v *Task) AppEngineHttpRequestResponseOutput { return v.AppEngineHttpRequest }).(AppEngineHttpRequestResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2beta3/getQueue.go b/sdk/go/google/cloudtasks/v2beta3/getQueue.go index d076c36fb7..10a1daa99a 100644 --- a/sdk/go/google/cloudtasks/v2beta3/getQueue.go +++ b/sdk/go/google/cloudtasks/v2beta3/getQueue.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a queue. @@ -94,6 +95,12 @@ func (o LookupQueueResultOutput) ToLookupQueueResultOutputWithContext(ctx contex return o } +func (o LookupQueueResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupQueueResult] { + return pulumix.Output[LookupQueueResult]{ + OutputState: o.OutputState, + } +} + // AppEngineHttpQueue settings apply only to App Engine tasks in this queue. Http tasks are not affected by this proto. func (o LookupQueueResultOutput) AppEngineHttpQueue() AppEngineHttpQueueResponseOutput { return o.ApplyT(func(v LookupQueueResult) AppEngineHttpQueueResponse { return v.AppEngineHttpQueue }).(AppEngineHttpQueueResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2beta3/getQueueIamPolicy.go b/sdk/go/google/cloudtasks/v2beta3/getQueueIamPolicy.go index cee35b9a25..b1c0278976 100644 --- a/sdk/go/google/cloudtasks/v2beta3/getQueueIamPolicy.go +++ b/sdk/go/google/cloudtasks/v2beta3/getQueueIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have a policy set. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.getIamPolicy` @@ -74,6 +75,12 @@ func (o LookupQueueIamPolicyResultOutput) ToLookupQueueIamPolicyResultOutputWith return o } +func (o LookupQueueIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupQueueIamPolicyResult] { + return pulumix.Output[LookupQueueIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupQueueIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupQueueIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/cloudtasks/v2beta3/getTask.go b/sdk/go/google/cloudtasks/v2beta3/getTask.go index ca707fe08d..d4282475ea 100644 --- a/sdk/go/google/cloudtasks/v2beta3/getTask.go +++ b/sdk/go/google/cloudtasks/v2beta3/getTask.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a task. @@ -96,6 +97,12 @@ func (o LookupTaskResultOutput) ToLookupTaskResultOutputWithContext(ctx context. return o } +func (o LookupTaskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTaskResult] { + return pulumix.Output[LookupTaskResult]{ + OutputState: o.OutputState, + } +} + // HTTP request that is sent to the App Engine app handler. An App Engine task is a task that has AppEngineHttpRequest set. func (o LookupTaskResultOutput) AppEngineHttpRequest() AppEngineHttpRequestResponseOutput { return o.ApplyT(func(v LookupTaskResult) AppEngineHttpRequestResponse { return v.AppEngineHttpRequest }).(AppEngineHttpRequestResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2beta3/pulumiEnums.go b/sdk/go/google/cloudtasks/v2beta3/pulumiEnums.go index 9f1888aec3..1921f84eb7 100644 --- a/sdk/go/google/cloudtasks/v2beta3/pulumiEnums.go +++ b/sdk/go/google/cloudtasks/v2beta3/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The HTTP method to use for the request. The default is POST. The app's request handler for the task's target URL must be able to handle HTTP requests with this http_method, otherwise the task attempt fails with error code 405 (Method Not Allowed). See [Writing a push task request handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) and the App Engine documentation for your runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled). @@ -92,6 +93,12 @@ func (o AppEngineHttpRequestHttpMethodOutput) ToAppEngineHttpRequestHttpMethodPt }).(AppEngineHttpRequestHttpMethodPtrOutput) } +func (o AppEngineHttpRequestHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequestHttpMethod] { + return pulumix.Output[AppEngineHttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpRequestHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -127,6 +134,12 @@ func (o AppEngineHttpRequestHttpMethodPtrOutput) ToAppEngineHttpRequestHttpMetho return o } +func (o AppEngineHttpRequestHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequestHttpMethod] { + return pulumix.Output[*AppEngineHttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpRequestHttpMethodPtrOutput) Elem() AppEngineHttpRequestHttpMethodOutput { return o.ApplyT(func(v *AppEngineHttpRequestHttpMethod) AppEngineHttpRequestHttpMethod { if v != nil { @@ -189,6 +202,12 @@ func (in *appEngineHttpRequestHttpMethodPtr) ToAppEngineHttpRequestHttpMethodPtr return pulumi.ToOutputWithContext(ctx, in).(AppEngineHttpRequestHttpMethodPtrOutput) } +func (in *appEngineHttpRequestHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequestHttpMethod] { + return pulumix.Output[*AppEngineHttpRequestHttpMethod]{ + OutputState: in.ToAppEngineHttpRequestHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP method to use for the request. The default is POST. type HttpRequestHttpMethod string @@ -271,6 +290,12 @@ func (o HttpRequestHttpMethodOutput) ToHttpRequestHttpMethodPtrOutputWithContext }).(HttpRequestHttpMethodPtrOutput) } +func (o HttpRequestHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRequestHttpMethod] { + return pulumix.Output[HttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpRequestHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -306,6 +331,12 @@ func (o HttpRequestHttpMethodPtrOutput) ToHttpRequestHttpMethodPtrOutputWithCont return o } +func (o HttpRequestHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRequestHttpMethod] { + return pulumix.Output[*HttpRequestHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpRequestHttpMethodPtrOutput) Elem() HttpRequestHttpMethodOutput { return o.ApplyT(func(v *HttpRequestHttpMethod) HttpRequestHttpMethod { if v != nil { @@ -368,6 +399,12 @@ func (in *httpRequestHttpMethodPtr) ToHttpRequestHttpMethodPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(HttpRequestHttpMethodPtrOutput) } +func (in *httpRequestHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*HttpRequestHttpMethod] { + return pulumix.Output[*HttpRequestHttpMethod]{ + OutputState: in.ToHttpRequestHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP method to use for the request. When specified, it overrides HttpRequest for the task. Note that if the value is set to HttpMethod the HttpRequest of the task will be ignored at execution time. type HttpTargetHttpMethod string @@ -450,6 +487,12 @@ func (o HttpTargetHttpMethodOutput) ToHttpTargetHttpMethodPtrOutputWithContext(c }).(HttpTargetHttpMethodPtrOutput) } +func (o HttpTargetHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTargetHttpMethod] { + return pulumix.Output[HttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -485,6 +528,12 @@ func (o HttpTargetHttpMethodPtrOutput) ToHttpTargetHttpMethodPtrOutputWithContex return o } +func (o HttpTargetHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpTargetHttpMethod] { + return pulumix.Output[*HttpTargetHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetHttpMethodPtrOutput) Elem() HttpTargetHttpMethodOutput { return o.ApplyT(func(v *HttpTargetHttpMethod) HttpTargetHttpMethod { if v != nil { @@ -547,6 +596,12 @@ func (in *httpTargetHttpMethodPtr) ToHttpTargetHttpMethodPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(HttpTargetHttpMethodPtrOutput) } +func (in *httpTargetHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*HttpTargetHttpMethod] { + return pulumix.Output[*HttpTargetHttpMethod]{ + OutputState: in.ToHttpTargetHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The type of a queue (push or pull). `Queue.type` is an immutable property of the queue that is set at the queue creation time. When left unspecified, the default value of `PUSH` is selected. type QueueType string @@ -619,6 +674,12 @@ func (o QueueTypeOutput) ToQueueTypePtrOutputWithContext(ctx context.Context) Qu }).(QueueTypePtrOutput) } +func (o QueueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[QueueType] { + return pulumix.Output[QueueType]{ + OutputState: o.OutputState, + } +} + func (o QueueTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -654,6 +715,12 @@ func (o QueueTypePtrOutput) ToQueueTypePtrOutputWithContext(ctx context.Context) return o } +func (o QueueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueType] { + return pulumix.Output[*QueueType]{ + OutputState: o.OutputState, + } +} + func (o QueueTypePtrOutput) Elem() QueueTypeOutput { return o.ApplyT(func(v *QueueType) QueueType { if v != nil { @@ -716,6 +783,12 @@ func (in *queueTypePtr) ToQueueTypePtrOutputWithContext(ctx context.Context) Que return pulumi.ToOutputWithContext(ctx, in).(QueueTypePtrOutput) } +func (in *queueTypePtr) ToOutput(ctx context.Context) pulumix.Output[*QueueType] { + return pulumix.Output[*QueueType]{ + OutputState: in.ToQueueTypePtrOutputWithContext(ctx).OutputState, + } +} + // The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource. type TaskResponseView string @@ -788,6 +861,12 @@ func (o TaskResponseViewOutput) ToTaskResponseViewPtrOutputWithContext(ctx conte }).(TaskResponseViewPtrOutput) } +func (o TaskResponseViewOutput) ToOutput(ctx context.Context) pulumix.Output[TaskResponseView] { + return pulumix.Output[TaskResponseView]{ + OutputState: o.OutputState, + } +} + func (o TaskResponseViewOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -823,6 +902,12 @@ func (o TaskResponseViewPtrOutput) ToTaskResponseViewPtrOutputWithContext(ctx co return o } +func (o TaskResponseViewPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TaskResponseView] { + return pulumix.Output[*TaskResponseView]{ + OutputState: o.OutputState, + } +} + func (o TaskResponseViewPtrOutput) Elem() TaskResponseViewOutput { return o.ApplyT(func(v *TaskResponseView) TaskResponseView { if v != nil { @@ -885,6 +970,12 @@ func (in *taskResponseViewPtr) ToTaskResponseViewPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(TaskResponseViewPtrOutput) } +func (in *taskResponseViewPtr) ToOutput(ctx context.Context) pulumix.Output[*TaskResponseView] { + return pulumix.Output[*TaskResponseView]{ + OutputState: in.ToTaskResponseViewPtrOutputWithContext(ctx).OutputState, + } +} + // Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS). type UriOverrideScheme string @@ -957,6 +1048,12 @@ func (o UriOverrideSchemeOutput) ToUriOverrideSchemePtrOutputWithContext(ctx con }).(UriOverrideSchemePtrOutput) } +func (o UriOverrideSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[UriOverrideScheme] { + return pulumix.Output[UriOverrideScheme]{ + OutputState: o.OutputState, + } +} + func (o UriOverrideSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -992,6 +1089,12 @@ func (o UriOverrideSchemePtrOutput) ToUriOverrideSchemePtrOutputWithContext(ctx return o } +func (o UriOverrideSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UriOverrideScheme] { + return pulumix.Output[*UriOverrideScheme]{ + OutputState: o.OutputState, + } +} + func (o UriOverrideSchemePtrOutput) Elem() UriOverrideSchemeOutput { return o.ApplyT(func(v *UriOverrideScheme) UriOverrideScheme { if v != nil { @@ -1054,6 +1157,12 @@ func (in *uriOverrideSchemePtr) ToUriOverrideSchemePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(UriOverrideSchemePtrOutput) } +func (in *uriOverrideSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*UriOverrideScheme] { + return pulumix.Output[*UriOverrideScheme]{ + OutputState: in.ToUriOverrideSchemePtrOutputWithContext(ctx).OutputState, + } +} + // URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS. type UriOverrideUriOverrideEnforceMode string @@ -1126,6 +1235,12 @@ func (o UriOverrideUriOverrideEnforceModeOutput) ToUriOverrideUriOverrideEnforce }).(UriOverrideUriOverrideEnforceModePtrOutput) } +func (o UriOverrideUriOverrideEnforceModeOutput) ToOutput(ctx context.Context) pulumix.Output[UriOverrideUriOverrideEnforceMode] { + return pulumix.Output[UriOverrideUriOverrideEnforceMode]{ + OutputState: o.OutputState, + } +} + func (o UriOverrideUriOverrideEnforceModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1161,6 +1276,12 @@ func (o UriOverrideUriOverrideEnforceModePtrOutput) ToUriOverrideUriOverrideEnfo return o } +func (o UriOverrideUriOverrideEnforceModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UriOverrideUriOverrideEnforceMode] { + return pulumix.Output[*UriOverrideUriOverrideEnforceMode]{ + OutputState: o.OutputState, + } +} + func (o UriOverrideUriOverrideEnforceModePtrOutput) Elem() UriOverrideUriOverrideEnforceModeOutput { return o.ApplyT(func(v *UriOverrideUriOverrideEnforceMode) UriOverrideUriOverrideEnforceMode { if v != nil { @@ -1223,6 +1344,12 @@ func (in *uriOverrideUriOverrideEnforceModePtr) ToUriOverrideUriOverrideEnforceM return pulumi.ToOutputWithContext(ctx, in).(UriOverrideUriOverrideEnforceModePtrOutput) } +func (in *uriOverrideUriOverrideEnforceModePtr) ToOutput(ctx context.Context) pulumix.Output[*UriOverrideUriOverrideEnforceMode] { + return pulumix.Output[*UriOverrideUriOverrideEnforceMode]{ + OutputState: in.ToUriOverrideUriOverrideEnforceModePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AppEngineHttpRequestHttpMethodInput)(nil)).Elem(), AppEngineHttpRequestHttpMethod("HTTP_METHOD_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AppEngineHttpRequestHttpMethodPtrInput)(nil)).Elem(), AppEngineHttpRequestHttpMethod("HTTP_METHOD_UNSPECIFIED")) diff --git a/sdk/go/google/cloudtasks/v2beta3/pulumiTypes.go b/sdk/go/google/cloudtasks/v2beta3/pulumiTypes.go index f5582d4add..fd8e14e769 100644 --- a/sdk/go/google/cloudtasks/v2beta3/pulumiTypes.go +++ b/sdk/go/google/cloudtasks/v2beta3/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i AppEngineHttpQueueArgs) ToAppEngineHttpQueueOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpQueueOutput) } +func (i AppEngineHttpQueueArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpQueue] { + return pulumix.Output[AppEngineHttpQueue]{ + OutputState: i.ToAppEngineHttpQueueOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineHttpQueueArgs) ToAppEngineHttpQueuePtrOutput() AppEngineHttpQueuePtrOutput { return i.ToAppEngineHttpQueuePtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *appEngineHttpQueuePtrType) ToAppEngineHttpQueuePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpQueuePtrOutput) } +func (i *appEngineHttpQueuePtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpQueue] { + return pulumix.Output[*AppEngineHttpQueue]{ + OutputState: i.ToAppEngineHttpQueuePtrOutputWithContext(ctx).OutputState, + } +} + // App Engine HTTP queue. The task will be delivered to the App Engine application hostname specified by its AppEngineHttpQueue and AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how the task's host URL is constructed. Using AppEngineHttpQueue requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform` type AppEngineHttpQueueOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o AppEngineHttpQueueOutput) ToAppEngineHttpQueuePtrOutputWithContext(ctx c }).(AppEngineHttpQueuePtrOutput) } +func (o AppEngineHttpQueueOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpQueue] { + return pulumix.Output[AppEngineHttpQueue]{ + OutputState: o.OutputState, + } +} + // Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o AppEngineHttpQueueOutput) AppEngineRoutingOverride() AppEngineRoutingPtrOutput { return o.ApplyT(func(v AppEngineHttpQueue) *AppEngineRouting { return v.AppEngineRoutingOverride }).(AppEngineRoutingPtrOutput) @@ -133,6 +152,12 @@ func (o AppEngineHttpQueuePtrOutput) ToAppEngineHttpQueuePtrOutputWithContext(ct return o } +func (o AppEngineHttpQueuePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpQueue] { + return pulumix.Output[*AppEngineHttpQueue]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpQueuePtrOutput) Elem() AppEngineHttpQueueOutput { return o.ApplyT(func(v *AppEngineHttpQueue) AppEngineHttpQueue { if v != nil { @@ -174,6 +199,12 @@ func (o AppEngineHttpQueueResponseOutput) ToAppEngineHttpQueueResponseOutputWith return o } +func (o AppEngineHttpQueueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpQueueResponse] { + return pulumix.Output[AppEngineHttpQueueResponse]{ + OutputState: o.OutputState, + } +} + // Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o AppEngineHttpQueueResponseOutput) AppEngineRoutingOverride() AppEngineRoutingResponseOutput { return o.ApplyT(func(v AppEngineHttpQueueResponse) AppEngineRoutingResponse { return v.AppEngineRoutingOverride }).(AppEngineRoutingResponseOutput) @@ -230,6 +261,12 @@ func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpRequestOutput) } +func (i AppEngineHttpRequestArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequest] { + return pulumix.Output[AppEngineHttpRequest]{ + OutputState: i.ToAppEngineHttpRequestOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineHttpRequestArgs) ToAppEngineHttpRequestPtrOutput() AppEngineHttpRequestPtrOutput { return i.ToAppEngineHttpRequestPtrOutputWithContext(context.Background()) } @@ -271,6 +308,12 @@ func (i *appEngineHttpRequestPtrType) ToAppEngineHttpRequestPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AppEngineHttpRequestPtrOutput) } +func (i *appEngineHttpRequestPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequest] { + return pulumix.Output[*AppEngineHttpRequest]{ + OutputState: i.ToAppEngineHttpRequestPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine HTTP request. The message defines the HTTP request that is sent to an App Engine app when the task is dispatched. Using AppEngineHttpRequest requires [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) Google IAM permission for the project and the following scope: `https://www.googleapis.com/auth/cloud-platform` The task will be delivered to the App Engine app which belongs to the same project as the queue. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and how routing is affected by [dispatch files](https://cloud.google.com/appengine/docs/python/config/dispatchref). Traffic is encrypted during transport and never leaves Google datacenters. Because this traffic is carried over a communication mechanism internal to Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). The request to the handler, however, will appear to have used the HTTP protocol. The AppEngineRouting used to construct the URL that the task is delivered to can be set at the queue-level or task-level: * If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. The `url` that the task will be sent to is: * `url =` host `+` relative_uri Tasks can be dispatched to secure app handlers, unsecure app handlers, and URIs restricted with [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref). Because tasks are not run as any user, they cannot be dispatched to URIs restricted with [`login: required`](https://cloud.google.com/appengine/docs/standard/python/config/appref) Task dispatches also do not follow redirects. The task attempt has succeeded if the app's request handler returns an HTTP response code in the range [`200` - `299`]. The task attempt has failed if the app's handler returns a non-2xx response code or Cloud Tasks does not receive response before the deadline. Failed tasks will be retried according to the retry configuration. `503` (Service Unavailable) is considered an App Engine system error instead of an application error and will cause Cloud Tasks' traffic congestion control to temporarily throttle the queue's dispatches. Unlike other types of task targets, a `429` (Too Many Requests) response from an app handler does not cause traffic congestion control to throttle the queue. type AppEngineHttpRequestOutput struct{ *pulumi.OutputState } @@ -296,6 +339,12 @@ func (o AppEngineHttpRequestOutput) ToAppEngineHttpRequestPtrOutputWithContext(c }).(AppEngineHttpRequestPtrOutput) } +func (o AppEngineHttpRequestOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequest] { + return pulumix.Output[AppEngineHttpRequest]{ + OutputState: o.OutputState, + } +} + // Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o AppEngineHttpRequestOutput) AppEngineRouting() AppEngineRoutingPtrOutput { return o.ApplyT(func(v AppEngineHttpRequest) *AppEngineRouting { return v.AppEngineRouting }).(AppEngineRoutingPtrOutput) @@ -335,6 +384,12 @@ func (o AppEngineHttpRequestPtrOutput) ToAppEngineHttpRequestPtrOutputWithContex return o } +func (o AppEngineHttpRequestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineHttpRequest] { + return pulumix.Output[*AppEngineHttpRequest]{ + OutputState: o.OutputState, + } +} + func (o AppEngineHttpRequestPtrOutput) Elem() AppEngineHttpRequestOutput { return o.ApplyT(func(v *AppEngineHttpRequest) AppEngineHttpRequest { if v != nil { @@ -424,6 +479,12 @@ func (o AppEngineHttpRequestResponseOutput) ToAppEngineHttpRequestResponseOutput return o } +func (o AppEngineHttpRequestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineHttpRequestResponse] { + return pulumix.Output[AppEngineHttpRequestResponse]{ + OutputState: o.OutputState, + } +} + // Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level app_engine_routing. func (o AppEngineHttpRequestResponseOutput) AppEngineRouting() AppEngineRoutingResponseOutput { return o.ApplyT(func(v AppEngineHttpRequestResponse) AppEngineRoutingResponse { return v.AppEngineRouting }).(AppEngineRoutingResponseOutput) @@ -492,6 +553,12 @@ func (i AppEngineRoutingArgs) ToAppEngineRoutingOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AppEngineRoutingOutput) } +func (i AppEngineRoutingArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineRouting] { + return pulumix.Output[AppEngineRouting]{ + OutputState: i.ToAppEngineRoutingOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineRoutingArgs) ToAppEngineRoutingPtrOutput() AppEngineRoutingPtrOutput { return i.ToAppEngineRoutingPtrOutputWithContext(context.Background()) } @@ -533,6 +600,12 @@ func (i *appEngineRoutingPtrType) ToAppEngineRoutingPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AppEngineRoutingPtrOutput) } +func (i *appEngineRoutingPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineRouting] { + return pulumix.Output[*AppEngineRouting]{ + OutputState: i.ToAppEngineRoutingPtrOutputWithContext(ctx).OutputState, + } +} + // App Engine Routing. Defines routing characteristics specific to App Engine - service, version, and instance. For more information about services, versions, and instances see [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture on Google App Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine), [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). type AppEngineRoutingOutput struct{ *pulumi.OutputState } @@ -558,6 +631,12 @@ func (o AppEngineRoutingOutput) ToAppEngineRoutingPtrOutputWithContext(ctx conte }).(AppEngineRoutingPtrOutput) } +func (o AppEngineRoutingOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineRouting] { + return pulumix.Output[AppEngineRouting]{ + OutputState: o.OutputState, + } +} + // App instance. By default, the task is sent to an instance which is available when the task is attempted. Requests can only be sent to a specific instance if [manual scaling is used in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). App Engine Flex does not support instances. For more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). func (o AppEngineRoutingOutput) Instance() pulumi.StringPtrOutput { return o.ApplyT(func(v AppEngineRouting) *string { return v.Instance }).(pulumi.StringPtrOutput) @@ -587,6 +666,12 @@ func (o AppEngineRoutingPtrOutput) ToAppEngineRoutingPtrOutputWithContext(ctx co return o } +func (o AppEngineRoutingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineRouting] { + return pulumix.Output[*AppEngineRouting]{ + OutputState: o.OutputState, + } +} + func (o AppEngineRoutingPtrOutput) Elem() AppEngineRoutingOutput { return o.ApplyT(func(v *AppEngineRouting) AppEngineRouting { if v != nil { @@ -654,6 +739,12 @@ func (o AppEngineRoutingResponseOutput) ToAppEngineRoutingResponseOutputWithCont return o } +func (o AppEngineRoutingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineRoutingResponse] { + return pulumix.Output[AppEngineRoutingResponse]{ + OutputState: o.OutputState, + } +} + // The host that the task is sent to. The host is constructed from the domain name of the app associated with the queue's project ID (for example .appspot.com), and the service, version, and instance. Tasks which were created using the App Engine SDK might have a custom domain name. For more information, see [How Requests are Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). func (o AppEngineRoutingResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v AppEngineRoutingResponse) string { return v.Host }).(pulumi.StringOutput) @@ -701,6 +792,12 @@ func (o AttemptResponseOutput) ToAttemptResponseOutputWithContext(ctx context.Co return o } +func (o AttemptResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttemptResponse] { + return pulumix.Output[AttemptResponse]{ + OutputState: o.OutputState, + } +} + // The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond. func (o AttemptResponseOutput) DispatchTime() pulumi.StringOutput { return o.ApplyT(func(v AttemptResponse) string { return v.DispatchTime }).(pulumi.StringOutput) @@ -764,6 +861,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -789,6 +892,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -804,6 +913,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -833,6 +948,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -864,6 +985,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -893,6 +1020,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -946,6 +1079,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -987,6 +1126,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1012,6 +1157,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1046,6 +1197,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1123,6 +1280,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1182,6 +1345,12 @@ func (i HeaderArgs) ToHeaderOutputWithContext(ctx context.Context) HeaderOutput return pulumi.ToOutputWithContext(ctx, i).(HeaderOutput) } +func (i HeaderArgs) ToOutput(ctx context.Context) pulumix.Output[Header] { + return pulumix.Output[Header]{ + OutputState: i.ToHeaderOutputWithContext(ctx).OutputState, + } +} + func (i HeaderArgs) ToHeaderPtrOutput() HeaderPtrOutput { return i.ToHeaderPtrOutputWithContext(context.Background()) } @@ -1223,6 +1392,12 @@ func (i *headerPtrType) ToHeaderPtrOutputWithContext(ctx context.Context) Header return pulumi.ToOutputWithContext(ctx, i).(HeaderPtrOutput) } +func (i *headerPtrType) ToOutput(ctx context.Context) pulumix.Output[*Header] { + return pulumix.Output[*Header]{ + OutputState: i.ToHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Defines a header message. A header can have a key and a value. type HeaderOutput struct{ *pulumi.OutputState } @@ -1248,6 +1423,12 @@ func (o HeaderOutput) ToHeaderPtrOutputWithContext(ctx context.Context) HeaderPt }).(HeaderPtrOutput) } +func (o HeaderOutput) ToOutput(ctx context.Context) pulumix.Output[Header] { + return pulumix.Output[Header]{ + OutputState: o.OutputState, + } +} + // The Key of the header. func (o HeaderOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v Header) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -1272,6 +1453,12 @@ func (o HeaderPtrOutput) ToHeaderPtrOutputWithContext(ctx context.Context) Heade return o } +func (o HeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Header] { + return pulumix.Output[*Header]{ + OutputState: o.OutputState, + } +} + func (o HeaderPtrOutput) Elem() HeaderOutput { return o.ApplyT(func(v *Header) Header { if v != nil { @@ -1337,6 +1524,12 @@ func (i HeaderOverrideArgs) ToHeaderOverrideOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(HeaderOverrideOutput) } +func (i HeaderOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[HeaderOverride] { + return pulumix.Output[HeaderOverride]{ + OutputState: i.ToHeaderOverrideOutputWithContext(ctx).OutputState, + } +} + // HeaderOverrideArrayInput is an input type that accepts HeaderOverrideArray and HeaderOverrideArrayOutput values. // You can construct a concrete instance of `HeaderOverrideArrayInput` via: // @@ -1362,6 +1555,12 @@ func (i HeaderOverrideArray) ToHeaderOverrideArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(HeaderOverrideArrayOutput) } +func (i HeaderOverrideArray) ToOutput(ctx context.Context) pulumix.Output[[]HeaderOverride] { + return pulumix.Output[[]HeaderOverride]{ + OutputState: i.ToHeaderOverrideArrayOutputWithContext(ctx).OutputState, + } +} + // Wraps the Header object. type HeaderOverrideOutput struct{ *pulumi.OutputState } @@ -1377,6 +1576,12 @@ func (o HeaderOverrideOutput) ToHeaderOverrideOutputWithContext(ctx context.Cont return o } +func (o HeaderOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[HeaderOverride] { + return pulumix.Output[HeaderOverride]{ + OutputState: o.OutputState, + } +} + // header embodying a key and a value. func (o HeaderOverrideOutput) Header() HeaderPtrOutput { return o.ApplyT(func(v HeaderOverride) *Header { return v.Header }).(HeaderPtrOutput) @@ -1396,6 +1601,12 @@ func (o HeaderOverrideArrayOutput) ToHeaderOverrideArrayOutputWithContext(ctx co return o } +func (o HeaderOverrideArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HeaderOverride] { + return pulumix.Output[[]HeaderOverride]{ + OutputState: o.OutputState, + } +} + func (o HeaderOverrideArrayOutput) Index(i pulumi.IntInput) HeaderOverrideOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HeaderOverride { return vs[0].([]HeaderOverride)[vs[1].(int)] @@ -1423,6 +1634,12 @@ func (o HeaderOverrideResponseOutput) ToHeaderOverrideResponseOutputWithContext( return o } +func (o HeaderOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HeaderOverrideResponse] { + return pulumix.Output[HeaderOverrideResponse]{ + OutputState: o.OutputState, + } +} + // header embodying a key and a value. func (o HeaderOverrideResponseOutput) Header() HeaderResponseOutput { return o.ApplyT(func(v HeaderOverrideResponse) HeaderResponse { return v.Header }).(HeaderResponseOutput) @@ -1442,6 +1659,12 @@ func (o HeaderOverrideResponseArrayOutput) ToHeaderOverrideResponseArrayOutputWi return o } +func (o HeaderOverrideResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HeaderOverrideResponse] { + return pulumix.Output[[]HeaderOverrideResponse]{ + OutputState: o.OutputState, + } +} + func (o HeaderOverrideResponseArrayOutput) Index(i pulumi.IntInput) HeaderOverrideResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HeaderOverrideResponse { return vs[0].([]HeaderOverrideResponse)[vs[1].(int)] @@ -1471,6 +1694,12 @@ func (o HeaderResponseOutput) ToHeaderResponseOutputWithContext(ctx context.Cont return o } +func (o HeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HeaderResponse] { + return pulumix.Output[HeaderResponse]{ + OutputState: o.OutputState, + } +} + // The Key of the header. func (o HeaderResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v HeaderResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1536,6 +1765,12 @@ func (i HttpRequestArgs) ToHttpRequestOutputWithContext(ctx context.Context) Htt return pulumi.ToOutputWithContext(ctx, i).(HttpRequestOutput) } +func (i HttpRequestArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRequest] { + return pulumix.Output[HttpRequest]{ + OutputState: i.ToHttpRequestOutputWithContext(ctx).OutputState, + } +} + func (i HttpRequestArgs) ToHttpRequestPtrOutput() HttpRequestPtrOutput { return i.ToHttpRequestPtrOutputWithContext(context.Background()) } @@ -1577,6 +1812,12 @@ func (i *httpRequestPtrType) ToHttpRequestPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(HttpRequestPtrOutput) } +func (i *httpRequestPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRequest] { + return pulumix.Output[*HttpRequest]{ + OutputState: i.ToHttpRequestPtrOutputWithContext(ctx).OutputState, + } +} + // HTTP request. The task will be pushed to the worker as an HTTP request. If the worker or the redirected worker acknowledges the task by returning a successful HTTP response code ([`200` - `299`]), the task will be removed from the queue. If any other HTTP response code is returned or no response is received, the task will be retried according to the following: * User-specified throttling: retry configuration, rate limits, and the queue's state. * System throttling: To prevent the worker from overloading, Cloud Tasks may temporarily reduce the queue's effective rate. User-specified settings will not be changed. System throttling happens because: * Cloud Tasks backs off on all errors. Normally the backoff specified in rate limits will be used. But if the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or the rate of errors is high, Cloud Tasks will use a higher backoff rate. The retry specified in the `Retry-After` HTTP response header is considered. * To prevent traffic spikes and to smooth sudden increases in traffic, dispatches ramp up slowly when the queue is newly created or idle and if large numbers of tasks suddenly become available to dispatch (due to spikes in create task rates, the queue being unpaused, or many tasks that are scheduled at the same time). type HttpRequestOutput struct{ *pulumi.OutputState } @@ -1602,6 +1843,12 @@ func (o HttpRequestOutput) ToHttpRequestPtrOutputWithContext(ctx context.Context }).(HttpRequestPtrOutput) } +func (o HttpRequestOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRequest] { + return pulumix.Output[HttpRequest]{ + OutputState: o.OutputState, + } +} + // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod. func (o HttpRequestOutput) Body() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRequest) *string { return v.Body }).(pulumi.StringPtrOutput) @@ -1646,6 +1893,12 @@ func (o HttpRequestPtrOutput) ToHttpRequestPtrOutputWithContext(ctx context.Cont return o } +func (o HttpRequestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRequest] { + return pulumix.Output[*HttpRequest]{ + OutputState: o.OutputState, + } +} + func (o HttpRequestPtrOutput) Elem() HttpRequestOutput { return o.ApplyT(func(v *HttpRequest) HttpRequest { if v != nil { @@ -1747,6 +2000,12 @@ func (o HttpRequestResponseOutput) ToHttpRequestResponseOutputWithContext(ctx co return o } +func (o HttpRequestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRequestResponse] { + return pulumix.Output[HttpRequestResponse]{ + OutputState: o.OutputState, + } +} + // HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod. func (o HttpRequestResponseOutput) Body() pulumi.StringOutput { return o.ApplyT(func(v HttpRequestResponse) string { return v.Body }).(pulumi.StringOutput) @@ -1828,6 +2087,12 @@ func (i HttpTargetArgs) ToHttpTargetOutputWithContext(ctx context.Context) HttpT return pulumi.ToOutputWithContext(ctx, i).(HttpTargetOutput) } +func (i HttpTargetArgs) ToOutput(ctx context.Context) pulumix.Output[HttpTarget] { + return pulumix.Output[HttpTarget]{ + OutputState: i.ToHttpTargetOutputWithContext(ctx).OutputState, + } +} + func (i HttpTargetArgs) ToHttpTargetPtrOutput() HttpTargetPtrOutput { return i.ToHttpTargetPtrOutputWithContext(context.Background()) } @@ -1869,6 +2134,12 @@ func (i *httpTargetPtrType) ToHttpTargetPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(HttpTargetPtrOutput) } +func (i *httpTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpTarget] { + return pulumix.Output[*HttpTarget]{ + OutputState: i.ToHttpTargetPtrOutputWithContext(ctx).OutputState, + } +} + // HTTP target. When specified as a Queue, all the tasks with [HttpRequest] will be overridden according to the target. type HttpTargetOutput struct{ *pulumi.OutputState } @@ -1894,6 +2165,12 @@ func (o HttpTargetOutput) ToHttpTargetPtrOutputWithContext(ctx context.Context) }).(HttpTargetPtrOutput) } +func (o HttpTargetOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTarget] { + return pulumix.Output[HttpTarget]{ + OutputState: o.OutputState, + } +} + // HTTP target headers. This map contains the header field names and values. Headers will be set when running the CreateTask and/or BufferTask. These headers represent a subset of the headers that will be configured for the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Several predefined headers, prefixed with "X-CloudTasks-", can be used to define properties of the task. * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example,`Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. The default value is set to "application/json"` . * User-Agent: This will be set to `"Google-Cloud-Tasks"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue. func (o HttpTargetOutput) HeaderOverrides() HeaderOverrideArrayOutput { return o.ApplyT(func(v HttpTarget) []HeaderOverride { return v.HeaderOverrides }).(HeaderOverrideArrayOutput) @@ -1933,6 +2210,12 @@ func (o HttpTargetPtrOutput) ToHttpTargetPtrOutputWithContext(ctx context.Contex return o } +func (o HttpTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpTarget] { + return pulumix.Output[*HttpTarget]{ + OutputState: o.OutputState, + } +} + func (o HttpTargetPtrOutput) Elem() HttpTargetOutput { return o.ApplyT(func(v *HttpTarget) HttpTarget { if v != nil { @@ -2022,6 +2305,12 @@ func (o HttpTargetResponseOutput) ToHttpTargetResponseOutputWithContext(ctx cont return o } +func (o HttpTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpTargetResponse] { + return pulumix.Output[HttpTargetResponse]{ + OutputState: o.OutputState, + } +} + // HTTP target headers. This map contains the header field names and values. Headers will be set when running the CreateTask and/or BufferTask. These headers represent a subset of the headers that will be configured for the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Several predefined headers, prefixed with "X-CloudTasks-", can be used to define properties of the task. * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length: This will be computed by Cloud Tasks. `Content-Type` won't be set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the task is created. For example,`Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. The default value is set to "application/json"` . * User-Agent: This will be set to `"Google-Cloud-Tasks"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue. func (o HttpTargetResponseOutput) HeaderOverrides() HeaderOverrideResponseArrayOutput { return o.ApplyT(func(v HttpTargetResponse) []HeaderOverrideResponse { return v.HeaderOverrides }).(HeaderOverrideResponseArrayOutput) @@ -2086,6 +2375,12 @@ func (i OAuthTokenArgs) ToOAuthTokenOutputWithContext(ctx context.Context) OAuth return pulumi.ToOutputWithContext(ctx, i).(OAuthTokenOutput) } +func (i OAuthTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OAuthToken] { + return pulumix.Output[OAuthToken]{ + OutputState: i.ToOAuthTokenOutputWithContext(ctx).OutputState, + } +} + func (i OAuthTokenArgs) ToOAuthTokenPtrOutput() OAuthTokenPtrOutput { return i.ToOAuthTokenPtrOutputWithContext(context.Background()) } @@ -2127,6 +2422,12 @@ func (i *oauthTokenPtrType) ToOAuthTokenPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(OAuthTokenPtrOutput) } +func (i *oauthTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OAuthToken] { + return pulumix.Output[*OAuthToken]{ + OutputState: i.ToOAuthTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OAuth token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com. type OAuthTokenOutput struct{ *pulumi.OutputState } @@ -2152,6 +2453,12 @@ func (o OAuthTokenOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Context) }).(OAuthTokenPtrOutput) } +func (o OAuthTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthToken] { + return pulumix.Output[OAuthToken]{ + OutputState: o.OutputState, + } +} + // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. func (o OAuthTokenOutput) Scope() pulumi.StringPtrOutput { return o.ApplyT(func(v OAuthToken) *string { return v.Scope }).(pulumi.StringPtrOutput) @@ -2176,6 +2483,12 @@ func (o OAuthTokenPtrOutput) ToOAuthTokenPtrOutputWithContext(ctx context.Contex return o } +func (o OAuthTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OAuthToken] { + return pulumix.Output[*OAuthToken]{ + OutputState: o.OutputState, + } +} + func (o OAuthTokenPtrOutput) Elem() OAuthTokenOutput { return o.ApplyT(func(v *OAuthToken) OAuthToken { if v != nil { @@ -2229,6 +2542,12 @@ func (o OAuthTokenResponseOutput) ToOAuthTokenResponseOutputWithContext(ctx cont return o } +func (o OAuthTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthTokenResponse] { + return pulumix.Output[OAuthTokenResponse]{ + OutputState: o.OutputState, + } +} + // OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. func (o OAuthTokenResponseOutput) Scope() pulumi.StringOutput { return o.ApplyT(func(v OAuthTokenResponse) string { return v.Scope }).(pulumi.StringOutput) @@ -2278,6 +2597,12 @@ func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTok return pulumi.ToOutputWithContext(ctx, i).(OidcTokenOutput) } +func (i OidcTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: i.ToOidcTokenOutputWithContext(ctx).OutputState, + } +} + func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput { return i.ToOidcTokenPtrOutputWithContext(context.Background()) } @@ -2319,6 +2644,12 @@ func (i *oidcTokenPtrType) ToOidcTokenPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OidcTokenPtrOutput) } +func (i *oidcTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: i.ToOidcTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. type OidcTokenOutput struct{ *pulumi.OutputState } @@ -2344,6 +2675,12 @@ func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) Oi }).(OidcTokenPtrOutput) } +func (o OidcTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput { return o.ApplyT(func(v OidcToken) *string { return v.Audience }).(pulumi.StringPtrOutput) @@ -2368,6 +2705,12 @@ func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) return o } +func (o OidcTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: o.OutputState, + } +} + func (o OidcTokenPtrOutput) Elem() OidcTokenOutput { return o.ApplyT(func(v *OidcToken) OidcToken { if v != nil { @@ -2421,6 +2764,12 @@ func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx contex return o } +func (o OidcTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OidcTokenResponse] { + return pulumix.Output[OidcTokenResponse]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput { return o.ApplyT(func(v OidcTokenResponse) string { return v.Audience }).(pulumi.StringOutput) @@ -2466,6 +2815,12 @@ func (i PathOverrideArgs) ToPathOverrideOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PathOverrideOutput) } +func (i PathOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[PathOverride] { + return pulumix.Output[PathOverride]{ + OutputState: i.ToPathOverrideOutputWithContext(ctx).OutputState, + } +} + func (i PathOverrideArgs) ToPathOverridePtrOutput() PathOverridePtrOutput { return i.ToPathOverridePtrOutputWithContext(context.Background()) } @@ -2507,6 +2862,12 @@ func (i *pathOverridePtrType) ToPathOverridePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PathOverridePtrOutput) } +func (i *pathOverridePtrType) ToOutput(ctx context.Context) pulumix.Output[*PathOverride] { + return pulumix.Output[*PathOverride]{ + OutputState: i.ToPathOverridePtrOutputWithContext(ctx).OutputState, + } +} + // PathOverride. Path message defines path override for HTTP targets. type PathOverrideOutput struct{ *pulumi.OutputState } @@ -2532,6 +2893,12 @@ func (o PathOverrideOutput) ToPathOverridePtrOutputWithContext(ctx context.Conte }).(PathOverridePtrOutput) } +func (o PathOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[PathOverride] { + return pulumix.Output[PathOverride]{ + OutputState: o.OutputState, + } +} + // The URI path (e.g., /users/1234). Default is an empty string. func (o PathOverrideOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v PathOverride) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -2551,6 +2918,12 @@ func (o PathOverridePtrOutput) ToPathOverridePtrOutputWithContext(ctx context.Co return o } +func (o PathOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PathOverride] { + return pulumix.Output[*PathOverride]{ + OutputState: o.OutputState, + } +} + func (o PathOverridePtrOutput) Elem() PathOverrideOutput { return o.ApplyT(func(v *PathOverride) PathOverride { if v != nil { @@ -2592,6 +2965,12 @@ func (o PathOverrideResponseOutput) ToPathOverrideResponseOutputWithContext(ctx return o } +func (o PathOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PathOverrideResponse] { + return pulumix.Output[PathOverrideResponse]{ + OutputState: o.OutputState, + } +} + // The URI path (e.g., /users/1234). Default is an empty string. func (o PathOverrideResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v PathOverrideResponse) string { return v.Path }).(pulumi.StringOutput) @@ -2636,6 +3015,12 @@ func (i PullMessageArgs) ToPullMessageOutputWithContext(ctx context.Context) Pul return pulumi.ToOutputWithContext(ctx, i).(PullMessageOutput) } +func (i PullMessageArgs) ToOutput(ctx context.Context) pulumix.Output[PullMessage] { + return pulumix.Output[PullMessage]{ + OutputState: i.ToPullMessageOutputWithContext(ctx).OutputState, + } +} + func (i PullMessageArgs) ToPullMessagePtrOutput() PullMessagePtrOutput { return i.ToPullMessagePtrOutputWithContext(context.Background()) } @@ -2677,6 +3062,12 @@ func (i *pullMessagePtrType) ToPullMessagePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PullMessagePtrOutput) } +func (i *pullMessagePtrType) ToOutput(ctx context.Context) pulumix.Output[*PullMessage] { + return pulumix.Output[*PullMessage]{ + OutputState: i.ToPullMessagePtrOutputWithContext(ctx).OutputState, + } +} + // Pull Message. This proto can only be used for tasks in a queue which has PULL type. It currently exists for backwards compatibility with the App Engine Task Queue SDK. This message type maybe returned with methods list and get, when the response view is FULL. type PullMessageOutput struct{ *pulumi.OutputState } @@ -2702,6 +3093,12 @@ func (o PullMessageOutput) ToPullMessagePtrOutputWithContext(ctx context.Context }).(PullMessagePtrOutput) } +func (o PullMessageOutput) ToOutput(ctx context.Context) pulumix.Output[PullMessage] { + return pulumix.Output[PullMessage]{ + OutputState: o.OutputState, + } +} + // A data payload consumed by the worker to execute the task. func (o PullMessageOutput) Payload() pulumi.StringPtrOutput { return o.ApplyT(func(v PullMessage) *string { return v.Payload }).(pulumi.StringPtrOutput) @@ -2726,6 +3123,12 @@ func (o PullMessagePtrOutput) ToPullMessagePtrOutputWithContext(ctx context.Cont return o } +func (o PullMessagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PullMessage] { + return pulumix.Output[*PullMessage]{ + OutputState: o.OutputState, + } +} + func (o PullMessagePtrOutput) Elem() PullMessageOutput { return o.ApplyT(func(v *PullMessage) PullMessage { if v != nil { @@ -2779,6 +3182,12 @@ func (o PullMessageResponseOutput) ToPullMessageResponseOutputWithContext(ctx co return o } +func (o PullMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PullMessageResponse] { + return pulumix.Output[PullMessageResponse]{ + OutputState: o.OutputState, + } +} + // A data payload consumed by the worker to execute the task. func (o PullMessageResponseOutput) Payload() pulumi.StringOutput { return o.ApplyT(func(v PullMessageResponse) string { return v.Payload }).(pulumi.StringOutput) @@ -2824,6 +3233,12 @@ func (i QueryOverrideArgs) ToQueryOverrideOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueryOverrideOutput) } +func (i QueryOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[QueryOverride] { + return pulumix.Output[QueryOverride]{ + OutputState: i.ToQueryOverrideOutputWithContext(ctx).OutputState, + } +} + func (i QueryOverrideArgs) ToQueryOverridePtrOutput() QueryOverridePtrOutput { return i.ToQueryOverridePtrOutputWithContext(context.Background()) } @@ -2865,6 +3280,12 @@ func (i *queryOverridePtrType) ToQueryOverridePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(QueryOverridePtrOutput) } +func (i *queryOverridePtrType) ToOutput(ctx context.Context) pulumix.Output[*QueryOverride] { + return pulumix.Output[*QueryOverride]{ + OutputState: i.ToQueryOverridePtrOutputWithContext(ctx).OutputState, + } +} + // QueryOverride. Query message defines query override for HTTP targets. type QueryOverrideOutput struct{ *pulumi.OutputState } @@ -2890,6 +3311,12 @@ func (o QueryOverrideOutput) ToQueryOverridePtrOutputWithContext(ctx context.Con }).(QueryOverridePtrOutput) } +func (o QueryOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[QueryOverride] { + return pulumix.Output[QueryOverride]{ + OutputState: o.OutputState, + } +} + // The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string. func (o QueryOverrideOutput) QueryParams() pulumi.StringPtrOutput { return o.ApplyT(func(v QueryOverride) *string { return v.QueryParams }).(pulumi.StringPtrOutput) @@ -2909,6 +3336,12 @@ func (o QueryOverridePtrOutput) ToQueryOverridePtrOutputWithContext(ctx context. return o } +func (o QueryOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueryOverride] { + return pulumix.Output[*QueryOverride]{ + OutputState: o.OutputState, + } +} + func (o QueryOverridePtrOutput) Elem() QueryOverrideOutput { return o.ApplyT(func(v *QueryOverride) QueryOverride { if v != nil { @@ -2950,6 +3383,12 @@ func (o QueryOverrideResponseOutput) ToQueryOverrideResponseOutputWithContext(ct return o } +func (o QueryOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryOverrideResponse] { + return pulumix.Output[QueryOverrideResponse]{ + OutputState: o.OutputState, + } +} + // The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string. func (o QueryOverrideResponseOutput) QueryParams() pulumi.StringOutput { return o.ApplyT(func(v QueryOverrideResponse) string { return v.QueryParams }).(pulumi.StringOutput) @@ -2984,6 +3423,12 @@ func (o QueueStatsResponseOutput) ToQueueStatsResponseOutputWithContext(ctx cont return o } +func (o QueueStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueueStatsResponse] { + return pulumix.Output[QueueStatsResponse]{ + OutputState: o.OutputState, + } +} + // The number of requests that the queue has dispatched but has not received a reply for yet. func (o QueueStatsResponseOutput) ConcurrentDispatchesCount() pulumi.StringOutput { return o.ApplyT(func(v QueueStatsResponse) string { return v.ConcurrentDispatchesCount }).(pulumi.StringOutput) @@ -3052,6 +3497,12 @@ func (i RateLimitsArgs) ToRateLimitsOutputWithContext(ctx context.Context) RateL return pulumi.ToOutputWithContext(ctx, i).(RateLimitsOutput) } +func (i RateLimitsArgs) ToOutput(ctx context.Context) pulumix.Output[RateLimits] { + return pulumix.Output[RateLimits]{ + OutputState: i.ToRateLimitsOutputWithContext(ctx).OutputState, + } +} + func (i RateLimitsArgs) ToRateLimitsPtrOutput() RateLimitsPtrOutput { return i.ToRateLimitsPtrOutputWithContext(context.Background()) } @@ -3093,6 +3544,12 @@ func (i *rateLimitsPtrType) ToRateLimitsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RateLimitsPtrOutput) } +func (i *rateLimitsPtrType) ToOutput(ctx context.Context) pulumix.Output[*RateLimits] { + return pulumix.Output[*RateLimits]{ + OutputState: i.ToRateLimitsPtrOutputWithContext(ctx).OutputState, + } +} + // Rate limits. This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits. type RateLimitsOutput struct{ *pulumi.OutputState } @@ -3118,6 +3575,12 @@ func (o RateLimitsOutput) ToRateLimitsPtrOutputWithContext(ctx context.Context) }).(RateLimitsPtrOutput) } +func (o RateLimitsOutput) ToOutput(ctx context.Context) pulumix.Output[RateLimits] { + return pulumix.Output[RateLimits]{ + OutputState: o.OutputState, + } +} + // The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on max_dispatches_per_second. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second. func (o RateLimitsOutput) MaxBurstSize() pulumi.IntPtrOutput { return o.ApplyT(func(v RateLimits) *int { return v.MaxBurstSize }).(pulumi.IntPtrOutput) @@ -3147,6 +3610,12 @@ func (o RateLimitsPtrOutput) ToRateLimitsPtrOutputWithContext(ctx context.Contex return o } +func (o RateLimitsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RateLimits] { + return pulumix.Output[*RateLimits]{ + OutputState: o.OutputState, + } +} + func (o RateLimitsPtrOutput) Elem() RateLimitsOutput { return o.ApplyT(func(v *RateLimits) RateLimits { if v != nil { @@ -3212,6 +3681,12 @@ func (o RateLimitsResponseOutput) ToRateLimitsResponseOutputWithContext(ctx cont return o } +func (o RateLimitsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RateLimitsResponse] { + return pulumix.Output[RateLimitsResponse]{ + OutputState: o.OutputState, + } +} + // The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on max_dispatches_per_second. The default value of `max_burst_size` is picked by Cloud Tasks based on the value of max_dispatches_per_second. The maximum value of `max_burst_size` is 500. For App Engine queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second. func (o RateLimitsResponseOutput) MaxBurstSize() pulumi.IntOutput { return o.ApplyT(func(v RateLimitsResponse) int { return v.MaxBurstSize }).(pulumi.IntOutput) @@ -3278,6 +3753,12 @@ func (i RetryConfigArgs) ToRetryConfigOutputWithContext(ctx context.Context) Ret return pulumi.ToOutputWithContext(ctx, i).(RetryConfigOutput) } +func (i RetryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RetryConfig] { + return pulumix.Output[RetryConfig]{ + OutputState: i.ToRetryConfigOutputWithContext(ctx).OutputState, + } +} + func (i RetryConfigArgs) ToRetryConfigPtrOutput() RetryConfigPtrOutput { return i.ToRetryConfigPtrOutputWithContext(context.Background()) } @@ -3319,6 +3800,12 @@ func (i *retryConfigPtrType) ToRetryConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RetryConfigPtrOutput) } +func (i *retryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RetryConfig] { + return pulumix.Output[*RetryConfig]{ + OutputState: i.ToRetryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Retry config. These settings determine when a failed task attempt is retried. type RetryConfigOutput struct{ *pulumi.OutputState } @@ -3344,6 +3831,12 @@ func (o RetryConfigOutput) ToRetryConfigPtrOutputWithContext(ctx context.Context }).(RetryConfigPtrOutput) } +func (o RetryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RetryConfig] { + return pulumix.Output[RetryConfig]{ + OutputState: o.OutputState, + } +} + // Number of attempts per task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). func (o RetryConfigOutput) MaxAttempts() pulumi.IntPtrOutput { return o.ApplyT(func(v RetryConfig) *int { return v.MaxAttempts }).(pulumi.IntPtrOutput) @@ -3383,6 +3876,12 @@ func (o RetryConfigPtrOutput) ToRetryConfigPtrOutputWithContext(ctx context.Cont return o } +func (o RetryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RetryConfig] { + return pulumix.Output[*RetryConfig]{ + OutputState: o.OutputState, + } +} + func (o RetryConfigPtrOutput) Elem() RetryConfigOutput { return o.ApplyT(func(v *RetryConfig) RetryConfig { if v != nil { @@ -3472,6 +3971,12 @@ func (o RetryConfigResponseOutput) ToRetryConfigResponseOutputWithContext(ctx co return o } +func (o RetryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RetryConfigResponse] { + return pulumix.Output[RetryConfigResponse]{ + OutputState: o.OutputState, + } +} + // Number of attempts per task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1` retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). func (o RetryConfigResponseOutput) MaxAttempts() pulumi.IntOutput { return o.ApplyT(func(v RetryConfigResponse) int { return v.MaxAttempts }).(pulumi.IntOutput) @@ -3532,6 +4037,12 @@ func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(StackdriverLoggingConfigOutput) } +func (i StackdriverLoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[StackdriverLoggingConfig] { + return pulumix.Output[StackdriverLoggingConfig]{ + OutputState: i.ToStackdriverLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i StackdriverLoggingConfigArgs) ToStackdriverLoggingConfigPtrOutput() StackdriverLoggingConfigPtrOutput { return i.ToStackdriverLoggingConfigPtrOutputWithContext(context.Background()) } @@ -3573,6 +4084,12 @@ func (i *stackdriverLoggingConfigPtrType) ToStackdriverLoggingConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(StackdriverLoggingConfigPtrOutput) } +func (i *stackdriverLoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*StackdriverLoggingConfig] { + return pulumix.Output[*StackdriverLoggingConfig]{ + OutputState: i.ToStackdriverLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). type StackdriverLoggingConfigOutput struct{ *pulumi.OutputState } @@ -3598,6 +4115,12 @@ func (o StackdriverLoggingConfigOutput) ToStackdriverLoggingConfigPtrOutputWithC }).(StackdriverLoggingConfigPtrOutput) } +func (o StackdriverLoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[StackdriverLoggingConfig] { + return pulumix.Output[StackdriverLoggingConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged. func (o StackdriverLoggingConfigOutput) SamplingRatio() pulumi.Float64PtrOutput { return o.ApplyT(func(v StackdriverLoggingConfig) *float64 { return v.SamplingRatio }).(pulumi.Float64PtrOutput) @@ -3617,6 +4140,12 @@ func (o StackdriverLoggingConfigPtrOutput) ToStackdriverLoggingConfigPtrOutputWi return o } +func (o StackdriverLoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackdriverLoggingConfig] { + return pulumix.Output[*StackdriverLoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o StackdriverLoggingConfigPtrOutput) Elem() StackdriverLoggingConfigOutput { return o.ApplyT(func(v *StackdriverLoggingConfig) StackdriverLoggingConfig { if v != nil { @@ -3658,6 +4187,12 @@ func (o StackdriverLoggingConfigResponseOutput) ToStackdriverLoggingConfigRespon return o } +func (o StackdriverLoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StackdriverLoggingConfigResponse] { + return pulumix.Output[StackdriverLoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0 is the default and means that no operations are logged. func (o StackdriverLoggingConfigResponseOutput) SamplingRatio() pulumi.Float64Output { return o.ApplyT(func(v StackdriverLoggingConfigResponse) float64 { return v.SamplingRatio }).(pulumi.Float64Output) @@ -3688,6 +4223,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -3758,6 +4299,12 @@ func (i UriOverrideArgs) ToUriOverrideOutputWithContext(ctx context.Context) Uri return pulumi.ToOutputWithContext(ctx, i).(UriOverrideOutput) } +func (i UriOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[UriOverride] { + return pulumix.Output[UriOverride]{ + OutputState: i.ToUriOverrideOutputWithContext(ctx).OutputState, + } +} + func (i UriOverrideArgs) ToUriOverridePtrOutput() UriOverridePtrOutput { return i.ToUriOverridePtrOutputWithContext(context.Background()) } @@ -3799,6 +4346,12 @@ func (i *uriOverridePtrType) ToUriOverridePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(UriOverridePtrOutput) } +func (i *uriOverridePtrType) ToOutput(ctx context.Context) pulumix.Output[*UriOverride] { + return pulumix.Output[*UriOverride]{ + OutputState: i.ToUriOverridePtrOutputWithContext(ctx).OutputState, + } +} + // URI Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. type UriOverrideOutput struct{ *pulumi.OutputState } @@ -3824,6 +4377,12 @@ func (o UriOverrideOutput) ToUriOverridePtrOutputWithContext(ctx context.Context }).(UriOverridePtrOutput) } +func (o UriOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[UriOverride] { + return pulumix.Output[UriOverride]{ + OutputState: o.OutputState, + } +} + // Host override. When specified, replaces the host part of the task URL. For example, if the task URL is "https://www.google.com," and host value is set to "example.net", the overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT). func (o UriOverrideOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v UriOverride) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -3868,6 +4427,12 @@ func (o UriOverridePtrOutput) ToUriOverridePtrOutputWithContext(ctx context.Cont return o } +func (o UriOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UriOverride] { + return pulumix.Output[*UriOverride]{ + OutputState: o.OutputState, + } +} + func (o UriOverridePtrOutput) Elem() UriOverrideOutput { return o.ApplyT(func(v *UriOverride) UriOverride { if v != nil { @@ -3969,6 +4534,12 @@ func (o UriOverrideResponseOutput) ToUriOverrideResponseOutputWithContext(ctx co return o } +func (o UriOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UriOverrideResponse] { + return pulumix.Output[UriOverrideResponse]{ + OutputState: o.OutputState, + } +} + // Host override. When specified, replaces the host part of the task URL. For example, if the task URL is "https://www.google.com," and host value is set to "example.net", the overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT). func (o UriOverrideResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v UriOverrideResponse) string { return v.Host }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudtasks/v2beta3/queue.go b/sdk/go/google/cloudtasks/v2beta3/queue.go index 9f9db0874f..7c344c21a7 100644 --- a/sdk/go/google/cloudtasks/v2beta3/queue.go +++ b/sdk/go/google/cloudtasks/v2beta3/queue.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a queue. Queues created with this method allow tasks to live for a maximum of 31 days. After a task is 31 days old, the task will be deleted regardless of whether it was dispatched or not. WARNING: Using this method may have unintended side effects if you are using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method. @@ -157,6 +158,12 @@ func (i *Queue) ToQueueOutputWithContext(ctx context.Context) QueueOutput { return pulumi.ToOutputWithContext(ctx, i).(QueueOutput) } +func (i *Queue) ToOutput(ctx context.Context) pulumix.Output[*Queue] { + return pulumix.Output[*Queue]{ + OutputState: i.ToQueueOutputWithContext(ctx).OutputState, + } +} + type QueueOutput struct{ *pulumi.OutputState } func (QueueOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput { return o } +func (o QueueOutput) ToOutput(ctx context.Context) pulumix.Output[*Queue] { + return pulumix.Output[*Queue]{ + OutputState: o.OutputState, + } +} + // AppEngineHttpQueue settings apply only to App Engine tasks in this queue. Http tasks are not affected by this proto. func (o QueueOutput) AppEngineHttpQueue() AppEngineHttpQueueResponseOutput { return o.ApplyT(func(v *Queue) AppEngineHttpQueueResponseOutput { return v.AppEngineHttpQueue }).(AppEngineHttpQueueResponseOutput) diff --git a/sdk/go/google/cloudtasks/v2beta3/queueIamBinding.go b/sdk/go/google/cloudtasks/v2beta3/queueIamBinding.go index 807de15968..ccc73f6f40 100644 --- a/sdk/go/google/cloudtasks/v2beta3/queueIamBinding.go +++ b/sdk/go/google/cloudtasks/v2beta3/queueIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy` @@ -135,6 +136,12 @@ func (i *QueueIamBinding) ToQueueIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(QueueIamBindingOutput) } +func (i *QueueIamBinding) ToOutput(ctx context.Context) pulumix.Output[*QueueIamBinding] { + return pulumix.Output[*QueueIamBinding]{ + OutputState: i.ToQueueIamBindingOutputWithContext(ctx).OutputState, + } +} + type QueueIamBindingOutput struct{ *pulumi.OutputState } func (QueueIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o QueueIamBindingOutput) ToQueueIamBindingOutputWithContext(ctx context.Co return o } +func (o QueueIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueIamBinding] { + return pulumix.Output[*QueueIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o QueueIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *QueueIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudtasks/v2beta3/queueIamMember.go b/sdk/go/google/cloudtasks/v2beta3/queueIamMember.go index 5df02f1203..01906a3e62 100644 --- a/sdk/go/google/cloudtasks/v2beta3/queueIamMember.go +++ b/sdk/go/google/cloudtasks/v2beta3/queueIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy` @@ -135,6 +136,12 @@ func (i *QueueIamMember) ToQueueIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueueIamMemberOutput) } +func (i *QueueIamMember) ToOutput(ctx context.Context) pulumix.Output[*QueueIamMember] { + return pulumix.Output[*QueueIamMember]{ + OutputState: i.ToQueueIamMemberOutputWithContext(ctx).OutputState, + } +} + type QueueIamMemberOutput struct{ *pulumi.OutputState } func (QueueIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o QueueIamMemberOutput) ToQueueIamMemberOutputWithContext(ctx context.Cont return o } +func (o QueueIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueIamMember] { + return pulumix.Output[*QueueIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o QueueIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *QueueIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/cloudtasks/v2beta3/queueIamPolicy.go b/sdk/go/google/cloudtasks/v2beta3/queueIamPolicy.go index a4eca18b57..593d35ae5f 100644 --- a/sdk/go/google/cloudtasks/v2beta3/queueIamPolicy.go +++ b/sdk/go/google/cloudtasks/v2beta3/queueIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy` @@ -125,6 +126,12 @@ func (i *QueueIamPolicy) ToQueueIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueueIamPolicyOutput) } +func (i *QueueIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*QueueIamPolicy] { + return pulumix.Output[*QueueIamPolicy]{ + OutputState: i.ToQueueIamPolicyOutputWithContext(ctx).OutputState, + } +} + type QueueIamPolicyOutput struct{ *pulumi.OutputState } func (QueueIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o QueueIamPolicyOutput) ToQueueIamPolicyOutputWithContext(ctx context.Cont return o } +func (o QueueIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueIamPolicy] { + return pulumix.Output[*QueueIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o QueueIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *QueueIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/cloudtasks/v2beta3/task.go b/sdk/go/google/cloudtasks/v2beta3/task.go index d840e921ef..e66a0e103c 100644 --- a/sdk/go/google/cloudtasks/v2beta3/task.go +++ b/sdk/go/google/cloudtasks/v2beta3/task.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a task and adds it to a queue. Tasks cannot be updated after creation; there is no UpdateTask command. * The maximum task size is 100KB. @@ -157,6 +158,12 @@ func (i *Task) ToTaskOutputWithContext(ctx context.Context) TaskOutput { return pulumi.ToOutputWithContext(ctx, i).(TaskOutput) } +func (i *Task) ToOutput(ctx context.Context) pulumix.Output[*Task] { + return pulumix.Output[*Task]{ + OutputState: i.ToTaskOutputWithContext(ctx).OutputState, + } +} + type TaskOutput struct{ *pulumi.OutputState } func (TaskOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o TaskOutput) ToTaskOutputWithContext(ctx context.Context) TaskOutput { return o } +func (o TaskOutput) ToOutput(ctx context.Context) pulumix.Output[*Task] { + return pulumix.Output[*Task]{ + OutputState: o.OutputState, + } +} + // HTTP request that is sent to the App Engine app handler. An App Engine task is a task that has AppEngineHttpRequest set. func (o TaskOutput) AppEngineHttpRequest() AppEngineHttpRequestResponseOutput { return o.ApplyT(func(v *Task) AppEngineHttpRequestResponseOutput { return v.AppEngineHttpRequest }).(AppEngineHttpRequestResponseOutput) diff --git a/sdk/go/google/cloudtrace/v2beta1/getTraceSink.go b/sdk/go/google/cloudtrace/v2beta1/getTraceSink.go index df37d63117..e0ca145ce1 100644 --- a/sdk/go/google/cloudtrace/v2beta1/getTraceSink.go +++ b/sdk/go/google/cloudtrace/v2beta1/getTraceSink.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a trace sink by name under the parent resource (GCP project). @@ -72,6 +73,12 @@ func (o LookupTraceSinkResultOutput) ToLookupTraceSinkResultOutputWithContext(ct return o } +func (o LookupTraceSinkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTraceSinkResult] { + return pulumix.Output[LookupTraceSinkResult]{ + OutputState: o.OutputState, + } +} + // The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `"projects/12345/traceSinks/my-project-trace-sink"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. func (o LookupTraceSinkResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupTraceSinkResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudtrace/v2beta1/pulumiTypes.go b/sdk/go/google/cloudtrace/v2beta1/pulumiTypes.go index d56b1e13af..76332c4117 100644 --- a/sdk/go/google/cloudtrace/v2beta1/pulumiTypes.go +++ b/sdk/go/google/cloudtrace/v2beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i OutputConfigArgs) ToOutputConfigOutputWithContext(ctx context.Context) O return pulumi.ToOutputWithContext(ctx, i).(OutputConfigOutput) } +func (i OutputConfigArgs) ToOutput(ctx context.Context) pulumix.Output[OutputConfig] { + return pulumix.Output[OutputConfig]{ + OutputState: i.ToOutputConfigOutputWithContext(ctx).OutputState, + } +} + // OutputConfig contains a destination for writing trace data. type OutputConfigOutput struct{ *pulumi.OutputState } @@ -63,6 +70,12 @@ func (o OutputConfigOutput) ToOutputConfigOutputWithContext(ctx context.Context) return o } +func (o OutputConfigOutput) ToOutput(ctx context.Context) pulumix.Output[OutputConfig] { + return pulumix.Output[OutputConfig]{ + OutputState: o.OutputState, + } +} + // The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" func (o OutputConfigOutput) Destination() pulumi.StringPtrOutput { return o.ApplyT(func(v OutputConfig) *string { return v.Destination }).(pulumi.StringPtrOutput) @@ -89,6 +102,12 @@ func (o OutputConfigResponseOutput) ToOutputConfigResponseOutputWithContext(ctx return o } +func (o OutputConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OutputConfigResponse] { + return pulumix.Output[OutputConfigResponse]{ + OutputState: o.OutputState, + } +} + // The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" func (o OutputConfigResponseOutput) Destination() pulumi.StringOutput { return o.ApplyT(func(v OutputConfigResponse) string { return v.Destination }).(pulumi.StringOutput) diff --git a/sdk/go/google/cloudtrace/v2beta1/traceSink.go b/sdk/go/google/cloudtrace/v2beta1/traceSink.go index 46d824cbee..6ba59acb97 100644 --- a/sdk/go/google/cloudtrace/v2beta1/traceSink.go +++ b/sdk/go/google/cloudtrace/v2beta1/traceSink.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a sink that exports trace spans to a destination. The export of newly-ingested traces begins immediately, unless the sink's `writer_identity` is not permitted to write to the destination. A sink can export traces only from the resource owning the sink (the 'parent'). @@ -111,6 +112,12 @@ func (i *TraceSink) ToTraceSinkOutputWithContext(ctx context.Context) TraceSinkO return pulumi.ToOutputWithContext(ctx, i).(TraceSinkOutput) } +func (i *TraceSink) ToOutput(ctx context.Context) pulumix.Output[*TraceSink] { + return pulumix.Output[*TraceSink]{ + OutputState: i.ToTraceSinkOutputWithContext(ctx).OutputState, + } +} + type TraceSinkOutput struct{ *pulumi.OutputState } func (TraceSinkOutput) ElementType() reflect.Type { @@ -125,6 +132,12 @@ func (o TraceSinkOutput) ToTraceSinkOutputWithContext(ctx context.Context) Trace return o } +func (o TraceSinkOutput) ToOutput(ctx context.Context) pulumix.Output[*TraceSink] { + return pulumix.Output[*TraceSink]{ + OutputState: o.OutputState, + } +} + // The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: `"projects/12345/traceSinks/my-project-trace-sink"`. Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods. func (o TraceSinkOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *TraceSink) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/composer/v1/environment.go b/sdk/go/google/composer/v1/environment.go index b3e03c5bb2..325dcde839 100644 --- a/sdk/go/google/composer/v1/environment.go +++ b/sdk/go/google/composer/v1/environment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new environment. @@ -127,6 +128,12 @@ func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) Enviro return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i *Environment) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + type EnvironmentOutput struct{ *pulumi.OutputState } func (EnvironmentOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) E return o } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + // Configuration parameters for this environment. func (o EnvironmentOutput) Config() EnvironmentConfigResponseOutput { return o.ApplyT(func(v *Environment) EnvironmentConfigResponseOutput { return v.Config }).(EnvironmentConfigResponseOutput) diff --git a/sdk/go/google/composer/v1/getEnvironment.go b/sdk/go/google/composer/v1/getEnvironment.go index 585e7bd474..609c8f540c 100644 --- a/sdk/go/google/composer/v1/getEnvironment.go +++ b/sdk/go/google/composer/v1/getEnvironment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get an existing environment. @@ -82,6 +83,12 @@ func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContex return o } +func (o LookupEnvironmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentResult] { + return pulumix.Output[LookupEnvironmentResult]{ + OutputState: o.OutputState, + } +} + // Configuration parameters for this environment. func (o LookupEnvironmentResultOutput) Config() EnvironmentConfigResponseOutput { return o.ApplyT(func(v LookupEnvironmentResult) EnvironmentConfigResponse { return v.Config }).(EnvironmentConfigResponseOutput) diff --git a/sdk/go/google/composer/v1/pulumiEnums.go b/sdk/go/google/composer/v1/pulumiEnums.go index 8920f3438e..f9c2b26eeb 100644 --- a/sdk/go/google/composer/v1/pulumiEnums.go +++ b/sdk/go/google/composer/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. @@ -84,6 +85,12 @@ func (o EnvironmentConfigEnvironmentSizeOutput) ToEnvironmentConfigEnvironmentSi }).(EnvironmentConfigEnvironmentSizePtrOutput) } +func (o EnvironmentConfigEnvironmentSizeOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfigEnvironmentSize] { + return pulumix.Output[EnvironmentConfigEnvironmentSize]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentConfigEnvironmentSizeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o EnvironmentConfigEnvironmentSizePtrOutput) ToEnvironmentConfigEnvironmen return o } +func (o EnvironmentConfigEnvironmentSizePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentConfigEnvironmentSize] { + return pulumix.Output[*EnvironmentConfigEnvironmentSize]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentConfigEnvironmentSizePtrOutput) Elem() EnvironmentConfigEnvironmentSizeOutput { return o.ApplyT(func(v *EnvironmentConfigEnvironmentSize) EnvironmentConfigEnvironmentSize { if v != nil { @@ -181,6 +194,12 @@ func (in *environmentConfigEnvironmentSizePtr) ToEnvironmentConfigEnvironmentSiz return pulumi.ToOutputWithContext(ctx, in).(EnvironmentConfigEnvironmentSizePtrOutput) } +func (in *environmentConfigEnvironmentSizePtr) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentConfigEnvironmentSize] { + return pulumix.Output[*EnvironmentConfigEnvironmentSize]{ + OutputState: in.ToEnvironmentConfigEnvironmentSizePtrOutputWithContext(ctx).OutputState, + } +} + // The current state of the environment. type EnvironmentStateEnum string @@ -259,6 +278,12 @@ func (o EnvironmentStateEnumOutput) ToEnvironmentStateEnumPtrOutputWithContext(c }).(EnvironmentStateEnumPtrOutput) } +func (o EnvironmentStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentStateEnum] { + return pulumix.Output[EnvironmentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -294,6 +319,12 @@ func (o EnvironmentStateEnumPtrOutput) ToEnvironmentStateEnumPtrOutputWithContex return o } +func (o EnvironmentStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentStateEnum] { + return pulumix.Output[*EnvironmentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentStateEnumPtrOutput) Elem() EnvironmentStateEnumOutput { return o.ApplyT(func(v *EnvironmentStateEnum) EnvironmentStateEnum { if v != nil { @@ -356,6 +387,12 @@ func (in *environmentStateEnumPtr) ToEnvironmentStateEnumPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(EnvironmentStateEnumPtrOutput) } +func (in *environmentStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentStateEnum] { + return pulumix.Output[*EnvironmentStateEnum]{ + OutputState: in.ToEnvironmentStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Indicates the user requested specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. type NetworkingConfigConnectionType string @@ -428,6 +465,12 @@ func (o NetworkingConfigConnectionTypeOutput) ToNetworkingConfigConnectionTypePt }).(NetworkingConfigConnectionTypePtrOutput) } +func (o NetworkingConfigConnectionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkingConfigConnectionType] { + return pulumix.Output[NetworkingConfigConnectionType]{ + OutputState: o.OutputState, + } +} + func (o NetworkingConfigConnectionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -463,6 +506,12 @@ func (o NetworkingConfigConnectionTypePtrOutput) ToNetworkingConfigConnectionTyp return o } +func (o NetworkingConfigConnectionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkingConfigConnectionType] { + return pulumix.Output[*NetworkingConfigConnectionType]{ + OutputState: o.OutputState, + } +} + func (o NetworkingConfigConnectionTypePtrOutput) Elem() NetworkingConfigConnectionTypeOutput { return o.ApplyT(func(v *NetworkingConfigConnectionType) NetworkingConfigConnectionType { if v != nil { @@ -525,6 +574,12 @@ func (in *networkingConfigConnectionTypePtr) ToNetworkingConfigConnectionTypePtr return pulumi.ToOutputWithContext(ctx, in).(NetworkingConfigConnectionTypePtrOutput) } +func (in *networkingConfigConnectionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkingConfigConnectionType] { + return pulumix.Output[*NetworkingConfigConnectionType]{ + OutputState: in.ToNetworkingConfigConnectionTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*EnvironmentConfigEnvironmentSizeInput)(nil)).Elem(), EnvironmentConfigEnvironmentSize("ENVIRONMENT_SIZE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*EnvironmentConfigEnvironmentSizePtrInput)(nil)).Elem(), EnvironmentConfigEnvironmentSize("ENVIRONMENT_SIZE_UNSPECIFIED")) diff --git a/sdk/go/google/composer/v1/pulumiTypes.go b/sdk/go/google/composer/v1/pulumiTypes.go index 337529f49d..e1af4c06a1 100644 --- a/sdk/go/google/composer/v1/pulumiTypes.go +++ b/sdk/go/google/composer/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AllowedIpRangeArgs) ToAllowedIpRangeOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AllowedIpRangeOutput) } +func (i AllowedIpRangeArgs) ToOutput(ctx context.Context) pulumix.Output[AllowedIpRange] { + return pulumix.Output[AllowedIpRange]{ + OutputState: i.ToAllowedIpRangeOutputWithContext(ctx).OutputState, + } +} + // AllowedIpRangeArrayInput is an input type that accepts AllowedIpRangeArray and AllowedIpRangeArrayOutput values. // You can construct a concrete instance of `AllowedIpRangeArrayInput` via: // @@ -77,6 +84,12 @@ func (i AllowedIpRangeArray) ToAllowedIpRangeArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AllowedIpRangeArrayOutput) } +func (i AllowedIpRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]AllowedIpRange] { + return pulumix.Output[[]AllowedIpRange]{ + OutputState: i.ToAllowedIpRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Allowed IP range with user-provided description. type AllowedIpRangeOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AllowedIpRangeOutput) ToAllowedIpRangeOutputWithContext(ctx context.Cont return o } +func (o AllowedIpRangeOutput) ToOutput(ctx context.Context) pulumix.Output[AllowedIpRange] { + return pulumix.Output[AllowedIpRange]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided description. It must contain at most 300 characters. func (o AllowedIpRangeOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v AllowedIpRange) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -116,6 +135,12 @@ func (o AllowedIpRangeArrayOutput) ToAllowedIpRangeArrayOutputWithContext(ctx co return o } +func (o AllowedIpRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllowedIpRange] { + return pulumix.Output[[]AllowedIpRange]{ + OutputState: o.OutputState, + } +} + func (o AllowedIpRangeArrayOutput) Index(i pulumi.IntInput) AllowedIpRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllowedIpRange { return vs[0].([]AllowedIpRange)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AllowedIpRangeResponseOutput) ToAllowedIpRangeResponseOutputWithContext( return o } +func (o AllowedIpRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllowedIpRangeResponse] { + return pulumix.Output[AllowedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided description. It must contain at most 300 characters. func (o AllowedIpRangeResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v AllowedIpRangeResponse) string { return v.Description }).(pulumi.StringOutput) @@ -169,6 +200,12 @@ func (o AllowedIpRangeResponseArrayOutput) ToAllowedIpRangeResponseArrayOutputWi return o } +func (o AllowedIpRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllowedIpRangeResponse] { + return pulumix.Output[[]AllowedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o AllowedIpRangeResponseArrayOutput) Index(i pulumi.IntInput) AllowedIpRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllowedIpRangeResponse { return vs[0].([]AllowedIpRangeResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i CidrBlockArgs) ToCidrBlockOutputWithContext(ctx context.Context) CidrBlo return pulumi.ToOutputWithContext(ctx, i).(CidrBlockOutput) } +func (i CidrBlockArgs) ToOutput(ctx context.Context) pulumix.Output[CidrBlock] { + return pulumix.Output[CidrBlock]{ + OutputState: i.ToCidrBlockOutputWithContext(ctx).OutputState, + } +} + // CidrBlockArrayInput is an input type that accepts CidrBlockArray and CidrBlockArrayOutput values. // You can construct a concrete instance of `CidrBlockArrayInput` via: // @@ -239,6 +282,12 @@ func (i CidrBlockArray) ToCidrBlockArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CidrBlockArrayOutput) } +func (i CidrBlockArray) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlock] { + return pulumix.Output[[]CidrBlock]{ + OutputState: i.ToCidrBlockArrayOutputWithContext(ctx).OutputState, + } +} + // CIDR block with an optional name. type CidrBlockOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o CidrBlockOutput) ToCidrBlockOutputWithContext(ctx context.Context) CidrB return o } +func (o CidrBlockOutput) ToOutput(ctx context.Context) pulumix.Output[CidrBlock] { + return pulumix.Output[CidrBlock]{ + OutputState: o.OutputState, + } +} + // CIDR block that must be specified in CIDR notation. func (o CidrBlockOutput) CidrBlock() pulumi.StringPtrOutput { return o.ApplyT(func(v CidrBlock) *string { return v.CidrBlock }).(pulumi.StringPtrOutput) @@ -278,6 +333,12 @@ func (o CidrBlockArrayOutput) ToCidrBlockArrayOutputWithContext(ctx context.Cont return o } +func (o CidrBlockArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlock] { + return pulumix.Output[[]CidrBlock]{ + OutputState: o.OutputState, + } +} + func (o CidrBlockArrayOutput) Index(i pulumi.IntInput) CidrBlockOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CidrBlock { return vs[0].([]CidrBlock)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o CidrBlockResponseOutput) ToCidrBlockResponseOutputWithContext(ctx contex return o } +func (o CidrBlockResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CidrBlockResponse] { + return pulumix.Output[CidrBlockResponse]{ + OutputState: o.OutputState, + } +} + // CIDR block that must be specified in CIDR notation. func (o CidrBlockResponseOutput) CidrBlock() pulumi.StringOutput { return o.ApplyT(func(v CidrBlockResponse) string { return v.CidrBlock }).(pulumi.StringOutput) @@ -331,6 +398,12 @@ func (o CidrBlockResponseArrayOutput) ToCidrBlockResponseArrayOutputWithContext( return o } +func (o CidrBlockResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlockResponse] { + return pulumix.Output[[]CidrBlockResponse]{ + OutputState: o.OutputState, + } +} + func (o CidrBlockResponseArrayOutput) Index(i pulumi.IntInput) CidrBlockResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CidrBlockResponse { return vs[0].([]CidrBlockResponse)[vs[1].(int)] @@ -372,6 +445,12 @@ func (i DatabaseConfigArgs) ToDatabaseConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DatabaseConfigOutput) } +func (i DatabaseConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseConfig] { + return pulumix.Output[DatabaseConfig]{ + OutputState: i.ToDatabaseConfigOutputWithContext(ctx).OutputState, + } +} + func (i DatabaseConfigArgs) ToDatabaseConfigPtrOutput() DatabaseConfigPtrOutput { return i.ToDatabaseConfigPtrOutputWithContext(context.Background()) } @@ -413,6 +492,12 @@ func (i *databaseConfigPtrType) ToDatabaseConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DatabaseConfigPtrOutput) } +func (i *databaseConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DatabaseConfig] { + return pulumix.Output[*DatabaseConfig]{ + OutputState: i.ToDatabaseConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration of Cloud SQL instance that is used by the Apache Airflow software. type DatabaseConfigOutput struct{ *pulumi.OutputState } @@ -438,6 +523,12 @@ func (o DatabaseConfigOutput) ToDatabaseConfigPtrOutputWithContext(ctx context.C }).(DatabaseConfigPtrOutput) } +func (o DatabaseConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseConfig] { + return pulumix.Output[DatabaseConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. func (o DatabaseConfigOutput) MachineType() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseConfig) *string { return v.MachineType }).(pulumi.StringPtrOutput) @@ -457,6 +548,12 @@ func (o DatabaseConfigPtrOutput) ToDatabaseConfigPtrOutputWithContext(ctx contex return o } +func (o DatabaseConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseConfig] { + return pulumix.Output[*DatabaseConfig]{ + OutputState: o.OutputState, + } +} + func (o DatabaseConfigPtrOutput) Elem() DatabaseConfigOutput { return o.ApplyT(func(v *DatabaseConfig) DatabaseConfig { if v != nil { @@ -498,6 +595,12 @@ func (o DatabaseConfigResponseOutput) ToDatabaseConfigResponseOutputWithContext( return o } +func (o DatabaseConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseConfigResponse] { + return pulumix.Output[DatabaseConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. func (o DatabaseConfigResponseOutput) MachineType() pulumi.StringOutput { return o.ApplyT(func(v DatabaseConfigResponse) string { return v.MachineType }).(pulumi.StringOutput) @@ -538,6 +641,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -579,6 +688,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The encryption options for the Cloud Composer environment and its dependencies.Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -604,6 +719,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used. func (o EncryptionConfigOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -623,6 +744,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -664,6 +791,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used. func (o EncryptionConfigResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -752,6 +885,12 @@ func (i EnvironmentConfigArgs) ToEnvironmentConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(EnvironmentConfigOutput) } +func (i EnvironmentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfig] { + return pulumix.Output[EnvironmentConfig]{ + OutputState: i.ToEnvironmentConfigOutputWithContext(ctx).OutputState, + } +} + func (i EnvironmentConfigArgs) ToEnvironmentConfigPtrOutput() EnvironmentConfigPtrOutput { return i.ToEnvironmentConfigPtrOutputWithContext(context.Background()) } @@ -793,6 +932,12 @@ func (i *environmentConfigPtrType) ToEnvironmentConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(EnvironmentConfigPtrOutput) } +func (i *environmentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentConfig] { + return pulumix.Output[*EnvironmentConfig]{ + OutputState: i.ToEnvironmentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration information for an environment. type EnvironmentConfigOutput struct{ *pulumi.OutputState } @@ -818,6 +963,12 @@ func (o EnvironmentConfigOutput) ToEnvironmentConfigPtrOutputWithContext(ctx con }).(EnvironmentConfigPtrOutput) } +func (o EnvironmentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfig] { + return pulumix.Output[EnvironmentConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software. func (o EnvironmentConfigOutput) DatabaseConfig() DatabaseConfigPtrOutput { return o.ApplyT(func(v EnvironmentConfig) *DatabaseConfig { return v.DatabaseConfig }).(DatabaseConfigPtrOutput) @@ -897,6 +1048,12 @@ func (o EnvironmentConfigPtrOutput) ToEnvironmentConfigPtrOutputWithContext(ctx return o } +func (o EnvironmentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentConfig] { + return pulumix.Output[*EnvironmentConfig]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentConfigPtrOutput) Elem() EnvironmentConfigOutput { return o.ApplyT(func(v *EnvironmentConfig) EnvironmentConfig { if v != nil { @@ -1090,6 +1247,12 @@ func (o EnvironmentConfigResponseOutput) ToEnvironmentConfigResponseOutputWithCo return o } +func (o EnvironmentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfigResponse] { + return pulumix.Output[EnvironmentConfigResponse]{ + OutputState: o.OutputState, + } +} + // The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)). func (o EnvironmentConfigResponseOutput) AirflowByoidUri() pulumi.StringOutput { return o.ApplyT(func(v EnvironmentConfigResponse) string { return v.AirflowByoidUri }).(pulumi.StringOutput) @@ -1230,6 +1393,12 @@ func (i IPAllocationPolicyArgs) ToIPAllocationPolicyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(IPAllocationPolicyOutput) } +func (i IPAllocationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicy] { + return pulumix.Output[IPAllocationPolicy]{ + OutputState: i.ToIPAllocationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i IPAllocationPolicyArgs) ToIPAllocationPolicyPtrOutput() IPAllocationPolicyPtrOutput { return i.ToIPAllocationPolicyPtrOutputWithContext(context.Background()) } @@ -1271,6 +1440,12 @@ func (i *ipallocationPolicyPtrType) ToIPAllocationPolicyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(IPAllocationPolicyPtrOutput) } +func (i *ipallocationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicy] { + return pulumix.Output[*IPAllocationPolicy]{ + OutputState: i.ToIPAllocationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for controlling how IPs are allocated in the GKE cluster running the Apache Airflow software. type IPAllocationPolicyOutput struct{ *pulumi.OutputState } @@ -1296,6 +1471,12 @@ func (o IPAllocationPolicyOutput) ToIPAllocationPolicyPtrOutputWithContext(ctx c }).(IPAllocationPolicyPtrOutput) } +func (o IPAllocationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicy] { + return pulumix.Output[IPAllocationPolicy]{ + OutputState: o.OutputState, + } +} + // Optional. The IP address range used to allocate IP addresses to pods in the GKE cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. func (o IPAllocationPolicyOutput) ClusterIpv4CidrBlock() pulumi.StringPtrOutput { return o.ApplyT(func(v IPAllocationPolicy) *string { return v.ClusterIpv4CidrBlock }).(pulumi.StringPtrOutput) @@ -1335,6 +1516,12 @@ func (o IPAllocationPolicyPtrOutput) ToIPAllocationPolicyPtrOutputWithContext(ct return o } +func (o IPAllocationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicy] { + return pulumix.Output[*IPAllocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyPtrOutput) Elem() IPAllocationPolicyOutput { return o.ApplyT(func(v *IPAllocationPolicy) IPAllocationPolicy { if v != nil { @@ -1424,6 +1611,12 @@ func (o IPAllocationPolicyResponseOutput) ToIPAllocationPolicyResponseOutputWith return o } +func (o IPAllocationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicyResponse] { + return pulumix.Output[IPAllocationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The IP address range used to allocate IP addresses to pods in the GKE cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. func (o IPAllocationPolicyResponseOutput) ClusterIpv4CidrBlock() pulumi.StringOutput { return o.ApplyT(func(v IPAllocationPolicyResponse) string { return v.ClusterIpv4CidrBlock }).(pulumi.StringOutput) @@ -1492,6 +1685,12 @@ func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput) } +func (i MaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -1533,6 +1732,12 @@ func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowPtrOutput) } +func (i *maintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration settings for Cloud Composer maintenance window. The following example: ```{ "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" }``` would define a maintenance window between 01 and 07 hours UTC during each Tuesday and Wednesday. type MaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -1558,6 +1763,12 @@ func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx con }).(MaintenanceWindowPtrOutput) } +func (o MaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to `start_time`. func (o MaintenanceWindowOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceWindow) string { return v.EndTime }).(pulumi.StringOutput) @@ -1587,6 +1798,12 @@ func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx return o } +func (o MaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowPtrOutput) Elem() MaintenanceWindowOutput { return o.ApplyT(func(v *MaintenanceWindow) MaintenanceWindow { if v != nil { @@ -1652,6 +1869,12 @@ func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithCo return o } +func (o MaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowResponse] { + return pulumix.Output[MaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to `start_time`. func (o MaintenanceWindowResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceWindowResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -1706,6 +1929,12 @@ func (i MasterAuthorizedNetworksConfigArgs) ToMasterAuthorizedNetworksConfigOutp return pulumi.ToOutputWithContext(ctx, i).(MasterAuthorizedNetworksConfigOutput) } +func (i MasterAuthorizedNetworksConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfig] { + return pulumix.Output[MasterAuthorizedNetworksConfig]{ + OutputState: i.ToMasterAuthorizedNetworksConfigOutputWithContext(ctx).OutputState, + } +} + func (i MasterAuthorizedNetworksConfigArgs) ToMasterAuthorizedNetworksConfigPtrOutput() MasterAuthorizedNetworksConfigPtrOutput { return i.ToMasterAuthorizedNetworksConfigPtrOutputWithContext(context.Background()) } @@ -1747,6 +1976,12 @@ func (i *masterAuthorizedNetworksConfigPtrType) ToMasterAuthorizedNetworksConfig return pulumi.ToOutputWithContext(ctx, i).(MasterAuthorizedNetworksConfigPtrOutput) } +func (i *masterAuthorizedNetworksConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MasterAuthorizedNetworksConfig] { + return pulumix.Output[*MasterAuthorizedNetworksConfig]{ + OutputState: i.ToMasterAuthorizedNetworksConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. type MasterAuthorizedNetworksConfigOutput struct{ *pulumi.OutputState } @@ -1772,6 +2007,12 @@ func (o MasterAuthorizedNetworksConfigOutput) ToMasterAuthorizedNetworksConfigPt }).(MasterAuthorizedNetworksConfigPtrOutput) } +func (o MasterAuthorizedNetworksConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfig] { + return pulumix.Output[MasterAuthorizedNetworksConfig]{ + OutputState: o.OutputState, + } +} + // Up to 50 external networks that could access Kubernetes master through HTTPS. func (o MasterAuthorizedNetworksConfigOutput) CidrBlocks() CidrBlockArrayOutput { return o.ApplyT(func(v MasterAuthorizedNetworksConfig) []CidrBlock { return v.CidrBlocks }).(CidrBlockArrayOutput) @@ -1796,6 +2037,12 @@ func (o MasterAuthorizedNetworksConfigPtrOutput) ToMasterAuthorizedNetworksConfi return o } +func (o MasterAuthorizedNetworksConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MasterAuthorizedNetworksConfig] { + return pulumix.Output[*MasterAuthorizedNetworksConfig]{ + OutputState: o.OutputState, + } +} + func (o MasterAuthorizedNetworksConfigPtrOutput) Elem() MasterAuthorizedNetworksConfigOutput { return o.ApplyT(func(v *MasterAuthorizedNetworksConfig) MasterAuthorizedNetworksConfig { if v != nil { @@ -1849,6 +2096,12 @@ func (o MasterAuthorizedNetworksConfigResponseOutput) ToMasterAuthorizedNetworks return o } +func (o MasterAuthorizedNetworksConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfigResponse] { + return pulumix.Output[MasterAuthorizedNetworksConfigResponse]{ + OutputState: o.OutputState, + } +} + // Up to 50 external networks that could access Kubernetes master through HTTPS. func (o MasterAuthorizedNetworksConfigResponseOutput) CidrBlocks() CidrBlockResponseArrayOutput { return o.ApplyT(func(v MasterAuthorizedNetworksConfigResponse) []CidrBlockResponse { return v.CidrBlocks }).(CidrBlockResponseArrayOutput) @@ -1894,6 +2147,12 @@ func (i NetworkingConfigArgs) ToNetworkingConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkingConfigOutput) } +func (i NetworkingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkingConfig] { + return pulumix.Output[NetworkingConfig]{ + OutputState: i.ToNetworkingConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkingConfigArgs) ToNetworkingConfigPtrOutput() NetworkingConfigPtrOutput { return i.ToNetworkingConfigPtrOutputWithContext(context.Background()) } @@ -1935,6 +2194,12 @@ func (i *networkingConfigPtrType) ToNetworkingConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NetworkingConfigPtrOutput) } +func (i *networkingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkingConfig] { + return pulumix.Output[*NetworkingConfig]{ + OutputState: i.ToNetworkingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for networking connections in the Composer 2 environment. type NetworkingConfigOutput struct{ *pulumi.OutputState } @@ -1960,6 +2225,12 @@ func (o NetworkingConfigOutput) ToNetworkingConfigPtrOutputWithContext(ctx conte }).(NetworkingConfigPtrOutput) } +func (o NetworkingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkingConfig] { + return pulumix.Output[NetworkingConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates the user requested specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. func (o NetworkingConfigOutput) ConnectionType() NetworkingConfigConnectionTypePtrOutput { return o.ApplyT(func(v NetworkingConfig) *NetworkingConfigConnectionType { return v.ConnectionType }).(NetworkingConfigConnectionTypePtrOutput) @@ -1979,6 +2250,12 @@ func (o NetworkingConfigPtrOutput) ToNetworkingConfigPtrOutputWithContext(ctx co return o } +func (o NetworkingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkingConfig] { + return pulumix.Output[*NetworkingConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkingConfigPtrOutput) Elem() NetworkingConfigOutput { return o.ApplyT(func(v *NetworkingConfig) NetworkingConfig { if v != nil { @@ -2020,6 +2297,12 @@ func (o NetworkingConfigResponseOutput) ToNetworkingConfigResponseOutputWithCont return o } +func (o NetworkingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkingConfigResponse] { + return pulumix.Output[NetworkingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates the user requested specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. func (o NetworkingConfigResponseOutput) ConnectionType() pulumi.StringOutput { return o.ApplyT(func(v NetworkingConfigResponse) string { return v.ConnectionType }).(pulumi.StringOutput) @@ -2096,6 +2379,12 @@ func (i NodeConfigArgs) ToNodeConfigOutputWithContext(ctx context.Context) NodeC return pulumi.ToOutputWithContext(ctx, i).(NodeConfigOutput) } +func (i NodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: i.ToNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodeConfigArgs) ToNodeConfigPtrOutput() NodeConfigPtrOutput { return i.ToNodeConfigPtrOutputWithContext(context.Background()) } @@ -2137,6 +2426,12 @@ func (i *nodeConfigPtrType) ToNodeConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(NodeConfigPtrOutput) } +func (i *nodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeConfig] { + return pulumix.Output[*NodeConfig]{ + OutputState: i.ToNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration information for the Kubernetes Engine nodes running the Apache Airflow software. type NodeConfigOutput struct{ *pulumi.OutputState } @@ -2162,6 +2457,12 @@ func (o NodeConfigOutput) ToNodeConfigPtrOutputWithContext(ctx context.Context) }).(NodeConfigPtrOutput) } +func (o NodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. func (o NodeConfigOutput) DiskSizeGb() pulumi.IntPtrOutput { return o.ApplyT(func(v NodeConfig) *int { return v.DiskSizeGb }).(pulumi.IntPtrOutput) @@ -2226,6 +2527,12 @@ func (o NodeConfigPtrOutput) ToNodeConfigPtrOutputWithContext(ctx context.Contex return o } +func (o NodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeConfig] { + return pulumix.Output[*NodeConfig]{ + OutputState: o.OutputState, + } +} + func (o NodeConfigPtrOutput) Elem() NodeConfigOutput { return o.ApplyT(func(v *NodeConfig) NodeConfig { if v != nil { @@ -2375,6 +2682,12 @@ func (o NodeConfigResponseOutput) ToNodeConfigResponseOutputWithContext(ctx cont return o } +func (o NodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigResponse] { + return pulumix.Output[NodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. func (o NodeConfigResponseOutput) DiskSizeGb() pulumi.IntOutput { return o.ApplyT(func(v NodeConfigResponse) int { return v.DiskSizeGb }).(pulumi.IntOutput) @@ -2464,6 +2777,12 @@ func (i PrivateClusterConfigArgs) ToPrivateClusterConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterConfigOutput) } +func (i PrivateClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfig] { + return pulumix.Output[PrivateClusterConfig]{ + OutputState: i.ToPrivateClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i PrivateClusterConfigArgs) ToPrivateClusterConfigPtrOutput() PrivateClusterConfigPtrOutput { return i.ToPrivateClusterConfigPtrOutputWithContext(context.Background()) } @@ -2505,6 +2824,12 @@ func (i *privateClusterConfigPtrType) ToPrivateClusterConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterConfigPtrOutput) } +func (i *privateClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterConfig] { + return pulumix.Output[*PrivateClusterConfig]{ + OutputState: i.ToPrivateClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the private GKE cluster in a Cloud Composer environment. type PrivateClusterConfigOutput struct{ *pulumi.OutputState } @@ -2530,6 +2855,12 @@ func (o PrivateClusterConfigOutput) ToPrivateClusterConfigPtrOutputWithContext(c }).(PrivateClusterConfigPtrOutput) } +func (o PrivateClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfig] { + return pulumix.Output[PrivateClusterConfig]{ + OutputState: o.OutputState, + } +} + // Optional. If `true`, access to the public endpoint of the GKE cluster is denied. func (o PrivateClusterConfigOutput) EnablePrivateEndpoint() pulumi.BoolPtrOutput { return o.ApplyT(func(v PrivateClusterConfig) *bool { return v.EnablePrivateEndpoint }).(pulumi.BoolPtrOutput) @@ -2554,6 +2885,12 @@ func (o PrivateClusterConfigPtrOutput) ToPrivateClusterConfigPtrOutputWithContex return o } +func (o PrivateClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterConfig] { + return pulumix.Output[*PrivateClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o PrivateClusterConfigPtrOutput) Elem() PrivateClusterConfigOutput { return o.ApplyT(func(v *PrivateClusterConfig) PrivateClusterConfig { if v != nil { @@ -2609,6 +2946,12 @@ func (o PrivateClusterConfigResponseOutput) ToPrivateClusterConfigResponseOutput return o } +func (o PrivateClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfigResponse] { + return pulumix.Output[PrivateClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If `true`, access to the public endpoint of the GKE cluster is denied. func (o PrivateClusterConfigResponseOutput) EnablePrivateEndpoint() pulumi.BoolOutput { return o.ApplyT(func(v PrivateClusterConfigResponse) bool { return v.EnablePrivateEndpoint }).(pulumi.BoolOutput) @@ -2687,6 +3030,12 @@ func (i PrivateEnvironmentConfigArgs) ToPrivateEnvironmentConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(PrivateEnvironmentConfigOutput) } +func (i PrivateEnvironmentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateEnvironmentConfig] { + return pulumix.Output[PrivateEnvironmentConfig]{ + OutputState: i.ToPrivateEnvironmentConfigOutputWithContext(ctx).OutputState, + } +} + func (i PrivateEnvironmentConfigArgs) ToPrivateEnvironmentConfigPtrOutput() PrivateEnvironmentConfigPtrOutput { return i.ToPrivateEnvironmentConfigPtrOutputWithContext(context.Background()) } @@ -2728,6 +3077,12 @@ func (i *privateEnvironmentConfigPtrType) ToPrivateEnvironmentConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(PrivateEnvironmentConfigPtrOutput) } +func (i *privateEnvironmentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateEnvironmentConfig] { + return pulumix.Output[*PrivateEnvironmentConfig]{ + OutputState: i.ToPrivateEnvironmentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration information for configuring a Private IP Cloud Composer environment. type PrivateEnvironmentConfigOutput struct{ *pulumi.OutputState } @@ -2753,6 +3108,12 @@ func (o PrivateEnvironmentConfigOutput) ToPrivateEnvironmentConfigPtrOutputWithC }).(PrivateEnvironmentConfigPtrOutput) } +func (o PrivateEnvironmentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateEnvironmentConfig] { + return pulumix.Output[PrivateEnvironmentConfig]{ + OutputState: o.OutputState, + } +} + // Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. func (o PrivateEnvironmentConfigOutput) CloudComposerConnectionSubnetwork() pulumi.StringPtrOutput { return o.ApplyT(func(v PrivateEnvironmentConfig) *string { return v.CloudComposerConnectionSubnetwork }).(pulumi.StringPtrOutput) @@ -2807,6 +3168,12 @@ func (o PrivateEnvironmentConfigPtrOutput) ToPrivateEnvironmentConfigPtrOutputWi return o } +func (o PrivateEnvironmentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateEnvironmentConfig] { + return pulumix.Output[*PrivateEnvironmentConfig]{ + OutputState: o.OutputState, + } +} + func (o PrivateEnvironmentConfigPtrOutput) Elem() PrivateEnvironmentConfigOutput { return o.ApplyT(func(v *PrivateEnvironmentConfig) PrivateEnvironmentConfig { if v != nil { @@ -2936,6 +3303,12 @@ func (o PrivateEnvironmentConfigResponseOutput) ToPrivateEnvironmentConfigRespon return o } +func (o PrivateEnvironmentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateEnvironmentConfigResponse] { + return pulumix.Output[PrivateEnvironmentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. func (o PrivateEnvironmentConfigResponseOutput) CloudComposerConnectionSubnetwork() pulumi.StringOutput { return o.ApplyT(func(v PrivateEnvironmentConfigResponse) string { return v.CloudComposerConnectionSubnetwork }).(pulumi.StringOutput) @@ -3021,6 +3394,12 @@ func (i RecoveryConfigArgs) ToRecoveryConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(RecoveryConfigOutput) } +func (i RecoveryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RecoveryConfig] { + return pulumix.Output[RecoveryConfig]{ + OutputState: i.ToRecoveryConfigOutputWithContext(ctx).OutputState, + } +} + func (i RecoveryConfigArgs) ToRecoveryConfigPtrOutput() RecoveryConfigPtrOutput { return i.ToRecoveryConfigPtrOutputWithContext(context.Background()) } @@ -3062,6 +3441,12 @@ func (i *recoveryConfigPtrType) ToRecoveryConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RecoveryConfigPtrOutput) } +func (i *recoveryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RecoveryConfig] { + return pulumix.Output[*RecoveryConfig]{ + OutputState: i.ToRecoveryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The Recovery settings of an environment. type RecoveryConfigOutput struct{ *pulumi.OutputState } @@ -3087,6 +3472,12 @@ func (o RecoveryConfigOutput) ToRecoveryConfigPtrOutputWithContext(ctx context.C }).(RecoveryConfigPtrOutput) } +func (o RecoveryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RecoveryConfig] { + return pulumix.Output[RecoveryConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The configuration for scheduled snapshot creation mechanism. func (o RecoveryConfigOutput) ScheduledSnapshotsConfig() ScheduledSnapshotsConfigPtrOutput { return o.ApplyT(func(v RecoveryConfig) *ScheduledSnapshotsConfig { return v.ScheduledSnapshotsConfig }).(ScheduledSnapshotsConfigPtrOutput) @@ -3106,6 +3497,12 @@ func (o RecoveryConfigPtrOutput) ToRecoveryConfigPtrOutputWithContext(ctx contex return o } +func (o RecoveryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RecoveryConfig] { + return pulumix.Output[*RecoveryConfig]{ + OutputState: o.OutputState, + } +} + func (o RecoveryConfigPtrOutput) Elem() RecoveryConfigOutput { return o.ApplyT(func(v *RecoveryConfig) RecoveryConfig { if v != nil { @@ -3147,6 +3544,12 @@ func (o RecoveryConfigResponseOutput) ToRecoveryConfigResponseOutputWithContext( return o } +func (o RecoveryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RecoveryConfigResponse] { + return pulumix.Output[RecoveryConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The configuration for scheduled snapshot creation mechanism. func (o RecoveryConfigResponseOutput) ScheduledSnapshotsConfig() ScheduledSnapshotsConfigResponseOutput { return o.ApplyT(func(v RecoveryConfigResponse) ScheduledSnapshotsConfigResponse { return v.ScheduledSnapshotsConfig }).(ScheduledSnapshotsConfigResponseOutput) @@ -3199,6 +3602,12 @@ func (i ScheduledSnapshotsConfigArgs) ToScheduledSnapshotsConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ScheduledSnapshotsConfigOutput) } +func (i ScheduledSnapshotsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ScheduledSnapshotsConfig] { + return pulumix.Output[ScheduledSnapshotsConfig]{ + OutputState: i.ToScheduledSnapshotsConfigOutputWithContext(ctx).OutputState, + } +} + func (i ScheduledSnapshotsConfigArgs) ToScheduledSnapshotsConfigPtrOutput() ScheduledSnapshotsConfigPtrOutput { return i.ToScheduledSnapshotsConfigPtrOutputWithContext(context.Background()) } @@ -3240,6 +3649,12 @@ func (i *scheduledSnapshotsConfigPtrType) ToScheduledSnapshotsConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ScheduledSnapshotsConfigPtrOutput) } +func (i *scheduledSnapshotsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScheduledSnapshotsConfig] { + return pulumix.Output[*ScheduledSnapshotsConfig]{ + OutputState: i.ToScheduledSnapshotsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for scheduled snapshot creation mechanism. type ScheduledSnapshotsConfigOutput struct{ *pulumi.OutputState } @@ -3265,6 +3680,12 @@ func (o ScheduledSnapshotsConfigOutput) ToScheduledSnapshotsConfigPtrOutputWithC }).(ScheduledSnapshotsConfigPtrOutput) } +func (o ScheduledSnapshotsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduledSnapshotsConfig] { + return pulumix.Output[ScheduledSnapshotsConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Whether scheduled snapshots creation is enabled. func (o ScheduledSnapshotsConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ScheduledSnapshotsConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -3299,6 +3720,12 @@ func (o ScheduledSnapshotsConfigPtrOutput) ToScheduledSnapshotsConfigPtrOutputWi return o } +func (o ScheduledSnapshotsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScheduledSnapshotsConfig] { + return pulumix.Output[*ScheduledSnapshotsConfig]{ + OutputState: o.OutputState, + } +} + func (o ScheduledSnapshotsConfigPtrOutput) Elem() ScheduledSnapshotsConfigOutput { return o.ApplyT(func(v *ScheduledSnapshotsConfig) ScheduledSnapshotsConfig { if v != nil { @@ -3376,6 +3803,12 @@ func (o ScheduledSnapshotsConfigResponseOutput) ToScheduledSnapshotsConfigRespon return o } +func (o ScheduledSnapshotsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduledSnapshotsConfigResponse] { + return pulumix.Output[ScheduledSnapshotsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Whether scheduled snapshots creation is enabled. func (o ScheduledSnapshotsConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ScheduledSnapshotsConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -3443,6 +3876,12 @@ func (i SchedulerResourceArgs) ToSchedulerResourceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SchedulerResourceOutput) } +func (i SchedulerResourceArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulerResource] { + return pulumix.Output[SchedulerResource]{ + OutputState: i.ToSchedulerResourceOutputWithContext(ctx).OutputState, + } +} + func (i SchedulerResourceArgs) ToSchedulerResourcePtrOutput() SchedulerResourcePtrOutput { return i.ToSchedulerResourcePtrOutputWithContext(context.Background()) } @@ -3484,6 +3923,12 @@ func (i *schedulerResourcePtrType) ToSchedulerResourcePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(SchedulerResourcePtrOutput) } +func (i *schedulerResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*SchedulerResource] { + return pulumix.Output[*SchedulerResource]{ + OutputState: i.ToSchedulerResourcePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for resources used by Airflow schedulers. type SchedulerResourceOutput struct{ *pulumi.OutputState } @@ -3509,6 +3954,12 @@ func (o SchedulerResourceOutput) ToSchedulerResourcePtrOutputWithContext(ctx con }).(SchedulerResourcePtrOutput) } +func (o SchedulerResourceOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulerResource] { + return pulumix.Output[SchedulerResource]{ + OutputState: o.OutputState, + } +} + // Optional. The number of schedulers. func (o SchedulerResourceOutput) Count() pulumi.IntPtrOutput { return o.ApplyT(func(v SchedulerResource) *int { return v.Count }).(pulumi.IntPtrOutput) @@ -3543,6 +3994,12 @@ func (o SchedulerResourcePtrOutput) ToSchedulerResourcePtrOutputWithContext(ctx return o } +func (o SchedulerResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulerResource] { + return pulumix.Output[*SchedulerResource]{ + OutputState: o.OutputState, + } +} + func (o SchedulerResourcePtrOutput) Elem() SchedulerResourceOutput { return o.ApplyT(func(v *SchedulerResource) SchedulerResource { if v != nil { @@ -3620,6 +4077,12 @@ func (o SchedulerResourceResponseOutput) ToSchedulerResourceResponseOutputWithCo return o } +func (o SchedulerResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulerResourceResponse] { + return pulumix.Output[SchedulerResourceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The number of schedulers. func (o SchedulerResourceResponseOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v SchedulerResourceResponse) int { return v.Count }).(pulumi.IntOutput) @@ -3695,6 +4158,12 @@ func (i SoftwareConfigArgs) ToSoftwareConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SoftwareConfigOutput) } +func (i SoftwareConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfig] { + return pulumix.Output[SoftwareConfig]{ + OutputState: i.ToSoftwareConfigOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareConfigArgs) ToSoftwareConfigPtrOutput() SoftwareConfigPtrOutput { return i.ToSoftwareConfigPtrOutputWithContext(context.Background()) } @@ -3736,6 +4205,12 @@ func (i *softwareConfigPtrType) ToSoftwareConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SoftwareConfigPtrOutput) } +func (i *softwareConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfig] { + return pulumix.Output[*SoftwareConfig]{ + OutputState: i.ToSoftwareConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the selection and configuration of software inside the environment. type SoftwareConfigOutput struct{ *pulumi.OutputState } @@ -3761,6 +4236,12 @@ func (o SoftwareConfigOutput) ToSoftwareConfigPtrOutputWithContext(ctx context.C }).(SoftwareConfigPtrOutput) } +func (o SoftwareConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfig] { + return pulumix.Output[SoftwareConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and must not contain an equals sign ("=") or semicolon (";"). Section and property names must not contain a period ("."). Apache Airflow configuration property names must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden. func (o SoftwareConfigOutput) AirflowConfigOverrides() pulumi.StringMapOutput { return o.ApplyT(func(v SoftwareConfig) map[string]string { return v.AirflowConfigOverrides }).(pulumi.StringMapOutput) @@ -3805,6 +4286,12 @@ func (o SoftwareConfigPtrOutput) ToSoftwareConfigPtrOutputWithContext(ctx contex return o } +func (o SoftwareConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfig] { + return pulumix.Output[*SoftwareConfig]{ + OutputState: o.OutputState, + } +} + func (o SoftwareConfigPtrOutput) Elem() SoftwareConfigOutput { return o.ApplyT(func(v *SoftwareConfig) SoftwareConfig { if v != nil { @@ -3906,6 +4393,12 @@ func (o SoftwareConfigResponseOutput) ToSoftwareConfigResponseOutputWithContext( return o } +func (o SoftwareConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfigResponse] { + return pulumix.Output[SoftwareConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and must not contain an equals sign ("=") or semicolon (";"). Section and property names must not contain a period ("."). Apache Airflow configuration property names must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden. func (o SoftwareConfigResponseOutput) AirflowConfigOverrides() pulumi.StringMapOutput { return o.ApplyT(func(v SoftwareConfigResponse) map[string]string { return v.AirflowConfigOverrides }).(pulumi.StringMapOutput) @@ -3971,6 +4464,12 @@ func (i WebServerConfigArgs) ToWebServerConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(WebServerConfigOutput) } +func (i WebServerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WebServerConfig] { + return pulumix.Output[WebServerConfig]{ + OutputState: i.ToWebServerConfigOutputWithContext(ctx).OutputState, + } +} + func (i WebServerConfigArgs) ToWebServerConfigPtrOutput() WebServerConfigPtrOutput { return i.ToWebServerConfigPtrOutputWithContext(context.Background()) } @@ -4012,6 +4511,12 @@ func (i *webServerConfigPtrType) ToWebServerConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(WebServerConfigPtrOutput) } +func (i *webServerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WebServerConfig] { + return pulumix.Output[*WebServerConfig]{ + OutputState: i.ToWebServerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration settings for the Airflow web server App Engine instance. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.* type WebServerConfigOutput struct{ *pulumi.OutputState } @@ -4037,6 +4542,12 @@ func (o WebServerConfigOutput) ToWebServerConfigPtrOutputWithContext(ctx context }).(WebServerConfigPtrOutput) } +func (o WebServerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerConfig] { + return pulumix.Output[WebServerConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values. func (o WebServerConfigOutput) MachineType() pulumi.StringPtrOutput { return o.ApplyT(func(v WebServerConfig) *string { return v.MachineType }).(pulumi.StringPtrOutput) @@ -4056,6 +4567,12 @@ func (o WebServerConfigPtrOutput) ToWebServerConfigPtrOutputWithContext(ctx cont return o } +func (o WebServerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WebServerConfig] { + return pulumix.Output[*WebServerConfig]{ + OutputState: o.OutputState, + } +} + func (o WebServerConfigPtrOutput) Elem() WebServerConfigOutput { return o.ApplyT(func(v *WebServerConfig) WebServerConfig { if v != nil { @@ -4097,6 +4614,12 @@ func (o WebServerConfigResponseOutput) ToWebServerConfigResponseOutputWithContex return o } +func (o WebServerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerConfigResponse] { + return pulumix.Output[WebServerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values. func (o WebServerConfigResponseOutput) MachineType() pulumi.StringOutput { return o.ApplyT(func(v WebServerConfigResponse) string { return v.MachineType }).(pulumi.StringOutput) @@ -4137,6 +4660,12 @@ func (i WebServerNetworkAccessControlArgs) ToWebServerNetworkAccessControlOutput return pulumi.ToOutputWithContext(ctx, i).(WebServerNetworkAccessControlOutput) } +func (i WebServerNetworkAccessControlArgs) ToOutput(ctx context.Context) pulumix.Output[WebServerNetworkAccessControl] { + return pulumix.Output[WebServerNetworkAccessControl]{ + OutputState: i.ToWebServerNetworkAccessControlOutputWithContext(ctx).OutputState, + } +} + func (i WebServerNetworkAccessControlArgs) ToWebServerNetworkAccessControlPtrOutput() WebServerNetworkAccessControlPtrOutput { return i.ToWebServerNetworkAccessControlPtrOutputWithContext(context.Background()) } @@ -4178,6 +4707,12 @@ func (i *webServerNetworkAccessControlPtrType) ToWebServerNetworkAccessControlPt return pulumi.ToOutputWithContext(ctx, i).(WebServerNetworkAccessControlPtrOutput) } +func (i *webServerNetworkAccessControlPtrType) ToOutput(ctx context.Context) pulumix.Output[*WebServerNetworkAccessControl] { + return pulumix.Output[*WebServerNetworkAccessControl]{ + OutputState: i.ToWebServerNetworkAccessControlPtrOutputWithContext(ctx).OutputState, + } +} + // Network-level access control policy for the Airflow web server. type WebServerNetworkAccessControlOutput struct{ *pulumi.OutputState } @@ -4203,6 +4738,12 @@ func (o WebServerNetworkAccessControlOutput) ToWebServerNetworkAccessControlPtrO }).(WebServerNetworkAccessControlPtrOutput) } +func (o WebServerNetworkAccessControlOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerNetworkAccessControl] { + return pulumix.Output[WebServerNetworkAccessControl]{ + OutputState: o.OutputState, + } +} + // A collection of allowed IP ranges with descriptions. func (o WebServerNetworkAccessControlOutput) AllowedIpRanges() AllowedIpRangeArrayOutput { return o.ApplyT(func(v WebServerNetworkAccessControl) []AllowedIpRange { return v.AllowedIpRanges }).(AllowedIpRangeArrayOutput) @@ -4222,6 +4763,12 @@ func (o WebServerNetworkAccessControlPtrOutput) ToWebServerNetworkAccessControlP return o } +func (o WebServerNetworkAccessControlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WebServerNetworkAccessControl] { + return pulumix.Output[*WebServerNetworkAccessControl]{ + OutputState: o.OutputState, + } +} + func (o WebServerNetworkAccessControlPtrOutput) Elem() WebServerNetworkAccessControlOutput { return o.ApplyT(func(v *WebServerNetworkAccessControl) WebServerNetworkAccessControl { if v != nil { @@ -4263,6 +4810,12 @@ func (o WebServerNetworkAccessControlResponseOutput) ToWebServerNetworkAccessCon return o } +func (o WebServerNetworkAccessControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerNetworkAccessControlResponse] { + return pulumix.Output[WebServerNetworkAccessControlResponse]{ + OutputState: o.OutputState, + } +} + // A collection of allowed IP ranges with descriptions. func (o WebServerNetworkAccessControlResponseOutput) AllowedIpRanges() AllowedIpRangeResponseArrayOutput { return o.ApplyT(func(v WebServerNetworkAccessControlResponse) []AllowedIpRangeResponse { return v.AllowedIpRanges }).(AllowedIpRangeResponseArrayOutput) @@ -4311,6 +4864,12 @@ func (i WebServerResourceArgs) ToWebServerResourceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(WebServerResourceOutput) } +func (i WebServerResourceArgs) ToOutput(ctx context.Context) pulumix.Output[WebServerResource] { + return pulumix.Output[WebServerResource]{ + OutputState: i.ToWebServerResourceOutputWithContext(ctx).OutputState, + } +} + func (i WebServerResourceArgs) ToWebServerResourcePtrOutput() WebServerResourcePtrOutput { return i.ToWebServerResourcePtrOutputWithContext(context.Background()) } @@ -4352,6 +4911,12 @@ func (i *webServerResourcePtrType) ToWebServerResourcePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(WebServerResourcePtrOutput) } +func (i *webServerResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*WebServerResource] { + return pulumix.Output[*WebServerResource]{ + OutputState: i.ToWebServerResourcePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for resources used by Airflow web server. type WebServerResourceOutput struct{ *pulumi.OutputState } @@ -4377,6 +4942,12 @@ func (o WebServerResourceOutput) ToWebServerResourcePtrOutputWithContext(ctx con }).(WebServerResourcePtrOutput) } +func (o WebServerResourceOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerResource] { + return pulumix.Output[WebServerResource]{ + OutputState: o.OutputState, + } +} + // Optional. CPU request and limit for Airflow web server. func (o WebServerResourceOutput) Cpu() pulumi.Float64PtrOutput { return o.ApplyT(func(v WebServerResource) *float64 { return v.Cpu }).(pulumi.Float64PtrOutput) @@ -4406,6 +4977,12 @@ func (o WebServerResourcePtrOutput) ToWebServerResourcePtrOutputWithContext(ctx return o } +func (o WebServerResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WebServerResource] { + return pulumix.Output[*WebServerResource]{ + OutputState: o.OutputState, + } +} + func (o WebServerResourcePtrOutput) Elem() WebServerResourceOutput { return o.ApplyT(func(v *WebServerResource) WebServerResource { if v != nil { @@ -4471,6 +5048,12 @@ func (o WebServerResourceResponseOutput) ToWebServerResourceResponseOutputWithCo return o } +func (o WebServerResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerResourceResponse] { + return pulumix.Output[WebServerResourceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. CPU request and limit for Airflow web server. func (o WebServerResourceResponseOutput) Cpu() pulumi.Float64Output { return o.ApplyT(func(v WebServerResourceResponse) float64 { return v.Cpu }).(pulumi.Float64Output) @@ -4537,6 +5120,12 @@ func (i WorkerResourceArgs) ToWorkerResourceOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(WorkerResourceOutput) } +func (i WorkerResourceArgs) ToOutput(ctx context.Context) pulumix.Output[WorkerResource] { + return pulumix.Output[WorkerResource]{ + OutputState: i.ToWorkerResourceOutputWithContext(ctx).OutputState, + } +} + func (i WorkerResourceArgs) ToWorkerResourcePtrOutput() WorkerResourcePtrOutput { return i.ToWorkerResourcePtrOutputWithContext(context.Background()) } @@ -4578,6 +5167,12 @@ func (i *workerResourcePtrType) ToWorkerResourcePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(WorkerResourcePtrOutput) } +func (i *workerResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkerResource] { + return pulumix.Output[*WorkerResource]{ + OutputState: i.ToWorkerResourcePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for resources used by Airflow workers. type WorkerResourceOutput struct{ *pulumi.OutputState } @@ -4603,6 +5198,12 @@ func (o WorkerResourceOutput) ToWorkerResourcePtrOutputWithContext(ctx context.C }).(WorkerResourcePtrOutput) } +func (o WorkerResourceOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerResource] { + return pulumix.Output[WorkerResource]{ + OutputState: o.OutputState, + } +} + // Optional. CPU request and limit for a single Airflow worker replica. func (o WorkerResourceOutput) Cpu() pulumi.Float64PtrOutput { return o.ApplyT(func(v WorkerResource) *float64 { return v.Cpu }).(pulumi.Float64PtrOutput) @@ -4642,6 +5243,12 @@ func (o WorkerResourcePtrOutput) ToWorkerResourcePtrOutputWithContext(ctx contex return o } +func (o WorkerResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerResource] { + return pulumix.Output[*WorkerResource]{ + OutputState: o.OutputState, + } +} + func (o WorkerResourcePtrOutput) Elem() WorkerResourceOutput { return o.ApplyT(func(v *WorkerResource) WorkerResource { if v != nil { @@ -4731,6 +5338,12 @@ func (o WorkerResourceResponseOutput) ToWorkerResourceResponseOutputWithContext( return o } +func (o WorkerResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerResourceResponse] { + return pulumix.Output[WorkerResourceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. CPU request and limit for a single Airflow worker replica. func (o WorkerResourceResponseOutput) Cpu() pulumi.Float64Output { return o.ApplyT(func(v WorkerResourceResponse) float64 { return v.Cpu }).(pulumi.Float64Output) @@ -4799,6 +5412,12 @@ func (i WorkloadsConfigArgs) ToWorkloadsConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(WorkloadsConfigOutput) } +func (i WorkloadsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkloadsConfig] { + return pulumix.Output[WorkloadsConfig]{ + OutputState: i.ToWorkloadsConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkloadsConfigArgs) ToWorkloadsConfigPtrOutput() WorkloadsConfigPtrOutput { return i.ToWorkloadsConfigPtrOutputWithContext(context.Background()) } @@ -4840,6 +5459,12 @@ func (i *workloadsConfigPtrType) ToWorkloadsConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(WorkloadsConfigPtrOutput) } +func (i *workloadsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkloadsConfig] { + return pulumix.Output[*WorkloadsConfig]{ + OutputState: i.ToWorkloadsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The Kubernetes workloads configuration for GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. type WorkloadsConfigOutput struct{ *pulumi.OutputState } @@ -4865,6 +5490,12 @@ func (o WorkloadsConfigOutput) ToWorkloadsConfigPtrOutputWithContext(ctx context }).(WorkloadsConfigPtrOutput) } +func (o WorkloadsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadsConfig] { + return pulumix.Output[WorkloadsConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Resources used by Airflow schedulers. func (o WorkloadsConfigOutput) Scheduler() SchedulerResourcePtrOutput { return o.ApplyT(func(v WorkloadsConfig) *SchedulerResource { return v.Scheduler }).(SchedulerResourcePtrOutput) @@ -4894,6 +5525,12 @@ func (o WorkloadsConfigPtrOutput) ToWorkloadsConfigPtrOutputWithContext(ctx cont return o } +func (o WorkloadsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadsConfig] { + return pulumix.Output[*WorkloadsConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkloadsConfigPtrOutput) Elem() WorkloadsConfigOutput { return o.ApplyT(func(v *WorkloadsConfig) WorkloadsConfig { if v != nil { @@ -4959,6 +5596,12 @@ func (o WorkloadsConfigResponseOutput) ToWorkloadsConfigResponseOutputWithContex return o } +func (o WorkloadsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadsConfigResponse] { + return pulumix.Output[WorkloadsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Resources used by Airflow schedulers. func (o WorkloadsConfigResponseOutput) Scheduler() SchedulerResourceResponseOutput { return o.ApplyT(func(v WorkloadsConfigResponse) SchedulerResourceResponse { return v.Scheduler }).(SchedulerResourceResponseOutput) diff --git a/sdk/go/google/composer/v1beta1/environment.go b/sdk/go/google/composer/v1beta1/environment.go index 0f3c12c767..717efc8526 100644 --- a/sdk/go/google/composer/v1beta1/environment.go +++ b/sdk/go/google/composer/v1beta1/environment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new environment. @@ -127,6 +128,12 @@ func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) Enviro return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i *Environment) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + type EnvironmentOutput struct{ *pulumi.OutputState } func (EnvironmentOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) E return o } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + // Configuration parameters for this environment. func (o EnvironmentOutput) Config() EnvironmentConfigResponseOutput { return o.ApplyT(func(v *Environment) EnvironmentConfigResponseOutput { return v.Config }).(EnvironmentConfigResponseOutput) diff --git a/sdk/go/google/composer/v1beta1/getEnvironment.go b/sdk/go/google/composer/v1beta1/getEnvironment.go index d1c662e584..dde321ab53 100644 --- a/sdk/go/google/composer/v1beta1/getEnvironment.go +++ b/sdk/go/google/composer/v1beta1/getEnvironment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get an existing environment. @@ -82,6 +83,12 @@ func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContex return o } +func (o LookupEnvironmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentResult] { + return pulumix.Output[LookupEnvironmentResult]{ + OutputState: o.OutputState, + } +} + // Configuration parameters for this environment. func (o LookupEnvironmentResultOutput) Config() EnvironmentConfigResponseOutput { return o.ApplyT(func(v LookupEnvironmentResult) EnvironmentConfigResponse { return v.Config }).(EnvironmentConfigResponseOutput) diff --git a/sdk/go/google/composer/v1beta1/pulumiEnums.go b/sdk/go/google/composer/v1beta1/pulumiEnums.go index a30c8a131a..2cc1fc1277 100644 --- a/sdk/go/google/composer/v1beta1/pulumiEnums.go +++ b/sdk/go/google/composer/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. @@ -84,6 +85,12 @@ func (o EnvironmentConfigEnvironmentSizeOutput) ToEnvironmentConfigEnvironmentSi }).(EnvironmentConfigEnvironmentSizePtrOutput) } +func (o EnvironmentConfigEnvironmentSizeOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfigEnvironmentSize] { + return pulumix.Output[EnvironmentConfigEnvironmentSize]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentConfigEnvironmentSizeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o EnvironmentConfigEnvironmentSizePtrOutput) ToEnvironmentConfigEnvironmen return o } +func (o EnvironmentConfigEnvironmentSizePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentConfigEnvironmentSize] { + return pulumix.Output[*EnvironmentConfigEnvironmentSize]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentConfigEnvironmentSizePtrOutput) Elem() EnvironmentConfigEnvironmentSizeOutput { return o.ApplyT(func(v *EnvironmentConfigEnvironmentSize) EnvironmentConfigEnvironmentSize { if v != nil { @@ -181,6 +194,12 @@ func (in *environmentConfigEnvironmentSizePtr) ToEnvironmentConfigEnvironmentSiz return pulumi.ToOutputWithContext(ctx, in).(EnvironmentConfigEnvironmentSizePtrOutput) } +func (in *environmentConfigEnvironmentSizePtr) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentConfigEnvironmentSize] { + return pulumix.Output[*EnvironmentConfigEnvironmentSize]{ + OutputState: in.ToEnvironmentConfigEnvironmentSizePtrOutputWithContext(ctx).OutputState, + } +} + // The current state of the environment. type EnvironmentStateEnum string @@ -259,6 +278,12 @@ func (o EnvironmentStateEnumOutput) ToEnvironmentStateEnumPtrOutputWithContext(c }).(EnvironmentStateEnumPtrOutput) } +func (o EnvironmentStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentStateEnum] { + return pulumix.Output[EnvironmentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -294,6 +319,12 @@ func (o EnvironmentStateEnumPtrOutput) ToEnvironmentStateEnumPtrOutputWithContex return o } +func (o EnvironmentStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentStateEnum] { + return pulumix.Output[*EnvironmentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentStateEnumPtrOutput) Elem() EnvironmentStateEnumOutput { return o.ApplyT(func(v *EnvironmentStateEnum) EnvironmentStateEnum { if v != nil { @@ -356,6 +387,12 @@ func (in *environmentStateEnumPtr) ToEnvironmentStateEnumPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(EnvironmentStateEnumPtrOutput) } +func (in *environmentStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentStateEnum] { + return pulumix.Output[*EnvironmentStateEnum]{ + OutputState: in.ToEnvironmentStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Indicates the user requested specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. type NetworkingConfigConnectionType string @@ -428,6 +465,12 @@ func (o NetworkingConfigConnectionTypeOutput) ToNetworkingConfigConnectionTypePt }).(NetworkingConfigConnectionTypePtrOutput) } +func (o NetworkingConfigConnectionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkingConfigConnectionType] { + return pulumix.Output[NetworkingConfigConnectionType]{ + OutputState: o.OutputState, + } +} + func (o NetworkingConfigConnectionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -463,6 +506,12 @@ func (o NetworkingConfigConnectionTypePtrOutput) ToNetworkingConfigConnectionTyp return o } +func (o NetworkingConfigConnectionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkingConfigConnectionType] { + return pulumix.Output[*NetworkingConfigConnectionType]{ + OutputState: o.OutputState, + } +} + func (o NetworkingConfigConnectionTypePtrOutput) Elem() NetworkingConfigConnectionTypeOutput { return o.ApplyT(func(v *NetworkingConfigConnectionType) NetworkingConfigConnectionType { if v != nil { @@ -525,6 +574,12 @@ func (in *networkingConfigConnectionTypePtr) ToNetworkingConfigConnectionTypePtr return pulumi.ToOutputWithContext(ctx, in).(NetworkingConfigConnectionTypePtrOutput) } +func (in *networkingConfigConnectionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkingConfigConnectionType] { + return pulumix.Output[*NetworkingConfigConnectionType]{ + OutputState: in.ToNetworkingConfigConnectionTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*EnvironmentConfigEnvironmentSizeInput)(nil)).Elem(), EnvironmentConfigEnvironmentSize("ENVIRONMENT_SIZE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*EnvironmentConfigEnvironmentSizePtrInput)(nil)).Elem(), EnvironmentConfigEnvironmentSize("ENVIRONMENT_SIZE_UNSPECIFIED")) diff --git a/sdk/go/google/composer/v1beta1/pulumiTypes.go b/sdk/go/google/composer/v1beta1/pulumiTypes.go index 7c2128d4a4..7912c3f94b 100644 --- a/sdk/go/google/composer/v1beta1/pulumiTypes.go +++ b/sdk/go/google/composer/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AllowedIpRangeArgs) ToAllowedIpRangeOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AllowedIpRangeOutput) } +func (i AllowedIpRangeArgs) ToOutput(ctx context.Context) pulumix.Output[AllowedIpRange] { + return pulumix.Output[AllowedIpRange]{ + OutputState: i.ToAllowedIpRangeOutputWithContext(ctx).OutputState, + } +} + // AllowedIpRangeArrayInput is an input type that accepts AllowedIpRangeArray and AllowedIpRangeArrayOutput values. // You can construct a concrete instance of `AllowedIpRangeArrayInput` via: // @@ -77,6 +84,12 @@ func (i AllowedIpRangeArray) ToAllowedIpRangeArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AllowedIpRangeArrayOutput) } +func (i AllowedIpRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]AllowedIpRange] { + return pulumix.Output[[]AllowedIpRange]{ + OutputState: i.ToAllowedIpRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Allowed IP range with user-provided description. type AllowedIpRangeOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AllowedIpRangeOutput) ToAllowedIpRangeOutputWithContext(ctx context.Cont return o } +func (o AllowedIpRangeOutput) ToOutput(ctx context.Context) pulumix.Output[AllowedIpRange] { + return pulumix.Output[AllowedIpRange]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided description. It must contain at most 300 characters. func (o AllowedIpRangeOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v AllowedIpRange) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -116,6 +135,12 @@ func (o AllowedIpRangeArrayOutput) ToAllowedIpRangeArrayOutputWithContext(ctx co return o } +func (o AllowedIpRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllowedIpRange] { + return pulumix.Output[[]AllowedIpRange]{ + OutputState: o.OutputState, + } +} + func (o AllowedIpRangeArrayOutput) Index(i pulumi.IntInput) AllowedIpRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllowedIpRange { return vs[0].([]AllowedIpRange)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AllowedIpRangeResponseOutput) ToAllowedIpRangeResponseOutputWithContext( return o } +func (o AllowedIpRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllowedIpRangeResponse] { + return pulumix.Output[AllowedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided description. It must contain at most 300 characters. func (o AllowedIpRangeResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v AllowedIpRangeResponse) string { return v.Description }).(pulumi.StringOutput) @@ -169,6 +200,12 @@ func (o AllowedIpRangeResponseArrayOutput) ToAllowedIpRangeResponseArrayOutputWi return o } +func (o AllowedIpRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllowedIpRangeResponse] { + return pulumix.Output[[]AllowedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o AllowedIpRangeResponseArrayOutput) Index(i pulumi.IntInput) AllowedIpRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllowedIpRangeResponse { return vs[0].([]AllowedIpRangeResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i CidrBlockArgs) ToCidrBlockOutputWithContext(ctx context.Context) CidrBlo return pulumi.ToOutputWithContext(ctx, i).(CidrBlockOutput) } +func (i CidrBlockArgs) ToOutput(ctx context.Context) pulumix.Output[CidrBlock] { + return pulumix.Output[CidrBlock]{ + OutputState: i.ToCidrBlockOutputWithContext(ctx).OutputState, + } +} + // CidrBlockArrayInput is an input type that accepts CidrBlockArray and CidrBlockArrayOutput values. // You can construct a concrete instance of `CidrBlockArrayInput` via: // @@ -239,6 +282,12 @@ func (i CidrBlockArray) ToCidrBlockArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CidrBlockArrayOutput) } +func (i CidrBlockArray) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlock] { + return pulumix.Output[[]CidrBlock]{ + OutputState: i.ToCidrBlockArrayOutputWithContext(ctx).OutputState, + } +} + // CIDR block with an optional name. type CidrBlockOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o CidrBlockOutput) ToCidrBlockOutputWithContext(ctx context.Context) CidrB return o } +func (o CidrBlockOutput) ToOutput(ctx context.Context) pulumix.Output[CidrBlock] { + return pulumix.Output[CidrBlock]{ + OutputState: o.OutputState, + } +} + // CIDR block that must be specified in CIDR notation. func (o CidrBlockOutput) CidrBlock() pulumi.StringPtrOutput { return o.ApplyT(func(v CidrBlock) *string { return v.CidrBlock }).(pulumi.StringPtrOutput) @@ -278,6 +333,12 @@ func (o CidrBlockArrayOutput) ToCidrBlockArrayOutputWithContext(ctx context.Cont return o } +func (o CidrBlockArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlock] { + return pulumix.Output[[]CidrBlock]{ + OutputState: o.OutputState, + } +} + func (o CidrBlockArrayOutput) Index(i pulumi.IntInput) CidrBlockOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CidrBlock { return vs[0].([]CidrBlock)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o CidrBlockResponseOutput) ToCidrBlockResponseOutputWithContext(ctx contex return o } +func (o CidrBlockResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CidrBlockResponse] { + return pulumix.Output[CidrBlockResponse]{ + OutputState: o.OutputState, + } +} + // CIDR block that must be specified in CIDR notation. func (o CidrBlockResponseOutput) CidrBlock() pulumi.StringOutput { return o.ApplyT(func(v CidrBlockResponse) string { return v.CidrBlock }).(pulumi.StringOutput) @@ -331,6 +398,12 @@ func (o CidrBlockResponseArrayOutput) ToCidrBlockResponseArrayOutputWithContext( return o } +func (o CidrBlockResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlockResponse] { + return pulumix.Output[[]CidrBlockResponse]{ + OutputState: o.OutputState, + } +} + func (o CidrBlockResponseArrayOutput) Index(i pulumi.IntInput) CidrBlockResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CidrBlockResponse { return vs[0].([]CidrBlockResponse)[vs[1].(int)] @@ -372,6 +445,12 @@ func (i CloudDataLineageIntegrationArgs) ToCloudDataLineageIntegrationOutputWith return pulumi.ToOutputWithContext(ctx, i).(CloudDataLineageIntegrationOutput) } +func (i CloudDataLineageIntegrationArgs) ToOutput(ctx context.Context) pulumix.Output[CloudDataLineageIntegration] { + return pulumix.Output[CloudDataLineageIntegration]{ + OutputState: i.ToCloudDataLineageIntegrationOutputWithContext(ctx).OutputState, + } +} + func (i CloudDataLineageIntegrationArgs) ToCloudDataLineageIntegrationPtrOutput() CloudDataLineageIntegrationPtrOutput { return i.ToCloudDataLineageIntegrationPtrOutputWithContext(context.Background()) } @@ -413,6 +492,12 @@ func (i *cloudDataLineageIntegrationPtrType) ToCloudDataLineageIntegrationPtrOut return pulumi.ToOutputWithContext(ctx, i).(CloudDataLineageIntegrationPtrOutput) } +func (i *cloudDataLineageIntegrationPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudDataLineageIntegration] { + return pulumix.Output[*CloudDataLineageIntegration]{ + OutputState: i.ToCloudDataLineageIntegrationPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for Cloud Data Lineage integration. type CloudDataLineageIntegrationOutput struct{ *pulumi.OutputState } @@ -438,6 +523,12 @@ func (o CloudDataLineageIntegrationOutput) ToCloudDataLineageIntegrationPtrOutpu }).(CloudDataLineageIntegrationPtrOutput) } +func (o CloudDataLineageIntegrationOutput) ToOutput(ctx context.Context) pulumix.Output[CloudDataLineageIntegration] { + return pulumix.Output[CloudDataLineageIntegration]{ + OutputState: o.OutputState, + } +} + // Optional. Whether or not Cloud Data Lineage integration is enabled. func (o CloudDataLineageIntegrationOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v CloudDataLineageIntegration) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -457,6 +548,12 @@ func (o CloudDataLineageIntegrationPtrOutput) ToCloudDataLineageIntegrationPtrOu return o } +func (o CloudDataLineageIntegrationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudDataLineageIntegration] { + return pulumix.Output[*CloudDataLineageIntegration]{ + OutputState: o.OutputState, + } +} + func (o CloudDataLineageIntegrationPtrOutput) Elem() CloudDataLineageIntegrationOutput { return o.ApplyT(func(v *CloudDataLineageIntegration) CloudDataLineageIntegration { if v != nil { @@ -498,6 +595,12 @@ func (o CloudDataLineageIntegrationResponseOutput) ToCloudDataLineageIntegration return o } +func (o CloudDataLineageIntegrationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudDataLineageIntegrationResponse] { + return pulumix.Output[CloudDataLineageIntegrationResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Whether or not Cloud Data Lineage integration is enabled. func (o CloudDataLineageIntegrationResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v CloudDataLineageIntegrationResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -538,6 +641,12 @@ func (i DatabaseConfigArgs) ToDatabaseConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DatabaseConfigOutput) } +func (i DatabaseConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseConfig] { + return pulumix.Output[DatabaseConfig]{ + OutputState: i.ToDatabaseConfigOutputWithContext(ctx).OutputState, + } +} + func (i DatabaseConfigArgs) ToDatabaseConfigPtrOutput() DatabaseConfigPtrOutput { return i.ToDatabaseConfigPtrOutputWithContext(context.Background()) } @@ -579,6 +688,12 @@ func (i *databaseConfigPtrType) ToDatabaseConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DatabaseConfigPtrOutput) } +func (i *databaseConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DatabaseConfig] { + return pulumix.Output[*DatabaseConfig]{ + OutputState: i.ToDatabaseConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration of Cloud SQL instance that is used by the Apache Airflow software. type DatabaseConfigOutput struct{ *pulumi.OutputState } @@ -604,6 +719,12 @@ func (o DatabaseConfigOutput) ToDatabaseConfigPtrOutputWithContext(ctx context.C }).(DatabaseConfigPtrOutput) } +func (o DatabaseConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseConfig] { + return pulumix.Output[DatabaseConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. func (o DatabaseConfigOutput) MachineType() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseConfig) *string { return v.MachineType }).(pulumi.StringPtrOutput) @@ -623,6 +744,12 @@ func (o DatabaseConfigPtrOutput) ToDatabaseConfigPtrOutputWithContext(ctx contex return o } +func (o DatabaseConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseConfig] { + return pulumix.Output[*DatabaseConfig]{ + OutputState: o.OutputState, + } +} + func (o DatabaseConfigPtrOutput) Elem() DatabaseConfigOutput { return o.ApplyT(func(v *DatabaseConfig) DatabaseConfig { if v != nil { @@ -664,6 +791,12 @@ func (o DatabaseConfigResponseOutput) ToDatabaseConfigResponseOutputWithContext( return o } +func (o DatabaseConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseConfigResponse] { + return pulumix.Output[DatabaseConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. func (o DatabaseConfigResponseOutput) MachineType() pulumi.StringOutput { return o.ApplyT(func(v DatabaseConfigResponse) string { return v.MachineType }).(pulumi.StringOutput) @@ -704,6 +837,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -745,6 +884,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The encryption options for the Cloud Composer environment and its dependencies. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -770,6 +915,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used. func (o EncryptionConfigOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -789,6 +940,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -830,6 +987,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used. func (o EncryptionConfigResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -918,6 +1081,12 @@ func (i EnvironmentConfigArgs) ToEnvironmentConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(EnvironmentConfigOutput) } +func (i EnvironmentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfig] { + return pulumix.Output[EnvironmentConfig]{ + OutputState: i.ToEnvironmentConfigOutputWithContext(ctx).OutputState, + } +} + func (i EnvironmentConfigArgs) ToEnvironmentConfigPtrOutput() EnvironmentConfigPtrOutput { return i.ToEnvironmentConfigPtrOutputWithContext(context.Background()) } @@ -959,6 +1128,12 @@ func (i *environmentConfigPtrType) ToEnvironmentConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(EnvironmentConfigPtrOutput) } +func (i *environmentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentConfig] { + return pulumix.Output[*EnvironmentConfig]{ + OutputState: i.ToEnvironmentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration information for an environment. type EnvironmentConfigOutput struct{ *pulumi.OutputState } @@ -984,6 +1159,12 @@ func (o EnvironmentConfigOutput) ToEnvironmentConfigPtrOutputWithContext(ctx con }).(EnvironmentConfigPtrOutput) } +func (o EnvironmentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfig] { + return pulumix.Output[EnvironmentConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software. func (o EnvironmentConfigOutput) DatabaseConfig() DatabaseConfigPtrOutput { return o.ApplyT(func(v EnvironmentConfig) *DatabaseConfig { return v.DatabaseConfig }).(DatabaseConfigPtrOutput) @@ -1063,6 +1244,12 @@ func (o EnvironmentConfigPtrOutput) ToEnvironmentConfigPtrOutputWithContext(ctx return o } +func (o EnvironmentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentConfig] { + return pulumix.Output[*EnvironmentConfig]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentConfigPtrOutput) Elem() EnvironmentConfigOutput { return o.ApplyT(func(v *EnvironmentConfig) EnvironmentConfig { if v != nil { @@ -1256,6 +1443,12 @@ func (o EnvironmentConfigResponseOutput) ToEnvironmentConfigResponseOutputWithCo return o } +func (o EnvironmentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfigResponse] { + return pulumix.Output[EnvironmentConfigResponse]{ + OutputState: o.OutputState, + } +} + // The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)). func (o EnvironmentConfigResponseOutput) AirflowByoidUri() pulumi.StringOutput { return o.ApplyT(func(v EnvironmentConfigResponse) string { return v.AirflowByoidUri }).(pulumi.StringOutput) @@ -1396,6 +1589,12 @@ func (i IPAllocationPolicyArgs) ToIPAllocationPolicyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(IPAllocationPolicyOutput) } +func (i IPAllocationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicy] { + return pulumix.Output[IPAllocationPolicy]{ + OutputState: i.ToIPAllocationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i IPAllocationPolicyArgs) ToIPAllocationPolicyPtrOutput() IPAllocationPolicyPtrOutput { return i.ToIPAllocationPolicyPtrOutputWithContext(context.Background()) } @@ -1437,6 +1636,12 @@ func (i *ipallocationPolicyPtrType) ToIPAllocationPolicyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(IPAllocationPolicyPtrOutput) } +func (i *ipallocationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicy] { + return pulumix.Output[*IPAllocationPolicy]{ + OutputState: i.ToIPAllocationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for controlling how IPs are allocated in the GKE cluster. type IPAllocationPolicyOutput struct{ *pulumi.OutputState } @@ -1462,6 +1667,12 @@ func (o IPAllocationPolicyOutput) ToIPAllocationPolicyPtrOutputWithContext(ctx c }).(IPAllocationPolicyPtrOutput) } +func (o IPAllocationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicy] { + return pulumix.Output[IPAllocationPolicy]{ + OutputState: o.OutputState, + } +} + // Optional. The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. Specify `cluster_secondary_range_name` or `cluster_ipv4_cidr_block` but not both. func (o IPAllocationPolicyOutput) ClusterIpv4CidrBlock() pulumi.StringPtrOutput { return o.ApplyT(func(v IPAllocationPolicy) *string { return v.ClusterIpv4CidrBlock }).(pulumi.StringPtrOutput) @@ -1501,6 +1712,12 @@ func (o IPAllocationPolicyPtrOutput) ToIPAllocationPolicyPtrOutputWithContext(ct return o } +func (o IPAllocationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicy] { + return pulumix.Output[*IPAllocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyPtrOutput) Elem() IPAllocationPolicyOutput { return o.ApplyT(func(v *IPAllocationPolicy) IPAllocationPolicy { if v != nil { @@ -1590,6 +1807,12 @@ func (o IPAllocationPolicyResponseOutput) ToIPAllocationPolicyResponseOutputWith return o } +func (o IPAllocationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicyResponse] { + return pulumix.Output[IPAllocationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The IP address range used to allocate IP addresses to pods in the cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. Specify `cluster_secondary_range_name` or `cluster_ipv4_cidr_block` but not both. func (o IPAllocationPolicyResponseOutput) ClusterIpv4CidrBlock() pulumi.StringOutput { return o.ApplyT(func(v IPAllocationPolicyResponse) string { return v.ClusterIpv4CidrBlock }).(pulumi.StringOutput) @@ -1658,6 +1881,12 @@ func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput) } +func (i MaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -1699,6 +1928,12 @@ func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowPtrOutput) } +func (i *maintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration settings for Cloud Composer maintenance window. The following example: ```{ "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" }``` would define a maintenance window between 01 and 07 hours UTC during each Tuesday and Wednesday. type MaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -1724,6 +1959,12 @@ func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx con }).(MaintenanceWindowPtrOutput) } +func (o MaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end_time must be in the future, relative to `start_time`. func (o MaintenanceWindowOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceWindow) string { return v.EndTime }).(pulumi.StringOutput) @@ -1753,6 +1994,12 @@ func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx return o } +func (o MaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowPtrOutput) Elem() MaintenanceWindowOutput { return o.ApplyT(func(v *MaintenanceWindow) MaintenanceWindow { if v != nil { @@ -1818,6 +2065,12 @@ func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithCo return o } +func (o MaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowResponse] { + return pulumix.Output[MaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end_time must be in the future, relative to `start_time`. func (o MaintenanceWindowResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceWindowResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -1872,6 +2125,12 @@ func (i MasterAuthorizedNetworksConfigArgs) ToMasterAuthorizedNetworksConfigOutp return pulumi.ToOutputWithContext(ctx, i).(MasterAuthorizedNetworksConfigOutput) } +func (i MasterAuthorizedNetworksConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfig] { + return pulumix.Output[MasterAuthorizedNetworksConfig]{ + OutputState: i.ToMasterAuthorizedNetworksConfigOutputWithContext(ctx).OutputState, + } +} + func (i MasterAuthorizedNetworksConfigArgs) ToMasterAuthorizedNetworksConfigPtrOutput() MasterAuthorizedNetworksConfigPtrOutput { return i.ToMasterAuthorizedNetworksConfigPtrOutputWithContext(context.Background()) } @@ -1913,6 +2172,12 @@ func (i *masterAuthorizedNetworksConfigPtrType) ToMasterAuthorizedNetworksConfig return pulumi.ToOutputWithContext(ctx, i).(MasterAuthorizedNetworksConfigPtrOutput) } +func (i *masterAuthorizedNetworksConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MasterAuthorizedNetworksConfig] { + return pulumix.Output[*MasterAuthorizedNetworksConfig]{ + OutputState: i.ToMasterAuthorizedNetworksConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. type MasterAuthorizedNetworksConfigOutput struct{ *pulumi.OutputState } @@ -1938,6 +2203,12 @@ func (o MasterAuthorizedNetworksConfigOutput) ToMasterAuthorizedNetworksConfigPt }).(MasterAuthorizedNetworksConfigPtrOutput) } +func (o MasterAuthorizedNetworksConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfig] { + return pulumix.Output[MasterAuthorizedNetworksConfig]{ + OutputState: o.OutputState, + } +} + // Up to 50 external networks that could access Kubernetes master through HTTPS. func (o MasterAuthorizedNetworksConfigOutput) CidrBlocks() CidrBlockArrayOutput { return o.ApplyT(func(v MasterAuthorizedNetworksConfig) []CidrBlock { return v.CidrBlocks }).(CidrBlockArrayOutput) @@ -1962,6 +2233,12 @@ func (o MasterAuthorizedNetworksConfigPtrOutput) ToMasterAuthorizedNetworksConfi return o } +func (o MasterAuthorizedNetworksConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MasterAuthorizedNetworksConfig] { + return pulumix.Output[*MasterAuthorizedNetworksConfig]{ + OutputState: o.OutputState, + } +} + func (o MasterAuthorizedNetworksConfigPtrOutput) Elem() MasterAuthorizedNetworksConfigOutput { return o.ApplyT(func(v *MasterAuthorizedNetworksConfig) MasterAuthorizedNetworksConfig { if v != nil { @@ -2015,6 +2292,12 @@ func (o MasterAuthorizedNetworksConfigResponseOutput) ToMasterAuthorizedNetworks return o } +func (o MasterAuthorizedNetworksConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfigResponse] { + return pulumix.Output[MasterAuthorizedNetworksConfigResponse]{ + OutputState: o.OutputState, + } +} + // Up to 50 external networks that could access Kubernetes master through HTTPS. func (o MasterAuthorizedNetworksConfigResponseOutput) CidrBlocks() CidrBlockResponseArrayOutput { return o.ApplyT(func(v MasterAuthorizedNetworksConfigResponse) []CidrBlockResponse { return v.CidrBlocks }).(CidrBlockResponseArrayOutput) @@ -2060,6 +2343,12 @@ func (i NetworkingConfigArgs) ToNetworkingConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkingConfigOutput) } +func (i NetworkingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkingConfig] { + return pulumix.Output[NetworkingConfig]{ + OutputState: i.ToNetworkingConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkingConfigArgs) ToNetworkingConfigPtrOutput() NetworkingConfigPtrOutput { return i.ToNetworkingConfigPtrOutputWithContext(context.Background()) } @@ -2101,6 +2390,12 @@ func (i *networkingConfigPtrType) ToNetworkingConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NetworkingConfigPtrOutput) } +func (i *networkingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkingConfig] { + return pulumix.Output[*NetworkingConfig]{ + OutputState: i.ToNetworkingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for networking connections in the Composer 2 environment. type NetworkingConfigOutput struct{ *pulumi.OutputState } @@ -2126,6 +2421,12 @@ func (o NetworkingConfigOutput) ToNetworkingConfigPtrOutputWithContext(ctx conte }).(NetworkingConfigPtrOutput) } +func (o NetworkingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkingConfig] { + return pulumix.Output[NetworkingConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates the user requested specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. func (o NetworkingConfigOutput) ConnectionType() NetworkingConfigConnectionTypePtrOutput { return o.ApplyT(func(v NetworkingConfig) *NetworkingConfigConnectionType { return v.ConnectionType }).(NetworkingConfigConnectionTypePtrOutput) @@ -2145,6 +2446,12 @@ func (o NetworkingConfigPtrOutput) ToNetworkingConfigPtrOutputWithContext(ctx co return o } +func (o NetworkingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkingConfig] { + return pulumix.Output[*NetworkingConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkingConfigPtrOutput) Elem() NetworkingConfigOutput { return o.ApplyT(func(v *NetworkingConfig) NetworkingConfig { if v != nil { @@ -2186,6 +2493,12 @@ func (o NetworkingConfigResponseOutput) ToNetworkingConfigResponseOutputWithCont return o } +func (o NetworkingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkingConfigResponse] { + return pulumix.Output[NetworkingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates the user requested specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. func (o NetworkingConfigResponseOutput) ConnectionType() pulumi.StringOutput { return o.ApplyT(func(v NetworkingConfigResponse) string { return v.ConnectionType }).(pulumi.StringOutput) @@ -2266,6 +2579,12 @@ func (i NodeConfigArgs) ToNodeConfigOutputWithContext(ctx context.Context) NodeC return pulumi.ToOutputWithContext(ctx, i).(NodeConfigOutput) } +func (i NodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: i.ToNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodeConfigArgs) ToNodeConfigPtrOutput() NodeConfigPtrOutput { return i.ToNodeConfigPtrOutputWithContext(context.Background()) } @@ -2307,6 +2626,12 @@ func (i *nodeConfigPtrType) ToNodeConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(NodeConfigPtrOutput) } +func (i *nodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeConfig] { + return pulumix.Output[*NodeConfig]{ + OutputState: i.ToNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration information for the Kubernetes Engine nodes running the Apache Airflow software. type NodeConfigOutput struct{ *pulumi.OutputState } @@ -2332,6 +2657,12 @@ func (o NodeConfigOutput) ToNodeConfigPtrOutputWithContext(ctx context.Context) }).(NodeConfigPtrOutput) } +func (o NodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. func (o NodeConfigOutput) DiskSizeGb() pulumi.IntPtrOutput { return o.ApplyT(func(v NodeConfig) *int { return v.DiskSizeGb }).(pulumi.IntPtrOutput) @@ -2401,6 +2732,12 @@ func (o NodeConfigPtrOutput) ToNodeConfigPtrOutputWithContext(ctx context.Contex return o } +func (o NodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeConfig] { + return pulumix.Output[*NodeConfig]{ + OutputState: o.OutputState, + } +} + func (o NodeConfigPtrOutput) Elem() NodeConfigOutput { return o.ApplyT(func(v *NodeConfig) NodeConfig { if v != nil { @@ -2562,6 +2899,12 @@ func (o NodeConfigResponseOutput) ToNodeConfigResponseOutputWithContext(ctx cont return o } +func (o NodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigResponse] { + return pulumix.Output[NodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. func (o NodeConfigResponseOutput) DiskSizeGb() pulumi.IntOutput { return o.ApplyT(func(v NodeConfigResponse) int { return v.DiskSizeGb }).(pulumi.IntOutput) @@ -2656,6 +2999,12 @@ func (i PrivateClusterConfigArgs) ToPrivateClusterConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterConfigOutput) } +func (i PrivateClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfig] { + return pulumix.Output[PrivateClusterConfig]{ + OutputState: i.ToPrivateClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i PrivateClusterConfigArgs) ToPrivateClusterConfigPtrOutput() PrivateClusterConfigPtrOutput { return i.ToPrivateClusterConfigPtrOutputWithContext(context.Background()) } @@ -2697,6 +3046,12 @@ func (i *privateClusterConfigPtrType) ToPrivateClusterConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterConfigPtrOutput) } +func (i *privateClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterConfig] { + return pulumix.Output[*PrivateClusterConfig]{ + OutputState: i.ToPrivateClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the private GKE cluster in a Cloud Composer environment. type PrivateClusterConfigOutput struct{ *pulumi.OutputState } @@ -2722,6 +3077,12 @@ func (o PrivateClusterConfigOutput) ToPrivateClusterConfigPtrOutputWithContext(c }).(PrivateClusterConfigPtrOutput) } +func (o PrivateClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfig] { + return pulumix.Output[PrivateClusterConfig]{ + OutputState: o.OutputState, + } +} + // Optional. If `true`, access to the public endpoint of the GKE cluster is denied. func (o PrivateClusterConfigOutput) EnablePrivateEndpoint() pulumi.BoolPtrOutput { return o.ApplyT(func(v PrivateClusterConfig) *bool { return v.EnablePrivateEndpoint }).(pulumi.BoolPtrOutput) @@ -2746,6 +3107,12 @@ func (o PrivateClusterConfigPtrOutput) ToPrivateClusterConfigPtrOutputWithContex return o } +func (o PrivateClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterConfig] { + return pulumix.Output[*PrivateClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o PrivateClusterConfigPtrOutput) Elem() PrivateClusterConfigOutput { return o.ApplyT(func(v *PrivateClusterConfig) PrivateClusterConfig { if v != nil { @@ -2801,6 +3168,12 @@ func (o PrivateClusterConfigResponseOutput) ToPrivateClusterConfigResponseOutput return o } +func (o PrivateClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfigResponse] { + return pulumix.Output[PrivateClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If `true`, access to the public endpoint of the GKE cluster is denied. func (o PrivateClusterConfigResponseOutput) EnablePrivateEndpoint() pulumi.BoolOutput { return o.ApplyT(func(v PrivateClusterConfigResponse) bool { return v.EnablePrivateEndpoint }).(pulumi.BoolOutput) @@ -2879,6 +3252,12 @@ func (i PrivateEnvironmentConfigArgs) ToPrivateEnvironmentConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(PrivateEnvironmentConfigOutput) } +func (i PrivateEnvironmentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateEnvironmentConfig] { + return pulumix.Output[PrivateEnvironmentConfig]{ + OutputState: i.ToPrivateEnvironmentConfigOutputWithContext(ctx).OutputState, + } +} + func (i PrivateEnvironmentConfigArgs) ToPrivateEnvironmentConfigPtrOutput() PrivateEnvironmentConfigPtrOutput { return i.ToPrivateEnvironmentConfigPtrOutputWithContext(context.Background()) } @@ -2920,6 +3299,12 @@ func (i *privateEnvironmentConfigPtrType) ToPrivateEnvironmentConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(PrivateEnvironmentConfigPtrOutput) } +func (i *privateEnvironmentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateEnvironmentConfig] { + return pulumix.Output[*PrivateEnvironmentConfig]{ + OutputState: i.ToPrivateEnvironmentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration information for configuring a Private IP Cloud Composer environment. type PrivateEnvironmentConfigOutput struct{ *pulumi.OutputState } @@ -2945,6 +3330,12 @@ func (o PrivateEnvironmentConfigOutput) ToPrivateEnvironmentConfigPtrOutputWithC }).(PrivateEnvironmentConfigPtrOutput) } +func (o PrivateEnvironmentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateEnvironmentConfig] { + return pulumix.Output[PrivateEnvironmentConfig]{ + OutputState: o.OutputState, + } +} + // Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. func (o PrivateEnvironmentConfigOutput) CloudComposerConnectionSubnetwork() pulumi.StringPtrOutput { return o.ApplyT(func(v PrivateEnvironmentConfig) *string { return v.CloudComposerConnectionSubnetwork }).(pulumi.StringPtrOutput) @@ -2999,6 +3390,12 @@ func (o PrivateEnvironmentConfigPtrOutput) ToPrivateEnvironmentConfigPtrOutputWi return o } +func (o PrivateEnvironmentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateEnvironmentConfig] { + return pulumix.Output[*PrivateEnvironmentConfig]{ + OutputState: o.OutputState, + } +} + func (o PrivateEnvironmentConfigPtrOutput) Elem() PrivateEnvironmentConfigOutput { return o.ApplyT(func(v *PrivateEnvironmentConfig) PrivateEnvironmentConfig { if v != nil { @@ -3128,6 +3525,12 @@ func (o PrivateEnvironmentConfigResponseOutput) ToPrivateEnvironmentConfigRespon return o } +func (o PrivateEnvironmentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateEnvironmentConfigResponse] { + return pulumix.Output[PrivateEnvironmentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. func (o PrivateEnvironmentConfigResponseOutput) CloudComposerConnectionSubnetwork() pulumi.StringOutput { return o.ApplyT(func(v PrivateEnvironmentConfigResponse) string { return v.CloudComposerConnectionSubnetwork }).(pulumi.StringOutput) @@ -3213,6 +3616,12 @@ func (i RecoveryConfigArgs) ToRecoveryConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(RecoveryConfigOutput) } +func (i RecoveryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RecoveryConfig] { + return pulumix.Output[RecoveryConfig]{ + OutputState: i.ToRecoveryConfigOutputWithContext(ctx).OutputState, + } +} + func (i RecoveryConfigArgs) ToRecoveryConfigPtrOutput() RecoveryConfigPtrOutput { return i.ToRecoveryConfigPtrOutputWithContext(context.Background()) } @@ -3254,6 +3663,12 @@ func (i *recoveryConfigPtrType) ToRecoveryConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RecoveryConfigPtrOutput) } +func (i *recoveryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RecoveryConfig] { + return pulumix.Output[*RecoveryConfig]{ + OutputState: i.ToRecoveryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The Recovery settings of an environment. type RecoveryConfigOutput struct{ *pulumi.OutputState } @@ -3279,6 +3694,12 @@ func (o RecoveryConfigOutput) ToRecoveryConfigPtrOutputWithContext(ctx context.C }).(RecoveryConfigPtrOutput) } +func (o RecoveryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RecoveryConfig] { + return pulumix.Output[RecoveryConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The configuration for scheduled snapshot creation mechanism. func (o RecoveryConfigOutput) ScheduledSnapshotsConfig() ScheduledSnapshotsConfigPtrOutput { return o.ApplyT(func(v RecoveryConfig) *ScheduledSnapshotsConfig { return v.ScheduledSnapshotsConfig }).(ScheduledSnapshotsConfigPtrOutput) @@ -3298,6 +3719,12 @@ func (o RecoveryConfigPtrOutput) ToRecoveryConfigPtrOutputWithContext(ctx contex return o } +func (o RecoveryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RecoveryConfig] { + return pulumix.Output[*RecoveryConfig]{ + OutputState: o.OutputState, + } +} + func (o RecoveryConfigPtrOutput) Elem() RecoveryConfigOutput { return o.ApplyT(func(v *RecoveryConfig) RecoveryConfig { if v != nil { @@ -3339,6 +3766,12 @@ func (o RecoveryConfigResponseOutput) ToRecoveryConfigResponseOutputWithContext( return o } +func (o RecoveryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RecoveryConfigResponse] { + return pulumix.Output[RecoveryConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The configuration for scheduled snapshot creation mechanism. func (o RecoveryConfigResponseOutput) ScheduledSnapshotsConfig() ScheduledSnapshotsConfigResponseOutput { return o.ApplyT(func(v RecoveryConfigResponse) ScheduledSnapshotsConfigResponse { return v.ScheduledSnapshotsConfig }).(ScheduledSnapshotsConfigResponseOutput) @@ -3391,6 +3824,12 @@ func (i ScheduledSnapshotsConfigArgs) ToScheduledSnapshotsConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ScheduledSnapshotsConfigOutput) } +func (i ScheduledSnapshotsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ScheduledSnapshotsConfig] { + return pulumix.Output[ScheduledSnapshotsConfig]{ + OutputState: i.ToScheduledSnapshotsConfigOutputWithContext(ctx).OutputState, + } +} + func (i ScheduledSnapshotsConfigArgs) ToScheduledSnapshotsConfigPtrOutput() ScheduledSnapshotsConfigPtrOutput { return i.ToScheduledSnapshotsConfigPtrOutputWithContext(context.Background()) } @@ -3432,6 +3871,12 @@ func (i *scheduledSnapshotsConfigPtrType) ToScheduledSnapshotsConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ScheduledSnapshotsConfigPtrOutput) } +func (i *scheduledSnapshotsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScheduledSnapshotsConfig] { + return pulumix.Output[*ScheduledSnapshotsConfig]{ + OutputState: i.ToScheduledSnapshotsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for scheduled snapshot creation mechanism. type ScheduledSnapshotsConfigOutput struct{ *pulumi.OutputState } @@ -3457,6 +3902,12 @@ func (o ScheduledSnapshotsConfigOutput) ToScheduledSnapshotsConfigPtrOutputWithC }).(ScheduledSnapshotsConfigPtrOutput) } +func (o ScheduledSnapshotsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduledSnapshotsConfig] { + return pulumix.Output[ScheduledSnapshotsConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Whether scheduled snapshots creation is enabled. func (o ScheduledSnapshotsConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ScheduledSnapshotsConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -3491,6 +3942,12 @@ func (o ScheduledSnapshotsConfigPtrOutput) ToScheduledSnapshotsConfigPtrOutputWi return o } +func (o ScheduledSnapshotsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScheduledSnapshotsConfig] { + return pulumix.Output[*ScheduledSnapshotsConfig]{ + OutputState: o.OutputState, + } +} + func (o ScheduledSnapshotsConfigPtrOutput) Elem() ScheduledSnapshotsConfigOutput { return o.ApplyT(func(v *ScheduledSnapshotsConfig) ScheduledSnapshotsConfig { if v != nil { @@ -3568,6 +4025,12 @@ func (o ScheduledSnapshotsConfigResponseOutput) ToScheduledSnapshotsConfigRespon return o } +func (o ScheduledSnapshotsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduledSnapshotsConfigResponse] { + return pulumix.Output[ScheduledSnapshotsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Whether scheduled snapshots creation is enabled. func (o ScheduledSnapshotsConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ScheduledSnapshotsConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -3635,6 +4098,12 @@ func (i SchedulerResourceArgs) ToSchedulerResourceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SchedulerResourceOutput) } +func (i SchedulerResourceArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulerResource] { + return pulumix.Output[SchedulerResource]{ + OutputState: i.ToSchedulerResourceOutputWithContext(ctx).OutputState, + } +} + func (i SchedulerResourceArgs) ToSchedulerResourcePtrOutput() SchedulerResourcePtrOutput { return i.ToSchedulerResourcePtrOutputWithContext(context.Background()) } @@ -3676,6 +4145,12 @@ func (i *schedulerResourcePtrType) ToSchedulerResourcePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(SchedulerResourcePtrOutput) } +func (i *schedulerResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*SchedulerResource] { + return pulumix.Output[*SchedulerResource]{ + OutputState: i.ToSchedulerResourcePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for resources used by Airflow schedulers. type SchedulerResourceOutput struct{ *pulumi.OutputState } @@ -3701,6 +4176,12 @@ func (o SchedulerResourceOutput) ToSchedulerResourcePtrOutputWithContext(ctx con }).(SchedulerResourcePtrOutput) } +func (o SchedulerResourceOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulerResource] { + return pulumix.Output[SchedulerResource]{ + OutputState: o.OutputState, + } +} + // Optional. The number of schedulers. func (o SchedulerResourceOutput) Count() pulumi.IntPtrOutput { return o.ApplyT(func(v SchedulerResource) *int { return v.Count }).(pulumi.IntPtrOutput) @@ -3735,6 +4216,12 @@ func (o SchedulerResourcePtrOutput) ToSchedulerResourcePtrOutputWithContext(ctx return o } +func (o SchedulerResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulerResource] { + return pulumix.Output[*SchedulerResource]{ + OutputState: o.OutputState, + } +} + func (o SchedulerResourcePtrOutput) Elem() SchedulerResourceOutput { return o.ApplyT(func(v *SchedulerResource) SchedulerResource { if v != nil { @@ -3812,6 +4299,12 @@ func (o SchedulerResourceResponseOutput) ToSchedulerResourceResponseOutputWithCo return o } +func (o SchedulerResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulerResourceResponse] { + return pulumix.Output[SchedulerResourceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The number of schedulers. func (o SchedulerResourceResponseOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v SchedulerResourceResponse) int { return v.Count }).(pulumi.IntOutput) @@ -3891,6 +4384,12 @@ func (i SoftwareConfigArgs) ToSoftwareConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SoftwareConfigOutput) } +func (i SoftwareConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfig] { + return pulumix.Output[SoftwareConfig]{ + OutputState: i.ToSoftwareConfigOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareConfigArgs) ToSoftwareConfigPtrOutput() SoftwareConfigPtrOutput { return i.ToSoftwareConfigPtrOutputWithContext(context.Background()) } @@ -3932,6 +4431,12 @@ func (i *softwareConfigPtrType) ToSoftwareConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SoftwareConfigPtrOutput) } +func (i *softwareConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfig] { + return pulumix.Output[*SoftwareConfig]{ + OutputState: i.ToSoftwareConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the selection and configuration of software inside the environment. type SoftwareConfigOutput struct{ *pulumi.OutputState } @@ -3957,6 +4462,12 @@ func (o SoftwareConfigOutput) ToSoftwareConfigPtrOutputWithContext(ctx context.C }).(SoftwareConfigPtrOutput) } +func (o SoftwareConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfig] { + return pulumix.Output[SoftwareConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and must not contain an equals sign ("=") or semicolon (";"). Section and property names must not contain a period ("."). Apache Airflow configuration property names must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden. func (o SoftwareConfigOutput) AirflowConfigOverrides() pulumi.StringMapOutput { return o.ApplyT(func(v SoftwareConfig) map[string]string { return v.AirflowConfigOverrides }).(pulumi.StringMapOutput) @@ -4006,6 +4517,12 @@ func (o SoftwareConfigPtrOutput) ToSoftwareConfigPtrOutputWithContext(ctx contex return o } +func (o SoftwareConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfig] { + return pulumix.Output[*SoftwareConfig]{ + OutputState: o.OutputState, + } +} + func (o SoftwareConfigPtrOutput) Elem() SoftwareConfigOutput { return o.ApplyT(func(v *SoftwareConfig) SoftwareConfig { if v != nil { @@ -4119,6 +4636,12 @@ func (o SoftwareConfigResponseOutput) ToSoftwareConfigResponseOutputWithContext( return o } +func (o SoftwareConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfigResponse] { + return pulumix.Output[SoftwareConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and must not contain an equals sign ("=") or semicolon (";"). Section and property names must not contain a period ("."). Apache Airflow configuration property names must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden. func (o SoftwareConfigResponseOutput) AirflowConfigOverrides() pulumi.StringMapOutput { return o.ApplyT(func(v SoftwareConfigResponse) map[string]string { return v.AirflowConfigOverrides }).(pulumi.StringMapOutput) @@ -4199,6 +4722,12 @@ func (i TriggererResourceArgs) ToTriggererResourceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TriggererResourceOutput) } +func (i TriggererResourceArgs) ToOutput(ctx context.Context) pulumix.Output[TriggererResource] { + return pulumix.Output[TriggererResource]{ + OutputState: i.ToTriggererResourceOutputWithContext(ctx).OutputState, + } +} + func (i TriggererResourceArgs) ToTriggererResourcePtrOutput() TriggererResourcePtrOutput { return i.ToTriggererResourcePtrOutputWithContext(context.Background()) } @@ -4240,6 +4769,12 @@ func (i *triggererResourcePtrType) ToTriggererResourcePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(TriggererResourcePtrOutput) } +func (i *triggererResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*TriggererResource] { + return pulumix.Output[*TriggererResource]{ + OutputState: i.ToTriggererResourcePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for resources used by Airflow triggerers. type TriggererResourceOutput struct{ *pulumi.OutputState } @@ -4265,6 +4800,12 @@ func (o TriggererResourceOutput) ToTriggererResourcePtrOutputWithContext(ctx con }).(TriggererResourcePtrOutput) } +func (o TriggererResourceOutput) ToOutput(ctx context.Context) pulumix.Output[TriggererResource] { + return pulumix.Output[TriggererResource]{ + OutputState: o.OutputState, + } +} + // Optional. The number of triggerers. func (o TriggererResourceOutput) Count() pulumi.IntPtrOutput { return o.ApplyT(func(v TriggererResource) *int { return v.Count }).(pulumi.IntPtrOutput) @@ -4294,6 +4835,12 @@ func (o TriggererResourcePtrOutput) ToTriggererResourcePtrOutputWithContext(ctx return o } +func (o TriggererResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TriggererResource] { + return pulumix.Output[*TriggererResource]{ + OutputState: o.OutputState, + } +} + func (o TriggererResourcePtrOutput) Elem() TriggererResourceOutput { return o.ApplyT(func(v *TriggererResource) TriggererResource { if v != nil { @@ -4359,6 +4906,12 @@ func (o TriggererResourceResponseOutput) ToTriggererResourceResponseOutputWithCo return o } +func (o TriggererResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TriggererResourceResponse] { + return pulumix.Output[TriggererResourceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The number of triggerers. func (o TriggererResourceResponseOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v TriggererResourceResponse) int { return v.Count }).(pulumi.IntOutput) @@ -4409,6 +4962,12 @@ func (i WebServerConfigArgs) ToWebServerConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(WebServerConfigOutput) } +func (i WebServerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WebServerConfig] { + return pulumix.Output[WebServerConfig]{ + OutputState: i.ToWebServerConfigOutputWithContext(ctx).OutputState, + } +} + func (i WebServerConfigArgs) ToWebServerConfigPtrOutput() WebServerConfigPtrOutput { return i.ToWebServerConfigPtrOutputWithContext(context.Background()) } @@ -4450,6 +5009,12 @@ func (i *webServerConfigPtrType) ToWebServerConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(WebServerConfigPtrOutput) } +func (i *webServerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WebServerConfig] { + return pulumix.Output[*WebServerConfig]{ + OutputState: i.ToWebServerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration settings for the Airflow web server App Engine instance. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. type WebServerConfigOutput struct{ *pulumi.OutputState } @@ -4475,6 +5040,12 @@ func (o WebServerConfigOutput) ToWebServerConfigPtrOutputWithContext(ctx context }).(WebServerConfigPtrOutput) } +func (o WebServerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerConfig] { + return pulumix.Output[WebServerConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values. func (o WebServerConfigOutput) MachineType() pulumi.StringPtrOutput { return o.ApplyT(func(v WebServerConfig) *string { return v.MachineType }).(pulumi.StringPtrOutput) @@ -4494,6 +5065,12 @@ func (o WebServerConfigPtrOutput) ToWebServerConfigPtrOutputWithContext(ctx cont return o } +func (o WebServerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WebServerConfig] { + return pulumix.Output[*WebServerConfig]{ + OutputState: o.OutputState, + } +} + func (o WebServerConfigPtrOutput) Elem() WebServerConfigOutput { return o.ApplyT(func(v *WebServerConfig) WebServerConfig { if v != nil { @@ -4535,6 +5112,12 @@ func (o WebServerConfigResponseOutput) ToWebServerConfigResponseOutputWithContex return o } +func (o WebServerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerConfigResponse] { + return pulumix.Output[WebServerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values. func (o WebServerConfigResponseOutput) MachineType() pulumi.StringOutput { return o.ApplyT(func(v WebServerConfigResponse) string { return v.MachineType }).(pulumi.StringOutput) @@ -4575,6 +5158,12 @@ func (i WebServerNetworkAccessControlArgs) ToWebServerNetworkAccessControlOutput return pulumi.ToOutputWithContext(ctx, i).(WebServerNetworkAccessControlOutput) } +func (i WebServerNetworkAccessControlArgs) ToOutput(ctx context.Context) pulumix.Output[WebServerNetworkAccessControl] { + return pulumix.Output[WebServerNetworkAccessControl]{ + OutputState: i.ToWebServerNetworkAccessControlOutputWithContext(ctx).OutputState, + } +} + func (i WebServerNetworkAccessControlArgs) ToWebServerNetworkAccessControlPtrOutput() WebServerNetworkAccessControlPtrOutput { return i.ToWebServerNetworkAccessControlPtrOutputWithContext(context.Background()) } @@ -4616,6 +5205,12 @@ func (i *webServerNetworkAccessControlPtrType) ToWebServerNetworkAccessControlPt return pulumi.ToOutputWithContext(ctx, i).(WebServerNetworkAccessControlPtrOutput) } +func (i *webServerNetworkAccessControlPtrType) ToOutput(ctx context.Context) pulumix.Output[*WebServerNetworkAccessControl] { + return pulumix.Output[*WebServerNetworkAccessControl]{ + OutputState: i.ToWebServerNetworkAccessControlPtrOutputWithContext(ctx).OutputState, + } +} + // Network-level access control policy for the Airflow web server. type WebServerNetworkAccessControlOutput struct{ *pulumi.OutputState } @@ -4641,6 +5236,12 @@ func (o WebServerNetworkAccessControlOutput) ToWebServerNetworkAccessControlPtrO }).(WebServerNetworkAccessControlPtrOutput) } +func (o WebServerNetworkAccessControlOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerNetworkAccessControl] { + return pulumix.Output[WebServerNetworkAccessControl]{ + OutputState: o.OutputState, + } +} + // A collection of allowed IP ranges with descriptions. func (o WebServerNetworkAccessControlOutput) AllowedIpRanges() AllowedIpRangeArrayOutput { return o.ApplyT(func(v WebServerNetworkAccessControl) []AllowedIpRange { return v.AllowedIpRanges }).(AllowedIpRangeArrayOutput) @@ -4660,6 +5261,12 @@ func (o WebServerNetworkAccessControlPtrOutput) ToWebServerNetworkAccessControlP return o } +func (o WebServerNetworkAccessControlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WebServerNetworkAccessControl] { + return pulumix.Output[*WebServerNetworkAccessControl]{ + OutputState: o.OutputState, + } +} + func (o WebServerNetworkAccessControlPtrOutput) Elem() WebServerNetworkAccessControlOutput { return o.ApplyT(func(v *WebServerNetworkAccessControl) WebServerNetworkAccessControl { if v != nil { @@ -4701,6 +5308,12 @@ func (o WebServerNetworkAccessControlResponseOutput) ToWebServerNetworkAccessCon return o } +func (o WebServerNetworkAccessControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerNetworkAccessControlResponse] { + return pulumix.Output[WebServerNetworkAccessControlResponse]{ + OutputState: o.OutputState, + } +} + // A collection of allowed IP ranges with descriptions. func (o WebServerNetworkAccessControlResponseOutput) AllowedIpRanges() AllowedIpRangeResponseArrayOutput { return o.ApplyT(func(v WebServerNetworkAccessControlResponse) []AllowedIpRangeResponse { return v.AllowedIpRanges }).(AllowedIpRangeResponseArrayOutput) @@ -4749,6 +5362,12 @@ func (i WebServerResourceArgs) ToWebServerResourceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(WebServerResourceOutput) } +func (i WebServerResourceArgs) ToOutput(ctx context.Context) pulumix.Output[WebServerResource] { + return pulumix.Output[WebServerResource]{ + OutputState: i.ToWebServerResourceOutputWithContext(ctx).OutputState, + } +} + func (i WebServerResourceArgs) ToWebServerResourcePtrOutput() WebServerResourcePtrOutput { return i.ToWebServerResourcePtrOutputWithContext(context.Background()) } @@ -4790,6 +5409,12 @@ func (i *webServerResourcePtrType) ToWebServerResourcePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(WebServerResourcePtrOutput) } +func (i *webServerResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*WebServerResource] { + return pulumix.Output[*WebServerResource]{ + OutputState: i.ToWebServerResourcePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for resources used by Airflow web server. type WebServerResourceOutput struct{ *pulumi.OutputState } @@ -4815,6 +5440,12 @@ func (o WebServerResourceOutput) ToWebServerResourcePtrOutputWithContext(ctx con }).(WebServerResourcePtrOutput) } +func (o WebServerResourceOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerResource] { + return pulumix.Output[WebServerResource]{ + OutputState: o.OutputState, + } +} + // Optional. CPU request and limit for Airflow web server. func (o WebServerResourceOutput) Cpu() pulumi.Float64PtrOutput { return o.ApplyT(func(v WebServerResource) *float64 { return v.Cpu }).(pulumi.Float64PtrOutput) @@ -4844,6 +5475,12 @@ func (o WebServerResourcePtrOutput) ToWebServerResourcePtrOutputWithContext(ctx return o } +func (o WebServerResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WebServerResource] { + return pulumix.Output[*WebServerResource]{ + OutputState: o.OutputState, + } +} + func (o WebServerResourcePtrOutput) Elem() WebServerResourceOutput { return o.ApplyT(func(v *WebServerResource) WebServerResource { if v != nil { @@ -4909,6 +5546,12 @@ func (o WebServerResourceResponseOutput) ToWebServerResourceResponseOutputWithCo return o } +func (o WebServerResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WebServerResourceResponse] { + return pulumix.Output[WebServerResourceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. CPU request and limit for Airflow web server. func (o WebServerResourceResponseOutput) Cpu() pulumi.Float64Output { return o.ApplyT(func(v WebServerResourceResponse) float64 { return v.Cpu }).(pulumi.Float64Output) @@ -4975,6 +5618,12 @@ func (i WorkerResourceArgs) ToWorkerResourceOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(WorkerResourceOutput) } +func (i WorkerResourceArgs) ToOutput(ctx context.Context) pulumix.Output[WorkerResource] { + return pulumix.Output[WorkerResource]{ + OutputState: i.ToWorkerResourceOutputWithContext(ctx).OutputState, + } +} + func (i WorkerResourceArgs) ToWorkerResourcePtrOutput() WorkerResourcePtrOutput { return i.ToWorkerResourcePtrOutputWithContext(context.Background()) } @@ -5016,6 +5665,12 @@ func (i *workerResourcePtrType) ToWorkerResourcePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(WorkerResourcePtrOutput) } +func (i *workerResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkerResource] { + return pulumix.Output[*WorkerResource]{ + OutputState: i.ToWorkerResourcePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for resources used by Airflow workers. type WorkerResourceOutput struct{ *pulumi.OutputState } @@ -5041,6 +5696,12 @@ func (o WorkerResourceOutput) ToWorkerResourcePtrOutputWithContext(ctx context.C }).(WorkerResourcePtrOutput) } +func (o WorkerResourceOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerResource] { + return pulumix.Output[WorkerResource]{ + OutputState: o.OutputState, + } +} + // Optional. CPU request and limit for a single Airflow worker replica. func (o WorkerResourceOutput) Cpu() pulumi.Float64PtrOutput { return o.ApplyT(func(v WorkerResource) *float64 { return v.Cpu }).(pulumi.Float64PtrOutput) @@ -5080,6 +5741,12 @@ func (o WorkerResourcePtrOutput) ToWorkerResourcePtrOutputWithContext(ctx contex return o } +func (o WorkerResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerResource] { + return pulumix.Output[*WorkerResource]{ + OutputState: o.OutputState, + } +} + func (o WorkerResourcePtrOutput) Elem() WorkerResourceOutput { return o.ApplyT(func(v *WorkerResource) WorkerResource { if v != nil { @@ -5169,6 +5836,12 @@ func (o WorkerResourceResponseOutput) ToWorkerResourceResponseOutputWithContext( return o } +func (o WorkerResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerResourceResponse] { + return pulumix.Output[WorkerResourceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. CPU request and limit for a single Airflow worker replica. func (o WorkerResourceResponseOutput) Cpu() pulumi.Float64Output { return o.ApplyT(func(v WorkerResourceResponse) float64 { return v.Cpu }).(pulumi.Float64Output) @@ -5241,6 +5914,12 @@ func (i WorkloadsConfigArgs) ToWorkloadsConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(WorkloadsConfigOutput) } +func (i WorkloadsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkloadsConfig] { + return pulumix.Output[WorkloadsConfig]{ + OutputState: i.ToWorkloadsConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkloadsConfigArgs) ToWorkloadsConfigPtrOutput() WorkloadsConfigPtrOutput { return i.ToWorkloadsConfigPtrOutputWithContext(context.Background()) } @@ -5282,6 +5961,12 @@ func (i *workloadsConfigPtrType) ToWorkloadsConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(WorkloadsConfigPtrOutput) } +func (i *workloadsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkloadsConfig] { + return pulumix.Output[*WorkloadsConfig]{ + OutputState: i.ToWorkloadsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The Kubernetes workloads configuration for GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. type WorkloadsConfigOutput struct{ *pulumi.OutputState } @@ -5307,6 +5992,12 @@ func (o WorkloadsConfigOutput) ToWorkloadsConfigPtrOutputWithContext(ctx context }).(WorkloadsConfigPtrOutput) } +func (o WorkloadsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadsConfig] { + return pulumix.Output[WorkloadsConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Resources used by Airflow schedulers. func (o WorkloadsConfigOutput) Scheduler() SchedulerResourcePtrOutput { return o.ApplyT(func(v WorkloadsConfig) *SchedulerResource { return v.Scheduler }).(SchedulerResourcePtrOutput) @@ -5341,6 +6032,12 @@ func (o WorkloadsConfigPtrOutput) ToWorkloadsConfigPtrOutputWithContext(ctx cont return o } +func (o WorkloadsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadsConfig] { + return pulumix.Output[*WorkloadsConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkloadsConfigPtrOutput) Elem() WorkloadsConfigOutput { return o.ApplyT(func(v *WorkloadsConfig) WorkloadsConfig { if v != nil { @@ -5418,6 +6115,12 @@ func (o WorkloadsConfigResponseOutput) ToWorkloadsConfigResponseOutputWithContex return o } +func (o WorkloadsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadsConfigResponse] { + return pulumix.Output[WorkloadsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Resources used by Airflow schedulers. func (o WorkloadsConfigResponseOutput) Scheduler() SchedulerResourceResponseOutput { return o.ApplyT(func(v WorkloadsConfigResponse) SchedulerResourceResponse { return v.Scheduler }).(SchedulerResourceResponseOutput) diff --git a/sdk/go/google/compute/alpha/address.go b/sdk/go/google/compute/alpha/address.go index b37861e91e..180275c404 100644 --- a/sdk/go/google/compute/alpha/address.go +++ b/sdk/go/google/compute/alpha/address.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an address resource in the specified project by using the data included in the request. @@ -193,6 +194,12 @@ func (i *Address) ToAddressOutputWithContext(ctx context.Context) AddressOutput return pulumi.ToOutputWithContext(ctx, i).(AddressOutput) } +func (i *Address) ToOutput(ctx context.Context) pulumix.Output[*Address] { + return pulumix.Output[*Address]{ + OutputState: i.ToAddressOutputWithContext(ctx).OutputState, + } +} + type AddressOutput struct{ *pulumi.OutputState } func (AddressOutput) ElementType() reflect.Type { @@ -207,6 +214,12 @@ func (o AddressOutput) ToAddressOutputWithContext(ctx context.Context) AddressOu return o } +func (o AddressOutput) ToOutput(ctx context.Context) pulumix.Output[*Address] { + return pulumix.Output[*Address]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o AddressOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *Address) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/autoscaler.go b/sdk/go/google/compute/alpha/autoscaler.go index 382b956912..c1a92bdef2 100644 --- a/sdk/go/google/compute/alpha/autoscaler.go +++ b/sdk/go/google/compute/alpha/autoscaler.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an autoscaler in the specified project using the data included in the request. @@ -145,6 +146,12 @@ func (i *Autoscaler) ToAutoscalerOutputWithContext(ctx context.Context) Autoscal return pulumi.ToOutputWithContext(ctx, i).(AutoscalerOutput) } +func (i *Autoscaler) ToOutput(ctx context.Context) pulumix.Output[*Autoscaler] { + return pulumix.Output[*Autoscaler]{ + OutputState: i.ToAutoscalerOutputWithContext(ctx).OutputState, + } +} + type AutoscalerOutput struct{ *pulumi.OutputState } func (AutoscalerOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o AutoscalerOutput) ToAutoscalerOutputWithContext(ctx context.Context) Aut return o } +func (o AutoscalerOutput) ToOutput(ctx context.Context) pulumix.Output[*Autoscaler] { + return pulumix.Output[*Autoscaler]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o AutoscalerOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v *Autoscaler) AutoscalingPolicyResponseOutput { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/alpha/backendBucket.go b/sdk/go/google/compute/alpha/backendBucket.go index ef423a9232..bff75097df 100644 --- a/sdk/go/google/compute/alpha/backendBucket.go +++ b/sdk/go/google/compute/alpha/backendBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a BackendBucket resource in the specified project using the data included in the request. @@ -155,6 +156,12 @@ func (i *BackendBucket) ToBackendBucketOutputWithContext(ctx context.Context) Ba return pulumi.ToOutputWithContext(ctx, i).(BackendBucketOutput) } +func (i *BackendBucket) ToOutput(ctx context.Context) pulumix.Output[*BackendBucket] { + return pulumix.Output[*BackendBucket]{ + OutputState: i.ToBackendBucketOutputWithContext(ctx).OutputState, + } +} + type BackendBucketOutput struct{ *pulumi.OutputState } func (BackendBucketOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o BackendBucketOutput) ToBackendBucketOutputWithContext(ctx context.Contex return o } +func (o BackendBucketOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucket] { + return pulumix.Output[*BackendBucket]{ + OutputState: o.OutputState, + } +} + // Cloud Storage bucket name. func (o BackendBucketOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v *BackendBucket) pulumi.StringOutput { return v.BucketName }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/backendBucketIamBinding.go b/sdk/go/google/compute/alpha/backendBucketIamBinding.go index eb5569217a..4a87f01673 100644 --- a/sdk/go/google/compute/alpha/backendBucketIamBinding.go +++ b/sdk/go/google/compute/alpha/backendBucketIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *BackendBucketIamBinding) ToBackendBucketIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BackendBucketIamBindingOutput) } +func (i *BackendBucketIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamBinding] { + return pulumix.Output[*BackendBucketIamBinding]{ + OutputState: i.ToBackendBucketIamBindingOutputWithContext(ctx).OutputState, + } +} + type BackendBucketIamBindingOutput struct{ *pulumi.OutputState } func (BackendBucketIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackendBucketIamBindingOutput) ToBackendBucketIamBindingOutputWithContex return o } +func (o BackendBucketIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamBinding] { + return pulumix.Output[*BackendBucketIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackendBucketIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackendBucketIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/backendBucketIamMember.go b/sdk/go/google/compute/alpha/backendBucketIamMember.go index 54e43bb5d5..24c79db686 100644 --- a/sdk/go/google/compute/alpha/backendBucketIamMember.go +++ b/sdk/go/google/compute/alpha/backendBucketIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *BackendBucketIamMember) ToBackendBucketIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BackendBucketIamMemberOutput) } +func (i *BackendBucketIamMember) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamMember] { + return pulumix.Output[*BackendBucketIamMember]{ + OutputState: i.ToBackendBucketIamMemberOutputWithContext(ctx).OutputState, + } +} + type BackendBucketIamMemberOutput struct{ *pulumi.OutputState } func (BackendBucketIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackendBucketIamMemberOutput) ToBackendBucketIamMemberOutputWithContext( return o } +func (o BackendBucketIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamMember] { + return pulumix.Output[*BackendBucketIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackendBucketIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackendBucketIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/backendBucketIamPolicy.go b/sdk/go/google/compute/alpha/backendBucketIamPolicy.go index 52f3b9491f..cd7714fc6a 100644 --- a/sdk/go/google/compute/alpha/backendBucketIamPolicy.go +++ b/sdk/go/google/compute/alpha/backendBucketIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *BackendBucketIamPolicy) ToBackendBucketIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BackendBucketIamPolicyOutput) } +func (i *BackendBucketIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamPolicy] { + return pulumix.Output[*BackendBucketIamPolicy]{ + OutputState: i.ToBackendBucketIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BackendBucketIamPolicyOutput struct{ *pulumi.OutputState } func (BackendBucketIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o BackendBucketIamPolicyOutput) ToBackendBucketIamPolicyOutputWithContext( return o } +func (o BackendBucketIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamPolicy] { + return pulumix.Output[*BackendBucketIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o BackendBucketIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *BackendBucketIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/backendService.go b/sdk/go/google/compute/alpha/backendService.go index 02b07edcf3..94206cb13a 100644 --- a/sdk/go/google/compute/alpha/backendService.go +++ b/sdk/go/google/compute/alpha/backendService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview . @@ -322,6 +323,12 @@ func (i *BackendService) ToBackendServiceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BackendServiceOutput) } +func (i *BackendService) ToOutput(ctx context.Context) pulumix.Output[*BackendService] { + return pulumix.Output[*BackendService]{ + OutputState: i.ToBackendServiceOutputWithContext(ctx).OutputState, + } +} + type BackendServiceOutput struct{ *pulumi.OutputState } func (BackendServiceOutput) ElementType() reflect.Type { @@ -336,6 +343,12 @@ func (o BackendServiceOutput) ToBackendServiceOutputWithContext(ctx context.Cont return o } +func (o BackendServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendService] { + return pulumix.Output[*BackendService]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o BackendServiceOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v *BackendService) pulumi.IntOutput { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/backendServiceIamBinding.go b/sdk/go/google/compute/alpha/backendServiceIamBinding.go index c4ca6e37fd..03be3f37ce 100644 --- a/sdk/go/google/compute/alpha/backendServiceIamBinding.go +++ b/sdk/go/google/compute/alpha/backendServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *BackendServiceIamBinding) ToBackendServiceIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIamBindingOutput) } +func (i *BackendServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamBinding] { + return pulumix.Output[*BackendServiceIamBinding]{ + OutputState: i.ToBackendServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type BackendServiceIamBindingOutput struct{ *pulumi.OutputState } func (BackendServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackendServiceIamBindingOutput) ToBackendServiceIamBindingOutputWithCont return o } +func (o BackendServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamBinding] { + return pulumix.Output[*BackendServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackendServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackendServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/backendServiceIamMember.go b/sdk/go/google/compute/alpha/backendServiceIamMember.go index 6008648c55..0fbb296b3c 100644 --- a/sdk/go/google/compute/alpha/backendServiceIamMember.go +++ b/sdk/go/google/compute/alpha/backendServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *BackendServiceIamMember) ToBackendServiceIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIamMemberOutput) } +func (i *BackendServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamMember] { + return pulumix.Output[*BackendServiceIamMember]{ + OutputState: i.ToBackendServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type BackendServiceIamMemberOutput struct{ *pulumi.OutputState } func (BackendServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackendServiceIamMemberOutput) ToBackendServiceIamMemberOutputWithContex return o } +func (o BackendServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamMember] { + return pulumix.Output[*BackendServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackendServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackendServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/backendServiceIamPolicy.go b/sdk/go/google/compute/alpha/backendServiceIamPolicy.go index fd64cb4099..9dce9b6220 100644 --- a/sdk/go/google/compute/alpha/backendServiceIamPolicy.go +++ b/sdk/go/google/compute/alpha/backendServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *BackendServiceIamPolicy) ToBackendServiceIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIamPolicyOutput) } +func (i *BackendServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamPolicy] { + return pulumix.Output[*BackendServiceIamPolicy]{ + OutputState: i.ToBackendServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BackendServiceIamPolicyOutput struct{ *pulumi.OutputState } func (BackendServiceIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o BackendServiceIamPolicyOutput) ToBackendServiceIamPolicyOutputWithContex return o } +func (o BackendServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamPolicy] { + return pulumix.Output[*BackendServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o BackendServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *BackendServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/disk.go b/sdk/go/google/compute/alpha/disk.go index 86fe2aceb3..920654e5bd 100644 --- a/sdk/go/google/compute/alpha/disk.go +++ b/sdk/go/google/compute/alpha/disk.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property. @@ -353,6 +354,12 @@ func (i *Disk) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return pulumi.ToOutputWithContext(ctx, i).(DiskOutput) } +func (i *Disk) ToOutput(ctx context.Context) pulumix.Output[*Disk] { + return pulumix.Output[*Disk]{ + OutputState: i.ToDiskOutputWithContext(ctx).OutputState, + } +} + type DiskOutput struct{ *pulumi.OutputState } func (DiskOutput) ElementType() reflect.Type { @@ -367,6 +374,12 @@ func (o DiskOutput) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return o } +func (o DiskOutput) ToOutput(ctx context.Context) pulumix.Output[*Disk] { + return pulumix.Output[*Disk]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o DiskOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *Disk) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/diskIamBinding.go b/sdk/go/google/compute/alpha/diskIamBinding.go index c5779fe402..3cbb43f30f 100644 --- a/sdk/go/google/compute/alpha/diskIamBinding.go +++ b/sdk/go/google/compute/alpha/diskIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DiskIamBinding) ToDiskIamBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DiskIamBindingOutput) } +func (i *DiskIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DiskIamBinding] { + return pulumix.Output[*DiskIamBinding]{ + OutputState: i.ToDiskIamBindingOutputWithContext(ctx).OutputState, + } +} + type DiskIamBindingOutput struct{ *pulumi.OutputState } func (DiskIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DiskIamBindingOutput) ToDiskIamBindingOutputWithContext(ctx context.Cont return o } +func (o DiskIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskIamBinding] { + return pulumix.Output[*DiskIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DiskIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DiskIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/diskIamMember.go b/sdk/go/google/compute/alpha/diskIamMember.go index d910fd20c8..90f5caf730 100644 --- a/sdk/go/google/compute/alpha/diskIamMember.go +++ b/sdk/go/google/compute/alpha/diskIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DiskIamMember) ToDiskIamMemberOutputWithContext(ctx context.Context) Di return pulumi.ToOutputWithContext(ctx, i).(DiskIamMemberOutput) } +func (i *DiskIamMember) ToOutput(ctx context.Context) pulumix.Output[*DiskIamMember] { + return pulumix.Output[*DiskIamMember]{ + OutputState: i.ToDiskIamMemberOutputWithContext(ctx).OutputState, + } +} + type DiskIamMemberOutput struct{ *pulumi.OutputState } func (DiskIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DiskIamMemberOutput) ToDiskIamMemberOutputWithContext(ctx context.Contex return o } +func (o DiskIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskIamMember] { + return pulumix.Output[*DiskIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DiskIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DiskIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/diskIamPolicy.go b/sdk/go/google/compute/alpha/diskIamPolicy.go index f8007f884d..fdeca165d5 100644 --- a/sdk/go/google/compute/alpha/diskIamPolicy.go +++ b/sdk/go/google/compute/alpha/diskIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *DiskIamPolicy) ToDiskIamPolicyOutputWithContext(ctx context.Context) Di return pulumi.ToOutputWithContext(ctx, i).(DiskIamPolicyOutput) } +func (i *DiskIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DiskIamPolicy] { + return pulumix.Output[*DiskIamPolicy]{ + OutputState: i.ToDiskIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DiskIamPolicyOutput struct{ *pulumi.OutputState } func (DiskIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o DiskIamPolicyOutput) ToDiskIamPolicyOutputWithContext(ctx context.Contex return o } +func (o DiskIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskIamPolicy] { + return pulumix.Output[*DiskIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DiskIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DiskIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/externalVpnGateway.go b/sdk/go/google/compute/alpha/externalVpnGateway.go index efa161cf10..44d12d37bd 100644 --- a/sdk/go/google/compute/alpha/externalVpnGateway.go +++ b/sdk/go/google/compute/alpha/externalVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ExternalVpnGateway in the specified project using the data included in the request. @@ -137,6 +138,12 @@ func (i *ExternalVpnGateway) ToExternalVpnGatewayOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ExternalVpnGatewayOutput) } +func (i *ExternalVpnGateway) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGateway] { + return pulumix.Output[*ExternalVpnGateway]{ + OutputState: i.ToExternalVpnGatewayOutputWithContext(ctx).OutputState, + } +} + type ExternalVpnGatewayOutput struct{ *pulumi.OutputState } func (ExternalVpnGatewayOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ExternalVpnGatewayOutput) ToExternalVpnGatewayOutputWithContext(ctx cont return o } +func (o ExternalVpnGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGateway] { + return pulumix.Output[*ExternalVpnGateway]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o ExternalVpnGatewayOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *ExternalVpnGateway) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/firewall.go b/sdk/go/google/compute/alpha/firewall.go index a47be1c252..52e3ab17f3 100644 --- a/sdk/go/google/compute/alpha/firewall.go +++ b/sdk/go/google/compute/alpha/firewall.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a firewall rule in the specified project using the data included in the request. @@ -209,6 +210,12 @@ func (i *Firewall) ToFirewallOutputWithContext(ctx context.Context) FirewallOutp return pulumi.ToOutputWithContext(ctx, i).(FirewallOutput) } +func (i *Firewall) ToOutput(ctx context.Context) pulumix.Output[*Firewall] { + return pulumix.Output[*Firewall]{ + OutputState: i.ToFirewallOutputWithContext(ctx).OutputState, + } +} + type FirewallOutput struct{ *pulumi.OutputState } func (FirewallOutput) ElementType() reflect.Type { @@ -223,6 +230,12 @@ func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) Firewal return o } +func (o FirewallOutput) ToOutput(ctx context.Context) pulumix.Output[*Firewall] { + return pulumix.Output[*Firewall]{ + OutputState: o.OutputState, + } +} + // The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. func (o FirewallOutput) Allowed() FirewallAllowedItemResponseArrayOutput { return o.ApplyT(func(v *Firewall) FirewallAllowedItemResponseArrayOutput { return v.Allowed }).(FirewallAllowedItemResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/firewallPolicy.go b/sdk/go/google/compute/alpha/firewallPolicy.go index 8d0b7b7e0a..a53beeb3ac 100644 --- a/sdk/go/google/compute/alpha/firewallPolicy.go +++ b/sdk/go/google/compute/alpha/firewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -162,6 +163,12 @@ func (i *FirewallPolicy) ToFirewallPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyOutput) } +func (i *FirewallPolicy) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicy] { + return pulumix.Output[*FirewallPolicy]{ + OutputState: i.ToFirewallPolicyOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyOutput struct{ *pulumi.OutputState } func (FirewallPolicyOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o FirewallPolicyOutput) ToFirewallPolicyOutputWithContext(ctx context.Cont return o } +func (o FirewallPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicy] { + return pulumix.Output[*FirewallPolicy]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o FirewallPolicyOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v *FirewallPolicy) FirewallPolicyAssociationResponseArrayOutput { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/firewallPolicyIamBinding.go b/sdk/go/google/compute/alpha/firewallPolicyIamBinding.go index 6e04ca20a7..421c89458a 100644 --- a/sdk/go/google/compute/alpha/firewallPolicyIamBinding.go +++ b/sdk/go/google/compute/alpha/firewallPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *FirewallPolicyIamBinding) ToFirewallPolicyIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIamBindingOutput) } +func (i *FirewallPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamBinding] { + return pulumix.Output[*FirewallPolicyIamBinding]{ + OutputState: i.ToFirewallPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyIamBindingOutput struct{ *pulumi.OutputState } func (FirewallPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FirewallPolicyIamBindingOutput) ToFirewallPolicyIamBindingOutputWithCont return o } +func (o FirewallPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamBinding] { + return pulumix.Output[*FirewallPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FirewallPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FirewallPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/firewallPolicyIamMember.go b/sdk/go/google/compute/alpha/firewallPolicyIamMember.go index 085edffb8d..6ac28a5ec3 100644 --- a/sdk/go/google/compute/alpha/firewallPolicyIamMember.go +++ b/sdk/go/google/compute/alpha/firewallPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *FirewallPolicyIamMember) ToFirewallPolicyIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIamMemberOutput) } +func (i *FirewallPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamMember] { + return pulumix.Output[*FirewallPolicyIamMember]{ + OutputState: i.ToFirewallPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyIamMemberOutput struct{ *pulumi.OutputState } func (FirewallPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FirewallPolicyIamMemberOutput) ToFirewallPolicyIamMemberOutputWithContex return o } +func (o FirewallPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamMember] { + return pulumix.Output[*FirewallPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FirewallPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FirewallPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/firewallPolicyIamPolicy.go b/sdk/go/google/compute/alpha/firewallPolicyIamPolicy.go index 68a5544346..d214505464 100644 --- a/sdk/go/google/compute/alpha/firewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/alpha/firewallPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -129,6 +130,12 @@ func (i *FirewallPolicyIamPolicy) ToFirewallPolicyIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIamPolicyOutput) } +func (i *FirewallPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamPolicy] { + return pulumix.Output[*FirewallPolicyIamPolicy]{ + OutputState: i.ToFirewallPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (FirewallPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o FirewallPolicyIamPolicyOutput) ToFirewallPolicyIamPolicyOutputWithContex return o } +func (o FirewallPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamPolicy] { + return pulumix.Output[*FirewallPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FirewallPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FirewallPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/forwardingRule.go b/sdk/go/google/compute/alpha/forwardingRule.go index 7d575770eb..dbb1b547ec 100644 --- a/sdk/go/google/compute/alpha/forwardingRule.go +++ b/sdk/go/google/compute/alpha/forwardingRule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ForwardingRule resource in the specified project and region using the data included in the request. @@ -266,6 +267,12 @@ func (i *ForwardingRule) ToForwardingRuleOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ForwardingRuleOutput) } +func (i *ForwardingRule) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRule] { + return pulumix.Output[*ForwardingRule]{ + OutputState: i.ToForwardingRuleOutputWithContext(ctx).OutputState, + } +} + type ForwardingRuleOutput struct{ *pulumi.OutputState } func (ForwardingRuleOutput) ElementType() reflect.Type { @@ -280,6 +287,12 @@ func (o ForwardingRuleOutput) ToForwardingRuleOutputWithContext(ctx context.Cont return o } +func (o ForwardingRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRule] { + return pulumix.Output[*ForwardingRule]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o ForwardingRuleOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v *ForwardingRule) pulumi.BoolOutput { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/futureReservation.go b/sdk/go/google/compute/alpha/futureReservation.go index 2338160e6f..cfbadc6d68 100644 --- a/sdk/go/google/compute/alpha/futureReservation.go +++ b/sdk/go/google/compute/alpha/futureReservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Future Reservation. @@ -155,6 +156,12 @@ func (i *FutureReservation) ToFutureReservationOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FutureReservationOutput) } +func (i *FutureReservation) ToOutput(ctx context.Context) pulumix.Output[*FutureReservation] { + return pulumix.Output[*FutureReservation]{ + OutputState: i.ToFutureReservationOutputWithContext(ctx).OutputState, + } +} + type FutureReservationOutput struct{ *pulumi.OutputState } func (FutureReservationOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o FutureReservationOutput) ToFutureReservationOutputWithContext(ctx contex return o } +func (o FutureReservationOutput) ToOutput(ctx context.Context) pulumix.Output[*FutureReservation] { + return pulumix.Output[*FutureReservation]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this future reservation in RFC3339 text format. func (o FutureReservationOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *FutureReservation) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getAddress.go b/sdk/go/google/compute/alpha/getAddress.go index f01056dc95..f34c7d0e2c 100644 --- a/sdk/go/google/compute/alpha/getAddress.go +++ b/sdk/go/google/compute/alpha/getAddress.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified address resource. @@ -108,6 +109,12 @@ func (o LookupAddressResultOutput) ToLookupAddressResultOutputWithContext(ctx co return o } +func (o LookupAddressResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAddressResult] { + return pulumix.Output[LookupAddressResult]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o LookupAddressResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v LookupAddressResult) string { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getAutoscaler.go b/sdk/go/google/compute/alpha/getAutoscaler.go index 748936c5e8..f3512071be 100644 --- a/sdk/go/google/compute/alpha/getAutoscaler.go +++ b/sdk/go/google/compute/alpha/getAutoscaler.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified autoscaler resource. @@ -96,6 +97,12 @@ func (o LookupAutoscalerResultOutput) ToLookupAutoscalerResultOutputWithContext( return o } +func (o LookupAutoscalerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAutoscalerResult] { + return pulumix.Output[LookupAutoscalerResult]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o LookupAutoscalerResultOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v LookupAutoscalerResult) AutoscalingPolicyResponse { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/alpha/getBackendBucket.go b/sdk/go/google/compute/alpha/getBackendBucket.go index 2cd05ccf6e..ec519ceba9 100644 --- a/sdk/go/google/compute/alpha/getBackendBucket.go +++ b/sdk/go/google/compute/alpha/getBackendBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified BackendBucket resource. @@ -90,6 +91,12 @@ func (o LookupBackendBucketResultOutput) ToLookupBackendBucketResultOutputWithCo return o } +func (o LookupBackendBucketResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendBucketResult] { + return pulumix.Output[LookupBackendBucketResult]{ + OutputState: o.OutputState, + } +} + // Cloud Storage bucket name. func (o LookupBackendBucketResultOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v LookupBackendBucketResult) string { return v.BucketName }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getBackendBucketIamPolicy.go b/sdk/go/google/compute/alpha/getBackendBucketIamPolicy.go index 0ed5ed1b84..8f0147f1ac 100644 --- a/sdk/go/google/compute/alpha/getBackendBucketIamPolicy.go +++ b/sdk/go/google/compute/alpha/getBackendBucketIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupBackendBucketIamPolicyResultOutput) ToLookupBackendBucketIamPolicy return o } +func (o LookupBackendBucketIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendBucketIamPolicyResult] { + return pulumix.Output[LookupBackendBucketIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupBackendBucketIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupBackendBucketIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getBackendService.go b/sdk/go/google/compute/alpha/getBackendService.go index 0b7f3b730c..d14aa416d3 100644 --- a/sdk/go/google/compute/alpha/getBackendService.go +++ b/sdk/go/google/compute/alpha/getBackendService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified BackendService resource. @@ -151,6 +152,12 @@ func (o LookupBackendServiceResultOutput) ToLookupBackendServiceResultOutputWith return o } +func (o LookupBackendServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendServiceResult] { + return pulumix.Output[LookupBackendServiceResult]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o LookupBackendServiceResultOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v LookupBackendServiceResult) int { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/getBackendServiceIamPolicy.go b/sdk/go/google/compute/alpha/getBackendServiceIamPolicy.go index 25e2a70ace..885e91bdde 100644 --- a/sdk/go/google/compute/alpha/getBackendServiceIamPolicy.go +++ b/sdk/go/google/compute/alpha/getBackendServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupBackendServiceIamPolicyResultOutput) ToLookupBackendServiceIamPoli return o } +func (o LookupBackendServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendServiceIamPolicyResult] { + return pulumix.Output[LookupBackendServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupBackendServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupBackendServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getDisk.go b/sdk/go/google/compute/alpha/getDisk.go index 7e53d65943..fea291c149 100644 --- a/sdk/go/google/compute/alpha/getDisk.go +++ b/sdk/go/google/compute/alpha/getDisk.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified persistent disk. @@ -180,6 +181,12 @@ func (o LookupDiskResultOutput) ToLookupDiskResultOutputWithContext(ctx context. return o } +func (o LookupDiskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDiskResult] { + return pulumix.Output[LookupDiskResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o LookupDiskResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupDiskResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getDiskIamPolicy.go b/sdk/go/google/compute/alpha/getDiskIamPolicy.go index 9145303ae9..f9220dbbfd 100644 --- a/sdk/go/google/compute/alpha/getDiskIamPolicy.go +++ b/sdk/go/google/compute/alpha/getDiskIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupDiskIamPolicyResultOutput) ToLookupDiskIamPolicyResultOutputWithCo return o } +func (o LookupDiskIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDiskIamPolicyResult] { + return pulumix.Output[LookupDiskIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDiskIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDiskIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getExternalVpnGateway.go b/sdk/go/google/compute/alpha/getExternalVpnGateway.go index 15eb9d571f..0d1f26021d 100644 --- a/sdk/go/google/compute/alpha/getExternalVpnGateway.go +++ b/sdk/go/google/compute/alpha/getExternalVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request. @@ -84,6 +85,12 @@ func (o LookupExternalVpnGatewayResultOutput) ToLookupExternalVpnGatewayResultOu return o } +func (o LookupExternalVpnGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExternalVpnGatewayResult] { + return pulumix.Output[LookupExternalVpnGatewayResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupExternalVpnGatewayResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupExternalVpnGatewayResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getFirewall.go b/sdk/go/google/compute/alpha/getFirewall.go index 2562b6005a..68f424e487 100644 --- a/sdk/go/google/compute/alpha/getFirewall.go +++ b/sdk/go/google/compute/alpha/getFirewall.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified firewall. @@ -108,6 +109,12 @@ func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx return o } +func (o LookupFirewallResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFirewallResult] { + return pulumix.Output[LookupFirewallResult]{ + OutputState: o.OutputState, + } +} + // The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. func (o LookupFirewallResultOutput) Allowed() FirewallAllowedItemResponseArrayOutput { return o.ApplyT(func(v LookupFirewallResult) []FirewallAllowedItemResponse { return v.Allowed }).(FirewallAllowedItemResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getFirewallPolicy.go b/sdk/go/google/compute/alpha/getFirewallPolicy.go index 3b9ea098e6..26f71b3474 100644 --- a/sdk/go/google/compute/alpha/getFirewallPolicy.go +++ b/sdk/go/google/compute/alpha/getFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified firewall policy. @@ -96,6 +97,12 @@ func (o LookupFirewallPolicyResultOutput) ToLookupFirewallPolicyResultOutputWith return o } +func (o LookupFirewallPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFirewallPolicyResult] { + return pulumix.Output[LookupFirewallPolicyResult]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o LookupFirewallPolicyResultOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v LookupFirewallPolicyResult) []FirewallPolicyAssociationResponse { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getFirewallPolicyIamPolicy.go b/sdk/go/google/compute/alpha/getFirewallPolicyIamPolicy.go index 0c56e0450d..87443a17f8 100644 --- a/sdk/go/google/compute/alpha/getFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/alpha/getFirewallPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -76,6 +77,12 @@ func (o LookupFirewallPolicyIamPolicyResultOutput) ToLookupFirewallPolicyIamPoli return o } +func (o LookupFirewallPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFirewallPolicyIamPolicyResult] { + return pulumix.Output[LookupFirewallPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFirewallPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFirewallPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getForwardingRule.go b/sdk/go/google/compute/alpha/getForwardingRule.go index 314b18ddbd..bbfc4be585 100644 --- a/sdk/go/google/compute/alpha/getForwardingRule.go +++ b/sdk/go/google/compute/alpha/getForwardingRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified ForwardingRule resource. @@ -135,6 +136,12 @@ func (o LookupForwardingRuleResultOutput) ToLookupForwardingRuleResultOutputWith return o } +func (o LookupForwardingRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupForwardingRuleResult] { + return pulumix.Output[LookupForwardingRuleResult]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o LookupForwardingRuleResultOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v LookupForwardingRuleResult) bool { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/getFutureReservation.go b/sdk/go/google/compute/alpha/getFutureReservation.go index 44f551520e..616e4bf117 100644 --- a/sdk/go/google/compute/alpha/getFutureReservation.go +++ b/sdk/go/google/compute/alpha/getFutureReservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves information about the specified future reservation. @@ -94,6 +95,12 @@ func (o LookupFutureReservationResultOutput) ToLookupFutureReservationResultOutp return o } +func (o LookupFutureReservationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFutureReservationResult] { + return pulumix.Output[LookupFutureReservationResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this future reservation in RFC3339 text format. func (o LookupFutureReservationResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupFutureReservationResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getGlobalAddress.go b/sdk/go/google/compute/alpha/getGlobalAddress.go index d8e0251396..733975320f 100644 --- a/sdk/go/google/compute/alpha/getGlobalAddress.go +++ b/sdk/go/google/compute/alpha/getGlobalAddress.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified address resource. @@ -106,6 +107,12 @@ func (o LookupGlobalAddressResultOutput) ToLookupGlobalAddressResultOutputWithCo return o } +func (o LookupGlobalAddressResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalAddressResult] { + return pulumix.Output[LookupGlobalAddressResult]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o LookupGlobalAddressResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v LookupGlobalAddressResult) string { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getGlobalForwardingRule.go b/sdk/go/google/compute/alpha/getGlobalForwardingRule.go index d3028ea610..687a1476f8 100644 --- a/sdk/go/google/compute/alpha/getGlobalForwardingRule.go +++ b/sdk/go/google/compute/alpha/getGlobalForwardingRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request. @@ -133,6 +134,12 @@ func (o LookupGlobalForwardingRuleResultOutput) ToLookupGlobalForwardingRuleResu return o } +func (o LookupGlobalForwardingRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalForwardingRuleResult] { + return pulumix.Output[LookupGlobalForwardingRuleResult]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o LookupGlobalForwardingRuleResultOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v LookupGlobalForwardingRuleResult) bool { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/getGlobalNetworkEndpointGroup.go b/sdk/go/google/compute/alpha/getGlobalNetworkEndpointGroup.go index 479d89591f..d3c8f93925 100644 --- a/sdk/go/google/compute/alpha/getGlobalNetworkEndpointGroup.go +++ b/sdk/go/google/compute/alpha/getGlobalNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network endpoint group. @@ -111,6 +112,12 @@ func (o LookupGlobalNetworkEndpointGroupResultOutput) ToLookupGlobalNetworkEndpo return o } +func (o LookupGlobalNetworkEndpointGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalNetworkEndpointGroupResult] { + return pulumix.Output[LookupGlobalNetworkEndpointGroupResult]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o LookupGlobalNetworkEndpointGroupResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupGlobalNetworkEndpointGroupResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/alpha/getGlobalPublicDelegatedPrefix.go b/sdk/go/google/compute/alpha/getGlobalPublicDelegatedPrefix.go index 6c7e1062e3..fc9971a338 100644 --- a/sdk/go/google/compute/alpha/getGlobalPublicDelegatedPrefix.go +++ b/sdk/go/google/compute/alpha/getGlobalPublicDelegatedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified global PublicDelegatedPrefix resource. @@ -92,6 +93,12 @@ func (o LookupGlobalPublicDelegatedPrefixResultOutput) ToLookupGlobalPublicDeleg return o } +func (o LookupGlobalPublicDelegatedPrefixResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalPublicDelegatedPrefixResult] { + return pulumix.Output[LookupGlobalPublicDelegatedPrefixResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupGlobalPublicDelegatedPrefixResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupGlobalPublicDelegatedPrefixResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getHealthCheck.go b/sdk/go/google/compute/alpha/getHealthCheck.go index b69c6d5410..0edec189ea 100644 --- a/sdk/go/google/compute/alpha/getHealthCheck.go +++ b/sdk/go/google/compute/alpha/getHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HealthCheck resource. @@ -101,6 +102,12 @@ func (o LookupHealthCheckResultOutput) ToLookupHealthCheckResultOutputWithContex return o } +func (o LookupHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHealthCheckResult] { + return pulumix.Output[LookupHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/getHttpHealthCheck.go b/sdk/go/google/compute/alpha/getHttpHealthCheck.go index 8140d36507..6ebd3ff7e7 100644 --- a/sdk/go/google/compute/alpha/getHttpHealthCheck.go +++ b/sdk/go/google/compute/alpha/getHttpHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HttpHealthCheck resource. @@ -92,6 +93,12 @@ func (o LookupHttpHealthCheckResultOutput) ToLookupHttpHealthCheckResultOutputWi return o } +func (o LookupHttpHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHttpHealthCheckResult] { + return pulumix.Output[LookupHttpHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupHttpHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupHttpHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/getHttpsHealthCheck.go b/sdk/go/google/compute/alpha/getHttpsHealthCheck.go index 5aa5ae172e..0b86daa7c6 100644 --- a/sdk/go/google/compute/alpha/getHttpsHealthCheck.go +++ b/sdk/go/google/compute/alpha/getHttpsHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HttpsHealthCheck resource. @@ -92,6 +93,12 @@ func (o LookupHttpsHealthCheckResultOutput) ToLookupHttpsHealthCheckResultOutput return o } +func (o LookupHttpsHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHttpsHealthCheckResult] { + return pulumix.Output[LookupHttpsHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupHttpsHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupHttpsHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/getImage.go b/sdk/go/google/compute/alpha/getImage.go index 8e9e3a099d..889ae5d588 100644 --- a/sdk/go/google/compute/alpha/getImage.go +++ b/sdk/go/google/compute/alpha/getImage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified image. @@ -136,6 +137,12 @@ func (o LookupImageResultOutput) ToLookupImageResultOutputWithContext(ctx contex return o } +func (o LookupImageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupImageResult] { + return pulumix.Output[LookupImageResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the image. Valid values are ARM64 or X86_64. func (o LookupImageResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupImageResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getImageIamPolicy.go b/sdk/go/google/compute/alpha/getImageIamPolicy.go index 5d2877d8b6..865b255d41 100644 --- a/sdk/go/google/compute/alpha/getImageIamPolicy.go +++ b/sdk/go/google/compute/alpha/getImageIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupImageIamPolicyResultOutput) ToLookupImageIamPolicyResultOutputWith return o } +func (o LookupImageIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupImageIamPolicyResult] { + return pulumix.Output[LookupImageIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupImageIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupImageIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getInstance.go b/sdk/go/google/compute/alpha/getInstance.go index cabaf3e95a..a4b15d55a6 100644 --- a/sdk/go/google/compute/alpha/getInstance.go +++ b/sdk/go/google/compute/alpha/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Instance resource. @@ -170,6 +171,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. func (o LookupInstanceResultOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesResponseOutput { return o.ApplyT(func(v LookupInstanceResult) AdvancedMachineFeaturesResponse { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesResponseOutput) diff --git a/sdk/go/google/compute/alpha/getInstanceGroup.go b/sdk/go/google/compute/alpha/getInstanceGroup.go index 18b6a5f583..5d0a324537 100644 --- a/sdk/go/google/compute/alpha/getInstanceGroup.go +++ b/sdk/go/google/compute/alpha/getInstanceGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. @@ -94,6 +95,12 @@ func (o LookupInstanceGroupResultOutput) ToLookupInstanceGroupResultOutputWithCo return o } +func (o LookupInstanceGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceGroupResult] { + return pulumix.Output[LookupInstanceGroupResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance group in RFC3339 text format. func (o LookupInstanceGroupResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceGroupResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getInstanceGroupManager.go b/sdk/go/google/compute/alpha/getInstanceGroupManager.go index 110daf104e..5c166013a3 100644 --- a/sdk/go/google/compute/alpha/getInstanceGroupManager.go +++ b/sdk/go/google/compute/alpha/getInstanceGroupManager.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns all of the details about the specified managed instance group. @@ -132,6 +133,12 @@ func (o LookupInstanceGroupManagerResultOutput) ToLookupInstanceGroupManagerResu return o } +func (o LookupInstanceGroupManagerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceGroupManagerResult] { + return pulumix.Output[LookupInstanceGroupManagerResult]{ + OutputState: o.OutputState, + } +} + // Specifies configuration that overrides the instance template configuration for the group. func (o LookupInstanceGroupManagerResultOutput) AllInstancesConfig() InstanceGroupManagerAllInstancesConfigResponseOutput { return o.ApplyT(func(v LookupInstanceGroupManagerResult) InstanceGroupManagerAllInstancesConfigResponse { diff --git a/sdk/go/google/compute/alpha/getInstanceGroupManagerResizeRequest.go b/sdk/go/google/compute/alpha/getInstanceGroupManagerResizeRequest.go index b357b6277d..e0cf3539bb 100644 --- a/sdk/go/google/compute/alpha/getInstanceGroupManagerResizeRequest.go +++ b/sdk/go/google/compute/alpha/getInstanceGroupManagerResizeRequest.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns all of the details about the specified resize request. @@ -92,6 +93,12 @@ func (o LookupInstanceGroupManagerResizeRequestResultOutput) ToLookupInstanceGro return o } +func (o LookupInstanceGroupManagerResizeRequestResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceGroupManagerResizeRequestResult] { + return pulumix.Output[LookupInstanceGroupManagerResizeRequestResult]{ + OutputState: o.OutputState, + } +} + // The count of instances to create as part of this resize request. func (o LookupInstanceGroupManagerResizeRequestResultOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v LookupInstanceGroupManagerResizeRequestResult) int { return v.Count }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/getInstanceIamPolicy.go b/sdk/go/google/compute/alpha/getInstanceIamPolicy.go index eb4ac48df8..b259eb6bf8 100644 --- a/sdk/go/google/compute/alpha/getInstanceIamPolicy.go +++ b/sdk/go/google/compute/alpha/getInstanceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutp return o } +func (o LookupInstanceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceIamPolicyResult] { + return pulumix.Output[LookupInstanceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getInstanceTemplate.go b/sdk/go/google/compute/alpha/getInstanceTemplate.go index a7b055973d..530e69ac7f 100644 --- a/sdk/go/google/compute/alpha/getInstanceTemplate.go +++ b/sdk/go/google/compute/alpha/getInstanceTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified instance template. @@ -86,6 +87,12 @@ func (o LookupInstanceTemplateResultOutput) ToLookupInstanceTemplateResultOutput return o } +func (o LookupInstanceTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceTemplateResult] { + return pulumix.Output[LookupInstanceTemplateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o LookupInstanceTemplateResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceTemplateResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getInstanceTemplateIamPolicy.go b/sdk/go/google/compute/alpha/getInstanceTemplateIamPolicy.go index b62ce0b6f3..cfe887bce5 100644 --- a/sdk/go/google/compute/alpha/getInstanceTemplateIamPolicy.go +++ b/sdk/go/google/compute/alpha/getInstanceTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupInstanceTemplateIamPolicyResultOutput) ToLookupInstanceTemplateIam return o } +func (o LookupInstanceTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceTemplateIamPolicyResult] { + return pulumix.Output[LookupInstanceTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceTemplateIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceTemplateIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getInstantSnapshot.go b/sdk/go/google/compute/alpha/getInstantSnapshot.go index 1d8cc1062c..7a47be3e7f 100644 --- a/sdk/go/google/compute/alpha/getInstantSnapshot.go +++ b/sdk/go/google/compute/alpha/getInstantSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified InstantSnapshot resource in the specified zone. @@ -104,6 +105,12 @@ func (o LookupInstantSnapshotResultOutput) ToLookupInstantSnapshotResultOutputWi return o } +func (o LookupInstantSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstantSnapshotResult] { + return pulumix.Output[LookupInstantSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the instant snapshot. Valid values are ARM64 or X86_64. func (o LookupInstantSnapshotResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupInstantSnapshotResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getInstantSnapshotIamPolicy.go b/sdk/go/google/compute/alpha/getInstantSnapshotIamPolicy.go index 98244d2f5f..e7affbc542 100644 --- a/sdk/go/google/compute/alpha/getInstantSnapshotIamPolicy.go +++ b/sdk/go/google/compute/alpha/getInstantSnapshotIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupInstantSnapshotIamPolicyResultOutput) ToLookupInstantSnapshotIamPo return o } +func (o LookupInstantSnapshotIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstantSnapshotIamPolicyResult] { + return pulumix.Output[LookupInstantSnapshotIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstantSnapshotIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstantSnapshotIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getInterconnect.go b/sdk/go/google/compute/alpha/getInterconnect.go index d5b37eadb8..3d5dbb68a3 100644 --- a/sdk/go/google/compute/alpha/getInterconnect.go +++ b/sdk/go/google/compute/alpha/getInterconnect.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. @@ -126,6 +127,12 @@ func (o LookupInterconnectResultOutput) ToLookupInterconnectResultOutputWithCont return o } +func (o LookupInterconnectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInterconnectResult] { + return pulumix.Output[LookupInterconnectResult]{ + OutputState: o.OutputState, + } +} + // Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. func (o LookupInterconnectResultOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupInterconnectResult) bool { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/getInterconnectAttachment.go b/sdk/go/google/compute/alpha/getInterconnectAttachment.go index 9b91270eb9..68c9f477a5 100644 --- a/sdk/go/google/compute/alpha/getInterconnectAttachment.go +++ b/sdk/go/google/compute/alpha/getInterconnectAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified interconnect attachment. @@ -150,6 +151,12 @@ func (o LookupInterconnectAttachmentResultOutput) ToLookupInterconnectAttachment return o } +func (o LookupInterconnectAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInterconnectAttachmentResult] { + return pulumix.Output[LookupInterconnectAttachmentResult]{ + OutputState: o.OutputState, + } +} + // Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. func (o LookupInterconnectAttachmentResultOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupInterconnectAttachmentResult) bool { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/getInterconnectAttachmentIamPolicy.go b/sdk/go/google/compute/alpha/getInterconnectAttachmentIamPolicy.go index 0a1825cf41..131a3b6547 100644 --- a/sdk/go/google/compute/alpha/getInterconnectAttachmentIamPolicy.go +++ b/sdk/go/google/compute/alpha/getInterconnectAttachmentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupInterconnectAttachmentIamPolicyResultOutput) ToLookupInterconnectA return o } +func (o LookupInterconnectAttachmentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInterconnectAttachmentIamPolicyResult] { + return pulumix.Output[LookupInterconnectAttachmentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInterconnectAttachmentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInterconnectAttachmentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getInterconnectIamPolicy.go b/sdk/go/google/compute/alpha/getInterconnectIamPolicy.go index 6a33ec6ed9..f150703fa4 100644 --- a/sdk/go/google/compute/alpha/getInterconnectIamPolicy.go +++ b/sdk/go/google/compute/alpha/getInterconnectIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupInterconnectIamPolicyResultOutput) ToLookupInterconnectIamPolicyRe return o } +func (o LookupInterconnectIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInterconnectIamPolicyResult] { + return pulumix.Output[LookupInterconnectIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInterconnectIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInterconnectIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getLicense.go b/sdk/go/google/compute/alpha/getLicense.go index 7c1d75fa17..54ababa9a3 100644 --- a/sdk/go/google/compute/alpha/getLicense.go +++ b/sdk/go/google/compute/alpha/getLicense.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified License resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -87,6 +88,12 @@ func (o LookupLicenseResultOutput) ToLookupLicenseResultOutputWithContext(ctx co return o } +func (o LookupLicenseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLicenseResult] { + return pulumix.Output[LookupLicenseResult]{ + OutputState: o.OutputState, + } +} + // Deprecated. This field no longer reflects whether a license charges a usage fee. // // Deprecated: [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. diff --git a/sdk/go/google/compute/alpha/getLicenseCodeIamPolicy.go b/sdk/go/google/compute/alpha/getLicenseCodeIamPolicy.go index e223475f7d..b4aef48f1a 100644 --- a/sdk/go/google/compute/alpha/getLicenseCodeIamPolicy.go +++ b/sdk/go/google/compute/alpha/getLicenseCodeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -78,6 +79,12 @@ func (o LookupLicenseCodeIamPolicyResultOutput) ToLookupLicenseCodeIamPolicyResu return o } +func (o LookupLicenseCodeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLicenseCodeIamPolicyResult] { + return pulumix.Output[LookupLicenseCodeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLicenseCodeIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLicenseCodeIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getLicenseIamPolicy.go b/sdk/go/google/compute/alpha/getLicenseIamPolicy.go index 71f7918beb..095e7dd8e3 100644 --- a/sdk/go/google/compute/alpha/getLicenseIamPolicy.go +++ b/sdk/go/google/compute/alpha/getLicenseIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -78,6 +79,12 @@ func (o LookupLicenseIamPolicyResultOutput) ToLookupLicenseIamPolicyResultOutput return o } +func (o LookupLicenseIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLicenseIamPolicyResult] { + return pulumix.Output[LookupLicenseIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLicenseIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLicenseIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getMachineImage.go b/sdk/go/google/compute/alpha/getMachineImage.go index 0a2a5ec439..4d276e9bc5 100644 --- a/sdk/go/google/compute/alpha/getMachineImage.go +++ b/sdk/go/google/compute/alpha/getMachineImage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified machine image. @@ -100,6 +101,12 @@ func (o LookupMachineImageResultOutput) ToLookupMachineImageResultOutputWithCont return o } +func (o LookupMachineImageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMachineImageResult] { + return pulumix.Output[LookupMachineImageResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this machine image in RFC3339 text format. func (o LookupMachineImageResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupMachineImageResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getMachineImageIamPolicy.go b/sdk/go/google/compute/alpha/getMachineImageIamPolicy.go index dd38f894f4..5110fd0bf5 100644 --- a/sdk/go/google/compute/alpha/getMachineImageIamPolicy.go +++ b/sdk/go/google/compute/alpha/getMachineImageIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupMachineImageIamPolicyResultOutput) ToLookupMachineImageIamPolicyRe return o } +func (o LookupMachineImageIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMachineImageIamPolicyResult] { + return pulumix.Output[LookupMachineImageIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMachineImageIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMachineImageIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getNetwork.go b/sdk/go/google/compute/alpha/getNetwork.go index c0c0de0b27..103816cba6 100644 --- a/sdk/go/google/compute/alpha/getNetwork.go +++ b/sdk/go/google/compute/alpha/getNetwork.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network. @@ -104,6 +105,12 @@ func (o LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext(ctx co return o } +func (o LookupNetworkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkResult] { + return pulumix.Output[LookupNetworkResult]{ + OutputState: o.OutputState, + } +} + // Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method. func (o LookupNetworkResultOutput) AutoCreateSubnetworks() pulumi.BoolOutput { return o.ApplyT(func(v LookupNetworkResult) bool { return v.AutoCreateSubnetworks }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/getNetworkAttachment.go b/sdk/go/google/compute/alpha/getNetworkAttachment.go index 211128ba94..8f6b6a38b9 100644 --- a/sdk/go/google/compute/alpha/getNetworkAttachment.go +++ b/sdk/go/google/compute/alpha/getNetworkAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified NetworkAttachment resource in the given scope. @@ -95,6 +96,12 @@ func (o LookupNetworkAttachmentResultOutput) ToLookupNetworkAttachmentResultOutp return o } +func (o LookupNetworkAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkAttachmentResult] { + return pulumix.Output[LookupNetworkAttachmentResult]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the producers connected to this network attachment. func (o LookupNetworkAttachmentResultOutput) ConnectionEndpoints() NetworkAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v LookupNetworkAttachmentResult) []NetworkAttachmentConnectedEndpointResponse { diff --git a/sdk/go/google/compute/alpha/getNetworkAttachmentIamPolicy.go b/sdk/go/google/compute/alpha/getNetworkAttachmentIamPolicy.go index d3eb1ddab9..2168ca1fca 100644 --- a/sdk/go/google/compute/alpha/getNetworkAttachmentIamPolicy.go +++ b/sdk/go/google/compute/alpha/getNetworkAttachmentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupNetworkAttachmentIamPolicyResultOutput) ToLookupNetworkAttachmentI return o } +func (o LookupNetworkAttachmentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkAttachmentIamPolicyResult] { + return pulumix.Output[LookupNetworkAttachmentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNetworkAttachmentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNetworkAttachmentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getNetworkEdgeSecurityService.go b/sdk/go/google/compute/alpha/getNetworkEdgeSecurityService.go index 09bd7fa0da..50407fd748 100644 --- a/sdk/go/google/compute/alpha/getNetworkEdgeSecurityService.go +++ b/sdk/go/google/compute/alpha/getNetworkEdgeSecurityService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a specified NetworkEdgeSecurityService. @@ -86,6 +87,12 @@ func (o LookupNetworkEdgeSecurityServiceResultOutput) ToLookupNetworkEdgeSecurit return o } +func (o LookupNetworkEdgeSecurityServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkEdgeSecurityServiceResult] { + return pulumix.Output[LookupNetworkEdgeSecurityServiceResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupNetworkEdgeSecurityServiceResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupNetworkEdgeSecurityServiceResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getNetworkEndpointGroup.go b/sdk/go/google/compute/alpha/getNetworkEndpointGroup.go index 7c220c0f24..9c65f2ef6d 100644 --- a/sdk/go/google/compute/alpha/getNetworkEndpointGroup.go +++ b/sdk/go/google/compute/alpha/getNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network endpoint group. @@ -113,6 +114,12 @@ func (o LookupNetworkEndpointGroupResultOutput) ToLookupNetworkEndpointGroupResu return o } +func (o LookupNetworkEndpointGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkEndpointGroupResult] { + return pulumix.Output[LookupNetworkEndpointGroupResult]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o LookupNetworkEndpointGroupResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupNetworkEndpointGroupResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/alpha/getNetworkFirewallPolicy.go b/sdk/go/google/compute/alpha/getNetworkFirewallPolicy.go index 01ff22606f..1fb71d9951 100644 --- a/sdk/go/google/compute/alpha/getNetworkFirewallPolicy.go +++ b/sdk/go/google/compute/alpha/getNetworkFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network firewall policy. @@ -98,6 +99,12 @@ func (o LookupNetworkFirewallPolicyResultOutput) ToLookupNetworkFirewallPolicyRe return o } +func (o LookupNetworkFirewallPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkFirewallPolicyResult] { + return pulumix.Output[LookupNetworkFirewallPolicyResult]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o LookupNetworkFirewallPolicyResultOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v LookupNetworkFirewallPolicyResult) []FirewallPolicyAssociationResponse { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getNetworkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/alpha/getNetworkFirewallPolicyIamPolicy.go index 1ee22eb990..8f5623aba0 100644 --- a/sdk/go/google/compute/alpha/getNetworkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/alpha/getNetworkFirewallPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupNetworkFirewallPolicyIamPolicyResultOutput) ToLookupNetworkFirewal return o } +func (o LookupNetworkFirewallPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkFirewallPolicyIamPolicyResult] { + return pulumix.Output[LookupNetworkFirewallPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNetworkFirewallPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNetworkFirewallPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getNodeGroup.go b/sdk/go/google/compute/alpha/getNodeGroup.go index be598c7464..aa5705026a 100644 --- a/sdk/go/google/compute/alpha/getNodeGroup.go +++ b/sdk/go/google/compute/alpha/getNodeGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead. @@ -99,6 +100,12 @@ func (o LookupNodeGroupResultOutput) ToLookupNodeGroupResultOutputWithContext(ct return o } +func (o LookupNodeGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeGroupResult] { + return pulumix.Output[LookupNodeGroupResult]{ + OutputState: o.OutputState, + } +} + // Specifies how autoscaling should behave. func (o LookupNodeGroupResultOutput) AutoscalingPolicy() NodeGroupAutoscalingPolicyResponseOutput { return o.ApplyT(func(v LookupNodeGroupResult) NodeGroupAutoscalingPolicyResponse { return v.AutoscalingPolicy }).(NodeGroupAutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/alpha/getNodeGroupIamPolicy.go b/sdk/go/google/compute/alpha/getNodeGroupIamPolicy.go index ba465f48d8..fe9bf699aa 100644 --- a/sdk/go/google/compute/alpha/getNodeGroupIamPolicy.go +++ b/sdk/go/google/compute/alpha/getNodeGroupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupNodeGroupIamPolicyResultOutput) ToLookupNodeGroupIamPolicyResultOu return o } +func (o LookupNodeGroupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeGroupIamPolicyResult] { + return pulumix.Output[LookupNodeGroupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNodeGroupIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNodeGroupIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getNodeTemplate.go b/sdk/go/google/compute/alpha/getNodeTemplate.go index 775375c920..8518b8348b 100644 --- a/sdk/go/google/compute/alpha/getNodeTemplate.go +++ b/sdk/go/google/compute/alpha/getNodeTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified node template. @@ -98,6 +99,12 @@ func (o LookupNodeTemplateResultOutput) ToLookupNodeTemplateResultOutputWithCont return o } +func (o LookupNodeTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeTemplateResult] { + return pulumix.Output[LookupNodeTemplateResult]{ + OutputState: o.OutputState, + } +} + func (o LookupNodeTemplateResultOutput) Accelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v LookupNodeTemplateResult) []AcceleratorConfigResponse { return v.Accelerators }).(AcceleratorConfigResponseArrayOutput) } diff --git a/sdk/go/google/compute/alpha/getNodeTemplateIamPolicy.go b/sdk/go/google/compute/alpha/getNodeTemplateIamPolicy.go index 99d6a2f067..aa8d96937e 100644 --- a/sdk/go/google/compute/alpha/getNodeTemplateIamPolicy.go +++ b/sdk/go/google/compute/alpha/getNodeTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupNodeTemplateIamPolicyResultOutput) ToLookupNodeTemplateIamPolicyRe return o } +func (o LookupNodeTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeTemplateIamPolicyResult] { + return pulumix.Output[LookupNodeTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNodeTemplateIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNodeTemplateIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getOrganizationSecurityPolicy.go b/sdk/go/google/compute/alpha/getOrganizationSecurityPolicy.go index 96f5a169d0..a2b679be1d 100644 --- a/sdk/go/google/compute/alpha/getOrganizationSecurityPolicy.go +++ b/sdk/go/google/compute/alpha/getOrganizationSecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // List all of the ordered rules present in a single specified policy. @@ -103,6 +104,12 @@ func (o LookupOrganizationSecurityPolicyResultOutput) ToLookupOrganizationSecuri return o } +func (o LookupOrganizationSecurityPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationSecurityPolicyResult] { + return pulumix.Output[LookupOrganizationSecurityPolicyResult]{ + OutputState: o.OutputState, + } +} + func (o LookupOrganizationSecurityPolicyResultOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v LookupOrganizationSecurityPolicyResult) SecurityPolicyAdaptiveProtectionConfigResponse { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/alpha/getPacketMirroring.go b/sdk/go/google/compute/alpha/getPacketMirroring.go index 0eabb00fba..deeb4af9a9 100644 --- a/sdk/go/google/compute/alpha/getPacketMirroring.go +++ b/sdk/go/google/compute/alpha/getPacketMirroring.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified PacketMirroring resource. @@ -94,6 +95,12 @@ func (o LookupPacketMirroringResultOutput) ToLookupPacketMirroringResultOutputWi return o } +func (o LookupPacketMirroringResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPacketMirroringResult] { + return pulumix.Output[LookupPacketMirroringResult]{ + OutputState: o.OutputState, + } +} + // The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true. func (o LookupPacketMirroringResultOutput) CollectorIlb() PacketMirroringForwardingRuleInfoResponseOutput { return o.ApplyT(func(v LookupPacketMirroringResult) PacketMirroringForwardingRuleInfoResponse { return v.CollectorIlb }).(PacketMirroringForwardingRuleInfoResponseOutput) diff --git a/sdk/go/google/compute/alpha/getPublicAdvertisedPrefix.go b/sdk/go/google/compute/alpha/getPublicAdvertisedPrefix.go index 9415f31e83..c57ea14775 100644 --- a/sdk/go/google/compute/alpha/getPublicAdvertisedPrefix.go +++ b/sdk/go/google/compute/alpha/getPublicAdvertisedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified PublicAdvertisedPrefix resource. @@ -92,6 +93,12 @@ func (o LookupPublicAdvertisedPrefixResultOutput) ToLookupPublicAdvertisedPrefix return o } +func (o LookupPublicAdvertisedPrefixResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPublicAdvertisedPrefixResult] { + return pulumix.Output[LookupPublicAdvertisedPrefixResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupPublicAdvertisedPrefixResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupPublicAdvertisedPrefixResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getPublicDelegatedPrefix.go b/sdk/go/google/compute/alpha/getPublicDelegatedPrefix.go index 92e64376f0..519251613c 100644 --- a/sdk/go/google/compute/alpha/getPublicDelegatedPrefix.go +++ b/sdk/go/google/compute/alpha/getPublicDelegatedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified PublicDelegatedPrefix resource in the given region. @@ -94,6 +95,12 @@ func (o LookupPublicDelegatedPrefixResultOutput) ToLookupPublicDelegatedPrefixRe return o } +func (o LookupPublicDelegatedPrefixResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPublicDelegatedPrefixResult] { + return pulumix.Output[LookupPublicDelegatedPrefixResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupPublicDelegatedPrefixResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupPublicDelegatedPrefixResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getRegionAutoscaler.go b/sdk/go/google/compute/alpha/getRegionAutoscaler.go index 9d539a2868..99403a8057 100644 --- a/sdk/go/google/compute/alpha/getRegionAutoscaler.go +++ b/sdk/go/google/compute/alpha/getRegionAutoscaler.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified autoscaler. @@ -96,6 +97,12 @@ func (o LookupRegionAutoscalerResultOutput) ToLookupRegionAutoscalerResultOutput return o } +func (o LookupRegionAutoscalerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionAutoscalerResult] { + return pulumix.Output[LookupRegionAutoscalerResult]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o LookupRegionAutoscalerResultOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v LookupRegionAutoscalerResult) AutoscalingPolicyResponse { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/alpha/getRegionBackendService.go b/sdk/go/google/compute/alpha/getRegionBackendService.go index 69d34b8af3..8346cb314a 100644 --- a/sdk/go/google/compute/alpha/getRegionBackendService.go +++ b/sdk/go/google/compute/alpha/getRegionBackendService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified regional BackendService resource. @@ -153,6 +154,12 @@ func (o LookupRegionBackendServiceResultOutput) ToLookupRegionBackendServiceResu return o } +func (o LookupRegionBackendServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionBackendServiceResult] { + return pulumix.Output[LookupRegionBackendServiceResult]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o LookupRegionBackendServiceResultOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v LookupRegionBackendServiceResult) int { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/getRegionBackendServiceIamPolicy.go b/sdk/go/google/compute/alpha/getRegionBackendServiceIamPolicy.go index 9ba34c1ccf..c8682f544e 100644 --- a/sdk/go/google/compute/alpha/getRegionBackendServiceIamPolicy.go +++ b/sdk/go/google/compute/alpha/getRegionBackendServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionBackendServiceIamPolicyResultOutput) ToLookupRegionBackendSe return o } +func (o LookupRegionBackendServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionBackendServiceIamPolicyResult] { + return pulumix.Output[LookupRegionBackendServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionBackendServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionBackendServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getRegionCommitment.go b/sdk/go/google/compute/alpha/getRegionCommitment.go index f5fdf39530..5a65aedd6b 100644 --- a/sdk/go/google/compute/alpha/getRegionCommitment.go +++ b/sdk/go/google/compute/alpha/getRegionCommitment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified commitment resource. @@ -108,6 +109,12 @@ func (o LookupRegionCommitmentResultOutput) ToLookupRegionCommitmentResultOutput return o } +func (o LookupRegionCommitmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionCommitmentResult] { + return pulumix.Output[LookupRegionCommitmentResult]{ + OutputState: o.OutputState, + } +} + // Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment. func (o LookupRegionCommitmentResultOutput) AutoRenew() pulumi.BoolOutput { return o.ApplyT(func(v LookupRegionCommitmentResult) bool { return v.AutoRenew }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/getRegionDisk.go b/sdk/go/google/compute/alpha/getRegionDisk.go index e726413cd9..b6ad27135f 100644 --- a/sdk/go/google/compute/alpha/getRegionDisk.go +++ b/sdk/go/google/compute/alpha/getRegionDisk.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified regional persistent disk. @@ -180,6 +181,12 @@ func (o LookupRegionDiskResultOutput) ToLookupRegionDiskResultOutputWithContext( return o } +func (o LookupRegionDiskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionDiskResult] { + return pulumix.Output[LookupRegionDiskResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o LookupRegionDiskResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionDiskResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getRegionDiskIamPolicy.go b/sdk/go/google/compute/alpha/getRegionDiskIamPolicy.go index b9141c483a..d306fda41d 100644 --- a/sdk/go/google/compute/alpha/getRegionDiskIamPolicy.go +++ b/sdk/go/google/compute/alpha/getRegionDiskIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionDiskIamPolicyResultOutput) ToLookupRegionDiskIamPolicyResult return o } +func (o LookupRegionDiskIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionDiskIamPolicyResult] { + return pulumix.Output[LookupRegionDiskIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionDiskIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionDiskIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getRegionHealthCheck.go b/sdk/go/google/compute/alpha/getRegionHealthCheck.go index 363d57f30e..adfa8561de 100644 --- a/sdk/go/google/compute/alpha/getRegionHealthCheck.go +++ b/sdk/go/google/compute/alpha/getRegionHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HealthCheck resource. @@ -103,6 +104,12 @@ func (o LookupRegionHealthCheckResultOutput) ToLookupRegionHealthCheckResultOutp return o } +func (o LookupRegionHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionHealthCheckResult] { + return pulumix.Output[LookupRegionHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupRegionHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupRegionHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/getRegionHealthCheckService.go b/sdk/go/google/compute/alpha/getRegionHealthCheckService.go index 2c35d6fa57..952ed16924 100644 --- a/sdk/go/google/compute/alpha/getRegionHealthCheckService.go +++ b/sdk/go/google/compute/alpha/getRegionHealthCheckService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified regional HealthCheckService resource. @@ -96,6 +97,12 @@ func (o LookupRegionHealthCheckServiceResultOutput) ToLookupRegionHealthCheckSer return o } +func (o LookupRegionHealthCheckServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionHealthCheckServiceResult] { + return pulumix.Output[LookupRegionHealthCheckServiceResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionHealthCheckServiceResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionHealthCheckServiceResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getRegionInstanceGroupManager.go b/sdk/go/google/compute/alpha/getRegionInstanceGroupManager.go index c5e34fef2a..228ab2e0e6 100644 --- a/sdk/go/google/compute/alpha/getRegionInstanceGroupManager.go +++ b/sdk/go/google/compute/alpha/getRegionInstanceGroupManager.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns all of the details about the specified managed instance group. @@ -132,6 +133,12 @@ func (o LookupRegionInstanceGroupManagerResultOutput) ToLookupRegionInstanceGrou return o } +func (o LookupRegionInstanceGroupManagerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionInstanceGroupManagerResult] { + return pulumix.Output[LookupRegionInstanceGroupManagerResult]{ + OutputState: o.OutputState, + } +} + // Specifies configuration that overrides the instance template configuration for the group. func (o LookupRegionInstanceGroupManagerResultOutput) AllInstancesConfig() InstanceGroupManagerAllInstancesConfigResponseOutput { return o.ApplyT(func(v LookupRegionInstanceGroupManagerResult) InstanceGroupManagerAllInstancesConfigResponse { diff --git a/sdk/go/google/compute/alpha/getRegionInstanceTemplate.go b/sdk/go/google/compute/alpha/getRegionInstanceTemplate.go index c163726417..49d70f786b 100644 --- a/sdk/go/google/compute/alpha/getRegionInstanceTemplate.go +++ b/sdk/go/google/compute/alpha/getRegionInstanceTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified instance template. @@ -88,6 +89,12 @@ func (o LookupRegionInstanceTemplateResultOutput) ToLookupRegionInstanceTemplate return o } +func (o LookupRegionInstanceTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionInstanceTemplateResult] { + return pulumix.Output[LookupRegionInstanceTemplateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o LookupRegionInstanceTemplateResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionInstanceTemplateResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getRegionInstantSnapshot.go b/sdk/go/google/compute/alpha/getRegionInstantSnapshot.go index ca80d27997..855b8dd05a 100644 --- a/sdk/go/google/compute/alpha/getRegionInstantSnapshot.go +++ b/sdk/go/google/compute/alpha/getRegionInstantSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified InstantSnapshot resource in the specified region. @@ -104,6 +105,12 @@ func (o LookupRegionInstantSnapshotResultOutput) ToLookupRegionInstantSnapshotRe return o } +func (o LookupRegionInstantSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionInstantSnapshotResult] { + return pulumix.Output[LookupRegionInstantSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the instant snapshot. Valid values are ARM64 or X86_64. func (o LookupRegionInstantSnapshotResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionInstantSnapshotResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getRegionInstantSnapshotIamPolicy.go b/sdk/go/google/compute/alpha/getRegionInstantSnapshotIamPolicy.go index 763babe861..92288a6318 100644 --- a/sdk/go/google/compute/alpha/getRegionInstantSnapshotIamPolicy.go +++ b/sdk/go/google/compute/alpha/getRegionInstantSnapshotIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionInstantSnapshotIamPolicyResultOutput) ToLookupRegionInstantS return o } +func (o LookupRegionInstantSnapshotIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionInstantSnapshotIamPolicyResult] { + return pulumix.Output[LookupRegionInstantSnapshotIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionInstantSnapshotIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionInstantSnapshotIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getRegionNetworkEndpointGroup.go b/sdk/go/google/compute/alpha/getRegionNetworkEndpointGroup.go index 700a219c36..7ea56490c4 100644 --- a/sdk/go/google/compute/alpha/getRegionNetworkEndpointGroup.go +++ b/sdk/go/google/compute/alpha/getRegionNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network endpoint group. @@ -113,6 +114,12 @@ func (o LookupRegionNetworkEndpointGroupResultOutput) ToLookupRegionNetworkEndpo return o } +func (o LookupRegionNetworkEndpointGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNetworkEndpointGroupResult] { + return pulumix.Output[LookupRegionNetworkEndpointGroupResult]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o LookupRegionNetworkEndpointGroupResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupRegionNetworkEndpointGroupResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/alpha/getRegionNetworkFirewallPolicy.go b/sdk/go/google/compute/alpha/getRegionNetworkFirewallPolicy.go index 666fe0bba5..32ead696ff 100644 --- a/sdk/go/google/compute/alpha/getRegionNetworkFirewallPolicy.go +++ b/sdk/go/google/compute/alpha/getRegionNetworkFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network firewall policy. @@ -100,6 +101,12 @@ func (o LookupRegionNetworkFirewallPolicyResultOutput) ToLookupRegionNetworkFire return o } +func (o LookupRegionNetworkFirewallPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNetworkFirewallPolicyResult] { + return pulumix.Output[LookupRegionNetworkFirewallPolicyResult]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o LookupRegionNetworkFirewallPolicyResultOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v LookupRegionNetworkFirewallPolicyResult) []FirewallPolicyAssociationResponse { diff --git a/sdk/go/google/compute/alpha/getRegionNetworkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/alpha/getRegionNetworkFirewallPolicyIamPolicy.go index 2d4895cc45..fa7bb93817 100644 --- a/sdk/go/google/compute/alpha/getRegionNetworkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/alpha/getRegionNetworkFirewallPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionNetworkFirewallPolicyIamPolicyResultOutput) ToLookupRegionNe return o } +func (o LookupRegionNetworkFirewallPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNetworkFirewallPolicyIamPolicyResult] { + return pulumix.Output[LookupRegionNetworkFirewallPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionNetworkFirewallPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionNetworkFirewallPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getRegionNotificationEndpoint.go b/sdk/go/google/compute/alpha/getRegionNotificationEndpoint.go index b27df4afe4..d6f75d8863 100644 --- a/sdk/go/google/compute/alpha/getRegionNotificationEndpoint.go +++ b/sdk/go/google/compute/alpha/getRegionNotificationEndpoint.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified NotificationEndpoint resource in the given region. @@ -82,6 +83,12 @@ func (o LookupRegionNotificationEndpointResultOutput) ToLookupRegionNotification return o } +func (o LookupRegionNotificationEndpointResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNotificationEndpointResult] { + return pulumix.Output[LookupRegionNotificationEndpointResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionNotificationEndpointResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionNotificationEndpointResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getRegionSecurityPolicy.go b/sdk/go/google/compute/alpha/getRegionSecurityPolicy.go index 573a5d21be..0ec7accb62 100644 --- a/sdk/go/google/compute/alpha/getRegionSecurityPolicy.go +++ b/sdk/go/google/compute/alpha/getRegionSecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // List all of the ordered rules present in a single specified policy. @@ -107,6 +108,12 @@ func (o LookupRegionSecurityPolicyResultOutput) ToLookupRegionSecurityPolicyResu return o } +func (o LookupRegionSecurityPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionSecurityPolicyResult] { + return pulumix.Output[LookupRegionSecurityPolicyResult]{ + OutputState: o.OutputState, + } +} + func (o LookupRegionSecurityPolicyResultOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v LookupRegionSecurityPolicyResult) SecurityPolicyAdaptiveProtectionConfigResponse { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/alpha/getRegionSslCertificate.go b/sdk/go/google/compute/alpha/getRegionSslCertificate.go index 12b97ca111..8245cb963c 100644 --- a/sdk/go/google/compute/alpha/getRegionSslCertificate.go +++ b/sdk/go/google/compute/alpha/getRegionSslCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request. @@ -96,6 +97,12 @@ func (o LookupRegionSslCertificateResultOutput) ToLookupRegionSslCertificateResu return o } +func (o LookupRegionSslCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionSslCertificateResult] { + return pulumix.Output[LookupRegionSslCertificateResult]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o LookupRegionSslCertificateResultOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionSslCertificateResult) string { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getRegionSslPolicy.go b/sdk/go/google/compute/alpha/getRegionSslPolicy.go index 83c025586b..564e60d275 100644 --- a/sdk/go/google/compute/alpha/getRegionSslPolicy.go +++ b/sdk/go/google/compute/alpha/getRegionSslPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Lists all of the ordered rules present in a single specified policy. @@ -96,6 +97,12 @@ func (o LookupRegionSslPolicyResultOutput) ToLookupRegionSslPolicyResultOutputWi return o } +func (o LookupRegionSslPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionSslPolicyResult] { + return pulumix.Output[LookupRegionSslPolicyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionSslPolicyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionSslPolicyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getRegionTargetHttpProxy.go b/sdk/go/google/compute/alpha/getRegionTargetHttpProxy.go index f9548868db..817ba9e19a 100644 --- a/sdk/go/google/compute/alpha/getRegionTargetHttpProxy.go +++ b/sdk/go/google/compute/alpha/getRegionTargetHttpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpProxy resource in the specified region. @@ -92,6 +93,12 @@ func (o LookupRegionTargetHttpProxyResultOutput) ToLookupRegionTargetHttpProxyRe return o } +func (o LookupRegionTargetHttpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionTargetHttpProxyResult] { + return pulumix.Output[LookupRegionTargetHttpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionTargetHttpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionTargetHttpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getRegionTargetHttpsProxy.go b/sdk/go/google/compute/alpha/getRegionTargetHttpsProxy.go index 8e99752c1e..3307a72f13 100644 --- a/sdk/go/google/compute/alpha/getRegionTargetHttpsProxy.go +++ b/sdk/go/google/compute/alpha/getRegionTargetHttpsProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpsProxy resource in the specified region. @@ -112,6 +113,12 @@ func (o LookupRegionTargetHttpsProxyResultOutput) ToLookupRegionTargetHttpsProxy return o } +func (o LookupRegionTargetHttpsProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionTargetHttpsProxyResult] { + return pulumix.Output[LookupRegionTargetHttpsProxyResult]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use serverTlsPolicy instead. // // Deprecated: [Deprecated] Use serverTlsPolicy instead. diff --git a/sdk/go/google/compute/alpha/getRegionTargetTcpProxy.go b/sdk/go/google/compute/alpha/getRegionTargetTcpProxy.go index 211390d34f..472aca3ba4 100644 --- a/sdk/go/google/compute/alpha/getRegionTargetTcpProxy.go +++ b/sdk/go/google/compute/alpha/getRegionTargetTcpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetTcpProxy resource. @@ -86,6 +87,12 @@ func (o LookupRegionTargetTcpProxyResultOutput) ToLookupRegionTargetTcpProxyResu return o } +func (o LookupRegionTargetTcpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionTargetTcpProxyResult] { + return pulumix.Output[LookupRegionTargetTcpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionTargetTcpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionTargetTcpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getRegionUrlMap.go b/sdk/go/google/compute/alpha/getRegionUrlMap.go index d92a74c0f6..7b0336ddc1 100644 --- a/sdk/go/google/compute/alpha/getRegionUrlMap.go +++ b/sdk/go/google/compute/alpha/getRegionUrlMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified UrlMap resource. @@ -98,6 +99,12 @@ func (o LookupRegionUrlMapResultOutput) ToLookupRegionUrlMapResultOutputWithCont return o } +func (o LookupRegionUrlMapResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionUrlMapResult] { + return pulumix.Output[LookupRegionUrlMapResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionUrlMapResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionUrlMapResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getReservation.go b/sdk/go/google/compute/alpha/getReservation.go index e187a318a6..80c4d04ede 100644 --- a/sdk/go/google/compute/alpha/getReservation.go +++ b/sdk/go/google/compute/alpha/getReservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves information about the specified reservation. @@ -100,6 +101,12 @@ func (o LookupReservationResultOutput) ToLookupReservationResultOutputWithContex return o } +func (o LookupReservationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReservationResult] { + return pulumix.Output[LookupReservationResult]{ + OutputState: o.OutputState, + } +} + // Reservation for aggregated resources, providing shape flexibility. func (o LookupReservationResultOutput) AggregateReservation() AllocationAggregateReservationResponseOutput { return o.ApplyT(func(v LookupReservationResult) AllocationAggregateReservationResponse { return v.AggregateReservation }).(AllocationAggregateReservationResponseOutput) diff --git a/sdk/go/google/compute/alpha/getReservationIamPolicy.go b/sdk/go/google/compute/alpha/getReservationIamPolicy.go index 60ed1ddec0..a8e0ce0b31 100644 --- a/sdk/go/google/compute/alpha/getReservationIamPolicy.go +++ b/sdk/go/google/compute/alpha/getReservationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupReservationIamPolicyResultOutput) ToLookupReservationIamPolicyResu return o } +func (o LookupReservationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReservationIamPolicyResult] { + return pulumix.Output[LookupReservationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupReservationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupReservationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getResourcePolicy.go b/sdk/go/google/compute/alpha/getResourcePolicy.go index b8939e78a6..13d7645dd6 100644 --- a/sdk/go/google/compute/alpha/getResourcePolicy.go +++ b/sdk/go/google/compute/alpha/getResourcePolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves all information of the specified resource policy. @@ -94,6 +95,12 @@ func (o LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutputWith return o } +func (o LookupResourcePolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResourcePolicyResult] { + return pulumix.Output[LookupResourcePolicyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupResourcePolicyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupResourcePolicyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getResourcePolicyIamPolicy.go b/sdk/go/google/compute/alpha/getResourcePolicyIamPolicy.go index e9d6ccefd1..fa0ef0e086 100644 --- a/sdk/go/google/compute/alpha/getResourcePolicyIamPolicy.go +++ b/sdk/go/google/compute/alpha/getResourcePolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupResourcePolicyIamPolicyResultOutput) ToLookupResourcePolicyIamPoli return o } +func (o LookupResourcePolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResourcePolicyIamPolicyResult] { + return pulumix.Output[LookupResourcePolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupResourcePolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupResourcePolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getRoute.go b/sdk/go/google/compute/alpha/getRoute.go index 85d2a92e3f..7ad6ddfefa 100644 --- a/sdk/go/google/compute/alpha/getRoute.go +++ b/sdk/go/google/compute/alpha/getRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Route resource. @@ -116,6 +117,12 @@ func (o LookupRouteResultOutput) ToLookupRouteResultOutputWithContext(ctx contex return o } +func (o LookupRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRouteResult] { + return pulumix.Output[LookupRouteResult]{ + OutputState: o.OutputState, + } +} + // Whether this route can conflict with existing subnetworks. Setting this to true allows this route to conflict with subnetworks that have already been configured on the corresponding network. func (o LookupRouteResultOutput) AllowConflictingSubnetworks() pulumi.BoolOutput { return o.ApplyT(func(v LookupRouteResult) bool { return v.AllowConflictingSubnetworks }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/getRouter.go b/sdk/go/google/compute/alpha/getRouter.go index 156cb20372..2d21c30b06 100644 --- a/sdk/go/google/compute/alpha/getRouter.go +++ b/sdk/go/google/compute/alpha/getRouter.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Router resource. @@ -96,6 +97,12 @@ func (o LookupRouterResultOutput) ToLookupRouterResultOutputWithContext(ctx cont return o } +func (o LookupRouterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRouterResult] { + return pulumix.Output[LookupRouterResult]{ + OutputState: o.OutputState, + } +} + // BGP information specific to this router. func (o LookupRouterResultOutput) Bgp() RouterBgpResponseOutput { return o.ApplyT(func(v LookupRouterResult) RouterBgpResponse { return v.Bgp }).(RouterBgpResponseOutput) diff --git a/sdk/go/google/compute/alpha/getSecurityPolicy.go b/sdk/go/google/compute/alpha/getSecurityPolicy.go index e1c42c2586..fd38f95b19 100644 --- a/sdk/go/google/compute/alpha/getSecurityPolicy.go +++ b/sdk/go/google/compute/alpha/getSecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // List all of the ordered rules present in a single specified policy. @@ -105,6 +106,12 @@ func (o LookupSecurityPolicyResultOutput) ToLookupSecurityPolicyResultOutputWith return o } +func (o LookupSecurityPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecurityPolicyResult] { + return pulumix.Output[LookupSecurityPolicyResult]{ + OutputState: o.OutputState, + } +} + func (o LookupSecurityPolicyResultOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v LookupSecurityPolicyResult) SecurityPolicyAdaptiveProtectionConfigResponse { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/alpha/getServiceAttachment.go b/sdk/go/google/compute/alpha/getServiceAttachment.go index 2370978628..ec4288ccf2 100644 --- a/sdk/go/google/compute/alpha/getServiceAttachment.go +++ b/sdk/go/google/compute/alpha/getServiceAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified ServiceAttachment resource in the given scope. @@ -104,6 +105,12 @@ func (o LookupServiceAttachmentResultOutput) ToLookupServiceAttachmentResultOutp return o } +func (o LookupServiceAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceAttachmentResult] { + return pulumix.Output[LookupServiceAttachmentResult]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the consumers connected to this service attachment. func (o LookupServiceAttachmentResultOutput) ConnectedEndpoints() ServiceAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v LookupServiceAttachmentResult) []ServiceAttachmentConnectedEndpointResponse { diff --git a/sdk/go/google/compute/alpha/getServiceAttachmentIamPolicy.go b/sdk/go/google/compute/alpha/getServiceAttachmentIamPolicy.go index 62a56e5ad5..9077f139d3 100644 --- a/sdk/go/google/compute/alpha/getServiceAttachmentIamPolicy.go +++ b/sdk/go/google/compute/alpha/getServiceAttachmentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupServiceAttachmentIamPolicyResultOutput) ToLookupServiceAttachmentI return o } +func (o LookupServiceAttachmentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceAttachmentIamPolicyResult] { + return pulumix.Output[LookupServiceAttachmentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceAttachmentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceAttachmentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getSnapshot.go b/sdk/go/google/compute/alpha/getSnapshot.go index b66b4ff442..9103d7297e 100644 --- a/sdk/go/google/compute/alpha/getSnapshot.go +++ b/sdk/go/google/compute/alpha/getSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Snapshot resource. @@ -140,6 +141,12 @@ func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx return o } +func (o LookupSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotResult] { + return pulumix.Output[LookupSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the snapshot. Valid values are ARM64 or X86_64. func (o LookupSnapshotResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupSnapshotResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getSnapshotIamPolicy.go b/sdk/go/google/compute/alpha/getSnapshotIamPolicy.go index 0cd2a28723..206f165c04 100644 --- a/sdk/go/google/compute/alpha/getSnapshotIamPolicy.go +++ b/sdk/go/google/compute/alpha/getSnapshotIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupSnapshotIamPolicyResultOutput) ToLookupSnapshotIamPolicyResultOutp return o } +func (o LookupSnapshotIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotIamPolicyResult] { + return pulumix.Output[LookupSnapshotIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupSnapshotIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupSnapshotIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getSslCertificate.go b/sdk/go/google/compute/alpha/getSslCertificate.go index a648b7f229..6c1ab470cd 100644 --- a/sdk/go/google/compute/alpha/getSslCertificate.go +++ b/sdk/go/google/compute/alpha/getSslCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified SslCertificate resource. @@ -94,6 +95,12 @@ func (o LookupSslCertificateResultOutput) ToLookupSslCertificateResultOutputWith return o } +func (o LookupSslCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSslCertificateResult] { + return pulumix.Output[LookupSslCertificateResult]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o LookupSslCertificateResultOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v LookupSslCertificateResult) string { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getSslPolicy.go b/sdk/go/google/compute/alpha/getSslPolicy.go index a551aa9b7c..8ba5b20a91 100644 --- a/sdk/go/google/compute/alpha/getSslPolicy.go +++ b/sdk/go/google/compute/alpha/getSslPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Lists all of the ordered rules present in a single specified policy. @@ -94,6 +95,12 @@ func (o LookupSslPolicyResultOutput) ToLookupSslPolicyResultOutputWithContext(ct return o } +func (o LookupSslPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSslPolicyResult] { + return pulumix.Output[LookupSslPolicyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupSslPolicyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupSslPolicyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getStoragePool.go b/sdk/go/google/compute/alpha/getStoragePool.go index 745f99cf04..3013ecc2ac 100644 --- a/sdk/go/google/compute/alpha/getStoragePool.go +++ b/sdk/go/google/compute/alpha/getStoragePool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified storage pool. Gets a list of available storage pools by making a list() request. @@ -96,6 +97,12 @@ func (o LookupStoragePoolResultOutput) ToLookupStoragePoolResultOutputWithContex return o } +func (o LookupStoragePoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupStoragePoolResult] { + return pulumix.Output[LookupStoragePoolResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupStoragePoolResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupStoragePoolResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getStoragePoolIamPolicy.go b/sdk/go/google/compute/alpha/getStoragePoolIamPolicy.go index d426df3c5a..d05e6b31bb 100644 --- a/sdk/go/google/compute/alpha/getStoragePoolIamPolicy.go +++ b/sdk/go/google/compute/alpha/getStoragePoolIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupStoragePoolIamPolicyResultOutput) ToLookupStoragePoolIamPolicyResu return o } +func (o LookupStoragePoolIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupStoragePoolIamPolicyResult] { + return pulumix.Output[LookupStoragePoolIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupStoragePoolIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupStoragePoolIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getSubnetwork.go b/sdk/go/google/compute/alpha/getSubnetwork.go index e242e95de7..c35636dd61 100644 --- a/sdk/go/google/compute/alpha/getSubnetwork.go +++ b/sdk/go/google/compute/alpha/getSubnetwork.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified subnetwork. @@ -134,6 +135,12 @@ func (o LookupSubnetworkResultOutput) ToLookupSubnetworkResultOutputWithContext( return o } +func (o LookupSubnetworkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubnetworkResult] { + return pulumix.Output[LookupSubnetworkResult]{ + OutputState: o.OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Sets the aggregation interval for collecting flow logs. Increasing the interval time reduces the amount of generated flow logs for long-lasting connections. Default is an interval of 5 seconds per connection. Valid values: INTERVAL_5_SEC, INTERVAL_30_SEC, INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN. func (o LookupSubnetworkResultOutput) AggregationInterval() pulumi.StringOutput { return o.ApplyT(func(v LookupSubnetworkResult) string { return v.AggregationInterval }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getSubnetworkIamPolicy.go b/sdk/go/google/compute/alpha/getSubnetworkIamPolicy.go index 5aac74219e..0fe6f220ec 100644 --- a/sdk/go/google/compute/alpha/getSubnetworkIamPolicy.go +++ b/sdk/go/google/compute/alpha/getSubnetworkIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupSubnetworkIamPolicyResultOutput) ToLookupSubnetworkIamPolicyResult return o } +func (o LookupSubnetworkIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubnetworkIamPolicyResult] { + return pulumix.Output[LookupSubnetworkIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupSubnetworkIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupSubnetworkIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/getTargetGrpcProxy.go b/sdk/go/google/compute/alpha/getTargetGrpcProxy.go index de16e8a9e0..f794fbdc9a 100644 --- a/sdk/go/google/compute/alpha/getTargetGrpcProxy.go +++ b/sdk/go/google/compute/alpha/getTargetGrpcProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetGrpcProxy resource in the given scope. @@ -84,6 +85,12 @@ func (o LookupTargetGrpcProxyResultOutput) ToLookupTargetGrpcProxyResultOutputWi return o } +func (o LookupTargetGrpcProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetGrpcProxyResult] { + return pulumix.Output[LookupTargetGrpcProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetGrpcProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetGrpcProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getTargetHttpProxy.go b/sdk/go/google/compute/alpha/getTargetHttpProxy.go index 0003b2a3ee..090a0721e9 100644 --- a/sdk/go/google/compute/alpha/getTargetHttpProxy.go +++ b/sdk/go/google/compute/alpha/getTargetHttpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpProxy resource. @@ -90,6 +91,12 @@ func (o LookupTargetHttpProxyResultOutput) ToLookupTargetHttpProxyResultOutputWi return o } +func (o LookupTargetHttpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetHttpProxyResult] { + return pulumix.Output[LookupTargetHttpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetHttpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetHttpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getTargetHttpsProxy.go b/sdk/go/google/compute/alpha/getTargetHttpsProxy.go index 87dd21af6f..ce188bae42 100644 --- a/sdk/go/google/compute/alpha/getTargetHttpsProxy.go +++ b/sdk/go/google/compute/alpha/getTargetHttpsProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpsProxy resource. @@ -110,6 +111,12 @@ func (o LookupTargetHttpsProxyResultOutput) ToLookupTargetHttpsProxyResultOutput return o } +func (o LookupTargetHttpsProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetHttpsProxyResult] { + return pulumix.Output[LookupTargetHttpsProxyResult]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use serverTlsPolicy instead. // // Deprecated: [Deprecated] Use serverTlsPolicy instead. diff --git a/sdk/go/google/compute/alpha/getTargetInstance.go b/sdk/go/google/compute/alpha/getTargetInstance.go index 884f1a314f..3e2d5a06f9 100644 --- a/sdk/go/google/compute/alpha/getTargetInstance.go +++ b/sdk/go/google/compute/alpha/getTargetInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetInstance resource. @@ -90,6 +91,12 @@ func (o LookupTargetInstanceResultOutput) ToLookupTargetInstanceResultOutputWith return o } +func (o LookupTargetInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetInstanceResult] { + return pulumix.Output[LookupTargetInstanceResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetInstanceResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetInstanceResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getTargetPool.go b/sdk/go/google/compute/alpha/getTargetPool.go index d3d9115c3b..23c1b4b97b 100644 --- a/sdk/go/google/compute/alpha/getTargetPool.go +++ b/sdk/go/google/compute/alpha/getTargetPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified target pool. @@ -94,6 +95,12 @@ func (o LookupTargetPoolResultOutput) ToLookupTargetPoolResultOutputWithContext( return o } +func (o LookupTargetPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetPoolResult] { + return pulumix.Output[LookupTargetPoolResult]{ + OutputState: o.OutputState, + } +} + // The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. func (o LookupTargetPoolResultOutput) BackupPool() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetPoolResult) string { return v.BackupPool }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getTargetSslProxy.go b/sdk/go/google/compute/alpha/getTargetSslProxy.go index 9fc1e6992f..686946a06b 100644 --- a/sdk/go/google/compute/alpha/getTargetSslProxy.go +++ b/sdk/go/google/compute/alpha/getTargetSslProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetSslProxy resource. @@ -86,6 +87,12 @@ func (o LookupTargetSslProxyResultOutput) ToLookupTargetSslProxyResultOutputWith return o } +func (o LookupTargetSslProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetSslProxyResult] { + return pulumix.Output[LookupTargetSslProxyResult]{ + OutputState: o.OutputState, + } +} + // URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. func (o LookupTargetSslProxyResultOutput) CertificateMap() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetSslProxyResult) string { return v.CertificateMap }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getTargetTcpProxy.go b/sdk/go/google/compute/alpha/getTargetTcpProxy.go index 2fb54cdf32..22cda2983e 100644 --- a/sdk/go/google/compute/alpha/getTargetTcpProxy.go +++ b/sdk/go/google/compute/alpha/getTargetTcpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetTcpProxy resource. @@ -84,6 +85,12 @@ func (o LookupTargetTcpProxyResultOutput) ToLookupTargetTcpProxyResultOutputWith return o } +func (o LookupTargetTcpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetTcpProxyResult] { + return pulumix.Output[LookupTargetTcpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetTcpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetTcpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getTargetVpnGateway.go b/sdk/go/google/compute/alpha/getTargetVpnGateway.go index a424ed409c..f8a73383f6 100644 --- a/sdk/go/google/compute/alpha/getTargetVpnGateway.go +++ b/sdk/go/google/compute/alpha/getTargetVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified target VPN gateway. @@ -92,6 +93,12 @@ func (o LookupTargetVpnGatewayResultOutput) ToLookupTargetVpnGatewayResultOutput return o } +func (o LookupTargetVpnGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetVpnGatewayResult] { + return pulumix.Output[LookupTargetVpnGatewayResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetVpnGatewayResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetVpnGatewayResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getUrlMap.go b/sdk/go/google/compute/alpha/getUrlMap.go index 17db9681d2..ca8c985df0 100644 --- a/sdk/go/google/compute/alpha/getUrlMap.go +++ b/sdk/go/google/compute/alpha/getUrlMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified UrlMap resource. @@ -96,6 +97,12 @@ func (o LookupUrlMapResultOutput) ToLookupUrlMapResultOutputWithContext(ctx cont return o } +func (o LookupUrlMapResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUrlMapResult] { + return pulumix.Output[LookupUrlMapResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupUrlMapResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupUrlMapResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getVpnGateway.go b/sdk/go/google/compute/alpha/getVpnGateway.go index 97ecd51d3d..450c4918a1 100644 --- a/sdk/go/google/compute/alpha/getVpnGateway.go +++ b/sdk/go/google/compute/alpha/getVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified VPN gateway. @@ -92,6 +93,12 @@ func (o LookupVpnGatewayResultOutput) ToLookupVpnGatewayResultOutputWithContext( return o } +func (o LookupVpnGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVpnGatewayResult] { + return pulumix.Output[LookupVpnGatewayResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupVpnGatewayResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupVpnGatewayResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getVpnTunnel.go b/sdk/go/google/compute/alpha/getVpnTunnel.go index 02e401b10a..ef4ed6bf50 100644 --- a/sdk/go/google/compute/alpha/getVpnTunnel.go +++ b/sdk/go/google/compute/alpha/getVpnTunnel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified VpnTunnel resource. @@ -114,6 +115,12 @@ func (o LookupVpnTunnelResultOutput) ToLookupVpnTunnelResultOutputWithContext(ct return o } +func (o LookupVpnTunnelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVpnTunnelResult] { + return pulumix.Output[LookupVpnTunnelResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupVpnTunnelResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupVpnTunnelResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/getZoneQueuedResource.go b/sdk/go/google/compute/alpha/getZoneQueuedResource.go index c89564a306..9bf674f2f8 100644 --- a/sdk/go/google/compute/alpha/getZoneQueuedResource.go +++ b/sdk/go/google/compute/alpha/getZoneQueuedResource.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified QueuedResource resource. @@ -90,6 +91,12 @@ func (o LookupZoneQueuedResourceResultOutput) ToLookupZoneQueuedResourceResultOu return o } +func (o LookupZoneQueuedResourceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupZoneQueuedResourceResult] { + return pulumix.Output[LookupZoneQueuedResourceResult]{ + OutputState: o.OutputState, + } +} + // Specification of VM instances to create. func (o LookupZoneQueuedResourceResultOutput) BulkInsertInstanceResource() BulkInsertInstanceResourceResponseOutput { return o.ApplyT(func(v LookupZoneQueuedResourceResult) BulkInsertInstanceResourceResponse { diff --git a/sdk/go/google/compute/alpha/globalAddress.go b/sdk/go/google/compute/alpha/globalAddress.go index f06cc9ab9e..de5607758e 100644 --- a/sdk/go/google/compute/alpha/globalAddress.go +++ b/sdk/go/google/compute/alpha/globalAddress.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an address resource in the specified project by using the data included in the request. @@ -187,6 +188,12 @@ func (i *GlobalAddress) ToGlobalAddressOutputWithContext(ctx context.Context) Gl return pulumi.ToOutputWithContext(ctx, i).(GlobalAddressOutput) } +func (i *GlobalAddress) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddress] { + return pulumix.Output[*GlobalAddress]{ + OutputState: i.ToGlobalAddressOutputWithContext(ctx).OutputState, + } +} + type GlobalAddressOutput struct{ *pulumi.OutputState } func (GlobalAddressOutput) ElementType() reflect.Type { @@ -201,6 +208,12 @@ func (o GlobalAddressOutput) ToGlobalAddressOutputWithContext(ctx context.Contex return o } +func (o GlobalAddressOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddress] { + return pulumix.Output[*GlobalAddress]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o GlobalAddressOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *GlobalAddress) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/globalForwardingRule.go b/sdk/go/google/compute/alpha/globalForwardingRule.go index 50df2d57fb..1dfd604443 100644 --- a/sdk/go/google/compute/alpha/globalForwardingRule.go +++ b/sdk/go/google/compute/alpha/globalForwardingRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a GlobalForwardingRule resource in the specified project using the data included in the request. @@ -260,6 +261,12 @@ func (i *GlobalForwardingRule) ToGlobalForwardingRuleOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GlobalForwardingRuleOutput) } +func (i *GlobalForwardingRule) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRule] { + return pulumix.Output[*GlobalForwardingRule]{ + OutputState: i.ToGlobalForwardingRuleOutputWithContext(ctx).OutputState, + } +} + type GlobalForwardingRuleOutput struct{ *pulumi.OutputState } func (GlobalForwardingRuleOutput) ElementType() reflect.Type { @@ -274,6 +281,12 @@ func (o GlobalForwardingRuleOutput) ToGlobalForwardingRuleOutputWithContext(ctx return o } +func (o GlobalForwardingRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRule] { + return pulumix.Output[*GlobalForwardingRule]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o GlobalForwardingRuleOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v *GlobalForwardingRule) pulumi.BoolOutput { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/globalNetworkEndpointGroup.go b/sdk/go/google/compute/alpha/globalNetworkEndpointGroup.go index 0454fb5869..b83c66eae4 100644 --- a/sdk/go/google/compute/alpha/globalNetworkEndpointGroup.go +++ b/sdk/go/google/compute/alpha/globalNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network endpoint group in the specified project using the parameters that are included in the request. @@ -206,6 +207,12 @@ func (i *GlobalNetworkEndpointGroup) ToGlobalNetworkEndpointGroupOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(GlobalNetworkEndpointGroupOutput) } +func (i *GlobalNetworkEndpointGroup) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroup] { + return pulumix.Output[*GlobalNetworkEndpointGroup]{ + OutputState: i.ToGlobalNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + type GlobalNetworkEndpointGroupOutput struct{ *pulumi.OutputState } func (GlobalNetworkEndpointGroupOutput) ElementType() reflect.Type { @@ -220,6 +227,12 @@ func (o GlobalNetworkEndpointGroupOutput) ToGlobalNetworkEndpointGroupOutputWith return o } +func (o GlobalNetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroup] { + return pulumix.Output[*GlobalNetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o GlobalNetworkEndpointGroupOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *GlobalNetworkEndpointGroup) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/alpha/globalPublicDelegatedPrefix.go b/sdk/go/google/compute/alpha/globalPublicDelegatedPrefix.go index 991c98e6bd..9931743b87 100644 --- a/sdk/go/google/compute/alpha/globalPublicDelegatedPrefix.go +++ b/sdk/go/google/compute/alpha/globalPublicDelegatedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request. @@ -149,6 +150,12 @@ func (i *GlobalPublicDelegatedPrefix) ToGlobalPublicDelegatedPrefixOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(GlobalPublicDelegatedPrefixOutput) } +func (i *GlobalPublicDelegatedPrefix) ToOutput(ctx context.Context) pulumix.Output[*GlobalPublicDelegatedPrefix] { + return pulumix.Output[*GlobalPublicDelegatedPrefix]{ + OutputState: i.ToGlobalPublicDelegatedPrefixOutputWithContext(ctx).OutputState, + } +} + type GlobalPublicDelegatedPrefixOutput struct{ *pulumi.OutputState } func (GlobalPublicDelegatedPrefixOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o GlobalPublicDelegatedPrefixOutput) ToGlobalPublicDelegatedPrefixOutputWi return o } +func (o GlobalPublicDelegatedPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalPublicDelegatedPrefix] { + return pulumix.Output[*GlobalPublicDelegatedPrefix]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o GlobalPublicDelegatedPrefixOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *GlobalPublicDelegatedPrefix) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/healthCheck.go b/sdk/go/google/compute/alpha/healthCheck.go index 8cd5dacecf..b04027b3cf 100644 --- a/sdk/go/google/compute/alpha/healthCheck.go +++ b/sdk/go/google/compute/alpha/healthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HealthCheck resource in the specified project using the data included in the request. @@ -188,6 +189,12 @@ func (i *HealthCheck) ToHealthCheckOutputWithContext(ctx context.Context) Health return pulumi.ToOutputWithContext(ctx, i).(HealthCheckOutput) } +func (i *HealthCheck) ToOutput(ctx context.Context) pulumix.Output[*HealthCheck] { + return pulumix.Output[*HealthCheck]{ + OutputState: i.ToHealthCheckOutputWithContext(ctx).OutputState, + } +} + type HealthCheckOutput struct{ *pulumi.OutputState } func (HealthCheckOutput) ElementType() reflect.Type { @@ -202,6 +209,12 @@ func (o HealthCheckOutput) ToHealthCheckOutputWithContext(ctx context.Context) H return o } +func (o HealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheck] { + return pulumix.Output[*HealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o HealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *HealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/httpHealthCheck.go b/sdk/go/google/compute/alpha/httpHealthCheck.go index 77244ac994..38d4c29453 100644 --- a/sdk/go/google/compute/alpha/httpHealthCheck.go +++ b/sdk/go/google/compute/alpha/httpHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HttpHealthCheck resource in the specified project using the data included in the request. @@ -161,6 +162,12 @@ func (i *HttpHealthCheck) ToHttpHealthCheckOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(HttpHealthCheckOutput) } +func (i *HttpHealthCheck) ToOutput(ctx context.Context) pulumix.Output[*HttpHealthCheck] { + return pulumix.Output[*HttpHealthCheck]{ + OutputState: i.ToHttpHealthCheckOutputWithContext(ctx).OutputState, + } +} + type HttpHealthCheckOutput struct{ *pulumi.OutputState } func (HttpHealthCheckOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o HttpHealthCheckOutput) ToHttpHealthCheckOutputWithContext(ctx context.Co return o } +func (o HttpHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpHealthCheck] { + return pulumix.Output[*HttpHealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o HttpHealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *HttpHealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/httpsHealthCheck.go b/sdk/go/google/compute/alpha/httpsHealthCheck.go index 867cd85a67..ae0469fde8 100644 --- a/sdk/go/google/compute/alpha/httpsHealthCheck.go +++ b/sdk/go/google/compute/alpha/httpsHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HttpsHealthCheck resource in the specified project using the data included in the request. @@ -165,6 +166,12 @@ func (i *HttpsHealthCheck) ToHttpsHealthCheckOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(HttpsHealthCheckOutput) } +func (i *HttpsHealthCheck) ToOutput(ctx context.Context) pulumix.Output[*HttpsHealthCheck] { + return pulumix.Output[*HttpsHealthCheck]{ + OutputState: i.ToHttpsHealthCheckOutputWithContext(ctx).OutputState, + } +} + type HttpsHealthCheckOutput struct{ *pulumi.OutputState } func (HttpsHealthCheckOutput) ElementType() reflect.Type { @@ -179,6 +186,12 @@ func (o HttpsHealthCheckOutput) ToHttpsHealthCheckOutputWithContext(ctx context. return o } +func (o HttpsHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpsHealthCheck] { + return pulumix.Output[*HttpsHealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o HttpsHealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *HttpsHealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/image.go b/sdk/go/google/compute/alpha/image.go index 8f0be7bc61..1294e26634 100644 --- a/sdk/go/google/compute/alpha/image.go +++ b/sdk/go/google/compute/alpha/image.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an image in the specified project using the data included in the request. @@ -275,6 +276,12 @@ func (i *Image) ToImageOutputWithContext(ctx context.Context) ImageOutput { return pulumi.ToOutputWithContext(ctx, i).(ImageOutput) } +func (i *Image) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: i.ToImageOutputWithContext(ctx).OutputState, + } +} + type ImageOutput struct{ *pulumi.OutputState } func (ImageOutput) ElementType() reflect.Type { @@ -289,6 +296,12 @@ func (o ImageOutput) ToImageOutputWithContext(ctx context.Context) ImageOutput { return o } +func (o ImageOutput) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: o.OutputState, + } +} + // The architecture of the image. Valid values are ARM64 or X86_64. func (o ImageOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/imageIamBinding.go b/sdk/go/google/compute/alpha/imageIamBinding.go index bdd6f1f829..3244759cec 100644 --- a/sdk/go/google/compute/alpha/imageIamBinding.go +++ b/sdk/go/google/compute/alpha/imageIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ImageIamBinding) ToImageIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ImageIamBindingOutput) } +func (i *ImageIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ImageIamBinding] { + return pulumix.Output[*ImageIamBinding]{ + OutputState: i.ToImageIamBindingOutputWithContext(ctx).OutputState, + } +} + type ImageIamBindingOutput struct{ *pulumi.OutputState } func (ImageIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ImageIamBindingOutput) ToImageIamBindingOutputWithContext(ctx context.Co return o } +func (o ImageIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageIamBinding] { + return pulumix.Output[*ImageIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ImageIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ImageIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/imageIamMember.go b/sdk/go/google/compute/alpha/imageIamMember.go index e710e37b07..ba591dff2a 100644 --- a/sdk/go/google/compute/alpha/imageIamMember.go +++ b/sdk/go/google/compute/alpha/imageIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ImageIamMember) ToImageIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImageIamMemberOutput) } +func (i *ImageIamMember) ToOutput(ctx context.Context) pulumix.Output[*ImageIamMember] { + return pulumix.Output[*ImageIamMember]{ + OutputState: i.ToImageIamMemberOutputWithContext(ctx).OutputState, + } +} + type ImageIamMemberOutput struct{ *pulumi.OutputState } func (ImageIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ImageIamMemberOutput) ToImageIamMemberOutputWithContext(ctx context.Cont return o } +func (o ImageIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageIamMember] { + return pulumix.Output[*ImageIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ImageIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ImageIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/imageIamPolicy.go b/sdk/go/google/compute/alpha/imageIamPolicy.go index 3c63ac5385..de1ee03144 100644 --- a/sdk/go/google/compute/alpha/imageIamPolicy.go +++ b/sdk/go/google/compute/alpha/imageIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *ImageIamPolicy) ToImageIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImageIamPolicyOutput) } +func (i *ImageIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ImageIamPolicy] { + return pulumix.Output[*ImageIamPolicy]{ + OutputState: i.ToImageIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ImageIamPolicyOutput struct{ *pulumi.OutputState } func (ImageIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o ImageIamPolicyOutput) ToImageIamPolicyOutputWithContext(ctx context.Cont return o } +func (o ImageIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageIamPolicy] { + return pulumix.Output[*ImageIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ImageIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ImageIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/instance.go b/sdk/go/google/compute/alpha/instance.go index 409200609a..b952bc77a1 100644 --- a/sdk/go/google/compute/alpha/instance.go +++ b/sdk/go/google/compute/alpha/instance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance resource in the specified project using the data included in the request. @@ -345,6 +346,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -359,6 +366,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. func (o InstanceOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesResponseOutput { return o.ApplyT(func(v *Instance) AdvancedMachineFeaturesResponseOutput { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesResponseOutput) diff --git a/sdk/go/google/compute/alpha/instanceGroup.go b/sdk/go/google/compute/alpha/instanceGroup.go index b68613e405..39ad6ea09e 100644 --- a/sdk/go/google/compute/alpha/instanceGroup.go +++ b/sdk/go/google/compute/alpha/instanceGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance group in the specified project using the parameters that are included in the request. @@ -139,6 +140,12 @@ func (i *InstanceGroup) ToInstanceGroupOutputWithContext(ctx context.Context) In return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupOutput) } +func (i *InstanceGroup) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroup] { + return pulumix.Output[*InstanceGroup]{ + OutputState: i.ToInstanceGroupOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupOutput struct{ *pulumi.OutputState } func (InstanceGroupOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o InstanceGroupOutput) ToInstanceGroupOutputWithContext(ctx context.Contex return o } +func (o InstanceGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroup] { + return pulumix.Output[*InstanceGroup]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance group in RFC3339 text format. func (o InstanceGroupOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *InstanceGroup) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/instanceGroupManager.go b/sdk/go/google/compute/alpha/instanceGroupManager.go index 6c5bdcca0b..f020ba3735 100644 --- a/sdk/go/google/compute/alpha/instanceGroupManager.go +++ b/sdk/go/google/compute/alpha/instanceGroupManager.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit. @@ -253,6 +254,12 @@ func (i *InstanceGroupManager) ToInstanceGroupManagerOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerOutput) } +func (i *InstanceGroupManager) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManager] { + return pulumix.Output[*InstanceGroupManager]{ + OutputState: i.ToInstanceGroupManagerOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerOutput) ElementType() reflect.Type { @@ -267,6 +274,12 @@ func (o InstanceGroupManagerOutput) ToInstanceGroupManagerOutputWithContext(ctx return o } +func (o InstanceGroupManagerOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManager] { + return pulumix.Output[*InstanceGroupManager]{ + OutputState: o.OutputState, + } +} + // Specifies configuration that overrides the instance template configuration for the group. func (o InstanceGroupManagerOutput) AllInstancesConfig() InstanceGroupManagerAllInstancesConfigResponseOutput { return o.ApplyT(func(v *InstanceGroupManager) InstanceGroupManagerAllInstancesConfigResponseOutput { diff --git a/sdk/go/google/compute/alpha/instanceGroupManagerResizeRequest.go b/sdk/go/google/compute/alpha/instanceGroupManagerResizeRequest.go index 0b3144a649..3215f7f877 100644 --- a/sdk/go/google/compute/alpha/instanceGroupManagerResizeRequest.go +++ b/sdk/go/google/compute/alpha/instanceGroupManagerResizeRequest.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new resize request that starts provisioning VMs immediately or queues VM creation. @@ -147,6 +148,12 @@ func (i *InstanceGroupManagerResizeRequest) ToInstanceGroupManagerResizeRequestO return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerResizeRequestOutput) } +func (i *InstanceGroupManagerResizeRequest) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerResizeRequest] { + return pulumix.Output[*InstanceGroupManagerResizeRequest]{ + OutputState: i.ToInstanceGroupManagerResizeRequestOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerResizeRequestOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerResizeRequestOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o InstanceGroupManagerResizeRequestOutput) ToInstanceGroupManagerResizeReq return o } +func (o InstanceGroupManagerResizeRequestOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerResizeRequest] { + return pulumix.Output[*InstanceGroupManagerResizeRequest]{ + OutputState: o.OutputState, + } +} + // The count of instances to create as part of this resize request. func (o InstanceGroupManagerResizeRequestOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v *InstanceGroupManagerResizeRequest) pulumi.IntOutput { return v.Count }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/instanceIamBinding.go b/sdk/go/google/compute/alpha/instanceIamBinding.go index 8e35661dfe..16695dd14c 100644 --- a/sdk/go/google/compute/alpha/instanceIamBinding.go +++ b/sdk/go/google/compute/alpha/instanceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceIamBindingOutput) } +func (i *InstanceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: i.ToInstanceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx cont return o } +func (o InstanceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/instanceIamMember.go b/sdk/go/google/compute/alpha/instanceIamMember.go index 156dff8660..f08b4749fd 100644 --- a/sdk/go/google/compute/alpha/instanceIamMember.go +++ b/sdk/go/google/compute/alpha/instanceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamMemberOutput) } +func (i *InstanceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: i.ToInstanceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx contex return o } +func (o InstanceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/instanceIamPolicy.go b/sdk/go/google/compute/alpha/instanceIamPolicy.go index 1e2841e2ab..2346146850 100644 --- a/sdk/go/google/compute/alpha/instanceIamPolicy.go +++ b/sdk/go/google/compute/alpha/instanceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamPolicyOutput) } +func (i *InstanceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: i.ToInstanceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx contex return o } +func (o InstanceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/instanceTemplate.go b/sdk/go/google/compute/alpha/instanceTemplate.go index 9923bdbd09..481b28f31d 100644 --- a/sdk/go/google/compute/alpha/instanceTemplate.go +++ b/sdk/go/google/compute/alpha/instanceTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. @@ -139,6 +140,12 @@ func (i *InstanceTemplate) ToInstanceTemplateOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateOutput) } +func (i *InstanceTemplate) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplate] { + return pulumix.Output[*InstanceTemplate]{ + OutputState: i.ToInstanceTemplateOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateOutput struct{ *pulumi.OutputState } func (InstanceTemplateOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o InstanceTemplateOutput) ToInstanceTemplateOutputWithContext(ctx context. return o } +func (o InstanceTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplate] { + return pulumix.Output[*InstanceTemplate]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o InstanceTemplateOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *InstanceTemplate) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/instanceTemplateIamBinding.go b/sdk/go/google/compute/alpha/instanceTemplateIamBinding.go index 4247f3b277..1e5b4b274c 100644 --- a/sdk/go/google/compute/alpha/instanceTemplateIamBinding.go +++ b/sdk/go/google/compute/alpha/instanceTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceTemplateIamBinding) ToInstanceTemplateIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateIamBindingOutput) } +func (i *InstanceTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamBinding] { + return pulumix.Output[*InstanceTemplateIamBinding]{ + OutputState: i.ToInstanceTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateIamBindingOutput struct{ *pulumi.OutputState } func (InstanceTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceTemplateIamBindingOutput) ToInstanceTemplateIamBindingOutputWith return o } +func (o InstanceTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamBinding] { + return pulumix.Output[*InstanceTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/instanceTemplateIamMember.go b/sdk/go/google/compute/alpha/instanceTemplateIamMember.go index 36dcd9672b..338a721a1a 100644 --- a/sdk/go/google/compute/alpha/instanceTemplateIamMember.go +++ b/sdk/go/google/compute/alpha/instanceTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceTemplateIamMember) ToInstanceTemplateIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateIamMemberOutput) } +func (i *InstanceTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamMember] { + return pulumix.Output[*InstanceTemplateIamMember]{ + OutputState: i.ToInstanceTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateIamMemberOutput struct{ *pulumi.OutputState } func (InstanceTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceTemplateIamMemberOutput) ToInstanceTemplateIamMemberOutputWithCo return o } +func (o InstanceTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamMember] { + return pulumix.Output[*InstanceTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/instanceTemplateIamPolicy.go b/sdk/go/google/compute/alpha/instanceTemplateIamPolicy.go index f314157386..bd398b8336 100644 --- a/sdk/go/google/compute/alpha/instanceTemplateIamPolicy.go +++ b/sdk/go/google/compute/alpha/instanceTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *InstanceTemplateIamPolicy) ToInstanceTemplateIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateIamPolicyOutput) } +func (i *InstanceTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamPolicy] { + return pulumix.Output[*InstanceTemplateIamPolicy]{ + OutputState: i.ToInstanceTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o InstanceTemplateIamPolicyOutput) ToInstanceTemplateIamPolicyOutputWithCo return o } +func (o InstanceTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamPolicy] { + return pulumix.Output[*InstanceTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceTemplateIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceTemplateIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/instantSnapshot.go b/sdk/go/google/compute/alpha/instantSnapshot.go index 80fe1513de..f919e0764e 100644 --- a/sdk/go/google/compute/alpha/instantSnapshot.go +++ b/sdk/go/google/compute/alpha/instantSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instant snapshot in the specified zone. @@ -157,6 +158,12 @@ func (i *InstantSnapshot) ToInstantSnapshotOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(InstantSnapshotOutput) } +func (i *InstantSnapshot) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshot] { + return pulumix.Output[*InstantSnapshot]{ + OutputState: i.ToInstantSnapshotOutputWithContext(ctx).OutputState, + } +} + type InstantSnapshotOutput struct{ *pulumi.OutputState } func (InstantSnapshotOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o InstantSnapshotOutput) ToInstantSnapshotOutputWithContext(ctx context.Co return o } +func (o InstantSnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshot] { + return pulumix.Output[*InstantSnapshot]{ + OutputState: o.OutputState, + } +} + // The architecture of the instant snapshot. Valid values are ARM64 or X86_64. func (o InstantSnapshotOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *InstantSnapshot) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/instantSnapshotIamBinding.go b/sdk/go/google/compute/alpha/instantSnapshotIamBinding.go index caa96742d4..76bd7b0d24 100644 --- a/sdk/go/google/compute/alpha/instantSnapshotIamBinding.go +++ b/sdk/go/google/compute/alpha/instantSnapshotIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstantSnapshotIamBinding) ToInstantSnapshotIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(InstantSnapshotIamBindingOutput) } +func (i *InstantSnapshotIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamBinding] { + return pulumix.Output[*InstantSnapshotIamBinding]{ + OutputState: i.ToInstantSnapshotIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstantSnapshotIamBindingOutput struct{ *pulumi.OutputState } func (InstantSnapshotIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstantSnapshotIamBindingOutput) ToInstantSnapshotIamBindingOutputWithCo return o } +func (o InstantSnapshotIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamBinding] { + return pulumix.Output[*InstantSnapshotIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstantSnapshotIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstantSnapshotIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/instantSnapshotIamMember.go b/sdk/go/google/compute/alpha/instantSnapshotIamMember.go index 3678b43a64..7c03320496 100644 --- a/sdk/go/google/compute/alpha/instantSnapshotIamMember.go +++ b/sdk/go/google/compute/alpha/instantSnapshotIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstantSnapshotIamMember) ToInstantSnapshotIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(InstantSnapshotIamMemberOutput) } +func (i *InstantSnapshotIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamMember] { + return pulumix.Output[*InstantSnapshotIamMember]{ + OutputState: i.ToInstantSnapshotIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstantSnapshotIamMemberOutput struct{ *pulumi.OutputState } func (InstantSnapshotIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstantSnapshotIamMemberOutput) ToInstantSnapshotIamMemberOutputWithCont return o } +func (o InstantSnapshotIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamMember] { + return pulumix.Output[*InstantSnapshotIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstantSnapshotIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstantSnapshotIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/instantSnapshotIamPolicy.go b/sdk/go/google/compute/alpha/instantSnapshotIamPolicy.go index 5b7aee639f..c922b20b37 100644 --- a/sdk/go/google/compute/alpha/instantSnapshotIamPolicy.go +++ b/sdk/go/google/compute/alpha/instantSnapshotIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *InstantSnapshotIamPolicy) ToInstantSnapshotIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(InstantSnapshotIamPolicyOutput) } +func (i *InstantSnapshotIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamPolicy] { + return pulumix.Output[*InstantSnapshotIamPolicy]{ + OutputState: i.ToInstantSnapshotIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstantSnapshotIamPolicyOutput struct{ *pulumi.OutputState } func (InstantSnapshotIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o InstantSnapshotIamPolicyOutput) ToInstantSnapshotIamPolicyOutputWithCont return o } +func (o InstantSnapshotIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamPolicy] { + return pulumix.Output[*InstantSnapshotIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstantSnapshotIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstantSnapshotIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/interconnect.go b/sdk/go/google/compute/alpha/interconnect.go index 84bb612dcd..0874978fa8 100644 --- a/sdk/go/google/compute/alpha/interconnect.go +++ b/sdk/go/google/compute/alpha/interconnect.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Interconnect in the specified project using the data included in the request. @@ -215,6 +216,12 @@ func (i *Interconnect) ToInterconnectOutputWithContext(ctx context.Context) Inte return pulumi.ToOutputWithContext(ctx, i).(InterconnectOutput) } +func (i *Interconnect) ToOutput(ctx context.Context) pulumix.Output[*Interconnect] { + return pulumix.Output[*Interconnect]{ + OutputState: i.ToInterconnectOutputWithContext(ctx).OutputState, + } +} + type InterconnectOutput struct{ *pulumi.OutputState } func (InterconnectOutput) ElementType() reflect.Type { @@ -229,6 +236,12 @@ func (o InterconnectOutput) ToInterconnectOutputWithContext(ctx context.Context) return o } +func (o InterconnectOutput) ToOutput(ctx context.Context) pulumix.Output[*Interconnect] { + return pulumix.Output[*Interconnect]{ + OutputState: o.OutputState, + } +} + // Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. func (o InterconnectOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *Interconnect) pulumi.BoolOutput { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/interconnectAttachment.go b/sdk/go/google/compute/alpha/interconnectAttachment.go index c9403cc76a..c010d0c64a 100644 --- a/sdk/go/google/compute/alpha/interconnectAttachment.go +++ b/sdk/go/google/compute/alpha/interconnectAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an InterconnectAttachment in the specified project using the data included in the request. @@ -275,6 +276,12 @@ func (i *InterconnectAttachment) ToInterconnectAttachmentOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentOutput) } +func (i *InterconnectAttachment) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachment] { + return pulumix.Output[*InterconnectAttachment]{ + OutputState: i.ToInterconnectAttachmentOutputWithContext(ctx).OutputState, + } +} + type InterconnectAttachmentOutput struct{ *pulumi.OutputState } func (InterconnectAttachmentOutput) ElementType() reflect.Type { @@ -289,6 +296,12 @@ func (o InterconnectAttachmentOutput) ToInterconnectAttachmentOutputWithContext( return o } +func (o InterconnectAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachment] { + return pulumix.Output[*InterconnectAttachment]{ + OutputState: o.OutputState, + } +} + // Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. func (o InterconnectAttachmentOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *InterconnectAttachment) pulumi.BoolOutput { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/interconnectAttachmentIamBinding.go b/sdk/go/google/compute/alpha/interconnectAttachmentIamBinding.go index 6e6b81e4b8..2bf93592e2 100644 --- a/sdk/go/google/compute/alpha/interconnectAttachmentIamBinding.go +++ b/sdk/go/google/compute/alpha/interconnectAttachmentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InterconnectAttachmentIamBinding) ToInterconnectAttachmentIamBindingOut return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentIamBindingOutput) } +func (i *InterconnectAttachmentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentIamBinding] { + return pulumix.Output[*InterconnectAttachmentIamBinding]{ + OutputState: i.ToInterconnectAttachmentIamBindingOutputWithContext(ctx).OutputState, + } +} + type InterconnectAttachmentIamBindingOutput struct{ *pulumi.OutputState } func (InterconnectAttachmentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InterconnectAttachmentIamBindingOutput) ToInterconnectAttachmentIamBindi return o } +func (o InterconnectAttachmentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentIamBinding] { + return pulumix.Output[*InterconnectAttachmentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InterconnectAttachmentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InterconnectAttachmentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/interconnectAttachmentIamMember.go b/sdk/go/google/compute/alpha/interconnectAttachmentIamMember.go index 973f30c08b..be452e137d 100644 --- a/sdk/go/google/compute/alpha/interconnectAttachmentIamMember.go +++ b/sdk/go/google/compute/alpha/interconnectAttachmentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InterconnectAttachmentIamMember) ToInterconnectAttachmentIamMemberOutpu return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentIamMemberOutput) } +func (i *InterconnectAttachmentIamMember) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentIamMember] { + return pulumix.Output[*InterconnectAttachmentIamMember]{ + OutputState: i.ToInterconnectAttachmentIamMemberOutputWithContext(ctx).OutputState, + } +} + type InterconnectAttachmentIamMemberOutput struct{ *pulumi.OutputState } func (InterconnectAttachmentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InterconnectAttachmentIamMemberOutput) ToInterconnectAttachmentIamMember return o } +func (o InterconnectAttachmentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentIamMember] { + return pulumix.Output[*InterconnectAttachmentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InterconnectAttachmentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InterconnectAttachmentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/interconnectAttachmentIamPolicy.go b/sdk/go/google/compute/alpha/interconnectAttachmentIamPolicy.go index 72930c6a1b..b3f9af06fe 100644 --- a/sdk/go/google/compute/alpha/interconnectAttachmentIamPolicy.go +++ b/sdk/go/google/compute/alpha/interconnectAttachmentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *InterconnectAttachmentIamPolicy) ToInterconnectAttachmentIamPolicyOutpu return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentIamPolicyOutput) } +func (i *InterconnectAttachmentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentIamPolicy] { + return pulumix.Output[*InterconnectAttachmentIamPolicy]{ + OutputState: i.ToInterconnectAttachmentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InterconnectAttachmentIamPolicyOutput struct{ *pulumi.OutputState } func (InterconnectAttachmentIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o InterconnectAttachmentIamPolicyOutput) ToInterconnectAttachmentIamPolicy return o } +func (o InterconnectAttachmentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentIamPolicy] { + return pulumix.Output[*InterconnectAttachmentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InterconnectAttachmentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InterconnectAttachmentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/interconnectIamBinding.go b/sdk/go/google/compute/alpha/interconnectIamBinding.go index 2616cf144f..b4f5572d93 100644 --- a/sdk/go/google/compute/alpha/interconnectIamBinding.go +++ b/sdk/go/google/compute/alpha/interconnectIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InterconnectIamBinding) ToInterconnectIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InterconnectIamBindingOutput) } +func (i *InterconnectIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InterconnectIamBinding] { + return pulumix.Output[*InterconnectIamBinding]{ + OutputState: i.ToInterconnectIamBindingOutputWithContext(ctx).OutputState, + } +} + type InterconnectIamBindingOutput struct{ *pulumi.OutputState } func (InterconnectIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InterconnectIamBindingOutput) ToInterconnectIamBindingOutputWithContext( return o } +func (o InterconnectIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectIamBinding] { + return pulumix.Output[*InterconnectIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InterconnectIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InterconnectIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/interconnectIamMember.go b/sdk/go/google/compute/alpha/interconnectIamMember.go index 2b73722411..8c46ac9115 100644 --- a/sdk/go/google/compute/alpha/interconnectIamMember.go +++ b/sdk/go/google/compute/alpha/interconnectIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InterconnectIamMember) ToInterconnectIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(InterconnectIamMemberOutput) } +func (i *InterconnectIamMember) ToOutput(ctx context.Context) pulumix.Output[*InterconnectIamMember] { + return pulumix.Output[*InterconnectIamMember]{ + OutputState: i.ToInterconnectIamMemberOutputWithContext(ctx).OutputState, + } +} + type InterconnectIamMemberOutput struct{ *pulumi.OutputState } func (InterconnectIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InterconnectIamMemberOutput) ToInterconnectIamMemberOutputWithContext(ct return o } +func (o InterconnectIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectIamMember] { + return pulumix.Output[*InterconnectIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InterconnectIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InterconnectIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/interconnectIamPolicy.go b/sdk/go/google/compute/alpha/interconnectIamPolicy.go index 73faf1bd99..ae000d93df 100644 --- a/sdk/go/google/compute/alpha/interconnectIamPolicy.go +++ b/sdk/go/google/compute/alpha/interconnectIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *InterconnectIamPolicy) ToInterconnectIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(InterconnectIamPolicyOutput) } +func (i *InterconnectIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InterconnectIamPolicy] { + return pulumix.Output[*InterconnectIamPolicy]{ + OutputState: i.ToInterconnectIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InterconnectIamPolicyOutput struct{ *pulumi.OutputState } func (InterconnectIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o InterconnectIamPolicyOutput) ToInterconnectIamPolicyOutputWithContext(ct return o } +func (o InterconnectIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectIamPolicy] { + return pulumix.Output[*InterconnectIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InterconnectIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InterconnectIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/license.go b/sdk/go/google/compute/alpha/license.go index d4795166b9..c98353eb9d 100644 --- a/sdk/go/google/compute/alpha/license.go +++ b/sdk/go/google/compute/alpha/license.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -134,6 +135,12 @@ func (i *License) ToLicenseOutputWithContext(ctx context.Context) LicenseOutput return pulumi.ToOutputWithContext(ctx, i).(LicenseOutput) } +func (i *License) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: i.ToLicenseOutputWithContext(ctx).OutputState, + } +} + type LicenseOutput struct{ *pulumi.OutputState } func (LicenseOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o LicenseOutput) ToLicenseOutputWithContext(ctx context.Context) LicenseOu return o } +func (o LicenseOutput) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: o.OutputState, + } +} + // Deprecated. This field no longer reflects whether a license charges a usage fee. // // Deprecated: [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. diff --git a/sdk/go/google/compute/alpha/licenseCodeIamBinding.go b/sdk/go/google/compute/alpha/licenseCodeIamBinding.go index 0a7e1998e6..0357937315 100644 --- a/sdk/go/google/compute/alpha/licenseCodeIamBinding.go +++ b/sdk/go/google/compute/alpha/licenseCodeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -135,6 +136,12 @@ func (i *LicenseCodeIamBinding) ToLicenseCodeIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(LicenseCodeIamBindingOutput) } +func (i *LicenseCodeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LicenseCodeIamBinding] { + return pulumix.Output[*LicenseCodeIamBinding]{ + OutputState: i.ToLicenseCodeIamBindingOutputWithContext(ctx).OutputState, + } +} + type LicenseCodeIamBindingOutput struct{ *pulumi.OutputState } func (LicenseCodeIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o LicenseCodeIamBindingOutput) ToLicenseCodeIamBindingOutputWithContext(ct return o } +func (o LicenseCodeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseCodeIamBinding] { + return pulumix.Output[*LicenseCodeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LicenseCodeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LicenseCodeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/licenseCodeIamMember.go b/sdk/go/google/compute/alpha/licenseCodeIamMember.go index a5e32cea65..f7d3e68d4c 100644 --- a/sdk/go/google/compute/alpha/licenseCodeIamMember.go +++ b/sdk/go/google/compute/alpha/licenseCodeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -135,6 +136,12 @@ func (i *LicenseCodeIamMember) ToLicenseCodeIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(LicenseCodeIamMemberOutput) } +func (i *LicenseCodeIamMember) ToOutput(ctx context.Context) pulumix.Output[*LicenseCodeIamMember] { + return pulumix.Output[*LicenseCodeIamMember]{ + OutputState: i.ToLicenseCodeIamMemberOutputWithContext(ctx).OutputState, + } +} + type LicenseCodeIamMemberOutput struct{ *pulumi.OutputState } func (LicenseCodeIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o LicenseCodeIamMemberOutput) ToLicenseCodeIamMemberOutputWithContext(ctx return o } +func (o LicenseCodeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseCodeIamMember] { + return pulumix.Output[*LicenseCodeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LicenseCodeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LicenseCodeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/licenseCodeIamPolicy.go b/sdk/go/google/compute/alpha/licenseCodeIamPolicy.go index 3712ca3859..319917a2cc 100644 --- a/sdk/go/google/compute/alpha/licenseCodeIamPolicy.go +++ b/sdk/go/google/compute/alpha/licenseCodeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -133,6 +134,12 @@ func (i *LicenseCodeIamPolicy) ToLicenseCodeIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(LicenseCodeIamPolicyOutput) } +func (i *LicenseCodeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LicenseCodeIamPolicy] { + return pulumix.Output[*LicenseCodeIamPolicy]{ + OutputState: i.ToLicenseCodeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LicenseCodeIamPolicyOutput struct{ *pulumi.OutputState } func (LicenseCodeIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o LicenseCodeIamPolicyOutput) ToLicenseCodeIamPolicyOutputWithContext(ctx return o } +func (o LicenseCodeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseCodeIamPolicy] { + return pulumix.Output[*LicenseCodeIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LicenseCodeIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *LicenseCodeIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/licenseIamBinding.go b/sdk/go/google/compute/alpha/licenseIamBinding.go index e10f166afa..a90707535d 100644 --- a/sdk/go/google/compute/alpha/licenseIamBinding.go +++ b/sdk/go/google/compute/alpha/licenseIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -135,6 +136,12 @@ func (i *LicenseIamBinding) ToLicenseIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(LicenseIamBindingOutput) } +func (i *LicenseIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamBinding] { + return pulumix.Output[*LicenseIamBinding]{ + OutputState: i.ToLicenseIamBindingOutputWithContext(ctx).OutputState, + } +} + type LicenseIamBindingOutput struct{ *pulumi.OutputState } func (LicenseIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o LicenseIamBindingOutput) ToLicenseIamBindingOutputWithContext(ctx contex return o } +func (o LicenseIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamBinding] { + return pulumix.Output[*LicenseIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LicenseIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LicenseIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/licenseIamMember.go b/sdk/go/google/compute/alpha/licenseIamMember.go index c1067b4acd..f36eeb1612 100644 --- a/sdk/go/google/compute/alpha/licenseIamMember.go +++ b/sdk/go/google/compute/alpha/licenseIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -135,6 +136,12 @@ func (i *LicenseIamMember) ToLicenseIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(LicenseIamMemberOutput) } +func (i *LicenseIamMember) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamMember] { + return pulumix.Output[*LicenseIamMember]{ + OutputState: i.ToLicenseIamMemberOutputWithContext(ctx).OutputState, + } +} + type LicenseIamMemberOutput struct{ *pulumi.OutputState } func (LicenseIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o LicenseIamMemberOutput) ToLicenseIamMemberOutputWithContext(ctx context. return o } +func (o LicenseIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamMember] { + return pulumix.Output[*LicenseIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LicenseIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LicenseIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/licenseIamPolicy.go b/sdk/go/google/compute/alpha/licenseIamPolicy.go index 5da9d1d986..bd870eb680 100644 --- a/sdk/go/google/compute/alpha/licenseIamPolicy.go +++ b/sdk/go/google/compute/alpha/licenseIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -133,6 +134,12 @@ func (i *LicenseIamPolicy) ToLicenseIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(LicenseIamPolicyOutput) } +func (i *LicenseIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamPolicy] { + return pulumix.Output[*LicenseIamPolicy]{ + OutputState: i.ToLicenseIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LicenseIamPolicyOutput struct{ *pulumi.OutputState } func (LicenseIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o LicenseIamPolicyOutput) ToLicenseIamPolicyOutputWithContext(ctx context. return o } +func (o LicenseIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamPolicy] { + return pulumix.Output[*LicenseIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LicenseIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *LicenseIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/machineImage.go b/sdk/go/google/compute/alpha/machineImage.go index 0ac91dcc16..b332234190 100644 --- a/sdk/go/google/compute/alpha/machineImage.go +++ b/sdk/go/google/compute/alpha/machineImage.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance. @@ -170,6 +171,12 @@ func (i *MachineImage) ToMachineImageOutputWithContext(ctx context.Context) Mach return pulumi.ToOutputWithContext(ctx, i).(MachineImageOutput) } +func (i *MachineImage) ToOutput(ctx context.Context) pulumix.Output[*MachineImage] { + return pulumix.Output[*MachineImage]{ + OutputState: i.ToMachineImageOutputWithContext(ctx).OutputState, + } +} + type MachineImageOutput struct{ *pulumi.OutputState } func (MachineImageOutput) ElementType() reflect.Type { @@ -184,6 +191,12 @@ func (o MachineImageOutput) ToMachineImageOutputWithContext(ctx context.Context) return o } +func (o MachineImageOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImage] { + return pulumix.Output[*MachineImage]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this machine image in RFC3339 text format. func (o MachineImageOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *MachineImage) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/machineImageIamBinding.go b/sdk/go/google/compute/alpha/machineImageIamBinding.go index 93e81f5bb4..a504ce597f 100644 --- a/sdk/go/google/compute/alpha/machineImageIamBinding.go +++ b/sdk/go/google/compute/alpha/machineImageIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *MachineImageIamBinding) ToMachineImageIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MachineImageIamBindingOutput) } +func (i *MachineImageIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamBinding] { + return pulumix.Output[*MachineImageIamBinding]{ + OutputState: i.ToMachineImageIamBindingOutputWithContext(ctx).OutputState, + } +} + type MachineImageIamBindingOutput struct{ *pulumi.OutputState } func (MachineImageIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MachineImageIamBindingOutput) ToMachineImageIamBindingOutputWithContext( return o } +func (o MachineImageIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamBinding] { + return pulumix.Output[*MachineImageIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MachineImageIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MachineImageIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/machineImageIamMember.go b/sdk/go/google/compute/alpha/machineImageIamMember.go index 2eac61bcb9..9f9131e75e 100644 --- a/sdk/go/google/compute/alpha/machineImageIamMember.go +++ b/sdk/go/google/compute/alpha/machineImageIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *MachineImageIamMember) ToMachineImageIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MachineImageIamMemberOutput) } +func (i *MachineImageIamMember) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamMember] { + return pulumix.Output[*MachineImageIamMember]{ + OutputState: i.ToMachineImageIamMemberOutputWithContext(ctx).OutputState, + } +} + type MachineImageIamMemberOutput struct{ *pulumi.OutputState } func (MachineImageIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MachineImageIamMemberOutput) ToMachineImageIamMemberOutputWithContext(ct return o } +func (o MachineImageIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamMember] { + return pulumix.Output[*MachineImageIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MachineImageIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MachineImageIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/machineImageIamPolicy.go b/sdk/go/google/compute/alpha/machineImageIamPolicy.go index 96571d59a3..772d47dd87 100644 --- a/sdk/go/google/compute/alpha/machineImageIamPolicy.go +++ b/sdk/go/google/compute/alpha/machineImageIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *MachineImageIamPolicy) ToMachineImageIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MachineImageIamPolicyOutput) } +func (i *MachineImageIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamPolicy] { + return pulumix.Output[*MachineImageIamPolicy]{ + OutputState: i.ToMachineImageIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MachineImageIamPolicyOutput struct{ *pulumi.OutputState } func (MachineImageIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o MachineImageIamPolicyOutput) ToMachineImageIamPolicyOutputWithContext(ct return o } +func (o MachineImageIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamPolicy] { + return pulumix.Output[*MachineImageIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MachineImageIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MachineImageIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/network.go b/sdk/go/google/compute/alpha/network.go index 7f69d3eb78..d060ab7511 100644 --- a/sdk/go/google/compute/alpha/network.go +++ b/sdk/go/google/compute/alpha/network.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network in the specified project using the data included in the request. @@ -177,6 +178,12 @@ func (i *Network) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput return pulumi.ToOutputWithContext(ctx, i).(NetworkOutput) } +func (i *Network) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: i.ToNetworkOutputWithContext(ctx).OutputState, + } +} + type NetworkOutput struct{ *pulumi.OutputState } func (NetworkOutput) ElementType() reflect.Type { @@ -191,6 +198,12 @@ func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOu return o } +func (o NetworkOutput) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: o.OutputState, + } +} + // Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method. func (o NetworkOutput) AutoCreateSubnetworks() pulumi.BoolOutput { return o.ApplyT(func(v *Network) pulumi.BoolOutput { return v.AutoCreateSubnetworks }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/networkAttachment.go b/sdk/go/google/compute/alpha/networkAttachment.go index 9f80d8e71f..51372e3f98 100644 --- a/sdk/go/google/compute/alpha/networkAttachment.go +++ b/sdk/go/google/compute/alpha/networkAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request. @@ -154,6 +155,12 @@ func (i *NetworkAttachment) ToNetworkAttachmentOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentOutput) } +func (i *NetworkAttachment) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachment] { + return pulumix.Output[*NetworkAttachment]{ + OutputState: i.ToNetworkAttachmentOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentOutput struct{ *pulumi.OutputState } func (NetworkAttachmentOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o NetworkAttachmentOutput) ToNetworkAttachmentOutputWithContext(ctx contex return o } +func (o NetworkAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachment] { + return pulumix.Output[*NetworkAttachment]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the producers connected to this network attachment. func (o NetworkAttachmentOutput) ConnectionEndpoints() NetworkAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v *NetworkAttachment) NetworkAttachmentConnectedEndpointResponseArrayOutput { diff --git a/sdk/go/google/compute/alpha/networkAttachmentIamBinding.go b/sdk/go/google/compute/alpha/networkAttachmentIamBinding.go index 6fd8346f32..564839b944 100644 --- a/sdk/go/google/compute/alpha/networkAttachmentIamBinding.go +++ b/sdk/go/google/compute/alpha/networkAttachmentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkAttachmentIamBinding) ToNetworkAttachmentIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentIamBindingOutput) } +func (i *NetworkAttachmentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamBinding] { + return pulumix.Output[*NetworkAttachmentIamBinding]{ + OutputState: i.ToNetworkAttachmentIamBindingOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentIamBindingOutput struct{ *pulumi.OutputState } func (NetworkAttachmentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkAttachmentIamBindingOutput) ToNetworkAttachmentIamBindingOutputWi return o } +func (o NetworkAttachmentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamBinding] { + return pulumix.Output[*NetworkAttachmentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkAttachmentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkAttachmentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/networkAttachmentIamMember.go b/sdk/go/google/compute/alpha/networkAttachmentIamMember.go index 274e2ea2af..1cd3c9c244 100644 --- a/sdk/go/google/compute/alpha/networkAttachmentIamMember.go +++ b/sdk/go/google/compute/alpha/networkAttachmentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkAttachmentIamMember) ToNetworkAttachmentIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentIamMemberOutput) } +func (i *NetworkAttachmentIamMember) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamMember] { + return pulumix.Output[*NetworkAttachmentIamMember]{ + OutputState: i.ToNetworkAttachmentIamMemberOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentIamMemberOutput struct{ *pulumi.OutputState } func (NetworkAttachmentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkAttachmentIamMemberOutput) ToNetworkAttachmentIamMemberOutputWith return o } +func (o NetworkAttachmentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamMember] { + return pulumix.Output[*NetworkAttachmentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkAttachmentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkAttachmentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/networkAttachmentIamPolicy.go b/sdk/go/google/compute/alpha/networkAttachmentIamPolicy.go index 9d5013c05d..ed080031dc 100644 --- a/sdk/go/google/compute/alpha/networkAttachmentIamPolicy.go +++ b/sdk/go/google/compute/alpha/networkAttachmentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *NetworkAttachmentIamPolicy) ToNetworkAttachmentIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentIamPolicyOutput) } +func (i *NetworkAttachmentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamPolicy] { + return pulumix.Output[*NetworkAttachmentIamPolicy]{ + OutputState: i.ToNetworkAttachmentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentIamPolicyOutput struct{ *pulumi.OutputState } func (NetworkAttachmentIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o NetworkAttachmentIamPolicyOutput) ToNetworkAttachmentIamPolicyOutputWith return o } +func (o NetworkAttachmentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamPolicy] { + return pulumix.Output[*NetworkAttachmentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NetworkAttachmentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NetworkAttachmentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/networkEdgeSecurityService.go b/sdk/go/google/compute/alpha/networkEdgeSecurityService.go index 8e322da436..444604014e 100644 --- a/sdk/go/google/compute/alpha/networkEdgeSecurityService.go +++ b/sdk/go/google/compute/alpha/networkEdgeSecurityService.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new service in the specified project using the data included in the request. @@ -135,6 +136,12 @@ func (i *NetworkEdgeSecurityService) ToNetworkEdgeSecurityServiceOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NetworkEdgeSecurityServiceOutput) } +func (i *NetworkEdgeSecurityService) ToOutput(ctx context.Context) pulumix.Output[*NetworkEdgeSecurityService] { + return pulumix.Output[*NetworkEdgeSecurityService]{ + OutputState: i.ToNetworkEdgeSecurityServiceOutputWithContext(ctx).OutputState, + } +} + type NetworkEdgeSecurityServiceOutput struct{ *pulumi.OutputState } func (NetworkEdgeSecurityServiceOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkEdgeSecurityServiceOutput) ToNetworkEdgeSecurityServiceOutputWith return o } +func (o NetworkEdgeSecurityServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEdgeSecurityService] { + return pulumix.Output[*NetworkEdgeSecurityService]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o NetworkEdgeSecurityServiceOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *NetworkEdgeSecurityService) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/networkEndpointGroup.go b/sdk/go/google/compute/alpha/networkEndpointGroup.go index 5a07c9823d..2b30830a30 100644 --- a/sdk/go/google/compute/alpha/networkEndpointGroup.go +++ b/sdk/go/google/compute/alpha/networkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network endpoint group in the specified project using the parameters that are included in the request. @@ -208,6 +209,12 @@ func (i *NetworkEndpointGroup) ToNetworkEndpointGroupOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupOutput) } +func (i *NetworkEndpointGroup) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroup] { + return pulumix.Output[*NetworkEndpointGroup]{ + OutputState: i.ToNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + type NetworkEndpointGroupOutput struct{ *pulumi.OutputState } func (NetworkEndpointGroupOutput) ElementType() reflect.Type { @@ -222,6 +229,12 @@ func (o NetworkEndpointGroupOutput) ToNetworkEndpointGroupOutputWithContext(ctx return o } +func (o NetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroup] { + return pulumix.Output[*NetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o NetworkEndpointGroupOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *NetworkEndpointGroup) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/alpha/networkFirewallPolicy.go b/sdk/go/google/compute/alpha/networkFirewallPolicy.go index cf1675192c..7d68174699 100644 --- a/sdk/go/google/compute/alpha/networkFirewallPolicy.go +++ b/sdk/go/google/compute/alpha/networkFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -163,6 +164,12 @@ func (i *NetworkFirewallPolicy) ToNetworkFirewallPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyOutput) } +func (i *NetworkFirewallPolicy) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicy] { + return pulumix.Output[*NetworkFirewallPolicy]{ + OutputState: i.ToNetworkFirewallPolicyOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o NetworkFirewallPolicyOutput) ToNetworkFirewallPolicyOutputWithContext(ct return o } +func (o NetworkFirewallPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicy] { + return pulumix.Output[*NetworkFirewallPolicy]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o NetworkFirewallPolicyOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v *NetworkFirewallPolicy) FirewallPolicyAssociationResponseArrayOutput { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/networkFirewallPolicyIamBinding.go b/sdk/go/google/compute/alpha/networkFirewallPolicyIamBinding.go index aae22c08e8..ae1b40bf1e 100644 --- a/sdk/go/google/compute/alpha/networkFirewallPolicyIamBinding.go +++ b/sdk/go/google/compute/alpha/networkFirewallPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkFirewallPolicyIamBinding) ToNetworkFirewallPolicyIamBindingOutpu return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyIamBindingOutput) } +func (i *NetworkFirewallPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamBinding] { + return pulumix.Output[*NetworkFirewallPolicyIamBinding]{ + OutputState: i.ToNetworkFirewallPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyIamBindingOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkFirewallPolicyIamBindingOutput) ToNetworkFirewallPolicyIamBinding return o } +func (o NetworkFirewallPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamBinding] { + return pulumix.Output[*NetworkFirewallPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkFirewallPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkFirewallPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/networkFirewallPolicyIamMember.go b/sdk/go/google/compute/alpha/networkFirewallPolicyIamMember.go index ca69fb3695..e260b27441 100644 --- a/sdk/go/google/compute/alpha/networkFirewallPolicyIamMember.go +++ b/sdk/go/google/compute/alpha/networkFirewallPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkFirewallPolicyIamMember) ToNetworkFirewallPolicyIamMemberOutputW return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyIamMemberOutput) } +func (i *NetworkFirewallPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamMember] { + return pulumix.Output[*NetworkFirewallPolicyIamMember]{ + OutputState: i.ToNetworkFirewallPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyIamMemberOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkFirewallPolicyIamMemberOutput) ToNetworkFirewallPolicyIamMemberOu return o } +func (o NetworkFirewallPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamMember] { + return pulumix.Output[*NetworkFirewallPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkFirewallPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkFirewallPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/networkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/alpha/networkFirewallPolicyIamPolicy.go index 148672de6e..a40160cc1e 100644 --- a/sdk/go/google/compute/alpha/networkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/alpha/networkFirewallPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *NetworkFirewallPolicyIamPolicy) ToNetworkFirewallPolicyIamPolicyOutputW return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyIamPolicyOutput) } +func (i *NetworkFirewallPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*NetworkFirewallPolicyIamPolicy]{ + OutputState: i.ToNetworkFirewallPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o NetworkFirewallPolicyIamPolicyOutput) ToNetworkFirewallPolicyIamPolicyOu return o } +func (o NetworkFirewallPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*NetworkFirewallPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NetworkFirewallPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NetworkFirewallPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/nodeGroup.go b/sdk/go/google/compute/alpha/nodeGroup.go index bd600ebcb3..fe5a0fa3ce 100644 --- a/sdk/go/google/compute/alpha/nodeGroup.go +++ b/sdk/go/google/compute/alpha/nodeGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a NodeGroup resource in the specified project using the data included in the request. @@ -177,6 +178,12 @@ func (i *NodeGroup) ToNodeGroupOutputWithContext(ctx context.Context) NodeGroupO return pulumi.ToOutputWithContext(ctx, i).(NodeGroupOutput) } +func (i *NodeGroup) ToOutput(ctx context.Context) pulumix.Output[*NodeGroup] { + return pulumix.Output[*NodeGroup]{ + OutputState: i.ToNodeGroupOutputWithContext(ctx).OutputState, + } +} + type NodeGroupOutput struct{ *pulumi.OutputState } func (NodeGroupOutput) ElementType() reflect.Type { @@ -191,6 +198,12 @@ func (o NodeGroupOutput) ToNodeGroupOutputWithContext(ctx context.Context) NodeG return o } +func (o NodeGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroup] { + return pulumix.Output[*NodeGroup]{ + OutputState: o.OutputState, + } +} + // Specifies how autoscaling should behave. func (o NodeGroupOutput) AutoscalingPolicy() NodeGroupAutoscalingPolicyResponseOutput { return o.ApplyT(func(v *NodeGroup) NodeGroupAutoscalingPolicyResponseOutput { return v.AutoscalingPolicy }).(NodeGroupAutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/alpha/nodeGroupIamBinding.go b/sdk/go/google/compute/alpha/nodeGroupIamBinding.go index e97598318a..02752e1ddc 100644 --- a/sdk/go/google/compute/alpha/nodeGroupIamBinding.go +++ b/sdk/go/google/compute/alpha/nodeGroupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeGroupIamBinding) ToNodeGroupIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(NodeGroupIamBindingOutput) } +func (i *NodeGroupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamBinding] { + return pulumix.Output[*NodeGroupIamBinding]{ + OutputState: i.ToNodeGroupIamBindingOutputWithContext(ctx).OutputState, + } +} + type NodeGroupIamBindingOutput struct{ *pulumi.OutputState } func (NodeGroupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeGroupIamBindingOutput) ToNodeGroupIamBindingOutputWithContext(ctx co return o } +func (o NodeGroupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamBinding] { + return pulumix.Output[*NodeGroupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeGroupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeGroupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/nodeGroupIamMember.go b/sdk/go/google/compute/alpha/nodeGroupIamMember.go index 2d56f65670..ac64622b02 100644 --- a/sdk/go/google/compute/alpha/nodeGroupIamMember.go +++ b/sdk/go/google/compute/alpha/nodeGroupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeGroupIamMember) ToNodeGroupIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NodeGroupIamMemberOutput) } +func (i *NodeGroupIamMember) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamMember] { + return pulumix.Output[*NodeGroupIamMember]{ + OutputState: i.ToNodeGroupIamMemberOutputWithContext(ctx).OutputState, + } +} + type NodeGroupIamMemberOutput struct{ *pulumi.OutputState } func (NodeGroupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeGroupIamMemberOutput) ToNodeGroupIamMemberOutputWithContext(ctx cont return o } +func (o NodeGroupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamMember] { + return pulumix.Output[*NodeGroupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeGroupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeGroupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/nodeGroupIamPolicy.go b/sdk/go/google/compute/alpha/nodeGroupIamPolicy.go index 8d8f298f07..4a610f0c64 100644 --- a/sdk/go/google/compute/alpha/nodeGroupIamPolicy.go +++ b/sdk/go/google/compute/alpha/nodeGroupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *NodeGroupIamPolicy) ToNodeGroupIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NodeGroupIamPolicyOutput) } +func (i *NodeGroupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamPolicy] { + return pulumix.Output[*NodeGroupIamPolicy]{ + OutputState: i.ToNodeGroupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NodeGroupIamPolicyOutput struct{ *pulumi.OutputState } func (NodeGroupIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o NodeGroupIamPolicyOutput) ToNodeGroupIamPolicyOutputWithContext(ctx cont return o } +func (o NodeGroupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamPolicy] { + return pulumix.Output[*NodeGroupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NodeGroupIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NodeGroupIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/nodeTemplate.go b/sdk/go/google/compute/alpha/nodeTemplate.go index 34c6825e2e..3721cfe0d0 100644 --- a/sdk/go/google/compute/alpha/nodeTemplate.go +++ b/sdk/go/google/compute/alpha/nodeTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a NodeTemplate resource in the specified project using the data included in the request. @@ -167,6 +168,12 @@ func (i *NodeTemplate) ToNodeTemplateOutputWithContext(ctx context.Context) Node return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOutput) } +func (i *NodeTemplate) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplate] { + return pulumix.Output[*NodeTemplate]{ + OutputState: i.ToNodeTemplateOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateOutput struct{ *pulumi.OutputState } func (NodeTemplateOutput) ElementType() reflect.Type { @@ -181,6 +188,12 @@ func (o NodeTemplateOutput) ToNodeTemplateOutputWithContext(ctx context.Context) return o } +func (o NodeTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplate] { + return pulumix.Output[*NodeTemplate]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateOutput) Accelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v *NodeTemplate) AcceleratorConfigResponseArrayOutput { return v.Accelerators }).(AcceleratorConfigResponseArrayOutput) } diff --git a/sdk/go/google/compute/alpha/nodeTemplateIamBinding.go b/sdk/go/google/compute/alpha/nodeTemplateIamBinding.go index fe7878d5db..fb04caf8bd 100644 --- a/sdk/go/google/compute/alpha/nodeTemplateIamBinding.go +++ b/sdk/go/google/compute/alpha/nodeTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeTemplateIamBinding) ToNodeTemplateIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateIamBindingOutput) } +func (i *NodeTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamBinding] { + return pulumix.Output[*NodeTemplateIamBinding]{ + OutputState: i.ToNodeTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateIamBindingOutput struct{ *pulumi.OutputState } func (NodeTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeTemplateIamBindingOutput) ToNodeTemplateIamBindingOutputWithContext( return o } +func (o NodeTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamBinding] { + return pulumix.Output[*NodeTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/nodeTemplateIamMember.go b/sdk/go/google/compute/alpha/nodeTemplateIamMember.go index ba3eb909d7..21e10a9c2c 100644 --- a/sdk/go/google/compute/alpha/nodeTemplateIamMember.go +++ b/sdk/go/google/compute/alpha/nodeTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeTemplateIamMember) ToNodeTemplateIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateIamMemberOutput) } +func (i *NodeTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamMember] { + return pulumix.Output[*NodeTemplateIamMember]{ + OutputState: i.ToNodeTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateIamMemberOutput struct{ *pulumi.OutputState } func (NodeTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeTemplateIamMemberOutput) ToNodeTemplateIamMemberOutputWithContext(ct return o } +func (o NodeTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamMember] { + return pulumix.Output[*NodeTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/nodeTemplateIamPolicy.go b/sdk/go/google/compute/alpha/nodeTemplateIamPolicy.go index cc7822e163..05f4551440 100644 --- a/sdk/go/google/compute/alpha/nodeTemplateIamPolicy.go +++ b/sdk/go/google/compute/alpha/nodeTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *NodeTemplateIamPolicy) ToNodeTemplateIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateIamPolicyOutput) } +func (i *NodeTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamPolicy] { + return pulumix.Output[*NodeTemplateIamPolicy]{ + OutputState: i.ToNodeTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (NodeTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o NodeTemplateIamPolicyOutput) ToNodeTemplateIamPolicyOutputWithContext(ct return o } +func (o NodeTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamPolicy] { + return pulumix.Output[*NodeTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NodeTemplateIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NodeTemplateIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/organizationSecurityPolicy.go b/sdk/go/google/compute/alpha/organizationSecurityPolicy.go index e44830eb59..0e887df5ae 100644 --- a/sdk/go/google/compute/alpha/organizationSecurityPolicy.go +++ b/sdk/go/google/compute/alpha/organizationSecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -179,6 +180,12 @@ func (i *OrganizationSecurityPolicy) ToOrganizationSecurityPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(OrganizationSecurityPolicyOutput) } +func (i *OrganizationSecurityPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSecurityPolicy] { + return pulumix.Output[*OrganizationSecurityPolicy]{ + OutputState: i.ToOrganizationSecurityPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationSecurityPolicyOutput struct{ *pulumi.OutputState } func (OrganizationSecurityPolicyOutput) ElementType() reflect.Type { @@ -193,6 +200,12 @@ func (o OrganizationSecurityPolicyOutput) ToOrganizationSecurityPolicyOutputWith return o } +func (o OrganizationSecurityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSecurityPolicy] { + return pulumix.Output[*OrganizationSecurityPolicy]{ + OutputState: o.OutputState, + } +} + func (o OrganizationSecurityPolicyOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v *OrganizationSecurityPolicy) SecurityPolicyAdaptiveProtectionConfigResponseOutput { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/alpha/packetMirroring.go b/sdk/go/google/compute/alpha/packetMirroring.go index 63a4091e7f..c9216dbf06 100644 --- a/sdk/go/google/compute/alpha/packetMirroring.go +++ b/sdk/go/google/compute/alpha/packetMirroring.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a PacketMirroring resource in the specified project and region using the data included in the request. @@ -163,6 +164,12 @@ func (i *PacketMirroring) ToPacketMirroringOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringOutput) } +func (i *PacketMirroring) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroring] { + return pulumix.Output[*PacketMirroring]{ + OutputState: i.ToPacketMirroringOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringOutput struct{ *pulumi.OutputState } func (PacketMirroringOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o PacketMirroringOutput) ToPacketMirroringOutputWithContext(ctx context.Co return o } +func (o PacketMirroringOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroring] { + return pulumix.Output[*PacketMirroring]{ + OutputState: o.OutputState, + } +} + // The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true. func (o PacketMirroringOutput) CollectorIlb() PacketMirroringForwardingRuleInfoResponseOutput { return o.ApplyT(func(v *PacketMirroring) PacketMirroringForwardingRuleInfoResponseOutput { return v.CollectorIlb }).(PacketMirroringForwardingRuleInfoResponseOutput) diff --git a/sdk/go/google/compute/alpha/publicAdvertisedPrefix.go b/sdk/go/google/compute/alpha/publicAdvertisedPrefix.go index 1d12f00252..475fb33441 100644 --- a/sdk/go/google/compute/alpha/publicAdvertisedPrefix.go +++ b/sdk/go/google/compute/alpha/publicAdvertisedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request. @@ -149,6 +150,12 @@ func (i *PublicAdvertisedPrefix) ToPublicAdvertisedPrefixOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PublicAdvertisedPrefixOutput) } +func (i *PublicAdvertisedPrefix) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefix] { + return pulumix.Output[*PublicAdvertisedPrefix]{ + OutputState: i.ToPublicAdvertisedPrefixOutputWithContext(ctx).OutputState, + } +} + type PublicAdvertisedPrefixOutput struct{ *pulumi.OutputState } func (PublicAdvertisedPrefixOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o PublicAdvertisedPrefixOutput) ToPublicAdvertisedPrefixOutputWithContext( return o } +func (o PublicAdvertisedPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefix] { + return pulumix.Output[*PublicAdvertisedPrefix]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o PublicAdvertisedPrefixOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *PublicAdvertisedPrefix) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/publicDelegatedPrefix.go b/sdk/go/google/compute/alpha/publicDelegatedPrefix.go index e69a2deb5c..ab6775b6ae 100644 --- a/sdk/go/google/compute/alpha/publicDelegatedPrefix.go +++ b/sdk/go/google/compute/alpha/publicDelegatedPrefix.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request. @@ -155,6 +156,12 @@ func (i *PublicDelegatedPrefix) ToPublicDelegatedPrefixOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(PublicDelegatedPrefixOutput) } +func (i *PublicDelegatedPrefix) ToOutput(ctx context.Context) pulumix.Output[*PublicDelegatedPrefix] { + return pulumix.Output[*PublicDelegatedPrefix]{ + OutputState: i.ToPublicDelegatedPrefixOutputWithContext(ctx).OutputState, + } +} + type PublicDelegatedPrefixOutput struct{ *pulumi.OutputState } func (PublicDelegatedPrefixOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o PublicDelegatedPrefixOutput) ToPublicDelegatedPrefixOutputWithContext(ct return o } +func (o PublicDelegatedPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicDelegatedPrefix] { + return pulumix.Output[*PublicDelegatedPrefix]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o PublicDelegatedPrefixOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *PublicDelegatedPrefix) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/pulumiEnums.go b/sdk/go/google/compute/alpha/pulumiEnums.go index b2f056a2d2..3a19d8d532 100644 --- a/sdk/go/google/compute/alpha/pulumiEnums.go +++ b/sdk/go/google/compute/alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. @@ -86,6 +87,12 @@ func (o AccessConfigNetworkTierOutput) ToAccessConfigNetworkTierPtrOutputWithCon }).(AccessConfigNetworkTierPtrOutput) } +func (o AccessConfigNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigNetworkTier] { + return pulumix.Output[AccessConfigNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -121,6 +128,12 @@ func (o AccessConfigNetworkTierPtrOutput) ToAccessConfigNetworkTierPtrOutputWith return o } +func (o AccessConfigNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigNetworkTier] { + return pulumix.Output[*AccessConfigNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigNetworkTierPtrOutput) Elem() AccessConfigNetworkTierOutput { return o.ApplyT(func(v *AccessConfigNetworkTier) AccessConfigNetworkTier { if v != nil { @@ -183,6 +196,12 @@ func (in *accessConfigNetworkTierPtr) ToAccessConfigNetworkTierPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(AccessConfigNetworkTierPtrOutput) } +func (in *accessConfigNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigNetworkTier] { + return pulumix.Output[*AccessConfigNetworkTier]{ + OutputState: in.ToAccessConfigNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + // The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. type AccessConfigType string @@ -251,6 +270,12 @@ func (o AccessConfigTypeOutput) ToAccessConfigTypePtrOutputWithContext(ctx conte }).(AccessConfigTypePtrOutput) } +func (o AccessConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigType] { + return pulumix.Output[AccessConfigType]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o AccessConfigTypePtrOutput) ToAccessConfigTypePtrOutputWithContext(ctx co return o } +func (o AccessConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigType] { + return pulumix.Output[*AccessConfigType]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigTypePtrOutput) Elem() AccessConfigTypeOutput { return o.ApplyT(func(v *AccessConfigType) AccessConfigType { if v != nil { @@ -348,6 +379,12 @@ func (in *accessConfigTypePtr) ToAccessConfigTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AccessConfigTypePtrOutput) } +func (in *accessConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigType] { + return pulumix.Output[*AccessConfigType]{ + OutputState: in.ToAccessConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. type AddressAddressType string @@ -421,6 +458,12 @@ func (o AddressAddressTypeOutput) ToAddressAddressTypePtrOutputWithContext(ctx c }).(AddressAddressTypePtrOutput) } +func (o AddressAddressTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AddressAddressType] { + return pulumix.Output[AddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o AddressAddressTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -456,6 +499,12 @@ func (o AddressAddressTypePtrOutput) ToAddressAddressTypePtrOutputWithContext(ct return o } +func (o AddressAddressTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressAddressType] { + return pulumix.Output[*AddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o AddressAddressTypePtrOutput) Elem() AddressAddressTypeOutput { return o.ApplyT(func(v *AddressAddressType) AddressAddressType { if v != nil { @@ -518,6 +567,12 @@ func (in *addressAddressTypePtr) ToAddressAddressTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(AddressAddressTypePtrOutput) } +func (in *addressAddressTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AddressAddressType] { + return pulumix.Output[*AddressAddressType]{ + OutputState: in.ToAddressAddressTypePtrOutputWithContext(ctx).OutputState, + } +} + // The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. type AddressIpVersion string @@ -587,6 +642,12 @@ func (o AddressIpVersionOutput) ToAddressIpVersionPtrOutputWithContext(ctx conte }).(AddressIpVersionPtrOutput) } +func (o AddressIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[AddressIpVersion] { + return pulumix.Output[AddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o AddressIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -622,6 +683,12 @@ func (o AddressIpVersionPtrOutput) ToAddressIpVersionPtrOutputWithContext(ctx co return o } +func (o AddressIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressIpVersion] { + return pulumix.Output[*AddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o AddressIpVersionPtrOutput) Elem() AddressIpVersionOutput { return o.ApplyT(func(v *AddressIpVersion) AddressIpVersion { if v != nil { @@ -684,6 +751,12 @@ func (in *addressIpVersionPtr) ToAddressIpVersionPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AddressIpVersionPtrOutput) } +func (in *addressIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*AddressIpVersion] { + return pulumix.Output[*AddressIpVersion]{ + OutputState: in.ToAddressIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. type AddressIpv6EndpointType string @@ -754,6 +827,12 @@ func (o AddressIpv6EndpointTypeOutput) ToAddressIpv6EndpointTypePtrOutputWithCon }).(AddressIpv6EndpointTypePtrOutput) } +func (o AddressIpv6EndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AddressIpv6EndpointType] { + return pulumix.Output[AddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o AddressIpv6EndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -789,6 +868,12 @@ func (o AddressIpv6EndpointTypePtrOutput) ToAddressIpv6EndpointTypePtrOutputWith return o } +func (o AddressIpv6EndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressIpv6EndpointType] { + return pulumix.Output[*AddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o AddressIpv6EndpointTypePtrOutput) Elem() AddressIpv6EndpointTypeOutput { return o.ApplyT(func(v *AddressIpv6EndpointType) AddressIpv6EndpointType { if v != nil { @@ -851,6 +936,12 @@ func (in *addressIpv6EndpointTypePtr) ToAddressIpv6EndpointTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(AddressIpv6EndpointTypePtrOutput) } +func (in *addressIpv6EndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AddressIpv6EndpointType] { + return pulumix.Output[*AddressIpv6EndpointType]{ + OutputState: in.ToAddressIpv6EndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. type AddressNetworkTier string @@ -927,6 +1018,12 @@ func (o AddressNetworkTierOutput) ToAddressNetworkTierPtrOutputWithContext(ctx c }).(AddressNetworkTierPtrOutput) } +func (o AddressNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[AddressNetworkTier] { + return pulumix.Output[AddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AddressNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -962,6 +1059,12 @@ func (o AddressNetworkTierPtrOutput) ToAddressNetworkTierPtrOutputWithContext(ct return o } +func (o AddressNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressNetworkTier] { + return pulumix.Output[*AddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AddressNetworkTierPtrOutput) Elem() AddressNetworkTierOutput { return o.ApplyT(func(v *AddressNetworkTier) AddressNetworkTier { if v != nil { @@ -1024,6 +1127,12 @@ func (in *addressNetworkTierPtr) ToAddressNetworkTierPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(AddressNetworkTierPtrOutput) } +func (in *addressNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*AddressNetworkTier] { + return pulumix.Output[*AddressNetworkTier]{ + OutputState: in.ToAddressNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + // The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. type AddressPurpose string @@ -1106,6 +1215,12 @@ func (o AddressPurposeOutput) ToAddressPurposePtrOutputWithContext(ctx context.C }).(AddressPurposePtrOutput) } +func (o AddressPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[AddressPurpose] { + return pulumix.Output[AddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o AddressPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1141,6 +1256,12 @@ func (o AddressPurposePtrOutput) ToAddressPurposePtrOutputWithContext(ctx contex return o } +func (o AddressPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressPurpose] { + return pulumix.Output[*AddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o AddressPurposePtrOutput) Elem() AddressPurposeOutput { return o.ApplyT(func(v *AddressPurpose) AddressPurpose { if v != nil { @@ -1203,6 +1324,12 @@ func (in *addressPurposePtr) ToAddressPurposePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(AddressPurposePtrOutput) } +func (in *addressPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*AddressPurpose] { + return pulumix.Output[*AddressPurpose]{ + OutputState: in.ToAddressPurposePtrOutputWithContext(ctx).OutputState, + } +} + // Type of Performance Monitoring Unit requested on instance. type AdvancedMachineFeaturesPerformanceMonitoringUnit string @@ -1276,6 +1403,12 @@ func (o AdvancedMachineFeaturesPerformanceMonitoringUnitOutput) ToAdvancedMachin }).(AdvancedMachineFeaturesPerformanceMonitoringUnitPtrOutput) } +func (o AdvancedMachineFeaturesPerformanceMonitoringUnitOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeaturesPerformanceMonitoringUnit] { + return pulumix.Output[AdvancedMachineFeaturesPerformanceMonitoringUnit]{ + OutputState: o.OutputState, + } +} + func (o AdvancedMachineFeaturesPerformanceMonitoringUnitOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1311,6 +1444,12 @@ func (o AdvancedMachineFeaturesPerformanceMonitoringUnitPtrOutput) ToAdvancedMac return o } +func (o AdvancedMachineFeaturesPerformanceMonitoringUnitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeaturesPerformanceMonitoringUnit] { + return pulumix.Output[*AdvancedMachineFeaturesPerformanceMonitoringUnit]{ + OutputState: o.OutputState, + } +} + func (o AdvancedMachineFeaturesPerformanceMonitoringUnitPtrOutput) Elem() AdvancedMachineFeaturesPerformanceMonitoringUnitOutput { return o.ApplyT(func(v *AdvancedMachineFeaturesPerformanceMonitoringUnit) AdvancedMachineFeaturesPerformanceMonitoringUnit { if v != nil { @@ -1373,6 +1512,12 @@ func (in *advancedMachineFeaturesPerformanceMonitoringUnitPtr) ToAdvancedMachine return pulumi.ToOutputWithContext(ctx, in).(AdvancedMachineFeaturesPerformanceMonitoringUnitPtrOutput) } +func (in *advancedMachineFeaturesPerformanceMonitoringUnitPtr) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeaturesPerformanceMonitoringUnit] { + return pulumix.Output[*AdvancedMachineFeaturesPerformanceMonitoringUnit]{ + OutputState: in.ToAdvancedMachineFeaturesPerformanceMonitoringUnitPtrOutputWithContext(ctx).OutputState, + } +} + // The VM family that all instances scheduled against this reservation must belong to. type AllocationAggregateReservationVmFamily string @@ -1443,6 +1588,12 @@ func (o AllocationAggregateReservationVmFamilyOutput) ToAllocationAggregateReser }).(AllocationAggregateReservationVmFamilyPtrOutput) } +func (o AllocationAggregateReservationVmFamilyOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationAggregateReservationVmFamily] { + return pulumix.Output[AllocationAggregateReservationVmFamily]{ + OutputState: o.OutputState, + } +} + func (o AllocationAggregateReservationVmFamilyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1478,6 +1629,12 @@ func (o AllocationAggregateReservationVmFamilyPtrOutput) ToAllocationAggregateRe return o } +func (o AllocationAggregateReservationVmFamilyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationAggregateReservationVmFamily] { + return pulumix.Output[*AllocationAggregateReservationVmFamily]{ + OutputState: o.OutputState, + } +} + func (o AllocationAggregateReservationVmFamilyPtrOutput) Elem() AllocationAggregateReservationVmFamilyOutput { return o.ApplyT(func(v *AllocationAggregateReservationVmFamily) AllocationAggregateReservationVmFamily { if v != nil { @@ -1540,6 +1697,12 @@ func (in *allocationAggregateReservationVmFamilyPtr) ToAllocationAggregateReserv return pulumi.ToOutputWithContext(ctx, in).(AllocationAggregateReservationVmFamilyPtrOutput) } +func (in *allocationAggregateReservationVmFamilyPtr) ToOutput(ctx context.Context) pulumix.Output[*AllocationAggregateReservationVmFamily] { + return pulumix.Output[*AllocationAggregateReservationVmFamily]{ + OutputState: in.ToAllocationAggregateReservationVmFamilyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface string @@ -1609,6 +1772,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskIn }).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1644,6 +1813,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskIn return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface] { + return pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) Elem() AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceOutput { return o.ApplyT(func(v *AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface { if v != nil { @@ -1706,6 +1881,12 @@ func (in *allocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk return pulumi.ToOutputWithContext(ctx, in).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) } +func (in *allocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface] { + return pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface]{ + OutputState: in.ToAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`. type AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval string @@ -1778,6 +1959,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInte }).(AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtrOutput) } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1813,6 +2000,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInte return o } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval] { + return pulumix.Output[*AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtrOutput) Elem() AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalOutput { return o.ApplyT(func(v *AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval) AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval { if v != nil { @@ -1875,6 +2068,12 @@ func (in *allocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIn return pulumi.ToOutputWithContext(ctx, in).(AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtrOutput) } +func (in *allocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtr) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval] { + return pulumix.Output[*AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval]{ + OutputState: in.ToAllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the attached disk. Valid values are arm64 or x86_64. type AttachedDiskInitializeParamsArchitecture string @@ -1947,6 +2146,12 @@ func (o AttachedDiskInitializeParamsArchitectureOutput) ToAttachedDiskInitialize }).(AttachedDiskInitializeParamsArchitecturePtrOutput) } +func (o AttachedDiskInitializeParamsArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParamsArchitecture] { + return pulumix.Output[AttachedDiskInitializeParamsArchitecture]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1982,6 +2187,12 @@ func (o AttachedDiskInitializeParamsArchitecturePtrOutput) ToAttachedDiskInitial return o } +func (o AttachedDiskInitializeParamsArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsArchitecture] { + return pulumix.Output[*AttachedDiskInitializeParamsArchitecture]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsArchitecturePtrOutput) Elem() AttachedDiskInitializeParamsArchitectureOutput { return o.ApplyT(func(v *AttachedDiskInitializeParamsArchitecture) AttachedDiskInitializeParamsArchitecture { if v != nil { @@ -2044,6 +2255,12 @@ func (in *attachedDiskInitializeParamsArchitecturePtr) ToAttachedDiskInitializeP return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskInitializeParamsArchitecturePtrOutput) } +func (in *attachedDiskInitializeParamsArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsArchitecture] { + return pulumix.Output[*AttachedDiskInitializeParamsArchitecture]{ + OutputState: in.ToAttachedDiskInitializeParamsArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. type AttachedDiskInitializeParamsInterface string @@ -2113,6 +2330,12 @@ func (o AttachedDiskInitializeParamsInterfaceOutput) ToAttachedDiskInitializePar }).(AttachedDiskInitializeParamsInterfacePtrOutput) } +func (o AttachedDiskInitializeParamsInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParamsInterface] { + return pulumix.Output[AttachedDiskInitializeParamsInterface]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2148,6 +2371,12 @@ func (o AttachedDiskInitializeParamsInterfacePtrOutput) ToAttachedDiskInitialize return o } +func (o AttachedDiskInitializeParamsInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsInterface] { + return pulumix.Output[*AttachedDiskInitializeParamsInterface]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsInterfacePtrOutput) Elem() AttachedDiskInitializeParamsInterfaceOutput { return o.ApplyT(func(v *AttachedDiskInitializeParamsInterface) AttachedDiskInitializeParamsInterface { if v != nil { @@ -2210,6 +2439,12 @@ func (in *attachedDiskInitializeParamsInterfacePtr) ToAttachedDiskInitializePara return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskInitializeParamsInterfacePtrOutput) } +func (in *attachedDiskInitializeParamsInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsInterface] { + return pulumix.Output[*AttachedDiskInitializeParamsInterface]{ + OutputState: in.ToAttachedDiskInitializeParamsInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies which action to take on instance update with this disk. Default is to use the existing disk. type AttachedDiskInitializeParamsOnUpdateAction string @@ -2282,6 +2517,12 @@ func (o AttachedDiskInitializeParamsOnUpdateActionOutput) ToAttachedDiskInitiali }).(AttachedDiskInitializeParamsOnUpdateActionPtrOutput) } +func (o AttachedDiskInitializeParamsOnUpdateActionOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParamsOnUpdateAction] { + return pulumix.Output[AttachedDiskInitializeParamsOnUpdateAction]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsOnUpdateActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2317,6 +2558,12 @@ func (o AttachedDiskInitializeParamsOnUpdateActionPtrOutput) ToAttachedDiskIniti return o } +func (o AttachedDiskInitializeParamsOnUpdateActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction] { + return pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsOnUpdateActionPtrOutput) Elem() AttachedDiskInitializeParamsOnUpdateActionOutput { return o.ApplyT(func(v *AttachedDiskInitializeParamsOnUpdateAction) AttachedDiskInitializeParamsOnUpdateAction { if v != nil { @@ -2379,6 +2626,12 @@ func (in *attachedDiskInitializeParamsOnUpdateActionPtr) ToAttachedDiskInitializ return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskInitializeParamsOnUpdateActionPtrOutput) } +func (in *attachedDiskInitializeParamsOnUpdateActionPtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction] { + return pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction]{ + OutputState: in.ToAttachedDiskInitializeParamsOnUpdateActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks. type AttachedDiskInterface string @@ -2448,6 +2701,12 @@ func (o AttachedDiskInterfaceOutput) ToAttachedDiskInterfacePtrOutputWithContext }).(AttachedDiskInterfacePtrOutput) } +func (o AttachedDiskInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInterface] { + return pulumix.Output[AttachedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2483,6 +2742,12 @@ func (o AttachedDiskInterfacePtrOutput) ToAttachedDiskInterfacePtrOutputWithCont return o } +func (o AttachedDiskInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInterface] { + return pulumix.Output[*AttachedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInterfacePtrOutput) Elem() AttachedDiskInterfaceOutput { return o.ApplyT(func(v *AttachedDiskInterface) AttachedDiskInterface { if v != nil { @@ -2545,6 +2810,12 @@ func (in *attachedDiskInterfacePtr) ToAttachedDiskInterfacePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskInterfacePtrOutput) } +func (in *attachedDiskInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInterface] { + return pulumix.Output[*AttachedDiskInterface]{ + OutputState: in.ToAttachedDiskInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. type AttachedDiskMode string @@ -2615,6 +2886,12 @@ func (o AttachedDiskModeOutput) ToAttachedDiskModePtrOutputWithContext(ctx conte }).(AttachedDiskModePtrOutput) } +func (o AttachedDiskModeOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskMode] { + return pulumix.Output[AttachedDiskMode]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2650,6 +2927,12 @@ func (o AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutputWithContext(ctx co return o } +func (o AttachedDiskModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskMode] { + return pulumix.Output[*AttachedDiskMode]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskModePtrOutput) Elem() AttachedDiskModeOutput { return o.ApplyT(func(v *AttachedDiskMode) AttachedDiskMode { if v != nil { @@ -2712,6 +2995,12 @@ func (in *attachedDiskModePtr) ToAttachedDiskModePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskModePtrOutput) } +func (in *attachedDiskModePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskMode] { + return pulumix.Output[*AttachedDiskMode]{ + OutputState: in.ToAttachedDiskModePtrOutputWithContext(ctx).OutputState, + } +} + // For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api. type AttachedDiskSavedState string @@ -2782,6 +3071,12 @@ func (o AttachedDiskSavedStateOutput) ToAttachedDiskSavedStatePtrOutputWithConte }).(AttachedDiskSavedStatePtrOutput) } +func (o AttachedDiskSavedStateOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskSavedState] { + return pulumix.Output[AttachedDiskSavedState]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskSavedStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2817,6 +3112,12 @@ func (o AttachedDiskSavedStatePtrOutput) ToAttachedDiskSavedStatePtrOutputWithCo return o } +func (o AttachedDiskSavedStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskSavedState] { + return pulumix.Output[*AttachedDiskSavedState]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskSavedStatePtrOutput) Elem() AttachedDiskSavedStateOutput { return o.ApplyT(func(v *AttachedDiskSavedState) AttachedDiskSavedState { if v != nil { @@ -2879,6 +3180,12 @@ func (in *attachedDiskSavedStatePtr) ToAttachedDiskSavedStatePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskSavedStatePtrOutput) } +func (in *attachedDiskSavedStatePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskSavedState] { + return pulumix.Output[*AttachedDiskSavedState]{ + OutputState: in.ToAttachedDiskSavedStatePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. type AttachedDiskType string @@ -2947,6 +3254,12 @@ func (o AttachedDiskTypeOutput) ToAttachedDiskTypePtrOutputWithContext(ctx conte }).(AttachedDiskTypePtrOutput) } +func (o AttachedDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskType] { + return pulumix.Output[AttachedDiskType]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2982,6 +3295,12 @@ func (o AttachedDiskTypePtrOutput) ToAttachedDiskTypePtrOutputWithContext(ctx co return o } +func (o AttachedDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskType] { + return pulumix.Output[*AttachedDiskType]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskTypePtrOutput) Elem() AttachedDiskTypeOutput { return o.ApplyT(func(v *AttachedDiskType) AttachedDiskType { if v != nil { @@ -3044,6 +3363,12 @@ func (in *attachedDiskTypePtr) ToAttachedDiskTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskTypePtrOutput) } +func (in *attachedDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskType] { + return pulumix.Output[*AttachedDiskType]{ + OutputState: in.ToAttachedDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type AuditLogConfigLogType string @@ -3118,6 +3443,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3153,6 +3484,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -3215,6 +3552,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Define whether peer or origin identity should be used for principal. Default value is USE_PEER. If peer (or origin) identity is not available, either because peer/origin authentication is not defined, or failed, principal will be left unset. In other words, binding rule does not affect the decision to accept or reject request. This field can be set to one of the following: USE_PEER: Principal will be set to the identity from peer authentication. USE_ORIGIN: Principal will be set to the identity from origin authentication. type AuthenticationPolicyPrincipalBinding string @@ -3286,6 +3629,12 @@ func (o AuthenticationPolicyPrincipalBindingOutput) ToAuthenticationPolicyPrinci }).(AuthenticationPolicyPrincipalBindingPtrOutput) } +func (o AuthenticationPolicyPrincipalBindingOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticationPolicyPrincipalBinding] { + return pulumix.Output[AuthenticationPolicyPrincipalBinding]{ + OutputState: o.OutputState, + } +} + func (o AuthenticationPolicyPrincipalBindingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3321,6 +3670,12 @@ func (o AuthenticationPolicyPrincipalBindingPtrOutput) ToAuthenticationPolicyPri return o } +func (o AuthenticationPolicyPrincipalBindingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthenticationPolicyPrincipalBinding] { + return pulumix.Output[*AuthenticationPolicyPrincipalBinding]{ + OutputState: o.OutputState, + } +} + func (o AuthenticationPolicyPrincipalBindingPtrOutput) Elem() AuthenticationPolicyPrincipalBindingOutput { return o.ApplyT(func(v *AuthenticationPolicyPrincipalBinding) AuthenticationPolicyPrincipalBinding { if v != nil { @@ -3383,6 +3738,12 @@ func (in *authenticationPolicyPrincipalBindingPtr) ToAuthenticationPolicyPrincip return pulumi.ToOutputWithContext(ctx, in).(AuthenticationPolicyPrincipalBindingPtrOutput) } +func (in *authenticationPolicyPrincipalBindingPtr) ToOutput(ctx context.Context) pulumix.Output[*AuthenticationPolicyPrincipalBinding] { + return pulumix.Output[*AuthenticationPolicyPrincipalBinding]{ + OutputState: in.ToAuthenticationPolicyPrincipalBindingPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type AuthorizationLoggingOptionsPermissionType string @@ -3459,6 +3820,12 @@ func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToAuthorizationLoggingO }).(AuthorizationLoggingOptionsPermissionTypePtrOutput) } +func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[AuthorizationLoggingOptionsPermissionType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3494,6 +3861,12 @@ func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) ToAuthorizationLoggi return o } +func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[*AuthorizationLoggingOptionsPermissionType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) Elem() AuthorizationLoggingOptionsPermissionTypeOutput { return o.ApplyT(func(v *AuthorizationLoggingOptionsPermissionType) AuthorizationLoggingOptionsPermissionType { if v != nil { @@ -3556,6 +3929,12 @@ func (in *authorizationLoggingOptionsPermissionTypePtr) ToAuthorizationLoggingOp return pulumi.ToOutputWithContext(ctx, in).(AuthorizationLoggingOptionsPermissionTypePtrOutput) } +func (in *authorizationLoggingOptionsPermissionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[*AuthorizationLoggingOptionsPermissionType]{ + OutputState: in.ToAuthorizationLoggingOptionsPermissionTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. type AutoscalingPolicyCpuUtilizationPredictiveMethod string @@ -3629,6 +4008,12 @@ func (o AutoscalingPolicyCpuUtilizationPredictiveMethodOutput) ToAutoscalingPoli }).(AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) } +func (o AutoscalingPolicyCpuUtilizationPredictiveMethodOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilizationPredictiveMethod] { + return pulumix.Output[AutoscalingPolicyCpuUtilizationPredictiveMethod]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCpuUtilizationPredictiveMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3664,6 +4049,12 @@ func (o AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) ToAutoscalingP return o } +func (o AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod] { + return pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) Elem() AutoscalingPolicyCpuUtilizationPredictiveMethodOutput { return o.ApplyT(func(v *AutoscalingPolicyCpuUtilizationPredictiveMethod) AutoscalingPolicyCpuUtilizationPredictiveMethod { if v != nil { @@ -3726,6 +4117,12 @@ func (in *autoscalingPolicyCpuUtilizationPredictiveMethodPtr) ToAutoscalingPolic return pulumi.ToOutputWithContext(ctx, in).(AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) } +func (in *autoscalingPolicyCpuUtilizationPredictiveMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod] { + return pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod]{ + OutputState: in.ToAutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. type AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType string @@ -3798,6 +4195,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput) ToA }).(AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) } +func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3833,6 +4236,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) return o } +func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType] { + return pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) Elem() AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput { return o.ApplyT(func(v *AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType) AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType { if v != nil { @@ -3895,6 +4304,12 @@ func (in *autoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtr) ToAu return pulumi.ToOutputWithContext(ctx, in).(AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) } +func (in *autoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType] { + return pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType]{ + OutputState: in.ToAutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutputWithContext(ctx).OutputState, + } +} + // Defines operating mode for this policy. type AutoscalingPolicyMode string @@ -3969,6 +4384,12 @@ func (o AutoscalingPolicyModeOutput) ToAutoscalingPolicyModePtrOutputWithContext }).(AutoscalingPolicyModePtrOutput) } +func (o AutoscalingPolicyModeOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyMode] { + return pulumix.Output[AutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4004,6 +4425,12 @@ func (o AutoscalingPolicyModePtrOutput) ToAutoscalingPolicyModePtrOutputWithCont return o } +func (o AutoscalingPolicyModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyMode] { + return pulumix.Output[*AutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyModePtrOutput) Elem() AutoscalingPolicyModeOutput { return o.ApplyT(func(v *AutoscalingPolicyMode) AutoscalingPolicyMode { if v != nil { @@ -4066,6 +4493,12 @@ func (in *autoscalingPolicyModePtr) ToAutoscalingPolicyModePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AutoscalingPolicyModePtrOutput) } +func (in *autoscalingPolicyModePtr) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyMode] { + return pulumix.Output[*AutoscalingPolicyMode]{ + OutputState: in.ToAutoscalingPolicyModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. type BackendBalancingMode string @@ -4138,6 +4571,12 @@ func (o BackendBalancingModeOutput) ToBackendBalancingModePtrOutputWithContext(c }).(BackendBalancingModePtrOutput) } +func (o BackendBalancingModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBalancingMode] { + return pulumix.Output[BackendBalancingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBalancingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4173,6 +4612,12 @@ func (o BackendBalancingModePtrOutput) ToBackendBalancingModePtrOutputWithContex return o } +func (o BackendBalancingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBalancingMode] { + return pulumix.Output[*BackendBalancingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBalancingModePtrOutput) Elem() BackendBalancingModeOutput { return o.ApplyT(func(v *BackendBalancingMode) BackendBalancingMode { if v != nil { @@ -4235,6 +4680,12 @@ func (in *backendBalancingModePtr) ToBackendBalancingModePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(BackendBalancingModePtrOutput) } +func (in *backendBalancingModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendBalancingMode] { + return pulumix.Output[*BackendBalancingMode]{ + OutputState: in.ToBackendBalancingModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. type BackendBucketCdnPolicyCacheMode string @@ -4308,6 +4759,12 @@ func (o BackendBucketCdnPolicyCacheModeOutput) ToBackendBucketCdnPolicyCacheMode }).(BackendBucketCdnPolicyCacheModePtrOutput) } +func (o BackendBucketCdnPolicyCacheModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheMode] { + return pulumix.Output[BackendBucketCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyCacheModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4343,6 +4800,12 @@ func (o BackendBucketCdnPolicyCacheModePtrOutput) ToBackendBucketCdnPolicyCacheM return o } +func (o BackendBucketCdnPolicyCacheModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheMode] { + return pulumix.Output[*BackendBucketCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyCacheModePtrOutput) Elem() BackendBucketCdnPolicyCacheModeOutput { return o.ApplyT(func(v *BackendBucketCdnPolicyCacheMode) BackendBucketCdnPolicyCacheMode { if v != nil { @@ -4405,6 +4868,12 @@ func (in *backendBucketCdnPolicyCacheModePtr) ToBackendBucketCdnPolicyCacheModeP return pulumi.ToOutputWithContext(ctx, in).(BackendBucketCdnPolicyCacheModePtrOutput) } +func (in *backendBucketCdnPolicyCacheModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheMode] { + return pulumix.Output[*BackendBucketCdnPolicyCacheMode]{ + OutputState: in.ToBackendBucketCdnPolicyCacheModePtrOutputWithContext(ctx).OutputState, + } +} + // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. type BackendBucketCompressionMode string @@ -4475,6 +4944,12 @@ func (o BackendBucketCompressionModeOutput) ToBackendBucketCompressionModePtrOut }).(BackendBucketCompressionModePtrOutput) } +func (o BackendBucketCompressionModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCompressionMode] { + return pulumix.Output[BackendBucketCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCompressionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4510,6 +4985,12 @@ func (o BackendBucketCompressionModePtrOutput) ToBackendBucketCompressionModePtr return o } +func (o BackendBucketCompressionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCompressionMode] { + return pulumix.Output[*BackendBucketCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCompressionModePtrOutput) Elem() BackendBucketCompressionModeOutput { return o.ApplyT(func(v *BackendBucketCompressionMode) BackendBucketCompressionMode { if v != nil { @@ -4572,6 +5053,12 @@ func (in *backendBucketCompressionModePtr) ToBackendBucketCompressionModePtrOutp return pulumi.ToOutputWithContext(ctx, in).(BackendBucketCompressionModePtrOutput) } +func (in *backendBucketCompressionModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCompressionMode] { + return pulumix.Output[*BackendBucketCompressionMode]{ + OutputState: in.ToBackendBucketCompressionModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. type BackendServiceCdnPolicyCacheMode string @@ -4645,6 +5132,12 @@ func (o BackendServiceCdnPolicyCacheModeOutput) ToBackendServiceCdnPolicyCacheMo }).(BackendServiceCdnPolicyCacheModePtrOutput) } +func (o BackendServiceCdnPolicyCacheModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyCacheMode] { + return pulumix.Output[BackendServiceCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyCacheModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4680,6 +5173,12 @@ func (o BackendServiceCdnPolicyCacheModePtrOutput) ToBackendServiceCdnPolicyCach return o } +func (o BackendServiceCdnPolicyCacheModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicyCacheMode] { + return pulumix.Output[*BackendServiceCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyCacheModePtrOutput) Elem() BackendServiceCdnPolicyCacheModeOutput { return o.ApplyT(func(v *BackendServiceCdnPolicyCacheMode) BackendServiceCdnPolicyCacheMode { if v != nil { @@ -4742,6 +5241,12 @@ func (in *backendServiceCdnPolicyCacheModePtr) ToBackendServiceCdnPolicyCacheMod return pulumi.ToOutputWithContext(ctx, in).(BackendServiceCdnPolicyCacheModePtrOutput) } +func (in *backendServiceCdnPolicyCacheModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicyCacheMode] { + return pulumix.Output[*BackendServiceCdnPolicyCacheMode]{ + OutputState: in.ToBackendServiceCdnPolicyCacheModePtrOutputWithContext(ctx).OutputState, + } +} + // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. type BackendServiceCompressionMode string @@ -4812,6 +5317,12 @@ func (o BackendServiceCompressionModeOutput) ToBackendServiceCompressionModePtrO }).(BackendServiceCompressionModePtrOutput) } +func (o BackendServiceCompressionModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCompressionMode] { + return pulumix.Output[BackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCompressionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4847,6 +5358,12 @@ func (o BackendServiceCompressionModePtrOutput) ToBackendServiceCompressionModeP return o } +func (o BackendServiceCompressionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCompressionMode] { + return pulumix.Output[*BackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCompressionModePtrOutput) Elem() BackendServiceCompressionModeOutput { return o.ApplyT(func(v *BackendServiceCompressionMode) BackendServiceCompressionMode { if v != nil { @@ -4909,6 +5426,12 @@ func (in *backendServiceCompressionModePtr) ToBackendServiceCompressionModePtrOu return pulumi.ToOutputWithContext(ctx, in).(BackendServiceCompressionModePtrOutput) } +func (in *backendServiceCompressionModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCompressionMode] { + return pulumix.Output[*BackendServiceCompressionMode]{ + OutputState: in.ToBackendServiceCompressionModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence). type BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends string @@ -4978,6 +5501,12 @@ func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBa }).(BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) } +func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends] { + return pulumix.Output[BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5013,6 +5542,12 @@ func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBa return o } +func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) Elem() BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsOutput { return o.ApplyT(func(v *BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends) BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends { if v != nil { @@ -5075,6 +5610,12 @@ func (in *backendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthy return pulumi.ToOutputWithContext(ctx, in).(BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) } +func (in *backendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends]{ + OutputState: in.ToBackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode) and [Tracking Mode for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#tracking-mode). type BackendServiceConnectionTrackingPolicyTrackingMode string @@ -5144,6 +5685,12 @@ func (o BackendServiceConnectionTrackingPolicyTrackingModeOutput) ToBackendServi }).(BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) } +func (o BackendServiceConnectionTrackingPolicyTrackingModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicyTrackingMode] { + return pulumix.Output[BackendServiceConnectionTrackingPolicyTrackingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyTrackingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5179,6 +5726,12 @@ func (o BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) ToBackendSe return o } +func (o BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) Elem() BackendServiceConnectionTrackingPolicyTrackingModeOutput { return o.ApplyT(func(v *BackendServiceConnectionTrackingPolicyTrackingMode) BackendServiceConnectionTrackingPolicyTrackingMode { if v != nil { @@ -5241,6 +5794,12 @@ func (in *backendServiceConnectionTrackingPolicyTrackingModePtr) ToBackendServic return pulumi.ToOutputWithContext(ctx, in).(BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) } +func (in *backendServiceConnectionTrackingPolicyTrackingModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode]{ + OutputState: in.ToBackendServiceConnectionTrackingPolicyTrackingModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies preference of traffic to the backend (from the proxy and from the client for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv4 health-checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv6 health-checks are used to check the health of the backends. This field is applicable to either: - Advanced Global External HTTPS Load Balancing (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), - Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). type BackendServiceIpAddressSelectionPolicy string @@ -5315,6 +5874,12 @@ func (o BackendServiceIpAddressSelectionPolicyOutput) ToBackendServiceIpAddressS }).(BackendServiceIpAddressSelectionPolicyPtrOutput) } +func (o BackendServiceIpAddressSelectionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIpAddressSelectionPolicy] { + return pulumix.Output[BackendServiceIpAddressSelectionPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceIpAddressSelectionPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5350,6 +5915,12 @@ func (o BackendServiceIpAddressSelectionPolicyPtrOutput) ToBackendServiceIpAddre return o } +func (o BackendServiceIpAddressSelectionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIpAddressSelectionPolicy] { + return pulumix.Output[*BackendServiceIpAddressSelectionPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceIpAddressSelectionPolicyPtrOutput) Elem() BackendServiceIpAddressSelectionPolicyOutput { return o.ApplyT(func(v *BackendServiceIpAddressSelectionPolicy) BackendServiceIpAddressSelectionPolicy { if v != nil { @@ -5412,6 +5983,12 @@ func (in *backendServiceIpAddressSelectionPolicyPtr) ToBackendServiceIpAddressSe return pulumi.ToOutputWithContext(ctx, in).(BackendServiceIpAddressSelectionPolicyPtrOutput) } +func (in *backendServiceIpAddressSelectionPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIpAddressSelectionPolicy] { + return pulumix.Output[*BackendServiceIpAddressSelectionPolicy]{ + OutputState: in.ToBackendServiceIpAddressSelectionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. type BackendServiceLoadBalancingScheme string @@ -5489,6 +6066,12 @@ func (o BackendServiceLoadBalancingSchemeOutput) ToBackendServiceLoadBalancingSc }).(BackendServiceLoadBalancingSchemePtrOutput) } +func (o BackendServiceLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLoadBalancingScheme] { + return pulumix.Output[BackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5524,6 +6107,12 @@ func (o BackendServiceLoadBalancingSchemePtrOutput) ToBackendServiceLoadBalancin return o } +func (o BackendServiceLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLoadBalancingScheme] { + return pulumix.Output[*BackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLoadBalancingSchemePtrOutput) Elem() BackendServiceLoadBalancingSchemeOutput { return o.ApplyT(func(v *BackendServiceLoadBalancingScheme) BackendServiceLoadBalancingScheme { if v != nil { @@ -5586,6 +6175,12 @@ func (in *backendServiceLoadBalancingSchemePtr) ToBackendServiceLoadBalancingSch return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLoadBalancingSchemePtrOutput) } +func (in *backendServiceLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLoadBalancingScheme] { + return pulumix.Output[*BackendServiceLoadBalancingScheme]{ + OutputState: in.ToBackendServiceLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. type BackendServiceLocalityLbPolicy string @@ -5667,6 +6262,12 @@ func (o BackendServiceLocalityLbPolicyOutput) ToBackendServiceLocalityLbPolicyPt }).(BackendServiceLocalityLbPolicyPtrOutput) } +func (o BackendServiceLocalityLbPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLbPolicy] { + return pulumix.Output[BackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLbPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5702,6 +6303,12 @@ func (o BackendServiceLocalityLbPolicyPtrOutput) ToBackendServiceLocalityLbPolic return o } +func (o BackendServiceLocalityLbPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLbPolicy] { + return pulumix.Output[*BackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLbPolicyPtrOutput) Elem() BackendServiceLocalityLbPolicyOutput { return o.ApplyT(func(v *BackendServiceLocalityLbPolicy) BackendServiceLocalityLbPolicy { if v != nil { @@ -5764,6 +6371,12 @@ func (in *backendServiceLocalityLbPolicyPtr) ToBackendServiceLocalityLbPolicyPtr return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLocalityLbPolicyPtrOutput) } +func (in *backendServiceLocalityLbPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLbPolicy] { + return pulumix.Output[*BackendServiceLocalityLbPolicy]{ + OutputState: in.ToBackendServiceLocalityLbPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. type BackendServiceLocalityLoadBalancingPolicyConfigPolicyName string @@ -5845,6 +6458,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput) ToBacke }).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyName] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyName]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5880,6 +6499,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) ToBa return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) Elem() BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput { return o.ApplyT(func(v *BackendServiceLocalityLoadBalancingPolicyConfigPolicyName) BackendServiceLocalityLoadBalancingPolicyConfigPolicyName { if v != nil { @@ -5942,6 +6567,12 @@ func (in *backendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtr) ToBacken return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) } +func (in *backendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName]{ + OutputState: in.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated in favor of optionalMode. This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL. type BackendServiceLogConfigOptional string @@ -6015,6 +6646,12 @@ func (o BackendServiceLogConfigOptionalOutput) ToBackendServiceLogConfigOptional }).(BackendServiceLogConfigOptionalPtrOutput) } +func (o BackendServiceLogConfigOptionalOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfigOptional] { + return pulumix.Output[BackendServiceLogConfigOptional]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigOptionalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6050,6 +6687,12 @@ func (o BackendServiceLogConfigOptionalPtrOutput) ToBackendServiceLogConfigOptio return o } +func (o BackendServiceLogConfigOptionalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfigOptional] { + return pulumix.Output[*BackendServiceLogConfigOptional]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigOptionalPtrOutput) Elem() BackendServiceLogConfigOptionalOutput { return o.ApplyT(func(v *BackendServiceLogConfigOptional) BackendServiceLogConfigOptional { if v != nil { @@ -6112,6 +6755,12 @@ func (in *backendServiceLogConfigOptionalPtr) ToBackendServiceLogConfigOptionalP return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLogConfigOptionalPtrOutput) } +func (in *backendServiceLogConfigOptionalPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfigOptional] { + return pulumix.Output[*BackendServiceLogConfigOptional]{ + OutputState: in.ToBackendServiceLogConfigOptionalPtrOutputWithContext(ctx).OutputState, + } +} + // This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL. type BackendServiceLogConfigOptionalMode string @@ -6185,6 +6834,12 @@ func (o BackendServiceLogConfigOptionalModeOutput) ToBackendServiceLogConfigOpti }).(BackendServiceLogConfigOptionalModePtrOutput) } +func (o BackendServiceLogConfigOptionalModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfigOptionalMode] { + return pulumix.Output[BackendServiceLogConfigOptionalMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigOptionalModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6220,6 +6875,12 @@ func (o BackendServiceLogConfigOptionalModePtrOutput) ToBackendServiceLogConfigO return o } +func (o BackendServiceLogConfigOptionalModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfigOptionalMode] { + return pulumix.Output[*BackendServiceLogConfigOptionalMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigOptionalModePtrOutput) Elem() BackendServiceLogConfigOptionalModeOutput { return o.ApplyT(func(v *BackendServiceLogConfigOptionalMode) BackendServiceLogConfigOptionalMode { if v != nil { @@ -6282,6 +6943,12 @@ func (in *backendServiceLogConfigOptionalModePtr) ToBackendServiceLogConfigOptio return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLogConfigOptionalModePtrOutput) } +func (in *backendServiceLogConfigOptionalModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfigOptionalMode] { + return pulumix.Output[*BackendServiceLogConfigOptionalMode]{ + OutputState: in.ToBackendServiceLogConfigOptionalModePtrOutputWithContext(ctx).OutputState, + } +} + // The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. type BackendServiceProtocol string @@ -6364,6 +7031,12 @@ func (o BackendServiceProtocolOutput) ToBackendServiceProtocolPtrOutputWithConte }).(BackendServiceProtocolPtrOutput) } +func (o BackendServiceProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceProtocol] { + return pulumix.Output[BackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6399,6 +7072,12 @@ func (o BackendServiceProtocolPtrOutput) ToBackendServiceProtocolPtrOutputWithCo return o } +func (o BackendServiceProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceProtocol] { + return pulumix.Output[*BackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceProtocolPtrOutput) Elem() BackendServiceProtocolOutput { return o.ApplyT(func(v *BackendServiceProtocol) BackendServiceProtocol { if v != nil { @@ -6461,6 +7140,12 @@ func (in *backendServiceProtocolPtr) ToBackendServiceProtocolPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(BackendServiceProtocolPtrOutput) } +func (in *backendServiceProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceProtocol] { + return pulumix.Output[*BackendServiceProtocol]{ + OutputState: in.ToBackendServiceProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). type BackendServiceSessionAffinity string @@ -6543,6 +7228,12 @@ func (o BackendServiceSessionAffinityOutput) ToBackendServiceSessionAffinityPtrO }).(BackendServiceSessionAffinityPtrOutput) } +func (o BackendServiceSessionAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceSessionAffinity] { + return pulumix.Output[BackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceSessionAffinityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6578,6 +7269,12 @@ func (o BackendServiceSessionAffinityPtrOutput) ToBackendServiceSessionAffinityP return o } +func (o BackendServiceSessionAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceSessionAffinity] { + return pulumix.Output[*BackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceSessionAffinityPtrOutput) Elem() BackendServiceSessionAffinityOutput { return o.ApplyT(func(v *BackendServiceSessionAffinity) BackendServiceSessionAffinity { if v != nil { @@ -6640,6 +7337,12 @@ func (in *backendServiceSessionAffinityPtr) ToBackendServiceSessionAffinityPtrOu return pulumi.ToOutputWithContext(ctx, in).(BackendServiceSessionAffinityPtrOutput) } +func (in *backendServiceSessionAffinityPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceSessionAffinity] { + return pulumix.Output[*BackendServiceSessionAffinity]{ + OutputState: in.ToBackendServiceSessionAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // The network scope of the backends that can be added to the backend service. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A backend service with the VPC scope set to GLOBAL_VPC_NETWORK is only allowed to have backends in global VPC networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the backend service is only allowed to have backends in regional networks in the same scope as the backend service. Note: if not specified then GLOBAL_VPC_NETWORK will be used. type BackendServiceVpcNetworkScope string @@ -6710,6 +7413,12 @@ func (o BackendServiceVpcNetworkScopeOutput) ToBackendServiceVpcNetworkScopePtrO }).(BackendServiceVpcNetworkScopePtrOutput) } +func (o BackendServiceVpcNetworkScopeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceVpcNetworkScope] { + return pulumix.Output[BackendServiceVpcNetworkScope]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceVpcNetworkScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6745,6 +7454,12 @@ func (o BackendServiceVpcNetworkScopePtrOutput) ToBackendServiceVpcNetworkScopeP return o } +func (o BackendServiceVpcNetworkScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceVpcNetworkScope] { + return pulumix.Output[*BackendServiceVpcNetworkScope]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceVpcNetworkScopePtrOutput) Elem() BackendServiceVpcNetworkScopeOutput { return o.ApplyT(func(v *BackendServiceVpcNetworkScope) BackendServiceVpcNetworkScope { if v != nil { @@ -6807,6 +7522,12 @@ func (in *backendServiceVpcNetworkScopePtr) ToBackendServiceVpcNetworkScopePtrOu return pulumi.ToOutputWithContext(ctx, in).(BackendServiceVpcNetworkScopePtrOutput) } +func (in *backendServiceVpcNetworkScopePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceVpcNetworkScope] { + return pulumix.Output[*BackendServiceVpcNetworkScope]{ + OutputState: in.ToBackendServiceVpcNetworkScopePtrOutputWithContext(ctx).OutputState, + } +} + // The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: - GCE_VM: The local GCE VM service account credentials are used to access the SDS server. - FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server. type CallCredentialsCallCredentialType string @@ -6878,6 +7599,12 @@ func (o CallCredentialsCallCredentialTypeOutput) ToCallCredentialsCallCredential }).(CallCredentialsCallCredentialTypePtrOutput) } +func (o CallCredentialsCallCredentialTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CallCredentialsCallCredentialType] { + return pulumix.Output[CallCredentialsCallCredentialType]{ + OutputState: o.OutputState, + } +} + func (o CallCredentialsCallCredentialTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6913,6 +7640,12 @@ func (o CallCredentialsCallCredentialTypePtrOutput) ToCallCredentialsCallCredent return o } +func (o CallCredentialsCallCredentialTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CallCredentialsCallCredentialType] { + return pulumix.Output[*CallCredentialsCallCredentialType]{ + OutputState: o.OutputState, + } +} + func (o CallCredentialsCallCredentialTypePtrOutput) Elem() CallCredentialsCallCredentialTypeOutput { return o.ApplyT(func(v *CallCredentialsCallCredentialType) CallCredentialsCallCredentialType { if v != nil { @@ -6975,6 +7708,12 @@ func (in *callCredentialsCallCredentialTypePtr) ToCallCredentialsCallCredentialT return pulumi.ToOutputWithContext(ctx, in).(CallCredentialsCallCredentialTypePtrOutput) } +func (in *callCredentialsCallCredentialTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CallCredentialsCallCredentialType] { + return pulumix.Output[*CallCredentialsCallCredentialType]{ + OutputState: in.ToCallCredentialsCallCredentialTypePtrOutputWithContext(ctx).OutputState, + } +} + // The channel credentials to access the SDS server. This field can be set to one of the following: CERTIFICATES: Use TLS certificates to access the SDS server. GCE_VM: Use local GCE VM credentials to access the SDS server. type ChannelCredentialsChannelCredentialType string @@ -7046,6 +7785,12 @@ func (o ChannelCredentialsChannelCredentialTypeOutput) ToChannelCredentialsChann }).(ChannelCredentialsChannelCredentialTypePtrOutput) } +func (o ChannelCredentialsChannelCredentialTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ChannelCredentialsChannelCredentialType] { + return pulumix.Output[ChannelCredentialsChannelCredentialType]{ + OutputState: o.OutputState, + } +} + func (o ChannelCredentialsChannelCredentialTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7081,6 +7826,12 @@ func (o ChannelCredentialsChannelCredentialTypePtrOutput) ToChannelCredentialsCh return o } +func (o ChannelCredentialsChannelCredentialTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelCredentialsChannelCredentialType] { + return pulumix.Output[*ChannelCredentialsChannelCredentialType]{ + OutputState: o.OutputState, + } +} + func (o ChannelCredentialsChannelCredentialTypePtrOutput) Elem() ChannelCredentialsChannelCredentialTypeOutput { return o.ApplyT(func(v *ChannelCredentialsChannelCredentialType) ChannelCredentialsChannelCredentialType { if v != nil { @@ -7143,6 +7894,12 @@ func (in *channelCredentialsChannelCredentialTypePtr) ToChannelCredentialsChanne return pulumi.ToOutputWithContext(ctx, in).(ChannelCredentialsChannelCredentialTypePtrOutput) } +func (in *channelCredentialsChannelCredentialTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ChannelCredentialsChannelCredentialType] { + return pulumix.Output[*ChannelCredentialsChannelCredentialType]{ + OutputState: in.ToChannelCredentialsChannelCredentialTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates whether connections to this port should be secured using TLS. The value of this field determines how TLS is enforced. This can be set to one of the following values: DISABLE: Do not setup a TLS connection to the backends. SIMPLE: Originate a TLS connection to the backends. MUTUAL: Secure connections to the backends using mutual TLS by presenting client certificates for authentication. type ClientTlsSettingsMode string @@ -7216,6 +7973,12 @@ func (o ClientTlsSettingsModeOutput) ToClientTlsSettingsModePtrOutputWithContext }).(ClientTlsSettingsModePtrOutput) } +func (o ClientTlsSettingsModeOutput) ToOutput(ctx context.Context) pulumix.Output[ClientTlsSettingsMode] { + return pulumix.Output[ClientTlsSettingsMode]{ + OutputState: o.OutputState, + } +} + func (o ClientTlsSettingsModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7251,6 +8014,12 @@ func (o ClientTlsSettingsModePtrOutput) ToClientTlsSettingsModePtrOutputWithCont return o } +func (o ClientTlsSettingsModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsSettingsMode] { + return pulumix.Output[*ClientTlsSettingsMode]{ + OutputState: o.OutputState, + } +} + func (o ClientTlsSettingsModePtrOutput) Elem() ClientTlsSettingsModeOutput { return o.ApplyT(func(v *ClientTlsSettingsMode) ClientTlsSettingsMode { if v != nil { @@ -7313,6 +8082,12 @@ func (in *clientTlsSettingsModePtr) ToClientTlsSettingsModePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ClientTlsSettingsModePtrOutput) } +func (in *clientTlsSettingsModePtr) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsSettingsMode] { + return pulumix.Output[*ClientTlsSettingsMode]{ + OutputState: in.ToClientTlsSettingsModePtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionIam string @@ -7395,6 +8170,12 @@ func (o ConditionIamOutput) ToConditionIamPtrOutputWithContext(ctx context.Conte }).(ConditionIamPtrOutput) } +func (o ConditionIamOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionIam] { + return pulumix.Output[ConditionIam]{ + OutputState: o.OutputState, + } +} + func (o ConditionIamOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7430,6 +8211,12 @@ func (o ConditionIamPtrOutput) ToConditionIamPtrOutputWithContext(ctx context.Co return o } +func (o ConditionIamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionIam] { + return pulumix.Output[*ConditionIam]{ + OutputState: o.OutputState, + } +} + func (o ConditionIamPtrOutput) Elem() ConditionIamOutput { return o.ApplyT(func(v *ConditionIam) ConditionIam { if v != nil { @@ -7492,6 +8279,12 @@ func (in *conditionIamPtr) ToConditionIamPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ConditionIamPtrOutput) } +func (in *conditionIamPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionIam] { + return pulumix.Output[*ConditionIam]{ + OutputState: in.ToConditionIamPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionOp string @@ -7570,6 +8363,12 @@ func (o ConditionOpOutput) ToConditionOpPtrOutputWithContext(ctx context.Context }).(ConditionOpPtrOutput) } +func (o ConditionOpOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionOp] { + return pulumix.Output[ConditionOp]{ + OutputState: o.OutputState, + } +} + func (o ConditionOpOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7605,6 +8404,12 @@ func (o ConditionOpPtrOutput) ToConditionOpPtrOutputWithContext(ctx context.Cont return o } +func (o ConditionOpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionOp] { + return pulumix.Output[*ConditionOp]{ + OutputState: o.OutputState, + } +} + func (o ConditionOpPtrOutput) Elem() ConditionOpOutput { return o.ApplyT(func(v *ConditionOp) ConditionOp { if v != nil { @@ -7667,6 +8472,12 @@ func (in *conditionOpPtr) ToConditionOpPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ConditionOpPtrOutput) } +func (in *conditionOpPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionOp] { + return pulumix.Output[*ConditionOp]{ + OutputState: in.ToConditionOpPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionSys string @@ -7743,6 +8554,12 @@ func (o ConditionSysOutput) ToConditionSysPtrOutputWithContext(ctx context.Conte }).(ConditionSysPtrOutput) } +func (o ConditionSysOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionSys] { + return pulumix.Output[ConditionSys]{ + OutputState: o.OutputState, + } +} + func (o ConditionSysOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7778,6 +8595,12 @@ func (o ConditionSysPtrOutput) ToConditionSysPtrOutputWithContext(ctx context.Co return o } +func (o ConditionSysPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionSys] { + return pulumix.Output[*ConditionSys]{ + OutputState: o.OutputState, + } +} + func (o ConditionSysPtrOutput) Elem() ConditionSysOutput { return o.ApplyT(func(v *ConditionSys) ConditionSys { if v != nil { @@ -7840,6 +8663,12 @@ func (in *conditionSysPtr) ToConditionSysPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ConditionSysPtrOutput) } +func (in *conditionSysPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionSys] { + return pulumix.Output[*ConditionSys]{ + OutputState: in.ToConditionSysPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the type of technology used by the confidential instance. type ConfidentialInstanceConfigConfidentialInstanceType string @@ -7914,6 +8743,12 @@ func (o ConfidentialInstanceConfigConfidentialInstanceTypeOutput) ToConfidential }).(ConfidentialInstanceConfigConfidentialInstanceTypePtrOutput) } +func (o ConfidentialInstanceConfigConfidentialInstanceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfigConfidentialInstanceType] { + return pulumix.Output[ConfidentialInstanceConfigConfidentialInstanceType]{ + OutputState: o.OutputState, + } +} + func (o ConfidentialInstanceConfigConfidentialInstanceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7949,6 +8784,12 @@ func (o ConfidentialInstanceConfigConfidentialInstanceTypePtrOutput) ToConfident return o } +func (o ConfidentialInstanceConfigConfidentialInstanceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialInstanceConfigConfidentialInstanceType] { + return pulumix.Output[*ConfidentialInstanceConfigConfidentialInstanceType]{ + OutputState: o.OutputState, + } +} + func (o ConfidentialInstanceConfigConfidentialInstanceTypePtrOutput) Elem() ConfidentialInstanceConfigConfidentialInstanceTypeOutput { return o.ApplyT(func(v *ConfidentialInstanceConfigConfidentialInstanceType) ConfidentialInstanceConfigConfidentialInstanceType { if v != nil { @@ -8011,6 +8852,12 @@ func (in *confidentialInstanceConfigConfidentialInstanceTypePtr) ToConfidentialI return pulumi.ToOutputWithContext(ctx, in).(ConfidentialInstanceConfigConfidentialInstanceTypePtrOutput) } +func (in *confidentialInstanceConfigConfidentialInstanceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialInstanceConfigConfidentialInstanceType] { + return pulumix.Output[*ConfidentialInstanceConfigConfidentialInstanceType]{ + OutputState: in.ToConfidentialInstanceConfigConfidentialInstanceTypePtrOutputWithContext(ctx).OutputState, + } +} + // The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. type DeprecationStatusState string @@ -8081,6 +8928,12 @@ func (o DeprecationStatusStateOutput) ToDeprecationStatusStatePtrOutputWithConte }).(DeprecationStatusStatePtrOutput) } +func (o DeprecationStatusStateOutput) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatusState] { + return pulumix.Output[DeprecationStatusState]{ + OutputState: o.OutputState, + } +} + func (o DeprecationStatusStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8116,6 +8969,12 @@ func (o DeprecationStatusStatePtrOutput) ToDeprecationStatusStatePtrOutputWithCo return o } +func (o DeprecationStatusStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatusState] { + return pulumix.Output[*DeprecationStatusState]{ + OutputState: o.OutputState, + } +} + func (o DeprecationStatusStatePtrOutput) Elem() DeprecationStatusStateOutput { return o.ApplyT(func(v *DeprecationStatusState) DeprecationStatusState { if v != nil { @@ -8178,6 +9037,12 @@ func (in *deprecationStatusStatePtr) ToDeprecationStatusStatePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(DeprecationStatusStatePtrOutput) } +func (in *deprecationStatusStatePtr) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatusState] { + return pulumix.Output[*DeprecationStatusState]{ + OutputState: in.ToDeprecationStatusStatePtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. type DiskArchitecture string @@ -8250,6 +9115,12 @@ func (o DiskArchitectureOutput) ToDiskArchitecturePtrOutputWithContext(ctx conte }).(DiskArchitecturePtrOutput) } +func (o DiskArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[DiskArchitecture] { + return pulumix.Output[DiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DiskArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8285,6 +9156,12 @@ func (o DiskArchitecturePtrOutput) ToDiskArchitecturePtrOutputWithContext(ctx co return o } +func (o DiskArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskArchitecture] { + return pulumix.Output[*DiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DiskArchitecturePtrOutput) Elem() DiskArchitectureOutput { return o.ApplyT(func(v *DiskArchitecture) DiskArchitecture { if v != nil { @@ -8347,6 +9224,12 @@ func (in *diskArchitecturePtr) ToDiskArchitecturePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(DiskArchitecturePtrOutput) } +func (in *diskArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*DiskArchitecture] { + return pulumix.Output[*DiskArchitecture]{ + OutputState: in.ToDiskArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks. type DiskInstantiationConfigInstantiateFrom string @@ -8427,6 +9310,12 @@ func (o DiskInstantiationConfigInstantiateFromOutput) ToDiskInstantiationConfigI }).(DiskInstantiationConfigInstantiateFromPtrOutput) } +func (o DiskInstantiationConfigInstantiateFromOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfigInstantiateFrom] { + return pulumix.Output[DiskInstantiationConfigInstantiateFrom]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigInstantiateFromOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8462,6 +9351,12 @@ func (o DiskInstantiationConfigInstantiateFromPtrOutput) ToDiskInstantiationConf return o } +func (o DiskInstantiationConfigInstantiateFromPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskInstantiationConfigInstantiateFrom] { + return pulumix.Output[*DiskInstantiationConfigInstantiateFrom]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigInstantiateFromPtrOutput) Elem() DiskInstantiationConfigInstantiateFromOutput { return o.ApplyT(func(v *DiskInstantiationConfigInstantiateFrom) DiskInstantiationConfigInstantiateFrom { if v != nil { @@ -8524,6 +9419,12 @@ func (in *diskInstantiationConfigInstantiateFromPtr) ToDiskInstantiationConfigIn return pulumi.ToOutputWithContext(ctx, in).(DiskInstantiationConfigInstantiateFromPtrOutput) } +func (in *diskInstantiationConfigInstantiateFromPtr) ToOutput(ctx context.Context) pulumix.Output[*DiskInstantiationConfigInstantiateFrom] { + return pulumix.Output[*DiskInstantiationConfigInstantiateFrom]{ + OutputState: in.ToDiskInstantiationConfigInstantiateFromPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. type DiskInterface string @@ -8593,6 +9494,12 @@ func (o DiskInterfaceOutput) ToDiskInterfacePtrOutputWithContext(ctx context.Con }).(DiskInterfacePtrOutput) } +func (o DiskInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInterface] { + return pulumix.Output[DiskInterface]{ + OutputState: o.OutputState, + } +} + func (o DiskInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8628,6 +9535,12 @@ func (o DiskInterfacePtrOutput) ToDiskInterfacePtrOutputWithContext(ctx context. return o } +func (o DiskInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskInterface] { + return pulumix.Output[*DiskInterface]{ + OutputState: o.OutputState, + } +} + func (o DiskInterfacePtrOutput) Elem() DiskInterfaceOutput { return o.ApplyT(func(v *DiskInterface) DiskInterface { if v != nil { @@ -8690,6 +9603,12 @@ func (in *diskInterfacePtr) ToDiskInterfacePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(DiskInterfacePtrOutput) } +func (in *diskInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*DiskInterface] { + return pulumix.Output[*DiskInterface]{ + OutputState: in.ToDiskInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Storage type of the persistent disk. type DiskStorageType string @@ -8758,6 +9677,12 @@ func (o DiskStorageTypeOutput) ToDiskStorageTypePtrOutputWithContext(ctx context }).(DiskStorageTypePtrOutput) } +func (o DiskStorageTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DiskStorageType] { + return pulumix.Output[DiskStorageType]{ + OutputState: o.OutputState, + } +} + func (o DiskStorageTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8793,6 +9718,12 @@ func (o DiskStorageTypePtrOutput) ToDiskStorageTypePtrOutputWithContext(ctx cont return o } +func (o DiskStorageTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskStorageType] { + return pulumix.Output[*DiskStorageType]{ + OutputState: o.OutputState, + } +} + func (o DiskStorageTypePtrOutput) Elem() DiskStorageTypeOutput { return o.ApplyT(func(v *DiskStorageType) DiskStorageType { if v != nil { @@ -8855,6 +9786,12 @@ func (in *diskStorageTypePtr) ToDiskStorageTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(DiskStorageTypePtrOutput) } +func (in *diskStorageTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DiskStorageType] { + return pulumix.Output[*DiskStorageType]{ + OutputState: in.ToDiskStorageTypePtrOutputWithContext(ctx).OutputState, + } +} + // The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). type DistributionPolicyTargetShape string @@ -8929,6 +9866,12 @@ func (o DistributionPolicyTargetShapeOutput) ToDistributionPolicyTargetShapePtrO }).(DistributionPolicyTargetShapePtrOutput) } +func (o DistributionPolicyTargetShapeOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyTargetShape] { + return pulumix.Output[DistributionPolicyTargetShape]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyTargetShapeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8964,6 +9907,12 @@ func (o DistributionPolicyTargetShapePtrOutput) ToDistributionPolicyTargetShapeP return o } +func (o DistributionPolicyTargetShapePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicyTargetShape] { + return pulumix.Output[*DistributionPolicyTargetShape]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyTargetShapePtrOutput) Elem() DistributionPolicyTargetShapeOutput { return o.ApplyT(func(v *DistributionPolicyTargetShape) DistributionPolicyTargetShape { if v != nil { @@ -9026,6 +9975,12 @@ func (in *distributionPolicyTargetShapePtr) ToDistributionPolicyTargetShapePtrOu return pulumi.ToOutputWithContext(ctx, in).(DistributionPolicyTargetShapePtrOutput) } +func (in *distributionPolicyTargetShapePtr) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicyTargetShape] { + return pulumix.Output[*DistributionPolicyTargetShape]{ + OutputState: in.ToDistributionPolicyTargetShapePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the user-supplied redundancy type of this external VPN gateway. type ExternalVpnGatewayRedundancyType string @@ -9098,6 +10053,12 @@ func (o ExternalVpnGatewayRedundancyTypeOutput) ToExternalVpnGatewayRedundancyTy }).(ExternalVpnGatewayRedundancyTypePtrOutput) } +func (o ExternalVpnGatewayRedundancyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayRedundancyType] { + return pulumix.Output[ExternalVpnGatewayRedundancyType]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayRedundancyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9133,6 +10094,12 @@ func (o ExternalVpnGatewayRedundancyTypePtrOutput) ToExternalVpnGatewayRedundanc return o } +func (o ExternalVpnGatewayRedundancyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGatewayRedundancyType] { + return pulumix.Output[*ExternalVpnGatewayRedundancyType]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayRedundancyTypePtrOutput) Elem() ExternalVpnGatewayRedundancyTypeOutput { return o.ApplyT(func(v *ExternalVpnGatewayRedundancyType) ExternalVpnGatewayRedundancyType { if v != nil { @@ -9195,6 +10162,12 @@ func (in *externalVpnGatewayRedundancyTypePtr) ToExternalVpnGatewayRedundancyTyp return pulumi.ToOutputWithContext(ctx, in).(ExternalVpnGatewayRedundancyTypePtrOutput) } +func (in *externalVpnGatewayRedundancyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGatewayRedundancyType] { + return pulumix.Output[*ExternalVpnGatewayRedundancyType]{ + OutputState: in.ToExternalVpnGatewayRedundancyTypePtrOutputWithContext(ctx).OutputState, + } +} + // The file type of source file. type FileContentBufferFileType string @@ -9264,6 +10237,12 @@ func (o FileContentBufferFileTypeOutput) ToFileContentBufferFileTypePtrOutputWit }).(FileContentBufferFileTypePtrOutput) } +func (o FileContentBufferFileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[FileContentBufferFileType] { + return pulumix.Output[FileContentBufferFileType]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferFileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9299,6 +10278,12 @@ func (o FileContentBufferFileTypePtrOutput) ToFileContentBufferFileTypePtrOutput return o } +func (o FileContentBufferFileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileContentBufferFileType] { + return pulumix.Output[*FileContentBufferFileType]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferFileTypePtrOutput) Elem() FileContentBufferFileTypeOutput { return o.ApplyT(func(v *FileContentBufferFileType) FileContentBufferFileType { if v != nil { @@ -9361,6 +10346,12 @@ func (in *fileContentBufferFileTypePtr) ToFileContentBufferFileTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(FileContentBufferFileTypePtrOutput) } +func (in *fileContentBufferFileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*FileContentBufferFileType] { + return pulumix.Output[*FileContentBufferFileType]{ + OutputState: in.ToFileContentBufferFileTypePtrOutputWithContext(ctx).OutputState, + } +} + // Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields. type FirewallDirection string @@ -9431,6 +10422,12 @@ func (o FirewallDirectionOutput) ToFirewallDirectionPtrOutputWithContext(ctx con }).(FirewallDirectionPtrOutput) } +func (o FirewallDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallDirection] { + return pulumix.Output[FirewallDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9466,6 +10463,12 @@ func (o FirewallDirectionPtrOutput) ToFirewallDirectionPtrOutputWithContext(ctx return o } +func (o FirewallDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallDirection] { + return pulumix.Output[*FirewallDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallDirectionPtrOutput) Elem() FirewallDirectionOutput { return o.ApplyT(func(v *FirewallDirection) FirewallDirection { if v != nil { @@ -9528,6 +10531,12 @@ func (in *firewallDirectionPtr) ToFirewallDirectionPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(FirewallDirectionPtrOutput) } +func (in *firewallDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*FirewallDirection] { + return pulumix.Output[*FirewallDirection]{ + OutputState: in.ToFirewallDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs. type FirewallLogConfigMetadata string @@ -9596,6 +10605,12 @@ func (o FirewallLogConfigMetadataOutput) ToFirewallLogConfigMetadataPtrOutputWit }).(FirewallLogConfigMetadataPtrOutput) } +func (o FirewallLogConfigMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfigMetadata] { + return pulumix.Output[FirewallLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o FirewallLogConfigMetadataOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9631,6 +10646,12 @@ func (o FirewallLogConfigMetadataPtrOutput) ToFirewallLogConfigMetadataPtrOutput return o } +func (o FirewallLogConfigMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfigMetadata] { + return pulumix.Output[*FirewallLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o FirewallLogConfigMetadataPtrOutput) Elem() FirewallLogConfigMetadataOutput { return o.ApplyT(func(v *FirewallLogConfigMetadata) FirewallLogConfigMetadata { if v != nil { @@ -9693,6 +10714,12 @@ func (in *firewallLogConfigMetadataPtr) ToFirewallLogConfigMetadataPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(FirewallLogConfigMetadataPtrOutput) } +func (in *firewallLogConfigMetadataPtr) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfigMetadata] { + return pulumix.Output[*FirewallLogConfigMetadata]{ + OutputState: in.ToFirewallLogConfigMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // The direction in which this rule applies. type FirewallPolicyRuleDirection string @@ -9761,6 +10788,12 @@ func (o FirewallPolicyRuleDirectionOutput) ToFirewallPolicyRuleDirectionPtrOutpu }).(FirewallPolicyRuleDirectionPtrOutput) } +func (o FirewallPolicyRuleDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleDirection] { + return pulumix.Output[FirewallPolicyRuleDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9796,6 +10829,12 @@ func (o FirewallPolicyRuleDirectionPtrOutput) ToFirewallPolicyRuleDirectionPtrOu return o } +func (o FirewallPolicyRuleDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleDirection] { + return pulumix.Output[*FirewallPolicyRuleDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleDirectionPtrOutput) Elem() FirewallPolicyRuleDirectionOutput { return o.ApplyT(func(v *FirewallPolicyRuleDirection) FirewallPolicyRuleDirection { if v != nil { @@ -9858,6 +10897,12 @@ func (in *firewallPolicyRuleDirectionPtr) ToFirewallPolicyRuleDirectionPtrOutput return pulumi.ToOutputWithContext(ctx, in).(FirewallPolicyRuleDirectionPtrOutput) } +func (in *firewallPolicyRuleDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleDirection] { + return pulumix.Output[*FirewallPolicyRuleDirection]{ + OutputState: in.ToFirewallPolicyRuleDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // The scope of networks allowed to be associated with the firewall policy. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A firewall policy with the VPC scope set to GLOBAL_VPC_NETWORK is allowed to be attached only to global networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the firewall policy is allowed to be attached only to regional networks in the same scope as the firewall policy. Note: if not specified then GLOBAL_VPC_NETWORK will be used. type FirewallPolicyVpcNetworkScope string @@ -9928,6 +10973,12 @@ func (o FirewallPolicyVpcNetworkScopeOutput) ToFirewallPolicyVpcNetworkScopePtrO }).(FirewallPolicyVpcNetworkScopePtrOutput) } +func (o FirewallPolicyVpcNetworkScopeOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyVpcNetworkScope] { + return pulumix.Output[FirewallPolicyVpcNetworkScope]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyVpcNetworkScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9963,6 +11014,12 @@ func (o FirewallPolicyVpcNetworkScopePtrOutput) ToFirewallPolicyVpcNetworkScopeP return o } +func (o FirewallPolicyVpcNetworkScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyVpcNetworkScope] { + return pulumix.Output[*FirewallPolicyVpcNetworkScope]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyVpcNetworkScopePtrOutput) Elem() FirewallPolicyVpcNetworkScopeOutput { return o.ApplyT(func(v *FirewallPolicyVpcNetworkScope) FirewallPolicyVpcNetworkScope { if v != nil { @@ -10025,6 +11082,12 @@ func (in *firewallPolicyVpcNetworkScopePtr) ToFirewallPolicyVpcNetworkScopePtrOu return pulumi.ToOutputWithContext(ctx, in).(FirewallPolicyVpcNetworkScopePtrOutput) } +func (in *firewallPolicyVpcNetworkScopePtr) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyVpcNetworkScope] { + return pulumix.Output[*FirewallPolicyVpcNetworkScope]{ + OutputState: in.ToFirewallPolicyVpcNetworkScopePtrOutputWithContext(ctx).OutputState, + } +} + // The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends). type ForwardingRuleIpProtocol string @@ -10099,6 +11162,12 @@ func (o ForwardingRuleIpProtocolOutput) ToForwardingRuleIpProtocolPtrOutputWithC }).(ForwardingRuleIpProtocolPtrOutput) } +func (o ForwardingRuleIpProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleIpProtocol] { + return pulumix.Output[ForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10134,6 +11203,12 @@ func (o ForwardingRuleIpProtocolPtrOutput) ToForwardingRuleIpProtocolPtrOutputWi return o } +func (o ForwardingRuleIpProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpProtocol] { + return pulumix.Output[*ForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpProtocolPtrOutput) Elem() ForwardingRuleIpProtocolOutput { return o.ApplyT(func(v *ForwardingRuleIpProtocol) ForwardingRuleIpProtocol { if v != nil { @@ -10196,6 +11271,12 @@ func (in *forwardingRuleIpProtocolPtr) ToForwardingRuleIpProtocolPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleIpProtocolPtrOutput) } +func (in *forwardingRuleIpProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpProtocol] { + return pulumix.Output[*ForwardingRuleIpProtocol]{ + OutputState: in.ToForwardingRuleIpProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. type ForwardingRuleIpVersion string @@ -10265,6 +11346,12 @@ func (o ForwardingRuleIpVersionOutput) ToForwardingRuleIpVersionPtrOutputWithCon }).(ForwardingRuleIpVersionPtrOutput) } +func (o ForwardingRuleIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleIpVersion] { + return pulumix.Output[ForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10300,6 +11387,12 @@ func (o ForwardingRuleIpVersionPtrOutput) ToForwardingRuleIpVersionPtrOutputWith return o } +func (o ForwardingRuleIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpVersion] { + return pulumix.Output[*ForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpVersionPtrOutput) Elem() ForwardingRuleIpVersionOutput { return o.ApplyT(func(v *ForwardingRuleIpVersion) ForwardingRuleIpVersion { if v != nil { @@ -10362,6 +11455,12 @@ func (in *forwardingRuleIpVersionPtr) ToForwardingRuleIpVersionPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleIpVersionPtrOutput) } +func (in *forwardingRuleIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpVersion] { + return pulumix.Output[*ForwardingRuleIpVersion]{ + OutputState: in.ToForwardingRuleIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts. type ForwardingRuleLoadBalancingScheme string @@ -10434,6 +11533,12 @@ func (o ForwardingRuleLoadBalancingSchemeOutput) ToForwardingRuleLoadBalancingSc }).(ForwardingRuleLoadBalancingSchemePtrOutput) } +func (o ForwardingRuleLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleLoadBalancingScheme] { + return pulumix.Output[ForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10469,6 +11574,12 @@ func (o ForwardingRuleLoadBalancingSchemePtrOutput) ToForwardingRuleLoadBalancin return o } +func (o ForwardingRuleLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*ForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleLoadBalancingSchemePtrOutput) Elem() ForwardingRuleLoadBalancingSchemeOutput { return o.ApplyT(func(v *ForwardingRuleLoadBalancingScheme) ForwardingRuleLoadBalancingScheme { if v != nil { @@ -10531,6 +11642,12 @@ func (in *forwardingRuleLoadBalancingSchemePtr) ToForwardingRuleLoadBalancingSch return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleLoadBalancingSchemePtrOutput) } +func (in *forwardingRuleLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*ForwardingRuleLoadBalancingScheme]{ + OutputState: in.ToForwardingRuleLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. type ForwardingRuleNetworkTier string @@ -10607,6 +11724,12 @@ func (o ForwardingRuleNetworkTierOutput) ToForwardingRuleNetworkTierPtrOutputWit }).(ForwardingRuleNetworkTierPtrOutput) } +func (o ForwardingRuleNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleNetworkTier] { + return pulumix.Output[ForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10642,6 +11765,12 @@ func (o ForwardingRuleNetworkTierPtrOutput) ToForwardingRuleNetworkTierPtrOutput return o } +func (o ForwardingRuleNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleNetworkTier] { + return pulumix.Output[*ForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleNetworkTierPtrOutput) Elem() ForwardingRuleNetworkTierOutput { return o.ApplyT(func(v *ForwardingRuleNetworkTier) ForwardingRuleNetworkTier { if v != nil { @@ -10704,6 +11833,12 @@ func (in *forwardingRuleNetworkTierPtr) ToForwardingRuleNetworkTierPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleNetworkTierPtrOutput) } +func (in *forwardingRuleNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleNetworkTier] { + return pulumix.Output[*ForwardingRuleNetworkTier]{ + OutputState: in.ToForwardingRuleNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + type ForwardingRulePscConnectionStatus string const ( @@ -10780,6 +11915,12 @@ func (o ForwardingRulePscConnectionStatusOutput) ToForwardingRulePscConnectionSt }).(ForwardingRulePscConnectionStatusPtrOutput) } +func (o ForwardingRulePscConnectionStatusOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRulePscConnectionStatus] { + return pulumix.Output[ForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRulePscConnectionStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10815,6 +11956,12 @@ func (o ForwardingRulePscConnectionStatusPtrOutput) ToForwardingRulePscConnectio return o } +func (o ForwardingRulePscConnectionStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRulePscConnectionStatus] { + return pulumix.Output[*ForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRulePscConnectionStatusPtrOutput) Elem() ForwardingRulePscConnectionStatusOutput { return o.ApplyT(func(v *ForwardingRulePscConnectionStatus) ForwardingRulePscConnectionStatus { if v != nil { @@ -10877,6 +12024,12 @@ func (in *forwardingRulePscConnectionStatusPtr) ToForwardingRulePscConnectionSta return pulumi.ToOutputWithContext(ctx, in).(ForwardingRulePscConnectionStatusPtrOutput) } +func (in *forwardingRulePscConnectionStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRulePscConnectionStatus] { + return pulumix.Output[*ForwardingRulePscConnectionStatus]{ + OutputState: in.ToForwardingRulePscConnectionStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Planning state before being submitted for evaluation type FutureReservationPlanningStatus string @@ -10948,6 +12101,12 @@ func (o FutureReservationPlanningStatusOutput) ToFutureReservationPlanningStatus }).(FutureReservationPlanningStatusPtrOutput) } +func (o FutureReservationPlanningStatusOutput) ToOutput(ctx context.Context) pulumix.Output[FutureReservationPlanningStatus] { + return pulumix.Output[FutureReservationPlanningStatus]{ + OutputState: o.OutputState, + } +} + func (o FutureReservationPlanningStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10983,6 +12142,12 @@ func (o FutureReservationPlanningStatusPtrOutput) ToFutureReservationPlanningSta return o } +func (o FutureReservationPlanningStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FutureReservationPlanningStatus] { + return pulumix.Output[*FutureReservationPlanningStatus]{ + OutputState: o.OutputState, + } +} + func (o FutureReservationPlanningStatusPtrOutput) Elem() FutureReservationPlanningStatusOutput { return o.ApplyT(func(v *FutureReservationPlanningStatus) FutureReservationPlanningStatus { if v != nil { @@ -11045,6 +12210,12 @@ func (in *futureReservationPlanningStatusPtr) ToFutureReservationPlanningStatusP return pulumi.ToOutputWithContext(ctx, in).(FutureReservationPlanningStatusPtrOutput) } +func (in *futureReservationPlanningStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*FutureReservationPlanningStatus] { + return pulumix.Output[*FutureReservationPlanningStatus]{ + OutputState: in.ToFutureReservationPlanningStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type GRPCHealthCheckPortSpecification string @@ -11117,6 +12288,12 @@ func (o GRPCHealthCheckPortSpecificationOutput) ToGRPCHealthCheckPortSpecificati }).(GRPCHealthCheckPortSpecificationPtrOutput) } +func (o GRPCHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheckPortSpecification] { + return pulumix.Output[GRPCHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o GRPCHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11152,6 +12329,12 @@ func (o GRPCHealthCheckPortSpecificationPtrOutput) ToGRPCHealthCheckPortSpecific return o } +func (o GRPCHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheckPortSpecification] { + return pulumix.Output[*GRPCHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o GRPCHealthCheckPortSpecificationPtrOutput) Elem() GRPCHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *GRPCHealthCheckPortSpecification) GRPCHealthCheckPortSpecification { if v != nil { @@ -11214,6 +12397,12 @@ func (in *grpchealthCheckPortSpecificationPtr) ToGRPCHealthCheckPortSpecificatio return pulumi.ToOutputWithContext(ctx, in).(GRPCHealthCheckPortSpecificationPtrOutput) } +func (in *grpchealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheckPortSpecification] { + return pulumix.Output[*GRPCHealthCheckPortSpecification]{ + OutputState: in.ToGRPCHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. type GlobalAddressAddressType string @@ -11287,6 +12476,12 @@ func (o GlobalAddressAddressTypeOutput) ToGlobalAddressAddressTypePtrOutputWithC }).(GlobalAddressAddressTypePtrOutput) } +func (o GlobalAddressAddressTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressAddressType] { + return pulumix.Output[GlobalAddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressAddressTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11322,6 +12517,12 @@ func (o GlobalAddressAddressTypePtrOutput) ToGlobalAddressAddressTypePtrOutputWi return o } +func (o GlobalAddressAddressTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressAddressType] { + return pulumix.Output[*GlobalAddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressAddressTypePtrOutput) Elem() GlobalAddressAddressTypeOutput { return o.ApplyT(func(v *GlobalAddressAddressType) GlobalAddressAddressType { if v != nil { @@ -11384,6 +12585,12 @@ func (in *globalAddressAddressTypePtr) ToGlobalAddressAddressTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressAddressTypePtrOutput) } +func (in *globalAddressAddressTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressAddressType] { + return pulumix.Output[*GlobalAddressAddressType]{ + OutputState: in.ToGlobalAddressAddressTypePtrOutputWithContext(ctx).OutputState, + } +} + // The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. type GlobalAddressIpVersion string @@ -11453,6 +12660,12 @@ func (o GlobalAddressIpVersionOutput) ToGlobalAddressIpVersionPtrOutputWithConte }).(GlobalAddressIpVersionPtrOutput) } +func (o GlobalAddressIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressIpVersion] { + return pulumix.Output[GlobalAddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11488,6 +12701,12 @@ func (o GlobalAddressIpVersionPtrOutput) ToGlobalAddressIpVersionPtrOutputWithCo return o } +func (o GlobalAddressIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpVersion] { + return pulumix.Output[*GlobalAddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpVersionPtrOutput) Elem() GlobalAddressIpVersionOutput { return o.ApplyT(func(v *GlobalAddressIpVersion) GlobalAddressIpVersion { if v != nil { @@ -11550,6 +12769,12 @@ func (in *globalAddressIpVersionPtr) ToGlobalAddressIpVersionPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressIpVersionPtrOutput) } +func (in *globalAddressIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpVersion] { + return pulumix.Output[*GlobalAddressIpVersion]{ + OutputState: in.ToGlobalAddressIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. type GlobalAddressIpv6EndpointType string @@ -11620,6 +12845,12 @@ func (o GlobalAddressIpv6EndpointTypeOutput) ToGlobalAddressIpv6EndpointTypePtrO }).(GlobalAddressIpv6EndpointTypePtrOutput) } +func (o GlobalAddressIpv6EndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressIpv6EndpointType] { + return pulumix.Output[GlobalAddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpv6EndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11655,6 +12886,12 @@ func (o GlobalAddressIpv6EndpointTypePtrOutput) ToGlobalAddressIpv6EndpointTypeP return o } +func (o GlobalAddressIpv6EndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpv6EndpointType] { + return pulumix.Output[*GlobalAddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpv6EndpointTypePtrOutput) Elem() GlobalAddressIpv6EndpointTypeOutput { return o.ApplyT(func(v *GlobalAddressIpv6EndpointType) GlobalAddressIpv6EndpointType { if v != nil { @@ -11717,6 +12954,12 @@ func (in *globalAddressIpv6EndpointTypePtr) ToGlobalAddressIpv6EndpointTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressIpv6EndpointTypePtrOutput) } +func (in *globalAddressIpv6EndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpv6EndpointType] { + return pulumix.Output[*GlobalAddressIpv6EndpointType]{ + OutputState: in.ToGlobalAddressIpv6EndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. type GlobalAddressNetworkTier string @@ -11793,6 +13036,12 @@ func (o GlobalAddressNetworkTierOutput) ToGlobalAddressNetworkTierPtrOutputWithC }).(GlobalAddressNetworkTierPtrOutput) } +func (o GlobalAddressNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressNetworkTier] { + return pulumix.Output[GlobalAddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11828,6 +13077,12 @@ func (o GlobalAddressNetworkTierPtrOutput) ToGlobalAddressNetworkTierPtrOutputWi return o } +func (o GlobalAddressNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressNetworkTier] { + return pulumix.Output[*GlobalAddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressNetworkTierPtrOutput) Elem() GlobalAddressNetworkTierOutput { return o.ApplyT(func(v *GlobalAddressNetworkTier) GlobalAddressNetworkTier { if v != nil { @@ -11890,6 +13145,12 @@ func (in *globalAddressNetworkTierPtr) ToGlobalAddressNetworkTierPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressNetworkTierPtrOutput) } +func (in *globalAddressNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressNetworkTier] { + return pulumix.Output[*GlobalAddressNetworkTier]{ + OutputState: in.ToGlobalAddressNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + // The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. type GlobalAddressPurpose string @@ -11972,6 +13233,12 @@ func (o GlobalAddressPurposeOutput) ToGlobalAddressPurposePtrOutputWithContext(c }).(GlobalAddressPurposePtrOutput) } +func (o GlobalAddressPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressPurpose] { + return pulumix.Output[GlobalAddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12007,6 +13274,12 @@ func (o GlobalAddressPurposePtrOutput) ToGlobalAddressPurposePtrOutputWithContex return o } +func (o GlobalAddressPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressPurpose] { + return pulumix.Output[*GlobalAddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressPurposePtrOutput) Elem() GlobalAddressPurposeOutput { return o.ApplyT(func(v *GlobalAddressPurpose) GlobalAddressPurpose { if v != nil { @@ -12069,6 +13342,12 @@ func (in *globalAddressPurposePtr) ToGlobalAddressPurposePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressPurposePtrOutput) } +func (in *globalAddressPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressPurpose] { + return pulumix.Output[*GlobalAddressPurpose]{ + OutputState: in.ToGlobalAddressPurposePtrOutputWithContext(ctx).OutputState, + } +} + // The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends). type GlobalForwardingRuleIpProtocol string @@ -12143,6 +13422,12 @@ func (o GlobalForwardingRuleIpProtocolOutput) ToGlobalForwardingRuleIpProtocolPt }).(GlobalForwardingRuleIpProtocolPtrOutput) } +func (o GlobalForwardingRuleIpProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleIpProtocol] { + return pulumix.Output[GlobalForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12178,6 +13463,12 @@ func (o GlobalForwardingRuleIpProtocolPtrOutput) ToGlobalForwardingRuleIpProtoco return o } +func (o GlobalForwardingRuleIpProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpProtocol] { + return pulumix.Output[*GlobalForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpProtocolPtrOutput) Elem() GlobalForwardingRuleIpProtocolOutput { return o.ApplyT(func(v *GlobalForwardingRuleIpProtocol) GlobalForwardingRuleIpProtocol { if v != nil { @@ -12240,6 +13531,12 @@ func (in *globalForwardingRuleIpProtocolPtr) ToGlobalForwardingRuleIpProtocolPtr return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleIpProtocolPtrOutput) } +func (in *globalForwardingRuleIpProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpProtocol] { + return pulumix.Output[*GlobalForwardingRuleIpProtocol]{ + OutputState: in.ToGlobalForwardingRuleIpProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. type GlobalForwardingRuleIpVersion string @@ -12309,6 +13606,12 @@ func (o GlobalForwardingRuleIpVersionOutput) ToGlobalForwardingRuleIpVersionPtrO }).(GlobalForwardingRuleIpVersionPtrOutput) } +func (o GlobalForwardingRuleIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleIpVersion] { + return pulumix.Output[GlobalForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12344,6 +13647,12 @@ func (o GlobalForwardingRuleIpVersionPtrOutput) ToGlobalForwardingRuleIpVersionP return o } +func (o GlobalForwardingRuleIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpVersion] { + return pulumix.Output[*GlobalForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpVersionPtrOutput) Elem() GlobalForwardingRuleIpVersionOutput { return o.ApplyT(func(v *GlobalForwardingRuleIpVersion) GlobalForwardingRuleIpVersion { if v != nil { @@ -12406,6 +13715,12 @@ func (in *globalForwardingRuleIpVersionPtr) ToGlobalForwardingRuleIpVersionPtrOu return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleIpVersionPtrOutput) } +func (in *globalForwardingRuleIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpVersion] { + return pulumix.Output[*GlobalForwardingRuleIpVersion]{ + OutputState: in.ToGlobalForwardingRuleIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts. type GlobalForwardingRuleLoadBalancingScheme string @@ -12478,6 +13793,12 @@ func (o GlobalForwardingRuleLoadBalancingSchemeOutput) ToGlobalForwardingRuleLoa }).(GlobalForwardingRuleLoadBalancingSchemePtrOutput) } +func (o GlobalForwardingRuleLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleLoadBalancingScheme] { + return pulumix.Output[GlobalForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12513,6 +13834,12 @@ func (o GlobalForwardingRuleLoadBalancingSchemePtrOutput) ToGlobalForwardingRule return o } +func (o GlobalForwardingRuleLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleLoadBalancingSchemePtrOutput) Elem() GlobalForwardingRuleLoadBalancingSchemeOutput { return o.ApplyT(func(v *GlobalForwardingRuleLoadBalancingScheme) GlobalForwardingRuleLoadBalancingScheme { if v != nil { @@ -12575,6 +13902,12 @@ func (in *globalForwardingRuleLoadBalancingSchemePtr) ToGlobalForwardingRuleLoad return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleLoadBalancingSchemePtrOutput) } +func (in *globalForwardingRuleLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme]{ + OutputState: in.ToGlobalForwardingRuleLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. type GlobalForwardingRuleNetworkTier string @@ -12651,6 +13984,12 @@ func (o GlobalForwardingRuleNetworkTierOutput) ToGlobalForwardingRuleNetworkTier }).(GlobalForwardingRuleNetworkTierPtrOutput) } +func (o GlobalForwardingRuleNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleNetworkTier] { + return pulumix.Output[GlobalForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12686,6 +14025,12 @@ func (o GlobalForwardingRuleNetworkTierPtrOutput) ToGlobalForwardingRuleNetworkT return o } +func (o GlobalForwardingRuleNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleNetworkTier] { + return pulumix.Output[*GlobalForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleNetworkTierPtrOutput) Elem() GlobalForwardingRuleNetworkTierOutput { return o.ApplyT(func(v *GlobalForwardingRuleNetworkTier) GlobalForwardingRuleNetworkTier { if v != nil { @@ -12748,6 +14093,12 @@ func (in *globalForwardingRuleNetworkTierPtr) ToGlobalForwardingRuleNetworkTierP return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleNetworkTierPtrOutput) } +func (in *globalForwardingRuleNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleNetworkTier] { + return pulumix.Output[*GlobalForwardingRuleNetworkTier]{ + OutputState: in.ToGlobalForwardingRuleNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + type GlobalForwardingRulePscConnectionStatus string const ( @@ -12824,6 +14175,12 @@ func (o GlobalForwardingRulePscConnectionStatusOutput) ToGlobalForwardingRulePsc }).(GlobalForwardingRulePscConnectionStatusPtrOutput) } +func (o GlobalForwardingRulePscConnectionStatusOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRulePscConnectionStatus] { + return pulumix.Output[GlobalForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRulePscConnectionStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12859,6 +14216,12 @@ func (o GlobalForwardingRulePscConnectionStatusPtrOutput) ToGlobalForwardingRule return o } +func (o GlobalForwardingRulePscConnectionStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRulePscConnectionStatus] { + return pulumix.Output[*GlobalForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRulePscConnectionStatusPtrOutput) Elem() GlobalForwardingRulePscConnectionStatusOutput { return o.ApplyT(func(v *GlobalForwardingRulePscConnectionStatus) GlobalForwardingRulePscConnectionStatus { if v != nil { @@ -12921,6 +14284,12 @@ func (in *globalForwardingRulePscConnectionStatusPtr) ToGlobalForwardingRulePscC return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRulePscConnectionStatusPtrOutput) } +func (in *globalForwardingRulePscConnectionStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRulePscConnectionStatus] { + return pulumix.Output[*GlobalForwardingRulePscConnectionStatus]{ + OutputState: in.ToGlobalForwardingRulePscConnectionStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. type GlobalNetworkEndpointGroupNetworkEndpointType string @@ -13003,6 +14372,12 @@ func (o GlobalNetworkEndpointGroupNetworkEndpointTypeOutput) ToGlobalNetworkEndp }).(GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (o GlobalNetworkEndpointGroupNetworkEndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[GlobalNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalNetworkEndpointGroupNetworkEndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13038,6 +14413,12 @@ func (o GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToGlobalNetworkE return o } +func (o GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) Elem() GlobalNetworkEndpointGroupNetworkEndpointTypeOutput { return o.ApplyT(func(v *GlobalNetworkEndpointGroupNetworkEndpointType) GlobalNetworkEndpointGroupNetworkEndpointType { if v != nil { @@ -13100,6 +14481,12 @@ func (in *globalNetworkEndpointGroupNetworkEndpointTypePtr) ToGlobalNetworkEndpo return pulumi.ToOutputWithContext(ctx, in).(GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (in *globalNetworkEndpointGroupNetworkEndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType]{ + OutputState: in.ToGlobalNetworkEndpointGroupNetworkEndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specify the type of this network endpoint group. Only LOAD_BALANCING is valid for now. type GlobalNetworkEndpointGroupType string @@ -13168,6 +14555,12 @@ func (o GlobalNetworkEndpointGroupTypeOutput) ToGlobalNetworkEndpointGroupTypePt }).(GlobalNetworkEndpointGroupTypePtrOutput) } +func (o GlobalNetworkEndpointGroupTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalNetworkEndpointGroupType] { + return pulumix.Output[GlobalNetworkEndpointGroupType]{ + OutputState: o.OutputState, + } +} + func (o GlobalNetworkEndpointGroupTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13203,6 +14596,12 @@ func (o GlobalNetworkEndpointGroupTypePtrOutput) ToGlobalNetworkEndpointGroupTyp return o } +func (o GlobalNetworkEndpointGroupTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroupType] { + return pulumix.Output[*GlobalNetworkEndpointGroupType]{ + OutputState: o.OutputState, + } +} + func (o GlobalNetworkEndpointGroupTypePtrOutput) Elem() GlobalNetworkEndpointGroupTypeOutput { return o.ApplyT(func(v *GlobalNetworkEndpointGroupType) GlobalNetworkEndpointGroupType { if v != nil { @@ -13265,6 +14664,12 @@ func (in *globalNetworkEndpointGroupTypePtr) ToGlobalNetworkEndpointGroupTypePtr return pulumi.ToOutputWithContext(ctx, in).(GlobalNetworkEndpointGroupTypePtrOutput) } +func (in *globalNetworkEndpointGroupTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroupType] { + return pulumix.Output[*GlobalNetworkEndpointGroupType]{ + OutputState: in.ToGlobalNetworkEndpointGroupTypePtrOutputWithContext(ctx).OutputState, + } +} + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features. type GuestOsFeatureType string @@ -13343,6 +14748,12 @@ func (o GuestOsFeatureTypeOutput) ToGuestOsFeatureTypePtrOutputWithContext(ctx c }).(GuestOsFeatureTypePtrOutput) } +func (o GuestOsFeatureTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeatureType] { + return pulumix.Output[GuestOsFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13378,6 +14789,12 @@ func (o GuestOsFeatureTypePtrOutput) ToGuestOsFeatureTypePtrOutputWithContext(ct return o } +func (o GuestOsFeatureTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GuestOsFeatureType] { + return pulumix.Output[*GuestOsFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureTypePtrOutput) Elem() GuestOsFeatureTypeOutput { return o.ApplyT(func(v *GuestOsFeatureType) GuestOsFeatureType { if v != nil { @@ -13440,6 +14857,12 @@ func (in *guestOsFeatureTypePtr) ToGuestOsFeatureTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(GuestOsFeatureTypePtrOutput) } +func (in *guestOsFeatureTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GuestOsFeatureType] { + return pulumix.Output[*GuestOsFeatureType]{ + OutputState: in.ToGuestOsFeatureTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type HTTP2HealthCheckPortSpecification string @@ -13512,6 +14935,12 @@ func (o HTTP2HealthCheckPortSpecificationOutput) ToHTTP2HealthCheckPortSpecifica }).(HTTP2HealthCheckPortSpecificationPtrOutput) } +func (o HTTP2HealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheckPortSpecification] { + return pulumix.Output[HTTP2HealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13547,6 +14976,12 @@ func (o HTTP2HealthCheckPortSpecificationPtrOutput) ToHTTP2HealthCheckPortSpecif return o } +func (o HTTP2HealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckPortSpecification] { + return pulumix.Output[*HTTP2HealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckPortSpecificationPtrOutput) Elem() HTTP2HealthCheckPortSpecificationOutput { return o.ApplyT(func(v *HTTP2HealthCheckPortSpecification) HTTP2HealthCheckPortSpecification { if v != nil { @@ -13609,6 +15044,12 @@ func (in *http2healthCheckPortSpecificationPtr) ToHTTP2HealthCheckPortSpecificat return pulumi.ToOutputWithContext(ctx, in).(HTTP2HealthCheckPortSpecificationPtrOutput) } +func (in *http2healthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckPortSpecification] { + return pulumix.Output[*HTTP2HealthCheckPortSpecification]{ + OutputState: in.ToHTTP2HealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type HTTP2HealthCheckProxyHeader string @@ -13677,6 +15118,12 @@ func (o HTTP2HealthCheckProxyHeaderOutput) ToHTTP2HealthCheckProxyHeaderPtrOutpu }).(HTTP2HealthCheckProxyHeaderPtrOutput) } +func (o HTTP2HealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheckProxyHeader] { + return pulumix.Output[HTTP2HealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13712,6 +15159,12 @@ func (o HTTP2HealthCheckProxyHeaderPtrOutput) ToHTTP2HealthCheckProxyHeaderPtrOu return o } +func (o HTTP2HealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckProxyHeader] { + return pulumix.Output[*HTTP2HealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckProxyHeaderPtrOutput) Elem() HTTP2HealthCheckProxyHeaderOutput { return o.ApplyT(func(v *HTTP2HealthCheckProxyHeader) HTTP2HealthCheckProxyHeader { if v != nil { @@ -13774,6 +15227,12 @@ func (in *http2healthCheckProxyHeaderPtr) ToHTTP2HealthCheckProxyHeaderPtrOutput return pulumi.ToOutputWithContext(ctx, in).(HTTP2HealthCheckProxyHeaderPtrOutput) } +func (in *http2healthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckProxyHeader] { + return pulumix.Output[*HTTP2HealthCheckProxyHeader]{ + OutputState: in.ToHTTP2HealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Weight report mode. used for weighted Load Balancing. type HTTP2HealthCheckWeightReportMode string @@ -13846,6 +15305,12 @@ func (o HTTP2HealthCheckWeightReportModeOutput) ToHTTP2HealthCheckWeightReportMo }).(HTTP2HealthCheckWeightReportModePtrOutput) } +func (o HTTP2HealthCheckWeightReportModeOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheckWeightReportMode] { + return pulumix.Output[HTTP2HealthCheckWeightReportMode]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckWeightReportModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13881,6 +15346,12 @@ func (o HTTP2HealthCheckWeightReportModePtrOutput) ToHTTP2HealthCheckWeightRepor return o } +func (o HTTP2HealthCheckWeightReportModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckWeightReportMode] { + return pulumix.Output[*HTTP2HealthCheckWeightReportMode]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckWeightReportModePtrOutput) Elem() HTTP2HealthCheckWeightReportModeOutput { return o.ApplyT(func(v *HTTP2HealthCheckWeightReportMode) HTTP2HealthCheckWeightReportMode { if v != nil { @@ -13943,6 +15414,12 @@ func (in *http2healthCheckWeightReportModePtr) ToHTTP2HealthCheckWeightReportMod return pulumi.ToOutputWithContext(ctx, in).(HTTP2HealthCheckWeightReportModePtrOutput) } +func (in *http2healthCheckWeightReportModePtr) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckWeightReportMode] { + return pulumix.Output[*HTTP2HealthCheckWeightReportMode]{ + OutputState: in.ToHTTP2HealthCheckWeightReportModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type HTTPHealthCheckPortSpecification string @@ -14015,6 +15492,12 @@ func (o HTTPHealthCheckPortSpecificationOutput) ToHTTPHealthCheckPortSpecificati }).(HTTPHealthCheckPortSpecificationPtrOutput) } +func (o HTTPHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckPortSpecification] { + return pulumix.Output[HTTPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14050,6 +15533,12 @@ func (o HTTPHealthCheckPortSpecificationPtrOutput) ToHTTPHealthCheckPortSpecific return o } +func (o HTTPHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckPortSpecification] { + return pulumix.Output[*HTTPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckPortSpecificationPtrOutput) Elem() HTTPHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *HTTPHealthCheckPortSpecification) HTTPHealthCheckPortSpecification { if v != nil { @@ -14112,6 +15601,12 @@ func (in *httphealthCheckPortSpecificationPtr) ToHTTPHealthCheckPortSpecificatio return pulumi.ToOutputWithContext(ctx, in).(HTTPHealthCheckPortSpecificationPtrOutput) } +func (in *httphealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckPortSpecification] { + return pulumix.Output[*HTTPHealthCheckPortSpecification]{ + OutputState: in.ToHTTPHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type HTTPHealthCheckProxyHeader string @@ -14180,6 +15675,12 @@ func (o HTTPHealthCheckProxyHeaderOutput) ToHTTPHealthCheckProxyHeaderPtrOutputW }).(HTTPHealthCheckProxyHeaderPtrOutput) } +func (o HTTPHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckProxyHeader] { + return pulumix.Output[HTTPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14215,6 +15716,12 @@ func (o HTTPHealthCheckProxyHeaderPtrOutput) ToHTTPHealthCheckProxyHeaderPtrOutp return o } +func (o HTTPHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckProxyHeader] { + return pulumix.Output[*HTTPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckProxyHeaderPtrOutput) Elem() HTTPHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *HTTPHealthCheckProxyHeader) HTTPHealthCheckProxyHeader { if v != nil { @@ -14277,6 +15784,12 @@ func (in *httphealthCheckProxyHeaderPtr) ToHTTPHealthCheckProxyHeaderPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(HTTPHealthCheckProxyHeaderPtrOutput) } +func (in *httphealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckProxyHeader] { + return pulumix.Output[*HTTPHealthCheckProxyHeader]{ + OutputState: in.ToHTTPHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Weight report mode. used for weighted Load Balancing. type HTTPHealthCheckWeightReportMode string @@ -14349,6 +15862,12 @@ func (o HTTPHealthCheckWeightReportModeOutput) ToHTTPHealthCheckWeightReportMode }).(HTTPHealthCheckWeightReportModePtrOutput) } +func (o HTTPHealthCheckWeightReportModeOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckWeightReportMode] { + return pulumix.Output[HTTPHealthCheckWeightReportMode]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckWeightReportModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14384,6 +15903,12 @@ func (o HTTPHealthCheckWeightReportModePtrOutput) ToHTTPHealthCheckWeightReportM return o } +func (o HTTPHealthCheckWeightReportModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckWeightReportMode] { + return pulumix.Output[*HTTPHealthCheckWeightReportMode]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckWeightReportModePtrOutput) Elem() HTTPHealthCheckWeightReportModeOutput { return o.ApplyT(func(v *HTTPHealthCheckWeightReportMode) HTTPHealthCheckWeightReportMode { if v != nil { @@ -14446,6 +15971,12 @@ func (in *httphealthCheckWeightReportModePtr) ToHTTPHealthCheckWeightReportModeP return pulumi.ToOutputWithContext(ctx, in).(HTTPHealthCheckWeightReportModePtrOutput) } +func (in *httphealthCheckWeightReportModePtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckWeightReportMode] { + return pulumix.Output[*HTTPHealthCheckWeightReportMode]{ + OutputState: in.ToHTTPHealthCheckWeightReportModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type HTTPSHealthCheckPortSpecification string @@ -14518,6 +16049,12 @@ func (o HTTPSHealthCheckPortSpecificationOutput) ToHTTPSHealthCheckPortSpecifica }).(HTTPSHealthCheckPortSpecificationPtrOutput) } +func (o HTTPSHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckPortSpecification] { + return pulumix.Output[HTTPSHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14553,6 +16090,12 @@ func (o HTTPSHealthCheckPortSpecificationPtrOutput) ToHTTPSHealthCheckPortSpecif return o } +func (o HTTPSHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckPortSpecification] { + return pulumix.Output[*HTTPSHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckPortSpecificationPtrOutput) Elem() HTTPSHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *HTTPSHealthCheckPortSpecification) HTTPSHealthCheckPortSpecification { if v != nil { @@ -14615,6 +16158,12 @@ func (in *httpshealthCheckPortSpecificationPtr) ToHTTPSHealthCheckPortSpecificat return pulumi.ToOutputWithContext(ctx, in).(HTTPSHealthCheckPortSpecificationPtrOutput) } +func (in *httpshealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckPortSpecification] { + return pulumix.Output[*HTTPSHealthCheckPortSpecification]{ + OutputState: in.ToHTTPSHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type HTTPSHealthCheckProxyHeader string @@ -14683,6 +16232,12 @@ func (o HTTPSHealthCheckProxyHeaderOutput) ToHTTPSHealthCheckProxyHeaderPtrOutpu }).(HTTPSHealthCheckProxyHeaderPtrOutput) } +func (o HTTPSHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckProxyHeader] { + return pulumix.Output[HTTPSHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14718,6 +16273,12 @@ func (o HTTPSHealthCheckProxyHeaderPtrOutput) ToHTTPSHealthCheckProxyHeaderPtrOu return o } +func (o HTTPSHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckProxyHeader] { + return pulumix.Output[*HTTPSHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckProxyHeaderPtrOutput) Elem() HTTPSHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *HTTPSHealthCheckProxyHeader) HTTPSHealthCheckProxyHeader { if v != nil { @@ -14780,6 +16341,12 @@ func (in *httpshealthCheckProxyHeaderPtr) ToHTTPSHealthCheckProxyHeaderPtrOutput return pulumi.ToOutputWithContext(ctx, in).(HTTPSHealthCheckProxyHeaderPtrOutput) } +func (in *httpshealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckProxyHeader] { + return pulumix.Output[*HTTPSHealthCheckProxyHeader]{ + OutputState: in.ToHTTPSHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Weight report mode. used for weighted Load Balancing. type HTTPSHealthCheckWeightReportMode string @@ -14852,6 +16419,12 @@ func (o HTTPSHealthCheckWeightReportModeOutput) ToHTTPSHealthCheckWeightReportMo }).(HTTPSHealthCheckWeightReportModePtrOutput) } +func (o HTTPSHealthCheckWeightReportModeOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckWeightReportMode] { + return pulumix.Output[HTTPSHealthCheckWeightReportMode]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckWeightReportModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14887,6 +16460,12 @@ func (o HTTPSHealthCheckWeightReportModePtrOutput) ToHTTPSHealthCheckWeightRepor return o } +func (o HTTPSHealthCheckWeightReportModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckWeightReportMode] { + return pulumix.Output[*HTTPSHealthCheckWeightReportMode]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckWeightReportModePtrOutput) Elem() HTTPSHealthCheckWeightReportModeOutput { return o.ApplyT(func(v *HTTPSHealthCheckWeightReportMode) HTTPSHealthCheckWeightReportMode { if v != nil { @@ -14949,6 +16528,12 @@ func (in *httpshealthCheckWeightReportModePtr) ToHTTPSHealthCheckWeightReportMod return pulumi.ToOutputWithContext(ctx, in).(HTTPSHealthCheckWeightReportModePtrOutput) } +func (in *httpshealthCheckWeightReportModePtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckWeightReportMode] { + return pulumix.Output[*HTTPSHealthCheckWeightReportMode]{ + OutputState: in.ToHTTPSHealthCheckWeightReportModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. type HealthCheckType string @@ -15023,6 +16608,12 @@ func (o HealthCheckTypeOutput) ToHealthCheckTypePtrOutputWithContext(ctx context }).(HealthCheckTypePtrOutput) } +func (o HealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckType] { + return pulumix.Output[HealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15058,6 +16649,12 @@ func (o HealthCheckTypePtrOutput) ToHealthCheckTypePtrOutputWithContext(ctx cont return o } +func (o HealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckType] { + return pulumix.Output[*HealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckTypePtrOutput) Elem() HealthCheckTypeOutput { return o.ApplyT(func(v *HealthCheckType) HealthCheckType { if v != nil { @@ -15120,6 +16717,12 @@ func (in *healthCheckTypePtr) ToHealthCheckTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(HealthCheckTypePtrOutput) } +func (in *healthCheckTypePtr) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckType] { + return pulumix.Output[*HealthCheckType]{ + OutputState: in.ToHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained. type HttpRedirectActionRedirectResponseCode string @@ -15196,6 +16799,12 @@ func (o HttpRedirectActionRedirectResponseCodeOutput) ToHttpRedirectActionRedire }).(HttpRedirectActionRedirectResponseCodePtrOutput) } +func (o HttpRedirectActionRedirectResponseCodeOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectActionRedirectResponseCode] { + return pulumix.Output[HttpRedirectActionRedirectResponseCode]{ + OutputState: o.OutputState, + } +} + func (o HttpRedirectActionRedirectResponseCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15231,6 +16840,12 @@ func (o HttpRedirectActionRedirectResponseCodePtrOutput) ToHttpRedirectActionRed return o } +func (o HttpRedirectActionRedirectResponseCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectActionRedirectResponseCode] { + return pulumix.Output[*HttpRedirectActionRedirectResponseCode]{ + OutputState: o.OutputState, + } +} + func (o HttpRedirectActionRedirectResponseCodePtrOutput) Elem() HttpRedirectActionRedirectResponseCodeOutput { return o.ApplyT(func(v *HttpRedirectActionRedirectResponseCode) HttpRedirectActionRedirectResponseCode { if v != nil { @@ -15293,6 +16908,12 @@ func (in *httpRedirectActionRedirectResponseCodePtr) ToHttpRedirectActionRedirec return pulumi.ToOutputWithContext(ctx, in).(HttpRedirectActionRedirectResponseCodePtrOutput) } +func (in *httpRedirectActionRedirectResponseCodePtr) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectActionRedirectResponseCode] { + return pulumix.Output[*HttpRedirectActionRedirectResponseCode]{ + OutputState: in.ToHttpRedirectActionRedirectResponseCodePtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the image. Valid values are ARM64 or X86_64. type ImageArchitecture string @@ -15365,6 +16986,12 @@ func (o ImageArchitectureOutput) ToImageArchitecturePtrOutputWithContext(ctx con }).(ImageArchitecturePtrOutput) } +func (o ImageArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[ImageArchitecture] { + return pulumix.Output[ImageArchitecture]{ + OutputState: o.OutputState, + } +} + func (o ImageArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15400,6 +17027,12 @@ func (o ImageArchitecturePtrOutput) ToImageArchitecturePtrOutputWithContext(ctx return o } +func (o ImageArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageArchitecture] { + return pulumix.Output[*ImageArchitecture]{ + OutputState: o.OutputState, + } +} + func (o ImageArchitecturePtrOutput) Elem() ImageArchitectureOutput { return o.ApplyT(func(v *ImageArchitecture) ImageArchitecture { if v != nil { @@ -15462,6 +17095,12 @@ func (in *imageArchitecturePtr) ToImageArchitecturePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(ImageArchitecturePtrOutput) } +func (in *imageArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageArchitecture] { + return pulumix.Output[*ImageArchitecture]{ + OutputState: in.ToImageArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. type ImageRawDiskContainerType string @@ -15529,6 +17168,12 @@ func (o ImageRawDiskContainerTypeOutput) ToImageRawDiskContainerTypePtrOutputWit }).(ImageRawDiskContainerTypePtrOutput) } +func (o ImageRawDiskContainerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ImageRawDiskContainerType] { + return pulumix.Output[ImageRawDiskContainerType]{ + OutputState: o.OutputState, + } +} + func (o ImageRawDiskContainerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15564,6 +17209,12 @@ func (o ImageRawDiskContainerTypePtrOutput) ToImageRawDiskContainerTypePtrOutput return o } +func (o ImageRawDiskContainerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDiskContainerType] { + return pulumix.Output[*ImageRawDiskContainerType]{ + OutputState: o.OutputState, + } +} + func (o ImageRawDiskContainerTypePtrOutput) Elem() ImageRawDiskContainerTypeOutput { return o.ApplyT(func(v *ImageRawDiskContainerType) ImageRawDiskContainerType { if v != nil { @@ -15626,6 +17277,12 @@ func (in *imageRawDiskContainerTypePtr) ToImageRawDiskContainerTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ImageRawDiskContainerTypePtrOutput) } +func (in *imageRawDiskContainerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDiskContainerType] { + return pulumix.Output[*ImageRawDiskContainerType]{ + OutputState: in.ToImageRawDiskContainerTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the image used to create this disk. The default and only valid value is RAW. type ImageSourceType string @@ -15693,6 +17350,12 @@ func (o ImageSourceTypeOutput) ToImageSourceTypePtrOutputWithContext(ctx context }).(ImageSourceTypePtrOutput) } +func (o ImageSourceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ImageSourceType] { + return pulumix.Output[ImageSourceType]{ + OutputState: o.OutputState, + } +} + func (o ImageSourceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15728,6 +17391,12 @@ func (o ImageSourceTypePtrOutput) ToImageSourceTypePtrOutputWithContext(ctx cont return o } +func (o ImageSourceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageSourceType] { + return pulumix.Output[*ImageSourceType]{ + OutputState: o.OutputState, + } +} + func (o ImageSourceTypePtrOutput) Elem() ImageSourceTypeOutput { return o.ApplyT(func(v *ImageSourceType) ImageSourceType { if v != nil { @@ -15790,6 +17459,12 @@ func (in *imageSourceTypePtr) ToImageSourceTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(ImageSourceTypePtrOutput) } +func (in *imageSourceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageSourceType] { + return pulumix.Output[*ImageSourceType]{ + OutputState: in.ToImageSourceTypePtrOutputWithContext(ctx).OutputState, + } +} + // If you have configured an application-based health check for the group, this field controls whether to trigger VM autohealing based on a failed health check. Valid values are: - ON (default): The group recreates running VMs that fail the application-based health check. - OFF: When set to OFF, you can still observe instance health state, but the group does not recreate VMs that fail the application-based health check. This is useful for troubleshooting and setting up your health check configuration. type InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheck string @@ -15860,6 +17535,12 @@ func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckOut }).(InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckPtrOutput) } +func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheck] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15895,6 +17576,12 @@ func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckPtr return o } +func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheck] { + return pulumix.Output[*InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckPtrOutput) Elem() InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckOutput { return o.ApplyT(func(v *InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheck) InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheck { if v != nil { @@ -15957,6 +17644,12 @@ func (in *instanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckP return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckPtrOutput) } +func (in *instanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheck] { + return pulumix.Output[*InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheck]{ + OutputState: in.ToInstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + // The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER. type InstanceGroupManagerFailoverAction string @@ -16025,6 +17718,12 @@ func (o InstanceGroupManagerFailoverActionOutput) ToInstanceGroupManagerFailover }).(InstanceGroupManagerFailoverActionPtrOutput) } +func (o InstanceGroupManagerFailoverActionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerFailoverAction] { + return pulumix.Output[InstanceGroupManagerFailoverAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerFailoverActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16060,6 +17759,12 @@ func (o InstanceGroupManagerFailoverActionPtrOutput) ToInstanceGroupManagerFailo return o } +func (o InstanceGroupManagerFailoverActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerFailoverAction] { + return pulumix.Output[*InstanceGroupManagerFailoverAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerFailoverActionPtrOutput) Elem() InstanceGroupManagerFailoverActionOutput { return o.ApplyT(func(v *InstanceGroupManagerFailoverAction) InstanceGroupManagerFailoverAction { if v != nil { @@ -16122,6 +17827,12 @@ func (in *instanceGroupManagerFailoverActionPtr) ToInstanceGroupManagerFailoverA return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerFailoverActionPtrOutput) } +func (in *instanceGroupManagerFailoverActionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerFailoverAction] { + return pulumix.Output[*InstanceGroupManagerFailoverAction]{ + OutputState: in.ToInstanceGroupManagerFailoverActionPtrOutputWithContext(ctx).OutputState, + } +} + // Defines behaviour for all instance or failures type InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure string @@ -16192,6 +17903,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailureOutput) }).(InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailurePtrOutput) } +func (o InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailureOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16227,6 +17944,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailurePtrOutp return o } +func (o InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailurePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailurePtrOutput) Elem() InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailureOutput { return o.ApplyT(func(v *InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure) InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure { if v != nil { @@ -16289,6 +18012,12 @@ func (in *instanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailurePtr) return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailurePtrOutput) } +func (in *instanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailurePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure]{ + OutputState: in.ToInstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailurePtrOutputWithContext(ctx).OutputState, + } +} + // A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. type InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair string @@ -16357,6 +18086,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairOutput) To }).(InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput) } +func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16392,6 +18127,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput) return o } +func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput) Elem() InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairOutput { return o.ApplyT(func(v *InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair) InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair { if v != nil { @@ -16454,6 +18195,12 @@ func (in *instanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtr) ToI return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput) } +func (in *instanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair]{ + OutputState: in.ToInstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutputWithContext(ctx).OutputState, + } +} + // Pagination behavior of the listManagedInstances API method for this managed instance group. type InstanceGroupManagerListManagedInstancesResults string @@ -16524,6 +18271,12 @@ func (o InstanceGroupManagerListManagedInstancesResultsOutput) ToInstanceGroupMa }).(InstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (o InstanceGroupManagerListManagedInstancesResultsOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[InstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerListManagedInstancesResultsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16559,6 +18312,12 @@ func (o InstanceGroupManagerListManagedInstancesResultsPtrOutput) ToInstanceGrou return o } +func (o InstanceGroupManagerListManagedInstancesResultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*InstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerListManagedInstancesResultsPtrOutput) Elem() InstanceGroupManagerListManagedInstancesResultsOutput { return o.ApplyT(func(v *InstanceGroupManagerListManagedInstancesResults) InstanceGroupManagerListManagedInstancesResults { if v != nil { @@ -16621,6 +18380,12 @@ func (in *instanceGroupManagerListManagedInstancesResultsPtr) ToInstanceGroupMan return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (in *instanceGroupManagerListManagedInstancesResultsPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*InstanceGroupManagerListManagedInstancesResults]{ + OutputState: in.ToInstanceGroupManagerListManagedInstancesResultsPtrOutputWithContext(ctx).OutputState, + } +} + // The unit of measure for the target size. type InstanceGroupManagerTargetSizeUnit string @@ -16691,6 +18456,12 @@ func (o InstanceGroupManagerTargetSizeUnitOutput) ToInstanceGroupManagerTargetSi }).(InstanceGroupManagerTargetSizeUnitPtrOutput) } +func (o InstanceGroupManagerTargetSizeUnitOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerTargetSizeUnit] { + return pulumix.Output[InstanceGroupManagerTargetSizeUnit]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerTargetSizeUnitOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16726,6 +18497,12 @@ func (o InstanceGroupManagerTargetSizeUnitPtrOutput) ToInstanceGroupManagerTarge return o } +func (o InstanceGroupManagerTargetSizeUnitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerTargetSizeUnit] { + return pulumix.Output[*InstanceGroupManagerTargetSizeUnit]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerTargetSizeUnitPtrOutput) Elem() InstanceGroupManagerTargetSizeUnitOutput { return o.ApplyT(func(v *InstanceGroupManagerTargetSizeUnit) InstanceGroupManagerTargetSizeUnit { if v != nil { @@ -16788,6 +18565,12 @@ func (in *instanceGroupManagerTargetSizeUnitPtr) ToInstanceGroupManagerTargetSiz return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerTargetSizeUnitPtrOutput) } +func (in *instanceGroupManagerTargetSizeUnitPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerTargetSizeUnit] { + return pulumix.Output[*InstanceGroupManagerTargetSizeUnit]{ + OutputState: in.ToInstanceGroupManagerTargetSizeUnitPtrOutputWithContext(ctx).OutputState, + } +} + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. type InstanceGroupManagerUpdatePolicyInstanceRedistributionType string @@ -16858,6 +18641,12 @@ func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput) ToInst }).(InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) } +func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyInstanceRedistributionType] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyInstanceRedistributionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16893,6 +18682,12 @@ func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) ToI return o } +func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) Elem() InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyInstanceRedistributionType) InstanceGroupManagerUpdatePolicyInstanceRedistributionType { if v != nil { @@ -16955,6 +18750,12 @@ func (in *instanceGroupManagerUpdatePolicyInstanceRedistributionTypePtr) ToInsta return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) } +func (in *instanceGroupManagerUpdatePolicyInstanceRedistributionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutputWithContext(ctx).OutputState, + } +} + // Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. type InstanceGroupManagerUpdatePolicyMinimalAction string @@ -17029,6 +18830,12 @@ func (o InstanceGroupManagerUpdatePolicyMinimalActionOutput) ToInstanceGroupMana }).(InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyMinimalActionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyMinimalAction] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyMinimalAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMinimalActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17064,6 +18871,12 @@ func (o InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) ToInstanceGroupM return o } +func (o InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) Elem() InstanceGroupManagerUpdatePolicyMinimalActionOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyMinimalAction) InstanceGroupManagerUpdatePolicyMinimalAction { if v != nil { @@ -17126,6 +18939,12 @@ func (in *instanceGroupManagerUpdatePolicyMinimalActionPtr) ToInstanceGroupManag return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) } +func (in *instanceGroupManagerUpdatePolicyMinimalActionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyMinimalActionPtrOutputWithContext(ctx).OutputState, + } +} + // Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. type InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction string @@ -17200,6 +19019,12 @@ func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput) ToIns }).(InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17235,6 +19060,12 @@ func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) To return o } +func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) Elem() InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction) InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction { if v != nil { @@ -17297,6 +19128,12 @@ func (in *instanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtr) ToInst return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) } +func (in *instanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutputWithContext(ctx).OutputState, + } +} + // What action should be used to replace instances. See minimal_action.REPLACE type InstanceGroupManagerUpdatePolicyReplacementMethod string @@ -17367,6 +19204,12 @@ func (o InstanceGroupManagerUpdatePolicyReplacementMethodOutput) ToInstanceGroup }).(InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyReplacementMethodOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyReplacementMethod] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyReplacementMethod]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyReplacementMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17402,6 +19245,12 @@ func (o InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) ToInstanceGr return o } +func (o InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) Elem() InstanceGroupManagerUpdatePolicyReplacementMethodOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyReplacementMethod) InstanceGroupManagerUpdatePolicyReplacementMethod { if v != nil { @@ -17464,6 +19313,12 @@ func (in *instanceGroupManagerUpdatePolicyReplacementMethodPtr) ToInstanceGroupM return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) } +func (in *instanceGroupManagerUpdatePolicyReplacementMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyReplacementMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). type InstanceGroupManagerUpdatePolicyType string @@ -17534,6 +19389,12 @@ func (o InstanceGroupManagerUpdatePolicyTypeOutput) ToInstanceGroupManagerUpdate }).(InstanceGroupManagerUpdatePolicyTypePtrOutput) } +func (o InstanceGroupManagerUpdatePolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyType] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17569,6 +19430,12 @@ func (o InstanceGroupManagerUpdatePolicyTypePtrOutput) ToInstanceGroupManagerUpd return o } +func (o InstanceGroupManagerUpdatePolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyTypePtrOutput) Elem() InstanceGroupManagerUpdatePolicyTypeOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyType) InstanceGroupManagerUpdatePolicyType { if v != nil { @@ -17631,6 +19498,12 @@ func (in *instanceGroupManagerUpdatePolicyTypePtr) ToInstanceGroupManagerUpdateP return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyTypePtrOutput) } +func (in *instanceGroupManagerUpdatePolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyType]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. type InstanceKeyRevocationActionType string @@ -17703,6 +19576,12 @@ func (o InstanceKeyRevocationActionTypeOutput) ToInstanceKeyRevocationActionType }).(InstanceKeyRevocationActionTypePtrOutput) } +func (o InstanceKeyRevocationActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceKeyRevocationActionType] { + return pulumix.Output[InstanceKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceKeyRevocationActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17738,6 +19617,12 @@ func (o InstanceKeyRevocationActionTypePtrOutput) ToInstanceKeyRevocationActionT return o } +func (o InstanceKeyRevocationActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceKeyRevocationActionType] { + return pulumix.Output[*InstanceKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceKeyRevocationActionTypePtrOutput) Elem() InstanceKeyRevocationActionTypeOutput { return o.ApplyT(func(v *InstanceKeyRevocationActionType) InstanceKeyRevocationActionType { if v != nil { @@ -17800,6 +19685,12 @@ func (in *instanceKeyRevocationActionTypePtr) ToInstanceKeyRevocationActionTypeP return pulumi.ToOutputWithContext(ctx, in).(InstanceKeyRevocationActionTypePtrOutput) } +func (in *instanceKeyRevocationActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceKeyRevocationActionType] { + return pulumix.Output[*InstanceKeyRevocationActionType]{ + OutputState: in.ToInstanceKeyRevocationActionTypePtrOutputWithContext(ctx).OutputState, + } +} + // PostKeyRevocationActionType of the instance. type InstancePostKeyRevocationActionType string @@ -17872,6 +19763,12 @@ func (o InstancePostKeyRevocationActionTypeOutput) ToInstancePostKeyRevocationAc }).(InstancePostKeyRevocationActionTypePtrOutput) } +func (o InstancePostKeyRevocationActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePostKeyRevocationActionType] { + return pulumix.Output[InstancePostKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePostKeyRevocationActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17907,6 +19804,12 @@ func (o InstancePostKeyRevocationActionTypePtrOutput) ToInstancePostKeyRevocatio return o } +func (o InstancePostKeyRevocationActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePostKeyRevocationActionType] { + return pulumix.Output[*InstancePostKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePostKeyRevocationActionTypePtrOutput) Elem() InstancePostKeyRevocationActionTypeOutput { return o.ApplyT(func(v *InstancePostKeyRevocationActionType) InstancePostKeyRevocationActionType { if v != nil { @@ -17969,6 +19872,12 @@ func (in *instancePostKeyRevocationActionTypePtr) ToInstancePostKeyRevocationAct return pulumi.ToOutputWithContext(ctx, in).(InstancePostKeyRevocationActionTypePtrOutput) } +func (in *instancePostKeyRevocationActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePostKeyRevocationActionType] { + return pulumix.Output[*InstancePostKeyRevocationActionType]{ + OutputState: in.ToInstancePostKeyRevocationActionTypePtrOutputWithContext(ctx).OutputState, + } +} + // The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. type InstancePrivateIpv6GoogleAccess string @@ -18041,6 +19950,12 @@ func (o InstancePrivateIpv6GoogleAccessOutput) ToInstancePrivateIpv6GoogleAccess }).(InstancePrivateIpv6GoogleAccessPtrOutput) } +func (o InstancePrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePrivateIpv6GoogleAccess] { + return pulumix.Output[InstancePrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18076,6 +19991,12 @@ func (o InstancePrivateIpv6GoogleAccessPtrOutput) ToInstancePrivateIpv6GoogleAcc return o } +func (o InstancePrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePrivateIpv6GoogleAccessPtrOutput) Elem() InstancePrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *InstancePrivateIpv6GoogleAccess) InstancePrivateIpv6GoogleAccess { if v != nil { @@ -18138,6 +20059,12 @@ func (in *instancePrivateIpv6GoogleAccessPtr) ToInstancePrivateIpv6GoogleAccessP return pulumi.ToOutputWithContext(ctx, in).(InstancePrivateIpv6GoogleAccessPtrOutput) } +func (in *instancePrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePrivateIpv6GoogleAccess]{ + OutputState: in.ToInstancePrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. type InstancePropertiesKeyRevocationActionType string @@ -18210,6 +20137,12 @@ func (o InstancePropertiesKeyRevocationActionTypeOutput) ToInstancePropertiesKey }).(InstancePropertiesKeyRevocationActionTypePtrOutput) } +func (o InstancePropertiesKeyRevocationActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesKeyRevocationActionType] { + return pulumix.Output[InstancePropertiesKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesKeyRevocationActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18245,6 +20178,12 @@ func (o InstancePropertiesKeyRevocationActionTypePtrOutput) ToInstanceProperties return o } +func (o InstancePropertiesKeyRevocationActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesKeyRevocationActionType] { + return pulumix.Output[*InstancePropertiesKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesKeyRevocationActionTypePtrOutput) Elem() InstancePropertiesKeyRevocationActionTypeOutput { return o.ApplyT(func(v *InstancePropertiesKeyRevocationActionType) InstancePropertiesKeyRevocationActionType { if v != nil { @@ -18307,6 +20246,12 @@ func (in *instancePropertiesKeyRevocationActionTypePtr) ToInstancePropertiesKeyR return pulumi.ToOutputWithContext(ctx, in).(InstancePropertiesKeyRevocationActionTypePtrOutput) } +func (in *instancePropertiesKeyRevocationActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesKeyRevocationActionType] { + return pulumix.Output[*InstancePropertiesKeyRevocationActionType]{ + OutputState: in.ToInstancePropertiesKeyRevocationActionTypePtrOutputWithContext(ctx).OutputState, + } +} + // PostKeyRevocationActionType of the instance. type InstancePropertiesPostKeyRevocationActionType string @@ -18379,6 +20324,12 @@ func (o InstancePropertiesPostKeyRevocationActionTypeOutput) ToInstancePropertie }).(InstancePropertiesPostKeyRevocationActionTypePtrOutput) } +func (o InstancePropertiesPostKeyRevocationActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPostKeyRevocationActionType] { + return pulumix.Output[InstancePropertiesPostKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPostKeyRevocationActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18414,6 +20365,12 @@ func (o InstancePropertiesPostKeyRevocationActionTypePtrOutput) ToInstanceProper return o } +func (o InstancePropertiesPostKeyRevocationActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPostKeyRevocationActionType] { + return pulumix.Output[*InstancePropertiesPostKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPostKeyRevocationActionTypePtrOutput) Elem() InstancePropertiesPostKeyRevocationActionTypeOutput { return o.ApplyT(func(v *InstancePropertiesPostKeyRevocationActionType) InstancePropertiesPostKeyRevocationActionType { if v != nil { @@ -18476,6 +20433,12 @@ func (in *instancePropertiesPostKeyRevocationActionTypePtr) ToInstanceProperties return pulumi.ToOutputWithContext(ctx, in).(InstancePropertiesPostKeyRevocationActionTypePtrOutput) } +func (in *instancePropertiesPostKeyRevocationActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPostKeyRevocationActionType] { + return pulumix.Output[*InstancePropertiesPostKeyRevocationActionType]{ + OutputState: in.ToInstancePropertiesPostKeyRevocationActionTypePtrOutputWithContext(ctx).OutputState, + } +} + // The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. type InstancePropertiesPrivateIpv6GoogleAccess string @@ -18548,6 +20511,12 @@ func (o InstancePropertiesPrivateIpv6GoogleAccessOutput) ToInstancePropertiesPri }).(InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) } +func (o InstancePropertiesPrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPrivateIpv6GoogleAccess] { + return pulumix.Output[InstancePropertiesPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18583,6 +20552,12 @@ func (o InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) ToInstanceProperties return o } +func (o InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) Elem() InstancePropertiesPrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *InstancePropertiesPrivateIpv6GoogleAccess) InstancePropertiesPrivateIpv6GoogleAccess { if v != nil { @@ -18645,6 +20620,12 @@ func (in *instancePropertiesPrivateIpv6GoogleAccessPtr) ToInstancePropertiesPriv return pulumi.ToOutputWithContext(ctx, in).(InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) } +func (in *instancePropertiesPrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess]{ + OutputState: in.ToInstancePropertiesPrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s type InterconnectAttachmentBandwidth string @@ -18735,6 +20716,12 @@ func (o InterconnectAttachmentBandwidthOutput) ToInterconnectAttachmentBandwidth }).(InterconnectAttachmentBandwidthPtrOutput) } +func (o InterconnectAttachmentBandwidthOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentBandwidth] { + return pulumix.Output[InterconnectAttachmentBandwidth]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentBandwidthOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18770,6 +20757,12 @@ func (o InterconnectAttachmentBandwidthPtrOutput) ToInterconnectAttachmentBandwi return o } +func (o InterconnectAttachmentBandwidthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentBandwidth] { + return pulumix.Output[*InterconnectAttachmentBandwidth]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentBandwidthPtrOutput) Elem() InterconnectAttachmentBandwidthOutput { return o.ApplyT(func(v *InterconnectAttachmentBandwidth) InterconnectAttachmentBandwidth { if v != nil { @@ -18832,6 +20825,12 @@ func (in *interconnectAttachmentBandwidthPtr) ToInterconnectAttachmentBandwidthP return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentBandwidthPtrOutput) } +func (in *interconnectAttachmentBandwidthPtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentBandwidth] { + return pulumix.Output[*InterconnectAttachmentBandwidth]{ + OutputState: in.ToInterconnectAttachmentBandwidthPtrOutputWithContext(ctx).OutputState, + } +} + // Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. type InterconnectAttachmentEdgeAvailabilityDomain string @@ -18901,6 +20900,12 @@ func (o InterconnectAttachmentEdgeAvailabilityDomainOutput) ToInterconnectAttach }).(InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) } +func (o InterconnectAttachmentEdgeAvailabilityDomainOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentEdgeAvailabilityDomain] { + return pulumix.Output[InterconnectAttachmentEdgeAvailabilityDomain]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEdgeAvailabilityDomainOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18936,6 +20941,12 @@ func (o InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) ToInterconnectAtt return o } +func (o InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain] { + return pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) Elem() InterconnectAttachmentEdgeAvailabilityDomainOutput { return o.ApplyT(func(v *InterconnectAttachmentEdgeAvailabilityDomain) InterconnectAttachmentEdgeAvailabilityDomain { if v != nil { @@ -18998,6 +21009,12 @@ func (in *interconnectAttachmentEdgeAvailabilityDomainPtr) ToInterconnectAttachm return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) } +func (in *interconnectAttachmentEdgeAvailabilityDomainPtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain] { + return pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain]{ + OutputState: in.ToInterconnectAttachmentEdgeAvailabilityDomainPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option. type InterconnectAttachmentEncryption string @@ -19068,6 +21085,12 @@ func (o InterconnectAttachmentEncryptionOutput) ToInterconnectAttachmentEncrypti }).(InterconnectAttachmentEncryptionPtrOutput) } +func (o InterconnectAttachmentEncryptionOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentEncryption] { + return pulumix.Output[InterconnectAttachmentEncryption]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEncryptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19103,6 +21126,12 @@ func (o InterconnectAttachmentEncryptionPtrOutput) ToInterconnectAttachmentEncry return o } +func (o InterconnectAttachmentEncryptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEncryption] { + return pulumix.Output[*InterconnectAttachmentEncryption]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEncryptionPtrOutput) Elem() InterconnectAttachmentEncryptionOutput { return o.ApplyT(func(v *InterconnectAttachmentEncryption) InterconnectAttachmentEncryption { if v != nil { @@ -19165,6 +21194,12 @@ func (in *interconnectAttachmentEncryptionPtr) ToInterconnectAttachmentEncryptio return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentEncryptionPtrOutput) } +func (in *interconnectAttachmentEncryptionPtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEncryption] { + return pulumix.Output[*InterconnectAttachmentEncryption]{ + OutputState: in.ToInterconnectAttachmentEncryptionPtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations. type InterconnectAttachmentStackType string @@ -19235,6 +21270,12 @@ func (o InterconnectAttachmentStackTypeOutput) ToInterconnectAttachmentStackType }).(InterconnectAttachmentStackTypePtrOutput) } +func (o InterconnectAttachmentStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentStackType] { + return pulumix.Output[InterconnectAttachmentStackType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19270,6 +21311,12 @@ func (o InterconnectAttachmentStackTypePtrOutput) ToInterconnectAttachmentStackT return o } +func (o InterconnectAttachmentStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentStackType] { + return pulumix.Output[*InterconnectAttachmentStackType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentStackTypePtrOutput) Elem() InterconnectAttachmentStackTypeOutput { return o.ApplyT(func(v *InterconnectAttachmentStackType) InterconnectAttachmentStackType { if v != nil { @@ -19332,6 +21379,12 @@ func (in *interconnectAttachmentStackTypePtr) ToInterconnectAttachmentStackTypeP return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentStackTypePtrOutput) } +func (in *interconnectAttachmentStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentStackType] { + return pulumix.Output[*InterconnectAttachmentStackType]{ + OutputState: in.ToInterconnectAttachmentStackTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. type InterconnectAttachmentType string @@ -19404,6 +21457,12 @@ func (o InterconnectAttachmentTypeOutput) ToInterconnectAttachmentTypePtrOutputW }).(InterconnectAttachmentTypePtrOutput) } +func (o InterconnectAttachmentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentType] { + return pulumix.Output[InterconnectAttachmentType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19439,6 +21498,12 @@ func (o InterconnectAttachmentTypePtrOutput) ToInterconnectAttachmentTypePtrOutp return o } +func (o InterconnectAttachmentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentType] { + return pulumix.Output[*InterconnectAttachmentType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentTypePtrOutput) Elem() InterconnectAttachmentTypeOutput { return o.ApplyT(func(v *InterconnectAttachmentType) InterconnectAttachmentType { if v != nil { @@ -19501,6 +21566,12 @@ func (in *interconnectAttachmentTypePtr) ToInterconnectAttachmentTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentTypePtrOutput) } +func (in *interconnectAttachmentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentType] { + return pulumix.Output[*InterconnectAttachmentType]{ + OutputState: in.ToInterconnectAttachmentTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. type InterconnectInterconnectType string @@ -19573,6 +21644,12 @@ func (o InterconnectInterconnectTypeOutput) ToInterconnectInterconnectTypePtrOut }).(InterconnectInterconnectTypePtrOutput) } +func (o InterconnectInterconnectTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectInterconnectType] { + return pulumix.Output[InterconnectInterconnectType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectInterconnectTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19608,6 +21685,12 @@ func (o InterconnectInterconnectTypePtrOutput) ToInterconnectInterconnectTypePtr return o } +func (o InterconnectInterconnectTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectInterconnectType] { + return pulumix.Output[*InterconnectInterconnectType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectInterconnectTypePtrOutput) Elem() InterconnectInterconnectTypeOutput { return o.ApplyT(func(v *InterconnectInterconnectType) InterconnectInterconnectType { if v != nil { @@ -19670,6 +21753,12 @@ func (in *interconnectInterconnectTypePtr) ToInterconnectInterconnectTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(InterconnectInterconnectTypePtrOutput) } +func (in *interconnectInterconnectTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectInterconnectType] { + return pulumix.Output[*InterconnectInterconnectType]{ + OutputState: in.ToInterconnectInterconnectTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. type InterconnectLinkType string @@ -19740,6 +21829,12 @@ func (o InterconnectLinkTypeOutput) ToInterconnectLinkTypePtrOutputWithContext(c }).(InterconnectLinkTypePtrOutput) } +func (o InterconnectLinkTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectLinkType] { + return pulumix.Output[InterconnectLinkType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectLinkTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19775,6 +21870,12 @@ func (o InterconnectLinkTypePtrOutput) ToInterconnectLinkTypePtrOutputWithContex return o } +func (o InterconnectLinkTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectLinkType] { + return pulumix.Output[*InterconnectLinkType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectLinkTypePtrOutput) Elem() InterconnectLinkTypeOutput { return o.ApplyT(func(v *InterconnectLinkType) InterconnectLinkType { if v != nil { @@ -19837,6 +21938,12 @@ func (in *interconnectLinkTypePtr) ToInterconnectLinkTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InterconnectLinkTypePtrOutput) } +func (in *interconnectLinkTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectLinkType] { + return pulumix.Output[*InterconnectLinkType]{ + OutputState: in.ToInterconnectLinkTypePtrOutputWithContext(ctx).OutputState, + } +} + type InterconnectRequestedFeaturesItem string const ( @@ -19904,6 +22011,12 @@ func (o InterconnectRequestedFeaturesItemOutput) ToInterconnectRequestedFeatures }).(InterconnectRequestedFeaturesItemPtrOutput) } +func (o InterconnectRequestedFeaturesItemOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectRequestedFeaturesItem] { + return pulumix.Output[InterconnectRequestedFeaturesItem]{ + OutputState: o.OutputState, + } +} + func (o InterconnectRequestedFeaturesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19939,6 +22052,12 @@ func (o InterconnectRequestedFeaturesItemPtrOutput) ToInterconnectRequestedFeatu return o } +func (o InterconnectRequestedFeaturesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectRequestedFeaturesItem] { + return pulumix.Output[*InterconnectRequestedFeaturesItem]{ + OutputState: o.OutputState, + } +} + func (o InterconnectRequestedFeaturesItemPtrOutput) Elem() InterconnectRequestedFeaturesItemOutput { return o.ApplyT(func(v *InterconnectRequestedFeaturesItem) InterconnectRequestedFeaturesItem { if v != nil { @@ -20001,6 +22120,12 @@ func (in *interconnectRequestedFeaturesItemPtr) ToInterconnectRequestedFeaturesI return pulumi.ToOutputWithContext(ctx, in).(InterconnectRequestedFeaturesItemPtrOutput) } +func (in *interconnectRequestedFeaturesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectRequestedFeaturesItem] { + return pulumix.Output[*InterconnectRequestedFeaturesItem]{ + OutputState: in.ToInterconnectRequestedFeaturesItemPtrOutputWithContext(ctx).OutputState, + } +} + // InterconnectRequestedFeaturesItemArrayInput is an input type that accepts InterconnectRequestedFeaturesItemArray and InterconnectRequestedFeaturesItemArrayOutput values. // You can construct a concrete instance of `InterconnectRequestedFeaturesItemArrayInput` via: // @@ -20026,6 +22151,12 @@ func (i InterconnectRequestedFeaturesItemArray) ToInterconnectRequestedFeaturesI return pulumi.ToOutputWithContext(ctx, i).(InterconnectRequestedFeaturesItemArrayOutput) } +func (i InterconnectRequestedFeaturesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectRequestedFeaturesItem] { + return pulumix.Output[[]InterconnectRequestedFeaturesItem]{ + OutputState: i.ToInterconnectRequestedFeaturesItemArrayOutputWithContext(ctx).OutputState, + } +} + type InterconnectRequestedFeaturesItemArrayOutput struct{ *pulumi.OutputState } func (InterconnectRequestedFeaturesItemArrayOutput) ElementType() reflect.Type { @@ -20040,6 +22171,12 @@ func (o InterconnectRequestedFeaturesItemArrayOutput) ToInterconnectRequestedFea return o } +func (o InterconnectRequestedFeaturesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectRequestedFeaturesItem] { + return pulumix.Output[[]InterconnectRequestedFeaturesItem]{ + OutputState: o.OutputState, + } +} + func (o InterconnectRequestedFeaturesItemArrayOutput) Index(i pulumi.IntInput) InterconnectRequestedFeaturesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectRequestedFeaturesItem { return vs[0].([]InterconnectRequestedFeaturesItem)[vs[1].(int)] @@ -20118,6 +22255,12 @@ func (o LocationPolicyTargetShapeOutput) ToLocationPolicyTargetShapePtrOutputWit }).(LocationPolicyTargetShapePtrOutput) } +func (o LocationPolicyTargetShapeOutput) ToOutput(ctx context.Context) pulumix.Output[LocationPolicyTargetShape] { + return pulumix.Output[LocationPolicyTargetShape]{ + OutputState: o.OutputState, + } +} + func (o LocationPolicyTargetShapeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20153,6 +22296,12 @@ func (o LocationPolicyTargetShapePtrOutput) ToLocationPolicyTargetShapePtrOutput return o } +func (o LocationPolicyTargetShapePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocationPolicyTargetShape] { + return pulumix.Output[*LocationPolicyTargetShape]{ + OutputState: o.OutputState, + } +} + func (o LocationPolicyTargetShapePtrOutput) Elem() LocationPolicyTargetShapeOutput { return o.ApplyT(func(v *LocationPolicyTargetShape) LocationPolicyTargetShape { if v != nil { @@ -20215,6 +22364,12 @@ func (in *locationPolicyTargetShapePtr) ToLocationPolicyTargetShapePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(LocationPolicyTargetShapePtrOutput) } +func (in *locationPolicyTargetShapePtr) ToOutput(ctx context.Context) pulumix.Output[*LocationPolicyTargetShape] { + return pulumix.Output[*LocationPolicyTargetShape]{ + OutputState: in.ToLocationPolicyTargetShapePtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCloudAuditOptionsLogName string @@ -20287,6 +22442,12 @@ func (o LogConfigCloudAuditOptionsLogNameOutput) ToLogConfigCloudAuditOptionsLog }).(LogConfigCloudAuditOptionsLogNamePtrOutput) } +func (o LogConfigCloudAuditOptionsLogNameOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptionsLogName] { + return pulumix.Output[LogConfigCloudAuditOptionsLogName]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCloudAuditOptionsLogNameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20322,6 +22483,12 @@ func (o LogConfigCloudAuditOptionsLogNamePtrOutput) ToLogConfigCloudAuditOptions return o } +func (o LogConfigCloudAuditOptionsLogNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptionsLogName] { + return pulumix.Output[*LogConfigCloudAuditOptionsLogName]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCloudAuditOptionsLogNamePtrOutput) Elem() LogConfigCloudAuditOptionsLogNameOutput { return o.ApplyT(func(v *LogConfigCloudAuditOptionsLogName) LogConfigCloudAuditOptionsLogName { if v != nil { @@ -20384,6 +22551,12 @@ func (in *logConfigCloudAuditOptionsLogNamePtr) ToLogConfigCloudAuditOptionsLogN return pulumi.ToOutputWithContext(ctx, in).(LogConfigCloudAuditOptionsLogNamePtrOutput) } +func (in *logConfigCloudAuditOptionsLogNamePtr) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptionsLogName] { + return pulumix.Output[*LogConfigCloudAuditOptionsLogName]{ + OutputState: in.ToLogConfigCloudAuditOptionsLogNamePtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigDataAccessOptionsLogMode string @@ -20454,6 +22627,12 @@ func (o LogConfigDataAccessOptionsLogModeOutput) ToLogConfigDataAccessOptionsLog }).(LogConfigDataAccessOptionsLogModePtrOutput) } +func (o LogConfigDataAccessOptionsLogModeOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptionsLogMode] { + return pulumix.Output[LogConfigDataAccessOptionsLogMode]{ + OutputState: o.OutputState, + } +} + func (o LogConfigDataAccessOptionsLogModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20489,6 +22668,12 @@ func (o LogConfigDataAccessOptionsLogModePtrOutput) ToLogConfigDataAccessOptions return o } +func (o LogConfigDataAccessOptionsLogModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptionsLogMode] { + return pulumix.Output[*LogConfigDataAccessOptionsLogMode]{ + OutputState: o.OutputState, + } +} + func (o LogConfigDataAccessOptionsLogModePtrOutput) Elem() LogConfigDataAccessOptionsLogModeOutput { return o.ApplyT(func(v *LogConfigDataAccessOptionsLogMode) LogConfigDataAccessOptionsLogMode { if v != nil { @@ -20551,6 +22736,12 @@ func (in *logConfigDataAccessOptionsLogModePtr) ToLogConfigDataAccessOptionsLogM return pulumi.ToOutputWithContext(ctx, in).(LogConfigDataAccessOptionsLogModePtrOutput) } +func (in *logConfigDataAccessOptionsLogModePtr) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptionsLogMode] { + return pulumix.Output[*LogConfigDataAccessOptionsLogMode]{ + OutputState: in.ToLogConfigDataAccessOptionsLogModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. type MetadataFilterFilterMatchCriteria string @@ -20623,6 +22814,12 @@ func (o MetadataFilterFilterMatchCriteriaOutput) ToMetadataFilterFilterMatchCrit }).(MetadataFilterFilterMatchCriteriaPtrOutput) } +func (o MetadataFilterFilterMatchCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterFilterMatchCriteria] { + return pulumix.Output[MetadataFilterFilterMatchCriteria]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterFilterMatchCriteriaOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20658,6 +22855,12 @@ func (o MetadataFilterFilterMatchCriteriaPtrOutput) ToMetadataFilterFilterMatchC return o } +func (o MetadataFilterFilterMatchCriteriaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataFilterFilterMatchCriteria] { + return pulumix.Output[*MetadataFilterFilterMatchCriteria]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterFilterMatchCriteriaPtrOutput) Elem() MetadataFilterFilterMatchCriteriaOutput { return o.ApplyT(func(v *MetadataFilterFilterMatchCriteria) MetadataFilterFilterMatchCriteria { if v != nil { @@ -20720,6 +22923,12 @@ func (in *metadataFilterFilterMatchCriteriaPtr) ToMetadataFilterFilterMatchCrite return pulumi.ToOutputWithContext(ctx, in).(MetadataFilterFilterMatchCriteriaPtrOutput) } +func (in *metadataFilterFilterMatchCriteriaPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataFilterFilterMatchCriteria] { + return pulumix.Output[*MetadataFilterFilterMatchCriteria]{ + OutputState: in.ToMetadataFilterFilterMatchCriteriaPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies if the server TLS is configured to be strict or permissive. This field can be set to one of the following: STRICT: Client certificate must be presented, connection is in TLS. PERMISSIVE: Client certificate can be omitted, connection can be either plaintext or TLS. type MutualTlsMode string @@ -20791,6 +23000,12 @@ func (o MutualTlsModeOutput) ToMutualTlsModePtrOutputWithContext(ctx context.Con }).(MutualTlsModePtrOutput) } +func (o MutualTlsModeOutput) ToOutput(ctx context.Context) pulumix.Output[MutualTlsMode] { + return pulumix.Output[MutualTlsMode]{ + OutputState: o.OutputState, + } +} + func (o MutualTlsModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20826,6 +23041,12 @@ func (o MutualTlsModePtrOutput) ToMutualTlsModePtrOutputWithContext(ctx context. return o } +func (o MutualTlsModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MutualTlsMode] { + return pulumix.Output[*MutualTlsMode]{ + OutputState: o.OutputState, + } +} + func (o MutualTlsModePtrOutput) Elem() MutualTlsModeOutput { return o.ApplyT(func(v *MutualTlsMode) MutualTlsMode { if v != nil { @@ -20888,6 +23109,12 @@ func (in *mutualTlsModePtr) ToMutualTlsModePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(MutualTlsModePtrOutput) } +func (in *mutualTlsModePtr) ToOutput(ctx context.Context) pulumix.Output[*MutualTlsMode] { + return pulumix.Output[*MutualTlsMode]{ + OutputState: in.ToMutualTlsModePtrOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentConnectionPreference string const ( @@ -20956,6 +23183,12 @@ func (o NetworkAttachmentConnectionPreferenceOutput) ToNetworkAttachmentConnecti }).(NetworkAttachmentConnectionPreferencePtrOutput) } +func (o NetworkAttachmentConnectionPreferenceOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkAttachmentConnectionPreference] { + return pulumix.Output[NetworkAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o NetworkAttachmentConnectionPreferenceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20991,6 +23224,12 @@ func (o NetworkAttachmentConnectionPreferencePtrOutput) ToNetworkAttachmentConne return o } +func (o NetworkAttachmentConnectionPreferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentConnectionPreference] { + return pulumix.Output[*NetworkAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o NetworkAttachmentConnectionPreferencePtrOutput) Elem() NetworkAttachmentConnectionPreferenceOutput { return o.ApplyT(func(v *NetworkAttachmentConnectionPreference) NetworkAttachmentConnectionPreference { if v != nil { @@ -21053,6 +23292,12 @@ func (in *networkAttachmentConnectionPreferencePtr) ToNetworkAttachmentConnectio return pulumi.ToOutputWithContext(ctx, in).(NetworkAttachmentConnectionPreferencePtrOutput) } +func (in *networkAttachmentConnectionPreferencePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentConnectionPreference] { + return pulumix.Output[*NetworkAttachmentConnectionPreference]{ + OutputState: in.ToNetworkAttachmentConnectionPreferencePtrOutputWithContext(ctx).OutputState, + } +} + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. type NetworkEndpointGroupNetworkEndpointType string @@ -21135,6 +23380,12 @@ func (o NetworkEndpointGroupNetworkEndpointTypeOutput) ToNetworkEndpointGroupNet }).(NetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (o NetworkEndpointGroupNetworkEndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[NetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupNetworkEndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21170,6 +23421,12 @@ func (o NetworkEndpointGroupNetworkEndpointTypePtrOutput) ToNetworkEndpointGroup return o } +func (o NetworkEndpointGroupNetworkEndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*NetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupNetworkEndpointTypePtrOutput) Elem() NetworkEndpointGroupNetworkEndpointTypeOutput { return o.ApplyT(func(v *NetworkEndpointGroupNetworkEndpointType) NetworkEndpointGroupNetworkEndpointType { if v != nil { @@ -21232,6 +23489,12 @@ func (in *networkEndpointGroupNetworkEndpointTypePtr) ToNetworkEndpointGroupNetw return pulumi.ToOutputWithContext(ctx, in).(NetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (in *networkEndpointGroupNetworkEndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*NetworkEndpointGroupNetworkEndpointType]{ + OutputState: in.ToNetworkEndpointGroupNetworkEndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specify the type of this network endpoint group. Only LOAD_BALANCING is valid for now. type NetworkEndpointGroupType string @@ -21300,6 +23563,12 @@ func (o NetworkEndpointGroupTypeOutput) ToNetworkEndpointGroupTypePtrOutputWithC }).(NetworkEndpointGroupTypePtrOutput) } +func (o NetworkEndpointGroupTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupType] { + return pulumix.Output[NetworkEndpointGroupType]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21335,6 +23604,12 @@ func (o NetworkEndpointGroupTypePtrOutput) ToNetworkEndpointGroupTypePtrOutputWi return o } +func (o NetworkEndpointGroupTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupType] { + return pulumix.Output[*NetworkEndpointGroupType]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupTypePtrOutput) Elem() NetworkEndpointGroupTypeOutput { return o.ApplyT(func(v *NetworkEndpointGroupType) NetworkEndpointGroupType { if v != nil { @@ -21397,6 +23672,12 @@ func (in *networkEndpointGroupTypePtr) ToNetworkEndpointGroupTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(NetworkEndpointGroupTypePtrOutput) } +func (in *networkEndpointGroupTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupType] { + return pulumix.Output[*NetworkEndpointGroupType]{ + OutputState: in.ToNetworkEndpointGroupTypePtrOutputWithContext(ctx).OutputState, + } +} + // The scope of networks allowed to be associated with the firewall policy. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A firewall policy with the VPC scope set to GLOBAL_VPC_NETWORK is allowed to be attached only to global networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the firewall policy is allowed to be attached only to regional networks in the same scope as the firewall policy. Note: if not specified then GLOBAL_VPC_NETWORK will be used. type NetworkFirewallPolicyVpcNetworkScope string @@ -21467,6 +23748,12 @@ func (o NetworkFirewallPolicyVpcNetworkScopeOutput) ToNetworkFirewallPolicyVpcNe }).(NetworkFirewallPolicyVpcNetworkScopePtrOutput) } +func (o NetworkFirewallPolicyVpcNetworkScopeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkFirewallPolicyVpcNetworkScope] { + return pulumix.Output[NetworkFirewallPolicyVpcNetworkScope]{ + OutputState: o.OutputState, + } +} + func (o NetworkFirewallPolicyVpcNetworkScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21502,6 +23789,12 @@ func (o NetworkFirewallPolicyVpcNetworkScopePtrOutput) ToNetworkFirewallPolicyVp return o } +func (o NetworkFirewallPolicyVpcNetworkScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyVpcNetworkScope] { + return pulumix.Output[*NetworkFirewallPolicyVpcNetworkScope]{ + OutputState: o.OutputState, + } +} + func (o NetworkFirewallPolicyVpcNetworkScopePtrOutput) Elem() NetworkFirewallPolicyVpcNetworkScopeOutput { return o.ApplyT(func(v *NetworkFirewallPolicyVpcNetworkScope) NetworkFirewallPolicyVpcNetworkScope { if v != nil { @@ -21564,6 +23857,12 @@ func (in *networkFirewallPolicyVpcNetworkScopePtr) ToNetworkFirewallPolicyVpcNet return pulumi.ToOutputWithContext(ctx, in).(NetworkFirewallPolicyVpcNetworkScopePtrOutput) } +func (in *networkFirewallPolicyVpcNetworkScopePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyVpcNetworkScope] { + return pulumix.Output[*NetworkFirewallPolicyVpcNetworkScope]{ + OutputState: in.ToNetworkFirewallPolicyVpcNetworkScopePtrOutputWithContext(ctx).OutputState, + } +} + // The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. type NetworkInterfaceNicType string @@ -21636,6 +23935,12 @@ func (o NetworkInterfaceNicTypeOutput) ToNetworkInterfaceNicTypePtrOutputWithCon }).(NetworkInterfaceNicTypePtrOutput) } +func (o NetworkInterfaceNicTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceNicType] { + return pulumix.Output[NetworkInterfaceNicType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceNicTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21671,6 +23976,12 @@ func (o NetworkInterfaceNicTypePtrOutput) ToNetworkInterfaceNicTypePtrOutputWith return o } +func (o NetworkInterfaceNicTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceNicType] { + return pulumix.Output[*NetworkInterfaceNicType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceNicTypePtrOutput) Elem() NetworkInterfaceNicTypeOutput { return o.ApplyT(func(v *NetworkInterfaceNicType) NetworkInterfaceNicType { if v != nil { @@ -21733,6 +24044,12 @@ func (in *networkInterfaceNicTypePtr) ToNetworkInterfaceNicTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(NetworkInterfaceNicTypePtrOutput) } +func (in *networkInterfaceNicTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceNicType] { + return pulumix.Output[*NetworkInterfaceNicType]{ + OutputState: in.ToNetworkInterfaceNicTypePtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations. type NetworkInterfaceStackType string @@ -21803,6 +24120,12 @@ func (o NetworkInterfaceStackTypeOutput) ToNetworkInterfaceStackTypePtrOutputWit }).(NetworkInterfaceStackTypePtrOutput) } +func (o NetworkInterfaceStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceStackType] { + return pulumix.Output[NetworkInterfaceStackType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21838,6 +24161,12 @@ func (o NetworkInterfaceStackTypePtrOutput) ToNetworkInterfaceStackTypePtrOutput return o } +func (o NetworkInterfaceStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceStackType] { + return pulumix.Output[*NetworkInterfaceStackType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceStackTypePtrOutput) Elem() NetworkInterfaceStackTypeOutput { return o.ApplyT(func(v *NetworkInterfaceStackType) NetworkInterfaceStackType { if v != nil { @@ -21900,6 +24229,12 @@ func (in *networkInterfaceStackTypePtr) ToNetworkInterfaceStackTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(NetworkInterfaceStackTypePtrOutput) } +func (in *networkInterfaceStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceStackType] { + return pulumix.Output[*NetworkInterfaceStackType]{ + OutputState: in.ToNetworkInterfaceStackTypePtrOutputWithContext(ctx).OutputState, + } +} + type NetworkInterfaceSubInterfaceIpAllocationMode string const ( @@ -21970,6 +24305,12 @@ func (o NetworkInterfaceSubInterfaceIpAllocationModeOutput) ToNetworkInterfaceSu }).(NetworkInterfaceSubInterfaceIpAllocationModePtrOutput) } +func (o NetworkInterfaceSubInterfaceIpAllocationModeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceSubInterfaceIpAllocationMode] { + return pulumix.Output[NetworkInterfaceSubInterfaceIpAllocationMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceSubInterfaceIpAllocationModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22005,6 +24346,12 @@ func (o NetworkInterfaceSubInterfaceIpAllocationModePtrOutput) ToNetworkInterfac return o } +func (o NetworkInterfaceSubInterfaceIpAllocationModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceSubInterfaceIpAllocationMode] { + return pulumix.Output[*NetworkInterfaceSubInterfaceIpAllocationMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceSubInterfaceIpAllocationModePtrOutput) Elem() NetworkInterfaceSubInterfaceIpAllocationModeOutput { return o.ApplyT(func(v *NetworkInterfaceSubInterfaceIpAllocationMode) NetworkInterfaceSubInterfaceIpAllocationMode { if v != nil { @@ -22067,6 +24414,12 @@ func (in *networkInterfaceSubInterfaceIpAllocationModePtr) ToNetworkInterfaceSub return pulumi.ToOutputWithContext(ctx, in).(NetworkInterfaceSubInterfaceIpAllocationModePtrOutput) } +func (in *networkInterfaceSubInterfaceIpAllocationModePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceSubInterfaceIpAllocationMode] { + return pulumix.Output[*NetworkInterfaceSubInterfaceIpAllocationMode]{ + OutputState: in.ToNetworkInterfaceSubInterfaceIpAllocationModePtrOutputWithContext(ctx).OutputState, + } +} + // The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. type NetworkNetworkFirewallPolicyEnforcementOrder string @@ -22135,6 +24488,12 @@ func (o NetworkNetworkFirewallPolicyEnforcementOrderOutput) ToNetworkNetworkFire }).(NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) } +func (o NetworkNetworkFirewallPolicyEnforcementOrderOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkNetworkFirewallPolicyEnforcementOrder] { + return pulumix.Output[NetworkNetworkFirewallPolicyEnforcementOrder]{ + OutputState: o.OutputState, + } +} + func (o NetworkNetworkFirewallPolicyEnforcementOrderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22170,6 +24529,12 @@ func (o NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) ToNetworkNetworkF return o } +func (o NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder] { + return pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder]{ + OutputState: o.OutputState, + } +} + func (o NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) Elem() NetworkNetworkFirewallPolicyEnforcementOrderOutput { return o.ApplyT(func(v *NetworkNetworkFirewallPolicyEnforcementOrder) NetworkNetworkFirewallPolicyEnforcementOrder { if v != nil { @@ -22232,6 +24597,12 @@ func (in *networkNetworkFirewallPolicyEnforcementOrderPtr) ToNetworkNetworkFirew return pulumi.ToOutputWithContext(ctx, in).(NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) } +func (in *networkNetworkFirewallPolicyEnforcementOrderPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder] { + return pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder]{ + OutputState: in.ToNetworkNetworkFirewallPolicyEnforcementOrderPtrOutputWithContext(ctx).OutputState, + } +} + type NetworkPerformanceConfigExternalIpEgressBandwidthTier string const ( @@ -22299,6 +24670,12 @@ func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierOutput) ToNetworkPe }).(NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput) } +func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigExternalIpEgressBandwidthTier] { + return pulumix.Output[NetworkPerformanceConfigExternalIpEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22334,6 +24711,12 @@ func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput) ToNetwor return o } +func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigExternalIpEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigExternalIpEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput) Elem() NetworkPerformanceConfigExternalIpEgressBandwidthTierOutput { return o.ApplyT(func(v *NetworkPerformanceConfigExternalIpEgressBandwidthTier) NetworkPerformanceConfigExternalIpEgressBandwidthTier { if v != nil { @@ -22396,6 +24779,12 @@ func (in *networkPerformanceConfigExternalIpEgressBandwidthTierPtr) ToNetworkPer return pulumi.ToOutputWithContext(ctx, in).(NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput) } +func (in *networkPerformanceConfigExternalIpEgressBandwidthTierPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigExternalIpEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigExternalIpEgressBandwidthTier]{ + OutputState: in.ToNetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutputWithContext(ctx).OutputState, + } +} + type NetworkPerformanceConfigTotalEgressBandwidthTier string const ( @@ -22463,6 +24852,12 @@ func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToNetworkPerform }).(NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) } +func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22498,6 +24893,12 @@ func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) ToNetworkPerf return o } +func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) Elem() NetworkPerformanceConfigTotalEgressBandwidthTierOutput { return o.ApplyT(func(v *NetworkPerformanceConfigTotalEgressBandwidthTier) NetworkPerformanceConfigTotalEgressBandwidthTier { if v != nil { @@ -22560,6 +24961,12 @@ func (in *networkPerformanceConfigTotalEgressBandwidthTierPtr) ToNetworkPerforma return pulumi.ToOutputWithContext(ctx, in).(NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) } +func (in *networkPerformanceConfigTotalEgressBandwidthTierPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: in.ToNetworkPerformanceConfigTotalEgressBandwidthTierPtrOutputWithContext(ctx).OutputState, + } +} + // The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. type NetworkRoutingConfigRoutingMode string @@ -22628,6 +25035,12 @@ func (o NetworkRoutingConfigRoutingModeOutput) ToNetworkRoutingConfigRoutingMode }).(NetworkRoutingConfigRoutingModePtrOutput) } +func (o NetworkRoutingConfigRoutingModeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfigRoutingMode] { + return pulumix.Output[NetworkRoutingConfigRoutingMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkRoutingConfigRoutingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22663,6 +25076,12 @@ func (o NetworkRoutingConfigRoutingModePtrOutput) ToNetworkRoutingConfigRoutingM return o } +func (o NetworkRoutingConfigRoutingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfigRoutingMode] { + return pulumix.Output[*NetworkRoutingConfigRoutingMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkRoutingConfigRoutingModePtrOutput) Elem() NetworkRoutingConfigRoutingModeOutput { return o.ApplyT(func(v *NetworkRoutingConfigRoutingMode) NetworkRoutingConfigRoutingMode { if v != nil { @@ -22725,6 +25144,12 @@ func (in *networkRoutingConfigRoutingModePtr) ToNetworkRoutingConfigRoutingModeP return pulumi.ToOutputWithContext(ctx, in).(NetworkRoutingConfigRoutingModePtrOutput) } +func (in *networkRoutingConfigRoutingModePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfigRoutingMode] { + return pulumix.Output[*NetworkRoutingConfigRoutingMode]{ + OutputState: in.ToNetworkRoutingConfigRoutingModePtrOutputWithContext(ctx).OutputState, + } +} + // The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. type NodeGroupAutoscalingPolicyMode string @@ -22798,6 +25223,12 @@ func (o NodeGroupAutoscalingPolicyModeOutput) ToNodeGroupAutoscalingPolicyModePt }).(NodeGroupAutoscalingPolicyModePtrOutput) } +func (o NodeGroupAutoscalingPolicyModeOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicyMode] { + return pulumix.Output[NodeGroupAutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAutoscalingPolicyModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22833,6 +25264,12 @@ func (o NodeGroupAutoscalingPolicyModePtrOutput) ToNodeGroupAutoscalingPolicyMod return o } +func (o NodeGroupAutoscalingPolicyModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicyMode] { + return pulumix.Output[*NodeGroupAutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAutoscalingPolicyModePtrOutput) Elem() NodeGroupAutoscalingPolicyModeOutput { return o.ApplyT(func(v *NodeGroupAutoscalingPolicyMode) NodeGroupAutoscalingPolicyMode { if v != nil { @@ -22895,6 +25332,12 @@ func (in *nodeGroupAutoscalingPolicyModePtr) ToNodeGroupAutoscalingPolicyModePtr return pulumi.ToOutputWithContext(ctx, in).(NodeGroupAutoscalingPolicyModePtrOutput) } +func (in *nodeGroupAutoscalingPolicyModePtr) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicyMode] { + return pulumix.Output[*NodeGroupAutoscalingPolicyMode]{ + OutputState: in.ToNodeGroupAutoscalingPolicyModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`. type NodeGroupMaintenanceInterval string @@ -22967,6 +25410,12 @@ func (o NodeGroupMaintenanceIntervalOutput) ToNodeGroupMaintenanceIntervalPtrOut }).(NodeGroupMaintenanceIntervalPtrOutput) } +func (o NodeGroupMaintenanceIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenanceInterval] { + return pulumix.Output[NodeGroupMaintenanceInterval]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenanceIntervalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23002,6 +25451,12 @@ func (o NodeGroupMaintenanceIntervalPtrOutput) ToNodeGroupMaintenanceIntervalPtr return o } +func (o NodeGroupMaintenanceIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenanceInterval] { + return pulumix.Output[*NodeGroupMaintenanceInterval]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenanceIntervalPtrOutput) Elem() NodeGroupMaintenanceIntervalOutput { return o.ApplyT(func(v *NodeGroupMaintenanceInterval) NodeGroupMaintenanceInterval { if v != nil { @@ -23064,6 +25519,12 @@ func (in *nodeGroupMaintenanceIntervalPtr) ToNodeGroupMaintenanceIntervalPtrOutp return pulumi.ToOutputWithContext(ctx, in).(NodeGroupMaintenanceIntervalPtrOutput) } +func (in *nodeGroupMaintenanceIntervalPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenanceInterval] { + return pulumix.Output[*NodeGroupMaintenanceInterval]{ + OutputState: in.ToNodeGroupMaintenanceIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. type NodeGroupMaintenancePolicy string @@ -23137,6 +25598,12 @@ func (o NodeGroupMaintenancePolicyOutput) ToNodeGroupMaintenancePolicyPtrOutputW }).(NodeGroupMaintenancePolicyPtrOutput) } +func (o NodeGroupMaintenancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenancePolicy] { + return pulumix.Output[NodeGroupMaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenancePolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23172,6 +25639,12 @@ func (o NodeGroupMaintenancePolicyPtrOutput) ToNodeGroupMaintenancePolicyPtrOutp return o } +func (o NodeGroupMaintenancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenancePolicy] { + return pulumix.Output[*NodeGroupMaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenancePolicyPtrOutput) Elem() NodeGroupMaintenancePolicyOutput { return o.ApplyT(func(v *NodeGroupMaintenancePolicy) NodeGroupMaintenancePolicy { if v != nil { @@ -23234,6 +25707,12 @@ func (in *nodeGroupMaintenancePolicyPtr) ToNodeGroupMaintenancePolicyPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(NodeGroupMaintenancePolicyPtrOutput) } +func (in *nodeGroupMaintenancePolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenancePolicy] { + return pulumix.Output[*NodeGroupMaintenancePolicy]{ + OutputState: in.ToNodeGroupMaintenancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + type NodeGroupStatus string const ( @@ -23312,6 +25791,12 @@ func (o NodeTemplateCpuOvercommitTypeOutput) ToNodeTemplateCpuOvercommitTypePtrO }).(NodeTemplateCpuOvercommitTypePtrOutput) } +func (o NodeTemplateCpuOvercommitTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateCpuOvercommitType] { + return pulumix.Output[NodeTemplateCpuOvercommitType]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateCpuOvercommitTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23347,6 +25832,12 @@ func (o NodeTemplateCpuOvercommitTypePtrOutput) ToNodeTemplateCpuOvercommitTypeP return o } +func (o NodeTemplateCpuOvercommitTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateCpuOvercommitType] { + return pulumix.Output[*NodeTemplateCpuOvercommitType]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateCpuOvercommitTypePtrOutput) Elem() NodeTemplateCpuOvercommitTypeOutput { return o.ApplyT(func(v *NodeTemplateCpuOvercommitType) NodeTemplateCpuOvercommitType { if v != nil { @@ -23409,6 +25900,12 @@ func (in *nodeTemplateCpuOvercommitTypePtr) ToNodeTemplateCpuOvercommitTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(NodeTemplateCpuOvercommitTypePtrOutput) } +func (in *nodeTemplateCpuOvercommitTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateCpuOvercommitType] { + return pulumix.Output[*NodeTemplateCpuOvercommitType]{ + OutputState: in.ToNodeTemplateCpuOvercommitTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. type OrganizationSecurityPolicyType string @@ -23480,6 +25977,12 @@ func (o OrganizationSecurityPolicyTypeOutput) ToOrganizationSecurityPolicyTypePt }).(OrganizationSecurityPolicyTypePtrOutput) } +func (o OrganizationSecurityPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationSecurityPolicyType] { + return pulumix.Output[OrganizationSecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationSecurityPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23515,6 +26018,12 @@ func (o OrganizationSecurityPolicyTypePtrOutput) ToOrganizationSecurityPolicyTyp return o } +func (o OrganizationSecurityPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSecurityPolicyType] { + return pulumix.Output[*OrganizationSecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationSecurityPolicyTypePtrOutput) Elem() OrganizationSecurityPolicyTypeOutput { return o.ApplyT(func(v *OrganizationSecurityPolicyType) OrganizationSecurityPolicyType { if v != nil { @@ -23577,6 +26086,12 @@ func (in *organizationSecurityPolicyTypePtr) ToOrganizationSecurityPolicyTypePtr return pulumi.ToOutputWithContext(ctx, in).(OrganizationSecurityPolicyTypePtrOutput) } +func (in *organizationSecurityPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSecurityPolicyType] { + return pulumix.Output[*OrganizationSecurityPolicyType]{ + OutputState: in.ToOrganizationSecurityPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. type PacketMirroringEnable string @@ -23645,6 +26160,12 @@ func (o PacketMirroringEnableOutput) ToPacketMirroringEnablePtrOutputWithContext }).(PacketMirroringEnablePtrOutput) } +func (o PacketMirroringEnableOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringEnable] { + return pulumix.Output[PacketMirroringEnable]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringEnableOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23680,6 +26201,12 @@ func (o PacketMirroringEnablePtrOutput) ToPacketMirroringEnablePtrOutputWithCont return o } +func (o PacketMirroringEnablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringEnable] { + return pulumix.Output[*PacketMirroringEnable]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringEnablePtrOutput) Elem() PacketMirroringEnableOutput { return o.ApplyT(func(v *PacketMirroringEnable) PacketMirroringEnable { if v != nil { @@ -23742,6 +26269,12 @@ func (in *packetMirroringEnablePtr) ToPacketMirroringEnablePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(PacketMirroringEnablePtrOutput) } +func (in *packetMirroringEnablePtr) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringEnable] { + return pulumix.Output[*PacketMirroringEnable]{ + OutputState: in.ToPacketMirroringEnablePtrOutputWithContext(ctx).OutputState, + } +} + // Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. type PacketMirroringFilterDirection string @@ -23814,6 +26347,12 @@ func (o PacketMirroringFilterDirectionOutput) ToPacketMirroringFilterDirectionPt }).(PacketMirroringFilterDirectionPtrOutput) } +func (o PacketMirroringFilterDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilterDirection] { + return pulumix.Output[PacketMirroringFilterDirection]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringFilterDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23849,6 +26388,12 @@ func (o PacketMirroringFilterDirectionPtrOutput) ToPacketMirroringFilterDirectio return o } +func (o PacketMirroringFilterDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilterDirection] { + return pulumix.Output[*PacketMirroringFilterDirection]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringFilterDirectionPtrOutput) Elem() PacketMirroringFilterDirectionOutput { return o.ApplyT(func(v *PacketMirroringFilterDirection) PacketMirroringFilterDirection { if v != nil { @@ -23911,6 +26456,12 @@ func (in *packetMirroringFilterDirectionPtr) ToPacketMirroringFilterDirectionPtr return pulumi.ToOutputWithContext(ctx, in).(PacketMirroringFilterDirectionPtrOutput) } +func (in *packetMirroringFilterDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilterDirection] { + return pulumix.Output[*PacketMirroringFilterDirection]{ + OutputState: in.ToPacketMirroringFilterDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how child public delegated prefix will be scoped. It could be one of following values: - `REGIONAL`: The public delegated prefix is regional only. The provisioning will take a few minutes. - `GLOBAL`: The public delegated prefix is global only. The provisioning will take ~4 weeks. - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. type PublicAdvertisedPrefixPdpScope string @@ -23983,6 +26534,12 @@ func (o PublicAdvertisedPrefixPdpScopeOutput) ToPublicAdvertisedPrefixPdpScopePt }).(PublicAdvertisedPrefixPdpScopePtrOutput) } +func (o PublicAdvertisedPrefixPdpScopeOutput) ToOutput(ctx context.Context) pulumix.Output[PublicAdvertisedPrefixPdpScope] { + return pulumix.Output[PublicAdvertisedPrefixPdpScope]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixPdpScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24018,6 +26575,12 @@ func (o PublicAdvertisedPrefixPdpScopePtrOutput) ToPublicAdvertisedPrefixPdpScop return o } +func (o PublicAdvertisedPrefixPdpScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefixPdpScope] { + return pulumix.Output[*PublicAdvertisedPrefixPdpScope]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixPdpScopePtrOutput) Elem() PublicAdvertisedPrefixPdpScopeOutput { return o.ApplyT(func(v *PublicAdvertisedPrefixPdpScope) PublicAdvertisedPrefixPdpScope { if v != nil { @@ -24080,6 +26643,12 @@ func (in *publicAdvertisedPrefixPdpScopePtr) ToPublicAdvertisedPrefixPdpScopePtr return pulumi.ToOutputWithContext(ctx, in).(PublicAdvertisedPrefixPdpScopePtrOutput) } +func (in *publicAdvertisedPrefixPdpScopePtr) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefixPdpScope] { + return pulumix.Output[*PublicAdvertisedPrefixPdpScope]{ + OutputState: in.ToPublicAdvertisedPrefixPdpScopePtrOutputWithContext(ctx).OutputState, + } +} + // The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. type PublicAdvertisedPrefixStatus string @@ -24164,6 +26733,12 @@ func (o PublicAdvertisedPrefixStatusOutput) ToPublicAdvertisedPrefixStatusPtrOut }).(PublicAdvertisedPrefixStatusPtrOutput) } +func (o PublicAdvertisedPrefixStatusOutput) ToOutput(ctx context.Context) pulumix.Output[PublicAdvertisedPrefixStatus] { + return pulumix.Output[PublicAdvertisedPrefixStatus]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24199,6 +26774,12 @@ func (o PublicAdvertisedPrefixStatusPtrOutput) ToPublicAdvertisedPrefixStatusPtr return o } +func (o PublicAdvertisedPrefixStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefixStatus] { + return pulumix.Output[*PublicAdvertisedPrefixStatus]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixStatusPtrOutput) Elem() PublicAdvertisedPrefixStatusOutput { return o.ApplyT(func(v *PublicAdvertisedPrefixStatus) PublicAdvertisedPrefixStatus { if v != nil { @@ -24261,6 +26842,12 @@ func (in *publicAdvertisedPrefixStatusPtr) ToPublicAdvertisedPrefixStatusPtrOutp return pulumi.ToOutputWithContext(ctx, in).(PublicAdvertisedPrefixStatusPtrOutput) } +func (in *publicAdvertisedPrefixStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefixStatus] { + return pulumix.Output[*PublicAdvertisedPrefixStatus]{ + OutputState: in.ToPublicAdvertisedPrefixStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. type RegionBackendServiceCompressionMode string @@ -24331,6 +26918,12 @@ func (o RegionBackendServiceCompressionModeOutput) ToRegionBackendServiceCompres }).(RegionBackendServiceCompressionModePtrOutput) } +func (o RegionBackendServiceCompressionModeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceCompressionMode] { + return pulumix.Output[RegionBackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceCompressionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24366,6 +26959,12 @@ func (o RegionBackendServiceCompressionModePtrOutput) ToRegionBackendServiceComp return o } +func (o RegionBackendServiceCompressionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceCompressionMode] { + return pulumix.Output[*RegionBackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceCompressionModePtrOutput) Elem() RegionBackendServiceCompressionModeOutput { return o.ApplyT(func(v *RegionBackendServiceCompressionMode) RegionBackendServiceCompressionMode { if v != nil { @@ -24428,6 +27027,12 @@ func (in *regionBackendServiceCompressionModePtr) ToRegionBackendServiceCompress return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceCompressionModePtrOutput) } +func (in *regionBackendServiceCompressionModePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceCompressionMode] { + return pulumix.Output[*RegionBackendServiceCompressionMode]{ + OutputState: in.ToRegionBackendServiceCompressionModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies preference of traffic to the backend (from the proxy and from the client for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv4 health-checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv6 health-checks are used to check the health of the backends. This field is applicable to either: - Advanced Global External HTTPS Load Balancing (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), - Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). type RegionBackendServiceIpAddressSelectionPolicy string @@ -24502,6 +27107,12 @@ func (o RegionBackendServiceIpAddressSelectionPolicyOutput) ToRegionBackendServi }).(RegionBackendServiceIpAddressSelectionPolicyPtrOutput) } +func (o RegionBackendServiceIpAddressSelectionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceIpAddressSelectionPolicy] { + return pulumix.Output[RegionBackendServiceIpAddressSelectionPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceIpAddressSelectionPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24537,6 +27148,12 @@ func (o RegionBackendServiceIpAddressSelectionPolicyPtrOutput) ToRegionBackendSe return o } +func (o RegionBackendServiceIpAddressSelectionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIpAddressSelectionPolicy] { + return pulumix.Output[*RegionBackendServiceIpAddressSelectionPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceIpAddressSelectionPolicyPtrOutput) Elem() RegionBackendServiceIpAddressSelectionPolicyOutput { return o.ApplyT(func(v *RegionBackendServiceIpAddressSelectionPolicy) RegionBackendServiceIpAddressSelectionPolicy { if v != nil { @@ -24599,6 +27216,12 @@ func (in *regionBackendServiceIpAddressSelectionPolicyPtr) ToRegionBackendServic return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceIpAddressSelectionPolicyPtrOutput) } +func (in *regionBackendServiceIpAddressSelectionPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIpAddressSelectionPolicy] { + return pulumix.Output[*RegionBackendServiceIpAddressSelectionPolicy]{ + OutputState: in.ToRegionBackendServiceIpAddressSelectionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. type RegionBackendServiceLoadBalancingScheme string @@ -24676,6 +27299,12 @@ func (o RegionBackendServiceLoadBalancingSchemeOutput) ToRegionBackendServiceLoa }).(RegionBackendServiceLoadBalancingSchemePtrOutput) } +func (o RegionBackendServiceLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceLoadBalancingScheme] { + return pulumix.Output[RegionBackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24711,6 +27340,12 @@ func (o RegionBackendServiceLoadBalancingSchemePtrOutput) ToRegionBackendService return o } +func (o RegionBackendServiceLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLoadBalancingScheme] { + return pulumix.Output[*RegionBackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLoadBalancingSchemePtrOutput) Elem() RegionBackendServiceLoadBalancingSchemeOutput { return o.ApplyT(func(v *RegionBackendServiceLoadBalancingScheme) RegionBackendServiceLoadBalancingScheme { if v != nil { @@ -24773,6 +27408,12 @@ func (in *regionBackendServiceLoadBalancingSchemePtr) ToRegionBackendServiceLoad return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceLoadBalancingSchemePtrOutput) } +func (in *regionBackendServiceLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLoadBalancingScheme] { + return pulumix.Output[*RegionBackendServiceLoadBalancingScheme]{ + OutputState: in.ToRegionBackendServiceLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. type RegionBackendServiceLocalityLbPolicy string @@ -24854,6 +27495,12 @@ func (o RegionBackendServiceLocalityLbPolicyOutput) ToRegionBackendServiceLocali }).(RegionBackendServiceLocalityLbPolicyPtrOutput) } +func (o RegionBackendServiceLocalityLbPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceLocalityLbPolicy] { + return pulumix.Output[RegionBackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLocalityLbPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24889,6 +27536,12 @@ func (o RegionBackendServiceLocalityLbPolicyPtrOutput) ToRegionBackendServiceLoc return o } +func (o RegionBackendServiceLocalityLbPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLocalityLbPolicy] { + return pulumix.Output[*RegionBackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLocalityLbPolicyPtrOutput) Elem() RegionBackendServiceLocalityLbPolicyOutput { return o.ApplyT(func(v *RegionBackendServiceLocalityLbPolicy) RegionBackendServiceLocalityLbPolicy { if v != nil { @@ -24951,6 +27604,12 @@ func (in *regionBackendServiceLocalityLbPolicyPtr) ToRegionBackendServiceLocalit return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceLocalityLbPolicyPtrOutput) } +func (in *regionBackendServiceLocalityLbPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLocalityLbPolicy] { + return pulumix.Output[*RegionBackendServiceLocalityLbPolicy]{ + OutputState: in.ToRegionBackendServiceLocalityLbPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. type RegionBackendServiceProtocol string @@ -25033,6 +27692,12 @@ func (o RegionBackendServiceProtocolOutput) ToRegionBackendServiceProtocolPtrOut }).(RegionBackendServiceProtocolPtrOutput) } +func (o RegionBackendServiceProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceProtocol] { + return pulumix.Output[RegionBackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25068,6 +27733,12 @@ func (o RegionBackendServiceProtocolPtrOutput) ToRegionBackendServiceProtocolPtr return o } +func (o RegionBackendServiceProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceProtocol] { + return pulumix.Output[*RegionBackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceProtocolPtrOutput) Elem() RegionBackendServiceProtocolOutput { return o.ApplyT(func(v *RegionBackendServiceProtocol) RegionBackendServiceProtocol { if v != nil { @@ -25130,6 +27801,12 @@ func (in *regionBackendServiceProtocolPtr) ToRegionBackendServiceProtocolPtrOutp return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceProtocolPtrOutput) } +func (in *regionBackendServiceProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceProtocol] { + return pulumix.Output[*RegionBackendServiceProtocol]{ + OutputState: in.ToRegionBackendServiceProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). type RegionBackendServiceSessionAffinity string @@ -25212,6 +27889,12 @@ func (o RegionBackendServiceSessionAffinityOutput) ToRegionBackendServiceSession }).(RegionBackendServiceSessionAffinityPtrOutput) } +func (o RegionBackendServiceSessionAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceSessionAffinity] { + return pulumix.Output[RegionBackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceSessionAffinityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25247,6 +27930,12 @@ func (o RegionBackendServiceSessionAffinityPtrOutput) ToRegionBackendServiceSess return o } +func (o RegionBackendServiceSessionAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceSessionAffinity] { + return pulumix.Output[*RegionBackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceSessionAffinityPtrOutput) Elem() RegionBackendServiceSessionAffinityOutput { return o.ApplyT(func(v *RegionBackendServiceSessionAffinity) RegionBackendServiceSessionAffinity { if v != nil { @@ -25309,6 +27998,12 @@ func (in *regionBackendServiceSessionAffinityPtr) ToRegionBackendServiceSessionA return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceSessionAffinityPtrOutput) } +func (in *regionBackendServiceSessionAffinityPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceSessionAffinity] { + return pulumix.Output[*RegionBackendServiceSessionAffinity]{ + OutputState: in.ToRegionBackendServiceSessionAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // The network scope of the backends that can be added to the backend service. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A backend service with the VPC scope set to GLOBAL_VPC_NETWORK is only allowed to have backends in global VPC networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the backend service is only allowed to have backends in regional networks in the same scope as the backend service. Note: if not specified then GLOBAL_VPC_NETWORK will be used. type RegionBackendServiceVpcNetworkScope string @@ -25379,6 +28074,12 @@ func (o RegionBackendServiceVpcNetworkScopeOutput) ToRegionBackendServiceVpcNetw }).(RegionBackendServiceVpcNetworkScopePtrOutput) } +func (o RegionBackendServiceVpcNetworkScopeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceVpcNetworkScope] { + return pulumix.Output[RegionBackendServiceVpcNetworkScope]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceVpcNetworkScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25414,6 +28115,12 @@ func (o RegionBackendServiceVpcNetworkScopePtrOutput) ToRegionBackendServiceVpcN return o } +func (o RegionBackendServiceVpcNetworkScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceVpcNetworkScope] { + return pulumix.Output[*RegionBackendServiceVpcNetworkScope]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceVpcNetworkScopePtrOutput) Elem() RegionBackendServiceVpcNetworkScopeOutput { return o.ApplyT(func(v *RegionBackendServiceVpcNetworkScope) RegionBackendServiceVpcNetworkScope { if v != nil { @@ -25476,6 +28183,12 @@ func (in *regionBackendServiceVpcNetworkScopePtr) ToRegionBackendServiceVpcNetwo return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceVpcNetworkScopePtrOutput) } +func (in *regionBackendServiceVpcNetworkScopePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceVpcNetworkScope] { + return pulumix.Output[*RegionBackendServiceVpcNetworkScope]{ + OutputState: in.ToRegionBackendServiceVpcNetworkScopePtrOutputWithContext(ctx).OutputState, + } +} + // The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. type RegionCommitmentCategory string @@ -25545,6 +28258,12 @@ func (o RegionCommitmentCategoryOutput) ToRegionCommitmentCategoryPtrOutputWithC }).(RegionCommitmentCategoryPtrOutput) } +func (o RegionCommitmentCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[RegionCommitmentCategory] { + return pulumix.Output[RegionCommitmentCategory]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25580,6 +28299,12 @@ func (o RegionCommitmentCategoryPtrOutput) ToRegionCommitmentCategoryPtrOutputWi return o } +func (o RegionCommitmentCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentCategory] { + return pulumix.Output[*RegionCommitmentCategory]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentCategoryPtrOutput) Elem() RegionCommitmentCategoryOutput { return o.ApplyT(func(v *RegionCommitmentCategory) RegionCommitmentCategory { if v != nil { @@ -25642,6 +28367,12 @@ func (in *regionCommitmentCategoryPtr) ToRegionCommitmentCategoryPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RegionCommitmentCategoryPtrOutput) } +func (in *regionCommitmentCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentCategory] { + return pulumix.Output[*RegionCommitmentCategory]{ + OutputState: in.ToRegionCommitmentCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). type RegionCommitmentPlan string @@ -25711,6 +28442,12 @@ func (o RegionCommitmentPlanOutput) ToRegionCommitmentPlanPtrOutputWithContext(c }).(RegionCommitmentPlanPtrOutput) } +func (o RegionCommitmentPlanOutput) ToOutput(ctx context.Context) pulumix.Output[RegionCommitmentPlan] { + return pulumix.Output[RegionCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25746,6 +28483,12 @@ func (o RegionCommitmentPlanPtrOutput) ToRegionCommitmentPlanPtrOutputWithContex return o } +func (o RegionCommitmentPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentPlan] { + return pulumix.Output[*RegionCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentPlanPtrOutput) Elem() RegionCommitmentPlanOutput { return o.ApplyT(func(v *RegionCommitmentPlan) RegionCommitmentPlan { if v != nil { @@ -25808,6 +28551,12 @@ func (in *regionCommitmentPlanPtr) ToRegionCommitmentPlanPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(RegionCommitmentPlanPtrOutput) } +func (in *regionCommitmentPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentPlan] { + return pulumix.Output[*RegionCommitmentPlan]{ + OutputState: in.ToRegionCommitmentPlanPtrOutputWithContext(ctx).OutputState, + } +} + // The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. type RegionCommitmentType string @@ -25888,6 +28637,12 @@ func (o RegionCommitmentTypeOutput) ToRegionCommitmentTypePtrOutputWithContext(c }).(RegionCommitmentTypePtrOutput) } +func (o RegionCommitmentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionCommitmentType] { + return pulumix.Output[RegionCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25923,6 +28678,12 @@ func (o RegionCommitmentTypePtrOutput) ToRegionCommitmentTypePtrOutputWithContex return o } +func (o RegionCommitmentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentType] { + return pulumix.Output[*RegionCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentTypePtrOutput) Elem() RegionCommitmentTypeOutput { return o.ApplyT(func(v *RegionCommitmentType) RegionCommitmentType { if v != nil { @@ -25985,6 +28746,12 @@ func (in *regionCommitmentTypePtr) ToRegionCommitmentTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(RegionCommitmentTypePtrOutput) } +func (in *regionCommitmentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentType] { + return pulumix.Output[*RegionCommitmentType]{ + OutputState: in.ToRegionCommitmentTypePtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. type RegionDiskArchitecture string @@ -26057,6 +28824,12 @@ func (o RegionDiskArchitectureOutput) ToRegionDiskArchitecturePtrOutputWithConte }).(RegionDiskArchitecturePtrOutput) } +func (o RegionDiskArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[RegionDiskArchitecture] { + return pulumix.Output[RegionDiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26092,6 +28865,12 @@ func (o RegionDiskArchitecturePtrOutput) ToRegionDiskArchitecturePtrOutputWithCo return o } +func (o RegionDiskArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskArchitecture] { + return pulumix.Output[*RegionDiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskArchitecturePtrOutput) Elem() RegionDiskArchitectureOutput { return o.ApplyT(func(v *RegionDiskArchitecture) RegionDiskArchitecture { if v != nil { @@ -26154,6 +28933,12 @@ func (in *regionDiskArchitecturePtr) ToRegionDiskArchitecturePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(RegionDiskArchitecturePtrOutput) } +func (in *regionDiskArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskArchitecture] { + return pulumix.Output[*RegionDiskArchitecture]{ + OutputState: in.ToRegionDiskArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. type RegionDiskInterface string @@ -26223,6 +29008,12 @@ func (o RegionDiskInterfaceOutput) ToRegionDiskInterfacePtrOutputWithContext(ctx }).(RegionDiskInterfacePtrOutput) } +func (o RegionDiskInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[RegionDiskInterface] { + return pulumix.Output[RegionDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26258,6 +29049,12 @@ func (o RegionDiskInterfacePtrOutput) ToRegionDiskInterfacePtrOutputWithContext( return o } +func (o RegionDiskInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskInterface] { + return pulumix.Output[*RegionDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskInterfacePtrOutput) Elem() RegionDiskInterfaceOutput { return o.ApplyT(func(v *RegionDiskInterface) RegionDiskInterface { if v != nil { @@ -26320,6 +29117,12 @@ func (in *regionDiskInterfacePtr) ToRegionDiskInterfacePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(RegionDiskInterfacePtrOutput) } +func (in *regionDiskInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskInterface] { + return pulumix.Output[*RegionDiskInterface]{ + OutputState: in.ToRegionDiskInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Storage type of the persistent disk. type RegionDiskStorageType string @@ -26388,6 +29191,12 @@ func (o RegionDiskStorageTypeOutput) ToRegionDiskStorageTypePtrOutputWithContext }).(RegionDiskStorageTypePtrOutput) } +func (o RegionDiskStorageTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionDiskStorageType] { + return pulumix.Output[RegionDiskStorageType]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskStorageTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26423,6 +29232,12 @@ func (o RegionDiskStorageTypePtrOutput) ToRegionDiskStorageTypePtrOutputWithCont return o } +func (o RegionDiskStorageTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskStorageType] { + return pulumix.Output[*RegionDiskStorageType]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskStorageTypePtrOutput) Elem() RegionDiskStorageTypeOutput { return o.ApplyT(func(v *RegionDiskStorageType) RegionDiskStorageType { if v != nil { @@ -26485,6 +29300,12 @@ func (in *regionDiskStorageTypePtr) ToRegionDiskStorageTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(RegionDiskStorageTypePtrOutput) } +func (in *regionDiskStorageTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskStorageType] { + return pulumix.Output[*RegionDiskStorageType]{ + OutputState: in.ToRegionDiskStorageTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. type RegionHealthCheckServiceHealthStatusAggregationPolicy string @@ -26555,6 +29376,12 @@ func (o RegionHealthCheckServiceHealthStatusAggregationPolicyOutput) ToRegionHea }).(RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) } +func (o RegionHealthCheckServiceHealthStatusAggregationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RegionHealthCheckServiceHealthStatusAggregationPolicy] { + return pulumix.Output[RegionHealthCheckServiceHealthStatusAggregationPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckServiceHealthStatusAggregationPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26590,6 +29417,12 @@ func (o RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) ToRegion return o } +func (o RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy] { + return pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) Elem() RegionHealthCheckServiceHealthStatusAggregationPolicyOutput { return o.ApplyT(func(v *RegionHealthCheckServiceHealthStatusAggregationPolicy) RegionHealthCheckServiceHealthStatusAggregationPolicy { if v != nil { @@ -26652,6 +29485,12 @@ func (in *regionHealthCheckServiceHealthStatusAggregationPolicyPtr) ToRegionHeal return pulumi.ToOutputWithContext(ctx, in).(RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) } +func (in *regionHealthCheckServiceHealthStatusAggregationPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy] { + return pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy]{ + OutputState: in.ToRegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // This field is deprecated. Use health_status_aggregation_policy instead. Policy for how the results from multiple health checks for the same endpoint are aggregated. - NO_AGGREGATION. An EndpointHealth message is returned for each backend in the health check service. - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY. . type RegionHealthCheckServiceHealthStatusAggregationStrategy string @@ -26722,6 +29561,12 @@ func (o RegionHealthCheckServiceHealthStatusAggregationStrategyOutput) ToRegionH }).(RegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutput) } +func (o RegionHealthCheckServiceHealthStatusAggregationStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[RegionHealthCheckServiceHealthStatusAggregationStrategy] { + return pulumix.Output[RegionHealthCheckServiceHealthStatusAggregationStrategy]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckServiceHealthStatusAggregationStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26757,6 +29602,12 @@ func (o RegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutput) ToRegi return o } +func (o RegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationStrategy] { + return pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationStrategy]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutput) Elem() RegionHealthCheckServiceHealthStatusAggregationStrategyOutput { return o.ApplyT(func(v *RegionHealthCheckServiceHealthStatusAggregationStrategy) RegionHealthCheckServiceHealthStatusAggregationStrategy { if v != nil { @@ -26819,6 +29670,12 @@ func (in *regionHealthCheckServiceHealthStatusAggregationStrategyPtr) ToRegionHe return pulumi.ToOutputWithContext(ctx, in).(RegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutput) } +func (in *regionHealthCheckServiceHealthStatusAggregationStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationStrategy] { + return pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationStrategy]{ + OutputState: in.ToRegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. type RegionHealthCheckType string @@ -26893,6 +29750,12 @@ func (o RegionHealthCheckTypeOutput) ToRegionHealthCheckTypePtrOutputWithContext }).(RegionHealthCheckTypePtrOutput) } +func (o RegionHealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionHealthCheckType] { + return pulumix.Output[RegionHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26928,6 +29791,12 @@ func (o RegionHealthCheckTypePtrOutput) ToRegionHealthCheckTypePtrOutputWithCont return o } +func (o RegionHealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckType] { + return pulumix.Output[*RegionHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckTypePtrOutput) Elem() RegionHealthCheckTypeOutput { return o.ApplyT(func(v *RegionHealthCheckType) RegionHealthCheckType { if v != nil { @@ -26990,6 +29859,12 @@ func (in *regionHealthCheckTypePtr) ToRegionHealthCheckTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(RegionHealthCheckTypePtrOutput) } +func (in *regionHealthCheckTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckType] { + return pulumix.Output[*RegionHealthCheckType]{ + OutputState: in.ToRegionHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + // The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER. type RegionInstanceGroupManagerFailoverAction string @@ -27058,6 +29933,12 @@ func (o RegionInstanceGroupManagerFailoverActionOutput) ToRegionInstanceGroupMan }).(RegionInstanceGroupManagerFailoverActionPtrOutput) } +func (o RegionInstanceGroupManagerFailoverActionOutput) ToOutput(ctx context.Context) pulumix.Output[RegionInstanceGroupManagerFailoverAction] { + return pulumix.Output[RegionInstanceGroupManagerFailoverAction]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerFailoverActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27093,6 +29974,12 @@ func (o RegionInstanceGroupManagerFailoverActionPtrOutput) ToRegionInstanceGroup return o } +func (o RegionInstanceGroupManagerFailoverActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerFailoverAction] { + return pulumix.Output[*RegionInstanceGroupManagerFailoverAction]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerFailoverActionPtrOutput) Elem() RegionInstanceGroupManagerFailoverActionOutput { return o.ApplyT(func(v *RegionInstanceGroupManagerFailoverAction) RegionInstanceGroupManagerFailoverAction { if v != nil { @@ -27155,6 +30042,12 @@ func (in *regionInstanceGroupManagerFailoverActionPtr) ToRegionInstanceGroupMana return pulumi.ToOutputWithContext(ctx, in).(RegionInstanceGroupManagerFailoverActionPtrOutput) } +func (in *regionInstanceGroupManagerFailoverActionPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerFailoverAction] { + return pulumix.Output[*RegionInstanceGroupManagerFailoverAction]{ + OutputState: in.ToRegionInstanceGroupManagerFailoverActionPtrOutputWithContext(ctx).OutputState, + } +} + // Pagination behavior of the listManagedInstances API method for this managed instance group. type RegionInstanceGroupManagerListManagedInstancesResults string @@ -27225,6 +30118,12 @@ func (o RegionInstanceGroupManagerListManagedInstancesResultsOutput) ToRegionIns }).(RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (o RegionInstanceGroupManagerListManagedInstancesResultsOutput) ToOutput(ctx context.Context) pulumix.Output[RegionInstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[RegionInstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerListManagedInstancesResultsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27260,6 +30159,12 @@ func (o RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) ToRegion return o } +func (o RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) Elem() RegionInstanceGroupManagerListManagedInstancesResultsOutput { return o.ApplyT(func(v *RegionInstanceGroupManagerListManagedInstancesResults) RegionInstanceGroupManagerListManagedInstancesResults { if v != nil { @@ -27322,6 +30227,12 @@ func (in *regionInstanceGroupManagerListManagedInstancesResultsPtr) ToRegionInst return pulumi.ToOutputWithContext(ctx, in).(RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (in *regionInstanceGroupManagerListManagedInstancesResultsPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults]{ + OutputState: in.ToRegionInstanceGroupManagerListManagedInstancesResultsPtrOutputWithContext(ctx).OutputState, + } +} + // The unit of measure for the target size. type RegionInstanceGroupManagerTargetSizeUnit string @@ -27392,6 +30303,12 @@ func (o RegionInstanceGroupManagerTargetSizeUnitOutput) ToRegionInstanceGroupMan }).(RegionInstanceGroupManagerTargetSizeUnitPtrOutput) } +func (o RegionInstanceGroupManagerTargetSizeUnitOutput) ToOutput(ctx context.Context) pulumix.Output[RegionInstanceGroupManagerTargetSizeUnit] { + return pulumix.Output[RegionInstanceGroupManagerTargetSizeUnit]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerTargetSizeUnitOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27427,6 +30344,12 @@ func (o RegionInstanceGroupManagerTargetSizeUnitPtrOutput) ToRegionInstanceGroup return o } +func (o RegionInstanceGroupManagerTargetSizeUnitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerTargetSizeUnit] { + return pulumix.Output[*RegionInstanceGroupManagerTargetSizeUnit]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerTargetSizeUnitPtrOutput) Elem() RegionInstanceGroupManagerTargetSizeUnitOutput { return o.ApplyT(func(v *RegionInstanceGroupManagerTargetSizeUnit) RegionInstanceGroupManagerTargetSizeUnit { if v != nil { @@ -27489,6 +30412,12 @@ func (in *regionInstanceGroupManagerTargetSizeUnitPtr) ToRegionInstanceGroupMana return pulumi.ToOutputWithContext(ctx, in).(RegionInstanceGroupManagerTargetSizeUnitPtrOutput) } +func (in *regionInstanceGroupManagerTargetSizeUnitPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerTargetSizeUnit] { + return pulumix.Output[*RegionInstanceGroupManagerTargetSizeUnit]{ + OutputState: in.ToRegionInstanceGroupManagerTargetSizeUnitPtrOutputWithContext(ctx).OutputState, + } +} + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. type RegionNetworkEndpointGroupNetworkEndpointType string @@ -27571,6 +30500,12 @@ func (o RegionNetworkEndpointGroupNetworkEndpointTypeOutput) ToRegionNetworkEndp }).(RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (o RegionNetworkEndpointGroupNetworkEndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[RegionNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o RegionNetworkEndpointGroupNetworkEndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27606,6 +30541,12 @@ func (o RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToRegionNetworkE return o } +func (o RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) Elem() RegionNetworkEndpointGroupNetworkEndpointTypeOutput { return o.ApplyT(func(v *RegionNetworkEndpointGroupNetworkEndpointType) RegionNetworkEndpointGroupNetworkEndpointType { if v != nil { @@ -27668,6 +30609,12 @@ func (in *regionNetworkEndpointGroupNetworkEndpointTypePtr) ToRegionNetworkEndpo return pulumi.ToOutputWithContext(ctx, in).(RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (in *regionNetworkEndpointGroupNetworkEndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType]{ + OutputState: in.ToRegionNetworkEndpointGroupNetworkEndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specify the type of this network endpoint group. Only LOAD_BALANCING is valid for now. type RegionNetworkEndpointGroupType string @@ -27736,6 +30683,12 @@ func (o RegionNetworkEndpointGroupTypeOutput) ToRegionNetworkEndpointGroupTypePt }).(RegionNetworkEndpointGroupTypePtrOutput) } +func (o RegionNetworkEndpointGroupTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionNetworkEndpointGroupType] { + return pulumix.Output[RegionNetworkEndpointGroupType]{ + OutputState: o.OutputState, + } +} + func (o RegionNetworkEndpointGroupTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27771,6 +30724,12 @@ func (o RegionNetworkEndpointGroupTypePtrOutput) ToRegionNetworkEndpointGroupTyp return o } +func (o RegionNetworkEndpointGroupTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroupType] { + return pulumix.Output[*RegionNetworkEndpointGroupType]{ + OutputState: o.OutputState, + } +} + func (o RegionNetworkEndpointGroupTypePtrOutput) Elem() RegionNetworkEndpointGroupTypeOutput { return o.ApplyT(func(v *RegionNetworkEndpointGroupType) RegionNetworkEndpointGroupType { if v != nil { @@ -27833,6 +30792,12 @@ func (in *regionNetworkEndpointGroupTypePtr) ToRegionNetworkEndpointGroupTypePtr return pulumi.ToOutputWithContext(ctx, in).(RegionNetworkEndpointGroupTypePtrOutput) } +func (in *regionNetworkEndpointGroupTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroupType] { + return pulumix.Output[*RegionNetworkEndpointGroupType]{ + OutputState: in.ToRegionNetworkEndpointGroupTypePtrOutputWithContext(ctx).OutputState, + } +} + // The scope of networks allowed to be associated with the firewall policy. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A firewall policy with the VPC scope set to GLOBAL_VPC_NETWORK is allowed to be attached only to global networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the firewall policy is allowed to be attached only to regional networks in the same scope as the firewall policy. Note: if not specified then GLOBAL_VPC_NETWORK will be used. type RegionNetworkFirewallPolicyVpcNetworkScope string @@ -27903,6 +30868,12 @@ func (o RegionNetworkFirewallPolicyVpcNetworkScopeOutput) ToRegionNetworkFirewal }).(RegionNetworkFirewallPolicyVpcNetworkScopePtrOutput) } +func (o RegionNetworkFirewallPolicyVpcNetworkScopeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionNetworkFirewallPolicyVpcNetworkScope] { + return pulumix.Output[RegionNetworkFirewallPolicyVpcNetworkScope]{ + OutputState: o.OutputState, + } +} + func (o RegionNetworkFirewallPolicyVpcNetworkScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27938,6 +30909,12 @@ func (o RegionNetworkFirewallPolicyVpcNetworkScopePtrOutput) ToRegionNetworkFire return o } +func (o RegionNetworkFirewallPolicyVpcNetworkScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyVpcNetworkScope] { + return pulumix.Output[*RegionNetworkFirewallPolicyVpcNetworkScope]{ + OutputState: o.OutputState, + } +} + func (o RegionNetworkFirewallPolicyVpcNetworkScopePtrOutput) Elem() RegionNetworkFirewallPolicyVpcNetworkScopeOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicyVpcNetworkScope) RegionNetworkFirewallPolicyVpcNetworkScope { if v != nil { @@ -28000,6 +30977,12 @@ func (in *regionNetworkFirewallPolicyVpcNetworkScopePtr) ToRegionNetworkFirewall return pulumi.ToOutputWithContext(ctx, in).(RegionNetworkFirewallPolicyVpcNetworkScopePtrOutput) } +func (in *regionNetworkFirewallPolicyVpcNetworkScopePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyVpcNetworkScope] { + return pulumix.Output[*RegionNetworkFirewallPolicyVpcNetworkScope]{ + OutputState: in.ToRegionNetworkFirewallPolicyVpcNetworkScopePtrOutputWithContext(ctx).OutputState, + } +} + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. type RegionSecurityPolicyType string @@ -28071,6 +31054,12 @@ func (o RegionSecurityPolicyTypeOutput) ToRegionSecurityPolicyTypePtrOutputWithC }).(RegionSecurityPolicyTypePtrOutput) } +func (o RegionSecurityPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSecurityPolicyType] { + return pulumix.Output[RegionSecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o RegionSecurityPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28106,6 +31095,12 @@ func (o RegionSecurityPolicyTypePtrOutput) ToRegionSecurityPolicyTypePtrOutputWi return o } +func (o RegionSecurityPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicyType] { + return pulumix.Output[*RegionSecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o RegionSecurityPolicyTypePtrOutput) Elem() RegionSecurityPolicyTypeOutput { return o.ApplyT(func(v *RegionSecurityPolicyType) RegionSecurityPolicyType { if v != nil { @@ -28168,6 +31163,12 @@ func (in *regionSecurityPolicyTypePtr) ToRegionSecurityPolicyTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RegionSecurityPolicyTypePtrOutput) } +func (in *regionSecurityPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicyType] { + return pulumix.Output[*RegionSecurityPolicyType]{ + OutputState: in.ToRegionSecurityPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. type RegionSslCertificateType string @@ -28239,6 +31240,12 @@ func (o RegionSslCertificateTypeOutput) ToRegionSslCertificateTypePtrOutputWithC }).(RegionSslCertificateTypePtrOutput) } +func (o RegionSslCertificateTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslCertificateType] { + return pulumix.Output[RegionSslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o RegionSslCertificateTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28274,6 +31281,12 @@ func (o RegionSslCertificateTypePtrOutput) ToRegionSslCertificateTypePtrOutputWi return o } +func (o RegionSslCertificateTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificateType] { + return pulumix.Output[*RegionSslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o RegionSslCertificateTypePtrOutput) Elem() RegionSslCertificateTypeOutput { return o.ApplyT(func(v *RegionSslCertificateType) RegionSslCertificateType { if v != nil { @@ -28336,6 +31349,12 @@ func (in *regionSslCertificateTypePtr) ToRegionSslCertificateTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RegionSslCertificateTypePtrOutput) } +func (in *regionSslCertificateTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificateType] { + return pulumix.Output[*RegionSslCertificateType]{ + OutputState: in.ToRegionSslCertificateTypePtrOutputWithContext(ctx).OutputState, + } +} + // The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. type RegionSslPolicyMinTlsVersion string @@ -28408,6 +31427,12 @@ func (o RegionSslPolicyMinTlsVersionOutput) ToRegionSslPolicyMinTlsVersionPtrOut }).(RegionSslPolicyMinTlsVersionPtrOutput) } +func (o RegionSslPolicyMinTlsVersionOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyMinTlsVersion] { + return pulumix.Output[RegionSslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyMinTlsVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28443,6 +31468,12 @@ func (o RegionSslPolicyMinTlsVersionPtrOutput) ToRegionSslPolicyMinTlsVersionPtr return o } +func (o RegionSslPolicyMinTlsVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyMinTlsVersion] { + return pulumix.Output[*RegionSslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyMinTlsVersionPtrOutput) Elem() RegionSslPolicyMinTlsVersionOutput { return o.ApplyT(func(v *RegionSslPolicyMinTlsVersion) RegionSslPolicyMinTlsVersion { if v != nil { @@ -28505,6 +31536,12 @@ func (in *regionSslPolicyMinTlsVersionPtr) ToRegionSslPolicyMinTlsVersionPtrOutp return pulumi.ToOutputWithContext(ctx, in).(RegionSslPolicyMinTlsVersionPtrOutput) } +func (in *regionSslPolicyMinTlsVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyMinTlsVersion] { + return pulumix.Output[*RegionSslPolicyMinTlsVersion]{ + OutputState: in.ToRegionSslPolicyMinTlsVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. type RegionSslPolicyProfile string @@ -28579,6 +31616,12 @@ func (o RegionSslPolicyProfileOutput) ToRegionSslPolicyProfilePtrOutputWithConte }).(RegionSslPolicyProfilePtrOutput) } +func (o RegionSslPolicyProfileOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyProfile] { + return pulumix.Output[RegionSslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28614,6 +31657,12 @@ func (o RegionSslPolicyProfilePtrOutput) ToRegionSslPolicyProfilePtrOutputWithCo return o } +func (o RegionSslPolicyProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyProfile] { + return pulumix.Output[*RegionSslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyProfilePtrOutput) Elem() RegionSslPolicyProfileOutput { return o.ApplyT(func(v *RegionSslPolicyProfile) RegionSslPolicyProfile { if v != nil { @@ -28676,6 +31725,12 @@ func (in *regionSslPolicyProfilePtr) ToRegionSslPolicyProfilePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(RegionSslPolicyProfilePtrOutput) } +func (in *regionSslPolicyProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyProfile] { + return pulumix.Output[*RegionSslPolicyProfile]{ + OutputState: in.ToRegionSslPolicyProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. type RegionTargetHttpsProxyQuicOverride string @@ -28748,6 +31803,12 @@ func (o RegionTargetHttpsProxyQuicOverrideOutput) ToRegionTargetHttpsProxyQuicOv }).(RegionTargetHttpsProxyQuicOverridePtrOutput) } +func (o RegionTargetHttpsProxyQuicOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[RegionTargetHttpsProxyQuicOverride] { + return pulumix.Output[RegionTargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetHttpsProxyQuicOverrideOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28783,6 +31844,12 @@ func (o RegionTargetHttpsProxyQuicOverridePtrOutput) ToRegionTargetHttpsProxyQui return o } +func (o RegionTargetHttpsProxyQuicOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxyQuicOverride] { + return pulumix.Output[*RegionTargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetHttpsProxyQuicOverridePtrOutput) Elem() RegionTargetHttpsProxyQuicOverrideOutput { return o.ApplyT(func(v *RegionTargetHttpsProxyQuicOverride) RegionTargetHttpsProxyQuicOverride { if v != nil { @@ -28845,6 +31912,12 @@ func (in *regionTargetHttpsProxyQuicOverridePtr) ToRegionTargetHttpsProxyQuicOve return pulumi.ToOutputWithContext(ctx, in).(RegionTargetHttpsProxyQuicOverridePtrOutput) } +func (in *regionTargetHttpsProxyQuicOverridePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxyQuicOverride] { + return pulumix.Output[*RegionTargetHttpsProxyQuicOverride]{ + OutputState: in.ToRegionTargetHttpsProxyQuicOverridePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type RegionTargetTcpProxyProxyHeader string @@ -28913,6 +31986,12 @@ func (o RegionTargetTcpProxyProxyHeaderOutput) ToRegionTargetTcpProxyProxyHeader }).(RegionTargetTcpProxyProxyHeaderPtrOutput) } +func (o RegionTargetTcpProxyProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[RegionTargetTcpProxyProxyHeader] { + return pulumix.Output[RegionTargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetTcpProxyProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28948,6 +32027,12 @@ func (o RegionTargetTcpProxyProxyHeaderPtrOutput) ToRegionTargetTcpProxyProxyHea return o } +func (o RegionTargetTcpProxyProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxyProxyHeader] { + return pulumix.Output[*RegionTargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetTcpProxyProxyHeaderPtrOutput) Elem() RegionTargetTcpProxyProxyHeaderOutput { return o.ApplyT(func(v *RegionTargetTcpProxyProxyHeader) RegionTargetTcpProxyProxyHeader { if v != nil { @@ -29010,6 +32095,12 @@ func (in *regionTargetTcpProxyProxyHeaderPtr) ToRegionTargetTcpProxyProxyHeaderP return pulumi.ToOutputWithContext(ctx, in).(RegionTargetTcpProxyProxyHeaderPtrOutput) } +func (in *regionTargetTcpProxyProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxyProxyHeader] { + return pulumix.Output[*RegionTargetTcpProxyProxyHeader]{ + OutputState: in.ToRegionTargetTcpProxyProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. type ReservationAffinityConsumeReservationType string @@ -29085,6 +32176,12 @@ func (o ReservationAffinityConsumeReservationTypeOutput) ToReservationAffinityCo }).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (o ReservationAffinityConsumeReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityConsumeReservationType] { + return pulumix.Output[ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29120,6 +32217,12 @@ func (o ReservationAffinityConsumeReservationTypePtrOutput) ToReservationAffinit return o } +func (o ReservationAffinityConsumeReservationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypePtrOutput) Elem() ReservationAffinityConsumeReservationTypeOutput { return o.ApplyT(func(v *ReservationAffinityConsumeReservationType) ReservationAffinityConsumeReservationType { if v != nil { @@ -29182,6 +32285,12 @@ func (in *reservationAffinityConsumeReservationTypePtr) ToReservationAffinityCon return pulumi.ToOutputWithContext(ctx, in).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (in *reservationAffinityConsumeReservationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: in.ToReservationAffinityConsumeReservationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR. type ResourceCommitmentType string @@ -29253,6 +32362,12 @@ func (o ResourceCommitmentTypeOutput) ToResourceCommitmentTypePtrOutputWithConte }).(ResourceCommitmentTypePtrOutput) } +func (o ResourceCommitmentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitmentType] { + return pulumix.Output[ResourceCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29288,6 +32403,12 @@ func (o ResourceCommitmentTypePtrOutput) ToResourceCommitmentTypePtrOutputWithCo return o } +func (o ResourceCommitmentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceCommitmentType] { + return pulumix.Output[*ResourceCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentTypePtrOutput) Elem() ResourceCommitmentTypeOutput { return o.ApplyT(func(v *ResourceCommitmentType) ResourceCommitmentType { if v != nil { @@ -29350,6 +32471,12 @@ func (in *resourceCommitmentTypePtr) ToResourceCommitmentTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ResourceCommitmentTypePtrOutput) } +func (in *resourceCommitmentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ResourceCommitmentType] { + return pulumix.Output[*ResourceCommitmentType]{ + OutputState: in.ToResourceCommitmentTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies network collocation type ResourcePolicyGroupPlacementPolicyCollocation string @@ -29420,6 +32547,12 @@ func (o ResourcePolicyGroupPlacementPolicyCollocationOutput) ToResourcePolicyGro }).(ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) } +func (o ResourcePolicyGroupPlacementPolicyCollocationOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicyCollocation] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicyCollocation]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyCollocationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29455,6 +32588,12 @@ func (o ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) ToResourcePolicy return o } +func (o ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) Elem() ResourcePolicyGroupPlacementPolicyCollocationOutput { return o.ApplyT(func(v *ResourcePolicyGroupPlacementPolicyCollocation) ResourcePolicyGroupPlacementPolicyCollocation { if v != nil { @@ -29517,6 +32656,12 @@ func (in *resourcePolicyGroupPlacementPolicyCollocationPtr) ToResourcePolicyGrou return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) } +func (in *resourcePolicyGroupPlacementPolicyCollocationPtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation]{ + OutputState: in.ToResourcePolicyGroupPlacementPolicyCollocationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies network locality type ResourcePolicyGroupPlacementPolicyLocality string @@ -29586,6 +32731,12 @@ func (o ResourcePolicyGroupPlacementPolicyLocalityOutput) ToResourcePolicyGroupP }).(ResourcePolicyGroupPlacementPolicyLocalityPtrOutput) } +func (o ResourcePolicyGroupPlacementPolicyLocalityOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicyLocality] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicyLocality]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyLocalityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29621,6 +32772,12 @@ func (o ResourcePolicyGroupPlacementPolicyLocalityPtrOutput) ToResourcePolicyGro return o } +func (o ResourcePolicyGroupPlacementPolicyLocalityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyLocality] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyLocality]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyLocalityPtrOutput) Elem() ResourcePolicyGroupPlacementPolicyLocalityOutput { return o.ApplyT(func(v *ResourcePolicyGroupPlacementPolicyLocality) ResourcePolicyGroupPlacementPolicyLocality { if v != nil { @@ -29683,6 +32840,12 @@ func (in *resourcePolicyGroupPlacementPolicyLocalityPtr) ToResourcePolicyGroupPl return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicyGroupPlacementPolicyLocalityPtrOutput) } +func (in *resourcePolicyGroupPlacementPolicyLocalityPtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyLocality] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyLocality]{ + OutputState: in.ToResourcePolicyGroupPlacementPolicyLocalityPtrOutputWithContext(ctx).OutputState, + } +} + // Scope specifies the availability domain to which the VMs should be spread. type ResourcePolicyGroupPlacementPolicyScope string @@ -29753,6 +32916,12 @@ func (o ResourcePolicyGroupPlacementPolicyScopeOutput) ToResourcePolicyGroupPlac }).(ResourcePolicyGroupPlacementPolicyScopePtrOutput) } +func (o ResourcePolicyGroupPlacementPolicyScopeOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicyScope] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicyScope]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29788,6 +32957,12 @@ func (o ResourcePolicyGroupPlacementPolicyScopePtrOutput) ToResourcePolicyGroupP return o } +func (o ResourcePolicyGroupPlacementPolicyScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyScope] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyScope]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyScopePtrOutput) Elem() ResourcePolicyGroupPlacementPolicyScopeOutput { return o.ApplyT(func(v *ResourcePolicyGroupPlacementPolicyScope) ResourcePolicyGroupPlacementPolicyScope { if v != nil { @@ -29850,6 +33025,12 @@ func (in *resourcePolicyGroupPlacementPolicyScopePtr) ToResourcePolicyGroupPlace return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicyGroupPlacementPolicyScopePtrOutput) } +func (in *resourcePolicyGroupPlacementPolicyScopePtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyScope] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyScope]{ + OutputState: in.ToResourcePolicyGroupPlacementPolicyScopePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies instances to hosts placement relationship type ResourcePolicyGroupPlacementPolicyStyle string @@ -29921,6 +33102,12 @@ func (o ResourcePolicyGroupPlacementPolicyStyleOutput) ToResourcePolicyGroupPlac }).(ResourcePolicyGroupPlacementPolicyStylePtrOutput) } +func (o ResourcePolicyGroupPlacementPolicyStyleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicyStyle] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicyStyle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyStyleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29956,6 +33143,12 @@ func (o ResourcePolicyGroupPlacementPolicyStylePtrOutput) ToResourcePolicyGroupP return o } +func (o ResourcePolicyGroupPlacementPolicyStylePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyStyle] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyStyle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyStylePtrOutput) Elem() ResourcePolicyGroupPlacementPolicyStyleOutput { return o.ApplyT(func(v *ResourcePolicyGroupPlacementPolicyStyle) ResourcePolicyGroupPlacementPolicyStyle { if v != nil { @@ -30018,6 +33211,12 @@ func (in *resourcePolicyGroupPlacementPolicyStylePtr) ToResourcePolicyGroupPlace return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicyGroupPlacementPolicyStylePtrOutput) } +func (in *resourcePolicyGroupPlacementPolicyStylePtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyStyle] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyStyle]{ + OutputState: in.ToResourcePolicyGroupPlacementPolicyStylePtrOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch string const ( @@ -30086,6 +33285,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchOutput) }).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchPtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30121,6 +33326,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchPtrOutp return o } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchPtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch) ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch { if v != nil { @@ -30183,6 +33394,12 @@ func (in *resourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchPtr) return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchPtrOutput) } +func (in *resourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchPtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch]{ + OutputState: in.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitchPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. type ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete string @@ -30252,6 +33469,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOut }).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30287,6 +33510,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtr return o } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete) ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete { if v != nil { @@ -30349,6 +33578,12 @@ func (in *resourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteP return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) } +func (in *resourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete]{ + OutputState: in.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutputWithContext(ctx).OutputState, + } +} + // Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. type ResourcePolicyWeeklyCycleDayOfWeekDay string @@ -30423,6 +33658,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekDayOutput) ToResourcePolicyWeeklyCycle }).(ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) } +func (o ResourcePolicyWeeklyCycleDayOfWeekDayOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekDay] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekDay]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekDayOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30458,6 +33699,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) ToResourcePolicyWeeklyCy return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay] { + return pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) Elem() ResourcePolicyWeeklyCycleDayOfWeekDayOutput { return o.ApplyT(func(v *ResourcePolicyWeeklyCycleDayOfWeekDay) ResourcePolicyWeeklyCycleDayOfWeekDay { if v != nil { @@ -30520,6 +33767,12 @@ func (in *resourcePolicyWeeklyCycleDayOfWeekDayPtr) ToResourcePolicyWeeklyCycleD return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) } +func (in *resourcePolicyWeeklyCycleDayOfWeekDayPtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay] { + return pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay]{ + OutputState: in.ToResourcePolicyWeeklyCycleDayOfWeekDayPtrOutputWithContext(ctx).OutputState, + } +} + // ILB route behavior when ILB is deemed unhealthy based on user specified threshold on the Backend Service of the internal load balancing. type RouteIlbRouteBehaviorOnUnhealthy string @@ -30590,6 +33843,12 @@ func (o RouteIlbRouteBehaviorOnUnhealthyOutput) ToRouteIlbRouteBehaviorOnUnhealt }).(RouteIlbRouteBehaviorOnUnhealthyPtrOutput) } +func (o RouteIlbRouteBehaviorOnUnhealthyOutput) ToOutput(ctx context.Context) pulumix.Output[RouteIlbRouteBehaviorOnUnhealthy] { + return pulumix.Output[RouteIlbRouteBehaviorOnUnhealthy]{ + OutputState: o.OutputState, + } +} + func (o RouteIlbRouteBehaviorOnUnhealthyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30625,6 +33884,12 @@ func (o RouteIlbRouteBehaviorOnUnhealthyPtrOutput) ToRouteIlbRouteBehaviorOnUnhe return o } +func (o RouteIlbRouteBehaviorOnUnhealthyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouteIlbRouteBehaviorOnUnhealthy] { + return pulumix.Output[*RouteIlbRouteBehaviorOnUnhealthy]{ + OutputState: o.OutputState, + } +} + func (o RouteIlbRouteBehaviorOnUnhealthyPtrOutput) Elem() RouteIlbRouteBehaviorOnUnhealthyOutput { return o.ApplyT(func(v *RouteIlbRouteBehaviorOnUnhealthy) RouteIlbRouteBehaviorOnUnhealthy { if v != nil { @@ -30687,6 +33952,12 @@ func (in *routeIlbRouteBehaviorOnUnhealthyPtr) ToRouteIlbRouteBehaviorOnUnhealth return pulumi.ToOutputWithContext(ctx, in).(RouteIlbRouteBehaviorOnUnhealthyPtrOutput) } +func (in *routeIlbRouteBehaviorOnUnhealthyPtr) ToOutput(ctx context.Context) pulumix.Output[*RouteIlbRouteBehaviorOnUnhealthy] { + return pulumix.Output[*RouteIlbRouteBehaviorOnUnhealthy]{ + OutputState: in.ToRouteIlbRouteBehaviorOnUnhealthyPtrOutputWithContext(ctx).OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. type RouterBgpAdvertiseMode string @@ -30755,6 +34026,12 @@ func (o RouterBgpAdvertiseModeOutput) ToRouterBgpAdvertiseModePtrOutputWithConte }).(RouterBgpAdvertiseModePtrOutput) } +func (o RouterBgpAdvertiseModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpAdvertiseMode] { + return pulumix.Output[RouterBgpAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertiseModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30790,6 +34067,12 @@ func (o RouterBgpAdvertiseModePtrOutput) ToRouterBgpAdvertiseModePtrOutputWithCo return o } +func (o RouterBgpAdvertiseModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertiseMode] { + return pulumix.Output[*RouterBgpAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertiseModePtrOutput) Elem() RouterBgpAdvertiseModeOutput { return o.ApplyT(func(v *RouterBgpAdvertiseMode) RouterBgpAdvertiseMode { if v != nil { @@ -30852,6 +34135,12 @@ func (in *routerBgpAdvertiseModePtr) ToRouterBgpAdvertiseModePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(RouterBgpAdvertiseModePtrOutput) } +func (in *routerBgpAdvertiseModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertiseMode] { + return pulumix.Output[*RouterBgpAdvertiseMode]{ + OutputState: in.ToRouterBgpAdvertiseModePtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpAdvertisedGroupsItem string const ( @@ -30923,6 +34212,12 @@ func (o RouterBgpAdvertisedGroupsItemOutput) ToRouterBgpAdvertisedGroupsItemPtrO }).(RouterBgpAdvertisedGroupsItemPtrOutput) } +func (o RouterBgpAdvertisedGroupsItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[RouterBgpAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertisedGroupsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30958,6 +34253,12 @@ func (o RouterBgpAdvertisedGroupsItemPtrOutput) ToRouterBgpAdvertisedGroupsItemP return o } +func (o RouterBgpAdvertisedGroupsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertisedGroupsItemPtrOutput) Elem() RouterBgpAdvertisedGroupsItemOutput { return o.ApplyT(func(v *RouterBgpAdvertisedGroupsItem) RouterBgpAdvertisedGroupsItem { if v != nil { @@ -31020,6 +34321,12 @@ func (in *routerBgpAdvertisedGroupsItemPtr) ToRouterBgpAdvertisedGroupsItemPtrOu return pulumi.ToOutputWithContext(ctx, in).(RouterBgpAdvertisedGroupsItemPtrOutput) } +func (in *routerBgpAdvertisedGroupsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpAdvertisedGroupsItem]{ + OutputState: in.ToRouterBgpAdvertisedGroupsItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterBgpAdvertisedGroupsItemArrayInput is an input type that accepts RouterBgpAdvertisedGroupsItemArray and RouterBgpAdvertisedGroupsItemArrayOutput values. // You can construct a concrete instance of `RouterBgpAdvertisedGroupsItemArrayInput` via: // @@ -31045,6 +34352,12 @@ func (i RouterBgpAdvertisedGroupsItemArray) ToRouterBgpAdvertisedGroupsItemArray return pulumi.ToOutputWithContext(ctx, i).(RouterBgpAdvertisedGroupsItemArrayOutput) } +func (i RouterBgpAdvertisedGroupsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpAdvertisedGroupsItem]{ + OutputState: i.ToRouterBgpAdvertisedGroupsItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpAdvertisedGroupsItemArrayOutput struct{ *pulumi.OutputState } func (RouterBgpAdvertisedGroupsItemArrayOutput) ElementType() reflect.Type { @@ -31059,6 +34372,12 @@ func (o RouterBgpAdvertisedGroupsItemArrayOutput) ToRouterBgpAdvertisedGroupsIte return o } +func (o RouterBgpAdvertisedGroupsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertisedGroupsItemArrayOutput) Index(i pulumi.IntInput) RouterBgpAdvertisedGroupsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpAdvertisedGroupsItem { return vs[0].([]RouterBgpAdvertisedGroupsItem)[vs[1].(int)] @@ -31133,6 +34452,12 @@ func (o RouterBgpPeerAdvertiseModeOutput) ToRouterBgpPeerAdvertiseModePtrOutputW }).(RouterBgpPeerAdvertiseModePtrOutput) } +func (o RouterBgpPeerAdvertiseModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerAdvertiseMode] { + return pulumix.Output[RouterBgpPeerAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertiseModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31168,6 +34493,12 @@ func (o RouterBgpPeerAdvertiseModePtrOutput) ToRouterBgpPeerAdvertiseModePtrOutp return o } +func (o RouterBgpPeerAdvertiseModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertiseMode] { + return pulumix.Output[*RouterBgpPeerAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertiseModePtrOutput) Elem() RouterBgpPeerAdvertiseModeOutput { return o.ApplyT(func(v *RouterBgpPeerAdvertiseMode) RouterBgpPeerAdvertiseMode { if v != nil { @@ -31230,6 +34561,12 @@ func (in *routerBgpPeerAdvertiseModePtr) ToRouterBgpPeerAdvertiseModePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerAdvertiseModePtrOutput) } +func (in *routerBgpPeerAdvertiseModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertiseMode] { + return pulumix.Output[*RouterBgpPeerAdvertiseMode]{ + OutputState: in.ToRouterBgpPeerAdvertiseModePtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerAdvertisedGroupsItem string const ( @@ -31301,6 +34638,12 @@ func (o RouterBgpPeerAdvertisedGroupsItemOutput) ToRouterBgpPeerAdvertisedGroups }).(RouterBgpPeerAdvertisedGroupsItemPtrOutput) } +func (o RouterBgpPeerAdvertisedGroupsItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertisedGroupsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31336,6 +34679,12 @@ func (o RouterBgpPeerAdvertisedGroupsItemPtrOutput) ToRouterBgpPeerAdvertisedGro return o } +func (o RouterBgpPeerAdvertisedGroupsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertisedGroupsItemPtrOutput) Elem() RouterBgpPeerAdvertisedGroupsItemOutput { return o.ApplyT(func(v *RouterBgpPeerAdvertisedGroupsItem) RouterBgpPeerAdvertisedGroupsItem { if v != nil { @@ -31398,6 +34747,12 @@ func (in *routerBgpPeerAdvertisedGroupsItemPtr) ToRouterBgpPeerAdvertisedGroupsI return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerAdvertisedGroupsItemPtrOutput) } +func (in *routerBgpPeerAdvertisedGroupsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: in.ToRouterBgpPeerAdvertisedGroupsItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterBgpPeerAdvertisedGroupsItemArrayInput is an input type that accepts RouterBgpPeerAdvertisedGroupsItemArray and RouterBgpPeerAdvertisedGroupsItemArrayOutput values. // You can construct a concrete instance of `RouterBgpPeerAdvertisedGroupsItemArrayInput` via: // @@ -31423,6 +34778,12 @@ func (i RouterBgpPeerAdvertisedGroupsItemArray) ToRouterBgpPeerAdvertisedGroupsI return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerAdvertisedGroupsItemArrayOutput) } +func (i RouterBgpPeerAdvertisedGroupsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: i.ToRouterBgpPeerAdvertisedGroupsItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerAdvertisedGroupsItemArrayOutput struct{ *pulumi.OutputState } func (RouterBgpPeerAdvertisedGroupsItemArrayOutput) ElementType() reflect.Type { @@ -31437,6 +34798,12 @@ func (o RouterBgpPeerAdvertisedGroupsItemArrayOutput) ToRouterBgpPeerAdvertisedG return o } +func (o RouterBgpPeerAdvertisedGroupsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertisedGroupsItemArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerAdvertisedGroupsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeerAdvertisedGroupsItem { return vs[0].([]RouterBgpPeerAdvertisedGroupsItem)[vs[1].(int)] @@ -31512,6 +34879,12 @@ func (o RouterBgpPeerBfdModeOutput) ToRouterBgpPeerBfdModePtrOutputWithContext(c }).(RouterBgpPeerBfdModePtrOutput) } +func (o RouterBgpPeerBfdModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfdMode] { + return pulumix.Output[RouterBgpPeerBfdMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31547,6 +34920,12 @@ func (o RouterBgpPeerBfdModePtrOutput) ToRouterBgpPeerBfdModePtrOutputWithContex return o } +func (o RouterBgpPeerBfdModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfdMode] { + return pulumix.Output[*RouterBgpPeerBfdMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdModePtrOutput) Elem() RouterBgpPeerBfdModeOutput { return o.ApplyT(func(v *RouterBgpPeerBfdMode) RouterBgpPeerBfdMode { if v != nil { @@ -31609,6 +34988,12 @@ func (in *routerBgpPeerBfdModePtr) ToRouterBgpPeerBfdModePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerBfdModePtrOutput) } +func (in *routerBgpPeerBfdModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfdMode] { + return pulumix.Output[*RouterBgpPeerBfdMode]{ + OutputState: in.ToRouterBgpPeerBfdModePtrOutputWithContext(ctx).OutputState, + } +} + // The BFD packet mode for this BGP peer. If set to CONTROL_AND_ECHO, BFD echo mode is enabled for this BGP peer. In this mode, if the peer router also has BFD echo mode enabled, BFD echo packets will be sent to the other router. If the peer router does not have BFD echo mode enabled, only control packets will be sent. If set to CONTROL_ONLY, BFD echo mode is disabled for this BGP peer. If this router and the peer router have a multihop connection, this should be set to CONTROL_ONLY as BFD echo mode is only supported on singlehop connections. The default is CONTROL_AND_ECHO. type RouterBgpPeerBfdPacketMode string @@ -31677,6 +35062,12 @@ func (o RouterBgpPeerBfdPacketModeOutput) ToRouterBgpPeerBfdPacketModePtrOutputW }).(RouterBgpPeerBfdPacketModePtrOutput) } +func (o RouterBgpPeerBfdPacketModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfdPacketMode] { + return pulumix.Output[RouterBgpPeerBfdPacketMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdPacketModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31712,6 +35103,12 @@ func (o RouterBgpPeerBfdPacketModePtrOutput) ToRouterBgpPeerBfdPacketModePtrOutp return o } +func (o RouterBgpPeerBfdPacketModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfdPacketMode] { + return pulumix.Output[*RouterBgpPeerBfdPacketMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdPacketModePtrOutput) Elem() RouterBgpPeerBfdPacketModeOutput { return o.ApplyT(func(v *RouterBgpPeerBfdPacketMode) RouterBgpPeerBfdPacketMode { if v != nil { @@ -31774,6 +35171,12 @@ func (in *routerBgpPeerBfdPacketModePtr) ToRouterBgpPeerBfdPacketModePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerBfdPacketModePtrOutput) } +func (in *routerBgpPeerBfdPacketModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfdPacketMode] { + return pulumix.Output[*RouterBgpPeerBfdPacketMode]{ + OutputState: in.ToRouterBgpPeerBfdPacketModePtrOutputWithContext(ctx).OutputState, + } +} + // The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED. type RouterBgpPeerBfdSessionInitializationMode string @@ -31843,6 +35246,12 @@ func (o RouterBgpPeerBfdSessionInitializationModeOutput) ToRouterBgpPeerBfdSessi }).(RouterBgpPeerBfdSessionInitializationModePtrOutput) } +func (o RouterBgpPeerBfdSessionInitializationModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfdSessionInitializationMode] { + return pulumix.Output[RouterBgpPeerBfdSessionInitializationMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdSessionInitializationModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31878,6 +35287,12 @@ func (o RouterBgpPeerBfdSessionInitializationModePtrOutput) ToRouterBgpPeerBfdSe return o } +func (o RouterBgpPeerBfdSessionInitializationModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode] { + return pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdSessionInitializationModePtrOutput) Elem() RouterBgpPeerBfdSessionInitializationModeOutput { return o.ApplyT(func(v *RouterBgpPeerBfdSessionInitializationMode) RouterBgpPeerBfdSessionInitializationMode { if v != nil { @@ -31940,6 +35355,12 @@ func (in *routerBgpPeerBfdSessionInitializationModePtr) ToRouterBgpPeerBfdSessio return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerBfdSessionInitializationModePtrOutput) } +func (in *routerBgpPeerBfdSessionInitializationModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode] { + return pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode]{ + OutputState: in.ToRouterBgpPeerBfdSessionInitializationModePtrOutputWithContext(ctx).OutputState, + } +} + // The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE. type RouterBgpPeerEnable string @@ -32008,6 +35429,12 @@ func (o RouterBgpPeerEnableOutput) ToRouterBgpPeerEnablePtrOutputWithContext(ctx }).(RouterBgpPeerEnablePtrOutput) } +func (o RouterBgpPeerEnableOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerEnable] { + return pulumix.Output[RouterBgpPeerEnable]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerEnableOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32043,6 +35470,12 @@ func (o RouterBgpPeerEnablePtrOutput) ToRouterBgpPeerEnablePtrOutputWithContext( return o } +func (o RouterBgpPeerEnablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerEnable] { + return pulumix.Output[*RouterBgpPeerEnable]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerEnablePtrOutput) Elem() RouterBgpPeerEnableOutput { return o.ApplyT(func(v *RouterBgpPeerEnable) RouterBgpPeerEnable { if v != nil { @@ -32105,6 +35538,12 @@ func (in *routerBgpPeerEnablePtr) ToRouterBgpPeerEnablePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerEnablePtrOutput) } +func (in *routerBgpPeerEnablePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerEnable] { + return pulumix.Output[*RouterBgpPeerEnable]{ + OutputState: in.ToRouterBgpPeerEnablePtrOutputWithContext(ctx).OutputState, + } +} + // The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. type RouterNatAutoNetworkTier string @@ -32181,6 +35620,12 @@ func (o RouterNatAutoNetworkTierOutput) ToRouterNatAutoNetworkTierPtrOutputWithC }).(RouterNatAutoNetworkTierPtrOutput) } +func (o RouterNatAutoNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatAutoNetworkTier] { + return pulumix.Output[RouterNatAutoNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o RouterNatAutoNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32216,6 +35661,12 @@ func (o RouterNatAutoNetworkTierPtrOutput) ToRouterNatAutoNetworkTierPtrOutputWi return o } +func (o RouterNatAutoNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatAutoNetworkTier] { + return pulumix.Output[*RouterNatAutoNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o RouterNatAutoNetworkTierPtrOutput) Elem() RouterNatAutoNetworkTierOutput { return o.ApplyT(func(v *RouterNatAutoNetworkTier) RouterNatAutoNetworkTier { if v != nil { @@ -32278,6 +35729,12 @@ func (in *routerNatAutoNetworkTierPtr) ToRouterNatAutoNetworkTierPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RouterNatAutoNetworkTierPtrOutput) } +func (in *routerNatAutoNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatAutoNetworkTier] { + return pulumix.Output[*RouterNatAutoNetworkTier]{ + OutputState: in.ToRouterNatAutoNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + type RouterNatEndpointTypesItem string const ( @@ -32349,6 +35806,12 @@ func (o RouterNatEndpointTypesItemOutput) ToRouterNatEndpointTypesItemPtrOutputW }).(RouterNatEndpointTypesItemPtrOutput) } +func (o RouterNatEndpointTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatEndpointTypesItem] { + return pulumix.Output[RouterNatEndpointTypesItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatEndpointTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32384,6 +35847,12 @@ func (o RouterNatEndpointTypesItemPtrOutput) ToRouterNatEndpointTypesItemPtrOutp return o } +func (o RouterNatEndpointTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatEndpointTypesItem] { + return pulumix.Output[*RouterNatEndpointTypesItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatEndpointTypesItemPtrOutput) Elem() RouterNatEndpointTypesItemOutput { return o.ApplyT(func(v *RouterNatEndpointTypesItem) RouterNatEndpointTypesItem { if v != nil { @@ -32446,6 +35915,12 @@ func (in *routerNatEndpointTypesItemPtr) ToRouterNatEndpointTypesItemPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RouterNatEndpointTypesItemPtrOutput) } +func (in *routerNatEndpointTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatEndpointTypesItem] { + return pulumix.Output[*RouterNatEndpointTypesItem]{ + OutputState: in.ToRouterNatEndpointTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterNatEndpointTypesItemArrayInput is an input type that accepts RouterNatEndpointTypesItemArray and RouterNatEndpointTypesItemArrayOutput values. // You can construct a concrete instance of `RouterNatEndpointTypesItemArrayInput` via: // @@ -32471,6 +35946,12 @@ func (i RouterNatEndpointTypesItemArray) ToRouterNatEndpointTypesItemArrayOutput return pulumi.ToOutputWithContext(ctx, i).(RouterNatEndpointTypesItemArrayOutput) } +func (i RouterNatEndpointTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatEndpointTypesItem] { + return pulumix.Output[[]RouterNatEndpointTypesItem]{ + OutputState: i.ToRouterNatEndpointTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterNatEndpointTypesItemArrayOutput struct{ *pulumi.OutputState } func (RouterNatEndpointTypesItemArrayOutput) ElementType() reflect.Type { @@ -32485,6 +35966,12 @@ func (o RouterNatEndpointTypesItemArrayOutput) ToRouterNatEndpointTypesItemArray return o } +func (o RouterNatEndpointTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatEndpointTypesItem] { + return pulumix.Output[[]RouterNatEndpointTypesItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatEndpointTypesItemArrayOutput) Index(i pulumi.IntInput) RouterNatEndpointTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatEndpointTypesItem { return vs[0].([]RouterNatEndpointTypesItem)[vs[1].(int)] @@ -32563,6 +36050,12 @@ func (o RouterNatLogConfigFilterOutput) ToRouterNatLogConfigFilterPtrOutputWithC }).(RouterNatLogConfigFilterPtrOutput) } +func (o RouterNatLogConfigFilterOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfigFilter] { + return pulumix.Output[RouterNatLogConfigFilter]{ + OutputState: o.OutputState, + } +} + func (o RouterNatLogConfigFilterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32598,6 +36091,12 @@ func (o RouterNatLogConfigFilterPtrOutput) ToRouterNatLogConfigFilterPtrOutputWi return o } +func (o RouterNatLogConfigFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfigFilter] { + return pulumix.Output[*RouterNatLogConfigFilter]{ + OutputState: o.OutputState, + } +} + func (o RouterNatLogConfigFilterPtrOutput) Elem() RouterNatLogConfigFilterOutput { return o.ApplyT(func(v *RouterNatLogConfigFilter) RouterNatLogConfigFilter { if v != nil { @@ -32660,6 +36159,12 @@ func (in *routerNatLogConfigFilterPtr) ToRouterNatLogConfigFilterPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RouterNatLogConfigFilterPtrOutput) } +func (in *routerNatLogConfigFilterPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfigFilter] { + return pulumix.Output[*RouterNatLogConfigFilter]{ + OutputState: in.ToRouterNatLogConfigFilterPtrOutputWithContext(ctx).OutputState, + } +} + // Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. type RouterNatNatIpAllocateOption string @@ -32730,6 +36235,12 @@ func (o RouterNatNatIpAllocateOptionOutput) ToRouterNatNatIpAllocateOptionPtrOut }).(RouterNatNatIpAllocateOptionPtrOutput) } +func (o RouterNatNatIpAllocateOptionOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatNatIpAllocateOption] { + return pulumix.Output[RouterNatNatIpAllocateOption]{ + OutputState: o.OutputState, + } +} + func (o RouterNatNatIpAllocateOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32765,6 +36276,12 @@ func (o RouterNatNatIpAllocateOptionPtrOutput) ToRouterNatNatIpAllocateOptionPtr return o } +func (o RouterNatNatIpAllocateOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatNatIpAllocateOption] { + return pulumix.Output[*RouterNatNatIpAllocateOption]{ + OutputState: o.OutputState, + } +} + func (o RouterNatNatIpAllocateOptionPtrOutput) Elem() RouterNatNatIpAllocateOptionOutput { return o.ApplyT(func(v *RouterNatNatIpAllocateOption) RouterNatNatIpAllocateOption { if v != nil { @@ -32827,6 +36344,12 @@ func (in *routerNatNatIpAllocateOptionPtr) ToRouterNatNatIpAllocateOptionPtrOutp return pulumi.ToOutputWithContext(ctx, in).(RouterNatNatIpAllocateOptionPtrOutput) } +func (in *routerNatNatIpAllocateOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatNatIpAllocateOption] { + return pulumix.Output[*RouterNatNatIpAllocateOption]{ + OutputState: in.ToRouterNatNatIpAllocateOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there should not be any other Router.Nat section in any Router for this network in this region. type RouterNatSourceSubnetworkIpRangesToNat string @@ -32899,6 +36422,12 @@ func (o RouterNatSourceSubnetworkIpRangesToNatOutput) ToRouterNatSourceSubnetwor }).(RouterNatSourceSubnetworkIpRangesToNatPtrOutput) } +func (o RouterNatSourceSubnetworkIpRangesToNatOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSourceSubnetworkIpRangesToNat] { + return pulumix.Output[RouterNatSourceSubnetworkIpRangesToNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSourceSubnetworkIpRangesToNatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32934,6 +36463,12 @@ func (o RouterNatSourceSubnetworkIpRangesToNatPtrOutput) ToRouterNatSourceSubnet return o } +func (o RouterNatSourceSubnetworkIpRangesToNatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat] { + return pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSourceSubnetworkIpRangesToNatPtrOutput) Elem() RouterNatSourceSubnetworkIpRangesToNatOutput { return o.ApplyT(func(v *RouterNatSourceSubnetworkIpRangesToNat) RouterNatSourceSubnetworkIpRangesToNat { if v != nil { @@ -32996,6 +36531,12 @@ func (in *routerNatSourceSubnetworkIpRangesToNatPtr) ToRouterNatSourceSubnetwork return pulumi.ToOutputWithContext(ctx, in).(RouterNatSourceSubnetworkIpRangesToNatPtrOutput) } +func (in *routerNatSourceSubnetworkIpRangesToNatPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat] { + return pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat]{ + OutputState: in.ToRouterNatSourceSubnetworkIpRangesToNatPtrOutputWithContext(ctx).OutputState, + } +} + type RouterNatSubnetworkToNatSourceIpRangesToNatItem string const ( @@ -33067,6 +36608,12 @@ func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput) ToRouterNatSubnet }).(RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) } +func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -33102,6 +36649,12 @@ func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) ToRouterNatSub return o } +func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) Elem() RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput { return o.ApplyT(func(v *RouterNatSubnetworkToNatSourceIpRangesToNatItem) RouterNatSubnetworkToNatSourceIpRangesToNatItem { if v != nil { @@ -33164,6 +36717,12 @@ func (in *routerNatSubnetworkToNatSourceIpRangesToNatItemPtr) ToRouterNatSubnetw return pulumi.ToOutputWithContext(ctx, in).(RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) } +func (in *routerNatSubnetworkToNatSourceIpRangesToNatItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: in.ToRouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayInput is an input type that accepts RouterNatSubnetworkToNatSourceIpRangesToNatItemArray and RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput values. // You can construct a concrete instance of `RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayInput` via: // @@ -33189,6 +36748,12 @@ func (i RouterNatSubnetworkToNatSourceIpRangesToNatItemArray) ToRouterNatSubnetw return pulumi.ToOutputWithContext(ctx, i).(RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) } +func (i RouterNatSubnetworkToNatSourceIpRangesToNatItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: i.ToRouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput struct{ *pulumi.OutputState } func (RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) ElementType() reflect.Type { @@ -33203,6 +36768,12 @@ func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) ToRouterNatS return o } +func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) Index(i pulumi.IntInput) RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatSubnetworkToNatSourceIpRangesToNatItem { return vs[0].([]RouterNatSubnetworkToNatSourceIpRangesToNatItem)[vs[1].(int)] @@ -33279,6 +36850,12 @@ func (o RouterNatTypeOutput) ToRouterNatTypePtrOutputWithContext(ctx context.Con }).(RouterNatTypePtrOutput) } +func (o RouterNatTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatType] { + return pulumix.Output[RouterNatType]{ + OutputState: o.OutputState, + } +} + func (o RouterNatTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -33314,6 +36891,12 @@ func (o RouterNatTypePtrOutput) ToRouterNatTypePtrOutputWithContext(ctx context. return o } +func (o RouterNatTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatType] { + return pulumix.Output[*RouterNatType]{ + OutputState: o.OutputState, + } +} + func (o RouterNatTypePtrOutput) Elem() RouterNatTypeOutput { return o.ApplyT(func(v *RouterNatType) RouterNatType { if v != nil { @@ -33376,6 +36959,12 @@ func (in *routerNatTypePtr) ToRouterNatTypePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(RouterNatTypePtrOutput) } +func (in *routerNatTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatType] { + return pulumix.Output[*RouterNatType]{ + OutputState: in.ToRouterNatTypePtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type RuleAction string @@ -33454,6 +37043,12 @@ func (o RuleActionOutput) ToRuleActionPtrOutputWithContext(ctx context.Context) }).(RuleActionPtrOutput) } +func (o RuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[RuleAction] { + return pulumix.Output[RuleAction]{ + OutputState: o.OutputState, + } +} + func (o RuleActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -33489,6 +37084,12 @@ func (o RuleActionPtrOutput) ToRuleActionPtrOutputWithContext(ctx context.Contex return o } +func (o RuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuleAction] { + return pulumix.Output[*RuleAction]{ + OutputState: o.OutputState, + } +} + func (o RuleActionPtrOutput) Elem() RuleActionOutput { return o.ApplyT(func(v *RuleAction) RuleAction { if v != nil { @@ -33551,6 +37152,12 @@ func (in *ruleActionPtr) ToRuleActionPtrOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, in).(RuleActionPtrOutput) } +func (in *ruleActionPtr) ToOutput(ctx context.Context) pulumix.Output[*RuleAction] { + return pulumix.Output[*RuleAction]{ + OutputState: in.ToRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type SSLHealthCheckPortSpecification string @@ -33623,6 +37230,12 @@ func (o SSLHealthCheckPortSpecificationOutput) ToSSLHealthCheckPortSpecification }).(SSLHealthCheckPortSpecificationPtrOutput) } +func (o SSLHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheckPortSpecification] { + return pulumix.Output[SSLHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -33658,6 +37271,12 @@ func (o SSLHealthCheckPortSpecificationPtrOutput) ToSSLHealthCheckPortSpecificat return o } +func (o SSLHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckPortSpecification] { + return pulumix.Output[*SSLHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckPortSpecificationPtrOutput) Elem() SSLHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *SSLHealthCheckPortSpecification) SSLHealthCheckPortSpecification { if v != nil { @@ -33720,6 +37339,12 @@ func (in *sslhealthCheckPortSpecificationPtr) ToSSLHealthCheckPortSpecificationP return pulumi.ToOutputWithContext(ctx, in).(SSLHealthCheckPortSpecificationPtrOutput) } +func (in *sslhealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckPortSpecification] { + return pulumix.Output[*SSLHealthCheckPortSpecification]{ + OutputState: in.ToSSLHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type SSLHealthCheckProxyHeader string @@ -33788,6 +37413,12 @@ func (o SSLHealthCheckProxyHeaderOutput) ToSSLHealthCheckProxyHeaderPtrOutputWit }).(SSLHealthCheckProxyHeaderPtrOutput) } +func (o SSLHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheckProxyHeader] { + return pulumix.Output[SSLHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -33823,6 +37454,12 @@ func (o SSLHealthCheckProxyHeaderPtrOutput) ToSSLHealthCheckProxyHeaderPtrOutput return o } +func (o SSLHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckProxyHeader] { + return pulumix.Output[*SSLHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckProxyHeaderPtrOutput) Elem() SSLHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *SSLHealthCheckProxyHeader) SSLHealthCheckProxyHeader { if v != nil { @@ -33885,6 +37522,12 @@ func (in *sslhealthCheckProxyHeaderPtr) ToSSLHealthCheckProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(SSLHealthCheckProxyHeaderPtrOutput) } +func (in *sslhealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckProxyHeader] { + return pulumix.Output[*SSLHealthCheckProxyHeader]{ + OutputState: in.ToSSLHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the termination action for the instance. type SchedulingInstanceTerminationAction string @@ -33957,6 +37600,12 @@ func (o SchedulingInstanceTerminationActionOutput) ToSchedulingInstanceTerminati }).(SchedulingInstanceTerminationActionPtrOutput) } +func (o SchedulingInstanceTerminationActionOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingInstanceTerminationAction] { + return pulumix.Output[SchedulingInstanceTerminationAction]{ + OutputState: o.OutputState, + } +} + func (o SchedulingInstanceTerminationActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -33992,6 +37641,12 @@ func (o SchedulingInstanceTerminationActionPtrOutput) ToSchedulingInstanceTermin return o } +func (o SchedulingInstanceTerminationActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingInstanceTerminationAction] { + return pulumix.Output[*SchedulingInstanceTerminationAction]{ + OutputState: o.OutputState, + } +} + func (o SchedulingInstanceTerminationActionPtrOutput) Elem() SchedulingInstanceTerminationActionOutput { return o.ApplyT(func(v *SchedulingInstanceTerminationAction) SchedulingInstanceTerminationAction { if v != nil { @@ -34054,6 +37709,12 @@ func (in *schedulingInstanceTerminationActionPtr) ToSchedulingInstanceTerminatio return pulumi.ToOutputWithContext(ctx, in).(SchedulingInstanceTerminationActionPtrOutput) } +func (in *schedulingInstanceTerminationActionPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingInstanceTerminationAction] { + return pulumix.Output[*SchedulingInstanceTerminationAction]{ + OutputState: in.ToSchedulingInstanceTerminationActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`. type SchedulingMaintenanceInterval string @@ -34126,6 +37787,12 @@ func (o SchedulingMaintenanceIntervalOutput) ToSchedulingMaintenanceIntervalPtrO }).(SchedulingMaintenanceIntervalPtrOutput) } +func (o SchedulingMaintenanceIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingMaintenanceInterval] { + return pulumix.Output[SchedulingMaintenanceInterval]{ + OutputState: o.OutputState, + } +} + func (o SchedulingMaintenanceIntervalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -34161,6 +37828,12 @@ func (o SchedulingMaintenanceIntervalPtrOutput) ToSchedulingMaintenanceIntervalP return o } +func (o SchedulingMaintenanceIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingMaintenanceInterval] { + return pulumix.Output[*SchedulingMaintenanceInterval]{ + OutputState: o.OutputState, + } +} + func (o SchedulingMaintenanceIntervalPtrOutput) Elem() SchedulingMaintenanceIntervalOutput { return o.ApplyT(func(v *SchedulingMaintenanceInterval) SchedulingMaintenanceInterval { if v != nil { @@ -34223,6 +37896,12 @@ func (in *schedulingMaintenanceIntervalPtr) ToSchedulingMaintenanceIntervalPtrOu return pulumi.ToOutputWithContext(ctx, in).(SchedulingMaintenanceIntervalPtrOutput) } +func (in *schedulingMaintenanceIntervalPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingMaintenanceInterval] { + return pulumix.Output[*SchedulingMaintenanceInterval]{ + OutputState: in.ToSchedulingMaintenanceIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. type SchedulingNodeAffinityOperator string @@ -34294,6 +37973,12 @@ func (o SchedulingNodeAffinityOperatorOutput) ToSchedulingNodeAffinityOperatorPt }).(SchedulingNodeAffinityOperatorPtrOutput) } +func (o SchedulingNodeAffinityOperatorOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinityOperator] { + return pulumix.Output[SchedulingNodeAffinityOperator]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityOperatorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -34329,6 +38014,12 @@ func (o SchedulingNodeAffinityOperatorPtrOutput) ToSchedulingNodeAffinityOperato return o } +func (o SchedulingNodeAffinityOperatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingNodeAffinityOperator] { + return pulumix.Output[*SchedulingNodeAffinityOperator]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityOperatorPtrOutput) Elem() SchedulingNodeAffinityOperatorOutput { return o.ApplyT(func(v *SchedulingNodeAffinityOperator) SchedulingNodeAffinityOperator { if v != nil { @@ -34391,6 +38082,12 @@ func (in *schedulingNodeAffinityOperatorPtr) ToSchedulingNodeAffinityOperatorPtr return pulumi.ToOutputWithContext(ctx, in).(SchedulingNodeAffinityOperatorPtrOutput) } +func (in *schedulingNodeAffinityOperatorPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingNodeAffinityOperator] { + return pulumix.Output[*SchedulingNodeAffinityOperator]{ + OutputState: in.ToSchedulingNodeAffinityOperatorPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. type SchedulingOnHostMaintenance string @@ -34461,6 +38158,12 @@ func (o SchedulingOnHostMaintenanceOutput) ToSchedulingOnHostMaintenancePtrOutpu }).(SchedulingOnHostMaintenancePtrOutput) } +func (o SchedulingOnHostMaintenanceOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingOnHostMaintenance] { + return pulumix.Output[SchedulingOnHostMaintenance]{ + OutputState: o.OutputState, + } +} + func (o SchedulingOnHostMaintenanceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -34496,6 +38199,12 @@ func (o SchedulingOnHostMaintenancePtrOutput) ToSchedulingOnHostMaintenancePtrOu return o } +func (o SchedulingOnHostMaintenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingOnHostMaintenance] { + return pulumix.Output[*SchedulingOnHostMaintenance]{ + OutputState: o.OutputState, + } +} + func (o SchedulingOnHostMaintenancePtrOutput) Elem() SchedulingOnHostMaintenanceOutput { return o.ApplyT(func(v *SchedulingOnHostMaintenance) SchedulingOnHostMaintenance { if v != nil { @@ -34558,6 +38267,12 @@ func (in *schedulingOnHostMaintenancePtr) ToSchedulingOnHostMaintenancePtrOutput return pulumi.ToOutputWithContext(ctx, in).(SchedulingOnHostMaintenancePtrOutput) } +func (in *schedulingOnHostMaintenancePtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingOnHostMaintenance] { + return pulumix.Output[*SchedulingOnHostMaintenance]{ + OutputState: in.ToSchedulingOnHostMaintenancePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the provisioning model of the instance. type SchedulingProvisioningModel string @@ -34628,6 +38343,12 @@ func (o SchedulingProvisioningModelOutput) ToSchedulingProvisioningModelPtrOutpu }).(SchedulingProvisioningModelPtrOutput) } +func (o SchedulingProvisioningModelOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingProvisioningModel] { + return pulumix.Output[SchedulingProvisioningModel]{ + OutputState: o.OutputState, + } +} + func (o SchedulingProvisioningModelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -34663,6 +38384,12 @@ func (o SchedulingProvisioningModelPtrOutput) ToSchedulingProvisioningModelPtrOu return o } +func (o SchedulingProvisioningModelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingProvisioningModel] { + return pulumix.Output[*SchedulingProvisioningModel]{ + OutputState: o.OutputState, + } +} + func (o SchedulingProvisioningModelPtrOutput) Elem() SchedulingProvisioningModelOutput { return o.ApplyT(func(v *SchedulingProvisioningModel) SchedulingProvisioningModel { if v != nil { @@ -34725,6 +38452,12 @@ func (in *schedulingProvisioningModelPtr) ToSchedulingProvisioningModelPtrOutput return pulumi.ToOutputWithContext(ctx, in).(SchedulingProvisioningModelPtrOutput) } +func (in *schedulingProvisioningModelPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingProvisioningModel] { + return pulumix.Output[*SchedulingProvisioningModel]{ + OutputState: in.ToSchedulingProvisioningModelPtrOutputWithContext(ctx).OutputState, + } +} + // Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility string @@ -34793,6 +38526,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibil }).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -34828,6 +38567,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibil return o } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility) SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility { if v != nil { @@ -34890,6 +38635,12 @@ func (in *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisib return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) } +func (in *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility]{ + OutputState: in.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigJsonParsing string const ( @@ -34957,6 +38708,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonParsingOutput) ToSecurityPolicyAd }).(SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigJsonParsingOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonParsing] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonParsing]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigJsonParsingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -34992,6 +38749,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) ToSecurityPolic return o } +func (o SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigJsonParsingOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfigJsonParsing) SecurityPolicyAdvancedOptionsConfigJsonParsing { if v != nil { @@ -35054,6 +38817,12 @@ func (in *securityPolicyAdvancedOptionsConfigJsonParsingPtr) ToSecurityPolicyAdv return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) } +func (in *securityPolicyAdvancedOptionsConfigJsonParsingPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing]{ + OutputState: in.ToSecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigLogLevel string const ( @@ -35121,6 +38890,12 @@ func (o SecurityPolicyAdvancedOptionsConfigLogLevelOutput) ToSecurityPolicyAdvan }).(SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigLogLevelOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigLogLevel] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigLogLevel]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigLogLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -35156,6 +38931,12 @@ func (o SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) ToSecurityPolicyAd return o } +func (o SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigLogLevelOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfigLogLevel) SecurityPolicyAdvancedOptionsConfigLogLevel { if v != nil { @@ -35218,6 +38999,12 @@ func (in *securityPolicyAdvancedOptionsConfigLogLevelPtr) ToSecurityPolicyAdvanc return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) } +func (in *securityPolicyAdvancedOptionsConfigLogLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel]{ + OutputState: in.ToSecurityPolicyAdvancedOptionsConfigLogLevelPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyDdosProtectionConfigDdosProtection string const ( @@ -35286,6 +39073,12 @@ func (o SecurityPolicyDdosProtectionConfigDdosProtectionOutput) ToSecurityPolicy }).(SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) } +func (o SecurityPolicyDdosProtectionConfigDdosProtectionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfigDdosProtection] { + return pulumix.Output[SecurityPolicyDdosProtectionConfigDdosProtection]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigDdosProtectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -35321,6 +39114,12 @@ func (o SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) ToSecurityPol return o } +func (o SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) Elem() SecurityPolicyDdosProtectionConfigDdosProtectionOutput { return o.ApplyT(func(v *SecurityPolicyDdosProtectionConfigDdosProtection) SecurityPolicyDdosProtectionConfigDdosProtection { if v != nil { @@ -35383,6 +39182,12 @@ func (in *securityPolicyDdosProtectionConfigDdosProtectionPtr) ToSecurityPolicyD return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) } +func (in *securityPolicyDdosProtectionConfigDdosProtectionPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection]{ + OutputState: in.ToSecurityPolicyDdosProtectionConfigDdosProtectionPtrOutputWithContext(ctx).OutputState, + } +} + // The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL. type SecurityPolicyRuleDirection string @@ -35451,6 +39256,12 @@ func (o SecurityPolicyRuleDirectionOutput) ToSecurityPolicyRuleDirectionPtrOutpu }).(SecurityPolicyRuleDirectionPtrOutput) } +func (o SecurityPolicyRuleDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleDirection] { + return pulumix.Output[SecurityPolicyRuleDirection]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -35486,6 +39297,12 @@ func (o SecurityPolicyRuleDirectionPtrOutput) ToSecurityPolicyRuleDirectionPtrOu return o } +func (o SecurityPolicyRuleDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleDirection] { + return pulumix.Output[*SecurityPolicyRuleDirection]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleDirectionPtrOutput) Elem() SecurityPolicyRuleDirectionOutput { return o.ApplyT(func(v *SecurityPolicyRuleDirection) SecurityPolicyRuleDirection { if v != nil { @@ -35548,6 +39365,12 @@ func (in *securityPolicyRuleDirectionPtr) ToSecurityPolicyRuleDirectionPtrOutput return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleDirectionPtrOutput) } +func (in *securityPolicyRuleDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleDirection] { + return pulumix.Output[*SecurityPolicyRuleDirection]{ + OutputState: in.ToSecurityPolicyRuleDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. type SecurityPolicyRuleMatcherVersionedExpr string @@ -35617,6 +39440,12 @@ func (o SecurityPolicyRuleMatcherVersionedExprOutput) ToSecurityPolicyRuleMatche }).(SecurityPolicyRuleMatcherVersionedExprPtrOutput) } +func (o SecurityPolicyRuleMatcherVersionedExprOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherVersionedExpr] { + return pulumix.Output[SecurityPolicyRuleMatcherVersionedExpr]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherVersionedExprOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -35652,6 +39481,12 @@ func (o SecurityPolicyRuleMatcherVersionedExprPtrOutput) ToSecurityPolicyRuleMat return o } +func (o SecurityPolicyRuleMatcherVersionedExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr] { + return pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherVersionedExprPtrOutput) Elem() SecurityPolicyRuleMatcherVersionedExprOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcherVersionedExpr) SecurityPolicyRuleMatcherVersionedExpr { if v != nil { @@ -35714,6 +39549,12 @@ func (in *securityPolicyRuleMatcherVersionedExprPtr) ToSecurityPolicyRuleMatcher return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleMatcherVersionedExprPtrOutput) } +func (in *securityPolicyRuleMatcherVersionedExprPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr] { + return pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr]{ + OutputState: in.ToSecurityPolicyRuleMatcherVersionedExprPtrOutputWithContext(ctx).OutputState, + } +} + // The match operator for the field. type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp string @@ -35790,6 +39631,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput) To }).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -35825,6 +39672,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) Elem() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput { return o.ApplyT(func(v *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp { if v != nil { @@ -35887,6 +39740,12 @@ func (in *securityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtr) ToS return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) } +func (in *securityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp]{ + OutputState: in.ToSecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutputWithContext(ctx).OutputState, + } +} + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. type SecurityPolicyRuleRateLimitOptionsEnforceOnKey string @@ -35962,6 +39821,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput) ToSecurityPolicyRu }).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKey] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKey]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -35997,6 +39862,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) ToSecurityPolic return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptionsEnforceOnKey) SecurityPolicyRuleRateLimitOptionsEnforceOnKey { if v != nil { @@ -36059,6 +39930,12 @@ func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyPtr) ToSecurityPolicyRul return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) } +func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey]{ + OutputState: in.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType string @@ -36134,6 +40011,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutp }).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -36169,6 +40052,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrO return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType { if v != nil { @@ -36231,6 +40120,12 @@ func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePt return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) } +func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType]{ + OutputState: in.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the redirect action. type SecurityPolicyRuleRedirectOptionsType string @@ -36299,6 +40194,12 @@ func (o SecurityPolicyRuleRedirectOptionsTypeOutput) ToSecurityPolicyRuleRedirec }).(SecurityPolicyRuleRedirectOptionsTypePtrOutput) } +func (o SecurityPolicyRuleRedirectOptionsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptionsType] { + return pulumix.Output[SecurityPolicyRuleRedirectOptionsType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRedirectOptionsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -36334,6 +40235,12 @@ func (o SecurityPolicyRuleRedirectOptionsTypePtrOutput) ToSecurityPolicyRuleRedi return o } +func (o SecurityPolicyRuleRedirectOptionsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptionsType] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptionsType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRedirectOptionsTypePtrOutput) Elem() SecurityPolicyRuleRedirectOptionsTypeOutput { return o.ApplyT(func(v *SecurityPolicyRuleRedirectOptionsType) SecurityPolicyRuleRedirectOptionsType { if v != nil { @@ -36396,6 +40303,12 @@ func (in *securityPolicyRuleRedirectOptionsTypePtr) ToSecurityPolicyRuleRedirect return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleRedirectOptionsTypePtrOutput) } +func (in *securityPolicyRuleRedirectOptionsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptionsType] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptionsType]{ + OutputState: in.ToSecurityPolicyRuleRedirectOptionsTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. type SecurityPolicyType string @@ -36467,6 +40380,12 @@ func (o SecurityPolicyTypeOutput) ToSecurityPolicyTypePtrOutputWithContext(ctx c }).(SecurityPolicyTypePtrOutput) } +func (o SecurityPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyType] { + return pulumix.Output[SecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -36502,6 +40421,12 @@ func (o SecurityPolicyTypePtrOutput) ToSecurityPolicyTypePtrOutputWithContext(ct return o } +func (o SecurityPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyType] { + return pulumix.Output[*SecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyTypePtrOutput) Elem() SecurityPolicyTypeOutput { return o.ApplyT(func(v *SecurityPolicyType) SecurityPolicyType { if v != nil { @@ -36564,6 +40489,12 @@ func (in *securityPolicyTypePtr) ToSecurityPolicyTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyTypePtrOutput) } +func (in *securityPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyType] { + return pulumix.Output[*SecurityPolicyType]{ + OutputState: in.ToSecurityPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required type SecurityPolicyUserDefinedFieldBase string @@ -36634,6 +40565,12 @@ func (o SecurityPolicyUserDefinedFieldBaseOutput) ToSecurityPolicyUserDefinedFie }).(SecurityPolicyUserDefinedFieldBasePtrOutput) } +func (o SecurityPolicyUserDefinedFieldBaseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyUserDefinedFieldBase] { + return pulumix.Output[SecurityPolicyUserDefinedFieldBase]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyUserDefinedFieldBaseOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -36669,6 +40606,12 @@ func (o SecurityPolicyUserDefinedFieldBasePtrOutput) ToSecurityPolicyUserDefined return o } +func (o SecurityPolicyUserDefinedFieldBasePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyUserDefinedFieldBase] { + return pulumix.Output[*SecurityPolicyUserDefinedFieldBase]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyUserDefinedFieldBasePtrOutput) Elem() SecurityPolicyUserDefinedFieldBaseOutput { return o.ApplyT(func(v *SecurityPolicyUserDefinedFieldBase) SecurityPolicyUserDefinedFieldBase { if v != nil { @@ -36731,6 +40674,12 @@ func (in *securityPolicyUserDefinedFieldBasePtr) ToSecurityPolicyUserDefinedFiel return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyUserDefinedFieldBasePtrOutput) } +func (in *securityPolicyUserDefinedFieldBasePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyUserDefinedFieldBase] { + return pulumix.Output[*SecurityPolicyUserDefinedFieldBase]{ + OutputState: in.ToSecurityPolicyUserDefinedFieldBasePtrOutputWithContext(ctx).OutputState, + } +} + type ServerBindingType string const ( @@ -36801,6 +40750,12 @@ func (o ServerBindingTypeOutput) ToServerBindingTypePtrOutputWithContext(ctx con }).(ServerBindingTypePtrOutput) } +func (o ServerBindingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServerBindingType] { + return pulumix.Output[ServerBindingType]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -36836,6 +40791,12 @@ func (o ServerBindingTypePtrOutput) ToServerBindingTypePtrOutputWithContext(ctx return o } +func (o ServerBindingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerBindingType] { + return pulumix.Output[*ServerBindingType]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingTypePtrOutput) Elem() ServerBindingTypeOutput { return o.ApplyT(func(v *ServerBindingType) ServerBindingType { if v != nil { @@ -36898,6 +40859,12 @@ func (in *serverBindingTypePtr) ToServerBindingTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(ServerBindingTypePtrOutput) } +func (in *serverBindingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServerBindingType] { + return pulumix.Output[*ServerBindingType]{ + OutputState: in.ToServerBindingTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following: - SIMPLE Secure connections with standard TLS semantics. - MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication. type ServerTlsSettingsTlsMode string @@ -36969,6 +40936,12 @@ func (o ServerTlsSettingsTlsModeOutput) ToServerTlsSettingsTlsModePtrOutputWithC }).(ServerTlsSettingsTlsModePtrOutput) } +func (o ServerTlsSettingsTlsModeOutput) ToOutput(ctx context.Context) pulumix.Output[ServerTlsSettingsTlsMode] { + return pulumix.Output[ServerTlsSettingsTlsMode]{ + OutputState: o.OutputState, + } +} + func (o ServerTlsSettingsTlsModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -37004,6 +40977,12 @@ func (o ServerTlsSettingsTlsModePtrOutput) ToServerTlsSettingsTlsModePtrOutputWi return o } +func (o ServerTlsSettingsTlsModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsSettingsTlsMode] { + return pulumix.Output[*ServerTlsSettingsTlsMode]{ + OutputState: o.OutputState, + } +} + func (o ServerTlsSettingsTlsModePtrOutput) Elem() ServerTlsSettingsTlsModeOutput { return o.ApplyT(func(v *ServerTlsSettingsTlsMode) ServerTlsSettingsTlsMode { if v != nil { @@ -37066,6 +41045,12 @@ func (in *serverTlsSettingsTlsModePtr) ToServerTlsSettingsTlsModePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ServerTlsSettingsTlsModePtrOutput) } +func (in *serverTlsSettingsTlsModePtr) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsSettingsTlsMode] { + return pulumix.Output[*ServerTlsSettingsTlsMode]{ + OutputState: in.ToServerTlsSettingsTlsModePtrOutputWithContext(ctx).OutputState, + } +} + // The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. type ServiceAttachmentConnectionPreference string @@ -37135,6 +41120,12 @@ func (o ServiceAttachmentConnectionPreferenceOutput) ToServiceAttachmentConnecti }).(ServiceAttachmentConnectionPreferencePtrOutput) } +func (o ServiceAttachmentConnectionPreferenceOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConnectionPreference] { + return pulumix.Output[ServiceAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConnectionPreferenceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -37170,6 +41161,12 @@ func (o ServiceAttachmentConnectionPreferencePtrOutput) ToServiceAttachmentConne return o } +func (o ServiceAttachmentConnectionPreferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentConnectionPreference] { + return pulumix.Output[*ServiceAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConnectionPreferencePtrOutput) Elem() ServiceAttachmentConnectionPreferenceOutput { return o.ApplyT(func(v *ServiceAttachmentConnectionPreference) ServiceAttachmentConnectionPreference { if v != nil { @@ -37232,6 +41229,12 @@ func (in *serviceAttachmentConnectionPreferencePtr) ToServiceAttachmentConnectio return pulumi.ToOutputWithContext(ctx, in).(ServiceAttachmentConnectionPreferencePtrOutput) } +func (in *serviceAttachmentConnectionPreferencePtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentConnectionPreference] { + return pulumix.Output[*ServiceAttachmentConnectionPreference]{ + OutputState: in.ToServiceAttachmentConnectionPreferencePtrOutputWithContext(ctx).OutputState, + } +} + // Type of sharing for this shared-reservation type ShareSettingsShareType string @@ -37308,6 +41311,12 @@ func (o ShareSettingsShareTypeOutput) ToShareSettingsShareTypePtrOutputWithConte }).(ShareSettingsShareTypePtrOutput) } +func (o ShareSettingsShareTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ShareSettingsShareType] { + return pulumix.Output[ShareSettingsShareType]{ + OutputState: o.OutputState, + } +} + func (o ShareSettingsShareTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -37343,6 +41352,12 @@ func (o ShareSettingsShareTypePtrOutput) ToShareSettingsShareTypePtrOutputWithCo return o } +func (o ShareSettingsShareTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShareSettingsShareType] { + return pulumix.Output[*ShareSettingsShareType]{ + OutputState: o.OutputState, + } +} + func (o ShareSettingsShareTypePtrOutput) Elem() ShareSettingsShareTypeOutput { return o.ApplyT(func(v *ShareSettingsShareType) ShareSettingsShareType { if v != nil { @@ -37405,6 +41420,12 @@ func (in *shareSettingsShareTypePtr) ToShareSettingsShareTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ShareSettingsShareTypePtrOutput) } +func (in *shareSettingsShareTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ShareSettingsShareType] { + return pulumix.Output[*ShareSettingsShareType]{ + OutputState: in.ToShareSettingsShareTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the type of the snapshot. type SnapshotSnapshotType string @@ -37473,6 +41494,12 @@ func (o SnapshotSnapshotTypeOutput) ToSnapshotSnapshotTypePtrOutputWithContext(c }).(SnapshotSnapshotTypePtrOutput) } +func (o SnapshotSnapshotTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SnapshotSnapshotType] { + return pulumix.Output[SnapshotSnapshotType]{ + OutputState: o.OutputState, + } +} + func (o SnapshotSnapshotTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -37508,6 +41535,12 @@ func (o SnapshotSnapshotTypePtrOutput) ToSnapshotSnapshotTypePtrOutputWithContex return o } +func (o SnapshotSnapshotTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotSnapshotType] { + return pulumix.Output[*SnapshotSnapshotType]{ + OutputState: o.OutputState, + } +} + func (o SnapshotSnapshotTypePtrOutput) Elem() SnapshotSnapshotTypeOutput { return o.ApplyT(func(v *SnapshotSnapshotType) SnapshotSnapshotType { if v != nil { @@ -37570,6 +41603,12 @@ func (in *snapshotSnapshotTypePtr) ToSnapshotSnapshotTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(SnapshotSnapshotTypePtrOutput) } +func (in *snapshotSnapshotTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SnapshotSnapshotType] { + return pulumix.Output[*SnapshotSnapshotType]{ + OutputState: in.ToSnapshotSnapshotTypePtrOutputWithContext(ctx).OutputState, + } +} + // (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. type SslCertificateType string @@ -37641,6 +41680,12 @@ func (o SslCertificateTypeOutput) ToSslCertificateTypePtrOutputWithContext(ctx c }).(SslCertificateTypePtrOutput) } +func (o SslCertificateTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateType] { + return pulumix.Output[SslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -37676,6 +41721,12 @@ func (o SslCertificateTypePtrOutput) ToSslCertificateTypePtrOutputWithContext(ct return o } +func (o SslCertificateTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateType] { + return pulumix.Output[*SslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateTypePtrOutput) Elem() SslCertificateTypeOutput { return o.ApplyT(func(v *SslCertificateType) SslCertificateType { if v != nil { @@ -37738,6 +41789,12 @@ func (in *sslCertificateTypePtr) ToSslCertificateTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(SslCertificateTypePtrOutput) } +func (in *sslCertificateTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateType] { + return pulumix.Output[*SslCertificateType]{ + OutputState: in.ToSslCertificateTypePtrOutputWithContext(ctx).OutputState, + } +} + // The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. type SslPolicyMinTlsVersion string @@ -37810,6 +41867,12 @@ func (o SslPolicyMinTlsVersionOutput) ToSslPolicyMinTlsVersionPtrOutputWithConte }).(SslPolicyMinTlsVersionPtrOutput) } +func (o SslPolicyMinTlsVersionOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyMinTlsVersion] { + return pulumix.Output[SslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyMinTlsVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -37845,6 +41908,12 @@ func (o SslPolicyMinTlsVersionPtrOutput) ToSslPolicyMinTlsVersionPtrOutputWithCo return o } +func (o SslPolicyMinTlsVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyMinTlsVersion] { + return pulumix.Output[*SslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyMinTlsVersionPtrOutput) Elem() SslPolicyMinTlsVersionOutput { return o.ApplyT(func(v *SslPolicyMinTlsVersion) SslPolicyMinTlsVersion { if v != nil { @@ -37907,6 +41976,12 @@ func (in *sslPolicyMinTlsVersionPtr) ToSslPolicyMinTlsVersionPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(SslPolicyMinTlsVersionPtrOutput) } +func (in *sslPolicyMinTlsVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyMinTlsVersion] { + return pulumix.Output[*SslPolicyMinTlsVersion]{ + OutputState: in.ToSslPolicyMinTlsVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. type SslPolicyProfile string @@ -37981,6 +42056,12 @@ func (o SslPolicyProfileOutput) ToSslPolicyProfilePtrOutputWithContext(ctx conte }).(SslPolicyProfilePtrOutput) } +func (o SslPolicyProfileOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyProfile] { + return pulumix.Output[SslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -38016,6 +42097,12 @@ func (o SslPolicyProfilePtrOutput) ToSslPolicyProfilePtrOutputWithContext(ctx co return o } +func (o SslPolicyProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyProfile] { + return pulumix.Output[*SslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyProfilePtrOutput) Elem() SslPolicyProfileOutput { return o.ApplyT(func(v *SslPolicyProfile) SslPolicyProfile { if v != nil { @@ -38078,6 +42165,12 @@ func (in *sslPolicyProfilePtr) ToSslPolicyProfilePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(SslPolicyProfilePtrOutput) } +func (in *sslPolicyProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyProfile] { + return pulumix.Output[*SslPolicyProfile]{ + OutputState: in.ToSslPolicyProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the storage pool type StoragePoolType string @@ -38146,6 +42239,12 @@ func (o StoragePoolTypeOutput) ToStoragePoolTypePtrOutputWithContext(ctx context }).(StoragePoolTypePtrOutput) } +func (o StoragePoolTypeOutput) ToOutput(ctx context.Context) pulumix.Output[StoragePoolType] { + return pulumix.Output[StoragePoolType]{ + OutputState: o.OutputState, + } +} + func (o StoragePoolTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -38181,6 +42280,12 @@ func (o StoragePoolTypePtrOutput) ToStoragePoolTypePtrOutputWithContext(ctx cont return o } +func (o StoragePoolTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StoragePoolType] { + return pulumix.Output[*StoragePoolType]{ + OutputState: o.OutputState, + } +} + func (o StoragePoolTypePtrOutput) Elem() StoragePoolTypeOutput { return o.ApplyT(func(v *StoragePoolType) StoragePoolType { if v != nil { @@ -38243,6 +42348,12 @@ func (in *storagePoolTypePtr) ToStoragePoolTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(StoragePoolTypePtrOutput) } +func (in *storagePoolTypePtr) ToOutput(ctx context.Context) pulumix.Output[*StoragePoolType] { + return pulumix.Output[*StoragePoolType]{ + OutputState: in.ToStoragePoolTypePtrOutputWithContext(ctx).OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Sets the aggregation interval for collecting flow logs. Increasing the interval time reduces the amount of generated flow logs for long-lasting connections. Default is an interval of 5 seconds per connection. Valid values: INTERVAL_5_SEC, INTERVAL_30_SEC, INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN. type SubnetworkAggregationInterval string @@ -38315,6 +42426,12 @@ func (o SubnetworkAggregationIntervalOutput) ToSubnetworkAggregationIntervalPtrO }).(SubnetworkAggregationIntervalPtrOutput) } +func (o SubnetworkAggregationIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkAggregationInterval] { + return pulumix.Output[SubnetworkAggregationInterval]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkAggregationIntervalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -38350,6 +42467,12 @@ func (o SubnetworkAggregationIntervalPtrOutput) ToSubnetworkAggregationIntervalP return o } +func (o SubnetworkAggregationIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkAggregationInterval] { + return pulumix.Output[*SubnetworkAggregationInterval]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkAggregationIntervalPtrOutput) Elem() SubnetworkAggregationIntervalOutput { return o.ApplyT(func(v *SubnetworkAggregationInterval) SubnetworkAggregationInterval { if v != nil { @@ -38412,6 +42535,12 @@ func (in *subnetworkAggregationIntervalPtr) ToSubnetworkAggregationIntervalPtrOu return pulumi.ToOutputWithContext(ctx, in).(SubnetworkAggregationIntervalPtrOutput) } +func (in *subnetworkAggregationIntervalPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkAggregationInterval] { + return pulumix.Output[*SubnetworkAggregationInterval]{ + OutputState: in.ToSubnetworkAggregationIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. type SubnetworkIpv6AccessType string @@ -38482,6 +42611,12 @@ func (o SubnetworkIpv6AccessTypeOutput) ToSubnetworkIpv6AccessTypePtrOutputWithC }).(SubnetworkIpv6AccessTypePtrOutput) } +func (o SubnetworkIpv6AccessTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkIpv6AccessType] { + return pulumix.Output[SubnetworkIpv6AccessType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkIpv6AccessTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -38517,6 +42652,12 @@ func (o SubnetworkIpv6AccessTypePtrOutput) ToSubnetworkIpv6AccessTypePtrOutputWi return o } +func (o SubnetworkIpv6AccessTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIpv6AccessType] { + return pulumix.Output[*SubnetworkIpv6AccessType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkIpv6AccessTypePtrOutput) Elem() SubnetworkIpv6AccessTypeOutput { return o.ApplyT(func(v *SubnetworkIpv6AccessType) SubnetworkIpv6AccessType { if v != nil { @@ -38579,6 +42720,12 @@ func (in *subnetworkIpv6AccessTypePtr) ToSubnetworkIpv6AccessTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(SubnetworkIpv6AccessTypePtrOutput) } +func (in *subnetworkIpv6AccessTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIpv6AccessType] { + return pulumix.Output[*SubnetworkIpv6AccessType]{ + OutputState: in.ToSubnetworkIpv6AccessTypePtrOutputWithContext(ctx).OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. type SubnetworkLogConfigAggregationInterval string @@ -38651,6 +42798,12 @@ func (o SubnetworkLogConfigAggregationIntervalOutput) ToSubnetworkLogConfigAggre }).(SubnetworkLogConfigAggregationIntervalPtrOutput) } +func (o SubnetworkLogConfigAggregationIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfigAggregationInterval] { + return pulumix.Output[SubnetworkLogConfigAggregationInterval]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigAggregationIntervalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -38686,6 +42839,12 @@ func (o SubnetworkLogConfigAggregationIntervalPtrOutput) ToSubnetworkLogConfigAg return o } +func (o SubnetworkLogConfigAggregationIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigAggregationInterval] { + return pulumix.Output[*SubnetworkLogConfigAggregationInterval]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigAggregationIntervalPtrOutput) Elem() SubnetworkLogConfigAggregationIntervalOutput { return o.ApplyT(func(v *SubnetworkLogConfigAggregationInterval) SubnetworkLogConfigAggregationInterval { if v != nil { @@ -38748,6 +42907,12 @@ func (in *subnetworkLogConfigAggregationIntervalPtr) ToSubnetworkLogConfigAggreg return pulumi.ToOutputWithContext(ctx, in).(SubnetworkLogConfigAggregationIntervalPtrOutput) } +func (in *subnetworkLogConfigAggregationIntervalPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigAggregationInterval] { + return pulumix.Output[*SubnetworkLogConfigAggregationInterval]{ + OutputState: in.ToSubnetworkLogConfigAggregationIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA. type SubnetworkLogConfigMetadata string @@ -38817,6 +42982,12 @@ func (o SubnetworkLogConfigMetadataOutput) ToSubnetworkLogConfigMetadataPtrOutpu }).(SubnetworkLogConfigMetadataPtrOutput) } +func (o SubnetworkLogConfigMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfigMetadata] { + return pulumix.Output[SubnetworkLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigMetadataOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -38852,6 +43023,12 @@ func (o SubnetworkLogConfigMetadataPtrOutput) ToSubnetworkLogConfigMetadataPtrOu return o } +func (o SubnetworkLogConfigMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigMetadata] { + return pulumix.Output[*SubnetworkLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigMetadataPtrOutput) Elem() SubnetworkLogConfigMetadataOutput { return o.ApplyT(func(v *SubnetworkLogConfigMetadata) SubnetworkLogConfigMetadata { if v != nil { @@ -38914,6 +43091,12 @@ func (in *subnetworkLogConfigMetadataPtr) ToSubnetworkLogConfigMetadataPtrOutput return pulumi.ToOutputWithContext(ctx, in).(SubnetworkLogConfigMetadataPtrOutput) } +func (in *subnetworkLogConfigMetadataPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigMetadata] { + return pulumix.Output[*SubnetworkLogConfigMetadata]{ + OutputState: in.ToSubnetworkLogConfigMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Configures whether metadata fields should be added to the reported VPC flow logs. Options are INCLUDE_ALL_METADATA, EXCLUDE_ALL_METADATA, and CUSTOM_METADATA. Default is EXCLUDE_ALL_METADATA. type SubnetworkMetadata string @@ -38982,6 +43165,12 @@ func (o SubnetworkMetadataOutput) ToSubnetworkMetadataPtrOutputWithContext(ctx c }).(SubnetworkMetadataPtrOutput) } +func (o SubnetworkMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkMetadata] { + return pulumix.Output[SubnetworkMetadata]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkMetadataOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -39017,6 +43206,12 @@ func (o SubnetworkMetadataPtrOutput) ToSubnetworkMetadataPtrOutputWithContext(ct return o } +func (o SubnetworkMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkMetadata] { + return pulumix.Output[*SubnetworkMetadata]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkMetadataPtrOutput) Elem() SubnetworkMetadataOutput { return o.ApplyT(func(v *SubnetworkMetadata) SubnetworkMetadata { if v != nil { @@ -39079,6 +43274,12 @@ func (in *subnetworkMetadataPtr) ToSubnetworkMetadataPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(SubnetworkMetadataPtrOutput) } +func (in *subnetworkMetadataPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkMetadata] { + return pulumix.Output[*SubnetworkMetadata]{ + OutputState: in.ToSubnetworkMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // This field is for internal use. This field can be both set at resource creation time and updated using patch. type SubnetworkPrivateIpv6GoogleAccess string @@ -39151,6 +43352,12 @@ func (o SubnetworkPrivateIpv6GoogleAccessOutput) ToSubnetworkPrivateIpv6GoogleAc }).(SubnetworkPrivateIpv6GoogleAccessPtrOutput) } +func (o SubnetworkPrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkPrivateIpv6GoogleAccess] { + return pulumix.Output[SubnetworkPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -39186,6 +43393,12 @@ func (o SubnetworkPrivateIpv6GoogleAccessPtrOutput) ToSubnetworkPrivateIpv6Googl return o } +func (o SubnetworkPrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess] { + return pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPrivateIpv6GoogleAccessPtrOutput) Elem() SubnetworkPrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *SubnetworkPrivateIpv6GoogleAccess) SubnetworkPrivateIpv6GoogleAccess { if v != nil { @@ -39248,6 +43461,12 @@ func (in *subnetworkPrivateIpv6GoogleAccessPtr) ToSubnetworkPrivateIpv6GoogleAcc return pulumi.ToOutputWithContext(ctx, in).(SubnetworkPrivateIpv6GoogleAccessPtrOutput) } +func (in *subnetworkPrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess] { + return pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess]{ + OutputState: in.ToSubnetworkPrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY. type SubnetworkPurpose string @@ -39332,6 +43551,12 @@ func (o SubnetworkPurposeOutput) ToSubnetworkPurposePtrOutputWithContext(ctx con }).(SubnetworkPurposePtrOutput) } +func (o SubnetworkPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkPurpose] { + return pulumix.Output[SubnetworkPurpose]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -39367,6 +43592,12 @@ func (o SubnetworkPurposePtrOutput) ToSubnetworkPurposePtrOutputWithContext(ctx return o } +func (o SubnetworkPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPurpose] { + return pulumix.Output[*SubnetworkPurpose]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPurposePtrOutput) Elem() SubnetworkPurposeOutput { return o.ApplyT(func(v *SubnetworkPurpose) SubnetworkPurpose { if v != nil { @@ -39429,6 +43660,12 @@ func (in *subnetworkPurposePtr) ToSubnetworkPurposePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(SubnetworkPurposePtrOutput) } +func (in *subnetworkPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPurpose] { + return pulumix.Output[*SubnetworkPurpose]{ + OutputState: in.ToSubnetworkPurposePtrOutputWithContext(ctx).OutputState, + } +} + // The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. type SubnetworkRole string @@ -39499,6 +43736,12 @@ func (o SubnetworkRoleOutput) ToSubnetworkRolePtrOutputWithContext(ctx context.C }).(SubnetworkRolePtrOutput) } +func (o SubnetworkRoleOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkRole] { + return pulumix.Output[SubnetworkRole]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkRoleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -39534,6 +43777,12 @@ func (o SubnetworkRolePtrOutput) ToSubnetworkRolePtrOutputWithContext(ctx contex return o } +func (o SubnetworkRolePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkRole] { + return pulumix.Output[*SubnetworkRole]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkRolePtrOutput) Elem() SubnetworkRoleOutput { return o.ApplyT(func(v *SubnetworkRole) SubnetworkRole { if v != nil { @@ -39596,6 +43845,12 @@ func (in *subnetworkRolePtr) ToSubnetworkRolePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(SubnetworkRolePtrOutput) } +func (in *subnetworkRolePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkRole] { + return pulumix.Output[*SubnetworkRole]{ + OutputState: in.ToSubnetworkRolePtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. type SubnetworkStackType string @@ -39666,6 +43921,12 @@ func (o SubnetworkStackTypeOutput) ToSubnetworkStackTypePtrOutputWithContext(ctx }).(SubnetworkStackTypePtrOutput) } +func (o SubnetworkStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkStackType] { + return pulumix.Output[SubnetworkStackType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -39701,6 +43962,12 @@ func (o SubnetworkStackTypePtrOutput) ToSubnetworkStackTypePtrOutputWithContext( return o } +func (o SubnetworkStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkStackType] { + return pulumix.Output[*SubnetworkStackType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkStackTypePtrOutput) Elem() SubnetworkStackTypeOutput { return o.ApplyT(func(v *SubnetworkStackType) SubnetworkStackType { if v != nil { @@ -39763,6 +44030,12 @@ func (in *subnetworkStackTypePtr) ToSubnetworkStackTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(SubnetworkStackTypePtrOutput) } +func (in *subnetworkStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkStackType] { + return pulumix.Output[*SubnetworkStackType]{ + OutputState: in.ToSubnetworkStackTypePtrOutputWithContext(ctx).OutputState, + } +} + type SubsettingPolicy string const ( @@ -39832,6 +44105,12 @@ func (o SubsettingPolicyOutput) ToSubsettingPolicyPtrOutputWithContext(ctx conte }).(SubsettingPolicyPtrOutput) } +func (o SubsettingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[SubsettingPolicy] { + return pulumix.Output[SubsettingPolicy]{ + OutputState: o.OutputState, + } +} + func (o SubsettingPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -39867,6 +44146,12 @@ func (o SubsettingPolicyPtrOutput) ToSubsettingPolicyPtrOutputWithContext(ctx co return o } +func (o SubsettingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubsettingPolicy] { + return pulumix.Output[*SubsettingPolicy]{ + OutputState: o.OutputState, + } +} + func (o SubsettingPolicyPtrOutput) Elem() SubsettingPolicyOutput { return o.ApplyT(func(v *SubsettingPolicy) SubsettingPolicy { if v != nil { @@ -39929,6 +44214,12 @@ func (in *subsettingPolicyPtr) ToSubsettingPolicyPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(SubsettingPolicyPtrOutput) } +func (in *subsettingPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*SubsettingPolicy] { + return pulumix.Output[*SubsettingPolicy]{ + OutputState: in.ToSubsettingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type TCPHealthCheckPortSpecification string @@ -40001,6 +44292,12 @@ func (o TCPHealthCheckPortSpecificationOutput) ToTCPHealthCheckPortSpecification }).(TCPHealthCheckPortSpecificationPtrOutput) } +func (o TCPHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheckPortSpecification] { + return pulumix.Output[TCPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -40036,6 +44333,12 @@ func (o TCPHealthCheckPortSpecificationPtrOutput) ToTCPHealthCheckPortSpecificat return o } +func (o TCPHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckPortSpecification] { + return pulumix.Output[*TCPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckPortSpecificationPtrOutput) Elem() TCPHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *TCPHealthCheckPortSpecification) TCPHealthCheckPortSpecification { if v != nil { @@ -40098,6 +44401,12 @@ func (in *tcphealthCheckPortSpecificationPtr) ToTCPHealthCheckPortSpecificationP return pulumi.ToOutputWithContext(ctx, in).(TCPHealthCheckPortSpecificationPtrOutput) } +func (in *tcphealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckPortSpecification] { + return pulumix.Output[*TCPHealthCheckPortSpecification]{ + OutputState: in.ToTCPHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type TCPHealthCheckProxyHeader string @@ -40166,6 +44475,12 @@ func (o TCPHealthCheckProxyHeaderOutput) ToTCPHealthCheckProxyHeaderPtrOutputWit }).(TCPHealthCheckProxyHeaderPtrOutput) } +func (o TCPHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheckProxyHeader] { + return pulumix.Output[TCPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -40201,6 +44516,12 @@ func (o TCPHealthCheckProxyHeaderPtrOutput) ToTCPHealthCheckProxyHeaderPtrOutput return o } +func (o TCPHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckProxyHeader] { + return pulumix.Output[*TCPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckProxyHeaderPtrOutput) Elem() TCPHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *TCPHealthCheckProxyHeader) TCPHealthCheckProxyHeader { if v != nil { @@ -40263,6 +44584,12 @@ func (in *tcphealthCheckProxyHeaderPtr) ToTCPHealthCheckProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TCPHealthCheckProxyHeaderPtrOutput) } +func (in *tcphealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckProxyHeader] { + return pulumix.Output[*TCPHealthCheckProxyHeader]{ + OutputState: in.ToTCPHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. type TargetHttpsProxyQuicOverride string @@ -40335,6 +44662,12 @@ func (o TargetHttpsProxyQuicOverrideOutput) ToTargetHttpsProxyQuicOverridePtrOut }).(TargetHttpsProxyQuicOverridePtrOutput) } +func (o TargetHttpsProxyQuicOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[TargetHttpsProxyQuicOverride] { + return pulumix.Output[TargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o TargetHttpsProxyQuicOverrideOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -40370,6 +44703,12 @@ func (o TargetHttpsProxyQuicOverridePtrOutput) ToTargetHttpsProxyQuicOverridePtr return o } +func (o TargetHttpsProxyQuicOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxyQuicOverride] { + return pulumix.Output[*TargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o TargetHttpsProxyQuicOverridePtrOutput) Elem() TargetHttpsProxyQuicOverrideOutput { return o.ApplyT(func(v *TargetHttpsProxyQuicOverride) TargetHttpsProxyQuicOverride { if v != nil { @@ -40432,6 +44771,12 @@ func (in *targetHttpsProxyQuicOverridePtr) ToTargetHttpsProxyQuicOverridePtrOutp return pulumi.ToOutputWithContext(ctx, in).(TargetHttpsProxyQuicOverridePtrOutput) } +func (in *targetHttpsProxyQuicOverridePtr) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxyQuicOverride] { + return pulumix.Output[*TargetHttpsProxyQuicOverride]{ + OutputState: in.ToTargetHttpsProxyQuicOverridePtrOutputWithContext(ctx).OutputState, + } +} + // Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. type TargetInstanceNatPolicy string @@ -40500,6 +44845,12 @@ func (o TargetInstanceNatPolicyOutput) ToTargetInstanceNatPolicyPtrOutputWithCon }).(TargetInstanceNatPolicyPtrOutput) } +func (o TargetInstanceNatPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[TargetInstanceNatPolicy] { + return pulumix.Output[TargetInstanceNatPolicy]{ + OutputState: o.OutputState, + } +} + func (o TargetInstanceNatPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -40535,6 +44886,12 @@ func (o TargetInstanceNatPolicyPtrOutput) ToTargetInstanceNatPolicyPtrOutputWith return o } +func (o TargetInstanceNatPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetInstanceNatPolicy] { + return pulumix.Output[*TargetInstanceNatPolicy]{ + OutputState: o.OutputState, + } +} + func (o TargetInstanceNatPolicyPtrOutput) Elem() TargetInstanceNatPolicyOutput { return o.ApplyT(func(v *TargetInstanceNatPolicy) TargetInstanceNatPolicy { if v != nil { @@ -40597,6 +44954,12 @@ func (in *targetInstanceNatPolicyPtr) ToTargetInstanceNatPolicyPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(TargetInstanceNatPolicyPtrOutput) } +func (in *targetInstanceNatPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetInstanceNatPolicy] { + return pulumix.Output[*TargetInstanceNatPolicy]{ + OutputState: in.ToTargetInstanceNatPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. type TargetPoolSessionAffinity string @@ -40679,6 +45042,12 @@ func (o TargetPoolSessionAffinityOutput) ToTargetPoolSessionAffinityPtrOutputWit }).(TargetPoolSessionAffinityPtrOutput) } +func (o TargetPoolSessionAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[TargetPoolSessionAffinity] { + return pulumix.Output[TargetPoolSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o TargetPoolSessionAffinityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -40714,6 +45083,12 @@ func (o TargetPoolSessionAffinityPtrOutput) ToTargetPoolSessionAffinityPtrOutput return o } +func (o TargetPoolSessionAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetPoolSessionAffinity] { + return pulumix.Output[*TargetPoolSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o TargetPoolSessionAffinityPtrOutput) Elem() TargetPoolSessionAffinityOutput { return o.ApplyT(func(v *TargetPoolSessionAffinity) TargetPoolSessionAffinity { if v != nil { @@ -40776,6 +45151,12 @@ func (in *targetPoolSessionAffinityPtr) ToTargetPoolSessionAffinityPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TargetPoolSessionAffinityPtrOutput) } +func (in *targetPoolSessionAffinityPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetPoolSessionAffinity] { + return pulumix.Output[*TargetPoolSessionAffinity]{ + OutputState: in.ToTargetPoolSessionAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type TargetSslProxyProxyHeader string @@ -40844,6 +45225,12 @@ func (o TargetSslProxyProxyHeaderOutput) ToTargetSslProxyProxyHeaderPtrOutputWit }).(TargetSslProxyProxyHeaderPtrOutput) } +func (o TargetSslProxyProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[TargetSslProxyProxyHeader] { + return pulumix.Output[TargetSslProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetSslProxyProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -40879,6 +45266,12 @@ func (o TargetSslProxyProxyHeaderPtrOutput) ToTargetSslProxyProxyHeaderPtrOutput return o } +func (o TargetSslProxyProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxyProxyHeader] { + return pulumix.Output[*TargetSslProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetSslProxyProxyHeaderPtrOutput) Elem() TargetSslProxyProxyHeaderOutput { return o.ApplyT(func(v *TargetSslProxyProxyHeader) TargetSslProxyProxyHeader { if v != nil { @@ -40941,6 +45334,12 @@ func (in *targetSslProxyProxyHeaderPtr) ToTargetSslProxyProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TargetSslProxyProxyHeaderPtrOutput) } +func (in *targetSslProxyProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxyProxyHeader] { + return pulumix.Output[*TargetSslProxyProxyHeader]{ + OutputState: in.ToTargetSslProxyProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type TargetTcpProxyProxyHeader string @@ -41009,6 +45408,12 @@ func (o TargetTcpProxyProxyHeaderOutput) ToTargetTcpProxyProxyHeaderPtrOutputWit }).(TargetTcpProxyProxyHeaderPtrOutput) } +func (o TargetTcpProxyProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[TargetTcpProxyProxyHeader] { + return pulumix.Output[TargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetTcpProxyProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -41044,6 +45449,12 @@ func (o TargetTcpProxyProxyHeaderPtrOutput) ToTargetTcpProxyProxyHeaderPtrOutput return o } +func (o TargetTcpProxyProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxyProxyHeader] { + return pulumix.Output[*TargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetTcpProxyProxyHeaderPtrOutput) Elem() TargetTcpProxyProxyHeaderOutput { return o.ApplyT(func(v *TargetTcpProxyProxyHeader) TargetTcpProxyProxyHeader { if v != nil { @@ -41106,6 +45517,12 @@ func (in *targetTcpProxyProxyHeaderPtr) ToTargetTcpProxyProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TargetTcpProxyProxyHeaderPtrOutput) } +func (in *targetTcpProxyProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxyProxyHeader] { + return pulumix.Output[*TargetTcpProxyProxyHeader]{ + OutputState: in.ToTargetTcpProxyProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Defines how TLS certificates are obtained. type TlsCertificateContextCertificateSource string @@ -41177,6 +45594,12 @@ func (o TlsCertificateContextCertificateSourceOutput) ToTlsCertificateContextCer }).(TlsCertificateContextCertificateSourcePtrOutput) } +func (o TlsCertificateContextCertificateSourceOutput) ToOutput(ctx context.Context) pulumix.Output[TlsCertificateContextCertificateSource] { + return pulumix.Output[TlsCertificateContextCertificateSource]{ + OutputState: o.OutputState, + } +} + func (o TlsCertificateContextCertificateSourceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -41212,6 +45635,12 @@ func (o TlsCertificateContextCertificateSourcePtrOutput) ToTlsCertificateContext return o } +func (o TlsCertificateContextCertificateSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TlsCertificateContextCertificateSource] { + return pulumix.Output[*TlsCertificateContextCertificateSource]{ + OutputState: o.OutputState, + } +} + func (o TlsCertificateContextCertificateSourcePtrOutput) Elem() TlsCertificateContextCertificateSourceOutput { return o.ApplyT(func(v *TlsCertificateContextCertificateSource) TlsCertificateContextCertificateSource { if v != nil { @@ -41274,6 +45703,12 @@ func (in *tlsCertificateContextCertificateSourcePtr) ToTlsCertificateContextCert return pulumi.ToOutputWithContext(ctx, in).(TlsCertificateContextCertificateSourcePtrOutput) } +func (in *tlsCertificateContextCertificateSourcePtr) ToOutput(ctx context.Context) pulumix.Output[*TlsCertificateContextCertificateSource] { + return pulumix.Output[*TlsCertificateContextCertificateSource]{ + OutputState: in.ToTlsCertificateContextCertificateSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Defines how TLS certificates are obtained. type TlsValidationContextValidationSource string @@ -41345,6 +45780,12 @@ func (o TlsValidationContextValidationSourceOutput) ToTlsValidationContextValida }).(TlsValidationContextValidationSourcePtrOutput) } +func (o TlsValidationContextValidationSourceOutput) ToOutput(ctx context.Context) pulumix.Output[TlsValidationContextValidationSource] { + return pulumix.Output[TlsValidationContextValidationSource]{ + OutputState: o.OutputState, + } +} + func (o TlsValidationContextValidationSourceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -41380,6 +45821,12 @@ func (o TlsValidationContextValidationSourcePtrOutput) ToTlsValidationContextVal return o } +func (o TlsValidationContextValidationSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TlsValidationContextValidationSource] { + return pulumix.Output[*TlsValidationContextValidationSource]{ + OutputState: o.OutputState, + } +} + func (o TlsValidationContextValidationSourcePtrOutput) Elem() TlsValidationContextValidationSourceOutput { return o.ApplyT(func(v *TlsValidationContextValidationSource) TlsValidationContextValidationSource { if v != nil { @@ -41442,6 +45889,12 @@ func (in *tlsValidationContextValidationSourcePtr) ToTlsValidationContextValidat return pulumi.ToOutputWithContext(ctx, in).(TlsValidationContextValidationSourcePtrOutput) } +func (in *tlsValidationContextValidationSourcePtr) ToOutput(ctx context.Context) pulumix.Output[*TlsValidationContextValidationSource] { + return pulumix.Output[*TlsValidationContextValidationSource]{ + OutputState: in.ToTlsValidationContextValidationSourcePtrOutputWithContext(ctx).OutputState, + } +} + // The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used. type VpnGatewayGatewayIpVersion string @@ -41512,6 +45965,12 @@ func (o VpnGatewayGatewayIpVersionOutput) ToVpnGatewayGatewayIpVersionPtrOutputW }).(VpnGatewayGatewayIpVersionPtrOutput) } +func (o VpnGatewayGatewayIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayGatewayIpVersion] { + return pulumix.Output[VpnGatewayGatewayIpVersion]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayGatewayIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -41547,6 +46006,12 @@ func (o VpnGatewayGatewayIpVersionPtrOutput) ToVpnGatewayGatewayIpVersionPtrOutp return o } +func (o VpnGatewayGatewayIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnGatewayGatewayIpVersion] { + return pulumix.Output[*VpnGatewayGatewayIpVersion]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayGatewayIpVersionPtrOutput) Elem() VpnGatewayGatewayIpVersionOutput { return o.ApplyT(func(v *VpnGatewayGatewayIpVersion) VpnGatewayGatewayIpVersion { if v != nil { @@ -41609,6 +46074,12 @@ func (in *vpnGatewayGatewayIpVersionPtr) ToVpnGatewayGatewayIpVersionPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(VpnGatewayGatewayIpVersionPtrOutput) } +func (in *vpnGatewayGatewayIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*VpnGatewayGatewayIpVersion] { + return pulumix.Output[*VpnGatewayGatewayIpVersion]{ + OutputState: in.ToVpnGatewayGatewayIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. type VpnGatewayStackType string @@ -41681,6 +46152,12 @@ func (o VpnGatewayStackTypeOutput) ToVpnGatewayStackTypePtrOutputWithContext(ctx }).(VpnGatewayStackTypePtrOutput) } +func (o VpnGatewayStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayStackType] { + return pulumix.Output[VpnGatewayStackType]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -41716,6 +46193,12 @@ func (o VpnGatewayStackTypePtrOutput) ToVpnGatewayStackTypePtrOutputWithContext( return o } +func (o VpnGatewayStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnGatewayStackType] { + return pulumix.Output[*VpnGatewayStackType]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayStackTypePtrOutput) Elem() VpnGatewayStackTypeOutput { return o.ApplyT(func(v *VpnGatewayStackType) VpnGatewayStackType { if v != nil { @@ -41778,6 +46261,12 @@ func (in *vpnGatewayStackTypePtr) ToVpnGatewayStackTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(VpnGatewayStackTypePtrOutput) } +func (in *vpnGatewayStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*VpnGatewayStackType] { + return pulumix.Output[*VpnGatewayStackType]{ + OutputState: in.ToVpnGatewayStackTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AccessConfigNetworkTierInput)(nil)).Elem(), AccessConfigNetworkTier("FIXED_STANDARD")) pulumi.RegisterInputType(reflect.TypeOf((*AccessConfigNetworkTierPtrInput)(nil)).Elem(), AccessConfigNetworkTier("FIXED_STANDARD")) diff --git a/sdk/go/google/compute/alpha/pulumiTypes.go b/sdk/go/google/compute/alpha/pulumiTypes.go index 08b49b0f59..c6b061361e 100644 --- a/sdk/go/google/compute/alpha/pulumiTypes.go +++ b/sdk/go/google/compute/alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AWSV4SignatureArgs) ToAWSV4SignatureOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AWSV4SignatureOutput) } +func (i AWSV4SignatureArgs) ToOutput(ctx context.Context) pulumix.Output[AWSV4Signature] { + return pulumix.Output[AWSV4Signature]{ + OutputState: i.ToAWSV4SignatureOutputWithContext(ctx).OutputState, + } +} + func (i AWSV4SignatureArgs) ToAWSV4SignaturePtrOutput() AWSV4SignaturePtrOutput { return i.ToAWSV4SignaturePtrOutputWithContext(context.Background()) } @@ -101,6 +108,12 @@ func (i *awsv4signaturePtrType) ToAWSV4SignaturePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AWSV4SignaturePtrOutput) } +func (i *awsv4signaturePtrType) ToOutput(ctx context.Context) pulumix.Output[*AWSV4Signature] { + return pulumix.Output[*AWSV4Signature]{ + OutputState: i.ToAWSV4SignaturePtrOutputWithContext(ctx).OutputState, + } +} + // Contains the configurations necessary to generate a signature for access to private storage buckets that support Signature Version 4 for authentication. The service name for generating the authentication header will always default to 's3'. type AWSV4SignatureOutput struct{ *pulumi.OutputState } @@ -126,6 +139,12 @@ func (o AWSV4SignatureOutput) ToAWSV4SignaturePtrOutputWithContext(ctx context.C }).(AWSV4SignaturePtrOutput) } +func (o AWSV4SignatureOutput) ToOutput(ctx context.Context) pulumix.Output[AWSV4Signature] { + return pulumix.Output[AWSV4Signature]{ + OutputState: o.OutputState, + } +} + // The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly func (o AWSV4SignatureOutput) AccessKey() pulumi.StringPtrOutput { return o.ApplyT(func(v AWSV4Signature) *string { return v.AccessKey }).(pulumi.StringPtrOutput) @@ -160,6 +179,12 @@ func (o AWSV4SignaturePtrOutput) ToAWSV4SignaturePtrOutputWithContext(ctx contex return o } +func (o AWSV4SignaturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AWSV4Signature] { + return pulumix.Output[*AWSV4Signature]{ + OutputState: o.OutputState, + } +} + func (o AWSV4SignaturePtrOutput) Elem() AWSV4SignatureOutput { return o.ApplyT(func(v *AWSV4Signature) AWSV4Signature { if v != nil { @@ -237,6 +262,12 @@ func (o AWSV4SignatureResponseOutput) ToAWSV4SignatureResponseOutputWithContext( return o } +func (o AWSV4SignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AWSV4SignatureResponse] { + return pulumix.Output[AWSV4SignatureResponse]{ + OutputState: o.OutputState, + } +} + // The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly func (o AWSV4SignatureResponseOutput) AccessKey() pulumi.StringOutput { return o.ApplyT(func(v AWSV4SignatureResponse) string { return v.AccessKey }).(pulumi.StringOutput) @@ -296,6 +327,12 @@ func (i AcceleratorConfigArgs) ToAcceleratorConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigOutput) } +func (i AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + // AcceleratorConfigArrayInput is an input type that accepts AcceleratorConfigArray and AcceleratorConfigArrayOutput values. // You can construct a concrete instance of `AcceleratorConfigArrayInput` via: // @@ -321,6 +358,12 @@ func (i AcceleratorConfigArray) ToAcceleratorConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigArrayOutput) } +func (i AcceleratorConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigArrayOutputWithContext(ctx).OutputState, + } +} + // A specification of the type and number of accelerator cards attached to the instance. type AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -336,6 +379,12 @@ func (o AcceleratorConfigOutput) ToAcceleratorConfigOutputWithContext(ctx contex return o } +func (o AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // The number of the guest accelerator cards exposed to this instance. func (o AcceleratorConfigOutput) AcceleratorCount() pulumi.IntPtrOutput { return o.ApplyT(func(v AcceleratorConfig) *int { return v.AcceleratorCount }).(pulumi.IntPtrOutput) @@ -360,6 +409,12 @@ func (o AcceleratorConfigArrayOutput) ToAcceleratorConfigArrayOutputWithContext( return o } +func (o AcceleratorConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfig { return vs[0].([]AcceleratorConfig)[vs[1].(int)] @@ -389,6 +444,12 @@ func (o AcceleratorConfigResponseOutput) ToAcceleratorConfigResponseOutputWithCo return o } +func (o AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigResponse] { + return pulumix.Output[AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of the guest accelerator cards exposed to this instance. func (o AcceleratorConfigResponseOutput) AcceleratorCount() pulumi.IntOutput { return o.ApplyT(func(v AcceleratorConfigResponse) int { return v.AcceleratorCount }).(pulumi.IntOutput) @@ -413,6 +474,12 @@ func (o AcceleratorConfigResponseArrayOutput) ToAcceleratorConfigResponseArrayOu return o } +func (o AcceleratorConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfigResponse] { + return pulumix.Output[[]AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfigResponse { return vs[0].([]AcceleratorConfigResponse)[vs[1].(int)] @@ -486,6 +553,12 @@ func (i AccessConfigArgs) ToAccessConfigOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AccessConfigOutput) } +func (i AccessConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AccessConfig] { + return pulumix.Output[AccessConfig]{ + OutputState: i.ToAccessConfigOutputWithContext(ctx).OutputState, + } +} + // AccessConfigArrayInput is an input type that accepts AccessConfigArray and AccessConfigArrayOutput values. // You can construct a concrete instance of `AccessConfigArrayInput` via: // @@ -511,6 +584,12 @@ func (i AccessConfigArray) ToAccessConfigArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AccessConfigArrayOutput) } +func (i AccessConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AccessConfig] { + return pulumix.Output[[]AccessConfig]{ + OutputState: i.ToAccessConfigArrayOutputWithContext(ctx).OutputState, + } +} + // An access configuration attached to an instance's network interface. Only one access config per instance is supported. type AccessConfigOutput struct{ *pulumi.OutputState } @@ -526,6 +605,12 @@ func (o AccessConfigOutput) ToAccessConfigOutputWithContext(ctx context.Context) return o } +func (o AccessConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfig] { + return pulumix.Output[AccessConfig]{ + OutputState: o.OutputState, + } +} + // Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork. func (o AccessConfigOutput) ExternalIpv6() pulumi.StringPtrOutput { return o.ApplyT(func(v AccessConfig) *string { return v.ExternalIpv6 }).(pulumi.StringPtrOutput) @@ -585,6 +670,12 @@ func (o AccessConfigArrayOutput) ToAccessConfigArrayOutputWithContext(ctx contex return o } +func (o AccessConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AccessConfig] { + return pulumix.Output[[]AccessConfig]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigArrayOutput) Index(i pulumi.IntInput) AccessConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessConfig { return vs[0].([]AccessConfig)[vs[1].(int)] @@ -634,6 +725,12 @@ func (o AccessConfigResponseOutput) ToAccessConfigResponseOutputWithContext(ctx return o } +func (o AccessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigResponse] { + return pulumix.Output[AccessConfigResponse]{ + OutputState: o.OutputState, + } +} + // Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork. func (o AccessConfigResponseOutput) ExternalIpv6() pulumi.StringOutput { return o.ApplyT(func(v AccessConfigResponse) string { return v.ExternalIpv6 }).(pulumi.StringOutput) @@ -708,6 +805,12 @@ func (o AccessConfigResponseArrayOutput) ToAccessConfigResponseArrayOutputWithCo return o } +func (o AccessConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AccessConfigResponse] { + return pulumix.Output[[]AccessConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigResponseArrayOutput) Index(i pulumi.IntInput) AccessConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessConfigResponse { return vs[0].([]AccessConfigResponse)[vs[1].(int)] @@ -769,6 +872,12 @@ func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesOutput) } +func (i AdvancedMachineFeaturesArgs) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesOutputWithContext(ctx).OutputState, + } +} + func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesPtrOutput() AdvancedMachineFeaturesPtrOutput { return i.ToAdvancedMachineFeaturesPtrOutputWithContext(context.Background()) } @@ -810,6 +919,12 @@ func (i *advancedMachineFeaturesPtrType) ToAdvancedMachineFeaturesPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesPtrOutput) } +func (i *advancedMachineFeaturesPtrType) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled). type AdvancedMachineFeaturesOutput struct{ *pulumi.OutputState } @@ -835,6 +950,12 @@ func (o AdvancedMachineFeaturesOutput) ToAdvancedMachineFeaturesPtrOutputWithCon }).(AdvancedMachineFeaturesPtrOutput) } +func (o AdvancedMachineFeaturesOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + // Whether to enable nested virtualization or not (default is false). func (o AdvancedMachineFeaturesOutput) EnableNestedVirtualization() pulumi.BoolPtrOutput { return o.ApplyT(func(v AdvancedMachineFeatures) *bool { return v.EnableNestedVirtualization }).(pulumi.BoolPtrOutput) @@ -881,6 +1002,12 @@ func (o AdvancedMachineFeaturesPtrOutput) ToAdvancedMachineFeaturesPtrOutputWith return o } +func (o AdvancedMachineFeaturesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + func (o AdvancedMachineFeaturesPtrOutput) Elem() AdvancedMachineFeaturesOutput { return o.ApplyT(func(v *AdvancedMachineFeatures) AdvancedMachineFeatures { if v != nil { @@ -982,6 +1109,12 @@ func (o AdvancedMachineFeaturesResponseOutput) ToAdvancedMachineFeaturesResponse return o } +func (o AdvancedMachineFeaturesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeaturesResponse] { + return pulumix.Output[AdvancedMachineFeaturesResponse]{ + OutputState: o.OutputState, + } +} + // Whether to enable nested virtualization or not (default is false). func (o AdvancedMachineFeaturesResponseOutput) EnableNestedVirtualization() pulumi.BoolOutput { return o.ApplyT(func(v AdvancedMachineFeaturesResponse) bool { return v.EnableNestedVirtualization }).(pulumi.BoolOutput) @@ -1051,6 +1184,12 @@ func (i AliasIpRangeArgs) ToAliasIpRangeOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AliasIpRangeOutput) } +func (i AliasIpRangeArgs) ToOutput(ctx context.Context) pulumix.Output[AliasIpRange] { + return pulumix.Output[AliasIpRange]{ + OutputState: i.ToAliasIpRangeOutputWithContext(ctx).OutputState, + } +} + // AliasIpRangeArrayInput is an input type that accepts AliasIpRangeArray and AliasIpRangeArrayOutput values. // You can construct a concrete instance of `AliasIpRangeArrayInput` via: // @@ -1076,6 +1215,12 @@ func (i AliasIpRangeArray) ToAliasIpRangeArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AliasIpRangeArrayOutput) } +func (i AliasIpRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]AliasIpRange] { + return pulumix.Output[[]AliasIpRange]{ + OutputState: i.ToAliasIpRangeArrayOutputWithContext(ctx).OutputState, + } +} + // An alias IP range attached to an instance's network interface. type AliasIpRangeOutput struct{ *pulumi.OutputState } @@ -1091,6 +1236,12 @@ func (o AliasIpRangeOutput) ToAliasIpRangeOutputWithContext(ctx context.Context) return o } +func (o AliasIpRangeOutput) ToOutput(ctx context.Context) pulumix.Output[AliasIpRange] { + return pulumix.Output[AliasIpRange]{ + OutputState: o.OutputState, + } +} + // The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). func (o AliasIpRangeOutput) IpCidrRange() pulumi.StringPtrOutput { return o.ApplyT(func(v AliasIpRange) *string { return v.IpCidrRange }).(pulumi.StringPtrOutput) @@ -1115,6 +1266,12 @@ func (o AliasIpRangeArrayOutput) ToAliasIpRangeArrayOutputWithContext(ctx contex return o } +func (o AliasIpRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AliasIpRange] { + return pulumix.Output[[]AliasIpRange]{ + OutputState: o.OutputState, + } +} + func (o AliasIpRangeArrayOutput) Index(i pulumi.IntInput) AliasIpRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AliasIpRange { return vs[0].([]AliasIpRange)[vs[1].(int)] @@ -1144,6 +1301,12 @@ func (o AliasIpRangeResponseOutput) ToAliasIpRangeResponseOutputWithContext(ctx return o } +func (o AliasIpRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AliasIpRangeResponse] { + return pulumix.Output[AliasIpRangeResponse]{ + OutputState: o.OutputState, + } +} + // The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). func (o AliasIpRangeResponseOutput) IpCidrRange() pulumi.StringOutput { return o.ApplyT(func(v AliasIpRangeResponse) string { return v.IpCidrRange }).(pulumi.StringOutput) @@ -1168,6 +1331,12 @@ func (o AliasIpRangeResponseArrayOutput) ToAliasIpRangeResponseArrayOutputWithCo return o } +func (o AliasIpRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AliasIpRangeResponse] { + return pulumix.Output[[]AliasIpRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o AliasIpRangeResponseArrayOutput) Index(i pulumi.IntInput) AliasIpRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AliasIpRangeResponse { return vs[0].([]AliasIpRangeResponse)[vs[1].(int)] @@ -1213,6 +1382,12 @@ func (i AllocationAggregateReservationArgs) ToAllocationAggregateReservationOutp return pulumi.ToOutputWithContext(ctx, i).(AllocationAggregateReservationOutput) } +func (i AllocationAggregateReservationArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationAggregateReservation] { + return pulumix.Output[AllocationAggregateReservation]{ + OutputState: i.ToAllocationAggregateReservationOutputWithContext(ctx).OutputState, + } +} + func (i AllocationAggregateReservationArgs) ToAllocationAggregateReservationPtrOutput() AllocationAggregateReservationPtrOutput { return i.ToAllocationAggregateReservationPtrOutputWithContext(context.Background()) } @@ -1254,6 +1429,12 @@ func (i *allocationAggregateReservationPtrType) ToAllocationAggregateReservation return pulumi.ToOutputWithContext(ctx, i).(AllocationAggregateReservationPtrOutput) } +func (i *allocationAggregateReservationPtrType) ToOutput(ctx context.Context) pulumix.Output[*AllocationAggregateReservation] { + return pulumix.Output[*AllocationAggregateReservation]{ + OutputState: i.ToAllocationAggregateReservationPtrOutputWithContext(ctx).OutputState, + } +} + // This reservation type is specified by total resource amounts (e.g. total count of CPUs) and can account for multiple instance SKUs. In other words, one can create instances of varying shapes against this reservation. type AllocationAggregateReservationOutput struct{ *pulumi.OutputState } @@ -1279,6 +1460,12 @@ func (o AllocationAggregateReservationOutput) ToAllocationAggregateReservationPt }).(AllocationAggregateReservationPtrOutput) } +func (o AllocationAggregateReservationOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationAggregateReservation] { + return pulumix.Output[AllocationAggregateReservation]{ + OutputState: o.OutputState, + } +} + // List of reserved resources (CPUs, memory, accelerators). func (o AllocationAggregateReservationOutput) ReservedResources() AllocationAggregateReservationReservedResourceInfoArrayOutput { return o.ApplyT(func(v AllocationAggregateReservation) []AllocationAggregateReservationReservedResourceInfo { @@ -1305,6 +1492,12 @@ func (o AllocationAggregateReservationPtrOutput) ToAllocationAggregateReservatio return o } +func (o AllocationAggregateReservationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationAggregateReservation] { + return pulumix.Output[*AllocationAggregateReservation]{ + OutputState: o.OutputState, + } +} + func (o AllocationAggregateReservationPtrOutput) Elem() AllocationAggregateReservationOutput { return o.ApplyT(func(v *AllocationAggregateReservation) AllocationAggregateReservation { if v != nil { @@ -1368,6 +1561,12 @@ func (i AllocationAggregateReservationReservedResourceInfoArgs) ToAllocationAggr return pulumi.ToOutputWithContext(ctx, i).(AllocationAggregateReservationReservedResourceInfoOutput) } +func (i AllocationAggregateReservationReservedResourceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationAggregateReservationReservedResourceInfo] { + return pulumix.Output[AllocationAggregateReservationReservedResourceInfo]{ + OutputState: i.ToAllocationAggregateReservationReservedResourceInfoOutputWithContext(ctx).OutputState, + } +} + // AllocationAggregateReservationReservedResourceInfoArrayInput is an input type that accepts AllocationAggregateReservationReservedResourceInfoArray and AllocationAggregateReservationReservedResourceInfoArrayOutput values. // You can construct a concrete instance of `AllocationAggregateReservationReservedResourceInfoArrayInput` via: // @@ -1393,6 +1592,12 @@ func (i AllocationAggregateReservationReservedResourceInfoArray) ToAllocationAgg return pulumi.ToOutputWithContext(ctx, i).(AllocationAggregateReservationReservedResourceInfoArrayOutput) } +func (i AllocationAggregateReservationReservedResourceInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]AllocationAggregateReservationReservedResourceInfo] { + return pulumix.Output[[]AllocationAggregateReservationReservedResourceInfo]{ + OutputState: i.ToAllocationAggregateReservationReservedResourceInfoArrayOutputWithContext(ctx).OutputState, + } +} + type AllocationAggregateReservationReservedResourceInfoOutput struct{ *pulumi.OutputState } func (AllocationAggregateReservationReservedResourceInfoOutput) ElementType() reflect.Type { @@ -1407,6 +1612,12 @@ func (o AllocationAggregateReservationReservedResourceInfoOutput) ToAllocationAg return o } +func (o AllocationAggregateReservationReservedResourceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationAggregateReservationReservedResourceInfo] { + return pulumix.Output[AllocationAggregateReservationReservedResourceInfo]{ + OutputState: o.OutputState, + } +} + // Properties of accelerator resources in this reservation. func (o AllocationAggregateReservationReservedResourceInfoOutput) Accelerator() AllocationAggregateReservationReservedResourceInfoAcceleratorPtrOutput { return o.ApplyT(func(v AllocationAggregateReservationReservedResourceInfo) *AllocationAggregateReservationReservedResourceInfoAccelerator { @@ -1428,6 +1639,12 @@ func (o AllocationAggregateReservationReservedResourceInfoArrayOutput) ToAllocat return o } +func (o AllocationAggregateReservationReservedResourceInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllocationAggregateReservationReservedResourceInfo] { + return pulumix.Output[[]AllocationAggregateReservationReservedResourceInfo]{ + OutputState: o.OutputState, + } +} + func (o AllocationAggregateReservationReservedResourceInfoArrayOutput) Index(i pulumi.IntInput) AllocationAggregateReservationReservedResourceInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllocationAggregateReservationReservedResourceInfo { return vs[0].([]AllocationAggregateReservationReservedResourceInfo)[vs[1].(int)] @@ -1471,6 +1688,12 @@ func (i AllocationAggregateReservationReservedResourceInfoAcceleratorArgs) ToAll return pulumi.ToOutputWithContext(ctx, i).(AllocationAggregateReservationReservedResourceInfoAcceleratorOutput) } +func (i AllocationAggregateReservationReservedResourceInfoAcceleratorArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationAggregateReservationReservedResourceInfoAccelerator] { + return pulumix.Output[AllocationAggregateReservationReservedResourceInfoAccelerator]{ + OutputState: i.ToAllocationAggregateReservationReservedResourceInfoAcceleratorOutputWithContext(ctx).OutputState, + } +} + func (i AllocationAggregateReservationReservedResourceInfoAcceleratorArgs) ToAllocationAggregateReservationReservedResourceInfoAcceleratorPtrOutput() AllocationAggregateReservationReservedResourceInfoAcceleratorPtrOutput { return i.ToAllocationAggregateReservationReservedResourceInfoAcceleratorPtrOutputWithContext(context.Background()) } @@ -1512,6 +1735,12 @@ func (i *allocationAggregateReservationReservedResourceInfoAcceleratorPtrType) T return pulumi.ToOutputWithContext(ctx, i).(AllocationAggregateReservationReservedResourceInfoAcceleratorPtrOutput) } +func (i *allocationAggregateReservationReservedResourceInfoAcceleratorPtrType) ToOutput(ctx context.Context) pulumix.Output[*AllocationAggregateReservationReservedResourceInfoAccelerator] { + return pulumix.Output[*AllocationAggregateReservationReservedResourceInfoAccelerator]{ + OutputState: i.ToAllocationAggregateReservationReservedResourceInfoAcceleratorPtrOutputWithContext(ctx).OutputState, + } +} + type AllocationAggregateReservationReservedResourceInfoAcceleratorOutput struct{ *pulumi.OutputState } func (AllocationAggregateReservationReservedResourceInfoAcceleratorOutput) ElementType() reflect.Type { @@ -1536,6 +1765,12 @@ func (o AllocationAggregateReservationReservedResourceInfoAcceleratorOutput) ToA }).(AllocationAggregateReservationReservedResourceInfoAcceleratorPtrOutput) } +func (o AllocationAggregateReservationReservedResourceInfoAcceleratorOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationAggregateReservationReservedResourceInfoAccelerator] { + return pulumix.Output[AllocationAggregateReservationReservedResourceInfoAccelerator]{ + OutputState: o.OutputState, + } +} + // Number of accelerators of specified type. func (o AllocationAggregateReservationReservedResourceInfoAcceleratorOutput) AcceleratorCount() pulumi.IntPtrOutput { return o.ApplyT(func(v AllocationAggregateReservationReservedResourceInfoAccelerator) *int { return v.AcceleratorCount }).(pulumi.IntPtrOutput) @@ -1562,6 +1797,12 @@ func (o AllocationAggregateReservationReservedResourceInfoAcceleratorPtrOutput) return o } +func (o AllocationAggregateReservationReservedResourceInfoAcceleratorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationAggregateReservationReservedResourceInfoAccelerator] { + return pulumix.Output[*AllocationAggregateReservationReservedResourceInfoAccelerator]{ + OutputState: o.OutputState, + } +} + func (o AllocationAggregateReservationReservedResourceInfoAcceleratorPtrOutput) Elem() AllocationAggregateReservationReservedResourceInfoAcceleratorOutput { return o.ApplyT(func(v *AllocationAggregateReservationReservedResourceInfoAccelerator) AllocationAggregateReservationReservedResourceInfoAccelerator { if v != nil { @@ -1613,6 +1854,12 @@ func (o AllocationAggregateReservationReservedResourceInfoAcceleratorResponseOut return o } +func (o AllocationAggregateReservationReservedResourceInfoAcceleratorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationAggregateReservationReservedResourceInfoAcceleratorResponse] { + return pulumix.Output[AllocationAggregateReservationReservedResourceInfoAcceleratorResponse]{ + OutputState: o.OutputState, + } +} + // Number of accelerators of specified type. func (o AllocationAggregateReservationReservedResourceInfoAcceleratorResponseOutput) AcceleratorCount() pulumi.IntOutput { return o.ApplyT(func(v AllocationAggregateReservationReservedResourceInfoAcceleratorResponse) int { @@ -1646,6 +1893,12 @@ func (o AllocationAggregateReservationReservedResourceInfoResponseOutput) ToAllo return o } +func (o AllocationAggregateReservationReservedResourceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationAggregateReservationReservedResourceInfoResponse] { + return pulumix.Output[AllocationAggregateReservationReservedResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Properties of accelerator resources in this reservation. func (o AllocationAggregateReservationReservedResourceInfoResponseOutput) Accelerator() AllocationAggregateReservationReservedResourceInfoAcceleratorResponseOutput { return o.ApplyT(func(v AllocationAggregateReservationReservedResourceInfoResponse) AllocationAggregateReservationReservedResourceInfoAcceleratorResponse { @@ -1667,6 +1920,12 @@ func (o AllocationAggregateReservationReservedResourceInfoResponseArrayOutput) T return o } +func (o AllocationAggregateReservationReservedResourceInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllocationAggregateReservationReservedResourceInfoResponse] { + return pulumix.Output[[]AllocationAggregateReservationReservedResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o AllocationAggregateReservationReservedResourceInfoResponseArrayOutput) Index(i pulumi.IntInput) AllocationAggregateReservationReservedResourceInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllocationAggregateReservationReservedResourceInfoResponse { return vs[0].([]AllocationAggregateReservationReservedResourceInfoResponse)[vs[1].(int)] @@ -1698,6 +1957,12 @@ func (o AllocationAggregateReservationResponseOutput) ToAllocationAggregateReser return o } +func (o AllocationAggregateReservationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationAggregateReservationResponse] { + return pulumix.Output[AllocationAggregateReservationResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] List of resources currently in use. func (o AllocationAggregateReservationResponseOutput) InUseResources() AllocationAggregateReservationReservedResourceInfoResponseArrayOutput { return o.ApplyT(func(v AllocationAggregateReservationResponse) []AllocationAggregateReservationReservedResourceInfoResponse { @@ -1738,6 +2003,12 @@ func (o AllocationResourceStatusResponseOutput) ToAllocationResourceStatusRespon return o } +func (o AllocationResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationResourceStatusResponse] { + return pulumix.Output[AllocationResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Allocation Properties of this reservation. func (o AllocationResourceStatusResponseOutput) SpecificSkuAllocation() AllocationResourceStatusSpecificSKUAllocationResponseOutput { return o.ApplyT(func(v AllocationResourceStatusResponse) AllocationResourceStatusSpecificSKUAllocationResponse { @@ -1766,6 +2037,12 @@ func (o AllocationResourceStatusSpecificSKUAllocationResponseOutput) ToAllocatio return o } +func (o AllocationResourceStatusSpecificSKUAllocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationResourceStatusSpecificSKUAllocationResponse] { + return pulumix.Output[AllocationResourceStatusSpecificSKUAllocationResponse]{ + OutputState: o.OutputState, + } +} + // ID of the instance template used to populate reservation properties. func (o AllocationResourceStatusSpecificSKUAllocationResponseOutput) SourceInstanceTemplateId() pulumi.StringOutput { return o.ApplyT(func(v AllocationResourceStatusSpecificSKUAllocationResponse) string { @@ -1810,6 +2087,12 @@ func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskAr return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) } +func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: i.ToAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutputWithContext(ctx).OutputState, + } +} + // AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayInput is an input type that accepts AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArray and AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput values. // You can construct a concrete instance of `AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayInput` via: // @@ -1835,6 +2118,12 @@ func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskAr return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput) } +func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: i.ToAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutputWithContext(ctx).OutputState, + } +} + type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput struct{ *pulumi.OutputState } func (AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) ElementType() reflect.Type { @@ -1849,6 +2138,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOu return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: o.OutputState, + } +} + // Specifies the size of the disk in base-2 GB. func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) DiskSizeGb() pulumi.StringPtrOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) *string { @@ -1877,6 +2172,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskAr return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput) Index(i pulumi.IntInput) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk { return vs[0].([]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk)[vs[1].(int)] @@ -1904,6 +2205,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskRe return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the size of the disk in base-2 GB. func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseOutput) DiskSizeGb() pulumi.StringOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse) string { @@ -1932,6 +2239,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskRe return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse] { + return pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseArrayOutput) Index(i pulumi.IntInput) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse { return vs[0].([]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse)[vs[1].(int)] @@ -1997,6 +2310,12 @@ func (i AllocationSpecificSKUAllocationReservedInstancePropertiesArgs) ToAllocat return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) } +func (i AllocationSpecificSKUAllocationReservedInstancePropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: i.ToAllocationSpecificSKUAllocationReservedInstancePropertiesOutputWithContext(ctx).OutputState, + } +} + func (i AllocationSpecificSKUAllocationReservedInstancePropertiesArgs) ToAllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput() AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput { return i.ToAllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutputWithContext(context.Background()) } @@ -2038,6 +2357,12 @@ func (i *allocationSpecificSKUAllocationReservedInstancePropertiesPtrType) ToAll return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) } +func (i *allocationSpecificSKUAllocationReservedInstancePropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: i.ToAllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutputWithContext(ctx).OutputState, + } +} + // Properties of the SKU instances being reserved. Next ID: 9 type AllocationSpecificSKUAllocationReservedInstancePropertiesOutput struct{ *pulumi.OutputState } @@ -2063,6 +2388,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) ToAlloc }).(AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: o.OutputState, + } +} + // Specifies accelerator type and count. func (o AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) GuestAccelerators() AcceleratorConfigArrayOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationReservedInstanceProperties) []AcceleratorConfig { @@ -2120,6 +2451,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) ToAl return o } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) Elem() AllocationSpecificSKUAllocationReservedInstancePropertiesOutput { return o.ApplyT(func(v *AllocationSpecificSKUAllocationReservedInstanceProperties) AllocationSpecificSKUAllocationReservedInstanceProperties { if v != nil { @@ -2233,6 +2570,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesResponseOutput) return o } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstancePropertiesResponse] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstancePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Specifies accelerator type and count. func (o AllocationSpecificSKUAllocationReservedInstancePropertiesResponseOutput) GuestAccelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationReservedInstancePropertiesResponse) []AcceleratorConfigResponse { @@ -2323,6 +2666,12 @@ func (i AllocationSpecificSKUReservationArgs) ToAllocationSpecificSKUReservation return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUReservationOutput) } +func (i AllocationSpecificSKUReservationArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUReservation] { + return pulumix.Output[AllocationSpecificSKUReservation]{ + OutputState: i.ToAllocationSpecificSKUReservationOutputWithContext(ctx).OutputState, + } +} + func (i AllocationSpecificSKUReservationArgs) ToAllocationSpecificSKUReservationPtrOutput() AllocationSpecificSKUReservationPtrOutput { return i.ToAllocationSpecificSKUReservationPtrOutputWithContext(context.Background()) } @@ -2364,6 +2713,12 @@ func (i *allocationSpecificSKUReservationPtrType) ToAllocationSpecificSKUReserva return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUReservationPtrOutput) } +func (i *allocationSpecificSKUReservationPtrType) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUReservation] { + return pulumix.Output[*AllocationSpecificSKUReservation]{ + OutputState: i.ToAllocationSpecificSKUReservationPtrOutputWithContext(ctx).OutputState, + } +} + // This reservation type allows to pre allocate specific instance configuration. Next ID: 6 type AllocationSpecificSKUReservationOutput struct{ *pulumi.OutputState } @@ -2389,6 +2744,12 @@ func (o AllocationSpecificSKUReservationOutput) ToAllocationSpecificSKUReservati }).(AllocationSpecificSKUReservationPtrOutput) } +func (o AllocationSpecificSKUReservationOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUReservation] { + return pulumix.Output[AllocationSpecificSKUReservation]{ + OutputState: o.OutputState, + } +} + // Specifies the number of resources that are allocated. func (o AllocationSpecificSKUReservationOutput) Count() pulumi.StringPtrOutput { return o.ApplyT(func(v AllocationSpecificSKUReservation) *string { return v.Count }).(pulumi.StringPtrOutput) @@ -2420,6 +2781,12 @@ func (o AllocationSpecificSKUReservationPtrOutput) ToAllocationSpecificSKUReserv return o } +func (o AllocationSpecificSKUReservationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUReservation] { + return pulumix.Output[*AllocationSpecificSKUReservation]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUReservationPtrOutput) Elem() AllocationSpecificSKUReservationOutput { return o.ApplyT(func(v *AllocationSpecificSKUReservation) AllocationSpecificSKUReservation { if v != nil { @@ -2489,6 +2856,12 @@ func (o AllocationSpecificSKUReservationResponseOutput) ToAllocationSpecificSKUR return o } +func (o AllocationSpecificSKUReservationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUReservationResponse] { + return pulumix.Output[AllocationSpecificSKUReservationResponse]{ + OutputState: o.OutputState, + } +} + // Indicates how many instances are actually usable currently. func (o AllocationSpecificSKUReservationResponseOutput) AssuredCount() pulumi.StringOutput { return o.ApplyT(func(v AllocationSpecificSKUReservationResponse) string { return v.AssuredCount }).(pulumi.StringOutput) @@ -2599,6 +2972,12 @@ func (i AttachedDiskArgs) ToAttachedDiskOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskOutput) } +func (i AttachedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: i.ToAttachedDiskOutputWithContext(ctx).OutputState, + } +} + // AttachedDiskArrayInput is an input type that accepts AttachedDiskArray and AttachedDiskArrayOutput values. // You can construct a concrete instance of `AttachedDiskArrayInput` via: // @@ -2624,6 +3003,12 @@ func (i AttachedDiskArray) ToAttachedDiskArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskArrayOutput) } +func (i AttachedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: i.ToAttachedDiskArrayOutputWithContext(ctx).OutputState, + } +} + // An instance-attached disk resource. type AttachedDiskOutput struct{ *pulumi.OutputState } @@ -2639,6 +3024,12 @@ func (o AttachedDiskOutput) ToAttachedDiskOutputWithContext(ctx context.Context) return o } +func (o AttachedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o AttachedDiskOutput) AutoDelete() pulumi.BoolPtrOutput { return o.ApplyT(func(v AttachedDisk) *bool { return v.AutoDelete }).(pulumi.BoolPtrOutput) @@ -2718,6 +3109,12 @@ func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext(ctx contex return o } +func (o AttachedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskArrayOutput) Index(i pulumi.IntInput) AttachedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDisk { return vs[0].([]AttachedDisk)[vs[1].(int)] @@ -2855,6 +3252,12 @@ func (i AttachedDiskInitializeParamsArgs) ToAttachedDiskInitializeParamsOutputWi return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskInitializeParamsOutput) } +func (i AttachedDiskInitializeParamsArgs) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParams] { + return pulumix.Output[AttachedDiskInitializeParams]{ + OutputState: i.ToAttachedDiskInitializeParamsOutputWithContext(ctx).OutputState, + } +} + func (i AttachedDiskInitializeParamsArgs) ToAttachedDiskInitializeParamsPtrOutput() AttachedDiskInitializeParamsPtrOutput { return i.ToAttachedDiskInitializeParamsPtrOutputWithContext(context.Background()) } @@ -2896,6 +3299,12 @@ func (i *attachedDiskInitializeParamsPtrType) ToAttachedDiskInitializeParamsPtrO return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskInitializeParamsPtrOutput) } +func (i *attachedDiskInitializeParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParams] { + return pulumix.Output[*AttachedDiskInitializeParams]{ + OutputState: i.ToAttachedDiskInitializeParamsPtrOutputWithContext(ctx).OutputState, + } +} + // [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. type AttachedDiskInitializeParamsOutput struct{ *pulumi.OutputState } @@ -2921,6 +3330,12 @@ func (o AttachedDiskInitializeParamsOutput) ToAttachedDiskInitializeParamsPtrOut }).(AttachedDiskInitializeParamsPtrOutput) } +func (o AttachedDiskInitializeParamsOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParams] { + return pulumix.Output[AttachedDiskInitializeParams]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. Valid values are arm64 or x86_64. func (o AttachedDiskInitializeParamsOutput) Architecture() AttachedDiskInitializeParamsArchitecturePtrOutput { return o.ApplyT(func(v AttachedDiskInitializeParams) *AttachedDiskInitializeParamsArchitecture { return v.Architecture }).(AttachedDiskInitializeParamsArchitecturePtrOutput) @@ -3059,6 +3474,12 @@ func (o AttachedDiskInitializeParamsPtrOutput) ToAttachedDiskInitializeParamsPtr return o } +func (o AttachedDiskInitializeParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParams] { + return pulumix.Output[*AttachedDiskInitializeParams]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsPtrOutput) Elem() AttachedDiskInitializeParamsOutput { return o.ApplyT(func(v *AttachedDiskInitializeParams) AttachedDiskInitializeParams { if v != nil { @@ -3380,6 +3801,12 @@ func (o AttachedDiskInitializeParamsResponseOutput) ToAttachedDiskInitializePara return o } +func (o AttachedDiskInitializeParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParamsResponse] { + return pulumix.Output[AttachedDiskInitializeParamsResponse]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. Valid values are arm64 or x86_64. func (o AttachedDiskInitializeParamsResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v AttachedDiskInitializeParamsResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -3565,6 +3992,12 @@ func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext(ctx return o } +func (o AttachedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskResponse] { + return pulumix.Output[AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. Valid values are ARM64 or X86_64. func (o AttachedDiskResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v AttachedDiskResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -3679,6 +4112,12 @@ func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithCo return o } +func (o AttachedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDiskResponse] { + return pulumix.Output[[]AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) AttachedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDiskResponse { return vs[0].([]AttachedDiskResponse)[vs[1].(int)] @@ -3728,6 +4167,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -3753,6 +4198,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -3768,6 +4219,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -3797,6 +4254,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -3828,6 +4291,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -3857,6 +4326,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -3906,6 +4381,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -3931,6 +4412,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -3946,6 +4433,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -3975,6 +4468,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -4006,6 +4505,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -4035,6 +4540,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -4088,6 +4599,12 @@ func (i AuthenticationPolicyArgs) ToAuthenticationPolicyOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AuthenticationPolicyOutput) } +func (i AuthenticationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[AuthenticationPolicy] { + return pulumix.Output[AuthenticationPolicy]{ + OutputState: i.ToAuthenticationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i AuthenticationPolicyArgs) ToAuthenticationPolicyPtrOutput() AuthenticationPolicyPtrOutput { return i.ToAuthenticationPolicyPtrOutputWithContext(context.Background()) } @@ -4129,6 +4646,12 @@ func (i *authenticationPolicyPtrType) ToAuthenticationPolicyPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AuthenticationPolicyPtrOutput) } +func (i *authenticationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthenticationPolicy] { + return pulumix.Output[*AuthenticationPolicy]{ + OutputState: i.ToAuthenticationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] The authentication settings for the backend service. The authentication settings for the backend service. type AuthenticationPolicyOutput struct{ *pulumi.OutputState } @@ -4154,6 +4677,12 @@ func (o AuthenticationPolicyOutput) ToAuthenticationPolicyPtrOutputWithContext(c }).(AuthenticationPolicyPtrOutput) } +func (o AuthenticationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticationPolicy] { + return pulumix.Output[AuthenticationPolicy]{ + OutputState: o.OutputState, + } +} + // List of authentication methods that can be used for origin authentication. Similar to peers, these will be evaluated in order the first valid one will be used to set origin identity. If none of these methods pass, the request will be rejected with authentication failed error (401). Leave the list empty if origin authentication is not required. func (o AuthenticationPolicyOutput) Origins() OriginAuthenticationMethodArrayOutput { return o.ApplyT(func(v AuthenticationPolicy) []OriginAuthenticationMethod { return v.Origins }).(OriginAuthenticationMethodArrayOutput) @@ -4188,6 +4717,12 @@ func (o AuthenticationPolicyPtrOutput) ToAuthenticationPolicyPtrOutputWithContex return o } +func (o AuthenticationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthenticationPolicy] { + return pulumix.Output[*AuthenticationPolicy]{ + OutputState: o.OutputState, + } +} + func (o AuthenticationPolicyPtrOutput) Elem() AuthenticationPolicyOutput { return o.ApplyT(func(v *AuthenticationPolicy) AuthenticationPolicy { if v != nil { @@ -4265,6 +4800,12 @@ func (o AuthenticationPolicyResponseOutput) ToAuthenticationPolicyResponseOutput return o } +func (o AuthenticationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticationPolicyResponse] { + return pulumix.Output[AuthenticationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // List of authentication methods that can be used for origin authentication. Similar to peers, these will be evaluated in order the first valid one will be used to set origin identity. If none of these methods pass, the request will be rejected with authentication failed error (401). Leave the list empty if origin authentication is not required. func (o AuthenticationPolicyResponseOutput) Origins() OriginAuthenticationMethodResponseArrayOutput { return o.ApplyT(func(v AuthenticationPolicyResponse) []OriginAuthenticationMethodResponse { return v.Origins }).(OriginAuthenticationMethodResponseArrayOutput) @@ -4320,6 +4861,12 @@ func (i AuthorizationConfigArgs) ToAuthorizationConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AuthorizationConfigOutput) } +func (i AuthorizationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuthorizationConfig] { + return pulumix.Output[AuthorizationConfig]{ + OutputState: i.ToAuthorizationConfigOutputWithContext(ctx).OutputState, + } +} + func (i AuthorizationConfigArgs) ToAuthorizationConfigPtrOutput() AuthorizationConfigPtrOutput { return i.ToAuthorizationConfigPtrOutputWithContext(context.Background()) } @@ -4361,6 +4908,12 @@ func (i *authorizationConfigPtrType) ToAuthorizationConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(AuthorizationConfigPtrOutput) } +func (i *authorizationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationConfig] { + return pulumix.Output[*AuthorizationConfig]{ + OutputState: i.ToAuthorizationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Authorization configuration provides service-level and method-level access control for a service. control for a service. type AuthorizationConfigOutput struct{ *pulumi.OutputState } @@ -4386,6 +4939,12 @@ func (o AuthorizationConfigOutput) ToAuthorizationConfigPtrOutputWithContext(ctx }).(AuthorizationConfigPtrOutput) } +func (o AuthorizationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationConfig] { + return pulumix.Output[AuthorizationConfig]{ + OutputState: o.OutputState, + } +} + // List of RbacPolicies. func (o AuthorizationConfigOutput) Policies() RbacPolicyArrayOutput { return o.ApplyT(func(v AuthorizationConfig) []RbacPolicy { return v.Policies }).(RbacPolicyArrayOutput) @@ -4405,6 +4964,12 @@ func (o AuthorizationConfigPtrOutput) ToAuthorizationConfigPtrOutputWithContext( return o } +func (o AuthorizationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationConfig] { + return pulumix.Output[*AuthorizationConfig]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationConfigPtrOutput) Elem() AuthorizationConfigOutput { return o.ApplyT(func(v *AuthorizationConfig) AuthorizationConfig { if v != nil { @@ -4446,6 +5011,12 @@ func (o AuthorizationConfigResponseOutput) ToAuthorizationConfigResponseOutputWi return o } +func (o AuthorizationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationConfigResponse] { + return pulumix.Output[AuthorizationConfigResponse]{ + OutputState: o.OutputState, + } +} + // List of RbacPolicies. func (o AuthorizationConfigResponseOutput) Policies() RbacPolicyResponseArrayOutput { return o.ApplyT(func(v AuthorizationConfigResponse) []RbacPolicyResponse { return v.Policies }).(RbacPolicyResponseArrayOutput) @@ -4486,6 +5057,12 @@ func (i AuthorizationLoggingOptionsArgs) ToAuthorizationLoggingOptionsOutputWith return pulumi.ToOutputWithContext(ctx, i).(AuthorizationLoggingOptionsOutput) } +func (i AuthorizationLoggingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptions] { + return pulumix.Output[AuthorizationLoggingOptions]{ + OutputState: i.ToAuthorizationLoggingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i AuthorizationLoggingOptionsArgs) ToAuthorizationLoggingOptionsPtrOutput() AuthorizationLoggingOptionsPtrOutput { return i.ToAuthorizationLoggingOptionsPtrOutputWithContext(context.Background()) } @@ -4527,6 +5104,12 @@ func (i *authorizationLoggingOptionsPtrType) ToAuthorizationLoggingOptionsPtrOut return pulumi.ToOutputWithContext(ctx, i).(AuthorizationLoggingOptionsPtrOutput) } +func (i *authorizationLoggingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptions] { + return pulumix.Output[*AuthorizationLoggingOptions]{ + OutputState: i.ToAuthorizationLoggingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type AuthorizationLoggingOptionsOutput struct{ *pulumi.OutputState } @@ -4552,6 +5135,12 @@ func (o AuthorizationLoggingOptionsOutput) ToAuthorizationLoggingOptionsPtrOutpu }).(AuthorizationLoggingOptionsPtrOutput) } +func (o AuthorizationLoggingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptions] { + return pulumix.Output[AuthorizationLoggingOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o AuthorizationLoggingOptionsOutput) PermissionType() AuthorizationLoggingOptionsPermissionTypePtrOutput { return o.ApplyT(func(v AuthorizationLoggingOptions) *AuthorizationLoggingOptionsPermissionType { @@ -4573,6 +5162,12 @@ func (o AuthorizationLoggingOptionsPtrOutput) ToAuthorizationLoggingOptionsPtrOu return o } +func (o AuthorizationLoggingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptions] { + return pulumix.Output[*AuthorizationLoggingOptions]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPtrOutput) Elem() AuthorizationLoggingOptionsOutput { return o.ApplyT(func(v *AuthorizationLoggingOptions) AuthorizationLoggingOptions { if v != nil { @@ -4614,6 +5209,12 @@ func (o AuthorizationLoggingOptionsResponseOutput) ToAuthorizationLoggingOptions return o } +func (o AuthorizationLoggingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptionsResponse] { + return pulumix.Output[AuthorizationLoggingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o AuthorizationLoggingOptionsResponseOutput) PermissionType() pulumi.StringOutput { return o.ApplyT(func(v AuthorizationLoggingOptionsResponse) string { return v.PermissionType }).(pulumi.StringOutput) @@ -4640,6 +5241,12 @@ func (o AutoscalerStatusDetailsResponseOutput) ToAutoscalerStatusDetailsResponse return o } +func (o AutoscalerStatusDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalerStatusDetailsResponse] { + return pulumix.Output[AutoscalerStatusDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The status message. func (o AutoscalerStatusDetailsResponseOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v AutoscalerStatusDetailsResponse) string { return v.Message }).(pulumi.StringOutput) @@ -4664,6 +5271,12 @@ func (o AutoscalerStatusDetailsResponseArrayOutput) ToAutoscalerStatusDetailsRes return o } +func (o AutoscalerStatusDetailsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalerStatusDetailsResponse] { + return pulumix.Output[[]AutoscalerStatusDetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o AutoscalerStatusDetailsResponseArrayOutput) Index(i pulumi.IntInput) AutoscalerStatusDetailsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutoscalerStatusDetailsResponse { return vs[0].([]AutoscalerStatusDetailsResponse)[vs[1].(int)] @@ -4737,6 +5350,12 @@ func (i AutoscalingPolicyArgs) ToAutoscalingPolicyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyOutput) } +func (i AutoscalingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicy] { + return pulumix.Output[AutoscalingPolicy]{ + OutputState: i.ToAutoscalingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyArgs) ToAutoscalingPolicyPtrOutput() AutoscalingPolicyPtrOutput { return i.ToAutoscalingPolicyPtrOutputWithContext(context.Background()) } @@ -4778,6 +5397,12 @@ func (i *autoscalingPolicyPtrType) ToAutoscalingPolicyPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyPtrOutput) } +func (i *autoscalingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicy] { + return pulumix.Output[*AutoscalingPolicy]{ + OutputState: i.ToAutoscalingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Autoscaler policy. type AutoscalingPolicyOutput struct{ *pulumi.OutputState } @@ -4803,6 +5428,12 @@ func (o AutoscalingPolicyOutput) ToAutoscalingPolicyPtrOutputWithContext(ctx con }).(AutoscalingPolicyPtrOutput) } +func (o AutoscalingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicy] { + return pulumix.Output[AutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + // The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process. func (o AutoscalingPolicyOutput) CoolDownPeriodSec() pulumi.IntPtrOutput { return o.ApplyT(func(v AutoscalingPolicy) *int { return v.CoolDownPeriodSec }).(pulumi.IntPtrOutput) @@ -4869,6 +5500,12 @@ func (o AutoscalingPolicyPtrOutput) ToAutoscalingPolicyPtrOutputWithContext(ctx return o } +func (o AutoscalingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicy] { + return pulumix.Output[*AutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyPtrOutput) Elem() AutoscalingPolicyOutput { return o.ApplyT(func(v *AutoscalingPolicy) AutoscalingPolicy { if v != nil { @@ -5016,6 +5653,12 @@ func (i AutoscalingPolicyCpuUtilizationArgs) ToAutoscalingPolicyCpuUtilizationOu return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCpuUtilizationOutput) } +func (i AutoscalingPolicyCpuUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilization] { + return pulumix.Output[AutoscalingPolicyCpuUtilization]{ + OutputState: i.ToAutoscalingPolicyCpuUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyCpuUtilizationArgs) ToAutoscalingPolicyCpuUtilizationPtrOutput() AutoscalingPolicyCpuUtilizationPtrOutput { return i.ToAutoscalingPolicyCpuUtilizationPtrOutputWithContext(context.Background()) } @@ -5057,6 +5700,12 @@ func (i *autoscalingPolicyCpuUtilizationPtrType) ToAutoscalingPolicyCpuUtilizati return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCpuUtilizationPtrOutput) } +func (i *autoscalingPolicyCpuUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilization] { + return pulumix.Output[*AutoscalingPolicyCpuUtilization]{ + OutputState: i.ToAutoscalingPolicyCpuUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // CPU utilization policy. type AutoscalingPolicyCpuUtilizationOutput struct{ *pulumi.OutputState } @@ -5082,6 +5731,12 @@ func (o AutoscalingPolicyCpuUtilizationOutput) ToAutoscalingPolicyCpuUtilization }).(AutoscalingPolicyCpuUtilizationPtrOutput) } +func (o AutoscalingPolicyCpuUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilization] { + return pulumix.Output[AutoscalingPolicyCpuUtilization]{ + OutputState: o.OutputState, + } +} + // Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. func (o AutoscalingPolicyCpuUtilizationOutput) PredictiveMethod() AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput { return o.ApplyT(func(v AutoscalingPolicyCpuUtilization) *AutoscalingPolicyCpuUtilizationPredictiveMethod { @@ -5108,6 +5763,12 @@ func (o AutoscalingPolicyCpuUtilizationPtrOutput) ToAutoscalingPolicyCpuUtilizat return o } +func (o AutoscalingPolicyCpuUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilization] { + return pulumix.Output[*AutoscalingPolicyCpuUtilization]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCpuUtilizationPtrOutput) Elem() AutoscalingPolicyCpuUtilizationOutput { return o.ApplyT(func(v *AutoscalingPolicyCpuUtilization) AutoscalingPolicyCpuUtilization { if v != nil { @@ -5161,6 +5822,12 @@ func (o AutoscalingPolicyCpuUtilizationResponseOutput) ToAutoscalingPolicyCpuUti return o } +func (o AutoscalingPolicyCpuUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilizationResponse] { + return pulumix.Output[AutoscalingPolicyCpuUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. func (o AutoscalingPolicyCpuUtilizationResponseOutput) PredictiveMethod() pulumi.StringOutput { return o.ApplyT(func(v AutoscalingPolicyCpuUtilizationResponse) string { return v.PredictiveMethod }).(pulumi.StringOutput) @@ -5222,6 +5889,12 @@ func (i AutoscalingPolicyCustomMetricUtilizationArgs) ToAutoscalingPolicyCustomM return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCustomMetricUtilizationOutput) } +func (i AutoscalingPolicyCustomMetricUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilization]{ + OutputState: i.ToAutoscalingPolicyCustomMetricUtilizationOutputWithContext(ctx).OutputState, + } +} + // AutoscalingPolicyCustomMetricUtilizationArrayInput is an input type that accepts AutoscalingPolicyCustomMetricUtilizationArray and AutoscalingPolicyCustomMetricUtilizationArrayOutput values. // You can construct a concrete instance of `AutoscalingPolicyCustomMetricUtilizationArrayInput` via: // @@ -5247,6 +5920,12 @@ func (i AutoscalingPolicyCustomMetricUtilizationArray) ToAutoscalingPolicyCustom return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCustomMetricUtilizationArrayOutput) } +func (i AutoscalingPolicyCustomMetricUtilizationArray) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization]{ + OutputState: i.ToAutoscalingPolicyCustomMetricUtilizationArrayOutputWithContext(ctx).OutputState, + } +} + // Custom utilization metric policy. type AutoscalingPolicyCustomMetricUtilizationOutput struct{ *pulumi.OutputState } @@ -5262,6 +5941,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationOutput) ToAutoscalingPolicyCusto return o } +func (o AutoscalingPolicyCustomMetricUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilization]{ + OutputState: o.OutputState, + } +} + // A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value. func (o AutoscalingPolicyCustomMetricUtilizationOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v AutoscalingPolicyCustomMetricUtilization) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -5303,6 +5988,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationArrayOutput) ToAutoscalingPolicy return o } +func (o AutoscalingPolicyCustomMetricUtilizationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationArrayOutput) Index(i pulumi.IntInput) AutoscalingPolicyCustomMetricUtilizationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutoscalingPolicyCustomMetricUtilization { return vs[0].([]AutoscalingPolicyCustomMetricUtilization)[vs[1].(int)] @@ -5338,6 +6029,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationResponseOutput) ToAutoscalingPol return o } +func (o AutoscalingPolicyCustomMetricUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilizationResponse] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value. func (o AutoscalingPolicyCustomMetricUtilizationResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v AutoscalingPolicyCustomMetricUtilizationResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -5377,6 +6074,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationResponseArrayOutput) ToAutoscali return o } +func (o AutoscalingPolicyCustomMetricUtilizationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalingPolicyCustomMetricUtilizationResponse] { + return pulumix.Output[[]AutoscalingPolicyCustomMetricUtilizationResponse]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationResponseArrayOutput) Index(i pulumi.IntInput) AutoscalingPolicyCustomMetricUtilizationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutoscalingPolicyCustomMetricUtilizationResponse { return vs[0].([]AutoscalingPolicyCustomMetricUtilizationResponse)[vs[1].(int)] @@ -5418,6 +6121,12 @@ func (i AutoscalingPolicyLoadBalancingUtilizationArgs) ToAutoscalingPolicyLoadBa return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyLoadBalancingUtilizationOutput) } +func (i AutoscalingPolicyLoadBalancingUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: i.ToAutoscalingPolicyLoadBalancingUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyLoadBalancingUtilizationArgs) ToAutoscalingPolicyLoadBalancingUtilizationPtrOutput() AutoscalingPolicyLoadBalancingUtilizationPtrOutput { return i.ToAutoscalingPolicyLoadBalancingUtilizationPtrOutputWithContext(context.Background()) } @@ -5459,6 +6168,12 @@ func (i *autoscalingPolicyLoadBalancingUtilizationPtrType) ToAutoscalingPolicyLo return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyLoadBalancingUtilizationPtrOutput) } +func (i *autoscalingPolicyLoadBalancingUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: i.ToAutoscalingPolicyLoadBalancingUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration parameters of autoscaling based on load balancing. type AutoscalingPolicyLoadBalancingUtilizationOutput struct{ *pulumi.OutputState } @@ -5484,6 +6199,12 @@ func (o AutoscalingPolicyLoadBalancingUtilizationOutput) ToAutoscalingPolicyLoad }).(AutoscalingPolicyLoadBalancingUtilizationPtrOutput) } +func (o AutoscalingPolicyLoadBalancingUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: o.OutputState, + } +} + // Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8. func (o AutoscalingPolicyLoadBalancingUtilizationOutput) UtilizationTarget() pulumi.Float64PtrOutput { return o.ApplyT(func(v AutoscalingPolicyLoadBalancingUtilization) *float64 { return v.UtilizationTarget }).(pulumi.Float64PtrOutput) @@ -5503,6 +6224,12 @@ func (o AutoscalingPolicyLoadBalancingUtilizationPtrOutput) ToAutoscalingPolicyL return o } +func (o AutoscalingPolicyLoadBalancingUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyLoadBalancingUtilizationPtrOutput) Elem() AutoscalingPolicyLoadBalancingUtilizationOutput { return o.ApplyT(func(v *AutoscalingPolicyLoadBalancingUtilization) AutoscalingPolicyLoadBalancingUtilization { if v != nil { @@ -5544,6 +6271,12 @@ func (o AutoscalingPolicyLoadBalancingUtilizationResponseOutput) ToAutoscalingPo return o } +func (o AutoscalingPolicyLoadBalancingUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyLoadBalancingUtilizationResponse] { + return pulumix.Output[AutoscalingPolicyLoadBalancingUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8. func (o AutoscalingPolicyLoadBalancingUtilizationResponseOutput) UtilizationTarget() pulumi.Float64Output { return o.ApplyT(func(v AutoscalingPolicyLoadBalancingUtilizationResponse) float64 { return v.UtilizationTarget }).(pulumi.Float64Output) @@ -5586,6 +6319,12 @@ func (o AutoscalingPolicyResponseOutput) ToAutoscalingPolicyResponseOutputWithCo return o } +func (o AutoscalingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyResponse] { + return pulumix.Output[AutoscalingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process. func (o AutoscalingPolicyResponseOutput) CoolDownPeriodSec() pulumi.IntOutput { return o.ApplyT(func(v AutoscalingPolicyResponse) int { return v.CoolDownPeriodSec }).(pulumi.IntOutput) @@ -5677,6 +6416,12 @@ func (i AutoscalingPolicyScaleDownControlArgs) ToAutoscalingPolicyScaleDownContr return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyScaleDownControlOutput) } +func (i AutoscalingPolicyScaleDownControlArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleDownControl] { + return pulumix.Output[AutoscalingPolicyScaleDownControl]{ + OutputState: i.ToAutoscalingPolicyScaleDownControlOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyScaleDownControlArgs) ToAutoscalingPolicyScaleDownControlPtrOutput() AutoscalingPolicyScaleDownControlPtrOutput { return i.ToAutoscalingPolicyScaleDownControlPtrOutputWithContext(context.Background()) } @@ -5718,6 +6463,12 @@ func (i *autoscalingPolicyScaleDownControlPtrType) ToAutoscalingPolicyScaleDownC return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyScaleDownControlPtrOutput) } +func (i *autoscalingPolicyScaleDownControlPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyScaleDownControl] { + return pulumix.Output[*AutoscalingPolicyScaleDownControl]{ + OutputState: i.ToAutoscalingPolicyScaleDownControlPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below. type AutoscalingPolicyScaleDownControlOutput struct{ *pulumi.OutputState } @@ -5743,6 +6494,12 @@ func (o AutoscalingPolicyScaleDownControlOutput) ToAutoscalingPolicyScaleDownCon }).(AutoscalingPolicyScaleDownControlPtrOutput) } +func (o AutoscalingPolicyScaleDownControlOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleDownControl] { + return pulumix.Output[AutoscalingPolicyScaleDownControl]{ + OutputState: o.OutputState, + } +} + // Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. func (o AutoscalingPolicyScaleDownControlOutput) MaxScaledDownReplicas() FixedOrPercentPtrOutput { return o.ApplyT(func(v AutoscalingPolicyScaleDownControl) *FixedOrPercent { return v.MaxScaledDownReplicas }).(FixedOrPercentPtrOutput) @@ -5767,6 +6524,12 @@ func (o AutoscalingPolicyScaleDownControlPtrOutput) ToAutoscalingPolicyScaleDown return o } +func (o AutoscalingPolicyScaleDownControlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyScaleDownControl] { + return pulumix.Output[*AutoscalingPolicyScaleDownControl]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyScaleDownControlPtrOutput) Elem() AutoscalingPolicyScaleDownControlOutput { return o.ApplyT(func(v *AutoscalingPolicyScaleDownControl) AutoscalingPolicyScaleDownControl { if v != nil { @@ -5820,6 +6583,12 @@ func (o AutoscalingPolicyScaleDownControlResponseOutput) ToAutoscalingPolicyScal return o } +func (o AutoscalingPolicyScaleDownControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleDownControlResponse] { + return pulumix.Output[AutoscalingPolicyScaleDownControlResponse]{ + OutputState: o.OutputState, + } +} + // Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. func (o AutoscalingPolicyScaleDownControlResponseOutput) MaxScaledDownReplicas() FixedOrPercentResponseOutput { return o.ApplyT(func(v AutoscalingPolicyScaleDownControlResponse) FixedOrPercentResponse { @@ -5871,6 +6640,12 @@ func (i AutoscalingPolicyScaleInControlArgs) ToAutoscalingPolicyScaleInControlOu return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyScaleInControlOutput) } +func (i AutoscalingPolicyScaleInControlArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleInControl] { + return pulumix.Output[AutoscalingPolicyScaleInControl]{ + OutputState: i.ToAutoscalingPolicyScaleInControlOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyScaleInControlArgs) ToAutoscalingPolicyScaleInControlPtrOutput() AutoscalingPolicyScaleInControlPtrOutput { return i.ToAutoscalingPolicyScaleInControlPtrOutputWithContext(context.Background()) } @@ -5912,6 +6687,12 @@ func (i *autoscalingPolicyScaleInControlPtrType) ToAutoscalingPolicyScaleInContr return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyScaleInControlPtrOutput) } +func (i *autoscalingPolicyScaleInControlPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyScaleInControl] { + return pulumix.Output[*AutoscalingPolicyScaleInControl]{ + OutputState: i.ToAutoscalingPolicyScaleInControlPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below. type AutoscalingPolicyScaleInControlOutput struct{ *pulumi.OutputState } @@ -5937,6 +6718,12 @@ func (o AutoscalingPolicyScaleInControlOutput) ToAutoscalingPolicyScaleInControl }).(AutoscalingPolicyScaleInControlPtrOutput) } +func (o AutoscalingPolicyScaleInControlOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleInControl] { + return pulumix.Output[AutoscalingPolicyScaleInControl]{ + OutputState: o.OutputState, + } +} + // Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. func (o AutoscalingPolicyScaleInControlOutput) MaxScaledInReplicas() FixedOrPercentPtrOutput { return o.ApplyT(func(v AutoscalingPolicyScaleInControl) *FixedOrPercent { return v.MaxScaledInReplicas }).(FixedOrPercentPtrOutput) @@ -5961,6 +6748,12 @@ func (o AutoscalingPolicyScaleInControlPtrOutput) ToAutoscalingPolicyScaleInCont return o } +func (o AutoscalingPolicyScaleInControlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyScaleInControl] { + return pulumix.Output[*AutoscalingPolicyScaleInControl]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyScaleInControlPtrOutput) Elem() AutoscalingPolicyScaleInControlOutput { return o.ApplyT(func(v *AutoscalingPolicyScaleInControl) AutoscalingPolicyScaleInControl { if v != nil { @@ -6014,6 +6807,12 @@ func (o AutoscalingPolicyScaleInControlResponseOutput) ToAutoscalingPolicyScaleI return o } +func (o AutoscalingPolicyScaleInControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleInControlResponse] { + return pulumix.Output[AutoscalingPolicyScaleInControlResponse]{ + OutputState: o.OutputState, + } +} + // Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. func (o AutoscalingPolicyScaleInControlResponseOutput) MaxScaledInReplicas() FixedOrPercentResponseOutput { return o.ApplyT(func(v AutoscalingPolicyScaleInControlResponse) FixedOrPercentResponse { return v.MaxScaledInReplicas }).(FixedOrPercentResponseOutput) @@ -6103,6 +6902,12 @@ func (i BackendArgs) ToBackendOutputWithContext(ctx context.Context) BackendOutp return pulumi.ToOutputWithContext(ctx, i).(BackendOutput) } +func (i BackendArgs) ToOutput(ctx context.Context) pulumix.Output[Backend] { + return pulumix.Output[Backend]{ + OutputState: i.ToBackendOutputWithContext(ctx).OutputState, + } +} + // BackendArrayInput is an input type that accepts BackendArray and BackendArrayOutput values. // You can construct a concrete instance of `BackendArrayInput` via: // @@ -6128,6 +6933,12 @@ func (i BackendArray) ToBackendArrayOutputWithContext(ctx context.Context) Backe return pulumi.ToOutputWithContext(ctx, i).(BackendArrayOutput) } +func (i BackendArray) ToOutput(ctx context.Context) pulumix.Output[[]Backend] { + return pulumix.Output[[]Backend]{ + OutputState: i.ToBackendArrayOutputWithContext(ctx).OutputState, + } +} + // Message containing information of one individual backend. type BackendOutput struct{ *pulumi.OutputState } @@ -6143,6 +6954,12 @@ func (o BackendOutput) ToBackendOutputWithContext(ctx context.Context) BackendOu return o } +func (o BackendOutput) ToOutput(ctx context.Context) pulumix.Output[Backend] { + return pulumix.Output[Backend]{ + OutputState: o.OutputState, + } +} + // Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. func (o BackendOutput) BalancingMode() BackendBalancingModePtrOutput { return o.ApplyT(func(v Backend) *BackendBalancingMode { return v.BalancingMode }).(BackendBalancingModePtrOutput) @@ -6217,6 +7034,12 @@ func (o BackendArrayOutput) ToBackendArrayOutputWithContext(ctx context.Context) return o } +func (o BackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Backend] { + return pulumix.Output[[]Backend]{ + OutputState: o.OutputState, + } +} + func (o BackendArrayOutput) Index(i pulumi.IntInput) BackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Backend { return vs[0].([]Backend)[vs[1].(int)] @@ -6298,6 +7121,12 @@ func (i BackendBucketCdnPolicyArgs) ToBackendBucketCdnPolicyOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyOutput) } +func (i BackendBucketCdnPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicy] { + return pulumix.Output[BackendBucketCdnPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendBucketCdnPolicyArgs) ToBackendBucketCdnPolicyPtrOutput() BackendBucketCdnPolicyPtrOutput { return i.ToBackendBucketCdnPolicyPtrOutputWithContext(context.Background()) } @@ -6339,6 +7168,12 @@ func (i *backendBucketCdnPolicyPtrType) ToBackendBucketCdnPolicyPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyPtrOutput) } +func (i *backendBucketCdnPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicy] { + return pulumix.Output[*BackendBucketCdnPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing Cloud CDN configuration for a backend bucket. type BackendBucketCdnPolicyOutput struct{ *pulumi.OutputState } @@ -6364,6 +7199,12 @@ func (o BackendBucketCdnPolicyOutput) ToBackendBucketCdnPolicyPtrOutputWithConte }).(BackendBucketCdnPolicyPtrOutput) } +func (o BackendBucketCdnPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicy] { + return pulumix.Output[BackendBucketCdnPolicy]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendBucketCdnPolicyOutput) BypassCacheOnRequestHeaders() BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicy) []BackendBucketCdnPolicyBypassCacheOnRequestHeader { @@ -6437,6 +7278,12 @@ func (o BackendBucketCdnPolicyPtrOutput) ToBackendBucketCdnPolicyPtrOutputWithCo return o } +func (o BackendBucketCdnPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicy] { + return pulumix.Output[*BackendBucketCdnPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyPtrOutput) Elem() BackendBucketCdnPolicyOutput { return o.ApplyT(func(v *BackendBucketCdnPolicy) BackendBucketCdnPolicy { if v != nil { @@ -6592,6 +7439,12 @@ func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs) ToBackendBucketCdn return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) } +func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendBucketCdnPolicyBypassCacheOnRequestHeaderOutputWithContext(ctx).OutputState, + } +} + // BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayInput is an input type that accepts BackendBucketCdnPolicyBypassCacheOnRequestHeaderArray and BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput values. // You can construct a concrete instance of `BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayInput` via: // @@ -6617,6 +7470,12 @@ func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArray) ToBackendBucketCd return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) } +func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. type BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput struct{ *pulumi.OutputState } @@ -6632,6 +7491,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) ToBackendBucketC return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendBucketCdnPolicyBypassCacheOnRequestHeader) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -6651,6 +7516,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToBackendBu return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyBypassCacheOnRequestHeader { return vs[0].([]BackendBucketCdnPolicyBypassCacheOnRequestHeader)[vs[1].(int)] @@ -6678,6 +7549,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToBacken return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -6697,6 +7574,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) ToB return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse { return vs[0].([]BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse)[vs[1].(int)] @@ -6742,6 +7625,12 @@ func (i BackendBucketCdnPolicyCacheKeyPolicyArgs) ToBackendBucketCdnPolicyCacheK return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyCacheKeyPolicyOutput) } +func (i BackendBucketCdnPolicyCacheKeyPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyCacheKeyPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendBucketCdnPolicyCacheKeyPolicyArgs) ToBackendBucketCdnPolicyCacheKeyPolicyPtrOutput() BackendBucketCdnPolicyCacheKeyPolicyPtrOutput { return i.ToBackendBucketCdnPolicyCacheKeyPolicyPtrOutputWithContext(context.Background()) } @@ -6783,6 +7672,12 @@ func (i *backendBucketCdnPolicyCacheKeyPolicyPtrType) ToBackendBucketCdnPolicyCa return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) } +func (i *backendBucketCdnPolicyCacheKeyPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyCacheKeyPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing what to include in the cache key for a request for Cloud CDN. type BackendBucketCdnPolicyCacheKeyPolicyOutput struct{ *pulumi.OutputState } @@ -6808,6 +7703,12 @@ func (o BackendBucketCdnPolicyCacheKeyPolicyOutput) ToBackendBucketCdnPolicyCach }).(BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) } +func (o BackendBucketCdnPolicyCacheKeyPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + // Allows HTTP request headers (by name) to be used in the cache key. func (o BackendBucketCdnPolicyCacheKeyPolicyOutput) IncludeHttpHeaders() pulumi.StringArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicyCacheKeyPolicy) []string { return v.IncludeHttpHeaders }).(pulumi.StringArrayOutput) @@ -6832,6 +7733,12 @@ func (o BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) ToBackendBucketCdnPolicyC return o } +func (o BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) Elem() BackendBucketCdnPolicyCacheKeyPolicyOutput { return o.ApplyT(func(v *BackendBucketCdnPolicyCacheKeyPolicy) BackendBucketCdnPolicyCacheKeyPolicy { if v != nil { @@ -6885,6 +7792,12 @@ func (o BackendBucketCdnPolicyCacheKeyPolicyResponseOutput) ToBackendBucketCdnPo return o } +func (o BackendBucketCdnPolicyCacheKeyPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicyResponse] { + return pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Allows HTTP request headers (by name) to be used in the cache key. func (o BackendBucketCdnPolicyCacheKeyPolicyResponseOutput) IncludeHttpHeaders() pulumi.StringArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicyCacheKeyPolicyResponse) []string { return v.IncludeHttpHeaders }).(pulumi.StringArrayOutput) @@ -6934,6 +7847,12 @@ func (i BackendBucketCdnPolicyNegativeCachingPolicyArgs) ToBackendBucketCdnPolic return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyNegativeCachingPolicyOutput) } +func (i BackendBucketCdnPolicyNegativeCachingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyNegativeCachingPolicyOutputWithContext(ctx).OutputState, + } +} + // BackendBucketCdnPolicyNegativeCachingPolicyArrayInput is an input type that accepts BackendBucketCdnPolicyNegativeCachingPolicyArray and BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput values. // You can construct a concrete instance of `BackendBucketCdnPolicyNegativeCachingPolicyArrayInput` via: // @@ -6959,6 +7878,12 @@ func (i BackendBucketCdnPolicyNegativeCachingPolicyArray) ToBackendBucketCdnPoli return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) } +func (i BackendBucketCdnPolicyNegativeCachingPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyNegativeCachingPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Specify CDN TTLs for response error codes. type BackendBucketCdnPolicyNegativeCachingPolicyOutput struct{ *pulumi.OutputState } @@ -6974,6 +7899,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyOutput) ToBackendBucketCdnPol return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendBucketCdnPolicyNegativeCachingPolicyOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v BackendBucketCdnPolicyNegativeCachingPolicy) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -6998,6 +7929,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) ToBackendBucketC return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyNegativeCachingPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyNegativeCachingPolicy { return vs[0].([]BackendBucketCdnPolicyNegativeCachingPolicy)[vs[1].(int)] @@ -7027,6 +7964,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput) ToBackendBuck return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v BackendBucketCdnPolicyNegativeCachingPolicyResponse) int { return v.Code }).(pulumi.IntOutput) @@ -7051,6 +7994,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToBacken return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyNegativeCachingPolicyResponse { return vs[0].([]BackendBucketCdnPolicyNegativeCachingPolicyResponse)[vs[1].(int)] @@ -7100,6 +8049,12 @@ func (o BackendBucketCdnPolicyResponseOutput) ToBackendBucketCdnPolicyResponseOu return o } +func (o BackendBucketCdnPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyResponse] { + return pulumix.Output[BackendBucketCdnPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendBucketCdnPolicyResponseOutput) BypassCacheOnRequestHeaders() BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicyResponse) []BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse { @@ -7209,6 +8164,12 @@ func (o BackendResponseOutput) ToBackendResponseOutputWithContext(ctx context.Co return o } +func (o BackendResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendResponse] { + return pulumix.Output[BackendResponse]{ + OutputState: o.OutputState, + } +} + // Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. func (o BackendResponseOutput) BalancingMode() pulumi.StringOutput { return o.ApplyT(func(v BackendResponse) string { return v.BalancingMode }).(pulumi.StringOutput) @@ -7283,6 +8244,12 @@ func (o BackendResponseArrayOutput) ToBackendResponseArrayOutputWithContext(ctx return o } +func (o BackendResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendResponse] { + return pulumix.Output[[]BackendResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendResponseArrayOutput) Index(i pulumi.IntInput) BackendResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendResponse { return vs[0].([]BackendResponse)[vs[1].(int)] @@ -7364,6 +8331,12 @@ func (i BackendServiceCdnPolicyArgs) ToBackendServiceCdnPolicyOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyOutput) } +func (i BackendServiceCdnPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicy] { + return pulumix.Output[BackendServiceCdnPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceCdnPolicyArgs) ToBackendServiceCdnPolicyPtrOutput() BackendServiceCdnPolicyPtrOutput { return i.ToBackendServiceCdnPolicyPtrOutputWithContext(context.Background()) } @@ -7405,6 +8378,12 @@ func (i *backendServiceCdnPolicyPtrType) ToBackendServiceCdnPolicyPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyPtrOutput) } +func (i *backendServiceCdnPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicy] { + return pulumix.Output[*BackendServiceCdnPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing Cloud CDN configuration for a backend service. type BackendServiceCdnPolicyOutput struct{ *pulumi.OutputState } @@ -7430,6 +8409,12 @@ func (o BackendServiceCdnPolicyOutput) ToBackendServiceCdnPolicyPtrOutputWithCon }).(BackendServiceCdnPolicyPtrOutput) } +func (o BackendServiceCdnPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicy] { + return pulumix.Output[BackendServiceCdnPolicy]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendServiceCdnPolicyOutput) BypassCacheOnRequestHeaders() BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput { return o.ApplyT(func(v BackendServiceCdnPolicy) []BackendServiceCdnPolicyBypassCacheOnRequestHeader { @@ -7503,6 +8488,12 @@ func (o BackendServiceCdnPolicyPtrOutput) ToBackendServiceCdnPolicyPtrOutputWith return o } +func (o BackendServiceCdnPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicy] { + return pulumix.Output[*BackendServiceCdnPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyPtrOutput) Elem() BackendServiceCdnPolicyOutput { return o.ApplyT(func(v *BackendServiceCdnPolicy) BackendServiceCdnPolicy { if v != nil { @@ -7658,6 +8649,12 @@ func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs) ToBackendServiceC return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) } +func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendServiceCdnPolicyBypassCacheOnRequestHeaderOutputWithContext(ctx).OutputState, + } +} + // BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayInput is an input type that accepts BackendServiceCdnPolicyBypassCacheOnRequestHeaderArray and BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput values. // You can construct a concrete instance of `BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayInput` via: // @@ -7683,6 +8680,12 @@ func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArray) ToBackendService return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) } +func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. type BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput struct{ *pulumi.OutputState } @@ -7698,6 +8701,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) ToBackendServic return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendServiceCdnPolicyBypassCacheOnRequestHeader) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -7717,6 +8726,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToBackendS return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyBypassCacheOnRequestHeader { return vs[0].([]BackendServiceCdnPolicyBypassCacheOnRequestHeader)[vs[1].(int)] @@ -7744,6 +8759,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToBacke return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -7763,6 +8784,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) To return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse { return vs[0].([]BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse)[vs[1].(int)] @@ -7808,6 +8835,12 @@ func (i BackendServiceCdnPolicyNegativeCachingPolicyArgs) ToBackendServiceCdnPol return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyNegativeCachingPolicyOutput) } +func (i BackendServiceCdnPolicyNegativeCachingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyNegativeCachingPolicyOutputWithContext(ctx).OutputState, + } +} + // BackendServiceCdnPolicyNegativeCachingPolicyArrayInput is an input type that accepts BackendServiceCdnPolicyNegativeCachingPolicyArray and BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput values. // You can construct a concrete instance of `BackendServiceCdnPolicyNegativeCachingPolicyArrayInput` via: // @@ -7833,6 +8866,12 @@ func (i BackendServiceCdnPolicyNegativeCachingPolicyArray) ToBackendServiceCdnPo return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) } +func (i BackendServiceCdnPolicyNegativeCachingPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyNegativeCachingPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Specify CDN TTLs for response error codes. type BackendServiceCdnPolicyNegativeCachingPolicyOutput struct{ *pulumi.OutputState } @@ -7848,6 +8887,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyOutput) ToBackendServiceCdnP return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendServiceCdnPolicyNegativeCachingPolicyOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v BackendServiceCdnPolicyNegativeCachingPolicy) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -7872,6 +8917,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) ToBackendServic return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyNegativeCachingPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyNegativeCachingPolicy { return vs[0].([]BackendServiceCdnPolicyNegativeCachingPolicy)[vs[1].(int)] @@ -7901,6 +8952,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput) ToBackendSer return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v BackendServiceCdnPolicyNegativeCachingPolicyResponse) int { return v.Code }).(pulumi.IntOutput) @@ -7925,6 +8982,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToBacke return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyNegativeCachingPolicyResponse { return vs[0].([]BackendServiceCdnPolicyNegativeCachingPolicyResponse)[vs[1].(int)] @@ -7974,6 +9037,12 @@ func (o BackendServiceCdnPolicyResponseOutput) ToBackendServiceCdnPolicyResponse return o } +func (o BackendServiceCdnPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyResponse] { + return pulumix.Output[BackendServiceCdnPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendServiceCdnPolicyResponseOutput) BypassCacheOnRequestHeaders() BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput { return o.ApplyT(func(v BackendServiceCdnPolicyResponse) []BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse { @@ -8085,6 +9154,12 @@ func (i BackendServiceConnectionTrackingPolicyArgs) ToBackendServiceConnectionTr return pulumi.ToOutputWithContext(ctx, i).(BackendServiceConnectionTrackingPolicyOutput) } +func (i BackendServiceConnectionTrackingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[BackendServiceConnectionTrackingPolicy]{ + OutputState: i.ToBackendServiceConnectionTrackingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceConnectionTrackingPolicyArgs) ToBackendServiceConnectionTrackingPolicyPtrOutput() BackendServiceConnectionTrackingPolicyPtrOutput { return i.ToBackendServiceConnectionTrackingPolicyPtrOutputWithContext(context.Background()) } @@ -8126,6 +9201,12 @@ func (i *backendServiceConnectionTrackingPolicyPtrType) ToBackendServiceConnecti return pulumi.ToOutputWithContext(ctx, i).(BackendServiceConnectionTrackingPolicyPtrOutput) } +func (i *backendServiceConnectionTrackingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicy]{ + OutputState: i.ToBackendServiceConnectionTrackingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Connection Tracking configuration for this BackendService. type BackendServiceConnectionTrackingPolicyOutput struct{ *pulumi.OutputState } @@ -8151,6 +9232,12 @@ func (o BackendServiceConnectionTrackingPolicyOutput) ToBackendServiceConnection }).(BackendServiceConnectionTrackingPolicyPtrOutput) } +func (o BackendServiceConnectionTrackingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[BackendServiceConnectionTrackingPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence). func (o BackendServiceConnectionTrackingPolicyOutput) ConnectionPersistenceOnUnhealthyBackends() BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput { return o.ApplyT(func(v BackendServiceConnectionTrackingPolicy) *BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends { @@ -8189,6 +9276,12 @@ func (o BackendServiceConnectionTrackingPolicyPtrOutput) ToBackendServiceConnect return o } +func (o BackendServiceConnectionTrackingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyPtrOutput) Elem() BackendServiceConnectionTrackingPolicyOutput { return o.ApplyT(func(v *BackendServiceConnectionTrackingPolicy) BackendServiceConnectionTrackingPolicy { if v != nil { @@ -8266,6 +9359,12 @@ func (o BackendServiceConnectionTrackingPolicyResponseOutput) ToBackendServiceCo return o } +func (o BackendServiceConnectionTrackingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicyResponse] { + return pulumix.Output[BackendServiceConnectionTrackingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence). func (o BackendServiceConnectionTrackingPolicyResponseOutput) ConnectionPersistenceOnUnhealthyBackends() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceConnectionTrackingPolicyResponse) string { @@ -8331,6 +9430,12 @@ func (i BackendServiceFailoverPolicyArgs) ToBackendServiceFailoverPolicyOutputWi return pulumi.ToOutputWithContext(ctx, i).(BackendServiceFailoverPolicyOutput) } +func (i BackendServiceFailoverPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceFailoverPolicy] { + return pulumix.Output[BackendServiceFailoverPolicy]{ + OutputState: i.ToBackendServiceFailoverPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceFailoverPolicyArgs) ToBackendServiceFailoverPolicyPtrOutput() BackendServiceFailoverPolicyPtrOutput { return i.ToBackendServiceFailoverPolicyPtrOutputWithContext(context.Background()) } @@ -8372,6 +9477,12 @@ func (i *backendServiceFailoverPolicyPtrType) ToBackendServiceFailoverPolicyPtrO return pulumi.ToOutputWithContext(ctx, i).(BackendServiceFailoverPolicyPtrOutput) } +func (i *backendServiceFailoverPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceFailoverPolicy] { + return pulumix.Output[*BackendServiceFailoverPolicy]{ + OutputState: i.ToBackendServiceFailoverPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes). type BackendServiceFailoverPolicyOutput struct{ *pulumi.OutputState } @@ -8397,6 +9508,12 @@ func (o BackendServiceFailoverPolicyOutput) ToBackendServiceFailoverPolicyPtrOut }).(BackendServiceFailoverPolicyPtrOutput) } +func (o BackendServiceFailoverPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceFailoverPolicy] { + return pulumix.Output[BackendServiceFailoverPolicy]{ + OutputState: o.OutputState, + } +} + // This can be set to true only if the protocol is TCP. The default is false. func (o BackendServiceFailoverPolicyOutput) DisableConnectionDrainOnFailover() pulumi.BoolPtrOutput { return o.ApplyT(func(v BackendServiceFailoverPolicy) *bool { return v.DisableConnectionDrainOnFailover }).(pulumi.BoolPtrOutput) @@ -8426,6 +9543,12 @@ func (o BackendServiceFailoverPolicyPtrOutput) ToBackendServiceFailoverPolicyPtr return o } +func (o BackendServiceFailoverPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceFailoverPolicy] { + return pulumix.Output[*BackendServiceFailoverPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceFailoverPolicyPtrOutput) Elem() BackendServiceFailoverPolicyOutput { return o.ApplyT(func(v *BackendServiceFailoverPolicy) BackendServiceFailoverPolicy { if v != nil { @@ -8491,6 +9614,12 @@ func (o BackendServiceFailoverPolicyResponseOutput) ToBackendServiceFailoverPoli return o } +func (o BackendServiceFailoverPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceFailoverPolicyResponse] { + return pulumix.Output[BackendServiceFailoverPolicyResponse]{ + OutputState: o.OutputState, + } +} + // This can be set to true only if the protocol is TCP. The default is false. func (o BackendServiceFailoverPolicyResponseOutput) DisableConnectionDrainOnFailover() pulumi.BoolOutput { return o.ApplyT(func(v BackendServiceFailoverPolicyResponse) bool { return v.DisableConnectionDrainOnFailover }).(pulumi.BoolOutput) @@ -8553,6 +9682,12 @@ func (i BackendServiceIAPArgs) ToBackendServiceIAPOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIAPOutput) } +func (i BackendServiceIAPArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAP] { + return pulumix.Output[BackendServiceIAP]{ + OutputState: i.ToBackendServiceIAPOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceIAPArgs) ToBackendServiceIAPPtrOutput() BackendServiceIAPPtrOutput { return i.ToBackendServiceIAPPtrOutputWithContext(context.Background()) } @@ -8594,6 +9729,12 @@ func (i *backendServiceIAPPtrType) ToBackendServiceIAPPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIAPPtrOutput) } +func (i *backendServiceIAPPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIAP] { + return pulumix.Output[*BackendServiceIAP]{ + OutputState: i.ToBackendServiceIAPPtrOutputWithContext(ctx).OutputState, + } +} + // Identity-Aware Proxy type BackendServiceIAPOutput struct{ *pulumi.OutputState } @@ -8619,6 +9760,12 @@ func (o BackendServiceIAPOutput) ToBackendServiceIAPPtrOutputWithContext(ctx con }).(BackendServiceIAPPtrOutput) } +func (o BackendServiceIAPOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAP] { + return pulumix.Output[BackendServiceIAP]{ + OutputState: o.OutputState, + } +} + // Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. func (o BackendServiceIAPOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BackendServiceIAP) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -8653,6 +9800,12 @@ func (o BackendServiceIAPPtrOutput) ToBackendServiceIAPPtrOutputWithContext(ctx return o } +func (o BackendServiceIAPPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIAP] { + return pulumix.Output[*BackendServiceIAP]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceIAPPtrOutput) Elem() BackendServiceIAPOutput { return o.ApplyT(func(v *BackendServiceIAP) BackendServiceIAP { if v != nil { @@ -8744,6 +9897,12 @@ func (i BackendServiceIAPOAuth2ClientInfoArgs) ToBackendServiceIAPOAuth2ClientIn return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIAPOAuth2ClientInfoOutput) } +func (i BackendServiceIAPOAuth2ClientInfoArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAPOAuth2ClientInfo] { + return pulumix.Output[BackendServiceIAPOAuth2ClientInfo]{ + OutputState: i.ToBackendServiceIAPOAuth2ClientInfoOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceIAPOAuth2ClientInfoArgs) ToBackendServiceIAPOAuth2ClientInfoPtrOutput() BackendServiceIAPOAuth2ClientInfoPtrOutput { return i.ToBackendServiceIAPOAuth2ClientInfoPtrOutputWithContext(context.Background()) } @@ -8785,6 +9944,12 @@ func (i *backendServiceIAPOAuth2ClientInfoPtrType) ToBackendServiceIAPOAuth2Clie return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIAPOAuth2ClientInfoPtrOutput) } +func (i *backendServiceIAPOAuth2ClientInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIAPOAuth2ClientInfo] { + return pulumix.Output[*BackendServiceIAPOAuth2ClientInfo]{ + OutputState: i.ToBackendServiceIAPOAuth2ClientInfoPtrOutputWithContext(ctx).OutputState, + } +} + type BackendServiceIAPOAuth2ClientInfoOutput struct{ *pulumi.OutputState } func (BackendServiceIAPOAuth2ClientInfoOutput) ElementType() reflect.Type { @@ -8809,6 +9974,12 @@ func (o BackendServiceIAPOAuth2ClientInfoOutput) ToBackendServiceIAPOAuth2Client }).(BackendServiceIAPOAuth2ClientInfoPtrOutput) } +func (o BackendServiceIAPOAuth2ClientInfoOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAPOAuth2ClientInfo] { + return pulumix.Output[BackendServiceIAPOAuth2ClientInfo]{ + OutputState: o.OutputState, + } +} + // Application name to be used in OAuth consent screen. func (o BackendServiceIAPOAuth2ClientInfoOutput) ApplicationName() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendServiceIAPOAuth2ClientInfo) *string { return v.ApplicationName }).(pulumi.StringPtrOutput) @@ -8838,6 +10009,12 @@ func (o BackendServiceIAPOAuth2ClientInfoPtrOutput) ToBackendServiceIAPOAuth2Cli return o } +func (o BackendServiceIAPOAuth2ClientInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIAPOAuth2ClientInfo] { + return pulumix.Output[*BackendServiceIAPOAuth2ClientInfo]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceIAPOAuth2ClientInfoPtrOutput) Elem() BackendServiceIAPOAuth2ClientInfoOutput { return o.ApplyT(func(v *BackendServiceIAPOAuth2ClientInfo) BackendServiceIAPOAuth2ClientInfo { if v != nil { @@ -8901,6 +10078,12 @@ func (o BackendServiceIAPOAuth2ClientInfoResponseOutput) ToBackendServiceIAPOAut return o } +func (o BackendServiceIAPOAuth2ClientInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAPOAuth2ClientInfoResponse] { + return pulumix.Output[BackendServiceIAPOAuth2ClientInfoResponse]{ + OutputState: o.OutputState, + } +} + // Application name to be used in OAuth consent screen. func (o BackendServiceIAPOAuth2ClientInfoResponseOutput) ApplicationName() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceIAPOAuth2ClientInfoResponse) string { return v.ApplicationName }).(pulumi.StringOutput) @@ -8945,6 +10128,12 @@ func (o BackendServiceIAPResponseOutput) ToBackendServiceIAPResponseOutputWithCo return o } +func (o BackendServiceIAPResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAPResponse] { + return pulumix.Output[BackendServiceIAPResponse]{ + OutputState: o.OutputState, + } +} + // Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. func (o BackendServiceIAPResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BackendServiceIAPResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -9005,6 +10194,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigArgs) ToBackendServiceLoc return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigOutputWithContext(ctx).OutputState, + } +} + // BackendServiceLocalityLoadBalancingPolicyConfigArrayInput is an input type that accepts BackendServiceLocalityLoadBalancingPolicyConfigArray and BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput values. // You can construct a concrete instance of `BackendServiceLocalityLoadBalancingPolicyConfigArrayInput` via: // @@ -9030,6 +10225,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigArray) ToBackendServiceLo return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user. type BackendServiceLocalityLoadBalancingPolicyConfigOutput struct{ *pulumi.OutputState } @@ -9045,6 +10246,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigOutput) ToBackendServiceL return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigOutput) CustomPolicy() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfig) *BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { return v.CustomPolicy @@ -9071,6 +10278,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) ToBackendSer return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) Index(i pulumi.IntInput) BackendServiceLocalityLoadBalancingPolicyConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceLocalityLoadBalancingPolicyConfig { return vs[0].([]BackendServiceLocalityLoadBalancingPolicyConfig)[vs[1].(int)] @@ -9116,6 +10329,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyArgs) ToBacke return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyArgs) ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput { return i.ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutputWithContext(context.Background()) } @@ -9157,6 +10376,12 @@ func (i *backendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrType) ToB return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) } +func (i *backendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for a custom policy implemented by the user and deployed with the client. type BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput struct{ *pulumi.OutputState } @@ -9182,6 +10407,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) ToBac }).(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) } +func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: o.OutputState, + } +} + // An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) Data() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) *string { return v.Data }).(pulumi.StringPtrOutput) @@ -9206,6 +10437,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) To return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) Elem() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput { return o.ApplyT(func(v *BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { if v != nil { @@ -9259,6 +10496,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutpu return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse]{ + OutputState: o.OutputState, + } +} + // An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutput) Data() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse) string { return v.Data }).(pulumi.StringOutput) @@ -9304,6 +10547,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigPolicyArgs) ToBackendServ return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceLocalityLoadBalancingPolicyConfigPolicyArgs) ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput() BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput { return i.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutputWithContext(context.Background()) } @@ -9345,6 +10594,12 @@ func (i *backendServiceLocalityLoadBalancingPolicyConfigPolicyPtrType) ToBackend return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) } +func (i *backendServiceLocalityLoadBalancingPolicyConfigPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for a built-in load balancing policy. type BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput struct{ *pulumi.OutputState } @@ -9370,6 +10625,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) ToBackendSe }).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: o.OutputState, + } +} + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) Name() BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigPolicy) *BackendServiceLocalityLoadBalancingPolicyConfigPolicyName { @@ -9391,6 +10652,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) ToBacken return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) Elem() BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput { return o.ApplyT(func(v *BackendServiceLocalityLoadBalancingPolicyConfigPolicy) BackendServiceLocalityLoadBalancingPolicyConfigPolicy { if v != nil { @@ -9432,6 +10699,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponseOutput) ToB return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse) string { return v.Name }).(pulumi.StringOutput) @@ -9458,6 +10731,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput) ToBackend return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigResponse] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput) CustomPolicy() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigResponse) BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse { return v.CustomPolicy @@ -9484,6 +10763,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseArrayOutput) ToBa return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfigResponse] { + return pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseArrayOutput) Index(i pulumi.IntInput) BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceLocalityLoadBalancingPolicyConfigResponse { return vs[0].([]BackendServiceLocalityLoadBalancingPolicyConfigResponse)[vs[1].(int)] @@ -9545,6 +10830,12 @@ func (i BackendServiceLogConfigArgs) ToBackendServiceLogConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLogConfigOutput) } +func (i BackendServiceLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfig] { + return pulumix.Output[BackendServiceLogConfig]{ + OutputState: i.ToBackendServiceLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceLogConfigArgs) ToBackendServiceLogConfigPtrOutput() BackendServiceLogConfigPtrOutput { return i.ToBackendServiceLogConfigPtrOutputWithContext(context.Background()) } @@ -9586,6 +10877,12 @@ func (i *backendServiceLogConfigPtrType) ToBackendServiceLogConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLogConfigPtrOutput) } +func (i *backendServiceLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfig] { + return pulumix.Output[*BackendServiceLogConfig]{ + OutputState: i.ToBackendServiceLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The available logging options for the load balancer traffic served by this backend service. type BackendServiceLogConfigOutput struct{ *pulumi.OutputState } @@ -9611,6 +10908,12 @@ func (o BackendServiceLogConfigOutput) ToBackendServiceLogConfigPtrOutputWithCon }).(BackendServiceLogConfigPtrOutput) } +func (o BackendServiceLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfig] { + return pulumix.Output[BackendServiceLogConfig]{ + OutputState: o.OutputState, + } +} + // Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. func (o BackendServiceLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v BackendServiceLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -9652,6 +10955,12 @@ func (o BackendServiceLogConfigPtrOutput) ToBackendServiceLogConfigPtrOutputWith return o } +func (o BackendServiceLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfig] { + return pulumix.Output[*BackendServiceLogConfig]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigPtrOutput) Elem() BackendServiceLogConfigOutput { return o.ApplyT(func(v *BackendServiceLogConfig) BackendServiceLogConfig { if v != nil { @@ -9745,6 +11054,12 @@ func (o BackendServiceLogConfigResponseOutput) ToBackendServiceLogConfigResponse return o } +func (o BackendServiceLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfigResponse] { + return pulumix.Output[BackendServiceLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. func (o BackendServiceLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v BackendServiceLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -9819,6 +11134,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -9844,6 +11165,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -9859,6 +11186,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o BindingOutput) BindingId() pulumi.StringPtrOutput { return o.ApplyT(func(v Binding) *string { return v.BindingId }).(pulumi.StringPtrOutput) @@ -9893,6 +11226,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -9926,6 +11265,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o BindingResponseOutput) BindingId() pulumi.StringOutput { return o.ApplyT(func(v BindingResponse) string { return v.BindingId }).(pulumi.StringOutput) @@ -9960,6 +11305,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -10025,6 +11376,12 @@ func (i BulkInsertInstanceResourceArgs) ToBulkInsertInstanceResourceOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(BulkInsertInstanceResourceOutput) } +func (i BulkInsertInstanceResourceArgs) ToOutput(ctx context.Context) pulumix.Output[BulkInsertInstanceResource] { + return pulumix.Output[BulkInsertInstanceResource]{ + OutputState: i.ToBulkInsertInstanceResourceOutputWithContext(ctx).OutputState, + } +} + func (i BulkInsertInstanceResourceArgs) ToBulkInsertInstanceResourcePtrOutput() BulkInsertInstanceResourcePtrOutput { return i.ToBulkInsertInstanceResourcePtrOutputWithContext(context.Background()) } @@ -10066,6 +11423,12 @@ func (i *bulkInsertInstanceResourcePtrType) ToBulkInsertInstanceResourcePtrOutpu return pulumi.ToOutputWithContext(ctx, i).(BulkInsertInstanceResourcePtrOutput) } +func (i *bulkInsertInstanceResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*BulkInsertInstanceResource] { + return pulumix.Output[*BulkInsertInstanceResource]{ + OutputState: i.ToBulkInsertInstanceResourcePtrOutputWithContext(ctx).OutputState, + } +} + // A transient resource used in compute.instances.bulkInsert and compute.regionInstances.bulkInsert . This resource is not persisted anywhere, it is used only for processing the requests. type BulkInsertInstanceResourceOutput struct{ *pulumi.OutputState } @@ -10091,6 +11454,12 @@ func (o BulkInsertInstanceResourceOutput) ToBulkInsertInstanceResourcePtrOutputW }).(BulkInsertInstanceResourcePtrOutput) } +func (o BulkInsertInstanceResourceOutput) ToOutput(ctx context.Context) pulumix.Output[BulkInsertInstanceResource] { + return pulumix.Output[BulkInsertInstanceResource]{ + OutputState: o.OutputState, + } +} + // The maximum number of instances to create. func (o BulkInsertInstanceResourceOutput) Count() pulumi.StringPtrOutput { return o.ApplyT(func(v BulkInsertInstanceResource) *string { return v.Count }).(pulumi.StringPtrOutput) @@ -10140,6 +11509,12 @@ func (o BulkInsertInstanceResourcePtrOutput) ToBulkInsertInstanceResourcePtrOutp return o } +func (o BulkInsertInstanceResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BulkInsertInstanceResource] { + return pulumix.Output[*BulkInsertInstanceResource]{ + OutputState: o.OutputState, + } +} + func (o BulkInsertInstanceResourcePtrOutput) Elem() BulkInsertInstanceResourceOutput { return o.ApplyT(func(v *BulkInsertInstanceResource) BulkInsertInstanceResource { if v != nil { @@ -10253,6 +11628,12 @@ func (o BulkInsertInstanceResourceResponseOutput) ToBulkInsertInstanceResourceRe return o } +func (o BulkInsertInstanceResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BulkInsertInstanceResourceResponse] { + return pulumix.Output[BulkInsertInstanceResourceResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of instances to create. func (o BulkInsertInstanceResourceResponseOutput) Count() pulumi.StringOutput { return o.ApplyT(func(v BulkInsertInstanceResourceResponse) string { return v.Count }).(pulumi.StringOutput) @@ -10347,6 +11728,12 @@ func (i CacheKeyPolicyArgs) ToCacheKeyPolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CacheKeyPolicyOutput) } +func (i CacheKeyPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[CacheKeyPolicy] { + return pulumix.Output[CacheKeyPolicy]{ + OutputState: i.ToCacheKeyPolicyOutputWithContext(ctx).OutputState, + } +} + func (i CacheKeyPolicyArgs) ToCacheKeyPolicyPtrOutput() CacheKeyPolicyPtrOutput { return i.ToCacheKeyPolicyPtrOutputWithContext(context.Background()) } @@ -10388,6 +11775,12 @@ func (i *cacheKeyPolicyPtrType) ToCacheKeyPolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CacheKeyPolicyPtrOutput) } +func (i *cacheKeyPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CacheKeyPolicy] { + return pulumix.Output[*CacheKeyPolicy]{ + OutputState: i.ToCacheKeyPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing what to include in the cache key for a request for Cloud CDN. type CacheKeyPolicyOutput struct{ *pulumi.OutputState } @@ -10413,6 +11806,12 @@ func (o CacheKeyPolicyOutput) ToCacheKeyPolicyPtrOutputWithContext(ctx context.C }).(CacheKeyPolicyPtrOutput) } +func (o CacheKeyPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[CacheKeyPolicy] { + return pulumix.Output[CacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + // If true, requests to different hosts will be cached separately. func (o CacheKeyPolicyOutput) IncludeHost() pulumi.BoolPtrOutput { return o.ApplyT(func(v CacheKeyPolicy) *bool { return v.IncludeHost }).(pulumi.BoolPtrOutput) @@ -10462,6 +11861,12 @@ func (o CacheKeyPolicyPtrOutput) ToCacheKeyPolicyPtrOutputWithContext(ctx contex return o } +func (o CacheKeyPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CacheKeyPolicy] { + return pulumix.Output[*CacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + func (o CacheKeyPolicyPtrOutput) Elem() CacheKeyPolicyOutput { return o.ApplyT(func(v *CacheKeyPolicy) CacheKeyPolicy { if v != nil { @@ -10575,6 +11980,12 @@ func (o CacheKeyPolicyResponseOutput) ToCacheKeyPolicyResponseOutputWithContext( return o } +func (o CacheKeyPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CacheKeyPolicyResponse] { + return pulumix.Output[CacheKeyPolicyResponse]{ + OutputState: o.OutputState, + } +} + // If true, requests to different hosts will be cached separately. func (o CacheKeyPolicyResponseOutput) IncludeHost() pulumi.BoolOutput { return o.ApplyT(func(v CacheKeyPolicyResponse) bool { return v.IncludeHost }).(pulumi.BoolOutput) @@ -10649,6 +12060,12 @@ func (i CallCredentialsArgs) ToCallCredentialsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CallCredentialsOutput) } +func (i CallCredentialsArgs) ToOutput(ctx context.Context) pulumix.Output[CallCredentials] { + return pulumix.Output[CallCredentials]{ + OutputState: i.ToCallCredentialsOutputWithContext(ctx).OutputState, + } +} + func (i CallCredentialsArgs) ToCallCredentialsPtrOutput() CallCredentialsPtrOutput { return i.ToCallCredentialsPtrOutputWithContext(context.Background()) } @@ -10690,6 +12107,12 @@ func (i *callCredentialsPtrType) ToCallCredentialsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CallCredentialsPtrOutput) } +func (i *callCredentialsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CallCredentials] { + return pulumix.Output[*CallCredentials]{ + OutputState: i.ToCallCredentialsPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] gRPC call credentials to access the SDS server. gRPC call credentials to access the SDS server. type CallCredentialsOutput struct{ *pulumi.OutputState } @@ -10715,6 +12138,12 @@ func (o CallCredentialsOutput) ToCallCredentialsPtrOutputWithContext(ctx context }).(CallCredentialsPtrOutput) } +func (o CallCredentialsOutput) ToOutput(ctx context.Context) pulumix.Output[CallCredentials] { + return pulumix.Output[CallCredentials]{ + OutputState: o.OutputState, + } +} + // The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: - GCE_VM: The local GCE VM service account credentials are used to access the SDS server. - FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server. func (o CallCredentialsOutput) CallCredentialType() CallCredentialsCallCredentialTypePtrOutput { return o.ApplyT(func(v CallCredentials) *CallCredentialsCallCredentialType { return v.CallCredentialType }).(CallCredentialsCallCredentialTypePtrOutput) @@ -10739,6 +12168,12 @@ func (o CallCredentialsPtrOutput) ToCallCredentialsPtrOutputWithContext(ctx cont return o } +func (o CallCredentialsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CallCredentials] { + return pulumix.Output[*CallCredentials]{ + OutputState: o.OutputState, + } +} + func (o CallCredentialsPtrOutput) Elem() CallCredentialsOutput { return o.ApplyT(func(v *CallCredentials) CallCredentials { if v != nil { @@ -10792,6 +12227,12 @@ func (o CallCredentialsResponseOutput) ToCallCredentialsResponseOutputWithContex return o } +func (o CallCredentialsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CallCredentialsResponse] { + return pulumix.Output[CallCredentialsResponse]{ + OutputState: o.OutputState, + } +} + // The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: - GCE_VM: The local GCE VM service account credentials are used to access the SDS server. - FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server. func (o CallCredentialsResponseOutput) CallCredentialType() pulumi.StringOutput { return o.ApplyT(func(v CallCredentialsResponse) string { return v.CallCredentialType }).(pulumi.StringOutput) @@ -10841,6 +12282,12 @@ func (i ChannelCredentialsArgs) ToChannelCredentialsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ChannelCredentialsOutput) } +func (i ChannelCredentialsArgs) ToOutput(ctx context.Context) pulumix.Output[ChannelCredentials] { + return pulumix.Output[ChannelCredentials]{ + OutputState: i.ToChannelCredentialsOutputWithContext(ctx).OutputState, + } +} + func (i ChannelCredentialsArgs) ToChannelCredentialsPtrOutput() ChannelCredentialsPtrOutput { return i.ToChannelCredentialsPtrOutputWithContext(context.Background()) } @@ -10882,6 +12329,12 @@ func (i *channelCredentialsPtrType) ToChannelCredentialsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ChannelCredentialsPtrOutput) } +func (i *channelCredentialsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ChannelCredentials] { + return pulumix.Output[*ChannelCredentials]{ + OutputState: i.ToChannelCredentialsPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] gRPC channel credentials to access the SDS server. gRPC channel credentials to access the SDS server. type ChannelCredentialsOutput struct{ *pulumi.OutputState } @@ -10907,6 +12360,12 @@ func (o ChannelCredentialsOutput) ToChannelCredentialsPtrOutputWithContext(ctx c }).(ChannelCredentialsPtrOutput) } +func (o ChannelCredentialsOutput) ToOutput(ctx context.Context) pulumix.Output[ChannelCredentials] { + return pulumix.Output[ChannelCredentials]{ + OutputState: o.OutputState, + } +} + // The call credentials to access the SDS server. func (o ChannelCredentialsOutput) Certificates() TlsCertificatePathsPtrOutput { return o.ApplyT(func(v ChannelCredentials) *TlsCertificatePaths { return v.Certificates }).(TlsCertificatePathsPtrOutput) @@ -10931,6 +12390,12 @@ func (o ChannelCredentialsPtrOutput) ToChannelCredentialsPtrOutputWithContext(ct return o } +func (o ChannelCredentialsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelCredentials] { + return pulumix.Output[*ChannelCredentials]{ + OutputState: o.OutputState, + } +} + func (o ChannelCredentialsPtrOutput) Elem() ChannelCredentialsOutput { return o.ApplyT(func(v *ChannelCredentials) ChannelCredentials { if v != nil { @@ -10984,6 +12449,12 @@ func (o ChannelCredentialsResponseOutput) ToChannelCredentialsResponseOutputWith return o } +func (o ChannelCredentialsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ChannelCredentialsResponse] { + return pulumix.Output[ChannelCredentialsResponse]{ + OutputState: o.OutputState, + } +} + // The call credentials to access the SDS server. func (o ChannelCredentialsResponseOutput) Certificates() TlsCertificatePathsResponseOutput { return o.ApplyT(func(v ChannelCredentialsResponse) TlsCertificatePathsResponse { return v.Certificates }).(TlsCertificatePathsResponseOutput) @@ -11049,6 +12520,12 @@ func (i CircuitBreakersArgs) ToCircuitBreakersOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CircuitBreakersOutput) } +func (i CircuitBreakersArgs) ToOutput(ctx context.Context) pulumix.Output[CircuitBreakers] { + return pulumix.Output[CircuitBreakers]{ + OutputState: i.ToCircuitBreakersOutputWithContext(ctx).OutputState, + } +} + func (i CircuitBreakersArgs) ToCircuitBreakersPtrOutput() CircuitBreakersPtrOutput { return i.ToCircuitBreakersPtrOutputWithContext(context.Background()) } @@ -11090,6 +12567,12 @@ func (i *circuitBreakersPtrType) ToCircuitBreakersPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CircuitBreakersPtrOutput) } +func (i *circuitBreakersPtrType) ToOutput(ctx context.Context) pulumix.Output[*CircuitBreakers] { + return pulumix.Output[*CircuitBreakers]{ + OutputState: i.ToCircuitBreakersPtrOutputWithContext(ctx).OutputState, + } +} + // Settings controlling the volume of requests, connections and retries to this backend service. type CircuitBreakersOutput struct{ *pulumi.OutputState } @@ -11115,6 +12598,12 @@ func (o CircuitBreakersOutput) ToCircuitBreakersPtrOutputWithContext(ctx context }).(CircuitBreakersPtrOutput) } +func (o CircuitBreakersOutput) ToOutput(ctx context.Context) pulumix.Output[CircuitBreakers] { + return pulumix.Output[CircuitBreakers]{ + OutputState: o.OutputState, + } +} + // The timeout for new network connections to hosts. func (o CircuitBreakersOutput) ConnectTimeout() DurationPtrOutput { return o.ApplyT(func(v CircuitBreakers) *Duration { return v.ConnectTimeout }).(DurationPtrOutput) @@ -11159,6 +12648,12 @@ func (o CircuitBreakersPtrOutput) ToCircuitBreakersPtrOutputWithContext(ctx cont return o } +func (o CircuitBreakersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CircuitBreakers] { + return pulumix.Output[*CircuitBreakers]{ + OutputState: o.OutputState, + } +} + func (o CircuitBreakersPtrOutput) Elem() CircuitBreakersOutput { return o.ApplyT(func(v *CircuitBreakers) CircuitBreakers { if v != nil { @@ -11260,6 +12755,12 @@ func (o CircuitBreakersResponseOutput) ToCircuitBreakersResponseOutputWithContex return o } +func (o CircuitBreakersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CircuitBreakersResponse] { + return pulumix.Output[CircuitBreakersResponse]{ + OutputState: o.OutputState, + } +} + // The timeout for new network connections to hosts. func (o CircuitBreakersResponseOutput) ConnectTimeout() DurationResponseOutput { return o.ApplyT(func(v CircuitBreakersResponse) DurationResponse { return v.ConnectTimeout }).(DurationResponseOutput) @@ -11337,6 +12838,12 @@ func (i ClientTlsSettingsArgs) ToClientTlsSettingsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ClientTlsSettingsOutput) } +func (i ClientTlsSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ClientTlsSettings] { + return pulumix.Output[ClientTlsSettings]{ + OutputState: i.ToClientTlsSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ClientTlsSettingsArgs) ToClientTlsSettingsPtrOutput() ClientTlsSettingsPtrOutput { return i.ToClientTlsSettingsPtrOutputWithContext(context.Background()) } @@ -11378,6 +12885,12 @@ func (i *clientTlsSettingsPtrType) ToClientTlsSettingsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ClientTlsSettingsPtrOutput) } +func (i *clientTlsSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsSettings] { + return pulumix.Output[*ClientTlsSettings]{ + OutputState: i.ToClientTlsSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] The client side authentication settings for connection originating from the backend service. the backend service. type ClientTlsSettingsOutput struct{ *pulumi.OutputState } @@ -11403,6 +12916,12 @@ func (o ClientTlsSettingsOutput) ToClientTlsSettingsPtrOutputWithContext(ctx con }).(ClientTlsSettingsPtrOutput) } +func (o ClientTlsSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ClientTlsSettings] { + return pulumix.Output[ClientTlsSettings]{ + OutputState: o.OutputState, + } +} + // Configures the mechanism to obtain client-side security certificates and identity information. This field is only applicable when mode is set to MUTUAL. func (o ClientTlsSettingsOutput) ClientTlsContext() TlsContextPtrOutput { return o.ApplyT(func(v ClientTlsSettings) *TlsContext { return v.ClientTlsContext }).(TlsContextPtrOutput) @@ -11437,6 +12956,12 @@ func (o ClientTlsSettingsPtrOutput) ToClientTlsSettingsPtrOutputWithContext(ctx return o } +func (o ClientTlsSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsSettings] { + return pulumix.Output[*ClientTlsSettings]{ + OutputState: o.OutputState, + } +} + func (o ClientTlsSettingsPtrOutput) Elem() ClientTlsSettingsOutput { return o.ApplyT(func(v *ClientTlsSettings) ClientTlsSettings { if v != nil { @@ -11514,6 +13039,12 @@ func (o ClientTlsSettingsResponseOutput) ToClientTlsSettingsResponseOutputWithCo return o } +func (o ClientTlsSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClientTlsSettingsResponse] { + return pulumix.Output[ClientTlsSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Configures the mechanism to obtain client-side security certificates and identity information. This field is only applicable when mode is set to MUTUAL. func (o ClientTlsSettingsResponseOutput) ClientTlsContext() TlsContextResponseOutput { return o.ApplyT(func(v ClientTlsSettingsResponse) TlsContextResponse { return v.ClientTlsContext }).(TlsContextResponseOutput) @@ -11585,6 +13116,12 @@ func (i ConditionArgs) ToConditionOutputWithContext(ctx context.Context) Conditi return pulumi.ToOutputWithContext(ctx, i).(ConditionOutput) } +func (i ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: i.ToConditionOutputWithContext(ctx).OutputState, + } +} + // ConditionArrayInput is an input type that accepts ConditionArray and ConditionArrayOutput values. // You can construct a concrete instance of `ConditionArrayInput` via: // @@ -11610,6 +13147,12 @@ func (i ConditionArray) ToConditionArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ConditionArrayOutput) } +func (i ConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: i.ToConditionArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionOutput struct{ *pulumi.OutputState } @@ -11625,6 +13168,12 @@ func (o ConditionOutput) ToConditionOutputWithContext(ctx context.Context) Condi return o } +func (o ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o ConditionOutput) Iam() ConditionIamPtrOutput { return o.ApplyT(func(v Condition) *ConditionIam { return v.Iam }).(ConditionIamPtrOutput) @@ -11664,6 +13213,12 @@ func (o ConditionArrayOutput) ToConditionArrayOutputWithContext(ctx context.Cont return o } +func (o ConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: o.OutputState, + } +} + func (o ConditionArrayOutput) Index(i pulumi.IntInput) ConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Condition { return vs[0].([]Condition)[vs[1].(int)] @@ -11699,6 +13254,12 @@ func (o ConditionResponseOutput) ToConditionResponseOutputWithContext(ctx contex return o } +func (o ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionResponse] { + return pulumix.Output[ConditionResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o ConditionResponseOutput) Iam() pulumi.StringOutput { return o.ApplyT(func(v ConditionResponse) string { return v.Iam }).(pulumi.StringOutput) @@ -11738,6 +13299,12 @@ func (o ConditionResponseArrayOutput) ToConditionResponseArrayOutputWithContext( return o } +func (o ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConditionResponse] { + return pulumix.Output[[]ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o ConditionResponseArrayOutput) Index(i pulumi.IntInput) ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConditionResponse { return vs[0].([]ConditionResponse)[vs[1].(int)] @@ -11783,6 +13350,12 @@ func (i ConfidentialInstanceConfigArgs) ToConfidentialInstanceConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(ConfidentialInstanceConfigOutput) } +func (i ConfidentialInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfig] { + return pulumix.Output[ConfidentialInstanceConfig]{ + OutputState: i.ToConfidentialInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ConfidentialInstanceConfigArgs) ToConfidentialInstanceConfigPtrOutput() ConfidentialInstanceConfigPtrOutput { return i.ToConfidentialInstanceConfigPtrOutputWithContext(context.Background()) } @@ -11824,6 +13397,12 @@ func (i *confidentialInstanceConfigPtrType) ToConfidentialInstanceConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(ConfidentialInstanceConfigPtrOutput) } +func (i *confidentialInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialInstanceConfig] { + return pulumix.Output[*ConfidentialInstanceConfig]{ + OutputState: i.ToConfidentialInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Confidential Instance options. type ConfidentialInstanceConfigOutput struct{ *pulumi.OutputState } @@ -11849,6 +13428,12 @@ func (o ConfidentialInstanceConfigOutput) ToConfidentialInstanceConfigPtrOutputW }).(ConfidentialInstanceConfigPtrOutput) } +func (o ConfidentialInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfig] { + return pulumix.Output[ConfidentialInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines the type of technology used by the confidential instance. func (o ConfidentialInstanceConfigOutput) ConfidentialInstanceType() ConfidentialInstanceConfigConfidentialInstanceTypePtrOutput { return o.ApplyT(func(v ConfidentialInstanceConfig) *ConfidentialInstanceConfigConfidentialInstanceType { @@ -11875,6 +13460,12 @@ func (o ConfidentialInstanceConfigPtrOutput) ToConfidentialInstanceConfigPtrOutp return o } +func (o ConfidentialInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialInstanceConfig] { + return pulumix.Output[*ConfidentialInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ConfidentialInstanceConfigPtrOutput) Elem() ConfidentialInstanceConfigOutput { return o.ApplyT(func(v *ConfidentialInstanceConfig) ConfidentialInstanceConfig { if v != nil { @@ -11928,6 +13519,12 @@ func (o ConfidentialInstanceConfigResponseOutput) ToConfidentialInstanceConfigRe return o } +func (o ConfidentialInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfigResponse] { + return pulumix.Output[ConfidentialInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines the type of technology used by the confidential instance. func (o ConfidentialInstanceConfigResponseOutput) ConfidentialInstanceType() pulumi.StringOutput { return o.ApplyT(func(v ConfidentialInstanceConfigResponse) string { return v.ConfidentialInstanceType }).(pulumi.StringOutput) @@ -11973,6 +13570,12 @@ func (i ConnectionDrainingArgs) ToConnectionDrainingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ConnectionDrainingOutput) } +func (i ConnectionDrainingArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionDraining] { + return pulumix.Output[ConnectionDraining]{ + OutputState: i.ToConnectionDrainingOutputWithContext(ctx).OutputState, + } +} + func (i ConnectionDrainingArgs) ToConnectionDrainingPtrOutput() ConnectionDrainingPtrOutput { return i.ToConnectionDrainingPtrOutputWithContext(context.Background()) } @@ -12014,6 +13617,12 @@ func (i *connectionDrainingPtrType) ToConnectionDrainingPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ConnectionDrainingPtrOutput) } +func (i *connectionDrainingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionDraining] { + return pulumix.Output[*ConnectionDraining]{ + OutputState: i.ToConnectionDrainingPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing connection draining configuration. type ConnectionDrainingOutput struct{ *pulumi.OutputState } @@ -12039,6 +13648,12 @@ func (o ConnectionDrainingOutput) ToConnectionDrainingPtrOutputWithContext(ctx c }).(ConnectionDrainingPtrOutput) } +func (o ConnectionDrainingOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionDraining] { + return pulumix.Output[ConnectionDraining]{ + OutputState: o.OutputState, + } +} + // Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining. func (o ConnectionDrainingOutput) DrainingTimeoutSec() pulumi.IntPtrOutput { return o.ApplyT(func(v ConnectionDraining) *int { return v.DrainingTimeoutSec }).(pulumi.IntPtrOutput) @@ -12058,6 +13673,12 @@ func (o ConnectionDrainingPtrOutput) ToConnectionDrainingPtrOutputWithContext(ct return o } +func (o ConnectionDrainingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionDraining] { + return pulumix.Output[*ConnectionDraining]{ + OutputState: o.OutputState, + } +} + func (o ConnectionDrainingPtrOutput) Elem() ConnectionDrainingOutput { return o.ApplyT(func(v *ConnectionDraining) ConnectionDraining { if v != nil { @@ -12099,6 +13720,12 @@ func (o ConnectionDrainingResponseOutput) ToConnectionDrainingResponseOutputWith return o } +func (o ConnectionDrainingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionDrainingResponse] { + return pulumix.Output[ConnectionDrainingResponse]{ + OutputState: o.OutputState, + } +} + // Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining. func (o ConnectionDrainingResponseOutput) DrainingTimeoutSec() pulumi.IntOutput { return o.ApplyT(func(v ConnectionDrainingResponse) int { return v.DrainingTimeoutSec }).(pulumi.IntOutput) @@ -12147,6 +13774,12 @@ func (i ConsistentHashLoadBalancerSettingsArgs) ToConsistentHashLoadBalancerSett return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsOutput) } +func (i ConsistentHashLoadBalancerSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettings] { + return pulumix.Output[ConsistentHashLoadBalancerSettings]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ConsistentHashLoadBalancerSettingsArgs) ToConsistentHashLoadBalancerSettingsPtrOutput() ConsistentHashLoadBalancerSettingsPtrOutput { return i.ToConsistentHashLoadBalancerSettingsPtrOutputWithContext(context.Background()) } @@ -12188,6 +13821,12 @@ func (i *consistentHashLoadBalancerSettingsPtrType) ToConsistentHashLoadBalancer return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsPtrOutput) } +func (i *consistentHashLoadBalancerSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettings] { + return pulumix.Output[*ConsistentHashLoadBalancerSettings]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // This message defines settings for a consistent hash style load balancer. type ConsistentHashLoadBalancerSettingsOutput struct{ *pulumi.OutputState } @@ -12213,6 +13852,12 @@ func (o ConsistentHashLoadBalancerSettingsOutput) ToConsistentHashLoadBalancerSe }).(ConsistentHashLoadBalancerSettingsPtrOutput) } +func (o ConsistentHashLoadBalancerSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettings] { + return pulumix.Output[ConsistentHashLoadBalancerSettings]{ + OutputState: o.OutputState, + } +} + // Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o ConsistentHashLoadBalancerSettingsOutput) HttpCookie() ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettings) *ConsistentHashLoadBalancerSettingsHttpCookie { @@ -12244,6 +13889,12 @@ func (o ConsistentHashLoadBalancerSettingsPtrOutput) ToConsistentHashLoadBalance return o } +func (o ConsistentHashLoadBalancerSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettings] { + return pulumix.Output[*ConsistentHashLoadBalancerSettings]{ + OutputState: o.OutputState, + } +} + func (o ConsistentHashLoadBalancerSettingsPtrOutput) Elem() ConsistentHashLoadBalancerSettingsOutput { return o.ApplyT(func(v *ConsistentHashLoadBalancerSettings) ConsistentHashLoadBalancerSettings { if v != nil { @@ -12327,6 +13978,12 @@ func (i ConsistentHashLoadBalancerSettingsHttpCookieArgs) ToConsistentHashLoadBa return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsHttpCookieOutput) } +func (i ConsistentHashLoadBalancerSettingsHttpCookieArgs) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsHttpCookieOutputWithContext(ctx).OutputState, + } +} + func (i ConsistentHashLoadBalancerSettingsHttpCookieArgs) ToConsistentHashLoadBalancerSettingsHttpCookiePtrOutput() ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput { return i.ToConsistentHashLoadBalancerSettingsHttpCookiePtrOutputWithContext(context.Background()) } @@ -12368,6 +14025,12 @@ func (i *consistentHashLoadBalancerSettingsHttpCookiePtrType) ToConsistentHashLo return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) } +func (i *consistentHashLoadBalancerSettingsHttpCookiePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsHttpCookiePtrOutputWithContext(ctx).OutputState, + } +} + // The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash. type ConsistentHashLoadBalancerSettingsHttpCookieOutput struct{ *pulumi.OutputState } @@ -12393,6 +14056,12 @@ func (o ConsistentHashLoadBalancerSettingsHttpCookieOutput) ToConsistentHashLoad }).(ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) } +func (o ConsistentHashLoadBalancerSettingsHttpCookieOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: o.OutputState, + } +} + // Name of the cookie. func (o ConsistentHashLoadBalancerSettingsHttpCookieOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettingsHttpCookie) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -12422,6 +14091,12 @@ func (o ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) ToConsistentHashL return o } +func (o ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: o.OutputState, + } +} + func (o ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) Elem() ConsistentHashLoadBalancerSettingsHttpCookieOutput { return o.ApplyT(func(v *ConsistentHashLoadBalancerSettingsHttpCookie) ConsistentHashLoadBalancerSettingsHttpCookie { if v != nil { @@ -12487,6 +14162,12 @@ func (o ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput) ToConsistent return o } +func (o ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookieResponse] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookieResponse]{ + OutputState: o.OutputState, + } +} + // Name of the cookie. func (o ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettingsHttpCookieResponse) string { return v.Name }).(pulumi.StringOutput) @@ -12527,6 +14208,12 @@ func (o ConsistentHashLoadBalancerSettingsResponseOutput) ToConsistentHashLoadBa return o } +func (o ConsistentHashLoadBalancerSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsResponse] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o ConsistentHashLoadBalancerSettingsResponseOutput) HttpCookie() ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettingsResponse) ConsistentHashLoadBalancerSettingsHttpCookieResponse { @@ -12607,6 +14294,12 @@ func (i CorsPolicyArgs) ToCorsPolicyOutputWithContext(ctx context.Context) CorsP return pulumi.ToOutputWithContext(ctx, i).(CorsPolicyOutput) } +func (i CorsPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[CorsPolicy] { + return pulumix.Output[CorsPolicy]{ + OutputState: i.ToCorsPolicyOutputWithContext(ctx).OutputState, + } +} + func (i CorsPolicyArgs) ToCorsPolicyPtrOutput() CorsPolicyPtrOutput { return i.ToCorsPolicyPtrOutputWithContext(context.Background()) } @@ -12648,6 +14341,12 @@ func (i *corsPolicyPtrType) ToCorsPolicyPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(CorsPolicyPtrOutput) } +func (i *corsPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CorsPolicy] { + return pulumix.Output[*CorsPolicy]{ + OutputState: i.ToCorsPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. type CorsPolicyOutput struct{ *pulumi.OutputState } @@ -12673,6 +14372,12 @@ func (o CorsPolicyOutput) ToCorsPolicyPtrOutputWithContext(ctx context.Context) }).(CorsPolicyPtrOutput) } +func (o CorsPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[CorsPolicy] { + return pulumix.Output[CorsPolicy]{ + OutputState: o.OutputState, + } +} + // In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false. func (o CorsPolicyOutput) AllowCredentials() pulumi.BoolPtrOutput { return o.ApplyT(func(v CorsPolicy) *bool { return v.AllowCredentials }).(pulumi.BoolPtrOutput) @@ -12727,6 +14432,12 @@ func (o CorsPolicyPtrOutput) ToCorsPolicyPtrOutputWithContext(ctx context.Contex return o } +func (o CorsPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CorsPolicy] { + return pulumix.Output[*CorsPolicy]{ + OutputState: o.OutputState, + } +} + func (o CorsPolicyPtrOutput) Elem() CorsPolicyOutput { return o.ApplyT(func(v *CorsPolicy) CorsPolicy { if v != nil { @@ -12852,6 +14563,12 @@ func (o CorsPolicyResponseOutput) ToCorsPolicyResponseOutputWithContext(ctx cont return o } +func (o CorsPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CorsPolicyResponse] { + return pulumix.Output[CorsPolicyResponse]{ + OutputState: o.OutputState, + } +} + // In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false. func (o CorsPolicyResponseOutput) AllowCredentials() pulumi.BoolOutput { return o.ApplyT(func(v CorsPolicyResponse) bool { return v.AllowCredentials }).(pulumi.BoolOutput) @@ -12931,6 +14648,12 @@ func (i CustomErrorResponsePolicyArgs) ToCustomErrorResponsePolicyOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(CustomErrorResponsePolicyOutput) } +func (i CustomErrorResponsePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicy] { + return pulumix.Output[CustomErrorResponsePolicy]{ + OutputState: i.ToCustomErrorResponsePolicyOutputWithContext(ctx).OutputState, + } +} + func (i CustomErrorResponsePolicyArgs) ToCustomErrorResponsePolicyPtrOutput() CustomErrorResponsePolicyPtrOutput { return i.ToCustomErrorResponsePolicyPtrOutputWithContext(context.Background()) } @@ -12972,6 +14695,12 @@ func (i *customErrorResponsePolicyPtrType) ToCustomErrorResponsePolicyPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(CustomErrorResponsePolicyPtrOutput) } +func (i *customErrorResponsePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomErrorResponsePolicy] { + return pulumix.Output[*CustomErrorResponsePolicy]{ + OutputState: i.ToCustomErrorResponsePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the custom error response policy that must be applied when the backend service or backend bucket responds with an error. type CustomErrorResponsePolicyOutput struct{ *pulumi.OutputState } @@ -12997,6 +14726,12 @@ func (o CustomErrorResponsePolicyOutput) ToCustomErrorResponsePolicyPtrOutputWit }).(CustomErrorResponsePolicyPtrOutput) } +func (o CustomErrorResponsePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicy] { + return pulumix.Output[CustomErrorResponsePolicy]{ + OutputState: o.OutputState, + } +} + // Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. func (o CustomErrorResponsePolicyOutput) ErrorResponseRules() CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput { return o.ApplyT(func(v CustomErrorResponsePolicy) []CustomErrorResponsePolicyCustomErrorResponseRule { @@ -13023,6 +14758,12 @@ func (o CustomErrorResponsePolicyPtrOutput) ToCustomErrorResponsePolicyPtrOutput return o } +func (o CustomErrorResponsePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomErrorResponsePolicy] { + return pulumix.Output[*CustomErrorResponsePolicy]{ + OutputState: o.OutputState, + } +} + func (o CustomErrorResponsePolicyPtrOutput) Elem() CustomErrorResponsePolicyOutput { return o.ApplyT(func(v *CustomErrorResponsePolicy) CustomErrorResponsePolicy { if v != nil { @@ -13096,6 +14837,12 @@ func (i CustomErrorResponsePolicyCustomErrorResponseRuleArgs) ToCustomErrorRespo return pulumi.ToOutputWithContext(ctx, i).(CustomErrorResponsePolicyCustomErrorResponseRuleOutput) } +func (i CustomErrorResponsePolicyCustomErrorResponseRuleArgs) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRule] { + return pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRule]{ + OutputState: i.ToCustomErrorResponsePolicyCustomErrorResponseRuleOutputWithContext(ctx).OutputState, + } +} + // CustomErrorResponsePolicyCustomErrorResponseRuleArrayInput is an input type that accepts CustomErrorResponsePolicyCustomErrorResponseRuleArray and CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput values. // You can construct a concrete instance of `CustomErrorResponsePolicyCustomErrorResponseRuleArrayInput` via: // @@ -13121,6 +14868,12 @@ func (i CustomErrorResponsePolicyCustomErrorResponseRuleArray) ToCustomErrorResp return pulumi.ToOutputWithContext(ctx, i).(CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput) } +func (i CustomErrorResponsePolicyCustomErrorResponseRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRule] { + return pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRule]{ + OutputState: i.ToCustomErrorResponsePolicyCustomErrorResponseRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the mapping between the response code that will be returned along with the custom error content and the response code returned by the backend service. type CustomErrorResponsePolicyCustomErrorResponseRuleOutput struct{ *pulumi.OutputState } @@ -13136,6 +14889,12 @@ func (o CustomErrorResponsePolicyCustomErrorResponseRuleOutput) ToCustomErrorRes return o } +func (o CustomErrorResponsePolicyCustomErrorResponseRuleOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRule] { + return pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRule]{ + OutputState: o.OutputState, + } +} + // Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy. func (o CustomErrorResponsePolicyCustomErrorResponseRuleOutput) MatchResponseCodes() pulumi.StringArrayOutput { return o.ApplyT(func(v CustomErrorResponsePolicyCustomErrorResponseRule) []string { return v.MatchResponseCodes }).(pulumi.StringArrayOutput) @@ -13165,6 +14924,12 @@ func (o CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput) ToCustomErr return o } +func (o CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRule] { + return pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRule]{ + OutputState: o.OutputState, + } +} + func (o CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput) Index(i pulumi.IntInput) CustomErrorResponsePolicyCustomErrorResponseRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomErrorResponsePolicyCustomErrorResponseRule { return vs[0].([]CustomErrorResponsePolicyCustomErrorResponseRule)[vs[1].(int)] @@ -13196,6 +14961,12 @@ func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseOutput) ToCustom return o } +func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRuleResponse] { + return pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRuleResponse]{ + OutputState: o.OutputState, + } +} + // Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy. func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseOutput) MatchResponseCodes() pulumi.StringArrayOutput { return o.ApplyT(func(v CustomErrorResponsePolicyCustomErrorResponseRuleResponse) []string { return v.MatchResponseCodes }).(pulumi.StringArrayOutput) @@ -13225,6 +14996,12 @@ func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseArrayOutput) ToC return o } +func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRuleResponse] { + return pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseArrayOutput) Index(i pulumi.IntInput) CustomErrorResponsePolicyCustomErrorResponseRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomErrorResponsePolicyCustomErrorResponseRuleResponse { return vs[0].([]CustomErrorResponsePolicyCustomErrorResponseRuleResponse)[vs[1].(int)] @@ -13254,6 +15031,12 @@ func (o CustomErrorResponsePolicyResponseOutput) ToCustomErrorResponsePolicyResp return o } +func (o CustomErrorResponsePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicyResponse] { + return pulumix.Output[CustomErrorResponsePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. func (o CustomErrorResponsePolicyResponseOutput) ErrorResponseRules() CustomErrorResponsePolicyCustomErrorResponseRuleResponseArrayOutput { return o.ApplyT(func(v CustomErrorResponsePolicyResponse) []CustomErrorResponsePolicyCustomErrorResponseRuleResponse { @@ -13311,6 +15094,12 @@ func (i CustomerEncryptionKeyArgs) ToCustomerEncryptionKeyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CustomerEncryptionKeyOutput) } +func (i CustomerEncryptionKeyArgs) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKey] { + return pulumix.Output[CustomerEncryptionKey]{ + OutputState: i.ToCustomerEncryptionKeyOutputWithContext(ctx).OutputState, + } +} + func (i CustomerEncryptionKeyArgs) ToCustomerEncryptionKeyPtrOutput() CustomerEncryptionKeyPtrOutput { return i.ToCustomerEncryptionKeyPtrOutputWithContext(context.Background()) } @@ -13352,6 +15141,12 @@ func (i *customerEncryptionKeyPtrType) ToCustomerEncryptionKeyPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(CustomerEncryptionKeyPtrOutput) } +func (i *customerEncryptionKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomerEncryptionKey] { + return pulumix.Output[*CustomerEncryptionKey]{ + OutputState: i.ToCustomerEncryptionKeyPtrOutputWithContext(ctx).OutputState, + } +} + type CustomerEncryptionKeyOutput struct{ *pulumi.OutputState } func (CustomerEncryptionKeyOutput) ElementType() reflect.Type { @@ -13376,6 +15171,12 @@ func (o CustomerEncryptionKeyOutput) ToCustomerEncryptionKeyPtrOutputWithContext }).(CustomerEncryptionKeyPtrOutput) } +func (o CustomerEncryptionKeyOutput) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKey] { + return pulumix.Output[CustomerEncryptionKey]{ + OutputState: o.OutputState, + } +} + // The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key func (o CustomerEncryptionKeyOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v CustomerEncryptionKey) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -13410,6 +15211,12 @@ func (o CustomerEncryptionKeyPtrOutput) ToCustomerEncryptionKeyPtrOutputWithCont return o } +func (o CustomerEncryptionKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomerEncryptionKey] { + return pulumix.Output[*CustomerEncryptionKey]{ + OutputState: o.OutputState, + } +} + func (o CustomerEncryptionKeyPtrOutput) Elem() CustomerEncryptionKeyOutput { return o.ApplyT(func(v *CustomerEncryptionKey) CustomerEncryptionKey { if v != nil { @@ -13487,6 +15294,12 @@ func (o CustomerEncryptionKeyResponseOutput) ToCustomerEncryptionKeyResponseOutp return o } +func (o CustomerEncryptionKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKeyResponse] { + return pulumix.Output[CustomerEncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + // The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key func (o CustomerEncryptionKeyResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v CustomerEncryptionKeyResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -13567,6 +15380,12 @@ func (i DeprecationStatusArgs) ToDeprecationStatusOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DeprecationStatusOutput) } +func (i DeprecationStatusArgs) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatus] { + return pulumix.Output[DeprecationStatus]{ + OutputState: i.ToDeprecationStatusOutputWithContext(ctx).OutputState, + } +} + func (i DeprecationStatusArgs) ToDeprecationStatusPtrOutput() DeprecationStatusPtrOutput { return i.ToDeprecationStatusPtrOutputWithContext(context.Background()) } @@ -13608,6 +15427,12 @@ func (i *deprecationStatusPtrType) ToDeprecationStatusPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DeprecationStatusPtrOutput) } +func (i *deprecationStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatus] { + return pulumix.Output[*DeprecationStatus]{ + OutputState: i.ToDeprecationStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecation status for a public resource. type DeprecationStatusOutput struct{ *pulumi.OutputState } @@ -13633,6 +15458,12 @@ func (o DeprecationStatusOutput) ToDeprecationStatusPtrOutputWithContext(ctx con }).(DeprecationStatusPtrOutput) } +func (o DeprecationStatusOutput) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatus] { + return pulumix.Output[DeprecationStatus]{ + OutputState: o.OutputState, + } +} + // An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it. func (o DeprecationStatusOutput) Deleted() pulumi.StringPtrOutput { return o.ApplyT(func(v DeprecationStatus) *string { return v.Deleted }).(pulumi.StringPtrOutput) @@ -13677,6 +15508,12 @@ func (o DeprecationStatusPtrOutput) ToDeprecationStatusPtrOutputWithContext(ctx return o } +func (o DeprecationStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatus] { + return pulumix.Output[*DeprecationStatus]{ + OutputState: o.OutputState, + } +} + func (o DeprecationStatusPtrOutput) Elem() DeprecationStatusOutput { return o.ApplyT(func(v *DeprecationStatus) DeprecationStatus { if v != nil { @@ -13778,6 +15615,12 @@ func (o DeprecationStatusResponseOutput) ToDeprecationStatusResponseOutputWithCo return o } +func (o DeprecationStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatusResponse] { + return pulumix.Output[DeprecationStatusResponse]{ + OutputState: o.OutputState, + } +} + // An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it. func (o DeprecationStatusResponseOutput) Deleted() pulumi.StringOutput { return o.ApplyT(func(v DeprecationStatusResponse) string { return v.Deleted }).(pulumi.StringOutput) @@ -13841,6 +15684,12 @@ func (i DiskAsyncReplicationArgs) ToDiskAsyncReplicationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DiskAsyncReplicationOutput) } +func (i DiskAsyncReplicationArgs) ToOutput(ctx context.Context) pulumix.Output[DiskAsyncReplication] { + return pulumix.Output[DiskAsyncReplication]{ + OutputState: i.ToDiskAsyncReplicationOutputWithContext(ctx).OutputState, + } +} + func (i DiskAsyncReplicationArgs) ToDiskAsyncReplicationPtrOutput() DiskAsyncReplicationPtrOutput { return i.ToDiskAsyncReplicationPtrOutputWithContext(context.Background()) } @@ -13882,6 +15731,12 @@ func (i *diskAsyncReplicationPtrType) ToDiskAsyncReplicationPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DiskAsyncReplicationPtrOutput) } +func (i *diskAsyncReplicationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskAsyncReplication] { + return pulumix.Output[*DiskAsyncReplication]{ + OutputState: i.ToDiskAsyncReplicationPtrOutputWithContext(ctx).OutputState, + } +} + type DiskAsyncReplicationOutput struct{ *pulumi.OutputState } func (DiskAsyncReplicationOutput) ElementType() reflect.Type { @@ -13906,6 +15761,12 @@ func (o DiskAsyncReplicationOutput) ToDiskAsyncReplicationPtrOutputWithContext(c }).(DiskAsyncReplicationPtrOutput) } +func (o DiskAsyncReplicationOutput) ToOutput(ctx context.Context) pulumix.Output[DiskAsyncReplication] { + return pulumix.Output[DiskAsyncReplication]{ + OutputState: o.OutputState, + } +} + // The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk func (o DiskAsyncReplicationOutput) Disk() pulumi.StringPtrOutput { return o.ApplyT(func(v DiskAsyncReplication) *string { return v.Disk }).(pulumi.StringPtrOutput) @@ -13925,6 +15786,12 @@ func (o DiskAsyncReplicationPtrOutput) ToDiskAsyncReplicationPtrOutputWithContex return o } +func (o DiskAsyncReplicationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskAsyncReplication] { + return pulumix.Output[*DiskAsyncReplication]{ + OutputState: o.OutputState, + } +} + func (o DiskAsyncReplicationPtrOutput) Elem() DiskAsyncReplicationOutput { return o.ApplyT(func(v *DiskAsyncReplication) DiskAsyncReplication { if v != nil { @@ -13970,6 +15837,12 @@ func (o DiskAsyncReplicationResponseOutput) ToDiskAsyncReplicationResponseOutput return o } +func (o DiskAsyncReplicationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskAsyncReplicationResponse] { + return pulumix.Output[DiskAsyncReplicationResponse]{ + OutputState: o.OutputState, + } +} + // URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group. func (o DiskAsyncReplicationResponseOutput) ConsistencyGroupPolicy() pulumi.StringOutput { return o.ApplyT(func(v DiskAsyncReplicationResponse) string { return v.ConsistencyGroupPolicy }).(pulumi.StringOutput) @@ -14037,6 +15910,12 @@ func (i DiskInstantiationConfigArgs) ToDiskInstantiationConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(DiskInstantiationConfigOutput) } +func (i DiskInstantiationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfig] { + return pulumix.Output[DiskInstantiationConfig]{ + OutputState: i.ToDiskInstantiationConfigOutputWithContext(ctx).OutputState, + } +} + // DiskInstantiationConfigArrayInput is an input type that accepts DiskInstantiationConfigArray and DiskInstantiationConfigArrayOutput values. // You can construct a concrete instance of `DiskInstantiationConfigArrayInput` via: // @@ -14062,6 +15941,12 @@ func (i DiskInstantiationConfigArray) ToDiskInstantiationConfigArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(DiskInstantiationConfigArrayOutput) } +func (i DiskInstantiationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]DiskInstantiationConfig] { + return pulumix.Output[[]DiskInstantiationConfig]{ + OutputState: i.ToDiskInstantiationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // A specification of the desired way to instantiate a disk in the instance template when its created from a source instance. type DiskInstantiationConfigOutput struct{ *pulumi.OutputState } @@ -14077,6 +15962,12 @@ func (o DiskInstantiationConfigOutput) ToDiskInstantiationConfigOutputWithContex return o } +func (o DiskInstantiationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfig] { + return pulumix.Output[DiskInstantiationConfig]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o DiskInstantiationConfigOutput) AutoDelete() pulumi.BoolPtrOutput { return o.ApplyT(func(v DiskInstantiationConfig) *bool { return v.AutoDelete }).(pulumi.BoolPtrOutput) @@ -14111,6 +16002,12 @@ func (o DiskInstantiationConfigArrayOutput) ToDiskInstantiationConfigArrayOutput return o } +func (o DiskInstantiationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiskInstantiationConfig] { + return pulumix.Output[[]DiskInstantiationConfig]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigArrayOutput) Index(i pulumi.IntInput) DiskInstantiationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiskInstantiationConfig { return vs[0].([]DiskInstantiationConfig)[vs[1].(int)] @@ -14144,6 +16041,12 @@ func (o DiskInstantiationConfigResponseOutput) ToDiskInstantiationConfigResponse return o } +func (o DiskInstantiationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfigResponse] { + return pulumix.Output[DiskInstantiationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o DiskInstantiationConfigResponseOutput) AutoDelete() pulumi.BoolOutput { return o.ApplyT(func(v DiskInstantiationConfigResponse) bool { return v.AutoDelete }).(pulumi.BoolOutput) @@ -14178,6 +16081,12 @@ func (o DiskInstantiationConfigResponseArrayOutput) ToDiskInstantiationConfigRes return o } +func (o DiskInstantiationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiskInstantiationConfigResponse] { + return pulumix.Output[[]DiskInstantiationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigResponseArrayOutput) Index(i pulumi.IntInput) DiskInstantiationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiskInstantiationConfigResponse { return vs[0].([]DiskInstantiationConfigResponse)[vs[1].(int)] @@ -14219,6 +16128,12 @@ func (i DiskParamsArgs) ToDiskParamsOutputWithContext(ctx context.Context) DiskP return pulumi.ToOutputWithContext(ctx, i).(DiskParamsOutput) } +func (i DiskParamsArgs) ToOutput(ctx context.Context) pulumix.Output[DiskParams] { + return pulumix.Output[DiskParams]{ + OutputState: i.ToDiskParamsOutputWithContext(ctx).OutputState, + } +} + func (i DiskParamsArgs) ToDiskParamsPtrOutput() DiskParamsPtrOutput { return i.ToDiskParamsPtrOutputWithContext(context.Background()) } @@ -14260,6 +16175,12 @@ func (i *diskParamsPtrType) ToDiskParamsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DiskParamsPtrOutput) } +func (i *diskParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskParams] { + return pulumix.Output[*DiskParams]{ + OutputState: i.ToDiskParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Additional disk params. type DiskParamsOutput struct{ *pulumi.OutputState } @@ -14285,6 +16206,12 @@ func (o DiskParamsOutput) ToDiskParamsPtrOutputWithContext(ctx context.Context) }).(DiskParamsPtrOutput) } +func (o DiskParamsOutput) ToOutput(ctx context.Context) pulumix.Output[DiskParams] { + return pulumix.Output[DiskParams]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o DiskParamsOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v DiskParams) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -14304,6 +16231,12 @@ func (o DiskParamsPtrOutput) ToDiskParamsPtrOutputWithContext(ctx context.Contex return o } +func (o DiskParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskParams] { + return pulumix.Output[*DiskParams]{ + OutputState: o.OutputState, + } +} + func (o DiskParamsPtrOutput) Elem() DiskParamsOutput { return o.ApplyT(func(v *DiskParams) DiskParams { if v != nil { @@ -14345,6 +16278,12 @@ func (o DiskParamsResponseOutput) ToDiskParamsResponseOutputWithContext(ctx cont return o } +func (o DiskParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskParamsResponse] { + return pulumix.Output[DiskParamsResponse]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o DiskParamsResponseOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v DiskParamsResponse) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -14368,6 +16307,12 @@ func (o DiskResourceStatusAsyncReplicationStatusResponseOutput) ToDiskResourceSt return o } +func (o DiskResourceStatusAsyncReplicationStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskResourceStatusAsyncReplicationStatusResponse] { + return pulumix.Output[DiskResourceStatusAsyncReplicationStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskResourceStatusAsyncReplicationStatusResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v DiskResourceStatusAsyncReplicationStatusResponse) string { return v.State }).(pulumi.StringOutput) } @@ -14392,6 +16337,12 @@ func (o DiskResourceStatusResponseOutput) ToDiskResourceStatusResponseOutputWith return o } +func (o DiskResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskResourceStatusResponse] { + return pulumix.Output[DiskResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskResourceStatusResponseOutput) AsyncPrimaryDisk() DiskResourceStatusAsyncReplicationStatusResponseOutput { return o.ApplyT(func(v DiskResourceStatusResponse) DiskResourceStatusAsyncReplicationStatusResponse { return v.AsyncPrimaryDisk @@ -14438,6 +16389,12 @@ func (i DisplayDeviceArgs) ToDisplayDeviceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DisplayDeviceOutput) } +func (i DisplayDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[DisplayDevice] { + return pulumix.Output[DisplayDevice]{ + OutputState: i.ToDisplayDeviceOutputWithContext(ctx).OutputState, + } +} + func (i DisplayDeviceArgs) ToDisplayDevicePtrOutput() DisplayDevicePtrOutput { return i.ToDisplayDevicePtrOutputWithContext(context.Background()) } @@ -14479,6 +16436,12 @@ func (i *displayDevicePtrType) ToDisplayDevicePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DisplayDevicePtrOutput) } +func (i *displayDevicePtrType) ToOutput(ctx context.Context) pulumix.Output[*DisplayDevice] { + return pulumix.Output[*DisplayDevice]{ + OutputState: i.ToDisplayDevicePtrOutputWithContext(ctx).OutputState, + } +} + // A set of Display Device options type DisplayDeviceOutput struct{ *pulumi.OutputState } @@ -14504,6 +16467,12 @@ func (o DisplayDeviceOutput) ToDisplayDevicePtrOutputWithContext(ctx context.Con }).(DisplayDevicePtrOutput) } +func (o DisplayDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[DisplayDevice] { + return pulumix.Output[DisplayDevice]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has Display enabled. func (o DisplayDeviceOutput) EnableDisplay() pulumi.BoolPtrOutput { return o.ApplyT(func(v DisplayDevice) *bool { return v.EnableDisplay }).(pulumi.BoolPtrOutput) @@ -14523,6 +16492,12 @@ func (o DisplayDevicePtrOutput) ToDisplayDevicePtrOutputWithContext(ctx context. return o } +func (o DisplayDevicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DisplayDevice] { + return pulumix.Output[*DisplayDevice]{ + OutputState: o.OutputState, + } +} + func (o DisplayDevicePtrOutput) Elem() DisplayDeviceOutput { return o.ApplyT(func(v *DisplayDevice) DisplayDevice { if v != nil { @@ -14564,6 +16539,12 @@ func (o DisplayDeviceResponseOutput) ToDisplayDeviceResponseOutputWithContext(ct return o } +func (o DisplayDeviceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DisplayDeviceResponse] { + return pulumix.Output[DisplayDeviceResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has Display enabled. func (o DisplayDeviceResponseOutput) EnableDisplay() pulumi.BoolOutput { return o.ApplyT(func(v DisplayDeviceResponse) bool { return v.EnableDisplay }).(pulumi.BoolOutput) @@ -14606,6 +16587,12 @@ func (i DistributionPolicyArgs) ToDistributionPolicyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyOutput) } +func (i DistributionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicy] { + return pulumix.Output[DistributionPolicy]{ + OutputState: i.ToDistributionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i DistributionPolicyArgs) ToDistributionPolicyPtrOutput() DistributionPolicyPtrOutput { return i.ToDistributionPolicyPtrOutputWithContext(context.Background()) } @@ -14647,6 +16634,12 @@ func (i *distributionPolicyPtrType) ToDistributionPolicyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyPtrOutput) } +func (i *distributionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicy] { + return pulumix.Output[*DistributionPolicy]{ + OutputState: i.ToDistributionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type DistributionPolicyOutput struct{ *pulumi.OutputState } func (DistributionPolicyOutput) ElementType() reflect.Type { @@ -14671,6 +16664,12 @@ func (o DistributionPolicyOutput) ToDistributionPolicyPtrOutputWithContext(ctx c }).(DistributionPolicyPtrOutput) } +func (o DistributionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicy] { + return pulumix.Output[DistributionPolicy]{ + OutputState: o.OutputState, + } +} + // The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). func (o DistributionPolicyOutput) TargetShape() DistributionPolicyTargetShapePtrOutput { return o.ApplyT(func(v DistributionPolicy) *DistributionPolicyTargetShape { return v.TargetShape }).(DistributionPolicyTargetShapePtrOutput) @@ -14695,6 +16694,12 @@ func (o DistributionPolicyPtrOutput) ToDistributionPolicyPtrOutputWithContext(ct return o } +func (o DistributionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicy] { + return pulumix.Output[*DistributionPolicy]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyPtrOutput) Elem() DistributionPolicyOutput { return o.ApplyT(func(v *DistributionPolicy) DistributionPolicy { if v != nil { @@ -14746,6 +16751,12 @@ func (o DistributionPolicyResponseOutput) ToDistributionPolicyResponseOutputWith return o } +func (o DistributionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyResponse] { + return pulumix.Output[DistributionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). func (o DistributionPolicyResponseOutput) TargetShape() pulumi.StringOutput { return o.ApplyT(func(v DistributionPolicyResponse) string { return v.TargetShape }).(pulumi.StringOutput) @@ -14789,6 +16800,12 @@ func (i DistributionPolicyZoneConfigurationArgs) ToDistributionPolicyZoneConfigu return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyZoneConfigurationOutput) } +func (i DistributionPolicyZoneConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyZoneConfiguration] { + return pulumix.Output[DistributionPolicyZoneConfiguration]{ + OutputState: i.ToDistributionPolicyZoneConfigurationOutputWithContext(ctx).OutputState, + } +} + // DistributionPolicyZoneConfigurationArrayInput is an input type that accepts DistributionPolicyZoneConfigurationArray and DistributionPolicyZoneConfigurationArrayOutput values. // You can construct a concrete instance of `DistributionPolicyZoneConfigurationArrayInput` via: // @@ -14814,6 +16831,12 @@ func (i DistributionPolicyZoneConfigurationArray) ToDistributionPolicyZoneConfig return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyZoneConfigurationArrayOutput) } +func (i DistributionPolicyZoneConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]DistributionPolicyZoneConfiguration] { + return pulumix.Output[[]DistributionPolicyZoneConfiguration]{ + OutputState: i.ToDistributionPolicyZoneConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + type DistributionPolicyZoneConfigurationOutput struct{ *pulumi.OutputState } func (DistributionPolicyZoneConfigurationOutput) ElementType() reflect.Type { @@ -14828,6 +16851,12 @@ func (o DistributionPolicyZoneConfigurationOutput) ToDistributionPolicyZoneConfi return o } +func (o DistributionPolicyZoneConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyZoneConfiguration] { + return pulumix.Output[DistributionPolicyZoneConfiguration]{ + OutputState: o.OutputState, + } +} + // The URL of the zone. The zone must exist in the region where the managed instance group is located. func (o DistributionPolicyZoneConfigurationOutput) Zone() pulumi.StringPtrOutput { return o.ApplyT(func(v DistributionPolicyZoneConfiguration) *string { return v.Zone }).(pulumi.StringPtrOutput) @@ -14847,6 +16876,12 @@ func (o DistributionPolicyZoneConfigurationArrayOutput) ToDistributionPolicyZone return o } +func (o DistributionPolicyZoneConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DistributionPolicyZoneConfiguration] { + return pulumix.Output[[]DistributionPolicyZoneConfiguration]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyZoneConfigurationArrayOutput) Index(i pulumi.IntInput) DistributionPolicyZoneConfigurationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DistributionPolicyZoneConfiguration { return vs[0].([]DistributionPolicyZoneConfiguration)[vs[1].(int)] @@ -14872,6 +16907,12 @@ func (o DistributionPolicyZoneConfigurationResponseOutput) ToDistributionPolicyZ return o } +func (o DistributionPolicyZoneConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyZoneConfigurationResponse] { + return pulumix.Output[DistributionPolicyZoneConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of the zone. The zone must exist in the region where the managed instance group is located. func (o DistributionPolicyZoneConfigurationResponseOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v DistributionPolicyZoneConfigurationResponse) string { return v.Zone }).(pulumi.StringOutput) @@ -14891,6 +16932,12 @@ func (o DistributionPolicyZoneConfigurationResponseArrayOutput) ToDistributionPo return o } +func (o DistributionPolicyZoneConfigurationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DistributionPolicyZoneConfigurationResponse] { + return pulumix.Output[[]DistributionPolicyZoneConfigurationResponse]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyZoneConfigurationResponseArrayOutput) Index(i pulumi.IntInput) DistributionPolicyZoneConfigurationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DistributionPolicyZoneConfigurationResponse { return vs[0].([]DistributionPolicyZoneConfigurationResponse)[vs[1].(int)] @@ -14936,6 +16983,12 @@ func (i DurationArgs) ToDurationOutputWithContext(ctx context.Context) DurationO return pulumi.ToOutputWithContext(ctx, i).(DurationOutput) } +func (i DurationArgs) ToOutput(ctx context.Context) pulumix.Output[Duration] { + return pulumix.Output[Duration]{ + OutputState: i.ToDurationOutputWithContext(ctx).OutputState, + } +} + func (i DurationArgs) ToDurationPtrOutput() DurationPtrOutput { return i.ToDurationPtrOutputWithContext(context.Background()) } @@ -14977,6 +17030,12 @@ func (i *durationPtrType) ToDurationPtrOutputWithContext(ctx context.Context) Du return pulumi.ToOutputWithContext(ctx, i).(DurationPtrOutput) } +func (i *durationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Duration] { + return pulumix.Output[*Duration]{ + OutputState: i.ToDurationPtrOutputWithContext(ctx).OutputState, + } +} + // A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years. type DurationOutput struct{ *pulumi.OutputState } @@ -15002,6 +17061,12 @@ func (o DurationOutput) ToDurationPtrOutputWithContext(ctx context.Context) Dura }).(DurationPtrOutput) } +func (o DurationOutput) ToOutput(ctx context.Context) pulumix.Output[Duration] { + return pulumix.Output[Duration]{ + OutputState: o.OutputState, + } +} + // Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive. func (o DurationOutput) Nanos() pulumi.IntPtrOutput { return o.ApplyT(func(v Duration) *int { return v.Nanos }).(pulumi.IntPtrOutput) @@ -15026,6 +17091,12 @@ func (o DurationPtrOutput) ToDurationPtrOutputWithContext(ctx context.Context) D return o } +func (o DurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Duration] { + return pulumix.Output[*Duration]{ + OutputState: o.OutputState, + } +} + func (o DurationPtrOutput) Elem() DurationOutput { return o.ApplyT(func(v *Duration) Duration { if v != nil { @@ -15079,6 +17150,12 @@ func (o DurationResponseOutput) ToDurationResponseOutputWithContext(ctx context. return o } +func (o DurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DurationResponse] { + return pulumix.Output[DurationResponse]{ + OutputState: o.OutputState, + } +} + // Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive. func (o DurationResponseOutput) Nanos() pulumi.IntOutput { return o.ApplyT(func(v DurationResponse) int { return v.Nanos }).(pulumi.IntOutput) @@ -15114,6 +17191,12 @@ func (o ErrorInfoResponseOutput) ToErrorInfoResponseOutputWithContext(ctx contex return o } +func (o ErrorInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorInfoResponse] { + return pulumix.Output[ErrorInfoResponse]{ + OutputState: o.OutputState, + } +} + // The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". func (o ErrorInfoResponseOutput) Domain() pulumi.StringOutput { return o.ApplyT(func(v ErrorInfoResponse) string { return v.Domain }).(pulumi.StringOutput) @@ -15176,6 +17259,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -15217,6 +17306,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -15242,6 +17337,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -15276,6 +17377,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -15353,6 +17460,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -15416,6 +17529,12 @@ func (i ExternalVpnGatewayInterfaceArgs) ToExternalVpnGatewayInterfaceOutputWith return pulumi.ToOutputWithContext(ctx, i).(ExternalVpnGatewayInterfaceOutput) } +func (i ExternalVpnGatewayInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayInterface] { + return pulumix.Output[ExternalVpnGatewayInterface]{ + OutputState: i.ToExternalVpnGatewayInterfaceOutputWithContext(ctx).OutputState, + } +} + // ExternalVpnGatewayInterfaceArrayInput is an input type that accepts ExternalVpnGatewayInterfaceArray and ExternalVpnGatewayInterfaceArrayOutput values. // You can construct a concrete instance of `ExternalVpnGatewayInterfaceArrayInput` via: // @@ -15441,6 +17560,12 @@ func (i ExternalVpnGatewayInterfaceArray) ToExternalVpnGatewayInterfaceArrayOutp return pulumi.ToOutputWithContext(ctx, i).(ExternalVpnGatewayInterfaceArrayOutput) } +func (i ExternalVpnGatewayInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]ExternalVpnGatewayInterface] { + return pulumix.Output[[]ExternalVpnGatewayInterface]{ + OutputState: i.ToExternalVpnGatewayInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // The interface for the external VPN gateway. type ExternalVpnGatewayInterfaceOutput struct{ *pulumi.OutputState } @@ -15456,6 +17581,12 @@ func (o ExternalVpnGatewayInterfaceOutput) ToExternalVpnGatewayInterfaceOutputWi return o } +func (o ExternalVpnGatewayInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayInterface] { + return pulumix.Output[ExternalVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + // The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3 func (o ExternalVpnGatewayInterfaceOutput) Id() pulumi.IntPtrOutput { return o.ApplyT(func(v ExternalVpnGatewayInterface) *int { return v.Id }).(pulumi.IntPtrOutput) @@ -15485,6 +17616,12 @@ func (o ExternalVpnGatewayInterfaceArrayOutput) ToExternalVpnGatewayInterfaceArr return o } +func (o ExternalVpnGatewayInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExternalVpnGatewayInterface] { + return pulumix.Output[[]ExternalVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayInterfaceArrayOutput) Index(i pulumi.IntInput) ExternalVpnGatewayInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExternalVpnGatewayInterface { return vs[0].([]ExternalVpnGatewayInterface)[vs[1].(int)] @@ -15514,6 +17651,12 @@ func (o ExternalVpnGatewayInterfaceResponseOutput) ToExternalVpnGatewayInterface return o } +func (o ExternalVpnGatewayInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayInterfaceResponse] { + return pulumix.Output[ExternalVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. func (o ExternalVpnGatewayInterfaceResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v ExternalVpnGatewayInterfaceResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -15538,6 +17681,12 @@ func (o ExternalVpnGatewayInterfaceResponseArrayOutput) ToExternalVpnGatewayInte return o } +func (o ExternalVpnGatewayInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExternalVpnGatewayInterfaceResponse] { + return pulumix.Output[[]ExternalVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayInterfaceResponseArrayOutput) Index(i pulumi.IntInput) ExternalVpnGatewayInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExternalVpnGatewayInterfaceResponse { return vs[0].([]ExternalVpnGatewayInterfaceResponse)[vs[1].(int)] @@ -15581,6 +17730,12 @@ func (i FileContentBufferArgs) ToFileContentBufferOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(FileContentBufferOutput) } +func (i FileContentBufferArgs) ToOutput(ctx context.Context) pulumix.Output[FileContentBuffer] { + return pulumix.Output[FileContentBuffer]{ + OutputState: i.ToFileContentBufferOutputWithContext(ctx).OutputState, + } +} + func (i FileContentBufferArgs) ToFileContentBufferPtrOutput() FileContentBufferPtrOutput { return i.ToFileContentBufferPtrOutputWithContext(context.Background()) } @@ -15622,6 +17777,12 @@ func (i *fileContentBufferPtrType) ToFileContentBufferPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(FileContentBufferPtrOutput) } +func (i *fileContentBufferPtrType) ToOutput(ctx context.Context) pulumix.Output[*FileContentBuffer] { + return pulumix.Output[*FileContentBuffer]{ + OutputState: i.ToFileContentBufferPtrOutputWithContext(ctx).OutputState, + } +} + // FileContentBufferArrayInput is an input type that accepts FileContentBufferArray and FileContentBufferArrayOutput values. // You can construct a concrete instance of `FileContentBufferArrayInput` via: // @@ -15647,6 +17808,12 @@ func (i FileContentBufferArray) ToFileContentBufferArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(FileContentBufferArrayOutput) } +func (i FileContentBufferArray) ToOutput(ctx context.Context) pulumix.Output[[]FileContentBuffer] { + return pulumix.Output[[]FileContentBuffer]{ + OutputState: i.ToFileContentBufferArrayOutputWithContext(ctx).OutputState, + } +} + type FileContentBufferOutput struct{ *pulumi.OutputState } func (FileContentBufferOutput) ElementType() reflect.Type { @@ -15671,6 +17838,12 @@ func (o FileContentBufferOutput) ToFileContentBufferPtrOutputWithContext(ctx con }).(FileContentBufferPtrOutput) } +func (o FileContentBufferOutput) ToOutput(ctx context.Context) pulumix.Output[FileContentBuffer] { + return pulumix.Output[FileContentBuffer]{ + OutputState: o.OutputState, + } +} + // The raw content in the secure keys file. func (o FileContentBufferOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v FileContentBuffer) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -15695,6 +17868,12 @@ func (o FileContentBufferPtrOutput) ToFileContentBufferPtrOutputWithContext(ctx return o } +func (o FileContentBufferPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileContentBuffer] { + return pulumix.Output[*FileContentBuffer]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferPtrOutput) Elem() FileContentBufferOutput { return o.ApplyT(func(v *FileContentBuffer) FileContentBuffer { if v != nil { @@ -15739,6 +17918,12 @@ func (o FileContentBufferArrayOutput) ToFileContentBufferArrayOutputWithContext( return o } +func (o FileContentBufferArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileContentBuffer] { + return pulumix.Output[[]FileContentBuffer]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferArrayOutput) Index(i pulumi.IntInput) FileContentBufferOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileContentBuffer { return vs[0].([]FileContentBuffer)[vs[1].(int)] @@ -15766,6 +17951,12 @@ func (o FileContentBufferResponseOutput) ToFileContentBufferResponseOutputWithCo return o } +func (o FileContentBufferResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileContentBufferResponse] { + return pulumix.Output[FileContentBufferResponse]{ + OutputState: o.OutputState, + } +} + // The raw content in the secure keys file. func (o FileContentBufferResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v FileContentBufferResponse) string { return v.Content }).(pulumi.StringOutput) @@ -15790,6 +17981,12 @@ func (o FileContentBufferResponseArrayOutput) ToFileContentBufferResponseArrayOu return o } +func (o FileContentBufferResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileContentBufferResponse] { + return pulumix.Output[[]FileContentBufferResponse]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferResponseArrayOutput) Index(i pulumi.IntInput) FileContentBufferResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileContentBufferResponse { return vs[0].([]FileContentBufferResponse)[vs[1].(int)] @@ -15833,6 +18030,12 @@ func (i FirewallAllowedItemArgs) ToFirewallAllowedItemOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(FirewallAllowedItemOutput) } +func (i FirewallAllowedItemArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallAllowedItem] { + return pulumix.Output[FirewallAllowedItem]{ + OutputState: i.ToFirewallAllowedItemOutputWithContext(ctx).OutputState, + } +} + // FirewallAllowedItemArrayInput is an input type that accepts FirewallAllowedItemArray and FirewallAllowedItemArrayOutput values. // You can construct a concrete instance of `FirewallAllowedItemArrayInput` via: // @@ -15858,6 +18061,12 @@ func (i FirewallAllowedItemArray) ToFirewallAllowedItemArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(FirewallAllowedItemArrayOutput) } +func (i FirewallAllowedItemArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallAllowedItem] { + return pulumix.Output[[]FirewallAllowedItem]{ + OutputState: i.ToFirewallAllowedItemArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallAllowedItemOutput struct{ *pulumi.OutputState } func (FirewallAllowedItemOutput) ElementType() reflect.Type { @@ -15872,6 +18081,12 @@ func (o FirewallAllowedItemOutput) ToFirewallAllowedItemOutputWithContext(ctx co return o } +func (o FirewallAllowedItemOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallAllowedItem] { + return pulumix.Output[FirewallAllowedItem]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallAllowedItemOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallAllowedItem) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -15896,6 +18111,12 @@ func (o FirewallAllowedItemArrayOutput) ToFirewallAllowedItemArrayOutputWithCont return o } +func (o FirewallAllowedItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallAllowedItem] { + return pulumix.Output[[]FirewallAllowedItem]{ + OutputState: o.OutputState, + } +} + func (o FirewallAllowedItemArrayOutput) Index(i pulumi.IntInput) FirewallAllowedItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallAllowedItem { return vs[0].([]FirewallAllowedItem)[vs[1].(int)] @@ -15923,6 +18144,12 @@ func (o FirewallAllowedItemResponseOutput) ToFirewallAllowedItemResponseOutputWi return o } +func (o FirewallAllowedItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallAllowedItemResponse] { + return pulumix.Output[FirewallAllowedItemResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallAllowedItemResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v FirewallAllowedItemResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -15947,6 +18174,12 @@ func (o FirewallAllowedItemResponseArrayOutput) ToFirewallAllowedItemResponseArr return o } +func (o FirewallAllowedItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallAllowedItemResponse] { + return pulumix.Output[[]FirewallAllowedItemResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallAllowedItemResponseArrayOutput) Index(i pulumi.IntInput) FirewallAllowedItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallAllowedItemResponse { return vs[0].([]FirewallAllowedItemResponse)[vs[1].(int)] @@ -15990,6 +18223,12 @@ func (i FirewallDeniedItemArgs) ToFirewallDeniedItemOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(FirewallDeniedItemOutput) } +func (i FirewallDeniedItemArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallDeniedItem] { + return pulumix.Output[FirewallDeniedItem]{ + OutputState: i.ToFirewallDeniedItemOutputWithContext(ctx).OutputState, + } +} + // FirewallDeniedItemArrayInput is an input type that accepts FirewallDeniedItemArray and FirewallDeniedItemArrayOutput values. // You can construct a concrete instance of `FirewallDeniedItemArrayInput` via: // @@ -16015,6 +18254,12 @@ func (i FirewallDeniedItemArray) ToFirewallDeniedItemArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallDeniedItemArrayOutput) } +func (i FirewallDeniedItemArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallDeniedItem] { + return pulumix.Output[[]FirewallDeniedItem]{ + OutputState: i.ToFirewallDeniedItemArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallDeniedItemOutput struct{ *pulumi.OutputState } func (FirewallDeniedItemOutput) ElementType() reflect.Type { @@ -16029,6 +18274,12 @@ func (o FirewallDeniedItemOutput) ToFirewallDeniedItemOutputWithContext(ctx cont return o } +func (o FirewallDeniedItemOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallDeniedItem] { + return pulumix.Output[FirewallDeniedItem]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallDeniedItemOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallDeniedItem) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -16053,6 +18304,12 @@ func (o FirewallDeniedItemArrayOutput) ToFirewallDeniedItemArrayOutputWithContex return o } +func (o FirewallDeniedItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallDeniedItem] { + return pulumix.Output[[]FirewallDeniedItem]{ + OutputState: o.OutputState, + } +} + func (o FirewallDeniedItemArrayOutput) Index(i pulumi.IntInput) FirewallDeniedItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallDeniedItem { return vs[0].([]FirewallDeniedItem)[vs[1].(int)] @@ -16080,6 +18337,12 @@ func (o FirewallDeniedItemResponseOutput) ToFirewallDeniedItemResponseOutputWith return o } +func (o FirewallDeniedItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallDeniedItemResponse] { + return pulumix.Output[FirewallDeniedItemResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallDeniedItemResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v FirewallDeniedItemResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -16104,6 +18367,12 @@ func (o FirewallDeniedItemResponseArrayOutput) ToFirewallDeniedItemResponseArray return o } +func (o FirewallDeniedItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallDeniedItemResponse] { + return pulumix.Output[[]FirewallDeniedItemResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallDeniedItemResponseArrayOutput) Index(i pulumi.IntInput) FirewallDeniedItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallDeniedItemResponse { return vs[0].([]FirewallDeniedItemResponse)[vs[1].(int)] @@ -16149,6 +18418,12 @@ func (i FirewallLogConfigArgs) ToFirewallLogConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(FirewallLogConfigOutput) } +func (i FirewallLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfig] { + return pulumix.Output[FirewallLogConfig]{ + OutputState: i.ToFirewallLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i FirewallLogConfigArgs) ToFirewallLogConfigPtrOutput() FirewallLogConfigPtrOutput { return i.ToFirewallLogConfigPtrOutputWithContext(context.Background()) } @@ -16190,6 +18465,12 @@ func (i *firewallLogConfigPtrType) ToFirewallLogConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(FirewallLogConfigPtrOutput) } +func (i *firewallLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfig] { + return pulumix.Output[*FirewallLogConfig]{ + OutputState: i.ToFirewallLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The available logging options for a firewall rule. type FirewallLogConfigOutput struct{ *pulumi.OutputState } @@ -16215,6 +18496,12 @@ func (o FirewallLogConfigOutput) ToFirewallLogConfigPtrOutputWithContext(ctx con }).(FirewallLogConfigPtrOutput) } +func (o FirewallLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfig] { + return pulumix.Output[FirewallLogConfig]{ + OutputState: o.OutputState, + } +} + // This field denotes whether to enable logging for a particular firewall rule. func (o FirewallLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v FirewallLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -16239,6 +18526,12 @@ func (o FirewallLogConfigPtrOutput) ToFirewallLogConfigPtrOutputWithContext(ctx return o } +func (o FirewallLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfig] { + return pulumix.Output[*FirewallLogConfig]{ + OutputState: o.OutputState, + } +} + func (o FirewallLogConfigPtrOutput) Elem() FirewallLogConfigOutput { return o.ApplyT(func(v *FirewallLogConfig) FirewallLogConfig { if v != nil { @@ -16292,6 +18585,12 @@ func (o FirewallLogConfigResponseOutput) ToFirewallLogConfigResponseOutputWithCo return o } +func (o FirewallLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfigResponse] { + return pulumix.Output[FirewallLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // This field denotes whether to enable logging for a particular firewall rule. func (o FirewallLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v FirewallLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -16343,6 +18642,12 @@ func (i FirewallPolicyAssociationArgs) ToFirewallPolicyAssociationOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyAssociationOutput) } +func (i FirewallPolicyAssociationArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyAssociation] { + return pulumix.Output[FirewallPolicyAssociation]{ + OutputState: i.ToFirewallPolicyAssociationOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyAssociationArrayInput is an input type that accepts FirewallPolicyAssociationArray and FirewallPolicyAssociationArrayOutput values. // You can construct a concrete instance of `FirewallPolicyAssociationArrayInput` via: // @@ -16368,6 +18673,12 @@ func (i FirewallPolicyAssociationArray) ToFirewallPolicyAssociationArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyAssociationArrayOutput) } +func (i FirewallPolicyAssociationArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyAssociation] { + return pulumix.Output[[]FirewallPolicyAssociation]{ + OutputState: i.ToFirewallPolicyAssociationArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyAssociationOutput struct{ *pulumi.OutputState } func (FirewallPolicyAssociationOutput) ElementType() reflect.Type { @@ -16382,6 +18693,12 @@ func (o FirewallPolicyAssociationOutput) ToFirewallPolicyAssociationOutputWithCo return o } +func (o FirewallPolicyAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyAssociation] { + return pulumix.Output[FirewallPolicyAssociation]{ + OutputState: o.OutputState, + } +} + // The target that the firewall policy is attached to. func (o FirewallPolicyAssociationOutput) AttachmentTarget() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyAssociation) *string { return v.AttachmentTarget }).(pulumi.StringPtrOutput) @@ -16411,6 +18728,12 @@ func (o FirewallPolicyAssociationArrayOutput) ToFirewallPolicyAssociationArrayOu return o } +func (o FirewallPolicyAssociationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyAssociation] { + return pulumix.Output[[]FirewallPolicyAssociation]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyAssociationArrayOutput) Index(i pulumi.IntInput) FirewallPolicyAssociationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyAssociation { return vs[0].([]FirewallPolicyAssociation)[vs[1].(int)] @@ -16446,6 +18769,12 @@ func (o FirewallPolicyAssociationResponseOutput) ToFirewallPolicyAssociationResp return o } +func (o FirewallPolicyAssociationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyAssociationResponse] { + return pulumix.Output[FirewallPolicyAssociationResponse]{ + OutputState: o.OutputState, + } +} + // The target that the firewall policy is attached to. func (o FirewallPolicyAssociationResponseOutput) AttachmentTarget() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyAssociationResponse) string { return v.AttachmentTarget }).(pulumi.StringOutput) @@ -16490,6 +18819,12 @@ func (o FirewallPolicyAssociationResponseArrayOutput) ToFirewallPolicyAssociatio return o } +func (o FirewallPolicyAssociationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyAssociationResponse] { + return pulumix.Output[[]FirewallPolicyAssociationResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyAssociationResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyAssociationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyAssociationResponse { return vs[0].([]FirewallPolicyAssociationResponse)[vs[1].(int)] @@ -16579,6 +18914,12 @@ func (i FirewallPolicyRuleArgs) ToFirewallPolicyRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleOutput) } +func (i FirewallPolicyRuleArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRule] { + return pulumix.Output[FirewallPolicyRule]{ + OutputState: i.ToFirewallPolicyRuleOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyRuleArrayInput is an input type that accepts FirewallPolicyRuleArray and FirewallPolicyRuleArrayOutput values. // You can construct a concrete instance of `FirewallPolicyRuleArrayInput` via: // @@ -16604,6 +18945,12 @@ func (i FirewallPolicyRuleArray) ToFirewallPolicyRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleArrayOutput) } +func (i FirewallPolicyRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRule] { + return pulumix.Output[[]FirewallPolicyRule]{ + OutputState: i.ToFirewallPolicyRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). type FirewallPolicyRuleOutput struct{ *pulumi.OutputState } @@ -16619,6 +18966,12 @@ func (o FirewallPolicyRuleOutput) ToFirewallPolicyRuleOutputWithContext(ctx cont return o } +func (o FirewallPolicyRuleOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRule] { + return pulumix.Output[FirewallPolicyRule]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". func (o FirewallPolicyRuleOutput) Action() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyRule) *string { return v.Action }).(pulumi.StringPtrOutput) @@ -16698,6 +19051,12 @@ func (o FirewallPolicyRuleArrayOutput) ToFirewallPolicyRuleArrayOutputWithContex return o } +func (o FirewallPolicyRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRule] { + return pulumix.Output[[]FirewallPolicyRule]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRule { return vs[0].([]FirewallPolicyRule)[vs[1].(int)] @@ -16783,6 +19142,12 @@ func (i FirewallPolicyRuleMatcherArgs) ToFirewallPolicyRuleMatcherOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherOutput) } +func (i FirewallPolicyRuleMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcher] { + return pulumix.Output[FirewallPolicyRuleMatcher]{ + OutputState: i.ToFirewallPolicyRuleMatcherOutputWithContext(ctx).OutputState, + } +} + func (i FirewallPolicyRuleMatcherArgs) ToFirewallPolicyRuleMatcherPtrOutput() FirewallPolicyRuleMatcherPtrOutput { return i.ToFirewallPolicyRuleMatcherPtrOutputWithContext(context.Background()) } @@ -16824,6 +19189,12 @@ func (i *firewallPolicyRuleMatcherPtrType) ToFirewallPolicyRuleMatcherPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherPtrOutput) } +func (i *firewallPolicyRuleMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleMatcher] { + return pulumix.Output[*FirewallPolicyRuleMatcher]{ + OutputState: i.ToFirewallPolicyRuleMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. type FirewallPolicyRuleMatcherOutput struct{ *pulumi.OutputState } @@ -16849,6 +19220,12 @@ func (o FirewallPolicyRuleMatcherOutput) ToFirewallPolicyRuleMatcherPtrOutputWit }).(FirewallPolicyRuleMatcherPtrOutput) } +func (o FirewallPolicyRuleMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcher] { + return pulumix.Output[FirewallPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + // Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. func (o FirewallPolicyRuleMatcherOutput) DestAddressGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcher) []string { return v.DestAddressGroups }).(pulumi.StringArrayOutput) @@ -16923,6 +19300,12 @@ func (o FirewallPolicyRuleMatcherPtrOutput) ToFirewallPolicyRuleMatcherPtrOutput return o } +func (o FirewallPolicyRuleMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleMatcher] { + return pulumix.Output[*FirewallPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleMatcherPtrOutput) Elem() FirewallPolicyRuleMatcherOutput { return o.ApplyT(func(v *FirewallPolicyRuleMatcher) FirewallPolicyRuleMatcher { if v != nil { @@ -17090,6 +19473,12 @@ func (i FirewallPolicyRuleMatcherLayer4ConfigArgs) ToFirewallPolicyRuleMatcherLa return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherLayer4ConfigOutput) } +func (i FirewallPolicyRuleMatcherLayer4ConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: i.ToFirewallPolicyRuleMatcherLayer4ConfigOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyRuleMatcherLayer4ConfigArrayInput is an input type that accepts FirewallPolicyRuleMatcherLayer4ConfigArray and FirewallPolicyRuleMatcherLayer4ConfigArrayOutput values. // You can construct a concrete instance of `FirewallPolicyRuleMatcherLayer4ConfigArrayInput` via: // @@ -17115,6 +19504,12 @@ func (i FirewallPolicyRuleMatcherLayer4ConfigArray) ToFirewallPolicyRuleMatcherL return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) } +func (i FirewallPolicyRuleMatcherLayer4ConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: i.ToFirewallPolicyRuleMatcherLayer4ConfigArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyRuleMatcherLayer4ConfigOutput struct{ *pulumi.OutputState } func (FirewallPolicyRuleMatcherLayer4ConfigOutput) ElementType() reflect.Type { @@ -17129,6 +19524,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigOutput) ToFirewallPolicyRuleMatcher return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o FirewallPolicyRuleMatcherLayer4ConfigOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcherLayer4Config) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -17153,6 +19554,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) ToFirewallPolicyRuleMa return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleMatcherLayer4ConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleMatcherLayer4Config { return vs[0].([]FirewallPolicyRuleMatcherLayer4Config)[vs[1].(int)] @@ -17180,6 +19587,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigResponseOutput) ToFirewallPolicyRul return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherLayer4ConfigResponse] { + return pulumix.Output[FirewallPolicyRuleMatcherLayer4ConfigResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o FirewallPolicyRuleMatcherLayer4ConfigResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcherLayer4ConfigResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -17204,6 +19617,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigResponseArrayOutput) ToFirewallPoli return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleMatcherLayer4ConfigResponse] { + return pulumix.Output[[]FirewallPolicyRuleMatcherLayer4ConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleMatcherLayer4ConfigResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleMatcherLayer4ConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleMatcherLayer4ConfigResponse { return vs[0].([]FirewallPolicyRuleMatcherLayer4ConfigResponse)[vs[1].(int)] @@ -17253,6 +19672,12 @@ func (o FirewallPolicyRuleMatcherResponseOutput) ToFirewallPolicyRuleMatcherResp return o } +func (o FirewallPolicyRuleMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherResponse] { + return pulumix.Output[FirewallPolicyRuleMatcherResponse]{ + OutputState: o.OutputState, + } +} + // Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. func (o FirewallPolicyRuleMatcherResponseOutput) DestAddressGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcherResponse) []string { return v.DestAddressGroups }).(pulumi.StringArrayOutput) @@ -17366,6 +19791,12 @@ func (o FirewallPolicyRuleResponseOutput) ToFirewallPolicyRuleResponseOutputWith return o } +func (o FirewallPolicyRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleResponse] { + return pulumix.Output[FirewallPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". func (o FirewallPolicyRuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyRuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -17455,6 +19886,12 @@ func (o FirewallPolicyRuleResponseArrayOutput) ToFirewallPolicyRuleResponseArray return o } +func (o FirewallPolicyRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleResponse] { + return pulumix.Output[[]FirewallPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleResponse { return vs[0].([]FirewallPolicyRuleResponse)[vs[1].(int)] @@ -17494,6 +19931,12 @@ func (i FirewallPolicyRuleSecureTagArgs) ToFirewallPolicyRuleSecureTagOutputWith return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleSecureTagOutput) } +func (i FirewallPolicyRuleSecureTagArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleSecureTag] { + return pulumix.Output[FirewallPolicyRuleSecureTag]{ + OutputState: i.ToFirewallPolicyRuleSecureTagOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyRuleSecureTagArrayInput is an input type that accepts FirewallPolicyRuleSecureTagArray and FirewallPolicyRuleSecureTagArrayOutput values. // You can construct a concrete instance of `FirewallPolicyRuleSecureTagArrayInput` via: // @@ -17519,6 +19962,12 @@ func (i FirewallPolicyRuleSecureTagArray) ToFirewallPolicyRuleSecureTagArrayOutp return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleSecureTagArrayOutput) } +func (i FirewallPolicyRuleSecureTagArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleSecureTag] { + return pulumix.Output[[]FirewallPolicyRuleSecureTag]{ + OutputState: i.ToFirewallPolicyRuleSecureTagArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyRuleSecureTagOutput struct{ *pulumi.OutputState } func (FirewallPolicyRuleSecureTagOutput) ElementType() reflect.Type { @@ -17533,6 +19982,12 @@ func (o FirewallPolicyRuleSecureTagOutput) ToFirewallPolicyRuleSecureTagOutputWi return o } +func (o FirewallPolicyRuleSecureTagOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleSecureTag] { + return pulumix.Output[FirewallPolicyRuleSecureTag]{ + OutputState: o.OutputState, + } +} + // Name of the secure tag, created with TagManager's TagValue API. func (o FirewallPolicyRuleSecureTagOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyRuleSecureTag) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -17552,6 +20007,12 @@ func (o FirewallPolicyRuleSecureTagArrayOutput) ToFirewallPolicyRuleSecureTagArr return o } +func (o FirewallPolicyRuleSecureTagArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleSecureTag] { + return pulumix.Output[[]FirewallPolicyRuleSecureTag]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleSecureTagArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleSecureTagOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleSecureTag { return vs[0].([]FirewallPolicyRuleSecureTag)[vs[1].(int)] @@ -17579,6 +20040,12 @@ func (o FirewallPolicyRuleSecureTagResponseOutput) ToFirewallPolicyRuleSecureTag return o } +func (o FirewallPolicyRuleSecureTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleSecureTagResponse] { + return pulumix.Output[FirewallPolicyRuleSecureTagResponse]{ + OutputState: o.OutputState, + } +} + // Name of the secure tag, created with TagManager's TagValue API. func (o FirewallPolicyRuleSecureTagResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyRuleSecureTagResponse) string { return v.Name }).(pulumi.StringOutput) @@ -17603,6 +20070,12 @@ func (o FirewallPolicyRuleSecureTagResponseArrayOutput) ToFirewallPolicyRuleSecu return o } +func (o FirewallPolicyRuleSecureTagResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleSecureTagResponse] { + return pulumix.Output[[]FirewallPolicyRuleSecureTagResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleSecureTagResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleSecureTagResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleSecureTagResponse { return vs[0].([]FirewallPolicyRuleSecureTagResponse)[vs[1].(int)] @@ -17648,6 +20121,12 @@ func (i FixedOrPercentArgs) ToFixedOrPercentOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentOutput) } +func (i FixedOrPercentArgs) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: i.ToFixedOrPercentOutputWithContext(ctx).OutputState, + } +} + func (i FixedOrPercentArgs) ToFixedOrPercentPtrOutput() FixedOrPercentPtrOutput { return i.ToFixedOrPercentPtrOutputWithContext(context.Background()) } @@ -17689,6 +20168,12 @@ func (i *fixedOrPercentPtrType) ToFixedOrPercentPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentPtrOutput) } +func (i *fixedOrPercentPtrType) ToOutput(ctx context.Context) pulumix.Output[*FixedOrPercent] { + return pulumix.Output[*FixedOrPercent]{ + OutputState: i.ToFixedOrPercentPtrOutputWithContext(ctx).OutputState, + } +} + // Encapsulates numeric value that can be either absolute or relative. type FixedOrPercentOutput struct{ *pulumi.OutputState } @@ -17714,6 +20199,12 @@ func (o FixedOrPercentOutput) ToFixedOrPercentPtrOutputWithContext(ctx context.C }).(FixedOrPercentPtrOutput) } +func (o FixedOrPercentOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: o.OutputState, + } +} + // Specifies a fixed number of VM instances. This must be a positive integer. func (o FixedOrPercentOutput) Fixed() pulumi.IntPtrOutput { return o.ApplyT(func(v FixedOrPercent) *int { return v.Fixed }).(pulumi.IntPtrOutput) @@ -17738,6 +20229,12 @@ func (o FixedOrPercentPtrOutput) ToFixedOrPercentPtrOutputWithContext(ctx contex return o } +func (o FixedOrPercentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FixedOrPercent] { + return pulumix.Output[*FixedOrPercent]{ + OutputState: o.OutputState, + } +} + func (o FixedOrPercentPtrOutput) Elem() FixedOrPercentOutput { return o.ApplyT(func(v *FixedOrPercent) FixedOrPercent { if v != nil { @@ -17793,6 +20290,12 @@ func (o FixedOrPercentResponseOutput) ToFixedOrPercentResponseOutputWithContext( return o } +func (o FixedOrPercentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercentResponse] { + return pulumix.Output[FixedOrPercentResponse]{ + OutputState: o.OutputState, + } +} + // Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded. func (o FixedOrPercentResponseOutput) Calculated() pulumi.IntOutput { return o.ApplyT(func(v FixedOrPercentResponse) int { return v.Calculated }).(pulumi.IntOutput) @@ -17851,6 +20354,12 @@ func (i ForwardingRuleServiceDirectoryRegistrationArgs) ToForwardingRuleServiceD return pulumi.ToOutputWithContext(ctx, i).(ForwardingRuleServiceDirectoryRegistrationOutput) } +func (i ForwardingRuleServiceDirectoryRegistrationArgs) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[ForwardingRuleServiceDirectoryRegistration]{ + OutputState: i.ToForwardingRuleServiceDirectoryRegistrationOutputWithContext(ctx).OutputState, + } +} + // ForwardingRuleServiceDirectoryRegistrationArrayInput is an input type that accepts ForwardingRuleServiceDirectoryRegistrationArray and ForwardingRuleServiceDirectoryRegistrationArrayOutput values. // You can construct a concrete instance of `ForwardingRuleServiceDirectoryRegistrationArrayInput` via: // @@ -17876,6 +20385,12 @@ func (i ForwardingRuleServiceDirectoryRegistrationArray) ToForwardingRuleService return pulumi.ToOutputWithContext(ctx, i).(ForwardingRuleServiceDirectoryRegistrationArrayOutput) } +func (i ForwardingRuleServiceDirectoryRegistrationArray) ToOutput(ctx context.Context) pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration]{ + OutputState: i.ToForwardingRuleServiceDirectoryRegistrationArrayOutputWithContext(ctx).OutputState, + } +} + // Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule. type ForwardingRuleServiceDirectoryRegistrationOutput struct{ *pulumi.OutputState } @@ -17891,6 +20406,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationOutput) ToForwardingRuleServic return o } +func (o ForwardingRuleServiceDirectoryRegistrationOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[ForwardingRuleServiceDirectoryRegistration]{ + OutputState: o.OutputState, + } +} + // Service Directory namespace to register the forwarding rule under. func (o ForwardingRuleServiceDirectoryRegistrationOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v ForwardingRuleServiceDirectoryRegistration) *string { return v.Namespace }).(pulumi.StringPtrOutput) @@ -17920,6 +20441,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationArrayOutput) ToForwardingRuleS return o } +func (o ForwardingRuleServiceDirectoryRegistrationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleServiceDirectoryRegistrationArrayOutput) Index(i pulumi.IntInput) ForwardingRuleServiceDirectoryRegistrationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ForwardingRuleServiceDirectoryRegistration { return vs[0].([]ForwardingRuleServiceDirectoryRegistration)[vs[1].(int)] @@ -17951,6 +20478,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationResponseOutput) ToForwardingRu return o } +func (o ForwardingRuleServiceDirectoryRegistrationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleServiceDirectoryRegistrationResponse] { + return pulumix.Output[ForwardingRuleServiceDirectoryRegistrationResponse]{ + OutputState: o.OutputState, + } +} + // Service Directory namespace to register the forwarding rule under. func (o ForwardingRuleServiceDirectoryRegistrationResponseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v ForwardingRuleServiceDirectoryRegistrationResponse) string { return v.Namespace }).(pulumi.StringOutput) @@ -17980,6 +20513,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationResponseArrayOutput) ToForward return o } +func (o ForwardingRuleServiceDirectoryRegistrationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ForwardingRuleServiceDirectoryRegistrationResponse] { + return pulumix.Output[[]ForwardingRuleServiceDirectoryRegistrationResponse]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleServiceDirectoryRegistrationResponseArrayOutput) Index(i pulumi.IntInput) ForwardingRuleServiceDirectoryRegistrationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ForwardingRuleServiceDirectoryRegistrationResponse { return vs[0].([]ForwardingRuleServiceDirectoryRegistrationResponse)[vs[1].(int)] @@ -18027,6 +20566,12 @@ func (i FutureReservationSpecificSKUPropertiesArgs) ToFutureReservationSpecificS return pulumi.ToOutputWithContext(ctx, i).(FutureReservationSpecificSKUPropertiesOutput) } +func (i FutureReservationSpecificSKUPropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[FutureReservationSpecificSKUProperties] { + return pulumix.Output[FutureReservationSpecificSKUProperties]{ + OutputState: i.ToFutureReservationSpecificSKUPropertiesOutputWithContext(ctx).OutputState, + } +} + func (i FutureReservationSpecificSKUPropertiesArgs) ToFutureReservationSpecificSKUPropertiesPtrOutput() FutureReservationSpecificSKUPropertiesPtrOutput { return i.ToFutureReservationSpecificSKUPropertiesPtrOutputWithContext(context.Background()) } @@ -18068,6 +20613,12 @@ func (i *futureReservationSpecificSKUPropertiesPtrType) ToFutureReservationSpeci return pulumi.ToOutputWithContext(ctx, i).(FutureReservationSpecificSKUPropertiesPtrOutput) } +func (i *futureReservationSpecificSKUPropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*FutureReservationSpecificSKUProperties] { + return pulumix.Output[*FutureReservationSpecificSKUProperties]{ + OutputState: i.ToFutureReservationSpecificSKUPropertiesPtrOutputWithContext(ctx).OutputState, + } +} + type FutureReservationSpecificSKUPropertiesOutput struct{ *pulumi.OutputState } func (FutureReservationSpecificSKUPropertiesOutput) ElementType() reflect.Type { @@ -18092,6 +20643,12 @@ func (o FutureReservationSpecificSKUPropertiesOutput) ToFutureReservationSpecifi }).(FutureReservationSpecificSKUPropertiesPtrOutput) } +func (o FutureReservationSpecificSKUPropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[FutureReservationSpecificSKUProperties] { + return pulumix.Output[FutureReservationSpecificSKUProperties]{ + OutputState: o.OutputState, + } +} + // Properties of the SKU instances being reserved. func (o FutureReservationSpecificSKUPropertiesOutput) InstanceProperties() AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput { return o.ApplyT(func(v FutureReservationSpecificSKUProperties) *AllocationSpecificSKUAllocationReservedInstanceProperties { @@ -18123,6 +20680,12 @@ func (o FutureReservationSpecificSKUPropertiesPtrOutput) ToFutureReservationSpec return o } +func (o FutureReservationSpecificSKUPropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FutureReservationSpecificSKUProperties] { + return pulumix.Output[*FutureReservationSpecificSKUProperties]{ + OutputState: o.OutputState, + } +} + func (o FutureReservationSpecificSKUPropertiesPtrOutput) Elem() FutureReservationSpecificSKUPropertiesOutput { return o.ApplyT(func(v *FutureReservationSpecificSKUProperties) FutureReservationSpecificSKUProperties { if v != nil { @@ -18186,6 +20749,12 @@ func (o FutureReservationSpecificSKUPropertiesResponseOutput) ToFutureReservatio return o } +func (o FutureReservationSpecificSKUPropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FutureReservationSpecificSKUPropertiesResponse] { + return pulumix.Output[FutureReservationSpecificSKUPropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Properties of the SKU instances being reserved. func (o FutureReservationSpecificSKUPropertiesResponseOutput) InstanceProperties() AllocationSpecificSKUAllocationReservedInstancePropertiesResponseOutput { return o.ApplyT(func(v FutureReservationSpecificSKUPropertiesResponse) AllocationSpecificSKUAllocationReservedInstancePropertiesResponse { @@ -18228,6 +20797,12 @@ func (o FutureReservationStatusLastKnownGoodStateFutureReservationSpecsResponseO return o } +func (o FutureReservationStatusLastKnownGoodStateFutureReservationSpecsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FutureReservationStatusLastKnownGoodStateFutureReservationSpecsResponse] { + return pulumix.Output[FutureReservationStatusLastKnownGoodStateFutureReservationSpecsResponse]{ + OutputState: o.OutputState, + } +} + // The previous share settings of the Future Reservation. func (o FutureReservationStatusLastKnownGoodStateFutureReservationSpecsResponseOutput) ShareSettings() ShareSettingsResponseOutput { return o.ApplyT(func(v FutureReservationStatusLastKnownGoodStateFutureReservationSpecsResponse) ShareSettingsResponse { @@ -18275,6 +20850,12 @@ func (o FutureReservationStatusLastKnownGoodStateResponseOutput) ToFutureReserva return o } +func (o FutureReservationStatusLastKnownGoodStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FutureReservationStatusLastKnownGoodStateResponse] { + return pulumix.Output[FutureReservationStatusLastKnownGoodStateResponse]{ + OutputState: o.OutputState, + } +} + // The description of the FutureReservation before an amendment was requested. func (o FutureReservationStatusLastKnownGoodStateResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v FutureReservationStatusLastKnownGoodStateResponse) string { return v.Description }).(pulumi.StringOutput) @@ -18328,6 +20909,12 @@ func (o FutureReservationStatusResponseOutput) ToFutureReservationStatusResponse return o } +func (o FutureReservationStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FutureReservationStatusResponse] { + return pulumix.Output[FutureReservationStatusResponse]{ + OutputState: o.OutputState, + } +} + // The current status of the requested amendment. func (o FutureReservationStatusResponseOutput) AmendmentStatus() pulumi.StringOutput { return o.ApplyT(func(v FutureReservationStatusResponse) string { return v.AmendmentStatus }).(pulumi.StringOutput) @@ -18387,6 +20974,12 @@ func (o FutureReservationStatusSpecificSKUPropertiesResponseOutput) ToFutureRese return o } +func (o FutureReservationStatusSpecificSKUPropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FutureReservationStatusSpecificSKUPropertiesResponse] { + return pulumix.Output[FutureReservationStatusSpecificSKUPropertiesResponse]{ + OutputState: o.OutputState, + } +} + // ID of the instance template used to populate the Future Reservation properties. func (o FutureReservationStatusSpecificSKUPropertiesResponseOutput) SourceInstanceTemplateId() pulumi.StringOutput { return o.ApplyT(func(v FutureReservationStatusSpecificSKUPropertiesResponse) string { return v.SourceInstanceTemplateId }).(pulumi.StringOutput) @@ -18429,6 +21022,12 @@ func (i FutureReservationTimeWindowArgs) ToFutureReservationTimeWindowOutputWith return pulumi.ToOutputWithContext(ctx, i).(FutureReservationTimeWindowOutput) } +func (i FutureReservationTimeWindowArgs) ToOutput(ctx context.Context) pulumix.Output[FutureReservationTimeWindow] { + return pulumix.Output[FutureReservationTimeWindow]{ + OutputState: i.ToFutureReservationTimeWindowOutputWithContext(ctx).OutputState, + } +} + func (i FutureReservationTimeWindowArgs) ToFutureReservationTimeWindowPtrOutput() FutureReservationTimeWindowPtrOutput { return i.ToFutureReservationTimeWindowPtrOutputWithContext(context.Background()) } @@ -18470,6 +21069,12 @@ func (i *futureReservationTimeWindowPtrType) ToFutureReservationTimeWindowPtrOut return pulumi.ToOutputWithContext(ctx, i).(FutureReservationTimeWindowPtrOutput) } +func (i *futureReservationTimeWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*FutureReservationTimeWindow] { + return pulumix.Output[*FutureReservationTimeWindow]{ + OutputState: i.ToFutureReservationTimeWindowPtrOutputWithContext(ctx).OutputState, + } +} + type FutureReservationTimeWindowOutput struct{ *pulumi.OutputState } func (FutureReservationTimeWindowOutput) ElementType() reflect.Type { @@ -18494,6 +21099,12 @@ func (o FutureReservationTimeWindowOutput) ToFutureReservationTimeWindowPtrOutpu }).(FutureReservationTimeWindowPtrOutput) } +func (o FutureReservationTimeWindowOutput) ToOutput(ctx context.Context) pulumix.Output[FutureReservationTimeWindow] { + return pulumix.Output[FutureReservationTimeWindow]{ + OutputState: o.OutputState, + } +} + func (o FutureReservationTimeWindowOutput) Duration() DurationPtrOutput { return o.ApplyT(func(v FutureReservationTimeWindow) *Duration { return v.Duration }).(DurationPtrOutput) } @@ -18521,6 +21132,12 @@ func (o FutureReservationTimeWindowPtrOutput) ToFutureReservationTimeWindowPtrOu return o } +func (o FutureReservationTimeWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FutureReservationTimeWindow] { + return pulumix.Output[*FutureReservationTimeWindow]{ + OutputState: o.OutputState, + } +} + func (o FutureReservationTimeWindowPtrOutput) Elem() FutureReservationTimeWindowOutput { return o.ApplyT(func(v *FutureReservationTimeWindow) FutureReservationTimeWindow { if v != nil { @@ -18580,6 +21197,12 @@ func (o FutureReservationTimeWindowResponseOutput) ToFutureReservationTimeWindow return o } +func (o FutureReservationTimeWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FutureReservationTimeWindowResponse] { + return pulumix.Output[FutureReservationTimeWindowResponse]{ + OutputState: o.OutputState, + } +} + func (o FutureReservationTimeWindowResponseOutput) Duration() DurationResponseOutput { return o.ApplyT(func(v FutureReservationTimeWindowResponse) DurationResponse { return v.Duration }).(DurationResponseOutput) } @@ -18638,6 +21261,12 @@ func (i GRPCHealthCheckArgs) ToGRPCHealthCheckOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GRPCHealthCheckOutput) } +func (i GRPCHealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheck] { + return pulumix.Output[GRPCHealthCheck]{ + OutputState: i.ToGRPCHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i GRPCHealthCheckArgs) ToGRPCHealthCheckPtrOutput() GRPCHealthCheckPtrOutput { return i.ToGRPCHealthCheckPtrOutputWithContext(context.Background()) } @@ -18679,6 +21308,12 @@ func (i *grpchealthCheckPtrType) ToGRPCHealthCheckPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GRPCHealthCheckPtrOutput) } +func (i *grpchealthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheck] { + return pulumix.Output[*GRPCHealthCheck]{ + OutputState: i.ToGRPCHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type GRPCHealthCheckOutput struct{ *pulumi.OutputState } func (GRPCHealthCheckOutput) ElementType() reflect.Type { @@ -18703,6 +21338,12 @@ func (o GRPCHealthCheckOutput) ToGRPCHealthCheckPtrOutputWithContext(ctx context }).(GRPCHealthCheckPtrOutput) } +func (o GRPCHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheck] { + return pulumix.Output[GRPCHealthCheck]{ + OutputState: o.OutputState, + } +} + // The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII. func (o GRPCHealthCheckOutput) GrpcServiceName() pulumi.StringPtrOutput { return o.ApplyT(func(v GRPCHealthCheck) *string { return v.GrpcServiceName }).(pulumi.StringPtrOutput) @@ -18737,6 +21378,12 @@ func (o GRPCHealthCheckPtrOutput) ToGRPCHealthCheckPtrOutputWithContext(ctx cont return o } +func (o GRPCHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheck] { + return pulumix.Output[*GRPCHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o GRPCHealthCheckPtrOutput) Elem() GRPCHealthCheckOutput { return o.ApplyT(func(v *GRPCHealthCheck) GRPCHealthCheck { if v != nil { @@ -18812,6 +21459,12 @@ func (o GRPCHealthCheckResponseOutput) ToGRPCHealthCheckResponseOutputWithContex return o } +func (o GRPCHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheckResponse] { + return pulumix.Output[GRPCHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII. func (o GRPCHealthCheckResponseOutput) GrpcServiceName() pulumi.StringOutput { return o.ApplyT(func(v GRPCHealthCheckResponse) string { return v.GrpcServiceName }).(pulumi.StringOutput) @@ -18875,6 +21528,12 @@ func (i GrpcServiceConfigArgs) ToGrpcServiceConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GrpcServiceConfigOutput) } +func (i GrpcServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcServiceConfig] { + return pulumix.Output[GrpcServiceConfig]{ + OutputState: i.ToGrpcServiceConfigOutputWithContext(ctx).OutputState, + } +} + func (i GrpcServiceConfigArgs) ToGrpcServiceConfigPtrOutput() GrpcServiceConfigPtrOutput { return i.ToGrpcServiceConfigPtrOutputWithContext(context.Background()) } @@ -18916,6 +21575,12 @@ func (i *grpcServiceConfigPtrType) ToGrpcServiceConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(GrpcServiceConfigPtrOutput) } +func (i *grpcServiceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcServiceConfig] { + return pulumix.Output[*GrpcServiceConfig]{ + OutputState: i.ToGrpcServiceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] gRPC config to access the SDS server. gRPC config to access the SDS server. type GrpcServiceConfigOutput struct{ *pulumi.OutputState } @@ -18941,6 +21606,12 @@ func (o GrpcServiceConfigOutput) ToGrpcServiceConfigPtrOutputWithContext(ctx con }).(GrpcServiceConfigPtrOutput) } +func (o GrpcServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcServiceConfig] { + return pulumix.Output[GrpcServiceConfig]{ + OutputState: o.OutputState, + } +} + // The call credentials to access the SDS server. func (o GrpcServiceConfigOutput) CallCredentials() CallCredentialsPtrOutput { return o.ApplyT(func(v GrpcServiceConfig) *CallCredentials { return v.CallCredentials }).(CallCredentialsPtrOutput) @@ -18970,6 +21641,12 @@ func (o GrpcServiceConfigPtrOutput) ToGrpcServiceConfigPtrOutputWithContext(ctx return o } +func (o GrpcServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcServiceConfig] { + return pulumix.Output[*GrpcServiceConfig]{ + OutputState: o.OutputState, + } +} + func (o GrpcServiceConfigPtrOutput) Elem() GrpcServiceConfigOutput { return o.ApplyT(func(v *GrpcServiceConfig) GrpcServiceConfig { if v != nil { @@ -19035,6 +21712,12 @@ func (o GrpcServiceConfigResponseOutput) ToGrpcServiceConfigResponseOutputWithCo return o } +func (o GrpcServiceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcServiceConfigResponse] { + return pulumix.Output[GrpcServiceConfigResponse]{ + OutputState: o.OutputState, + } +} + // The call credentials to access the SDS server. func (o GrpcServiceConfigResponseOutput) CallCredentials() CallCredentialsResponseOutput { return o.ApplyT(func(v GrpcServiceConfigResponse) CallCredentialsResponse { return v.CallCredentials }).(CallCredentialsResponseOutput) @@ -19085,6 +21768,12 @@ func (i GuestOsFeatureArgs) ToGuestOsFeatureOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GuestOsFeatureOutput) } +func (i GuestOsFeatureArgs) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeature] { + return pulumix.Output[GuestOsFeature]{ + OutputState: i.ToGuestOsFeatureOutputWithContext(ctx).OutputState, + } +} + // GuestOsFeatureArrayInput is an input type that accepts GuestOsFeatureArray and GuestOsFeatureArrayOutput values. // You can construct a concrete instance of `GuestOsFeatureArrayInput` via: // @@ -19110,6 +21799,12 @@ func (i GuestOsFeatureArray) ToGuestOsFeatureArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GuestOsFeatureArrayOutput) } +func (i GuestOsFeatureArray) ToOutput(ctx context.Context) pulumix.Output[[]GuestOsFeature] { + return pulumix.Output[[]GuestOsFeature]{ + OutputState: i.ToGuestOsFeatureArrayOutputWithContext(ctx).OutputState, + } +} + // Guest OS features. type GuestOsFeatureOutput struct{ *pulumi.OutputState } @@ -19125,6 +21820,12 @@ func (o GuestOsFeatureOutput) ToGuestOsFeatureOutputWithContext(ctx context.Cont return o } +func (o GuestOsFeatureOutput) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeature] { + return pulumix.Output[GuestOsFeature]{ + OutputState: o.OutputState, + } +} + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features. func (o GuestOsFeatureOutput) Type() GuestOsFeatureTypePtrOutput { return o.ApplyT(func(v GuestOsFeature) *GuestOsFeatureType { return v.Type }).(GuestOsFeatureTypePtrOutput) @@ -19144,6 +21845,12 @@ func (o GuestOsFeatureArrayOutput) ToGuestOsFeatureArrayOutputWithContext(ctx co return o } +func (o GuestOsFeatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GuestOsFeature] { + return pulumix.Output[[]GuestOsFeature]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureArrayOutput) Index(i pulumi.IntInput) GuestOsFeatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GuestOsFeature { return vs[0].([]GuestOsFeature)[vs[1].(int)] @@ -19171,6 +21878,12 @@ func (o GuestOsFeatureResponseOutput) ToGuestOsFeatureResponseOutputWithContext( return o } +func (o GuestOsFeatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeatureResponse] { + return pulumix.Output[GuestOsFeatureResponse]{ + OutputState: o.OutputState, + } +} + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features. func (o GuestOsFeatureResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GuestOsFeatureResponse) string { return v.Type }).(pulumi.StringOutput) @@ -19190,6 +21903,12 @@ func (o GuestOsFeatureResponseArrayOutput) ToGuestOsFeatureResponseArrayOutputWi return o } +func (o GuestOsFeatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GuestOsFeatureResponse] { + return pulumix.Output[[]GuestOsFeatureResponse]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureResponseArrayOutput) Index(i pulumi.IntInput) GuestOsFeatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GuestOsFeatureResponse { return vs[0].([]GuestOsFeatureResponse)[vs[1].(int)] @@ -19257,6 +21976,12 @@ func (i HTTP2HealthCheckArgs) ToHTTP2HealthCheckOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HTTP2HealthCheckOutput) } +func (i HTTP2HealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheck] { + return pulumix.Output[HTTP2HealthCheck]{ + OutputState: i.ToHTTP2HealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i HTTP2HealthCheckArgs) ToHTTP2HealthCheckPtrOutput() HTTP2HealthCheckPtrOutput { return i.ToHTTP2HealthCheckPtrOutputWithContext(context.Background()) } @@ -19298,6 +22023,12 @@ func (i *http2healthCheckPtrType) ToHTTP2HealthCheckPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(HTTP2HealthCheckPtrOutput) } +func (i *http2healthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheck] { + return pulumix.Output[*HTTP2HealthCheck]{ + OutputState: i.ToHTTP2HealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type HTTP2HealthCheckOutput struct{ *pulumi.OutputState } func (HTTP2HealthCheckOutput) ElementType() reflect.Type { @@ -19322,6 +22053,12 @@ func (o HTTP2HealthCheckOutput) ToHTTP2HealthCheckPtrOutputWithContext(ctx conte }).(HTTP2HealthCheckPtrOutput) } +func (o HTTP2HealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheck] { + return pulumix.Output[HTTP2HealthCheck]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP/2 health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTP2HealthCheckOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v HTTP2HealthCheck) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -19376,6 +22113,12 @@ func (o HTTP2HealthCheckPtrOutput) ToHTTP2HealthCheckPtrOutputWithContext(ctx co return o } +func (o HTTP2HealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheck] { + return pulumix.Output[*HTTP2HealthCheck]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckPtrOutput) Elem() HTTP2HealthCheckOutput { return o.ApplyT(func(v *HTTP2HealthCheck) HTTP2HealthCheck { if v != nil { @@ -19499,6 +22242,12 @@ func (o HTTP2HealthCheckResponseOutput) ToHTTP2HealthCheckResponseOutputWithCont return o } +func (o HTTP2HealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheckResponse] { + return pulumix.Output[HTTP2HealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP/2 health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTP2HealthCheckResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v HTTP2HealthCheckResponse) string { return v.Host }).(pulumi.StringOutput) @@ -19600,6 +22349,12 @@ func (i HTTPHealthCheckTypeArgs) ToHTTPHealthCheckTypeOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HTTPHealthCheckTypeOutput) } +func (i HTTPHealthCheckTypeArgs) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckType] { + return pulumix.Output[HTTPHealthCheckType]{ + OutputState: i.ToHTTPHealthCheckTypeOutputWithContext(ctx).OutputState, + } +} + func (i HTTPHealthCheckTypeArgs) ToHTTPHealthCheckTypePtrOutput() HTTPHealthCheckTypePtrOutput { return i.ToHTTPHealthCheckTypePtrOutputWithContext(context.Background()) } @@ -19641,6 +22396,12 @@ func (i *httphealthCheckTypePtrType) ToHTTPHealthCheckTypePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(HTTPHealthCheckTypePtrOutput) } +func (i *httphealthCheckTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckType] { + return pulumix.Output[*HTTPHealthCheckType]{ + OutputState: i.ToHTTPHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + type HTTPHealthCheckTypeOutput struct{ *pulumi.OutputState } func (HTTPHealthCheckTypeOutput) ElementType() reflect.Type { @@ -19665,6 +22426,12 @@ func (o HTTPHealthCheckTypeOutput) ToHTTPHealthCheckTypePtrOutputWithContext(ctx }).(HTTPHealthCheckTypePtrOutput) } +func (o HTTPHealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckType] { + return pulumix.Output[HTTPHealthCheckType]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPHealthCheckTypeOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v HTTPHealthCheckType) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -19719,6 +22486,12 @@ func (o HTTPHealthCheckTypePtrOutput) ToHTTPHealthCheckTypePtrOutputWithContext( return o } +func (o HTTPHealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckType] { + return pulumix.Output[*HTTPHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckTypePtrOutput) Elem() HTTPHealthCheckTypeOutput { return o.ApplyT(func(v *HTTPHealthCheckType) HTTPHealthCheckType { if v != nil { @@ -19842,6 +22615,12 @@ func (o HTTPHealthCheckResponseOutput) ToHTTPHealthCheckResponseOutputWithContex return o } +func (o HTTPHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckResponse] { + return pulumix.Output[HTTPHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPHealthCheckResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v HTTPHealthCheckResponse) string { return v.Host }).(pulumi.StringOutput) @@ -19943,6 +22722,12 @@ func (i HTTPSHealthCheckTypeArgs) ToHTTPSHealthCheckTypeOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HTTPSHealthCheckTypeOutput) } +func (i HTTPSHealthCheckTypeArgs) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckType] { + return pulumix.Output[HTTPSHealthCheckType]{ + OutputState: i.ToHTTPSHealthCheckTypeOutputWithContext(ctx).OutputState, + } +} + func (i HTTPSHealthCheckTypeArgs) ToHTTPSHealthCheckTypePtrOutput() HTTPSHealthCheckTypePtrOutput { return i.ToHTTPSHealthCheckTypePtrOutputWithContext(context.Background()) } @@ -19984,6 +22769,12 @@ func (i *httpshealthCheckTypePtrType) ToHTTPSHealthCheckTypePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HTTPSHealthCheckTypePtrOutput) } +func (i *httpshealthCheckTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckType] { + return pulumix.Output[*HTTPSHealthCheckType]{ + OutputState: i.ToHTTPSHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + type HTTPSHealthCheckTypeOutput struct{ *pulumi.OutputState } func (HTTPSHealthCheckTypeOutput) ElementType() reflect.Type { @@ -20008,6 +22799,12 @@ func (o HTTPSHealthCheckTypeOutput) ToHTTPSHealthCheckTypePtrOutputWithContext(c }).(HTTPSHealthCheckTypePtrOutput) } +func (o HTTPSHealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckType] { + return pulumix.Output[HTTPSHealthCheckType]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTPS health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPSHealthCheckTypeOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v HTTPSHealthCheckType) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -20062,6 +22859,12 @@ func (o HTTPSHealthCheckTypePtrOutput) ToHTTPSHealthCheckTypePtrOutputWithContex return o } +func (o HTTPSHealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckType] { + return pulumix.Output[*HTTPSHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckTypePtrOutput) Elem() HTTPSHealthCheckTypeOutput { return o.ApplyT(func(v *HTTPSHealthCheckType) HTTPSHealthCheckType { if v != nil { @@ -20185,6 +22988,12 @@ func (o HTTPSHealthCheckResponseOutput) ToHTTPSHealthCheckResponseOutputWithCont return o } +func (o HTTPSHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckResponse] { + return pulumix.Output[HTTPSHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTPS health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPSHealthCheckResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v HTTPSHealthCheckResponse) string { return v.Host }).(pulumi.StringOutput) @@ -20260,6 +23069,12 @@ func (i HealthCheckLogConfigArgs) ToHealthCheckLogConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HealthCheckLogConfigOutput) } +func (i HealthCheckLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[HealthCheckLogConfig] { + return pulumix.Output[HealthCheckLogConfig]{ + OutputState: i.ToHealthCheckLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i HealthCheckLogConfigArgs) ToHealthCheckLogConfigPtrOutput() HealthCheckLogConfigPtrOutput { return i.ToHealthCheckLogConfigPtrOutputWithContext(context.Background()) } @@ -20301,6 +23116,12 @@ func (i *healthCheckLogConfigPtrType) ToHealthCheckLogConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HealthCheckLogConfigPtrOutput) } +func (i *healthCheckLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckLogConfig] { + return pulumix.Output[*HealthCheckLogConfig]{ + OutputState: i.ToHealthCheckLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver. type HealthCheckLogConfigOutput struct{ *pulumi.OutputState } @@ -20326,6 +23147,12 @@ func (o HealthCheckLogConfigOutput) ToHealthCheckLogConfigPtrOutputWithContext(c }).(HealthCheckLogConfigPtrOutput) } +func (o HealthCheckLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckLogConfig] { + return pulumix.Output[HealthCheckLogConfig]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default, which means no health check logging will be done. func (o HealthCheckLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v HealthCheckLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -20345,6 +23172,12 @@ func (o HealthCheckLogConfigPtrOutput) ToHealthCheckLogConfigPtrOutputWithContex return o } +func (o HealthCheckLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckLogConfig] { + return pulumix.Output[*HealthCheckLogConfig]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckLogConfigPtrOutput) Elem() HealthCheckLogConfigOutput { return o.ApplyT(func(v *HealthCheckLogConfig) HealthCheckLogConfig { if v != nil { @@ -20386,6 +23219,12 @@ func (o HealthCheckLogConfigResponseOutput) ToHealthCheckLogConfigResponseOutput return o } +func (o HealthCheckLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckLogConfigResponse] { + return pulumix.Output[HealthCheckLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default, which means no health check logging will be done. func (o HealthCheckLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v HealthCheckLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -20414,6 +23253,12 @@ func (o HelpLinkResponseOutput) ToHelpLinkResponseOutputWithContext(ctx context. return o } +func (o HelpLinkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HelpLinkResponse] { + return pulumix.Output[HelpLinkResponse]{ + OutputState: o.OutputState, + } +} + // Describes what the link offers. func (o HelpLinkResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v HelpLinkResponse) string { return v.Description }).(pulumi.StringOutput) @@ -20438,6 +23283,12 @@ func (o HelpLinkResponseArrayOutput) ToHelpLinkResponseArrayOutputWithContext(ct return o } +func (o HelpLinkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HelpLinkResponse] { + return pulumix.Output[[]HelpLinkResponse]{ + OutputState: o.OutputState, + } +} + func (o HelpLinkResponseArrayOutput) Index(i pulumi.IntInput) HelpLinkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HelpLinkResponse { return vs[0].([]HelpLinkResponse)[vs[1].(int)] @@ -20465,6 +23316,12 @@ func (o HelpResponseOutput) ToHelpResponseOutputWithContext(ctx context.Context) return o } +func (o HelpResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HelpResponse] { + return pulumix.Output[HelpResponse]{ + OutputState: o.OutputState, + } +} + // URL(s) pointing to additional information on handling the current error. func (o HelpResponseOutput) Links() HelpLinkResponseArrayOutput { return o.ApplyT(func(v HelpResponse) []HelpLinkResponse { return v.Links }).(HelpLinkResponseArrayOutput) @@ -20513,6 +23370,12 @@ func (i HostRuleArgs) ToHostRuleOutputWithContext(ctx context.Context) HostRuleO return pulumi.ToOutputWithContext(ctx, i).(HostRuleOutput) } +func (i HostRuleArgs) ToOutput(ctx context.Context) pulumix.Output[HostRule] { + return pulumix.Output[HostRule]{ + OutputState: i.ToHostRuleOutputWithContext(ctx).OutputState, + } +} + // HostRuleArrayInput is an input type that accepts HostRuleArray and HostRuleArrayOutput values. // You can construct a concrete instance of `HostRuleArrayInput` via: // @@ -20538,6 +23401,12 @@ func (i HostRuleArray) ToHostRuleArrayOutputWithContext(ctx context.Context) Hos return pulumi.ToOutputWithContext(ctx, i).(HostRuleArrayOutput) } +func (i HostRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]HostRule] { + return pulumix.Output[[]HostRule]{ + OutputState: i.ToHostRuleArrayOutputWithContext(ctx).OutputState, + } +} + // UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. type HostRuleOutput struct{ *pulumi.OutputState } @@ -20553,6 +23422,12 @@ func (o HostRuleOutput) ToHostRuleOutputWithContext(ctx context.Context) HostRul return o } +func (o HostRuleOutput) ToOutput(ctx context.Context) pulumix.Output[HostRule] { + return pulumix.Output[HostRule]{ + OutputState: o.OutputState, + } +} + // An optional description of this resource. Provide this property when you create the resource. func (o HostRuleOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v HostRule) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -20582,6 +23457,12 @@ func (o HostRuleArrayOutput) ToHostRuleArrayOutputWithContext(ctx context.Contex return o } +func (o HostRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HostRule] { + return pulumix.Output[[]HostRule]{ + OutputState: o.OutputState, + } +} + func (o HostRuleArrayOutput) Index(i pulumi.IntInput) HostRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostRule { return vs[0].([]HostRule)[vs[1].(int)] @@ -20613,6 +23494,12 @@ func (o HostRuleResponseOutput) ToHostRuleResponseOutputWithContext(ctx context. return o } +func (o HostRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HostRuleResponse] { + return pulumix.Output[HostRuleResponse]{ + OutputState: o.OutputState, + } +} + // An optional description of this resource. Provide this property when you create the resource. func (o HostRuleResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v HostRuleResponse) string { return v.Description }).(pulumi.StringOutput) @@ -20642,6 +23529,12 @@ func (o HostRuleResponseArrayOutput) ToHostRuleResponseArrayOutputWithContext(ct return o } +func (o HostRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HostRuleResponse] { + return pulumix.Output[[]HostRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o HostRuleResponseArrayOutput) Index(i pulumi.IntInput) HostRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostRuleResponse { return vs[0].([]HostRuleResponse)[vs[1].(int)] @@ -20687,6 +23580,12 @@ func (i HttpFaultAbortArgs) ToHttpFaultAbortOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(HttpFaultAbortOutput) } +func (i HttpFaultAbortArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFaultAbort] { + return pulumix.Output[HttpFaultAbort]{ + OutputState: i.ToHttpFaultAbortOutputWithContext(ctx).OutputState, + } +} + func (i HttpFaultAbortArgs) ToHttpFaultAbortPtrOutput() HttpFaultAbortPtrOutput { return i.ToHttpFaultAbortPtrOutputWithContext(context.Background()) } @@ -20728,6 +23627,12 @@ func (i *httpFaultAbortPtrType) ToHttpFaultAbortPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(HttpFaultAbortPtrOutput) } +func (i *httpFaultAbortPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultAbort] { + return pulumix.Output[*HttpFaultAbort]{ + OutputState: i.ToHttpFaultAbortPtrOutputWithContext(ctx).OutputState, + } +} + // Specification for how requests are aborted as part of fault injection. type HttpFaultAbortOutput struct{ *pulumi.OutputState } @@ -20753,6 +23658,12 @@ func (o HttpFaultAbortOutput) ToHttpFaultAbortPtrOutputWithContext(ctx context.C }).(HttpFaultAbortPtrOutput) } +func (o HttpFaultAbortOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultAbort] { + return pulumix.Output[HttpFaultAbort]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. func (o HttpFaultAbortOutput) HttpStatus() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpFaultAbort) *int { return v.HttpStatus }).(pulumi.IntPtrOutput) @@ -20777,6 +23688,12 @@ func (o HttpFaultAbortPtrOutput) ToHttpFaultAbortPtrOutputWithContext(ctx contex return o } +func (o HttpFaultAbortPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultAbort] { + return pulumix.Output[*HttpFaultAbort]{ + OutputState: o.OutputState, + } +} + func (o HttpFaultAbortPtrOutput) Elem() HttpFaultAbortOutput { return o.ApplyT(func(v *HttpFaultAbort) HttpFaultAbort { if v != nil { @@ -20830,6 +23747,12 @@ func (o HttpFaultAbortResponseOutput) ToHttpFaultAbortResponseOutputWithContext( return o } +func (o HttpFaultAbortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultAbortResponse] { + return pulumix.Output[HttpFaultAbortResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. func (o HttpFaultAbortResponseOutput) HttpStatus() pulumi.IntOutput { return o.ApplyT(func(v HttpFaultAbortResponse) int { return v.HttpStatus }).(pulumi.IntOutput) @@ -20879,6 +23802,12 @@ func (i HttpFaultDelayArgs) ToHttpFaultDelayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(HttpFaultDelayOutput) } +func (i HttpFaultDelayArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFaultDelay] { + return pulumix.Output[HttpFaultDelay]{ + OutputState: i.ToHttpFaultDelayOutputWithContext(ctx).OutputState, + } +} + func (i HttpFaultDelayArgs) ToHttpFaultDelayPtrOutput() HttpFaultDelayPtrOutput { return i.ToHttpFaultDelayPtrOutputWithContext(context.Background()) } @@ -20920,6 +23849,12 @@ func (i *httpFaultDelayPtrType) ToHttpFaultDelayPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(HttpFaultDelayPtrOutput) } +func (i *httpFaultDelayPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultDelay] { + return pulumix.Output[*HttpFaultDelay]{ + OutputState: i.ToHttpFaultDelayPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection. type HttpFaultDelayOutput struct{ *pulumi.OutputState } @@ -20945,6 +23880,12 @@ func (o HttpFaultDelayOutput) ToHttpFaultDelayPtrOutputWithContext(ctx context.C }).(HttpFaultDelayPtrOutput) } +func (o HttpFaultDelayOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultDelay] { + return pulumix.Output[HttpFaultDelay]{ + OutputState: o.OutputState, + } +} + // Specifies the value of the fixed delay interval. func (o HttpFaultDelayOutput) FixedDelay() DurationPtrOutput { return o.ApplyT(func(v HttpFaultDelay) *Duration { return v.FixedDelay }).(DurationPtrOutput) @@ -20969,6 +23910,12 @@ func (o HttpFaultDelayPtrOutput) ToHttpFaultDelayPtrOutputWithContext(ctx contex return o } +func (o HttpFaultDelayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultDelay] { + return pulumix.Output[*HttpFaultDelay]{ + OutputState: o.OutputState, + } +} + func (o HttpFaultDelayPtrOutput) Elem() HttpFaultDelayOutput { return o.ApplyT(func(v *HttpFaultDelay) HttpFaultDelay { if v != nil { @@ -21022,6 +23969,12 @@ func (o HttpFaultDelayResponseOutput) ToHttpFaultDelayResponseOutputWithContext( return o } +func (o HttpFaultDelayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultDelayResponse] { + return pulumix.Output[HttpFaultDelayResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the value of the fixed delay interval. func (o HttpFaultDelayResponseOutput) FixedDelay() DurationResponseOutput { return o.ApplyT(func(v HttpFaultDelayResponse) DurationResponse { return v.FixedDelay }).(DurationResponseOutput) @@ -21071,6 +24024,12 @@ func (i HttpFaultInjectionArgs) ToHttpFaultInjectionOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpFaultInjectionOutput) } +func (i HttpFaultInjectionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFaultInjection] { + return pulumix.Output[HttpFaultInjection]{ + OutputState: i.ToHttpFaultInjectionOutputWithContext(ctx).OutputState, + } +} + func (i HttpFaultInjectionArgs) ToHttpFaultInjectionPtrOutput() HttpFaultInjectionPtrOutput { return i.ToHttpFaultInjectionPtrOutputWithContext(context.Background()) } @@ -21112,6 +24071,12 @@ func (i *httpFaultInjectionPtrType) ToHttpFaultInjectionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpFaultInjectionPtrOutput) } +func (i *httpFaultInjectionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultInjection] { + return pulumix.Output[*HttpFaultInjection]{ + OutputState: i.ToHttpFaultInjectionPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. type HttpFaultInjectionOutput struct{ *pulumi.OutputState } @@ -21137,6 +24102,12 @@ func (o HttpFaultInjectionOutput) ToHttpFaultInjectionPtrOutputWithContext(ctx c }).(HttpFaultInjectionPtrOutput) } +func (o HttpFaultInjectionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultInjection] { + return pulumix.Output[HttpFaultInjection]{ + OutputState: o.OutputState, + } +} + // The specification for how client requests are aborted as part of fault injection. func (o HttpFaultInjectionOutput) Abort() HttpFaultAbortPtrOutput { return o.ApplyT(func(v HttpFaultInjection) *HttpFaultAbort { return v.Abort }).(HttpFaultAbortPtrOutput) @@ -21161,6 +24132,12 @@ func (o HttpFaultInjectionPtrOutput) ToHttpFaultInjectionPtrOutputWithContext(ct return o } +func (o HttpFaultInjectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultInjection] { + return pulumix.Output[*HttpFaultInjection]{ + OutputState: o.OutputState, + } +} + func (o HttpFaultInjectionPtrOutput) Elem() HttpFaultInjectionOutput { return o.ApplyT(func(v *HttpFaultInjection) HttpFaultInjection { if v != nil { @@ -21214,6 +24191,12 @@ func (o HttpFaultInjectionResponseOutput) ToHttpFaultInjectionResponseOutputWith return o } +func (o HttpFaultInjectionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultInjectionResponse] { + return pulumix.Output[HttpFaultInjectionResponse]{ + OutputState: o.OutputState, + } +} + // The specification for how client requests are aborted as part of fault injection. func (o HttpFaultInjectionResponseOutput) Abort() HttpFaultAbortResponseOutput { return o.ApplyT(func(v HttpFaultInjectionResponse) HttpFaultAbortResponse { return v.Abort }).(HttpFaultAbortResponseOutput) @@ -21267,6 +24250,12 @@ func (i HttpFilterConfigArgs) ToHttpFilterConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpFilterConfigOutput) } +func (i HttpFilterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFilterConfig] { + return pulumix.Output[HttpFilterConfig]{ + OutputState: i.ToHttpFilterConfigOutputWithContext(ctx).OutputState, + } +} + // HttpFilterConfigArrayInput is an input type that accepts HttpFilterConfigArray and HttpFilterConfigArrayOutput values. // You can construct a concrete instance of `HttpFilterConfigArrayInput` via: // @@ -21292,6 +24281,12 @@ func (i HttpFilterConfigArray) ToHttpFilterConfigArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpFilterConfigArrayOutput) } +func (i HttpFilterConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpFilterConfig] { + return pulumix.Output[[]HttpFilterConfig]{ + OutputState: i.ToHttpFilterConfigArrayOutputWithContext(ctx).OutputState, + } +} + // HttpFilterConfiguration supplies additional contextual settings for networkservices.HttpFilter resources enabled by Traffic Director. type HttpFilterConfigOutput struct{ *pulumi.OutputState } @@ -21307,6 +24302,12 @@ func (o HttpFilterConfigOutput) ToHttpFilterConfigOutputWithContext(ctx context. return o } +func (o HttpFilterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFilterConfig] { + return pulumix.Output[HttpFilterConfig]{ + OutputState: o.OutputState, + } +} + // The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl func (o HttpFilterConfigOutput) Config() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpFilterConfig) *string { return v.Config }).(pulumi.StringPtrOutput) @@ -21336,6 +24337,12 @@ func (o HttpFilterConfigArrayOutput) ToHttpFilterConfigArrayOutputWithContext(ct return o } +func (o HttpFilterConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpFilterConfig] { + return pulumix.Output[[]HttpFilterConfig]{ + OutputState: o.OutputState, + } +} + func (o HttpFilterConfigArrayOutput) Index(i pulumi.IntInput) HttpFilterConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpFilterConfig { return vs[0].([]HttpFilterConfig)[vs[1].(int)] @@ -21367,6 +24374,12 @@ func (o HttpFilterConfigResponseOutput) ToHttpFilterConfigResponseOutputWithCont return o } +func (o HttpFilterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFilterConfigResponse] { + return pulumix.Output[HttpFilterConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl func (o HttpFilterConfigResponseOutput) Config() pulumi.StringOutput { return o.ApplyT(func(v HttpFilterConfigResponse) string { return v.Config }).(pulumi.StringOutput) @@ -21396,6 +24409,12 @@ func (o HttpFilterConfigResponseArrayOutput) ToHttpFilterConfigResponseArrayOutp return o } +func (o HttpFilterConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpFilterConfigResponse] { + return pulumix.Output[[]HttpFilterConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpFilterConfigResponseArrayOutput) Index(i pulumi.IntInput) HttpFilterConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpFilterConfigResponse { return vs[0].([]HttpFilterConfigResponse)[vs[1].(int)] @@ -21449,6 +24468,12 @@ func (i HttpHeaderActionArgs) ToHttpHeaderActionOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderActionOutput) } +func (i HttpHeaderActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderAction] { + return pulumix.Output[HttpHeaderAction]{ + OutputState: i.ToHttpHeaderActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpHeaderActionArgs) ToHttpHeaderActionPtrOutput() HttpHeaderActionPtrOutput { return i.ToHttpHeaderActionPtrOutputWithContext(context.Background()) } @@ -21490,6 +24515,12 @@ func (i *httpHeaderActionPtrType) ToHttpHeaderActionPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderActionPtrOutput) } +func (i *httpHeaderActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpHeaderAction] { + return pulumix.Output[*HttpHeaderAction]{ + OutputState: i.ToHttpHeaderActionPtrOutputWithContext(ctx).OutputState, + } +} + // The request and response header transformations that take effect before the request is passed along to the selected backendService. type HttpHeaderActionOutput struct{ *pulumi.OutputState } @@ -21515,6 +24546,12 @@ func (o HttpHeaderActionOutput) ToHttpHeaderActionPtrOutputWithContext(ctx conte }).(HttpHeaderActionPtrOutput) } +func (o HttpHeaderActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderAction] { + return pulumix.Output[HttpHeaderAction]{ + OutputState: o.OutputState, + } +} + // Headers to add to a matching request before forwarding the request to the backendService. func (o HttpHeaderActionOutput) RequestHeadersToAdd() HttpHeaderOptionArrayOutput { return o.ApplyT(func(v HttpHeaderAction) []HttpHeaderOption { return v.RequestHeadersToAdd }).(HttpHeaderOptionArrayOutput) @@ -21549,6 +24586,12 @@ func (o HttpHeaderActionPtrOutput) ToHttpHeaderActionPtrOutputWithContext(ctx co return o } +func (o HttpHeaderActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpHeaderAction] { + return pulumix.Output[*HttpHeaderAction]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderActionPtrOutput) Elem() HttpHeaderActionOutput { return o.ApplyT(func(v *HttpHeaderAction) HttpHeaderAction { if v != nil { @@ -21626,6 +24669,12 @@ func (o HttpHeaderActionResponseOutput) ToHttpHeaderActionResponseOutputWithCont return o } +func (o HttpHeaderActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderActionResponse] { + return pulumix.Output[HttpHeaderActionResponse]{ + OutputState: o.OutputState, + } +} + // Headers to add to a matching request before forwarding the request to the backendService. func (o HttpHeaderActionResponseOutput) RequestHeadersToAdd() HttpHeaderOptionResponseArrayOutput { return o.ApplyT(func(v HttpHeaderActionResponse) []HttpHeaderOptionResponse { return v.RequestHeadersToAdd }).(HttpHeaderOptionResponseArrayOutput) @@ -21709,6 +24758,12 @@ func (i HttpHeaderMatchArgs) ToHttpHeaderMatchOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderMatchOutput) } +func (i HttpHeaderMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatch] { + return pulumix.Output[HttpHeaderMatch]{ + OutputState: i.ToHttpHeaderMatchOutputWithContext(ctx).OutputState, + } +} + // HttpHeaderMatchArrayInput is an input type that accepts HttpHeaderMatchArray and HttpHeaderMatchArrayOutput values. // You can construct a concrete instance of `HttpHeaderMatchArrayInput` via: // @@ -21734,6 +24789,12 @@ func (i HttpHeaderMatchArray) ToHttpHeaderMatchArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderMatchArrayOutput) } +func (i HttpHeaderMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderMatch] { + return pulumix.Output[[]HttpHeaderMatch]{ + OutputState: i.ToHttpHeaderMatchArrayOutputWithContext(ctx).OutputState, + } +} + // matchRule criteria for request header matches. type HttpHeaderMatchOutput struct{ *pulumi.OutputState } @@ -21749,6 +24810,12 @@ func (o HttpHeaderMatchOutput) ToHttpHeaderMatchOutputWithContext(ctx context.Co return o } +func (o HttpHeaderMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatch] { + return pulumix.Output[HttpHeaderMatch]{ + OutputState: o.OutputState, + } +} + // The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. func (o HttpHeaderMatchOutput) ExactMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpHeaderMatch) *string { return v.ExactMatch }).(pulumi.StringPtrOutput) @@ -21803,6 +24870,12 @@ func (o HttpHeaderMatchArrayOutput) ToHttpHeaderMatchArrayOutputWithContext(ctx return o } +func (o HttpHeaderMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderMatch] { + return pulumix.Output[[]HttpHeaderMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderMatchArrayOutput) Index(i pulumi.IntInput) HttpHeaderMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderMatch { return vs[0].([]HttpHeaderMatch)[vs[1].(int)] @@ -21844,6 +24917,12 @@ func (o HttpHeaderMatchResponseOutput) ToHttpHeaderMatchResponseOutputWithContex return o } +func (o HttpHeaderMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatchResponse] { + return pulumix.Output[HttpHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + // The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. func (o HttpHeaderMatchResponseOutput) ExactMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpHeaderMatchResponse) string { return v.ExactMatch }).(pulumi.StringOutput) @@ -21898,6 +24977,12 @@ func (o HttpHeaderMatchResponseArrayOutput) ToHttpHeaderMatchResponseArrayOutput return o } +func (o HttpHeaderMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderMatchResponse] { + return pulumix.Output[[]HttpHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpHeaderMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderMatchResponse { return vs[0].([]HttpHeaderMatchResponse)[vs[1].(int)] @@ -21947,6 +25032,12 @@ func (i HttpHeaderOptionArgs) ToHttpHeaderOptionOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderOptionOutput) } +func (i HttpHeaderOptionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderOption] { + return pulumix.Output[HttpHeaderOption]{ + OutputState: i.ToHttpHeaderOptionOutputWithContext(ctx).OutputState, + } +} + // HttpHeaderOptionArrayInput is an input type that accepts HttpHeaderOptionArray and HttpHeaderOptionArrayOutput values. // You can construct a concrete instance of `HttpHeaderOptionArrayInput` via: // @@ -21972,6 +25063,12 @@ func (i HttpHeaderOptionArray) ToHttpHeaderOptionArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderOptionArrayOutput) } +func (i HttpHeaderOptionArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderOption] { + return pulumix.Output[[]HttpHeaderOption]{ + OutputState: i.ToHttpHeaderOptionArrayOutputWithContext(ctx).OutputState, + } +} + // Specification determining how headers are added to requests or responses. type HttpHeaderOptionOutput struct{ *pulumi.OutputState } @@ -21987,6 +25084,12 @@ func (o HttpHeaderOptionOutput) ToHttpHeaderOptionOutputWithContext(ctx context. return o } +func (o HttpHeaderOptionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderOption] { + return pulumix.Output[HttpHeaderOption]{ + OutputState: o.OutputState, + } +} + // The name of the header. func (o HttpHeaderOptionOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpHeaderOption) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -22016,6 +25119,12 @@ func (o HttpHeaderOptionArrayOutput) ToHttpHeaderOptionArrayOutputWithContext(ct return o } +func (o HttpHeaderOptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderOption] { + return pulumix.Output[[]HttpHeaderOption]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderOptionArrayOutput) Index(i pulumi.IntInput) HttpHeaderOptionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderOption { return vs[0].([]HttpHeaderOption)[vs[1].(int)] @@ -22047,6 +25156,12 @@ func (o HttpHeaderOptionResponseOutput) ToHttpHeaderOptionResponseOutputWithCont return o } +func (o HttpHeaderOptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderOptionResponse] { + return pulumix.Output[HttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the header. func (o HttpHeaderOptionResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v HttpHeaderOptionResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -22076,6 +25191,12 @@ func (o HttpHeaderOptionResponseArrayOutput) ToHttpHeaderOptionResponseArrayOutp return o } +func (o HttpHeaderOptionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderOptionResponse] { + return pulumix.Output[[]HttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderOptionResponseArrayOutput) Index(i pulumi.IntInput) HttpHeaderOptionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderOptionResponse { return vs[0].([]HttpHeaderOptionResponse)[vs[1].(int)] @@ -22129,6 +25250,12 @@ func (i HttpQueryParameterMatchArgs) ToHttpQueryParameterMatchOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(HttpQueryParameterMatchOutput) } +func (i HttpQueryParameterMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpQueryParameterMatch] { + return pulumix.Output[HttpQueryParameterMatch]{ + OutputState: i.ToHttpQueryParameterMatchOutputWithContext(ctx).OutputState, + } +} + // HttpQueryParameterMatchArrayInput is an input type that accepts HttpQueryParameterMatchArray and HttpQueryParameterMatchArrayOutput values. // You can construct a concrete instance of `HttpQueryParameterMatchArrayInput` via: // @@ -22154,6 +25281,12 @@ func (i HttpQueryParameterMatchArray) ToHttpQueryParameterMatchArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(HttpQueryParameterMatchArrayOutput) } +func (i HttpQueryParameterMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpQueryParameterMatch] { + return pulumix.Output[[]HttpQueryParameterMatch]{ + OutputState: i.ToHttpQueryParameterMatchArrayOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatch criteria for a request's query parameter. type HttpQueryParameterMatchOutput struct{ *pulumi.OutputState } @@ -22169,6 +25302,12 @@ func (o HttpQueryParameterMatchOutput) ToHttpQueryParameterMatchOutputWithContex return o } +func (o HttpQueryParameterMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpQueryParameterMatch] { + return pulumix.Output[HttpQueryParameterMatch]{ + OutputState: o.OutputState, + } +} + // The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set. func (o HttpQueryParameterMatchOutput) ExactMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpQueryParameterMatch) *string { return v.ExactMatch }).(pulumi.StringPtrOutput) @@ -22203,6 +25342,12 @@ func (o HttpQueryParameterMatchArrayOutput) ToHttpQueryParameterMatchArrayOutput return o } +func (o HttpQueryParameterMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpQueryParameterMatch] { + return pulumix.Output[[]HttpQueryParameterMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpQueryParameterMatchArrayOutput) Index(i pulumi.IntInput) HttpQueryParameterMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpQueryParameterMatch { return vs[0].([]HttpQueryParameterMatch)[vs[1].(int)] @@ -22236,6 +25381,12 @@ func (o HttpQueryParameterMatchResponseOutput) ToHttpQueryParameterMatchResponse return o } +func (o HttpQueryParameterMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpQueryParameterMatchResponse] { + return pulumix.Output[HttpQueryParameterMatchResponse]{ + OutputState: o.OutputState, + } +} + // The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set. func (o HttpQueryParameterMatchResponseOutput) ExactMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpQueryParameterMatchResponse) string { return v.ExactMatch }).(pulumi.StringOutput) @@ -22270,6 +25421,12 @@ func (o HttpQueryParameterMatchResponseArrayOutput) ToHttpQueryParameterMatchRes return o } +func (o HttpQueryParameterMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpQueryParameterMatchResponse] { + return pulumix.Output[[]HttpQueryParameterMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpQueryParameterMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpQueryParameterMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpQueryParameterMatchResponse { return vs[0].([]HttpQueryParameterMatchResponse)[vs[1].(int)] @@ -22331,6 +25488,12 @@ func (i HttpRedirectActionArgs) ToHttpRedirectActionOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpRedirectActionOutput) } +func (i HttpRedirectActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectAction] { + return pulumix.Output[HttpRedirectAction]{ + OutputState: i.ToHttpRedirectActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpRedirectActionArgs) ToHttpRedirectActionPtrOutput() HttpRedirectActionPtrOutput { return i.ToHttpRedirectActionPtrOutputWithContext(context.Background()) } @@ -22372,6 +25535,12 @@ func (i *httpRedirectActionPtrType) ToHttpRedirectActionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpRedirectActionPtrOutput) } +func (i *httpRedirectActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectAction] { + return pulumix.Output[*HttpRedirectAction]{ + OutputState: i.ToHttpRedirectActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies settings for an HTTP redirect. type HttpRedirectActionOutput struct{ *pulumi.OutputState } @@ -22397,6 +25566,12 @@ func (o HttpRedirectActionOutput) ToHttpRedirectActionPtrOutputWithContext(ctx c }).(HttpRedirectActionPtrOutput) } +func (o HttpRedirectActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectAction] { + return pulumix.Output[HttpRedirectAction]{ + OutputState: o.OutputState, + } +} + // The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. func (o HttpRedirectActionOutput) HostRedirect() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRedirectAction) *string { return v.HostRedirect }).(pulumi.StringPtrOutput) @@ -22441,6 +25616,12 @@ func (o HttpRedirectActionPtrOutput) ToHttpRedirectActionPtrOutputWithContext(ct return o } +func (o HttpRedirectActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectAction] { + return pulumix.Output[*HttpRedirectAction]{ + OutputState: o.OutputState, + } +} + func (o HttpRedirectActionPtrOutput) Elem() HttpRedirectActionOutput { return o.ApplyT(func(v *HttpRedirectAction) HttpRedirectAction { if v != nil { @@ -22542,6 +25723,12 @@ func (o HttpRedirectActionResponseOutput) ToHttpRedirectActionResponseOutputWith return o } +func (o HttpRedirectActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectActionResponse] { + return pulumix.Output[HttpRedirectActionResponse]{ + OutputState: o.OutputState, + } +} + // The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. func (o HttpRedirectActionResponseOutput) HostRedirect() pulumi.StringOutput { return o.ApplyT(func(v HttpRedirectActionResponse) string { return v.HostRedirect }).(pulumi.StringOutput) @@ -22615,6 +25802,12 @@ func (i HttpRetryPolicyArgs) ToHttpRetryPolicyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpRetryPolicyOutput) } +func (i HttpRetryPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRetryPolicy] { + return pulumix.Output[HttpRetryPolicy]{ + OutputState: i.ToHttpRetryPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRetryPolicyArgs) ToHttpRetryPolicyPtrOutput() HttpRetryPolicyPtrOutput { return i.ToHttpRetryPolicyPtrOutputWithContext(context.Background()) } @@ -22656,6 +25849,12 @@ func (i *httpRetryPolicyPtrType) ToHttpRetryPolicyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(HttpRetryPolicyPtrOutput) } +func (i *httpRetryPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRetryPolicy] { + return pulumix.Output[*HttpRetryPolicy]{ + OutputState: i.ToHttpRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The retry policy associates with HttpRouteRule type HttpRetryPolicyOutput struct{ *pulumi.OutputState } @@ -22681,6 +25880,12 @@ func (o HttpRetryPolicyOutput) ToHttpRetryPolicyPtrOutputWithContext(ctx context }).(HttpRetryPolicyPtrOutput) } +func (o HttpRetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRetryPolicy] { + return pulumix.Output[HttpRetryPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. func (o HttpRetryPolicyOutput) NumRetries() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpRetryPolicy) *int { return v.NumRetries }).(pulumi.IntPtrOutput) @@ -22710,6 +25915,12 @@ func (o HttpRetryPolicyPtrOutput) ToHttpRetryPolicyPtrOutputWithContext(ctx cont return o } +func (o HttpRetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRetryPolicy] { + return pulumix.Output[*HttpRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRetryPolicyPtrOutput) Elem() HttpRetryPolicyOutput { return o.ApplyT(func(v *HttpRetryPolicy) HttpRetryPolicy { if v != nil { @@ -22775,6 +25986,12 @@ func (o HttpRetryPolicyResponseOutput) ToHttpRetryPolicyResponseOutputWithContex return o } +func (o HttpRetryPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRetryPolicyResponse] { + return pulumix.Output[HttpRetryPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. func (o HttpRetryPolicyResponseOutput) NumRetries() pulumi.IntOutput { return o.ApplyT(func(v HttpRetryPolicyResponse) int { return v.NumRetries }).(pulumi.IntOutput) @@ -22851,6 +26068,12 @@ func (i HttpRouteActionArgs) ToHttpRouteActionOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpRouteActionOutput) } +func (i HttpRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteAction] { + return pulumix.Output[HttpRouteAction]{ + OutputState: i.ToHttpRouteActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteActionArgs) ToHttpRouteActionPtrOutput() HttpRouteActionPtrOutput { return i.ToHttpRouteActionPtrOutputWithContext(context.Background()) } @@ -22892,6 +26115,12 @@ func (i *httpRouteActionPtrType) ToHttpRouteActionPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(HttpRouteActionPtrOutput) } +func (i *httpRouteActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteAction] { + return pulumix.Output[*HttpRouteAction]{ + OutputState: i.ToHttpRouteActionPtrOutputWithContext(ctx).OutputState, + } +} + type HttpRouteActionOutput struct{ *pulumi.OutputState } func (HttpRouteActionOutput) ElementType() reflect.Type { @@ -22916,6 +26145,12 @@ func (o HttpRouteActionOutput) ToHttpRouteActionPtrOutputWithContext(ctx context }).(HttpRouteActionPtrOutput) } +func (o HttpRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteAction] { + return pulumix.Output[HttpRouteAction]{ + OutputState: o.OutputState, + } +} + // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. func (o HttpRouteActionOutput) CorsPolicy() CorsPolicyPtrOutput { return o.ApplyT(func(v HttpRouteAction) *CorsPolicy { return v.CorsPolicy }).(CorsPolicyPtrOutput) @@ -22970,6 +26205,12 @@ func (o HttpRouteActionPtrOutput) ToHttpRouteActionPtrOutputWithContext(ctx cont return o } +func (o HttpRouteActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteAction] { + return pulumix.Output[*HttpRouteAction]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteActionPtrOutput) Elem() HttpRouteActionOutput { return o.ApplyT(func(v *HttpRouteAction) HttpRouteAction { if v != nil { @@ -23093,6 +26334,12 @@ func (o HttpRouteActionResponseOutput) ToHttpRouteActionResponseOutputWithContex return o } +func (o HttpRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteActionResponse] { + return pulumix.Output[HttpRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. func (o HttpRouteActionResponseOutput) CorsPolicy() CorsPolicyResponseOutput { return o.ApplyT(func(v HttpRouteActionResponse) CorsPolicyResponse { return v.CorsPolicy }).(CorsPolicyResponseOutput) @@ -23204,6 +26451,12 @@ func (i HttpRouteRuleArgs) ToHttpRouteRuleOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleOutput) } +func (i HttpRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRule] { + return pulumix.Output[HttpRouteRule]{ + OutputState: i.ToHttpRouteRuleOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleArrayInput is an input type that accepts HttpRouteRuleArray and HttpRouteRuleArrayOutput values. // You can construct a concrete instance of `HttpRouteRuleArrayInput` via: // @@ -23229,6 +26482,12 @@ func (i HttpRouteRuleArray) ToHttpRouteRuleArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleArrayOutput) } +func (i HttpRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRule] { + return pulumix.Output[[]HttpRouteRule]{ + OutputState: i.ToHttpRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // The HttpRouteRule setting specifies how to match an HTTP request and the corresponding routing action that load balancing proxies perform. type HttpRouteRuleOutput struct{ *pulumi.OutputState } @@ -23244,6 +26503,12 @@ func (o HttpRouteRuleOutput) ToHttpRouteRuleOutputWithContext(ctx context.Contex return o } +func (o HttpRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRule] { + return pulumix.Output[HttpRouteRule]{ + OutputState: o.OutputState, + } +} + // customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o HttpRouteRuleOutput) CustomErrorResponsePolicy() CustomErrorResponsePolicyPtrOutput { return o.ApplyT(func(v HttpRouteRule) *CustomErrorResponsePolicy { return v.CustomErrorResponsePolicy }).(CustomErrorResponsePolicyPtrOutput) @@ -23308,6 +26573,12 @@ func (o HttpRouteRuleArrayOutput) ToHttpRouteRuleArrayOutputWithContext(ctx cont return o } +func (o HttpRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRule] { + return pulumix.Output[[]HttpRouteRule]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRule { return vs[0].([]HttpRouteRule)[vs[1].(int)] @@ -23377,6 +26648,12 @@ func (i HttpRouteRuleMatchArgs) ToHttpRouteRuleMatchOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleMatchOutput) } +func (i HttpRouteRuleMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleMatch] { + return pulumix.Output[HttpRouteRuleMatch]{ + OutputState: i.ToHttpRouteRuleMatchOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatchArrayInput is an input type that accepts HttpRouteRuleMatchArray and HttpRouteRuleMatchArrayOutput values. // You can construct a concrete instance of `HttpRouteRuleMatchArrayInput` via: // @@ -23402,6 +26679,12 @@ func (i HttpRouteRuleMatchArray) ToHttpRouteRuleMatchArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleMatchArrayOutput) } +func (i HttpRouteRuleMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleMatch] { + return pulumix.Output[[]HttpRouteRuleMatch]{ + OutputState: i.ToHttpRouteRuleMatchArrayOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur. type HttpRouteRuleMatchOutput struct{ *pulumi.OutputState } @@ -23417,6 +26700,12 @@ func (o HttpRouteRuleMatchOutput) ToHttpRouteRuleMatchOutputWithContext(ctx cont return o } +func (o HttpRouteRuleMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleMatch] { + return pulumix.Output[HttpRouteRuleMatch]{ + OutputState: o.OutputState, + } +} + // For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. func (o HttpRouteRuleMatchOutput) FullPathMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteRuleMatch) *string { return v.FullPathMatch }).(pulumi.StringPtrOutput) @@ -23471,6 +26760,12 @@ func (o HttpRouteRuleMatchArrayOutput) ToHttpRouteRuleMatchArrayOutputWithContex return o } +func (o HttpRouteRuleMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleMatch] { + return pulumix.Output[[]HttpRouteRuleMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleMatchArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRuleMatch { return vs[0].([]HttpRouteRuleMatch)[vs[1].(int)] @@ -23512,6 +26807,12 @@ func (o HttpRouteRuleMatchResponseOutput) ToHttpRouteRuleMatchResponseOutputWith return o } +func (o HttpRouteRuleMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleMatchResponse] { + return pulumix.Output[HttpRouteRuleMatchResponse]{ + OutputState: o.OutputState, + } +} + // For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. func (o HttpRouteRuleMatchResponseOutput) FullPathMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteRuleMatchResponse) string { return v.FullPathMatch }).(pulumi.StringOutput) @@ -23566,6 +26867,12 @@ func (o HttpRouteRuleMatchResponseArrayOutput) ToHttpRouteRuleMatchResponseArray return o } +func (o HttpRouteRuleMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleMatchResponse] { + return pulumix.Output[[]HttpRouteRuleMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRuleMatchResponse { return vs[0].([]HttpRouteRuleMatchResponse)[vs[1].(int)] @@ -23611,6 +26918,12 @@ func (o HttpRouteRuleResponseOutput) ToHttpRouteRuleResponseOutputWithContext(ct return o } +func (o HttpRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleResponse] { + return pulumix.Output[HttpRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o HttpRouteRuleResponseOutput) CustomErrorResponsePolicy() CustomErrorResponsePolicyResponseOutput { return o.ApplyT(func(v HttpRouteRuleResponse) CustomErrorResponsePolicyResponse { return v.CustomErrorResponsePolicy }).(CustomErrorResponsePolicyResponseOutput) @@ -23675,6 +26988,12 @@ func (o HttpRouteRuleResponseArrayOutput) ToHttpRouteRuleResponseArrayOutputWith return o } +func (o HttpRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleResponse] { + return pulumix.Output[[]HttpRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRuleResponse { return vs[0].([]HttpRouteRuleResponse)[vs[1].(int)] @@ -23728,6 +27047,12 @@ func (i ImageRawDiskArgs) ToImageRawDiskOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(ImageRawDiskOutput) } +func (i ImageRawDiskArgs) ToOutput(ctx context.Context) pulumix.Output[ImageRawDisk] { + return pulumix.Output[ImageRawDisk]{ + OutputState: i.ToImageRawDiskOutputWithContext(ctx).OutputState, + } +} + func (i ImageRawDiskArgs) ToImageRawDiskPtrOutput() ImageRawDiskPtrOutput { return i.ToImageRawDiskPtrOutputWithContext(context.Background()) } @@ -23769,6 +27094,12 @@ func (i *imageRawDiskPtrType) ToImageRawDiskPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ImageRawDiskPtrOutput) } +func (i *imageRawDiskPtrType) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDisk] { + return pulumix.Output[*ImageRawDisk]{ + OutputState: i.ToImageRawDiskPtrOutputWithContext(ctx).OutputState, + } +} + // The parameters of the raw disk image. type ImageRawDiskOutput struct{ *pulumi.OutputState } @@ -23794,6 +27125,12 @@ func (o ImageRawDiskOutput) ToImageRawDiskPtrOutputWithContext(ctx context.Conte }).(ImageRawDiskPtrOutput) } +func (o ImageRawDiskOutput) ToOutput(ctx context.Context) pulumix.Output[ImageRawDisk] { + return pulumix.Output[ImageRawDisk]{ + OutputState: o.OutputState, + } +} + // The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. func (o ImageRawDiskOutput) ContainerType() ImageRawDiskContainerTypePtrOutput { return o.ApplyT(func(v ImageRawDisk) *ImageRawDiskContainerType { return v.ContainerType }).(ImageRawDiskContainerTypePtrOutput) @@ -23825,6 +27162,12 @@ func (o ImageRawDiskPtrOutput) ToImageRawDiskPtrOutputWithContext(ctx context.Co return o } +func (o ImageRawDiskPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDisk] { + return pulumix.Output[*ImageRawDisk]{ + OutputState: o.OutputState, + } +} + func (o ImageRawDiskPtrOutput) Elem() ImageRawDiskOutput { return o.ApplyT(func(v *ImageRawDisk) ImageRawDisk { if v != nil { @@ -23894,6 +27237,12 @@ func (o ImageRawDiskResponseOutput) ToImageRawDiskResponseOutputWithContext(ctx return o } +func (o ImageRawDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageRawDiskResponse] { + return pulumix.Output[ImageRawDiskResponse]{ + OutputState: o.OutputState, + } +} + // The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. func (o ImageRawDiskResponseOutput) ContainerType() pulumi.StringOutput { return o.ApplyT(func(v ImageRawDiskResponse) string { return v.ContainerType }).(pulumi.StringOutput) @@ -23958,6 +27307,12 @@ func (i InitialStateConfigArgs) ToInitialStateConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InitialStateConfigOutput) } +func (i InitialStateConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InitialStateConfig] { + return pulumix.Output[InitialStateConfig]{ + OutputState: i.ToInitialStateConfigOutputWithContext(ctx).OutputState, + } +} + func (i InitialStateConfigArgs) ToInitialStateConfigPtrOutput() InitialStateConfigPtrOutput { return i.ToInitialStateConfigPtrOutputWithContext(context.Background()) } @@ -23999,6 +27354,12 @@ func (i *initialStateConfigPtrType) ToInitialStateConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InitialStateConfigPtrOutput) } +func (i *initialStateConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InitialStateConfig] { + return pulumix.Output[*InitialStateConfig]{ + OutputState: i.ToInitialStateConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Initial State for shielded instance, these are public keys which are safe to store in public type InitialStateConfigOutput struct{ *pulumi.OutputState } @@ -24024,6 +27385,12 @@ func (o InitialStateConfigOutput) ToInitialStateConfigPtrOutputWithContext(ctx c }).(InitialStateConfigPtrOutput) } +func (o InitialStateConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InitialStateConfig] { + return pulumix.Output[InitialStateConfig]{ + OutputState: o.OutputState, + } +} + // The Key Database (db). func (o InitialStateConfigOutput) Dbs() FileContentBufferArrayOutput { return o.ApplyT(func(v InitialStateConfig) []FileContentBuffer { return v.Dbs }).(FileContentBufferArrayOutput) @@ -24058,6 +27425,12 @@ func (o InitialStateConfigPtrOutput) ToInitialStateConfigPtrOutputWithContext(ct return o } +func (o InitialStateConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InitialStateConfig] { + return pulumix.Output[*InitialStateConfig]{ + OutputState: o.OutputState, + } +} + func (o InitialStateConfigPtrOutput) Elem() InitialStateConfigOutput { return o.ApplyT(func(v *InitialStateConfig) InitialStateConfig { if v != nil { @@ -24135,6 +27508,12 @@ func (o InitialStateConfigResponseOutput) ToInitialStateConfigResponseOutputWith return o } +func (o InitialStateConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InitialStateConfigResponse] { + return pulumix.Output[InitialStateConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Key Database (db). func (o InitialStateConfigResponseOutput) Dbs() FileContentBufferResponseArrayOutput { return o.ApplyT(func(v InitialStateConfigResponse) []FileContentBufferResponse { return v.Dbs }).(FileContentBufferResponseArrayOutput) @@ -24202,6 +27581,12 @@ func (o InstanceGroupManagerActionsSummaryResponseOutput) ToInstanceGroupManager return o } +func (o InstanceGroupManagerActionsSummaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerActionsSummaryResponse] { + return pulumix.Output[InstanceGroupManagerActionsSummaryResponse]{ + OutputState: o.OutputState, + } +} + // The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it. func (o InstanceGroupManagerActionsSummaryResponseOutput) Abandoning() pulumi.IntOutput { return o.ApplyT(func(v InstanceGroupManagerActionsSummaryResponse) int { return v.Abandoning }).(pulumi.IntOutput) @@ -24310,6 +27695,12 @@ func (i InstanceGroupManagerAllInstancesConfigArgs) ToInstanceGroupManagerAllIns return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAllInstancesConfigOutput) } +func (i InstanceGroupManagerAllInstancesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAllInstancesConfig] { + return pulumix.Output[InstanceGroupManagerAllInstancesConfig]{ + OutputState: i.ToInstanceGroupManagerAllInstancesConfigOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerAllInstancesConfigArgs) ToInstanceGroupManagerAllInstancesConfigPtrOutput() InstanceGroupManagerAllInstancesConfigPtrOutput { return i.ToInstanceGroupManagerAllInstancesConfigPtrOutputWithContext(context.Background()) } @@ -24351,6 +27742,12 @@ func (i *instanceGroupManagerAllInstancesConfigPtrType) ToInstanceGroupManagerAl return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAllInstancesConfigPtrOutput) } +func (i *instanceGroupManagerAllInstancesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerAllInstancesConfig] { + return pulumix.Output[*InstanceGroupManagerAllInstancesConfig]{ + OutputState: i.ToInstanceGroupManagerAllInstancesConfigPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerAllInstancesConfigOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerAllInstancesConfigOutput) ElementType() reflect.Type { @@ -24375,6 +27772,12 @@ func (o InstanceGroupManagerAllInstancesConfigOutput) ToInstanceGroupManagerAllI }).(InstanceGroupManagerAllInstancesConfigPtrOutput) } +func (o InstanceGroupManagerAllInstancesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAllInstancesConfig] { + return pulumix.Output[InstanceGroupManagerAllInstancesConfig]{ + OutputState: o.OutputState, + } +} + // Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method. func (o InstanceGroupManagerAllInstancesConfigOutput) Properties() InstancePropertiesPatchPtrOutput { return o.ApplyT(func(v InstanceGroupManagerAllInstancesConfig) *InstancePropertiesPatch { return v.Properties }).(InstancePropertiesPatchPtrOutput) @@ -24394,6 +27797,12 @@ func (o InstanceGroupManagerAllInstancesConfigPtrOutput) ToInstanceGroupManagerA return o } +func (o InstanceGroupManagerAllInstancesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerAllInstancesConfig] { + return pulumix.Output[*InstanceGroupManagerAllInstancesConfig]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAllInstancesConfigPtrOutput) Elem() InstanceGroupManagerAllInstancesConfigOutput { return o.ApplyT(func(v *InstanceGroupManagerAllInstancesConfig) InstanceGroupManagerAllInstancesConfig { if v != nil { @@ -24433,6 +27842,12 @@ func (o InstanceGroupManagerAllInstancesConfigResponseOutput) ToInstanceGroupMan return o } +func (o InstanceGroupManagerAllInstancesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAllInstancesConfigResponse] { + return pulumix.Output[InstanceGroupManagerAllInstancesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method. func (o InstanceGroupManagerAllInstancesConfigResponseOutput) Properties() InstancePropertiesPatchResponseOutput { return o.ApplyT(func(v InstanceGroupManagerAllInstancesConfigResponse) InstancePropertiesPatchResponse { @@ -24485,6 +27900,12 @@ func (i InstanceGroupManagerAutoHealingPolicyArgs) ToInstanceGroupManagerAutoHea return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAutoHealingPolicyOutput) } +func (i InstanceGroupManagerAutoHealingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicy]{ + OutputState: i.ToInstanceGroupManagerAutoHealingPolicyOutputWithContext(ctx).OutputState, + } +} + // InstanceGroupManagerAutoHealingPolicyArrayInput is an input type that accepts InstanceGroupManagerAutoHealingPolicyArray and InstanceGroupManagerAutoHealingPolicyArrayOutput values. // You can construct a concrete instance of `InstanceGroupManagerAutoHealingPolicyArrayInput` via: // @@ -24510,6 +27931,12 @@ func (i InstanceGroupManagerAutoHealingPolicyArray) ToInstanceGroupManagerAutoHe return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAutoHealingPolicyArrayOutput) } +func (i InstanceGroupManagerAutoHealingPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy]{ + OutputState: i.ToInstanceGroupManagerAutoHealingPolicyArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerAutoHealingPolicyOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerAutoHealingPolicyOutput) ElementType() reflect.Type { @@ -24524,6 +27951,12 @@ func (o InstanceGroupManagerAutoHealingPolicyOutput) ToInstanceGroupManagerAutoH return o } +func (o InstanceGroupManagerAutoHealingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicy]{ + OutputState: o.OutputState, + } +} + // Restricts what triggers autohealing. func (o InstanceGroupManagerAutoHealingPolicyOutput) AutoHealingTriggers() InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrOutput { return o.ApplyT(func(v InstanceGroupManagerAutoHealingPolicy) *InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers { @@ -24560,6 +27993,12 @@ func (o InstanceGroupManagerAutoHealingPolicyArrayOutput) ToInstanceGroupManager return o } +func (o InstanceGroupManagerAutoHealingPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAutoHealingPolicyArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerAutoHealingPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerAutoHealingPolicy { return vs[0].([]InstanceGroupManagerAutoHealingPolicy)[vs[1].(int)] @@ -24599,6 +28038,12 @@ func (i InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersArgs) ToInstance return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOutput) } +func (i InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers]{ + OutputState: i.ToInstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersArgs) ToInstanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrOutput() InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrOutput { return i.ToInstanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrOutputWithContext(context.Background()) } @@ -24640,6 +28085,12 @@ func (i *instanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrType) ToInst return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrOutput) } +func (i *instanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers] { + return pulumix.Output[*InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers]{ + OutputState: i.ToInstanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOutput) ElementType() reflect.Type { @@ -24664,6 +28115,12 @@ func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOutput) ToInstan }).(InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrOutput) } +func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers]{ + OutputState: o.OutputState, + } +} + // If you have configured an application-based health check for the group, this field controls whether to trigger VM autohealing based on a failed health check. Valid values are: - ON (default): The group recreates running VMs that fail the application-based health check. - OFF: When set to OFF, you can still observe instance health state, but the group does not recreate VMs that fail the application-based health check. This is useful for troubleshooting and setting up your health check configuration. func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOutput) OnHealthCheck() InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheckPtrOutput { return o.ApplyT(func(v InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers) *InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOnHealthCheck { @@ -24685,6 +28142,12 @@ func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrOutput) ToIns return o } +func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers] { + return pulumix.Output[*InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersPtrOutput) Elem() InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersOutput { return o.ApplyT(func(v *InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers) InstanceGroupManagerAutoHealingPolicyAutoHealingTriggers { if v != nil { @@ -24724,6 +28187,12 @@ func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponseOutput) return o } +func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponse] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponse]{ + OutputState: o.OutputState, + } +} + // If you have configured an application-based health check for the group, this field controls whether to trigger VM autohealing based on a failed health check. Valid values are: - ON (default): The group recreates running VMs that fail the application-based health check. - OFF: When set to OFF, you can still observe instance health state, but the group does not recreate VMs that fail the application-based health check. This is useful for troubleshooting and setting up your health check configuration. func (o InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponseOutput) OnHealthCheck() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponse) string { @@ -24756,6 +28225,12 @@ func (o InstanceGroupManagerAutoHealingPolicyResponseOutput) ToInstanceGroupMana return o } +func (o InstanceGroupManagerAutoHealingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicyResponse] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Restricts what triggers autohealing. func (o InstanceGroupManagerAutoHealingPolicyResponseOutput) AutoHealingTriggers() InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponseOutput { return o.ApplyT(func(v InstanceGroupManagerAutoHealingPolicyResponse) InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponse { @@ -24792,6 +28267,12 @@ func (o InstanceGroupManagerAutoHealingPolicyResponseArrayOutput) ToInstanceGrou return o } +func (o InstanceGroupManagerAutoHealingPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerAutoHealingPolicyResponse] { + return pulumix.Output[[]InstanceGroupManagerAutoHealingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAutoHealingPolicyResponseArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerAutoHealingPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerAutoHealingPolicyResponse { return vs[0].([]InstanceGroupManagerAutoHealingPolicyResponse)[vs[1].(int)] @@ -24831,6 +28312,12 @@ func (i InstanceGroupManagerInstanceFlexibilityPolicyArgs) ToInstanceGroupManage return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerInstanceFlexibilityPolicyOutput) } +func (i InstanceGroupManagerInstanceFlexibilityPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceFlexibilityPolicy] { + return pulumix.Output[InstanceGroupManagerInstanceFlexibilityPolicy]{ + OutputState: i.ToInstanceGroupManagerInstanceFlexibilityPolicyOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerInstanceFlexibilityPolicyArgs) ToInstanceGroupManagerInstanceFlexibilityPolicyPtrOutput() InstanceGroupManagerInstanceFlexibilityPolicyPtrOutput { return i.ToInstanceGroupManagerInstanceFlexibilityPolicyPtrOutputWithContext(context.Background()) } @@ -24872,6 +28359,12 @@ func (i *instanceGroupManagerInstanceFlexibilityPolicyPtrType) ToInstanceGroupMa return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerInstanceFlexibilityPolicyPtrOutput) } +func (i *instanceGroupManagerInstanceFlexibilityPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceFlexibilityPolicy] { + return pulumix.Output[*InstanceGroupManagerInstanceFlexibilityPolicy]{ + OutputState: i.ToInstanceGroupManagerInstanceFlexibilityPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerInstanceFlexibilityPolicyOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerInstanceFlexibilityPolicyOutput) ElementType() reflect.Type { @@ -24896,6 +28389,12 @@ func (o InstanceGroupManagerInstanceFlexibilityPolicyOutput) ToInstanceGroupMana }).(InstanceGroupManagerInstanceFlexibilityPolicyPtrOutput) } +func (o InstanceGroupManagerInstanceFlexibilityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceFlexibilityPolicy] { + return pulumix.Output[InstanceGroupManagerInstanceFlexibilityPolicy]{ + OutputState: o.OutputState, + } +} + // List of instance selection options that the group will use when creating new VMs. func (o InstanceGroupManagerInstanceFlexibilityPolicyOutput) InstanceSelectionLists() pulumi.StringMapOutput { return o.ApplyT(func(v InstanceGroupManagerInstanceFlexibilityPolicy) map[string]string { @@ -24917,6 +28416,12 @@ func (o InstanceGroupManagerInstanceFlexibilityPolicyPtrOutput) ToInstanceGroupM return o } +func (o InstanceGroupManagerInstanceFlexibilityPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceFlexibilityPolicy] { + return pulumix.Output[*InstanceGroupManagerInstanceFlexibilityPolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerInstanceFlexibilityPolicyPtrOutput) Elem() InstanceGroupManagerInstanceFlexibilityPolicyOutput { return o.ApplyT(func(v *InstanceGroupManagerInstanceFlexibilityPolicy) InstanceGroupManagerInstanceFlexibilityPolicy { if v != nil { @@ -24956,6 +28461,12 @@ func (o InstanceGroupManagerInstanceFlexibilityPolicyResponseOutput) ToInstanceG return o } +func (o InstanceGroupManagerInstanceFlexibilityPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceFlexibilityPolicyResponse] { + return pulumix.Output[InstanceGroupManagerInstanceFlexibilityPolicyResponse]{ + OutputState: o.OutputState, + } +} + // List of instance selection options that the group will use when creating new VMs. func (o InstanceGroupManagerInstanceFlexibilityPolicyResponseOutput) InstanceSelectionLists() pulumi.StringMapOutput { return o.ApplyT(func(v InstanceGroupManagerInstanceFlexibilityPolicyResponse) map[string]string { @@ -25004,6 +28515,12 @@ func (i InstanceGroupManagerInstanceLifecyclePolicyArgs) ToInstanceGroupManagerI return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerInstanceLifecyclePolicyOutput) } +func (i InstanceGroupManagerInstanceLifecyclePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicy] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicy]{ + OutputState: i.ToInstanceGroupManagerInstanceLifecyclePolicyOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerInstanceLifecyclePolicyArgs) ToInstanceGroupManagerInstanceLifecyclePolicyPtrOutput() InstanceGroupManagerInstanceLifecyclePolicyPtrOutput { return i.ToInstanceGroupManagerInstanceLifecyclePolicyPtrOutputWithContext(context.Background()) } @@ -25045,6 +28562,12 @@ func (i *instanceGroupManagerInstanceLifecyclePolicyPtrType) ToInstanceGroupMana return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerInstanceLifecyclePolicyPtrOutput) } +func (i *instanceGroupManagerInstanceLifecyclePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicy] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicy]{ + OutputState: i.ToInstanceGroupManagerInstanceLifecyclePolicyPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerInstanceLifecyclePolicyOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerInstanceLifecyclePolicyOutput) ElementType() reflect.Type { @@ -25069,6 +28592,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyOutput) ToInstanceGroupManage }).(InstanceGroupManagerInstanceLifecyclePolicyPtrOutput) } +func (o InstanceGroupManagerInstanceLifecyclePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicy] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicy]{ + OutputState: o.OutputState, + } +} + // Defines behaviour for all instance or failures func (o InstanceGroupManagerInstanceLifecyclePolicyOutput) DefaultActionOnFailure() InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailurePtrOutput { return o.ApplyT(func(v InstanceGroupManagerInstanceLifecyclePolicy) *InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure { @@ -25104,6 +28633,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyPtrOutput) ToInstanceGroupMan return o } +func (o InstanceGroupManagerInstanceLifecyclePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicy] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerInstanceLifecyclePolicyPtrOutput) Elem() InstanceGroupManagerInstanceLifecyclePolicyOutput { return o.ApplyT(func(v *InstanceGroupManagerInstanceLifecyclePolicy) InstanceGroupManagerInstanceLifecyclePolicy { if v != nil { @@ -25177,6 +28712,12 @@ func (i InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalA return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalOutput) } +func (i InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal]{ + OutputState: i.ToInstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalArgs) ToInstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalPtrOutput() InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalPtrOutput { return i.ToInstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalPtrOutputWithContext(context.Background()) } @@ -25218,6 +28759,12 @@ func (i *instanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalPtrOutput) } +func (i *instanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal]{ + OutputState: i.ToInstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalOutput) ElementType() reflect.Type { @@ -25242,6 +28789,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalO }).(InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalPtrOutput) } +func (o InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal]{ + OutputState: o.OutputState, + } +} + // The number of seconds to wait for a readiness signal during initialization before timing out. func (o InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalOutput) TimeoutSec() pulumi.IntPtrOutput { return o.ApplyT(func(v InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal) *int { @@ -25263,6 +28816,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalP return o } +func (o InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalPtrOutput) Elem() InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalOutput { return o.ApplyT(func(v *InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal) InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal { if v != nil { @@ -25302,6 +28861,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalR return o } +func (o InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponse] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponse]{ + OutputState: o.OutputState, + } +} + // The number of seconds to wait for a readiness signal during initialization before timing out. func (o InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponseOutput) TimeoutSec() pulumi.IntOutput { return o.ApplyT(func(v InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponse) int { @@ -25332,6 +28897,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyResponseOutput) ToInstanceGro return o } +func (o InstanceGroupManagerInstanceLifecyclePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyResponse] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Defines behaviour for all instance or failures func (o InstanceGroupManagerInstanceLifecyclePolicyResponseOutput) DefaultActionOnFailure() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerInstanceLifecyclePolicyResponse) string { return v.DefaultActionOnFailure }).(pulumi.StringOutput) @@ -25370,6 +28941,12 @@ func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemRe return o } +func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponse] { + return pulumix.Output[InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponseOutput) ErrorInfo() ErrorInfoResponseOutput { return o.ApplyT(func(v InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponse) ErrorInfoResponse { return v.ErrorInfo @@ -25408,6 +28985,12 @@ func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemRe return o } +func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponse] { + return pulumix.Output[[]InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponseArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponse { return vs[0].([]InstanceGroupManagerResizeRequestStatusErrorErrorsItemErrorDetailsItemResponse)[vs[1].(int)] @@ -25439,6 +29022,12 @@ func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponseOutput) To return o } +func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponse] { + return pulumix.Output[InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponse]{ + OutputState: o.OutputState, + } +} + // The error type identifier for this error. func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -25475,6 +29064,12 @@ func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponseArrayOutpu return o } +func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponse] { + return pulumix.Output[[]InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponseArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponse { return vs[0].([]InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponse)[vs[1].(int)] @@ -25502,6 +29097,12 @@ func (o InstanceGroupManagerResizeRequestStatusErrorResponseOutput) ToInstanceGr return o } +func (o InstanceGroupManagerResizeRequestStatusErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerResizeRequestStatusErrorResponse] { + return pulumix.Output[InstanceGroupManagerResizeRequestStatusErrorResponse]{ + OutputState: o.OutputState, + } +} + // The array of errors encountered while processing this operation. func (o InstanceGroupManagerResizeRequestStatusErrorResponseOutput) Errors() InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponseArrayOutput { return o.ApplyT(func(v InstanceGroupManagerResizeRequestStatusErrorResponse) []InstanceGroupManagerResizeRequestStatusErrorErrorsItemResponse { @@ -25530,6 +29131,12 @@ func (o InstanceGroupManagerResizeRequestStatusResponseOutput) ToInstanceGroupMa return o } +func (o InstanceGroupManagerResizeRequestStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerResizeRequestStatusResponse] { + return pulumix.Output[InstanceGroupManagerResizeRequestStatusResponse]{ + OutputState: o.OutputState, + } +} + // Errors encountered during the queueing or provisioning phases of the ResizeRequest. func (o InstanceGroupManagerResizeRequestStatusResponseOutput) Error() InstanceGroupManagerResizeRequestStatusErrorResponseOutput { return o.ApplyT(func(v InstanceGroupManagerResizeRequestStatusResponse) InstanceGroupManagerResizeRequestStatusErrorResponse { @@ -25573,6 +29180,12 @@ func (i InstanceGroupManagerStandbyPolicyArgs) ToInstanceGroupManagerStandbyPoli return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerStandbyPolicyOutput) } +func (i InstanceGroupManagerStandbyPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStandbyPolicy] { + return pulumix.Output[InstanceGroupManagerStandbyPolicy]{ + OutputState: i.ToInstanceGroupManagerStandbyPolicyOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerStandbyPolicyArgs) ToInstanceGroupManagerStandbyPolicyPtrOutput() InstanceGroupManagerStandbyPolicyPtrOutput { return i.ToInstanceGroupManagerStandbyPolicyPtrOutputWithContext(context.Background()) } @@ -25614,6 +29227,12 @@ func (i *instanceGroupManagerStandbyPolicyPtrType) ToInstanceGroupManagerStandby return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerStandbyPolicyPtrOutput) } +func (i *instanceGroupManagerStandbyPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerStandbyPolicy] { + return pulumix.Output[*InstanceGroupManagerStandbyPolicy]{ + OutputState: i.ToInstanceGroupManagerStandbyPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerStandbyPolicyOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerStandbyPolicyOutput) ElementType() reflect.Type { @@ -25638,6 +29257,12 @@ func (o InstanceGroupManagerStandbyPolicyOutput) ToInstanceGroupManagerStandbyPo }).(InstanceGroupManagerStandbyPolicyPtrOutput) } +func (o InstanceGroupManagerStandbyPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStandbyPolicy] { + return pulumix.Output[InstanceGroupManagerStandbyPolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerStandbyPolicyOutput) InitialDelaySec() pulumi.IntPtrOutput { return o.ApplyT(func(v InstanceGroupManagerStandbyPolicy) *int { return v.InitialDelaySec }).(pulumi.IntPtrOutput) } @@ -25656,6 +29281,12 @@ func (o InstanceGroupManagerStandbyPolicyPtrOutput) ToInstanceGroupManagerStandb return o } +func (o InstanceGroupManagerStandbyPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerStandbyPolicy] { + return pulumix.Output[*InstanceGroupManagerStandbyPolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerStandbyPolicyPtrOutput) Elem() InstanceGroupManagerStandbyPolicyOutput { return o.ApplyT(func(v *InstanceGroupManagerStandbyPolicy) InstanceGroupManagerStandbyPolicy { if v != nil { @@ -25693,6 +29324,12 @@ func (o InstanceGroupManagerStandbyPolicyResponseOutput) ToInstanceGroupManagerS return o } +func (o InstanceGroupManagerStandbyPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStandbyPolicyResponse] { + return pulumix.Output[InstanceGroupManagerStandbyPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerStandbyPolicyResponseOutput) InitialDelaySec() pulumi.IntOutput { return o.ApplyT(func(v InstanceGroupManagerStandbyPolicyResponse) int { return v.InitialDelaySec }).(pulumi.IntOutput) } @@ -25718,6 +29355,12 @@ func (o InstanceGroupManagerStatusAllInstancesConfigResponseOutput) ToInstanceGr return o } +func (o InstanceGroupManagerStatusAllInstancesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusAllInstancesConfigResponse] { + return pulumix.Output[InstanceGroupManagerStatusAllInstancesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Current all-instances configuration revision. This value is in RFC3339 text format. func (o InstanceGroupManagerStatusAllInstancesConfigResponseOutput) CurrentRevision() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerStatusAllInstancesConfigResponse) string { return v.CurrentRevision }).(pulumi.StringOutput) @@ -25755,6 +29398,12 @@ func (o InstanceGroupManagerStatusResponseOutput) ToInstanceGroupManagerStatusRe return o } +func (o InstanceGroupManagerStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusResponse] { + return pulumix.Output[InstanceGroupManagerStatusResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Status of all-instances configuration on the group. func (o InstanceGroupManagerStatusResponseOutput) AllInstancesConfig() InstanceGroupManagerStatusAllInstancesConfigResponseOutput { return o.ApplyT(func(v InstanceGroupManagerStatusResponse) InstanceGroupManagerStatusAllInstancesConfigResponse { @@ -25805,6 +29454,12 @@ func (o InstanceGroupManagerStatusStatefulPerInstanceConfigsResponseOutput) ToIn return o } +func (o InstanceGroupManagerStatusStatefulPerInstanceConfigsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse] { + return pulumix.Output[InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse]{ + OutputState: o.OutputState, + } +} + // A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs. func (o InstanceGroupManagerStatusStatefulPerInstanceConfigsResponseOutput) AllEffective() pulumi.BoolOutput { return o.ApplyT(func(v InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse) bool { return v.AllEffective }).(pulumi.BoolOutput) @@ -25835,6 +29490,12 @@ func (o InstanceGroupManagerStatusStatefulResponseOutput) ToInstanceGroupManager return o } +func (o InstanceGroupManagerStatusStatefulResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusStatefulResponse] { + return pulumix.Output[InstanceGroupManagerStatusStatefulResponse]{ + OutputState: o.OutputState, + } +} + // A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. func (o InstanceGroupManagerStatusStatefulResponseOutput) HasStatefulConfig() pulumi.BoolOutput { return o.ApplyT(func(v InstanceGroupManagerStatusStatefulResponse) bool { return v.HasStatefulConfig }).(pulumi.BoolOutput) @@ -25873,6 +29534,12 @@ func (o InstanceGroupManagerStatusVersionTargetResponseOutput) ToInstanceGroupMa return o } +func (o InstanceGroupManagerStatusVersionTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusVersionTargetResponse] { + return pulumix.Output[InstanceGroupManagerStatusVersionTargetResponse]{ + OutputState: o.OutputState, + } +} + // A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager. func (o InstanceGroupManagerStatusVersionTargetResponseOutput) IsReached() pulumi.BoolOutput { return o.ApplyT(func(v InstanceGroupManagerStatusVersionTargetResponse) bool { return v.IsReached }).(pulumi.BoolOutput) @@ -25939,6 +29606,12 @@ func (i InstanceGroupManagerUpdatePolicyArgs) ToInstanceGroupManagerUpdatePolicy return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerUpdatePolicyOutput) } +func (i InstanceGroupManagerUpdatePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[InstanceGroupManagerUpdatePolicy]{ + OutputState: i.ToInstanceGroupManagerUpdatePolicyOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerUpdatePolicyArgs) ToInstanceGroupManagerUpdatePolicyPtrOutput() InstanceGroupManagerUpdatePolicyPtrOutput { return i.ToInstanceGroupManagerUpdatePolicyPtrOutputWithContext(context.Background()) } @@ -25980,6 +29653,12 @@ func (i *instanceGroupManagerUpdatePolicyPtrType) ToInstanceGroupManagerUpdatePo return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerUpdatePolicyPtrOutput) } +func (i *instanceGroupManagerUpdatePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicy]{ + OutputState: i.ToInstanceGroupManagerUpdatePolicyPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerUpdatePolicyOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerUpdatePolicyOutput) ElementType() reflect.Type { @@ -26004,6 +29683,12 @@ func (o InstanceGroupManagerUpdatePolicyOutput) ToInstanceGroupManagerUpdatePoli }).(InstanceGroupManagerUpdatePolicyPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[InstanceGroupManagerUpdatePolicy]{ + OutputState: o.OutputState, + } +} + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. func (o InstanceGroupManagerUpdatePolicyOutput) InstanceRedistributionType() InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput { return o.ApplyT(func(v InstanceGroupManagerUpdatePolicy) *InstanceGroupManagerUpdatePolicyInstanceRedistributionType { @@ -26066,6 +29751,12 @@ func (o InstanceGroupManagerUpdatePolicyPtrOutput) ToInstanceGroupManagerUpdateP return o } +func (o InstanceGroupManagerUpdatePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyPtrOutput) Elem() InstanceGroupManagerUpdatePolicyOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicy) InstanceGroupManagerUpdatePolicy { if v != nil { @@ -26189,6 +29880,12 @@ func (o InstanceGroupManagerUpdatePolicyResponseOutput) ToInstanceGroupManagerUp return o } +func (o InstanceGroupManagerUpdatePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyResponse] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. func (o InstanceGroupManagerUpdatePolicyResponseOutput) InstanceRedistributionType() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerUpdatePolicyResponse) string { return v.InstanceRedistributionType }).(pulumi.StringOutput) @@ -26278,6 +29975,12 @@ func (i InstanceGroupManagerVersionArgs) ToInstanceGroupManagerVersionOutputWith return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerVersionOutput) } +func (i InstanceGroupManagerVersionArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerVersion] { + return pulumix.Output[InstanceGroupManagerVersion]{ + OutputState: i.ToInstanceGroupManagerVersionOutputWithContext(ctx).OutputState, + } +} + // InstanceGroupManagerVersionArrayInput is an input type that accepts InstanceGroupManagerVersionArray and InstanceGroupManagerVersionArrayOutput values. // You can construct a concrete instance of `InstanceGroupManagerVersionArrayInput` via: // @@ -26303,6 +30006,12 @@ func (i InstanceGroupManagerVersionArray) ToInstanceGroupManagerVersionArrayOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerVersionArrayOutput) } +func (i InstanceGroupManagerVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerVersion] { + return pulumix.Output[[]InstanceGroupManagerVersion]{ + OutputState: i.ToInstanceGroupManagerVersionArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerVersionOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerVersionOutput) ElementType() reflect.Type { @@ -26317,6 +30026,12 @@ func (o InstanceGroupManagerVersionOutput) ToInstanceGroupManagerVersionOutputWi return o } +func (o InstanceGroupManagerVersionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerVersion] { + return pulumix.Output[InstanceGroupManagerVersion]{ + OutputState: o.OutputState, + } +} + // The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the `targetSize` for this version is reached. func (o InstanceGroupManagerVersionOutput) InstanceTemplate() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceGroupManagerVersion) *string { return v.InstanceTemplate }).(pulumi.StringPtrOutput) @@ -26353,6 +30068,12 @@ func (o InstanceGroupManagerVersionArrayOutput) ToInstanceGroupManagerVersionArr return o } +func (o InstanceGroupManagerVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerVersion] { + return pulumix.Output[[]InstanceGroupManagerVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerVersionArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerVersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerVersion { return vs[0].([]InstanceGroupManagerVersion)[vs[1].(int)] @@ -26386,6 +30107,12 @@ func (o InstanceGroupManagerVersionResponseOutput) ToInstanceGroupManagerVersion return o } +func (o InstanceGroupManagerVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerVersionResponse] { + return pulumix.Output[InstanceGroupManagerVersionResponse]{ + OutputState: o.OutputState, + } +} + // The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the `targetSize` for this version is reached. func (o InstanceGroupManagerVersionResponseOutput) InstanceTemplate() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerVersionResponse) string { return v.InstanceTemplate }).(pulumi.StringOutput) @@ -26422,6 +30149,12 @@ func (o InstanceGroupManagerVersionResponseArrayOutput) ToInstanceGroupManagerVe return o } +func (o InstanceGroupManagerVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerVersionResponse] { + return pulumix.Output[[]InstanceGroupManagerVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerVersionResponseArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerVersionResponse { return vs[0].([]InstanceGroupManagerVersionResponse)[vs[1].(int)] @@ -26463,6 +30196,12 @@ func (i InstanceParamsArgs) ToInstanceParamsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(InstanceParamsOutput) } +func (i InstanceParamsArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceParams] { + return pulumix.Output[InstanceParams]{ + OutputState: i.ToInstanceParamsOutputWithContext(ctx).OutputState, + } +} + func (i InstanceParamsArgs) ToInstanceParamsPtrOutput() InstanceParamsPtrOutput { return i.ToInstanceParamsPtrOutputWithContext(context.Background()) } @@ -26504,6 +30243,12 @@ func (i *instanceParamsPtrType) ToInstanceParamsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(InstanceParamsPtrOutput) } +func (i *instanceParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceParams] { + return pulumix.Output[*InstanceParams]{ + OutputState: i.ToInstanceParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Additional instance params. type InstanceParamsOutput struct{ *pulumi.OutputState } @@ -26529,6 +30274,12 @@ func (o InstanceParamsOutput) ToInstanceParamsPtrOutputWithContext(ctx context.C }).(InstanceParamsPtrOutput) } +func (o InstanceParamsOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceParams] { + return pulumix.Output[InstanceParams]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o InstanceParamsOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v InstanceParams) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -26548,6 +30299,12 @@ func (o InstanceParamsPtrOutput) ToInstanceParamsPtrOutputWithContext(ctx contex return o } +func (o InstanceParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceParams] { + return pulumix.Output[*InstanceParams]{ + OutputState: o.OutputState, + } +} + func (o InstanceParamsPtrOutput) Elem() InstanceParamsOutput { return o.ApplyT(func(v *InstanceParams) InstanceParams { if v != nil { @@ -26589,6 +30346,12 @@ func (o InstanceParamsResponseOutput) ToInstanceParamsResponseOutputWithContext( return o } +func (o InstanceParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceParamsResponse] { + return pulumix.Output[InstanceParamsResponse]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o InstanceParamsResponseOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v InstanceParamsResponse) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -26727,6 +30490,12 @@ func (i InstancePropertiesArgs) ToInstancePropertiesOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InstancePropertiesOutput) } +func (i InstancePropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceProperties] { + return pulumix.Output[InstanceProperties]{ + OutputState: i.ToInstancePropertiesOutputWithContext(ctx).OutputState, + } +} + func (i InstancePropertiesArgs) ToInstancePropertiesPtrOutput() InstancePropertiesPtrOutput { return i.ToInstancePropertiesPtrOutputWithContext(context.Background()) } @@ -26768,6 +30537,12 @@ func (i *instancePropertiesPtrType) ToInstancePropertiesPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InstancePropertiesPtrOutput) } +func (i *instancePropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceProperties] { + return pulumix.Output[*InstanceProperties]{ + OutputState: i.ToInstancePropertiesPtrOutputWithContext(ctx).OutputState, + } +} + type InstancePropertiesOutput struct{ *pulumi.OutputState } func (InstancePropertiesOutput) ElementType() reflect.Type { @@ -26792,6 +30567,12 @@ func (o InstancePropertiesOutput) ToInstancePropertiesPtrOutputWithContext(ctx c }).(InstancePropertiesPtrOutput) } +func (o InstancePropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceProperties] { + return pulumix.Output[InstanceProperties]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet. func (o InstancePropertiesOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesPtrOutput { return o.ApplyT(func(v InstanceProperties) *AdvancedMachineFeatures { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesPtrOutput) @@ -26942,6 +30723,12 @@ func (o InstancePropertiesPtrOutput) ToInstancePropertiesPtrOutputWithContext(ct return o } +func (o InstancePropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceProperties] { + return pulumix.Output[*InstanceProperties]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPtrOutput) Elem() InstancePropertiesOutput { return o.ApplyT(func(v *InstanceProperties) InstanceProperties { if v != nil { @@ -27251,6 +31038,12 @@ func (i InstancePropertiesPatchArgs) ToInstancePropertiesPatchOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(InstancePropertiesPatchOutput) } +func (i InstancePropertiesPatchArgs) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPatch] { + return pulumix.Output[InstancePropertiesPatch]{ + OutputState: i.ToInstancePropertiesPatchOutputWithContext(ctx).OutputState, + } +} + func (i InstancePropertiesPatchArgs) ToInstancePropertiesPatchPtrOutput() InstancePropertiesPatchPtrOutput { return i.ToInstancePropertiesPatchPtrOutputWithContext(context.Background()) } @@ -27292,6 +31085,12 @@ func (i *instancePropertiesPatchPtrType) ToInstancePropertiesPatchPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(InstancePropertiesPatchPtrOutput) } +func (i *instancePropertiesPatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPatch] { + return pulumix.Output[*InstancePropertiesPatch]{ + OutputState: i.ToInstancePropertiesPatchPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the change that you want to make to the instance properties. type InstancePropertiesPatchOutput struct{ *pulumi.OutputState } @@ -27317,6 +31116,12 @@ func (o InstancePropertiesPatchOutput) ToInstancePropertiesPatchPtrOutputWithCon }).(InstancePropertiesPatchPtrOutput) } +func (o InstancePropertiesPatchOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPatch] { + return pulumix.Output[InstancePropertiesPatch]{ + OutputState: o.OutputState, + } +} + // The label key-value pairs that you want to patch onto the instance. func (o InstancePropertiesPatchOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v InstancePropertiesPatch) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -27341,6 +31146,12 @@ func (o InstancePropertiesPatchPtrOutput) ToInstancePropertiesPatchPtrOutputWith return o } +func (o InstancePropertiesPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPatch] { + return pulumix.Output[*InstancePropertiesPatch]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPatchPtrOutput) Elem() InstancePropertiesPatchOutput { return o.ApplyT(func(v *InstancePropertiesPatch) InstancePropertiesPatch { if v != nil { @@ -27394,6 +31205,12 @@ func (o InstancePropertiesPatchResponseOutput) ToInstancePropertiesPatchResponse return o } +func (o InstancePropertiesPatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPatchResponse] { + return pulumix.Output[InstancePropertiesPatchResponse]{ + OutputState: o.OutputState, + } +} + // The label key-value pairs that you want to patch onto the instance. func (o InstancePropertiesPatchResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v InstancePropertiesPatchResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -27473,6 +31290,12 @@ func (o InstancePropertiesResponseOutput) ToInstancePropertiesResponseOutputWith return o } +func (o InstancePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesResponse] { + return pulumix.Output[InstancePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet. func (o InstancePropertiesResponseOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesResponseOutput { return o.ApplyT(func(v InstancePropertiesResponse) AdvancedMachineFeaturesResponse { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesResponseOutput) @@ -27624,6 +31447,12 @@ func (o InstantSnapshotResourceStatusResponseOutput) ToInstantSnapshotResourceSt return o } +func (o InstantSnapshotResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstantSnapshotResourceStatusResponse] { + return pulumix.Output[InstantSnapshotResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // The storage size of this instant snapshot. func (o InstantSnapshotResourceStatusResponseOutput) StorageSizeBytes() pulumi.StringOutput { return o.ApplyT(func(v InstantSnapshotResourceStatusResponse) string { return v.StorageSizeBytes }).(pulumi.StringOutput) @@ -27668,6 +31497,12 @@ func (i Int64RangeMatchArgs) ToInt64RangeMatchOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(Int64RangeMatchOutput) } +func (i Int64RangeMatchArgs) ToOutput(ctx context.Context) pulumix.Output[Int64RangeMatch] { + return pulumix.Output[Int64RangeMatch]{ + OutputState: i.ToInt64RangeMatchOutputWithContext(ctx).OutputState, + } +} + func (i Int64RangeMatchArgs) ToInt64RangeMatchPtrOutput() Int64RangeMatchPtrOutput { return i.ToInt64RangeMatchPtrOutputWithContext(context.Background()) } @@ -27709,6 +31544,12 @@ func (i *int64RangeMatchPtrType) ToInt64RangeMatchPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(Int64RangeMatchPtrOutput) } +func (i *int64RangeMatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*Int64RangeMatch] { + return pulumix.Output[*Int64RangeMatch]{ + OutputState: i.ToInt64RangeMatchPtrOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatch criteria for field values that must stay within the specified integer range. type Int64RangeMatchOutput struct{ *pulumi.OutputState } @@ -27734,6 +31575,12 @@ func (o Int64RangeMatchOutput) ToInt64RangeMatchPtrOutputWithContext(ctx context }).(Int64RangeMatchPtrOutput) } +func (o Int64RangeMatchOutput) ToOutput(ctx context.Context) pulumix.Output[Int64RangeMatch] { + return pulumix.Output[Int64RangeMatch]{ + OutputState: o.OutputState, + } +} + // The end of the range (exclusive) in signed long integer format. func (o Int64RangeMatchOutput) RangeEnd() pulumi.StringPtrOutput { return o.ApplyT(func(v Int64RangeMatch) *string { return v.RangeEnd }).(pulumi.StringPtrOutput) @@ -27758,6 +31605,12 @@ func (o Int64RangeMatchPtrOutput) ToInt64RangeMatchPtrOutputWithContext(ctx cont return o } +func (o Int64RangeMatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Int64RangeMatch] { + return pulumix.Output[*Int64RangeMatch]{ + OutputState: o.OutputState, + } +} + func (o Int64RangeMatchPtrOutput) Elem() Int64RangeMatchOutput { return o.ApplyT(func(v *Int64RangeMatch) Int64RangeMatch { if v != nil { @@ -27811,6 +31664,12 @@ func (o Int64RangeMatchResponseOutput) ToInt64RangeMatchResponseOutputWithContex return o } +func (o Int64RangeMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Int64RangeMatchResponse] { + return pulumix.Output[Int64RangeMatchResponse]{ + OutputState: o.OutputState, + } +} + // The end of the range (exclusive) in signed long integer format. func (o Int64RangeMatchResponseOutput) RangeEnd() pulumi.StringOutput { return o.ApplyT(func(v Int64RangeMatchResponse) string { return v.RangeEnd }).(pulumi.StringOutput) @@ -27840,6 +31699,12 @@ func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOut return o } +func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse] { + return pulumix.Output[InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOutput) Max() pulumi.IntOutput { return o.ApplyT(func(v InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse) int { return v.Max }).(pulumi.IntOutput) } @@ -27862,6 +31727,12 @@ func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseArr return o } +func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse] { + return pulumix.Output[[]InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseArrayOutput) Index(i pulumi.IntInput) InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse { return vs[0].([]InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse)[vs[1].(int)] @@ -27889,6 +31760,12 @@ func (o InterconnectAttachmentConfigurationConstraintsResponseOutput) ToIntercon return o } +func (o InterconnectAttachmentConfigurationConstraintsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentConfigurationConstraintsResponse] { + return pulumix.Output[InterconnectAttachmentConfigurationConstraintsResponse]{ + OutputState: o.OutputState, + } +} + // Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. func (o InterconnectAttachmentConfigurationConstraintsResponseOutput) BgpMd5() pulumi.StringOutput { return o.ApplyT(func(v InterconnectAttachmentConfigurationConstraintsResponse) string { return v.BgpMd5 }).(pulumi.StringOutput) @@ -27944,6 +31821,12 @@ func (i InterconnectAttachmentPartnerMetadataArgs) ToInterconnectAttachmentPartn return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentPartnerMetadataOutput) } +func (i InterconnectAttachmentPartnerMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[InterconnectAttachmentPartnerMetadata]{ + OutputState: i.ToInterconnectAttachmentPartnerMetadataOutputWithContext(ctx).OutputState, + } +} + func (i InterconnectAttachmentPartnerMetadataArgs) ToInterconnectAttachmentPartnerMetadataPtrOutput() InterconnectAttachmentPartnerMetadataPtrOutput { return i.ToInterconnectAttachmentPartnerMetadataPtrOutputWithContext(context.Background()) } @@ -27985,6 +31868,12 @@ func (i *interconnectAttachmentPartnerMetadataPtrType) ToInterconnectAttachmentP return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentPartnerMetadataPtrOutput) } +func (i *interconnectAttachmentPartnerMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[*InterconnectAttachmentPartnerMetadata]{ + OutputState: i.ToInterconnectAttachmentPartnerMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments. type InterconnectAttachmentPartnerMetadataOutput struct{ *pulumi.OutputState } @@ -28010,6 +31899,12 @@ func (o InterconnectAttachmentPartnerMetadataOutput) ToInterconnectAttachmentPar }).(InterconnectAttachmentPartnerMetadataPtrOutput) } +func (o InterconnectAttachmentPartnerMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[InterconnectAttachmentPartnerMetadata]{ + OutputState: o.OutputState, + } +} + // Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values. func (o InterconnectAttachmentPartnerMetadataOutput) InterconnectName() pulumi.StringPtrOutput { return o.ApplyT(func(v InterconnectAttachmentPartnerMetadata) *string { return v.InterconnectName }).(pulumi.StringPtrOutput) @@ -28039,6 +31934,12 @@ func (o InterconnectAttachmentPartnerMetadataPtrOutput) ToInterconnectAttachment return o } +func (o InterconnectAttachmentPartnerMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[*InterconnectAttachmentPartnerMetadata]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentPartnerMetadataPtrOutput) Elem() InterconnectAttachmentPartnerMetadataOutput { return o.ApplyT(func(v *InterconnectAttachmentPartnerMetadata) InterconnectAttachmentPartnerMetadata { if v != nil { @@ -28104,6 +32005,12 @@ func (o InterconnectAttachmentPartnerMetadataResponseOutput) ToInterconnectAttac return o } +func (o InterconnectAttachmentPartnerMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPartnerMetadataResponse] { + return pulumix.Output[InterconnectAttachmentPartnerMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values. func (o InterconnectAttachmentPartnerMetadataResponseOutput) InterconnectName() pulumi.StringOutput { return o.ApplyT(func(v InterconnectAttachmentPartnerMetadataResponse) string { return v.InterconnectName }).(pulumi.StringOutput) @@ -28140,6 +32047,12 @@ func (o InterconnectAttachmentPrivateInfoResponseOutput) ToInterconnectAttachmen return o } +func (o InterconnectAttachmentPrivateInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPrivateInfoResponse] { + return pulumix.Output[InterconnectAttachmentPrivateInfoResponse]{ + OutputState: o.OutputState, + } +} + // 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region. func (o InterconnectAttachmentPrivateInfoResponseOutput) Tag8021q() pulumi.IntOutput { return o.ApplyT(func(v InterconnectAttachmentPrivateInfoResponse) int { return v.Tag8021q }).(pulumi.IntOutput) @@ -28170,6 +32083,12 @@ func (o InterconnectCircuitInfoResponseOutput) ToInterconnectCircuitInfoResponse return o } +func (o InterconnectCircuitInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectCircuitInfoResponse] { + return pulumix.Output[InterconnectCircuitInfoResponse]{ + OutputState: o.OutputState, + } +} + // Customer-side demarc ID for this circuit. func (o InterconnectCircuitInfoResponseOutput) CustomerDemarcId() pulumi.StringOutput { return o.ApplyT(func(v InterconnectCircuitInfoResponse) string { return v.CustomerDemarcId }).(pulumi.StringOutput) @@ -28199,6 +32118,12 @@ func (o InterconnectCircuitInfoResponseArrayOutput) ToInterconnectCircuitInfoRes return o } +func (o InterconnectCircuitInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectCircuitInfoResponse] { + return pulumix.Output[[]InterconnectCircuitInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectCircuitInfoResponseArrayOutput) Index(i pulumi.IntInput) InterconnectCircuitInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectCircuitInfoResponse { return vs[0].([]InterconnectCircuitInfoResponse)[vs[1].(int)] @@ -28244,6 +32169,12 @@ func (i InterconnectMacsecArgs) ToInterconnectMacsecOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InterconnectMacsecOutput) } +func (i InterconnectMacsecArgs) ToOutput(ctx context.Context) pulumix.Output[InterconnectMacsec] { + return pulumix.Output[InterconnectMacsec]{ + OutputState: i.ToInterconnectMacsecOutputWithContext(ctx).OutputState, + } +} + func (i InterconnectMacsecArgs) ToInterconnectMacsecPtrOutput() InterconnectMacsecPtrOutput { return i.ToInterconnectMacsecPtrOutputWithContext(context.Background()) } @@ -28285,6 +32216,12 @@ func (i *interconnectMacsecPtrType) ToInterconnectMacsecPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InterconnectMacsecPtrOutput) } +func (i *interconnectMacsecPtrType) ToOutput(ctx context.Context) pulumix.Output[*InterconnectMacsec] { + return pulumix.Output[*InterconnectMacsec]{ + OutputState: i.ToInterconnectMacsecPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration information for enabling Media Access Control security (Macsec) on this Interconnect between Google and your on-premises router. type InterconnectMacsecOutput struct{ *pulumi.OutputState } @@ -28310,6 +32247,12 @@ func (o InterconnectMacsecOutput) ToInterconnectMacsecPtrOutputWithContext(ctx c }).(InterconnectMacsecPtrOutput) } +func (o InterconnectMacsecOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectMacsec] { + return pulumix.Output[InterconnectMacsec]{ + OutputState: o.OutputState, + } +} + // If set to true, the Interconnect will be configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect will be configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router. func (o InterconnectMacsecOutput) FailOpen() pulumi.BoolPtrOutput { return o.ApplyT(func(v InterconnectMacsec) *bool { return v.FailOpen }).(pulumi.BoolPtrOutput) @@ -28334,6 +32277,12 @@ func (o InterconnectMacsecPtrOutput) ToInterconnectMacsecPtrOutputWithContext(ct return o } +func (o InterconnectMacsecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectMacsec] { + return pulumix.Output[*InterconnectMacsec]{ + OutputState: o.OutputState, + } +} + func (o InterconnectMacsecPtrOutput) Elem() InterconnectMacsecOutput { return o.ApplyT(func(v *InterconnectMacsec) InterconnectMacsec { if v != nil { @@ -28403,6 +32352,12 @@ func (i InterconnectMacsecPreSharedKeyArgs) ToInterconnectMacsecPreSharedKeyOutp return pulumi.ToOutputWithContext(ctx, i).(InterconnectMacsecPreSharedKeyOutput) } +func (i InterconnectMacsecPreSharedKeyArgs) ToOutput(ctx context.Context) pulumix.Output[InterconnectMacsecPreSharedKey] { + return pulumix.Output[InterconnectMacsecPreSharedKey]{ + OutputState: i.ToInterconnectMacsecPreSharedKeyOutputWithContext(ctx).OutputState, + } +} + // InterconnectMacsecPreSharedKeyArrayInput is an input type that accepts InterconnectMacsecPreSharedKeyArray and InterconnectMacsecPreSharedKeyArrayOutput values. // You can construct a concrete instance of `InterconnectMacsecPreSharedKeyArrayInput` via: // @@ -28428,6 +32383,12 @@ func (i InterconnectMacsecPreSharedKeyArray) ToInterconnectMacsecPreSharedKeyArr return pulumi.ToOutputWithContext(ctx, i).(InterconnectMacsecPreSharedKeyArrayOutput) } +func (i InterconnectMacsecPreSharedKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectMacsecPreSharedKey] { + return pulumix.Output[[]InterconnectMacsecPreSharedKey]{ + OutputState: i.ToInterconnectMacsecPreSharedKeyArrayOutputWithContext(ctx).OutputState, + } +} + // Describes a pre-shared key used to setup MACsec in static connectivity association key (CAK) mode. type InterconnectMacsecPreSharedKeyOutput struct{ *pulumi.OutputState } @@ -28443,6 +32404,12 @@ func (o InterconnectMacsecPreSharedKeyOutput) ToInterconnectMacsecPreSharedKeyOu return o } +func (o InterconnectMacsecPreSharedKeyOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectMacsecPreSharedKey] { + return pulumix.Output[InterconnectMacsecPreSharedKey]{ + OutputState: o.OutputState, + } +} + // A name for this pre-shared key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. func (o InterconnectMacsecPreSharedKeyOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v InterconnectMacsecPreSharedKey) string { return v.Name }).(pulumi.StringOutput) @@ -28467,6 +32434,12 @@ func (o InterconnectMacsecPreSharedKeyArrayOutput) ToInterconnectMacsecPreShared return o } +func (o InterconnectMacsecPreSharedKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectMacsecPreSharedKey] { + return pulumix.Output[[]InterconnectMacsecPreSharedKey]{ + OutputState: o.OutputState, + } +} + func (o InterconnectMacsecPreSharedKeyArrayOutput) Index(i pulumi.IntInput) InterconnectMacsecPreSharedKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectMacsecPreSharedKey { return vs[0].([]InterconnectMacsecPreSharedKey)[vs[1].(int)] @@ -28496,6 +32469,12 @@ func (o InterconnectMacsecPreSharedKeyResponseOutput) ToInterconnectMacsecPreSha return o } +func (o InterconnectMacsecPreSharedKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectMacsecPreSharedKeyResponse] { + return pulumix.Output[InterconnectMacsecPreSharedKeyResponse]{ + OutputState: o.OutputState, + } +} + // A name for this pre-shared key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. func (o InterconnectMacsecPreSharedKeyResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v InterconnectMacsecPreSharedKeyResponse) string { return v.Name }).(pulumi.StringOutput) @@ -28520,6 +32499,12 @@ func (o InterconnectMacsecPreSharedKeyResponseArrayOutput) ToInterconnectMacsecP return o } +func (o InterconnectMacsecPreSharedKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectMacsecPreSharedKeyResponse] { + return pulumix.Output[[]InterconnectMacsecPreSharedKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectMacsecPreSharedKeyResponseArrayOutput) Index(i pulumi.IntInput) InterconnectMacsecPreSharedKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectMacsecPreSharedKeyResponse { return vs[0].([]InterconnectMacsecPreSharedKeyResponse)[vs[1].(int)] @@ -28549,6 +32534,12 @@ func (o InterconnectMacsecResponseOutput) ToInterconnectMacsecResponseOutputWith return o } +func (o InterconnectMacsecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectMacsecResponse] { + return pulumix.Output[InterconnectMacsecResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, the Interconnect will be configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect will be configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router. func (o InterconnectMacsecResponseOutput) FailOpen() pulumi.BoolOutput { return o.ApplyT(func(v InterconnectMacsecResponse) bool { return v.FailOpen }).(pulumi.BoolOutput) @@ -28594,6 +32585,12 @@ func (o InterconnectOutageNotificationResponseOutput) ToInterconnectOutageNotifi return o } +func (o InterconnectOutageNotificationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectOutageNotificationResponse] { + return pulumix.Output[InterconnectOutageNotificationResponse]{ + OutputState: o.OutputState, + } +} + // If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected. func (o InterconnectOutageNotificationResponseOutput) AffectedCircuits() pulumi.StringArrayOutput { return o.ApplyT(func(v InterconnectOutageNotificationResponse) []string { return v.AffectedCircuits }).(pulumi.StringArrayOutput) @@ -28648,6 +32645,12 @@ func (o InterconnectOutageNotificationResponseArrayOutput) ToInterconnectOutageN return o } +func (o InterconnectOutageNotificationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectOutageNotificationResponse] { + return pulumix.Output[[]InterconnectOutageNotificationResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectOutageNotificationResponseArrayOutput) Index(i pulumi.IntInput) InterconnectOutageNotificationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectOutageNotificationResponse { return vs[0].([]InterconnectOutageNotificationResponse)[vs[1].(int)] @@ -28705,6 +32708,12 @@ func (i JwtArgs) ToJwtOutputWithContext(ctx context.Context) JwtOutput { return pulumi.ToOutputWithContext(ctx, i).(JwtOutput) } +func (i JwtArgs) ToOutput(ctx context.Context) pulumix.Output[Jwt] { + return pulumix.Output[Jwt]{ + OutputState: i.ToJwtOutputWithContext(ctx).OutputState, + } +} + func (i JwtArgs) ToJwtPtrOutput() JwtPtrOutput { return i.ToJwtPtrOutputWithContext(context.Background()) } @@ -28746,6 +32755,12 @@ func (i *jwtPtrType) ToJwtPtrOutputWithContext(ctx context.Context) JwtPtrOutput return pulumi.ToOutputWithContext(ctx, i).(JwtPtrOutput) } +func (i *jwtPtrType) ToOutput(ctx context.Context) pulumix.Output[*Jwt] { + return pulumix.Output[*Jwt]{ + OutputState: i.ToJwtPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] JWT configuration for origin authentication. JWT configuration for origin authentication. type JwtOutput struct{ *pulumi.OutputState } @@ -28771,6 +32786,12 @@ func (o JwtOutput) ToJwtPtrOutputWithContext(ctx context.Context) JwtPtrOutput { }).(JwtPtrOutput) } +func (o JwtOutput) ToOutput(ctx context.Context) pulumix.Output[Jwt] { + return pulumix.Output[Jwt]{ + OutputState: o.OutputState, + } +} + // A JWT containing any of these audiences will be accepted. The service name will be accepted if audiences is empty. Examples: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com func (o JwtOutput) Audiences() pulumi.StringArrayOutput { return o.ApplyT(func(v Jwt) []string { return v.Audiences }).(pulumi.StringArrayOutput) @@ -28810,6 +32831,12 @@ func (o JwtPtrOutput) ToJwtPtrOutputWithContext(ctx context.Context) JwtPtrOutpu return o } +func (o JwtPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Jwt] { + return pulumix.Output[*Jwt]{ + OutputState: o.OutputState, + } +} + func (o JwtPtrOutput) Elem() JwtOutput { return o.ApplyT(func(v *Jwt) Jwt { if v != nil { @@ -28909,6 +32936,12 @@ func (i JwtHeaderArgs) ToJwtHeaderOutputWithContext(ctx context.Context) JwtHead return pulumi.ToOutputWithContext(ctx, i).(JwtHeaderOutput) } +func (i JwtHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[JwtHeader] { + return pulumix.Output[JwtHeader]{ + OutputState: i.ToJwtHeaderOutputWithContext(ctx).OutputState, + } +} + // JwtHeaderArrayInput is an input type that accepts JwtHeaderArray and JwtHeaderArrayOutput values. // You can construct a concrete instance of `JwtHeaderArrayInput` via: // @@ -28934,6 +32967,12 @@ func (i JwtHeaderArray) ToJwtHeaderArrayOutputWithContext(ctx context.Context) J return pulumi.ToOutputWithContext(ctx, i).(JwtHeaderArrayOutput) } +func (i JwtHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]JwtHeader] { + return pulumix.Output[[]JwtHeader]{ + OutputState: i.ToJwtHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] This message specifies a header location to extract JWT token. This message specifies a header location to extract JWT token. type JwtHeaderOutput struct{ *pulumi.OutputState } @@ -28949,6 +32988,12 @@ func (o JwtHeaderOutput) ToJwtHeaderOutputWithContext(ctx context.Context) JwtHe return o } +func (o JwtHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[JwtHeader] { + return pulumix.Output[JwtHeader]{ + OutputState: o.OutputState, + } +} + // The HTTP header name. func (o JwtHeaderOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v JwtHeader) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -28973,6 +33018,12 @@ func (o JwtHeaderArrayOutput) ToJwtHeaderArrayOutputWithContext(ctx context.Cont return o } +func (o JwtHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JwtHeader] { + return pulumix.Output[[]JwtHeader]{ + OutputState: o.OutputState, + } +} + func (o JwtHeaderArrayOutput) Index(i pulumi.IntInput) JwtHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JwtHeader { return vs[0].([]JwtHeader)[vs[1].(int)] @@ -29002,6 +33053,12 @@ func (o JwtHeaderResponseOutput) ToJwtHeaderResponseOutputWithContext(ctx contex return o } +func (o JwtHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JwtHeaderResponse] { + return pulumix.Output[JwtHeaderResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP header name. func (o JwtHeaderResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v JwtHeaderResponse) string { return v.Name }).(pulumi.StringOutput) @@ -29026,6 +33083,12 @@ func (o JwtHeaderResponseArrayOutput) ToJwtHeaderResponseArrayOutputWithContext( return o } +func (o JwtHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JwtHeaderResponse] { + return pulumix.Output[[]JwtHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o JwtHeaderResponseArrayOutput) Index(i pulumi.IntInput) JwtHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JwtHeaderResponse { return vs[0].([]JwtHeaderResponse)[vs[1].(int)] @@ -29061,6 +33124,12 @@ func (o JwtResponseOutput) ToJwtResponseOutputWithContext(ctx context.Context) J return o } +func (o JwtResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JwtResponse] { + return pulumix.Output[JwtResponse]{ + OutputState: o.OutputState, + } +} + // A JWT containing any of these audiences will be accepted. The service name will be accepted if audiences is empty. Examples: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com func (o JwtResponseOutput) Audiences() pulumi.StringArrayOutput { return o.ApplyT(func(v JwtResponse) []string { return v.Audiences }).(pulumi.StringArrayOutput) @@ -29129,6 +33198,12 @@ func (i LicenseResourceCommitmentArgs) ToLicenseResourceCommitmentOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceCommitmentOutput) } +func (i LicenseResourceCommitmentArgs) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceCommitment] { + return pulumix.Output[LicenseResourceCommitment]{ + OutputState: i.ToLicenseResourceCommitmentOutputWithContext(ctx).OutputState, + } +} + func (i LicenseResourceCommitmentArgs) ToLicenseResourceCommitmentPtrOutput() LicenseResourceCommitmentPtrOutput { return i.ToLicenseResourceCommitmentPtrOutputWithContext(context.Background()) } @@ -29170,6 +33245,12 @@ func (i *licenseResourceCommitmentPtrType) ToLicenseResourceCommitmentPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceCommitmentPtrOutput) } +func (i *licenseResourceCommitmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceCommitment] { + return pulumix.Output[*LicenseResourceCommitment]{ + OutputState: i.ToLicenseResourceCommitmentPtrOutputWithContext(ctx).OutputState, + } +} + // Commitment for a particular license resource. type LicenseResourceCommitmentOutput struct{ *pulumi.OutputState } @@ -29195,6 +33276,12 @@ func (o LicenseResourceCommitmentOutput) ToLicenseResourceCommitmentPtrOutputWit }).(LicenseResourceCommitmentPtrOutput) } +func (o LicenseResourceCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceCommitment] { + return pulumix.Output[LicenseResourceCommitment]{ + OutputState: o.OutputState, + } +} + // The number of licenses purchased. func (o LicenseResourceCommitmentOutput) Amount() pulumi.StringPtrOutput { return o.ApplyT(func(v LicenseResourceCommitment) *string { return v.Amount }).(pulumi.StringPtrOutput) @@ -29224,6 +33311,12 @@ func (o LicenseResourceCommitmentPtrOutput) ToLicenseResourceCommitmentPtrOutput return o } +func (o LicenseResourceCommitmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceCommitment] { + return pulumix.Output[*LicenseResourceCommitment]{ + OutputState: o.OutputState, + } +} + func (o LicenseResourceCommitmentPtrOutput) Elem() LicenseResourceCommitmentOutput { return o.ApplyT(func(v *LicenseResourceCommitment) LicenseResourceCommitment { if v != nil { @@ -29289,6 +33382,12 @@ func (o LicenseResourceCommitmentResponseOutput) ToLicenseResourceCommitmentResp return o } +func (o LicenseResourceCommitmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceCommitmentResponse] { + return pulumix.Output[LicenseResourceCommitmentResponse]{ + OutputState: o.OutputState, + } +} + // The number of licenses purchased. func (o LicenseResourceCommitmentResponseOutput) Amount() pulumi.StringOutput { return o.ApplyT(func(v LicenseResourceCommitmentResponse) string { return v.Amount }).(pulumi.StringOutput) @@ -29341,6 +33440,12 @@ func (i LicenseResourceRequirementsArgs) ToLicenseResourceRequirementsOutputWith return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceRequirementsOutput) } +func (i LicenseResourceRequirementsArgs) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceRequirements] { + return pulumix.Output[LicenseResourceRequirements]{ + OutputState: i.ToLicenseResourceRequirementsOutputWithContext(ctx).OutputState, + } +} + func (i LicenseResourceRequirementsArgs) ToLicenseResourceRequirementsPtrOutput() LicenseResourceRequirementsPtrOutput { return i.ToLicenseResourceRequirementsPtrOutputWithContext(context.Background()) } @@ -29382,6 +33487,12 @@ func (i *licenseResourceRequirementsPtrType) ToLicenseResourceRequirementsPtrOut return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceRequirementsPtrOutput) } +func (i *licenseResourceRequirementsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceRequirements] { + return pulumix.Output[*LicenseResourceRequirements]{ + OutputState: i.ToLicenseResourceRequirementsPtrOutputWithContext(ctx).OutputState, + } +} + type LicenseResourceRequirementsOutput struct{ *pulumi.OutputState } func (LicenseResourceRequirementsOutput) ElementType() reflect.Type { @@ -29406,6 +33517,12 @@ func (o LicenseResourceRequirementsOutput) ToLicenseResourceRequirementsPtrOutpu }).(LicenseResourceRequirementsPtrOutput) } +func (o LicenseResourceRequirementsOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceRequirements] { + return pulumix.Output[LicenseResourceRequirements]{ + OutputState: o.OutputState, + } +} + // Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. func (o LicenseResourceRequirementsOutput) MinGuestCpuCount() pulumi.IntPtrOutput { return o.ApplyT(func(v LicenseResourceRequirements) *int { return v.MinGuestCpuCount }).(pulumi.IntPtrOutput) @@ -29430,6 +33547,12 @@ func (o LicenseResourceRequirementsPtrOutput) ToLicenseResourceRequirementsPtrOu return o } +func (o LicenseResourceRequirementsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceRequirements] { + return pulumix.Output[*LicenseResourceRequirements]{ + OutputState: o.OutputState, + } +} + func (o LicenseResourceRequirementsPtrOutput) Elem() LicenseResourceRequirementsOutput { return o.ApplyT(func(v *LicenseResourceRequirements) LicenseResourceRequirements { if v != nil { @@ -29481,6 +33604,12 @@ func (o LicenseResourceRequirementsResponseOutput) ToLicenseResourceRequirements return o } +func (o LicenseResourceRequirementsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceRequirementsResponse] { + return pulumix.Output[LicenseResourceRequirementsResponse]{ + OutputState: o.OutputState, + } +} + // Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. func (o LicenseResourceRequirementsResponseOutput) MinGuestCpuCount() pulumi.IntOutput { return o.ApplyT(func(v LicenseResourceRequirementsResponse) int { return v.MinGuestCpuCount }).(pulumi.IntOutput) @@ -29532,6 +33661,12 @@ func (i LocalDiskArgs) ToLocalDiskOutputWithContext(ctx context.Context) LocalDi return pulumi.ToOutputWithContext(ctx, i).(LocalDiskOutput) } +func (i LocalDiskArgs) ToOutput(ctx context.Context) pulumix.Output[LocalDisk] { + return pulumix.Output[LocalDisk]{ + OutputState: i.ToLocalDiskOutputWithContext(ctx).OutputState, + } +} + // LocalDiskArrayInput is an input type that accepts LocalDiskArray and LocalDiskArrayOutput values. // You can construct a concrete instance of `LocalDiskArrayInput` via: // @@ -29557,6 +33692,12 @@ func (i LocalDiskArray) ToLocalDiskArrayOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LocalDiskArrayOutput) } +func (i LocalDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]LocalDisk] { + return pulumix.Output[[]LocalDisk]{ + OutputState: i.ToLocalDiskArrayOutputWithContext(ctx).OutputState, + } +} + type LocalDiskOutput struct{ *pulumi.OutputState } func (LocalDiskOutput) ElementType() reflect.Type { @@ -29571,6 +33712,12 @@ func (o LocalDiskOutput) ToLocalDiskOutputWithContext(ctx context.Context) Local return o } +func (o LocalDiskOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDisk] { + return pulumix.Output[LocalDisk]{ + OutputState: o.OutputState, + } +} + // Specifies the number of such disks. func (o LocalDiskOutput) DiskCount() pulumi.IntPtrOutput { return o.ApplyT(func(v LocalDisk) *int { return v.DiskCount }).(pulumi.IntPtrOutput) @@ -29600,6 +33747,12 @@ func (o LocalDiskArrayOutput) ToLocalDiskArrayOutputWithContext(ctx context.Cont return o } +func (o LocalDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocalDisk] { + return pulumix.Output[[]LocalDisk]{ + OutputState: o.OutputState, + } +} + func (o LocalDiskArrayOutput) Index(i pulumi.IntInput) LocalDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocalDisk { return vs[0].([]LocalDisk)[vs[1].(int)] @@ -29629,6 +33782,12 @@ func (o LocalDiskResponseOutput) ToLocalDiskResponseOutputWithContext(ctx contex return o } +func (o LocalDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDiskResponse] { + return pulumix.Output[LocalDiskResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the number of such disks. func (o LocalDiskResponseOutput) DiskCount() pulumi.IntOutput { return o.ApplyT(func(v LocalDiskResponse) int { return v.DiskCount }).(pulumi.IntOutput) @@ -29658,6 +33817,12 @@ func (o LocalDiskResponseArrayOutput) ToLocalDiskResponseArrayOutputWithContext( return o } +func (o LocalDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocalDiskResponse] { + return pulumix.Output[[]LocalDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o LocalDiskResponseArrayOutput) Index(i pulumi.IntInput) LocalDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocalDiskResponse { return vs[0].([]LocalDiskResponse)[vs[1].(int)] @@ -29687,6 +33852,12 @@ func (o LocalizedMessageResponseOutput) ToLocalizedMessageResponseOutputWithCont return o } +func (o LocalizedMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalizedMessageResponse] { + return pulumix.Output[LocalizedMessageResponse]{ + OutputState: o.OutputState, + } +} + // The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" func (o LocalizedMessageResponseOutput) Locale() pulumi.StringOutput { return o.ApplyT(func(v LocalizedMessageResponse) string { return v.Locale }).(pulumi.StringOutput) @@ -29736,6 +33907,12 @@ func (i LocationPolicyArgs) ToLocationPolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(LocationPolicyOutput) } +func (i LocationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[LocationPolicy] { + return pulumix.Output[LocationPolicy]{ + OutputState: i.ToLocationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i LocationPolicyArgs) ToLocationPolicyPtrOutput() LocationPolicyPtrOutput { return i.ToLocationPolicyPtrOutputWithContext(context.Background()) } @@ -29777,6 +33954,12 @@ func (i *locationPolicyPtrType) ToLocationPolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(LocationPolicyPtrOutput) } +func (i *locationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*LocationPolicy] { + return pulumix.Output[*LocationPolicy]{ + OutputState: i.ToLocationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region). type LocationPolicyOutput struct{ *pulumi.OutputState } @@ -29802,6 +33985,12 @@ func (o LocationPolicyOutput) ToLocationPolicyPtrOutputWithContext(ctx context.C }).(LocationPolicyPtrOutput) } +func (o LocationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[LocationPolicy] { + return pulumix.Output[LocationPolicy]{ + OutputState: o.OutputState, + } +} + // Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a. func (o LocationPolicyOutput) Locations() pulumi.StringMapOutput { return o.ApplyT(func(v LocationPolicy) map[string]string { return v.Locations }).(pulumi.StringMapOutput) @@ -29826,6 +34015,12 @@ func (o LocationPolicyPtrOutput) ToLocationPolicyPtrOutputWithContext(ctx contex return o } +func (o LocationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocationPolicy] { + return pulumix.Output[*LocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o LocationPolicyPtrOutput) Elem() LocationPolicyOutput { return o.ApplyT(func(v *LocationPolicy) LocationPolicy { if v != nil { @@ -29879,6 +34074,12 @@ func (o LocationPolicyResponseOutput) ToLocationPolicyResponseOutputWithContext( return o } +func (o LocationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocationPolicyResponse] { + return pulumix.Output[LocationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a. func (o LocationPolicyResponseOutput) Locations() pulumi.StringMapOutput { return o.ApplyT(func(v LocationPolicyResponse) map[string]string { return v.Locations }).(pulumi.StringMapOutput) @@ -29932,6 +34133,12 @@ func (i LogConfigArgs) ToLogConfigOutputWithContext(ctx context.Context) LogConf return pulumi.ToOutputWithContext(ctx, i).(LogConfigOutput) } +func (i LogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfig] { + return pulumix.Output[LogConfig]{ + OutputState: i.ToLogConfigOutputWithContext(ctx).OutputState, + } +} + // LogConfigArrayInput is an input type that accepts LogConfigArray and LogConfigArrayOutput values. // You can construct a concrete instance of `LogConfigArrayInput` via: // @@ -29957,6 +34164,12 @@ func (i LogConfigArray) ToLogConfigArrayOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LogConfigArrayOutput) } +func (i LogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]LogConfig] { + return pulumix.Output[[]LogConfig]{ + OutputState: i.ToLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigOutput struct{ *pulumi.OutputState } @@ -29972,6 +34185,12 @@ func (o LogConfigOutput) ToLogConfigOutputWithContext(ctx context.Context) LogCo return o } +func (o LogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfig] { + return pulumix.Output[LogConfig]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigOutput) CloudAudit() LogConfigCloudAuditOptionsPtrOutput { return o.ApplyT(func(v LogConfig) *LogConfigCloudAuditOptions { return v.CloudAudit }).(LogConfigCloudAuditOptionsPtrOutput) @@ -30001,6 +34220,12 @@ func (o LogConfigArrayOutput) ToLogConfigArrayOutputWithContext(ctx context.Cont return o } +func (o LogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfig] { + return pulumix.Output[[]LogConfig]{ + OutputState: o.OutputState, + } +} + func (o LogConfigArrayOutput) Index(i pulumi.IntInput) LogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfig { return vs[0].([]LogConfig)[vs[1].(int)] @@ -30046,6 +34271,12 @@ func (i LogConfigCloudAuditOptionsArgs) ToLogConfigCloudAuditOptionsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(LogConfigCloudAuditOptionsOutput) } +func (i LogConfigCloudAuditOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptions] { + return pulumix.Output[LogConfigCloudAuditOptions]{ + OutputState: i.ToLogConfigCloudAuditOptionsOutputWithContext(ctx).OutputState, + } +} + func (i LogConfigCloudAuditOptionsArgs) ToLogConfigCloudAuditOptionsPtrOutput() LogConfigCloudAuditOptionsPtrOutput { return i.ToLogConfigCloudAuditOptionsPtrOutputWithContext(context.Background()) } @@ -30087,6 +34318,12 @@ func (i *logConfigCloudAuditOptionsPtrType) ToLogConfigCloudAuditOptionsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(LogConfigCloudAuditOptionsPtrOutput) } +func (i *logConfigCloudAuditOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptions] { + return pulumix.Output[*LogConfigCloudAuditOptions]{ + OutputState: i.ToLogConfigCloudAuditOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCloudAuditOptionsOutput struct{ *pulumi.OutputState } @@ -30112,6 +34349,12 @@ func (o LogConfigCloudAuditOptionsOutput) ToLogConfigCloudAuditOptionsPtrOutputW }).(LogConfigCloudAuditOptionsPtrOutput) } +func (o LogConfigCloudAuditOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptions] { + return pulumix.Output[LogConfigCloudAuditOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCloudAuditOptionsOutput) AuthorizationLoggingOptions() AuthorizationLoggingOptionsPtrOutput { return o.ApplyT(func(v LogConfigCloudAuditOptions) *AuthorizationLoggingOptions { return v.AuthorizationLoggingOptions }).(AuthorizationLoggingOptionsPtrOutput) @@ -30136,6 +34379,12 @@ func (o LogConfigCloudAuditOptionsPtrOutput) ToLogConfigCloudAuditOptionsPtrOutp return o } +func (o LogConfigCloudAuditOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptions] { + return pulumix.Output[*LogConfigCloudAuditOptions]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCloudAuditOptionsPtrOutput) Elem() LogConfigCloudAuditOptionsOutput { return o.ApplyT(func(v *LogConfigCloudAuditOptions) LogConfigCloudAuditOptions { if v != nil { @@ -30189,6 +34438,12 @@ func (o LogConfigCloudAuditOptionsResponseOutput) ToLogConfigCloudAuditOptionsRe return o } +func (o LogConfigCloudAuditOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptionsResponse] { + return pulumix.Output[LogConfigCloudAuditOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCloudAuditOptionsResponseOutput) AuthorizationLoggingOptions() AuthorizationLoggingOptionsResponseOutput { return o.ApplyT(func(v LogConfigCloudAuditOptionsResponse) AuthorizationLoggingOptionsResponse { @@ -30244,6 +34499,12 @@ func (i LogConfigCounterOptionsArgs) ToLogConfigCounterOptionsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsOutput) } +func (i LogConfigCounterOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptions] { + return pulumix.Output[LogConfigCounterOptions]{ + OutputState: i.ToLogConfigCounterOptionsOutputWithContext(ctx).OutputState, + } +} + func (i LogConfigCounterOptionsArgs) ToLogConfigCounterOptionsPtrOutput() LogConfigCounterOptionsPtrOutput { return i.ToLogConfigCounterOptionsPtrOutputWithContext(context.Background()) } @@ -30285,6 +34546,12 @@ func (i *logConfigCounterOptionsPtrType) ToLogConfigCounterOptionsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsPtrOutput) } +func (i *logConfigCounterOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCounterOptions] { + return pulumix.Output[*LogConfigCounterOptions]{ + OutputState: i.ToLogConfigCounterOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCounterOptionsOutput struct{ *pulumi.OutputState } @@ -30310,6 +34577,12 @@ func (o LogConfigCounterOptionsOutput) ToLogConfigCounterOptionsPtrOutputWithCon }).(LogConfigCounterOptionsPtrOutput) } +func (o LogConfigCounterOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptions] { + return pulumix.Output[LogConfigCounterOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsOutput) CustomFields() LogConfigCounterOptionsCustomFieldArrayOutput { return o.ApplyT(func(v LogConfigCounterOptions) []LogConfigCounterOptionsCustomField { return v.CustomFields }).(LogConfigCounterOptionsCustomFieldArrayOutput) @@ -30339,6 +34612,12 @@ func (o LogConfigCounterOptionsPtrOutput) ToLogConfigCounterOptionsPtrOutputWith return o } +func (o LogConfigCounterOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCounterOptions] { + return pulumix.Output[*LogConfigCounterOptions]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCounterOptionsPtrOutput) Elem() LogConfigCounterOptionsOutput { return o.ApplyT(func(v *LogConfigCounterOptions) LogConfigCounterOptions { if v != nil { @@ -30418,6 +34697,12 @@ func (i LogConfigCounterOptionsCustomFieldArgs) ToLogConfigCounterOptionsCustomF return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsCustomFieldOutput) } +func (i LogConfigCounterOptionsCustomFieldArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsCustomField] { + return pulumix.Output[LogConfigCounterOptionsCustomField]{ + OutputState: i.ToLogConfigCounterOptionsCustomFieldOutputWithContext(ctx).OutputState, + } +} + // LogConfigCounterOptionsCustomFieldArrayInput is an input type that accepts LogConfigCounterOptionsCustomFieldArray and LogConfigCounterOptionsCustomFieldArrayOutput values. // You can construct a concrete instance of `LogConfigCounterOptionsCustomFieldArrayInput` via: // @@ -30443,6 +34728,12 @@ func (i LogConfigCounterOptionsCustomFieldArray) ToLogConfigCounterOptionsCustom return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsCustomFieldArrayOutput) } +func (i LogConfigCounterOptionsCustomFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigCounterOptionsCustomField] { + return pulumix.Output[[]LogConfigCounterOptionsCustomField]{ + OutputState: i.ToLogConfigCounterOptionsCustomFieldArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCounterOptionsCustomFieldOutput struct{ *pulumi.OutputState } @@ -30458,6 +34749,12 @@ func (o LogConfigCounterOptionsCustomFieldOutput) ToLogConfigCounterOptionsCusto return o } +func (o LogConfigCounterOptionsCustomFieldOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsCustomField] { + return pulumix.Output[LogConfigCounterOptionsCustomField]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsCustomFieldOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v LogConfigCounterOptionsCustomField) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -30482,6 +34779,12 @@ func (o LogConfigCounterOptionsCustomFieldArrayOutput) ToLogConfigCounterOptions return o } +func (o LogConfigCounterOptionsCustomFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigCounterOptionsCustomField] { + return pulumix.Output[[]LogConfigCounterOptionsCustomField]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCounterOptionsCustomFieldArrayOutput) Index(i pulumi.IntInput) LogConfigCounterOptionsCustomFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigCounterOptionsCustomField { return vs[0].([]LogConfigCounterOptionsCustomField)[vs[1].(int)] @@ -30511,6 +34814,12 @@ func (o LogConfigCounterOptionsCustomFieldResponseOutput) ToLogConfigCounterOpti return o } +func (o LogConfigCounterOptionsCustomFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsCustomFieldResponse] { + return pulumix.Output[LogConfigCounterOptionsCustomFieldResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsCustomFieldResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LogConfigCounterOptionsCustomFieldResponse) string { return v.Name }).(pulumi.StringOutput) @@ -30535,6 +34844,12 @@ func (o LogConfigCounterOptionsCustomFieldResponseArrayOutput) ToLogConfigCounte return o } +func (o LogConfigCounterOptionsCustomFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigCounterOptionsCustomFieldResponse] { + return pulumix.Output[[]LogConfigCounterOptionsCustomFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCounterOptionsCustomFieldResponseArrayOutput) Index(i pulumi.IntInput) LogConfigCounterOptionsCustomFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigCounterOptionsCustomFieldResponse { return vs[0].([]LogConfigCounterOptionsCustomFieldResponse)[vs[1].(int)] @@ -30566,6 +34881,12 @@ func (o LogConfigCounterOptionsResponseOutput) ToLogConfigCounterOptionsResponse return o } +func (o LogConfigCounterOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsResponse] { + return pulumix.Output[LogConfigCounterOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsResponseOutput) CustomFields() LogConfigCounterOptionsCustomFieldResponseArrayOutput { return o.ApplyT(func(v LogConfigCounterOptionsResponse) []LogConfigCounterOptionsCustomFieldResponse { @@ -30618,6 +34939,12 @@ func (i LogConfigDataAccessOptionsArgs) ToLogConfigDataAccessOptionsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(LogConfigDataAccessOptionsOutput) } +func (i LogConfigDataAccessOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptions] { + return pulumix.Output[LogConfigDataAccessOptions]{ + OutputState: i.ToLogConfigDataAccessOptionsOutputWithContext(ctx).OutputState, + } +} + func (i LogConfigDataAccessOptionsArgs) ToLogConfigDataAccessOptionsPtrOutput() LogConfigDataAccessOptionsPtrOutput { return i.ToLogConfigDataAccessOptionsPtrOutputWithContext(context.Background()) } @@ -30659,6 +34986,12 @@ func (i *logConfigDataAccessOptionsPtrType) ToLogConfigDataAccessOptionsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(LogConfigDataAccessOptionsPtrOutput) } +func (i *logConfigDataAccessOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptions] { + return pulumix.Output[*LogConfigDataAccessOptions]{ + OutputState: i.ToLogConfigDataAccessOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigDataAccessOptionsOutput struct{ *pulumi.OutputState } @@ -30684,6 +35017,12 @@ func (o LogConfigDataAccessOptionsOutput) ToLogConfigDataAccessOptionsPtrOutputW }).(LogConfigDataAccessOptionsPtrOutput) } +func (o LogConfigDataAccessOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptions] { + return pulumix.Output[LogConfigDataAccessOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigDataAccessOptionsOutput) LogMode() LogConfigDataAccessOptionsLogModePtrOutput { return o.ApplyT(func(v LogConfigDataAccessOptions) *LogConfigDataAccessOptionsLogMode { return v.LogMode }).(LogConfigDataAccessOptionsLogModePtrOutput) @@ -30703,6 +35042,12 @@ func (o LogConfigDataAccessOptionsPtrOutput) ToLogConfigDataAccessOptionsPtrOutp return o } +func (o LogConfigDataAccessOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptions] { + return pulumix.Output[*LogConfigDataAccessOptions]{ + OutputState: o.OutputState, + } +} + func (o LogConfigDataAccessOptionsPtrOutput) Elem() LogConfigDataAccessOptionsOutput { return o.ApplyT(func(v *LogConfigDataAccessOptions) LogConfigDataAccessOptions { if v != nil { @@ -30744,6 +35089,12 @@ func (o LogConfigDataAccessOptionsResponseOutput) ToLogConfigDataAccessOptionsRe return o } +func (o LogConfigDataAccessOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptionsResponse] { + return pulumix.Output[LogConfigDataAccessOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigDataAccessOptionsResponseOutput) LogMode() pulumi.StringOutput { return o.ApplyT(func(v LogConfigDataAccessOptionsResponse) string { return v.LogMode }).(pulumi.StringOutput) @@ -30774,6 +35125,12 @@ func (o LogConfigResponseOutput) ToLogConfigResponseOutputWithContext(ctx contex return o } +func (o LogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigResponse] { + return pulumix.Output[LogConfigResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigResponseOutput) CloudAudit() LogConfigCloudAuditOptionsResponseOutput { return o.ApplyT(func(v LogConfigResponse) LogConfigCloudAuditOptionsResponse { return v.CloudAudit }).(LogConfigCloudAuditOptionsResponseOutput) @@ -30803,6 +35160,12 @@ func (o LogConfigResponseArrayOutput) ToLogConfigResponseArrayOutputWithContext( return o } +func (o LogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigResponse] { + return pulumix.Output[[]LogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o LogConfigResponseArrayOutput) Index(i pulumi.IntInput) LogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigResponse { return vs[0].([]LogConfigResponse)[vs[1].(int)] @@ -30844,6 +35207,12 @@ func (i MetadataArgs) ToMetadataOutputWithContext(ctx context.Context) MetadataO return pulumi.ToOutputWithContext(ctx, i).(MetadataOutput) } +func (i MetadataArgs) ToOutput(ctx context.Context) pulumix.Output[Metadata] { + return pulumix.Output[Metadata]{ + OutputState: i.ToMetadataOutputWithContext(ctx).OutputState, + } +} + func (i MetadataArgs) ToMetadataPtrOutput() MetadataPtrOutput { return i.ToMetadataPtrOutputWithContext(context.Background()) } @@ -30885,6 +35254,12 @@ func (i *metadataPtrType) ToMetadataPtrOutputWithContext(ctx context.Context) Me return pulumi.ToOutputWithContext(ctx, i).(MetadataPtrOutput) } +func (i *metadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*Metadata] { + return pulumix.Output[*Metadata]{ + OutputState: i.ToMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // A metadata key/value entry. type MetadataOutput struct{ *pulumi.OutputState } @@ -30910,6 +35285,12 @@ func (o MetadataOutput) ToMetadataPtrOutputWithContext(ctx context.Context) Meta }).(MetadataPtrOutput) } +func (o MetadataOutput) ToOutput(ctx context.Context) pulumix.Output[Metadata] { + return pulumix.Output[Metadata]{ + OutputState: o.OutputState, + } +} + // Array of key/value pairs. The total size of all keys and values must be less than 512 KB. func (o MetadataOutput) Items() MetadataItemsItemArrayOutput { return o.ApplyT(func(v Metadata) []MetadataItemsItem { return v.Items }).(MetadataItemsItemArrayOutput) @@ -30929,6 +35310,12 @@ func (o MetadataPtrOutput) ToMetadataPtrOutputWithContext(ctx context.Context) M return o } +func (o MetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Metadata] { + return pulumix.Output[*Metadata]{ + OutputState: o.OutputState, + } +} + func (o MetadataPtrOutput) Elem() MetadataOutput { return o.ApplyT(func(v *Metadata) Metadata { if v != nil { @@ -30988,6 +35375,12 @@ func (i MetadataCredentialsFromPluginArgs) ToMetadataCredentialsFromPluginOutput return pulumi.ToOutputWithContext(ctx, i).(MetadataCredentialsFromPluginOutput) } +func (i MetadataCredentialsFromPluginArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataCredentialsFromPlugin] { + return pulumix.Output[MetadataCredentialsFromPlugin]{ + OutputState: i.ToMetadataCredentialsFromPluginOutputWithContext(ctx).OutputState, + } +} + func (i MetadataCredentialsFromPluginArgs) ToMetadataCredentialsFromPluginPtrOutput() MetadataCredentialsFromPluginPtrOutput { return i.ToMetadataCredentialsFromPluginPtrOutputWithContext(context.Background()) } @@ -31029,6 +35422,12 @@ func (i *metadataCredentialsFromPluginPtrType) ToMetadataCredentialsFromPluginPt return pulumi.ToOutputWithContext(ctx, i).(MetadataCredentialsFromPluginPtrOutput) } +func (i *metadataCredentialsFromPluginPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetadataCredentialsFromPlugin] { + return pulumix.Output[*MetadataCredentialsFromPlugin]{ + OutputState: i.ToMetadataCredentialsFromPluginPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Custom authenticator credentials. Custom authenticator credentials. type MetadataCredentialsFromPluginOutput struct{ *pulumi.OutputState } @@ -31054,6 +35453,12 @@ func (o MetadataCredentialsFromPluginOutput) ToMetadataCredentialsFromPluginPtrO }).(MetadataCredentialsFromPluginPtrOutput) } +func (o MetadataCredentialsFromPluginOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataCredentialsFromPlugin] { + return pulumix.Output[MetadataCredentialsFromPlugin]{ + OutputState: o.OutputState, + } +} + // Plugin name. func (o MetadataCredentialsFromPluginOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v MetadataCredentialsFromPlugin) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -31078,6 +35483,12 @@ func (o MetadataCredentialsFromPluginPtrOutput) ToMetadataCredentialsFromPluginP return o } +func (o MetadataCredentialsFromPluginPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataCredentialsFromPlugin] { + return pulumix.Output[*MetadataCredentialsFromPlugin]{ + OutputState: o.OutputState, + } +} + func (o MetadataCredentialsFromPluginPtrOutput) Elem() MetadataCredentialsFromPluginOutput { return o.ApplyT(func(v *MetadataCredentialsFromPlugin) MetadataCredentialsFromPlugin { if v != nil { @@ -31131,6 +35542,12 @@ func (o MetadataCredentialsFromPluginResponseOutput) ToMetadataCredentialsFromPl return o } +func (o MetadataCredentialsFromPluginResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataCredentialsFromPluginResponse] { + return pulumix.Output[MetadataCredentialsFromPluginResponse]{ + OutputState: o.OutputState, + } +} + // Plugin name. func (o MetadataCredentialsFromPluginResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v MetadataCredentialsFromPluginResponse) string { return v.Name }).(pulumi.StringOutput) @@ -31180,6 +35597,12 @@ func (i MetadataFilterArgs) ToMetadataFilterOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterOutput) } +func (i MetadataFilterArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataFilter] { + return pulumix.Output[MetadataFilter]{ + OutputState: i.ToMetadataFilterOutputWithContext(ctx).OutputState, + } +} + // MetadataFilterArrayInput is an input type that accepts MetadataFilterArray and MetadataFilterArrayOutput values. // You can construct a concrete instance of `MetadataFilterArrayInput` via: // @@ -31205,6 +35628,12 @@ func (i MetadataFilterArray) ToMetadataFilterArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterArrayOutput) } +func (i MetadataFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilter] { + return pulumix.Output[[]MetadataFilter]{ + OutputState: i.ToMetadataFilterArrayOutputWithContext(ctx).OutputState, + } +} + // Opaque filter criteria used by load balancers to restrict routing configuration to a limited set of load balancing proxies. Proxies and sidecars involved in load balancing would typically present metadata to the load balancers that need to match criteria specified here. If a match takes place, the relevant configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. An example for using metadataFilters would be: if load balancing involves Envoys, they receive routing configuration when values in metadataFilters match values supplied in of their XDS requests to loadbalancers. type MetadataFilterOutput struct{ *pulumi.OutputState } @@ -31220,6 +35649,12 @@ func (o MetadataFilterOutput) ToMetadataFilterOutputWithContext(ctx context.Cont return o } +func (o MetadataFilterOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilter] { + return pulumix.Output[MetadataFilter]{ + OutputState: o.OutputState, + } +} + // The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. func (o MetadataFilterOutput) FilterLabels() MetadataFilterLabelMatchArrayOutput { return o.ApplyT(func(v MetadataFilter) []MetadataFilterLabelMatch { return v.FilterLabels }).(MetadataFilterLabelMatchArrayOutput) @@ -31244,6 +35679,12 @@ func (o MetadataFilterArrayOutput) ToMetadataFilterArrayOutputWithContext(ctx co return o } +func (o MetadataFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilter] { + return pulumix.Output[[]MetadataFilter]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterArrayOutput) Index(i pulumi.IntInput) MetadataFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilter { return vs[0].([]MetadataFilter)[vs[1].(int)] @@ -31289,6 +35730,12 @@ func (i MetadataFilterLabelMatchArgs) ToMetadataFilterLabelMatchOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterLabelMatchOutput) } +func (i MetadataFilterLabelMatchArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterLabelMatch] { + return pulumix.Output[MetadataFilterLabelMatch]{ + OutputState: i.ToMetadataFilterLabelMatchOutputWithContext(ctx).OutputState, + } +} + // MetadataFilterLabelMatchArrayInput is an input type that accepts MetadataFilterLabelMatchArray and MetadataFilterLabelMatchArrayOutput values. // You can construct a concrete instance of `MetadataFilterLabelMatchArrayInput` via: // @@ -31314,6 +35761,12 @@ func (i MetadataFilterLabelMatchArray) ToMetadataFilterLabelMatchArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterLabelMatchArrayOutput) } +func (i MetadataFilterLabelMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterLabelMatch] { + return pulumix.Output[[]MetadataFilterLabelMatch]{ + OutputState: i.ToMetadataFilterLabelMatchArrayOutputWithContext(ctx).OutputState, + } +} + // MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer. type MetadataFilterLabelMatchOutput struct{ *pulumi.OutputState } @@ -31329,6 +35782,12 @@ func (o MetadataFilterLabelMatchOutput) ToMetadataFilterLabelMatchOutputWithCont return o } +func (o MetadataFilterLabelMatchOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterLabelMatch] { + return pulumix.Output[MetadataFilterLabelMatch]{ + OutputState: o.OutputState, + } +} + // Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long. func (o MetadataFilterLabelMatchOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v MetadataFilterLabelMatch) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -31353,6 +35812,12 @@ func (o MetadataFilterLabelMatchArrayOutput) ToMetadataFilterLabelMatchArrayOutp return o } +func (o MetadataFilterLabelMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterLabelMatch] { + return pulumix.Output[[]MetadataFilterLabelMatch]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterLabelMatchArrayOutput) Index(i pulumi.IntInput) MetadataFilterLabelMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilterLabelMatch { return vs[0].([]MetadataFilterLabelMatch)[vs[1].(int)] @@ -31382,6 +35847,12 @@ func (o MetadataFilterLabelMatchResponseOutput) ToMetadataFilterLabelMatchRespon return o } +func (o MetadataFilterLabelMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterLabelMatchResponse] { + return pulumix.Output[MetadataFilterLabelMatchResponse]{ + OutputState: o.OutputState, + } +} + // Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long. func (o MetadataFilterLabelMatchResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v MetadataFilterLabelMatchResponse) string { return v.Name }).(pulumi.StringOutput) @@ -31406,6 +35877,12 @@ func (o MetadataFilterLabelMatchResponseArrayOutput) ToMetadataFilterLabelMatchR return o } +func (o MetadataFilterLabelMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterLabelMatchResponse] { + return pulumix.Output[[]MetadataFilterLabelMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterLabelMatchResponseArrayOutput) Index(i pulumi.IntInput) MetadataFilterLabelMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilterLabelMatchResponse { return vs[0].([]MetadataFilterLabelMatchResponse)[vs[1].(int)] @@ -31435,6 +35912,12 @@ func (o MetadataFilterResponseOutput) ToMetadataFilterResponseOutputWithContext( return o } +func (o MetadataFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterResponse] { + return pulumix.Output[MetadataFilterResponse]{ + OutputState: o.OutputState, + } +} + // The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. func (o MetadataFilterResponseOutput) FilterLabels() MetadataFilterLabelMatchResponseArrayOutput { return o.ApplyT(func(v MetadataFilterResponse) []MetadataFilterLabelMatchResponse { return v.FilterLabels }).(MetadataFilterLabelMatchResponseArrayOutput) @@ -31459,6 +35942,12 @@ func (o MetadataFilterResponseArrayOutput) ToMetadataFilterResponseArrayOutputWi return o } +func (o MetadataFilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterResponse] { + return pulumix.Output[[]MetadataFilterResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterResponseArrayOutput) Index(i pulumi.IntInput) MetadataFilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilterResponse { return vs[0].([]MetadataFilterResponse)[vs[1].(int)] @@ -31504,6 +35993,12 @@ func (i MetadataItemsItemArgs) ToMetadataItemsItemOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MetadataItemsItemOutput) } +func (i MetadataItemsItemArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataItemsItem] { + return pulumix.Output[MetadataItemsItem]{ + OutputState: i.ToMetadataItemsItemOutputWithContext(ctx).OutputState, + } +} + // MetadataItemsItemArrayInput is an input type that accepts MetadataItemsItemArray and MetadataItemsItemArrayOutput values. // You can construct a concrete instance of `MetadataItemsItemArrayInput` via: // @@ -31529,6 +36024,12 @@ func (i MetadataItemsItemArray) ToMetadataItemsItemArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(MetadataItemsItemArrayOutput) } +func (i MetadataItemsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]MetadataItemsItem] { + return pulumix.Output[[]MetadataItemsItem]{ + OutputState: i.ToMetadataItemsItemArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata type MetadataItemsItemOutput struct{ *pulumi.OutputState } @@ -31544,6 +36045,12 @@ func (o MetadataItemsItemOutput) ToMetadataItemsItemOutputWithContext(ctx contex return o } +func (o MetadataItemsItemOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataItemsItem] { + return pulumix.Output[MetadataItemsItem]{ + OutputState: o.OutputState, + } +} + // Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project. func (o MetadataItemsItemOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v MetadataItemsItem) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -31568,6 +36075,12 @@ func (o MetadataItemsItemArrayOutput) ToMetadataItemsItemArrayOutputWithContext( return o } +func (o MetadataItemsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataItemsItem] { + return pulumix.Output[[]MetadataItemsItem]{ + OutputState: o.OutputState, + } +} + func (o MetadataItemsItemArrayOutput) Index(i pulumi.IntInput) MetadataItemsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataItemsItem { return vs[0].([]MetadataItemsItem)[vs[1].(int)] @@ -31597,6 +36110,12 @@ func (o MetadataItemsItemResponseOutput) ToMetadataItemsItemResponseOutputWithCo return o } +func (o MetadataItemsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataItemsItemResponse] { + return pulumix.Output[MetadataItemsItemResponse]{ + OutputState: o.OutputState, + } +} + // Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project. func (o MetadataItemsItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v MetadataItemsItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -31621,6 +36140,12 @@ func (o MetadataItemsItemResponseArrayOutput) ToMetadataItemsItemResponseArrayOu return o } +func (o MetadataItemsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataItemsItemResponse] { + return pulumix.Output[[]MetadataItemsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataItemsItemResponseArrayOutput) Index(i pulumi.IntInput) MetadataItemsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataItemsItemResponse { return vs[0].([]MetadataItemsItemResponse)[vs[1].(int)] @@ -31652,6 +36177,12 @@ func (o MetadataResponseOutput) ToMetadataResponseOutputWithContext(ctx context. return o } +func (o MetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataResponse] { + return pulumix.Output[MetadataResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource. func (o MetadataResponseOutput) Fingerprint() pulumi.StringOutput { return o.ApplyT(func(v MetadataResponse) string { return v.Fingerprint }).(pulumi.StringOutput) @@ -31702,6 +36233,12 @@ func (i MutualTlsArgs) ToMutualTlsOutputWithContext(ctx context.Context) MutualT return pulumi.ToOutputWithContext(ctx, i).(MutualTlsOutput) } +func (i MutualTlsArgs) ToOutput(ctx context.Context) pulumix.Output[MutualTls] { + return pulumix.Output[MutualTls]{ + OutputState: i.ToMutualTlsOutputWithContext(ctx).OutputState, + } +} + func (i MutualTlsArgs) ToMutualTlsPtrOutput() MutualTlsPtrOutput { return i.ToMutualTlsPtrOutputWithContext(context.Background()) } @@ -31743,6 +36280,12 @@ func (i *mutualTlsPtrType) ToMutualTlsPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MutualTlsPtrOutput) } +func (i *mutualTlsPtrType) ToOutput(ctx context.Context) pulumix.Output[*MutualTls] { + return pulumix.Output[*MutualTls]{ + OutputState: i.ToMutualTlsPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Configuration for the mutual Tls mode for peer authentication. Configuration for the mutual Tls mode for peer authentication. type MutualTlsOutput struct{ *pulumi.OutputState } @@ -31768,6 +36311,12 @@ func (o MutualTlsOutput) ToMutualTlsPtrOutputWithContext(ctx context.Context) Mu }).(MutualTlsPtrOutput) } +func (o MutualTlsOutput) ToOutput(ctx context.Context) pulumix.Output[MutualTls] { + return pulumix.Output[MutualTls]{ + OutputState: o.OutputState, + } +} + // Specifies if the server TLS is configured to be strict or permissive. This field can be set to one of the following: STRICT: Client certificate must be presented, connection is in TLS. PERMISSIVE: Client certificate can be omitted, connection can be either plaintext or TLS. func (o MutualTlsOutput) Mode() MutualTlsModePtrOutput { return o.ApplyT(func(v MutualTls) *MutualTlsMode { return v.Mode }).(MutualTlsModePtrOutput) @@ -31787,6 +36336,12 @@ func (o MutualTlsPtrOutput) ToMutualTlsPtrOutputWithContext(ctx context.Context) return o } +func (o MutualTlsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MutualTls] { + return pulumix.Output[*MutualTls]{ + OutputState: o.OutputState, + } +} + func (o MutualTlsPtrOutput) Elem() MutualTlsOutput { return o.ApplyT(func(v *MutualTls) MutualTls { if v != nil { @@ -31828,6 +36383,12 @@ func (o MutualTlsResponseOutput) ToMutualTlsResponseOutputWithContext(ctx contex return o } +func (o MutualTlsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MutualTlsResponse] { + return pulumix.Output[MutualTlsResponse]{ + OutputState: o.OutputState, + } +} + // Specifies if the server TLS is configured to be strict or permissive. This field can be set to one of the following: STRICT: Client certificate must be presented, connection is in TLS. PERMISSIVE: Client certificate can be omitted, connection can be either plaintext or TLS. func (o MutualTlsResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v MutualTlsResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -31872,6 +36433,12 @@ func (i NamedPortArgs) ToNamedPortOutputWithContext(ctx context.Context) NamedPo return pulumi.ToOutputWithContext(ctx, i).(NamedPortOutput) } +func (i NamedPortArgs) ToOutput(ctx context.Context) pulumix.Output[NamedPort] { + return pulumix.Output[NamedPort]{ + OutputState: i.ToNamedPortOutputWithContext(ctx).OutputState, + } +} + // NamedPortArrayInput is an input type that accepts NamedPortArray and NamedPortArrayOutput values. // You can construct a concrete instance of `NamedPortArrayInput` via: // @@ -31897,6 +36464,12 @@ func (i NamedPortArray) ToNamedPortArrayOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NamedPortArrayOutput) } +func (i NamedPortArray) ToOutput(ctx context.Context) pulumix.Output[[]NamedPort] { + return pulumix.Output[[]NamedPort]{ + OutputState: i.ToNamedPortArrayOutputWithContext(ctx).OutputState, + } +} + // The named port. For example: <"http", 80>. type NamedPortOutput struct{ *pulumi.OutputState } @@ -31912,6 +36485,12 @@ func (o NamedPortOutput) ToNamedPortOutputWithContext(ctx context.Context) Named return o } +func (o NamedPortOutput) ToOutput(ctx context.Context) pulumix.Output[NamedPort] { + return pulumix.Output[NamedPort]{ + OutputState: o.OutputState, + } +} + // The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. func (o NamedPortOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v NamedPort) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -31936,6 +36515,12 @@ func (o NamedPortArrayOutput) ToNamedPortArrayOutputWithContext(ctx context.Cont return o } +func (o NamedPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamedPort] { + return pulumix.Output[[]NamedPort]{ + OutputState: o.OutputState, + } +} + func (o NamedPortArrayOutput) Index(i pulumi.IntInput) NamedPortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamedPort { return vs[0].([]NamedPort)[vs[1].(int)] @@ -31965,6 +36550,12 @@ func (o NamedPortResponseOutput) ToNamedPortResponseOutputWithContext(ctx contex return o } +func (o NamedPortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NamedPortResponse] { + return pulumix.Output[NamedPortResponse]{ + OutputState: o.OutputState, + } +} + // The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. func (o NamedPortResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v NamedPortResponse) string { return v.Name }).(pulumi.StringOutput) @@ -31989,6 +36580,12 @@ func (o NamedPortResponseArrayOutput) ToNamedPortResponseArrayOutputWithContext( return o } +func (o NamedPortResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamedPortResponse] { + return pulumix.Output[[]NamedPortResponse]{ + OutputState: o.OutputState, + } +} + func (o NamedPortResponseArrayOutput) Index(i pulumi.IntInput) NamedPortResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamedPortResponse { return vs[0].([]NamedPortResponse)[vs[1].(int)] @@ -32024,6 +36621,12 @@ func (o NetworkAttachmentConnectedEndpointResponseOutput) ToNetworkAttachmentCon return o } +func (o NetworkAttachmentConnectedEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkAttachmentConnectedEndpointResponse] { + return pulumix.Output[NetworkAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless. func (o NetworkAttachmentConnectedEndpointResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v NetworkAttachmentConnectedEndpointResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -32063,6 +36666,12 @@ func (o NetworkAttachmentConnectedEndpointResponseArrayOutput) ToNetworkAttachme return o } +func (o NetworkAttachmentConnectedEndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkAttachmentConnectedEndpointResponse] { + return pulumix.Output[[]NetworkAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkAttachmentConnectedEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkAttachmentConnectedEndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkAttachmentConnectedEndpointResponse { return vs[0].([]NetworkAttachmentConnectedEndpointResponse)[vs[1].(int)] @@ -32112,6 +36721,12 @@ func (i NetworkEndpointGroupAppEngineArgs) ToNetworkEndpointGroupAppEngineOutput return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupAppEngineOutput) } +func (i NetworkEndpointGroupAppEngineArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupAppEngine] { + return pulumix.Output[NetworkEndpointGroupAppEngine]{ + OutputState: i.ToNetworkEndpointGroupAppEngineOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupAppEngineArgs) ToNetworkEndpointGroupAppEnginePtrOutput() NetworkEndpointGroupAppEnginePtrOutput { return i.ToNetworkEndpointGroupAppEnginePtrOutputWithContext(context.Background()) } @@ -32153,6 +36768,12 @@ func (i *networkEndpointGroupAppEnginePtrType) ToNetworkEndpointGroupAppEnginePt return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupAppEnginePtrOutput) } +func (i *networkEndpointGroupAppEnginePtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupAppEngine] { + return pulumix.Output[*NetworkEndpointGroupAppEngine]{ + OutputState: i.ToNetworkEndpointGroupAppEnginePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupAppEngineOutput struct{ *pulumi.OutputState } @@ -32178,6 +36799,12 @@ func (o NetworkEndpointGroupAppEngineOutput) ToNetworkEndpointGroupAppEnginePtrO }).(NetworkEndpointGroupAppEnginePtrOutput) } +func (o NetworkEndpointGroupAppEngineOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupAppEngine] { + return pulumix.Output[NetworkEndpointGroupAppEngine]{ + OutputState: o.OutputState, + } +} + // Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". func (o NetworkEndpointGroupAppEngineOutput) Service() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupAppEngine) *string { return v.Service }).(pulumi.StringPtrOutput) @@ -32207,6 +36834,12 @@ func (o NetworkEndpointGroupAppEnginePtrOutput) ToNetworkEndpointGroupAppEngineP return o } +func (o NetworkEndpointGroupAppEnginePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupAppEngine] { + return pulumix.Output[*NetworkEndpointGroupAppEngine]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupAppEnginePtrOutput) Elem() NetworkEndpointGroupAppEngineOutput { return o.ApplyT(func(v *NetworkEndpointGroupAppEngine) NetworkEndpointGroupAppEngine { if v != nil { @@ -32272,6 +36905,12 @@ func (o NetworkEndpointGroupAppEngineResponseOutput) ToNetworkEndpointGroupAppEn return o } +func (o NetworkEndpointGroupAppEngineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupAppEngineResponse] { + return pulumix.Output[NetworkEndpointGroupAppEngineResponse]{ + OutputState: o.OutputState, + } +} + // Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". func (o NetworkEndpointGroupAppEngineResponseOutput) Service() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupAppEngineResponse) string { return v.Service }).(pulumi.StringOutput) @@ -32326,6 +36965,12 @@ func (i NetworkEndpointGroupCloudFunctionArgs) ToNetworkEndpointGroupCloudFuncti return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudFunctionOutput) } +func (i NetworkEndpointGroupCloudFunctionArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudFunction] { + return pulumix.Output[NetworkEndpointGroupCloudFunction]{ + OutputState: i.ToNetworkEndpointGroupCloudFunctionOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupCloudFunctionArgs) ToNetworkEndpointGroupCloudFunctionPtrOutput() NetworkEndpointGroupCloudFunctionPtrOutput { return i.ToNetworkEndpointGroupCloudFunctionPtrOutputWithContext(context.Background()) } @@ -32367,6 +37012,12 @@ func (i *networkEndpointGroupCloudFunctionPtrType) ToNetworkEndpointGroupCloudFu return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudFunctionPtrOutput) } +func (i *networkEndpointGroupCloudFunctionPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudFunction] { + return pulumix.Output[*NetworkEndpointGroupCloudFunction]{ + OutputState: i.ToNetworkEndpointGroupCloudFunctionPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupCloudFunctionOutput struct{ *pulumi.OutputState } @@ -32392,6 +37043,12 @@ func (o NetworkEndpointGroupCloudFunctionOutput) ToNetworkEndpointGroupCloudFunc }).(NetworkEndpointGroupCloudFunctionPtrOutput) } +func (o NetworkEndpointGroupCloudFunctionOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudFunction] { + return pulumix.Output[NetworkEndpointGroupCloudFunction]{ + OutputState: o.OutputState, + } +} + // A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1". func (o NetworkEndpointGroupCloudFunctionOutput) Function() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudFunction) *string { return v.Function }).(pulumi.StringPtrOutput) @@ -32416,6 +37073,12 @@ func (o NetworkEndpointGroupCloudFunctionPtrOutput) ToNetworkEndpointGroupCloudF return o } +func (o NetworkEndpointGroupCloudFunctionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudFunction] { + return pulumix.Output[*NetworkEndpointGroupCloudFunction]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupCloudFunctionPtrOutput) Elem() NetworkEndpointGroupCloudFunctionOutput { return o.ApplyT(func(v *NetworkEndpointGroupCloudFunction) NetworkEndpointGroupCloudFunction { if v != nil { @@ -32469,6 +37132,12 @@ func (o NetworkEndpointGroupCloudFunctionResponseOutput) ToNetworkEndpointGroupC return o } +func (o NetworkEndpointGroupCloudFunctionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudFunctionResponse] { + return pulumix.Output[NetworkEndpointGroupCloudFunctionResponse]{ + OutputState: o.OutputState, + } +} + // A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1". func (o NetworkEndpointGroupCloudFunctionResponseOutput) Function() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudFunctionResponse) string { return v.Function }).(pulumi.StringOutput) @@ -32522,6 +37191,12 @@ func (i NetworkEndpointGroupCloudRunArgs) ToNetworkEndpointGroupCloudRunOutputWi return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudRunOutput) } +func (i NetworkEndpointGroupCloudRunArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudRun] { + return pulumix.Output[NetworkEndpointGroupCloudRun]{ + OutputState: i.ToNetworkEndpointGroupCloudRunOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupCloudRunArgs) ToNetworkEndpointGroupCloudRunPtrOutput() NetworkEndpointGroupCloudRunPtrOutput { return i.ToNetworkEndpointGroupCloudRunPtrOutputWithContext(context.Background()) } @@ -32563,6 +37238,12 @@ func (i *networkEndpointGroupCloudRunPtrType) ToNetworkEndpointGroupCloudRunPtrO return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudRunPtrOutput) } +func (i *networkEndpointGroupCloudRunPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudRun] { + return pulumix.Output[*NetworkEndpointGroupCloudRun]{ + OutputState: i.ToNetworkEndpointGroupCloudRunPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupCloudRunOutput struct{ *pulumi.OutputState } @@ -32588,6 +37269,12 @@ func (o NetworkEndpointGroupCloudRunOutput) ToNetworkEndpointGroupCloudRunPtrOut }).(NetworkEndpointGroupCloudRunPtrOutput) } +func (o NetworkEndpointGroupCloudRunOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudRun] { + return pulumix.Output[NetworkEndpointGroupCloudRun]{ + OutputState: o.OutputState, + } +} + // Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service". func (o NetworkEndpointGroupCloudRunOutput) Service() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudRun) *string { return v.Service }).(pulumi.StringPtrOutput) @@ -32617,6 +37304,12 @@ func (o NetworkEndpointGroupCloudRunPtrOutput) ToNetworkEndpointGroupCloudRunPtr return o } +func (o NetworkEndpointGroupCloudRunPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudRun] { + return pulumix.Output[*NetworkEndpointGroupCloudRun]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupCloudRunPtrOutput) Elem() NetworkEndpointGroupCloudRunOutput { return o.ApplyT(func(v *NetworkEndpointGroupCloudRun) NetworkEndpointGroupCloudRun { if v != nil { @@ -32682,6 +37375,12 @@ func (o NetworkEndpointGroupCloudRunResponseOutput) ToNetworkEndpointGroupCloudR return o } +func (o NetworkEndpointGroupCloudRunResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudRunResponse] { + return pulumix.Output[NetworkEndpointGroupCloudRunResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service". func (o NetworkEndpointGroupCloudRunResponseOutput) Service() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudRunResponse) string { return v.Service }).(pulumi.StringOutput) @@ -32752,6 +37451,12 @@ func (i NetworkEndpointGroupLbNetworkEndpointGroupArgs) ToNetworkEndpointGroupLb return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupLbNetworkEndpointGroupOutput) } +func (i NetworkEndpointGroupLbNetworkEndpointGroupArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroup] { + return pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroup]{ + OutputState: i.ToNetworkEndpointGroupLbNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupLbNetworkEndpointGroupArgs) ToNetworkEndpointGroupLbNetworkEndpointGroupPtrOutput() NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput { return i.ToNetworkEndpointGroupLbNetworkEndpointGroupPtrOutputWithContext(context.Background()) } @@ -32793,6 +37498,12 @@ func (i *networkEndpointGroupLbNetworkEndpointGroupPtrType) ToNetworkEndpointGro return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput) } +func (i *networkEndpointGroupLbNetworkEndpointGroupPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupLbNetworkEndpointGroup] { + return pulumix.Output[*NetworkEndpointGroupLbNetworkEndpointGroup]{ + OutputState: i.ToNetworkEndpointGroupLbNetworkEndpointGroupPtrOutputWithContext(ctx).OutputState, + } +} + // Load balancing specific fields for network endpoint group. type NetworkEndpointGroupLbNetworkEndpointGroupOutput struct{ *pulumi.OutputState } @@ -32818,6 +37529,12 @@ func (o NetworkEndpointGroupLbNetworkEndpointGroupOutput) ToNetworkEndpointGroup }).(NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput) } +func (o NetworkEndpointGroupLbNetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroup] { + return pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated. // // Deprecated: The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated. @@ -32853,6 +37570,12 @@ func (o NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput) ToNetworkEndpointGr return o } +func (o NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupLbNetworkEndpointGroup] { + return pulumix.Output[*NetworkEndpointGroupLbNetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput) Elem() NetworkEndpointGroupLbNetworkEndpointGroupOutput { return o.ApplyT(func(v *NetworkEndpointGroupLbNetworkEndpointGroup) NetworkEndpointGroupLbNetworkEndpointGroup { if v != nil { @@ -32934,6 +37657,12 @@ func (o NetworkEndpointGroupLbNetworkEndpointGroupResponseOutput) ToNetworkEndpo return o } +func (o NetworkEndpointGroupLbNetworkEndpointGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroupResponse] { + return pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroupResponse]{ + OutputState: o.OutputState, + } +} + // The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated. // // Deprecated: The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated. @@ -32993,6 +37722,12 @@ func (i NetworkEndpointGroupPscDataArgs) ToNetworkEndpointGroupPscDataOutputWith return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupPscDataOutput) } +func (i NetworkEndpointGroupPscDataArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupPscData] { + return pulumix.Output[NetworkEndpointGroupPscData]{ + OutputState: i.ToNetworkEndpointGroupPscDataOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupPscDataArgs) ToNetworkEndpointGroupPscDataPtrOutput() NetworkEndpointGroupPscDataPtrOutput { return i.ToNetworkEndpointGroupPscDataPtrOutputWithContext(context.Background()) } @@ -33034,6 +37769,12 @@ func (i *networkEndpointGroupPscDataPtrType) ToNetworkEndpointGroupPscDataPtrOut return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupPscDataPtrOutput) } +func (i *networkEndpointGroupPscDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupPscData] { + return pulumix.Output[*NetworkEndpointGroupPscData]{ + OutputState: i.ToNetworkEndpointGroupPscDataPtrOutputWithContext(ctx).OutputState, + } +} + // All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT. type NetworkEndpointGroupPscDataOutput struct{ *pulumi.OutputState } @@ -33059,6 +37800,12 @@ func (o NetworkEndpointGroupPscDataOutput) ToNetworkEndpointGroupPscDataPtrOutpu }).(NetworkEndpointGroupPscDataPtrOutput) } +func (o NetworkEndpointGroupPscDataOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupPscData] { + return pulumix.Output[NetworkEndpointGroupPscData]{ + OutputState: o.OutputState, + } +} + type NetworkEndpointGroupPscDataPtrOutput struct{ *pulumi.OutputState } func (NetworkEndpointGroupPscDataPtrOutput) ElementType() reflect.Type { @@ -33073,6 +37820,12 @@ func (o NetworkEndpointGroupPscDataPtrOutput) ToNetworkEndpointGroupPscDataPtrOu return o } +func (o NetworkEndpointGroupPscDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupPscData] { + return pulumix.Output[*NetworkEndpointGroupPscData]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupPscDataPtrOutput) Elem() NetworkEndpointGroupPscDataOutput { return o.ApplyT(func(v *NetworkEndpointGroupPscData) NetworkEndpointGroupPscData { if v != nil { @@ -33108,6 +37861,12 @@ func (o NetworkEndpointGroupPscDataResponseOutput) ToNetworkEndpointGroupPscData return o } +func (o NetworkEndpointGroupPscDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupPscDataResponse] { + return pulumix.Output[NetworkEndpointGroupPscDataResponse]{ + OutputState: o.OutputState, + } +} + // Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB. func (o NetworkEndpointGroupPscDataResponseOutput) ConsumerPscAddress() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupPscDataResponse) string { return v.ConsumerPscAddress }).(pulumi.StringOutput) @@ -33170,6 +37929,12 @@ func (i NetworkEndpointGroupServerlessDeploymentArgs) ToNetworkEndpointGroupServ return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupServerlessDeploymentOutput) } +func (i NetworkEndpointGroupServerlessDeploymentArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupServerlessDeployment] { + return pulumix.Output[NetworkEndpointGroupServerlessDeployment]{ + OutputState: i.ToNetworkEndpointGroupServerlessDeploymentOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupServerlessDeploymentArgs) ToNetworkEndpointGroupServerlessDeploymentPtrOutput() NetworkEndpointGroupServerlessDeploymentPtrOutput { return i.ToNetworkEndpointGroupServerlessDeploymentPtrOutputWithContext(context.Background()) } @@ -33211,6 +37976,12 @@ func (i *networkEndpointGroupServerlessDeploymentPtrType) ToNetworkEndpointGroup return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupServerlessDeploymentPtrOutput) } +func (i *networkEndpointGroupServerlessDeploymentPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupServerlessDeployment] { + return pulumix.Output[*NetworkEndpointGroupServerlessDeployment]{ + OutputState: i.ToNetworkEndpointGroupServerlessDeploymentPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a serverless network endpoint group (NEG). The platform must be provided. Note: The target backend service must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupServerlessDeploymentOutput struct{ *pulumi.OutputState } @@ -33236,6 +38007,12 @@ func (o NetworkEndpointGroupServerlessDeploymentOutput) ToNetworkEndpointGroupSe }).(NetworkEndpointGroupServerlessDeploymentPtrOutput) } +func (o NetworkEndpointGroupServerlessDeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupServerlessDeployment] { + return pulumix.Output[NetworkEndpointGroupServerlessDeployment]{ + OutputState: o.OutputState, + } +} + // The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com. func (o NetworkEndpointGroupServerlessDeploymentOutput) Platform() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupServerlessDeployment) *string { return v.Platform }).(pulumi.StringPtrOutput) @@ -33270,6 +38047,12 @@ func (o NetworkEndpointGroupServerlessDeploymentPtrOutput) ToNetworkEndpointGrou return o } +func (o NetworkEndpointGroupServerlessDeploymentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupServerlessDeployment] { + return pulumix.Output[*NetworkEndpointGroupServerlessDeployment]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupServerlessDeploymentPtrOutput) Elem() NetworkEndpointGroupServerlessDeploymentOutput { return o.ApplyT(func(v *NetworkEndpointGroupServerlessDeployment) NetworkEndpointGroupServerlessDeployment { if v != nil { @@ -33347,6 +38130,12 @@ func (o NetworkEndpointGroupServerlessDeploymentResponseOutput) ToNetworkEndpoin return o } +func (o NetworkEndpointGroupServerlessDeploymentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupServerlessDeploymentResponse] { + return pulumix.Output[NetworkEndpointGroupServerlessDeploymentResponse]{ + OutputState: o.OutputState, + } +} + // The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com. func (o NetworkEndpointGroupServerlessDeploymentResponseOutput) Platform() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupServerlessDeploymentResponse) string { return v.Platform }).(pulumi.StringOutput) @@ -33458,6 +38247,12 @@ func (i NetworkInterfaceArgs) ToNetworkInterfaceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceOutput) } +func (i NetworkInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: i.ToNetworkInterfaceOutputWithContext(ctx).OutputState, + } +} + // NetworkInterfaceArrayInput is an input type that accepts NetworkInterfaceArray and NetworkInterfaceArrayOutput values. // You can construct a concrete instance of `NetworkInterfaceArrayInput` via: // @@ -33483,6 +38278,12 @@ func (i NetworkInterfaceArray) ToNetworkInterfaceArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceArrayOutput) } +func (i NetworkInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: i.ToNetworkInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // A network interface resource attached to an instance. type NetworkInterfaceOutput struct{ *pulumi.OutputState } @@ -33498,6 +38299,12 @@ func (o NetworkInterfaceOutput) ToNetworkInterfaceOutputWithContext(ctx context. return o } +func (o NetworkInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: o.OutputState, + } +} + // An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access. func (o NetworkInterfaceOutput) AccessConfigs() AccessConfigArrayOutput { return o.ApplyT(func(v NetworkInterface) []AccessConfig { return v.AccessConfigs }).(AccessConfigArrayOutput) @@ -33587,6 +38394,12 @@ func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext(ct return o } +func (o NetworkInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterface { return vs[0].([]NetworkInterface)[vs[1].(int)] @@ -33650,6 +38463,12 @@ func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutputWithCont return o } +func (o NetworkInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceResponse] { + return pulumix.Output[NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access. func (o NetworkInterfaceResponseOutput) AccessConfigs() AccessConfigResponseArrayOutput { return o.ApplyT(func(v NetworkInterfaceResponse) []AccessConfigResponse { return v.AccessConfigs }).(AccessConfigResponseArrayOutput) @@ -33759,6 +38578,12 @@ func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutp return o } +func (o NetworkInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterfaceResponse] { + return pulumix.Output[[]NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceResponse { return vs[0].([]NetworkInterfaceResponse)[vs[1].(int)] @@ -33808,6 +38633,12 @@ func (i NetworkInterfaceSubInterfaceArgs) ToNetworkInterfaceSubInterfaceOutputWi return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceSubInterfaceOutput) } +func (i NetworkInterfaceSubInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceSubInterface] { + return pulumix.Output[NetworkInterfaceSubInterface]{ + OutputState: i.ToNetworkInterfaceSubInterfaceOutputWithContext(ctx).OutputState, + } +} + // NetworkInterfaceSubInterfaceArrayInput is an input type that accepts NetworkInterfaceSubInterfaceArray and NetworkInterfaceSubInterfaceArrayOutput values. // You can construct a concrete instance of `NetworkInterfaceSubInterfaceArrayInput` via: // @@ -33833,6 +38664,12 @@ func (i NetworkInterfaceSubInterfaceArray) ToNetworkInterfaceSubInterfaceArrayOu return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceSubInterfaceArrayOutput) } +func (i NetworkInterfaceSubInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterfaceSubInterface] { + return pulumix.Output[[]NetworkInterfaceSubInterface]{ + OutputState: i.ToNetworkInterfaceSubInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + type NetworkInterfaceSubInterfaceOutput struct{ *pulumi.OutputState } func (NetworkInterfaceSubInterfaceOutput) ElementType() reflect.Type { @@ -33847,6 +38684,12 @@ func (o NetworkInterfaceSubInterfaceOutput) ToNetworkInterfaceSubInterfaceOutput return o } +func (o NetworkInterfaceSubInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceSubInterface] { + return pulumix.Output[NetworkInterfaceSubInterface]{ + OutputState: o.OutputState, + } +} + // An IPv4 internal IP address to assign to the instance for this subinterface. If specified, ip_allocation_mode should be set to ALLOCATE_IP. func (o NetworkInterfaceSubInterfaceOutput) IpAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkInterfaceSubInterface) *string { return v.IpAddress }).(pulumi.StringPtrOutput) @@ -33882,6 +38725,12 @@ func (o NetworkInterfaceSubInterfaceArrayOutput) ToNetworkInterfaceSubInterfaceA return o } +func (o NetworkInterfaceSubInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterfaceSubInterface] { + return pulumix.Output[[]NetworkInterfaceSubInterface]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceSubInterfaceArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceSubInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceSubInterface { return vs[0].([]NetworkInterfaceSubInterface)[vs[1].(int)] @@ -33912,6 +38761,12 @@ func (o NetworkInterfaceSubInterfaceResponseOutput) ToNetworkInterfaceSubInterfa return o } +func (o NetworkInterfaceSubInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceSubInterfaceResponse] { + return pulumix.Output[NetworkInterfaceSubInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // An IPv4 internal IP address to assign to the instance for this subinterface. If specified, ip_allocation_mode should be set to ALLOCATE_IP. func (o NetworkInterfaceSubInterfaceResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v NetworkInterfaceSubInterfaceResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -33945,6 +38800,12 @@ func (o NetworkInterfaceSubInterfaceResponseArrayOutput) ToNetworkInterfaceSubIn return o } +func (o NetworkInterfaceSubInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterfaceSubInterfaceResponse] { + return pulumix.Output[[]NetworkInterfaceSubInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceSubInterfaceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceSubInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceSubInterfaceResponse { return vs[0].([]NetworkInterfaceSubInterfaceResponse)[vs[1].(int)] @@ -33996,6 +38857,12 @@ func (o NetworkPeeringResponseOutput) ToNetworkPeeringResponseOutputWithContext( return o } +func (o NetworkPeeringResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPeeringResponse] { + return pulumix.Output[NetworkPeeringResponse]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Routers in this network can automatically advertise subnets from the peer network. func (o NetworkPeeringResponseOutput) AdvertisePeerSubnetsViaRouters() pulumi.BoolOutput { return o.ApplyT(func(v NetworkPeeringResponse) bool { return v.AdvertisePeerSubnetsViaRouters }).(pulumi.BoolOutput) @@ -34075,6 +38942,12 @@ func (o NetworkPeeringResponseArrayOutput) ToNetworkPeeringResponseArrayOutputWi return o } +func (o NetworkPeeringResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkPeeringResponse] { + return pulumix.Output[[]NetworkPeeringResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkPeeringResponseArrayOutput) Index(i pulumi.IntInput) NetworkPeeringResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkPeeringResponse { return vs[0].([]NetworkPeeringResponse)[vs[1].(int)] @@ -34114,6 +38987,12 @@ func (i NetworkPerformanceConfigArgs) ToNetworkPerformanceConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(NetworkPerformanceConfigOutput) } +func (i NetworkPerformanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfig] { + return pulumix.Output[NetworkPerformanceConfig]{ + OutputState: i.ToNetworkPerformanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkPerformanceConfigArgs) ToNetworkPerformanceConfigPtrOutput() NetworkPerformanceConfigPtrOutput { return i.ToNetworkPerformanceConfigPtrOutputWithContext(context.Background()) } @@ -34155,6 +39034,12 @@ func (i *networkPerformanceConfigPtrType) ToNetworkPerformanceConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(NetworkPerformanceConfigPtrOutput) } +func (i *networkPerformanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfig] { + return pulumix.Output[*NetworkPerformanceConfig]{ + OutputState: i.ToNetworkPerformanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + type NetworkPerformanceConfigOutput struct{ *pulumi.OutputState } func (NetworkPerformanceConfigOutput) ElementType() reflect.Type { @@ -34179,6 +39064,12 @@ func (o NetworkPerformanceConfigOutput) ToNetworkPerformanceConfigPtrOutputWithC }).(NetworkPerformanceConfigPtrOutput) } +func (o NetworkPerformanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfig] { + return pulumix.Output[NetworkPerformanceConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigOutput) ExternalIpEgressBandwidthTier() NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput { return o.ApplyT(func(v NetworkPerformanceConfig) *NetworkPerformanceConfigExternalIpEgressBandwidthTier { return v.ExternalIpEgressBandwidthTier @@ -34205,6 +39096,12 @@ func (o NetworkPerformanceConfigPtrOutput) ToNetworkPerformanceConfigPtrOutputWi return o } +func (o NetworkPerformanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfig] { + return pulumix.Output[*NetworkPerformanceConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigPtrOutput) Elem() NetworkPerformanceConfigOutput { return o.ApplyT(func(v *NetworkPerformanceConfig) NetworkPerformanceConfig { if v != nil { @@ -34252,6 +39149,12 @@ func (o NetworkPerformanceConfigResponseOutput) ToNetworkPerformanceConfigRespon return o } +func (o NetworkPerformanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigResponse] { + return pulumix.Output[NetworkPerformanceConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigResponseOutput) ExternalIpEgressBandwidthTier() pulumi.StringOutput { return o.ApplyT(func(v NetworkPerformanceConfigResponse) string { return v.ExternalIpEgressBandwidthTier }).(pulumi.StringOutput) } @@ -34295,6 +39198,12 @@ func (i NetworkRoutingConfigArgs) ToNetworkRoutingConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(NetworkRoutingConfigOutput) } +func (i NetworkRoutingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfig] { + return pulumix.Output[NetworkRoutingConfig]{ + OutputState: i.ToNetworkRoutingConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkRoutingConfigArgs) ToNetworkRoutingConfigPtrOutput() NetworkRoutingConfigPtrOutput { return i.ToNetworkRoutingConfigPtrOutputWithContext(context.Background()) } @@ -34336,6 +39245,12 @@ func (i *networkRoutingConfigPtrType) ToNetworkRoutingConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(NetworkRoutingConfigPtrOutput) } +func (i *networkRoutingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfig] { + return pulumix.Output[*NetworkRoutingConfig]{ + OutputState: i.ToNetworkRoutingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide. type NetworkRoutingConfigOutput struct{ *pulumi.OutputState } @@ -34361,6 +39276,12 @@ func (o NetworkRoutingConfigOutput) ToNetworkRoutingConfigPtrOutputWithContext(c }).(NetworkRoutingConfigPtrOutput) } +func (o NetworkRoutingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfig] { + return pulumix.Output[NetworkRoutingConfig]{ + OutputState: o.OutputState, + } +} + // The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. func (o NetworkRoutingConfigOutput) RoutingMode() NetworkRoutingConfigRoutingModePtrOutput { return o.ApplyT(func(v NetworkRoutingConfig) *NetworkRoutingConfigRoutingMode { return v.RoutingMode }).(NetworkRoutingConfigRoutingModePtrOutput) @@ -34380,6 +39301,12 @@ func (o NetworkRoutingConfigPtrOutput) ToNetworkRoutingConfigPtrOutputWithContex return o } +func (o NetworkRoutingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfig] { + return pulumix.Output[*NetworkRoutingConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkRoutingConfigPtrOutput) Elem() NetworkRoutingConfigOutput { return o.ApplyT(func(v *NetworkRoutingConfig) NetworkRoutingConfig { if v != nil { @@ -34421,6 +39348,12 @@ func (o NetworkRoutingConfigResponseOutput) ToNetworkRoutingConfigResponseOutput return o } +func (o NetworkRoutingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfigResponse] { + return pulumix.Output[NetworkRoutingConfigResponse]{ + OutputState: o.OutputState, + } +} + // The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. func (o NetworkRoutingConfigResponseOutput) RoutingMode() pulumi.StringOutput { return o.ApplyT(func(v NetworkRoutingConfigResponse) string { return v.RoutingMode }).(pulumi.StringOutput) @@ -34467,6 +39400,12 @@ func (i NodeGroupAutoscalingPolicyArgs) ToNodeGroupAutoscalingPolicyOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(NodeGroupAutoscalingPolicyOutput) } +func (i NodeGroupAutoscalingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicy] { + return pulumix.Output[NodeGroupAutoscalingPolicy]{ + OutputState: i.ToNodeGroupAutoscalingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i NodeGroupAutoscalingPolicyArgs) ToNodeGroupAutoscalingPolicyPtrOutput() NodeGroupAutoscalingPolicyPtrOutput { return i.ToNodeGroupAutoscalingPolicyPtrOutputWithContext(context.Background()) } @@ -34508,6 +39447,12 @@ func (i *nodeGroupAutoscalingPolicyPtrType) ToNodeGroupAutoscalingPolicyPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(NodeGroupAutoscalingPolicyPtrOutput) } +func (i *nodeGroupAutoscalingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicy] { + return pulumix.Output[*NodeGroupAutoscalingPolicy]{ + OutputState: i.ToNodeGroupAutoscalingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type NodeGroupAutoscalingPolicyOutput struct{ *pulumi.OutputState } func (NodeGroupAutoscalingPolicyOutput) ElementType() reflect.Type { @@ -34532,6 +39477,12 @@ func (o NodeGroupAutoscalingPolicyOutput) ToNodeGroupAutoscalingPolicyPtrOutputW }).(NodeGroupAutoscalingPolicyPtrOutput) } +func (o NodeGroupAutoscalingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicy] { + return pulumix.Output[NodeGroupAutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + // The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100. func (o NodeGroupAutoscalingPolicyOutput) MaxNodes() pulumi.IntPtrOutput { return o.ApplyT(func(v NodeGroupAutoscalingPolicy) *int { return v.MaxNodes }).(pulumi.IntPtrOutput) @@ -34561,6 +39512,12 @@ func (o NodeGroupAutoscalingPolicyPtrOutput) ToNodeGroupAutoscalingPolicyPtrOutp return o } +func (o NodeGroupAutoscalingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicy] { + return pulumix.Output[*NodeGroupAutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAutoscalingPolicyPtrOutput) Elem() NodeGroupAutoscalingPolicyOutput { return o.ApplyT(func(v *NodeGroupAutoscalingPolicy) NodeGroupAutoscalingPolicy { if v != nil { @@ -34624,6 +39581,12 @@ func (o NodeGroupAutoscalingPolicyResponseOutput) ToNodeGroupAutoscalingPolicyRe return o } +func (o NodeGroupAutoscalingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicyResponse] { + return pulumix.Output[NodeGroupAutoscalingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100. func (o NodeGroupAutoscalingPolicyResponseOutput) MaxNodes() pulumi.IntOutput { return o.ApplyT(func(v NodeGroupAutoscalingPolicyResponse) int { return v.MaxNodes }).(pulumi.IntOutput) @@ -34674,6 +39637,12 @@ func (i NodeGroupMaintenanceWindowArgs) ToNodeGroupMaintenanceWindowOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(NodeGroupMaintenanceWindowOutput) } +func (i NodeGroupMaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenanceWindow] { + return pulumix.Output[NodeGroupMaintenanceWindow]{ + OutputState: i.ToNodeGroupMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i NodeGroupMaintenanceWindowArgs) ToNodeGroupMaintenanceWindowPtrOutput() NodeGroupMaintenanceWindowPtrOutput { return i.ToNodeGroupMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -34715,6 +39684,12 @@ func (i *nodeGroupMaintenanceWindowPtrType) ToNodeGroupMaintenanceWindowPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(NodeGroupMaintenanceWindowPtrOutput) } +func (i *nodeGroupMaintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenanceWindow] { + return pulumix.Output[*NodeGroupMaintenanceWindow]{ + OutputState: i.ToNodeGroupMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window. type NodeGroupMaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -34740,6 +39715,12 @@ func (o NodeGroupMaintenanceWindowOutput) ToNodeGroupMaintenanceWindowPtrOutputW }).(NodeGroupMaintenanceWindowPtrOutput) } +func (o NodeGroupMaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenanceWindow] { + return pulumix.Output[NodeGroupMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid. func (o NodeGroupMaintenanceWindowOutput) StartTime() pulumi.StringPtrOutput { return o.ApplyT(func(v NodeGroupMaintenanceWindow) *string { return v.StartTime }).(pulumi.StringPtrOutput) @@ -34759,6 +39740,12 @@ func (o NodeGroupMaintenanceWindowPtrOutput) ToNodeGroupMaintenanceWindowPtrOutp return o } +func (o NodeGroupMaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenanceWindow] { + return pulumix.Output[*NodeGroupMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenanceWindowPtrOutput) Elem() NodeGroupMaintenanceWindowOutput { return o.ApplyT(func(v *NodeGroupMaintenanceWindow) NodeGroupMaintenanceWindow { if v != nil { @@ -34804,6 +39791,12 @@ func (o NodeGroupMaintenanceWindowResponseOutput) ToNodeGroupMaintenanceWindowRe return o } +func (o NodeGroupMaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenanceWindowResponse] { + return pulumix.Output[NodeGroupMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. func (o NodeGroupMaintenanceWindowResponseOutput) Duration() pulumi.StringOutput { return o.ApplyT(func(v NodeGroupMaintenanceWindowResponse) string { return v.Duration }).(pulumi.StringOutput) @@ -34854,6 +39847,12 @@ func (i NodeTemplateNodeTypeFlexibilityArgs) ToNodeTemplateNodeTypeFlexibilityOu return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateNodeTypeFlexibilityOutput) } +func (i NodeTemplateNodeTypeFlexibilityArgs) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[NodeTemplateNodeTypeFlexibility]{ + OutputState: i.ToNodeTemplateNodeTypeFlexibilityOutputWithContext(ctx).OutputState, + } +} + func (i NodeTemplateNodeTypeFlexibilityArgs) ToNodeTemplateNodeTypeFlexibilityPtrOutput() NodeTemplateNodeTypeFlexibilityPtrOutput { return i.ToNodeTemplateNodeTypeFlexibilityPtrOutputWithContext(context.Background()) } @@ -34895,6 +39894,12 @@ func (i *nodeTemplateNodeTypeFlexibilityPtrType) ToNodeTemplateNodeTypeFlexibili return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateNodeTypeFlexibilityPtrOutput) } +func (i *nodeTemplateNodeTypeFlexibilityPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[*NodeTemplateNodeTypeFlexibility]{ + OutputState: i.ToNodeTemplateNodeTypeFlexibilityPtrOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateNodeTypeFlexibilityOutput struct{ *pulumi.OutputState } func (NodeTemplateNodeTypeFlexibilityOutput) ElementType() reflect.Type { @@ -34919,6 +39924,12 @@ func (o NodeTemplateNodeTypeFlexibilityOutput) ToNodeTemplateNodeTypeFlexibility }).(NodeTemplateNodeTypeFlexibilityPtrOutput) } +func (o NodeTemplateNodeTypeFlexibilityOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[NodeTemplateNodeTypeFlexibility]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateNodeTypeFlexibilityOutput) Cpus() pulumi.StringPtrOutput { return o.ApplyT(func(v NodeTemplateNodeTypeFlexibility) *string { return v.Cpus }).(pulumi.StringPtrOutput) } @@ -34945,6 +39956,12 @@ func (o NodeTemplateNodeTypeFlexibilityPtrOutput) ToNodeTemplateNodeTypeFlexibil return o } +func (o NodeTemplateNodeTypeFlexibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[*NodeTemplateNodeTypeFlexibility]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateNodeTypeFlexibilityPtrOutput) Elem() NodeTemplateNodeTypeFlexibilityOutput { return o.ApplyT(func(v *NodeTemplateNodeTypeFlexibility) NodeTemplateNodeTypeFlexibility { if v != nil { @@ -35002,6 +40019,12 @@ func (o NodeTemplateNodeTypeFlexibilityResponseOutput) ToNodeTemplateNodeTypeFle return o } +func (o NodeTemplateNodeTypeFlexibilityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateNodeTypeFlexibilityResponse] { + return pulumix.Output[NodeTemplateNodeTypeFlexibilityResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateNodeTypeFlexibilityResponseOutput) Cpus() pulumi.StringOutput { return o.ApplyT(func(v NodeTemplateNodeTypeFlexibilityResponse) string { return v.Cpus }).(pulumi.StringOutput) } @@ -35065,6 +40088,12 @@ func (i NotificationEndpointGrpcSettingsArgs) ToNotificationEndpointGrpcSettings return pulumi.ToOutputWithContext(ctx, i).(NotificationEndpointGrpcSettingsOutput) } +func (i NotificationEndpointGrpcSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[NotificationEndpointGrpcSettings] { + return pulumix.Output[NotificationEndpointGrpcSettings]{ + OutputState: i.ToNotificationEndpointGrpcSettingsOutputWithContext(ctx).OutputState, + } +} + func (i NotificationEndpointGrpcSettingsArgs) ToNotificationEndpointGrpcSettingsPtrOutput() NotificationEndpointGrpcSettingsPtrOutput { return i.ToNotificationEndpointGrpcSettingsPtrOutputWithContext(context.Background()) } @@ -35106,6 +40135,12 @@ func (i *notificationEndpointGrpcSettingsPtrType) ToNotificationEndpointGrpcSett return pulumi.ToOutputWithContext(ctx, i).(NotificationEndpointGrpcSettingsPtrOutput) } +func (i *notificationEndpointGrpcSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NotificationEndpointGrpcSettings] { + return pulumix.Output[*NotificationEndpointGrpcSettings]{ + OutputState: i.ToNotificationEndpointGrpcSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint. type NotificationEndpointGrpcSettingsOutput struct{ *pulumi.OutputState } @@ -35131,6 +40166,12 @@ func (o NotificationEndpointGrpcSettingsOutput) ToNotificationEndpointGrpcSettin }).(NotificationEndpointGrpcSettingsPtrOutput) } +func (o NotificationEndpointGrpcSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationEndpointGrpcSettings] { + return pulumix.Output[NotificationEndpointGrpcSettings]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3 func (o NotificationEndpointGrpcSettingsOutput) Authority() pulumi.StringPtrOutput { return o.ApplyT(func(v NotificationEndpointGrpcSettings) *string { return v.Authority }).(pulumi.StringPtrOutput) @@ -35170,6 +40211,12 @@ func (o NotificationEndpointGrpcSettingsPtrOutput) ToNotificationEndpointGrpcSet return o } +func (o NotificationEndpointGrpcSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationEndpointGrpcSettings] { + return pulumix.Output[*NotificationEndpointGrpcSettings]{ + OutputState: o.OutputState, + } +} + func (o NotificationEndpointGrpcSettingsPtrOutput) Elem() NotificationEndpointGrpcSettingsOutput { return o.ApplyT(func(v *NotificationEndpointGrpcSettings) NotificationEndpointGrpcSettings { if v != nil { @@ -35259,6 +40306,12 @@ func (o NotificationEndpointGrpcSettingsResponseOutput) ToNotificationEndpointGr return o } +func (o NotificationEndpointGrpcSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationEndpointGrpcSettingsResponse] { + return pulumix.Output[NotificationEndpointGrpcSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3 func (o NotificationEndpointGrpcSettingsResponseOutput) Authority() pulumi.StringOutput { return o.ApplyT(func(v NotificationEndpointGrpcSettingsResponse) string { return v.Authority }).(pulumi.StringOutput) @@ -35317,6 +40370,12 @@ func (i OriginAuthenticationMethodArgs) ToOriginAuthenticationMethodOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(OriginAuthenticationMethodOutput) } +func (i OriginAuthenticationMethodArgs) ToOutput(ctx context.Context) pulumix.Output[OriginAuthenticationMethod] { + return pulumix.Output[OriginAuthenticationMethod]{ + OutputState: i.ToOriginAuthenticationMethodOutputWithContext(ctx).OutputState, + } +} + // OriginAuthenticationMethodArrayInput is an input type that accepts OriginAuthenticationMethodArray and OriginAuthenticationMethodArrayOutput values. // You can construct a concrete instance of `OriginAuthenticationMethodArrayInput` via: // @@ -35342,6 +40401,12 @@ func (i OriginAuthenticationMethodArray) ToOriginAuthenticationMethodArrayOutput return pulumi.ToOutputWithContext(ctx, i).(OriginAuthenticationMethodArrayOutput) } +func (i OriginAuthenticationMethodArray) ToOutput(ctx context.Context) pulumix.Output[[]OriginAuthenticationMethod] { + return pulumix.Output[[]OriginAuthenticationMethod]{ + OutputState: i.ToOriginAuthenticationMethodArrayOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Configuration for the origin authentication method. Configuration for the origin authentication method. type OriginAuthenticationMethodOutput struct{ *pulumi.OutputState } @@ -35357,6 +40422,12 @@ func (o OriginAuthenticationMethodOutput) ToOriginAuthenticationMethodOutputWith return o } +func (o OriginAuthenticationMethodOutput) ToOutput(ctx context.Context) pulumix.Output[OriginAuthenticationMethod] { + return pulumix.Output[OriginAuthenticationMethod]{ + OutputState: o.OutputState, + } +} + func (o OriginAuthenticationMethodOutput) Jwt() JwtPtrOutput { return o.ApplyT(func(v OriginAuthenticationMethod) *Jwt { return v.Jwt }).(JwtPtrOutput) } @@ -35375,6 +40446,12 @@ func (o OriginAuthenticationMethodArrayOutput) ToOriginAuthenticationMethodArray return o } +func (o OriginAuthenticationMethodArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OriginAuthenticationMethod] { + return pulumix.Output[[]OriginAuthenticationMethod]{ + OutputState: o.OutputState, + } +} + func (o OriginAuthenticationMethodArrayOutput) Index(i pulumi.IntInput) OriginAuthenticationMethodOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OriginAuthenticationMethod { return vs[0].([]OriginAuthenticationMethod)[vs[1].(int)] @@ -35401,6 +40478,12 @@ func (o OriginAuthenticationMethodResponseOutput) ToOriginAuthenticationMethodRe return o } +func (o OriginAuthenticationMethodResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OriginAuthenticationMethodResponse] { + return pulumix.Output[OriginAuthenticationMethodResponse]{ + OutputState: o.OutputState, + } +} + func (o OriginAuthenticationMethodResponseOutput) Jwt() JwtResponseOutput { return o.ApplyT(func(v OriginAuthenticationMethodResponse) JwtResponse { return v.Jwt }).(JwtResponseOutput) } @@ -35419,6 +40502,12 @@ func (o OriginAuthenticationMethodResponseArrayOutput) ToOriginAuthenticationMet return o } +func (o OriginAuthenticationMethodResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OriginAuthenticationMethodResponse] { + return pulumix.Output[[]OriginAuthenticationMethodResponse]{ + OutputState: o.OutputState, + } +} + func (o OriginAuthenticationMethodResponseArrayOutput) Index(i pulumi.IntInput) OriginAuthenticationMethodResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OriginAuthenticationMethodResponse { return vs[0].([]OriginAuthenticationMethodResponse)[vs[1].(int)] @@ -35500,6 +40589,12 @@ func (i OutlierDetectionArgs) ToOutlierDetectionOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(OutlierDetectionOutput) } +func (i OutlierDetectionArgs) ToOutput(ctx context.Context) pulumix.Output[OutlierDetection] { + return pulumix.Output[OutlierDetection]{ + OutputState: i.ToOutlierDetectionOutputWithContext(ctx).OutputState, + } +} + func (i OutlierDetectionArgs) ToOutlierDetectionPtrOutput() OutlierDetectionPtrOutput { return i.ToOutlierDetectionPtrOutputWithContext(context.Background()) } @@ -35541,6 +40636,12 @@ func (i *outlierDetectionPtrType) ToOutlierDetectionPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OutlierDetectionPtrOutput) } +func (i *outlierDetectionPtrType) ToOutput(ctx context.Context) pulumix.Output[*OutlierDetection] { + return pulumix.Output[*OutlierDetection]{ + OutputState: i.ToOutlierDetectionPtrOutputWithContext(ctx).OutputState, + } +} + // Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. type OutlierDetectionOutput struct{ *pulumi.OutputState } @@ -35566,6 +40667,12 @@ func (o OutlierDetectionOutput) ToOutlierDetectionPtrOutputWithContext(ctx conte }).(OutlierDetectionPtrOutput) } +func (o OutlierDetectionOutput) ToOutput(ctx context.Context) pulumix.Output[OutlierDetection] { + return pulumix.Output[OutlierDetection]{ + OutputState: o.OutputState, + } +} + // The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. func (o OutlierDetectionOutput) BaseEjectionTime() DurationPtrOutput { return o.ApplyT(func(v OutlierDetection) *Duration { return v.BaseEjectionTime }).(DurationPtrOutput) @@ -35635,6 +40742,12 @@ func (o OutlierDetectionPtrOutput) ToOutlierDetectionPtrOutputWithContext(ctx co return o } +func (o OutlierDetectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OutlierDetection] { + return pulumix.Output[*OutlierDetection]{ + OutputState: o.OutputState, + } +} + func (o OutlierDetectionPtrOutput) Elem() OutlierDetectionOutput { return o.ApplyT(func(v *OutlierDetection) OutlierDetection { if v != nil { @@ -35796,6 +40909,12 @@ func (o OutlierDetectionResponseOutput) ToOutlierDetectionResponseOutputWithCont return o } +func (o OutlierDetectionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OutlierDetectionResponse] { + return pulumix.Output[OutlierDetectionResponse]{ + OutputState: o.OutputState, + } +} + // The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. func (o OutlierDetectionResponseOutput) BaseEjectionTime() DurationResponseOutput { return o.ApplyT(func(v OutlierDetectionResponse) DurationResponse { return v.BaseEjectionTime }).(DurationResponseOutput) @@ -35892,6 +41011,12 @@ func (i PacketMirroringFilterArgs) ToPacketMirroringFilterOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringFilterOutput) } +func (i PacketMirroringFilterArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilter] { + return pulumix.Output[PacketMirroringFilter]{ + OutputState: i.ToPacketMirroringFilterOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringFilterArgs) ToPacketMirroringFilterPtrOutput() PacketMirroringFilterPtrOutput { return i.ToPacketMirroringFilterPtrOutputWithContext(context.Background()) } @@ -35933,6 +41058,12 @@ func (i *packetMirroringFilterPtrType) ToPacketMirroringFilterPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringFilterPtrOutput) } +func (i *packetMirroringFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilter] { + return pulumix.Output[*PacketMirroringFilter]{ + OutputState: i.ToPacketMirroringFilterPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringFilterOutput struct{ *pulumi.OutputState } func (PacketMirroringFilterOutput) ElementType() reflect.Type { @@ -35957,6 +41088,12 @@ func (o PacketMirroringFilterOutput) ToPacketMirroringFilterPtrOutputWithContext }).(PacketMirroringFilterPtrOutput) } +func (o PacketMirroringFilterOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilter] { + return pulumix.Output[PacketMirroringFilter]{ + OutputState: o.OutputState, + } +} + // IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. func (o PacketMirroringFilterOutput) CidrRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v PacketMirroringFilter) []string { return v.CidrRanges }).(pulumi.StringArrayOutput) @@ -35986,6 +41123,12 @@ func (o PacketMirroringFilterPtrOutput) ToPacketMirroringFilterPtrOutputWithCont return o } +func (o PacketMirroringFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilter] { + return pulumix.Output[*PacketMirroringFilter]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringFilterPtrOutput) Elem() PacketMirroringFilterOutput { return o.ApplyT(func(v *PacketMirroringFilter) PacketMirroringFilter { if v != nil { @@ -36049,6 +41192,12 @@ func (o PacketMirroringFilterResponseOutput) ToPacketMirroringFilterResponseOutp return o } +func (o PacketMirroringFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilterResponse] { + return pulumix.Output[PacketMirroringFilterResponse]{ + OutputState: o.OutputState, + } +} + // IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. func (o PacketMirroringFilterResponseOutput) CidrRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v PacketMirroringFilterResponse) []string { return v.CidrRanges }).(pulumi.StringArrayOutput) @@ -36097,6 +41246,12 @@ func (i PacketMirroringForwardingRuleInfoArgs) ToPacketMirroringForwardingRuleIn return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringForwardingRuleInfoOutput) } +func (i PacketMirroringForwardingRuleInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringForwardingRuleInfo] { + return pulumix.Output[PacketMirroringForwardingRuleInfo]{ + OutputState: i.ToPacketMirroringForwardingRuleInfoOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringForwardingRuleInfoArgs) ToPacketMirroringForwardingRuleInfoPtrOutput() PacketMirroringForwardingRuleInfoPtrOutput { return i.ToPacketMirroringForwardingRuleInfoPtrOutputWithContext(context.Background()) } @@ -36138,6 +41293,12 @@ func (i *packetMirroringForwardingRuleInfoPtrType) ToPacketMirroringForwardingRu return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringForwardingRuleInfoPtrOutput) } +func (i *packetMirroringForwardingRuleInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringForwardingRuleInfo] { + return pulumix.Output[*PacketMirroringForwardingRuleInfo]{ + OutputState: i.ToPacketMirroringForwardingRuleInfoPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringForwardingRuleInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringForwardingRuleInfoOutput) ElementType() reflect.Type { @@ -36162,6 +41323,12 @@ func (o PacketMirroringForwardingRuleInfoOutput) ToPacketMirroringForwardingRule }).(PacketMirroringForwardingRuleInfoPtrOutput) } +func (o PacketMirroringForwardingRuleInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringForwardingRuleInfo] { + return pulumix.Output[PacketMirroringForwardingRuleInfo]{ + OutputState: o.OutputState, + } +} + // Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic. func (o PacketMirroringForwardingRuleInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringForwardingRuleInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -36181,6 +41348,12 @@ func (o PacketMirroringForwardingRuleInfoPtrOutput) ToPacketMirroringForwardingR return o } +func (o PacketMirroringForwardingRuleInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringForwardingRuleInfo] { + return pulumix.Output[*PacketMirroringForwardingRuleInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringForwardingRuleInfoPtrOutput) Elem() PacketMirroringForwardingRuleInfoOutput { return o.ApplyT(func(v *PacketMirroringForwardingRuleInfo) PacketMirroringForwardingRuleInfo { if v != nil { @@ -36222,6 +41395,12 @@ func (o PacketMirroringForwardingRuleInfoResponseOutput) ToPacketMirroringForwar return o } +func (o PacketMirroringForwardingRuleInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringForwardingRuleInfoResponse] { + return pulumix.Output[PacketMirroringForwardingRuleInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the forwarding rule; defined by the server. func (o PacketMirroringForwardingRuleInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringForwardingRuleInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -36273,6 +41452,12 @@ func (i PacketMirroringMirroredResourceInfoArgs) ToPacketMirroringMirroredResour return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoOutput) } +func (i PacketMirroringMirroredResourceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringMirroredResourceInfoArgs) ToPacketMirroringMirroredResourceInfoPtrOutput() PacketMirroringMirroredResourceInfoPtrOutput { return i.ToPacketMirroringMirroredResourceInfoPtrOutputWithContext(context.Background()) } @@ -36314,6 +41499,12 @@ func (i *packetMirroringMirroredResourceInfoPtrType) ToPacketMirroringMirroredRe return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoPtrOutput) } +func (i *packetMirroringMirroredResourceInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringMirroredResourceInfo] { + return pulumix.Output[*PacketMirroringMirroredResourceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringMirroredResourceInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringMirroredResourceInfoOutput) ElementType() reflect.Type { @@ -36338,6 +41529,12 @@ func (o PacketMirroringMirroredResourceInfoOutput) ToPacketMirroringMirroredReso }).(PacketMirroringMirroredResourceInfoPtrOutput) } +func (o PacketMirroringMirroredResourceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfo]{ + OutputState: o.OutputState, + } +} + // A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances. func (o PacketMirroringMirroredResourceInfoOutput) Instances() PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfo) []PacketMirroringMirroredResourceInfoInstanceInfo { @@ -36371,6 +41568,12 @@ func (o PacketMirroringMirroredResourceInfoPtrOutput) ToPacketMirroringMirroredR return o } +func (o PacketMirroringMirroredResourceInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringMirroredResourceInfo] { + return pulumix.Output[*PacketMirroringMirroredResourceInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoPtrOutput) Elem() PacketMirroringMirroredResourceInfoOutput { return o.ApplyT(func(v *PacketMirroringMirroredResourceInfo) PacketMirroringMirroredResourceInfo { if v != nil { @@ -36444,6 +41647,12 @@ func (i PacketMirroringMirroredResourceInfoInstanceInfoArgs) ToPacketMirroringMi return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoInstanceInfoOutput) } +func (i PacketMirroringMirroredResourceInfoInstanceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoInstanceInfoOutputWithContext(ctx).OutputState, + } +} + // PacketMirroringMirroredResourceInfoInstanceInfoArrayInput is an input type that accepts PacketMirroringMirroredResourceInfoInstanceInfoArray and PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput values. // You can construct a concrete instance of `PacketMirroringMirroredResourceInfoInstanceInfoArrayInput` via: // @@ -36469,6 +41678,12 @@ func (i PacketMirroringMirroredResourceInfoInstanceInfoArray) ToPacketMirroringM return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) } +func (i PacketMirroringMirroredResourceInfoInstanceInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoInstanceInfoArrayOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringMirroredResourceInfoInstanceInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringMirroredResourceInfoInstanceInfoOutput) ElementType() reflect.Type { @@ -36483,6 +41698,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoOutput) ToPacketMirroring return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: o.OutputState, + } +} + // Resource URL to the virtual machine instance which is being mirrored. func (o PacketMirroringMirroredResourceInfoInstanceInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoInstanceInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -36502,6 +41723,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) ToPacketMirr return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoInstanceInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoInstanceInfo { return vs[0].([]PacketMirroringMirroredResourceInfoInstanceInfo)[vs[1].(int)] @@ -36529,6 +41756,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput) ToPacketM return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfoResponse] { + return pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the instance; defined by the server. func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoInstanceInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -36553,6 +41786,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput) ToPa return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfoResponse] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoInstanceInfoResponse { return vs[0].([]PacketMirroringMirroredResourceInfoInstanceInfoResponse)[vs[1].(int)] @@ -36582,6 +41821,12 @@ func (o PacketMirroringMirroredResourceInfoResponseOutput) ToPacketMirroringMirr return o } +func (o PacketMirroringMirroredResourceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoResponse] { + return pulumix.Output[PacketMirroringMirroredResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + // A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances. func (o PacketMirroringMirroredResourceInfoResponseOutput) Instances() PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoResponse) []PacketMirroringMirroredResourceInfoInstanceInfoResponse { @@ -36634,6 +41879,12 @@ func (i PacketMirroringMirroredResourceInfoSubnetInfoArgs) ToPacketMirroringMirr return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoSubnetInfoOutput) } +func (i PacketMirroringMirroredResourceInfoSubnetInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoSubnetInfoOutputWithContext(ctx).OutputState, + } +} + // PacketMirroringMirroredResourceInfoSubnetInfoArrayInput is an input type that accepts PacketMirroringMirroredResourceInfoSubnetInfoArray and PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput values. // You can construct a concrete instance of `PacketMirroringMirroredResourceInfoSubnetInfoArrayInput` via: // @@ -36659,6 +41910,12 @@ func (i PacketMirroringMirroredResourceInfoSubnetInfoArray) ToPacketMirroringMir return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) } +func (i PacketMirroringMirroredResourceInfoSubnetInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoSubnetInfoArrayOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringMirroredResourceInfoSubnetInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringMirroredResourceInfoSubnetInfoOutput) ElementType() reflect.Type { @@ -36673,6 +41930,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoOutput) ToPacketMirroringMi return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: o.OutputState, + } +} + // Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored. func (o PacketMirroringMirroredResourceInfoSubnetInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoSubnetInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -36692,6 +41955,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) ToPacketMirror return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoSubnetInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoSubnetInfo { return vs[0].([]PacketMirroringMirroredResourceInfoSubnetInfo)[vs[1].(int)] @@ -36719,6 +41988,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput) ToPacketMir return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfoResponse] { + return pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the subnetwork; defined by the server. func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoSubnetInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -36743,6 +42018,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseArrayOutput) ToPack return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfoResponse] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoSubnetInfoResponse { return vs[0].([]PacketMirroringMirroredResourceInfoSubnetInfoResponse)[vs[1].(int)] @@ -36782,6 +42063,12 @@ func (i PacketMirroringNetworkInfoArgs) ToPacketMirroringNetworkInfoOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringNetworkInfoOutput) } +func (i PacketMirroringNetworkInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringNetworkInfo] { + return pulumix.Output[PacketMirroringNetworkInfo]{ + OutputState: i.ToPacketMirroringNetworkInfoOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringNetworkInfoArgs) ToPacketMirroringNetworkInfoPtrOutput() PacketMirroringNetworkInfoPtrOutput { return i.ToPacketMirroringNetworkInfoPtrOutputWithContext(context.Background()) } @@ -36823,6 +42110,12 @@ func (i *packetMirroringNetworkInfoPtrType) ToPacketMirroringNetworkInfoPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringNetworkInfoPtrOutput) } +func (i *packetMirroringNetworkInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringNetworkInfo] { + return pulumix.Output[*PacketMirroringNetworkInfo]{ + OutputState: i.ToPacketMirroringNetworkInfoPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringNetworkInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringNetworkInfoOutput) ElementType() reflect.Type { @@ -36847,6 +42140,12 @@ func (o PacketMirroringNetworkInfoOutput) ToPacketMirroringNetworkInfoPtrOutputW }).(PacketMirroringNetworkInfoPtrOutput) } +func (o PacketMirroringNetworkInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringNetworkInfo] { + return pulumix.Output[PacketMirroringNetworkInfo]{ + OutputState: o.OutputState, + } +} + // URL of the network resource. func (o PacketMirroringNetworkInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringNetworkInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -36866,6 +42165,12 @@ func (o PacketMirroringNetworkInfoPtrOutput) ToPacketMirroringNetworkInfoPtrOutp return o } +func (o PacketMirroringNetworkInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringNetworkInfo] { + return pulumix.Output[*PacketMirroringNetworkInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringNetworkInfoPtrOutput) Elem() PacketMirroringNetworkInfoOutput { return o.ApplyT(func(v *PacketMirroringNetworkInfo) PacketMirroringNetworkInfo { if v != nil { @@ -36907,6 +42212,12 @@ func (o PacketMirroringNetworkInfoResponseOutput) ToPacketMirroringNetworkInfoRe return o } +func (o PacketMirroringNetworkInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringNetworkInfoResponse] { + return pulumix.Output[PacketMirroringNetworkInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the network; defined by the server. func (o PacketMirroringNetworkInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringNetworkInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -36984,6 +42295,12 @@ func (i PathMatcherArgs) ToPathMatcherOutputWithContext(ctx context.Context) Pat return pulumi.ToOutputWithContext(ctx, i).(PathMatcherOutput) } +func (i PathMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[PathMatcher] { + return pulumix.Output[PathMatcher]{ + OutputState: i.ToPathMatcherOutputWithContext(ctx).OutputState, + } +} + // PathMatcherArrayInput is an input type that accepts PathMatcherArray and PathMatcherArrayOutput values. // You can construct a concrete instance of `PathMatcherArrayInput` via: // @@ -37009,6 +42326,12 @@ func (i PathMatcherArray) ToPathMatcherArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(PathMatcherArrayOutput) } +func (i PathMatcherArray) ToOutput(ctx context.Context) pulumix.Output[[]PathMatcher] { + return pulumix.Output[[]PathMatcher]{ + OutputState: i.ToPathMatcherArrayOutputWithContext(ctx).OutputState, + } +} + // A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used. type PathMatcherOutput struct{ *pulumi.OutputState } @@ -37024,6 +42347,12 @@ func (o PathMatcherOutput) ToPathMatcherOutputWithContext(ctx context.Context) P return o } +func (o PathMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[PathMatcher] { + return pulumix.Output[PathMatcher]{ + OutputState: o.OutputState, + } +} + // defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o PathMatcherOutput) DefaultCustomErrorResponsePolicy() CustomErrorResponsePolicyPtrOutput { return o.ApplyT(func(v PathMatcher) *CustomErrorResponsePolicy { return v.DefaultCustomErrorResponsePolicy }).(CustomErrorResponsePolicyPtrOutput) @@ -37083,6 +42412,12 @@ func (o PathMatcherArrayOutput) ToPathMatcherArrayOutputWithContext(ctx context. return o } +func (o PathMatcherArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathMatcher] { + return pulumix.Output[[]PathMatcher]{ + OutputState: o.OutputState, + } +} + func (o PathMatcherArrayOutput) Index(i pulumi.IntInput) PathMatcherOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathMatcher { return vs[0].([]PathMatcher)[vs[1].(int)] @@ -37126,6 +42461,12 @@ func (o PathMatcherResponseOutput) ToPathMatcherResponseOutputWithContext(ctx co return o } +func (o PathMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PathMatcherResponse] { + return pulumix.Output[PathMatcherResponse]{ + OutputState: o.OutputState, + } +} + // defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o PathMatcherResponseOutput) DefaultCustomErrorResponsePolicy() CustomErrorResponsePolicyResponseOutput { return o.ApplyT(func(v PathMatcherResponse) CustomErrorResponsePolicyResponse { @@ -37187,6 +42528,12 @@ func (o PathMatcherResponseArrayOutput) ToPathMatcherResponseArrayOutputWithCont return o } +func (o PathMatcherResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathMatcherResponse] { + return pulumix.Output[[]PathMatcherResponse]{ + OutputState: o.OutputState, + } +} + func (o PathMatcherResponseArrayOutput) Index(i pulumi.IntInput) PathMatcherResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathMatcherResponse { return vs[0].([]PathMatcherResponse)[vs[1].(int)] @@ -37244,6 +42591,12 @@ func (i PathRuleArgs) ToPathRuleOutputWithContext(ctx context.Context) PathRuleO return pulumi.ToOutputWithContext(ctx, i).(PathRuleOutput) } +func (i PathRuleArgs) ToOutput(ctx context.Context) pulumix.Output[PathRule] { + return pulumix.Output[PathRule]{ + OutputState: i.ToPathRuleOutputWithContext(ctx).OutputState, + } +} + // PathRuleArrayInput is an input type that accepts PathRuleArray and PathRuleArrayOutput values. // You can construct a concrete instance of `PathRuleArrayInput` via: // @@ -37269,6 +42622,12 @@ func (i PathRuleArray) ToPathRuleArrayOutputWithContext(ctx context.Context) Pat return pulumi.ToOutputWithContext(ctx, i).(PathRuleArrayOutput) } +func (i PathRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]PathRule] { + return pulumix.Output[[]PathRule]{ + OutputState: i.ToPathRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL. type PathRuleOutput struct{ *pulumi.OutputState } @@ -37284,6 +42643,12 @@ func (o PathRuleOutput) ToPathRuleOutputWithContext(ctx context.Context) PathRul return o } +func (o PathRuleOutput) ToOutput(ctx context.Context) pulumix.Output[PathRule] { + return pulumix.Output[PathRule]{ + OutputState: o.OutputState, + } +} + // customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o PathRuleOutput) CustomErrorResponsePolicy() CustomErrorResponsePolicyPtrOutput { return o.ApplyT(func(v PathRule) *CustomErrorResponsePolicy { return v.CustomErrorResponsePolicy }).(CustomErrorResponsePolicyPtrOutput) @@ -37323,6 +42688,12 @@ func (o PathRuleArrayOutput) ToPathRuleArrayOutputWithContext(ctx context.Contex return o } +func (o PathRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathRule] { + return pulumix.Output[[]PathRule]{ + OutputState: o.OutputState, + } +} + func (o PathRuleArrayOutput) Index(i pulumi.IntInput) PathRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathRule { return vs[0].([]PathRule)[vs[1].(int)] @@ -37358,6 +42729,12 @@ func (o PathRuleResponseOutput) ToPathRuleResponseOutputWithContext(ctx context. return o } +func (o PathRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PathRuleResponse] { + return pulumix.Output[PathRuleResponse]{ + OutputState: o.OutputState, + } +} + // customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o PathRuleResponseOutput) CustomErrorResponsePolicy() CustomErrorResponsePolicyResponseOutput { return o.ApplyT(func(v PathRuleResponse) CustomErrorResponsePolicyResponse { return v.CustomErrorResponsePolicy }).(CustomErrorResponsePolicyResponseOutput) @@ -37397,6 +42774,12 @@ func (o PathRuleResponseArrayOutput) ToPathRuleResponseArrayOutputWithContext(ct return o } +func (o PathRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathRuleResponse] { + return pulumix.Output[[]PathRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o PathRuleResponseArrayOutput) Index(i pulumi.IntInput) PathRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathRuleResponse { return vs[0].([]PathRuleResponse)[vs[1].(int)] @@ -37438,6 +42821,12 @@ func (i PeerAuthenticationMethodArgs) ToPeerAuthenticationMethodOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(PeerAuthenticationMethodOutput) } +func (i PeerAuthenticationMethodArgs) ToOutput(ctx context.Context) pulumix.Output[PeerAuthenticationMethod] { + return pulumix.Output[PeerAuthenticationMethod]{ + OutputState: i.ToPeerAuthenticationMethodOutputWithContext(ctx).OutputState, + } +} + // PeerAuthenticationMethodArrayInput is an input type that accepts PeerAuthenticationMethodArray and PeerAuthenticationMethodArrayOutput values. // You can construct a concrete instance of `PeerAuthenticationMethodArrayInput` via: // @@ -37463,6 +42852,12 @@ func (i PeerAuthenticationMethodArray) ToPeerAuthenticationMethodArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(PeerAuthenticationMethodArrayOutput) } +func (i PeerAuthenticationMethodArray) ToOutput(ctx context.Context) pulumix.Output[[]PeerAuthenticationMethod] { + return pulumix.Output[[]PeerAuthenticationMethod]{ + OutputState: i.ToPeerAuthenticationMethodArrayOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Configuration for the peer authentication method. Configuration for the peer authentication method. type PeerAuthenticationMethodOutput struct{ *pulumi.OutputState } @@ -37478,6 +42873,12 @@ func (o PeerAuthenticationMethodOutput) ToPeerAuthenticationMethodOutputWithCont return o } +func (o PeerAuthenticationMethodOutput) ToOutput(ctx context.Context) pulumix.Output[PeerAuthenticationMethod] { + return pulumix.Output[PeerAuthenticationMethod]{ + OutputState: o.OutputState, + } +} + // Set if mTLS is used for peer authentication. func (o PeerAuthenticationMethodOutput) Mtls() MutualTlsPtrOutput { return o.ApplyT(func(v PeerAuthenticationMethod) *MutualTls { return v.Mtls }).(MutualTlsPtrOutput) @@ -37497,6 +42898,12 @@ func (o PeerAuthenticationMethodArrayOutput) ToPeerAuthenticationMethodArrayOutp return o } +func (o PeerAuthenticationMethodArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PeerAuthenticationMethod] { + return pulumix.Output[[]PeerAuthenticationMethod]{ + OutputState: o.OutputState, + } +} + func (o PeerAuthenticationMethodArrayOutput) Index(i pulumi.IntInput) PeerAuthenticationMethodOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PeerAuthenticationMethod { return vs[0].([]PeerAuthenticationMethod)[vs[1].(int)] @@ -37524,6 +42931,12 @@ func (o PeerAuthenticationMethodResponseOutput) ToPeerAuthenticationMethodRespon return o } +func (o PeerAuthenticationMethodResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PeerAuthenticationMethodResponse] { + return pulumix.Output[PeerAuthenticationMethodResponse]{ + OutputState: o.OutputState, + } +} + // Set if mTLS is used for peer authentication. func (o PeerAuthenticationMethodResponseOutput) Mtls() MutualTlsResponseOutput { return o.ApplyT(func(v PeerAuthenticationMethodResponse) MutualTlsResponse { return v.Mtls }).(MutualTlsResponseOutput) @@ -37543,6 +42956,12 @@ func (o PeerAuthenticationMethodResponseArrayOutput) ToPeerAuthenticationMethodR return o } +func (o PeerAuthenticationMethodResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PeerAuthenticationMethodResponse] { + return pulumix.Output[[]PeerAuthenticationMethodResponse]{ + OutputState: o.OutputState, + } +} + func (o PeerAuthenticationMethodResponseArrayOutput) Index(i pulumi.IntInput) PeerAuthenticationMethodResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PeerAuthenticationMethodResponse { return vs[0].([]PeerAuthenticationMethodResponse)[vs[1].(int)] @@ -37616,6 +43035,12 @@ func (i PermissionArgs) ToPermissionOutputWithContext(ctx context.Context) Permi return pulumi.ToOutputWithContext(ctx, i).(PermissionOutput) } +func (i PermissionArgs) ToOutput(ctx context.Context) pulumix.Output[Permission] { + return pulumix.Output[Permission]{ + OutputState: i.ToPermissionOutputWithContext(ctx).OutputState, + } +} + // PermissionArrayInput is an input type that accepts PermissionArray and PermissionArrayOutput values. // You can construct a concrete instance of `PermissionArrayInput` via: // @@ -37641,6 +43066,12 @@ func (i PermissionArray) ToPermissionArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PermissionArrayOutput) } +func (i PermissionArray) ToOutput(ctx context.Context) pulumix.Output[[]Permission] { + return pulumix.Output[[]Permission]{ + OutputState: i.ToPermissionArrayOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] All fields defined in a permission are ANDed. type PermissionOutput struct{ *pulumi.OutputState } @@ -37656,6 +43087,12 @@ func (o PermissionOutput) ToPermissionOutputWithContext(ctx context.Context) Per return o } +func (o PermissionOutput) ToOutput(ctx context.Context) pulumix.Output[Permission] { + return pulumix.Output[Permission]{ + OutputState: o.OutputState, + } +} + // Extra custom constraints. The constraints are ANDed together. func (o PermissionOutput) Constraints() PermissionConstraintArrayOutput { return o.ApplyT(func(v Permission) []PermissionConstraint { return v.Constraints }).(PermissionConstraintArrayOutput) @@ -37715,6 +43152,12 @@ func (o PermissionArrayOutput) ToPermissionArrayOutputWithContext(ctx context.Co return o } +func (o PermissionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Permission] { + return pulumix.Output[[]Permission]{ + OutputState: o.OutputState, + } +} + func (o PermissionArrayOutput) Index(i pulumi.IntInput) PermissionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Permission { return vs[0].([]Permission)[vs[1].(int)] @@ -37760,6 +43203,12 @@ func (i PermissionConstraintArgs) ToPermissionConstraintOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PermissionConstraintOutput) } +func (i PermissionConstraintArgs) ToOutput(ctx context.Context) pulumix.Output[PermissionConstraint] { + return pulumix.Output[PermissionConstraint]{ + OutputState: i.ToPermissionConstraintOutputWithContext(ctx).OutputState, + } +} + // PermissionConstraintArrayInput is an input type that accepts PermissionConstraintArray and PermissionConstraintArrayOutput values. // You can construct a concrete instance of `PermissionConstraintArrayInput` via: // @@ -37785,6 +43234,12 @@ func (i PermissionConstraintArray) ToPermissionConstraintArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(PermissionConstraintArrayOutput) } +func (i PermissionConstraintArray) ToOutput(ctx context.Context) pulumix.Output[[]PermissionConstraint] { + return pulumix.Output[[]PermissionConstraint]{ + OutputState: i.ToPermissionConstraintArrayOutputWithContext(ctx).OutputState, + } +} + // Custom constraint that specifies a key and a list of allowed values for Istio attributes. type PermissionConstraintOutput struct{ *pulumi.OutputState } @@ -37800,6 +43255,12 @@ func (o PermissionConstraintOutput) ToPermissionConstraintOutputWithContext(ctx return o } +func (o PermissionConstraintOutput) ToOutput(ctx context.Context) pulumix.Output[PermissionConstraint] { + return pulumix.Output[PermissionConstraint]{ + OutputState: o.OutputState, + } +} + // Key of the constraint. func (o PermissionConstraintOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v PermissionConstraint) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -37824,6 +43285,12 @@ func (o PermissionConstraintArrayOutput) ToPermissionConstraintArrayOutputWithCo return o } +func (o PermissionConstraintArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PermissionConstraint] { + return pulumix.Output[[]PermissionConstraint]{ + OutputState: o.OutputState, + } +} + func (o PermissionConstraintArrayOutput) Index(i pulumi.IntInput) PermissionConstraintOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PermissionConstraint { return vs[0].([]PermissionConstraint)[vs[1].(int)] @@ -37853,6 +43320,12 @@ func (o PermissionConstraintResponseOutput) ToPermissionConstraintResponseOutput return o } +func (o PermissionConstraintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PermissionConstraintResponse] { + return pulumix.Output[PermissionConstraintResponse]{ + OutputState: o.OutputState, + } +} + // Key of the constraint. func (o PermissionConstraintResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v PermissionConstraintResponse) string { return v.Key }).(pulumi.StringOutput) @@ -37877,6 +43350,12 @@ func (o PermissionConstraintResponseArrayOutput) ToPermissionConstraintResponseA return o } +func (o PermissionConstraintResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PermissionConstraintResponse] { + return pulumix.Output[[]PermissionConstraintResponse]{ + OutputState: o.OutputState, + } +} + func (o PermissionConstraintResponseArrayOutput) Index(i pulumi.IntInput) PermissionConstraintResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PermissionConstraintResponse { return vs[0].([]PermissionConstraintResponse)[vs[1].(int)] @@ -37920,6 +43399,12 @@ func (o PermissionResponseOutput) ToPermissionResponseOutputWithContext(ctx cont return o } +func (o PermissionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PermissionResponse] { + return pulumix.Output[PermissionResponse]{ + OutputState: o.OutputState, + } +} + // Extra custom constraints. The constraints are ANDed together. func (o PermissionResponseOutput) Constraints() PermissionConstraintResponseArrayOutput { return o.ApplyT(func(v PermissionResponse) []PermissionConstraintResponse { return v.Constraints }).(PermissionConstraintResponseArrayOutput) @@ -37979,6 +43464,12 @@ func (o PermissionResponseArrayOutput) ToPermissionResponseArrayOutputWithContex return o } +func (o PermissionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PermissionResponse] { + return pulumix.Output[[]PermissionResponse]{ + OutputState: o.OutputState, + } +} + func (o PermissionResponseArrayOutput) Index(i pulumi.IntInput) PermissionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PermissionResponse { return vs[0].([]PermissionResponse)[vs[1].(int)] @@ -38056,6 +43547,12 @@ func (i PrincipalArgs) ToPrincipalOutputWithContext(ctx context.Context) Princip return pulumi.ToOutputWithContext(ctx, i).(PrincipalOutput) } +func (i PrincipalArgs) ToOutput(ctx context.Context) pulumix.Output[Principal] { + return pulumix.Output[Principal]{ + OutputState: i.ToPrincipalOutputWithContext(ctx).OutputState, + } +} + // PrincipalArrayInput is an input type that accepts PrincipalArray and PrincipalArrayOutput values. // You can construct a concrete instance of `PrincipalArrayInput` via: // @@ -38081,6 +43578,12 @@ func (i PrincipalArray) ToPrincipalArrayOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PrincipalArrayOutput) } +func (i PrincipalArray) ToOutput(ctx context.Context) pulumix.Output[[]Principal] { + return pulumix.Output[[]Principal]{ + OutputState: i.ToPrincipalArrayOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] All fields defined in a principal are ANDed. type PrincipalOutput struct{ *pulumi.OutputState } @@ -38096,6 +43599,12 @@ func (o PrincipalOutput) ToPrincipalOutputWithContext(ctx context.Context) Princ return o } +func (o PrincipalOutput) ToOutput(ctx context.Context) pulumix.Output[Principal] { + return pulumix.Output[Principal]{ + OutputState: o.OutputState, + } +} + // An expression to specify custom condition. func (o PrincipalOutput) Condition() pulumi.StringPtrOutput { return o.ApplyT(func(v Principal) *string { return v.Condition }).(pulumi.StringPtrOutput) @@ -38160,6 +43669,12 @@ func (o PrincipalArrayOutput) ToPrincipalArrayOutputWithContext(ctx context.Cont return o } +func (o PrincipalArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Principal] { + return pulumix.Output[[]Principal]{ + OutputState: o.OutputState, + } +} + func (o PrincipalArrayOutput) Index(i pulumi.IntInput) PrincipalOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Principal { return vs[0].([]Principal)[vs[1].(int)] @@ -38205,6 +43720,12 @@ func (o PrincipalResponseOutput) ToPrincipalResponseOutputWithContext(ctx contex return o } +func (o PrincipalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrincipalResponse] { + return pulumix.Output[PrincipalResponse]{ + OutputState: o.OutputState, + } +} + // An expression to specify custom condition. func (o PrincipalResponseOutput) Condition() pulumi.StringOutput { return o.ApplyT(func(v PrincipalResponse) string { return v.Condition }).(pulumi.StringOutput) @@ -38269,6 +43790,12 @@ func (o PrincipalResponseArrayOutput) ToPrincipalResponseArrayOutputWithContext( return o } +func (o PrincipalResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PrincipalResponse] { + return pulumix.Output[[]PrincipalResponse]{ + OutputState: o.OutputState, + } +} + func (o PrincipalResponseArrayOutput) Index(i pulumi.IntInput) PrincipalResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PrincipalResponse { return vs[0].([]PrincipalResponse)[vs[1].(int)] @@ -38304,6 +43831,12 @@ func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput) ToPublicAdver return o } +func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublicAdvertisedPrefixPublicDelegatedPrefixResponse] { + return pulumix.Output[PublicAdvertisedPrefixPublicDelegatedPrefixResponse]{ + OutputState: o.OutputState, + } +} + // The IP address range of the public delegated prefix func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput) IpRange() pulumi.StringOutput { return o.ApplyT(func(v PublicAdvertisedPrefixPublicDelegatedPrefixResponse) string { return v.IpRange }).(pulumi.StringOutput) @@ -38343,6 +43876,12 @@ func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseArrayOutput) ToPublic return o } +func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PublicAdvertisedPrefixPublicDelegatedPrefixResponse] { + return pulumix.Output[[]PublicAdvertisedPrefixPublicDelegatedPrefixResponse]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseArrayOutput) Index(i pulumi.IntInput) PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicAdvertisedPrefixPublicDelegatedPrefixResponse { return vs[0].([]PublicAdvertisedPrefixPublicDelegatedPrefixResponse)[vs[1].(int)] @@ -38400,6 +43939,12 @@ func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArgs) ToPublicDelegatedPref return pulumi.ToOutputWithContext(ctx, i).(PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) } +func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArgs) ToOutput(ctx context.Context) pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: i.ToPublicDelegatedPrefixPublicDelegatedSubPrefixOutputWithContext(ctx).OutputState, + } +} + // PublicDelegatedPrefixPublicDelegatedSubPrefixArrayInput is an input type that accepts PublicDelegatedPrefixPublicDelegatedSubPrefixArray and PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput values. // You can construct a concrete instance of `PublicDelegatedPrefixPublicDelegatedSubPrefixArrayInput` via: // @@ -38425,6 +43970,12 @@ func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArray) ToPublicDelegatedPre return pulumi.ToOutputWithContext(ctx, i).(PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) } +func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArray) ToOutput(ctx context.Context) pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: i.ToPublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a sub PublicDelegatedPrefix. type PublicDelegatedPrefixPublicDelegatedSubPrefixOutput struct{ *pulumi.OutputState } @@ -38440,6 +43991,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) ToPublicDelegatedPr return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: o.OutputState, + } +} + // Name of the project scoping this PublicDelegatedSubPrefix. func (o PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) DelegateeProject() pulumi.StringPtrOutput { return o.ApplyT(func(v PublicDelegatedPrefixPublicDelegatedSubPrefix) *string { return v.DelegateeProject }).(pulumi.StringPtrOutput) @@ -38479,6 +44036,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) ToPublicDelega return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: o.OutputState, + } +} + func (o PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) Index(i pulumi.IntInput) PublicDelegatedPrefixPublicDelegatedSubPrefixOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicDelegatedPrefixPublicDelegatedSubPrefix { return vs[0].([]PublicDelegatedPrefixPublicDelegatedSubPrefix)[vs[1].(int)] @@ -38518,6 +44081,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput) ToPublicDel return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefixResponse] { + return pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefixResponse]{ + OutputState: o.OutputState, + } +} + // Name of the project scoping this PublicDelegatedSubPrefix. func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput) DelegateeProject() pulumi.StringOutput { return o.ApplyT(func(v PublicDelegatedPrefixPublicDelegatedSubPrefixResponse) string { return v.DelegateeProject }).(pulumi.StringOutput) @@ -38567,6 +44136,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseArrayOutput) ToPubl return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefixResponse] { + return pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefixResponse]{ + OutputState: o.OutputState, + } +} + func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseArrayOutput) Index(i pulumi.IntInput) PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicDelegatedPrefixPublicDelegatedSubPrefixResponse { return vs[0].([]PublicDelegatedPrefixPublicDelegatedSubPrefixResponse)[vs[1].(int)] @@ -38594,6 +44169,12 @@ func (o QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponseOut return o } +func (o QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponse] { + return pulumix.Output[QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponseOutput) ErrorInfo() ErrorInfoResponseOutput { return o.ApplyT(func(v QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponse) ErrorInfoResponse { return v.ErrorInfo @@ -38632,6 +44213,12 @@ func (o QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponseArr return o } +func (o QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponse] { + return pulumix.Output[[]QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponseArrayOutput) Index(i pulumi.IntInput) QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponse { return vs[0].([]QueuedResourceStatusFailedDataErrorErrorsItemErrorDetailsItemResponse)[vs[1].(int)] @@ -38663,6 +44250,12 @@ func (o QueuedResourceStatusFailedDataErrorErrorsItemResponseOutput) ToQueuedRes return o } +func (o QueuedResourceStatusFailedDataErrorErrorsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueuedResourceStatusFailedDataErrorErrorsItemResponse] { + return pulumix.Output[QueuedResourceStatusFailedDataErrorErrorsItemResponse]{ + OutputState: o.OutputState, + } +} + // The error type identifier for this error. func (o QueuedResourceStatusFailedDataErrorErrorsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v QueuedResourceStatusFailedDataErrorErrorsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -38699,6 +44292,12 @@ func (o QueuedResourceStatusFailedDataErrorErrorsItemResponseArrayOutput) ToQueu return o } +func (o QueuedResourceStatusFailedDataErrorErrorsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QueuedResourceStatusFailedDataErrorErrorsItemResponse] { + return pulumix.Output[[]QueuedResourceStatusFailedDataErrorErrorsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o QueuedResourceStatusFailedDataErrorErrorsItemResponseArrayOutput) Index(i pulumi.IntInput) QueuedResourceStatusFailedDataErrorErrorsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QueuedResourceStatusFailedDataErrorErrorsItemResponse { return vs[0].([]QueuedResourceStatusFailedDataErrorErrorsItemResponse)[vs[1].(int)] @@ -38726,6 +44325,12 @@ func (o QueuedResourceStatusFailedDataErrorResponseOutput) ToQueuedResourceStatu return o } +func (o QueuedResourceStatusFailedDataErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueuedResourceStatusFailedDataErrorResponse] { + return pulumix.Output[QueuedResourceStatusFailedDataErrorResponse]{ + OutputState: o.OutputState, + } +} + // The array of errors encountered while processing this operation. func (o QueuedResourceStatusFailedDataErrorResponseOutput) Errors() QueuedResourceStatusFailedDataErrorErrorsItemResponseArrayOutput { return o.ApplyT(func(v QueuedResourceStatusFailedDataErrorResponse) []QueuedResourceStatusFailedDataErrorErrorsItemResponse { @@ -38754,6 +44359,12 @@ func (o QueuedResourceStatusFailedDataResponseOutput) ToQueuedResourceStatusFail return o } +func (o QueuedResourceStatusFailedDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueuedResourceStatusFailedDataResponse] { + return pulumix.Output[QueuedResourceStatusFailedDataResponse]{ + OutputState: o.OutputState, + } +} + // The error(s) that caused the QueuedResource to enter the FAILED state. func (o QueuedResourceStatusFailedDataResponseOutput) Error() QueuedResourceStatusFailedDataErrorResponseOutput { return o.ApplyT(func(v QueuedResourceStatusFailedDataResponse) QueuedResourceStatusFailedDataErrorResponse { @@ -38786,6 +44397,12 @@ func (o QueuedResourceStatusResponseOutput) ToQueuedResourceStatusResponseOutput return o } +func (o QueuedResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueuedResourceStatusResponse] { + return pulumix.Output[QueuedResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Additional status detail for the FAILED state. func (o QueuedResourceStatusResponseOutput) FailedData() QueuedResourceStatusFailedDataResponseOutput { return o.ApplyT(func(v QueuedResourceStatusResponse) QueuedResourceStatusFailedDataResponse { return v.FailedData }).(QueuedResourceStatusFailedDataResponseOutput) @@ -38840,6 +44457,12 @@ func (i QueuingPolicyArgs) ToQueuingPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueuingPolicyOutput) } +func (i QueuingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[QueuingPolicy] { + return pulumix.Output[QueuingPolicy]{ + OutputState: i.ToQueuingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i QueuingPolicyArgs) ToQueuingPolicyPtrOutput() QueuingPolicyPtrOutput { return i.ToQueuingPolicyPtrOutputWithContext(context.Background()) } @@ -38881,6 +44504,12 @@ func (i *queuingPolicyPtrType) ToQueuingPolicyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(QueuingPolicyPtrOutput) } +func (i *queuingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*QueuingPolicy] { + return pulumix.Output[*QueuingPolicy]{ + OutputState: i.ToQueuingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Queuing parameters for the requested deferred capacity. type QueuingPolicyOutput struct{ *pulumi.OutputState } @@ -38906,6 +44535,12 @@ func (o QueuingPolicyOutput) ToQueuingPolicyPtrOutputWithContext(ctx context.Con }).(QueuingPolicyPtrOutput) } +func (o QueuingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[QueuingPolicy] { + return pulumix.Output[QueuingPolicy]{ + OutputState: o.OutputState, + } +} + // Relative deadline for waiting for capacity. func (o QueuingPolicyOutput) ValidUntilDuration() DurationPtrOutput { return o.ApplyT(func(v QueuingPolicy) *Duration { return v.ValidUntilDuration }).(DurationPtrOutput) @@ -38930,6 +44565,12 @@ func (o QueuingPolicyPtrOutput) ToQueuingPolicyPtrOutputWithContext(ctx context. return o } +func (o QueuingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueuingPolicy] { + return pulumix.Output[*QueuingPolicy]{ + OutputState: o.OutputState, + } +} + func (o QueuingPolicyPtrOutput) Elem() QueuingPolicyOutput { return o.ApplyT(func(v *QueuingPolicy) QueuingPolicy { if v != nil { @@ -38983,6 +44624,12 @@ func (o QueuingPolicyResponseOutput) ToQueuingPolicyResponseOutputWithContext(ct return o } +func (o QueuingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueuingPolicyResponse] { + return pulumix.Output[QueuingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Relative deadline for waiting for capacity. func (o QueuingPolicyResponseOutput) ValidUntilDuration() DurationResponseOutput { return o.ApplyT(func(v QueuingPolicyResponse) DurationResponse { return v.ValidUntilDuration }).(DurationResponseOutput) @@ -39020,6 +44667,12 @@ func (o QuotaExceededInfoResponseOutput) ToQuotaExceededInfoResponseOutputWithCo return o } +func (o QuotaExceededInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QuotaExceededInfoResponse] { + return pulumix.Output[QuotaExceededInfoResponse]{ + OutputState: o.OutputState, + } +} + // The map holding related quota dimensions. func (o QuotaExceededInfoResponseOutput) Dimensions() pulumi.StringMapOutput { return o.ApplyT(func(v QuotaExceededInfoResponse) map[string]string { return v.Dimensions }).(pulumi.StringMapOutput) @@ -39081,6 +44734,12 @@ func (i RbacPolicyArgs) ToRbacPolicyOutputWithContext(ctx context.Context) RbacP return pulumi.ToOutputWithContext(ctx, i).(RbacPolicyOutput) } +func (i RbacPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RbacPolicy] { + return pulumix.Output[RbacPolicy]{ + OutputState: i.ToRbacPolicyOutputWithContext(ctx).OutputState, + } +} + // RbacPolicyArrayInput is an input type that accepts RbacPolicyArray and RbacPolicyArrayOutput values. // You can construct a concrete instance of `RbacPolicyArrayInput` via: // @@ -39106,6 +44765,12 @@ func (i RbacPolicyArray) ToRbacPolicyArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RbacPolicyArrayOutput) } +func (i RbacPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]RbacPolicy] { + return pulumix.Output[[]RbacPolicy]{ + OutputState: i.ToRbacPolicyArrayOutputWithContext(ctx).OutputState, + } +} + type RbacPolicyOutput struct{ *pulumi.OutputState } func (RbacPolicyOutput) ElementType() reflect.Type { @@ -39120,6 +44785,12 @@ func (o RbacPolicyOutput) ToRbacPolicyOutputWithContext(ctx context.Context) Rba return o } +func (o RbacPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RbacPolicy] { + return pulumix.Output[RbacPolicy]{ + OutputState: o.OutputState, + } +} + // Name of the RbacPolicy. func (o RbacPolicyOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v RbacPolicy) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -39149,6 +44820,12 @@ func (o RbacPolicyArrayOutput) ToRbacPolicyArrayOutputWithContext(ctx context.Co return o } +func (o RbacPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RbacPolicy] { + return pulumix.Output[[]RbacPolicy]{ + OutputState: o.OutputState, + } +} + func (o RbacPolicyArrayOutput) Index(i pulumi.IntInput) RbacPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RbacPolicy { return vs[0].([]RbacPolicy)[vs[1].(int)] @@ -39178,6 +44855,12 @@ func (o RbacPolicyResponseOutput) ToRbacPolicyResponseOutputWithContext(ctx cont return o } +func (o RbacPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RbacPolicyResponse] { + return pulumix.Output[RbacPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Name of the RbacPolicy. func (o RbacPolicyResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v RbacPolicyResponse) string { return v.Name }).(pulumi.StringOutput) @@ -39207,6 +44890,12 @@ func (o RbacPolicyResponseArrayOutput) ToRbacPolicyResponseArrayOutputWithContex return o } +func (o RbacPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RbacPolicyResponse] { + return pulumix.Output[[]RbacPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o RbacPolicyResponseArrayOutput) Index(i pulumi.IntInput) RbacPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RbacPolicyResponse { return vs[0].([]RbacPolicyResponse)[vs[1].(int)] @@ -39234,6 +44923,12 @@ func (o RegionSslPolicyWarningsItemDataItemResponseOutput) ToRegionSslPolicyWarn return o } +func (o RegionSslPolicyWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[RegionSslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o RegionSslPolicyWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v RegionSslPolicyWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -39258,6 +44953,12 @@ func (o RegionSslPolicyWarningsItemDataItemResponseArrayOutput) ToRegionSslPolic return o } +func (o RegionSslPolicyWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegionSslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[[]RegionSslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) RegionSslPolicyWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegionSslPolicyWarningsItemDataItemResponse { return vs[0].([]RegionSslPolicyWarningsItemDataItemResponse)[vs[1].(int)] @@ -39287,6 +44988,12 @@ func (o RegionSslPolicyWarningsItemResponseOutput) ToRegionSslPolicyWarningsItem return o } +func (o RegionSslPolicyWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyWarningsItemResponse] { + return pulumix.Output[RegionSslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o RegionSslPolicyWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v RegionSslPolicyWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -39318,6 +45025,12 @@ func (o RegionSslPolicyWarningsItemResponseArrayOutput) ToRegionSslPolicyWarning return o } +func (o RegionSslPolicyWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegionSslPolicyWarningsItemResponse] { + return pulumix.Output[[]RegionSslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) RegionSslPolicyWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegionSslPolicyWarningsItemResponse { return vs[0].([]RegionSslPolicyWarningsItemResponse)[vs[1].(int)] @@ -39359,6 +45072,12 @@ func (i RequestMirrorPolicyArgs) ToRequestMirrorPolicyOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(RequestMirrorPolicyOutput) } +func (i RequestMirrorPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RequestMirrorPolicy] { + return pulumix.Output[RequestMirrorPolicy]{ + OutputState: i.ToRequestMirrorPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RequestMirrorPolicyArgs) ToRequestMirrorPolicyPtrOutput() RequestMirrorPolicyPtrOutput { return i.ToRequestMirrorPolicyPtrOutputWithContext(context.Background()) } @@ -39400,6 +45119,12 @@ func (i *requestMirrorPolicyPtrType) ToRequestMirrorPolicyPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RequestMirrorPolicyPtrOutput) } +func (i *requestMirrorPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RequestMirrorPolicy] { + return pulumix.Output[*RequestMirrorPolicy]{ + OutputState: i.ToRequestMirrorPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer doesn't wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow. type RequestMirrorPolicyOutput struct{ *pulumi.OutputState } @@ -39425,6 +45150,12 @@ func (o RequestMirrorPolicyOutput) ToRequestMirrorPolicyPtrOutputWithContext(ctx }).(RequestMirrorPolicyPtrOutput) } +func (o RequestMirrorPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RequestMirrorPolicy] { + return pulumix.Output[RequestMirrorPolicy]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. func (o RequestMirrorPolicyOutput) BackendService() pulumi.StringPtrOutput { return o.ApplyT(func(v RequestMirrorPolicy) *string { return v.BackendService }).(pulumi.StringPtrOutput) @@ -39444,6 +45175,12 @@ func (o RequestMirrorPolicyPtrOutput) ToRequestMirrorPolicyPtrOutputWithContext( return o } +func (o RequestMirrorPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RequestMirrorPolicy] { + return pulumix.Output[*RequestMirrorPolicy]{ + OutputState: o.OutputState, + } +} + func (o RequestMirrorPolicyPtrOutput) Elem() RequestMirrorPolicyOutput { return o.ApplyT(func(v *RequestMirrorPolicy) RequestMirrorPolicy { if v != nil { @@ -39485,6 +45222,12 @@ func (o RequestMirrorPolicyResponseOutput) ToRequestMirrorPolicyResponseOutputWi return o } +func (o RequestMirrorPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RequestMirrorPolicyResponse] { + return pulumix.Output[RequestMirrorPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. func (o RequestMirrorPolicyResponseOutput) BackendService() pulumi.StringOutput { return o.ApplyT(func(v RequestMirrorPolicyResponse) string { return v.BackendService }).(pulumi.StringOutput) @@ -39553,6 +45296,12 @@ func (i ReservationTypeArgs) ToReservationTypeOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ReservationTypeOutput) } +func (i ReservationTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationType] { + return pulumix.Output[ReservationType]{ + OutputState: i.ToReservationTypeOutputWithContext(ctx).OutputState, + } +} + // ReservationTypeArrayInput is an input type that accepts ReservationTypeArray and ReservationTypeArrayOutput values. // You can construct a concrete instance of `ReservationTypeArrayInput` via: // @@ -39578,6 +45327,12 @@ func (i ReservationTypeArray) ToReservationTypeArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ReservationTypeArrayOutput) } +func (i ReservationTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]ReservationType] { + return pulumix.Output[[]ReservationType]{ + OutputState: i.ToReservationTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources. type ReservationTypeOutput struct{ *pulumi.OutputState } @@ -39593,6 +45348,12 @@ func (o ReservationTypeOutput) ToReservationTypeOutputWithContext(ctx context.Co return o } +func (o ReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationType] { + return pulumix.Output[ReservationType]{ + OutputState: o.OutputState, + } +} + // Reservation for aggregated resources, providing shape flexibility. func (o ReservationTypeOutput) AggregateReservation() AllocationAggregateReservationPtrOutput { return o.ApplyT(func(v ReservationType) *AllocationAggregateReservation { return v.AggregateReservation }).(AllocationAggregateReservationPtrOutput) @@ -39647,6 +45408,12 @@ func (o ReservationTypeArrayOutput) ToReservationTypeArrayOutputWithContext(ctx return o } +func (o ReservationTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReservationType] { + return pulumix.Output[[]ReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationTypeArrayOutput) Index(i pulumi.IntInput) ReservationTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReservationType { return vs[0].([]ReservationType)[vs[1].(int)] @@ -39696,6 +45463,12 @@ func (i ReservationAffinityArgs) ToReservationAffinityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityOutput) } +func (i ReservationAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: i.ToReservationAffinityOutputWithContext(ctx).OutputState, + } +} + func (i ReservationAffinityArgs) ToReservationAffinityPtrOutput() ReservationAffinityPtrOutput { return i.ToReservationAffinityPtrOutputWithContext(context.Background()) } @@ -39737,6 +45510,12 @@ func (i *reservationAffinityPtrType) ToReservationAffinityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityPtrOutput) } +func (i *reservationAffinityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: i.ToReservationAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the reservations that this instance can consume from. type ReservationAffinityOutput struct{ *pulumi.OutputState } @@ -39762,6 +45541,12 @@ func (o ReservationAffinityOutput) ToReservationAffinityPtrOutputWithContext(ctx }).(ReservationAffinityPtrOutput) } +func (o ReservationAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: o.OutputState, + } +} + // Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. func (o ReservationAffinityOutput) ConsumeReservationType() ReservationAffinityConsumeReservationTypePtrOutput { return o.ApplyT(func(v ReservationAffinity) *ReservationAffinityConsumeReservationType { @@ -39793,6 +45578,12 @@ func (o ReservationAffinityPtrOutput) ToReservationAffinityPtrOutputWithContext( return o } +func (o ReservationAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityPtrOutput) Elem() ReservationAffinityOutput { return o.ApplyT(func(v *ReservationAffinity) ReservationAffinity { if v != nil { @@ -39858,6 +45649,12 @@ func (o ReservationAffinityResponseOutput) ToReservationAffinityResponseOutputWi return o } +func (o ReservationAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityResponse] { + return pulumix.Output[ReservationAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. func (o ReservationAffinityResponseOutput) ConsumeReservationType() pulumi.StringOutput { return o.ApplyT(func(v ReservationAffinityResponse) string { return v.ConsumeReservationType }).(pulumi.StringOutput) @@ -39924,6 +45721,12 @@ func (o ReservationResponseOutput) ToReservationResponseOutputWithContext(ctx co return o } +func (o ReservationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationResponse] { + return pulumix.Output[ReservationResponse]{ + OutputState: o.OutputState, + } +} + // Reservation for aggregated resources, providing shape flexibility. func (o ReservationResponseOutput) AggregateReservation() AllocationAggregateReservationResponseOutput { return o.ApplyT(func(v ReservationResponse) AllocationAggregateReservationResponse { return v.AggregateReservation }).(AllocationAggregateReservationResponseOutput) @@ -40018,6 +45821,12 @@ func (o ReservationResponseArrayOutput) ToReservationResponseArrayOutputWithCont return o } +func (o ReservationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReservationResponse] { + return pulumix.Output[[]ReservationResponse]{ + OutputState: o.OutputState, + } +} + func (o ReservationResponseArrayOutput) Index(i pulumi.IntInput) ReservationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReservationResponse { return vs[0].([]ReservationResponse)[vs[1].(int)] @@ -40067,6 +45876,12 @@ func (i ResourceCommitmentArgs) ToResourceCommitmentOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ResourceCommitmentOutput) } +func (i ResourceCommitmentArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitment] { + return pulumix.Output[ResourceCommitment]{ + OutputState: i.ToResourceCommitmentOutputWithContext(ctx).OutputState, + } +} + // ResourceCommitmentArrayInput is an input type that accepts ResourceCommitmentArray and ResourceCommitmentArrayOutput values. // You can construct a concrete instance of `ResourceCommitmentArrayInput` via: // @@ -40092,6 +45907,12 @@ func (i ResourceCommitmentArray) ToResourceCommitmentArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourceCommitmentArrayOutput) } +func (i ResourceCommitmentArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourceCommitment] { + return pulumix.Output[[]ResourceCommitment]{ + OutputState: i.ToResourceCommitmentArrayOutputWithContext(ctx).OutputState, + } +} + // Commitment for a particular resource (a Commitment is composed of one or more of these). type ResourceCommitmentOutput struct{ *pulumi.OutputState } @@ -40107,6 +45928,12 @@ func (o ResourceCommitmentOutput) ToResourceCommitmentOutputWithContext(ctx cont return o } +func (o ResourceCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitment] { + return pulumix.Output[ResourceCommitment]{ + OutputState: o.OutputState, + } +} + // Name of the accelerator type resource. Applicable only when the type is ACCELERATOR. func (o ResourceCommitmentOutput) AcceleratorType() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceCommitment) *string { return v.AcceleratorType }).(pulumi.StringPtrOutput) @@ -40136,6 +45963,12 @@ func (o ResourceCommitmentArrayOutput) ToResourceCommitmentArrayOutputWithContex return o } +func (o ResourceCommitmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceCommitment] { + return pulumix.Output[[]ResourceCommitment]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentArrayOutput) Index(i pulumi.IntInput) ResourceCommitmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceCommitment { return vs[0].([]ResourceCommitment)[vs[1].(int)] @@ -40167,6 +46000,12 @@ func (o ResourceCommitmentResponseOutput) ToResourceCommitmentResponseOutputWith return o } +func (o ResourceCommitmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitmentResponse] { + return pulumix.Output[ResourceCommitmentResponse]{ + OutputState: o.OutputState, + } +} + // Name of the accelerator type resource. Applicable only when the type is ACCELERATOR. func (o ResourceCommitmentResponseOutput) AcceleratorType() pulumi.StringOutput { return o.ApplyT(func(v ResourceCommitmentResponse) string { return v.AcceleratorType }).(pulumi.StringOutput) @@ -40196,6 +46035,12 @@ func (o ResourceCommitmentResponseArrayOutput) ToResourceCommitmentResponseArray return o } +func (o ResourceCommitmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceCommitmentResponse] { + return pulumix.Output[[]ResourceCommitmentResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentResponseArrayOutput) Index(i pulumi.IntInput) ResourceCommitmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceCommitmentResponse { return vs[0].([]ResourceCommitmentResponse)[vs[1].(int)] @@ -40241,6 +46086,12 @@ func (i ResourcePolicyDailyCycleArgs) ToResourcePolicyDailyCycleOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyDailyCycleOutput) } +func (i ResourcePolicyDailyCycleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDailyCycle] { + return pulumix.Output[ResourcePolicyDailyCycle]{ + OutputState: i.ToResourcePolicyDailyCycleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyDailyCycleArgs) ToResourcePolicyDailyCyclePtrOutput() ResourcePolicyDailyCyclePtrOutput { return i.ToResourcePolicyDailyCyclePtrOutputWithContext(context.Background()) } @@ -40282,6 +46133,12 @@ func (i *resourcePolicyDailyCyclePtrType) ToResourcePolicyDailyCyclePtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyDailyCyclePtrOutput) } +func (i *resourcePolicyDailyCyclePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyDailyCycle] { + return pulumix.Output[*ResourcePolicyDailyCycle]{ + OutputState: i.ToResourcePolicyDailyCyclePtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for daily operations. type ResourcePolicyDailyCycleOutput struct{ *pulumi.OutputState } @@ -40307,6 +46164,12 @@ func (o ResourcePolicyDailyCycleOutput) ToResourcePolicyDailyCyclePtrOutputWithC }).(ResourcePolicyDailyCyclePtrOutput) } +func (o ResourcePolicyDailyCycleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDailyCycle] { + return pulumix.Output[ResourcePolicyDailyCycle]{ + OutputState: o.OutputState, + } +} + // Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. func (o ResourcePolicyDailyCycleOutput) DaysInCycle() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicyDailyCycle) *int { return v.DaysInCycle }).(pulumi.IntPtrOutput) @@ -40331,6 +46194,12 @@ func (o ResourcePolicyDailyCyclePtrOutput) ToResourcePolicyDailyCyclePtrOutputWi return o } +func (o ResourcePolicyDailyCyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyDailyCycle] { + return pulumix.Output[*ResourcePolicyDailyCycle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyDailyCyclePtrOutput) Elem() ResourcePolicyDailyCycleOutput { return o.ApplyT(func(v *ResourcePolicyDailyCycle) ResourcePolicyDailyCycle { if v != nil { @@ -40386,6 +46255,12 @@ func (o ResourcePolicyDailyCycleResponseOutput) ToResourcePolicyDailyCycleRespon return o } +func (o ResourcePolicyDailyCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDailyCycleResponse] { + return pulumix.Output[ResourcePolicyDailyCycleResponse]{ + OutputState: o.OutputState, + } +} + // Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. func (o ResourcePolicyDailyCycleResponseOutput) DaysInCycle() pulumi.IntOutput { return o.ApplyT(func(v ResourcePolicyDailyCycleResponse) int { return v.DaysInCycle }).(pulumi.IntOutput) @@ -40432,6 +46307,12 @@ func (i ResourcePolicyDiskConsistencyGroupPolicyArgs) ToResourcePolicyDiskConsis return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyDiskConsistencyGroupPolicyOutput) } +func (i ResourcePolicyDiskConsistencyGroupPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicy] { + return pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicy]{ + OutputState: i.ToResourcePolicyDiskConsistencyGroupPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyDiskConsistencyGroupPolicyArgs) ToResourcePolicyDiskConsistencyGroupPolicyPtrOutput() ResourcePolicyDiskConsistencyGroupPolicyPtrOutput { return i.ToResourcePolicyDiskConsistencyGroupPolicyPtrOutputWithContext(context.Background()) } @@ -40473,6 +46354,12 @@ func (i *resourcePolicyDiskConsistencyGroupPolicyPtrType) ToResourcePolicyDiskCo return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) } +func (i *resourcePolicyDiskConsistencyGroupPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyDiskConsistencyGroupPolicy] { + return pulumix.Output[*ResourcePolicyDiskConsistencyGroupPolicy]{ + OutputState: i.ToResourcePolicyDiskConsistencyGroupPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Resource policy for disk consistency groups. type ResourcePolicyDiskConsistencyGroupPolicyOutput struct{ *pulumi.OutputState } @@ -40498,6 +46385,12 @@ func (o ResourcePolicyDiskConsistencyGroupPolicyOutput) ToResourcePolicyDiskCons }).(ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) } +func (o ResourcePolicyDiskConsistencyGroupPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicy] { + return pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicy]{ + OutputState: o.OutputState, + } +} + type ResourcePolicyDiskConsistencyGroupPolicyPtrOutput struct{ *pulumi.OutputState } func (ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) ElementType() reflect.Type { @@ -40512,6 +46405,12 @@ func (o ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) ToResourcePolicyDiskC return o } +func (o ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyDiskConsistencyGroupPolicy] { + return pulumix.Output[*ResourcePolicyDiskConsistencyGroupPolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) Elem() ResourcePolicyDiskConsistencyGroupPolicyOutput { return o.ApplyT(func(v *ResourcePolicyDiskConsistencyGroupPolicy) ResourcePolicyDiskConsistencyGroupPolicy { if v != nil { @@ -40541,6 +46440,12 @@ func (o ResourcePolicyDiskConsistencyGroupPolicyResponseOutput) ToResourcePolicy return o } +func (o ResourcePolicyDiskConsistencyGroupPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicyResponse] { + return pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicyResponse]{ + OutputState: o.OutputState, + } +} + // A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality type ResourcePolicyGroupPlacementPolicy struct { // The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. @@ -40604,6 +46509,12 @@ func (i ResourcePolicyGroupPlacementPolicyArgs) ToResourcePolicyGroupPlacementPo return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyGroupPlacementPolicyOutput) } +func (i ResourcePolicyGroupPlacementPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicy]{ + OutputState: i.ToResourcePolicyGroupPlacementPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyGroupPlacementPolicyArgs) ToResourcePolicyGroupPlacementPolicyPtrOutput() ResourcePolicyGroupPlacementPolicyPtrOutput { return i.ToResourcePolicyGroupPlacementPolicyPtrOutputWithContext(context.Background()) } @@ -40645,6 +46556,12 @@ func (i *resourcePolicyGroupPlacementPolicyPtrType) ToResourcePolicyGroupPlaceme return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyGroupPlacementPolicyPtrOutput) } +func (i *resourcePolicyGroupPlacementPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicy]{ + OutputState: i.ToResourcePolicyGroupPlacementPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality type ResourcePolicyGroupPlacementPolicyOutput struct{ *pulumi.OutputState } @@ -40670,6 +46587,12 @@ func (o ResourcePolicyGroupPlacementPolicyOutput) ToResourcePolicyGroupPlacement }).(ResourcePolicyGroupPlacementPolicyPtrOutput) } +func (o ResourcePolicyGroupPlacementPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicy]{ + OutputState: o.OutputState, + } +} + // The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. func (o ResourcePolicyGroupPlacementPolicyOutput) AvailabilityDomainCount() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicyGroupPlacementPolicy) *int { return v.AvailabilityDomainCount }).(pulumi.IntPtrOutput) @@ -40728,6 +46651,12 @@ func (o ResourcePolicyGroupPlacementPolicyPtrOutput) ToResourcePolicyGroupPlacem return o } +func (o ResourcePolicyGroupPlacementPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyPtrOutput) Elem() ResourcePolicyGroupPlacementPolicyOutput { return o.ApplyT(func(v *ResourcePolicyGroupPlacementPolicy) ResourcePolicyGroupPlacementPolicy { if v != nil { @@ -40853,6 +46782,12 @@ func (o ResourcePolicyGroupPlacementPolicyResponseOutput) ToResourcePolicyGroupP return o } +func (o ResourcePolicyGroupPlacementPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicyResponse] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. func (o ResourcePolicyGroupPlacementPolicyResponseOutput) AvailabilityDomainCount() pulumi.IntOutput { return o.ApplyT(func(v ResourcePolicyGroupPlacementPolicyResponse) int { return v.AvailabilityDomainCount }).(pulumi.IntOutput) @@ -40932,6 +46867,12 @@ func (i ResourcePolicyHourlyCycleArgs) ToResourcePolicyHourlyCycleOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyHourlyCycleOutput) } +func (i ResourcePolicyHourlyCycleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyHourlyCycle] { + return pulumix.Output[ResourcePolicyHourlyCycle]{ + OutputState: i.ToResourcePolicyHourlyCycleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyHourlyCycleArgs) ToResourcePolicyHourlyCyclePtrOutput() ResourcePolicyHourlyCyclePtrOutput { return i.ToResourcePolicyHourlyCyclePtrOutputWithContext(context.Background()) } @@ -40973,6 +46914,12 @@ func (i *resourcePolicyHourlyCyclePtrType) ToResourcePolicyHourlyCyclePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyHourlyCyclePtrOutput) } +func (i *resourcePolicyHourlyCyclePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyHourlyCycle] { + return pulumix.Output[*ResourcePolicyHourlyCycle]{ + OutputState: i.ToResourcePolicyHourlyCyclePtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for hourly operations. type ResourcePolicyHourlyCycleOutput struct{ *pulumi.OutputState } @@ -40998,6 +46945,12 @@ func (o ResourcePolicyHourlyCycleOutput) ToResourcePolicyHourlyCyclePtrOutputWit }).(ResourcePolicyHourlyCyclePtrOutput) } +func (o ResourcePolicyHourlyCycleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyHourlyCycle] { + return pulumix.Output[ResourcePolicyHourlyCycle]{ + OutputState: o.OutputState, + } +} + // Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle. func (o ResourcePolicyHourlyCycleOutput) HoursInCycle() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicyHourlyCycle) *int { return v.HoursInCycle }).(pulumi.IntPtrOutput) @@ -41022,6 +46975,12 @@ func (o ResourcePolicyHourlyCyclePtrOutput) ToResourcePolicyHourlyCyclePtrOutput return o } +func (o ResourcePolicyHourlyCyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyHourlyCycle] { + return pulumix.Output[*ResourcePolicyHourlyCycle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyHourlyCyclePtrOutput) Elem() ResourcePolicyHourlyCycleOutput { return o.ApplyT(func(v *ResourcePolicyHourlyCycle) ResourcePolicyHourlyCycle { if v != nil { @@ -41077,6 +47036,12 @@ func (o ResourcePolicyHourlyCycleResponseOutput) ToResourcePolicyHourlyCycleResp return o } +func (o ResourcePolicyHourlyCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyHourlyCycleResponse] { + return pulumix.Output[ResourcePolicyHourlyCycleResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. func (o ResourcePolicyHourlyCycleResponseOutput) Duration() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyHourlyCycleResponse) string { return v.Duration }).(pulumi.StringOutput) @@ -41143,6 +47108,12 @@ func (i ResourcePolicyInstanceSchedulePolicyArgs) ToResourcePolicyInstanceSchedu return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicyOutput) } +func (i ResourcePolicyInstanceSchedulePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicy]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyInstanceSchedulePolicyArgs) ToResourcePolicyInstanceSchedulePolicyPtrOutput() ResourcePolicyInstanceSchedulePolicyPtrOutput { return i.ToResourcePolicyInstanceSchedulePolicyPtrOutputWithContext(context.Background()) } @@ -41184,6 +47155,12 @@ func (i *resourcePolicyInstanceSchedulePolicyPtrType) ToResourcePolicyInstanceSc return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicyPtrOutput) } +func (i *resourcePolicyInstanceSchedulePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicy]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance. type ResourcePolicyInstanceSchedulePolicyOutput struct{ *pulumi.OutputState } @@ -41209,6 +47186,12 @@ func (o ResourcePolicyInstanceSchedulePolicyOutput) ToResourcePolicyInstanceSche }).(ResourcePolicyInstanceSchedulePolicyPtrOutput) } +func (o ResourcePolicyInstanceSchedulePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicy]{ + OutputState: o.OutputState, + } +} + // The expiration time of the schedule. The timestamp is an RFC3339 string. func (o ResourcePolicyInstanceSchedulePolicyOutput) ExpirationTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicy) *string { return v.ExpirationTime }).(pulumi.StringPtrOutput) @@ -41252,6 +47235,12 @@ func (o ResourcePolicyInstanceSchedulePolicyPtrOutput) ToResourcePolicyInstanceS return o } +func (o ResourcePolicyInstanceSchedulePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyInstanceSchedulePolicyPtrOutput) Elem() ResourcePolicyInstanceSchedulePolicyOutput { return o.ApplyT(func(v *ResourcePolicyInstanceSchedulePolicy) ResourcePolicyInstanceSchedulePolicy { if v != nil { @@ -41341,6 +47330,12 @@ func (o ResourcePolicyInstanceSchedulePolicyResponseOutput) ToResourcePolicyInst return o } +func (o ResourcePolicyInstanceSchedulePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicyResponse] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The expiration time of the schedule. The timestamp is an RFC3339 string. func (o ResourcePolicyInstanceSchedulePolicyResponseOutput) ExpirationTime() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicyResponse) string { return v.ExpirationTime }).(pulumi.StringOutput) @@ -41405,6 +47400,12 @@ func (i ResourcePolicyInstanceSchedulePolicyScheduleArgs) ToResourcePolicyInstan return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicyScheduleOutput) } +func (i ResourcePolicyInstanceSchedulePolicyScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicyScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyInstanceSchedulePolicyScheduleArgs) ToResourcePolicyInstanceSchedulePolicySchedulePtrOutput() ResourcePolicyInstanceSchedulePolicySchedulePtrOutput { return i.ToResourcePolicyInstanceSchedulePolicySchedulePtrOutputWithContext(context.Background()) } @@ -41446,6 +47447,12 @@ func (i *resourcePolicyInstanceSchedulePolicySchedulePtrType) ToResourcePolicyIn return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) } +func (i *resourcePolicyInstanceSchedulePolicySchedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicySchedulePtrOutputWithContext(ctx).OutputState, + } +} + // Schedule for an instance operation. type ResourcePolicyInstanceSchedulePolicyScheduleOutput struct{ *pulumi.OutputState } @@ -41471,6 +47478,12 @@ func (o ResourcePolicyInstanceSchedulePolicyScheduleOutput) ToResourcePolicyInst }).(ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) } +func (o ResourcePolicyInstanceSchedulePolicyScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + // Specifies the frequency for the operation, using the unix-cron format. func (o ResourcePolicyInstanceSchedulePolicyScheduleOutput) Schedule() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicySchedule) *string { return v.Schedule }).(pulumi.StringPtrOutput) @@ -41490,6 +47503,12 @@ func (o ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) ToResourcePolicyI return o } +func (o ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) Elem() ResourcePolicyInstanceSchedulePolicyScheduleOutput { return o.ApplyT(func(v *ResourcePolicyInstanceSchedulePolicySchedule) ResourcePolicyInstanceSchedulePolicySchedule { if v != nil { @@ -41531,6 +47550,12 @@ func (o ResourcePolicyInstanceSchedulePolicyScheduleResponseOutput) ToResourcePo return o } +func (o ResourcePolicyInstanceSchedulePolicyScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicyScheduleResponse] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicyScheduleResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the frequency for the operation, using the unix-cron format. func (o ResourcePolicyInstanceSchedulePolicyScheduleResponseOutput) Schedule() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicyScheduleResponse) string { return v.Schedule }).(pulumi.StringOutput) @@ -41557,6 +47582,12 @@ func (o ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput) return o } +func (o ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse] { + return pulumix.Output[ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse]{ + OutputState: o.OutputState, + } +} + // The last time the schedule successfully ran. The timestamp is an RFC3339 string. func (o ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput) LastRunStartTime() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse) string { @@ -41592,6 +47623,12 @@ func (o ResourcePolicyResourceStatusResponseOutput) ToResourcePolicyResourceStat return o } +func (o ResourcePolicyResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyResourceStatusResponse] { + return pulumix.Output[ResourcePolicyResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field. func (o ResourcePolicyResourceStatusResponseOutput) InstanceSchedulePolicy() ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput { return o.ApplyT(func(v ResourcePolicyResourceStatusResponse) ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse { @@ -41642,6 +47679,12 @@ func (i ResourcePolicySnapshotSchedulePolicyArgs) ToResourcePolicySnapshotSchedu return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyOutput) } +func (i ResourcePolicySnapshotSchedulePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicyArgs) ToResourcePolicySnapshotSchedulePolicyPtrOutput() ResourcePolicySnapshotSchedulePolicyPtrOutput { return i.ToResourcePolicySnapshotSchedulePolicyPtrOutputWithContext(context.Background()) } @@ -41683,6 +47726,12 @@ func (i *resourcePolicySnapshotSchedulePolicyPtrType) ToResourcePolicySnapshotSc return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyPtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained. type ResourcePolicySnapshotSchedulePolicyOutput struct{ *pulumi.OutputState } @@ -41708,6 +47757,12 @@ func (o ResourcePolicySnapshotSchedulePolicyOutput) ToResourcePolicySnapshotSche }).(ResourcePolicySnapshotSchedulePolicyPtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicy]{ + OutputState: o.OutputState, + } +} + // Retention policy applied to snapshots created by this resource policy. func (o ResourcePolicySnapshotSchedulePolicyOutput) RetentionPolicy() ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicy) *ResourcePolicySnapshotSchedulePolicyRetentionPolicy { @@ -41743,6 +47798,12 @@ func (o ResourcePolicySnapshotSchedulePolicyPtrOutput) ToResourcePolicySnapshotS return o } +func (o ResourcePolicySnapshotSchedulePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyPtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicy) ResourcePolicySnapshotSchedulePolicy { if v != nil { @@ -41808,6 +47869,12 @@ func (o ResourcePolicySnapshotSchedulePolicyResponseOutput) ToResourcePolicySnap return o } +func (o ResourcePolicySnapshotSchedulePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Retention policy applied to snapshots created by this resource policy. func (o ResourcePolicySnapshotSchedulePolicyResponseOutput) RetentionPolicy() ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyResponse) ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse { @@ -41870,6 +47937,12 @@ func (i ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs) ToResourcePolic return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) } +func (i ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs) ToResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput() ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput { return i.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutputWithContext(context.Background()) } @@ -41911,6 +47984,12 @@ func (i *resourcePolicySnapshotSchedulePolicyRetentionPolicyPtrType) ToResourceP return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicyRetentionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Policy for retention of scheduled snapshots. type ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput struct{ *pulumi.OutputState } @@ -41936,6 +48015,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) ToResourcePol }).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: o.OutputState, + } +} + // Maximum age of the snapshot that is allowed to be kept. func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) MaxRetentionDays() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyRetentionPolicy) *int { return v.MaxRetentionDays }).(pulumi.IntPtrOutput) @@ -41968,6 +48053,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) ToResource return o } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicyRetentionPolicy) ResourcePolicySnapshotSchedulePolicyRetentionPolicy { if v != nil { @@ -42031,6 +48122,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput) ToRes return o } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Maximum age of the snapshot that is allowed to be kept. func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput) MaxRetentionDays() pulumi.IntOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse) int { return v.MaxRetentionDays }).(pulumi.IntOutput) @@ -42084,6 +48181,12 @@ func (i ResourcePolicySnapshotSchedulePolicyScheduleArgs) ToResourcePolicySnapsh return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyScheduleOutput) } +func (i ResourcePolicySnapshotSchedulePolicyScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicyScheduleArgs) ToResourcePolicySnapshotSchedulePolicySchedulePtrOutput() ResourcePolicySnapshotSchedulePolicySchedulePtrOutput { return i.ToResourcePolicySnapshotSchedulePolicySchedulePtrOutputWithContext(context.Background()) } @@ -42125,6 +48228,12 @@ func (i *resourcePolicySnapshotSchedulePolicySchedulePtrType) ToResourcePolicySn return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicySchedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicySchedulePtrOutputWithContext(ctx).OutputState, + } +} + // A schedule for disks where the schedueled operations are performed. type ResourcePolicySnapshotSchedulePolicyScheduleOutput struct{ *pulumi.OutputState } @@ -42150,6 +48259,12 @@ func (o ResourcePolicySnapshotSchedulePolicyScheduleOutput) ToResourcePolicySnap }).(ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyScheduleOutput) DailySchedule() ResourcePolicyDailyCyclePtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicySchedule) *ResourcePolicyDailyCycle { return v.DailySchedule }).(ResourcePolicyDailyCyclePtrOutput) } @@ -42180,6 +48295,12 @@ func (o ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) ToResourcePolicyS return o } +func (o ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyScheduleOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicySchedule) ResourcePolicySnapshotSchedulePolicySchedule { if v != nil { @@ -42239,6 +48360,12 @@ func (o ResourcePolicySnapshotSchedulePolicyScheduleResponseOutput) ToResourcePo return o } +func (o ResourcePolicySnapshotSchedulePolicyScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyScheduleResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyScheduleResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyScheduleResponseOutput) DailySchedule() ResourcePolicyDailyCycleResponseOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyScheduleResponse) ResourcePolicyDailyCycleResponse { return v.DailySchedule @@ -42304,6 +48431,12 @@ func (i ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs) ToResourcePo return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) } +func (i ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs) ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput() ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput { return i.ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutputWithContext(context.Background()) } @@ -42345,6 +48478,12 @@ func (i *resourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrType) ToResour return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutputWithContext(ctx).OutputState, + } +} + // Specified snapshot properties for scheduled snapshots created by this policy. type ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput struct{ *pulumi.OutputState } @@ -42370,6 +48509,12 @@ func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) ToResource }).(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: o.OutputState, + } +} + // Chain name that the snapshot is created in. func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) ChainName() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicySnapshotProperties) *string { return v.ChainName }).(pulumi.StringPtrOutput) @@ -42404,6 +48549,12 @@ func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) ToResou return o } +func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) Elem() ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicySnapshotProperties) ResourcePolicySnapshotSchedulePolicySnapshotProperties { if v != nil { @@ -42481,6 +48632,12 @@ func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseOutput) To return o } +func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Chain name that the snapshot is created in. func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseOutput) ChainName() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse) string { return v.ChainName }).(pulumi.StringOutput) @@ -42540,6 +48697,12 @@ func (i ResourcePolicyVmMaintenancePolicyArgs) ToResourcePolicyVmMaintenancePoli return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyVmMaintenancePolicyOutput) } +func (i ResourcePolicyVmMaintenancePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyVmMaintenancePolicy] { + return pulumix.Output[ResourcePolicyVmMaintenancePolicy]{ + OutputState: i.ToResourcePolicyVmMaintenancePolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyVmMaintenancePolicyArgs) ToResourcePolicyVmMaintenancePolicyPtrOutput() ResourcePolicyVmMaintenancePolicyPtrOutput { return i.ToResourcePolicyVmMaintenancePolicyPtrOutputWithContext(context.Background()) } @@ -42581,6 +48744,12 @@ func (i *resourcePolicyVmMaintenancePolicyPtrType) ToResourcePolicyVmMaintenance return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyVmMaintenancePolicyPtrOutput) } +func (i *resourcePolicyVmMaintenancePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyVmMaintenancePolicy] { + return pulumix.Output[*ResourcePolicyVmMaintenancePolicy]{ + OutputState: i.ToResourcePolicyVmMaintenancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyVmMaintenancePolicyOutput struct{ *pulumi.OutputState } func (ResourcePolicyVmMaintenancePolicyOutput) ElementType() reflect.Type { @@ -42605,6 +48774,12 @@ func (o ResourcePolicyVmMaintenancePolicyOutput) ToResourcePolicyVmMaintenancePo }).(ResourcePolicyVmMaintenancePolicyPtrOutput) } +func (o ResourcePolicyVmMaintenancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyVmMaintenancePolicy] { + return pulumix.Output[ResourcePolicyVmMaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyVmMaintenancePolicyOutput) ConcurrencyControlGroup() ResourcePolicyVmMaintenancePolicyConcurrencyControlPtrOutput { return o.ApplyT(func(v ResourcePolicyVmMaintenancePolicy) *ResourcePolicyVmMaintenancePolicyConcurrencyControl { return v.ConcurrencyControlGroup @@ -42632,6 +48807,12 @@ func (o ResourcePolicyVmMaintenancePolicyPtrOutput) ToResourcePolicyVmMaintenanc return o } +func (o ResourcePolicyVmMaintenancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyVmMaintenancePolicy] { + return pulumix.Output[*ResourcePolicyVmMaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyVmMaintenancePolicyPtrOutput) Elem() ResourcePolicyVmMaintenancePolicyOutput { return o.ApplyT(func(v *ResourcePolicyVmMaintenancePolicy) ResourcePolicyVmMaintenancePolicy { if v != nil { @@ -42694,6 +48875,12 @@ func (i ResourcePolicyVmMaintenancePolicyConcurrencyControlArgs) ToResourcePolic return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyVmMaintenancePolicyConcurrencyControlOutput) } +func (i ResourcePolicyVmMaintenancePolicyConcurrencyControlArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyVmMaintenancePolicyConcurrencyControl] { + return pulumix.Output[ResourcePolicyVmMaintenancePolicyConcurrencyControl]{ + OutputState: i.ToResourcePolicyVmMaintenancePolicyConcurrencyControlOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyVmMaintenancePolicyConcurrencyControlArgs) ToResourcePolicyVmMaintenancePolicyConcurrencyControlPtrOutput() ResourcePolicyVmMaintenancePolicyConcurrencyControlPtrOutput { return i.ToResourcePolicyVmMaintenancePolicyConcurrencyControlPtrOutputWithContext(context.Background()) } @@ -42735,6 +48922,12 @@ func (i *resourcePolicyVmMaintenancePolicyConcurrencyControlPtrType) ToResourceP return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyVmMaintenancePolicyConcurrencyControlPtrOutput) } +func (i *resourcePolicyVmMaintenancePolicyConcurrencyControlPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyVmMaintenancePolicyConcurrencyControl] { + return pulumix.Output[*ResourcePolicyVmMaintenancePolicyConcurrencyControl]{ + OutputState: i.ToResourcePolicyVmMaintenancePolicyConcurrencyControlPtrOutputWithContext(ctx).OutputState, + } +} + // A concurrency control configuration. Defines a group config that, when attached to an instance, recognizes that instance as part of a group of instances where only up the concurrency_limit of instances in that group can undergo simultaneous maintenance. For more information: go/concurrency-control-design-doc type ResourcePolicyVmMaintenancePolicyConcurrencyControlOutput struct{ *pulumi.OutputState } @@ -42760,6 +48953,12 @@ func (o ResourcePolicyVmMaintenancePolicyConcurrencyControlOutput) ToResourcePol }).(ResourcePolicyVmMaintenancePolicyConcurrencyControlPtrOutput) } +func (o ResourcePolicyVmMaintenancePolicyConcurrencyControlOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyVmMaintenancePolicyConcurrencyControl] { + return pulumix.Output[ResourcePolicyVmMaintenancePolicyConcurrencyControl]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyVmMaintenancePolicyConcurrencyControlOutput) ConcurrencyLimit() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicyVmMaintenancePolicyConcurrencyControl) *int { return v.ConcurrencyLimit }).(pulumi.IntPtrOutput) } @@ -42778,6 +48977,12 @@ func (o ResourcePolicyVmMaintenancePolicyConcurrencyControlPtrOutput) ToResource return o } +func (o ResourcePolicyVmMaintenancePolicyConcurrencyControlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyVmMaintenancePolicyConcurrencyControl] { + return pulumix.Output[*ResourcePolicyVmMaintenancePolicyConcurrencyControl]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyVmMaintenancePolicyConcurrencyControlPtrOutput) Elem() ResourcePolicyVmMaintenancePolicyConcurrencyControlOutput { return o.ApplyT(func(v *ResourcePolicyVmMaintenancePolicyConcurrencyControl) ResourcePolicyVmMaintenancePolicyConcurrencyControl { if v != nil { @@ -42817,6 +49022,12 @@ func (o ResourcePolicyVmMaintenancePolicyConcurrencyControlResponseOutput) ToRes return o } +func (o ResourcePolicyVmMaintenancePolicyConcurrencyControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse] { + return pulumix.Output[ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyVmMaintenancePolicyConcurrencyControlResponseOutput) ConcurrencyLimit() pulumi.IntOutput { return o.ApplyT(func(v ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse) int { return v.ConcurrencyLimit }).(pulumi.IntOutput) } @@ -42854,6 +49065,12 @@ func (i ResourcePolicyVmMaintenancePolicyMaintenanceWindowArgs) ToResourcePolicy return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyVmMaintenancePolicyMaintenanceWindowOutput) } +func (i ResourcePolicyVmMaintenancePolicyMaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyVmMaintenancePolicyMaintenanceWindow] { + return pulumix.Output[ResourcePolicyVmMaintenancePolicyMaintenanceWindow]{ + OutputState: i.ToResourcePolicyVmMaintenancePolicyMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyVmMaintenancePolicyMaintenanceWindowArgs) ToResourcePolicyVmMaintenancePolicyMaintenanceWindowPtrOutput() ResourcePolicyVmMaintenancePolicyMaintenanceWindowPtrOutput { return i.ToResourcePolicyVmMaintenancePolicyMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -42895,6 +49112,12 @@ func (i *resourcePolicyVmMaintenancePolicyMaintenanceWindowPtrType) ToResourcePo return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyVmMaintenancePolicyMaintenanceWindowPtrOutput) } +func (i *resourcePolicyVmMaintenancePolicyMaintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyVmMaintenancePolicyMaintenanceWindow] { + return pulumix.Output[*ResourcePolicyVmMaintenancePolicyMaintenanceWindow]{ + OutputState: i.ToResourcePolicyVmMaintenancePolicyMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // A maintenance window for VMs. When set, we restrict our maintenance operations to this window. type ResourcePolicyVmMaintenancePolicyMaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -42920,6 +49143,12 @@ func (o ResourcePolicyVmMaintenancePolicyMaintenanceWindowOutput) ToResourcePoli }).(ResourcePolicyVmMaintenancePolicyMaintenanceWindowPtrOutput) } +func (o ResourcePolicyVmMaintenancePolicyMaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyVmMaintenancePolicyMaintenanceWindow] { + return pulumix.Output[ResourcePolicyVmMaintenancePolicyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyVmMaintenancePolicyMaintenanceWindowOutput) DailyMaintenanceWindow() ResourcePolicyDailyCyclePtrOutput { return o.ApplyT(func(v ResourcePolicyVmMaintenancePolicyMaintenanceWindow) *ResourcePolicyDailyCycle { return v.DailyMaintenanceWindow @@ -42940,6 +49169,12 @@ func (o ResourcePolicyVmMaintenancePolicyMaintenanceWindowPtrOutput) ToResourceP return o } +func (o ResourcePolicyVmMaintenancePolicyMaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyVmMaintenancePolicyMaintenanceWindow] { + return pulumix.Output[*ResourcePolicyVmMaintenancePolicyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyVmMaintenancePolicyMaintenanceWindowPtrOutput) Elem() ResourcePolicyVmMaintenancePolicyMaintenanceWindowOutput { return o.ApplyT(func(v *ResourcePolicyVmMaintenancePolicyMaintenanceWindow) ResourcePolicyVmMaintenancePolicyMaintenanceWindow { if v != nil { @@ -42979,6 +49214,12 @@ func (o ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponseOutput) ToReso return o } +func (o ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponse] { + return pulumix.Output[ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponseOutput) DailyMaintenanceWindow() ResourcePolicyDailyCycleResponseOutput { return o.ApplyT(func(v ResourcePolicyVmMaintenancePolicyMaintenanceWindowResponse) ResourcePolicyDailyCycleResponse { return v.DailyMaintenanceWindow @@ -43005,6 +49246,12 @@ func (o ResourcePolicyVmMaintenancePolicyResponseOutput) ToResourcePolicyVmMaint return o } +func (o ResourcePolicyVmMaintenancePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyVmMaintenancePolicyResponse] { + return pulumix.Output[ResourcePolicyVmMaintenancePolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyVmMaintenancePolicyResponseOutput) ConcurrencyControlGroup() ResourcePolicyVmMaintenancePolicyConcurrencyControlResponseOutput { return o.ApplyT(func(v ResourcePolicyVmMaintenancePolicyResponse) ResourcePolicyVmMaintenancePolicyConcurrencyControlResponse { return v.ConcurrencyControlGroup @@ -43053,6 +49300,12 @@ func (i ResourcePolicyWeeklyCycleArgs) ToResourcePolicyWeeklyCycleOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCycleOutput) } +func (i ResourcePolicyWeeklyCycleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycle] { + return pulumix.Output[ResourcePolicyWeeklyCycle]{ + OutputState: i.ToResourcePolicyWeeklyCycleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyWeeklyCycleArgs) ToResourcePolicyWeeklyCyclePtrOutput() ResourcePolicyWeeklyCyclePtrOutput { return i.ToResourcePolicyWeeklyCyclePtrOutputWithContext(context.Background()) } @@ -43094,6 +49347,12 @@ func (i *resourcePolicyWeeklyCyclePtrType) ToResourcePolicyWeeklyCyclePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCyclePtrOutput) } +func (i *resourcePolicyWeeklyCyclePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycle] { + return pulumix.Output[*ResourcePolicyWeeklyCycle]{ + OutputState: i.ToResourcePolicyWeeklyCyclePtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for weekly operations. type ResourcePolicyWeeklyCycleOutput struct{ *pulumi.OutputState } @@ -43119,6 +49378,12 @@ func (o ResourcePolicyWeeklyCycleOutput) ToResourcePolicyWeeklyCyclePtrOutputWit }).(ResourcePolicyWeeklyCyclePtrOutput) } +func (o ResourcePolicyWeeklyCycleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycle] { + return pulumix.Output[ResourcePolicyWeeklyCycle]{ + OutputState: o.OutputState, + } +} + // Up to 7 intervals/windows, one for each day of the week. func (o ResourcePolicyWeeklyCycleOutput) DayOfWeeks() ResourcePolicyWeeklyCycleDayOfWeekArrayOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycle) []ResourcePolicyWeeklyCycleDayOfWeek { return v.DayOfWeeks }).(ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) @@ -43138,6 +49403,12 @@ func (o ResourcePolicyWeeklyCyclePtrOutput) ToResourcePolicyWeeklyCyclePtrOutput return o } +func (o ResourcePolicyWeeklyCyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycle] { + return pulumix.Output[*ResourcePolicyWeeklyCycle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCyclePtrOutput) Elem() ResourcePolicyWeeklyCycleOutput { return o.ApplyT(func(v *ResourcePolicyWeeklyCycle) ResourcePolicyWeeklyCycle { if v != nil { @@ -43195,6 +49466,12 @@ func (i ResourcePolicyWeeklyCycleDayOfWeekArgs) ToResourcePolicyWeeklyCycleDayOf return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCycleDayOfWeekOutput) } +func (i ResourcePolicyWeeklyCycleDayOfWeekArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: i.ToResourcePolicyWeeklyCycleDayOfWeekOutputWithContext(ctx).OutputState, + } +} + // ResourcePolicyWeeklyCycleDayOfWeekArrayInput is an input type that accepts ResourcePolicyWeeklyCycleDayOfWeekArray and ResourcePolicyWeeklyCycleDayOfWeekArrayOutput values. // You can construct a concrete instance of `ResourcePolicyWeeklyCycleDayOfWeekArrayInput` via: // @@ -43220,6 +49497,12 @@ func (i ResourcePolicyWeeklyCycleDayOfWeekArray) ToResourcePolicyWeeklyCycleDayO return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) } +func (i ResourcePolicyWeeklyCycleDayOfWeekArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: i.ToResourcePolicyWeeklyCycleDayOfWeekArrayOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyWeeklyCycleDayOfWeekOutput struct{ *pulumi.OutputState } func (ResourcePolicyWeeklyCycleDayOfWeekOutput) ElementType() reflect.Type { @@ -43234,6 +49517,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekOutput) ToResourcePolicyWeeklyCycleDay return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: o.OutputState, + } +} + // Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. func (o ResourcePolicyWeeklyCycleDayOfWeekOutput) Day() ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycleDayOfWeek) *ResourcePolicyWeeklyCycleDayOfWeekDay { return v.Day }).(ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) @@ -43258,6 +49547,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) ToResourcePolicyWeeklyCyc return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) Index(i pulumi.IntInput) ResourcePolicyWeeklyCycleDayOfWeekOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourcePolicyWeeklyCycleDayOfWeek { return vs[0].([]ResourcePolicyWeeklyCycleDayOfWeek)[vs[1].(int)] @@ -43287,6 +49582,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekResponseOutput) ToResourcePolicyWeekly return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekResponse] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekResponse]{ + OutputState: o.OutputState, + } +} + // Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. func (o ResourcePolicyWeeklyCycleDayOfWeekResponseOutput) Day() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycleDayOfWeekResponse) string { return v.Day }).(pulumi.StringOutput) @@ -43316,6 +49617,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput) ToResourcePolicyW return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeekResponse] { + return pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeekResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput) Index(i pulumi.IntInput) ResourcePolicyWeeklyCycleDayOfWeekResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourcePolicyWeeklyCycleDayOfWeekResponse { return vs[0].([]ResourcePolicyWeeklyCycleDayOfWeekResponse)[vs[1].(int)] @@ -43343,6 +49650,12 @@ func (o ResourcePolicyWeeklyCycleResponseOutput) ToResourcePolicyWeeklyCycleResp return o } +func (o ResourcePolicyWeeklyCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleResponse] { + return pulumix.Output[ResourcePolicyWeeklyCycleResponse]{ + OutputState: o.OutputState, + } +} + // Up to 7 intervals/windows, one for each day of the week. func (o ResourcePolicyWeeklyCycleResponseOutput) DayOfWeeks() ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycleResponse) []ResourcePolicyWeeklyCycleDayOfWeekResponse { @@ -43374,6 +49687,12 @@ func (o ResourceStatusResponseOutput) ToResourceStatusResponseOutputWithContext( return o } +func (o ResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceStatusResponse] { + return pulumix.Output[ResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // An opaque ID of the host on which the VM is running. func (o ResourceStatusResponseOutput) PhysicalHost() pulumi.StringOutput { return o.ApplyT(func(v ResourceStatusResponse) string { return v.PhysicalHost }).(pulumi.StringOutput) @@ -43409,6 +49728,12 @@ func (o ResourceStatusSchedulingResponseOutput) ToResourceStatusSchedulingRespon return o } +func (o ResourceStatusSchedulingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceStatusSchedulingResponse] { + return pulumix.Output[ResourceStatusSchedulingResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details. func (o ResourceStatusSchedulingResponseOutput) AvailabilityDomain() pulumi.IntOutput { return o.ApplyT(func(v ResourceStatusSchedulingResponse) int { return v.AvailabilityDomain }).(pulumi.IntOutput) @@ -43458,6 +49783,12 @@ func (i RolloutPolicyArgs) ToRolloutPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RolloutPolicyOutput) } +func (i RolloutPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RolloutPolicy] { + return pulumix.Output[RolloutPolicy]{ + OutputState: i.ToRolloutPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RolloutPolicyArgs) ToRolloutPolicyPtrOutput() RolloutPolicyPtrOutput { return i.ToRolloutPolicyPtrOutputWithContext(context.Background()) } @@ -43499,6 +49830,12 @@ func (i *rolloutPolicyPtrType) ToRolloutPolicyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(RolloutPolicyPtrOutput) } +func (i *rolloutPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RolloutPolicy] { + return pulumix.Output[*RolloutPolicy]{ + OutputState: i.ToRolloutPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A rollout policy configuration. type RolloutPolicyOutput struct{ *pulumi.OutputState } @@ -43524,6 +49861,12 @@ func (o RolloutPolicyOutput) ToRolloutPolicyPtrOutputWithContext(ctx context.Con }).(RolloutPolicyPtrOutput) } +func (o RolloutPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RolloutPolicy] { + return pulumix.Output[RolloutPolicy]{ + OutputState: o.OutputState, + } +} + // An optional RFC3339 timestamp on or after which the update is considered rolled out to any zone that is not explicitly stated. func (o RolloutPolicyOutput) DefaultRolloutTime() pulumi.StringPtrOutput { return o.ApplyT(func(v RolloutPolicy) *string { return v.DefaultRolloutTime }).(pulumi.StringPtrOutput) @@ -43548,6 +49891,12 @@ func (o RolloutPolicyPtrOutput) ToRolloutPolicyPtrOutputWithContext(ctx context. return o } +func (o RolloutPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RolloutPolicy] { + return pulumix.Output[*RolloutPolicy]{ + OutputState: o.OutputState, + } +} + func (o RolloutPolicyPtrOutput) Elem() RolloutPolicyOutput { return o.ApplyT(func(v *RolloutPolicy) RolloutPolicy { if v != nil { @@ -43601,6 +49950,12 @@ func (o RolloutPolicyResponseOutput) ToRolloutPolicyResponseOutputWithContext(ct return o } +func (o RolloutPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RolloutPolicyResponse] { + return pulumix.Output[RolloutPolicyResponse]{ + OutputState: o.OutputState, + } +} + // An optional RFC3339 timestamp on or after which the update is considered rolled out to any zone that is not explicitly stated. func (o RolloutPolicyResponseOutput) DefaultRolloutTime() pulumi.StringOutput { return o.ApplyT(func(v RolloutPolicyResponse) string { return v.DefaultRolloutTime }).(pulumi.StringOutput) @@ -43632,6 +49987,12 @@ func (o RouteAsPathResponseOutput) ToRouteAsPathResponseOutputWithContext(ctx co return o } +func (o RouteAsPathResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteAsPathResponse] { + return pulumix.Output[RouteAsPathResponse]{ + OutputState: o.OutputState, + } +} + // The AS numbers of the AS Path. func (o RouteAsPathResponseOutput) AsLists() pulumi.IntArrayOutput { return o.ApplyT(func(v RouteAsPathResponse) []int { return v.AsLists }).(pulumi.IntArrayOutput) @@ -43656,6 +50017,12 @@ func (o RouteAsPathResponseArrayOutput) ToRouteAsPathResponseArrayOutputWithCont return o } +func (o RouteAsPathResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouteAsPathResponse] { + return pulumix.Output[[]RouteAsPathResponse]{ + OutputState: o.OutputState, + } +} + func (o RouteAsPathResponseArrayOutput) Index(i pulumi.IntInput) RouteAsPathResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteAsPathResponse { return vs[0].([]RouteAsPathResponse)[vs[1].(int)] @@ -43683,6 +50050,12 @@ func (o RouteWarningsItemDataItemResponseOutput) ToRouteWarningsItemDataItemResp return o } +func (o RouteWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteWarningsItemDataItemResponse] { + return pulumix.Output[RouteWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o RouteWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v RouteWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -43707,6 +50080,12 @@ func (o RouteWarningsItemDataItemResponseArrayOutput) ToRouteWarningsItemDataIte return o } +func (o RouteWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouteWarningsItemDataItemResponse] { + return pulumix.Output[[]RouteWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RouteWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) RouteWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteWarningsItemDataItemResponse { return vs[0].([]RouteWarningsItemDataItemResponse)[vs[1].(int)] @@ -43736,6 +50115,12 @@ func (o RouteWarningsItemResponseOutput) ToRouteWarningsItemResponseOutputWithCo return o } +func (o RouteWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteWarningsItemResponse] { + return pulumix.Output[RouteWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o RouteWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v RouteWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -43765,6 +50150,12 @@ func (o RouteWarningsItemResponseArrayOutput) ToRouteWarningsItemResponseArrayOu return o } +func (o RouteWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouteWarningsItemResponse] { + return pulumix.Output[[]RouteWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RouteWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) RouteWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteWarningsItemResponse { return vs[0].([]RouteWarningsItemResponse)[vs[1].(int)] @@ -43810,6 +50201,12 @@ func (i RouterAdvertisedIpRangeArgs) ToRouterAdvertisedIpRangeOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(RouterAdvertisedIpRangeOutput) } +func (i RouterAdvertisedIpRangeArgs) ToOutput(ctx context.Context) pulumix.Output[RouterAdvertisedIpRange] { + return pulumix.Output[RouterAdvertisedIpRange]{ + OutputState: i.ToRouterAdvertisedIpRangeOutputWithContext(ctx).OutputState, + } +} + // RouterAdvertisedIpRangeArrayInput is an input type that accepts RouterAdvertisedIpRangeArray and RouterAdvertisedIpRangeArrayOutput values. // You can construct a concrete instance of `RouterAdvertisedIpRangeArrayInput` via: // @@ -43835,6 +50232,12 @@ func (i RouterAdvertisedIpRangeArray) ToRouterAdvertisedIpRangeArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(RouterAdvertisedIpRangeArrayOutput) } +func (i RouterAdvertisedIpRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterAdvertisedIpRange] { + return pulumix.Output[[]RouterAdvertisedIpRange]{ + OutputState: i.ToRouterAdvertisedIpRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Description-tagged IP ranges for the router to advertise. type RouterAdvertisedIpRangeOutput struct{ *pulumi.OutputState } @@ -43850,6 +50253,12 @@ func (o RouterAdvertisedIpRangeOutput) ToRouterAdvertisedIpRangeOutputWithContex return o } +func (o RouterAdvertisedIpRangeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterAdvertisedIpRange] { + return pulumix.Output[RouterAdvertisedIpRange]{ + OutputState: o.OutputState, + } +} + // User-specified description for the IP range. func (o RouterAdvertisedIpRangeOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterAdvertisedIpRange) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -43874,6 +50283,12 @@ func (o RouterAdvertisedIpRangeArrayOutput) ToRouterAdvertisedIpRangeArrayOutput return o } +func (o RouterAdvertisedIpRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterAdvertisedIpRange] { + return pulumix.Output[[]RouterAdvertisedIpRange]{ + OutputState: o.OutputState, + } +} + func (o RouterAdvertisedIpRangeArrayOutput) Index(i pulumi.IntInput) RouterAdvertisedIpRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterAdvertisedIpRange { return vs[0].([]RouterAdvertisedIpRange)[vs[1].(int)] @@ -43903,6 +50318,12 @@ func (o RouterAdvertisedIpRangeResponseOutput) ToRouterAdvertisedIpRangeResponse return o } +func (o RouterAdvertisedIpRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterAdvertisedIpRangeResponse] { + return pulumix.Output[RouterAdvertisedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + // User-specified description for the IP range. func (o RouterAdvertisedIpRangeResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v RouterAdvertisedIpRangeResponse) string { return v.Description }).(pulumi.StringOutput) @@ -43927,6 +50348,12 @@ func (o RouterAdvertisedIpRangeResponseArrayOutput) ToRouterAdvertisedIpRangeRes return o } +func (o RouterAdvertisedIpRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterAdvertisedIpRangeResponse] { + return pulumix.Output[[]RouterAdvertisedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterAdvertisedIpRangeResponseArrayOutput) Index(i pulumi.IntInput) RouterAdvertisedIpRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterAdvertisedIpRangeResponse { return vs[0].([]RouterAdvertisedIpRangeResponse)[vs[1].(int)] @@ -43982,6 +50409,12 @@ func (i RouterBgpArgs) ToRouterBgpOutputWithContext(ctx context.Context) RouterB return pulumi.ToOutputWithContext(ctx, i).(RouterBgpOutput) } +func (i RouterBgpArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgp] { + return pulumix.Output[RouterBgp]{ + OutputState: i.ToRouterBgpOutputWithContext(ctx).OutputState, + } +} + func (i RouterBgpArgs) ToRouterBgpPtrOutput() RouterBgpPtrOutput { return i.ToRouterBgpPtrOutputWithContext(context.Background()) } @@ -44023,6 +50456,12 @@ func (i *routerBgpPtrType) ToRouterBgpPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPtrOutput) } +func (i *routerBgpPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterBgp] { + return pulumix.Output[*RouterBgp]{ + OutputState: i.ToRouterBgpPtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpOutput struct{ *pulumi.OutputState } func (RouterBgpOutput) ElementType() reflect.Type { @@ -44047,6 +50486,12 @@ func (o RouterBgpOutput) ToRouterBgpPtrOutputWithContext(ctx context.Context) Ro }).(RouterBgpPtrOutput) } +func (o RouterBgpOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgp] { + return pulumix.Output[RouterBgp]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. func (o RouterBgpOutput) AdvertiseMode() RouterBgpAdvertiseModePtrOutput { return o.ApplyT(func(v RouterBgp) *RouterBgpAdvertiseMode { return v.AdvertiseMode }).(RouterBgpAdvertiseModePtrOutput) @@ -44086,6 +50531,12 @@ func (o RouterBgpPtrOutput) ToRouterBgpPtrOutputWithContext(ctx context.Context) return o } +func (o RouterBgpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgp] { + return pulumix.Output[*RouterBgp]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPtrOutput) Elem() RouterBgpOutput { return o.ApplyT(func(v *RouterBgp) RouterBgp { if v != nil { @@ -44247,6 +50698,12 @@ func (i RouterBgpPeerArgs) ToRouterBgpPeerOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerOutput) } +func (i RouterBgpPeerArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeer] { + return pulumix.Output[RouterBgpPeer]{ + OutputState: i.ToRouterBgpPeerOutputWithContext(ctx).OutputState, + } +} + // RouterBgpPeerArrayInput is an input type that accepts RouterBgpPeerArray and RouterBgpPeerArrayOutput values. // You can construct a concrete instance of `RouterBgpPeerArrayInput` via: // @@ -44272,6 +50729,12 @@ func (i RouterBgpPeerArray) ToRouterBgpPeerArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerArrayOutput) } +func (i RouterBgpPeerArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeer] { + return pulumix.Output[[]RouterBgpPeer]{ + OutputState: i.ToRouterBgpPeerArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerOutput struct{ *pulumi.OutputState } func (RouterBgpPeerOutput) ElementType() reflect.Type { @@ -44286,6 +50749,12 @@ func (o RouterBgpPeerOutput) ToRouterBgpPeerOutputWithContext(ctx context.Contex return o } +func (o RouterBgpPeerOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeer] { + return pulumix.Output[RouterBgpPeer]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. func (o RouterBgpPeerOutput) AdvertiseMode() RouterBgpPeerAdvertiseModePtrOutput { return o.ApplyT(func(v RouterBgpPeer) *RouterBgpPeerAdvertiseMode { return v.AdvertiseMode }).(RouterBgpPeerAdvertiseModePtrOutput) @@ -44390,6 +50859,12 @@ func (o RouterBgpPeerArrayOutput) ToRouterBgpPeerArrayOutputWithContext(ctx cont return o } +func (o RouterBgpPeerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeer] { + return pulumix.Output[[]RouterBgpPeer]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeer { return vs[0].([]RouterBgpPeer)[vs[1].(int)] @@ -44453,6 +50928,12 @@ func (i RouterBgpPeerBfdArgs) ToRouterBgpPeerBfdOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerBfdOutput) } +func (i RouterBgpPeerBfdArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfd] { + return pulumix.Output[RouterBgpPeerBfd]{ + OutputState: i.ToRouterBgpPeerBfdOutputWithContext(ctx).OutputState, + } +} + func (i RouterBgpPeerBfdArgs) ToRouterBgpPeerBfdPtrOutput() RouterBgpPeerBfdPtrOutput { return i.ToRouterBgpPeerBfdPtrOutputWithContext(context.Background()) } @@ -44494,6 +50975,12 @@ func (i *routerBgpPeerBfdPtrType) ToRouterBgpPeerBfdPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerBfdPtrOutput) } +func (i *routerBgpPeerBfdPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfd] { + return pulumix.Output[*RouterBgpPeerBfd]{ + OutputState: i.ToRouterBgpPeerBfdPtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerBfdOutput struct{ *pulumi.OutputState } func (RouterBgpPeerBfdOutput) ElementType() reflect.Type { @@ -44518,6 +51005,12 @@ func (o RouterBgpPeerBfdOutput) ToRouterBgpPeerBfdPtrOutputWithContext(ctx conte }).(RouterBgpPeerBfdPtrOutput) } +func (o RouterBgpPeerBfdOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfd] { + return pulumix.Output[RouterBgpPeerBfd]{ + OutputState: o.OutputState, + } +} + // The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000. func (o RouterBgpPeerBfdOutput) MinReceiveInterval() pulumi.IntPtrOutput { return o.ApplyT(func(v RouterBgpPeerBfd) *int { return v.MinReceiveInterval }).(pulumi.IntPtrOutput) @@ -44569,6 +51062,12 @@ func (o RouterBgpPeerBfdPtrOutput) ToRouterBgpPeerBfdPtrOutputWithContext(ctx co return o } +func (o RouterBgpPeerBfdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfd] { + return pulumix.Output[*RouterBgpPeerBfd]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdPtrOutput) Elem() RouterBgpPeerBfdOutput { return o.ApplyT(func(v *RouterBgpPeerBfd) RouterBgpPeerBfd { if v != nil { @@ -44680,6 +51179,12 @@ func (o RouterBgpPeerBfdResponseOutput) ToRouterBgpPeerBfdResponseOutputWithCont return o } +func (o RouterBgpPeerBfdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfdResponse] { + return pulumix.Output[RouterBgpPeerBfdResponse]{ + OutputState: o.OutputState, + } +} + // The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000. func (o RouterBgpPeerBfdResponseOutput) MinReceiveInterval() pulumi.IntOutput { return o.ApplyT(func(v RouterBgpPeerBfdResponse) int { return v.MinReceiveInterval }).(pulumi.IntOutput) @@ -44748,6 +51253,12 @@ func (i RouterBgpPeerCustomLearnedIpRangeArgs) ToRouterBgpPeerCustomLearnedIpRan return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerCustomLearnedIpRangeOutput) } +func (i RouterBgpPeerCustomLearnedIpRangeArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerCustomLearnedIpRange] { + return pulumix.Output[RouterBgpPeerCustomLearnedIpRange]{ + OutputState: i.ToRouterBgpPeerCustomLearnedIpRangeOutputWithContext(ctx).OutputState, + } +} + // RouterBgpPeerCustomLearnedIpRangeArrayInput is an input type that accepts RouterBgpPeerCustomLearnedIpRangeArray and RouterBgpPeerCustomLearnedIpRangeArrayOutput values. // You can construct a concrete instance of `RouterBgpPeerCustomLearnedIpRangeArrayInput` via: // @@ -44773,6 +51284,12 @@ func (i RouterBgpPeerCustomLearnedIpRangeArray) ToRouterBgpPeerCustomLearnedIpRa return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerCustomLearnedIpRangeArrayOutput) } +func (i RouterBgpPeerCustomLearnedIpRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerCustomLearnedIpRange] { + return pulumix.Output[[]RouterBgpPeerCustomLearnedIpRange]{ + OutputState: i.ToRouterBgpPeerCustomLearnedIpRangeArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerCustomLearnedIpRangeOutput struct{ *pulumi.OutputState } func (RouterBgpPeerCustomLearnedIpRangeOutput) ElementType() reflect.Type { @@ -44787,6 +51304,12 @@ func (o RouterBgpPeerCustomLearnedIpRangeOutput) ToRouterBgpPeerCustomLearnedIpR return o } +func (o RouterBgpPeerCustomLearnedIpRangeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerCustomLearnedIpRange] { + return pulumix.Output[RouterBgpPeerCustomLearnedIpRange]{ + OutputState: o.OutputState, + } +} + // The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`. func (o RouterBgpPeerCustomLearnedIpRangeOutput) Range() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterBgpPeerCustomLearnedIpRange) *string { return v.Range }).(pulumi.StringPtrOutput) @@ -44806,6 +51329,12 @@ func (o RouterBgpPeerCustomLearnedIpRangeArrayOutput) ToRouterBgpPeerCustomLearn return o } +func (o RouterBgpPeerCustomLearnedIpRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerCustomLearnedIpRange] { + return pulumix.Output[[]RouterBgpPeerCustomLearnedIpRange]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerCustomLearnedIpRangeArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerCustomLearnedIpRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeerCustomLearnedIpRange { return vs[0].([]RouterBgpPeerCustomLearnedIpRange)[vs[1].(int)] @@ -44831,6 +51360,12 @@ func (o RouterBgpPeerCustomLearnedIpRangeResponseOutput) ToRouterBgpPeerCustomLe return o } +func (o RouterBgpPeerCustomLearnedIpRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerCustomLearnedIpRangeResponse] { + return pulumix.Output[RouterBgpPeerCustomLearnedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + // The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`. func (o RouterBgpPeerCustomLearnedIpRangeResponseOutput) Range() pulumi.StringOutput { return o.ApplyT(func(v RouterBgpPeerCustomLearnedIpRangeResponse) string { return v.Range }).(pulumi.StringOutput) @@ -44850,6 +51385,12 @@ func (o RouterBgpPeerCustomLearnedIpRangeResponseArrayOutput) ToRouterBgpPeerCus return o } +func (o RouterBgpPeerCustomLearnedIpRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerCustomLearnedIpRangeResponse] { + return pulumix.Output[[]RouterBgpPeerCustomLearnedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerCustomLearnedIpRangeResponseArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerCustomLearnedIpRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeerCustomLearnedIpRangeResponse { return vs[0].([]RouterBgpPeerCustomLearnedIpRangeResponse)[vs[1].(int)] @@ -44911,6 +51452,12 @@ func (o RouterBgpPeerResponseOutput) ToRouterBgpPeerResponseOutputWithContext(ct return o } +func (o RouterBgpPeerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerResponse] { + return pulumix.Output[RouterBgpPeerResponse]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. func (o RouterBgpPeerResponseOutput) AdvertiseMode() pulumi.StringOutput { return o.ApplyT(func(v RouterBgpPeerResponse) string { return v.AdvertiseMode }).(pulumi.StringOutput) @@ -45022,6 +51569,12 @@ func (o RouterBgpPeerResponseArrayOutput) ToRouterBgpPeerResponseArrayOutputWith return o } +func (o RouterBgpPeerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerResponse] { + return pulumix.Output[[]RouterBgpPeerResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerResponseArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeerResponse { return vs[0].([]RouterBgpPeerResponse)[vs[1].(int)] @@ -45055,6 +51608,12 @@ func (o RouterBgpResponseOutput) ToRouterBgpResponseOutputWithContext(ctx contex return o } +func (o RouterBgpResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpResponse] { + return pulumix.Output[RouterBgpResponse]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. func (o RouterBgpResponseOutput) AdvertiseMode() pulumi.StringOutput { return o.ApplyT(func(v RouterBgpResponse) string { return v.AdvertiseMode }).(pulumi.StringOutput) @@ -45137,6 +51696,12 @@ func (i RouterInterfaceArgs) ToRouterInterfaceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(RouterInterfaceOutput) } +func (i RouterInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[RouterInterface] { + return pulumix.Output[RouterInterface]{ + OutputState: i.ToRouterInterfaceOutputWithContext(ctx).OutputState, + } +} + // RouterInterfaceArrayInput is an input type that accepts RouterInterfaceArray and RouterInterfaceArrayOutput values. // You can construct a concrete instance of `RouterInterfaceArrayInput` via: // @@ -45162,6 +51727,12 @@ func (i RouterInterfaceArray) ToRouterInterfaceArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RouterInterfaceArrayOutput) } +func (i RouterInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterInterface] { + return pulumix.Output[[]RouterInterface]{ + OutputState: i.ToRouterInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + type RouterInterfaceOutput struct{ *pulumi.OutputState } func (RouterInterfaceOutput) ElementType() reflect.Type { @@ -45176,6 +51747,12 @@ func (o RouterInterfaceOutput) ToRouterInterfaceOutputWithContext(ctx context.Co return o } +func (o RouterInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[RouterInterface] { + return pulumix.Output[RouterInterface]{ + OutputState: o.OutputState, + } +} + // IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. func (o RouterInterfaceOutput) IpRange() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterInterface) *string { return v.IpRange }).(pulumi.StringPtrOutput) @@ -45225,6 +51802,12 @@ func (o RouterInterfaceArrayOutput) ToRouterInterfaceArrayOutputWithContext(ctx return o } +func (o RouterInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterInterface] { + return pulumix.Output[[]RouterInterface]{ + OutputState: o.OutputState, + } +} + func (o RouterInterfaceArrayOutput) Index(i pulumi.IntInput) RouterInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterInterface { return vs[0].([]RouterInterface)[vs[1].(int)] @@ -45264,6 +51847,12 @@ func (o RouterInterfaceResponseOutput) ToRouterInterfaceResponseOutputWithContex return o } +func (o RouterInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterInterfaceResponse] { + return pulumix.Output[RouterInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. func (o RouterInterfaceResponseOutput) IpRange() pulumi.StringOutput { return o.ApplyT(func(v RouterInterfaceResponse) string { return v.IpRange }).(pulumi.StringOutput) @@ -45318,6 +51907,12 @@ func (o RouterInterfaceResponseArrayOutput) ToRouterInterfaceResponseArrayOutput return o } +func (o RouterInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterInterfaceResponse] { + return pulumix.Output[[]RouterInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterInterfaceResponseArrayOutput) Index(i pulumi.IntInput) RouterInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterInterfaceResponse { return vs[0].([]RouterInterfaceResponse)[vs[1].(int)] @@ -45361,6 +51956,12 @@ func (i RouterMd5AuthenticationKeyArgs) ToRouterMd5AuthenticationKeyOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(RouterMd5AuthenticationKeyOutput) } +func (i RouterMd5AuthenticationKeyArgs) ToOutput(ctx context.Context) pulumix.Output[RouterMd5AuthenticationKey] { + return pulumix.Output[RouterMd5AuthenticationKey]{ + OutputState: i.ToRouterMd5AuthenticationKeyOutputWithContext(ctx).OutputState, + } +} + // RouterMd5AuthenticationKeyArrayInput is an input type that accepts RouterMd5AuthenticationKeyArray and RouterMd5AuthenticationKeyArrayOutput values. // You can construct a concrete instance of `RouterMd5AuthenticationKeyArrayInput` via: // @@ -45386,6 +51987,12 @@ func (i RouterMd5AuthenticationKeyArray) ToRouterMd5AuthenticationKeyArrayOutput return pulumi.ToOutputWithContext(ctx, i).(RouterMd5AuthenticationKeyArrayOutput) } +func (i RouterMd5AuthenticationKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterMd5AuthenticationKey] { + return pulumix.Output[[]RouterMd5AuthenticationKey]{ + OutputState: i.ToRouterMd5AuthenticationKeyArrayOutputWithContext(ctx).OutputState, + } +} + type RouterMd5AuthenticationKeyOutput struct{ *pulumi.OutputState } func (RouterMd5AuthenticationKeyOutput) ElementType() reflect.Type { @@ -45400,6 +52007,12 @@ func (o RouterMd5AuthenticationKeyOutput) ToRouterMd5AuthenticationKeyOutputWith return o } +func (o RouterMd5AuthenticationKeyOutput) ToOutput(ctx context.Context) pulumix.Output[RouterMd5AuthenticationKey] { + return pulumix.Output[RouterMd5AuthenticationKey]{ + OutputState: o.OutputState, + } +} + // [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters. func (o RouterMd5AuthenticationKeyOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterMd5AuthenticationKey) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -45424,6 +52037,12 @@ func (o RouterMd5AuthenticationKeyArrayOutput) ToRouterMd5AuthenticationKeyArray return o } +func (o RouterMd5AuthenticationKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterMd5AuthenticationKey] { + return pulumix.Output[[]RouterMd5AuthenticationKey]{ + OutputState: o.OutputState, + } +} + func (o RouterMd5AuthenticationKeyArrayOutput) Index(i pulumi.IntInput) RouterMd5AuthenticationKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterMd5AuthenticationKey { return vs[0].([]RouterMd5AuthenticationKey)[vs[1].(int)] @@ -45451,6 +52070,12 @@ func (o RouterMd5AuthenticationKeyResponseOutput) ToRouterMd5AuthenticationKeyRe return o } +func (o RouterMd5AuthenticationKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterMd5AuthenticationKeyResponse] { + return pulumix.Output[RouterMd5AuthenticationKeyResponse]{ + OutputState: o.OutputState, + } +} + // [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters. func (o RouterMd5AuthenticationKeyResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v RouterMd5AuthenticationKeyResponse) string { return v.Key }).(pulumi.StringOutput) @@ -45475,6 +52100,12 @@ func (o RouterMd5AuthenticationKeyResponseArrayOutput) ToRouterMd5Authentication return o } +func (o RouterMd5AuthenticationKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterMd5AuthenticationKeyResponse] { + return pulumix.Output[[]RouterMd5AuthenticationKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterMd5AuthenticationKeyResponseArrayOutput) Index(i pulumi.IntInput) RouterMd5AuthenticationKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterMd5AuthenticationKeyResponse { return vs[0].([]RouterMd5AuthenticationKeyResponse)[vs[1].(int)] @@ -45590,6 +52221,12 @@ func (i RouterNatArgs) ToRouterNatOutputWithContext(ctx context.Context) RouterN return pulumi.ToOutputWithContext(ctx, i).(RouterNatOutput) } +func (i RouterNatArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNat] { + return pulumix.Output[RouterNat]{ + OutputState: i.ToRouterNatOutputWithContext(ctx).OutputState, + } +} + // RouterNatArrayInput is an input type that accepts RouterNatArray and RouterNatArrayOutput values. // You can construct a concrete instance of `RouterNatArrayInput` via: // @@ -45615,6 +52252,12 @@ func (i RouterNatArray) ToRouterNatArrayOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, i).(RouterNatArrayOutput) } +func (i RouterNatArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNat] { + return pulumix.Output[[]RouterNat]{ + OutputState: i.ToRouterNatArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided. type RouterNatOutput struct{ *pulumi.OutputState } @@ -45630,6 +52273,12 @@ func (o RouterNatOutput) ToRouterNatOutputWithContext(ctx context.Context) Route return o } +func (o RouterNatOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNat] { + return pulumix.Output[RouterNat]{ + OutputState: o.OutputState, + } +} + // The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. func (o RouterNatOutput) AutoNetworkTier() RouterNatAutoNetworkTierPtrOutput { return o.ApplyT(func(v RouterNat) *RouterNatAutoNetworkTier { return v.AutoNetworkTier }).(RouterNatAutoNetworkTierPtrOutput) @@ -45743,6 +52392,12 @@ func (o RouterNatArrayOutput) ToRouterNatArrayOutputWithContext(ctx context.Cont return o } +func (o RouterNatArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNat] { + return pulumix.Output[[]RouterNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatArrayOutput) Index(i pulumi.IntInput) RouterNatOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNat { return vs[0].([]RouterNat)[vs[1].(int)] @@ -45788,6 +52443,12 @@ func (i RouterNatLogConfigArgs) ToRouterNatLogConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RouterNatLogConfigOutput) } +func (i RouterNatLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfig] { + return pulumix.Output[RouterNatLogConfig]{ + OutputState: i.ToRouterNatLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i RouterNatLogConfigArgs) ToRouterNatLogConfigPtrOutput() RouterNatLogConfigPtrOutput { return i.ToRouterNatLogConfigPtrOutputWithContext(context.Background()) } @@ -45829,6 +52490,12 @@ func (i *routerNatLogConfigPtrType) ToRouterNatLogConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RouterNatLogConfigPtrOutput) } +func (i *routerNatLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfig] { + return pulumix.Output[*RouterNatLogConfig]{ + OutputState: i.ToRouterNatLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of logging on a NAT. type RouterNatLogConfigOutput struct{ *pulumi.OutputState } @@ -45854,6 +52521,12 @@ func (o RouterNatLogConfigOutput) ToRouterNatLogConfigPtrOutputWithContext(ctx c }).(RouterNatLogConfigPtrOutput) } +func (o RouterNatLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfig] { + return pulumix.Output[RouterNatLogConfig]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default. func (o RouterNatLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v RouterNatLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -45878,6 +52551,12 @@ func (o RouterNatLogConfigPtrOutput) ToRouterNatLogConfigPtrOutputWithContext(ct return o } +func (o RouterNatLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfig] { + return pulumix.Output[*RouterNatLogConfig]{ + OutputState: o.OutputState, + } +} + func (o RouterNatLogConfigPtrOutput) Elem() RouterNatLogConfigOutput { return o.ApplyT(func(v *RouterNatLogConfig) RouterNatLogConfig { if v != nil { @@ -45931,6 +52610,12 @@ func (o RouterNatLogConfigResponseOutput) ToRouterNatLogConfigResponseOutputWith return o } +func (o RouterNatLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfigResponse] { + return pulumix.Output[RouterNatLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default. func (o RouterNatLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v RouterNatLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -45999,6 +52684,12 @@ func (o RouterNatResponseOutput) ToRouterNatResponseOutputWithContext(ctx contex return o } +func (o RouterNatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatResponse] { + return pulumix.Output[RouterNatResponse]{ + OutputState: o.OutputState, + } +} + // The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. func (o RouterNatResponseOutput) AutoNetworkTier() pulumi.StringOutput { return o.ApplyT(func(v RouterNatResponse) string { return v.AutoNetworkTier }).(pulumi.StringOutput) @@ -46112,6 +52803,12 @@ func (o RouterNatResponseArrayOutput) ToRouterNatResponseArrayOutputWithContext( return o } +func (o RouterNatResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatResponse] { + return pulumix.Output[[]RouterNatResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterNatResponseArrayOutput) Index(i pulumi.IntInput) RouterNatResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatResponse { return vs[0].([]RouterNatResponse)[vs[1].(int)] @@ -46163,6 +52860,12 @@ func (i RouterNatRuleArgs) ToRouterNatRuleOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleOutput) } +func (i RouterNatRuleArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatRule] { + return pulumix.Output[RouterNatRule]{ + OutputState: i.ToRouterNatRuleOutputWithContext(ctx).OutputState, + } +} + // RouterNatRuleArrayInput is an input type that accepts RouterNatRuleArray and RouterNatRuleArrayOutput values. // You can construct a concrete instance of `RouterNatRuleArrayInput` via: // @@ -46188,6 +52891,12 @@ func (i RouterNatRuleArray) ToRouterNatRuleArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleArrayOutput) } +func (i RouterNatRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatRule] { + return pulumix.Output[[]RouterNatRule]{ + OutputState: i.ToRouterNatRuleArrayOutputWithContext(ctx).OutputState, + } +} + type RouterNatRuleOutput struct{ *pulumi.OutputState } func (RouterNatRuleOutput) ElementType() reflect.Type { @@ -46202,6 +52911,12 @@ func (o RouterNatRuleOutput) ToRouterNatRuleOutputWithContext(ctx context.Contex return o } +func (o RouterNatRuleOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRule] { + return pulumix.Output[RouterNatRule]{ + OutputState: o.OutputState, + } +} + // The action to be enforced for traffic that matches this rule. func (o RouterNatRuleOutput) Action() RouterNatRuleActionPtrOutput { return o.ApplyT(func(v RouterNatRule) *RouterNatRuleAction { return v.Action }).(RouterNatRuleActionPtrOutput) @@ -46236,6 +52951,12 @@ func (o RouterNatRuleArrayOutput) ToRouterNatRuleArrayOutputWithContext(ctx cont return o } +func (o RouterNatRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatRule] { + return pulumix.Output[[]RouterNatRule]{ + OutputState: o.OutputState, + } +} + func (o RouterNatRuleArrayOutput) Index(i pulumi.IntInput) RouterNatRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatRule { return vs[0].([]RouterNatRule)[vs[1].(int)] @@ -46287,6 +53008,12 @@ func (i RouterNatRuleActionArgs) ToRouterNatRuleActionOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleActionOutput) } +func (i RouterNatRuleActionArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleAction] { + return pulumix.Output[RouterNatRuleAction]{ + OutputState: i.ToRouterNatRuleActionOutputWithContext(ctx).OutputState, + } +} + func (i RouterNatRuleActionArgs) ToRouterNatRuleActionPtrOutput() RouterNatRuleActionPtrOutput { return i.ToRouterNatRuleActionPtrOutputWithContext(context.Background()) } @@ -46328,6 +53055,12 @@ func (i *routerNatRuleActionPtrType) ToRouterNatRuleActionPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleActionPtrOutput) } +func (i *routerNatRuleActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterNatRuleAction] { + return pulumix.Output[*RouterNatRuleAction]{ + OutputState: i.ToRouterNatRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + type RouterNatRuleActionOutput struct{ *pulumi.OutputState } func (RouterNatRuleActionOutput) ElementType() reflect.Type { @@ -46352,6 +53085,12 @@ func (o RouterNatRuleActionOutput) ToRouterNatRuleActionPtrOutputWithContext(ctx }).(RouterNatRuleActionPtrOutput) } +func (o RouterNatRuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleAction] { + return pulumix.Output[RouterNatRuleAction]{ + OutputState: o.OutputState, + } +} + // A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. func (o RouterNatRuleActionOutput) SourceNatActiveIps() pulumi.StringArrayOutput { return o.ApplyT(func(v RouterNatRuleAction) []string { return v.SourceNatActiveIps }).(pulumi.StringArrayOutput) @@ -46386,6 +53125,12 @@ func (o RouterNatRuleActionPtrOutput) ToRouterNatRuleActionPtrOutputWithContext( return o } +func (o RouterNatRuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatRuleAction] { + return pulumix.Output[*RouterNatRuleAction]{ + OutputState: o.OutputState, + } +} + func (o RouterNatRuleActionPtrOutput) Elem() RouterNatRuleActionOutput { return o.ApplyT(func(v *RouterNatRuleAction) RouterNatRuleAction { if v != nil { @@ -46461,6 +53206,12 @@ func (o RouterNatRuleActionResponseOutput) ToRouterNatRuleActionResponseOutputWi return o } +func (o RouterNatRuleActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleActionResponse] { + return pulumix.Output[RouterNatRuleActionResponse]{ + OutputState: o.OutputState, + } +} + // A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. func (o RouterNatRuleActionResponseOutput) SourceNatActiveIps() pulumi.StringArrayOutput { return o.ApplyT(func(v RouterNatRuleActionResponse) []string { return v.SourceNatActiveIps }).(pulumi.StringArrayOutput) @@ -46506,6 +53257,12 @@ func (o RouterNatRuleResponseOutput) ToRouterNatRuleResponseOutputWithContext(ct return o } +func (o RouterNatRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleResponse] { + return pulumix.Output[RouterNatRuleResponse]{ + OutputState: o.OutputState, + } +} + // The action to be enforced for traffic that matches this rule. func (o RouterNatRuleResponseOutput) Action() RouterNatRuleActionResponseOutput { return o.ApplyT(func(v RouterNatRuleResponse) RouterNatRuleActionResponse { return v.Action }).(RouterNatRuleActionResponseOutput) @@ -46540,6 +53297,12 @@ func (o RouterNatRuleResponseArrayOutput) ToRouterNatRuleResponseArrayOutputWith return o } +func (o RouterNatRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatRuleResponse] { + return pulumix.Output[[]RouterNatRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterNatRuleResponseArrayOutput) Index(i pulumi.IntInput) RouterNatRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatRuleResponse { return vs[0].([]RouterNatRuleResponse)[vs[1].(int)] @@ -46589,6 +53352,12 @@ func (i RouterNatSubnetworkToNatArgs) ToRouterNatSubnetworkToNatOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(RouterNatSubnetworkToNatOutput) } +func (i RouterNatSubnetworkToNatArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNat] { + return pulumix.Output[RouterNatSubnetworkToNat]{ + OutputState: i.ToRouterNatSubnetworkToNatOutputWithContext(ctx).OutputState, + } +} + // RouterNatSubnetworkToNatArrayInput is an input type that accepts RouterNatSubnetworkToNatArray and RouterNatSubnetworkToNatArrayOutput values. // You can construct a concrete instance of `RouterNatSubnetworkToNatArrayInput` via: // @@ -46614,6 +53383,12 @@ func (i RouterNatSubnetworkToNatArray) ToRouterNatSubnetworkToNatArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(RouterNatSubnetworkToNatArrayOutput) } +func (i RouterNatSubnetworkToNatArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNat] { + return pulumix.Output[[]RouterNatSubnetworkToNat]{ + OutputState: i.ToRouterNatSubnetworkToNatArrayOutputWithContext(ctx).OutputState, + } +} + // Defines the IP ranges that want to use NAT for a subnetwork. type RouterNatSubnetworkToNatOutput struct{ *pulumi.OutputState } @@ -46629,6 +53404,12 @@ func (o RouterNatSubnetworkToNatOutput) ToRouterNatSubnetworkToNatOutputWithCont return o } +func (o RouterNatSubnetworkToNatOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNat] { + return pulumix.Output[RouterNatSubnetworkToNat]{ + OutputState: o.OutputState, + } +} + // URL for the subnetwork resource that will use NAT. func (o RouterNatSubnetworkToNatOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterNatSubnetworkToNat) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -46660,6 +53441,12 @@ func (o RouterNatSubnetworkToNatArrayOutput) ToRouterNatSubnetworkToNatArrayOutp return o } +func (o RouterNatSubnetworkToNatArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNat] { + return pulumix.Output[[]RouterNatSubnetworkToNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatArrayOutput) Index(i pulumi.IntInput) RouterNatSubnetworkToNatOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatSubnetworkToNat { return vs[0].([]RouterNatSubnetworkToNat)[vs[1].(int)] @@ -46691,6 +53478,12 @@ func (o RouterNatSubnetworkToNatResponseOutput) ToRouterNatSubnetworkToNatRespon return o } +func (o RouterNatSubnetworkToNatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNatResponse] { + return pulumix.Output[RouterNatSubnetworkToNatResponse]{ + OutputState: o.OutputState, + } +} + // URL for the subnetwork resource that will use NAT. func (o RouterNatSubnetworkToNatResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v RouterNatSubnetworkToNatResponse) string { return v.Name }).(pulumi.StringOutput) @@ -46720,6 +53513,12 @@ func (o RouterNatSubnetworkToNatResponseArrayOutput) ToRouterNatSubnetworkToNatR return o } +func (o RouterNatSubnetworkToNatResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNatResponse] { + return pulumix.Output[[]RouterNatSubnetworkToNatResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatResponseArrayOutput) Index(i pulumi.IntInput) RouterNatSubnetworkToNatResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatSubnetworkToNatResponse { return vs[0].([]RouterNatSubnetworkToNatResponse)[vs[1].(int)] @@ -46785,6 +53584,12 @@ func (i RuleArgs) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return pulumi.ToOutputWithContext(ctx, i).(RuleOutput) } +func (i RuleArgs) ToOutput(ctx context.Context) pulumix.Output[Rule] { + return pulumix.Output[Rule]{ + OutputState: i.ToRuleOutputWithContext(ctx).OutputState, + } +} + // RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. // You can construct a concrete instance of `RuleArrayInput` via: // @@ -46810,6 +53615,12 @@ func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOu return pulumi.ToOutputWithContext(ctx, i).(RuleArrayOutput) } +func (i RuleArray) ToOutput(ctx context.Context) pulumix.Output[[]Rule] { + return pulumix.Output[[]Rule]{ + OutputState: i.ToRuleArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type RuleOutput struct{ *pulumi.OutputState } @@ -46825,6 +53636,12 @@ func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return o } +func (o RuleOutput) ToOutput(ctx context.Context) pulumix.Output[Rule] { + return pulumix.Output[Rule]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o RuleOutput) Action() RuleActionPtrOutput { return o.ApplyT(func(v Rule) *RuleAction { return v.Action }).(RuleActionPtrOutput) @@ -46874,6 +53691,12 @@ func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleA return o } +func (o RuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Rule] { + return pulumix.Output[[]Rule]{ + OutputState: o.OutputState, + } +} + func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Rule { return vs[0].([]Rule)[vs[1].(int)] @@ -46913,6 +53736,12 @@ func (o RuleResponseOutput) ToRuleResponseOutputWithContext(ctx context.Context) return o } +func (o RuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuleResponse] { + return pulumix.Output[RuleResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o RuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v RuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -46962,6 +53791,12 @@ func (o RuleResponseArrayOutput) ToRuleResponseArrayOutputWithContext(ctx contex return o } +func (o RuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleResponse] { + return pulumix.Output[[]RuleResponse]{ + OutputState: o.OutputState, + } +} + func (o RuleResponseArrayOutput) Index(i pulumi.IntInput) RuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RuleResponse { return vs[0].([]RuleResponse)[vs[1].(int)] @@ -47021,6 +53856,12 @@ func (i SSLHealthCheckArgs) ToSSLHealthCheckOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SSLHealthCheckOutput) } +func (i SSLHealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheck] { + return pulumix.Output[SSLHealthCheck]{ + OutputState: i.ToSSLHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i SSLHealthCheckArgs) ToSSLHealthCheckPtrOutput() SSLHealthCheckPtrOutput { return i.ToSSLHealthCheckPtrOutputWithContext(context.Background()) } @@ -47062,6 +53903,12 @@ func (i *sslhealthCheckPtrType) ToSSLHealthCheckPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SSLHealthCheckPtrOutput) } +func (i *sslhealthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheck] { + return pulumix.Output[*SSLHealthCheck]{ + OutputState: i.ToSSLHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type SSLHealthCheckOutput struct{ *pulumi.OutputState } func (SSLHealthCheckOutput) ElementType() reflect.Type { @@ -47086,6 +53933,12 @@ func (o SSLHealthCheckOutput) ToSSLHealthCheckPtrOutputWithContext(ctx context.C }).(SSLHealthCheckPtrOutput) } +func (o SSLHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheck] { + return pulumix.Output[SSLHealthCheck]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535. func (o SSLHealthCheckOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v SSLHealthCheck) *int { return v.Port }).(pulumi.IntPtrOutput) @@ -47130,6 +53983,12 @@ func (o SSLHealthCheckPtrOutput) ToSSLHealthCheckPtrOutputWithContext(ctx contex return o } +func (o SSLHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheck] { + return pulumix.Output[*SSLHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckPtrOutput) Elem() SSLHealthCheckOutput { return o.ApplyT(func(v *SSLHealthCheck) SSLHealthCheck { if v != nil { @@ -47229,6 +54088,12 @@ func (o SSLHealthCheckResponseOutput) ToSSLHealthCheckResponseOutputWithContext( return o } +func (o SSLHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheckResponse] { + return pulumix.Output[SSLHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535. func (o SSLHealthCheckResponseOutput) Port() pulumi.IntOutput { return o.ApplyT(func(v SSLHealthCheckResponse) int { return v.Port }).(pulumi.IntOutput) @@ -47310,6 +54175,12 @@ func (o SavedAttachedDiskResponseOutput) ToSavedAttachedDiskResponseOutputWithCo return o } +func (o SavedAttachedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SavedAttachedDiskResponse] { + return pulumix.Output[SavedAttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o SavedAttachedDiskResponseOutput) AutoDelete() pulumi.BoolOutput { return o.ApplyT(func(v SavedAttachedDiskResponse) bool { return v.AutoDelete }).(pulumi.BoolOutput) @@ -47404,6 +54275,12 @@ func (o SavedAttachedDiskResponseArrayOutput) ToSavedAttachedDiskResponseArrayOu return o } +func (o SavedAttachedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SavedAttachedDiskResponse] { + return pulumix.Output[[]SavedAttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o SavedAttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) SavedAttachedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SavedAttachedDiskResponse { return vs[0].([]SavedAttachedDiskResponse)[vs[1].(int)] @@ -47445,6 +54322,12 @@ func (i SavedDiskArgs) ToSavedDiskOutputWithContext(ctx context.Context) SavedDi return pulumi.ToOutputWithContext(ctx, i).(SavedDiskOutput) } +func (i SavedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[SavedDisk] { + return pulumix.Output[SavedDisk]{ + OutputState: i.ToSavedDiskOutputWithContext(ctx).OutputState, + } +} + // SavedDiskArrayInput is an input type that accepts SavedDiskArray and SavedDiskArrayOutput values. // You can construct a concrete instance of `SavedDiskArrayInput` via: // @@ -47470,6 +54353,12 @@ func (i SavedDiskArray) ToSavedDiskArrayOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SavedDiskArrayOutput) } +func (i SavedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]SavedDisk] { + return pulumix.Output[[]SavedDisk]{ + OutputState: i.ToSavedDiskArrayOutputWithContext(ctx).OutputState, + } +} + // An instance-attached disk resource. type SavedDiskOutput struct{ *pulumi.OutputState } @@ -47485,6 +54374,12 @@ func (o SavedDiskOutput) ToSavedDiskOutputWithContext(ctx context.Context) Saved return o } +func (o SavedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[SavedDisk] { + return pulumix.Output[SavedDisk]{ + OutputState: o.OutputState, + } +} + // Specifies a URL of the disk attached to the source instance. func (o SavedDiskOutput) SourceDisk() pulumi.StringPtrOutput { return o.ApplyT(func(v SavedDisk) *string { return v.SourceDisk }).(pulumi.StringPtrOutput) @@ -47504,6 +54399,12 @@ func (o SavedDiskArrayOutput) ToSavedDiskArrayOutputWithContext(ctx context.Cont return o } +func (o SavedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SavedDisk] { + return pulumix.Output[[]SavedDisk]{ + OutputState: o.OutputState, + } +} + func (o SavedDiskArrayOutput) Index(i pulumi.IntInput) SavedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SavedDisk { return vs[0].([]SavedDisk)[vs[1].(int)] @@ -47539,6 +54440,12 @@ func (o SavedDiskResponseOutput) ToSavedDiskResponseOutputWithContext(ctx contex return o } +func (o SavedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SavedDiskResponse] { + return pulumix.Output[SavedDiskResponse]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. func (o SavedDiskResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v SavedDiskResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -47578,6 +54485,12 @@ func (o SavedDiskResponseArrayOutput) ToSavedDiskResponseArrayOutputWithContext( return o } +func (o SavedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SavedDiskResponse] { + return pulumix.Output[[]SavedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o SavedDiskResponseArrayOutput) Index(i pulumi.IntInput) SavedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SavedDiskResponse { return vs[0].([]SavedDiskResponse)[vs[1].(int)] @@ -47687,6 +54600,12 @@ func (i SchedulingArgs) ToSchedulingOutputWithContext(ctx context.Context) Sched return pulumi.ToOutputWithContext(ctx, i).(SchedulingOutput) } +func (i SchedulingArgs) ToOutput(ctx context.Context) pulumix.Output[Scheduling] { + return pulumix.Output[Scheduling]{ + OutputState: i.ToSchedulingOutputWithContext(ctx).OutputState, + } +} + func (i SchedulingArgs) ToSchedulingPtrOutput() SchedulingPtrOutput { return i.ToSchedulingPtrOutputWithContext(context.Background()) } @@ -47728,6 +54647,12 @@ func (i *schedulingPtrType) ToSchedulingPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SchedulingPtrOutput) } +func (i *schedulingPtrType) ToOutput(ctx context.Context) pulumix.Output[*Scheduling] { + return pulumix.Output[*Scheduling]{ + OutputState: i.ToSchedulingPtrOutputWithContext(ctx).OutputState, + } +} + // Sets the scheduling options for an Instance. type SchedulingOutput struct{ *pulumi.OutputState } @@ -47753,6 +54678,12 @@ func (o SchedulingOutput) ToSchedulingPtrOutputWithContext(ctx context.Context) }).(SchedulingPtrOutput) } +func (o SchedulingOutput) ToOutput(ctx context.Context) pulumix.Output[Scheduling] { + return pulumix.Output[Scheduling]{ + OutputState: o.OutputState, + } +} + // Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. func (o SchedulingOutput) AutomaticRestart() pulumi.BoolPtrOutput { return o.ApplyT(func(v Scheduling) *bool { return v.AutomaticRestart }).(pulumi.BoolPtrOutput) @@ -47857,6 +54788,12 @@ func (o SchedulingPtrOutput) ToSchedulingPtrOutputWithContext(ctx context.Contex return o } +func (o SchedulingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Scheduling] { + return pulumix.Output[*Scheduling]{ + OutputState: o.OutputState, + } +} + func (o SchedulingPtrOutput) Elem() SchedulingOutput { return o.ApplyT(func(v *Scheduling) Scheduling { if v != nil { @@ -48090,6 +55027,12 @@ func (i SchedulingNodeAffinityArgs) ToSchedulingNodeAffinityOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SchedulingNodeAffinityOutput) } +func (i SchedulingNodeAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinity] { + return pulumix.Output[SchedulingNodeAffinity]{ + OutputState: i.ToSchedulingNodeAffinityOutputWithContext(ctx).OutputState, + } +} + // SchedulingNodeAffinityArrayInput is an input type that accepts SchedulingNodeAffinityArray and SchedulingNodeAffinityArrayOutput values. // You can construct a concrete instance of `SchedulingNodeAffinityArrayInput` via: // @@ -48115,6 +55058,12 @@ func (i SchedulingNodeAffinityArray) ToSchedulingNodeAffinityArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SchedulingNodeAffinityArrayOutput) } +func (i SchedulingNodeAffinityArray) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinity] { + return pulumix.Output[[]SchedulingNodeAffinity]{ + OutputState: i.ToSchedulingNodeAffinityArrayOutputWithContext(ctx).OutputState, + } +} + // Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. type SchedulingNodeAffinityOutput struct{ *pulumi.OutputState } @@ -48130,6 +55079,12 @@ func (o SchedulingNodeAffinityOutput) ToSchedulingNodeAffinityOutputWithContext( return o } +func (o SchedulingNodeAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinity] { + return pulumix.Output[SchedulingNodeAffinity]{ + OutputState: o.OutputState, + } +} + // Corresponds to the label key of Node resource. func (o SchedulingNodeAffinityOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v SchedulingNodeAffinity) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -48159,6 +55114,12 @@ func (o SchedulingNodeAffinityArrayOutput) ToSchedulingNodeAffinityArrayOutputWi return o } +func (o SchedulingNodeAffinityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinity] { + return pulumix.Output[[]SchedulingNodeAffinity]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityArrayOutput) Index(i pulumi.IntInput) SchedulingNodeAffinityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchedulingNodeAffinity { return vs[0].([]SchedulingNodeAffinity)[vs[1].(int)] @@ -48190,6 +55151,12 @@ func (o SchedulingNodeAffinityResponseOutput) ToSchedulingNodeAffinityResponseOu return o } +func (o SchedulingNodeAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinityResponse] { + return pulumix.Output[SchedulingNodeAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Corresponds to the label key of Node resource. func (o SchedulingNodeAffinityResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SchedulingNodeAffinityResponse) string { return v.Key }).(pulumi.StringOutput) @@ -48219,6 +55186,12 @@ func (o SchedulingNodeAffinityResponseArrayOutput) ToSchedulingNodeAffinityRespo return o } +func (o SchedulingNodeAffinityResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinityResponse] { + return pulumix.Output[[]SchedulingNodeAffinityResponse]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityResponseArrayOutput) Index(i pulumi.IntInput) SchedulingNodeAffinityResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchedulingNodeAffinityResponse { return vs[0].([]SchedulingNodeAffinityResponse)[vs[1].(int)] @@ -48280,6 +55253,12 @@ func (o SchedulingResponseOutput) ToSchedulingResponseOutputWithContext(ctx cont return o } +func (o SchedulingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingResponse] { + return pulumix.Output[SchedulingResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. func (o SchedulingResponseOutput) AutomaticRestart() pulumi.BoolOutput { return o.ApplyT(func(v SchedulingResponse) bool { return v.AutomaticRestart }).(pulumi.BoolOutput) @@ -48405,6 +55384,12 @@ func (i SdsConfigArgs) ToSdsConfigOutputWithContext(ctx context.Context) SdsConf return pulumi.ToOutputWithContext(ctx, i).(SdsConfigOutput) } +func (i SdsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SdsConfig] { + return pulumix.Output[SdsConfig]{ + OutputState: i.ToSdsConfigOutputWithContext(ctx).OutputState, + } +} + func (i SdsConfigArgs) ToSdsConfigPtrOutput() SdsConfigPtrOutput { return i.ToSdsConfigPtrOutputWithContext(context.Background()) } @@ -48446,6 +55431,12 @@ func (i *sdsConfigPtrType) ToSdsConfigPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SdsConfigPtrOutput) } +func (i *sdsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SdsConfig] { + return pulumix.Output[*SdsConfig]{ + OutputState: i.ToSdsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] The configuration to access the SDS server. The configuration to access the SDS server. type SdsConfigOutput struct{ *pulumi.OutputState } @@ -48471,6 +55462,12 @@ func (o SdsConfigOutput) ToSdsConfigPtrOutputWithContext(ctx context.Context) Sd }).(SdsConfigPtrOutput) } +func (o SdsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SdsConfig] { + return pulumix.Output[SdsConfig]{ + OutputState: o.OutputState, + } +} + // The configuration to access the SDS server over GRPC. func (o SdsConfigOutput) GrpcServiceConfig() GrpcServiceConfigPtrOutput { return o.ApplyT(func(v SdsConfig) *GrpcServiceConfig { return v.GrpcServiceConfig }).(GrpcServiceConfigPtrOutput) @@ -48490,6 +55487,12 @@ func (o SdsConfigPtrOutput) ToSdsConfigPtrOutputWithContext(ctx context.Context) return o } +func (o SdsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SdsConfig] { + return pulumix.Output[*SdsConfig]{ + OutputState: o.OutputState, + } +} + func (o SdsConfigPtrOutput) Elem() SdsConfigOutput { return o.ApplyT(func(v *SdsConfig) SdsConfig { if v != nil { @@ -48531,6 +55534,12 @@ func (o SdsConfigResponseOutput) ToSdsConfigResponseOutputWithContext(ctx contex return o } +func (o SdsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SdsConfigResponse] { + return pulumix.Output[SdsConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration to access the SDS server over GRPC. func (o SdsConfigResponseOutput) GrpcServiceConfig() GrpcServiceConfigResponseOutput { return o.ApplyT(func(v SdsConfigResponse) GrpcServiceConfigResponse { return v.GrpcServiceConfig }).(GrpcServiceConfigResponseOutput) @@ -48573,6 +55582,12 @@ func (i SecurityPolicyAdaptiveProtectionConfigArgs) ToSecurityPolicyAdaptiveProt return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigOutput) } +func (i SecurityPolicyAdaptiveProtectionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdaptiveProtectionConfigArgs) ToSecurityPolicyAdaptiveProtectionConfigPtrOutput() SecurityPolicyAdaptiveProtectionConfigPtrOutput { return i.ToSecurityPolicyAdaptiveProtectionConfigPtrOutputWithContext(context.Background()) } @@ -48614,6 +55629,12 @@ func (i *securityPolicyAdaptiveProtectionConfigPtrType) ToSecurityPolicyAdaptive return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigPtrOutput) } +func (i *securityPolicyAdaptiveProtectionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for Cloud Armor Adaptive Protection (CAAP). type SecurityPolicyAdaptiveProtectionConfigOutput struct{ *pulumi.OutputState } @@ -48639,6 +55660,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigOutput) ToSecurityPolicyAdaptivePr }).(SecurityPolicyAdaptiveProtectionConfigPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigOutput) AutoDeployConfig() SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfig) *SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig { return v.AutoDeployConfig @@ -48666,6 +55693,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigPtrOutput) ToSecurityPolicyAdaptiv return o } +func (o SecurityPolicyAdaptiveProtectionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfig) SecurityPolicyAdaptiveProtectionConfig { if v != nil { @@ -48734,6 +55767,12 @@ func (i SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgs) ToSecurityPo return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput) } +func (i SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgs) ToSecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput() SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput { return i.ToSecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutputWithContext(context.Background()) } @@ -48775,6 +55814,12 @@ func (i *securityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrType) ToSecuri return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput) } +func (i *securityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for Adaptive Protection auto-deploy feature. type SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput struct{ *pulumi.OutputState } @@ -48800,6 +55845,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput) ToSecurity }).(SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput) ConfidenceThreshold() pulumi.Float64PtrOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) *float64 { return v.ConfidenceThreshold }).(pulumi.Float64PtrOutput) } @@ -48832,6 +55883,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput) ToSecur return o } +func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig { if v != nil { @@ -48901,6 +55958,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponseOutput) To return o } +func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponseOutput) ConfidenceThreshold() pulumi.Float64Output { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse) float64 { return v.ConfidenceThreshold @@ -48960,6 +56023,12 @@ func (i SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs) ToSec return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) } +func (i SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs) ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput { return i.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutputWithContext(context.Background()) } @@ -49001,6 +56070,12 @@ func (i *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrType) T return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) } +func (i *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput struct{ *pulumi.OutputState } @@ -49026,6 +56101,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) ToS }).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: o.OutputState, + } +} + // If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -49052,6 +56133,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) return o } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig { if v != nil { @@ -49105,6 +56192,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseOut return o } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -49139,6 +56232,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigResponseOutput) ToSecurityPolicyAd return o } +func (o SecurityPolicyAdaptiveProtectionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigResponse] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigResponseOutput) AutoDeployConfig() SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponseOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigResponse) SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse { return v.AutoDeployConfig @@ -49193,6 +56292,12 @@ func (i SecurityPolicyAdvancedOptionsConfigArgs) ToSecurityPolicyAdvancedOptions return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigOutput) } +func (i SecurityPolicyAdvancedOptionsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdvancedOptionsConfigArgs) ToSecurityPolicyAdvancedOptionsConfigPtrOutput() SecurityPolicyAdvancedOptionsConfigPtrOutput { return i.ToSecurityPolicyAdvancedOptionsConfigPtrOutputWithContext(context.Background()) } @@ -49234,6 +56339,12 @@ func (i *securityPolicyAdvancedOptionsConfigPtrType) ToSecurityPolicyAdvancedOpt return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigPtrOutput) } +func (i *securityPolicyAdvancedOptionsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyAdvancedOptionsConfigOutput) ElementType() reflect.Type { @@ -49258,6 +56369,12 @@ func (o SecurityPolicyAdvancedOptionsConfigOutput) ToSecurityPolicyAdvancedOptio }).(SecurityPolicyAdvancedOptionsConfigPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfig]{ + OutputState: o.OutputState, + } +} + // Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD. func (o SecurityPolicyAdvancedOptionsConfigOutput) JsonCustomConfig() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfig) *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig { @@ -49296,6 +56413,12 @@ func (o SecurityPolicyAdvancedOptionsConfigPtrOutput) ToSecurityPolicyAdvancedOp return o } +func (o SecurityPolicyAdvancedOptionsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfig) SecurityPolicyAdvancedOptionsConfig { if v != nil { @@ -49377,6 +56500,12 @@ func (i SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs) ToSecurityPolic return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) } +func (i SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs) ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput { return i.ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutputWithContext(context.Background()) } @@ -49418,6 +56547,12 @@ func (i *securityPolicyAdvancedOptionsConfigJsonCustomConfigPtrType) ToSecurityP return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) } +func (i *securityPolicyAdvancedOptionsConfigJsonCustomConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ElementType() reflect.Type { @@ -49442,6 +56577,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ToSecurityPol }).(SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: o.OutputState, + } +} + // A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded. func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ContentTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) []string { return v.ContentTypes }).(pulumi.StringArrayOutput) @@ -49461,6 +56602,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) ToSecurity return o } +func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) SecurityPolicyAdvancedOptionsConfigJsonCustomConfig { if v != nil { @@ -49500,6 +56647,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput) ToSec return o } +func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded. func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput) ContentTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse) []string { return v.ContentTypes }).(pulumi.StringArrayOutput) @@ -49528,6 +56681,12 @@ func (o SecurityPolicyAdvancedOptionsConfigResponseOutput) ToSecurityPolicyAdvan return o } +func (o SecurityPolicyAdvancedOptionsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigResponse] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD. func (o SecurityPolicyAdvancedOptionsConfigResponseOutput) JsonCustomConfig() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfigResponse) SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse { @@ -49585,6 +56744,12 @@ func (i SecurityPolicyAssociationArgs) ToSecurityPolicyAssociationOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAssociationOutput) } +func (i SecurityPolicyAssociationArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAssociation] { + return pulumix.Output[SecurityPolicyAssociation]{ + OutputState: i.ToSecurityPolicyAssociationOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyAssociationArrayInput is an input type that accepts SecurityPolicyAssociationArray and SecurityPolicyAssociationArrayOutput values. // You can construct a concrete instance of `SecurityPolicyAssociationArrayInput` via: // @@ -49610,6 +56775,12 @@ func (i SecurityPolicyAssociationArray) ToSecurityPolicyAssociationArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAssociationArrayOutput) } +func (i SecurityPolicyAssociationArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyAssociation] { + return pulumix.Output[[]SecurityPolicyAssociation]{ + OutputState: i.ToSecurityPolicyAssociationArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAssociationOutput struct{ *pulumi.OutputState } func (SecurityPolicyAssociationOutput) ElementType() reflect.Type { @@ -49624,6 +56795,12 @@ func (o SecurityPolicyAssociationOutput) ToSecurityPolicyAssociationOutputWithCo return o } +func (o SecurityPolicyAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAssociation] { + return pulumix.Output[SecurityPolicyAssociation]{ + OutputState: o.OutputState, + } +} + // The resource that the security policy is attached to. func (o SecurityPolicyAssociationOutput) AttachmentId() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyAssociation) *string { return v.AttachmentId }).(pulumi.StringPtrOutput) @@ -49648,6 +56825,12 @@ func (o SecurityPolicyAssociationArrayOutput) ToSecurityPolicyAssociationArrayOu return o } +func (o SecurityPolicyAssociationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyAssociation] { + return pulumix.Output[[]SecurityPolicyAssociation]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAssociationArrayOutput) Index(i pulumi.IntInput) SecurityPolicyAssociationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyAssociation { return vs[0].([]SecurityPolicyAssociation)[vs[1].(int)] @@ -49679,6 +56862,12 @@ func (o SecurityPolicyAssociationResponseOutput) ToSecurityPolicyAssociationResp return o } +func (o SecurityPolicyAssociationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAssociationResponse] { + return pulumix.Output[SecurityPolicyAssociationResponse]{ + OutputState: o.OutputState, + } +} + // The resource that the security policy is attached to. func (o SecurityPolicyAssociationResponseOutput) AttachmentId() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyAssociationResponse) string { return v.AttachmentId }).(pulumi.StringOutput) @@ -49713,6 +56902,12 @@ func (o SecurityPolicyAssociationResponseArrayOutput) ToSecurityPolicyAssociatio return o } +func (o SecurityPolicyAssociationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyAssociationResponse] { + return pulumix.Output[[]SecurityPolicyAssociationResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAssociationResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyAssociationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyAssociationResponse { return vs[0].([]SecurityPolicyAssociationResponse)[vs[1].(int)] @@ -49754,6 +56949,12 @@ func (i SecurityPolicyCloudArmorConfigArgs) ToSecurityPolicyCloudArmorConfigOutp return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyCloudArmorConfigOutput) } +func (i SecurityPolicyCloudArmorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyCloudArmorConfig] { + return pulumix.Output[SecurityPolicyCloudArmorConfig]{ + OutputState: i.ToSecurityPolicyCloudArmorConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyCloudArmorConfigArgs) ToSecurityPolicyCloudArmorConfigPtrOutput() SecurityPolicyCloudArmorConfigPtrOutput { return i.ToSecurityPolicyCloudArmorConfigPtrOutputWithContext(context.Background()) } @@ -49795,6 +56996,12 @@ func (i *securityPolicyCloudArmorConfigPtrType) ToSecurityPolicyCloudArmorConfig return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyCloudArmorConfigPtrOutput) } +func (i *securityPolicyCloudArmorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyCloudArmorConfig] { + return pulumix.Output[*SecurityPolicyCloudArmorConfig]{ + OutputState: i.ToSecurityPolicyCloudArmorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for Cloud Armor. type SecurityPolicyCloudArmorConfigOutput struct{ *pulumi.OutputState } @@ -49820,6 +57027,12 @@ func (o SecurityPolicyCloudArmorConfigOutput) ToSecurityPolicyCloudArmorConfigPt }).(SecurityPolicyCloudArmorConfigPtrOutput) } +func (o SecurityPolicyCloudArmorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyCloudArmorConfig] { + return pulumix.Output[SecurityPolicyCloudArmorConfig]{ + OutputState: o.OutputState, + } +} + // If set to true, enables Cloud Armor Machine Learning. func (o SecurityPolicyCloudArmorConfigOutput) EnableMl() pulumi.BoolPtrOutput { return o.ApplyT(func(v SecurityPolicyCloudArmorConfig) *bool { return v.EnableMl }).(pulumi.BoolPtrOutput) @@ -49839,6 +57052,12 @@ func (o SecurityPolicyCloudArmorConfigPtrOutput) ToSecurityPolicyCloudArmorConfi return o } +func (o SecurityPolicyCloudArmorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyCloudArmorConfig] { + return pulumix.Output[*SecurityPolicyCloudArmorConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyCloudArmorConfigPtrOutput) Elem() SecurityPolicyCloudArmorConfigOutput { return o.ApplyT(func(v *SecurityPolicyCloudArmorConfig) SecurityPolicyCloudArmorConfig { if v != nil { @@ -49880,6 +57099,12 @@ func (o SecurityPolicyCloudArmorConfigResponseOutput) ToSecurityPolicyCloudArmor return o } +func (o SecurityPolicyCloudArmorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyCloudArmorConfigResponse] { + return pulumix.Output[SecurityPolicyCloudArmorConfigResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, enables Cloud Armor Machine Learning. func (o SecurityPolicyCloudArmorConfigResponseOutput) EnableMl() pulumi.BoolOutput { return o.ApplyT(func(v SecurityPolicyCloudArmorConfigResponse) bool { return v.EnableMl }).(pulumi.BoolOutput) @@ -49916,6 +57141,12 @@ func (i SecurityPolicyDdosProtectionConfigArgs) ToSecurityPolicyDdosProtectionCo return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyDdosProtectionConfigOutput) } +func (i SecurityPolicyDdosProtectionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[SecurityPolicyDdosProtectionConfig]{ + OutputState: i.ToSecurityPolicyDdosProtectionConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyDdosProtectionConfigArgs) ToSecurityPolicyDdosProtectionConfigPtrOutput() SecurityPolicyDdosProtectionConfigPtrOutput { return i.ToSecurityPolicyDdosProtectionConfigPtrOutputWithContext(context.Background()) } @@ -49957,6 +57188,12 @@ func (i *securityPolicyDdosProtectionConfigPtrType) ToSecurityPolicyDdosProtecti return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyDdosProtectionConfigPtrOutput) } +func (i *securityPolicyDdosProtectionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfig]{ + OutputState: i.ToSecurityPolicyDdosProtectionConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyDdosProtectionConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyDdosProtectionConfigOutput) ElementType() reflect.Type { @@ -49981,6 +57218,12 @@ func (o SecurityPolicyDdosProtectionConfigOutput) ToSecurityPolicyDdosProtection }).(SecurityPolicyDdosProtectionConfigPtrOutput) } +func (o SecurityPolicyDdosProtectionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[SecurityPolicyDdosProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigOutput) DdosProtection() SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput { return o.ApplyT(func(v SecurityPolicyDdosProtectionConfig) *SecurityPolicyDdosProtectionConfigDdosProtection { return v.DdosProtection @@ -50001,6 +57244,12 @@ func (o SecurityPolicyDdosProtectionConfigPtrOutput) ToSecurityPolicyDdosProtect return o } +func (o SecurityPolicyDdosProtectionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigPtrOutput) Elem() SecurityPolicyDdosProtectionConfigOutput { return o.ApplyT(func(v *SecurityPolicyDdosProtectionConfig) SecurityPolicyDdosProtectionConfig { if v != nil { @@ -50038,6 +57287,12 @@ func (o SecurityPolicyDdosProtectionConfigResponseOutput) ToSecurityPolicyDdosPr return o } +func (o SecurityPolicyDdosProtectionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfigResponse] { + return pulumix.Output[SecurityPolicyDdosProtectionConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigResponseOutput) DdosProtection() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyDdosProtectionConfigResponse) string { return v.DdosProtection }).(pulumi.StringOutput) } @@ -50075,6 +57330,12 @@ func (i SecurityPolicyRecaptchaOptionsConfigArgs) ToSecurityPolicyRecaptchaOptio return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRecaptchaOptionsConfigOutput) } +func (i SecurityPolicyRecaptchaOptionsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: i.ToSecurityPolicyRecaptchaOptionsConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRecaptchaOptionsConfigArgs) ToSecurityPolicyRecaptchaOptionsConfigPtrOutput() SecurityPolicyRecaptchaOptionsConfigPtrOutput { return i.ToSecurityPolicyRecaptchaOptionsConfigPtrOutputWithContext(context.Background()) } @@ -50116,6 +57377,12 @@ func (i *securityPolicyRecaptchaOptionsConfigPtrType) ToSecurityPolicyRecaptchaO return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRecaptchaOptionsConfigPtrOutput) } +func (i *securityPolicyRecaptchaOptionsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: i.ToSecurityPolicyRecaptchaOptionsConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRecaptchaOptionsConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRecaptchaOptionsConfigOutput) ElementType() reflect.Type { @@ -50140,6 +57407,12 @@ func (o SecurityPolicyRecaptchaOptionsConfigOutput) ToSecurityPolicyRecaptchaOpt }).(SecurityPolicyRecaptchaOptionsConfigPtrOutput) } +func (o SecurityPolicyRecaptchaOptionsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: o.OutputState, + } +} + // An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyRecaptchaOptionsConfigOutput) RedirectSiteKey() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRecaptchaOptionsConfig) *string { return v.RedirectSiteKey }).(pulumi.StringPtrOutput) @@ -50159,6 +57432,12 @@ func (o SecurityPolicyRecaptchaOptionsConfigPtrOutput) ToSecurityPolicyRecaptcha return o } +func (o SecurityPolicyRecaptchaOptionsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRecaptchaOptionsConfigPtrOutput) Elem() SecurityPolicyRecaptchaOptionsConfigOutput { return o.ApplyT(func(v *SecurityPolicyRecaptchaOptionsConfig) SecurityPolicyRecaptchaOptionsConfig { if v != nil { @@ -50198,6 +57477,12 @@ func (o SecurityPolicyRecaptchaOptionsConfigResponseOutput) ToSecurityPolicyReca return o } +func (o SecurityPolicyRecaptchaOptionsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRecaptchaOptionsConfigResponse] { + return pulumix.Output[SecurityPolicyRecaptchaOptionsConfigResponse]{ + OutputState: o.OutputState, + } +} + // An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyRecaptchaOptionsConfigResponseOutput) RedirectSiteKey() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRecaptchaOptionsConfigResponse) string { return v.RedirectSiteKey }).(pulumi.StringOutput) @@ -50298,6 +57583,12 @@ func (i SecurityPolicyRuleArgs) ToSecurityPolicyRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleOutput) } +func (i SecurityPolicyRuleArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRule] { + return pulumix.Output[SecurityPolicyRule]{ + OutputState: i.ToSecurityPolicyRuleOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleArrayInput is an input type that accepts SecurityPolicyRuleArray and SecurityPolicyRuleArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleArrayInput` via: // @@ -50323,6 +57614,12 @@ func (i SecurityPolicyRuleArray) ToSecurityPolicyRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleArrayOutput) } +func (i SecurityPolicyRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRule] { + return pulumix.Output[[]SecurityPolicyRule]{ + OutputState: i.ToSecurityPolicyRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). type SecurityPolicyRuleOutput struct{ *pulumi.OutputState } @@ -50338,6 +57635,12 @@ func (o SecurityPolicyRuleOutput) ToSecurityPolicyRuleOutputWithContext(ctx cont return o } +func (o SecurityPolicyRuleOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRule] { + return pulumix.Output[SecurityPolicyRule]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. func (o SecurityPolicyRuleOutput) Action() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRule) *string { return v.Action }).(pulumi.StringPtrOutput) @@ -50432,6 +57735,12 @@ func (o SecurityPolicyRuleArrayOutput) ToSecurityPolicyRuleArrayOutputWithContex return o } +func (o SecurityPolicyRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRule] { + return pulumix.Output[[]SecurityPolicyRule]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRule { return vs[0].([]SecurityPolicyRule)[vs[1].(int)] @@ -50471,6 +57780,12 @@ func (i SecurityPolicyRuleHttpHeaderActionArgs) ToSecurityPolicyRuleHttpHeaderAc return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionOutput) } +func (i SecurityPolicyRuleHttpHeaderActionArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderAction]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleHttpHeaderActionArgs) ToSecurityPolicyRuleHttpHeaderActionPtrOutput() SecurityPolicyRuleHttpHeaderActionPtrOutput { return i.ToSecurityPolicyRuleHttpHeaderActionPtrOutputWithContext(context.Background()) } @@ -50512,6 +57827,12 @@ func (i *securityPolicyRuleHttpHeaderActionPtrType) ToSecurityPolicyRuleHttpHead return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionPtrOutput) } +func (i *securityPolicyRuleHttpHeaderActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[*SecurityPolicyRuleHttpHeaderAction]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleHttpHeaderActionOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleHttpHeaderActionOutput) ElementType() reflect.Type { @@ -50536,6 +57857,12 @@ func (o SecurityPolicyRuleHttpHeaderActionOutput) ToSecurityPolicyRuleHttpHeader }).(SecurityPolicyRuleHttpHeaderActionPtrOutput) } +func (o SecurityPolicyRuleHttpHeaderActionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderAction]{ + OutputState: o.OutputState, + } +} + // The list of request headers to add or overwrite if they're already present. func (o SecurityPolicyRuleHttpHeaderActionOutput) RequestHeadersToAdds() SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderAction) []SecurityPolicyRuleHttpHeaderActionHttpHeaderOption { @@ -50557,6 +57884,12 @@ func (o SecurityPolicyRuleHttpHeaderActionPtrOutput) ToSecurityPolicyRuleHttpHea return o } +func (o SecurityPolicyRuleHttpHeaderActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[*SecurityPolicyRuleHttpHeaderAction]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleHttpHeaderActionPtrOutput) Elem() SecurityPolicyRuleHttpHeaderActionOutput { return o.ApplyT(func(v *SecurityPolicyRuleHttpHeaderAction) SecurityPolicyRuleHttpHeaderAction { if v != nil { @@ -50614,6 +57947,12 @@ func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs) ToSecurityPolicy return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) } +func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayInput is an input type that accepts SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArray and SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayInput` via: // @@ -50639,6 +57978,12 @@ func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArray) ToSecurityPolic return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) } +func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) ElementType() reflect.Type { @@ -50653,6 +57998,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) ToSecurityPoli return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: o.OutputState, + } +} + // The name of the header to set. func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderActionHttpHeaderOption) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -50677,6 +58028,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) ToSecurit return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleHttpHeaderActionHttpHeaderOption { return vs[0].([]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption)[vs[1].(int)] @@ -50704,6 +58061,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput) ToSecu return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the header to set. func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -50728,6 +58091,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput) T return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse] { + return pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse { return vs[0].([]SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse)[vs[1].(int)] @@ -50753,6 +58122,12 @@ func (o SecurityPolicyRuleHttpHeaderActionResponseOutput) ToSecurityPolicyRuleHt return o } +func (o SecurityPolicyRuleHttpHeaderActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionResponse] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionResponse]{ + OutputState: o.OutputState, + } +} + // The list of request headers to add or overwrite if they're already present. func (o SecurityPolicyRuleHttpHeaderActionResponseOutput) RequestHeadersToAdds() SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderActionResponse) []SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse { @@ -50803,6 +58178,12 @@ func (i SecurityPolicyRuleMatcherArgs) ToSecurityPolicyRuleMatcherOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherOutput) } +func (i SecurityPolicyRuleMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcher] { + return pulumix.Output[SecurityPolicyRuleMatcher]{ + OutputState: i.ToSecurityPolicyRuleMatcherOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleMatcherArgs) ToSecurityPolicyRuleMatcherPtrOutput() SecurityPolicyRuleMatcherPtrOutput { return i.ToSecurityPolicyRuleMatcherPtrOutputWithContext(context.Background()) } @@ -50844,6 +58225,12 @@ func (i *securityPolicyRuleMatcherPtrType) ToSecurityPolicyRuleMatcherPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherPtrOutput) } +func (i *securityPolicyRuleMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcher] { + return pulumix.Output[*SecurityPolicyRuleMatcher]{ + OutputState: i.ToSecurityPolicyRuleMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. type SecurityPolicyRuleMatcherOutput struct{ *pulumi.OutputState } @@ -50869,6 +58256,12 @@ func (o SecurityPolicyRuleMatcherOutput) ToSecurityPolicyRuleMatcherPtrOutputWit }).(SecurityPolicyRuleMatcherPtrOutput) } +func (o SecurityPolicyRuleMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcher] { + return pulumix.Output[SecurityPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + // The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. func (o SecurityPolicyRuleMatcherOutput) Config() SecurityPolicyRuleMatcherConfigPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcher) *SecurityPolicyRuleMatcherConfig { return v.Config }).(SecurityPolicyRuleMatcherConfigPtrOutput) @@ -50898,6 +58291,12 @@ func (o SecurityPolicyRuleMatcherPtrOutput) ToSecurityPolicyRuleMatcherPtrOutput return o } +func (o SecurityPolicyRuleMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcher] { + return pulumix.Output[*SecurityPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherPtrOutput) Elem() SecurityPolicyRuleMatcherOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcher) SecurityPolicyRuleMatcher { if v != nil { @@ -50983,6 +58382,12 @@ func (i SecurityPolicyRuleMatcherConfigArgs) ToSecurityPolicyRuleMatcherConfigOu return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigOutput) } +func (i SecurityPolicyRuleMatcherConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[SecurityPolicyRuleMatcherConfig]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleMatcherConfigArgs) ToSecurityPolicyRuleMatcherConfigPtrOutput() SecurityPolicyRuleMatcherConfigPtrOutput { return i.ToSecurityPolicyRuleMatcherConfigPtrOutputWithContext(context.Background()) } @@ -51024,6 +58429,12 @@ func (i *securityPolicyRuleMatcherConfigPtrType) ToSecurityPolicyRuleMatcherConf return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigPtrOutput) } +func (i *securityPolicyRuleMatcherConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[*SecurityPolicyRuleMatcherConfig]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleMatcherConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleMatcherConfigOutput) ElementType() reflect.Type { @@ -51048,6 +58459,12 @@ func (o SecurityPolicyRuleMatcherConfigOutput) ToSecurityPolicyRuleMatcherConfig }).(SecurityPolicyRuleMatcherConfigPtrOutput) } +func (o SecurityPolicyRuleMatcherConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[SecurityPolicyRuleMatcherConfig]{ + OutputState: o.OutputState, + } +} + // CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL. func (o SecurityPolicyRuleMatcherConfigOutput) DestIpRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfig) []string { return v.DestIpRanges }).(pulumi.StringArrayOutput) @@ -51086,6 +58503,12 @@ func (o SecurityPolicyRuleMatcherConfigPtrOutput) ToSecurityPolicyRuleMatcherCon return o } +func (o SecurityPolicyRuleMatcherConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[*SecurityPolicyRuleMatcherConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherConfigPtrOutput) Elem() SecurityPolicyRuleMatcherConfigOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcherConfig) SecurityPolicyRuleMatcherConfig { if v != nil { @@ -51173,6 +58596,12 @@ func (i SecurityPolicyRuleMatcherConfigDestinationPortArgs) ToSecurityPolicyRule return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigDestinationPortOutput) } +func (i SecurityPolicyRuleMatcherConfigDestinationPortArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigDestinationPort] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigDestinationPort]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigDestinationPortOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleMatcherConfigDestinationPortArrayInput is an input type that accepts SecurityPolicyRuleMatcherConfigDestinationPortArray and SecurityPolicyRuleMatcherConfigDestinationPortArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleMatcherConfigDestinationPortArrayInput` via: // @@ -51198,6 +58627,12 @@ func (i SecurityPolicyRuleMatcherConfigDestinationPortArray) ToSecurityPolicyRul return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigDestinationPortArrayOutput) } +func (i SecurityPolicyRuleMatcherConfigDestinationPortArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleMatcherConfigDestinationPort] { + return pulumix.Output[[]SecurityPolicyRuleMatcherConfigDestinationPort]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigDestinationPortArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleMatcherConfigDestinationPortOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleMatcherConfigDestinationPortOutput) ElementType() reflect.Type { @@ -51212,6 +58647,12 @@ func (o SecurityPolicyRuleMatcherConfigDestinationPortOutput) ToSecurityPolicyRu return o } +func (o SecurityPolicyRuleMatcherConfigDestinationPortOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigDestinationPort] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigDestinationPort]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o SecurityPolicyRuleMatcherConfigDestinationPortOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfigDestinationPort) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -51236,6 +58677,12 @@ func (o SecurityPolicyRuleMatcherConfigDestinationPortArrayOutput) ToSecurityPol return o } +func (o SecurityPolicyRuleMatcherConfigDestinationPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleMatcherConfigDestinationPort] { + return pulumix.Output[[]SecurityPolicyRuleMatcherConfigDestinationPort]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherConfigDestinationPortArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleMatcherConfigDestinationPortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleMatcherConfigDestinationPort { return vs[0].([]SecurityPolicyRuleMatcherConfigDestinationPort)[vs[1].(int)] @@ -51263,6 +58710,12 @@ func (o SecurityPolicyRuleMatcherConfigDestinationPortResponseOutput) ToSecurity return o } +func (o SecurityPolicyRuleMatcherConfigDestinationPortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigDestinationPortResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigDestinationPortResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o SecurityPolicyRuleMatcherConfigDestinationPortResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfigDestinationPortResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -51287,6 +58740,12 @@ func (o SecurityPolicyRuleMatcherConfigDestinationPortResponseArrayOutput) ToSec return o } +func (o SecurityPolicyRuleMatcherConfigDestinationPortResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleMatcherConfigDestinationPortResponse] { + return pulumix.Output[[]SecurityPolicyRuleMatcherConfigDestinationPortResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherConfigDestinationPortResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleMatcherConfigDestinationPortResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleMatcherConfigDestinationPortResponse { return vs[0].([]SecurityPolicyRuleMatcherConfigDestinationPortResponse)[vs[1].(int)] @@ -51330,6 +58789,12 @@ func (i SecurityPolicyRuleMatcherConfigLayer4ConfigArgs) ToSecurityPolicyRuleMat return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigLayer4ConfigOutput) } +func (i SecurityPolicyRuleMatcherConfigLayer4ConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4Config] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4Config]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigLayer4ConfigOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleMatcherConfigLayer4ConfigArrayInput is an input type that accepts SecurityPolicyRuleMatcherConfigLayer4ConfigArray and SecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleMatcherConfigLayer4ConfigArrayInput` via: // @@ -51355,6 +58820,12 @@ func (i SecurityPolicyRuleMatcherConfigLayer4ConfigArray) ToSecurityPolicyRuleMa return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutput) } +func (i SecurityPolicyRuleMatcherConfigLayer4ConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4Config] { + return pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4Config]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleMatcherConfigLayer4ConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleMatcherConfigLayer4ConfigOutput) ElementType() reflect.Type { @@ -51369,6 +58840,12 @@ func (o SecurityPolicyRuleMatcherConfigLayer4ConfigOutput) ToSecurityPolicyRuleM return o } +func (o SecurityPolicyRuleMatcherConfigLayer4ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4Config] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4Config]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o SecurityPolicyRuleMatcherConfigLayer4ConfigOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfigLayer4Config) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -51393,6 +58870,12 @@ func (o SecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutput) ToSecurityPolicy return o } +func (o SecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4Config] { + return pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4Config]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleMatcherConfigLayer4ConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleMatcherConfigLayer4Config { return vs[0].([]SecurityPolicyRuleMatcherConfigLayer4Config)[vs[1].(int)] @@ -51420,6 +58903,12 @@ func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseOutput) ToSecurityPol return o } +func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4ConfigResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4ConfigResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfigLayer4ConfigResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -51444,6 +58933,12 @@ func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseArrayOutput) ToSecuri return o } +func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4ConfigResponse] { + return pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4ConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleMatcherConfigLayer4ConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleMatcherConfigLayer4ConfigResponse { return vs[0].([]SecurityPolicyRuleMatcherConfigLayer4ConfigResponse)[vs[1].(int)] @@ -51475,6 +58970,12 @@ func (o SecurityPolicyRuleMatcherConfigResponseOutput) ToSecurityPolicyRuleMatch return o } +func (o SecurityPolicyRuleMatcherConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigResponse]{ + OutputState: o.OutputState, + } +} + // CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL. func (o SecurityPolicyRuleMatcherConfigResponseOutput) DestIpRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfigResponse) []string { return v.DestIpRanges }).(pulumi.StringArrayOutput) @@ -51524,6 +59025,12 @@ func (o SecurityPolicyRuleMatcherResponseOutput) ToSecurityPolicyRuleMatcherResp return o } +func (o SecurityPolicyRuleMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherResponse]{ + OutputState: o.OutputState, + } +} + // The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. func (o SecurityPolicyRuleMatcherResponseOutput) Config() SecurityPolicyRuleMatcherConfigResponseOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherResponse) SecurityPolicyRuleMatcherConfigResponse { return v.Config }).(SecurityPolicyRuleMatcherConfigResponseOutput) @@ -51602,6 +59109,12 @@ func (i SecurityPolicyRuleNetworkMatcherArgs) ToSecurityPolicyRuleNetworkMatcher return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleNetworkMatcherOutput) } +func (i SecurityPolicyRuleNetworkMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcher] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcher]{ + OutputState: i.ToSecurityPolicyRuleNetworkMatcherOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleNetworkMatcherArgs) ToSecurityPolicyRuleNetworkMatcherPtrOutput() SecurityPolicyRuleNetworkMatcherPtrOutput { return i.ToSecurityPolicyRuleNetworkMatcherPtrOutputWithContext(context.Background()) } @@ -51643,6 +59156,12 @@ func (i *securityPolicyRuleNetworkMatcherPtrType) ToSecurityPolicyRuleNetworkMat return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleNetworkMatcherPtrOutput) } +func (i *securityPolicyRuleNetworkMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleNetworkMatcher] { + return pulumix.Output[*SecurityPolicyRuleNetworkMatcher]{ + OutputState: i.ToSecurityPolicyRuleNetworkMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a match condition that incoming network traffic is evaluated against. type SecurityPolicyRuleNetworkMatcherOutput struct{ *pulumi.OutputState } @@ -51668,6 +59187,12 @@ func (o SecurityPolicyRuleNetworkMatcherOutput) ToSecurityPolicyRuleNetworkMatch }).(SecurityPolicyRuleNetworkMatcherPtrOutput) } +func (o SecurityPolicyRuleNetworkMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcher] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcher]{ + OutputState: o.OutputState, + } +} + // Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format. func (o SecurityPolicyRuleNetworkMatcherOutput) DestIpRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleNetworkMatcher) []string { return v.DestIpRanges }).(pulumi.StringArrayOutput) @@ -51724,6 +59249,12 @@ func (o SecurityPolicyRuleNetworkMatcherPtrOutput) ToSecurityPolicyRuleNetworkMa return o } +func (o SecurityPolicyRuleNetworkMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleNetworkMatcher] { + return pulumix.Output[*SecurityPolicyRuleNetworkMatcher]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleNetworkMatcherPtrOutput) Elem() SecurityPolicyRuleNetworkMatcherOutput { return o.ApplyT(func(v *SecurityPolicyRuleNetworkMatcher) SecurityPolicyRuleNetworkMatcher { if v != nil { @@ -51849,6 +59380,12 @@ func (o SecurityPolicyRuleNetworkMatcherResponseOutput) ToSecurityPolicyRuleNetw return o } +func (o SecurityPolicyRuleNetworkMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcherResponse] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcherResponse]{ + OutputState: o.OutputState, + } +} + // Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format. func (o SecurityPolicyRuleNetworkMatcherResponseOutput) DestIpRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleNetworkMatcherResponse) []string { return v.DestIpRanges }).(pulumi.StringArrayOutput) @@ -51928,6 +59465,12 @@ func (i SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArgs) ToSecurityPol return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput) } +func (i SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch]{ + OutputState: i.ToSecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayInput is an input type that accepts SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArray and SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayInput` via: // @@ -51953,6 +59496,12 @@ func (i SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArray) ToSecurityPo return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutput) } +func (i SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch] { + return pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch]{ + OutputState: i.ToSecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput) ElementType() reflect.Type { @@ -51967,6 +59516,12 @@ func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput) ToSecurityP return o } +func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch]{ + OutputState: o.OutputState, + } +} + // Name of the user-defined field, as given in the definition. func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -51991,6 +59546,12 @@ func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutput) ToSecu return o } +func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch] { + return pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch { return vs[0].([]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch)[vs[1].(int)] @@ -52018,6 +59579,12 @@ func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseOutput) ToS return o } +func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse]{ + OutputState: o.OutputState, + } +} + // Name of the user-defined field, as given in the definition. func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse) string { return v.Name }).(pulumi.StringOutput) @@ -52042,6 +59609,12 @@ func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseArrayOutput return o } +func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse] { + return pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse { return vs[0].([]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse)[vs[1].(int)] @@ -52081,6 +59654,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigArgs) ToSecurityPolicyRulePrecon return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRulePreconfiguredWafConfigArgs) ToSecurityPolicyRulePreconfiguredWafConfigPtrOutput() SecurityPolicyRulePreconfiguredWafConfigPtrOutput { return i.ToSecurityPolicyRulePreconfiguredWafConfigPtrOutputWithContext(context.Background()) } @@ -52122,6 +59701,12 @@ func (i *securityPolicyRulePreconfiguredWafConfigPtrType) ToSecurityPolicyRulePr return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigPtrOutput) } +func (i *securityPolicyRulePreconfiguredWafConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRulePreconfiguredWafConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRulePreconfiguredWafConfigOutput) ElementType() reflect.Type { @@ -52146,6 +59731,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigOutput) ToSecurityPolicyRulePrec }).(SecurityPolicyRulePreconfiguredWafConfigPtrOutput) } +func (o SecurityPolicyRulePreconfiguredWafConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: o.OutputState, + } +} + // A list of exclusions to apply during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigOutput) Exclusions() SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfig) []SecurityPolicyRulePreconfiguredWafConfigExclusion { @@ -52167,6 +59758,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigPtrOutput) ToSecurityPolicyRuleP return o } +func (o SecurityPolicyRulePreconfiguredWafConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigPtrOutput) Elem() SecurityPolicyRulePreconfiguredWafConfigOutput { return o.ApplyT(func(v *SecurityPolicyRulePreconfiguredWafConfig) SecurityPolicyRulePreconfiguredWafConfig { if v != nil { @@ -52240,6 +59837,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArgs) ToSecurityPolicyR return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRulePreconfiguredWafConfigExclusionArrayInput is an input type that accepts SecurityPolicyRulePreconfiguredWafConfigExclusionArray and SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRulePreconfiguredWafConfigExclusionArrayInput` via: // @@ -52265,6 +59868,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArray) ToSecurityPolicy return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRulePreconfiguredWafConfigExclusionOutput struct{ *pulumi.OutputState } func (SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) ElementType() reflect.Type { @@ -52279,6 +59888,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) ToSecurityPolic return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: o.OutputState, + } +} + // A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) RequestCookiesToExclude() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusion) []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams { @@ -52331,6 +59946,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) ToSecurity return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusion { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusion)[vs[1].(int)] @@ -52374,6 +59995,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs) ToSecu return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayInput is an input type that accepts SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray and SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayInput` via: // @@ -52399,6 +60026,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray) ToSec return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) ElementType() reflect.Type { @@ -52413,6 +60046,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) ToSe return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: o.OutputState, + } +} + // The match operator for the field. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) Op() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp { @@ -52439,6 +60078,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams)[vs[1].(int)] @@ -52466,6 +60111,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutp return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse]{ + OutputState: o.OutputState, + } +} + // The match operator for the field. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutput) Op() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse) string { return v.Op }).(pulumi.StringOutput) @@ -52490,6 +60141,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArra return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse)[vs[1].(int)] @@ -52525,6 +60182,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput) ToSecur return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionResponse] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionResponse]{ + OutputState: o.OutputState, + } +} + // A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput) RequestCookiesToExclude() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusionResponse) []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse { @@ -52577,6 +60240,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput) To return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionResponse] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusionResponse { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusionResponse)[vs[1].(int)] @@ -52602,6 +60271,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigResponseOutput) ToSecurityPolicy return o } +func (o SecurityPolicyRulePreconfiguredWafConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigResponse] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of exclusions to apply during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigResponseOutput) Exclusions() SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigResponse) []SecurityPolicyRulePreconfiguredWafConfigExclusionResponse { @@ -52678,6 +60353,12 @@ func (i SecurityPolicyRuleRateLimitOptionsArgs) ToSecurityPolicyRuleRateLimitOpt return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsOutput) } +func (i SecurityPolicyRuleRateLimitOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptions]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleRateLimitOptionsArgs) ToSecurityPolicyRuleRateLimitOptionsPtrOutput() SecurityPolicyRuleRateLimitOptionsPtrOutput { return i.ToSecurityPolicyRuleRateLimitOptionsPtrOutputWithContext(context.Background()) } @@ -52719,6 +60400,12 @@ func (i *securityPolicyRuleRateLimitOptionsPtrType) ToSecurityPolicyRuleRateLimi return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsPtrOutput) } +func (i *securityPolicyRuleRateLimitOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptions]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRateLimitOptionsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRateLimitOptionsOutput) ElementType() reflect.Type { @@ -52743,6 +60430,12 @@ func (o SecurityPolicyRuleRateLimitOptionsOutput) ToSecurityPolicyRuleRateLimitO }).(SecurityPolicyRuleRateLimitOptionsPtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptions]{ + OutputState: o.OutputState, + } +} + // Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold. func (o SecurityPolicyRuleRateLimitOptionsOutput) BanDurationSec() pulumi.IntPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptions) *int { return v.BanDurationSec }).(pulumi.IntPtrOutput) @@ -52819,6 +60512,12 @@ func (o SecurityPolicyRuleRateLimitOptionsPtrOutput) ToSecurityPolicyRuleRateLim return o } +func (o SecurityPolicyRuleRateLimitOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptions]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsPtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptions) SecurityPolicyRuleRateLimitOptions { if v != nil { diff --git a/sdk/go/google/compute/alpha/pulumiTypes1.go b/sdk/go/google/compute/alpha/pulumiTypes1.go index 0d01b2221a..15cfa59499 100644 --- a/sdk/go/google/compute/alpha/pulumiTypes1.go +++ b/sdk/go/google/compute/alpha/pulumiTypes1.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -50,6 +51,12 @@ func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs) ToSecurityPoli return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) } +func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayInput is an input type that accepts SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArray and SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayInput` via: // @@ -75,6 +82,12 @@ func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArray) ToSecurityPol return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) } +func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) ElementType() reflect.Type { @@ -89,6 +102,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) ToSecurityPo return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: o.OutputState, + } +} + // Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) EnforceOnKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) *string { return v.EnforceOnKeyName }).(pulumi.StringPtrOutput) @@ -115,6 +134,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) ToSecur return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig { return vs[0].([]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig)[vs[1].(int)] @@ -142,6 +167,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput) ToSe return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput) EnforceOnKeyName() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse) string { return v.EnforceOnKeyName }).(pulumi.StringOutput) @@ -166,6 +197,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseArrayOutput) return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse] { + return pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse { return vs[0].([]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse)[vs[1].(int)] @@ -209,6 +246,12 @@ func (o SecurityPolicyRuleRateLimitOptionsResponseOutput) ToSecurityPolicyRuleRa return o } +func (o SecurityPolicyRuleRateLimitOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsResponse] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold. func (o SecurityPolicyRuleRateLimitOptionsResponseOutput) BanDurationSec() pulumi.IntOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsResponse) int { return v.BanDurationSec }).(pulumi.IntOutput) @@ -308,6 +351,12 @@ func (i SecurityPolicyRuleRateLimitOptionsRpcStatusArgs) ToSecurityPolicyRuleRat return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsRpcStatusOutput) } +func (i SecurityPolicyRuleRateLimitOptionsRpcStatusArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsRpcStatus] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsRpcStatus]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsRpcStatusOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleRateLimitOptionsRpcStatusArgs) ToSecurityPolicyRuleRateLimitOptionsRpcStatusPtrOutput() SecurityPolicyRuleRateLimitOptionsRpcStatusPtrOutput { return i.ToSecurityPolicyRuleRateLimitOptionsRpcStatusPtrOutputWithContext(context.Background()) } @@ -349,6 +398,12 @@ func (i *securityPolicyRuleRateLimitOptionsRpcStatusPtrType) ToSecurityPolicyRul return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsRpcStatusPtrOutput) } +func (i *securityPolicyRuleRateLimitOptionsRpcStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsRpcStatus] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsRpcStatus]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsRpcStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Simplified google.rpc.Status type (omitting details). type SecurityPolicyRuleRateLimitOptionsRpcStatusOutput struct{ *pulumi.OutputState } @@ -374,6 +429,12 @@ func (o SecurityPolicyRuleRateLimitOptionsRpcStatusOutput) ToSecurityPolicyRuleR }).(SecurityPolicyRuleRateLimitOptionsRpcStatusPtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsRpcStatusOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsRpcStatus] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsRpcStatus]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o SecurityPolicyRuleRateLimitOptionsRpcStatusOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsRpcStatus) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -398,6 +459,12 @@ func (o SecurityPolicyRuleRateLimitOptionsRpcStatusPtrOutput) ToSecurityPolicyRu return o } +func (o SecurityPolicyRuleRateLimitOptionsRpcStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsRpcStatus] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsRpcStatus]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsRpcStatusPtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsRpcStatusOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptionsRpcStatus) SecurityPolicyRuleRateLimitOptionsRpcStatus { if v != nil { @@ -451,6 +518,12 @@ func (o SecurityPolicyRuleRateLimitOptionsRpcStatusResponseOutput) ToSecurityPol return o } +func (o SecurityPolicyRuleRateLimitOptionsRpcStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsRpcStatusResponse] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsRpcStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o SecurityPolicyRuleRateLimitOptionsRpcStatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsRpcStatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -498,6 +571,12 @@ func (i SecurityPolicyRuleRateLimitOptionsThresholdArgs) ToSecurityPolicyRuleRat return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsThresholdOutput) } +func (i SecurityPolicyRuleRateLimitOptionsThresholdArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsThresholdOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleRateLimitOptionsThresholdArgs) ToSecurityPolicyRuleRateLimitOptionsThresholdPtrOutput() SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput { return i.ToSecurityPolicyRuleRateLimitOptionsThresholdPtrOutputWithContext(context.Background()) } @@ -539,6 +618,12 @@ func (i *securityPolicyRuleRateLimitOptionsThresholdPtrType) ToSecurityPolicyRul return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) } +func (i *securityPolicyRuleRateLimitOptionsThresholdPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsThresholdPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRateLimitOptionsThresholdOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRateLimitOptionsThresholdOutput) ElementType() reflect.Type { @@ -563,6 +648,12 @@ func (o SecurityPolicyRuleRateLimitOptionsThresholdOutput) ToSecurityPolicyRuleR }).(SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsThresholdOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: o.OutputState, + } +} + // Number of HTTP(S) requests for calculating the threshold. func (o SecurityPolicyRuleRateLimitOptionsThresholdOutput) Count() pulumi.IntPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsThreshold) *int { return v.Count }).(pulumi.IntPtrOutput) @@ -587,6 +678,12 @@ func (o SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) ToSecurityPolicyRu return o } +func (o SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsThresholdOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptionsThreshold) SecurityPolicyRuleRateLimitOptionsThreshold { if v != nil { @@ -638,6 +735,12 @@ func (o SecurityPolicyRuleRateLimitOptionsThresholdResponseOutput) ToSecurityPol return o } +func (o SecurityPolicyRuleRateLimitOptionsThresholdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsThresholdResponse] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsThresholdResponse]{ + OutputState: o.OutputState, + } +} + // Number of HTTP(S) requests for calculating the threshold. func (o SecurityPolicyRuleRateLimitOptionsThresholdResponseOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsThresholdResponse) int { return v.Count }).(pulumi.IntOutput) @@ -685,6 +788,12 @@ func (i SecurityPolicyRuleRedirectOptionsArgs) ToSecurityPolicyRuleRedirectOptio return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRedirectOptionsOutput) } +func (i SecurityPolicyRuleRedirectOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[SecurityPolicyRuleRedirectOptions]{ + OutputState: i.ToSecurityPolicyRuleRedirectOptionsOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleRedirectOptionsArgs) ToSecurityPolicyRuleRedirectOptionsPtrOutput() SecurityPolicyRuleRedirectOptionsPtrOutput { return i.ToSecurityPolicyRuleRedirectOptionsPtrOutputWithContext(context.Background()) } @@ -726,6 +835,12 @@ func (i *securityPolicyRuleRedirectOptionsPtrType) ToSecurityPolicyRuleRedirectO return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRedirectOptionsPtrOutput) } +func (i *securityPolicyRuleRedirectOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptions]{ + OutputState: i.ToSecurityPolicyRuleRedirectOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRedirectOptionsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRedirectOptionsOutput) ElementType() reflect.Type { @@ -750,6 +865,12 @@ func (o SecurityPolicyRuleRedirectOptionsOutput) ToSecurityPolicyRuleRedirectOpt }).(SecurityPolicyRuleRedirectOptionsPtrOutput) } +func (o SecurityPolicyRuleRedirectOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[SecurityPolicyRuleRedirectOptions]{ + OutputState: o.OutputState, + } +} + // Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. func (o SecurityPolicyRuleRedirectOptionsOutput) Target() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRedirectOptions) *string { return v.Target }).(pulumi.StringPtrOutput) @@ -774,6 +895,12 @@ func (o SecurityPolicyRuleRedirectOptionsPtrOutput) ToSecurityPolicyRuleRedirect return o } +func (o SecurityPolicyRuleRedirectOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptions]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRedirectOptionsPtrOutput) Elem() SecurityPolicyRuleRedirectOptionsOutput { return o.ApplyT(func(v *SecurityPolicyRuleRedirectOptions) SecurityPolicyRuleRedirectOptions { if v != nil { @@ -825,6 +952,12 @@ func (o SecurityPolicyRuleRedirectOptionsResponseOutput) ToSecurityPolicyRuleRed return o } +func (o SecurityPolicyRuleRedirectOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptionsResponse] { + return pulumix.Output[SecurityPolicyRuleRedirectOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. func (o SecurityPolicyRuleRedirectOptionsResponseOutput) Target() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleRedirectOptionsResponse) string { return v.Target }).(pulumi.StringOutput) @@ -894,6 +1027,12 @@ func (o SecurityPolicyRuleResponseOutput) ToSecurityPolicyRuleResponseOutputWith return o } +func (o SecurityPolicyRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleResponse] { + return pulumix.Output[SecurityPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. func (o SecurityPolicyRuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -1009,6 +1148,12 @@ func (o SecurityPolicyRuleResponseArrayOutput) ToSecurityPolicyRuleResponseArray return o } +func (o SecurityPolicyRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleResponse] { + return pulumix.Output[[]SecurityPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleResponse { return vs[0].([]SecurityPolicyRuleResponse)[vs[1].(int)] @@ -1064,6 +1209,12 @@ func (i SecurityPolicyUserDefinedFieldArgs) ToSecurityPolicyUserDefinedFieldOutp return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyUserDefinedFieldOutput) } +func (i SecurityPolicyUserDefinedFieldArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyUserDefinedField] { + return pulumix.Output[SecurityPolicyUserDefinedField]{ + OutputState: i.ToSecurityPolicyUserDefinedFieldOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyUserDefinedFieldArrayInput is an input type that accepts SecurityPolicyUserDefinedFieldArray and SecurityPolicyUserDefinedFieldArrayOutput values. // You can construct a concrete instance of `SecurityPolicyUserDefinedFieldArrayInput` via: // @@ -1089,6 +1240,12 @@ func (i SecurityPolicyUserDefinedFieldArray) ToSecurityPolicyUserDefinedFieldArr return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyUserDefinedFieldArrayOutput) } +func (i SecurityPolicyUserDefinedFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyUserDefinedField] { + return pulumix.Output[[]SecurityPolicyUserDefinedField]{ + OutputState: i.ToSecurityPolicyUserDefinedFieldArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyUserDefinedFieldOutput struct{ *pulumi.OutputState } func (SecurityPolicyUserDefinedFieldOutput) ElementType() reflect.Type { @@ -1103,6 +1260,12 @@ func (o SecurityPolicyUserDefinedFieldOutput) ToSecurityPolicyUserDefinedFieldOu return o } +func (o SecurityPolicyUserDefinedFieldOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyUserDefinedField] { + return pulumix.Output[SecurityPolicyUserDefinedField]{ + OutputState: o.OutputState, + } +} + // The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required func (o SecurityPolicyUserDefinedFieldOutput) Base() SecurityPolicyUserDefinedFieldBasePtrOutput { return o.ApplyT(func(v SecurityPolicyUserDefinedField) *SecurityPolicyUserDefinedFieldBase { return v.Base }).(SecurityPolicyUserDefinedFieldBasePtrOutput) @@ -1142,6 +1305,12 @@ func (o SecurityPolicyUserDefinedFieldArrayOutput) ToSecurityPolicyUserDefinedFi return o } +func (o SecurityPolicyUserDefinedFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyUserDefinedField] { + return pulumix.Output[[]SecurityPolicyUserDefinedField]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyUserDefinedFieldArrayOutput) Index(i pulumi.IntInput) SecurityPolicyUserDefinedFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyUserDefinedField { return vs[0].([]SecurityPolicyUserDefinedField)[vs[1].(int)] @@ -1175,6 +1344,12 @@ func (o SecurityPolicyUserDefinedFieldResponseOutput) ToSecurityPolicyUserDefine return o } +func (o SecurityPolicyUserDefinedFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyUserDefinedFieldResponse] { + return pulumix.Output[SecurityPolicyUserDefinedFieldResponse]{ + OutputState: o.OutputState, + } +} + // The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required func (o SecurityPolicyUserDefinedFieldResponseOutput) Base() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyUserDefinedFieldResponse) string { return v.Base }).(pulumi.StringOutput) @@ -1214,6 +1389,12 @@ func (o SecurityPolicyUserDefinedFieldResponseArrayOutput) ToSecurityPolicyUserD return o } +func (o SecurityPolicyUserDefinedFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyUserDefinedFieldResponse] { + return pulumix.Output[[]SecurityPolicyUserDefinedFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyUserDefinedFieldResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyUserDefinedFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyUserDefinedFieldResponse { return vs[0].([]SecurityPolicyUserDefinedFieldResponse)[vs[1].(int)] @@ -1295,6 +1476,12 @@ func (i SecuritySettingsArgs) ToSecuritySettingsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecuritySettingsOutput) } +func (i SecuritySettingsArgs) ToOutput(ctx context.Context) pulumix.Output[SecuritySettings] { + return pulumix.Output[SecuritySettings]{ + OutputState: i.ToSecuritySettingsOutputWithContext(ctx).OutputState, + } +} + func (i SecuritySettingsArgs) ToSecuritySettingsPtrOutput() SecuritySettingsPtrOutput { return i.ToSecuritySettingsPtrOutputWithContext(context.Background()) } @@ -1336,6 +1523,12 @@ func (i *securitySettingsPtrType) ToSecuritySettingsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SecuritySettingsPtrOutput) } +func (i *securitySettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettings] { + return pulumix.Output[*SecuritySettings]{ + OutputState: i.ToSecuritySettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The authentication and authorization settings for a BackendService. type SecuritySettingsOutput struct{ *pulumi.OutputState } @@ -1361,6 +1554,12 @@ func (o SecuritySettingsOutput) ToSecuritySettingsPtrOutputWithContext(ctx conte }).(SecuritySettingsPtrOutput) } +func (o SecuritySettingsOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettings] { + return pulumix.Output[SecuritySettings]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use clientTlsPolicy instead. // // Deprecated: [Deprecated] Use clientTlsPolicy instead. @@ -1418,6 +1617,12 @@ func (o SecuritySettingsPtrOutput) ToSecuritySettingsPtrOutputWithContext(ctx co return o } +func (o SecuritySettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettings] { + return pulumix.Output[*SecuritySettings]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingsPtrOutput) Elem() SecuritySettingsOutput { return o.ApplyT(func(v *SecuritySettings) SecuritySettings { if v != nil { @@ -1547,6 +1752,12 @@ func (o SecuritySettingsResponseOutput) ToSecuritySettingsResponseOutputWithCont return o } +func (o SecuritySettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettingsResponse] { + return pulumix.Output[SecuritySettingsResponse]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use clientTlsPolicy instead. // // Deprecated: [Deprecated] Use clientTlsPolicy instead. @@ -1621,6 +1832,12 @@ func (i ServerBindingArgs) ToServerBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServerBindingOutput) } +func (i ServerBindingArgs) ToOutput(ctx context.Context) pulumix.Output[ServerBinding] { + return pulumix.Output[ServerBinding]{ + OutputState: i.ToServerBindingOutputWithContext(ctx).OutputState, + } +} + func (i ServerBindingArgs) ToServerBindingPtrOutput() ServerBindingPtrOutput { return i.ToServerBindingPtrOutputWithContext(context.Background()) } @@ -1662,6 +1879,12 @@ func (i *serverBindingPtrType) ToServerBindingPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ServerBindingPtrOutput) } +func (i *serverBindingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServerBinding] { + return pulumix.Output[*ServerBinding]{ + OutputState: i.ToServerBindingPtrOutputWithContext(ctx).OutputState, + } +} + type ServerBindingOutput struct{ *pulumi.OutputState } func (ServerBindingOutput) ElementType() reflect.Type { @@ -1686,6 +1909,12 @@ func (o ServerBindingOutput) ToServerBindingPtrOutputWithContext(ctx context.Con }).(ServerBindingPtrOutput) } +func (o ServerBindingOutput) ToOutput(ctx context.Context) pulumix.Output[ServerBinding] { + return pulumix.Output[ServerBinding]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingOutput) Type() ServerBindingTypePtrOutput { return o.ApplyT(func(v ServerBinding) *ServerBindingType { return v.Type }).(ServerBindingTypePtrOutput) } @@ -1704,6 +1933,12 @@ func (o ServerBindingPtrOutput) ToServerBindingPtrOutputWithContext(ctx context. return o } +func (o ServerBindingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerBinding] { + return pulumix.Output[*ServerBinding]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingPtrOutput) Elem() ServerBindingOutput { return o.ApplyT(func(v *ServerBinding) ServerBinding { if v != nil { @@ -1741,6 +1976,12 @@ func (o ServerBindingResponseOutput) ToServerBindingResponseOutputWithContext(ct return o } +func (o ServerBindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServerBindingResponse] { + return pulumix.Output[ServerBindingResponse]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v ServerBindingResponse) string { return v.Type }).(pulumi.StringOutput) } @@ -1788,6 +2029,12 @@ func (i ServerTlsSettingsArgs) ToServerTlsSettingsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ServerTlsSettingsOutput) } +func (i ServerTlsSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ServerTlsSettings] { + return pulumix.Output[ServerTlsSettings]{ + OutputState: i.ToServerTlsSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ServerTlsSettingsArgs) ToServerTlsSettingsPtrOutput() ServerTlsSettingsPtrOutput { return i.ToServerTlsSettingsPtrOutputWithContext(context.Background()) } @@ -1829,6 +2076,12 @@ func (i *serverTlsSettingsPtrType) ToServerTlsSettingsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ServerTlsSettingsPtrOutput) } +func (i *serverTlsSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsSettings] { + return pulumix.Output[*ServerTlsSettings]{ + OutputState: i.ToServerTlsSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The TLS settings for the server. type ServerTlsSettingsOutput struct{ *pulumi.OutputState } @@ -1854,6 +2107,12 @@ func (o ServerTlsSettingsOutput) ToServerTlsSettingsPtrOutputWithContext(ctx con }).(ServerTlsSettingsPtrOutput) } +func (o ServerTlsSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ServerTlsSettings] { + return pulumix.Output[ServerTlsSettings]{ + OutputState: o.OutputState, + } +} + // Configures the mechanism to obtain security certificates and identity information. func (o ServerTlsSettingsOutput) ProxyTlsContext() TlsContextPtrOutput { return o.ApplyT(func(v ServerTlsSettings) *TlsContext { return v.ProxyTlsContext }).(TlsContextPtrOutput) @@ -1883,6 +2142,12 @@ func (o ServerTlsSettingsPtrOutput) ToServerTlsSettingsPtrOutputWithContext(ctx return o } +func (o ServerTlsSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsSettings] { + return pulumix.Output[*ServerTlsSettings]{ + OutputState: o.OutputState, + } +} + func (o ServerTlsSettingsPtrOutput) Elem() ServerTlsSettingsOutput { return o.ApplyT(func(v *ServerTlsSettings) ServerTlsSettings { if v != nil { @@ -1948,6 +2213,12 @@ func (o ServerTlsSettingsResponseOutput) ToServerTlsSettingsResponseOutputWithCo return o } +func (o ServerTlsSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServerTlsSettingsResponse] { + return pulumix.Output[ServerTlsSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Configures the mechanism to obtain security certificates and identity information. func (o ServerTlsSettingsResponseOutput) ProxyTlsContext() TlsContextResponseOutput { return o.ApplyT(func(v ServerTlsSettingsResponse) TlsContextResponse { return v.ProxyTlsContext }).(TlsContextResponseOutput) @@ -2002,6 +2273,12 @@ func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) } +func (i ServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: i.ToServiceAccountOutputWithContext(ctx).OutputState, + } +} + // ServiceAccountArrayInput is an input type that accepts ServiceAccountArray and ServiceAccountArrayOutput values. // You can construct a concrete instance of `ServiceAccountArrayInput` via: // @@ -2027,6 +2304,12 @@ func (i ServiceAccountArray) ToServiceAccountArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountArrayOutput) } +func (i ServiceAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAccount] { + return pulumix.Output[[]ServiceAccount]{ + OutputState: i.ToServiceAccountArrayOutputWithContext(ctx).OutputState, + } +} + // A service account. type ServiceAccountOutput struct{ *pulumi.OutputState } @@ -2042,6 +2325,12 @@ func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Cont return o } +func (o ServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) @@ -2066,6 +2355,12 @@ func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutputWithContext(ctx co return o } +func (o ServiceAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAccount] { + return pulumix.Output[[]ServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountArrayOutput) Index(i pulumi.IntInput) ServiceAccountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAccount { return vs[0].([]ServiceAccount)[vs[1].(int)] @@ -2095,6 +2390,12 @@ func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext( return o } +func (o ServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccountResponse] { + return pulumix.Output[ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ServiceAccountResponse) string { return v.Email }).(pulumi.StringOutput) @@ -2119,6 +2420,12 @@ func (o ServiceAccountResponseArrayOutput) ToServiceAccountResponseArrayOutputWi return o } +func (o ServiceAccountResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAccountResponse] { + return pulumix.Output[[]ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountResponseArrayOutput) Index(i pulumi.IntInput) ServiceAccountResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAccountResponse { return vs[0].([]ServiceAccountResponse)[vs[1].(int)] @@ -2150,6 +2457,12 @@ func (o ServiceAttachmentConnectedEndpointResponseOutput) ToServiceAttachmentCon return o } +func (o ServiceAttachmentConnectedEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConnectedEndpointResponse] { + return pulumix.Output[ServiceAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The url of a connected endpoint. func (o ServiceAttachmentConnectedEndpointResponseOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v ServiceAttachmentConnectedEndpointResponse) string { return v.Endpoint }).(pulumi.StringOutput) @@ -2179,6 +2492,12 @@ func (o ServiceAttachmentConnectedEndpointResponseArrayOutput) ToServiceAttachme return o } +func (o ServiceAttachmentConnectedEndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConnectedEndpointResponse] { + return pulumix.Output[[]ServiceAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConnectedEndpointResponseArrayOutput) Index(i pulumi.IntInput) ServiceAttachmentConnectedEndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAttachmentConnectedEndpointResponse { return vs[0].([]ServiceAttachmentConnectedEndpointResponse)[vs[1].(int)] @@ -2226,6 +2545,12 @@ func (i ServiceAttachmentConsumerProjectLimitArgs) ToServiceAttachmentConsumerPr return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentConsumerProjectLimitOutput) } +func (i ServiceAttachmentConsumerProjectLimitArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[ServiceAttachmentConsumerProjectLimit]{ + OutputState: i.ToServiceAttachmentConsumerProjectLimitOutputWithContext(ctx).OutputState, + } +} + // ServiceAttachmentConsumerProjectLimitArrayInput is an input type that accepts ServiceAttachmentConsumerProjectLimitArray and ServiceAttachmentConsumerProjectLimitArrayOutput values. // You can construct a concrete instance of `ServiceAttachmentConsumerProjectLimitArrayInput` via: // @@ -2251,6 +2576,12 @@ func (i ServiceAttachmentConsumerProjectLimitArray) ToServiceAttachmentConsumerP return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentConsumerProjectLimitArrayOutput) } +func (i ServiceAttachmentConsumerProjectLimitArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[[]ServiceAttachmentConsumerProjectLimit]{ + OutputState: i.ToServiceAttachmentConsumerProjectLimitArrayOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentConsumerProjectLimitOutput struct{ *pulumi.OutputState } func (ServiceAttachmentConsumerProjectLimitOutput) ElementType() reflect.Type { @@ -2265,6 +2596,12 @@ func (o ServiceAttachmentConsumerProjectLimitOutput) ToServiceAttachmentConsumer return o } +func (o ServiceAttachmentConsumerProjectLimitOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[ServiceAttachmentConsumerProjectLimit]{ + OutputState: o.OutputState, + } +} + // The value of the limit to set. func (o ServiceAttachmentConsumerProjectLimitOutput) ConnectionLimit() pulumi.IntPtrOutput { return o.ApplyT(func(v ServiceAttachmentConsumerProjectLimit) *int { return v.ConnectionLimit }).(pulumi.IntPtrOutput) @@ -2294,6 +2631,12 @@ func (o ServiceAttachmentConsumerProjectLimitArrayOutput) ToServiceAttachmentCon return o } +func (o ServiceAttachmentConsumerProjectLimitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[[]ServiceAttachmentConsumerProjectLimit]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConsumerProjectLimitArrayOutput) Index(i pulumi.IntInput) ServiceAttachmentConsumerProjectLimitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAttachmentConsumerProjectLimit { return vs[0].([]ServiceAttachmentConsumerProjectLimit)[vs[1].(int)] @@ -2323,6 +2666,12 @@ func (o ServiceAttachmentConsumerProjectLimitResponseOutput) ToServiceAttachment return o } +func (o ServiceAttachmentConsumerProjectLimitResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConsumerProjectLimitResponse] { + return pulumix.Output[ServiceAttachmentConsumerProjectLimitResponse]{ + OutputState: o.OutputState, + } +} + // The value of the limit to set. func (o ServiceAttachmentConsumerProjectLimitResponseOutput) ConnectionLimit() pulumi.IntOutput { return o.ApplyT(func(v ServiceAttachmentConsumerProjectLimitResponse) int { return v.ConnectionLimit }).(pulumi.IntOutput) @@ -2352,6 +2701,12 @@ func (o ServiceAttachmentConsumerProjectLimitResponseArrayOutput) ToServiceAttac return o } +func (o ServiceAttachmentConsumerProjectLimitResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConsumerProjectLimitResponse] { + return pulumix.Output[[]ServiceAttachmentConsumerProjectLimitResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConsumerProjectLimitResponseArrayOutput) Index(i pulumi.IntInput) ServiceAttachmentConsumerProjectLimitResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAttachmentConsumerProjectLimitResponse { return vs[0].([]ServiceAttachmentConsumerProjectLimitResponse)[vs[1].(int)] @@ -2405,6 +2760,12 @@ func (i ShareSettingsArgs) ToShareSettingsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ShareSettingsOutput) } +func (i ShareSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ShareSettings] { + return pulumix.Output[ShareSettings]{ + OutputState: i.ToShareSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ShareSettingsArgs) ToShareSettingsPtrOutput() ShareSettingsPtrOutput { return i.ToShareSettingsPtrOutputWithContext(context.Background()) } @@ -2446,6 +2807,12 @@ func (i *shareSettingsPtrType) ToShareSettingsPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ShareSettingsPtrOutput) } +func (i *shareSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShareSettings] { + return pulumix.Output[*ShareSettings]{ + OutputState: i.ToShareSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The share setting for reservations and sole tenancy node groups. type ShareSettingsOutput struct{ *pulumi.OutputState } @@ -2471,6 +2838,12 @@ func (o ShareSettingsOutput) ToShareSettingsPtrOutputWithContext(ctx context.Con }).(ShareSettingsPtrOutput) } +func (o ShareSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ShareSettings] { + return pulumix.Output[ShareSettings]{ + OutputState: o.OutputState, + } +} + // A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix. func (o ShareSettingsOutput) FolderMap() pulumi.StringMapOutput { return o.ApplyT(func(v ShareSettings) map[string]string { return v.FolderMap }).(pulumi.StringMapOutput) @@ -2505,6 +2878,12 @@ func (o ShareSettingsPtrOutput) ToShareSettingsPtrOutputWithContext(ctx context. return o } +func (o ShareSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShareSettings] { + return pulumix.Output[*ShareSettings]{ + OutputState: o.OutputState, + } +} + func (o ShareSettingsPtrOutput) Elem() ShareSettingsOutput { return o.ApplyT(func(v *ShareSettings) ShareSettings { if v != nil { @@ -2582,6 +2961,12 @@ func (o ShareSettingsResponseOutput) ToShareSettingsResponseOutputWithContext(ct return o } +func (o ShareSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShareSettingsResponse] { + return pulumix.Output[ShareSettingsResponse]{ + OutputState: o.OutputState, + } +} + // A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix. func (o ShareSettingsResponseOutput) FolderMap() pulumi.StringMapOutput { return o.ApplyT(func(v ShareSettingsResponse) map[string]string { return v.FolderMap }).(pulumi.StringMapOutput) @@ -2645,6 +3030,12 @@ func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigOutput) } +func (i ShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigPtrOutput() ShieldedInstanceConfigPtrOutput { return i.ToShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -2686,6 +3077,12 @@ func (i *shieldedInstanceConfigPtrType) ToShieldedInstanceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigPtrOutput) } +func (i *shieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded Instance options. type ShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -2711,6 +3108,12 @@ func (o ShieldedInstanceConfigOutput) ToShieldedInstanceConfigPtrOutputWithConte }).(ShieldedInstanceConfigPtrOutput) } +func (o ShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enabled by default. func (o ShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -2740,6 +3143,12 @@ func (o ShieldedInstanceConfigPtrOutput) ToShieldedInstanceConfigPtrOutputWithCo return o } +func (o ShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceConfigPtrOutput) Elem() ShieldedInstanceConfigOutput { return o.ApplyT(func(v *ShieldedInstanceConfig) ShieldedInstanceConfig { if v != nil { @@ -2805,6 +3214,12 @@ func (o ShieldedInstanceConfigResponseOutput) ToShieldedInstanceConfigResponseOu return o } +func (o ShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfigResponse] { + return pulumix.Output[ShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enabled by default. func (o ShieldedInstanceConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -2855,6 +3270,12 @@ func (i ShieldedInstanceIntegrityPolicyArgs) ToShieldedInstanceIntegrityPolicyOu return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceIntegrityPolicyOutput) } +func (i ShieldedInstanceIntegrityPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[ShieldedInstanceIntegrityPolicy]{ + OutputState: i.ToShieldedInstanceIntegrityPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceIntegrityPolicyArgs) ToShieldedInstanceIntegrityPolicyPtrOutput() ShieldedInstanceIntegrityPolicyPtrOutput { return i.ToShieldedInstanceIntegrityPolicyPtrOutputWithContext(context.Background()) } @@ -2896,6 +3317,12 @@ func (i *shieldedInstanceIntegrityPolicyPtrType) ToShieldedInstanceIntegrityPoli return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceIntegrityPolicyPtrOutput) } +func (i *shieldedInstanceIntegrityPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[*ShieldedInstanceIntegrityPolicy]{ + OutputState: i.ToShieldedInstanceIntegrityPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The policy describes the baseline against which Instance boot integrity is measured. type ShieldedInstanceIntegrityPolicyOutput struct{ *pulumi.OutputState } @@ -2921,6 +3348,12 @@ func (o ShieldedInstanceIntegrityPolicyOutput) ToShieldedInstanceIntegrityPolicy }).(ShieldedInstanceIntegrityPolicyPtrOutput) } +func (o ShieldedInstanceIntegrityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[ShieldedInstanceIntegrityPolicy]{ + OutputState: o.OutputState, + } +} + // Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. func (o ShieldedInstanceIntegrityPolicyOutput) UpdateAutoLearnPolicy() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceIntegrityPolicy) *bool { return v.UpdateAutoLearnPolicy }).(pulumi.BoolPtrOutput) @@ -2940,6 +3373,12 @@ func (o ShieldedInstanceIntegrityPolicyPtrOutput) ToShieldedInstanceIntegrityPol return o } +func (o ShieldedInstanceIntegrityPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[*ShieldedInstanceIntegrityPolicy]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceIntegrityPolicyPtrOutput) Elem() ShieldedInstanceIntegrityPolicyOutput { return o.ApplyT(func(v *ShieldedInstanceIntegrityPolicy) ShieldedInstanceIntegrityPolicy { if v != nil { @@ -2981,6 +3420,12 @@ func (o ShieldedInstanceIntegrityPolicyResponseOutput) ToShieldedInstanceIntegri return o } +func (o ShieldedInstanceIntegrityPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceIntegrityPolicyResponse] { + return pulumix.Output[ShieldedInstanceIntegrityPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. func (o ShieldedInstanceIntegrityPolicyResponseOutput) UpdateAutoLearnPolicy() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceIntegrityPolicyResponse) bool { return v.UpdateAutoLearnPolicy }).(pulumi.BoolOutput) @@ -3029,6 +3474,12 @@ func (i ShieldedVmConfigArgs) ToShieldedVmConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ShieldedVmConfigOutput) } +func (i ShieldedVmConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmConfig] { + return pulumix.Output[ShieldedVmConfig]{ + OutputState: i.ToShieldedVmConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedVmConfigArgs) ToShieldedVmConfigPtrOutput() ShieldedVmConfigPtrOutput { return i.ToShieldedVmConfigPtrOutputWithContext(context.Background()) } @@ -3070,6 +3521,12 @@ func (i *shieldedVmConfigPtrType) ToShieldedVmConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ShieldedVmConfigPtrOutput) } +func (i *shieldedVmConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedVmConfig] { + return pulumix.Output[*ShieldedVmConfig]{ + OutputState: i.ToShieldedVmConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded VM options. type ShieldedVmConfigOutput struct{ *pulumi.OutputState } @@ -3095,6 +3552,12 @@ func (o ShieldedVmConfigOutput) ToShieldedVmConfigPtrOutputWithContext(ctx conte }).(ShieldedVmConfigPtrOutput) } +func (o ShieldedVmConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmConfig] { + return pulumix.Output[ShieldedVmConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. func (o ShieldedVmConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedVmConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -3124,6 +3587,12 @@ func (o ShieldedVmConfigPtrOutput) ToShieldedVmConfigPtrOutputWithContext(ctx co return o } +func (o ShieldedVmConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedVmConfig] { + return pulumix.Output[*ShieldedVmConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedVmConfigPtrOutput) Elem() ShieldedVmConfigOutput { return o.ApplyT(func(v *ShieldedVmConfig) ShieldedVmConfig { if v != nil { @@ -3189,6 +3658,12 @@ func (o ShieldedVmConfigResponseOutput) ToShieldedVmConfigResponseOutputWithCont return o } +func (o ShieldedVmConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmConfigResponse] { + return pulumix.Output[ShieldedVmConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. func (o ShieldedVmConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedVmConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -3239,6 +3714,12 @@ func (i ShieldedVmIntegrityPolicyArgs) ToShieldedVmIntegrityPolicyOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ShieldedVmIntegrityPolicyOutput) } +func (i ShieldedVmIntegrityPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmIntegrityPolicy] { + return pulumix.Output[ShieldedVmIntegrityPolicy]{ + OutputState: i.ToShieldedVmIntegrityPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedVmIntegrityPolicyArgs) ToShieldedVmIntegrityPolicyPtrOutput() ShieldedVmIntegrityPolicyPtrOutput { return i.ToShieldedVmIntegrityPolicyPtrOutputWithContext(context.Background()) } @@ -3280,6 +3761,12 @@ func (i *shieldedVmIntegrityPolicyPtrType) ToShieldedVmIntegrityPolicyPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ShieldedVmIntegrityPolicyPtrOutput) } +func (i *shieldedVmIntegrityPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedVmIntegrityPolicy] { + return pulumix.Output[*ShieldedVmIntegrityPolicy]{ + OutputState: i.ToShieldedVmIntegrityPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The policy describes the baseline against which VM instance boot integrity is measured. type ShieldedVmIntegrityPolicyOutput struct{ *pulumi.OutputState } @@ -3305,6 +3792,12 @@ func (o ShieldedVmIntegrityPolicyOutput) ToShieldedVmIntegrityPolicyPtrOutputWit }).(ShieldedVmIntegrityPolicyPtrOutput) } +func (o ShieldedVmIntegrityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmIntegrityPolicy] { + return pulumix.Output[ShieldedVmIntegrityPolicy]{ + OutputState: o.OutputState, + } +} + // Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. func (o ShieldedVmIntegrityPolicyOutput) UpdateAutoLearnPolicy() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedVmIntegrityPolicy) *bool { return v.UpdateAutoLearnPolicy }).(pulumi.BoolPtrOutput) @@ -3324,6 +3817,12 @@ func (o ShieldedVmIntegrityPolicyPtrOutput) ToShieldedVmIntegrityPolicyPtrOutput return o } +func (o ShieldedVmIntegrityPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedVmIntegrityPolicy] { + return pulumix.Output[*ShieldedVmIntegrityPolicy]{ + OutputState: o.OutputState, + } +} + func (o ShieldedVmIntegrityPolicyPtrOutput) Elem() ShieldedVmIntegrityPolicyOutput { return o.ApplyT(func(v *ShieldedVmIntegrityPolicy) ShieldedVmIntegrityPolicy { if v != nil { @@ -3365,6 +3864,12 @@ func (o ShieldedVmIntegrityPolicyResponseOutput) ToShieldedVmIntegrityPolicyResp return o } +func (o ShieldedVmIntegrityPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmIntegrityPolicyResponse] { + return pulumix.Output[ShieldedVmIntegrityPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. func (o ShieldedVmIntegrityPolicyResponseOutput) UpdateAutoLearnPolicy() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedVmIntegrityPolicyResponse) bool { return v.UpdateAutoLearnPolicy }).(pulumi.BoolOutput) @@ -3407,6 +3912,12 @@ func (i SourceDiskEncryptionKeyArgs) ToSourceDiskEncryptionKeyOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SourceDiskEncryptionKeyOutput) } +func (i SourceDiskEncryptionKeyArgs) ToOutput(ctx context.Context) pulumix.Output[SourceDiskEncryptionKey] { + return pulumix.Output[SourceDiskEncryptionKey]{ + OutputState: i.ToSourceDiskEncryptionKeyOutputWithContext(ctx).OutputState, + } +} + // SourceDiskEncryptionKeyArrayInput is an input type that accepts SourceDiskEncryptionKeyArray and SourceDiskEncryptionKeyArrayOutput values. // You can construct a concrete instance of `SourceDiskEncryptionKeyArrayInput` via: // @@ -3432,6 +3943,12 @@ func (i SourceDiskEncryptionKeyArray) ToSourceDiskEncryptionKeyArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SourceDiskEncryptionKeyArrayOutput) } +func (i SourceDiskEncryptionKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]SourceDiskEncryptionKey] { + return pulumix.Output[[]SourceDiskEncryptionKey]{ + OutputState: i.ToSourceDiskEncryptionKeyArrayOutputWithContext(ctx).OutputState, + } +} + type SourceDiskEncryptionKeyOutput struct{ *pulumi.OutputState } func (SourceDiskEncryptionKeyOutput) ElementType() reflect.Type { @@ -3446,6 +3963,12 @@ func (o SourceDiskEncryptionKeyOutput) ToSourceDiskEncryptionKeyOutputWithContex return o } +func (o SourceDiskEncryptionKeyOutput) ToOutput(ctx context.Context) pulumix.Output[SourceDiskEncryptionKey] { + return pulumix.Output[SourceDiskEncryptionKey]{ + OutputState: o.OutputState, + } +} + // The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. func (o SourceDiskEncryptionKeyOutput) DiskEncryptionKey() CustomerEncryptionKeyPtrOutput { return o.ApplyT(func(v SourceDiskEncryptionKey) *CustomerEncryptionKey { return v.DiskEncryptionKey }).(CustomerEncryptionKeyPtrOutput) @@ -3470,6 +3993,12 @@ func (o SourceDiskEncryptionKeyArrayOutput) ToSourceDiskEncryptionKeyArrayOutput return o } +func (o SourceDiskEncryptionKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceDiskEncryptionKey] { + return pulumix.Output[[]SourceDiskEncryptionKey]{ + OutputState: o.OutputState, + } +} + func (o SourceDiskEncryptionKeyArrayOutput) Index(i pulumi.IntInput) SourceDiskEncryptionKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceDiskEncryptionKey { return vs[0].([]SourceDiskEncryptionKey)[vs[1].(int)] @@ -3497,6 +4026,12 @@ func (o SourceDiskEncryptionKeyResponseOutput) ToSourceDiskEncryptionKeyResponse return o } +func (o SourceDiskEncryptionKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceDiskEncryptionKeyResponse] { + return pulumix.Output[SourceDiskEncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + // The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. func (o SourceDiskEncryptionKeyResponseOutput) DiskEncryptionKey() CustomerEncryptionKeyResponseOutput { return o.ApplyT(func(v SourceDiskEncryptionKeyResponse) CustomerEncryptionKeyResponse { return v.DiskEncryptionKey }).(CustomerEncryptionKeyResponseOutput) @@ -3521,6 +4056,12 @@ func (o SourceDiskEncryptionKeyResponseArrayOutput) ToSourceDiskEncryptionKeyRes return o } +func (o SourceDiskEncryptionKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceDiskEncryptionKeyResponse] { + return pulumix.Output[[]SourceDiskEncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o SourceDiskEncryptionKeyResponseArrayOutput) Index(i pulumi.IntInput) SourceDiskEncryptionKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceDiskEncryptionKeyResponse { return vs[0].([]SourceDiskEncryptionKeyResponse)[vs[1].(int)] @@ -3562,6 +4103,12 @@ func (i SourceInstanceParamsArgs) ToSourceInstanceParamsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SourceInstanceParamsOutput) } +func (i SourceInstanceParamsArgs) ToOutput(ctx context.Context) pulumix.Output[SourceInstanceParams] { + return pulumix.Output[SourceInstanceParams]{ + OutputState: i.ToSourceInstanceParamsOutputWithContext(ctx).OutputState, + } +} + func (i SourceInstanceParamsArgs) ToSourceInstanceParamsPtrOutput() SourceInstanceParamsPtrOutput { return i.ToSourceInstanceParamsPtrOutputWithContext(context.Background()) } @@ -3603,6 +4150,12 @@ func (i *sourceInstanceParamsPtrType) ToSourceInstanceParamsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(SourceInstanceParamsPtrOutput) } +func (i *sourceInstanceParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SourceInstanceParams] { + return pulumix.Output[*SourceInstanceParams]{ + OutputState: i.ToSourceInstanceParamsPtrOutputWithContext(ctx).OutputState, + } +} + // A specification of the parameters to use when creating the instance template from a source instance. type SourceInstanceParamsOutput struct{ *pulumi.OutputState } @@ -3628,6 +4181,12 @@ func (o SourceInstanceParamsOutput) ToSourceInstanceParamsPtrOutputWithContext(c }).(SourceInstanceParamsPtrOutput) } +func (o SourceInstanceParamsOutput) ToOutput(ctx context.Context) pulumix.Output[SourceInstanceParams] { + return pulumix.Output[SourceInstanceParams]{ + OutputState: o.OutputState, + } +} + // Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. func (o SourceInstanceParamsOutput) DiskConfigs() DiskInstantiationConfigArrayOutput { return o.ApplyT(func(v SourceInstanceParams) []DiskInstantiationConfig { return v.DiskConfigs }).(DiskInstantiationConfigArrayOutput) @@ -3647,6 +4206,12 @@ func (o SourceInstanceParamsPtrOutput) ToSourceInstanceParamsPtrOutputWithContex return o } +func (o SourceInstanceParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceInstanceParams] { + return pulumix.Output[*SourceInstanceParams]{ + OutputState: o.OutputState, + } +} + func (o SourceInstanceParamsPtrOutput) Elem() SourceInstanceParamsOutput { return o.ApplyT(func(v *SourceInstanceParams) SourceInstanceParams { if v != nil { @@ -3688,6 +4253,12 @@ func (o SourceInstanceParamsResponseOutput) ToSourceInstanceParamsResponseOutput return o } +func (o SourceInstanceParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceInstanceParamsResponse] { + return pulumix.Output[SourceInstanceParamsResponse]{ + OutputState: o.OutputState, + } +} + // Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. func (o SourceInstanceParamsResponseOutput) DiskConfigs() DiskInstantiationConfigResponseArrayOutput { return o.ApplyT(func(v SourceInstanceParamsResponse) []DiskInstantiationConfigResponse { return v.DiskConfigs }).(DiskInstantiationConfigResponseArrayOutput) @@ -3742,6 +4313,12 @@ func (o SourceInstancePropertiesResponseOutput) ToSourceInstancePropertiesRespon return o } +func (o SourceInstancePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceInstancePropertiesResponse] { + return pulumix.Output[SourceInstancePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information. func (o SourceInstancePropertiesResponseOutput) CanIpForward() pulumi.BoolOutput { return o.ApplyT(func(v SourceInstancePropertiesResponse) bool { return v.CanIpForward }).(pulumi.BoolOutput) @@ -3852,6 +4429,12 @@ func (i SslCertificateManagedSslCertificateArgs) ToSslCertificateManagedSslCerti return pulumi.ToOutputWithContext(ctx, i).(SslCertificateManagedSslCertificateOutput) } +func (i SslCertificateManagedSslCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[SslCertificateManagedSslCertificate] { + return pulumix.Output[SslCertificateManagedSslCertificate]{ + OutputState: i.ToSslCertificateManagedSslCertificateOutputWithContext(ctx).OutputState, + } +} + func (i SslCertificateManagedSslCertificateArgs) ToSslCertificateManagedSslCertificatePtrOutput() SslCertificateManagedSslCertificatePtrOutput { return i.ToSslCertificateManagedSslCertificatePtrOutputWithContext(context.Background()) } @@ -3893,6 +4476,12 @@ func (i *sslCertificateManagedSslCertificatePtrType) ToSslCertificateManagedSslC return pulumi.ToOutputWithContext(ctx, i).(SslCertificateManagedSslCertificatePtrOutput) } +func (i *sslCertificateManagedSslCertificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateManagedSslCertificate] { + return pulumix.Output[*SslCertificateManagedSslCertificate]{ + OutputState: i.ToSslCertificateManagedSslCertificatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration and status of a managed SSL certificate. type SslCertificateManagedSslCertificateOutput struct{ *pulumi.OutputState } @@ -3918,6 +4507,12 @@ func (o SslCertificateManagedSslCertificateOutput) ToSslCertificateManagedSslCer }).(SslCertificateManagedSslCertificatePtrOutput) } +func (o SslCertificateManagedSslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateManagedSslCertificate] { + return pulumix.Output[SslCertificateManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + // The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the [maximum number of domains per Google-managed SSL certificate](/load-balancing/docs/quotas#ssl_certificates). func (o SslCertificateManagedSslCertificateOutput) Domains() pulumi.StringArrayOutput { return o.ApplyT(func(v SslCertificateManagedSslCertificate) []string { return v.Domains }).(pulumi.StringArrayOutput) @@ -3937,6 +4532,12 @@ func (o SslCertificateManagedSslCertificatePtrOutput) ToSslCertificateManagedSsl return o } +func (o SslCertificateManagedSslCertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateManagedSslCertificate] { + return pulumix.Output[*SslCertificateManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateManagedSslCertificatePtrOutput) Elem() SslCertificateManagedSslCertificateOutput { return o.ApplyT(func(v *SslCertificateManagedSslCertificate) SslCertificateManagedSslCertificate { if v != nil { @@ -3982,6 +4583,12 @@ func (o SslCertificateManagedSslCertificateResponseOutput) ToSslCertificateManag return o } +func (o SslCertificateManagedSslCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateManagedSslCertificateResponse] { + return pulumix.Output[SslCertificateManagedSslCertificateResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Detailed statuses of the domains specified for managed certificate resource. func (o SslCertificateManagedSslCertificateResponseOutput) DomainStatus() pulumi.StringMapOutput { return o.ApplyT(func(v SslCertificateManagedSslCertificateResponse) map[string]string { return v.DomainStatus }).(pulumi.StringMapOutput) @@ -4036,6 +4643,12 @@ func (i SslCertificateSelfManagedSslCertificateArgs) ToSslCertificateSelfManaged return pulumi.ToOutputWithContext(ctx, i).(SslCertificateSelfManagedSslCertificateOutput) } +func (i SslCertificateSelfManagedSslCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[SslCertificateSelfManagedSslCertificate]{ + OutputState: i.ToSslCertificateSelfManagedSslCertificateOutputWithContext(ctx).OutputState, + } +} + func (i SslCertificateSelfManagedSslCertificateArgs) ToSslCertificateSelfManagedSslCertificatePtrOutput() SslCertificateSelfManagedSslCertificatePtrOutput { return i.ToSslCertificateSelfManagedSslCertificatePtrOutputWithContext(context.Background()) } @@ -4077,6 +4690,12 @@ func (i *sslCertificateSelfManagedSslCertificatePtrType) ToSslCertificateSelfMan return pulumi.ToOutputWithContext(ctx, i).(SslCertificateSelfManagedSslCertificatePtrOutput) } +func (i *sslCertificateSelfManagedSslCertificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[*SslCertificateSelfManagedSslCertificate]{ + OutputState: i.ToSslCertificateSelfManagedSslCertificatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration and status of a self-managed SSL certificate. type SslCertificateSelfManagedSslCertificateOutput struct{ *pulumi.OutputState } @@ -4102,6 +4721,12 @@ func (o SslCertificateSelfManagedSslCertificateOutput) ToSslCertificateSelfManag }).(SslCertificateSelfManagedSslCertificatePtrOutput) } +func (o SslCertificateSelfManagedSslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[SslCertificateSelfManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + // A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o SslCertificateSelfManagedSslCertificateOutput) Certificate() pulumi.StringPtrOutput { return o.ApplyT(func(v SslCertificateSelfManagedSslCertificate) *string { return v.Certificate }).(pulumi.StringPtrOutput) @@ -4126,6 +4751,12 @@ func (o SslCertificateSelfManagedSslCertificatePtrOutput) ToSslCertificateSelfMa return o } +func (o SslCertificateSelfManagedSslCertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[*SslCertificateSelfManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateSelfManagedSslCertificatePtrOutput) Elem() SslCertificateSelfManagedSslCertificateOutput { return o.ApplyT(func(v *SslCertificateSelfManagedSslCertificate) SslCertificateSelfManagedSslCertificate { if v != nil { @@ -4179,6 +4810,12 @@ func (o SslCertificateSelfManagedSslCertificateResponseOutput) ToSslCertificateS return o } +func (o SslCertificateSelfManagedSslCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateSelfManagedSslCertificateResponse] { + return pulumix.Output[SslCertificateSelfManagedSslCertificateResponse]{ + OutputState: o.OutputState, + } +} + // A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o SslCertificateSelfManagedSslCertificateResponseOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v SslCertificateSelfManagedSslCertificateResponse) string { return v.Certificate }).(pulumi.StringOutput) @@ -4210,6 +4847,12 @@ func (o SslPolicyWarningsItemDataItemResponseOutput) ToSslPolicyWarningsItemData return o } +func (o SslPolicyWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[SslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o SslPolicyWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SslPolicyWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -4234,6 +4877,12 @@ func (o SslPolicyWarningsItemDataItemResponseArrayOutput) ToSslPolicyWarningsIte return o } +func (o SslPolicyWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[[]SslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) SslPolicyWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SslPolicyWarningsItemDataItemResponse { return vs[0].([]SslPolicyWarningsItemDataItemResponse)[vs[1].(int)] @@ -4263,6 +4912,12 @@ func (o SslPolicyWarningsItemResponseOutput) ToSslPolicyWarningsItemResponseOutp return o } +func (o SslPolicyWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyWarningsItemResponse] { + return pulumix.Output[SslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o SslPolicyWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v SslPolicyWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -4292,6 +4947,12 @@ func (o SslPolicyWarningsItemResponseArrayOutput) ToSslPolicyWarningsItemRespons return o } +func (o SslPolicyWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SslPolicyWarningsItemResponse] { + return pulumix.Output[[]SslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) SslPolicyWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SslPolicyWarningsItemResponse { return vs[0].([]SslPolicyWarningsItemResponse)[vs[1].(int)] @@ -4329,6 +4990,12 @@ func (i StatefulPolicyArgs) ToStatefulPolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyOutput) } +func (i StatefulPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicy] { + return pulumix.Output[StatefulPolicy]{ + OutputState: i.ToStatefulPolicyOutputWithContext(ctx).OutputState, + } +} + func (i StatefulPolicyArgs) ToStatefulPolicyPtrOutput() StatefulPolicyPtrOutput { return i.ToStatefulPolicyPtrOutputWithContext(context.Background()) } @@ -4370,6 +5037,12 @@ func (i *statefulPolicyPtrType) ToStatefulPolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyPtrOutput) } +func (i *statefulPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicy] { + return pulumix.Output[*StatefulPolicy]{ + OutputState: i.ToStatefulPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type StatefulPolicyOutput struct{ *pulumi.OutputState } func (StatefulPolicyOutput) ElementType() reflect.Type { @@ -4394,6 +5067,12 @@ func (o StatefulPolicyOutput) ToStatefulPolicyPtrOutputWithContext(ctx context.C }).(StatefulPolicyPtrOutput) } +func (o StatefulPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicy] { + return pulumix.Output[StatefulPolicy]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyOutput) PreservedState() StatefulPolicyPreservedStatePtrOutput { return o.ApplyT(func(v StatefulPolicy) *StatefulPolicyPreservedState { return v.PreservedState }).(StatefulPolicyPreservedStatePtrOutput) } @@ -4412,6 +5091,12 @@ func (o StatefulPolicyPtrOutput) ToStatefulPolicyPtrOutputWithContext(ctx contex return o } +func (o StatefulPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicy] { + return pulumix.Output[*StatefulPolicy]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyPtrOutput) Elem() StatefulPolicyOutput { return o.ApplyT(func(v *StatefulPolicy) StatefulPolicy { if v != nil { @@ -4474,6 +5159,12 @@ func (i StatefulPolicyPreservedStateArgs) ToStatefulPolicyPreservedStateOutputWi return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyPreservedStateOutput) } +func (i StatefulPolicyPreservedStateArgs) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyPreservedState] { + return pulumix.Output[StatefulPolicyPreservedState]{ + OutputState: i.ToStatefulPolicyPreservedStateOutputWithContext(ctx).OutputState, + } +} + func (i StatefulPolicyPreservedStateArgs) ToStatefulPolicyPreservedStatePtrOutput() StatefulPolicyPreservedStatePtrOutput { return i.ToStatefulPolicyPreservedStatePtrOutputWithContext(context.Background()) } @@ -4515,6 +5206,12 @@ func (i *statefulPolicyPreservedStatePtrType) ToStatefulPolicyPreservedStatePtrO return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyPreservedStatePtrOutput) } +func (i *statefulPolicyPreservedStatePtrType) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicyPreservedState] { + return pulumix.Output[*StatefulPolicyPreservedState]{ + OutputState: i.ToStatefulPolicyPreservedStatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of preserved resources. type StatefulPolicyPreservedStateOutput struct{ *pulumi.OutputState } @@ -4540,6 +5237,12 @@ func (o StatefulPolicyPreservedStateOutput) ToStatefulPolicyPreservedStatePtrOut }).(StatefulPolicyPreservedStatePtrOutput) } +func (o StatefulPolicyPreservedStateOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyPreservedState] { + return pulumix.Output[StatefulPolicyPreservedState]{ + OutputState: o.OutputState, + } +} + // Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. func (o StatefulPolicyPreservedStateOutput) Disks() pulumi.StringMapOutput { return o.ApplyT(func(v StatefulPolicyPreservedState) map[string]string { return v.Disks }).(pulumi.StringMapOutput) @@ -4569,6 +5272,12 @@ func (o StatefulPolicyPreservedStatePtrOutput) ToStatefulPolicyPreservedStatePtr return o } +func (o StatefulPolicyPreservedStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicyPreservedState] { + return pulumix.Output[*StatefulPolicyPreservedState]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyPreservedStatePtrOutput) Elem() StatefulPolicyPreservedStateOutput { return o.ApplyT(func(v *StatefulPolicyPreservedState) StatefulPolicyPreservedState { if v != nil { @@ -4634,6 +5343,12 @@ func (o StatefulPolicyPreservedStateResponseOutput) ToStatefulPolicyPreservedSta return o } +func (o StatefulPolicyPreservedStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyPreservedStateResponse] { + return pulumix.Output[StatefulPolicyPreservedStateResponse]{ + OutputState: o.OutputState, + } +} + // Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. func (o StatefulPolicyPreservedStateResponseOutput) Disks() pulumi.StringMapOutput { return o.ApplyT(func(v StatefulPolicyPreservedStateResponse) map[string]string { return v.Disks }).(pulumi.StringMapOutput) @@ -4667,6 +5382,12 @@ func (o StatefulPolicyResponseOutput) ToStatefulPolicyResponseOutputWithContext( return o } +func (o StatefulPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyResponse] { + return pulumix.Output[StatefulPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyResponseOutput) PreservedState() StatefulPolicyPreservedStateResponseOutput { return o.ApplyT(func(v StatefulPolicyResponse) StatefulPolicyPreservedStateResponse { return v.PreservedState }).(StatefulPolicyPreservedStateResponseOutput) } @@ -4704,6 +5425,12 @@ func (o StoragePoolResourceStatusResponseOutput) ToStoragePoolResourceStatusResp return o } +func (o StoragePoolResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StoragePoolResourceStatusResponse] { + return pulumix.Output[StoragePoolResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Sum of all the disk' provisioned IOPS. func (o StoragePoolResourceStatusResponseOutput) AggregateDiskProvisionedIops() pulumi.StringOutput { return o.ApplyT(func(v StoragePoolResourceStatusResponse) string { return v.AggregateDiskProvisionedIops }).(pulumi.StringOutput) @@ -4794,6 +5521,12 @@ func (i SubnetworkLogConfigArgs) ToSubnetworkLogConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SubnetworkLogConfigOutput) } +func (i SubnetworkLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfig] { + return pulumix.Output[SubnetworkLogConfig]{ + OutputState: i.ToSubnetworkLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i SubnetworkLogConfigArgs) ToSubnetworkLogConfigPtrOutput() SubnetworkLogConfigPtrOutput { return i.ToSubnetworkLogConfigPtrOutputWithContext(context.Background()) } @@ -4835,6 +5568,12 @@ func (i *subnetworkLogConfigPtrType) ToSubnetworkLogConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(SubnetworkLogConfigPtrOutput) } +func (i *subnetworkLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfig] { + return pulumix.Output[*SubnetworkLogConfig]{ + OutputState: i.ToSubnetworkLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The available logging options for this subnetwork. type SubnetworkLogConfigOutput struct{ *pulumi.OutputState } @@ -4860,6 +5599,12 @@ func (o SubnetworkLogConfigOutput) ToSubnetworkLogConfigPtrOutputWithContext(ctx }).(SubnetworkLogConfigPtrOutput) } +func (o SubnetworkLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfig] { + return pulumix.Output[SubnetworkLogConfig]{ + OutputState: o.OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. func (o SubnetworkLogConfigOutput) AggregationInterval() SubnetworkLogConfigAggregationIntervalPtrOutput { return o.ApplyT(func(v SubnetworkLogConfig) *SubnetworkLogConfigAggregationInterval { return v.AggregationInterval }).(SubnetworkLogConfigAggregationIntervalPtrOutput) @@ -4904,6 +5649,12 @@ func (o SubnetworkLogConfigPtrOutput) ToSubnetworkLogConfigPtrOutputWithContext( return o } +func (o SubnetworkLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfig] { + return pulumix.Output[*SubnetworkLogConfig]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigPtrOutput) Elem() SubnetworkLogConfigOutput { return o.ApplyT(func(v *SubnetworkLogConfig) SubnetworkLogConfig { if v != nil { @@ -5005,6 +5756,12 @@ func (o SubnetworkLogConfigResponseOutput) ToSubnetworkLogConfigResponseOutputWi return o } +func (o SubnetworkLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfigResponse] { + return pulumix.Output[SubnetworkLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. func (o SubnetworkLogConfigResponseOutput) AggregationInterval() pulumi.StringOutput { return o.ApplyT(func(v SubnetworkLogConfigResponse) string { return v.AggregationInterval }).(pulumi.StringOutput) @@ -5078,6 +5835,12 @@ func (i SubnetworkSecondaryRangeArgs) ToSubnetworkSecondaryRangeOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SubnetworkSecondaryRangeOutput) } +func (i SubnetworkSecondaryRangeArgs) ToOutput(ctx context.Context) pulumix.Output[SubnetworkSecondaryRange] { + return pulumix.Output[SubnetworkSecondaryRange]{ + OutputState: i.ToSubnetworkSecondaryRangeOutputWithContext(ctx).OutputState, + } +} + // SubnetworkSecondaryRangeArrayInput is an input type that accepts SubnetworkSecondaryRangeArray and SubnetworkSecondaryRangeArrayOutput values. // You can construct a concrete instance of `SubnetworkSecondaryRangeArrayInput` via: // @@ -5103,6 +5866,12 @@ func (i SubnetworkSecondaryRangeArray) ToSubnetworkSecondaryRangeArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(SubnetworkSecondaryRangeArrayOutput) } +func (i SubnetworkSecondaryRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]SubnetworkSecondaryRange] { + return pulumix.Output[[]SubnetworkSecondaryRange]{ + OutputState: i.ToSubnetworkSecondaryRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a secondary IP range of a subnetwork. type SubnetworkSecondaryRangeOutput struct{ *pulumi.OutputState } @@ -5118,6 +5887,12 @@ func (o SubnetworkSecondaryRangeOutput) ToSubnetworkSecondaryRangeOutputWithCont return o } +func (o SubnetworkSecondaryRangeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkSecondaryRange] { + return pulumix.Output[SubnetworkSecondaryRange]{ + OutputState: o.OutputState, + } +} + // The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. func (o SubnetworkSecondaryRangeOutput) IpCidrRange() pulumi.StringPtrOutput { return o.ApplyT(func(v SubnetworkSecondaryRange) *string { return v.IpCidrRange }).(pulumi.StringPtrOutput) @@ -5147,6 +5922,12 @@ func (o SubnetworkSecondaryRangeArrayOutput) ToSubnetworkSecondaryRangeArrayOutp return o } +func (o SubnetworkSecondaryRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubnetworkSecondaryRange] { + return pulumix.Output[[]SubnetworkSecondaryRange]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkSecondaryRangeArrayOutput) Index(i pulumi.IntInput) SubnetworkSecondaryRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetworkSecondaryRange { return vs[0].([]SubnetworkSecondaryRange)[vs[1].(int)] @@ -5178,6 +5959,12 @@ func (o SubnetworkSecondaryRangeResponseOutput) ToSubnetworkSecondaryRangeRespon return o } +func (o SubnetworkSecondaryRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkSecondaryRangeResponse] { + return pulumix.Output[SubnetworkSecondaryRangeResponse]{ + OutputState: o.OutputState, + } +} + // The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. func (o SubnetworkSecondaryRangeResponseOutput) IpCidrRange() pulumi.StringOutput { return o.ApplyT(func(v SubnetworkSecondaryRangeResponse) string { return v.IpCidrRange }).(pulumi.StringOutput) @@ -5207,6 +5994,12 @@ func (o SubnetworkSecondaryRangeResponseArrayOutput) ToSubnetworkSecondaryRangeR return o } +func (o SubnetworkSecondaryRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubnetworkSecondaryRangeResponse] { + return pulumix.Output[[]SubnetworkSecondaryRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkSecondaryRangeResponseArrayOutput) Index(i pulumi.IntInput) SubnetworkSecondaryRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetworkSecondaryRangeResponse { return vs[0].([]SubnetworkSecondaryRangeResponse)[vs[1].(int)] @@ -5250,6 +6043,12 @@ func (i SubsettingArgs) ToSubsettingOutputWithContext(ctx context.Context) Subse return pulumi.ToOutputWithContext(ctx, i).(SubsettingOutput) } +func (i SubsettingArgs) ToOutput(ctx context.Context) pulumix.Output[Subsetting] { + return pulumix.Output[Subsetting]{ + OutputState: i.ToSubsettingOutputWithContext(ctx).OutputState, + } +} + func (i SubsettingArgs) ToSubsettingPtrOutput() SubsettingPtrOutput { return i.ToSubsettingPtrOutputWithContext(context.Background()) } @@ -5291,6 +6090,12 @@ func (i *subsettingPtrType) ToSubsettingPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SubsettingPtrOutput) } +func (i *subsettingPtrType) ToOutput(ctx context.Context) pulumix.Output[*Subsetting] { + return pulumix.Output[*Subsetting]{ + OutputState: i.ToSubsettingPtrOutputWithContext(ctx).OutputState, + } +} + // Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director. type SubsettingOutput struct{ *pulumi.OutputState } @@ -5316,6 +6121,12 @@ func (o SubsettingOutput) ToSubsettingPtrOutputWithContext(ctx context.Context) }).(SubsettingPtrOutput) } +func (o SubsettingOutput) ToOutput(ctx context.Context) pulumix.Output[Subsetting] { + return pulumix.Output[Subsetting]{ + OutputState: o.OutputState, + } +} + func (o SubsettingOutput) Policy() SubsettingPolicyPtrOutput { return o.ApplyT(func(v Subsetting) *SubsettingPolicy { return v.Policy }).(SubsettingPolicyPtrOutput) } @@ -5339,6 +6150,12 @@ func (o SubsettingPtrOutput) ToSubsettingPtrOutputWithContext(ctx context.Contex return o } +func (o SubsettingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Subsetting] { + return pulumix.Output[*Subsetting]{ + OutputState: o.OutputState, + } +} + func (o SubsettingPtrOutput) Elem() SubsettingOutput { return o.ApplyT(func(v *Subsetting) Subsetting { if v != nil { @@ -5390,6 +6207,12 @@ func (o SubsettingResponseOutput) ToSubsettingResponseOutputWithContext(ctx cont return o } +func (o SubsettingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubsettingResponse] { + return pulumix.Output[SubsettingResponse]{ + OutputState: o.OutputState, + } +} + func (o SubsettingResponseOutput) Policy() pulumi.StringOutput { return o.ApplyT(func(v SubsettingResponse) string { return v.Policy }).(pulumi.StringOutput) } @@ -5452,6 +6275,12 @@ func (i TCPHealthCheckArgs) ToTCPHealthCheckOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(TCPHealthCheckOutput) } +func (i TCPHealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheck] { + return pulumix.Output[TCPHealthCheck]{ + OutputState: i.ToTCPHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i TCPHealthCheckArgs) ToTCPHealthCheckPtrOutput() TCPHealthCheckPtrOutput { return i.ToTCPHealthCheckPtrOutputWithContext(context.Background()) } @@ -5493,6 +6322,12 @@ func (i *tcphealthCheckPtrType) ToTCPHealthCheckPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(TCPHealthCheckPtrOutput) } +func (i *tcphealthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheck] { + return pulumix.Output[*TCPHealthCheck]{ + OutputState: i.ToTCPHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type TCPHealthCheckOutput struct{ *pulumi.OutputState } func (TCPHealthCheckOutput) ElementType() reflect.Type { @@ -5517,6 +6352,12 @@ func (o TCPHealthCheckOutput) ToTCPHealthCheckPtrOutputWithContext(ctx context.C }).(TCPHealthCheckPtrOutput) } +func (o TCPHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheck] { + return pulumix.Output[TCPHealthCheck]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535. func (o TCPHealthCheckOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v TCPHealthCheck) *int { return v.Port }).(pulumi.IntPtrOutput) @@ -5561,6 +6402,12 @@ func (o TCPHealthCheckPtrOutput) ToTCPHealthCheckPtrOutputWithContext(ctx contex return o } +func (o TCPHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheck] { + return pulumix.Output[*TCPHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckPtrOutput) Elem() TCPHealthCheckOutput { return o.ApplyT(func(v *TCPHealthCheck) TCPHealthCheck { if v != nil { @@ -5660,6 +6507,12 @@ func (o TCPHealthCheckResponseOutput) ToTCPHealthCheckResponseOutputWithContext( return o } +func (o TCPHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheckResponse] { + return pulumix.Output[TCPHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535. func (o TCPHealthCheckResponseOutput) Port() pulumi.IntOutput { return o.ApplyT(func(v TCPHealthCheckResponse) int { return v.Port }).(pulumi.IntOutput) @@ -5725,6 +6578,12 @@ func (i TagsArgs) ToTagsOutputWithContext(ctx context.Context) TagsOutput { return pulumi.ToOutputWithContext(ctx, i).(TagsOutput) } +func (i TagsArgs) ToOutput(ctx context.Context) pulumix.Output[Tags] { + return pulumix.Output[Tags]{ + OutputState: i.ToTagsOutputWithContext(ctx).OutputState, + } +} + func (i TagsArgs) ToTagsPtrOutput() TagsPtrOutput { return i.ToTagsPtrOutputWithContext(context.Background()) } @@ -5766,6 +6625,12 @@ func (i *tagsPtrType) ToTagsPtrOutputWithContext(ctx context.Context) TagsPtrOut return pulumi.ToOutputWithContext(ctx, i).(TagsPtrOutput) } +func (i *tagsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Tags] { + return pulumix.Output[*Tags]{ + OutputState: i.ToTagsPtrOutputWithContext(ctx).OutputState, + } +} + // A set of instance tags. type TagsOutput struct{ *pulumi.OutputState } @@ -5791,6 +6656,12 @@ func (o TagsOutput) ToTagsPtrOutputWithContext(ctx context.Context) TagsPtrOutpu }).(TagsPtrOutput) } +func (o TagsOutput) ToOutput(ctx context.Context) pulumix.Output[Tags] { + return pulumix.Output[Tags]{ + OutputState: o.OutputState, + } +} + // An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. func (o TagsOutput) Items() pulumi.StringArrayOutput { return o.ApplyT(func(v Tags) []string { return v.Items }).(pulumi.StringArrayOutput) @@ -5810,6 +6681,12 @@ func (o TagsPtrOutput) ToTagsPtrOutputWithContext(ctx context.Context) TagsPtrOu return o } +func (o TagsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Tags] { + return pulumix.Output[*Tags]{ + OutputState: o.OutputState, + } +} + func (o TagsPtrOutput) Elem() TagsOutput { return o.ApplyT(func(v *Tags) Tags { if v != nil { @@ -5853,6 +6730,12 @@ func (o TagsResponseOutput) ToTagsResponseOutputWithContext(ctx context.Context) return o } +func (o TagsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TagsResponse] { + return pulumix.Output[TagsResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance. func (o TagsResponseOutput) Fingerprint() pulumi.StringOutput { return o.ApplyT(func(v TagsResponse) string { return v.Fingerprint }).(pulumi.StringOutput) @@ -5906,6 +6789,12 @@ func (i TlsCertificateContextArgs) ToTlsCertificateContextOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(TlsCertificateContextOutput) } +func (i TlsCertificateContextArgs) ToOutput(ctx context.Context) pulumix.Output[TlsCertificateContext] { + return pulumix.Output[TlsCertificateContext]{ + OutputState: i.ToTlsCertificateContextOutputWithContext(ctx).OutputState, + } +} + func (i TlsCertificateContextArgs) ToTlsCertificateContextPtrOutput() TlsCertificateContextPtrOutput { return i.ToTlsCertificateContextPtrOutputWithContext(context.Background()) } @@ -5947,6 +6836,12 @@ func (i *tlsCertificateContextPtrType) ToTlsCertificateContextPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(TlsCertificateContextPtrOutput) } +func (i *tlsCertificateContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*TlsCertificateContext] { + return pulumix.Output[*TlsCertificateContext]{ + OutputState: i.ToTlsCertificateContextPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Defines the mechanism to obtain the client or server certificate. Defines the mechanism to obtain the client or server certificate. type TlsCertificateContextOutput struct{ *pulumi.OutputState } @@ -5972,6 +6867,12 @@ func (o TlsCertificateContextOutput) ToTlsCertificateContextPtrOutputWithContext }).(TlsCertificateContextPtrOutput) } +func (o TlsCertificateContextOutput) ToOutput(ctx context.Context) pulumix.Output[TlsCertificateContext] { + return pulumix.Output[TlsCertificateContext]{ + OutputState: o.OutputState, + } +} + // Specifies the certificate and private key paths. This field is applicable only if tlsCertificateSource is set to USE_PATH. func (o TlsCertificateContextOutput) CertificatePaths() TlsCertificatePathsPtrOutput { return o.ApplyT(func(v TlsCertificateContext) *TlsCertificatePaths { return v.CertificatePaths }).(TlsCertificatePathsPtrOutput) @@ -6001,6 +6902,12 @@ func (o TlsCertificateContextPtrOutput) ToTlsCertificateContextPtrOutputWithCont return o } +func (o TlsCertificateContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TlsCertificateContext] { + return pulumix.Output[*TlsCertificateContext]{ + OutputState: o.OutputState, + } +} + func (o TlsCertificateContextPtrOutput) Elem() TlsCertificateContextOutput { return o.ApplyT(func(v *TlsCertificateContext) TlsCertificateContext { if v != nil { @@ -6066,6 +6973,12 @@ func (o TlsCertificateContextResponseOutput) ToTlsCertificateContextResponseOutp return o } +func (o TlsCertificateContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsCertificateContextResponse] { + return pulumix.Output[TlsCertificateContextResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the certificate and private key paths. This field is applicable only if tlsCertificateSource is set to USE_PATH. func (o TlsCertificateContextResponseOutput) CertificatePaths() TlsCertificatePathsResponseOutput { return o.ApplyT(func(v TlsCertificateContextResponse) TlsCertificatePathsResponse { return v.CertificatePaths }).(TlsCertificatePathsResponseOutput) @@ -6120,6 +7033,12 @@ func (i TlsCertificatePathsArgs) ToTlsCertificatePathsOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TlsCertificatePathsOutput) } +func (i TlsCertificatePathsArgs) ToOutput(ctx context.Context) pulumix.Output[TlsCertificatePaths] { + return pulumix.Output[TlsCertificatePaths]{ + OutputState: i.ToTlsCertificatePathsOutputWithContext(ctx).OutputState, + } +} + func (i TlsCertificatePathsArgs) ToTlsCertificatePathsPtrOutput() TlsCertificatePathsPtrOutput { return i.ToTlsCertificatePathsPtrOutputWithContext(context.Background()) } @@ -6161,6 +7080,12 @@ func (i *tlsCertificatePathsPtrType) ToTlsCertificatePathsPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(TlsCertificatePathsPtrOutput) } +func (i *tlsCertificatePathsPtrType) ToOutput(ctx context.Context) pulumix.Output[*TlsCertificatePaths] { + return pulumix.Output[*TlsCertificatePaths]{ + OutputState: i.ToTlsCertificatePathsPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] The paths to the mounted TLS Certificates and private key. The paths to the mounted TLS Certificates and private key. type TlsCertificatePathsOutput struct{ *pulumi.OutputState } @@ -6186,6 +7111,12 @@ func (o TlsCertificatePathsOutput) ToTlsCertificatePathsPtrOutputWithContext(ctx }).(TlsCertificatePathsPtrOutput) } +func (o TlsCertificatePathsOutput) ToOutput(ctx context.Context) pulumix.Output[TlsCertificatePaths] { + return pulumix.Output[TlsCertificatePaths]{ + OutputState: o.OutputState, + } +} + // The path to the file holding the client or server TLS certificate to use. func (o TlsCertificatePathsOutput) CertificatePath() pulumi.StringPtrOutput { return o.ApplyT(func(v TlsCertificatePaths) *string { return v.CertificatePath }).(pulumi.StringPtrOutput) @@ -6210,6 +7141,12 @@ func (o TlsCertificatePathsPtrOutput) ToTlsCertificatePathsPtrOutputWithContext( return o } +func (o TlsCertificatePathsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TlsCertificatePaths] { + return pulumix.Output[*TlsCertificatePaths]{ + OutputState: o.OutputState, + } +} + func (o TlsCertificatePathsPtrOutput) Elem() TlsCertificatePathsOutput { return o.ApplyT(func(v *TlsCertificatePaths) TlsCertificatePaths { if v != nil { @@ -6263,6 +7200,12 @@ func (o TlsCertificatePathsResponseOutput) ToTlsCertificatePathsResponseOutputWi return o } +func (o TlsCertificatePathsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsCertificatePathsResponse] { + return pulumix.Output[TlsCertificatePathsResponse]{ + OutputState: o.OutputState, + } +} + // The path to the file holding the client or server TLS certificate to use. func (o TlsCertificatePathsResponseOutput) CertificatePath() pulumi.StringOutput { return o.ApplyT(func(v TlsCertificatePathsResponse) string { return v.CertificatePath }).(pulumi.StringOutput) @@ -6312,6 +7255,12 @@ func (i TlsContextArgs) ToTlsContextOutputWithContext(ctx context.Context) TlsCo return pulumi.ToOutputWithContext(ctx, i).(TlsContextOutput) } +func (i TlsContextArgs) ToOutput(ctx context.Context) pulumix.Output[TlsContext] { + return pulumix.Output[TlsContext]{ + OutputState: i.ToTlsContextOutputWithContext(ctx).OutputState, + } +} + func (i TlsContextArgs) ToTlsContextPtrOutput() TlsContextPtrOutput { return i.ToTlsContextPtrOutputWithContext(context.Background()) } @@ -6353,6 +7302,12 @@ func (i *tlsContextPtrType) ToTlsContextPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TlsContextPtrOutput) } +func (i *tlsContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*TlsContext] { + return pulumix.Output[*TlsContext]{ + OutputState: i.ToTlsContextPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] The TLS settings for the client or server. The TLS settings for the client or server. type TlsContextOutput struct{ *pulumi.OutputState } @@ -6378,6 +7333,12 @@ func (o TlsContextOutput) ToTlsContextPtrOutputWithContext(ctx context.Context) }).(TlsContextPtrOutput) } +func (o TlsContextOutput) ToOutput(ctx context.Context) pulumix.Output[TlsContext] { + return pulumix.Output[TlsContext]{ + OutputState: o.OutputState, + } +} + // Defines the mechanism to obtain the client or server certificate. func (o TlsContextOutput) CertificateContext() TlsCertificateContextPtrOutput { return o.ApplyT(func(v TlsContext) *TlsCertificateContext { return v.CertificateContext }).(TlsCertificateContextPtrOutput) @@ -6402,6 +7363,12 @@ func (o TlsContextPtrOutput) ToTlsContextPtrOutputWithContext(ctx context.Contex return o } +func (o TlsContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TlsContext] { + return pulumix.Output[*TlsContext]{ + OutputState: o.OutputState, + } +} + func (o TlsContextPtrOutput) Elem() TlsContextOutput { return o.ApplyT(func(v *TlsContext) TlsContext { if v != nil { @@ -6455,6 +7422,12 @@ func (o TlsContextResponseOutput) ToTlsContextResponseOutputWithContext(ctx cont return o } +func (o TlsContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsContextResponse] { + return pulumix.Output[TlsContextResponse]{ + OutputState: o.OutputState, + } +} + // Defines the mechanism to obtain the client or server certificate. func (o TlsContextResponseOutput) CertificateContext() TlsCertificateContextResponseOutput { return o.ApplyT(func(v TlsContextResponse) TlsCertificateContextResponse { return v.CertificateContext }).(TlsCertificateContextResponseOutput) @@ -6508,6 +7481,12 @@ func (i TlsValidationContextArgs) ToTlsValidationContextOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(TlsValidationContextOutput) } +func (i TlsValidationContextArgs) ToOutput(ctx context.Context) pulumix.Output[TlsValidationContext] { + return pulumix.Output[TlsValidationContext]{ + OutputState: i.ToTlsValidationContextOutputWithContext(ctx).OutputState, + } +} + func (i TlsValidationContextArgs) ToTlsValidationContextPtrOutput() TlsValidationContextPtrOutput { return i.ToTlsValidationContextPtrOutputWithContext(context.Background()) } @@ -6549,6 +7528,12 @@ func (i *tlsValidationContextPtrType) ToTlsValidationContextPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(TlsValidationContextPtrOutput) } +func (i *tlsValidationContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*TlsValidationContext] { + return pulumix.Output[*TlsValidationContext]{ + OutputState: i.ToTlsValidationContextPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. validate the client/server certificate. type TlsValidationContextOutput struct{ *pulumi.OutputState } @@ -6574,6 +7559,12 @@ func (o TlsValidationContextOutput) ToTlsValidationContextPtrOutputWithContext(c }).(TlsValidationContextPtrOutput) } +func (o TlsValidationContextOutput) ToOutput(ctx context.Context) pulumix.Output[TlsValidationContext] { + return pulumix.Output[TlsValidationContext]{ + OutputState: o.OutputState, + } +} + // The path to the file holding the CA certificate to validate the client or server certificate. func (o TlsValidationContextOutput) CertificatePath() pulumi.StringPtrOutput { return o.ApplyT(func(v TlsValidationContext) *string { return v.CertificatePath }).(pulumi.StringPtrOutput) @@ -6603,6 +7594,12 @@ func (o TlsValidationContextPtrOutput) ToTlsValidationContextPtrOutputWithContex return o } +func (o TlsValidationContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TlsValidationContext] { + return pulumix.Output[*TlsValidationContext]{ + OutputState: o.OutputState, + } +} + func (o TlsValidationContextPtrOutput) Elem() TlsValidationContextOutput { return o.ApplyT(func(v *TlsValidationContext) TlsValidationContext { if v != nil { @@ -6668,6 +7665,12 @@ func (o TlsValidationContextResponseOutput) ToTlsValidationContextResponseOutput return o } +func (o TlsValidationContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsValidationContextResponse] { + return pulumix.Output[TlsValidationContextResponse]{ + OutputState: o.OutputState, + } +} + // The path to the file holding the CA certificate to validate the client or server certificate. func (o TlsValidationContextResponseOutput) CertificatePath() pulumi.StringOutput { return o.ApplyT(func(v TlsValidationContextResponse) string { return v.CertificatePath }).(pulumi.StringOutput) @@ -6728,6 +7731,12 @@ func (i UDPHealthCheckArgs) ToUDPHealthCheckOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(UDPHealthCheckOutput) } +func (i UDPHealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[UDPHealthCheck] { + return pulumix.Output[UDPHealthCheck]{ + OutputState: i.ToUDPHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i UDPHealthCheckArgs) ToUDPHealthCheckPtrOutput() UDPHealthCheckPtrOutput { return i.ToUDPHealthCheckPtrOutputWithContext(context.Background()) } @@ -6769,6 +7778,12 @@ func (i *udphealthCheckPtrType) ToUDPHealthCheckPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(UDPHealthCheckPtrOutput) } +func (i *udphealthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*UDPHealthCheck] { + return pulumix.Output[*UDPHealthCheck]{ + OutputState: i.ToUDPHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type UDPHealthCheckOutput struct{ *pulumi.OutputState } func (UDPHealthCheckOutput) ElementType() reflect.Type { @@ -6793,6 +7808,12 @@ func (o UDPHealthCheckOutput) ToUDPHealthCheckPtrOutputWithContext(ctx context.C }).(UDPHealthCheckPtrOutput) } +func (o UDPHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[UDPHealthCheck] { + return pulumix.Output[UDPHealthCheck]{ + OutputState: o.OutputState, + } +} + // The UDP port number to which the health check prober sends packets. Valid values are 1 through 65535. func (o UDPHealthCheckOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v UDPHealthCheck) *int { return v.Port }).(pulumi.IntPtrOutput) @@ -6827,6 +7848,12 @@ func (o UDPHealthCheckPtrOutput) ToUDPHealthCheckPtrOutputWithContext(ctx contex return o } +func (o UDPHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UDPHealthCheck] { + return pulumix.Output[*UDPHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o UDPHealthCheckPtrOutput) Elem() UDPHealthCheckOutput { return o.ApplyT(func(v *UDPHealthCheck) UDPHealthCheck { if v != nil { @@ -6902,6 +7929,12 @@ func (o UDPHealthCheckResponseOutput) ToUDPHealthCheckResponseOutputWithContext( return o } +func (o UDPHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UDPHealthCheckResponse] { + return pulumix.Output[UDPHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The UDP port number to which the health check prober sends packets. Valid values are 1 through 65535. func (o UDPHealthCheckResponseOutput) Port() pulumi.IntOutput { return o.ApplyT(func(v UDPHealthCheckResponse) int { return v.Port }).(pulumi.IntOutput) @@ -6941,6 +7974,12 @@ func (o Uint128ResponseOutput) ToUint128ResponseOutputWithContext(ctx context.Co return o } +func (o Uint128ResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Uint128Response] { + return pulumix.Output[Uint128Response]{ + OutputState: o.OutputState, + } +} + func (o Uint128ResponseOutput) High() pulumi.StringOutput { return o.ApplyT(func(v Uint128Response) string { return v.High }).(pulumi.StringOutput) } @@ -6991,6 +8030,12 @@ func (o UpcomingMaintenanceResponseOutput) ToUpcomingMaintenanceResponseOutputWi return o } +func (o UpcomingMaintenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpcomingMaintenanceResponse] { + return pulumix.Output[UpcomingMaintenanceResponse]{ + OutputState: o.OutputState, + } +} + // Indicates if the maintenance can be customer triggered. From more detail, see go/sf-ctm-design. func (o UpcomingMaintenanceResponseOutput) CanReschedule() pulumi.BoolOutput { return o.ApplyT(func(v UpcomingMaintenanceResponse) bool { return v.CanReschedule }).(pulumi.BoolOutput) @@ -7062,6 +8107,12 @@ func (o UpcomingMaintenanceTimeWindowResponseOutput) ToUpcomingMaintenanceTimeWi return o } +func (o UpcomingMaintenanceTimeWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpcomingMaintenanceTimeWindowResponse] { + return pulumix.Output[UpcomingMaintenanceTimeWindowResponse]{ + OutputState: o.OutputState, + } +} + func (o UpcomingMaintenanceTimeWindowResponseOutput) Earliest() pulumi.StringOutput { return o.ApplyT(func(v UpcomingMaintenanceTimeWindowResponse) string { return v.Earliest }).(pulumi.StringOutput) } @@ -7141,6 +8192,12 @@ func (i UrlMapTestArgs) ToUrlMapTestOutputWithContext(ctx context.Context) UrlMa return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestOutput) } +func (i UrlMapTestArgs) ToOutput(ctx context.Context) pulumix.Output[UrlMapTest] { + return pulumix.Output[UrlMapTest]{ + OutputState: i.ToUrlMapTestOutputWithContext(ctx).OutputState, + } +} + // UrlMapTestArrayInput is an input type that accepts UrlMapTestArray and UrlMapTestArrayOutput values. // You can construct a concrete instance of `UrlMapTestArrayInput` via: // @@ -7166,6 +8223,12 @@ func (i UrlMapTestArray) ToUrlMapTestArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestArrayOutput) } +func (i UrlMapTestArray) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTest] { + return pulumix.Output[[]UrlMapTest]{ + OutputState: i.ToUrlMapTestArrayOutputWithContext(ctx).OutputState, + } +} + // Message for the expected URL mappings. type UrlMapTestOutput struct{ *pulumi.OutputState } @@ -7181,6 +8244,12 @@ func (o UrlMapTestOutput) ToUrlMapTestOutputWithContext(ctx context.Context) Url return o } +func (o UrlMapTestOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTest] { + return pulumix.Output[UrlMapTest]{ + OutputState: o.OutputState, + } +} + // The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting. func (o UrlMapTestOutput) BackendServiceWeight() pulumi.IntPtrOutput { return o.ApplyT(func(v UrlMapTest) *int { return v.BackendServiceWeight }).(pulumi.IntPtrOutput) @@ -7242,6 +8311,12 @@ func (o UrlMapTestArrayOutput) ToUrlMapTestArrayOutputWithContext(ctx context.Co return o } +func (o UrlMapTestArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTest] { + return pulumix.Output[[]UrlMapTest]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestArrayOutput) Index(i pulumi.IntInput) UrlMapTestOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTest { return vs[0].([]UrlMapTest)[vs[1].(int)] @@ -7287,6 +8362,12 @@ func (i UrlMapTestHeaderArgs) ToUrlMapTestHeaderOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestHeaderOutput) } +func (i UrlMapTestHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestHeader] { + return pulumix.Output[UrlMapTestHeader]{ + OutputState: i.ToUrlMapTestHeaderOutputWithContext(ctx).OutputState, + } +} + // UrlMapTestHeaderArrayInput is an input type that accepts UrlMapTestHeaderArray and UrlMapTestHeaderArrayOutput values. // You can construct a concrete instance of `UrlMapTestHeaderArrayInput` via: // @@ -7312,6 +8393,12 @@ func (i UrlMapTestHeaderArray) ToUrlMapTestHeaderArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestHeaderArrayOutput) } +func (i UrlMapTestHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestHeader] { + return pulumix.Output[[]UrlMapTestHeader]{ + OutputState: i.ToUrlMapTestHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // HTTP headers used in UrlMapTests. type UrlMapTestHeaderOutput struct{ *pulumi.OutputState } @@ -7327,6 +8414,12 @@ func (o UrlMapTestHeaderOutput) ToUrlMapTestHeaderOutputWithContext(ctx context. return o } +func (o UrlMapTestHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestHeader] { + return pulumix.Output[UrlMapTestHeader]{ + OutputState: o.OutputState, + } +} + // Header name. func (o UrlMapTestHeaderOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v UrlMapTestHeader) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -7351,6 +8444,12 @@ func (o UrlMapTestHeaderArrayOutput) ToUrlMapTestHeaderArrayOutputWithContext(ct return o } +func (o UrlMapTestHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestHeader] { + return pulumix.Output[[]UrlMapTestHeader]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestHeaderArrayOutput) Index(i pulumi.IntInput) UrlMapTestHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTestHeader { return vs[0].([]UrlMapTestHeader)[vs[1].(int)] @@ -7380,6 +8479,12 @@ func (o UrlMapTestHeaderResponseOutput) ToUrlMapTestHeaderResponseOutputWithCont return o } +func (o UrlMapTestHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestHeaderResponse] { + return pulumix.Output[UrlMapTestHeaderResponse]{ + OutputState: o.OutputState, + } +} + // Header name. func (o UrlMapTestHeaderResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v UrlMapTestHeaderResponse) string { return v.Name }).(pulumi.StringOutput) @@ -7404,6 +8509,12 @@ func (o UrlMapTestHeaderResponseArrayOutput) ToUrlMapTestHeaderResponseArrayOutp return o } +func (o UrlMapTestHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestHeaderResponse] { + return pulumix.Output[[]UrlMapTestHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestHeaderResponseArrayOutput) Index(i pulumi.IntInput) UrlMapTestHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTestHeaderResponse { return vs[0].([]UrlMapTestHeaderResponse)[vs[1].(int)] @@ -7449,6 +8560,12 @@ func (o UrlMapTestResponseOutput) ToUrlMapTestResponseOutputWithContext(ctx cont return o } +func (o UrlMapTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestResponse] { + return pulumix.Output[UrlMapTestResponse]{ + OutputState: o.OutputState, + } +} + // The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting. func (o UrlMapTestResponseOutput) BackendServiceWeight() pulumi.IntOutput { return o.ApplyT(func(v UrlMapTestResponse) int { return v.BackendServiceWeight }).(pulumi.IntOutput) @@ -7510,6 +8627,12 @@ func (o UrlMapTestResponseArrayOutput) ToUrlMapTestResponseArrayOutputWithContex return o } +func (o UrlMapTestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestResponse] { + return pulumix.Output[[]UrlMapTestResponse]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestResponseArrayOutput) Index(i pulumi.IntInput) UrlMapTestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTestResponse { return vs[0].([]UrlMapTestResponse)[vs[1].(int)] @@ -7559,6 +8682,12 @@ func (i UrlRewriteArgs) ToUrlRewriteOutputWithContext(ctx context.Context) UrlRe return pulumi.ToOutputWithContext(ctx, i).(UrlRewriteOutput) } +func (i UrlRewriteArgs) ToOutput(ctx context.Context) pulumix.Output[UrlRewrite] { + return pulumix.Output[UrlRewrite]{ + OutputState: i.ToUrlRewriteOutputWithContext(ctx).OutputState, + } +} + func (i UrlRewriteArgs) ToUrlRewritePtrOutput() UrlRewritePtrOutput { return i.ToUrlRewritePtrOutputWithContext(context.Background()) } @@ -7600,6 +8729,12 @@ func (i *urlRewritePtrType) ToUrlRewritePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(UrlRewritePtrOutput) } +func (i *urlRewritePtrType) ToOutput(ctx context.Context) pulumix.Output[*UrlRewrite] { + return pulumix.Output[*UrlRewrite]{ + OutputState: i.ToUrlRewritePtrOutputWithContext(ctx).OutputState, + } +} + // The spec for modifying the path before sending the request to the matched backend service. type UrlRewriteOutput struct{ *pulumi.OutputState } @@ -7625,6 +8760,12 @@ func (o UrlRewriteOutput) ToUrlRewritePtrOutputWithContext(ctx context.Context) }).(UrlRewritePtrOutput) } +func (o UrlRewriteOutput) ToOutput(ctx context.Context) pulumix.Output[UrlRewrite] { + return pulumix.Output[UrlRewrite]{ + OutputState: o.OutputState, + } +} + // Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. func (o UrlRewriteOutput) HostRewrite() pulumi.StringPtrOutput { return o.ApplyT(func(v UrlRewrite) *string { return v.HostRewrite }).(pulumi.StringPtrOutput) @@ -7654,6 +8795,12 @@ func (o UrlRewritePtrOutput) ToUrlRewritePtrOutputWithContext(ctx context.Contex return o } +func (o UrlRewritePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlRewrite] { + return pulumix.Output[*UrlRewrite]{ + OutputState: o.OutputState, + } +} + func (o UrlRewritePtrOutput) Elem() UrlRewriteOutput { return o.ApplyT(func(v *UrlRewrite) UrlRewrite { if v != nil { @@ -7719,6 +8866,12 @@ func (o UrlRewriteResponseOutput) ToUrlRewriteResponseOutputWithContext(ctx cont return o } +func (o UrlRewriteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlRewriteResponse] { + return pulumix.Output[UrlRewriteResponse]{ + OutputState: o.OutputState, + } +} + // Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. func (o UrlRewriteResponseOutput) HostRewrite() pulumi.StringOutput { return o.ApplyT(func(v UrlRewriteResponse) string { return v.HostRewrite }).(pulumi.StringOutput) @@ -7769,6 +8922,12 @@ func (i VpnGatewayVpnGatewayInterfaceArgs) ToVpnGatewayVpnGatewayInterfaceOutput return pulumi.ToOutputWithContext(ctx, i).(VpnGatewayVpnGatewayInterfaceOutput) } +func (i VpnGatewayVpnGatewayInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayVpnGatewayInterface] { + return pulumix.Output[VpnGatewayVpnGatewayInterface]{ + OutputState: i.ToVpnGatewayVpnGatewayInterfaceOutputWithContext(ctx).OutputState, + } +} + // VpnGatewayVpnGatewayInterfaceArrayInput is an input type that accepts VpnGatewayVpnGatewayInterfaceArray and VpnGatewayVpnGatewayInterfaceArrayOutput values. // You can construct a concrete instance of `VpnGatewayVpnGatewayInterfaceArrayInput` via: // @@ -7794,6 +8953,12 @@ func (i VpnGatewayVpnGatewayInterfaceArray) ToVpnGatewayVpnGatewayInterfaceArray return pulumi.ToOutputWithContext(ctx, i).(VpnGatewayVpnGatewayInterfaceArrayOutput) } +func (i VpnGatewayVpnGatewayInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]VpnGatewayVpnGatewayInterface] { + return pulumix.Output[[]VpnGatewayVpnGatewayInterface]{ + OutputState: i.ToVpnGatewayVpnGatewayInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // A VPN gateway interface. type VpnGatewayVpnGatewayInterfaceOutput struct{ *pulumi.OutputState } @@ -7809,6 +8974,12 @@ func (o VpnGatewayVpnGatewayInterfaceOutput) ToVpnGatewayVpnGatewayInterfaceOutp return o } +func (o VpnGatewayVpnGatewayInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayVpnGatewayInterface] { + return pulumix.Output[VpnGatewayVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + // URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. func (o VpnGatewayVpnGatewayInterfaceOutput) InterconnectAttachment() pulumi.StringPtrOutput { return o.ApplyT(func(v VpnGatewayVpnGatewayInterface) *string { return v.InterconnectAttachment }).(pulumi.StringPtrOutput) @@ -7828,6 +8999,12 @@ func (o VpnGatewayVpnGatewayInterfaceArrayOutput) ToVpnGatewayVpnGatewayInterfac return o } +func (o VpnGatewayVpnGatewayInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VpnGatewayVpnGatewayInterface] { + return pulumix.Output[[]VpnGatewayVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayVpnGatewayInterfaceArrayOutput) Index(i pulumi.IntInput) VpnGatewayVpnGatewayInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpnGatewayVpnGatewayInterface { return vs[0].([]VpnGatewayVpnGatewayInterface)[vs[1].(int)] @@ -7859,6 +9036,12 @@ func (o VpnGatewayVpnGatewayInterfaceResponseOutput) ToVpnGatewayVpnGatewayInter return o } +func (o VpnGatewayVpnGatewayInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayVpnGatewayInterfaceResponse] { + return pulumix.Output[VpnGatewayVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. func (o VpnGatewayVpnGatewayInterfaceResponseOutput) InterconnectAttachment() pulumi.StringOutput { return o.ApplyT(func(v VpnGatewayVpnGatewayInterfaceResponse) string { return v.InterconnectAttachment }).(pulumi.StringOutput) @@ -7888,6 +9071,12 @@ func (o VpnGatewayVpnGatewayInterfaceResponseArrayOutput) ToVpnGatewayVpnGateway return o } +func (o VpnGatewayVpnGatewayInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VpnGatewayVpnGatewayInterfaceResponse] { + return pulumix.Output[[]VpnGatewayVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayVpnGatewayInterfaceResponseArrayOutput) Index(i pulumi.IntInput) VpnGatewayVpnGatewayInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpnGatewayVpnGatewayInterfaceResponse { return vs[0].([]VpnGatewayVpnGatewayInterfaceResponse)[vs[1].(int)] @@ -7937,6 +9126,12 @@ func (i WeightedBackendServiceArgs) ToWeightedBackendServiceOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(WeightedBackendServiceOutput) } +func (i WeightedBackendServiceArgs) ToOutput(ctx context.Context) pulumix.Output[WeightedBackendService] { + return pulumix.Output[WeightedBackendService]{ + OutputState: i.ToWeightedBackendServiceOutputWithContext(ctx).OutputState, + } +} + // WeightedBackendServiceArrayInput is an input type that accepts WeightedBackendServiceArray and WeightedBackendServiceArrayOutput values. // You can construct a concrete instance of `WeightedBackendServiceArrayInput` via: // @@ -7962,6 +9157,12 @@ func (i WeightedBackendServiceArray) ToWeightedBackendServiceArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(WeightedBackendServiceArrayOutput) } +func (i WeightedBackendServiceArray) ToOutput(ctx context.Context) pulumix.Output[[]WeightedBackendService] { + return pulumix.Output[[]WeightedBackendService]{ + OutputState: i.ToWeightedBackendServiceArrayOutputWithContext(ctx).OutputState, + } +} + // In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple backend services. The volume of traffic for each backend service is proportional to the weight specified in each WeightedBackendService type WeightedBackendServiceOutput struct{ *pulumi.OutputState } @@ -7977,6 +9178,12 @@ func (o WeightedBackendServiceOutput) ToWeightedBackendServiceOutputWithContext( return o } +func (o WeightedBackendServiceOutput) ToOutput(ctx context.Context) pulumix.Output[WeightedBackendService] { + return pulumix.Output[WeightedBackendService]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight. func (o WeightedBackendServiceOutput) BackendService() pulumi.StringPtrOutput { return o.ApplyT(func(v WeightedBackendService) *string { return v.BackendService }).(pulumi.StringPtrOutput) @@ -8006,6 +9213,12 @@ func (o WeightedBackendServiceArrayOutput) ToWeightedBackendServiceArrayOutputWi return o } +func (o WeightedBackendServiceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeightedBackendService] { + return pulumix.Output[[]WeightedBackendService]{ + OutputState: o.OutputState, + } +} + func (o WeightedBackendServiceArrayOutput) Index(i pulumi.IntInput) WeightedBackendServiceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeightedBackendService { return vs[0].([]WeightedBackendService)[vs[1].(int)] @@ -8037,6 +9250,12 @@ func (o WeightedBackendServiceResponseOutput) ToWeightedBackendServiceResponseOu return o } +func (o WeightedBackendServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeightedBackendServiceResponse] { + return pulumix.Output[WeightedBackendServiceResponse]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight. func (o WeightedBackendServiceResponseOutput) BackendService() pulumi.StringOutput { return o.ApplyT(func(v WeightedBackendServiceResponse) string { return v.BackendService }).(pulumi.StringOutput) @@ -8066,6 +9285,12 @@ func (o WeightedBackendServiceResponseArrayOutput) ToWeightedBackendServiceRespo return o } +func (o WeightedBackendServiceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeightedBackendServiceResponse] { + return pulumix.Output[[]WeightedBackendServiceResponse]{ + OutputState: o.OutputState, + } +} + func (o WeightedBackendServiceResponseArrayOutput) Index(i pulumi.IntInput) WeightedBackendServiceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeightedBackendServiceResponse { return vs[0].([]WeightedBackendServiceResponse)[vs[1].(int)] diff --git a/sdk/go/google/compute/alpha/regionAutoscaler.go b/sdk/go/google/compute/alpha/regionAutoscaler.go index 8d1ad82a30..e40b4fc312 100644 --- a/sdk/go/google/compute/alpha/regionAutoscaler.go +++ b/sdk/go/google/compute/alpha/regionAutoscaler.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an autoscaler in the specified project using the data included in the request. @@ -149,6 +150,12 @@ func (i *RegionAutoscaler) ToRegionAutoscalerOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RegionAutoscalerOutput) } +func (i *RegionAutoscaler) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscaler] { + return pulumix.Output[*RegionAutoscaler]{ + OutputState: i.ToRegionAutoscalerOutputWithContext(ctx).OutputState, + } +} + type RegionAutoscalerOutput struct{ *pulumi.OutputState } func (RegionAutoscalerOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o RegionAutoscalerOutput) ToRegionAutoscalerOutputWithContext(ctx context. return o } +func (o RegionAutoscalerOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscaler] { + return pulumix.Output[*RegionAutoscaler]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o RegionAutoscalerOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v *RegionAutoscaler) AutoscalingPolicyResponseOutput { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/alpha/regionBackendService.go b/sdk/go/google/compute/alpha/regionBackendService.go index ee6e9c6a32..2f1800483f 100644 --- a/sdk/go/google/compute/alpha/regionBackendService.go +++ b/sdk/go/google/compute/alpha/regionBackendService.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview. @@ -328,6 +329,12 @@ func (i *RegionBackendService) ToRegionBackendServiceOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceOutput) } +func (i *RegionBackendService) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendService] { + return pulumix.Output[*RegionBackendService]{ + OutputState: i.ToRegionBackendServiceOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceOutput struct{ *pulumi.OutputState } func (RegionBackendServiceOutput) ElementType() reflect.Type { @@ -342,6 +349,12 @@ func (o RegionBackendServiceOutput) ToRegionBackendServiceOutputWithContext(ctx return o } +func (o RegionBackendServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendService] { + return pulumix.Output[*RegionBackendService]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o RegionBackendServiceOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v *RegionBackendService) pulumi.IntOutput { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/regionBackendServiceIamBinding.go b/sdk/go/google/compute/alpha/regionBackendServiceIamBinding.go index 0e96458e27..c58ea7e6ee 100644 --- a/sdk/go/google/compute/alpha/regionBackendServiceIamBinding.go +++ b/sdk/go/google/compute/alpha/regionBackendServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionBackendServiceIamBinding) ToRegionBackendServiceIamBindingOutputW return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceIamBindingOutput) } +func (i *RegionBackendServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamBinding] { + return pulumix.Output[*RegionBackendServiceIamBinding]{ + OutputState: i.ToRegionBackendServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceIamBindingOutput struct{ *pulumi.OutputState } func (RegionBackendServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionBackendServiceIamBindingOutput) ToRegionBackendServiceIamBindingOu return o } +func (o RegionBackendServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamBinding] { + return pulumix.Output[*RegionBackendServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionBackendServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionBackendServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/regionBackendServiceIamMember.go b/sdk/go/google/compute/alpha/regionBackendServiceIamMember.go index 70a6ac653b..6ac042b354 100644 --- a/sdk/go/google/compute/alpha/regionBackendServiceIamMember.go +++ b/sdk/go/google/compute/alpha/regionBackendServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionBackendServiceIamMember) ToRegionBackendServiceIamMemberOutputWit return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceIamMemberOutput) } +func (i *RegionBackendServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamMember] { + return pulumix.Output[*RegionBackendServiceIamMember]{ + OutputState: i.ToRegionBackendServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceIamMemberOutput struct{ *pulumi.OutputState } func (RegionBackendServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionBackendServiceIamMemberOutput) ToRegionBackendServiceIamMemberOutp return o } +func (o RegionBackendServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamMember] { + return pulumix.Output[*RegionBackendServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionBackendServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionBackendServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/regionBackendServiceIamPolicy.go b/sdk/go/google/compute/alpha/regionBackendServiceIamPolicy.go index 3a1802b65f..f9bea6e2eb 100644 --- a/sdk/go/google/compute/alpha/regionBackendServiceIamPolicy.go +++ b/sdk/go/google/compute/alpha/regionBackendServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionBackendServiceIamPolicy) ToRegionBackendServiceIamPolicyOutputWit return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceIamPolicyOutput) } +func (i *RegionBackendServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamPolicy] { + return pulumix.Output[*RegionBackendServiceIamPolicy]{ + OutputState: i.ToRegionBackendServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceIamPolicyOutput struct{ *pulumi.OutputState } func (RegionBackendServiceIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionBackendServiceIamPolicyOutput) ToRegionBackendServiceIamPolicyOutp return o } +func (o RegionBackendServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamPolicy] { + return pulumix.Output[*RegionBackendServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionBackendServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionBackendServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/regionCommitment.go b/sdk/go/google/compute/alpha/regionCommitment.go index c7d9c31bf4..947cf80137 100644 --- a/sdk/go/google/compute/alpha/regionCommitment.go +++ b/sdk/go/google/compute/alpha/regionCommitment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a commitment in the specified project using the data included in the request. @@ -191,6 +192,12 @@ func (i *RegionCommitment) ToRegionCommitmentOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RegionCommitmentOutput) } +func (i *RegionCommitment) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitment] { + return pulumix.Output[*RegionCommitment]{ + OutputState: i.ToRegionCommitmentOutputWithContext(ctx).OutputState, + } +} + type RegionCommitmentOutput struct{ *pulumi.OutputState } func (RegionCommitmentOutput) ElementType() reflect.Type { @@ -205,6 +212,12 @@ func (o RegionCommitmentOutput) ToRegionCommitmentOutputWithContext(ctx context. return o } +func (o RegionCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitment] { + return pulumix.Output[*RegionCommitment]{ + OutputState: o.OutputState, + } +} + // Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment. func (o RegionCommitmentOutput) AutoRenew() pulumi.BoolOutput { return o.ApplyT(func(v *RegionCommitment) pulumi.BoolOutput { return v.AutoRenew }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/regionDisk.go b/sdk/go/google/compute/alpha/regionDisk.go index 901716887f..127d8de8f8 100644 --- a/sdk/go/google/compute/alpha/regionDisk.go +++ b/sdk/go/google/compute/alpha/regionDisk.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a persistent regional disk in the specified project using the data included in the request. @@ -357,6 +358,12 @@ func (i *RegionDisk) ToRegionDiskOutputWithContext(ctx context.Context) RegionDi return pulumi.ToOutputWithContext(ctx, i).(RegionDiskOutput) } +func (i *RegionDisk) ToOutput(ctx context.Context) pulumix.Output[*RegionDisk] { + return pulumix.Output[*RegionDisk]{ + OutputState: i.ToRegionDiskOutputWithContext(ctx).OutputState, + } +} + type RegionDiskOutput struct{ *pulumi.OutputState } func (RegionDiskOutput) ElementType() reflect.Type { @@ -371,6 +378,12 @@ func (o RegionDiskOutput) ToRegionDiskOutputWithContext(ctx context.Context) Reg return o } +func (o RegionDiskOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDisk] { + return pulumix.Output[*RegionDisk]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o RegionDiskOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *RegionDisk) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/regionDiskIamBinding.go b/sdk/go/google/compute/alpha/regionDiskIamBinding.go index 6d7e28980e..9af142da64 100644 --- a/sdk/go/google/compute/alpha/regionDiskIamBinding.go +++ b/sdk/go/google/compute/alpha/regionDiskIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionDiskIamBinding) ToRegionDiskIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionDiskIamBindingOutput) } +func (i *RegionDiskIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamBinding] { + return pulumix.Output[*RegionDiskIamBinding]{ + OutputState: i.ToRegionDiskIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionDiskIamBindingOutput struct{ *pulumi.OutputState } func (RegionDiskIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionDiskIamBindingOutput) ToRegionDiskIamBindingOutputWithContext(ctx return o } +func (o RegionDiskIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamBinding] { + return pulumix.Output[*RegionDiskIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionDiskIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionDiskIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/regionDiskIamMember.go b/sdk/go/google/compute/alpha/regionDiskIamMember.go index 283f4644ec..06d9b0d7d8 100644 --- a/sdk/go/google/compute/alpha/regionDiskIamMember.go +++ b/sdk/go/google/compute/alpha/regionDiskIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionDiskIamMember) ToRegionDiskIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RegionDiskIamMemberOutput) } +func (i *RegionDiskIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamMember] { + return pulumix.Output[*RegionDiskIamMember]{ + OutputState: i.ToRegionDiskIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionDiskIamMemberOutput struct{ *pulumi.OutputState } func (RegionDiskIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionDiskIamMemberOutput) ToRegionDiskIamMemberOutputWithContext(ctx co return o } +func (o RegionDiskIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamMember] { + return pulumix.Output[*RegionDiskIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionDiskIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionDiskIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/regionDiskIamPolicy.go b/sdk/go/google/compute/alpha/regionDiskIamPolicy.go index 76adbc554e..8229547207 100644 --- a/sdk/go/google/compute/alpha/regionDiskIamPolicy.go +++ b/sdk/go/google/compute/alpha/regionDiskIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionDiskIamPolicy) ToRegionDiskIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RegionDiskIamPolicyOutput) } +func (i *RegionDiskIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamPolicy] { + return pulumix.Output[*RegionDiskIamPolicy]{ + OutputState: i.ToRegionDiskIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionDiskIamPolicyOutput struct{ *pulumi.OutputState } func (RegionDiskIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionDiskIamPolicyOutput) ToRegionDiskIamPolicyOutputWithContext(ctx co return o } +func (o RegionDiskIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamPolicy] { + return pulumix.Output[*RegionDiskIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionDiskIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionDiskIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/regionHealthCheck.go b/sdk/go/google/compute/alpha/regionHealthCheck.go index 0e1eab4504..a855e0a36d 100644 --- a/sdk/go/google/compute/alpha/regionHealthCheck.go +++ b/sdk/go/google/compute/alpha/regionHealthCheck.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HealthCheck resource in the specified project using the data included in the request. @@ -194,6 +195,12 @@ func (i *RegionHealthCheck) ToRegionHealthCheckOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RegionHealthCheckOutput) } +func (i *RegionHealthCheck) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheck] { + return pulumix.Output[*RegionHealthCheck]{ + OutputState: i.ToRegionHealthCheckOutputWithContext(ctx).OutputState, + } +} + type RegionHealthCheckOutput struct{ *pulumi.OutputState } func (RegionHealthCheckOutput) ElementType() reflect.Type { @@ -208,6 +215,12 @@ func (o RegionHealthCheckOutput) ToRegionHealthCheckOutputWithContext(ctx contex return o } +func (o RegionHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheck] { + return pulumix.Output[*RegionHealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o RegionHealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *RegionHealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/alpha/regionHealthCheckService.go b/sdk/go/google/compute/alpha/regionHealthCheckService.go index 08d016f37f..a109b8d1f2 100644 --- a/sdk/go/google/compute/alpha/regionHealthCheckService.go +++ b/sdk/go/google/compute/alpha/regionHealthCheckService.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a regional HealthCheckService resource in the specified project and region using the data included in the request. @@ -165,6 +166,12 @@ func (i *RegionHealthCheckService) ToRegionHealthCheckServiceOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RegionHealthCheckServiceOutput) } +func (i *RegionHealthCheckService) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckService] { + return pulumix.Output[*RegionHealthCheckService]{ + OutputState: i.ToRegionHealthCheckServiceOutputWithContext(ctx).OutputState, + } +} + type RegionHealthCheckServiceOutput struct{ *pulumi.OutputState } func (RegionHealthCheckServiceOutput) ElementType() reflect.Type { @@ -179,6 +186,12 @@ func (o RegionHealthCheckServiceOutput) ToRegionHealthCheckServiceOutputWithCont return o } +func (o RegionHealthCheckServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckService] { + return pulumix.Output[*RegionHealthCheckService]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionHealthCheckServiceOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionHealthCheckService) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/regionInstanceGroupManager.go b/sdk/go/google/compute/alpha/regionInstanceGroupManager.go index d97f263c62..198041495c 100644 --- a/sdk/go/google/compute/alpha/regionInstanceGroupManager.go +++ b/sdk/go/google/compute/alpha/regionInstanceGroupManager.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances. @@ -257,6 +258,12 @@ func (i *RegionInstanceGroupManager) ToRegionInstanceGroupManagerOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RegionInstanceGroupManagerOutput) } +func (i *RegionInstanceGroupManager) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManager] { + return pulumix.Output[*RegionInstanceGroupManager]{ + OutputState: i.ToRegionInstanceGroupManagerOutputWithContext(ctx).OutputState, + } +} + type RegionInstanceGroupManagerOutput struct{ *pulumi.OutputState } func (RegionInstanceGroupManagerOutput) ElementType() reflect.Type { @@ -271,6 +278,12 @@ func (o RegionInstanceGroupManagerOutput) ToRegionInstanceGroupManagerOutputWith return o } +func (o RegionInstanceGroupManagerOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManager] { + return pulumix.Output[*RegionInstanceGroupManager]{ + OutputState: o.OutputState, + } +} + // Specifies configuration that overrides the instance template configuration for the group. func (o RegionInstanceGroupManagerOutput) AllInstancesConfig() InstanceGroupManagerAllInstancesConfigResponseOutput { return o.ApplyT(func(v *RegionInstanceGroupManager) InstanceGroupManagerAllInstancesConfigResponseOutput { diff --git a/sdk/go/google/compute/alpha/regionInstanceTemplate.go b/sdk/go/google/compute/alpha/regionInstanceTemplate.go index e10248634a..e3eed27455 100644 --- a/sdk/go/google/compute/alpha/regionInstanceTemplate.go +++ b/sdk/go/google/compute/alpha/regionInstanceTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance template in the specified project and region using the global instance template whose URL is included in the request. @@ -145,6 +146,12 @@ func (i *RegionInstanceTemplate) ToRegionInstanceTemplateOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionInstanceTemplateOutput) } +func (i *RegionInstanceTemplate) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceTemplate] { + return pulumix.Output[*RegionInstanceTemplate]{ + OutputState: i.ToRegionInstanceTemplateOutputWithContext(ctx).OutputState, + } +} + type RegionInstanceTemplateOutput struct{ *pulumi.OutputState } func (RegionInstanceTemplateOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o RegionInstanceTemplateOutput) ToRegionInstanceTemplateOutputWithContext( return o } +func (o RegionInstanceTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceTemplate] { + return pulumix.Output[*RegionInstanceTemplate]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o RegionInstanceTemplateOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionInstanceTemplate) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/regionInstantSnapshot.go b/sdk/go/google/compute/alpha/regionInstantSnapshot.go index e810427075..eb9c479523 100644 --- a/sdk/go/google/compute/alpha/regionInstantSnapshot.go +++ b/sdk/go/google/compute/alpha/regionInstantSnapshot.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instant snapshot in the specified region. @@ -161,6 +162,12 @@ func (i *RegionInstantSnapshot) ToRegionInstantSnapshotOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegionInstantSnapshotOutput) } +func (i *RegionInstantSnapshot) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshot] { + return pulumix.Output[*RegionInstantSnapshot]{ + OutputState: i.ToRegionInstantSnapshotOutputWithContext(ctx).OutputState, + } +} + type RegionInstantSnapshotOutput struct{ *pulumi.OutputState } func (RegionInstantSnapshotOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o RegionInstantSnapshotOutput) ToRegionInstantSnapshotOutputWithContext(ct return o } +func (o RegionInstantSnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshot] { + return pulumix.Output[*RegionInstantSnapshot]{ + OutputState: o.OutputState, + } +} + // The architecture of the instant snapshot. Valid values are ARM64 or X86_64. func (o RegionInstantSnapshotOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *RegionInstantSnapshot) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/regionInstantSnapshotIamBinding.go b/sdk/go/google/compute/alpha/regionInstantSnapshotIamBinding.go index 9f55f8d6fb..72ef19a704 100644 --- a/sdk/go/google/compute/alpha/regionInstantSnapshotIamBinding.go +++ b/sdk/go/google/compute/alpha/regionInstantSnapshotIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionInstantSnapshotIamBinding) ToRegionInstantSnapshotIamBindingOutpu return pulumi.ToOutputWithContext(ctx, i).(RegionInstantSnapshotIamBindingOutput) } +func (i *RegionInstantSnapshotIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamBinding] { + return pulumix.Output[*RegionInstantSnapshotIamBinding]{ + OutputState: i.ToRegionInstantSnapshotIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionInstantSnapshotIamBindingOutput struct{ *pulumi.OutputState } func (RegionInstantSnapshotIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionInstantSnapshotIamBindingOutput) ToRegionInstantSnapshotIamBinding return o } +func (o RegionInstantSnapshotIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamBinding] { + return pulumix.Output[*RegionInstantSnapshotIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionInstantSnapshotIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionInstantSnapshotIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/regionInstantSnapshotIamMember.go b/sdk/go/google/compute/alpha/regionInstantSnapshotIamMember.go index 940ff661eb..6f337fe20a 100644 --- a/sdk/go/google/compute/alpha/regionInstantSnapshotIamMember.go +++ b/sdk/go/google/compute/alpha/regionInstantSnapshotIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionInstantSnapshotIamMember) ToRegionInstantSnapshotIamMemberOutputW return pulumi.ToOutputWithContext(ctx, i).(RegionInstantSnapshotIamMemberOutput) } +func (i *RegionInstantSnapshotIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamMember] { + return pulumix.Output[*RegionInstantSnapshotIamMember]{ + OutputState: i.ToRegionInstantSnapshotIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionInstantSnapshotIamMemberOutput struct{ *pulumi.OutputState } func (RegionInstantSnapshotIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionInstantSnapshotIamMemberOutput) ToRegionInstantSnapshotIamMemberOu return o } +func (o RegionInstantSnapshotIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamMember] { + return pulumix.Output[*RegionInstantSnapshotIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionInstantSnapshotIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionInstantSnapshotIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/regionInstantSnapshotIamPolicy.go b/sdk/go/google/compute/alpha/regionInstantSnapshotIamPolicy.go index c71c7af9e3..7c7ee00b2f 100644 --- a/sdk/go/google/compute/alpha/regionInstantSnapshotIamPolicy.go +++ b/sdk/go/google/compute/alpha/regionInstantSnapshotIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionInstantSnapshotIamPolicy) ToRegionInstantSnapshotIamPolicyOutputW return pulumi.ToOutputWithContext(ctx, i).(RegionInstantSnapshotIamPolicyOutput) } +func (i *RegionInstantSnapshotIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamPolicy] { + return pulumix.Output[*RegionInstantSnapshotIamPolicy]{ + OutputState: i.ToRegionInstantSnapshotIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionInstantSnapshotIamPolicyOutput struct{ *pulumi.OutputState } func (RegionInstantSnapshotIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionInstantSnapshotIamPolicyOutput) ToRegionInstantSnapshotIamPolicyOu return o } +func (o RegionInstantSnapshotIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamPolicy] { + return pulumix.Output[*RegionInstantSnapshotIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionInstantSnapshotIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionInstantSnapshotIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/regionNetworkEndpointGroup.go b/sdk/go/google/compute/alpha/regionNetworkEndpointGroup.go index b273766f4e..a8df7caade 100644 --- a/sdk/go/google/compute/alpha/regionNetworkEndpointGroup.go +++ b/sdk/go/google/compute/alpha/regionNetworkEndpointGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network endpoint group in the specified project using the parameters that are included in the request. @@ -212,6 +213,12 @@ func (i *RegionNetworkEndpointGroup) ToRegionNetworkEndpointGroupOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkEndpointGroupOutput) } +func (i *RegionNetworkEndpointGroup) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroup] { + return pulumix.Output[*RegionNetworkEndpointGroup]{ + OutputState: i.ToRegionNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkEndpointGroupOutput struct{ *pulumi.OutputState } func (RegionNetworkEndpointGroupOutput) ElementType() reflect.Type { @@ -226,6 +233,12 @@ func (o RegionNetworkEndpointGroupOutput) ToRegionNetworkEndpointGroupOutputWith return o } +func (o RegionNetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroup] { + return pulumix.Output[*RegionNetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o RegionNetworkEndpointGroupOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *RegionNetworkEndpointGroup) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/alpha/regionNetworkFirewallPolicy.go b/sdk/go/google/compute/alpha/regionNetworkFirewallPolicy.go index 2a36fda5bc..79bbdb09e2 100644 --- a/sdk/go/google/compute/alpha/regionNetworkFirewallPolicy.go +++ b/sdk/go/google/compute/alpha/regionNetworkFirewallPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new network firewall policy in the specified project and region. @@ -169,6 +170,12 @@ func (i *RegionNetworkFirewallPolicy) ToRegionNetworkFirewallPolicyOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyOutput) } +func (i *RegionNetworkFirewallPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicy]{ + OutputState: i.ToRegionNetworkFirewallPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o RegionNetworkFirewallPolicyOutput) ToRegionNetworkFirewallPolicyOutputWi return o } +func (o RegionNetworkFirewallPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicy]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o RegionNetworkFirewallPolicyOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicy) FirewallPolicyAssociationResponseArrayOutput { diff --git a/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamBinding.go b/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamBinding.go index 5896f8cb43..722b763eaf 100644 --- a/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamBinding.go +++ b/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionNetworkFirewallPolicyIamBinding) ToRegionNetworkFirewallPolicyIam return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyIamBindingOutput) } +func (i *RegionNetworkFirewallPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamBinding] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamBinding]{ + OutputState: i.ToRegionNetworkFirewallPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyIamBindingOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionNetworkFirewallPolicyIamBindingOutput) ToRegionNetworkFirewallPoli return o } +func (o RegionNetworkFirewallPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamBinding] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionNetworkFirewallPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamMember.go b/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamMember.go index c01ed3788c..8f55e41911 100644 --- a/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamMember.go +++ b/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionNetworkFirewallPolicyIamMember) ToRegionNetworkFirewallPolicyIamM return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyIamMemberOutput) } +func (i *RegionNetworkFirewallPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamMember] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamMember]{ + OutputState: i.ToRegionNetworkFirewallPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyIamMemberOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionNetworkFirewallPolicyIamMemberOutput) ToRegionNetworkFirewallPolic return o } +func (o RegionNetworkFirewallPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamMember] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionNetworkFirewallPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamPolicy.go index 0bf79fff1f..0b343953ff 100644 --- a/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/alpha/regionNetworkFirewallPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionNetworkFirewallPolicyIamPolicy) ToRegionNetworkFirewallPolicyIamP return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyIamPolicyOutput) } +func (i *RegionNetworkFirewallPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy]{ + OutputState: i.ToRegionNetworkFirewallPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionNetworkFirewallPolicyIamPolicyOutput) ToRegionNetworkFirewallPolic return o } +func (o RegionNetworkFirewallPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionNetworkFirewallPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/regionNotificationEndpoint.go b/sdk/go/google/compute/alpha/regionNotificationEndpoint.go index 03e7250fa9..532d269cc1 100644 --- a/sdk/go/google/compute/alpha/regionNotificationEndpoint.go +++ b/sdk/go/google/compute/alpha/regionNotificationEndpoint.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. @@ -131,6 +132,12 @@ func (i *RegionNotificationEndpoint) ToRegionNotificationEndpointOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RegionNotificationEndpointOutput) } +func (i *RegionNotificationEndpoint) ToOutput(ctx context.Context) pulumix.Output[*RegionNotificationEndpoint] { + return pulumix.Output[*RegionNotificationEndpoint]{ + OutputState: i.ToRegionNotificationEndpointOutputWithContext(ctx).OutputState, + } +} + type RegionNotificationEndpointOutput struct{ *pulumi.OutputState } func (RegionNotificationEndpointOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o RegionNotificationEndpointOutput) ToRegionNotificationEndpointOutputWith return o } +func (o RegionNotificationEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNotificationEndpoint] { + return pulumix.Output[*RegionNotificationEndpoint]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionNotificationEndpointOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionNotificationEndpoint) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/regionSecurityPolicy.go b/sdk/go/google/compute/alpha/regionSecurityPolicy.go index dc56a51041..f1481b54a0 100644 --- a/sdk/go/google/compute/alpha/regionSecurityPolicy.go +++ b/sdk/go/google/compute/alpha/regionSecurityPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -186,6 +187,12 @@ func (i *RegionSecurityPolicy) ToRegionSecurityPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionSecurityPolicyOutput) } +func (i *RegionSecurityPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicy] { + return pulumix.Output[*RegionSecurityPolicy]{ + OutputState: i.ToRegionSecurityPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionSecurityPolicyOutput struct{ *pulumi.OutputState } func (RegionSecurityPolicyOutput) ElementType() reflect.Type { @@ -200,6 +207,12 @@ func (o RegionSecurityPolicyOutput) ToRegionSecurityPolicyOutputWithContext(ctx return o } +func (o RegionSecurityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicy] { + return pulumix.Output[*RegionSecurityPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionSecurityPolicyOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v *RegionSecurityPolicy) SecurityPolicyAdaptiveProtectionConfigResponseOutput { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/alpha/regionSslCertificate.go b/sdk/go/google/compute/alpha/regionSslCertificate.go index 225f98e2da..b91b7c4593 100644 --- a/sdk/go/google/compute/alpha/regionSslCertificate.go +++ b/sdk/go/google/compute/alpha/regionSslCertificate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a SslCertificate resource in the specified project and region using the data included in the request @@ -161,6 +162,12 @@ func (i *RegionSslCertificate) ToRegionSslCertificateOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionSslCertificateOutput) } +func (i *RegionSslCertificate) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificate] { + return pulumix.Output[*RegionSslCertificate]{ + OutputState: i.ToRegionSslCertificateOutputWithContext(ctx).OutputState, + } +} + type RegionSslCertificateOutput struct{ *pulumi.OutputState } func (RegionSslCertificateOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o RegionSslCertificateOutput) ToRegionSslCertificateOutputWithContext(ctx return o } +func (o RegionSslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificate] { + return pulumix.Output[*RegionSslCertificate]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o RegionSslCertificateOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v *RegionSslCertificate) pulumi.StringOutput { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/regionSslPolicy.go b/sdk/go/google/compute/alpha/regionSslPolicy.go index ff46cbac04..3f72f6d251 100644 --- a/sdk/go/google/compute/alpha/regionSslPolicy.go +++ b/sdk/go/google/compute/alpha/regionSslPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project and region using the data included in the request. @@ -157,6 +158,12 @@ func (i *RegionSslPolicy) ToRegionSslPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RegionSslPolicyOutput) } +func (i *RegionSslPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicy] { + return pulumix.Output[*RegionSslPolicy]{ + OutputState: i.ToRegionSslPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionSslPolicyOutput struct{ *pulumi.OutputState } func (RegionSslPolicyOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o RegionSslPolicyOutput) ToRegionSslPolicyOutputWithContext(ctx context.Co return o } +func (o RegionSslPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicy] { + return pulumix.Output[*RegionSslPolicy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionSslPolicyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionSslPolicy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/regionTargetHttpProxy.go b/sdk/go/google/compute/alpha/regionTargetHttpProxy.go index 14a4f5cb2f..18832056e4 100644 --- a/sdk/go/google/compute/alpha/regionTargetHttpProxy.go +++ b/sdk/go/google/compute/alpha/regionTargetHttpProxy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpProxy resource in the specified project and region using the data included in the request. @@ -153,6 +154,12 @@ func (i *RegionTargetHttpProxy) ToRegionTargetHttpProxyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegionTargetHttpProxyOutput) } +func (i *RegionTargetHttpProxy) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpProxy] { + return pulumix.Output[*RegionTargetHttpProxy]{ + OutputState: i.ToRegionTargetHttpProxyOutputWithContext(ctx).OutputState, + } +} + type RegionTargetHttpProxyOutput struct{ *pulumi.OutputState } func (RegionTargetHttpProxyOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o RegionTargetHttpProxyOutput) ToRegionTargetHttpProxyOutputWithContext(ct return o } +func (o RegionTargetHttpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpProxy] { + return pulumix.Output[*RegionTargetHttpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionTargetHttpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionTargetHttpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/regionTargetHttpsProxy.go b/sdk/go/google/compute/alpha/regionTargetHttpsProxy.go index 816b8c2ce9..17f1f60697 100644 --- a/sdk/go/google/compute/alpha/regionTargetHttpsProxy.go +++ b/sdk/go/google/compute/alpha/regionTargetHttpsProxy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request. @@ -213,6 +214,12 @@ func (i *RegionTargetHttpsProxy) ToRegionTargetHttpsProxyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionTargetHttpsProxyOutput) } +func (i *RegionTargetHttpsProxy) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxy] { + return pulumix.Output[*RegionTargetHttpsProxy]{ + OutputState: i.ToRegionTargetHttpsProxyOutputWithContext(ctx).OutputState, + } +} + type RegionTargetHttpsProxyOutput struct{ *pulumi.OutputState } func (RegionTargetHttpsProxyOutput) ElementType() reflect.Type { @@ -227,6 +234,12 @@ func (o RegionTargetHttpsProxyOutput) ToRegionTargetHttpsProxyOutputWithContext( return o } +func (o RegionTargetHttpsProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxy] { + return pulumix.Output[*RegionTargetHttpsProxy]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use serverTlsPolicy instead. // // Deprecated: [Deprecated] Use serverTlsPolicy instead. diff --git a/sdk/go/google/compute/alpha/regionTargetTcpProxy.go b/sdk/go/google/compute/alpha/regionTargetTcpProxy.go index afc7d9595e..b5fb29f453 100644 --- a/sdk/go/google/compute/alpha/regionTargetTcpProxy.go +++ b/sdk/go/google/compute/alpha/regionTargetTcpProxy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetTcpProxy resource in the specified project and region using the data included in the request. @@ -143,6 +144,12 @@ func (i *RegionTargetTcpProxy) ToRegionTargetTcpProxyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionTargetTcpProxyOutput) } +func (i *RegionTargetTcpProxy) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxy] { + return pulumix.Output[*RegionTargetTcpProxy]{ + OutputState: i.ToRegionTargetTcpProxyOutputWithContext(ctx).OutputState, + } +} + type RegionTargetTcpProxyOutput struct{ *pulumi.OutputState } func (RegionTargetTcpProxyOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o RegionTargetTcpProxyOutput) ToRegionTargetTcpProxyOutputWithContext(ctx return o } +func (o RegionTargetTcpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxy] { + return pulumix.Output[*RegionTargetTcpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionTargetTcpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionTargetTcpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/regionUrlMap.go b/sdk/go/google/compute/alpha/regionUrlMap.go index 33a9cd25f3..bc2a0fbbb4 100644 --- a/sdk/go/google/compute/alpha/regionUrlMap.go +++ b/sdk/go/google/compute/alpha/regionUrlMap.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a UrlMap resource in the specified project using the data included in the request. @@ -175,6 +176,12 @@ func (i *RegionUrlMap) ToRegionUrlMapOutputWithContext(ctx context.Context) Regi return pulumi.ToOutputWithContext(ctx, i).(RegionUrlMapOutput) } +func (i *RegionUrlMap) ToOutput(ctx context.Context) pulumix.Output[*RegionUrlMap] { + return pulumix.Output[*RegionUrlMap]{ + OutputState: i.ToRegionUrlMapOutputWithContext(ctx).OutputState, + } +} + type RegionUrlMapOutput struct{ *pulumi.OutputState } func (RegionUrlMapOutput) ElementType() reflect.Type { @@ -189,6 +196,12 @@ func (o RegionUrlMapOutput) ToRegionUrlMapOutputWithContext(ctx context.Context) return o } +func (o RegionUrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionUrlMap] { + return pulumix.Output[*RegionUrlMap]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionUrlMapOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionUrlMap) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/reservation.go b/sdk/go/google/compute/alpha/reservation.go index 2a803ad0f6..5e4ab657fb 100644 --- a/sdk/go/google/compute/alpha/reservation.go +++ b/sdk/go/google/compute/alpha/reservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new reservation. For more information, read Reserving zonal resources. @@ -163,6 +164,12 @@ func (i *Reservation) ToReservationOutputWithContext(ctx context.Context) Reserv return pulumi.ToOutputWithContext(ctx, i).(ReservationOutput) } +func (i *Reservation) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: i.ToReservationOutputWithContext(ctx).OutputState, + } +} + type ReservationOutput struct{ *pulumi.OutputState } func (ReservationOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o ReservationOutput) ToReservationOutputWithContext(ctx context.Context) R return o } +func (o ReservationOutput) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: o.OutputState, + } +} + // Reservation for aggregated resources, providing shape flexibility. func (o ReservationOutput) AggregateReservation() AllocationAggregateReservationResponseOutput { return o.ApplyT(func(v *Reservation) AllocationAggregateReservationResponseOutput { return v.AggregateReservation }).(AllocationAggregateReservationResponseOutput) diff --git a/sdk/go/google/compute/alpha/reservationIamBinding.go b/sdk/go/google/compute/alpha/reservationIamBinding.go index 0e9fbae6e9..2424ef4c78 100644 --- a/sdk/go/google/compute/alpha/reservationIamBinding.go +++ b/sdk/go/google/compute/alpha/reservationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ReservationIamBinding) ToReservationIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ReservationIamBindingOutput) } +func (i *ReservationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamBinding] { + return pulumix.Output[*ReservationIamBinding]{ + OutputState: i.ToReservationIamBindingOutputWithContext(ctx).OutputState, + } +} + type ReservationIamBindingOutput struct{ *pulumi.OutputState } func (ReservationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ReservationIamBindingOutput) ToReservationIamBindingOutputWithContext(ct return o } +func (o ReservationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamBinding] { + return pulumix.Output[*ReservationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ReservationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ReservationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/reservationIamMember.go b/sdk/go/google/compute/alpha/reservationIamMember.go index c25f362cdf..7394ea9edf 100644 --- a/sdk/go/google/compute/alpha/reservationIamMember.go +++ b/sdk/go/google/compute/alpha/reservationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ReservationIamMember) ToReservationIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ReservationIamMemberOutput) } +func (i *ReservationIamMember) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamMember] { + return pulumix.Output[*ReservationIamMember]{ + OutputState: i.ToReservationIamMemberOutputWithContext(ctx).OutputState, + } +} + type ReservationIamMemberOutput struct{ *pulumi.OutputState } func (ReservationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ReservationIamMemberOutput) ToReservationIamMemberOutputWithContext(ctx return o } +func (o ReservationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamMember] { + return pulumix.Output[*ReservationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ReservationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ReservationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/reservationIamPolicy.go b/sdk/go/google/compute/alpha/reservationIamPolicy.go index 8cca3b764a..4c8eb39364 100644 --- a/sdk/go/google/compute/alpha/reservationIamPolicy.go +++ b/sdk/go/google/compute/alpha/reservationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *ReservationIamPolicy) ToReservationIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ReservationIamPolicyOutput) } +func (i *ReservationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamPolicy] { + return pulumix.Output[*ReservationIamPolicy]{ + OutputState: i.ToReservationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ReservationIamPolicyOutput struct{ *pulumi.OutputState } func (ReservationIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ReservationIamPolicyOutput) ToReservationIamPolicyOutputWithContext(ctx return o } +func (o ReservationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamPolicy] { + return pulumix.Output[*ReservationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ReservationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ReservationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/resourcePolicy.go b/sdk/go/google/compute/alpha/resourcePolicy.go index dc0c194a5b..2174cbb2f4 100644 --- a/sdk/go/google/compute/alpha/resourcePolicy.go +++ b/sdk/go/google/compute/alpha/resourcePolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new resource policy. @@ -158,6 +159,12 @@ func (i *ResourcePolicy) ToResourcePolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyOutput) } +func (i *ResourcePolicy) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicy] { + return pulumix.Output[*ResourcePolicy]{ + OutputState: i.ToResourcePolicyOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyOutput struct{ *pulumi.OutputState } func (ResourcePolicyOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Cont return o } +func (o ResourcePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicy] { + return pulumix.Output[*ResourcePolicy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o ResourcePolicyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *ResourcePolicy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/resourcePolicyIamBinding.go b/sdk/go/google/compute/alpha/resourcePolicyIamBinding.go index ec45ce0cfe..96e3b2058c 100644 --- a/sdk/go/google/compute/alpha/resourcePolicyIamBinding.go +++ b/sdk/go/google/compute/alpha/resourcePolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ResourcePolicyIamBinding) ToResourcePolicyIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyIamBindingOutput) } +func (i *ResourcePolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamBinding] { + return pulumix.Output[*ResourcePolicyIamBinding]{ + OutputState: i.ToResourcePolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyIamBindingOutput struct{ *pulumi.OutputState } func (ResourcePolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ResourcePolicyIamBindingOutput) ToResourcePolicyIamBindingOutputWithCont return o } +func (o ResourcePolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamBinding] { + return pulumix.Output[*ResourcePolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ResourcePolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ResourcePolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/resourcePolicyIamMember.go b/sdk/go/google/compute/alpha/resourcePolicyIamMember.go index 46f59fa91f..2cd9747a64 100644 --- a/sdk/go/google/compute/alpha/resourcePolicyIamMember.go +++ b/sdk/go/google/compute/alpha/resourcePolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ResourcePolicyIamMember) ToResourcePolicyIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyIamMemberOutput) } +func (i *ResourcePolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamMember] { + return pulumix.Output[*ResourcePolicyIamMember]{ + OutputState: i.ToResourcePolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyIamMemberOutput struct{ *pulumi.OutputState } func (ResourcePolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ResourcePolicyIamMemberOutput) ToResourcePolicyIamMemberOutputWithContex return o } +func (o ResourcePolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamMember] { + return pulumix.Output[*ResourcePolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ResourcePolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ResourcePolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/resourcePolicyIamPolicy.go b/sdk/go/google/compute/alpha/resourcePolicyIamPolicy.go index 5199489b03..74394ab156 100644 --- a/sdk/go/google/compute/alpha/resourcePolicyIamPolicy.go +++ b/sdk/go/google/compute/alpha/resourcePolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *ResourcePolicyIamPolicy) ToResourcePolicyIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyIamPolicyOutput) } +func (i *ResourcePolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamPolicy] { + return pulumix.Output[*ResourcePolicyIamPolicy]{ + OutputState: i.ToResourcePolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyIamPolicyOutput struct{ *pulumi.OutputState } func (ResourcePolicyIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ResourcePolicyIamPolicyOutput) ToResourcePolicyIamPolicyOutputWithContex return o } +func (o ResourcePolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamPolicy] { + return pulumix.Output[*ResourcePolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ResourcePolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ResourcePolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/route.go b/sdk/go/google/compute/alpha/route.go index a2117141a4..80a8c1fb13 100644 --- a/sdk/go/google/compute/alpha/route.go +++ b/sdk/go/google/compute/alpha/route.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Route resource in the specified project using the data included in the request. @@ -205,6 +206,12 @@ func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput { return pulumi.ToOutputWithContext(ctx, i).(RouteOutput) } +func (i *Route) ToOutput(ctx context.Context) pulumix.Output[*Route] { + return pulumix.Output[*Route]{ + OutputState: i.ToRouteOutputWithContext(ctx).OutputState, + } +} + type RouteOutput struct{ *pulumi.OutputState } func (RouteOutput) ElementType() reflect.Type { @@ -219,6 +226,12 @@ func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput { return o } +func (o RouteOutput) ToOutput(ctx context.Context) pulumix.Output[*Route] { + return pulumix.Output[*Route]{ + OutputState: o.OutputState, + } +} + // Whether this route can conflict with existing subnetworks. Setting this to true allows this route to conflict with subnetworks that have already been configured on the corresponding network. func (o RouteOutput) AllowConflictingSubnetworks() pulumi.BoolOutput { return o.ApplyT(func(v *Route) pulumi.BoolOutput { return v.AllowConflictingSubnetworks }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/alpha/router.go b/sdk/go/google/compute/alpha/router.go index 190bc3d8f6..20bccd3519 100644 --- a/sdk/go/google/compute/alpha/router.go +++ b/sdk/go/google/compute/alpha/router.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Router resource in the specified project and region using the data included in the request. @@ -169,6 +170,12 @@ func (i *Router) ToRouterOutputWithContext(ctx context.Context) RouterOutput { return pulumi.ToOutputWithContext(ctx, i).(RouterOutput) } +func (i *Router) ToOutput(ctx context.Context) pulumix.Output[*Router] { + return pulumix.Output[*Router]{ + OutputState: i.ToRouterOutputWithContext(ctx).OutputState, + } +} + type RouterOutput struct{ *pulumi.OutputState } func (RouterOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o RouterOutput) ToRouterOutputWithContext(ctx context.Context) RouterOutpu return o } +func (o RouterOutput) ToOutput(ctx context.Context) pulumix.Output[*Router] { + return pulumix.Output[*Router]{ + OutputState: o.OutputState, + } +} + // BGP information specific to this router. func (o RouterOutput) Bgp() RouterBgpResponseOutput { return o.ApplyT(func(v *Router) RouterBgpResponseOutput { return v.Bgp }).(RouterBgpResponseOutput) diff --git a/sdk/go/google/compute/alpha/securityPolicy.go b/sdk/go/google/compute/alpha/securityPolicy.go index 760429f2da..5f38b5c863 100644 --- a/sdk/go/google/compute/alpha/securityPolicy.go +++ b/sdk/go/google/compute/alpha/securityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -180,6 +181,12 @@ func (i *SecurityPolicy) ToSecurityPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyOutput) } +func (i *SecurityPolicy) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicy] { + return pulumix.Output[*SecurityPolicy]{ + OutputState: i.ToSecurityPolicyOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyOutput struct{ *pulumi.OutputState } func (SecurityPolicyOutput) ElementType() reflect.Type { @@ -194,6 +201,12 @@ func (o SecurityPolicyOutput) ToSecurityPolicyOutputWithContext(ctx context.Cont return o } +func (o SecurityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicy] { + return pulumix.Output[*SecurityPolicy]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v *SecurityPolicy) SecurityPolicyAdaptiveProtectionConfigResponseOutput { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/alpha/serviceAttachment.go b/sdk/go/google/compute/alpha/serviceAttachment.go index 3faafa5092..fa7ef95111 100644 --- a/sdk/go/google/compute/alpha/serviceAttachment.go +++ b/sdk/go/google/compute/alpha/serviceAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request. @@ -185,6 +186,12 @@ func (i *ServiceAttachment) ToServiceAttachmentOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentOutput) } +func (i *ServiceAttachment) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachment] { + return pulumix.Output[*ServiceAttachment]{ + OutputState: i.ToServiceAttachmentOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentOutput struct{ *pulumi.OutputState } func (ServiceAttachmentOutput) ElementType() reflect.Type { @@ -199,6 +206,12 @@ func (o ServiceAttachmentOutput) ToServiceAttachmentOutputWithContext(ctx contex return o } +func (o ServiceAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachment] { + return pulumix.Output[*ServiceAttachment]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the consumers connected to this service attachment. func (o ServiceAttachmentOutput) ConnectedEndpoints() ServiceAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v *ServiceAttachment) ServiceAttachmentConnectedEndpointResponseArrayOutput { diff --git a/sdk/go/google/compute/alpha/serviceAttachmentIamBinding.go b/sdk/go/google/compute/alpha/serviceAttachmentIamBinding.go index ce01c5647a..a391a065bc 100644 --- a/sdk/go/google/compute/alpha/serviceAttachmentIamBinding.go +++ b/sdk/go/google/compute/alpha/serviceAttachmentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ServiceAttachmentIamBinding) ToServiceAttachmentIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentIamBindingOutput) } +func (i *ServiceAttachmentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamBinding] { + return pulumix.Output[*ServiceAttachmentIamBinding]{ + OutputState: i.ToServiceAttachmentIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentIamBindingOutput struct{ *pulumi.OutputState } func (ServiceAttachmentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceAttachmentIamBindingOutput) ToServiceAttachmentIamBindingOutputWi return o } +func (o ServiceAttachmentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamBinding] { + return pulumix.Output[*ServiceAttachmentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceAttachmentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceAttachmentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/serviceAttachmentIamMember.go b/sdk/go/google/compute/alpha/serviceAttachmentIamMember.go index 130b3ff563..921a8cc7e4 100644 --- a/sdk/go/google/compute/alpha/serviceAttachmentIamMember.go +++ b/sdk/go/google/compute/alpha/serviceAttachmentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ServiceAttachmentIamMember) ToServiceAttachmentIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentIamMemberOutput) } +func (i *ServiceAttachmentIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamMember] { + return pulumix.Output[*ServiceAttachmentIamMember]{ + OutputState: i.ToServiceAttachmentIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentIamMemberOutput struct{ *pulumi.OutputState } func (ServiceAttachmentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceAttachmentIamMemberOutput) ToServiceAttachmentIamMemberOutputWith return o } +func (o ServiceAttachmentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamMember] { + return pulumix.Output[*ServiceAttachmentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceAttachmentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceAttachmentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/serviceAttachmentIamPolicy.go b/sdk/go/google/compute/alpha/serviceAttachmentIamPolicy.go index f270fbf77d..23a44fc2b0 100644 --- a/sdk/go/google/compute/alpha/serviceAttachmentIamPolicy.go +++ b/sdk/go/google/compute/alpha/serviceAttachmentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *ServiceAttachmentIamPolicy) ToServiceAttachmentIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentIamPolicyOutput) } +func (i *ServiceAttachmentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamPolicy] { + return pulumix.Output[*ServiceAttachmentIamPolicy]{ + OutputState: i.ToServiceAttachmentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceAttachmentIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ServiceAttachmentIamPolicyOutput) ToServiceAttachmentIamPolicyOutputWith return o } +func (o ServiceAttachmentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamPolicy] { + return pulumix.Output[*ServiceAttachmentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceAttachmentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceAttachmentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/snapshot.go b/sdk/go/google/compute/alpha/snapshot.go index 36895455d8..178055b76a 100644 --- a/sdk/go/google/compute/alpha/snapshot.go +++ b/sdk/go/google/compute/alpha/snapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project. @@ -233,6 +234,12 @@ func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutp return pulumi.ToOutputWithContext(ctx, i).(SnapshotOutput) } +func (i *Snapshot) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: i.ToSnapshotOutputWithContext(ctx).OutputState, + } +} + type SnapshotOutput struct{ *pulumi.OutputState } func (SnapshotOutput) ElementType() reflect.Type { @@ -247,6 +254,12 @@ func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) Snapsho return o } +func (o SnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: o.OutputState, + } +} + // The architecture of the snapshot. Valid values are ARM64 or X86_64. func (o SnapshotOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/snapshotIamBinding.go b/sdk/go/google/compute/alpha/snapshotIamBinding.go index b2fb19da1b..d7cbad2b23 100644 --- a/sdk/go/google/compute/alpha/snapshotIamBinding.go +++ b/sdk/go/google/compute/alpha/snapshotIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SnapshotIamBinding) ToSnapshotIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamBindingOutput) } +func (i *SnapshotIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamBinding] { + return pulumix.Output[*SnapshotIamBinding]{ + OutputState: i.ToSnapshotIamBindingOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamBindingOutput struct{ *pulumi.OutputState } func (SnapshotIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SnapshotIamBindingOutput) ToSnapshotIamBindingOutputWithContext(ctx cont return o } +func (o SnapshotIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamBinding] { + return pulumix.Output[*SnapshotIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SnapshotIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SnapshotIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/snapshotIamMember.go b/sdk/go/google/compute/alpha/snapshotIamMember.go index 10eefcc096..46eff8791c 100644 --- a/sdk/go/google/compute/alpha/snapshotIamMember.go +++ b/sdk/go/google/compute/alpha/snapshotIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SnapshotIamMember) ToSnapshotIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamMemberOutput) } +func (i *SnapshotIamMember) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamMember] { + return pulumix.Output[*SnapshotIamMember]{ + OutputState: i.ToSnapshotIamMemberOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamMemberOutput struct{ *pulumi.OutputState } func (SnapshotIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SnapshotIamMemberOutput) ToSnapshotIamMemberOutputWithContext(ctx contex return o } +func (o SnapshotIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamMember] { + return pulumix.Output[*SnapshotIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SnapshotIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SnapshotIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/snapshotIamPolicy.go b/sdk/go/google/compute/alpha/snapshotIamPolicy.go index 0bc40f6038..daa745d735 100644 --- a/sdk/go/google/compute/alpha/snapshotIamPolicy.go +++ b/sdk/go/google/compute/alpha/snapshotIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *SnapshotIamPolicy) ToSnapshotIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamPolicyOutput) } +func (i *SnapshotIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamPolicy] { + return pulumix.Output[*SnapshotIamPolicy]{ + OutputState: i.ToSnapshotIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamPolicyOutput struct{ *pulumi.OutputState } func (SnapshotIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o SnapshotIamPolicyOutput) ToSnapshotIamPolicyOutputWithContext(ctx contex return o } +func (o SnapshotIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamPolicy] { + return pulumix.Output[*SnapshotIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o SnapshotIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *SnapshotIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/sslCertificate.go b/sdk/go/google/compute/alpha/sslCertificate.go index 8165b3abda..5e785bd063 100644 --- a/sdk/go/google/compute/alpha/sslCertificate.go +++ b/sdk/go/google/compute/alpha/sslCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a SslCertificate resource in the specified project using the data included in the request. @@ -155,6 +156,12 @@ func (i *SslCertificate) ToSslCertificateOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SslCertificateOutput) } +func (i *SslCertificate) ToOutput(ctx context.Context) pulumix.Output[*SslCertificate] { + return pulumix.Output[*SslCertificate]{ + OutputState: i.ToSslCertificateOutputWithContext(ctx).OutputState, + } +} + type SslCertificateOutput struct{ *pulumi.OutputState } func (SslCertificateOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o SslCertificateOutput) ToSslCertificateOutputWithContext(ctx context.Cont return o } +func (o SslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificate] { + return pulumix.Output[*SslCertificate]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o SslCertificateOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v *SslCertificate) pulumi.StringOutput { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/sslPolicy.go b/sdk/go/google/compute/alpha/sslPolicy.go index 53ff70c6bc..4b9947cbf1 100644 --- a/sdk/go/google/compute/alpha/sslPolicy.go +++ b/sdk/go/google/compute/alpha/sslPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified SSL policy resource. @@ -151,6 +152,12 @@ func (i *SslPolicy) ToSslPolicyOutputWithContext(ctx context.Context) SslPolicyO return pulumi.ToOutputWithContext(ctx, i).(SslPolicyOutput) } +func (i *SslPolicy) ToOutput(ctx context.Context) pulumix.Output[*SslPolicy] { + return pulumix.Output[*SslPolicy]{ + OutputState: i.ToSslPolicyOutputWithContext(ctx).OutputState, + } +} + type SslPolicyOutput struct{ *pulumi.OutputState } func (SslPolicyOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o SslPolicyOutput) ToSslPolicyOutputWithContext(ctx context.Context) SslPo return o } +func (o SslPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SslPolicy] { + return pulumix.Output[*SslPolicy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o SslPolicyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *SslPolicy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/storagePool.go b/sdk/go/google/compute/alpha/storagePool.go index e9fa7c0ed0..77da96c76f 100644 --- a/sdk/go/google/compute/alpha/storagePool.go +++ b/sdk/go/google/compute/alpha/storagePool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a storage pool in the specified project using the data in the request. @@ -153,6 +154,12 @@ func (i *StoragePool) ToStoragePoolOutputWithContext(ctx context.Context) Storag return pulumi.ToOutputWithContext(ctx, i).(StoragePoolOutput) } +func (i *StoragePool) ToOutput(ctx context.Context) pulumix.Output[*StoragePool] { + return pulumix.Output[*StoragePool]{ + OutputState: i.ToStoragePoolOutputWithContext(ctx).OutputState, + } +} + type StoragePoolOutput struct{ *pulumi.OutputState } func (StoragePoolOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o StoragePoolOutput) ToStoragePoolOutputWithContext(ctx context.Context) S return o } +func (o StoragePoolOutput) ToOutput(ctx context.Context) pulumix.Output[*StoragePool] { + return pulumix.Output[*StoragePool]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o StoragePoolOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *StoragePool) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/storagePoolIamBinding.go b/sdk/go/google/compute/alpha/storagePoolIamBinding.go index d9a52eefe6..c9beeec1e7 100644 --- a/sdk/go/google/compute/alpha/storagePoolIamBinding.go +++ b/sdk/go/google/compute/alpha/storagePoolIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *StoragePoolIamBinding) ToStoragePoolIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(StoragePoolIamBindingOutput) } +func (i *StoragePoolIamBinding) ToOutput(ctx context.Context) pulumix.Output[*StoragePoolIamBinding] { + return pulumix.Output[*StoragePoolIamBinding]{ + OutputState: i.ToStoragePoolIamBindingOutputWithContext(ctx).OutputState, + } +} + type StoragePoolIamBindingOutput struct{ *pulumi.OutputState } func (StoragePoolIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o StoragePoolIamBindingOutput) ToStoragePoolIamBindingOutputWithContext(ct return o } +func (o StoragePoolIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*StoragePoolIamBinding] { + return pulumix.Output[*StoragePoolIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o StoragePoolIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *StoragePoolIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/storagePoolIamMember.go b/sdk/go/google/compute/alpha/storagePoolIamMember.go index 4ede583177..b4619f9f4c 100644 --- a/sdk/go/google/compute/alpha/storagePoolIamMember.go +++ b/sdk/go/google/compute/alpha/storagePoolIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *StoragePoolIamMember) ToStoragePoolIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(StoragePoolIamMemberOutput) } +func (i *StoragePoolIamMember) ToOutput(ctx context.Context) pulumix.Output[*StoragePoolIamMember] { + return pulumix.Output[*StoragePoolIamMember]{ + OutputState: i.ToStoragePoolIamMemberOutputWithContext(ctx).OutputState, + } +} + type StoragePoolIamMemberOutput struct{ *pulumi.OutputState } func (StoragePoolIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o StoragePoolIamMemberOutput) ToStoragePoolIamMemberOutputWithContext(ctx return o } +func (o StoragePoolIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*StoragePoolIamMember] { + return pulumix.Output[*StoragePoolIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o StoragePoolIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *StoragePoolIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/storagePoolIamPolicy.go b/sdk/go/google/compute/alpha/storagePoolIamPolicy.go index 15a60bb99c..0742c759c3 100644 --- a/sdk/go/google/compute/alpha/storagePoolIamPolicy.go +++ b/sdk/go/google/compute/alpha/storagePoolIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *StoragePoolIamPolicy) ToStoragePoolIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(StoragePoolIamPolicyOutput) } +func (i *StoragePoolIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*StoragePoolIamPolicy] { + return pulumix.Output[*StoragePoolIamPolicy]{ + OutputState: i.ToStoragePoolIamPolicyOutputWithContext(ctx).OutputState, + } +} + type StoragePoolIamPolicyOutput struct{ *pulumi.OutputState } func (StoragePoolIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o StoragePoolIamPolicyOutput) ToStoragePoolIamPolicyOutputWithContext(ctx return o } +func (o StoragePoolIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*StoragePoolIamPolicy] { + return pulumix.Output[*StoragePoolIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o StoragePoolIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *StoragePoolIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/subnetwork.go b/sdk/go/google/compute/alpha/subnetwork.go index 6781b03fab..1641cb2be4 100644 --- a/sdk/go/google/compute/alpha/subnetwork.go +++ b/sdk/go/google/compute/alpha/subnetwork.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a subnetwork in the specified project using the data included in the request. @@ -265,6 +266,12 @@ func (i *Subnetwork) ToSubnetworkOutputWithContext(ctx context.Context) Subnetwo return pulumi.ToOutputWithContext(ctx, i).(SubnetworkOutput) } +func (i *Subnetwork) ToOutput(ctx context.Context) pulumix.Output[*Subnetwork] { + return pulumix.Output[*Subnetwork]{ + OutputState: i.ToSubnetworkOutputWithContext(ctx).OutputState, + } +} + type SubnetworkOutput struct{ *pulumi.OutputState } func (SubnetworkOutput) ElementType() reflect.Type { @@ -279,6 +286,12 @@ func (o SubnetworkOutput) ToSubnetworkOutputWithContext(ctx context.Context) Sub return o } +func (o SubnetworkOutput) ToOutput(ctx context.Context) pulumix.Output[*Subnetwork] { + return pulumix.Output[*Subnetwork]{ + OutputState: o.OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Sets the aggregation interval for collecting flow logs. Increasing the interval time reduces the amount of generated flow logs for long-lasting connections. Default is an interval of 5 seconds per connection. Valid values: INTERVAL_5_SEC, INTERVAL_30_SEC, INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN. func (o SubnetworkOutput) AggregationInterval() pulumi.StringOutput { return o.ApplyT(func(v *Subnetwork) pulumi.StringOutput { return v.AggregationInterval }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/subnetworkIamBinding.go b/sdk/go/google/compute/alpha/subnetworkIamBinding.go index 284ad6cb9f..c23dc5e78d 100644 --- a/sdk/go/google/compute/alpha/subnetworkIamBinding.go +++ b/sdk/go/google/compute/alpha/subnetworkIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SubnetworkIamBinding) ToSubnetworkIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(SubnetworkIamBindingOutput) } +func (i *SubnetworkIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamBinding] { + return pulumix.Output[*SubnetworkIamBinding]{ + OutputState: i.ToSubnetworkIamBindingOutputWithContext(ctx).OutputState, + } +} + type SubnetworkIamBindingOutput struct{ *pulumi.OutputState } func (SubnetworkIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SubnetworkIamBindingOutput) ToSubnetworkIamBindingOutputWithContext(ctx return o } +func (o SubnetworkIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamBinding] { + return pulumix.Output[*SubnetworkIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SubnetworkIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SubnetworkIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/subnetworkIamMember.go b/sdk/go/google/compute/alpha/subnetworkIamMember.go index 10baeab5bb..25a1e37e2d 100644 --- a/sdk/go/google/compute/alpha/subnetworkIamMember.go +++ b/sdk/go/google/compute/alpha/subnetworkIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SubnetworkIamMember) ToSubnetworkIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SubnetworkIamMemberOutput) } +func (i *SubnetworkIamMember) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamMember] { + return pulumix.Output[*SubnetworkIamMember]{ + OutputState: i.ToSubnetworkIamMemberOutputWithContext(ctx).OutputState, + } +} + type SubnetworkIamMemberOutput struct{ *pulumi.OutputState } func (SubnetworkIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SubnetworkIamMemberOutput) ToSubnetworkIamMemberOutputWithContext(ctx co return o } +func (o SubnetworkIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamMember] { + return pulumix.Output[*SubnetworkIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SubnetworkIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SubnetworkIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/alpha/subnetworkIamPolicy.go b/sdk/go/google/compute/alpha/subnetworkIamPolicy.go index 450381cd48..84d7749b19 100644 --- a/sdk/go/google/compute/alpha/subnetworkIamPolicy.go +++ b/sdk/go/google/compute/alpha/subnetworkIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *SubnetworkIamPolicy) ToSubnetworkIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SubnetworkIamPolicyOutput) } +func (i *SubnetworkIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamPolicy] { + return pulumix.Output[*SubnetworkIamPolicy]{ + OutputState: i.ToSubnetworkIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SubnetworkIamPolicyOutput struct{ *pulumi.OutputState } func (SubnetworkIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o SubnetworkIamPolicyOutput) ToSubnetworkIamPolicyOutputWithContext(ctx co return o } +func (o SubnetworkIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamPolicy] { + return pulumix.Output[*SubnetworkIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o SubnetworkIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *SubnetworkIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/alpha/targetGrpcProxy.go b/sdk/go/google/compute/alpha/targetGrpcProxy.go index d0d944bf39..ea837cf785 100644 --- a/sdk/go/google/compute/alpha/targetGrpcProxy.go +++ b/sdk/go/google/compute/alpha/targetGrpcProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request. @@ -133,6 +134,12 @@ func (i *TargetGrpcProxy) ToTargetGrpcProxyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TargetGrpcProxyOutput) } +func (i *TargetGrpcProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetGrpcProxy] { + return pulumix.Output[*TargetGrpcProxy]{ + OutputState: i.ToTargetGrpcProxyOutputWithContext(ctx).OutputState, + } +} + type TargetGrpcProxyOutput struct{ *pulumi.OutputState } func (TargetGrpcProxyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o TargetGrpcProxyOutput) ToTargetGrpcProxyOutputWithContext(ctx context.Co return o } +func (o TargetGrpcProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetGrpcProxy] { + return pulumix.Output[*TargetGrpcProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetGrpcProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetGrpcProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/targetHttpProxy.go b/sdk/go/google/compute/alpha/targetHttpProxy.go index d3e2e3b653..0b76a010be 100644 --- a/sdk/go/google/compute/alpha/targetHttpProxy.go +++ b/sdk/go/google/compute/alpha/targetHttpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpProxy resource in the specified project using the data included in the request. @@ -147,6 +148,12 @@ func (i *TargetHttpProxy) ToTargetHttpProxyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TargetHttpProxyOutput) } +func (i *TargetHttpProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpProxy] { + return pulumix.Output[*TargetHttpProxy]{ + OutputState: i.ToTargetHttpProxyOutputWithContext(ctx).OutputState, + } +} + type TargetHttpProxyOutput struct{ *pulumi.OutputState } func (TargetHttpProxyOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o TargetHttpProxyOutput) ToTargetHttpProxyOutputWithContext(ctx context.Co return o } +func (o TargetHttpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpProxy] { + return pulumix.Output[*TargetHttpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetHttpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetHttpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/targetHttpsProxy.go b/sdk/go/google/compute/alpha/targetHttpsProxy.go index 8fc0159327..942ddac007 100644 --- a/sdk/go/google/compute/alpha/targetHttpsProxy.go +++ b/sdk/go/google/compute/alpha/targetHttpsProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpsProxy resource in the specified project using the data included in the request. @@ -207,6 +208,12 @@ func (i *TargetHttpsProxy) ToTargetHttpsProxyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TargetHttpsProxyOutput) } +func (i *TargetHttpsProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxy] { + return pulumix.Output[*TargetHttpsProxy]{ + OutputState: i.ToTargetHttpsProxyOutputWithContext(ctx).OutputState, + } +} + type TargetHttpsProxyOutput struct{ *pulumi.OutputState } func (TargetHttpsProxyOutput) ElementType() reflect.Type { @@ -221,6 +228,12 @@ func (o TargetHttpsProxyOutput) ToTargetHttpsProxyOutputWithContext(ctx context. return o } +func (o TargetHttpsProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxy] { + return pulumix.Output[*TargetHttpsProxy]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use serverTlsPolicy instead. // // Deprecated: [Deprecated] Use serverTlsPolicy instead. diff --git a/sdk/go/google/compute/alpha/targetInstance.go b/sdk/go/google/compute/alpha/targetInstance.go index 5db61a9bf1..d3cd6c7d9e 100644 --- a/sdk/go/google/compute/alpha/targetInstance.go +++ b/sdk/go/google/compute/alpha/targetInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetInstance resource in the specified project and zone using the data included in the request. @@ -143,6 +144,12 @@ func (i *TargetInstance) ToTargetInstanceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TargetInstanceOutput) } +func (i *TargetInstance) ToOutput(ctx context.Context) pulumix.Output[*TargetInstance] { + return pulumix.Output[*TargetInstance]{ + OutputState: i.ToTargetInstanceOutputWithContext(ctx).OutputState, + } +} + type TargetInstanceOutput struct{ *pulumi.OutputState } func (TargetInstanceOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o TargetInstanceOutput) ToTargetInstanceOutputWithContext(ctx context.Cont return o } +func (o TargetInstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetInstance] { + return pulumix.Output[*TargetInstance]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetInstanceOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetInstance) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/targetPool.go b/sdk/go/google/compute/alpha/targetPool.go index a65827e440..cfd988efd9 100644 --- a/sdk/go/google/compute/alpha/targetPool.go +++ b/sdk/go/google/compute/alpha/targetPool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a target pool in the specified project and region using the data included in the request. @@ -159,6 +160,12 @@ func (i *TargetPool) ToTargetPoolOutputWithContext(ctx context.Context) TargetPo return pulumi.ToOutputWithContext(ctx, i).(TargetPoolOutput) } +func (i *TargetPool) ToOutput(ctx context.Context) pulumix.Output[*TargetPool] { + return pulumix.Output[*TargetPool]{ + OutputState: i.ToTargetPoolOutputWithContext(ctx).OutputState, + } +} + type TargetPoolOutput struct{ *pulumi.OutputState } func (TargetPoolOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o TargetPoolOutput) ToTargetPoolOutputWithContext(ctx context.Context) Tar return o } +func (o TargetPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetPool] { + return pulumix.Output[*TargetPool]{ + OutputState: o.OutputState, + } +} + // The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. func (o TargetPoolOutput) BackupPool() pulumi.StringOutput { return o.ApplyT(func(v *TargetPool) pulumi.StringOutput { return v.BackupPool }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/targetSslProxy.go b/sdk/go/google/compute/alpha/targetSslProxy.go index 0e8a201a18..7da09dacb5 100644 --- a/sdk/go/google/compute/alpha/targetSslProxy.go +++ b/sdk/go/google/compute/alpha/targetSslProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetSslProxy resource in the specified project using the data included in the request. @@ -147,6 +148,12 @@ func (i *TargetSslProxy) ToTargetSslProxyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TargetSslProxyOutput) } +func (i *TargetSslProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxy] { + return pulumix.Output[*TargetSslProxy]{ + OutputState: i.ToTargetSslProxyOutputWithContext(ctx).OutputState, + } +} + type TargetSslProxyOutput struct{ *pulumi.OutputState } func (TargetSslProxyOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o TargetSslProxyOutput) ToTargetSslProxyOutputWithContext(ctx context.Cont return o } +func (o TargetSslProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxy] { + return pulumix.Output[*TargetSslProxy]{ + OutputState: o.OutputState, + } +} + // URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. func (o TargetSslProxyOutput) CertificateMap() pulumi.StringOutput { return o.ApplyT(func(v *TargetSslProxy) pulumi.StringOutput { return v.CertificateMap }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/targetTcpProxy.go b/sdk/go/google/compute/alpha/targetTcpProxy.go index d6cfd91f91..53c1e32661 100644 --- a/sdk/go/google/compute/alpha/targetTcpProxy.go +++ b/sdk/go/google/compute/alpha/targetTcpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetTcpProxy resource in the specified project using the data included in the request. @@ -137,6 +138,12 @@ func (i *TargetTcpProxy) ToTargetTcpProxyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TargetTcpProxyOutput) } +func (i *TargetTcpProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxy] { + return pulumix.Output[*TargetTcpProxy]{ + OutputState: i.ToTargetTcpProxyOutputWithContext(ctx).OutputState, + } +} + type TargetTcpProxyOutput struct{ *pulumi.OutputState } func (TargetTcpProxyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o TargetTcpProxyOutput) ToTargetTcpProxyOutputWithContext(ctx context.Cont return o } +func (o TargetTcpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxy] { + return pulumix.Output[*TargetTcpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetTcpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetTcpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/targetVpnGateway.go b/sdk/go/google/compute/alpha/targetVpnGateway.go index 34d5dadcf5..8439245ce9 100644 --- a/sdk/go/google/compute/alpha/targetVpnGateway.go +++ b/sdk/go/google/compute/alpha/targetVpnGateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a target VPN gateway in the specified project and region using the data included in the request. @@ -145,6 +146,12 @@ func (i *TargetVpnGateway) ToTargetVpnGatewayOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TargetVpnGatewayOutput) } +func (i *TargetVpnGateway) ToOutput(ctx context.Context) pulumix.Output[*TargetVpnGateway] { + return pulumix.Output[*TargetVpnGateway]{ + OutputState: i.ToTargetVpnGatewayOutputWithContext(ctx).OutputState, + } +} + type TargetVpnGatewayOutput struct{ *pulumi.OutputState } func (TargetVpnGatewayOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o TargetVpnGatewayOutput) ToTargetVpnGatewayOutputWithContext(ctx context. return o } +func (o TargetVpnGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetVpnGateway] { + return pulumix.Output[*TargetVpnGateway]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetVpnGatewayOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetVpnGateway) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/urlMap.go b/sdk/go/google/compute/alpha/urlMap.go index c410b7192a..b9878c73f7 100644 --- a/sdk/go/google/compute/alpha/urlMap.go +++ b/sdk/go/google/compute/alpha/urlMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a UrlMap resource in the specified project using the data included in the request. @@ -169,6 +170,12 @@ func (i *UrlMap) ToUrlMapOutputWithContext(ctx context.Context) UrlMapOutput { return pulumi.ToOutputWithContext(ctx, i).(UrlMapOutput) } +func (i *UrlMap) ToOutput(ctx context.Context) pulumix.Output[*UrlMap] { + return pulumix.Output[*UrlMap]{ + OutputState: i.ToUrlMapOutputWithContext(ctx).OutputState, + } +} + type UrlMapOutput struct{ *pulumi.OutputState } func (UrlMapOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o UrlMapOutput) ToUrlMapOutputWithContext(ctx context.Context) UrlMapOutpu return o } +func (o UrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMap] { + return pulumix.Output[*UrlMap]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o UrlMapOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *UrlMap) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/vpnGateway.go b/sdk/go/google/compute/alpha/vpnGateway.go index b5471acd6e..f5ed81980c 100644 --- a/sdk/go/google/compute/alpha/vpnGateway.go +++ b/sdk/go/google/compute/alpha/vpnGateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a VPN gateway in the specified project and region using the data included in the request. @@ -157,6 +158,12 @@ func (i *VpnGateway) ToVpnGatewayOutputWithContext(ctx context.Context) VpnGatew return pulumi.ToOutputWithContext(ctx, i).(VpnGatewayOutput) } +func (i *VpnGateway) ToOutput(ctx context.Context) pulumix.Output[*VpnGateway] { + return pulumix.Output[*VpnGateway]{ + OutputState: i.ToVpnGatewayOutputWithContext(ctx).OutputState, + } +} + type VpnGatewayOutput struct{ *pulumi.OutputState } func (VpnGatewayOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o VpnGatewayOutput) ToVpnGatewayOutputWithContext(ctx context.Context) Vpn return o } +func (o VpnGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnGateway] { + return pulumix.Output[*VpnGateway]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o VpnGatewayOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *VpnGateway) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/vpnTunnel.go b/sdk/go/google/compute/alpha/vpnTunnel.go index 60f099f80b..3fb26f455a 100644 --- a/sdk/go/google/compute/alpha/vpnTunnel.go +++ b/sdk/go/google/compute/alpha/vpnTunnel.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a VpnTunnel resource in the specified project and region using the data included in the request. @@ -215,6 +216,12 @@ func (i *VpnTunnel) ToVpnTunnelOutputWithContext(ctx context.Context) VpnTunnelO return pulumi.ToOutputWithContext(ctx, i).(VpnTunnelOutput) } +func (i *VpnTunnel) ToOutput(ctx context.Context) pulumix.Output[*VpnTunnel] { + return pulumix.Output[*VpnTunnel]{ + OutputState: i.ToVpnTunnelOutputWithContext(ctx).OutputState, + } +} + type VpnTunnelOutput struct{ *pulumi.OutputState } func (VpnTunnelOutput) ElementType() reflect.Type { @@ -229,6 +236,12 @@ func (o VpnTunnelOutput) ToVpnTunnelOutputWithContext(ctx context.Context) VpnTu return o } +func (o VpnTunnelOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnTunnel] { + return pulumix.Output[*VpnTunnel]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o VpnTunnelOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *VpnTunnel) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/alpha/zoneQueuedResource.go b/sdk/go/google/compute/alpha/zoneQueuedResource.go index 3a64740856..6de34e80e7 100644 --- a/sdk/go/google/compute/alpha/zoneQueuedResource.go +++ b/sdk/go/google/compute/alpha/zoneQueuedResource.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a QueuedResource. @@ -139,6 +140,12 @@ func (i *ZoneQueuedResource) ToZoneQueuedResourceOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ZoneQueuedResourceOutput) } +func (i *ZoneQueuedResource) ToOutput(ctx context.Context) pulumix.Output[*ZoneQueuedResource] { + return pulumix.Output[*ZoneQueuedResource]{ + OutputState: i.ToZoneQueuedResourceOutputWithContext(ctx).OutputState, + } +} + type ZoneQueuedResourceOutput struct{ *pulumi.OutputState } func (ZoneQueuedResourceOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o ZoneQueuedResourceOutput) ToZoneQueuedResourceOutputWithContext(ctx cont return o } +func (o ZoneQueuedResourceOutput) ToOutput(ctx context.Context) pulumix.Output[*ZoneQueuedResource] { + return pulumix.Output[*ZoneQueuedResource]{ + OutputState: o.OutputState, + } +} + // Specification of VM instances to create. func (o ZoneQueuedResourceOutput) BulkInsertInstanceResource() BulkInsertInstanceResourceResponseOutput { return o.ApplyT(func(v *ZoneQueuedResource) BulkInsertInstanceResourceResponseOutput { diff --git a/sdk/go/google/compute/beta/address.go b/sdk/go/google/compute/beta/address.go index 1d40b55c3a..c4b0819395 100644 --- a/sdk/go/google/compute/beta/address.go +++ b/sdk/go/google/compute/beta/address.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an address resource in the specified project by using the data included in the request. @@ -191,6 +192,12 @@ func (i *Address) ToAddressOutputWithContext(ctx context.Context) AddressOutput return pulumi.ToOutputWithContext(ctx, i).(AddressOutput) } +func (i *Address) ToOutput(ctx context.Context) pulumix.Output[*Address] { + return pulumix.Output[*Address]{ + OutputState: i.ToAddressOutputWithContext(ctx).OutputState, + } +} + type AddressOutput struct{ *pulumi.OutputState } func (AddressOutput) ElementType() reflect.Type { @@ -205,6 +212,12 @@ func (o AddressOutput) ToAddressOutputWithContext(ctx context.Context) AddressOu return o } +func (o AddressOutput) ToOutput(ctx context.Context) pulumix.Output[*Address] { + return pulumix.Output[*Address]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o AddressOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *Address) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/autoscaler.go b/sdk/go/google/compute/beta/autoscaler.go index 1c45f062c0..12e6eca7e9 100644 --- a/sdk/go/google/compute/beta/autoscaler.go +++ b/sdk/go/google/compute/beta/autoscaler.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an autoscaler in the specified project using the data included in the request. @@ -143,6 +144,12 @@ func (i *Autoscaler) ToAutoscalerOutputWithContext(ctx context.Context) Autoscal return pulumi.ToOutputWithContext(ctx, i).(AutoscalerOutput) } +func (i *Autoscaler) ToOutput(ctx context.Context) pulumix.Output[*Autoscaler] { + return pulumix.Output[*Autoscaler]{ + OutputState: i.ToAutoscalerOutputWithContext(ctx).OutputState, + } +} + type AutoscalerOutput struct{ *pulumi.OutputState } func (AutoscalerOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o AutoscalerOutput) ToAutoscalerOutputWithContext(ctx context.Context) Aut return o } +func (o AutoscalerOutput) ToOutput(ctx context.Context) pulumix.Output[*Autoscaler] { + return pulumix.Output[*Autoscaler]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o AutoscalerOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v *Autoscaler) AutoscalingPolicyResponseOutput { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/beta/backendBucket.go b/sdk/go/google/compute/beta/backendBucket.go index 3d21b7e2c9..4cc2c60082 100644 --- a/sdk/go/google/compute/beta/backendBucket.go +++ b/sdk/go/google/compute/beta/backendBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a BackendBucket resource in the specified project using the data included in the request. @@ -153,6 +154,12 @@ func (i *BackendBucket) ToBackendBucketOutputWithContext(ctx context.Context) Ba return pulumi.ToOutputWithContext(ctx, i).(BackendBucketOutput) } +func (i *BackendBucket) ToOutput(ctx context.Context) pulumix.Output[*BackendBucket] { + return pulumix.Output[*BackendBucket]{ + OutputState: i.ToBackendBucketOutputWithContext(ctx).OutputState, + } +} + type BackendBucketOutput struct{ *pulumi.OutputState } func (BackendBucketOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o BackendBucketOutput) ToBackendBucketOutputWithContext(ctx context.Contex return o } +func (o BackendBucketOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucket] { + return pulumix.Output[*BackendBucket]{ + OutputState: o.OutputState, + } +} + // Cloud Storage bucket name. func (o BackendBucketOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v *BackendBucket) pulumi.StringOutput { return v.BucketName }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/backendBucketIamBinding.go b/sdk/go/google/compute/beta/backendBucketIamBinding.go index bc76d0ad93..c58984a2e0 100644 --- a/sdk/go/google/compute/beta/backendBucketIamBinding.go +++ b/sdk/go/google/compute/beta/backendBucketIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *BackendBucketIamBinding) ToBackendBucketIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BackendBucketIamBindingOutput) } +func (i *BackendBucketIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamBinding] { + return pulumix.Output[*BackendBucketIamBinding]{ + OutputState: i.ToBackendBucketIamBindingOutputWithContext(ctx).OutputState, + } +} + type BackendBucketIamBindingOutput struct{ *pulumi.OutputState } func (BackendBucketIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackendBucketIamBindingOutput) ToBackendBucketIamBindingOutputWithContex return o } +func (o BackendBucketIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamBinding] { + return pulumix.Output[*BackendBucketIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackendBucketIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackendBucketIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/backendBucketIamMember.go b/sdk/go/google/compute/beta/backendBucketIamMember.go index 26c4d7c92c..00b7357ad6 100644 --- a/sdk/go/google/compute/beta/backendBucketIamMember.go +++ b/sdk/go/google/compute/beta/backendBucketIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *BackendBucketIamMember) ToBackendBucketIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BackendBucketIamMemberOutput) } +func (i *BackendBucketIamMember) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamMember] { + return pulumix.Output[*BackendBucketIamMember]{ + OutputState: i.ToBackendBucketIamMemberOutputWithContext(ctx).OutputState, + } +} + type BackendBucketIamMemberOutput struct{ *pulumi.OutputState } func (BackendBucketIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackendBucketIamMemberOutput) ToBackendBucketIamMemberOutputWithContext( return o } +func (o BackendBucketIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamMember] { + return pulumix.Output[*BackendBucketIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackendBucketIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackendBucketIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/backendBucketIamPolicy.go b/sdk/go/google/compute/beta/backendBucketIamPolicy.go index d1fab90ee1..9fa4cf7562 100644 --- a/sdk/go/google/compute/beta/backendBucketIamPolicy.go +++ b/sdk/go/google/compute/beta/backendBucketIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *BackendBucketIamPolicy) ToBackendBucketIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BackendBucketIamPolicyOutput) } +func (i *BackendBucketIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamPolicy] { + return pulumix.Output[*BackendBucketIamPolicy]{ + OutputState: i.ToBackendBucketIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BackendBucketIamPolicyOutput struct{ *pulumi.OutputState } func (BackendBucketIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o BackendBucketIamPolicyOutput) ToBackendBucketIamPolicyOutputWithContext( return o } +func (o BackendBucketIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketIamPolicy] { + return pulumix.Output[*BackendBucketIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o BackendBucketIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *BackendBucketIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/backendService.go b/sdk/go/google/compute/beta/backendService.go index fa5e7b00f8..eaf2119c43 100644 --- a/sdk/go/google/compute/beta/backendService.go +++ b/sdk/go/google/compute/beta/backendService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview . @@ -302,6 +303,12 @@ func (i *BackendService) ToBackendServiceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BackendServiceOutput) } +func (i *BackendService) ToOutput(ctx context.Context) pulumix.Output[*BackendService] { + return pulumix.Output[*BackendService]{ + OutputState: i.ToBackendServiceOutputWithContext(ctx).OutputState, + } +} + type BackendServiceOutput struct{ *pulumi.OutputState } func (BackendServiceOutput) ElementType() reflect.Type { @@ -316,6 +323,12 @@ func (o BackendServiceOutput) ToBackendServiceOutputWithContext(ctx context.Cont return o } +func (o BackendServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendService] { + return pulumix.Output[*BackendService]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o BackendServiceOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v *BackendService) pulumi.IntOutput { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/backendServiceIamBinding.go b/sdk/go/google/compute/beta/backendServiceIamBinding.go index 6c01486da7..b31cbddf73 100644 --- a/sdk/go/google/compute/beta/backendServiceIamBinding.go +++ b/sdk/go/google/compute/beta/backendServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *BackendServiceIamBinding) ToBackendServiceIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIamBindingOutput) } +func (i *BackendServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamBinding] { + return pulumix.Output[*BackendServiceIamBinding]{ + OutputState: i.ToBackendServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type BackendServiceIamBindingOutput struct{ *pulumi.OutputState } func (BackendServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackendServiceIamBindingOutput) ToBackendServiceIamBindingOutputWithCont return o } +func (o BackendServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamBinding] { + return pulumix.Output[*BackendServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackendServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackendServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/backendServiceIamMember.go b/sdk/go/google/compute/beta/backendServiceIamMember.go index 74c91e6cbf..395ae60aee 100644 --- a/sdk/go/google/compute/beta/backendServiceIamMember.go +++ b/sdk/go/google/compute/beta/backendServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *BackendServiceIamMember) ToBackendServiceIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIamMemberOutput) } +func (i *BackendServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamMember] { + return pulumix.Output[*BackendServiceIamMember]{ + OutputState: i.ToBackendServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type BackendServiceIamMemberOutput struct{ *pulumi.OutputState } func (BackendServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackendServiceIamMemberOutput) ToBackendServiceIamMemberOutputWithContex return o } +func (o BackendServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamMember] { + return pulumix.Output[*BackendServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackendServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackendServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/backendServiceIamPolicy.go b/sdk/go/google/compute/beta/backendServiceIamPolicy.go index e542243aaa..9d81e7e8d8 100644 --- a/sdk/go/google/compute/beta/backendServiceIamPolicy.go +++ b/sdk/go/google/compute/beta/backendServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *BackendServiceIamPolicy) ToBackendServiceIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIamPolicyOutput) } +func (i *BackendServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamPolicy] { + return pulumix.Output[*BackendServiceIamPolicy]{ + OutputState: i.ToBackendServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BackendServiceIamPolicyOutput struct{ *pulumi.OutputState } func (BackendServiceIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o BackendServiceIamPolicyOutput) ToBackendServiceIamPolicyOutputWithContex return o } +func (o BackendServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamPolicy] { + return pulumix.Output[*BackendServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o BackendServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *BackendServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/disk.go b/sdk/go/google/compute/beta/disk.go index 7af7316942..be067d9db7 100644 --- a/sdk/go/google/compute/beta/disk.go +++ b/sdk/go/google/compute/beta/disk.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property. @@ -339,6 +340,12 @@ func (i *Disk) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return pulumi.ToOutputWithContext(ctx, i).(DiskOutput) } +func (i *Disk) ToOutput(ctx context.Context) pulumix.Output[*Disk] { + return pulumix.Output[*Disk]{ + OutputState: i.ToDiskOutputWithContext(ctx).OutputState, + } +} + type DiskOutput struct{ *pulumi.OutputState } func (DiskOutput) ElementType() reflect.Type { @@ -353,6 +360,12 @@ func (o DiskOutput) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return o } +func (o DiskOutput) ToOutput(ctx context.Context) pulumix.Output[*Disk] { + return pulumix.Output[*Disk]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o DiskOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *Disk) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/diskIamBinding.go b/sdk/go/google/compute/beta/diskIamBinding.go index 8829268c67..e9c2a195a9 100644 --- a/sdk/go/google/compute/beta/diskIamBinding.go +++ b/sdk/go/google/compute/beta/diskIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DiskIamBinding) ToDiskIamBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DiskIamBindingOutput) } +func (i *DiskIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DiskIamBinding] { + return pulumix.Output[*DiskIamBinding]{ + OutputState: i.ToDiskIamBindingOutputWithContext(ctx).OutputState, + } +} + type DiskIamBindingOutput struct{ *pulumi.OutputState } func (DiskIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DiskIamBindingOutput) ToDiskIamBindingOutputWithContext(ctx context.Cont return o } +func (o DiskIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskIamBinding] { + return pulumix.Output[*DiskIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DiskIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DiskIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/diskIamMember.go b/sdk/go/google/compute/beta/diskIamMember.go index 64bc195d9d..ae996cd2a0 100644 --- a/sdk/go/google/compute/beta/diskIamMember.go +++ b/sdk/go/google/compute/beta/diskIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DiskIamMember) ToDiskIamMemberOutputWithContext(ctx context.Context) Di return pulumi.ToOutputWithContext(ctx, i).(DiskIamMemberOutput) } +func (i *DiskIamMember) ToOutput(ctx context.Context) pulumix.Output[*DiskIamMember] { + return pulumix.Output[*DiskIamMember]{ + OutputState: i.ToDiskIamMemberOutputWithContext(ctx).OutputState, + } +} + type DiskIamMemberOutput struct{ *pulumi.OutputState } func (DiskIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DiskIamMemberOutput) ToDiskIamMemberOutputWithContext(ctx context.Contex return o } +func (o DiskIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskIamMember] { + return pulumix.Output[*DiskIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DiskIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DiskIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/diskIamPolicy.go b/sdk/go/google/compute/beta/diskIamPolicy.go index 1e575859a9..311a51f258 100644 --- a/sdk/go/google/compute/beta/diskIamPolicy.go +++ b/sdk/go/google/compute/beta/diskIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *DiskIamPolicy) ToDiskIamPolicyOutputWithContext(ctx context.Context) Di return pulumi.ToOutputWithContext(ctx, i).(DiskIamPolicyOutput) } +func (i *DiskIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DiskIamPolicy] { + return pulumix.Output[*DiskIamPolicy]{ + OutputState: i.ToDiskIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DiskIamPolicyOutput struct{ *pulumi.OutputState } func (DiskIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o DiskIamPolicyOutput) ToDiskIamPolicyOutputWithContext(ctx context.Contex return o } +func (o DiskIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskIamPolicy] { + return pulumix.Output[*DiskIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DiskIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DiskIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/externalVpnGateway.go b/sdk/go/google/compute/beta/externalVpnGateway.go index a787275145..f5252558d2 100644 --- a/sdk/go/google/compute/beta/externalVpnGateway.go +++ b/sdk/go/google/compute/beta/externalVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ExternalVpnGateway in the specified project using the data included in the request. @@ -137,6 +138,12 @@ func (i *ExternalVpnGateway) ToExternalVpnGatewayOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ExternalVpnGatewayOutput) } +func (i *ExternalVpnGateway) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGateway] { + return pulumix.Output[*ExternalVpnGateway]{ + OutputState: i.ToExternalVpnGatewayOutputWithContext(ctx).OutputState, + } +} + type ExternalVpnGatewayOutput struct{ *pulumi.OutputState } func (ExternalVpnGatewayOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ExternalVpnGatewayOutput) ToExternalVpnGatewayOutputWithContext(ctx cont return o } +func (o ExternalVpnGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGateway] { + return pulumix.Output[*ExternalVpnGateway]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o ExternalVpnGatewayOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *ExternalVpnGateway) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/firewall.go b/sdk/go/google/compute/beta/firewall.go index de0101ee7f..b9bff9afb8 100644 --- a/sdk/go/google/compute/beta/firewall.go +++ b/sdk/go/google/compute/beta/firewall.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a firewall rule in the specified project using the data included in the request. @@ -207,6 +208,12 @@ func (i *Firewall) ToFirewallOutputWithContext(ctx context.Context) FirewallOutp return pulumi.ToOutputWithContext(ctx, i).(FirewallOutput) } +func (i *Firewall) ToOutput(ctx context.Context) pulumix.Output[*Firewall] { + return pulumix.Output[*Firewall]{ + OutputState: i.ToFirewallOutputWithContext(ctx).OutputState, + } +} + type FirewallOutput struct{ *pulumi.OutputState } func (FirewallOutput) ElementType() reflect.Type { @@ -221,6 +228,12 @@ func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) Firewal return o } +func (o FirewallOutput) ToOutput(ctx context.Context) pulumix.Output[*Firewall] { + return pulumix.Output[*Firewall]{ + OutputState: o.OutputState, + } +} + // The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. func (o FirewallOutput) Allowed() FirewallAllowedItemResponseArrayOutput { return o.ApplyT(func(v *Firewall) FirewallAllowedItemResponseArrayOutput { return v.Allowed }).(FirewallAllowedItemResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/firewallPolicy.go b/sdk/go/google/compute/beta/firewallPolicy.go index 2ca609192a..e651881908 100644 --- a/sdk/go/google/compute/beta/firewallPolicy.go +++ b/sdk/go/google/compute/beta/firewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -156,6 +157,12 @@ func (i *FirewallPolicy) ToFirewallPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyOutput) } +func (i *FirewallPolicy) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicy] { + return pulumix.Output[*FirewallPolicy]{ + OutputState: i.ToFirewallPolicyOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyOutput struct{ *pulumi.OutputState } func (FirewallPolicyOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o FirewallPolicyOutput) ToFirewallPolicyOutputWithContext(ctx context.Cont return o } +func (o FirewallPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicy] { + return pulumix.Output[*FirewallPolicy]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o FirewallPolicyOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v *FirewallPolicy) FirewallPolicyAssociationResponseArrayOutput { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/firewallPolicyIamBinding.go b/sdk/go/google/compute/beta/firewallPolicyIamBinding.go index 8b4c82004a..3b47739a3e 100644 --- a/sdk/go/google/compute/beta/firewallPolicyIamBinding.go +++ b/sdk/go/google/compute/beta/firewallPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *FirewallPolicyIamBinding) ToFirewallPolicyIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIamBindingOutput) } +func (i *FirewallPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamBinding] { + return pulumix.Output[*FirewallPolicyIamBinding]{ + OutputState: i.ToFirewallPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyIamBindingOutput struct{ *pulumi.OutputState } func (FirewallPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FirewallPolicyIamBindingOutput) ToFirewallPolicyIamBindingOutputWithCont return o } +func (o FirewallPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamBinding] { + return pulumix.Output[*FirewallPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FirewallPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FirewallPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/firewallPolicyIamMember.go b/sdk/go/google/compute/beta/firewallPolicyIamMember.go index c10f8016f3..3bee19dd94 100644 --- a/sdk/go/google/compute/beta/firewallPolicyIamMember.go +++ b/sdk/go/google/compute/beta/firewallPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *FirewallPolicyIamMember) ToFirewallPolicyIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIamMemberOutput) } +func (i *FirewallPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamMember] { + return pulumix.Output[*FirewallPolicyIamMember]{ + OutputState: i.ToFirewallPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyIamMemberOutput struct{ *pulumi.OutputState } func (FirewallPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FirewallPolicyIamMemberOutput) ToFirewallPolicyIamMemberOutputWithContex return o } +func (o FirewallPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamMember] { + return pulumix.Output[*FirewallPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FirewallPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FirewallPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/firewallPolicyIamPolicy.go b/sdk/go/google/compute/beta/firewallPolicyIamPolicy.go index fe5122a94b..3a35e185fe 100644 --- a/sdk/go/google/compute/beta/firewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/beta/firewallPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -129,6 +130,12 @@ func (i *FirewallPolicyIamPolicy) ToFirewallPolicyIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIamPolicyOutput) } +func (i *FirewallPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamPolicy] { + return pulumix.Output[*FirewallPolicyIamPolicy]{ + OutputState: i.ToFirewallPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (FirewallPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o FirewallPolicyIamPolicyOutput) ToFirewallPolicyIamPolicyOutputWithContex return o } +func (o FirewallPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamPolicy] { + return pulumix.Output[*FirewallPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FirewallPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FirewallPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/forwardingRule.go b/sdk/go/google/compute/beta/forwardingRule.go index 56714be493..7059f11244 100644 --- a/sdk/go/google/compute/beta/forwardingRule.go +++ b/sdk/go/google/compute/beta/forwardingRule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ForwardingRule resource in the specified project and region using the data included in the request. @@ -264,6 +265,12 @@ func (i *ForwardingRule) ToForwardingRuleOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ForwardingRuleOutput) } +func (i *ForwardingRule) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRule] { + return pulumix.Output[*ForwardingRule]{ + OutputState: i.ToForwardingRuleOutputWithContext(ctx).OutputState, + } +} + type ForwardingRuleOutput struct{ *pulumi.OutputState } func (ForwardingRuleOutput) ElementType() reflect.Type { @@ -278,6 +285,12 @@ func (o ForwardingRuleOutput) ToForwardingRuleOutputWithContext(ctx context.Cont return o } +func (o ForwardingRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRule] { + return pulumix.Output[*ForwardingRule]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o ForwardingRuleOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v *ForwardingRule) pulumi.BoolOutput { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/getAddress.go b/sdk/go/google/compute/beta/getAddress.go index 8345fd4ee9..d1a70ee9cc 100644 --- a/sdk/go/google/compute/beta/getAddress.go +++ b/sdk/go/google/compute/beta/getAddress.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified address resource. @@ -106,6 +107,12 @@ func (o LookupAddressResultOutput) ToLookupAddressResultOutputWithContext(ctx co return o } +func (o LookupAddressResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAddressResult] { + return pulumix.Output[LookupAddressResult]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o LookupAddressResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v LookupAddressResult) string { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getAutoscaler.go b/sdk/go/google/compute/beta/getAutoscaler.go index e28e0d2934..6d2d726425 100644 --- a/sdk/go/google/compute/beta/getAutoscaler.go +++ b/sdk/go/google/compute/beta/getAutoscaler.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified autoscaler resource. @@ -94,6 +95,12 @@ func (o LookupAutoscalerResultOutput) ToLookupAutoscalerResultOutputWithContext( return o } +func (o LookupAutoscalerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAutoscalerResult] { + return pulumix.Output[LookupAutoscalerResult]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o LookupAutoscalerResultOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v LookupAutoscalerResult) AutoscalingPolicyResponse { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/beta/getBackendBucket.go b/sdk/go/google/compute/beta/getBackendBucket.go index 1dc52ddf7e..b7f6b48676 100644 --- a/sdk/go/google/compute/beta/getBackendBucket.go +++ b/sdk/go/google/compute/beta/getBackendBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified BackendBucket resource. @@ -88,6 +89,12 @@ func (o LookupBackendBucketResultOutput) ToLookupBackendBucketResultOutputWithCo return o } +func (o LookupBackendBucketResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendBucketResult] { + return pulumix.Output[LookupBackendBucketResult]{ + OutputState: o.OutputState, + } +} + // Cloud Storage bucket name. func (o LookupBackendBucketResultOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v LookupBackendBucketResult) string { return v.BucketName }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getBackendBucketIamPolicy.go b/sdk/go/google/compute/beta/getBackendBucketIamPolicy.go index 806aadd62b..59aa331954 100644 --- a/sdk/go/google/compute/beta/getBackendBucketIamPolicy.go +++ b/sdk/go/google/compute/beta/getBackendBucketIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupBackendBucketIamPolicyResultOutput) ToLookupBackendBucketIamPolicy return o } +func (o LookupBackendBucketIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendBucketIamPolicyResult] { + return pulumix.Output[LookupBackendBucketIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupBackendBucketIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupBackendBucketIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getBackendService.go b/sdk/go/google/compute/beta/getBackendService.go index 4faba3991b..7cf7884fb6 100644 --- a/sdk/go/google/compute/beta/getBackendService.go +++ b/sdk/go/google/compute/beta/getBackendService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified BackendService resource. @@ -143,6 +144,12 @@ func (o LookupBackendServiceResultOutput) ToLookupBackendServiceResultOutputWith return o } +func (o LookupBackendServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendServiceResult] { + return pulumix.Output[LookupBackendServiceResult]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o LookupBackendServiceResultOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v LookupBackendServiceResult) int { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/getBackendServiceIamPolicy.go b/sdk/go/google/compute/beta/getBackendServiceIamPolicy.go index 527b24f99f..d7d76aa933 100644 --- a/sdk/go/google/compute/beta/getBackendServiceIamPolicy.go +++ b/sdk/go/google/compute/beta/getBackendServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupBackendServiceIamPolicyResultOutput) ToLookupBackendServiceIamPoli return o } +func (o LookupBackendServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendServiceIamPolicyResult] { + return pulumix.Output[LookupBackendServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupBackendServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupBackendServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getDisk.go b/sdk/go/google/compute/beta/getDisk.go index 265b6949d2..e3a14f2d55 100644 --- a/sdk/go/google/compute/beta/getDisk.go +++ b/sdk/go/google/compute/beta/getDisk.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified persistent disk. @@ -174,6 +175,12 @@ func (o LookupDiskResultOutput) ToLookupDiskResultOutputWithContext(ctx context. return o } +func (o LookupDiskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDiskResult] { + return pulumix.Output[LookupDiskResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o LookupDiskResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupDiskResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getDiskIamPolicy.go b/sdk/go/google/compute/beta/getDiskIamPolicy.go index bd343e7339..9c8acbffce 100644 --- a/sdk/go/google/compute/beta/getDiskIamPolicy.go +++ b/sdk/go/google/compute/beta/getDiskIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupDiskIamPolicyResultOutput) ToLookupDiskIamPolicyResultOutputWithCo return o } +func (o LookupDiskIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDiskIamPolicyResult] { + return pulumix.Output[LookupDiskIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDiskIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDiskIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getExternalVpnGateway.go b/sdk/go/google/compute/beta/getExternalVpnGateway.go index b9644de770..0631660d3d 100644 --- a/sdk/go/google/compute/beta/getExternalVpnGateway.go +++ b/sdk/go/google/compute/beta/getExternalVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request. @@ -84,6 +85,12 @@ func (o LookupExternalVpnGatewayResultOutput) ToLookupExternalVpnGatewayResultOu return o } +func (o LookupExternalVpnGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExternalVpnGatewayResult] { + return pulumix.Output[LookupExternalVpnGatewayResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupExternalVpnGatewayResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupExternalVpnGatewayResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getFirewall.go b/sdk/go/google/compute/beta/getFirewall.go index 1f79123e1b..6a2de9ebf9 100644 --- a/sdk/go/google/compute/beta/getFirewall.go +++ b/sdk/go/google/compute/beta/getFirewall.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified firewall. @@ -106,6 +107,12 @@ func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx return o } +func (o LookupFirewallResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFirewallResult] { + return pulumix.Output[LookupFirewallResult]{ + OutputState: o.OutputState, + } +} + // The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. func (o LookupFirewallResultOutput) Allowed() FirewallAllowedItemResponseArrayOutput { return o.ApplyT(func(v LookupFirewallResult) []FirewallAllowedItemResponse { return v.Allowed }).(FirewallAllowedItemResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getFirewallPolicy.go b/sdk/go/google/compute/beta/getFirewallPolicy.go index 022d239bb3..d195c08724 100644 --- a/sdk/go/google/compute/beta/getFirewallPolicy.go +++ b/sdk/go/google/compute/beta/getFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified firewall policy. @@ -94,6 +95,12 @@ func (o LookupFirewallPolicyResultOutput) ToLookupFirewallPolicyResultOutputWith return o } +func (o LookupFirewallPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFirewallPolicyResult] { + return pulumix.Output[LookupFirewallPolicyResult]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o LookupFirewallPolicyResultOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v LookupFirewallPolicyResult) []FirewallPolicyAssociationResponse { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getFirewallPolicyIamPolicy.go b/sdk/go/google/compute/beta/getFirewallPolicyIamPolicy.go index d77c437c5d..d36b5b2bd1 100644 --- a/sdk/go/google/compute/beta/getFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/beta/getFirewallPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -76,6 +77,12 @@ func (o LookupFirewallPolicyIamPolicyResultOutput) ToLookupFirewallPolicyIamPoli return o } +func (o LookupFirewallPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFirewallPolicyIamPolicyResult] { + return pulumix.Output[LookupFirewallPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFirewallPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFirewallPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getForwardingRule.go b/sdk/go/google/compute/beta/getForwardingRule.go index 51a3a011c6..4acdb0ee4d 100644 --- a/sdk/go/google/compute/beta/getForwardingRule.go +++ b/sdk/go/google/compute/beta/getForwardingRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified ForwardingRule resource. @@ -133,6 +134,12 @@ func (o LookupForwardingRuleResultOutput) ToLookupForwardingRuleResultOutputWith return o } +func (o LookupForwardingRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupForwardingRuleResult] { + return pulumix.Output[LookupForwardingRuleResult]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o LookupForwardingRuleResultOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v LookupForwardingRuleResult) bool { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/getGlobalAddress.go b/sdk/go/google/compute/beta/getGlobalAddress.go index 46ed501f50..704c48160b 100644 --- a/sdk/go/google/compute/beta/getGlobalAddress.go +++ b/sdk/go/google/compute/beta/getGlobalAddress.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified address resource. @@ -104,6 +105,12 @@ func (o LookupGlobalAddressResultOutput) ToLookupGlobalAddressResultOutputWithCo return o } +func (o LookupGlobalAddressResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalAddressResult] { + return pulumix.Output[LookupGlobalAddressResult]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o LookupGlobalAddressResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v LookupGlobalAddressResult) string { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getGlobalForwardingRule.go b/sdk/go/google/compute/beta/getGlobalForwardingRule.go index 3b5129c2b0..7cfeb0a7a5 100644 --- a/sdk/go/google/compute/beta/getGlobalForwardingRule.go +++ b/sdk/go/google/compute/beta/getGlobalForwardingRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request. @@ -131,6 +132,12 @@ func (o LookupGlobalForwardingRuleResultOutput) ToLookupGlobalForwardingRuleResu return o } +func (o LookupGlobalForwardingRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalForwardingRuleResult] { + return pulumix.Output[LookupGlobalForwardingRuleResult]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o LookupGlobalForwardingRuleResultOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v LookupGlobalForwardingRuleResult) bool { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/getGlobalNetworkEndpointGroup.go b/sdk/go/google/compute/beta/getGlobalNetworkEndpointGroup.go index b337bb0ce2..a450ebfdfa 100644 --- a/sdk/go/google/compute/beta/getGlobalNetworkEndpointGroup.go +++ b/sdk/go/google/compute/beta/getGlobalNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network endpoint group. @@ -107,6 +108,12 @@ func (o LookupGlobalNetworkEndpointGroupResultOutput) ToLookupGlobalNetworkEndpo return o } +func (o LookupGlobalNetworkEndpointGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalNetworkEndpointGroupResult] { + return pulumix.Output[LookupGlobalNetworkEndpointGroupResult]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o LookupGlobalNetworkEndpointGroupResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupGlobalNetworkEndpointGroupResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/beta/getGlobalPublicDelegatedPrefix.go b/sdk/go/google/compute/beta/getGlobalPublicDelegatedPrefix.go index e847de5930..e829e6ac48 100644 --- a/sdk/go/google/compute/beta/getGlobalPublicDelegatedPrefix.go +++ b/sdk/go/google/compute/beta/getGlobalPublicDelegatedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified global PublicDelegatedPrefix resource. @@ -90,6 +91,12 @@ func (o LookupGlobalPublicDelegatedPrefixResultOutput) ToLookupGlobalPublicDeleg return o } +func (o LookupGlobalPublicDelegatedPrefixResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalPublicDelegatedPrefixResult] { + return pulumix.Output[LookupGlobalPublicDelegatedPrefixResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupGlobalPublicDelegatedPrefixResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupGlobalPublicDelegatedPrefixResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getHealthCheck.go b/sdk/go/google/compute/beta/getHealthCheck.go index faee30c0f4..832b98a4ca 100644 --- a/sdk/go/google/compute/beta/getHealthCheck.go +++ b/sdk/go/google/compute/beta/getHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HealthCheck resource. @@ -96,6 +97,12 @@ func (o LookupHealthCheckResultOutput) ToLookupHealthCheckResultOutputWithContex return o } +func (o LookupHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHealthCheckResult] { + return pulumix.Output[LookupHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/getHttpHealthCheck.go b/sdk/go/google/compute/beta/getHttpHealthCheck.go index 38184da842..d7bb40f462 100644 --- a/sdk/go/google/compute/beta/getHttpHealthCheck.go +++ b/sdk/go/google/compute/beta/getHttpHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HttpHealthCheck resource. @@ -90,6 +91,12 @@ func (o LookupHttpHealthCheckResultOutput) ToLookupHttpHealthCheckResultOutputWi return o } +func (o LookupHttpHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHttpHealthCheckResult] { + return pulumix.Output[LookupHttpHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupHttpHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupHttpHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/getHttpsHealthCheck.go b/sdk/go/google/compute/beta/getHttpsHealthCheck.go index e665c8ff5a..a18fe3c492 100644 --- a/sdk/go/google/compute/beta/getHttpsHealthCheck.go +++ b/sdk/go/google/compute/beta/getHttpsHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HttpsHealthCheck resource. @@ -90,6 +91,12 @@ func (o LookupHttpsHealthCheckResultOutput) ToLookupHttpsHealthCheckResultOutput return o } +func (o LookupHttpsHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHttpsHealthCheckResult] { + return pulumix.Output[LookupHttpsHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupHttpsHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupHttpsHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/getImage.go b/sdk/go/google/compute/beta/getImage.go index 00e4d244f1..1d31070173 100644 --- a/sdk/go/google/compute/beta/getImage.go +++ b/sdk/go/google/compute/beta/getImage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified image. @@ -134,6 +135,12 @@ func (o LookupImageResultOutput) ToLookupImageResultOutputWithContext(ctx contex return o } +func (o LookupImageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupImageResult] { + return pulumix.Output[LookupImageResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the image. Valid values are ARM64 or X86_64. func (o LookupImageResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupImageResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getImageIamPolicy.go b/sdk/go/google/compute/beta/getImageIamPolicy.go index c3c1edbce6..98be532530 100644 --- a/sdk/go/google/compute/beta/getImageIamPolicy.go +++ b/sdk/go/google/compute/beta/getImageIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupImageIamPolicyResultOutput) ToLookupImageIamPolicyResultOutputWith return o } +func (o LookupImageIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupImageIamPolicyResult] { + return pulumix.Output[LookupImageIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupImageIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupImageIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getInstance.go b/sdk/go/google/compute/beta/getInstance.go index eef8dace0d..a0beefe843 100644 --- a/sdk/go/google/compute/beta/getInstance.go +++ b/sdk/go/google/compute/beta/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Instance resource. @@ -160,6 +161,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. func (o LookupInstanceResultOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesResponseOutput { return o.ApplyT(func(v LookupInstanceResult) AdvancedMachineFeaturesResponse { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesResponseOutput) diff --git a/sdk/go/google/compute/beta/getInstanceGroup.go b/sdk/go/google/compute/beta/getInstanceGroup.go index cde7ac58b5..bf93956fa5 100644 --- a/sdk/go/google/compute/beta/getInstanceGroup.go +++ b/sdk/go/google/compute/beta/getInstanceGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. @@ -92,6 +93,12 @@ func (o LookupInstanceGroupResultOutput) ToLookupInstanceGroupResultOutputWithCo return o } +func (o LookupInstanceGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceGroupResult] { + return pulumix.Output[LookupInstanceGroupResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance group in RFC3339 text format. func (o LookupInstanceGroupResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceGroupResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getInstanceGroupManager.go b/sdk/go/google/compute/beta/getInstanceGroupManager.go index e76cb2fcef..88c0cd4169 100644 --- a/sdk/go/google/compute/beta/getInstanceGroupManager.go +++ b/sdk/go/google/compute/beta/getInstanceGroupManager.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns all of the details about the specified managed instance group. @@ -120,6 +121,12 @@ func (o LookupInstanceGroupManagerResultOutput) ToLookupInstanceGroupManagerResu return o } +func (o LookupInstanceGroupManagerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceGroupManagerResult] { + return pulumix.Output[LookupInstanceGroupManagerResult]{ + OutputState: o.OutputState, + } +} + // Specifies configuration that overrides the instance template configuration for the group. func (o LookupInstanceGroupManagerResultOutput) AllInstancesConfig() InstanceGroupManagerAllInstancesConfigResponseOutput { return o.ApplyT(func(v LookupInstanceGroupManagerResult) InstanceGroupManagerAllInstancesConfigResponse { diff --git a/sdk/go/google/compute/beta/getInstanceIamPolicy.go b/sdk/go/google/compute/beta/getInstanceIamPolicy.go index 6557bc2827..1f3001ef3a 100644 --- a/sdk/go/google/compute/beta/getInstanceIamPolicy.go +++ b/sdk/go/google/compute/beta/getInstanceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutp return o } +func (o LookupInstanceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceIamPolicyResult] { + return pulumix.Output[LookupInstanceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getInstanceTemplate.go b/sdk/go/google/compute/beta/getInstanceTemplate.go index b47f3c4da4..1d07966ef1 100644 --- a/sdk/go/google/compute/beta/getInstanceTemplate.go +++ b/sdk/go/google/compute/beta/getInstanceTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified instance template. @@ -84,6 +85,12 @@ func (o LookupInstanceTemplateResultOutput) ToLookupInstanceTemplateResultOutput return o } +func (o LookupInstanceTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceTemplateResult] { + return pulumix.Output[LookupInstanceTemplateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o LookupInstanceTemplateResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceTemplateResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getInstanceTemplateIamPolicy.go b/sdk/go/google/compute/beta/getInstanceTemplateIamPolicy.go index c934a12f6c..0413deb67a 100644 --- a/sdk/go/google/compute/beta/getInstanceTemplateIamPolicy.go +++ b/sdk/go/google/compute/beta/getInstanceTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupInstanceTemplateIamPolicyResultOutput) ToLookupInstanceTemplateIam return o } +func (o LookupInstanceTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceTemplateIamPolicyResult] { + return pulumix.Output[LookupInstanceTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceTemplateIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceTemplateIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getInstantSnapshot.go b/sdk/go/google/compute/beta/getInstantSnapshot.go index cc2c48fd01..b29a6d07e1 100644 --- a/sdk/go/google/compute/beta/getInstantSnapshot.go +++ b/sdk/go/google/compute/beta/getInstantSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified InstantSnapshot resource in the specified zone. @@ -102,6 +103,12 @@ func (o LookupInstantSnapshotResultOutput) ToLookupInstantSnapshotResultOutputWi return o } +func (o LookupInstantSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstantSnapshotResult] { + return pulumix.Output[LookupInstantSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the instant snapshot. Valid values are ARM64 or X86_64. func (o LookupInstantSnapshotResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupInstantSnapshotResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getInstantSnapshotIamPolicy.go b/sdk/go/google/compute/beta/getInstantSnapshotIamPolicy.go index 83afea9276..bd74462d08 100644 --- a/sdk/go/google/compute/beta/getInstantSnapshotIamPolicy.go +++ b/sdk/go/google/compute/beta/getInstantSnapshotIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupInstantSnapshotIamPolicyResultOutput) ToLookupInstantSnapshotIamPo return o } +func (o LookupInstantSnapshotIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstantSnapshotIamPolicyResult] { + return pulumix.Output[LookupInstantSnapshotIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstantSnapshotIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstantSnapshotIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getInterconnect.go b/sdk/go/google/compute/beta/getInterconnect.go index 7a34e7cf23..250237a68b 100644 --- a/sdk/go/google/compute/beta/getInterconnect.go +++ b/sdk/go/google/compute/beta/getInterconnect.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. @@ -116,6 +117,12 @@ func (o LookupInterconnectResultOutput) ToLookupInterconnectResultOutputWithCont return o } +func (o LookupInterconnectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInterconnectResult] { + return pulumix.Output[LookupInterconnectResult]{ + OutputState: o.OutputState, + } +} + // Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. func (o LookupInterconnectResultOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupInterconnectResult) bool { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/getInterconnectAttachment.go b/sdk/go/google/compute/beta/getInterconnectAttachment.go index eea147889e..da1df8364b 100644 --- a/sdk/go/google/compute/beta/getInterconnectAttachment.go +++ b/sdk/go/google/compute/beta/getInterconnectAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified interconnect attachment. @@ -148,6 +149,12 @@ func (o LookupInterconnectAttachmentResultOutput) ToLookupInterconnectAttachment return o } +func (o LookupInterconnectAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInterconnectAttachmentResult] { + return pulumix.Output[LookupInterconnectAttachmentResult]{ + OutputState: o.OutputState, + } +} + // Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. func (o LookupInterconnectAttachmentResultOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupInterconnectAttachmentResult) bool { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/getLicense.go b/sdk/go/google/compute/beta/getLicense.go index b466cd2354..2070f7ecdf 100644 --- a/sdk/go/google/compute/beta/getLicense.go +++ b/sdk/go/google/compute/beta/getLicense.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified License resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -85,6 +86,12 @@ func (o LookupLicenseResultOutput) ToLookupLicenseResultOutputWithContext(ctx co return o } +func (o LookupLicenseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLicenseResult] { + return pulumix.Output[LookupLicenseResult]{ + OutputState: o.OutputState, + } +} + // Deprecated. This field no longer reflects whether a license charges a usage fee. // // Deprecated: [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. diff --git a/sdk/go/google/compute/beta/getLicenseIamPolicy.go b/sdk/go/google/compute/beta/getLicenseIamPolicy.go index 3abdad7475..eae9fb2849 100644 --- a/sdk/go/google/compute/beta/getLicenseIamPolicy.go +++ b/sdk/go/google/compute/beta/getLicenseIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -78,6 +79,12 @@ func (o LookupLicenseIamPolicyResultOutput) ToLookupLicenseIamPolicyResultOutput return o } +func (o LookupLicenseIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLicenseIamPolicyResult] { + return pulumix.Output[LookupLicenseIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLicenseIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLicenseIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getMachineImage.go b/sdk/go/google/compute/beta/getMachineImage.go index a8c333b241..7f6045c8dd 100644 --- a/sdk/go/google/compute/beta/getMachineImage.go +++ b/sdk/go/google/compute/beta/getMachineImage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified machine image. @@ -98,6 +99,12 @@ func (o LookupMachineImageResultOutput) ToLookupMachineImageResultOutputWithCont return o } +func (o LookupMachineImageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMachineImageResult] { + return pulumix.Output[LookupMachineImageResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this machine image in RFC3339 text format. func (o LookupMachineImageResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupMachineImageResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getMachineImageIamPolicy.go b/sdk/go/google/compute/beta/getMachineImageIamPolicy.go index 20316b0780..e6f5fcd513 100644 --- a/sdk/go/google/compute/beta/getMachineImageIamPolicy.go +++ b/sdk/go/google/compute/beta/getMachineImageIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupMachineImageIamPolicyResultOutput) ToLookupMachineImageIamPolicyRe return o } +func (o LookupMachineImageIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMachineImageIamPolicyResult] { + return pulumix.Output[LookupMachineImageIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMachineImageIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMachineImageIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getNetwork.go b/sdk/go/google/compute/beta/getNetwork.go index d85cebf77c..4e72eba1fc 100644 --- a/sdk/go/google/compute/beta/getNetwork.go +++ b/sdk/go/google/compute/beta/getNetwork.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network. @@ -102,6 +103,12 @@ func (o LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext(ctx co return o } +func (o LookupNetworkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkResult] { + return pulumix.Output[LookupNetworkResult]{ + OutputState: o.OutputState, + } +} + // Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method. func (o LookupNetworkResultOutput) AutoCreateSubnetworks() pulumi.BoolOutput { return o.ApplyT(func(v LookupNetworkResult) bool { return v.AutoCreateSubnetworks }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/getNetworkAttachment.go b/sdk/go/google/compute/beta/getNetworkAttachment.go index 80a8804185..75c1396912 100644 --- a/sdk/go/google/compute/beta/getNetworkAttachment.go +++ b/sdk/go/google/compute/beta/getNetworkAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified NetworkAttachment resource in the given scope. @@ -95,6 +96,12 @@ func (o LookupNetworkAttachmentResultOutput) ToLookupNetworkAttachmentResultOutp return o } +func (o LookupNetworkAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkAttachmentResult] { + return pulumix.Output[LookupNetworkAttachmentResult]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the producers connected to this network attachment. func (o LookupNetworkAttachmentResultOutput) ConnectionEndpoints() NetworkAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v LookupNetworkAttachmentResult) []NetworkAttachmentConnectedEndpointResponse { diff --git a/sdk/go/google/compute/beta/getNetworkAttachmentIamPolicy.go b/sdk/go/google/compute/beta/getNetworkAttachmentIamPolicy.go index d1feaf6eb4..dbfbb3f343 100644 --- a/sdk/go/google/compute/beta/getNetworkAttachmentIamPolicy.go +++ b/sdk/go/google/compute/beta/getNetworkAttachmentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupNetworkAttachmentIamPolicyResultOutput) ToLookupNetworkAttachmentI return o } +func (o LookupNetworkAttachmentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkAttachmentIamPolicyResult] { + return pulumix.Output[LookupNetworkAttachmentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNetworkAttachmentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNetworkAttachmentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getNetworkEdgeSecurityService.go b/sdk/go/google/compute/beta/getNetworkEdgeSecurityService.go index 55bb08cd42..1788df45fa 100644 --- a/sdk/go/google/compute/beta/getNetworkEdgeSecurityService.go +++ b/sdk/go/google/compute/beta/getNetworkEdgeSecurityService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a specified NetworkEdgeSecurityService. @@ -86,6 +87,12 @@ func (o LookupNetworkEdgeSecurityServiceResultOutput) ToLookupNetworkEdgeSecurit return o } +func (o LookupNetworkEdgeSecurityServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkEdgeSecurityServiceResult] { + return pulumix.Output[LookupNetworkEdgeSecurityServiceResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupNetworkEdgeSecurityServiceResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupNetworkEdgeSecurityServiceResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getNetworkEndpointGroup.go b/sdk/go/google/compute/beta/getNetworkEndpointGroup.go index cbfecddf79..c617a111bc 100644 --- a/sdk/go/google/compute/beta/getNetworkEndpointGroup.go +++ b/sdk/go/google/compute/beta/getNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network endpoint group. @@ -109,6 +110,12 @@ func (o LookupNetworkEndpointGroupResultOutput) ToLookupNetworkEndpointGroupResu return o } +func (o LookupNetworkEndpointGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkEndpointGroupResult] { + return pulumix.Output[LookupNetworkEndpointGroupResult]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o LookupNetworkEndpointGroupResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupNetworkEndpointGroupResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/beta/getNetworkFirewallPolicy.go b/sdk/go/google/compute/beta/getNetworkFirewallPolicy.go index 2f43294b05..cdc212a6da 100644 --- a/sdk/go/google/compute/beta/getNetworkFirewallPolicy.go +++ b/sdk/go/google/compute/beta/getNetworkFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network firewall policy. @@ -96,6 +97,12 @@ func (o LookupNetworkFirewallPolicyResultOutput) ToLookupNetworkFirewallPolicyRe return o } +func (o LookupNetworkFirewallPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkFirewallPolicyResult] { + return pulumix.Output[LookupNetworkFirewallPolicyResult]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o LookupNetworkFirewallPolicyResultOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v LookupNetworkFirewallPolicyResult) []FirewallPolicyAssociationResponse { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getNetworkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/beta/getNetworkFirewallPolicyIamPolicy.go index 00ddda0478..3ec3059727 100644 --- a/sdk/go/google/compute/beta/getNetworkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/beta/getNetworkFirewallPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupNetworkFirewallPolicyIamPolicyResultOutput) ToLookupNetworkFirewal return o } +func (o LookupNetworkFirewallPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkFirewallPolicyIamPolicyResult] { + return pulumix.Output[LookupNetworkFirewallPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNetworkFirewallPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNetworkFirewallPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getNodeGroup.go b/sdk/go/google/compute/beta/getNodeGroup.go index 68771bba75..37be3b9428 100644 --- a/sdk/go/google/compute/beta/getNodeGroup.go +++ b/sdk/go/google/compute/beta/getNodeGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead. @@ -95,6 +96,12 @@ func (o LookupNodeGroupResultOutput) ToLookupNodeGroupResultOutputWithContext(ct return o } +func (o LookupNodeGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeGroupResult] { + return pulumix.Output[LookupNodeGroupResult]{ + OutputState: o.OutputState, + } +} + // Specifies how autoscaling should behave. func (o LookupNodeGroupResultOutput) AutoscalingPolicy() NodeGroupAutoscalingPolicyResponseOutput { return o.ApplyT(func(v LookupNodeGroupResult) NodeGroupAutoscalingPolicyResponse { return v.AutoscalingPolicy }).(NodeGroupAutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/beta/getNodeGroupIamPolicy.go b/sdk/go/google/compute/beta/getNodeGroupIamPolicy.go index 0987869c8f..4b23766b81 100644 --- a/sdk/go/google/compute/beta/getNodeGroupIamPolicy.go +++ b/sdk/go/google/compute/beta/getNodeGroupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupNodeGroupIamPolicyResultOutput) ToLookupNodeGroupIamPolicyResultOu return o } +func (o LookupNodeGroupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeGroupIamPolicyResult] { + return pulumix.Output[LookupNodeGroupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNodeGroupIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNodeGroupIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getNodeTemplate.go b/sdk/go/google/compute/beta/getNodeTemplate.go index 9846fe2d95..fb763a0853 100644 --- a/sdk/go/google/compute/beta/getNodeTemplate.go +++ b/sdk/go/google/compute/beta/getNodeTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified node template. @@ -96,6 +97,12 @@ func (o LookupNodeTemplateResultOutput) ToLookupNodeTemplateResultOutputWithCont return o } +func (o LookupNodeTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeTemplateResult] { + return pulumix.Output[LookupNodeTemplateResult]{ + OutputState: o.OutputState, + } +} + func (o LookupNodeTemplateResultOutput) Accelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v LookupNodeTemplateResult) []AcceleratorConfigResponse { return v.Accelerators }).(AcceleratorConfigResponseArrayOutput) } diff --git a/sdk/go/google/compute/beta/getNodeTemplateIamPolicy.go b/sdk/go/google/compute/beta/getNodeTemplateIamPolicy.go index de8ce00382..921f515cb2 100644 --- a/sdk/go/google/compute/beta/getNodeTemplateIamPolicy.go +++ b/sdk/go/google/compute/beta/getNodeTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupNodeTemplateIamPolicyResultOutput) ToLookupNodeTemplateIamPolicyRe return o } +func (o LookupNodeTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeTemplateIamPolicyResult] { + return pulumix.Output[LookupNodeTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNodeTemplateIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNodeTemplateIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getOrganizationSecurityPolicy.go b/sdk/go/google/compute/beta/getOrganizationSecurityPolicy.go index e248f43d74..a6171e5ca8 100644 --- a/sdk/go/google/compute/beta/getOrganizationSecurityPolicy.go +++ b/sdk/go/google/compute/beta/getOrganizationSecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // List all of the ordered rules present in a single specified policy. @@ -102,6 +103,12 @@ func (o LookupOrganizationSecurityPolicyResultOutput) ToLookupOrganizationSecuri return o } +func (o LookupOrganizationSecurityPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationSecurityPolicyResult] { + return pulumix.Output[LookupOrganizationSecurityPolicyResult]{ + OutputState: o.OutputState, + } +} + func (o LookupOrganizationSecurityPolicyResultOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v LookupOrganizationSecurityPolicyResult) SecurityPolicyAdaptiveProtectionConfigResponse { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/beta/getPacketMirroring.go b/sdk/go/google/compute/beta/getPacketMirroring.go index c25e4c4147..18d7786d4e 100644 --- a/sdk/go/google/compute/beta/getPacketMirroring.go +++ b/sdk/go/google/compute/beta/getPacketMirroring.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified PacketMirroring resource. @@ -92,6 +93,12 @@ func (o LookupPacketMirroringResultOutput) ToLookupPacketMirroringResultOutputWi return o } +func (o LookupPacketMirroringResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPacketMirroringResult] { + return pulumix.Output[LookupPacketMirroringResult]{ + OutputState: o.OutputState, + } +} + // The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true. func (o LookupPacketMirroringResultOutput) CollectorIlb() PacketMirroringForwardingRuleInfoResponseOutput { return o.ApplyT(func(v LookupPacketMirroringResult) PacketMirroringForwardingRuleInfoResponse { return v.CollectorIlb }).(PacketMirroringForwardingRuleInfoResponseOutput) diff --git a/sdk/go/google/compute/beta/getPublicAdvertisedPrefix.go b/sdk/go/google/compute/beta/getPublicAdvertisedPrefix.go index 78f0711ada..b38fb881bc 100644 --- a/sdk/go/google/compute/beta/getPublicAdvertisedPrefix.go +++ b/sdk/go/google/compute/beta/getPublicAdvertisedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified PublicAdvertisedPrefix resource. @@ -88,6 +89,12 @@ func (o LookupPublicAdvertisedPrefixResultOutput) ToLookupPublicAdvertisedPrefix return o } +func (o LookupPublicAdvertisedPrefixResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPublicAdvertisedPrefixResult] { + return pulumix.Output[LookupPublicAdvertisedPrefixResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupPublicAdvertisedPrefixResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupPublicAdvertisedPrefixResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getPublicDelegatedPrefix.go b/sdk/go/google/compute/beta/getPublicDelegatedPrefix.go index 116981d2d1..647c947b8f 100644 --- a/sdk/go/google/compute/beta/getPublicDelegatedPrefix.go +++ b/sdk/go/google/compute/beta/getPublicDelegatedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified PublicDelegatedPrefix resource in the given region. @@ -92,6 +93,12 @@ func (o LookupPublicDelegatedPrefixResultOutput) ToLookupPublicDelegatedPrefixRe return o } +func (o LookupPublicDelegatedPrefixResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPublicDelegatedPrefixResult] { + return pulumix.Output[LookupPublicDelegatedPrefixResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupPublicDelegatedPrefixResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupPublicDelegatedPrefixResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getRegionAutoscaler.go b/sdk/go/google/compute/beta/getRegionAutoscaler.go index 29506c6950..29f2853e3c 100644 --- a/sdk/go/google/compute/beta/getRegionAutoscaler.go +++ b/sdk/go/google/compute/beta/getRegionAutoscaler.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified autoscaler. @@ -94,6 +95,12 @@ func (o LookupRegionAutoscalerResultOutput) ToLookupRegionAutoscalerResultOutput return o } +func (o LookupRegionAutoscalerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionAutoscalerResult] { + return pulumix.Output[LookupRegionAutoscalerResult]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o LookupRegionAutoscalerResultOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v LookupRegionAutoscalerResult) AutoscalingPolicyResponse { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/beta/getRegionBackendService.go b/sdk/go/google/compute/beta/getRegionBackendService.go index a16b887c59..7508fb1a15 100644 --- a/sdk/go/google/compute/beta/getRegionBackendService.go +++ b/sdk/go/google/compute/beta/getRegionBackendService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified regional BackendService resource. @@ -145,6 +146,12 @@ func (o LookupRegionBackendServiceResultOutput) ToLookupRegionBackendServiceResu return o } +func (o LookupRegionBackendServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionBackendServiceResult] { + return pulumix.Output[LookupRegionBackendServiceResult]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o LookupRegionBackendServiceResultOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v LookupRegionBackendServiceResult) int { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/getRegionBackendServiceIamPolicy.go b/sdk/go/google/compute/beta/getRegionBackendServiceIamPolicy.go index c0bb7cfc0d..bb95592bff 100644 --- a/sdk/go/google/compute/beta/getRegionBackendServiceIamPolicy.go +++ b/sdk/go/google/compute/beta/getRegionBackendServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionBackendServiceIamPolicyResultOutput) ToLookupRegionBackendSe return o } +func (o LookupRegionBackendServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionBackendServiceIamPolicyResult] { + return pulumix.Output[LookupRegionBackendServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionBackendServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionBackendServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getRegionCommitment.go b/sdk/go/google/compute/beta/getRegionCommitment.go index 8c268c960b..48ea0af142 100644 --- a/sdk/go/google/compute/beta/getRegionCommitment.go +++ b/sdk/go/google/compute/beta/getRegionCommitment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified commitment resource. @@ -106,6 +107,12 @@ func (o LookupRegionCommitmentResultOutput) ToLookupRegionCommitmentResultOutput return o } +func (o LookupRegionCommitmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionCommitmentResult] { + return pulumix.Output[LookupRegionCommitmentResult]{ + OutputState: o.OutputState, + } +} + // Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment. func (o LookupRegionCommitmentResultOutput) AutoRenew() pulumi.BoolOutput { return o.ApplyT(func(v LookupRegionCommitmentResult) bool { return v.AutoRenew }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/getRegionDisk.go b/sdk/go/google/compute/beta/getRegionDisk.go index c9b2245df4..bcb7ef4ae4 100644 --- a/sdk/go/google/compute/beta/getRegionDisk.go +++ b/sdk/go/google/compute/beta/getRegionDisk.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified regional persistent disk. @@ -174,6 +175,12 @@ func (o LookupRegionDiskResultOutput) ToLookupRegionDiskResultOutputWithContext( return o } +func (o LookupRegionDiskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionDiskResult] { + return pulumix.Output[LookupRegionDiskResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o LookupRegionDiskResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionDiskResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getRegionDiskIamPolicy.go b/sdk/go/google/compute/beta/getRegionDiskIamPolicy.go index 9abaab9e1a..a99cd9dcd0 100644 --- a/sdk/go/google/compute/beta/getRegionDiskIamPolicy.go +++ b/sdk/go/google/compute/beta/getRegionDiskIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionDiskIamPolicyResultOutput) ToLookupRegionDiskIamPolicyResult return o } +func (o LookupRegionDiskIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionDiskIamPolicyResult] { + return pulumix.Output[LookupRegionDiskIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionDiskIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionDiskIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getRegionHealthCheck.go b/sdk/go/google/compute/beta/getRegionHealthCheck.go index baa2f66f75..c044c045d9 100644 --- a/sdk/go/google/compute/beta/getRegionHealthCheck.go +++ b/sdk/go/google/compute/beta/getRegionHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HealthCheck resource. @@ -98,6 +99,12 @@ func (o LookupRegionHealthCheckResultOutput) ToLookupRegionHealthCheckResultOutp return o } +func (o LookupRegionHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionHealthCheckResult] { + return pulumix.Output[LookupRegionHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupRegionHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupRegionHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/getRegionHealthCheckService.go b/sdk/go/google/compute/beta/getRegionHealthCheckService.go index d9594c7afe..38edf668bf 100644 --- a/sdk/go/google/compute/beta/getRegionHealthCheckService.go +++ b/sdk/go/google/compute/beta/getRegionHealthCheckService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified regional HealthCheckService resource. @@ -94,6 +95,12 @@ func (o LookupRegionHealthCheckServiceResultOutput) ToLookupRegionHealthCheckSer return o } +func (o LookupRegionHealthCheckServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionHealthCheckServiceResult] { + return pulumix.Output[LookupRegionHealthCheckServiceResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionHealthCheckServiceResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionHealthCheckServiceResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getRegionInstanceGroupManager.go b/sdk/go/google/compute/beta/getRegionInstanceGroupManager.go index 309ec595a5..5ceaf4cfff 100644 --- a/sdk/go/google/compute/beta/getRegionInstanceGroupManager.go +++ b/sdk/go/google/compute/beta/getRegionInstanceGroupManager.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns all of the details about the specified managed instance group. @@ -120,6 +121,12 @@ func (o LookupRegionInstanceGroupManagerResultOutput) ToLookupRegionInstanceGrou return o } +func (o LookupRegionInstanceGroupManagerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionInstanceGroupManagerResult] { + return pulumix.Output[LookupRegionInstanceGroupManagerResult]{ + OutputState: o.OutputState, + } +} + // Specifies configuration that overrides the instance template configuration for the group. func (o LookupRegionInstanceGroupManagerResultOutput) AllInstancesConfig() InstanceGroupManagerAllInstancesConfigResponseOutput { return o.ApplyT(func(v LookupRegionInstanceGroupManagerResult) InstanceGroupManagerAllInstancesConfigResponse { diff --git a/sdk/go/google/compute/beta/getRegionInstanceTemplate.go b/sdk/go/google/compute/beta/getRegionInstanceTemplate.go index 843872b317..a7df189789 100644 --- a/sdk/go/google/compute/beta/getRegionInstanceTemplate.go +++ b/sdk/go/google/compute/beta/getRegionInstanceTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified instance template. @@ -86,6 +87,12 @@ func (o LookupRegionInstanceTemplateResultOutput) ToLookupRegionInstanceTemplate return o } +func (o LookupRegionInstanceTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionInstanceTemplateResult] { + return pulumix.Output[LookupRegionInstanceTemplateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o LookupRegionInstanceTemplateResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionInstanceTemplateResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getRegionInstantSnapshot.go b/sdk/go/google/compute/beta/getRegionInstantSnapshot.go index 3854242742..5d8371c512 100644 --- a/sdk/go/google/compute/beta/getRegionInstantSnapshot.go +++ b/sdk/go/google/compute/beta/getRegionInstantSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified InstantSnapshot resource in the specified region. @@ -102,6 +103,12 @@ func (o LookupRegionInstantSnapshotResultOutput) ToLookupRegionInstantSnapshotRe return o } +func (o LookupRegionInstantSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionInstantSnapshotResult] { + return pulumix.Output[LookupRegionInstantSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the instant snapshot. Valid values are ARM64 or X86_64. func (o LookupRegionInstantSnapshotResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionInstantSnapshotResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getRegionInstantSnapshotIamPolicy.go b/sdk/go/google/compute/beta/getRegionInstantSnapshotIamPolicy.go index 49b0713d7d..f061cb1c35 100644 --- a/sdk/go/google/compute/beta/getRegionInstantSnapshotIamPolicy.go +++ b/sdk/go/google/compute/beta/getRegionInstantSnapshotIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionInstantSnapshotIamPolicyResultOutput) ToLookupRegionInstantS return o } +func (o LookupRegionInstantSnapshotIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionInstantSnapshotIamPolicyResult] { + return pulumix.Output[LookupRegionInstantSnapshotIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionInstantSnapshotIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionInstantSnapshotIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getRegionNetworkEndpointGroup.go b/sdk/go/google/compute/beta/getRegionNetworkEndpointGroup.go index da029657da..e8079f41c8 100644 --- a/sdk/go/google/compute/beta/getRegionNetworkEndpointGroup.go +++ b/sdk/go/google/compute/beta/getRegionNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network endpoint group. @@ -109,6 +110,12 @@ func (o LookupRegionNetworkEndpointGroupResultOutput) ToLookupRegionNetworkEndpo return o } +func (o LookupRegionNetworkEndpointGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNetworkEndpointGroupResult] { + return pulumix.Output[LookupRegionNetworkEndpointGroupResult]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o LookupRegionNetworkEndpointGroupResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupRegionNetworkEndpointGroupResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/beta/getRegionNetworkFirewallPolicy.go b/sdk/go/google/compute/beta/getRegionNetworkFirewallPolicy.go index c5281b0907..4d5751d203 100644 --- a/sdk/go/google/compute/beta/getRegionNetworkFirewallPolicy.go +++ b/sdk/go/google/compute/beta/getRegionNetworkFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network firewall policy. @@ -98,6 +99,12 @@ func (o LookupRegionNetworkFirewallPolicyResultOutput) ToLookupRegionNetworkFire return o } +func (o LookupRegionNetworkFirewallPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNetworkFirewallPolicyResult] { + return pulumix.Output[LookupRegionNetworkFirewallPolicyResult]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o LookupRegionNetworkFirewallPolicyResultOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v LookupRegionNetworkFirewallPolicyResult) []FirewallPolicyAssociationResponse { diff --git a/sdk/go/google/compute/beta/getRegionNetworkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/beta/getRegionNetworkFirewallPolicyIamPolicy.go index f1377b74bf..39f353bbd3 100644 --- a/sdk/go/google/compute/beta/getRegionNetworkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/beta/getRegionNetworkFirewallPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionNetworkFirewallPolicyIamPolicyResultOutput) ToLookupRegionNe return o } +func (o LookupRegionNetworkFirewallPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNetworkFirewallPolicyIamPolicyResult] { + return pulumix.Output[LookupRegionNetworkFirewallPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionNetworkFirewallPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionNetworkFirewallPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getRegionNotificationEndpoint.go b/sdk/go/google/compute/beta/getRegionNotificationEndpoint.go index 6170568b58..81b39aa2e1 100644 --- a/sdk/go/google/compute/beta/getRegionNotificationEndpoint.go +++ b/sdk/go/google/compute/beta/getRegionNotificationEndpoint.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified NotificationEndpoint resource in the given region. @@ -82,6 +83,12 @@ func (o LookupRegionNotificationEndpointResultOutput) ToLookupRegionNotification return o } +func (o LookupRegionNotificationEndpointResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNotificationEndpointResult] { + return pulumix.Output[LookupRegionNotificationEndpointResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionNotificationEndpointResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionNotificationEndpointResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getRegionSecurityPolicy.go b/sdk/go/google/compute/beta/getRegionSecurityPolicy.go index 60a2355a70..be2797f607 100644 --- a/sdk/go/google/compute/beta/getRegionSecurityPolicy.go +++ b/sdk/go/google/compute/beta/getRegionSecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // List all of the ordered rules present in a single specified policy. @@ -106,6 +107,12 @@ func (o LookupRegionSecurityPolicyResultOutput) ToLookupRegionSecurityPolicyResu return o } +func (o LookupRegionSecurityPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionSecurityPolicyResult] { + return pulumix.Output[LookupRegionSecurityPolicyResult]{ + OutputState: o.OutputState, + } +} + func (o LookupRegionSecurityPolicyResultOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v LookupRegionSecurityPolicyResult) SecurityPolicyAdaptiveProtectionConfigResponse { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/beta/getRegionSslCertificate.go b/sdk/go/google/compute/beta/getRegionSslCertificate.go index 2e2a83f11e..5632357fcf 100644 --- a/sdk/go/google/compute/beta/getRegionSslCertificate.go +++ b/sdk/go/google/compute/beta/getRegionSslCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request. @@ -94,6 +95,12 @@ func (o LookupRegionSslCertificateResultOutput) ToLookupRegionSslCertificateResu return o } +func (o LookupRegionSslCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionSslCertificateResult] { + return pulumix.Output[LookupRegionSslCertificateResult]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o LookupRegionSslCertificateResultOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionSslCertificateResult) string { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getRegionSslPolicy.go b/sdk/go/google/compute/beta/getRegionSslPolicy.go index bf886f2f98..4ec8040dde 100644 --- a/sdk/go/google/compute/beta/getRegionSslPolicy.go +++ b/sdk/go/google/compute/beta/getRegionSslPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Lists all of the ordered rules present in a single specified policy. @@ -92,6 +93,12 @@ func (o LookupRegionSslPolicyResultOutput) ToLookupRegionSslPolicyResultOutputWi return o } +func (o LookupRegionSslPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionSslPolicyResult] { + return pulumix.Output[LookupRegionSslPolicyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionSslPolicyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionSslPolicyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getRegionTargetHttpProxy.go b/sdk/go/google/compute/beta/getRegionTargetHttpProxy.go index 4cd63a9e23..a042750370 100644 --- a/sdk/go/google/compute/beta/getRegionTargetHttpProxy.go +++ b/sdk/go/google/compute/beta/getRegionTargetHttpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpProxy resource in the specified region. @@ -88,6 +89,12 @@ func (o LookupRegionTargetHttpProxyResultOutput) ToLookupRegionTargetHttpProxyRe return o } +func (o LookupRegionTargetHttpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionTargetHttpProxyResult] { + return pulumix.Output[LookupRegionTargetHttpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionTargetHttpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionTargetHttpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getRegionTargetHttpsProxy.go b/sdk/go/google/compute/beta/getRegionTargetHttpsProxy.go index 0136bbdf9a..8e4f2b89f2 100644 --- a/sdk/go/google/compute/beta/getRegionTargetHttpsProxy.go +++ b/sdk/go/google/compute/beta/getRegionTargetHttpsProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpsProxy resource in the specified region. @@ -108,6 +109,12 @@ func (o LookupRegionTargetHttpsProxyResultOutput) ToLookupRegionTargetHttpsProxy return o } +func (o LookupRegionTargetHttpsProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionTargetHttpsProxyResult] { + return pulumix.Output[LookupRegionTargetHttpsProxyResult]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use serverTlsPolicy instead. // // Deprecated: [Deprecated] Use serverTlsPolicy instead. diff --git a/sdk/go/google/compute/beta/getRegionTargetTcpProxy.go b/sdk/go/google/compute/beta/getRegionTargetTcpProxy.go index 0f7192e269..48abb528ac 100644 --- a/sdk/go/google/compute/beta/getRegionTargetTcpProxy.go +++ b/sdk/go/google/compute/beta/getRegionTargetTcpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetTcpProxy resource. @@ -86,6 +87,12 @@ func (o LookupRegionTargetTcpProxyResultOutput) ToLookupRegionTargetTcpProxyResu return o } +func (o LookupRegionTargetTcpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionTargetTcpProxyResult] { + return pulumix.Output[LookupRegionTargetTcpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionTargetTcpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionTargetTcpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getRegionUrlMap.go b/sdk/go/google/compute/beta/getRegionUrlMap.go index 7012f9586c..97699d7c04 100644 --- a/sdk/go/google/compute/beta/getRegionUrlMap.go +++ b/sdk/go/google/compute/beta/getRegionUrlMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified UrlMap resource. @@ -98,6 +99,12 @@ func (o LookupRegionUrlMapResultOutput) ToLookupRegionUrlMapResultOutputWithCont return o } +func (o LookupRegionUrlMapResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionUrlMapResult] { + return pulumix.Output[LookupRegionUrlMapResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionUrlMapResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionUrlMapResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getReservation.go b/sdk/go/google/compute/beta/getReservation.go index 6427c6a4ee..b92608862f 100644 --- a/sdk/go/google/compute/beta/getReservation.go +++ b/sdk/go/google/compute/beta/getReservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves information about the specified reservation. @@ -96,6 +97,12 @@ func (o LookupReservationResultOutput) ToLookupReservationResultOutputWithContex return o } +func (o LookupReservationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReservationResult] { + return pulumix.Output[LookupReservationResult]{ + OutputState: o.OutputState, + } +} + // Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. func (o LookupReservationResultOutput) Commitment() pulumi.StringOutput { return o.ApplyT(func(v LookupReservationResult) string { return v.Commitment }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getReservationIamPolicy.go b/sdk/go/google/compute/beta/getReservationIamPolicy.go index f7235c7393..3a4a402167 100644 --- a/sdk/go/google/compute/beta/getReservationIamPolicy.go +++ b/sdk/go/google/compute/beta/getReservationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupReservationIamPolicyResultOutput) ToLookupReservationIamPolicyResu return o } +func (o LookupReservationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReservationIamPolicyResult] { + return pulumix.Output[LookupReservationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupReservationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupReservationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getResourcePolicy.go b/sdk/go/google/compute/beta/getResourcePolicy.go index ac5f66c0ad..ccd22bb515 100644 --- a/sdk/go/google/compute/beta/getResourcePolicy.go +++ b/sdk/go/google/compute/beta/getResourcePolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves all information of the specified resource policy. @@ -90,6 +91,12 @@ func (o LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutputWith return o } +func (o LookupResourcePolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResourcePolicyResult] { + return pulumix.Output[LookupResourcePolicyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupResourcePolicyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupResourcePolicyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getResourcePolicyIamPolicy.go b/sdk/go/google/compute/beta/getResourcePolicyIamPolicy.go index e5f85b5557..590af60e84 100644 --- a/sdk/go/google/compute/beta/getResourcePolicyIamPolicy.go +++ b/sdk/go/google/compute/beta/getResourcePolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupResourcePolicyIamPolicyResultOutput) ToLookupResourcePolicyIamPoli return o } +func (o LookupResourcePolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResourcePolicyIamPolicyResult] { + return pulumix.Output[LookupResourcePolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupResourcePolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupResourcePolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getRoute.go b/sdk/go/google/compute/beta/getRoute.go index 17013cb9ba..44930e7574 100644 --- a/sdk/go/google/compute/beta/getRoute.go +++ b/sdk/go/google/compute/beta/getRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Route resource. @@ -108,6 +109,12 @@ func (o LookupRouteResultOutput) ToLookupRouteResultOutputWithContext(ctx contex return o } +func (o LookupRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRouteResult] { + return pulumix.Output[LookupRouteResult]{ + OutputState: o.OutputState, + } +} + // AS path. func (o LookupRouteResultOutput) AsPaths() RouteAsPathResponseArrayOutput { return o.ApplyT(func(v LookupRouteResult) []RouteAsPathResponse { return v.AsPaths }).(RouteAsPathResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getRouter.go b/sdk/go/google/compute/beta/getRouter.go index 3359ff2996..9e87c5aa6b 100644 --- a/sdk/go/google/compute/beta/getRouter.go +++ b/sdk/go/google/compute/beta/getRouter.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Router resource. @@ -94,6 +95,12 @@ func (o LookupRouterResultOutput) ToLookupRouterResultOutputWithContext(ctx cont return o } +func (o LookupRouterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRouterResult] { + return pulumix.Output[LookupRouterResult]{ + OutputState: o.OutputState, + } +} + // BGP information specific to this router. func (o LookupRouterResultOutput) Bgp() RouterBgpResponseOutput { return o.ApplyT(func(v LookupRouterResult) RouterBgpResponse { return v.Bgp }).(RouterBgpResponseOutput) diff --git a/sdk/go/google/compute/beta/getSecurityPolicy.go b/sdk/go/google/compute/beta/getSecurityPolicy.go index 71ce449d79..448b13f84b 100644 --- a/sdk/go/google/compute/beta/getSecurityPolicy.go +++ b/sdk/go/google/compute/beta/getSecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // List all of the ordered rules present in a single specified policy. @@ -104,6 +105,12 @@ func (o LookupSecurityPolicyResultOutput) ToLookupSecurityPolicyResultOutputWith return o } +func (o LookupSecurityPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecurityPolicyResult] { + return pulumix.Output[LookupSecurityPolicyResult]{ + OutputState: o.OutputState, + } +} + func (o LookupSecurityPolicyResultOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v LookupSecurityPolicyResult) SecurityPolicyAdaptiveProtectionConfigResponse { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/beta/getServiceAttachment.go b/sdk/go/google/compute/beta/getServiceAttachment.go index b5ac0be063..7114847ead 100644 --- a/sdk/go/google/compute/beta/getServiceAttachment.go +++ b/sdk/go/google/compute/beta/getServiceAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified ServiceAttachment resource in the given scope. @@ -104,6 +105,12 @@ func (o LookupServiceAttachmentResultOutput) ToLookupServiceAttachmentResultOutp return o } +func (o LookupServiceAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceAttachmentResult] { + return pulumix.Output[LookupServiceAttachmentResult]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the consumers connected to this service attachment. func (o LookupServiceAttachmentResultOutput) ConnectedEndpoints() ServiceAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v LookupServiceAttachmentResult) []ServiceAttachmentConnectedEndpointResponse { diff --git a/sdk/go/google/compute/beta/getServiceAttachmentIamPolicy.go b/sdk/go/google/compute/beta/getServiceAttachmentIamPolicy.go index 4cb88b3843..20d5a49a75 100644 --- a/sdk/go/google/compute/beta/getServiceAttachmentIamPolicy.go +++ b/sdk/go/google/compute/beta/getServiceAttachmentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupServiceAttachmentIamPolicyResultOutput) ToLookupServiceAttachmentI return o } +func (o LookupServiceAttachmentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceAttachmentIamPolicyResult] { + return pulumix.Output[LookupServiceAttachmentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceAttachmentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceAttachmentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getSnapshot.go b/sdk/go/google/compute/beta/getSnapshot.go index 2a3f1f3cdb..81911e17da 100644 --- a/sdk/go/google/compute/beta/getSnapshot.go +++ b/sdk/go/google/compute/beta/getSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Snapshot resource. @@ -130,6 +131,12 @@ func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx return o } +func (o LookupSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotResult] { + return pulumix.Output[LookupSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the snapshot. Valid values are ARM64 or X86_64. func (o LookupSnapshotResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupSnapshotResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getSnapshotIamPolicy.go b/sdk/go/google/compute/beta/getSnapshotIamPolicy.go index 5b6ebe140b..469b924141 100644 --- a/sdk/go/google/compute/beta/getSnapshotIamPolicy.go +++ b/sdk/go/google/compute/beta/getSnapshotIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupSnapshotIamPolicyResultOutput) ToLookupSnapshotIamPolicyResultOutp return o } +func (o LookupSnapshotIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotIamPolicyResult] { + return pulumix.Output[LookupSnapshotIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupSnapshotIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupSnapshotIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getSslCertificate.go b/sdk/go/google/compute/beta/getSslCertificate.go index 149b29b626..c78e1f1ff8 100644 --- a/sdk/go/google/compute/beta/getSslCertificate.go +++ b/sdk/go/google/compute/beta/getSslCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified SslCertificate resource. @@ -92,6 +93,12 @@ func (o LookupSslCertificateResultOutput) ToLookupSslCertificateResultOutputWith return o } +func (o LookupSslCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSslCertificateResult] { + return pulumix.Output[LookupSslCertificateResult]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o LookupSslCertificateResultOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v LookupSslCertificateResult) string { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getSslPolicy.go b/sdk/go/google/compute/beta/getSslPolicy.go index 0a5be38a89..05d15f5a21 100644 --- a/sdk/go/google/compute/beta/getSslPolicy.go +++ b/sdk/go/google/compute/beta/getSslPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Lists all of the ordered rules present in a single specified policy. @@ -90,6 +91,12 @@ func (o LookupSslPolicyResultOutput) ToLookupSslPolicyResultOutputWithContext(ct return o } +func (o LookupSslPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSslPolicyResult] { + return pulumix.Output[LookupSslPolicyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupSslPolicyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupSslPolicyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getSubnetwork.go b/sdk/go/google/compute/beta/getSubnetwork.go index fc89c1865f..10e1fc8f3f 100644 --- a/sdk/go/google/compute/beta/getSubnetwork.go +++ b/sdk/go/google/compute/beta/getSubnetwork.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified subnetwork. @@ -118,6 +119,12 @@ func (o LookupSubnetworkResultOutput) ToLookupSubnetworkResultOutputWithContext( return o } +func (o LookupSubnetworkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubnetworkResult] { + return pulumix.Output[LookupSubnetworkResult]{ + OutputState: o.OutputState, + } +} + // Whether this subnetwork's ranges can conflict with existing static routes. Setting this to true allows this subnetwork's primary and secondary ranges to overlap with (and contain) static routes that have already been configured on the corresponding network. For example if a static route has range 10.1.0.0/16, a subnet range 10.0.0.0/8 could only be created if allow_conflicting_routes=true. Overlapping is only allowed on subnetwork operations; routes whose ranges conflict with this subnetwork's ranges won't be allowed unless route.allow_conflicting_subnetworks is set to true. Typically packets destined to IPs within the subnetwork (which may contain private/sensitive data) are prevented from leaving the virtual network. Setting this field to true will disable this feature. The default value is false and applies to all existing subnetworks and automatically created subnetworks. This field cannot be set to true at resource creation time. func (o LookupSubnetworkResultOutput) AllowSubnetCidrRoutesOverlap() pulumi.BoolOutput { return o.ApplyT(func(v LookupSubnetworkResult) bool { return v.AllowSubnetCidrRoutesOverlap }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/getSubnetworkIamPolicy.go b/sdk/go/google/compute/beta/getSubnetworkIamPolicy.go index e9548f07f4..a35f9abfe6 100644 --- a/sdk/go/google/compute/beta/getSubnetworkIamPolicy.go +++ b/sdk/go/google/compute/beta/getSubnetworkIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupSubnetworkIamPolicyResultOutput) ToLookupSubnetworkIamPolicyResult return o } +func (o LookupSubnetworkIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubnetworkIamPolicyResult] { + return pulumix.Output[LookupSubnetworkIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupSubnetworkIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupSubnetworkIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/getTargetGrpcProxy.go b/sdk/go/google/compute/beta/getTargetGrpcProxy.go index 96be9674cd..ef9445548d 100644 --- a/sdk/go/google/compute/beta/getTargetGrpcProxy.go +++ b/sdk/go/google/compute/beta/getTargetGrpcProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetGrpcProxy resource in the given scope. @@ -84,6 +85,12 @@ func (o LookupTargetGrpcProxyResultOutput) ToLookupTargetGrpcProxyResultOutputWi return o } +func (o LookupTargetGrpcProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetGrpcProxyResult] { + return pulumix.Output[LookupTargetGrpcProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetGrpcProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetGrpcProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getTargetHttpProxy.go b/sdk/go/google/compute/beta/getTargetHttpProxy.go index 5472ceaf6d..b8ab54da0c 100644 --- a/sdk/go/google/compute/beta/getTargetHttpProxy.go +++ b/sdk/go/google/compute/beta/getTargetHttpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpProxy resource. @@ -86,6 +87,12 @@ func (o LookupTargetHttpProxyResultOutput) ToLookupTargetHttpProxyResultOutputWi return o } +func (o LookupTargetHttpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetHttpProxyResult] { + return pulumix.Output[LookupTargetHttpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetHttpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetHttpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getTargetHttpsProxy.go b/sdk/go/google/compute/beta/getTargetHttpsProxy.go index 25ad93475e..57726124b9 100644 --- a/sdk/go/google/compute/beta/getTargetHttpsProxy.go +++ b/sdk/go/google/compute/beta/getTargetHttpsProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpsProxy resource. @@ -106,6 +107,12 @@ func (o LookupTargetHttpsProxyResultOutput) ToLookupTargetHttpsProxyResultOutput return o } +func (o LookupTargetHttpsProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetHttpsProxyResult] { + return pulumix.Output[LookupTargetHttpsProxyResult]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use serverTlsPolicy instead. // // Deprecated: [Deprecated] Use serverTlsPolicy instead. diff --git a/sdk/go/google/compute/beta/getTargetInstance.go b/sdk/go/google/compute/beta/getTargetInstance.go index dfc7098779..1f9881e30e 100644 --- a/sdk/go/google/compute/beta/getTargetInstance.go +++ b/sdk/go/google/compute/beta/getTargetInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetInstance resource. @@ -88,6 +89,12 @@ func (o LookupTargetInstanceResultOutput) ToLookupTargetInstanceResultOutputWith return o } +func (o LookupTargetInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetInstanceResult] { + return pulumix.Output[LookupTargetInstanceResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetInstanceResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetInstanceResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getTargetPool.go b/sdk/go/google/compute/beta/getTargetPool.go index 1b586de99c..5a484702a2 100644 --- a/sdk/go/google/compute/beta/getTargetPool.go +++ b/sdk/go/google/compute/beta/getTargetPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified target pool. @@ -92,6 +93,12 @@ func (o LookupTargetPoolResultOutput) ToLookupTargetPoolResultOutputWithContext( return o } +func (o LookupTargetPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetPoolResult] { + return pulumix.Output[LookupTargetPoolResult]{ + OutputState: o.OutputState, + } +} + // The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. func (o LookupTargetPoolResultOutput) BackupPool() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetPoolResult) string { return v.BackupPool }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getTargetSslProxy.go b/sdk/go/google/compute/beta/getTargetSslProxy.go index 90d3c60118..7e564debaf 100644 --- a/sdk/go/google/compute/beta/getTargetSslProxy.go +++ b/sdk/go/google/compute/beta/getTargetSslProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetSslProxy resource. @@ -86,6 +87,12 @@ func (o LookupTargetSslProxyResultOutput) ToLookupTargetSslProxyResultOutputWith return o } +func (o LookupTargetSslProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetSslProxyResult] { + return pulumix.Output[LookupTargetSslProxyResult]{ + OutputState: o.OutputState, + } +} + // URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. func (o LookupTargetSslProxyResultOutput) CertificateMap() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetSslProxyResult) string { return v.CertificateMap }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getTargetTcpProxy.go b/sdk/go/google/compute/beta/getTargetTcpProxy.go index 6552a23fa8..c5406b96f5 100644 --- a/sdk/go/google/compute/beta/getTargetTcpProxy.go +++ b/sdk/go/google/compute/beta/getTargetTcpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetTcpProxy resource. @@ -84,6 +85,12 @@ func (o LookupTargetTcpProxyResultOutput) ToLookupTargetTcpProxyResultOutputWith return o } +func (o LookupTargetTcpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetTcpProxyResult] { + return pulumix.Output[LookupTargetTcpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetTcpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetTcpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getTargetVpnGateway.go b/sdk/go/google/compute/beta/getTargetVpnGateway.go index 757a641256..b4b14a9e1c 100644 --- a/sdk/go/google/compute/beta/getTargetVpnGateway.go +++ b/sdk/go/google/compute/beta/getTargetVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified target VPN gateway. @@ -92,6 +93,12 @@ func (o LookupTargetVpnGatewayResultOutput) ToLookupTargetVpnGatewayResultOutput return o } +func (o LookupTargetVpnGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetVpnGatewayResult] { + return pulumix.Output[LookupTargetVpnGatewayResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetVpnGatewayResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetVpnGatewayResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getUrlMap.go b/sdk/go/google/compute/beta/getUrlMap.go index a6fa38c687..7adddd9f07 100644 --- a/sdk/go/google/compute/beta/getUrlMap.go +++ b/sdk/go/google/compute/beta/getUrlMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified UrlMap resource. @@ -96,6 +97,12 @@ func (o LookupUrlMapResultOutput) ToLookupUrlMapResultOutputWithContext(ctx cont return o } +func (o LookupUrlMapResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUrlMapResult] { + return pulumix.Output[LookupUrlMapResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupUrlMapResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupUrlMapResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getVpnGateway.go b/sdk/go/google/compute/beta/getVpnGateway.go index 0d4057dd10..371a6e6637 100644 --- a/sdk/go/google/compute/beta/getVpnGateway.go +++ b/sdk/go/google/compute/beta/getVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified VPN gateway. @@ -92,6 +93,12 @@ func (o LookupVpnGatewayResultOutput) ToLookupVpnGatewayResultOutputWithContext( return o } +func (o LookupVpnGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVpnGatewayResult] { + return pulumix.Output[LookupVpnGatewayResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupVpnGatewayResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupVpnGatewayResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/getVpnTunnel.go b/sdk/go/google/compute/beta/getVpnTunnel.go index 3a97b30ba7..6fc73d9b42 100644 --- a/sdk/go/google/compute/beta/getVpnTunnel.go +++ b/sdk/go/google/compute/beta/getVpnTunnel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified VpnTunnel resource. @@ -114,6 +115,12 @@ func (o LookupVpnTunnelResultOutput) ToLookupVpnTunnelResultOutputWithContext(ct return o } +func (o LookupVpnTunnelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVpnTunnelResult] { + return pulumix.Output[LookupVpnTunnelResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupVpnTunnelResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupVpnTunnelResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/globalAddress.go b/sdk/go/google/compute/beta/globalAddress.go index 95de3c7c6d..0fca821565 100644 --- a/sdk/go/google/compute/beta/globalAddress.go +++ b/sdk/go/google/compute/beta/globalAddress.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an address resource in the specified project by using the data included in the request. @@ -185,6 +186,12 @@ func (i *GlobalAddress) ToGlobalAddressOutputWithContext(ctx context.Context) Gl return pulumi.ToOutputWithContext(ctx, i).(GlobalAddressOutput) } +func (i *GlobalAddress) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddress] { + return pulumix.Output[*GlobalAddress]{ + OutputState: i.ToGlobalAddressOutputWithContext(ctx).OutputState, + } +} + type GlobalAddressOutput struct{ *pulumi.OutputState } func (GlobalAddressOutput) ElementType() reflect.Type { @@ -199,6 +206,12 @@ func (o GlobalAddressOutput) ToGlobalAddressOutputWithContext(ctx context.Contex return o } +func (o GlobalAddressOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddress] { + return pulumix.Output[*GlobalAddress]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o GlobalAddressOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *GlobalAddress) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/globalForwardingRule.go b/sdk/go/google/compute/beta/globalForwardingRule.go index 86924e1f3b..b0f62bc8d8 100644 --- a/sdk/go/google/compute/beta/globalForwardingRule.go +++ b/sdk/go/google/compute/beta/globalForwardingRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a GlobalForwardingRule resource in the specified project using the data included in the request. @@ -258,6 +259,12 @@ func (i *GlobalForwardingRule) ToGlobalForwardingRuleOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GlobalForwardingRuleOutput) } +func (i *GlobalForwardingRule) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRule] { + return pulumix.Output[*GlobalForwardingRule]{ + OutputState: i.ToGlobalForwardingRuleOutputWithContext(ctx).OutputState, + } +} + type GlobalForwardingRuleOutput struct{ *pulumi.OutputState } func (GlobalForwardingRuleOutput) ElementType() reflect.Type { @@ -272,6 +279,12 @@ func (o GlobalForwardingRuleOutput) ToGlobalForwardingRuleOutputWithContext(ctx return o } +func (o GlobalForwardingRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRule] { + return pulumix.Output[*GlobalForwardingRule]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o GlobalForwardingRuleOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v *GlobalForwardingRule) pulumi.BoolOutput { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/globalNetworkEndpointGroup.go b/sdk/go/google/compute/beta/globalNetworkEndpointGroup.go index 3b5ec269f6..25d01264e4 100644 --- a/sdk/go/google/compute/beta/globalNetworkEndpointGroup.go +++ b/sdk/go/google/compute/beta/globalNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network endpoint group in the specified project using the parameters that are included in the request. @@ -198,6 +199,12 @@ func (i *GlobalNetworkEndpointGroup) ToGlobalNetworkEndpointGroupOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(GlobalNetworkEndpointGroupOutput) } +func (i *GlobalNetworkEndpointGroup) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroup] { + return pulumix.Output[*GlobalNetworkEndpointGroup]{ + OutputState: i.ToGlobalNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + type GlobalNetworkEndpointGroupOutput struct{ *pulumi.OutputState } func (GlobalNetworkEndpointGroupOutput) ElementType() reflect.Type { @@ -212,6 +219,12 @@ func (o GlobalNetworkEndpointGroupOutput) ToGlobalNetworkEndpointGroupOutputWith return o } +func (o GlobalNetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroup] { + return pulumix.Output[*GlobalNetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o GlobalNetworkEndpointGroupOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *GlobalNetworkEndpointGroup) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/beta/globalPublicDelegatedPrefix.go b/sdk/go/google/compute/beta/globalPublicDelegatedPrefix.go index 5c84ba59a5..d895c2a07e 100644 --- a/sdk/go/google/compute/beta/globalPublicDelegatedPrefix.go +++ b/sdk/go/google/compute/beta/globalPublicDelegatedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request. @@ -147,6 +148,12 @@ func (i *GlobalPublicDelegatedPrefix) ToGlobalPublicDelegatedPrefixOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(GlobalPublicDelegatedPrefixOutput) } +func (i *GlobalPublicDelegatedPrefix) ToOutput(ctx context.Context) pulumix.Output[*GlobalPublicDelegatedPrefix] { + return pulumix.Output[*GlobalPublicDelegatedPrefix]{ + OutputState: i.ToGlobalPublicDelegatedPrefixOutputWithContext(ctx).OutputState, + } +} + type GlobalPublicDelegatedPrefixOutput struct{ *pulumi.OutputState } func (GlobalPublicDelegatedPrefixOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o GlobalPublicDelegatedPrefixOutput) ToGlobalPublicDelegatedPrefixOutputWi return o } +func (o GlobalPublicDelegatedPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalPublicDelegatedPrefix] { + return pulumix.Output[*GlobalPublicDelegatedPrefix]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o GlobalPublicDelegatedPrefixOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *GlobalPublicDelegatedPrefix) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/healthCheck.go b/sdk/go/google/compute/beta/healthCheck.go index 450c977901..84b950225e 100644 --- a/sdk/go/google/compute/beta/healthCheck.go +++ b/sdk/go/google/compute/beta/healthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HealthCheck resource in the specified project using the data included in the request. @@ -177,6 +178,12 @@ func (i *HealthCheck) ToHealthCheckOutputWithContext(ctx context.Context) Health return pulumi.ToOutputWithContext(ctx, i).(HealthCheckOutput) } +func (i *HealthCheck) ToOutput(ctx context.Context) pulumix.Output[*HealthCheck] { + return pulumix.Output[*HealthCheck]{ + OutputState: i.ToHealthCheckOutputWithContext(ctx).OutputState, + } +} + type HealthCheckOutput struct{ *pulumi.OutputState } func (HealthCheckOutput) ElementType() reflect.Type { @@ -191,6 +198,12 @@ func (o HealthCheckOutput) ToHealthCheckOutputWithContext(ctx context.Context) H return o } +func (o HealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheck] { + return pulumix.Output[*HealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o HealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *HealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/httpHealthCheck.go b/sdk/go/google/compute/beta/httpHealthCheck.go index 59c1304cec..f01b08ae71 100644 --- a/sdk/go/google/compute/beta/httpHealthCheck.go +++ b/sdk/go/google/compute/beta/httpHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HttpHealthCheck resource in the specified project using the data included in the request. @@ -159,6 +160,12 @@ func (i *HttpHealthCheck) ToHttpHealthCheckOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(HttpHealthCheckOutput) } +func (i *HttpHealthCheck) ToOutput(ctx context.Context) pulumix.Output[*HttpHealthCheck] { + return pulumix.Output[*HttpHealthCheck]{ + OutputState: i.ToHttpHealthCheckOutputWithContext(ctx).OutputState, + } +} + type HttpHealthCheckOutput struct{ *pulumi.OutputState } func (HttpHealthCheckOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o HttpHealthCheckOutput) ToHttpHealthCheckOutputWithContext(ctx context.Co return o } +func (o HttpHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpHealthCheck] { + return pulumix.Output[*HttpHealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o HttpHealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *HttpHealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/httpsHealthCheck.go b/sdk/go/google/compute/beta/httpsHealthCheck.go index 20a5bbee95..9420e68e22 100644 --- a/sdk/go/google/compute/beta/httpsHealthCheck.go +++ b/sdk/go/google/compute/beta/httpsHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HttpsHealthCheck resource in the specified project using the data included in the request. @@ -163,6 +164,12 @@ func (i *HttpsHealthCheck) ToHttpsHealthCheckOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(HttpsHealthCheckOutput) } +func (i *HttpsHealthCheck) ToOutput(ctx context.Context) pulumix.Output[*HttpsHealthCheck] { + return pulumix.Output[*HttpsHealthCheck]{ + OutputState: i.ToHttpsHealthCheckOutputWithContext(ctx).OutputState, + } +} + type HttpsHealthCheckOutput struct{ *pulumi.OutputState } func (HttpsHealthCheckOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o HttpsHealthCheckOutput) ToHttpsHealthCheckOutputWithContext(ctx context. return o } +func (o HttpsHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpsHealthCheck] { + return pulumix.Output[*HttpsHealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o HttpsHealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *HttpsHealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/image.go b/sdk/go/google/compute/beta/image.go index d781b1492d..6ec61cf22d 100644 --- a/sdk/go/google/compute/beta/image.go +++ b/sdk/go/google/compute/beta/image.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an image in the specified project using the data included in the request. @@ -273,6 +274,12 @@ func (i *Image) ToImageOutputWithContext(ctx context.Context) ImageOutput { return pulumi.ToOutputWithContext(ctx, i).(ImageOutput) } +func (i *Image) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: i.ToImageOutputWithContext(ctx).OutputState, + } +} + type ImageOutput struct{ *pulumi.OutputState } func (ImageOutput) ElementType() reflect.Type { @@ -287,6 +294,12 @@ func (o ImageOutput) ToImageOutputWithContext(ctx context.Context) ImageOutput { return o } +func (o ImageOutput) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: o.OutputState, + } +} + // The architecture of the image. Valid values are ARM64 or X86_64. func (o ImageOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/imageIamBinding.go b/sdk/go/google/compute/beta/imageIamBinding.go index 58b68a9001..508c7ede3e 100644 --- a/sdk/go/google/compute/beta/imageIamBinding.go +++ b/sdk/go/google/compute/beta/imageIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ImageIamBinding) ToImageIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ImageIamBindingOutput) } +func (i *ImageIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ImageIamBinding] { + return pulumix.Output[*ImageIamBinding]{ + OutputState: i.ToImageIamBindingOutputWithContext(ctx).OutputState, + } +} + type ImageIamBindingOutput struct{ *pulumi.OutputState } func (ImageIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ImageIamBindingOutput) ToImageIamBindingOutputWithContext(ctx context.Co return o } +func (o ImageIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageIamBinding] { + return pulumix.Output[*ImageIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ImageIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ImageIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/imageIamMember.go b/sdk/go/google/compute/beta/imageIamMember.go index 5dbaaee3c9..470612e422 100644 --- a/sdk/go/google/compute/beta/imageIamMember.go +++ b/sdk/go/google/compute/beta/imageIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ImageIamMember) ToImageIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImageIamMemberOutput) } +func (i *ImageIamMember) ToOutput(ctx context.Context) pulumix.Output[*ImageIamMember] { + return pulumix.Output[*ImageIamMember]{ + OutputState: i.ToImageIamMemberOutputWithContext(ctx).OutputState, + } +} + type ImageIamMemberOutput struct{ *pulumi.OutputState } func (ImageIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ImageIamMemberOutput) ToImageIamMemberOutputWithContext(ctx context.Cont return o } +func (o ImageIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageIamMember] { + return pulumix.Output[*ImageIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ImageIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ImageIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/imageIamPolicy.go b/sdk/go/google/compute/beta/imageIamPolicy.go index 51443c1809..6f7a4c2a27 100644 --- a/sdk/go/google/compute/beta/imageIamPolicy.go +++ b/sdk/go/google/compute/beta/imageIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *ImageIamPolicy) ToImageIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImageIamPolicyOutput) } +func (i *ImageIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ImageIamPolicy] { + return pulumix.Output[*ImageIamPolicy]{ + OutputState: i.ToImageIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ImageIamPolicyOutput struct{ *pulumi.OutputState } func (ImageIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o ImageIamPolicyOutput) ToImageIamPolicyOutputWithContext(ctx context.Cont return o } +func (o ImageIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageIamPolicy] { + return pulumix.Output[*ImageIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ImageIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ImageIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/instance.go b/sdk/go/google/compute/beta/instance.go index af806c3b51..ed071a2f15 100644 --- a/sdk/go/google/compute/beta/instance.go +++ b/sdk/go/google/compute/beta/instance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance resource in the specified project using the data included in the request. @@ -323,6 +324,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -337,6 +344,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. func (o InstanceOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesResponseOutput { return o.ApplyT(func(v *Instance) AdvancedMachineFeaturesResponseOutput { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesResponseOutput) diff --git a/sdk/go/google/compute/beta/instanceGroup.go b/sdk/go/google/compute/beta/instanceGroup.go index ece117eadf..92288fb2e0 100644 --- a/sdk/go/google/compute/beta/instanceGroup.go +++ b/sdk/go/google/compute/beta/instanceGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance group in the specified project using the parameters that are included in the request. @@ -137,6 +138,12 @@ func (i *InstanceGroup) ToInstanceGroupOutputWithContext(ctx context.Context) In return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupOutput) } +func (i *InstanceGroup) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroup] { + return pulumix.Output[*InstanceGroup]{ + OutputState: i.ToInstanceGroupOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupOutput struct{ *pulumi.OutputState } func (InstanceGroupOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o InstanceGroupOutput) ToInstanceGroupOutputWithContext(ctx context.Contex return o } +func (o InstanceGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroup] { + return pulumix.Output[*InstanceGroup]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance group in RFC3339 text format. func (o InstanceGroupOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *InstanceGroup) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/instanceGroupManager.go b/sdk/go/google/compute/beta/instanceGroupManager.go index b52f313b9c..78dadecc44 100644 --- a/sdk/go/google/compute/beta/instanceGroupManager.go +++ b/sdk/go/google/compute/beta/instanceGroupManager.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit. @@ -221,6 +222,12 @@ func (i *InstanceGroupManager) ToInstanceGroupManagerOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerOutput) } +func (i *InstanceGroupManager) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManager] { + return pulumix.Output[*InstanceGroupManager]{ + OutputState: i.ToInstanceGroupManagerOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerOutput) ElementType() reflect.Type { @@ -235,6 +242,12 @@ func (o InstanceGroupManagerOutput) ToInstanceGroupManagerOutputWithContext(ctx return o } +func (o InstanceGroupManagerOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManager] { + return pulumix.Output[*InstanceGroupManager]{ + OutputState: o.OutputState, + } +} + // Specifies configuration that overrides the instance template configuration for the group. func (o InstanceGroupManagerOutput) AllInstancesConfig() InstanceGroupManagerAllInstancesConfigResponseOutput { return o.ApplyT(func(v *InstanceGroupManager) InstanceGroupManagerAllInstancesConfigResponseOutput { diff --git a/sdk/go/google/compute/beta/instanceIamBinding.go b/sdk/go/google/compute/beta/instanceIamBinding.go index a80a60664e..3e9d8ea9d1 100644 --- a/sdk/go/google/compute/beta/instanceIamBinding.go +++ b/sdk/go/google/compute/beta/instanceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceIamBindingOutput) } +func (i *InstanceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: i.ToInstanceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx cont return o } +func (o InstanceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/instanceIamMember.go b/sdk/go/google/compute/beta/instanceIamMember.go index 1e066147cf..c941ca22c4 100644 --- a/sdk/go/google/compute/beta/instanceIamMember.go +++ b/sdk/go/google/compute/beta/instanceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamMemberOutput) } +func (i *InstanceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: i.ToInstanceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx contex return o } +func (o InstanceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/instanceIamPolicy.go b/sdk/go/google/compute/beta/instanceIamPolicy.go index dc933740fa..81d9ffa3b1 100644 --- a/sdk/go/google/compute/beta/instanceIamPolicy.go +++ b/sdk/go/google/compute/beta/instanceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamPolicyOutput) } +func (i *InstanceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: i.ToInstanceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx contex return o } +func (o InstanceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/instanceTemplate.go b/sdk/go/google/compute/beta/instanceTemplate.go index d3871deacb..b307d267fc 100644 --- a/sdk/go/google/compute/beta/instanceTemplate.go +++ b/sdk/go/google/compute/beta/instanceTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. @@ -137,6 +138,12 @@ func (i *InstanceTemplate) ToInstanceTemplateOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateOutput) } +func (i *InstanceTemplate) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplate] { + return pulumix.Output[*InstanceTemplate]{ + OutputState: i.ToInstanceTemplateOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateOutput struct{ *pulumi.OutputState } func (InstanceTemplateOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o InstanceTemplateOutput) ToInstanceTemplateOutputWithContext(ctx context. return o } +func (o InstanceTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplate] { + return pulumix.Output[*InstanceTemplate]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o InstanceTemplateOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *InstanceTemplate) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/instanceTemplateIamBinding.go b/sdk/go/google/compute/beta/instanceTemplateIamBinding.go index 249960b0b3..0b89f71495 100644 --- a/sdk/go/google/compute/beta/instanceTemplateIamBinding.go +++ b/sdk/go/google/compute/beta/instanceTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceTemplateIamBinding) ToInstanceTemplateIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateIamBindingOutput) } +func (i *InstanceTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamBinding] { + return pulumix.Output[*InstanceTemplateIamBinding]{ + OutputState: i.ToInstanceTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateIamBindingOutput struct{ *pulumi.OutputState } func (InstanceTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceTemplateIamBindingOutput) ToInstanceTemplateIamBindingOutputWith return o } +func (o InstanceTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamBinding] { + return pulumix.Output[*InstanceTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/instanceTemplateIamMember.go b/sdk/go/google/compute/beta/instanceTemplateIamMember.go index dedb58bd58..870a280449 100644 --- a/sdk/go/google/compute/beta/instanceTemplateIamMember.go +++ b/sdk/go/google/compute/beta/instanceTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceTemplateIamMember) ToInstanceTemplateIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateIamMemberOutput) } +func (i *InstanceTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamMember] { + return pulumix.Output[*InstanceTemplateIamMember]{ + OutputState: i.ToInstanceTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateIamMemberOutput struct{ *pulumi.OutputState } func (InstanceTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceTemplateIamMemberOutput) ToInstanceTemplateIamMemberOutputWithCo return o } +func (o InstanceTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamMember] { + return pulumix.Output[*InstanceTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/instanceTemplateIamPolicy.go b/sdk/go/google/compute/beta/instanceTemplateIamPolicy.go index e9fa86b88c..24548cc1cf 100644 --- a/sdk/go/google/compute/beta/instanceTemplateIamPolicy.go +++ b/sdk/go/google/compute/beta/instanceTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *InstanceTemplateIamPolicy) ToInstanceTemplateIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateIamPolicyOutput) } +func (i *InstanceTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamPolicy] { + return pulumix.Output[*InstanceTemplateIamPolicy]{ + OutputState: i.ToInstanceTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o InstanceTemplateIamPolicyOutput) ToInstanceTemplateIamPolicyOutputWithCo return o } +func (o InstanceTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamPolicy] { + return pulumix.Output[*InstanceTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceTemplateIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceTemplateIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/instantSnapshot.go b/sdk/go/google/compute/beta/instantSnapshot.go index 4a5031f527..2894ad9b62 100644 --- a/sdk/go/google/compute/beta/instantSnapshot.go +++ b/sdk/go/google/compute/beta/instantSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instant snapshot in the specified zone. @@ -151,6 +152,12 @@ func (i *InstantSnapshot) ToInstantSnapshotOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(InstantSnapshotOutput) } +func (i *InstantSnapshot) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshot] { + return pulumix.Output[*InstantSnapshot]{ + OutputState: i.ToInstantSnapshotOutputWithContext(ctx).OutputState, + } +} + type InstantSnapshotOutput struct{ *pulumi.OutputState } func (InstantSnapshotOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o InstantSnapshotOutput) ToInstantSnapshotOutputWithContext(ctx context.Co return o } +func (o InstantSnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshot] { + return pulumix.Output[*InstantSnapshot]{ + OutputState: o.OutputState, + } +} + // The architecture of the instant snapshot. Valid values are ARM64 or X86_64. func (o InstantSnapshotOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *InstantSnapshot) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/instantSnapshotIamBinding.go b/sdk/go/google/compute/beta/instantSnapshotIamBinding.go index ff687d76ec..d57f5356f2 100644 --- a/sdk/go/google/compute/beta/instantSnapshotIamBinding.go +++ b/sdk/go/google/compute/beta/instantSnapshotIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstantSnapshotIamBinding) ToInstantSnapshotIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(InstantSnapshotIamBindingOutput) } +func (i *InstantSnapshotIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamBinding] { + return pulumix.Output[*InstantSnapshotIamBinding]{ + OutputState: i.ToInstantSnapshotIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstantSnapshotIamBindingOutput struct{ *pulumi.OutputState } func (InstantSnapshotIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstantSnapshotIamBindingOutput) ToInstantSnapshotIamBindingOutputWithCo return o } +func (o InstantSnapshotIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamBinding] { + return pulumix.Output[*InstantSnapshotIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstantSnapshotIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstantSnapshotIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/instantSnapshotIamMember.go b/sdk/go/google/compute/beta/instantSnapshotIamMember.go index 1c44eeafa6..91c8f5280e 100644 --- a/sdk/go/google/compute/beta/instantSnapshotIamMember.go +++ b/sdk/go/google/compute/beta/instantSnapshotIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstantSnapshotIamMember) ToInstantSnapshotIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(InstantSnapshotIamMemberOutput) } +func (i *InstantSnapshotIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamMember] { + return pulumix.Output[*InstantSnapshotIamMember]{ + OutputState: i.ToInstantSnapshotIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstantSnapshotIamMemberOutput struct{ *pulumi.OutputState } func (InstantSnapshotIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstantSnapshotIamMemberOutput) ToInstantSnapshotIamMemberOutputWithCont return o } +func (o InstantSnapshotIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamMember] { + return pulumix.Output[*InstantSnapshotIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstantSnapshotIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstantSnapshotIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/instantSnapshotIamPolicy.go b/sdk/go/google/compute/beta/instantSnapshotIamPolicy.go index cb469bfe0a..af033f4695 100644 --- a/sdk/go/google/compute/beta/instantSnapshotIamPolicy.go +++ b/sdk/go/google/compute/beta/instantSnapshotIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *InstantSnapshotIamPolicy) ToInstantSnapshotIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(InstantSnapshotIamPolicyOutput) } +func (i *InstantSnapshotIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamPolicy] { + return pulumix.Output[*InstantSnapshotIamPolicy]{ + OutputState: i.ToInstantSnapshotIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstantSnapshotIamPolicyOutput struct{ *pulumi.OutputState } func (InstantSnapshotIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o InstantSnapshotIamPolicyOutput) ToInstantSnapshotIamPolicyOutputWithCont return o } +func (o InstantSnapshotIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstantSnapshotIamPolicy] { + return pulumix.Output[*InstantSnapshotIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstantSnapshotIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstantSnapshotIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/interconnect.go b/sdk/go/google/compute/beta/interconnect.go index 12554e8574..98d1117197 100644 --- a/sdk/go/google/compute/beta/interconnect.go +++ b/sdk/go/google/compute/beta/interconnect.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Interconnect in the specified project using the data included in the request. @@ -193,6 +194,12 @@ func (i *Interconnect) ToInterconnectOutputWithContext(ctx context.Context) Inte return pulumi.ToOutputWithContext(ctx, i).(InterconnectOutput) } +func (i *Interconnect) ToOutput(ctx context.Context) pulumix.Output[*Interconnect] { + return pulumix.Output[*Interconnect]{ + OutputState: i.ToInterconnectOutputWithContext(ctx).OutputState, + } +} + type InterconnectOutput struct{ *pulumi.OutputState } func (InterconnectOutput) ElementType() reflect.Type { @@ -207,6 +214,12 @@ func (o InterconnectOutput) ToInterconnectOutputWithContext(ctx context.Context) return o } +func (o InterconnectOutput) ToOutput(ctx context.Context) pulumix.Output[*Interconnect] { + return pulumix.Output[*Interconnect]{ + OutputState: o.OutputState, + } +} + // Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. func (o InterconnectOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *Interconnect) pulumi.BoolOutput { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/interconnectAttachment.go b/sdk/go/google/compute/beta/interconnectAttachment.go index 2d6f6c722d..46f4907046 100644 --- a/sdk/go/google/compute/beta/interconnectAttachment.go +++ b/sdk/go/google/compute/beta/interconnectAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an InterconnectAttachment in the specified project using the data included in the request. @@ -273,6 +274,12 @@ func (i *InterconnectAttachment) ToInterconnectAttachmentOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentOutput) } +func (i *InterconnectAttachment) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachment] { + return pulumix.Output[*InterconnectAttachment]{ + OutputState: i.ToInterconnectAttachmentOutputWithContext(ctx).OutputState, + } +} + type InterconnectAttachmentOutput struct{ *pulumi.OutputState } func (InterconnectAttachmentOutput) ElementType() reflect.Type { @@ -287,6 +294,12 @@ func (o InterconnectAttachmentOutput) ToInterconnectAttachmentOutputWithContext( return o } +func (o InterconnectAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachment] { + return pulumix.Output[*InterconnectAttachment]{ + OutputState: o.OutputState, + } +} + // Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. func (o InterconnectAttachmentOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *InterconnectAttachment) pulumi.BoolOutput { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/license.go b/sdk/go/google/compute/beta/license.go index b157cfbc3a..70539cfeb1 100644 --- a/sdk/go/google/compute/beta/license.go +++ b/sdk/go/google/compute/beta/license.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -132,6 +133,12 @@ func (i *License) ToLicenseOutputWithContext(ctx context.Context) LicenseOutput return pulumi.ToOutputWithContext(ctx, i).(LicenseOutput) } +func (i *License) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: i.ToLicenseOutputWithContext(ctx).OutputState, + } +} + type LicenseOutput struct{ *pulumi.OutputState } func (LicenseOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o LicenseOutput) ToLicenseOutputWithContext(ctx context.Context) LicenseOu return o } +func (o LicenseOutput) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: o.OutputState, + } +} + // Deprecated. This field no longer reflects whether a license charges a usage fee. // // Deprecated: [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. diff --git a/sdk/go/google/compute/beta/licenseIamBinding.go b/sdk/go/google/compute/beta/licenseIamBinding.go index b759fa30d4..20d02937eb 100644 --- a/sdk/go/google/compute/beta/licenseIamBinding.go +++ b/sdk/go/google/compute/beta/licenseIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -135,6 +136,12 @@ func (i *LicenseIamBinding) ToLicenseIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(LicenseIamBindingOutput) } +func (i *LicenseIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamBinding] { + return pulumix.Output[*LicenseIamBinding]{ + OutputState: i.ToLicenseIamBindingOutputWithContext(ctx).OutputState, + } +} + type LicenseIamBindingOutput struct{ *pulumi.OutputState } func (LicenseIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o LicenseIamBindingOutput) ToLicenseIamBindingOutputWithContext(ctx contex return o } +func (o LicenseIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamBinding] { + return pulumix.Output[*LicenseIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LicenseIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LicenseIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/licenseIamMember.go b/sdk/go/google/compute/beta/licenseIamMember.go index b53e322675..305f190fa1 100644 --- a/sdk/go/google/compute/beta/licenseIamMember.go +++ b/sdk/go/google/compute/beta/licenseIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -135,6 +136,12 @@ func (i *LicenseIamMember) ToLicenseIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(LicenseIamMemberOutput) } +func (i *LicenseIamMember) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamMember] { + return pulumix.Output[*LicenseIamMember]{ + OutputState: i.ToLicenseIamMemberOutputWithContext(ctx).OutputState, + } +} + type LicenseIamMemberOutput struct{ *pulumi.OutputState } func (LicenseIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o LicenseIamMemberOutput) ToLicenseIamMemberOutputWithContext(ctx context. return o } +func (o LicenseIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamMember] { + return pulumix.Output[*LicenseIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LicenseIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LicenseIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/licenseIamPolicy.go b/sdk/go/google/compute/beta/licenseIamPolicy.go index c5bc5d6e3a..e7fac5f4e4 100644 --- a/sdk/go/google/compute/beta/licenseIamPolicy.go +++ b/sdk/go/google/compute/beta/licenseIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -133,6 +134,12 @@ func (i *LicenseIamPolicy) ToLicenseIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(LicenseIamPolicyOutput) } +func (i *LicenseIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamPolicy] { + return pulumix.Output[*LicenseIamPolicy]{ + OutputState: i.ToLicenseIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LicenseIamPolicyOutput struct{ *pulumi.OutputState } func (LicenseIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o LicenseIamPolicyOutput) ToLicenseIamPolicyOutputWithContext(ctx context. return o } +func (o LicenseIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamPolicy] { + return pulumix.Output[*LicenseIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LicenseIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *LicenseIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/machineImage.go b/sdk/go/google/compute/beta/machineImage.go index d74902b336..2286572463 100644 --- a/sdk/go/google/compute/beta/machineImage.go +++ b/sdk/go/google/compute/beta/machineImage.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance. @@ -168,6 +169,12 @@ func (i *MachineImage) ToMachineImageOutputWithContext(ctx context.Context) Mach return pulumi.ToOutputWithContext(ctx, i).(MachineImageOutput) } +func (i *MachineImage) ToOutput(ctx context.Context) pulumix.Output[*MachineImage] { + return pulumix.Output[*MachineImage]{ + OutputState: i.ToMachineImageOutputWithContext(ctx).OutputState, + } +} + type MachineImageOutput struct{ *pulumi.OutputState } func (MachineImageOutput) ElementType() reflect.Type { @@ -182,6 +189,12 @@ func (o MachineImageOutput) ToMachineImageOutputWithContext(ctx context.Context) return o } +func (o MachineImageOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImage] { + return pulumix.Output[*MachineImage]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this machine image in RFC3339 text format. func (o MachineImageOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *MachineImage) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/machineImageIamBinding.go b/sdk/go/google/compute/beta/machineImageIamBinding.go index dc72ea1697..9489517779 100644 --- a/sdk/go/google/compute/beta/machineImageIamBinding.go +++ b/sdk/go/google/compute/beta/machineImageIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *MachineImageIamBinding) ToMachineImageIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MachineImageIamBindingOutput) } +func (i *MachineImageIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamBinding] { + return pulumix.Output[*MachineImageIamBinding]{ + OutputState: i.ToMachineImageIamBindingOutputWithContext(ctx).OutputState, + } +} + type MachineImageIamBindingOutput struct{ *pulumi.OutputState } func (MachineImageIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MachineImageIamBindingOutput) ToMachineImageIamBindingOutputWithContext( return o } +func (o MachineImageIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamBinding] { + return pulumix.Output[*MachineImageIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MachineImageIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MachineImageIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/machineImageIamMember.go b/sdk/go/google/compute/beta/machineImageIamMember.go index 0d0ae75c4c..2448731f17 100644 --- a/sdk/go/google/compute/beta/machineImageIamMember.go +++ b/sdk/go/google/compute/beta/machineImageIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *MachineImageIamMember) ToMachineImageIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MachineImageIamMemberOutput) } +func (i *MachineImageIamMember) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamMember] { + return pulumix.Output[*MachineImageIamMember]{ + OutputState: i.ToMachineImageIamMemberOutputWithContext(ctx).OutputState, + } +} + type MachineImageIamMemberOutput struct{ *pulumi.OutputState } func (MachineImageIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MachineImageIamMemberOutput) ToMachineImageIamMemberOutputWithContext(ct return o } +func (o MachineImageIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamMember] { + return pulumix.Output[*MachineImageIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MachineImageIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MachineImageIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/machineImageIamPolicy.go b/sdk/go/google/compute/beta/machineImageIamPolicy.go index 37e42b3799..319636c515 100644 --- a/sdk/go/google/compute/beta/machineImageIamPolicy.go +++ b/sdk/go/google/compute/beta/machineImageIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *MachineImageIamPolicy) ToMachineImageIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MachineImageIamPolicyOutput) } +func (i *MachineImageIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamPolicy] { + return pulumix.Output[*MachineImageIamPolicy]{ + OutputState: i.ToMachineImageIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MachineImageIamPolicyOutput struct{ *pulumi.OutputState } func (MachineImageIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o MachineImageIamPolicyOutput) ToMachineImageIamPolicyOutputWithContext(ct return o } +func (o MachineImageIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamPolicy] { + return pulumix.Output[*MachineImageIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MachineImageIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MachineImageIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/network.go b/sdk/go/google/compute/beta/network.go index 5538203934..2164b13a81 100644 --- a/sdk/go/google/compute/beta/network.go +++ b/sdk/go/google/compute/beta/network.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network in the specified project using the data included in the request. @@ -175,6 +176,12 @@ func (i *Network) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput return pulumi.ToOutputWithContext(ctx, i).(NetworkOutput) } +func (i *Network) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: i.ToNetworkOutputWithContext(ctx).OutputState, + } +} + type NetworkOutput struct{ *pulumi.OutputState } func (NetworkOutput) ElementType() reflect.Type { @@ -189,6 +196,12 @@ func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOu return o } +func (o NetworkOutput) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: o.OutputState, + } +} + // Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method. func (o NetworkOutput) AutoCreateSubnetworks() pulumi.BoolOutput { return o.ApplyT(func(v *Network) pulumi.BoolOutput { return v.AutoCreateSubnetworks }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/networkAttachment.go b/sdk/go/google/compute/beta/networkAttachment.go index 6ddcd17432..c178479252 100644 --- a/sdk/go/google/compute/beta/networkAttachment.go +++ b/sdk/go/google/compute/beta/networkAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request. @@ -154,6 +155,12 @@ func (i *NetworkAttachment) ToNetworkAttachmentOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentOutput) } +func (i *NetworkAttachment) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachment] { + return pulumix.Output[*NetworkAttachment]{ + OutputState: i.ToNetworkAttachmentOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentOutput struct{ *pulumi.OutputState } func (NetworkAttachmentOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o NetworkAttachmentOutput) ToNetworkAttachmentOutputWithContext(ctx contex return o } +func (o NetworkAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachment] { + return pulumix.Output[*NetworkAttachment]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the producers connected to this network attachment. func (o NetworkAttachmentOutput) ConnectionEndpoints() NetworkAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v *NetworkAttachment) NetworkAttachmentConnectedEndpointResponseArrayOutput { diff --git a/sdk/go/google/compute/beta/networkAttachmentIamBinding.go b/sdk/go/google/compute/beta/networkAttachmentIamBinding.go index b39d38eee4..cd39087119 100644 --- a/sdk/go/google/compute/beta/networkAttachmentIamBinding.go +++ b/sdk/go/google/compute/beta/networkAttachmentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkAttachmentIamBinding) ToNetworkAttachmentIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentIamBindingOutput) } +func (i *NetworkAttachmentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamBinding] { + return pulumix.Output[*NetworkAttachmentIamBinding]{ + OutputState: i.ToNetworkAttachmentIamBindingOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentIamBindingOutput struct{ *pulumi.OutputState } func (NetworkAttachmentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkAttachmentIamBindingOutput) ToNetworkAttachmentIamBindingOutputWi return o } +func (o NetworkAttachmentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamBinding] { + return pulumix.Output[*NetworkAttachmentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkAttachmentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkAttachmentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/networkAttachmentIamMember.go b/sdk/go/google/compute/beta/networkAttachmentIamMember.go index 325990f487..2af9fa25c9 100644 --- a/sdk/go/google/compute/beta/networkAttachmentIamMember.go +++ b/sdk/go/google/compute/beta/networkAttachmentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkAttachmentIamMember) ToNetworkAttachmentIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentIamMemberOutput) } +func (i *NetworkAttachmentIamMember) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamMember] { + return pulumix.Output[*NetworkAttachmentIamMember]{ + OutputState: i.ToNetworkAttachmentIamMemberOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentIamMemberOutput struct{ *pulumi.OutputState } func (NetworkAttachmentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkAttachmentIamMemberOutput) ToNetworkAttachmentIamMemberOutputWith return o } +func (o NetworkAttachmentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamMember] { + return pulumix.Output[*NetworkAttachmentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkAttachmentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkAttachmentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/networkAttachmentIamPolicy.go b/sdk/go/google/compute/beta/networkAttachmentIamPolicy.go index 78d6aca11c..d98aefb284 100644 --- a/sdk/go/google/compute/beta/networkAttachmentIamPolicy.go +++ b/sdk/go/google/compute/beta/networkAttachmentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *NetworkAttachmentIamPolicy) ToNetworkAttachmentIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentIamPolicyOutput) } +func (i *NetworkAttachmentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamPolicy] { + return pulumix.Output[*NetworkAttachmentIamPolicy]{ + OutputState: i.ToNetworkAttachmentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentIamPolicyOutput struct{ *pulumi.OutputState } func (NetworkAttachmentIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o NetworkAttachmentIamPolicyOutput) ToNetworkAttachmentIamPolicyOutputWith return o } +func (o NetworkAttachmentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamPolicy] { + return pulumix.Output[*NetworkAttachmentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NetworkAttachmentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NetworkAttachmentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/networkEdgeSecurityService.go b/sdk/go/google/compute/beta/networkEdgeSecurityService.go index c3f7db4e9c..37d1be89c3 100644 --- a/sdk/go/google/compute/beta/networkEdgeSecurityService.go +++ b/sdk/go/google/compute/beta/networkEdgeSecurityService.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new service in the specified project using the data included in the request. @@ -135,6 +136,12 @@ func (i *NetworkEdgeSecurityService) ToNetworkEdgeSecurityServiceOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NetworkEdgeSecurityServiceOutput) } +func (i *NetworkEdgeSecurityService) ToOutput(ctx context.Context) pulumix.Output[*NetworkEdgeSecurityService] { + return pulumix.Output[*NetworkEdgeSecurityService]{ + OutputState: i.ToNetworkEdgeSecurityServiceOutputWithContext(ctx).OutputState, + } +} + type NetworkEdgeSecurityServiceOutput struct{ *pulumi.OutputState } func (NetworkEdgeSecurityServiceOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkEdgeSecurityServiceOutput) ToNetworkEdgeSecurityServiceOutputWith return o } +func (o NetworkEdgeSecurityServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEdgeSecurityService] { + return pulumix.Output[*NetworkEdgeSecurityService]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o NetworkEdgeSecurityServiceOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *NetworkEdgeSecurityService) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/networkEndpointGroup.go b/sdk/go/google/compute/beta/networkEndpointGroup.go index c8ad7d783a..c4eb396e69 100644 --- a/sdk/go/google/compute/beta/networkEndpointGroup.go +++ b/sdk/go/google/compute/beta/networkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network endpoint group in the specified project using the parameters that are included in the request. @@ -200,6 +201,12 @@ func (i *NetworkEndpointGroup) ToNetworkEndpointGroupOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupOutput) } +func (i *NetworkEndpointGroup) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroup] { + return pulumix.Output[*NetworkEndpointGroup]{ + OutputState: i.ToNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + type NetworkEndpointGroupOutput struct{ *pulumi.OutputState } func (NetworkEndpointGroupOutput) ElementType() reflect.Type { @@ -214,6 +221,12 @@ func (o NetworkEndpointGroupOutput) ToNetworkEndpointGroupOutputWithContext(ctx return o } +func (o NetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroup] { + return pulumix.Output[*NetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o NetworkEndpointGroupOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *NetworkEndpointGroup) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/beta/networkFirewallPolicy.go b/sdk/go/google/compute/beta/networkFirewallPolicy.go index 33e572618d..7bcea53c40 100644 --- a/sdk/go/google/compute/beta/networkFirewallPolicy.go +++ b/sdk/go/google/compute/beta/networkFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -157,6 +158,12 @@ func (i *NetworkFirewallPolicy) ToNetworkFirewallPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyOutput) } +func (i *NetworkFirewallPolicy) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicy] { + return pulumix.Output[*NetworkFirewallPolicy]{ + OutputState: i.ToNetworkFirewallPolicyOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o NetworkFirewallPolicyOutput) ToNetworkFirewallPolicyOutputWithContext(ct return o } +func (o NetworkFirewallPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicy] { + return pulumix.Output[*NetworkFirewallPolicy]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o NetworkFirewallPolicyOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v *NetworkFirewallPolicy) FirewallPolicyAssociationResponseArrayOutput { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/networkFirewallPolicyIamBinding.go b/sdk/go/google/compute/beta/networkFirewallPolicyIamBinding.go index 7ae4885598..098ebaaac2 100644 --- a/sdk/go/google/compute/beta/networkFirewallPolicyIamBinding.go +++ b/sdk/go/google/compute/beta/networkFirewallPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkFirewallPolicyIamBinding) ToNetworkFirewallPolicyIamBindingOutpu return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyIamBindingOutput) } +func (i *NetworkFirewallPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamBinding] { + return pulumix.Output[*NetworkFirewallPolicyIamBinding]{ + OutputState: i.ToNetworkFirewallPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyIamBindingOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkFirewallPolicyIamBindingOutput) ToNetworkFirewallPolicyIamBinding return o } +func (o NetworkFirewallPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamBinding] { + return pulumix.Output[*NetworkFirewallPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkFirewallPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkFirewallPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/networkFirewallPolicyIamMember.go b/sdk/go/google/compute/beta/networkFirewallPolicyIamMember.go index 5a649b126a..6506a7bf61 100644 --- a/sdk/go/google/compute/beta/networkFirewallPolicyIamMember.go +++ b/sdk/go/google/compute/beta/networkFirewallPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkFirewallPolicyIamMember) ToNetworkFirewallPolicyIamMemberOutputW return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyIamMemberOutput) } +func (i *NetworkFirewallPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamMember] { + return pulumix.Output[*NetworkFirewallPolicyIamMember]{ + OutputState: i.ToNetworkFirewallPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyIamMemberOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkFirewallPolicyIamMemberOutput) ToNetworkFirewallPolicyIamMemberOu return o } +func (o NetworkFirewallPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamMember] { + return pulumix.Output[*NetworkFirewallPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkFirewallPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkFirewallPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/networkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/beta/networkFirewallPolicyIamPolicy.go index 5991db62ed..3ff5c58f5e 100644 --- a/sdk/go/google/compute/beta/networkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/beta/networkFirewallPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *NetworkFirewallPolicyIamPolicy) ToNetworkFirewallPolicyIamPolicyOutputW return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyIamPolicyOutput) } +func (i *NetworkFirewallPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*NetworkFirewallPolicyIamPolicy]{ + OutputState: i.ToNetworkFirewallPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o NetworkFirewallPolicyIamPolicyOutput) ToNetworkFirewallPolicyIamPolicyOu return o } +func (o NetworkFirewallPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*NetworkFirewallPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NetworkFirewallPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NetworkFirewallPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/nodeGroup.go b/sdk/go/google/compute/beta/nodeGroup.go index 69fce6bbe7..356e1af246 100644 --- a/sdk/go/google/compute/beta/nodeGroup.go +++ b/sdk/go/google/compute/beta/nodeGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a NodeGroup resource in the specified project using the data included in the request. @@ -169,6 +170,12 @@ func (i *NodeGroup) ToNodeGroupOutputWithContext(ctx context.Context) NodeGroupO return pulumi.ToOutputWithContext(ctx, i).(NodeGroupOutput) } +func (i *NodeGroup) ToOutput(ctx context.Context) pulumix.Output[*NodeGroup] { + return pulumix.Output[*NodeGroup]{ + OutputState: i.ToNodeGroupOutputWithContext(ctx).OutputState, + } +} + type NodeGroupOutput struct{ *pulumi.OutputState } func (NodeGroupOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o NodeGroupOutput) ToNodeGroupOutputWithContext(ctx context.Context) NodeG return o } +func (o NodeGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroup] { + return pulumix.Output[*NodeGroup]{ + OutputState: o.OutputState, + } +} + // Specifies how autoscaling should behave. func (o NodeGroupOutput) AutoscalingPolicy() NodeGroupAutoscalingPolicyResponseOutput { return o.ApplyT(func(v *NodeGroup) NodeGroupAutoscalingPolicyResponseOutput { return v.AutoscalingPolicy }).(NodeGroupAutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/beta/nodeGroupIamBinding.go b/sdk/go/google/compute/beta/nodeGroupIamBinding.go index c0df92df8c..0b97bc9b84 100644 --- a/sdk/go/google/compute/beta/nodeGroupIamBinding.go +++ b/sdk/go/google/compute/beta/nodeGroupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeGroupIamBinding) ToNodeGroupIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(NodeGroupIamBindingOutput) } +func (i *NodeGroupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamBinding] { + return pulumix.Output[*NodeGroupIamBinding]{ + OutputState: i.ToNodeGroupIamBindingOutputWithContext(ctx).OutputState, + } +} + type NodeGroupIamBindingOutput struct{ *pulumi.OutputState } func (NodeGroupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeGroupIamBindingOutput) ToNodeGroupIamBindingOutputWithContext(ctx co return o } +func (o NodeGroupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamBinding] { + return pulumix.Output[*NodeGroupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeGroupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeGroupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/nodeGroupIamMember.go b/sdk/go/google/compute/beta/nodeGroupIamMember.go index 3dea2bc9c7..9d5e39ae63 100644 --- a/sdk/go/google/compute/beta/nodeGroupIamMember.go +++ b/sdk/go/google/compute/beta/nodeGroupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeGroupIamMember) ToNodeGroupIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NodeGroupIamMemberOutput) } +func (i *NodeGroupIamMember) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamMember] { + return pulumix.Output[*NodeGroupIamMember]{ + OutputState: i.ToNodeGroupIamMemberOutputWithContext(ctx).OutputState, + } +} + type NodeGroupIamMemberOutput struct{ *pulumi.OutputState } func (NodeGroupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeGroupIamMemberOutput) ToNodeGroupIamMemberOutputWithContext(ctx cont return o } +func (o NodeGroupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamMember] { + return pulumix.Output[*NodeGroupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeGroupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeGroupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/nodeGroupIamPolicy.go b/sdk/go/google/compute/beta/nodeGroupIamPolicy.go index e74411f49c..a369dbc51d 100644 --- a/sdk/go/google/compute/beta/nodeGroupIamPolicy.go +++ b/sdk/go/google/compute/beta/nodeGroupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *NodeGroupIamPolicy) ToNodeGroupIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NodeGroupIamPolicyOutput) } +func (i *NodeGroupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamPolicy] { + return pulumix.Output[*NodeGroupIamPolicy]{ + OutputState: i.ToNodeGroupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NodeGroupIamPolicyOutput struct{ *pulumi.OutputState } func (NodeGroupIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o NodeGroupIamPolicyOutput) ToNodeGroupIamPolicyOutputWithContext(ctx cont return o } +func (o NodeGroupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamPolicy] { + return pulumix.Output[*NodeGroupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NodeGroupIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NodeGroupIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/nodeTemplate.go b/sdk/go/google/compute/beta/nodeTemplate.go index 22d6c41dcd..02c7b19e5c 100644 --- a/sdk/go/google/compute/beta/nodeTemplate.go +++ b/sdk/go/google/compute/beta/nodeTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a NodeTemplate resource in the specified project using the data included in the request. @@ -165,6 +166,12 @@ func (i *NodeTemplate) ToNodeTemplateOutputWithContext(ctx context.Context) Node return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOutput) } +func (i *NodeTemplate) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplate] { + return pulumix.Output[*NodeTemplate]{ + OutputState: i.ToNodeTemplateOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateOutput struct{ *pulumi.OutputState } func (NodeTemplateOutput) ElementType() reflect.Type { @@ -179,6 +186,12 @@ func (o NodeTemplateOutput) ToNodeTemplateOutputWithContext(ctx context.Context) return o } +func (o NodeTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplate] { + return pulumix.Output[*NodeTemplate]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateOutput) Accelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v *NodeTemplate) AcceleratorConfigResponseArrayOutput { return v.Accelerators }).(AcceleratorConfigResponseArrayOutput) } diff --git a/sdk/go/google/compute/beta/nodeTemplateIamBinding.go b/sdk/go/google/compute/beta/nodeTemplateIamBinding.go index ff67f3ce7d..5a28988f06 100644 --- a/sdk/go/google/compute/beta/nodeTemplateIamBinding.go +++ b/sdk/go/google/compute/beta/nodeTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeTemplateIamBinding) ToNodeTemplateIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateIamBindingOutput) } +func (i *NodeTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamBinding] { + return pulumix.Output[*NodeTemplateIamBinding]{ + OutputState: i.ToNodeTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateIamBindingOutput struct{ *pulumi.OutputState } func (NodeTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeTemplateIamBindingOutput) ToNodeTemplateIamBindingOutputWithContext( return o } +func (o NodeTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamBinding] { + return pulumix.Output[*NodeTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/nodeTemplateIamMember.go b/sdk/go/google/compute/beta/nodeTemplateIamMember.go index df3ad94fe1..c927d8e516 100644 --- a/sdk/go/google/compute/beta/nodeTemplateIamMember.go +++ b/sdk/go/google/compute/beta/nodeTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeTemplateIamMember) ToNodeTemplateIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateIamMemberOutput) } +func (i *NodeTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamMember] { + return pulumix.Output[*NodeTemplateIamMember]{ + OutputState: i.ToNodeTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateIamMemberOutput struct{ *pulumi.OutputState } func (NodeTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeTemplateIamMemberOutput) ToNodeTemplateIamMemberOutputWithContext(ct return o } +func (o NodeTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamMember] { + return pulumix.Output[*NodeTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/nodeTemplateIamPolicy.go b/sdk/go/google/compute/beta/nodeTemplateIamPolicy.go index 5fbe39c8d5..f12f1bfa43 100644 --- a/sdk/go/google/compute/beta/nodeTemplateIamPolicy.go +++ b/sdk/go/google/compute/beta/nodeTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *NodeTemplateIamPolicy) ToNodeTemplateIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateIamPolicyOutput) } +func (i *NodeTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamPolicy] { + return pulumix.Output[*NodeTemplateIamPolicy]{ + OutputState: i.ToNodeTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (NodeTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o NodeTemplateIamPolicyOutput) ToNodeTemplateIamPolicyOutputWithContext(ct return o } +func (o NodeTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamPolicy] { + return pulumix.Output[*NodeTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NodeTemplateIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NodeTemplateIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/organizationSecurityPolicy.go b/sdk/go/google/compute/beta/organizationSecurityPolicy.go index 8d232d69f0..7c1fb4b0d6 100644 --- a/sdk/go/google/compute/beta/organizationSecurityPolicy.go +++ b/sdk/go/google/compute/beta/organizationSecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -176,6 +177,12 @@ func (i *OrganizationSecurityPolicy) ToOrganizationSecurityPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(OrganizationSecurityPolicyOutput) } +func (i *OrganizationSecurityPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSecurityPolicy] { + return pulumix.Output[*OrganizationSecurityPolicy]{ + OutputState: i.ToOrganizationSecurityPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationSecurityPolicyOutput struct{ *pulumi.OutputState } func (OrganizationSecurityPolicyOutput) ElementType() reflect.Type { @@ -190,6 +197,12 @@ func (o OrganizationSecurityPolicyOutput) ToOrganizationSecurityPolicyOutputWith return o } +func (o OrganizationSecurityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSecurityPolicy] { + return pulumix.Output[*OrganizationSecurityPolicy]{ + OutputState: o.OutputState, + } +} + func (o OrganizationSecurityPolicyOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v *OrganizationSecurityPolicy) SecurityPolicyAdaptiveProtectionConfigResponseOutput { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/beta/packetMirroring.go b/sdk/go/google/compute/beta/packetMirroring.go index bf25f35d40..926f8924b5 100644 --- a/sdk/go/google/compute/beta/packetMirroring.go +++ b/sdk/go/google/compute/beta/packetMirroring.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a PacketMirroring resource in the specified project and region using the data included in the request. @@ -161,6 +162,12 @@ func (i *PacketMirroring) ToPacketMirroringOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringOutput) } +func (i *PacketMirroring) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroring] { + return pulumix.Output[*PacketMirroring]{ + OutputState: i.ToPacketMirroringOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringOutput struct{ *pulumi.OutputState } func (PacketMirroringOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o PacketMirroringOutput) ToPacketMirroringOutputWithContext(ctx context.Co return o } +func (o PacketMirroringOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroring] { + return pulumix.Output[*PacketMirroring]{ + OutputState: o.OutputState, + } +} + // The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true. func (o PacketMirroringOutput) CollectorIlb() PacketMirroringForwardingRuleInfoResponseOutput { return o.ApplyT(func(v *PacketMirroring) PacketMirroringForwardingRuleInfoResponseOutput { return v.CollectorIlb }).(PacketMirroringForwardingRuleInfoResponseOutput) diff --git a/sdk/go/google/compute/beta/publicAdvertisedPrefix.go b/sdk/go/google/compute/beta/publicAdvertisedPrefix.go index 5eeabb9e80..c06ef9585e 100644 --- a/sdk/go/google/compute/beta/publicAdvertisedPrefix.go +++ b/sdk/go/google/compute/beta/publicAdvertisedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request. @@ -141,6 +142,12 @@ func (i *PublicAdvertisedPrefix) ToPublicAdvertisedPrefixOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PublicAdvertisedPrefixOutput) } +func (i *PublicAdvertisedPrefix) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefix] { + return pulumix.Output[*PublicAdvertisedPrefix]{ + OutputState: i.ToPublicAdvertisedPrefixOutputWithContext(ctx).OutputState, + } +} + type PublicAdvertisedPrefixOutput struct{ *pulumi.OutputState } func (PublicAdvertisedPrefixOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o PublicAdvertisedPrefixOutput) ToPublicAdvertisedPrefixOutputWithContext( return o } +func (o PublicAdvertisedPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefix] { + return pulumix.Output[*PublicAdvertisedPrefix]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o PublicAdvertisedPrefixOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *PublicAdvertisedPrefix) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/publicDelegatedPrefix.go b/sdk/go/google/compute/beta/publicDelegatedPrefix.go index 4766832782..fbcdb99374 100644 --- a/sdk/go/google/compute/beta/publicDelegatedPrefix.go +++ b/sdk/go/google/compute/beta/publicDelegatedPrefix.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request. @@ -153,6 +154,12 @@ func (i *PublicDelegatedPrefix) ToPublicDelegatedPrefixOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(PublicDelegatedPrefixOutput) } +func (i *PublicDelegatedPrefix) ToOutput(ctx context.Context) pulumix.Output[*PublicDelegatedPrefix] { + return pulumix.Output[*PublicDelegatedPrefix]{ + OutputState: i.ToPublicDelegatedPrefixOutputWithContext(ctx).OutputState, + } +} + type PublicDelegatedPrefixOutput struct{ *pulumi.OutputState } func (PublicDelegatedPrefixOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o PublicDelegatedPrefixOutput) ToPublicDelegatedPrefixOutputWithContext(ct return o } +func (o PublicDelegatedPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicDelegatedPrefix] { + return pulumix.Output[*PublicDelegatedPrefix]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o PublicDelegatedPrefixOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *PublicDelegatedPrefix) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/pulumiEnums.go b/sdk/go/google/compute/beta/pulumiEnums.go index 4d47cd5383..2a77f37ece 100644 --- a/sdk/go/google/compute/beta/pulumiEnums.go +++ b/sdk/go/google/compute/beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. @@ -84,6 +85,12 @@ func (o AccessConfigNetworkTierOutput) ToAccessConfigNetworkTierPtrOutputWithCon }).(AccessConfigNetworkTierPtrOutput) } +func (o AccessConfigNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigNetworkTier] { + return pulumix.Output[AccessConfigNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AccessConfigNetworkTierPtrOutput) ToAccessConfigNetworkTierPtrOutputWith return o } +func (o AccessConfigNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigNetworkTier] { + return pulumix.Output[*AccessConfigNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigNetworkTierPtrOutput) Elem() AccessConfigNetworkTierOutput { return o.ApplyT(func(v *AccessConfigNetworkTier) AccessConfigNetworkTier { if v != nil { @@ -181,6 +194,12 @@ func (in *accessConfigNetworkTierPtr) ToAccessConfigNetworkTierPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(AccessConfigNetworkTierPtrOutput) } +func (in *accessConfigNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigNetworkTier] { + return pulumix.Output[*AccessConfigNetworkTier]{ + OutputState: in.ToAccessConfigNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + // The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. type AccessConfigType string @@ -249,6 +268,12 @@ func (o AccessConfigTypeOutput) ToAccessConfigTypePtrOutputWithContext(ctx conte }).(AccessConfigTypePtrOutput) } +func (o AccessConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigType] { + return pulumix.Output[AccessConfigType]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o AccessConfigTypePtrOutput) ToAccessConfigTypePtrOutputWithContext(ctx co return o } +func (o AccessConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigType] { + return pulumix.Output[*AccessConfigType]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigTypePtrOutput) Elem() AccessConfigTypeOutput { return o.ApplyT(func(v *AccessConfigType) AccessConfigType { if v != nil { @@ -346,6 +377,12 @@ func (in *accessConfigTypePtr) ToAccessConfigTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AccessConfigTypePtrOutput) } +func (in *accessConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigType] { + return pulumix.Output[*AccessConfigType]{ + OutputState: in.ToAccessConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. type AddressAddressType string @@ -417,6 +454,12 @@ func (o AddressAddressTypeOutput) ToAddressAddressTypePtrOutputWithContext(ctx c }).(AddressAddressTypePtrOutput) } +func (o AddressAddressTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AddressAddressType] { + return pulumix.Output[AddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o AddressAddressTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -452,6 +495,12 @@ func (o AddressAddressTypePtrOutput) ToAddressAddressTypePtrOutputWithContext(ct return o } +func (o AddressAddressTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressAddressType] { + return pulumix.Output[*AddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o AddressAddressTypePtrOutput) Elem() AddressAddressTypeOutput { return o.ApplyT(func(v *AddressAddressType) AddressAddressType { if v != nil { @@ -514,6 +563,12 @@ func (in *addressAddressTypePtr) ToAddressAddressTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(AddressAddressTypePtrOutput) } +func (in *addressAddressTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AddressAddressType] { + return pulumix.Output[*AddressAddressType]{ + OutputState: in.ToAddressAddressTypePtrOutputWithContext(ctx).OutputState, + } +} + // The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. type AddressIpVersion string @@ -583,6 +638,12 @@ func (o AddressIpVersionOutput) ToAddressIpVersionPtrOutputWithContext(ctx conte }).(AddressIpVersionPtrOutput) } +func (o AddressIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[AddressIpVersion] { + return pulumix.Output[AddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o AddressIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -618,6 +679,12 @@ func (o AddressIpVersionPtrOutput) ToAddressIpVersionPtrOutputWithContext(ctx co return o } +func (o AddressIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressIpVersion] { + return pulumix.Output[*AddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o AddressIpVersionPtrOutput) Elem() AddressIpVersionOutput { return o.ApplyT(func(v *AddressIpVersion) AddressIpVersion { if v != nil { @@ -680,6 +747,12 @@ func (in *addressIpVersionPtr) ToAddressIpVersionPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AddressIpVersionPtrOutput) } +func (in *addressIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*AddressIpVersion] { + return pulumix.Output[*AddressIpVersion]{ + OutputState: in.ToAddressIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. type AddressIpv6EndpointType string @@ -750,6 +823,12 @@ func (o AddressIpv6EndpointTypeOutput) ToAddressIpv6EndpointTypePtrOutputWithCon }).(AddressIpv6EndpointTypePtrOutput) } +func (o AddressIpv6EndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AddressIpv6EndpointType] { + return pulumix.Output[AddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o AddressIpv6EndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -785,6 +864,12 @@ func (o AddressIpv6EndpointTypePtrOutput) ToAddressIpv6EndpointTypePtrOutputWith return o } +func (o AddressIpv6EndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressIpv6EndpointType] { + return pulumix.Output[*AddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o AddressIpv6EndpointTypePtrOutput) Elem() AddressIpv6EndpointTypeOutput { return o.ApplyT(func(v *AddressIpv6EndpointType) AddressIpv6EndpointType { if v != nil { @@ -847,6 +932,12 @@ func (in *addressIpv6EndpointTypePtr) ToAddressIpv6EndpointTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(AddressIpv6EndpointTypePtrOutput) } +func (in *addressIpv6EndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AddressIpv6EndpointType] { + return pulumix.Output[*AddressIpv6EndpointType]{ + OutputState: in.ToAddressIpv6EndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. type AddressNetworkTier string @@ -921,6 +1012,12 @@ func (o AddressNetworkTierOutput) ToAddressNetworkTierPtrOutputWithContext(ctx c }).(AddressNetworkTierPtrOutput) } +func (o AddressNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[AddressNetworkTier] { + return pulumix.Output[AddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AddressNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -956,6 +1053,12 @@ func (o AddressNetworkTierPtrOutput) ToAddressNetworkTierPtrOutputWithContext(ct return o } +func (o AddressNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressNetworkTier] { + return pulumix.Output[*AddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AddressNetworkTierPtrOutput) Elem() AddressNetworkTierOutput { return o.ApplyT(func(v *AddressNetworkTier) AddressNetworkTier { if v != nil { @@ -1018,6 +1121,12 @@ func (in *addressNetworkTierPtr) ToAddressNetworkTierPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(AddressNetworkTierPtrOutput) } +func (in *addressNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*AddressNetworkTier] { + return pulumix.Output[*AddressNetworkTier]{ + OutputState: in.ToAddressNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + // The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. type AddressPurpose string @@ -1100,6 +1209,12 @@ func (o AddressPurposeOutput) ToAddressPurposePtrOutputWithContext(ctx context.C }).(AddressPurposePtrOutput) } +func (o AddressPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[AddressPurpose] { + return pulumix.Output[AddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o AddressPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1135,6 +1250,12 @@ func (o AddressPurposePtrOutput) ToAddressPurposePtrOutputWithContext(ctx contex return o } +func (o AddressPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressPurpose] { + return pulumix.Output[*AddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o AddressPurposePtrOutput) Elem() AddressPurposeOutput { return o.ApplyT(func(v *AddressPurpose) AddressPurpose { if v != nil { @@ -1197,6 +1318,12 @@ func (in *addressPurposePtr) ToAddressPurposePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(AddressPurposePtrOutput) } +func (in *addressPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*AddressPurpose] { + return pulumix.Output[*AddressPurpose]{ + OutputState: in.ToAddressPurposePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface string @@ -1265,6 +1392,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskIn }).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1300,6 +1433,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskIn return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface] { + return pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) Elem() AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceOutput { return o.ApplyT(func(v *AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface { if v != nil { @@ -1362,6 +1501,12 @@ func (in *allocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk return pulumi.ToOutputWithContext(ctx, in).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) } +func (in *allocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface] { + return pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface]{ + OutputState: in.ToAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`. type AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval string @@ -1430,6 +1575,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInte }).(AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtrOutput) } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1465,6 +1616,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInte return o } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval] { + return pulumix.Output[*AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtrOutput) Elem() AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalOutput { return o.ApplyT(func(v *AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval) AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval { if v != nil { @@ -1527,6 +1684,12 @@ func (in *allocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIn return pulumi.ToOutputWithContext(ctx, in).(AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtrOutput) } +func (in *allocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtr) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval] { + return pulumix.Output[*AllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceInterval]{ + OutputState: in.ToAllocationSpecificSKUAllocationReservedInstancePropertiesMaintenanceIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the attached disk. Valid values are arm64 or x86_64. type AttachedDiskInitializeParamsArchitecture string @@ -1599,6 +1762,12 @@ func (o AttachedDiskInitializeParamsArchitectureOutput) ToAttachedDiskInitialize }).(AttachedDiskInitializeParamsArchitecturePtrOutput) } +func (o AttachedDiskInitializeParamsArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParamsArchitecture] { + return pulumix.Output[AttachedDiskInitializeParamsArchitecture]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1634,6 +1803,12 @@ func (o AttachedDiskInitializeParamsArchitecturePtrOutput) ToAttachedDiskInitial return o } +func (o AttachedDiskInitializeParamsArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsArchitecture] { + return pulumix.Output[*AttachedDiskInitializeParamsArchitecture]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsArchitecturePtrOutput) Elem() AttachedDiskInitializeParamsArchitectureOutput { return o.ApplyT(func(v *AttachedDiskInitializeParamsArchitecture) AttachedDiskInitializeParamsArchitecture { if v != nil { @@ -1696,6 +1871,12 @@ func (in *attachedDiskInitializeParamsArchitecturePtr) ToAttachedDiskInitializeP return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskInitializeParamsArchitecturePtrOutput) } +func (in *attachedDiskInitializeParamsArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsArchitecture] { + return pulumix.Output[*AttachedDiskInitializeParamsArchitecture]{ + OutputState: in.ToAttachedDiskInitializeParamsArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies which action to take on instance update with this disk. Default is to use the existing disk. type AttachedDiskInitializeParamsOnUpdateAction string @@ -1768,6 +1949,12 @@ func (o AttachedDiskInitializeParamsOnUpdateActionOutput) ToAttachedDiskInitiali }).(AttachedDiskInitializeParamsOnUpdateActionPtrOutput) } +func (o AttachedDiskInitializeParamsOnUpdateActionOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParamsOnUpdateAction] { + return pulumix.Output[AttachedDiskInitializeParamsOnUpdateAction]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsOnUpdateActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1803,6 +1990,12 @@ func (o AttachedDiskInitializeParamsOnUpdateActionPtrOutput) ToAttachedDiskIniti return o } +func (o AttachedDiskInitializeParamsOnUpdateActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction] { + return pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsOnUpdateActionPtrOutput) Elem() AttachedDiskInitializeParamsOnUpdateActionOutput { return o.ApplyT(func(v *AttachedDiskInitializeParamsOnUpdateAction) AttachedDiskInitializeParamsOnUpdateAction { if v != nil { @@ -1865,6 +2058,12 @@ func (in *attachedDiskInitializeParamsOnUpdateActionPtr) ToAttachedDiskInitializ return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskInitializeParamsOnUpdateActionPtrOutput) } +func (in *attachedDiskInitializeParamsOnUpdateActionPtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction] { + return pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction]{ + OutputState: in.ToAttachedDiskInitializeParamsOnUpdateActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks. type AttachedDiskInterface string @@ -1933,6 +2132,12 @@ func (o AttachedDiskInterfaceOutput) ToAttachedDiskInterfacePtrOutputWithContext }).(AttachedDiskInterfacePtrOutput) } +func (o AttachedDiskInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInterface] { + return pulumix.Output[AttachedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1968,6 +2173,12 @@ func (o AttachedDiskInterfacePtrOutput) ToAttachedDiskInterfacePtrOutputWithCont return o } +func (o AttachedDiskInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInterface] { + return pulumix.Output[*AttachedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInterfacePtrOutput) Elem() AttachedDiskInterfaceOutput { return o.ApplyT(func(v *AttachedDiskInterface) AttachedDiskInterface { if v != nil { @@ -2030,6 +2241,12 @@ func (in *attachedDiskInterfacePtr) ToAttachedDiskInterfacePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskInterfacePtrOutput) } +func (in *attachedDiskInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInterface] { + return pulumix.Output[*AttachedDiskInterface]{ + OutputState: in.ToAttachedDiskInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. type AttachedDiskMode string @@ -2100,6 +2317,12 @@ func (o AttachedDiskModeOutput) ToAttachedDiskModePtrOutputWithContext(ctx conte }).(AttachedDiskModePtrOutput) } +func (o AttachedDiskModeOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskMode] { + return pulumix.Output[AttachedDiskMode]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2135,6 +2358,12 @@ func (o AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutputWithContext(ctx co return o } +func (o AttachedDiskModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskMode] { + return pulumix.Output[*AttachedDiskMode]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskModePtrOutput) Elem() AttachedDiskModeOutput { return o.ApplyT(func(v *AttachedDiskMode) AttachedDiskMode { if v != nil { @@ -2197,6 +2426,12 @@ func (in *attachedDiskModePtr) ToAttachedDiskModePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskModePtrOutput) } +func (in *attachedDiskModePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskMode] { + return pulumix.Output[*AttachedDiskMode]{ + OutputState: in.ToAttachedDiskModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. type AttachedDiskType string @@ -2265,6 +2500,12 @@ func (o AttachedDiskTypeOutput) ToAttachedDiskTypePtrOutputWithContext(ctx conte }).(AttachedDiskTypePtrOutput) } +func (o AttachedDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskType] { + return pulumix.Output[AttachedDiskType]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2300,6 +2541,12 @@ func (o AttachedDiskTypePtrOutput) ToAttachedDiskTypePtrOutputWithContext(ctx co return o } +func (o AttachedDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskType] { + return pulumix.Output[*AttachedDiskType]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskTypePtrOutput) Elem() AttachedDiskTypeOutput { return o.ApplyT(func(v *AttachedDiskType) AttachedDiskType { if v != nil { @@ -2362,6 +2609,12 @@ func (in *attachedDiskTypePtr) ToAttachedDiskTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskTypePtrOutput) } +func (in *attachedDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskType] { + return pulumix.Output[*AttachedDiskType]{ + OutputState: in.ToAttachedDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type AuditLogConfigLogType string @@ -2436,6 +2689,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2471,6 +2730,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -2533,6 +2798,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type AuthorizationLoggingOptionsPermissionType string @@ -2609,6 +2880,12 @@ func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToAuthorizationLoggingO }).(AuthorizationLoggingOptionsPermissionTypePtrOutput) } +func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[AuthorizationLoggingOptionsPermissionType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2644,6 +2921,12 @@ func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) ToAuthorizationLoggi return o } +func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[*AuthorizationLoggingOptionsPermissionType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) Elem() AuthorizationLoggingOptionsPermissionTypeOutput { return o.ApplyT(func(v *AuthorizationLoggingOptionsPermissionType) AuthorizationLoggingOptionsPermissionType { if v != nil { @@ -2706,6 +2989,12 @@ func (in *authorizationLoggingOptionsPermissionTypePtr) ToAuthorizationLoggingOp return pulumi.ToOutputWithContext(ctx, in).(AuthorizationLoggingOptionsPermissionTypePtrOutput) } +func (in *authorizationLoggingOptionsPermissionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[*AuthorizationLoggingOptionsPermissionType]{ + OutputState: in.ToAuthorizationLoggingOptionsPermissionTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. type AutoscalingPolicyCpuUtilizationPredictiveMethod string @@ -2777,6 +3066,12 @@ func (o AutoscalingPolicyCpuUtilizationPredictiveMethodOutput) ToAutoscalingPoli }).(AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) } +func (o AutoscalingPolicyCpuUtilizationPredictiveMethodOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilizationPredictiveMethod] { + return pulumix.Output[AutoscalingPolicyCpuUtilizationPredictiveMethod]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCpuUtilizationPredictiveMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2812,6 +3107,12 @@ func (o AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) ToAutoscalingP return o } +func (o AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod] { + return pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) Elem() AutoscalingPolicyCpuUtilizationPredictiveMethodOutput { return o.ApplyT(func(v *AutoscalingPolicyCpuUtilizationPredictiveMethod) AutoscalingPolicyCpuUtilizationPredictiveMethod { if v != nil { @@ -2874,6 +3175,12 @@ func (in *autoscalingPolicyCpuUtilizationPredictiveMethodPtr) ToAutoscalingPolic return pulumi.ToOutputWithContext(ctx, in).(AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) } +func (in *autoscalingPolicyCpuUtilizationPredictiveMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod] { + return pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod]{ + OutputState: in.ToAutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. type AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType string @@ -2946,6 +3253,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput) ToA }).(AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) } +func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2981,6 +3294,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) return o } +func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType] { + return pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) Elem() AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput { return o.ApplyT(func(v *AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType) AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType { if v != nil { @@ -3043,6 +3362,12 @@ func (in *autoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtr) ToAu return pulumi.ToOutputWithContext(ctx, in).(AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) } +func (in *autoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType] { + return pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType]{ + OutputState: in.ToAutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutputWithContext(ctx).OutputState, + } +} + // Defines operating mode for this policy. type AutoscalingPolicyMode string @@ -3117,6 +3442,12 @@ func (o AutoscalingPolicyModeOutput) ToAutoscalingPolicyModePtrOutputWithContext }).(AutoscalingPolicyModePtrOutput) } +func (o AutoscalingPolicyModeOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyMode] { + return pulumix.Output[AutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3152,6 +3483,12 @@ func (o AutoscalingPolicyModePtrOutput) ToAutoscalingPolicyModePtrOutputWithCont return o } +func (o AutoscalingPolicyModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyMode] { + return pulumix.Output[*AutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyModePtrOutput) Elem() AutoscalingPolicyModeOutput { return o.ApplyT(func(v *AutoscalingPolicyMode) AutoscalingPolicyMode { if v != nil { @@ -3214,6 +3551,12 @@ func (in *autoscalingPolicyModePtr) ToAutoscalingPolicyModePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AutoscalingPolicyModePtrOutput) } +func (in *autoscalingPolicyModePtr) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyMode] { + return pulumix.Output[*AutoscalingPolicyMode]{ + OutputState: in.ToAutoscalingPolicyModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. type BackendBalancingMode string @@ -3286,6 +3629,12 @@ func (o BackendBalancingModeOutput) ToBackendBalancingModePtrOutputWithContext(c }).(BackendBalancingModePtrOutput) } +func (o BackendBalancingModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBalancingMode] { + return pulumix.Output[BackendBalancingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBalancingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3321,6 +3670,12 @@ func (o BackendBalancingModePtrOutput) ToBackendBalancingModePtrOutputWithContex return o } +func (o BackendBalancingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBalancingMode] { + return pulumix.Output[*BackendBalancingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBalancingModePtrOutput) Elem() BackendBalancingModeOutput { return o.ApplyT(func(v *BackendBalancingMode) BackendBalancingMode { if v != nil { @@ -3383,6 +3738,12 @@ func (in *backendBalancingModePtr) ToBackendBalancingModePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(BackendBalancingModePtrOutput) } +func (in *backendBalancingModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendBalancingMode] { + return pulumix.Output[*BackendBalancingMode]{ + OutputState: in.ToBackendBalancingModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. type BackendBucketCdnPolicyCacheMode string @@ -3456,6 +3817,12 @@ func (o BackendBucketCdnPolicyCacheModeOutput) ToBackendBucketCdnPolicyCacheMode }).(BackendBucketCdnPolicyCacheModePtrOutput) } +func (o BackendBucketCdnPolicyCacheModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheMode] { + return pulumix.Output[BackendBucketCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyCacheModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3491,6 +3858,12 @@ func (o BackendBucketCdnPolicyCacheModePtrOutput) ToBackendBucketCdnPolicyCacheM return o } +func (o BackendBucketCdnPolicyCacheModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheMode] { + return pulumix.Output[*BackendBucketCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyCacheModePtrOutput) Elem() BackendBucketCdnPolicyCacheModeOutput { return o.ApplyT(func(v *BackendBucketCdnPolicyCacheMode) BackendBucketCdnPolicyCacheMode { if v != nil { @@ -3553,6 +3926,12 @@ func (in *backendBucketCdnPolicyCacheModePtr) ToBackendBucketCdnPolicyCacheModeP return pulumi.ToOutputWithContext(ctx, in).(BackendBucketCdnPolicyCacheModePtrOutput) } +func (in *backendBucketCdnPolicyCacheModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheMode] { + return pulumix.Output[*BackendBucketCdnPolicyCacheMode]{ + OutputState: in.ToBackendBucketCdnPolicyCacheModePtrOutputWithContext(ctx).OutputState, + } +} + // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. type BackendBucketCompressionMode string @@ -3623,6 +4002,12 @@ func (o BackendBucketCompressionModeOutput) ToBackendBucketCompressionModePtrOut }).(BackendBucketCompressionModePtrOutput) } +func (o BackendBucketCompressionModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCompressionMode] { + return pulumix.Output[BackendBucketCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCompressionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3658,6 +4043,12 @@ func (o BackendBucketCompressionModePtrOutput) ToBackendBucketCompressionModePtr return o } +func (o BackendBucketCompressionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCompressionMode] { + return pulumix.Output[*BackendBucketCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCompressionModePtrOutput) Elem() BackendBucketCompressionModeOutput { return o.ApplyT(func(v *BackendBucketCompressionMode) BackendBucketCompressionMode { if v != nil { @@ -3720,6 +4111,12 @@ func (in *backendBucketCompressionModePtr) ToBackendBucketCompressionModePtrOutp return pulumi.ToOutputWithContext(ctx, in).(BackendBucketCompressionModePtrOutput) } +func (in *backendBucketCompressionModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCompressionMode] { + return pulumix.Output[*BackendBucketCompressionMode]{ + OutputState: in.ToBackendBucketCompressionModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. type BackendServiceCdnPolicyCacheMode string @@ -3793,6 +4190,12 @@ func (o BackendServiceCdnPolicyCacheModeOutput) ToBackendServiceCdnPolicyCacheMo }).(BackendServiceCdnPolicyCacheModePtrOutput) } +func (o BackendServiceCdnPolicyCacheModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyCacheMode] { + return pulumix.Output[BackendServiceCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyCacheModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3828,6 +4231,12 @@ func (o BackendServiceCdnPolicyCacheModePtrOutput) ToBackendServiceCdnPolicyCach return o } +func (o BackendServiceCdnPolicyCacheModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicyCacheMode] { + return pulumix.Output[*BackendServiceCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyCacheModePtrOutput) Elem() BackendServiceCdnPolicyCacheModeOutput { return o.ApplyT(func(v *BackendServiceCdnPolicyCacheMode) BackendServiceCdnPolicyCacheMode { if v != nil { @@ -3890,6 +4299,12 @@ func (in *backendServiceCdnPolicyCacheModePtr) ToBackendServiceCdnPolicyCacheMod return pulumi.ToOutputWithContext(ctx, in).(BackendServiceCdnPolicyCacheModePtrOutput) } +func (in *backendServiceCdnPolicyCacheModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicyCacheMode] { + return pulumix.Output[*BackendServiceCdnPolicyCacheMode]{ + OutputState: in.ToBackendServiceCdnPolicyCacheModePtrOutputWithContext(ctx).OutputState, + } +} + // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. type BackendServiceCompressionMode string @@ -3960,6 +4375,12 @@ func (o BackendServiceCompressionModeOutput) ToBackendServiceCompressionModePtrO }).(BackendServiceCompressionModePtrOutput) } +func (o BackendServiceCompressionModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCompressionMode] { + return pulumix.Output[BackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCompressionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3995,6 +4416,12 @@ func (o BackendServiceCompressionModePtrOutput) ToBackendServiceCompressionModeP return o } +func (o BackendServiceCompressionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCompressionMode] { + return pulumix.Output[*BackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCompressionModePtrOutput) Elem() BackendServiceCompressionModeOutput { return o.ApplyT(func(v *BackendServiceCompressionMode) BackendServiceCompressionMode { if v != nil { @@ -4057,6 +4484,12 @@ func (in *backendServiceCompressionModePtr) ToBackendServiceCompressionModePtrOu return pulumi.ToOutputWithContext(ctx, in).(BackendServiceCompressionModePtrOutput) } +func (in *backendServiceCompressionModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCompressionMode] { + return pulumix.Output[*BackendServiceCompressionMode]{ + OutputState: in.ToBackendServiceCompressionModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence). type BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends string @@ -4126,6 +4559,12 @@ func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBa }).(BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) } +func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends] { + return pulumix.Output[BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4161,6 +4600,12 @@ func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBa return o } +func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) Elem() BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsOutput { return o.ApplyT(func(v *BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends) BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends { if v != nil { @@ -4223,6 +4668,12 @@ func (in *backendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthy return pulumi.ToOutputWithContext(ctx, in).(BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) } +func (in *backendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends]{ + OutputState: in.ToBackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode) and [Tracking Mode for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#tracking-mode). type BackendServiceConnectionTrackingPolicyTrackingMode string @@ -4292,6 +4743,12 @@ func (o BackendServiceConnectionTrackingPolicyTrackingModeOutput) ToBackendServi }).(BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) } +func (o BackendServiceConnectionTrackingPolicyTrackingModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicyTrackingMode] { + return pulumix.Output[BackendServiceConnectionTrackingPolicyTrackingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyTrackingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4327,6 +4784,12 @@ func (o BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) ToBackendSe return o } +func (o BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) Elem() BackendServiceConnectionTrackingPolicyTrackingModeOutput { return o.ApplyT(func(v *BackendServiceConnectionTrackingPolicyTrackingMode) BackendServiceConnectionTrackingPolicyTrackingMode { if v != nil { @@ -4389,6 +4852,12 @@ func (in *backendServiceConnectionTrackingPolicyTrackingModePtr) ToBackendServic return pulumi.ToOutputWithContext(ctx, in).(BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) } +func (in *backendServiceConnectionTrackingPolicyTrackingModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode]{ + OutputState: in.ToBackendServiceConnectionTrackingPolicyTrackingModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. type BackendServiceLoadBalancingScheme string @@ -4466,6 +4935,12 @@ func (o BackendServiceLoadBalancingSchemeOutput) ToBackendServiceLoadBalancingSc }).(BackendServiceLoadBalancingSchemePtrOutput) } +func (o BackendServiceLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLoadBalancingScheme] { + return pulumix.Output[BackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4501,6 +4976,12 @@ func (o BackendServiceLoadBalancingSchemePtrOutput) ToBackendServiceLoadBalancin return o } +func (o BackendServiceLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLoadBalancingScheme] { + return pulumix.Output[*BackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLoadBalancingSchemePtrOutput) Elem() BackendServiceLoadBalancingSchemeOutput { return o.ApplyT(func(v *BackendServiceLoadBalancingScheme) BackendServiceLoadBalancingScheme { if v != nil { @@ -4563,6 +5044,12 @@ func (in *backendServiceLoadBalancingSchemePtr) ToBackendServiceLoadBalancingSch return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLoadBalancingSchemePtrOutput) } +func (in *backendServiceLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLoadBalancingScheme] { + return pulumix.Output[*BackendServiceLoadBalancingScheme]{ + OutputState: in.ToBackendServiceLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. type BackendServiceLocalityLbPolicy string @@ -4644,6 +5131,12 @@ func (o BackendServiceLocalityLbPolicyOutput) ToBackendServiceLocalityLbPolicyPt }).(BackendServiceLocalityLbPolicyPtrOutput) } +func (o BackendServiceLocalityLbPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLbPolicy] { + return pulumix.Output[BackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLbPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4679,6 +5172,12 @@ func (o BackendServiceLocalityLbPolicyPtrOutput) ToBackendServiceLocalityLbPolic return o } +func (o BackendServiceLocalityLbPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLbPolicy] { + return pulumix.Output[*BackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLbPolicyPtrOutput) Elem() BackendServiceLocalityLbPolicyOutput { return o.ApplyT(func(v *BackendServiceLocalityLbPolicy) BackendServiceLocalityLbPolicy { if v != nil { @@ -4741,6 +5240,12 @@ func (in *backendServiceLocalityLbPolicyPtr) ToBackendServiceLocalityLbPolicyPtr return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLocalityLbPolicyPtrOutput) } +func (in *backendServiceLocalityLbPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLbPolicy] { + return pulumix.Output[*BackendServiceLocalityLbPolicy]{ + OutputState: in.ToBackendServiceLocalityLbPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. type BackendServiceLocalityLoadBalancingPolicyConfigPolicyName string @@ -4822,6 +5327,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput) ToBacke }).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyName] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyName]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4857,6 +5368,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) ToBa return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) Elem() BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput { return o.ApplyT(func(v *BackendServiceLocalityLoadBalancingPolicyConfigPolicyName) BackendServiceLocalityLoadBalancingPolicyConfigPolicyName { if v != nil { @@ -4919,6 +5436,12 @@ func (in *backendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtr) ToBacken return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) } +func (in *backendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName]{ + OutputState: in.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutputWithContext(ctx).OutputState, + } +} + // This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL. type BackendServiceLogConfigOptionalMode string @@ -4991,6 +5514,12 @@ func (o BackendServiceLogConfigOptionalModeOutput) ToBackendServiceLogConfigOpti }).(BackendServiceLogConfigOptionalModePtrOutput) } +func (o BackendServiceLogConfigOptionalModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfigOptionalMode] { + return pulumix.Output[BackendServiceLogConfigOptionalMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigOptionalModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5026,6 +5555,12 @@ func (o BackendServiceLogConfigOptionalModePtrOutput) ToBackendServiceLogConfigO return o } +func (o BackendServiceLogConfigOptionalModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfigOptionalMode] { + return pulumix.Output[*BackendServiceLogConfigOptionalMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigOptionalModePtrOutput) Elem() BackendServiceLogConfigOptionalModeOutput { return o.ApplyT(func(v *BackendServiceLogConfigOptionalMode) BackendServiceLogConfigOptionalMode { if v != nil { @@ -5088,6 +5623,12 @@ func (in *backendServiceLogConfigOptionalModePtr) ToBackendServiceLogConfigOptio return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLogConfigOptionalModePtrOutput) } +func (in *backendServiceLogConfigOptionalModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfigOptionalMode] { + return pulumix.Output[*BackendServiceLogConfigOptionalMode]{ + OutputState: in.ToBackendServiceLogConfigOptionalModePtrOutputWithContext(ctx).OutputState, + } +} + // The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. type BackendServiceProtocol string @@ -5168,6 +5709,12 @@ func (o BackendServiceProtocolOutput) ToBackendServiceProtocolPtrOutputWithConte }).(BackendServiceProtocolPtrOutput) } +func (o BackendServiceProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceProtocol] { + return pulumix.Output[BackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5203,6 +5750,12 @@ func (o BackendServiceProtocolPtrOutput) ToBackendServiceProtocolPtrOutputWithCo return o } +func (o BackendServiceProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceProtocol] { + return pulumix.Output[*BackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceProtocolPtrOutput) Elem() BackendServiceProtocolOutput { return o.ApplyT(func(v *BackendServiceProtocol) BackendServiceProtocol { if v != nil { @@ -5265,6 +5818,12 @@ func (in *backendServiceProtocolPtr) ToBackendServiceProtocolPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(BackendServiceProtocolPtrOutput) } +func (in *backendServiceProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceProtocol] { + return pulumix.Output[*BackendServiceProtocol]{ + OutputState: in.ToBackendServiceProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). type BackendServiceSessionAffinity string @@ -5347,6 +5906,12 @@ func (o BackendServiceSessionAffinityOutput) ToBackendServiceSessionAffinityPtrO }).(BackendServiceSessionAffinityPtrOutput) } +func (o BackendServiceSessionAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceSessionAffinity] { + return pulumix.Output[BackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceSessionAffinityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5382,6 +5947,12 @@ func (o BackendServiceSessionAffinityPtrOutput) ToBackendServiceSessionAffinityP return o } +func (o BackendServiceSessionAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceSessionAffinity] { + return pulumix.Output[*BackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceSessionAffinityPtrOutput) Elem() BackendServiceSessionAffinityOutput { return o.ApplyT(func(v *BackendServiceSessionAffinity) BackendServiceSessionAffinity { if v != nil { @@ -5444,6 +6015,12 @@ func (in *backendServiceSessionAffinityPtr) ToBackendServiceSessionAffinityPtrOu return pulumi.ToOutputWithContext(ctx, in).(BackendServiceSessionAffinityPtrOutput) } +func (in *backendServiceSessionAffinityPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceSessionAffinity] { + return pulumix.Output[*BackendServiceSessionAffinity]{ + OutputState: in.ToBackendServiceSessionAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionIam string @@ -5526,6 +6103,12 @@ func (o ConditionIamOutput) ToConditionIamPtrOutputWithContext(ctx context.Conte }).(ConditionIamPtrOutput) } +func (o ConditionIamOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionIam] { + return pulumix.Output[ConditionIam]{ + OutputState: o.OutputState, + } +} + func (o ConditionIamOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5561,6 +6144,12 @@ func (o ConditionIamPtrOutput) ToConditionIamPtrOutputWithContext(ctx context.Co return o } +func (o ConditionIamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionIam] { + return pulumix.Output[*ConditionIam]{ + OutputState: o.OutputState, + } +} + func (o ConditionIamPtrOutput) Elem() ConditionIamOutput { return o.ApplyT(func(v *ConditionIam) ConditionIam { if v != nil { @@ -5623,6 +6212,12 @@ func (in *conditionIamPtr) ToConditionIamPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ConditionIamPtrOutput) } +func (in *conditionIamPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionIam] { + return pulumix.Output[*ConditionIam]{ + OutputState: in.ToConditionIamPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionOp string @@ -5701,6 +6296,12 @@ func (o ConditionOpOutput) ToConditionOpPtrOutputWithContext(ctx context.Context }).(ConditionOpPtrOutput) } +func (o ConditionOpOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionOp] { + return pulumix.Output[ConditionOp]{ + OutputState: o.OutputState, + } +} + func (o ConditionOpOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5736,6 +6337,12 @@ func (o ConditionOpPtrOutput) ToConditionOpPtrOutputWithContext(ctx context.Cont return o } +func (o ConditionOpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionOp] { + return pulumix.Output[*ConditionOp]{ + OutputState: o.OutputState, + } +} + func (o ConditionOpPtrOutput) Elem() ConditionOpOutput { return o.ApplyT(func(v *ConditionOp) ConditionOp { if v != nil { @@ -5798,6 +6405,12 @@ func (in *conditionOpPtr) ToConditionOpPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ConditionOpPtrOutput) } +func (in *conditionOpPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionOp] { + return pulumix.Output[*ConditionOp]{ + OutputState: in.ToConditionOpPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionSys string @@ -5874,6 +6487,12 @@ func (o ConditionSysOutput) ToConditionSysPtrOutputWithContext(ctx context.Conte }).(ConditionSysPtrOutput) } +func (o ConditionSysOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionSys] { + return pulumix.Output[ConditionSys]{ + OutputState: o.OutputState, + } +} + func (o ConditionSysOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5909,6 +6528,12 @@ func (o ConditionSysPtrOutput) ToConditionSysPtrOutputWithContext(ctx context.Co return o } +func (o ConditionSysPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionSys] { + return pulumix.Output[*ConditionSys]{ + OutputState: o.OutputState, + } +} + func (o ConditionSysPtrOutput) Elem() ConditionSysOutput { return o.ApplyT(func(v *ConditionSys) ConditionSys { if v != nil { @@ -5971,6 +6596,12 @@ func (in *conditionSysPtr) ToConditionSysPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ConditionSysPtrOutput) } +func (in *conditionSysPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionSys] { + return pulumix.Output[*ConditionSys]{ + OutputState: in.ToConditionSysPtrOutputWithContext(ctx).OutputState, + } +} + // The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. type DeprecationStatusState string @@ -6041,6 +6672,12 @@ func (o DeprecationStatusStateOutput) ToDeprecationStatusStatePtrOutputWithConte }).(DeprecationStatusStatePtrOutput) } +func (o DeprecationStatusStateOutput) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatusState] { + return pulumix.Output[DeprecationStatusState]{ + OutputState: o.OutputState, + } +} + func (o DeprecationStatusStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6076,6 +6713,12 @@ func (o DeprecationStatusStatePtrOutput) ToDeprecationStatusStatePtrOutputWithCo return o } +func (o DeprecationStatusStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatusState] { + return pulumix.Output[*DeprecationStatusState]{ + OutputState: o.OutputState, + } +} + func (o DeprecationStatusStatePtrOutput) Elem() DeprecationStatusStateOutput { return o.ApplyT(func(v *DeprecationStatusState) DeprecationStatusState { if v != nil { @@ -6138,6 +6781,12 @@ func (in *deprecationStatusStatePtr) ToDeprecationStatusStatePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(DeprecationStatusStatePtrOutput) } +func (in *deprecationStatusStatePtr) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatusState] { + return pulumix.Output[*DeprecationStatusState]{ + OutputState: in.ToDeprecationStatusStatePtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. type DiskArchitecture string @@ -6210,6 +6859,12 @@ func (o DiskArchitectureOutput) ToDiskArchitecturePtrOutputWithContext(ctx conte }).(DiskArchitecturePtrOutput) } +func (o DiskArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[DiskArchitecture] { + return pulumix.Output[DiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DiskArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6245,6 +6900,12 @@ func (o DiskArchitecturePtrOutput) ToDiskArchitecturePtrOutputWithContext(ctx co return o } +func (o DiskArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskArchitecture] { + return pulumix.Output[*DiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DiskArchitecturePtrOutput) Elem() DiskArchitectureOutput { return o.ApplyT(func(v *DiskArchitecture) DiskArchitecture { if v != nil { @@ -6307,6 +6968,12 @@ func (in *diskArchitecturePtr) ToDiskArchitecturePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(DiskArchitecturePtrOutput) } +func (in *diskArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*DiskArchitecture] { + return pulumix.Output[*DiskArchitecture]{ + OutputState: in.ToDiskArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks. type DiskInstantiationConfigInstantiateFrom string @@ -6387,6 +7054,12 @@ func (o DiskInstantiationConfigInstantiateFromOutput) ToDiskInstantiationConfigI }).(DiskInstantiationConfigInstantiateFromPtrOutput) } +func (o DiskInstantiationConfigInstantiateFromOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfigInstantiateFrom] { + return pulumix.Output[DiskInstantiationConfigInstantiateFrom]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigInstantiateFromOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6422,6 +7095,12 @@ func (o DiskInstantiationConfigInstantiateFromPtrOutput) ToDiskInstantiationConf return o } +func (o DiskInstantiationConfigInstantiateFromPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskInstantiationConfigInstantiateFrom] { + return pulumix.Output[*DiskInstantiationConfigInstantiateFrom]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigInstantiateFromPtrOutput) Elem() DiskInstantiationConfigInstantiateFromOutput { return o.ApplyT(func(v *DiskInstantiationConfigInstantiateFrom) DiskInstantiationConfigInstantiateFrom { if v != nil { @@ -6484,6 +7163,12 @@ func (in *diskInstantiationConfigInstantiateFromPtr) ToDiskInstantiationConfigIn return pulumi.ToOutputWithContext(ctx, in).(DiskInstantiationConfigInstantiateFromPtrOutput) } +func (in *diskInstantiationConfigInstantiateFromPtr) ToOutput(ctx context.Context) pulumix.Output[*DiskInstantiationConfigInstantiateFrom] { + return pulumix.Output[*DiskInstantiationConfigInstantiateFrom]{ + OutputState: in.ToDiskInstantiationConfigInstantiateFromPtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. type DiskInterface string @@ -6553,6 +7238,12 @@ func (o DiskInterfaceOutput) ToDiskInterfacePtrOutputWithContext(ctx context.Con }).(DiskInterfacePtrOutput) } +func (o DiskInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInterface] { + return pulumix.Output[DiskInterface]{ + OutputState: o.OutputState, + } +} + func (o DiskInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6588,6 +7279,12 @@ func (o DiskInterfacePtrOutput) ToDiskInterfacePtrOutputWithContext(ctx context. return o } +func (o DiskInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskInterface] { + return pulumix.Output[*DiskInterface]{ + OutputState: o.OutputState, + } +} + func (o DiskInterfacePtrOutput) Elem() DiskInterfaceOutput { return o.ApplyT(func(v *DiskInterface) DiskInterface { if v != nil { @@ -6650,6 +7347,12 @@ func (in *diskInterfacePtr) ToDiskInterfacePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(DiskInterfacePtrOutput) } +func (in *diskInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*DiskInterface] { + return pulumix.Output[*DiskInterface]{ + OutputState: in.ToDiskInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Storage type of the persistent disk. type DiskStorageType string @@ -6718,6 +7421,12 @@ func (o DiskStorageTypeOutput) ToDiskStorageTypePtrOutputWithContext(ctx context }).(DiskStorageTypePtrOutput) } +func (o DiskStorageTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DiskStorageType] { + return pulumix.Output[DiskStorageType]{ + OutputState: o.OutputState, + } +} + func (o DiskStorageTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6753,6 +7462,12 @@ func (o DiskStorageTypePtrOutput) ToDiskStorageTypePtrOutputWithContext(ctx cont return o } +func (o DiskStorageTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskStorageType] { + return pulumix.Output[*DiskStorageType]{ + OutputState: o.OutputState, + } +} + func (o DiskStorageTypePtrOutput) Elem() DiskStorageTypeOutput { return o.ApplyT(func(v *DiskStorageType) DiskStorageType { if v != nil { @@ -6815,6 +7530,12 @@ func (in *diskStorageTypePtr) ToDiskStorageTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(DiskStorageTypePtrOutput) } +func (in *diskStorageTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DiskStorageType] { + return pulumix.Output[*DiskStorageType]{ + OutputState: in.ToDiskStorageTypePtrOutputWithContext(ctx).OutputState, + } +} + // The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). type DistributionPolicyTargetShape string @@ -6889,6 +7610,12 @@ func (o DistributionPolicyTargetShapeOutput) ToDistributionPolicyTargetShapePtrO }).(DistributionPolicyTargetShapePtrOutput) } +func (o DistributionPolicyTargetShapeOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyTargetShape] { + return pulumix.Output[DistributionPolicyTargetShape]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyTargetShapeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6924,6 +7651,12 @@ func (o DistributionPolicyTargetShapePtrOutput) ToDistributionPolicyTargetShapeP return o } +func (o DistributionPolicyTargetShapePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicyTargetShape] { + return pulumix.Output[*DistributionPolicyTargetShape]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyTargetShapePtrOutput) Elem() DistributionPolicyTargetShapeOutput { return o.ApplyT(func(v *DistributionPolicyTargetShape) DistributionPolicyTargetShape { if v != nil { @@ -6986,6 +7719,12 @@ func (in *distributionPolicyTargetShapePtr) ToDistributionPolicyTargetShapePtrOu return pulumi.ToOutputWithContext(ctx, in).(DistributionPolicyTargetShapePtrOutput) } +func (in *distributionPolicyTargetShapePtr) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicyTargetShape] { + return pulumix.Output[*DistributionPolicyTargetShape]{ + OutputState: in.ToDistributionPolicyTargetShapePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the user-supplied redundancy type of this external VPN gateway. type ExternalVpnGatewayRedundancyType string @@ -7058,6 +7797,12 @@ func (o ExternalVpnGatewayRedundancyTypeOutput) ToExternalVpnGatewayRedundancyTy }).(ExternalVpnGatewayRedundancyTypePtrOutput) } +func (o ExternalVpnGatewayRedundancyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayRedundancyType] { + return pulumix.Output[ExternalVpnGatewayRedundancyType]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayRedundancyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7093,6 +7838,12 @@ func (o ExternalVpnGatewayRedundancyTypePtrOutput) ToExternalVpnGatewayRedundanc return o } +func (o ExternalVpnGatewayRedundancyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGatewayRedundancyType] { + return pulumix.Output[*ExternalVpnGatewayRedundancyType]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayRedundancyTypePtrOutput) Elem() ExternalVpnGatewayRedundancyTypeOutput { return o.ApplyT(func(v *ExternalVpnGatewayRedundancyType) ExternalVpnGatewayRedundancyType { if v != nil { @@ -7155,6 +7906,12 @@ func (in *externalVpnGatewayRedundancyTypePtr) ToExternalVpnGatewayRedundancyTyp return pulumi.ToOutputWithContext(ctx, in).(ExternalVpnGatewayRedundancyTypePtrOutput) } +func (in *externalVpnGatewayRedundancyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGatewayRedundancyType] { + return pulumix.Output[*ExternalVpnGatewayRedundancyType]{ + OutputState: in.ToExternalVpnGatewayRedundancyTypePtrOutputWithContext(ctx).OutputState, + } +} + // The file type of source file. type FileContentBufferFileType string @@ -7224,6 +7981,12 @@ func (o FileContentBufferFileTypeOutput) ToFileContentBufferFileTypePtrOutputWit }).(FileContentBufferFileTypePtrOutput) } +func (o FileContentBufferFileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[FileContentBufferFileType] { + return pulumix.Output[FileContentBufferFileType]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferFileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7259,6 +8022,12 @@ func (o FileContentBufferFileTypePtrOutput) ToFileContentBufferFileTypePtrOutput return o } +func (o FileContentBufferFileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileContentBufferFileType] { + return pulumix.Output[*FileContentBufferFileType]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferFileTypePtrOutput) Elem() FileContentBufferFileTypeOutput { return o.ApplyT(func(v *FileContentBufferFileType) FileContentBufferFileType { if v != nil { @@ -7321,6 +8090,12 @@ func (in *fileContentBufferFileTypePtr) ToFileContentBufferFileTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(FileContentBufferFileTypePtrOutput) } +func (in *fileContentBufferFileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*FileContentBufferFileType] { + return pulumix.Output[*FileContentBufferFileType]{ + OutputState: in.ToFileContentBufferFileTypePtrOutputWithContext(ctx).OutputState, + } +} + // Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields. type FirewallDirection string @@ -7391,6 +8166,12 @@ func (o FirewallDirectionOutput) ToFirewallDirectionPtrOutputWithContext(ctx con }).(FirewallDirectionPtrOutput) } +func (o FirewallDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallDirection] { + return pulumix.Output[FirewallDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7426,6 +8207,12 @@ func (o FirewallDirectionPtrOutput) ToFirewallDirectionPtrOutputWithContext(ctx return o } +func (o FirewallDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallDirection] { + return pulumix.Output[*FirewallDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallDirectionPtrOutput) Elem() FirewallDirectionOutput { return o.ApplyT(func(v *FirewallDirection) FirewallDirection { if v != nil { @@ -7488,6 +8275,12 @@ func (in *firewallDirectionPtr) ToFirewallDirectionPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(FirewallDirectionPtrOutput) } +func (in *firewallDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*FirewallDirection] { + return pulumix.Output[*FirewallDirection]{ + OutputState: in.ToFirewallDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs. type FirewallLogConfigMetadata string @@ -7556,6 +8349,12 @@ func (o FirewallLogConfigMetadataOutput) ToFirewallLogConfigMetadataPtrOutputWit }).(FirewallLogConfigMetadataPtrOutput) } +func (o FirewallLogConfigMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfigMetadata] { + return pulumix.Output[FirewallLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o FirewallLogConfigMetadataOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7591,6 +8390,12 @@ func (o FirewallLogConfigMetadataPtrOutput) ToFirewallLogConfigMetadataPtrOutput return o } +func (o FirewallLogConfigMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfigMetadata] { + return pulumix.Output[*FirewallLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o FirewallLogConfigMetadataPtrOutput) Elem() FirewallLogConfigMetadataOutput { return o.ApplyT(func(v *FirewallLogConfigMetadata) FirewallLogConfigMetadata { if v != nil { @@ -7653,6 +8458,12 @@ func (in *firewallLogConfigMetadataPtr) ToFirewallLogConfigMetadataPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(FirewallLogConfigMetadataPtrOutput) } +func (in *firewallLogConfigMetadataPtr) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfigMetadata] { + return pulumix.Output[*FirewallLogConfigMetadata]{ + OutputState: in.ToFirewallLogConfigMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // The direction in which this rule applies. type FirewallPolicyRuleDirection string @@ -7721,6 +8532,12 @@ func (o FirewallPolicyRuleDirectionOutput) ToFirewallPolicyRuleDirectionPtrOutpu }).(FirewallPolicyRuleDirectionPtrOutput) } +func (o FirewallPolicyRuleDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleDirection] { + return pulumix.Output[FirewallPolicyRuleDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7756,6 +8573,12 @@ func (o FirewallPolicyRuleDirectionPtrOutput) ToFirewallPolicyRuleDirectionPtrOu return o } +func (o FirewallPolicyRuleDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleDirection] { + return pulumix.Output[*FirewallPolicyRuleDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleDirectionPtrOutput) Elem() FirewallPolicyRuleDirectionOutput { return o.ApplyT(func(v *FirewallPolicyRuleDirection) FirewallPolicyRuleDirection { if v != nil { @@ -7818,6 +8641,12 @@ func (in *firewallPolicyRuleDirectionPtr) ToFirewallPolicyRuleDirectionPtrOutput return pulumi.ToOutputWithContext(ctx, in).(FirewallPolicyRuleDirectionPtrOutput) } +func (in *firewallPolicyRuleDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleDirection] { + return pulumix.Output[*FirewallPolicyRuleDirection]{ + OutputState: in.ToFirewallPolicyRuleDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends). type ForwardingRuleIpProtocol string @@ -7891,6 +8720,12 @@ func (o ForwardingRuleIpProtocolOutput) ToForwardingRuleIpProtocolPtrOutputWithC }).(ForwardingRuleIpProtocolPtrOutput) } +func (o ForwardingRuleIpProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleIpProtocol] { + return pulumix.Output[ForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7926,6 +8761,12 @@ func (o ForwardingRuleIpProtocolPtrOutput) ToForwardingRuleIpProtocolPtrOutputWi return o } +func (o ForwardingRuleIpProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpProtocol] { + return pulumix.Output[*ForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpProtocolPtrOutput) Elem() ForwardingRuleIpProtocolOutput { return o.ApplyT(func(v *ForwardingRuleIpProtocol) ForwardingRuleIpProtocol { if v != nil { @@ -7988,6 +8829,12 @@ func (in *forwardingRuleIpProtocolPtr) ToForwardingRuleIpProtocolPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleIpProtocolPtrOutput) } +func (in *forwardingRuleIpProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpProtocol] { + return pulumix.Output[*ForwardingRuleIpProtocol]{ + OutputState: in.ToForwardingRuleIpProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. type ForwardingRuleIpVersion string @@ -8057,6 +8904,12 @@ func (o ForwardingRuleIpVersionOutput) ToForwardingRuleIpVersionPtrOutputWithCon }).(ForwardingRuleIpVersionPtrOutput) } +func (o ForwardingRuleIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleIpVersion] { + return pulumix.Output[ForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8092,6 +8945,12 @@ func (o ForwardingRuleIpVersionPtrOutput) ToForwardingRuleIpVersionPtrOutputWith return o } +func (o ForwardingRuleIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpVersion] { + return pulumix.Output[*ForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpVersionPtrOutput) Elem() ForwardingRuleIpVersionOutput { return o.ApplyT(func(v *ForwardingRuleIpVersion) ForwardingRuleIpVersion { if v != nil { @@ -8154,6 +9013,12 @@ func (in *forwardingRuleIpVersionPtr) ToForwardingRuleIpVersionPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleIpVersionPtrOutput) } +func (in *forwardingRuleIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpVersion] { + return pulumix.Output[*ForwardingRuleIpVersion]{ + OutputState: in.ToForwardingRuleIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts. type ForwardingRuleLoadBalancingScheme string @@ -8226,6 +9091,12 @@ func (o ForwardingRuleLoadBalancingSchemeOutput) ToForwardingRuleLoadBalancingSc }).(ForwardingRuleLoadBalancingSchemePtrOutput) } +func (o ForwardingRuleLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleLoadBalancingScheme] { + return pulumix.Output[ForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8261,6 +9132,12 @@ func (o ForwardingRuleLoadBalancingSchemePtrOutput) ToForwardingRuleLoadBalancin return o } +func (o ForwardingRuleLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*ForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleLoadBalancingSchemePtrOutput) Elem() ForwardingRuleLoadBalancingSchemeOutput { return o.ApplyT(func(v *ForwardingRuleLoadBalancingScheme) ForwardingRuleLoadBalancingScheme { if v != nil { @@ -8323,6 +9200,12 @@ func (in *forwardingRuleLoadBalancingSchemePtr) ToForwardingRuleLoadBalancingSch return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleLoadBalancingSchemePtrOutput) } +func (in *forwardingRuleLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*ForwardingRuleLoadBalancingScheme]{ + OutputState: in.ToForwardingRuleLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. type ForwardingRuleNetworkTier string @@ -8397,6 +9280,12 @@ func (o ForwardingRuleNetworkTierOutput) ToForwardingRuleNetworkTierPtrOutputWit }).(ForwardingRuleNetworkTierPtrOutput) } +func (o ForwardingRuleNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleNetworkTier] { + return pulumix.Output[ForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8432,6 +9321,12 @@ func (o ForwardingRuleNetworkTierPtrOutput) ToForwardingRuleNetworkTierPtrOutput return o } +func (o ForwardingRuleNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleNetworkTier] { + return pulumix.Output[*ForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleNetworkTierPtrOutput) Elem() ForwardingRuleNetworkTierOutput { return o.ApplyT(func(v *ForwardingRuleNetworkTier) ForwardingRuleNetworkTier { if v != nil { @@ -8494,6 +9389,12 @@ func (in *forwardingRuleNetworkTierPtr) ToForwardingRuleNetworkTierPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleNetworkTierPtrOutput) } +func (in *forwardingRuleNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleNetworkTier] { + return pulumix.Output[*ForwardingRuleNetworkTier]{ + OutputState: in.ToForwardingRuleNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + type ForwardingRulePscConnectionStatus string const ( @@ -8570,6 +9471,12 @@ func (o ForwardingRulePscConnectionStatusOutput) ToForwardingRulePscConnectionSt }).(ForwardingRulePscConnectionStatusPtrOutput) } +func (o ForwardingRulePscConnectionStatusOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRulePscConnectionStatus] { + return pulumix.Output[ForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRulePscConnectionStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8605,6 +9512,12 @@ func (o ForwardingRulePscConnectionStatusPtrOutput) ToForwardingRulePscConnectio return o } +func (o ForwardingRulePscConnectionStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRulePscConnectionStatus] { + return pulumix.Output[*ForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRulePscConnectionStatusPtrOutput) Elem() ForwardingRulePscConnectionStatusOutput { return o.ApplyT(func(v *ForwardingRulePscConnectionStatus) ForwardingRulePscConnectionStatus { if v != nil { @@ -8667,6 +9580,12 @@ func (in *forwardingRulePscConnectionStatusPtr) ToForwardingRulePscConnectionSta return pulumi.ToOutputWithContext(ctx, in).(ForwardingRulePscConnectionStatusPtrOutput) } +func (in *forwardingRulePscConnectionStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRulePscConnectionStatus] { + return pulumix.Output[*ForwardingRulePscConnectionStatus]{ + OutputState: in.ToForwardingRulePscConnectionStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type GRPCHealthCheckPortSpecification string @@ -8739,6 +9658,12 @@ func (o GRPCHealthCheckPortSpecificationOutput) ToGRPCHealthCheckPortSpecificati }).(GRPCHealthCheckPortSpecificationPtrOutput) } +func (o GRPCHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheckPortSpecification] { + return pulumix.Output[GRPCHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o GRPCHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8774,6 +9699,12 @@ func (o GRPCHealthCheckPortSpecificationPtrOutput) ToGRPCHealthCheckPortSpecific return o } +func (o GRPCHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheckPortSpecification] { + return pulumix.Output[*GRPCHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o GRPCHealthCheckPortSpecificationPtrOutput) Elem() GRPCHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *GRPCHealthCheckPortSpecification) GRPCHealthCheckPortSpecification { if v != nil { @@ -8836,6 +9767,12 @@ func (in *grpchealthCheckPortSpecificationPtr) ToGRPCHealthCheckPortSpecificatio return pulumi.ToOutputWithContext(ctx, in).(GRPCHealthCheckPortSpecificationPtrOutput) } +func (in *grpchealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheckPortSpecification] { + return pulumix.Output[*GRPCHealthCheckPortSpecification]{ + OutputState: in.ToGRPCHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. type GlobalAddressAddressType string @@ -8907,6 +9844,12 @@ func (o GlobalAddressAddressTypeOutput) ToGlobalAddressAddressTypePtrOutputWithC }).(GlobalAddressAddressTypePtrOutput) } +func (o GlobalAddressAddressTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressAddressType] { + return pulumix.Output[GlobalAddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressAddressTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8942,6 +9885,12 @@ func (o GlobalAddressAddressTypePtrOutput) ToGlobalAddressAddressTypePtrOutputWi return o } +func (o GlobalAddressAddressTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressAddressType] { + return pulumix.Output[*GlobalAddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressAddressTypePtrOutput) Elem() GlobalAddressAddressTypeOutput { return o.ApplyT(func(v *GlobalAddressAddressType) GlobalAddressAddressType { if v != nil { @@ -9004,6 +9953,12 @@ func (in *globalAddressAddressTypePtr) ToGlobalAddressAddressTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressAddressTypePtrOutput) } +func (in *globalAddressAddressTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressAddressType] { + return pulumix.Output[*GlobalAddressAddressType]{ + OutputState: in.ToGlobalAddressAddressTypePtrOutputWithContext(ctx).OutputState, + } +} + // The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. type GlobalAddressIpVersion string @@ -9073,6 +10028,12 @@ func (o GlobalAddressIpVersionOutput) ToGlobalAddressIpVersionPtrOutputWithConte }).(GlobalAddressIpVersionPtrOutput) } +func (o GlobalAddressIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressIpVersion] { + return pulumix.Output[GlobalAddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9108,6 +10069,12 @@ func (o GlobalAddressIpVersionPtrOutput) ToGlobalAddressIpVersionPtrOutputWithCo return o } +func (o GlobalAddressIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpVersion] { + return pulumix.Output[*GlobalAddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpVersionPtrOutput) Elem() GlobalAddressIpVersionOutput { return o.ApplyT(func(v *GlobalAddressIpVersion) GlobalAddressIpVersion { if v != nil { @@ -9170,6 +10137,12 @@ func (in *globalAddressIpVersionPtr) ToGlobalAddressIpVersionPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressIpVersionPtrOutput) } +func (in *globalAddressIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpVersion] { + return pulumix.Output[*GlobalAddressIpVersion]{ + OutputState: in.ToGlobalAddressIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. type GlobalAddressIpv6EndpointType string @@ -9240,6 +10213,12 @@ func (o GlobalAddressIpv6EndpointTypeOutput) ToGlobalAddressIpv6EndpointTypePtrO }).(GlobalAddressIpv6EndpointTypePtrOutput) } +func (o GlobalAddressIpv6EndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressIpv6EndpointType] { + return pulumix.Output[GlobalAddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpv6EndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9275,6 +10254,12 @@ func (o GlobalAddressIpv6EndpointTypePtrOutput) ToGlobalAddressIpv6EndpointTypeP return o } +func (o GlobalAddressIpv6EndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpv6EndpointType] { + return pulumix.Output[*GlobalAddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpv6EndpointTypePtrOutput) Elem() GlobalAddressIpv6EndpointTypeOutput { return o.ApplyT(func(v *GlobalAddressIpv6EndpointType) GlobalAddressIpv6EndpointType { if v != nil { @@ -9337,6 +10322,12 @@ func (in *globalAddressIpv6EndpointTypePtr) ToGlobalAddressIpv6EndpointTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressIpv6EndpointTypePtrOutput) } +func (in *globalAddressIpv6EndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpv6EndpointType] { + return pulumix.Output[*GlobalAddressIpv6EndpointType]{ + OutputState: in.ToGlobalAddressIpv6EndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. type GlobalAddressNetworkTier string @@ -9411,6 +10402,12 @@ func (o GlobalAddressNetworkTierOutput) ToGlobalAddressNetworkTierPtrOutputWithC }).(GlobalAddressNetworkTierPtrOutput) } +func (o GlobalAddressNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressNetworkTier] { + return pulumix.Output[GlobalAddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9446,6 +10443,12 @@ func (o GlobalAddressNetworkTierPtrOutput) ToGlobalAddressNetworkTierPtrOutputWi return o } +func (o GlobalAddressNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressNetworkTier] { + return pulumix.Output[*GlobalAddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressNetworkTierPtrOutput) Elem() GlobalAddressNetworkTierOutput { return o.ApplyT(func(v *GlobalAddressNetworkTier) GlobalAddressNetworkTier { if v != nil { @@ -9508,6 +10511,12 @@ func (in *globalAddressNetworkTierPtr) ToGlobalAddressNetworkTierPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressNetworkTierPtrOutput) } +func (in *globalAddressNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressNetworkTier] { + return pulumix.Output[*GlobalAddressNetworkTier]{ + OutputState: in.ToGlobalAddressNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + // The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. type GlobalAddressPurpose string @@ -9590,6 +10599,12 @@ func (o GlobalAddressPurposeOutput) ToGlobalAddressPurposePtrOutputWithContext(c }).(GlobalAddressPurposePtrOutput) } +func (o GlobalAddressPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressPurpose] { + return pulumix.Output[GlobalAddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9625,6 +10640,12 @@ func (o GlobalAddressPurposePtrOutput) ToGlobalAddressPurposePtrOutputWithContex return o } +func (o GlobalAddressPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressPurpose] { + return pulumix.Output[*GlobalAddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressPurposePtrOutput) Elem() GlobalAddressPurposeOutput { return o.ApplyT(func(v *GlobalAddressPurpose) GlobalAddressPurpose { if v != nil { @@ -9687,6 +10708,12 @@ func (in *globalAddressPurposePtr) ToGlobalAddressPurposePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressPurposePtrOutput) } +func (in *globalAddressPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressPurpose] { + return pulumix.Output[*GlobalAddressPurpose]{ + OutputState: in.ToGlobalAddressPurposePtrOutputWithContext(ctx).OutputState, + } +} + // The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends). type GlobalForwardingRuleIpProtocol string @@ -9760,6 +10787,12 @@ func (o GlobalForwardingRuleIpProtocolOutput) ToGlobalForwardingRuleIpProtocolPt }).(GlobalForwardingRuleIpProtocolPtrOutput) } +func (o GlobalForwardingRuleIpProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleIpProtocol] { + return pulumix.Output[GlobalForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9795,6 +10828,12 @@ func (o GlobalForwardingRuleIpProtocolPtrOutput) ToGlobalForwardingRuleIpProtoco return o } +func (o GlobalForwardingRuleIpProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpProtocol] { + return pulumix.Output[*GlobalForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpProtocolPtrOutput) Elem() GlobalForwardingRuleIpProtocolOutput { return o.ApplyT(func(v *GlobalForwardingRuleIpProtocol) GlobalForwardingRuleIpProtocol { if v != nil { @@ -9857,6 +10896,12 @@ func (in *globalForwardingRuleIpProtocolPtr) ToGlobalForwardingRuleIpProtocolPtr return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleIpProtocolPtrOutput) } +func (in *globalForwardingRuleIpProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpProtocol] { + return pulumix.Output[*GlobalForwardingRuleIpProtocol]{ + OutputState: in.ToGlobalForwardingRuleIpProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. type GlobalForwardingRuleIpVersion string @@ -9926,6 +10971,12 @@ func (o GlobalForwardingRuleIpVersionOutput) ToGlobalForwardingRuleIpVersionPtrO }).(GlobalForwardingRuleIpVersionPtrOutput) } +func (o GlobalForwardingRuleIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleIpVersion] { + return pulumix.Output[GlobalForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9961,6 +11012,12 @@ func (o GlobalForwardingRuleIpVersionPtrOutput) ToGlobalForwardingRuleIpVersionP return o } +func (o GlobalForwardingRuleIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpVersion] { + return pulumix.Output[*GlobalForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpVersionPtrOutput) Elem() GlobalForwardingRuleIpVersionOutput { return o.ApplyT(func(v *GlobalForwardingRuleIpVersion) GlobalForwardingRuleIpVersion { if v != nil { @@ -10023,6 +11080,12 @@ func (in *globalForwardingRuleIpVersionPtr) ToGlobalForwardingRuleIpVersionPtrOu return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleIpVersionPtrOutput) } +func (in *globalForwardingRuleIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpVersion] { + return pulumix.Output[*GlobalForwardingRuleIpVersion]{ + OutputState: in.ToGlobalForwardingRuleIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts. type GlobalForwardingRuleLoadBalancingScheme string @@ -10095,6 +11158,12 @@ func (o GlobalForwardingRuleLoadBalancingSchemeOutput) ToGlobalForwardingRuleLoa }).(GlobalForwardingRuleLoadBalancingSchemePtrOutput) } +func (o GlobalForwardingRuleLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleLoadBalancingScheme] { + return pulumix.Output[GlobalForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10130,6 +11199,12 @@ func (o GlobalForwardingRuleLoadBalancingSchemePtrOutput) ToGlobalForwardingRule return o } +func (o GlobalForwardingRuleLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleLoadBalancingSchemePtrOutput) Elem() GlobalForwardingRuleLoadBalancingSchemeOutput { return o.ApplyT(func(v *GlobalForwardingRuleLoadBalancingScheme) GlobalForwardingRuleLoadBalancingScheme { if v != nil { @@ -10192,6 +11267,12 @@ func (in *globalForwardingRuleLoadBalancingSchemePtr) ToGlobalForwardingRuleLoad return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleLoadBalancingSchemePtrOutput) } +func (in *globalForwardingRuleLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme]{ + OutputState: in.ToGlobalForwardingRuleLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. type GlobalForwardingRuleNetworkTier string @@ -10266,6 +11347,12 @@ func (o GlobalForwardingRuleNetworkTierOutput) ToGlobalForwardingRuleNetworkTier }).(GlobalForwardingRuleNetworkTierPtrOutput) } +func (o GlobalForwardingRuleNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleNetworkTier] { + return pulumix.Output[GlobalForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10301,6 +11388,12 @@ func (o GlobalForwardingRuleNetworkTierPtrOutput) ToGlobalForwardingRuleNetworkT return o } +func (o GlobalForwardingRuleNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleNetworkTier] { + return pulumix.Output[*GlobalForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleNetworkTierPtrOutput) Elem() GlobalForwardingRuleNetworkTierOutput { return o.ApplyT(func(v *GlobalForwardingRuleNetworkTier) GlobalForwardingRuleNetworkTier { if v != nil { @@ -10363,6 +11456,12 @@ func (in *globalForwardingRuleNetworkTierPtr) ToGlobalForwardingRuleNetworkTierP return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleNetworkTierPtrOutput) } +func (in *globalForwardingRuleNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleNetworkTier] { + return pulumix.Output[*GlobalForwardingRuleNetworkTier]{ + OutputState: in.ToGlobalForwardingRuleNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + type GlobalForwardingRulePscConnectionStatus string const ( @@ -10439,6 +11538,12 @@ func (o GlobalForwardingRulePscConnectionStatusOutput) ToGlobalForwardingRulePsc }).(GlobalForwardingRulePscConnectionStatusPtrOutput) } +func (o GlobalForwardingRulePscConnectionStatusOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRulePscConnectionStatus] { + return pulumix.Output[GlobalForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRulePscConnectionStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10474,6 +11579,12 @@ func (o GlobalForwardingRulePscConnectionStatusPtrOutput) ToGlobalForwardingRule return o } +func (o GlobalForwardingRulePscConnectionStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRulePscConnectionStatus] { + return pulumix.Output[*GlobalForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRulePscConnectionStatusPtrOutput) Elem() GlobalForwardingRulePscConnectionStatusOutput { return o.ApplyT(func(v *GlobalForwardingRulePscConnectionStatus) GlobalForwardingRulePscConnectionStatus { if v != nil { @@ -10536,6 +11647,12 @@ func (in *globalForwardingRulePscConnectionStatusPtr) ToGlobalForwardingRulePscC return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRulePscConnectionStatusPtrOutput) } +func (in *globalForwardingRulePscConnectionStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRulePscConnectionStatus] { + return pulumix.Output[*GlobalForwardingRulePscConnectionStatus]{ + OutputState: in.ToGlobalForwardingRulePscConnectionStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. type GlobalNetworkEndpointGroupNetworkEndpointType string @@ -10616,6 +11733,12 @@ func (o GlobalNetworkEndpointGroupNetworkEndpointTypeOutput) ToGlobalNetworkEndp }).(GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (o GlobalNetworkEndpointGroupNetworkEndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[GlobalNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalNetworkEndpointGroupNetworkEndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10651,6 +11774,12 @@ func (o GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToGlobalNetworkE return o } +func (o GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) Elem() GlobalNetworkEndpointGroupNetworkEndpointTypeOutput { return o.ApplyT(func(v *GlobalNetworkEndpointGroupNetworkEndpointType) GlobalNetworkEndpointGroupNetworkEndpointType { if v != nil { @@ -10713,6 +11842,12 @@ func (in *globalNetworkEndpointGroupNetworkEndpointTypePtr) ToGlobalNetworkEndpo return pulumi.ToOutputWithContext(ctx, in).(GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (in *globalNetworkEndpointGroupNetworkEndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType]{ + OutputState: in.ToGlobalNetworkEndpointGroupNetworkEndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features. type GuestOsFeatureType string @@ -10789,6 +11924,12 @@ func (o GuestOsFeatureTypeOutput) ToGuestOsFeatureTypePtrOutputWithContext(ctx c }).(GuestOsFeatureTypePtrOutput) } +func (o GuestOsFeatureTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeatureType] { + return pulumix.Output[GuestOsFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10824,6 +11965,12 @@ func (o GuestOsFeatureTypePtrOutput) ToGuestOsFeatureTypePtrOutputWithContext(ct return o } +func (o GuestOsFeatureTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GuestOsFeatureType] { + return pulumix.Output[*GuestOsFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureTypePtrOutput) Elem() GuestOsFeatureTypeOutput { return o.ApplyT(func(v *GuestOsFeatureType) GuestOsFeatureType { if v != nil { @@ -10886,6 +12033,12 @@ func (in *guestOsFeatureTypePtr) ToGuestOsFeatureTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(GuestOsFeatureTypePtrOutput) } +func (in *guestOsFeatureTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GuestOsFeatureType] { + return pulumix.Output[*GuestOsFeatureType]{ + OutputState: in.ToGuestOsFeatureTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type HTTP2HealthCheckPortSpecification string @@ -10958,6 +12111,12 @@ func (o HTTP2HealthCheckPortSpecificationOutput) ToHTTP2HealthCheckPortSpecifica }).(HTTP2HealthCheckPortSpecificationPtrOutput) } +func (o HTTP2HealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheckPortSpecification] { + return pulumix.Output[HTTP2HealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10993,6 +12152,12 @@ func (o HTTP2HealthCheckPortSpecificationPtrOutput) ToHTTP2HealthCheckPortSpecif return o } +func (o HTTP2HealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckPortSpecification] { + return pulumix.Output[*HTTP2HealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckPortSpecificationPtrOutput) Elem() HTTP2HealthCheckPortSpecificationOutput { return o.ApplyT(func(v *HTTP2HealthCheckPortSpecification) HTTP2HealthCheckPortSpecification { if v != nil { @@ -11055,6 +12220,12 @@ func (in *http2healthCheckPortSpecificationPtr) ToHTTP2HealthCheckPortSpecificat return pulumi.ToOutputWithContext(ctx, in).(HTTP2HealthCheckPortSpecificationPtrOutput) } +func (in *http2healthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckPortSpecification] { + return pulumix.Output[*HTTP2HealthCheckPortSpecification]{ + OutputState: in.ToHTTP2HealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type HTTP2HealthCheckProxyHeader string @@ -11123,6 +12294,12 @@ func (o HTTP2HealthCheckProxyHeaderOutput) ToHTTP2HealthCheckProxyHeaderPtrOutpu }).(HTTP2HealthCheckProxyHeaderPtrOutput) } +func (o HTTP2HealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheckProxyHeader] { + return pulumix.Output[HTTP2HealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11158,6 +12335,12 @@ func (o HTTP2HealthCheckProxyHeaderPtrOutput) ToHTTP2HealthCheckProxyHeaderPtrOu return o } +func (o HTTP2HealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckProxyHeader] { + return pulumix.Output[*HTTP2HealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckProxyHeaderPtrOutput) Elem() HTTP2HealthCheckProxyHeaderOutput { return o.ApplyT(func(v *HTTP2HealthCheckProxyHeader) HTTP2HealthCheckProxyHeader { if v != nil { @@ -11220,6 +12403,12 @@ func (in *http2healthCheckProxyHeaderPtr) ToHTTP2HealthCheckProxyHeaderPtrOutput return pulumi.ToOutputWithContext(ctx, in).(HTTP2HealthCheckProxyHeaderPtrOutput) } +func (in *http2healthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckProxyHeader] { + return pulumix.Output[*HTTP2HealthCheckProxyHeader]{ + OutputState: in.ToHTTP2HealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type HTTPHealthCheckPortSpecification string @@ -11292,6 +12481,12 @@ func (o HTTPHealthCheckPortSpecificationOutput) ToHTTPHealthCheckPortSpecificati }).(HTTPHealthCheckPortSpecificationPtrOutput) } +func (o HTTPHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckPortSpecification] { + return pulumix.Output[HTTPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11327,6 +12522,12 @@ func (o HTTPHealthCheckPortSpecificationPtrOutput) ToHTTPHealthCheckPortSpecific return o } +func (o HTTPHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckPortSpecification] { + return pulumix.Output[*HTTPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckPortSpecificationPtrOutput) Elem() HTTPHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *HTTPHealthCheckPortSpecification) HTTPHealthCheckPortSpecification { if v != nil { @@ -11389,6 +12590,12 @@ func (in *httphealthCheckPortSpecificationPtr) ToHTTPHealthCheckPortSpecificatio return pulumi.ToOutputWithContext(ctx, in).(HTTPHealthCheckPortSpecificationPtrOutput) } +func (in *httphealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckPortSpecification] { + return pulumix.Output[*HTTPHealthCheckPortSpecification]{ + OutputState: in.ToHTTPHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type HTTPHealthCheckProxyHeader string @@ -11457,6 +12664,12 @@ func (o HTTPHealthCheckProxyHeaderOutput) ToHTTPHealthCheckProxyHeaderPtrOutputW }).(HTTPHealthCheckProxyHeaderPtrOutput) } +func (o HTTPHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckProxyHeader] { + return pulumix.Output[HTTPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11492,6 +12705,12 @@ func (o HTTPHealthCheckProxyHeaderPtrOutput) ToHTTPHealthCheckProxyHeaderPtrOutp return o } +func (o HTTPHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckProxyHeader] { + return pulumix.Output[*HTTPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckProxyHeaderPtrOutput) Elem() HTTPHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *HTTPHealthCheckProxyHeader) HTTPHealthCheckProxyHeader { if v != nil { @@ -11554,6 +12773,12 @@ func (in *httphealthCheckProxyHeaderPtr) ToHTTPHealthCheckProxyHeaderPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(HTTPHealthCheckProxyHeaderPtrOutput) } +func (in *httphealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckProxyHeader] { + return pulumix.Output[*HTTPHealthCheckProxyHeader]{ + OutputState: in.ToHTTPHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type HTTPSHealthCheckPortSpecification string @@ -11626,6 +12851,12 @@ func (o HTTPSHealthCheckPortSpecificationOutput) ToHTTPSHealthCheckPortSpecifica }).(HTTPSHealthCheckPortSpecificationPtrOutput) } +func (o HTTPSHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckPortSpecification] { + return pulumix.Output[HTTPSHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11661,6 +12892,12 @@ func (o HTTPSHealthCheckPortSpecificationPtrOutput) ToHTTPSHealthCheckPortSpecif return o } +func (o HTTPSHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckPortSpecification] { + return pulumix.Output[*HTTPSHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckPortSpecificationPtrOutput) Elem() HTTPSHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *HTTPSHealthCheckPortSpecification) HTTPSHealthCheckPortSpecification { if v != nil { @@ -11723,6 +12960,12 @@ func (in *httpshealthCheckPortSpecificationPtr) ToHTTPSHealthCheckPortSpecificat return pulumi.ToOutputWithContext(ctx, in).(HTTPSHealthCheckPortSpecificationPtrOutput) } +func (in *httpshealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckPortSpecification] { + return pulumix.Output[*HTTPSHealthCheckPortSpecification]{ + OutputState: in.ToHTTPSHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type HTTPSHealthCheckProxyHeader string @@ -11791,6 +13034,12 @@ func (o HTTPSHealthCheckProxyHeaderOutput) ToHTTPSHealthCheckProxyHeaderPtrOutpu }).(HTTPSHealthCheckProxyHeaderPtrOutput) } +func (o HTTPSHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckProxyHeader] { + return pulumix.Output[HTTPSHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11826,6 +13075,12 @@ func (o HTTPSHealthCheckProxyHeaderPtrOutput) ToHTTPSHealthCheckProxyHeaderPtrOu return o } +func (o HTTPSHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckProxyHeader] { + return pulumix.Output[*HTTPSHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckProxyHeaderPtrOutput) Elem() HTTPSHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *HTTPSHealthCheckProxyHeader) HTTPSHealthCheckProxyHeader { if v != nil { @@ -11888,6 +13143,12 @@ func (in *httpshealthCheckProxyHeaderPtr) ToHTTPSHealthCheckProxyHeaderPtrOutput return pulumi.ToOutputWithContext(ctx, in).(HTTPSHealthCheckProxyHeaderPtrOutput) } +func (in *httpshealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckProxyHeader] { + return pulumix.Output[*HTTPSHealthCheckProxyHeader]{ + OutputState: in.ToHTTPSHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. type HealthCheckType string @@ -11961,6 +13222,12 @@ func (o HealthCheckTypeOutput) ToHealthCheckTypePtrOutputWithContext(ctx context }).(HealthCheckTypePtrOutput) } +func (o HealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckType] { + return pulumix.Output[HealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11996,6 +13263,12 @@ func (o HealthCheckTypePtrOutput) ToHealthCheckTypePtrOutputWithContext(ctx cont return o } +func (o HealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckType] { + return pulumix.Output[*HealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckTypePtrOutput) Elem() HealthCheckTypeOutput { return o.ApplyT(func(v *HealthCheckType) HealthCheckType { if v != nil { @@ -12058,6 +13331,12 @@ func (in *healthCheckTypePtr) ToHealthCheckTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(HealthCheckTypePtrOutput) } +func (in *healthCheckTypePtr) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckType] { + return pulumix.Output[*HealthCheckType]{ + OutputState: in.ToHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained. type HttpRedirectActionRedirectResponseCode string @@ -12134,6 +13413,12 @@ func (o HttpRedirectActionRedirectResponseCodeOutput) ToHttpRedirectActionRedire }).(HttpRedirectActionRedirectResponseCodePtrOutput) } +func (o HttpRedirectActionRedirectResponseCodeOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectActionRedirectResponseCode] { + return pulumix.Output[HttpRedirectActionRedirectResponseCode]{ + OutputState: o.OutputState, + } +} + func (o HttpRedirectActionRedirectResponseCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12169,6 +13454,12 @@ func (o HttpRedirectActionRedirectResponseCodePtrOutput) ToHttpRedirectActionRed return o } +func (o HttpRedirectActionRedirectResponseCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectActionRedirectResponseCode] { + return pulumix.Output[*HttpRedirectActionRedirectResponseCode]{ + OutputState: o.OutputState, + } +} + func (o HttpRedirectActionRedirectResponseCodePtrOutput) Elem() HttpRedirectActionRedirectResponseCodeOutput { return o.ApplyT(func(v *HttpRedirectActionRedirectResponseCode) HttpRedirectActionRedirectResponseCode { if v != nil { @@ -12231,6 +13522,12 @@ func (in *httpRedirectActionRedirectResponseCodePtr) ToHttpRedirectActionRedirec return pulumi.ToOutputWithContext(ctx, in).(HttpRedirectActionRedirectResponseCodePtrOutput) } +func (in *httpRedirectActionRedirectResponseCodePtr) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectActionRedirectResponseCode] { + return pulumix.Output[*HttpRedirectActionRedirectResponseCode]{ + OutputState: in.ToHttpRedirectActionRedirectResponseCodePtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the image. Valid values are ARM64 or X86_64. type ImageArchitecture string @@ -12303,6 +13600,12 @@ func (o ImageArchitectureOutput) ToImageArchitecturePtrOutputWithContext(ctx con }).(ImageArchitecturePtrOutput) } +func (o ImageArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[ImageArchitecture] { + return pulumix.Output[ImageArchitecture]{ + OutputState: o.OutputState, + } +} + func (o ImageArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12338,6 +13641,12 @@ func (o ImageArchitecturePtrOutput) ToImageArchitecturePtrOutputWithContext(ctx return o } +func (o ImageArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageArchitecture] { + return pulumix.Output[*ImageArchitecture]{ + OutputState: o.OutputState, + } +} + func (o ImageArchitecturePtrOutput) Elem() ImageArchitectureOutput { return o.ApplyT(func(v *ImageArchitecture) ImageArchitecture { if v != nil { @@ -12400,6 +13709,12 @@ func (in *imageArchitecturePtr) ToImageArchitecturePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(ImageArchitecturePtrOutput) } +func (in *imageArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageArchitecture] { + return pulumix.Output[*ImageArchitecture]{ + OutputState: in.ToImageArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. type ImageRawDiskContainerType string @@ -12467,6 +13782,12 @@ func (o ImageRawDiskContainerTypeOutput) ToImageRawDiskContainerTypePtrOutputWit }).(ImageRawDiskContainerTypePtrOutput) } +func (o ImageRawDiskContainerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ImageRawDiskContainerType] { + return pulumix.Output[ImageRawDiskContainerType]{ + OutputState: o.OutputState, + } +} + func (o ImageRawDiskContainerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12502,6 +13823,12 @@ func (o ImageRawDiskContainerTypePtrOutput) ToImageRawDiskContainerTypePtrOutput return o } +func (o ImageRawDiskContainerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDiskContainerType] { + return pulumix.Output[*ImageRawDiskContainerType]{ + OutputState: o.OutputState, + } +} + func (o ImageRawDiskContainerTypePtrOutput) Elem() ImageRawDiskContainerTypeOutput { return o.ApplyT(func(v *ImageRawDiskContainerType) ImageRawDiskContainerType { if v != nil { @@ -12564,6 +13891,12 @@ func (in *imageRawDiskContainerTypePtr) ToImageRawDiskContainerTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ImageRawDiskContainerTypePtrOutput) } +func (in *imageRawDiskContainerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDiskContainerType] { + return pulumix.Output[*ImageRawDiskContainerType]{ + OutputState: in.ToImageRawDiskContainerTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the image used to create this disk. The default and only valid value is RAW. type ImageSourceType string @@ -12631,6 +13964,12 @@ func (o ImageSourceTypeOutput) ToImageSourceTypePtrOutputWithContext(ctx context }).(ImageSourceTypePtrOutput) } +func (o ImageSourceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ImageSourceType] { + return pulumix.Output[ImageSourceType]{ + OutputState: o.OutputState, + } +} + func (o ImageSourceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12666,6 +14005,12 @@ func (o ImageSourceTypePtrOutput) ToImageSourceTypePtrOutputWithContext(ctx cont return o } +func (o ImageSourceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageSourceType] { + return pulumix.Output[*ImageSourceType]{ + OutputState: o.OutputState, + } +} + func (o ImageSourceTypePtrOutput) Elem() ImageSourceTypeOutput { return o.ApplyT(func(v *ImageSourceType) ImageSourceType { if v != nil { @@ -12728,6 +14073,12 @@ func (in *imageSourceTypePtr) ToImageSourceTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(ImageSourceTypePtrOutput) } +func (in *imageSourceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageSourceType] { + return pulumix.Output[*ImageSourceType]{ + OutputState: in.ToImageSourceTypePtrOutputWithContext(ctx).OutputState, + } +} + // The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER. type InstanceGroupManagerFailoverAction string @@ -12796,6 +14147,12 @@ func (o InstanceGroupManagerFailoverActionOutput) ToInstanceGroupManagerFailover }).(InstanceGroupManagerFailoverActionPtrOutput) } +func (o InstanceGroupManagerFailoverActionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerFailoverAction] { + return pulumix.Output[InstanceGroupManagerFailoverAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerFailoverActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12831,6 +14188,12 @@ func (o InstanceGroupManagerFailoverActionPtrOutput) ToInstanceGroupManagerFailo return o } +func (o InstanceGroupManagerFailoverActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerFailoverAction] { + return pulumix.Output[*InstanceGroupManagerFailoverAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerFailoverActionPtrOutput) Elem() InstanceGroupManagerFailoverActionOutput { return o.ApplyT(func(v *InstanceGroupManagerFailoverAction) InstanceGroupManagerFailoverAction { if v != nil { @@ -12893,6 +14256,12 @@ func (in *instanceGroupManagerFailoverActionPtr) ToInstanceGroupManagerFailoverA return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerFailoverActionPtrOutput) } +func (in *instanceGroupManagerFailoverActionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerFailoverAction] { + return pulumix.Output[*InstanceGroupManagerFailoverAction]{ + OutputState: in.ToInstanceGroupManagerFailoverActionPtrOutputWithContext(ctx).OutputState, + } +} + // A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. type InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair string @@ -12961,6 +14330,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairOutput) To }).(InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput) } +func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12996,6 +14371,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput) return o } +func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput) Elem() InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairOutput { return o.ApplyT(func(v *InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair) InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair { if v != nil { @@ -13058,6 +14439,12 @@ func (in *instanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtr) ToI return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput) } +func (in *instanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair]{ + OutputState: in.ToInstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutputWithContext(ctx).OutputState, + } +} + // Pagination behavior of the listManagedInstances API method for this managed instance group. type InstanceGroupManagerListManagedInstancesResults string @@ -13128,6 +14515,12 @@ func (o InstanceGroupManagerListManagedInstancesResultsOutput) ToInstanceGroupMa }).(InstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (o InstanceGroupManagerListManagedInstancesResultsOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[InstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerListManagedInstancesResultsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13163,6 +14556,12 @@ func (o InstanceGroupManagerListManagedInstancesResultsPtrOutput) ToInstanceGrou return o } +func (o InstanceGroupManagerListManagedInstancesResultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*InstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerListManagedInstancesResultsPtrOutput) Elem() InstanceGroupManagerListManagedInstancesResultsOutput { return o.ApplyT(func(v *InstanceGroupManagerListManagedInstancesResults) InstanceGroupManagerListManagedInstancesResults { if v != nil { @@ -13225,6 +14624,12 @@ func (in *instanceGroupManagerListManagedInstancesResultsPtr) ToInstanceGroupMan return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (in *instanceGroupManagerListManagedInstancesResultsPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*InstanceGroupManagerListManagedInstancesResults]{ + OutputState: in.ToInstanceGroupManagerListManagedInstancesResultsPtrOutputWithContext(ctx).OutputState, + } +} + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. type InstanceGroupManagerUpdatePolicyInstanceRedistributionType string @@ -13295,6 +14700,12 @@ func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput) ToInst }).(InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) } +func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyInstanceRedistributionType] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyInstanceRedistributionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13330,6 +14741,12 @@ func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) ToI return o } +func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) Elem() InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyInstanceRedistributionType) InstanceGroupManagerUpdatePolicyInstanceRedistributionType { if v != nil { @@ -13392,6 +14809,12 @@ func (in *instanceGroupManagerUpdatePolicyInstanceRedistributionTypePtr) ToInsta return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) } +func (in *instanceGroupManagerUpdatePolicyInstanceRedistributionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutputWithContext(ctx).OutputState, + } +} + // Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. type InstanceGroupManagerUpdatePolicyMinimalAction string @@ -13466,6 +14889,12 @@ func (o InstanceGroupManagerUpdatePolicyMinimalActionOutput) ToInstanceGroupMana }).(InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyMinimalActionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyMinimalAction] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyMinimalAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMinimalActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13501,6 +14930,12 @@ func (o InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) ToInstanceGroupM return o } +func (o InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) Elem() InstanceGroupManagerUpdatePolicyMinimalActionOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyMinimalAction) InstanceGroupManagerUpdatePolicyMinimalAction { if v != nil { @@ -13563,6 +14998,12 @@ func (in *instanceGroupManagerUpdatePolicyMinimalActionPtr) ToInstanceGroupManag return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) } +func (in *instanceGroupManagerUpdatePolicyMinimalActionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyMinimalActionPtrOutputWithContext(ctx).OutputState, + } +} + // Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. type InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction string @@ -13637,6 +15078,12 @@ func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput) ToIns }).(InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13672,6 +15119,12 @@ func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) To return o } +func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) Elem() InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction) InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction { if v != nil { @@ -13734,6 +15187,12 @@ func (in *instanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtr) ToInst return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) } +func (in *instanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutputWithContext(ctx).OutputState, + } +} + // What action should be used to replace instances. See minimal_action.REPLACE type InstanceGroupManagerUpdatePolicyReplacementMethod string @@ -13804,6 +15263,12 @@ func (o InstanceGroupManagerUpdatePolicyReplacementMethodOutput) ToInstanceGroup }).(InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyReplacementMethodOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyReplacementMethod] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyReplacementMethod]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyReplacementMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13839,6 +15304,12 @@ func (o InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) ToInstanceGr return o } +func (o InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) Elem() InstanceGroupManagerUpdatePolicyReplacementMethodOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyReplacementMethod) InstanceGroupManagerUpdatePolicyReplacementMethod { if v != nil { @@ -13901,6 +15372,12 @@ func (in *instanceGroupManagerUpdatePolicyReplacementMethodPtr) ToInstanceGroupM return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) } +func (in *instanceGroupManagerUpdatePolicyReplacementMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyReplacementMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). type InstanceGroupManagerUpdatePolicyType string @@ -13971,6 +15448,12 @@ func (o InstanceGroupManagerUpdatePolicyTypeOutput) ToInstanceGroupManagerUpdate }).(InstanceGroupManagerUpdatePolicyTypePtrOutput) } +func (o InstanceGroupManagerUpdatePolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyType] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14006,6 +15489,12 @@ func (o InstanceGroupManagerUpdatePolicyTypePtrOutput) ToInstanceGroupManagerUpd return o } +func (o InstanceGroupManagerUpdatePolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyTypePtrOutput) Elem() InstanceGroupManagerUpdatePolicyTypeOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyType) InstanceGroupManagerUpdatePolicyType { if v != nil { @@ -14068,6 +15557,12 @@ func (in *instanceGroupManagerUpdatePolicyTypePtr) ToInstanceGroupManagerUpdateP return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyTypePtrOutput) } +func (in *instanceGroupManagerUpdatePolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyType]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. type InstanceKeyRevocationActionType string @@ -14140,6 +15635,12 @@ func (o InstanceKeyRevocationActionTypeOutput) ToInstanceKeyRevocationActionType }).(InstanceKeyRevocationActionTypePtrOutput) } +func (o InstanceKeyRevocationActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceKeyRevocationActionType] { + return pulumix.Output[InstanceKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceKeyRevocationActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14175,6 +15676,12 @@ func (o InstanceKeyRevocationActionTypePtrOutput) ToInstanceKeyRevocationActionT return o } +func (o InstanceKeyRevocationActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceKeyRevocationActionType] { + return pulumix.Output[*InstanceKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceKeyRevocationActionTypePtrOutput) Elem() InstanceKeyRevocationActionTypeOutput { return o.ApplyT(func(v *InstanceKeyRevocationActionType) InstanceKeyRevocationActionType { if v != nil { @@ -14237,6 +15744,12 @@ func (in *instanceKeyRevocationActionTypePtr) ToInstanceKeyRevocationActionTypeP return pulumi.ToOutputWithContext(ctx, in).(InstanceKeyRevocationActionTypePtrOutput) } +func (in *instanceKeyRevocationActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceKeyRevocationActionType] { + return pulumix.Output[*InstanceKeyRevocationActionType]{ + OutputState: in.ToInstanceKeyRevocationActionTypePtrOutputWithContext(ctx).OutputState, + } +} + // PostKeyRevocationActionType of the instance. type InstancePostKeyRevocationActionType string @@ -14309,6 +15822,12 @@ func (o InstancePostKeyRevocationActionTypeOutput) ToInstancePostKeyRevocationAc }).(InstancePostKeyRevocationActionTypePtrOutput) } +func (o InstancePostKeyRevocationActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePostKeyRevocationActionType] { + return pulumix.Output[InstancePostKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePostKeyRevocationActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14344,6 +15863,12 @@ func (o InstancePostKeyRevocationActionTypePtrOutput) ToInstancePostKeyRevocatio return o } +func (o InstancePostKeyRevocationActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePostKeyRevocationActionType] { + return pulumix.Output[*InstancePostKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePostKeyRevocationActionTypePtrOutput) Elem() InstancePostKeyRevocationActionTypeOutput { return o.ApplyT(func(v *InstancePostKeyRevocationActionType) InstancePostKeyRevocationActionType { if v != nil { @@ -14406,6 +15931,12 @@ func (in *instancePostKeyRevocationActionTypePtr) ToInstancePostKeyRevocationAct return pulumi.ToOutputWithContext(ctx, in).(InstancePostKeyRevocationActionTypePtrOutput) } +func (in *instancePostKeyRevocationActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePostKeyRevocationActionType] { + return pulumix.Output[*InstancePostKeyRevocationActionType]{ + OutputState: in.ToInstancePostKeyRevocationActionTypePtrOutputWithContext(ctx).OutputState, + } +} + // The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. type InstancePrivateIpv6GoogleAccess string @@ -14478,6 +16009,12 @@ func (o InstancePrivateIpv6GoogleAccessOutput) ToInstancePrivateIpv6GoogleAccess }).(InstancePrivateIpv6GoogleAccessPtrOutput) } +func (o InstancePrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePrivateIpv6GoogleAccess] { + return pulumix.Output[InstancePrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14513,6 +16050,12 @@ func (o InstancePrivateIpv6GoogleAccessPtrOutput) ToInstancePrivateIpv6GoogleAcc return o } +func (o InstancePrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePrivateIpv6GoogleAccessPtrOutput) Elem() InstancePrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *InstancePrivateIpv6GoogleAccess) InstancePrivateIpv6GoogleAccess { if v != nil { @@ -14575,6 +16118,12 @@ func (in *instancePrivateIpv6GoogleAccessPtr) ToInstancePrivateIpv6GoogleAccessP return pulumi.ToOutputWithContext(ctx, in).(InstancePrivateIpv6GoogleAccessPtrOutput) } +func (in *instancePrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePrivateIpv6GoogleAccess]{ + OutputState: in.ToInstancePrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. type InstancePropertiesKeyRevocationActionType string @@ -14647,6 +16196,12 @@ func (o InstancePropertiesKeyRevocationActionTypeOutput) ToInstancePropertiesKey }).(InstancePropertiesKeyRevocationActionTypePtrOutput) } +func (o InstancePropertiesKeyRevocationActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesKeyRevocationActionType] { + return pulumix.Output[InstancePropertiesKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesKeyRevocationActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14682,6 +16237,12 @@ func (o InstancePropertiesKeyRevocationActionTypePtrOutput) ToInstanceProperties return o } +func (o InstancePropertiesKeyRevocationActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesKeyRevocationActionType] { + return pulumix.Output[*InstancePropertiesKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesKeyRevocationActionTypePtrOutput) Elem() InstancePropertiesKeyRevocationActionTypeOutput { return o.ApplyT(func(v *InstancePropertiesKeyRevocationActionType) InstancePropertiesKeyRevocationActionType { if v != nil { @@ -14744,6 +16305,12 @@ func (in *instancePropertiesKeyRevocationActionTypePtr) ToInstancePropertiesKeyR return pulumi.ToOutputWithContext(ctx, in).(InstancePropertiesKeyRevocationActionTypePtrOutput) } +func (in *instancePropertiesKeyRevocationActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesKeyRevocationActionType] { + return pulumix.Output[*InstancePropertiesKeyRevocationActionType]{ + OutputState: in.ToInstancePropertiesKeyRevocationActionTypePtrOutputWithContext(ctx).OutputState, + } +} + // PostKeyRevocationActionType of the instance. type InstancePropertiesPostKeyRevocationActionType string @@ -14816,6 +16383,12 @@ func (o InstancePropertiesPostKeyRevocationActionTypeOutput) ToInstancePropertie }).(InstancePropertiesPostKeyRevocationActionTypePtrOutput) } +func (o InstancePropertiesPostKeyRevocationActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPostKeyRevocationActionType] { + return pulumix.Output[InstancePropertiesPostKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPostKeyRevocationActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14851,6 +16424,12 @@ func (o InstancePropertiesPostKeyRevocationActionTypePtrOutput) ToInstanceProper return o } +func (o InstancePropertiesPostKeyRevocationActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPostKeyRevocationActionType] { + return pulumix.Output[*InstancePropertiesPostKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPostKeyRevocationActionTypePtrOutput) Elem() InstancePropertiesPostKeyRevocationActionTypeOutput { return o.ApplyT(func(v *InstancePropertiesPostKeyRevocationActionType) InstancePropertiesPostKeyRevocationActionType { if v != nil { @@ -14913,6 +16492,12 @@ func (in *instancePropertiesPostKeyRevocationActionTypePtr) ToInstanceProperties return pulumi.ToOutputWithContext(ctx, in).(InstancePropertiesPostKeyRevocationActionTypePtrOutput) } +func (in *instancePropertiesPostKeyRevocationActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPostKeyRevocationActionType] { + return pulumix.Output[*InstancePropertiesPostKeyRevocationActionType]{ + OutputState: in.ToInstancePropertiesPostKeyRevocationActionTypePtrOutputWithContext(ctx).OutputState, + } +} + // The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. type InstancePropertiesPrivateIpv6GoogleAccess string @@ -14985,6 +16570,12 @@ func (o InstancePropertiesPrivateIpv6GoogleAccessOutput) ToInstancePropertiesPri }).(InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) } +func (o InstancePropertiesPrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPrivateIpv6GoogleAccess] { + return pulumix.Output[InstancePropertiesPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15020,6 +16611,12 @@ func (o InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) ToInstanceProperties return o } +func (o InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) Elem() InstancePropertiesPrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *InstancePropertiesPrivateIpv6GoogleAccess) InstancePropertiesPrivateIpv6GoogleAccess { if v != nil { @@ -15082,6 +16679,12 @@ func (in *instancePropertiesPrivateIpv6GoogleAccessPtr) ToInstancePropertiesPriv return pulumi.ToOutputWithContext(ctx, in).(InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) } +func (in *instancePropertiesPrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess]{ + OutputState: in.ToInstancePropertiesPrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s type InterconnectAttachmentBandwidth string @@ -15172,6 +16775,12 @@ func (o InterconnectAttachmentBandwidthOutput) ToInterconnectAttachmentBandwidth }).(InterconnectAttachmentBandwidthPtrOutput) } +func (o InterconnectAttachmentBandwidthOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentBandwidth] { + return pulumix.Output[InterconnectAttachmentBandwidth]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentBandwidthOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15207,6 +16816,12 @@ func (o InterconnectAttachmentBandwidthPtrOutput) ToInterconnectAttachmentBandwi return o } +func (o InterconnectAttachmentBandwidthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentBandwidth] { + return pulumix.Output[*InterconnectAttachmentBandwidth]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentBandwidthPtrOutput) Elem() InterconnectAttachmentBandwidthOutput { return o.ApplyT(func(v *InterconnectAttachmentBandwidth) InterconnectAttachmentBandwidth { if v != nil { @@ -15269,6 +16884,12 @@ func (in *interconnectAttachmentBandwidthPtr) ToInterconnectAttachmentBandwidthP return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentBandwidthPtrOutput) } +func (in *interconnectAttachmentBandwidthPtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentBandwidth] { + return pulumix.Output[*InterconnectAttachmentBandwidth]{ + OutputState: in.ToInterconnectAttachmentBandwidthPtrOutputWithContext(ctx).OutputState, + } +} + // Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. type InterconnectAttachmentEdgeAvailabilityDomain string @@ -15338,6 +16959,12 @@ func (o InterconnectAttachmentEdgeAvailabilityDomainOutput) ToInterconnectAttach }).(InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) } +func (o InterconnectAttachmentEdgeAvailabilityDomainOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentEdgeAvailabilityDomain] { + return pulumix.Output[InterconnectAttachmentEdgeAvailabilityDomain]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEdgeAvailabilityDomainOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15373,6 +17000,12 @@ func (o InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) ToInterconnectAtt return o } +func (o InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain] { + return pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) Elem() InterconnectAttachmentEdgeAvailabilityDomainOutput { return o.ApplyT(func(v *InterconnectAttachmentEdgeAvailabilityDomain) InterconnectAttachmentEdgeAvailabilityDomain { if v != nil { @@ -15435,6 +17068,12 @@ func (in *interconnectAttachmentEdgeAvailabilityDomainPtr) ToInterconnectAttachm return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) } +func (in *interconnectAttachmentEdgeAvailabilityDomainPtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain] { + return pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain]{ + OutputState: in.ToInterconnectAttachmentEdgeAvailabilityDomainPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option. type InterconnectAttachmentEncryption string @@ -15505,6 +17144,12 @@ func (o InterconnectAttachmentEncryptionOutput) ToInterconnectAttachmentEncrypti }).(InterconnectAttachmentEncryptionPtrOutput) } +func (o InterconnectAttachmentEncryptionOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentEncryption] { + return pulumix.Output[InterconnectAttachmentEncryption]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEncryptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15540,6 +17185,12 @@ func (o InterconnectAttachmentEncryptionPtrOutput) ToInterconnectAttachmentEncry return o } +func (o InterconnectAttachmentEncryptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEncryption] { + return pulumix.Output[*InterconnectAttachmentEncryption]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEncryptionPtrOutput) Elem() InterconnectAttachmentEncryptionOutput { return o.ApplyT(func(v *InterconnectAttachmentEncryption) InterconnectAttachmentEncryption { if v != nil { @@ -15602,6 +17253,12 @@ func (in *interconnectAttachmentEncryptionPtr) ToInterconnectAttachmentEncryptio return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentEncryptionPtrOutput) } +func (in *interconnectAttachmentEncryptionPtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEncryption] { + return pulumix.Output[*InterconnectAttachmentEncryption]{ + OutputState: in.ToInterconnectAttachmentEncryptionPtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations. type InterconnectAttachmentStackType string @@ -15672,6 +17329,12 @@ func (o InterconnectAttachmentStackTypeOutput) ToInterconnectAttachmentStackType }).(InterconnectAttachmentStackTypePtrOutput) } +func (o InterconnectAttachmentStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentStackType] { + return pulumix.Output[InterconnectAttachmentStackType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15707,6 +17370,12 @@ func (o InterconnectAttachmentStackTypePtrOutput) ToInterconnectAttachmentStackT return o } +func (o InterconnectAttachmentStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentStackType] { + return pulumix.Output[*InterconnectAttachmentStackType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentStackTypePtrOutput) Elem() InterconnectAttachmentStackTypeOutput { return o.ApplyT(func(v *InterconnectAttachmentStackType) InterconnectAttachmentStackType { if v != nil { @@ -15769,6 +17438,12 @@ func (in *interconnectAttachmentStackTypePtr) ToInterconnectAttachmentStackTypeP return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentStackTypePtrOutput) } +func (in *interconnectAttachmentStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentStackType] { + return pulumix.Output[*InterconnectAttachmentStackType]{ + OutputState: in.ToInterconnectAttachmentStackTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. type InterconnectAttachmentType string @@ -15841,6 +17516,12 @@ func (o InterconnectAttachmentTypeOutput) ToInterconnectAttachmentTypePtrOutputW }).(InterconnectAttachmentTypePtrOutput) } +func (o InterconnectAttachmentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentType] { + return pulumix.Output[InterconnectAttachmentType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15876,6 +17557,12 @@ func (o InterconnectAttachmentTypePtrOutput) ToInterconnectAttachmentTypePtrOutp return o } +func (o InterconnectAttachmentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentType] { + return pulumix.Output[*InterconnectAttachmentType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentTypePtrOutput) Elem() InterconnectAttachmentTypeOutput { return o.ApplyT(func(v *InterconnectAttachmentType) InterconnectAttachmentType { if v != nil { @@ -15938,6 +17625,12 @@ func (in *interconnectAttachmentTypePtr) ToInterconnectAttachmentTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentTypePtrOutput) } +func (in *interconnectAttachmentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentType] { + return pulumix.Output[*InterconnectAttachmentType]{ + OutputState: in.ToInterconnectAttachmentTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. type InterconnectInterconnectType string @@ -16010,6 +17703,12 @@ func (o InterconnectInterconnectTypeOutput) ToInterconnectInterconnectTypePtrOut }).(InterconnectInterconnectTypePtrOutput) } +func (o InterconnectInterconnectTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectInterconnectType] { + return pulumix.Output[InterconnectInterconnectType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectInterconnectTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16045,6 +17744,12 @@ func (o InterconnectInterconnectTypePtrOutput) ToInterconnectInterconnectTypePtr return o } +func (o InterconnectInterconnectTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectInterconnectType] { + return pulumix.Output[*InterconnectInterconnectType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectInterconnectTypePtrOutput) Elem() InterconnectInterconnectTypeOutput { return o.ApplyT(func(v *InterconnectInterconnectType) InterconnectInterconnectType { if v != nil { @@ -16107,6 +17812,12 @@ func (in *interconnectInterconnectTypePtr) ToInterconnectInterconnectTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(InterconnectInterconnectTypePtrOutput) } +func (in *interconnectInterconnectTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectInterconnectType] { + return pulumix.Output[*InterconnectInterconnectType]{ + OutputState: in.ToInterconnectInterconnectTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. type InterconnectLinkType string @@ -16177,6 +17888,12 @@ func (o InterconnectLinkTypeOutput) ToInterconnectLinkTypePtrOutputWithContext(c }).(InterconnectLinkTypePtrOutput) } +func (o InterconnectLinkTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectLinkType] { + return pulumix.Output[InterconnectLinkType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectLinkTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16212,6 +17929,12 @@ func (o InterconnectLinkTypePtrOutput) ToInterconnectLinkTypePtrOutputWithContex return o } +func (o InterconnectLinkTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectLinkType] { + return pulumix.Output[*InterconnectLinkType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectLinkTypePtrOutput) Elem() InterconnectLinkTypeOutput { return o.ApplyT(func(v *InterconnectLinkType) InterconnectLinkType { if v != nil { @@ -16274,6 +17997,12 @@ func (in *interconnectLinkTypePtr) ToInterconnectLinkTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InterconnectLinkTypePtrOutput) } +func (in *interconnectLinkTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectLinkType] { + return pulumix.Output[*InterconnectLinkType]{ + OutputState: in.ToInterconnectLinkTypePtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCloudAuditOptionsLogName string @@ -16346,6 +18075,12 @@ func (o LogConfigCloudAuditOptionsLogNameOutput) ToLogConfigCloudAuditOptionsLog }).(LogConfigCloudAuditOptionsLogNamePtrOutput) } +func (o LogConfigCloudAuditOptionsLogNameOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptionsLogName] { + return pulumix.Output[LogConfigCloudAuditOptionsLogName]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCloudAuditOptionsLogNameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16381,6 +18116,12 @@ func (o LogConfigCloudAuditOptionsLogNamePtrOutput) ToLogConfigCloudAuditOptions return o } +func (o LogConfigCloudAuditOptionsLogNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptionsLogName] { + return pulumix.Output[*LogConfigCloudAuditOptionsLogName]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCloudAuditOptionsLogNamePtrOutput) Elem() LogConfigCloudAuditOptionsLogNameOutput { return o.ApplyT(func(v *LogConfigCloudAuditOptionsLogName) LogConfigCloudAuditOptionsLogName { if v != nil { @@ -16443,6 +18184,12 @@ func (in *logConfigCloudAuditOptionsLogNamePtr) ToLogConfigCloudAuditOptionsLogN return pulumi.ToOutputWithContext(ctx, in).(LogConfigCloudAuditOptionsLogNamePtrOutput) } +func (in *logConfigCloudAuditOptionsLogNamePtr) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptionsLogName] { + return pulumix.Output[*LogConfigCloudAuditOptionsLogName]{ + OutputState: in.ToLogConfigCloudAuditOptionsLogNamePtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigDataAccessOptionsLogMode string @@ -16513,6 +18260,12 @@ func (o LogConfigDataAccessOptionsLogModeOutput) ToLogConfigDataAccessOptionsLog }).(LogConfigDataAccessOptionsLogModePtrOutput) } +func (o LogConfigDataAccessOptionsLogModeOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptionsLogMode] { + return pulumix.Output[LogConfigDataAccessOptionsLogMode]{ + OutputState: o.OutputState, + } +} + func (o LogConfigDataAccessOptionsLogModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16548,6 +18301,12 @@ func (o LogConfigDataAccessOptionsLogModePtrOutput) ToLogConfigDataAccessOptions return o } +func (o LogConfigDataAccessOptionsLogModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptionsLogMode] { + return pulumix.Output[*LogConfigDataAccessOptionsLogMode]{ + OutputState: o.OutputState, + } +} + func (o LogConfigDataAccessOptionsLogModePtrOutput) Elem() LogConfigDataAccessOptionsLogModeOutput { return o.ApplyT(func(v *LogConfigDataAccessOptionsLogMode) LogConfigDataAccessOptionsLogMode { if v != nil { @@ -16610,6 +18369,12 @@ func (in *logConfigDataAccessOptionsLogModePtr) ToLogConfigDataAccessOptionsLogM return pulumi.ToOutputWithContext(ctx, in).(LogConfigDataAccessOptionsLogModePtrOutput) } +func (in *logConfigDataAccessOptionsLogModePtr) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptionsLogMode] { + return pulumix.Output[*LogConfigDataAccessOptionsLogMode]{ + OutputState: in.ToLogConfigDataAccessOptionsLogModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. type MetadataFilterFilterMatchCriteria string @@ -16682,6 +18447,12 @@ func (o MetadataFilterFilterMatchCriteriaOutput) ToMetadataFilterFilterMatchCrit }).(MetadataFilterFilterMatchCriteriaPtrOutput) } +func (o MetadataFilterFilterMatchCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterFilterMatchCriteria] { + return pulumix.Output[MetadataFilterFilterMatchCriteria]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterFilterMatchCriteriaOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16717,6 +18488,12 @@ func (o MetadataFilterFilterMatchCriteriaPtrOutput) ToMetadataFilterFilterMatchC return o } +func (o MetadataFilterFilterMatchCriteriaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataFilterFilterMatchCriteria] { + return pulumix.Output[*MetadataFilterFilterMatchCriteria]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterFilterMatchCriteriaPtrOutput) Elem() MetadataFilterFilterMatchCriteriaOutput { return o.ApplyT(func(v *MetadataFilterFilterMatchCriteria) MetadataFilterFilterMatchCriteria { if v != nil { @@ -16779,6 +18556,12 @@ func (in *metadataFilterFilterMatchCriteriaPtr) ToMetadataFilterFilterMatchCrite return pulumi.ToOutputWithContext(ctx, in).(MetadataFilterFilterMatchCriteriaPtrOutput) } +func (in *metadataFilterFilterMatchCriteriaPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataFilterFilterMatchCriteria] { + return pulumix.Output[*MetadataFilterFilterMatchCriteria]{ + OutputState: in.ToMetadataFilterFilterMatchCriteriaPtrOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentConnectionPreference string const ( @@ -16847,6 +18630,12 @@ func (o NetworkAttachmentConnectionPreferenceOutput) ToNetworkAttachmentConnecti }).(NetworkAttachmentConnectionPreferencePtrOutput) } +func (o NetworkAttachmentConnectionPreferenceOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkAttachmentConnectionPreference] { + return pulumix.Output[NetworkAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o NetworkAttachmentConnectionPreferenceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16882,6 +18671,12 @@ func (o NetworkAttachmentConnectionPreferencePtrOutput) ToNetworkAttachmentConne return o } +func (o NetworkAttachmentConnectionPreferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentConnectionPreference] { + return pulumix.Output[*NetworkAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o NetworkAttachmentConnectionPreferencePtrOutput) Elem() NetworkAttachmentConnectionPreferenceOutput { return o.ApplyT(func(v *NetworkAttachmentConnectionPreference) NetworkAttachmentConnectionPreference { if v != nil { @@ -16944,6 +18739,12 @@ func (in *networkAttachmentConnectionPreferencePtr) ToNetworkAttachmentConnectio return pulumi.ToOutputWithContext(ctx, in).(NetworkAttachmentConnectionPreferencePtrOutput) } +func (in *networkAttachmentConnectionPreferencePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentConnectionPreference] { + return pulumix.Output[*NetworkAttachmentConnectionPreference]{ + OutputState: in.ToNetworkAttachmentConnectionPreferencePtrOutputWithContext(ctx).OutputState, + } +} + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. type NetworkEndpointGroupNetworkEndpointType string @@ -17024,6 +18825,12 @@ func (o NetworkEndpointGroupNetworkEndpointTypeOutput) ToNetworkEndpointGroupNet }).(NetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (o NetworkEndpointGroupNetworkEndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[NetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupNetworkEndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17059,6 +18866,12 @@ func (o NetworkEndpointGroupNetworkEndpointTypePtrOutput) ToNetworkEndpointGroup return o } +func (o NetworkEndpointGroupNetworkEndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*NetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupNetworkEndpointTypePtrOutput) Elem() NetworkEndpointGroupNetworkEndpointTypeOutput { return o.ApplyT(func(v *NetworkEndpointGroupNetworkEndpointType) NetworkEndpointGroupNetworkEndpointType { if v != nil { @@ -17121,6 +18934,12 @@ func (in *networkEndpointGroupNetworkEndpointTypePtr) ToNetworkEndpointGroupNetw return pulumi.ToOutputWithContext(ctx, in).(NetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (in *networkEndpointGroupNetworkEndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*NetworkEndpointGroupNetworkEndpointType]{ + OutputState: in.ToNetworkEndpointGroupNetworkEndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. type NetworkInterfaceNicType string @@ -17193,6 +19012,12 @@ func (o NetworkInterfaceNicTypeOutput) ToNetworkInterfaceNicTypePtrOutputWithCon }).(NetworkInterfaceNicTypePtrOutput) } +func (o NetworkInterfaceNicTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceNicType] { + return pulumix.Output[NetworkInterfaceNicType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceNicTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17228,6 +19053,12 @@ func (o NetworkInterfaceNicTypePtrOutput) ToNetworkInterfaceNicTypePtrOutputWith return o } +func (o NetworkInterfaceNicTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceNicType] { + return pulumix.Output[*NetworkInterfaceNicType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceNicTypePtrOutput) Elem() NetworkInterfaceNicTypeOutput { return o.ApplyT(func(v *NetworkInterfaceNicType) NetworkInterfaceNicType { if v != nil { @@ -17290,6 +19121,12 @@ func (in *networkInterfaceNicTypePtr) ToNetworkInterfaceNicTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(NetworkInterfaceNicTypePtrOutput) } +func (in *networkInterfaceNicTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceNicType] { + return pulumix.Output[*NetworkInterfaceNicType]{ + OutputState: in.ToNetworkInterfaceNicTypePtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations. type NetworkInterfaceStackType string @@ -17360,6 +19197,12 @@ func (o NetworkInterfaceStackTypeOutput) ToNetworkInterfaceStackTypePtrOutputWit }).(NetworkInterfaceStackTypePtrOutput) } +func (o NetworkInterfaceStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceStackType] { + return pulumix.Output[NetworkInterfaceStackType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17395,6 +19238,12 @@ func (o NetworkInterfaceStackTypePtrOutput) ToNetworkInterfaceStackTypePtrOutput return o } +func (o NetworkInterfaceStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceStackType] { + return pulumix.Output[*NetworkInterfaceStackType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceStackTypePtrOutput) Elem() NetworkInterfaceStackTypeOutput { return o.ApplyT(func(v *NetworkInterfaceStackType) NetworkInterfaceStackType { if v != nil { @@ -17457,6 +19306,12 @@ func (in *networkInterfaceStackTypePtr) ToNetworkInterfaceStackTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(NetworkInterfaceStackTypePtrOutput) } +func (in *networkInterfaceStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceStackType] { + return pulumix.Output[*NetworkInterfaceStackType]{ + OutputState: in.ToNetworkInterfaceStackTypePtrOutputWithContext(ctx).OutputState, + } +} + // The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. type NetworkNetworkFirewallPolicyEnforcementOrder string @@ -17525,6 +19380,12 @@ func (o NetworkNetworkFirewallPolicyEnforcementOrderOutput) ToNetworkNetworkFire }).(NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) } +func (o NetworkNetworkFirewallPolicyEnforcementOrderOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkNetworkFirewallPolicyEnforcementOrder] { + return pulumix.Output[NetworkNetworkFirewallPolicyEnforcementOrder]{ + OutputState: o.OutputState, + } +} + func (o NetworkNetworkFirewallPolicyEnforcementOrderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17560,6 +19421,12 @@ func (o NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) ToNetworkNetworkF return o } +func (o NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder] { + return pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder]{ + OutputState: o.OutputState, + } +} + func (o NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) Elem() NetworkNetworkFirewallPolicyEnforcementOrderOutput { return o.ApplyT(func(v *NetworkNetworkFirewallPolicyEnforcementOrder) NetworkNetworkFirewallPolicyEnforcementOrder { if v != nil { @@ -17622,6 +19489,12 @@ func (in *networkNetworkFirewallPolicyEnforcementOrderPtr) ToNetworkNetworkFirew return pulumi.ToOutputWithContext(ctx, in).(NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) } +func (in *networkNetworkFirewallPolicyEnforcementOrderPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder] { + return pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder]{ + OutputState: in.ToNetworkNetworkFirewallPolicyEnforcementOrderPtrOutputWithContext(ctx).OutputState, + } +} + type NetworkPerformanceConfigTotalEgressBandwidthTier string const ( @@ -17689,6 +19562,12 @@ func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToNetworkPerform }).(NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) } +func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17724,6 +19603,12 @@ func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) ToNetworkPerf return o } +func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) Elem() NetworkPerformanceConfigTotalEgressBandwidthTierOutput { return o.ApplyT(func(v *NetworkPerformanceConfigTotalEgressBandwidthTier) NetworkPerformanceConfigTotalEgressBandwidthTier { if v != nil { @@ -17786,6 +19671,12 @@ func (in *networkPerformanceConfigTotalEgressBandwidthTierPtr) ToNetworkPerforma return pulumi.ToOutputWithContext(ctx, in).(NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) } +func (in *networkPerformanceConfigTotalEgressBandwidthTierPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: in.ToNetworkPerformanceConfigTotalEgressBandwidthTierPtrOutputWithContext(ctx).OutputState, + } +} + // The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. type NetworkRoutingConfigRoutingMode string @@ -17854,6 +19745,12 @@ func (o NetworkRoutingConfigRoutingModeOutput) ToNetworkRoutingConfigRoutingMode }).(NetworkRoutingConfigRoutingModePtrOutput) } +func (o NetworkRoutingConfigRoutingModeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfigRoutingMode] { + return pulumix.Output[NetworkRoutingConfigRoutingMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkRoutingConfigRoutingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17889,6 +19786,12 @@ func (o NetworkRoutingConfigRoutingModePtrOutput) ToNetworkRoutingConfigRoutingM return o } +func (o NetworkRoutingConfigRoutingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfigRoutingMode] { + return pulumix.Output[*NetworkRoutingConfigRoutingMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkRoutingConfigRoutingModePtrOutput) Elem() NetworkRoutingConfigRoutingModeOutput { return o.ApplyT(func(v *NetworkRoutingConfigRoutingMode) NetworkRoutingConfigRoutingMode { if v != nil { @@ -17951,6 +19854,12 @@ func (in *networkRoutingConfigRoutingModePtr) ToNetworkRoutingConfigRoutingModeP return pulumi.ToOutputWithContext(ctx, in).(NetworkRoutingConfigRoutingModePtrOutput) } +func (in *networkRoutingConfigRoutingModePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfigRoutingMode] { + return pulumix.Output[*NetworkRoutingConfigRoutingMode]{ + OutputState: in.ToNetworkRoutingConfigRoutingModePtrOutputWithContext(ctx).OutputState, + } +} + // The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. type NodeGroupAutoscalingPolicyMode string @@ -18024,6 +19933,12 @@ func (o NodeGroupAutoscalingPolicyModeOutput) ToNodeGroupAutoscalingPolicyModePt }).(NodeGroupAutoscalingPolicyModePtrOutput) } +func (o NodeGroupAutoscalingPolicyModeOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicyMode] { + return pulumix.Output[NodeGroupAutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAutoscalingPolicyModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18059,6 +19974,12 @@ func (o NodeGroupAutoscalingPolicyModePtrOutput) ToNodeGroupAutoscalingPolicyMod return o } +func (o NodeGroupAutoscalingPolicyModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicyMode] { + return pulumix.Output[*NodeGroupAutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAutoscalingPolicyModePtrOutput) Elem() NodeGroupAutoscalingPolicyModeOutput { return o.ApplyT(func(v *NodeGroupAutoscalingPolicyMode) NodeGroupAutoscalingPolicyMode { if v != nil { @@ -18121,6 +20042,12 @@ func (in *nodeGroupAutoscalingPolicyModePtr) ToNodeGroupAutoscalingPolicyModePtr return pulumi.ToOutputWithContext(ctx, in).(NodeGroupAutoscalingPolicyModePtrOutput) } +func (in *nodeGroupAutoscalingPolicyModePtr) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicyMode] { + return pulumix.Output[*NodeGroupAutoscalingPolicyMode]{ + OutputState: in.ToNodeGroupAutoscalingPolicyModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. type NodeGroupMaintenancePolicy string @@ -18194,6 +20121,12 @@ func (o NodeGroupMaintenancePolicyOutput) ToNodeGroupMaintenancePolicyPtrOutputW }).(NodeGroupMaintenancePolicyPtrOutput) } +func (o NodeGroupMaintenancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenancePolicy] { + return pulumix.Output[NodeGroupMaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenancePolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18229,6 +20162,12 @@ func (o NodeGroupMaintenancePolicyPtrOutput) ToNodeGroupMaintenancePolicyPtrOutp return o } +func (o NodeGroupMaintenancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenancePolicy] { + return pulumix.Output[*NodeGroupMaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenancePolicyPtrOutput) Elem() NodeGroupMaintenancePolicyOutput { return o.ApplyT(func(v *NodeGroupMaintenancePolicy) NodeGroupMaintenancePolicy { if v != nil { @@ -18291,6 +20230,12 @@ func (in *nodeGroupMaintenancePolicyPtr) ToNodeGroupMaintenancePolicyPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(NodeGroupMaintenancePolicyPtrOutput) } +func (in *nodeGroupMaintenancePolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenancePolicy] { + return pulumix.Output[*NodeGroupMaintenancePolicy]{ + OutputState: in.ToNodeGroupMaintenancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + type NodeGroupStatus string const ( @@ -18369,6 +20314,12 @@ func (o NodeTemplateCpuOvercommitTypeOutput) ToNodeTemplateCpuOvercommitTypePtrO }).(NodeTemplateCpuOvercommitTypePtrOutput) } +func (o NodeTemplateCpuOvercommitTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateCpuOvercommitType] { + return pulumix.Output[NodeTemplateCpuOvercommitType]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateCpuOvercommitTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18404,6 +20355,12 @@ func (o NodeTemplateCpuOvercommitTypePtrOutput) ToNodeTemplateCpuOvercommitTypeP return o } +func (o NodeTemplateCpuOvercommitTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateCpuOvercommitType] { + return pulumix.Output[*NodeTemplateCpuOvercommitType]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateCpuOvercommitTypePtrOutput) Elem() NodeTemplateCpuOvercommitTypeOutput { return o.ApplyT(func(v *NodeTemplateCpuOvercommitType) NodeTemplateCpuOvercommitType { if v != nil { @@ -18466,6 +20423,12 @@ func (in *nodeTemplateCpuOvercommitTypePtr) ToNodeTemplateCpuOvercommitTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(NodeTemplateCpuOvercommitTypePtrOutput) } +func (in *nodeTemplateCpuOvercommitTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateCpuOvercommitType] { + return pulumix.Output[*NodeTemplateCpuOvercommitType]{ + OutputState: in.ToNodeTemplateCpuOvercommitTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. type OrganizationSecurityPolicyType string @@ -18536,6 +20499,12 @@ func (o OrganizationSecurityPolicyTypeOutput) ToOrganizationSecurityPolicyTypePt }).(OrganizationSecurityPolicyTypePtrOutput) } +func (o OrganizationSecurityPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationSecurityPolicyType] { + return pulumix.Output[OrganizationSecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationSecurityPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18571,6 +20540,12 @@ func (o OrganizationSecurityPolicyTypePtrOutput) ToOrganizationSecurityPolicyTyp return o } +func (o OrganizationSecurityPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSecurityPolicyType] { + return pulumix.Output[*OrganizationSecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationSecurityPolicyTypePtrOutput) Elem() OrganizationSecurityPolicyTypeOutput { return o.ApplyT(func(v *OrganizationSecurityPolicyType) OrganizationSecurityPolicyType { if v != nil { @@ -18633,6 +20608,12 @@ func (in *organizationSecurityPolicyTypePtr) ToOrganizationSecurityPolicyTypePtr return pulumi.ToOutputWithContext(ctx, in).(OrganizationSecurityPolicyTypePtrOutput) } +func (in *organizationSecurityPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSecurityPolicyType] { + return pulumix.Output[*OrganizationSecurityPolicyType]{ + OutputState: in.ToOrganizationSecurityPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. type PacketMirroringEnable string @@ -18701,6 +20682,12 @@ func (o PacketMirroringEnableOutput) ToPacketMirroringEnablePtrOutputWithContext }).(PacketMirroringEnablePtrOutput) } +func (o PacketMirroringEnableOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringEnable] { + return pulumix.Output[PacketMirroringEnable]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringEnableOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18736,6 +20723,12 @@ func (o PacketMirroringEnablePtrOutput) ToPacketMirroringEnablePtrOutputWithCont return o } +func (o PacketMirroringEnablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringEnable] { + return pulumix.Output[*PacketMirroringEnable]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringEnablePtrOutput) Elem() PacketMirroringEnableOutput { return o.ApplyT(func(v *PacketMirroringEnable) PacketMirroringEnable { if v != nil { @@ -18798,6 +20791,12 @@ func (in *packetMirroringEnablePtr) ToPacketMirroringEnablePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(PacketMirroringEnablePtrOutput) } +func (in *packetMirroringEnablePtr) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringEnable] { + return pulumix.Output[*PacketMirroringEnable]{ + OutputState: in.ToPacketMirroringEnablePtrOutputWithContext(ctx).OutputState, + } +} + // Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. type PacketMirroringFilterDirection string @@ -18870,6 +20869,12 @@ func (o PacketMirroringFilterDirectionOutput) ToPacketMirroringFilterDirectionPt }).(PacketMirroringFilterDirectionPtrOutput) } +func (o PacketMirroringFilterDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilterDirection] { + return pulumix.Output[PacketMirroringFilterDirection]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringFilterDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18905,6 +20910,12 @@ func (o PacketMirroringFilterDirectionPtrOutput) ToPacketMirroringFilterDirectio return o } +func (o PacketMirroringFilterDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilterDirection] { + return pulumix.Output[*PacketMirroringFilterDirection]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringFilterDirectionPtrOutput) Elem() PacketMirroringFilterDirectionOutput { return o.ApplyT(func(v *PacketMirroringFilterDirection) PacketMirroringFilterDirection { if v != nil { @@ -18967,6 +20978,12 @@ func (in *packetMirroringFilterDirectionPtr) ToPacketMirroringFilterDirectionPtr return pulumi.ToOutputWithContext(ctx, in).(PacketMirroringFilterDirectionPtrOutput) } +func (in *packetMirroringFilterDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilterDirection] { + return pulumix.Output[*PacketMirroringFilterDirection]{ + OutputState: in.ToPacketMirroringFilterDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. type PublicAdvertisedPrefixStatus string @@ -19047,6 +21064,12 @@ func (o PublicAdvertisedPrefixStatusOutput) ToPublicAdvertisedPrefixStatusPtrOut }).(PublicAdvertisedPrefixStatusPtrOutput) } +func (o PublicAdvertisedPrefixStatusOutput) ToOutput(ctx context.Context) pulumix.Output[PublicAdvertisedPrefixStatus] { + return pulumix.Output[PublicAdvertisedPrefixStatus]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19082,6 +21105,12 @@ func (o PublicAdvertisedPrefixStatusPtrOutput) ToPublicAdvertisedPrefixStatusPtr return o } +func (o PublicAdvertisedPrefixStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefixStatus] { + return pulumix.Output[*PublicAdvertisedPrefixStatus]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixStatusPtrOutput) Elem() PublicAdvertisedPrefixStatusOutput { return o.ApplyT(func(v *PublicAdvertisedPrefixStatus) PublicAdvertisedPrefixStatus { if v != nil { @@ -19144,6 +21173,12 @@ func (in *publicAdvertisedPrefixStatusPtr) ToPublicAdvertisedPrefixStatusPtrOutp return pulumi.ToOutputWithContext(ctx, in).(PublicAdvertisedPrefixStatusPtrOutput) } +func (in *publicAdvertisedPrefixStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefixStatus] { + return pulumix.Output[*PublicAdvertisedPrefixStatus]{ + OutputState: in.ToPublicAdvertisedPrefixStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. type RegionBackendServiceCompressionMode string @@ -19214,6 +21249,12 @@ func (o RegionBackendServiceCompressionModeOutput) ToRegionBackendServiceCompres }).(RegionBackendServiceCompressionModePtrOutput) } +func (o RegionBackendServiceCompressionModeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceCompressionMode] { + return pulumix.Output[RegionBackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceCompressionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19249,6 +21290,12 @@ func (o RegionBackendServiceCompressionModePtrOutput) ToRegionBackendServiceComp return o } +func (o RegionBackendServiceCompressionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceCompressionMode] { + return pulumix.Output[*RegionBackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceCompressionModePtrOutput) Elem() RegionBackendServiceCompressionModeOutput { return o.ApplyT(func(v *RegionBackendServiceCompressionMode) RegionBackendServiceCompressionMode { if v != nil { @@ -19311,6 +21358,12 @@ func (in *regionBackendServiceCompressionModePtr) ToRegionBackendServiceCompress return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceCompressionModePtrOutput) } +func (in *regionBackendServiceCompressionModePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceCompressionMode] { + return pulumix.Output[*RegionBackendServiceCompressionMode]{ + OutputState: in.ToRegionBackendServiceCompressionModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. type RegionBackendServiceLoadBalancingScheme string @@ -19388,6 +21441,12 @@ func (o RegionBackendServiceLoadBalancingSchemeOutput) ToRegionBackendServiceLoa }).(RegionBackendServiceLoadBalancingSchemePtrOutput) } +func (o RegionBackendServiceLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceLoadBalancingScheme] { + return pulumix.Output[RegionBackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19423,6 +21482,12 @@ func (o RegionBackendServiceLoadBalancingSchemePtrOutput) ToRegionBackendService return o } +func (o RegionBackendServiceLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLoadBalancingScheme] { + return pulumix.Output[*RegionBackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLoadBalancingSchemePtrOutput) Elem() RegionBackendServiceLoadBalancingSchemeOutput { return o.ApplyT(func(v *RegionBackendServiceLoadBalancingScheme) RegionBackendServiceLoadBalancingScheme { if v != nil { @@ -19485,6 +21550,12 @@ func (in *regionBackendServiceLoadBalancingSchemePtr) ToRegionBackendServiceLoad return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceLoadBalancingSchemePtrOutput) } +func (in *regionBackendServiceLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLoadBalancingScheme] { + return pulumix.Output[*RegionBackendServiceLoadBalancingScheme]{ + OutputState: in.ToRegionBackendServiceLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. type RegionBackendServiceLocalityLbPolicy string @@ -19566,6 +21637,12 @@ func (o RegionBackendServiceLocalityLbPolicyOutput) ToRegionBackendServiceLocali }).(RegionBackendServiceLocalityLbPolicyPtrOutput) } +func (o RegionBackendServiceLocalityLbPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceLocalityLbPolicy] { + return pulumix.Output[RegionBackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLocalityLbPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19601,6 +21678,12 @@ func (o RegionBackendServiceLocalityLbPolicyPtrOutput) ToRegionBackendServiceLoc return o } +func (o RegionBackendServiceLocalityLbPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLocalityLbPolicy] { + return pulumix.Output[*RegionBackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLocalityLbPolicyPtrOutput) Elem() RegionBackendServiceLocalityLbPolicyOutput { return o.ApplyT(func(v *RegionBackendServiceLocalityLbPolicy) RegionBackendServiceLocalityLbPolicy { if v != nil { @@ -19663,6 +21746,12 @@ func (in *regionBackendServiceLocalityLbPolicyPtr) ToRegionBackendServiceLocalit return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceLocalityLbPolicyPtrOutput) } +func (in *regionBackendServiceLocalityLbPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLocalityLbPolicy] { + return pulumix.Output[*RegionBackendServiceLocalityLbPolicy]{ + OutputState: in.ToRegionBackendServiceLocalityLbPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. type RegionBackendServiceProtocol string @@ -19743,6 +21832,12 @@ func (o RegionBackendServiceProtocolOutput) ToRegionBackendServiceProtocolPtrOut }).(RegionBackendServiceProtocolPtrOutput) } +func (o RegionBackendServiceProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceProtocol] { + return pulumix.Output[RegionBackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19778,6 +21873,12 @@ func (o RegionBackendServiceProtocolPtrOutput) ToRegionBackendServiceProtocolPtr return o } +func (o RegionBackendServiceProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceProtocol] { + return pulumix.Output[*RegionBackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceProtocolPtrOutput) Elem() RegionBackendServiceProtocolOutput { return o.ApplyT(func(v *RegionBackendServiceProtocol) RegionBackendServiceProtocol { if v != nil { @@ -19840,6 +21941,12 @@ func (in *regionBackendServiceProtocolPtr) ToRegionBackendServiceProtocolPtrOutp return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceProtocolPtrOutput) } +func (in *regionBackendServiceProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceProtocol] { + return pulumix.Output[*RegionBackendServiceProtocol]{ + OutputState: in.ToRegionBackendServiceProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). type RegionBackendServiceSessionAffinity string @@ -19922,6 +22029,12 @@ func (o RegionBackendServiceSessionAffinityOutput) ToRegionBackendServiceSession }).(RegionBackendServiceSessionAffinityPtrOutput) } +func (o RegionBackendServiceSessionAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceSessionAffinity] { + return pulumix.Output[RegionBackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceSessionAffinityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19957,6 +22070,12 @@ func (o RegionBackendServiceSessionAffinityPtrOutput) ToRegionBackendServiceSess return o } +func (o RegionBackendServiceSessionAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceSessionAffinity] { + return pulumix.Output[*RegionBackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceSessionAffinityPtrOutput) Elem() RegionBackendServiceSessionAffinityOutput { return o.ApplyT(func(v *RegionBackendServiceSessionAffinity) RegionBackendServiceSessionAffinity { if v != nil { @@ -20019,6 +22138,12 @@ func (in *regionBackendServiceSessionAffinityPtr) ToRegionBackendServiceSessionA return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceSessionAffinityPtrOutput) } +func (in *regionBackendServiceSessionAffinityPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceSessionAffinity] { + return pulumix.Output[*RegionBackendServiceSessionAffinity]{ + OutputState: in.ToRegionBackendServiceSessionAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. type RegionCommitmentCategory string @@ -20088,6 +22213,12 @@ func (o RegionCommitmentCategoryOutput) ToRegionCommitmentCategoryPtrOutputWithC }).(RegionCommitmentCategoryPtrOutput) } +func (o RegionCommitmentCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[RegionCommitmentCategory] { + return pulumix.Output[RegionCommitmentCategory]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20123,6 +22254,12 @@ func (o RegionCommitmentCategoryPtrOutput) ToRegionCommitmentCategoryPtrOutputWi return o } +func (o RegionCommitmentCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentCategory] { + return pulumix.Output[*RegionCommitmentCategory]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentCategoryPtrOutput) Elem() RegionCommitmentCategoryOutput { return o.ApplyT(func(v *RegionCommitmentCategory) RegionCommitmentCategory { if v != nil { @@ -20185,6 +22322,12 @@ func (in *regionCommitmentCategoryPtr) ToRegionCommitmentCategoryPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RegionCommitmentCategoryPtrOutput) } +func (in *regionCommitmentCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentCategory] { + return pulumix.Output[*RegionCommitmentCategory]{ + OutputState: in.ToRegionCommitmentCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). type RegionCommitmentPlan string @@ -20254,6 +22397,12 @@ func (o RegionCommitmentPlanOutput) ToRegionCommitmentPlanPtrOutputWithContext(c }).(RegionCommitmentPlanPtrOutput) } +func (o RegionCommitmentPlanOutput) ToOutput(ctx context.Context) pulumix.Output[RegionCommitmentPlan] { + return pulumix.Output[RegionCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20289,6 +22438,12 @@ func (o RegionCommitmentPlanPtrOutput) ToRegionCommitmentPlanPtrOutputWithContex return o } +func (o RegionCommitmentPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentPlan] { + return pulumix.Output[*RegionCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentPlanPtrOutput) Elem() RegionCommitmentPlanOutput { return o.ApplyT(func(v *RegionCommitmentPlan) RegionCommitmentPlan { if v != nil { @@ -20351,6 +22506,12 @@ func (in *regionCommitmentPlanPtr) ToRegionCommitmentPlanPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(RegionCommitmentPlanPtrOutput) } +func (in *regionCommitmentPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentPlan] { + return pulumix.Output[*RegionCommitmentPlan]{ + OutputState: in.ToRegionCommitmentPlanPtrOutputWithContext(ctx).OutputState, + } +} + // The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. type RegionCommitmentType string @@ -20430,6 +22591,12 @@ func (o RegionCommitmentTypeOutput) ToRegionCommitmentTypePtrOutputWithContext(c }).(RegionCommitmentTypePtrOutput) } +func (o RegionCommitmentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionCommitmentType] { + return pulumix.Output[RegionCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20465,6 +22632,12 @@ func (o RegionCommitmentTypePtrOutput) ToRegionCommitmentTypePtrOutputWithContex return o } +func (o RegionCommitmentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentType] { + return pulumix.Output[*RegionCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentTypePtrOutput) Elem() RegionCommitmentTypeOutput { return o.ApplyT(func(v *RegionCommitmentType) RegionCommitmentType { if v != nil { @@ -20527,6 +22700,12 @@ func (in *regionCommitmentTypePtr) ToRegionCommitmentTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(RegionCommitmentTypePtrOutput) } +func (in *regionCommitmentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentType] { + return pulumix.Output[*RegionCommitmentType]{ + OutputState: in.ToRegionCommitmentTypePtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. type RegionDiskArchitecture string @@ -20599,6 +22778,12 @@ func (o RegionDiskArchitectureOutput) ToRegionDiskArchitecturePtrOutputWithConte }).(RegionDiskArchitecturePtrOutput) } +func (o RegionDiskArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[RegionDiskArchitecture] { + return pulumix.Output[RegionDiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20634,6 +22819,12 @@ func (o RegionDiskArchitecturePtrOutput) ToRegionDiskArchitecturePtrOutputWithCo return o } +func (o RegionDiskArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskArchitecture] { + return pulumix.Output[*RegionDiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskArchitecturePtrOutput) Elem() RegionDiskArchitectureOutput { return o.ApplyT(func(v *RegionDiskArchitecture) RegionDiskArchitecture { if v != nil { @@ -20696,6 +22887,12 @@ func (in *regionDiskArchitecturePtr) ToRegionDiskArchitecturePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(RegionDiskArchitecturePtrOutput) } +func (in *regionDiskArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskArchitecture] { + return pulumix.Output[*RegionDiskArchitecture]{ + OutputState: in.ToRegionDiskArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. type RegionDiskInterface string @@ -20765,6 +22962,12 @@ func (o RegionDiskInterfaceOutput) ToRegionDiskInterfacePtrOutputWithContext(ctx }).(RegionDiskInterfacePtrOutput) } +func (o RegionDiskInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[RegionDiskInterface] { + return pulumix.Output[RegionDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20800,6 +23003,12 @@ func (o RegionDiskInterfacePtrOutput) ToRegionDiskInterfacePtrOutputWithContext( return o } +func (o RegionDiskInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskInterface] { + return pulumix.Output[*RegionDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskInterfacePtrOutput) Elem() RegionDiskInterfaceOutput { return o.ApplyT(func(v *RegionDiskInterface) RegionDiskInterface { if v != nil { @@ -20862,6 +23071,12 @@ func (in *regionDiskInterfacePtr) ToRegionDiskInterfacePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(RegionDiskInterfacePtrOutput) } +func (in *regionDiskInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskInterface] { + return pulumix.Output[*RegionDiskInterface]{ + OutputState: in.ToRegionDiskInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // [Deprecated] Storage type of the persistent disk. type RegionDiskStorageType string @@ -20930,6 +23145,12 @@ func (o RegionDiskStorageTypeOutput) ToRegionDiskStorageTypePtrOutputWithContext }).(RegionDiskStorageTypePtrOutput) } +func (o RegionDiskStorageTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionDiskStorageType] { + return pulumix.Output[RegionDiskStorageType]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskStorageTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20965,6 +23186,12 @@ func (o RegionDiskStorageTypePtrOutput) ToRegionDiskStorageTypePtrOutputWithCont return o } +func (o RegionDiskStorageTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskStorageType] { + return pulumix.Output[*RegionDiskStorageType]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskStorageTypePtrOutput) Elem() RegionDiskStorageTypeOutput { return o.ApplyT(func(v *RegionDiskStorageType) RegionDiskStorageType { if v != nil { @@ -21027,6 +23254,12 @@ func (in *regionDiskStorageTypePtr) ToRegionDiskStorageTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(RegionDiskStorageTypePtrOutput) } +func (in *regionDiskStorageTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskStorageType] { + return pulumix.Output[*RegionDiskStorageType]{ + OutputState: in.ToRegionDiskStorageTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. type RegionHealthCheckServiceHealthStatusAggregationPolicy string @@ -21097,6 +23330,12 @@ func (o RegionHealthCheckServiceHealthStatusAggregationPolicyOutput) ToRegionHea }).(RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) } +func (o RegionHealthCheckServiceHealthStatusAggregationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RegionHealthCheckServiceHealthStatusAggregationPolicy] { + return pulumix.Output[RegionHealthCheckServiceHealthStatusAggregationPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckServiceHealthStatusAggregationPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21132,6 +23371,12 @@ func (o RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) ToRegion return o } +func (o RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy] { + return pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) Elem() RegionHealthCheckServiceHealthStatusAggregationPolicyOutput { return o.ApplyT(func(v *RegionHealthCheckServiceHealthStatusAggregationPolicy) RegionHealthCheckServiceHealthStatusAggregationPolicy { if v != nil { @@ -21194,6 +23439,12 @@ func (in *regionHealthCheckServiceHealthStatusAggregationPolicyPtr) ToRegionHeal return pulumi.ToOutputWithContext(ctx, in).(RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) } +func (in *regionHealthCheckServiceHealthStatusAggregationPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy] { + return pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy]{ + OutputState: in.ToRegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // This field is deprecated. Use health_status_aggregation_policy instead. Policy for how the results from multiple health checks for the same endpoint are aggregated. - NO_AGGREGATION. An EndpointHealth message is returned for each backend in the health check service. - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY. . type RegionHealthCheckServiceHealthStatusAggregationStrategy string @@ -21264,6 +23515,12 @@ func (o RegionHealthCheckServiceHealthStatusAggregationStrategyOutput) ToRegionH }).(RegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutput) } +func (o RegionHealthCheckServiceHealthStatusAggregationStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[RegionHealthCheckServiceHealthStatusAggregationStrategy] { + return pulumix.Output[RegionHealthCheckServiceHealthStatusAggregationStrategy]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckServiceHealthStatusAggregationStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21299,6 +23556,12 @@ func (o RegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutput) ToRegi return o } +func (o RegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationStrategy] { + return pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationStrategy]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutput) Elem() RegionHealthCheckServiceHealthStatusAggregationStrategyOutput { return o.ApplyT(func(v *RegionHealthCheckServiceHealthStatusAggregationStrategy) RegionHealthCheckServiceHealthStatusAggregationStrategy { if v != nil { @@ -21361,6 +23624,12 @@ func (in *regionHealthCheckServiceHealthStatusAggregationStrategyPtr) ToRegionHe return pulumi.ToOutputWithContext(ctx, in).(RegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutput) } +func (in *regionHealthCheckServiceHealthStatusAggregationStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationStrategy] { + return pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationStrategy]{ + OutputState: in.ToRegionHealthCheckServiceHealthStatusAggregationStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. type RegionHealthCheckType string @@ -21434,6 +23703,12 @@ func (o RegionHealthCheckTypeOutput) ToRegionHealthCheckTypePtrOutputWithContext }).(RegionHealthCheckTypePtrOutput) } +func (o RegionHealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionHealthCheckType] { + return pulumix.Output[RegionHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21469,6 +23744,12 @@ func (o RegionHealthCheckTypePtrOutput) ToRegionHealthCheckTypePtrOutputWithCont return o } +func (o RegionHealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckType] { + return pulumix.Output[*RegionHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckTypePtrOutput) Elem() RegionHealthCheckTypeOutput { return o.ApplyT(func(v *RegionHealthCheckType) RegionHealthCheckType { if v != nil { @@ -21531,6 +23812,12 @@ func (in *regionHealthCheckTypePtr) ToRegionHealthCheckTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(RegionHealthCheckTypePtrOutput) } +func (in *regionHealthCheckTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckType] { + return pulumix.Output[*RegionHealthCheckType]{ + OutputState: in.ToRegionHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + // The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER. type RegionInstanceGroupManagerFailoverAction string @@ -21599,6 +23886,12 @@ func (o RegionInstanceGroupManagerFailoverActionOutput) ToRegionInstanceGroupMan }).(RegionInstanceGroupManagerFailoverActionPtrOutput) } +func (o RegionInstanceGroupManagerFailoverActionOutput) ToOutput(ctx context.Context) pulumix.Output[RegionInstanceGroupManagerFailoverAction] { + return pulumix.Output[RegionInstanceGroupManagerFailoverAction]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerFailoverActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21634,6 +23927,12 @@ func (o RegionInstanceGroupManagerFailoverActionPtrOutput) ToRegionInstanceGroup return o } +func (o RegionInstanceGroupManagerFailoverActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerFailoverAction] { + return pulumix.Output[*RegionInstanceGroupManagerFailoverAction]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerFailoverActionPtrOutput) Elem() RegionInstanceGroupManagerFailoverActionOutput { return o.ApplyT(func(v *RegionInstanceGroupManagerFailoverAction) RegionInstanceGroupManagerFailoverAction { if v != nil { @@ -21696,6 +23995,12 @@ func (in *regionInstanceGroupManagerFailoverActionPtr) ToRegionInstanceGroupMana return pulumi.ToOutputWithContext(ctx, in).(RegionInstanceGroupManagerFailoverActionPtrOutput) } +func (in *regionInstanceGroupManagerFailoverActionPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerFailoverAction] { + return pulumix.Output[*RegionInstanceGroupManagerFailoverAction]{ + OutputState: in.ToRegionInstanceGroupManagerFailoverActionPtrOutputWithContext(ctx).OutputState, + } +} + // Pagination behavior of the listManagedInstances API method for this managed instance group. type RegionInstanceGroupManagerListManagedInstancesResults string @@ -21766,6 +24071,12 @@ func (o RegionInstanceGroupManagerListManagedInstancesResultsOutput) ToRegionIns }).(RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (o RegionInstanceGroupManagerListManagedInstancesResultsOutput) ToOutput(ctx context.Context) pulumix.Output[RegionInstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[RegionInstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerListManagedInstancesResultsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21801,6 +24112,12 @@ func (o RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) ToRegion return o } +func (o RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) Elem() RegionInstanceGroupManagerListManagedInstancesResultsOutput { return o.ApplyT(func(v *RegionInstanceGroupManagerListManagedInstancesResults) RegionInstanceGroupManagerListManagedInstancesResults { if v != nil { @@ -21863,6 +24180,12 @@ func (in *regionInstanceGroupManagerListManagedInstancesResultsPtr) ToRegionInst return pulumi.ToOutputWithContext(ctx, in).(RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (in *regionInstanceGroupManagerListManagedInstancesResultsPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults]{ + OutputState: in.ToRegionInstanceGroupManagerListManagedInstancesResultsPtrOutputWithContext(ctx).OutputState, + } +} + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. type RegionNetworkEndpointGroupNetworkEndpointType string @@ -21943,6 +24266,12 @@ func (o RegionNetworkEndpointGroupNetworkEndpointTypeOutput) ToRegionNetworkEndp }).(RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (o RegionNetworkEndpointGroupNetworkEndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[RegionNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o RegionNetworkEndpointGroupNetworkEndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21978,6 +24307,12 @@ func (o RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToRegionNetworkE return o } +func (o RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) Elem() RegionNetworkEndpointGroupNetworkEndpointTypeOutput { return o.ApplyT(func(v *RegionNetworkEndpointGroupNetworkEndpointType) RegionNetworkEndpointGroupNetworkEndpointType { if v != nil { @@ -22040,6 +24375,12 @@ func (in *regionNetworkEndpointGroupNetworkEndpointTypePtr) ToRegionNetworkEndpo return pulumi.ToOutputWithContext(ctx, in).(RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (in *regionNetworkEndpointGroupNetworkEndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType]{ + OutputState: in.ToRegionNetworkEndpointGroupNetworkEndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. type RegionSecurityPolicyType string @@ -22110,6 +24451,12 @@ func (o RegionSecurityPolicyTypeOutput) ToRegionSecurityPolicyTypePtrOutputWithC }).(RegionSecurityPolicyTypePtrOutput) } +func (o RegionSecurityPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSecurityPolicyType] { + return pulumix.Output[RegionSecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o RegionSecurityPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22145,6 +24492,12 @@ func (o RegionSecurityPolicyTypePtrOutput) ToRegionSecurityPolicyTypePtrOutputWi return o } +func (o RegionSecurityPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicyType] { + return pulumix.Output[*RegionSecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o RegionSecurityPolicyTypePtrOutput) Elem() RegionSecurityPolicyTypeOutput { return o.ApplyT(func(v *RegionSecurityPolicyType) RegionSecurityPolicyType { if v != nil { @@ -22207,6 +24560,12 @@ func (in *regionSecurityPolicyTypePtr) ToRegionSecurityPolicyTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RegionSecurityPolicyTypePtrOutput) } +func (in *regionSecurityPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicyType] { + return pulumix.Output[*RegionSecurityPolicyType]{ + OutputState: in.ToRegionSecurityPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. type RegionSslCertificateType string @@ -22278,6 +24637,12 @@ func (o RegionSslCertificateTypeOutput) ToRegionSslCertificateTypePtrOutputWithC }).(RegionSslCertificateTypePtrOutput) } +func (o RegionSslCertificateTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslCertificateType] { + return pulumix.Output[RegionSslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o RegionSslCertificateTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22313,6 +24678,12 @@ func (o RegionSslCertificateTypePtrOutput) ToRegionSslCertificateTypePtrOutputWi return o } +func (o RegionSslCertificateTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificateType] { + return pulumix.Output[*RegionSslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o RegionSslCertificateTypePtrOutput) Elem() RegionSslCertificateTypeOutput { return o.ApplyT(func(v *RegionSslCertificateType) RegionSslCertificateType { if v != nil { @@ -22375,6 +24746,12 @@ func (in *regionSslCertificateTypePtr) ToRegionSslCertificateTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RegionSslCertificateTypePtrOutput) } +func (in *regionSslCertificateTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificateType] { + return pulumix.Output[*RegionSslCertificateType]{ + OutputState: in.ToRegionSslCertificateTypePtrOutputWithContext(ctx).OutputState, + } +} + // The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. type RegionSslPolicyMinTlsVersion string @@ -22447,6 +24824,12 @@ func (o RegionSslPolicyMinTlsVersionOutput) ToRegionSslPolicyMinTlsVersionPtrOut }).(RegionSslPolicyMinTlsVersionPtrOutput) } +func (o RegionSslPolicyMinTlsVersionOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyMinTlsVersion] { + return pulumix.Output[RegionSslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyMinTlsVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22482,6 +24865,12 @@ func (o RegionSslPolicyMinTlsVersionPtrOutput) ToRegionSslPolicyMinTlsVersionPtr return o } +func (o RegionSslPolicyMinTlsVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyMinTlsVersion] { + return pulumix.Output[*RegionSslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyMinTlsVersionPtrOutput) Elem() RegionSslPolicyMinTlsVersionOutput { return o.ApplyT(func(v *RegionSslPolicyMinTlsVersion) RegionSslPolicyMinTlsVersion { if v != nil { @@ -22544,6 +24933,12 @@ func (in *regionSslPolicyMinTlsVersionPtr) ToRegionSslPolicyMinTlsVersionPtrOutp return pulumi.ToOutputWithContext(ctx, in).(RegionSslPolicyMinTlsVersionPtrOutput) } +func (in *regionSslPolicyMinTlsVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyMinTlsVersion] { + return pulumix.Output[*RegionSslPolicyMinTlsVersion]{ + OutputState: in.ToRegionSslPolicyMinTlsVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. type RegionSslPolicyProfile string @@ -22618,6 +25013,12 @@ func (o RegionSslPolicyProfileOutput) ToRegionSslPolicyProfilePtrOutputWithConte }).(RegionSslPolicyProfilePtrOutput) } +func (o RegionSslPolicyProfileOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyProfile] { + return pulumix.Output[RegionSslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22653,6 +25054,12 @@ func (o RegionSslPolicyProfilePtrOutput) ToRegionSslPolicyProfilePtrOutputWithCo return o } +func (o RegionSslPolicyProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyProfile] { + return pulumix.Output[*RegionSslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyProfilePtrOutput) Elem() RegionSslPolicyProfileOutput { return o.ApplyT(func(v *RegionSslPolicyProfile) RegionSslPolicyProfile { if v != nil { @@ -22715,6 +25122,12 @@ func (in *regionSslPolicyProfilePtr) ToRegionSslPolicyProfilePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(RegionSslPolicyProfilePtrOutput) } +func (in *regionSslPolicyProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyProfile] { + return pulumix.Output[*RegionSslPolicyProfile]{ + OutputState: in.ToRegionSslPolicyProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. type RegionTargetHttpsProxyQuicOverride string @@ -22787,6 +25200,12 @@ func (o RegionTargetHttpsProxyQuicOverrideOutput) ToRegionTargetHttpsProxyQuicOv }).(RegionTargetHttpsProxyQuicOverridePtrOutput) } +func (o RegionTargetHttpsProxyQuicOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[RegionTargetHttpsProxyQuicOverride] { + return pulumix.Output[RegionTargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetHttpsProxyQuicOverrideOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22822,6 +25241,12 @@ func (o RegionTargetHttpsProxyQuicOverridePtrOutput) ToRegionTargetHttpsProxyQui return o } +func (o RegionTargetHttpsProxyQuicOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxyQuicOverride] { + return pulumix.Output[*RegionTargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetHttpsProxyQuicOverridePtrOutput) Elem() RegionTargetHttpsProxyQuicOverrideOutput { return o.ApplyT(func(v *RegionTargetHttpsProxyQuicOverride) RegionTargetHttpsProxyQuicOverride { if v != nil { @@ -22884,6 +25309,12 @@ func (in *regionTargetHttpsProxyQuicOverridePtr) ToRegionTargetHttpsProxyQuicOve return pulumi.ToOutputWithContext(ctx, in).(RegionTargetHttpsProxyQuicOverridePtrOutput) } +func (in *regionTargetHttpsProxyQuicOverridePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxyQuicOverride] { + return pulumix.Output[*RegionTargetHttpsProxyQuicOverride]{ + OutputState: in.ToRegionTargetHttpsProxyQuicOverridePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type RegionTargetTcpProxyProxyHeader string @@ -22952,6 +25383,12 @@ func (o RegionTargetTcpProxyProxyHeaderOutput) ToRegionTargetTcpProxyProxyHeader }).(RegionTargetTcpProxyProxyHeaderPtrOutput) } +func (o RegionTargetTcpProxyProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[RegionTargetTcpProxyProxyHeader] { + return pulumix.Output[RegionTargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetTcpProxyProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22987,6 +25424,12 @@ func (o RegionTargetTcpProxyProxyHeaderPtrOutput) ToRegionTargetTcpProxyProxyHea return o } +func (o RegionTargetTcpProxyProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxyProxyHeader] { + return pulumix.Output[*RegionTargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetTcpProxyProxyHeaderPtrOutput) Elem() RegionTargetTcpProxyProxyHeaderOutput { return o.ApplyT(func(v *RegionTargetTcpProxyProxyHeader) RegionTargetTcpProxyProxyHeader { if v != nil { @@ -23049,6 +25492,12 @@ func (in *regionTargetTcpProxyProxyHeaderPtr) ToRegionTargetTcpProxyProxyHeaderP return pulumi.ToOutputWithContext(ctx, in).(RegionTargetTcpProxyProxyHeaderPtrOutput) } +func (in *regionTargetTcpProxyProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxyProxyHeader] { + return pulumix.Output[*RegionTargetTcpProxyProxyHeader]{ + OutputState: in.ToRegionTargetTcpProxyProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. type ReservationAffinityConsumeReservationType string @@ -23124,6 +25573,12 @@ func (o ReservationAffinityConsumeReservationTypeOutput) ToReservationAffinityCo }).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (o ReservationAffinityConsumeReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityConsumeReservationType] { + return pulumix.Output[ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23159,6 +25614,12 @@ func (o ReservationAffinityConsumeReservationTypePtrOutput) ToReservationAffinit return o } +func (o ReservationAffinityConsumeReservationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypePtrOutput) Elem() ReservationAffinityConsumeReservationTypeOutput { return o.ApplyT(func(v *ReservationAffinityConsumeReservationType) ReservationAffinityConsumeReservationType { if v != nil { @@ -23221,6 +25682,12 @@ func (in *reservationAffinityConsumeReservationTypePtr) ToReservationAffinityCon return pulumi.ToOutputWithContext(ctx, in).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (in *reservationAffinityConsumeReservationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: in.ToReservationAffinityConsumeReservationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR. type ResourceCommitmentType string @@ -23292,6 +25759,12 @@ func (o ResourceCommitmentTypeOutput) ToResourceCommitmentTypePtrOutputWithConte }).(ResourceCommitmentTypePtrOutput) } +func (o ResourceCommitmentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitmentType] { + return pulumix.Output[ResourceCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23327,6 +25800,12 @@ func (o ResourceCommitmentTypePtrOutput) ToResourceCommitmentTypePtrOutputWithCo return o } +func (o ResourceCommitmentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceCommitmentType] { + return pulumix.Output[*ResourceCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentTypePtrOutput) Elem() ResourceCommitmentTypeOutput { return o.ApplyT(func(v *ResourceCommitmentType) ResourceCommitmentType { if v != nil { @@ -23389,6 +25868,12 @@ func (in *resourceCommitmentTypePtr) ToResourceCommitmentTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ResourceCommitmentTypePtrOutput) } +func (in *resourceCommitmentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ResourceCommitmentType] { + return pulumix.Output[*ResourceCommitmentType]{ + OutputState: in.ToResourceCommitmentTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies network collocation type ResourcePolicyGroupPlacementPolicyCollocation string @@ -23457,6 +25942,12 @@ func (o ResourcePolicyGroupPlacementPolicyCollocationOutput) ToResourcePolicyGro }).(ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) } +func (o ResourcePolicyGroupPlacementPolicyCollocationOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicyCollocation] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicyCollocation]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyCollocationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23492,6 +25983,12 @@ func (o ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) ToResourcePolicy return o } +func (o ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) Elem() ResourcePolicyGroupPlacementPolicyCollocationOutput { return o.ApplyT(func(v *ResourcePolicyGroupPlacementPolicyCollocation) ResourcePolicyGroupPlacementPolicyCollocation { if v != nil { @@ -23554,6 +26051,12 @@ func (in *resourcePolicyGroupPlacementPolicyCollocationPtr) ToResourcePolicyGrou return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) } +func (in *resourcePolicyGroupPlacementPolicyCollocationPtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation]{ + OutputState: in.ToResourcePolicyGroupPlacementPolicyCollocationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. type ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete string @@ -23623,6 +26126,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOut }).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23658,6 +26167,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtr return o } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete) ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete { if v != nil { @@ -23720,6 +26235,12 @@ func (in *resourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteP return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) } +func (in *resourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete]{ + OutputState: in.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutputWithContext(ctx).OutputState, + } +} + // Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. type ResourcePolicyWeeklyCycleDayOfWeekDay string @@ -23794,6 +26315,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekDayOutput) ToResourcePolicyWeeklyCycle }).(ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) } +func (o ResourcePolicyWeeklyCycleDayOfWeekDayOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekDay] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekDay]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekDayOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23829,6 +26356,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) ToResourcePolicyWeeklyCy return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay] { + return pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) Elem() ResourcePolicyWeeklyCycleDayOfWeekDayOutput { return o.ApplyT(func(v *ResourcePolicyWeeklyCycleDayOfWeekDay) ResourcePolicyWeeklyCycleDayOfWeekDay { if v != nil { @@ -23891,6 +26424,12 @@ func (in *resourcePolicyWeeklyCycleDayOfWeekDayPtr) ToResourcePolicyWeeklyCycleD return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) } +func (in *resourcePolicyWeeklyCycleDayOfWeekDayPtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay] { + return pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay]{ + OutputState: in.ToResourcePolicyWeeklyCycleDayOfWeekDayPtrOutputWithContext(ctx).OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. type RouterBgpAdvertiseMode string @@ -23959,6 +26498,12 @@ func (o RouterBgpAdvertiseModeOutput) ToRouterBgpAdvertiseModePtrOutputWithConte }).(RouterBgpAdvertiseModePtrOutput) } +func (o RouterBgpAdvertiseModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpAdvertiseMode] { + return pulumix.Output[RouterBgpAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertiseModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23994,6 +26539,12 @@ func (o RouterBgpAdvertiseModePtrOutput) ToRouterBgpAdvertiseModePtrOutputWithCo return o } +func (o RouterBgpAdvertiseModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertiseMode] { + return pulumix.Output[*RouterBgpAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertiseModePtrOutput) Elem() RouterBgpAdvertiseModeOutput { return o.ApplyT(func(v *RouterBgpAdvertiseMode) RouterBgpAdvertiseMode { if v != nil { @@ -24056,6 +26607,12 @@ func (in *routerBgpAdvertiseModePtr) ToRouterBgpAdvertiseModePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(RouterBgpAdvertiseModePtrOutput) } +func (in *routerBgpAdvertiseModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertiseMode] { + return pulumix.Output[*RouterBgpAdvertiseMode]{ + OutputState: in.ToRouterBgpAdvertiseModePtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpAdvertisedGroupsItem string const ( @@ -24123,6 +26680,12 @@ func (o RouterBgpAdvertisedGroupsItemOutput) ToRouterBgpAdvertisedGroupsItemPtrO }).(RouterBgpAdvertisedGroupsItemPtrOutput) } +func (o RouterBgpAdvertisedGroupsItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[RouterBgpAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertisedGroupsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24158,6 +26721,12 @@ func (o RouterBgpAdvertisedGroupsItemPtrOutput) ToRouterBgpAdvertisedGroupsItemP return o } +func (o RouterBgpAdvertisedGroupsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertisedGroupsItemPtrOutput) Elem() RouterBgpAdvertisedGroupsItemOutput { return o.ApplyT(func(v *RouterBgpAdvertisedGroupsItem) RouterBgpAdvertisedGroupsItem { if v != nil { @@ -24220,6 +26789,12 @@ func (in *routerBgpAdvertisedGroupsItemPtr) ToRouterBgpAdvertisedGroupsItemPtrOu return pulumi.ToOutputWithContext(ctx, in).(RouterBgpAdvertisedGroupsItemPtrOutput) } +func (in *routerBgpAdvertisedGroupsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpAdvertisedGroupsItem]{ + OutputState: in.ToRouterBgpAdvertisedGroupsItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterBgpAdvertisedGroupsItemArrayInput is an input type that accepts RouterBgpAdvertisedGroupsItemArray and RouterBgpAdvertisedGroupsItemArrayOutput values. // You can construct a concrete instance of `RouterBgpAdvertisedGroupsItemArrayInput` via: // @@ -24245,6 +26820,12 @@ func (i RouterBgpAdvertisedGroupsItemArray) ToRouterBgpAdvertisedGroupsItemArray return pulumi.ToOutputWithContext(ctx, i).(RouterBgpAdvertisedGroupsItemArrayOutput) } +func (i RouterBgpAdvertisedGroupsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpAdvertisedGroupsItem]{ + OutputState: i.ToRouterBgpAdvertisedGroupsItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpAdvertisedGroupsItemArrayOutput struct{ *pulumi.OutputState } func (RouterBgpAdvertisedGroupsItemArrayOutput) ElementType() reflect.Type { @@ -24259,6 +26840,12 @@ func (o RouterBgpAdvertisedGroupsItemArrayOutput) ToRouterBgpAdvertisedGroupsIte return o } +func (o RouterBgpAdvertisedGroupsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertisedGroupsItemArrayOutput) Index(i pulumi.IntInput) RouterBgpAdvertisedGroupsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpAdvertisedGroupsItem { return vs[0].([]RouterBgpAdvertisedGroupsItem)[vs[1].(int)] @@ -24333,6 +26920,12 @@ func (o RouterBgpPeerAdvertiseModeOutput) ToRouterBgpPeerAdvertiseModePtrOutputW }).(RouterBgpPeerAdvertiseModePtrOutput) } +func (o RouterBgpPeerAdvertiseModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerAdvertiseMode] { + return pulumix.Output[RouterBgpPeerAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertiseModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24368,6 +26961,12 @@ func (o RouterBgpPeerAdvertiseModePtrOutput) ToRouterBgpPeerAdvertiseModePtrOutp return o } +func (o RouterBgpPeerAdvertiseModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertiseMode] { + return pulumix.Output[*RouterBgpPeerAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertiseModePtrOutput) Elem() RouterBgpPeerAdvertiseModeOutput { return o.ApplyT(func(v *RouterBgpPeerAdvertiseMode) RouterBgpPeerAdvertiseMode { if v != nil { @@ -24430,6 +27029,12 @@ func (in *routerBgpPeerAdvertiseModePtr) ToRouterBgpPeerAdvertiseModePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerAdvertiseModePtrOutput) } +func (in *routerBgpPeerAdvertiseModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertiseMode] { + return pulumix.Output[*RouterBgpPeerAdvertiseMode]{ + OutputState: in.ToRouterBgpPeerAdvertiseModePtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerAdvertisedGroupsItem string const ( @@ -24497,6 +27102,12 @@ func (o RouterBgpPeerAdvertisedGroupsItemOutput) ToRouterBgpPeerAdvertisedGroups }).(RouterBgpPeerAdvertisedGroupsItemPtrOutput) } +func (o RouterBgpPeerAdvertisedGroupsItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertisedGroupsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24532,6 +27143,12 @@ func (o RouterBgpPeerAdvertisedGroupsItemPtrOutput) ToRouterBgpPeerAdvertisedGro return o } +func (o RouterBgpPeerAdvertisedGroupsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertisedGroupsItemPtrOutput) Elem() RouterBgpPeerAdvertisedGroupsItemOutput { return o.ApplyT(func(v *RouterBgpPeerAdvertisedGroupsItem) RouterBgpPeerAdvertisedGroupsItem { if v != nil { @@ -24594,6 +27211,12 @@ func (in *routerBgpPeerAdvertisedGroupsItemPtr) ToRouterBgpPeerAdvertisedGroupsI return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerAdvertisedGroupsItemPtrOutput) } +func (in *routerBgpPeerAdvertisedGroupsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: in.ToRouterBgpPeerAdvertisedGroupsItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterBgpPeerAdvertisedGroupsItemArrayInput is an input type that accepts RouterBgpPeerAdvertisedGroupsItemArray and RouterBgpPeerAdvertisedGroupsItemArrayOutput values. // You can construct a concrete instance of `RouterBgpPeerAdvertisedGroupsItemArrayInput` via: // @@ -24619,6 +27242,12 @@ func (i RouterBgpPeerAdvertisedGroupsItemArray) ToRouterBgpPeerAdvertisedGroupsI return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerAdvertisedGroupsItemArrayOutput) } +func (i RouterBgpPeerAdvertisedGroupsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: i.ToRouterBgpPeerAdvertisedGroupsItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerAdvertisedGroupsItemArrayOutput struct{ *pulumi.OutputState } func (RouterBgpPeerAdvertisedGroupsItemArrayOutput) ElementType() reflect.Type { @@ -24633,6 +27262,12 @@ func (o RouterBgpPeerAdvertisedGroupsItemArrayOutput) ToRouterBgpPeerAdvertisedG return o } +func (o RouterBgpPeerAdvertisedGroupsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertisedGroupsItemArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerAdvertisedGroupsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeerAdvertisedGroupsItem { return vs[0].([]RouterBgpPeerAdvertisedGroupsItem)[vs[1].(int)] @@ -24708,6 +27343,12 @@ func (o RouterBgpPeerBfdSessionInitializationModeOutput) ToRouterBgpPeerBfdSessi }).(RouterBgpPeerBfdSessionInitializationModePtrOutput) } +func (o RouterBgpPeerBfdSessionInitializationModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfdSessionInitializationMode] { + return pulumix.Output[RouterBgpPeerBfdSessionInitializationMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdSessionInitializationModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24743,6 +27384,12 @@ func (o RouterBgpPeerBfdSessionInitializationModePtrOutput) ToRouterBgpPeerBfdSe return o } +func (o RouterBgpPeerBfdSessionInitializationModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode] { + return pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdSessionInitializationModePtrOutput) Elem() RouterBgpPeerBfdSessionInitializationModeOutput { return o.ApplyT(func(v *RouterBgpPeerBfdSessionInitializationMode) RouterBgpPeerBfdSessionInitializationMode { if v != nil { @@ -24805,6 +27452,12 @@ func (in *routerBgpPeerBfdSessionInitializationModePtr) ToRouterBgpPeerBfdSessio return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerBfdSessionInitializationModePtrOutput) } +func (in *routerBgpPeerBfdSessionInitializationModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode] { + return pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode]{ + OutputState: in.ToRouterBgpPeerBfdSessionInitializationModePtrOutputWithContext(ctx).OutputState, + } +} + // The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE. type RouterBgpPeerEnable string @@ -24873,6 +27526,12 @@ func (o RouterBgpPeerEnableOutput) ToRouterBgpPeerEnablePtrOutputWithContext(ctx }).(RouterBgpPeerEnablePtrOutput) } +func (o RouterBgpPeerEnableOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerEnable] { + return pulumix.Output[RouterBgpPeerEnable]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerEnableOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24908,6 +27567,12 @@ func (o RouterBgpPeerEnablePtrOutput) ToRouterBgpPeerEnablePtrOutputWithContext( return o } +func (o RouterBgpPeerEnablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerEnable] { + return pulumix.Output[*RouterBgpPeerEnable]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerEnablePtrOutput) Elem() RouterBgpPeerEnableOutput { return o.ApplyT(func(v *RouterBgpPeerEnable) RouterBgpPeerEnable { if v != nil { @@ -24970,6 +27635,12 @@ func (in *routerBgpPeerEnablePtr) ToRouterBgpPeerEnablePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerEnablePtrOutput) } +func (in *routerBgpPeerEnablePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerEnable] { + return pulumix.Output[*RouterBgpPeerEnable]{ + OutputState: in.ToRouterBgpPeerEnablePtrOutputWithContext(ctx).OutputState, + } +} + // The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. type RouterNatAutoNetworkTier string @@ -25044,6 +27715,12 @@ func (o RouterNatAutoNetworkTierOutput) ToRouterNatAutoNetworkTierPtrOutputWithC }).(RouterNatAutoNetworkTierPtrOutput) } +func (o RouterNatAutoNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatAutoNetworkTier] { + return pulumix.Output[RouterNatAutoNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o RouterNatAutoNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25079,6 +27756,12 @@ func (o RouterNatAutoNetworkTierPtrOutput) ToRouterNatAutoNetworkTierPtrOutputWi return o } +func (o RouterNatAutoNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatAutoNetworkTier] { + return pulumix.Output[*RouterNatAutoNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o RouterNatAutoNetworkTierPtrOutput) Elem() RouterNatAutoNetworkTierOutput { return o.ApplyT(func(v *RouterNatAutoNetworkTier) RouterNatAutoNetworkTier { if v != nil { @@ -25141,6 +27824,12 @@ func (in *routerNatAutoNetworkTierPtr) ToRouterNatAutoNetworkTierPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RouterNatAutoNetworkTierPtrOutput) } +func (in *routerNatAutoNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatAutoNetworkTier] { + return pulumix.Output[*RouterNatAutoNetworkTier]{ + OutputState: in.ToRouterNatAutoNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + type RouterNatEndpointTypesItem string const ( @@ -25210,6 +27899,12 @@ func (o RouterNatEndpointTypesItemOutput) ToRouterNatEndpointTypesItemPtrOutputW }).(RouterNatEndpointTypesItemPtrOutput) } +func (o RouterNatEndpointTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatEndpointTypesItem] { + return pulumix.Output[RouterNatEndpointTypesItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatEndpointTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25245,6 +27940,12 @@ func (o RouterNatEndpointTypesItemPtrOutput) ToRouterNatEndpointTypesItemPtrOutp return o } +func (o RouterNatEndpointTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatEndpointTypesItem] { + return pulumix.Output[*RouterNatEndpointTypesItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatEndpointTypesItemPtrOutput) Elem() RouterNatEndpointTypesItemOutput { return o.ApplyT(func(v *RouterNatEndpointTypesItem) RouterNatEndpointTypesItem { if v != nil { @@ -25307,6 +28008,12 @@ func (in *routerNatEndpointTypesItemPtr) ToRouterNatEndpointTypesItemPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RouterNatEndpointTypesItemPtrOutput) } +func (in *routerNatEndpointTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatEndpointTypesItem] { + return pulumix.Output[*RouterNatEndpointTypesItem]{ + OutputState: in.ToRouterNatEndpointTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterNatEndpointTypesItemArrayInput is an input type that accepts RouterNatEndpointTypesItemArray and RouterNatEndpointTypesItemArrayOutput values. // You can construct a concrete instance of `RouterNatEndpointTypesItemArrayInput` via: // @@ -25332,6 +28039,12 @@ func (i RouterNatEndpointTypesItemArray) ToRouterNatEndpointTypesItemArrayOutput return pulumi.ToOutputWithContext(ctx, i).(RouterNatEndpointTypesItemArrayOutput) } +func (i RouterNatEndpointTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatEndpointTypesItem] { + return pulumix.Output[[]RouterNatEndpointTypesItem]{ + OutputState: i.ToRouterNatEndpointTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterNatEndpointTypesItemArrayOutput struct{ *pulumi.OutputState } func (RouterNatEndpointTypesItemArrayOutput) ElementType() reflect.Type { @@ -25346,6 +28059,12 @@ func (o RouterNatEndpointTypesItemArrayOutput) ToRouterNatEndpointTypesItemArray return o } +func (o RouterNatEndpointTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatEndpointTypesItem] { + return pulumix.Output[[]RouterNatEndpointTypesItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatEndpointTypesItemArrayOutput) Index(i pulumi.IntInput) RouterNatEndpointTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatEndpointTypesItem { return vs[0].([]RouterNatEndpointTypesItem)[vs[1].(int)] @@ -25424,6 +28143,12 @@ func (o RouterNatLogConfigFilterOutput) ToRouterNatLogConfigFilterPtrOutputWithC }).(RouterNatLogConfigFilterPtrOutput) } +func (o RouterNatLogConfigFilterOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfigFilter] { + return pulumix.Output[RouterNatLogConfigFilter]{ + OutputState: o.OutputState, + } +} + func (o RouterNatLogConfigFilterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25459,6 +28184,12 @@ func (o RouterNatLogConfigFilterPtrOutput) ToRouterNatLogConfigFilterPtrOutputWi return o } +func (o RouterNatLogConfigFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfigFilter] { + return pulumix.Output[*RouterNatLogConfigFilter]{ + OutputState: o.OutputState, + } +} + func (o RouterNatLogConfigFilterPtrOutput) Elem() RouterNatLogConfigFilterOutput { return o.ApplyT(func(v *RouterNatLogConfigFilter) RouterNatLogConfigFilter { if v != nil { @@ -25521,6 +28252,12 @@ func (in *routerNatLogConfigFilterPtr) ToRouterNatLogConfigFilterPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RouterNatLogConfigFilterPtrOutput) } +func (in *routerNatLogConfigFilterPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfigFilter] { + return pulumix.Output[*RouterNatLogConfigFilter]{ + OutputState: in.ToRouterNatLogConfigFilterPtrOutputWithContext(ctx).OutputState, + } +} + // Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. type RouterNatNatIpAllocateOption string @@ -25591,6 +28328,12 @@ func (o RouterNatNatIpAllocateOptionOutput) ToRouterNatNatIpAllocateOptionPtrOut }).(RouterNatNatIpAllocateOptionPtrOutput) } +func (o RouterNatNatIpAllocateOptionOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatNatIpAllocateOption] { + return pulumix.Output[RouterNatNatIpAllocateOption]{ + OutputState: o.OutputState, + } +} + func (o RouterNatNatIpAllocateOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25626,6 +28369,12 @@ func (o RouterNatNatIpAllocateOptionPtrOutput) ToRouterNatNatIpAllocateOptionPtr return o } +func (o RouterNatNatIpAllocateOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatNatIpAllocateOption] { + return pulumix.Output[*RouterNatNatIpAllocateOption]{ + OutputState: o.OutputState, + } +} + func (o RouterNatNatIpAllocateOptionPtrOutput) Elem() RouterNatNatIpAllocateOptionOutput { return o.ApplyT(func(v *RouterNatNatIpAllocateOption) RouterNatNatIpAllocateOption { if v != nil { @@ -25688,6 +28437,12 @@ func (in *routerNatNatIpAllocateOptionPtr) ToRouterNatNatIpAllocateOptionPtrOutp return pulumi.ToOutputWithContext(ctx, in).(RouterNatNatIpAllocateOptionPtrOutput) } +func (in *routerNatNatIpAllocateOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatNatIpAllocateOption] { + return pulumix.Output[*RouterNatNatIpAllocateOption]{ + OutputState: in.ToRouterNatNatIpAllocateOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there should not be any other Router.Nat section in any Router for this network in this region. type RouterNatSourceSubnetworkIpRangesToNat string @@ -25760,6 +28515,12 @@ func (o RouterNatSourceSubnetworkIpRangesToNatOutput) ToRouterNatSourceSubnetwor }).(RouterNatSourceSubnetworkIpRangesToNatPtrOutput) } +func (o RouterNatSourceSubnetworkIpRangesToNatOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSourceSubnetworkIpRangesToNat] { + return pulumix.Output[RouterNatSourceSubnetworkIpRangesToNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSourceSubnetworkIpRangesToNatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25795,6 +28556,12 @@ func (o RouterNatSourceSubnetworkIpRangesToNatPtrOutput) ToRouterNatSourceSubnet return o } +func (o RouterNatSourceSubnetworkIpRangesToNatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat] { + return pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSourceSubnetworkIpRangesToNatPtrOutput) Elem() RouterNatSourceSubnetworkIpRangesToNatOutput { return o.ApplyT(func(v *RouterNatSourceSubnetworkIpRangesToNat) RouterNatSourceSubnetworkIpRangesToNat { if v != nil { @@ -25857,6 +28624,12 @@ func (in *routerNatSourceSubnetworkIpRangesToNatPtr) ToRouterNatSourceSubnetwork return pulumi.ToOutputWithContext(ctx, in).(RouterNatSourceSubnetworkIpRangesToNatPtrOutput) } +func (in *routerNatSourceSubnetworkIpRangesToNatPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat] { + return pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat]{ + OutputState: in.ToRouterNatSourceSubnetworkIpRangesToNatPtrOutputWithContext(ctx).OutputState, + } +} + type RouterNatSubnetworkToNatSourceIpRangesToNatItem string const ( @@ -25928,6 +28701,12 @@ func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput) ToRouterNatSubnet }).(RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) } +func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25963,6 +28742,12 @@ func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) ToRouterNatSub return o } +func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) Elem() RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput { return o.ApplyT(func(v *RouterNatSubnetworkToNatSourceIpRangesToNatItem) RouterNatSubnetworkToNatSourceIpRangesToNatItem { if v != nil { @@ -26025,6 +28810,12 @@ func (in *routerNatSubnetworkToNatSourceIpRangesToNatItemPtr) ToRouterNatSubnetw return pulumi.ToOutputWithContext(ctx, in).(RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) } +func (in *routerNatSubnetworkToNatSourceIpRangesToNatItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: in.ToRouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayInput is an input type that accepts RouterNatSubnetworkToNatSourceIpRangesToNatItemArray and RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput values. // You can construct a concrete instance of `RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayInput` via: // @@ -26050,6 +28841,12 @@ func (i RouterNatSubnetworkToNatSourceIpRangesToNatItemArray) ToRouterNatSubnetw return pulumi.ToOutputWithContext(ctx, i).(RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) } +func (i RouterNatSubnetworkToNatSourceIpRangesToNatItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: i.ToRouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput struct{ *pulumi.OutputState } func (RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) ElementType() reflect.Type { @@ -26064,6 +28861,12 @@ func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) ToRouterNatS return o } +func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) Index(i pulumi.IntInput) RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatSubnetworkToNatSourceIpRangesToNatItem { return vs[0].([]RouterNatSubnetworkToNatSourceIpRangesToNatItem)[vs[1].(int)] @@ -26148,6 +28951,12 @@ func (o RuleActionOutput) ToRuleActionPtrOutputWithContext(ctx context.Context) }).(RuleActionPtrOutput) } +func (o RuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[RuleAction] { + return pulumix.Output[RuleAction]{ + OutputState: o.OutputState, + } +} + func (o RuleActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26183,6 +28992,12 @@ func (o RuleActionPtrOutput) ToRuleActionPtrOutputWithContext(ctx context.Contex return o } +func (o RuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuleAction] { + return pulumix.Output[*RuleAction]{ + OutputState: o.OutputState, + } +} + func (o RuleActionPtrOutput) Elem() RuleActionOutput { return o.ApplyT(func(v *RuleAction) RuleAction { if v != nil { @@ -26245,6 +29060,12 @@ func (in *ruleActionPtr) ToRuleActionPtrOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, in).(RuleActionPtrOutput) } +func (in *ruleActionPtr) ToOutput(ctx context.Context) pulumix.Output[*RuleAction] { + return pulumix.Output[*RuleAction]{ + OutputState: in.ToRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type SSLHealthCheckPortSpecification string @@ -26317,6 +29138,12 @@ func (o SSLHealthCheckPortSpecificationOutput) ToSSLHealthCheckPortSpecification }).(SSLHealthCheckPortSpecificationPtrOutput) } +func (o SSLHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheckPortSpecification] { + return pulumix.Output[SSLHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26352,6 +29179,12 @@ func (o SSLHealthCheckPortSpecificationPtrOutput) ToSSLHealthCheckPortSpecificat return o } +func (o SSLHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckPortSpecification] { + return pulumix.Output[*SSLHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckPortSpecificationPtrOutput) Elem() SSLHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *SSLHealthCheckPortSpecification) SSLHealthCheckPortSpecification { if v != nil { @@ -26414,6 +29247,12 @@ func (in *sslhealthCheckPortSpecificationPtr) ToSSLHealthCheckPortSpecificationP return pulumi.ToOutputWithContext(ctx, in).(SSLHealthCheckPortSpecificationPtrOutput) } +func (in *sslhealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckPortSpecification] { + return pulumix.Output[*SSLHealthCheckPortSpecification]{ + OutputState: in.ToSSLHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type SSLHealthCheckProxyHeader string @@ -26482,6 +29321,12 @@ func (o SSLHealthCheckProxyHeaderOutput) ToSSLHealthCheckProxyHeaderPtrOutputWit }).(SSLHealthCheckProxyHeaderPtrOutput) } +func (o SSLHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheckProxyHeader] { + return pulumix.Output[SSLHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26517,6 +29362,12 @@ func (o SSLHealthCheckProxyHeaderPtrOutput) ToSSLHealthCheckProxyHeaderPtrOutput return o } +func (o SSLHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckProxyHeader] { + return pulumix.Output[*SSLHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckProxyHeaderPtrOutput) Elem() SSLHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *SSLHealthCheckProxyHeader) SSLHealthCheckProxyHeader { if v != nil { @@ -26579,6 +29430,12 @@ func (in *sslhealthCheckProxyHeaderPtr) ToSSLHealthCheckProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(SSLHealthCheckProxyHeaderPtrOutput) } +func (in *sslhealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckProxyHeader] { + return pulumix.Output[*SSLHealthCheckProxyHeader]{ + OutputState: in.ToSSLHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the termination action for the instance. type SchedulingInstanceTerminationAction string @@ -26651,6 +29508,12 @@ func (o SchedulingInstanceTerminationActionOutput) ToSchedulingInstanceTerminati }).(SchedulingInstanceTerminationActionPtrOutput) } +func (o SchedulingInstanceTerminationActionOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingInstanceTerminationAction] { + return pulumix.Output[SchedulingInstanceTerminationAction]{ + OutputState: o.OutputState, + } +} + func (o SchedulingInstanceTerminationActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26686,6 +29549,12 @@ func (o SchedulingInstanceTerminationActionPtrOutput) ToSchedulingInstanceTermin return o } +func (o SchedulingInstanceTerminationActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingInstanceTerminationAction] { + return pulumix.Output[*SchedulingInstanceTerminationAction]{ + OutputState: o.OutputState, + } +} + func (o SchedulingInstanceTerminationActionPtrOutput) Elem() SchedulingInstanceTerminationActionOutput { return o.ApplyT(func(v *SchedulingInstanceTerminationAction) SchedulingInstanceTerminationAction { if v != nil { @@ -26748,6 +29617,12 @@ func (in *schedulingInstanceTerminationActionPtr) ToSchedulingInstanceTerminatio return pulumi.ToOutputWithContext(ctx, in).(SchedulingInstanceTerminationActionPtrOutput) } +func (in *schedulingInstanceTerminationActionPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingInstanceTerminationAction] { + return pulumix.Output[*SchedulingInstanceTerminationAction]{ + OutputState: in.ToSchedulingInstanceTerminationActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`. type SchedulingMaintenanceInterval string @@ -26816,6 +29691,12 @@ func (o SchedulingMaintenanceIntervalOutput) ToSchedulingMaintenanceIntervalPtrO }).(SchedulingMaintenanceIntervalPtrOutput) } +func (o SchedulingMaintenanceIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingMaintenanceInterval] { + return pulumix.Output[SchedulingMaintenanceInterval]{ + OutputState: o.OutputState, + } +} + func (o SchedulingMaintenanceIntervalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26851,6 +29732,12 @@ func (o SchedulingMaintenanceIntervalPtrOutput) ToSchedulingMaintenanceIntervalP return o } +func (o SchedulingMaintenanceIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingMaintenanceInterval] { + return pulumix.Output[*SchedulingMaintenanceInterval]{ + OutputState: o.OutputState, + } +} + func (o SchedulingMaintenanceIntervalPtrOutput) Elem() SchedulingMaintenanceIntervalOutput { return o.ApplyT(func(v *SchedulingMaintenanceInterval) SchedulingMaintenanceInterval { if v != nil { @@ -26913,6 +29800,12 @@ func (in *schedulingMaintenanceIntervalPtr) ToSchedulingMaintenanceIntervalPtrOu return pulumi.ToOutputWithContext(ctx, in).(SchedulingMaintenanceIntervalPtrOutput) } +func (in *schedulingMaintenanceIntervalPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingMaintenanceInterval] { + return pulumix.Output[*SchedulingMaintenanceInterval]{ + OutputState: in.ToSchedulingMaintenanceIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. type SchedulingNodeAffinityOperator string @@ -26984,6 +29877,12 @@ func (o SchedulingNodeAffinityOperatorOutput) ToSchedulingNodeAffinityOperatorPt }).(SchedulingNodeAffinityOperatorPtrOutput) } +func (o SchedulingNodeAffinityOperatorOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinityOperator] { + return pulumix.Output[SchedulingNodeAffinityOperator]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityOperatorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27019,6 +29918,12 @@ func (o SchedulingNodeAffinityOperatorPtrOutput) ToSchedulingNodeAffinityOperato return o } +func (o SchedulingNodeAffinityOperatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingNodeAffinityOperator] { + return pulumix.Output[*SchedulingNodeAffinityOperator]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityOperatorPtrOutput) Elem() SchedulingNodeAffinityOperatorOutput { return o.ApplyT(func(v *SchedulingNodeAffinityOperator) SchedulingNodeAffinityOperator { if v != nil { @@ -27081,6 +29986,12 @@ func (in *schedulingNodeAffinityOperatorPtr) ToSchedulingNodeAffinityOperatorPtr return pulumi.ToOutputWithContext(ctx, in).(SchedulingNodeAffinityOperatorPtrOutput) } +func (in *schedulingNodeAffinityOperatorPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingNodeAffinityOperator] { + return pulumix.Output[*SchedulingNodeAffinityOperator]{ + OutputState: in.ToSchedulingNodeAffinityOperatorPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. type SchedulingOnHostMaintenance string @@ -27151,6 +30062,12 @@ func (o SchedulingOnHostMaintenanceOutput) ToSchedulingOnHostMaintenancePtrOutpu }).(SchedulingOnHostMaintenancePtrOutput) } +func (o SchedulingOnHostMaintenanceOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingOnHostMaintenance] { + return pulumix.Output[SchedulingOnHostMaintenance]{ + OutputState: o.OutputState, + } +} + func (o SchedulingOnHostMaintenanceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27186,6 +30103,12 @@ func (o SchedulingOnHostMaintenancePtrOutput) ToSchedulingOnHostMaintenancePtrOu return o } +func (o SchedulingOnHostMaintenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingOnHostMaintenance] { + return pulumix.Output[*SchedulingOnHostMaintenance]{ + OutputState: o.OutputState, + } +} + func (o SchedulingOnHostMaintenancePtrOutput) Elem() SchedulingOnHostMaintenanceOutput { return o.ApplyT(func(v *SchedulingOnHostMaintenance) SchedulingOnHostMaintenance { if v != nil { @@ -27248,6 +30171,12 @@ func (in *schedulingOnHostMaintenancePtr) ToSchedulingOnHostMaintenancePtrOutput return pulumi.ToOutputWithContext(ctx, in).(SchedulingOnHostMaintenancePtrOutput) } +func (in *schedulingOnHostMaintenancePtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingOnHostMaintenance] { + return pulumix.Output[*SchedulingOnHostMaintenance]{ + OutputState: in.ToSchedulingOnHostMaintenancePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the provisioning model of the instance. type SchedulingProvisioningModel string @@ -27318,6 +30247,12 @@ func (o SchedulingProvisioningModelOutput) ToSchedulingProvisioningModelPtrOutpu }).(SchedulingProvisioningModelPtrOutput) } +func (o SchedulingProvisioningModelOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingProvisioningModel] { + return pulumix.Output[SchedulingProvisioningModel]{ + OutputState: o.OutputState, + } +} + func (o SchedulingProvisioningModelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27353,6 +30288,12 @@ func (o SchedulingProvisioningModelPtrOutput) ToSchedulingProvisioningModelPtrOu return o } +func (o SchedulingProvisioningModelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingProvisioningModel] { + return pulumix.Output[*SchedulingProvisioningModel]{ + OutputState: o.OutputState, + } +} + func (o SchedulingProvisioningModelPtrOutput) Elem() SchedulingProvisioningModelOutput { return o.ApplyT(func(v *SchedulingProvisioningModel) SchedulingProvisioningModel { if v != nil { @@ -27415,6 +30356,12 @@ func (in *schedulingProvisioningModelPtr) ToSchedulingProvisioningModelPtrOutput return pulumi.ToOutputWithContext(ctx, in).(SchedulingProvisioningModelPtrOutput) } +func (in *schedulingProvisioningModelPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingProvisioningModel] { + return pulumix.Output[*SchedulingProvisioningModel]{ + OutputState: in.ToSchedulingProvisioningModelPtrOutputWithContext(ctx).OutputState, + } +} + // Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility string @@ -27483,6 +30430,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibil }).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27518,6 +30471,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibil return o } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility) SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility { if v != nil { @@ -27580,6 +30539,12 @@ func (in *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisib return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) } +func (in *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility]{ + OutputState: in.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigJsonParsing string const ( @@ -27647,6 +30612,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonParsingOutput) ToSecurityPolicyAd }).(SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigJsonParsingOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonParsing] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonParsing]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigJsonParsingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27682,6 +30653,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) ToSecurityPolic return o } +func (o SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigJsonParsingOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfigJsonParsing) SecurityPolicyAdvancedOptionsConfigJsonParsing { if v != nil { @@ -27744,6 +30721,12 @@ func (in *securityPolicyAdvancedOptionsConfigJsonParsingPtr) ToSecurityPolicyAdv return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) } +func (in *securityPolicyAdvancedOptionsConfigJsonParsingPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing]{ + OutputState: in.ToSecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigLogLevel string const ( @@ -27811,6 +30794,12 @@ func (o SecurityPolicyAdvancedOptionsConfigLogLevelOutput) ToSecurityPolicyAdvan }).(SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigLogLevelOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigLogLevel] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigLogLevel]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigLogLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27846,6 +30835,12 @@ func (o SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) ToSecurityPolicyAd return o } +func (o SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigLogLevelOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfigLogLevel) SecurityPolicyAdvancedOptionsConfigLogLevel { if v != nil { @@ -27908,6 +30903,12 @@ func (in *securityPolicyAdvancedOptionsConfigLogLevelPtr) ToSecurityPolicyAdvanc return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) } +func (in *securityPolicyAdvancedOptionsConfigLogLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel]{ + OutputState: in.ToSecurityPolicyAdvancedOptionsConfigLogLevelPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyDdosProtectionConfigDdosProtection string const ( @@ -27976,6 +30977,12 @@ func (o SecurityPolicyDdosProtectionConfigDdosProtectionOutput) ToSecurityPolicy }).(SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) } +func (o SecurityPolicyDdosProtectionConfigDdosProtectionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfigDdosProtection] { + return pulumix.Output[SecurityPolicyDdosProtectionConfigDdosProtection]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigDdosProtectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28011,6 +31018,12 @@ func (o SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) ToSecurityPol return o } +func (o SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) Elem() SecurityPolicyDdosProtectionConfigDdosProtectionOutput { return o.ApplyT(func(v *SecurityPolicyDdosProtectionConfigDdosProtection) SecurityPolicyDdosProtectionConfigDdosProtection { if v != nil { @@ -28073,6 +31086,12 @@ func (in *securityPolicyDdosProtectionConfigDdosProtectionPtr) ToSecurityPolicyD return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) } +func (in *securityPolicyDdosProtectionConfigDdosProtectionPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection]{ + OutputState: in.ToSecurityPolicyDdosProtectionConfigDdosProtectionPtrOutputWithContext(ctx).OutputState, + } +} + // The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL. type SecurityPolicyRuleDirection string @@ -28141,6 +31160,12 @@ func (o SecurityPolicyRuleDirectionOutput) ToSecurityPolicyRuleDirectionPtrOutpu }).(SecurityPolicyRuleDirectionPtrOutput) } +func (o SecurityPolicyRuleDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleDirection] { + return pulumix.Output[SecurityPolicyRuleDirection]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28176,6 +31201,12 @@ func (o SecurityPolicyRuleDirectionPtrOutput) ToSecurityPolicyRuleDirectionPtrOu return o } +func (o SecurityPolicyRuleDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleDirection] { + return pulumix.Output[*SecurityPolicyRuleDirection]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleDirectionPtrOutput) Elem() SecurityPolicyRuleDirectionOutput { return o.ApplyT(func(v *SecurityPolicyRuleDirection) SecurityPolicyRuleDirection { if v != nil { @@ -28238,6 +31269,12 @@ func (in *securityPolicyRuleDirectionPtr) ToSecurityPolicyRuleDirectionPtrOutput return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleDirectionPtrOutput) } +func (in *securityPolicyRuleDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleDirection] { + return pulumix.Output[*SecurityPolicyRuleDirection]{ + OutputState: in.ToSecurityPolicyRuleDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. type SecurityPolicyRuleMatcherVersionedExpr string @@ -28307,6 +31344,12 @@ func (o SecurityPolicyRuleMatcherVersionedExprOutput) ToSecurityPolicyRuleMatche }).(SecurityPolicyRuleMatcherVersionedExprPtrOutput) } +func (o SecurityPolicyRuleMatcherVersionedExprOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherVersionedExpr] { + return pulumix.Output[SecurityPolicyRuleMatcherVersionedExpr]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherVersionedExprOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28342,6 +31385,12 @@ func (o SecurityPolicyRuleMatcherVersionedExprPtrOutput) ToSecurityPolicyRuleMat return o } +func (o SecurityPolicyRuleMatcherVersionedExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr] { + return pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherVersionedExprPtrOutput) Elem() SecurityPolicyRuleMatcherVersionedExprOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcherVersionedExpr) SecurityPolicyRuleMatcherVersionedExpr { if v != nil { @@ -28404,6 +31453,12 @@ func (in *securityPolicyRuleMatcherVersionedExprPtr) ToSecurityPolicyRuleMatcher return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleMatcherVersionedExprPtrOutput) } +func (in *securityPolicyRuleMatcherVersionedExprPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr] { + return pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr]{ + OutputState: in.ToSecurityPolicyRuleMatcherVersionedExprPtrOutputWithContext(ctx).OutputState, + } +} + // The match operator for the field. type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp string @@ -28480,6 +31535,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput) To }).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28515,6 +31576,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) Elem() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput { return o.ApplyT(func(v *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp { if v != nil { @@ -28577,6 +31644,12 @@ func (in *securityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtr) ToS return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) } +func (in *securityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp]{ + OutputState: in.ToSecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutputWithContext(ctx).OutputState, + } +} + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. type SecurityPolicyRuleRateLimitOptionsEnforceOnKey string @@ -28652,6 +31725,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput) ToSecurityPolicyRu }).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKey] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKey]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28687,6 +31766,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) ToSecurityPolic return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptionsEnforceOnKey) SecurityPolicyRuleRateLimitOptionsEnforceOnKey { if v != nil { @@ -28749,6 +31834,12 @@ func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyPtr) ToSecurityPolicyRul return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) } +func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey]{ + OutputState: in.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType string @@ -28824,6 +31915,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutp }).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28859,6 +31956,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrO return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType { if v != nil { @@ -28921,6 +32024,12 @@ func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePt return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) } +func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType]{ + OutputState: in.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the redirect action. type SecurityPolicyRuleRedirectOptionsType string @@ -28989,6 +32098,12 @@ func (o SecurityPolicyRuleRedirectOptionsTypeOutput) ToSecurityPolicyRuleRedirec }).(SecurityPolicyRuleRedirectOptionsTypePtrOutput) } +func (o SecurityPolicyRuleRedirectOptionsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptionsType] { + return pulumix.Output[SecurityPolicyRuleRedirectOptionsType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRedirectOptionsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29024,6 +32139,12 @@ func (o SecurityPolicyRuleRedirectOptionsTypePtrOutput) ToSecurityPolicyRuleRedi return o } +func (o SecurityPolicyRuleRedirectOptionsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptionsType] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptionsType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRedirectOptionsTypePtrOutput) Elem() SecurityPolicyRuleRedirectOptionsTypeOutput { return o.ApplyT(func(v *SecurityPolicyRuleRedirectOptionsType) SecurityPolicyRuleRedirectOptionsType { if v != nil { @@ -29086,6 +32207,12 @@ func (in *securityPolicyRuleRedirectOptionsTypePtr) ToSecurityPolicyRuleRedirect return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleRedirectOptionsTypePtrOutput) } +func (in *securityPolicyRuleRedirectOptionsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptionsType] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptionsType]{ + OutputState: in.ToSecurityPolicyRuleRedirectOptionsTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. type SecurityPolicyType string @@ -29156,6 +32283,12 @@ func (o SecurityPolicyTypeOutput) ToSecurityPolicyTypePtrOutputWithContext(ctx c }).(SecurityPolicyTypePtrOutput) } +func (o SecurityPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyType] { + return pulumix.Output[SecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29191,6 +32324,12 @@ func (o SecurityPolicyTypePtrOutput) ToSecurityPolicyTypePtrOutputWithContext(ct return o } +func (o SecurityPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyType] { + return pulumix.Output[*SecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyTypePtrOutput) Elem() SecurityPolicyTypeOutput { return o.ApplyT(func(v *SecurityPolicyType) SecurityPolicyType { if v != nil { @@ -29253,6 +32392,12 @@ func (in *securityPolicyTypePtr) ToSecurityPolicyTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyTypePtrOutput) } +func (in *securityPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyType] { + return pulumix.Output[*SecurityPolicyType]{ + OutputState: in.ToSecurityPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required type SecurityPolicyUserDefinedFieldBase string @@ -29323,6 +32468,12 @@ func (o SecurityPolicyUserDefinedFieldBaseOutput) ToSecurityPolicyUserDefinedFie }).(SecurityPolicyUserDefinedFieldBasePtrOutput) } +func (o SecurityPolicyUserDefinedFieldBaseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyUserDefinedFieldBase] { + return pulumix.Output[SecurityPolicyUserDefinedFieldBase]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyUserDefinedFieldBaseOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29358,6 +32509,12 @@ func (o SecurityPolicyUserDefinedFieldBasePtrOutput) ToSecurityPolicyUserDefined return o } +func (o SecurityPolicyUserDefinedFieldBasePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyUserDefinedFieldBase] { + return pulumix.Output[*SecurityPolicyUserDefinedFieldBase]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyUserDefinedFieldBasePtrOutput) Elem() SecurityPolicyUserDefinedFieldBaseOutput { return o.ApplyT(func(v *SecurityPolicyUserDefinedFieldBase) SecurityPolicyUserDefinedFieldBase { if v != nil { @@ -29420,6 +32577,12 @@ func (in *securityPolicyUserDefinedFieldBasePtr) ToSecurityPolicyUserDefinedFiel return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyUserDefinedFieldBasePtrOutput) } +func (in *securityPolicyUserDefinedFieldBasePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyUserDefinedFieldBase] { + return pulumix.Output[*SecurityPolicyUserDefinedFieldBase]{ + OutputState: in.ToSecurityPolicyUserDefinedFieldBasePtrOutputWithContext(ctx).OutputState, + } +} + type ServerBindingType string const ( @@ -29490,6 +32653,12 @@ func (o ServerBindingTypeOutput) ToServerBindingTypePtrOutputWithContext(ctx con }).(ServerBindingTypePtrOutput) } +func (o ServerBindingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServerBindingType] { + return pulumix.Output[ServerBindingType]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29525,6 +32694,12 @@ func (o ServerBindingTypePtrOutput) ToServerBindingTypePtrOutputWithContext(ctx return o } +func (o ServerBindingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerBindingType] { + return pulumix.Output[*ServerBindingType]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingTypePtrOutput) Elem() ServerBindingTypeOutput { return o.ApplyT(func(v *ServerBindingType) ServerBindingType { if v != nil { @@ -29587,6 +32762,12 @@ func (in *serverBindingTypePtr) ToServerBindingTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(ServerBindingTypePtrOutput) } +func (in *serverBindingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServerBindingType] { + return pulumix.Output[*ServerBindingType]{ + OutputState: in.ToServerBindingTypePtrOutputWithContext(ctx).OutputState, + } +} + // The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. type ServiceAttachmentConnectionPreference string @@ -29656,6 +32837,12 @@ func (o ServiceAttachmentConnectionPreferenceOutput) ToServiceAttachmentConnecti }).(ServiceAttachmentConnectionPreferencePtrOutput) } +func (o ServiceAttachmentConnectionPreferenceOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConnectionPreference] { + return pulumix.Output[ServiceAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConnectionPreferenceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29691,6 +32878,12 @@ func (o ServiceAttachmentConnectionPreferencePtrOutput) ToServiceAttachmentConne return o } +func (o ServiceAttachmentConnectionPreferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentConnectionPreference] { + return pulumix.Output[*ServiceAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConnectionPreferencePtrOutput) Elem() ServiceAttachmentConnectionPreferenceOutput { return o.ApplyT(func(v *ServiceAttachmentConnectionPreference) ServiceAttachmentConnectionPreference { if v != nil { @@ -29753,6 +32946,12 @@ func (in *serviceAttachmentConnectionPreferencePtr) ToServiceAttachmentConnectio return pulumi.ToOutputWithContext(ctx, in).(ServiceAttachmentConnectionPreferencePtrOutput) } +func (in *serviceAttachmentConnectionPreferencePtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentConnectionPreference] { + return pulumix.Output[*ServiceAttachmentConnectionPreference]{ + OutputState: in.ToServiceAttachmentConnectionPreferencePtrOutputWithContext(ctx).OutputState, + } +} + // Type of sharing for this shared-reservation type ShareSettingsShareType string @@ -29827,6 +33026,12 @@ func (o ShareSettingsShareTypeOutput) ToShareSettingsShareTypePtrOutputWithConte }).(ShareSettingsShareTypePtrOutput) } +func (o ShareSettingsShareTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ShareSettingsShareType] { + return pulumix.Output[ShareSettingsShareType]{ + OutputState: o.OutputState, + } +} + func (o ShareSettingsShareTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29862,6 +33067,12 @@ func (o ShareSettingsShareTypePtrOutput) ToShareSettingsShareTypePtrOutputWithCo return o } +func (o ShareSettingsShareTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShareSettingsShareType] { + return pulumix.Output[*ShareSettingsShareType]{ + OutputState: o.OutputState, + } +} + func (o ShareSettingsShareTypePtrOutput) Elem() ShareSettingsShareTypeOutput { return o.ApplyT(func(v *ShareSettingsShareType) ShareSettingsShareType { if v != nil { @@ -29924,6 +33135,12 @@ func (in *shareSettingsShareTypePtr) ToShareSettingsShareTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ShareSettingsShareTypePtrOutput) } +func (in *shareSettingsShareTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ShareSettingsShareType] { + return pulumix.Output[*ShareSettingsShareType]{ + OutputState: in.ToShareSettingsShareTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the type of the snapshot. type SnapshotSnapshotType string @@ -29992,6 +33209,12 @@ func (o SnapshotSnapshotTypeOutput) ToSnapshotSnapshotTypePtrOutputWithContext(c }).(SnapshotSnapshotTypePtrOutput) } +func (o SnapshotSnapshotTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SnapshotSnapshotType] { + return pulumix.Output[SnapshotSnapshotType]{ + OutputState: o.OutputState, + } +} + func (o SnapshotSnapshotTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30027,6 +33250,12 @@ func (o SnapshotSnapshotTypePtrOutput) ToSnapshotSnapshotTypePtrOutputWithContex return o } +func (o SnapshotSnapshotTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotSnapshotType] { + return pulumix.Output[*SnapshotSnapshotType]{ + OutputState: o.OutputState, + } +} + func (o SnapshotSnapshotTypePtrOutput) Elem() SnapshotSnapshotTypeOutput { return o.ApplyT(func(v *SnapshotSnapshotType) SnapshotSnapshotType { if v != nil { @@ -30089,6 +33318,12 @@ func (in *snapshotSnapshotTypePtr) ToSnapshotSnapshotTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(SnapshotSnapshotTypePtrOutput) } +func (in *snapshotSnapshotTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SnapshotSnapshotType] { + return pulumix.Output[*SnapshotSnapshotType]{ + OutputState: in.ToSnapshotSnapshotTypePtrOutputWithContext(ctx).OutputState, + } +} + // (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. type SslCertificateType string @@ -30160,6 +33395,12 @@ func (o SslCertificateTypeOutput) ToSslCertificateTypePtrOutputWithContext(ctx c }).(SslCertificateTypePtrOutput) } +func (o SslCertificateTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateType] { + return pulumix.Output[SslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30195,6 +33436,12 @@ func (o SslCertificateTypePtrOutput) ToSslCertificateTypePtrOutputWithContext(ct return o } +func (o SslCertificateTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateType] { + return pulumix.Output[*SslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateTypePtrOutput) Elem() SslCertificateTypeOutput { return o.ApplyT(func(v *SslCertificateType) SslCertificateType { if v != nil { @@ -30257,6 +33504,12 @@ func (in *sslCertificateTypePtr) ToSslCertificateTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(SslCertificateTypePtrOutput) } +func (in *sslCertificateTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateType] { + return pulumix.Output[*SslCertificateType]{ + OutputState: in.ToSslCertificateTypePtrOutputWithContext(ctx).OutputState, + } +} + // The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. type SslPolicyMinTlsVersion string @@ -30329,6 +33582,12 @@ func (o SslPolicyMinTlsVersionOutput) ToSslPolicyMinTlsVersionPtrOutputWithConte }).(SslPolicyMinTlsVersionPtrOutput) } +func (o SslPolicyMinTlsVersionOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyMinTlsVersion] { + return pulumix.Output[SslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyMinTlsVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30364,6 +33623,12 @@ func (o SslPolicyMinTlsVersionPtrOutput) ToSslPolicyMinTlsVersionPtrOutputWithCo return o } +func (o SslPolicyMinTlsVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyMinTlsVersion] { + return pulumix.Output[*SslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyMinTlsVersionPtrOutput) Elem() SslPolicyMinTlsVersionOutput { return o.ApplyT(func(v *SslPolicyMinTlsVersion) SslPolicyMinTlsVersion { if v != nil { @@ -30426,6 +33691,12 @@ func (in *sslPolicyMinTlsVersionPtr) ToSslPolicyMinTlsVersionPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(SslPolicyMinTlsVersionPtrOutput) } +func (in *sslPolicyMinTlsVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyMinTlsVersion] { + return pulumix.Output[*SslPolicyMinTlsVersion]{ + OutputState: in.ToSslPolicyMinTlsVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. type SslPolicyProfile string @@ -30500,6 +33771,12 @@ func (o SslPolicyProfileOutput) ToSslPolicyProfilePtrOutputWithContext(ctx conte }).(SslPolicyProfilePtrOutput) } +func (o SslPolicyProfileOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyProfile] { + return pulumix.Output[SslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30535,6 +33812,12 @@ func (o SslPolicyProfilePtrOutput) ToSslPolicyProfilePtrOutputWithContext(ctx co return o } +func (o SslPolicyProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyProfile] { + return pulumix.Output[*SslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyProfilePtrOutput) Elem() SslPolicyProfileOutput { return o.ApplyT(func(v *SslPolicyProfile) SslPolicyProfile { if v != nil { @@ -30597,6 +33880,12 @@ func (in *sslPolicyProfilePtr) ToSslPolicyProfilePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(SslPolicyProfilePtrOutput) } +func (in *sslPolicyProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyProfile] { + return pulumix.Output[*SslPolicyProfile]{ + OutputState: in.ToSslPolicyProfilePtrOutputWithContext(ctx).OutputState, + } +} + // The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. type SubnetworkIpv6AccessType string @@ -30667,6 +33956,12 @@ func (o SubnetworkIpv6AccessTypeOutput) ToSubnetworkIpv6AccessTypePtrOutputWithC }).(SubnetworkIpv6AccessTypePtrOutput) } +func (o SubnetworkIpv6AccessTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkIpv6AccessType] { + return pulumix.Output[SubnetworkIpv6AccessType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkIpv6AccessTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30702,6 +33997,12 @@ func (o SubnetworkIpv6AccessTypePtrOutput) ToSubnetworkIpv6AccessTypePtrOutputWi return o } +func (o SubnetworkIpv6AccessTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIpv6AccessType] { + return pulumix.Output[*SubnetworkIpv6AccessType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkIpv6AccessTypePtrOutput) Elem() SubnetworkIpv6AccessTypeOutput { return o.ApplyT(func(v *SubnetworkIpv6AccessType) SubnetworkIpv6AccessType { if v != nil { @@ -30764,6 +34065,12 @@ func (in *subnetworkIpv6AccessTypePtr) ToSubnetworkIpv6AccessTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(SubnetworkIpv6AccessTypePtrOutput) } +func (in *subnetworkIpv6AccessTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIpv6AccessType] { + return pulumix.Output[*SubnetworkIpv6AccessType]{ + OutputState: in.ToSubnetworkIpv6AccessTypePtrOutputWithContext(ctx).OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. type SubnetworkLogConfigAggregationInterval string @@ -30836,6 +34143,12 @@ func (o SubnetworkLogConfigAggregationIntervalOutput) ToSubnetworkLogConfigAggre }).(SubnetworkLogConfigAggregationIntervalPtrOutput) } +func (o SubnetworkLogConfigAggregationIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfigAggregationInterval] { + return pulumix.Output[SubnetworkLogConfigAggregationInterval]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigAggregationIntervalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30871,6 +34184,12 @@ func (o SubnetworkLogConfigAggregationIntervalPtrOutput) ToSubnetworkLogConfigAg return o } +func (o SubnetworkLogConfigAggregationIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigAggregationInterval] { + return pulumix.Output[*SubnetworkLogConfigAggregationInterval]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigAggregationIntervalPtrOutput) Elem() SubnetworkLogConfigAggregationIntervalOutput { return o.ApplyT(func(v *SubnetworkLogConfigAggregationInterval) SubnetworkLogConfigAggregationInterval { if v != nil { @@ -30933,6 +34252,12 @@ func (in *subnetworkLogConfigAggregationIntervalPtr) ToSubnetworkLogConfigAggreg return pulumi.ToOutputWithContext(ctx, in).(SubnetworkLogConfigAggregationIntervalPtrOutput) } +func (in *subnetworkLogConfigAggregationIntervalPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigAggregationInterval] { + return pulumix.Output[*SubnetworkLogConfigAggregationInterval]{ + OutputState: in.ToSubnetworkLogConfigAggregationIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA. type SubnetworkLogConfigMetadata string @@ -31002,6 +34327,12 @@ func (o SubnetworkLogConfigMetadataOutput) ToSubnetworkLogConfigMetadataPtrOutpu }).(SubnetworkLogConfigMetadataPtrOutput) } +func (o SubnetworkLogConfigMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfigMetadata] { + return pulumix.Output[SubnetworkLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigMetadataOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31037,6 +34368,12 @@ func (o SubnetworkLogConfigMetadataPtrOutput) ToSubnetworkLogConfigMetadataPtrOu return o } +func (o SubnetworkLogConfigMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigMetadata] { + return pulumix.Output[*SubnetworkLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigMetadataPtrOutput) Elem() SubnetworkLogConfigMetadataOutput { return o.ApplyT(func(v *SubnetworkLogConfigMetadata) SubnetworkLogConfigMetadata { if v != nil { @@ -31099,6 +34436,12 @@ func (in *subnetworkLogConfigMetadataPtr) ToSubnetworkLogConfigMetadataPtrOutput return pulumi.ToOutputWithContext(ctx, in).(SubnetworkLogConfigMetadataPtrOutput) } +func (in *subnetworkLogConfigMetadataPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigMetadata] { + return pulumix.Output[*SubnetworkLogConfigMetadata]{ + OutputState: in.ToSubnetworkLogConfigMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // This field is for internal use. This field can be both set at resource creation time and updated using patch. type SubnetworkPrivateIpv6GoogleAccess string @@ -31171,6 +34514,12 @@ func (o SubnetworkPrivateIpv6GoogleAccessOutput) ToSubnetworkPrivateIpv6GoogleAc }).(SubnetworkPrivateIpv6GoogleAccessPtrOutput) } +func (o SubnetworkPrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkPrivateIpv6GoogleAccess] { + return pulumix.Output[SubnetworkPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31206,6 +34555,12 @@ func (o SubnetworkPrivateIpv6GoogleAccessPtrOutput) ToSubnetworkPrivateIpv6Googl return o } +func (o SubnetworkPrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess] { + return pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPrivateIpv6GoogleAccessPtrOutput) Elem() SubnetworkPrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *SubnetworkPrivateIpv6GoogleAccess) SubnetworkPrivateIpv6GoogleAccess { if v != nil { @@ -31268,6 +34623,12 @@ func (in *subnetworkPrivateIpv6GoogleAccessPtr) ToSubnetworkPrivateIpv6GoogleAcc return pulumi.ToOutputWithContext(ctx, in).(SubnetworkPrivateIpv6GoogleAccessPtrOutput) } +func (in *subnetworkPrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess] { + return pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess]{ + OutputState: in.ToSubnetworkPrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY. type SubnetworkPurpose string @@ -31344,6 +34705,12 @@ func (o SubnetworkPurposeOutput) ToSubnetworkPurposePtrOutputWithContext(ctx con }).(SubnetworkPurposePtrOutput) } +func (o SubnetworkPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkPurpose] { + return pulumix.Output[SubnetworkPurpose]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31379,6 +34746,12 @@ func (o SubnetworkPurposePtrOutput) ToSubnetworkPurposePtrOutputWithContext(ctx return o } +func (o SubnetworkPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPurpose] { + return pulumix.Output[*SubnetworkPurpose]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPurposePtrOutput) Elem() SubnetworkPurposeOutput { return o.ApplyT(func(v *SubnetworkPurpose) SubnetworkPurpose { if v != nil { @@ -31441,6 +34814,12 @@ func (in *subnetworkPurposePtr) ToSubnetworkPurposePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(SubnetworkPurposePtrOutput) } +func (in *subnetworkPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPurpose] { + return pulumix.Output[*SubnetworkPurpose]{ + OutputState: in.ToSubnetworkPurposePtrOutputWithContext(ctx).OutputState, + } +} + // The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. type SubnetworkRole string @@ -31511,6 +34890,12 @@ func (o SubnetworkRoleOutput) ToSubnetworkRolePtrOutputWithContext(ctx context.C }).(SubnetworkRolePtrOutput) } +func (o SubnetworkRoleOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkRole] { + return pulumix.Output[SubnetworkRole]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkRoleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31546,6 +34931,12 @@ func (o SubnetworkRolePtrOutput) ToSubnetworkRolePtrOutputWithContext(ctx contex return o } +func (o SubnetworkRolePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkRole] { + return pulumix.Output[*SubnetworkRole]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkRolePtrOutput) Elem() SubnetworkRoleOutput { return o.ApplyT(func(v *SubnetworkRole) SubnetworkRole { if v != nil { @@ -31608,6 +34999,12 @@ func (in *subnetworkRolePtr) ToSubnetworkRolePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(SubnetworkRolePtrOutput) } +func (in *subnetworkRolePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkRole] { + return pulumix.Output[*SubnetworkRole]{ + OutputState: in.ToSubnetworkRolePtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. type SubnetworkStackType string @@ -31678,6 +35075,12 @@ func (o SubnetworkStackTypeOutput) ToSubnetworkStackTypePtrOutputWithContext(ctx }).(SubnetworkStackTypePtrOutput) } +func (o SubnetworkStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkStackType] { + return pulumix.Output[SubnetworkStackType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31713,6 +35116,12 @@ func (o SubnetworkStackTypePtrOutput) ToSubnetworkStackTypePtrOutputWithContext( return o } +func (o SubnetworkStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkStackType] { + return pulumix.Output[*SubnetworkStackType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkStackTypePtrOutput) Elem() SubnetworkStackTypeOutput { return o.ApplyT(func(v *SubnetworkStackType) SubnetworkStackType { if v != nil { @@ -31775,6 +35184,12 @@ func (in *subnetworkStackTypePtr) ToSubnetworkStackTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(SubnetworkStackTypePtrOutput) } +func (in *subnetworkStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkStackType] { + return pulumix.Output[*SubnetworkStackType]{ + OutputState: in.ToSubnetworkStackTypePtrOutputWithContext(ctx).OutputState, + } +} + type SubsettingPolicy string const ( @@ -31844,6 +35259,12 @@ func (o SubsettingPolicyOutput) ToSubsettingPolicyPtrOutputWithContext(ctx conte }).(SubsettingPolicyPtrOutput) } +func (o SubsettingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[SubsettingPolicy] { + return pulumix.Output[SubsettingPolicy]{ + OutputState: o.OutputState, + } +} + func (o SubsettingPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -31879,6 +35300,12 @@ func (o SubsettingPolicyPtrOutput) ToSubsettingPolicyPtrOutputWithContext(ctx co return o } +func (o SubsettingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubsettingPolicy] { + return pulumix.Output[*SubsettingPolicy]{ + OutputState: o.OutputState, + } +} + func (o SubsettingPolicyPtrOutput) Elem() SubsettingPolicyOutput { return o.ApplyT(func(v *SubsettingPolicy) SubsettingPolicy { if v != nil { @@ -31941,6 +35368,12 @@ func (in *subsettingPolicyPtr) ToSubsettingPolicyPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(SubsettingPolicyPtrOutput) } +func (in *subsettingPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*SubsettingPolicy] { + return pulumix.Output[*SubsettingPolicy]{ + OutputState: in.ToSubsettingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type TCPHealthCheckPortSpecification string @@ -32013,6 +35446,12 @@ func (o TCPHealthCheckPortSpecificationOutput) ToTCPHealthCheckPortSpecification }).(TCPHealthCheckPortSpecificationPtrOutput) } +func (o TCPHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheckPortSpecification] { + return pulumix.Output[TCPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32048,6 +35487,12 @@ func (o TCPHealthCheckPortSpecificationPtrOutput) ToTCPHealthCheckPortSpecificat return o } +func (o TCPHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckPortSpecification] { + return pulumix.Output[*TCPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckPortSpecificationPtrOutput) Elem() TCPHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *TCPHealthCheckPortSpecification) TCPHealthCheckPortSpecification { if v != nil { @@ -32110,6 +35555,12 @@ func (in *tcphealthCheckPortSpecificationPtr) ToTCPHealthCheckPortSpecificationP return pulumi.ToOutputWithContext(ctx, in).(TCPHealthCheckPortSpecificationPtrOutput) } +func (in *tcphealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckPortSpecification] { + return pulumix.Output[*TCPHealthCheckPortSpecification]{ + OutputState: in.ToTCPHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type TCPHealthCheckProxyHeader string @@ -32178,6 +35629,12 @@ func (o TCPHealthCheckProxyHeaderOutput) ToTCPHealthCheckProxyHeaderPtrOutputWit }).(TCPHealthCheckProxyHeaderPtrOutput) } +func (o TCPHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheckProxyHeader] { + return pulumix.Output[TCPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32213,6 +35670,12 @@ func (o TCPHealthCheckProxyHeaderPtrOutput) ToTCPHealthCheckProxyHeaderPtrOutput return o } +func (o TCPHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckProxyHeader] { + return pulumix.Output[*TCPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckProxyHeaderPtrOutput) Elem() TCPHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *TCPHealthCheckProxyHeader) TCPHealthCheckProxyHeader { if v != nil { @@ -32275,6 +35738,12 @@ func (in *tcphealthCheckProxyHeaderPtr) ToTCPHealthCheckProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TCPHealthCheckProxyHeaderPtrOutput) } +func (in *tcphealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckProxyHeader] { + return pulumix.Output[*TCPHealthCheckProxyHeader]{ + OutputState: in.ToTCPHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. type TargetHttpsProxyQuicOverride string @@ -32347,6 +35816,12 @@ func (o TargetHttpsProxyQuicOverrideOutput) ToTargetHttpsProxyQuicOverridePtrOut }).(TargetHttpsProxyQuicOverridePtrOutput) } +func (o TargetHttpsProxyQuicOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[TargetHttpsProxyQuicOverride] { + return pulumix.Output[TargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o TargetHttpsProxyQuicOverrideOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32382,6 +35857,12 @@ func (o TargetHttpsProxyQuicOverridePtrOutput) ToTargetHttpsProxyQuicOverridePtr return o } +func (o TargetHttpsProxyQuicOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxyQuicOverride] { + return pulumix.Output[*TargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o TargetHttpsProxyQuicOverridePtrOutput) Elem() TargetHttpsProxyQuicOverrideOutput { return o.ApplyT(func(v *TargetHttpsProxyQuicOverride) TargetHttpsProxyQuicOverride { if v != nil { @@ -32444,6 +35925,12 @@ func (in *targetHttpsProxyQuicOverridePtr) ToTargetHttpsProxyQuicOverridePtrOutp return pulumi.ToOutputWithContext(ctx, in).(TargetHttpsProxyQuicOverridePtrOutput) } +func (in *targetHttpsProxyQuicOverridePtr) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxyQuicOverride] { + return pulumix.Output[*TargetHttpsProxyQuicOverride]{ + OutputState: in.ToTargetHttpsProxyQuicOverridePtrOutputWithContext(ctx).OutputState, + } +} + // Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. type TargetInstanceNatPolicy string @@ -32512,6 +35999,12 @@ func (o TargetInstanceNatPolicyOutput) ToTargetInstanceNatPolicyPtrOutputWithCon }).(TargetInstanceNatPolicyPtrOutput) } +func (o TargetInstanceNatPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[TargetInstanceNatPolicy] { + return pulumix.Output[TargetInstanceNatPolicy]{ + OutputState: o.OutputState, + } +} + func (o TargetInstanceNatPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32547,6 +36040,12 @@ func (o TargetInstanceNatPolicyPtrOutput) ToTargetInstanceNatPolicyPtrOutputWith return o } +func (o TargetInstanceNatPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetInstanceNatPolicy] { + return pulumix.Output[*TargetInstanceNatPolicy]{ + OutputState: o.OutputState, + } +} + func (o TargetInstanceNatPolicyPtrOutput) Elem() TargetInstanceNatPolicyOutput { return o.ApplyT(func(v *TargetInstanceNatPolicy) TargetInstanceNatPolicy { if v != nil { @@ -32609,6 +36108,12 @@ func (in *targetInstanceNatPolicyPtr) ToTargetInstanceNatPolicyPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(TargetInstanceNatPolicyPtrOutput) } +func (in *targetInstanceNatPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetInstanceNatPolicy] { + return pulumix.Output[*TargetInstanceNatPolicy]{ + OutputState: in.ToTargetInstanceNatPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. type TargetPoolSessionAffinity string @@ -32691,6 +36196,12 @@ func (o TargetPoolSessionAffinityOutput) ToTargetPoolSessionAffinityPtrOutputWit }).(TargetPoolSessionAffinityPtrOutput) } +func (o TargetPoolSessionAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[TargetPoolSessionAffinity] { + return pulumix.Output[TargetPoolSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o TargetPoolSessionAffinityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32726,6 +36237,12 @@ func (o TargetPoolSessionAffinityPtrOutput) ToTargetPoolSessionAffinityPtrOutput return o } +func (o TargetPoolSessionAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetPoolSessionAffinity] { + return pulumix.Output[*TargetPoolSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o TargetPoolSessionAffinityPtrOutput) Elem() TargetPoolSessionAffinityOutput { return o.ApplyT(func(v *TargetPoolSessionAffinity) TargetPoolSessionAffinity { if v != nil { @@ -32788,6 +36305,12 @@ func (in *targetPoolSessionAffinityPtr) ToTargetPoolSessionAffinityPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TargetPoolSessionAffinityPtrOutput) } +func (in *targetPoolSessionAffinityPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetPoolSessionAffinity] { + return pulumix.Output[*TargetPoolSessionAffinity]{ + OutputState: in.ToTargetPoolSessionAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type TargetSslProxyProxyHeader string @@ -32856,6 +36379,12 @@ func (o TargetSslProxyProxyHeaderOutput) ToTargetSslProxyProxyHeaderPtrOutputWit }).(TargetSslProxyProxyHeaderPtrOutput) } +func (o TargetSslProxyProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[TargetSslProxyProxyHeader] { + return pulumix.Output[TargetSslProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetSslProxyProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -32891,6 +36420,12 @@ func (o TargetSslProxyProxyHeaderPtrOutput) ToTargetSslProxyProxyHeaderPtrOutput return o } +func (o TargetSslProxyProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxyProxyHeader] { + return pulumix.Output[*TargetSslProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetSslProxyProxyHeaderPtrOutput) Elem() TargetSslProxyProxyHeaderOutput { return o.ApplyT(func(v *TargetSslProxyProxyHeader) TargetSslProxyProxyHeader { if v != nil { @@ -32953,6 +36488,12 @@ func (in *targetSslProxyProxyHeaderPtr) ToTargetSslProxyProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TargetSslProxyProxyHeaderPtrOutput) } +func (in *targetSslProxyProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxyProxyHeader] { + return pulumix.Output[*TargetSslProxyProxyHeader]{ + OutputState: in.ToTargetSslProxyProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type TargetTcpProxyProxyHeader string @@ -33021,6 +36562,12 @@ func (o TargetTcpProxyProxyHeaderOutput) ToTargetTcpProxyProxyHeaderPtrOutputWit }).(TargetTcpProxyProxyHeaderPtrOutput) } +func (o TargetTcpProxyProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[TargetTcpProxyProxyHeader] { + return pulumix.Output[TargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetTcpProxyProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -33056,6 +36603,12 @@ func (o TargetTcpProxyProxyHeaderPtrOutput) ToTargetTcpProxyProxyHeaderPtrOutput return o } +func (o TargetTcpProxyProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxyProxyHeader] { + return pulumix.Output[*TargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetTcpProxyProxyHeaderPtrOutput) Elem() TargetTcpProxyProxyHeaderOutput { return o.ApplyT(func(v *TargetTcpProxyProxyHeader) TargetTcpProxyProxyHeader { if v != nil { @@ -33118,6 +36671,12 @@ func (in *targetTcpProxyProxyHeaderPtr) ToTargetTcpProxyProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TargetTcpProxyProxyHeaderPtrOutput) } +func (in *targetTcpProxyProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxyProxyHeader] { + return pulumix.Output[*TargetTcpProxyProxyHeader]{ + OutputState: in.ToTargetTcpProxyProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // The IP family of the gateway IPs for the HA-VPN gateway interfaces. If not specified, IPV4 will be used. type VpnGatewayGatewayIpVersion string @@ -33188,6 +36747,12 @@ func (o VpnGatewayGatewayIpVersionOutput) ToVpnGatewayGatewayIpVersionPtrOutputW }).(VpnGatewayGatewayIpVersionPtrOutput) } +func (o VpnGatewayGatewayIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayGatewayIpVersion] { + return pulumix.Output[VpnGatewayGatewayIpVersion]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayGatewayIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -33223,6 +36788,12 @@ func (o VpnGatewayGatewayIpVersionPtrOutput) ToVpnGatewayGatewayIpVersionPtrOutp return o } +func (o VpnGatewayGatewayIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnGatewayGatewayIpVersion] { + return pulumix.Output[*VpnGatewayGatewayIpVersion]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayGatewayIpVersionPtrOutput) Elem() VpnGatewayGatewayIpVersionOutput { return o.ApplyT(func(v *VpnGatewayGatewayIpVersion) VpnGatewayGatewayIpVersion { if v != nil { @@ -33285,6 +36856,12 @@ func (in *vpnGatewayGatewayIpVersionPtr) ToVpnGatewayGatewayIpVersionPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(VpnGatewayGatewayIpVersionPtrOutput) } +func (in *vpnGatewayGatewayIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*VpnGatewayGatewayIpVersion] { + return pulumix.Output[*VpnGatewayGatewayIpVersion]{ + OutputState: in.ToVpnGatewayGatewayIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. type VpnGatewayStackType string @@ -33355,6 +36932,12 @@ func (o VpnGatewayStackTypeOutput) ToVpnGatewayStackTypePtrOutputWithContext(ctx }).(VpnGatewayStackTypePtrOutput) } +func (o VpnGatewayStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayStackType] { + return pulumix.Output[VpnGatewayStackType]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -33390,6 +36973,12 @@ func (o VpnGatewayStackTypePtrOutput) ToVpnGatewayStackTypePtrOutputWithContext( return o } +func (o VpnGatewayStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnGatewayStackType] { + return pulumix.Output[*VpnGatewayStackType]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayStackTypePtrOutput) Elem() VpnGatewayStackTypeOutput { return o.ApplyT(func(v *VpnGatewayStackType) VpnGatewayStackType { if v != nil { @@ -33452,6 +37041,12 @@ func (in *vpnGatewayStackTypePtr) ToVpnGatewayStackTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(VpnGatewayStackTypePtrOutput) } +func (in *vpnGatewayStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*VpnGatewayStackType] { + return pulumix.Output[*VpnGatewayStackType]{ + OutputState: in.ToVpnGatewayStackTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AccessConfigNetworkTierInput)(nil)).Elem(), AccessConfigNetworkTier("FIXED_STANDARD")) pulumi.RegisterInputType(reflect.TypeOf((*AccessConfigNetworkTierPtrInput)(nil)).Elem(), AccessConfigNetworkTier("FIXED_STANDARD")) diff --git a/sdk/go/google/compute/beta/pulumiTypes.go b/sdk/go/google/compute/beta/pulumiTypes.go index 7a9d873778..6f1438f268 100644 --- a/sdk/go/google/compute/beta/pulumiTypes.go +++ b/sdk/go/google/compute/beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AWSV4SignatureArgs) ToAWSV4SignatureOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AWSV4SignatureOutput) } +func (i AWSV4SignatureArgs) ToOutput(ctx context.Context) pulumix.Output[AWSV4Signature] { + return pulumix.Output[AWSV4Signature]{ + OutputState: i.ToAWSV4SignatureOutputWithContext(ctx).OutputState, + } +} + func (i AWSV4SignatureArgs) ToAWSV4SignaturePtrOutput() AWSV4SignaturePtrOutput { return i.ToAWSV4SignaturePtrOutputWithContext(context.Background()) } @@ -101,6 +108,12 @@ func (i *awsv4signaturePtrType) ToAWSV4SignaturePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AWSV4SignaturePtrOutput) } +func (i *awsv4signaturePtrType) ToOutput(ctx context.Context) pulumix.Output[*AWSV4Signature] { + return pulumix.Output[*AWSV4Signature]{ + OutputState: i.ToAWSV4SignaturePtrOutputWithContext(ctx).OutputState, + } +} + // Contains the configurations necessary to generate a signature for access to private storage buckets that support Signature Version 4 for authentication. The service name for generating the authentication header will always default to 's3'. type AWSV4SignatureOutput struct{ *pulumi.OutputState } @@ -126,6 +139,12 @@ func (o AWSV4SignatureOutput) ToAWSV4SignaturePtrOutputWithContext(ctx context.C }).(AWSV4SignaturePtrOutput) } +func (o AWSV4SignatureOutput) ToOutput(ctx context.Context) pulumix.Output[AWSV4Signature] { + return pulumix.Output[AWSV4Signature]{ + OutputState: o.OutputState, + } +} + // The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly func (o AWSV4SignatureOutput) AccessKey() pulumi.StringPtrOutput { return o.ApplyT(func(v AWSV4Signature) *string { return v.AccessKey }).(pulumi.StringPtrOutput) @@ -160,6 +179,12 @@ func (o AWSV4SignaturePtrOutput) ToAWSV4SignaturePtrOutputWithContext(ctx contex return o } +func (o AWSV4SignaturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AWSV4Signature] { + return pulumix.Output[*AWSV4Signature]{ + OutputState: o.OutputState, + } +} + func (o AWSV4SignaturePtrOutput) Elem() AWSV4SignatureOutput { return o.ApplyT(func(v *AWSV4Signature) AWSV4Signature { if v != nil { @@ -237,6 +262,12 @@ func (o AWSV4SignatureResponseOutput) ToAWSV4SignatureResponseOutputWithContext( return o } +func (o AWSV4SignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AWSV4SignatureResponse] { + return pulumix.Output[AWSV4SignatureResponse]{ + OutputState: o.OutputState, + } +} + // The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly func (o AWSV4SignatureResponseOutput) AccessKey() pulumi.StringOutput { return o.ApplyT(func(v AWSV4SignatureResponse) string { return v.AccessKey }).(pulumi.StringOutput) @@ -296,6 +327,12 @@ func (i AcceleratorConfigArgs) ToAcceleratorConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigOutput) } +func (i AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + // AcceleratorConfigArrayInput is an input type that accepts AcceleratorConfigArray and AcceleratorConfigArrayOutput values. // You can construct a concrete instance of `AcceleratorConfigArrayInput` via: // @@ -321,6 +358,12 @@ func (i AcceleratorConfigArray) ToAcceleratorConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigArrayOutput) } +func (i AcceleratorConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigArrayOutputWithContext(ctx).OutputState, + } +} + // A specification of the type and number of accelerator cards attached to the instance. type AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -336,6 +379,12 @@ func (o AcceleratorConfigOutput) ToAcceleratorConfigOutputWithContext(ctx contex return o } +func (o AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // The number of the guest accelerator cards exposed to this instance. func (o AcceleratorConfigOutput) AcceleratorCount() pulumi.IntPtrOutput { return o.ApplyT(func(v AcceleratorConfig) *int { return v.AcceleratorCount }).(pulumi.IntPtrOutput) @@ -360,6 +409,12 @@ func (o AcceleratorConfigArrayOutput) ToAcceleratorConfigArrayOutputWithContext( return o } +func (o AcceleratorConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfig { return vs[0].([]AcceleratorConfig)[vs[1].(int)] @@ -389,6 +444,12 @@ func (o AcceleratorConfigResponseOutput) ToAcceleratorConfigResponseOutputWithCo return o } +func (o AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigResponse] { + return pulumix.Output[AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of the guest accelerator cards exposed to this instance. func (o AcceleratorConfigResponseOutput) AcceleratorCount() pulumi.IntOutput { return o.ApplyT(func(v AcceleratorConfigResponse) int { return v.AcceleratorCount }).(pulumi.IntOutput) @@ -413,6 +474,12 @@ func (o AcceleratorConfigResponseArrayOutput) ToAcceleratorConfigResponseArrayOu return o } +func (o AcceleratorConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfigResponse] { + return pulumix.Output[[]AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfigResponse { return vs[0].([]AcceleratorConfigResponse)[vs[1].(int)] @@ -482,6 +549,12 @@ func (i AccessConfigArgs) ToAccessConfigOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AccessConfigOutput) } +func (i AccessConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AccessConfig] { + return pulumix.Output[AccessConfig]{ + OutputState: i.ToAccessConfigOutputWithContext(ctx).OutputState, + } +} + // AccessConfigArrayInput is an input type that accepts AccessConfigArray and AccessConfigArrayOutput values. // You can construct a concrete instance of `AccessConfigArrayInput` via: // @@ -507,6 +580,12 @@ func (i AccessConfigArray) ToAccessConfigArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AccessConfigArrayOutput) } +func (i AccessConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AccessConfig] { + return pulumix.Output[[]AccessConfig]{ + OutputState: i.ToAccessConfigArrayOutputWithContext(ctx).OutputState, + } +} + // An access configuration attached to an instance's network interface. Only one access config per instance is supported. type AccessConfigOutput struct{ *pulumi.OutputState } @@ -522,6 +601,12 @@ func (o AccessConfigOutput) ToAccessConfigOutputWithContext(ctx context.Context) return o } +func (o AccessConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfig] { + return pulumix.Output[AccessConfig]{ + OutputState: o.OutputState, + } +} + // Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork. func (o AccessConfigOutput) ExternalIpv6() pulumi.StringPtrOutput { return o.ApplyT(func(v AccessConfig) *string { return v.ExternalIpv6 }).(pulumi.StringPtrOutput) @@ -576,6 +661,12 @@ func (o AccessConfigArrayOutput) ToAccessConfigArrayOutputWithContext(ctx contex return o } +func (o AccessConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AccessConfig] { + return pulumix.Output[[]AccessConfig]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigArrayOutput) Index(i pulumi.IntInput) AccessConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessConfig { return vs[0].([]AccessConfig)[vs[1].(int)] @@ -621,6 +712,12 @@ func (o AccessConfigResponseOutput) ToAccessConfigResponseOutputWithContext(ctx return o } +func (o AccessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigResponse] { + return pulumix.Output[AccessConfigResponse]{ + OutputState: o.OutputState, + } +} + // Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork. func (o AccessConfigResponseOutput) ExternalIpv6() pulumi.StringOutput { return o.ApplyT(func(v AccessConfigResponse) string { return v.ExternalIpv6 }).(pulumi.StringOutput) @@ -685,6 +782,12 @@ func (o AccessConfigResponseArrayOutput) ToAccessConfigResponseArrayOutputWithCo return o } +func (o AccessConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AccessConfigResponse] { + return pulumix.Output[[]AccessConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigResponseArrayOutput) Index(i pulumi.IntInput) AccessConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessConfigResponse { return vs[0].([]AccessConfigResponse)[vs[1].(int)] @@ -738,6 +841,12 @@ func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesOutput) } +func (i AdvancedMachineFeaturesArgs) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesOutputWithContext(ctx).OutputState, + } +} + func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesPtrOutput() AdvancedMachineFeaturesPtrOutput { return i.ToAdvancedMachineFeaturesPtrOutputWithContext(context.Background()) } @@ -779,6 +888,12 @@ func (i *advancedMachineFeaturesPtrType) ToAdvancedMachineFeaturesPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesPtrOutput) } +func (i *advancedMachineFeaturesPtrType) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled). type AdvancedMachineFeaturesOutput struct{ *pulumi.OutputState } @@ -804,6 +919,12 @@ func (o AdvancedMachineFeaturesOutput) ToAdvancedMachineFeaturesPtrOutputWithCon }).(AdvancedMachineFeaturesPtrOutput) } +func (o AdvancedMachineFeaturesOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + // Whether to enable nested virtualization or not (default is false). func (o AdvancedMachineFeaturesOutput) EnableNestedVirtualization() pulumi.BoolPtrOutput { return o.ApplyT(func(v AdvancedMachineFeatures) *bool { return v.EnableNestedVirtualization }).(pulumi.BoolPtrOutput) @@ -838,6 +959,12 @@ func (o AdvancedMachineFeaturesPtrOutput) ToAdvancedMachineFeaturesPtrOutputWith return o } +func (o AdvancedMachineFeaturesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + func (o AdvancedMachineFeaturesPtrOutput) Elem() AdvancedMachineFeaturesOutput { return o.ApplyT(func(v *AdvancedMachineFeatures) AdvancedMachineFeatures { if v != nil { @@ -915,6 +1042,12 @@ func (o AdvancedMachineFeaturesResponseOutput) ToAdvancedMachineFeaturesResponse return o } +func (o AdvancedMachineFeaturesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeaturesResponse] { + return pulumix.Output[AdvancedMachineFeaturesResponse]{ + OutputState: o.OutputState, + } +} + // Whether to enable nested virtualization or not (default is false). func (o AdvancedMachineFeaturesResponseOutput) EnableNestedVirtualization() pulumi.BoolOutput { return o.ApplyT(func(v AdvancedMachineFeaturesResponse) bool { return v.EnableNestedVirtualization }).(pulumi.BoolOutput) @@ -974,6 +1107,12 @@ func (i AliasIpRangeArgs) ToAliasIpRangeOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AliasIpRangeOutput) } +func (i AliasIpRangeArgs) ToOutput(ctx context.Context) pulumix.Output[AliasIpRange] { + return pulumix.Output[AliasIpRange]{ + OutputState: i.ToAliasIpRangeOutputWithContext(ctx).OutputState, + } +} + // AliasIpRangeArrayInput is an input type that accepts AliasIpRangeArray and AliasIpRangeArrayOutput values. // You can construct a concrete instance of `AliasIpRangeArrayInput` via: // @@ -999,6 +1138,12 @@ func (i AliasIpRangeArray) ToAliasIpRangeArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AliasIpRangeArrayOutput) } +func (i AliasIpRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]AliasIpRange] { + return pulumix.Output[[]AliasIpRange]{ + OutputState: i.ToAliasIpRangeArrayOutputWithContext(ctx).OutputState, + } +} + // An alias IP range attached to an instance's network interface. type AliasIpRangeOutput struct{ *pulumi.OutputState } @@ -1014,6 +1159,12 @@ func (o AliasIpRangeOutput) ToAliasIpRangeOutputWithContext(ctx context.Context) return o } +func (o AliasIpRangeOutput) ToOutput(ctx context.Context) pulumix.Output[AliasIpRange] { + return pulumix.Output[AliasIpRange]{ + OutputState: o.OutputState, + } +} + // The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). func (o AliasIpRangeOutput) IpCidrRange() pulumi.StringPtrOutput { return o.ApplyT(func(v AliasIpRange) *string { return v.IpCidrRange }).(pulumi.StringPtrOutput) @@ -1038,6 +1189,12 @@ func (o AliasIpRangeArrayOutput) ToAliasIpRangeArrayOutputWithContext(ctx contex return o } +func (o AliasIpRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AliasIpRange] { + return pulumix.Output[[]AliasIpRange]{ + OutputState: o.OutputState, + } +} + func (o AliasIpRangeArrayOutput) Index(i pulumi.IntInput) AliasIpRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AliasIpRange { return vs[0].([]AliasIpRange)[vs[1].(int)] @@ -1067,6 +1224,12 @@ func (o AliasIpRangeResponseOutput) ToAliasIpRangeResponseOutputWithContext(ctx return o } +func (o AliasIpRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AliasIpRangeResponse] { + return pulumix.Output[AliasIpRangeResponse]{ + OutputState: o.OutputState, + } +} + // The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). func (o AliasIpRangeResponseOutput) IpCidrRange() pulumi.StringOutput { return o.ApplyT(func(v AliasIpRangeResponse) string { return v.IpCidrRange }).(pulumi.StringOutput) @@ -1091,6 +1254,12 @@ func (o AliasIpRangeResponseArrayOutput) ToAliasIpRangeResponseArrayOutputWithCo return o } +func (o AliasIpRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AliasIpRangeResponse] { + return pulumix.Output[[]AliasIpRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o AliasIpRangeResponseArrayOutput) Index(i pulumi.IntInput) AliasIpRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AliasIpRangeResponse { return vs[0].([]AliasIpRangeResponse)[vs[1].(int)] @@ -1118,6 +1287,12 @@ func (o AllocationResourceStatusResponseOutput) ToAllocationResourceStatusRespon return o } +func (o AllocationResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationResourceStatusResponse] { + return pulumix.Output[AllocationResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Allocation Properties of this reservation. func (o AllocationResourceStatusResponseOutput) SpecificSkuAllocation() AllocationResourceStatusSpecificSKUAllocationResponseOutput { return o.ApplyT(func(v AllocationResourceStatusResponse) AllocationResourceStatusSpecificSKUAllocationResponse { @@ -1146,6 +1321,12 @@ func (o AllocationResourceStatusSpecificSKUAllocationResponseOutput) ToAllocatio return o } +func (o AllocationResourceStatusSpecificSKUAllocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationResourceStatusSpecificSKUAllocationResponse] { + return pulumix.Output[AllocationResourceStatusSpecificSKUAllocationResponse]{ + OutputState: o.OutputState, + } +} + // ID of the instance template used to populate reservation properties. func (o AllocationResourceStatusSpecificSKUAllocationResponseOutput) SourceInstanceTemplateId() pulumi.StringOutput { return o.ApplyT(func(v AllocationResourceStatusSpecificSKUAllocationResponse) string { @@ -1190,6 +1371,12 @@ func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskAr return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) } +func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: i.ToAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutputWithContext(ctx).OutputState, + } +} + // AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayInput is an input type that accepts AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArray and AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput values. // You can construct a concrete instance of `AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayInput` via: // @@ -1215,6 +1402,12 @@ func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskAr return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput) } +func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: i.ToAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutputWithContext(ctx).OutputState, + } +} + type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput struct{ *pulumi.OutputState } func (AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) ElementType() reflect.Type { @@ -1229,6 +1422,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOu return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: o.OutputState, + } +} + // Specifies the size of the disk in base-2 GB. func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) DiskSizeGb() pulumi.StringPtrOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) *string { @@ -1257,6 +1456,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskAr return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput) Index(i pulumi.IntInput) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk { return vs[0].([]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk)[vs[1].(int)] @@ -1284,6 +1489,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskRe return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the size of the disk in base-2 GB. func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseOutput) DiskSizeGb() pulumi.StringOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse) string { @@ -1312,6 +1523,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskRe return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse] { + return pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseArrayOutput) Index(i pulumi.IntInput) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse { return vs[0].([]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse)[vs[1].(int)] @@ -1377,6 +1594,12 @@ func (i AllocationSpecificSKUAllocationReservedInstancePropertiesArgs) ToAllocat return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) } +func (i AllocationSpecificSKUAllocationReservedInstancePropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: i.ToAllocationSpecificSKUAllocationReservedInstancePropertiesOutputWithContext(ctx).OutputState, + } +} + func (i AllocationSpecificSKUAllocationReservedInstancePropertiesArgs) ToAllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput() AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput { return i.ToAllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutputWithContext(context.Background()) } @@ -1418,6 +1641,12 @@ func (i *allocationSpecificSKUAllocationReservedInstancePropertiesPtrType) ToAll return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) } +func (i *allocationSpecificSKUAllocationReservedInstancePropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: i.ToAllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutputWithContext(ctx).OutputState, + } +} + // Properties of the SKU instances being reserved. Next ID: 9 type AllocationSpecificSKUAllocationReservedInstancePropertiesOutput struct{ *pulumi.OutputState } @@ -1443,6 +1672,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) ToAlloc }).(AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: o.OutputState, + } +} + // Specifies accelerator type and count. func (o AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) GuestAccelerators() AcceleratorConfigArrayOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationReservedInstanceProperties) []AcceleratorConfig { @@ -1500,6 +1735,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) ToAl return o } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) Elem() AllocationSpecificSKUAllocationReservedInstancePropertiesOutput { return o.ApplyT(func(v *AllocationSpecificSKUAllocationReservedInstanceProperties) AllocationSpecificSKUAllocationReservedInstanceProperties { if v != nil { @@ -1613,6 +1854,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesResponseOutput) return o } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstancePropertiesResponse] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstancePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Specifies accelerator type and count. func (o AllocationSpecificSKUAllocationReservedInstancePropertiesResponseOutput) GuestAccelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationReservedInstancePropertiesResponse) []AcceleratorConfigResponse { @@ -1703,6 +1950,12 @@ func (i AllocationSpecificSKUReservationArgs) ToAllocationSpecificSKUReservation return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUReservationOutput) } +func (i AllocationSpecificSKUReservationArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUReservation] { + return pulumix.Output[AllocationSpecificSKUReservation]{ + OutputState: i.ToAllocationSpecificSKUReservationOutputWithContext(ctx).OutputState, + } +} + func (i AllocationSpecificSKUReservationArgs) ToAllocationSpecificSKUReservationPtrOutput() AllocationSpecificSKUReservationPtrOutput { return i.ToAllocationSpecificSKUReservationPtrOutputWithContext(context.Background()) } @@ -1744,6 +1997,12 @@ func (i *allocationSpecificSKUReservationPtrType) ToAllocationSpecificSKUReserva return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUReservationPtrOutput) } +func (i *allocationSpecificSKUReservationPtrType) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUReservation] { + return pulumix.Output[*AllocationSpecificSKUReservation]{ + OutputState: i.ToAllocationSpecificSKUReservationPtrOutputWithContext(ctx).OutputState, + } +} + // This reservation type allows to pre allocate specific instance configuration. Next ID: 6 type AllocationSpecificSKUReservationOutput struct{ *pulumi.OutputState } @@ -1769,6 +2028,12 @@ func (o AllocationSpecificSKUReservationOutput) ToAllocationSpecificSKUReservati }).(AllocationSpecificSKUReservationPtrOutput) } +func (o AllocationSpecificSKUReservationOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUReservation] { + return pulumix.Output[AllocationSpecificSKUReservation]{ + OutputState: o.OutputState, + } +} + // Specifies the number of resources that are allocated. func (o AllocationSpecificSKUReservationOutput) Count() pulumi.StringPtrOutput { return o.ApplyT(func(v AllocationSpecificSKUReservation) *string { return v.Count }).(pulumi.StringPtrOutput) @@ -1800,6 +2065,12 @@ func (o AllocationSpecificSKUReservationPtrOutput) ToAllocationSpecificSKUReserv return o } +func (o AllocationSpecificSKUReservationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUReservation] { + return pulumix.Output[*AllocationSpecificSKUReservation]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUReservationPtrOutput) Elem() AllocationSpecificSKUReservationOutput { return o.ApplyT(func(v *AllocationSpecificSKUReservation) AllocationSpecificSKUReservation { if v != nil { @@ -1869,6 +2140,12 @@ func (o AllocationSpecificSKUReservationResponseOutput) ToAllocationSpecificSKUR return o } +func (o AllocationSpecificSKUReservationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUReservationResponse] { + return pulumix.Output[AllocationSpecificSKUReservationResponse]{ + OutputState: o.OutputState, + } +} + // Indicates how many instances are actually usable currently. func (o AllocationSpecificSKUReservationResponseOutput) AssuredCount() pulumi.StringOutput { return o.ApplyT(func(v AllocationSpecificSKUReservationResponse) string { return v.AssuredCount }).(pulumi.StringOutput) @@ -1975,6 +2252,12 @@ func (i AttachedDiskArgs) ToAttachedDiskOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskOutput) } +func (i AttachedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: i.ToAttachedDiskOutputWithContext(ctx).OutputState, + } +} + // AttachedDiskArrayInput is an input type that accepts AttachedDiskArray and AttachedDiskArrayOutput values. // You can construct a concrete instance of `AttachedDiskArrayInput` via: // @@ -2000,6 +2283,12 @@ func (i AttachedDiskArray) ToAttachedDiskArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskArrayOutput) } +func (i AttachedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: i.ToAttachedDiskArrayOutputWithContext(ctx).OutputState, + } +} + // An instance-attached disk resource. type AttachedDiskOutput struct{ *pulumi.OutputState } @@ -2015,6 +2304,12 @@ func (o AttachedDiskOutput) ToAttachedDiskOutputWithContext(ctx context.Context) return o } +func (o AttachedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o AttachedDiskOutput) AutoDelete() pulumi.BoolPtrOutput { return o.ApplyT(func(v AttachedDisk) *bool { return v.AutoDelete }).(pulumi.BoolPtrOutput) @@ -2089,6 +2384,12 @@ func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext(ctx contex return o } +func (o AttachedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskArrayOutput) Index(i pulumi.IntInput) AttachedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDisk { return vs[0].([]AttachedDisk)[vs[1].(int)] @@ -2202,6 +2503,12 @@ func (i AttachedDiskInitializeParamsArgs) ToAttachedDiskInitializeParamsOutputWi return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskInitializeParamsOutput) } +func (i AttachedDiskInitializeParamsArgs) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParams] { + return pulumix.Output[AttachedDiskInitializeParams]{ + OutputState: i.ToAttachedDiskInitializeParamsOutputWithContext(ctx).OutputState, + } +} + func (i AttachedDiskInitializeParamsArgs) ToAttachedDiskInitializeParamsPtrOutput() AttachedDiskInitializeParamsPtrOutput { return i.ToAttachedDiskInitializeParamsPtrOutputWithContext(context.Background()) } @@ -2243,6 +2550,12 @@ func (i *attachedDiskInitializeParamsPtrType) ToAttachedDiskInitializeParamsPtrO return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskInitializeParamsPtrOutput) } +func (i *attachedDiskInitializeParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParams] { + return pulumix.Output[*AttachedDiskInitializeParams]{ + OutputState: i.ToAttachedDiskInitializeParamsPtrOutputWithContext(ctx).OutputState, + } +} + // [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. type AttachedDiskInitializeParamsOutput struct{ *pulumi.OutputState } @@ -2268,6 +2581,12 @@ func (o AttachedDiskInitializeParamsOutput) ToAttachedDiskInitializeParamsPtrOut }).(AttachedDiskInitializeParamsPtrOutput) } +func (o AttachedDiskInitializeParamsOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParams] { + return pulumix.Output[AttachedDiskInitializeParams]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. Valid values are arm64 or x86_64. func (o AttachedDiskInitializeParamsOutput) Architecture() AttachedDiskInitializeParamsArchitecturePtrOutput { return o.ApplyT(func(v AttachedDiskInitializeParams) *AttachedDiskInitializeParamsArchitecture { return v.Architecture }).(AttachedDiskInitializeParamsArchitecturePtrOutput) @@ -2379,6 +2698,12 @@ func (o AttachedDiskInitializeParamsPtrOutput) ToAttachedDiskInitializeParamsPtr return o } +func (o AttachedDiskInitializeParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParams] { + return pulumix.Output[*AttachedDiskInitializeParams]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsPtrOutput) Elem() AttachedDiskInitializeParamsOutput { return o.ApplyT(func(v *AttachedDiskInitializeParams) AttachedDiskInitializeParams { if v != nil { @@ -2636,6 +2961,12 @@ func (o AttachedDiskInitializeParamsResponseOutput) ToAttachedDiskInitializePara return o } +func (o AttachedDiskInitializeParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParamsResponse] { + return pulumix.Output[AttachedDiskInitializeParamsResponse]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. Valid values are arm64 or x86_64. func (o AttachedDiskInitializeParamsResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v AttachedDiskInitializeParamsResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -2792,6 +3123,12 @@ func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext(ctx return o } +func (o AttachedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskResponse] { + return pulumix.Output[AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. Valid values are ARM64 or X86_64. func (o AttachedDiskResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v AttachedDiskResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -2901,6 +3238,12 @@ func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithCo return o } +func (o AttachedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDiskResponse] { + return pulumix.Output[[]AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) AttachedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDiskResponse { return vs[0].([]AttachedDiskResponse)[vs[1].(int)] @@ -2950,6 +3293,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -2975,6 +3324,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -2990,6 +3345,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -3019,6 +3380,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -3050,6 +3417,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -3079,6 +3452,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -3128,6 +3507,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -3153,6 +3538,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -3168,6 +3559,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -3197,6 +3594,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -3228,6 +3631,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -3257,6 +3666,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -3298,6 +3713,12 @@ func (i AuthorizationLoggingOptionsArgs) ToAuthorizationLoggingOptionsOutputWith return pulumi.ToOutputWithContext(ctx, i).(AuthorizationLoggingOptionsOutput) } +func (i AuthorizationLoggingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptions] { + return pulumix.Output[AuthorizationLoggingOptions]{ + OutputState: i.ToAuthorizationLoggingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i AuthorizationLoggingOptionsArgs) ToAuthorizationLoggingOptionsPtrOutput() AuthorizationLoggingOptionsPtrOutput { return i.ToAuthorizationLoggingOptionsPtrOutputWithContext(context.Background()) } @@ -3339,6 +3760,12 @@ func (i *authorizationLoggingOptionsPtrType) ToAuthorizationLoggingOptionsPtrOut return pulumi.ToOutputWithContext(ctx, i).(AuthorizationLoggingOptionsPtrOutput) } +func (i *authorizationLoggingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptions] { + return pulumix.Output[*AuthorizationLoggingOptions]{ + OutputState: i.ToAuthorizationLoggingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type AuthorizationLoggingOptionsOutput struct{ *pulumi.OutputState } @@ -3364,6 +3791,12 @@ func (o AuthorizationLoggingOptionsOutput) ToAuthorizationLoggingOptionsPtrOutpu }).(AuthorizationLoggingOptionsPtrOutput) } +func (o AuthorizationLoggingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptions] { + return pulumix.Output[AuthorizationLoggingOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o AuthorizationLoggingOptionsOutput) PermissionType() AuthorizationLoggingOptionsPermissionTypePtrOutput { return o.ApplyT(func(v AuthorizationLoggingOptions) *AuthorizationLoggingOptionsPermissionType { @@ -3385,6 +3818,12 @@ func (o AuthorizationLoggingOptionsPtrOutput) ToAuthorizationLoggingOptionsPtrOu return o } +func (o AuthorizationLoggingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptions] { + return pulumix.Output[*AuthorizationLoggingOptions]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPtrOutput) Elem() AuthorizationLoggingOptionsOutput { return o.ApplyT(func(v *AuthorizationLoggingOptions) AuthorizationLoggingOptions { if v != nil { @@ -3426,6 +3865,12 @@ func (o AuthorizationLoggingOptionsResponseOutput) ToAuthorizationLoggingOptions return o } +func (o AuthorizationLoggingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptionsResponse] { + return pulumix.Output[AuthorizationLoggingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o AuthorizationLoggingOptionsResponseOutput) PermissionType() pulumi.StringOutput { return o.ApplyT(func(v AuthorizationLoggingOptionsResponse) string { return v.PermissionType }).(pulumi.StringOutput) @@ -3452,6 +3897,12 @@ func (o AutoscalerStatusDetailsResponseOutput) ToAutoscalerStatusDetailsResponse return o } +func (o AutoscalerStatusDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalerStatusDetailsResponse] { + return pulumix.Output[AutoscalerStatusDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The status message. func (o AutoscalerStatusDetailsResponseOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v AutoscalerStatusDetailsResponse) string { return v.Message }).(pulumi.StringOutput) @@ -3476,6 +3927,12 @@ func (o AutoscalerStatusDetailsResponseArrayOutput) ToAutoscalerStatusDetailsRes return o } +func (o AutoscalerStatusDetailsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalerStatusDetailsResponse] { + return pulumix.Output[[]AutoscalerStatusDetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o AutoscalerStatusDetailsResponseArrayOutput) Index(i pulumi.IntInput) AutoscalerStatusDetailsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutoscalerStatusDetailsResponse { return vs[0].([]AutoscalerStatusDetailsResponse)[vs[1].(int)] @@ -3549,6 +4006,12 @@ func (i AutoscalingPolicyArgs) ToAutoscalingPolicyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyOutput) } +func (i AutoscalingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicy] { + return pulumix.Output[AutoscalingPolicy]{ + OutputState: i.ToAutoscalingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyArgs) ToAutoscalingPolicyPtrOutput() AutoscalingPolicyPtrOutput { return i.ToAutoscalingPolicyPtrOutputWithContext(context.Background()) } @@ -3590,6 +4053,12 @@ func (i *autoscalingPolicyPtrType) ToAutoscalingPolicyPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyPtrOutput) } +func (i *autoscalingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicy] { + return pulumix.Output[*AutoscalingPolicy]{ + OutputState: i.ToAutoscalingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Autoscaler policy. type AutoscalingPolicyOutput struct{ *pulumi.OutputState } @@ -3615,6 +4084,12 @@ func (o AutoscalingPolicyOutput) ToAutoscalingPolicyPtrOutputWithContext(ctx con }).(AutoscalingPolicyPtrOutput) } +func (o AutoscalingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicy] { + return pulumix.Output[AutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + // The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process. func (o AutoscalingPolicyOutput) CoolDownPeriodSec() pulumi.IntPtrOutput { return o.ApplyT(func(v AutoscalingPolicy) *int { return v.CoolDownPeriodSec }).(pulumi.IntPtrOutput) @@ -3681,6 +4156,12 @@ func (o AutoscalingPolicyPtrOutput) ToAutoscalingPolicyPtrOutputWithContext(ctx return o } +func (o AutoscalingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicy] { + return pulumix.Output[*AutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyPtrOutput) Elem() AutoscalingPolicyOutput { return o.ApplyT(func(v *AutoscalingPolicy) AutoscalingPolicy { if v != nil { @@ -3828,6 +4309,12 @@ func (i AutoscalingPolicyCpuUtilizationArgs) ToAutoscalingPolicyCpuUtilizationOu return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCpuUtilizationOutput) } +func (i AutoscalingPolicyCpuUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilization] { + return pulumix.Output[AutoscalingPolicyCpuUtilization]{ + OutputState: i.ToAutoscalingPolicyCpuUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyCpuUtilizationArgs) ToAutoscalingPolicyCpuUtilizationPtrOutput() AutoscalingPolicyCpuUtilizationPtrOutput { return i.ToAutoscalingPolicyCpuUtilizationPtrOutputWithContext(context.Background()) } @@ -3869,6 +4356,12 @@ func (i *autoscalingPolicyCpuUtilizationPtrType) ToAutoscalingPolicyCpuUtilizati return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCpuUtilizationPtrOutput) } +func (i *autoscalingPolicyCpuUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilization] { + return pulumix.Output[*AutoscalingPolicyCpuUtilization]{ + OutputState: i.ToAutoscalingPolicyCpuUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // CPU utilization policy. type AutoscalingPolicyCpuUtilizationOutput struct{ *pulumi.OutputState } @@ -3894,6 +4387,12 @@ func (o AutoscalingPolicyCpuUtilizationOutput) ToAutoscalingPolicyCpuUtilization }).(AutoscalingPolicyCpuUtilizationPtrOutput) } +func (o AutoscalingPolicyCpuUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilization] { + return pulumix.Output[AutoscalingPolicyCpuUtilization]{ + OutputState: o.OutputState, + } +} + // Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. func (o AutoscalingPolicyCpuUtilizationOutput) PredictiveMethod() AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput { return o.ApplyT(func(v AutoscalingPolicyCpuUtilization) *AutoscalingPolicyCpuUtilizationPredictiveMethod { @@ -3920,6 +4419,12 @@ func (o AutoscalingPolicyCpuUtilizationPtrOutput) ToAutoscalingPolicyCpuUtilizat return o } +func (o AutoscalingPolicyCpuUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilization] { + return pulumix.Output[*AutoscalingPolicyCpuUtilization]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCpuUtilizationPtrOutput) Elem() AutoscalingPolicyCpuUtilizationOutput { return o.ApplyT(func(v *AutoscalingPolicyCpuUtilization) AutoscalingPolicyCpuUtilization { if v != nil { @@ -3973,6 +4478,12 @@ func (o AutoscalingPolicyCpuUtilizationResponseOutput) ToAutoscalingPolicyCpuUti return o } +func (o AutoscalingPolicyCpuUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilizationResponse] { + return pulumix.Output[AutoscalingPolicyCpuUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. func (o AutoscalingPolicyCpuUtilizationResponseOutput) PredictiveMethod() pulumi.StringOutput { return o.ApplyT(func(v AutoscalingPolicyCpuUtilizationResponse) string { return v.PredictiveMethod }).(pulumi.StringOutput) @@ -4034,6 +4545,12 @@ func (i AutoscalingPolicyCustomMetricUtilizationArgs) ToAutoscalingPolicyCustomM return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCustomMetricUtilizationOutput) } +func (i AutoscalingPolicyCustomMetricUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilization]{ + OutputState: i.ToAutoscalingPolicyCustomMetricUtilizationOutputWithContext(ctx).OutputState, + } +} + // AutoscalingPolicyCustomMetricUtilizationArrayInput is an input type that accepts AutoscalingPolicyCustomMetricUtilizationArray and AutoscalingPolicyCustomMetricUtilizationArrayOutput values. // You can construct a concrete instance of `AutoscalingPolicyCustomMetricUtilizationArrayInput` via: // @@ -4059,6 +4576,12 @@ func (i AutoscalingPolicyCustomMetricUtilizationArray) ToAutoscalingPolicyCustom return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCustomMetricUtilizationArrayOutput) } +func (i AutoscalingPolicyCustomMetricUtilizationArray) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization]{ + OutputState: i.ToAutoscalingPolicyCustomMetricUtilizationArrayOutputWithContext(ctx).OutputState, + } +} + // Custom utilization metric policy. type AutoscalingPolicyCustomMetricUtilizationOutput struct{ *pulumi.OutputState } @@ -4074,6 +4597,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationOutput) ToAutoscalingPolicyCusto return o } +func (o AutoscalingPolicyCustomMetricUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilization]{ + OutputState: o.OutputState, + } +} + // A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value. func (o AutoscalingPolicyCustomMetricUtilizationOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v AutoscalingPolicyCustomMetricUtilization) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -4115,6 +4644,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationArrayOutput) ToAutoscalingPolicy return o } +func (o AutoscalingPolicyCustomMetricUtilizationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationArrayOutput) Index(i pulumi.IntInput) AutoscalingPolicyCustomMetricUtilizationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutoscalingPolicyCustomMetricUtilization { return vs[0].([]AutoscalingPolicyCustomMetricUtilization)[vs[1].(int)] @@ -4150,6 +4685,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationResponseOutput) ToAutoscalingPol return o } +func (o AutoscalingPolicyCustomMetricUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilizationResponse] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value. func (o AutoscalingPolicyCustomMetricUtilizationResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v AutoscalingPolicyCustomMetricUtilizationResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -4189,6 +4730,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationResponseArrayOutput) ToAutoscali return o } +func (o AutoscalingPolicyCustomMetricUtilizationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalingPolicyCustomMetricUtilizationResponse] { + return pulumix.Output[[]AutoscalingPolicyCustomMetricUtilizationResponse]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationResponseArrayOutput) Index(i pulumi.IntInput) AutoscalingPolicyCustomMetricUtilizationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutoscalingPolicyCustomMetricUtilizationResponse { return vs[0].([]AutoscalingPolicyCustomMetricUtilizationResponse)[vs[1].(int)] @@ -4230,6 +4777,12 @@ func (i AutoscalingPolicyLoadBalancingUtilizationArgs) ToAutoscalingPolicyLoadBa return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyLoadBalancingUtilizationOutput) } +func (i AutoscalingPolicyLoadBalancingUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: i.ToAutoscalingPolicyLoadBalancingUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyLoadBalancingUtilizationArgs) ToAutoscalingPolicyLoadBalancingUtilizationPtrOutput() AutoscalingPolicyLoadBalancingUtilizationPtrOutput { return i.ToAutoscalingPolicyLoadBalancingUtilizationPtrOutputWithContext(context.Background()) } @@ -4271,6 +4824,12 @@ func (i *autoscalingPolicyLoadBalancingUtilizationPtrType) ToAutoscalingPolicyLo return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyLoadBalancingUtilizationPtrOutput) } +func (i *autoscalingPolicyLoadBalancingUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: i.ToAutoscalingPolicyLoadBalancingUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration parameters of autoscaling based on load balancing. type AutoscalingPolicyLoadBalancingUtilizationOutput struct{ *pulumi.OutputState } @@ -4296,6 +4855,12 @@ func (o AutoscalingPolicyLoadBalancingUtilizationOutput) ToAutoscalingPolicyLoad }).(AutoscalingPolicyLoadBalancingUtilizationPtrOutput) } +func (o AutoscalingPolicyLoadBalancingUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: o.OutputState, + } +} + // Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8. func (o AutoscalingPolicyLoadBalancingUtilizationOutput) UtilizationTarget() pulumi.Float64PtrOutput { return o.ApplyT(func(v AutoscalingPolicyLoadBalancingUtilization) *float64 { return v.UtilizationTarget }).(pulumi.Float64PtrOutput) @@ -4315,6 +4880,12 @@ func (o AutoscalingPolicyLoadBalancingUtilizationPtrOutput) ToAutoscalingPolicyL return o } +func (o AutoscalingPolicyLoadBalancingUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyLoadBalancingUtilizationPtrOutput) Elem() AutoscalingPolicyLoadBalancingUtilizationOutput { return o.ApplyT(func(v *AutoscalingPolicyLoadBalancingUtilization) AutoscalingPolicyLoadBalancingUtilization { if v != nil { @@ -4356,6 +4927,12 @@ func (o AutoscalingPolicyLoadBalancingUtilizationResponseOutput) ToAutoscalingPo return o } +func (o AutoscalingPolicyLoadBalancingUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyLoadBalancingUtilizationResponse] { + return pulumix.Output[AutoscalingPolicyLoadBalancingUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8. func (o AutoscalingPolicyLoadBalancingUtilizationResponseOutput) UtilizationTarget() pulumi.Float64Output { return o.ApplyT(func(v AutoscalingPolicyLoadBalancingUtilizationResponse) float64 { return v.UtilizationTarget }).(pulumi.Float64Output) @@ -4398,6 +4975,12 @@ func (o AutoscalingPolicyResponseOutput) ToAutoscalingPolicyResponseOutputWithCo return o } +func (o AutoscalingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyResponse] { + return pulumix.Output[AutoscalingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process. func (o AutoscalingPolicyResponseOutput) CoolDownPeriodSec() pulumi.IntOutput { return o.ApplyT(func(v AutoscalingPolicyResponse) int { return v.CoolDownPeriodSec }).(pulumi.IntOutput) @@ -4489,6 +5072,12 @@ func (i AutoscalingPolicyScaleDownControlArgs) ToAutoscalingPolicyScaleDownContr return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyScaleDownControlOutput) } +func (i AutoscalingPolicyScaleDownControlArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleDownControl] { + return pulumix.Output[AutoscalingPolicyScaleDownControl]{ + OutputState: i.ToAutoscalingPolicyScaleDownControlOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyScaleDownControlArgs) ToAutoscalingPolicyScaleDownControlPtrOutput() AutoscalingPolicyScaleDownControlPtrOutput { return i.ToAutoscalingPolicyScaleDownControlPtrOutputWithContext(context.Background()) } @@ -4530,6 +5119,12 @@ func (i *autoscalingPolicyScaleDownControlPtrType) ToAutoscalingPolicyScaleDownC return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyScaleDownControlPtrOutput) } +func (i *autoscalingPolicyScaleDownControlPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyScaleDownControl] { + return pulumix.Output[*AutoscalingPolicyScaleDownControl]{ + OutputState: i.ToAutoscalingPolicyScaleDownControlPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below. type AutoscalingPolicyScaleDownControlOutput struct{ *pulumi.OutputState } @@ -4555,6 +5150,12 @@ func (o AutoscalingPolicyScaleDownControlOutput) ToAutoscalingPolicyScaleDownCon }).(AutoscalingPolicyScaleDownControlPtrOutput) } +func (o AutoscalingPolicyScaleDownControlOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleDownControl] { + return pulumix.Output[AutoscalingPolicyScaleDownControl]{ + OutputState: o.OutputState, + } +} + // Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. func (o AutoscalingPolicyScaleDownControlOutput) MaxScaledDownReplicas() FixedOrPercentPtrOutput { return o.ApplyT(func(v AutoscalingPolicyScaleDownControl) *FixedOrPercent { return v.MaxScaledDownReplicas }).(FixedOrPercentPtrOutput) @@ -4579,6 +5180,12 @@ func (o AutoscalingPolicyScaleDownControlPtrOutput) ToAutoscalingPolicyScaleDown return o } +func (o AutoscalingPolicyScaleDownControlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyScaleDownControl] { + return pulumix.Output[*AutoscalingPolicyScaleDownControl]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyScaleDownControlPtrOutput) Elem() AutoscalingPolicyScaleDownControlOutput { return o.ApplyT(func(v *AutoscalingPolicyScaleDownControl) AutoscalingPolicyScaleDownControl { if v != nil { @@ -4632,6 +5239,12 @@ func (o AutoscalingPolicyScaleDownControlResponseOutput) ToAutoscalingPolicyScal return o } +func (o AutoscalingPolicyScaleDownControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleDownControlResponse] { + return pulumix.Output[AutoscalingPolicyScaleDownControlResponse]{ + OutputState: o.OutputState, + } +} + // Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. func (o AutoscalingPolicyScaleDownControlResponseOutput) MaxScaledDownReplicas() FixedOrPercentResponseOutput { return o.ApplyT(func(v AutoscalingPolicyScaleDownControlResponse) FixedOrPercentResponse { @@ -4683,6 +5296,12 @@ func (i AutoscalingPolicyScaleInControlArgs) ToAutoscalingPolicyScaleInControlOu return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyScaleInControlOutput) } +func (i AutoscalingPolicyScaleInControlArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleInControl] { + return pulumix.Output[AutoscalingPolicyScaleInControl]{ + OutputState: i.ToAutoscalingPolicyScaleInControlOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyScaleInControlArgs) ToAutoscalingPolicyScaleInControlPtrOutput() AutoscalingPolicyScaleInControlPtrOutput { return i.ToAutoscalingPolicyScaleInControlPtrOutputWithContext(context.Background()) } @@ -4724,6 +5343,12 @@ func (i *autoscalingPolicyScaleInControlPtrType) ToAutoscalingPolicyScaleInContr return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyScaleInControlPtrOutput) } +func (i *autoscalingPolicyScaleInControlPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyScaleInControl] { + return pulumix.Output[*AutoscalingPolicyScaleInControl]{ + OutputState: i.ToAutoscalingPolicyScaleInControlPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below. type AutoscalingPolicyScaleInControlOutput struct{ *pulumi.OutputState } @@ -4749,6 +5374,12 @@ func (o AutoscalingPolicyScaleInControlOutput) ToAutoscalingPolicyScaleInControl }).(AutoscalingPolicyScaleInControlPtrOutput) } +func (o AutoscalingPolicyScaleInControlOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleInControl] { + return pulumix.Output[AutoscalingPolicyScaleInControl]{ + OutputState: o.OutputState, + } +} + // Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. func (o AutoscalingPolicyScaleInControlOutput) MaxScaledInReplicas() FixedOrPercentPtrOutput { return o.ApplyT(func(v AutoscalingPolicyScaleInControl) *FixedOrPercent { return v.MaxScaledInReplicas }).(FixedOrPercentPtrOutput) @@ -4773,6 +5404,12 @@ func (o AutoscalingPolicyScaleInControlPtrOutput) ToAutoscalingPolicyScaleInCont return o } +func (o AutoscalingPolicyScaleInControlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyScaleInControl] { + return pulumix.Output[*AutoscalingPolicyScaleInControl]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyScaleInControlPtrOutput) Elem() AutoscalingPolicyScaleInControlOutput { return o.ApplyT(func(v *AutoscalingPolicyScaleInControl) AutoscalingPolicyScaleInControl { if v != nil { @@ -4826,6 +5463,12 @@ func (o AutoscalingPolicyScaleInControlResponseOutput) ToAutoscalingPolicyScaleI return o } +func (o AutoscalingPolicyScaleInControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleInControlResponse] { + return pulumix.Output[AutoscalingPolicyScaleInControlResponse]{ + OutputState: o.OutputState, + } +} + // Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. func (o AutoscalingPolicyScaleInControlResponseOutput) MaxScaledInReplicas() FixedOrPercentResponseOutput { return o.ApplyT(func(v AutoscalingPolicyScaleInControlResponse) FixedOrPercentResponse { return v.MaxScaledInReplicas }).(FixedOrPercentResponseOutput) @@ -4915,6 +5558,12 @@ func (i BackendArgs) ToBackendOutputWithContext(ctx context.Context) BackendOutp return pulumi.ToOutputWithContext(ctx, i).(BackendOutput) } +func (i BackendArgs) ToOutput(ctx context.Context) pulumix.Output[Backend] { + return pulumix.Output[Backend]{ + OutputState: i.ToBackendOutputWithContext(ctx).OutputState, + } +} + // BackendArrayInput is an input type that accepts BackendArray and BackendArrayOutput values. // You can construct a concrete instance of `BackendArrayInput` via: // @@ -4940,6 +5589,12 @@ func (i BackendArray) ToBackendArrayOutputWithContext(ctx context.Context) Backe return pulumi.ToOutputWithContext(ctx, i).(BackendArrayOutput) } +func (i BackendArray) ToOutput(ctx context.Context) pulumix.Output[[]Backend] { + return pulumix.Output[[]Backend]{ + OutputState: i.ToBackendArrayOutputWithContext(ctx).OutputState, + } +} + // Message containing information of one individual backend. type BackendOutput struct{ *pulumi.OutputState } @@ -4955,6 +5610,12 @@ func (o BackendOutput) ToBackendOutputWithContext(ctx context.Context) BackendOu return o } +func (o BackendOutput) ToOutput(ctx context.Context) pulumix.Output[Backend] { + return pulumix.Output[Backend]{ + OutputState: o.OutputState, + } +} + // Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. func (o BackendOutput) BalancingMode() BackendBalancingModePtrOutput { return o.ApplyT(func(v Backend) *BackendBalancingMode { return v.BalancingMode }).(BackendBalancingModePtrOutput) @@ -5029,6 +5690,12 @@ func (o BackendArrayOutput) ToBackendArrayOutputWithContext(ctx context.Context) return o } +func (o BackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Backend] { + return pulumix.Output[[]Backend]{ + OutputState: o.OutputState, + } +} + func (o BackendArrayOutput) Index(i pulumi.IntInput) BackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Backend { return vs[0].([]Backend)[vs[1].(int)] @@ -5110,6 +5777,12 @@ func (i BackendBucketCdnPolicyArgs) ToBackendBucketCdnPolicyOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyOutput) } +func (i BackendBucketCdnPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicy] { + return pulumix.Output[BackendBucketCdnPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendBucketCdnPolicyArgs) ToBackendBucketCdnPolicyPtrOutput() BackendBucketCdnPolicyPtrOutput { return i.ToBackendBucketCdnPolicyPtrOutputWithContext(context.Background()) } @@ -5151,6 +5824,12 @@ func (i *backendBucketCdnPolicyPtrType) ToBackendBucketCdnPolicyPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyPtrOutput) } +func (i *backendBucketCdnPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicy] { + return pulumix.Output[*BackendBucketCdnPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing Cloud CDN configuration for a backend bucket. type BackendBucketCdnPolicyOutput struct{ *pulumi.OutputState } @@ -5176,6 +5855,12 @@ func (o BackendBucketCdnPolicyOutput) ToBackendBucketCdnPolicyPtrOutputWithConte }).(BackendBucketCdnPolicyPtrOutput) } +func (o BackendBucketCdnPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicy] { + return pulumix.Output[BackendBucketCdnPolicy]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendBucketCdnPolicyOutput) BypassCacheOnRequestHeaders() BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicy) []BackendBucketCdnPolicyBypassCacheOnRequestHeader { @@ -5249,6 +5934,12 @@ func (o BackendBucketCdnPolicyPtrOutput) ToBackendBucketCdnPolicyPtrOutputWithCo return o } +func (o BackendBucketCdnPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicy] { + return pulumix.Output[*BackendBucketCdnPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyPtrOutput) Elem() BackendBucketCdnPolicyOutput { return o.ApplyT(func(v *BackendBucketCdnPolicy) BackendBucketCdnPolicy { if v != nil { @@ -5404,6 +6095,12 @@ func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs) ToBackendBucketCdn return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) } +func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendBucketCdnPolicyBypassCacheOnRequestHeaderOutputWithContext(ctx).OutputState, + } +} + // BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayInput is an input type that accepts BackendBucketCdnPolicyBypassCacheOnRequestHeaderArray and BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput values. // You can construct a concrete instance of `BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayInput` via: // @@ -5429,6 +6126,12 @@ func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArray) ToBackendBucketCd return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) } +func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. type BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput struct{ *pulumi.OutputState } @@ -5444,6 +6147,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) ToBackendBucketC return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendBucketCdnPolicyBypassCacheOnRequestHeader) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -5463,6 +6172,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToBackendBu return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyBypassCacheOnRequestHeader { return vs[0].([]BackendBucketCdnPolicyBypassCacheOnRequestHeader)[vs[1].(int)] @@ -5490,6 +6205,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToBacken return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -5509,6 +6230,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) ToB return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse { return vs[0].([]BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse)[vs[1].(int)] @@ -5554,6 +6281,12 @@ func (i BackendBucketCdnPolicyCacheKeyPolicyArgs) ToBackendBucketCdnPolicyCacheK return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyCacheKeyPolicyOutput) } +func (i BackendBucketCdnPolicyCacheKeyPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyCacheKeyPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendBucketCdnPolicyCacheKeyPolicyArgs) ToBackendBucketCdnPolicyCacheKeyPolicyPtrOutput() BackendBucketCdnPolicyCacheKeyPolicyPtrOutput { return i.ToBackendBucketCdnPolicyCacheKeyPolicyPtrOutputWithContext(context.Background()) } @@ -5595,6 +6328,12 @@ func (i *backendBucketCdnPolicyCacheKeyPolicyPtrType) ToBackendBucketCdnPolicyCa return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) } +func (i *backendBucketCdnPolicyCacheKeyPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyCacheKeyPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing what to include in the cache key for a request for Cloud CDN. type BackendBucketCdnPolicyCacheKeyPolicyOutput struct{ *pulumi.OutputState } @@ -5620,6 +6359,12 @@ func (o BackendBucketCdnPolicyCacheKeyPolicyOutput) ToBackendBucketCdnPolicyCach }).(BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) } +func (o BackendBucketCdnPolicyCacheKeyPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + // Allows HTTP request headers (by name) to be used in the cache key. func (o BackendBucketCdnPolicyCacheKeyPolicyOutput) IncludeHttpHeaders() pulumi.StringArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicyCacheKeyPolicy) []string { return v.IncludeHttpHeaders }).(pulumi.StringArrayOutput) @@ -5644,6 +6389,12 @@ func (o BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) ToBackendBucketCdnPolicyC return o } +func (o BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) Elem() BackendBucketCdnPolicyCacheKeyPolicyOutput { return o.ApplyT(func(v *BackendBucketCdnPolicyCacheKeyPolicy) BackendBucketCdnPolicyCacheKeyPolicy { if v != nil { @@ -5697,6 +6448,12 @@ func (o BackendBucketCdnPolicyCacheKeyPolicyResponseOutput) ToBackendBucketCdnPo return o } +func (o BackendBucketCdnPolicyCacheKeyPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicyResponse] { + return pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Allows HTTP request headers (by name) to be used in the cache key. func (o BackendBucketCdnPolicyCacheKeyPolicyResponseOutput) IncludeHttpHeaders() pulumi.StringArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicyCacheKeyPolicyResponse) []string { return v.IncludeHttpHeaders }).(pulumi.StringArrayOutput) @@ -5746,6 +6503,12 @@ func (i BackendBucketCdnPolicyNegativeCachingPolicyArgs) ToBackendBucketCdnPolic return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyNegativeCachingPolicyOutput) } +func (i BackendBucketCdnPolicyNegativeCachingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyNegativeCachingPolicyOutputWithContext(ctx).OutputState, + } +} + // BackendBucketCdnPolicyNegativeCachingPolicyArrayInput is an input type that accepts BackendBucketCdnPolicyNegativeCachingPolicyArray and BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput values. // You can construct a concrete instance of `BackendBucketCdnPolicyNegativeCachingPolicyArrayInput` via: // @@ -5771,6 +6534,12 @@ func (i BackendBucketCdnPolicyNegativeCachingPolicyArray) ToBackendBucketCdnPoli return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) } +func (i BackendBucketCdnPolicyNegativeCachingPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyNegativeCachingPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Specify CDN TTLs for response error codes. type BackendBucketCdnPolicyNegativeCachingPolicyOutput struct{ *pulumi.OutputState } @@ -5786,6 +6555,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyOutput) ToBackendBucketCdnPol return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendBucketCdnPolicyNegativeCachingPolicyOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v BackendBucketCdnPolicyNegativeCachingPolicy) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -5810,6 +6585,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) ToBackendBucketC return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyNegativeCachingPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyNegativeCachingPolicy { return vs[0].([]BackendBucketCdnPolicyNegativeCachingPolicy)[vs[1].(int)] @@ -5839,6 +6620,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput) ToBackendBuck return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v BackendBucketCdnPolicyNegativeCachingPolicyResponse) int { return v.Code }).(pulumi.IntOutput) @@ -5863,6 +6650,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToBacken return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyNegativeCachingPolicyResponse { return vs[0].([]BackendBucketCdnPolicyNegativeCachingPolicyResponse)[vs[1].(int)] @@ -5912,6 +6705,12 @@ func (o BackendBucketCdnPolicyResponseOutput) ToBackendBucketCdnPolicyResponseOu return o } +func (o BackendBucketCdnPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyResponse] { + return pulumix.Output[BackendBucketCdnPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendBucketCdnPolicyResponseOutput) BypassCacheOnRequestHeaders() BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicyResponse) []BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse { @@ -6021,6 +6820,12 @@ func (o BackendResponseOutput) ToBackendResponseOutputWithContext(ctx context.Co return o } +func (o BackendResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendResponse] { + return pulumix.Output[BackendResponse]{ + OutputState: o.OutputState, + } +} + // Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. func (o BackendResponseOutput) BalancingMode() pulumi.StringOutput { return o.ApplyT(func(v BackendResponse) string { return v.BalancingMode }).(pulumi.StringOutput) @@ -6095,6 +6900,12 @@ func (o BackendResponseArrayOutput) ToBackendResponseArrayOutputWithContext(ctx return o } +func (o BackendResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendResponse] { + return pulumix.Output[[]BackendResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendResponseArrayOutput) Index(i pulumi.IntInput) BackendResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendResponse { return vs[0].([]BackendResponse)[vs[1].(int)] @@ -6176,6 +6987,12 @@ func (i BackendServiceCdnPolicyArgs) ToBackendServiceCdnPolicyOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyOutput) } +func (i BackendServiceCdnPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicy] { + return pulumix.Output[BackendServiceCdnPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceCdnPolicyArgs) ToBackendServiceCdnPolicyPtrOutput() BackendServiceCdnPolicyPtrOutput { return i.ToBackendServiceCdnPolicyPtrOutputWithContext(context.Background()) } @@ -6217,6 +7034,12 @@ func (i *backendServiceCdnPolicyPtrType) ToBackendServiceCdnPolicyPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyPtrOutput) } +func (i *backendServiceCdnPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicy] { + return pulumix.Output[*BackendServiceCdnPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing Cloud CDN configuration for a backend service. type BackendServiceCdnPolicyOutput struct{ *pulumi.OutputState } @@ -6242,6 +7065,12 @@ func (o BackendServiceCdnPolicyOutput) ToBackendServiceCdnPolicyPtrOutputWithCon }).(BackendServiceCdnPolicyPtrOutput) } +func (o BackendServiceCdnPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicy] { + return pulumix.Output[BackendServiceCdnPolicy]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendServiceCdnPolicyOutput) BypassCacheOnRequestHeaders() BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput { return o.ApplyT(func(v BackendServiceCdnPolicy) []BackendServiceCdnPolicyBypassCacheOnRequestHeader { @@ -6315,6 +7144,12 @@ func (o BackendServiceCdnPolicyPtrOutput) ToBackendServiceCdnPolicyPtrOutputWith return o } +func (o BackendServiceCdnPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicy] { + return pulumix.Output[*BackendServiceCdnPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyPtrOutput) Elem() BackendServiceCdnPolicyOutput { return o.ApplyT(func(v *BackendServiceCdnPolicy) BackendServiceCdnPolicy { if v != nil { @@ -6470,6 +7305,12 @@ func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs) ToBackendServiceC return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) } +func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendServiceCdnPolicyBypassCacheOnRequestHeaderOutputWithContext(ctx).OutputState, + } +} + // BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayInput is an input type that accepts BackendServiceCdnPolicyBypassCacheOnRequestHeaderArray and BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput values. // You can construct a concrete instance of `BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayInput` via: // @@ -6495,6 +7336,12 @@ func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArray) ToBackendService return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) } +func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. type BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput struct{ *pulumi.OutputState } @@ -6510,6 +7357,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) ToBackendServic return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendServiceCdnPolicyBypassCacheOnRequestHeader) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -6529,6 +7382,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToBackendS return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyBypassCacheOnRequestHeader { return vs[0].([]BackendServiceCdnPolicyBypassCacheOnRequestHeader)[vs[1].(int)] @@ -6556,6 +7415,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToBacke return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -6575,6 +7440,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) To return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse { return vs[0].([]BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse)[vs[1].(int)] @@ -6620,6 +7491,12 @@ func (i BackendServiceCdnPolicyNegativeCachingPolicyArgs) ToBackendServiceCdnPol return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyNegativeCachingPolicyOutput) } +func (i BackendServiceCdnPolicyNegativeCachingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyNegativeCachingPolicyOutputWithContext(ctx).OutputState, + } +} + // BackendServiceCdnPolicyNegativeCachingPolicyArrayInput is an input type that accepts BackendServiceCdnPolicyNegativeCachingPolicyArray and BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput values. // You can construct a concrete instance of `BackendServiceCdnPolicyNegativeCachingPolicyArrayInput` via: // @@ -6645,6 +7522,12 @@ func (i BackendServiceCdnPolicyNegativeCachingPolicyArray) ToBackendServiceCdnPo return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) } +func (i BackendServiceCdnPolicyNegativeCachingPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyNegativeCachingPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Specify CDN TTLs for response error codes. type BackendServiceCdnPolicyNegativeCachingPolicyOutput struct{ *pulumi.OutputState } @@ -6660,6 +7543,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyOutput) ToBackendServiceCdnP return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendServiceCdnPolicyNegativeCachingPolicyOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v BackendServiceCdnPolicyNegativeCachingPolicy) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -6684,6 +7573,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) ToBackendServic return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyNegativeCachingPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyNegativeCachingPolicy { return vs[0].([]BackendServiceCdnPolicyNegativeCachingPolicy)[vs[1].(int)] @@ -6713,6 +7608,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput) ToBackendSer return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v BackendServiceCdnPolicyNegativeCachingPolicyResponse) int { return v.Code }).(pulumi.IntOutput) @@ -6737,6 +7638,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToBacke return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyNegativeCachingPolicyResponse { return vs[0].([]BackendServiceCdnPolicyNegativeCachingPolicyResponse)[vs[1].(int)] @@ -6786,6 +7693,12 @@ func (o BackendServiceCdnPolicyResponseOutput) ToBackendServiceCdnPolicyResponse return o } +func (o BackendServiceCdnPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyResponse] { + return pulumix.Output[BackendServiceCdnPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendServiceCdnPolicyResponseOutput) BypassCacheOnRequestHeaders() BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput { return o.ApplyT(func(v BackendServiceCdnPolicyResponse) []BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse { @@ -6897,6 +7810,12 @@ func (i BackendServiceConnectionTrackingPolicyArgs) ToBackendServiceConnectionTr return pulumi.ToOutputWithContext(ctx, i).(BackendServiceConnectionTrackingPolicyOutput) } +func (i BackendServiceConnectionTrackingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[BackendServiceConnectionTrackingPolicy]{ + OutputState: i.ToBackendServiceConnectionTrackingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceConnectionTrackingPolicyArgs) ToBackendServiceConnectionTrackingPolicyPtrOutput() BackendServiceConnectionTrackingPolicyPtrOutput { return i.ToBackendServiceConnectionTrackingPolicyPtrOutputWithContext(context.Background()) } @@ -6938,6 +7857,12 @@ func (i *backendServiceConnectionTrackingPolicyPtrType) ToBackendServiceConnecti return pulumi.ToOutputWithContext(ctx, i).(BackendServiceConnectionTrackingPolicyPtrOutput) } +func (i *backendServiceConnectionTrackingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicy]{ + OutputState: i.ToBackendServiceConnectionTrackingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Connection Tracking configuration for this BackendService. type BackendServiceConnectionTrackingPolicyOutput struct{ *pulumi.OutputState } @@ -6963,6 +7888,12 @@ func (o BackendServiceConnectionTrackingPolicyOutput) ToBackendServiceConnection }).(BackendServiceConnectionTrackingPolicyPtrOutput) } +func (o BackendServiceConnectionTrackingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[BackendServiceConnectionTrackingPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence). func (o BackendServiceConnectionTrackingPolicyOutput) ConnectionPersistenceOnUnhealthyBackends() BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput { return o.ApplyT(func(v BackendServiceConnectionTrackingPolicy) *BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends { @@ -7001,6 +7932,12 @@ func (o BackendServiceConnectionTrackingPolicyPtrOutput) ToBackendServiceConnect return o } +func (o BackendServiceConnectionTrackingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyPtrOutput) Elem() BackendServiceConnectionTrackingPolicyOutput { return o.ApplyT(func(v *BackendServiceConnectionTrackingPolicy) BackendServiceConnectionTrackingPolicy { if v != nil { @@ -7078,6 +8015,12 @@ func (o BackendServiceConnectionTrackingPolicyResponseOutput) ToBackendServiceCo return o } +func (o BackendServiceConnectionTrackingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicyResponse] { + return pulumix.Output[BackendServiceConnectionTrackingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence). func (o BackendServiceConnectionTrackingPolicyResponseOutput) ConnectionPersistenceOnUnhealthyBackends() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceConnectionTrackingPolicyResponse) string { @@ -7143,6 +8086,12 @@ func (i BackendServiceFailoverPolicyArgs) ToBackendServiceFailoverPolicyOutputWi return pulumi.ToOutputWithContext(ctx, i).(BackendServiceFailoverPolicyOutput) } +func (i BackendServiceFailoverPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceFailoverPolicy] { + return pulumix.Output[BackendServiceFailoverPolicy]{ + OutputState: i.ToBackendServiceFailoverPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceFailoverPolicyArgs) ToBackendServiceFailoverPolicyPtrOutput() BackendServiceFailoverPolicyPtrOutput { return i.ToBackendServiceFailoverPolicyPtrOutputWithContext(context.Background()) } @@ -7184,6 +8133,12 @@ func (i *backendServiceFailoverPolicyPtrType) ToBackendServiceFailoverPolicyPtrO return pulumi.ToOutputWithContext(ctx, i).(BackendServiceFailoverPolicyPtrOutput) } +func (i *backendServiceFailoverPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceFailoverPolicy] { + return pulumix.Output[*BackendServiceFailoverPolicy]{ + OutputState: i.ToBackendServiceFailoverPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes). type BackendServiceFailoverPolicyOutput struct{ *pulumi.OutputState } @@ -7209,6 +8164,12 @@ func (o BackendServiceFailoverPolicyOutput) ToBackendServiceFailoverPolicyPtrOut }).(BackendServiceFailoverPolicyPtrOutput) } +func (o BackendServiceFailoverPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceFailoverPolicy] { + return pulumix.Output[BackendServiceFailoverPolicy]{ + OutputState: o.OutputState, + } +} + // This can be set to true only if the protocol is TCP. The default is false. func (o BackendServiceFailoverPolicyOutput) DisableConnectionDrainOnFailover() pulumi.BoolPtrOutput { return o.ApplyT(func(v BackendServiceFailoverPolicy) *bool { return v.DisableConnectionDrainOnFailover }).(pulumi.BoolPtrOutput) @@ -7238,6 +8199,12 @@ func (o BackendServiceFailoverPolicyPtrOutput) ToBackendServiceFailoverPolicyPtr return o } +func (o BackendServiceFailoverPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceFailoverPolicy] { + return pulumix.Output[*BackendServiceFailoverPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceFailoverPolicyPtrOutput) Elem() BackendServiceFailoverPolicyOutput { return o.ApplyT(func(v *BackendServiceFailoverPolicy) BackendServiceFailoverPolicy { if v != nil { @@ -7303,6 +8270,12 @@ func (o BackendServiceFailoverPolicyResponseOutput) ToBackendServiceFailoverPoli return o } +func (o BackendServiceFailoverPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceFailoverPolicyResponse] { + return pulumix.Output[BackendServiceFailoverPolicyResponse]{ + OutputState: o.OutputState, + } +} + // This can be set to true only if the protocol is TCP. The default is false. func (o BackendServiceFailoverPolicyResponseOutput) DisableConnectionDrainOnFailover() pulumi.BoolOutput { return o.ApplyT(func(v BackendServiceFailoverPolicyResponse) bool { return v.DisableConnectionDrainOnFailover }).(pulumi.BoolOutput) @@ -7361,6 +8334,12 @@ func (i BackendServiceIAPArgs) ToBackendServiceIAPOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIAPOutput) } +func (i BackendServiceIAPArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAP] { + return pulumix.Output[BackendServiceIAP]{ + OutputState: i.ToBackendServiceIAPOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceIAPArgs) ToBackendServiceIAPPtrOutput() BackendServiceIAPPtrOutput { return i.ToBackendServiceIAPPtrOutputWithContext(context.Background()) } @@ -7402,6 +8381,12 @@ func (i *backendServiceIAPPtrType) ToBackendServiceIAPPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIAPPtrOutput) } +func (i *backendServiceIAPPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIAP] { + return pulumix.Output[*BackendServiceIAP]{ + OutputState: i.ToBackendServiceIAPPtrOutputWithContext(ctx).OutputState, + } +} + // Identity-Aware Proxy type BackendServiceIAPOutput struct{ *pulumi.OutputState } @@ -7427,6 +8412,12 @@ func (o BackendServiceIAPOutput) ToBackendServiceIAPPtrOutputWithContext(ctx con }).(BackendServiceIAPPtrOutput) } +func (o BackendServiceIAPOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAP] { + return pulumix.Output[BackendServiceIAP]{ + OutputState: o.OutputState, + } +} + // Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. func (o BackendServiceIAPOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BackendServiceIAP) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -7456,6 +8447,12 @@ func (o BackendServiceIAPPtrOutput) ToBackendServiceIAPPtrOutputWithContext(ctx return o } +func (o BackendServiceIAPPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIAP] { + return pulumix.Output[*BackendServiceIAP]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceIAPPtrOutput) Elem() BackendServiceIAPOutput { return o.ApplyT(func(v *BackendServiceIAP) BackendServiceIAP { if v != nil { @@ -7523,6 +8520,12 @@ func (o BackendServiceIAPResponseOutput) ToBackendServiceIAPResponseOutputWithCo return o } +func (o BackendServiceIAPResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAPResponse] { + return pulumix.Output[BackendServiceIAPResponse]{ + OutputState: o.OutputState, + } +} + // Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. func (o BackendServiceIAPResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BackendServiceIAPResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -7578,6 +8581,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigArgs) ToBackendServiceLoc return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigOutputWithContext(ctx).OutputState, + } +} + // BackendServiceLocalityLoadBalancingPolicyConfigArrayInput is an input type that accepts BackendServiceLocalityLoadBalancingPolicyConfigArray and BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput values. // You can construct a concrete instance of `BackendServiceLocalityLoadBalancingPolicyConfigArrayInput` via: // @@ -7603,6 +8612,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigArray) ToBackendServiceLo return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user. type BackendServiceLocalityLoadBalancingPolicyConfigOutput struct{ *pulumi.OutputState } @@ -7618,6 +8633,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigOutput) ToBackendServiceL return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigOutput) CustomPolicy() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfig) *BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { return v.CustomPolicy @@ -7644,6 +8665,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) ToBackendSer return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) Index(i pulumi.IntInput) BackendServiceLocalityLoadBalancingPolicyConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceLocalityLoadBalancingPolicyConfig { return vs[0].([]BackendServiceLocalityLoadBalancingPolicyConfig)[vs[1].(int)] @@ -7689,6 +8716,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyArgs) ToBacke return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyArgs) ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput { return i.ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutputWithContext(context.Background()) } @@ -7730,6 +8763,12 @@ func (i *backendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrType) ToB return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) } +func (i *backendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for a custom policy implemented by the user and deployed with the client. type BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput struct{ *pulumi.OutputState } @@ -7755,6 +8794,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) ToBac }).(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) } +func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: o.OutputState, + } +} + // An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) Data() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) *string { return v.Data }).(pulumi.StringPtrOutput) @@ -7779,6 +8824,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) To return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) Elem() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput { return o.ApplyT(func(v *BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { if v != nil { @@ -7832,6 +8883,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutpu return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse]{ + OutputState: o.OutputState, + } +} + // An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutput) Data() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse) string { return v.Data }).(pulumi.StringOutput) @@ -7877,6 +8934,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigPolicyArgs) ToBackendServ return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceLocalityLoadBalancingPolicyConfigPolicyArgs) ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput() BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput { return i.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutputWithContext(context.Background()) } @@ -7918,6 +8981,12 @@ func (i *backendServiceLocalityLoadBalancingPolicyConfigPolicyPtrType) ToBackend return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) } +func (i *backendServiceLocalityLoadBalancingPolicyConfigPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for a built-in load balancing policy. type BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput struct{ *pulumi.OutputState } @@ -7943,6 +9012,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) ToBackendSe }).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: o.OutputState, + } +} + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) Name() BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigPolicy) *BackendServiceLocalityLoadBalancingPolicyConfigPolicyName { @@ -7964,6 +9039,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) ToBacken return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) Elem() BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput { return o.ApplyT(func(v *BackendServiceLocalityLoadBalancingPolicyConfigPolicy) BackendServiceLocalityLoadBalancingPolicyConfigPolicy { if v != nil { @@ -8005,6 +9086,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponseOutput) ToB return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse) string { return v.Name }).(pulumi.StringOutput) @@ -8031,6 +9118,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput) ToBackend return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigResponse] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput) CustomPolicy() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigResponse) BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse { return v.CustomPolicy @@ -8057,6 +9150,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseArrayOutput) ToBa return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfigResponse] { + return pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseArrayOutput) Index(i pulumi.IntInput) BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceLocalityLoadBalancingPolicyConfigResponse { return vs[0].([]BackendServiceLocalityLoadBalancingPolicyConfigResponse)[vs[1].(int)] @@ -8110,6 +9209,12 @@ func (i BackendServiceLogConfigArgs) ToBackendServiceLogConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLogConfigOutput) } +func (i BackendServiceLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfig] { + return pulumix.Output[BackendServiceLogConfig]{ + OutputState: i.ToBackendServiceLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceLogConfigArgs) ToBackendServiceLogConfigPtrOutput() BackendServiceLogConfigPtrOutput { return i.ToBackendServiceLogConfigPtrOutputWithContext(context.Background()) } @@ -8151,6 +9256,12 @@ func (i *backendServiceLogConfigPtrType) ToBackendServiceLogConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLogConfigPtrOutput) } +func (i *backendServiceLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfig] { + return pulumix.Output[*BackendServiceLogConfig]{ + OutputState: i.ToBackendServiceLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The available logging options for the load balancer traffic served by this backend service. type BackendServiceLogConfigOutput struct{ *pulumi.OutputState } @@ -8176,6 +9287,12 @@ func (o BackendServiceLogConfigOutput) ToBackendServiceLogConfigPtrOutputWithCon }).(BackendServiceLogConfigPtrOutput) } +func (o BackendServiceLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfig] { + return pulumix.Output[BackendServiceLogConfig]{ + OutputState: o.OutputState, + } +} + // Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. func (o BackendServiceLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v BackendServiceLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -8210,6 +9327,12 @@ func (o BackendServiceLogConfigPtrOutput) ToBackendServiceLogConfigPtrOutputWith return o } +func (o BackendServiceLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfig] { + return pulumix.Output[*BackendServiceLogConfig]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigPtrOutput) Elem() BackendServiceLogConfigOutput { return o.ApplyT(func(v *BackendServiceLogConfig) BackendServiceLogConfig { if v != nil { @@ -8287,6 +9410,12 @@ func (o BackendServiceLogConfigResponseOutput) ToBackendServiceLogConfigResponse return o } +func (o BackendServiceLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfigResponse] { + return pulumix.Output[BackendServiceLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. func (o BackendServiceLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v BackendServiceLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -8354,6 +9483,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -8379,6 +9514,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -8394,6 +9535,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o BindingOutput) BindingId() pulumi.StringPtrOutput { return o.ApplyT(func(v Binding) *string { return v.BindingId }).(pulumi.StringPtrOutput) @@ -8428,6 +9575,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -8461,6 +9614,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o BindingResponseOutput) BindingId() pulumi.StringOutput { return o.ApplyT(func(v BindingResponse) string { return v.BindingId }).(pulumi.StringOutput) @@ -8495,6 +9654,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -8560,6 +9725,12 @@ func (i CacheKeyPolicyArgs) ToCacheKeyPolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CacheKeyPolicyOutput) } +func (i CacheKeyPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[CacheKeyPolicy] { + return pulumix.Output[CacheKeyPolicy]{ + OutputState: i.ToCacheKeyPolicyOutputWithContext(ctx).OutputState, + } +} + func (i CacheKeyPolicyArgs) ToCacheKeyPolicyPtrOutput() CacheKeyPolicyPtrOutput { return i.ToCacheKeyPolicyPtrOutputWithContext(context.Background()) } @@ -8601,6 +9772,12 @@ func (i *cacheKeyPolicyPtrType) ToCacheKeyPolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CacheKeyPolicyPtrOutput) } +func (i *cacheKeyPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CacheKeyPolicy] { + return pulumix.Output[*CacheKeyPolicy]{ + OutputState: i.ToCacheKeyPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing what to include in the cache key for a request for Cloud CDN. type CacheKeyPolicyOutput struct{ *pulumi.OutputState } @@ -8626,6 +9803,12 @@ func (o CacheKeyPolicyOutput) ToCacheKeyPolicyPtrOutputWithContext(ctx context.C }).(CacheKeyPolicyPtrOutput) } +func (o CacheKeyPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[CacheKeyPolicy] { + return pulumix.Output[CacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + // If true, requests to different hosts will be cached separately. func (o CacheKeyPolicyOutput) IncludeHost() pulumi.BoolPtrOutput { return o.ApplyT(func(v CacheKeyPolicy) *bool { return v.IncludeHost }).(pulumi.BoolPtrOutput) @@ -8675,6 +9858,12 @@ func (o CacheKeyPolicyPtrOutput) ToCacheKeyPolicyPtrOutputWithContext(ctx contex return o } +func (o CacheKeyPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CacheKeyPolicy] { + return pulumix.Output[*CacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + func (o CacheKeyPolicyPtrOutput) Elem() CacheKeyPolicyOutput { return o.ApplyT(func(v *CacheKeyPolicy) CacheKeyPolicy { if v != nil { @@ -8788,6 +9977,12 @@ func (o CacheKeyPolicyResponseOutput) ToCacheKeyPolicyResponseOutputWithContext( return o } +func (o CacheKeyPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CacheKeyPolicyResponse] { + return pulumix.Output[CacheKeyPolicyResponse]{ + OutputState: o.OutputState, + } +} + // If true, requests to different hosts will be cached separately. func (o CacheKeyPolicyResponseOutput) IncludeHost() pulumi.BoolOutput { return o.ApplyT(func(v CacheKeyPolicyResponse) bool { return v.IncludeHost }).(pulumi.BoolOutput) @@ -8878,6 +10073,12 @@ func (i CircuitBreakersArgs) ToCircuitBreakersOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CircuitBreakersOutput) } +func (i CircuitBreakersArgs) ToOutput(ctx context.Context) pulumix.Output[CircuitBreakers] { + return pulumix.Output[CircuitBreakers]{ + OutputState: i.ToCircuitBreakersOutputWithContext(ctx).OutputState, + } +} + func (i CircuitBreakersArgs) ToCircuitBreakersPtrOutput() CircuitBreakersPtrOutput { return i.ToCircuitBreakersPtrOutputWithContext(context.Background()) } @@ -8919,6 +10120,12 @@ func (i *circuitBreakersPtrType) ToCircuitBreakersPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CircuitBreakersPtrOutput) } +func (i *circuitBreakersPtrType) ToOutput(ctx context.Context) pulumix.Output[*CircuitBreakers] { + return pulumix.Output[*CircuitBreakers]{ + OutputState: i.ToCircuitBreakersPtrOutputWithContext(ctx).OutputState, + } +} + // Settings controlling the volume of requests, connections and retries to this backend service. type CircuitBreakersOutput struct{ *pulumi.OutputState } @@ -8944,6 +10151,12 @@ func (o CircuitBreakersOutput) ToCircuitBreakersPtrOutputWithContext(ctx context }).(CircuitBreakersPtrOutput) } +func (o CircuitBreakersOutput) ToOutput(ctx context.Context) pulumix.Output[CircuitBreakers] { + return pulumix.Output[CircuitBreakers]{ + OutputState: o.OutputState, + } +} + // The timeout for new network connections to hosts. func (o CircuitBreakersOutput) ConnectTimeout() DurationPtrOutput { return o.ApplyT(func(v CircuitBreakers) *Duration { return v.ConnectTimeout }).(DurationPtrOutput) @@ -8988,6 +10201,12 @@ func (o CircuitBreakersPtrOutput) ToCircuitBreakersPtrOutputWithContext(ctx cont return o } +func (o CircuitBreakersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CircuitBreakers] { + return pulumix.Output[*CircuitBreakers]{ + OutputState: o.OutputState, + } +} + func (o CircuitBreakersPtrOutput) Elem() CircuitBreakersOutput { return o.ApplyT(func(v *CircuitBreakers) CircuitBreakers { if v != nil { @@ -9089,6 +10308,12 @@ func (o CircuitBreakersResponseOutput) ToCircuitBreakersResponseOutputWithContex return o } +func (o CircuitBreakersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CircuitBreakersResponse] { + return pulumix.Output[CircuitBreakersResponse]{ + OutputState: o.OutputState, + } +} + // The timeout for new network connections to hosts. func (o CircuitBreakersResponseOutput) ConnectTimeout() DurationResponseOutput { return o.ApplyT(func(v CircuitBreakersResponse) DurationResponse { return v.ConnectTimeout }).(DurationResponseOutput) @@ -9170,6 +10395,12 @@ func (i ConditionArgs) ToConditionOutputWithContext(ctx context.Context) Conditi return pulumi.ToOutputWithContext(ctx, i).(ConditionOutput) } +func (i ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: i.ToConditionOutputWithContext(ctx).OutputState, + } +} + // ConditionArrayInput is an input type that accepts ConditionArray and ConditionArrayOutput values. // You can construct a concrete instance of `ConditionArrayInput` via: // @@ -9195,6 +10426,12 @@ func (i ConditionArray) ToConditionArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ConditionArrayOutput) } +func (i ConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: i.ToConditionArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionOutput struct{ *pulumi.OutputState } @@ -9210,6 +10447,12 @@ func (o ConditionOutput) ToConditionOutputWithContext(ctx context.Context) Condi return o } +func (o ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o ConditionOutput) Iam() ConditionIamPtrOutput { return o.ApplyT(func(v Condition) *ConditionIam { return v.Iam }).(ConditionIamPtrOutput) @@ -9249,6 +10492,12 @@ func (o ConditionArrayOutput) ToConditionArrayOutputWithContext(ctx context.Cont return o } +func (o ConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: o.OutputState, + } +} + func (o ConditionArrayOutput) Index(i pulumi.IntInput) ConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Condition { return vs[0].([]Condition)[vs[1].(int)] @@ -9284,6 +10533,12 @@ func (o ConditionResponseOutput) ToConditionResponseOutputWithContext(ctx contex return o } +func (o ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionResponse] { + return pulumix.Output[ConditionResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o ConditionResponseOutput) Iam() pulumi.StringOutput { return o.ApplyT(func(v ConditionResponse) string { return v.Iam }).(pulumi.StringOutput) @@ -9323,6 +10578,12 @@ func (o ConditionResponseArrayOutput) ToConditionResponseArrayOutputWithContext( return o } +func (o ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConditionResponse] { + return pulumix.Output[[]ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o ConditionResponseArrayOutput) Index(i pulumi.IntInput) ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConditionResponse { return vs[0].([]ConditionResponse)[vs[1].(int)] @@ -9364,6 +10625,12 @@ func (i ConfidentialInstanceConfigArgs) ToConfidentialInstanceConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(ConfidentialInstanceConfigOutput) } +func (i ConfidentialInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfig] { + return pulumix.Output[ConfidentialInstanceConfig]{ + OutputState: i.ToConfidentialInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ConfidentialInstanceConfigArgs) ToConfidentialInstanceConfigPtrOutput() ConfidentialInstanceConfigPtrOutput { return i.ToConfidentialInstanceConfigPtrOutputWithContext(context.Background()) } @@ -9405,6 +10672,12 @@ func (i *confidentialInstanceConfigPtrType) ToConfidentialInstanceConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(ConfidentialInstanceConfigPtrOutput) } +func (i *confidentialInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialInstanceConfig] { + return pulumix.Output[*ConfidentialInstanceConfig]{ + OutputState: i.ToConfidentialInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Confidential Instance options. type ConfidentialInstanceConfigOutput struct{ *pulumi.OutputState } @@ -9430,6 +10703,12 @@ func (o ConfidentialInstanceConfigOutput) ToConfidentialInstanceConfigPtrOutputW }).(ConfidentialInstanceConfigPtrOutput) } +func (o ConfidentialInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfig] { + return pulumix.Output[ConfidentialInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance should have confidential compute enabled. func (o ConfidentialInstanceConfigOutput) EnableConfidentialCompute() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConfidentialInstanceConfig) *bool { return v.EnableConfidentialCompute }).(pulumi.BoolPtrOutput) @@ -9449,6 +10728,12 @@ func (o ConfidentialInstanceConfigPtrOutput) ToConfidentialInstanceConfigPtrOutp return o } +func (o ConfidentialInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialInstanceConfig] { + return pulumix.Output[*ConfidentialInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ConfidentialInstanceConfigPtrOutput) Elem() ConfidentialInstanceConfigOutput { return o.ApplyT(func(v *ConfidentialInstanceConfig) ConfidentialInstanceConfig { if v != nil { @@ -9490,6 +10775,12 @@ func (o ConfidentialInstanceConfigResponseOutput) ToConfidentialInstanceConfigRe return o } +func (o ConfidentialInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfigResponse] { + return pulumix.Output[ConfidentialInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance should have confidential compute enabled. func (o ConfidentialInstanceConfigResponseOutput) EnableConfidentialCompute() pulumi.BoolOutput { return o.ApplyT(func(v ConfidentialInstanceConfigResponse) bool { return v.EnableConfidentialCompute }).(pulumi.BoolOutput) @@ -9530,6 +10821,12 @@ func (i ConnectionDrainingArgs) ToConnectionDrainingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ConnectionDrainingOutput) } +func (i ConnectionDrainingArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionDraining] { + return pulumix.Output[ConnectionDraining]{ + OutputState: i.ToConnectionDrainingOutputWithContext(ctx).OutputState, + } +} + func (i ConnectionDrainingArgs) ToConnectionDrainingPtrOutput() ConnectionDrainingPtrOutput { return i.ToConnectionDrainingPtrOutputWithContext(context.Background()) } @@ -9571,6 +10868,12 @@ func (i *connectionDrainingPtrType) ToConnectionDrainingPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ConnectionDrainingPtrOutput) } +func (i *connectionDrainingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionDraining] { + return pulumix.Output[*ConnectionDraining]{ + OutputState: i.ToConnectionDrainingPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing connection draining configuration. type ConnectionDrainingOutput struct{ *pulumi.OutputState } @@ -9596,6 +10899,12 @@ func (o ConnectionDrainingOutput) ToConnectionDrainingPtrOutputWithContext(ctx c }).(ConnectionDrainingPtrOutput) } +func (o ConnectionDrainingOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionDraining] { + return pulumix.Output[ConnectionDraining]{ + OutputState: o.OutputState, + } +} + // Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining. func (o ConnectionDrainingOutput) DrainingTimeoutSec() pulumi.IntPtrOutput { return o.ApplyT(func(v ConnectionDraining) *int { return v.DrainingTimeoutSec }).(pulumi.IntPtrOutput) @@ -9615,6 +10924,12 @@ func (o ConnectionDrainingPtrOutput) ToConnectionDrainingPtrOutputWithContext(ct return o } +func (o ConnectionDrainingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionDraining] { + return pulumix.Output[*ConnectionDraining]{ + OutputState: o.OutputState, + } +} + func (o ConnectionDrainingPtrOutput) Elem() ConnectionDrainingOutput { return o.ApplyT(func(v *ConnectionDraining) ConnectionDraining { if v != nil { @@ -9656,6 +10971,12 @@ func (o ConnectionDrainingResponseOutput) ToConnectionDrainingResponseOutputWith return o } +func (o ConnectionDrainingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionDrainingResponse] { + return pulumix.Output[ConnectionDrainingResponse]{ + OutputState: o.OutputState, + } +} + // Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining. func (o ConnectionDrainingResponseOutput) DrainingTimeoutSec() pulumi.IntOutput { return o.ApplyT(func(v ConnectionDrainingResponse) int { return v.DrainingTimeoutSec }).(pulumi.IntOutput) @@ -9704,6 +11025,12 @@ func (i ConsistentHashLoadBalancerSettingsArgs) ToConsistentHashLoadBalancerSett return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsOutput) } +func (i ConsistentHashLoadBalancerSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettings] { + return pulumix.Output[ConsistentHashLoadBalancerSettings]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ConsistentHashLoadBalancerSettingsArgs) ToConsistentHashLoadBalancerSettingsPtrOutput() ConsistentHashLoadBalancerSettingsPtrOutput { return i.ToConsistentHashLoadBalancerSettingsPtrOutputWithContext(context.Background()) } @@ -9745,6 +11072,12 @@ func (i *consistentHashLoadBalancerSettingsPtrType) ToConsistentHashLoadBalancer return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsPtrOutput) } +func (i *consistentHashLoadBalancerSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettings] { + return pulumix.Output[*ConsistentHashLoadBalancerSettings]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // This message defines settings for a consistent hash style load balancer. type ConsistentHashLoadBalancerSettingsOutput struct{ *pulumi.OutputState } @@ -9770,6 +11103,12 @@ func (o ConsistentHashLoadBalancerSettingsOutput) ToConsistentHashLoadBalancerSe }).(ConsistentHashLoadBalancerSettingsPtrOutput) } +func (o ConsistentHashLoadBalancerSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettings] { + return pulumix.Output[ConsistentHashLoadBalancerSettings]{ + OutputState: o.OutputState, + } +} + // Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o ConsistentHashLoadBalancerSettingsOutput) HttpCookie() ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettings) *ConsistentHashLoadBalancerSettingsHttpCookie { @@ -9801,6 +11140,12 @@ func (o ConsistentHashLoadBalancerSettingsPtrOutput) ToConsistentHashLoadBalance return o } +func (o ConsistentHashLoadBalancerSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettings] { + return pulumix.Output[*ConsistentHashLoadBalancerSettings]{ + OutputState: o.OutputState, + } +} + func (o ConsistentHashLoadBalancerSettingsPtrOutput) Elem() ConsistentHashLoadBalancerSettingsOutput { return o.ApplyT(func(v *ConsistentHashLoadBalancerSettings) ConsistentHashLoadBalancerSettings { if v != nil { @@ -9884,6 +11229,12 @@ func (i ConsistentHashLoadBalancerSettingsHttpCookieArgs) ToConsistentHashLoadBa return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsHttpCookieOutput) } +func (i ConsistentHashLoadBalancerSettingsHttpCookieArgs) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsHttpCookieOutputWithContext(ctx).OutputState, + } +} + func (i ConsistentHashLoadBalancerSettingsHttpCookieArgs) ToConsistentHashLoadBalancerSettingsHttpCookiePtrOutput() ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput { return i.ToConsistentHashLoadBalancerSettingsHttpCookiePtrOutputWithContext(context.Background()) } @@ -9925,6 +11276,12 @@ func (i *consistentHashLoadBalancerSettingsHttpCookiePtrType) ToConsistentHashLo return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) } +func (i *consistentHashLoadBalancerSettingsHttpCookiePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsHttpCookiePtrOutputWithContext(ctx).OutputState, + } +} + // The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash. type ConsistentHashLoadBalancerSettingsHttpCookieOutput struct{ *pulumi.OutputState } @@ -9950,6 +11307,12 @@ func (o ConsistentHashLoadBalancerSettingsHttpCookieOutput) ToConsistentHashLoad }).(ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) } +func (o ConsistentHashLoadBalancerSettingsHttpCookieOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: o.OutputState, + } +} + // Name of the cookie. func (o ConsistentHashLoadBalancerSettingsHttpCookieOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettingsHttpCookie) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -9979,6 +11342,12 @@ func (o ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) ToConsistentHashL return o } +func (o ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: o.OutputState, + } +} + func (o ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) Elem() ConsistentHashLoadBalancerSettingsHttpCookieOutput { return o.ApplyT(func(v *ConsistentHashLoadBalancerSettingsHttpCookie) ConsistentHashLoadBalancerSettingsHttpCookie { if v != nil { @@ -10044,6 +11413,12 @@ func (o ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput) ToConsistent return o } +func (o ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookieResponse] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookieResponse]{ + OutputState: o.OutputState, + } +} + // Name of the cookie. func (o ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettingsHttpCookieResponse) string { return v.Name }).(pulumi.StringOutput) @@ -10084,6 +11459,12 @@ func (o ConsistentHashLoadBalancerSettingsResponseOutput) ToConsistentHashLoadBa return o } +func (o ConsistentHashLoadBalancerSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsResponse] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o ConsistentHashLoadBalancerSettingsResponseOutput) HttpCookie() ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettingsResponse) ConsistentHashLoadBalancerSettingsHttpCookieResponse { @@ -10164,6 +11545,12 @@ func (i CorsPolicyArgs) ToCorsPolicyOutputWithContext(ctx context.Context) CorsP return pulumi.ToOutputWithContext(ctx, i).(CorsPolicyOutput) } +func (i CorsPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[CorsPolicy] { + return pulumix.Output[CorsPolicy]{ + OutputState: i.ToCorsPolicyOutputWithContext(ctx).OutputState, + } +} + func (i CorsPolicyArgs) ToCorsPolicyPtrOutput() CorsPolicyPtrOutput { return i.ToCorsPolicyPtrOutputWithContext(context.Background()) } @@ -10205,6 +11592,12 @@ func (i *corsPolicyPtrType) ToCorsPolicyPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(CorsPolicyPtrOutput) } +func (i *corsPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CorsPolicy] { + return pulumix.Output[*CorsPolicy]{ + OutputState: i.ToCorsPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. type CorsPolicyOutput struct{ *pulumi.OutputState } @@ -10230,6 +11623,12 @@ func (o CorsPolicyOutput) ToCorsPolicyPtrOutputWithContext(ctx context.Context) }).(CorsPolicyPtrOutput) } +func (o CorsPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[CorsPolicy] { + return pulumix.Output[CorsPolicy]{ + OutputState: o.OutputState, + } +} + // In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false. func (o CorsPolicyOutput) AllowCredentials() pulumi.BoolPtrOutput { return o.ApplyT(func(v CorsPolicy) *bool { return v.AllowCredentials }).(pulumi.BoolPtrOutput) @@ -10284,6 +11683,12 @@ func (o CorsPolicyPtrOutput) ToCorsPolicyPtrOutputWithContext(ctx context.Contex return o } +func (o CorsPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CorsPolicy] { + return pulumix.Output[*CorsPolicy]{ + OutputState: o.OutputState, + } +} + func (o CorsPolicyPtrOutput) Elem() CorsPolicyOutput { return o.ApplyT(func(v *CorsPolicy) CorsPolicy { if v != nil { @@ -10409,6 +11814,12 @@ func (o CorsPolicyResponseOutput) ToCorsPolicyResponseOutputWithContext(ctx cont return o } +func (o CorsPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CorsPolicyResponse] { + return pulumix.Output[CorsPolicyResponse]{ + OutputState: o.OutputState, + } +} + // In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false. func (o CorsPolicyResponseOutput) AllowCredentials() pulumi.BoolOutput { return o.ApplyT(func(v CorsPolicyResponse) bool { return v.AllowCredentials }).(pulumi.BoolOutput) @@ -10488,6 +11899,12 @@ func (i CustomErrorResponsePolicyArgs) ToCustomErrorResponsePolicyOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(CustomErrorResponsePolicyOutput) } +func (i CustomErrorResponsePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicy] { + return pulumix.Output[CustomErrorResponsePolicy]{ + OutputState: i.ToCustomErrorResponsePolicyOutputWithContext(ctx).OutputState, + } +} + func (i CustomErrorResponsePolicyArgs) ToCustomErrorResponsePolicyPtrOutput() CustomErrorResponsePolicyPtrOutput { return i.ToCustomErrorResponsePolicyPtrOutputWithContext(context.Background()) } @@ -10529,6 +11946,12 @@ func (i *customErrorResponsePolicyPtrType) ToCustomErrorResponsePolicyPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(CustomErrorResponsePolicyPtrOutput) } +func (i *customErrorResponsePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomErrorResponsePolicy] { + return pulumix.Output[*CustomErrorResponsePolicy]{ + OutputState: i.ToCustomErrorResponsePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the custom error response policy that must be applied when the backend service or backend bucket responds with an error. type CustomErrorResponsePolicyOutput struct{ *pulumi.OutputState } @@ -10554,6 +11977,12 @@ func (o CustomErrorResponsePolicyOutput) ToCustomErrorResponsePolicyPtrOutputWit }).(CustomErrorResponsePolicyPtrOutput) } +func (o CustomErrorResponsePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicy] { + return pulumix.Output[CustomErrorResponsePolicy]{ + OutputState: o.OutputState, + } +} + // Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. func (o CustomErrorResponsePolicyOutput) ErrorResponseRules() CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput { return o.ApplyT(func(v CustomErrorResponsePolicy) []CustomErrorResponsePolicyCustomErrorResponseRule { @@ -10580,6 +12009,12 @@ func (o CustomErrorResponsePolicyPtrOutput) ToCustomErrorResponsePolicyPtrOutput return o } +func (o CustomErrorResponsePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomErrorResponsePolicy] { + return pulumix.Output[*CustomErrorResponsePolicy]{ + OutputState: o.OutputState, + } +} + func (o CustomErrorResponsePolicyPtrOutput) Elem() CustomErrorResponsePolicyOutput { return o.ApplyT(func(v *CustomErrorResponsePolicy) CustomErrorResponsePolicy { if v != nil { @@ -10653,6 +12088,12 @@ func (i CustomErrorResponsePolicyCustomErrorResponseRuleArgs) ToCustomErrorRespo return pulumi.ToOutputWithContext(ctx, i).(CustomErrorResponsePolicyCustomErrorResponseRuleOutput) } +func (i CustomErrorResponsePolicyCustomErrorResponseRuleArgs) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRule] { + return pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRule]{ + OutputState: i.ToCustomErrorResponsePolicyCustomErrorResponseRuleOutputWithContext(ctx).OutputState, + } +} + // CustomErrorResponsePolicyCustomErrorResponseRuleArrayInput is an input type that accepts CustomErrorResponsePolicyCustomErrorResponseRuleArray and CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput values. // You can construct a concrete instance of `CustomErrorResponsePolicyCustomErrorResponseRuleArrayInput` via: // @@ -10678,6 +12119,12 @@ func (i CustomErrorResponsePolicyCustomErrorResponseRuleArray) ToCustomErrorResp return pulumi.ToOutputWithContext(ctx, i).(CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput) } +func (i CustomErrorResponsePolicyCustomErrorResponseRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRule] { + return pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRule]{ + OutputState: i.ToCustomErrorResponsePolicyCustomErrorResponseRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the mapping between the response code that will be returned along with the custom error content and the response code returned by the backend service. type CustomErrorResponsePolicyCustomErrorResponseRuleOutput struct{ *pulumi.OutputState } @@ -10693,6 +12140,12 @@ func (o CustomErrorResponsePolicyCustomErrorResponseRuleOutput) ToCustomErrorRes return o } +func (o CustomErrorResponsePolicyCustomErrorResponseRuleOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRule] { + return pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRule]{ + OutputState: o.OutputState, + } +} + // Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy. func (o CustomErrorResponsePolicyCustomErrorResponseRuleOutput) MatchResponseCodes() pulumi.StringArrayOutput { return o.ApplyT(func(v CustomErrorResponsePolicyCustomErrorResponseRule) []string { return v.MatchResponseCodes }).(pulumi.StringArrayOutput) @@ -10722,6 +12175,12 @@ func (o CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput) ToCustomErr return o } +func (o CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRule] { + return pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRule]{ + OutputState: o.OutputState, + } +} + func (o CustomErrorResponsePolicyCustomErrorResponseRuleArrayOutput) Index(i pulumi.IntInput) CustomErrorResponsePolicyCustomErrorResponseRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomErrorResponsePolicyCustomErrorResponseRule { return vs[0].([]CustomErrorResponsePolicyCustomErrorResponseRule)[vs[1].(int)] @@ -10753,6 +12212,12 @@ func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseOutput) ToCustom return o } +func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRuleResponse] { + return pulumix.Output[CustomErrorResponsePolicyCustomErrorResponseRuleResponse]{ + OutputState: o.OutputState, + } +} + // Valid values include: - A number between 400 and 599: For example 401 or 503, in which case the load balancer applies the policy if the error code exactly matches this value. - 5xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 500 to 599. - 4xx: Load Balancer will apply the policy if the backend service responds with any response code in the range of 400 to 499. Values must be unique within matchResponseCodes and across all errorResponseRules of CustomErrorResponsePolicy. func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseOutput) MatchResponseCodes() pulumi.StringArrayOutput { return o.ApplyT(func(v CustomErrorResponsePolicyCustomErrorResponseRuleResponse) []string { return v.MatchResponseCodes }).(pulumi.StringArrayOutput) @@ -10782,6 +12247,12 @@ func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseArrayOutput) ToC return o } +func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRuleResponse] { + return pulumix.Output[[]CustomErrorResponsePolicyCustomErrorResponseRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o CustomErrorResponsePolicyCustomErrorResponseRuleResponseArrayOutput) Index(i pulumi.IntInput) CustomErrorResponsePolicyCustomErrorResponseRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomErrorResponsePolicyCustomErrorResponseRuleResponse { return vs[0].([]CustomErrorResponsePolicyCustomErrorResponseRuleResponse)[vs[1].(int)] @@ -10811,6 +12282,12 @@ func (o CustomErrorResponsePolicyResponseOutput) ToCustomErrorResponsePolicyResp return o } +func (o CustomErrorResponsePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponsePolicyResponse] { + return pulumix.Output[CustomErrorResponsePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies rules for returning error responses. In a given policy, if you specify rules for both a range of error codes as well as rules for specific error codes then rules with specific error codes have a higher priority. For example, assume that you configure a rule for 401 (Un-authorized) code, and another for all 4 series error codes (4XX). If the backend service returns a 401, then the rule for 401 will be applied. However if the backend service returns a 403, the rule for 4xx takes effect. func (o CustomErrorResponsePolicyResponseOutput) ErrorResponseRules() CustomErrorResponsePolicyCustomErrorResponseRuleResponseArrayOutput { return o.ApplyT(func(v CustomErrorResponsePolicyResponse) []CustomErrorResponsePolicyCustomErrorResponseRuleResponse { @@ -10868,6 +12345,12 @@ func (i CustomerEncryptionKeyArgs) ToCustomerEncryptionKeyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CustomerEncryptionKeyOutput) } +func (i CustomerEncryptionKeyArgs) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKey] { + return pulumix.Output[CustomerEncryptionKey]{ + OutputState: i.ToCustomerEncryptionKeyOutputWithContext(ctx).OutputState, + } +} + func (i CustomerEncryptionKeyArgs) ToCustomerEncryptionKeyPtrOutput() CustomerEncryptionKeyPtrOutput { return i.ToCustomerEncryptionKeyPtrOutputWithContext(context.Background()) } @@ -10909,6 +12392,12 @@ func (i *customerEncryptionKeyPtrType) ToCustomerEncryptionKeyPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(CustomerEncryptionKeyPtrOutput) } +func (i *customerEncryptionKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomerEncryptionKey] { + return pulumix.Output[*CustomerEncryptionKey]{ + OutputState: i.ToCustomerEncryptionKeyPtrOutputWithContext(ctx).OutputState, + } +} + type CustomerEncryptionKeyOutput struct{ *pulumi.OutputState } func (CustomerEncryptionKeyOutput) ElementType() reflect.Type { @@ -10933,6 +12422,12 @@ func (o CustomerEncryptionKeyOutput) ToCustomerEncryptionKeyPtrOutputWithContext }).(CustomerEncryptionKeyPtrOutput) } +func (o CustomerEncryptionKeyOutput) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKey] { + return pulumix.Output[CustomerEncryptionKey]{ + OutputState: o.OutputState, + } +} + // The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key func (o CustomerEncryptionKeyOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v CustomerEncryptionKey) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -10967,6 +12462,12 @@ func (o CustomerEncryptionKeyPtrOutput) ToCustomerEncryptionKeyPtrOutputWithCont return o } +func (o CustomerEncryptionKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomerEncryptionKey] { + return pulumix.Output[*CustomerEncryptionKey]{ + OutputState: o.OutputState, + } +} + func (o CustomerEncryptionKeyPtrOutput) Elem() CustomerEncryptionKeyOutput { return o.ApplyT(func(v *CustomerEncryptionKey) CustomerEncryptionKey { if v != nil { @@ -11044,6 +12545,12 @@ func (o CustomerEncryptionKeyResponseOutput) ToCustomerEncryptionKeyResponseOutp return o } +func (o CustomerEncryptionKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKeyResponse] { + return pulumix.Output[CustomerEncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + // The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key func (o CustomerEncryptionKeyResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v CustomerEncryptionKeyResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -11124,6 +12631,12 @@ func (i DeprecationStatusArgs) ToDeprecationStatusOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DeprecationStatusOutput) } +func (i DeprecationStatusArgs) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatus] { + return pulumix.Output[DeprecationStatus]{ + OutputState: i.ToDeprecationStatusOutputWithContext(ctx).OutputState, + } +} + func (i DeprecationStatusArgs) ToDeprecationStatusPtrOutput() DeprecationStatusPtrOutput { return i.ToDeprecationStatusPtrOutputWithContext(context.Background()) } @@ -11165,6 +12678,12 @@ func (i *deprecationStatusPtrType) ToDeprecationStatusPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DeprecationStatusPtrOutput) } +func (i *deprecationStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatus] { + return pulumix.Output[*DeprecationStatus]{ + OutputState: i.ToDeprecationStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecation status for a public resource. type DeprecationStatusOutput struct{ *pulumi.OutputState } @@ -11190,6 +12709,12 @@ func (o DeprecationStatusOutput) ToDeprecationStatusPtrOutputWithContext(ctx con }).(DeprecationStatusPtrOutput) } +func (o DeprecationStatusOutput) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatus] { + return pulumix.Output[DeprecationStatus]{ + OutputState: o.OutputState, + } +} + // An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it. func (o DeprecationStatusOutput) Deleted() pulumi.StringPtrOutput { return o.ApplyT(func(v DeprecationStatus) *string { return v.Deleted }).(pulumi.StringPtrOutput) @@ -11234,6 +12759,12 @@ func (o DeprecationStatusPtrOutput) ToDeprecationStatusPtrOutputWithContext(ctx return o } +func (o DeprecationStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatus] { + return pulumix.Output[*DeprecationStatus]{ + OutputState: o.OutputState, + } +} + func (o DeprecationStatusPtrOutput) Elem() DeprecationStatusOutput { return o.ApplyT(func(v *DeprecationStatus) DeprecationStatus { if v != nil { @@ -11335,6 +12866,12 @@ func (o DeprecationStatusResponseOutput) ToDeprecationStatusResponseOutputWithCo return o } +func (o DeprecationStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatusResponse] { + return pulumix.Output[DeprecationStatusResponse]{ + OutputState: o.OutputState, + } +} + // An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it. func (o DeprecationStatusResponseOutput) Deleted() pulumi.StringOutput { return o.ApplyT(func(v DeprecationStatusResponse) string { return v.Deleted }).(pulumi.StringOutput) @@ -11398,6 +12935,12 @@ func (i DiskAsyncReplicationArgs) ToDiskAsyncReplicationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DiskAsyncReplicationOutput) } +func (i DiskAsyncReplicationArgs) ToOutput(ctx context.Context) pulumix.Output[DiskAsyncReplication] { + return pulumix.Output[DiskAsyncReplication]{ + OutputState: i.ToDiskAsyncReplicationOutputWithContext(ctx).OutputState, + } +} + func (i DiskAsyncReplicationArgs) ToDiskAsyncReplicationPtrOutput() DiskAsyncReplicationPtrOutput { return i.ToDiskAsyncReplicationPtrOutputWithContext(context.Background()) } @@ -11439,6 +12982,12 @@ func (i *diskAsyncReplicationPtrType) ToDiskAsyncReplicationPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DiskAsyncReplicationPtrOutput) } +func (i *diskAsyncReplicationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskAsyncReplication] { + return pulumix.Output[*DiskAsyncReplication]{ + OutputState: i.ToDiskAsyncReplicationPtrOutputWithContext(ctx).OutputState, + } +} + type DiskAsyncReplicationOutput struct{ *pulumi.OutputState } func (DiskAsyncReplicationOutput) ElementType() reflect.Type { @@ -11463,6 +13012,12 @@ func (o DiskAsyncReplicationOutput) ToDiskAsyncReplicationPtrOutputWithContext(c }).(DiskAsyncReplicationPtrOutput) } +func (o DiskAsyncReplicationOutput) ToOutput(ctx context.Context) pulumix.Output[DiskAsyncReplication] { + return pulumix.Output[DiskAsyncReplication]{ + OutputState: o.OutputState, + } +} + // The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk func (o DiskAsyncReplicationOutput) Disk() pulumi.StringPtrOutput { return o.ApplyT(func(v DiskAsyncReplication) *string { return v.Disk }).(pulumi.StringPtrOutput) @@ -11482,6 +13037,12 @@ func (o DiskAsyncReplicationPtrOutput) ToDiskAsyncReplicationPtrOutputWithContex return o } +func (o DiskAsyncReplicationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskAsyncReplication] { + return pulumix.Output[*DiskAsyncReplication]{ + OutputState: o.OutputState, + } +} + func (o DiskAsyncReplicationPtrOutput) Elem() DiskAsyncReplicationOutput { return o.ApplyT(func(v *DiskAsyncReplication) DiskAsyncReplication { if v != nil { @@ -11527,6 +13088,12 @@ func (o DiskAsyncReplicationResponseOutput) ToDiskAsyncReplicationResponseOutput return o } +func (o DiskAsyncReplicationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskAsyncReplicationResponse] { + return pulumix.Output[DiskAsyncReplicationResponse]{ + OutputState: o.OutputState, + } +} + // URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group. func (o DiskAsyncReplicationResponseOutput) ConsistencyGroupPolicy() pulumi.StringOutput { return o.ApplyT(func(v DiskAsyncReplicationResponse) string { return v.ConsistencyGroupPolicy }).(pulumi.StringOutput) @@ -11594,6 +13161,12 @@ func (i DiskInstantiationConfigArgs) ToDiskInstantiationConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(DiskInstantiationConfigOutput) } +func (i DiskInstantiationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfig] { + return pulumix.Output[DiskInstantiationConfig]{ + OutputState: i.ToDiskInstantiationConfigOutputWithContext(ctx).OutputState, + } +} + // DiskInstantiationConfigArrayInput is an input type that accepts DiskInstantiationConfigArray and DiskInstantiationConfigArrayOutput values. // You can construct a concrete instance of `DiskInstantiationConfigArrayInput` via: // @@ -11619,6 +13192,12 @@ func (i DiskInstantiationConfigArray) ToDiskInstantiationConfigArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(DiskInstantiationConfigArrayOutput) } +func (i DiskInstantiationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]DiskInstantiationConfig] { + return pulumix.Output[[]DiskInstantiationConfig]{ + OutputState: i.ToDiskInstantiationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // A specification of the desired way to instantiate a disk in the instance template when its created from a source instance. type DiskInstantiationConfigOutput struct{ *pulumi.OutputState } @@ -11634,6 +13213,12 @@ func (o DiskInstantiationConfigOutput) ToDiskInstantiationConfigOutputWithContex return o } +func (o DiskInstantiationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfig] { + return pulumix.Output[DiskInstantiationConfig]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o DiskInstantiationConfigOutput) AutoDelete() pulumi.BoolPtrOutput { return o.ApplyT(func(v DiskInstantiationConfig) *bool { return v.AutoDelete }).(pulumi.BoolPtrOutput) @@ -11668,6 +13253,12 @@ func (o DiskInstantiationConfigArrayOutput) ToDiskInstantiationConfigArrayOutput return o } +func (o DiskInstantiationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiskInstantiationConfig] { + return pulumix.Output[[]DiskInstantiationConfig]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigArrayOutput) Index(i pulumi.IntInput) DiskInstantiationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiskInstantiationConfig { return vs[0].([]DiskInstantiationConfig)[vs[1].(int)] @@ -11701,6 +13292,12 @@ func (o DiskInstantiationConfigResponseOutput) ToDiskInstantiationConfigResponse return o } +func (o DiskInstantiationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfigResponse] { + return pulumix.Output[DiskInstantiationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o DiskInstantiationConfigResponseOutput) AutoDelete() pulumi.BoolOutput { return o.ApplyT(func(v DiskInstantiationConfigResponse) bool { return v.AutoDelete }).(pulumi.BoolOutput) @@ -11735,6 +13332,12 @@ func (o DiskInstantiationConfigResponseArrayOutput) ToDiskInstantiationConfigRes return o } +func (o DiskInstantiationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiskInstantiationConfigResponse] { + return pulumix.Output[[]DiskInstantiationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigResponseArrayOutput) Index(i pulumi.IntInput) DiskInstantiationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiskInstantiationConfigResponse { return vs[0].([]DiskInstantiationConfigResponse)[vs[1].(int)] @@ -11776,6 +13379,12 @@ func (i DiskParamsArgs) ToDiskParamsOutputWithContext(ctx context.Context) DiskP return pulumi.ToOutputWithContext(ctx, i).(DiskParamsOutput) } +func (i DiskParamsArgs) ToOutput(ctx context.Context) pulumix.Output[DiskParams] { + return pulumix.Output[DiskParams]{ + OutputState: i.ToDiskParamsOutputWithContext(ctx).OutputState, + } +} + func (i DiskParamsArgs) ToDiskParamsPtrOutput() DiskParamsPtrOutput { return i.ToDiskParamsPtrOutputWithContext(context.Background()) } @@ -11817,6 +13426,12 @@ func (i *diskParamsPtrType) ToDiskParamsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DiskParamsPtrOutput) } +func (i *diskParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskParams] { + return pulumix.Output[*DiskParams]{ + OutputState: i.ToDiskParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Additional disk params. type DiskParamsOutput struct{ *pulumi.OutputState } @@ -11842,6 +13457,12 @@ func (o DiskParamsOutput) ToDiskParamsPtrOutputWithContext(ctx context.Context) }).(DiskParamsPtrOutput) } +func (o DiskParamsOutput) ToOutput(ctx context.Context) pulumix.Output[DiskParams] { + return pulumix.Output[DiskParams]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o DiskParamsOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v DiskParams) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -11861,6 +13482,12 @@ func (o DiskParamsPtrOutput) ToDiskParamsPtrOutputWithContext(ctx context.Contex return o } +func (o DiskParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskParams] { + return pulumix.Output[*DiskParams]{ + OutputState: o.OutputState, + } +} + func (o DiskParamsPtrOutput) Elem() DiskParamsOutput { return o.ApplyT(func(v *DiskParams) DiskParams { if v != nil { @@ -11902,6 +13529,12 @@ func (o DiskParamsResponseOutput) ToDiskParamsResponseOutputWithContext(ctx cont return o } +func (o DiskParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskParamsResponse] { + return pulumix.Output[DiskParamsResponse]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o DiskParamsResponseOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v DiskParamsResponse) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -11925,6 +13558,12 @@ func (o DiskResourceStatusAsyncReplicationStatusResponseOutput) ToDiskResourceSt return o } +func (o DiskResourceStatusAsyncReplicationStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskResourceStatusAsyncReplicationStatusResponse] { + return pulumix.Output[DiskResourceStatusAsyncReplicationStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskResourceStatusAsyncReplicationStatusResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v DiskResourceStatusAsyncReplicationStatusResponse) string { return v.State }).(pulumi.StringOutput) } @@ -11949,6 +13588,12 @@ func (o DiskResourceStatusResponseOutput) ToDiskResourceStatusResponseOutputWith return o } +func (o DiskResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskResourceStatusResponse] { + return pulumix.Output[DiskResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskResourceStatusResponseOutput) AsyncPrimaryDisk() DiskResourceStatusAsyncReplicationStatusResponseOutput { return o.ApplyT(func(v DiskResourceStatusResponse) DiskResourceStatusAsyncReplicationStatusResponse { return v.AsyncPrimaryDisk @@ -11995,6 +13640,12 @@ func (i DisplayDeviceArgs) ToDisplayDeviceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DisplayDeviceOutput) } +func (i DisplayDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[DisplayDevice] { + return pulumix.Output[DisplayDevice]{ + OutputState: i.ToDisplayDeviceOutputWithContext(ctx).OutputState, + } +} + func (i DisplayDeviceArgs) ToDisplayDevicePtrOutput() DisplayDevicePtrOutput { return i.ToDisplayDevicePtrOutputWithContext(context.Background()) } @@ -12036,6 +13687,12 @@ func (i *displayDevicePtrType) ToDisplayDevicePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DisplayDevicePtrOutput) } +func (i *displayDevicePtrType) ToOutput(ctx context.Context) pulumix.Output[*DisplayDevice] { + return pulumix.Output[*DisplayDevice]{ + OutputState: i.ToDisplayDevicePtrOutputWithContext(ctx).OutputState, + } +} + // A set of Display Device options type DisplayDeviceOutput struct{ *pulumi.OutputState } @@ -12061,6 +13718,12 @@ func (o DisplayDeviceOutput) ToDisplayDevicePtrOutputWithContext(ctx context.Con }).(DisplayDevicePtrOutput) } +func (o DisplayDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[DisplayDevice] { + return pulumix.Output[DisplayDevice]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has Display enabled. func (o DisplayDeviceOutput) EnableDisplay() pulumi.BoolPtrOutput { return o.ApplyT(func(v DisplayDevice) *bool { return v.EnableDisplay }).(pulumi.BoolPtrOutput) @@ -12080,6 +13743,12 @@ func (o DisplayDevicePtrOutput) ToDisplayDevicePtrOutputWithContext(ctx context. return o } +func (o DisplayDevicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DisplayDevice] { + return pulumix.Output[*DisplayDevice]{ + OutputState: o.OutputState, + } +} + func (o DisplayDevicePtrOutput) Elem() DisplayDeviceOutput { return o.ApplyT(func(v *DisplayDevice) DisplayDevice { if v != nil { @@ -12121,6 +13790,12 @@ func (o DisplayDeviceResponseOutput) ToDisplayDeviceResponseOutputWithContext(ct return o } +func (o DisplayDeviceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DisplayDeviceResponse] { + return pulumix.Output[DisplayDeviceResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has Display enabled. func (o DisplayDeviceResponseOutput) EnableDisplay() pulumi.BoolOutput { return o.ApplyT(func(v DisplayDeviceResponse) bool { return v.EnableDisplay }).(pulumi.BoolOutput) @@ -12163,6 +13838,12 @@ func (i DistributionPolicyArgs) ToDistributionPolicyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyOutput) } +func (i DistributionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicy] { + return pulumix.Output[DistributionPolicy]{ + OutputState: i.ToDistributionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i DistributionPolicyArgs) ToDistributionPolicyPtrOutput() DistributionPolicyPtrOutput { return i.ToDistributionPolicyPtrOutputWithContext(context.Background()) } @@ -12204,6 +13885,12 @@ func (i *distributionPolicyPtrType) ToDistributionPolicyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyPtrOutput) } +func (i *distributionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicy] { + return pulumix.Output[*DistributionPolicy]{ + OutputState: i.ToDistributionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type DistributionPolicyOutput struct{ *pulumi.OutputState } func (DistributionPolicyOutput) ElementType() reflect.Type { @@ -12228,6 +13915,12 @@ func (o DistributionPolicyOutput) ToDistributionPolicyPtrOutputWithContext(ctx c }).(DistributionPolicyPtrOutput) } +func (o DistributionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicy] { + return pulumix.Output[DistributionPolicy]{ + OutputState: o.OutputState, + } +} + // The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). func (o DistributionPolicyOutput) TargetShape() DistributionPolicyTargetShapePtrOutput { return o.ApplyT(func(v DistributionPolicy) *DistributionPolicyTargetShape { return v.TargetShape }).(DistributionPolicyTargetShapePtrOutput) @@ -12252,6 +13945,12 @@ func (o DistributionPolicyPtrOutput) ToDistributionPolicyPtrOutputWithContext(ct return o } +func (o DistributionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicy] { + return pulumix.Output[*DistributionPolicy]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyPtrOutput) Elem() DistributionPolicyOutput { return o.ApplyT(func(v *DistributionPolicy) DistributionPolicy { if v != nil { @@ -12303,6 +14002,12 @@ func (o DistributionPolicyResponseOutput) ToDistributionPolicyResponseOutputWith return o } +func (o DistributionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyResponse] { + return pulumix.Output[DistributionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). func (o DistributionPolicyResponseOutput) TargetShape() pulumi.StringOutput { return o.ApplyT(func(v DistributionPolicyResponse) string { return v.TargetShape }).(pulumi.StringOutput) @@ -12346,6 +14051,12 @@ func (i DistributionPolicyZoneConfigurationArgs) ToDistributionPolicyZoneConfigu return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyZoneConfigurationOutput) } +func (i DistributionPolicyZoneConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyZoneConfiguration] { + return pulumix.Output[DistributionPolicyZoneConfiguration]{ + OutputState: i.ToDistributionPolicyZoneConfigurationOutputWithContext(ctx).OutputState, + } +} + // DistributionPolicyZoneConfigurationArrayInput is an input type that accepts DistributionPolicyZoneConfigurationArray and DistributionPolicyZoneConfigurationArrayOutput values. // You can construct a concrete instance of `DistributionPolicyZoneConfigurationArrayInput` via: // @@ -12371,6 +14082,12 @@ func (i DistributionPolicyZoneConfigurationArray) ToDistributionPolicyZoneConfig return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyZoneConfigurationArrayOutput) } +func (i DistributionPolicyZoneConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]DistributionPolicyZoneConfiguration] { + return pulumix.Output[[]DistributionPolicyZoneConfiguration]{ + OutputState: i.ToDistributionPolicyZoneConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + type DistributionPolicyZoneConfigurationOutput struct{ *pulumi.OutputState } func (DistributionPolicyZoneConfigurationOutput) ElementType() reflect.Type { @@ -12385,6 +14102,12 @@ func (o DistributionPolicyZoneConfigurationOutput) ToDistributionPolicyZoneConfi return o } +func (o DistributionPolicyZoneConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyZoneConfiguration] { + return pulumix.Output[DistributionPolicyZoneConfiguration]{ + OutputState: o.OutputState, + } +} + // The URL of the zone. The zone must exist in the region where the managed instance group is located. func (o DistributionPolicyZoneConfigurationOutput) Zone() pulumi.StringPtrOutput { return o.ApplyT(func(v DistributionPolicyZoneConfiguration) *string { return v.Zone }).(pulumi.StringPtrOutput) @@ -12404,6 +14127,12 @@ func (o DistributionPolicyZoneConfigurationArrayOutput) ToDistributionPolicyZone return o } +func (o DistributionPolicyZoneConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DistributionPolicyZoneConfiguration] { + return pulumix.Output[[]DistributionPolicyZoneConfiguration]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyZoneConfigurationArrayOutput) Index(i pulumi.IntInput) DistributionPolicyZoneConfigurationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DistributionPolicyZoneConfiguration { return vs[0].([]DistributionPolicyZoneConfiguration)[vs[1].(int)] @@ -12429,6 +14158,12 @@ func (o DistributionPolicyZoneConfigurationResponseOutput) ToDistributionPolicyZ return o } +func (o DistributionPolicyZoneConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyZoneConfigurationResponse] { + return pulumix.Output[DistributionPolicyZoneConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of the zone. The zone must exist in the region where the managed instance group is located. func (o DistributionPolicyZoneConfigurationResponseOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v DistributionPolicyZoneConfigurationResponse) string { return v.Zone }).(pulumi.StringOutput) @@ -12448,6 +14183,12 @@ func (o DistributionPolicyZoneConfigurationResponseArrayOutput) ToDistributionPo return o } +func (o DistributionPolicyZoneConfigurationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DistributionPolicyZoneConfigurationResponse] { + return pulumix.Output[[]DistributionPolicyZoneConfigurationResponse]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyZoneConfigurationResponseArrayOutput) Index(i pulumi.IntInput) DistributionPolicyZoneConfigurationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DistributionPolicyZoneConfigurationResponse { return vs[0].([]DistributionPolicyZoneConfigurationResponse)[vs[1].(int)] @@ -12493,6 +14234,12 @@ func (i DurationArgs) ToDurationOutputWithContext(ctx context.Context) DurationO return pulumi.ToOutputWithContext(ctx, i).(DurationOutput) } +func (i DurationArgs) ToOutput(ctx context.Context) pulumix.Output[Duration] { + return pulumix.Output[Duration]{ + OutputState: i.ToDurationOutputWithContext(ctx).OutputState, + } +} + func (i DurationArgs) ToDurationPtrOutput() DurationPtrOutput { return i.ToDurationPtrOutputWithContext(context.Background()) } @@ -12534,6 +14281,12 @@ func (i *durationPtrType) ToDurationPtrOutputWithContext(ctx context.Context) Du return pulumi.ToOutputWithContext(ctx, i).(DurationPtrOutput) } +func (i *durationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Duration] { + return pulumix.Output[*Duration]{ + OutputState: i.ToDurationPtrOutputWithContext(ctx).OutputState, + } +} + // A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years. type DurationOutput struct{ *pulumi.OutputState } @@ -12559,6 +14312,12 @@ func (o DurationOutput) ToDurationPtrOutputWithContext(ctx context.Context) Dura }).(DurationPtrOutput) } +func (o DurationOutput) ToOutput(ctx context.Context) pulumix.Output[Duration] { + return pulumix.Output[Duration]{ + OutputState: o.OutputState, + } +} + // Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive. func (o DurationOutput) Nanos() pulumi.IntPtrOutput { return o.ApplyT(func(v Duration) *int { return v.Nanos }).(pulumi.IntPtrOutput) @@ -12583,6 +14342,12 @@ func (o DurationPtrOutput) ToDurationPtrOutputWithContext(ctx context.Context) D return o } +func (o DurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Duration] { + return pulumix.Output[*Duration]{ + OutputState: o.OutputState, + } +} + func (o DurationPtrOutput) Elem() DurationOutput { return o.ApplyT(func(v *Duration) Duration { if v != nil { @@ -12636,6 +14401,12 @@ func (o DurationResponseOutput) ToDurationResponseOutputWithContext(ctx context. return o } +func (o DurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DurationResponse] { + return pulumix.Output[DurationResponse]{ + OutputState: o.OutputState, + } +} + // Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive. func (o DurationResponseOutput) Nanos() pulumi.IntOutput { return o.ApplyT(func(v DurationResponse) int { return v.Nanos }).(pulumi.IntOutput) @@ -12693,6 +14464,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -12734,6 +14511,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -12759,6 +14542,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -12793,6 +14582,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -12870,6 +14665,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -12933,6 +14734,12 @@ func (i ExternalVpnGatewayInterfaceArgs) ToExternalVpnGatewayInterfaceOutputWith return pulumi.ToOutputWithContext(ctx, i).(ExternalVpnGatewayInterfaceOutput) } +func (i ExternalVpnGatewayInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayInterface] { + return pulumix.Output[ExternalVpnGatewayInterface]{ + OutputState: i.ToExternalVpnGatewayInterfaceOutputWithContext(ctx).OutputState, + } +} + // ExternalVpnGatewayInterfaceArrayInput is an input type that accepts ExternalVpnGatewayInterfaceArray and ExternalVpnGatewayInterfaceArrayOutput values. // You can construct a concrete instance of `ExternalVpnGatewayInterfaceArrayInput` via: // @@ -12958,6 +14765,12 @@ func (i ExternalVpnGatewayInterfaceArray) ToExternalVpnGatewayInterfaceArrayOutp return pulumi.ToOutputWithContext(ctx, i).(ExternalVpnGatewayInterfaceArrayOutput) } +func (i ExternalVpnGatewayInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]ExternalVpnGatewayInterface] { + return pulumix.Output[[]ExternalVpnGatewayInterface]{ + OutputState: i.ToExternalVpnGatewayInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // The interface for the external VPN gateway. type ExternalVpnGatewayInterfaceOutput struct{ *pulumi.OutputState } @@ -12973,6 +14786,12 @@ func (o ExternalVpnGatewayInterfaceOutput) ToExternalVpnGatewayInterfaceOutputWi return o } +func (o ExternalVpnGatewayInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayInterface] { + return pulumix.Output[ExternalVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + // The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3 func (o ExternalVpnGatewayInterfaceOutput) Id() pulumi.IntPtrOutput { return o.ApplyT(func(v ExternalVpnGatewayInterface) *int { return v.Id }).(pulumi.IntPtrOutput) @@ -13002,6 +14821,12 @@ func (o ExternalVpnGatewayInterfaceArrayOutput) ToExternalVpnGatewayInterfaceArr return o } +func (o ExternalVpnGatewayInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExternalVpnGatewayInterface] { + return pulumix.Output[[]ExternalVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayInterfaceArrayOutput) Index(i pulumi.IntInput) ExternalVpnGatewayInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExternalVpnGatewayInterface { return vs[0].([]ExternalVpnGatewayInterface)[vs[1].(int)] @@ -13031,6 +14856,12 @@ func (o ExternalVpnGatewayInterfaceResponseOutput) ToExternalVpnGatewayInterface return o } +func (o ExternalVpnGatewayInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayInterfaceResponse] { + return pulumix.Output[ExternalVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. func (o ExternalVpnGatewayInterfaceResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v ExternalVpnGatewayInterfaceResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -13055,6 +14886,12 @@ func (o ExternalVpnGatewayInterfaceResponseArrayOutput) ToExternalVpnGatewayInte return o } +func (o ExternalVpnGatewayInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExternalVpnGatewayInterfaceResponse] { + return pulumix.Output[[]ExternalVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayInterfaceResponseArrayOutput) Index(i pulumi.IntInput) ExternalVpnGatewayInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExternalVpnGatewayInterfaceResponse { return vs[0].([]ExternalVpnGatewayInterfaceResponse)[vs[1].(int)] @@ -13098,6 +14935,12 @@ func (i FileContentBufferArgs) ToFileContentBufferOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(FileContentBufferOutput) } +func (i FileContentBufferArgs) ToOutput(ctx context.Context) pulumix.Output[FileContentBuffer] { + return pulumix.Output[FileContentBuffer]{ + OutputState: i.ToFileContentBufferOutputWithContext(ctx).OutputState, + } +} + func (i FileContentBufferArgs) ToFileContentBufferPtrOutput() FileContentBufferPtrOutput { return i.ToFileContentBufferPtrOutputWithContext(context.Background()) } @@ -13139,6 +14982,12 @@ func (i *fileContentBufferPtrType) ToFileContentBufferPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(FileContentBufferPtrOutput) } +func (i *fileContentBufferPtrType) ToOutput(ctx context.Context) pulumix.Output[*FileContentBuffer] { + return pulumix.Output[*FileContentBuffer]{ + OutputState: i.ToFileContentBufferPtrOutputWithContext(ctx).OutputState, + } +} + // FileContentBufferArrayInput is an input type that accepts FileContentBufferArray and FileContentBufferArrayOutput values. // You can construct a concrete instance of `FileContentBufferArrayInput` via: // @@ -13164,6 +15013,12 @@ func (i FileContentBufferArray) ToFileContentBufferArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(FileContentBufferArrayOutput) } +func (i FileContentBufferArray) ToOutput(ctx context.Context) pulumix.Output[[]FileContentBuffer] { + return pulumix.Output[[]FileContentBuffer]{ + OutputState: i.ToFileContentBufferArrayOutputWithContext(ctx).OutputState, + } +} + type FileContentBufferOutput struct{ *pulumi.OutputState } func (FileContentBufferOutput) ElementType() reflect.Type { @@ -13188,6 +15043,12 @@ func (o FileContentBufferOutput) ToFileContentBufferPtrOutputWithContext(ctx con }).(FileContentBufferPtrOutput) } +func (o FileContentBufferOutput) ToOutput(ctx context.Context) pulumix.Output[FileContentBuffer] { + return pulumix.Output[FileContentBuffer]{ + OutputState: o.OutputState, + } +} + // The raw content in the secure keys file. func (o FileContentBufferOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v FileContentBuffer) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -13212,6 +15073,12 @@ func (o FileContentBufferPtrOutput) ToFileContentBufferPtrOutputWithContext(ctx return o } +func (o FileContentBufferPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileContentBuffer] { + return pulumix.Output[*FileContentBuffer]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferPtrOutput) Elem() FileContentBufferOutput { return o.ApplyT(func(v *FileContentBuffer) FileContentBuffer { if v != nil { @@ -13256,6 +15123,12 @@ func (o FileContentBufferArrayOutput) ToFileContentBufferArrayOutputWithContext( return o } +func (o FileContentBufferArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileContentBuffer] { + return pulumix.Output[[]FileContentBuffer]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferArrayOutput) Index(i pulumi.IntInput) FileContentBufferOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileContentBuffer { return vs[0].([]FileContentBuffer)[vs[1].(int)] @@ -13283,6 +15156,12 @@ func (o FileContentBufferResponseOutput) ToFileContentBufferResponseOutputWithCo return o } +func (o FileContentBufferResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileContentBufferResponse] { + return pulumix.Output[FileContentBufferResponse]{ + OutputState: o.OutputState, + } +} + // The raw content in the secure keys file. func (o FileContentBufferResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v FileContentBufferResponse) string { return v.Content }).(pulumi.StringOutput) @@ -13307,6 +15186,12 @@ func (o FileContentBufferResponseArrayOutput) ToFileContentBufferResponseArrayOu return o } +func (o FileContentBufferResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileContentBufferResponse] { + return pulumix.Output[[]FileContentBufferResponse]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferResponseArrayOutput) Index(i pulumi.IntInput) FileContentBufferResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileContentBufferResponse { return vs[0].([]FileContentBufferResponse)[vs[1].(int)] @@ -13350,6 +15235,12 @@ func (i FirewallAllowedItemArgs) ToFirewallAllowedItemOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(FirewallAllowedItemOutput) } +func (i FirewallAllowedItemArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallAllowedItem] { + return pulumix.Output[FirewallAllowedItem]{ + OutputState: i.ToFirewallAllowedItemOutputWithContext(ctx).OutputState, + } +} + // FirewallAllowedItemArrayInput is an input type that accepts FirewallAllowedItemArray and FirewallAllowedItemArrayOutput values. // You can construct a concrete instance of `FirewallAllowedItemArrayInput` via: // @@ -13375,6 +15266,12 @@ func (i FirewallAllowedItemArray) ToFirewallAllowedItemArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(FirewallAllowedItemArrayOutput) } +func (i FirewallAllowedItemArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallAllowedItem] { + return pulumix.Output[[]FirewallAllowedItem]{ + OutputState: i.ToFirewallAllowedItemArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallAllowedItemOutput struct{ *pulumi.OutputState } func (FirewallAllowedItemOutput) ElementType() reflect.Type { @@ -13389,6 +15286,12 @@ func (o FirewallAllowedItemOutput) ToFirewallAllowedItemOutputWithContext(ctx co return o } +func (o FirewallAllowedItemOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallAllowedItem] { + return pulumix.Output[FirewallAllowedItem]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallAllowedItemOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallAllowedItem) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -13413,6 +15316,12 @@ func (o FirewallAllowedItemArrayOutput) ToFirewallAllowedItemArrayOutputWithCont return o } +func (o FirewallAllowedItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallAllowedItem] { + return pulumix.Output[[]FirewallAllowedItem]{ + OutputState: o.OutputState, + } +} + func (o FirewallAllowedItemArrayOutput) Index(i pulumi.IntInput) FirewallAllowedItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallAllowedItem { return vs[0].([]FirewallAllowedItem)[vs[1].(int)] @@ -13440,6 +15349,12 @@ func (o FirewallAllowedItemResponseOutput) ToFirewallAllowedItemResponseOutputWi return o } +func (o FirewallAllowedItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallAllowedItemResponse] { + return pulumix.Output[FirewallAllowedItemResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallAllowedItemResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v FirewallAllowedItemResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -13464,6 +15379,12 @@ func (o FirewallAllowedItemResponseArrayOutput) ToFirewallAllowedItemResponseArr return o } +func (o FirewallAllowedItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallAllowedItemResponse] { + return pulumix.Output[[]FirewallAllowedItemResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallAllowedItemResponseArrayOutput) Index(i pulumi.IntInput) FirewallAllowedItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallAllowedItemResponse { return vs[0].([]FirewallAllowedItemResponse)[vs[1].(int)] @@ -13507,6 +15428,12 @@ func (i FirewallDeniedItemArgs) ToFirewallDeniedItemOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(FirewallDeniedItemOutput) } +func (i FirewallDeniedItemArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallDeniedItem] { + return pulumix.Output[FirewallDeniedItem]{ + OutputState: i.ToFirewallDeniedItemOutputWithContext(ctx).OutputState, + } +} + // FirewallDeniedItemArrayInput is an input type that accepts FirewallDeniedItemArray and FirewallDeniedItemArrayOutput values. // You can construct a concrete instance of `FirewallDeniedItemArrayInput` via: // @@ -13532,6 +15459,12 @@ func (i FirewallDeniedItemArray) ToFirewallDeniedItemArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallDeniedItemArrayOutput) } +func (i FirewallDeniedItemArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallDeniedItem] { + return pulumix.Output[[]FirewallDeniedItem]{ + OutputState: i.ToFirewallDeniedItemArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallDeniedItemOutput struct{ *pulumi.OutputState } func (FirewallDeniedItemOutput) ElementType() reflect.Type { @@ -13546,6 +15479,12 @@ func (o FirewallDeniedItemOutput) ToFirewallDeniedItemOutputWithContext(ctx cont return o } +func (o FirewallDeniedItemOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallDeniedItem] { + return pulumix.Output[FirewallDeniedItem]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallDeniedItemOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallDeniedItem) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -13570,6 +15509,12 @@ func (o FirewallDeniedItemArrayOutput) ToFirewallDeniedItemArrayOutputWithContex return o } +func (o FirewallDeniedItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallDeniedItem] { + return pulumix.Output[[]FirewallDeniedItem]{ + OutputState: o.OutputState, + } +} + func (o FirewallDeniedItemArrayOutput) Index(i pulumi.IntInput) FirewallDeniedItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallDeniedItem { return vs[0].([]FirewallDeniedItem)[vs[1].(int)] @@ -13597,6 +15542,12 @@ func (o FirewallDeniedItemResponseOutput) ToFirewallDeniedItemResponseOutputWith return o } +func (o FirewallDeniedItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallDeniedItemResponse] { + return pulumix.Output[FirewallDeniedItemResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallDeniedItemResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v FirewallDeniedItemResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -13621,6 +15572,12 @@ func (o FirewallDeniedItemResponseArrayOutput) ToFirewallDeniedItemResponseArray return o } +func (o FirewallDeniedItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallDeniedItemResponse] { + return pulumix.Output[[]FirewallDeniedItemResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallDeniedItemResponseArrayOutput) Index(i pulumi.IntInput) FirewallDeniedItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallDeniedItemResponse { return vs[0].([]FirewallDeniedItemResponse)[vs[1].(int)] @@ -13666,6 +15623,12 @@ func (i FirewallLogConfigArgs) ToFirewallLogConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(FirewallLogConfigOutput) } +func (i FirewallLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfig] { + return pulumix.Output[FirewallLogConfig]{ + OutputState: i.ToFirewallLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i FirewallLogConfigArgs) ToFirewallLogConfigPtrOutput() FirewallLogConfigPtrOutput { return i.ToFirewallLogConfigPtrOutputWithContext(context.Background()) } @@ -13707,6 +15670,12 @@ func (i *firewallLogConfigPtrType) ToFirewallLogConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(FirewallLogConfigPtrOutput) } +func (i *firewallLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfig] { + return pulumix.Output[*FirewallLogConfig]{ + OutputState: i.ToFirewallLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The available logging options for a firewall rule. type FirewallLogConfigOutput struct{ *pulumi.OutputState } @@ -13732,6 +15701,12 @@ func (o FirewallLogConfigOutput) ToFirewallLogConfigPtrOutputWithContext(ctx con }).(FirewallLogConfigPtrOutput) } +func (o FirewallLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfig] { + return pulumix.Output[FirewallLogConfig]{ + OutputState: o.OutputState, + } +} + // This field denotes whether to enable logging for a particular firewall rule. func (o FirewallLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v FirewallLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -13756,6 +15731,12 @@ func (o FirewallLogConfigPtrOutput) ToFirewallLogConfigPtrOutputWithContext(ctx return o } +func (o FirewallLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfig] { + return pulumix.Output[*FirewallLogConfig]{ + OutputState: o.OutputState, + } +} + func (o FirewallLogConfigPtrOutput) Elem() FirewallLogConfigOutput { return o.ApplyT(func(v *FirewallLogConfig) FirewallLogConfig { if v != nil { @@ -13809,6 +15790,12 @@ func (o FirewallLogConfigResponseOutput) ToFirewallLogConfigResponseOutputWithCo return o } +func (o FirewallLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfigResponse] { + return pulumix.Output[FirewallLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // This field denotes whether to enable logging for a particular firewall rule. func (o FirewallLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v FirewallLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -13856,6 +15843,12 @@ func (i FirewallPolicyAssociationArgs) ToFirewallPolicyAssociationOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyAssociationOutput) } +func (i FirewallPolicyAssociationArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyAssociation] { + return pulumix.Output[FirewallPolicyAssociation]{ + OutputState: i.ToFirewallPolicyAssociationOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyAssociationArrayInput is an input type that accepts FirewallPolicyAssociationArray and FirewallPolicyAssociationArrayOutput values. // You can construct a concrete instance of `FirewallPolicyAssociationArrayInput` via: // @@ -13881,6 +15874,12 @@ func (i FirewallPolicyAssociationArray) ToFirewallPolicyAssociationArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyAssociationArrayOutput) } +func (i FirewallPolicyAssociationArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyAssociation] { + return pulumix.Output[[]FirewallPolicyAssociation]{ + OutputState: i.ToFirewallPolicyAssociationArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyAssociationOutput struct{ *pulumi.OutputState } func (FirewallPolicyAssociationOutput) ElementType() reflect.Type { @@ -13895,6 +15894,12 @@ func (o FirewallPolicyAssociationOutput) ToFirewallPolicyAssociationOutputWithCo return o } +func (o FirewallPolicyAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyAssociation] { + return pulumix.Output[FirewallPolicyAssociation]{ + OutputState: o.OutputState, + } +} + // The target that the firewall policy is attached to. func (o FirewallPolicyAssociationOutput) AttachmentTarget() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyAssociation) *string { return v.AttachmentTarget }).(pulumi.StringPtrOutput) @@ -13919,6 +15924,12 @@ func (o FirewallPolicyAssociationArrayOutput) ToFirewallPolicyAssociationArrayOu return o } +func (o FirewallPolicyAssociationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyAssociation] { + return pulumix.Output[[]FirewallPolicyAssociation]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyAssociationArrayOutput) Index(i pulumi.IntInput) FirewallPolicyAssociationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyAssociation { return vs[0].([]FirewallPolicyAssociation)[vs[1].(int)] @@ -13952,6 +15963,12 @@ func (o FirewallPolicyAssociationResponseOutput) ToFirewallPolicyAssociationResp return o } +func (o FirewallPolicyAssociationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyAssociationResponse] { + return pulumix.Output[FirewallPolicyAssociationResponse]{ + OutputState: o.OutputState, + } +} + // The target that the firewall policy is attached to. func (o FirewallPolicyAssociationResponseOutput) AttachmentTarget() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyAssociationResponse) string { return v.AttachmentTarget }).(pulumi.StringOutput) @@ -13991,6 +16008,12 @@ func (o FirewallPolicyAssociationResponseArrayOutput) ToFirewallPolicyAssociatio return o } +func (o FirewallPolicyAssociationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyAssociationResponse] { + return pulumix.Output[[]FirewallPolicyAssociationResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyAssociationResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyAssociationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyAssociationResponse { return vs[0].([]FirewallPolicyAssociationResponse)[vs[1].(int)] @@ -14080,6 +16103,12 @@ func (i FirewallPolicyRuleArgs) ToFirewallPolicyRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleOutput) } +func (i FirewallPolicyRuleArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRule] { + return pulumix.Output[FirewallPolicyRule]{ + OutputState: i.ToFirewallPolicyRuleOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyRuleArrayInput is an input type that accepts FirewallPolicyRuleArray and FirewallPolicyRuleArrayOutput values. // You can construct a concrete instance of `FirewallPolicyRuleArrayInput` via: // @@ -14105,6 +16134,12 @@ func (i FirewallPolicyRuleArray) ToFirewallPolicyRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleArrayOutput) } +func (i FirewallPolicyRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRule] { + return pulumix.Output[[]FirewallPolicyRule]{ + OutputState: i.ToFirewallPolicyRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). type FirewallPolicyRuleOutput struct{ *pulumi.OutputState } @@ -14120,6 +16155,12 @@ func (o FirewallPolicyRuleOutput) ToFirewallPolicyRuleOutputWithContext(ctx cont return o } +func (o FirewallPolicyRuleOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRule] { + return pulumix.Output[FirewallPolicyRule]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". func (o FirewallPolicyRuleOutput) Action() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyRule) *string { return v.Action }).(pulumi.StringPtrOutput) @@ -14199,6 +16240,12 @@ func (o FirewallPolicyRuleArrayOutput) ToFirewallPolicyRuleArrayOutputWithContex return o } +func (o FirewallPolicyRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRule] { + return pulumix.Output[[]FirewallPolicyRule]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRule { return vs[0].([]FirewallPolicyRule)[vs[1].(int)] @@ -14284,6 +16331,12 @@ func (i FirewallPolicyRuleMatcherArgs) ToFirewallPolicyRuleMatcherOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherOutput) } +func (i FirewallPolicyRuleMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcher] { + return pulumix.Output[FirewallPolicyRuleMatcher]{ + OutputState: i.ToFirewallPolicyRuleMatcherOutputWithContext(ctx).OutputState, + } +} + func (i FirewallPolicyRuleMatcherArgs) ToFirewallPolicyRuleMatcherPtrOutput() FirewallPolicyRuleMatcherPtrOutput { return i.ToFirewallPolicyRuleMatcherPtrOutputWithContext(context.Background()) } @@ -14325,6 +16378,12 @@ func (i *firewallPolicyRuleMatcherPtrType) ToFirewallPolicyRuleMatcherPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherPtrOutput) } +func (i *firewallPolicyRuleMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleMatcher] { + return pulumix.Output[*FirewallPolicyRuleMatcher]{ + OutputState: i.ToFirewallPolicyRuleMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. type FirewallPolicyRuleMatcherOutput struct{ *pulumi.OutputState } @@ -14350,6 +16409,12 @@ func (o FirewallPolicyRuleMatcherOutput) ToFirewallPolicyRuleMatcherPtrOutputWit }).(FirewallPolicyRuleMatcherPtrOutput) } +func (o FirewallPolicyRuleMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcher] { + return pulumix.Output[FirewallPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + // Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. func (o FirewallPolicyRuleMatcherOutput) DestAddressGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcher) []string { return v.DestAddressGroups }).(pulumi.StringArrayOutput) @@ -14424,6 +16489,12 @@ func (o FirewallPolicyRuleMatcherPtrOutput) ToFirewallPolicyRuleMatcherPtrOutput return o } +func (o FirewallPolicyRuleMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleMatcher] { + return pulumix.Output[*FirewallPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleMatcherPtrOutput) Elem() FirewallPolicyRuleMatcherOutput { return o.ApplyT(func(v *FirewallPolicyRuleMatcher) FirewallPolicyRuleMatcher { if v != nil { @@ -14591,6 +16662,12 @@ func (i FirewallPolicyRuleMatcherLayer4ConfigArgs) ToFirewallPolicyRuleMatcherLa return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherLayer4ConfigOutput) } +func (i FirewallPolicyRuleMatcherLayer4ConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: i.ToFirewallPolicyRuleMatcherLayer4ConfigOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyRuleMatcherLayer4ConfigArrayInput is an input type that accepts FirewallPolicyRuleMatcherLayer4ConfigArray and FirewallPolicyRuleMatcherLayer4ConfigArrayOutput values. // You can construct a concrete instance of `FirewallPolicyRuleMatcherLayer4ConfigArrayInput` via: // @@ -14616,6 +16693,12 @@ func (i FirewallPolicyRuleMatcherLayer4ConfigArray) ToFirewallPolicyRuleMatcherL return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) } +func (i FirewallPolicyRuleMatcherLayer4ConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: i.ToFirewallPolicyRuleMatcherLayer4ConfigArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyRuleMatcherLayer4ConfigOutput struct{ *pulumi.OutputState } func (FirewallPolicyRuleMatcherLayer4ConfigOutput) ElementType() reflect.Type { @@ -14630,6 +16713,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigOutput) ToFirewallPolicyRuleMatcher return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o FirewallPolicyRuleMatcherLayer4ConfigOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcherLayer4Config) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -14654,6 +16743,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) ToFirewallPolicyRuleMa return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleMatcherLayer4ConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleMatcherLayer4Config { return vs[0].([]FirewallPolicyRuleMatcherLayer4Config)[vs[1].(int)] @@ -14681,6 +16776,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigResponseOutput) ToFirewallPolicyRul return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherLayer4ConfigResponse] { + return pulumix.Output[FirewallPolicyRuleMatcherLayer4ConfigResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o FirewallPolicyRuleMatcherLayer4ConfigResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcherLayer4ConfigResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -14705,6 +16806,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigResponseArrayOutput) ToFirewallPoli return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleMatcherLayer4ConfigResponse] { + return pulumix.Output[[]FirewallPolicyRuleMatcherLayer4ConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleMatcherLayer4ConfigResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleMatcherLayer4ConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleMatcherLayer4ConfigResponse { return vs[0].([]FirewallPolicyRuleMatcherLayer4ConfigResponse)[vs[1].(int)] @@ -14754,6 +16861,12 @@ func (o FirewallPolicyRuleMatcherResponseOutput) ToFirewallPolicyRuleMatcherResp return o } +func (o FirewallPolicyRuleMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherResponse] { + return pulumix.Output[FirewallPolicyRuleMatcherResponse]{ + OutputState: o.OutputState, + } +} + // Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. func (o FirewallPolicyRuleMatcherResponseOutput) DestAddressGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcherResponse) []string { return v.DestAddressGroups }).(pulumi.StringArrayOutput) @@ -14867,6 +16980,12 @@ func (o FirewallPolicyRuleResponseOutput) ToFirewallPolicyRuleResponseOutputWith return o } +func (o FirewallPolicyRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleResponse] { + return pulumix.Output[FirewallPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". func (o FirewallPolicyRuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyRuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -14956,6 +17075,12 @@ func (o FirewallPolicyRuleResponseArrayOutput) ToFirewallPolicyRuleResponseArray return o } +func (o FirewallPolicyRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleResponse] { + return pulumix.Output[[]FirewallPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleResponse { return vs[0].([]FirewallPolicyRuleResponse)[vs[1].(int)] @@ -14995,6 +17120,12 @@ func (i FirewallPolicyRuleSecureTagArgs) ToFirewallPolicyRuleSecureTagOutputWith return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleSecureTagOutput) } +func (i FirewallPolicyRuleSecureTagArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleSecureTag] { + return pulumix.Output[FirewallPolicyRuleSecureTag]{ + OutputState: i.ToFirewallPolicyRuleSecureTagOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyRuleSecureTagArrayInput is an input type that accepts FirewallPolicyRuleSecureTagArray and FirewallPolicyRuleSecureTagArrayOutput values. // You can construct a concrete instance of `FirewallPolicyRuleSecureTagArrayInput` via: // @@ -15020,6 +17151,12 @@ func (i FirewallPolicyRuleSecureTagArray) ToFirewallPolicyRuleSecureTagArrayOutp return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleSecureTagArrayOutput) } +func (i FirewallPolicyRuleSecureTagArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleSecureTag] { + return pulumix.Output[[]FirewallPolicyRuleSecureTag]{ + OutputState: i.ToFirewallPolicyRuleSecureTagArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyRuleSecureTagOutput struct{ *pulumi.OutputState } func (FirewallPolicyRuleSecureTagOutput) ElementType() reflect.Type { @@ -15034,6 +17171,12 @@ func (o FirewallPolicyRuleSecureTagOutput) ToFirewallPolicyRuleSecureTagOutputWi return o } +func (o FirewallPolicyRuleSecureTagOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleSecureTag] { + return pulumix.Output[FirewallPolicyRuleSecureTag]{ + OutputState: o.OutputState, + } +} + // Name of the secure tag, created with TagManager's TagValue API. func (o FirewallPolicyRuleSecureTagOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyRuleSecureTag) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -15053,6 +17196,12 @@ func (o FirewallPolicyRuleSecureTagArrayOutput) ToFirewallPolicyRuleSecureTagArr return o } +func (o FirewallPolicyRuleSecureTagArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleSecureTag] { + return pulumix.Output[[]FirewallPolicyRuleSecureTag]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleSecureTagArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleSecureTagOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleSecureTag { return vs[0].([]FirewallPolicyRuleSecureTag)[vs[1].(int)] @@ -15080,6 +17229,12 @@ func (o FirewallPolicyRuleSecureTagResponseOutput) ToFirewallPolicyRuleSecureTag return o } +func (o FirewallPolicyRuleSecureTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleSecureTagResponse] { + return pulumix.Output[FirewallPolicyRuleSecureTagResponse]{ + OutputState: o.OutputState, + } +} + // Name of the secure tag, created with TagManager's TagValue API. func (o FirewallPolicyRuleSecureTagResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyRuleSecureTagResponse) string { return v.Name }).(pulumi.StringOutput) @@ -15104,6 +17259,12 @@ func (o FirewallPolicyRuleSecureTagResponseArrayOutput) ToFirewallPolicyRuleSecu return o } +func (o FirewallPolicyRuleSecureTagResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleSecureTagResponse] { + return pulumix.Output[[]FirewallPolicyRuleSecureTagResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleSecureTagResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleSecureTagResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleSecureTagResponse { return vs[0].([]FirewallPolicyRuleSecureTagResponse)[vs[1].(int)] @@ -15149,6 +17310,12 @@ func (i FixedOrPercentArgs) ToFixedOrPercentOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentOutput) } +func (i FixedOrPercentArgs) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: i.ToFixedOrPercentOutputWithContext(ctx).OutputState, + } +} + func (i FixedOrPercentArgs) ToFixedOrPercentPtrOutput() FixedOrPercentPtrOutput { return i.ToFixedOrPercentPtrOutputWithContext(context.Background()) } @@ -15190,6 +17357,12 @@ func (i *fixedOrPercentPtrType) ToFixedOrPercentPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentPtrOutput) } +func (i *fixedOrPercentPtrType) ToOutput(ctx context.Context) pulumix.Output[*FixedOrPercent] { + return pulumix.Output[*FixedOrPercent]{ + OutputState: i.ToFixedOrPercentPtrOutputWithContext(ctx).OutputState, + } +} + // Encapsulates numeric value that can be either absolute or relative. type FixedOrPercentOutput struct{ *pulumi.OutputState } @@ -15215,6 +17388,12 @@ func (o FixedOrPercentOutput) ToFixedOrPercentPtrOutputWithContext(ctx context.C }).(FixedOrPercentPtrOutput) } +func (o FixedOrPercentOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: o.OutputState, + } +} + // Specifies a fixed number of VM instances. This must be a positive integer. func (o FixedOrPercentOutput) Fixed() pulumi.IntPtrOutput { return o.ApplyT(func(v FixedOrPercent) *int { return v.Fixed }).(pulumi.IntPtrOutput) @@ -15239,6 +17418,12 @@ func (o FixedOrPercentPtrOutput) ToFixedOrPercentPtrOutputWithContext(ctx contex return o } +func (o FixedOrPercentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FixedOrPercent] { + return pulumix.Output[*FixedOrPercent]{ + OutputState: o.OutputState, + } +} + func (o FixedOrPercentPtrOutput) Elem() FixedOrPercentOutput { return o.ApplyT(func(v *FixedOrPercent) FixedOrPercent { if v != nil { @@ -15294,6 +17479,12 @@ func (o FixedOrPercentResponseOutput) ToFixedOrPercentResponseOutputWithContext( return o } +func (o FixedOrPercentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercentResponse] { + return pulumix.Output[FixedOrPercentResponse]{ + OutputState: o.OutputState, + } +} + // Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded. func (o FixedOrPercentResponseOutput) Calculated() pulumi.IntOutput { return o.ApplyT(func(v FixedOrPercentResponse) int { return v.Calculated }).(pulumi.IntOutput) @@ -15352,6 +17543,12 @@ func (i ForwardingRuleServiceDirectoryRegistrationArgs) ToForwardingRuleServiceD return pulumi.ToOutputWithContext(ctx, i).(ForwardingRuleServiceDirectoryRegistrationOutput) } +func (i ForwardingRuleServiceDirectoryRegistrationArgs) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[ForwardingRuleServiceDirectoryRegistration]{ + OutputState: i.ToForwardingRuleServiceDirectoryRegistrationOutputWithContext(ctx).OutputState, + } +} + // ForwardingRuleServiceDirectoryRegistrationArrayInput is an input type that accepts ForwardingRuleServiceDirectoryRegistrationArray and ForwardingRuleServiceDirectoryRegistrationArrayOutput values. // You can construct a concrete instance of `ForwardingRuleServiceDirectoryRegistrationArrayInput` via: // @@ -15377,6 +17574,12 @@ func (i ForwardingRuleServiceDirectoryRegistrationArray) ToForwardingRuleService return pulumi.ToOutputWithContext(ctx, i).(ForwardingRuleServiceDirectoryRegistrationArrayOutput) } +func (i ForwardingRuleServiceDirectoryRegistrationArray) ToOutput(ctx context.Context) pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration]{ + OutputState: i.ToForwardingRuleServiceDirectoryRegistrationArrayOutputWithContext(ctx).OutputState, + } +} + // Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule. type ForwardingRuleServiceDirectoryRegistrationOutput struct{ *pulumi.OutputState } @@ -15392,6 +17595,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationOutput) ToForwardingRuleServic return o } +func (o ForwardingRuleServiceDirectoryRegistrationOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[ForwardingRuleServiceDirectoryRegistration]{ + OutputState: o.OutputState, + } +} + // Service Directory namespace to register the forwarding rule under. func (o ForwardingRuleServiceDirectoryRegistrationOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v ForwardingRuleServiceDirectoryRegistration) *string { return v.Namespace }).(pulumi.StringPtrOutput) @@ -15421,6 +17630,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationArrayOutput) ToForwardingRuleS return o } +func (o ForwardingRuleServiceDirectoryRegistrationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleServiceDirectoryRegistrationArrayOutput) Index(i pulumi.IntInput) ForwardingRuleServiceDirectoryRegistrationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ForwardingRuleServiceDirectoryRegistration { return vs[0].([]ForwardingRuleServiceDirectoryRegistration)[vs[1].(int)] @@ -15452,6 +17667,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationResponseOutput) ToForwardingRu return o } +func (o ForwardingRuleServiceDirectoryRegistrationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleServiceDirectoryRegistrationResponse] { + return pulumix.Output[ForwardingRuleServiceDirectoryRegistrationResponse]{ + OutputState: o.OutputState, + } +} + // Service Directory namespace to register the forwarding rule under. func (o ForwardingRuleServiceDirectoryRegistrationResponseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v ForwardingRuleServiceDirectoryRegistrationResponse) string { return v.Namespace }).(pulumi.StringOutput) @@ -15481,6 +17702,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationResponseArrayOutput) ToForward return o } +func (o ForwardingRuleServiceDirectoryRegistrationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ForwardingRuleServiceDirectoryRegistrationResponse] { + return pulumix.Output[[]ForwardingRuleServiceDirectoryRegistrationResponse]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleServiceDirectoryRegistrationResponseArrayOutput) Index(i pulumi.IntInput) ForwardingRuleServiceDirectoryRegistrationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ForwardingRuleServiceDirectoryRegistrationResponse { return vs[0].([]ForwardingRuleServiceDirectoryRegistrationResponse)[vs[1].(int)] @@ -15532,6 +17759,12 @@ func (i GRPCHealthCheckArgs) ToGRPCHealthCheckOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GRPCHealthCheckOutput) } +func (i GRPCHealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheck] { + return pulumix.Output[GRPCHealthCheck]{ + OutputState: i.ToGRPCHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i GRPCHealthCheckArgs) ToGRPCHealthCheckPtrOutput() GRPCHealthCheckPtrOutput { return i.ToGRPCHealthCheckPtrOutputWithContext(context.Background()) } @@ -15573,6 +17806,12 @@ func (i *grpchealthCheckPtrType) ToGRPCHealthCheckPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GRPCHealthCheckPtrOutput) } +func (i *grpchealthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheck] { + return pulumix.Output[*GRPCHealthCheck]{ + OutputState: i.ToGRPCHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type GRPCHealthCheckOutput struct{ *pulumi.OutputState } func (GRPCHealthCheckOutput) ElementType() reflect.Type { @@ -15597,6 +17836,12 @@ func (o GRPCHealthCheckOutput) ToGRPCHealthCheckPtrOutputWithContext(ctx context }).(GRPCHealthCheckPtrOutput) } +func (o GRPCHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheck] { + return pulumix.Output[GRPCHealthCheck]{ + OutputState: o.OutputState, + } +} + // The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII. func (o GRPCHealthCheckOutput) GrpcServiceName() pulumi.StringPtrOutput { return o.ApplyT(func(v GRPCHealthCheck) *string { return v.GrpcServiceName }).(pulumi.StringPtrOutput) @@ -15631,6 +17876,12 @@ func (o GRPCHealthCheckPtrOutput) ToGRPCHealthCheckPtrOutputWithContext(ctx cont return o } +func (o GRPCHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheck] { + return pulumix.Output[*GRPCHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o GRPCHealthCheckPtrOutput) Elem() GRPCHealthCheckOutput { return o.ApplyT(func(v *GRPCHealthCheck) GRPCHealthCheck { if v != nil { @@ -15706,6 +17957,12 @@ func (o GRPCHealthCheckResponseOutput) ToGRPCHealthCheckResponseOutputWithContex return o } +func (o GRPCHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheckResponse] { + return pulumix.Output[GRPCHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII. func (o GRPCHealthCheckResponseOutput) GrpcServiceName() pulumi.StringOutput { return o.ApplyT(func(v GRPCHealthCheckResponse) string { return v.GrpcServiceName }).(pulumi.StringOutput) @@ -15761,6 +18018,12 @@ func (i GuestOsFeatureArgs) ToGuestOsFeatureOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GuestOsFeatureOutput) } +func (i GuestOsFeatureArgs) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeature] { + return pulumix.Output[GuestOsFeature]{ + OutputState: i.ToGuestOsFeatureOutputWithContext(ctx).OutputState, + } +} + // GuestOsFeatureArrayInput is an input type that accepts GuestOsFeatureArray and GuestOsFeatureArrayOutput values. // You can construct a concrete instance of `GuestOsFeatureArrayInput` via: // @@ -15786,6 +18049,12 @@ func (i GuestOsFeatureArray) ToGuestOsFeatureArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GuestOsFeatureArrayOutput) } +func (i GuestOsFeatureArray) ToOutput(ctx context.Context) pulumix.Output[[]GuestOsFeature] { + return pulumix.Output[[]GuestOsFeature]{ + OutputState: i.ToGuestOsFeatureArrayOutputWithContext(ctx).OutputState, + } +} + // Guest OS features. type GuestOsFeatureOutput struct{ *pulumi.OutputState } @@ -15801,6 +18070,12 @@ func (o GuestOsFeatureOutput) ToGuestOsFeatureOutputWithContext(ctx context.Cont return o } +func (o GuestOsFeatureOutput) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeature] { + return pulumix.Output[GuestOsFeature]{ + OutputState: o.OutputState, + } +} + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features. func (o GuestOsFeatureOutput) Type() GuestOsFeatureTypePtrOutput { return o.ApplyT(func(v GuestOsFeature) *GuestOsFeatureType { return v.Type }).(GuestOsFeatureTypePtrOutput) @@ -15820,6 +18095,12 @@ func (o GuestOsFeatureArrayOutput) ToGuestOsFeatureArrayOutputWithContext(ctx co return o } +func (o GuestOsFeatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GuestOsFeature] { + return pulumix.Output[[]GuestOsFeature]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureArrayOutput) Index(i pulumi.IntInput) GuestOsFeatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GuestOsFeature { return vs[0].([]GuestOsFeature)[vs[1].(int)] @@ -15847,6 +18128,12 @@ func (o GuestOsFeatureResponseOutput) ToGuestOsFeatureResponseOutputWithContext( return o } +func (o GuestOsFeatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeatureResponse] { + return pulumix.Output[GuestOsFeatureResponse]{ + OutputState: o.OutputState, + } +} + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features. func (o GuestOsFeatureResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GuestOsFeatureResponse) string { return v.Type }).(pulumi.StringOutput) @@ -15866,6 +18153,12 @@ func (o GuestOsFeatureResponseArrayOutput) ToGuestOsFeatureResponseArrayOutputWi return o } +func (o GuestOsFeatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GuestOsFeatureResponse] { + return pulumix.Output[[]GuestOsFeatureResponse]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureResponseArrayOutput) Index(i pulumi.IntInput) GuestOsFeatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GuestOsFeatureResponse { return vs[0].([]GuestOsFeatureResponse)[vs[1].(int)] @@ -15929,6 +18222,12 @@ func (i HTTP2HealthCheckArgs) ToHTTP2HealthCheckOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HTTP2HealthCheckOutput) } +func (i HTTP2HealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheck] { + return pulumix.Output[HTTP2HealthCheck]{ + OutputState: i.ToHTTP2HealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i HTTP2HealthCheckArgs) ToHTTP2HealthCheckPtrOutput() HTTP2HealthCheckPtrOutput { return i.ToHTTP2HealthCheckPtrOutputWithContext(context.Background()) } @@ -15970,6 +18269,12 @@ func (i *http2healthCheckPtrType) ToHTTP2HealthCheckPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(HTTP2HealthCheckPtrOutput) } +func (i *http2healthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheck] { + return pulumix.Output[*HTTP2HealthCheck]{ + OutputState: i.ToHTTP2HealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type HTTP2HealthCheckOutput struct{ *pulumi.OutputState } func (HTTP2HealthCheckOutput) ElementType() reflect.Type { @@ -15994,6 +18299,12 @@ func (o HTTP2HealthCheckOutput) ToHTTP2HealthCheckPtrOutputWithContext(ctx conte }).(HTTP2HealthCheckPtrOutput) } +func (o HTTP2HealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheck] { + return pulumix.Output[HTTP2HealthCheck]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP/2 health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTP2HealthCheckOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v HTTP2HealthCheck) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -16043,6 +18354,12 @@ func (o HTTP2HealthCheckPtrOutput) ToHTTP2HealthCheckPtrOutputWithContext(ctx co return o } +func (o HTTP2HealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheck] { + return pulumix.Output[*HTTP2HealthCheck]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckPtrOutput) Elem() HTTP2HealthCheckOutput { return o.ApplyT(func(v *HTTP2HealthCheck) HTTP2HealthCheck { if v != nil { @@ -16154,6 +18471,12 @@ func (o HTTP2HealthCheckResponseOutput) ToHTTP2HealthCheckResponseOutputWithCont return o } +func (o HTTP2HealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheckResponse] { + return pulumix.Output[HTTP2HealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP/2 health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTP2HealthCheckResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v HTTP2HealthCheckResponse) string { return v.Host }).(pulumi.StringOutput) @@ -16246,6 +18569,12 @@ func (i HTTPHealthCheckTypeArgs) ToHTTPHealthCheckTypeOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HTTPHealthCheckTypeOutput) } +func (i HTTPHealthCheckTypeArgs) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckType] { + return pulumix.Output[HTTPHealthCheckType]{ + OutputState: i.ToHTTPHealthCheckTypeOutputWithContext(ctx).OutputState, + } +} + func (i HTTPHealthCheckTypeArgs) ToHTTPHealthCheckTypePtrOutput() HTTPHealthCheckTypePtrOutput { return i.ToHTTPHealthCheckTypePtrOutputWithContext(context.Background()) } @@ -16287,6 +18616,12 @@ func (i *httphealthCheckTypePtrType) ToHTTPHealthCheckTypePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(HTTPHealthCheckTypePtrOutput) } +func (i *httphealthCheckTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckType] { + return pulumix.Output[*HTTPHealthCheckType]{ + OutputState: i.ToHTTPHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + type HTTPHealthCheckTypeOutput struct{ *pulumi.OutputState } func (HTTPHealthCheckTypeOutput) ElementType() reflect.Type { @@ -16311,6 +18646,12 @@ func (o HTTPHealthCheckTypeOutput) ToHTTPHealthCheckTypePtrOutputWithContext(ctx }).(HTTPHealthCheckTypePtrOutput) } +func (o HTTPHealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckType] { + return pulumix.Output[HTTPHealthCheckType]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPHealthCheckTypeOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v HTTPHealthCheckType) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -16360,6 +18701,12 @@ func (o HTTPHealthCheckTypePtrOutput) ToHTTPHealthCheckTypePtrOutputWithContext( return o } +func (o HTTPHealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckType] { + return pulumix.Output[*HTTPHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckTypePtrOutput) Elem() HTTPHealthCheckTypeOutput { return o.ApplyT(func(v *HTTPHealthCheckType) HTTPHealthCheckType { if v != nil { @@ -16471,6 +18818,12 @@ func (o HTTPHealthCheckResponseOutput) ToHTTPHealthCheckResponseOutputWithContex return o } +func (o HTTPHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckResponse] { + return pulumix.Output[HTTPHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPHealthCheckResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v HTTPHealthCheckResponse) string { return v.Host }).(pulumi.StringOutput) @@ -16563,6 +18916,12 @@ func (i HTTPSHealthCheckTypeArgs) ToHTTPSHealthCheckTypeOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HTTPSHealthCheckTypeOutput) } +func (i HTTPSHealthCheckTypeArgs) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckType] { + return pulumix.Output[HTTPSHealthCheckType]{ + OutputState: i.ToHTTPSHealthCheckTypeOutputWithContext(ctx).OutputState, + } +} + func (i HTTPSHealthCheckTypeArgs) ToHTTPSHealthCheckTypePtrOutput() HTTPSHealthCheckTypePtrOutput { return i.ToHTTPSHealthCheckTypePtrOutputWithContext(context.Background()) } @@ -16604,6 +18963,12 @@ func (i *httpshealthCheckTypePtrType) ToHTTPSHealthCheckTypePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HTTPSHealthCheckTypePtrOutput) } +func (i *httpshealthCheckTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckType] { + return pulumix.Output[*HTTPSHealthCheckType]{ + OutputState: i.ToHTTPSHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + type HTTPSHealthCheckTypeOutput struct{ *pulumi.OutputState } func (HTTPSHealthCheckTypeOutput) ElementType() reflect.Type { @@ -16628,6 +18993,12 @@ func (o HTTPSHealthCheckTypeOutput) ToHTTPSHealthCheckTypePtrOutputWithContext(c }).(HTTPSHealthCheckTypePtrOutput) } +func (o HTTPSHealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckType] { + return pulumix.Output[HTTPSHealthCheckType]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTPS health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPSHealthCheckTypeOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v HTTPSHealthCheckType) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -16677,6 +19048,12 @@ func (o HTTPSHealthCheckTypePtrOutput) ToHTTPSHealthCheckTypePtrOutputWithContex return o } +func (o HTTPSHealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckType] { + return pulumix.Output[*HTTPSHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckTypePtrOutput) Elem() HTTPSHealthCheckTypeOutput { return o.ApplyT(func(v *HTTPSHealthCheckType) HTTPSHealthCheckType { if v != nil { @@ -16788,6 +19165,12 @@ func (o HTTPSHealthCheckResponseOutput) ToHTTPSHealthCheckResponseOutputWithCont return o } +func (o HTTPSHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckResponse] { + return pulumix.Output[HTTPSHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTPS health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPSHealthCheckResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v HTTPSHealthCheckResponse) string { return v.Host }).(pulumi.StringOutput) @@ -16858,6 +19241,12 @@ func (i HealthCheckLogConfigArgs) ToHealthCheckLogConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HealthCheckLogConfigOutput) } +func (i HealthCheckLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[HealthCheckLogConfig] { + return pulumix.Output[HealthCheckLogConfig]{ + OutputState: i.ToHealthCheckLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i HealthCheckLogConfigArgs) ToHealthCheckLogConfigPtrOutput() HealthCheckLogConfigPtrOutput { return i.ToHealthCheckLogConfigPtrOutputWithContext(context.Background()) } @@ -16899,6 +19288,12 @@ func (i *healthCheckLogConfigPtrType) ToHealthCheckLogConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HealthCheckLogConfigPtrOutput) } +func (i *healthCheckLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckLogConfig] { + return pulumix.Output[*HealthCheckLogConfig]{ + OutputState: i.ToHealthCheckLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver. type HealthCheckLogConfigOutput struct{ *pulumi.OutputState } @@ -16924,6 +19319,12 @@ func (o HealthCheckLogConfigOutput) ToHealthCheckLogConfigPtrOutputWithContext(c }).(HealthCheckLogConfigPtrOutput) } +func (o HealthCheckLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckLogConfig] { + return pulumix.Output[HealthCheckLogConfig]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default, which means no health check logging will be done. func (o HealthCheckLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v HealthCheckLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -16943,6 +19344,12 @@ func (o HealthCheckLogConfigPtrOutput) ToHealthCheckLogConfigPtrOutputWithContex return o } +func (o HealthCheckLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckLogConfig] { + return pulumix.Output[*HealthCheckLogConfig]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckLogConfigPtrOutput) Elem() HealthCheckLogConfigOutput { return o.ApplyT(func(v *HealthCheckLogConfig) HealthCheckLogConfig { if v != nil { @@ -16984,6 +19391,12 @@ func (o HealthCheckLogConfigResponseOutput) ToHealthCheckLogConfigResponseOutput return o } +func (o HealthCheckLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckLogConfigResponse] { + return pulumix.Output[HealthCheckLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default, which means no health check logging will be done. func (o HealthCheckLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v HealthCheckLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -17032,6 +19445,12 @@ func (i HostRuleArgs) ToHostRuleOutputWithContext(ctx context.Context) HostRuleO return pulumi.ToOutputWithContext(ctx, i).(HostRuleOutput) } +func (i HostRuleArgs) ToOutput(ctx context.Context) pulumix.Output[HostRule] { + return pulumix.Output[HostRule]{ + OutputState: i.ToHostRuleOutputWithContext(ctx).OutputState, + } +} + // HostRuleArrayInput is an input type that accepts HostRuleArray and HostRuleArrayOutput values. // You can construct a concrete instance of `HostRuleArrayInput` via: // @@ -17057,6 +19476,12 @@ func (i HostRuleArray) ToHostRuleArrayOutputWithContext(ctx context.Context) Hos return pulumi.ToOutputWithContext(ctx, i).(HostRuleArrayOutput) } +func (i HostRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]HostRule] { + return pulumix.Output[[]HostRule]{ + OutputState: i.ToHostRuleArrayOutputWithContext(ctx).OutputState, + } +} + // UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. type HostRuleOutput struct{ *pulumi.OutputState } @@ -17072,6 +19497,12 @@ func (o HostRuleOutput) ToHostRuleOutputWithContext(ctx context.Context) HostRul return o } +func (o HostRuleOutput) ToOutput(ctx context.Context) pulumix.Output[HostRule] { + return pulumix.Output[HostRule]{ + OutputState: o.OutputState, + } +} + // An optional description of this resource. Provide this property when you create the resource. func (o HostRuleOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v HostRule) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -17101,6 +19532,12 @@ func (o HostRuleArrayOutput) ToHostRuleArrayOutputWithContext(ctx context.Contex return o } +func (o HostRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HostRule] { + return pulumix.Output[[]HostRule]{ + OutputState: o.OutputState, + } +} + func (o HostRuleArrayOutput) Index(i pulumi.IntInput) HostRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostRule { return vs[0].([]HostRule)[vs[1].(int)] @@ -17132,6 +19569,12 @@ func (o HostRuleResponseOutput) ToHostRuleResponseOutputWithContext(ctx context. return o } +func (o HostRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HostRuleResponse] { + return pulumix.Output[HostRuleResponse]{ + OutputState: o.OutputState, + } +} + // An optional description of this resource. Provide this property when you create the resource. func (o HostRuleResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v HostRuleResponse) string { return v.Description }).(pulumi.StringOutput) @@ -17161,6 +19604,12 @@ func (o HostRuleResponseArrayOutput) ToHostRuleResponseArrayOutputWithContext(ct return o } +func (o HostRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HostRuleResponse] { + return pulumix.Output[[]HostRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o HostRuleResponseArrayOutput) Index(i pulumi.IntInput) HostRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostRuleResponse { return vs[0].([]HostRuleResponse)[vs[1].(int)] @@ -17206,6 +19655,12 @@ func (i HttpFaultAbortArgs) ToHttpFaultAbortOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(HttpFaultAbortOutput) } +func (i HttpFaultAbortArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFaultAbort] { + return pulumix.Output[HttpFaultAbort]{ + OutputState: i.ToHttpFaultAbortOutputWithContext(ctx).OutputState, + } +} + func (i HttpFaultAbortArgs) ToHttpFaultAbortPtrOutput() HttpFaultAbortPtrOutput { return i.ToHttpFaultAbortPtrOutputWithContext(context.Background()) } @@ -17247,6 +19702,12 @@ func (i *httpFaultAbortPtrType) ToHttpFaultAbortPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(HttpFaultAbortPtrOutput) } +func (i *httpFaultAbortPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultAbort] { + return pulumix.Output[*HttpFaultAbort]{ + OutputState: i.ToHttpFaultAbortPtrOutputWithContext(ctx).OutputState, + } +} + // Specification for how requests are aborted as part of fault injection. type HttpFaultAbortOutput struct{ *pulumi.OutputState } @@ -17272,6 +19733,12 @@ func (o HttpFaultAbortOutput) ToHttpFaultAbortPtrOutputWithContext(ctx context.C }).(HttpFaultAbortPtrOutput) } +func (o HttpFaultAbortOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultAbort] { + return pulumix.Output[HttpFaultAbort]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. func (o HttpFaultAbortOutput) HttpStatus() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpFaultAbort) *int { return v.HttpStatus }).(pulumi.IntPtrOutput) @@ -17296,6 +19763,12 @@ func (o HttpFaultAbortPtrOutput) ToHttpFaultAbortPtrOutputWithContext(ctx contex return o } +func (o HttpFaultAbortPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultAbort] { + return pulumix.Output[*HttpFaultAbort]{ + OutputState: o.OutputState, + } +} + func (o HttpFaultAbortPtrOutput) Elem() HttpFaultAbortOutput { return o.ApplyT(func(v *HttpFaultAbort) HttpFaultAbort { if v != nil { @@ -17349,6 +19822,12 @@ func (o HttpFaultAbortResponseOutput) ToHttpFaultAbortResponseOutputWithContext( return o } +func (o HttpFaultAbortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultAbortResponse] { + return pulumix.Output[HttpFaultAbortResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. func (o HttpFaultAbortResponseOutput) HttpStatus() pulumi.IntOutput { return o.ApplyT(func(v HttpFaultAbortResponse) int { return v.HttpStatus }).(pulumi.IntOutput) @@ -17398,6 +19877,12 @@ func (i HttpFaultDelayArgs) ToHttpFaultDelayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(HttpFaultDelayOutput) } +func (i HttpFaultDelayArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFaultDelay] { + return pulumix.Output[HttpFaultDelay]{ + OutputState: i.ToHttpFaultDelayOutputWithContext(ctx).OutputState, + } +} + func (i HttpFaultDelayArgs) ToHttpFaultDelayPtrOutput() HttpFaultDelayPtrOutput { return i.ToHttpFaultDelayPtrOutputWithContext(context.Background()) } @@ -17439,6 +19924,12 @@ func (i *httpFaultDelayPtrType) ToHttpFaultDelayPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(HttpFaultDelayPtrOutput) } +func (i *httpFaultDelayPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultDelay] { + return pulumix.Output[*HttpFaultDelay]{ + OutputState: i.ToHttpFaultDelayPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection. type HttpFaultDelayOutput struct{ *pulumi.OutputState } @@ -17464,6 +19955,12 @@ func (o HttpFaultDelayOutput) ToHttpFaultDelayPtrOutputWithContext(ctx context.C }).(HttpFaultDelayPtrOutput) } +func (o HttpFaultDelayOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultDelay] { + return pulumix.Output[HttpFaultDelay]{ + OutputState: o.OutputState, + } +} + // Specifies the value of the fixed delay interval. func (o HttpFaultDelayOutput) FixedDelay() DurationPtrOutput { return o.ApplyT(func(v HttpFaultDelay) *Duration { return v.FixedDelay }).(DurationPtrOutput) @@ -17488,6 +19985,12 @@ func (o HttpFaultDelayPtrOutput) ToHttpFaultDelayPtrOutputWithContext(ctx contex return o } +func (o HttpFaultDelayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultDelay] { + return pulumix.Output[*HttpFaultDelay]{ + OutputState: o.OutputState, + } +} + func (o HttpFaultDelayPtrOutput) Elem() HttpFaultDelayOutput { return o.ApplyT(func(v *HttpFaultDelay) HttpFaultDelay { if v != nil { @@ -17541,6 +20044,12 @@ func (o HttpFaultDelayResponseOutput) ToHttpFaultDelayResponseOutputWithContext( return o } +func (o HttpFaultDelayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultDelayResponse] { + return pulumix.Output[HttpFaultDelayResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the value of the fixed delay interval. func (o HttpFaultDelayResponseOutput) FixedDelay() DurationResponseOutput { return o.ApplyT(func(v HttpFaultDelayResponse) DurationResponse { return v.FixedDelay }).(DurationResponseOutput) @@ -17590,6 +20099,12 @@ func (i HttpFaultInjectionArgs) ToHttpFaultInjectionOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpFaultInjectionOutput) } +func (i HttpFaultInjectionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFaultInjection] { + return pulumix.Output[HttpFaultInjection]{ + OutputState: i.ToHttpFaultInjectionOutputWithContext(ctx).OutputState, + } +} + func (i HttpFaultInjectionArgs) ToHttpFaultInjectionPtrOutput() HttpFaultInjectionPtrOutput { return i.ToHttpFaultInjectionPtrOutputWithContext(context.Background()) } @@ -17631,6 +20146,12 @@ func (i *httpFaultInjectionPtrType) ToHttpFaultInjectionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpFaultInjectionPtrOutput) } +func (i *httpFaultInjectionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultInjection] { + return pulumix.Output[*HttpFaultInjection]{ + OutputState: i.ToHttpFaultInjectionPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. type HttpFaultInjectionOutput struct{ *pulumi.OutputState } @@ -17656,6 +20177,12 @@ func (o HttpFaultInjectionOutput) ToHttpFaultInjectionPtrOutputWithContext(ctx c }).(HttpFaultInjectionPtrOutput) } +func (o HttpFaultInjectionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultInjection] { + return pulumix.Output[HttpFaultInjection]{ + OutputState: o.OutputState, + } +} + // The specification for how client requests are aborted as part of fault injection. func (o HttpFaultInjectionOutput) Abort() HttpFaultAbortPtrOutput { return o.ApplyT(func(v HttpFaultInjection) *HttpFaultAbort { return v.Abort }).(HttpFaultAbortPtrOutput) @@ -17680,6 +20207,12 @@ func (o HttpFaultInjectionPtrOutput) ToHttpFaultInjectionPtrOutputWithContext(ct return o } +func (o HttpFaultInjectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultInjection] { + return pulumix.Output[*HttpFaultInjection]{ + OutputState: o.OutputState, + } +} + func (o HttpFaultInjectionPtrOutput) Elem() HttpFaultInjectionOutput { return o.ApplyT(func(v *HttpFaultInjection) HttpFaultInjection { if v != nil { @@ -17733,6 +20266,12 @@ func (o HttpFaultInjectionResponseOutput) ToHttpFaultInjectionResponseOutputWith return o } +func (o HttpFaultInjectionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultInjectionResponse] { + return pulumix.Output[HttpFaultInjectionResponse]{ + OutputState: o.OutputState, + } +} + // The specification for how client requests are aborted as part of fault injection. func (o HttpFaultInjectionResponseOutput) Abort() HttpFaultAbortResponseOutput { return o.ApplyT(func(v HttpFaultInjectionResponse) HttpFaultAbortResponse { return v.Abort }).(HttpFaultAbortResponseOutput) @@ -17786,6 +20325,12 @@ func (i HttpFilterConfigArgs) ToHttpFilterConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpFilterConfigOutput) } +func (i HttpFilterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFilterConfig] { + return pulumix.Output[HttpFilterConfig]{ + OutputState: i.ToHttpFilterConfigOutputWithContext(ctx).OutputState, + } +} + // HttpFilterConfigArrayInput is an input type that accepts HttpFilterConfigArray and HttpFilterConfigArrayOutput values. // You can construct a concrete instance of `HttpFilterConfigArrayInput` via: // @@ -17811,6 +20356,12 @@ func (i HttpFilterConfigArray) ToHttpFilterConfigArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpFilterConfigArrayOutput) } +func (i HttpFilterConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpFilterConfig] { + return pulumix.Output[[]HttpFilterConfig]{ + OutputState: i.ToHttpFilterConfigArrayOutputWithContext(ctx).OutputState, + } +} + // HttpFilterConfiguration supplies additional contextual settings for networkservices.HttpFilter resources enabled by Traffic Director. type HttpFilterConfigOutput struct{ *pulumi.OutputState } @@ -17826,6 +20377,12 @@ func (o HttpFilterConfigOutput) ToHttpFilterConfigOutputWithContext(ctx context. return o } +func (o HttpFilterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFilterConfig] { + return pulumix.Output[HttpFilterConfig]{ + OutputState: o.OutputState, + } +} + // The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl func (o HttpFilterConfigOutput) Config() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpFilterConfig) *string { return v.Config }).(pulumi.StringPtrOutput) @@ -17855,6 +20412,12 @@ func (o HttpFilterConfigArrayOutput) ToHttpFilterConfigArrayOutputWithContext(ct return o } +func (o HttpFilterConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpFilterConfig] { + return pulumix.Output[[]HttpFilterConfig]{ + OutputState: o.OutputState, + } +} + func (o HttpFilterConfigArrayOutput) Index(i pulumi.IntInput) HttpFilterConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpFilterConfig { return vs[0].([]HttpFilterConfig)[vs[1].(int)] @@ -17886,6 +20449,12 @@ func (o HttpFilterConfigResponseOutput) ToHttpFilterConfigResponseOutputWithCont return o } +func (o HttpFilterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFilterConfigResponse] { + return pulumix.Output[HttpFilterConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration needed to enable the networkservices.HttpFilter resource. The configuration must be YAML formatted and only contain fields defined in the protobuf identified in configTypeUrl func (o HttpFilterConfigResponseOutput) Config() pulumi.StringOutput { return o.ApplyT(func(v HttpFilterConfigResponse) string { return v.Config }).(pulumi.StringOutput) @@ -17915,6 +20484,12 @@ func (o HttpFilterConfigResponseArrayOutput) ToHttpFilterConfigResponseArrayOutp return o } +func (o HttpFilterConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpFilterConfigResponse] { + return pulumix.Output[[]HttpFilterConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpFilterConfigResponseArrayOutput) Index(i pulumi.IntInput) HttpFilterConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpFilterConfigResponse { return vs[0].([]HttpFilterConfigResponse)[vs[1].(int)] @@ -17968,6 +20543,12 @@ func (i HttpHeaderActionArgs) ToHttpHeaderActionOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderActionOutput) } +func (i HttpHeaderActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderAction] { + return pulumix.Output[HttpHeaderAction]{ + OutputState: i.ToHttpHeaderActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpHeaderActionArgs) ToHttpHeaderActionPtrOutput() HttpHeaderActionPtrOutput { return i.ToHttpHeaderActionPtrOutputWithContext(context.Background()) } @@ -18009,6 +20590,12 @@ func (i *httpHeaderActionPtrType) ToHttpHeaderActionPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderActionPtrOutput) } +func (i *httpHeaderActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpHeaderAction] { + return pulumix.Output[*HttpHeaderAction]{ + OutputState: i.ToHttpHeaderActionPtrOutputWithContext(ctx).OutputState, + } +} + // The request and response header transformations that take effect before the request is passed along to the selected backendService. type HttpHeaderActionOutput struct{ *pulumi.OutputState } @@ -18034,6 +20621,12 @@ func (o HttpHeaderActionOutput) ToHttpHeaderActionPtrOutputWithContext(ctx conte }).(HttpHeaderActionPtrOutput) } +func (o HttpHeaderActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderAction] { + return pulumix.Output[HttpHeaderAction]{ + OutputState: o.OutputState, + } +} + // Headers to add to a matching request before forwarding the request to the backendService. func (o HttpHeaderActionOutput) RequestHeadersToAdd() HttpHeaderOptionArrayOutput { return o.ApplyT(func(v HttpHeaderAction) []HttpHeaderOption { return v.RequestHeadersToAdd }).(HttpHeaderOptionArrayOutput) @@ -18068,6 +20661,12 @@ func (o HttpHeaderActionPtrOutput) ToHttpHeaderActionPtrOutputWithContext(ctx co return o } +func (o HttpHeaderActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpHeaderAction] { + return pulumix.Output[*HttpHeaderAction]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderActionPtrOutput) Elem() HttpHeaderActionOutput { return o.ApplyT(func(v *HttpHeaderAction) HttpHeaderAction { if v != nil { @@ -18145,6 +20744,12 @@ func (o HttpHeaderActionResponseOutput) ToHttpHeaderActionResponseOutputWithCont return o } +func (o HttpHeaderActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderActionResponse] { + return pulumix.Output[HttpHeaderActionResponse]{ + OutputState: o.OutputState, + } +} + // Headers to add to a matching request before forwarding the request to the backendService. func (o HttpHeaderActionResponseOutput) RequestHeadersToAdd() HttpHeaderOptionResponseArrayOutput { return o.ApplyT(func(v HttpHeaderActionResponse) []HttpHeaderOptionResponse { return v.RequestHeadersToAdd }).(HttpHeaderOptionResponseArrayOutput) @@ -18228,6 +20833,12 @@ func (i HttpHeaderMatchArgs) ToHttpHeaderMatchOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderMatchOutput) } +func (i HttpHeaderMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatch] { + return pulumix.Output[HttpHeaderMatch]{ + OutputState: i.ToHttpHeaderMatchOutputWithContext(ctx).OutputState, + } +} + // HttpHeaderMatchArrayInput is an input type that accepts HttpHeaderMatchArray and HttpHeaderMatchArrayOutput values. // You can construct a concrete instance of `HttpHeaderMatchArrayInput` via: // @@ -18253,6 +20864,12 @@ func (i HttpHeaderMatchArray) ToHttpHeaderMatchArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderMatchArrayOutput) } +func (i HttpHeaderMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderMatch] { + return pulumix.Output[[]HttpHeaderMatch]{ + OutputState: i.ToHttpHeaderMatchArrayOutputWithContext(ctx).OutputState, + } +} + // matchRule criteria for request header matches. type HttpHeaderMatchOutput struct{ *pulumi.OutputState } @@ -18268,6 +20885,12 @@ func (o HttpHeaderMatchOutput) ToHttpHeaderMatchOutputWithContext(ctx context.Co return o } +func (o HttpHeaderMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatch] { + return pulumix.Output[HttpHeaderMatch]{ + OutputState: o.OutputState, + } +} + // The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. func (o HttpHeaderMatchOutput) ExactMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpHeaderMatch) *string { return v.ExactMatch }).(pulumi.StringPtrOutput) @@ -18322,6 +20945,12 @@ func (o HttpHeaderMatchArrayOutput) ToHttpHeaderMatchArrayOutputWithContext(ctx return o } +func (o HttpHeaderMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderMatch] { + return pulumix.Output[[]HttpHeaderMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderMatchArrayOutput) Index(i pulumi.IntInput) HttpHeaderMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderMatch { return vs[0].([]HttpHeaderMatch)[vs[1].(int)] @@ -18363,6 +20992,12 @@ func (o HttpHeaderMatchResponseOutput) ToHttpHeaderMatchResponseOutputWithContex return o } +func (o HttpHeaderMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatchResponse] { + return pulumix.Output[HttpHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + // The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. func (o HttpHeaderMatchResponseOutput) ExactMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpHeaderMatchResponse) string { return v.ExactMatch }).(pulumi.StringOutput) @@ -18417,6 +21052,12 @@ func (o HttpHeaderMatchResponseArrayOutput) ToHttpHeaderMatchResponseArrayOutput return o } +func (o HttpHeaderMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderMatchResponse] { + return pulumix.Output[[]HttpHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpHeaderMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderMatchResponse { return vs[0].([]HttpHeaderMatchResponse)[vs[1].(int)] @@ -18466,6 +21107,12 @@ func (i HttpHeaderOptionArgs) ToHttpHeaderOptionOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderOptionOutput) } +func (i HttpHeaderOptionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderOption] { + return pulumix.Output[HttpHeaderOption]{ + OutputState: i.ToHttpHeaderOptionOutputWithContext(ctx).OutputState, + } +} + // HttpHeaderOptionArrayInput is an input type that accepts HttpHeaderOptionArray and HttpHeaderOptionArrayOutput values. // You can construct a concrete instance of `HttpHeaderOptionArrayInput` via: // @@ -18491,6 +21138,12 @@ func (i HttpHeaderOptionArray) ToHttpHeaderOptionArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderOptionArrayOutput) } +func (i HttpHeaderOptionArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderOption] { + return pulumix.Output[[]HttpHeaderOption]{ + OutputState: i.ToHttpHeaderOptionArrayOutputWithContext(ctx).OutputState, + } +} + // Specification determining how headers are added to requests or responses. type HttpHeaderOptionOutput struct{ *pulumi.OutputState } @@ -18506,6 +21159,12 @@ func (o HttpHeaderOptionOutput) ToHttpHeaderOptionOutputWithContext(ctx context. return o } +func (o HttpHeaderOptionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderOption] { + return pulumix.Output[HttpHeaderOption]{ + OutputState: o.OutputState, + } +} + // The name of the header. func (o HttpHeaderOptionOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpHeaderOption) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -18535,6 +21194,12 @@ func (o HttpHeaderOptionArrayOutput) ToHttpHeaderOptionArrayOutputWithContext(ct return o } +func (o HttpHeaderOptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderOption] { + return pulumix.Output[[]HttpHeaderOption]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderOptionArrayOutput) Index(i pulumi.IntInput) HttpHeaderOptionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderOption { return vs[0].([]HttpHeaderOption)[vs[1].(int)] @@ -18566,6 +21231,12 @@ func (o HttpHeaderOptionResponseOutput) ToHttpHeaderOptionResponseOutputWithCont return o } +func (o HttpHeaderOptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderOptionResponse] { + return pulumix.Output[HttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the header. func (o HttpHeaderOptionResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v HttpHeaderOptionResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -18595,6 +21266,12 @@ func (o HttpHeaderOptionResponseArrayOutput) ToHttpHeaderOptionResponseArrayOutp return o } +func (o HttpHeaderOptionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderOptionResponse] { + return pulumix.Output[[]HttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderOptionResponseArrayOutput) Index(i pulumi.IntInput) HttpHeaderOptionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderOptionResponse { return vs[0].([]HttpHeaderOptionResponse)[vs[1].(int)] @@ -18648,6 +21325,12 @@ func (i HttpQueryParameterMatchArgs) ToHttpQueryParameterMatchOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(HttpQueryParameterMatchOutput) } +func (i HttpQueryParameterMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpQueryParameterMatch] { + return pulumix.Output[HttpQueryParameterMatch]{ + OutputState: i.ToHttpQueryParameterMatchOutputWithContext(ctx).OutputState, + } +} + // HttpQueryParameterMatchArrayInput is an input type that accepts HttpQueryParameterMatchArray and HttpQueryParameterMatchArrayOutput values. // You can construct a concrete instance of `HttpQueryParameterMatchArrayInput` via: // @@ -18673,6 +21356,12 @@ func (i HttpQueryParameterMatchArray) ToHttpQueryParameterMatchArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(HttpQueryParameterMatchArrayOutput) } +func (i HttpQueryParameterMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpQueryParameterMatch] { + return pulumix.Output[[]HttpQueryParameterMatch]{ + OutputState: i.ToHttpQueryParameterMatchArrayOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatch criteria for a request's query parameter. type HttpQueryParameterMatchOutput struct{ *pulumi.OutputState } @@ -18688,6 +21377,12 @@ func (o HttpQueryParameterMatchOutput) ToHttpQueryParameterMatchOutputWithContex return o } +func (o HttpQueryParameterMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpQueryParameterMatch] { + return pulumix.Output[HttpQueryParameterMatch]{ + OutputState: o.OutputState, + } +} + // The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set. func (o HttpQueryParameterMatchOutput) ExactMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpQueryParameterMatch) *string { return v.ExactMatch }).(pulumi.StringPtrOutput) @@ -18722,6 +21417,12 @@ func (o HttpQueryParameterMatchArrayOutput) ToHttpQueryParameterMatchArrayOutput return o } +func (o HttpQueryParameterMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpQueryParameterMatch] { + return pulumix.Output[[]HttpQueryParameterMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpQueryParameterMatchArrayOutput) Index(i pulumi.IntInput) HttpQueryParameterMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpQueryParameterMatch { return vs[0].([]HttpQueryParameterMatch)[vs[1].(int)] @@ -18755,6 +21456,12 @@ func (o HttpQueryParameterMatchResponseOutput) ToHttpQueryParameterMatchResponse return o } +func (o HttpQueryParameterMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpQueryParameterMatchResponse] { + return pulumix.Output[HttpQueryParameterMatchResponse]{ + OutputState: o.OutputState, + } +} + // The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set. func (o HttpQueryParameterMatchResponseOutput) ExactMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpQueryParameterMatchResponse) string { return v.ExactMatch }).(pulumi.StringOutput) @@ -18789,6 +21496,12 @@ func (o HttpQueryParameterMatchResponseArrayOutput) ToHttpQueryParameterMatchRes return o } +func (o HttpQueryParameterMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpQueryParameterMatchResponse] { + return pulumix.Output[[]HttpQueryParameterMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpQueryParameterMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpQueryParameterMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpQueryParameterMatchResponse { return vs[0].([]HttpQueryParameterMatchResponse)[vs[1].(int)] @@ -18850,6 +21563,12 @@ func (i HttpRedirectActionArgs) ToHttpRedirectActionOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpRedirectActionOutput) } +func (i HttpRedirectActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectAction] { + return pulumix.Output[HttpRedirectAction]{ + OutputState: i.ToHttpRedirectActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpRedirectActionArgs) ToHttpRedirectActionPtrOutput() HttpRedirectActionPtrOutput { return i.ToHttpRedirectActionPtrOutputWithContext(context.Background()) } @@ -18891,6 +21610,12 @@ func (i *httpRedirectActionPtrType) ToHttpRedirectActionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpRedirectActionPtrOutput) } +func (i *httpRedirectActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectAction] { + return pulumix.Output[*HttpRedirectAction]{ + OutputState: i.ToHttpRedirectActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies settings for an HTTP redirect. type HttpRedirectActionOutput struct{ *pulumi.OutputState } @@ -18916,6 +21641,12 @@ func (o HttpRedirectActionOutput) ToHttpRedirectActionPtrOutputWithContext(ctx c }).(HttpRedirectActionPtrOutput) } +func (o HttpRedirectActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectAction] { + return pulumix.Output[HttpRedirectAction]{ + OutputState: o.OutputState, + } +} + // The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. func (o HttpRedirectActionOutput) HostRedirect() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRedirectAction) *string { return v.HostRedirect }).(pulumi.StringPtrOutput) @@ -18960,6 +21691,12 @@ func (o HttpRedirectActionPtrOutput) ToHttpRedirectActionPtrOutputWithContext(ct return o } +func (o HttpRedirectActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectAction] { + return pulumix.Output[*HttpRedirectAction]{ + OutputState: o.OutputState, + } +} + func (o HttpRedirectActionPtrOutput) Elem() HttpRedirectActionOutput { return o.ApplyT(func(v *HttpRedirectAction) HttpRedirectAction { if v != nil { @@ -19061,6 +21798,12 @@ func (o HttpRedirectActionResponseOutput) ToHttpRedirectActionResponseOutputWith return o } +func (o HttpRedirectActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectActionResponse] { + return pulumix.Output[HttpRedirectActionResponse]{ + OutputState: o.OutputState, + } +} + // The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. func (o HttpRedirectActionResponseOutput) HostRedirect() pulumi.StringOutput { return o.ApplyT(func(v HttpRedirectActionResponse) string { return v.HostRedirect }).(pulumi.StringOutput) @@ -19134,6 +21877,12 @@ func (i HttpRetryPolicyArgs) ToHttpRetryPolicyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpRetryPolicyOutput) } +func (i HttpRetryPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRetryPolicy] { + return pulumix.Output[HttpRetryPolicy]{ + OutputState: i.ToHttpRetryPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRetryPolicyArgs) ToHttpRetryPolicyPtrOutput() HttpRetryPolicyPtrOutput { return i.ToHttpRetryPolicyPtrOutputWithContext(context.Background()) } @@ -19175,6 +21924,12 @@ func (i *httpRetryPolicyPtrType) ToHttpRetryPolicyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(HttpRetryPolicyPtrOutput) } +func (i *httpRetryPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRetryPolicy] { + return pulumix.Output[*HttpRetryPolicy]{ + OutputState: i.ToHttpRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The retry policy associates with HttpRouteRule type HttpRetryPolicyOutput struct{ *pulumi.OutputState } @@ -19200,6 +21955,12 @@ func (o HttpRetryPolicyOutput) ToHttpRetryPolicyPtrOutputWithContext(ctx context }).(HttpRetryPolicyPtrOutput) } +func (o HttpRetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRetryPolicy] { + return pulumix.Output[HttpRetryPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. func (o HttpRetryPolicyOutput) NumRetries() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpRetryPolicy) *int { return v.NumRetries }).(pulumi.IntPtrOutput) @@ -19229,6 +21990,12 @@ func (o HttpRetryPolicyPtrOutput) ToHttpRetryPolicyPtrOutputWithContext(ctx cont return o } +func (o HttpRetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRetryPolicy] { + return pulumix.Output[*HttpRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRetryPolicyPtrOutput) Elem() HttpRetryPolicyOutput { return o.ApplyT(func(v *HttpRetryPolicy) HttpRetryPolicy { if v != nil { @@ -19294,6 +22061,12 @@ func (o HttpRetryPolicyResponseOutput) ToHttpRetryPolicyResponseOutputWithContex return o } +func (o HttpRetryPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRetryPolicyResponse] { + return pulumix.Output[HttpRetryPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. func (o HttpRetryPolicyResponseOutput) NumRetries() pulumi.IntOutput { return o.ApplyT(func(v HttpRetryPolicyResponse) int { return v.NumRetries }).(pulumi.IntOutput) @@ -19370,6 +22143,12 @@ func (i HttpRouteActionArgs) ToHttpRouteActionOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpRouteActionOutput) } +func (i HttpRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteAction] { + return pulumix.Output[HttpRouteAction]{ + OutputState: i.ToHttpRouteActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteActionArgs) ToHttpRouteActionPtrOutput() HttpRouteActionPtrOutput { return i.ToHttpRouteActionPtrOutputWithContext(context.Background()) } @@ -19411,6 +22190,12 @@ func (i *httpRouteActionPtrType) ToHttpRouteActionPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(HttpRouteActionPtrOutput) } +func (i *httpRouteActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteAction] { + return pulumix.Output[*HttpRouteAction]{ + OutputState: i.ToHttpRouteActionPtrOutputWithContext(ctx).OutputState, + } +} + type HttpRouteActionOutput struct{ *pulumi.OutputState } func (HttpRouteActionOutput) ElementType() reflect.Type { @@ -19435,6 +22220,12 @@ func (o HttpRouteActionOutput) ToHttpRouteActionPtrOutputWithContext(ctx context }).(HttpRouteActionPtrOutput) } +func (o HttpRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteAction] { + return pulumix.Output[HttpRouteAction]{ + OutputState: o.OutputState, + } +} + // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. func (o HttpRouteActionOutput) CorsPolicy() CorsPolicyPtrOutput { return o.ApplyT(func(v HttpRouteAction) *CorsPolicy { return v.CorsPolicy }).(CorsPolicyPtrOutput) @@ -19489,6 +22280,12 @@ func (o HttpRouteActionPtrOutput) ToHttpRouteActionPtrOutputWithContext(ctx cont return o } +func (o HttpRouteActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteAction] { + return pulumix.Output[*HttpRouteAction]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteActionPtrOutput) Elem() HttpRouteActionOutput { return o.ApplyT(func(v *HttpRouteAction) HttpRouteAction { if v != nil { @@ -19612,6 +22409,12 @@ func (o HttpRouteActionResponseOutput) ToHttpRouteActionResponseOutputWithContex return o } +func (o HttpRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteActionResponse] { + return pulumix.Output[HttpRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. func (o HttpRouteActionResponseOutput) CorsPolicy() CorsPolicyResponseOutput { return o.ApplyT(func(v HttpRouteActionResponse) CorsPolicyResponse { return v.CorsPolicy }).(CorsPolicyResponseOutput) @@ -19723,6 +22526,12 @@ func (i HttpRouteRuleArgs) ToHttpRouteRuleOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleOutput) } +func (i HttpRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRule] { + return pulumix.Output[HttpRouteRule]{ + OutputState: i.ToHttpRouteRuleOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleArrayInput is an input type that accepts HttpRouteRuleArray and HttpRouteRuleArrayOutput values. // You can construct a concrete instance of `HttpRouteRuleArrayInput` via: // @@ -19748,6 +22557,12 @@ func (i HttpRouteRuleArray) ToHttpRouteRuleArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleArrayOutput) } +func (i HttpRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRule] { + return pulumix.Output[[]HttpRouteRule]{ + OutputState: i.ToHttpRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // The HttpRouteRule setting specifies how to match an HTTP request and the corresponding routing action that load balancing proxies perform. type HttpRouteRuleOutput struct{ *pulumi.OutputState } @@ -19763,6 +22578,12 @@ func (o HttpRouteRuleOutput) ToHttpRouteRuleOutputWithContext(ctx context.Contex return o } +func (o HttpRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRule] { + return pulumix.Output[HttpRouteRule]{ + OutputState: o.OutputState, + } +} + // customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o HttpRouteRuleOutput) CustomErrorResponsePolicy() CustomErrorResponsePolicyPtrOutput { return o.ApplyT(func(v HttpRouteRule) *CustomErrorResponsePolicy { return v.CustomErrorResponsePolicy }).(CustomErrorResponsePolicyPtrOutput) @@ -19827,6 +22648,12 @@ func (o HttpRouteRuleArrayOutput) ToHttpRouteRuleArrayOutputWithContext(ctx cont return o } +func (o HttpRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRule] { + return pulumix.Output[[]HttpRouteRule]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRule { return vs[0].([]HttpRouteRule)[vs[1].(int)] @@ -19896,6 +22723,12 @@ func (i HttpRouteRuleMatchArgs) ToHttpRouteRuleMatchOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleMatchOutput) } +func (i HttpRouteRuleMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleMatch] { + return pulumix.Output[HttpRouteRuleMatch]{ + OutputState: i.ToHttpRouteRuleMatchOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatchArrayInput is an input type that accepts HttpRouteRuleMatchArray and HttpRouteRuleMatchArrayOutput values. // You can construct a concrete instance of `HttpRouteRuleMatchArrayInput` via: // @@ -19921,6 +22754,12 @@ func (i HttpRouteRuleMatchArray) ToHttpRouteRuleMatchArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleMatchArrayOutput) } +func (i HttpRouteRuleMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleMatch] { + return pulumix.Output[[]HttpRouteRuleMatch]{ + OutputState: i.ToHttpRouteRuleMatchArrayOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur. type HttpRouteRuleMatchOutput struct{ *pulumi.OutputState } @@ -19936,6 +22775,12 @@ func (o HttpRouteRuleMatchOutput) ToHttpRouteRuleMatchOutputWithContext(ctx cont return o } +func (o HttpRouteRuleMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleMatch] { + return pulumix.Output[HttpRouteRuleMatch]{ + OutputState: o.OutputState, + } +} + // For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. func (o HttpRouteRuleMatchOutput) FullPathMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteRuleMatch) *string { return v.FullPathMatch }).(pulumi.StringPtrOutput) @@ -19990,6 +22835,12 @@ func (o HttpRouteRuleMatchArrayOutput) ToHttpRouteRuleMatchArrayOutputWithContex return o } +func (o HttpRouteRuleMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleMatch] { + return pulumix.Output[[]HttpRouteRuleMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleMatchArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRuleMatch { return vs[0].([]HttpRouteRuleMatch)[vs[1].(int)] @@ -20031,6 +22882,12 @@ func (o HttpRouteRuleMatchResponseOutput) ToHttpRouteRuleMatchResponseOutputWith return o } +func (o HttpRouteRuleMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleMatchResponse] { + return pulumix.Output[HttpRouteRuleMatchResponse]{ + OutputState: o.OutputState, + } +} + // For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. func (o HttpRouteRuleMatchResponseOutput) FullPathMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteRuleMatchResponse) string { return v.FullPathMatch }).(pulumi.StringOutput) @@ -20085,6 +22942,12 @@ func (o HttpRouteRuleMatchResponseArrayOutput) ToHttpRouteRuleMatchResponseArray return o } +func (o HttpRouteRuleMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleMatchResponse] { + return pulumix.Output[[]HttpRouteRuleMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRuleMatchResponse { return vs[0].([]HttpRouteRuleMatchResponse)[vs[1].(int)] @@ -20130,6 +22993,12 @@ func (o HttpRouteRuleResponseOutput) ToHttpRouteRuleResponseOutputWithContext(ct return o } +func (o HttpRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleResponse] { + return pulumix.Output[HttpRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the RouteRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with routeRules.routeAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the customErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the customErrorResponsePolicy is ignored and the response from the service is returned to the client. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o HttpRouteRuleResponseOutput) CustomErrorResponsePolicy() CustomErrorResponsePolicyResponseOutput { return o.ApplyT(func(v HttpRouteRuleResponse) CustomErrorResponsePolicyResponse { return v.CustomErrorResponsePolicy }).(CustomErrorResponsePolicyResponseOutput) @@ -20194,6 +23063,12 @@ func (o HttpRouteRuleResponseArrayOutput) ToHttpRouteRuleResponseArrayOutputWith return o } +func (o HttpRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleResponse] { + return pulumix.Output[[]HttpRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRuleResponse { return vs[0].([]HttpRouteRuleResponse)[vs[1].(int)] @@ -20247,6 +23122,12 @@ func (i ImageRawDiskArgs) ToImageRawDiskOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(ImageRawDiskOutput) } +func (i ImageRawDiskArgs) ToOutput(ctx context.Context) pulumix.Output[ImageRawDisk] { + return pulumix.Output[ImageRawDisk]{ + OutputState: i.ToImageRawDiskOutputWithContext(ctx).OutputState, + } +} + func (i ImageRawDiskArgs) ToImageRawDiskPtrOutput() ImageRawDiskPtrOutput { return i.ToImageRawDiskPtrOutputWithContext(context.Background()) } @@ -20288,6 +23169,12 @@ func (i *imageRawDiskPtrType) ToImageRawDiskPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ImageRawDiskPtrOutput) } +func (i *imageRawDiskPtrType) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDisk] { + return pulumix.Output[*ImageRawDisk]{ + OutputState: i.ToImageRawDiskPtrOutputWithContext(ctx).OutputState, + } +} + // The parameters of the raw disk image. type ImageRawDiskOutput struct{ *pulumi.OutputState } @@ -20313,6 +23200,12 @@ func (o ImageRawDiskOutput) ToImageRawDiskPtrOutputWithContext(ctx context.Conte }).(ImageRawDiskPtrOutput) } +func (o ImageRawDiskOutput) ToOutput(ctx context.Context) pulumix.Output[ImageRawDisk] { + return pulumix.Output[ImageRawDisk]{ + OutputState: o.OutputState, + } +} + // The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. func (o ImageRawDiskOutput) ContainerType() ImageRawDiskContainerTypePtrOutput { return o.ApplyT(func(v ImageRawDisk) *ImageRawDiskContainerType { return v.ContainerType }).(ImageRawDiskContainerTypePtrOutput) @@ -20344,6 +23237,12 @@ func (o ImageRawDiskPtrOutput) ToImageRawDiskPtrOutputWithContext(ctx context.Co return o } +func (o ImageRawDiskPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDisk] { + return pulumix.Output[*ImageRawDisk]{ + OutputState: o.OutputState, + } +} + func (o ImageRawDiskPtrOutput) Elem() ImageRawDiskOutput { return o.ApplyT(func(v *ImageRawDisk) ImageRawDisk { if v != nil { @@ -20413,6 +23312,12 @@ func (o ImageRawDiskResponseOutput) ToImageRawDiskResponseOutputWithContext(ctx return o } +func (o ImageRawDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageRawDiskResponse] { + return pulumix.Output[ImageRawDiskResponse]{ + OutputState: o.OutputState, + } +} + // The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. func (o ImageRawDiskResponseOutput) ContainerType() pulumi.StringOutput { return o.ApplyT(func(v ImageRawDiskResponse) string { return v.ContainerType }).(pulumi.StringOutput) @@ -20477,6 +23382,12 @@ func (i InitialStateConfigArgs) ToInitialStateConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InitialStateConfigOutput) } +func (i InitialStateConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InitialStateConfig] { + return pulumix.Output[InitialStateConfig]{ + OutputState: i.ToInitialStateConfigOutputWithContext(ctx).OutputState, + } +} + func (i InitialStateConfigArgs) ToInitialStateConfigPtrOutput() InitialStateConfigPtrOutput { return i.ToInitialStateConfigPtrOutputWithContext(context.Background()) } @@ -20518,6 +23429,12 @@ func (i *initialStateConfigPtrType) ToInitialStateConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InitialStateConfigPtrOutput) } +func (i *initialStateConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InitialStateConfig] { + return pulumix.Output[*InitialStateConfig]{ + OutputState: i.ToInitialStateConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Initial State for shielded instance, these are public keys which are safe to store in public type InitialStateConfigOutput struct{ *pulumi.OutputState } @@ -20543,6 +23460,12 @@ func (o InitialStateConfigOutput) ToInitialStateConfigPtrOutputWithContext(ctx c }).(InitialStateConfigPtrOutput) } +func (o InitialStateConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InitialStateConfig] { + return pulumix.Output[InitialStateConfig]{ + OutputState: o.OutputState, + } +} + // The Key Database (db). func (o InitialStateConfigOutput) Dbs() FileContentBufferArrayOutput { return o.ApplyT(func(v InitialStateConfig) []FileContentBuffer { return v.Dbs }).(FileContentBufferArrayOutput) @@ -20577,6 +23500,12 @@ func (o InitialStateConfigPtrOutput) ToInitialStateConfigPtrOutputWithContext(ct return o } +func (o InitialStateConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InitialStateConfig] { + return pulumix.Output[*InitialStateConfig]{ + OutputState: o.OutputState, + } +} + func (o InitialStateConfigPtrOutput) Elem() InitialStateConfigOutput { return o.ApplyT(func(v *InitialStateConfig) InitialStateConfig { if v != nil { @@ -20654,6 +23583,12 @@ func (o InitialStateConfigResponseOutput) ToInitialStateConfigResponseOutputWith return o } +func (o InitialStateConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InitialStateConfigResponse] { + return pulumix.Output[InitialStateConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Key Database (db). func (o InitialStateConfigResponseOutput) Dbs() FileContentBufferResponseArrayOutput { return o.ApplyT(func(v InitialStateConfigResponse) []FileContentBufferResponse { return v.Dbs }).(FileContentBufferResponseArrayOutput) @@ -20717,6 +23652,12 @@ func (o InstanceGroupManagerActionsSummaryResponseOutput) ToInstanceGroupManager return o } +func (o InstanceGroupManagerActionsSummaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerActionsSummaryResponse] { + return pulumix.Output[InstanceGroupManagerActionsSummaryResponse]{ + OutputState: o.OutputState, + } +} + // The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it. func (o InstanceGroupManagerActionsSummaryResponseOutput) Abandoning() pulumi.IntOutput { return o.ApplyT(func(v InstanceGroupManagerActionsSummaryResponse) int { return v.Abandoning }).(pulumi.IntOutput) @@ -20815,6 +23756,12 @@ func (i InstanceGroupManagerAllInstancesConfigArgs) ToInstanceGroupManagerAllIns return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAllInstancesConfigOutput) } +func (i InstanceGroupManagerAllInstancesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAllInstancesConfig] { + return pulumix.Output[InstanceGroupManagerAllInstancesConfig]{ + OutputState: i.ToInstanceGroupManagerAllInstancesConfigOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerAllInstancesConfigArgs) ToInstanceGroupManagerAllInstancesConfigPtrOutput() InstanceGroupManagerAllInstancesConfigPtrOutput { return i.ToInstanceGroupManagerAllInstancesConfigPtrOutputWithContext(context.Background()) } @@ -20856,6 +23803,12 @@ func (i *instanceGroupManagerAllInstancesConfigPtrType) ToInstanceGroupManagerAl return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAllInstancesConfigPtrOutput) } +func (i *instanceGroupManagerAllInstancesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerAllInstancesConfig] { + return pulumix.Output[*InstanceGroupManagerAllInstancesConfig]{ + OutputState: i.ToInstanceGroupManagerAllInstancesConfigPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerAllInstancesConfigOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerAllInstancesConfigOutput) ElementType() reflect.Type { @@ -20880,6 +23833,12 @@ func (o InstanceGroupManagerAllInstancesConfigOutput) ToInstanceGroupManagerAllI }).(InstanceGroupManagerAllInstancesConfigPtrOutput) } +func (o InstanceGroupManagerAllInstancesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAllInstancesConfig] { + return pulumix.Output[InstanceGroupManagerAllInstancesConfig]{ + OutputState: o.OutputState, + } +} + // Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method. func (o InstanceGroupManagerAllInstancesConfigOutput) Properties() InstancePropertiesPatchPtrOutput { return o.ApplyT(func(v InstanceGroupManagerAllInstancesConfig) *InstancePropertiesPatch { return v.Properties }).(InstancePropertiesPatchPtrOutput) @@ -20899,6 +23858,12 @@ func (o InstanceGroupManagerAllInstancesConfigPtrOutput) ToInstanceGroupManagerA return o } +func (o InstanceGroupManagerAllInstancesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerAllInstancesConfig] { + return pulumix.Output[*InstanceGroupManagerAllInstancesConfig]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAllInstancesConfigPtrOutput) Elem() InstanceGroupManagerAllInstancesConfigOutput { return o.ApplyT(func(v *InstanceGroupManagerAllInstancesConfig) InstanceGroupManagerAllInstancesConfig { if v != nil { @@ -20938,6 +23903,12 @@ func (o InstanceGroupManagerAllInstancesConfigResponseOutput) ToInstanceGroupMan return o } +func (o InstanceGroupManagerAllInstancesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAllInstancesConfigResponse] { + return pulumix.Output[InstanceGroupManagerAllInstancesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method. func (o InstanceGroupManagerAllInstancesConfigResponseOutput) Properties() InstancePropertiesPatchResponseOutput { return o.ApplyT(func(v InstanceGroupManagerAllInstancesConfigResponse) InstancePropertiesPatchResponse { @@ -20982,6 +23953,12 @@ func (i InstanceGroupManagerAutoHealingPolicyArgs) ToInstanceGroupManagerAutoHea return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAutoHealingPolicyOutput) } +func (i InstanceGroupManagerAutoHealingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicy]{ + OutputState: i.ToInstanceGroupManagerAutoHealingPolicyOutputWithContext(ctx).OutputState, + } +} + // InstanceGroupManagerAutoHealingPolicyArrayInput is an input type that accepts InstanceGroupManagerAutoHealingPolicyArray and InstanceGroupManagerAutoHealingPolicyArrayOutput values. // You can construct a concrete instance of `InstanceGroupManagerAutoHealingPolicyArrayInput` via: // @@ -21007,6 +23984,12 @@ func (i InstanceGroupManagerAutoHealingPolicyArray) ToInstanceGroupManagerAutoHe return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAutoHealingPolicyArrayOutput) } +func (i InstanceGroupManagerAutoHealingPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy]{ + OutputState: i.ToInstanceGroupManagerAutoHealingPolicyArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerAutoHealingPolicyOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerAutoHealingPolicyOutput) ElementType() reflect.Type { @@ -21021,6 +24004,12 @@ func (o InstanceGroupManagerAutoHealingPolicyOutput) ToInstanceGroupManagerAutoH return o } +func (o InstanceGroupManagerAutoHealingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicy]{ + OutputState: o.OutputState, + } +} + // The URL for the health check that signals autohealing. func (o InstanceGroupManagerAutoHealingPolicyOutput) HealthCheck() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceGroupManagerAutoHealingPolicy) *string { return v.HealthCheck }).(pulumi.StringPtrOutput) @@ -21045,6 +24034,12 @@ func (o InstanceGroupManagerAutoHealingPolicyArrayOutput) ToInstanceGroupManager return o } +func (o InstanceGroupManagerAutoHealingPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAutoHealingPolicyArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerAutoHealingPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerAutoHealingPolicy { return vs[0].([]InstanceGroupManagerAutoHealingPolicy)[vs[1].(int)] @@ -21072,6 +24067,12 @@ func (o InstanceGroupManagerAutoHealingPolicyResponseOutput) ToInstanceGroupMana return o } +func (o InstanceGroupManagerAutoHealingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicyResponse] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The URL for the health check that signals autohealing. func (o InstanceGroupManagerAutoHealingPolicyResponseOutput) HealthCheck() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerAutoHealingPolicyResponse) string { return v.HealthCheck }).(pulumi.StringOutput) @@ -21096,6 +24097,12 @@ func (o InstanceGroupManagerAutoHealingPolicyResponseArrayOutput) ToInstanceGrou return o } +func (o InstanceGroupManagerAutoHealingPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerAutoHealingPolicyResponse] { + return pulumix.Output[[]InstanceGroupManagerAutoHealingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAutoHealingPolicyResponseArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerAutoHealingPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerAutoHealingPolicyResponse { return vs[0].([]InstanceGroupManagerAutoHealingPolicyResponse)[vs[1].(int)] @@ -21135,6 +24142,12 @@ func (i InstanceGroupManagerInstanceLifecyclePolicyArgs) ToInstanceGroupManagerI return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerInstanceLifecyclePolicyOutput) } +func (i InstanceGroupManagerInstanceLifecyclePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicy] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicy]{ + OutputState: i.ToInstanceGroupManagerInstanceLifecyclePolicyOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerInstanceLifecyclePolicyArgs) ToInstanceGroupManagerInstanceLifecyclePolicyPtrOutput() InstanceGroupManagerInstanceLifecyclePolicyPtrOutput { return i.ToInstanceGroupManagerInstanceLifecyclePolicyPtrOutputWithContext(context.Background()) } @@ -21176,6 +24189,12 @@ func (i *instanceGroupManagerInstanceLifecyclePolicyPtrType) ToInstanceGroupMana return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerInstanceLifecyclePolicyPtrOutput) } +func (i *instanceGroupManagerInstanceLifecyclePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicy] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicy]{ + OutputState: i.ToInstanceGroupManagerInstanceLifecyclePolicyPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerInstanceLifecyclePolicyOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerInstanceLifecyclePolicyOutput) ElementType() reflect.Type { @@ -21200,6 +24219,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyOutput) ToInstanceGroupManage }).(InstanceGroupManagerInstanceLifecyclePolicyPtrOutput) } +func (o InstanceGroupManagerInstanceLifecyclePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicy] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicy]{ + OutputState: o.OutputState, + } +} + // A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. func (o InstanceGroupManagerInstanceLifecyclePolicyOutput) ForceUpdateOnRepair() InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairPtrOutput { return o.ApplyT(func(v InstanceGroupManagerInstanceLifecyclePolicy) *InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair { @@ -21221,6 +24246,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyPtrOutput) ToInstanceGroupMan return o } +func (o InstanceGroupManagerInstanceLifecyclePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicy] { + return pulumix.Output[*InstanceGroupManagerInstanceLifecyclePolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerInstanceLifecyclePolicyPtrOutput) Elem() InstanceGroupManagerInstanceLifecyclePolicyOutput { return o.ApplyT(func(v *InstanceGroupManagerInstanceLifecyclePolicy) InstanceGroupManagerInstanceLifecyclePolicy { if v != nil { @@ -21260,6 +24291,12 @@ func (o InstanceGroupManagerInstanceLifecyclePolicyResponseOutput) ToInstanceGro return o } +func (o InstanceGroupManagerInstanceLifecyclePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyResponse] { + return pulumix.Output[InstanceGroupManagerInstanceLifecyclePolicyResponse]{ + OutputState: o.OutputState, + } +} + // A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. func (o InstanceGroupManagerInstanceLifecyclePolicyResponseOutput) ForceUpdateOnRepair() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerInstanceLifecyclePolicyResponse) string { return v.ForceUpdateOnRepair }).(pulumi.StringOutput) @@ -21286,6 +24323,12 @@ func (o InstanceGroupManagerStatusAllInstancesConfigResponseOutput) ToInstanceGr return o } +func (o InstanceGroupManagerStatusAllInstancesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusAllInstancesConfigResponse] { + return pulumix.Output[InstanceGroupManagerStatusAllInstancesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Current all-instances configuration revision. This value is in RFC3339 text format. func (o InstanceGroupManagerStatusAllInstancesConfigResponseOutput) CurrentRevision() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerStatusAllInstancesConfigResponse) string { return v.CurrentRevision }).(pulumi.StringOutput) @@ -21323,6 +24366,12 @@ func (o InstanceGroupManagerStatusResponseOutput) ToInstanceGroupManagerStatusRe return o } +func (o InstanceGroupManagerStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusResponse] { + return pulumix.Output[InstanceGroupManagerStatusResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Status of all-instances configuration on the group. func (o InstanceGroupManagerStatusResponseOutput) AllInstancesConfig() InstanceGroupManagerStatusAllInstancesConfigResponseOutput { return o.ApplyT(func(v InstanceGroupManagerStatusResponse) InstanceGroupManagerStatusAllInstancesConfigResponse { @@ -21373,6 +24422,12 @@ func (o InstanceGroupManagerStatusStatefulPerInstanceConfigsResponseOutput) ToIn return o } +func (o InstanceGroupManagerStatusStatefulPerInstanceConfigsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse] { + return pulumix.Output[InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse]{ + OutputState: o.OutputState, + } +} + // A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs. func (o InstanceGroupManagerStatusStatefulPerInstanceConfigsResponseOutput) AllEffective() pulumi.BoolOutput { return o.ApplyT(func(v InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse) bool { return v.AllEffective }).(pulumi.BoolOutput) @@ -21403,6 +24458,12 @@ func (o InstanceGroupManagerStatusStatefulResponseOutput) ToInstanceGroupManager return o } +func (o InstanceGroupManagerStatusStatefulResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusStatefulResponse] { + return pulumix.Output[InstanceGroupManagerStatusStatefulResponse]{ + OutputState: o.OutputState, + } +} + // A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. func (o InstanceGroupManagerStatusStatefulResponseOutput) HasStatefulConfig() pulumi.BoolOutput { return o.ApplyT(func(v InstanceGroupManagerStatusStatefulResponse) bool { return v.HasStatefulConfig }).(pulumi.BoolOutput) @@ -21441,6 +24502,12 @@ func (o InstanceGroupManagerStatusVersionTargetResponseOutput) ToInstanceGroupMa return o } +func (o InstanceGroupManagerStatusVersionTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusVersionTargetResponse] { + return pulumix.Output[InstanceGroupManagerStatusVersionTargetResponse]{ + OutputState: o.OutputState, + } +} + // A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager. func (o InstanceGroupManagerStatusVersionTargetResponseOutput) IsReached() pulumi.BoolOutput { return o.ApplyT(func(v InstanceGroupManagerStatusVersionTargetResponse) bool { return v.IsReached }).(pulumi.BoolOutput) @@ -21507,6 +24574,12 @@ func (i InstanceGroupManagerUpdatePolicyArgs) ToInstanceGroupManagerUpdatePolicy return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerUpdatePolicyOutput) } +func (i InstanceGroupManagerUpdatePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[InstanceGroupManagerUpdatePolicy]{ + OutputState: i.ToInstanceGroupManagerUpdatePolicyOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerUpdatePolicyArgs) ToInstanceGroupManagerUpdatePolicyPtrOutput() InstanceGroupManagerUpdatePolicyPtrOutput { return i.ToInstanceGroupManagerUpdatePolicyPtrOutputWithContext(context.Background()) } @@ -21548,6 +24621,12 @@ func (i *instanceGroupManagerUpdatePolicyPtrType) ToInstanceGroupManagerUpdatePo return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerUpdatePolicyPtrOutput) } +func (i *instanceGroupManagerUpdatePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicy]{ + OutputState: i.ToInstanceGroupManagerUpdatePolicyPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerUpdatePolicyOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerUpdatePolicyOutput) ElementType() reflect.Type { @@ -21572,6 +24651,12 @@ func (o InstanceGroupManagerUpdatePolicyOutput) ToInstanceGroupManagerUpdatePoli }).(InstanceGroupManagerUpdatePolicyPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[InstanceGroupManagerUpdatePolicy]{ + OutputState: o.OutputState, + } +} + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. func (o InstanceGroupManagerUpdatePolicyOutput) InstanceRedistributionType() InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput { return o.ApplyT(func(v InstanceGroupManagerUpdatePolicy) *InstanceGroupManagerUpdatePolicyInstanceRedistributionType { @@ -21634,6 +24719,12 @@ func (o InstanceGroupManagerUpdatePolicyPtrOutput) ToInstanceGroupManagerUpdateP return o } +func (o InstanceGroupManagerUpdatePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyPtrOutput) Elem() InstanceGroupManagerUpdatePolicyOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicy) InstanceGroupManagerUpdatePolicy { if v != nil { @@ -21757,6 +24848,12 @@ func (o InstanceGroupManagerUpdatePolicyResponseOutput) ToInstanceGroupManagerUp return o } +func (o InstanceGroupManagerUpdatePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyResponse] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. func (o InstanceGroupManagerUpdatePolicyResponseOutput) InstanceRedistributionType() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerUpdatePolicyResponse) string { return v.InstanceRedistributionType }).(pulumi.StringOutput) @@ -21838,6 +24935,12 @@ func (i InstanceGroupManagerVersionArgs) ToInstanceGroupManagerVersionOutputWith return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerVersionOutput) } +func (i InstanceGroupManagerVersionArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerVersion] { + return pulumix.Output[InstanceGroupManagerVersion]{ + OutputState: i.ToInstanceGroupManagerVersionOutputWithContext(ctx).OutputState, + } +} + // InstanceGroupManagerVersionArrayInput is an input type that accepts InstanceGroupManagerVersionArray and InstanceGroupManagerVersionArrayOutput values. // You can construct a concrete instance of `InstanceGroupManagerVersionArrayInput` via: // @@ -21863,6 +24966,12 @@ func (i InstanceGroupManagerVersionArray) ToInstanceGroupManagerVersionArrayOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerVersionArrayOutput) } +func (i InstanceGroupManagerVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerVersion] { + return pulumix.Output[[]InstanceGroupManagerVersion]{ + OutputState: i.ToInstanceGroupManagerVersionArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerVersionOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerVersionOutput) ElementType() reflect.Type { @@ -21877,6 +24986,12 @@ func (o InstanceGroupManagerVersionOutput) ToInstanceGroupManagerVersionOutputWi return o } +func (o InstanceGroupManagerVersionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerVersion] { + return pulumix.Output[InstanceGroupManagerVersion]{ + OutputState: o.OutputState, + } +} + // The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the `targetSize` for this version is reached. func (o InstanceGroupManagerVersionOutput) InstanceTemplate() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceGroupManagerVersion) *string { return v.InstanceTemplate }).(pulumi.StringPtrOutput) @@ -21906,6 +25021,12 @@ func (o InstanceGroupManagerVersionArrayOutput) ToInstanceGroupManagerVersionArr return o } +func (o InstanceGroupManagerVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerVersion] { + return pulumix.Output[[]InstanceGroupManagerVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerVersionArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerVersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerVersion { return vs[0].([]InstanceGroupManagerVersion)[vs[1].(int)] @@ -21935,6 +25056,12 @@ func (o InstanceGroupManagerVersionResponseOutput) ToInstanceGroupManagerVersion return o } +func (o InstanceGroupManagerVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerVersionResponse] { + return pulumix.Output[InstanceGroupManagerVersionResponse]{ + OutputState: o.OutputState, + } +} + // The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the `targetSize` for this version is reached. func (o InstanceGroupManagerVersionResponseOutput) InstanceTemplate() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerVersionResponse) string { return v.InstanceTemplate }).(pulumi.StringOutput) @@ -21964,6 +25091,12 @@ func (o InstanceGroupManagerVersionResponseArrayOutput) ToInstanceGroupManagerVe return o } +func (o InstanceGroupManagerVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerVersionResponse] { + return pulumix.Output[[]InstanceGroupManagerVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerVersionResponseArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerVersionResponse { return vs[0].([]InstanceGroupManagerVersionResponse)[vs[1].(int)] @@ -22005,6 +25138,12 @@ func (i InstanceParamsArgs) ToInstanceParamsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(InstanceParamsOutput) } +func (i InstanceParamsArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceParams] { + return pulumix.Output[InstanceParams]{ + OutputState: i.ToInstanceParamsOutputWithContext(ctx).OutputState, + } +} + func (i InstanceParamsArgs) ToInstanceParamsPtrOutput() InstanceParamsPtrOutput { return i.ToInstanceParamsPtrOutputWithContext(context.Background()) } @@ -22046,6 +25185,12 @@ func (i *instanceParamsPtrType) ToInstanceParamsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(InstanceParamsPtrOutput) } +func (i *instanceParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceParams] { + return pulumix.Output[*InstanceParams]{ + OutputState: i.ToInstanceParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Additional instance params. type InstanceParamsOutput struct{ *pulumi.OutputState } @@ -22071,6 +25216,12 @@ func (o InstanceParamsOutput) ToInstanceParamsPtrOutputWithContext(ctx context.C }).(InstanceParamsPtrOutput) } +func (o InstanceParamsOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceParams] { + return pulumix.Output[InstanceParams]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o InstanceParamsOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v InstanceParams) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -22090,6 +25241,12 @@ func (o InstanceParamsPtrOutput) ToInstanceParamsPtrOutputWithContext(ctx contex return o } +func (o InstanceParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceParams] { + return pulumix.Output[*InstanceParams]{ + OutputState: o.OutputState, + } +} + func (o InstanceParamsPtrOutput) Elem() InstanceParamsOutput { return o.ApplyT(func(v *InstanceParams) InstanceParams { if v != nil { @@ -22131,6 +25288,12 @@ func (o InstanceParamsResponseOutput) ToInstanceParamsResponseOutputWithContext( return o } +func (o InstanceParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceParamsResponse] { + return pulumix.Output[InstanceParamsResponse]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o InstanceParamsResponseOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v InstanceParamsResponse) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -22261,6 +25424,12 @@ func (i InstancePropertiesArgs) ToInstancePropertiesOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InstancePropertiesOutput) } +func (i InstancePropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceProperties] { + return pulumix.Output[InstanceProperties]{ + OutputState: i.ToInstancePropertiesOutputWithContext(ctx).OutputState, + } +} + func (i InstancePropertiesArgs) ToInstancePropertiesPtrOutput() InstancePropertiesPtrOutput { return i.ToInstancePropertiesPtrOutputWithContext(context.Background()) } @@ -22302,6 +25471,12 @@ func (i *instancePropertiesPtrType) ToInstancePropertiesPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InstancePropertiesPtrOutput) } +func (i *instancePropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceProperties] { + return pulumix.Output[*InstanceProperties]{ + OutputState: i.ToInstancePropertiesPtrOutputWithContext(ctx).OutputState, + } +} + type InstancePropertiesOutput struct{ *pulumi.OutputState } func (InstancePropertiesOutput) ElementType() reflect.Type { @@ -22326,6 +25501,12 @@ func (o InstancePropertiesOutput) ToInstancePropertiesPtrOutputWithContext(ctx c }).(InstancePropertiesPtrOutput) } +func (o InstancePropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceProperties] { + return pulumix.Output[InstanceProperties]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet. func (o InstancePropertiesOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesPtrOutput { return o.ApplyT(func(v InstanceProperties) *AdvancedMachineFeatures { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesPtrOutput) @@ -22466,6 +25647,12 @@ func (o InstancePropertiesPtrOutput) ToInstancePropertiesPtrOutputWithContext(ct return o } +func (o InstancePropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceProperties] { + return pulumix.Output[*InstanceProperties]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPtrOutput) Elem() InstancePropertiesOutput { return o.ApplyT(func(v *InstanceProperties) InstanceProperties { if v != nil { @@ -22755,6 +25942,12 @@ func (i InstancePropertiesPatchArgs) ToInstancePropertiesPatchOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(InstancePropertiesPatchOutput) } +func (i InstancePropertiesPatchArgs) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPatch] { + return pulumix.Output[InstancePropertiesPatch]{ + OutputState: i.ToInstancePropertiesPatchOutputWithContext(ctx).OutputState, + } +} + func (i InstancePropertiesPatchArgs) ToInstancePropertiesPatchPtrOutput() InstancePropertiesPatchPtrOutput { return i.ToInstancePropertiesPatchPtrOutputWithContext(context.Background()) } @@ -22796,6 +25989,12 @@ func (i *instancePropertiesPatchPtrType) ToInstancePropertiesPatchPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(InstancePropertiesPatchPtrOutput) } +func (i *instancePropertiesPatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPatch] { + return pulumix.Output[*InstancePropertiesPatch]{ + OutputState: i.ToInstancePropertiesPatchPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the change that you want to make to the instance properties. type InstancePropertiesPatchOutput struct{ *pulumi.OutputState } @@ -22821,6 +26020,12 @@ func (o InstancePropertiesPatchOutput) ToInstancePropertiesPatchPtrOutputWithCon }).(InstancePropertiesPatchPtrOutput) } +func (o InstancePropertiesPatchOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPatch] { + return pulumix.Output[InstancePropertiesPatch]{ + OutputState: o.OutputState, + } +} + // The label key-value pairs that you want to patch onto the instance. func (o InstancePropertiesPatchOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v InstancePropertiesPatch) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -22845,6 +26050,12 @@ func (o InstancePropertiesPatchPtrOutput) ToInstancePropertiesPatchPtrOutputWith return o } +func (o InstancePropertiesPatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPatch] { + return pulumix.Output[*InstancePropertiesPatch]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPatchPtrOutput) Elem() InstancePropertiesPatchOutput { return o.ApplyT(func(v *InstancePropertiesPatch) InstancePropertiesPatch { if v != nil { @@ -22898,6 +26109,12 @@ func (o InstancePropertiesPatchResponseOutput) ToInstancePropertiesPatchResponse return o } +func (o InstancePropertiesPatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPatchResponse] { + return pulumix.Output[InstancePropertiesPatchResponse]{ + OutputState: o.OutputState, + } +} + // The label key-value pairs that you want to patch onto the instance. func (o InstancePropertiesPatchResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v InstancePropertiesPatchResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -22973,6 +26190,12 @@ func (o InstancePropertiesResponseOutput) ToInstancePropertiesResponseOutputWith return o } +func (o InstancePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesResponse] { + return pulumix.Output[InstancePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet. func (o InstancePropertiesResponseOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesResponseOutput { return o.ApplyT(func(v InstancePropertiesResponse) AdvancedMachineFeaturesResponse { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesResponseOutput) @@ -23114,6 +26337,12 @@ func (o InstantSnapshotResourceStatusResponseOutput) ToInstantSnapshotResourceSt return o } +func (o InstantSnapshotResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstantSnapshotResourceStatusResponse] { + return pulumix.Output[InstantSnapshotResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // The storage size of this instant snapshot. func (o InstantSnapshotResourceStatusResponseOutput) StorageSizeBytes() pulumi.StringOutput { return o.ApplyT(func(v InstantSnapshotResourceStatusResponse) string { return v.StorageSizeBytes }).(pulumi.StringOutput) @@ -23158,6 +26387,12 @@ func (i Int64RangeMatchArgs) ToInt64RangeMatchOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(Int64RangeMatchOutput) } +func (i Int64RangeMatchArgs) ToOutput(ctx context.Context) pulumix.Output[Int64RangeMatch] { + return pulumix.Output[Int64RangeMatch]{ + OutputState: i.ToInt64RangeMatchOutputWithContext(ctx).OutputState, + } +} + func (i Int64RangeMatchArgs) ToInt64RangeMatchPtrOutput() Int64RangeMatchPtrOutput { return i.ToInt64RangeMatchPtrOutputWithContext(context.Background()) } @@ -23199,6 +26434,12 @@ func (i *int64RangeMatchPtrType) ToInt64RangeMatchPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(Int64RangeMatchPtrOutput) } +func (i *int64RangeMatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*Int64RangeMatch] { + return pulumix.Output[*Int64RangeMatch]{ + OutputState: i.ToInt64RangeMatchPtrOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatch criteria for field values that must stay within the specified integer range. type Int64RangeMatchOutput struct{ *pulumi.OutputState } @@ -23224,6 +26465,12 @@ func (o Int64RangeMatchOutput) ToInt64RangeMatchPtrOutputWithContext(ctx context }).(Int64RangeMatchPtrOutput) } +func (o Int64RangeMatchOutput) ToOutput(ctx context.Context) pulumix.Output[Int64RangeMatch] { + return pulumix.Output[Int64RangeMatch]{ + OutputState: o.OutputState, + } +} + // The end of the range (exclusive) in signed long integer format. func (o Int64RangeMatchOutput) RangeEnd() pulumi.StringPtrOutput { return o.ApplyT(func(v Int64RangeMatch) *string { return v.RangeEnd }).(pulumi.StringPtrOutput) @@ -23248,6 +26495,12 @@ func (o Int64RangeMatchPtrOutput) ToInt64RangeMatchPtrOutputWithContext(ctx cont return o } +func (o Int64RangeMatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Int64RangeMatch] { + return pulumix.Output[*Int64RangeMatch]{ + OutputState: o.OutputState, + } +} + func (o Int64RangeMatchPtrOutput) Elem() Int64RangeMatchOutput { return o.ApplyT(func(v *Int64RangeMatch) Int64RangeMatch { if v != nil { @@ -23301,6 +26554,12 @@ func (o Int64RangeMatchResponseOutput) ToInt64RangeMatchResponseOutputWithContex return o } +func (o Int64RangeMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Int64RangeMatchResponse] { + return pulumix.Output[Int64RangeMatchResponse]{ + OutputState: o.OutputState, + } +} + // The end of the range (exclusive) in signed long integer format. func (o Int64RangeMatchResponseOutput) RangeEnd() pulumi.StringOutput { return o.ApplyT(func(v Int64RangeMatchResponse) string { return v.RangeEnd }).(pulumi.StringOutput) @@ -23330,6 +26589,12 @@ func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOut return o } +func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse] { + return pulumix.Output[InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOutput) Max() pulumi.IntOutput { return o.ApplyT(func(v InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse) int { return v.Max }).(pulumi.IntOutput) } @@ -23352,6 +26617,12 @@ func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseArr return o } +func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse] { + return pulumix.Output[[]InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseArrayOutput) Index(i pulumi.IntInput) InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse { return vs[0].([]InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse)[vs[1].(int)] @@ -23379,6 +26650,12 @@ func (o InterconnectAttachmentConfigurationConstraintsResponseOutput) ToIntercon return o } +func (o InterconnectAttachmentConfigurationConstraintsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentConfigurationConstraintsResponse] { + return pulumix.Output[InterconnectAttachmentConfigurationConstraintsResponse]{ + OutputState: o.OutputState, + } +} + // Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. func (o InterconnectAttachmentConfigurationConstraintsResponseOutput) BgpMd5() pulumi.StringOutput { return o.ApplyT(func(v InterconnectAttachmentConfigurationConstraintsResponse) string { return v.BgpMd5 }).(pulumi.StringOutput) @@ -23434,6 +26711,12 @@ func (i InterconnectAttachmentPartnerMetadataArgs) ToInterconnectAttachmentPartn return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentPartnerMetadataOutput) } +func (i InterconnectAttachmentPartnerMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[InterconnectAttachmentPartnerMetadata]{ + OutputState: i.ToInterconnectAttachmentPartnerMetadataOutputWithContext(ctx).OutputState, + } +} + func (i InterconnectAttachmentPartnerMetadataArgs) ToInterconnectAttachmentPartnerMetadataPtrOutput() InterconnectAttachmentPartnerMetadataPtrOutput { return i.ToInterconnectAttachmentPartnerMetadataPtrOutputWithContext(context.Background()) } @@ -23475,6 +26758,12 @@ func (i *interconnectAttachmentPartnerMetadataPtrType) ToInterconnectAttachmentP return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentPartnerMetadataPtrOutput) } +func (i *interconnectAttachmentPartnerMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[*InterconnectAttachmentPartnerMetadata]{ + OutputState: i.ToInterconnectAttachmentPartnerMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments. type InterconnectAttachmentPartnerMetadataOutput struct{ *pulumi.OutputState } @@ -23500,6 +26789,12 @@ func (o InterconnectAttachmentPartnerMetadataOutput) ToInterconnectAttachmentPar }).(InterconnectAttachmentPartnerMetadataPtrOutput) } +func (o InterconnectAttachmentPartnerMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[InterconnectAttachmentPartnerMetadata]{ + OutputState: o.OutputState, + } +} + // Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values. func (o InterconnectAttachmentPartnerMetadataOutput) InterconnectName() pulumi.StringPtrOutput { return o.ApplyT(func(v InterconnectAttachmentPartnerMetadata) *string { return v.InterconnectName }).(pulumi.StringPtrOutput) @@ -23529,6 +26824,12 @@ func (o InterconnectAttachmentPartnerMetadataPtrOutput) ToInterconnectAttachment return o } +func (o InterconnectAttachmentPartnerMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[*InterconnectAttachmentPartnerMetadata]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentPartnerMetadataPtrOutput) Elem() InterconnectAttachmentPartnerMetadataOutput { return o.ApplyT(func(v *InterconnectAttachmentPartnerMetadata) InterconnectAttachmentPartnerMetadata { if v != nil { @@ -23594,6 +26895,12 @@ func (o InterconnectAttachmentPartnerMetadataResponseOutput) ToInterconnectAttac return o } +func (o InterconnectAttachmentPartnerMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPartnerMetadataResponse] { + return pulumix.Output[InterconnectAttachmentPartnerMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values. func (o InterconnectAttachmentPartnerMetadataResponseOutput) InterconnectName() pulumi.StringOutput { return o.ApplyT(func(v InterconnectAttachmentPartnerMetadataResponse) string { return v.InterconnectName }).(pulumi.StringOutput) @@ -23630,6 +26937,12 @@ func (o InterconnectAttachmentPrivateInfoResponseOutput) ToInterconnectAttachmen return o } +func (o InterconnectAttachmentPrivateInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPrivateInfoResponse] { + return pulumix.Output[InterconnectAttachmentPrivateInfoResponse]{ + OutputState: o.OutputState, + } +} + // 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region. func (o InterconnectAttachmentPrivateInfoResponseOutput) Tag8021q() pulumi.IntOutput { return o.ApplyT(func(v InterconnectAttachmentPrivateInfoResponse) int { return v.Tag8021q }).(pulumi.IntOutput) @@ -23660,6 +26973,12 @@ func (o InterconnectCircuitInfoResponseOutput) ToInterconnectCircuitInfoResponse return o } +func (o InterconnectCircuitInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectCircuitInfoResponse] { + return pulumix.Output[InterconnectCircuitInfoResponse]{ + OutputState: o.OutputState, + } +} + // Customer-side demarc ID for this circuit. func (o InterconnectCircuitInfoResponseOutput) CustomerDemarcId() pulumi.StringOutput { return o.ApplyT(func(v InterconnectCircuitInfoResponse) string { return v.CustomerDemarcId }).(pulumi.StringOutput) @@ -23689,6 +27008,12 @@ func (o InterconnectCircuitInfoResponseArrayOutput) ToInterconnectCircuitInfoRes return o } +func (o InterconnectCircuitInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectCircuitInfoResponse] { + return pulumix.Output[[]InterconnectCircuitInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectCircuitInfoResponseArrayOutput) Index(i pulumi.IntInput) InterconnectCircuitInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectCircuitInfoResponse { return vs[0].([]InterconnectCircuitInfoResponse)[vs[1].(int)] @@ -23730,6 +27055,12 @@ func (o InterconnectOutageNotificationResponseOutput) ToInterconnectOutageNotifi return o } +func (o InterconnectOutageNotificationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectOutageNotificationResponse] { + return pulumix.Output[InterconnectOutageNotificationResponse]{ + OutputState: o.OutputState, + } +} + // If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected. func (o InterconnectOutageNotificationResponseOutput) AffectedCircuits() pulumi.StringArrayOutput { return o.ApplyT(func(v InterconnectOutageNotificationResponse) []string { return v.AffectedCircuits }).(pulumi.StringArrayOutput) @@ -23784,6 +27115,12 @@ func (o InterconnectOutageNotificationResponseArrayOutput) ToInterconnectOutageN return o } +func (o InterconnectOutageNotificationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectOutageNotificationResponse] { + return pulumix.Output[[]InterconnectOutageNotificationResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectOutageNotificationResponseArrayOutput) Index(i pulumi.IntInput) InterconnectOutageNotificationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectOutageNotificationResponse { return vs[0].([]InterconnectOutageNotificationResponse)[vs[1].(int)] @@ -23833,6 +27170,12 @@ func (i LicenseResourceCommitmentArgs) ToLicenseResourceCommitmentOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceCommitmentOutput) } +func (i LicenseResourceCommitmentArgs) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceCommitment] { + return pulumix.Output[LicenseResourceCommitment]{ + OutputState: i.ToLicenseResourceCommitmentOutputWithContext(ctx).OutputState, + } +} + func (i LicenseResourceCommitmentArgs) ToLicenseResourceCommitmentPtrOutput() LicenseResourceCommitmentPtrOutput { return i.ToLicenseResourceCommitmentPtrOutputWithContext(context.Background()) } @@ -23874,6 +27217,12 @@ func (i *licenseResourceCommitmentPtrType) ToLicenseResourceCommitmentPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceCommitmentPtrOutput) } +func (i *licenseResourceCommitmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceCommitment] { + return pulumix.Output[*LicenseResourceCommitment]{ + OutputState: i.ToLicenseResourceCommitmentPtrOutputWithContext(ctx).OutputState, + } +} + // Commitment for a particular license resource. type LicenseResourceCommitmentOutput struct{ *pulumi.OutputState } @@ -23899,6 +27248,12 @@ func (o LicenseResourceCommitmentOutput) ToLicenseResourceCommitmentPtrOutputWit }).(LicenseResourceCommitmentPtrOutput) } +func (o LicenseResourceCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceCommitment] { + return pulumix.Output[LicenseResourceCommitment]{ + OutputState: o.OutputState, + } +} + // The number of licenses purchased. func (o LicenseResourceCommitmentOutput) Amount() pulumi.StringPtrOutput { return o.ApplyT(func(v LicenseResourceCommitment) *string { return v.Amount }).(pulumi.StringPtrOutput) @@ -23928,6 +27283,12 @@ func (o LicenseResourceCommitmentPtrOutput) ToLicenseResourceCommitmentPtrOutput return o } +func (o LicenseResourceCommitmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceCommitment] { + return pulumix.Output[*LicenseResourceCommitment]{ + OutputState: o.OutputState, + } +} + func (o LicenseResourceCommitmentPtrOutput) Elem() LicenseResourceCommitmentOutput { return o.ApplyT(func(v *LicenseResourceCommitment) LicenseResourceCommitment { if v != nil { @@ -23993,6 +27354,12 @@ func (o LicenseResourceCommitmentResponseOutput) ToLicenseResourceCommitmentResp return o } +func (o LicenseResourceCommitmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceCommitmentResponse] { + return pulumix.Output[LicenseResourceCommitmentResponse]{ + OutputState: o.OutputState, + } +} + // The number of licenses purchased. func (o LicenseResourceCommitmentResponseOutput) Amount() pulumi.StringOutput { return o.ApplyT(func(v LicenseResourceCommitmentResponse) string { return v.Amount }).(pulumi.StringOutput) @@ -24045,6 +27412,12 @@ func (i LicenseResourceRequirementsArgs) ToLicenseResourceRequirementsOutputWith return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceRequirementsOutput) } +func (i LicenseResourceRequirementsArgs) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceRequirements] { + return pulumix.Output[LicenseResourceRequirements]{ + OutputState: i.ToLicenseResourceRequirementsOutputWithContext(ctx).OutputState, + } +} + func (i LicenseResourceRequirementsArgs) ToLicenseResourceRequirementsPtrOutput() LicenseResourceRequirementsPtrOutput { return i.ToLicenseResourceRequirementsPtrOutputWithContext(context.Background()) } @@ -24086,6 +27459,12 @@ func (i *licenseResourceRequirementsPtrType) ToLicenseResourceRequirementsPtrOut return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceRequirementsPtrOutput) } +func (i *licenseResourceRequirementsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceRequirements] { + return pulumix.Output[*LicenseResourceRequirements]{ + OutputState: i.ToLicenseResourceRequirementsPtrOutputWithContext(ctx).OutputState, + } +} + type LicenseResourceRequirementsOutput struct{ *pulumi.OutputState } func (LicenseResourceRequirementsOutput) ElementType() reflect.Type { @@ -24110,6 +27489,12 @@ func (o LicenseResourceRequirementsOutput) ToLicenseResourceRequirementsPtrOutpu }).(LicenseResourceRequirementsPtrOutput) } +func (o LicenseResourceRequirementsOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceRequirements] { + return pulumix.Output[LicenseResourceRequirements]{ + OutputState: o.OutputState, + } +} + // Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. func (o LicenseResourceRequirementsOutput) MinGuestCpuCount() pulumi.IntPtrOutput { return o.ApplyT(func(v LicenseResourceRequirements) *int { return v.MinGuestCpuCount }).(pulumi.IntPtrOutput) @@ -24134,6 +27519,12 @@ func (o LicenseResourceRequirementsPtrOutput) ToLicenseResourceRequirementsPtrOu return o } +func (o LicenseResourceRequirementsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceRequirements] { + return pulumix.Output[*LicenseResourceRequirements]{ + OutputState: o.OutputState, + } +} + func (o LicenseResourceRequirementsPtrOutput) Elem() LicenseResourceRequirementsOutput { return o.ApplyT(func(v *LicenseResourceRequirements) LicenseResourceRequirements { if v != nil { @@ -24185,6 +27576,12 @@ func (o LicenseResourceRequirementsResponseOutput) ToLicenseResourceRequirements return o } +func (o LicenseResourceRequirementsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceRequirementsResponse] { + return pulumix.Output[LicenseResourceRequirementsResponse]{ + OutputState: o.OutputState, + } +} + // Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. func (o LicenseResourceRequirementsResponseOutput) MinGuestCpuCount() pulumi.IntOutput { return o.ApplyT(func(v LicenseResourceRequirementsResponse) int { return v.MinGuestCpuCount }).(pulumi.IntOutput) @@ -24236,6 +27633,12 @@ func (i LocalDiskArgs) ToLocalDiskOutputWithContext(ctx context.Context) LocalDi return pulumi.ToOutputWithContext(ctx, i).(LocalDiskOutput) } +func (i LocalDiskArgs) ToOutput(ctx context.Context) pulumix.Output[LocalDisk] { + return pulumix.Output[LocalDisk]{ + OutputState: i.ToLocalDiskOutputWithContext(ctx).OutputState, + } +} + // LocalDiskArrayInput is an input type that accepts LocalDiskArray and LocalDiskArrayOutput values. // You can construct a concrete instance of `LocalDiskArrayInput` via: // @@ -24261,6 +27664,12 @@ func (i LocalDiskArray) ToLocalDiskArrayOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LocalDiskArrayOutput) } +func (i LocalDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]LocalDisk] { + return pulumix.Output[[]LocalDisk]{ + OutputState: i.ToLocalDiskArrayOutputWithContext(ctx).OutputState, + } +} + type LocalDiskOutput struct{ *pulumi.OutputState } func (LocalDiskOutput) ElementType() reflect.Type { @@ -24275,6 +27684,12 @@ func (o LocalDiskOutput) ToLocalDiskOutputWithContext(ctx context.Context) Local return o } +func (o LocalDiskOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDisk] { + return pulumix.Output[LocalDisk]{ + OutputState: o.OutputState, + } +} + // Specifies the number of such disks. func (o LocalDiskOutput) DiskCount() pulumi.IntPtrOutput { return o.ApplyT(func(v LocalDisk) *int { return v.DiskCount }).(pulumi.IntPtrOutput) @@ -24304,6 +27719,12 @@ func (o LocalDiskArrayOutput) ToLocalDiskArrayOutputWithContext(ctx context.Cont return o } +func (o LocalDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocalDisk] { + return pulumix.Output[[]LocalDisk]{ + OutputState: o.OutputState, + } +} + func (o LocalDiskArrayOutput) Index(i pulumi.IntInput) LocalDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocalDisk { return vs[0].([]LocalDisk)[vs[1].(int)] @@ -24333,6 +27754,12 @@ func (o LocalDiskResponseOutput) ToLocalDiskResponseOutputWithContext(ctx contex return o } +func (o LocalDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDiskResponse] { + return pulumix.Output[LocalDiskResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the number of such disks. func (o LocalDiskResponseOutput) DiskCount() pulumi.IntOutput { return o.ApplyT(func(v LocalDiskResponse) int { return v.DiskCount }).(pulumi.IntOutput) @@ -24362,6 +27789,12 @@ func (o LocalDiskResponseArrayOutput) ToLocalDiskResponseArrayOutputWithContext( return o } +func (o LocalDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocalDiskResponse] { + return pulumix.Output[[]LocalDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o LocalDiskResponseArrayOutput) Index(i pulumi.IntInput) LocalDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocalDiskResponse { return vs[0].([]LocalDiskResponse)[vs[1].(int)] @@ -24411,6 +27844,12 @@ func (i LogConfigArgs) ToLogConfigOutputWithContext(ctx context.Context) LogConf return pulumi.ToOutputWithContext(ctx, i).(LogConfigOutput) } +func (i LogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfig] { + return pulumix.Output[LogConfig]{ + OutputState: i.ToLogConfigOutputWithContext(ctx).OutputState, + } +} + // LogConfigArrayInput is an input type that accepts LogConfigArray and LogConfigArrayOutput values. // You can construct a concrete instance of `LogConfigArrayInput` via: // @@ -24436,6 +27875,12 @@ func (i LogConfigArray) ToLogConfigArrayOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LogConfigArrayOutput) } +func (i LogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]LogConfig] { + return pulumix.Output[[]LogConfig]{ + OutputState: i.ToLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigOutput struct{ *pulumi.OutputState } @@ -24451,6 +27896,12 @@ func (o LogConfigOutput) ToLogConfigOutputWithContext(ctx context.Context) LogCo return o } +func (o LogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfig] { + return pulumix.Output[LogConfig]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigOutput) CloudAudit() LogConfigCloudAuditOptionsPtrOutput { return o.ApplyT(func(v LogConfig) *LogConfigCloudAuditOptions { return v.CloudAudit }).(LogConfigCloudAuditOptionsPtrOutput) @@ -24480,6 +27931,12 @@ func (o LogConfigArrayOutput) ToLogConfigArrayOutputWithContext(ctx context.Cont return o } +func (o LogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfig] { + return pulumix.Output[[]LogConfig]{ + OutputState: o.OutputState, + } +} + func (o LogConfigArrayOutput) Index(i pulumi.IntInput) LogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfig { return vs[0].([]LogConfig)[vs[1].(int)] @@ -24525,6 +27982,12 @@ func (i LogConfigCloudAuditOptionsArgs) ToLogConfigCloudAuditOptionsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(LogConfigCloudAuditOptionsOutput) } +func (i LogConfigCloudAuditOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptions] { + return pulumix.Output[LogConfigCloudAuditOptions]{ + OutputState: i.ToLogConfigCloudAuditOptionsOutputWithContext(ctx).OutputState, + } +} + func (i LogConfigCloudAuditOptionsArgs) ToLogConfigCloudAuditOptionsPtrOutput() LogConfigCloudAuditOptionsPtrOutput { return i.ToLogConfigCloudAuditOptionsPtrOutputWithContext(context.Background()) } @@ -24566,6 +28029,12 @@ func (i *logConfigCloudAuditOptionsPtrType) ToLogConfigCloudAuditOptionsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(LogConfigCloudAuditOptionsPtrOutput) } +func (i *logConfigCloudAuditOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptions] { + return pulumix.Output[*LogConfigCloudAuditOptions]{ + OutputState: i.ToLogConfigCloudAuditOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCloudAuditOptionsOutput struct{ *pulumi.OutputState } @@ -24591,6 +28060,12 @@ func (o LogConfigCloudAuditOptionsOutput) ToLogConfigCloudAuditOptionsPtrOutputW }).(LogConfigCloudAuditOptionsPtrOutput) } +func (o LogConfigCloudAuditOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptions] { + return pulumix.Output[LogConfigCloudAuditOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCloudAuditOptionsOutput) AuthorizationLoggingOptions() AuthorizationLoggingOptionsPtrOutput { return o.ApplyT(func(v LogConfigCloudAuditOptions) *AuthorizationLoggingOptions { return v.AuthorizationLoggingOptions }).(AuthorizationLoggingOptionsPtrOutput) @@ -24615,6 +28090,12 @@ func (o LogConfigCloudAuditOptionsPtrOutput) ToLogConfigCloudAuditOptionsPtrOutp return o } +func (o LogConfigCloudAuditOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptions] { + return pulumix.Output[*LogConfigCloudAuditOptions]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCloudAuditOptionsPtrOutput) Elem() LogConfigCloudAuditOptionsOutput { return o.ApplyT(func(v *LogConfigCloudAuditOptions) LogConfigCloudAuditOptions { if v != nil { @@ -24668,6 +28149,12 @@ func (o LogConfigCloudAuditOptionsResponseOutput) ToLogConfigCloudAuditOptionsRe return o } +func (o LogConfigCloudAuditOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptionsResponse] { + return pulumix.Output[LogConfigCloudAuditOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCloudAuditOptionsResponseOutput) AuthorizationLoggingOptions() AuthorizationLoggingOptionsResponseOutput { return o.ApplyT(func(v LogConfigCloudAuditOptionsResponse) AuthorizationLoggingOptionsResponse { @@ -24723,6 +28210,12 @@ func (i LogConfigCounterOptionsArgs) ToLogConfigCounterOptionsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsOutput) } +func (i LogConfigCounterOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptions] { + return pulumix.Output[LogConfigCounterOptions]{ + OutputState: i.ToLogConfigCounterOptionsOutputWithContext(ctx).OutputState, + } +} + func (i LogConfigCounterOptionsArgs) ToLogConfigCounterOptionsPtrOutput() LogConfigCounterOptionsPtrOutput { return i.ToLogConfigCounterOptionsPtrOutputWithContext(context.Background()) } @@ -24764,6 +28257,12 @@ func (i *logConfigCounterOptionsPtrType) ToLogConfigCounterOptionsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsPtrOutput) } +func (i *logConfigCounterOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCounterOptions] { + return pulumix.Output[*LogConfigCounterOptions]{ + OutputState: i.ToLogConfigCounterOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCounterOptionsOutput struct{ *pulumi.OutputState } @@ -24789,6 +28288,12 @@ func (o LogConfigCounterOptionsOutput) ToLogConfigCounterOptionsPtrOutputWithCon }).(LogConfigCounterOptionsPtrOutput) } +func (o LogConfigCounterOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptions] { + return pulumix.Output[LogConfigCounterOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsOutput) CustomFields() LogConfigCounterOptionsCustomFieldArrayOutput { return o.ApplyT(func(v LogConfigCounterOptions) []LogConfigCounterOptionsCustomField { return v.CustomFields }).(LogConfigCounterOptionsCustomFieldArrayOutput) @@ -24818,6 +28323,12 @@ func (o LogConfigCounterOptionsPtrOutput) ToLogConfigCounterOptionsPtrOutputWith return o } +func (o LogConfigCounterOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCounterOptions] { + return pulumix.Output[*LogConfigCounterOptions]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCounterOptionsPtrOutput) Elem() LogConfigCounterOptionsOutput { return o.ApplyT(func(v *LogConfigCounterOptions) LogConfigCounterOptions { if v != nil { @@ -24897,6 +28408,12 @@ func (i LogConfigCounterOptionsCustomFieldArgs) ToLogConfigCounterOptionsCustomF return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsCustomFieldOutput) } +func (i LogConfigCounterOptionsCustomFieldArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsCustomField] { + return pulumix.Output[LogConfigCounterOptionsCustomField]{ + OutputState: i.ToLogConfigCounterOptionsCustomFieldOutputWithContext(ctx).OutputState, + } +} + // LogConfigCounterOptionsCustomFieldArrayInput is an input type that accepts LogConfigCounterOptionsCustomFieldArray and LogConfigCounterOptionsCustomFieldArrayOutput values. // You can construct a concrete instance of `LogConfigCounterOptionsCustomFieldArrayInput` via: // @@ -24922,6 +28439,12 @@ func (i LogConfigCounterOptionsCustomFieldArray) ToLogConfigCounterOptionsCustom return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsCustomFieldArrayOutput) } +func (i LogConfigCounterOptionsCustomFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigCounterOptionsCustomField] { + return pulumix.Output[[]LogConfigCounterOptionsCustomField]{ + OutputState: i.ToLogConfigCounterOptionsCustomFieldArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCounterOptionsCustomFieldOutput struct{ *pulumi.OutputState } @@ -24937,6 +28460,12 @@ func (o LogConfigCounterOptionsCustomFieldOutput) ToLogConfigCounterOptionsCusto return o } +func (o LogConfigCounterOptionsCustomFieldOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsCustomField] { + return pulumix.Output[LogConfigCounterOptionsCustomField]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsCustomFieldOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v LogConfigCounterOptionsCustomField) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -24961,6 +28490,12 @@ func (o LogConfigCounterOptionsCustomFieldArrayOutput) ToLogConfigCounterOptions return o } +func (o LogConfigCounterOptionsCustomFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigCounterOptionsCustomField] { + return pulumix.Output[[]LogConfigCounterOptionsCustomField]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCounterOptionsCustomFieldArrayOutput) Index(i pulumi.IntInput) LogConfigCounterOptionsCustomFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigCounterOptionsCustomField { return vs[0].([]LogConfigCounterOptionsCustomField)[vs[1].(int)] @@ -24990,6 +28525,12 @@ func (o LogConfigCounterOptionsCustomFieldResponseOutput) ToLogConfigCounterOpti return o } +func (o LogConfigCounterOptionsCustomFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsCustomFieldResponse] { + return pulumix.Output[LogConfigCounterOptionsCustomFieldResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsCustomFieldResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LogConfigCounterOptionsCustomFieldResponse) string { return v.Name }).(pulumi.StringOutput) @@ -25014,6 +28555,12 @@ func (o LogConfigCounterOptionsCustomFieldResponseArrayOutput) ToLogConfigCounte return o } +func (o LogConfigCounterOptionsCustomFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigCounterOptionsCustomFieldResponse] { + return pulumix.Output[[]LogConfigCounterOptionsCustomFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCounterOptionsCustomFieldResponseArrayOutput) Index(i pulumi.IntInput) LogConfigCounterOptionsCustomFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigCounterOptionsCustomFieldResponse { return vs[0].([]LogConfigCounterOptionsCustomFieldResponse)[vs[1].(int)] @@ -25045,6 +28592,12 @@ func (o LogConfigCounterOptionsResponseOutput) ToLogConfigCounterOptionsResponse return o } +func (o LogConfigCounterOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsResponse] { + return pulumix.Output[LogConfigCounterOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsResponseOutput) CustomFields() LogConfigCounterOptionsCustomFieldResponseArrayOutput { return o.ApplyT(func(v LogConfigCounterOptionsResponse) []LogConfigCounterOptionsCustomFieldResponse { @@ -25097,6 +28650,12 @@ func (i LogConfigDataAccessOptionsArgs) ToLogConfigDataAccessOptionsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(LogConfigDataAccessOptionsOutput) } +func (i LogConfigDataAccessOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptions] { + return pulumix.Output[LogConfigDataAccessOptions]{ + OutputState: i.ToLogConfigDataAccessOptionsOutputWithContext(ctx).OutputState, + } +} + func (i LogConfigDataAccessOptionsArgs) ToLogConfigDataAccessOptionsPtrOutput() LogConfigDataAccessOptionsPtrOutput { return i.ToLogConfigDataAccessOptionsPtrOutputWithContext(context.Background()) } @@ -25138,6 +28697,12 @@ func (i *logConfigDataAccessOptionsPtrType) ToLogConfigDataAccessOptionsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(LogConfigDataAccessOptionsPtrOutput) } +func (i *logConfigDataAccessOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptions] { + return pulumix.Output[*LogConfigDataAccessOptions]{ + OutputState: i.ToLogConfigDataAccessOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigDataAccessOptionsOutput struct{ *pulumi.OutputState } @@ -25163,6 +28728,12 @@ func (o LogConfigDataAccessOptionsOutput) ToLogConfigDataAccessOptionsPtrOutputW }).(LogConfigDataAccessOptionsPtrOutput) } +func (o LogConfigDataAccessOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptions] { + return pulumix.Output[LogConfigDataAccessOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigDataAccessOptionsOutput) LogMode() LogConfigDataAccessOptionsLogModePtrOutput { return o.ApplyT(func(v LogConfigDataAccessOptions) *LogConfigDataAccessOptionsLogMode { return v.LogMode }).(LogConfigDataAccessOptionsLogModePtrOutput) @@ -25182,6 +28753,12 @@ func (o LogConfigDataAccessOptionsPtrOutput) ToLogConfigDataAccessOptionsPtrOutp return o } +func (o LogConfigDataAccessOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptions] { + return pulumix.Output[*LogConfigDataAccessOptions]{ + OutputState: o.OutputState, + } +} + func (o LogConfigDataAccessOptionsPtrOutput) Elem() LogConfigDataAccessOptionsOutput { return o.ApplyT(func(v *LogConfigDataAccessOptions) LogConfigDataAccessOptions { if v != nil { @@ -25223,6 +28800,12 @@ func (o LogConfigDataAccessOptionsResponseOutput) ToLogConfigDataAccessOptionsRe return o } +func (o LogConfigDataAccessOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptionsResponse] { + return pulumix.Output[LogConfigDataAccessOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigDataAccessOptionsResponseOutput) LogMode() pulumi.StringOutput { return o.ApplyT(func(v LogConfigDataAccessOptionsResponse) string { return v.LogMode }).(pulumi.StringOutput) @@ -25253,6 +28836,12 @@ func (o LogConfigResponseOutput) ToLogConfigResponseOutputWithContext(ctx contex return o } +func (o LogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigResponse] { + return pulumix.Output[LogConfigResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigResponseOutput) CloudAudit() LogConfigCloudAuditOptionsResponseOutput { return o.ApplyT(func(v LogConfigResponse) LogConfigCloudAuditOptionsResponse { return v.CloudAudit }).(LogConfigCloudAuditOptionsResponseOutput) @@ -25282,6 +28871,12 @@ func (o LogConfigResponseArrayOutput) ToLogConfigResponseArrayOutputWithContext( return o } +func (o LogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigResponse] { + return pulumix.Output[[]LogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o LogConfigResponseArrayOutput) Index(i pulumi.IntInput) LogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigResponse { return vs[0].([]LogConfigResponse)[vs[1].(int)] @@ -25323,6 +28918,12 @@ func (i MetadataArgs) ToMetadataOutputWithContext(ctx context.Context) MetadataO return pulumi.ToOutputWithContext(ctx, i).(MetadataOutput) } +func (i MetadataArgs) ToOutput(ctx context.Context) pulumix.Output[Metadata] { + return pulumix.Output[Metadata]{ + OutputState: i.ToMetadataOutputWithContext(ctx).OutputState, + } +} + func (i MetadataArgs) ToMetadataPtrOutput() MetadataPtrOutput { return i.ToMetadataPtrOutputWithContext(context.Background()) } @@ -25364,6 +28965,12 @@ func (i *metadataPtrType) ToMetadataPtrOutputWithContext(ctx context.Context) Me return pulumi.ToOutputWithContext(ctx, i).(MetadataPtrOutput) } +func (i *metadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*Metadata] { + return pulumix.Output[*Metadata]{ + OutputState: i.ToMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // A metadata key/value entry. type MetadataOutput struct{ *pulumi.OutputState } @@ -25389,6 +28996,12 @@ func (o MetadataOutput) ToMetadataPtrOutputWithContext(ctx context.Context) Meta }).(MetadataPtrOutput) } +func (o MetadataOutput) ToOutput(ctx context.Context) pulumix.Output[Metadata] { + return pulumix.Output[Metadata]{ + OutputState: o.OutputState, + } +} + // Array of key/value pairs. The total size of all keys and values must be less than 512 KB. func (o MetadataOutput) Items() MetadataItemsItemArrayOutput { return o.ApplyT(func(v Metadata) []MetadataItemsItem { return v.Items }).(MetadataItemsItemArrayOutput) @@ -25408,6 +29021,12 @@ func (o MetadataPtrOutput) ToMetadataPtrOutputWithContext(ctx context.Context) M return o } +func (o MetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Metadata] { + return pulumix.Output[*Metadata]{ + OutputState: o.OutputState, + } +} + func (o MetadataPtrOutput) Elem() MetadataOutput { return o.ApplyT(func(v *Metadata) Metadata { if v != nil { @@ -25467,6 +29086,12 @@ func (i MetadataFilterArgs) ToMetadataFilterOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterOutput) } +func (i MetadataFilterArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataFilter] { + return pulumix.Output[MetadataFilter]{ + OutputState: i.ToMetadataFilterOutputWithContext(ctx).OutputState, + } +} + // MetadataFilterArrayInput is an input type that accepts MetadataFilterArray and MetadataFilterArrayOutput values. // You can construct a concrete instance of `MetadataFilterArrayInput` via: // @@ -25492,6 +29117,12 @@ func (i MetadataFilterArray) ToMetadataFilterArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterArrayOutput) } +func (i MetadataFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilter] { + return pulumix.Output[[]MetadataFilter]{ + OutputState: i.ToMetadataFilterArrayOutputWithContext(ctx).OutputState, + } +} + // Opaque filter criteria used by load balancers to restrict routing configuration to a limited set of load balancing proxies. Proxies and sidecars involved in load balancing would typically present metadata to the load balancers that need to match criteria specified here. If a match takes place, the relevant configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. An example for using metadataFilters would be: if load balancing involves Envoys, they receive routing configuration when values in metadataFilters match values supplied in of their XDS requests to loadbalancers. type MetadataFilterOutput struct{ *pulumi.OutputState } @@ -25507,6 +29138,12 @@ func (o MetadataFilterOutput) ToMetadataFilterOutputWithContext(ctx context.Cont return o } +func (o MetadataFilterOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilter] { + return pulumix.Output[MetadataFilter]{ + OutputState: o.OutputState, + } +} + // The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. func (o MetadataFilterOutput) FilterLabels() MetadataFilterLabelMatchArrayOutput { return o.ApplyT(func(v MetadataFilter) []MetadataFilterLabelMatch { return v.FilterLabels }).(MetadataFilterLabelMatchArrayOutput) @@ -25531,6 +29168,12 @@ func (o MetadataFilterArrayOutput) ToMetadataFilterArrayOutputWithContext(ctx co return o } +func (o MetadataFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilter] { + return pulumix.Output[[]MetadataFilter]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterArrayOutput) Index(i pulumi.IntInput) MetadataFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilter { return vs[0].([]MetadataFilter)[vs[1].(int)] @@ -25576,6 +29219,12 @@ func (i MetadataFilterLabelMatchArgs) ToMetadataFilterLabelMatchOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterLabelMatchOutput) } +func (i MetadataFilterLabelMatchArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterLabelMatch] { + return pulumix.Output[MetadataFilterLabelMatch]{ + OutputState: i.ToMetadataFilterLabelMatchOutputWithContext(ctx).OutputState, + } +} + // MetadataFilterLabelMatchArrayInput is an input type that accepts MetadataFilterLabelMatchArray and MetadataFilterLabelMatchArrayOutput values. // You can construct a concrete instance of `MetadataFilterLabelMatchArrayInput` via: // @@ -25601,6 +29250,12 @@ func (i MetadataFilterLabelMatchArray) ToMetadataFilterLabelMatchArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterLabelMatchArrayOutput) } +func (i MetadataFilterLabelMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterLabelMatch] { + return pulumix.Output[[]MetadataFilterLabelMatch]{ + OutputState: i.ToMetadataFilterLabelMatchArrayOutputWithContext(ctx).OutputState, + } +} + // MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer. type MetadataFilterLabelMatchOutput struct{ *pulumi.OutputState } @@ -25616,6 +29271,12 @@ func (o MetadataFilterLabelMatchOutput) ToMetadataFilterLabelMatchOutputWithCont return o } +func (o MetadataFilterLabelMatchOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterLabelMatch] { + return pulumix.Output[MetadataFilterLabelMatch]{ + OutputState: o.OutputState, + } +} + // Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long. func (o MetadataFilterLabelMatchOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v MetadataFilterLabelMatch) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -25640,6 +29301,12 @@ func (o MetadataFilterLabelMatchArrayOutput) ToMetadataFilterLabelMatchArrayOutp return o } +func (o MetadataFilterLabelMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterLabelMatch] { + return pulumix.Output[[]MetadataFilterLabelMatch]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterLabelMatchArrayOutput) Index(i pulumi.IntInput) MetadataFilterLabelMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilterLabelMatch { return vs[0].([]MetadataFilterLabelMatch)[vs[1].(int)] @@ -25669,6 +29336,12 @@ func (o MetadataFilterLabelMatchResponseOutput) ToMetadataFilterLabelMatchRespon return o } +func (o MetadataFilterLabelMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterLabelMatchResponse] { + return pulumix.Output[MetadataFilterLabelMatchResponse]{ + OutputState: o.OutputState, + } +} + // Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long. func (o MetadataFilterLabelMatchResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v MetadataFilterLabelMatchResponse) string { return v.Name }).(pulumi.StringOutput) @@ -25693,6 +29366,12 @@ func (o MetadataFilterLabelMatchResponseArrayOutput) ToMetadataFilterLabelMatchR return o } +func (o MetadataFilterLabelMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterLabelMatchResponse] { + return pulumix.Output[[]MetadataFilterLabelMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterLabelMatchResponseArrayOutput) Index(i pulumi.IntInput) MetadataFilterLabelMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilterLabelMatchResponse { return vs[0].([]MetadataFilterLabelMatchResponse)[vs[1].(int)] @@ -25722,6 +29401,12 @@ func (o MetadataFilterResponseOutput) ToMetadataFilterResponseOutputWithContext( return o } +func (o MetadataFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterResponse] { + return pulumix.Output[MetadataFilterResponse]{ + OutputState: o.OutputState, + } +} + // The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. func (o MetadataFilterResponseOutput) FilterLabels() MetadataFilterLabelMatchResponseArrayOutput { return o.ApplyT(func(v MetadataFilterResponse) []MetadataFilterLabelMatchResponse { return v.FilterLabels }).(MetadataFilterLabelMatchResponseArrayOutput) @@ -25746,6 +29431,12 @@ func (o MetadataFilterResponseArrayOutput) ToMetadataFilterResponseArrayOutputWi return o } +func (o MetadataFilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterResponse] { + return pulumix.Output[[]MetadataFilterResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterResponseArrayOutput) Index(i pulumi.IntInput) MetadataFilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilterResponse { return vs[0].([]MetadataFilterResponse)[vs[1].(int)] @@ -25791,6 +29482,12 @@ func (i MetadataItemsItemArgs) ToMetadataItemsItemOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MetadataItemsItemOutput) } +func (i MetadataItemsItemArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataItemsItem] { + return pulumix.Output[MetadataItemsItem]{ + OutputState: i.ToMetadataItemsItemOutputWithContext(ctx).OutputState, + } +} + // MetadataItemsItemArrayInput is an input type that accepts MetadataItemsItemArray and MetadataItemsItemArrayOutput values. // You can construct a concrete instance of `MetadataItemsItemArrayInput` via: // @@ -25816,6 +29513,12 @@ func (i MetadataItemsItemArray) ToMetadataItemsItemArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(MetadataItemsItemArrayOutput) } +func (i MetadataItemsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]MetadataItemsItem] { + return pulumix.Output[[]MetadataItemsItem]{ + OutputState: i.ToMetadataItemsItemArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata type MetadataItemsItemOutput struct{ *pulumi.OutputState } @@ -25831,6 +29534,12 @@ func (o MetadataItemsItemOutput) ToMetadataItemsItemOutputWithContext(ctx contex return o } +func (o MetadataItemsItemOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataItemsItem] { + return pulumix.Output[MetadataItemsItem]{ + OutputState: o.OutputState, + } +} + // Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project. func (o MetadataItemsItemOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v MetadataItemsItem) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -25855,6 +29564,12 @@ func (o MetadataItemsItemArrayOutput) ToMetadataItemsItemArrayOutputWithContext( return o } +func (o MetadataItemsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataItemsItem] { + return pulumix.Output[[]MetadataItemsItem]{ + OutputState: o.OutputState, + } +} + func (o MetadataItemsItemArrayOutput) Index(i pulumi.IntInput) MetadataItemsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataItemsItem { return vs[0].([]MetadataItemsItem)[vs[1].(int)] @@ -25884,6 +29599,12 @@ func (o MetadataItemsItemResponseOutput) ToMetadataItemsItemResponseOutputWithCo return o } +func (o MetadataItemsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataItemsItemResponse] { + return pulumix.Output[MetadataItemsItemResponse]{ + OutputState: o.OutputState, + } +} + // Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project. func (o MetadataItemsItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v MetadataItemsItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -25908,6 +29629,12 @@ func (o MetadataItemsItemResponseArrayOutput) ToMetadataItemsItemResponseArrayOu return o } +func (o MetadataItemsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataItemsItemResponse] { + return pulumix.Output[[]MetadataItemsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataItemsItemResponseArrayOutput) Index(i pulumi.IntInput) MetadataItemsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataItemsItemResponse { return vs[0].([]MetadataItemsItemResponse)[vs[1].(int)] @@ -25939,6 +29666,12 @@ func (o MetadataResponseOutput) ToMetadataResponseOutputWithContext(ctx context. return o } +func (o MetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataResponse] { + return pulumix.Output[MetadataResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource. func (o MetadataResponseOutput) Fingerprint() pulumi.StringOutput { return o.ApplyT(func(v MetadataResponse) string { return v.Fingerprint }).(pulumi.StringOutput) @@ -25993,6 +29726,12 @@ func (i NamedPortArgs) ToNamedPortOutputWithContext(ctx context.Context) NamedPo return pulumi.ToOutputWithContext(ctx, i).(NamedPortOutput) } +func (i NamedPortArgs) ToOutput(ctx context.Context) pulumix.Output[NamedPort] { + return pulumix.Output[NamedPort]{ + OutputState: i.ToNamedPortOutputWithContext(ctx).OutputState, + } +} + // NamedPortArrayInput is an input type that accepts NamedPortArray and NamedPortArrayOutput values. // You can construct a concrete instance of `NamedPortArrayInput` via: // @@ -26018,6 +29757,12 @@ func (i NamedPortArray) ToNamedPortArrayOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NamedPortArrayOutput) } +func (i NamedPortArray) ToOutput(ctx context.Context) pulumix.Output[[]NamedPort] { + return pulumix.Output[[]NamedPort]{ + OutputState: i.ToNamedPortArrayOutputWithContext(ctx).OutputState, + } +} + // The named port. For example: <"http", 80>. type NamedPortOutput struct{ *pulumi.OutputState } @@ -26033,6 +29778,12 @@ func (o NamedPortOutput) ToNamedPortOutputWithContext(ctx context.Context) Named return o } +func (o NamedPortOutput) ToOutput(ctx context.Context) pulumix.Output[NamedPort] { + return pulumix.Output[NamedPort]{ + OutputState: o.OutputState, + } +} + // The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. func (o NamedPortOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v NamedPort) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -26057,6 +29808,12 @@ func (o NamedPortArrayOutput) ToNamedPortArrayOutputWithContext(ctx context.Cont return o } +func (o NamedPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamedPort] { + return pulumix.Output[[]NamedPort]{ + OutputState: o.OutputState, + } +} + func (o NamedPortArrayOutput) Index(i pulumi.IntInput) NamedPortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamedPort { return vs[0].([]NamedPort)[vs[1].(int)] @@ -26086,6 +29843,12 @@ func (o NamedPortResponseOutput) ToNamedPortResponseOutputWithContext(ctx contex return o } +func (o NamedPortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NamedPortResponse] { + return pulumix.Output[NamedPortResponse]{ + OutputState: o.OutputState, + } +} + // The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. func (o NamedPortResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v NamedPortResponse) string { return v.Name }).(pulumi.StringOutput) @@ -26110,6 +29873,12 @@ func (o NamedPortResponseArrayOutput) ToNamedPortResponseArrayOutputWithContext( return o } +func (o NamedPortResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamedPortResponse] { + return pulumix.Output[[]NamedPortResponse]{ + OutputState: o.OutputState, + } +} + func (o NamedPortResponseArrayOutput) Index(i pulumi.IntInput) NamedPortResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamedPortResponse { return vs[0].([]NamedPortResponse)[vs[1].(int)] @@ -26145,6 +29914,12 @@ func (o NetworkAttachmentConnectedEndpointResponseOutput) ToNetworkAttachmentCon return o } +func (o NetworkAttachmentConnectedEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkAttachmentConnectedEndpointResponse] { + return pulumix.Output[NetworkAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless. func (o NetworkAttachmentConnectedEndpointResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v NetworkAttachmentConnectedEndpointResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -26184,6 +29959,12 @@ func (o NetworkAttachmentConnectedEndpointResponseArrayOutput) ToNetworkAttachme return o } +func (o NetworkAttachmentConnectedEndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkAttachmentConnectedEndpointResponse] { + return pulumix.Output[[]NetworkAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkAttachmentConnectedEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkAttachmentConnectedEndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkAttachmentConnectedEndpointResponse { return vs[0].([]NetworkAttachmentConnectedEndpointResponse)[vs[1].(int)] @@ -26233,6 +30014,12 @@ func (i NetworkEndpointGroupAppEngineArgs) ToNetworkEndpointGroupAppEngineOutput return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupAppEngineOutput) } +func (i NetworkEndpointGroupAppEngineArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupAppEngine] { + return pulumix.Output[NetworkEndpointGroupAppEngine]{ + OutputState: i.ToNetworkEndpointGroupAppEngineOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupAppEngineArgs) ToNetworkEndpointGroupAppEnginePtrOutput() NetworkEndpointGroupAppEnginePtrOutput { return i.ToNetworkEndpointGroupAppEnginePtrOutputWithContext(context.Background()) } @@ -26274,6 +30061,12 @@ func (i *networkEndpointGroupAppEnginePtrType) ToNetworkEndpointGroupAppEnginePt return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupAppEnginePtrOutput) } +func (i *networkEndpointGroupAppEnginePtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupAppEngine] { + return pulumix.Output[*NetworkEndpointGroupAppEngine]{ + OutputState: i.ToNetworkEndpointGroupAppEnginePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupAppEngineOutput struct{ *pulumi.OutputState } @@ -26299,6 +30092,12 @@ func (o NetworkEndpointGroupAppEngineOutput) ToNetworkEndpointGroupAppEnginePtrO }).(NetworkEndpointGroupAppEnginePtrOutput) } +func (o NetworkEndpointGroupAppEngineOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupAppEngine] { + return pulumix.Output[NetworkEndpointGroupAppEngine]{ + OutputState: o.OutputState, + } +} + // Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". func (o NetworkEndpointGroupAppEngineOutput) Service() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupAppEngine) *string { return v.Service }).(pulumi.StringPtrOutput) @@ -26328,6 +30127,12 @@ func (o NetworkEndpointGroupAppEnginePtrOutput) ToNetworkEndpointGroupAppEngineP return o } +func (o NetworkEndpointGroupAppEnginePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupAppEngine] { + return pulumix.Output[*NetworkEndpointGroupAppEngine]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupAppEnginePtrOutput) Elem() NetworkEndpointGroupAppEngineOutput { return o.ApplyT(func(v *NetworkEndpointGroupAppEngine) NetworkEndpointGroupAppEngine { if v != nil { @@ -26393,6 +30198,12 @@ func (o NetworkEndpointGroupAppEngineResponseOutput) ToNetworkEndpointGroupAppEn return o } +func (o NetworkEndpointGroupAppEngineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupAppEngineResponse] { + return pulumix.Output[NetworkEndpointGroupAppEngineResponse]{ + OutputState: o.OutputState, + } +} + // Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". func (o NetworkEndpointGroupAppEngineResponseOutput) Service() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupAppEngineResponse) string { return v.Service }).(pulumi.StringOutput) @@ -26447,6 +30258,12 @@ func (i NetworkEndpointGroupCloudFunctionArgs) ToNetworkEndpointGroupCloudFuncti return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudFunctionOutput) } +func (i NetworkEndpointGroupCloudFunctionArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudFunction] { + return pulumix.Output[NetworkEndpointGroupCloudFunction]{ + OutputState: i.ToNetworkEndpointGroupCloudFunctionOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupCloudFunctionArgs) ToNetworkEndpointGroupCloudFunctionPtrOutput() NetworkEndpointGroupCloudFunctionPtrOutput { return i.ToNetworkEndpointGroupCloudFunctionPtrOutputWithContext(context.Background()) } @@ -26488,6 +30305,12 @@ func (i *networkEndpointGroupCloudFunctionPtrType) ToNetworkEndpointGroupCloudFu return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudFunctionPtrOutput) } +func (i *networkEndpointGroupCloudFunctionPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudFunction] { + return pulumix.Output[*NetworkEndpointGroupCloudFunction]{ + OutputState: i.ToNetworkEndpointGroupCloudFunctionPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupCloudFunctionOutput struct{ *pulumi.OutputState } @@ -26513,6 +30336,12 @@ func (o NetworkEndpointGroupCloudFunctionOutput) ToNetworkEndpointGroupCloudFunc }).(NetworkEndpointGroupCloudFunctionPtrOutput) } +func (o NetworkEndpointGroupCloudFunctionOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudFunction] { + return pulumix.Output[NetworkEndpointGroupCloudFunction]{ + OutputState: o.OutputState, + } +} + // A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1". func (o NetworkEndpointGroupCloudFunctionOutput) Function() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudFunction) *string { return v.Function }).(pulumi.StringPtrOutput) @@ -26537,6 +30366,12 @@ func (o NetworkEndpointGroupCloudFunctionPtrOutput) ToNetworkEndpointGroupCloudF return o } +func (o NetworkEndpointGroupCloudFunctionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudFunction] { + return pulumix.Output[*NetworkEndpointGroupCloudFunction]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupCloudFunctionPtrOutput) Elem() NetworkEndpointGroupCloudFunctionOutput { return o.ApplyT(func(v *NetworkEndpointGroupCloudFunction) NetworkEndpointGroupCloudFunction { if v != nil { @@ -26590,6 +30425,12 @@ func (o NetworkEndpointGroupCloudFunctionResponseOutput) ToNetworkEndpointGroupC return o } +func (o NetworkEndpointGroupCloudFunctionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudFunctionResponse] { + return pulumix.Output[NetworkEndpointGroupCloudFunctionResponse]{ + OutputState: o.OutputState, + } +} + // A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1". func (o NetworkEndpointGroupCloudFunctionResponseOutput) Function() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudFunctionResponse) string { return v.Function }).(pulumi.StringOutput) @@ -26643,6 +30484,12 @@ func (i NetworkEndpointGroupCloudRunArgs) ToNetworkEndpointGroupCloudRunOutputWi return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudRunOutput) } +func (i NetworkEndpointGroupCloudRunArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudRun] { + return pulumix.Output[NetworkEndpointGroupCloudRun]{ + OutputState: i.ToNetworkEndpointGroupCloudRunOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupCloudRunArgs) ToNetworkEndpointGroupCloudRunPtrOutput() NetworkEndpointGroupCloudRunPtrOutput { return i.ToNetworkEndpointGroupCloudRunPtrOutputWithContext(context.Background()) } @@ -26684,6 +30531,12 @@ func (i *networkEndpointGroupCloudRunPtrType) ToNetworkEndpointGroupCloudRunPtrO return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudRunPtrOutput) } +func (i *networkEndpointGroupCloudRunPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudRun] { + return pulumix.Output[*NetworkEndpointGroupCloudRun]{ + OutputState: i.ToNetworkEndpointGroupCloudRunPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupCloudRunOutput struct{ *pulumi.OutputState } @@ -26709,6 +30562,12 @@ func (o NetworkEndpointGroupCloudRunOutput) ToNetworkEndpointGroupCloudRunPtrOut }).(NetworkEndpointGroupCloudRunPtrOutput) } +func (o NetworkEndpointGroupCloudRunOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudRun] { + return pulumix.Output[NetworkEndpointGroupCloudRun]{ + OutputState: o.OutputState, + } +} + // Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service". func (o NetworkEndpointGroupCloudRunOutput) Service() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudRun) *string { return v.Service }).(pulumi.StringPtrOutput) @@ -26738,6 +30597,12 @@ func (o NetworkEndpointGroupCloudRunPtrOutput) ToNetworkEndpointGroupCloudRunPtr return o } +func (o NetworkEndpointGroupCloudRunPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudRun] { + return pulumix.Output[*NetworkEndpointGroupCloudRun]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupCloudRunPtrOutput) Elem() NetworkEndpointGroupCloudRunOutput { return o.ApplyT(func(v *NetworkEndpointGroupCloudRun) NetworkEndpointGroupCloudRun { if v != nil { @@ -26803,6 +30668,12 @@ func (o NetworkEndpointGroupCloudRunResponseOutput) ToNetworkEndpointGroupCloudR return o } +func (o NetworkEndpointGroupCloudRunResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudRunResponse] { + return pulumix.Output[NetworkEndpointGroupCloudRunResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service". func (o NetworkEndpointGroupCloudRunResponseOutput) Service() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudRunResponse) string { return v.Service }).(pulumi.StringOutput) @@ -26873,6 +30744,12 @@ func (i NetworkEndpointGroupLbNetworkEndpointGroupArgs) ToNetworkEndpointGroupLb return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupLbNetworkEndpointGroupOutput) } +func (i NetworkEndpointGroupLbNetworkEndpointGroupArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroup] { + return pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroup]{ + OutputState: i.ToNetworkEndpointGroupLbNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupLbNetworkEndpointGroupArgs) ToNetworkEndpointGroupLbNetworkEndpointGroupPtrOutput() NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput { return i.ToNetworkEndpointGroupLbNetworkEndpointGroupPtrOutputWithContext(context.Background()) } @@ -26914,6 +30791,12 @@ func (i *networkEndpointGroupLbNetworkEndpointGroupPtrType) ToNetworkEndpointGro return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput) } +func (i *networkEndpointGroupLbNetworkEndpointGroupPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupLbNetworkEndpointGroup] { + return pulumix.Output[*NetworkEndpointGroupLbNetworkEndpointGroup]{ + OutputState: i.ToNetworkEndpointGroupLbNetworkEndpointGroupPtrOutputWithContext(ctx).OutputState, + } +} + // Load balancing specific fields for network endpoint group. type NetworkEndpointGroupLbNetworkEndpointGroupOutput struct{ *pulumi.OutputState } @@ -26939,6 +30822,12 @@ func (o NetworkEndpointGroupLbNetworkEndpointGroupOutput) ToNetworkEndpointGroup }).(NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput) } +func (o NetworkEndpointGroupLbNetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroup] { + return pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated. // // Deprecated: The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated. @@ -26974,6 +30863,12 @@ func (o NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput) ToNetworkEndpointGr return o } +func (o NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupLbNetworkEndpointGroup] { + return pulumix.Output[*NetworkEndpointGroupLbNetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupLbNetworkEndpointGroupPtrOutput) Elem() NetworkEndpointGroupLbNetworkEndpointGroupOutput { return o.ApplyT(func(v *NetworkEndpointGroupLbNetworkEndpointGroup) NetworkEndpointGroupLbNetworkEndpointGroup { if v != nil { @@ -27055,6 +30950,12 @@ func (o NetworkEndpointGroupLbNetworkEndpointGroupResponseOutput) ToNetworkEndpo return o } +func (o NetworkEndpointGroupLbNetworkEndpointGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroupResponse] { + return pulumix.Output[NetworkEndpointGroupLbNetworkEndpointGroupResponse]{ + OutputState: o.OutputState, + } +} + // The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated. // // Deprecated: The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated. @@ -27114,6 +31015,12 @@ func (i NetworkEndpointGroupPscDataArgs) ToNetworkEndpointGroupPscDataOutputWith return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupPscDataOutput) } +func (i NetworkEndpointGroupPscDataArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupPscData] { + return pulumix.Output[NetworkEndpointGroupPscData]{ + OutputState: i.ToNetworkEndpointGroupPscDataOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupPscDataArgs) ToNetworkEndpointGroupPscDataPtrOutput() NetworkEndpointGroupPscDataPtrOutput { return i.ToNetworkEndpointGroupPscDataPtrOutputWithContext(context.Background()) } @@ -27155,6 +31062,12 @@ func (i *networkEndpointGroupPscDataPtrType) ToNetworkEndpointGroupPscDataPtrOut return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupPscDataPtrOutput) } +func (i *networkEndpointGroupPscDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupPscData] { + return pulumix.Output[*NetworkEndpointGroupPscData]{ + OutputState: i.ToNetworkEndpointGroupPscDataPtrOutputWithContext(ctx).OutputState, + } +} + // All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT. type NetworkEndpointGroupPscDataOutput struct{ *pulumi.OutputState } @@ -27180,6 +31093,12 @@ func (o NetworkEndpointGroupPscDataOutput) ToNetworkEndpointGroupPscDataPtrOutpu }).(NetworkEndpointGroupPscDataPtrOutput) } +func (o NetworkEndpointGroupPscDataOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupPscData] { + return pulumix.Output[NetworkEndpointGroupPscData]{ + OutputState: o.OutputState, + } +} + type NetworkEndpointGroupPscDataPtrOutput struct{ *pulumi.OutputState } func (NetworkEndpointGroupPscDataPtrOutput) ElementType() reflect.Type { @@ -27194,6 +31113,12 @@ func (o NetworkEndpointGroupPscDataPtrOutput) ToNetworkEndpointGroupPscDataPtrOu return o } +func (o NetworkEndpointGroupPscDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupPscData] { + return pulumix.Output[*NetworkEndpointGroupPscData]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupPscDataPtrOutput) Elem() NetworkEndpointGroupPscDataOutput { return o.ApplyT(func(v *NetworkEndpointGroupPscData) NetworkEndpointGroupPscData { if v != nil { @@ -27229,6 +31154,12 @@ func (o NetworkEndpointGroupPscDataResponseOutput) ToNetworkEndpointGroupPscData return o } +func (o NetworkEndpointGroupPscDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupPscDataResponse] { + return pulumix.Output[NetworkEndpointGroupPscDataResponse]{ + OutputState: o.OutputState, + } +} + // Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB. func (o NetworkEndpointGroupPscDataResponseOutput) ConsumerPscAddress() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupPscDataResponse) string { return v.ConsumerPscAddress }).(pulumi.StringOutput) @@ -27291,6 +31222,12 @@ func (i NetworkEndpointGroupServerlessDeploymentArgs) ToNetworkEndpointGroupServ return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupServerlessDeploymentOutput) } +func (i NetworkEndpointGroupServerlessDeploymentArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupServerlessDeployment] { + return pulumix.Output[NetworkEndpointGroupServerlessDeployment]{ + OutputState: i.ToNetworkEndpointGroupServerlessDeploymentOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupServerlessDeploymentArgs) ToNetworkEndpointGroupServerlessDeploymentPtrOutput() NetworkEndpointGroupServerlessDeploymentPtrOutput { return i.ToNetworkEndpointGroupServerlessDeploymentPtrOutputWithContext(context.Background()) } @@ -27332,6 +31269,12 @@ func (i *networkEndpointGroupServerlessDeploymentPtrType) ToNetworkEndpointGroup return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupServerlessDeploymentPtrOutput) } +func (i *networkEndpointGroupServerlessDeploymentPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupServerlessDeployment] { + return pulumix.Output[*NetworkEndpointGroupServerlessDeployment]{ + OutputState: i.ToNetworkEndpointGroupServerlessDeploymentPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a serverless network endpoint group (NEG). The platform must be provided. Note: The target backend service must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupServerlessDeploymentOutput struct{ *pulumi.OutputState } @@ -27357,6 +31300,12 @@ func (o NetworkEndpointGroupServerlessDeploymentOutput) ToNetworkEndpointGroupSe }).(NetworkEndpointGroupServerlessDeploymentPtrOutput) } +func (o NetworkEndpointGroupServerlessDeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupServerlessDeployment] { + return pulumix.Output[NetworkEndpointGroupServerlessDeployment]{ + OutputState: o.OutputState, + } +} + // The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com. func (o NetworkEndpointGroupServerlessDeploymentOutput) Platform() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupServerlessDeployment) *string { return v.Platform }).(pulumi.StringPtrOutput) @@ -27391,6 +31340,12 @@ func (o NetworkEndpointGroupServerlessDeploymentPtrOutput) ToNetworkEndpointGrou return o } +func (o NetworkEndpointGroupServerlessDeploymentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupServerlessDeployment] { + return pulumix.Output[*NetworkEndpointGroupServerlessDeployment]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupServerlessDeploymentPtrOutput) Elem() NetworkEndpointGroupServerlessDeploymentOutput { return o.ApplyT(func(v *NetworkEndpointGroupServerlessDeployment) NetworkEndpointGroupServerlessDeployment { if v != nil { @@ -27468,6 +31423,12 @@ func (o NetworkEndpointGroupServerlessDeploymentResponseOutput) ToNetworkEndpoin return o } +func (o NetworkEndpointGroupServerlessDeploymentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupServerlessDeploymentResponse] { + return pulumix.Output[NetworkEndpointGroupServerlessDeploymentResponse]{ + OutputState: o.OutputState, + } +} + // The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com. func (o NetworkEndpointGroupServerlessDeploymentResponseOutput) Platform() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupServerlessDeploymentResponse) string { return v.Platform }).(pulumi.StringOutput) @@ -27567,6 +31528,12 @@ func (i NetworkInterfaceArgs) ToNetworkInterfaceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceOutput) } +func (i NetworkInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: i.ToNetworkInterfaceOutputWithContext(ctx).OutputState, + } +} + // NetworkInterfaceArrayInput is an input type that accepts NetworkInterfaceArray and NetworkInterfaceArrayOutput values. // You can construct a concrete instance of `NetworkInterfaceArrayInput` via: // @@ -27592,6 +31559,12 @@ func (i NetworkInterfaceArray) ToNetworkInterfaceArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceArrayOutput) } +func (i NetworkInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: i.ToNetworkInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // A network interface resource attached to an instance. type NetworkInterfaceOutput struct{ *pulumi.OutputState } @@ -27607,6 +31580,12 @@ func (o NetworkInterfaceOutput) ToNetworkInterfaceOutputWithContext(ctx context. return o } +func (o NetworkInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: o.OutputState, + } +} + // An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access. func (o NetworkInterfaceOutput) AccessConfigs() AccessConfigArrayOutput { return o.ApplyT(func(v NetworkInterface) []AccessConfig { return v.AccessConfigs }).(AccessConfigArrayOutput) @@ -27681,6 +31660,12 @@ func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext(ct return o } +func (o NetworkInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterface { return vs[0].([]NetworkInterface)[vs[1].(int)] @@ -27738,6 +31723,12 @@ func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutputWithCont return o } +func (o NetworkInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceResponse] { + return pulumix.Output[NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access. func (o NetworkInterfaceResponseOutput) AccessConfigs() AccessConfigResponseArrayOutput { return o.ApplyT(func(v NetworkInterfaceResponse) []AccessConfigResponse { return v.AccessConfigs }).(AccessConfigResponseArrayOutput) @@ -27832,6 +31823,12 @@ func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutp return o } +func (o NetworkInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterfaceResponse] { + return pulumix.Output[[]NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceResponse { return vs[0].([]NetworkInterfaceResponse)[vs[1].(int)] @@ -27881,6 +31878,12 @@ func (o NetworkPeeringResponseOutput) ToNetworkPeeringResponseOutputWithContext( return o } +func (o NetworkPeeringResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPeeringResponse] { + return pulumix.Output[NetworkPeeringResponse]{ + OutputState: o.OutputState, + } +} + // This field will be deprecated soon. Use the exchange_subnet_routes field instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE. func (o NetworkPeeringResponseOutput) AutoCreateRoutes() pulumi.BoolOutput { return o.ApplyT(func(v NetworkPeeringResponse) bool { return v.AutoCreateRoutes }).(pulumi.BoolOutput) @@ -27955,6 +31958,12 @@ func (o NetworkPeeringResponseArrayOutput) ToNetworkPeeringResponseArrayOutputWi return o } +func (o NetworkPeeringResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkPeeringResponse] { + return pulumix.Output[[]NetworkPeeringResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkPeeringResponseArrayOutput) Index(i pulumi.IntInput) NetworkPeeringResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkPeeringResponse { return vs[0].([]NetworkPeeringResponse)[vs[1].(int)] @@ -27992,6 +32001,12 @@ func (i NetworkPerformanceConfigArgs) ToNetworkPerformanceConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(NetworkPerformanceConfigOutput) } +func (i NetworkPerformanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfig] { + return pulumix.Output[NetworkPerformanceConfig]{ + OutputState: i.ToNetworkPerformanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkPerformanceConfigArgs) ToNetworkPerformanceConfigPtrOutput() NetworkPerformanceConfigPtrOutput { return i.ToNetworkPerformanceConfigPtrOutputWithContext(context.Background()) } @@ -28033,6 +32048,12 @@ func (i *networkPerformanceConfigPtrType) ToNetworkPerformanceConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(NetworkPerformanceConfigPtrOutput) } +func (i *networkPerformanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfig] { + return pulumix.Output[*NetworkPerformanceConfig]{ + OutputState: i.ToNetworkPerformanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + type NetworkPerformanceConfigOutput struct{ *pulumi.OutputState } func (NetworkPerformanceConfigOutput) ElementType() reflect.Type { @@ -28057,6 +32078,12 @@ func (o NetworkPerformanceConfigOutput) ToNetworkPerformanceConfigPtrOutputWithC }).(NetworkPerformanceConfigPtrOutput) } +func (o NetworkPerformanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfig] { + return pulumix.Output[NetworkPerformanceConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigOutput) TotalEgressBandwidthTier() NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput { return o.ApplyT(func(v NetworkPerformanceConfig) *NetworkPerformanceConfigTotalEgressBandwidthTier { return v.TotalEgressBandwidthTier @@ -28077,6 +32104,12 @@ func (o NetworkPerformanceConfigPtrOutput) ToNetworkPerformanceConfigPtrOutputWi return o } +func (o NetworkPerformanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfig] { + return pulumix.Output[*NetworkPerformanceConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigPtrOutput) Elem() NetworkPerformanceConfigOutput { return o.ApplyT(func(v *NetworkPerformanceConfig) NetworkPerformanceConfig { if v != nil { @@ -28114,6 +32147,12 @@ func (o NetworkPerformanceConfigResponseOutput) ToNetworkPerformanceConfigRespon return o } +func (o NetworkPerformanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigResponse] { + return pulumix.Output[NetworkPerformanceConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigResponseOutput) TotalEgressBandwidthTier() pulumi.StringOutput { return o.ApplyT(func(v NetworkPerformanceConfigResponse) string { return v.TotalEgressBandwidthTier }).(pulumi.StringOutput) } @@ -28153,6 +32192,12 @@ func (i NetworkRoutingConfigArgs) ToNetworkRoutingConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(NetworkRoutingConfigOutput) } +func (i NetworkRoutingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfig] { + return pulumix.Output[NetworkRoutingConfig]{ + OutputState: i.ToNetworkRoutingConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkRoutingConfigArgs) ToNetworkRoutingConfigPtrOutput() NetworkRoutingConfigPtrOutput { return i.ToNetworkRoutingConfigPtrOutputWithContext(context.Background()) } @@ -28194,6 +32239,12 @@ func (i *networkRoutingConfigPtrType) ToNetworkRoutingConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(NetworkRoutingConfigPtrOutput) } +func (i *networkRoutingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfig] { + return pulumix.Output[*NetworkRoutingConfig]{ + OutputState: i.ToNetworkRoutingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide. type NetworkRoutingConfigOutput struct{ *pulumi.OutputState } @@ -28219,6 +32270,12 @@ func (o NetworkRoutingConfigOutput) ToNetworkRoutingConfigPtrOutputWithContext(c }).(NetworkRoutingConfigPtrOutput) } +func (o NetworkRoutingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfig] { + return pulumix.Output[NetworkRoutingConfig]{ + OutputState: o.OutputState, + } +} + // The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. func (o NetworkRoutingConfigOutput) RoutingMode() NetworkRoutingConfigRoutingModePtrOutput { return o.ApplyT(func(v NetworkRoutingConfig) *NetworkRoutingConfigRoutingMode { return v.RoutingMode }).(NetworkRoutingConfigRoutingModePtrOutput) @@ -28238,6 +32295,12 @@ func (o NetworkRoutingConfigPtrOutput) ToNetworkRoutingConfigPtrOutputWithContex return o } +func (o NetworkRoutingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfig] { + return pulumix.Output[*NetworkRoutingConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkRoutingConfigPtrOutput) Elem() NetworkRoutingConfigOutput { return o.ApplyT(func(v *NetworkRoutingConfig) NetworkRoutingConfig { if v != nil { @@ -28279,6 +32342,12 @@ func (o NetworkRoutingConfigResponseOutput) ToNetworkRoutingConfigResponseOutput return o } +func (o NetworkRoutingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfigResponse] { + return pulumix.Output[NetworkRoutingConfigResponse]{ + OutputState: o.OutputState, + } +} + // The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. func (o NetworkRoutingConfigResponseOutput) RoutingMode() pulumi.StringOutput { return o.ApplyT(func(v NetworkRoutingConfigResponse) string { return v.RoutingMode }).(pulumi.StringOutput) @@ -28325,6 +32394,12 @@ func (i NodeGroupAutoscalingPolicyArgs) ToNodeGroupAutoscalingPolicyOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(NodeGroupAutoscalingPolicyOutput) } +func (i NodeGroupAutoscalingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicy] { + return pulumix.Output[NodeGroupAutoscalingPolicy]{ + OutputState: i.ToNodeGroupAutoscalingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i NodeGroupAutoscalingPolicyArgs) ToNodeGroupAutoscalingPolicyPtrOutput() NodeGroupAutoscalingPolicyPtrOutput { return i.ToNodeGroupAutoscalingPolicyPtrOutputWithContext(context.Background()) } @@ -28366,6 +32441,12 @@ func (i *nodeGroupAutoscalingPolicyPtrType) ToNodeGroupAutoscalingPolicyPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(NodeGroupAutoscalingPolicyPtrOutput) } +func (i *nodeGroupAutoscalingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicy] { + return pulumix.Output[*NodeGroupAutoscalingPolicy]{ + OutputState: i.ToNodeGroupAutoscalingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type NodeGroupAutoscalingPolicyOutput struct{ *pulumi.OutputState } func (NodeGroupAutoscalingPolicyOutput) ElementType() reflect.Type { @@ -28390,6 +32471,12 @@ func (o NodeGroupAutoscalingPolicyOutput) ToNodeGroupAutoscalingPolicyPtrOutputW }).(NodeGroupAutoscalingPolicyPtrOutput) } +func (o NodeGroupAutoscalingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicy] { + return pulumix.Output[NodeGroupAutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + // The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100. func (o NodeGroupAutoscalingPolicyOutput) MaxNodes() pulumi.IntPtrOutput { return o.ApplyT(func(v NodeGroupAutoscalingPolicy) *int { return v.MaxNodes }).(pulumi.IntPtrOutput) @@ -28419,6 +32506,12 @@ func (o NodeGroupAutoscalingPolicyPtrOutput) ToNodeGroupAutoscalingPolicyPtrOutp return o } +func (o NodeGroupAutoscalingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicy] { + return pulumix.Output[*NodeGroupAutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAutoscalingPolicyPtrOutput) Elem() NodeGroupAutoscalingPolicyOutput { return o.ApplyT(func(v *NodeGroupAutoscalingPolicy) NodeGroupAutoscalingPolicy { if v != nil { @@ -28482,6 +32575,12 @@ func (o NodeGroupAutoscalingPolicyResponseOutput) ToNodeGroupAutoscalingPolicyRe return o } +func (o NodeGroupAutoscalingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicyResponse] { + return pulumix.Output[NodeGroupAutoscalingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100. func (o NodeGroupAutoscalingPolicyResponseOutput) MaxNodes() pulumi.IntOutput { return o.ApplyT(func(v NodeGroupAutoscalingPolicyResponse) int { return v.MaxNodes }).(pulumi.IntOutput) @@ -28532,6 +32631,12 @@ func (i NodeGroupMaintenanceWindowArgs) ToNodeGroupMaintenanceWindowOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(NodeGroupMaintenanceWindowOutput) } +func (i NodeGroupMaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenanceWindow] { + return pulumix.Output[NodeGroupMaintenanceWindow]{ + OutputState: i.ToNodeGroupMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i NodeGroupMaintenanceWindowArgs) ToNodeGroupMaintenanceWindowPtrOutput() NodeGroupMaintenanceWindowPtrOutput { return i.ToNodeGroupMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -28573,6 +32678,12 @@ func (i *nodeGroupMaintenanceWindowPtrType) ToNodeGroupMaintenanceWindowPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(NodeGroupMaintenanceWindowPtrOutput) } +func (i *nodeGroupMaintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenanceWindow] { + return pulumix.Output[*NodeGroupMaintenanceWindow]{ + OutputState: i.ToNodeGroupMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window. type NodeGroupMaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -28598,6 +32709,12 @@ func (o NodeGroupMaintenanceWindowOutput) ToNodeGroupMaintenanceWindowPtrOutputW }).(NodeGroupMaintenanceWindowPtrOutput) } +func (o NodeGroupMaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenanceWindow] { + return pulumix.Output[NodeGroupMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid. func (o NodeGroupMaintenanceWindowOutput) StartTime() pulumi.StringPtrOutput { return o.ApplyT(func(v NodeGroupMaintenanceWindow) *string { return v.StartTime }).(pulumi.StringPtrOutput) @@ -28617,6 +32734,12 @@ func (o NodeGroupMaintenanceWindowPtrOutput) ToNodeGroupMaintenanceWindowPtrOutp return o } +func (o NodeGroupMaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenanceWindow] { + return pulumix.Output[*NodeGroupMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenanceWindowPtrOutput) Elem() NodeGroupMaintenanceWindowOutput { return o.ApplyT(func(v *NodeGroupMaintenanceWindow) NodeGroupMaintenanceWindow { if v != nil { @@ -28660,6 +32783,12 @@ func (o NodeGroupMaintenanceWindowResponseOutput) ToNodeGroupMaintenanceWindowRe return o } +func (o NodeGroupMaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenanceWindowResponse] { + return pulumix.Output[NodeGroupMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. func (o NodeGroupMaintenanceWindowResponseOutput) MaintenanceDuration() DurationResponseOutput { return o.ApplyT(func(v NodeGroupMaintenanceWindowResponse) DurationResponse { return v.MaintenanceDuration }).(DurationResponseOutput) @@ -28705,6 +32834,12 @@ func (i NodeTemplateNodeTypeFlexibilityArgs) ToNodeTemplateNodeTypeFlexibilityOu return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateNodeTypeFlexibilityOutput) } +func (i NodeTemplateNodeTypeFlexibilityArgs) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[NodeTemplateNodeTypeFlexibility]{ + OutputState: i.ToNodeTemplateNodeTypeFlexibilityOutputWithContext(ctx).OutputState, + } +} + func (i NodeTemplateNodeTypeFlexibilityArgs) ToNodeTemplateNodeTypeFlexibilityPtrOutput() NodeTemplateNodeTypeFlexibilityPtrOutput { return i.ToNodeTemplateNodeTypeFlexibilityPtrOutputWithContext(context.Background()) } @@ -28746,6 +32881,12 @@ func (i *nodeTemplateNodeTypeFlexibilityPtrType) ToNodeTemplateNodeTypeFlexibili return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateNodeTypeFlexibilityPtrOutput) } +func (i *nodeTemplateNodeTypeFlexibilityPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[*NodeTemplateNodeTypeFlexibility]{ + OutputState: i.ToNodeTemplateNodeTypeFlexibilityPtrOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateNodeTypeFlexibilityOutput struct{ *pulumi.OutputState } func (NodeTemplateNodeTypeFlexibilityOutput) ElementType() reflect.Type { @@ -28770,6 +32911,12 @@ func (o NodeTemplateNodeTypeFlexibilityOutput) ToNodeTemplateNodeTypeFlexibility }).(NodeTemplateNodeTypeFlexibilityPtrOutput) } +func (o NodeTemplateNodeTypeFlexibilityOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[NodeTemplateNodeTypeFlexibility]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateNodeTypeFlexibilityOutput) Cpus() pulumi.StringPtrOutput { return o.ApplyT(func(v NodeTemplateNodeTypeFlexibility) *string { return v.Cpus }).(pulumi.StringPtrOutput) } @@ -28796,6 +32943,12 @@ func (o NodeTemplateNodeTypeFlexibilityPtrOutput) ToNodeTemplateNodeTypeFlexibil return o } +func (o NodeTemplateNodeTypeFlexibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[*NodeTemplateNodeTypeFlexibility]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateNodeTypeFlexibilityPtrOutput) Elem() NodeTemplateNodeTypeFlexibilityOutput { return o.ApplyT(func(v *NodeTemplateNodeTypeFlexibility) NodeTemplateNodeTypeFlexibility { if v != nil { @@ -28853,6 +33006,12 @@ func (o NodeTemplateNodeTypeFlexibilityResponseOutput) ToNodeTemplateNodeTypeFle return o } +func (o NodeTemplateNodeTypeFlexibilityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateNodeTypeFlexibilityResponse] { + return pulumix.Output[NodeTemplateNodeTypeFlexibilityResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateNodeTypeFlexibilityResponseOutput) Cpus() pulumi.StringOutput { return o.ApplyT(func(v NodeTemplateNodeTypeFlexibilityResponse) string { return v.Cpus }).(pulumi.StringOutput) } @@ -28916,6 +33075,12 @@ func (i NotificationEndpointGrpcSettingsArgs) ToNotificationEndpointGrpcSettings return pulumi.ToOutputWithContext(ctx, i).(NotificationEndpointGrpcSettingsOutput) } +func (i NotificationEndpointGrpcSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[NotificationEndpointGrpcSettings] { + return pulumix.Output[NotificationEndpointGrpcSettings]{ + OutputState: i.ToNotificationEndpointGrpcSettingsOutputWithContext(ctx).OutputState, + } +} + func (i NotificationEndpointGrpcSettingsArgs) ToNotificationEndpointGrpcSettingsPtrOutput() NotificationEndpointGrpcSettingsPtrOutput { return i.ToNotificationEndpointGrpcSettingsPtrOutputWithContext(context.Background()) } @@ -28957,6 +33122,12 @@ func (i *notificationEndpointGrpcSettingsPtrType) ToNotificationEndpointGrpcSett return pulumi.ToOutputWithContext(ctx, i).(NotificationEndpointGrpcSettingsPtrOutput) } +func (i *notificationEndpointGrpcSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NotificationEndpointGrpcSettings] { + return pulumix.Output[*NotificationEndpointGrpcSettings]{ + OutputState: i.ToNotificationEndpointGrpcSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint. type NotificationEndpointGrpcSettingsOutput struct{ *pulumi.OutputState } @@ -28982,6 +33153,12 @@ func (o NotificationEndpointGrpcSettingsOutput) ToNotificationEndpointGrpcSettin }).(NotificationEndpointGrpcSettingsPtrOutput) } +func (o NotificationEndpointGrpcSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationEndpointGrpcSettings] { + return pulumix.Output[NotificationEndpointGrpcSettings]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3 func (o NotificationEndpointGrpcSettingsOutput) Authority() pulumi.StringPtrOutput { return o.ApplyT(func(v NotificationEndpointGrpcSettings) *string { return v.Authority }).(pulumi.StringPtrOutput) @@ -29021,6 +33198,12 @@ func (o NotificationEndpointGrpcSettingsPtrOutput) ToNotificationEndpointGrpcSet return o } +func (o NotificationEndpointGrpcSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationEndpointGrpcSettings] { + return pulumix.Output[*NotificationEndpointGrpcSettings]{ + OutputState: o.OutputState, + } +} + func (o NotificationEndpointGrpcSettingsPtrOutput) Elem() NotificationEndpointGrpcSettingsOutput { return o.ApplyT(func(v *NotificationEndpointGrpcSettings) NotificationEndpointGrpcSettings { if v != nil { @@ -29110,6 +33293,12 @@ func (o NotificationEndpointGrpcSettingsResponseOutput) ToNotificationEndpointGr return o } +func (o NotificationEndpointGrpcSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationEndpointGrpcSettingsResponse] { + return pulumix.Output[NotificationEndpointGrpcSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3 func (o NotificationEndpointGrpcSettingsResponseOutput) Authority() pulumi.StringOutput { return o.ApplyT(func(v NotificationEndpointGrpcSettingsResponse) string { return v.Authority }).(pulumi.StringOutput) @@ -29210,6 +33399,12 @@ func (i OutlierDetectionArgs) ToOutlierDetectionOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(OutlierDetectionOutput) } +func (i OutlierDetectionArgs) ToOutput(ctx context.Context) pulumix.Output[OutlierDetection] { + return pulumix.Output[OutlierDetection]{ + OutputState: i.ToOutlierDetectionOutputWithContext(ctx).OutputState, + } +} + func (i OutlierDetectionArgs) ToOutlierDetectionPtrOutput() OutlierDetectionPtrOutput { return i.ToOutlierDetectionPtrOutputWithContext(context.Background()) } @@ -29251,6 +33446,12 @@ func (i *outlierDetectionPtrType) ToOutlierDetectionPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OutlierDetectionPtrOutput) } +func (i *outlierDetectionPtrType) ToOutput(ctx context.Context) pulumix.Output[*OutlierDetection] { + return pulumix.Output[*OutlierDetection]{ + OutputState: i.ToOutlierDetectionPtrOutputWithContext(ctx).OutputState, + } +} + // Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. type OutlierDetectionOutput struct{ *pulumi.OutputState } @@ -29276,6 +33477,12 @@ func (o OutlierDetectionOutput) ToOutlierDetectionPtrOutputWithContext(ctx conte }).(OutlierDetectionPtrOutput) } +func (o OutlierDetectionOutput) ToOutput(ctx context.Context) pulumix.Output[OutlierDetection] { + return pulumix.Output[OutlierDetection]{ + OutputState: o.OutputState, + } +} + // The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. func (o OutlierDetectionOutput) BaseEjectionTime() DurationPtrOutput { return o.ApplyT(func(v OutlierDetection) *Duration { return v.BaseEjectionTime }).(DurationPtrOutput) @@ -29345,6 +33552,12 @@ func (o OutlierDetectionPtrOutput) ToOutlierDetectionPtrOutputWithContext(ctx co return o } +func (o OutlierDetectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OutlierDetection] { + return pulumix.Output[*OutlierDetection]{ + OutputState: o.OutputState, + } +} + func (o OutlierDetectionPtrOutput) Elem() OutlierDetectionOutput { return o.ApplyT(func(v *OutlierDetection) OutlierDetection { if v != nil { @@ -29506,6 +33719,12 @@ func (o OutlierDetectionResponseOutput) ToOutlierDetectionResponseOutputWithCont return o } +func (o OutlierDetectionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OutlierDetectionResponse] { + return pulumix.Output[OutlierDetectionResponse]{ + OutputState: o.OutputState, + } +} + // The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. func (o OutlierDetectionResponseOutput) BaseEjectionTime() DurationResponseOutput { return o.ApplyT(func(v OutlierDetectionResponse) DurationResponse { return v.BaseEjectionTime }).(DurationResponseOutput) @@ -29602,6 +33821,12 @@ func (i PacketMirroringFilterArgs) ToPacketMirroringFilterOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringFilterOutput) } +func (i PacketMirroringFilterArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilter] { + return pulumix.Output[PacketMirroringFilter]{ + OutputState: i.ToPacketMirroringFilterOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringFilterArgs) ToPacketMirroringFilterPtrOutput() PacketMirroringFilterPtrOutput { return i.ToPacketMirroringFilterPtrOutputWithContext(context.Background()) } @@ -29643,6 +33868,12 @@ func (i *packetMirroringFilterPtrType) ToPacketMirroringFilterPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringFilterPtrOutput) } +func (i *packetMirroringFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilter] { + return pulumix.Output[*PacketMirroringFilter]{ + OutputState: i.ToPacketMirroringFilterPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringFilterOutput struct{ *pulumi.OutputState } func (PacketMirroringFilterOutput) ElementType() reflect.Type { @@ -29667,6 +33898,12 @@ func (o PacketMirroringFilterOutput) ToPacketMirroringFilterPtrOutputWithContext }).(PacketMirroringFilterPtrOutput) } +func (o PacketMirroringFilterOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilter] { + return pulumix.Output[PacketMirroringFilter]{ + OutputState: o.OutputState, + } +} + // IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. func (o PacketMirroringFilterOutput) CidrRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v PacketMirroringFilter) []string { return v.CidrRanges }).(pulumi.StringArrayOutput) @@ -29696,6 +33933,12 @@ func (o PacketMirroringFilterPtrOutput) ToPacketMirroringFilterPtrOutputWithCont return o } +func (o PacketMirroringFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilter] { + return pulumix.Output[*PacketMirroringFilter]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringFilterPtrOutput) Elem() PacketMirroringFilterOutput { return o.ApplyT(func(v *PacketMirroringFilter) PacketMirroringFilter { if v != nil { @@ -29759,6 +34002,12 @@ func (o PacketMirroringFilterResponseOutput) ToPacketMirroringFilterResponseOutp return o } +func (o PacketMirroringFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilterResponse] { + return pulumix.Output[PacketMirroringFilterResponse]{ + OutputState: o.OutputState, + } +} + // IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. func (o PacketMirroringFilterResponseOutput) CidrRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v PacketMirroringFilterResponse) []string { return v.CidrRanges }).(pulumi.StringArrayOutput) @@ -29807,6 +34056,12 @@ func (i PacketMirroringForwardingRuleInfoArgs) ToPacketMirroringForwardingRuleIn return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringForwardingRuleInfoOutput) } +func (i PacketMirroringForwardingRuleInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringForwardingRuleInfo] { + return pulumix.Output[PacketMirroringForwardingRuleInfo]{ + OutputState: i.ToPacketMirroringForwardingRuleInfoOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringForwardingRuleInfoArgs) ToPacketMirroringForwardingRuleInfoPtrOutput() PacketMirroringForwardingRuleInfoPtrOutput { return i.ToPacketMirroringForwardingRuleInfoPtrOutputWithContext(context.Background()) } @@ -29848,6 +34103,12 @@ func (i *packetMirroringForwardingRuleInfoPtrType) ToPacketMirroringForwardingRu return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringForwardingRuleInfoPtrOutput) } +func (i *packetMirroringForwardingRuleInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringForwardingRuleInfo] { + return pulumix.Output[*PacketMirroringForwardingRuleInfo]{ + OutputState: i.ToPacketMirroringForwardingRuleInfoPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringForwardingRuleInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringForwardingRuleInfoOutput) ElementType() reflect.Type { @@ -29872,6 +34133,12 @@ func (o PacketMirroringForwardingRuleInfoOutput) ToPacketMirroringForwardingRule }).(PacketMirroringForwardingRuleInfoPtrOutput) } +func (o PacketMirroringForwardingRuleInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringForwardingRuleInfo] { + return pulumix.Output[PacketMirroringForwardingRuleInfo]{ + OutputState: o.OutputState, + } +} + // Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic. func (o PacketMirroringForwardingRuleInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringForwardingRuleInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -29891,6 +34158,12 @@ func (o PacketMirroringForwardingRuleInfoPtrOutput) ToPacketMirroringForwardingR return o } +func (o PacketMirroringForwardingRuleInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringForwardingRuleInfo] { + return pulumix.Output[*PacketMirroringForwardingRuleInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringForwardingRuleInfoPtrOutput) Elem() PacketMirroringForwardingRuleInfoOutput { return o.ApplyT(func(v *PacketMirroringForwardingRuleInfo) PacketMirroringForwardingRuleInfo { if v != nil { @@ -29932,6 +34205,12 @@ func (o PacketMirroringForwardingRuleInfoResponseOutput) ToPacketMirroringForwar return o } +func (o PacketMirroringForwardingRuleInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringForwardingRuleInfoResponse] { + return pulumix.Output[PacketMirroringForwardingRuleInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the forwarding rule; defined by the server. func (o PacketMirroringForwardingRuleInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringForwardingRuleInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -29983,6 +34262,12 @@ func (i PacketMirroringMirroredResourceInfoArgs) ToPacketMirroringMirroredResour return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoOutput) } +func (i PacketMirroringMirroredResourceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringMirroredResourceInfoArgs) ToPacketMirroringMirroredResourceInfoPtrOutput() PacketMirroringMirroredResourceInfoPtrOutput { return i.ToPacketMirroringMirroredResourceInfoPtrOutputWithContext(context.Background()) } @@ -30024,6 +34309,12 @@ func (i *packetMirroringMirroredResourceInfoPtrType) ToPacketMirroringMirroredRe return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoPtrOutput) } +func (i *packetMirroringMirroredResourceInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringMirroredResourceInfo] { + return pulumix.Output[*PacketMirroringMirroredResourceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringMirroredResourceInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringMirroredResourceInfoOutput) ElementType() reflect.Type { @@ -30048,6 +34339,12 @@ func (o PacketMirroringMirroredResourceInfoOutput) ToPacketMirroringMirroredReso }).(PacketMirroringMirroredResourceInfoPtrOutput) } +func (o PacketMirroringMirroredResourceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfo]{ + OutputState: o.OutputState, + } +} + // A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances. func (o PacketMirroringMirroredResourceInfoOutput) Instances() PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfo) []PacketMirroringMirroredResourceInfoInstanceInfo { @@ -30081,6 +34378,12 @@ func (o PacketMirroringMirroredResourceInfoPtrOutput) ToPacketMirroringMirroredR return o } +func (o PacketMirroringMirroredResourceInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringMirroredResourceInfo] { + return pulumix.Output[*PacketMirroringMirroredResourceInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoPtrOutput) Elem() PacketMirroringMirroredResourceInfoOutput { return o.ApplyT(func(v *PacketMirroringMirroredResourceInfo) PacketMirroringMirroredResourceInfo { if v != nil { @@ -30154,6 +34457,12 @@ func (i PacketMirroringMirroredResourceInfoInstanceInfoArgs) ToPacketMirroringMi return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoInstanceInfoOutput) } +func (i PacketMirroringMirroredResourceInfoInstanceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoInstanceInfoOutputWithContext(ctx).OutputState, + } +} + // PacketMirroringMirroredResourceInfoInstanceInfoArrayInput is an input type that accepts PacketMirroringMirroredResourceInfoInstanceInfoArray and PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput values. // You can construct a concrete instance of `PacketMirroringMirroredResourceInfoInstanceInfoArrayInput` via: // @@ -30179,6 +34488,12 @@ func (i PacketMirroringMirroredResourceInfoInstanceInfoArray) ToPacketMirroringM return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) } +func (i PacketMirroringMirroredResourceInfoInstanceInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoInstanceInfoArrayOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringMirroredResourceInfoInstanceInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringMirroredResourceInfoInstanceInfoOutput) ElementType() reflect.Type { @@ -30193,6 +34508,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoOutput) ToPacketMirroring return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: o.OutputState, + } +} + // Resource URL to the virtual machine instance which is being mirrored. func (o PacketMirroringMirroredResourceInfoInstanceInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoInstanceInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -30212,6 +34533,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) ToPacketMirr return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoInstanceInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoInstanceInfo { return vs[0].([]PacketMirroringMirroredResourceInfoInstanceInfo)[vs[1].(int)] @@ -30239,6 +34566,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput) ToPacketM return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfoResponse] { + return pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the instance; defined by the server. func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoInstanceInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -30263,6 +34596,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput) ToPa return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfoResponse] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoInstanceInfoResponse { return vs[0].([]PacketMirroringMirroredResourceInfoInstanceInfoResponse)[vs[1].(int)] @@ -30292,6 +34631,12 @@ func (o PacketMirroringMirroredResourceInfoResponseOutput) ToPacketMirroringMirr return o } +func (o PacketMirroringMirroredResourceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoResponse] { + return pulumix.Output[PacketMirroringMirroredResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + // A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances. func (o PacketMirroringMirroredResourceInfoResponseOutput) Instances() PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoResponse) []PacketMirroringMirroredResourceInfoInstanceInfoResponse { @@ -30344,6 +34689,12 @@ func (i PacketMirroringMirroredResourceInfoSubnetInfoArgs) ToPacketMirroringMirr return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoSubnetInfoOutput) } +func (i PacketMirroringMirroredResourceInfoSubnetInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoSubnetInfoOutputWithContext(ctx).OutputState, + } +} + // PacketMirroringMirroredResourceInfoSubnetInfoArrayInput is an input type that accepts PacketMirroringMirroredResourceInfoSubnetInfoArray and PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput values. // You can construct a concrete instance of `PacketMirroringMirroredResourceInfoSubnetInfoArrayInput` via: // @@ -30369,6 +34720,12 @@ func (i PacketMirroringMirroredResourceInfoSubnetInfoArray) ToPacketMirroringMir return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) } +func (i PacketMirroringMirroredResourceInfoSubnetInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoSubnetInfoArrayOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringMirroredResourceInfoSubnetInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringMirroredResourceInfoSubnetInfoOutput) ElementType() reflect.Type { @@ -30383,6 +34740,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoOutput) ToPacketMirroringMi return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: o.OutputState, + } +} + // Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored. func (o PacketMirroringMirroredResourceInfoSubnetInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoSubnetInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -30402,6 +34765,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) ToPacketMirror return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoSubnetInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoSubnetInfo { return vs[0].([]PacketMirroringMirroredResourceInfoSubnetInfo)[vs[1].(int)] @@ -30429,6 +34798,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput) ToPacketMir return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfoResponse] { + return pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the subnetwork; defined by the server. func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoSubnetInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -30453,6 +34828,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseArrayOutput) ToPack return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfoResponse] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoSubnetInfoResponse { return vs[0].([]PacketMirroringMirroredResourceInfoSubnetInfoResponse)[vs[1].(int)] @@ -30492,6 +34873,12 @@ func (i PacketMirroringNetworkInfoArgs) ToPacketMirroringNetworkInfoOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringNetworkInfoOutput) } +func (i PacketMirroringNetworkInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringNetworkInfo] { + return pulumix.Output[PacketMirroringNetworkInfo]{ + OutputState: i.ToPacketMirroringNetworkInfoOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringNetworkInfoArgs) ToPacketMirroringNetworkInfoPtrOutput() PacketMirroringNetworkInfoPtrOutput { return i.ToPacketMirroringNetworkInfoPtrOutputWithContext(context.Background()) } @@ -30533,6 +34920,12 @@ func (i *packetMirroringNetworkInfoPtrType) ToPacketMirroringNetworkInfoPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringNetworkInfoPtrOutput) } +func (i *packetMirroringNetworkInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringNetworkInfo] { + return pulumix.Output[*PacketMirroringNetworkInfo]{ + OutputState: i.ToPacketMirroringNetworkInfoPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringNetworkInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringNetworkInfoOutput) ElementType() reflect.Type { @@ -30557,6 +34950,12 @@ func (o PacketMirroringNetworkInfoOutput) ToPacketMirroringNetworkInfoPtrOutputW }).(PacketMirroringNetworkInfoPtrOutput) } +func (o PacketMirroringNetworkInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringNetworkInfo] { + return pulumix.Output[PacketMirroringNetworkInfo]{ + OutputState: o.OutputState, + } +} + // URL of the network resource. func (o PacketMirroringNetworkInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringNetworkInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -30576,6 +34975,12 @@ func (o PacketMirroringNetworkInfoPtrOutput) ToPacketMirroringNetworkInfoPtrOutp return o } +func (o PacketMirroringNetworkInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringNetworkInfo] { + return pulumix.Output[*PacketMirroringNetworkInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringNetworkInfoPtrOutput) Elem() PacketMirroringNetworkInfoOutput { return o.ApplyT(func(v *PacketMirroringNetworkInfo) PacketMirroringNetworkInfo { if v != nil { @@ -30617,6 +35022,12 @@ func (o PacketMirroringNetworkInfoResponseOutput) ToPacketMirroringNetworkInfoRe return o } +func (o PacketMirroringNetworkInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringNetworkInfoResponse] { + return pulumix.Output[PacketMirroringNetworkInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the network; defined by the server. func (o PacketMirroringNetworkInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringNetworkInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -30694,6 +35105,12 @@ func (i PathMatcherArgs) ToPathMatcherOutputWithContext(ctx context.Context) Pat return pulumi.ToOutputWithContext(ctx, i).(PathMatcherOutput) } +func (i PathMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[PathMatcher] { + return pulumix.Output[PathMatcher]{ + OutputState: i.ToPathMatcherOutputWithContext(ctx).OutputState, + } +} + // PathMatcherArrayInput is an input type that accepts PathMatcherArray and PathMatcherArrayOutput values. // You can construct a concrete instance of `PathMatcherArrayInput` via: // @@ -30719,6 +35136,12 @@ func (i PathMatcherArray) ToPathMatcherArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(PathMatcherArrayOutput) } +func (i PathMatcherArray) ToOutput(ctx context.Context) pulumix.Output[[]PathMatcher] { + return pulumix.Output[[]PathMatcher]{ + OutputState: i.ToPathMatcherArrayOutputWithContext(ctx).OutputState, + } +} + // A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used. type PathMatcherOutput struct{ *pulumi.OutputState } @@ -30734,6 +35157,12 @@ func (o PathMatcherOutput) ToPathMatcherOutputWithContext(ctx context.Context) P return o } +func (o PathMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[PathMatcher] { + return pulumix.Output[PathMatcher]{ + OutputState: o.OutputState, + } +} + // defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o PathMatcherOutput) DefaultCustomErrorResponsePolicy() CustomErrorResponsePolicyPtrOutput { return o.ApplyT(func(v PathMatcher) *CustomErrorResponsePolicy { return v.DefaultCustomErrorResponsePolicy }).(CustomErrorResponsePolicyPtrOutput) @@ -30793,6 +35222,12 @@ func (o PathMatcherArrayOutput) ToPathMatcherArrayOutputWithContext(ctx context. return o } +func (o PathMatcherArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathMatcher] { + return pulumix.Output[[]PathMatcher]{ + OutputState: o.OutputState, + } +} + func (o PathMatcherArrayOutput) Index(i pulumi.IntInput) PathMatcherOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathMatcher { return vs[0].([]PathMatcher)[vs[1].(int)] @@ -30836,6 +35271,12 @@ func (o PathMatcherResponseOutput) ToPathMatcherResponseOutputWithContext(ctx co return o } +func (o PathMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PathMatcherResponse] { + return pulumix.Output[PathMatcherResponse]{ + OutputState: o.OutputState, + } +} + // defaultCustomErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. This policy takes effect at the PathMatcher level and applies only when no policy has been defined for the error code at lower levels like RouteRule and PathRule within this PathMatcher. If an error code does not have a policy defined in defaultCustomErrorResponsePolicy, then a policy defined for the error code in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy is configured with policies for 5xx and 4xx errors - A RouteRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in RouteRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. When used in conjunction with pathMatcher.defaultRouteAction.retryPolicy, retries take precedence. Only once all retries are exhausted, the defaultCustomErrorResponsePolicy is applied. While attempting a retry, if load balancer is successful in reaching the service, the defaultCustomErrorResponsePolicy is ignored and the response from the service is returned to the client. defaultCustomErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o PathMatcherResponseOutput) DefaultCustomErrorResponsePolicy() CustomErrorResponsePolicyResponseOutput { return o.ApplyT(func(v PathMatcherResponse) CustomErrorResponsePolicyResponse { @@ -30897,6 +35338,12 @@ func (o PathMatcherResponseArrayOutput) ToPathMatcherResponseArrayOutputWithCont return o } +func (o PathMatcherResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathMatcherResponse] { + return pulumix.Output[[]PathMatcherResponse]{ + OutputState: o.OutputState, + } +} + func (o PathMatcherResponseArrayOutput) Index(i pulumi.IntInput) PathMatcherResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathMatcherResponse { return vs[0].([]PathMatcherResponse)[vs[1].(int)] @@ -30954,6 +35401,12 @@ func (i PathRuleArgs) ToPathRuleOutputWithContext(ctx context.Context) PathRuleO return pulumi.ToOutputWithContext(ctx, i).(PathRuleOutput) } +func (i PathRuleArgs) ToOutput(ctx context.Context) pulumix.Output[PathRule] { + return pulumix.Output[PathRule]{ + OutputState: i.ToPathRuleOutputWithContext(ctx).OutputState, + } +} + // PathRuleArrayInput is an input type that accepts PathRuleArray and PathRuleArrayOutput values. // You can construct a concrete instance of `PathRuleArrayInput` via: // @@ -30979,6 +35432,12 @@ func (i PathRuleArray) ToPathRuleArrayOutputWithContext(ctx context.Context) Pat return pulumi.ToOutputWithContext(ctx, i).(PathRuleArrayOutput) } +func (i PathRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]PathRule] { + return pulumix.Output[[]PathRule]{ + OutputState: i.ToPathRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL. type PathRuleOutput struct{ *pulumi.OutputState } @@ -30994,6 +35453,12 @@ func (o PathRuleOutput) ToPathRuleOutputWithContext(ctx context.Context) PathRul return o } +func (o PathRuleOutput) ToOutput(ctx context.Context) pulumix.Output[PathRule] { + return pulumix.Output[PathRule]{ + OutputState: o.OutputState, + } +} + // customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o PathRuleOutput) CustomErrorResponsePolicy() CustomErrorResponsePolicyPtrOutput { return o.ApplyT(func(v PathRule) *CustomErrorResponsePolicy { return v.CustomErrorResponsePolicy }).(CustomErrorResponsePolicyPtrOutput) @@ -31033,6 +35498,12 @@ func (o PathRuleArrayOutput) ToPathRuleArrayOutputWithContext(ctx context.Contex return o } +func (o PathRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathRule] { + return pulumix.Output[[]PathRule]{ + OutputState: o.OutputState, + } +} + func (o PathRuleArrayOutput) Index(i pulumi.IntInput) PathRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathRule { return vs[0].([]PathRule)[vs[1].(int)] @@ -31068,6 +35539,12 @@ func (o PathRuleResponseOutput) ToPathRuleResponseOutputWithContext(ctx context. return o } +func (o PathRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PathRuleResponse] { + return pulumix.Output[PathRuleResponse]{ + OutputState: o.OutputState, + } +} + // customErrorResponsePolicy specifies how the Load Balancer returns error responses when BackendServiceor BackendBucket responds with an error. If a policy for an error code is not configured for the PathRule, a policy for the error code configured in pathMatcher.defaultCustomErrorResponsePolicy is applied. If one is not specified in pathMatcher.defaultCustomErrorResponsePolicy, the policy configured in UrlMap.defaultCustomErrorResponsePolicy takes effect. For example, consider a UrlMap with the following configuration: - UrlMap.defaultCustomErrorResponsePolicy are configured with policies for 5xx and 4xx errors - A PathRule for /coming_soon/ is configured for the error code 404. If the request is for www.myotherdomain.com and a 404 is encountered, the policy under UrlMap.defaultCustomErrorResponsePolicy takes effect. If a 404 response is encountered for the request www.example.com/current_events/, the pathMatcher's policy takes effect. If however, the request for www.example.com/coming_soon/ encounters a 404, the policy in PathRule.customErrorResponsePolicy takes effect. If any of the requests in this example encounter a 500 error code, the policy at UrlMap.defaultCustomErrorResponsePolicy takes effect. customErrorResponsePolicy is supported only for Global External HTTP(S) load balancing. func (o PathRuleResponseOutput) CustomErrorResponsePolicy() CustomErrorResponsePolicyResponseOutput { return o.ApplyT(func(v PathRuleResponse) CustomErrorResponsePolicyResponse { return v.CustomErrorResponsePolicy }).(CustomErrorResponsePolicyResponseOutput) @@ -31107,6 +35584,12 @@ func (o PathRuleResponseArrayOutput) ToPathRuleResponseArrayOutputWithContext(ct return o } +func (o PathRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathRuleResponse] { + return pulumix.Output[[]PathRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o PathRuleResponseArrayOutput) Index(i pulumi.IntInput) PathRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathRuleResponse { return vs[0].([]PathRuleResponse)[vs[1].(int)] @@ -31142,6 +35625,12 @@ func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput) ToPublicAdver return o } +func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublicAdvertisedPrefixPublicDelegatedPrefixResponse] { + return pulumix.Output[PublicAdvertisedPrefixPublicDelegatedPrefixResponse]{ + OutputState: o.OutputState, + } +} + // The IP address range of the public delegated prefix func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput) IpRange() pulumi.StringOutput { return o.ApplyT(func(v PublicAdvertisedPrefixPublicDelegatedPrefixResponse) string { return v.IpRange }).(pulumi.StringOutput) @@ -31181,6 +35670,12 @@ func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseArrayOutput) ToPublic return o } +func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PublicAdvertisedPrefixPublicDelegatedPrefixResponse] { + return pulumix.Output[[]PublicAdvertisedPrefixPublicDelegatedPrefixResponse]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseArrayOutput) Index(i pulumi.IntInput) PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicAdvertisedPrefixPublicDelegatedPrefixResponse { return vs[0].([]PublicAdvertisedPrefixPublicDelegatedPrefixResponse)[vs[1].(int)] @@ -31238,6 +35733,12 @@ func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArgs) ToPublicDelegatedPref return pulumi.ToOutputWithContext(ctx, i).(PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) } +func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArgs) ToOutput(ctx context.Context) pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: i.ToPublicDelegatedPrefixPublicDelegatedSubPrefixOutputWithContext(ctx).OutputState, + } +} + // PublicDelegatedPrefixPublicDelegatedSubPrefixArrayInput is an input type that accepts PublicDelegatedPrefixPublicDelegatedSubPrefixArray and PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput values. // You can construct a concrete instance of `PublicDelegatedPrefixPublicDelegatedSubPrefixArrayInput` via: // @@ -31263,6 +35764,12 @@ func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArray) ToPublicDelegatedPre return pulumi.ToOutputWithContext(ctx, i).(PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) } +func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArray) ToOutput(ctx context.Context) pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: i.ToPublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a sub PublicDelegatedPrefix. type PublicDelegatedPrefixPublicDelegatedSubPrefixOutput struct{ *pulumi.OutputState } @@ -31278,6 +35785,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) ToPublicDelegatedPr return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: o.OutputState, + } +} + // Name of the project scoping this PublicDelegatedSubPrefix. func (o PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) DelegateeProject() pulumi.StringPtrOutput { return o.ApplyT(func(v PublicDelegatedPrefixPublicDelegatedSubPrefix) *string { return v.DelegateeProject }).(pulumi.StringPtrOutput) @@ -31317,6 +35830,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) ToPublicDelega return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: o.OutputState, + } +} + func (o PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) Index(i pulumi.IntInput) PublicDelegatedPrefixPublicDelegatedSubPrefixOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicDelegatedPrefixPublicDelegatedSubPrefix { return vs[0].([]PublicDelegatedPrefixPublicDelegatedSubPrefix)[vs[1].(int)] @@ -31356,6 +35875,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput) ToPublicDel return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefixResponse] { + return pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefixResponse]{ + OutputState: o.OutputState, + } +} + // Name of the project scoping this PublicDelegatedSubPrefix. func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput) DelegateeProject() pulumi.StringOutput { return o.ApplyT(func(v PublicDelegatedPrefixPublicDelegatedSubPrefixResponse) string { return v.DelegateeProject }).(pulumi.StringOutput) @@ -31405,6 +35930,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseArrayOutput) ToPubl return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefixResponse] { + return pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefixResponse]{ + OutputState: o.OutputState, + } +} + func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseArrayOutput) Index(i pulumi.IntInput) PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicDelegatedPrefixPublicDelegatedSubPrefixResponse { return vs[0].([]PublicDelegatedPrefixPublicDelegatedSubPrefixResponse)[vs[1].(int)] @@ -31432,6 +35963,12 @@ func (o RegionSslPolicyWarningsItemDataItemResponseOutput) ToRegionSslPolicyWarn return o } +func (o RegionSslPolicyWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[RegionSslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o RegionSslPolicyWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v RegionSslPolicyWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -31456,6 +35993,12 @@ func (o RegionSslPolicyWarningsItemDataItemResponseArrayOutput) ToRegionSslPolic return o } +func (o RegionSslPolicyWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegionSslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[[]RegionSslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) RegionSslPolicyWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegionSslPolicyWarningsItemDataItemResponse { return vs[0].([]RegionSslPolicyWarningsItemDataItemResponse)[vs[1].(int)] @@ -31485,6 +36028,12 @@ func (o RegionSslPolicyWarningsItemResponseOutput) ToRegionSslPolicyWarningsItem return o } +func (o RegionSslPolicyWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyWarningsItemResponse] { + return pulumix.Output[RegionSslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o RegionSslPolicyWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v RegionSslPolicyWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -31516,6 +36065,12 @@ func (o RegionSslPolicyWarningsItemResponseArrayOutput) ToRegionSslPolicyWarning return o } +func (o RegionSslPolicyWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegionSslPolicyWarningsItemResponse] { + return pulumix.Output[[]RegionSslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) RegionSslPolicyWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegionSslPolicyWarningsItemResponse { return vs[0].([]RegionSslPolicyWarningsItemResponse)[vs[1].(int)] @@ -31557,6 +36112,12 @@ func (i RequestMirrorPolicyArgs) ToRequestMirrorPolicyOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(RequestMirrorPolicyOutput) } +func (i RequestMirrorPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RequestMirrorPolicy] { + return pulumix.Output[RequestMirrorPolicy]{ + OutputState: i.ToRequestMirrorPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RequestMirrorPolicyArgs) ToRequestMirrorPolicyPtrOutput() RequestMirrorPolicyPtrOutput { return i.ToRequestMirrorPolicyPtrOutputWithContext(context.Background()) } @@ -31598,6 +36159,12 @@ func (i *requestMirrorPolicyPtrType) ToRequestMirrorPolicyPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RequestMirrorPolicyPtrOutput) } +func (i *requestMirrorPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RequestMirrorPolicy] { + return pulumix.Output[*RequestMirrorPolicy]{ + OutputState: i.ToRequestMirrorPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer doesn't wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow. type RequestMirrorPolicyOutput struct{ *pulumi.OutputState } @@ -31623,6 +36190,12 @@ func (o RequestMirrorPolicyOutput) ToRequestMirrorPolicyPtrOutputWithContext(ctx }).(RequestMirrorPolicyPtrOutput) } +func (o RequestMirrorPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RequestMirrorPolicy] { + return pulumix.Output[RequestMirrorPolicy]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. func (o RequestMirrorPolicyOutput) BackendService() pulumi.StringPtrOutput { return o.ApplyT(func(v RequestMirrorPolicy) *string { return v.BackendService }).(pulumi.StringPtrOutput) @@ -31642,6 +36215,12 @@ func (o RequestMirrorPolicyPtrOutput) ToRequestMirrorPolicyPtrOutputWithContext( return o } +func (o RequestMirrorPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RequestMirrorPolicy] { + return pulumix.Output[*RequestMirrorPolicy]{ + OutputState: o.OutputState, + } +} + func (o RequestMirrorPolicyPtrOutput) Elem() RequestMirrorPolicyOutput { return o.ApplyT(func(v *RequestMirrorPolicy) RequestMirrorPolicy { if v != nil { @@ -31683,6 +36262,12 @@ func (o RequestMirrorPolicyResponseOutput) ToRequestMirrorPolicyResponseOutputWi return o } +func (o RequestMirrorPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RequestMirrorPolicyResponse] { + return pulumix.Output[RequestMirrorPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. func (o RequestMirrorPolicyResponseOutput) BackendService() pulumi.StringOutput { return o.ApplyT(func(v RequestMirrorPolicyResponse) string { return v.BackendService }).(pulumi.StringOutput) @@ -31747,6 +36332,12 @@ func (i ReservationTypeArgs) ToReservationTypeOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ReservationTypeOutput) } +func (i ReservationTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationType] { + return pulumix.Output[ReservationType]{ + OutputState: i.ToReservationTypeOutputWithContext(ctx).OutputState, + } +} + // ReservationTypeArrayInput is an input type that accepts ReservationTypeArray and ReservationTypeArrayOutput values. // You can construct a concrete instance of `ReservationTypeArrayInput` via: // @@ -31772,6 +36363,12 @@ func (i ReservationTypeArray) ToReservationTypeArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ReservationTypeArrayOutput) } +func (i ReservationTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]ReservationType] { + return pulumix.Output[[]ReservationType]{ + OutputState: i.ToReservationTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources. type ReservationTypeOutput struct{ *pulumi.OutputState } @@ -31787,6 +36384,12 @@ func (o ReservationTypeOutput) ToReservationTypeOutputWithContext(ctx context.Co return o } +func (o ReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationType] { + return pulumix.Output[ReservationType]{ + OutputState: o.OutputState, + } +} + // An optional description of this resource. Provide this property when you create the resource. func (o ReservationTypeOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v ReservationType) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -31836,6 +36439,12 @@ func (o ReservationTypeArrayOutput) ToReservationTypeArrayOutputWithContext(ctx return o } +func (o ReservationTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReservationType] { + return pulumix.Output[[]ReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationTypeArrayOutput) Index(i pulumi.IntInput) ReservationTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReservationType { return vs[0].([]ReservationType)[vs[1].(int)] @@ -31885,6 +36494,12 @@ func (i ReservationAffinityArgs) ToReservationAffinityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityOutput) } +func (i ReservationAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: i.ToReservationAffinityOutputWithContext(ctx).OutputState, + } +} + func (i ReservationAffinityArgs) ToReservationAffinityPtrOutput() ReservationAffinityPtrOutput { return i.ToReservationAffinityPtrOutputWithContext(context.Background()) } @@ -31926,6 +36541,12 @@ func (i *reservationAffinityPtrType) ToReservationAffinityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityPtrOutput) } +func (i *reservationAffinityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: i.ToReservationAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the reservations that this instance can consume from. type ReservationAffinityOutput struct{ *pulumi.OutputState } @@ -31951,6 +36572,12 @@ func (o ReservationAffinityOutput) ToReservationAffinityPtrOutputWithContext(ctx }).(ReservationAffinityPtrOutput) } +func (o ReservationAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: o.OutputState, + } +} + // Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. func (o ReservationAffinityOutput) ConsumeReservationType() ReservationAffinityConsumeReservationTypePtrOutput { return o.ApplyT(func(v ReservationAffinity) *ReservationAffinityConsumeReservationType { @@ -31982,6 +36609,12 @@ func (o ReservationAffinityPtrOutput) ToReservationAffinityPtrOutputWithContext( return o } +func (o ReservationAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityPtrOutput) Elem() ReservationAffinityOutput { return o.ApplyT(func(v *ReservationAffinity) ReservationAffinity { if v != nil { @@ -32047,6 +36680,12 @@ func (o ReservationAffinityResponseOutput) ToReservationAffinityResponseOutputWi return o } +func (o ReservationAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityResponse] { + return pulumix.Output[ReservationAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. func (o ReservationAffinityResponseOutput) ConsumeReservationType() pulumi.StringOutput { return o.ApplyT(func(v ReservationAffinityResponse) string { return v.ConsumeReservationType }).(pulumi.StringOutput) @@ -32109,6 +36748,12 @@ func (o ReservationResponseOutput) ToReservationResponseOutputWithContext(ctx co return o } +func (o ReservationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationResponse] { + return pulumix.Output[ReservationResponse]{ + OutputState: o.OutputState, + } +} + // Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. func (o ReservationResponseOutput) Commitment() pulumi.StringOutput { return o.ApplyT(func(v ReservationResponse) string { return v.Commitment }).(pulumi.StringOutput) @@ -32193,6 +36838,12 @@ func (o ReservationResponseArrayOutput) ToReservationResponseArrayOutputWithCont return o } +func (o ReservationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReservationResponse] { + return pulumix.Output[[]ReservationResponse]{ + OutputState: o.OutputState, + } +} + func (o ReservationResponseArrayOutput) Index(i pulumi.IntInput) ReservationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReservationResponse { return vs[0].([]ReservationResponse)[vs[1].(int)] @@ -32242,6 +36893,12 @@ func (i ResourceCommitmentArgs) ToResourceCommitmentOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ResourceCommitmentOutput) } +func (i ResourceCommitmentArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitment] { + return pulumix.Output[ResourceCommitment]{ + OutputState: i.ToResourceCommitmentOutputWithContext(ctx).OutputState, + } +} + // ResourceCommitmentArrayInput is an input type that accepts ResourceCommitmentArray and ResourceCommitmentArrayOutput values. // You can construct a concrete instance of `ResourceCommitmentArrayInput` via: // @@ -32267,6 +36924,12 @@ func (i ResourceCommitmentArray) ToResourceCommitmentArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourceCommitmentArrayOutput) } +func (i ResourceCommitmentArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourceCommitment] { + return pulumix.Output[[]ResourceCommitment]{ + OutputState: i.ToResourceCommitmentArrayOutputWithContext(ctx).OutputState, + } +} + // Commitment for a particular resource (a Commitment is composed of one or more of these). type ResourceCommitmentOutput struct{ *pulumi.OutputState } @@ -32282,6 +36945,12 @@ func (o ResourceCommitmentOutput) ToResourceCommitmentOutputWithContext(ctx cont return o } +func (o ResourceCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitment] { + return pulumix.Output[ResourceCommitment]{ + OutputState: o.OutputState, + } +} + // Name of the accelerator type resource. Applicable only when the type is ACCELERATOR. func (o ResourceCommitmentOutput) AcceleratorType() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceCommitment) *string { return v.AcceleratorType }).(pulumi.StringPtrOutput) @@ -32311,6 +36980,12 @@ func (o ResourceCommitmentArrayOutput) ToResourceCommitmentArrayOutputWithContex return o } +func (o ResourceCommitmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceCommitment] { + return pulumix.Output[[]ResourceCommitment]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentArrayOutput) Index(i pulumi.IntInput) ResourceCommitmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceCommitment { return vs[0].([]ResourceCommitment)[vs[1].(int)] @@ -32342,6 +37017,12 @@ func (o ResourceCommitmentResponseOutput) ToResourceCommitmentResponseOutputWith return o } +func (o ResourceCommitmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitmentResponse] { + return pulumix.Output[ResourceCommitmentResponse]{ + OutputState: o.OutputState, + } +} + // Name of the accelerator type resource. Applicable only when the type is ACCELERATOR. func (o ResourceCommitmentResponseOutput) AcceleratorType() pulumi.StringOutput { return o.ApplyT(func(v ResourceCommitmentResponse) string { return v.AcceleratorType }).(pulumi.StringOutput) @@ -32371,6 +37052,12 @@ func (o ResourceCommitmentResponseArrayOutput) ToResourceCommitmentResponseArray return o } +func (o ResourceCommitmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceCommitmentResponse] { + return pulumix.Output[[]ResourceCommitmentResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentResponseArrayOutput) Index(i pulumi.IntInput) ResourceCommitmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceCommitmentResponse { return vs[0].([]ResourceCommitmentResponse)[vs[1].(int)] @@ -32416,6 +37103,12 @@ func (i ResourcePolicyDailyCycleArgs) ToResourcePolicyDailyCycleOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyDailyCycleOutput) } +func (i ResourcePolicyDailyCycleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDailyCycle] { + return pulumix.Output[ResourcePolicyDailyCycle]{ + OutputState: i.ToResourcePolicyDailyCycleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyDailyCycleArgs) ToResourcePolicyDailyCyclePtrOutput() ResourcePolicyDailyCyclePtrOutput { return i.ToResourcePolicyDailyCyclePtrOutputWithContext(context.Background()) } @@ -32457,6 +37150,12 @@ func (i *resourcePolicyDailyCyclePtrType) ToResourcePolicyDailyCyclePtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyDailyCyclePtrOutput) } +func (i *resourcePolicyDailyCyclePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyDailyCycle] { + return pulumix.Output[*ResourcePolicyDailyCycle]{ + OutputState: i.ToResourcePolicyDailyCyclePtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for daily operations. type ResourcePolicyDailyCycleOutput struct{ *pulumi.OutputState } @@ -32482,6 +37181,12 @@ func (o ResourcePolicyDailyCycleOutput) ToResourcePolicyDailyCyclePtrOutputWithC }).(ResourcePolicyDailyCyclePtrOutput) } +func (o ResourcePolicyDailyCycleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDailyCycle] { + return pulumix.Output[ResourcePolicyDailyCycle]{ + OutputState: o.OutputState, + } +} + // Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. func (o ResourcePolicyDailyCycleOutput) DaysInCycle() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicyDailyCycle) *int { return v.DaysInCycle }).(pulumi.IntPtrOutput) @@ -32506,6 +37211,12 @@ func (o ResourcePolicyDailyCyclePtrOutput) ToResourcePolicyDailyCyclePtrOutputWi return o } +func (o ResourcePolicyDailyCyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyDailyCycle] { + return pulumix.Output[*ResourcePolicyDailyCycle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyDailyCyclePtrOutput) Elem() ResourcePolicyDailyCycleOutput { return o.ApplyT(func(v *ResourcePolicyDailyCycle) ResourcePolicyDailyCycle { if v != nil { @@ -32561,6 +37272,12 @@ func (o ResourcePolicyDailyCycleResponseOutput) ToResourcePolicyDailyCycleRespon return o } +func (o ResourcePolicyDailyCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDailyCycleResponse] { + return pulumix.Output[ResourcePolicyDailyCycleResponse]{ + OutputState: o.OutputState, + } +} + // Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. func (o ResourcePolicyDailyCycleResponseOutput) DaysInCycle() pulumi.IntOutput { return o.ApplyT(func(v ResourcePolicyDailyCycleResponse) int { return v.DaysInCycle }).(pulumi.IntOutput) @@ -32607,6 +37324,12 @@ func (i ResourcePolicyDiskConsistencyGroupPolicyArgs) ToResourcePolicyDiskConsis return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyDiskConsistencyGroupPolicyOutput) } +func (i ResourcePolicyDiskConsistencyGroupPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicy] { + return pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicy]{ + OutputState: i.ToResourcePolicyDiskConsistencyGroupPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyDiskConsistencyGroupPolicyArgs) ToResourcePolicyDiskConsistencyGroupPolicyPtrOutput() ResourcePolicyDiskConsistencyGroupPolicyPtrOutput { return i.ToResourcePolicyDiskConsistencyGroupPolicyPtrOutputWithContext(context.Background()) } @@ -32648,6 +37371,12 @@ func (i *resourcePolicyDiskConsistencyGroupPolicyPtrType) ToResourcePolicyDiskCo return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) } +func (i *resourcePolicyDiskConsistencyGroupPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyDiskConsistencyGroupPolicy] { + return pulumix.Output[*ResourcePolicyDiskConsistencyGroupPolicy]{ + OutputState: i.ToResourcePolicyDiskConsistencyGroupPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Resource policy for disk consistency groups. type ResourcePolicyDiskConsistencyGroupPolicyOutput struct{ *pulumi.OutputState } @@ -32673,6 +37402,12 @@ func (o ResourcePolicyDiskConsistencyGroupPolicyOutput) ToResourcePolicyDiskCons }).(ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) } +func (o ResourcePolicyDiskConsistencyGroupPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicy] { + return pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicy]{ + OutputState: o.OutputState, + } +} + type ResourcePolicyDiskConsistencyGroupPolicyPtrOutput struct{ *pulumi.OutputState } func (ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) ElementType() reflect.Type { @@ -32687,6 +37422,12 @@ func (o ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) ToResourcePolicyDiskC return o } +func (o ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyDiskConsistencyGroupPolicy] { + return pulumix.Output[*ResourcePolicyDiskConsistencyGroupPolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyDiskConsistencyGroupPolicyPtrOutput) Elem() ResourcePolicyDiskConsistencyGroupPolicyOutput { return o.ApplyT(func(v *ResourcePolicyDiskConsistencyGroupPolicy) ResourcePolicyDiskConsistencyGroupPolicy { if v != nil { @@ -32716,6 +37457,12 @@ func (o ResourcePolicyDiskConsistencyGroupPolicyResponseOutput) ToResourcePolicy return o } +func (o ResourcePolicyDiskConsistencyGroupPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicyResponse] { + return pulumix.Output[ResourcePolicyDiskConsistencyGroupPolicyResponse]{ + OutputState: o.OutputState, + } +} + // A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality type ResourcePolicyGroupPlacementPolicy struct { // The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. @@ -32763,6 +37510,12 @@ func (i ResourcePolicyGroupPlacementPolicyArgs) ToResourcePolicyGroupPlacementPo return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyGroupPlacementPolicyOutput) } +func (i ResourcePolicyGroupPlacementPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicy]{ + OutputState: i.ToResourcePolicyGroupPlacementPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyGroupPlacementPolicyArgs) ToResourcePolicyGroupPlacementPolicyPtrOutput() ResourcePolicyGroupPlacementPolicyPtrOutput { return i.ToResourcePolicyGroupPlacementPolicyPtrOutputWithContext(context.Background()) } @@ -32804,6 +37557,12 @@ func (i *resourcePolicyGroupPlacementPolicyPtrType) ToResourcePolicyGroupPlaceme return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyGroupPlacementPolicyPtrOutput) } +func (i *resourcePolicyGroupPlacementPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicy]{ + OutputState: i.ToResourcePolicyGroupPlacementPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality type ResourcePolicyGroupPlacementPolicyOutput struct{ *pulumi.OutputState } @@ -32829,6 +37588,12 @@ func (o ResourcePolicyGroupPlacementPolicyOutput) ToResourcePolicyGroupPlacement }).(ResourcePolicyGroupPlacementPolicyPtrOutput) } +func (o ResourcePolicyGroupPlacementPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicy]{ + OutputState: o.OutputState, + } +} + // The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. func (o ResourcePolicyGroupPlacementPolicyOutput) AvailabilityDomainCount() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicyGroupPlacementPolicy) *int { return v.AvailabilityDomainCount }).(pulumi.IntPtrOutput) @@ -32865,6 +37630,12 @@ func (o ResourcePolicyGroupPlacementPolicyPtrOutput) ToResourcePolicyGroupPlacem return o } +func (o ResourcePolicyGroupPlacementPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyPtrOutput) Elem() ResourcePolicyGroupPlacementPolicyOutput { return o.ApplyT(func(v *ResourcePolicyGroupPlacementPolicy) ResourcePolicyGroupPlacementPolicy { if v != nil { @@ -32942,6 +37713,12 @@ func (o ResourcePolicyGroupPlacementPolicyResponseOutput) ToResourcePolicyGroupP return o } +func (o ResourcePolicyGroupPlacementPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicyResponse] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. func (o ResourcePolicyGroupPlacementPolicyResponseOutput) AvailabilityDomainCount() pulumi.IntOutput { return o.ApplyT(func(v ResourcePolicyGroupPlacementPolicyResponse) int { return v.AvailabilityDomainCount }).(pulumi.IntOutput) @@ -33001,6 +37778,12 @@ func (i ResourcePolicyHourlyCycleArgs) ToResourcePolicyHourlyCycleOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyHourlyCycleOutput) } +func (i ResourcePolicyHourlyCycleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyHourlyCycle] { + return pulumix.Output[ResourcePolicyHourlyCycle]{ + OutputState: i.ToResourcePolicyHourlyCycleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyHourlyCycleArgs) ToResourcePolicyHourlyCyclePtrOutput() ResourcePolicyHourlyCyclePtrOutput { return i.ToResourcePolicyHourlyCyclePtrOutputWithContext(context.Background()) } @@ -33042,6 +37825,12 @@ func (i *resourcePolicyHourlyCyclePtrType) ToResourcePolicyHourlyCyclePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyHourlyCyclePtrOutput) } +func (i *resourcePolicyHourlyCyclePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyHourlyCycle] { + return pulumix.Output[*ResourcePolicyHourlyCycle]{ + OutputState: i.ToResourcePolicyHourlyCyclePtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for hourly operations. type ResourcePolicyHourlyCycleOutput struct{ *pulumi.OutputState } @@ -33067,6 +37856,12 @@ func (o ResourcePolicyHourlyCycleOutput) ToResourcePolicyHourlyCyclePtrOutputWit }).(ResourcePolicyHourlyCyclePtrOutput) } +func (o ResourcePolicyHourlyCycleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyHourlyCycle] { + return pulumix.Output[ResourcePolicyHourlyCycle]{ + OutputState: o.OutputState, + } +} + // Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle. func (o ResourcePolicyHourlyCycleOutput) HoursInCycle() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicyHourlyCycle) *int { return v.HoursInCycle }).(pulumi.IntPtrOutput) @@ -33091,6 +37886,12 @@ func (o ResourcePolicyHourlyCyclePtrOutput) ToResourcePolicyHourlyCyclePtrOutput return o } +func (o ResourcePolicyHourlyCyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyHourlyCycle] { + return pulumix.Output[*ResourcePolicyHourlyCycle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyHourlyCyclePtrOutput) Elem() ResourcePolicyHourlyCycleOutput { return o.ApplyT(func(v *ResourcePolicyHourlyCycle) ResourcePolicyHourlyCycle { if v != nil { @@ -33146,6 +37947,12 @@ func (o ResourcePolicyHourlyCycleResponseOutput) ToResourcePolicyHourlyCycleResp return o } +func (o ResourcePolicyHourlyCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyHourlyCycleResponse] { + return pulumix.Output[ResourcePolicyHourlyCycleResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. func (o ResourcePolicyHourlyCycleResponseOutput) Duration() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyHourlyCycleResponse) string { return v.Duration }).(pulumi.StringOutput) @@ -33212,6 +38019,12 @@ func (i ResourcePolicyInstanceSchedulePolicyArgs) ToResourcePolicyInstanceSchedu return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicyOutput) } +func (i ResourcePolicyInstanceSchedulePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicy]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyInstanceSchedulePolicyArgs) ToResourcePolicyInstanceSchedulePolicyPtrOutput() ResourcePolicyInstanceSchedulePolicyPtrOutput { return i.ToResourcePolicyInstanceSchedulePolicyPtrOutputWithContext(context.Background()) } @@ -33253,6 +38066,12 @@ func (i *resourcePolicyInstanceSchedulePolicyPtrType) ToResourcePolicyInstanceSc return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicyPtrOutput) } +func (i *resourcePolicyInstanceSchedulePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicy]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance. type ResourcePolicyInstanceSchedulePolicyOutput struct{ *pulumi.OutputState } @@ -33278,6 +38097,12 @@ func (o ResourcePolicyInstanceSchedulePolicyOutput) ToResourcePolicyInstanceSche }).(ResourcePolicyInstanceSchedulePolicyPtrOutput) } +func (o ResourcePolicyInstanceSchedulePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicy]{ + OutputState: o.OutputState, + } +} + // The expiration time of the schedule. The timestamp is an RFC3339 string. func (o ResourcePolicyInstanceSchedulePolicyOutput) ExpirationTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicy) *string { return v.ExpirationTime }).(pulumi.StringPtrOutput) @@ -33321,6 +38146,12 @@ func (o ResourcePolicyInstanceSchedulePolicyPtrOutput) ToResourcePolicyInstanceS return o } +func (o ResourcePolicyInstanceSchedulePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyInstanceSchedulePolicyPtrOutput) Elem() ResourcePolicyInstanceSchedulePolicyOutput { return o.ApplyT(func(v *ResourcePolicyInstanceSchedulePolicy) ResourcePolicyInstanceSchedulePolicy { if v != nil { @@ -33410,6 +38241,12 @@ func (o ResourcePolicyInstanceSchedulePolicyResponseOutput) ToResourcePolicyInst return o } +func (o ResourcePolicyInstanceSchedulePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicyResponse] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The expiration time of the schedule. The timestamp is an RFC3339 string. func (o ResourcePolicyInstanceSchedulePolicyResponseOutput) ExpirationTime() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicyResponse) string { return v.ExpirationTime }).(pulumi.StringOutput) @@ -33474,6 +38311,12 @@ func (i ResourcePolicyInstanceSchedulePolicyScheduleArgs) ToResourcePolicyInstan return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicyScheduleOutput) } +func (i ResourcePolicyInstanceSchedulePolicyScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicyScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyInstanceSchedulePolicyScheduleArgs) ToResourcePolicyInstanceSchedulePolicySchedulePtrOutput() ResourcePolicyInstanceSchedulePolicySchedulePtrOutput { return i.ToResourcePolicyInstanceSchedulePolicySchedulePtrOutputWithContext(context.Background()) } @@ -33515,6 +38358,12 @@ func (i *resourcePolicyInstanceSchedulePolicySchedulePtrType) ToResourcePolicyIn return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) } +func (i *resourcePolicyInstanceSchedulePolicySchedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicySchedulePtrOutputWithContext(ctx).OutputState, + } +} + // Schedule for an instance operation. type ResourcePolicyInstanceSchedulePolicyScheduleOutput struct{ *pulumi.OutputState } @@ -33540,6 +38389,12 @@ func (o ResourcePolicyInstanceSchedulePolicyScheduleOutput) ToResourcePolicyInst }).(ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) } +func (o ResourcePolicyInstanceSchedulePolicyScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + // Specifies the frequency for the operation, using the unix-cron format. func (o ResourcePolicyInstanceSchedulePolicyScheduleOutput) Schedule() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicySchedule) *string { return v.Schedule }).(pulumi.StringPtrOutput) @@ -33559,6 +38414,12 @@ func (o ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) ToResourcePolicyI return o } +func (o ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) Elem() ResourcePolicyInstanceSchedulePolicyScheduleOutput { return o.ApplyT(func(v *ResourcePolicyInstanceSchedulePolicySchedule) ResourcePolicyInstanceSchedulePolicySchedule { if v != nil { @@ -33600,6 +38461,12 @@ func (o ResourcePolicyInstanceSchedulePolicyScheduleResponseOutput) ToResourcePo return o } +func (o ResourcePolicyInstanceSchedulePolicyScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicyScheduleResponse] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicyScheduleResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the frequency for the operation, using the unix-cron format. func (o ResourcePolicyInstanceSchedulePolicyScheduleResponseOutput) Schedule() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicyScheduleResponse) string { return v.Schedule }).(pulumi.StringOutput) @@ -33626,6 +38493,12 @@ func (o ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput) return o } +func (o ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse] { + return pulumix.Output[ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse]{ + OutputState: o.OutputState, + } +} + // The last time the schedule successfully ran. The timestamp is an RFC3339 string. func (o ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput) LastRunStartTime() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse) string { @@ -33661,6 +38534,12 @@ func (o ResourcePolicyResourceStatusResponseOutput) ToResourcePolicyResourceStat return o } +func (o ResourcePolicyResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyResourceStatusResponse] { + return pulumix.Output[ResourcePolicyResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field. func (o ResourcePolicyResourceStatusResponseOutput) InstanceSchedulePolicy() ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput { return o.ApplyT(func(v ResourcePolicyResourceStatusResponse) ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse { @@ -33711,6 +38590,12 @@ func (i ResourcePolicySnapshotSchedulePolicyArgs) ToResourcePolicySnapshotSchedu return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyOutput) } +func (i ResourcePolicySnapshotSchedulePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicyArgs) ToResourcePolicySnapshotSchedulePolicyPtrOutput() ResourcePolicySnapshotSchedulePolicyPtrOutput { return i.ToResourcePolicySnapshotSchedulePolicyPtrOutputWithContext(context.Background()) } @@ -33752,6 +38637,12 @@ func (i *resourcePolicySnapshotSchedulePolicyPtrType) ToResourcePolicySnapshotSc return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyPtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained. type ResourcePolicySnapshotSchedulePolicyOutput struct{ *pulumi.OutputState } @@ -33777,6 +38668,12 @@ func (o ResourcePolicySnapshotSchedulePolicyOutput) ToResourcePolicySnapshotSche }).(ResourcePolicySnapshotSchedulePolicyPtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicy]{ + OutputState: o.OutputState, + } +} + // Retention policy applied to snapshots created by this resource policy. func (o ResourcePolicySnapshotSchedulePolicyOutput) RetentionPolicy() ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicy) *ResourcePolicySnapshotSchedulePolicyRetentionPolicy { @@ -33812,6 +38709,12 @@ func (o ResourcePolicySnapshotSchedulePolicyPtrOutput) ToResourcePolicySnapshotS return o } +func (o ResourcePolicySnapshotSchedulePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyPtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicy) ResourcePolicySnapshotSchedulePolicy { if v != nil { @@ -33877,6 +38780,12 @@ func (o ResourcePolicySnapshotSchedulePolicyResponseOutput) ToResourcePolicySnap return o } +func (o ResourcePolicySnapshotSchedulePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Retention policy applied to snapshots created by this resource policy. func (o ResourcePolicySnapshotSchedulePolicyResponseOutput) RetentionPolicy() ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyResponse) ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse { @@ -33937,6 +38846,12 @@ func (i ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs) ToResourcePolic return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) } +func (i ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs) ToResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput() ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput { return i.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutputWithContext(context.Background()) } @@ -33978,6 +38893,12 @@ func (i *resourcePolicySnapshotSchedulePolicyRetentionPolicyPtrType) ToResourceP return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicyRetentionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Policy for retention of scheduled snapshots. type ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput struct{ *pulumi.OutputState } @@ -34003,6 +38924,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) ToResourcePol }).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: o.OutputState, + } +} + // Maximum age of the snapshot that is allowed to be kept. func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) MaxRetentionDays() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyRetentionPolicy) *int { return v.MaxRetentionDays }).(pulumi.IntPtrOutput) @@ -34029,6 +38956,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) ToResource return o } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicyRetentionPolicy) ResourcePolicySnapshotSchedulePolicyRetentionPolicy { if v != nil { @@ -34082,6 +39015,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput) ToRes return o } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Maximum age of the snapshot that is allowed to be kept. func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput) MaxRetentionDays() pulumi.IntOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse) int { return v.MaxRetentionDays }).(pulumi.IntOutput) @@ -34131,6 +39070,12 @@ func (i ResourcePolicySnapshotSchedulePolicyScheduleArgs) ToResourcePolicySnapsh return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyScheduleOutput) } +func (i ResourcePolicySnapshotSchedulePolicyScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicyScheduleArgs) ToResourcePolicySnapshotSchedulePolicySchedulePtrOutput() ResourcePolicySnapshotSchedulePolicySchedulePtrOutput { return i.ToResourcePolicySnapshotSchedulePolicySchedulePtrOutputWithContext(context.Background()) } @@ -34172,6 +39117,12 @@ func (i *resourcePolicySnapshotSchedulePolicySchedulePtrType) ToResourcePolicySn return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicySchedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicySchedulePtrOutputWithContext(ctx).OutputState, + } +} + // A schedule for disks where the schedueled operations are performed. type ResourcePolicySnapshotSchedulePolicyScheduleOutput struct{ *pulumi.OutputState } @@ -34197,6 +39148,12 @@ func (o ResourcePolicySnapshotSchedulePolicyScheduleOutput) ToResourcePolicySnap }).(ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyScheduleOutput) DailySchedule() ResourcePolicyDailyCyclePtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicySchedule) *ResourcePolicyDailyCycle { return v.DailySchedule }).(ResourcePolicyDailyCyclePtrOutput) } @@ -34227,6 +39184,12 @@ func (o ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) ToResourcePolicyS return o } +func (o ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyScheduleOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicySchedule) ResourcePolicySnapshotSchedulePolicySchedule { if v != nil { @@ -34286,6 +39249,12 @@ func (o ResourcePolicySnapshotSchedulePolicyScheduleResponseOutput) ToResourcePo return o } +func (o ResourcePolicySnapshotSchedulePolicyScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyScheduleResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyScheduleResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyScheduleResponseOutput) DailySchedule() ResourcePolicyDailyCycleResponseOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyScheduleResponse) ResourcePolicyDailyCycleResponse { return v.DailySchedule @@ -34351,6 +39320,12 @@ func (i ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs) ToResourcePo return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) } +func (i ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs) ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput() ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput { return i.ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutputWithContext(context.Background()) } @@ -34392,6 +39367,12 @@ func (i *resourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrType) ToResour return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutputWithContext(ctx).OutputState, + } +} + // Specified snapshot properties for scheduled snapshots created by this policy. type ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput struct{ *pulumi.OutputState } @@ -34417,6 +39398,12 @@ func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) ToResource }).(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: o.OutputState, + } +} + // Chain name that the snapshot is created in. func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) ChainName() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicySnapshotProperties) *string { return v.ChainName }).(pulumi.StringPtrOutput) @@ -34451,6 +39438,12 @@ func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) ToResou return o } +func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) Elem() ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicySnapshotProperties) ResourcePolicySnapshotSchedulePolicySnapshotProperties { if v != nil { @@ -34528,6 +39521,12 @@ func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseOutput) To return o } +func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Chain name that the snapshot is created in. func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseOutput) ChainName() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse) string { return v.ChainName }).(pulumi.StringOutput) @@ -34587,6 +39586,12 @@ func (i ResourcePolicyWeeklyCycleArgs) ToResourcePolicyWeeklyCycleOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCycleOutput) } +func (i ResourcePolicyWeeklyCycleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycle] { + return pulumix.Output[ResourcePolicyWeeklyCycle]{ + OutputState: i.ToResourcePolicyWeeklyCycleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyWeeklyCycleArgs) ToResourcePolicyWeeklyCyclePtrOutput() ResourcePolicyWeeklyCyclePtrOutput { return i.ToResourcePolicyWeeklyCyclePtrOutputWithContext(context.Background()) } @@ -34628,6 +39633,12 @@ func (i *resourcePolicyWeeklyCyclePtrType) ToResourcePolicyWeeklyCyclePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCyclePtrOutput) } +func (i *resourcePolicyWeeklyCyclePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycle] { + return pulumix.Output[*ResourcePolicyWeeklyCycle]{ + OutputState: i.ToResourcePolicyWeeklyCyclePtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for weekly operations. type ResourcePolicyWeeklyCycleOutput struct{ *pulumi.OutputState } @@ -34653,6 +39664,12 @@ func (o ResourcePolicyWeeklyCycleOutput) ToResourcePolicyWeeklyCyclePtrOutputWit }).(ResourcePolicyWeeklyCyclePtrOutput) } +func (o ResourcePolicyWeeklyCycleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycle] { + return pulumix.Output[ResourcePolicyWeeklyCycle]{ + OutputState: o.OutputState, + } +} + // Up to 7 intervals/windows, one for each day of the week. func (o ResourcePolicyWeeklyCycleOutput) DayOfWeeks() ResourcePolicyWeeklyCycleDayOfWeekArrayOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycle) []ResourcePolicyWeeklyCycleDayOfWeek { return v.DayOfWeeks }).(ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) @@ -34672,6 +39689,12 @@ func (o ResourcePolicyWeeklyCyclePtrOutput) ToResourcePolicyWeeklyCyclePtrOutput return o } +func (o ResourcePolicyWeeklyCyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycle] { + return pulumix.Output[*ResourcePolicyWeeklyCycle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCyclePtrOutput) Elem() ResourcePolicyWeeklyCycleOutput { return o.ApplyT(func(v *ResourcePolicyWeeklyCycle) ResourcePolicyWeeklyCycle { if v != nil { @@ -34729,6 +39752,12 @@ func (i ResourcePolicyWeeklyCycleDayOfWeekArgs) ToResourcePolicyWeeklyCycleDayOf return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCycleDayOfWeekOutput) } +func (i ResourcePolicyWeeklyCycleDayOfWeekArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: i.ToResourcePolicyWeeklyCycleDayOfWeekOutputWithContext(ctx).OutputState, + } +} + // ResourcePolicyWeeklyCycleDayOfWeekArrayInput is an input type that accepts ResourcePolicyWeeklyCycleDayOfWeekArray and ResourcePolicyWeeklyCycleDayOfWeekArrayOutput values. // You can construct a concrete instance of `ResourcePolicyWeeklyCycleDayOfWeekArrayInput` via: // @@ -34754,6 +39783,12 @@ func (i ResourcePolicyWeeklyCycleDayOfWeekArray) ToResourcePolicyWeeklyCycleDayO return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) } +func (i ResourcePolicyWeeklyCycleDayOfWeekArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: i.ToResourcePolicyWeeklyCycleDayOfWeekArrayOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyWeeklyCycleDayOfWeekOutput struct{ *pulumi.OutputState } func (ResourcePolicyWeeklyCycleDayOfWeekOutput) ElementType() reflect.Type { @@ -34768,6 +39803,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekOutput) ToResourcePolicyWeeklyCycleDay return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: o.OutputState, + } +} + // Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. func (o ResourcePolicyWeeklyCycleDayOfWeekOutput) Day() ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycleDayOfWeek) *ResourcePolicyWeeklyCycleDayOfWeekDay { return v.Day }).(ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) @@ -34792,6 +39833,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) ToResourcePolicyWeeklyCyc return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) Index(i pulumi.IntInput) ResourcePolicyWeeklyCycleDayOfWeekOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourcePolicyWeeklyCycleDayOfWeek { return vs[0].([]ResourcePolicyWeeklyCycleDayOfWeek)[vs[1].(int)] @@ -34821,6 +39868,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekResponseOutput) ToResourcePolicyWeekly return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekResponse] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekResponse]{ + OutputState: o.OutputState, + } +} + // Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. func (o ResourcePolicyWeeklyCycleDayOfWeekResponseOutput) Day() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycleDayOfWeekResponse) string { return v.Day }).(pulumi.StringOutput) @@ -34850,6 +39903,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput) ToResourcePolicyW return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeekResponse] { + return pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeekResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput) Index(i pulumi.IntInput) ResourcePolicyWeeklyCycleDayOfWeekResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourcePolicyWeeklyCycleDayOfWeekResponse { return vs[0].([]ResourcePolicyWeeklyCycleDayOfWeekResponse)[vs[1].(int)] @@ -34877,6 +39936,12 @@ func (o ResourcePolicyWeeklyCycleResponseOutput) ToResourcePolicyWeeklyCycleResp return o } +func (o ResourcePolicyWeeklyCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleResponse] { + return pulumix.Output[ResourcePolicyWeeklyCycleResponse]{ + OutputState: o.OutputState, + } +} + // Up to 7 intervals/windows, one for each day of the week. func (o ResourcePolicyWeeklyCycleResponseOutput) DayOfWeeks() ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycleResponse) []ResourcePolicyWeeklyCycleDayOfWeekResponse { @@ -34906,6 +39971,12 @@ func (o ResourceStatusResponseOutput) ToResourceStatusResponseOutputWithContext( return o } +func (o ResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceStatusResponse] { + return pulumix.Output[ResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // An opaque ID of the host on which the VM is running. func (o ResourceStatusResponseOutput) PhysicalHost() pulumi.StringOutput { return o.ApplyT(func(v ResourceStatusResponse) string { return v.PhysicalHost }).(pulumi.StringOutput) @@ -34934,6 +40005,12 @@ func (o ResourceStatusSchedulingResponseOutput) ToResourceStatusSchedulingRespon return o } +func (o ResourceStatusSchedulingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceStatusSchedulingResponse] { + return pulumix.Output[ResourceStatusSchedulingResponse]{ + OutputState: o.OutputState, + } +} + // Time in future when the instance will be terminated in RFC3339 text format. func (o ResourceStatusSchedulingResponseOutput) TerminationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v ResourceStatusSchedulingResponse) string { return v.TerminationTimestamp }).(pulumi.StringOutput) @@ -34978,6 +40055,12 @@ func (i RolloutPolicyArgs) ToRolloutPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RolloutPolicyOutput) } +func (i RolloutPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RolloutPolicy] { + return pulumix.Output[RolloutPolicy]{ + OutputState: i.ToRolloutPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RolloutPolicyArgs) ToRolloutPolicyPtrOutput() RolloutPolicyPtrOutput { return i.ToRolloutPolicyPtrOutputWithContext(context.Background()) } @@ -35019,6 +40102,12 @@ func (i *rolloutPolicyPtrType) ToRolloutPolicyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(RolloutPolicyPtrOutput) } +func (i *rolloutPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RolloutPolicy] { + return pulumix.Output[*RolloutPolicy]{ + OutputState: i.ToRolloutPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A rollout policy configuration. type RolloutPolicyOutput struct{ *pulumi.OutputState } @@ -35044,6 +40133,12 @@ func (o RolloutPolicyOutput) ToRolloutPolicyPtrOutputWithContext(ctx context.Con }).(RolloutPolicyPtrOutput) } +func (o RolloutPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RolloutPolicy] { + return pulumix.Output[RolloutPolicy]{ + OutputState: o.OutputState, + } +} + // An optional RFC3339 timestamp on or after which the update is considered rolled out to any zone that is not explicitly stated. func (o RolloutPolicyOutput) DefaultRolloutTime() pulumi.StringPtrOutput { return o.ApplyT(func(v RolloutPolicy) *string { return v.DefaultRolloutTime }).(pulumi.StringPtrOutput) @@ -35068,6 +40163,12 @@ func (o RolloutPolicyPtrOutput) ToRolloutPolicyPtrOutputWithContext(ctx context. return o } +func (o RolloutPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RolloutPolicy] { + return pulumix.Output[*RolloutPolicy]{ + OutputState: o.OutputState, + } +} + func (o RolloutPolicyPtrOutput) Elem() RolloutPolicyOutput { return o.ApplyT(func(v *RolloutPolicy) RolloutPolicy { if v != nil { @@ -35121,6 +40222,12 @@ func (o RolloutPolicyResponseOutput) ToRolloutPolicyResponseOutputWithContext(ct return o } +func (o RolloutPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RolloutPolicyResponse] { + return pulumix.Output[RolloutPolicyResponse]{ + OutputState: o.OutputState, + } +} + // An optional RFC3339 timestamp on or after which the update is considered rolled out to any zone that is not explicitly stated. func (o RolloutPolicyResponseOutput) DefaultRolloutTime() pulumi.StringOutput { return o.ApplyT(func(v RolloutPolicyResponse) string { return v.DefaultRolloutTime }).(pulumi.StringOutput) @@ -35152,6 +40259,12 @@ func (o RouteAsPathResponseOutput) ToRouteAsPathResponseOutputWithContext(ctx co return o } +func (o RouteAsPathResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteAsPathResponse] { + return pulumix.Output[RouteAsPathResponse]{ + OutputState: o.OutputState, + } +} + // The AS numbers of the AS Path. func (o RouteAsPathResponseOutput) AsLists() pulumi.IntArrayOutput { return o.ApplyT(func(v RouteAsPathResponse) []int { return v.AsLists }).(pulumi.IntArrayOutput) @@ -35176,6 +40289,12 @@ func (o RouteAsPathResponseArrayOutput) ToRouteAsPathResponseArrayOutputWithCont return o } +func (o RouteAsPathResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouteAsPathResponse] { + return pulumix.Output[[]RouteAsPathResponse]{ + OutputState: o.OutputState, + } +} + func (o RouteAsPathResponseArrayOutput) Index(i pulumi.IntInput) RouteAsPathResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteAsPathResponse { return vs[0].([]RouteAsPathResponse)[vs[1].(int)] @@ -35203,6 +40322,12 @@ func (o RouteWarningsItemDataItemResponseOutput) ToRouteWarningsItemDataItemResp return o } +func (o RouteWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteWarningsItemDataItemResponse] { + return pulumix.Output[RouteWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o RouteWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v RouteWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -35227,6 +40352,12 @@ func (o RouteWarningsItemDataItemResponseArrayOutput) ToRouteWarningsItemDataIte return o } +func (o RouteWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouteWarningsItemDataItemResponse] { + return pulumix.Output[[]RouteWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RouteWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) RouteWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteWarningsItemDataItemResponse { return vs[0].([]RouteWarningsItemDataItemResponse)[vs[1].(int)] @@ -35256,6 +40387,12 @@ func (o RouteWarningsItemResponseOutput) ToRouteWarningsItemResponseOutputWithCo return o } +func (o RouteWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteWarningsItemResponse] { + return pulumix.Output[RouteWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o RouteWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v RouteWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -35285,6 +40422,12 @@ func (o RouteWarningsItemResponseArrayOutput) ToRouteWarningsItemResponseArrayOu return o } +func (o RouteWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouteWarningsItemResponse] { + return pulumix.Output[[]RouteWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RouteWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) RouteWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteWarningsItemResponse { return vs[0].([]RouteWarningsItemResponse)[vs[1].(int)] @@ -35330,6 +40473,12 @@ func (i RouterAdvertisedIpRangeArgs) ToRouterAdvertisedIpRangeOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(RouterAdvertisedIpRangeOutput) } +func (i RouterAdvertisedIpRangeArgs) ToOutput(ctx context.Context) pulumix.Output[RouterAdvertisedIpRange] { + return pulumix.Output[RouterAdvertisedIpRange]{ + OutputState: i.ToRouterAdvertisedIpRangeOutputWithContext(ctx).OutputState, + } +} + // RouterAdvertisedIpRangeArrayInput is an input type that accepts RouterAdvertisedIpRangeArray and RouterAdvertisedIpRangeArrayOutput values. // You can construct a concrete instance of `RouterAdvertisedIpRangeArrayInput` via: // @@ -35355,6 +40504,12 @@ func (i RouterAdvertisedIpRangeArray) ToRouterAdvertisedIpRangeArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(RouterAdvertisedIpRangeArrayOutput) } +func (i RouterAdvertisedIpRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterAdvertisedIpRange] { + return pulumix.Output[[]RouterAdvertisedIpRange]{ + OutputState: i.ToRouterAdvertisedIpRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Description-tagged IP ranges for the router to advertise. type RouterAdvertisedIpRangeOutput struct{ *pulumi.OutputState } @@ -35370,6 +40525,12 @@ func (o RouterAdvertisedIpRangeOutput) ToRouterAdvertisedIpRangeOutputWithContex return o } +func (o RouterAdvertisedIpRangeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterAdvertisedIpRange] { + return pulumix.Output[RouterAdvertisedIpRange]{ + OutputState: o.OutputState, + } +} + // User-specified description for the IP range. func (o RouterAdvertisedIpRangeOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterAdvertisedIpRange) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -35394,6 +40555,12 @@ func (o RouterAdvertisedIpRangeArrayOutput) ToRouterAdvertisedIpRangeArrayOutput return o } +func (o RouterAdvertisedIpRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterAdvertisedIpRange] { + return pulumix.Output[[]RouterAdvertisedIpRange]{ + OutputState: o.OutputState, + } +} + func (o RouterAdvertisedIpRangeArrayOutput) Index(i pulumi.IntInput) RouterAdvertisedIpRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterAdvertisedIpRange { return vs[0].([]RouterAdvertisedIpRange)[vs[1].(int)] @@ -35423,6 +40590,12 @@ func (o RouterAdvertisedIpRangeResponseOutput) ToRouterAdvertisedIpRangeResponse return o } +func (o RouterAdvertisedIpRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterAdvertisedIpRangeResponse] { + return pulumix.Output[RouterAdvertisedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + // User-specified description for the IP range. func (o RouterAdvertisedIpRangeResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v RouterAdvertisedIpRangeResponse) string { return v.Description }).(pulumi.StringOutput) @@ -35447,6 +40620,12 @@ func (o RouterAdvertisedIpRangeResponseArrayOutput) ToRouterAdvertisedIpRangeRes return o } +func (o RouterAdvertisedIpRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterAdvertisedIpRangeResponse] { + return pulumix.Output[[]RouterAdvertisedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterAdvertisedIpRangeResponseArrayOutput) Index(i pulumi.IntInput) RouterAdvertisedIpRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterAdvertisedIpRangeResponse { return vs[0].([]RouterAdvertisedIpRangeResponse)[vs[1].(int)] @@ -35502,6 +40681,12 @@ func (i RouterBgpArgs) ToRouterBgpOutputWithContext(ctx context.Context) RouterB return pulumi.ToOutputWithContext(ctx, i).(RouterBgpOutput) } +func (i RouterBgpArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgp] { + return pulumix.Output[RouterBgp]{ + OutputState: i.ToRouterBgpOutputWithContext(ctx).OutputState, + } +} + func (i RouterBgpArgs) ToRouterBgpPtrOutput() RouterBgpPtrOutput { return i.ToRouterBgpPtrOutputWithContext(context.Background()) } @@ -35543,6 +40728,12 @@ func (i *routerBgpPtrType) ToRouterBgpPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPtrOutput) } +func (i *routerBgpPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterBgp] { + return pulumix.Output[*RouterBgp]{ + OutputState: i.ToRouterBgpPtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpOutput struct{ *pulumi.OutputState } func (RouterBgpOutput) ElementType() reflect.Type { @@ -35567,6 +40758,12 @@ func (o RouterBgpOutput) ToRouterBgpPtrOutputWithContext(ctx context.Context) Ro }).(RouterBgpPtrOutput) } +func (o RouterBgpOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgp] { + return pulumix.Output[RouterBgp]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. func (o RouterBgpOutput) AdvertiseMode() RouterBgpAdvertiseModePtrOutput { return o.ApplyT(func(v RouterBgp) *RouterBgpAdvertiseMode { return v.AdvertiseMode }).(RouterBgpAdvertiseModePtrOutput) @@ -35606,6 +40803,12 @@ func (o RouterBgpPtrOutput) ToRouterBgpPtrOutputWithContext(ctx context.Context) return o } +func (o RouterBgpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgp] { + return pulumix.Output[*RouterBgp]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPtrOutput) Elem() RouterBgpOutput { return o.ApplyT(func(v *RouterBgp) RouterBgp { if v != nil { @@ -35767,6 +40970,12 @@ func (i RouterBgpPeerArgs) ToRouterBgpPeerOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerOutput) } +func (i RouterBgpPeerArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeer] { + return pulumix.Output[RouterBgpPeer]{ + OutputState: i.ToRouterBgpPeerOutputWithContext(ctx).OutputState, + } +} + // RouterBgpPeerArrayInput is an input type that accepts RouterBgpPeerArray and RouterBgpPeerArrayOutput values. // You can construct a concrete instance of `RouterBgpPeerArrayInput` via: // @@ -35792,6 +41001,12 @@ func (i RouterBgpPeerArray) ToRouterBgpPeerArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerArrayOutput) } +func (i RouterBgpPeerArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeer] { + return pulumix.Output[[]RouterBgpPeer]{ + OutputState: i.ToRouterBgpPeerArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerOutput struct{ *pulumi.OutputState } func (RouterBgpPeerOutput) ElementType() reflect.Type { @@ -35806,6 +41021,12 @@ func (o RouterBgpPeerOutput) ToRouterBgpPeerOutputWithContext(ctx context.Contex return o } +func (o RouterBgpPeerOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeer] { + return pulumix.Output[RouterBgpPeer]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. func (o RouterBgpPeerOutput) AdvertiseMode() RouterBgpPeerAdvertiseModePtrOutput { return o.ApplyT(func(v RouterBgpPeer) *RouterBgpPeerAdvertiseMode { return v.AdvertiseMode }).(RouterBgpPeerAdvertiseModePtrOutput) @@ -35910,6 +41131,12 @@ func (o RouterBgpPeerArrayOutput) ToRouterBgpPeerArrayOutputWithContext(ctx cont return o } +func (o RouterBgpPeerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeer] { + return pulumix.Output[[]RouterBgpPeer]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeer { return vs[0].([]RouterBgpPeer)[vs[1].(int)] @@ -35961,6 +41188,12 @@ func (i RouterBgpPeerBfdArgs) ToRouterBgpPeerBfdOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerBfdOutput) } +func (i RouterBgpPeerBfdArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfd] { + return pulumix.Output[RouterBgpPeerBfd]{ + OutputState: i.ToRouterBgpPeerBfdOutputWithContext(ctx).OutputState, + } +} + func (i RouterBgpPeerBfdArgs) ToRouterBgpPeerBfdPtrOutput() RouterBgpPeerBfdPtrOutput { return i.ToRouterBgpPeerBfdPtrOutputWithContext(context.Background()) } @@ -36002,6 +41235,12 @@ func (i *routerBgpPeerBfdPtrType) ToRouterBgpPeerBfdPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerBfdPtrOutput) } +func (i *routerBgpPeerBfdPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfd] { + return pulumix.Output[*RouterBgpPeerBfd]{ + OutputState: i.ToRouterBgpPeerBfdPtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerBfdOutput struct{ *pulumi.OutputState } func (RouterBgpPeerBfdOutput) ElementType() reflect.Type { @@ -36026,6 +41265,12 @@ func (o RouterBgpPeerBfdOutput) ToRouterBgpPeerBfdPtrOutputWithContext(ctx conte }).(RouterBgpPeerBfdPtrOutput) } +func (o RouterBgpPeerBfdOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfd] { + return pulumix.Output[RouterBgpPeerBfd]{ + OutputState: o.OutputState, + } +} + // The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000. func (o RouterBgpPeerBfdOutput) MinReceiveInterval() pulumi.IntPtrOutput { return o.ApplyT(func(v RouterBgpPeerBfd) *int { return v.MinReceiveInterval }).(pulumi.IntPtrOutput) @@ -36062,6 +41307,12 @@ func (o RouterBgpPeerBfdPtrOutput) ToRouterBgpPeerBfdPtrOutputWithContext(ctx co return o } +func (o RouterBgpPeerBfdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfd] { + return pulumix.Output[*RouterBgpPeerBfd]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdPtrOutput) Elem() RouterBgpPeerBfdOutput { return o.ApplyT(func(v *RouterBgpPeerBfd) RouterBgpPeerBfd { if v != nil { @@ -36137,6 +41388,12 @@ func (o RouterBgpPeerBfdResponseOutput) ToRouterBgpPeerBfdResponseOutputWithCont return o } +func (o RouterBgpPeerBfdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfdResponse] { + return pulumix.Output[RouterBgpPeerBfdResponse]{ + OutputState: o.OutputState, + } +} + // The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000. func (o RouterBgpPeerBfdResponseOutput) MinReceiveInterval() pulumi.IntOutput { return o.ApplyT(func(v RouterBgpPeerBfdResponse) int { return v.MinReceiveInterval }).(pulumi.IntOutput) @@ -36190,6 +41447,12 @@ func (i RouterBgpPeerCustomLearnedIpRangeArgs) ToRouterBgpPeerCustomLearnedIpRan return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerCustomLearnedIpRangeOutput) } +func (i RouterBgpPeerCustomLearnedIpRangeArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerCustomLearnedIpRange] { + return pulumix.Output[RouterBgpPeerCustomLearnedIpRange]{ + OutputState: i.ToRouterBgpPeerCustomLearnedIpRangeOutputWithContext(ctx).OutputState, + } +} + // RouterBgpPeerCustomLearnedIpRangeArrayInput is an input type that accepts RouterBgpPeerCustomLearnedIpRangeArray and RouterBgpPeerCustomLearnedIpRangeArrayOutput values. // You can construct a concrete instance of `RouterBgpPeerCustomLearnedIpRangeArrayInput` via: // @@ -36215,6 +41478,12 @@ func (i RouterBgpPeerCustomLearnedIpRangeArray) ToRouterBgpPeerCustomLearnedIpRa return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerCustomLearnedIpRangeArrayOutput) } +func (i RouterBgpPeerCustomLearnedIpRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerCustomLearnedIpRange] { + return pulumix.Output[[]RouterBgpPeerCustomLearnedIpRange]{ + OutputState: i.ToRouterBgpPeerCustomLearnedIpRangeArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerCustomLearnedIpRangeOutput struct{ *pulumi.OutputState } func (RouterBgpPeerCustomLearnedIpRangeOutput) ElementType() reflect.Type { @@ -36229,6 +41498,12 @@ func (o RouterBgpPeerCustomLearnedIpRangeOutput) ToRouterBgpPeerCustomLearnedIpR return o } +func (o RouterBgpPeerCustomLearnedIpRangeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerCustomLearnedIpRange] { + return pulumix.Output[RouterBgpPeerCustomLearnedIpRange]{ + OutputState: o.OutputState, + } +} + // The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`. func (o RouterBgpPeerCustomLearnedIpRangeOutput) Range() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterBgpPeerCustomLearnedIpRange) *string { return v.Range }).(pulumi.StringPtrOutput) @@ -36248,6 +41523,12 @@ func (o RouterBgpPeerCustomLearnedIpRangeArrayOutput) ToRouterBgpPeerCustomLearn return o } +func (o RouterBgpPeerCustomLearnedIpRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerCustomLearnedIpRange] { + return pulumix.Output[[]RouterBgpPeerCustomLearnedIpRange]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerCustomLearnedIpRangeArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerCustomLearnedIpRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeerCustomLearnedIpRange { return vs[0].([]RouterBgpPeerCustomLearnedIpRange)[vs[1].(int)] @@ -36273,6 +41554,12 @@ func (o RouterBgpPeerCustomLearnedIpRangeResponseOutput) ToRouterBgpPeerCustomLe return o } +func (o RouterBgpPeerCustomLearnedIpRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerCustomLearnedIpRangeResponse] { + return pulumix.Output[RouterBgpPeerCustomLearnedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + // The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`. func (o RouterBgpPeerCustomLearnedIpRangeResponseOutput) Range() pulumi.StringOutput { return o.ApplyT(func(v RouterBgpPeerCustomLearnedIpRangeResponse) string { return v.Range }).(pulumi.StringOutput) @@ -36292,6 +41579,12 @@ func (o RouterBgpPeerCustomLearnedIpRangeResponseArrayOutput) ToRouterBgpPeerCus return o } +func (o RouterBgpPeerCustomLearnedIpRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerCustomLearnedIpRangeResponse] { + return pulumix.Output[[]RouterBgpPeerCustomLearnedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerCustomLearnedIpRangeResponseArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerCustomLearnedIpRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeerCustomLearnedIpRangeResponse { return vs[0].([]RouterBgpPeerCustomLearnedIpRangeResponse)[vs[1].(int)] @@ -36353,6 +41646,12 @@ func (o RouterBgpPeerResponseOutput) ToRouterBgpPeerResponseOutputWithContext(ct return o } +func (o RouterBgpPeerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerResponse] { + return pulumix.Output[RouterBgpPeerResponse]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. func (o RouterBgpPeerResponseOutput) AdvertiseMode() pulumi.StringOutput { return o.ApplyT(func(v RouterBgpPeerResponse) string { return v.AdvertiseMode }).(pulumi.StringOutput) @@ -36464,6 +41763,12 @@ func (o RouterBgpPeerResponseArrayOutput) ToRouterBgpPeerResponseArrayOutputWith return o } +func (o RouterBgpPeerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerResponse] { + return pulumix.Output[[]RouterBgpPeerResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerResponseArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeerResponse { return vs[0].([]RouterBgpPeerResponse)[vs[1].(int)] @@ -36497,6 +41802,12 @@ func (o RouterBgpResponseOutput) ToRouterBgpResponseOutputWithContext(ctx contex return o } +func (o RouterBgpResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpResponse] { + return pulumix.Output[RouterBgpResponse]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. func (o RouterBgpResponseOutput) AdvertiseMode() pulumi.StringOutput { return o.ApplyT(func(v RouterBgpResponse) string { return v.AdvertiseMode }).(pulumi.StringOutput) @@ -36579,6 +41890,12 @@ func (i RouterInterfaceArgs) ToRouterInterfaceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(RouterInterfaceOutput) } +func (i RouterInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[RouterInterface] { + return pulumix.Output[RouterInterface]{ + OutputState: i.ToRouterInterfaceOutputWithContext(ctx).OutputState, + } +} + // RouterInterfaceArrayInput is an input type that accepts RouterInterfaceArray and RouterInterfaceArrayOutput values. // You can construct a concrete instance of `RouterInterfaceArrayInput` via: // @@ -36604,6 +41921,12 @@ func (i RouterInterfaceArray) ToRouterInterfaceArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RouterInterfaceArrayOutput) } +func (i RouterInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterInterface] { + return pulumix.Output[[]RouterInterface]{ + OutputState: i.ToRouterInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + type RouterInterfaceOutput struct{ *pulumi.OutputState } func (RouterInterfaceOutput) ElementType() reflect.Type { @@ -36618,6 +41941,12 @@ func (o RouterInterfaceOutput) ToRouterInterfaceOutputWithContext(ctx context.Co return o } +func (o RouterInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[RouterInterface] { + return pulumix.Output[RouterInterface]{ + OutputState: o.OutputState, + } +} + // IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. func (o RouterInterfaceOutput) IpRange() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterInterface) *string { return v.IpRange }).(pulumi.StringPtrOutput) @@ -36667,6 +41996,12 @@ func (o RouterInterfaceArrayOutput) ToRouterInterfaceArrayOutputWithContext(ctx return o } +func (o RouterInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterInterface] { + return pulumix.Output[[]RouterInterface]{ + OutputState: o.OutputState, + } +} + func (o RouterInterfaceArrayOutput) Index(i pulumi.IntInput) RouterInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterInterface { return vs[0].([]RouterInterface)[vs[1].(int)] @@ -36706,6 +42041,12 @@ func (o RouterInterfaceResponseOutput) ToRouterInterfaceResponseOutputWithContex return o } +func (o RouterInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterInterfaceResponse] { + return pulumix.Output[RouterInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. func (o RouterInterfaceResponseOutput) IpRange() pulumi.StringOutput { return o.ApplyT(func(v RouterInterfaceResponse) string { return v.IpRange }).(pulumi.StringOutput) @@ -36760,6 +42101,12 @@ func (o RouterInterfaceResponseArrayOutput) ToRouterInterfaceResponseArrayOutput return o } +func (o RouterInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterInterfaceResponse] { + return pulumix.Output[[]RouterInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterInterfaceResponseArrayOutput) Index(i pulumi.IntInput) RouterInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterInterfaceResponse { return vs[0].([]RouterInterfaceResponse)[vs[1].(int)] @@ -36803,6 +42150,12 @@ func (i RouterMd5AuthenticationKeyArgs) ToRouterMd5AuthenticationKeyOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(RouterMd5AuthenticationKeyOutput) } +func (i RouterMd5AuthenticationKeyArgs) ToOutput(ctx context.Context) pulumix.Output[RouterMd5AuthenticationKey] { + return pulumix.Output[RouterMd5AuthenticationKey]{ + OutputState: i.ToRouterMd5AuthenticationKeyOutputWithContext(ctx).OutputState, + } +} + // RouterMd5AuthenticationKeyArrayInput is an input type that accepts RouterMd5AuthenticationKeyArray and RouterMd5AuthenticationKeyArrayOutput values. // You can construct a concrete instance of `RouterMd5AuthenticationKeyArrayInput` via: // @@ -36828,6 +42181,12 @@ func (i RouterMd5AuthenticationKeyArray) ToRouterMd5AuthenticationKeyArrayOutput return pulumi.ToOutputWithContext(ctx, i).(RouterMd5AuthenticationKeyArrayOutput) } +func (i RouterMd5AuthenticationKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterMd5AuthenticationKey] { + return pulumix.Output[[]RouterMd5AuthenticationKey]{ + OutputState: i.ToRouterMd5AuthenticationKeyArrayOutputWithContext(ctx).OutputState, + } +} + type RouterMd5AuthenticationKeyOutput struct{ *pulumi.OutputState } func (RouterMd5AuthenticationKeyOutput) ElementType() reflect.Type { @@ -36842,6 +42201,12 @@ func (o RouterMd5AuthenticationKeyOutput) ToRouterMd5AuthenticationKeyOutputWith return o } +func (o RouterMd5AuthenticationKeyOutput) ToOutput(ctx context.Context) pulumix.Output[RouterMd5AuthenticationKey] { + return pulumix.Output[RouterMd5AuthenticationKey]{ + OutputState: o.OutputState, + } +} + // [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters. func (o RouterMd5AuthenticationKeyOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterMd5AuthenticationKey) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -36866,6 +42231,12 @@ func (o RouterMd5AuthenticationKeyArrayOutput) ToRouterMd5AuthenticationKeyArray return o } +func (o RouterMd5AuthenticationKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterMd5AuthenticationKey] { + return pulumix.Output[[]RouterMd5AuthenticationKey]{ + OutputState: o.OutputState, + } +} + func (o RouterMd5AuthenticationKeyArrayOutput) Index(i pulumi.IntInput) RouterMd5AuthenticationKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterMd5AuthenticationKey { return vs[0].([]RouterMd5AuthenticationKey)[vs[1].(int)] @@ -36893,6 +42264,12 @@ func (o RouterMd5AuthenticationKeyResponseOutput) ToRouterMd5AuthenticationKeyRe return o } +func (o RouterMd5AuthenticationKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterMd5AuthenticationKeyResponse] { + return pulumix.Output[RouterMd5AuthenticationKeyResponse]{ + OutputState: o.OutputState, + } +} + // [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters. func (o RouterMd5AuthenticationKeyResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v RouterMd5AuthenticationKeyResponse) string { return v.Key }).(pulumi.StringOutput) @@ -36917,6 +42294,12 @@ func (o RouterMd5AuthenticationKeyResponseArrayOutput) ToRouterMd5Authentication return o } +func (o RouterMd5AuthenticationKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterMd5AuthenticationKeyResponse] { + return pulumix.Output[[]RouterMd5AuthenticationKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterMd5AuthenticationKeyResponseArrayOutput) Index(i pulumi.IntInput) RouterMd5AuthenticationKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterMd5AuthenticationKeyResponse { return vs[0].([]RouterMd5AuthenticationKeyResponse)[vs[1].(int)] @@ -37028,6 +42411,12 @@ func (i RouterNatArgs) ToRouterNatOutputWithContext(ctx context.Context) RouterN return pulumi.ToOutputWithContext(ctx, i).(RouterNatOutput) } +func (i RouterNatArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNat] { + return pulumix.Output[RouterNat]{ + OutputState: i.ToRouterNatOutputWithContext(ctx).OutputState, + } +} + // RouterNatArrayInput is an input type that accepts RouterNatArray and RouterNatArrayOutput values. // You can construct a concrete instance of `RouterNatArrayInput` via: // @@ -37053,6 +42442,12 @@ func (i RouterNatArray) ToRouterNatArrayOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, i).(RouterNatArrayOutput) } +func (i RouterNatArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNat] { + return pulumix.Output[[]RouterNat]{ + OutputState: i.ToRouterNatArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided. type RouterNatOutput struct{ *pulumi.OutputState } @@ -37068,6 +42463,12 @@ func (o RouterNatOutput) ToRouterNatOutputWithContext(ctx context.Context) Route return o } +func (o RouterNatOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNat] { + return pulumix.Output[RouterNat]{ + OutputState: o.OutputState, + } +} + // The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. func (o RouterNatOutput) AutoNetworkTier() RouterNatAutoNetworkTierPtrOutput { return o.ApplyT(func(v RouterNat) *RouterNatAutoNetworkTier { return v.AutoNetworkTier }).(RouterNatAutoNetworkTierPtrOutput) @@ -37176,6 +42577,12 @@ func (o RouterNatArrayOutput) ToRouterNatArrayOutputWithContext(ctx context.Cont return o } +func (o RouterNatArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNat] { + return pulumix.Output[[]RouterNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatArrayOutput) Index(i pulumi.IntInput) RouterNatOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNat { return vs[0].([]RouterNat)[vs[1].(int)] @@ -37221,6 +42628,12 @@ func (i RouterNatLogConfigArgs) ToRouterNatLogConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RouterNatLogConfigOutput) } +func (i RouterNatLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfig] { + return pulumix.Output[RouterNatLogConfig]{ + OutputState: i.ToRouterNatLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i RouterNatLogConfigArgs) ToRouterNatLogConfigPtrOutput() RouterNatLogConfigPtrOutput { return i.ToRouterNatLogConfigPtrOutputWithContext(context.Background()) } @@ -37262,6 +42675,12 @@ func (i *routerNatLogConfigPtrType) ToRouterNatLogConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RouterNatLogConfigPtrOutput) } +func (i *routerNatLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfig] { + return pulumix.Output[*RouterNatLogConfig]{ + OutputState: i.ToRouterNatLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of logging on a NAT. type RouterNatLogConfigOutput struct{ *pulumi.OutputState } @@ -37287,6 +42706,12 @@ func (o RouterNatLogConfigOutput) ToRouterNatLogConfigPtrOutputWithContext(ctx c }).(RouterNatLogConfigPtrOutput) } +func (o RouterNatLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfig] { + return pulumix.Output[RouterNatLogConfig]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default. func (o RouterNatLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v RouterNatLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -37311,6 +42736,12 @@ func (o RouterNatLogConfigPtrOutput) ToRouterNatLogConfigPtrOutputWithContext(ct return o } +func (o RouterNatLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfig] { + return pulumix.Output[*RouterNatLogConfig]{ + OutputState: o.OutputState, + } +} + func (o RouterNatLogConfigPtrOutput) Elem() RouterNatLogConfigOutput { return o.ApplyT(func(v *RouterNatLogConfig) RouterNatLogConfig { if v != nil { @@ -37364,6 +42795,12 @@ func (o RouterNatLogConfigResponseOutput) ToRouterNatLogConfigResponseOutputWith return o } +func (o RouterNatLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfigResponse] { + return pulumix.Output[RouterNatLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default. func (o RouterNatLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v RouterNatLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -37430,6 +42867,12 @@ func (o RouterNatResponseOutput) ToRouterNatResponseOutputWithContext(ctx contex return o } +func (o RouterNatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatResponse] { + return pulumix.Output[RouterNatResponse]{ + OutputState: o.OutputState, + } +} + // The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used. func (o RouterNatResponseOutput) AutoNetworkTier() pulumi.StringOutput { return o.ApplyT(func(v RouterNatResponse) string { return v.AutoNetworkTier }).(pulumi.StringOutput) @@ -37538,6 +42981,12 @@ func (o RouterNatResponseArrayOutput) ToRouterNatResponseArrayOutputWithContext( return o } +func (o RouterNatResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatResponse] { + return pulumix.Output[[]RouterNatResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterNatResponseArrayOutput) Index(i pulumi.IntInput) RouterNatResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatResponse { return vs[0].([]RouterNatResponse)[vs[1].(int)] @@ -37589,6 +43038,12 @@ func (i RouterNatRuleArgs) ToRouterNatRuleOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleOutput) } +func (i RouterNatRuleArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatRule] { + return pulumix.Output[RouterNatRule]{ + OutputState: i.ToRouterNatRuleOutputWithContext(ctx).OutputState, + } +} + // RouterNatRuleArrayInput is an input type that accepts RouterNatRuleArray and RouterNatRuleArrayOutput values. // You can construct a concrete instance of `RouterNatRuleArrayInput` via: // @@ -37614,6 +43069,12 @@ func (i RouterNatRuleArray) ToRouterNatRuleArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleArrayOutput) } +func (i RouterNatRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatRule] { + return pulumix.Output[[]RouterNatRule]{ + OutputState: i.ToRouterNatRuleArrayOutputWithContext(ctx).OutputState, + } +} + type RouterNatRuleOutput struct{ *pulumi.OutputState } func (RouterNatRuleOutput) ElementType() reflect.Type { @@ -37628,6 +43089,12 @@ func (o RouterNatRuleOutput) ToRouterNatRuleOutputWithContext(ctx context.Contex return o } +func (o RouterNatRuleOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRule] { + return pulumix.Output[RouterNatRule]{ + OutputState: o.OutputState, + } +} + // The action to be enforced for traffic that matches this rule. func (o RouterNatRuleOutput) Action() RouterNatRuleActionPtrOutput { return o.ApplyT(func(v RouterNatRule) *RouterNatRuleAction { return v.Action }).(RouterNatRuleActionPtrOutput) @@ -37662,6 +43129,12 @@ func (o RouterNatRuleArrayOutput) ToRouterNatRuleArrayOutputWithContext(ctx cont return o } +func (o RouterNatRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatRule] { + return pulumix.Output[[]RouterNatRule]{ + OutputState: o.OutputState, + } +} + func (o RouterNatRuleArrayOutput) Index(i pulumi.IntInput) RouterNatRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatRule { return vs[0].([]RouterNatRule)[vs[1].(int)] @@ -37705,6 +43178,12 @@ func (i RouterNatRuleActionArgs) ToRouterNatRuleActionOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleActionOutput) } +func (i RouterNatRuleActionArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleAction] { + return pulumix.Output[RouterNatRuleAction]{ + OutputState: i.ToRouterNatRuleActionOutputWithContext(ctx).OutputState, + } +} + func (i RouterNatRuleActionArgs) ToRouterNatRuleActionPtrOutput() RouterNatRuleActionPtrOutput { return i.ToRouterNatRuleActionPtrOutputWithContext(context.Background()) } @@ -37746,6 +43225,12 @@ func (i *routerNatRuleActionPtrType) ToRouterNatRuleActionPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleActionPtrOutput) } +func (i *routerNatRuleActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterNatRuleAction] { + return pulumix.Output[*RouterNatRuleAction]{ + OutputState: i.ToRouterNatRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + type RouterNatRuleActionOutput struct{ *pulumi.OutputState } func (RouterNatRuleActionOutput) ElementType() reflect.Type { @@ -37770,6 +43255,12 @@ func (o RouterNatRuleActionOutput) ToRouterNatRuleActionPtrOutputWithContext(ctx }).(RouterNatRuleActionPtrOutput) } +func (o RouterNatRuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleAction] { + return pulumix.Output[RouterNatRuleAction]{ + OutputState: o.OutputState, + } +} + // A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. func (o RouterNatRuleActionOutput) SourceNatActiveIps() pulumi.StringArrayOutput { return o.ApplyT(func(v RouterNatRuleAction) []string { return v.SourceNatActiveIps }).(pulumi.StringArrayOutput) @@ -37794,6 +43285,12 @@ func (o RouterNatRuleActionPtrOutput) ToRouterNatRuleActionPtrOutputWithContext( return o } +func (o RouterNatRuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatRuleAction] { + return pulumix.Output[*RouterNatRuleAction]{ + OutputState: o.OutputState, + } +} + func (o RouterNatRuleActionPtrOutput) Elem() RouterNatRuleActionOutput { return o.ApplyT(func(v *RouterNatRuleAction) RouterNatRuleAction { if v != nil { @@ -37845,6 +43342,12 @@ func (o RouterNatRuleActionResponseOutput) ToRouterNatRuleActionResponseOutputWi return o } +func (o RouterNatRuleActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleActionResponse] { + return pulumix.Output[RouterNatRuleActionResponse]{ + OutputState: o.OutputState, + } +} + // A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. func (o RouterNatRuleActionResponseOutput) SourceNatActiveIps() pulumi.StringArrayOutput { return o.ApplyT(func(v RouterNatRuleActionResponse) []string { return v.SourceNatActiveIps }).(pulumi.StringArrayOutput) @@ -37880,6 +43383,12 @@ func (o RouterNatRuleResponseOutput) ToRouterNatRuleResponseOutputWithContext(ct return o } +func (o RouterNatRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleResponse] { + return pulumix.Output[RouterNatRuleResponse]{ + OutputState: o.OutputState, + } +} + // The action to be enforced for traffic that matches this rule. func (o RouterNatRuleResponseOutput) Action() RouterNatRuleActionResponseOutput { return o.ApplyT(func(v RouterNatRuleResponse) RouterNatRuleActionResponse { return v.Action }).(RouterNatRuleActionResponseOutput) @@ -37914,6 +43423,12 @@ func (o RouterNatRuleResponseArrayOutput) ToRouterNatRuleResponseArrayOutputWith return o } +func (o RouterNatRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatRuleResponse] { + return pulumix.Output[[]RouterNatRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterNatRuleResponseArrayOutput) Index(i pulumi.IntInput) RouterNatRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatRuleResponse { return vs[0].([]RouterNatRuleResponse)[vs[1].(int)] @@ -37963,6 +43478,12 @@ func (i RouterNatSubnetworkToNatArgs) ToRouterNatSubnetworkToNatOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(RouterNatSubnetworkToNatOutput) } +func (i RouterNatSubnetworkToNatArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNat] { + return pulumix.Output[RouterNatSubnetworkToNat]{ + OutputState: i.ToRouterNatSubnetworkToNatOutputWithContext(ctx).OutputState, + } +} + // RouterNatSubnetworkToNatArrayInput is an input type that accepts RouterNatSubnetworkToNatArray and RouterNatSubnetworkToNatArrayOutput values. // You can construct a concrete instance of `RouterNatSubnetworkToNatArrayInput` via: // @@ -37988,6 +43509,12 @@ func (i RouterNatSubnetworkToNatArray) ToRouterNatSubnetworkToNatArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(RouterNatSubnetworkToNatArrayOutput) } +func (i RouterNatSubnetworkToNatArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNat] { + return pulumix.Output[[]RouterNatSubnetworkToNat]{ + OutputState: i.ToRouterNatSubnetworkToNatArrayOutputWithContext(ctx).OutputState, + } +} + // Defines the IP ranges that want to use NAT for a subnetwork. type RouterNatSubnetworkToNatOutput struct{ *pulumi.OutputState } @@ -38003,6 +43530,12 @@ func (o RouterNatSubnetworkToNatOutput) ToRouterNatSubnetworkToNatOutputWithCont return o } +func (o RouterNatSubnetworkToNatOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNat] { + return pulumix.Output[RouterNatSubnetworkToNat]{ + OutputState: o.OutputState, + } +} + // URL for the subnetwork resource that will use NAT. func (o RouterNatSubnetworkToNatOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterNatSubnetworkToNat) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -38034,6 +43567,12 @@ func (o RouterNatSubnetworkToNatArrayOutput) ToRouterNatSubnetworkToNatArrayOutp return o } +func (o RouterNatSubnetworkToNatArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNat] { + return pulumix.Output[[]RouterNatSubnetworkToNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatArrayOutput) Index(i pulumi.IntInput) RouterNatSubnetworkToNatOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatSubnetworkToNat { return vs[0].([]RouterNatSubnetworkToNat)[vs[1].(int)] @@ -38065,6 +43604,12 @@ func (o RouterNatSubnetworkToNatResponseOutput) ToRouterNatSubnetworkToNatRespon return o } +func (o RouterNatSubnetworkToNatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNatResponse] { + return pulumix.Output[RouterNatSubnetworkToNatResponse]{ + OutputState: o.OutputState, + } +} + // URL for the subnetwork resource that will use NAT. func (o RouterNatSubnetworkToNatResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v RouterNatSubnetworkToNatResponse) string { return v.Name }).(pulumi.StringOutput) @@ -38094,6 +43639,12 @@ func (o RouterNatSubnetworkToNatResponseArrayOutput) ToRouterNatSubnetworkToNatR return o } +func (o RouterNatSubnetworkToNatResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNatResponse] { + return pulumix.Output[[]RouterNatSubnetworkToNatResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatResponseArrayOutput) Index(i pulumi.IntInput) RouterNatSubnetworkToNatResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatSubnetworkToNatResponse { return vs[0].([]RouterNatSubnetworkToNatResponse)[vs[1].(int)] @@ -38159,6 +43710,12 @@ func (i RuleArgs) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return pulumi.ToOutputWithContext(ctx, i).(RuleOutput) } +func (i RuleArgs) ToOutput(ctx context.Context) pulumix.Output[Rule] { + return pulumix.Output[Rule]{ + OutputState: i.ToRuleOutputWithContext(ctx).OutputState, + } +} + // RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. // You can construct a concrete instance of `RuleArrayInput` via: // @@ -38184,6 +43741,12 @@ func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOu return pulumi.ToOutputWithContext(ctx, i).(RuleArrayOutput) } +func (i RuleArray) ToOutput(ctx context.Context) pulumix.Output[[]Rule] { + return pulumix.Output[[]Rule]{ + OutputState: i.ToRuleArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type RuleOutput struct{ *pulumi.OutputState } @@ -38199,6 +43762,12 @@ func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return o } +func (o RuleOutput) ToOutput(ctx context.Context) pulumix.Output[Rule] { + return pulumix.Output[Rule]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o RuleOutput) Action() RuleActionPtrOutput { return o.ApplyT(func(v Rule) *RuleAction { return v.Action }).(RuleActionPtrOutput) @@ -38248,6 +43817,12 @@ func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleA return o } +func (o RuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Rule] { + return pulumix.Output[[]Rule]{ + OutputState: o.OutputState, + } +} + func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Rule { return vs[0].([]Rule)[vs[1].(int)] @@ -38287,6 +43862,12 @@ func (o RuleResponseOutput) ToRuleResponseOutputWithContext(ctx context.Context) return o } +func (o RuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuleResponse] { + return pulumix.Output[RuleResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o RuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v RuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -38336,6 +43917,12 @@ func (o RuleResponseArrayOutput) ToRuleResponseArrayOutputWithContext(ctx contex return o } +func (o RuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleResponse] { + return pulumix.Output[[]RuleResponse]{ + OutputState: o.OutputState, + } +} + func (o RuleResponseArrayOutput) Index(i pulumi.IntInput) RuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RuleResponse { return vs[0].([]RuleResponse)[vs[1].(int)] @@ -38395,6 +43982,12 @@ func (i SSLHealthCheckArgs) ToSSLHealthCheckOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SSLHealthCheckOutput) } +func (i SSLHealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheck] { + return pulumix.Output[SSLHealthCheck]{ + OutputState: i.ToSSLHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i SSLHealthCheckArgs) ToSSLHealthCheckPtrOutput() SSLHealthCheckPtrOutput { return i.ToSSLHealthCheckPtrOutputWithContext(context.Background()) } @@ -38436,6 +44029,12 @@ func (i *sslhealthCheckPtrType) ToSSLHealthCheckPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SSLHealthCheckPtrOutput) } +func (i *sslhealthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheck] { + return pulumix.Output[*SSLHealthCheck]{ + OutputState: i.ToSSLHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type SSLHealthCheckOutput struct{ *pulumi.OutputState } func (SSLHealthCheckOutput) ElementType() reflect.Type { @@ -38460,6 +44059,12 @@ func (o SSLHealthCheckOutput) ToSSLHealthCheckPtrOutputWithContext(ctx context.C }).(SSLHealthCheckPtrOutput) } +func (o SSLHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheck] { + return pulumix.Output[SSLHealthCheck]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535. func (o SSLHealthCheckOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v SSLHealthCheck) *int { return v.Port }).(pulumi.IntPtrOutput) @@ -38504,6 +44109,12 @@ func (o SSLHealthCheckPtrOutput) ToSSLHealthCheckPtrOutputWithContext(ctx contex return o } +func (o SSLHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheck] { + return pulumix.Output[*SSLHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckPtrOutput) Elem() SSLHealthCheckOutput { return o.ApplyT(func(v *SSLHealthCheck) SSLHealthCheck { if v != nil { @@ -38603,6 +44214,12 @@ func (o SSLHealthCheckResponseOutput) ToSSLHealthCheckResponseOutputWithContext( return o } +func (o SSLHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheckResponse] { + return pulumix.Output[SSLHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535. func (o SSLHealthCheckResponseOutput) Port() pulumi.IntOutput { return o.ApplyT(func(v SSLHealthCheckResponse) int { return v.Port }).(pulumi.IntOutput) @@ -38684,6 +44301,12 @@ func (o SavedAttachedDiskResponseOutput) ToSavedAttachedDiskResponseOutputWithCo return o } +func (o SavedAttachedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SavedAttachedDiskResponse] { + return pulumix.Output[SavedAttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o SavedAttachedDiskResponseOutput) AutoDelete() pulumi.BoolOutput { return o.ApplyT(func(v SavedAttachedDiskResponse) bool { return v.AutoDelete }).(pulumi.BoolOutput) @@ -38778,6 +44401,12 @@ func (o SavedAttachedDiskResponseArrayOutput) ToSavedAttachedDiskResponseArrayOu return o } +func (o SavedAttachedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SavedAttachedDiskResponse] { + return pulumix.Output[[]SavedAttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o SavedAttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) SavedAttachedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SavedAttachedDiskResponse { return vs[0].([]SavedAttachedDiskResponse)[vs[1].(int)] @@ -38819,6 +44448,12 @@ func (i SavedDiskArgs) ToSavedDiskOutputWithContext(ctx context.Context) SavedDi return pulumi.ToOutputWithContext(ctx, i).(SavedDiskOutput) } +func (i SavedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[SavedDisk] { + return pulumix.Output[SavedDisk]{ + OutputState: i.ToSavedDiskOutputWithContext(ctx).OutputState, + } +} + // SavedDiskArrayInput is an input type that accepts SavedDiskArray and SavedDiskArrayOutput values. // You can construct a concrete instance of `SavedDiskArrayInput` via: // @@ -38844,6 +44479,12 @@ func (i SavedDiskArray) ToSavedDiskArrayOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SavedDiskArrayOutput) } +func (i SavedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]SavedDisk] { + return pulumix.Output[[]SavedDisk]{ + OutputState: i.ToSavedDiskArrayOutputWithContext(ctx).OutputState, + } +} + // An instance-attached disk resource. type SavedDiskOutput struct{ *pulumi.OutputState } @@ -38859,6 +44500,12 @@ func (o SavedDiskOutput) ToSavedDiskOutputWithContext(ctx context.Context) Saved return o } +func (o SavedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[SavedDisk] { + return pulumix.Output[SavedDisk]{ + OutputState: o.OutputState, + } +} + // Specifies a URL of the disk attached to the source instance. func (o SavedDiskOutput) SourceDisk() pulumi.StringPtrOutput { return o.ApplyT(func(v SavedDisk) *string { return v.SourceDisk }).(pulumi.StringPtrOutput) @@ -38878,6 +44525,12 @@ func (o SavedDiskArrayOutput) ToSavedDiskArrayOutputWithContext(ctx context.Cont return o } +func (o SavedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SavedDisk] { + return pulumix.Output[[]SavedDisk]{ + OutputState: o.OutputState, + } +} + func (o SavedDiskArrayOutput) Index(i pulumi.IntInput) SavedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SavedDisk { return vs[0].([]SavedDisk)[vs[1].(int)] @@ -38913,6 +44566,12 @@ func (o SavedDiskResponseOutput) ToSavedDiskResponseOutputWithContext(ctx contex return o } +func (o SavedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SavedDiskResponse] { + return pulumix.Output[SavedDiskResponse]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. func (o SavedDiskResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v SavedDiskResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -38952,6 +44611,12 @@ func (o SavedDiskResponseArrayOutput) ToSavedDiskResponseArrayOutputWithContext( return o } +func (o SavedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SavedDiskResponse] { + return pulumix.Output[[]SavedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o SavedDiskResponseArrayOutput) Index(i pulumi.IntInput) SavedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SavedDiskResponse { return vs[0].([]SavedDiskResponse)[vs[1].(int)] @@ -39041,6 +44706,12 @@ func (i SchedulingArgs) ToSchedulingOutputWithContext(ctx context.Context) Sched return pulumi.ToOutputWithContext(ctx, i).(SchedulingOutput) } +func (i SchedulingArgs) ToOutput(ctx context.Context) pulumix.Output[Scheduling] { + return pulumix.Output[Scheduling]{ + OutputState: i.ToSchedulingOutputWithContext(ctx).OutputState, + } +} + func (i SchedulingArgs) ToSchedulingPtrOutput() SchedulingPtrOutput { return i.ToSchedulingPtrOutputWithContext(context.Background()) } @@ -39082,6 +44753,12 @@ func (i *schedulingPtrType) ToSchedulingPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SchedulingPtrOutput) } +func (i *schedulingPtrType) ToOutput(ctx context.Context) pulumix.Output[*Scheduling] { + return pulumix.Output[*Scheduling]{ + OutputState: i.ToSchedulingPtrOutputWithContext(ctx).OutputState, + } +} + // Sets the scheduling options for an Instance. type SchedulingOutput struct{ *pulumi.OutputState } @@ -39107,6 +44784,12 @@ func (o SchedulingOutput) ToSchedulingPtrOutputWithContext(ctx context.Context) }).(SchedulingPtrOutput) } +func (o SchedulingOutput) ToOutput(ctx context.Context) pulumix.Output[Scheduling] { + return pulumix.Output[Scheduling]{ + OutputState: o.OutputState, + } +} + // Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. func (o SchedulingOutput) AutomaticRestart() pulumi.BoolPtrOutput { return o.ApplyT(func(v Scheduling) *bool { return v.AutomaticRestart }).(pulumi.BoolPtrOutput) @@ -39186,6 +44869,12 @@ func (o SchedulingPtrOutput) ToSchedulingPtrOutputWithContext(ctx context.Contex return o } +func (o SchedulingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Scheduling] { + return pulumix.Output[*Scheduling]{ + OutputState: o.OutputState, + } +} + func (o SchedulingPtrOutput) Elem() SchedulingOutput { return o.ApplyT(func(v *Scheduling) Scheduling { if v != nil { @@ -39369,6 +45058,12 @@ func (i SchedulingNodeAffinityArgs) ToSchedulingNodeAffinityOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SchedulingNodeAffinityOutput) } +func (i SchedulingNodeAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinity] { + return pulumix.Output[SchedulingNodeAffinity]{ + OutputState: i.ToSchedulingNodeAffinityOutputWithContext(ctx).OutputState, + } +} + // SchedulingNodeAffinityArrayInput is an input type that accepts SchedulingNodeAffinityArray and SchedulingNodeAffinityArrayOutput values. // You can construct a concrete instance of `SchedulingNodeAffinityArrayInput` via: // @@ -39394,6 +45089,12 @@ func (i SchedulingNodeAffinityArray) ToSchedulingNodeAffinityArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SchedulingNodeAffinityArrayOutput) } +func (i SchedulingNodeAffinityArray) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinity] { + return pulumix.Output[[]SchedulingNodeAffinity]{ + OutputState: i.ToSchedulingNodeAffinityArrayOutputWithContext(ctx).OutputState, + } +} + // Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. type SchedulingNodeAffinityOutput struct{ *pulumi.OutputState } @@ -39409,6 +45110,12 @@ func (o SchedulingNodeAffinityOutput) ToSchedulingNodeAffinityOutputWithContext( return o } +func (o SchedulingNodeAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinity] { + return pulumix.Output[SchedulingNodeAffinity]{ + OutputState: o.OutputState, + } +} + // Corresponds to the label key of Node resource. func (o SchedulingNodeAffinityOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v SchedulingNodeAffinity) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -39438,6 +45145,12 @@ func (o SchedulingNodeAffinityArrayOutput) ToSchedulingNodeAffinityArrayOutputWi return o } +func (o SchedulingNodeAffinityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinity] { + return pulumix.Output[[]SchedulingNodeAffinity]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityArrayOutput) Index(i pulumi.IntInput) SchedulingNodeAffinityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchedulingNodeAffinity { return vs[0].([]SchedulingNodeAffinity)[vs[1].(int)] @@ -39469,6 +45182,12 @@ func (o SchedulingNodeAffinityResponseOutput) ToSchedulingNodeAffinityResponseOu return o } +func (o SchedulingNodeAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinityResponse] { + return pulumix.Output[SchedulingNodeAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Corresponds to the label key of Node resource. func (o SchedulingNodeAffinityResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SchedulingNodeAffinityResponse) string { return v.Key }).(pulumi.StringOutput) @@ -39498,6 +45217,12 @@ func (o SchedulingNodeAffinityResponseArrayOutput) ToSchedulingNodeAffinityRespo return o } +func (o SchedulingNodeAffinityResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinityResponse] { + return pulumix.Output[[]SchedulingNodeAffinityResponse]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityResponseArrayOutput) Index(i pulumi.IntInput) SchedulingNodeAffinityResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchedulingNodeAffinityResponse { return vs[0].([]SchedulingNodeAffinityResponse)[vs[1].(int)] @@ -39549,6 +45274,12 @@ func (o SchedulingResponseOutput) ToSchedulingResponseOutputWithContext(ctx cont return o } +func (o SchedulingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingResponse] { + return pulumix.Output[SchedulingResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. func (o SchedulingResponseOutput) AutomaticRestart() pulumi.BoolOutput { return o.ApplyT(func(v SchedulingResponse) bool { return v.AutomaticRestart }).(pulumi.BoolOutput) @@ -39651,6 +45382,12 @@ func (i SecurityPolicyAdaptiveProtectionConfigArgs) ToSecurityPolicyAdaptiveProt return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigOutput) } +func (i SecurityPolicyAdaptiveProtectionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdaptiveProtectionConfigArgs) ToSecurityPolicyAdaptiveProtectionConfigPtrOutput() SecurityPolicyAdaptiveProtectionConfigPtrOutput { return i.ToSecurityPolicyAdaptiveProtectionConfigPtrOutputWithContext(context.Background()) } @@ -39692,6 +45429,12 @@ func (i *securityPolicyAdaptiveProtectionConfigPtrType) ToSecurityPolicyAdaptive return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigPtrOutput) } +func (i *securityPolicyAdaptiveProtectionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for Cloud Armor Adaptive Protection (CAAP). type SecurityPolicyAdaptiveProtectionConfigOutput struct{ *pulumi.OutputState } @@ -39717,6 +45460,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigOutput) ToSecurityPolicyAdaptivePr }).(SecurityPolicyAdaptiveProtectionConfigPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigOutput) AutoDeployConfig() SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfig) *SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig { return v.AutoDeployConfig @@ -39744,6 +45493,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigPtrOutput) ToSecurityPolicyAdaptiv return o } +func (o SecurityPolicyAdaptiveProtectionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfig) SecurityPolicyAdaptiveProtectionConfig { if v != nil { @@ -39812,6 +45567,12 @@ func (i SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgs) ToSecurityPo return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput) } +func (i SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigArgs) ToSecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput() SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput { return i.ToSecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutputWithContext(context.Background()) } @@ -39853,6 +45614,12 @@ func (i *securityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrType) ToSecuri return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput) } +func (i *securityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for Adaptive Protection auto-deploy feature. type SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput struct{ *pulumi.OutputState } @@ -39878,6 +45645,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput) ToSecurity }).(SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput) ConfidenceThreshold() pulumi.Float64PtrOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) *float64 { return v.ConfidenceThreshold }).(pulumi.Float64PtrOutput) } @@ -39910,6 +45683,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput) ToSecur return o } +func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig) SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig { if v != nil { @@ -39979,6 +45758,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponseOutput) To return o } +func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponseOutput) ConfidenceThreshold() pulumi.Float64Output { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse) float64 { return v.ConfidenceThreshold @@ -40038,6 +45823,12 @@ func (i SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs) ToSec return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) } +func (i SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs) ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput { return i.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutputWithContext(context.Background()) } @@ -40079,6 +45870,12 @@ func (i *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrType) T return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) } +func (i *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput struct{ *pulumi.OutputState } @@ -40104,6 +45901,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) ToS }).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: o.OutputState, + } +} + // If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -40130,6 +45933,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) return o } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig { if v != nil { @@ -40183,6 +45992,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseOut return o } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -40217,6 +46032,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigResponseOutput) ToSecurityPolicyAd return o } +func (o SecurityPolicyAdaptiveProtectionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigResponse] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigResponseOutput) AutoDeployConfig() SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponseOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigResponse) SecurityPolicyAdaptiveProtectionConfigAutoDeployConfigResponse { return v.AutoDeployConfig @@ -40271,6 +46092,12 @@ func (i SecurityPolicyAdvancedOptionsConfigArgs) ToSecurityPolicyAdvancedOptions return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigOutput) } +func (i SecurityPolicyAdvancedOptionsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdvancedOptionsConfigArgs) ToSecurityPolicyAdvancedOptionsConfigPtrOutput() SecurityPolicyAdvancedOptionsConfigPtrOutput { return i.ToSecurityPolicyAdvancedOptionsConfigPtrOutputWithContext(context.Background()) } @@ -40312,6 +46139,12 @@ func (i *securityPolicyAdvancedOptionsConfigPtrType) ToSecurityPolicyAdvancedOpt return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigPtrOutput) } +func (i *securityPolicyAdvancedOptionsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyAdvancedOptionsConfigOutput) ElementType() reflect.Type { @@ -40336,6 +46169,12 @@ func (o SecurityPolicyAdvancedOptionsConfigOutput) ToSecurityPolicyAdvancedOptio }).(SecurityPolicyAdvancedOptionsConfigPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfig]{ + OutputState: o.OutputState, + } +} + // Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD. func (o SecurityPolicyAdvancedOptionsConfigOutput) JsonCustomConfig() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfig) *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig { @@ -40374,6 +46213,12 @@ func (o SecurityPolicyAdvancedOptionsConfigPtrOutput) ToSecurityPolicyAdvancedOp return o } +func (o SecurityPolicyAdvancedOptionsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfig) SecurityPolicyAdvancedOptionsConfig { if v != nil { @@ -40455,6 +46300,12 @@ func (i SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs) ToSecurityPolic return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) } +func (i SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs) ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput { return i.ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutputWithContext(context.Background()) } @@ -40496,6 +46347,12 @@ func (i *securityPolicyAdvancedOptionsConfigJsonCustomConfigPtrType) ToSecurityP return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) } +func (i *securityPolicyAdvancedOptionsConfigJsonCustomConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ElementType() reflect.Type { @@ -40520,6 +46377,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ToSecurityPol }).(SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: o.OutputState, + } +} + // A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded. func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ContentTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) []string { return v.ContentTypes }).(pulumi.StringArrayOutput) @@ -40539,6 +46402,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) ToSecurity return o } +func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) SecurityPolicyAdvancedOptionsConfigJsonCustomConfig { if v != nil { @@ -40578,6 +46447,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput) ToSec return o } +func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded. func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput) ContentTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse) []string { return v.ContentTypes }).(pulumi.StringArrayOutput) @@ -40606,6 +46481,12 @@ func (o SecurityPolicyAdvancedOptionsConfigResponseOutput) ToSecurityPolicyAdvan return o } +func (o SecurityPolicyAdvancedOptionsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigResponse] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD. func (o SecurityPolicyAdvancedOptionsConfigResponseOutput) JsonCustomConfig() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfigResponse) SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse { @@ -40663,6 +46544,12 @@ func (i SecurityPolicyAssociationArgs) ToSecurityPolicyAssociationOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAssociationOutput) } +func (i SecurityPolicyAssociationArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAssociation] { + return pulumix.Output[SecurityPolicyAssociation]{ + OutputState: i.ToSecurityPolicyAssociationOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyAssociationArrayInput is an input type that accepts SecurityPolicyAssociationArray and SecurityPolicyAssociationArrayOutput values. // You can construct a concrete instance of `SecurityPolicyAssociationArrayInput` via: // @@ -40688,6 +46575,12 @@ func (i SecurityPolicyAssociationArray) ToSecurityPolicyAssociationArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAssociationArrayOutput) } +func (i SecurityPolicyAssociationArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyAssociation] { + return pulumix.Output[[]SecurityPolicyAssociation]{ + OutputState: i.ToSecurityPolicyAssociationArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAssociationOutput struct{ *pulumi.OutputState } func (SecurityPolicyAssociationOutput) ElementType() reflect.Type { @@ -40702,6 +46595,12 @@ func (o SecurityPolicyAssociationOutput) ToSecurityPolicyAssociationOutputWithCo return o } +func (o SecurityPolicyAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAssociation] { + return pulumix.Output[SecurityPolicyAssociation]{ + OutputState: o.OutputState, + } +} + // The resource that the security policy is attached to. func (o SecurityPolicyAssociationOutput) AttachmentId() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyAssociation) *string { return v.AttachmentId }).(pulumi.StringPtrOutput) @@ -40726,6 +46625,12 @@ func (o SecurityPolicyAssociationArrayOutput) ToSecurityPolicyAssociationArrayOu return o } +func (o SecurityPolicyAssociationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyAssociation] { + return pulumix.Output[[]SecurityPolicyAssociation]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAssociationArrayOutput) Index(i pulumi.IntInput) SecurityPolicyAssociationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyAssociation { return vs[0].([]SecurityPolicyAssociation)[vs[1].(int)] @@ -40757,6 +46662,12 @@ func (o SecurityPolicyAssociationResponseOutput) ToSecurityPolicyAssociationResp return o } +func (o SecurityPolicyAssociationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAssociationResponse] { + return pulumix.Output[SecurityPolicyAssociationResponse]{ + OutputState: o.OutputState, + } +} + // The resource that the security policy is attached to. func (o SecurityPolicyAssociationResponseOutput) AttachmentId() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyAssociationResponse) string { return v.AttachmentId }).(pulumi.StringOutput) @@ -40791,6 +46702,12 @@ func (o SecurityPolicyAssociationResponseArrayOutput) ToSecurityPolicyAssociatio return o } +func (o SecurityPolicyAssociationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyAssociationResponse] { + return pulumix.Output[[]SecurityPolicyAssociationResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAssociationResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyAssociationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyAssociationResponse { return vs[0].([]SecurityPolicyAssociationResponse)[vs[1].(int)] @@ -40828,6 +46745,12 @@ func (i SecurityPolicyDdosProtectionConfigArgs) ToSecurityPolicyDdosProtectionCo return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyDdosProtectionConfigOutput) } +func (i SecurityPolicyDdosProtectionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[SecurityPolicyDdosProtectionConfig]{ + OutputState: i.ToSecurityPolicyDdosProtectionConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyDdosProtectionConfigArgs) ToSecurityPolicyDdosProtectionConfigPtrOutput() SecurityPolicyDdosProtectionConfigPtrOutput { return i.ToSecurityPolicyDdosProtectionConfigPtrOutputWithContext(context.Background()) } @@ -40869,6 +46792,12 @@ func (i *securityPolicyDdosProtectionConfigPtrType) ToSecurityPolicyDdosProtecti return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyDdosProtectionConfigPtrOutput) } +func (i *securityPolicyDdosProtectionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfig]{ + OutputState: i.ToSecurityPolicyDdosProtectionConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyDdosProtectionConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyDdosProtectionConfigOutput) ElementType() reflect.Type { @@ -40893,6 +46822,12 @@ func (o SecurityPolicyDdosProtectionConfigOutput) ToSecurityPolicyDdosProtection }).(SecurityPolicyDdosProtectionConfigPtrOutput) } +func (o SecurityPolicyDdosProtectionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[SecurityPolicyDdosProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigOutput) DdosProtection() SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput { return o.ApplyT(func(v SecurityPolicyDdosProtectionConfig) *SecurityPolicyDdosProtectionConfigDdosProtection { return v.DdosProtection @@ -40913,6 +46848,12 @@ func (o SecurityPolicyDdosProtectionConfigPtrOutput) ToSecurityPolicyDdosProtect return o } +func (o SecurityPolicyDdosProtectionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigPtrOutput) Elem() SecurityPolicyDdosProtectionConfigOutput { return o.ApplyT(func(v *SecurityPolicyDdosProtectionConfig) SecurityPolicyDdosProtectionConfig { if v != nil { @@ -40950,6 +46891,12 @@ func (o SecurityPolicyDdosProtectionConfigResponseOutput) ToSecurityPolicyDdosPr return o } +func (o SecurityPolicyDdosProtectionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfigResponse] { + return pulumix.Output[SecurityPolicyDdosProtectionConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigResponseOutput) DdosProtection() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyDdosProtectionConfigResponse) string { return v.DdosProtection }).(pulumi.StringOutput) } @@ -40987,6 +46934,12 @@ func (i SecurityPolicyRecaptchaOptionsConfigArgs) ToSecurityPolicyRecaptchaOptio return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRecaptchaOptionsConfigOutput) } +func (i SecurityPolicyRecaptchaOptionsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: i.ToSecurityPolicyRecaptchaOptionsConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRecaptchaOptionsConfigArgs) ToSecurityPolicyRecaptchaOptionsConfigPtrOutput() SecurityPolicyRecaptchaOptionsConfigPtrOutput { return i.ToSecurityPolicyRecaptchaOptionsConfigPtrOutputWithContext(context.Background()) } @@ -41028,6 +46981,12 @@ func (i *securityPolicyRecaptchaOptionsConfigPtrType) ToSecurityPolicyRecaptchaO return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRecaptchaOptionsConfigPtrOutput) } +func (i *securityPolicyRecaptchaOptionsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: i.ToSecurityPolicyRecaptchaOptionsConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRecaptchaOptionsConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRecaptchaOptionsConfigOutput) ElementType() reflect.Type { @@ -41052,6 +47011,12 @@ func (o SecurityPolicyRecaptchaOptionsConfigOutput) ToSecurityPolicyRecaptchaOpt }).(SecurityPolicyRecaptchaOptionsConfigPtrOutput) } +func (o SecurityPolicyRecaptchaOptionsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: o.OutputState, + } +} + // An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyRecaptchaOptionsConfigOutput) RedirectSiteKey() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRecaptchaOptionsConfig) *string { return v.RedirectSiteKey }).(pulumi.StringPtrOutput) @@ -41071,6 +47036,12 @@ func (o SecurityPolicyRecaptchaOptionsConfigPtrOutput) ToSecurityPolicyRecaptcha return o } +func (o SecurityPolicyRecaptchaOptionsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRecaptchaOptionsConfigPtrOutput) Elem() SecurityPolicyRecaptchaOptionsConfigOutput { return o.ApplyT(func(v *SecurityPolicyRecaptchaOptionsConfig) SecurityPolicyRecaptchaOptionsConfig { if v != nil { @@ -41110,6 +47081,12 @@ func (o SecurityPolicyRecaptchaOptionsConfigResponseOutput) ToSecurityPolicyReca return o } +func (o SecurityPolicyRecaptchaOptionsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRecaptchaOptionsConfigResponse] { + return pulumix.Output[SecurityPolicyRecaptchaOptionsConfigResponse]{ + OutputState: o.OutputState, + } +} + // An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyRecaptchaOptionsConfigResponseOutput) RedirectSiteKey() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRecaptchaOptionsConfigResponse) string { return v.RedirectSiteKey }).(pulumi.StringOutput) @@ -41206,6 +47183,12 @@ func (i SecurityPolicyRuleArgs) ToSecurityPolicyRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleOutput) } +func (i SecurityPolicyRuleArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRule] { + return pulumix.Output[SecurityPolicyRule]{ + OutputState: i.ToSecurityPolicyRuleOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleArrayInput is an input type that accepts SecurityPolicyRuleArray and SecurityPolicyRuleArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleArrayInput` via: // @@ -41231,6 +47214,12 @@ func (i SecurityPolicyRuleArray) ToSecurityPolicyRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleArrayOutput) } +func (i SecurityPolicyRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRule] { + return pulumix.Output[[]SecurityPolicyRule]{ + OutputState: i.ToSecurityPolicyRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). type SecurityPolicyRuleOutput struct{ *pulumi.OutputState } @@ -41246,6 +47235,12 @@ func (o SecurityPolicyRuleOutput) ToSecurityPolicyRuleOutputWithContext(ctx cont return o } +func (o SecurityPolicyRuleOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRule] { + return pulumix.Output[SecurityPolicyRule]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. func (o SecurityPolicyRuleOutput) Action() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRule) *string { return v.Action }).(pulumi.StringPtrOutput) @@ -41335,6 +47330,12 @@ func (o SecurityPolicyRuleArrayOutput) ToSecurityPolicyRuleArrayOutputWithContex return o } +func (o SecurityPolicyRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRule] { + return pulumix.Output[[]SecurityPolicyRule]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRule { return vs[0].([]SecurityPolicyRule)[vs[1].(int)] @@ -41374,6 +47375,12 @@ func (i SecurityPolicyRuleHttpHeaderActionArgs) ToSecurityPolicyRuleHttpHeaderAc return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionOutput) } +func (i SecurityPolicyRuleHttpHeaderActionArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderAction]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleHttpHeaderActionArgs) ToSecurityPolicyRuleHttpHeaderActionPtrOutput() SecurityPolicyRuleHttpHeaderActionPtrOutput { return i.ToSecurityPolicyRuleHttpHeaderActionPtrOutputWithContext(context.Background()) } @@ -41415,6 +47422,12 @@ func (i *securityPolicyRuleHttpHeaderActionPtrType) ToSecurityPolicyRuleHttpHead return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionPtrOutput) } +func (i *securityPolicyRuleHttpHeaderActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[*SecurityPolicyRuleHttpHeaderAction]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleHttpHeaderActionOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleHttpHeaderActionOutput) ElementType() reflect.Type { @@ -41439,6 +47452,12 @@ func (o SecurityPolicyRuleHttpHeaderActionOutput) ToSecurityPolicyRuleHttpHeader }).(SecurityPolicyRuleHttpHeaderActionPtrOutput) } +func (o SecurityPolicyRuleHttpHeaderActionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderAction]{ + OutputState: o.OutputState, + } +} + // The list of request headers to add or overwrite if they're already present. func (o SecurityPolicyRuleHttpHeaderActionOutput) RequestHeadersToAdds() SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderAction) []SecurityPolicyRuleHttpHeaderActionHttpHeaderOption { @@ -41460,6 +47479,12 @@ func (o SecurityPolicyRuleHttpHeaderActionPtrOutput) ToSecurityPolicyRuleHttpHea return o } +func (o SecurityPolicyRuleHttpHeaderActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[*SecurityPolicyRuleHttpHeaderAction]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleHttpHeaderActionPtrOutput) Elem() SecurityPolicyRuleHttpHeaderActionOutput { return o.ApplyT(func(v *SecurityPolicyRuleHttpHeaderAction) SecurityPolicyRuleHttpHeaderAction { if v != nil { @@ -41517,6 +47542,12 @@ func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs) ToSecurityPolicy return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) } +func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayInput is an input type that accepts SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArray and SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayInput` via: // @@ -41542,6 +47573,12 @@ func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArray) ToSecurityPolic return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) } +func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) ElementType() reflect.Type { @@ -41556,6 +47593,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) ToSecurityPoli return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: o.OutputState, + } +} + // The name of the header to set. func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderActionHttpHeaderOption) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -41580,6 +47623,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) ToSecurit return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleHttpHeaderActionHttpHeaderOption { return vs[0].([]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption)[vs[1].(int)] @@ -41607,6 +47656,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput) ToSecu return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the header to set. func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -41631,6 +47686,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput) T return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse] { + return pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse { return vs[0].([]SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse)[vs[1].(int)] @@ -41656,6 +47717,12 @@ func (o SecurityPolicyRuleHttpHeaderActionResponseOutput) ToSecurityPolicyRuleHt return o } +func (o SecurityPolicyRuleHttpHeaderActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionResponse] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionResponse]{ + OutputState: o.OutputState, + } +} + // The list of request headers to add or overwrite if they're already present. func (o SecurityPolicyRuleHttpHeaderActionResponseOutput) RequestHeadersToAdds() SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderActionResponse) []SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse { @@ -41710,6 +47777,12 @@ func (i SecurityPolicyRuleMatcherArgs) ToSecurityPolicyRuleMatcherOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherOutput) } +func (i SecurityPolicyRuleMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcher] { + return pulumix.Output[SecurityPolicyRuleMatcher]{ + OutputState: i.ToSecurityPolicyRuleMatcherOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleMatcherArgs) ToSecurityPolicyRuleMatcherPtrOutput() SecurityPolicyRuleMatcherPtrOutput { return i.ToSecurityPolicyRuleMatcherPtrOutputWithContext(context.Background()) } @@ -41751,6 +47824,12 @@ func (i *securityPolicyRuleMatcherPtrType) ToSecurityPolicyRuleMatcherPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherPtrOutput) } +func (i *securityPolicyRuleMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcher] { + return pulumix.Output[*SecurityPolicyRuleMatcher]{ + OutputState: i.ToSecurityPolicyRuleMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. type SecurityPolicyRuleMatcherOutput struct{ *pulumi.OutputState } @@ -41776,6 +47855,12 @@ func (o SecurityPolicyRuleMatcherOutput) ToSecurityPolicyRuleMatcherPtrOutputWit }).(SecurityPolicyRuleMatcherPtrOutput) } +func (o SecurityPolicyRuleMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcher] { + return pulumix.Output[SecurityPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + // The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. func (o SecurityPolicyRuleMatcherOutput) Config() SecurityPolicyRuleMatcherConfigPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcher) *SecurityPolicyRuleMatcherConfig { return v.Config }).(SecurityPolicyRuleMatcherConfigPtrOutput) @@ -41810,6 +47895,12 @@ func (o SecurityPolicyRuleMatcherPtrOutput) ToSecurityPolicyRuleMatcherPtrOutput return o } +func (o SecurityPolicyRuleMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcher] { + return pulumix.Output[*SecurityPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherPtrOutput) Elem() SecurityPolicyRuleMatcherOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcher) SecurityPolicyRuleMatcher { if v != nil { @@ -41901,6 +47992,12 @@ func (i SecurityPolicyRuleMatcherConfigArgs) ToSecurityPolicyRuleMatcherConfigOu return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigOutput) } +func (i SecurityPolicyRuleMatcherConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[SecurityPolicyRuleMatcherConfig]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleMatcherConfigArgs) ToSecurityPolicyRuleMatcherConfigPtrOutput() SecurityPolicyRuleMatcherConfigPtrOutput { return i.ToSecurityPolicyRuleMatcherConfigPtrOutputWithContext(context.Background()) } @@ -41942,6 +48039,12 @@ func (i *securityPolicyRuleMatcherConfigPtrType) ToSecurityPolicyRuleMatcherConf return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigPtrOutput) } +func (i *securityPolicyRuleMatcherConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[*SecurityPolicyRuleMatcherConfig]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleMatcherConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleMatcherConfigOutput) ElementType() reflect.Type { @@ -41966,6 +48069,12 @@ func (o SecurityPolicyRuleMatcherConfigOutput) ToSecurityPolicyRuleMatcherConfig }).(SecurityPolicyRuleMatcherConfigPtrOutput) } +func (o SecurityPolicyRuleMatcherConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[SecurityPolicyRuleMatcherConfig]{ + OutputState: o.OutputState, + } +} + // CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL. func (o SecurityPolicyRuleMatcherConfigOutput) DestIpRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfig) []string { return v.DestIpRanges }).(pulumi.StringArrayOutput) @@ -41997,6 +48106,12 @@ func (o SecurityPolicyRuleMatcherConfigPtrOutput) ToSecurityPolicyRuleMatcherCon return o } +func (o SecurityPolicyRuleMatcherConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[*SecurityPolicyRuleMatcherConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherConfigPtrOutput) Elem() SecurityPolicyRuleMatcherConfigOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcherConfig) SecurityPolicyRuleMatcherConfig { if v != nil { @@ -42074,6 +48189,12 @@ func (i SecurityPolicyRuleMatcherConfigLayer4ConfigArgs) ToSecurityPolicyRuleMat return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigLayer4ConfigOutput) } +func (i SecurityPolicyRuleMatcherConfigLayer4ConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4Config] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4Config]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigLayer4ConfigOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleMatcherConfigLayer4ConfigArrayInput is an input type that accepts SecurityPolicyRuleMatcherConfigLayer4ConfigArray and SecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleMatcherConfigLayer4ConfigArrayInput` via: // @@ -42099,6 +48220,12 @@ func (i SecurityPolicyRuleMatcherConfigLayer4ConfigArray) ToSecurityPolicyRuleMa return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutput) } +func (i SecurityPolicyRuleMatcherConfigLayer4ConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4Config] { + return pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4Config]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleMatcherConfigLayer4ConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleMatcherConfigLayer4ConfigOutput) ElementType() reflect.Type { @@ -42113,6 +48240,12 @@ func (o SecurityPolicyRuleMatcherConfigLayer4ConfigOutput) ToSecurityPolicyRuleM return o } +func (o SecurityPolicyRuleMatcherConfigLayer4ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4Config] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4Config]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o SecurityPolicyRuleMatcherConfigLayer4ConfigOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfigLayer4Config) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -42137,6 +48270,12 @@ func (o SecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutput) ToSecurityPolicy return o } +func (o SecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4Config] { + return pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4Config]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherConfigLayer4ConfigArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleMatcherConfigLayer4ConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleMatcherConfigLayer4Config { return vs[0].([]SecurityPolicyRuleMatcherConfigLayer4Config)[vs[1].(int)] @@ -42164,6 +48303,12 @@ func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseOutput) ToSecurityPol return o } +func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4ConfigResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigLayer4ConfigResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfigLayer4ConfigResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -42188,6 +48333,12 @@ func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseArrayOutput) ToSecuri return o } +func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4ConfigResponse] { + return pulumix.Output[[]SecurityPolicyRuleMatcherConfigLayer4ConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherConfigLayer4ConfigResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleMatcherConfigLayer4ConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleMatcherConfigLayer4ConfigResponse { return vs[0].([]SecurityPolicyRuleMatcherConfigLayer4ConfigResponse)[vs[1].(int)] @@ -42217,6 +48368,12 @@ func (o SecurityPolicyRuleMatcherConfigResponseOutput) ToSecurityPolicyRuleMatch return o } +func (o SecurityPolicyRuleMatcherConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigResponse]{ + OutputState: o.OutputState, + } +} + // CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL. func (o SecurityPolicyRuleMatcherConfigResponseOutput) DestIpRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfigResponse) []string { return v.DestIpRanges }).(pulumi.StringArrayOutput) @@ -42267,6 +48424,12 @@ func (i SecurityPolicyRuleMatcherExprOptionsArgs) ToSecurityPolicyRuleMatcherExp return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherExprOptionsOutput) } +func (i SecurityPolicyRuleMatcherExprOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherExprOptions] { + return pulumix.Output[SecurityPolicyRuleMatcherExprOptions]{ + OutputState: i.ToSecurityPolicyRuleMatcherExprOptionsOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleMatcherExprOptionsArgs) ToSecurityPolicyRuleMatcherExprOptionsPtrOutput() SecurityPolicyRuleMatcherExprOptionsPtrOutput { return i.ToSecurityPolicyRuleMatcherExprOptionsPtrOutputWithContext(context.Background()) } @@ -42308,6 +48471,12 @@ func (i *securityPolicyRuleMatcherExprOptionsPtrType) ToSecurityPolicyRuleMatche return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherExprOptionsPtrOutput) } +func (i *securityPolicyRuleMatcherExprOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherExprOptions] { + return pulumix.Output[*SecurityPolicyRuleMatcherExprOptions]{ + OutputState: i.ToSecurityPolicyRuleMatcherExprOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleMatcherExprOptionsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleMatcherExprOptionsOutput) ElementType() reflect.Type { @@ -42332,6 +48501,12 @@ func (o SecurityPolicyRuleMatcherExprOptionsOutput) ToSecurityPolicyRuleMatcherE }).(SecurityPolicyRuleMatcherExprOptionsPtrOutput) } +func (o SecurityPolicyRuleMatcherExprOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherExprOptions] { + return pulumix.Output[SecurityPolicyRuleMatcherExprOptions]{ + OutputState: o.OutputState, + } +} + // reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect. func (o SecurityPolicyRuleMatcherExprOptionsOutput) RecaptchaOptions() SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherExprOptions) *SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions { @@ -42353,6 +48528,12 @@ func (o SecurityPolicyRuleMatcherExprOptionsPtrOutput) ToSecurityPolicyRuleMatch return o } +func (o SecurityPolicyRuleMatcherExprOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherExprOptions] { + return pulumix.Output[*SecurityPolicyRuleMatcherExprOptions]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherExprOptionsPtrOutput) Elem() SecurityPolicyRuleMatcherExprOptionsOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcherExprOptions) SecurityPolicyRuleMatcherExprOptions { if v != nil { @@ -42410,6 +48591,12 @@ func (i SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsArgs) ToSecurityPoli return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOutput) } +func (i SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions] { + return pulumix.Output[SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions]{ + OutputState: i.ToSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsArgs) ToSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrOutput() SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrOutput { return i.ToSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrOutputWithContext(context.Background()) } @@ -42451,6 +48638,12 @@ func (i *securityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrType) ToSecurity return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrOutput) } +func (i *securityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions] { + return pulumix.Output[*SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions]{ + OutputState: i.ToSecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOutput) ElementType() reflect.Type { @@ -42475,6 +48668,12 @@ func (o SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOutput) ToSecurityPo }).(SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrOutput) } +func (o SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions] { + return pulumix.Output[SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions]{ + OutputState: o.OutputState, + } +} + // A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created. func (o SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOutput) ActionTokenSiteKeys() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions) []string { return v.ActionTokenSiteKeys }).(pulumi.StringArrayOutput) @@ -42499,6 +48698,12 @@ func (o SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrOutput) ToSecurit return o } +func (o SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions] { + return pulumix.Output[*SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsPtrOutput) Elem() SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions) SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions { if v != nil { @@ -42550,6 +48755,12 @@ func (o SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponseOutput) ToSe return o } +func (o SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponse]{ + OutputState: o.OutputState, + } +} + // A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created. func (o SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponseOutput) ActionTokenSiteKeys() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponse) []string { @@ -42583,6 +48794,12 @@ func (o SecurityPolicyRuleMatcherExprOptionsResponseOutput) ToSecurityPolicyRule return o } +func (o SecurityPolicyRuleMatcherExprOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherExprOptionsResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherExprOptionsResponse]{ + OutputState: o.OutputState, + } +} + // reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect. func (o SecurityPolicyRuleMatcherExprOptionsResponseOutput) RecaptchaOptions() SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponseOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherExprOptionsResponse) SecurityPolicyRuleMatcherExprOptionsRecaptchaOptionsResponse { @@ -42617,6 +48834,12 @@ func (o SecurityPolicyRuleMatcherResponseOutput) ToSecurityPolicyRuleMatcherResp return o } +func (o SecurityPolicyRuleMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherResponse]{ + OutputState: o.OutputState, + } +} + // The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. func (o SecurityPolicyRuleMatcherResponseOutput) Config() SecurityPolicyRuleMatcherConfigResponseOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherResponse) SecurityPolicyRuleMatcherConfigResponse { return v.Config }).(SecurityPolicyRuleMatcherConfigResponseOutput) @@ -42702,6 +48925,12 @@ func (i SecurityPolicyRuleNetworkMatcherArgs) ToSecurityPolicyRuleNetworkMatcher return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleNetworkMatcherOutput) } +func (i SecurityPolicyRuleNetworkMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcher] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcher]{ + OutputState: i.ToSecurityPolicyRuleNetworkMatcherOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleNetworkMatcherArgs) ToSecurityPolicyRuleNetworkMatcherPtrOutput() SecurityPolicyRuleNetworkMatcherPtrOutput { return i.ToSecurityPolicyRuleNetworkMatcherPtrOutputWithContext(context.Background()) } @@ -42743,6 +48972,12 @@ func (i *securityPolicyRuleNetworkMatcherPtrType) ToSecurityPolicyRuleNetworkMat return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleNetworkMatcherPtrOutput) } +func (i *securityPolicyRuleNetworkMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleNetworkMatcher] { + return pulumix.Output[*SecurityPolicyRuleNetworkMatcher]{ + OutputState: i.ToSecurityPolicyRuleNetworkMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a match condition that incoming network traffic is evaluated against. type SecurityPolicyRuleNetworkMatcherOutput struct{ *pulumi.OutputState } @@ -42768,6 +49003,12 @@ func (o SecurityPolicyRuleNetworkMatcherOutput) ToSecurityPolicyRuleNetworkMatch }).(SecurityPolicyRuleNetworkMatcherPtrOutput) } +func (o SecurityPolicyRuleNetworkMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcher] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcher]{ + OutputState: o.OutputState, + } +} + // Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format. func (o SecurityPolicyRuleNetworkMatcherOutput) DestIpRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleNetworkMatcher) []string { return v.DestIpRanges }).(pulumi.StringArrayOutput) @@ -42824,6 +49065,12 @@ func (o SecurityPolicyRuleNetworkMatcherPtrOutput) ToSecurityPolicyRuleNetworkMa return o } +func (o SecurityPolicyRuleNetworkMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleNetworkMatcher] { + return pulumix.Output[*SecurityPolicyRuleNetworkMatcher]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleNetworkMatcherPtrOutput) Elem() SecurityPolicyRuleNetworkMatcherOutput { return o.ApplyT(func(v *SecurityPolicyRuleNetworkMatcher) SecurityPolicyRuleNetworkMatcher { if v != nil { @@ -42949,6 +49196,12 @@ func (o SecurityPolicyRuleNetworkMatcherResponseOutput) ToSecurityPolicyRuleNetw return o } +func (o SecurityPolicyRuleNetworkMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcherResponse] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcherResponse]{ + OutputState: o.OutputState, + } +} + // Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format. func (o SecurityPolicyRuleNetworkMatcherResponseOutput) DestIpRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleNetworkMatcherResponse) []string { return v.DestIpRanges }).(pulumi.StringArrayOutput) @@ -43028,6 +49281,12 @@ func (i SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArgs) ToSecurityPol return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput) } +func (i SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch]{ + OutputState: i.ToSecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayInput is an input type that accepts SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArray and SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayInput` via: // @@ -43053,6 +49312,12 @@ func (i SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArray) ToSecurityPo return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutput) } +func (i SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch] { + return pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch]{ + OutputState: i.ToSecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput) ElementType() reflect.Type { @@ -43067,6 +49332,12 @@ func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput) ToSecurityP return o } +func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch]{ + OutputState: o.OutputState, + } +} + // Name of the user-defined field, as given in the definition. func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -43091,6 +49362,12 @@ func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutput) ToSecu return o } +func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch] { + return pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch { return vs[0].([]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch)[vs[1].(int)] @@ -43118,6 +49395,12 @@ func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseOutput) ToS return o } +func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse] { + return pulumix.Output[SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse]{ + OutputState: o.OutputState, + } +} + // Name of the user-defined field, as given in the definition. func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse) string { return v.Name }).(pulumi.StringOutput) @@ -43142,6 +49425,12 @@ func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseArrayOutput return o } +func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse] { + return pulumix.Output[[]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse { return vs[0].([]SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchResponse)[vs[1].(int)] @@ -43181,6 +49470,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigArgs) ToSecurityPolicyRulePrecon return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRulePreconfiguredWafConfigArgs) ToSecurityPolicyRulePreconfiguredWafConfigPtrOutput() SecurityPolicyRulePreconfiguredWafConfigPtrOutput { return i.ToSecurityPolicyRulePreconfiguredWafConfigPtrOutputWithContext(context.Background()) } @@ -43222,6 +49517,12 @@ func (i *securityPolicyRulePreconfiguredWafConfigPtrType) ToSecurityPolicyRulePr return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigPtrOutput) } +func (i *securityPolicyRulePreconfiguredWafConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRulePreconfiguredWafConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRulePreconfiguredWafConfigOutput) ElementType() reflect.Type { @@ -43246,6 +49547,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigOutput) ToSecurityPolicyRulePrec }).(SecurityPolicyRulePreconfiguredWafConfigPtrOutput) } +func (o SecurityPolicyRulePreconfiguredWafConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: o.OutputState, + } +} + // A list of exclusions to apply during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigOutput) Exclusions() SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfig) []SecurityPolicyRulePreconfiguredWafConfigExclusion { @@ -43267,6 +49574,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigPtrOutput) ToSecurityPolicyRuleP return o } +func (o SecurityPolicyRulePreconfiguredWafConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigPtrOutput) Elem() SecurityPolicyRulePreconfiguredWafConfigOutput { return o.ApplyT(func(v *SecurityPolicyRulePreconfiguredWafConfig) SecurityPolicyRulePreconfiguredWafConfig { if v != nil { @@ -43340,6 +49653,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArgs) ToSecurityPolicyR return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRulePreconfiguredWafConfigExclusionArrayInput is an input type that accepts SecurityPolicyRulePreconfiguredWafConfigExclusionArray and SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRulePreconfiguredWafConfigExclusionArrayInput` via: // @@ -43365,6 +49684,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArray) ToSecurityPolicy return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRulePreconfiguredWafConfigExclusionOutput struct{ *pulumi.OutputState } func (SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) ElementType() reflect.Type { @@ -43379,6 +49704,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) ToSecurityPolic return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: o.OutputState, + } +} + // A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) RequestCookiesToExclude() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusion) []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams { @@ -43431,6 +49762,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) ToSecurity return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusion { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusion)[vs[1].(int)] @@ -43474,6 +49811,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs) ToSecu return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayInput is an input type that accepts SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray and SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayInput` via: // @@ -43499,6 +49842,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray) ToSec return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) ElementType() reflect.Type { @@ -43513,6 +49862,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) ToSe return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: o.OutputState, + } +} + // The match operator for the field. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) Op() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp { @@ -43539,6 +49894,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams)[vs[1].(int)] @@ -43566,6 +49927,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutp return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse]{ + OutputState: o.OutputState, + } +} + // The match operator for the field. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutput) Op() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse) string { return v.Op }).(pulumi.StringOutput) @@ -43590,6 +49957,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArra return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse)[vs[1].(int)] @@ -43625,6 +49998,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput) ToSecur return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionResponse] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionResponse]{ + OutputState: o.OutputState, + } +} + // A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput) RequestCookiesToExclude() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusionResponse) []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse { @@ -43677,6 +50056,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput) To return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionResponse] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusionResponse { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusionResponse)[vs[1].(int)] @@ -43702,6 +50087,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigResponseOutput) ToSecurityPolicy return o } +func (o SecurityPolicyRulePreconfiguredWafConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigResponse] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of exclusions to apply during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigResponseOutput) Exclusions() SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigResponse) []SecurityPolicyRulePreconfiguredWafConfigExclusionResponse { @@ -43774,6 +50165,12 @@ func (i SecurityPolicyRuleRateLimitOptionsArgs) ToSecurityPolicyRuleRateLimitOpt return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsOutput) } +func (i SecurityPolicyRuleRateLimitOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptions]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleRateLimitOptionsArgs) ToSecurityPolicyRuleRateLimitOptionsPtrOutput() SecurityPolicyRuleRateLimitOptionsPtrOutput { return i.ToSecurityPolicyRuleRateLimitOptionsPtrOutputWithContext(context.Background()) } @@ -43815,6 +50212,12 @@ func (i *securityPolicyRuleRateLimitOptionsPtrType) ToSecurityPolicyRuleRateLimi return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsPtrOutput) } +func (i *securityPolicyRuleRateLimitOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptions]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRateLimitOptionsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRateLimitOptionsOutput) ElementType() reflect.Type { @@ -43839,6 +50242,12 @@ func (o SecurityPolicyRuleRateLimitOptionsOutput) ToSecurityPolicyRuleRateLimitO }).(SecurityPolicyRuleRateLimitOptionsPtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptions]{ + OutputState: o.OutputState, + } +} + // Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold. func (o SecurityPolicyRuleRateLimitOptionsOutput) BanDurationSec() pulumi.IntPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptions) *int { return v.BanDurationSec }).(pulumi.IntPtrOutput) @@ -43908,6 +50317,12 @@ func (o SecurityPolicyRuleRateLimitOptionsPtrOutput) ToSecurityPolicyRuleRateLim return o } +func (o SecurityPolicyRuleRateLimitOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptions]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsPtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptions) SecurityPolicyRuleRateLimitOptions { if v != nil { @@ -44045,6 +50460,12 @@ func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs) ToSecurityPoli return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) } +func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayInput is an input type that accepts SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArray and SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayInput` via: // @@ -44070,6 +50491,12 @@ func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArray) ToSecurityPol return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) } +func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) ElementType() reflect.Type { @@ -44084,6 +50511,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) ToSecurityPo return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: o.OutputState, + } +} + // Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) EnforceOnKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) *string { return v.EnforceOnKeyName }).(pulumi.StringPtrOutput) @@ -44110,6 +50543,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) ToSecur return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig { return vs[0].([]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig)[vs[1].(int)] @@ -44137,6 +50576,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput) ToSe return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput) EnforceOnKeyName() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse) string { return v.EnforceOnKeyName }).(pulumi.StringOutput) @@ -44161,6 +50606,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseArrayOutput) return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse] { + return pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse { return vs[0].([]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse)[vs[1].(int)] @@ -44202,6 +50653,12 @@ func (o SecurityPolicyRuleRateLimitOptionsResponseOutput) ToSecurityPolicyRuleRa return o } +func (o SecurityPolicyRuleRateLimitOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsResponse] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold. func (o SecurityPolicyRuleRateLimitOptionsResponseOutput) BanDurationSec() pulumi.IntOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsResponse) int { return v.BanDurationSec }).(pulumi.IntOutput) @@ -44292,6 +50749,12 @@ func (i SecurityPolicyRuleRateLimitOptionsThresholdArgs) ToSecurityPolicyRuleRat return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsThresholdOutput) } +func (i SecurityPolicyRuleRateLimitOptionsThresholdArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsThresholdOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleRateLimitOptionsThresholdArgs) ToSecurityPolicyRuleRateLimitOptionsThresholdPtrOutput() SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput { return i.ToSecurityPolicyRuleRateLimitOptionsThresholdPtrOutputWithContext(context.Background()) } @@ -44333,6 +50796,12 @@ func (i *securityPolicyRuleRateLimitOptionsThresholdPtrType) ToSecurityPolicyRul return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) } +func (i *securityPolicyRuleRateLimitOptionsThresholdPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsThresholdPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRateLimitOptionsThresholdOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRateLimitOptionsThresholdOutput) ElementType() reflect.Type { @@ -44357,6 +50826,12 @@ func (o SecurityPolicyRuleRateLimitOptionsThresholdOutput) ToSecurityPolicyRuleR }).(SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsThresholdOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: o.OutputState, + } +} + // Number of HTTP(S) requests for calculating the threshold. func (o SecurityPolicyRuleRateLimitOptionsThresholdOutput) Count() pulumi.IntPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsThreshold) *int { return v.Count }).(pulumi.IntPtrOutput) @@ -44381,6 +50856,12 @@ func (o SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) ToSecurityPolicyRu return o } +func (o SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsThresholdOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptionsThreshold) SecurityPolicyRuleRateLimitOptionsThreshold { if v != nil { @@ -44432,6 +50913,12 @@ func (o SecurityPolicyRuleRateLimitOptionsThresholdResponseOutput) ToSecurityPol return o } +func (o SecurityPolicyRuleRateLimitOptionsThresholdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsThresholdResponse] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsThresholdResponse]{ + OutputState: o.OutputState, + } +} + // Number of HTTP(S) requests for calculating the threshold. func (o SecurityPolicyRuleRateLimitOptionsThresholdResponseOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsThresholdResponse) int { return v.Count }).(pulumi.IntOutput) @@ -44479,6 +50966,12 @@ func (i SecurityPolicyRuleRedirectOptionsArgs) ToSecurityPolicyRuleRedirectOptio return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRedirectOptionsOutput) } +func (i SecurityPolicyRuleRedirectOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[SecurityPolicyRuleRedirectOptions]{ + OutputState: i.ToSecurityPolicyRuleRedirectOptionsOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleRedirectOptionsArgs) ToSecurityPolicyRuleRedirectOptionsPtrOutput() SecurityPolicyRuleRedirectOptionsPtrOutput { return i.ToSecurityPolicyRuleRedirectOptionsPtrOutputWithContext(context.Background()) } @@ -44520,6 +51013,12 @@ func (i *securityPolicyRuleRedirectOptionsPtrType) ToSecurityPolicyRuleRedirectO return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRedirectOptionsPtrOutput) } +func (i *securityPolicyRuleRedirectOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptions]{ + OutputState: i.ToSecurityPolicyRuleRedirectOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRedirectOptionsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRedirectOptionsOutput) ElementType() reflect.Type { @@ -44544,6 +51043,12 @@ func (o SecurityPolicyRuleRedirectOptionsOutput) ToSecurityPolicyRuleRedirectOpt }).(SecurityPolicyRuleRedirectOptionsPtrOutput) } +func (o SecurityPolicyRuleRedirectOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[SecurityPolicyRuleRedirectOptions]{ + OutputState: o.OutputState, + } +} + // Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. func (o SecurityPolicyRuleRedirectOptionsOutput) Target() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRedirectOptions) *string { return v.Target }).(pulumi.StringPtrOutput) @@ -44568,6 +51073,12 @@ func (o SecurityPolicyRuleRedirectOptionsPtrOutput) ToSecurityPolicyRuleRedirect return o } +func (o SecurityPolicyRuleRedirectOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptions]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRedirectOptionsPtrOutput) Elem() SecurityPolicyRuleRedirectOptionsOutput { return o.ApplyT(func(v *SecurityPolicyRuleRedirectOptions) SecurityPolicyRuleRedirectOptions { if v != nil { @@ -44619,6 +51130,12 @@ func (o SecurityPolicyRuleRedirectOptionsResponseOutput) ToSecurityPolicyRuleRed return o } +func (o SecurityPolicyRuleRedirectOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptionsResponse] { + return pulumix.Output[SecurityPolicyRuleRedirectOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. func (o SecurityPolicyRuleRedirectOptionsResponseOutput) Target() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleRedirectOptionsResponse) string { return v.Target }).(pulumi.StringOutput) @@ -44682,6 +51199,12 @@ func (o SecurityPolicyRuleResponseOutput) ToSecurityPolicyRuleResponseOutputWith return o } +func (o SecurityPolicyRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleResponse] { + return pulumix.Output[SecurityPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. func (o SecurityPolicyRuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -44785,6 +51308,12 @@ func (o SecurityPolicyRuleResponseArrayOutput) ToSecurityPolicyRuleResponseArray return o } +func (o SecurityPolicyRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleResponse] { + return pulumix.Output[[]SecurityPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleResponse { return vs[0].([]SecurityPolicyRuleResponse)[vs[1].(int)] @@ -44840,6 +51369,12 @@ func (i SecurityPolicyUserDefinedFieldArgs) ToSecurityPolicyUserDefinedFieldOutp return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyUserDefinedFieldOutput) } +func (i SecurityPolicyUserDefinedFieldArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyUserDefinedField] { + return pulumix.Output[SecurityPolicyUserDefinedField]{ + OutputState: i.ToSecurityPolicyUserDefinedFieldOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyUserDefinedFieldArrayInput is an input type that accepts SecurityPolicyUserDefinedFieldArray and SecurityPolicyUserDefinedFieldArrayOutput values. // You can construct a concrete instance of `SecurityPolicyUserDefinedFieldArrayInput` via: // @@ -44865,6 +51400,12 @@ func (i SecurityPolicyUserDefinedFieldArray) ToSecurityPolicyUserDefinedFieldArr return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyUserDefinedFieldArrayOutput) } +func (i SecurityPolicyUserDefinedFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyUserDefinedField] { + return pulumix.Output[[]SecurityPolicyUserDefinedField]{ + OutputState: i.ToSecurityPolicyUserDefinedFieldArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyUserDefinedFieldOutput struct{ *pulumi.OutputState } func (SecurityPolicyUserDefinedFieldOutput) ElementType() reflect.Type { @@ -44879,6 +51420,12 @@ func (o SecurityPolicyUserDefinedFieldOutput) ToSecurityPolicyUserDefinedFieldOu return o } +func (o SecurityPolicyUserDefinedFieldOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyUserDefinedField] { + return pulumix.Output[SecurityPolicyUserDefinedField]{ + OutputState: o.OutputState, + } +} + // The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required func (o SecurityPolicyUserDefinedFieldOutput) Base() SecurityPolicyUserDefinedFieldBasePtrOutput { return o.ApplyT(func(v SecurityPolicyUserDefinedField) *SecurityPolicyUserDefinedFieldBase { return v.Base }).(SecurityPolicyUserDefinedFieldBasePtrOutput) @@ -44918,6 +51465,12 @@ func (o SecurityPolicyUserDefinedFieldArrayOutput) ToSecurityPolicyUserDefinedFi return o } +func (o SecurityPolicyUserDefinedFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyUserDefinedField] { + return pulumix.Output[[]SecurityPolicyUserDefinedField]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyUserDefinedFieldArrayOutput) Index(i pulumi.IntInput) SecurityPolicyUserDefinedFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyUserDefinedField { return vs[0].([]SecurityPolicyUserDefinedField)[vs[1].(int)] @@ -44951,6 +51504,12 @@ func (o SecurityPolicyUserDefinedFieldResponseOutput) ToSecurityPolicyUserDefine return o } +func (o SecurityPolicyUserDefinedFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyUserDefinedFieldResponse] { + return pulumix.Output[SecurityPolicyUserDefinedFieldResponse]{ + OutputState: o.OutputState, + } +} + // The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required func (o SecurityPolicyUserDefinedFieldResponseOutput) Base() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyUserDefinedFieldResponse) string { return v.Base }).(pulumi.StringOutput) @@ -44990,6 +51549,12 @@ func (o SecurityPolicyUserDefinedFieldResponseArrayOutput) ToSecurityPolicyUserD return o } +func (o SecurityPolicyUserDefinedFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyUserDefinedFieldResponse] { + return pulumix.Output[[]SecurityPolicyUserDefinedFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyUserDefinedFieldResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyUserDefinedFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyUserDefinedFieldResponse { return vs[0].([]SecurityPolicyUserDefinedFieldResponse)[vs[1].(int)] @@ -45047,6 +51612,12 @@ func (i SecuritySettingsArgs) ToSecuritySettingsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecuritySettingsOutput) } +func (i SecuritySettingsArgs) ToOutput(ctx context.Context) pulumix.Output[SecuritySettings] { + return pulumix.Output[SecuritySettings]{ + OutputState: i.ToSecuritySettingsOutputWithContext(ctx).OutputState, + } +} + func (i SecuritySettingsArgs) ToSecuritySettingsPtrOutput() SecuritySettingsPtrOutput { return i.ToSecuritySettingsPtrOutputWithContext(context.Background()) } @@ -45088,6 +51659,12 @@ func (i *securitySettingsPtrType) ToSecuritySettingsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SecuritySettingsPtrOutput) } +func (i *securitySettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettings] { + return pulumix.Output[*SecuritySettings]{ + OutputState: i.ToSecuritySettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The authentication and authorization settings for a BackendService. type SecuritySettingsOutput struct{ *pulumi.OutputState } @@ -45113,6 +51690,12 @@ func (o SecuritySettingsOutput) ToSecuritySettingsPtrOutputWithContext(ctx conte }).(SecuritySettingsPtrOutput) } +func (o SecuritySettingsOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettings] { + return pulumix.Output[SecuritySettings]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use clientTlsPolicy instead. // // Deprecated: [Deprecated] Use clientTlsPolicy instead. @@ -45149,6 +51732,12 @@ func (o SecuritySettingsPtrOutput) ToSecuritySettingsPtrOutputWithContext(ctx co return o } +func (o SecuritySettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettings] { + return pulumix.Output[*SecuritySettings]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingsPtrOutput) Elem() SecuritySettingsOutput { return o.ApplyT(func(v *SecuritySettings) SecuritySettings { if v != nil { @@ -45230,6 +51819,12 @@ func (o SecuritySettingsResponseOutput) ToSecuritySettingsResponseOutputWithCont return o } +func (o SecuritySettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettingsResponse] { + return pulumix.Output[SecuritySettingsResponse]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use clientTlsPolicy instead. // // Deprecated: [Deprecated] Use clientTlsPolicy instead. @@ -45283,6 +51878,12 @@ func (i ServerBindingArgs) ToServerBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServerBindingOutput) } +func (i ServerBindingArgs) ToOutput(ctx context.Context) pulumix.Output[ServerBinding] { + return pulumix.Output[ServerBinding]{ + OutputState: i.ToServerBindingOutputWithContext(ctx).OutputState, + } +} + func (i ServerBindingArgs) ToServerBindingPtrOutput() ServerBindingPtrOutput { return i.ToServerBindingPtrOutputWithContext(context.Background()) } @@ -45324,6 +51925,12 @@ func (i *serverBindingPtrType) ToServerBindingPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ServerBindingPtrOutput) } +func (i *serverBindingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServerBinding] { + return pulumix.Output[*ServerBinding]{ + OutputState: i.ToServerBindingPtrOutputWithContext(ctx).OutputState, + } +} + type ServerBindingOutput struct{ *pulumi.OutputState } func (ServerBindingOutput) ElementType() reflect.Type { @@ -45348,6 +51955,12 @@ func (o ServerBindingOutput) ToServerBindingPtrOutputWithContext(ctx context.Con }).(ServerBindingPtrOutput) } +func (o ServerBindingOutput) ToOutput(ctx context.Context) pulumix.Output[ServerBinding] { + return pulumix.Output[ServerBinding]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingOutput) Type() ServerBindingTypePtrOutput { return o.ApplyT(func(v ServerBinding) *ServerBindingType { return v.Type }).(ServerBindingTypePtrOutput) } @@ -45366,6 +51979,12 @@ func (o ServerBindingPtrOutput) ToServerBindingPtrOutputWithContext(ctx context. return o } +func (o ServerBindingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerBinding] { + return pulumix.Output[*ServerBinding]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingPtrOutput) Elem() ServerBindingOutput { return o.ApplyT(func(v *ServerBinding) ServerBinding { if v != nil { @@ -45403,6 +52022,12 @@ func (o ServerBindingResponseOutput) ToServerBindingResponseOutputWithContext(ct return o } +func (o ServerBindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServerBindingResponse] { + return pulumix.Output[ServerBindingResponse]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v ServerBindingResponse) string { return v.Type }).(pulumi.StringOutput) } @@ -45446,6 +52071,12 @@ func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) } +func (i ServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: i.ToServiceAccountOutputWithContext(ctx).OutputState, + } +} + // ServiceAccountArrayInput is an input type that accepts ServiceAccountArray and ServiceAccountArrayOutput values. // You can construct a concrete instance of `ServiceAccountArrayInput` via: // @@ -45471,6 +52102,12 @@ func (i ServiceAccountArray) ToServiceAccountArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountArrayOutput) } +func (i ServiceAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAccount] { + return pulumix.Output[[]ServiceAccount]{ + OutputState: i.ToServiceAccountArrayOutputWithContext(ctx).OutputState, + } +} + // A service account. type ServiceAccountOutput struct{ *pulumi.OutputState } @@ -45486,6 +52123,12 @@ func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Cont return o } +func (o ServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) @@ -45510,6 +52153,12 @@ func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutputWithContext(ctx co return o } +func (o ServiceAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAccount] { + return pulumix.Output[[]ServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountArrayOutput) Index(i pulumi.IntInput) ServiceAccountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAccount { return vs[0].([]ServiceAccount)[vs[1].(int)] @@ -45539,6 +52188,12 @@ func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext( return o } +func (o ServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccountResponse] { + return pulumix.Output[ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ServiceAccountResponse) string { return v.Email }).(pulumi.StringOutput) @@ -45563,6 +52218,12 @@ func (o ServiceAccountResponseArrayOutput) ToServiceAccountResponseArrayOutputWi return o } +func (o ServiceAccountResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAccountResponse] { + return pulumix.Output[[]ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountResponseArrayOutput) Index(i pulumi.IntInput) ServiceAccountResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAccountResponse { return vs[0].([]ServiceAccountResponse)[vs[1].(int)] @@ -45594,6 +52255,12 @@ func (o ServiceAttachmentConnectedEndpointResponseOutput) ToServiceAttachmentCon return o } +func (o ServiceAttachmentConnectedEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConnectedEndpointResponse] { + return pulumix.Output[ServiceAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The url of a connected endpoint. func (o ServiceAttachmentConnectedEndpointResponseOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v ServiceAttachmentConnectedEndpointResponse) string { return v.Endpoint }).(pulumi.StringOutput) @@ -45623,6 +52290,12 @@ func (o ServiceAttachmentConnectedEndpointResponseArrayOutput) ToServiceAttachme return o } +func (o ServiceAttachmentConnectedEndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConnectedEndpointResponse] { + return pulumix.Output[[]ServiceAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConnectedEndpointResponseArrayOutput) Index(i pulumi.IntInput) ServiceAttachmentConnectedEndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAttachmentConnectedEndpointResponse { return vs[0].([]ServiceAttachmentConnectedEndpointResponse)[vs[1].(int)] @@ -45670,6 +52343,12 @@ func (i ServiceAttachmentConsumerProjectLimitArgs) ToServiceAttachmentConsumerPr return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentConsumerProjectLimitOutput) } +func (i ServiceAttachmentConsumerProjectLimitArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[ServiceAttachmentConsumerProjectLimit]{ + OutputState: i.ToServiceAttachmentConsumerProjectLimitOutputWithContext(ctx).OutputState, + } +} + // ServiceAttachmentConsumerProjectLimitArrayInput is an input type that accepts ServiceAttachmentConsumerProjectLimitArray and ServiceAttachmentConsumerProjectLimitArrayOutput values. // You can construct a concrete instance of `ServiceAttachmentConsumerProjectLimitArrayInput` via: // @@ -45695,6 +52374,12 @@ func (i ServiceAttachmentConsumerProjectLimitArray) ToServiceAttachmentConsumerP return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentConsumerProjectLimitArrayOutput) } +func (i ServiceAttachmentConsumerProjectLimitArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[[]ServiceAttachmentConsumerProjectLimit]{ + OutputState: i.ToServiceAttachmentConsumerProjectLimitArrayOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentConsumerProjectLimitOutput struct{ *pulumi.OutputState } func (ServiceAttachmentConsumerProjectLimitOutput) ElementType() reflect.Type { @@ -45709,6 +52394,12 @@ func (o ServiceAttachmentConsumerProjectLimitOutput) ToServiceAttachmentConsumer return o } +func (o ServiceAttachmentConsumerProjectLimitOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[ServiceAttachmentConsumerProjectLimit]{ + OutputState: o.OutputState, + } +} + // The value of the limit to set. func (o ServiceAttachmentConsumerProjectLimitOutput) ConnectionLimit() pulumi.IntPtrOutput { return o.ApplyT(func(v ServiceAttachmentConsumerProjectLimit) *int { return v.ConnectionLimit }).(pulumi.IntPtrOutput) @@ -45738,6 +52429,12 @@ func (o ServiceAttachmentConsumerProjectLimitArrayOutput) ToServiceAttachmentCon return o } +func (o ServiceAttachmentConsumerProjectLimitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[[]ServiceAttachmentConsumerProjectLimit]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConsumerProjectLimitArrayOutput) Index(i pulumi.IntInput) ServiceAttachmentConsumerProjectLimitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAttachmentConsumerProjectLimit { return vs[0].([]ServiceAttachmentConsumerProjectLimit)[vs[1].(int)] @@ -45767,6 +52464,12 @@ func (o ServiceAttachmentConsumerProjectLimitResponseOutput) ToServiceAttachment return o } +func (o ServiceAttachmentConsumerProjectLimitResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConsumerProjectLimitResponse] { + return pulumix.Output[ServiceAttachmentConsumerProjectLimitResponse]{ + OutputState: o.OutputState, + } +} + // The value of the limit to set. func (o ServiceAttachmentConsumerProjectLimitResponseOutput) ConnectionLimit() pulumi.IntOutput { return o.ApplyT(func(v ServiceAttachmentConsumerProjectLimitResponse) int { return v.ConnectionLimit }).(pulumi.IntOutput) @@ -45796,6 +52499,12 @@ func (o ServiceAttachmentConsumerProjectLimitResponseArrayOutput) ToServiceAttac return o } +func (o ServiceAttachmentConsumerProjectLimitResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConsumerProjectLimitResponse] { + return pulumix.Output[[]ServiceAttachmentConsumerProjectLimitResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConsumerProjectLimitResponseArrayOutput) Index(i pulumi.IntInput) ServiceAttachmentConsumerProjectLimitResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAttachmentConsumerProjectLimitResponse { return vs[0].([]ServiceAttachmentConsumerProjectLimitResponse)[vs[1].(int)] @@ -45845,6 +52554,12 @@ func (i ShareSettingsArgs) ToShareSettingsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ShareSettingsOutput) } +func (i ShareSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ShareSettings] { + return pulumix.Output[ShareSettings]{ + OutputState: i.ToShareSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ShareSettingsArgs) ToShareSettingsPtrOutput() ShareSettingsPtrOutput { return i.ToShareSettingsPtrOutputWithContext(context.Background()) } @@ -45886,6 +52601,12 @@ func (i *shareSettingsPtrType) ToShareSettingsPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ShareSettingsPtrOutput) } +func (i *shareSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShareSettings] { + return pulumix.Output[*ShareSettings]{ + OutputState: i.ToShareSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The share setting for reservations and sole tenancy node groups. type ShareSettingsOutput struct{ *pulumi.OutputState } @@ -45911,6 +52632,12 @@ func (o ShareSettingsOutput) ToShareSettingsPtrOutputWithContext(ctx context.Con }).(ShareSettingsPtrOutput) } +func (o ShareSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ShareSettings] { + return pulumix.Output[ShareSettings]{ + OutputState: o.OutputState, + } +} + // A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS. func (o ShareSettingsOutput) ProjectMap() pulumi.StringMapOutput { return o.ApplyT(func(v ShareSettings) map[string]string { return v.ProjectMap }).(pulumi.StringMapOutput) @@ -45940,6 +52667,12 @@ func (o ShareSettingsPtrOutput) ToShareSettingsPtrOutputWithContext(ctx context. return o } +func (o ShareSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShareSettings] { + return pulumix.Output[*ShareSettings]{ + OutputState: o.OutputState, + } +} + func (o ShareSettingsPtrOutput) Elem() ShareSettingsOutput { return o.ApplyT(func(v *ShareSettings) ShareSettings { if v != nil { @@ -46005,6 +52738,12 @@ func (o ShareSettingsResponseOutput) ToShareSettingsResponseOutputWithContext(ct return o } +func (o ShareSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShareSettingsResponse] { + return pulumix.Output[ShareSettingsResponse]{ + OutputState: o.OutputState, + } +} + // A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS. func (o ShareSettingsResponseOutput) ProjectMap() pulumi.StringMapOutput { return o.ApplyT(func(v ShareSettingsResponse) map[string]string { return v.ProjectMap }).(pulumi.StringMapOutput) @@ -46063,6 +52802,12 @@ func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigOutput) } +func (i ShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigPtrOutput() ShieldedInstanceConfigPtrOutput { return i.ToShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -46104,6 +52849,12 @@ func (i *shieldedInstanceConfigPtrType) ToShieldedInstanceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigPtrOutput) } +func (i *shieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded Instance options. type ShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -46129,6 +52880,12 @@ func (o ShieldedInstanceConfigOutput) ToShieldedInstanceConfigPtrOutputWithConte }).(ShieldedInstanceConfigPtrOutput) } +func (o ShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enabled by default. func (o ShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -46158,6 +52915,12 @@ func (o ShieldedInstanceConfigPtrOutput) ToShieldedInstanceConfigPtrOutputWithCo return o } +func (o ShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceConfigPtrOutput) Elem() ShieldedInstanceConfigOutput { return o.ApplyT(func(v *ShieldedInstanceConfig) ShieldedInstanceConfig { if v != nil { @@ -46223,6 +52986,12 @@ func (o ShieldedInstanceConfigResponseOutput) ToShieldedInstanceConfigResponseOu return o } +func (o ShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfigResponse] { + return pulumix.Output[ShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enabled by default. func (o ShieldedInstanceConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -46273,6 +53042,12 @@ func (i ShieldedInstanceIntegrityPolicyArgs) ToShieldedInstanceIntegrityPolicyOu return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceIntegrityPolicyOutput) } +func (i ShieldedInstanceIntegrityPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[ShieldedInstanceIntegrityPolicy]{ + OutputState: i.ToShieldedInstanceIntegrityPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceIntegrityPolicyArgs) ToShieldedInstanceIntegrityPolicyPtrOutput() ShieldedInstanceIntegrityPolicyPtrOutput { return i.ToShieldedInstanceIntegrityPolicyPtrOutputWithContext(context.Background()) } @@ -46314,6 +53089,12 @@ func (i *shieldedInstanceIntegrityPolicyPtrType) ToShieldedInstanceIntegrityPoli return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceIntegrityPolicyPtrOutput) } +func (i *shieldedInstanceIntegrityPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[*ShieldedInstanceIntegrityPolicy]{ + OutputState: i.ToShieldedInstanceIntegrityPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The policy describes the baseline against which Instance boot integrity is measured. type ShieldedInstanceIntegrityPolicyOutput struct{ *pulumi.OutputState } @@ -46339,6 +53120,12 @@ func (o ShieldedInstanceIntegrityPolicyOutput) ToShieldedInstanceIntegrityPolicy }).(ShieldedInstanceIntegrityPolicyPtrOutput) } +func (o ShieldedInstanceIntegrityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[ShieldedInstanceIntegrityPolicy]{ + OutputState: o.OutputState, + } +} + // Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. func (o ShieldedInstanceIntegrityPolicyOutput) UpdateAutoLearnPolicy() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceIntegrityPolicy) *bool { return v.UpdateAutoLearnPolicy }).(pulumi.BoolPtrOutput) @@ -46358,6 +53145,12 @@ func (o ShieldedInstanceIntegrityPolicyPtrOutput) ToShieldedInstanceIntegrityPol return o } +func (o ShieldedInstanceIntegrityPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[*ShieldedInstanceIntegrityPolicy]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceIntegrityPolicyPtrOutput) Elem() ShieldedInstanceIntegrityPolicyOutput { return o.ApplyT(func(v *ShieldedInstanceIntegrityPolicy) ShieldedInstanceIntegrityPolicy { if v != nil { @@ -46399,6 +53192,12 @@ func (o ShieldedInstanceIntegrityPolicyResponseOutput) ToShieldedInstanceIntegri return o } +func (o ShieldedInstanceIntegrityPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceIntegrityPolicyResponse] { + return pulumix.Output[ShieldedInstanceIntegrityPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. func (o ShieldedInstanceIntegrityPolicyResponseOutput) UpdateAutoLearnPolicy() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceIntegrityPolicyResponse) bool { return v.UpdateAutoLearnPolicy }).(pulumi.BoolOutput) @@ -46447,6 +53246,12 @@ func (i ShieldedVmConfigArgs) ToShieldedVmConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ShieldedVmConfigOutput) } +func (i ShieldedVmConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmConfig] { + return pulumix.Output[ShieldedVmConfig]{ + OutputState: i.ToShieldedVmConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedVmConfigArgs) ToShieldedVmConfigPtrOutput() ShieldedVmConfigPtrOutput { return i.ToShieldedVmConfigPtrOutputWithContext(context.Background()) } @@ -46488,6 +53293,12 @@ func (i *shieldedVmConfigPtrType) ToShieldedVmConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ShieldedVmConfigPtrOutput) } +func (i *shieldedVmConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedVmConfig] { + return pulumix.Output[*ShieldedVmConfig]{ + OutputState: i.ToShieldedVmConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded VM options. type ShieldedVmConfigOutput struct{ *pulumi.OutputState } @@ -46513,6 +53324,12 @@ func (o ShieldedVmConfigOutput) ToShieldedVmConfigPtrOutputWithContext(ctx conte }).(ShieldedVmConfigPtrOutput) } +func (o ShieldedVmConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmConfig] { + return pulumix.Output[ShieldedVmConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. func (o ShieldedVmConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedVmConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -46542,6 +53359,12 @@ func (o ShieldedVmConfigPtrOutput) ToShieldedVmConfigPtrOutputWithContext(ctx co return o } +func (o ShieldedVmConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedVmConfig] { + return pulumix.Output[*ShieldedVmConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedVmConfigPtrOutput) Elem() ShieldedVmConfigOutput { return o.ApplyT(func(v *ShieldedVmConfig) ShieldedVmConfig { if v != nil { @@ -46607,6 +53430,12 @@ func (o ShieldedVmConfigResponseOutput) ToShieldedVmConfigResponseOutputWithCont return o } +func (o ShieldedVmConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmConfigResponse] { + return pulumix.Output[ShieldedVmConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. func (o ShieldedVmConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedVmConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -46657,6 +53486,12 @@ func (i ShieldedVmIntegrityPolicyArgs) ToShieldedVmIntegrityPolicyOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ShieldedVmIntegrityPolicyOutput) } +func (i ShieldedVmIntegrityPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmIntegrityPolicy] { + return pulumix.Output[ShieldedVmIntegrityPolicy]{ + OutputState: i.ToShieldedVmIntegrityPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedVmIntegrityPolicyArgs) ToShieldedVmIntegrityPolicyPtrOutput() ShieldedVmIntegrityPolicyPtrOutput { return i.ToShieldedVmIntegrityPolicyPtrOutputWithContext(context.Background()) } @@ -46698,6 +53533,12 @@ func (i *shieldedVmIntegrityPolicyPtrType) ToShieldedVmIntegrityPolicyPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ShieldedVmIntegrityPolicyPtrOutput) } +func (i *shieldedVmIntegrityPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedVmIntegrityPolicy] { + return pulumix.Output[*ShieldedVmIntegrityPolicy]{ + OutputState: i.ToShieldedVmIntegrityPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The policy describes the baseline against which VM instance boot integrity is measured. type ShieldedVmIntegrityPolicyOutput struct{ *pulumi.OutputState } @@ -46723,6 +53564,12 @@ func (o ShieldedVmIntegrityPolicyOutput) ToShieldedVmIntegrityPolicyPtrOutputWit }).(ShieldedVmIntegrityPolicyPtrOutput) } +func (o ShieldedVmIntegrityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmIntegrityPolicy] { + return pulumix.Output[ShieldedVmIntegrityPolicy]{ + OutputState: o.OutputState, + } +} + // Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. func (o ShieldedVmIntegrityPolicyOutput) UpdateAutoLearnPolicy() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedVmIntegrityPolicy) *bool { return v.UpdateAutoLearnPolicy }).(pulumi.BoolPtrOutput) @@ -46742,6 +53589,12 @@ func (o ShieldedVmIntegrityPolicyPtrOutput) ToShieldedVmIntegrityPolicyPtrOutput return o } +func (o ShieldedVmIntegrityPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedVmIntegrityPolicy] { + return pulumix.Output[*ShieldedVmIntegrityPolicy]{ + OutputState: o.OutputState, + } +} + func (o ShieldedVmIntegrityPolicyPtrOutput) Elem() ShieldedVmIntegrityPolicyOutput { return o.ApplyT(func(v *ShieldedVmIntegrityPolicy) ShieldedVmIntegrityPolicy { if v != nil { @@ -46783,6 +53636,12 @@ func (o ShieldedVmIntegrityPolicyResponseOutput) ToShieldedVmIntegrityPolicyResp return o } +func (o ShieldedVmIntegrityPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedVmIntegrityPolicyResponse] { + return pulumix.Output[ShieldedVmIntegrityPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. func (o ShieldedVmIntegrityPolicyResponseOutput) UpdateAutoLearnPolicy() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedVmIntegrityPolicyResponse) bool { return v.UpdateAutoLearnPolicy }).(pulumi.BoolOutput) @@ -46825,6 +53684,12 @@ func (i SourceDiskEncryptionKeyArgs) ToSourceDiskEncryptionKeyOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SourceDiskEncryptionKeyOutput) } +func (i SourceDiskEncryptionKeyArgs) ToOutput(ctx context.Context) pulumix.Output[SourceDiskEncryptionKey] { + return pulumix.Output[SourceDiskEncryptionKey]{ + OutputState: i.ToSourceDiskEncryptionKeyOutputWithContext(ctx).OutputState, + } +} + // SourceDiskEncryptionKeyArrayInput is an input type that accepts SourceDiskEncryptionKeyArray and SourceDiskEncryptionKeyArrayOutput values. // You can construct a concrete instance of `SourceDiskEncryptionKeyArrayInput` via: // @@ -46850,6 +53715,12 @@ func (i SourceDiskEncryptionKeyArray) ToSourceDiskEncryptionKeyArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SourceDiskEncryptionKeyArrayOutput) } +func (i SourceDiskEncryptionKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]SourceDiskEncryptionKey] { + return pulumix.Output[[]SourceDiskEncryptionKey]{ + OutputState: i.ToSourceDiskEncryptionKeyArrayOutputWithContext(ctx).OutputState, + } +} + type SourceDiskEncryptionKeyOutput struct{ *pulumi.OutputState } func (SourceDiskEncryptionKeyOutput) ElementType() reflect.Type { @@ -46864,6 +53735,12 @@ func (o SourceDiskEncryptionKeyOutput) ToSourceDiskEncryptionKeyOutputWithContex return o } +func (o SourceDiskEncryptionKeyOutput) ToOutput(ctx context.Context) pulumix.Output[SourceDiskEncryptionKey] { + return pulumix.Output[SourceDiskEncryptionKey]{ + OutputState: o.OutputState, + } +} + // The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. func (o SourceDiskEncryptionKeyOutput) DiskEncryptionKey() CustomerEncryptionKeyPtrOutput { return o.ApplyT(func(v SourceDiskEncryptionKey) *CustomerEncryptionKey { return v.DiskEncryptionKey }).(CustomerEncryptionKeyPtrOutput) @@ -46888,6 +53765,12 @@ func (o SourceDiskEncryptionKeyArrayOutput) ToSourceDiskEncryptionKeyArrayOutput return o } +func (o SourceDiskEncryptionKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceDiskEncryptionKey] { + return pulumix.Output[[]SourceDiskEncryptionKey]{ + OutputState: o.OutputState, + } +} + func (o SourceDiskEncryptionKeyArrayOutput) Index(i pulumi.IntInput) SourceDiskEncryptionKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceDiskEncryptionKey { return vs[0].([]SourceDiskEncryptionKey)[vs[1].(int)] @@ -46915,6 +53798,12 @@ func (o SourceDiskEncryptionKeyResponseOutput) ToSourceDiskEncryptionKeyResponse return o } +func (o SourceDiskEncryptionKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceDiskEncryptionKeyResponse] { + return pulumix.Output[SourceDiskEncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + // The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. func (o SourceDiskEncryptionKeyResponseOutput) DiskEncryptionKey() CustomerEncryptionKeyResponseOutput { return o.ApplyT(func(v SourceDiskEncryptionKeyResponse) CustomerEncryptionKeyResponse { return v.DiskEncryptionKey }).(CustomerEncryptionKeyResponseOutput) @@ -46939,6 +53828,12 @@ func (o SourceDiskEncryptionKeyResponseArrayOutput) ToSourceDiskEncryptionKeyRes return o } +func (o SourceDiskEncryptionKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceDiskEncryptionKeyResponse] { + return pulumix.Output[[]SourceDiskEncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o SourceDiskEncryptionKeyResponseArrayOutput) Index(i pulumi.IntInput) SourceDiskEncryptionKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceDiskEncryptionKeyResponse { return vs[0].([]SourceDiskEncryptionKeyResponse)[vs[1].(int)] @@ -46980,6 +53875,12 @@ func (i SourceInstanceParamsArgs) ToSourceInstanceParamsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SourceInstanceParamsOutput) } +func (i SourceInstanceParamsArgs) ToOutput(ctx context.Context) pulumix.Output[SourceInstanceParams] { + return pulumix.Output[SourceInstanceParams]{ + OutputState: i.ToSourceInstanceParamsOutputWithContext(ctx).OutputState, + } +} + func (i SourceInstanceParamsArgs) ToSourceInstanceParamsPtrOutput() SourceInstanceParamsPtrOutput { return i.ToSourceInstanceParamsPtrOutputWithContext(context.Background()) } @@ -47021,6 +53922,12 @@ func (i *sourceInstanceParamsPtrType) ToSourceInstanceParamsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(SourceInstanceParamsPtrOutput) } +func (i *sourceInstanceParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SourceInstanceParams] { + return pulumix.Output[*SourceInstanceParams]{ + OutputState: i.ToSourceInstanceParamsPtrOutputWithContext(ctx).OutputState, + } +} + // A specification of the parameters to use when creating the instance template from a source instance. type SourceInstanceParamsOutput struct{ *pulumi.OutputState } @@ -47046,6 +53953,12 @@ func (o SourceInstanceParamsOutput) ToSourceInstanceParamsPtrOutputWithContext(c }).(SourceInstanceParamsPtrOutput) } +func (o SourceInstanceParamsOutput) ToOutput(ctx context.Context) pulumix.Output[SourceInstanceParams] { + return pulumix.Output[SourceInstanceParams]{ + OutputState: o.OutputState, + } +} + // Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. func (o SourceInstanceParamsOutput) DiskConfigs() DiskInstantiationConfigArrayOutput { return o.ApplyT(func(v SourceInstanceParams) []DiskInstantiationConfig { return v.DiskConfigs }).(DiskInstantiationConfigArrayOutput) @@ -47065,6 +53978,12 @@ func (o SourceInstanceParamsPtrOutput) ToSourceInstanceParamsPtrOutputWithContex return o } +func (o SourceInstanceParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceInstanceParams] { + return pulumix.Output[*SourceInstanceParams]{ + OutputState: o.OutputState, + } +} + func (o SourceInstanceParamsPtrOutput) Elem() SourceInstanceParamsOutput { return o.ApplyT(func(v *SourceInstanceParams) SourceInstanceParams { if v != nil { @@ -47106,6 +54025,12 @@ func (o SourceInstanceParamsResponseOutput) ToSourceInstanceParamsResponseOutput return o } +func (o SourceInstanceParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceInstanceParamsResponse] { + return pulumix.Output[SourceInstanceParamsResponse]{ + OutputState: o.OutputState, + } +} + // Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. func (o SourceInstanceParamsResponseOutput) DiskConfigs() DiskInstantiationConfigResponseArrayOutput { return o.ApplyT(func(v SourceInstanceParamsResponse) []DiskInstantiationConfigResponse { return v.DiskConfigs }).(DiskInstantiationConfigResponseArrayOutput) @@ -47160,6 +54085,12 @@ func (o SourceInstancePropertiesResponseOutput) ToSourceInstancePropertiesRespon return o } +func (o SourceInstancePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceInstancePropertiesResponse] { + return pulumix.Output[SourceInstancePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information. func (o SourceInstancePropertiesResponseOutput) CanIpForward() pulumi.BoolOutput { return o.ApplyT(func(v SourceInstancePropertiesResponse) bool { return v.CanIpForward }).(pulumi.BoolOutput) @@ -47270,6 +54201,12 @@ func (i SslCertificateManagedSslCertificateArgs) ToSslCertificateManagedSslCerti return pulumi.ToOutputWithContext(ctx, i).(SslCertificateManagedSslCertificateOutput) } +func (i SslCertificateManagedSslCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[SslCertificateManagedSslCertificate] { + return pulumix.Output[SslCertificateManagedSslCertificate]{ + OutputState: i.ToSslCertificateManagedSslCertificateOutputWithContext(ctx).OutputState, + } +} + func (i SslCertificateManagedSslCertificateArgs) ToSslCertificateManagedSslCertificatePtrOutput() SslCertificateManagedSslCertificatePtrOutput { return i.ToSslCertificateManagedSslCertificatePtrOutputWithContext(context.Background()) } @@ -47311,6 +54248,12 @@ func (i *sslCertificateManagedSslCertificatePtrType) ToSslCertificateManagedSslC return pulumi.ToOutputWithContext(ctx, i).(SslCertificateManagedSslCertificatePtrOutput) } +func (i *sslCertificateManagedSslCertificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateManagedSslCertificate] { + return pulumix.Output[*SslCertificateManagedSslCertificate]{ + OutputState: i.ToSslCertificateManagedSslCertificatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration and status of a managed SSL certificate. type SslCertificateManagedSslCertificateOutput struct{ *pulumi.OutputState } @@ -47336,6 +54279,12 @@ func (o SslCertificateManagedSslCertificateOutput) ToSslCertificateManagedSslCer }).(SslCertificateManagedSslCertificatePtrOutput) } +func (o SslCertificateManagedSslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateManagedSslCertificate] { + return pulumix.Output[SslCertificateManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + // The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the [maximum number of domains per Google-managed SSL certificate](/load-balancing/docs/quotas#ssl_certificates). func (o SslCertificateManagedSslCertificateOutput) Domains() pulumi.StringArrayOutput { return o.ApplyT(func(v SslCertificateManagedSslCertificate) []string { return v.Domains }).(pulumi.StringArrayOutput) @@ -47355,6 +54304,12 @@ func (o SslCertificateManagedSslCertificatePtrOutput) ToSslCertificateManagedSsl return o } +func (o SslCertificateManagedSslCertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateManagedSslCertificate] { + return pulumix.Output[*SslCertificateManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateManagedSslCertificatePtrOutput) Elem() SslCertificateManagedSslCertificateOutput { return o.ApplyT(func(v *SslCertificateManagedSslCertificate) SslCertificateManagedSslCertificate { if v != nil { @@ -47400,6 +54355,12 @@ func (o SslCertificateManagedSslCertificateResponseOutput) ToSslCertificateManag return o } +func (o SslCertificateManagedSslCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateManagedSslCertificateResponse] { + return pulumix.Output[SslCertificateManagedSslCertificateResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Detailed statuses of the domains specified for managed certificate resource. func (o SslCertificateManagedSslCertificateResponseOutput) DomainStatus() pulumi.StringMapOutput { return o.ApplyT(func(v SslCertificateManagedSslCertificateResponse) map[string]string { return v.DomainStatus }).(pulumi.StringMapOutput) @@ -47454,6 +54415,12 @@ func (i SslCertificateSelfManagedSslCertificateArgs) ToSslCertificateSelfManaged return pulumi.ToOutputWithContext(ctx, i).(SslCertificateSelfManagedSslCertificateOutput) } +func (i SslCertificateSelfManagedSslCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[SslCertificateSelfManagedSslCertificate]{ + OutputState: i.ToSslCertificateSelfManagedSslCertificateOutputWithContext(ctx).OutputState, + } +} + func (i SslCertificateSelfManagedSslCertificateArgs) ToSslCertificateSelfManagedSslCertificatePtrOutput() SslCertificateSelfManagedSslCertificatePtrOutput { return i.ToSslCertificateSelfManagedSslCertificatePtrOutputWithContext(context.Background()) } @@ -47495,6 +54462,12 @@ func (i *sslCertificateSelfManagedSslCertificatePtrType) ToSslCertificateSelfMan return pulumi.ToOutputWithContext(ctx, i).(SslCertificateSelfManagedSslCertificatePtrOutput) } +func (i *sslCertificateSelfManagedSslCertificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[*SslCertificateSelfManagedSslCertificate]{ + OutputState: i.ToSslCertificateSelfManagedSslCertificatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration and status of a self-managed SSL certificate. type SslCertificateSelfManagedSslCertificateOutput struct{ *pulumi.OutputState } @@ -47520,6 +54493,12 @@ func (o SslCertificateSelfManagedSslCertificateOutput) ToSslCertificateSelfManag }).(SslCertificateSelfManagedSslCertificatePtrOutput) } +func (o SslCertificateSelfManagedSslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[SslCertificateSelfManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + // A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o SslCertificateSelfManagedSslCertificateOutput) Certificate() pulumi.StringPtrOutput { return o.ApplyT(func(v SslCertificateSelfManagedSslCertificate) *string { return v.Certificate }).(pulumi.StringPtrOutput) @@ -47544,6 +54523,12 @@ func (o SslCertificateSelfManagedSslCertificatePtrOutput) ToSslCertificateSelfMa return o } +func (o SslCertificateSelfManagedSslCertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[*SslCertificateSelfManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateSelfManagedSslCertificatePtrOutput) Elem() SslCertificateSelfManagedSslCertificateOutput { return o.ApplyT(func(v *SslCertificateSelfManagedSslCertificate) SslCertificateSelfManagedSslCertificate { if v != nil { @@ -47597,6 +54582,12 @@ func (o SslCertificateSelfManagedSslCertificateResponseOutput) ToSslCertificateS return o } +func (o SslCertificateSelfManagedSslCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateSelfManagedSslCertificateResponse] { + return pulumix.Output[SslCertificateSelfManagedSslCertificateResponse]{ + OutputState: o.OutputState, + } +} + // A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o SslCertificateSelfManagedSslCertificateResponseOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v SslCertificateSelfManagedSslCertificateResponse) string { return v.Certificate }).(pulumi.StringOutput) @@ -47628,6 +54619,12 @@ func (o SslPolicyWarningsItemDataItemResponseOutput) ToSslPolicyWarningsItemData return o } +func (o SslPolicyWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[SslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o SslPolicyWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SslPolicyWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -47652,6 +54649,12 @@ func (o SslPolicyWarningsItemDataItemResponseArrayOutput) ToSslPolicyWarningsIte return o } +func (o SslPolicyWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[[]SslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) SslPolicyWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SslPolicyWarningsItemDataItemResponse { return vs[0].([]SslPolicyWarningsItemDataItemResponse)[vs[1].(int)] @@ -47681,6 +54684,12 @@ func (o SslPolicyWarningsItemResponseOutput) ToSslPolicyWarningsItemResponseOutp return o } +func (o SslPolicyWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyWarningsItemResponse] { + return pulumix.Output[SslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o SslPolicyWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v SslPolicyWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -47710,6 +54719,12 @@ func (o SslPolicyWarningsItemResponseArrayOutput) ToSslPolicyWarningsItemRespons return o } +func (o SslPolicyWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SslPolicyWarningsItemResponse] { + return pulumix.Output[[]SslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) SslPolicyWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SslPolicyWarningsItemResponse { return vs[0].([]SslPolicyWarningsItemResponse)[vs[1].(int)] @@ -47747,6 +54762,12 @@ func (i StatefulPolicyArgs) ToStatefulPolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyOutput) } +func (i StatefulPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicy] { + return pulumix.Output[StatefulPolicy]{ + OutputState: i.ToStatefulPolicyOutputWithContext(ctx).OutputState, + } +} + func (i StatefulPolicyArgs) ToStatefulPolicyPtrOutput() StatefulPolicyPtrOutput { return i.ToStatefulPolicyPtrOutputWithContext(context.Background()) } @@ -47788,6 +54809,12 @@ func (i *statefulPolicyPtrType) ToStatefulPolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyPtrOutput) } +func (i *statefulPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicy] { + return pulumix.Output[*StatefulPolicy]{ + OutputState: i.ToStatefulPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type StatefulPolicyOutput struct{ *pulumi.OutputState } func (StatefulPolicyOutput) ElementType() reflect.Type { @@ -47812,6 +54839,12 @@ func (o StatefulPolicyOutput) ToStatefulPolicyPtrOutputWithContext(ctx context.C }).(StatefulPolicyPtrOutput) } +func (o StatefulPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicy] { + return pulumix.Output[StatefulPolicy]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyOutput) PreservedState() StatefulPolicyPreservedStatePtrOutput { return o.ApplyT(func(v StatefulPolicy) *StatefulPolicyPreservedState { return v.PreservedState }).(StatefulPolicyPreservedStatePtrOutput) } @@ -47830,6 +54863,12 @@ func (o StatefulPolicyPtrOutput) ToStatefulPolicyPtrOutputWithContext(ctx contex return o } +func (o StatefulPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicy] { + return pulumix.Output[*StatefulPolicy]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyPtrOutput) Elem() StatefulPolicyOutput { return o.ApplyT(func(v *StatefulPolicy) StatefulPolicy { if v != nil { @@ -47892,6 +54931,12 @@ func (i StatefulPolicyPreservedStateArgs) ToStatefulPolicyPreservedStateOutputWi return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyPreservedStateOutput) } +func (i StatefulPolicyPreservedStateArgs) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyPreservedState] { + return pulumix.Output[StatefulPolicyPreservedState]{ + OutputState: i.ToStatefulPolicyPreservedStateOutputWithContext(ctx).OutputState, + } +} + func (i StatefulPolicyPreservedStateArgs) ToStatefulPolicyPreservedStatePtrOutput() StatefulPolicyPreservedStatePtrOutput { return i.ToStatefulPolicyPreservedStatePtrOutputWithContext(context.Background()) } @@ -47933,6 +54978,12 @@ func (i *statefulPolicyPreservedStatePtrType) ToStatefulPolicyPreservedStatePtrO return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyPreservedStatePtrOutput) } +func (i *statefulPolicyPreservedStatePtrType) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicyPreservedState] { + return pulumix.Output[*StatefulPolicyPreservedState]{ + OutputState: i.ToStatefulPolicyPreservedStatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of preserved resources. type StatefulPolicyPreservedStateOutput struct{ *pulumi.OutputState } @@ -47958,6 +55009,12 @@ func (o StatefulPolicyPreservedStateOutput) ToStatefulPolicyPreservedStatePtrOut }).(StatefulPolicyPreservedStatePtrOutput) } +func (o StatefulPolicyPreservedStateOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyPreservedState] { + return pulumix.Output[StatefulPolicyPreservedState]{ + OutputState: o.OutputState, + } +} + // Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. func (o StatefulPolicyPreservedStateOutput) Disks() pulumi.StringMapOutput { return o.ApplyT(func(v StatefulPolicyPreservedState) map[string]string { return v.Disks }).(pulumi.StringMapOutput) @@ -47987,6 +55044,12 @@ func (o StatefulPolicyPreservedStatePtrOutput) ToStatefulPolicyPreservedStatePtr return o } +func (o StatefulPolicyPreservedStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicyPreservedState] { + return pulumix.Output[*StatefulPolicyPreservedState]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyPreservedStatePtrOutput) Elem() StatefulPolicyPreservedStateOutput { return o.ApplyT(func(v *StatefulPolicyPreservedState) StatefulPolicyPreservedState { if v != nil { @@ -48052,6 +55115,12 @@ func (o StatefulPolicyPreservedStateResponseOutput) ToStatefulPolicyPreservedSta return o } +func (o StatefulPolicyPreservedStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyPreservedStateResponse] { + return pulumix.Output[StatefulPolicyPreservedStateResponse]{ + OutputState: o.OutputState, + } +} + // Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. func (o StatefulPolicyPreservedStateResponseOutput) Disks() pulumi.StringMapOutput { return o.ApplyT(func(v StatefulPolicyPreservedStateResponse) map[string]string { return v.Disks }).(pulumi.StringMapOutput) @@ -48085,6 +55154,12 @@ func (o StatefulPolicyResponseOutput) ToStatefulPolicyResponseOutputWithContext( return o } +func (o StatefulPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyResponse] { + return pulumix.Output[StatefulPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyResponseOutput) PreservedState() StatefulPolicyPreservedStateResponseOutput { return o.ApplyT(func(v StatefulPolicyResponse) StatefulPolicyPreservedStateResponse { return v.PreservedState }).(StatefulPolicyPreservedStateResponseOutput) } @@ -48144,6 +55219,12 @@ func (i SubnetworkLogConfigArgs) ToSubnetworkLogConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SubnetworkLogConfigOutput) } +func (i SubnetworkLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfig] { + return pulumix.Output[SubnetworkLogConfig]{ + OutputState: i.ToSubnetworkLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i SubnetworkLogConfigArgs) ToSubnetworkLogConfigPtrOutput() SubnetworkLogConfigPtrOutput { return i.ToSubnetworkLogConfigPtrOutputWithContext(context.Background()) } @@ -48185,6 +55266,12 @@ func (i *subnetworkLogConfigPtrType) ToSubnetworkLogConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(SubnetworkLogConfigPtrOutput) } +func (i *subnetworkLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfig] { + return pulumix.Output[*SubnetworkLogConfig]{ + OutputState: i.ToSubnetworkLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The available logging options for this subnetwork. type SubnetworkLogConfigOutput struct{ *pulumi.OutputState } @@ -48210,6 +55297,12 @@ func (o SubnetworkLogConfigOutput) ToSubnetworkLogConfigPtrOutputWithContext(ctx }).(SubnetworkLogConfigPtrOutput) } +func (o SubnetworkLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfig] { + return pulumix.Output[SubnetworkLogConfig]{ + OutputState: o.OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. func (o SubnetworkLogConfigOutput) AggregationInterval() SubnetworkLogConfigAggregationIntervalPtrOutput { return o.ApplyT(func(v SubnetworkLogConfig) *SubnetworkLogConfigAggregationInterval { return v.AggregationInterval }).(SubnetworkLogConfigAggregationIntervalPtrOutput) @@ -48254,6 +55347,12 @@ func (o SubnetworkLogConfigPtrOutput) ToSubnetworkLogConfigPtrOutputWithContext( return o } +func (o SubnetworkLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfig] { + return pulumix.Output[*SubnetworkLogConfig]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigPtrOutput) Elem() SubnetworkLogConfigOutput { return o.ApplyT(func(v *SubnetworkLogConfig) SubnetworkLogConfig { if v != nil { @@ -48355,6 +55454,12 @@ func (o SubnetworkLogConfigResponseOutput) ToSubnetworkLogConfigResponseOutputWi return o } +func (o SubnetworkLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfigResponse] { + return pulumix.Output[SubnetworkLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. func (o SubnetworkLogConfigResponseOutput) AggregationInterval() pulumi.StringOutput { return o.ApplyT(func(v SubnetworkLogConfigResponse) string { return v.AggregationInterval }).(pulumi.StringOutput) @@ -48428,6 +55533,12 @@ func (i SubnetworkSecondaryRangeArgs) ToSubnetworkSecondaryRangeOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SubnetworkSecondaryRangeOutput) } +func (i SubnetworkSecondaryRangeArgs) ToOutput(ctx context.Context) pulumix.Output[SubnetworkSecondaryRange] { + return pulumix.Output[SubnetworkSecondaryRange]{ + OutputState: i.ToSubnetworkSecondaryRangeOutputWithContext(ctx).OutputState, + } +} + // SubnetworkSecondaryRangeArrayInput is an input type that accepts SubnetworkSecondaryRangeArray and SubnetworkSecondaryRangeArrayOutput values. // You can construct a concrete instance of `SubnetworkSecondaryRangeArrayInput` via: // @@ -48453,6 +55564,12 @@ func (i SubnetworkSecondaryRangeArray) ToSubnetworkSecondaryRangeArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(SubnetworkSecondaryRangeArrayOutput) } +func (i SubnetworkSecondaryRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]SubnetworkSecondaryRange] { + return pulumix.Output[[]SubnetworkSecondaryRange]{ + OutputState: i.ToSubnetworkSecondaryRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a secondary IP range of a subnetwork. type SubnetworkSecondaryRangeOutput struct{ *pulumi.OutputState } @@ -48468,6 +55585,12 @@ func (o SubnetworkSecondaryRangeOutput) ToSubnetworkSecondaryRangeOutputWithCont return o } +func (o SubnetworkSecondaryRangeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkSecondaryRange] { + return pulumix.Output[SubnetworkSecondaryRange]{ + OutputState: o.OutputState, + } +} + // The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. func (o SubnetworkSecondaryRangeOutput) IpCidrRange() pulumi.StringPtrOutput { return o.ApplyT(func(v SubnetworkSecondaryRange) *string { return v.IpCidrRange }).(pulumi.StringPtrOutput) @@ -48497,6 +55620,12 @@ func (o SubnetworkSecondaryRangeArrayOutput) ToSubnetworkSecondaryRangeArrayOutp return o } +func (o SubnetworkSecondaryRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubnetworkSecondaryRange] { + return pulumix.Output[[]SubnetworkSecondaryRange]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkSecondaryRangeArrayOutput) Index(i pulumi.IntInput) SubnetworkSecondaryRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetworkSecondaryRange { return vs[0].([]SubnetworkSecondaryRange)[vs[1].(int)] @@ -48528,6 +55657,12 @@ func (o SubnetworkSecondaryRangeResponseOutput) ToSubnetworkSecondaryRangeRespon return o } +func (o SubnetworkSecondaryRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkSecondaryRangeResponse] { + return pulumix.Output[SubnetworkSecondaryRangeResponse]{ + OutputState: o.OutputState, + } +} + // The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. func (o SubnetworkSecondaryRangeResponseOutput) IpCidrRange() pulumi.StringOutput { return o.ApplyT(func(v SubnetworkSecondaryRangeResponse) string { return v.IpCidrRange }).(pulumi.StringOutput) @@ -48557,6 +55692,12 @@ func (o SubnetworkSecondaryRangeResponseArrayOutput) ToSubnetworkSecondaryRangeR return o } +func (o SubnetworkSecondaryRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubnetworkSecondaryRangeResponse] { + return pulumix.Output[[]SubnetworkSecondaryRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkSecondaryRangeResponseArrayOutput) Index(i pulumi.IntInput) SubnetworkSecondaryRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetworkSecondaryRangeResponse { return vs[0].([]SubnetworkSecondaryRangeResponse)[vs[1].(int)] @@ -48600,6 +55741,12 @@ func (i SubsettingArgs) ToSubsettingOutputWithContext(ctx context.Context) Subse return pulumi.ToOutputWithContext(ctx, i).(SubsettingOutput) } +func (i SubsettingArgs) ToOutput(ctx context.Context) pulumix.Output[Subsetting] { + return pulumix.Output[Subsetting]{ + OutputState: i.ToSubsettingOutputWithContext(ctx).OutputState, + } +} + func (i SubsettingArgs) ToSubsettingPtrOutput() SubsettingPtrOutput { return i.ToSubsettingPtrOutputWithContext(context.Background()) } @@ -48641,6 +55788,12 @@ func (i *subsettingPtrType) ToSubsettingPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SubsettingPtrOutput) } +func (i *subsettingPtrType) ToOutput(ctx context.Context) pulumix.Output[*Subsetting] { + return pulumix.Output[*Subsetting]{ + OutputState: i.ToSubsettingPtrOutputWithContext(ctx).OutputState, + } +} + // Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director. type SubsettingOutput struct{ *pulumi.OutputState } @@ -48666,6 +55819,12 @@ func (o SubsettingOutput) ToSubsettingPtrOutputWithContext(ctx context.Context) }).(SubsettingPtrOutput) } +func (o SubsettingOutput) ToOutput(ctx context.Context) pulumix.Output[Subsetting] { + return pulumix.Output[Subsetting]{ + OutputState: o.OutputState, + } +} + func (o SubsettingOutput) Policy() SubsettingPolicyPtrOutput { return o.ApplyT(func(v Subsetting) *SubsettingPolicy { return v.Policy }).(SubsettingPolicyPtrOutput) } @@ -48689,6 +55848,12 @@ func (o SubsettingPtrOutput) ToSubsettingPtrOutputWithContext(ctx context.Contex return o } +func (o SubsettingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Subsetting] { + return pulumix.Output[*Subsetting]{ + OutputState: o.OutputState, + } +} + func (o SubsettingPtrOutput) Elem() SubsettingOutput { return o.ApplyT(func(v *Subsetting) Subsetting { if v != nil { @@ -48740,6 +55905,12 @@ func (o SubsettingResponseOutput) ToSubsettingResponseOutputWithContext(ctx cont return o } +func (o SubsettingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubsettingResponse] { + return pulumix.Output[SubsettingResponse]{ + OutputState: o.OutputState, + } +} + func (o SubsettingResponseOutput) Policy() pulumi.StringOutput { return o.ApplyT(func(v SubsettingResponse) string { return v.Policy }).(pulumi.StringOutput) } @@ -48802,6 +55973,12 @@ func (i TCPHealthCheckArgs) ToTCPHealthCheckOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(TCPHealthCheckOutput) } +func (i TCPHealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheck] { + return pulumix.Output[TCPHealthCheck]{ + OutputState: i.ToTCPHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i TCPHealthCheckArgs) ToTCPHealthCheckPtrOutput() TCPHealthCheckPtrOutput { return i.ToTCPHealthCheckPtrOutputWithContext(context.Background()) } @@ -48843,6 +56020,12 @@ func (i *tcphealthCheckPtrType) ToTCPHealthCheckPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(TCPHealthCheckPtrOutput) } +func (i *tcphealthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheck] { + return pulumix.Output[*TCPHealthCheck]{ + OutputState: i.ToTCPHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type TCPHealthCheckOutput struct{ *pulumi.OutputState } func (TCPHealthCheckOutput) ElementType() reflect.Type { @@ -48867,6 +56050,12 @@ func (o TCPHealthCheckOutput) ToTCPHealthCheckPtrOutputWithContext(ctx context.C }).(TCPHealthCheckPtrOutput) } +func (o TCPHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheck] { + return pulumix.Output[TCPHealthCheck]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535. func (o TCPHealthCheckOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v TCPHealthCheck) *int { return v.Port }).(pulumi.IntPtrOutput) @@ -48911,6 +56100,12 @@ func (o TCPHealthCheckPtrOutput) ToTCPHealthCheckPtrOutputWithContext(ctx contex return o } +func (o TCPHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheck] { + return pulumix.Output[*TCPHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckPtrOutput) Elem() TCPHealthCheckOutput { return o.ApplyT(func(v *TCPHealthCheck) TCPHealthCheck { if v != nil { @@ -49010,6 +56205,12 @@ func (o TCPHealthCheckResponseOutput) ToTCPHealthCheckResponseOutputWithContext( return o } +func (o TCPHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheckResponse] { + return pulumix.Output[TCPHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535. func (o TCPHealthCheckResponseOutput) Port() pulumi.IntOutput { return o.ApplyT(func(v TCPHealthCheckResponse) int { return v.Port }).(pulumi.IntOutput) @@ -49075,6 +56276,12 @@ func (i TagsArgs) ToTagsOutputWithContext(ctx context.Context) TagsOutput { return pulumi.ToOutputWithContext(ctx, i).(TagsOutput) } +func (i TagsArgs) ToOutput(ctx context.Context) pulumix.Output[Tags] { + return pulumix.Output[Tags]{ + OutputState: i.ToTagsOutputWithContext(ctx).OutputState, + } +} + func (i TagsArgs) ToTagsPtrOutput() TagsPtrOutput { return i.ToTagsPtrOutputWithContext(context.Background()) } @@ -49116,6 +56323,12 @@ func (i *tagsPtrType) ToTagsPtrOutputWithContext(ctx context.Context) TagsPtrOut return pulumi.ToOutputWithContext(ctx, i).(TagsPtrOutput) } +func (i *tagsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Tags] { + return pulumix.Output[*Tags]{ + OutputState: i.ToTagsPtrOutputWithContext(ctx).OutputState, + } +} + // A set of instance tags. type TagsOutput struct{ *pulumi.OutputState } @@ -49141,6 +56354,12 @@ func (o TagsOutput) ToTagsPtrOutputWithContext(ctx context.Context) TagsPtrOutpu }).(TagsPtrOutput) } +func (o TagsOutput) ToOutput(ctx context.Context) pulumix.Output[Tags] { + return pulumix.Output[Tags]{ + OutputState: o.OutputState, + } +} + // An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. func (o TagsOutput) Items() pulumi.StringArrayOutput { return o.ApplyT(func(v Tags) []string { return v.Items }).(pulumi.StringArrayOutput) @@ -49160,6 +56379,12 @@ func (o TagsPtrOutput) ToTagsPtrOutputWithContext(ctx context.Context) TagsPtrOu return o } +func (o TagsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Tags] { + return pulumix.Output[*Tags]{ + OutputState: o.OutputState, + } +} + func (o TagsPtrOutput) Elem() TagsOutput { return o.ApplyT(func(v *Tags) Tags { if v != nil { @@ -49203,6 +56428,12 @@ func (o TagsResponseOutput) ToTagsResponseOutputWithContext(ctx context.Context) return o } +func (o TagsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TagsResponse] { + return pulumix.Output[TagsResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance. func (o TagsResponseOutput) Fingerprint() pulumi.StringOutput { return o.ApplyT(func(v TagsResponse) string { return v.Fingerprint }).(pulumi.StringOutput) @@ -49232,6 +56463,12 @@ func (o Uint128ResponseOutput) ToUint128ResponseOutputWithContext(ctx context.Co return o } +func (o Uint128ResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Uint128Response] { + return pulumix.Output[Uint128Response]{ + OutputState: o.OutputState, + } +} + func (o Uint128ResponseOutput) High() pulumi.StringOutput { return o.ApplyT(func(v Uint128Response) string { return v.High }).(pulumi.StringOutput) } @@ -49299,6 +56536,12 @@ func (i UrlMapTestArgs) ToUrlMapTestOutputWithContext(ctx context.Context) UrlMa return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestOutput) } +func (i UrlMapTestArgs) ToOutput(ctx context.Context) pulumix.Output[UrlMapTest] { + return pulumix.Output[UrlMapTest]{ + OutputState: i.ToUrlMapTestOutputWithContext(ctx).OutputState, + } +} + // UrlMapTestArrayInput is an input type that accepts UrlMapTestArray and UrlMapTestArrayOutput values. // You can construct a concrete instance of `UrlMapTestArrayInput` via: // @@ -49324,6 +56567,12 @@ func (i UrlMapTestArray) ToUrlMapTestArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestArrayOutput) } +func (i UrlMapTestArray) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTest] { + return pulumix.Output[[]UrlMapTest]{ + OutputState: i.ToUrlMapTestArrayOutputWithContext(ctx).OutputState, + } +} + // Message for the expected URL mappings. type UrlMapTestOutput struct{ *pulumi.OutputState } @@ -49339,6 +56588,12 @@ func (o UrlMapTestOutput) ToUrlMapTestOutputWithContext(ctx context.Context) Url return o } +func (o UrlMapTestOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTest] { + return pulumix.Output[UrlMapTest]{ + OutputState: o.OutputState, + } +} + // Description of this test case. func (o UrlMapTestOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v UrlMapTest) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -49388,6 +56643,12 @@ func (o UrlMapTestArrayOutput) ToUrlMapTestArrayOutputWithContext(ctx context.Co return o } +func (o UrlMapTestArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTest] { + return pulumix.Output[[]UrlMapTest]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestArrayOutput) Index(i pulumi.IntInput) UrlMapTestOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTest { return vs[0].([]UrlMapTest)[vs[1].(int)] @@ -49433,6 +56694,12 @@ func (i UrlMapTestHeaderArgs) ToUrlMapTestHeaderOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestHeaderOutput) } +func (i UrlMapTestHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestHeader] { + return pulumix.Output[UrlMapTestHeader]{ + OutputState: i.ToUrlMapTestHeaderOutputWithContext(ctx).OutputState, + } +} + // UrlMapTestHeaderArrayInput is an input type that accepts UrlMapTestHeaderArray and UrlMapTestHeaderArrayOutput values. // You can construct a concrete instance of `UrlMapTestHeaderArrayInput` via: // @@ -49458,6 +56725,12 @@ func (i UrlMapTestHeaderArray) ToUrlMapTestHeaderArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestHeaderArrayOutput) } +func (i UrlMapTestHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestHeader] { + return pulumix.Output[[]UrlMapTestHeader]{ + OutputState: i.ToUrlMapTestHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // HTTP headers used in UrlMapTests. type UrlMapTestHeaderOutput struct{ *pulumi.OutputState } @@ -49473,6 +56746,12 @@ func (o UrlMapTestHeaderOutput) ToUrlMapTestHeaderOutputWithContext(ctx context. return o } +func (o UrlMapTestHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestHeader] { + return pulumix.Output[UrlMapTestHeader]{ + OutputState: o.OutputState, + } +} + // Header name. func (o UrlMapTestHeaderOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v UrlMapTestHeader) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -49497,6 +56776,12 @@ func (o UrlMapTestHeaderArrayOutput) ToUrlMapTestHeaderArrayOutputWithContext(ct return o } +func (o UrlMapTestHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestHeader] { + return pulumix.Output[[]UrlMapTestHeader]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestHeaderArrayOutput) Index(i pulumi.IntInput) UrlMapTestHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTestHeader { return vs[0].([]UrlMapTestHeader)[vs[1].(int)] @@ -49526,6 +56811,12 @@ func (o UrlMapTestHeaderResponseOutput) ToUrlMapTestHeaderResponseOutputWithCont return o } +func (o UrlMapTestHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestHeaderResponse] { + return pulumix.Output[UrlMapTestHeaderResponse]{ + OutputState: o.OutputState, + } +} + // Header name. func (o UrlMapTestHeaderResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v UrlMapTestHeaderResponse) string { return v.Name }).(pulumi.StringOutput) @@ -49550,6 +56841,12 @@ func (o UrlMapTestHeaderResponseArrayOutput) ToUrlMapTestHeaderResponseArrayOutp return o } +func (o UrlMapTestHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestHeaderResponse] { + return pulumix.Output[[]UrlMapTestHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestHeaderResponseArrayOutput) Index(i pulumi.IntInput) UrlMapTestHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTestHeaderResponse { return vs[0].([]UrlMapTestHeaderResponse)[vs[1].(int)] @@ -49589,6 +56886,12 @@ func (o UrlMapTestResponseOutput) ToUrlMapTestResponseOutputWithContext(ctx cont return o } +func (o UrlMapTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestResponse] { + return pulumix.Output[UrlMapTestResponse]{ + OutputState: o.OutputState, + } +} + // Description of this test case. func (o UrlMapTestResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v UrlMapTestResponse) string { return v.Description }).(pulumi.StringOutput) @@ -49638,6 +56941,12 @@ func (o UrlMapTestResponseArrayOutput) ToUrlMapTestResponseArrayOutputWithContex return o } +func (o UrlMapTestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestResponse] { + return pulumix.Output[[]UrlMapTestResponse]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestResponseArrayOutput) Index(i pulumi.IntInput) UrlMapTestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTestResponse { return vs[0].([]UrlMapTestResponse)[vs[1].(int)] @@ -49687,6 +56996,12 @@ func (i UrlRewriteArgs) ToUrlRewriteOutputWithContext(ctx context.Context) UrlRe return pulumi.ToOutputWithContext(ctx, i).(UrlRewriteOutput) } +func (i UrlRewriteArgs) ToOutput(ctx context.Context) pulumix.Output[UrlRewrite] { + return pulumix.Output[UrlRewrite]{ + OutputState: i.ToUrlRewriteOutputWithContext(ctx).OutputState, + } +} + func (i UrlRewriteArgs) ToUrlRewritePtrOutput() UrlRewritePtrOutput { return i.ToUrlRewritePtrOutputWithContext(context.Background()) } @@ -49728,6 +57043,12 @@ func (i *urlRewritePtrType) ToUrlRewritePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(UrlRewritePtrOutput) } +func (i *urlRewritePtrType) ToOutput(ctx context.Context) pulumix.Output[*UrlRewrite] { + return pulumix.Output[*UrlRewrite]{ + OutputState: i.ToUrlRewritePtrOutputWithContext(ctx).OutputState, + } +} + // The spec for modifying the path before sending the request to the matched backend service. type UrlRewriteOutput struct{ *pulumi.OutputState } @@ -49753,6 +57074,12 @@ func (o UrlRewriteOutput) ToUrlRewritePtrOutputWithContext(ctx context.Context) }).(UrlRewritePtrOutput) } +func (o UrlRewriteOutput) ToOutput(ctx context.Context) pulumix.Output[UrlRewrite] { + return pulumix.Output[UrlRewrite]{ + OutputState: o.OutputState, + } +} + // Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. func (o UrlRewriteOutput) HostRewrite() pulumi.StringPtrOutput { return o.ApplyT(func(v UrlRewrite) *string { return v.HostRewrite }).(pulumi.StringPtrOutput) @@ -49782,6 +57109,12 @@ func (o UrlRewritePtrOutput) ToUrlRewritePtrOutputWithContext(ctx context.Contex return o } +func (o UrlRewritePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlRewrite] { + return pulumix.Output[*UrlRewrite]{ + OutputState: o.OutputState, + } +} + func (o UrlRewritePtrOutput) Elem() UrlRewriteOutput { return o.ApplyT(func(v *UrlRewrite) UrlRewrite { if v != nil { @@ -49847,6 +57180,12 @@ func (o UrlRewriteResponseOutput) ToUrlRewriteResponseOutputWithContext(ctx cont return o } +func (o UrlRewriteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlRewriteResponse] { + return pulumix.Output[UrlRewriteResponse]{ + OutputState: o.OutputState, + } +} + // Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. func (o UrlRewriteResponseOutput) HostRewrite() pulumi.StringOutput { return o.ApplyT(func(v UrlRewriteResponse) string { return v.HostRewrite }).(pulumi.StringOutput) @@ -49897,6 +57236,12 @@ func (i VpnGatewayVpnGatewayInterfaceArgs) ToVpnGatewayVpnGatewayInterfaceOutput return pulumi.ToOutputWithContext(ctx, i).(VpnGatewayVpnGatewayInterfaceOutput) } +func (i VpnGatewayVpnGatewayInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayVpnGatewayInterface] { + return pulumix.Output[VpnGatewayVpnGatewayInterface]{ + OutputState: i.ToVpnGatewayVpnGatewayInterfaceOutputWithContext(ctx).OutputState, + } +} + // VpnGatewayVpnGatewayInterfaceArrayInput is an input type that accepts VpnGatewayVpnGatewayInterfaceArray and VpnGatewayVpnGatewayInterfaceArrayOutput values. // You can construct a concrete instance of `VpnGatewayVpnGatewayInterfaceArrayInput` via: // @@ -49922,6 +57267,12 @@ func (i VpnGatewayVpnGatewayInterfaceArray) ToVpnGatewayVpnGatewayInterfaceArray return pulumi.ToOutputWithContext(ctx, i).(VpnGatewayVpnGatewayInterfaceArrayOutput) } +func (i VpnGatewayVpnGatewayInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]VpnGatewayVpnGatewayInterface] { + return pulumix.Output[[]VpnGatewayVpnGatewayInterface]{ + OutputState: i.ToVpnGatewayVpnGatewayInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // A VPN gateway interface. type VpnGatewayVpnGatewayInterfaceOutput struct{ *pulumi.OutputState } @@ -49937,6 +57288,12 @@ func (o VpnGatewayVpnGatewayInterfaceOutput) ToVpnGatewayVpnGatewayInterfaceOutp return o } +func (o VpnGatewayVpnGatewayInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayVpnGatewayInterface] { + return pulumix.Output[VpnGatewayVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + // URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. func (o VpnGatewayVpnGatewayInterfaceOutput) InterconnectAttachment() pulumi.StringPtrOutput { return o.ApplyT(func(v VpnGatewayVpnGatewayInterface) *string { return v.InterconnectAttachment }).(pulumi.StringPtrOutput) @@ -49956,6 +57313,12 @@ func (o VpnGatewayVpnGatewayInterfaceArrayOutput) ToVpnGatewayVpnGatewayInterfac return o } +func (o VpnGatewayVpnGatewayInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VpnGatewayVpnGatewayInterface] { + return pulumix.Output[[]VpnGatewayVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayVpnGatewayInterfaceArrayOutput) Index(i pulumi.IntInput) VpnGatewayVpnGatewayInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpnGatewayVpnGatewayInterface { return vs[0].([]VpnGatewayVpnGatewayInterface)[vs[1].(int)] @@ -49987,6 +57350,12 @@ func (o VpnGatewayVpnGatewayInterfaceResponseOutput) ToVpnGatewayVpnGatewayInter return o } +func (o VpnGatewayVpnGatewayInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayVpnGatewayInterfaceResponse] { + return pulumix.Output[VpnGatewayVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. func (o VpnGatewayVpnGatewayInterfaceResponseOutput) InterconnectAttachment() pulumi.StringOutput { return o.ApplyT(func(v VpnGatewayVpnGatewayInterfaceResponse) string { return v.InterconnectAttachment }).(pulumi.StringOutput) @@ -50016,6 +57385,12 @@ func (o VpnGatewayVpnGatewayInterfaceResponseArrayOutput) ToVpnGatewayVpnGateway return o } +func (o VpnGatewayVpnGatewayInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VpnGatewayVpnGatewayInterfaceResponse] { + return pulumix.Output[[]VpnGatewayVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayVpnGatewayInterfaceResponseArrayOutput) Index(i pulumi.IntInput) VpnGatewayVpnGatewayInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpnGatewayVpnGatewayInterfaceResponse { return vs[0].([]VpnGatewayVpnGatewayInterfaceResponse)[vs[1].(int)] @@ -50065,6 +57440,12 @@ func (i WeightedBackendServiceArgs) ToWeightedBackendServiceOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(WeightedBackendServiceOutput) } +func (i WeightedBackendServiceArgs) ToOutput(ctx context.Context) pulumix.Output[WeightedBackendService] { + return pulumix.Output[WeightedBackendService]{ + OutputState: i.ToWeightedBackendServiceOutputWithContext(ctx).OutputState, + } +} + // WeightedBackendServiceArrayInput is an input type that accepts WeightedBackendServiceArray and WeightedBackendServiceArrayOutput values. // You can construct a concrete instance of `WeightedBackendServiceArrayInput` via: // @@ -50090,6 +57471,12 @@ func (i WeightedBackendServiceArray) ToWeightedBackendServiceArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(WeightedBackendServiceArrayOutput) } +func (i WeightedBackendServiceArray) ToOutput(ctx context.Context) pulumix.Output[[]WeightedBackendService] { + return pulumix.Output[[]WeightedBackendService]{ + OutputState: i.ToWeightedBackendServiceArrayOutputWithContext(ctx).OutputState, + } +} + // In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple backend services. The volume of traffic for each backend service is proportional to the weight specified in each WeightedBackendService type WeightedBackendServiceOutput struct{ *pulumi.OutputState } @@ -50105,6 +57492,12 @@ func (o WeightedBackendServiceOutput) ToWeightedBackendServiceOutputWithContext( return o } +func (o WeightedBackendServiceOutput) ToOutput(ctx context.Context) pulumix.Output[WeightedBackendService] { + return pulumix.Output[WeightedBackendService]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight. func (o WeightedBackendServiceOutput) BackendService() pulumi.StringPtrOutput { return o.ApplyT(func(v WeightedBackendService) *string { return v.BackendService }).(pulumi.StringPtrOutput) @@ -50134,6 +57527,12 @@ func (o WeightedBackendServiceArrayOutput) ToWeightedBackendServiceArrayOutputWi return o } +func (o WeightedBackendServiceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeightedBackendService] { + return pulumix.Output[[]WeightedBackendService]{ + OutputState: o.OutputState, + } +} + func (o WeightedBackendServiceArrayOutput) Index(i pulumi.IntInput) WeightedBackendServiceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeightedBackendService { return vs[0].([]WeightedBackendService)[vs[1].(int)] @@ -50165,6 +57564,12 @@ func (o WeightedBackendServiceResponseOutput) ToWeightedBackendServiceResponseOu return o } +func (o WeightedBackendServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeightedBackendServiceResponse] { + return pulumix.Output[WeightedBackendServiceResponse]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight. func (o WeightedBackendServiceResponseOutput) BackendService() pulumi.StringOutput { return o.ApplyT(func(v WeightedBackendServiceResponse) string { return v.BackendService }).(pulumi.StringOutput) @@ -50194,6 +57599,12 @@ func (o WeightedBackendServiceResponseArrayOutput) ToWeightedBackendServiceRespo return o } +func (o WeightedBackendServiceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeightedBackendServiceResponse] { + return pulumix.Output[[]WeightedBackendServiceResponse]{ + OutputState: o.OutputState, + } +} + func (o WeightedBackendServiceResponseArrayOutput) Index(i pulumi.IntInput) WeightedBackendServiceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeightedBackendServiceResponse { return vs[0].([]WeightedBackendServiceResponse)[vs[1].(int)] diff --git a/sdk/go/google/compute/beta/regionAutoscaler.go b/sdk/go/google/compute/beta/regionAutoscaler.go index 29f62377a2..953c86f3db 100644 --- a/sdk/go/google/compute/beta/regionAutoscaler.go +++ b/sdk/go/google/compute/beta/regionAutoscaler.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an autoscaler in the specified project using the data included in the request. @@ -147,6 +148,12 @@ func (i *RegionAutoscaler) ToRegionAutoscalerOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RegionAutoscalerOutput) } +func (i *RegionAutoscaler) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscaler] { + return pulumix.Output[*RegionAutoscaler]{ + OutputState: i.ToRegionAutoscalerOutputWithContext(ctx).OutputState, + } +} + type RegionAutoscalerOutput struct{ *pulumi.OutputState } func (RegionAutoscalerOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o RegionAutoscalerOutput) ToRegionAutoscalerOutputWithContext(ctx context. return o } +func (o RegionAutoscalerOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscaler] { + return pulumix.Output[*RegionAutoscaler]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o RegionAutoscalerOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v *RegionAutoscaler) AutoscalingPolicyResponseOutput { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/beta/regionBackendService.go b/sdk/go/google/compute/beta/regionBackendService.go index 887eb8dc92..0280a52493 100644 --- a/sdk/go/google/compute/beta/regionBackendService.go +++ b/sdk/go/google/compute/beta/regionBackendService.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview. @@ -308,6 +309,12 @@ func (i *RegionBackendService) ToRegionBackendServiceOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceOutput) } +func (i *RegionBackendService) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendService] { + return pulumix.Output[*RegionBackendService]{ + OutputState: i.ToRegionBackendServiceOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceOutput struct{ *pulumi.OutputState } func (RegionBackendServiceOutput) ElementType() reflect.Type { @@ -322,6 +329,12 @@ func (o RegionBackendServiceOutput) ToRegionBackendServiceOutputWithContext(ctx return o } +func (o RegionBackendServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendService] { + return pulumix.Output[*RegionBackendService]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o RegionBackendServiceOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v *RegionBackendService) pulumi.IntOutput { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/regionBackendServiceIamBinding.go b/sdk/go/google/compute/beta/regionBackendServiceIamBinding.go index e8fe479c9f..61f276d492 100644 --- a/sdk/go/google/compute/beta/regionBackendServiceIamBinding.go +++ b/sdk/go/google/compute/beta/regionBackendServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionBackendServiceIamBinding) ToRegionBackendServiceIamBindingOutputW return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceIamBindingOutput) } +func (i *RegionBackendServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamBinding] { + return pulumix.Output[*RegionBackendServiceIamBinding]{ + OutputState: i.ToRegionBackendServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceIamBindingOutput struct{ *pulumi.OutputState } func (RegionBackendServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionBackendServiceIamBindingOutput) ToRegionBackendServiceIamBindingOu return o } +func (o RegionBackendServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamBinding] { + return pulumix.Output[*RegionBackendServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionBackendServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionBackendServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/regionBackendServiceIamMember.go b/sdk/go/google/compute/beta/regionBackendServiceIamMember.go index 53f150c7e4..4d5fae789c 100644 --- a/sdk/go/google/compute/beta/regionBackendServiceIamMember.go +++ b/sdk/go/google/compute/beta/regionBackendServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionBackendServiceIamMember) ToRegionBackendServiceIamMemberOutputWit return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceIamMemberOutput) } +func (i *RegionBackendServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamMember] { + return pulumix.Output[*RegionBackendServiceIamMember]{ + OutputState: i.ToRegionBackendServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceIamMemberOutput struct{ *pulumi.OutputState } func (RegionBackendServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionBackendServiceIamMemberOutput) ToRegionBackendServiceIamMemberOutp return o } +func (o RegionBackendServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamMember] { + return pulumix.Output[*RegionBackendServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionBackendServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionBackendServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/regionBackendServiceIamPolicy.go b/sdk/go/google/compute/beta/regionBackendServiceIamPolicy.go index 8575278c8b..8e2d6ec954 100644 --- a/sdk/go/google/compute/beta/regionBackendServiceIamPolicy.go +++ b/sdk/go/google/compute/beta/regionBackendServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionBackendServiceIamPolicy) ToRegionBackendServiceIamPolicyOutputWit return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceIamPolicyOutput) } +func (i *RegionBackendServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamPolicy] { + return pulumix.Output[*RegionBackendServiceIamPolicy]{ + OutputState: i.ToRegionBackendServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceIamPolicyOutput struct{ *pulumi.OutputState } func (RegionBackendServiceIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionBackendServiceIamPolicyOutput) ToRegionBackendServiceIamPolicyOutp return o } +func (o RegionBackendServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamPolicy] { + return pulumix.Output[*RegionBackendServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionBackendServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionBackendServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/regionCommitment.go b/sdk/go/google/compute/beta/regionCommitment.go index 589ceff64f..7d1b7679e8 100644 --- a/sdk/go/google/compute/beta/regionCommitment.go +++ b/sdk/go/google/compute/beta/regionCommitment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a commitment in the specified project using the data included in the request. @@ -189,6 +190,12 @@ func (i *RegionCommitment) ToRegionCommitmentOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RegionCommitmentOutput) } +func (i *RegionCommitment) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitment] { + return pulumix.Output[*RegionCommitment]{ + OutputState: i.ToRegionCommitmentOutputWithContext(ctx).OutputState, + } +} + type RegionCommitmentOutput struct{ *pulumi.OutputState } func (RegionCommitmentOutput) ElementType() reflect.Type { @@ -203,6 +210,12 @@ func (o RegionCommitmentOutput) ToRegionCommitmentOutputWithContext(ctx context. return o } +func (o RegionCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitment] { + return pulumix.Output[*RegionCommitment]{ + OutputState: o.OutputState, + } +} + // Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment. func (o RegionCommitmentOutput) AutoRenew() pulumi.BoolOutput { return o.ApplyT(func(v *RegionCommitment) pulumi.BoolOutput { return v.AutoRenew }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/regionDisk.go b/sdk/go/google/compute/beta/regionDisk.go index 7450743338..4c05b5db55 100644 --- a/sdk/go/google/compute/beta/regionDisk.go +++ b/sdk/go/google/compute/beta/regionDisk.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a persistent regional disk in the specified project using the data included in the request. @@ -343,6 +344,12 @@ func (i *RegionDisk) ToRegionDiskOutputWithContext(ctx context.Context) RegionDi return pulumi.ToOutputWithContext(ctx, i).(RegionDiskOutput) } +func (i *RegionDisk) ToOutput(ctx context.Context) pulumix.Output[*RegionDisk] { + return pulumix.Output[*RegionDisk]{ + OutputState: i.ToRegionDiskOutputWithContext(ctx).OutputState, + } +} + type RegionDiskOutput struct{ *pulumi.OutputState } func (RegionDiskOutput) ElementType() reflect.Type { @@ -357,6 +364,12 @@ func (o RegionDiskOutput) ToRegionDiskOutputWithContext(ctx context.Context) Reg return o } +func (o RegionDiskOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDisk] { + return pulumix.Output[*RegionDisk]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o RegionDiskOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *RegionDisk) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/regionDiskIamBinding.go b/sdk/go/google/compute/beta/regionDiskIamBinding.go index 2ea133ec18..4d4eea44f6 100644 --- a/sdk/go/google/compute/beta/regionDiskIamBinding.go +++ b/sdk/go/google/compute/beta/regionDiskIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionDiskIamBinding) ToRegionDiskIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionDiskIamBindingOutput) } +func (i *RegionDiskIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamBinding] { + return pulumix.Output[*RegionDiskIamBinding]{ + OutputState: i.ToRegionDiskIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionDiskIamBindingOutput struct{ *pulumi.OutputState } func (RegionDiskIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionDiskIamBindingOutput) ToRegionDiskIamBindingOutputWithContext(ctx return o } +func (o RegionDiskIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamBinding] { + return pulumix.Output[*RegionDiskIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionDiskIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionDiskIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/regionDiskIamMember.go b/sdk/go/google/compute/beta/regionDiskIamMember.go index ed5a191f07..446add7d17 100644 --- a/sdk/go/google/compute/beta/regionDiskIamMember.go +++ b/sdk/go/google/compute/beta/regionDiskIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionDiskIamMember) ToRegionDiskIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RegionDiskIamMemberOutput) } +func (i *RegionDiskIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamMember] { + return pulumix.Output[*RegionDiskIamMember]{ + OutputState: i.ToRegionDiskIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionDiskIamMemberOutput struct{ *pulumi.OutputState } func (RegionDiskIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionDiskIamMemberOutput) ToRegionDiskIamMemberOutputWithContext(ctx co return o } +func (o RegionDiskIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamMember] { + return pulumix.Output[*RegionDiskIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionDiskIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionDiskIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/regionDiskIamPolicy.go b/sdk/go/google/compute/beta/regionDiskIamPolicy.go index ef011b0be4..e52920d455 100644 --- a/sdk/go/google/compute/beta/regionDiskIamPolicy.go +++ b/sdk/go/google/compute/beta/regionDiskIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionDiskIamPolicy) ToRegionDiskIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RegionDiskIamPolicyOutput) } +func (i *RegionDiskIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamPolicy] { + return pulumix.Output[*RegionDiskIamPolicy]{ + OutputState: i.ToRegionDiskIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionDiskIamPolicyOutput struct{ *pulumi.OutputState } func (RegionDiskIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionDiskIamPolicyOutput) ToRegionDiskIamPolicyOutputWithContext(ctx co return o } +func (o RegionDiskIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamPolicy] { + return pulumix.Output[*RegionDiskIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionDiskIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionDiskIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/regionHealthCheck.go b/sdk/go/google/compute/beta/regionHealthCheck.go index 79bd4bf8f5..afe138184c 100644 --- a/sdk/go/google/compute/beta/regionHealthCheck.go +++ b/sdk/go/google/compute/beta/regionHealthCheck.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HealthCheck resource in the specified project using the data included in the request. @@ -183,6 +184,12 @@ func (i *RegionHealthCheck) ToRegionHealthCheckOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RegionHealthCheckOutput) } +func (i *RegionHealthCheck) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheck] { + return pulumix.Output[*RegionHealthCheck]{ + OutputState: i.ToRegionHealthCheckOutputWithContext(ctx).OutputState, + } +} + type RegionHealthCheckOutput struct{ *pulumi.OutputState } func (RegionHealthCheckOutput) ElementType() reflect.Type { @@ -197,6 +204,12 @@ func (o RegionHealthCheckOutput) ToRegionHealthCheckOutputWithContext(ctx contex return o } +func (o RegionHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheck] { + return pulumix.Output[*RegionHealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o RegionHealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *RegionHealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/beta/regionHealthCheckService.go b/sdk/go/google/compute/beta/regionHealthCheckService.go index 9f11d577d1..da914856f4 100644 --- a/sdk/go/google/compute/beta/regionHealthCheckService.go +++ b/sdk/go/google/compute/beta/regionHealthCheckService.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a regional HealthCheckService resource in the specified project and region using the data included in the request. @@ -163,6 +164,12 @@ func (i *RegionHealthCheckService) ToRegionHealthCheckServiceOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RegionHealthCheckServiceOutput) } +func (i *RegionHealthCheckService) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckService] { + return pulumix.Output[*RegionHealthCheckService]{ + OutputState: i.ToRegionHealthCheckServiceOutputWithContext(ctx).OutputState, + } +} + type RegionHealthCheckServiceOutput struct{ *pulumi.OutputState } func (RegionHealthCheckServiceOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o RegionHealthCheckServiceOutput) ToRegionHealthCheckServiceOutputWithCont return o } +func (o RegionHealthCheckServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckService] { + return pulumix.Output[*RegionHealthCheckService]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionHealthCheckServiceOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionHealthCheckService) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/regionInstanceGroupManager.go b/sdk/go/google/compute/beta/regionInstanceGroupManager.go index 1291c53f46..ac457782fb 100644 --- a/sdk/go/google/compute/beta/regionInstanceGroupManager.go +++ b/sdk/go/google/compute/beta/regionInstanceGroupManager.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances. @@ -225,6 +226,12 @@ func (i *RegionInstanceGroupManager) ToRegionInstanceGroupManagerOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RegionInstanceGroupManagerOutput) } +func (i *RegionInstanceGroupManager) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManager] { + return pulumix.Output[*RegionInstanceGroupManager]{ + OutputState: i.ToRegionInstanceGroupManagerOutputWithContext(ctx).OutputState, + } +} + type RegionInstanceGroupManagerOutput struct{ *pulumi.OutputState } func (RegionInstanceGroupManagerOutput) ElementType() reflect.Type { @@ -239,6 +246,12 @@ func (o RegionInstanceGroupManagerOutput) ToRegionInstanceGroupManagerOutputWith return o } +func (o RegionInstanceGroupManagerOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManager] { + return pulumix.Output[*RegionInstanceGroupManager]{ + OutputState: o.OutputState, + } +} + // Specifies configuration that overrides the instance template configuration for the group. func (o RegionInstanceGroupManagerOutput) AllInstancesConfig() InstanceGroupManagerAllInstancesConfigResponseOutput { return o.ApplyT(func(v *RegionInstanceGroupManager) InstanceGroupManagerAllInstancesConfigResponseOutput { diff --git a/sdk/go/google/compute/beta/regionInstanceTemplate.go b/sdk/go/google/compute/beta/regionInstanceTemplate.go index 7e61f7378a..b105e8fe87 100644 --- a/sdk/go/google/compute/beta/regionInstanceTemplate.go +++ b/sdk/go/google/compute/beta/regionInstanceTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance template in the specified project and region using the global instance template whose URL is included in the request. @@ -143,6 +144,12 @@ func (i *RegionInstanceTemplate) ToRegionInstanceTemplateOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionInstanceTemplateOutput) } +func (i *RegionInstanceTemplate) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceTemplate] { + return pulumix.Output[*RegionInstanceTemplate]{ + OutputState: i.ToRegionInstanceTemplateOutputWithContext(ctx).OutputState, + } +} + type RegionInstanceTemplateOutput struct{ *pulumi.OutputState } func (RegionInstanceTemplateOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o RegionInstanceTemplateOutput) ToRegionInstanceTemplateOutputWithContext( return o } +func (o RegionInstanceTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceTemplate] { + return pulumix.Output[*RegionInstanceTemplate]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o RegionInstanceTemplateOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionInstanceTemplate) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/regionInstantSnapshot.go b/sdk/go/google/compute/beta/regionInstantSnapshot.go index 5e503eeff2..ffdf83dd22 100644 --- a/sdk/go/google/compute/beta/regionInstantSnapshot.go +++ b/sdk/go/google/compute/beta/regionInstantSnapshot.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instant snapshot in the specified region. @@ -155,6 +156,12 @@ func (i *RegionInstantSnapshot) ToRegionInstantSnapshotOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegionInstantSnapshotOutput) } +func (i *RegionInstantSnapshot) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshot] { + return pulumix.Output[*RegionInstantSnapshot]{ + OutputState: i.ToRegionInstantSnapshotOutputWithContext(ctx).OutputState, + } +} + type RegionInstantSnapshotOutput struct{ *pulumi.OutputState } func (RegionInstantSnapshotOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o RegionInstantSnapshotOutput) ToRegionInstantSnapshotOutputWithContext(ct return o } +func (o RegionInstantSnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshot] { + return pulumix.Output[*RegionInstantSnapshot]{ + OutputState: o.OutputState, + } +} + // The architecture of the instant snapshot. Valid values are ARM64 or X86_64. func (o RegionInstantSnapshotOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *RegionInstantSnapshot) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/regionInstantSnapshotIamBinding.go b/sdk/go/google/compute/beta/regionInstantSnapshotIamBinding.go index 475997bd68..4553ede8ec 100644 --- a/sdk/go/google/compute/beta/regionInstantSnapshotIamBinding.go +++ b/sdk/go/google/compute/beta/regionInstantSnapshotIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionInstantSnapshotIamBinding) ToRegionInstantSnapshotIamBindingOutpu return pulumi.ToOutputWithContext(ctx, i).(RegionInstantSnapshotIamBindingOutput) } +func (i *RegionInstantSnapshotIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamBinding] { + return pulumix.Output[*RegionInstantSnapshotIamBinding]{ + OutputState: i.ToRegionInstantSnapshotIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionInstantSnapshotIamBindingOutput struct{ *pulumi.OutputState } func (RegionInstantSnapshotIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionInstantSnapshotIamBindingOutput) ToRegionInstantSnapshotIamBinding return o } +func (o RegionInstantSnapshotIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamBinding] { + return pulumix.Output[*RegionInstantSnapshotIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionInstantSnapshotIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionInstantSnapshotIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/regionInstantSnapshotIamMember.go b/sdk/go/google/compute/beta/regionInstantSnapshotIamMember.go index 1e9c15227f..949d353a15 100644 --- a/sdk/go/google/compute/beta/regionInstantSnapshotIamMember.go +++ b/sdk/go/google/compute/beta/regionInstantSnapshotIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionInstantSnapshotIamMember) ToRegionInstantSnapshotIamMemberOutputW return pulumi.ToOutputWithContext(ctx, i).(RegionInstantSnapshotIamMemberOutput) } +func (i *RegionInstantSnapshotIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamMember] { + return pulumix.Output[*RegionInstantSnapshotIamMember]{ + OutputState: i.ToRegionInstantSnapshotIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionInstantSnapshotIamMemberOutput struct{ *pulumi.OutputState } func (RegionInstantSnapshotIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionInstantSnapshotIamMemberOutput) ToRegionInstantSnapshotIamMemberOu return o } +func (o RegionInstantSnapshotIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamMember] { + return pulumix.Output[*RegionInstantSnapshotIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionInstantSnapshotIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionInstantSnapshotIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/regionInstantSnapshotIamPolicy.go b/sdk/go/google/compute/beta/regionInstantSnapshotIamPolicy.go index 424fbce0c2..dd0e545c62 100644 --- a/sdk/go/google/compute/beta/regionInstantSnapshotIamPolicy.go +++ b/sdk/go/google/compute/beta/regionInstantSnapshotIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionInstantSnapshotIamPolicy) ToRegionInstantSnapshotIamPolicyOutputW return pulumi.ToOutputWithContext(ctx, i).(RegionInstantSnapshotIamPolicyOutput) } +func (i *RegionInstantSnapshotIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamPolicy] { + return pulumix.Output[*RegionInstantSnapshotIamPolicy]{ + OutputState: i.ToRegionInstantSnapshotIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionInstantSnapshotIamPolicyOutput struct{ *pulumi.OutputState } func (RegionInstantSnapshotIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionInstantSnapshotIamPolicyOutput) ToRegionInstantSnapshotIamPolicyOu return o } +func (o RegionInstantSnapshotIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstantSnapshotIamPolicy] { + return pulumix.Output[*RegionInstantSnapshotIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionInstantSnapshotIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionInstantSnapshotIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/regionNetworkEndpointGroup.go b/sdk/go/google/compute/beta/regionNetworkEndpointGroup.go index bda134a7d2..5a4fa616e1 100644 --- a/sdk/go/google/compute/beta/regionNetworkEndpointGroup.go +++ b/sdk/go/google/compute/beta/regionNetworkEndpointGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network endpoint group in the specified project using the parameters that are included in the request. @@ -204,6 +205,12 @@ func (i *RegionNetworkEndpointGroup) ToRegionNetworkEndpointGroupOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkEndpointGroupOutput) } +func (i *RegionNetworkEndpointGroup) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroup] { + return pulumix.Output[*RegionNetworkEndpointGroup]{ + OutputState: i.ToRegionNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkEndpointGroupOutput struct{ *pulumi.OutputState } func (RegionNetworkEndpointGroupOutput) ElementType() reflect.Type { @@ -218,6 +225,12 @@ func (o RegionNetworkEndpointGroupOutput) ToRegionNetworkEndpointGroupOutputWith return o } +func (o RegionNetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroup] { + return pulumix.Output[*RegionNetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o RegionNetworkEndpointGroupOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *RegionNetworkEndpointGroup) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/beta/regionNetworkFirewallPolicy.go b/sdk/go/google/compute/beta/regionNetworkFirewallPolicy.go index e5224a3813..0b12109721 100644 --- a/sdk/go/google/compute/beta/regionNetworkFirewallPolicy.go +++ b/sdk/go/google/compute/beta/regionNetworkFirewallPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new network firewall policy in the specified project and region. @@ -163,6 +164,12 @@ func (i *RegionNetworkFirewallPolicy) ToRegionNetworkFirewallPolicyOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyOutput) } +func (i *RegionNetworkFirewallPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicy]{ + OutputState: i.ToRegionNetworkFirewallPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o RegionNetworkFirewallPolicyOutput) ToRegionNetworkFirewallPolicyOutputWi return o } +func (o RegionNetworkFirewallPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicy]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o RegionNetworkFirewallPolicyOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicy) FirewallPolicyAssociationResponseArrayOutput { diff --git a/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamBinding.go b/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamBinding.go index 90b272744b..c35747e50a 100644 --- a/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamBinding.go +++ b/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionNetworkFirewallPolicyIamBinding) ToRegionNetworkFirewallPolicyIam return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyIamBindingOutput) } +func (i *RegionNetworkFirewallPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamBinding] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamBinding]{ + OutputState: i.ToRegionNetworkFirewallPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyIamBindingOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionNetworkFirewallPolicyIamBindingOutput) ToRegionNetworkFirewallPoli return o } +func (o RegionNetworkFirewallPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamBinding] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionNetworkFirewallPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamMember.go b/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamMember.go index 4eadf58800..84e8131a23 100644 --- a/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamMember.go +++ b/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionNetworkFirewallPolicyIamMember) ToRegionNetworkFirewallPolicyIamM return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyIamMemberOutput) } +func (i *RegionNetworkFirewallPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamMember] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamMember]{ + OutputState: i.ToRegionNetworkFirewallPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyIamMemberOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionNetworkFirewallPolicyIamMemberOutput) ToRegionNetworkFirewallPolic return o } +func (o RegionNetworkFirewallPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamMember] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionNetworkFirewallPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamPolicy.go index 349eea3175..d172756f1d 100644 --- a/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/beta/regionNetworkFirewallPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionNetworkFirewallPolicyIamPolicy) ToRegionNetworkFirewallPolicyIamP return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyIamPolicyOutput) } +func (i *RegionNetworkFirewallPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy]{ + OutputState: i.ToRegionNetworkFirewallPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionNetworkFirewallPolicyIamPolicyOutput) ToRegionNetworkFirewallPolic return o } +func (o RegionNetworkFirewallPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionNetworkFirewallPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/regionNotificationEndpoint.go b/sdk/go/google/compute/beta/regionNotificationEndpoint.go index adf8fbc4aa..6254bbb73f 100644 --- a/sdk/go/google/compute/beta/regionNotificationEndpoint.go +++ b/sdk/go/google/compute/beta/regionNotificationEndpoint.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. @@ -131,6 +132,12 @@ func (i *RegionNotificationEndpoint) ToRegionNotificationEndpointOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RegionNotificationEndpointOutput) } +func (i *RegionNotificationEndpoint) ToOutput(ctx context.Context) pulumix.Output[*RegionNotificationEndpoint] { + return pulumix.Output[*RegionNotificationEndpoint]{ + OutputState: i.ToRegionNotificationEndpointOutputWithContext(ctx).OutputState, + } +} + type RegionNotificationEndpointOutput struct{ *pulumi.OutputState } func (RegionNotificationEndpointOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o RegionNotificationEndpointOutput) ToRegionNotificationEndpointOutputWith return o } +func (o RegionNotificationEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNotificationEndpoint] { + return pulumix.Output[*RegionNotificationEndpoint]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionNotificationEndpointOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionNotificationEndpoint) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/regionSecurityPolicy.go b/sdk/go/google/compute/beta/regionSecurityPolicy.go index c66063787d..0abf513dd2 100644 --- a/sdk/go/google/compute/beta/regionSecurityPolicy.go +++ b/sdk/go/google/compute/beta/regionSecurityPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -183,6 +184,12 @@ func (i *RegionSecurityPolicy) ToRegionSecurityPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionSecurityPolicyOutput) } +func (i *RegionSecurityPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicy] { + return pulumix.Output[*RegionSecurityPolicy]{ + OutputState: i.ToRegionSecurityPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionSecurityPolicyOutput struct{ *pulumi.OutputState } func (RegionSecurityPolicyOutput) ElementType() reflect.Type { @@ -197,6 +204,12 @@ func (o RegionSecurityPolicyOutput) ToRegionSecurityPolicyOutputWithContext(ctx return o } +func (o RegionSecurityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicy] { + return pulumix.Output[*RegionSecurityPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionSecurityPolicyOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v *RegionSecurityPolicy) SecurityPolicyAdaptiveProtectionConfigResponseOutput { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/beta/regionSslCertificate.go b/sdk/go/google/compute/beta/regionSslCertificate.go index af7e57d3af..d0a56bb774 100644 --- a/sdk/go/google/compute/beta/regionSslCertificate.go +++ b/sdk/go/google/compute/beta/regionSslCertificate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a SslCertificate resource in the specified project and region using the data included in the request @@ -159,6 +160,12 @@ func (i *RegionSslCertificate) ToRegionSslCertificateOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionSslCertificateOutput) } +func (i *RegionSslCertificate) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificate] { + return pulumix.Output[*RegionSslCertificate]{ + OutputState: i.ToRegionSslCertificateOutputWithContext(ctx).OutputState, + } +} + type RegionSslCertificateOutput struct{ *pulumi.OutputState } func (RegionSslCertificateOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o RegionSslCertificateOutput) ToRegionSslCertificateOutputWithContext(ctx return o } +func (o RegionSslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificate] { + return pulumix.Output[*RegionSslCertificate]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o RegionSslCertificateOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v *RegionSslCertificate) pulumi.StringOutput { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/regionSslPolicy.go b/sdk/go/google/compute/beta/regionSslPolicy.go index 4677bd416d..261d412e55 100644 --- a/sdk/go/google/compute/beta/regionSslPolicy.go +++ b/sdk/go/google/compute/beta/regionSslPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project and region using the data included in the request. @@ -149,6 +150,12 @@ func (i *RegionSslPolicy) ToRegionSslPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RegionSslPolicyOutput) } +func (i *RegionSslPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicy] { + return pulumix.Output[*RegionSslPolicy]{ + OutputState: i.ToRegionSslPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionSslPolicyOutput struct{ *pulumi.OutputState } func (RegionSslPolicyOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o RegionSslPolicyOutput) ToRegionSslPolicyOutputWithContext(ctx context.Co return o } +func (o RegionSslPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicy] { + return pulumix.Output[*RegionSslPolicy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionSslPolicyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionSslPolicy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/regionTargetHttpProxy.go b/sdk/go/google/compute/beta/regionTargetHttpProxy.go index b541ed7b57..475081f29e 100644 --- a/sdk/go/google/compute/beta/regionTargetHttpProxy.go +++ b/sdk/go/google/compute/beta/regionTargetHttpProxy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpProxy resource in the specified project and region using the data included in the request. @@ -145,6 +146,12 @@ func (i *RegionTargetHttpProxy) ToRegionTargetHttpProxyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegionTargetHttpProxyOutput) } +func (i *RegionTargetHttpProxy) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpProxy] { + return pulumix.Output[*RegionTargetHttpProxy]{ + OutputState: i.ToRegionTargetHttpProxyOutputWithContext(ctx).OutputState, + } +} + type RegionTargetHttpProxyOutput struct{ *pulumi.OutputState } func (RegionTargetHttpProxyOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o RegionTargetHttpProxyOutput) ToRegionTargetHttpProxyOutputWithContext(ct return o } +func (o RegionTargetHttpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpProxy] { + return pulumix.Output[*RegionTargetHttpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionTargetHttpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionTargetHttpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/regionTargetHttpsProxy.go b/sdk/go/google/compute/beta/regionTargetHttpsProxy.go index 2a446d7198..df8603cdda 100644 --- a/sdk/go/google/compute/beta/regionTargetHttpsProxy.go +++ b/sdk/go/google/compute/beta/regionTargetHttpsProxy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request. @@ -205,6 +206,12 @@ func (i *RegionTargetHttpsProxy) ToRegionTargetHttpsProxyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionTargetHttpsProxyOutput) } +func (i *RegionTargetHttpsProxy) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxy] { + return pulumix.Output[*RegionTargetHttpsProxy]{ + OutputState: i.ToRegionTargetHttpsProxyOutputWithContext(ctx).OutputState, + } +} + type RegionTargetHttpsProxyOutput struct{ *pulumi.OutputState } func (RegionTargetHttpsProxyOutput) ElementType() reflect.Type { @@ -219,6 +226,12 @@ func (o RegionTargetHttpsProxyOutput) ToRegionTargetHttpsProxyOutputWithContext( return o } +func (o RegionTargetHttpsProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxy] { + return pulumix.Output[*RegionTargetHttpsProxy]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use serverTlsPolicy instead. // // Deprecated: [Deprecated] Use serverTlsPolicy instead. diff --git a/sdk/go/google/compute/beta/regionTargetTcpProxy.go b/sdk/go/google/compute/beta/regionTargetTcpProxy.go index 4a6cd92737..48561404d9 100644 --- a/sdk/go/google/compute/beta/regionTargetTcpProxy.go +++ b/sdk/go/google/compute/beta/regionTargetTcpProxy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetTcpProxy resource in the specified project and region using the data included in the request. @@ -143,6 +144,12 @@ func (i *RegionTargetTcpProxy) ToRegionTargetTcpProxyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionTargetTcpProxyOutput) } +func (i *RegionTargetTcpProxy) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxy] { + return pulumix.Output[*RegionTargetTcpProxy]{ + OutputState: i.ToRegionTargetTcpProxyOutputWithContext(ctx).OutputState, + } +} + type RegionTargetTcpProxyOutput struct{ *pulumi.OutputState } func (RegionTargetTcpProxyOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o RegionTargetTcpProxyOutput) ToRegionTargetTcpProxyOutputWithContext(ctx return o } +func (o RegionTargetTcpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxy] { + return pulumix.Output[*RegionTargetTcpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionTargetTcpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionTargetTcpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/regionUrlMap.go b/sdk/go/google/compute/beta/regionUrlMap.go index e932bb52c4..f5562885de 100644 --- a/sdk/go/google/compute/beta/regionUrlMap.go +++ b/sdk/go/google/compute/beta/regionUrlMap.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a UrlMap resource in the specified project using the data included in the request. @@ -175,6 +176,12 @@ func (i *RegionUrlMap) ToRegionUrlMapOutputWithContext(ctx context.Context) Regi return pulumi.ToOutputWithContext(ctx, i).(RegionUrlMapOutput) } +func (i *RegionUrlMap) ToOutput(ctx context.Context) pulumix.Output[*RegionUrlMap] { + return pulumix.Output[*RegionUrlMap]{ + OutputState: i.ToRegionUrlMapOutputWithContext(ctx).OutputState, + } +} + type RegionUrlMapOutput struct{ *pulumi.OutputState } func (RegionUrlMapOutput) ElementType() reflect.Type { @@ -189,6 +196,12 @@ func (o RegionUrlMapOutput) ToRegionUrlMapOutputWithContext(ctx context.Context) return o } +func (o RegionUrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionUrlMap] { + return pulumix.Output[*RegionUrlMap]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionUrlMapOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionUrlMap) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/reservation.go b/sdk/go/google/compute/beta/reservation.go index 052d6ba2a3..63d98a8f7d 100644 --- a/sdk/go/google/compute/beta/reservation.go +++ b/sdk/go/google/compute/beta/reservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new reservation. For more information, read Reserving zonal resources. @@ -155,6 +156,12 @@ func (i *Reservation) ToReservationOutputWithContext(ctx context.Context) Reserv return pulumi.ToOutputWithContext(ctx, i).(ReservationOutput) } +func (i *Reservation) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: i.ToReservationOutputWithContext(ctx).OutputState, + } +} + type ReservationOutput struct{ *pulumi.OutputState } func (ReservationOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o ReservationOutput) ToReservationOutputWithContext(ctx context.Context) R return o } +func (o ReservationOutput) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: o.OutputState, + } +} + // Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. func (o ReservationOutput) Commitment() pulumi.StringOutput { return o.ApplyT(func(v *Reservation) pulumi.StringOutput { return v.Commitment }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/reservationIamBinding.go b/sdk/go/google/compute/beta/reservationIamBinding.go index 7f9023898f..f1590aea17 100644 --- a/sdk/go/google/compute/beta/reservationIamBinding.go +++ b/sdk/go/google/compute/beta/reservationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ReservationIamBinding) ToReservationIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ReservationIamBindingOutput) } +func (i *ReservationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamBinding] { + return pulumix.Output[*ReservationIamBinding]{ + OutputState: i.ToReservationIamBindingOutputWithContext(ctx).OutputState, + } +} + type ReservationIamBindingOutput struct{ *pulumi.OutputState } func (ReservationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ReservationIamBindingOutput) ToReservationIamBindingOutputWithContext(ct return o } +func (o ReservationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamBinding] { + return pulumix.Output[*ReservationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ReservationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ReservationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/reservationIamMember.go b/sdk/go/google/compute/beta/reservationIamMember.go index 5dc769defc..727ff122a2 100644 --- a/sdk/go/google/compute/beta/reservationIamMember.go +++ b/sdk/go/google/compute/beta/reservationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ReservationIamMember) ToReservationIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ReservationIamMemberOutput) } +func (i *ReservationIamMember) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamMember] { + return pulumix.Output[*ReservationIamMember]{ + OutputState: i.ToReservationIamMemberOutputWithContext(ctx).OutputState, + } +} + type ReservationIamMemberOutput struct{ *pulumi.OutputState } func (ReservationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ReservationIamMemberOutput) ToReservationIamMemberOutputWithContext(ctx return o } +func (o ReservationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamMember] { + return pulumix.Output[*ReservationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ReservationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ReservationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/reservationIamPolicy.go b/sdk/go/google/compute/beta/reservationIamPolicy.go index af4f117a2c..1d3ae1e494 100644 --- a/sdk/go/google/compute/beta/reservationIamPolicy.go +++ b/sdk/go/google/compute/beta/reservationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *ReservationIamPolicy) ToReservationIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ReservationIamPolicyOutput) } +func (i *ReservationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamPolicy] { + return pulumix.Output[*ReservationIamPolicy]{ + OutputState: i.ToReservationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ReservationIamPolicyOutput struct{ *pulumi.OutputState } func (ReservationIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ReservationIamPolicyOutput) ToReservationIamPolicyOutputWithContext(ctx return o } +func (o ReservationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamPolicy] { + return pulumix.Output[*ReservationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ReservationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ReservationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/resourcePolicy.go b/sdk/go/google/compute/beta/resourcePolicy.go index 53202bccfb..b1f3d045ca 100644 --- a/sdk/go/google/compute/beta/resourcePolicy.go +++ b/sdk/go/google/compute/beta/resourcePolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new resource policy. @@ -150,6 +151,12 @@ func (i *ResourcePolicy) ToResourcePolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyOutput) } +func (i *ResourcePolicy) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicy] { + return pulumix.Output[*ResourcePolicy]{ + OutputState: i.ToResourcePolicyOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyOutput struct{ *pulumi.OutputState } func (ResourcePolicyOutput) ElementType() reflect.Type { @@ -164,6 +171,12 @@ func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Cont return o } +func (o ResourcePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicy] { + return pulumix.Output[*ResourcePolicy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o ResourcePolicyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *ResourcePolicy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/resourcePolicyIamBinding.go b/sdk/go/google/compute/beta/resourcePolicyIamBinding.go index d4e54460be..59ad08f97c 100644 --- a/sdk/go/google/compute/beta/resourcePolicyIamBinding.go +++ b/sdk/go/google/compute/beta/resourcePolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ResourcePolicyIamBinding) ToResourcePolicyIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyIamBindingOutput) } +func (i *ResourcePolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamBinding] { + return pulumix.Output[*ResourcePolicyIamBinding]{ + OutputState: i.ToResourcePolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyIamBindingOutput struct{ *pulumi.OutputState } func (ResourcePolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ResourcePolicyIamBindingOutput) ToResourcePolicyIamBindingOutputWithCont return o } +func (o ResourcePolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamBinding] { + return pulumix.Output[*ResourcePolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ResourcePolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ResourcePolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/resourcePolicyIamMember.go b/sdk/go/google/compute/beta/resourcePolicyIamMember.go index 071f36e43e..63add449d5 100644 --- a/sdk/go/google/compute/beta/resourcePolicyIamMember.go +++ b/sdk/go/google/compute/beta/resourcePolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ResourcePolicyIamMember) ToResourcePolicyIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyIamMemberOutput) } +func (i *ResourcePolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamMember] { + return pulumix.Output[*ResourcePolicyIamMember]{ + OutputState: i.ToResourcePolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyIamMemberOutput struct{ *pulumi.OutputState } func (ResourcePolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ResourcePolicyIamMemberOutput) ToResourcePolicyIamMemberOutputWithContex return o } +func (o ResourcePolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamMember] { + return pulumix.Output[*ResourcePolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ResourcePolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ResourcePolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/resourcePolicyIamPolicy.go b/sdk/go/google/compute/beta/resourcePolicyIamPolicy.go index 400567f556..0e993c0d8b 100644 --- a/sdk/go/google/compute/beta/resourcePolicyIamPolicy.go +++ b/sdk/go/google/compute/beta/resourcePolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *ResourcePolicyIamPolicy) ToResourcePolicyIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyIamPolicyOutput) } +func (i *ResourcePolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamPolicy] { + return pulumix.Output[*ResourcePolicyIamPolicy]{ + OutputState: i.ToResourcePolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyIamPolicyOutput struct{ *pulumi.OutputState } func (ResourcePolicyIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ResourcePolicyIamPolicyOutput) ToResourcePolicyIamPolicyOutputWithContex return o } +func (o ResourcePolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamPolicy] { + return pulumix.Output[*ResourcePolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ResourcePolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ResourcePolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/route.go b/sdk/go/google/compute/beta/route.go index 5c3ce6b7b3..6a83b11c44 100644 --- a/sdk/go/google/compute/beta/route.go +++ b/sdk/go/google/compute/beta/route.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Route resource in the specified project using the data included in the request. @@ -189,6 +190,12 @@ func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput { return pulumi.ToOutputWithContext(ctx, i).(RouteOutput) } +func (i *Route) ToOutput(ctx context.Context) pulumix.Output[*Route] { + return pulumix.Output[*Route]{ + OutputState: i.ToRouteOutputWithContext(ctx).OutputState, + } +} + type RouteOutput struct{ *pulumi.OutputState } func (RouteOutput) ElementType() reflect.Type { @@ -203,6 +210,12 @@ func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput { return o } +func (o RouteOutput) ToOutput(ctx context.Context) pulumix.Output[*Route] { + return pulumix.Output[*Route]{ + OutputState: o.OutputState, + } +} + // AS path. func (o RouteOutput) AsPaths() RouteAsPathResponseArrayOutput { return o.ApplyT(func(v *Route) RouteAsPathResponseArrayOutput { return v.AsPaths }).(RouteAsPathResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/router.go b/sdk/go/google/compute/beta/router.go index 90eb8b5ecf..985851b936 100644 --- a/sdk/go/google/compute/beta/router.go +++ b/sdk/go/google/compute/beta/router.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Router resource in the specified project and region using the data included in the request. @@ -167,6 +168,12 @@ func (i *Router) ToRouterOutputWithContext(ctx context.Context) RouterOutput { return pulumi.ToOutputWithContext(ctx, i).(RouterOutput) } +func (i *Router) ToOutput(ctx context.Context) pulumix.Output[*Router] { + return pulumix.Output[*Router]{ + OutputState: i.ToRouterOutputWithContext(ctx).OutputState, + } +} + type RouterOutput struct{ *pulumi.OutputState } func (RouterOutput) ElementType() reflect.Type { @@ -181,6 +188,12 @@ func (o RouterOutput) ToRouterOutputWithContext(ctx context.Context) RouterOutpu return o } +func (o RouterOutput) ToOutput(ctx context.Context) pulumix.Output[*Router] { + return pulumix.Output[*Router]{ + OutputState: o.OutputState, + } +} + // BGP information specific to this router. func (o RouterOutput) Bgp() RouterBgpResponseOutput { return o.ApplyT(func(v *Router) RouterBgpResponseOutput { return v.Bgp }).(RouterBgpResponseOutput) diff --git a/sdk/go/google/compute/beta/securityPolicy.go b/sdk/go/google/compute/beta/securityPolicy.go index f7abf6bd40..6f6e8653c4 100644 --- a/sdk/go/google/compute/beta/securityPolicy.go +++ b/sdk/go/google/compute/beta/securityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -177,6 +178,12 @@ func (i *SecurityPolicy) ToSecurityPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyOutput) } +func (i *SecurityPolicy) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicy] { + return pulumix.Output[*SecurityPolicy]{ + OutputState: i.ToSecurityPolicyOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyOutput struct{ *pulumi.OutputState } func (SecurityPolicyOutput) ElementType() reflect.Type { @@ -191,6 +198,12 @@ func (o SecurityPolicyOutput) ToSecurityPolicyOutputWithContext(ctx context.Cont return o } +func (o SecurityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicy] { + return pulumix.Output[*SecurityPolicy]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v *SecurityPolicy) SecurityPolicyAdaptiveProtectionConfigResponseOutput { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/beta/serviceAttachment.go b/sdk/go/google/compute/beta/serviceAttachment.go index f50097e021..4b1e579a7d 100644 --- a/sdk/go/google/compute/beta/serviceAttachment.go +++ b/sdk/go/google/compute/beta/serviceAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request. @@ -185,6 +186,12 @@ func (i *ServiceAttachment) ToServiceAttachmentOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentOutput) } +func (i *ServiceAttachment) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachment] { + return pulumix.Output[*ServiceAttachment]{ + OutputState: i.ToServiceAttachmentOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentOutput struct{ *pulumi.OutputState } func (ServiceAttachmentOutput) ElementType() reflect.Type { @@ -199,6 +206,12 @@ func (o ServiceAttachmentOutput) ToServiceAttachmentOutputWithContext(ctx contex return o } +func (o ServiceAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachment] { + return pulumix.Output[*ServiceAttachment]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the consumers connected to this service attachment. func (o ServiceAttachmentOutput) ConnectedEndpoints() ServiceAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v *ServiceAttachment) ServiceAttachmentConnectedEndpointResponseArrayOutput { diff --git a/sdk/go/google/compute/beta/serviceAttachmentIamBinding.go b/sdk/go/google/compute/beta/serviceAttachmentIamBinding.go index 43c7f6adc1..e9f100c946 100644 --- a/sdk/go/google/compute/beta/serviceAttachmentIamBinding.go +++ b/sdk/go/google/compute/beta/serviceAttachmentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ServiceAttachmentIamBinding) ToServiceAttachmentIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentIamBindingOutput) } +func (i *ServiceAttachmentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamBinding] { + return pulumix.Output[*ServiceAttachmentIamBinding]{ + OutputState: i.ToServiceAttachmentIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentIamBindingOutput struct{ *pulumi.OutputState } func (ServiceAttachmentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceAttachmentIamBindingOutput) ToServiceAttachmentIamBindingOutputWi return o } +func (o ServiceAttachmentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamBinding] { + return pulumix.Output[*ServiceAttachmentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceAttachmentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceAttachmentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/serviceAttachmentIamMember.go b/sdk/go/google/compute/beta/serviceAttachmentIamMember.go index e92f80c51a..b2651a4831 100644 --- a/sdk/go/google/compute/beta/serviceAttachmentIamMember.go +++ b/sdk/go/google/compute/beta/serviceAttachmentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ServiceAttachmentIamMember) ToServiceAttachmentIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentIamMemberOutput) } +func (i *ServiceAttachmentIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamMember] { + return pulumix.Output[*ServiceAttachmentIamMember]{ + OutputState: i.ToServiceAttachmentIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentIamMemberOutput struct{ *pulumi.OutputState } func (ServiceAttachmentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceAttachmentIamMemberOutput) ToServiceAttachmentIamMemberOutputWith return o } +func (o ServiceAttachmentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamMember] { + return pulumix.Output[*ServiceAttachmentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceAttachmentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceAttachmentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/serviceAttachmentIamPolicy.go b/sdk/go/google/compute/beta/serviceAttachmentIamPolicy.go index cd053e1168..14e0d1ab62 100644 --- a/sdk/go/google/compute/beta/serviceAttachmentIamPolicy.go +++ b/sdk/go/google/compute/beta/serviceAttachmentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *ServiceAttachmentIamPolicy) ToServiceAttachmentIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentIamPolicyOutput) } +func (i *ServiceAttachmentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamPolicy] { + return pulumix.Output[*ServiceAttachmentIamPolicy]{ + OutputState: i.ToServiceAttachmentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceAttachmentIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ServiceAttachmentIamPolicyOutput) ToServiceAttachmentIamPolicyOutputWith return o } +func (o ServiceAttachmentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamPolicy] { + return pulumix.Output[*ServiceAttachmentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceAttachmentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceAttachmentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/snapshot.go b/sdk/go/google/compute/beta/snapshot.go index 593f33cb7c..10360ffa6f 100644 --- a/sdk/go/google/compute/beta/snapshot.go +++ b/sdk/go/google/compute/beta/snapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project. @@ -211,6 +212,12 @@ func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutp return pulumi.ToOutputWithContext(ctx, i).(SnapshotOutput) } +func (i *Snapshot) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: i.ToSnapshotOutputWithContext(ctx).OutputState, + } +} + type SnapshotOutput struct{ *pulumi.OutputState } func (SnapshotOutput) ElementType() reflect.Type { @@ -225,6 +232,12 @@ func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) Snapsho return o } +func (o SnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: o.OutputState, + } +} + // The architecture of the snapshot. Valid values are ARM64 or X86_64. func (o SnapshotOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/snapshotIamBinding.go b/sdk/go/google/compute/beta/snapshotIamBinding.go index dffb16d53c..33792703aa 100644 --- a/sdk/go/google/compute/beta/snapshotIamBinding.go +++ b/sdk/go/google/compute/beta/snapshotIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SnapshotIamBinding) ToSnapshotIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamBindingOutput) } +func (i *SnapshotIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamBinding] { + return pulumix.Output[*SnapshotIamBinding]{ + OutputState: i.ToSnapshotIamBindingOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamBindingOutput struct{ *pulumi.OutputState } func (SnapshotIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SnapshotIamBindingOutput) ToSnapshotIamBindingOutputWithContext(ctx cont return o } +func (o SnapshotIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamBinding] { + return pulumix.Output[*SnapshotIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SnapshotIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SnapshotIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/snapshotIamMember.go b/sdk/go/google/compute/beta/snapshotIamMember.go index af2477a1aa..08e10252fa 100644 --- a/sdk/go/google/compute/beta/snapshotIamMember.go +++ b/sdk/go/google/compute/beta/snapshotIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SnapshotIamMember) ToSnapshotIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamMemberOutput) } +func (i *SnapshotIamMember) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamMember] { + return pulumix.Output[*SnapshotIamMember]{ + OutputState: i.ToSnapshotIamMemberOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamMemberOutput struct{ *pulumi.OutputState } func (SnapshotIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SnapshotIamMemberOutput) ToSnapshotIamMemberOutputWithContext(ctx contex return o } +func (o SnapshotIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamMember] { + return pulumix.Output[*SnapshotIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SnapshotIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SnapshotIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/snapshotIamPolicy.go b/sdk/go/google/compute/beta/snapshotIamPolicy.go index bf5e6cd099..a31a8c3ee8 100644 --- a/sdk/go/google/compute/beta/snapshotIamPolicy.go +++ b/sdk/go/google/compute/beta/snapshotIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *SnapshotIamPolicy) ToSnapshotIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamPolicyOutput) } +func (i *SnapshotIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamPolicy] { + return pulumix.Output[*SnapshotIamPolicy]{ + OutputState: i.ToSnapshotIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamPolicyOutput struct{ *pulumi.OutputState } func (SnapshotIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o SnapshotIamPolicyOutput) ToSnapshotIamPolicyOutputWithContext(ctx contex return o } +func (o SnapshotIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamPolicy] { + return pulumix.Output[*SnapshotIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o SnapshotIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *SnapshotIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/sslCertificate.go b/sdk/go/google/compute/beta/sslCertificate.go index 23607f7c5d..75e5fbbde7 100644 --- a/sdk/go/google/compute/beta/sslCertificate.go +++ b/sdk/go/google/compute/beta/sslCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a SslCertificate resource in the specified project using the data included in the request. @@ -153,6 +154,12 @@ func (i *SslCertificate) ToSslCertificateOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SslCertificateOutput) } +func (i *SslCertificate) ToOutput(ctx context.Context) pulumix.Output[*SslCertificate] { + return pulumix.Output[*SslCertificate]{ + OutputState: i.ToSslCertificateOutputWithContext(ctx).OutputState, + } +} + type SslCertificateOutput struct{ *pulumi.OutputState } func (SslCertificateOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o SslCertificateOutput) ToSslCertificateOutputWithContext(ctx context.Cont return o } +func (o SslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificate] { + return pulumix.Output[*SslCertificate]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o SslCertificateOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v *SslCertificate) pulumi.StringOutput { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/sslPolicy.go b/sdk/go/google/compute/beta/sslPolicy.go index be8363d197..9fd42566bd 100644 --- a/sdk/go/google/compute/beta/sslPolicy.go +++ b/sdk/go/google/compute/beta/sslPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified SSL policy resource. @@ -143,6 +144,12 @@ func (i *SslPolicy) ToSslPolicyOutputWithContext(ctx context.Context) SslPolicyO return pulumi.ToOutputWithContext(ctx, i).(SslPolicyOutput) } +func (i *SslPolicy) ToOutput(ctx context.Context) pulumix.Output[*SslPolicy] { + return pulumix.Output[*SslPolicy]{ + OutputState: i.ToSslPolicyOutputWithContext(ctx).OutputState, + } +} + type SslPolicyOutput struct{ *pulumi.OutputState } func (SslPolicyOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o SslPolicyOutput) ToSslPolicyOutputWithContext(ctx context.Context) SslPo return o } +func (o SslPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SslPolicy] { + return pulumix.Output[*SslPolicy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o SslPolicyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *SslPolicy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/subnetwork.go b/sdk/go/google/compute/beta/subnetwork.go index 7b871435d0..13e575eb45 100644 --- a/sdk/go/google/compute/beta/subnetwork.go +++ b/sdk/go/google/compute/beta/subnetwork.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a subnetwork in the specified project using the data included in the request. @@ -221,6 +222,12 @@ func (i *Subnetwork) ToSubnetworkOutputWithContext(ctx context.Context) Subnetwo return pulumi.ToOutputWithContext(ctx, i).(SubnetworkOutput) } +func (i *Subnetwork) ToOutput(ctx context.Context) pulumix.Output[*Subnetwork] { + return pulumix.Output[*Subnetwork]{ + OutputState: i.ToSubnetworkOutputWithContext(ctx).OutputState, + } +} + type SubnetworkOutput struct{ *pulumi.OutputState } func (SubnetworkOutput) ElementType() reflect.Type { @@ -235,6 +242,12 @@ func (o SubnetworkOutput) ToSubnetworkOutputWithContext(ctx context.Context) Sub return o } +func (o SubnetworkOutput) ToOutput(ctx context.Context) pulumix.Output[*Subnetwork] { + return pulumix.Output[*Subnetwork]{ + OutputState: o.OutputState, + } +} + // Whether this subnetwork's ranges can conflict with existing static routes. Setting this to true allows this subnetwork's primary and secondary ranges to overlap with (and contain) static routes that have already been configured on the corresponding network. For example if a static route has range 10.1.0.0/16, a subnet range 10.0.0.0/8 could only be created if allow_conflicting_routes=true. Overlapping is only allowed on subnetwork operations; routes whose ranges conflict with this subnetwork's ranges won't be allowed unless route.allow_conflicting_subnetworks is set to true. Typically packets destined to IPs within the subnetwork (which may contain private/sensitive data) are prevented from leaving the virtual network. Setting this field to true will disable this feature. The default value is false and applies to all existing subnetworks and automatically created subnetworks. This field cannot be set to true at resource creation time. func (o SubnetworkOutput) AllowSubnetCidrRoutesOverlap() pulumi.BoolOutput { return o.ApplyT(func(v *Subnetwork) pulumi.BoolOutput { return v.AllowSubnetCidrRoutesOverlap }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/beta/subnetworkIamBinding.go b/sdk/go/google/compute/beta/subnetworkIamBinding.go index 341f6a5dcc..2262324022 100644 --- a/sdk/go/google/compute/beta/subnetworkIamBinding.go +++ b/sdk/go/google/compute/beta/subnetworkIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SubnetworkIamBinding) ToSubnetworkIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(SubnetworkIamBindingOutput) } +func (i *SubnetworkIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamBinding] { + return pulumix.Output[*SubnetworkIamBinding]{ + OutputState: i.ToSubnetworkIamBindingOutputWithContext(ctx).OutputState, + } +} + type SubnetworkIamBindingOutput struct{ *pulumi.OutputState } func (SubnetworkIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SubnetworkIamBindingOutput) ToSubnetworkIamBindingOutputWithContext(ctx return o } +func (o SubnetworkIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamBinding] { + return pulumix.Output[*SubnetworkIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SubnetworkIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SubnetworkIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/subnetworkIamMember.go b/sdk/go/google/compute/beta/subnetworkIamMember.go index f193e52f1a..80181b54f8 100644 --- a/sdk/go/google/compute/beta/subnetworkIamMember.go +++ b/sdk/go/google/compute/beta/subnetworkIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SubnetworkIamMember) ToSubnetworkIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SubnetworkIamMemberOutput) } +func (i *SubnetworkIamMember) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamMember] { + return pulumix.Output[*SubnetworkIamMember]{ + OutputState: i.ToSubnetworkIamMemberOutputWithContext(ctx).OutputState, + } +} + type SubnetworkIamMemberOutput struct{ *pulumi.OutputState } func (SubnetworkIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SubnetworkIamMemberOutput) ToSubnetworkIamMemberOutputWithContext(ctx co return o } +func (o SubnetworkIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamMember] { + return pulumix.Output[*SubnetworkIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SubnetworkIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SubnetworkIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/beta/subnetworkIamPolicy.go b/sdk/go/google/compute/beta/subnetworkIamPolicy.go index 414c5c817b..07d4120d13 100644 --- a/sdk/go/google/compute/beta/subnetworkIamPolicy.go +++ b/sdk/go/google/compute/beta/subnetworkIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *SubnetworkIamPolicy) ToSubnetworkIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SubnetworkIamPolicyOutput) } +func (i *SubnetworkIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamPolicy] { + return pulumix.Output[*SubnetworkIamPolicy]{ + OutputState: i.ToSubnetworkIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SubnetworkIamPolicyOutput struct{ *pulumi.OutputState } func (SubnetworkIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o SubnetworkIamPolicyOutput) ToSubnetworkIamPolicyOutputWithContext(ctx co return o } +func (o SubnetworkIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamPolicy] { + return pulumix.Output[*SubnetworkIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o SubnetworkIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *SubnetworkIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/beta/targetGrpcProxy.go b/sdk/go/google/compute/beta/targetGrpcProxy.go index 1d920dff7d..91f571a5c8 100644 --- a/sdk/go/google/compute/beta/targetGrpcProxy.go +++ b/sdk/go/google/compute/beta/targetGrpcProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request. @@ -133,6 +134,12 @@ func (i *TargetGrpcProxy) ToTargetGrpcProxyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TargetGrpcProxyOutput) } +func (i *TargetGrpcProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetGrpcProxy] { + return pulumix.Output[*TargetGrpcProxy]{ + OutputState: i.ToTargetGrpcProxyOutputWithContext(ctx).OutputState, + } +} + type TargetGrpcProxyOutput struct{ *pulumi.OutputState } func (TargetGrpcProxyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o TargetGrpcProxyOutput) ToTargetGrpcProxyOutputWithContext(ctx context.Co return o } +func (o TargetGrpcProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetGrpcProxy] { + return pulumix.Output[*TargetGrpcProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetGrpcProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetGrpcProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/targetHttpProxy.go b/sdk/go/google/compute/beta/targetHttpProxy.go index 93e0bce0c5..dc55c4d0db 100644 --- a/sdk/go/google/compute/beta/targetHttpProxy.go +++ b/sdk/go/google/compute/beta/targetHttpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpProxy resource in the specified project using the data included in the request. @@ -139,6 +140,12 @@ func (i *TargetHttpProxy) ToTargetHttpProxyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TargetHttpProxyOutput) } +func (i *TargetHttpProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpProxy] { + return pulumix.Output[*TargetHttpProxy]{ + OutputState: i.ToTargetHttpProxyOutputWithContext(ctx).OutputState, + } +} + type TargetHttpProxyOutput struct{ *pulumi.OutputState } func (TargetHttpProxyOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o TargetHttpProxyOutput) ToTargetHttpProxyOutputWithContext(ctx context.Co return o } +func (o TargetHttpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpProxy] { + return pulumix.Output[*TargetHttpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetHttpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetHttpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/targetHttpsProxy.go b/sdk/go/google/compute/beta/targetHttpsProxy.go index 586d109469..5474fa9e4b 100644 --- a/sdk/go/google/compute/beta/targetHttpsProxy.go +++ b/sdk/go/google/compute/beta/targetHttpsProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpsProxy resource in the specified project using the data included in the request. @@ -199,6 +200,12 @@ func (i *TargetHttpsProxy) ToTargetHttpsProxyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TargetHttpsProxyOutput) } +func (i *TargetHttpsProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxy] { + return pulumix.Output[*TargetHttpsProxy]{ + OutputState: i.ToTargetHttpsProxyOutputWithContext(ctx).OutputState, + } +} + type TargetHttpsProxyOutput struct{ *pulumi.OutputState } func (TargetHttpsProxyOutput) ElementType() reflect.Type { @@ -213,6 +220,12 @@ func (o TargetHttpsProxyOutput) ToTargetHttpsProxyOutputWithContext(ctx context. return o } +func (o TargetHttpsProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxy] { + return pulumix.Output[*TargetHttpsProxy]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Use serverTlsPolicy instead. // // Deprecated: [Deprecated] Use serverTlsPolicy instead. diff --git a/sdk/go/google/compute/beta/targetInstance.go b/sdk/go/google/compute/beta/targetInstance.go index 6d693dd427..301b61aa47 100644 --- a/sdk/go/google/compute/beta/targetInstance.go +++ b/sdk/go/google/compute/beta/targetInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetInstance resource in the specified project and zone using the data included in the request. @@ -141,6 +142,12 @@ func (i *TargetInstance) ToTargetInstanceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TargetInstanceOutput) } +func (i *TargetInstance) ToOutput(ctx context.Context) pulumix.Output[*TargetInstance] { + return pulumix.Output[*TargetInstance]{ + OutputState: i.ToTargetInstanceOutputWithContext(ctx).OutputState, + } +} + type TargetInstanceOutput struct{ *pulumi.OutputState } func (TargetInstanceOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o TargetInstanceOutput) ToTargetInstanceOutputWithContext(ctx context.Cont return o } +func (o TargetInstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetInstance] { + return pulumix.Output[*TargetInstance]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetInstanceOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetInstance) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/targetPool.go b/sdk/go/google/compute/beta/targetPool.go index 5f48428127..776742f74c 100644 --- a/sdk/go/google/compute/beta/targetPool.go +++ b/sdk/go/google/compute/beta/targetPool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a target pool in the specified project and region using the data included in the request. @@ -157,6 +158,12 @@ func (i *TargetPool) ToTargetPoolOutputWithContext(ctx context.Context) TargetPo return pulumi.ToOutputWithContext(ctx, i).(TargetPoolOutput) } +func (i *TargetPool) ToOutput(ctx context.Context) pulumix.Output[*TargetPool] { + return pulumix.Output[*TargetPool]{ + OutputState: i.ToTargetPoolOutputWithContext(ctx).OutputState, + } +} + type TargetPoolOutput struct{ *pulumi.OutputState } func (TargetPoolOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o TargetPoolOutput) ToTargetPoolOutputWithContext(ctx context.Context) Tar return o } +func (o TargetPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetPool] { + return pulumix.Output[*TargetPool]{ + OutputState: o.OutputState, + } +} + // The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. func (o TargetPoolOutput) BackupPool() pulumi.StringOutput { return o.ApplyT(func(v *TargetPool) pulumi.StringOutput { return v.BackupPool }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/targetSslProxy.go b/sdk/go/google/compute/beta/targetSslProxy.go index c921ab1d89..563eaa0d2f 100644 --- a/sdk/go/google/compute/beta/targetSslProxy.go +++ b/sdk/go/google/compute/beta/targetSslProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetSslProxy resource in the specified project using the data included in the request. @@ -147,6 +148,12 @@ func (i *TargetSslProxy) ToTargetSslProxyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TargetSslProxyOutput) } +func (i *TargetSslProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxy] { + return pulumix.Output[*TargetSslProxy]{ + OutputState: i.ToTargetSslProxyOutputWithContext(ctx).OutputState, + } +} + type TargetSslProxyOutput struct{ *pulumi.OutputState } func (TargetSslProxyOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o TargetSslProxyOutput) ToTargetSslProxyOutputWithContext(ctx context.Cont return o } +func (o TargetSslProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxy] { + return pulumix.Output[*TargetSslProxy]{ + OutputState: o.OutputState, + } +} + // URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. func (o TargetSslProxyOutput) CertificateMap() pulumi.StringOutput { return o.ApplyT(func(v *TargetSslProxy) pulumi.StringOutput { return v.CertificateMap }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/targetTcpProxy.go b/sdk/go/google/compute/beta/targetTcpProxy.go index 572351307b..104b36433c 100644 --- a/sdk/go/google/compute/beta/targetTcpProxy.go +++ b/sdk/go/google/compute/beta/targetTcpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetTcpProxy resource in the specified project using the data included in the request. @@ -137,6 +138,12 @@ func (i *TargetTcpProxy) ToTargetTcpProxyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TargetTcpProxyOutput) } +func (i *TargetTcpProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxy] { + return pulumix.Output[*TargetTcpProxy]{ + OutputState: i.ToTargetTcpProxyOutputWithContext(ctx).OutputState, + } +} + type TargetTcpProxyOutput struct{ *pulumi.OutputState } func (TargetTcpProxyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o TargetTcpProxyOutput) ToTargetTcpProxyOutputWithContext(ctx context.Cont return o } +func (o TargetTcpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxy] { + return pulumix.Output[*TargetTcpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetTcpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetTcpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/targetVpnGateway.go b/sdk/go/google/compute/beta/targetVpnGateway.go index 1a25881d31..cc5ffa1e80 100644 --- a/sdk/go/google/compute/beta/targetVpnGateway.go +++ b/sdk/go/google/compute/beta/targetVpnGateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a target VPN gateway in the specified project and region using the data included in the request. @@ -145,6 +146,12 @@ func (i *TargetVpnGateway) ToTargetVpnGatewayOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TargetVpnGatewayOutput) } +func (i *TargetVpnGateway) ToOutput(ctx context.Context) pulumix.Output[*TargetVpnGateway] { + return pulumix.Output[*TargetVpnGateway]{ + OutputState: i.ToTargetVpnGatewayOutputWithContext(ctx).OutputState, + } +} + type TargetVpnGatewayOutput struct{ *pulumi.OutputState } func (TargetVpnGatewayOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o TargetVpnGatewayOutput) ToTargetVpnGatewayOutputWithContext(ctx context. return o } +func (o TargetVpnGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetVpnGateway] { + return pulumix.Output[*TargetVpnGateway]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetVpnGatewayOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetVpnGateway) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/urlMap.go b/sdk/go/google/compute/beta/urlMap.go index 8acf72ec76..5a5843c21d 100644 --- a/sdk/go/google/compute/beta/urlMap.go +++ b/sdk/go/google/compute/beta/urlMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a UrlMap resource in the specified project using the data included in the request. @@ -169,6 +170,12 @@ func (i *UrlMap) ToUrlMapOutputWithContext(ctx context.Context) UrlMapOutput { return pulumi.ToOutputWithContext(ctx, i).(UrlMapOutput) } +func (i *UrlMap) ToOutput(ctx context.Context) pulumix.Output[*UrlMap] { + return pulumix.Output[*UrlMap]{ + OutputState: i.ToUrlMapOutputWithContext(ctx).OutputState, + } +} + type UrlMapOutput struct{ *pulumi.OutputState } func (UrlMapOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o UrlMapOutput) ToUrlMapOutputWithContext(ctx context.Context) UrlMapOutpu return o } +func (o UrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMap] { + return pulumix.Output[*UrlMap]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o UrlMapOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *UrlMap) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/vpnGateway.go b/sdk/go/google/compute/beta/vpnGateway.go index 61d1f9bdbb..1674cf9c47 100644 --- a/sdk/go/google/compute/beta/vpnGateway.go +++ b/sdk/go/google/compute/beta/vpnGateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a VPN gateway in the specified project and region using the data included in the request. @@ -157,6 +158,12 @@ func (i *VpnGateway) ToVpnGatewayOutputWithContext(ctx context.Context) VpnGatew return pulumi.ToOutputWithContext(ctx, i).(VpnGatewayOutput) } +func (i *VpnGateway) ToOutput(ctx context.Context) pulumix.Output[*VpnGateway] { + return pulumix.Output[*VpnGateway]{ + OutputState: i.ToVpnGatewayOutputWithContext(ctx).OutputState, + } +} + type VpnGatewayOutput struct{ *pulumi.OutputState } func (VpnGatewayOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o VpnGatewayOutput) ToVpnGatewayOutputWithContext(ctx context.Context) Vpn return o } +func (o VpnGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnGateway] { + return pulumix.Output[*VpnGateway]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o VpnGatewayOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *VpnGateway) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/beta/vpnTunnel.go b/sdk/go/google/compute/beta/vpnTunnel.go index ff97e3e4fe..22a495c92e 100644 --- a/sdk/go/google/compute/beta/vpnTunnel.go +++ b/sdk/go/google/compute/beta/vpnTunnel.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a VpnTunnel resource in the specified project and region using the data included in the request. @@ -215,6 +216,12 @@ func (i *VpnTunnel) ToVpnTunnelOutputWithContext(ctx context.Context) VpnTunnelO return pulumi.ToOutputWithContext(ctx, i).(VpnTunnelOutput) } +func (i *VpnTunnel) ToOutput(ctx context.Context) pulumix.Output[*VpnTunnel] { + return pulumix.Output[*VpnTunnel]{ + OutputState: i.ToVpnTunnelOutputWithContext(ctx).OutputState, + } +} + type VpnTunnelOutput struct{ *pulumi.OutputState } func (VpnTunnelOutput) ElementType() reflect.Type { @@ -229,6 +236,12 @@ func (o VpnTunnelOutput) ToVpnTunnelOutputWithContext(ctx context.Context) VpnTu return o } +func (o VpnTunnelOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnTunnel] { + return pulumix.Output[*VpnTunnel]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o VpnTunnelOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *VpnTunnel) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/address.go b/sdk/go/google/compute/v1/address.go index 95a0dec559..db68cfcdd0 100644 --- a/sdk/go/google/compute/v1/address.go +++ b/sdk/go/google/compute/v1/address.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an address resource in the specified project by using the data included in the request. @@ -191,6 +192,12 @@ func (i *Address) ToAddressOutputWithContext(ctx context.Context) AddressOutput return pulumi.ToOutputWithContext(ctx, i).(AddressOutput) } +func (i *Address) ToOutput(ctx context.Context) pulumix.Output[*Address] { + return pulumix.Output[*Address]{ + OutputState: i.ToAddressOutputWithContext(ctx).OutputState, + } +} + type AddressOutput struct{ *pulumi.OutputState } func (AddressOutput) ElementType() reflect.Type { @@ -205,6 +212,12 @@ func (o AddressOutput) ToAddressOutputWithContext(ctx context.Context) AddressOu return o } +func (o AddressOutput) ToOutput(ctx context.Context) pulumix.Output[*Address] { + return pulumix.Output[*Address]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o AddressOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *Address) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/autoscaler.go b/sdk/go/google/compute/v1/autoscaler.go index 733ee966ef..a0c45e7632 100644 --- a/sdk/go/google/compute/v1/autoscaler.go +++ b/sdk/go/google/compute/v1/autoscaler.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an autoscaler in the specified project using the data included in the request. @@ -143,6 +144,12 @@ func (i *Autoscaler) ToAutoscalerOutputWithContext(ctx context.Context) Autoscal return pulumi.ToOutputWithContext(ctx, i).(AutoscalerOutput) } +func (i *Autoscaler) ToOutput(ctx context.Context) pulumix.Output[*Autoscaler] { + return pulumix.Output[*Autoscaler]{ + OutputState: i.ToAutoscalerOutputWithContext(ctx).OutputState, + } +} + type AutoscalerOutput struct{ *pulumi.OutputState } func (AutoscalerOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o AutoscalerOutput) ToAutoscalerOutputWithContext(ctx context.Context) Aut return o } +func (o AutoscalerOutput) ToOutput(ctx context.Context) pulumix.Output[*Autoscaler] { + return pulumix.Output[*Autoscaler]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o AutoscalerOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v *Autoscaler) AutoscalingPolicyResponseOutput { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/v1/backendBucket.go b/sdk/go/google/compute/v1/backendBucket.go index c8da272dfc..febde13292 100644 --- a/sdk/go/google/compute/v1/backendBucket.go +++ b/sdk/go/google/compute/v1/backendBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a BackendBucket resource in the specified project using the data included in the request. @@ -153,6 +154,12 @@ func (i *BackendBucket) ToBackendBucketOutputWithContext(ctx context.Context) Ba return pulumi.ToOutputWithContext(ctx, i).(BackendBucketOutput) } +func (i *BackendBucket) ToOutput(ctx context.Context) pulumix.Output[*BackendBucket] { + return pulumix.Output[*BackendBucket]{ + OutputState: i.ToBackendBucketOutputWithContext(ctx).OutputState, + } +} + type BackendBucketOutput struct{ *pulumi.OutputState } func (BackendBucketOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o BackendBucketOutput) ToBackendBucketOutputWithContext(ctx context.Contex return o } +func (o BackendBucketOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucket] { + return pulumix.Output[*BackendBucket]{ + OutputState: o.OutputState, + } +} + // Cloud Storage bucket name. func (o BackendBucketOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v *BackendBucket) pulumi.StringOutput { return v.BucketName }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/backendService.go b/sdk/go/google/compute/v1/backendService.go index d367b1d1b9..d2aac3df74 100644 --- a/sdk/go/google/compute/v1/backendService.go +++ b/sdk/go/google/compute/v1/backendService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview . @@ -302,6 +303,12 @@ func (i *BackendService) ToBackendServiceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BackendServiceOutput) } +func (i *BackendService) ToOutput(ctx context.Context) pulumix.Output[*BackendService] { + return pulumix.Output[*BackendService]{ + OutputState: i.ToBackendServiceOutputWithContext(ctx).OutputState, + } +} + type BackendServiceOutput struct{ *pulumi.OutputState } func (BackendServiceOutput) ElementType() reflect.Type { @@ -316,6 +323,12 @@ func (o BackendServiceOutput) ToBackendServiceOutputWithContext(ctx context.Cont return o } +func (o BackendServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendService] { + return pulumix.Output[*BackendService]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o BackendServiceOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v *BackendService) pulumi.IntOutput { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/backendServiceIamBinding.go b/sdk/go/google/compute/v1/backendServiceIamBinding.go index bfa60e76c1..05f2e19c43 100644 --- a/sdk/go/google/compute/v1/backendServiceIamBinding.go +++ b/sdk/go/google/compute/v1/backendServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *BackendServiceIamBinding) ToBackendServiceIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIamBindingOutput) } +func (i *BackendServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamBinding] { + return pulumix.Output[*BackendServiceIamBinding]{ + OutputState: i.ToBackendServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type BackendServiceIamBindingOutput struct{ *pulumi.OutputState } func (BackendServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackendServiceIamBindingOutput) ToBackendServiceIamBindingOutputWithCont return o } +func (o BackendServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamBinding] { + return pulumix.Output[*BackendServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackendServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackendServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/backendServiceIamMember.go b/sdk/go/google/compute/v1/backendServiceIamMember.go index 9a365efd79..5eb4fe4e9f 100644 --- a/sdk/go/google/compute/v1/backendServiceIamMember.go +++ b/sdk/go/google/compute/v1/backendServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *BackendServiceIamMember) ToBackendServiceIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIamMemberOutput) } +func (i *BackendServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamMember] { + return pulumix.Output[*BackendServiceIamMember]{ + OutputState: i.ToBackendServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type BackendServiceIamMemberOutput struct{ *pulumi.OutputState } func (BackendServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackendServiceIamMemberOutput) ToBackendServiceIamMemberOutputWithContex return o } +func (o BackendServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamMember] { + return pulumix.Output[*BackendServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackendServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackendServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/backendServiceIamPolicy.go b/sdk/go/google/compute/v1/backendServiceIamPolicy.go index bacbd0cd34..d8ace49057 100644 --- a/sdk/go/google/compute/v1/backendServiceIamPolicy.go +++ b/sdk/go/google/compute/v1/backendServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *BackendServiceIamPolicy) ToBackendServiceIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIamPolicyOutput) } +func (i *BackendServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamPolicy] { + return pulumix.Output[*BackendServiceIamPolicy]{ + OutputState: i.ToBackendServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BackendServiceIamPolicyOutput struct{ *pulumi.OutputState } func (BackendServiceIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o BackendServiceIamPolicyOutput) ToBackendServiceIamPolicyOutputWithContex return o } +func (o BackendServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIamPolicy] { + return pulumix.Output[*BackendServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o BackendServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *BackendServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/disk.go b/sdk/go/google/compute/v1/disk.go index 374461eda0..68ffc6d3a4 100644 --- a/sdk/go/google/compute/v1/disk.go +++ b/sdk/go/google/compute/v1/disk.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property. @@ -287,6 +288,12 @@ func (i *Disk) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return pulumi.ToOutputWithContext(ctx, i).(DiskOutput) } +func (i *Disk) ToOutput(ctx context.Context) pulumix.Output[*Disk] { + return pulumix.Output[*Disk]{ + OutputState: i.ToDiskOutputWithContext(ctx).OutputState, + } +} + type DiskOutput struct{ *pulumi.OutputState } func (DiskOutput) ElementType() reflect.Type { @@ -301,6 +308,12 @@ func (o DiskOutput) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return o } +func (o DiskOutput) ToOutput(ctx context.Context) pulumix.Output[*Disk] { + return pulumix.Output[*Disk]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o DiskOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *Disk) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/diskIamBinding.go b/sdk/go/google/compute/v1/diskIamBinding.go index 6338684124..42254378be 100644 --- a/sdk/go/google/compute/v1/diskIamBinding.go +++ b/sdk/go/google/compute/v1/diskIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DiskIamBinding) ToDiskIamBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DiskIamBindingOutput) } +func (i *DiskIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DiskIamBinding] { + return pulumix.Output[*DiskIamBinding]{ + OutputState: i.ToDiskIamBindingOutputWithContext(ctx).OutputState, + } +} + type DiskIamBindingOutput struct{ *pulumi.OutputState } func (DiskIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DiskIamBindingOutput) ToDiskIamBindingOutputWithContext(ctx context.Cont return o } +func (o DiskIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskIamBinding] { + return pulumix.Output[*DiskIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DiskIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DiskIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/diskIamMember.go b/sdk/go/google/compute/v1/diskIamMember.go index d9c8119685..0eb86e82f7 100644 --- a/sdk/go/google/compute/v1/diskIamMember.go +++ b/sdk/go/google/compute/v1/diskIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DiskIamMember) ToDiskIamMemberOutputWithContext(ctx context.Context) Di return pulumi.ToOutputWithContext(ctx, i).(DiskIamMemberOutput) } +func (i *DiskIamMember) ToOutput(ctx context.Context) pulumix.Output[*DiskIamMember] { + return pulumix.Output[*DiskIamMember]{ + OutputState: i.ToDiskIamMemberOutputWithContext(ctx).OutputState, + } +} + type DiskIamMemberOutput struct{ *pulumi.OutputState } func (DiskIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DiskIamMemberOutput) ToDiskIamMemberOutputWithContext(ctx context.Contex return o } +func (o DiskIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskIamMember] { + return pulumix.Output[*DiskIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DiskIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DiskIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/diskIamPolicy.go b/sdk/go/google/compute/v1/diskIamPolicy.go index a1ef54e8b5..2f4e0e13a5 100644 --- a/sdk/go/google/compute/v1/diskIamPolicy.go +++ b/sdk/go/google/compute/v1/diskIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *DiskIamPolicy) ToDiskIamPolicyOutputWithContext(ctx context.Context) Di return pulumi.ToOutputWithContext(ctx, i).(DiskIamPolicyOutput) } +func (i *DiskIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DiskIamPolicy] { + return pulumix.Output[*DiskIamPolicy]{ + OutputState: i.ToDiskIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DiskIamPolicyOutput struct{ *pulumi.OutputState } func (DiskIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o DiskIamPolicyOutput) ToDiskIamPolicyOutputWithContext(ctx context.Contex return o } +func (o DiskIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskIamPolicy] { + return pulumix.Output[*DiskIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DiskIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DiskIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/externalVpnGateway.go b/sdk/go/google/compute/v1/externalVpnGateway.go index 4c9ae539b2..251115ed89 100644 --- a/sdk/go/google/compute/v1/externalVpnGateway.go +++ b/sdk/go/google/compute/v1/externalVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ExternalVpnGateway in the specified project using the data included in the request. @@ -137,6 +138,12 @@ func (i *ExternalVpnGateway) ToExternalVpnGatewayOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ExternalVpnGatewayOutput) } +func (i *ExternalVpnGateway) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGateway] { + return pulumix.Output[*ExternalVpnGateway]{ + OutputState: i.ToExternalVpnGatewayOutputWithContext(ctx).OutputState, + } +} + type ExternalVpnGatewayOutput struct{ *pulumi.OutputState } func (ExternalVpnGatewayOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ExternalVpnGatewayOutput) ToExternalVpnGatewayOutputWithContext(ctx cont return o } +func (o ExternalVpnGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGateway] { + return pulumix.Output[*ExternalVpnGateway]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o ExternalVpnGatewayOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *ExternalVpnGateway) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/firewall.go b/sdk/go/google/compute/v1/firewall.go index 69cff1232b..9ce05d526f 100644 --- a/sdk/go/google/compute/v1/firewall.go +++ b/sdk/go/google/compute/v1/firewall.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a firewall rule in the specified project using the data included in the request. @@ -195,6 +196,12 @@ func (i *Firewall) ToFirewallOutputWithContext(ctx context.Context) FirewallOutp return pulumi.ToOutputWithContext(ctx, i).(FirewallOutput) } +func (i *Firewall) ToOutput(ctx context.Context) pulumix.Output[*Firewall] { + return pulumix.Output[*Firewall]{ + OutputState: i.ToFirewallOutputWithContext(ctx).OutputState, + } +} + type FirewallOutput struct{ *pulumi.OutputState } func (FirewallOutput) ElementType() reflect.Type { @@ -209,6 +216,12 @@ func (o FirewallOutput) ToFirewallOutputWithContext(ctx context.Context) Firewal return o } +func (o FirewallOutput) ToOutput(ctx context.Context) pulumix.Output[*Firewall] { + return pulumix.Output[*Firewall]{ + OutputState: o.OutputState, + } +} + // The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. func (o FirewallOutput) Allowed() FirewallAllowedItemResponseArrayOutput { return o.ApplyT(func(v *Firewall) FirewallAllowedItemResponseArrayOutput { return v.Allowed }).(FirewallAllowedItemResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/firewallPolicy.go b/sdk/go/google/compute/v1/firewallPolicy.go index b41b83126d..99032fcc56 100644 --- a/sdk/go/google/compute/v1/firewallPolicy.go +++ b/sdk/go/google/compute/v1/firewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -156,6 +157,12 @@ func (i *FirewallPolicy) ToFirewallPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyOutput) } +func (i *FirewallPolicy) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicy] { + return pulumix.Output[*FirewallPolicy]{ + OutputState: i.ToFirewallPolicyOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyOutput struct{ *pulumi.OutputState } func (FirewallPolicyOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o FirewallPolicyOutput) ToFirewallPolicyOutputWithContext(ctx context.Cont return o } +func (o FirewallPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicy] { + return pulumix.Output[*FirewallPolicy]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o FirewallPolicyOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v *FirewallPolicy) FirewallPolicyAssociationResponseArrayOutput { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/firewallPolicyIamBinding.go b/sdk/go/google/compute/v1/firewallPolicyIamBinding.go index 57957c04d0..6e2db89f62 100644 --- a/sdk/go/google/compute/v1/firewallPolicyIamBinding.go +++ b/sdk/go/google/compute/v1/firewallPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *FirewallPolicyIamBinding) ToFirewallPolicyIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIamBindingOutput) } +func (i *FirewallPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamBinding] { + return pulumix.Output[*FirewallPolicyIamBinding]{ + OutputState: i.ToFirewallPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyIamBindingOutput struct{ *pulumi.OutputState } func (FirewallPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FirewallPolicyIamBindingOutput) ToFirewallPolicyIamBindingOutputWithCont return o } +func (o FirewallPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamBinding] { + return pulumix.Output[*FirewallPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FirewallPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FirewallPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/firewallPolicyIamMember.go b/sdk/go/google/compute/v1/firewallPolicyIamMember.go index b64ce85b79..e4f48fb510 100644 --- a/sdk/go/google/compute/v1/firewallPolicyIamMember.go +++ b/sdk/go/google/compute/v1/firewallPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *FirewallPolicyIamMember) ToFirewallPolicyIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIamMemberOutput) } +func (i *FirewallPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamMember] { + return pulumix.Output[*FirewallPolicyIamMember]{ + OutputState: i.ToFirewallPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyIamMemberOutput struct{ *pulumi.OutputState } func (FirewallPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FirewallPolicyIamMemberOutput) ToFirewallPolicyIamMemberOutputWithContex return o } +func (o FirewallPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamMember] { + return pulumix.Output[*FirewallPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FirewallPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FirewallPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/firewallPolicyIamPolicy.go b/sdk/go/google/compute/v1/firewallPolicyIamPolicy.go index c63d0e54e5..78ab65f078 100644 --- a/sdk/go/google/compute/v1/firewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/v1/firewallPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -129,6 +130,12 @@ func (i *FirewallPolicyIamPolicy) ToFirewallPolicyIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyIamPolicyOutput) } +func (i *FirewallPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamPolicy] { + return pulumix.Output[*FirewallPolicyIamPolicy]{ + OutputState: i.ToFirewallPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (FirewallPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o FirewallPolicyIamPolicyOutput) ToFirewallPolicyIamPolicyOutputWithContex return o } +func (o FirewallPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyIamPolicy] { + return pulumix.Output[*FirewallPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FirewallPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FirewallPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/forwardingRule.go b/sdk/go/google/compute/v1/forwardingRule.go index 560440692f..4819fdb851 100644 --- a/sdk/go/google/compute/v1/forwardingRule.go +++ b/sdk/go/google/compute/v1/forwardingRule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ForwardingRule resource in the specified project and region using the data included in the request. @@ -264,6 +265,12 @@ func (i *ForwardingRule) ToForwardingRuleOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ForwardingRuleOutput) } +func (i *ForwardingRule) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRule] { + return pulumix.Output[*ForwardingRule]{ + OutputState: i.ToForwardingRuleOutputWithContext(ctx).OutputState, + } +} + type ForwardingRuleOutput struct{ *pulumi.OutputState } func (ForwardingRuleOutput) ElementType() reflect.Type { @@ -278,6 +285,12 @@ func (o ForwardingRuleOutput) ToForwardingRuleOutputWithContext(ctx context.Cont return o } +func (o ForwardingRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRule] { + return pulumix.Output[*ForwardingRule]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o ForwardingRuleOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v *ForwardingRule) pulumi.BoolOutput { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/getAddress.go b/sdk/go/google/compute/v1/getAddress.go index 62efcddcc3..19ac533b58 100644 --- a/sdk/go/google/compute/v1/getAddress.go +++ b/sdk/go/google/compute/v1/getAddress.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified address resource. @@ -106,6 +107,12 @@ func (o LookupAddressResultOutput) ToLookupAddressResultOutputWithContext(ctx co return o } +func (o LookupAddressResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAddressResult] { + return pulumix.Output[LookupAddressResult]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o LookupAddressResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v LookupAddressResult) string { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getAutoscaler.go b/sdk/go/google/compute/v1/getAutoscaler.go index a46697d04d..6c92799b0f 100644 --- a/sdk/go/google/compute/v1/getAutoscaler.go +++ b/sdk/go/google/compute/v1/getAutoscaler.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified autoscaler resource. @@ -94,6 +95,12 @@ func (o LookupAutoscalerResultOutput) ToLookupAutoscalerResultOutputWithContext( return o } +func (o LookupAutoscalerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAutoscalerResult] { + return pulumix.Output[LookupAutoscalerResult]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o LookupAutoscalerResultOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v LookupAutoscalerResult) AutoscalingPolicyResponse { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/v1/getBackendBucket.go b/sdk/go/google/compute/v1/getBackendBucket.go index fadf0a76b0..456276c9a6 100644 --- a/sdk/go/google/compute/v1/getBackendBucket.go +++ b/sdk/go/google/compute/v1/getBackendBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified BackendBucket resource. @@ -88,6 +89,12 @@ func (o LookupBackendBucketResultOutput) ToLookupBackendBucketResultOutputWithCo return o } +func (o LookupBackendBucketResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendBucketResult] { + return pulumix.Output[LookupBackendBucketResult]{ + OutputState: o.OutputState, + } +} + // Cloud Storage bucket name. func (o LookupBackendBucketResultOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v LookupBackendBucketResult) string { return v.BucketName }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getBackendService.go b/sdk/go/google/compute/v1/getBackendService.go index 6f8b94f66b..1555385c0f 100644 --- a/sdk/go/google/compute/v1/getBackendService.go +++ b/sdk/go/google/compute/v1/getBackendService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified BackendService resource. @@ -143,6 +144,12 @@ func (o LookupBackendServiceResultOutput) ToLookupBackendServiceResultOutputWith return o } +func (o LookupBackendServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendServiceResult] { + return pulumix.Output[LookupBackendServiceResult]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o LookupBackendServiceResultOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v LookupBackendServiceResult) int { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/getBackendServiceIamPolicy.go b/sdk/go/google/compute/v1/getBackendServiceIamPolicy.go index efb2f40717..3114693ba9 100644 --- a/sdk/go/google/compute/v1/getBackendServiceIamPolicy.go +++ b/sdk/go/google/compute/v1/getBackendServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupBackendServiceIamPolicyResultOutput) ToLookupBackendServiceIamPoli return o } +func (o LookupBackendServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackendServiceIamPolicyResult] { + return pulumix.Output[LookupBackendServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupBackendServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupBackendServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getDisk.go b/sdk/go/google/compute/v1/getDisk.go index c3edd60ba6..0b7fb500ab 100644 --- a/sdk/go/google/compute/v1/getDisk.go +++ b/sdk/go/google/compute/v1/getDisk.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified persistent disk. @@ -154,6 +155,12 @@ func (o LookupDiskResultOutput) ToLookupDiskResultOutputWithContext(ctx context. return o } +func (o LookupDiskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDiskResult] { + return pulumix.Output[LookupDiskResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o LookupDiskResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupDiskResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getDiskIamPolicy.go b/sdk/go/google/compute/v1/getDiskIamPolicy.go index 74e0aeace0..4274651902 100644 --- a/sdk/go/google/compute/v1/getDiskIamPolicy.go +++ b/sdk/go/google/compute/v1/getDiskIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupDiskIamPolicyResultOutput) ToLookupDiskIamPolicyResultOutputWithCo return o } +func (o LookupDiskIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDiskIamPolicyResult] { + return pulumix.Output[LookupDiskIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDiskIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDiskIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getExternalVpnGateway.go b/sdk/go/google/compute/v1/getExternalVpnGateway.go index 35e9d097f8..ce42a9078f 100644 --- a/sdk/go/google/compute/v1/getExternalVpnGateway.go +++ b/sdk/go/google/compute/v1/getExternalVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request. @@ -84,6 +85,12 @@ func (o LookupExternalVpnGatewayResultOutput) ToLookupExternalVpnGatewayResultOu return o } +func (o LookupExternalVpnGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExternalVpnGatewayResult] { + return pulumix.Output[LookupExternalVpnGatewayResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupExternalVpnGatewayResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupExternalVpnGatewayResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getFirewall.go b/sdk/go/google/compute/v1/getFirewall.go index cd5c7e1107..95f2cafdf8 100644 --- a/sdk/go/google/compute/v1/getFirewall.go +++ b/sdk/go/google/compute/v1/getFirewall.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified firewall. @@ -102,6 +103,12 @@ func (o LookupFirewallResultOutput) ToLookupFirewallResultOutputWithContext(ctx return o } +func (o LookupFirewallResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFirewallResult] { + return pulumix.Output[LookupFirewallResult]{ + OutputState: o.OutputState, + } +} + // The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. func (o LookupFirewallResultOutput) Allowed() FirewallAllowedItemResponseArrayOutput { return o.ApplyT(func(v LookupFirewallResult) []FirewallAllowedItemResponse { return v.Allowed }).(FirewallAllowedItemResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getFirewallPolicy.go b/sdk/go/google/compute/v1/getFirewallPolicy.go index ea298da8c6..4032c23175 100644 --- a/sdk/go/google/compute/v1/getFirewallPolicy.go +++ b/sdk/go/google/compute/v1/getFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified firewall policy. @@ -94,6 +95,12 @@ func (o LookupFirewallPolicyResultOutput) ToLookupFirewallPolicyResultOutputWith return o } +func (o LookupFirewallPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFirewallPolicyResult] { + return pulumix.Output[LookupFirewallPolicyResult]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o LookupFirewallPolicyResultOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v LookupFirewallPolicyResult) []FirewallPolicyAssociationResponse { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getFirewallPolicyIamPolicy.go b/sdk/go/google/compute/v1/getFirewallPolicyIamPolicy.go index c5493b00a4..e2cc1be06b 100644 --- a/sdk/go/google/compute/v1/getFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/v1/getFirewallPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -76,6 +77,12 @@ func (o LookupFirewallPolicyIamPolicyResultOutput) ToLookupFirewallPolicyIamPoli return o } +func (o LookupFirewallPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFirewallPolicyIamPolicyResult] { + return pulumix.Output[LookupFirewallPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFirewallPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFirewallPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getForwardingRule.go b/sdk/go/google/compute/v1/getForwardingRule.go index ce7d25ae96..c153d6731f 100644 --- a/sdk/go/google/compute/v1/getForwardingRule.go +++ b/sdk/go/google/compute/v1/getForwardingRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified ForwardingRule resource. @@ -133,6 +134,12 @@ func (o LookupForwardingRuleResultOutput) ToLookupForwardingRuleResultOutputWith return o } +func (o LookupForwardingRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupForwardingRuleResult] { + return pulumix.Output[LookupForwardingRuleResult]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o LookupForwardingRuleResultOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v LookupForwardingRuleResult) bool { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/getGlobalAddress.go b/sdk/go/google/compute/v1/getGlobalAddress.go index 1a6dfaed23..46a4ee5a2b 100644 --- a/sdk/go/google/compute/v1/getGlobalAddress.go +++ b/sdk/go/google/compute/v1/getGlobalAddress.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified address resource. @@ -104,6 +105,12 @@ func (o LookupGlobalAddressResultOutput) ToLookupGlobalAddressResultOutputWithCo return o } +func (o LookupGlobalAddressResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalAddressResult] { + return pulumix.Output[LookupGlobalAddressResult]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o LookupGlobalAddressResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v LookupGlobalAddressResult) string { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getGlobalForwardingRule.go b/sdk/go/google/compute/v1/getGlobalForwardingRule.go index 0d3e98f0b9..76d24dc68b 100644 --- a/sdk/go/google/compute/v1/getGlobalForwardingRule.go +++ b/sdk/go/google/compute/v1/getGlobalForwardingRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request. @@ -131,6 +132,12 @@ func (o LookupGlobalForwardingRuleResultOutput) ToLookupGlobalForwardingRuleResu return o } +func (o LookupGlobalForwardingRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalForwardingRuleResult] { + return pulumix.Output[LookupGlobalForwardingRuleResult]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o LookupGlobalForwardingRuleResultOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v LookupGlobalForwardingRuleResult) bool { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/getGlobalNetworkEndpointGroup.go b/sdk/go/google/compute/v1/getGlobalNetworkEndpointGroup.go index 0f7b655586..dc8407fa91 100644 --- a/sdk/go/google/compute/v1/getGlobalNetworkEndpointGroup.go +++ b/sdk/go/google/compute/v1/getGlobalNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network endpoint group. @@ -101,6 +102,12 @@ func (o LookupGlobalNetworkEndpointGroupResultOutput) ToLookupGlobalNetworkEndpo return o } +func (o LookupGlobalNetworkEndpointGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalNetworkEndpointGroupResult] { + return pulumix.Output[LookupGlobalNetworkEndpointGroupResult]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o LookupGlobalNetworkEndpointGroupResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupGlobalNetworkEndpointGroupResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/v1/getGlobalPublicDelegatedPrefix.go b/sdk/go/google/compute/v1/getGlobalPublicDelegatedPrefix.go index 356746baef..47b3e8c2c6 100644 --- a/sdk/go/google/compute/v1/getGlobalPublicDelegatedPrefix.go +++ b/sdk/go/google/compute/v1/getGlobalPublicDelegatedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified global PublicDelegatedPrefix resource. @@ -90,6 +91,12 @@ func (o LookupGlobalPublicDelegatedPrefixResultOutput) ToLookupGlobalPublicDeleg return o } +func (o LookupGlobalPublicDelegatedPrefixResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlobalPublicDelegatedPrefixResult] { + return pulumix.Output[LookupGlobalPublicDelegatedPrefixResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupGlobalPublicDelegatedPrefixResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupGlobalPublicDelegatedPrefixResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getHealthCheck.go b/sdk/go/google/compute/v1/getHealthCheck.go index 1e5dc33fa6..a0132cf5c8 100644 --- a/sdk/go/google/compute/v1/getHealthCheck.go +++ b/sdk/go/google/compute/v1/getHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HealthCheck resource. @@ -96,6 +97,12 @@ func (o LookupHealthCheckResultOutput) ToLookupHealthCheckResultOutputWithContex return o } +func (o LookupHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHealthCheckResult] { + return pulumix.Output[LookupHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/getHttpHealthCheck.go b/sdk/go/google/compute/v1/getHttpHealthCheck.go index d28a22cc23..85ceb5d80d 100644 --- a/sdk/go/google/compute/v1/getHttpHealthCheck.go +++ b/sdk/go/google/compute/v1/getHttpHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HttpHealthCheck resource. @@ -90,6 +91,12 @@ func (o LookupHttpHealthCheckResultOutput) ToLookupHttpHealthCheckResultOutputWi return o } +func (o LookupHttpHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHttpHealthCheckResult] { + return pulumix.Output[LookupHttpHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupHttpHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupHttpHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/getHttpsHealthCheck.go b/sdk/go/google/compute/v1/getHttpsHealthCheck.go index 993aac5aca..78145affc3 100644 --- a/sdk/go/google/compute/v1/getHttpsHealthCheck.go +++ b/sdk/go/google/compute/v1/getHttpsHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HttpsHealthCheck resource. @@ -90,6 +91,12 @@ func (o LookupHttpsHealthCheckResultOutput) ToLookupHttpsHealthCheckResultOutput return o } +func (o LookupHttpsHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHttpsHealthCheckResult] { + return pulumix.Output[LookupHttpsHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupHttpsHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupHttpsHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/getImage.go b/sdk/go/google/compute/v1/getImage.go index 21fcfdda9b..d05555d032 100644 --- a/sdk/go/google/compute/v1/getImage.go +++ b/sdk/go/google/compute/v1/getImage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified image. @@ -128,6 +129,12 @@ func (o LookupImageResultOutput) ToLookupImageResultOutputWithContext(ctx contex return o } +func (o LookupImageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupImageResult] { + return pulumix.Output[LookupImageResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the image. Valid values are ARM64 or X86_64. func (o LookupImageResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupImageResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getImageIamPolicy.go b/sdk/go/google/compute/v1/getImageIamPolicy.go index abc5809898..1e28384dc6 100644 --- a/sdk/go/google/compute/v1/getImageIamPolicy.go +++ b/sdk/go/google/compute/v1/getImageIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupImageIamPolicyResultOutput) ToLookupImageIamPolicyResultOutputWith return o } +func (o LookupImageIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupImageIamPolicyResult] { + return pulumix.Output[LookupImageIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupImageIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupImageIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getInstance.go b/sdk/go/google/compute/v1/getInstance.go index ace726d098..bc989d39f8 100644 --- a/sdk/go/google/compute/v1/getInstance.go +++ b/sdk/go/google/compute/v1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Instance resource. @@ -150,6 +151,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. func (o LookupInstanceResultOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesResponseOutput { return o.ApplyT(func(v LookupInstanceResult) AdvancedMachineFeaturesResponse { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesResponseOutput) diff --git a/sdk/go/google/compute/v1/getInstanceGroup.go b/sdk/go/google/compute/v1/getInstanceGroup.go index 29085cb435..a1d28f4322 100644 --- a/sdk/go/google/compute/v1/getInstanceGroup.go +++ b/sdk/go/google/compute/v1/getInstanceGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. @@ -92,6 +93,12 @@ func (o LookupInstanceGroupResultOutput) ToLookupInstanceGroupResultOutputWithCo return o } +func (o LookupInstanceGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceGroupResult] { + return pulumix.Output[LookupInstanceGroupResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance group in RFC3339 text format. func (o LookupInstanceGroupResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceGroupResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getInstanceGroupManager.go b/sdk/go/google/compute/v1/getInstanceGroupManager.go index 17abfb2a9a..afd5f0305a 100644 --- a/sdk/go/google/compute/v1/getInstanceGroupManager.go +++ b/sdk/go/google/compute/v1/getInstanceGroupManager.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns all of the details about the specified managed instance group. @@ -112,6 +113,12 @@ func (o LookupInstanceGroupManagerResultOutput) ToLookupInstanceGroupManagerResu return o } +func (o LookupInstanceGroupManagerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceGroupManagerResult] { + return pulumix.Output[LookupInstanceGroupManagerResult]{ + OutputState: o.OutputState, + } +} + // The autohealing policy for this managed instance group. You can specify only one value. func (o LookupInstanceGroupManagerResultOutput) AutoHealingPolicies() InstanceGroupManagerAutoHealingPolicyResponseArrayOutput { return o.ApplyT(func(v LookupInstanceGroupManagerResult) []InstanceGroupManagerAutoHealingPolicyResponse { diff --git a/sdk/go/google/compute/v1/getInstanceIamPolicy.go b/sdk/go/google/compute/v1/getInstanceIamPolicy.go index b619d9e202..d0329979f1 100644 --- a/sdk/go/google/compute/v1/getInstanceIamPolicy.go +++ b/sdk/go/google/compute/v1/getInstanceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutp return o } +func (o LookupInstanceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceIamPolicyResult] { + return pulumix.Output[LookupInstanceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getInstanceTemplate.go b/sdk/go/google/compute/v1/getInstanceTemplate.go index 824d978171..4f47d42b6a 100644 --- a/sdk/go/google/compute/v1/getInstanceTemplate.go +++ b/sdk/go/google/compute/v1/getInstanceTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified instance template. @@ -84,6 +85,12 @@ func (o LookupInstanceTemplateResultOutput) ToLookupInstanceTemplateResultOutput return o } +func (o LookupInstanceTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceTemplateResult] { + return pulumix.Output[LookupInstanceTemplateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o LookupInstanceTemplateResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceTemplateResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getInstanceTemplateIamPolicy.go b/sdk/go/google/compute/v1/getInstanceTemplateIamPolicy.go index 73965325aa..59632e0c5e 100644 --- a/sdk/go/google/compute/v1/getInstanceTemplateIamPolicy.go +++ b/sdk/go/google/compute/v1/getInstanceTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupInstanceTemplateIamPolicyResultOutput) ToLookupInstanceTemplateIam return o } +func (o LookupInstanceTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceTemplateIamPolicyResult] { + return pulumix.Output[LookupInstanceTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceTemplateIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceTemplateIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getInterconnect.go b/sdk/go/google/compute/v1/getInterconnect.go index f4d8d37dfb..dafe83afd9 100644 --- a/sdk/go/google/compute/v1/getInterconnect.go +++ b/sdk/go/google/compute/v1/getInterconnect.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. @@ -116,6 +117,12 @@ func (o LookupInterconnectResultOutput) ToLookupInterconnectResultOutputWithCont return o } +func (o LookupInterconnectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInterconnectResult] { + return pulumix.Output[LookupInterconnectResult]{ + OutputState: o.OutputState, + } +} + // Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. func (o LookupInterconnectResultOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupInterconnectResult) bool { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/getInterconnectAttachment.go b/sdk/go/google/compute/v1/getInterconnectAttachment.go index 05c8636cc8..e9212613d9 100644 --- a/sdk/go/google/compute/v1/getInterconnectAttachment.go +++ b/sdk/go/google/compute/v1/getInterconnectAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified interconnect attachment. @@ -148,6 +149,12 @@ func (o LookupInterconnectAttachmentResultOutput) ToLookupInterconnectAttachment return o } +func (o LookupInterconnectAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInterconnectAttachmentResult] { + return pulumix.Output[LookupInterconnectAttachmentResult]{ + OutputState: o.OutputState, + } +} + // Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. func (o LookupInterconnectAttachmentResultOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupInterconnectAttachmentResult) bool { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/getLicense.go b/sdk/go/google/compute/v1/getLicense.go index a6d45178b0..8a02f6e3cb 100644 --- a/sdk/go/google/compute/v1/getLicense.go +++ b/sdk/go/google/compute/v1/getLicense.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified License resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -85,6 +86,12 @@ func (o LookupLicenseResultOutput) ToLookupLicenseResultOutputWithContext(ctx co return o } +func (o LookupLicenseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLicenseResult] { + return pulumix.Output[LookupLicenseResult]{ + OutputState: o.OutputState, + } +} + // Deprecated. This field no longer reflects whether a license charges a usage fee. // // Deprecated: [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. diff --git a/sdk/go/google/compute/v1/getLicenseIamPolicy.go b/sdk/go/google/compute/v1/getLicenseIamPolicy.go index 30c1b741cc..056d50ec12 100644 --- a/sdk/go/google/compute/v1/getLicenseIamPolicy.go +++ b/sdk/go/google/compute/v1/getLicenseIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -78,6 +79,12 @@ func (o LookupLicenseIamPolicyResultOutput) ToLookupLicenseIamPolicyResultOutput return o } +func (o LookupLicenseIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLicenseIamPolicyResult] { + return pulumix.Output[LookupLicenseIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLicenseIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLicenseIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getMachineImage.go b/sdk/go/google/compute/v1/getMachineImage.go index 027d4abc8c..0c17beeb41 100644 --- a/sdk/go/google/compute/v1/getMachineImage.go +++ b/sdk/go/google/compute/v1/getMachineImage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified machine image. @@ -98,6 +99,12 @@ func (o LookupMachineImageResultOutput) ToLookupMachineImageResultOutputWithCont return o } +func (o LookupMachineImageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMachineImageResult] { + return pulumix.Output[LookupMachineImageResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this machine image in RFC3339 text format. func (o LookupMachineImageResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupMachineImageResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getMachineImageIamPolicy.go b/sdk/go/google/compute/v1/getMachineImageIamPolicy.go index 2048433eac..00b683e90a 100644 --- a/sdk/go/google/compute/v1/getMachineImageIamPolicy.go +++ b/sdk/go/google/compute/v1/getMachineImageIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupMachineImageIamPolicyResultOutput) ToLookupMachineImageIamPolicyRe return o } +func (o LookupMachineImageIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMachineImageIamPolicyResult] { + return pulumix.Output[LookupMachineImageIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMachineImageIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMachineImageIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getNetwork.go b/sdk/go/google/compute/v1/getNetwork.go index 5fe9fbed29..e74918db0a 100644 --- a/sdk/go/google/compute/v1/getNetwork.go +++ b/sdk/go/google/compute/v1/getNetwork.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network. @@ -102,6 +103,12 @@ func (o LookupNetworkResultOutput) ToLookupNetworkResultOutputWithContext(ctx co return o } +func (o LookupNetworkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkResult] { + return pulumix.Output[LookupNetworkResult]{ + OutputState: o.OutputState, + } +} + // Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method. func (o LookupNetworkResultOutput) AutoCreateSubnetworks() pulumi.BoolOutput { return o.ApplyT(func(v LookupNetworkResult) bool { return v.AutoCreateSubnetworks }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/getNetworkAttachment.go b/sdk/go/google/compute/v1/getNetworkAttachment.go index 6ca866ee02..9bceeab023 100644 --- a/sdk/go/google/compute/v1/getNetworkAttachment.go +++ b/sdk/go/google/compute/v1/getNetworkAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified NetworkAttachment resource in the given scope. @@ -95,6 +96,12 @@ func (o LookupNetworkAttachmentResultOutput) ToLookupNetworkAttachmentResultOutp return o } +func (o LookupNetworkAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkAttachmentResult] { + return pulumix.Output[LookupNetworkAttachmentResult]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the producers connected to this network attachment. func (o LookupNetworkAttachmentResultOutput) ConnectionEndpoints() NetworkAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v LookupNetworkAttachmentResult) []NetworkAttachmentConnectedEndpointResponse { diff --git a/sdk/go/google/compute/v1/getNetworkAttachmentIamPolicy.go b/sdk/go/google/compute/v1/getNetworkAttachmentIamPolicy.go index 928204e152..6b9b6a52a9 100644 --- a/sdk/go/google/compute/v1/getNetworkAttachmentIamPolicy.go +++ b/sdk/go/google/compute/v1/getNetworkAttachmentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupNetworkAttachmentIamPolicyResultOutput) ToLookupNetworkAttachmentI return o } +func (o LookupNetworkAttachmentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkAttachmentIamPolicyResult] { + return pulumix.Output[LookupNetworkAttachmentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNetworkAttachmentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNetworkAttachmentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getNetworkEdgeSecurityService.go b/sdk/go/google/compute/v1/getNetworkEdgeSecurityService.go index 5a9eac8eec..3b4737aa26 100644 --- a/sdk/go/google/compute/v1/getNetworkEdgeSecurityService.go +++ b/sdk/go/google/compute/v1/getNetworkEdgeSecurityService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a specified NetworkEdgeSecurityService. @@ -86,6 +87,12 @@ func (o LookupNetworkEdgeSecurityServiceResultOutput) ToLookupNetworkEdgeSecurit return o } +func (o LookupNetworkEdgeSecurityServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkEdgeSecurityServiceResult] { + return pulumix.Output[LookupNetworkEdgeSecurityServiceResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupNetworkEdgeSecurityServiceResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupNetworkEdgeSecurityServiceResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getNetworkEndpointGroup.go b/sdk/go/google/compute/v1/getNetworkEndpointGroup.go index 8f6c4f3658..304b9a6a97 100644 --- a/sdk/go/google/compute/v1/getNetworkEndpointGroup.go +++ b/sdk/go/google/compute/v1/getNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network endpoint group. @@ -103,6 +104,12 @@ func (o LookupNetworkEndpointGroupResultOutput) ToLookupNetworkEndpointGroupResu return o } +func (o LookupNetworkEndpointGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkEndpointGroupResult] { + return pulumix.Output[LookupNetworkEndpointGroupResult]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o LookupNetworkEndpointGroupResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupNetworkEndpointGroupResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/v1/getNetworkFirewallPolicy.go b/sdk/go/google/compute/v1/getNetworkFirewallPolicy.go index 334f1b6ae0..8b775ab955 100644 --- a/sdk/go/google/compute/v1/getNetworkFirewallPolicy.go +++ b/sdk/go/google/compute/v1/getNetworkFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network firewall policy. @@ -96,6 +97,12 @@ func (o LookupNetworkFirewallPolicyResultOutput) ToLookupNetworkFirewallPolicyRe return o } +func (o LookupNetworkFirewallPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkFirewallPolicyResult] { + return pulumix.Output[LookupNetworkFirewallPolicyResult]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o LookupNetworkFirewallPolicyResultOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v LookupNetworkFirewallPolicyResult) []FirewallPolicyAssociationResponse { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getNetworkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/v1/getNetworkFirewallPolicyIamPolicy.go index 7d8e2ea486..077a7e5f68 100644 --- a/sdk/go/google/compute/v1/getNetworkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/v1/getNetworkFirewallPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupNetworkFirewallPolicyIamPolicyResultOutput) ToLookupNetworkFirewal return o } +func (o LookupNetworkFirewallPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNetworkFirewallPolicyIamPolicyResult] { + return pulumix.Output[LookupNetworkFirewallPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNetworkFirewallPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNetworkFirewallPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getNodeGroup.go b/sdk/go/google/compute/v1/getNodeGroup.go index 88b9ad5d72..4907ab0057 100644 --- a/sdk/go/google/compute/v1/getNodeGroup.go +++ b/sdk/go/google/compute/v1/getNodeGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead. @@ -95,6 +96,12 @@ func (o LookupNodeGroupResultOutput) ToLookupNodeGroupResultOutputWithContext(ct return o } +func (o LookupNodeGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeGroupResult] { + return pulumix.Output[LookupNodeGroupResult]{ + OutputState: o.OutputState, + } +} + // Specifies how autoscaling should behave. func (o LookupNodeGroupResultOutput) AutoscalingPolicy() NodeGroupAutoscalingPolicyResponseOutput { return o.ApplyT(func(v LookupNodeGroupResult) NodeGroupAutoscalingPolicyResponse { return v.AutoscalingPolicy }).(NodeGroupAutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/v1/getNodeGroupIamPolicy.go b/sdk/go/google/compute/v1/getNodeGroupIamPolicy.go index 307845a3c3..8298d73754 100644 --- a/sdk/go/google/compute/v1/getNodeGroupIamPolicy.go +++ b/sdk/go/google/compute/v1/getNodeGroupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupNodeGroupIamPolicyResultOutput) ToLookupNodeGroupIamPolicyResultOu return o } +func (o LookupNodeGroupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeGroupIamPolicyResult] { + return pulumix.Output[LookupNodeGroupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNodeGroupIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNodeGroupIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getNodeTemplate.go b/sdk/go/google/compute/v1/getNodeTemplate.go index fd111b6899..e960afe35a 100644 --- a/sdk/go/google/compute/v1/getNodeTemplate.go +++ b/sdk/go/google/compute/v1/getNodeTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified node template. @@ -96,6 +97,12 @@ func (o LookupNodeTemplateResultOutput) ToLookupNodeTemplateResultOutputWithCont return o } +func (o LookupNodeTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeTemplateResult] { + return pulumix.Output[LookupNodeTemplateResult]{ + OutputState: o.OutputState, + } +} + func (o LookupNodeTemplateResultOutput) Accelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v LookupNodeTemplateResult) []AcceleratorConfigResponse { return v.Accelerators }).(AcceleratorConfigResponseArrayOutput) } diff --git a/sdk/go/google/compute/v1/getNodeTemplateIamPolicy.go b/sdk/go/google/compute/v1/getNodeTemplateIamPolicy.go index a60ed77537..4324ac1fb7 100644 --- a/sdk/go/google/compute/v1/getNodeTemplateIamPolicy.go +++ b/sdk/go/google/compute/v1/getNodeTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupNodeTemplateIamPolicyResultOutput) ToLookupNodeTemplateIamPolicyRe return o } +func (o LookupNodeTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeTemplateIamPolicyResult] { + return pulumix.Output[LookupNodeTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupNodeTemplateIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupNodeTemplateIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getPacketMirroring.go b/sdk/go/google/compute/v1/getPacketMirroring.go index a1158dd640..9a49381ae1 100644 --- a/sdk/go/google/compute/v1/getPacketMirroring.go +++ b/sdk/go/google/compute/v1/getPacketMirroring.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified PacketMirroring resource. @@ -92,6 +93,12 @@ func (o LookupPacketMirroringResultOutput) ToLookupPacketMirroringResultOutputWi return o } +func (o LookupPacketMirroringResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPacketMirroringResult] { + return pulumix.Output[LookupPacketMirroringResult]{ + OutputState: o.OutputState, + } +} + // The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true. func (o LookupPacketMirroringResultOutput) CollectorIlb() PacketMirroringForwardingRuleInfoResponseOutput { return o.ApplyT(func(v LookupPacketMirroringResult) PacketMirroringForwardingRuleInfoResponse { return v.CollectorIlb }).(PacketMirroringForwardingRuleInfoResponseOutput) diff --git a/sdk/go/google/compute/v1/getPublicAdvertisedPrefix.go b/sdk/go/google/compute/v1/getPublicAdvertisedPrefix.go index 84d60a5572..c5a0fb76a3 100644 --- a/sdk/go/google/compute/v1/getPublicAdvertisedPrefix.go +++ b/sdk/go/google/compute/v1/getPublicAdvertisedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified PublicAdvertisedPrefix resource. @@ -88,6 +89,12 @@ func (o LookupPublicAdvertisedPrefixResultOutput) ToLookupPublicAdvertisedPrefix return o } +func (o LookupPublicAdvertisedPrefixResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPublicAdvertisedPrefixResult] { + return pulumix.Output[LookupPublicAdvertisedPrefixResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupPublicAdvertisedPrefixResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupPublicAdvertisedPrefixResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getPublicDelegatedPrefix.go b/sdk/go/google/compute/v1/getPublicDelegatedPrefix.go index fca25ad6df..7b7fdb591f 100644 --- a/sdk/go/google/compute/v1/getPublicDelegatedPrefix.go +++ b/sdk/go/google/compute/v1/getPublicDelegatedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified PublicDelegatedPrefix resource in the given region. @@ -92,6 +93,12 @@ func (o LookupPublicDelegatedPrefixResultOutput) ToLookupPublicDelegatedPrefixRe return o } +func (o LookupPublicDelegatedPrefixResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPublicDelegatedPrefixResult] { + return pulumix.Output[LookupPublicDelegatedPrefixResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupPublicDelegatedPrefixResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupPublicDelegatedPrefixResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getRegionAutoscaler.go b/sdk/go/google/compute/v1/getRegionAutoscaler.go index eb24a8c665..7aca11377a 100644 --- a/sdk/go/google/compute/v1/getRegionAutoscaler.go +++ b/sdk/go/google/compute/v1/getRegionAutoscaler.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified autoscaler. @@ -94,6 +95,12 @@ func (o LookupRegionAutoscalerResultOutput) ToLookupRegionAutoscalerResultOutput return o } +func (o LookupRegionAutoscalerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionAutoscalerResult] { + return pulumix.Output[LookupRegionAutoscalerResult]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o LookupRegionAutoscalerResultOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v LookupRegionAutoscalerResult) AutoscalingPolicyResponse { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/v1/getRegionBackendService.go b/sdk/go/google/compute/v1/getRegionBackendService.go index 490cf09c96..befff1f009 100644 --- a/sdk/go/google/compute/v1/getRegionBackendService.go +++ b/sdk/go/google/compute/v1/getRegionBackendService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified regional BackendService resource. @@ -145,6 +146,12 @@ func (o LookupRegionBackendServiceResultOutput) ToLookupRegionBackendServiceResu return o } +func (o LookupRegionBackendServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionBackendServiceResult] { + return pulumix.Output[LookupRegionBackendServiceResult]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o LookupRegionBackendServiceResultOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v LookupRegionBackendServiceResult) int { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/getRegionBackendServiceIamPolicy.go b/sdk/go/google/compute/v1/getRegionBackendServiceIamPolicy.go index 7365f4248c..319a44c1d3 100644 --- a/sdk/go/google/compute/v1/getRegionBackendServiceIamPolicy.go +++ b/sdk/go/google/compute/v1/getRegionBackendServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionBackendServiceIamPolicyResultOutput) ToLookupRegionBackendSe return o } +func (o LookupRegionBackendServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionBackendServiceIamPolicyResult] { + return pulumix.Output[LookupRegionBackendServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionBackendServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionBackendServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getRegionCommitment.go b/sdk/go/google/compute/v1/getRegionCommitment.go index 42b6e61494..3b2c588f4b 100644 --- a/sdk/go/google/compute/v1/getRegionCommitment.go +++ b/sdk/go/google/compute/v1/getRegionCommitment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified commitment resource. @@ -106,6 +107,12 @@ func (o LookupRegionCommitmentResultOutput) ToLookupRegionCommitmentResultOutput return o } +func (o LookupRegionCommitmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionCommitmentResult] { + return pulumix.Output[LookupRegionCommitmentResult]{ + OutputState: o.OutputState, + } +} + // Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment. func (o LookupRegionCommitmentResultOutput) AutoRenew() pulumi.BoolOutput { return o.ApplyT(func(v LookupRegionCommitmentResult) bool { return v.AutoRenew }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/getRegionDisk.go b/sdk/go/google/compute/v1/getRegionDisk.go index bcc936aa92..bcf012d2e7 100644 --- a/sdk/go/google/compute/v1/getRegionDisk.go +++ b/sdk/go/google/compute/v1/getRegionDisk.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a specified regional persistent disk. @@ -154,6 +155,12 @@ func (o LookupRegionDiskResultOutput) ToLookupRegionDiskResultOutputWithContext( return o } +func (o LookupRegionDiskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionDiskResult] { + return pulumix.Output[LookupRegionDiskResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o LookupRegionDiskResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionDiskResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getRegionDiskIamPolicy.go b/sdk/go/google/compute/v1/getRegionDiskIamPolicy.go index b951ec1390..7d427fea2a 100644 --- a/sdk/go/google/compute/v1/getRegionDiskIamPolicy.go +++ b/sdk/go/google/compute/v1/getRegionDiskIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionDiskIamPolicyResultOutput) ToLookupRegionDiskIamPolicyResult return o } +func (o LookupRegionDiskIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionDiskIamPolicyResult] { + return pulumix.Output[LookupRegionDiskIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionDiskIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionDiskIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getRegionHealthCheck.go b/sdk/go/google/compute/v1/getRegionHealthCheck.go index 4a7bf88d0d..b00f480d8d 100644 --- a/sdk/go/google/compute/v1/getRegionHealthCheck.go +++ b/sdk/go/google/compute/v1/getRegionHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified HealthCheck resource. @@ -98,6 +99,12 @@ func (o LookupRegionHealthCheckResultOutput) ToLookupRegionHealthCheckResultOutp return o } +func (o LookupRegionHealthCheckResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionHealthCheckResult] { + return pulumix.Output[LookupRegionHealthCheckResult]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o LookupRegionHealthCheckResultOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v LookupRegionHealthCheckResult) int { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/getRegionHealthCheckService.go b/sdk/go/google/compute/v1/getRegionHealthCheckService.go index f9affdc198..a237c4fed1 100644 --- a/sdk/go/google/compute/v1/getRegionHealthCheckService.go +++ b/sdk/go/google/compute/v1/getRegionHealthCheckService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified regional HealthCheckService resource. @@ -90,6 +91,12 @@ func (o LookupRegionHealthCheckServiceResultOutput) ToLookupRegionHealthCheckSer return o } +func (o LookupRegionHealthCheckServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionHealthCheckServiceResult] { + return pulumix.Output[LookupRegionHealthCheckServiceResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionHealthCheckServiceResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionHealthCheckServiceResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getRegionInstanceGroupManager.go b/sdk/go/google/compute/v1/getRegionInstanceGroupManager.go index f1a2fb8421..d3897f949a 100644 --- a/sdk/go/google/compute/v1/getRegionInstanceGroupManager.go +++ b/sdk/go/google/compute/v1/getRegionInstanceGroupManager.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns all of the details about the specified managed instance group. @@ -112,6 +113,12 @@ func (o LookupRegionInstanceGroupManagerResultOutput) ToLookupRegionInstanceGrou return o } +func (o LookupRegionInstanceGroupManagerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionInstanceGroupManagerResult] { + return pulumix.Output[LookupRegionInstanceGroupManagerResult]{ + OutputState: o.OutputState, + } +} + // The autohealing policy for this managed instance group. You can specify only one value. func (o LookupRegionInstanceGroupManagerResultOutput) AutoHealingPolicies() InstanceGroupManagerAutoHealingPolicyResponseArrayOutput { return o.ApplyT(func(v LookupRegionInstanceGroupManagerResult) []InstanceGroupManagerAutoHealingPolicyResponse { diff --git a/sdk/go/google/compute/v1/getRegionInstanceTemplate.go b/sdk/go/google/compute/v1/getRegionInstanceTemplate.go index e0af332de2..05545377ca 100644 --- a/sdk/go/google/compute/v1/getRegionInstanceTemplate.go +++ b/sdk/go/google/compute/v1/getRegionInstanceTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified instance template. @@ -86,6 +87,12 @@ func (o LookupRegionInstanceTemplateResultOutput) ToLookupRegionInstanceTemplate return o } +func (o LookupRegionInstanceTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionInstanceTemplateResult] { + return pulumix.Output[LookupRegionInstanceTemplateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o LookupRegionInstanceTemplateResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionInstanceTemplateResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getRegionNetworkEndpointGroup.go b/sdk/go/google/compute/v1/getRegionNetworkEndpointGroup.go index f65b6dd415..6caa1189b8 100644 --- a/sdk/go/google/compute/v1/getRegionNetworkEndpointGroup.go +++ b/sdk/go/google/compute/v1/getRegionNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network endpoint group. @@ -103,6 +104,12 @@ func (o LookupRegionNetworkEndpointGroupResultOutput) ToLookupRegionNetworkEndpo return o } +func (o LookupRegionNetworkEndpointGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNetworkEndpointGroupResult] { + return pulumix.Output[LookupRegionNetworkEndpointGroupResult]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o LookupRegionNetworkEndpointGroupResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupRegionNetworkEndpointGroupResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/v1/getRegionNetworkFirewallPolicy.go b/sdk/go/google/compute/v1/getRegionNetworkFirewallPolicy.go index 475296d6ec..4da8186d05 100644 --- a/sdk/go/google/compute/v1/getRegionNetworkFirewallPolicy.go +++ b/sdk/go/google/compute/v1/getRegionNetworkFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified network firewall policy. @@ -98,6 +99,12 @@ func (o LookupRegionNetworkFirewallPolicyResultOutput) ToLookupRegionNetworkFire return o } +func (o LookupRegionNetworkFirewallPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNetworkFirewallPolicyResult] { + return pulumix.Output[LookupRegionNetworkFirewallPolicyResult]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o LookupRegionNetworkFirewallPolicyResultOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v LookupRegionNetworkFirewallPolicyResult) []FirewallPolicyAssociationResponse { diff --git a/sdk/go/google/compute/v1/getRegionNetworkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/v1/getRegionNetworkFirewallPolicyIamPolicy.go index 9adb4dea44..4e2708d3c1 100644 --- a/sdk/go/google/compute/v1/getRegionNetworkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/v1/getRegionNetworkFirewallPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupRegionNetworkFirewallPolicyIamPolicyResultOutput) ToLookupRegionNe return o } +func (o LookupRegionNetworkFirewallPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNetworkFirewallPolicyIamPolicyResult] { + return pulumix.Output[LookupRegionNetworkFirewallPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegionNetworkFirewallPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegionNetworkFirewallPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getRegionNotificationEndpoint.go b/sdk/go/google/compute/v1/getRegionNotificationEndpoint.go index 46395527f2..a598d98e6b 100644 --- a/sdk/go/google/compute/v1/getRegionNotificationEndpoint.go +++ b/sdk/go/google/compute/v1/getRegionNotificationEndpoint.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified NotificationEndpoint resource in the given region. @@ -82,6 +83,12 @@ func (o LookupRegionNotificationEndpointResultOutput) ToLookupRegionNotification return o } +func (o LookupRegionNotificationEndpointResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionNotificationEndpointResult] { + return pulumix.Output[LookupRegionNotificationEndpointResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionNotificationEndpointResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionNotificationEndpointResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getRegionSecurityPolicy.go b/sdk/go/google/compute/v1/getRegionSecurityPolicy.go index 04c07a95b7..c5284cfe9d 100644 --- a/sdk/go/google/compute/v1/getRegionSecurityPolicy.go +++ b/sdk/go/google/compute/v1/getRegionSecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // List all of the ordered rules present in a single specified policy. @@ -94,6 +95,12 @@ func (o LookupRegionSecurityPolicyResultOutput) ToLookupRegionSecurityPolicyResu return o } +func (o LookupRegionSecurityPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionSecurityPolicyResult] { + return pulumix.Output[LookupRegionSecurityPolicyResult]{ + OutputState: o.OutputState, + } +} + func (o LookupRegionSecurityPolicyResultOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v LookupRegionSecurityPolicyResult) SecurityPolicyAdaptiveProtectionConfigResponse { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/v1/getRegionSslCertificate.go b/sdk/go/google/compute/v1/getRegionSslCertificate.go index 4f9040e044..396f16a0b8 100644 --- a/sdk/go/google/compute/v1/getRegionSslCertificate.go +++ b/sdk/go/google/compute/v1/getRegionSslCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request. @@ -94,6 +95,12 @@ func (o LookupRegionSslCertificateResultOutput) ToLookupRegionSslCertificateResu return o } +func (o LookupRegionSslCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionSslCertificateResult] { + return pulumix.Output[LookupRegionSslCertificateResult]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o LookupRegionSslCertificateResultOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionSslCertificateResult) string { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getRegionSslPolicy.go b/sdk/go/google/compute/v1/getRegionSslPolicy.go index 4997c27a8b..f67f2aca06 100644 --- a/sdk/go/google/compute/v1/getRegionSslPolicy.go +++ b/sdk/go/google/compute/v1/getRegionSslPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Lists all of the ordered rules present in a single specified policy. @@ -92,6 +93,12 @@ func (o LookupRegionSslPolicyResultOutput) ToLookupRegionSslPolicyResultOutputWi return o } +func (o LookupRegionSslPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionSslPolicyResult] { + return pulumix.Output[LookupRegionSslPolicyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionSslPolicyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionSslPolicyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getRegionTargetHttpProxy.go b/sdk/go/google/compute/v1/getRegionTargetHttpProxy.go index c43aff2fbf..8a66b4e5cc 100644 --- a/sdk/go/google/compute/v1/getRegionTargetHttpProxy.go +++ b/sdk/go/google/compute/v1/getRegionTargetHttpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpProxy resource in the specified region. @@ -86,6 +87,12 @@ func (o LookupRegionTargetHttpProxyResultOutput) ToLookupRegionTargetHttpProxyRe return o } +func (o LookupRegionTargetHttpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionTargetHttpProxyResult] { + return pulumix.Output[LookupRegionTargetHttpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionTargetHttpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionTargetHttpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getRegionTargetHttpsProxy.go b/sdk/go/google/compute/v1/getRegionTargetHttpsProxy.go index a32fe3ab84..545bcc4106 100644 --- a/sdk/go/google/compute/v1/getRegionTargetHttpsProxy.go +++ b/sdk/go/google/compute/v1/getRegionTargetHttpsProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpsProxy resource in the specified region. @@ -98,6 +99,12 @@ func (o LookupRegionTargetHttpsProxyResultOutput) ToLookupRegionTargetHttpsProxy return o } +func (o LookupRegionTargetHttpsProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionTargetHttpsProxyResult] { + return pulumix.Output[LookupRegionTargetHttpsProxyResult]{ + OutputState: o.OutputState, + } +} + // Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact. func (o LookupRegionTargetHttpsProxyResultOutput) AuthorizationPolicy() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionTargetHttpsProxyResult) string { return v.AuthorizationPolicy }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getRegionTargetTcpProxy.go b/sdk/go/google/compute/v1/getRegionTargetTcpProxy.go index 1402461fd5..68e4784978 100644 --- a/sdk/go/google/compute/v1/getRegionTargetTcpProxy.go +++ b/sdk/go/google/compute/v1/getRegionTargetTcpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetTcpProxy resource. @@ -86,6 +87,12 @@ func (o LookupRegionTargetTcpProxyResultOutput) ToLookupRegionTargetTcpProxyResu return o } +func (o LookupRegionTargetTcpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionTargetTcpProxyResult] { + return pulumix.Output[LookupRegionTargetTcpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionTargetTcpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionTargetTcpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getRegionUrlMap.go b/sdk/go/google/compute/v1/getRegionUrlMap.go index e93ed9c1ab..a16f22e5e4 100644 --- a/sdk/go/google/compute/v1/getRegionUrlMap.go +++ b/sdk/go/google/compute/v1/getRegionUrlMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified UrlMap resource. @@ -96,6 +97,12 @@ func (o LookupRegionUrlMapResultOutput) ToLookupRegionUrlMapResultOutputWithCont return o } +func (o LookupRegionUrlMapResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionUrlMapResult] { + return pulumix.Output[LookupRegionUrlMapResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupRegionUrlMapResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupRegionUrlMapResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getReservation.go b/sdk/go/google/compute/v1/getReservation.go index 4c420c68fb..9b8a6e1894 100644 --- a/sdk/go/google/compute/v1/getReservation.go +++ b/sdk/go/google/compute/v1/getReservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves information about the specified reservation. @@ -96,6 +97,12 @@ func (o LookupReservationResultOutput) ToLookupReservationResultOutputWithContex return o } +func (o LookupReservationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReservationResult] { + return pulumix.Output[LookupReservationResult]{ + OutputState: o.OutputState, + } +} + // Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. func (o LookupReservationResultOutput) Commitment() pulumi.StringOutput { return o.ApplyT(func(v LookupReservationResult) string { return v.Commitment }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getReservationIamPolicy.go b/sdk/go/google/compute/v1/getReservationIamPolicy.go index 57e50b3e08..33808ca82f 100644 --- a/sdk/go/google/compute/v1/getReservationIamPolicy.go +++ b/sdk/go/google/compute/v1/getReservationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupReservationIamPolicyResultOutput) ToLookupReservationIamPolicyResu return o } +func (o LookupReservationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReservationIamPolicyResult] { + return pulumix.Output[LookupReservationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupReservationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupReservationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getResourcePolicy.go b/sdk/go/google/compute/v1/getResourcePolicy.go index 8d4b19e64c..20f82b5f2d 100644 --- a/sdk/go/google/compute/v1/getResourcePolicy.go +++ b/sdk/go/google/compute/v1/getResourcePolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves all information of the specified resource policy. @@ -88,6 +89,12 @@ func (o LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutputWith return o } +func (o LookupResourcePolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResourcePolicyResult] { + return pulumix.Output[LookupResourcePolicyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupResourcePolicyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupResourcePolicyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getResourcePolicyIamPolicy.go b/sdk/go/google/compute/v1/getResourcePolicyIamPolicy.go index e01db47f33..135cdc1766 100644 --- a/sdk/go/google/compute/v1/getResourcePolicyIamPolicy.go +++ b/sdk/go/google/compute/v1/getResourcePolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupResourcePolicyIamPolicyResultOutput) ToLookupResourcePolicyIamPoli return o } +func (o LookupResourcePolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResourcePolicyIamPolicyResult] { + return pulumix.Output[LookupResourcePolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupResourcePolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupResourcePolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getRoute.go b/sdk/go/google/compute/v1/getRoute.go index 350518aeda..553499a7b2 100644 --- a/sdk/go/google/compute/v1/getRoute.go +++ b/sdk/go/google/compute/v1/getRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Route resource. @@ -106,6 +107,12 @@ func (o LookupRouteResultOutput) ToLookupRouteResultOutputWithContext(ctx contex return o } +func (o LookupRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRouteResult] { + return pulumix.Output[LookupRouteResult]{ + OutputState: o.OutputState, + } +} + // AS path. func (o LookupRouteResultOutput) AsPaths() RouteAsPathResponseArrayOutput { return o.ApplyT(func(v LookupRouteResult) []RouteAsPathResponse { return v.AsPaths }).(RouteAsPathResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getRouter.go b/sdk/go/google/compute/v1/getRouter.go index 9892f006c8..7fc70861d4 100644 --- a/sdk/go/google/compute/v1/getRouter.go +++ b/sdk/go/google/compute/v1/getRouter.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Router resource. @@ -94,6 +95,12 @@ func (o LookupRouterResultOutput) ToLookupRouterResultOutputWithContext(ctx cont return o } +func (o LookupRouterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRouterResult] { + return pulumix.Output[LookupRouterResult]{ + OutputState: o.OutputState, + } +} + // BGP information specific to this router. func (o LookupRouterResultOutput) Bgp() RouterBgpResponseOutput { return o.ApplyT(func(v LookupRouterResult) RouterBgpResponse { return v.Bgp }).(RouterBgpResponseOutput) diff --git a/sdk/go/google/compute/v1/getSecurityPolicy.go b/sdk/go/google/compute/v1/getSecurityPolicy.go index d26391b716..7770cc5f1f 100644 --- a/sdk/go/google/compute/v1/getSecurityPolicy.go +++ b/sdk/go/google/compute/v1/getSecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // List all of the ordered rules present in a single specified policy. @@ -92,6 +93,12 @@ func (o LookupSecurityPolicyResultOutput) ToLookupSecurityPolicyResultOutputWith return o } +func (o LookupSecurityPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecurityPolicyResult] { + return pulumix.Output[LookupSecurityPolicyResult]{ + OutputState: o.OutputState, + } +} + func (o LookupSecurityPolicyResultOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v LookupSecurityPolicyResult) SecurityPolicyAdaptiveProtectionConfigResponse { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/v1/getServiceAttachment.go b/sdk/go/google/compute/v1/getServiceAttachment.go index f8a1c1bfa0..0b7a0f2aa3 100644 --- a/sdk/go/google/compute/v1/getServiceAttachment.go +++ b/sdk/go/google/compute/v1/getServiceAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified ServiceAttachment resource in the given scope. @@ -104,6 +105,12 @@ func (o LookupServiceAttachmentResultOutput) ToLookupServiceAttachmentResultOutp return o } +func (o LookupServiceAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceAttachmentResult] { + return pulumix.Output[LookupServiceAttachmentResult]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the consumers connected to this service attachment. func (o LookupServiceAttachmentResultOutput) ConnectedEndpoints() ServiceAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v LookupServiceAttachmentResult) []ServiceAttachmentConnectedEndpointResponse { diff --git a/sdk/go/google/compute/v1/getServiceAttachmentIamPolicy.go b/sdk/go/google/compute/v1/getServiceAttachmentIamPolicy.go index ec2cfb6ce1..cdd1894276 100644 --- a/sdk/go/google/compute/v1/getServiceAttachmentIamPolicy.go +++ b/sdk/go/google/compute/v1/getServiceAttachmentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupServiceAttachmentIamPolicyResultOutput) ToLookupServiceAttachmentI return o } +func (o LookupServiceAttachmentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceAttachmentIamPolicyResult] { + return pulumix.Output[LookupServiceAttachmentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceAttachmentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceAttachmentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getSnapshot.go b/sdk/go/google/compute/v1/getSnapshot.go index 061340b182..ea846569ea 100644 --- a/sdk/go/google/compute/v1/getSnapshot.go +++ b/sdk/go/google/compute/v1/getSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified Snapshot resource. @@ -122,6 +123,12 @@ func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx return o } +func (o LookupSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotResult] { + return pulumix.Output[LookupSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The architecture of the snapshot. Valid values are ARM64 or X86_64. func (o LookupSnapshotResultOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v LookupSnapshotResult) string { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getSnapshotIamPolicy.go b/sdk/go/google/compute/v1/getSnapshotIamPolicy.go index fe2d863d58..a6712d2344 100644 --- a/sdk/go/google/compute/v1/getSnapshotIamPolicy.go +++ b/sdk/go/google/compute/v1/getSnapshotIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -78,6 +79,12 @@ func (o LookupSnapshotIamPolicyResultOutput) ToLookupSnapshotIamPolicyResultOutp return o } +func (o LookupSnapshotIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotIamPolicyResult] { + return pulumix.Output[LookupSnapshotIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupSnapshotIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupSnapshotIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getSslCertificate.go b/sdk/go/google/compute/v1/getSslCertificate.go index 3767f1948a..45bc680e9c 100644 --- a/sdk/go/google/compute/v1/getSslCertificate.go +++ b/sdk/go/google/compute/v1/getSslCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified SslCertificate resource. @@ -92,6 +93,12 @@ func (o LookupSslCertificateResultOutput) ToLookupSslCertificateResultOutputWith return o } +func (o LookupSslCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSslCertificateResult] { + return pulumix.Output[LookupSslCertificateResult]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o LookupSslCertificateResultOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v LookupSslCertificateResult) string { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getSslPolicy.go b/sdk/go/google/compute/v1/getSslPolicy.go index 0993c29b60..5b47309386 100644 --- a/sdk/go/google/compute/v1/getSslPolicy.go +++ b/sdk/go/google/compute/v1/getSslPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Lists all of the ordered rules present in a single specified policy. @@ -90,6 +91,12 @@ func (o LookupSslPolicyResultOutput) ToLookupSslPolicyResultOutputWithContext(ct return o } +func (o LookupSslPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSslPolicyResult] { + return pulumix.Output[LookupSslPolicyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupSslPolicyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupSslPolicyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getSubnetwork.go b/sdk/go/google/compute/v1/getSubnetwork.go index 41739abfe3..5eefd16d11 100644 --- a/sdk/go/google/compute/v1/getSubnetwork.go +++ b/sdk/go/google/compute/v1/getSubnetwork.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified subnetwork. @@ -114,6 +115,12 @@ func (o LookupSubnetworkResultOutput) ToLookupSubnetworkResultOutputWithContext( return o } +func (o LookupSubnetworkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubnetworkResult] { + return pulumix.Output[LookupSubnetworkResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupSubnetworkResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupSubnetworkResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getSubnetworkIamPolicy.go b/sdk/go/google/compute/v1/getSubnetworkIamPolicy.go index 5e9cb84b53..7603630ea3 100644 --- a/sdk/go/google/compute/v1/getSubnetworkIamPolicy.go +++ b/sdk/go/google/compute/v1/getSubnetworkIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -80,6 +81,12 @@ func (o LookupSubnetworkIamPolicyResultOutput) ToLookupSubnetworkIamPolicyResult return o } +func (o LookupSubnetworkIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubnetworkIamPolicyResult] { + return pulumix.Output[LookupSubnetworkIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupSubnetworkIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupSubnetworkIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/getTargetGrpcProxy.go b/sdk/go/google/compute/v1/getTargetGrpcProxy.go index 6f56ca8d25..bbc8bf96bd 100644 --- a/sdk/go/google/compute/v1/getTargetGrpcProxy.go +++ b/sdk/go/google/compute/v1/getTargetGrpcProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetGrpcProxy resource in the given scope. @@ -84,6 +85,12 @@ func (o LookupTargetGrpcProxyResultOutput) ToLookupTargetGrpcProxyResultOutputWi return o } +func (o LookupTargetGrpcProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetGrpcProxyResult] { + return pulumix.Output[LookupTargetGrpcProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetGrpcProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetGrpcProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getTargetHttpProxy.go b/sdk/go/google/compute/v1/getTargetHttpProxy.go index 163ab130f1..cadbd997cf 100644 --- a/sdk/go/google/compute/v1/getTargetHttpProxy.go +++ b/sdk/go/google/compute/v1/getTargetHttpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpProxy resource. @@ -84,6 +85,12 @@ func (o LookupTargetHttpProxyResultOutput) ToLookupTargetHttpProxyResultOutputWi return o } +func (o LookupTargetHttpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetHttpProxyResult] { + return pulumix.Output[LookupTargetHttpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetHttpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetHttpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getTargetHttpsProxy.go b/sdk/go/google/compute/v1/getTargetHttpsProxy.go index 5d18b0d964..3894eb06cc 100644 --- a/sdk/go/google/compute/v1/getTargetHttpsProxy.go +++ b/sdk/go/google/compute/v1/getTargetHttpsProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetHttpsProxy resource. @@ -96,6 +97,12 @@ func (o LookupTargetHttpsProxyResultOutput) ToLookupTargetHttpsProxyResultOutput return o } +func (o LookupTargetHttpsProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetHttpsProxyResult] { + return pulumix.Output[LookupTargetHttpsProxyResult]{ + OutputState: o.OutputState, + } +} + // Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact. func (o LookupTargetHttpsProxyResultOutput) AuthorizationPolicy() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetHttpsProxyResult) string { return v.AuthorizationPolicy }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getTargetInstance.go b/sdk/go/google/compute/v1/getTargetInstance.go index 0c73b3f992..99f1e83b3d 100644 --- a/sdk/go/google/compute/v1/getTargetInstance.go +++ b/sdk/go/google/compute/v1/getTargetInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetInstance resource. @@ -86,6 +87,12 @@ func (o LookupTargetInstanceResultOutput) ToLookupTargetInstanceResultOutputWith return o } +func (o LookupTargetInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetInstanceResult] { + return pulumix.Output[LookupTargetInstanceResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetInstanceResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetInstanceResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getTargetPool.go b/sdk/go/google/compute/v1/getTargetPool.go index 763bb480e1..9e6ec7a74b 100644 --- a/sdk/go/google/compute/v1/getTargetPool.go +++ b/sdk/go/google/compute/v1/getTargetPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified target pool. @@ -90,6 +91,12 @@ func (o LookupTargetPoolResultOutput) ToLookupTargetPoolResultOutputWithContext( return o } +func (o LookupTargetPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetPoolResult] { + return pulumix.Output[LookupTargetPoolResult]{ + OutputState: o.OutputState, + } +} + // The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. func (o LookupTargetPoolResultOutput) BackupPool() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetPoolResult) string { return v.BackupPool }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getTargetSslProxy.go b/sdk/go/google/compute/v1/getTargetSslProxy.go index 65fe807542..209f5512da 100644 --- a/sdk/go/google/compute/v1/getTargetSslProxy.go +++ b/sdk/go/google/compute/v1/getTargetSslProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetSslProxy resource. @@ -86,6 +87,12 @@ func (o LookupTargetSslProxyResultOutput) ToLookupTargetSslProxyResultOutputWith return o } +func (o LookupTargetSslProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetSslProxyResult] { + return pulumix.Output[LookupTargetSslProxyResult]{ + OutputState: o.OutputState, + } +} + // URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. func (o LookupTargetSslProxyResultOutput) CertificateMap() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetSslProxyResult) string { return v.CertificateMap }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getTargetTcpProxy.go b/sdk/go/google/compute/v1/getTargetTcpProxy.go index 2c046bf87e..351f59e99d 100644 --- a/sdk/go/google/compute/v1/getTargetTcpProxy.go +++ b/sdk/go/google/compute/v1/getTargetTcpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified TargetTcpProxy resource. @@ -84,6 +85,12 @@ func (o LookupTargetTcpProxyResultOutput) ToLookupTargetTcpProxyResultOutputWith return o } +func (o LookupTargetTcpProxyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetTcpProxyResult] { + return pulumix.Output[LookupTargetTcpProxyResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetTcpProxyResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetTcpProxyResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getTargetVpnGateway.go b/sdk/go/google/compute/v1/getTargetVpnGateway.go index 287884266e..e2d20d49a9 100644 --- a/sdk/go/google/compute/v1/getTargetVpnGateway.go +++ b/sdk/go/google/compute/v1/getTargetVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified target VPN gateway. @@ -92,6 +93,12 @@ func (o LookupTargetVpnGatewayResultOutput) ToLookupTargetVpnGatewayResultOutput return o } +func (o LookupTargetVpnGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetVpnGatewayResult] { + return pulumix.Output[LookupTargetVpnGatewayResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupTargetVpnGatewayResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetVpnGatewayResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getUrlMap.go b/sdk/go/google/compute/v1/getUrlMap.go index 608ca258c5..4a24cdfddd 100644 --- a/sdk/go/google/compute/v1/getUrlMap.go +++ b/sdk/go/google/compute/v1/getUrlMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified UrlMap resource. @@ -94,6 +95,12 @@ func (o LookupUrlMapResultOutput) ToLookupUrlMapResultOutputWithContext(ctx cont return o } +func (o LookupUrlMapResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUrlMapResult] { + return pulumix.Output[LookupUrlMapResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupUrlMapResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupUrlMapResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getVpnGateway.go b/sdk/go/google/compute/v1/getVpnGateway.go index 0d7c32070b..7b95508458 100644 --- a/sdk/go/google/compute/v1/getVpnGateway.go +++ b/sdk/go/google/compute/v1/getVpnGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified VPN gateway. @@ -90,6 +91,12 @@ func (o LookupVpnGatewayResultOutput) ToLookupVpnGatewayResultOutputWithContext( return o } +func (o LookupVpnGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVpnGatewayResult] { + return pulumix.Output[LookupVpnGatewayResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupVpnGatewayResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupVpnGatewayResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/getVpnTunnel.go b/sdk/go/google/compute/v1/getVpnTunnel.go index 348c3918af..52abddbb46 100644 --- a/sdk/go/google/compute/v1/getVpnTunnel.go +++ b/sdk/go/google/compute/v1/getVpnTunnel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified VpnTunnel resource. @@ -114,6 +115,12 @@ func (o LookupVpnTunnelResultOutput) ToLookupVpnTunnelResultOutputWithContext(ct return o } +func (o LookupVpnTunnelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVpnTunnelResult] { + return pulumix.Output[LookupVpnTunnelResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o LookupVpnTunnelResultOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v LookupVpnTunnelResult) string { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/globalAddress.go b/sdk/go/google/compute/v1/globalAddress.go index 5c50b21bd7..1293232ee3 100644 --- a/sdk/go/google/compute/v1/globalAddress.go +++ b/sdk/go/google/compute/v1/globalAddress.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an address resource in the specified project by using the data included in the request. @@ -185,6 +186,12 @@ func (i *GlobalAddress) ToGlobalAddressOutputWithContext(ctx context.Context) Gl return pulumi.ToOutputWithContext(ctx, i).(GlobalAddressOutput) } +func (i *GlobalAddress) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddress] { + return pulumix.Output[*GlobalAddress]{ + OutputState: i.ToGlobalAddressOutputWithContext(ctx).OutputState, + } +} + type GlobalAddressOutput struct{ *pulumi.OutputState } func (GlobalAddressOutput) ElementType() reflect.Type { @@ -199,6 +206,12 @@ func (o GlobalAddressOutput) ToGlobalAddressOutputWithContext(ctx context.Contex return o } +func (o GlobalAddressOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddress] { + return pulumix.Output[*GlobalAddress]{ + OutputState: o.OutputState, + } +} + // The static IP address represented by this resource. func (o GlobalAddressOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *GlobalAddress) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/globalForwardingRule.go b/sdk/go/google/compute/v1/globalForwardingRule.go index 52dcb2ccdd..a4839d2106 100644 --- a/sdk/go/google/compute/v1/globalForwardingRule.go +++ b/sdk/go/google/compute/v1/globalForwardingRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a GlobalForwardingRule resource in the specified project using the data included in the request. @@ -258,6 +259,12 @@ func (i *GlobalForwardingRule) ToGlobalForwardingRuleOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GlobalForwardingRuleOutput) } +func (i *GlobalForwardingRule) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRule] { + return pulumix.Output[*GlobalForwardingRule]{ + OutputState: i.ToGlobalForwardingRuleOutputWithContext(ctx).OutputState, + } +} + type GlobalForwardingRuleOutput struct{ *pulumi.OutputState } func (GlobalForwardingRuleOutput) ElementType() reflect.Type { @@ -272,6 +279,12 @@ func (o GlobalForwardingRuleOutput) ToGlobalForwardingRuleOutputWithContext(ctx return o } +func (o GlobalForwardingRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRule] { + return pulumix.Output[*GlobalForwardingRule]{ + OutputState: o.OutputState, + } +} + // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. func (o GlobalForwardingRuleOutput) AllPorts() pulumi.BoolOutput { return o.ApplyT(func(v *GlobalForwardingRule) pulumi.BoolOutput { return v.AllPorts }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/globalNetworkEndpointGroup.go b/sdk/go/google/compute/v1/globalNetworkEndpointGroup.go index ca807df4d1..a1e0e3c668 100644 --- a/sdk/go/google/compute/v1/globalNetworkEndpointGroup.go +++ b/sdk/go/google/compute/v1/globalNetworkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network endpoint group in the specified project using the parameters that are included in the request. @@ -180,6 +181,12 @@ func (i *GlobalNetworkEndpointGroup) ToGlobalNetworkEndpointGroupOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(GlobalNetworkEndpointGroupOutput) } +func (i *GlobalNetworkEndpointGroup) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroup] { + return pulumix.Output[*GlobalNetworkEndpointGroup]{ + OutputState: i.ToGlobalNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + type GlobalNetworkEndpointGroupOutput struct{ *pulumi.OutputState } func (GlobalNetworkEndpointGroupOutput) ElementType() reflect.Type { @@ -194,6 +201,12 @@ func (o GlobalNetworkEndpointGroupOutput) ToGlobalNetworkEndpointGroupOutputWith return o } +func (o GlobalNetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroup] { + return pulumix.Output[*GlobalNetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o GlobalNetworkEndpointGroupOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *GlobalNetworkEndpointGroup) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/v1/globalPublicDelegatedPrefix.go b/sdk/go/google/compute/v1/globalPublicDelegatedPrefix.go index b00c556eea..06ffdb5276 100644 --- a/sdk/go/google/compute/v1/globalPublicDelegatedPrefix.go +++ b/sdk/go/google/compute/v1/globalPublicDelegatedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request. @@ -147,6 +148,12 @@ func (i *GlobalPublicDelegatedPrefix) ToGlobalPublicDelegatedPrefixOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(GlobalPublicDelegatedPrefixOutput) } +func (i *GlobalPublicDelegatedPrefix) ToOutput(ctx context.Context) pulumix.Output[*GlobalPublicDelegatedPrefix] { + return pulumix.Output[*GlobalPublicDelegatedPrefix]{ + OutputState: i.ToGlobalPublicDelegatedPrefixOutputWithContext(ctx).OutputState, + } +} + type GlobalPublicDelegatedPrefixOutput struct{ *pulumi.OutputState } func (GlobalPublicDelegatedPrefixOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o GlobalPublicDelegatedPrefixOutput) ToGlobalPublicDelegatedPrefixOutputWi return o } +func (o GlobalPublicDelegatedPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalPublicDelegatedPrefix] { + return pulumix.Output[*GlobalPublicDelegatedPrefix]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o GlobalPublicDelegatedPrefixOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *GlobalPublicDelegatedPrefix) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/healthCheck.go b/sdk/go/google/compute/v1/healthCheck.go index 88b608e830..66b000df7e 100644 --- a/sdk/go/google/compute/v1/healthCheck.go +++ b/sdk/go/google/compute/v1/healthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HealthCheck resource in the specified project using the data included in the request. @@ -177,6 +178,12 @@ func (i *HealthCheck) ToHealthCheckOutputWithContext(ctx context.Context) Health return pulumi.ToOutputWithContext(ctx, i).(HealthCheckOutput) } +func (i *HealthCheck) ToOutput(ctx context.Context) pulumix.Output[*HealthCheck] { + return pulumix.Output[*HealthCheck]{ + OutputState: i.ToHealthCheckOutputWithContext(ctx).OutputState, + } +} + type HealthCheckOutput struct{ *pulumi.OutputState } func (HealthCheckOutput) ElementType() reflect.Type { @@ -191,6 +198,12 @@ func (o HealthCheckOutput) ToHealthCheckOutputWithContext(ctx context.Context) H return o } +func (o HealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheck] { + return pulumix.Output[*HealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o HealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *HealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/httpHealthCheck.go b/sdk/go/google/compute/v1/httpHealthCheck.go index 4378079276..48a8f8e5c8 100644 --- a/sdk/go/google/compute/v1/httpHealthCheck.go +++ b/sdk/go/google/compute/v1/httpHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HttpHealthCheck resource in the specified project using the data included in the request. @@ -159,6 +160,12 @@ func (i *HttpHealthCheck) ToHttpHealthCheckOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(HttpHealthCheckOutput) } +func (i *HttpHealthCheck) ToOutput(ctx context.Context) pulumix.Output[*HttpHealthCheck] { + return pulumix.Output[*HttpHealthCheck]{ + OutputState: i.ToHttpHealthCheckOutputWithContext(ctx).OutputState, + } +} + type HttpHealthCheckOutput struct{ *pulumi.OutputState } func (HttpHealthCheckOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o HttpHealthCheckOutput) ToHttpHealthCheckOutputWithContext(ctx context.Co return o } +func (o HttpHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpHealthCheck] { + return pulumix.Output[*HttpHealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o HttpHealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *HttpHealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/httpsHealthCheck.go b/sdk/go/google/compute/v1/httpsHealthCheck.go index e03f200cb7..2173358262 100644 --- a/sdk/go/google/compute/v1/httpsHealthCheck.go +++ b/sdk/go/google/compute/v1/httpsHealthCheck.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HttpsHealthCheck resource in the specified project using the data included in the request. @@ -163,6 +164,12 @@ func (i *HttpsHealthCheck) ToHttpsHealthCheckOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(HttpsHealthCheckOutput) } +func (i *HttpsHealthCheck) ToOutput(ctx context.Context) pulumix.Output[*HttpsHealthCheck] { + return pulumix.Output[*HttpsHealthCheck]{ + OutputState: i.ToHttpsHealthCheckOutputWithContext(ctx).OutputState, + } +} + type HttpsHealthCheckOutput struct{ *pulumi.OutputState } func (HttpsHealthCheckOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o HttpsHealthCheckOutput) ToHttpsHealthCheckOutputWithContext(ctx context. return o } +func (o HttpsHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpsHealthCheck] { + return pulumix.Output[*HttpsHealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o HttpsHealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *HttpsHealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/image.go b/sdk/go/google/compute/v1/image.go index 08a484d9db..04746c1331 100644 --- a/sdk/go/google/compute/v1/image.go +++ b/sdk/go/google/compute/v1/image.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an image in the specified project using the data included in the request. @@ -255,6 +256,12 @@ func (i *Image) ToImageOutputWithContext(ctx context.Context) ImageOutput { return pulumi.ToOutputWithContext(ctx, i).(ImageOutput) } +func (i *Image) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: i.ToImageOutputWithContext(ctx).OutputState, + } +} + type ImageOutput struct{ *pulumi.OutputState } func (ImageOutput) ElementType() reflect.Type { @@ -269,6 +276,12 @@ func (o ImageOutput) ToImageOutputWithContext(ctx context.Context) ImageOutput { return o } +func (o ImageOutput) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: o.OutputState, + } +} + // The architecture of the image. Valid values are ARM64 or X86_64. func (o ImageOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *Image) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/imageIamBinding.go b/sdk/go/google/compute/v1/imageIamBinding.go index a54cab164b..c3a6967dd8 100644 --- a/sdk/go/google/compute/v1/imageIamBinding.go +++ b/sdk/go/google/compute/v1/imageIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ImageIamBinding) ToImageIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ImageIamBindingOutput) } +func (i *ImageIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ImageIamBinding] { + return pulumix.Output[*ImageIamBinding]{ + OutputState: i.ToImageIamBindingOutputWithContext(ctx).OutputState, + } +} + type ImageIamBindingOutput struct{ *pulumi.OutputState } func (ImageIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ImageIamBindingOutput) ToImageIamBindingOutputWithContext(ctx context.Co return o } +func (o ImageIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageIamBinding] { + return pulumix.Output[*ImageIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ImageIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ImageIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/imageIamMember.go b/sdk/go/google/compute/v1/imageIamMember.go index 4088018739..303041563e 100644 --- a/sdk/go/google/compute/v1/imageIamMember.go +++ b/sdk/go/google/compute/v1/imageIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ImageIamMember) ToImageIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImageIamMemberOutput) } +func (i *ImageIamMember) ToOutput(ctx context.Context) pulumix.Output[*ImageIamMember] { + return pulumix.Output[*ImageIamMember]{ + OutputState: i.ToImageIamMemberOutputWithContext(ctx).OutputState, + } +} + type ImageIamMemberOutput struct{ *pulumi.OutputState } func (ImageIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ImageIamMemberOutput) ToImageIamMemberOutputWithContext(ctx context.Cont return o } +func (o ImageIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageIamMember] { + return pulumix.Output[*ImageIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ImageIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ImageIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/imageIamPolicy.go b/sdk/go/google/compute/v1/imageIamPolicy.go index 5c141afa79..f3d58fe63e 100644 --- a/sdk/go/google/compute/v1/imageIamPolicy.go +++ b/sdk/go/google/compute/v1/imageIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *ImageIamPolicy) ToImageIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImageIamPolicyOutput) } +func (i *ImageIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ImageIamPolicy] { + return pulumix.Output[*ImageIamPolicy]{ + OutputState: i.ToImageIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ImageIamPolicyOutput struct{ *pulumi.OutputState } func (ImageIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o ImageIamPolicyOutput) ToImageIamPolicyOutputWithContext(ctx context.Cont return o } +func (o ImageIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageIamPolicy] { + return pulumix.Output[*ImageIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ImageIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ImageIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/instance.go b/sdk/go/google/compute/v1/instance.go index f001d53f02..9686bf0c4d 100644 --- a/sdk/go/google/compute/v1/instance.go +++ b/sdk/go/google/compute/v1/instance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance resource in the specified project using the data included in the request. @@ -293,6 +294,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -307,6 +314,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. func (o InstanceOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesResponseOutput { return o.ApplyT(func(v *Instance) AdvancedMachineFeaturesResponseOutput { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesResponseOutput) diff --git a/sdk/go/google/compute/v1/instanceGroup.go b/sdk/go/google/compute/v1/instanceGroup.go index 98a1faa803..2a1fc15235 100644 --- a/sdk/go/google/compute/v1/instanceGroup.go +++ b/sdk/go/google/compute/v1/instanceGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance group in the specified project using the parameters that are included in the request. @@ -137,6 +138,12 @@ func (i *InstanceGroup) ToInstanceGroupOutputWithContext(ctx context.Context) In return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupOutput) } +func (i *InstanceGroup) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroup] { + return pulumix.Output[*InstanceGroup]{ + OutputState: i.ToInstanceGroupOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupOutput struct{ *pulumi.OutputState } func (InstanceGroupOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o InstanceGroupOutput) ToInstanceGroupOutputWithContext(ctx context.Contex return o } +func (o InstanceGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroup] { + return pulumix.Output[*InstanceGroup]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance group in RFC3339 text format. func (o InstanceGroupOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *InstanceGroup) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/instanceGroupManager.go b/sdk/go/google/compute/v1/instanceGroupManager.go index def8b7591f..1d78bb827d 100644 --- a/sdk/go/google/compute/v1/instanceGroupManager.go +++ b/sdk/go/google/compute/v1/instanceGroupManager.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit. @@ -197,6 +198,12 @@ func (i *InstanceGroupManager) ToInstanceGroupManagerOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerOutput) } +func (i *InstanceGroupManager) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManager] { + return pulumix.Output[*InstanceGroupManager]{ + OutputState: i.ToInstanceGroupManagerOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerOutput) ElementType() reflect.Type { @@ -211,6 +218,12 @@ func (o InstanceGroupManagerOutput) ToInstanceGroupManagerOutputWithContext(ctx return o } +func (o InstanceGroupManagerOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManager] { + return pulumix.Output[*InstanceGroupManager]{ + OutputState: o.OutputState, + } +} + // The autohealing policy for this managed instance group. You can specify only one value. func (o InstanceGroupManagerOutput) AutoHealingPolicies() InstanceGroupManagerAutoHealingPolicyResponseArrayOutput { return o.ApplyT(func(v *InstanceGroupManager) InstanceGroupManagerAutoHealingPolicyResponseArrayOutput { diff --git a/sdk/go/google/compute/v1/instanceIamBinding.go b/sdk/go/google/compute/v1/instanceIamBinding.go index 98b543adfc..a86188c72d 100644 --- a/sdk/go/google/compute/v1/instanceIamBinding.go +++ b/sdk/go/google/compute/v1/instanceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceIamBindingOutput) } +func (i *InstanceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: i.ToInstanceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx cont return o } +func (o InstanceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/instanceIamMember.go b/sdk/go/google/compute/v1/instanceIamMember.go index f8af73235e..6f5c765d35 100644 --- a/sdk/go/google/compute/v1/instanceIamMember.go +++ b/sdk/go/google/compute/v1/instanceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamMemberOutput) } +func (i *InstanceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: i.ToInstanceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx contex return o } +func (o InstanceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/instanceIamPolicy.go b/sdk/go/google/compute/v1/instanceIamPolicy.go index 59959ea663..e8c4574362 100644 --- a/sdk/go/google/compute/v1/instanceIamPolicy.go +++ b/sdk/go/google/compute/v1/instanceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamPolicyOutput) } +func (i *InstanceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: i.ToInstanceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx contex return o } +func (o InstanceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/instanceTemplate.go b/sdk/go/google/compute/v1/instanceTemplate.go index f0e15070a3..192a402261 100644 --- a/sdk/go/google/compute/v1/instanceTemplate.go +++ b/sdk/go/google/compute/v1/instanceTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. @@ -137,6 +138,12 @@ func (i *InstanceTemplate) ToInstanceTemplateOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateOutput) } +func (i *InstanceTemplate) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplate] { + return pulumix.Output[*InstanceTemplate]{ + OutputState: i.ToInstanceTemplateOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateOutput struct{ *pulumi.OutputState } func (InstanceTemplateOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o InstanceTemplateOutput) ToInstanceTemplateOutputWithContext(ctx context. return o } +func (o InstanceTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplate] { + return pulumix.Output[*InstanceTemplate]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o InstanceTemplateOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *InstanceTemplate) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/instanceTemplateIamBinding.go b/sdk/go/google/compute/v1/instanceTemplateIamBinding.go index b9c023a0a9..e58f906151 100644 --- a/sdk/go/google/compute/v1/instanceTemplateIamBinding.go +++ b/sdk/go/google/compute/v1/instanceTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceTemplateIamBinding) ToInstanceTemplateIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateIamBindingOutput) } +func (i *InstanceTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamBinding] { + return pulumix.Output[*InstanceTemplateIamBinding]{ + OutputState: i.ToInstanceTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateIamBindingOutput struct{ *pulumi.OutputState } func (InstanceTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceTemplateIamBindingOutput) ToInstanceTemplateIamBindingOutputWith return o } +func (o InstanceTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamBinding] { + return pulumix.Output[*InstanceTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/instanceTemplateIamMember.go b/sdk/go/google/compute/v1/instanceTemplateIamMember.go index 9f43950aa5..837ee6fb20 100644 --- a/sdk/go/google/compute/v1/instanceTemplateIamMember.go +++ b/sdk/go/google/compute/v1/instanceTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *InstanceTemplateIamMember) ToInstanceTemplateIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateIamMemberOutput) } +func (i *InstanceTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamMember] { + return pulumix.Output[*InstanceTemplateIamMember]{ + OutputState: i.ToInstanceTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateIamMemberOutput struct{ *pulumi.OutputState } func (InstanceTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceTemplateIamMemberOutput) ToInstanceTemplateIamMemberOutputWithCo return o } +func (o InstanceTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamMember] { + return pulumix.Output[*InstanceTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/instanceTemplateIamPolicy.go b/sdk/go/google/compute/v1/instanceTemplateIamPolicy.go index a650ee4052..675ff64b41 100644 --- a/sdk/go/google/compute/v1/instanceTemplateIamPolicy.go +++ b/sdk/go/google/compute/v1/instanceTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *InstanceTemplateIamPolicy) ToInstanceTemplateIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(InstanceTemplateIamPolicyOutput) } +func (i *InstanceTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamPolicy] { + return pulumix.Output[*InstanceTemplateIamPolicy]{ + OutputState: i.ToInstanceTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o InstanceTemplateIamPolicyOutput) ToInstanceTemplateIamPolicyOutputWithCo return o } +func (o InstanceTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTemplateIamPolicy] { + return pulumix.Output[*InstanceTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceTemplateIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceTemplateIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/interconnect.go b/sdk/go/google/compute/v1/interconnect.go index 8dbde8b96f..5334290f38 100644 --- a/sdk/go/google/compute/v1/interconnect.go +++ b/sdk/go/google/compute/v1/interconnect.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Interconnect in the specified project using the data included in the request. @@ -193,6 +194,12 @@ func (i *Interconnect) ToInterconnectOutputWithContext(ctx context.Context) Inte return pulumi.ToOutputWithContext(ctx, i).(InterconnectOutput) } +func (i *Interconnect) ToOutput(ctx context.Context) pulumix.Output[*Interconnect] { + return pulumix.Output[*Interconnect]{ + OutputState: i.ToInterconnectOutputWithContext(ctx).OutputState, + } +} + type InterconnectOutput struct{ *pulumi.OutputState } func (InterconnectOutput) ElementType() reflect.Type { @@ -207,6 +214,12 @@ func (o InterconnectOutput) ToInterconnectOutputWithContext(ctx context.Context) return o } +func (o InterconnectOutput) ToOutput(ctx context.Context) pulumix.Output[*Interconnect] { + return pulumix.Output[*Interconnect]{ + OutputState: o.OutputState, + } +} + // Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. func (o InterconnectOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *Interconnect) pulumi.BoolOutput { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/interconnectAttachment.go b/sdk/go/google/compute/v1/interconnectAttachment.go index 995e2b16f6..2d4920aae7 100644 --- a/sdk/go/google/compute/v1/interconnectAttachment.go +++ b/sdk/go/google/compute/v1/interconnectAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an InterconnectAttachment in the specified project using the data included in the request. @@ -273,6 +274,12 @@ func (i *InterconnectAttachment) ToInterconnectAttachmentOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentOutput) } +func (i *InterconnectAttachment) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachment] { + return pulumix.Output[*InterconnectAttachment]{ + OutputState: i.ToInterconnectAttachmentOutputWithContext(ctx).OutputState, + } +} + type InterconnectAttachmentOutput struct{ *pulumi.OutputState } func (InterconnectAttachmentOutput) ElementType() reflect.Type { @@ -287,6 +294,12 @@ func (o InterconnectAttachmentOutput) ToInterconnectAttachmentOutputWithContext( return o } +func (o InterconnectAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachment] { + return pulumix.Output[*InterconnectAttachment]{ + OutputState: o.OutputState, + } +} + // Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. func (o InterconnectAttachmentOutput) AdminEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *InterconnectAttachment) pulumi.BoolOutput { return v.AdminEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/license.go b/sdk/go/google/compute/v1/license.go index a00b0c16c0..6115b1b301 100644 --- a/sdk/go/google/compute/v1/license.go +++ b/sdk/go/google/compute/v1/license.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -132,6 +133,12 @@ func (i *License) ToLicenseOutputWithContext(ctx context.Context) LicenseOutput return pulumi.ToOutputWithContext(ctx, i).(LicenseOutput) } +func (i *License) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: i.ToLicenseOutputWithContext(ctx).OutputState, + } +} + type LicenseOutput struct{ *pulumi.OutputState } func (LicenseOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o LicenseOutput) ToLicenseOutputWithContext(ctx context.Context) LicenseOu return o } +func (o LicenseOutput) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: o.OutputState, + } +} + // Deprecated. This field no longer reflects whether a license charges a usage fee. // // Deprecated: [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. diff --git a/sdk/go/google/compute/v1/licenseIamBinding.go b/sdk/go/google/compute/v1/licenseIamBinding.go index f8a4cb1255..0fd64fb84a 100644 --- a/sdk/go/google/compute/v1/licenseIamBinding.go +++ b/sdk/go/google/compute/v1/licenseIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -135,6 +136,12 @@ func (i *LicenseIamBinding) ToLicenseIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(LicenseIamBindingOutput) } +func (i *LicenseIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamBinding] { + return pulumix.Output[*LicenseIamBinding]{ + OutputState: i.ToLicenseIamBindingOutputWithContext(ctx).OutputState, + } +} + type LicenseIamBindingOutput struct{ *pulumi.OutputState } func (LicenseIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o LicenseIamBindingOutput) ToLicenseIamBindingOutputWithContext(ctx contex return o } +func (o LicenseIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamBinding] { + return pulumix.Output[*LicenseIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LicenseIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LicenseIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/licenseIamMember.go b/sdk/go/google/compute/v1/licenseIamMember.go index a2f2ec4875..488bc26eac 100644 --- a/sdk/go/google/compute/v1/licenseIamMember.go +++ b/sdk/go/google/compute/v1/licenseIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -135,6 +136,12 @@ func (i *LicenseIamMember) ToLicenseIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(LicenseIamMemberOutput) } +func (i *LicenseIamMember) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamMember] { + return pulumix.Output[*LicenseIamMember]{ + OutputState: i.ToLicenseIamMemberOutputWithContext(ctx).OutputState, + } +} + type LicenseIamMemberOutput struct{ *pulumi.OutputState } func (LicenseIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o LicenseIamMemberOutput) ToLicenseIamMemberOutputWithContext(ctx context. return o } +func (o LicenseIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamMember] { + return pulumix.Output[*LicenseIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LicenseIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LicenseIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/licenseIamPolicy.go b/sdk/go/google/compute/v1/licenseIamPolicy.go index aa331cf56c..e2e0b5e16e 100644 --- a/sdk/go/google/compute/v1/licenseIamPolicy.go +++ b/sdk/go/google/compute/v1/licenseIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. @@ -133,6 +134,12 @@ func (i *LicenseIamPolicy) ToLicenseIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(LicenseIamPolicyOutput) } +func (i *LicenseIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamPolicy] { + return pulumix.Output[*LicenseIamPolicy]{ + OutputState: i.ToLicenseIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LicenseIamPolicyOutput struct{ *pulumi.OutputState } func (LicenseIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o LicenseIamPolicyOutput) ToLicenseIamPolicyOutputWithContext(ctx context. return o } +func (o LicenseIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseIamPolicy] { + return pulumix.Output[*LicenseIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LicenseIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *LicenseIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/machineImage.go b/sdk/go/google/compute/v1/machineImage.go index dfc29afa48..93ae824326 100644 --- a/sdk/go/google/compute/v1/machineImage.go +++ b/sdk/go/google/compute/v1/machineImage.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance. @@ -168,6 +169,12 @@ func (i *MachineImage) ToMachineImageOutputWithContext(ctx context.Context) Mach return pulumi.ToOutputWithContext(ctx, i).(MachineImageOutput) } +func (i *MachineImage) ToOutput(ctx context.Context) pulumix.Output[*MachineImage] { + return pulumix.Output[*MachineImage]{ + OutputState: i.ToMachineImageOutputWithContext(ctx).OutputState, + } +} + type MachineImageOutput struct{ *pulumi.OutputState } func (MachineImageOutput) ElementType() reflect.Type { @@ -182,6 +189,12 @@ func (o MachineImageOutput) ToMachineImageOutputWithContext(ctx context.Context) return o } +func (o MachineImageOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImage] { + return pulumix.Output[*MachineImage]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this machine image in RFC3339 text format. func (o MachineImageOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *MachineImage) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/machineImageIamBinding.go b/sdk/go/google/compute/v1/machineImageIamBinding.go index 2d6ebc4136..3b028a03b6 100644 --- a/sdk/go/google/compute/v1/machineImageIamBinding.go +++ b/sdk/go/google/compute/v1/machineImageIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *MachineImageIamBinding) ToMachineImageIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MachineImageIamBindingOutput) } +func (i *MachineImageIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamBinding] { + return pulumix.Output[*MachineImageIamBinding]{ + OutputState: i.ToMachineImageIamBindingOutputWithContext(ctx).OutputState, + } +} + type MachineImageIamBindingOutput struct{ *pulumi.OutputState } func (MachineImageIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MachineImageIamBindingOutput) ToMachineImageIamBindingOutputWithContext( return o } +func (o MachineImageIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamBinding] { + return pulumix.Output[*MachineImageIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MachineImageIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MachineImageIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/machineImageIamMember.go b/sdk/go/google/compute/v1/machineImageIamMember.go index bf7b98c84e..f7a19f54e0 100644 --- a/sdk/go/google/compute/v1/machineImageIamMember.go +++ b/sdk/go/google/compute/v1/machineImageIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *MachineImageIamMember) ToMachineImageIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MachineImageIamMemberOutput) } +func (i *MachineImageIamMember) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamMember] { + return pulumix.Output[*MachineImageIamMember]{ + OutputState: i.ToMachineImageIamMemberOutputWithContext(ctx).OutputState, + } +} + type MachineImageIamMemberOutput struct{ *pulumi.OutputState } func (MachineImageIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MachineImageIamMemberOutput) ToMachineImageIamMemberOutputWithContext(ct return o } +func (o MachineImageIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamMember] { + return pulumix.Output[*MachineImageIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MachineImageIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MachineImageIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/machineImageIamPolicy.go b/sdk/go/google/compute/v1/machineImageIamPolicy.go index 73b2e738a3..db250c84cd 100644 --- a/sdk/go/google/compute/v1/machineImageIamPolicy.go +++ b/sdk/go/google/compute/v1/machineImageIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *MachineImageIamPolicy) ToMachineImageIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MachineImageIamPolicyOutput) } +func (i *MachineImageIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamPolicy] { + return pulumix.Output[*MachineImageIamPolicy]{ + OutputState: i.ToMachineImageIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MachineImageIamPolicyOutput struct{ *pulumi.OutputState } func (MachineImageIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o MachineImageIamPolicyOutput) ToMachineImageIamPolicyOutputWithContext(ct return o } +func (o MachineImageIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineImageIamPolicy] { + return pulumix.Output[*MachineImageIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MachineImageIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MachineImageIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/network.go b/sdk/go/google/compute/v1/network.go index 7df621fff4..9d50453dc2 100644 --- a/sdk/go/google/compute/v1/network.go +++ b/sdk/go/google/compute/v1/network.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network in the specified project using the data included in the request. @@ -175,6 +176,12 @@ func (i *Network) ToNetworkOutputWithContext(ctx context.Context) NetworkOutput return pulumi.ToOutputWithContext(ctx, i).(NetworkOutput) } +func (i *Network) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: i.ToNetworkOutputWithContext(ctx).OutputState, + } +} + type NetworkOutput struct{ *pulumi.OutputState } func (NetworkOutput) ElementType() reflect.Type { @@ -189,6 +196,12 @@ func (o NetworkOutput) ToNetworkOutputWithContext(ctx context.Context) NetworkOu return o } +func (o NetworkOutput) ToOutput(ctx context.Context) pulumix.Output[*Network] { + return pulumix.Output[*Network]{ + OutputState: o.OutputState, + } +} + // Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method. func (o NetworkOutput) AutoCreateSubnetworks() pulumi.BoolOutput { return o.ApplyT(func(v *Network) pulumi.BoolOutput { return v.AutoCreateSubnetworks }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/networkAttachment.go b/sdk/go/google/compute/v1/networkAttachment.go index 07b3d5c66f..0d65767635 100644 --- a/sdk/go/google/compute/v1/networkAttachment.go +++ b/sdk/go/google/compute/v1/networkAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request. @@ -154,6 +155,12 @@ func (i *NetworkAttachment) ToNetworkAttachmentOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentOutput) } +func (i *NetworkAttachment) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachment] { + return pulumix.Output[*NetworkAttachment]{ + OutputState: i.ToNetworkAttachmentOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentOutput struct{ *pulumi.OutputState } func (NetworkAttachmentOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o NetworkAttachmentOutput) ToNetworkAttachmentOutputWithContext(ctx contex return o } +func (o NetworkAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachment] { + return pulumix.Output[*NetworkAttachment]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the producers connected to this network attachment. func (o NetworkAttachmentOutput) ConnectionEndpoints() NetworkAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v *NetworkAttachment) NetworkAttachmentConnectedEndpointResponseArrayOutput { diff --git a/sdk/go/google/compute/v1/networkAttachmentIamBinding.go b/sdk/go/google/compute/v1/networkAttachmentIamBinding.go index a84b2c0d2d..311cc61625 100644 --- a/sdk/go/google/compute/v1/networkAttachmentIamBinding.go +++ b/sdk/go/google/compute/v1/networkAttachmentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkAttachmentIamBinding) ToNetworkAttachmentIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentIamBindingOutput) } +func (i *NetworkAttachmentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamBinding] { + return pulumix.Output[*NetworkAttachmentIamBinding]{ + OutputState: i.ToNetworkAttachmentIamBindingOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentIamBindingOutput struct{ *pulumi.OutputState } func (NetworkAttachmentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkAttachmentIamBindingOutput) ToNetworkAttachmentIamBindingOutputWi return o } +func (o NetworkAttachmentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamBinding] { + return pulumix.Output[*NetworkAttachmentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkAttachmentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkAttachmentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/networkAttachmentIamMember.go b/sdk/go/google/compute/v1/networkAttachmentIamMember.go index 003334f2fa..487b7236ce 100644 --- a/sdk/go/google/compute/v1/networkAttachmentIamMember.go +++ b/sdk/go/google/compute/v1/networkAttachmentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkAttachmentIamMember) ToNetworkAttachmentIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentIamMemberOutput) } +func (i *NetworkAttachmentIamMember) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamMember] { + return pulumix.Output[*NetworkAttachmentIamMember]{ + OutputState: i.ToNetworkAttachmentIamMemberOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentIamMemberOutput struct{ *pulumi.OutputState } func (NetworkAttachmentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkAttachmentIamMemberOutput) ToNetworkAttachmentIamMemberOutputWith return o } +func (o NetworkAttachmentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamMember] { + return pulumix.Output[*NetworkAttachmentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkAttachmentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkAttachmentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/networkAttachmentIamPolicy.go b/sdk/go/google/compute/v1/networkAttachmentIamPolicy.go index 4841e18b8c..268e30b0de 100644 --- a/sdk/go/google/compute/v1/networkAttachmentIamPolicy.go +++ b/sdk/go/google/compute/v1/networkAttachmentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *NetworkAttachmentIamPolicy) ToNetworkAttachmentIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NetworkAttachmentIamPolicyOutput) } +func (i *NetworkAttachmentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamPolicy] { + return pulumix.Output[*NetworkAttachmentIamPolicy]{ + OutputState: i.ToNetworkAttachmentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentIamPolicyOutput struct{ *pulumi.OutputState } func (NetworkAttachmentIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o NetworkAttachmentIamPolicyOutput) ToNetworkAttachmentIamPolicyOutputWith return o } +func (o NetworkAttachmentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentIamPolicy] { + return pulumix.Output[*NetworkAttachmentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NetworkAttachmentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NetworkAttachmentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/networkEdgeSecurityService.go b/sdk/go/google/compute/v1/networkEdgeSecurityService.go index 80c2409f0a..8aeddf6ae9 100644 --- a/sdk/go/google/compute/v1/networkEdgeSecurityService.go +++ b/sdk/go/google/compute/v1/networkEdgeSecurityService.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new service in the specified project using the data included in the request. @@ -135,6 +136,12 @@ func (i *NetworkEdgeSecurityService) ToNetworkEdgeSecurityServiceOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NetworkEdgeSecurityServiceOutput) } +func (i *NetworkEdgeSecurityService) ToOutput(ctx context.Context) pulumix.Output[*NetworkEdgeSecurityService] { + return pulumix.Output[*NetworkEdgeSecurityService]{ + OutputState: i.ToNetworkEdgeSecurityServiceOutputWithContext(ctx).OutputState, + } +} + type NetworkEdgeSecurityServiceOutput struct{ *pulumi.OutputState } func (NetworkEdgeSecurityServiceOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkEdgeSecurityServiceOutput) ToNetworkEdgeSecurityServiceOutputWith return o } +func (o NetworkEdgeSecurityServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEdgeSecurityService] { + return pulumix.Output[*NetworkEdgeSecurityService]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o NetworkEdgeSecurityServiceOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *NetworkEdgeSecurityService) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/networkEndpointGroup.go b/sdk/go/google/compute/v1/networkEndpointGroup.go index 5f5c67d0de..123b53dadd 100644 --- a/sdk/go/google/compute/v1/networkEndpointGroup.go +++ b/sdk/go/google/compute/v1/networkEndpointGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network endpoint group in the specified project using the parameters that are included in the request. @@ -182,6 +183,12 @@ func (i *NetworkEndpointGroup) ToNetworkEndpointGroupOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupOutput) } +func (i *NetworkEndpointGroup) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroup] { + return pulumix.Output[*NetworkEndpointGroup]{ + OutputState: i.ToNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + type NetworkEndpointGroupOutput struct{ *pulumi.OutputState } func (NetworkEndpointGroupOutput) ElementType() reflect.Type { @@ -196,6 +203,12 @@ func (o NetworkEndpointGroupOutput) ToNetworkEndpointGroupOutputWithContext(ctx return o } +func (o NetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroup] { + return pulumix.Output[*NetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o NetworkEndpointGroupOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *NetworkEndpointGroup) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/v1/networkFirewallPolicy.go b/sdk/go/google/compute/v1/networkFirewallPolicy.go index 994c90168b..9a0f8a670f 100644 --- a/sdk/go/google/compute/v1/networkFirewallPolicy.go +++ b/sdk/go/google/compute/v1/networkFirewallPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -157,6 +158,12 @@ func (i *NetworkFirewallPolicy) ToNetworkFirewallPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyOutput) } +func (i *NetworkFirewallPolicy) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicy] { + return pulumix.Output[*NetworkFirewallPolicy]{ + OutputState: i.ToNetworkFirewallPolicyOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o NetworkFirewallPolicyOutput) ToNetworkFirewallPolicyOutputWithContext(ct return o } +func (o NetworkFirewallPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicy] { + return pulumix.Output[*NetworkFirewallPolicy]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o NetworkFirewallPolicyOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v *NetworkFirewallPolicy) FirewallPolicyAssociationResponseArrayOutput { return v.Associations }).(FirewallPolicyAssociationResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/networkFirewallPolicyIamBinding.go b/sdk/go/google/compute/v1/networkFirewallPolicyIamBinding.go index 0be1c40d1e..0c1ccc8b74 100644 --- a/sdk/go/google/compute/v1/networkFirewallPolicyIamBinding.go +++ b/sdk/go/google/compute/v1/networkFirewallPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkFirewallPolicyIamBinding) ToNetworkFirewallPolicyIamBindingOutpu return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyIamBindingOutput) } +func (i *NetworkFirewallPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamBinding] { + return pulumix.Output[*NetworkFirewallPolicyIamBinding]{ + OutputState: i.ToNetworkFirewallPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyIamBindingOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkFirewallPolicyIamBindingOutput) ToNetworkFirewallPolicyIamBinding return o } +func (o NetworkFirewallPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamBinding] { + return pulumix.Output[*NetworkFirewallPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkFirewallPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkFirewallPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/networkFirewallPolicyIamMember.go b/sdk/go/google/compute/v1/networkFirewallPolicyIamMember.go index 49fbfd1e78..69e0d85723 100644 --- a/sdk/go/google/compute/v1/networkFirewallPolicyIamMember.go +++ b/sdk/go/google/compute/v1/networkFirewallPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NetworkFirewallPolicyIamMember) ToNetworkFirewallPolicyIamMemberOutputW return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyIamMemberOutput) } +func (i *NetworkFirewallPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamMember] { + return pulumix.Output[*NetworkFirewallPolicyIamMember]{ + OutputState: i.ToNetworkFirewallPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyIamMemberOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NetworkFirewallPolicyIamMemberOutput) ToNetworkFirewallPolicyIamMemberOu return o } +func (o NetworkFirewallPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamMember] { + return pulumix.Output[*NetworkFirewallPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NetworkFirewallPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NetworkFirewallPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/networkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/v1/networkFirewallPolicyIamPolicy.go index c08db92ffc..2f808971c1 100644 --- a/sdk/go/google/compute/v1/networkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/v1/networkFirewallPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *NetworkFirewallPolicyIamPolicy) ToNetworkFirewallPolicyIamPolicyOutputW return pulumi.ToOutputWithContext(ctx, i).(NetworkFirewallPolicyIamPolicyOutput) } +func (i *NetworkFirewallPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*NetworkFirewallPolicyIamPolicy]{ + OutputState: i.ToNetworkFirewallPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NetworkFirewallPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (NetworkFirewallPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o NetworkFirewallPolicyIamPolicyOutput) ToNetworkFirewallPolicyIamPolicyOu return o } +func (o NetworkFirewallPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*NetworkFirewallPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NetworkFirewallPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NetworkFirewallPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/nodeGroup.go b/sdk/go/google/compute/v1/nodeGroup.go index c4677ac22a..f2edf9cc72 100644 --- a/sdk/go/google/compute/v1/nodeGroup.go +++ b/sdk/go/google/compute/v1/nodeGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a NodeGroup resource in the specified project using the data included in the request. @@ -169,6 +170,12 @@ func (i *NodeGroup) ToNodeGroupOutputWithContext(ctx context.Context) NodeGroupO return pulumi.ToOutputWithContext(ctx, i).(NodeGroupOutput) } +func (i *NodeGroup) ToOutput(ctx context.Context) pulumix.Output[*NodeGroup] { + return pulumix.Output[*NodeGroup]{ + OutputState: i.ToNodeGroupOutputWithContext(ctx).OutputState, + } +} + type NodeGroupOutput struct{ *pulumi.OutputState } func (NodeGroupOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o NodeGroupOutput) ToNodeGroupOutputWithContext(ctx context.Context) NodeG return o } +func (o NodeGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroup] { + return pulumix.Output[*NodeGroup]{ + OutputState: o.OutputState, + } +} + // Specifies how autoscaling should behave. func (o NodeGroupOutput) AutoscalingPolicy() NodeGroupAutoscalingPolicyResponseOutput { return o.ApplyT(func(v *NodeGroup) NodeGroupAutoscalingPolicyResponseOutput { return v.AutoscalingPolicy }).(NodeGroupAutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/v1/nodeGroupIamBinding.go b/sdk/go/google/compute/v1/nodeGroupIamBinding.go index 5f5c65a118..5685785f2a 100644 --- a/sdk/go/google/compute/v1/nodeGroupIamBinding.go +++ b/sdk/go/google/compute/v1/nodeGroupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeGroupIamBinding) ToNodeGroupIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(NodeGroupIamBindingOutput) } +func (i *NodeGroupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamBinding] { + return pulumix.Output[*NodeGroupIamBinding]{ + OutputState: i.ToNodeGroupIamBindingOutputWithContext(ctx).OutputState, + } +} + type NodeGroupIamBindingOutput struct{ *pulumi.OutputState } func (NodeGroupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeGroupIamBindingOutput) ToNodeGroupIamBindingOutputWithContext(ctx co return o } +func (o NodeGroupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamBinding] { + return pulumix.Output[*NodeGroupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeGroupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeGroupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/nodeGroupIamMember.go b/sdk/go/google/compute/v1/nodeGroupIamMember.go index 3f1b5ce489..4f72d5261c 100644 --- a/sdk/go/google/compute/v1/nodeGroupIamMember.go +++ b/sdk/go/google/compute/v1/nodeGroupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeGroupIamMember) ToNodeGroupIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NodeGroupIamMemberOutput) } +func (i *NodeGroupIamMember) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamMember] { + return pulumix.Output[*NodeGroupIamMember]{ + OutputState: i.ToNodeGroupIamMemberOutputWithContext(ctx).OutputState, + } +} + type NodeGroupIamMemberOutput struct{ *pulumi.OutputState } func (NodeGroupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeGroupIamMemberOutput) ToNodeGroupIamMemberOutputWithContext(ctx cont return o } +func (o NodeGroupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamMember] { + return pulumix.Output[*NodeGroupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeGroupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeGroupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/nodeGroupIamPolicy.go b/sdk/go/google/compute/v1/nodeGroupIamPolicy.go index 969a73e442..081eedc01c 100644 --- a/sdk/go/google/compute/v1/nodeGroupIamPolicy.go +++ b/sdk/go/google/compute/v1/nodeGroupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *NodeGroupIamPolicy) ToNodeGroupIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NodeGroupIamPolicyOutput) } +func (i *NodeGroupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamPolicy] { + return pulumix.Output[*NodeGroupIamPolicy]{ + OutputState: i.ToNodeGroupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NodeGroupIamPolicyOutput struct{ *pulumi.OutputState } func (NodeGroupIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o NodeGroupIamPolicyOutput) ToNodeGroupIamPolicyOutputWithContext(ctx cont return o } +func (o NodeGroupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupIamPolicy] { + return pulumix.Output[*NodeGroupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NodeGroupIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NodeGroupIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/nodeTemplate.go b/sdk/go/google/compute/v1/nodeTemplate.go index 6283052bf2..a690786a80 100644 --- a/sdk/go/google/compute/v1/nodeTemplate.go +++ b/sdk/go/google/compute/v1/nodeTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a NodeTemplate resource in the specified project using the data included in the request. @@ -165,6 +166,12 @@ func (i *NodeTemplate) ToNodeTemplateOutputWithContext(ctx context.Context) Node return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOutput) } +func (i *NodeTemplate) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplate] { + return pulumix.Output[*NodeTemplate]{ + OutputState: i.ToNodeTemplateOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateOutput struct{ *pulumi.OutputState } func (NodeTemplateOutput) ElementType() reflect.Type { @@ -179,6 +186,12 @@ func (o NodeTemplateOutput) ToNodeTemplateOutputWithContext(ctx context.Context) return o } +func (o NodeTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplate] { + return pulumix.Output[*NodeTemplate]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateOutput) Accelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v *NodeTemplate) AcceleratorConfigResponseArrayOutput { return v.Accelerators }).(AcceleratorConfigResponseArrayOutput) } diff --git a/sdk/go/google/compute/v1/nodeTemplateIamBinding.go b/sdk/go/google/compute/v1/nodeTemplateIamBinding.go index 3ac9443d73..0d127bf0cb 100644 --- a/sdk/go/google/compute/v1/nodeTemplateIamBinding.go +++ b/sdk/go/google/compute/v1/nodeTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeTemplateIamBinding) ToNodeTemplateIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateIamBindingOutput) } +func (i *NodeTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamBinding] { + return pulumix.Output[*NodeTemplateIamBinding]{ + OutputState: i.ToNodeTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateIamBindingOutput struct{ *pulumi.OutputState } func (NodeTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeTemplateIamBindingOutput) ToNodeTemplateIamBindingOutputWithContext( return o } +func (o NodeTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamBinding] { + return pulumix.Output[*NodeTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/nodeTemplateIamMember.go b/sdk/go/google/compute/v1/nodeTemplateIamMember.go index 9e6e1b7542..eea98098df 100644 --- a/sdk/go/google/compute/v1/nodeTemplateIamMember.go +++ b/sdk/go/google/compute/v1/nodeTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *NodeTemplateIamMember) ToNodeTemplateIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateIamMemberOutput) } +func (i *NodeTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamMember] { + return pulumix.Output[*NodeTemplateIamMember]{ + OutputState: i.ToNodeTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateIamMemberOutput struct{ *pulumi.OutputState } func (NodeTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NodeTemplateIamMemberOutput) ToNodeTemplateIamMemberOutputWithContext(ct return o } +func (o NodeTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamMember] { + return pulumix.Output[*NodeTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NodeTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NodeTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/nodeTemplateIamPolicy.go b/sdk/go/google/compute/v1/nodeTemplateIamPolicy.go index f2492604d6..3e62aa782c 100644 --- a/sdk/go/google/compute/v1/nodeTemplateIamPolicy.go +++ b/sdk/go/google/compute/v1/nodeTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *NodeTemplateIamPolicy) ToNodeTemplateIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateIamPolicyOutput) } +func (i *NodeTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamPolicy] { + return pulumix.Output[*NodeTemplateIamPolicy]{ + OutputState: i.ToNodeTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (NodeTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o NodeTemplateIamPolicyOutput) ToNodeTemplateIamPolicyOutputWithContext(ct return o } +func (o NodeTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateIamPolicy] { + return pulumix.Output[*NodeTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o NodeTemplateIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *NodeTemplateIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/packetMirroring.go b/sdk/go/google/compute/v1/packetMirroring.go index 6ea7f3d220..cc608ccc9a 100644 --- a/sdk/go/google/compute/v1/packetMirroring.go +++ b/sdk/go/google/compute/v1/packetMirroring.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a PacketMirroring resource in the specified project and region using the data included in the request. @@ -161,6 +162,12 @@ func (i *PacketMirroring) ToPacketMirroringOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringOutput) } +func (i *PacketMirroring) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroring] { + return pulumix.Output[*PacketMirroring]{ + OutputState: i.ToPacketMirroringOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringOutput struct{ *pulumi.OutputState } func (PacketMirroringOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o PacketMirroringOutput) ToPacketMirroringOutputWithContext(ctx context.Co return o } +func (o PacketMirroringOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroring] { + return pulumix.Output[*PacketMirroring]{ + OutputState: o.OutputState, + } +} + // The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true. func (o PacketMirroringOutput) CollectorIlb() PacketMirroringForwardingRuleInfoResponseOutput { return o.ApplyT(func(v *PacketMirroring) PacketMirroringForwardingRuleInfoResponseOutput { return v.CollectorIlb }).(PacketMirroringForwardingRuleInfoResponseOutput) diff --git a/sdk/go/google/compute/v1/publicAdvertisedPrefix.go b/sdk/go/google/compute/v1/publicAdvertisedPrefix.go index 5bf77bbd81..77bb30c6d6 100644 --- a/sdk/go/google/compute/v1/publicAdvertisedPrefix.go +++ b/sdk/go/google/compute/v1/publicAdvertisedPrefix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request. @@ -141,6 +142,12 @@ func (i *PublicAdvertisedPrefix) ToPublicAdvertisedPrefixOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PublicAdvertisedPrefixOutput) } +func (i *PublicAdvertisedPrefix) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefix] { + return pulumix.Output[*PublicAdvertisedPrefix]{ + OutputState: i.ToPublicAdvertisedPrefixOutputWithContext(ctx).OutputState, + } +} + type PublicAdvertisedPrefixOutput struct{ *pulumi.OutputState } func (PublicAdvertisedPrefixOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o PublicAdvertisedPrefixOutput) ToPublicAdvertisedPrefixOutputWithContext( return o } +func (o PublicAdvertisedPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefix] { + return pulumix.Output[*PublicAdvertisedPrefix]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o PublicAdvertisedPrefixOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *PublicAdvertisedPrefix) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/publicDelegatedPrefix.go b/sdk/go/google/compute/v1/publicDelegatedPrefix.go index dd29d2ca09..68a9d18eea 100644 --- a/sdk/go/google/compute/v1/publicDelegatedPrefix.go +++ b/sdk/go/google/compute/v1/publicDelegatedPrefix.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request. @@ -153,6 +154,12 @@ func (i *PublicDelegatedPrefix) ToPublicDelegatedPrefixOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(PublicDelegatedPrefixOutput) } +func (i *PublicDelegatedPrefix) ToOutput(ctx context.Context) pulumix.Output[*PublicDelegatedPrefix] { + return pulumix.Output[*PublicDelegatedPrefix]{ + OutputState: i.ToPublicDelegatedPrefixOutputWithContext(ctx).OutputState, + } +} + type PublicDelegatedPrefixOutput struct{ *pulumi.OutputState } func (PublicDelegatedPrefixOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o PublicDelegatedPrefixOutput) ToPublicDelegatedPrefixOutputWithContext(ct return o } +func (o PublicDelegatedPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicDelegatedPrefix] { + return pulumix.Output[*PublicDelegatedPrefix]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o PublicDelegatedPrefixOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *PublicDelegatedPrefix) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/pulumiEnums.go b/sdk/go/google/compute/v1/pulumiEnums.go index f520df361d..74f7d6a45c 100644 --- a/sdk/go/google/compute/v1/pulumiEnums.go +++ b/sdk/go/google/compute/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. @@ -84,6 +85,12 @@ func (o AccessConfigNetworkTierOutput) ToAccessConfigNetworkTierPtrOutputWithCon }).(AccessConfigNetworkTierPtrOutput) } +func (o AccessConfigNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigNetworkTier] { + return pulumix.Output[AccessConfigNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AccessConfigNetworkTierPtrOutput) ToAccessConfigNetworkTierPtrOutputWith return o } +func (o AccessConfigNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigNetworkTier] { + return pulumix.Output[*AccessConfigNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigNetworkTierPtrOutput) Elem() AccessConfigNetworkTierOutput { return o.ApplyT(func(v *AccessConfigNetworkTier) AccessConfigNetworkTier { if v != nil { @@ -181,6 +194,12 @@ func (in *accessConfigNetworkTierPtr) ToAccessConfigNetworkTierPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(AccessConfigNetworkTierPtrOutput) } +func (in *accessConfigNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigNetworkTier] { + return pulumix.Output[*AccessConfigNetworkTier]{ + OutputState: in.ToAccessConfigNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + // The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. type AccessConfigType string @@ -249,6 +268,12 @@ func (o AccessConfigTypeOutput) ToAccessConfigTypePtrOutputWithContext(ctx conte }).(AccessConfigTypePtrOutput) } +func (o AccessConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigType] { + return pulumix.Output[AccessConfigType]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o AccessConfigTypePtrOutput) ToAccessConfigTypePtrOutputWithContext(ctx co return o } +func (o AccessConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigType] { + return pulumix.Output[*AccessConfigType]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigTypePtrOutput) Elem() AccessConfigTypeOutput { return o.ApplyT(func(v *AccessConfigType) AccessConfigType { if v != nil { @@ -346,6 +377,12 @@ func (in *accessConfigTypePtr) ToAccessConfigTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AccessConfigTypePtrOutput) } +func (in *accessConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AccessConfigType] { + return pulumix.Output[*AccessConfigType]{ + OutputState: in.ToAccessConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. type AddressAddressType string @@ -417,6 +454,12 @@ func (o AddressAddressTypeOutput) ToAddressAddressTypePtrOutputWithContext(ctx c }).(AddressAddressTypePtrOutput) } +func (o AddressAddressTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AddressAddressType] { + return pulumix.Output[AddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o AddressAddressTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -452,6 +495,12 @@ func (o AddressAddressTypePtrOutput) ToAddressAddressTypePtrOutputWithContext(ct return o } +func (o AddressAddressTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressAddressType] { + return pulumix.Output[*AddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o AddressAddressTypePtrOutput) Elem() AddressAddressTypeOutput { return o.ApplyT(func(v *AddressAddressType) AddressAddressType { if v != nil { @@ -514,6 +563,12 @@ func (in *addressAddressTypePtr) ToAddressAddressTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(AddressAddressTypePtrOutput) } +func (in *addressAddressTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AddressAddressType] { + return pulumix.Output[*AddressAddressType]{ + OutputState: in.ToAddressAddressTypePtrOutputWithContext(ctx).OutputState, + } +} + // The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. type AddressIpVersion string @@ -583,6 +638,12 @@ func (o AddressIpVersionOutput) ToAddressIpVersionPtrOutputWithContext(ctx conte }).(AddressIpVersionPtrOutput) } +func (o AddressIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[AddressIpVersion] { + return pulumix.Output[AddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o AddressIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -618,6 +679,12 @@ func (o AddressIpVersionPtrOutput) ToAddressIpVersionPtrOutputWithContext(ctx co return o } +func (o AddressIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressIpVersion] { + return pulumix.Output[*AddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o AddressIpVersionPtrOutput) Elem() AddressIpVersionOutput { return o.ApplyT(func(v *AddressIpVersion) AddressIpVersion { if v != nil { @@ -680,6 +747,12 @@ func (in *addressIpVersionPtr) ToAddressIpVersionPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AddressIpVersionPtrOutput) } +func (in *addressIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*AddressIpVersion] { + return pulumix.Output[*AddressIpVersion]{ + OutputState: in.ToAddressIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. type AddressIpv6EndpointType string @@ -750,6 +823,12 @@ func (o AddressIpv6EndpointTypeOutput) ToAddressIpv6EndpointTypePtrOutputWithCon }).(AddressIpv6EndpointTypePtrOutput) } +func (o AddressIpv6EndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AddressIpv6EndpointType] { + return pulumix.Output[AddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o AddressIpv6EndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -785,6 +864,12 @@ func (o AddressIpv6EndpointTypePtrOutput) ToAddressIpv6EndpointTypePtrOutputWith return o } +func (o AddressIpv6EndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressIpv6EndpointType] { + return pulumix.Output[*AddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o AddressIpv6EndpointTypePtrOutput) Elem() AddressIpv6EndpointTypeOutput { return o.ApplyT(func(v *AddressIpv6EndpointType) AddressIpv6EndpointType { if v != nil { @@ -847,6 +932,12 @@ func (in *addressIpv6EndpointTypePtr) ToAddressIpv6EndpointTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(AddressIpv6EndpointTypePtrOutput) } +func (in *addressIpv6EndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AddressIpv6EndpointType] { + return pulumix.Output[*AddressIpv6EndpointType]{ + OutputState: in.ToAddressIpv6EndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. type AddressNetworkTier string @@ -921,6 +1012,12 @@ func (o AddressNetworkTierOutput) ToAddressNetworkTierPtrOutputWithContext(ctx c }).(AddressNetworkTierPtrOutput) } +func (o AddressNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[AddressNetworkTier] { + return pulumix.Output[AddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AddressNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -956,6 +1053,12 @@ func (o AddressNetworkTierPtrOutput) ToAddressNetworkTierPtrOutputWithContext(ct return o } +func (o AddressNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressNetworkTier] { + return pulumix.Output[*AddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o AddressNetworkTierPtrOutput) Elem() AddressNetworkTierOutput { return o.ApplyT(func(v *AddressNetworkTier) AddressNetworkTier { if v != nil { @@ -1018,6 +1121,12 @@ func (in *addressNetworkTierPtr) ToAddressNetworkTierPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(AddressNetworkTierPtrOutput) } +func (in *addressNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*AddressNetworkTier] { + return pulumix.Output[*AddressNetworkTier]{ + OutputState: in.ToAddressNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + // The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. type AddressPurpose string @@ -1100,6 +1209,12 @@ func (o AddressPurposeOutput) ToAddressPurposePtrOutputWithContext(ctx context.C }).(AddressPurposePtrOutput) } +func (o AddressPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[AddressPurpose] { + return pulumix.Output[AddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o AddressPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1135,6 +1250,12 @@ func (o AddressPurposePtrOutput) ToAddressPurposePtrOutputWithContext(ctx contex return o } +func (o AddressPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressPurpose] { + return pulumix.Output[*AddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o AddressPurposePtrOutput) Elem() AddressPurposeOutput { return o.ApplyT(func(v *AddressPurpose) AddressPurpose { if v != nil { @@ -1197,6 +1318,12 @@ func (in *addressPurposePtr) ToAddressPurposePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(AddressPurposePtrOutput) } +func (in *addressPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*AddressPurpose] { + return pulumix.Output[*AddressPurpose]{ + OutputState: in.ToAddressPurposePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface string @@ -1265,6 +1392,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskIn }).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1300,6 +1433,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskIn return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface] { + return pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) Elem() AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfaceOutput { return o.ApplyT(func(v *AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface { if v != nil { @@ -1362,6 +1501,12 @@ func (in *allocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk return pulumi.ToOutputWithContext(ctx, in).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutput) } +func (in *allocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface] { + return pulumix.Output[*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterface]{ + OutputState: in.ToAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the attached disk. Valid values are arm64 or x86_64. type AttachedDiskInitializeParamsArchitecture string @@ -1434,6 +1579,12 @@ func (o AttachedDiskInitializeParamsArchitectureOutput) ToAttachedDiskInitialize }).(AttachedDiskInitializeParamsArchitecturePtrOutput) } +func (o AttachedDiskInitializeParamsArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParamsArchitecture] { + return pulumix.Output[AttachedDiskInitializeParamsArchitecture]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1469,6 +1620,12 @@ func (o AttachedDiskInitializeParamsArchitecturePtrOutput) ToAttachedDiskInitial return o } +func (o AttachedDiskInitializeParamsArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsArchitecture] { + return pulumix.Output[*AttachedDiskInitializeParamsArchitecture]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsArchitecturePtrOutput) Elem() AttachedDiskInitializeParamsArchitectureOutput { return o.ApplyT(func(v *AttachedDiskInitializeParamsArchitecture) AttachedDiskInitializeParamsArchitecture { if v != nil { @@ -1531,6 +1688,12 @@ func (in *attachedDiskInitializeParamsArchitecturePtr) ToAttachedDiskInitializeP return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskInitializeParamsArchitecturePtrOutput) } +func (in *attachedDiskInitializeParamsArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsArchitecture] { + return pulumix.Output[*AttachedDiskInitializeParamsArchitecture]{ + OutputState: in.ToAttachedDiskInitializeParamsArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies which action to take on instance update with this disk. Default is to use the existing disk. type AttachedDiskInitializeParamsOnUpdateAction string @@ -1603,6 +1766,12 @@ func (o AttachedDiskInitializeParamsOnUpdateActionOutput) ToAttachedDiskInitiali }).(AttachedDiskInitializeParamsOnUpdateActionPtrOutput) } +func (o AttachedDiskInitializeParamsOnUpdateActionOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParamsOnUpdateAction] { + return pulumix.Output[AttachedDiskInitializeParamsOnUpdateAction]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsOnUpdateActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1638,6 +1807,12 @@ func (o AttachedDiskInitializeParamsOnUpdateActionPtrOutput) ToAttachedDiskIniti return o } +func (o AttachedDiskInitializeParamsOnUpdateActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction] { + return pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsOnUpdateActionPtrOutput) Elem() AttachedDiskInitializeParamsOnUpdateActionOutput { return o.ApplyT(func(v *AttachedDiskInitializeParamsOnUpdateAction) AttachedDiskInitializeParamsOnUpdateAction { if v != nil { @@ -1700,6 +1875,12 @@ func (in *attachedDiskInitializeParamsOnUpdateActionPtr) ToAttachedDiskInitializ return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskInitializeParamsOnUpdateActionPtrOutput) } +func (in *attachedDiskInitializeParamsOnUpdateActionPtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction] { + return pulumix.Output[*AttachedDiskInitializeParamsOnUpdateAction]{ + OutputState: in.ToAttachedDiskInitializeParamsOnUpdateActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks. type AttachedDiskInterface string @@ -1768,6 +1949,12 @@ func (o AttachedDiskInterfaceOutput) ToAttachedDiskInterfacePtrOutputWithContext }).(AttachedDiskInterfacePtrOutput) } +func (o AttachedDiskInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInterface] { + return pulumix.Output[AttachedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInterfaceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1803,6 +1990,12 @@ func (o AttachedDiskInterfacePtrOutput) ToAttachedDiskInterfacePtrOutputWithCont return o } +func (o AttachedDiskInterfacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInterface] { + return pulumix.Output[*AttachedDiskInterface]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInterfacePtrOutput) Elem() AttachedDiskInterfaceOutput { return o.ApplyT(func(v *AttachedDiskInterface) AttachedDiskInterface { if v != nil { @@ -1865,6 +2058,12 @@ func (in *attachedDiskInterfacePtr) ToAttachedDiskInterfacePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskInterfacePtrOutput) } +func (in *attachedDiskInterfacePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInterface] { + return pulumix.Output[*AttachedDiskInterface]{ + OutputState: in.ToAttachedDiskInterfacePtrOutputWithContext(ctx).OutputState, + } +} + // The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. type AttachedDiskMode string @@ -1935,6 +2134,12 @@ func (o AttachedDiskModeOutput) ToAttachedDiskModePtrOutputWithContext(ctx conte }).(AttachedDiskModePtrOutput) } +func (o AttachedDiskModeOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskMode] { + return pulumix.Output[AttachedDiskMode]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1970,6 +2175,12 @@ func (o AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutputWithContext(ctx co return o } +func (o AttachedDiskModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskMode] { + return pulumix.Output[*AttachedDiskMode]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskModePtrOutput) Elem() AttachedDiskModeOutput { return o.ApplyT(func(v *AttachedDiskMode) AttachedDiskMode { if v != nil { @@ -2032,6 +2243,12 @@ func (in *attachedDiskModePtr) ToAttachedDiskModePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskModePtrOutput) } +func (in *attachedDiskModePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskMode] { + return pulumix.Output[*AttachedDiskMode]{ + OutputState: in.ToAttachedDiskModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. type AttachedDiskType string @@ -2100,6 +2317,12 @@ func (o AttachedDiskTypeOutput) ToAttachedDiskTypePtrOutputWithContext(ctx conte }).(AttachedDiskTypePtrOutput) } +func (o AttachedDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskType] { + return pulumix.Output[AttachedDiskType]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2135,6 +2358,12 @@ func (o AttachedDiskTypePtrOutput) ToAttachedDiskTypePtrOutputWithContext(ctx co return o } +func (o AttachedDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskType] { + return pulumix.Output[*AttachedDiskType]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskTypePtrOutput) Elem() AttachedDiskTypeOutput { return o.ApplyT(func(v *AttachedDiskType) AttachedDiskType { if v != nil { @@ -2197,6 +2426,12 @@ func (in *attachedDiskTypePtr) ToAttachedDiskTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskTypePtrOutput) } +func (in *attachedDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskType] { + return pulumix.Output[*AttachedDiskType]{ + OutputState: in.ToAttachedDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type AuditLogConfigLogType string @@ -2271,6 +2506,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2306,6 +2547,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -2368,6 +2615,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type AuthorizationLoggingOptionsPermissionType string @@ -2444,6 +2697,12 @@ func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToAuthorizationLoggingO }).(AuthorizationLoggingOptionsPermissionTypePtrOutput) } +func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[AuthorizationLoggingOptionsPermissionType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2479,6 +2738,12 @@ func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) ToAuthorizationLoggi return o } +func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[*AuthorizationLoggingOptionsPermissionType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) Elem() AuthorizationLoggingOptionsPermissionTypeOutput { return o.ApplyT(func(v *AuthorizationLoggingOptionsPermissionType) AuthorizationLoggingOptionsPermissionType { if v != nil { @@ -2541,6 +2806,12 @@ func (in *authorizationLoggingOptionsPermissionTypePtr) ToAuthorizationLoggingOp return pulumi.ToOutputWithContext(ctx, in).(AuthorizationLoggingOptionsPermissionTypePtrOutput) } +func (in *authorizationLoggingOptionsPermissionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[*AuthorizationLoggingOptionsPermissionType]{ + OutputState: in.ToAuthorizationLoggingOptionsPermissionTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. type AutoscalingPolicyCpuUtilizationPredictiveMethod string @@ -2611,6 +2882,12 @@ func (o AutoscalingPolicyCpuUtilizationPredictiveMethodOutput) ToAutoscalingPoli }).(AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) } +func (o AutoscalingPolicyCpuUtilizationPredictiveMethodOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilizationPredictiveMethod] { + return pulumix.Output[AutoscalingPolicyCpuUtilizationPredictiveMethod]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCpuUtilizationPredictiveMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2646,6 +2923,12 @@ func (o AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) ToAutoscalingP return o } +func (o AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod] { + return pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) Elem() AutoscalingPolicyCpuUtilizationPredictiveMethodOutput { return o.ApplyT(func(v *AutoscalingPolicyCpuUtilizationPredictiveMethod) AutoscalingPolicyCpuUtilizationPredictiveMethod { if v != nil { @@ -2708,6 +2991,12 @@ func (in *autoscalingPolicyCpuUtilizationPredictiveMethodPtr) ToAutoscalingPolic return pulumi.ToOutputWithContext(ctx, in).(AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput) } +func (in *autoscalingPolicyCpuUtilizationPredictiveMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod] { + return pulumix.Output[*AutoscalingPolicyCpuUtilizationPredictiveMethod]{ + OutputState: in.ToAutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. type AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType string @@ -2780,6 +3069,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput) ToA }).(AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) } +func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2815,6 +3110,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) return o } +func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType] { + return pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) Elem() AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypeOutput { return o.ApplyT(func(v *AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType) AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType { if v != nil { @@ -2877,6 +3178,12 @@ func (in *autoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtr) ToAu return pulumi.ToOutputWithContext(ctx, in).(AutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutput) } +func (in *autoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType] { + return pulumix.Output[*AutoscalingPolicyCustomMetricUtilizationUtilizationTargetType]{ + OutputState: in.ToAutoscalingPolicyCustomMetricUtilizationUtilizationTargetTypePtrOutputWithContext(ctx).OutputState, + } +} + // Defines operating mode for this policy. type AutoscalingPolicyMode string @@ -2951,6 +3258,12 @@ func (o AutoscalingPolicyModeOutput) ToAutoscalingPolicyModePtrOutputWithContext }).(AutoscalingPolicyModePtrOutput) } +func (o AutoscalingPolicyModeOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyMode] { + return pulumix.Output[AutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2986,6 +3299,12 @@ func (o AutoscalingPolicyModePtrOutput) ToAutoscalingPolicyModePtrOutputWithCont return o } +func (o AutoscalingPolicyModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyMode] { + return pulumix.Output[*AutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyModePtrOutput) Elem() AutoscalingPolicyModeOutput { return o.ApplyT(func(v *AutoscalingPolicyMode) AutoscalingPolicyMode { if v != nil { @@ -3048,6 +3367,12 @@ func (in *autoscalingPolicyModePtr) ToAutoscalingPolicyModePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AutoscalingPolicyModePtrOutput) } +func (in *autoscalingPolicyModePtr) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyMode] { + return pulumix.Output[*AutoscalingPolicyMode]{ + OutputState: in.ToAutoscalingPolicyModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. type BackendBalancingMode string @@ -3120,6 +3445,12 @@ func (o BackendBalancingModeOutput) ToBackendBalancingModePtrOutputWithContext(c }).(BackendBalancingModePtrOutput) } +func (o BackendBalancingModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBalancingMode] { + return pulumix.Output[BackendBalancingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBalancingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3155,6 +3486,12 @@ func (o BackendBalancingModePtrOutput) ToBackendBalancingModePtrOutputWithContex return o } +func (o BackendBalancingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBalancingMode] { + return pulumix.Output[*BackendBalancingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBalancingModePtrOutput) Elem() BackendBalancingModeOutput { return o.ApplyT(func(v *BackendBalancingMode) BackendBalancingMode { if v != nil { @@ -3217,6 +3554,12 @@ func (in *backendBalancingModePtr) ToBackendBalancingModePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(BackendBalancingModePtrOutput) } +func (in *backendBalancingModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendBalancingMode] { + return pulumix.Output[*BackendBalancingMode]{ + OutputState: in.ToBackendBalancingModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. type BackendBucketCdnPolicyCacheMode string @@ -3290,6 +3633,12 @@ func (o BackendBucketCdnPolicyCacheModeOutput) ToBackendBucketCdnPolicyCacheMode }).(BackendBucketCdnPolicyCacheModePtrOutput) } +func (o BackendBucketCdnPolicyCacheModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheMode] { + return pulumix.Output[BackendBucketCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyCacheModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3325,6 +3674,12 @@ func (o BackendBucketCdnPolicyCacheModePtrOutput) ToBackendBucketCdnPolicyCacheM return o } +func (o BackendBucketCdnPolicyCacheModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheMode] { + return pulumix.Output[*BackendBucketCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyCacheModePtrOutput) Elem() BackendBucketCdnPolicyCacheModeOutput { return o.ApplyT(func(v *BackendBucketCdnPolicyCacheMode) BackendBucketCdnPolicyCacheMode { if v != nil { @@ -3387,6 +3742,12 @@ func (in *backendBucketCdnPolicyCacheModePtr) ToBackendBucketCdnPolicyCacheModeP return pulumi.ToOutputWithContext(ctx, in).(BackendBucketCdnPolicyCacheModePtrOutput) } +func (in *backendBucketCdnPolicyCacheModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheMode] { + return pulumix.Output[*BackendBucketCdnPolicyCacheMode]{ + OutputState: in.ToBackendBucketCdnPolicyCacheModePtrOutputWithContext(ctx).OutputState, + } +} + // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. type BackendBucketCompressionMode string @@ -3457,6 +3818,12 @@ func (o BackendBucketCompressionModeOutput) ToBackendBucketCompressionModePtrOut }).(BackendBucketCompressionModePtrOutput) } +func (o BackendBucketCompressionModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCompressionMode] { + return pulumix.Output[BackendBucketCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCompressionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3492,6 +3859,12 @@ func (o BackendBucketCompressionModePtrOutput) ToBackendBucketCompressionModePtr return o } +func (o BackendBucketCompressionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCompressionMode] { + return pulumix.Output[*BackendBucketCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCompressionModePtrOutput) Elem() BackendBucketCompressionModeOutput { return o.ApplyT(func(v *BackendBucketCompressionMode) BackendBucketCompressionMode { if v != nil { @@ -3554,6 +3927,12 @@ func (in *backendBucketCompressionModePtr) ToBackendBucketCompressionModePtrOutp return pulumi.ToOutputWithContext(ctx, in).(BackendBucketCompressionModePtrOutput) } +func (in *backendBucketCompressionModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCompressionMode] { + return pulumix.Output[*BackendBucketCompressionMode]{ + OutputState: in.ToBackendBucketCompressionModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. type BackendServiceCdnPolicyCacheMode string @@ -3627,6 +4006,12 @@ func (o BackendServiceCdnPolicyCacheModeOutput) ToBackendServiceCdnPolicyCacheMo }).(BackendServiceCdnPolicyCacheModePtrOutput) } +func (o BackendServiceCdnPolicyCacheModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyCacheMode] { + return pulumix.Output[BackendServiceCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyCacheModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3662,6 +4047,12 @@ func (o BackendServiceCdnPolicyCacheModePtrOutput) ToBackendServiceCdnPolicyCach return o } +func (o BackendServiceCdnPolicyCacheModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicyCacheMode] { + return pulumix.Output[*BackendServiceCdnPolicyCacheMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyCacheModePtrOutput) Elem() BackendServiceCdnPolicyCacheModeOutput { return o.ApplyT(func(v *BackendServiceCdnPolicyCacheMode) BackendServiceCdnPolicyCacheMode { if v != nil { @@ -3724,6 +4115,12 @@ func (in *backendServiceCdnPolicyCacheModePtr) ToBackendServiceCdnPolicyCacheMod return pulumi.ToOutputWithContext(ctx, in).(BackendServiceCdnPolicyCacheModePtrOutput) } +func (in *backendServiceCdnPolicyCacheModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicyCacheMode] { + return pulumix.Output[*BackendServiceCdnPolicyCacheMode]{ + OutputState: in.ToBackendServiceCdnPolicyCacheModePtrOutputWithContext(ctx).OutputState, + } +} + // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. type BackendServiceCompressionMode string @@ -3794,6 +4191,12 @@ func (o BackendServiceCompressionModeOutput) ToBackendServiceCompressionModePtrO }).(BackendServiceCompressionModePtrOutput) } +func (o BackendServiceCompressionModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCompressionMode] { + return pulumix.Output[BackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCompressionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3829,6 +4232,12 @@ func (o BackendServiceCompressionModePtrOutput) ToBackendServiceCompressionModeP return o } +func (o BackendServiceCompressionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCompressionMode] { + return pulumix.Output[*BackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCompressionModePtrOutput) Elem() BackendServiceCompressionModeOutput { return o.ApplyT(func(v *BackendServiceCompressionMode) BackendServiceCompressionMode { if v != nil { @@ -3891,6 +4300,12 @@ func (in *backendServiceCompressionModePtr) ToBackendServiceCompressionModePtrOu return pulumi.ToOutputWithContext(ctx, in).(BackendServiceCompressionModePtrOutput) } +func (in *backendServiceCompressionModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCompressionMode] { + return pulumix.Output[*BackendServiceCompressionMode]{ + OutputState: in.ToBackendServiceCompressionModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence). type BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends string @@ -3960,6 +4375,12 @@ func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBa }).(BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) } +func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends] { + return pulumix.Output[BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3995,6 +4416,12 @@ func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBa return o } +func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) Elem() BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsOutput { return o.ApplyT(func(v *BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends) BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends { if v != nil { @@ -4057,6 +4484,12 @@ func (in *backendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthy return pulumi.ToOutputWithContext(ctx, in).(BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput) } +func (in *backendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends]{ + OutputState: in.ToBackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode) and [Tracking Mode for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#tracking-mode). type BackendServiceConnectionTrackingPolicyTrackingMode string @@ -4126,6 +4559,12 @@ func (o BackendServiceConnectionTrackingPolicyTrackingModeOutput) ToBackendServi }).(BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) } +func (o BackendServiceConnectionTrackingPolicyTrackingModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicyTrackingMode] { + return pulumix.Output[BackendServiceConnectionTrackingPolicyTrackingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyTrackingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4161,6 +4600,12 @@ func (o BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) ToBackendSe return o } +func (o BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) Elem() BackendServiceConnectionTrackingPolicyTrackingModeOutput { return o.ApplyT(func(v *BackendServiceConnectionTrackingPolicyTrackingMode) BackendServiceConnectionTrackingPolicyTrackingMode { if v != nil { @@ -4223,6 +4668,12 @@ func (in *backendServiceConnectionTrackingPolicyTrackingModePtr) ToBackendServic return pulumi.ToOutputWithContext(ctx, in).(BackendServiceConnectionTrackingPolicyTrackingModePtrOutput) } +func (in *backendServiceConnectionTrackingPolicyTrackingModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicyTrackingMode]{ + OutputState: in.ToBackendServiceConnectionTrackingPolicyTrackingModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. type BackendServiceLoadBalancingScheme string @@ -4300,6 +4751,12 @@ func (o BackendServiceLoadBalancingSchemeOutput) ToBackendServiceLoadBalancingSc }).(BackendServiceLoadBalancingSchemePtrOutput) } +func (o BackendServiceLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLoadBalancingScheme] { + return pulumix.Output[BackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4335,6 +4792,12 @@ func (o BackendServiceLoadBalancingSchemePtrOutput) ToBackendServiceLoadBalancin return o } +func (o BackendServiceLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLoadBalancingScheme] { + return pulumix.Output[*BackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLoadBalancingSchemePtrOutput) Elem() BackendServiceLoadBalancingSchemeOutput { return o.ApplyT(func(v *BackendServiceLoadBalancingScheme) BackendServiceLoadBalancingScheme { if v != nil { @@ -4397,6 +4860,12 @@ func (in *backendServiceLoadBalancingSchemePtr) ToBackendServiceLoadBalancingSch return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLoadBalancingSchemePtrOutput) } +func (in *backendServiceLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLoadBalancingScheme] { + return pulumix.Output[*BackendServiceLoadBalancingScheme]{ + OutputState: in.ToBackendServiceLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. type BackendServiceLocalityLbPolicy string @@ -4478,6 +4947,12 @@ func (o BackendServiceLocalityLbPolicyOutput) ToBackendServiceLocalityLbPolicyPt }).(BackendServiceLocalityLbPolicyPtrOutput) } +func (o BackendServiceLocalityLbPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLbPolicy] { + return pulumix.Output[BackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLbPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4513,6 +4988,12 @@ func (o BackendServiceLocalityLbPolicyPtrOutput) ToBackendServiceLocalityLbPolic return o } +func (o BackendServiceLocalityLbPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLbPolicy] { + return pulumix.Output[*BackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLbPolicyPtrOutput) Elem() BackendServiceLocalityLbPolicyOutput { return o.ApplyT(func(v *BackendServiceLocalityLbPolicy) BackendServiceLocalityLbPolicy { if v != nil { @@ -4575,6 +5056,12 @@ func (in *backendServiceLocalityLbPolicyPtr) ToBackendServiceLocalityLbPolicyPtr return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLocalityLbPolicyPtrOutput) } +func (in *backendServiceLocalityLbPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLbPolicy] { + return pulumix.Output[*BackendServiceLocalityLbPolicy]{ + OutputState: in.ToBackendServiceLocalityLbPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. type BackendServiceLocalityLoadBalancingPolicyConfigPolicyName string @@ -4656,6 +5143,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput) ToBacke }).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyName] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyName]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4691,6 +5184,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) ToBa return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) Elem() BackendServiceLocalityLoadBalancingPolicyConfigPolicyNameOutput { return o.ApplyT(func(v *BackendServiceLocalityLoadBalancingPolicyConfigPolicyName) BackendServiceLocalityLoadBalancingPolicyConfigPolicyName { if v != nil { @@ -4753,6 +5252,12 @@ func (in *backendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtr) ToBacken return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput) } +func (in *backendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicyName]{ + OutputState: in.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutputWithContext(ctx).OutputState, + } +} + // This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL. type BackendServiceLogConfigOptionalMode string @@ -4825,6 +5330,12 @@ func (o BackendServiceLogConfigOptionalModeOutput) ToBackendServiceLogConfigOpti }).(BackendServiceLogConfigOptionalModePtrOutput) } +func (o BackendServiceLogConfigOptionalModeOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfigOptionalMode] { + return pulumix.Output[BackendServiceLogConfigOptionalMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigOptionalModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4860,6 +5371,12 @@ func (o BackendServiceLogConfigOptionalModePtrOutput) ToBackendServiceLogConfigO return o } +func (o BackendServiceLogConfigOptionalModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfigOptionalMode] { + return pulumix.Output[*BackendServiceLogConfigOptionalMode]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigOptionalModePtrOutput) Elem() BackendServiceLogConfigOptionalModeOutput { return o.ApplyT(func(v *BackendServiceLogConfigOptionalMode) BackendServiceLogConfigOptionalMode { if v != nil { @@ -4922,6 +5439,12 @@ func (in *backendServiceLogConfigOptionalModePtr) ToBackendServiceLogConfigOptio return pulumi.ToOutputWithContext(ctx, in).(BackendServiceLogConfigOptionalModePtrOutput) } +func (in *backendServiceLogConfigOptionalModePtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfigOptionalMode] { + return pulumix.Output[*BackendServiceLogConfigOptionalMode]{ + OutputState: in.ToBackendServiceLogConfigOptionalModePtrOutputWithContext(ctx).OutputState, + } +} + // The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. type BackendServiceProtocol string @@ -5002,6 +5525,12 @@ func (o BackendServiceProtocolOutput) ToBackendServiceProtocolPtrOutputWithConte }).(BackendServiceProtocolPtrOutput) } +func (o BackendServiceProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceProtocol] { + return pulumix.Output[BackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5037,6 +5566,12 @@ func (o BackendServiceProtocolPtrOutput) ToBackendServiceProtocolPtrOutputWithCo return o } +func (o BackendServiceProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceProtocol] { + return pulumix.Output[*BackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceProtocolPtrOutput) Elem() BackendServiceProtocolOutput { return o.ApplyT(func(v *BackendServiceProtocol) BackendServiceProtocol { if v != nil { @@ -5099,6 +5634,12 @@ func (in *backendServiceProtocolPtr) ToBackendServiceProtocolPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(BackendServiceProtocolPtrOutput) } +func (in *backendServiceProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceProtocol] { + return pulumix.Output[*BackendServiceProtocol]{ + OutputState: in.ToBackendServiceProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). type BackendServiceSessionAffinity string @@ -5181,6 +5722,12 @@ func (o BackendServiceSessionAffinityOutput) ToBackendServiceSessionAffinityPtrO }).(BackendServiceSessionAffinityPtrOutput) } +func (o BackendServiceSessionAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceSessionAffinity] { + return pulumix.Output[BackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceSessionAffinityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5216,6 +5763,12 @@ func (o BackendServiceSessionAffinityPtrOutput) ToBackendServiceSessionAffinityP return o } +func (o BackendServiceSessionAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceSessionAffinity] { + return pulumix.Output[*BackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceSessionAffinityPtrOutput) Elem() BackendServiceSessionAffinityOutput { return o.ApplyT(func(v *BackendServiceSessionAffinity) BackendServiceSessionAffinity { if v != nil { @@ -5278,6 +5831,12 @@ func (in *backendServiceSessionAffinityPtr) ToBackendServiceSessionAffinityPtrOu return pulumi.ToOutputWithContext(ctx, in).(BackendServiceSessionAffinityPtrOutput) } +func (in *backendServiceSessionAffinityPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceSessionAffinity] { + return pulumix.Output[*BackendServiceSessionAffinity]{ + OutputState: in.ToBackendServiceSessionAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionIam string @@ -5360,6 +5919,12 @@ func (o ConditionIamOutput) ToConditionIamPtrOutputWithContext(ctx context.Conte }).(ConditionIamPtrOutput) } +func (o ConditionIamOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionIam] { + return pulumix.Output[ConditionIam]{ + OutputState: o.OutputState, + } +} + func (o ConditionIamOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5395,6 +5960,12 @@ func (o ConditionIamPtrOutput) ToConditionIamPtrOutputWithContext(ctx context.Co return o } +func (o ConditionIamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionIam] { + return pulumix.Output[*ConditionIam]{ + OutputState: o.OutputState, + } +} + func (o ConditionIamPtrOutput) Elem() ConditionIamOutput { return o.ApplyT(func(v *ConditionIam) ConditionIam { if v != nil { @@ -5457,6 +6028,12 @@ func (in *conditionIamPtr) ToConditionIamPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ConditionIamPtrOutput) } +func (in *conditionIamPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionIam] { + return pulumix.Output[*ConditionIam]{ + OutputState: in.ToConditionIamPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionOp string @@ -5535,6 +6112,12 @@ func (o ConditionOpOutput) ToConditionOpPtrOutputWithContext(ctx context.Context }).(ConditionOpPtrOutput) } +func (o ConditionOpOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionOp] { + return pulumix.Output[ConditionOp]{ + OutputState: o.OutputState, + } +} + func (o ConditionOpOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5570,6 +6153,12 @@ func (o ConditionOpPtrOutput) ToConditionOpPtrOutputWithContext(ctx context.Cont return o } +func (o ConditionOpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionOp] { + return pulumix.Output[*ConditionOp]{ + OutputState: o.OutputState, + } +} + func (o ConditionOpPtrOutput) Elem() ConditionOpOutput { return o.ApplyT(func(v *ConditionOp) ConditionOp { if v != nil { @@ -5632,6 +6221,12 @@ func (in *conditionOpPtr) ToConditionOpPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ConditionOpPtrOutput) } +func (in *conditionOpPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionOp] { + return pulumix.Output[*ConditionOp]{ + OutputState: in.ToConditionOpPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionSys string @@ -5708,6 +6303,12 @@ func (o ConditionSysOutput) ToConditionSysPtrOutputWithContext(ctx context.Conte }).(ConditionSysPtrOutput) } +func (o ConditionSysOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionSys] { + return pulumix.Output[ConditionSys]{ + OutputState: o.OutputState, + } +} + func (o ConditionSysOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5743,6 +6344,12 @@ func (o ConditionSysPtrOutput) ToConditionSysPtrOutputWithContext(ctx context.Co return o } +func (o ConditionSysPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionSys] { + return pulumix.Output[*ConditionSys]{ + OutputState: o.OutputState, + } +} + func (o ConditionSysPtrOutput) Elem() ConditionSysOutput { return o.ApplyT(func(v *ConditionSys) ConditionSys { if v != nil { @@ -5805,6 +6412,12 @@ func (in *conditionSysPtr) ToConditionSysPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ConditionSysPtrOutput) } +func (in *conditionSysPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionSys] { + return pulumix.Output[*ConditionSys]{ + OutputState: in.ToConditionSysPtrOutputWithContext(ctx).OutputState, + } +} + // The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. type DeprecationStatusState string @@ -5875,6 +6488,12 @@ func (o DeprecationStatusStateOutput) ToDeprecationStatusStatePtrOutputWithConte }).(DeprecationStatusStatePtrOutput) } +func (o DeprecationStatusStateOutput) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatusState] { + return pulumix.Output[DeprecationStatusState]{ + OutputState: o.OutputState, + } +} + func (o DeprecationStatusStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5910,6 +6529,12 @@ func (o DeprecationStatusStatePtrOutput) ToDeprecationStatusStatePtrOutputWithCo return o } +func (o DeprecationStatusStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatusState] { + return pulumix.Output[*DeprecationStatusState]{ + OutputState: o.OutputState, + } +} + func (o DeprecationStatusStatePtrOutput) Elem() DeprecationStatusStateOutput { return o.ApplyT(func(v *DeprecationStatusState) DeprecationStatusState { if v != nil { @@ -5972,6 +6597,12 @@ func (in *deprecationStatusStatePtr) ToDeprecationStatusStatePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(DeprecationStatusStatePtrOutput) } +func (in *deprecationStatusStatePtr) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatusState] { + return pulumix.Output[*DeprecationStatusState]{ + OutputState: in.ToDeprecationStatusStatePtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. type DiskArchitecture string @@ -6044,6 +6675,12 @@ func (o DiskArchitectureOutput) ToDiskArchitecturePtrOutputWithContext(ctx conte }).(DiskArchitecturePtrOutput) } +func (o DiskArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[DiskArchitecture] { + return pulumix.Output[DiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DiskArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6079,6 +6716,12 @@ func (o DiskArchitecturePtrOutput) ToDiskArchitecturePtrOutputWithContext(ctx co return o } +func (o DiskArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskArchitecture] { + return pulumix.Output[*DiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DiskArchitecturePtrOutput) Elem() DiskArchitectureOutput { return o.ApplyT(func(v *DiskArchitecture) DiskArchitecture { if v != nil { @@ -6141,6 +6784,12 @@ func (in *diskArchitecturePtr) ToDiskArchitecturePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(DiskArchitecturePtrOutput) } +func (in *diskArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*DiskArchitecture] { + return pulumix.Output[*DiskArchitecture]{ + OutputState: in.ToDiskArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks. type DiskInstantiationConfigInstantiateFrom string @@ -6221,6 +6870,12 @@ func (o DiskInstantiationConfigInstantiateFromOutput) ToDiskInstantiationConfigI }).(DiskInstantiationConfigInstantiateFromPtrOutput) } +func (o DiskInstantiationConfigInstantiateFromOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfigInstantiateFrom] { + return pulumix.Output[DiskInstantiationConfigInstantiateFrom]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigInstantiateFromOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6256,6 +6911,12 @@ func (o DiskInstantiationConfigInstantiateFromPtrOutput) ToDiskInstantiationConf return o } +func (o DiskInstantiationConfigInstantiateFromPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskInstantiationConfigInstantiateFrom] { + return pulumix.Output[*DiskInstantiationConfigInstantiateFrom]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigInstantiateFromPtrOutput) Elem() DiskInstantiationConfigInstantiateFromOutput { return o.ApplyT(func(v *DiskInstantiationConfigInstantiateFrom) DiskInstantiationConfigInstantiateFrom { if v != nil { @@ -6318,6 +6979,12 @@ func (in *diskInstantiationConfigInstantiateFromPtr) ToDiskInstantiationConfigIn return pulumi.ToOutputWithContext(ctx, in).(DiskInstantiationConfigInstantiateFromPtrOutput) } +func (in *diskInstantiationConfigInstantiateFromPtr) ToOutput(ctx context.Context) pulumix.Output[*DiskInstantiationConfigInstantiateFrom] { + return pulumix.Output[*DiskInstantiationConfigInstantiateFrom]{ + OutputState: in.ToDiskInstantiationConfigInstantiateFromPtrOutputWithContext(ctx).OutputState, + } +} + // The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). type DistributionPolicyTargetShape string @@ -6390,6 +7057,12 @@ func (o DistributionPolicyTargetShapeOutput) ToDistributionPolicyTargetShapePtrO }).(DistributionPolicyTargetShapePtrOutput) } +func (o DistributionPolicyTargetShapeOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyTargetShape] { + return pulumix.Output[DistributionPolicyTargetShape]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyTargetShapeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6425,6 +7098,12 @@ func (o DistributionPolicyTargetShapePtrOutput) ToDistributionPolicyTargetShapeP return o } +func (o DistributionPolicyTargetShapePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicyTargetShape] { + return pulumix.Output[*DistributionPolicyTargetShape]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyTargetShapePtrOutput) Elem() DistributionPolicyTargetShapeOutput { return o.ApplyT(func(v *DistributionPolicyTargetShape) DistributionPolicyTargetShape { if v != nil { @@ -6487,6 +7166,12 @@ func (in *distributionPolicyTargetShapePtr) ToDistributionPolicyTargetShapePtrOu return pulumi.ToOutputWithContext(ctx, in).(DistributionPolicyTargetShapePtrOutput) } +func (in *distributionPolicyTargetShapePtr) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicyTargetShape] { + return pulumix.Output[*DistributionPolicyTargetShape]{ + OutputState: in.ToDistributionPolicyTargetShapePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the user-supplied redundancy type of this external VPN gateway. type ExternalVpnGatewayRedundancyType string @@ -6559,6 +7244,12 @@ func (o ExternalVpnGatewayRedundancyTypeOutput) ToExternalVpnGatewayRedundancyTy }).(ExternalVpnGatewayRedundancyTypePtrOutput) } +func (o ExternalVpnGatewayRedundancyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayRedundancyType] { + return pulumix.Output[ExternalVpnGatewayRedundancyType]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayRedundancyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6594,6 +7285,12 @@ func (o ExternalVpnGatewayRedundancyTypePtrOutput) ToExternalVpnGatewayRedundanc return o } +func (o ExternalVpnGatewayRedundancyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGatewayRedundancyType] { + return pulumix.Output[*ExternalVpnGatewayRedundancyType]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayRedundancyTypePtrOutput) Elem() ExternalVpnGatewayRedundancyTypeOutput { return o.ApplyT(func(v *ExternalVpnGatewayRedundancyType) ExternalVpnGatewayRedundancyType { if v != nil { @@ -6656,6 +7353,12 @@ func (in *externalVpnGatewayRedundancyTypePtr) ToExternalVpnGatewayRedundancyTyp return pulumi.ToOutputWithContext(ctx, in).(ExternalVpnGatewayRedundancyTypePtrOutput) } +func (in *externalVpnGatewayRedundancyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ExternalVpnGatewayRedundancyType] { + return pulumix.Output[*ExternalVpnGatewayRedundancyType]{ + OutputState: in.ToExternalVpnGatewayRedundancyTypePtrOutputWithContext(ctx).OutputState, + } +} + // The file type of source file. type FileContentBufferFileType string @@ -6725,6 +7428,12 @@ func (o FileContentBufferFileTypeOutput) ToFileContentBufferFileTypePtrOutputWit }).(FileContentBufferFileTypePtrOutput) } +func (o FileContentBufferFileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[FileContentBufferFileType] { + return pulumix.Output[FileContentBufferFileType]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferFileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6760,6 +7469,12 @@ func (o FileContentBufferFileTypePtrOutput) ToFileContentBufferFileTypePtrOutput return o } +func (o FileContentBufferFileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileContentBufferFileType] { + return pulumix.Output[*FileContentBufferFileType]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferFileTypePtrOutput) Elem() FileContentBufferFileTypeOutput { return o.ApplyT(func(v *FileContentBufferFileType) FileContentBufferFileType { if v != nil { @@ -6822,6 +7537,12 @@ func (in *fileContentBufferFileTypePtr) ToFileContentBufferFileTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(FileContentBufferFileTypePtrOutput) } +func (in *fileContentBufferFileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*FileContentBufferFileType] { + return pulumix.Output[*FileContentBufferFileType]{ + OutputState: in.ToFileContentBufferFileTypePtrOutputWithContext(ctx).OutputState, + } +} + // Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields. type FirewallDirection string @@ -6892,6 +7613,12 @@ func (o FirewallDirectionOutput) ToFirewallDirectionPtrOutputWithContext(ctx con }).(FirewallDirectionPtrOutput) } +func (o FirewallDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallDirection] { + return pulumix.Output[FirewallDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6927,6 +7654,12 @@ func (o FirewallDirectionPtrOutput) ToFirewallDirectionPtrOutputWithContext(ctx return o } +func (o FirewallDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallDirection] { + return pulumix.Output[*FirewallDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallDirectionPtrOutput) Elem() FirewallDirectionOutput { return o.ApplyT(func(v *FirewallDirection) FirewallDirection { if v != nil { @@ -6989,6 +7722,12 @@ func (in *firewallDirectionPtr) ToFirewallDirectionPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(FirewallDirectionPtrOutput) } +func (in *firewallDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*FirewallDirection] { + return pulumix.Output[*FirewallDirection]{ + OutputState: in.ToFirewallDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs. type FirewallLogConfigMetadata string @@ -7057,6 +7796,12 @@ func (o FirewallLogConfigMetadataOutput) ToFirewallLogConfigMetadataPtrOutputWit }).(FirewallLogConfigMetadataPtrOutput) } +func (o FirewallLogConfigMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfigMetadata] { + return pulumix.Output[FirewallLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o FirewallLogConfigMetadataOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7092,6 +7837,12 @@ func (o FirewallLogConfigMetadataPtrOutput) ToFirewallLogConfigMetadataPtrOutput return o } +func (o FirewallLogConfigMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfigMetadata] { + return pulumix.Output[*FirewallLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o FirewallLogConfigMetadataPtrOutput) Elem() FirewallLogConfigMetadataOutput { return o.ApplyT(func(v *FirewallLogConfigMetadata) FirewallLogConfigMetadata { if v != nil { @@ -7154,6 +7905,12 @@ func (in *firewallLogConfigMetadataPtr) ToFirewallLogConfigMetadataPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(FirewallLogConfigMetadataPtrOutput) } +func (in *firewallLogConfigMetadataPtr) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfigMetadata] { + return pulumix.Output[*FirewallLogConfigMetadata]{ + OutputState: in.ToFirewallLogConfigMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // The direction in which this rule applies. type FirewallPolicyRuleDirection string @@ -7222,6 +7979,12 @@ func (o FirewallPolicyRuleDirectionOutput) ToFirewallPolicyRuleDirectionPtrOutpu }).(FirewallPolicyRuleDirectionPtrOutput) } +func (o FirewallPolicyRuleDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleDirection] { + return pulumix.Output[FirewallPolicyRuleDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7257,6 +8020,12 @@ func (o FirewallPolicyRuleDirectionPtrOutput) ToFirewallPolicyRuleDirectionPtrOu return o } +func (o FirewallPolicyRuleDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleDirection] { + return pulumix.Output[*FirewallPolicyRuleDirection]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleDirectionPtrOutput) Elem() FirewallPolicyRuleDirectionOutput { return o.ApplyT(func(v *FirewallPolicyRuleDirection) FirewallPolicyRuleDirection { if v != nil { @@ -7319,6 +8088,12 @@ func (in *firewallPolicyRuleDirectionPtr) ToFirewallPolicyRuleDirectionPtrOutput return pulumi.ToOutputWithContext(ctx, in).(FirewallPolicyRuleDirectionPtrOutput) } +func (in *firewallPolicyRuleDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleDirection] { + return pulumix.Output[*FirewallPolicyRuleDirection]{ + OutputState: in.ToFirewallPolicyRuleDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends). type ForwardingRuleIpProtocol string @@ -7392,6 +8167,12 @@ func (o ForwardingRuleIpProtocolOutput) ToForwardingRuleIpProtocolPtrOutputWithC }).(ForwardingRuleIpProtocolPtrOutput) } +func (o ForwardingRuleIpProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleIpProtocol] { + return pulumix.Output[ForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7427,6 +8208,12 @@ func (o ForwardingRuleIpProtocolPtrOutput) ToForwardingRuleIpProtocolPtrOutputWi return o } +func (o ForwardingRuleIpProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpProtocol] { + return pulumix.Output[*ForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpProtocolPtrOutput) Elem() ForwardingRuleIpProtocolOutput { return o.ApplyT(func(v *ForwardingRuleIpProtocol) ForwardingRuleIpProtocol { if v != nil { @@ -7489,6 +8276,12 @@ func (in *forwardingRuleIpProtocolPtr) ToForwardingRuleIpProtocolPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleIpProtocolPtrOutput) } +func (in *forwardingRuleIpProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpProtocol] { + return pulumix.Output[*ForwardingRuleIpProtocol]{ + OutputState: in.ToForwardingRuleIpProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. type ForwardingRuleIpVersion string @@ -7558,6 +8351,12 @@ func (o ForwardingRuleIpVersionOutput) ToForwardingRuleIpVersionPtrOutputWithCon }).(ForwardingRuleIpVersionPtrOutput) } +func (o ForwardingRuleIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleIpVersion] { + return pulumix.Output[ForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7593,6 +8392,12 @@ func (o ForwardingRuleIpVersionPtrOutput) ToForwardingRuleIpVersionPtrOutputWith return o } +func (o ForwardingRuleIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpVersion] { + return pulumix.Output[*ForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleIpVersionPtrOutput) Elem() ForwardingRuleIpVersionOutput { return o.ApplyT(func(v *ForwardingRuleIpVersion) ForwardingRuleIpVersion { if v != nil { @@ -7655,6 +8460,12 @@ func (in *forwardingRuleIpVersionPtr) ToForwardingRuleIpVersionPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleIpVersionPtrOutput) } +func (in *forwardingRuleIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleIpVersion] { + return pulumix.Output[*ForwardingRuleIpVersion]{ + OutputState: in.ToForwardingRuleIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts. type ForwardingRuleLoadBalancingScheme string @@ -7727,6 +8538,12 @@ func (o ForwardingRuleLoadBalancingSchemeOutput) ToForwardingRuleLoadBalancingSc }).(ForwardingRuleLoadBalancingSchemePtrOutput) } +func (o ForwardingRuleLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleLoadBalancingScheme] { + return pulumix.Output[ForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7762,6 +8579,12 @@ func (o ForwardingRuleLoadBalancingSchemePtrOutput) ToForwardingRuleLoadBalancin return o } +func (o ForwardingRuleLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*ForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleLoadBalancingSchemePtrOutput) Elem() ForwardingRuleLoadBalancingSchemeOutput { return o.ApplyT(func(v *ForwardingRuleLoadBalancingScheme) ForwardingRuleLoadBalancingScheme { if v != nil { @@ -7824,6 +8647,12 @@ func (in *forwardingRuleLoadBalancingSchemePtr) ToForwardingRuleLoadBalancingSch return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleLoadBalancingSchemePtrOutput) } +func (in *forwardingRuleLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*ForwardingRuleLoadBalancingScheme]{ + OutputState: in.ToForwardingRuleLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. type ForwardingRuleNetworkTier string @@ -7898,6 +8727,12 @@ func (o ForwardingRuleNetworkTierOutput) ToForwardingRuleNetworkTierPtrOutputWit }).(ForwardingRuleNetworkTierPtrOutput) } +func (o ForwardingRuleNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleNetworkTier] { + return pulumix.Output[ForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7933,6 +8768,12 @@ func (o ForwardingRuleNetworkTierPtrOutput) ToForwardingRuleNetworkTierPtrOutput return o } +func (o ForwardingRuleNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleNetworkTier] { + return pulumix.Output[*ForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleNetworkTierPtrOutput) Elem() ForwardingRuleNetworkTierOutput { return o.ApplyT(func(v *ForwardingRuleNetworkTier) ForwardingRuleNetworkTier { if v != nil { @@ -7995,6 +8836,12 @@ func (in *forwardingRuleNetworkTierPtr) ToForwardingRuleNetworkTierPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ForwardingRuleNetworkTierPtrOutput) } +func (in *forwardingRuleNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRuleNetworkTier] { + return pulumix.Output[*ForwardingRuleNetworkTier]{ + OutputState: in.ToForwardingRuleNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + type ForwardingRulePscConnectionStatus string const ( @@ -8071,6 +8918,12 @@ func (o ForwardingRulePscConnectionStatusOutput) ToForwardingRulePscConnectionSt }).(ForwardingRulePscConnectionStatusPtrOutput) } +func (o ForwardingRulePscConnectionStatusOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRulePscConnectionStatus] { + return pulumix.Output[ForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRulePscConnectionStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8106,6 +8959,12 @@ func (o ForwardingRulePscConnectionStatusPtrOutput) ToForwardingRulePscConnectio return o } +func (o ForwardingRulePscConnectionStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRulePscConnectionStatus] { + return pulumix.Output[*ForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRulePscConnectionStatusPtrOutput) Elem() ForwardingRulePscConnectionStatusOutput { return o.ApplyT(func(v *ForwardingRulePscConnectionStatus) ForwardingRulePscConnectionStatus { if v != nil { @@ -8168,6 +9027,12 @@ func (in *forwardingRulePscConnectionStatusPtr) ToForwardingRulePscConnectionSta return pulumi.ToOutputWithContext(ctx, in).(ForwardingRulePscConnectionStatusPtrOutput) } +func (in *forwardingRulePscConnectionStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*ForwardingRulePscConnectionStatus] { + return pulumix.Output[*ForwardingRulePscConnectionStatus]{ + OutputState: in.ToForwardingRulePscConnectionStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type GRPCHealthCheckPortSpecification string @@ -8240,6 +9105,12 @@ func (o GRPCHealthCheckPortSpecificationOutput) ToGRPCHealthCheckPortSpecificati }).(GRPCHealthCheckPortSpecificationPtrOutput) } +func (o GRPCHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheckPortSpecification] { + return pulumix.Output[GRPCHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o GRPCHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8275,6 +9146,12 @@ func (o GRPCHealthCheckPortSpecificationPtrOutput) ToGRPCHealthCheckPortSpecific return o } +func (o GRPCHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheckPortSpecification] { + return pulumix.Output[*GRPCHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o GRPCHealthCheckPortSpecificationPtrOutput) Elem() GRPCHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *GRPCHealthCheckPortSpecification) GRPCHealthCheckPortSpecification { if v != nil { @@ -8337,6 +9214,12 @@ func (in *grpchealthCheckPortSpecificationPtr) ToGRPCHealthCheckPortSpecificatio return pulumi.ToOutputWithContext(ctx, in).(GRPCHealthCheckPortSpecificationPtrOutput) } +func (in *grpchealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheckPortSpecification] { + return pulumix.Output[*GRPCHealthCheckPortSpecification]{ + OutputState: in.ToGRPCHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. type GlobalAddressAddressType string @@ -8408,6 +9291,12 @@ func (o GlobalAddressAddressTypeOutput) ToGlobalAddressAddressTypePtrOutputWithC }).(GlobalAddressAddressTypePtrOutput) } +func (o GlobalAddressAddressTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressAddressType] { + return pulumix.Output[GlobalAddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressAddressTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8443,6 +9332,12 @@ func (o GlobalAddressAddressTypePtrOutput) ToGlobalAddressAddressTypePtrOutputWi return o } +func (o GlobalAddressAddressTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressAddressType] { + return pulumix.Output[*GlobalAddressAddressType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressAddressTypePtrOutput) Elem() GlobalAddressAddressTypeOutput { return o.ApplyT(func(v *GlobalAddressAddressType) GlobalAddressAddressType { if v != nil { @@ -8505,6 +9400,12 @@ func (in *globalAddressAddressTypePtr) ToGlobalAddressAddressTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressAddressTypePtrOutput) } +func (in *globalAddressAddressTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressAddressType] { + return pulumix.Output[*GlobalAddressAddressType]{ + OutputState: in.ToGlobalAddressAddressTypePtrOutputWithContext(ctx).OutputState, + } +} + // The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. type GlobalAddressIpVersion string @@ -8574,6 +9475,12 @@ func (o GlobalAddressIpVersionOutput) ToGlobalAddressIpVersionPtrOutputWithConte }).(GlobalAddressIpVersionPtrOutput) } +func (o GlobalAddressIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressIpVersion] { + return pulumix.Output[GlobalAddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8609,6 +9516,12 @@ func (o GlobalAddressIpVersionPtrOutput) ToGlobalAddressIpVersionPtrOutputWithCo return o } +func (o GlobalAddressIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpVersion] { + return pulumix.Output[*GlobalAddressIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpVersionPtrOutput) Elem() GlobalAddressIpVersionOutput { return o.ApplyT(func(v *GlobalAddressIpVersion) GlobalAddressIpVersion { if v != nil { @@ -8671,6 +9584,12 @@ func (in *globalAddressIpVersionPtr) ToGlobalAddressIpVersionPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressIpVersionPtrOutput) } +func (in *globalAddressIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpVersion] { + return pulumix.Output[*GlobalAddressIpVersion]{ + OutputState: in.ToGlobalAddressIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. type GlobalAddressIpv6EndpointType string @@ -8741,6 +9660,12 @@ func (o GlobalAddressIpv6EndpointTypeOutput) ToGlobalAddressIpv6EndpointTypePtrO }).(GlobalAddressIpv6EndpointTypePtrOutput) } +func (o GlobalAddressIpv6EndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressIpv6EndpointType] { + return pulumix.Output[GlobalAddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpv6EndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8776,6 +9701,12 @@ func (o GlobalAddressIpv6EndpointTypePtrOutput) ToGlobalAddressIpv6EndpointTypeP return o } +func (o GlobalAddressIpv6EndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpv6EndpointType] { + return pulumix.Output[*GlobalAddressIpv6EndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressIpv6EndpointTypePtrOutput) Elem() GlobalAddressIpv6EndpointTypeOutput { return o.ApplyT(func(v *GlobalAddressIpv6EndpointType) GlobalAddressIpv6EndpointType { if v != nil { @@ -8838,6 +9769,12 @@ func (in *globalAddressIpv6EndpointTypePtr) ToGlobalAddressIpv6EndpointTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressIpv6EndpointTypePtrOutput) } +func (in *globalAddressIpv6EndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressIpv6EndpointType] { + return pulumix.Output[*GlobalAddressIpv6EndpointType]{ + OutputState: in.ToGlobalAddressIpv6EndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. type GlobalAddressNetworkTier string @@ -8912,6 +9849,12 @@ func (o GlobalAddressNetworkTierOutput) ToGlobalAddressNetworkTierPtrOutputWithC }).(GlobalAddressNetworkTierPtrOutput) } +func (o GlobalAddressNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressNetworkTier] { + return pulumix.Output[GlobalAddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8947,6 +9890,12 @@ func (o GlobalAddressNetworkTierPtrOutput) ToGlobalAddressNetworkTierPtrOutputWi return o } +func (o GlobalAddressNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressNetworkTier] { + return pulumix.Output[*GlobalAddressNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressNetworkTierPtrOutput) Elem() GlobalAddressNetworkTierOutput { return o.ApplyT(func(v *GlobalAddressNetworkTier) GlobalAddressNetworkTier { if v != nil { @@ -9009,6 +9958,12 @@ func (in *globalAddressNetworkTierPtr) ToGlobalAddressNetworkTierPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressNetworkTierPtrOutput) } +func (in *globalAddressNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressNetworkTier] { + return pulumix.Output[*GlobalAddressNetworkTier]{ + OutputState: in.ToGlobalAddressNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + // The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. type GlobalAddressPurpose string @@ -9091,6 +10046,12 @@ func (o GlobalAddressPurposeOutput) ToGlobalAddressPurposePtrOutputWithContext(c }).(GlobalAddressPurposePtrOutput) } +func (o GlobalAddressPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalAddressPurpose] { + return pulumix.Output[GlobalAddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9126,6 +10087,12 @@ func (o GlobalAddressPurposePtrOutput) ToGlobalAddressPurposePtrOutputWithContex return o } +func (o GlobalAddressPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressPurpose] { + return pulumix.Output[*GlobalAddressPurpose]{ + OutputState: o.OutputState, + } +} + func (o GlobalAddressPurposePtrOutput) Elem() GlobalAddressPurposeOutput { return o.ApplyT(func(v *GlobalAddressPurpose) GlobalAddressPurpose { if v != nil { @@ -9188,6 +10155,12 @@ func (in *globalAddressPurposePtr) ToGlobalAddressPurposePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(GlobalAddressPurposePtrOutput) } +func (in *globalAddressPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalAddressPurpose] { + return pulumix.Output[*GlobalAddressPurpose]{ + OutputState: in.ToGlobalAddressPurposePtrOutputWithContext(ctx).OutputState, + } +} + // The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends). type GlobalForwardingRuleIpProtocol string @@ -9261,6 +10234,12 @@ func (o GlobalForwardingRuleIpProtocolOutput) ToGlobalForwardingRuleIpProtocolPt }).(GlobalForwardingRuleIpProtocolPtrOutput) } +func (o GlobalForwardingRuleIpProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleIpProtocol] { + return pulumix.Output[GlobalForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9296,6 +10275,12 @@ func (o GlobalForwardingRuleIpProtocolPtrOutput) ToGlobalForwardingRuleIpProtoco return o } +func (o GlobalForwardingRuleIpProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpProtocol] { + return pulumix.Output[*GlobalForwardingRuleIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpProtocolPtrOutput) Elem() GlobalForwardingRuleIpProtocolOutput { return o.ApplyT(func(v *GlobalForwardingRuleIpProtocol) GlobalForwardingRuleIpProtocol { if v != nil { @@ -9358,6 +10343,12 @@ func (in *globalForwardingRuleIpProtocolPtr) ToGlobalForwardingRuleIpProtocolPtr return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleIpProtocolPtrOutput) } +func (in *globalForwardingRuleIpProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpProtocol] { + return pulumix.Output[*GlobalForwardingRuleIpProtocol]{ + OutputState: in.ToGlobalForwardingRuleIpProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. type GlobalForwardingRuleIpVersion string @@ -9427,6 +10418,12 @@ func (o GlobalForwardingRuleIpVersionOutput) ToGlobalForwardingRuleIpVersionPtrO }).(GlobalForwardingRuleIpVersionPtrOutput) } +func (o GlobalForwardingRuleIpVersionOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleIpVersion] { + return pulumix.Output[GlobalForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9462,6 +10459,12 @@ func (o GlobalForwardingRuleIpVersionPtrOutput) ToGlobalForwardingRuleIpVersionP return o } +func (o GlobalForwardingRuleIpVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpVersion] { + return pulumix.Output[*GlobalForwardingRuleIpVersion]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleIpVersionPtrOutput) Elem() GlobalForwardingRuleIpVersionOutput { return o.ApplyT(func(v *GlobalForwardingRuleIpVersion) GlobalForwardingRuleIpVersion { if v != nil { @@ -9524,6 +10527,12 @@ func (in *globalForwardingRuleIpVersionPtr) ToGlobalForwardingRuleIpVersionPtrOu return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleIpVersionPtrOutput) } +func (in *globalForwardingRuleIpVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleIpVersion] { + return pulumix.Output[*GlobalForwardingRuleIpVersion]{ + OutputState: in.ToGlobalForwardingRuleIpVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts. type GlobalForwardingRuleLoadBalancingScheme string @@ -9596,6 +10605,12 @@ func (o GlobalForwardingRuleLoadBalancingSchemeOutput) ToGlobalForwardingRuleLoa }).(GlobalForwardingRuleLoadBalancingSchemePtrOutput) } +func (o GlobalForwardingRuleLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleLoadBalancingScheme] { + return pulumix.Output[GlobalForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9631,6 +10646,12 @@ func (o GlobalForwardingRuleLoadBalancingSchemePtrOutput) ToGlobalForwardingRule return o } +func (o GlobalForwardingRuleLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleLoadBalancingSchemePtrOutput) Elem() GlobalForwardingRuleLoadBalancingSchemeOutput { return o.ApplyT(func(v *GlobalForwardingRuleLoadBalancingScheme) GlobalForwardingRuleLoadBalancingScheme { if v != nil { @@ -9693,6 +10714,12 @@ func (in *globalForwardingRuleLoadBalancingSchemePtr) ToGlobalForwardingRuleLoad return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleLoadBalancingSchemePtrOutput) } +func (in *globalForwardingRuleLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme] { + return pulumix.Output[*GlobalForwardingRuleLoadBalancingScheme]{ + OutputState: in.ToGlobalForwardingRuleLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. type GlobalForwardingRuleNetworkTier string @@ -9767,6 +10794,12 @@ func (o GlobalForwardingRuleNetworkTierOutput) ToGlobalForwardingRuleNetworkTier }).(GlobalForwardingRuleNetworkTierPtrOutput) } +func (o GlobalForwardingRuleNetworkTierOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRuleNetworkTier] { + return pulumix.Output[GlobalForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleNetworkTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9802,6 +10835,12 @@ func (o GlobalForwardingRuleNetworkTierPtrOutput) ToGlobalForwardingRuleNetworkT return o } +func (o GlobalForwardingRuleNetworkTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleNetworkTier] { + return pulumix.Output[*GlobalForwardingRuleNetworkTier]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRuleNetworkTierPtrOutput) Elem() GlobalForwardingRuleNetworkTierOutput { return o.ApplyT(func(v *GlobalForwardingRuleNetworkTier) GlobalForwardingRuleNetworkTier { if v != nil { @@ -9864,6 +10903,12 @@ func (in *globalForwardingRuleNetworkTierPtr) ToGlobalForwardingRuleNetworkTierP return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRuleNetworkTierPtrOutput) } +func (in *globalForwardingRuleNetworkTierPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRuleNetworkTier] { + return pulumix.Output[*GlobalForwardingRuleNetworkTier]{ + OutputState: in.ToGlobalForwardingRuleNetworkTierPtrOutputWithContext(ctx).OutputState, + } +} + type GlobalForwardingRulePscConnectionStatus string const ( @@ -9940,6 +10985,12 @@ func (o GlobalForwardingRulePscConnectionStatusOutput) ToGlobalForwardingRulePsc }).(GlobalForwardingRulePscConnectionStatusPtrOutput) } +func (o GlobalForwardingRulePscConnectionStatusOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalForwardingRulePscConnectionStatus] { + return pulumix.Output[GlobalForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRulePscConnectionStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9975,6 +11026,12 @@ func (o GlobalForwardingRulePscConnectionStatusPtrOutput) ToGlobalForwardingRule return o } +func (o GlobalForwardingRulePscConnectionStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRulePscConnectionStatus] { + return pulumix.Output[*GlobalForwardingRulePscConnectionStatus]{ + OutputState: o.OutputState, + } +} + func (o GlobalForwardingRulePscConnectionStatusPtrOutput) Elem() GlobalForwardingRulePscConnectionStatusOutput { return o.ApplyT(func(v *GlobalForwardingRulePscConnectionStatus) GlobalForwardingRulePscConnectionStatus { if v != nil { @@ -10037,6 +11094,12 @@ func (in *globalForwardingRulePscConnectionStatusPtr) ToGlobalForwardingRulePscC return pulumi.ToOutputWithContext(ctx, in).(GlobalForwardingRulePscConnectionStatusPtrOutput) } +func (in *globalForwardingRulePscConnectionStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalForwardingRulePscConnectionStatus] { + return pulumix.Output[*GlobalForwardingRulePscConnectionStatus]{ + OutputState: in.ToGlobalForwardingRulePscConnectionStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. type GlobalNetworkEndpointGroupNetworkEndpointType string @@ -10117,6 +11180,12 @@ func (o GlobalNetworkEndpointGroupNetworkEndpointTypeOutput) ToGlobalNetworkEndp }).(GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (o GlobalNetworkEndpointGroupNetworkEndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GlobalNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[GlobalNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalNetworkEndpointGroupNetworkEndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10152,6 +11221,12 @@ func (o GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToGlobalNetworkE return o } +func (o GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) Elem() GlobalNetworkEndpointGroupNetworkEndpointTypeOutput { return o.ApplyT(func(v *GlobalNetworkEndpointGroupNetworkEndpointType) GlobalNetworkEndpointGroupNetworkEndpointType { if v != nil { @@ -10214,6 +11289,12 @@ func (in *globalNetworkEndpointGroupNetworkEndpointTypePtr) ToGlobalNetworkEndpo return pulumi.ToOutputWithContext(ctx, in).(GlobalNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (in *globalNetworkEndpointGroupNetworkEndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*GlobalNetworkEndpointGroupNetworkEndpointType]{ + OutputState: in.ToGlobalNetworkEndpointGroupNetworkEndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features. type GuestOsFeatureType string @@ -10290,6 +11371,12 @@ func (o GuestOsFeatureTypeOutput) ToGuestOsFeatureTypePtrOutputWithContext(ctx c }).(GuestOsFeatureTypePtrOutput) } +func (o GuestOsFeatureTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeatureType] { + return pulumix.Output[GuestOsFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10325,6 +11412,12 @@ func (o GuestOsFeatureTypePtrOutput) ToGuestOsFeatureTypePtrOutputWithContext(ct return o } +func (o GuestOsFeatureTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GuestOsFeatureType] { + return pulumix.Output[*GuestOsFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureTypePtrOutput) Elem() GuestOsFeatureTypeOutput { return o.ApplyT(func(v *GuestOsFeatureType) GuestOsFeatureType { if v != nil { @@ -10387,6 +11480,12 @@ func (in *guestOsFeatureTypePtr) ToGuestOsFeatureTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(GuestOsFeatureTypePtrOutput) } +func (in *guestOsFeatureTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GuestOsFeatureType] { + return pulumix.Output[*GuestOsFeatureType]{ + OutputState: in.ToGuestOsFeatureTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type HTTP2HealthCheckPortSpecification string @@ -10459,6 +11558,12 @@ func (o HTTP2HealthCheckPortSpecificationOutput) ToHTTP2HealthCheckPortSpecifica }).(HTTP2HealthCheckPortSpecificationPtrOutput) } +func (o HTTP2HealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheckPortSpecification] { + return pulumix.Output[HTTP2HealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10494,6 +11599,12 @@ func (o HTTP2HealthCheckPortSpecificationPtrOutput) ToHTTP2HealthCheckPortSpecif return o } +func (o HTTP2HealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckPortSpecification] { + return pulumix.Output[*HTTP2HealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckPortSpecificationPtrOutput) Elem() HTTP2HealthCheckPortSpecificationOutput { return o.ApplyT(func(v *HTTP2HealthCheckPortSpecification) HTTP2HealthCheckPortSpecification { if v != nil { @@ -10556,6 +11667,12 @@ func (in *http2healthCheckPortSpecificationPtr) ToHTTP2HealthCheckPortSpecificat return pulumi.ToOutputWithContext(ctx, in).(HTTP2HealthCheckPortSpecificationPtrOutput) } +func (in *http2healthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckPortSpecification] { + return pulumix.Output[*HTTP2HealthCheckPortSpecification]{ + OutputState: in.ToHTTP2HealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type HTTP2HealthCheckProxyHeader string @@ -10624,6 +11741,12 @@ func (o HTTP2HealthCheckProxyHeaderOutput) ToHTTP2HealthCheckProxyHeaderPtrOutpu }).(HTTP2HealthCheckProxyHeaderPtrOutput) } +func (o HTTP2HealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheckProxyHeader] { + return pulumix.Output[HTTP2HealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10659,6 +11782,12 @@ func (o HTTP2HealthCheckProxyHeaderPtrOutput) ToHTTP2HealthCheckProxyHeaderPtrOu return o } +func (o HTTP2HealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckProxyHeader] { + return pulumix.Output[*HTTP2HealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckProxyHeaderPtrOutput) Elem() HTTP2HealthCheckProxyHeaderOutput { return o.ApplyT(func(v *HTTP2HealthCheckProxyHeader) HTTP2HealthCheckProxyHeader { if v != nil { @@ -10721,6 +11850,12 @@ func (in *http2healthCheckProxyHeaderPtr) ToHTTP2HealthCheckProxyHeaderPtrOutput return pulumi.ToOutputWithContext(ctx, in).(HTTP2HealthCheckProxyHeaderPtrOutput) } +func (in *http2healthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheckProxyHeader] { + return pulumix.Output[*HTTP2HealthCheckProxyHeader]{ + OutputState: in.ToHTTP2HealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type HTTPHealthCheckPortSpecification string @@ -10793,6 +11928,12 @@ func (o HTTPHealthCheckPortSpecificationOutput) ToHTTPHealthCheckPortSpecificati }).(HTTPHealthCheckPortSpecificationPtrOutput) } +func (o HTTPHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckPortSpecification] { + return pulumix.Output[HTTPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10828,6 +11969,12 @@ func (o HTTPHealthCheckPortSpecificationPtrOutput) ToHTTPHealthCheckPortSpecific return o } +func (o HTTPHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckPortSpecification] { + return pulumix.Output[*HTTPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckPortSpecificationPtrOutput) Elem() HTTPHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *HTTPHealthCheckPortSpecification) HTTPHealthCheckPortSpecification { if v != nil { @@ -10890,6 +12037,12 @@ func (in *httphealthCheckPortSpecificationPtr) ToHTTPHealthCheckPortSpecificatio return pulumi.ToOutputWithContext(ctx, in).(HTTPHealthCheckPortSpecificationPtrOutput) } +func (in *httphealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckPortSpecification] { + return pulumix.Output[*HTTPHealthCheckPortSpecification]{ + OutputState: in.ToHTTPHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type HTTPHealthCheckProxyHeader string @@ -10958,6 +12111,12 @@ func (o HTTPHealthCheckProxyHeaderOutput) ToHTTPHealthCheckProxyHeaderPtrOutputW }).(HTTPHealthCheckProxyHeaderPtrOutput) } +func (o HTTPHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckProxyHeader] { + return pulumix.Output[HTTPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10993,6 +12152,12 @@ func (o HTTPHealthCheckProxyHeaderPtrOutput) ToHTTPHealthCheckProxyHeaderPtrOutp return o } +func (o HTTPHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckProxyHeader] { + return pulumix.Output[*HTTPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckProxyHeaderPtrOutput) Elem() HTTPHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *HTTPHealthCheckProxyHeader) HTTPHealthCheckProxyHeader { if v != nil { @@ -11055,6 +12220,12 @@ func (in *httphealthCheckProxyHeaderPtr) ToHTTPHealthCheckProxyHeaderPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(HTTPHealthCheckProxyHeaderPtrOutput) } +func (in *httphealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckProxyHeader] { + return pulumix.Output[*HTTPHealthCheckProxyHeader]{ + OutputState: in.ToHTTPHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type HTTPSHealthCheckPortSpecification string @@ -11127,6 +12298,12 @@ func (o HTTPSHealthCheckPortSpecificationOutput) ToHTTPSHealthCheckPortSpecifica }).(HTTPSHealthCheckPortSpecificationPtrOutput) } +func (o HTTPSHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckPortSpecification] { + return pulumix.Output[HTTPSHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11162,6 +12339,12 @@ func (o HTTPSHealthCheckPortSpecificationPtrOutput) ToHTTPSHealthCheckPortSpecif return o } +func (o HTTPSHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckPortSpecification] { + return pulumix.Output[*HTTPSHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckPortSpecificationPtrOutput) Elem() HTTPSHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *HTTPSHealthCheckPortSpecification) HTTPSHealthCheckPortSpecification { if v != nil { @@ -11224,6 +12407,12 @@ func (in *httpshealthCheckPortSpecificationPtr) ToHTTPSHealthCheckPortSpecificat return pulumi.ToOutputWithContext(ctx, in).(HTTPSHealthCheckPortSpecificationPtrOutput) } +func (in *httpshealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckPortSpecification] { + return pulumix.Output[*HTTPSHealthCheckPortSpecification]{ + OutputState: in.ToHTTPSHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type HTTPSHealthCheckProxyHeader string @@ -11292,6 +12481,12 @@ func (o HTTPSHealthCheckProxyHeaderOutput) ToHTTPSHealthCheckProxyHeaderPtrOutpu }).(HTTPSHealthCheckProxyHeaderPtrOutput) } +func (o HTTPSHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckProxyHeader] { + return pulumix.Output[HTTPSHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11327,6 +12522,12 @@ func (o HTTPSHealthCheckProxyHeaderPtrOutput) ToHTTPSHealthCheckProxyHeaderPtrOu return o } +func (o HTTPSHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckProxyHeader] { + return pulumix.Output[*HTTPSHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckProxyHeaderPtrOutput) Elem() HTTPSHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *HTTPSHealthCheckProxyHeader) HTTPSHealthCheckProxyHeader { if v != nil { @@ -11389,6 +12590,12 @@ func (in *httpshealthCheckProxyHeaderPtr) ToHTTPSHealthCheckProxyHeaderPtrOutput return pulumi.ToOutputWithContext(ctx, in).(HTTPSHealthCheckProxyHeaderPtrOutput) } +func (in *httpshealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckProxyHeader] { + return pulumix.Output[*HTTPSHealthCheckProxyHeader]{ + OutputState: in.ToHTTPSHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. type HealthCheckType string @@ -11462,6 +12669,12 @@ func (o HealthCheckTypeOutput) ToHealthCheckTypePtrOutputWithContext(ctx context }).(HealthCheckTypePtrOutput) } +func (o HealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckType] { + return pulumix.Output[HealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11497,6 +12710,12 @@ func (o HealthCheckTypePtrOutput) ToHealthCheckTypePtrOutputWithContext(ctx cont return o } +func (o HealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckType] { + return pulumix.Output[*HealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckTypePtrOutput) Elem() HealthCheckTypeOutput { return o.ApplyT(func(v *HealthCheckType) HealthCheckType { if v != nil { @@ -11559,6 +12778,12 @@ func (in *healthCheckTypePtr) ToHealthCheckTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(HealthCheckTypePtrOutput) } +func (in *healthCheckTypePtr) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckType] { + return pulumix.Output[*HealthCheckType]{ + OutputState: in.ToHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained. type HttpRedirectActionRedirectResponseCode string @@ -11635,6 +12860,12 @@ func (o HttpRedirectActionRedirectResponseCodeOutput) ToHttpRedirectActionRedire }).(HttpRedirectActionRedirectResponseCodePtrOutput) } +func (o HttpRedirectActionRedirectResponseCodeOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectActionRedirectResponseCode] { + return pulumix.Output[HttpRedirectActionRedirectResponseCode]{ + OutputState: o.OutputState, + } +} + func (o HttpRedirectActionRedirectResponseCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11670,6 +12901,12 @@ func (o HttpRedirectActionRedirectResponseCodePtrOutput) ToHttpRedirectActionRed return o } +func (o HttpRedirectActionRedirectResponseCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectActionRedirectResponseCode] { + return pulumix.Output[*HttpRedirectActionRedirectResponseCode]{ + OutputState: o.OutputState, + } +} + func (o HttpRedirectActionRedirectResponseCodePtrOutput) Elem() HttpRedirectActionRedirectResponseCodeOutput { return o.ApplyT(func(v *HttpRedirectActionRedirectResponseCode) HttpRedirectActionRedirectResponseCode { if v != nil { @@ -11732,6 +12969,12 @@ func (in *httpRedirectActionRedirectResponseCodePtr) ToHttpRedirectActionRedirec return pulumi.ToOutputWithContext(ctx, in).(HttpRedirectActionRedirectResponseCodePtrOutput) } +func (in *httpRedirectActionRedirectResponseCodePtr) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectActionRedirectResponseCode] { + return pulumix.Output[*HttpRedirectActionRedirectResponseCode]{ + OutputState: in.ToHttpRedirectActionRedirectResponseCodePtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the image. Valid values are ARM64 or X86_64. type ImageArchitecture string @@ -11804,6 +13047,12 @@ func (o ImageArchitectureOutput) ToImageArchitecturePtrOutputWithContext(ctx con }).(ImageArchitecturePtrOutput) } +func (o ImageArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[ImageArchitecture] { + return pulumix.Output[ImageArchitecture]{ + OutputState: o.OutputState, + } +} + func (o ImageArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11839,6 +13088,12 @@ func (o ImageArchitecturePtrOutput) ToImageArchitecturePtrOutputWithContext(ctx return o } +func (o ImageArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageArchitecture] { + return pulumix.Output[*ImageArchitecture]{ + OutputState: o.OutputState, + } +} + func (o ImageArchitecturePtrOutput) Elem() ImageArchitectureOutput { return o.ApplyT(func(v *ImageArchitecture) ImageArchitecture { if v != nil { @@ -11901,6 +13156,12 @@ func (in *imageArchitecturePtr) ToImageArchitecturePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(ImageArchitecturePtrOutput) } +func (in *imageArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageArchitecture] { + return pulumix.Output[*ImageArchitecture]{ + OutputState: in.ToImageArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. type ImageRawDiskContainerType string @@ -11968,6 +13229,12 @@ func (o ImageRawDiskContainerTypeOutput) ToImageRawDiskContainerTypePtrOutputWit }).(ImageRawDiskContainerTypePtrOutput) } +func (o ImageRawDiskContainerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ImageRawDiskContainerType] { + return pulumix.Output[ImageRawDiskContainerType]{ + OutputState: o.OutputState, + } +} + func (o ImageRawDiskContainerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12003,6 +13270,12 @@ func (o ImageRawDiskContainerTypePtrOutput) ToImageRawDiskContainerTypePtrOutput return o } +func (o ImageRawDiskContainerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDiskContainerType] { + return pulumix.Output[*ImageRawDiskContainerType]{ + OutputState: o.OutputState, + } +} + func (o ImageRawDiskContainerTypePtrOutput) Elem() ImageRawDiskContainerTypeOutput { return o.ApplyT(func(v *ImageRawDiskContainerType) ImageRawDiskContainerType { if v != nil { @@ -12065,6 +13338,12 @@ func (in *imageRawDiskContainerTypePtr) ToImageRawDiskContainerTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ImageRawDiskContainerTypePtrOutput) } +func (in *imageRawDiskContainerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDiskContainerType] { + return pulumix.Output[*ImageRawDiskContainerType]{ + OutputState: in.ToImageRawDiskContainerTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the image used to create this disk. The default and only valid value is RAW. type ImageSourceType string @@ -12132,6 +13411,12 @@ func (o ImageSourceTypeOutput) ToImageSourceTypePtrOutputWithContext(ctx context }).(ImageSourceTypePtrOutput) } +func (o ImageSourceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ImageSourceType] { + return pulumix.Output[ImageSourceType]{ + OutputState: o.OutputState, + } +} + func (o ImageSourceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12167,6 +13452,12 @@ func (o ImageSourceTypePtrOutput) ToImageSourceTypePtrOutputWithContext(ctx cont return o } +func (o ImageSourceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageSourceType] { + return pulumix.Output[*ImageSourceType]{ + OutputState: o.OutputState, + } +} + func (o ImageSourceTypePtrOutput) Elem() ImageSourceTypeOutput { return o.ApplyT(func(v *ImageSourceType) ImageSourceType { if v != nil { @@ -12229,6 +13520,12 @@ func (in *imageSourceTypePtr) ToImageSourceTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(ImageSourceTypePtrOutput) } +func (in *imageSourceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageSourceType] { + return pulumix.Output[*ImageSourceType]{ + OutputState: in.ToImageSourceTypePtrOutputWithContext(ctx).OutputState, + } +} + // Pagination behavior of the listManagedInstances API method for this managed instance group. type InstanceGroupManagerListManagedInstancesResults string @@ -12299,6 +13596,12 @@ func (o InstanceGroupManagerListManagedInstancesResultsOutput) ToInstanceGroupMa }).(InstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (o InstanceGroupManagerListManagedInstancesResultsOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[InstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerListManagedInstancesResultsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12334,6 +13637,12 @@ func (o InstanceGroupManagerListManagedInstancesResultsPtrOutput) ToInstanceGrou return o } +func (o InstanceGroupManagerListManagedInstancesResultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*InstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerListManagedInstancesResultsPtrOutput) Elem() InstanceGroupManagerListManagedInstancesResultsOutput { return o.ApplyT(func(v *InstanceGroupManagerListManagedInstancesResults) InstanceGroupManagerListManagedInstancesResults { if v != nil { @@ -12396,6 +13705,12 @@ func (in *instanceGroupManagerListManagedInstancesResultsPtr) ToInstanceGroupMan return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (in *instanceGroupManagerListManagedInstancesResultsPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*InstanceGroupManagerListManagedInstancesResults]{ + OutputState: in.ToInstanceGroupManagerListManagedInstancesResultsPtrOutputWithContext(ctx).OutputState, + } +} + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. type InstanceGroupManagerUpdatePolicyInstanceRedistributionType string @@ -12466,6 +13781,12 @@ func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput) ToInst }).(InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) } +func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyInstanceRedistributionType] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyInstanceRedistributionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12501,6 +13822,12 @@ func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) ToI return o } +func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) Elem() InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyInstanceRedistributionType) InstanceGroupManagerUpdatePolicyInstanceRedistributionType { if v != nil { @@ -12563,6 +13890,12 @@ func (in *instanceGroupManagerUpdatePolicyInstanceRedistributionTypePtr) ToInsta return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput) } +func (in *instanceGroupManagerUpdatePolicyInstanceRedistributionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyInstanceRedistributionType]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutputWithContext(ctx).OutputState, + } +} + // Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. type InstanceGroupManagerUpdatePolicyMinimalAction string @@ -12637,6 +13970,12 @@ func (o InstanceGroupManagerUpdatePolicyMinimalActionOutput) ToInstanceGroupMana }).(InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyMinimalActionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyMinimalAction] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyMinimalAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMinimalActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12672,6 +14011,12 @@ func (o InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) ToInstanceGroupM return o } +func (o InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) Elem() InstanceGroupManagerUpdatePolicyMinimalActionOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyMinimalAction) InstanceGroupManagerUpdatePolicyMinimalAction { if v != nil { @@ -12734,6 +14079,12 @@ func (in *instanceGroupManagerUpdatePolicyMinimalActionPtr) ToInstanceGroupManag return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyMinimalActionPtrOutput) } +func (in *instanceGroupManagerUpdatePolicyMinimalActionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMinimalAction]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyMinimalActionPtrOutputWithContext(ctx).OutputState, + } +} + // Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. type InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction string @@ -12808,6 +14159,12 @@ func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput) ToIns }).(InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -12843,6 +14200,12 @@ func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) To return o } +func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) Elem() InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction) InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction { if v != nil { @@ -12905,6 +14268,12 @@ func (in *instanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtr) ToInst return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutput) } +func (in *instanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionPtrOutputWithContext(ctx).OutputState, + } +} + // What action should be used to replace instances. See minimal_action.REPLACE type InstanceGroupManagerUpdatePolicyReplacementMethod string @@ -12975,6 +14344,12 @@ func (o InstanceGroupManagerUpdatePolicyReplacementMethodOutput) ToInstanceGroup }).(InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyReplacementMethodOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyReplacementMethod] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyReplacementMethod]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyReplacementMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13010,6 +14385,12 @@ func (o InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) ToInstanceGr return o } +func (o InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) Elem() InstanceGroupManagerUpdatePolicyReplacementMethodOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyReplacementMethod) InstanceGroupManagerUpdatePolicyReplacementMethod { if v != nil { @@ -13072,6 +14453,12 @@ func (in *instanceGroupManagerUpdatePolicyReplacementMethodPtr) ToInstanceGroupM return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyReplacementMethodPtrOutput) } +func (in *instanceGroupManagerUpdatePolicyReplacementMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyReplacementMethod]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyReplacementMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). type InstanceGroupManagerUpdatePolicyType string @@ -13142,6 +14529,12 @@ func (o InstanceGroupManagerUpdatePolicyTypeOutput) ToInstanceGroupManagerUpdate }).(InstanceGroupManagerUpdatePolicyTypePtrOutput) } +func (o InstanceGroupManagerUpdatePolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyType] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13177,6 +14570,12 @@ func (o InstanceGroupManagerUpdatePolicyTypePtrOutput) ToInstanceGroupManagerUpd return o } +func (o InstanceGroupManagerUpdatePolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyType]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyTypePtrOutput) Elem() InstanceGroupManagerUpdatePolicyTypeOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicyType) InstanceGroupManagerUpdatePolicyType { if v != nil { @@ -13239,6 +14638,12 @@ func (in *instanceGroupManagerUpdatePolicyTypePtr) ToInstanceGroupManagerUpdateP return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupManagerUpdatePolicyTypePtrOutput) } +func (in *instanceGroupManagerUpdatePolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicyType] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicyType]{ + OutputState: in.ToInstanceGroupManagerUpdatePolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. type InstanceKeyRevocationActionType string @@ -13311,6 +14716,12 @@ func (o InstanceKeyRevocationActionTypeOutput) ToInstanceKeyRevocationActionType }).(InstanceKeyRevocationActionTypePtrOutput) } +func (o InstanceKeyRevocationActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceKeyRevocationActionType] { + return pulumix.Output[InstanceKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceKeyRevocationActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13346,6 +14757,12 @@ func (o InstanceKeyRevocationActionTypePtrOutput) ToInstanceKeyRevocationActionT return o } +func (o InstanceKeyRevocationActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceKeyRevocationActionType] { + return pulumix.Output[*InstanceKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstanceKeyRevocationActionTypePtrOutput) Elem() InstanceKeyRevocationActionTypeOutput { return o.ApplyT(func(v *InstanceKeyRevocationActionType) InstanceKeyRevocationActionType { if v != nil { @@ -13408,6 +14825,12 @@ func (in *instanceKeyRevocationActionTypePtr) ToInstanceKeyRevocationActionTypeP return pulumi.ToOutputWithContext(ctx, in).(InstanceKeyRevocationActionTypePtrOutput) } +func (in *instanceKeyRevocationActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceKeyRevocationActionType] { + return pulumix.Output[*InstanceKeyRevocationActionType]{ + OutputState: in.ToInstanceKeyRevocationActionTypePtrOutputWithContext(ctx).OutputState, + } +} + // The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. type InstancePrivateIpv6GoogleAccess string @@ -13480,6 +14903,12 @@ func (o InstancePrivateIpv6GoogleAccessOutput) ToInstancePrivateIpv6GoogleAccess }).(InstancePrivateIpv6GoogleAccessPtrOutput) } +func (o InstancePrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePrivateIpv6GoogleAccess] { + return pulumix.Output[InstancePrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13515,6 +14944,12 @@ func (o InstancePrivateIpv6GoogleAccessPtrOutput) ToInstancePrivateIpv6GoogleAcc return o } +func (o InstancePrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePrivateIpv6GoogleAccessPtrOutput) Elem() InstancePrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *InstancePrivateIpv6GoogleAccess) InstancePrivateIpv6GoogleAccess { if v != nil { @@ -13577,6 +15012,12 @@ func (in *instancePrivateIpv6GoogleAccessPtr) ToInstancePrivateIpv6GoogleAccessP return pulumi.ToOutputWithContext(ctx, in).(InstancePrivateIpv6GoogleAccessPtrOutput) } +func (in *instancePrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePrivateIpv6GoogleAccess]{ + OutputState: in.ToInstancePrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. type InstancePropertiesKeyRevocationActionType string @@ -13649,6 +15090,12 @@ func (o InstancePropertiesKeyRevocationActionTypeOutput) ToInstancePropertiesKey }).(InstancePropertiesKeyRevocationActionTypePtrOutput) } +func (o InstancePropertiesKeyRevocationActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesKeyRevocationActionType] { + return pulumix.Output[InstancePropertiesKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesKeyRevocationActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13684,6 +15131,12 @@ func (o InstancePropertiesKeyRevocationActionTypePtrOutput) ToInstanceProperties return o } +func (o InstancePropertiesKeyRevocationActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesKeyRevocationActionType] { + return pulumix.Output[*InstancePropertiesKeyRevocationActionType]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesKeyRevocationActionTypePtrOutput) Elem() InstancePropertiesKeyRevocationActionTypeOutput { return o.ApplyT(func(v *InstancePropertiesKeyRevocationActionType) InstancePropertiesKeyRevocationActionType { if v != nil { @@ -13746,6 +15199,12 @@ func (in *instancePropertiesKeyRevocationActionTypePtr) ToInstancePropertiesKeyR return pulumi.ToOutputWithContext(ctx, in).(InstancePropertiesKeyRevocationActionTypePtrOutput) } +func (in *instancePropertiesKeyRevocationActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesKeyRevocationActionType] { + return pulumix.Output[*InstancePropertiesKeyRevocationActionType]{ + OutputState: in.ToInstancePropertiesKeyRevocationActionTypePtrOutputWithContext(ctx).OutputState, + } +} + // The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. type InstancePropertiesPrivateIpv6GoogleAccess string @@ -13818,6 +15277,12 @@ func (o InstancePropertiesPrivateIpv6GoogleAccessOutput) ToInstancePropertiesPri }).(InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) } +func (o InstancePropertiesPrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesPrivateIpv6GoogleAccess] { + return pulumix.Output[InstancePropertiesPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -13853,6 +15318,12 @@ func (o InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) ToInstanceProperties return o } +func (o InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) Elem() InstancePropertiesPrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *InstancePropertiesPrivateIpv6GoogleAccess) InstancePropertiesPrivateIpv6GoogleAccess { if v != nil { @@ -13915,6 +15386,12 @@ func (in *instancePropertiesPrivateIpv6GoogleAccessPtr) ToInstancePropertiesPriv return pulumi.ToOutputWithContext(ctx, in).(InstancePropertiesPrivateIpv6GoogleAccessPtrOutput) } +func (in *instancePropertiesPrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess] { + return pulumix.Output[*InstancePropertiesPrivateIpv6GoogleAccess]{ + OutputState: in.ToInstancePropertiesPrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s type InterconnectAttachmentBandwidth string @@ -14005,6 +15482,12 @@ func (o InterconnectAttachmentBandwidthOutput) ToInterconnectAttachmentBandwidth }).(InterconnectAttachmentBandwidthPtrOutput) } +func (o InterconnectAttachmentBandwidthOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentBandwidth] { + return pulumix.Output[InterconnectAttachmentBandwidth]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentBandwidthOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14040,6 +15523,12 @@ func (o InterconnectAttachmentBandwidthPtrOutput) ToInterconnectAttachmentBandwi return o } +func (o InterconnectAttachmentBandwidthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentBandwidth] { + return pulumix.Output[*InterconnectAttachmentBandwidth]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentBandwidthPtrOutput) Elem() InterconnectAttachmentBandwidthOutput { return o.ApplyT(func(v *InterconnectAttachmentBandwidth) InterconnectAttachmentBandwidth { if v != nil { @@ -14102,6 +15591,12 @@ func (in *interconnectAttachmentBandwidthPtr) ToInterconnectAttachmentBandwidthP return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentBandwidthPtrOutput) } +func (in *interconnectAttachmentBandwidthPtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentBandwidth] { + return pulumix.Output[*InterconnectAttachmentBandwidth]{ + OutputState: in.ToInterconnectAttachmentBandwidthPtrOutputWithContext(ctx).OutputState, + } +} + // Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. type InterconnectAttachmentEdgeAvailabilityDomain string @@ -14171,6 +15666,12 @@ func (o InterconnectAttachmentEdgeAvailabilityDomainOutput) ToInterconnectAttach }).(InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) } +func (o InterconnectAttachmentEdgeAvailabilityDomainOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentEdgeAvailabilityDomain] { + return pulumix.Output[InterconnectAttachmentEdgeAvailabilityDomain]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEdgeAvailabilityDomainOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14206,6 +15707,12 @@ func (o InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) ToInterconnectAtt return o } +func (o InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain] { + return pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) Elem() InterconnectAttachmentEdgeAvailabilityDomainOutput { return o.ApplyT(func(v *InterconnectAttachmentEdgeAvailabilityDomain) InterconnectAttachmentEdgeAvailabilityDomain { if v != nil { @@ -14268,6 +15775,12 @@ func (in *interconnectAttachmentEdgeAvailabilityDomainPtr) ToInterconnectAttachm return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentEdgeAvailabilityDomainPtrOutput) } +func (in *interconnectAttachmentEdgeAvailabilityDomainPtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain] { + return pulumix.Output[*InterconnectAttachmentEdgeAvailabilityDomain]{ + OutputState: in.ToInterconnectAttachmentEdgeAvailabilityDomainPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option. type InterconnectAttachmentEncryption string @@ -14338,6 +15851,12 @@ func (o InterconnectAttachmentEncryptionOutput) ToInterconnectAttachmentEncrypti }).(InterconnectAttachmentEncryptionPtrOutput) } +func (o InterconnectAttachmentEncryptionOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentEncryption] { + return pulumix.Output[InterconnectAttachmentEncryption]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEncryptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14373,6 +15892,12 @@ func (o InterconnectAttachmentEncryptionPtrOutput) ToInterconnectAttachmentEncry return o } +func (o InterconnectAttachmentEncryptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEncryption] { + return pulumix.Output[*InterconnectAttachmentEncryption]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentEncryptionPtrOutput) Elem() InterconnectAttachmentEncryptionOutput { return o.ApplyT(func(v *InterconnectAttachmentEncryption) InterconnectAttachmentEncryption { if v != nil { @@ -14435,6 +15960,12 @@ func (in *interconnectAttachmentEncryptionPtr) ToInterconnectAttachmentEncryptio return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentEncryptionPtrOutput) } +func (in *interconnectAttachmentEncryptionPtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentEncryption] { + return pulumix.Output[*InterconnectAttachmentEncryption]{ + OutputState: in.ToInterconnectAttachmentEncryptionPtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations. type InterconnectAttachmentStackType string @@ -14505,6 +16036,12 @@ func (o InterconnectAttachmentStackTypeOutput) ToInterconnectAttachmentStackType }).(InterconnectAttachmentStackTypePtrOutput) } +func (o InterconnectAttachmentStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentStackType] { + return pulumix.Output[InterconnectAttachmentStackType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14540,6 +16077,12 @@ func (o InterconnectAttachmentStackTypePtrOutput) ToInterconnectAttachmentStackT return o } +func (o InterconnectAttachmentStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentStackType] { + return pulumix.Output[*InterconnectAttachmentStackType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentStackTypePtrOutput) Elem() InterconnectAttachmentStackTypeOutput { return o.ApplyT(func(v *InterconnectAttachmentStackType) InterconnectAttachmentStackType { if v != nil { @@ -14602,6 +16145,12 @@ func (in *interconnectAttachmentStackTypePtr) ToInterconnectAttachmentStackTypeP return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentStackTypePtrOutput) } +func (in *interconnectAttachmentStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentStackType] { + return pulumix.Output[*InterconnectAttachmentStackType]{ + OutputState: in.ToInterconnectAttachmentStackTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. type InterconnectAttachmentType string @@ -14674,6 +16223,12 @@ func (o InterconnectAttachmentTypeOutput) ToInterconnectAttachmentTypePtrOutputW }).(InterconnectAttachmentTypePtrOutput) } +func (o InterconnectAttachmentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentType] { + return pulumix.Output[InterconnectAttachmentType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14709,6 +16264,12 @@ func (o InterconnectAttachmentTypePtrOutput) ToInterconnectAttachmentTypePtrOutp return o } +func (o InterconnectAttachmentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentType] { + return pulumix.Output[*InterconnectAttachmentType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentTypePtrOutput) Elem() InterconnectAttachmentTypeOutput { return o.ApplyT(func(v *InterconnectAttachmentType) InterconnectAttachmentType { if v != nil { @@ -14771,6 +16332,12 @@ func (in *interconnectAttachmentTypePtr) ToInterconnectAttachmentTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(InterconnectAttachmentTypePtrOutput) } +func (in *interconnectAttachmentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentType] { + return pulumix.Output[*InterconnectAttachmentType]{ + OutputState: in.ToInterconnectAttachmentTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. type InterconnectInterconnectType string @@ -14843,6 +16410,12 @@ func (o InterconnectInterconnectTypeOutput) ToInterconnectInterconnectTypePtrOut }).(InterconnectInterconnectTypePtrOutput) } +func (o InterconnectInterconnectTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectInterconnectType] { + return pulumix.Output[InterconnectInterconnectType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectInterconnectTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -14878,6 +16451,12 @@ func (o InterconnectInterconnectTypePtrOutput) ToInterconnectInterconnectTypePtr return o } +func (o InterconnectInterconnectTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectInterconnectType] { + return pulumix.Output[*InterconnectInterconnectType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectInterconnectTypePtrOutput) Elem() InterconnectInterconnectTypeOutput { return o.ApplyT(func(v *InterconnectInterconnectType) InterconnectInterconnectType { if v != nil { @@ -14940,6 +16519,12 @@ func (in *interconnectInterconnectTypePtr) ToInterconnectInterconnectTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(InterconnectInterconnectTypePtrOutput) } +func (in *interconnectInterconnectTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectInterconnectType] { + return pulumix.Output[*InterconnectInterconnectType]{ + OutputState: in.ToInterconnectInterconnectTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. type InterconnectLinkType string @@ -15010,6 +16595,12 @@ func (o InterconnectLinkTypeOutput) ToInterconnectLinkTypePtrOutputWithContext(c }).(InterconnectLinkTypePtrOutput) } +func (o InterconnectLinkTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectLinkType] { + return pulumix.Output[InterconnectLinkType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectLinkTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15045,6 +16636,12 @@ func (o InterconnectLinkTypePtrOutput) ToInterconnectLinkTypePtrOutputWithContex return o } +func (o InterconnectLinkTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectLinkType] { + return pulumix.Output[*InterconnectLinkType]{ + OutputState: o.OutputState, + } +} + func (o InterconnectLinkTypePtrOutput) Elem() InterconnectLinkTypeOutput { return o.ApplyT(func(v *InterconnectLinkType) InterconnectLinkType { if v != nil { @@ -15107,6 +16704,12 @@ func (in *interconnectLinkTypePtr) ToInterconnectLinkTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InterconnectLinkTypePtrOutput) } +func (in *interconnectLinkTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InterconnectLinkType] { + return pulumix.Output[*InterconnectLinkType]{ + OutputState: in.ToInterconnectLinkTypePtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCloudAuditOptionsLogName string @@ -15179,6 +16782,12 @@ func (o LogConfigCloudAuditOptionsLogNameOutput) ToLogConfigCloudAuditOptionsLog }).(LogConfigCloudAuditOptionsLogNamePtrOutput) } +func (o LogConfigCloudAuditOptionsLogNameOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptionsLogName] { + return pulumix.Output[LogConfigCloudAuditOptionsLogName]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCloudAuditOptionsLogNameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15214,6 +16823,12 @@ func (o LogConfigCloudAuditOptionsLogNamePtrOutput) ToLogConfigCloudAuditOptions return o } +func (o LogConfigCloudAuditOptionsLogNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptionsLogName] { + return pulumix.Output[*LogConfigCloudAuditOptionsLogName]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCloudAuditOptionsLogNamePtrOutput) Elem() LogConfigCloudAuditOptionsLogNameOutput { return o.ApplyT(func(v *LogConfigCloudAuditOptionsLogName) LogConfigCloudAuditOptionsLogName { if v != nil { @@ -15276,6 +16891,12 @@ func (in *logConfigCloudAuditOptionsLogNamePtr) ToLogConfigCloudAuditOptionsLogN return pulumi.ToOutputWithContext(ctx, in).(LogConfigCloudAuditOptionsLogNamePtrOutput) } +func (in *logConfigCloudAuditOptionsLogNamePtr) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptionsLogName] { + return pulumix.Output[*LogConfigCloudAuditOptionsLogName]{ + OutputState: in.ToLogConfigCloudAuditOptionsLogNamePtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigDataAccessOptionsLogMode string @@ -15346,6 +16967,12 @@ func (o LogConfigDataAccessOptionsLogModeOutput) ToLogConfigDataAccessOptionsLog }).(LogConfigDataAccessOptionsLogModePtrOutput) } +func (o LogConfigDataAccessOptionsLogModeOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptionsLogMode] { + return pulumix.Output[LogConfigDataAccessOptionsLogMode]{ + OutputState: o.OutputState, + } +} + func (o LogConfigDataAccessOptionsLogModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15381,6 +17008,12 @@ func (o LogConfigDataAccessOptionsLogModePtrOutput) ToLogConfigDataAccessOptions return o } +func (o LogConfigDataAccessOptionsLogModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptionsLogMode] { + return pulumix.Output[*LogConfigDataAccessOptionsLogMode]{ + OutputState: o.OutputState, + } +} + func (o LogConfigDataAccessOptionsLogModePtrOutput) Elem() LogConfigDataAccessOptionsLogModeOutput { return o.ApplyT(func(v *LogConfigDataAccessOptionsLogMode) LogConfigDataAccessOptionsLogMode { if v != nil { @@ -15443,6 +17076,12 @@ func (in *logConfigDataAccessOptionsLogModePtr) ToLogConfigDataAccessOptionsLogM return pulumi.ToOutputWithContext(ctx, in).(LogConfigDataAccessOptionsLogModePtrOutput) } +func (in *logConfigDataAccessOptionsLogModePtr) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptionsLogMode] { + return pulumix.Output[*LogConfigDataAccessOptionsLogMode]{ + OutputState: in.ToLogConfigDataAccessOptionsLogModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. type MetadataFilterFilterMatchCriteria string @@ -15515,6 +17154,12 @@ func (o MetadataFilterFilterMatchCriteriaOutput) ToMetadataFilterFilterMatchCrit }).(MetadataFilterFilterMatchCriteriaPtrOutput) } +func (o MetadataFilterFilterMatchCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterFilterMatchCriteria] { + return pulumix.Output[MetadataFilterFilterMatchCriteria]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterFilterMatchCriteriaOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15550,6 +17195,12 @@ func (o MetadataFilterFilterMatchCriteriaPtrOutput) ToMetadataFilterFilterMatchC return o } +func (o MetadataFilterFilterMatchCriteriaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataFilterFilterMatchCriteria] { + return pulumix.Output[*MetadataFilterFilterMatchCriteria]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterFilterMatchCriteriaPtrOutput) Elem() MetadataFilterFilterMatchCriteriaOutput { return o.ApplyT(func(v *MetadataFilterFilterMatchCriteria) MetadataFilterFilterMatchCriteria { if v != nil { @@ -15612,6 +17263,12 @@ func (in *metadataFilterFilterMatchCriteriaPtr) ToMetadataFilterFilterMatchCrite return pulumi.ToOutputWithContext(ctx, in).(MetadataFilterFilterMatchCriteriaPtrOutput) } +func (in *metadataFilterFilterMatchCriteriaPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataFilterFilterMatchCriteria] { + return pulumix.Output[*MetadataFilterFilterMatchCriteria]{ + OutputState: in.ToMetadataFilterFilterMatchCriteriaPtrOutputWithContext(ctx).OutputState, + } +} + type NetworkAttachmentConnectionPreference string const ( @@ -15680,6 +17337,12 @@ func (o NetworkAttachmentConnectionPreferenceOutput) ToNetworkAttachmentConnecti }).(NetworkAttachmentConnectionPreferencePtrOutput) } +func (o NetworkAttachmentConnectionPreferenceOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkAttachmentConnectionPreference] { + return pulumix.Output[NetworkAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o NetworkAttachmentConnectionPreferenceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15715,6 +17378,12 @@ func (o NetworkAttachmentConnectionPreferencePtrOutput) ToNetworkAttachmentConne return o } +func (o NetworkAttachmentConnectionPreferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentConnectionPreference] { + return pulumix.Output[*NetworkAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o NetworkAttachmentConnectionPreferencePtrOutput) Elem() NetworkAttachmentConnectionPreferenceOutput { return o.ApplyT(func(v *NetworkAttachmentConnectionPreference) NetworkAttachmentConnectionPreference { if v != nil { @@ -15777,6 +17446,12 @@ func (in *networkAttachmentConnectionPreferencePtr) ToNetworkAttachmentConnectio return pulumi.ToOutputWithContext(ctx, in).(NetworkAttachmentConnectionPreferencePtrOutput) } +func (in *networkAttachmentConnectionPreferencePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkAttachmentConnectionPreference] { + return pulumix.Output[*NetworkAttachmentConnectionPreference]{ + OutputState: in.ToNetworkAttachmentConnectionPreferencePtrOutputWithContext(ctx).OutputState, + } +} + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. type NetworkEndpointGroupNetworkEndpointType string @@ -15857,6 +17532,12 @@ func (o NetworkEndpointGroupNetworkEndpointTypeOutput) ToNetworkEndpointGroupNet }).(NetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (o NetworkEndpointGroupNetworkEndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[NetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupNetworkEndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -15892,6 +17573,12 @@ func (o NetworkEndpointGroupNetworkEndpointTypePtrOutput) ToNetworkEndpointGroup return o } +func (o NetworkEndpointGroupNetworkEndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*NetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupNetworkEndpointTypePtrOutput) Elem() NetworkEndpointGroupNetworkEndpointTypeOutput { return o.ApplyT(func(v *NetworkEndpointGroupNetworkEndpointType) NetworkEndpointGroupNetworkEndpointType { if v != nil { @@ -15954,6 +17641,12 @@ func (in *networkEndpointGroupNetworkEndpointTypePtr) ToNetworkEndpointGroupNetw return pulumi.ToOutputWithContext(ctx, in).(NetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (in *networkEndpointGroupNetworkEndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*NetworkEndpointGroupNetworkEndpointType]{ + OutputState: in.ToNetworkEndpointGroupNetworkEndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. type NetworkInterfaceNicType string @@ -16026,6 +17719,12 @@ func (o NetworkInterfaceNicTypeOutput) ToNetworkInterfaceNicTypePtrOutputWithCon }).(NetworkInterfaceNicTypePtrOutput) } +func (o NetworkInterfaceNicTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceNicType] { + return pulumix.Output[NetworkInterfaceNicType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceNicTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16061,6 +17760,12 @@ func (o NetworkInterfaceNicTypePtrOutput) ToNetworkInterfaceNicTypePtrOutputWith return o } +func (o NetworkInterfaceNicTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceNicType] { + return pulumix.Output[*NetworkInterfaceNicType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceNicTypePtrOutput) Elem() NetworkInterfaceNicTypeOutput { return o.ApplyT(func(v *NetworkInterfaceNicType) NetworkInterfaceNicType { if v != nil { @@ -16123,6 +17828,12 @@ func (in *networkInterfaceNicTypePtr) ToNetworkInterfaceNicTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(NetworkInterfaceNicTypePtrOutput) } +func (in *networkInterfaceNicTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceNicType] { + return pulumix.Output[*NetworkInterfaceNicType]{ + OutputState: in.ToNetworkInterfaceNicTypePtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations. type NetworkInterfaceStackType string @@ -16193,6 +17904,12 @@ func (o NetworkInterfaceStackTypeOutput) ToNetworkInterfaceStackTypePtrOutputWit }).(NetworkInterfaceStackTypePtrOutput) } +func (o NetworkInterfaceStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceStackType] { + return pulumix.Output[NetworkInterfaceStackType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16228,6 +17945,12 @@ func (o NetworkInterfaceStackTypePtrOutput) ToNetworkInterfaceStackTypePtrOutput return o } +func (o NetworkInterfaceStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceStackType] { + return pulumix.Output[*NetworkInterfaceStackType]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceStackTypePtrOutput) Elem() NetworkInterfaceStackTypeOutput { return o.ApplyT(func(v *NetworkInterfaceStackType) NetworkInterfaceStackType { if v != nil { @@ -16290,6 +18013,12 @@ func (in *networkInterfaceStackTypePtr) ToNetworkInterfaceStackTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(NetworkInterfaceStackTypePtrOutput) } +func (in *networkInterfaceStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkInterfaceStackType] { + return pulumix.Output[*NetworkInterfaceStackType]{ + OutputState: in.ToNetworkInterfaceStackTypePtrOutputWithContext(ctx).OutputState, + } +} + // The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. type NetworkNetworkFirewallPolicyEnforcementOrder string @@ -16358,6 +18087,12 @@ func (o NetworkNetworkFirewallPolicyEnforcementOrderOutput) ToNetworkNetworkFire }).(NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) } +func (o NetworkNetworkFirewallPolicyEnforcementOrderOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkNetworkFirewallPolicyEnforcementOrder] { + return pulumix.Output[NetworkNetworkFirewallPolicyEnforcementOrder]{ + OutputState: o.OutputState, + } +} + func (o NetworkNetworkFirewallPolicyEnforcementOrderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16393,6 +18128,12 @@ func (o NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) ToNetworkNetworkF return o } +func (o NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder] { + return pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder]{ + OutputState: o.OutputState, + } +} + func (o NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) Elem() NetworkNetworkFirewallPolicyEnforcementOrderOutput { return o.ApplyT(func(v *NetworkNetworkFirewallPolicyEnforcementOrder) NetworkNetworkFirewallPolicyEnforcementOrder { if v != nil { @@ -16455,6 +18196,12 @@ func (in *networkNetworkFirewallPolicyEnforcementOrderPtr) ToNetworkNetworkFirew return pulumi.ToOutputWithContext(ctx, in).(NetworkNetworkFirewallPolicyEnforcementOrderPtrOutput) } +func (in *networkNetworkFirewallPolicyEnforcementOrderPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder] { + return pulumix.Output[*NetworkNetworkFirewallPolicyEnforcementOrder]{ + OutputState: in.ToNetworkNetworkFirewallPolicyEnforcementOrderPtrOutputWithContext(ctx).OutputState, + } +} + type NetworkPerformanceConfigTotalEgressBandwidthTier string const ( @@ -16522,6 +18269,12 @@ func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToNetworkPerform }).(NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) } +func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16557,6 +18310,12 @@ func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) ToNetworkPerf return o } +func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) Elem() NetworkPerformanceConfigTotalEgressBandwidthTierOutput { return o.ApplyT(func(v *NetworkPerformanceConfigTotalEgressBandwidthTier) NetworkPerformanceConfigTotalEgressBandwidthTier { if v != nil { @@ -16619,6 +18378,12 @@ func (in *networkPerformanceConfigTotalEgressBandwidthTierPtr) ToNetworkPerforma return pulumi.ToOutputWithContext(ctx, in).(NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) } +func (in *networkPerformanceConfigTotalEgressBandwidthTierPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: in.ToNetworkPerformanceConfigTotalEgressBandwidthTierPtrOutputWithContext(ctx).OutputState, + } +} + // The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. type NetworkRoutingConfigRoutingMode string @@ -16687,6 +18452,12 @@ func (o NetworkRoutingConfigRoutingModeOutput) ToNetworkRoutingConfigRoutingMode }).(NetworkRoutingConfigRoutingModePtrOutput) } +func (o NetworkRoutingConfigRoutingModeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfigRoutingMode] { + return pulumix.Output[NetworkRoutingConfigRoutingMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkRoutingConfigRoutingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16722,6 +18493,12 @@ func (o NetworkRoutingConfigRoutingModePtrOutput) ToNetworkRoutingConfigRoutingM return o } +func (o NetworkRoutingConfigRoutingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfigRoutingMode] { + return pulumix.Output[*NetworkRoutingConfigRoutingMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkRoutingConfigRoutingModePtrOutput) Elem() NetworkRoutingConfigRoutingModeOutput { return o.ApplyT(func(v *NetworkRoutingConfigRoutingMode) NetworkRoutingConfigRoutingMode { if v != nil { @@ -16784,6 +18561,12 @@ func (in *networkRoutingConfigRoutingModePtr) ToNetworkRoutingConfigRoutingModeP return pulumi.ToOutputWithContext(ctx, in).(NetworkRoutingConfigRoutingModePtrOutput) } +func (in *networkRoutingConfigRoutingModePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfigRoutingMode] { + return pulumix.Output[*NetworkRoutingConfigRoutingMode]{ + OutputState: in.ToNetworkRoutingConfigRoutingModePtrOutputWithContext(ctx).OutputState, + } +} + // The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. type NodeGroupAutoscalingPolicyMode string @@ -16857,6 +18640,12 @@ func (o NodeGroupAutoscalingPolicyModeOutput) ToNodeGroupAutoscalingPolicyModePt }).(NodeGroupAutoscalingPolicyModePtrOutput) } +func (o NodeGroupAutoscalingPolicyModeOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicyMode] { + return pulumix.Output[NodeGroupAutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAutoscalingPolicyModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -16892,6 +18681,12 @@ func (o NodeGroupAutoscalingPolicyModePtrOutput) ToNodeGroupAutoscalingPolicyMod return o } +func (o NodeGroupAutoscalingPolicyModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicyMode] { + return pulumix.Output[*NodeGroupAutoscalingPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAutoscalingPolicyModePtrOutput) Elem() NodeGroupAutoscalingPolicyModeOutput { return o.ApplyT(func(v *NodeGroupAutoscalingPolicyMode) NodeGroupAutoscalingPolicyMode { if v != nil { @@ -16954,6 +18749,12 @@ func (in *nodeGroupAutoscalingPolicyModePtr) ToNodeGroupAutoscalingPolicyModePtr return pulumi.ToOutputWithContext(ctx, in).(NodeGroupAutoscalingPolicyModePtrOutput) } +func (in *nodeGroupAutoscalingPolicyModePtr) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicyMode] { + return pulumix.Output[*NodeGroupAutoscalingPolicyMode]{ + OutputState: in.ToNodeGroupAutoscalingPolicyModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. type NodeGroupMaintenancePolicy string @@ -17027,6 +18828,12 @@ func (o NodeGroupMaintenancePolicyOutput) ToNodeGroupMaintenancePolicyPtrOutputW }).(NodeGroupMaintenancePolicyPtrOutput) } +func (o NodeGroupMaintenancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenancePolicy] { + return pulumix.Output[NodeGroupMaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenancePolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17062,6 +18869,12 @@ func (o NodeGroupMaintenancePolicyPtrOutput) ToNodeGroupMaintenancePolicyPtrOutp return o } +func (o NodeGroupMaintenancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenancePolicy] { + return pulumix.Output[*NodeGroupMaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenancePolicyPtrOutput) Elem() NodeGroupMaintenancePolicyOutput { return o.ApplyT(func(v *NodeGroupMaintenancePolicy) NodeGroupMaintenancePolicy { if v != nil { @@ -17124,6 +18937,12 @@ func (in *nodeGroupMaintenancePolicyPtr) ToNodeGroupMaintenancePolicyPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(NodeGroupMaintenancePolicyPtrOutput) } +func (in *nodeGroupMaintenancePolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenancePolicy] { + return pulumix.Output[*NodeGroupMaintenancePolicy]{ + OutputState: in.ToNodeGroupMaintenancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + type NodeGroupStatus string const ( @@ -17202,6 +19021,12 @@ func (o NodeTemplateCpuOvercommitTypeOutput) ToNodeTemplateCpuOvercommitTypePtrO }).(NodeTemplateCpuOvercommitTypePtrOutput) } +func (o NodeTemplateCpuOvercommitTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateCpuOvercommitType] { + return pulumix.Output[NodeTemplateCpuOvercommitType]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateCpuOvercommitTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17237,6 +19062,12 @@ func (o NodeTemplateCpuOvercommitTypePtrOutput) ToNodeTemplateCpuOvercommitTypeP return o } +func (o NodeTemplateCpuOvercommitTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateCpuOvercommitType] { + return pulumix.Output[*NodeTemplateCpuOvercommitType]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateCpuOvercommitTypePtrOutput) Elem() NodeTemplateCpuOvercommitTypeOutput { return o.ApplyT(func(v *NodeTemplateCpuOvercommitType) NodeTemplateCpuOvercommitType { if v != nil { @@ -17299,6 +19130,12 @@ func (in *nodeTemplateCpuOvercommitTypePtr) ToNodeTemplateCpuOvercommitTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(NodeTemplateCpuOvercommitTypePtrOutput) } +func (in *nodeTemplateCpuOvercommitTypePtr) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateCpuOvercommitType] { + return pulumix.Output[*NodeTemplateCpuOvercommitType]{ + OutputState: in.ToNodeTemplateCpuOvercommitTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. type PacketMirroringEnable string @@ -17367,6 +19204,12 @@ func (o PacketMirroringEnableOutput) ToPacketMirroringEnablePtrOutputWithContext }).(PacketMirroringEnablePtrOutput) } +func (o PacketMirroringEnableOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringEnable] { + return pulumix.Output[PacketMirroringEnable]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringEnableOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17402,6 +19245,12 @@ func (o PacketMirroringEnablePtrOutput) ToPacketMirroringEnablePtrOutputWithCont return o } +func (o PacketMirroringEnablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringEnable] { + return pulumix.Output[*PacketMirroringEnable]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringEnablePtrOutput) Elem() PacketMirroringEnableOutput { return o.ApplyT(func(v *PacketMirroringEnable) PacketMirroringEnable { if v != nil { @@ -17464,6 +19313,12 @@ func (in *packetMirroringEnablePtr) ToPacketMirroringEnablePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(PacketMirroringEnablePtrOutput) } +func (in *packetMirroringEnablePtr) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringEnable] { + return pulumix.Output[*PacketMirroringEnable]{ + OutputState: in.ToPacketMirroringEnablePtrOutputWithContext(ctx).OutputState, + } +} + // Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. type PacketMirroringFilterDirection string @@ -17536,6 +19391,12 @@ func (o PacketMirroringFilterDirectionOutput) ToPacketMirroringFilterDirectionPt }).(PacketMirroringFilterDirectionPtrOutput) } +func (o PacketMirroringFilterDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilterDirection] { + return pulumix.Output[PacketMirroringFilterDirection]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringFilterDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17571,6 +19432,12 @@ func (o PacketMirroringFilterDirectionPtrOutput) ToPacketMirroringFilterDirectio return o } +func (o PacketMirroringFilterDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilterDirection] { + return pulumix.Output[*PacketMirroringFilterDirection]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringFilterDirectionPtrOutput) Elem() PacketMirroringFilterDirectionOutput { return o.ApplyT(func(v *PacketMirroringFilterDirection) PacketMirroringFilterDirection { if v != nil { @@ -17633,6 +19500,12 @@ func (in *packetMirroringFilterDirectionPtr) ToPacketMirroringFilterDirectionPtr return pulumi.ToOutputWithContext(ctx, in).(PacketMirroringFilterDirectionPtrOutput) } +func (in *packetMirroringFilterDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilterDirection] { + return pulumix.Output[*PacketMirroringFilterDirection]{ + OutputState: in.ToPacketMirroringFilterDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. type PublicAdvertisedPrefixStatus string @@ -17713,6 +19586,12 @@ func (o PublicAdvertisedPrefixStatusOutput) ToPublicAdvertisedPrefixStatusPtrOut }).(PublicAdvertisedPrefixStatusPtrOutput) } +func (o PublicAdvertisedPrefixStatusOutput) ToOutput(ctx context.Context) pulumix.Output[PublicAdvertisedPrefixStatus] { + return pulumix.Output[PublicAdvertisedPrefixStatus]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17748,6 +19627,12 @@ func (o PublicAdvertisedPrefixStatusPtrOutput) ToPublicAdvertisedPrefixStatusPtr return o } +func (o PublicAdvertisedPrefixStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefixStatus] { + return pulumix.Output[*PublicAdvertisedPrefixStatus]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixStatusPtrOutput) Elem() PublicAdvertisedPrefixStatusOutput { return o.ApplyT(func(v *PublicAdvertisedPrefixStatus) PublicAdvertisedPrefixStatus { if v != nil { @@ -17810,6 +19695,12 @@ func (in *publicAdvertisedPrefixStatusPtr) ToPublicAdvertisedPrefixStatusPtrOutp return pulumi.ToOutputWithContext(ctx, in).(PublicAdvertisedPrefixStatusPtrOutput) } +func (in *publicAdvertisedPrefixStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*PublicAdvertisedPrefixStatus] { + return pulumix.Output[*PublicAdvertisedPrefixStatus]{ + OutputState: in.ToPublicAdvertisedPrefixStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. type RegionBackendServiceCompressionMode string @@ -17880,6 +19771,12 @@ func (o RegionBackendServiceCompressionModeOutput) ToRegionBackendServiceCompres }).(RegionBackendServiceCompressionModePtrOutput) } +func (o RegionBackendServiceCompressionModeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceCompressionMode] { + return pulumix.Output[RegionBackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceCompressionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -17915,6 +19812,12 @@ func (o RegionBackendServiceCompressionModePtrOutput) ToRegionBackendServiceComp return o } +func (o RegionBackendServiceCompressionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceCompressionMode] { + return pulumix.Output[*RegionBackendServiceCompressionMode]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceCompressionModePtrOutput) Elem() RegionBackendServiceCompressionModeOutput { return o.ApplyT(func(v *RegionBackendServiceCompressionMode) RegionBackendServiceCompressionMode { if v != nil { @@ -17977,6 +19880,12 @@ func (in *regionBackendServiceCompressionModePtr) ToRegionBackendServiceCompress return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceCompressionModePtrOutput) } +func (in *regionBackendServiceCompressionModePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceCompressionMode] { + return pulumix.Output[*RegionBackendServiceCompressionMode]{ + OutputState: in.ToRegionBackendServiceCompressionModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. type RegionBackendServiceLoadBalancingScheme string @@ -18054,6 +19963,12 @@ func (o RegionBackendServiceLoadBalancingSchemeOutput) ToRegionBackendServiceLoa }).(RegionBackendServiceLoadBalancingSchemePtrOutput) } +func (o RegionBackendServiceLoadBalancingSchemeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceLoadBalancingScheme] { + return pulumix.Output[RegionBackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLoadBalancingSchemeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18089,6 +20004,12 @@ func (o RegionBackendServiceLoadBalancingSchemePtrOutput) ToRegionBackendService return o } +func (o RegionBackendServiceLoadBalancingSchemePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLoadBalancingScheme] { + return pulumix.Output[*RegionBackendServiceLoadBalancingScheme]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLoadBalancingSchemePtrOutput) Elem() RegionBackendServiceLoadBalancingSchemeOutput { return o.ApplyT(func(v *RegionBackendServiceLoadBalancingScheme) RegionBackendServiceLoadBalancingScheme { if v != nil { @@ -18151,6 +20072,12 @@ func (in *regionBackendServiceLoadBalancingSchemePtr) ToRegionBackendServiceLoad return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceLoadBalancingSchemePtrOutput) } +func (in *regionBackendServiceLoadBalancingSchemePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLoadBalancingScheme] { + return pulumix.Output[*RegionBackendServiceLoadBalancingScheme]{ + OutputState: in.ToRegionBackendServiceLoadBalancingSchemePtrOutputWithContext(ctx).OutputState, + } +} + // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. type RegionBackendServiceLocalityLbPolicy string @@ -18232,6 +20159,12 @@ func (o RegionBackendServiceLocalityLbPolicyOutput) ToRegionBackendServiceLocali }).(RegionBackendServiceLocalityLbPolicyPtrOutput) } +func (o RegionBackendServiceLocalityLbPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceLocalityLbPolicy] { + return pulumix.Output[RegionBackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLocalityLbPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18267,6 +20200,12 @@ func (o RegionBackendServiceLocalityLbPolicyPtrOutput) ToRegionBackendServiceLoc return o } +func (o RegionBackendServiceLocalityLbPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLocalityLbPolicy] { + return pulumix.Output[*RegionBackendServiceLocalityLbPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceLocalityLbPolicyPtrOutput) Elem() RegionBackendServiceLocalityLbPolicyOutput { return o.ApplyT(func(v *RegionBackendServiceLocalityLbPolicy) RegionBackendServiceLocalityLbPolicy { if v != nil { @@ -18329,6 +20268,12 @@ func (in *regionBackendServiceLocalityLbPolicyPtr) ToRegionBackendServiceLocalit return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceLocalityLbPolicyPtrOutput) } +func (in *regionBackendServiceLocalityLbPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceLocalityLbPolicy] { + return pulumix.Output[*RegionBackendServiceLocalityLbPolicy]{ + OutputState: in.ToRegionBackendServiceLocalityLbPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. type RegionBackendServiceProtocol string @@ -18409,6 +20354,12 @@ func (o RegionBackendServiceProtocolOutput) ToRegionBackendServiceProtocolPtrOut }).(RegionBackendServiceProtocolPtrOutput) } +func (o RegionBackendServiceProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceProtocol] { + return pulumix.Output[RegionBackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18444,6 +20395,12 @@ func (o RegionBackendServiceProtocolPtrOutput) ToRegionBackendServiceProtocolPtr return o } +func (o RegionBackendServiceProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceProtocol] { + return pulumix.Output[*RegionBackendServiceProtocol]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceProtocolPtrOutput) Elem() RegionBackendServiceProtocolOutput { return o.ApplyT(func(v *RegionBackendServiceProtocol) RegionBackendServiceProtocol { if v != nil { @@ -18506,6 +20463,12 @@ func (in *regionBackendServiceProtocolPtr) ToRegionBackendServiceProtocolPtrOutp return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceProtocolPtrOutput) } +func (in *regionBackendServiceProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceProtocol] { + return pulumix.Output[*RegionBackendServiceProtocol]{ + OutputState: in.ToRegionBackendServiceProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). type RegionBackendServiceSessionAffinity string @@ -18588,6 +20551,12 @@ func (o RegionBackendServiceSessionAffinityOutput) ToRegionBackendServiceSession }).(RegionBackendServiceSessionAffinityPtrOutput) } +func (o RegionBackendServiceSessionAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[RegionBackendServiceSessionAffinity] { + return pulumix.Output[RegionBackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceSessionAffinityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18623,6 +20592,12 @@ func (o RegionBackendServiceSessionAffinityPtrOutput) ToRegionBackendServiceSess return o } +func (o RegionBackendServiceSessionAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceSessionAffinity] { + return pulumix.Output[*RegionBackendServiceSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o RegionBackendServiceSessionAffinityPtrOutput) Elem() RegionBackendServiceSessionAffinityOutput { return o.ApplyT(func(v *RegionBackendServiceSessionAffinity) RegionBackendServiceSessionAffinity { if v != nil { @@ -18685,6 +20660,12 @@ func (in *regionBackendServiceSessionAffinityPtr) ToRegionBackendServiceSessionA return pulumi.ToOutputWithContext(ctx, in).(RegionBackendServiceSessionAffinityPtrOutput) } +func (in *regionBackendServiceSessionAffinityPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceSessionAffinity] { + return pulumix.Output[*RegionBackendServiceSessionAffinity]{ + OutputState: in.ToRegionBackendServiceSessionAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. type RegionCommitmentCategory string @@ -18754,6 +20735,12 @@ func (o RegionCommitmentCategoryOutput) ToRegionCommitmentCategoryPtrOutputWithC }).(RegionCommitmentCategoryPtrOutput) } +func (o RegionCommitmentCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[RegionCommitmentCategory] { + return pulumix.Output[RegionCommitmentCategory]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18789,6 +20776,12 @@ func (o RegionCommitmentCategoryPtrOutput) ToRegionCommitmentCategoryPtrOutputWi return o } +func (o RegionCommitmentCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentCategory] { + return pulumix.Output[*RegionCommitmentCategory]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentCategoryPtrOutput) Elem() RegionCommitmentCategoryOutput { return o.ApplyT(func(v *RegionCommitmentCategory) RegionCommitmentCategory { if v != nil { @@ -18851,6 +20844,12 @@ func (in *regionCommitmentCategoryPtr) ToRegionCommitmentCategoryPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RegionCommitmentCategoryPtrOutput) } +func (in *regionCommitmentCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentCategory] { + return pulumix.Output[*RegionCommitmentCategory]{ + OutputState: in.ToRegionCommitmentCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). type RegionCommitmentPlan string @@ -18920,6 +20919,12 @@ func (o RegionCommitmentPlanOutput) ToRegionCommitmentPlanPtrOutputWithContext(c }).(RegionCommitmentPlanPtrOutput) } +func (o RegionCommitmentPlanOutput) ToOutput(ctx context.Context) pulumix.Output[RegionCommitmentPlan] { + return pulumix.Output[RegionCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -18955,6 +20960,12 @@ func (o RegionCommitmentPlanPtrOutput) ToRegionCommitmentPlanPtrOutputWithContex return o } +func (o RegionCommitmentPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentPlan] { + return pulumix.Output[*RegionCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentPlanPtrOutput) Elem() RegionCommitmentPlanOutput { return o.ApplyT(func(v *RegionCommitmentPlan) RegionCommitmentPlan { if v != nil { @@ -19017,6 +21028,12 @@ func (in *regionCommitmentPlanPtr) ToRegionCommitmentPlanPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(RegionCommitmentPlanPtrOutput) } +func (in *regionCommitmentPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentPlan] { + return pulumix.Output[*RegionCommitmentPlan]{ + OutputState: in.ToRegionCommitmentPlanPtrOutputWithContext(ctx).OutputState, + } +} + // The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. type RegionCommitmentType string @@ -19096,6 +21113,12 @@ func (o RegionCommitmentTypeOutput) ToRegionCommitmentTypePtrOutputWithContext(c }).(RegionCommitmentTypePtrOutput) } +func (o RegionCommitmentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionCommitmentType] { + return pulumix.Output[RegionCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19131,6 +21154,12 @@ func (o RegionCommitmentTypePtrOutput) ToRegionCommitmentTypePtrOutputWithContex return o } +func (o RegionCommitmentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentType] { + return pulumix.Output[*RegionCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o RegionCommitmentTypePtrOutput) Elem() RegionCommitmentTypeOutput { return o.ApplyT(func(v *RegionCommitmentType) RegionCommitmentType { if v != nil { @@ -19193,6 +21222,12 @@ func (in *regionCommitmentTypePtr) ToRegionCommitmentTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(RegionCommitmentTypePtrOutput) } +func (in *regionCommitmentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitmentType] { + return pulumix.Output[*RegionCommitmentType]{ + OutputState: in.ToRegionCommitmentTypePtrOutputWithContext(ctx).OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. type RegionDiskArchitecture string @@ -19265,6 +21300,12 @@ func (o RegionDiskArchitectureOutput) ToRegionDiskArchitecturePtrOutputWithConte }).(RegionDiskArchitecturePtrOutput) } +func (o RegionDiskArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[RegionDiskArchitecture] { + return pulumix.Output[RegionDiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19300,6 +21341,12 @@ func (o RegionDiskArchitecturePtrOutput) ToRegionDiskArchitecturePtrOutputWithCo return o } +func (o RegionDiskArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskArchitecture] { + return pulumix.Output[*RegionDiskArchitecture]{ + OutputState: o.OutputState, + } +} + func (o RegionDiskArchitecturePtrOutput) Elem() RegionDiskArchitectureOutput { return o.ApplyT(func(v *RegionDiskArchitecture) RegionDiskArchitecture { if v != nil { @@ -19362,6 +21409,12 @@ func (in *regionDiskArchitecturePtr) ToRegionDiskArchitecturePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(RegionDiskArchitecturePtrOutput) } +func (in *regionDiskArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskArchitecture] { + return pulumix.Output[*RegionDiskArchitecture]{ + OutputState: in.ToRegionDiskArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService. type RegionHealthCheckServiceHealthStatusAggregationPolicy string @@ -19432,6 +21485,12 @@ func (o RegionHealthCheckServiceHealthStatusAggregationPolicyOutput) ToRegionHea }).(RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) } +func (o RegionHealthCheckServiceHealthStatusAggregationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RegionHealthCheckServiceHealthStatusAggregationPolicy] { + return pulumix.Output[RegionHealthCheckServiceHealthStatusAggregationPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckServiceHealthStatusAggregationPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19467,6 +21526,12 @@ func (o RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) ToRegion return o } +func (o RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy] { + return pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) Elem() RegionHealthCheckServiceHealthStatusAggregationPolicyOutput { return o.ApplyT(func(v *RegionHealthCheckServiceHealthStatusAggregationPolicy) RegionHealthCheckServiceHealthStatusAggregationPolicy { if v != nil { @@ -19529,6 +21594,12 @@ func (in *regionHealthCheckServiceHealthStatusAggregationPolicyPtr) ToRegionHeal return pulumi.ToOutputWithContext(ctx, in).(RegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutput) } +func (in *regionHealthCheckServiceHealthStatusAggregationPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy] { + return pulumix.Output[*RegionHealthCheckServiceHealthStatusAggregationPolicy]{ + OutputState: in.ToRegionHealthCheckServiceHealthStatusAggregationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. type RegionHealthCheckType string @@ -19602,6 +21673,12 @@ func (o RegionHealthCheckTypeOutput) ToRegionHealthCheckTypePtrOutputWithContext }).(RegionHealthCheckTypePtrOutput) } +func (o RegionHealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionHealthCheckType] { + return pulumix.Output[RegionHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19637,6 +21714,12 @@ func (o RegionHealthCheckTypePtrOutput) ToRegionHealthCheckTypePtrOutputWithCont return o } +func (o RegionHealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckType] { + return pulumix.Output[*RegionHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o RegionHealthCheckTypePtrOutput) Elem() RegionHealthCheckTypeOutput { return o.ApplyT(func(v *RegionHealthCheckType) RegionHealthCheckType { if v != nil { @@ -19699,6 +21782,12 @@ func (in *regionHealthCheckTypePtr) ToRegionHealthCheckTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(RegionHealthCheckTypePtrOutput) } +func (in *regionHealthCheckTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckType] { + return pulumix.Output[*RegionHealthCheckType]{ + OutputState: in.ToRegionHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + // Pagination behavior of the listManagedInstances API method for this managed instance group. type RegionInstanceGroupManagerListManagedInstancesResults string @@ -19769,6 +21858,12 @@ func (o RegionInstanceGroupManagerListManagedInstancesResultsOutput) ToRegionIns }).(RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (o RegionInstanceGroupManagerListManagedInstancesResultsOutput) ToOutput(ctx context.Context) pulumix.Output[RegionInstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[RegionInstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerListManagedInstancesResultsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19804,6 +21899,12 @@ func (o RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) ToRegion return o } +func (o RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults]{ + OutputState: o.OutputState, + } +} + func (o RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) Elem() RegionInstanceGroupManagerListManagedInstancesResultsOutput { return o.ApplyT(func(v *RegionInstanceGroupManagerListManagedInstancesResults) RegionInstanceGroupManagerListManagedInstancesResults { if v != nil { @@ -19866,6 +21967,12 @@ func (in *regionInstanceGroupManagerListManagedInstancesResultsPtr) ToRegionInst return pulumi.ToOutputWithContext(ctx, in).(RegionInstanceGroupManagerListManagedInstancesResultsPtrOutput) } +func (in *regionInstanceGroupManagerListManagedInstancesResultsPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults] { + return pulumix.Output[*RegionInstanceGroupManagerListManagedInstancesResults]{ + OutputState: in.ToRegionInstanceGroupManagerListManagedInstancesResultsPtrOutputWithContext(ctx).OutputState, + } +} + // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. type RegionNetworkEndpointGroupNetworkEndpointType string @@ -19946,6 +22053,12 @@ func (o RegionNetworkEndpointGroupNetworkEndpointTypeOutput) ToRegionNetworkEndp }).(RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (o RegionNetworkEndpointGroupNetworkEndpointTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[RegionNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o RegionNetworkEndpointGroupNetworkEndpointTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -19981,6 +22094,12 @@ func (o RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToRegionNetworkE return o } +func (o RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType]{ + OutputState: o.OutputState, + } +} + func (o RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) Elem() RegionNetworkEndpointGroupNetworkEndpointTypeOutput { return o.ApplyT(func(v *RegionNetworkEndpointGroupNetworkEndpointType) RegionNetworkEndpointGroupNetworkEndpointType { if v != nil { @@ -20043,6 +22162,12 @@ func (in *regionNetworkEndpointGroupNetworkEndpointTypePtr) ToRegionNetworkEndpo return pulumi.ToOutputWithContext(ctx, in).(RegionNetworkEndpointGroupNetworkEndpointTypePtrOutput) } +func (in *regionNetworkEndpointGroupNetworkEndpointTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType] { + return pulumix.Output[*RegionNetworkEndpointGroupNetworkEndpointType]{ + OutputState: in.ToRegionNetworkEndpointGroupNetworkEndpointTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. type RegionSecurityPolicyType string @@ -20112,6 +22237,12 @@ func (o RegionSecurityPolicyTypeOutput) ToRegionSecurityPolicyTypePtrOutputWithC }).(RegionSecurityPolicyTypePtrOutput) } +func (o RegionSecurityPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSecurityPolicyType] { + return pulumix.Output[RegionSecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o RegionSecurityPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20147,6 +22278,12 @@ func (o RegionSecurityPolicyTypePtrOutput) ToRegionSecurityPolicyTypePtrOutputWi return o } +func (o RegionSecurityPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicyType] { + return pulumix.Output[*RegionSecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o RegionSecurityPolicyTypePtrOutput) Elem() RegionSecurityPolicyTypeOutput { return o.ApplyT(func(v *RegionSecurityPolicyType) RegionSecurityPolicyType { if v != nil { @@ -20209,6 +22346,12 @@ func (in *regionSecurityPolicyTypePtr) ToRegionSecurityPolicyTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RegionSecurityPolicyTypePtrOutput) } +func (in *regionSecurityPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicyType] { + return pulumix.Output[*RegionSecurityPolicyType]{ + OutputState: in.ToRegionSecurityPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. type RegionSslCertificateType string @@ -20280,6 +22423,12 @@ func (o RegionSslCertificateTypeOutput) ToRegionSslCertificateTypePtrOutputWithC }).(RegionSslCertificateTypePtrOutput) } +func (o RegionSslCertificateTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslCertificateType] { + return pulumix.Output[RegionSslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o RegionSslCertificateTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20315,6 +22464,12 @@ func (o RegionSslCertificateTypePtrOutput) ToRegionSslCertificateTypePtrOutputWi return o } +func (o RegionSslCertificateTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificateType] { + return pulumix.Output[*RegionSslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o RegionSslCertificateTypePtrOutput) Elem() RegionSslCertificateTypeOutput { return o.ApplyT(func(v *RegionSslCertificateType) RegionSslCertificateType { if v != nil { @@ -20377,6 +22532,12 @@ func (in *regionSslCertificateTypePtr) ToRegionSslCertificateTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RegionSslCertificateTypePtrOutput) } +func (in *regionSslCertificateTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificateType] { + return pulumix.Output[*RegionSslCertificateType]{ + OutputState: in.ToRegionSslCertificateTypePtrOutputWithContext(ctx).OutputState, + } +} + // The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. type RegionSslPolicyMinTlsVersion string @@ -20449,6 +22610,12 @@ func (o RegionSslPolicyMinTlsVersionOutput) ToRegionSslPolicyMinTlsVersionPtrOut }).(RegionSslPolicyMinTlsVersionPtrOutput) } +func (o RegionSslPolicyMinTlsVersionOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyMinTlsVersion] { + return pulumix.Output[RegionSslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyMinTlsVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20484,6 +22651,12 @@ func (o RegionSslPolicyMinTlsVersionPtrOutput) ToRegionSslPolicyMinTlsVersionPtr return o } +func (o RegionSslPolicyMinTlsVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyMinTlsVersion] { + return pulumix.Output[*RegionSslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyMinTlsVersionPtrOutput) Elem() RegionSslPolicyMinTlsVersionOutput { return o.ApplyT(func(v *RegionSslPolicyMinTlsVersion) RegionSslPolicyMinTlsVersion { if v != nil { @@ -20546,6 +22719,12 @@ func (in *regionSslPolicyMinTlsVersionPtr) ToRegionSslPolicyMinTlsVersionPtrOutp return pulumi.ToOutputWithContext(ctx, in).(RegionSslPolicyMinTlsVersionPtrOutput) } +func (in *regionSslPolicyMinTlsVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyMinTlsVersion] { + return pulumix.Output[*RegionSslPolicyMinTlsVersion]{ + OutputState: in.ToRegionSslPolicyMinTlsVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. type RegionSslPolicyProfile string @@ -20620,6 +22799,12 @@ func (o RegionSslPolicyProfileOutput) ToRegionSslPolicyProfilePtrOutputWithConte }).(RegionSslPolicyProfilePtrOutput) } +func (o RegionSslPolicyProfileOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyProfile] { + return pulumix.Output[RegionSslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20655,6 +22840,12 @@ func (o RegionSslPolicyProfilePtrOutput) ToRegionSslPolicyProfilePtrOutputWithCo return o } +func (o RegionSslPolicyProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyProfile] { + return pulumix.Output[*RegionSslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyProfilePtrOutput) Elem() RegionSslPolicyProfileOutput { return o.ApplyT(func(v *RegionSslPolicyProfile) RegionSslPolicyProfile { if v != nil { @@ -20717,6 +22908,12 @@ func (in *regionSslPolicyProfilePtr) ToRegionSslPolicyProfilePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(RegionSslPolicyProfilePtrOutput) } +func (in *regionSslPolicyProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicyProfile] { + return pulumix.Output[*RegionSslPolicyProfile]{ + OutputState: in.ToRegionSslPolicyProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. type RegionTargetHttpsProxyQuicOverride string @@ -20789,6 +22986,12 @@ func (o RegionTargetHttpsProxyQuicOverrideOutput) ToRegionTargetHttpsProxyQuicOv }).(RegionTargetHttpsProxyQuicOverridePtrOutput) } +func (o RegionTargetHttpsProxyQuicOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[RegionTargetHttpsProxyQuicOverride] { + return pulumix.Output[RegionTargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetHttpsProxyQuicOverrideOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20824,6 +23027,12 @@ func (o RegionTargetHttpsProxyQuicOverridePtrOutput) ToRegionTargetHttpsProxyQui return o } +func (o RegionTargetHttpsProxyQuicOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxyQuicOverride] { + return pulumix.Output[*RegionTargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetHttpsProxyQuicOverridePtrOutput) Elem() RegionTargetHttpsProxyQuicOverrideOutput { return o.ApplyT(func(v *RegionTargetHttpsProxyQuicOverride) RegionTargetHttpsProxyQuicOverride { if v != nil { @@ -20886,6 +23095,12 @@ func (in *regionTargetHttpsProxyQuicOverridePtr) ToRegionTargetHttpsProxyQuicOve return pulumi.ToOutputWithContext(ctx, in).(RegionTargetHttpsProxyQuicOverridePtrOutput) } +func (in *regionTargetHttpsProxyQuicOverridePtr) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxyQuicOverride] { + return pulumix.Output[*RegionTargetHttpsProxyQuicOverride]{ + OutputState: in.ToRegionTargetHttpsProxyQuicOverridePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type RegionTargetTcpProxyProxyHeader string @@ -20954,6 +23169,12 @@ func (o RegionTargetTcpProxyProxyHeaderOutput) ToRegionTargetTcpProxyProxyHeader }).(RegionTargetTcpProxyProxyHeaderPtrOutput) } +func (o RegionTargetTcpProxyProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[RegionTargetTcpProxyProxyHeader] { + return pulumix.Output[RegionTargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetTcpProxyProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -20989,6 +23210,12 @@ func (o RegionTargetTcpProxyProxyHeaderPtrOutput) ToRegionTargetTcpProxyProxyHea return o } +func (o RegionTargetTcpProxyProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxyProxyHeader] { + return pulumix.Output[*RegionTargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o RegionTargetTcpProxyProxyHeaderPtrOutput) Elem() RegionTargetTcpProxyProxyHeaderOutput { return o.ApplyT(func(v *RegionTargetTcpProxyProxyHeader) RegionTargetTcpProxyProxyHeader { if v != nil { @@ -21051,6 +23278,12 @@ func (in *regionTargetTcpProxyProxyHeaderPtr) ToRegionTargetTcpProxyProxyHeaderP return pulumi.ToOutputWithContext(ctx, in).(RegionTargetTcpProxyProxyHeaderPtrOutput) } +func (in *regionTargetTcpProxyProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxyProxyHeader] { + return pulumix.Output[*RegionTargetTcpProxyProxyHeader]{ + OutputState: in.ToRegionTargetTcpProxyProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. type ReservationAffinityConsumeReservationType string @@ -21124,6 +23357,12 @@ func (o ReservationAffinityConsumeReservationTypeOutput) ToReservationAffinityCo }).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (o ReservationAffinityConsumeReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityConsumeReservationType] { + return pulumix.Output[ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21159,6 +23398,12 @@ func (o ReservationAffinityConsumeReservationTypePtrOutput) ToReservationAffinit return o } +func (o ReservationAffinityConsumeReservationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypePtrOutput) Elem() ReservationAffinityConsumeReservationTypeOutput { return o.ApplyT(func(v *ReservationAffinityConsumeReservationType) ReservationAffinityConsumeReservationType { if v != nil { @@ -21221,6 +23466,12 @@ func (in *reservationAffinityConsumeReservationTypePtr) ToReservationAffinityCon return pulumi.ToOutputWithContext(ctx, in).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (in *reservationAffinityConsumeReservationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: in.ToReservationAffinityConsumeReservationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR. type ResourceCommitmentType string @@ -21292,6 +23543,12 @@ func (o ResourceCommitmentTypeOutput) ToResourceCommitmentTypePtrOutputWithConte }).(ResourceCommitmentTypePtrOutput) } +func (o ResourceCommitmentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitmentType] { + return pulumix.Output[ResourceCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21327,6 +23584,12 @@ func (o ResourceCommitmentTypePtrOutput) ToResourceCommitmentTypePtrOutputWithCo return o } +func (o ResourceCommitmentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceCommitmentType] { + return pulumix.Output[*ResourceCommitmentType]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentTypePtrOutput) Elem() ResourceCommitmentTypeOutput { return o.ApplyT(func(v *ResourceCommitmentType) ResourceCommitmentType { if v != nil { @@ -21389,6 +23652,12 @@ func (in *resourceCommitmentTypePtr) ToResourceCommitmentTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ResourceCommitmentTypePtrOutput) } +func (in *resourceCommitmentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ResourceCommitmentType] { + return pulumix.Output[*ResourceCommitmentType]{ + OutputState: in.ToResourceCommitmentTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies network collocation type ResourcePolicyGroupPlacementPolicyCollocation string @@ -21457,6 +23726,12 @@ func (o ResourcePolicyGroupPlacementPolicyCollocationOutput) ToResourcePolicyGro }).(ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) } +func (o ResourcePolicyGroupPlacementPolicyCollocationOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicyCollocation] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicyCollocation]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyCollocationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21492,6 +23767,12 @@ func (o ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) ToResourcePolicy return o } +func (o ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) Elem() ResourcePolicyGroupPlacementPolicyCollocationOutput { return o.ApplyT(func(v *ResourcePolicyGroupPlacementPolicyCollocation) ResourcePolicyGroupPlacementPolicyCollocation { if v != nil { @@ -21554,6 +23835,12 @@ func (in *resourcePolicyGroupPlacementPolicyCollocationPtr) ToResourcePolicyGrou return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicyGroupPlacementPolicyCollocationPtrOutput) } +func (in *resourcePolicyGroupPlacementPolicyCollocationPtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicyCollocation]{ + OutputState: in.ToResourcePolicyGroupPlacementPolicyCollocationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. type ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete string @@ -21623,6 +23910,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOut }).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21658,6 +23951,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtr return o } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete) ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete { if v != nil { @@ -21720,6 +24019,12 @@ func (in *resourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeleteP return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutput) } +func (in *resourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete]{ + OutputState: in.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDeletePtrOutputWithContext(ctx).OutputState, + } +} + // Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. type ResourcePolicyWeeklyCycleDayOfWeekDay string @@ -21794,6 +24099,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekDayOutput) ToResourcePolicyWeeklyCycle }).(ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) } +func (o ResourcePolicyWeeklyCycleDayOfWeekDayOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekDay] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekDay]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekDayOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21829,6 +24140,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) ToResourcePolicyWeeklyCy return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay] { + return pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) Elem() ResourcePolicyWeeklyCycleDayOfWeekDayOutput { return o.ApplyT(func(v *ResourcePolicyWeeklyCycleDayOfWeekDay) ResourcePolicyWeeklyCycleDayOfWeekDay { if v != nil { @@ -21891,6 +24208,12 @@ func (in *resourcePolicyWeeklyCycleDayOfWeekDayPtr) ToResourcePolicyWeeklyCycleD return pulumi.ToOutputWithContext(ctx, in).(ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) } +func (in *resourcePolicyWeeklyCycleDayOfWeekDayPtr) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay] { + return pulumix.Output[*ResourcePolicyWeeklyCycleDayOfWeekDay]{ + OutputState: in.ToResourcePolicyWeeklyCycleDayOfWeekDayPtrOutputWithContext(ctx).OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. type RouterBgpAdvertiseMode string @@ -21959,6 +24282,12 @@ func (o RouterBgpAdvertiseModeOutput) ToRouterBgpAdvertiseModePtrOutputWithConte }).(RouterBgpAdvertiseModePtrOutput) } +func (o RouterBgpAdvertiseModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpAdvertiseMode] { + return pulumix.Output[RouterBgpAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertiseModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -21994,6 +24323,12 @@ func (o RouterBgpAdvertiseModePtrOutput) ToRouterBgpAdvertiseModePtrOutputWithCo return o } +func (o RouterBgpAdvertiseModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertiseMode] { + return pulumix.Output[*RouterBgpAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertiseModePtrOutput) Elem() RouterBgpAdvertiseModeOutput { return o.ApplyT(func(v *RouterBgpAdvertiseMode) RouterBgpAdvertiseMode { if v != nil { @@ -22056,6 +24391,12 @@ func (in *routerBgpAdvertiseModePtr) ToRouterBgpAdvertiseModePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(RouterBgpAdvertiseModePtrOutput) } +func (in *routerBgpAdvertiseModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertiseMode] { + return pulumix.Output[*RouterBgpAdvertiseMode]{ + OutputState: in.ToRouterBgpAdvertiseModePtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpAdvertisedGroupsItem string const ( @@ -22123,6 +24464,12 @@ func (o RouterBgpAdvertisedGroupsItemOutput) ToRouterBgpAdvertisedGroupsItemPtrO }).(RouterBgpAdvertisedGroupsItemPtrOutput) } +func (o RouterBgpAdvertisedGroupsItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[RouterBgpAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertisedGroupsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22158,6 +24505,12 @@ func (o RouterBgpAdvertisedGroupsItemPtrOutput) ToRouterBgpAdvertisedGroupsItemP return o } +func (o RouterBgpAdvertisedGroupsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertisedGroupsItemPtrOutput) Elem() RouterBgpAdvertisedGroupsItemOutput { return o.ApplyT(func(v *RouterBgpAdvertisedGroupsItem) RouterBgpAdvertisedGroupsItem { if v != nil { @@ -22220,6 +24573,12 @@ func (in *routerBgpAdvertisedGroupsItemPtr) ToRouterBgpAdvertisedGroupsItemPtrOu return pulumi.ToOutputWithContext(ctx, in).(RouterBgpAdvertisedGroupsItemPtrOutput) } +func (in *routerBgpAdvertisedGroupsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpAdvertisedGroupsItem]{ + OutputState: in.ToRouterBgpAdvertisedGroupsItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterBgpAdvertisedGroupsItemArrayInput is an input type that accepts RouterBgpAdvertisedGroupsItemArray and RouterBgpAdvertisedGroupsItemArrayOutput values. // You can construct a concrete instance of `RouterBgpAdvertisedGroupsItemArrayInput` via: // @@ -22245,6 +24604,12 @@ func (i RouterBgpAdvertisedGroupsItemArray) ToRouterBgpAdvertisedGroupsItemArray return pulumi.ToOutputWithContext(ctx, i).(RouterBgpAdvertisedGroupsItemArrayOutput) } +func (i RouterBgpAdvertisedGroupsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpAdvertisedGroupsItem]{ + OutputState: i.ToRouterBgpAdvertisedGroupsItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpAdvertisedGroupsItemArrayOutput struct{ *pulumi.OutputState } func (RouterBgpAdvertisedGroupsItemArrayOutput) ElementType() reflect.Type { @@ -22259,6 +24624,12 @@ func (o RouterBgpAdvertisedGroupsItemArrayOutput) ToRouterBgpAdvertisedGroupsIte return o } +func (o RouterBgpAdvertisedGroupsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpAdvertisedGroupsItemArrayOutput) Index(i pulumi.IntInput) RouterBgpAdvertisedGroupsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpAdvertisedGroupsItem { return vs[0].([]RouterBgpAdvertisedGroupsItem)[vs[1].(int)] @@ -22333,6 +24704,12 @@ func (o RouterBgpPeerAdvertiseModeOutput) ToRouterBgpPeerAdvertiseModePtrOutputW }).(RouterBgpPeerAdvertiseModePtrOutput) } +func (o RouterBgpPeerAdvertiseModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerAdvertiseMode] { + return pulumix.Output[RouterBgpPeerAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertiseModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22368,6 +24745,12 @@ func (o RouterBgpPeerAdvertiseModePtrOutput) ToRouterBgpPeerAdvertiseModePtrOutp return o } +func (o RouterBgpPeerAdvertiseModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertiseMode] { + return pulumix.Output[*RouterBgpPeerAdvertiseMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertiseModePtrOutput) Elem() RouterBgpPeerAdvertiseModeOutput { return o.ApplyT(func(v *RouterBgpPeerAdvertiseMode) RouterBgpPeerAdvertiseMode { if v != nil { @@ -22430,6 +24813,12 @@ func (in *routerBgpPeerAdvertiseModePtr) ToRouterBgpPeerAdvertiseModePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerAdvertiseModePtrOutput) } +func (in *routerBgpPeerAdvertiseModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertiseMode] { + return pulumix.Output[*RouterBgpPeerAdvertiseMode]{ + OutputState: in.ToRouterBgpPeerAdvertiseModePtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerAdvertisedGroupsItem string const ( @@ -22497,6 +24886,12 @@ func (o RouterBgpPeerAdvertisedGroupsItemOutput) ToRouterBgpPeerAdvertisedGroups }).(RouterBgpPeerAdvertisedGroupsItemPtrOutput) } +func (o RouterBgpPeerAdvertisedGroupsItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertisedGroupsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22532,6 +24927,12 @@ func (o RouterBgpPeerAdvertisedGroupsItemPtrOutput) ToRouterBgpPeerAdvertisedGro return o } +func (o RouterBgpPeerAdvertisedGroupsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertisedGroupsItemPtrOutput) Elem() RouterBgpPeerAdvertisedGroupsItemOutput { return o.ApplyT(func(v *RouterBgpPeerAdvertisedGroupsItem) RouterBgpPeerAdvertisedGroupsItem { if v != nil { @@ -22594,6 +24995,12 @@ func (in *routerBgpPeerAdvertisedGroupsItemPtr) ToRouterBgpPeerAdvertisedGroupsI return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerAdvertisedGroupsItemPtrOutput) } +func (in *routerBgpPeerAdvertisedGroupsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[*RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: in.ToRouterBgpPeerAdvertisedGroupsItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterBgpPeerAdvertisedGroupsItemArrayInput is an input type that accepts RouterBgpPeerAdvertisedGroupsItemArray and RouterBgpPeerAdvertisedGroupsItemArrayOutput values. // You can construct a concrete instance of `RouterBgpPeerAdvertisedGroupsItemArrayInput` via: // @@ -22619,6 +25026,12 @@ func (i RouterBgpPeerAdvertisedGroupsItemArray) ToRouterBgpPeerAdvertisedGroupsI return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerAdvertisedGroupsItemArrayOutput) } +func (i RouterBgpPeerAdvertisedGroupsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: i.ToRouterBgpPeerAdvertisedGroupsItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerAdvertisedGroupsItemArrayOutput struct{ *pulumi.OutputState } func (RouterBgpPeerAdvertisedGroupsItemArrayOutput) ElementType() reflect.Type { @@ -22633,6 +25046,12 @@ func (o RouterBgpPeerAdvertisedGroupsItemArrayOutput) ToRouterBgpPeerAdvertisedG return o } +func (o RouterBgpPeerAdvertisedGroupsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem] { + return pulumix.Output[[]RouterBgpPeerAdvertisedGroupsItem]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerAdvertisedGroupsItemArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerAdvertisedGroupsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeerAdvertisedGroupsItem { return vs[0].([]RouterBgpPeerAdvertisedGroupsItem)[vs[1].(int)] @@ -22708,6 +25127,12 @@ func (o RouterBgpPeerBfdSessionInitializationModeOutput) ToRouterBgpPeerBfdSessi }).(RouterBgpPeerBfdSessionInitializationModePtrOutput) } +func (o RouterBgpPeerBfdSessionInitializationModeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfdSessionInitializationMode] { + return pulumix.Output[RouterBgpPeerBfdSessionInitializationMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdSessionInitializationModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22743,6 +25168,12 @@ func (o RouterBgpPeerBfdSessionInitializationModePtrOutput) ToRouterBgpPeerBfdSe return o } +func (o RouterBgpPeerBfdSessionInitializationModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode] { + return pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdSessionInitializationModePtrOutput) Elem() RouterBgpPeerBfdSessionInitializationModeOutput { return o.ApplyT(func(v *RouterBgpPeerBfdSessionInitializationMode) RouterBgpPeerBfdSessionInitializationMode { if v != nil { @@ -22805,6 +25236,12 @@ func (in *routerBgpPeerBfdSessionInitializationModePtr) ToRouterBgpPeerBfdSessio return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerBfdSessionInitializationModePtrOutput) } +func (in *routerBgpPeerBfdSessionInitializationModePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode] { + return pulumix.Output[*RouterBgpPeerBfdSessionInitializationMode]{ + OutputState: in.ToRouterBgpPeerBfdSessionInitializationModePtrOutputWithContext(ctx).OutputState, + } +} + // The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE. type RouterBgpPeerEnable string @@ -22873,6 +25310,12 @@ func (o RouterBgpPeerEnableOutput) ToRouterBgpPeerEnablePtrOutputWithContext(ctx }).(RouterBgpPeerEnablePtrOutput) } +func (o RouterBgpPeerEnableOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerEnable] { + return pulumix.Output[RouterBgpPeerEnable]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerEnableOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -22908,6 +25351,12 @@ func (o RouterBgpPeerEnablePtrOutput) ToRouterBgpPeerEnablePtrOutputWithContext( return o } +func (o RouterBgpPeerEnablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerEnable] { + return pulumix.Output[*RouterBgpPeerEnable]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerEnablePtrOutput) Elem() RouterBgpPeerEnableOutput { return o.ApplyT(func(v *RouterBgpPeerEnable) RouterBgpPeerEnable { if v != nil { @@ -22970,6 +25419,12 @@ func (in *routerBgpPeerEnablePtr) ToRouterBgpPeerEnablePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(RouterBgpPeerEnablePtrOutput) } +func (in *routerBgpPeerEnablePtr) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerEnable] { + return pulumix.Output[*RouterBgpPeerEnable]{ + OutputState: in.ToRouterBgpPeerEnablePtrOutputWithContext(ctx).OutputState, + } +} + type RouterNatEndpointTypesItem string const ( @@ -23039,6 +25494,12 @@ func (o RouterNatEndpointTypesItemOutput) ToRouterNatEndpointTypesItemPtrOutputW }).(RouterNatEndpointTypesItemPtrOutput) } +func (o RouterNatEndpointTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatEndpointTypesItem] { + return pulumix.Output[RouterNatEndpointTypesItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatEndpointTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23074,6 +25535,12 @@ func (o RouterNatEndpointTypesItemPtrOutput) ToRouterNatEndpointTypesItemPtrOutp return o } +func (o RouterNatEndpointTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatEndpointTypesItem] { + return pulumix.Output[*RouterNatEndpointTypesItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatEndpointTypesItemPtrOutput) Elem() RouterNatEndpointTypesItemOutput { return o.ApplyT(func(v *RouterNatEndpointTypesItem) RouterNatEndpointTypesItem { if v != nil { @@ -23136,6 +25603,12 @@ func (in *routerNatEndpointTypesItemPtr) ToRouterNatEndpointTypesItemPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RouterNatEndpointTypesItemPtrOutput) } +func (in *routerNatEndpointTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatEndpointTypesItem] { + return pulumix.Output[*RouterNatEndpointTypesItem]{ + OutputState: in.ToRouterNatEndpointTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterNatEndpointTypesItemArrayInput is an input type that accepts RouterNatEndpointTypesItemArray and RouterNatEndpointTypesItemArrayOutput values. // You can construct a concrete instance of `RouterNatEndpointTypesItemArrayInput` via: // @@ -23161,6 +25634,12 @@ func (i RouterNatEndpointTypesItemArray) ToRouterNatEndpointTypesItemArrayOutput return pulumi.ToOutputWithContext(ctx, i).(RouterNatEndpointTypesItemArrayOutput) } +func (i RouterNatEndpointTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatEndpointTypesItem] { + return pulumix.Output[[]RouterNatEndpointTypesItem]{ + OutputState: i.ToRouterNatEndpointTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterNatEndpointTypesItemArrayOutput struct{ *pulumi.OutputState } func (RouterNatEndpointTypesItemArrayOutput) ElementType() reflect.Type { @@ -23175,6 +25654,12 @@ func (o RouterNatEndpointTypesItemArrayOutput) ToRouterNatEndpointTypesItemArray return o } +func (o RouterNatEndpointTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatEndpointTypesItem] { + return pulumix.Output[[]RouterNatEndpointTypesItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatEndpointTypesItemArrayOutput) Index(i pulumi.IntInput) RouterNatEndpointTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatEndpointTypesItem { return vs[0].([]RouterNatEndpointTypesItem)[vs[1].(int)] @@ -23253,6 +25738,12 @@ func (o RouterNatLogConfigFilterOutput) ToRouterNatLogConfigFilterPtrOutputWithC }).(RouterNatLogConfigFilterPtrOutput) } +func (o RouterNatLogConfigFilterOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfigFilter] { + return pulumix.Output[RouterNatLogConfigFilter]{ + OutputState: o.OutputState, + } +} + func (o RouterNatLogConfigFilterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23288,6 +25779,12 @@ func (o RouterNatLogConfigFilterPtrOutput) ToRouterNatLogConfigFilterPtrOutputWi return o } +func (o RouterNatLogConfigFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfigFilter] { + return pulumix.Output[*RouterNatLogConfigFilter]{ + OutputState: o.OutputState, + } +} + func (o RouterNatLogConfigFilterPtrOutput) Elem() RouterNatLogConfigFilterOutput { return o.ApplyT(func(v *RouterNatLogConfigFilter) RouterNatLogConfigFilter { if v != nil { @@ -23350,6 +25847,12 @@ func (in *routerNatLogConfigFilterPtr) ToRouterNatLogConfigFilterPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(RouterNatLogConfigFilterPtrOutput) } +func (in *routerNatLogConfigFilterPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfigFilter] { + return pulumix.Output[*RouterNatLogConfigFilter]{ + OutputState: in.ToRouterNatLogConfigFilterPtrOutputWithContext(ctx).OutputState, + } +} + // Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. type RouterNatNatIpAllocateOption string @@ -23420,6 +25923,12 @@ func (o RouterNatNatIpAllocateOptionOutput) ToRouterNatNatIpAllocateOptionPtrOut }).(RouterNatNatIpAllocateOptionPtrOutput) } +func (o RouterNatNatIpAllocateOptionOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatNatIpAllocateOption] { + return pulumix.Output[RouterNatNatIpAllocateOption]{ + OutputState: o.OutputState, + } +} + func (o RouterNatNatIpAllocateOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23455,6 +25964,12 @@ func (o RouterNatNatIpAllocateOptionPtrOutput) ToRouterNatNatIpAllocateOptionPtr return o } +func (o RouterNatNatIpAllocateOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatNatIpAllocateOption] { + return pulumix.Output[*RouterNatNatIpAllocateOption]{ + OutputState: o.OutputState, + } +} + func (o RouterNatNatIpAllocateOptionPtrOutput) Elem() RouterNatNatIpAllocateOptionOutput { return o.ApplyT(func(v *RouterNatNatIpAllocateOption) RouterNatNatIpAllocateOption { if v != nil { @@ -23517,6 +26032,12 @@ func (in *routerNatNatIpAllocateOptionPtr) ToRouterNatNatIpAllocateOptionPtrOutp return pulumi.ToOutputWithContext(ctx, in).(RouterNatNatIpAllocateOptionPtrOutput) } +func (in *routerNatNatIpAllocateOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatNatIpAllocateOption] { + return pulumix.Output[*RouterNatNatIpAllocateOption]{ + OutputState: in.ToRouterNatNatIpAllocateOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there should not be any other Router.Nat section in any Router for this network in this region. type RouterNatSourceSubnetworkIpRangesToNat string @@ -23589,6 +26110,12 @@ func (o RouterNatSourceSubnetworkIpRangesToNatOutput) ToRouterNatSourceSubnetwor }).(RouterNatSourceSubnetworkIpRangesToNatPtrOutput) } +func (o RouterNatSourceSubnetworkIpRangesToNatOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSourceSubnetworkIpRangesToNat] { + return pulumix.Output[RouterNatSourceSubnetworkIpRangesToNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSourceSubnetworkIpRangesToNatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23624,6 +26151,12 @@ func (o RouterNatSourceSubnetworkIpRangesToNatPtrOutput) ToRouterNatSourceSubnet return o } +func (o RouterNatSourceSubnetworkIpRangesToNatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat] { + return pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSourceSubnetworkIpRangesToNatPtrOutput) Elem() RouterNatSourceSubnetworkIpRangesToNatOutput { return o.ApplyT(func(v *RouterNatSourceSubnetworkIpRangesToNat) RouterNatSourceSubnetworkIpRangesToNat { if v != nil { @@ -23686,6 +26219,12 @@ func (in *routerNatSourceSubnetworkIpRangesToNatPtr) ToRouterNatSourceSubnetwork return pulumi.ToOutputWithContext(ctx, in).(RouterNatSourceSubnetworkIpRangesToNatPtrOutput) } +func (in *routerNatSourceSubnetworkIpRangesToNatPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat] { + return pulumix.Output[*RouterNatSourceSubnetworkIpRangesToNat]{ + OutputState: in.ToRouterNatSourceSubnetworkIpRangesToNatPtrOutputWithContext(ctx).OutputState, + } +} + type RouterNatSubnetworkToNatSourceIpRangesToNatItem string const ( @@ -23757,6 +26296,12 @@ func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput) ToRouterNatSubnet }).(RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) } +func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -23792,6 +26337,12 @@ func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) ToRouterNatSub return o } +func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) Elem() RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput { return o.ApplyT(func(v *RouterNatSubnetworkToNatSourceIpRangesToNatItem) RouterNatSubnetworkToNatSourceIpRangesToNatItem { if v != nil { @@ -23854,6 +26405,12 @@ func (in *routerNatSubnetworkToNatSourceIpRangesToNatItemPtr) ToRouterNatSubnetw return pulumi.ToOutputWithContext(ctx, in).(RouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutput) } +func (in *routerNatSubnetworkToNatSourceIpRangesToNatItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[*RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: in.ToRouterNatSubnetworkToNatSourceIpRangesToNatItemPtrOutputWithContext(ctx).OutputState, + } +} + // RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayInput is an input type that accepts RouterNatSubnetworkToNatSourceIpRangesToNatItemArray and RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput values. // You can construct a concrete instance of `RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayInput` via: // @@ -23879,6 +26436,12 @@ func (i RouterNatSubnetworkToNatSourceIpRangesToNatItemArray) ToRouterNatSubnetw return pulumi.ToOutputWithContext(ctx, i).(RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) } +func (i RouterNatSubnetworkToNatSourceIpRangesToNatItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: i.ToRouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutputWithContext(ctx).OutputState, + } +} + type RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput struct{ *pulumi.OutputState } func (RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) ElementType() reflect.Type { @@ -23893,6 +26456,12 @@ func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) ToRouterNatS return o } +func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem] { + return pulumix.Output[[]RouterNatSubnetworkToNatSourceIpRangesToNatItem]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatSourceIpRangesToNatItemArrayOutput) Index(i pulumi.IntInput) RouterNatSubnetworkToNatSourceIpRangesToNatItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatSubnetworkToNatSourceIpRangesToNatItem { return vs[0].([]RouterNatSubnetworkToNatSourceIpRangesToNatItem)[vs[1].(int)] @@ -23977,6 +26546,12 @@ func (o RuleActionOutput) ToRuleActionPtrOutputWithContext(ctx context.Context) }).(RuleActionPtrOutput) } +func (o RuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[RuleAction] { + return pulumix.Output[RuleAction]{ + OutputState: o.OutputState, + } +} + func (o RuleActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24012,6 +26587,12 @@ func (o RuleActionPtrOutput) ToRuleActionPtrOutputWithContext(ctx context.Contex return o } +func (o RuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuleAction] { + return pulumix.Output[*RuleAction]{ + OutputState: o.OutputState, + } +} + func (o RuleActionPtrOutput) Elem() RuleActionOutput { return o.ApplyT(func(v *RuleAction) RuleAction { if v != nil { @@ -24074,6 +26655,12 @@ func (in *ruleActionPtr) ToRuleActionPtrOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, in).(RuleActionPtrOutput) } +func (in *ruleActionPtr) ToOutput(ctx context.Context) pulumix.Output[*RuleAction] { + return pulumix.Output[*RuleAction]{ + OutputState: in.ToRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type SSLHealthCheckPortSpecification string @@ -24146,6 +26733,12 @@ func (o SSLHealthCheckPortSpecificationOutput) ToSSLHealthCheckPortSpecification }).(SSLHealthCheckPortSpecificationPtrOutput) } +func (o SSLHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheckPortSpecification] { + return pulumix.Output[SSLHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24181,6 +26774,12 @@ func (o SSLHealthCheckPortSpecificationPtrOutput) ToSSLHealthCheckPortSpecificat return o } +func (o SSLHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckPortSpecification] { + return pulumix.Output[*SSLHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckPortSpecificationPtrOutput) Elem() SSLHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *SSLHealthCheckPortSpecification) SSLHealthCheckPortSpecification { if v != nil { @@ -24243,6 +26842,12 @@ func (in *sslhealthCheckPortSpecificationPtr) ToSSLHealthCheckPortSpecificationP return pulumi.ToOutputWithContext(ctx, in).(SSLHealthCheckPortSpecificationPtrOutput) } +func (in *sslhealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckPortSpecification] { + return pulumix.Output[*SSLHealthCheckPortSpecification]{ + OutputState: in.ToSSLHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type SSLHealthCheckProxyHeader string @@ -24311,6 +26916,12 @@ func (o SSLHealthCheckProxyHeaderOutput) ToSSLHealthCheckProxyHeaderPtrOutputWit }).(SSLHealthCheckProxyHeaderPtrOutput) } +func (o SSLHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheckProxyHeader] { + return pulumix.Output[SSLHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24346,6 +26957,12 @@ func (o SSLHealthCheckProxyHeaderPtrOutput) ToSSLHealthCheckProxyHeaderPtrOutput return o } +func (o SSLHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckProxyHeader] { + return pulumix.Output[*SSLHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckProxyHeaderPtrOutput) Elem() SSLHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *SSLHealthCheckProxyHeader) SSLHealthCheckProxyHeader { if v != nil { @@ -24408,6 +27025,12 @@ func (in *sslhealthCheckProxyHeaderPtr) ToSSLHealthCheckProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(SSLHealthCheckProxyHeaderPtrOutput) } +func (in *sslhealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheckProxyHeader] { + return pulumix.Output[*SSLHealthCheckProxyHeader]{ + OutputState: in.ToSSLHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the termination action for the instance. type SchedulingInstanceTerminationAction string @@ -24480,6 +27103,12 @@ func (o SchedulingInstanceTerminationActionOutput) ToSchedulingInstanceTerminati }).(SchedulingInstanceTerminationActionPtrOutput) } +func (o SchedulingInstanceTerminationActionOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingInstanceTerminationAction] { + return pulumix.Output[SchedulingInstanceTerminationAction]{ + OutputState: o.OutputState, + } +} + func (o SchedulingInstanceTerminationActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24515,6 +27144,12 @@ func (o SchedulingInstanceTerminationActionPtrOutput) ToSchedulingInstanceTermin return o } +func (o SchedulingInstanceTerminationActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingInstanceTerminationAction] { + return pulumix.Output[*SchedulingInstanceTerminationAction]{ + OutputState: o.OutputState, + } +} + func (o SchedulingInstanceTerminationActionPtrOutput) Elem() SchedulingInstanceTerminationActionOutput { return o.ApplyT(func(v *SchedulingInstanceTerminationAction) SchedulingInstanceTerminationAction { if v != nil { @@ -24577,6 +27212,12 @@ func (in *schedulingInstanceTerminationActionPtr) ToSchedulingInstanceTerminatio return pulumi.ToOutputWithContext(ctx, in).(SchedulingInstanceTerminationActionPtrOutput) } +func (in *schedulingInstanceTerminationActionPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingInstanceTerminationAction] { + return pulumix.Output[*SchedulingInstanceTerminationAction]{ + OutputState: in.ToSchedulingInstanceTerminationActionPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. type SchedulingNodeAffinityOperator string @@ -24648,6 +27289,12 @@ func (o SchedulingNodeAffinityOperatorOutput) ToSchedulingNodeAffinityOperatorPt }).(SchedulingNodeAffinityOperatorPtrOutput) } +func (o SchedulingNodeAffinityOperatorOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinityOperator] { + return pulumix.Output[SchedulingNodeAffinityOperator]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityOperatorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24683,6 +27330,12 @@ func (o SchedulingNodeAffinityOperatorPtrOutput) ToSchedulingNodeAffinityOperato return o } +func (o SchedulingNodeAffinityOperatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingNodeAffinityOperator] { + return pulumix.Output[*SchedulingNodeAffinityOperator]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityOperatorPtrOutput) Elem() SchedulingNodeAffinityOperatorOutput { return o.ApplyT(func(v *SchedulingNodeAffinityOperator) SchedulingNodeAffinityOperator { if v != nil { @@ -24745,6 +27398,12 @@ func (in *schedulingNodeAffinityOperatorPtr) ToSchedulingNodeAffinityOperatorPtr return pulumi.ToOutputWithContext(ctx, in).(SchedulingNodeAffinityOperatorPtrOutput) } +func (in *schedulingNodeAffinityOperatorPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingNodeAffinityOperator] { + return pulumix.Output[*SchedulingNodeAffinityOperator]{ + OutputState: in.ToSchedulingNodeAffinityOperatorPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. type SchedulingOnHostMaintenance string @@ -24815,6 +27474,12 @@ func (o SchedulingOnHostMaintenanceOutput) ToSchedulingOnHostMaintenancePtrOutpu }).(SchedulingOnHostMaintenancePtrOutput) } +func (o SchedulingOnHostMaintenanceOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingOnHostMaintenance] { + return pulumix.Output[SchedulingOnHostMaintenance]{ + OutputState: o.OutputState, + } +} + func (o SchedulingOnHostMaintenanceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -24850,6 +27515,12 @@ func (o SchedulingOnHostMaintenancePtrOutput) ToSchedulingOnHostMaintenancePtrOu return o } +func (o SchedulingOnHostMaintenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingOnHostMaintenance] { + return pulumix.Output[*SchedulingOnHostMaintenance]{ + OutputState: o.OutputState, + } +} + func (o SchedulingOnHostMaintenancePtrOutput) Elem() SchedulingOnHostMaintenanceOutput { return o.ApplyT(func(v *SchedulingOnHostMaintenance) SchedulingOnHostMaintenance { if v != nil { @@ -24912,6 +27583,12 @@ func (in *schedulingOnHostMaintenancePtr) ToSchedulingOnHostMaintenancePtrOutput return pulumi.ToOutputWithContext(ctx, in).(SchedulingOnHostMaintenancePtrOutput) } +func (in *schedulingOnHostMaintenancePtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingOnHostMaintenance] { + return pulumix.Output[*SchedulingOnHostMaintenance]{ + OutputState: in.ToSchedulingOnHostMaintenancePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the provisioning model of the instance. type SchedulingProvisioningModel string @@ -24982,6 +27659,12 @@ func (o SchedulingProvisioningModelOutput) ToSchedulingProvisioningModelPtrOutpu }).(SchedulingProvisioningModelPtrOutput) } +func (o SchedulingProvisioningModelOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingProvisioningModel] { + return pulumix.Output[SchedulingProvisioningModel]{ + OutputState: o.OutputState, + } +} + func (o SchedulingProvisioningModelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25017,6 +27700,12 @@ func (o SchedulingProvisioningModelPtrOutput) ToSchedulingProvisioningModelPtrOu return o } +func (o SchedulingProvisioningModelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingProvisioningModel] { + return pulumix.Output[*SchedulingProvisioningModel]{ + OutputState: o.OutputState, + } +} + func (o SchedulingProvisioningModelPtrOutput) Elem() SchedulingProvisioningModelOutput { return o.ApplyT(func(v *SchedulingProvisioningModel) SchedulingProvisioningModel { if v != nil { @@ -25079,6 +27768,12 @@ func (in *schedulingProvisioningModelPtr) ToSchedulingProvisioningModelPtrOutput return pulumi.ToOutputWithContext(ctx, in).(SchedulingProvisioningModelPtrOutput) } +func (in *schedulingProvisioningModelPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingProvisioningModel] { + return pulumix.Output[*SchedulingProvisioningModel]{ + OutputState: in.ToSchedulingProvisioningModelPtrOutputWithContext(ctx).OutputState, + } +} + // Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility string @@ -25147,6 +27842,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibil }).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25182,6 +27883,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibil return o } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility) SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility { if v != nil { @@ -25244,6 +27951,12 @@ func (in *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisib return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutput) } +func (in *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility]{ + OutputState: in.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibilityPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigJsonParsing string const ( @@ -25311,6 +28024,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonParsingOutput) ToSecurityPolicyAd }).(SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigJsonParsingOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonParsing] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonParsing]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigJsonParsingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25346,6 +28065,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) ToSecurityPolic return o } +func (o SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigJsonParsingOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfigJsonParsing) SecurityPolicyAdvancedOptionsConfigJsonParsing { if v != nil { @@ -25408,6 +28133,12 @@ func (in *securityPolicyAdvancedOptionsConfigJsonParsingPtr) ToSecurityPolicyAdv return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutput) } +func (in *securityPolicyAdvancedOptionsConfigJsonParsingPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonParsing]{ + OutputState: in.ToSecurityPolicyAdvancedOptionsConfigJsonParsingPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigLogLevel string const ( @@ -25475,6 +28206,12 @@ func (o SecurityPolicyAdvancedOptionsConfigLogLevelOutput) ToSecurityPolicyAdvan }).(SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigLogLevelOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigLogLevel] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigLogLevel]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigLogLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25510,6 +28247,12 @@ func (o SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) ToSecurityPolicyAd return o } +func (o SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigLogLevelOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfigLogLevel) SecurityPolicyAdvancedOptionsConfigLogLevel { if v != nil { @@ -25572,6 +28315,12 @@ func (in *securityPolicyAdvancedOptionsConfigLogLevelPtr) ToSecurityPolicyAdvanc return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyAdvancedOptionsConfigLogLevelPtrOutput) } +func (in *securityPolicyAdvancedOptionsConfigLogLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigLogLevel]{ + OutputState: in.ToSecurityPolicyAdvancedOptionsConfigLogLevelPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyDdosProtectionConfigDdosProtection string const ( @@ -25639,6 +28388,12 @@ func (o SecurityPolicyDdosProtectionConfigDdosProtectionOutput) ToSecurityPolicy }).(SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) } +func (o SecurityPolicyDdosProtectionConfigDdosProtectionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfigDdosProtection] { + return pulumix.Output[SecurityPolicyDdosProtectionConfigDdosProtection]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigDdosProtectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25674,6 +28429,12 @@ func (o SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) ToSecurityPol return o } +func (o SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) Elem() SecurityPolicyDdosProtectionConfigDdosProtectionOutput { return o.ApplyT(func(v *SecurityPolicyDdosProtectionConfigDdosProtection) SecurityPolicyDdosProtectionConfigDdosProtection { if v != nil { @@ -25736,6 +28497,12 @@ func (in *securityPolicyDdosProtectionConfigDdosProtectionPtr) ToSecurityPolicyD return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput) } +func (in *securityPolicyDdosProtectionConfigDdosProtectionPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfigDdosProtection]{ + OutputState: in.ToSecurityPolicyDdosProtectionConfigDdosProtectionPtrOutputWithContext(ctx).OutputState, + } +} + // Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. type SecurityPolicyRuleMatcherVersionedExpr string @@ -25804,6 +28571,12 @@ func (o SecurityPolicyRuleMatcherVersionedExprOutput) ToSecurityPolicyRuleMatche }).(SecurityPolicyRuleMatcherVersionedExprPtrOutput) } +func (o SecurityPolicyRuleMatcherVersionedExprOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherVersionedExpr] { + return pulumix.Output[SecurityPolicyRuleMatcherVersionedExpr]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherVersionedExprOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -25839,6 +28612,12 @@ func (o SecurityPolicyRuleMatcherVersionedExprPtrOutput) ToSecurityPolicyRuleMat return o } +func (o SecurityPolicyRuleMatcherVersionedExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr] { + return pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherVersionedExprPtrOutput) Elem() SecurityPolicyRuleMatcherVersionedExprOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcherVersionedExpr) SecurityPolicyRuleMatcherVersionedExpr { if v != nil { @@ -25901,6 +28680,12 @@ func (in *securityPolicyRuleMatcherVersionedExprPtr) ToSecurityPolicyRuleMatcher return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleMatcherVersionedExprPtrOutput) } +func (in *securityPolicyRuleMatcherVersionedExprPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr] { + return pulumix.Output[*SecurityPolicyRuleMatcherVersionedExpr]{ + OutputState: in.ToSecurityPolicyRuleMatcherVersionedExprPtrOutputWithContext(ctx).OutputState, + } +} + // The match operator for the field. type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp string @@ -25977,6 +28762,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput) To }).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26012,6 +28803,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) Elem() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpOutput { return o.ApplyT(func(v *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp { if v != nil { @@ -26074,6 +28871,12 @@ func (in *securityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtr) ToS return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput) } +func (in *securityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp]{ + OutputState: in.ToSecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutputWithContext(ctx).OutputState, + } +} + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. type SecurityPolicyRuleRateLimitOptionsEnforceOnKey string @@ -26148,6 +28951,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput) ToSecurityPolicyRu }).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKey] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKey]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26183,6 +28992,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) ToSecurityPolic return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsEnforceOnKeyOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptionsEnforceOnKey) SecurityPolicyRuleRateLimitOptionsEnforceOnKey { if v != nil { @@ -26245,6 +29060,12 @@ func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyPtr) ToSecurityPolicyRul return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutput) } +func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyPtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKey]{ + OutputState: in.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType string @@ -26319,6 +29140,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutp }).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26354,6 +29181,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrO return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypeOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType { if v != nil { @@ -26416,6 +29249,12 @@ func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePt return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutput) } +func (in *securityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyType]{ + OutputState: in.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigEnforceOnKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the redirect action. type SecurityPolicyRuleRedirectOptionsType string @@ -26484,6 +29323,12 @@ func (o SecurityPolicyRuleRedirectOptionsTypeOutput) ToSecurityPolicyRuleRedirec }).(SecurityPolicyRuleRedirectOptionsTypePtrOutput) } +func (o SecurityPolicyRuleRedirectOptionsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptionsType] { + return pulumix.Output[SecurityPolicyRuleRedirectOptionsType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRedirectOptionsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26519,6 +29364,12 @@ func (o SecurityPolicyRuleRedirectOptionsTypePtrOutput) ToSecurityPolicyRuleRedi return o } +func (o SecurityPolicyRuleRedirectOptionsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptionsType] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptionsType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRedirectOptionsTypePtrOutput) Elem() SecurityPolicyRuleRedirectOptionsTypeOutput { return o.ApplyT(func(v *SecurityPolicyRuleRedirectOptionsType) SecurityPolicyRuleRedirectOptionsType { if v != nil { @@ -26581,6 +29432,12 @@ func (in *securityPolicyRuleRedirectOptionsTypePtr) ToSecurityPolicyRuleRedirect return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyRuleRedirectOptionsTypePtrOutput) } +func (in *securityPolicyRuleRedirectOptionsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptionsType] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptionsType]{ + OutputState: in.ToSecurityPolicyRuleRedirectOptionsTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. type SecurityPolicyType string @@ -26650,6 +29507,12 @@ func (o SecurityPolicyTypeOutput) ToSecurityPolicyTypePtrOutputWithContext(ctx c }).(SecurityPolicyTypePtrOutput) } +func (o SecurityPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyType] { + return pulumix.Output[SecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26685,6 +29548,12 @@ func (o SecurityPolicyTypePtrOutput) ToSecurityPolicyTypePtrOutputWithContext(ct return o } +func (o SecurityPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyType] { + return pulumix.Output[*SecurityPolicyType]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyTypePtrOutput) Elem() SecurityPolicyTypeOutput { return o.ApplyT(func(v *SecurityPolicyType) SecurityPolicyType { if v != nil { @@ -26747,6 +29616,12 @@ func (in *securityPolicyTypePtr) ToSecurityPolicyTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(SecurityPolicyTypePtrOutput) } +func (in *securityPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyType] { + return pulumix.Output[*SecurityPolicyType]{ + OutputState: in.ToSecurityPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + type ServerBindingType string const ( @@ -26817,6 +29692,12 @@ func (o ServerBindingTypeOutput) ToServerBindingTypePtrOutputWithContext(ctx con }).(ServerBindingTypePtrOutput) } +func (o ServerBindingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServerBindingType] { + return pulumix.Output[ServerBindingType]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -26852,6 +29733,12 @@ func (o ServerBindingTypePtrOutput) ToServerBindingTypePtrOutputWithContext(ctx return o } +func (o ServerBindingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerBindingType] { + return pulumix.Output[*ServerBindingType]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingTypePtrOutput) Elem() ServerBindingTypeOutput { return o.ApplyT(func(v *ServerBindingType) ServerBindingType { if v != nil { @@ -26914,6 +29801,12 @@ func (in *serverBindingTypePtr) ToServerBindingTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(ServerBindingTypePtrOutput) } +func (in *serverBindingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServerBindingType] { + return pulumix.Output[*ServerBindingType]{ + OutputState: in.ToServerBindingTypePtrOutputWithContext(ctx).OutputState, + } +} + // The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. type ServiceAttachmentConnectionPreference string @@ -26983,6 +29876,12 @@ func (o ServiceAttachmentConnectionPreferenceOutput) ToServiceAttachmentConnecti }).(ServiceAttachmentConnectionPreferencePtrOutput) } +func (o ServiceAttachmentConnectionPreferenceOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConnectionPreference] { + return pulumix.Output[ServiceAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConnectionPreferenceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27018,6 +29917,12 @@ func (o ServiceAttachmentConnectionPreferencePtrOutput) ToServiceAttachmentConne return o } +func (o ServiceAttachmentConnectionPreferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentConnectionPreference] { + return pulumix.Output[*ServiceAttachmentConnectionPreference]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConnectionPreferencePtrOutput) Elem() ServiceAttachmentConnectionPreferenceOutput { return o.ApplyT(func(v *ServiceAttachmentConnectionPreference) ServiceAttachmentConnectionPreference { if v != nil { @@ -27080,6 +29985,12 @@ func (in *serviceAttachmentConnectionPreferencePtr) ToServiceAttachmentConnectio return pulumi.ToOutputWithContext(ctx, in).(ServiceAttachmentConnectionPreferencePtrOutput) } +func (in *serviceAttachmentConnectionPreferencePtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentConnectionPreference] { + return pulumix.Output[*ServiceAttachmentConnectionPreference]{ + OutputState: in.ToServiceAttachmentConnectionPreferencePtrOutputWithContext(ctx).OutputState, + } +} + // Type of sharing for this shared-reservation type ShareSettingsShareType string @@ -27154,6 +30065,12 @@ func (o ShareSettingsShareTypeOutput) ToShareSettingsShareTypePtrOutputWithConte }).(ShareSettingsShareTypePtrOutput) } +func (o ShareSettingsShareTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ShareSettingsShareType] { + return pulumix.Output[ShareSettingsShareType]{ + OutputState: o.OutputState, + } +} + func (o ShareSettingsShareTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27189,6 +30106,12 @@ func (o ShareSettingsShareTypePtrOutput) ToShareSettingsShareTypePtrOutputWithCo return o } +func (o ShareSettingsShareTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShareSettingsShareType] { + return pulumix.Output[*ShareSettingsShareType]{ + OutputState: o.OutputState, + } +} + func (o ShareSettingsShareTypePtrOutput) Elem() ShareSettingsShareTypeOutput { return o.ApplyT(func(v *ShareSettingsShareType) ShareSettingsShareType { if v != nil { @@ -27251,6 +30174,12 @@ func (in *shareSettingsShareTypePtr) ToShareSettingsShareTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ShareSettingsShareTypePtrOutput) } +func (in *shareSettingsShareTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ShareSettingsShareType] { + return pulumix.Output[*ShareSettingsShareType]{ + OutputState: in.ToShareSettingsShareTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the type of the snapshot. type SnapshotSnapshotType string @@ -27319,6 +30248,12 @@ func (o SnapshotSnapshotTypeOutput) ToSnapshotSnapshotTypePtrOutputWithContext(c }).(SnapshotSnapshotTypePtrOutput) } +func (o SnapshotSnapshotTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SnapshotSnapshotType] { + return pulumix.Output[SnapshotSnapshotType]{ + OutputState: o.OutputState, + } +} + func (o SnapshotSnapshotTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27354,6 +30289,12 @@ func (o SnapshotSnapshotTypePtrOutput) ToSnapshotSnapshotTypePtrOutputWithContex return o } +func (o SnapshotSnapshotTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotSnapshotType] { + return pulumix.Output[*SnapshotSnapshotType]{ + OutputState: o.OutputState, + } +} + func (o SnapshotSnapshotTypePtrOutput) Elem() SnapshotSnapshotTypeOutput { return o.ApplyT(func(v *SnapshotSnapshotType) SnapshotSnapshotType { if v != nil { @@ -27416,6 +30357,12 @@ func (in *snapshotSnapshotTypePtr) ToSnapshotSnapshotTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(SnapshotSnapshotTypePtrOutput) } +func (in *snapshotSnapshotTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SnapshotSnapshotType] { + return pulumix.Output[*SnapshotSnapshotType]{ + OutputState: in.ToSnapshotSnapshotTypePtrOutputWithContext(ctx).OutputState, + } +} + // (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. type SslCertificateType string @@ -27487,6 +30434,12 @@ func (o SslCertificateTypeOutput) ToSslCertificateTypePtrOutputWithContext(ctx c }).(SslCertificateTypePtrOutput) } +func (o SslCertificateTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateType] { + return pulumix.Output[SslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27522,6 +30475,12 @@ func (o SslCertificateTypePtrOutput) ToSslCertificateTypePtrOutputWithContext(ct return o } +func (o SslCertificateTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateType] { + return pulumix.Output[*SslCertificateType]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateTypePtrOutput) Elem() SslCertificateTypeOutput { return o.ApplyT(func(v *SslCertificateType) SslCertificateType { if v != nil { @@ -27584,6 +30543,12 @@ func (in *sslCertificateTypePtr) ToSslCertificateTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(SslCertificateTypePtrOutput) } +func (in *sslCertificateTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateType] { + return pulumix.Output[*SslCertificateType]{ + OutputState: in.ToSslCertificateTypePtrOutputWithContext(ctx).OutputState, + } +} + // The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. type SslPolicyMinTlsVersion string @@ -27656,6 +30621,12 @@ func (o SslPolicyMinTlsVersionOutput) ToSslPolicyMinTlsVersionPtrOutputWithConte }).(SslPolicyMinTlsVersionPtrOutput) } +func (o SslPolicyMinTlsVersionOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyMinTlsVersion] { + return pulumix.Output[SslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyMinTlsVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27691,6 +30662,12 @@ func (o SslPolicyMinTlsVersionPtrOutput) ToSslPolicyMinTlsVersionPtrOutputWithCo return o } +func (o SslPolicyMinTlsVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyMinTlsVersion] { + return pulumix.Output[*SslPolicyMinTlsVersion]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyMinTlsVersionPtrOutput) Elem() SslPolicyMinTlsVersionOutput { return o.ApplyT(func(v *SslPolicyMinTlsVersion) SslPolicyMinTlsVersion { if v != nil { @@ -27753,6 +30730,12 @@ func (in *sslPolicyMinTlsVersionPtr) ToSslPolicyMinTlsVersionPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(SslPolicyMinTlsVersionPtrOutput) } +func (in *sslPolicyMinTlsVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyMinTlsVersion] { + return pulumix.Output[*SslPolicyMinTlsVersion]{ + OutputState: in.ToSslPolicyMinTlsVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. type SslPolicyProfile string @@ -27827,6 +30810,12 @@ func (o SslPolicyProfileOutput) ToSslPolicyProfilePtrOutputWithContext(ctx conte }).(SslPolicyProfilePtrOutput) } +func (o SslPolicyProfileOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyProfile] { + return pulumix.Output[SslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -27862,6 +30851,12 @@ func (o SslPolicyProfilePtrOutput) ToSslPolicyProfilePtrOutputWithContext(ctx co return o } +func (o SslPolicyProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyProfile] { + return pulumix.Output[*SslPolicyProfile]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyProfilePtrOutput) Elem() SslPolicyProfileOutput { return o.ApplyT(func(v *SslPolicyProfile) SslPolicyProfile { if v != nil { @@ -27924,6 +30919,12 @@ func (in *sslPolicyProfilePtr) ToSslPolicyProfilePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(SslPolicyProfilePtrOutput) } +func (in *sslPolicyProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*SslPolicyProfile] { + return pulumix.Output[*SslPolicyProfile]{ + OutputState: in.ToSslPolicyProfilePtrOutputWithContext(ctx).OutputState, + } +} + // The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. type SubnetworkIpv6AccessType string @@ -27994,6 +30995,12 @@ func (o SubnetworkIpv6AccessTypeOutput) ToSubnetworkIpv6AccessTypePtrOutputWithC }).(SubnetworkIpv6AccessTypePtrOutput) } +func (o SubnetworkIpv6AccessTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkIpv6AccessType] { + return pulumix.Output[SubnetworkIpv6AccessType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkIpv6AccessTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28029,6 +31036,12 @@ func (o SubnetworkIpv6AccessTypePtrOutput) ToSubnetworkIpv6AccessTypePtrOutputWi return o } +func (o SubnetworkIpv6AccessTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIpv6AccessType] { + return pulumix.Output[*SubnetworkIpv6AccessType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkIpv6AccessTypePtrOutput) Elem() SubnetworkIpv6AccessTypeOutput { return o.ApplyT(func(v *SubnetworkIpv6AccessType) SubnetworkIpv6AccessType { if v != nil { @@ -28091,6 +31104,12 @@ func (in *subnetworkIpv6AccessTypePtr) ToSubnetworkIpv6AccessTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(SubnetworkIpv6AccessTypePtrOutput) } +func (in *subnetworkIpv6AccessTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIpv6AccessType] { + return pulumix.Output[*SubnetworkIpv6AccessType]{ + OutputState: in.ToSubnetworkIpv6AccessTypePtrOutputWithContext(ctx).OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. type SubnetworkLogConfigAggregationInterval string @@ -28163,6 +31182,12 @@ func (o SubnetworkLogConfigAggregationIntervalOutput) ToSubnetworkLogConfigAggre }).(SubnetworkLogConfigAggregationIntervalPtrOutput) } +func (o SubnetworkLogConfigAggregationIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfigAggregationInterval] { + return pulumix.Output[SubnetworkLogConfigAggregationInterval]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigAggregationIntervalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28198,6 +31223,12 @@ func (o SubnetworkLogConfigAggregationIntervalPtrOutput) ToSubnetworkLogConfigAg return o } +func (o SubnetworkLogConfigAggregationIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigAggregationInterval] { + return pulumix.Output[*SubnetworkLogConfigAggregationInterval]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigAggregationIntervalPtrOutput) Elem() SubnetworkLogConfigAggregationIntervalOutput { return o.ApplyT(func(v *SubnetworkLogConfigAggregationInterval) SubnetworkLogConfigAggregationInterval { if v != nil { @@ -28260,6 +31291,12 @@ func (in *subnetworkLogConfigAggregationIntervalPtr) ToSubnetworkLogConfigAggreg return pulumi.ToOutputWithContext(ctx, in).(SubnetworkLogConfigAggregationIntervalPtrOutput) } +func (in *subnetworkLogConfigAggregationIntervalPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigAggregationInterval] { + return pulumix.Output[*SubnetworkLogConfigAggregationInterval]{ + OutputState: in.ToSubnetworkLogConfigAggregationIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA. type SubnetworkLogConfigMetadata string @@ -28329,6 +31366,12 @@ func (o SubnetworkLogConfigMetadataOutput) ToSubnetworkLogConfigMetadataPtrOutpu }).(SubnetworkLogConfigMetadataPtrOutput) } +func (o SubnetworkLogConfigMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfigMetadata] { + return pulumix.Output[SubnetworkLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigMetadataOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28364,6 +31407,12 @@ func (o SubnetworkLogConfigMetadataPtrOutput) ToSubnetworkLogConfigMetadataPtrOu return o } +func (o SubnetworkLogConfigMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigMetadata] { + return pulumix.Output[*SubnetworkLogConfigMetadata]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigMetadataPtrOutput) Elem() SubnetworkLogConfigMetadataOutput { return o.ApplyT(func(v *SubnetworkLogConfigMetadata) SubnetworkLogConfigMetadata { if v != nil { @@ -28426,6 +31475,12 @@ func (in *subnetworkLogConfigMetadataPtr) ToSubnetworkLogConfigMetadataPtrOutput return pulumi.ToOutputWithContext(ctx, in).(SubnetworkLogConfigMetadataPtrOutput) } +func (in *subnetworkLogConfigMetadataPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfigMetadata] { + return pulumix.Output[*SubnetworkLogConfigMetadata]{ + OutputState: in.ToSubnetworkLogConfigMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // This field is for internal use. This field can be both set at resource creation time and updated using patch. type SubnetworkPrivateIpv6GoogleAccess string @@ -28498,6 +31553,12 @@ func (o SubnetworkPrivateIpv6GoogleAccessOutput) ToSubnetworkPrivateIpv6GoogleAc }).(SubnetworkPrivateIpv6GoogleAccessPtrOutput) } +func (o SubnetworkPrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkPrivateIpv6GoogleAccess] { + return pulumix.Output[SubnetworkPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28533,6 +31594,12 @@ func (o SubnetworkPrivateIpv6GoogleAccessPtrOutput) ToSubnetworkPrivateIpv6Googl return o } +func (o SubnetworkPrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess] { + return pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPrivateIpv6GoogleAccessPtrOutput) Elem() SubnetworkPrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *SubnetworkPrivateIpv6GoogleAccess) SubnetworkPrivateIpv6GoogleAccess { if v != nil { @@ -28595,6 +31662,12 @@ func (in *subnetworkPrivateIpv6GoogleAccessPtr) ToSubnetworkPrivateIpv6GoogleAcc return pulumi.ToOutputWithContext(ctx, in).(SubnetworkPrivateIpv6GoogleAccessPtrOutput) } +func (in *subnetworkPrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess] { + return pulumix.Output[*SubnetworkPrivateIpv6GoogleAccess]{ + OutputState: in.ToSubnetworkPrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY. type SubnetworkPurpose string @@ -28671,6 +31744,12 @@ func (o SubnetworkPurposeOutput) ToSubnetworkPurposePtrOutputWithContext(ctx con }).(SubnetworkPurposePtrOutput) } +func (o SubnetworkPurposeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkPurpose] { + return pulumix.Output[SubnetworkPurpose]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPurposeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28706,6 +31785,12 @@ func (o SubnetworkPurposePtrOutput) ToSubnetworkPurposePtrOutputWithContext(ctx return o } +func (o SubnetworkPurposePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPurpose] { + return pulumix.Output[*SubnetworkPurpose]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkPurposePtrOutput) Elem() SubnetworkPurposeOutput { return o.ApplyT(func(v *SubnetworkPurpose) SubnetworkPurpose { if v != nil { @@ -28768,6 +31853,12 @@ func (in *subnetworkPurposePtr) ToSubnetworkPurposePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(SubnetworkPurposePtrOutput) } +func (in *subnetworkPurposePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkPurpose] { + return pulumix.Output[*SubnetworkPurpose]{ + OutputState: in.ToSubnetworkPurposePtrOutputWithContext(ctx).OutputState, + } +} + // The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. type SubnetworkRole string @@ -28838,6 +31929,12 @@ func (o SubnetworkRoleOutput) ToSubnetworkRolePtrOutputWithContext(ctx context.C }).(SubnetworkRolePtrOutput) } +func (o SubnetworkRoleOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkRole] { + return pulumix.Output[SubnetworkRole]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkRoleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -28873,6 +31970,12 @@ func (o SubnetworkRolePtrOutput) ToSubnetworkRolePtrOutputWithContext(ctx contex return o } +func (o SubnetworkRolePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkRole] { + return pulumix.Output[*SubnetworkRole]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkRolePtrOutput) Elem() SubnetworkRoleOutput { return o.ApplyT(func(v *SubnetworkRole) SubnetworkRole { if v != nil { @@ -28935,6 +32038,12 @@ func (in *subnetworkRolePtr) ToSubnetworkRolePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(SubnetworkRolePtrOutput) } +func (in *subnetworkRolePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkRole] { + return pulumix.Output[*SubnetworkRole]{ + OutputState: in.ToSubnetworkRolePtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. type SubnetworkStackType string @@ -29005,6 +32114,12 @@ func (o SubnetworkStackTypeOutput) ToSubnetworkStackTypePtrOutputWithContext(ctx }).(SubnetworkStackTypePtrOutput) } +func (o SubnetworkStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkStackType] { + return pulumix.Output[SubnetworkStackType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29040,6 +32155,12 @@ func (o SubnetworkStackTypePtrOutput) ToSubnetworkStackTypePtrOutputWithContext( return o } +func (o SubnetworkStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkStackType] { + return pulumix.Output[*SubnetworkStackType]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkStackTypePtrOutput) Elem() SubnetworkStackTypeOutput { return o.ApplyT(func(v *SubnetworkStackType) SubnetworkStackType { if v != nil { @@ -29102,6 +32223,12 @@ func (in *subnetworkStackTypePtr) ToSubnetworkStackTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(SubnetworkStackTypePtrOutput) } +func (in *subnetworkStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkStackType] { + return pulumix.Output[*SubnetworkStackType]{ + OutputState: in.ToSubnetworkStackTypePtrOutputWithContext(ctx).OutputState, + } +} + type SubsettingPolicy string const ( @@ -29171,6 +32298,12 @@ func (o SubsettingPolicyOutput) ToSubsettingPolicyPtrOutputWithContext(ctx conte }).(SubsettingPolicyPtrOutput) } +func (o SubsettingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[SubsettingPolicy] { + return pulumix.Output[SubsettingPolicy]{ + OutputState: o.OutputState, + } +} + func (o SubsettingPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29206,6 +32339,12 @@ func (o SubsettingPolicyPtrOutput) ToSubsettingPolicyPtrOutputWithContext(ctx co return o } +func (o SubsettingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubsettingPolicy] { + return pulumix.Output[*SubsettingPolicy]{ + OutputState: o.OutputState, + } +} + func (o SubsettingPolicyPtrOutput) Elem() SubsettingPolicyOutput { return o.ApplyT(func(v *SubsettingPolicy) SubsettingPolicy { if v != nil { @@ -29268,6 +32407,12 @@ func (in *subsettingPolicyPtr) ToSubsettingPolicyPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(SubsettingPolicyPtrOutput) } +func (in *subsettingPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*SubsettingPolicy] { + return pulumix.Output[*SubsettingPolicy]{ + OutputState: in.ToSubsettingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. type TCPHealthCheckPortSpecification string @@ -29340,6 +32485,12 @@ func (o TCPHealthCheckPortSpecificationOutput) ToTCPHealthCheckPortSpecification }).(TCPHealthCheckPortSpecificationPtrOutput) } +func (o TCPHealthCheckPortSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheckPortSpecification] { + return pulumix.Output[TCPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckPortSpecificationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29375,6 +32526,12 @@ func (o TCPHealthCheckPortSpecificationPtrOutput) ToTCPHealthCheckPortSpecificat return o } +func (o TCPHealthCheckPortSpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckPortSpecification] { + return pulumix.Output[*TCPHealthCheckPortSpecification]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckPortSpecificationPtrOutput) Elem() TCPHealthCheckPortSpecificationOutput { return o.ApplyT(func(v *TCPHealthCheckPortSpecification) TCPHealthCheckPortSpecification { if v != nil { @@ -29437,6 +32594,12 @@ func (in *tcphealthCheckPortSpecificationPtr) ToTCPHealthCheckPortSpecificationP return pulumi.ToOutputWithContext(ctx, in).(TCPHealthCheckPortSpecificationPtrOutput) } +func (in *tcphealthCheckPortSpecificationPtr) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckPortSpecification] { + return pulumix.Output[*TCPHealthCheckPortSpecification]{ + OutputState: in.ToTCPHealthCheckPortSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type TCPHealthCheckProxyHeader string @@ -29505,6 +32668,12 @@ func (o TCPHealthCheckProxyHeaderOutput) ToTCPHealthCheckProxyHeaderPtrOutputWit }).(TCPHealthCheckProxyHeaderPtrOutput) } +func (o TCPHealthCheckProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheckProxyHeader] { + return pulumix.Output[TCPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29540,6 +32709,12 @@ func (o TCPHealthCheckProxyHeaderPtrOutput) ToTCPHealthCheckProxyHeaderPtrOutput return o } +func (o TCPHealthCheckProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckProxyHeader] { + return pulumix.Output[*TCPHealthCheckProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckProxyHeaderPtrOutput) Elem() TCPHealthCheckProxyHeaderOutput { return o.ApplyT(func(v *TCPHealthCheckProxyHeader) TCPHealthCheckProxyHeader { if v != nil { @@ -29602,6 +32777,12 @@ func (in *tcphealthCheckProxyHeaderPtr) ToTCPHealthCheckProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TCPHealthCheckProxyHeaderPtrOutput) } +func (in *tcphealthCheckProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheckProxyHeader] { + return pulumix.Output[*TCPHealthCheckProxyHeader]{ + OutputState: in.ToTCPHealthCheckProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. type TargetHttpsProxyQuicOverride string @@ -29674,6 +32855,12 @@ func (o TargetHttpsProxyQuicOverrideOutput) ToTargetHttpsProxyQuicOverridePtrOut }).(TargetHttpsProxyQuicOverridePtrOutput) } +func (o TargetHttpsProxyQuicOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[TargetHttpsProxyQuicOverride] { + return pulumix.Output[TargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o TargetHttpsProxyQuicOverrideOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29709,6 +32896,12 @@ func (o TargetHttpsProxyQuicOverridePtrOutput) ToTargetHttpsProxyQuicOverridePtr return o } +func (o TargetHttpsProxyQuicOverridePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxyQuicOverride] { + return pulumix.Output[*TargetHttpsProxyQuicOverride]{ + OutputState: o.OutputState, + } +} + func (o TargetHttpsProxyQuicOverridePtrOutput) Elem() TargetHttpsProxyQuicOverrideOutput { return o.ApplyT(func(v *TargetHttpsProxyQuicOverride) TargetHttpsProxyQuicOverride { if v != nil { @@ -29771,6 +32964,12 @@ func (in *targetHttpsProxyQuicOverridePtr) ToTargetHttpsProxyQuicOverridePtrOutp return pulumi.ToOutputWithContext(ctx, in).(TargetHttpsProxyQuicOverridePtrOutput) } +func (in *targetHttpsProxyQuicOverridePtr) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxyQuicOverride] { + return pulumix.Output[*TargetHttpsProxyQuicOverride]{ + OutputState: in.ToTargetHttpsProxyQuicOverridePtrOutputWithContext(ctx).OutputState, + } +} + // Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. type TargetInstanceNatPolicy string @@ -29839,6 +33038,12 @@ func (o TargetInstanceNatPolicyOutput) ToTargetInstanceNatPolicyPtrOutputWithCon }).(TargetInstanceNatPolicyPtrOutput) } +func (o TargetInstanceNatPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[TargetInstanceNatPolicy] { + return pulumix.Output[TargetInstanceNatPolicy]{ + OutputState: o.OutputState, + } +} + func (o TargetInstanceNatPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -29874,6 +33079,12 @@ func (o TargetInstanceNatPolicyPtrOutput) ToTargetInstanceNatPolicyPtrOutputWith return o } +func (o TargetInstanceNatPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetInstanceNatPolicy] { + return pulumix.Output[*TargetInstanceNatPolicy]{ + OutputState: o.OutputState, + } +} + func (o TargetInstanceNatPolicyPtrOutput) Elem() TargetInstanceNatPolicyOutput { return o.ApplyT(func(v *TargetInstanceNatPolicy) TargetInstanceNatPolicy { if v != nil { @@ -29936,6 +33147,12 @@ func (in *targetInstanceNatPolicyPtr) ToTargetInstanceNatPolicyPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(TargetInstanceNatPolicyPtrOutput) } +func (in *targetInstanceNatPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetInstanceNatPolicy] { + return pulumix.Output[*TargetInstanceNatPolicy]{ + OutputState: in.ToTargetInstanceNatPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. type TargetPoolSessionAffinity string @@ -30018,6 +33235,12 @@ func (o TargetPoolSessionAffinityOutput) ToTargetPoolSessionAffinityPtrOutputWit }).(TargetPoolSessionAffinityPtrOutput) } +func (o TargetPoolSessionAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[TargetPoolSessionAffinity] { + return pulumix.Output[TargetPoolSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o TargetPoolSessionAffinityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30053,6 +33276,12 @@ func (o TargetPoolSessionAffinityPtrOutput) ToTargetPoolSessionAffinityPtrOutput return o } +func (o TargetPoolSessionAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetPoolSessionAffinity] { + return pulumix.Output[*TargetPoolSessionAffinity]{ + OutputState: o.OutputState, + } +} + func (o TargetPoolSessionAffinityPtrOutput) Elem() TargetPoolSessionAffinityOutput { return o.ApplyT(func(v *TargetPoolSessionAffinity) TargetPoolSessionAffinity { if v != nil { @@ -30115,6 +33344,12 @@ func (in *targetPoolSessionAffinityPtr) ToTargetPoolSessionAffinityPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TargetPoolSessionAffinityPtrOutput) } +func (in *targetPoolSessionAffinityPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetPoolSessionAffinity] { + return pulumix.Output[*TargetPoolSessionAffinity]{ + OutputState: in.ToTargetPoolSessionAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type TargetSslProxyProxyHeader string @@ -30183,6 +33418,12 @@ func (o TargetSslProxyProxyHeaderOutput) ToTargetSslProxyProxyHeaderPtrOutputWit }).(TargetSslProxyProxyHeaderPtrOutput) } +func (o TargetSslProxyProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[TargetSslProxyProxyHeader] { + return pulumix.Output[TargetSslProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetSslProxyProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30218,6 +33459,12 @@ func (o TargetSslProxyProxyHeaderPtrOutput) ToTargetSslProxyProxyHeaderPtrOutput return o } +func (o TargetSslProxyProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxyProxyHeader] { + return pulumix.Output[*TargetSslProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetSslProxyProxyHeaderPtrOutput) Elem() TargetSslProxyProxyHeaderOutput { return o.ApplyT(func(v *TargetSslProxyProxyHeader) TargetSslProxyProxyHeader { if v != nil { @@ -30280,6 +33527,12 @@ func (in *targetSslProxyProxyHeaderPtr) ToTargetSslProxyProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TargetSslProxyProxyHeaderPtrOutput) } +func (in *targetSslProxyProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxyProxyHeader] { + return pulumix.Output[*TargetSslProxyProxyHeader]{ + OutputState: in.ToTargetSslProxyProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. type TargetTcpProxyProxyHeader string @@ -30348,6 +33601,12 @@ func (o TargetTcpProxyProxyHeaderOutput) ToTargetTcpProxyProxyHeaderPtrOutputWit }).(TargetTcpProxyProxyHeaderPtrOutput) } +func (o TargetTcpProxyProxyHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[TargetTcpProxyProxyHeader] { + return pulumix.Output[TargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetTcpProxyProxyHeaderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30383,6 +33642,12 @@ func (o TargetTcpProxyProxyHeaderPtrOutput) ToTargetTcpProxyProxyHeaderPtrOutput return o } +func (o TargetTcpProxyProxyHeaderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxyProxyHeader] { + return pulumix.Output[*TargetTcpProxyProxyHeader]{ + OutputState: o.OutputState, + } +} + func (o TargetTcpProxyProxyHeaderPtrOutput) Elem() TargetTcpProxyProxyHeaderOutput { return o.ApplyT(func(v *TargetTcpProxyProxyHeader) TargetTcpProxyProxyHeader { if v != nil { @@ -30445,6 +33710,12 @@ func (in *targetTcpProxyProxyHeaderPtr) ToTargetTcpProxyProxyHeaderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(TargetTcpProxyProxyHeaderPtrOutput) } +func (in *targetTcpProxyProxyHeaderPtr) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxyProxyHeader] { + return pulumix.Output[*TargetTcpProxyProxyHeader]{ + OutputState: in.ToTargetTcpProxyProxyHeaderPtrOutputWithContext(ctx).OutputState, + } +} + // The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. type VpnGatewayStackType string @@ -30515,6 +33786,12 @@ func (o VpnGatewayStackTypeOutput) ToVpnGatewayStackTypePtrOutputWithContext(ctx }).(VpnGatewayStackTypePtrOutput) } +func (o VpnGatewayStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayStackType] { + return pulumix.Output[VpnGatewayStackType]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -30550,6 +33827,12 @@ func (o VpnGatewayStackTypePtrOutput) ToVpnGatewayStackTypePtrOutputWithContext( return o } +func (o VpnGatewayStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnGatewayStackType] { + return pulumix.Output[*VpnGatewayStackType]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayStackTypePtrOutput) Elem() VpnGatewayStackTypeOutput { return o.ApplyT(func(v *VpnGatewayStackType) VpnGatewayStackType { if v != nil { @@ -30612,6 +33895,12 @@ func (in *vpnGatewayStackTypePtr) ToVpnGatewayStackTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(VpnGatewayStackTypePtrOutput) } +func (in *vpnGatewayStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*VpnGatewayStackType] { + return pulumix.Output[*VpnGatewayStackType]{ + OutputState: in.ToVpnGatewayStackTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AccessConfigNetworkTierInput)(nil)).Elem(), AccessConfigNetworkTier("FIXED_STANDARD")) pulumi.RegisterInputType(reflect.TypeOf((*AccessConfigNetworkTierPtrInput)(nil)).Elem(), AccessConfigNetworkTier("FIXED_STANDARD")) diff --git a/sdk/go/google/compute/v1/pulumiTypes.go b/sdk/go/google/compute/v1/pulumiTypes.go index 5db38cd156..0c3b377315 100644 --- a/sdk/go/google/compute/v1/pulumiTypes.go +++ b/sdk/go/google/compute/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AcceleratorConfigArgs) ToAcceleratorConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigOutput) } +func (i AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + // AcceleratorConfigArrayInput is an input type that accepts AcceleratorConfigArray and AcceleratorConfigArrayOutput values. // You can construct a concrete instance of `AcceleratorConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AcceleratorConfigArray) ToAcceleratorConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigArrayOutput) } +func (i AcceleratorConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigArrayOutputWithContext(ctx).OutputState, + } +} + // A specification of the type and number of accelerator cards attached to the instance. type AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AcceleratorConfigOutput) ToAcceleratorConfigOutputWithContext(ctx contex return o } +func (o AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // The number of the guest accelerator cards exposed to this instance. func (o AcceleratorConfigOutput) AcceleratorCount() pulumi.IntPtrOutput { return o.ApplyT(func(v AcceleratorConfig) *int { return v.AcceleratorCount }).(pulumi.IntPtrOutput) @@ -116,6 +135,12 @@ func (o AcceleratorConfigArrayOutput) ToAcceleratorConfigArrayOutputWithContext( return o } +func (o AcceleratorConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfig { return vs[0].([]AcceleratorConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AcceleratorConfigResponseOutput) ToAcceleratorConfigResponseOutputWithCo return o } +func (o AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigResponse] { + return pulumix.Output[AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of the guest accelerator cards exposed to this instance. func (o AcceleratorConfigResponseOutput) AcceleratorCount() pulumi.IntOutput { return o.ApplyT(func(v AcceleratorConfigResponse) int { return v.AcceleratorCount }).(pulumi.IntOutput) @@ -169,6 +200,12 @@ func (o AcceleratorConfigResponseArrayOutput) ToAcceleratorConfigResponseArrayOu return o } +func (o AcceleratorConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfigResponse] { + return pulumix.Output[[]AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfigResponse { return vs[0].([]AcceleratorConfigResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i AccessConfigArgs) ToAccessConfigOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AccessConfigOutput) } +func (i AccessConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AccessConfig] { + return pulumix.Output[AccessConfig]{ + OutputState: i.ToAccessConfigOutputWithContext(ctx).OutputState, + } +} + // AccessConfigArrayInput is an input type that accepts AccessConfigArray and AccessConfigArrayOutput values. // You can construct a concrete instance of `AccessConfigArrayInput` via: // @@ -263,6 +306,12 @@ func (i AccessConfigArray) ToAccessConfigArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AccessConfigArrayOutput) } +func (i AccessConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AccessConfig] { + return pulumix.Output[[]AccessConfig]{ + OutputState: i.ToAccessConfigArrayOutputWithContext(ctx).OutputState, + } +} + // An access configuration attached to an instance's network interface. Only one access config per instance is supported. type AccessConfigOutput struct{ *pulumi.OutputState } @@ -278,6 +327,12 @@ func (o AccessConfigOutput) ToAccessConfigOutputWithContext(ctx context.Context) return o } +func (o AccessConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfig] { + return pulumix.Output[AccessConfig]{ + OutputState: o.OutputState, + } +} + // Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork. func (o AccessConfigOutput) ExternalIpv6() pulumi.StringPtrOutput { return o.ApplyT(func(v AccessConfig) *string { return v.ExternalIpv6 }).(pulumi.StringPtrOutput) @@ -332,6 +387,12 @@ func (o AccessConfigArrayOutput) ToAccessConfigArrayOutputWithContext(ctx contex return o } +func (o AccessConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AccessConfig] { + return pulumix.Output[[]AccessConfig]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigArrayOutput) Index(i pulumi.IntInput) AccessConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessConfig { return vs[0].([]AccessConfig)[vs[1].(int)] @@ -375,6 +436,12 @@ func (o AccessConfigResponseOutput) ToAccessConfigResponseOutputWithContext(ctx return o } +func (o AccessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigResponse] { + return pulumix.Output[AccessConfigResponse]{ + OutputState: o.OutputState, + } +} + // Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork. func (o AccessConfigResponseOutput) ExternalIpv6() pulumi.StringOutput { return o.ApplyT(func(v AccessConfigResponse) string { return v.ExternalIpv6 }).(pulumi.StringOutput) @@ -434,6 +501,12 @@ func (o AccessConfigResponseArrayOutput) ToAccessConfigResponseArrayOutputWithCo return o } +func (o AccessConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AccessConfigResponse] { + return pulumix.Output[[]AccessConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AccessConfigResponseArrayOutput) Index(i pulumi.IntInput) AccessConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AccessConfigResponse { return vs[0].([]AccessConfigResponse)[vs[1].(int)] @@ -487,6 +560,12 @@ func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesOutput) } +func (i AdvancedMachineFeaturesArgs) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesOutputWithContext(ctx).OutputState, + } +} + func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesPtrOutput() AdvancedMachineFeaturesPtrOutput { return i.ToAdvancedMachineFeaturesPtrOutputWithContext(context.Background()) } @@ -528,6 +607,12 @@ func (i *advancedMachineFeaturesPtrType) ToAdvancedMachineFeaturesPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesPtrOutput) } +func (i *advancedMachineFeaturesPtrType) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled). type AdvancedMachineFeaturesOutput struct{ *pulumi.OutputState } @@ -553,6 +638,12 @@ func (o AdvancedMachineFeaturesOutput) ToAdvancedMachineFeaturesPtrOutputWithCon }).(AdvancedMachineFeaturesPtrOutput) } +func (o AdvancedMachineFeaturesOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + // Whether to enable nested virtualization or not (default is false). func (o AdvancedMachineFeaturesOutput) EnableNestedVirtualization() pulumi.BoolPtrOutput { return o.ApplyT(func(v AdvancedMachineFeatures) *bool { return v.EnableNestedVirtualization }).(pulumi.BoolPtrOutput) @@ -587,6 +678,12 @@ func (o AdvancedMachineFeaturesPtrOutput) ToAdvancedMachineFeaturesPtrOutputWith return o } +func (o AdvancedMachineFeaturesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + func (o AdvancedMachineFeaturesPtrOutput) Elem() AdvancedMachineFeaturesOutput { return o.ApplyT(func(v *AdvancedMachineFeatures) AdvancedMachineFeatures { if v != nil { @@ -664,6 +761,12 @@ func (o AdvancedMachineFeaturesResponseOutput) ToAdvancedMachineFeaturesResponse return o } +func (o AdvancedMachineFeaturesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeaturesResponse] { + return pulumix.Output[AdvancedMachineFeaturesResponse]{ + OutputState: o.OutputState, + } +} + // Whether to enable nested virtualization or not (default is false). func (o AdvancedMachineFeaturesResponseOutput) EnableNestedVirtualization() pulumi.BoolOutput { return o.ApplyT(func(v AdvancedMachineFeaturesResponse) bool { return v.EnableNestedVirtualization }).(pulumi.BoolOutput) @@ -723,6 +826,12 @@ func (i AliasIpRangeArgs) ToAliasIpRangeOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AliasIpRangeOutput) } +func (i AliasIpRangeArgs) ToOutput(ctx context.Context) pulumix.Output[AliasIpRange] { + return pulumix.Output[AliasIpRange]{ + OutputState: i.ToAliasIpRangeOutputWithContext(ctx).OutputState, + } +} + // AliasIpRangeArrayInput is an input type that accepts AliasIpRangeArray and AliasIpRangeArrayOutput values. // You can construct a concrete instance of `AliasIpRangeArrayInput` via: // @@ -748,6 +857,12 @@ func (i AliasIpRangeArray) ToAliasIpRangeArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AliasIpRangeArrayOutput) } +func (i AliasIpRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]AliasIpRange] { + return pulumix.Output[[]AliasIpRange]{ + OutputState: i.ToAliasIpRangeArrayOutputWithContext(ctx).OutputState, + } +} + // An alias IP range attached to an instance's network interface. type AliasIpRangeOutput struct{ *pulumi.OutputState } @@ -763,6 +878,12 @@ func (o AliasIpRangeOutput) ToAliasIpRangeOutputWithContext(ctx context.Context) return o } +func (o AliasIpRangeOutput) ToOutput(ctx context.Context) pulumix.Output[AliasIpRange] { + return pulumix.Output[AliasIpRange]{ + OutputState: o.OutputState, + } +} + // The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). func (o AliasIpRangeOutput) IpCidrRange() pulumi.StringPtrOutput { return o.ApplyT(func(v AliasIpRange) *string { return v.IpCidrRange }).(pulumi.StringPtrOutput) @@ -787,6 +908,12 @@ func (o AliasIpRangeArrayOutput) ToAliasIpRangeArrayOutputWithContext(ctx contex return o } +func (o AliasIpRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AliasIpRange] { + return pulumix.Output[[]AliasIpRange]{ + OutputState: o.OutputState, + } +} + func (o AliasIpRangeArrayOutput) Index(i pulumi.IntInput) AliasIpRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AliasIpRange { return vs[0].([]AliasIpRange)[vs[1].(int)] @@ -816,6 +943,12 @@ func (o AliasIpRangeResponseOutput) ToAliasIpRangeResponseOutputWithContext(ctx return o } +func (o AliasIpRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AliasIpRangeResponse] { + return pulumix.Output[AliasIpRangeResponse]{ + OutputState: o.OutputState, + } +} + // The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). func (o AliasIpRangeResponseOutput) IpCidrRange() pulumi.StringOutput { return o.ApplyT(func(v AliasIpRangeResponse) string { return v.IpCidrRange }).(pulumi.StringOutput) @@ -840,6 +973,12 @@ func (o AliasIpRangeResponseArrayOutput) ToAliasIpRangeResponseArrayOutputWithCo return o } +func (o AliasIpRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AliasIpRangeResponse] { + return pulumix.Output[[]AliasIpRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o AliasIpRangeResponseArrayOutput) Index(i pulumi.IntInput) AliasIpRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AliasIpRangeResponse { return vs[0].([]AliasIpRangeResponse)[vs[1].(int)] @@ -867,6 +1006,12 @@ func (o AllocationResourceStatusResponseOutput) ToAllocationResourceStatusRespon return o } +func (o AllocationResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationResourceStatusResponse] { + return pulumix.Output[AllocationResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Allocation Properties of this reservation. func (o AllocationResourceStatusResponseOutput) SpecificSkuAllocation() AllocationResourceStatusSpecificSKUAllocationResponseOutput { return o.ApplyT(func(v AllocationResourceStatusResponse) AllocationResourceStatusSpecificSKUAllocationResponse { @@ -895,6 +1040,12 @@ func (o AllocationResourceStatusSpecificSKUAllocationResponseOutput) ToAllocatio return o } +func (o AllocationResourceStatusSpecificSKUAllocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationResourceStatusSpecificSKUAllocationResponse] { + return pulumix.Output[AllocationResourceStatusSpecificSKUAllocationResponse]{ + OutputState: o.OutputState, + } +} + // ID of the instance template used to populate reservation properties. func (o AllocationResourceStatusSpecificSKUAllocationResponseOutput) SourceInstanceTemplateId() pulumi.StringOutput { return o.ApplyT(func(v AllocationResourceStatusSpecificSKUAllocationResponse) string { @@ -939,6 +1090,12 @@ func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskAr return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) } +func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: i.ToAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutputWithContext(ctx).OutputState, + } +} + // AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayInput is an input type that accepts AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArray and AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput values. // You can construct a concrete instance of `AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayInput` via: // @@ -964,6 +1121,12 @@ func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskAr return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput) } +func (i AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: i.ToAllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutputWithContext(ctx).OutputState, + } +} + type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput struct{ *pulumi.OutputState } func (AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) ElementType() reflect.Type { @@ -978,6 +1141,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOu return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: o.OutputState, + } +} + // Specifies the size of the disk in base-2 GB. func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput) DiskSizeGb() pulumi.StringPtrOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) *string { @@ -1006,6 +1175,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskAr return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk] { + return pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskArrayOutput) Index(i pulumi.IntInput) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk { return vs[0].([]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk)[vs[1].(int)] @@ -1033,6 +1208,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskRe return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse] { + return pulumix.Output[AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the size of the disk in base-2 GB. func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseOutput) DiskSizeGb() pulumi.StringOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse) string { @@ -1061,6 +1242,12 @@ func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskRe return o } +func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse] { + return pulumix.Output[[]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseArrayOutput) Index(i pulumi.IntInput) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse { return vs[0].([]AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskResponse)[vs[1].(int)] @@ -1118,6 +1305,12 @@ func (i AllocationSpecificSKUAllocationReservedInstancePropertiesArgs) ToAllocat return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) } +func (i AllocationSpecificSKUAllocationReservedInstancePropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: i.ToAllocationSpecificSKUAllocationReservedInstancePropertiesOutputWithContext(ctx).OutputState, + } +} + func (i AllocationSpecificSKUAllocationReservedInstancePropertiesArgs) ToAllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput() AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput { return i.ToAllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutputWithContext(context.Background()) } @@ -1159,6 +1352,12 @@ func (i *allocationSpecificSKUAllocationReservedInstancePropertiesPtrType) ToAll return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) } +func (i *allocationSpecificSKUAllocationReservedInstancePropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: i.ToAllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutputWithContext(ctx).OutputState, + } +} + // Properties of the SKU instances being reserved. Next ID: 9 type AllocationSpecificSKUAllocationReservedInstancePropertiesOutput struct{ *pulumi.OutputState } @@ -1184,6 +1383,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) ToAlloc }).(AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: o.OutputState, + } +} + // Specifies accelerator type and count. func (o AllocationSpecificSKUAllocationReservedInstancePropertiesOutput) GuestAccelerators() AcceleratorConfigArrayOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationReservedInstanceProperties) []AcceleratorConfig { @@ -1227,6 +1432,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) ToAl return o } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties] { + return pulumix.Output[*AllocationSpecificSKUAllocationReservedInstanceProperties]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUAllocationReservedInstancePropertiesPtrOutput) Elem() AllocationSpecificSKUAllocationReservedInstancePropertiesOutput { return o.ApplyT(func(v *AllocationSpecificSKUAllocationReservedInstanceProperties) AllocationSpecificSKUAllocationReservedInstanceProperties { if v != nil { @@ -1316,6 +1527,12 @@ func (o AllocationSpecificSKUAllocationReservedInstancePropertiesResponseOutput) return o } +func (o AllocationSpecificSKUAllocationReservedInstancePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUAllocationReservedInstancePropertiesResponse] { + return pulumix.Output[AllocationSpecificSKUAllocationReservedInstancePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Specifies accelerator type and count. func (o AllocationSpecificSKUAllocationReservedInstancePropertiesResponseOutput) GuestAccelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v AllocationSpecificSKUAllocationReservedInstancePropertiesResponse) []AcceleratorConfigResponse { @@ -1392,6 +1609,12 @@ func (i AllocationSpecificSKUReservationArgs) ToAllocationSpecificSKUReservation return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUReservationOutput) } +func (i AllocationSpecificSKUReservationArgs) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUReservation] { + return pulumix.Output[AllocationSpecificSKUReservation]{ + OutputState: i.ToAllocationSpecificSKUReservationOutputWithContext(ctx).OutputState, + } +} + func (i AllocationSpecificSKUReservationArgs) ToAllocationSpecificSKUReservationPtrOutput() AllocationSpecificSKUReservationPtrOutput { return i.ToAllocationSpecificSKUReservationPtrOutputWithContext(context.Background()) } @@ -1433,6 +1656,12 @@ func (i *allocationSpecificSKUReservationPtrType) ToAllocationSpecificSKUReserva return pulumi.ToOutputWithContext(ctx, i).(AllocationSpecificSKUReservationPtrOutput) } +func (i *allocationSpecificSKUReservationPtrType) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUReservation] { + return pulumix.Output[*AllocationSpecificSKUReservation]{ + OutputState: i.ToAllocationSpecificSKUReservationPtrOutputWithContext(ctx).OutputState, + } +} + // This reservation type allows to pre allocate specific instance configuration. Next ID: 6 type AllocationSpecificSKUReservationOutput struct{ *pulumi.OutputState } @@ -1458,6 +1687,12 @@ func (o AllocationSpecificSKUReservationOutput) ToAllocationSpecificSKUReservati }).(AllocationSpecificSKUReservationPtrOutput) } +func (o AllocationSpecificSKUReservationOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUReservation] { + return pulumix.Output[AllocationSpecificSKUReservation]{ + OutputState: o.OutputState, + } +} + // Specifies the number of resources that are allocated. func (o AllocationSpecificSKUReservationOutput) Count() pulumi.StringPtrOutput { return o.ApplyT(func(v AllocationSpecificSKUReservation) *string { return v.Count }).(pulumi.StringPtrOutput) @@ -1489,6 +1724,12 @@ func (o AllocationSpecificSKUReservationPtrOutput) ToAllocationSpecificSKUReserv return o } +func (o AllocationSpecificSKUReservationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AllocationSpecificSKUReservation] { + return pulumix.Output[*AllocationSpecificSKUReservation]{ + OutputState: o.OutputState, + } +} + func (o AllocationSpecificSKUReservationPtrOutput) Elem() AllocationSpecificSKUReservationOutput { return o.ApplyT(func(v *AllocationSpecificSKUReservation) AllocationSpecificSKUReservation { if v != nil { @@ -1558,6 +1799,12 @@ func (o AllocationSpecificSKUReservationResponseOutput) ToAllocationSpecificSKUR return o } +func (o AllocationSpecificSKUReservationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllocationSpecificSKUReservationResponse] { + return pulumix.Output[AllocationSpecificSKUReservationResponse]{ + OutputState: o.OutputState, + } +} + // Indicates how many instances are actually usable currently. func (o AllocationSpecificSKUReservationResponseOutput) AssuredCount() pulumi.StringOutput { return o.ApplyT(func(v AllocationSpecificSKUReservationResponse) string { return v.AssuredCount }).(pulumi.StringOutput) @@ -1664,6 +1911,12 @@ func (i AttachedDiskArgs) ToAttachedDiskOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskOutput) } +func (i AttachedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: i.ToAttachedDiskOutputWithContext(ctx).OutputState, + } +} + // AttachedDiskArrayInput is an input type that accepts AttachedDiskArray and AttachedDiskArrayOutput values. // You can construct a concrete instance of `AttachedDiskArrayInput` via: // @@ -1689,6 +1942,12 @@ func (i AttachedDiskArray) ToAttachedDiskArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskArrayOutput) } +func (i AttachedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: i.ToAttachedDiskArrayOutputWithContext(ctx).OutputState, + } +} + // An instance-attached disk resource. type AttachedDiskOutput struct{ *pulumi.OutputState } @@ -1704,6 +1963,12 @@ func (o AttachedDiskOutput) ToAttachedDiskOutputWithContext(ctx context.Context) return o } +func (o AttachedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o AttachedDiskOutput) AutoDelete() pulumi.BoolPtrOutput { return o.ApplyT(func(v AttachedDisk) *bool { return v.AutoDelete }).(pulumi.BoolPtrOutput) @@ -1778,6 +2043,12 @@ func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext(ctx contex return o } +func (o AttachedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskArrayOutput) Index(i pulumi.IntInput) AttachedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDisk { return vs[0].([]AttachedDisk)[vs[1].(int)] @@ -1883,6 +2154,12 @@ func (i AttachedDiskInitializeParamsArgs) ToAttachedDiskInitializeParamsOutputWi return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskInitializeParamsOutput) } +func (i AttachedDiskInitializeParamsArgs) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParams] { + return pulumix.Output[AttachedDiskInitializeParams]{ + OutputState: i.ToAttachedDiskInitializeParamsOutputWithContext(ctx).OutputState, + } +} + func (i AttachedDiskInitializeParamsArgs) ToAttachedDiskInitializeParamsPtrOutput() AttachedDiskInitializeParamsPtrOutput { return i.ToAttachedDiskInitializeParamsPtrOutputWithContext(context.Background()) } @@ -1924,6 +2201,12 @@ func (i *attachedDiskInitializeParamsPtrType) ToAttachedDiskInitializeParamsPtrO return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskInitializeParamsPtrOutput) } +func (i *attachedDiskInitializeParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParams] { + return pulumix.Output[*AttachedDiskInitializeParams]{ + OutputState: i.ToAttachedDiskInitializeParamsPtrOutputWithContext(ctx).OutputState, + } +} + // [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. type AttachedDiskInitializeParamsOutput struct{ *pulumi.OutputState } @@ -1949,6 +2232,12 @@ func (o AttachedDiskInitializeParamsOutput) ToAttachedDiskInitializeParamsPtrOut }).(AttachedDiskInitializeParamsPtrOutput) } +func (o AttachedDiskInitializeParamsOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParams] { + return pulumix.Output[AttachedDiskInitializeParams]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. Valid values are arm64 or x86_64. func (o AttachedDiskInitializeParamsOutput) Architecture() AttachedDiskInitializeParamsArchitecturePtrOutput { return o.ApplyT(func(v AttachedDiskInitializeParams) *AttachedDiskInitializeParamsArchitecture { return v.Architecture }).(AttachedDiskInitializeParamsArchitecturePtrOutput) @@ -2050,6 +2339,12 @@ func (o AttachedDiskInitializeParamsPtrOutput) ToAttachedDiskInitializeParamsPtr return o } +func (o AttachedDiskInitializeParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskInitializeParams] { + return pulumix.Output[*AttachedDiskInitializeParams]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskInitializeParamsPtrOutput) Elem() AttachedDiskInitializeParamsOutput { return o.ApplyT(func(v *AttachedDiskInitializeParams) AttachedDiskInitializeParams { if v != nil { @@ -2283,6 +2578,12 @@ func (o AttachedDiskInitializeParamsResponseOutput) ToAttachedDiskInitializePara return o } +func (o AttachedDiskInitializeParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskInitializeParamsResponse] { + return pulumix.Output[AttachedDiskInitializeParamsResponse]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. Valid values are arm64 or x86_64. func (o AttachedDiskInitializeParamsResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v AttachedDiskInitializeParamsResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -2425,6 +2726,12 @@ func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext(ctx return o } +func (o AttachedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskResponse] { + return pulumix.Output[AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. Valid values are ARM64 or X86_64. func (o AttachedDiskResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v AttachedDiskResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -2524,6 +2831,12 @@ func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithCo return o } +func (o AttachedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDiskResponse] { + return pulumix.Output[[]AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) AttachedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDiskResponse { return vs[0].([]AttachedDiskResponse)[vs[1].(int)] @@ -2573,6 +2886,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -2598,6 +2917,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -2613,6 +2938,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -2642,6 +2973,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -2673,6 +3010,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -2702,6 +3045,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -2751,6 +3100,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -2776,6 +3131,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -2791,6 +3152,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -2820,6 +3187,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -2851,6 +3224,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -2880,6 +3259,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -2921,6 +3306,12 @@ func (i AuthorizationLoggingOptionsArgs) ToAuthorizationLoggingOptionsOutputWith return pulumi.ToOutputWithContext(ctx, i).(AuthorizationLoggingOptionsOutput) } +func (i AuthorizationLoggingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptions] { + return pulumix.Output[AuthorizationLoggingOptions]{ + OutputState: i.ToAuthorizationLoggingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i AuthorizationLoggingOptionsArgs) ToAuthorizationLoggingOptionsPtrOutput() AuthorizationLoggingOptionsPtrOutput { return i.ToAuthorizationLoggingOptionsPtrOutputWithContext(context.Background()) } @@ -2962,6 +3353,12 @@ func (i *authorizationLoggingOptionsPtrType) ToAuthorizationLoggingOptionsPtrOut return pulumi.ToOutputWithContext(ctx, i).(AuthorizationLoggingOptionsPtrOutput) } +func (i *authorizationLoggingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptions] { + return pulumix.Output[*AuthorizationLoggingOptions]{ + OutputState: i.ToAuthorizationLoggingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type AuthorizationLoggingOptionsOutput struct{ *pulumi.OutputState } @@ -2987,6 +3384,12 @@ func (o AuthorizationLoggingOptionsOutput) ToAuthorizationLoggingOptionsPtrOutpu }).(AuthorizationLoggingOptionsPtrOutput) } +func (o AuthorizationLoggingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptions] { + return pulumix.Output[AuthorizationLoggingOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o AuthorizationLoggingOptionsOutput) PermissionType() AuthorizationLoggingOptionsPermissionTypePtrOutput { return o.ApplyT(func(v AuthorizationLoggingOptions) *AuthorizationLoggingOptionsPermissionType { @@ -3008,6 +3411,12 @@ func (o AuthorizationLoggingOptionsPtrOutput) ToAuthorizationLoggingOptionsPtrOu return o } +func (o AuthorizationLoggingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptions] { + return pulumix.Output[*AuthorizationLoggingOptions]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPtrOutput) Elem() AuthorizationLoggingOptionsOutput { return o.ApplyT(func(v *AuthorizationLoggingOptions) AuthorizationLoggingOptions { if v != nil { @@ -3049,6 +3458,12 @@ func (o AuthorizationLoggingOptionsResponseOutput) ToAuthorizationLoggingOptions return o } +func (o AuthorizationLoggingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptionsResponse] { + return pulumix.Output[AuthorizationLoggingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o AuthorizationLoggingOptionsResponseOutput) PermissionType() pulumi.StringOutput { return o.ApplyT(func(v AuthorizationLoggingOptionsResponse) string { return v.PermissionType }).(pulumi.StringOutput) @@ -3075,6 +3490,12 @@ func (o AutoscalerStatusDetailsResponseOutput) ToAutoscalerStatusDetailsResponse return o } +func (o AutoscalerStatusDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalerStatusDetailsResponse] { + return pulumix.Output[AutoscalerStatusDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The status message. func (o AutoscalerStatusDetailsResponseOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v AutoscalerStatusDetailsResponse) string { return v.Message }).(pulumi.StringOutput) @@ -3099,6 +3520,12 @@ func (o AutoscalerStatusDetailsResponseArrayOutput) ToAutoscalerStatusDetailsRes return o } +func (o AutoscalerStatusDetailsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalerStatusDetailsResponse] { + return pulumix.Output[[]AutoscalerStatusDetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o AutoscalerStatusDetailsResponseArrayOutput) Index(i pulumi.IntInput) AutoscalerStatusDetailsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutoscalerStatusDetailsResponse { return vs[0].([]AutoscalerStatusDetailsResponse)[vs[1].(int)] @@ -3170,6 +3597,12 @@ func (i AutoscalingPolicyArgs) ToAutoscalingPolicyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyOutput) } +func (i AutoscalingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicy] { + return pulumix.Output[AutoscalingPolicy]{ + OutputState: i.ToAutoscalingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyArgs) ToAutoscalingPolicyPtrOutput() AutoscalingPolicyPtrOutput { return i.ToAutoscalingPolicyPtrOutputWithContext(context.Background()) } @@ -3211,6 +3644,12 @@ func (i *autoscalingPolicyPtrType) ToAutoscalingPolicyPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyPtrOutput) } +func (i *autoscalingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicy] { + return pulumix.Output[*AutoscalingPolicy]{ + OutputState: i.ToAutoscalingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Autoscaler policy. type AutoscalingPolicyOutput struct{ *pulumi.OutputState } @@ -3236,6 +3675,12 @@ func (o AutoscalingPolicyOutput) ToAutoscalingPolicyPtrOutputWithContext(ctx con }).(AutoscalingPolicyPtrOutput) } +func (o AutoscalingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicy] { + return pulumix.Output[AutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + // The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process. func (o AutoscalingPolicyOutput) CoolDownPeriodSec() pulumi.IntPtrOutput { return o.ApplyT(func(v AutoscalingPolicy) *int { return v.CoolDownPeriodSec }).(pulumi.IntPtrOutput) @@ -3298,6 +3743,12 @@ func (o AutoscalingPolicyPtrOutput) ToAutoscalingPolicyPtrOutputWithContext(ctx return o } +func (o AutoscalingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicy] { + return pulumix.Output[*AutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyPtrOutput) Elem() AutoscalingPolicyOutput { return o.ApplyT(func(v *AutoscalingPolicy) AutoscalingPolicy { if v != nil { @@ -3436,6 +3887,12 @@ func (i AutoscalingPolicyCpuUtilizationArgs) ToAutoscalingPolicyCpuUtilizationOu return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCpuUtilizationOutput) } +func (i AutoscalingPolicyCpuUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilization] { + return pulumix.Output[AutoscalingPolicyCpuUtilization]{ + OutputState: i.ToAutoscalingPolicyCpuUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyCpuUtilizationArgs) ToAutoscalingPolicyCpuUtilizationPtrOutput() AutoscalingPolicyCpuUtilizationPtrOutput { return i.ToAutoscalingPolicyCpuUtilizationPtrOutputWithContext(context.Background()) } @@ -3477,6 +3934,12 @@ func (i *autoscalingPolicyCpuUtilizationPtrType) ToAutoscalingPolicyCpuUtilizati return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCpuUtilizationPtrOutput) } +func (i *autoscalingPolicyCpuUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilization] { + return pulumix.Output[*AutoscalingPolicyCpuUtilization]{ + OutputState: i.ToAutoscalingPolicyCpuUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // CPU utilization policy. type AutoscalingPolicyCpuUtilizationOutput struct{ *pulumi.OutputState } @@ -3502,6 +3965,12 @@ func (o AutoscalingPolicyCpuUtilizationOutput) ToAutoscalingPolicyCpuUtilization }).(AutoscalingPolicyCpuUtilizationPtrOutput) } +func (o AutoscalingPolicyCpuUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilization] { + return pulumix.Output[AutoscalingPolicyCpuUtilization]{ + OutputState: o.OutputState, + } +} + // Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. func (o AutoscalingPolicyCpuUtilizationOutput) PredictiveMethod() AutoscalingPolicyCpuUtilizationPredictiveMethodPtrOutput { return o.ApplyT(func(v AutoscalingPolicyCpuUtilization) *AutoscalingPolicyCpuUtilizationPredictiveMethod { @@ -3528,6 +3997,12 @@ func (o AutoscalingPolicyCpuUtilizationPtrOutput) ToAutoscalingPolicyCpuUtilizat return o } +func (o AutoscalingPolicyCpuUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyCpuUtilization] { + return pulumix.Output[*AutoscalingPolicyCpuUtilization]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCpuUtilizationPtrOutput) Elem() AutoscalingPolicyCpuUtilizationOutput { return o.ApplyT(func(v *AutoscalingPolicyCpuUtilization) AutoscalingPolicyCpuUtilization { if v != nil { @@ -3581,6 +4056,12 @@ func (o AutoscalingPolicyCpuUtilizationResponseOutput) ToAutoscalingPolicyCpuUti return o } +func (o AutoscalingPolicyCpuUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCpuUtilizationResponse] { + return pulumix.Output[AutoscalingPolicyCpuUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. func (o AutoscalingPolicyCpuUtilizationResponseOutput) PredictiveMethod() pulumi.StringOutput { return o.ApplyT(func(v AutoscalingPolicyCpuUtilizationResponse) string { return v.PredictiveMethod }).(pulumi.StringOutput) @@ -3642,6 +4123,12 @@ func (i AutoscalingPolicyCustomMetricUtilizationArgs) ToAutoscalingPolicyCustomM return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCustomMetricUtilizationOutput) } +func (i AutoscalingPolicyCustomMetricUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilization]{ + OutputState: i.ToAutoscalingPolicyCustomMetricUtilizationOutputWithContext(ctx).OutputState, + } +} + // AutoscalingPolicyCustomMetricUtilizationArrayInput is an input type that accepts AutoscalingPolicyCustomMetricUtilizationArray and AutoscalingPolicyCustomMetricUtilizationArrayOutput values. // You can construct a concrete instance of `AutoscalingPolicyCustomMetricUtilizationArrayInput` via: // @@ -3667,6 +4154,12 @@ func (i AutoscalingPolicyCustomMetricUtilizationArray) ToAutoscalingPolicyCustom return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyCustomMetricUtilizationArrayOutput) } +func (i AutoscalingPolicyCustomMetricUtilizationArray) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization]{ + OutputState: i.ToAutoscalingPolicyCustomMetricUtilizationArrayOutputWithContext(ctx).OutputState, + } +} + // Custom utilization metric policy. type AutoscalingPolicyCustomMetricUtilizationOutput struct{ *pulumi.OutputState } @@ -3682,6 +4175,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationOutput) ToAutoscalingPolicyCusto return o } +func (o AutoscalingPolicyCustomMetricUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilization]{ + OutputState: o.OutputState, + } +} + // A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value. func (o AutoscalingPolicyCustomMetricUtilizationOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v AutoscalingPolicyCustomMetricUtilization) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -3723,6 +4222,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationArrayOutput) ToAutoscalingPolicy return o } +func (o AutoscalingPolicyCustomMetricUtilizationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization] { + return pulumix.Output[[]AutoscalingPolicyCustomMetricUtilization]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationArrayOutput) Index(i pulumi.IntInput) AutoscalingPolicyCustomMetricUtilizationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutoscalingPolicyCustomMetricUtilization { return vs[0].([]AutoscalingPolicyCustomMetricUtilization)[vs[1].(int)] @@ -3758,6 +4263,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationResponseOutput) ToAutoscalingPol return o } +func (o AutoscalingPolicyCustomMetricUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyCustomMetricUtilizationResponse] { + return pulumix.Output[AutoscalingPolicyCustomMetricUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value. func (o AutoscalingPolicyCustomMetricUtilizationResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v AutoscalingPolicyCustomMetricUtilizationResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -3797,6 +4308,12 @@ func (o AutoscalingPolicyCustomMetricUtilizationResponseArrayOutput) ToAutoscali return o } +func (o AutoscalingPolicyCustomMetricUtilizationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AutoscalingPolicyCustomMetricUtilizationResponse] { + return pulumix.Output[[]AutoscalingPolicyCustomMetricUtilizationResponse]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyCustomMetricUtilizationResponseArrayOutput) Index(i pulumi.IntInput) AutoscalingPolicyCustomMetricUtilizationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AutoscalingPolicyCustomMetricUtilizationResponse { return vs[0].([]AutoscalingPolicyCustomMetricUtilizationResponse)[vs[1].(int)] @@ -3838,6 +4355,12 @@ func (i AutoscalingPolicyLoadBalancingUtilizationArgs) ToAutoscalingPolicyLoadBa return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyLoadBalancingUtilizationOutput) } +func (i AutoscalingPolicyLoadBalancingUtilizationArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: i.ToAutoscalingPolicyLoadBalancingUtilizationOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyLoadBalancingUtilizationArgs) ToAutoscalingPolicyLoadBalancingUtilizationPtrOutput() AutoscalingPolicyLoadBalancingUtilizationPtrOutput { return i.ToAutoscalingPolicyLoadBalancingUtilizationPtrOutputWithContext(context.Background()) } @@ -3879,6 +4402,12 @@ func (i *autoscalingPolicyLoadBalancingUtilizationPtrType) ToAutoscalingPolicyLo return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyLoadBalancingUtilizationPtrOutput) } +func (i *autoscalingPolicyLoadBalancingUtilizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: i.ToAutoscalingPolicyLoadBalancingUtilizationPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration parameters of autoscaling based on load balancing. type AutoscalingPolicyLoadBalancingUtilizationOutput struct{ *pulumi.OutputState } @@ -3904,6 +4433,12 @@ func (o AutoscalingPolicyLoadBalancingUtilizationOutput) ToAutoscalingPolicyLoad }).(AutoscalingPolicyLoadBalancingUtilizationPtrOutput) } +func (o AutoscalingPolicyLoadBalancingUtilizationOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: o.OutputState, + } +} + // Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8. func (o AutoscalingPolicyLoadBalancingUtilizationOutput) UtilizationTarget() pulumi.Float64PtrOutput { return o.ApplyT(func(v AutoscalingPolicyLoadBalancingUtilization) *float64 { return v.UtilizationTarget }).(pulumi.Float64PtrOutput) @@ -3923,6 +4458,12 @@ func (o AutoscalingPolicyLoadBalancingUtilizationPtrOutput) ToAutoscalingPolicyL return o } +func (o AutoscalingPolicyLoadBalancingUtilizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization] { + return pulumix.Output[*AutoscalingPolicyLoadBalancingUtilization]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyLoadBalancingUtilizationPtrOutput) Elem() AutoscalingPolicyLoadBalancingUtilizationOutput { return o.ApplyT(func(v *AutoscalingPolicyLoadBalancingUtilization) AutoscalingPolicyLoadBalancingUtilization { if v != nil { @@ -3964,6 +4505,12 @@ func (o AutoscalingPolicyLoadBalancingUtilizationResponseOutput) ToAutoscalingPo return o } +func (o AutoscalingPolicyLoadBalancingUtilizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyLoadBalancingUtilizationResponse] { + return pulumix.Output[AutoscalingPolicyLoadBalancingUtilizationResponse]{ + OutputState: o.OutputState, + } +} + // Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8. func (o AutoscalingPolicyLoadBalancingUtilizationResponseOutput) UtilizationTarget() pulumi.Float64Output { return o.ApplyT(func(v AutoscalingPolicyLoadBalancingUtilizationResponse) float64 { return v.UtilizationTarget }).(pulumi.Float64Output) @@ -4005,6 +4552,12 @@ func (o AutoscalingPolicyResponseOutput) ToAutoscalingPolicyResponseOutputWithCo return o } +func (o AutoscalingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyResponse] { + return pulumix.Output[AutoscalingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process. func (o AutoscalingPolicyResponseOutput) CoolDownPeriodSec() pulumi.IntOutput { return o.ApplyT(func(v AutoscalingPolicyResponse) int { return v.CoolDownPeriodSec }).(pulumi.IntOutput) @@ -4092,6 +4645,12 @@ func (i AutoscalingPolicyScaleInControlArgs) ToAutoscalingPolicyScaleInControlOu return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyScaleInControlOutput) } +func (i AutoscalingPolicyScaleInControlArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleInControl] { + return pulumix.Output[AutoscalingPolicyScaleInControl]{ + OutputState: i.ToAutoscalingPolicyScaleInControlOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingPolicyScaleInControlArgs) ToAutoscalingPolicyScaleInControlPtrOutput() AutoscalingPolicyScaleInControlPtrOutput { return i.ToAutoscalingPolicyScaleInControlPtrOutputWithContext(context.Background()) } @@ -4133,6 +4692,12 @@ func (i *autoscalingPolicyScaleInControlPtrType) ToAutoscalingPolicyScaleInContr return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyScaleInControlPtrOutput) } +func (i *autoscalingPolicyScaleInControlPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyScaleInControl] { + return pulumix.Output[*AutoscalingPolicyScaleInControl]{ + OutputState: i.ToAutoscalingPolicyScaleInControlPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below. type AutoscalingPolicyScaleInControlOutput struct{ *pulumi.OutputState } @@ -4158,6 +4723,12 @@ func (o AutoscalingPolicyScaleInControlOutput) ToAutoscalingPolicyScaleInControl }).(AutoscalingPolicyScaleInControlPtrOutput) } +func (o AutoscalingPolicyScaleInControlOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleInControl] { + return pulumix.Output[AutoscalingPolicyScaleInControl]{ + OutputState: o.OutputState, + } +} + // Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. func (o AutoscalingPolicyScaleInControlOutput) MaxScaledInReplicas() FixedOrPercentPtrOutput { return o.ApplyT(func(v AutoscalingPolicyScaleInControl) *FixedOrPercent { return v.MaxScaledInReplicas }).(FixedOrPercentPtrOutput) @@ -4182,6 +4753,12 @@ func (o AutoscalingPolicyScaleInControlPtrOutput) ToAutoscalingPolicyScaleInCont return o } +func (o AutoscalingPolicyScaleInControlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyScaleInControl] { + return pulumix.Output[*AutoscalingPolicyScaleInControl]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyScaleInControlPtrOutput) Elem() AutoscalingPolicyScaleInControlOutput { return o.ApplyT(func(v *AutoscalingPolicyScaleInControl) AutoscalingPolicyScaleInControl { if v != nil { @@ -4235,6 +4812,12 @@ func (o AutoscalingPolicyScaleInControlResponseOutput) ToAutoscalingPolicyScaleI return o } +func (o AutoscalingPolicyScaleInControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingPolicyScaleInControlResponse] { + return pulumix.Output[AutoscalingPolicyScaleInControlResponse]{ + OutputState: o.OutputState, + } +} + // Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. func (o AutoscalingPolicyScaleInControlResponseOutput) MaxScaledInReplicas() FixedOrPercentResponseOutput { return o.ApplyT(func(v AutoscalingPolicyScaleInControlResponse) FixedOrPercentResponse { return v.MaxScaledInReplicas }).(FixedOrPercentResponseOutput) @@ -4324,6 +4907,12 @@ func (i BackendArgs) ToBackendOutputWithContext(ctx context.Context) BackendOutp return pulumi.ToOutputWithContext(ctx, i).(BackendOutput) } +func (i BackendArgs) ToOutput(ctx context.Context) pulumix.Output[Backend] { + return pulumix.Output[Backend]{ + OutputState: i.ToBackendOutputWithContext(ctx).OutputState, + } +} + // BackendArrayInput is an input type that accepts BackendArray and BackendArrayOutput values. // You can construct a concrete instance of `BackendArrayInput` via: // @@ -4349,6 +4938,12 @@ func (i BackendArray) ToBackendArrayOutputWithContext(ctx context.Context) Backe return pulumi.ToOutputWithContext(ctx, i).(BackendArrayOutput) } +func (i BackendArray) ToOutput(ctx context.Context) pulumix.Output[[]Backend] { + return pulumix.Output[[]Backend]{ + OutputState: i.ToBackendArrayOutputWithContext(ctx).OutputState, + } +} + // Message containing information of one individual backend. type BackendOutput struct{ *pulumi.OutputState } @@ -4364,6 +4959,12 @@ func (o BackendOutput) ToBackendOutputWithContext(ctx context.Context) BackendOu return o } +func (o BackendOutput) ToOutput(ctx context.Context) pulumix.Output[Backend] { + return pulumix.Output[Backend]{ + OutputState: o.OutputState, + } +} + // Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. func (o BackendOutput) BalancingMode() BackendBalancingModePtrOutput { return o.ApplyT(func(v Backend) *BackendBalancingMode { return v.BalancingMode }).(BackendBalancingModePtrOutput) @@ -4438,6 +5039,12 @@ func (o BackendArrayOutput) ToBackendArrayOutputWithContext(ctx context.Context) return o } +func (o BackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Backend] { + return pulumix.Output[[]Backend]{ + OutputState: o.OutputState, + } +} + func (o BackendArrayOutput) Index(i pulumi.IntInput) BackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Backend { return vs[0].([]Backend)[vs[1].(int)] @@ -4519,6 +5126,12 @@ func (i BackendBucketCdnPolicyArgs) ToBackendBucketCdnPolicyOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyOutput) } +func (i BackendBucketCdnPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicy] { + return pulumix.Output[BackendBucketCdnPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendBucketCdnPolicyArgs) ToBackendBucketCdnPolicyPtrOutput() BackendBucketCdnPolicyPtrOutput { return i.ToBackendBucketCdnPolicyPtrOutputWithContext(context.Background()) } @@ -4560,6 +5173,12 @@ func (i *backendBucketCdnPolicyPtrType) ToBackendBucketCdnPolicyPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyPtrOutput) } +func (i *backendBucketCdnPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicy] { + return pulumix.Output[*BackendBucketCdnPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing Cloud CDN configuration for a backend bucket. type BackendBucketCdnPolicyOutput struct{ *pulumi.OutputState } @@ -4585,6 +5204,12 @@ func (o BackendBucketCdnPolicyOutput) ToBackendBucketCdnPolicyPtrOutputWithConte }).(BackendBucketCdnPolicyPtrOutput) } +func (o BackendBucketCdnPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicy] { + return pulumix.Output[BackendBucketCdnPolicy]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendBucketCdnPolicyOutput) BypassCacheOnRequestHeaders() BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicy) []BackendBucketCdnPolicyBypassCacheOnRequestHeader { @@ -4658,6 +5283,12 @@ func (o BackendBucketCdnPolicyPtrOutput) ToBackendBucketCdnPolicyPtrOutputWithCo return o } +func (o BackendBucketCdnPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicy] { + return pulumix.Output[*BackendBucketCdnPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyPtrOutput) Elem() BackendBucketCdnPolicyOutput { return o.ApplyT(func(v *BackendBucketCdnPolicy) BackendBucketCdnPolicy { if v != nil { @@ -4813,6 +5444,12 @@ func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs) ToBackendBucketCdn return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) } +func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendBucketCdnPolicyBypassCacheOnRequestHeaderOutputWithContext(ctx).OutputState, + } +} + // BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayInput is an input type that accepts BackendBucketCdnPolicyBypassCacheOnRequestHeaderArray and BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput values. // You can construct a concrete instance of `BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayInput` via: // @@ -4838,6 +5475,12 @@ func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArray) ToBackendBucketCd return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) } +func (i BackendBucketCdnPolicyBypassCacheOnRequestHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. type BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput struct{ *pulumi.OutputState } @@ -4853,6 +5496,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) ToBackendBucketC return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendBucketCdnPolicyBypassCacheOnRequestHeader) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -4872,6 +5521,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToBackendBu return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyBypassCacheOnRequestHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyBypassCacheOnRequestHeader { return vs[0].([]BackendBucketCdnPolicyBypassCacheOnRequestHeader)[vs[1].(int)] @@ -4899,6 +5554,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToBacken return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -4918,6 +5579,12 @@ func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) ToB return o } +func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[[]BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse { return vs[0].([]BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse)[vs[1].(int)] @@ -4963,6 +5630,12 @@ func (i BackendBucketCdnPolicyCacheKeyPolicyArgs) ToBackendBucketCdnPolicyCacheK return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyCacheKeyPolicyOutput) } +func (i BackendBucketCdnPolicyCacheKeyPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyCacheKeyPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendBucketCdnPolicyCacheKeyPolicyArgs) ToBackendBucketCdnPolicyCacheKeyPolicyPtrOutput() BackendBucketCdnPolicyCacheKeyPolicyPtrOutput { return i.ToBackendBucketCdnPolicyCacheKeyPolicyPtrOutputWithContext(context.Background()) } @@ -5004,6 +5677,12 @@ func (i *backendBucketCdnPolicyCacheKeyPolicyPtrType) ToBackendBucketCdnPolicyCa return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) } +func (i *backendBucketCdnPolicyCacheKeyPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyCacheKeyPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing what to include in the cache key for a request for Cloud CDN. type BackendBucketCdnPolicyCacheKeyPolicyOutput struct{ *pulumi.OutputState } @@ -5029,6 +5708,12 @@ func (o BackendBucketCdnPolicyCacheKeyPolicyOutput) ToBackendBucketCdnPolicyCach }).(BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) } +func (o BackendBucketCdnPolicyCacheKeyPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + // Allows HTTP request headers (by name) to be used in the cache key. func (o BackendBucketCdnPolicyCacheKeyPolicyOutput) IncludeHttpHeaders() pulumi.StringArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicyCacheKeyPolicy) []string { return v.IncludeHttpHeaders }).(pulumi.StringArrayOutput) @@ -5053,6 +5738,12 @@ func (o BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) ToBackendBucketCdnPolicyC return o } +func (o BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy] { + return pulumix.Output[*BackendBucketCdnPolicyCacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyCacheKeyPolicyPtrOutput) Elem() BackendBucketCdnPolicyCacheKeyPolicyOutput { return o.ApplyT(func(v *BackendBucketCdnPolicyCacheKeyPolicy) BackendBucketCdnPolicyCacheKeyPolicy { if v != nil { @@ -5106,6 +5797,12 @@ func (o BackendBucketCdnPolicyCacheKeyPolicyResponseOutput) ToBackendBucketCdnPo return o } +func (o BackendBucketCdnPolicyCacheKeyPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicyResponse] { + return pulumix.Output[BackendBucketCdnPolicyCacheKeyPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Allows HTTP request headers (by name) to be used in the cache key. func (o BackendBucketCdnPolicyCacheKeyPolicyResponseOutput) IncludeHttpHeaders() pulumi.StringArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicyCacheKeyPolicyResponse) []string { return v.IncludeHttpHeaders }).(pulumi.StringArrayOutput) @@ -5155,6 +5852,12 @@ func (i BackendBucketCdnPolicyNegativeCachingPolicyArgs) ToBackendBucketCdnPolic return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyNegativeCachingPolicyOutput) } +func (i BackendBucketCdnPolicyNegativeCachingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyNegativeCachingPolicyOutputWithContext(ctx).OutputState, + } +} + // BackendBucketCdnPolicyNegativeCachingPolicyArrayInput is an input type that accepts BackendBucketCdnPolicyNegativeCachingPolicyArray and BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput values. // You can construct a concrete instance of `BackendBucketCdnPolicyNegativeCachingPolicyArrayInput` via: // @@ -5180,6 +5883,12 @@ func (i BackendBucketCdnPolicyNegativeCachingPolicyArray) ToBackendBucketCdnPoli return pulumi.ToOutputWithContext(ctx, i).(BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) } +func (i BackendBucketCdnPolicyNegativeCachingPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendBucketCdnPolicyNegativeCachingPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Specify CDN TTLs for response error codes. type BackendBucketCdnPolicyNegativeCachingPolicyOutput struct{ *pulumi.OutputState } @@ -5195,6 +5904,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyOutput) ToBackendBucketCdnPol return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendBucketCdnPolicyNegativeCachingPolicyOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v BackendBucketCdnPolicyNegativeCachingPolicy) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -5219,6 +5934,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) ToBackendBucketC return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyNegativeCachingPolicyArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyNegativeCachingPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyNegativeCachingPolicy { return vs[0].([]BackendBucketCdnPolicyNegativeCachingPolicy)[vs[1].(int)] @@ -5248,6 +5969,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput) ToBackendBuck return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[BackendBucketCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v BackendBucketCdnPolicyNegativeCachingPolicyResponse) int { return v.Code }).(pulumi.IntOutput) @@ -5272,6 +5999,12 @@ func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToBacken return o } +func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[[]BackendBucketCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendBucketCdnPolicyNegativeCachingPolicyResponseArrayOutput) Index(i pulumi.IntInput) BackendBucketCdnPolicyNegativeCachingPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendBucketCdnPolicyNegativeCachingPolicyResponse { return vs[0].([]BackendBucketCdnPolicyNegativeCachingPolicyResponse)[vs[1].(int)] @@ -5321,6 +6054,12 @@ func (o BackendBucketCdnPolicyResponseOutput) ToBackendBucketCdnPolicyResponseOu return o } +func (o BackendBucketCdnPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendBucketCdnPolicyResponse] { + return pulumix.Output[BackendBucketCdnPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendBucketCdnPolicyResponseOutput) BypassCacheOnRequestHeaders() BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput { return o.ApplyT(func(v BackendBucketCdnPolicyResponse) []BackendBucketCdnPolicyBypassCacheOnRequestHeaderResponse { @@ -5430,6 +6169,12 @@ func (o BackendResponseOutput) ToBackendResponseOutputWithContext(ctx context.Co return o } +func (o BackendResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendResponse] { + return pulumix.Output[BackendResponse]{ + OutputState: o.OutputState, + } +} + // Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. func (o BackendResponseOutput) BalancingMode() pulumi.StringOutput { return o.ApplyT(func(v BackendResponse) string { return v.BalancingMode }).(pulumi.StringOutput) @@ -5504,6 +6249,12 @@ func (o BackendResponseArrayOutput) ToBackendResponseArrayOutputWithContext(ctx return o } +func (o BackendResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendResponse] { + return pulumix.Output[[]BackendResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendResponseArrayOutput) Index(i pulumi.IntInput) BackendResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendResponse { return vs[0].([]BackendResponse)[vs[1].(int)] @@ -5585,6 +6336,12 @@ func (i BackendServiceCdnPolicyArgs) ToBackendServiceCdnPolicyOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyOutput) } +func (i BackendServiceCdnPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicy] { + return pulumix.Output[BackendServiceCdnPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceCdnPolicyArgs) ToBackendServiceCdnPolicyPtrOutput() BackendServiceCdnPolicyPtrOutput { return i.ToBackendServiceCdnPolicyPtrOutputWithContext(context.Background()) } @@ -5626,6 +6383,12 @@ func (i *backendServiceCdnPolicyPtrType) ToBackendServiceCdnPolicyPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyPtrOutput) } +func (i *backendServiceCdnPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicy] { + return pulumix.Output[*BackendServiceCdnPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing Cloud CDN configuration for a backend service. type BackendServiceCdnPolicyOutput struct{ *pulumi.OutputState } @@ -5651,6 +6414,12 @@ func (o BackendServiceCdnPolicyOutput) ToBackendServiceCdnPolicyPtrOutputWithCon }).(BackendServiceCdnPolicyPtrOutput) } +func (o BackendServiceCdnPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicy] { + return pulumix.Output[BackendServiceCdnPolicy]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendServiceCdnPolicyOutput) BypassCacheOnRequestHeaders() BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput { return o.ApplyT(func(v BackendServiceCdnPolicy) []BackendServiceCdnPolicyBypassCacheOnRequestHeader { @@ -5724,6 +6493,12 @@ func (o BackendServiceCdnPolicyPtrOutput) ToBackendServiceCdnPolicyPtrOutputWith return o } +func (o BackendServiceCdnPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceCdnPolicy] { + return pulumix.Output[*BackendServiceCdnPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyPtrOutput) Elem() BackendServiceCdnPolicyOutput { return o.ApplyT(func(v *BackendServiceCdnPolicy) BackendServiceCdnPolicy { if v != nil { @@ -5879,6 +6654,12 @@ func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs) ToBackendServiceC return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) } +func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendServiceCdnPolicyBypassCacheOnRequestHeaderOutputWithContext(ctx).OutputState, + } +} + // BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayInput is an input type that accepts BackendServiceCdnPolicyBypassCacheOnRequestHeaderArray and BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput values. // You can construct a concrete instance of `BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayInput` via: // @@ -5904,6 +6685,12 @@ func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArray) ToBackendService return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) } +func (i BackendServiceCdnPolicyBypassCacheOnRequestHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: i.ToBackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. type BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput struct{ *pulumi.OutputState } @@ -5919,6 +6706,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) ToBackendServic return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendServiceCdnPolicyBypassCacheOnRequestHeader) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -5938,6 +6731,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToBackendS return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader] { + return pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeader]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyBypassCacheOnRequestHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyBypassCacheOnRequestHeader { return vs[0].([]BackendServiceCdnPolicyBypassCacheOnRequestHeader)[vs[1].(int)] @@ -5965,6 +6764,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToBacke return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + // The header field name to match on when bypassing cache. Values are case-insensitive. func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -5984,6 +6789,12 @@ func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) To return o } +func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse] { + return pulumix.Output[[]BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse { return vs[0].([]BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse)[vs[1].(int)] @@ -6029,6 +6840,12 @@ func (i BackendServiceCdnPolicyNegativeCachingPolicyArgs) ToBackendServiceCdnPol return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyNegativeCachingPolicyOutput) } +func (i BackendServiceCdnPolicyNegativeCachingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyNegativeCachingPolicyOutputWithContext(ctx).OutputState, + } +} + // BackendServiceCdnPolicyNegativeCachingPolicyArrayInput is an input type that accepts BackendServiceCdnPolicyNegativeCachingPolicyArray and BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput values. // You can construct a concrete instance of `BackendServiceCdnPolicyNegativeCachingPolicyArrayInput` via: // @@ -6054,6 +6871,12 @@ func (i BackendServiceCdnPolicyNegativeCachingPolicyArray) ToBackendServiceCdnPo return pulumi.ToOutputWithContext(ctx, i).(BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) } +func (i BackendServiceCdnPolicyNegativeCachingPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: i.ToBackendServiceCdnPolicyNegativeCachingPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Specify CDN TTLs for response error codes. type BackendServiceCdnPolicyNegativeCachingPolicyOutput struct{ *pulumi.OutputState } @@ -6069,6 +6892,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyOutput) ToBackendServiceCdnP return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendServiceCdnPolicyNegativeCachingPolicyOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v BackendServiceCdnPolicyNegativeCachingPolicy) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -6093,6 +6922,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) ToBackendServic return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy] { + return pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyNegativeCachingPolicyArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyNegativeCachingPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyNegativeCachingPolicy { return vs[0].([]BackendServiceCdnPolicyNegativeCachingPolicy)[vs[1].(int)] @@ -6122,6 +6957,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput) ToBackendSer return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[BackendServiceCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v BackendServiceCdnPolicyNegativeCachingPolicyResponse) int { return v.Code }).(pulumi.IntOutput) @@ -6146,6 +6987,12 @@ func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToBacke return o } +func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicyResponse] { + return pulumix.Output[[]BackendServiceCdnPolicyNegativeCachingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceCdnPolicyNegativeCachingPolicyResponseArrayOutput) Index(i pulumi.IntInput) BackendServiceCdnPolicyNegativeCachingPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceCdnPolicyNegativeCachingPolicyResponse { return vs[0].([]BackendServiceCdnPolicyNegativeCachingPolicyResponse)[vs[1].(int)] @@ -6195,6 +7042,12 @@ func (o BackendServiceCdnPolicyResponseOutput) ToBackendServiceCdnPolicyResponse return o } +func (o BackendServiceCdnPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceCdnPolicyResponse] { + return pulumix.Output[BackendServiceCdnPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. func (o BackendServiceCdnPolicyResponseOutput) BypassCacheOnRequestHeaders() BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponseArrayOutput { return o.ApplyT(func(v BackendServiceCdnPolicyResponse) []BackendServiceCdnPolicyBypassCacheOnRequestHeaderResponse { @@ -6306,6 +7159,12 @@ func (i BackendServiceConnectionTrackingPolicyArgs) ToBackendServiceConnectionTr return pulumi.ToOutputWithContext(ctx, i).(BackendServiceConnectionTrackingPolicyOutput) } +func (i BackendServiceConnectionTrackingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[BackendServiceConnectionTrackingPolicy]{ + OutputState: i.ToBackendServiceConnectionTrackingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceConnectionTrackingPolicyArgs) ToBackendServiceConnectionTrackingPolicyPtrOutput() BackendServiceConnectionTrackingPolicyPtrOutput { return i.ToBackendServiceConnectionTrackingPolicyPtrOutputWithContext(context.Background()) } @@ -6347,6 +7206,12 @@ func (i *backendServiceConnectionTrackingPolicyPtrType) ToBackendServiceConnecti return pulumi.ToOutputWithContext(ctx, i).(BackendServiceConnectionTrackingPolicyPtrOutput) } +func (i *backendServiceConnectionTrackingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicy]{ + OutputState: i.ToBackendServiceConnectionTrackingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Connection Tracking configuration for this BackendService. type BackendServiceConnectionTrackingPolicyOutput struct{ *pulumi.OutputState } @@ -6372,6 +7237,12 @@ func (o BackendServiceConnectionTrackingPolicyOutput) ToBackendServiceConnection }).(BackendServiceConnectionTrackingPolicyPtrOutput) } +func (o BackendServiceConnectionTrackingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[BackendServiceConnectionTrackingPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence). func (o BackendServiceConnectionTrackingPolicyOutput) ConnectionPersistenceOnUnhealthyBackends() BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackendsPtrOutput { return o.ApplyT(func(v BackendServiceConnectionTrackingPolicy) *BackendServiceConnectionTrackingPolicyConnectionPersistenceOnUnhealthyBackends { @@ -6410,6 +7281,12 @@ func (o BackendServiceConnectionTrackingPolicyPtrOutput) ToBackendServiceConnect return o } +func (o BackendServiceConnectionTrackingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceConnectionTrackingPolicy] { + return pulumix.Output[*BackendServiceConnectionTrackingPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceConnectionTrackingPolicyPtrOutput) Elem() BackendServiceConnectionTrackingPolicyOutput { return o.ApplyT(func(v *BackendServiceConnectionTrackingPolicy) BackendServiceConnectionTrackingPolicy { if v != nil { @@ -6487,6 +7364,12 @@ func (o BackendServiceConnectionTrackingPolicyResponseOutput) ToBackendServiceCo return o } +func (o BackendServiceConnectionTrackingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceConnectionTrackingPolicyResponse] { + return pulumix.Output[BackendServiceConnectionTrackingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence). func (o BackendServiceConnectionTrackingPolicyResponseOutput) ConnectionPersistenceOnUnhealthyBackends() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceConnectionTrackingPolicyResponse) string { @@ -6552,6 +7435,12 @@ func (i BackendServiceFailoverPolicyArgs) ToBackendServiceFailoverPolicyOutputWi return pulumi.ToOutputWithContext(ctx, i).(BackendServiceFailoverPolicyOutput) } +func (i BackendServiceFailoverPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceFailoverPolicy] { + return pulumix.Output[BackendServiceFailoverPolicy]{ + OutputState: i.ToBackendServiceFailoverPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceFailoverPolicyArgs) ToBackendServiceFailoverPolicyPtrOutput() BackendServiceFailoverPolicyPtrOutput { return i.ToBackendServiceFailoverPolicyPtrOutputWithContext(context.Background()) } @@ -6593,6 +7482,12 @@ func (i *backendServiceFailoverPolicyPtrType) ToBackendServiceFailoverPolicyPtrO return pulumi.ToOutputWithContext(ctx, i).(BackendServiceFailoverPolicyPtrOutput) } +func (i *backendServiceFailoverPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceFailoverPolicy] { + return pulumix.Output[*BackendServiceFailoverPolicy]{ + OutputState: i.ToBackendServiceFailoverPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes). type BackendServiceFailoverPolicyOutput struct{ *pulumi.OutputState } @@ -6618,6 +7513,12 @@ func (o BackendServiceFailoverPolicyOutput) ToBackendServiceFailoverPolicyPtrOut }).(BackendServiceFailoverPolicyPtrOutput) } +func (o BackendServiceFailoverPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceFailoverPolicy] { + return pulumix.Output[BackendServiceFailoverPolicy]{ + OutputState: o.OutputState, + } +} + // This can be set to true only if the protocol is TCP. The default is false. func (o BackendServiceFailoverPolicyOutput) DisableConnectionDrainOnFailover() pulumi.BoolPtrOutput { return o.ApplyT(func(v BackendServiceFailoverPolicy) *bool { return v.DisableConnectionDrainOnFailover }).(pulumi.BoolPtrOutput) @@ -6647,6 +7548,12 @@ func (o BackendServiceFailoverPolicyPtrOutput) ToBackendServiceFailoverPolicyPtr return o } +func (o BackendServiceFailoverPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceFailoverPolicy] { + return pulumix.Output[*BackendServiceFailoverPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceFailoverPolicyPtrOutput) Elem() BackendServiceFailoverPolicyOutput { return o.ApplyT(func(v *BackendServiceFailoverPolicy) BackendServiceFailoverPolicy { if v != nil { @@ -6712,6 +7619,12 @@ func (o BackendServiceFailoverPolicyResponseOutput) ToBackendServiceFailoverPoli return o } +func (o BackendServiceFailoverPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceFailoverPolicyResponse] { + return pulumix.Output[BackendServiceFailoverPolicyResponse]{ + OutputState: o.OutputState, + } +} + // This can be set to true only if the protocol is TCP. The default is false. func (o BackendServiceFailoverPolicyResponseOutput) DisableConnectionDrainOnFailover() pulumi.BoolOutput { return o.ApplyT(func(v BackendServiceFailoverPolicyResponse) bool { return v.DisableConnectionDrainOnFailover }).(pulumi.BoolOutput) @@ -6770,6 +7683,12 @@ func (i BackendServiceIAPArgs) ToBackendServiceIAPOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIAPOutput) } +func (i BackendServiceIAPArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAP] { + return pulumix.Output[BackendServiceIAP]{ + OutputState: i.ToBackendServiceIAPOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceIAPArgs) ToBackendServiceIAPPtrOutput() BackendServiceIAPPtrOutput { return i.ToBackendServiceIAPPtrOutputWithContext(context.Background()) } @@ -6811,6 +7730,12 @@ func (i *backendServiceIAPPtrType) ToBackendServiceIAPPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BackendServiceIAPPtrOutput) } +func (i *backendServiceIAPPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIAP] { + return pulumix.Output[*BackendServiceIAP]{ + OutputState: i.ToBackendServiceIAPPtrOutputWithContext(ctx).OutputState, + } +} + // Identity-Aware Proxy type BackendServiceIAPOutput struct{ *pulumi.OutputState } @@ -6836,6 +7761,12 @@ func (o BackendServiceIAPOutput) ToBackendServiceIAPPtrOutputWithContext(ctx con }).(BackendServiceIAPPtrOutput) } +func (o BackendServiceIAPOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAP] { + return pulumix.Output[BackendServiceIAP]{ + OutputState: o.OutputState, + } +} + // Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. func (o BackendServiceIAPOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BackendServiceIAP) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -6865,6 +7796,12 @@ func (o BackendServiceIAPPtrOutput) ToBackendServiceIAPPtrOutputWithContext(ctx return o } +func (o BackendServiceIAPPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceIAP] { + return pulumix.Output[*BackendServiceIAP]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceIAPPtrOutput) Elem() BackendServiceIAPOutput { return o.ApplyT(func(v *BackendServiceIAP) BackendServiceIAP { if v != nil { @@ -6932,6 +7869,12 @@ func (o BackendServiceIAPResponseOutput) ToBackendServiceIAPResponseOutputWithCo return o } +func (o BackendServiceIAPResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceIAPResponse] { + return pulumix.Output[BackendServiceIAPResponse]{ + OutputState: o.OutputState, + } +} + // Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. func (o BackendServiceIAPResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BackendServiceIAPResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -6987,6 +7930,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigArgs) ToBackendServiceLoc return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigOutputWithContext(ctx).OutputState, + } +} + // BackendServiceLocalityLoadBalancingPolicyConfigArrayInput is an input type that accepts BackendServiceLocalityLoadBalancingPolicyConfigArray and BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput values. // You can construct a concrete instance of `BackendServiceLocalityLoadBalancingPolicyConfigArrayInput` via: // @@ -7012,6 +7961,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigArray) ToBackendServiceLo return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user. type BackendServiceLocalityLoadBalancingPolicyConfigOutput struct{ *pulumi.OutputState } @@ -7027,6 +7982,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigOutput) ToBackendServiceL return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigOutput) CustomPolicy() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfig) *BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { return v.CustomPolicy @@ -7053,6 +8014,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) ToBackendSer return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig] { + return pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigArrayOutput) Index(i pulumi.IntInput) BackendServiceLocalityLoadBalancingPolicyConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceLocalityLoadBalancingPolicyConfig { return vs[0].([]BackendServiceLocalityLoadBalancingPolicyConfig)[vs[1].(int)] @@ -7098,6 +8065,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyArgs) ToBacke return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyArgs) ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput { return i.ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutputWithContext(context.Background()) } @@ -7139,6 +8112,12 @@ func (i *backendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrType) ToB return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) } +func (i *backendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for a custom policy implemented by the user and deployed with the client. type BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput struct{ *pulumi.OutputState } @@ -7164,6 +8143,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) ToBac }).(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) } +func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: o.OutputState, + } +} + // An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput) Data() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) *string { return v.Data }).(pulumi.StringPtrOutput) @@ -7188,6 +8173,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) To return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyPtrOutput) Elem() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOutput { return o.ApplyT(func(v *BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { if v != nil { @@ -7241,6 +8232,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutpu return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse]{ + OutputState: o.OutputState, + } +} + // An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. func (o BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutput) Data() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse) string { return v.Data }).(pulumi.StringOutput) @@ -7286,6 +8283,12 @@ func (i BackendServiceLocalityLoadBalancingPolicyConfigPolicyArgs) ToBackendServ return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) } +func (i BackendServiceLocalityLoadBalancingPolicyConfigPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceLocalityLoadBalancingPolicyConfigPolicyArgs) ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput() BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput { return i.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutputWithContext(context.Background()) } @@ -7327,6 +8330,12 @@ func (i *backendServiceLocalityLoadBalancingPolicyConfigPolicyPtrType) ToBackend return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) } +func (i *backendServiceLocalityLoadBalancingPolicyConfigPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: i.ToBackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for a built-in load balancing policy. type BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput struct{ *pulumi.OutputState } @@ -7352,6 +8361,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) ToBackendSe }).(BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: o.OutputState, + } +} + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput) Name() BackendServiceLocalityLoadBalancingPolicyConfigPolicyNamePtrOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigPolicy) *BackendServiceLocalityLoadBalancingPolicyConfigPolicyName { @@ -7373,6 +8388,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) ToBacken return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy] { + return pulumix.Output[*BackendServiceLocalityLoadBalancingPolicyConfigPolicy]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyPtrOutput) Elem() BackendServiceLocalityLoadBalancingPolicyConfigPolicyOutput { return o.ApplyT(func(v *BackendServiceLocalityLoadBalancingPolicyConfigPolicy) BackendServiceLocalityLoadBalancingPolicyConfigPolicy { if v != nil { @@ -7414,6 +8435,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponseOutput) ToB return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. func (o BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigPolicyResponse) string { return v.Name }).(pulumi.StringOutput) @@ -7440,6 +8467,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput) ToBackend return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigResponse] { + return pulumix.Output[BackendServiceLocalityLoadBalancingPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput) CustomPolicy() BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponseOutput { return o.ApplyT(func(v BackendServiceLocalityLoadBalancingPolicyConfigResponse) BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyResponse { return v.CustomPolicy @@ -7466,6 +8499,12 @@ func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseArrayOutput) ToBa return o } +func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfigResponse] { + return pulumix.Output[[]BackendServiceLocalityLoadBalancingPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLocalityLoadBalancingPolicyConfigResponseArrayOutput) Index(i pulumi.IntInput) BackendServiceLocalityLoadBalancingPolicyConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendServiceLocalityLoadBalancingPolicyConfigResponse { return vs[0].([]BackendServiceLocalityLoadBalancingPolicyConfigResponse)[vs[1].(int)] @@ -7519,6 +8558,12 @@ func (i BackendServiceLogConfigArgs) ToBackendServiceLogConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLogConfigOutput) } +func (i BackendServiceLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfig] { + return pulumix.Output[BackendServiceLogConfig]{ + OutputState: i.ToBackendServiceLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i BackendServiceLogConfigArgs) ToBackendServiceLogConfigPtrOutput() BackendServiceLogConfigPtrOutput { return i.ToBackendServiceLogConfigPtrOutputWithContext(context.Background()) } @@ -7560,6 +8605,12 @@ func (i *backendServiceLogConfigPtrType) ToBackendServiceLogConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BackendServiceLogConfigPtrOutput) } +func (i *backendServiceLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfig] { + return pulumix.Output[*BackendServiceLogConfig]{ + OutputState: i.ToBackendServiceLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The available logging options for the load balancer traffic served by this backend service. type BackendServiceLogConfigOutput struct{ *pulumi.OutputState } @@ -7585,6 +8636,12 @@ func (o BackendServiceLogConfigOutput) ToBackendServiceLogConfigPtrOutputWithCon }).(BackendServiceLogConfigPtrOutput) } +func (o BackendServiceLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfig] { + return pulumix.Output[BackendServiceLogConfig]{ + OutputState: o.OutputState, + } +} + // Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. func (o BackendServiceLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v BackendServiceLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -7619,6 +8676,12 @@ func (o BackendServiceLogConfigPtrOutput) ToBackendServiceLogConfigPtrOutputWith return o } +func (o BackendServiceLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendServiceLogConfig] { + return pulumix.Output[*BackendServiceLogConfig]{ + OutputState: o.OutputState, + } +} + func (o BackendServiceLogConfigPtrOutput) Elem() BackendServiceLogConfigOutput { return o.ApplyT(func(v *BackendServiceLogConfig) BackendServiceLogConfig { if v != nil { @@ -7696,6 +8759,12 @@ func (o BackendServiceLogConfigResponseOutput) ToBackendServiceLogConfigResponse return o } +func (o BackendServiceLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendServiceLogConfigResponse] { + return pulumix.Output[BackendServiceLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. func (o BackendServiceLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v BackendServiceLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -7763,6 +8832,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -7788,6 +8863,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -7803,6 +8884,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o BindingOutput) BindingId() pulumi.StringPtrOutput { return o.ApplyT(func(v Binding) *string { return v.BindingId }).(pulumi.StringPtrOutput) @@ -7837,6 +8924,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -7870,6 +8963,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o BindingResponseOutput) BindingId() pulumi.StringOutput { return o.ApplyT(func(v BindingResponse) string { return v.BindingId }).(pulumi.StringOutput) @@ -7904,6 +9003,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -7969,6 +9074,12 @@ func (i CacheKeyPolicyArgs) ToCacheKeyPolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CacheKeyPolicyOutput) } +func (i CacheKeyPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[CacheKeyPolicy] { + return pulumix.Output[CacheKeyPolicy]{ + OutputState: i.ToCacheKeyPolicyOutputWithContext(ctx).OutputState, + } +} + func (i CacheKeyPolicyArgs) ToCacheKeyPolicyPtrOutput() CacheKeyPolicyPtrOutput { return i.ToCacheKeyPolicyPtrOutputWithContext(context.Background()) } @@ -8010,6 +9121,12 @@ func (i *cacheKeyPolicyPtrType) ToCacheKeyPolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CacheKeyPolicyPtrOutput) } +func (i *cacheKeyPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CacheKeyPolicy] { + return pulumix.Output[*CacheKeyPolicy]{ + OutputState: i.ToCacheKeyPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing what to include in the cache key for a request for Cloud CDN. type CacheKeyPolicyOutput struct{ *pulumi.OutputState } @@ -8035,6 +9152,12 @@ func (o CacheKeyPolicyOutput) ToCacheKeyPolicyPtrOutputWithContext(ctx context.C }).(CacheKeyPolicyPtrOutput) } +func (o CacheKeyPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[CacheKeyPolicy] { + return pulumix.Output[CacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + // If true, requests to different hosts will be cached separately. func (o CacheKeyPolicyOutput) IncludeHost() pulumi.BoolPtrOutput { return o.ApplyT(func(v CacheKeyPolicy) *bool { return v.IncludeHost }).(pulumi.BoolPtrOutput) @@ -8084,6 +9207,12 @@ func (o CacheKeyPolicyPtrOutput) ToCacheKeyPolicyPtrOutputWithContext(ctx contex return o } +func (o CacheKeyPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CacheKeyPolicy] { + return pulumix.Output[*CacheKeyPolicy]{ + OutputState: o.OutputState, + } +} + func (o CacheKeyPolicyPtrOutput) Elem() CacheKeyPolicyOutput { return o.ApplyT(func(v *CacheKeyPolicy) CacheKeyPolicy { if v != nil { @@ -8197,6 +9326,12 @@ func (o CacheKeyPolicyResponseOutput) ToCacheKeyPolicyResponseOutputWithContext( return o } +func (o CacheKeyPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CacheKeyPolicyResponse] { + return pulumix.Output[CacheKeyPolicyResponse]{ + OutputState: o.OutputState, + } +} + // If true, requests to different hosts will be cached separately. func (o CacheKeyPolicyResponseOutput) IncludeHost() pulumi.BoolOutput { return o.ApplyT(func(v CacheKeyPolicyResponse) bool { return v.IncludeHost }).(pulumi.BoolOutput) @@ -8283,6 +9418,12 @@ func (i CircuitBreakersArgs) ToCircuitBreakersOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CircuitBreakersOutput) } +func (i CircuitBreakersArgs) ToOutput(ctx context.Context) pulumix.Output[CircuitBreakers] { + return pulumix.Output[CircuitBreakers]{ + OutputState: i.ToCircuitBreakersOutputWithContext(ctx).OutputState, + } +} + func (i CircuitBreakersArgs) ToCircuitBreakersPtrOutput() CircuitBreakersPtrOutput { return i.ToCircuitBreakersPtrOutputWithContext(context.Background()) } @@ -8324,6 +9465,12 @@ func (i *circuitBreakersPtrType) ToCircuitBreakersPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CircuitBreakersPtrOutput) } +func (i *circuitBreakersPtrType) ToOutput(ctx context.Context) pulumix.Output[*CircuitBreakers] { + return pulumix.Output[*CircuitBreakers]{ + OutputState: i.ToCircuitBreakersPtrOutputWithContext(ctx).OutputState, + } +} + // Settings controlling the volume of requests, connections and retries to this backend service. type CircuitBreakersOutput struct{ *pulumi.OutputState } @@ -8349,6 +9496,12 @@ func (o CircuitBreakersOutput) ToCircuitBreakersPtrOutputWithContext(ctx context }).(CircuitBreakersPtrOutput) } +func (o CircuitBreakersOutput) ToOutput(ctx context.Context) pulumix.Output[CircuitBreakers] { + return pulumix.Output[CircuitBreakers]{ + OutputState: o.OutputState, + } +} + // The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o CircuitBreakersOutput) MaxConnections() pulumi.IntPtrOutput { return o.ApplyT(func(v CircuitBreakers) *int { return v.MaxConnections }).(pulumi.IntPtrOutput) @@ -8388,6 +9541,12 @@ func (o CircuitBreakersPtrOutput) ToCircuitBreakersPtrOutputWithContext(ctx cont return o } +func (o CircuitBreakersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CircuitBreakers] { + return pulumix.Output[*CircuitBreakers]{ + OutputState: o.OutputState, + } +} + func (o CircuitBreakersPtrOutput) Elem() CircuitBreakersOutput { return o.ApplyT(func(v *CircuitBreakers) CircuitBreakers { if v != nil { @@ -8477,6 +9636,12 @@ func (o CircuitBreakersResponseOutput) ToCircuitBreakersResponseOutputWithContex return o } +func (o CircuitBreakersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CircuitBreakersResponse] { + return pulumix.Output[CircuitBreakersResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o CircuitBreakersResponseOutput) MaxConnections() pulumi.IntOutput { return o.ApplyT(func(v CircuitBreakersResponse) int { return v.MaxConnections }).(pulumi.IntOutput) @@ -8553,6 +9718,12 @@ func (i ConditionArgs) ToConditionOutputWithContext(ctx context.Context) Conditi return pulumi.ToOutputWithContext(ctx, i).(ConditionOutput) } +func (i ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: i.ToConditionOutputWithContext(ctx).OutputState, + } +} + // ConditionArrayInput is an input type that accepts ConditionArray and ConditionArrayOutput values. // You can construct a concrete instance of `ConditionArrayInput` via: // @@ -8578,6 +9749,12 @@ func (i ConditionArray) ToConditionArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ConditionArrayOutput) } +func (i ConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: i.ToConditionArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type ConditionOutput struct{ *pulumi.OutputState } @@ -8593,6 +9770,12 @@ func (o ConditionOutput) ToConditionOutputWithContext(ctx context.Context) Condi return o } +func (o ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o ConditionOutput) Iam() ConditionIamPtrOutput { return o.ApplyT(func(v Condition) *ConditionIam { return v.Iam }).(ConditionIamPtrOutput) @@ -8632,6 +9815,12 @@ func (o ConditionArrayOutput) ToConditionArrayOutputWithContext(ctx context.Cont return o } +func (o ConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: o.OutputState, + } +} + func (o ConditionArrayOutput) Index(i pulumi.IntInput) ConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Condition { return vs[0].([]Condition)[vs[1].(int)] @@ -8667,6 +9856,12 @@ func (o ConditionResponseOutput) ToConditionResponseOutputWithContext(ctx contex return o } +func (o ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionResponse] { + return pulumix.Output[ConditionResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o ConditionResponseOutput) Iam() pulumi.StringOutput { return o.ApplyT(func(v ConditionResponse) string { return v.Iam }).(pulumi.StringOutput) @@ -8706,6 +9901,12 @@ func (o ConditionResponseArrayOutput) ToConditionResponseArrayOutputWithContext( return o } +func (o ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConditionResponse] { + return pulumix.Output[[]ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o ConditionResponseArrayOutput) Index(i pulumi.IntInput) ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConditionResponse { return vs[0].([]ConditionResponse)[vs[1].(int)] @@ -8747,6 +9948,12 @@ func (i ConfidentialInstanceConfigArgs) ToConfidentialInstanceConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(ConfidentialInstanceConfigOutput) } +func (i ConfidentialInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfig] { + return pulumix.Output[ConfidentialInstanceConfig]{ + OutputState: i.ToConfidentialInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ConfidentialInstanceConfigArgs) ToConfidentialInstanceConfigPtrOutput() ConfidentialInstanceConfigPtrOutput { return i.ToConfidentialInstanceConfigPtrOutputWithContext(context.Background()) } @@ -8788,6 +9995,12 @@ func (i *confidentialInstanceConfigPtrType) ToConfidentialInstanceConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(ConfidentialInstanceConfigPtrOutput) } +func (i *confidentialInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialInstanceConfig] { + return pulumix.Output[*ConfidentialInstanceConfig]{ + OutputState: i.ToConfidentialInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Confidential Instance options. type ConfidentialInstanceConfigOutput struct{ *pulumi.OutputState } @@ -8813,6 +10026,12 @@ func (o ConfidentialInstanceConfigOutput) ToConfidentialInstanceConfigPtrOutputW }).(ConfidentialInstanceConfigPtrOutput) } +func (o ConfidentialInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfig] { + return pulumix.Output[ConfidentialInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance should have confidential compute enabled. func (o ConfidentialInstanceConfigOutput) EnableConfidentialCompute() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConfidentialInstanceConfig) *bool { return v.EnableConfidentialCompute }).(pulumi.BoolPtrOutput) @@ -8832,6 +10051,12 @@ func (o ConfidentialInstanceConfigPtrOutput) ToConfidentialInstanceConfigPtrOutp return o } +func (o ConfidentialInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialInstanceConfig] { + return pulumix.Output[*ConfidentialInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ConfidentialInstanceConfigPtrOutput) Elem() ConfidentialInstanceConfigOutput { return o.ApplyT(func(v *ConfidentialInstanceConfig) ConfidentialInstanceConfig { if v != nil { @@ -8873,6 +10098,12 @@ func (o ConfidentialInstanceConfigResponseOutput) ToConfidentialInstanceConfigRe return o } +func (o ConfidentialInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfigResponse] { + return pulumix.Output[ConfidentialInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance should have confidential compute enabled. func (o ConfidentialInstanceConfigResponseOutput) EnableConfidentialCompute() pulumi.BoolOutput { return o.ApplyT(func(v ConfidentialInstanceConfigResponse) bool { return v.EnableConfidentialCompute }).(pulumi.BoolOutput) @@ -8913,6 +10144,12 @@ func (i ConnectionDrainingArgs) ToConnectionDrainingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ConnectionDrainingOutput) } +func (i ConnectionDrainingArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectionDraining] { + return pulumix.Output[ConnectionDraining]{ + OutputState: i.ToConnectionDrainingOutputWithContext(ctx).OutputState, + } +} + func (i ConnectionDrainingArgs) ToConnectionDrainingPtrOutput() ConnectionDrainingPtrOutput { return i.ToConnectionDrainingPtrOutputWithContext(context.Background()) } @@ -8954,6 +10191,12 @@ func (i *connectionDrainingPtrType) ToConnectionDrainingPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ConnectionDrainingPtrOutput) } +func (i *connectionDrainingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectionDraining] { + return pulumix.Output[*ConnectionDraining]{ + OutputState: i.ToConnectionDrainingPtrOutputWithContext(ctx).OutputState, + } +} + // Message containing connection draining configuration. type ConnectionDrainingOutput struct{ *pulumi.OutputState } @@ -8979,6 +10222,12 @@ func (o ConnectionDrainingOutput) ToConnectionDrainingPtrOutputWithContext(ctx c }).(ConnectionDrainingPtrOutput) } +func (o ConnectionDrainingOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionDraining] { + return pulumix.Output[ConnectionDraining]{ + OutputState: o.OutputState, + } +} + // Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining. func (o ConnectionDrainingOutput) DrainingTimeoutSec() pulumi.IntPtrOutput { return o.ApplyT(func(v ConnectionDraining) *int { return v.DrainingTimeoutSec }).(pulumi.IntPtrOutput) @@ -8998,6 +10247,12 @@ func (o ConnectionDrainingPtrOutput) ToConnectionDrainingPtrOutputWithContext(ct return o } +func (o ConnectionDrainingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionDraining] { + return pulumix.Output[*ConnectionDraining]{ + OutputState: o.OutputState, + } +} + func (o ConnectionDrainingPtrOutput) Elem() ConnectionDrainingOutput { return o.ApplyT(func(v *ConnectionDraining) ConnectionDraining { if v != nil { @@ -9039,6 +10294,12 @@ func (o ConnectionDrainingResponseOutput) ToConnectionDrainingResponseOutputWith return o } +func (o ConnectionDrainingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionDrainingResponse] { + return pulumix.Output[ConnectionDrainingResponse]{ + OutputState: o.OutputState, + } +} + // Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining. func (o ConnectionDrainingResponseOutput) DrainingTimeoutSec() pulumi.IntOutput { return o.ApplyT(func(v ConnectionDrainingResponse) int { return v.DrainingTimeoutSec }).(pulumi.IntOutput) @@ -9087,6 +10348,12 @@ func (i ConsistentHashLoadBalancerSettingsArgs) ToConsistentHashLoadBalancerSett return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsOutput) } +func (i ConsistentHashLoadBalancerSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettings] { + return pulumix.Output[ConsistentHashLoadBalancerSettings]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ConsistentHashLoadBalancerSettingsArgs) ToConsistentHashLoadBalancerSettingsPtrOutput() ConsistentHashLoadBalancerSettingsPtrOutput { return i.ToConsistentHashLoadBalancerSettingsPtrOutputWithContext(context.Background()) } @@ -9128,6 +10395,12 @@ func (i *consistentHashLoadBalancerSettingsPtrType) ToConsistentHashLoadBalancer return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsPtrOutput) } +func (i *consistentHashLoadBalancerSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettings] { + return pulumix.Output[*ConsistentHashLoadBalancerSettings]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // This message defines settings for a consistent hash style load balancer. type ConsistentHashLoadBalancerSettingsOutput struct{ *pulumi.OutputState } @@ -9153,6 +10426,12 @@ func (o ConsistentHashLoadBalancerSettingsOutput) ToConsistentHashLoadBalancerSe }).(ConsistentHashLoadBalancerSettingsPtrOutput) } +func (o ConsistentHashLoadBalancerSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettings] { + return pulumix.Output[ConsistentHashLoadBalancerSettings]{ + OutputState: o.OutputState, + } +} + // Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o ConsistentHashLoadBalancerSettingsOutput) HttpCookie() ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettings) *ConsistentHashLoadBalancerSettingsHttpCookie { @@ -9184,6 +10463,12 @@ func (o ConsistentHashLoadBalancerSettingsPtrOutput) ToConsistentHashLoadBalance return o } +func (o ConsistentHashLoadBalancerSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettings] { + return pulumix.Output[*ConsistentHashLoadBalancerSettings]{ + OutputState: o.OutputState, + } +} + func (o ConsistentHashLoadBalancerSettingsPtrOutput) Elem() ConsistentHashLoadBalancerSettingsOutput { return o.ApplyT(func(v *ConsistentHashLoadBalancerSettings) ConsistentHashLoadBalancerSettings { if v != nil { @@ -9267,6 +10552,12 @@ func (i ConsistentHashLoadBalancerSettingsHttpCookieArgs) ToConsistentHashLoadBa return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsHttpCookieOutput) } +func (i ConsistentHashLoadBalancerSettingsHttpCookieArgs) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsHttpCookieOutputWithContext(ctx).OutputState, + } +} + func (i ConsistentHashLoadBalancerSettingsHttpCookieArgs) ToConsistentHashLoadBalancerSettingsHttpCookiePtrOutput() ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput { return i.ToConsistentHashLoadBalancerSettingsHttpCookiePtrOutputWithContext(context.Background()) } @@ -9308,6 +10599,12 @@ func (i *consistentHashLoadBalancerSettingsHttpCookiePtrType) ToConsistentHashLo return pulumi.ToOutputWithContext(ctx, i).(ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) } +func (i *consistentHashLoadBalancerSettingsHttpCookiePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: i.ToConsistentHashLoadBalancerSettingsHttpCookiePtrOutputWithContext(ctx).OutputState, + } +} + // The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash. type ConsistentHashLoadBalancerSettingsHttpCookieOutput struct{ *pulumi.OutputState } @@ -9333,6 +10630,12 @@ func (o ConsistentHashLoadBalancerSettingsHttpCookieOutput) ToConsistentHashLoad }).(ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) } +func (o ConsistentHashLoadBalancerSettingsHttpCookieOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: o.OutputState, + } +} + // Name of the cookie. func (o ConsistentHashLoadBalancerSettingsHttpCookieOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettingsHttpCookie) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -9362,6 +10665,12 @@ func (o ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) ToConsistentHashL return o } +func (o ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie] { + return pulumix.Output[*ConsistentHashLoadBalancerSettingsHttpCookie]{ + OutputState: o.OutputState, + } +} + func (o ConsistentHashLoadBalancerSettingsHttpCookiePtrOutput) Elem() ConsistentHashLoadBalancerSettingsHttpCookieOutput { return o.ApplyT(func(v *ConsistentHashLoadBalancerSettingsHttpCookie) ConsistentHashLoadBalancerSettingsHttpCookie { if v != nil { @@ -9427,6 +10736,12 @@ func (o ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput) ToConsistent return o } +func (o ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookieResponse] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsHttpCookieResponse]{ + OutputState: o.OutputState, + } +} + // Name of the cookie. func (o ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettingsHttpCookieResponse) string { return v.Name }).(pulumi.StringOutput) @@ -9467,6 +10782,12 @@ func (o ConsistentHashLoadBalancerSettingsResponseOutput) ToConsistentHashLoadBa return o } +func (o ConsistentHashLoadBalancerSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsistentHashLoadBalancerSettingsResponse] { + return pulumix.Output[ConsistentHashLoadBalancerSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o ConsistentHashLoadBalancerSettingsResponseOutput) HttpCookie() ConsistentHashLoadBalancerSettingsHttpCookieResponseOutput { return o.ApplyT(func(v ConsistentHashLoadBalancerSettingsResponse) ConsistentHashLoadBalancerSettingsHttpCookieResponse { @@ -9547,6 +10868,12 @@ func (i CorsPolicyArgs) ToCorsPolicyOutputWithContext(ctx context.Context) CorsP return pulumi.ToOutputWithContext(ctx, i).(CorsPolicyOutput) } +func (i CorsPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[CorsPolicy] { + return pulumix.Output[CorsPolicy]{ + OutputState: i.ToCorsPolicyOutputWithContext(ctx).OutputState, + } +} + func (i CorsPolicyArgs) ToCorsPolicyPtrOutput() CorsPolicyPtrOutput { return i.ToCorsPolicyPtrOutputWithContext(context.Background()) } @@ -9588,6 +10915,12 @@ func (i *corsPolicyPtrType) ToCorsPolicyPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(CorsPolicyPtrOutput) } +func (i *corsPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CorsPolicy] { + return pulumix.Output[*CorsPolicy]{ + OutputState: i.ToCorsPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. type CorsPolicyOutput struct{ *pulumi.OutputState } @@ -9613,6 +10946,12 @@ func (o CorsPolicyOutput) ToCorsPolicyPtrOutputWithContext(ctx context.Context) }).(CorsPolicyPtrOutput) } +func (o CorsPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[CorsPolicy] { + return pulumix.Output[CorsPolicy]{ + OutputState: o.OutputState, + } +} + // In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false. func (o CorsPolicyOutput) AllowCredentials() pulumi.BoolPtrOutput { return o.ApplyT(func(v CorsPolicy) *bool { return v.AllowCredentials }).(pulumi.BoolPtrOutput) @@ -9667,6 +11006,12 @@ func (o CorsPolicyPtrOutput) ToCorsPolicyPtrOutputWithContext(ctx context.Contex return o } +func (o CorsPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CorsPolicy] { + return pulumix.Output[*CorsPolicy]{ + OutputState: o.OutputState, + } +} + func (o CorsPolicyPtrOutput) Elem() CorsPolicyOutput { return o.ApplyT(func(v *CorsPolicy) CorsPolicy { if v != nil { @@ -9792,6 +11137,12 @@ func (o CorsPolicyResponseOutput) ToCorsPolicyResponseOutputWithContext(ctx cont return o } +func (o CorsPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CorsPolicyResponse] { + return pulumix.Output[CorsPolicyResponse]{ + OutputState: o.OutputState, + } +} + // In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false. func (o CorsPolicyResponseOutput) AllowCredentials() pulumi.BoolOutput { return o.ApplyT(func(v CorsPolicyResponse) bool { return v.AllowCredentials }).(pulumi.BoolOutput) @@ -9877,6 +11228,12 @@ func (i CustomerEncryptionKeyArgs) ToCustomerEncryptionKeyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CustomerEncryptionKeyOutput) } +func (i CustomerEncryptionKeyArgs) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKey] { + return pulumix.Output[CustomerEncryptionKey]{ + OutputState: i.ToCustomerEncryptionKeyOutputWithContext(ctx).OutputState, + } +} + func (i CustomerEncryptionKeyArgs) ToCustomerEncryptionKeyPtrOutput() CustomerEncryptionKeyPtrOutput { return i.ToCustomerEncryptionKeyPtrOutputWithContext(context.Background()) } @@ -9918,6 +11275,12 @@ func (i *customerEncryptionKeyPtrType) ToCustomerEncryptionKeyPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(CustomerEncryptionKeyPtrOutput) } +func (i *customerEncryptionKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomerEncryptionKey] { + return pulumix.Output[*CustomerEncryptionKey]{ + OutputState: i.ToCustomerEncryptionKeyPtrOutputWithContext(ctx).OutputState, + } +} + type CustomerEncryptionKeyOutput struct{ *pulumi.OutputState } func (CustomerEncryptionKeyOutput) ElementType() reflect.Type { @@ -9942,6 +11305,12 @@ func (o CustomerEncryptionKeyOutput) ToCustomerEncryptionKeyPtrOutputWithContext }).(CustomerEncryptionKeyPtrOutput) } +func (o CustomerEncryptionKeyOutput) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKey] { + return pulumix.Output[CustomerEncryptionKey]{ + OutputState: o.OutputState, + } +} + // The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key func (o CustomerEncryptionKeyOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v CustomerEncryptionKey) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -9976,6 +11345,12 @@ func (o CustomerEncryptionKeyPtrOutput) ToCustomerEncryptionKeyPtrOutputWithCont return o } +func (o CustomerEncryptionKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomerEncryptionKey] { + return pulumix.Output[*CustomerEncryptionKey]{ + OutputState: o.OutputState, + } +} + func (o CustomerEncryptionKeyPtrOutput) Elem() CustomerEncryptionKeyOutput { return o.ApplyT(func(v *CustomerEncryptionKey) CustomerEncryptionKey { if v != nil { @@ -10053,6 +11428,12 @@ func (o CustomerEncryptionKeyResponseOutput) ToCustomerEncryptionKeyResponseOutp return o } +func (o CustomerEncryptionKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKeyResponse] { + return pulumix.Output[CustomerEncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + // The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key func (o CustomerEncryptionKeyResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v CustomerEncryptionKeyResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -10129,6 +11510,12 @@ func (i DeprecationStatusArgs) ToDeprecationStatusOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DeprecationStatusOutput) } +func (i DeprecationStatusArgs) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatus] { + return pulumix.Output[DeprecationStatus]{ + OutputState: i.ToDeprecationStatusOutputWithContext(ctx).OutputState, + } +} + func (i DeprecationStatusArgs) ToDeprecationStatusPtrOutput() DeprecationStatusPtrOutput { return i.ToDeprecationStatusPtrOutputWithContext(context.Background()) } @@ -10170,6 +11557,12 @@ func (i *deprecationStatusPtrType) ToDeprecationStatusPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DeprecationStatusPtrOutput) } +func (i *deprecationStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatus] { + return pulumix.Output[*DeprecationStatus]{ + OutputState: i.ToDeprecationStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecation status for a public resource. type DeprecationStatusOutput struct{ *pulumi.OutputState } @@ -10195,6 +11588,12 @@ func (o DeprecationStatusOutput) ToDeprecationStatusPtrOutputWithContext(ctx con }).(DeprecationStatusPtrOutput) } +func (o DeprecationStatusOutput) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatus] { + return pulumix.Output[DeprecationStatus]{ + OutputState: o.OutputState, + } +} + // An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it. func (o DeprecationStatusOutput) Deleted() pulumi.StringPtrOutput { return o.ApplyT(func(v DeprecationStatus) *string { return v.Deleted }).(pulumi.StringPtrOutput) @@ -10234,6 +11633,12 @@ func (o DeprecationStatusPtrOutput) ToDeprecationStatusPtrOutputWithContext(ctx return o } +func (o DeprecationStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeprecationStatus] { + return pulumix.Output[*DeprecationStatus]{ + OutputState: o.OutputState, + } +} + func (o DeprecationStatusPtrOutput) Elem() DeprecationStatusOutput { return o.ApplyT(func(v *DeprecationStatus) DeprecationStatus { if v != nil { @@ -10323,6 +11728,12 @@ func (o DeprecationStatusResponseOutput) ToDeprecationStatusResponseOutputWithCo return o } +func (o DeprecationStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeprecationStatusResponse] { + return pulumix.Output[DeprecationStatusResponse]{ + OutputState: o.OutputState, + } +} + // An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it. func (o DeprecationStatusResponseOutput) Deleted() pulumi.StringOutput { return o.ApplyT(func(v DeprecationStatusResponse) string { return v.Deleted }).(pulumi.StringOutput) @@ -10381,6 +11792,12 @@ func (i DiskAsyncReplicationArgs) ToDiskAsyncReplicationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DiskAsyncReplicationOutput) } +func (i DiskAsyncReplicationArgs) ToOutput(ctx context.Context) pulumix.Output[DiskAsyncReplication] { + return pulumix.Output[DiskAsyncReplication]{ + OutputState: i.ToDiskAsyncReplicationOutputWithContext(ctx).OutputState, + } +} + func (i DiskAsyncReplicationArgs) ToDiskAsyncReplicationPtrOutput() DiskAsyncReplicationPtrOutput { return i.ToDiskAsyncReplicationPtrOutputWithContext(context.Background()) } @@ -10422,6 +11839,12 @@ func (i *diskAsyncReplicationPtrType) ToDiskAsyncReplicationPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DiskAsyncReplicationPtrOutput) } +func (i *diskAsyncReplicationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskAsyncReplication] { + return pulumix.Output[*DiskAsyncReplication]{ + OutputState: i.ToDiskAsyncReplicationPtrOutputWithContext(ctx).OutputState, + } +} + type DiskAsyncReplicationOutput struct{ *pulumi.OutputState } func (DiskAsyncReplicationOutput) ElementType() reflect.Type { @@ -10446,6 +11869,12 @@ func (o DiskAsyncReplicationOutput) ToDiskAsyncReplicationPtrOutputWithContext(c }).(DiskAsyncReplicationPtrOutput) } +func (o DiskAsyncReplicationOutput) ToOutput(ctx context.Context) pulumix.Output[DiskAsyncReplication] { + return pulumix.Output[DiskAsyncReplication]{ + OutputState: o.OutputState, + } +} + // The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk func (o DiskAsyncReplicationOutput) Disk() pulumi.StringPtrOutput { return o.ApplyT(func(v DiskAsyncReplication) *string { return v.Disk }).(pulumi.StringPtrOutput) @@ -10465,6 +11894,12 @@ func (o DiskAsyncReplicationPtrOutput) ToDiskAsyncReplicationPtrOutputWithContex return o } +func (o DiskAsyncReplicationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskAsyncReplication] { + return pulumix.Output[*DiskAsyncReplication]{ + OutputState: o.OutputState, + } +} + func (o DiskAsyncReplicationPtrOutput) Elem() DiskAsyncReplicationOutput { return o.ApplyT(func(v *DiskAsyncReplication) DiskAsyncReplication { if v != nil { @@ -10510,6 +11945,12 @@ func (o DiskAsyncReplicationResponseOutput) ToDiskAsyncReplicationResponseOutput return o } +func (o DiskAsyncReplicationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskAsyncReplicationResponse] { + return pulumix.Output[DiskAsyncReplicationResponse]{ + OutputState: o.OutputState, + } +} + // URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group. func (o DiskAsyncReplicationResponseOutput) ConsistencyGroupPolicy() pulumi.StringOutput { return o.ApplyT(func(v DiskAsyncReplicationResponse) string { return v.ConsistencyGroupPolicy }).(pulumi.StringOutput) @@ -10577,6 +12018,12 @@ func (i DiskInstantiationConfigArgs) ToDiskInstantiationConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(DiskInstantiationConfigOutput) } +func (i DiskInstantiationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfig] { + return pulumix.Output[DiskInstantiationConfig]{ + OutputState: i.ToDiskInstantiationConfigOutputWithContext(ctx).OutputState, + } +} + // DiskInstantiationConfigArrayInput is an input type that accepts DiskInstantiationConfigArray and DiskInstantiationConfigArrayOutput values. // You can construct a concrete instance of `DiskInstantiationConfigArrayInput` via: // @@ -10602,6 +12049,12 @@ func (i DiskInstantiationConfigArray) ToDiskInstantiationConfigArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(DiskInstantiationConfigArrayOutput) } +func (i DiskInstantiationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]DiskInstantiationConfig] { + return pulumix.Output[[]DiskInstantiationConfig]{ + OutputState: i.ToDiskInstantiationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // A specification of the desired way to instantiate a disk in the instance template when its created from a source instance. type DiskInstantiationConfigOutput struct{ *pulumi.OutputState } @@ -10617,6 +12070,12 @@ func (o DiskInstantiationConfigOutput) ToDiskInstantiationConfigOutputWithContex return o } +func (o DiskInstantiationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfig] { + return pulumix.Output[DiskInstantiationConfig]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o DiskInstantiationConfigOutput) AutoDelete() pulumi.BoolPtrOutput { return o.ApplyT(func(v DiskInstantiationConfig) *bool { return v.AutoDelete }).(pulumi.BoolPtrOutput) @@ -10651,6 +12110,12 @@ func (o DiskInstantiationConfigArrayOutput) ToDiskInstantiationConfigArrayOutput return o } +func (o DiskInstantiationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiskInstantiationConfig] { + return pulumix.Output[[]DiskInstantiationConfig]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigArrayOutput) Index(i pulumi.IntInput) DiskInstantiationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiskInstantiationConfig { return vs[0].([]DiskInstantiationConfig)[vs[1].(int)] @@ -10684,6 +12149,12 @@ func (o DiskInstantiationConfigResponseOutput) ToDiskInstantiationConfigResponse return o } +func (o DiskInstantiationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskInstantiationConfigResponse] { + return pulumix.Output[DiskInstantiationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o DiskInstantiationConfigResponseOutput) AutoDelete() pulumi.BoolOutput { return o.ApplyT(func(v DiskInstantiationConfigResponse) bool { return v.AutoDelete }).(pulumi.BoolOutput) @@ -10718,6 +12189,12 @@ func (o DiskInstantiationConfigResponseArrayOutput) ToDiskInstantiationConfigRes return o } +func (o DiskInstantiationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiskInstantiationConfigResponse] { + return pulumix.Output[[]DiskInstantiationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskInstantiationConfigResponseArrayOutput) Index(i pulumi.IntInput) DiskInstantiationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiskInstantiationConfigResponse { return vs[0].([]DiskInstantiationConfigResponse)[vs[1].(int)] @@ -10759,6 +12236,12 @@ func (i DiskParamsArgs) ToDiskParamsOutputWithContext(ctx context.Context) DiskP return pulumi.ToOutputWithContext(ctx, i).(DiskParamsOutput) } +func (i DiskParamsArgs) ToOutput(ctx context.Context) pulumix.Output[DiskParams] { + return pulumix.Output[DiskParams]{ + OutputState: i.ToDiskParamsOutputWithContext(ctx).OutputState, + } +} + func (i DiskParamsArgs) ToDiskParamsPtrOutput() DiskParamsPtrOutput { return i.ToDiskParamsPtrOutputWithContext(context.Background()) } @@ -10800,6 +12283,12 @@ func (i *diskParamsPtrType) ToDiskParamsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DiskParamsPtrOutput) } +func (i *diskParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskParams] { + return pulumix.Output[*DiskParams]{ + OutputState: i.ToDiskParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Additional disk params. type DiskParamsOutput struct{ *pulumi.OutputState } @@ -10825,6 +12314,12 @@ func (o DiskParamsOutput) ToDiskParamsPtrOutputWithContext(ctx context.Context) }).(DiskParamsPtrOutput) } +func (o DiskParamsOutput) ToOutput(ctx context.Context) pulumix.Output[DiskParams] { + return pulumix.Output[DiskParams]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o DiskParamsOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v DiskParams) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -10844,6 +12339,12 @@ func (o DiskParamsPtrOutput) ToDiskParamsPtrOutputWithContext(ctx context.Contex return o } +func (o DiskParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskParams] { + return pulumix.Output[*DiskParams]{ + OutputState: o.OutputState, + } +} + func (o DiskParamsPtrOutput) Elem() DiskParamsOutput { return o.ApplyT(func(v *DiskParams) DiskParams { if v != nil { @@ -10885,6 +12386,12 @@ func (o DiskParamsResponseOutput) ToDiskParamsResponseOutputWithContext(ctx cont return o } +func (o DiskParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskParamsResponse] { + return pulumix.Output[DiskParamsResponse]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o DiskParamsResponseOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v DiskParamsResponse) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -10908,6 +12415,12 @@ func (o DiskResourceStatusAsyncReplicationStatusResponseOutput) ToDiskResourceSt return o } +func (o DiskResourceStatusAsyncReplicationStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskResourceStatusAsyncReplicationStatusResponse] { + return pulumix.Output[DiskResourceStatusAsyncReplicationStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskResourceStatusAsyncReplicationStatusResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v DiskResourceStatusAsyncReplicationStatusResponse) string { return v.State }).(pulumi.StringOutput) } @@ -10932,6 +12445,12 @@ func (o DiskResourceStatusResponseOutput) ToDiskResourceStatusResponseOutputWith return o } +func (o DiskResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskResourceStatusResponse] { + return pulumix.Output[DiskResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskResourceStatusResponseOutput) AsyncPrimaryDisk() DiskResourceStatusAsyncReplicationStatusResponseOutput { return o.ApplyT(func(v DiskResourceStatusResponse) DiskResourceStatusAsyncReplicationStatusResponse { return v.AsyncPrimaryDisk @@ -10978,6 +12497,12 @@ func (i DisplayDeviceArgs) ToDisplayDeviceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DisplayDeviceOutput) } +func (i DisplayDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[DisplayDevice] { + return pulumix.Output[DisplayDevice]{ + OutputState: i.ToDisplayDeviceOutputWithContext(ctx).OutputState, + } +} + func (i DisplayDeviceArgs) ToDisplayDevicePtrOutput() DisplayDevicePtrOutput { return i.ToDisplayDevicePtrOutputWithContext(context.Background()) } @@ -11019,6 +12544,12 @@ func (i *displayDevicePtrType) ToDisplayDevicePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DisplayDevicePtrOutput) } +func (i *displayDevicePtrType) ToOutput(ctx context.Context) pulumix.Output[*DisplayDevice] { + return pulumix.Output[*DisplayDevice]{ + OutputState: i.ToDisplayDevicePtrOutputWithContext(ctx).OutputState, + } +} + // A set of Display Device options type DisplayDeviceOutput struct{ *pulumi.OutputState } @@ -11044,6 +12575,12 @@ func (o DisplayDeviceOutput) ToDisplayDevicePtrOutputWithContext(ctx context.Con }).(DisplayDevicePtrOutput) } +func (o DisplayDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[DisplayDevice] { + return pulumix.Output[DisplayDevice]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has Display enabled. func (o DisplayDeviceOutput) EnableDisplay() pulumi.BoolPtrOutput { return o.ApplyT(func(v DisplayDevice) *bool { return v.EnableDisplay }).(pulumi.BoolPtrOutput) @@ -11063,6 +12600,12 @@ func (o DisplayDevicePtrOutput) ToDisplayDevicePtrOutputWithContext(ctx context. return o } +func (o DisplayDevicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DisplayDevice] { + return pulumix.Output[*DisplayDevice]{ + OutputState: o.OutputState, + } +} + func (o DisplayDevicePtrOutput) Elem() DisplayDeviceOutput { return o.ApplyT(func(v *DisplayDevice) DisplayDevice { if v != nil { @@ -11104,6 +12647,12 @@ func (o DisplayDeviceResponseOutput) ToDisplayDeviceResponseOutputWithContext(ct return o } +func (o DisplayDeviceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DisplayDeviceResponse] { + return pulumix.Output[DisplayDeviceResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has Display enabled. func (o DisplayDeviceResponseOutput) EnableDisplay() pulumi.BoolOutput { return o.ApplyT(func(v DisplayDeviceResponse) bool { return v.EnableDisplay }).(pulumi.BoolOutput) @@ -11146,6 +12695,12 @@ func (i DistributionPolicyArgs) ToDistributionPolicyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyOutput) } +func (i DistributionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicy] { + return pulumix.Output[DistributionPolicy]{ + OutputState: i.ToDistributionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i DistributionPolicyArgs) ToDistributionPolicyPtrOutput() DistributionPolicyPtrOutput { return i.ToDistributionPolicyPtrOutputWithContext(context.Background()) } @@ -11187,6 +12742,12 @@ func (i *distributionPolicyPtrType) ToDistributionPolicyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyPtrOutput) } +func (i *distributionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicy] { + return pulumix.Output[*DistributionPolicy]{ + OutputState: i.ToDistributionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type DistributionPolicyOutput struct{ *pulumi.OutputState } func (DistributionPolicyOutput) ElementType() reflect.Type { @@ -11211,6 +12772,12 @@ func (o DistributionPolicyOutput) ToDistributionPolicyPtrOutputWithContext(ctx c }).(DistributionPolicyPtrOutput) } +func (o DistributionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicy] { + return pulumix.Output[DistributionPolicy]{ + OutputState: o.OutputState, + } +} + // The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). func (o DistributionPolicyOutput) TargetShape() DistributionPolicyTargetShapePtrOutput { return o.ApplyT(func(v DistributionPolicy) *DistributionPolicyTargetShape { return v.TargetShape }).(DistributionPolicyTargetShapePtrOutput) @@ -11235,6 +12802,12 @@ func (o DistributionPolicyPtrOutput) ToDistributionPolicyPtrOutputWithContext(ct return o } +func (o DistributionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DistributionPolicy] { + return pulumix.Output[*DistributionPolicy]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyPtrOutput) Elem() DistributionPolicyOutput { return o.ApplyT(func(v *DistributionPolicy) DistributionPolicy { if v != nil { @@ -11286,6 +12859,12 @@ func (o DistributionPolicyResponseOutput) ToDistributionPolicyResponseOutputWith return o } +func (o DistributionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyResponse] { + return pulumix.Output[DistributionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). func (o DistributionPolicyResponseOutput) TargetShape() pulumi.StringOutput { return o.ApplyT(func(v DistributionPolicyResponse) string { return v.TargetShape }).(pulumi.StringOutput) @@ -11329,6 +12908,12 @@ func (i DistributionPolicyZoneConfigurationArgs) ToDistributionPolicyZoneConfigu return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyZoneConfigurationOutput) } +func (i DistributionPolicyZoneConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyZoneConfiguration] { + return pulumix.Output[DistributionPolicyZoneConfiguration]{ + OutputState: i.ToDistributionPolicyZoneConfigurationOutputWithContext(ctx).OutputState, + } +} + // DistributionPolicyZoneConfigurationArrayInput is an input type that accepts DistributionPolicyZoneConfigurationArray and DistributionPolicyZoneConfigurationArrayOutput values. // You can construct a concrete instance of `DistributionPolicyZoneConfigurationArrayInput` via: // @@ -11354,6 +12939,12 @@ func (i DistributionPolicyZoneConfigurationArray) ToDistributionPolicyZoneConfig return pulumi.ToOutputWithContext(ctx, i).(DistributionPolicyZoneConfigurationArrayOutput) } +func (i DistributionPolicyZoneConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]DistributionPolicyZoneConfiguration] { + return pulumix.Output[[]DistributionPolicyZoneConfiguration]{ + OutputState: i.ToDistributionPolicyZoneConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + type DistributionPolicyZoneConfigurationOutput struct{ *pulumi.OutputState } func (DistributionPolicyZoneConfigurationOutput) ElementType() reflect.Type { @@ -11368,6 +12959,12 @@ func (o DistributionPolicyZoneConfigurationOutput) ToDistributionPolicyZoneConfi return o } +func (o DistributionPolicyZoneConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyZoneConfiguration] { + return pulumix.Output[DistributionPolicyZoneConfiguration]{ + OutputState: o.OutputState, + } +} + // The URL of the zone. The zone must exist in the region where the managed instance group is located. func (o DistributionPolicyZoneConfigurationOutput) Zone() pulumi.StringPtrOutput { return o.ApplyT(func(v DistributionPolicyZoneConfiguration) *string { return v.Zone }).(pulumi.StringPtrOutput) @@ -11387,6 +12984,12 @@ func (o DistributionPolicyZoneConfigurationArrayOutput) ToDistributionPolicyZone return o } +func (o DistributionPolicyZoneConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DistributionPolicyZoneConfiguration] { + return pulumix.Output[[]DistributionPolicyZoneConfiguration]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyZoneConfigurationArrayOutput) Index(i pulumi.IntInput) DistributionPolicyZoneConfigurationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DistributionPolicyZoneConfiguration { return vs[0].([]DistributionPolicyZoneConfiguration)[vs[1].(int)] @@ -11412,6 +13015,12 @@ func (o DistributionPolicyZoneConfigurationResponseOutput) ToDistributionPolicyZ return o } +func (o DistributionPolicyZoneConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionPolicyZoneConfigurationResponse] { + return pulumix.Output[DistributionPolicyZoneConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of the zone. The zone must exist in the region where the managed instance group is located. func (o DistributionPolicyZoneConfigurationResponseOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v DistributionPolicyZoneConfigurationResponse) string { return v.Zone }).(pulumi.StringOutput) @@ -11431,6 +13040,12 @@ func (o DistributionPolicyZoneConfigurationResponseArrayOutput) ToDistributionPo return o } +func (o DistributionPolicyZoneConfigurationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DistributionPolicyZoneConfigurationResponse] { + return pulumix.Output[[]DistributionPolicyZoneConfigurationResponse]{ + OutputState: o.OutputState, + } +} + func (o DistributionPolicyZoneConfigurationResponseArrayOutput) Index(i pulumi.IntInput) DistributionPolicyZoneConfigurationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DistributionPolicyZoneConfigurationResponse { return vs[0].([]DistributionPolicyZoneConfigurationResponse)[vs[1].(int)] @@ -11476,6 +13091,12 @@ func (i DurationArgs) ToDurationOutputWithContext(ctx context.Context) DurationO return pulumi.ToOutputWithContext(ctx, i).(DurationOutput) } +func (i DurationArgs) ToOutput(ctx context.Context) pulumix.Output[Duration] { + return pulumix.Output[Duration]{ + OutputState: i.ToDurationOutputWithContext(ctx).OutputState, + } +} + func (i DurationArgs) ToDurationPtrOutput() DurationPtrOutput { return i.ToDurationPtrOutputWithContext(context.Background()) } @@ -11517,6 +13138,12 @@ func (i *durationPtrType) ToDurationPtrOutputWithContext(ctx context.Context) Du return pulumi.ToOutputWithContext(ctx, i).(DurationPtrOutput) } +func (i *durationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Duration] { + return pulumix.Output[*Duration]{ + OutputState: i.ToDurationPtrOutputWithContext(ctx).OutputState, + } +} + // A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years. type DurationOutput struct{ *pulumi.OutputState } @@ -11542,6 +13169,12 @@ func (o DurationOutput) ToDurationPtrOutputWithContext(ctx context.Context) Dura }).(DurationPtrOutput) } +func (o DurationOutput) ToOutput(ctx context.Context) pulumix.Output[Duration] { + return pulumix.Output[Duration]{ + OutputState: o.OutputState, + } +} + // Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive. func (o DurationOutput) Nanos() pulumi.IntPtrOutput { return o.ApplyT(func(v Duration) *int { return v.Nanos }).(pulumi.IntPtrOutput) @@ -11566,6 +13199,12 @@ func (o DurationPtrOutput) ToDurationPtrOutputWithContext(ctx context.Context) D return o } +func (o DurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Duration] { + return pulumix.Output[*Duration]{ + OutputState: o.OutputState, + } +} + func (o DurationPtrOutput) Elem() DurationOutput { return o.ApplyT(func(v *Duration) Duration { if v != nil { @@ -11619,6 +13258,12 @@ func (o DurationResponseOutput) ToDurationResponseOutputWithContext(ctx context. return o } +func (o DurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DurationResponse] { + return pulumix.Output[DurationResponse]{ + OutputState: o.OutputState, + } +} + // Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive. func (o DurationResponseOutput) Nanos() pulumi.IntOutput { return o.ApplyT(func(v DurationResponse) int { return v.Nanos }).(pulumi.IntOutput) @@ -11676,6 +13321,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -11717,6 +13368,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -11742,6 +13399,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -11776,6 +13439,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -11853,6 +13522,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -11912,6 +13587,12 @@ func (i ExternalVpnGatewayInterfaceArgs) ToExternalVpnGatewayInterfaceOutputWith return pulumi.ToOutputWithContext(ctx, i).(ExternalVpnGatewayInterfaceOutput) } +func (i ExternalVpnGatewayInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayInterface] { + return pulumix.Output[ExternalVpnGatewayInterface]{ + OutputState: i.ToExternalVpnGatewayInterfaceOutputWithContext(ctx).OutputState, + } +} + // ExternalVpnGatewayInterfaceArrayInput is an input type that accepts ExternalVpnGatewayInterfaceArray and ExternalVpnGatewayInterfaceArrayOutput values. // You can construct a concrete instance of `ExternalVpnGatewayInterfaceArrayInput` via: // @@ -11937,6 +13618,12 @@ func (i ExternalVpnGatewayInterfaceArray) ToExternalVpnGatewayInterfaceArrayOutp return pulumi.ToOutputWithContext(ctx, i).(ExternalVpnGatewayInterfaceArrayOutput) } +func (i ExternalVpnGatewayInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]ExternalVpnGatewayInterface] { + return pulumix.Output[[]ExternalVpnGatewayInterface]{ + OutputState: i.ToExternalVpnGatewayInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // The interface for the external VPN gateway. type ExternalVpnGatewayInterfaceOutput struct{ *pulumi.OutputState } @@ -11952,6 +13639,12 @@ func (o ExternalVpnGatewayInterfaceOutput) ToExternalVpnGatewayInterfaceOutputWi return o } +func (o ExternalVpnGatewayInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayInterface] { + return pulumix.Output[ExternalVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + // The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3 func (o ExternalVpnGatewayInterfaceOutput) Id() pulumi.IntPtrOutput { return o.ApplyT(func(v ExternalVpnGatewayInterface) *int { return v.Id }).(pulumi.IntPtrOutput) @@ -11976,6 +13669,12 @@ func (o ExternalVpnGatewayInterfaceArrayOutput) ToExternalVpnGatewayInterfaceArr return o } +func (o ExternalVpnGatewayInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExternalVpnGatewayInterface] { + return pulumix.Output[[]ExternalVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayInterfaceArrayOutput) Index(i pulumi.IntInput) ExternalVpnGatewayInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExternalVpnGatewayInterface { return vs[0].([]ExternalVpnGatewayInterface)[vs[1].(int)] @@ -12003,6 +13702,12 @@ func (o ExternalVpnGatewayInterfaceResponseOutput) ToExternalVpnGatewayInterface return o } +func (o ExternalVpnGatewayInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalVpnGatewayInterfaceResponse] { + return pulumix.Output[ExternalVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. func (o ExternalVpnGatewayInterfaceResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v ExternalVpnGatewayInterfaceResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -12022,6 +13727,12 @@ func (o ExternalVpnGatewayInterfaceResponseArrayOutput) ToExternalVpnGatewayInte return o } +func (o ExternalVpnGatewayInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExternalVpnGatewayInterfaceResponse] { + return pulumix.Output[[]ExternalVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o ExternalVpnGatewayInterfaceResponseArrayOutput) Index(i pulumi.IntInput) ExternalVpnGatewayInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExternalVpnGatewayInterfaceResponse { return vs[0].([]ExternalVpnGatewayInterfaceResponse)[vs[1].(int)] @@ -12065,6 +13776,12 @@ func (i FileContentBufferArgs) ToFileContentBufferOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(FileContentBufferOutput) } +func (i FileContentBufferArgs) ToOutput(ctx context.Context) pulumix.Output[FileContentBuffer] { + return pulumix.Output[FileContentBuffer]{ + OutputState: i.ToFileContentBufferOutputWithContext(ctx).OutputState, + } +} + func (i FileContentBufferArgs) ToFileContentBufferPtrOutput() FileContentBufferPtrOutput { return i.ToFileContentBufferPtrOutputWithContext(context.Background()) } @@ -12106,6 +13823,12 @@ func (i *fileContentBufferPtrType) ToFileContentBufferPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(FileContentBufferPtrOutput) } +func (i *fileContentBufferPtrType) ToOutput(ctx context.Context) pulumix.Output[*FileContentBuffer] { + return pulumix.Output[*FileContentBuffer]{ + OutputState: i.ToFileContentBufferPtrOutputWithContext(ctx).OutputState, + } +} + // FileContentBufferArrayInput is an input type that accepts FileContentBufferArray and FileContentBufferArrayOutput values. // You can construct a concrete instance of `FileContentBufferArrayInput` via: // @@ -12131,6 +13854,12 @@ func (i FileContentBufferArray) ToFileContentBufferArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(FileContentBufferArrayOutput) } +func (i FileContentBufferArray) ToOutput(ctx context.Context) pulumix.Output[[]FileContentBuffer] { + return pulumix.Output[[]FileContentBuffer]{ + OutputState: i.ToFileContentBufferArrayOutputWithContext(ctx).OutputState, + } +} + type FileContentBufferOutput struct{ *pulumi.OutputState } func (FileContentBufferOutput) ElementType() reflect.Type { @@ -12155,6 +13884,12 @@ func (o FileContentBufferOutput) ToFileContentBufferPtrOutputWithContext(ctx con }).(FileContentBufferPtrOutput) } +func (o FileContentBufferOutput) ToOutput(ctx context.Context) pulumix.Output[FileContentBuffer] { + return pulumix.Output[FileContentBuffer]{ + OutputState: o.OutputState, + } +} + // The raw content in the secure keys file. func (o FileContentBufferOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v FileContentBuffer) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -12179,6 +13914,12 @@ func (o FileContentBufferPtrOutput) ToFileContentBufferPtrOutputWithContext(ctx return o } +func (o FileContentBufferPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileContentBuffer] { + return pulumix.Output[*FileContentBuffer]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferPtrOutput) Elem() FileContentBufferOutput { return o.ApplyT(func(v *FileContentBuffer) FileContentBuffer { if v != nil { @@ -12223,6 +13964,12 @@ func (o FileContentBufferArrayOutput) ToFileContentBufferArrayOutputWithContext( return o } +func (o FileContentBufferArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileContentBuffer] { + return pulumix.Output[[]FileContentBuffer]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferArrayOutput) Index(i pulumi.IntInput) FileContentBufferOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileContentBuffer { return vs[0].([]FileContentBuffer)[vs[1].(int)] @@ -12250,6 +13997,12 @@ func (o FileContentBufferResponseOutput) ToFileContentBufferResponseOutputWithCo return o } +func (o FileContentBufferResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileContentBufferResponse] { + return pulumix.Output[FileContentBufferResponse]{ + OutputState: o.OutputState, + } +} + // The raw content in the secure keys file. func (o FileContentBufferResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v FileContentBufferResponse) string { return v.Content }).(pulumi.StringOutput) @@ -12274,6 +14027,12 @@ func (o FileContentBufferResponseArrayOutput) ToFileContentBufferResponseArrayOu return o } +func (o FileContentBufferResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileContentBufferResponse] { + return pulumix.Output[[]FileContentBufferResponse]{ + OutputState: o.OutputState, + } +} + func (o FileContentBufferResponseArrayOutput) Index(i pulumi.IntInput) FileContentBufferResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileContentBufferResponse { return vs[0].([]FileContentBufferResponse)[vs[1].(int)] @@ -12317,6 +14076,12 @@ func (i FirewallAllowedItemArgs) ToFirewallAllowedItemOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(FirewallAllowedItemOutput) } +func (i FirewallAllowedItemArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallAllowedItem] { + return pulumix.Output[FirewallAllowedItem]{ + OutputState: i.ToFirewallAllowedItemOutputWithContext(ctx).OutputState, + } +} + // FirewallAllowedItemArrayInput is an input type that accepts FirewallAllowedItemArray and FirewallAllowedItemArrayOutput values. // You can construct a concrete instance of `FirewallAllowedItemArrayInput` via: // @@ -12342,6 +14107,12 @@ func (i FirewallAllowedItemArray) ToFirewallAllowedItemArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(FirewallAllowedItemArrayOutput) } +func (i FirewallAllowedItemArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallAllowedItem] { + return pulumix.Output[[]FirewallAllowedItem]{ + OutputState: i.ToFirewallAllowedItemArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallAllowedItemOutput struct{ *pulumi.OutputState } func (FirewallAllowedItemOutput) ElementType() reflect.Type { @@ -12356,6 +14127,12 @@ func (o FirewallAllowedItemOutput) ToFirewallAllowedItemOutputWithContext(ctx co return o } +func (o FirewallAllowedItemOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallAllowedItem] { + return pulumix.Output[FirewallAllowedItem]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallAllowedItemOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallAllowedItem) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -12380,6 +14157,12 @@ func (o FirewallAllowedItemArrayOutput) ToFirewallAllowedItemArrayOutputWithCont return o } +func (o FirewallAllowedItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallAllowedItem] { + return pulumix.Output[[]FirewallAllowedItem]{ + OutputState: o.OutputState, + } +} + func (o FirewallAllowedItemArrayOutput) Index(i pulumi.IntInput) FirewallAllowedItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallAllowedItem { return vs[0].([]FirewallAllowedItem)[vs[1].(int)] @@ -12407,6 +14190,12 @@ func (o FirewallAllowedItemResponseOutput) ToFirewallAllowedItemResponseOutputWi return o } +func (o FirewallAllowedItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallAllowedItemResponse] { + return pulumix.Output[FirewallAllowedItemResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallAllowedItemResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v FirewallAllowedItemResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -12431,6 +14220,12 @@ func (o FirewallAllowedItemResponseArrayOutput) ToFirewallAllowedItemResponseArr return o } +func (o FirewallAllowedItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallAllowedItemResponse] { + return pulumix.Output[[]FirewallAllowedItemResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallAllowedItemResponseArrayOutput) Index(i pulumi.IntInput) FirewallAllowedItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallAllowedItemResponse { return vs[0].([]FirewallAllowedItemResponse)[vs[1].(int)] @@ -12474,6 +14269,12 @@ func (i FirewallDeniedItemArgs) ToFirewallDeniedItemOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(FirewallDeniedItemOutput) } +func (i FirewallDeniedItemArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallDeniedItem] { + return pulumix.Output[FirewallDeniedItem]{ + OutputState: i.ToFirewallDeniedItemOutputWithContext(ctx).OutputState, + } +} + // FirewallDeniedItemArrayInput is an input type that accepts FirewallDeniedItemArray and FirewallDeniedItemArrayOutput values. // You can construct a concrete instance of `FirewallDeniedItemArrayInput` via: // @@ -12499,6 +14300,12 @@ func (i FirewallDeniedItemArray) ToFirewallDeniedItemArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallDeniedItemArrayOutput) } +func (i FirewallDeniedItemArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallDeniedItem] { + return pulumix.Output[[]FirewallDeniedItem]{ + OutputState: i.ToFirewallDeniedItemArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallDeniedItemOutput struct{ *pulumi.OutputState } func (FirewallDeniedItemOutput) ElementType() reflect.Type { @@ -12513,6 +14320,12 @@ func (o FirewallDeniedItemOutput) ToFirewallDeniedItemOutputWithContext(ctx cont return o } +func (o FirewallDeniedItemOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallDeniedItem] { + return pulumix.Output[FirewallDeniedItem]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallDeniedItemOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallDeniedItem) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -12537,6 +14350,12 @@ func (o FirewallDeniedItemArrayOutput) ToFirewallDeniedItemArrayOutputWithContex return o } +func (o FirewallDeniedItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallDeniedItem] { + return pulumix.Output[[]FirewallDeniedItem]{ + OutputState: o.OutputState, + } +} + func (o FirewallDeniedItemArrayOutput) Index(i pulumi.IntInput) FirewallDeniedItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallDeniedItem { return vs[0].([]FirewallDeniedItem)[vs[1].(int)] @@ -12564,6 +14383,12 @@ func (o FirewallDeniedItemResponseOutput) ToFirewallDeniedItemResponseOutputWith return o } +func (o FirewallDeniedItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallDeniedItemResponse] { + return pulumix.Output[FirewallDeniedItemResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. func (o FirewallDeniedItemResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v FirewallDeniedItemResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -12588,6 +14413,12 @@ func (o FirewallDeniedItemResponseArrayOutput) ToFirewallDeniedItemResponseArray return o } +func (o FirewallDeniedItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallDeniedItemResponse] { + return pulumix.Output[[]FirewallDeniedItemResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallDeniedItemResponseArrayOutput) Index(i pulumi.IntInput) FirewallDeniedItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallDeniedItemResponse { return vs[0].([]FirewallDeniedItemResponse)[vs[1].(int)] @@ -12633,6 +14464,12 @@ func (i FirewallLogConfigArgs) ToFirewallLogConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(FirewallLogConfigOutput) } +func (i FirewallLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfig] { + return pulumix.Output[FirewallLogConfig]{ + OutputState: i.ToFirewallLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i FirewallLogConfigArgs) ToFirewallLogConfigPtrOutput() FirewallLogConfigPtrOutput { return i.ToFirewallLogConfigPtrOutputWithContext(context.Background()) } @@ -12674,6 +14511,12 @@ func (i *firewallLogConfigPtrType) ToFirewallLogConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(FirewallLogConfigPtrOutput) } +func (i *firewallLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfig] { + return pulumix.Output[*FirewallLogConfig]{ + OutputState: i.ToFirewallLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The available logging options for a firewall rule. type FirewallLogConfigOutput struct{ *pulumi.OutputState } @@ -12699,6 +14542,12 @@ func (o FirewallLogConfigOutput) ToFirewallLogConfigPtrOutputWithContext(ctx con }).(FirewallLogConfigPtrOutput) } +func (o FirewallLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfig] { + return pulumix.Output[FirewallLogConfig]{ + OutputState: o.OutputState, + } +} + // This field denotes whether to enable logging for a particular firewall rule. func (o FirewallLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v FirewallLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -12723,6 +14572,12 @@ func (o FirewallLogConfigPtrOutput) ToFirewallLogConfigPtrOutputWithContext(ctx return o } +func (o FirewallLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallLogConfig] { + return pulumix.Output[*FirewallLogConfig]{ + OutputState: o.OutputState, + } +} + func (o FirewallLogConfigPtrOutput) Elem() FirewallLogConfigOutput { return o.ApplyT(func(v *FirewallLogConfig) FirewallLogConfig { if v != nil { @@ -12776,6 +14631,12 @@ func (o FirewallLogConfigResponseOutput) ToFirewallLogConfigResponseOutputWithCo return o } +func (o FirewallLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallLogConfigResponse] { + return pulumix.Output[FirewallLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // This field denotes whether to enable logging for a particular firewall rule. func (o FirewallLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v FirewallLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -12823,6 +14684,12 @@ func (i FirewallPolicyAssociationArgs) ToFirewallPolicyAssociationOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyAssociationOutput) } +func (i FirewallPolicyAssociationArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyAssociation] { + return pulumix.Output[FirewallPolicyAssociation]{ + OutputState: i.ToFirewallPolicyAssociationOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyAssociationArrayInput is an input type that accepts FirewallPolicyAssociationArray and FirewallPolicyAssociationArrayOutput values. // You can construct a concrete instance of `FirewallPolicyAssociationArrayInput` via: // @@ -12848,6 +14715,12 @@ func (i FirewallPolicyAssociationArray) ToFirewallPolicyAssociationArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyAssociationArrayOutput) } +func (i FirewallPolicyAssociationArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyAssociation] { + return pulumix.Output[[]FirewallPolicyAssociation]{ + OutputState: i.ToFirewallPolicyAssociationArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyAssociationOutput struct{ *pulumi.OutputState } func (FirewallPolicyAssociationOutput) ElementType() reflect.Type { @@ -12862,6 +14735,12 @@ func (o FirewallPolicyAssociationOutput) ToFirewallPolicyAssociationOutputWithCo return o } +func (o FirewallPolicyAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyAssociation] { + return pulumix.Output[FirewallPolicyAssociation]{ + OutputState: o.OutputState, + } +} + // The target that the firewall policy is attached to. func (o FirewallPolicyAssociationOutput) AttachmentTarget() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyAssociation) *string { return v.AttachmentTarget }).(pulumi.StringPtrOutput) @@ -12886,6 +14765,12 @@ func (o FirewallPolicyAssociationArrayOutput) ToFirewallPolicyAssociationArrayOu return o } +func (o FirewallPolicyAssociationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyAssociation] { + return pulumix.Output[[]FirewallPolicyAssociation]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyAssociationArrayOutput) Index(i pulumi.IntInput) FirewallPolicyAssociationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyAssociation { return vs[0].([]FirewallPolicyAssociation)[vs[1].(int)] @@ -12919,6 +14804,12 @@ func (o FirewallPolicyAssociationResponseOutput) ToFirewallPolicyAssociationResp return o } +func (o FirewallPolicyAssociationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyAssociationResponse] { + return pulumix.Output[FirewallPolicyAssociationResponse]{ + OutputState: o.OutputState, + } +} + // The target that the firewall policy is attached to. func (o FirewallPolicyAssociationResponseOutput) AttachmentTarget() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyAssociationResponse) string { return v.AttachmentTarget }).(pulumi.StringOutput) @@ -12958,6 +14849,12 @@ func (o FirewallPolicyAssociationResponseArrayOutput) ToFirewallPolicyAssociatio return o } +func (o FirewallPolicyAssociationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyAssociationResponse] { + return pulumix.Output[[]FirewallPolicyAssociationResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyAssociationResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyAssociationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyAssociationResponse { return vs[0].([]FirewallPolicyAssociationResponse)[vs[1].(int)] @@ -13039,6 +14936,12 @@ func (i FirewallPolicyRuleArgs) ToFirewallPolicyRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleOutput) } +func (i FirewallPolicyRuleArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRule] { + return pulumix.Output[FirewallPolicyRule]{ + OutputState: i.ToFirewallPolicyRuleOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyRuleArrayInput is an input type that accepts FirewallPolicyRuleArray and FirewallPolicyRuleArrayOutput values. // You can construct a concrete instance of `FirewallPolicyRuleArrayInput` via: // @@ -13064,6 +14967,12 @@ func (i FirewallPolicyRuleArray) ToFirewallPolicyRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleArrayOutput) } +func (i FirewallPolicyRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRule] { + return pulumix.Output[[]FirewallPolicyRule]{ + OutputState: i.ToFirewallPolicyRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). type FirewallPolicyRuleOutput struct{ *pulumi.OutputState } @@ -13079,6 +14988,12 @@ func (o FirewallPolicyRuleOutput) ToFirewallPolicyRuleOutputWithContext(ctx cont return o } +func (o FirewallPolicyRuleOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRule] { + return pulumix.Output[FirewallPolicyRule]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". func (o FirewallPolicyRuleOutput) Action() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyRule) *string { return v.Action }).(pulumi.StringPtrOutput) @@ -13148,6 +15063,12 @@ func (o FirewallPolicyRuleArrayOutput) ToFirewallPolicyRuleArrayOutputWithContex return o } +func (o FirewallPolicyRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRule] { + return pulumix.Output[[]FirewallPolicyRule]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRule { return vs[0].([]FirewallPolicyRule)[vs[1].(int)] @@ -13233,6 +15154,12 @@ func (i FirewallPolicyRuleMatcherArgs) ToFirewallPolicyRuleMatcherOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherOutput) } +func (i FirewallPolicyRuleMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcher] { + return pulumix.Output[FirewallPolicyRuleMatcher]{ + OutputState: i.ToFirewallPolicyRuleMatcherOutputWithContext(ctx).OutputState, + } +} + func (i FirewallPolicyRuleMatcherArgs) ToFirewallPolicyRuleMatcherPtrOutput() FirewallPolicyRuleMatcherPtrOutput { return i.ToFirewallPolicyRuleMatcherPtrOutputWithContext(context.Background()) } @@ -13274,6 +15201,12 @@ func (i *firewallPolicyRuleMatcherPtrType) ToFirewallPolicyRuleMatcherPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherPtrOutput) } +func (i *firewallPolicyRuleMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleMatcher] { + return pulumix.Output[*FirewallPolicyRuleMatcher]{ + OutputState: i.ToFirewallPolicyRuleMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. type FirewallPolicyRuleMatcherOutput struct{ *pulumi.OutputState } @@ -13299,6 +15232,12 @@ func (o FirewallPolicyRuleMatcherOutput) ToFirewallPolicyRuleMatcherPtrOutputWit }).(FirewallPolicyRuleMatcherPtrOutput) } +func (o FirewallPolicyRuleMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcher] { + return pulumix.Output[FirewallPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + // Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. func (o FirewallPolicyRuleMatcherOutput) DestAddressGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcher) []string { return v.DestAddressGroups }).(pulumi.StringArrayOutput) @@ -13373,6 +15312,12 @@ func (o FirewallPolicyRuleMatcherPtrOutput) ToFirewallPolicyRuleMatcherPtrOutput return o } +func (o FirewallPolicyRuleMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FirewallPolicyRuleMatcher] { + return pulumix.Output[*FirewallPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleMatcherPtrOutput) Elem() FirewallPolicyRuleMatcherOutput { return o.ApplyT(func(v *FirewallPolicyRuleMatcher) FirewallPolicyRuleMatcher { if v != nil { @@ -13540,6 +15485,12 @@ func (i FirewallPolicyRuleMatcherLayer4ConfigArgs) ToFirewallPolicyRuleMatcherLa return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherLayer4ConfigOutput) } +func (i FirewallPolicyRuleMatcherLayer4ConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: i.ToFirewallPolicyRuleMatcherLayer4ConfigOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyRuleMatcherLayer4ConfigArrayInput is an input type that accepts FirewallPolicyRuleMatcherLayer4ConfigArray and FirewallPolicyRuleMatcherLayer4ConfigArrayOutput values. // You can construct a concrete instance of `FirewallPolicyRuleMatcherLayer4ConfigArrayInput` via: // @@ -13565,6 +15516,12 @@ func (i FirewallPolicyRuleMatcherLayer4ConfigArray) ToFirewallPolicyRuleMatcherL return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) } +func (i FirewallPolicyRuleMatcherLayer4ConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: i.ToFirewallPolicyRuleMatcherLayer4ConfigArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyRuleMatcherLayer4ConfigOutput struct{ *pulumi.OutputState } func (FirewallPolicyRuleMatcherLayer4ConfigOutput) ElementType() reflect.Type { @@ -13579,6 +15536,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigOutput) ToFirewallPolicyRuleMatcher return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o FirewallPolicyRuleMatcherLayer4ConfigOutput) IpProtocol() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcherLayer4Config) *string { return v.IpProtocol }).(pulumi.StringPtrOutput) @@ -13603,6 +15566,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) ToFirewallPolicyRuleMa return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config] { + return pulumix.Output[[]FirewallPolicyRuleMatcherLayer4Config]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleMatcherLayer4ConfigArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleMatcherLayer4ConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleMatcherLayer4Config { return vs[0].([]FirewallPolicyRuleMatcherLayer4Config)[vs[1].(int)] @@ -13630,6 +15599,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigResponseOutput) ToFirewallPolicyRul return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherLayer4ConfigResponse] { + return pulumix.Output[FirewallPolicyRuleMatcherLayer4ConfigResponse]{ + OutputState: o.OutputState, + } +} + // The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. func (o FirewallPolicyRuleMatcherLayer4ConfigResponseOutput) IpProtocol() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcherLayer4ConfigResponse) string { return v.IpProtocol }).(pulumi.StringOutput) @@ -13654,6 +15629,12 @@ func (o FirewallPolicyRuleMatcherLayer4ConfigResponseArrayOutput) ToFirewallPoli return o } +func (o FirewallPolicyRuleMatcherLayer4ConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleMatcherLayer4ConfigResponse] { + return pulumix.Output[[]FirewallPolicyRuleMatcherLayer4ConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleMatcherLayer4ConfigResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleMatcherLayer4ConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleMatcherLayer4ConfigResponse { return vs[0].([]FirewallPolicyRuleMatcherLayer4ConfigResponse)[vs[1].(int)] @@ -13703,6 +15684,12 @@ func (o FirewallPolicyRuleMatcherResponseOutput) ToFirewallPolicyRuleMatcherResp return o } +func (o FirewallPolicyRuleMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleMatcherResponse] { + return pulumix.Output[FirewallPolicyRuleMatcherResponse]{ + OutputState: o.OutputState, + } +} + // Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. func (o FirewallPolicyRuleMatcherResponseOutput) DestAddressGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v FirewallPolicyRuleMatcherResponse) []string { return v.DestAddressGroups }).(pulumi.StringArrayOutput) @@ -13812,6 +15799,12 @@ func (o FirewallPolicyRuleResponseOutput) ToFirewallPolicyRuleResponseOutputWith return o } +func (o FirewallPolicyRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleResponse] { + return pulumix.Output[FirewallPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next". func (o FirewallPolicyRuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyRuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -13891,6 +15884,12 @@ func (o FirewallPolicyRuleResponseArrayOutput) ToFirewallPolicyRuleResponseArray return o } +func (o FirewallPolicyRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleResponse] { + return pulumix.Output[[]FirewallPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleResponse { return vs[0].([]FirewallPolicyRuleResponse)[vs[1].(int)] @@ -13930,6 +15929,12 @@ func (i FirewallPolicyRuleSecureTagArgs) ToFirewallPolicyRuleSecureTagOutputWith return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleSecureTagOutput) } +func (i FirewallPolicyRuleSecureTagArgs) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleSecureTag] { + return pulumix.Output[FirewallPolicyRuleSecureTag]{ + OutputState: i.ToFirewallPolicyRuleSecureTagOutputWithContext(ctx).OutputState, + } +} + // FirewallPolicyRuleSecureTagArrayInput is an input type that accepts FirewallPolicyRuleSecureTagArray and FirewallPolicyRuleSecureTagArrayOutput values. // You can construct a concrete instance of `FirewallPolicyRuleSecureTagArrayInput` via: // @@ -13955,6 +15960,12 @@ func (i FirewallPolicyRuleSecureTagArray) ToFirewallPolicyRuleSecureTagArrayOutp return pulumi.ToOutputWithContext(ctx, i).(FirewallPolicyRuleSecureTagArrayOutput) } +func (i FirewallPolicyRuleSecureTagArray) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleSecureTag] { + return pulumix.Output[[]FirewallPolicyRuleSecureTag]{ + OutputState: i.ToFirewallPolicyRuleSecureTagArrayOutputWithContext(ctx).OutputState, + } +} + type FirewallPolicyRuleSecureTagOutput struct{ *pulumi.OutputState } func (FirewallPolicyRuleSecureTagOutput) ElementType() reflect.Type { @@ -13969,6 +15980,12 @@ func (o FirewallPolicyRuleSecureTagOutput) ToFirewallPolicyRuleSecureTagOutputWi return o } +func (o FirewallPolicyRuleSecureTagOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleSecureTag] { + return pulumix.Output[FirewallPolicyRuleSecureTag]{ + OutputState: o.OutputState, + } +} + // Name of the secure tag, created with TagManager's TagValue API. func (o FirewallPolicyRuleSecureTagOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v FirewallPolicyRuleSecureTag) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -13988,6 +16005,12 @@ func (o FirewallPolicyRuleSecureTagArrayOutput) ToFirewallPolicyRuleSecureTagArr return o } +func (o FirewallPolicyRuleSecureTagArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleSecureTag] { + return pulumix.Output[[]FirewallPolicyRuleSecureTag]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleSecureTagArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleSecureTagOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleSecureTag { return vs[0].([]FirewallPolicyRuleSecureTag)[vs[1].(int)] @@ -14015,6 +16038,12 @@ func (o FirewallPolicyRuleSecureTagResponseOutput) ToFirewallPolicyRuleSecureTag return o } +func (o FirewallPolicyRuleSecureTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallPolicyRuleSecureTagResponse] { + return pulumix.Output[FirewallPolicyRuleSecureTagResponse]{ + OutputState: o.OutputState, + } +} + // Name of the secure tag, created with TagManager's TagValue API. func (o FirewallPolicyRuleSecureTagResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v FirewallPolicyRuleSecureTagResponse) string { return v.Name }).(pulumi.StringOutput) @@ -14039,6 +16068,12 @@ func (o FirewallPolicyRuleSecureTagResponseArrayOutput) ToFirewallPolicyRuleSecu return o } +func (o FirewallPolicyRuleSecureTagResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FirewallPolicyRuleSecureTagResponse] { + return pulumix.Output[[]FirewallPolicyRuleSecureTagResponse]{ + OutputState: o.OutputState, + } +} + func (o FirewallPolicyRuleSecureTagResponseArrayOutput) Index(i pulumi.IntInput) FirewallPolicyRuleSecureTagResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FirewallPolicyRuleSecureTagResponse { return vs[0].([]FirewallPolicyRuleSecureTagResponse)[vs[1].(int)] @@ -14084,6 +16119,12 @@ func (i FixedOrPercentArgs) ToFixedOrPercentOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentOutput) } +func (i FixedOrPercentArgs) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: i.ToFixedOrPercentOutputWithContext(ctx).OutputState, + } +} + func (i FixedOrPercentArgs) ToFixedOrPercentPtrOutput() FixedOrPercentPtrOutput { return i.ToFixedOrPercentPtrOutputWithContext(context.Background()) } @@ -14125,6 +16166,12 @@ func (i *fixedOrPercentPtrType) ToFixedOrPercentPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentPtrOutput) } +func (i *fixedOrPercentPtrType) ToOutput(ctx context.Context) pulumix.Output[*FixedOrPercent] { + return pulumix.Output[*FixedOrPercent]{ + OutputState: i.ToFixedOrPercentPtrOutputWithContext(ctx).OutputState, + } +} + // Encapsulates numeric value that can be either absolute or relative. type FixedOrPercentOutput struct{ *pulumi.OutputState } @@ -14150,6 +16197,12 @@ func (o FixedOrPercentOutput) ToFixedOrPercentPtrOutputWithContext(ctx context.C }).(FixedOrPercentPtrOutput) } +func (o FixedOrPercentOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: o.OutputState, + } +} + // Specifies a fixed number of VM instances. This must be a positive integer. func (o FixedOrPercentOutput) Fixed() pulumi.IntPtrOutput { return o.ApplyT(func(v FixedOrPercent) *int { return v.Fixed }).(pulumi.IntPtrOutput) @@ -14174,6 +16227,12 @@ func (o FixedOrPercentPtrOutput) ToFixedOrPercentPtrOutputWithContext(ctx contex return o } +func (o FixedOrPercentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FixedOrPercent] { + return pulumix.Output[*FixedOrPercent]{ + OutputState: o.OutputState, + } +} + func (o FixedOrPercentPtrOutput) Elem() FixedOrPercentOutput { return o.ApplyT(func(v *FixedOrPercent) FixedOrPercent { if v != nil { @@ -14229,6 +16288,12 @@ func (o FixedOrPercentResponseOutput) ToFixedOrPercentResponseOutputWithContext( return o } +func (o FixedOrPercentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercentResponse] { + return pulumix.Output[FixedOrPercentResponse]{ + OutputState: o.OutputState, + } +} + // Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded. func (o FixedOrPercentResponseOutput) Calculated() pulumi.IntOutput { return o.ApplyT(func(v FixedOrPercentResponse) int { return v.Calculated }).(pulumi.IntOutput) @@ -14287,6 +16352,12 @@ func (i ForwardingRuleServiceDirectoryRegistrationArgs) ToForwardingRuleServiceD return pulumi.ToOutputWithContext(ctx, i).(ForwardingRuleServiceDirectoryRegistrationOutput) } +func (i ForwardingRuleServiceDirectoryRegistrationArgs) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[ForwardingRuleServiceDirectoryRegistration]{ + OutputState: i.ToForwardingRuleServiceDirectoryRegistrationOutputWithContext(ctx).OutputState, + } +} + // ForwardingRuleServiceDirectoryRegistrationArrayInput is an input type that accepts ForwardingRuleServiceDirectoryRegistrationArray and ForwardingRuleServiceDirectoryRegistrationArrayOutput values. // You can construct a concrete instance of `ForwardingRuleServiceDirectoryRegistrationArrayInput` via: // @@ -14312,6 +16383,12 @@ func (i ForwardingRuleServiceDirectoryRegistrationArray) ToForwardingRuleService return pulumi.ToOutputWithContext(ctx, i).(ForwardingRuleServiceDirectoryRegistrationArrayOutput) } +func (i ForwardingRuleServiceDirectoryRegistrationArray) ToOutput(ctx context.Context) pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration]{ + OutputState: i.ToForwardingRuleServiceDirectoryRegistrationArrayOutputWithContext(ctx).OutputState, + } +} + // Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule. type ForwardingRuleServiceDirectoryRegistrationOutput struct{ *pulumi.OutputState } @@ -14327,6 +16404,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationOutput) ToForwardingRuleServic return o } +func (o ForwardingRuleServiceDirectoryRegistrationOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[ForwardingRuleServiceDirectoryRegistration]{ + OutputState: o.OutputState, + } +} + // Service Directory namespace to register the forwarding rule under. func (o ForwardingRuleServiceDirectoryRegistrationOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v ForwardingRuleServiceDirectoryRegistration) *string { return v.Namespace }).(pulumi.StringPtrOutput) @@ -14356,6 +16439,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationArrayOutput) ToForwardingRuleS return o } +func (o ForwardingRuleServiceDirectoryRegistrationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration] { + return pulumix.Output[[]ForwardingRuleServiceDirectoryRegistration]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleServiceDirectoryRegistrationArrayOutput) Index(i pulumi.IntInput) ForwardingRuleServiceDirectoryRegistrationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ForwardingRuleServiceDirectoryRegistration { return vs[0].([]ForwardingRuleServiceDirectoryRegistration)[vs[1].(int)] @@ -14387,6 +16476,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationResponseOutput) ToForwardingRu return o } +func (o ForwardingRuleServiceDirectoryRegistrationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleServiceDirectoryRegistrationResponse] { + return pulumix.Output[ForwardingRuleServiceDirectoryRegistrationResponse]{ + OutputState: o.OutputState, + } +} + // Service Directory namespace to register the forwarding rule under. func (o ForwardingRuleServiceDirectoryRegistrationResponseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v ForwardingRuleServiceDirectoryRegistrationResponse) string { return v.Namespace }).(pulumi.StringOutput) @@ -14416,6 +16511,12 @@ func (o ForwardingRuleServiceDirectoryRegistrationResponseArrayOutput) ToForward return o } +func (o ForwardingRuleServiceDirectoryRegistrationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ForwardingRuleServiceDirectoryRegistrationResponse] { + return pulumix.Output[[]ForwardingRuleServiceDirectoryRegistrationResponse]{ + OutputState: o.OutputState, + } +} + func (o ForwardingRuleServiceDirectoryRegistrationResponseArrayOutput) Index(i pulumi.IntInput) ForwardingRuleServiceDirectoryRegistrationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ForwardingRuleServiceDirectoryRegistrationResponse { return vs[0].([]ForwardingRuleServiceDirectoryRegistrationResponse)[vs[1].(int)] @@ -14467,6 +16568,12 @@ func (i GRPCHealthCheckArgs) ToGRPCHealthCheckOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GRPCHealthCheckOutput) } +func (i GRPCHealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheck] { + return pulumix.Output[GRPCHealthCheck]{ + OutputState: i.ToGRPCHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i GRPCHealthCheckArgs) ToGRPCHealthCheckPtrOutput() GRPCHealthCheckPtrOutput { return i.ToGRPCHealthCheckPtrOutputWithContext(context.Background()) } @@ -14508,6 +16615,12 @@ func (i *grpchealthCheckPtrType) ToGRPCHealthCheckPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GRPCHealthCheckPtrOutput) } +func (i *grpchealthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheck] { + return pulumix.Output[*GRPCHealthCheck]{ + OutputState: i.ToGRPCHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type GRPCHealthCheckOutput struct{ *pulumi.OutputState } func (GRPCHealthCheckOutput) ElementType() reflect.Type { @@ -14532,6 +16645,12 @@ func (o GRPCHealthCheckOutput) ToGRPCHealthCheckPtrOutputWithContext(ctx context }).(GRPCHealthCheckPtrOutput) } +func (o GRPCHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheck] { + return pulumix.Output[GRPCHealthCheck]{ + OutputState: o.OutputState, + } +} + // The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII. func (o GRPCHealthCheckOutput) GrpcServiceName() pulumi.StringPtrOutput { return o.ApplyT(func(v GRPCHealthCheck) *string { return v.GrpcServiceName }).(pulumi.StringPtrOutput) @@ -14566,6 +16685,12 @@ func (o GRPCHealthCheckPtrOutput) ToGRPCHealthCheckPtrOutputWithContext(ctx cont return o } +func (o GRPCHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GRPCHealthCheck] { + return pulumix.Output[*GRPCHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o GRPCHealthCheckPtrOutput) Elem() GRPCHealthCheckOutput { return o.ApplyT(func(v *GRPCHealthCheck) GRPCHealthCheck { if v != nil { @@ -14641,6 +16766,12 @@ func (o GRPCHealthCheckResponseOutput) ToGRPCHealthCheckResponseOutputWithContex return o } +func (o GRPCHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCHealthCheckResponse] { + return pulumix.Output[GRPCHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII. func (o GRPCHealthCheckResponseOutput) GrpcServiceName() pulumi.StringOutput { return o.ApplyT(func(v GRPCHealthCheckResponse) string { return v.GrpcServiceName }).(pulumi.StringOutput) @@ -14696,6 +16827,12 @@ func (i GuestOsFeatureArgs) ToGuestOsFeatureOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GuestOsFeatureOutput) } +func (i GuestOsFeatureArgs) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeature] { + return pulumix.Output[GuestOsFeature]{ + OutputState: i.ToGuestOsFeatureOutputWithContext(ctx).OutputState, + } +} + // GuestOsFeatureArrayInput is an input type that accepts GuestOsFeatureArray and GuestOsFeatureArrayOutput values. // You can construct a concrete instance of `GuestOsFeatureArrayInput` via: // @@ -14721,6 +16858,12 @@ func (i GuestOsFeatureArray) ToGuestOsFeatureArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GuestOsFeatureArrayOutput) } +func (i GuestOsFeatureArray) ToOutput(ctx context.Context) pulumix.Output[[]GuestOsFeature] { + return pulumix.Output[[]GuestOsFeature]{ + OutputState: i.ToGuestOsFeatureArrayOutputWithContext(ctx).OutputState, + } +} + // Guest OS features. type GuestOsFeatureOutput struct{ *pulumi.OutputState } @@ -14736,6 +16879,12 @@ func (o GuestOsFeatureOutput) ToGuestOsFeatureOutputWithContext(ctx context.Cont return o } +func (o GuestOsFeatureOutput) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeature] { + return pulumix.Output[GuestOsFeature]{ + OutputState: o.OutputState, + } +} + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features. func (o GuestOsFeatureOutput) Type() GuestOsFeatureTypePtrOutput { return o.ApplyT(func(v GuestOsFeature) *GuestOsFeatureType { return v.Type }).(GuestOsFeatureTypePtrOutput) @@ -14755,6 +16904,12 @@ func (o GuestOsFeatureArrayOutput) ToGuestOsFeatureArrayOutputWithContext(ctx co return o } +func (o GuestOsFeatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GuestOsFeature] { + return pulumix.Output[[]GuestOsFeature]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureArrayOutput) Index(i pulumi.IntInput) GuestOsFeatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GuestOsFeature { return vs[0].([]GuestOsFeature)[vs[1].(int)] @@ -14782,6 +16937,12 @@ func (o GuestOsFeatureResponseOutput) ToGuestOsFeatureResponseOutputWithContext( return o } +func (o GuestOsFeatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeatureResponse] { + return pulumix.Output[GuestOsFeatureResponse]{ + OutputState: o.OutputState, + } +} + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information, see Enabling guest operating system features. func (o GuestOsFeatureResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GuestOsFeatureResponse) string { return v.Type }).(pulumi.StringOutput) @@ -14801,6 +16962,12 @@ func (o GuestOsFeatureResponseArrayOutput) ToGuestOsFeatureResponseArrayOutputWi return o } +func (o GuestOsFeatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GuestOsFeatureResponse] { + return pulumix.Output[[]GuestOsFeatureResponse]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureResponseArrayOutput) Index(i pulumi.IntInput) GuestOsFeatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GuestOsFeatureResponse { return vs[0].([]GuestOsFeatureResponse)[vs[1].(int)] @@ -14864,6 +17031,12 @@ func (i HTTP2HealthCheckArgs) ToHTTP2HealthCheckOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HTTP2HealthCheckOutput) } +func (i HTTP2HealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheck] { + return pulumix.Output[HTTP2HealthCheck]{ + OutputState: i.ToHTTP2HealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i HTTP2HealthCheckArgs) ToHTTP2HealthCheckPtrOutput() HTTP2HealthCheckPtrOutput { return i.ToHTTP2HealthCheckPtrOutputWithContext(context.Background()) } @@ -14905,6 +17078,12 @@ func (i *http2healthCheckPtrType) ToHTTP2HealthCheckPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(HTTP2HealthCheckPtrOutput) } +func (i *http2healthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheck] { + return pulumix.Output[*HTTP2HealthCheck]{ + OutputState: i.ToHTTP2HealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type HTTP2HealthCheckOutput struct{ *pulumi.OutputState } func (HTTP2HealthCheckOutput) ElementType() reflect.Type { @@ -14929,6 +17108,12 @@ func (o HTTP2HealthCheckOutput) ToHTTP2HealthCheckPtrOutputWithContext(ctx conte }).(HTTP2HealthCheckPtrOutput) } +func (o HTTP2HealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheck] { + return pulumix.Output[HTTP2HealthCheck]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP/2 health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTP2HealthCheckOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v HTTP2HealthCheck) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -14978,6 +17163,12 @@ func (o HTTP2HealthCheckPtrOutput) ToHTTP2HealthCheckPtrOutputWithContext(ctx co return o } +func (o HTTP2HealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTP2HealthCheck] { + return pulumix.Output[*HTTP2HealthCheck]{ + OutputState: o.OutputState, + } +} + func (o HTTP2HealthCheckPtrOutput) Elem() HTTP2HealthCheckOutput { return o.ApplyT(func(v *HTTP2HealthCheck) HTTP2HealthCheck { if v != nil { @@ -15089,6 +17280,12 @@ func (o HTTP2HealthCheckResponseOutput) ToHTTP2HealthCheckResponseOutputWithCont return o } +func (o HTTP2HealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTP2HealthCheckResponse] { + return pulumix.Output[HTTP2HealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP/2 health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTP2HealthCheckResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v HTTP2HealthCheckResponse) string { return v.Host }).(pulumi.StringOutput) @@ -15181,6 +17378,12 @@ func (i HTTPHealthCheckTypeArgs) ToHTTPHealthCheckTypeOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HTTPHealthCheckTypeOutput) } +func (i HTTPHealthCheckTypeArgs) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckType] { + return pulumix.Output[HTTPHealthCheckType]{ + OutputState: i.ToHTTPHealthCheckTypeOutputWithContext(ctx).OutputState, + } +} + func (i HTTPHealthCheckTypeArgs) ToHTTPHealthCheckTypePtrOutput() HTTPHealthCheckTypePtrOutput { return i.ToHTTPHealthCheckTypePtrOutputWithContext(context.Background()) } @@ -15222,6 +17425,12 @@ func (i *httphealthCheckTypePtrType) ToHTTPHealthCheckTypePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(HTTPHealthCheckTypePtrOutput) } +func (i *httphealthCheckTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckType] { + return pulumix.Output[*HTTPHealthCheckType]{ + OutputState: i.ToHTTPHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + type HTTPHealthCheckTypeOutput struct{ *pulumi.OutputState } func (HTTPHealthCheckTypeOutput) ElementType() reflect.Type { @@ -15246,6 +17455,12 @@ func (o HTTPHealthCheckTypeOutput) ToHTTPHealthCheckTypePtrOutputWithContext(ctx }).(HTTPHealthCheckTypePtrOutput) } +func (o HTTPHealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckType] { + return pulumix.Output[HTTPHealthCheckType]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPHealthCheckTypeOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v HTTPHealthCheckType) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -15295,6 +17510,12 @@ func (o HTTPHealthCheckTypePtrOutput) ToHTTPHealthCheckTypePtrOutputWithContext( return o } +func (o HTTPHealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPHealthCheckType] { + return pulumix.Output[*HTTPHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HTTPHealthCheckTypePtrOutput) Elem() HTTPHealthCheckTypeOutput { return o.ApplyT(func(v *HTTPHealthCheckType) HTTPHealthCheckType { if v != nil { @@ -15406,6 +17627,12 @@ func (o HTTPHealthCheckResponseOutput) ToHTTPHealthCheckResponseOutputWithContex return o } +func (o HTTPHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHealthCheckResponse] { + return pulumix.Output[HTTPHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPHealthCheckResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v HTTPHealthCheckResponse) string { return v.Host }).(pulumi.StringOutput) @@ -15498,6 +17725,12 @@ func (i HTTPSHealthCheckTypeArgs) ToHTTPSHealthCheckTypeOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HTTPSHealthCheckTypeOutput) } +func (i HTTPSHealthCheckTypeArgs) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckType] { + return pulumix.Output[HTTPSHealthCheckType]{ + OutputState: i.ToHTTPSHealthCheckTypeOutputWithContext(ctx).OutputState, + } +} + func (i HTTPSHealthCheckTypeArgs) ToHTTPSHealthCheckTypePtrOutput() HTTPSHealthCheckTypePtrOutput { return i.ToHTTPSHealthCheckTypePtrOutputWithContext(context.Background()) } @@ -15539,6 +17772,12 @@ func (i *httpshealthCheckTypePtrType) ToHTTPSHealthCheckTypePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HTTPSHealthCheckTypePtrOutput) } +func (i *httpshealthCheckTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckType] { + return pulumix.Output[*HTTPSHealthCheckType]{ + OutputState: i.ToHTTPSHealthCheckTypePtrOutputWithContext(ctx).OutputState, + } +} + type HTTPSHealthCheckTypeOutput struct{ *pulumi.OutputState } func (HTTPSHealthCheckTypeOutput) ElementType() reflect.Type { @@ -15563,6 +17802,12 @@ func (o HTTPSHealthCheckTypeOutput) ToHTTPSHealthCheckTypePtrOutputWithContext(c }).(HTTPSHealthCheckTypePtrOutput) } +func (o HTTPSHealthCheckTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckType] { + return pulumix.Output[HTTPSHealthCheckType]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTPS health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPSHealthCheckTypeOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v HTTPSHealthCheckType) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -15612,6 +17857,12 @@ func (o HTTPSHealthCheckTypePtrOutput) ToHTTPSHealthCheckTypePtrOutputWithContex return o } +func (o HTTPSHealthCheckTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPSHealthCheckType] { + return pulumix.Output[*HTTPSHealthCheckType]{ + OutputState: o.OutputState, + } +} + func (o HTTPSHealthCheckTypePtrOutput) Elem() HTTPSHealthCheckTypeOutput { return o.ApplyT(func(v *HTTPSHealthCheckType) HTTPSHealthCheckType { if v != nil { @@ -15723,6 +17974,12 @@ func (o HTTPSHealthCheckResponseOutput) ToHTTPSHealthCheckResponseOutputWithCont return o } +func (o HTTPSHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPSHealthCheckResponse] { + return pulumix.Output[HTTPSHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The value of the host header in the HTTPS health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest func (o HTTPSHealthCheckResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v HTTPSHealthCheckResponse) string { return v.Host }).(pulumi.StringOutput) @@ -15793,6 +18050,12 @@ func (i HealthCheckLogConfigArgs) ToHealthCheckLogConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HealthCheckLogConfigOutput) } +func (i HealthCheckLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[HealthCheckLogConfig] { + return pulumix.Output[HealthCheckLogConfig]{ + OutputState: i.ToHealthCheckLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i HealthCheckLogConfigArgs) ToHealthCheckLogConfigPtrOutput() HealthCheckLogConfigPtrOutput { return i.ToHealthCheckLogConfigPtrOutputWithContext(context.Background()) } @@ -15834,6 +18097,12 @@ func (i *healthCheckLogConfigPtrType) ToHealthCheckLogConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HealthCheckLogConfigPtrOutput) } +func (i *healthCheckLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckLogConfig] { + return pulumix.Output[*HealthCheckLogConfig]{ + OutputState: i.ToHealthCheckLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver. type HealthCheckLogConfigOutput struct{ *pulumi.OutputState } @@ -15859,6 +18128,12 @@ func (o HealthCheckLogConfigOutput) ToHealthCheckLogConfigPtrOutputWithContext(c }).(HealthCheckLogConfigPtrOutput) } +func (o HealthCheckLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckLogConfig] { + return pulumix.Output[HealthCheckLogConfig]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default, which means no health check logging will be done. func (o HealthCheckLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v HealthCheckLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -15878,6 +18153,12 @@ func (o HealthCheckLogConfigPtrOutput) ToHealthCheckLogConfigPtrOutputWithContex return o } +func (o HealthCheckLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HealthCheckLogConfig] { + return pulumix.Output[*HealthCheckLogConfig]{ + OutputState: o.OutputState, + } +} + func (o HealthCheckLogConfigPtrOutput) Elem() HealthCheckLogConfigOutput { return o.ApplyT(func(v *HealthCheckLogConfig) HealthCheckLogConfig { if v != nil { @@ -15919,6 +18200,12 @@ func (o HealthCheckLogConfigResponseOutput) ToHealthCheckLogConfigResponseOutput return o } +func (o HealthCheckLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HealthCheckLogConfigResponse] { + return pulumix.Output[HealthCheckLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default, which means no health check logging will be done. func (o HealthCheckLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v HealthCheckLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -15967,6 +18254,12 @@ func (i HostRuleArgs) ToHostRuleOutputWithContext(ctx context.Context) HostRuleO return pulumi.ToOutputWithContext(ctx, i).(HostRuleOutput) } +func (i HostRuleArgs) ToOutput(ctx context.Context) pulumix.Output[HostRule] { + return pulumix.Output[HostRule]{ + OutputState: i.ToHostRuleOutputWithContext(ctx).OutputState, + } +} + // HostRuleArrayInput is an input type that accepts HostRuleArray and HostRuleArrayOutput values. // You can construct a concrete instance of `HostRuleArrayInput` via: // @@ -15992,6 +18285,12 @@ func (i HostRuleArray) ToHostRuleArrayOutputWithContext(ctx context.Context) Hos return pulumi.ToOutputWithContext(ctx, i).(HostRuleArrayOutput) } +func (i HostRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]HostRule] { + return pulumix.Output[[]HostRule]{ + OutputState: i.ToHostRuleArrayOutputWithContext(ctx).OutputState, + } +} + // UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. type HostRuleOutput struct{ *pulumi.OutputState } @@ -16007,6 +18306,12 @@ func (o HostRuleOutput) ToHostRuleOutputWithContext(ctx context.Context) HostRul return o } +func (o HostRuleOutput) ToOutput(ctx context.Context) pulumix.Output[HostRule] { + return pulumix.Output[HostRule]{ + OutputState: o.OutputState, + } +} + // An optional description of this resource. Provide this property when you create the resource. func (o HostRuleOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v HostRule) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -16036,6 +18341,12 @@ func (o HostRuleArrayOutput) ToHostRuleArrayOutputWithContext(ctx context.Contex return o } +func (o HostRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HostRule] { + return pulumix.Output[[]HostRule]{ + OutputState: o.OutputState, + } +} + func (o HostRuleArrayOutput) Index(i pulumi.IntInput) HostRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostRule { return vs[0].([]HostRule)[vs[1].(int)] @@ -16067,6 +18378,12 @@ func (o HostRuleResponseOutput) ToHostRuleResponseOutputWithContext(ctx context. return o } +func (o HostRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HostRuleResponse] { + return pulumix.Output[HostRuleResponse]{ + OutputState: o.OutputState, + } +} + // An optional description of this resource. Provide this property when you create the resource. func (o HostRuleResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v HostRuleResponse) string { return v.Description }).(pulumi.StringOutput) @@ -16096,6 +18413,12 @@ func (o HostRuleResponseArrayOutput) ToHostRuleResponseArrayOutputWithContext(ct return o } +func (o HostRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HostRuleResponse] { + return pulumix.Output[[]HostRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o HostRuleResponseArrayOutput) Index(i pulumi.IntInput) HostRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostRuleResponse { return vs[0].([]HostRuleResponse)[vs[1].(int)] @@ -16141,6 +18464,12 @@ func (i HttpFaultAbortArgs) ToHttpFaultAbortOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(HttpFaultAbortOutput) } +func (i HttpFaultAbortArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFaultAbort] { + return pulumix.Output[HttpFaultAbort]{ + OutputState: i.ToHttpFaultAbortOutputWithContext(ctx).OutputState, + } +} + func (i HttpFaultAbortArgs) ToHttpFaultAbortPtrOutput() HttpFaultAbortPtrOutput { return i.ToHttpFaultAbortPtrOutputWithContext(context.Background()) } @@ -16182,6 +18511,12 @@ func (i *httpFaultAbortPtrType) ToHttpFaultAbortPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(HttpFaultAbortPtrOutput) } +func (i *httpFaultAbortPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultAbort] { + return pulumix.Output[*HttpFaultAbort]{ + OutputState: i.ToHttpFaultAbortPtrOutputWithContext(ctx).OutputState, + } +} + // Specification for how requests are aborted as part of fault injection. type HttpFaultAbortOutput struct{ *pulumi.OutputState } @@ -16207,6 +18542,12 @@ func (o HttpFaultAbortOutput) ToHttpFaultAbortPtrOutputWithContext(ctx context.C }).(HttpFaultAbortPtrOutput) } +func (o HttpFaultAbortOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultAbort] { + return pulumix.Output[HttpFaultAbort]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. func (o HttpFaultAbortOutput) HttpStatus() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpFaultAbort) *int { return v.HttpStatus }).(pulumi.IntPtrOutput) @@ -16231,6 +18572,12 @@ func (o HttpFaultAbortPtrOutput) ToHttpFaultAbortPtrOutputWithContext(ctx contex return o } +func (o HttpFaultAbortPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultAbort] { + return pulumix.Output[*HttpFaultAbort]{ + OutputState: o.OutputState, + } +} + func (o HttpFaultAbortPtrOutput) Elem() HttpFaultAbortOutput { return o.ApplyT(func(v *HttpFaultAbort) HttpFaultAbort { if v != nil { @@ -16284,6 +18631,12 @@ func (o HttpFaultAbortResponseOutput) ToHttpFaultAbortResponseOutputWithContext( return o } +func (o HttpFaultAbortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultAbortResponse] { + return pulumix.Output[HttpFaultAbortResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. func (o HttpFaultAbortResponseOutput) HttpStatus() pulumi.IntOutput { return o.ApplyT(func(v HttpFaultAbortResponse) int { return v.HttpStatus }).(pulumi.IntOutput) @@ -16333,6 +18686,12 @@ func (i HttpFaultDelayArgs) ToHttpFaultDelayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(HttpFaultDelayOutput) } +func (i HttpFaultDelayArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFaultDelay] { + return pulumix.Output[HttpFaultDelay]{ + OutputState: i.ToHttpFaultDelayOutputWithContext(ctx).OutputState, + } +} + func (i HttpFaultDelayArgs) ToHttpFaultDelayPtrOutput() HttpFaultDelayPtrOutput { return i.ToHttpFaultDelayPtrOutputWithContext(context.Background()) } @@ -16374,6 +18733,12 @@ func (i *httpFaultDelayPtrType) ToHttpFaultDelayPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(HttpFaultDelayPtrOutput) } +func (i *httpFaultDelayPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultDelay] { + return pulumix.Output[*HttpFaultDelay]{ + OutputState: i.ToHttpFaultDelayPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection. type HttpFaultDelayOutput struct{ *pulumi.OutputState } @@ -16399,6 +18764,12 @@ func (o HttpFaultDelayOutput) ToHttpFaultDelayPtrOutputWithContext(ctx context.C }).(HttpFaultDelayPtrOutput) } +func (o HttpFaultDelayOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultDelay] { + return pulumix.Output[HttpFaultDelay]{ + OutputState: o.OutputState, + } +} + // Specifies the value of the fixed delay interval. func (o HttpFaultDelayOutput) FixedDelay() DurationPtrOutput { return o.ApplyT(func(v HttpFaultDelay) *Duration { return v.FixedDelay }).(DurationPtrOutput) @@ -16423,6 +18794,12 @@ func (o HttpFaultDelayPtrOutput) ToHttpFaultDelayPtrOutputWithContext(ctx contex return o } +func (o HttpFaultDelayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultDelay] { + return pulumix.Output[*HttpFaultDelay]{ + OutputState: o.OutputState, + } +} + func (o HttpFaultDelayPtrOutput) Elem() HttpFaultDelayOutput { return o.ApplyT(func(v *HttpFaultDelay) HttpFaultDelay { if v != nil { @@ -16476,6 +18853,12 @@ func (o HttpFaultDelayResponseOutput) ToHttpFaultDelayResponseOutputWithContext( return o } +func (o HttpFaultDelayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultDelayResponse] { + return pulumix.Output[HttpFaultDelayResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the value of the fixed delay interval. func (o HttpFaultDelayResponseOutput) FixedDelay() DurationResponseOutput { return o.ApplyT(func(v HttpFaultDelayResponse) DurationResponse { return v.FixedDelay }).(DurationResponseOutput) @@ -16525,6 +18908,12 @@ func (i HttpFaultInjectionArgs) ToHttpFaultInjectionOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpFaultInjectionOutput) } +func (i HttpFaultInjectionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpFaultInjection] { + return pulumix.Output[HttpFaultInjection]{ + OutputState: i.ToHttpFaultInjectionOutputWithContext(ctx).OutputState, + } +} + func (i HttpFaultInjectionArgs) ToHttpFaultInjectionPtrOutput() HttpFaultInjectionPtrOutput { return i.ToHttpFaultInjectionPtrOutputWithContext(context.Background()) } @@ -16566,6 +18955,12 @@ func (i *httpFaultInjectionPtrType) ToHttpFaultInjectionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpFaultInjectionPtrOutput) } +func (i *httpFaultInjectionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultInjection] { + return pulumix.Output[*HttpFaultInjection]{ + OutputState: i.ToHttpFaultInjectionPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. type HttpFaultInjectionOutput struct{ *pulumi.OutputState } @@ -16591,6 +18986,12 @@ func (o HttpFaultInjectionOutput) ToHttpFaultInjectionPtrOutputWithContext(ctx c }).(HttpFaultInjectionPtrOutput) } +func (o HttpFaultInjectionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultInjection] { + return pulumix.Output[HttpFaultInjection]{ + OutputState: o.OutputState, + } +} + // The specification for how client requests are aborted as part of fault injection. func (o HttpFaultInjectionOutput) Abort() HttpFaultAbortPtrOutput { return o.ApplyT(func(v HttpFaultInjection) *HttpFaultAbort { return v.Abort }).(HttpFaultAbortPtrOutput) @@ -16615,6 +19016,12 @@ func (o HttpFaultInjectionPtrOutput) ToHttpFaultInjectionPtrOutputWithContext(ct return o } +func (o HttpFaultInjectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpFaultInjection] { + return pulumix.Output[*HttpFaultInjection]{ + OutputState: o.OutputState, + } +} + func (o HttpFaultInjectionPtrOutput) Elem() HttpFaultInjectionOutput { return o.ApplyT(func(v *HttpFaultInjection) HttpFaultInjection { if v != nil { @@ -16668,6 +19075,12 @@ func (o HttpFaultInjectionResponseOutput) ToHttpFaultInjectionResponseOutputWith return o } +func (o HttpFaultInjectionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpFaultInjectionResponse] { + return pulumix.Output[HttpFaultInjectionResponse]{ + OutputState: o.OutputState, + } +} + // The specification for how client requests are aborted as part of fault injection. func (o HttpFaultInjectionResponseOutput) Abort() HttpFaultAbortResponseOutput { return o.ApplyT(func(v HttpFaultInjectionResponse) HttpFaultAbortResponse { return v.Abort }).(HttpFaultAbortResponseOutput) @@ -16725,6 +19138,12 @@ func (i HttpHeaderActionArgs) ToHttpHeaderActionOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderActionOutput) } +func (i HttpHeaderActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderAction] { + return pulumix.Output[HttpHeaderAction]{ + OutputState: i.ToHttpHeaderActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpHeaderActionArgs) ToHttpHeaderActionPtrOutput() HttpHeaderActionPtrOutput { return i.ToHttpHeaderActionPtrOutputWithContext(context.Background()) } @@ -16766,6 +19185,12 @@ func (i *httpHeaderActionPtrType) ToHttpHeaderActionPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderActionPtrOutput) } +func (i *httpHeaderActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpHeaderAction] { + return pulumix.Output[*HttpHeaderAction]{ + OutputState: i.ToHttpHeaderActionPtrOutputWithContext(ctx).OutputState, + } +} + // The request and response header transformations that take effect before the request is passed along to the selected backendService. type HttpHeaderActionOutput struct{ *pulumi.OutputState } @@ -16791,6 +19216,12 @@ func (o HttpHeaderActionOutput) ToHttpHeaderActionPtrOutputWithContext(ctx conte }).(HttpHeaderActionPtrOutput) } +func (o HttpHeaderActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderAction] { + return pulumix.Output[HttpHeaderAction]{ + OutputState: o.OutputState, + } +} + // Headers to add to a matching request before forwarding the request to the backendService. func (o HttpHeaderActionOutput) RequestHeadersToAdd() HttpHeaderOptionArrayOutput { return o.ApplyT(func(v HttpHeaderAction) []HttpHeaderOption { return v.RequestHeadersToAdd }).(HttpHeaderOptionArrayOutput) @@ -16825,6 +19256,12 @@ func (o HttpHeaderActionPtrOutput) ToHttpHeaderActionPtrOutputWithContext(ctx co return o } +func (o HttpHeaderActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpHeaderAction] { + return pulumix.Output[*HttpHeaderAction]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderActionPtrOutput) Elem() HttpHeaderActionOutput { return o.ApplyT(func(v *HttpHeaderAction) HttpHeaderAction { if v != nil { @@ -16902,6 +19339,12 @@ func (o HttpHeaderActionResponseOutput) ToHttpHeaderActionResponseOutputWithCont return o } +func (o HttpHeaderActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderActionResponse] { + return pulumix.Output[HttpHeaderActionResponse]{ + OutputState: o.OutputState, + } +} + // Headers to add to a matching request before forwarding the request to the backendService. func (o HttpHeaderActionResponseOutput) RequestHeadersToAdd() HttpHeaderOptionResponseArrayOutput { return o.ApplyT(func(v HttpHeaderActionResponse) []HttpHeaderOptionResponse { return v.RequestHeadersToAdd }).(HttpHeaderOptionResponseArrayOutput) @@ -16985,6 +19428,12 @@ func (i HttpHeaderMatchArgs) ToHttpHeaderMatchOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderMatchOutput) } +func (i HttpHeaderMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatch] { + return pulumix.Output[HttpHeaderMatch]{ + OutputState: i.ToHttpHeaderMatchOutputWithContext(ctx).OutputState, + } +} + // HttpHeaderMatchArrayInput is an input type that accepts HttpHeaderMatchArray and HttpHeaderMatchArrayOutput values. // You can construct a concrete instance of `HttpHeaderMatchArrayInput` via: // @@ -17010,6 +19459,12 @@ func (i HttpHeaderMatchArray) ToHttpHeaderMatchArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderMatchArrayOutput) } +func (i HttpHeaderMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderMatch] { + return pulumix.Output[[]HttpHeaderMatch]{ + OutputState: i.ToHttpHeaderMatchArrayOutputWithContext(ctx).OutputState, + } +} + // matchRule criteria for request header matches. type HttpHeaderMatchOutput struct{ *pulumi.OutputState } @@ -17025,6 +19480,12 @@ func (o HttpHeaderMatchOutput) ToHttpHeaderMatchOutputWithContext(ctx context.Co return o } +func (o HttpHeaderMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatch] { + return pulumix.Output[HttpHeaderMatch]{ + OutputState: o.OutputState, + } +} + // The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. func (o HttpHeaderMatchOutput) ExactMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpHeaderMatch) *string { return v.ExactMatch }).(pulumi.StringPtrOutput) @@ -17079,6 +19540,12 @@ func (o HttpHeaderMatchArrayOutput) ToHttpHeaderMatchArrayOutputWithContext(ctx return o } +func (o HttpHeaderMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderMatch] { + return pulumix.Output[[]HttpHeaderMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderMatchArrayOutput) Index(i pulumi.IntInput) HttpHeaderMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderMatch { return vs[0].([]HttpHeaderMatch)[vs[1].(int)] @@ -17120,6 +19587,12 @@ func (o HttpHeaderMatchResponseOutput) ToHttpHeaderMatchResponseOutputWithContex return o } +func (o HttpHeaderMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatchResponse] { + return pulumix.Output[HttpHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + // The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. func (o HttpHeaderMatchResponseOutput) ExactMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpHeaderMatchResponse) string { return v.ExactMatch }).(pulumi.StringOutput) @@ -17174,6 +19647,12 @@ func (o HttpHeaderMatchResponseArrayOutput) ToHttpHeaderMatchResponseArrayOutput return o } +func (o HttpHeaderMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderMatchResponse] { + return pulumix.Output[[]HttpHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpHeaderMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderMatchResponse { return vs[0].([]HttpHeaderMatchResponse)[vs[1].(int)] @@ -17223,6 +19702,12 @@ func (i HttpHeaderOptionArgs) ToHttpHeaderOptionOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderOptionOutput) } +func (i HttpHeaderOptionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderOption] { + return pulumix.Output[HttpHeaderOption]{ + OutputState: i.ToHttpHeaderOptionOutputWithContext(ctx).OutputState, + } +} + // HttpHeaderOptionArrayInput is an input type that accepts HttpHeaderOptionArray and HttpHeaderOptionArrayOutput values. // You can construct a concrete instance of `HttpHeaderOptionArrayInput` via: // @@ -17248,6 +19733,12 @@ func (i HttpHeaderOptionArray) ToHttpHeaderOptionArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderOptionArrayOutput) } +func (i HttpHeaderOptionArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderOption] { + return pulumix.Output[[]HttpHeaderOption]{ + OutputState: i.ToHttpHeaderOptionArrayOutputWithContext(ctx).OutputState, + } +} + // Specification determining how headers are added to requests or responses. type HttpHeaderOptionOutput struct{ *pulumi.OutputState } @@ -17263,6 +19754,12 @@ func (o HttpHeaderOptionOutput) ToHttpHeaderOptionOutputWithContext(ctx context. return o } +func (o HttpHeaderOptionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderOption] { + return pulumix.Output[HttpHeaderOption]{ + OutputState: o.OutputState, + } +} + // The name of the header. func (o HttpHeaderOptionOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpHeaderOption) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -17292,6 +19789,12 @@ func (o HttpHeaderOptionArrayOutput) ToHttpHeaderOptionArrayOutputWithContext(ct return o } +func (o HttpHeaderOptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderOption] { + return pulumix.Output[[]HttpHeaderOption]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderOptionArrayOutput) Index(i pulumi.IntInput) HttpHeaderOptionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderOption { return vs[0].([]HttpHeaderOption)[vs[1].(int)] @@ -17323,6 +19826,12 @@ func (o HttpHeaderOptionResponseOutput) ToHttpHeaderOptionResponseOutputWithCont return o } +func (o HttpHeaderOptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderOptionResponse] { + return pulumix.Output[HttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the header. func (o HttpHeaderOptionResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v HttpHeaderOptionResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -17352,6 +19861,12 @@ func (o HttpHeaderOptionResponseArrayOutput) ToHttpHeaderOptionResponseArrayOutp return o } +func (o HttpHeaderOptionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpHeaderOptionResponse] { + return pulumix.Output[[]HttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderOptionResponseArrayOutput) Index(i pulumi.IntInput) HttpHeaderOptionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpHeaderOptionResponse { return vs[0].([]HttpHeaderOptionResponse)[vs[1].(int)] @@ -17405,6 +19920,12 @@ func (i HttpQueryParameterMatchArgs) ToHttpQueryParameterMatchOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(HttpQueryParameterMatchOutput) } +func (i HttpQueryParameterMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpQueryParameterMatch] { + return pulumix.Output[HttpQueryParameterMatch]{ + OutputState: i.ToHttpQueryParameterMatchOutputWithContext(ctx).OutputState, + } +} + // HttpQueryParameterMatchArrayInput is an input type that accepts HttpQueryParameterMatchArray and HttpQueryParameterMatchArrayOutput values. // You can construct a concrete instance of `HttpQueryParameterMatchArrayInput` via: // @@ -17430,6 +19951,12 @@ func (i HttpQueryParameterMatchArray) ToHttpQueryParameterMatchArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(HttpQueryParameterMatchArrayOutput) } +func (i HttpQueryParameterMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpQueryParameterMatch] { + return pulumix.Output[[]HttpQueryParameterMatch]{ + OutputState: i.ToHttpQueryParameterMatchArrayOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatch criteria for a request's query parameter. type HttpQueryParameterMatchOutput struct{ *pulumi.OutputState } @@ -17445,6 +19972,12 @@ func (o HttpQueryParameterMatchOutput) ToHttpQueryParameterMatchOutputWithContex return o } +func (o HttpQueryParameterMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpQueryParameterMatch] { + return pulumix.Output[HttpQueryParameterMatch]{ + OutputState: o.OutputState, + } +} + // The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set. func (o HttpQueryParameterMatchOutput) ExactMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpQueryParameterMatch) *string { return v.ExactMatch }).(pulumi.StringPtrOutput) @@ -17479,6 +20012,12 @@ func (o HttpQueryParameterMatchArrayOutput) ToHttpQueryParameterMatchArrayOutput return o } +func (o HttpQueryParameterMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpQueryParameterMatch] { + return pulumix.Output[[]HttpQueryParameterMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpQueryParameterMatchArrayOutput) Index(i pulumi.IntInput) HttpQueryParameterMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpQueryParameterMatch { return vs[0].([]HttpQueryParameterMatch)[vs[1].(int)] @@ -17512,6 +20051,12 @@ func (o HttpQueryParameterMatchResponseOutput) ToHttpQueryParameterMatchResponse return o } +func (o HttpQueryParameterMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpQueryParameterMatchResponse] { + return pulumix.Output[HttpQueryParameterMatchResponse]{ + OutputState: o.OutputState, + } +} + // The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set. func (o HttpQueryParameterMatchResponseOutput) ExactMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpQueryParameterMatchResponse) string { return v.ExactMatch }).(pulumi.StringOutput) @@ -17546,6 +20091,12 @@ func (o HttpQueryParameterMatchResponseArrayOutput) ToHttpQueryParameterMatchRes return o } +func (o HttpQueryParameterMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpQueryParameterMatchResponse] { + return pulumix.Output[[]HttpQueryParameterMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpQueryParameterMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpQueryParameterMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpQueryParameterMatchResponse { return vs[0].([]HttpQueryParameterMatchResponse)[vs[1].(int)] @@ -17607,6 +20158,12 @@ func (i HttpRedirectActionArgs) ToHttpRedirectActionOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpRedirectActionOutput) } +func (i HttpRedirectActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectAction] { + return pulumix.Output[HttpRedirectAction]{ + OutputState: i.ToHttpRedirectActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpRedirectActionArgs) ToHttpRedirectActionPtrOutput() HttpRedirectActionPtrOutput { return i.ToHttpRedirectActionPtrOutputWithContext(context.Background()) } @@ -17648,6 +20205,12 @@ func (i *httpRedirectActionPtrType) ToHttpRedirectActionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpRedirectActionPtrOutput) } +func (i *httpRedirectActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectAction] { + return pulumix.Output[*HttpRedirectAction]{ + OutputState: i.ToHttpRedirectActionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies settings for an HTTP redirect. type HttpRedirectActionOutput struct{ *pulumi.OutputState } @@ -17673,6 +20236,12 @@ func (o HttpRedirectActionOutput) ToHttpRedirectActionPtrOutputWithContext(ctx c }).(HttpRedirectActionPtrOutput) } +func (o HttpRedirectActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectAction] { + return pulumix.Output[HttpRedirectAction]{ + OutputState: o.OutputState, + } +} + // The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. func (o HttpRedirectActionOutput) HostRedirect() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRedirectAction) *string { return v.HostRedirect }).(pulumi.StringPtrOutput) @@ -17717,6 +20286,12 @@ func (o HttpRedirectActionPtrOutput) ToHttpRedirectActionPtrOutputWithContext(ct return o } +func (o HttpRedirectActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRedirectAction] { + return pulumix.Output[*HttpRedirectAction]{ + OutputState: o.OutputState, + } +} + func (o HttpRedirectActionPtrOutput) Elem() HttpRedirectActionOutput { return o.ApplyT(func(v *HttpRedirectAction) HttpRedirectAction { if v != nil { @@ -17818,6 +20393,12 @@ func (o HttpRedirectActionResponseOutput) ToHttpRedirectActionResponseOutputWith return o } +func (o HttpRedirectActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRedirectActionResponse] { + return pulumix.Output[HttpRedirectActionResponse]{ + OutputState: o.OutputState, + } +} + // The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. func (o HttpRedirectActionResponseOutput) HostRedirect() pulumi.StringOutput { return o.ApplyT(func(v HttpRedirectActionResponse) string { return v.HostRedirect }).(pulumi.StringOutput) @@ -17891,6 +20472,12 @@ func (i HttpRetryPolicyArgs) ToHttpRetryPolicyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpRetryPolicyOutput) } +func (i HttpRetryPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRetryPolicy] { + return pulumix.Output[HttpRetryPolicy]{ + OutputState: i.ToHttpRetryPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRetryPolicyArgs) ToHttpRetryPolicyPtrOutput() HttpRetryPolicyPtrOutput { return i.ToHttpRetryPolicyPtrOutputWithContext(context.Background()) } @@ -17932,6 +20519,12 @@ func (i *httpRetryPolicyPtrType) ToHttpRetryPolicyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(HttpRetryPolicyPtrOutput) } +func (i *httpRetryPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRetryPolicy] { + return pulumix.Output[*HttpRetryPolicy]{ + OutputState: i.ToHttpRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The retry policy associates with HttpRouteRule type HttpRetryPolicyOutput struct{ *pulumi.OutputState } @@ -17957,6 +20550,12 @@ func (o HttpRetryPolicyOutput) ToHttpRetryPolicyPtrOutputWithContext(ctx context }).(HttpRetryPolicyPtrOutput) } +func (o HttpRetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRetryPolicy] { + return pulumix.Output[HttpRetryPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. func (o HttpRetryPolicyOutput) NumRetries() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpRetryPolicy) *int { return v.NumRetries }).(pulumi.IntPtrOutput) @@ -17986,6 +20585,12 @@ func (o HttpRetryPolicyPtrOutput) ToHttpRetryPolicyPtrOutputWithContext(ctx cont return o } +func (o HttpRetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRetryPolicy] { + return pulumix.Output[*HttpRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRetryPolicyPtrOutput) Elem() HttpRetryPolicyOutput { return o.ApplyT(func(v *HttpRetryPolicy) HttpRetryPolicy { if v != nil { @@ -18051,6 +20656,12 @@ func (o HttpRetryPolicyResponseOutput) ToHttpRetryPolicyResponseOutputWithContex return o } +func (o HttpRetryPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRetryPolicyResponse] { + return pulumix.Output[HttpRetryPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. func (o HttpRetryPolicyResponseOutput) NumRetries() pulumi.IntOutput { return o.ApplyT(func(v HttpRetryPolicyResponse) int { return v.NumRetries }).(pulumi.IntOutput) @@ -18127,6 +20738,12 @@ func (i HttpRouteActionArgs) ToHttpRouteActionOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpRouteActionOutput) } +func (i HttpRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteAction] { + return pulumix.Output[HttpRouteAction]{ + OutputState: i.ToHttpRouteActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteActionArgs) ToHttpRouteActionPtrOutput() HttpRouteActionPtrOutput { return i.ToHttpRouteActionPtrOutputWithContext(context.Background()) } @@ -18168,6 +20785,12 @@ func (i *httpRouteActionPtrType) ToHttpRouteActionPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(HttpRouteActionPtrOutput) } +func (i *httpRouteActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteAction] { + return pulumix.Output[*HttpRouteAction]{ + OutputState: i.ToHttpRouteActionPtrOutputWithContext(ctx).OutputState, + } +} + type HttpRouteActionOutput struct{ *pulumi.OutputState } func (HttpRouteActionOutput) ElementType() reflect.Type { @@ -18192,6 +20815,12 @@ func (o HttpRouteActionOutput) ToHttpRouteActionPtrOutputWithContext(ctx context }).(HttpRouteActionPtrOutput) } +func (o HttpRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteAction] { + return pulumix.Output[HttpRouteAction]{ + OutputState: o.OutputState, + } +} + // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. func (o HttpRouteActionOutput) CorsPolicy() CorsPolicyPtrOutput { return o.ApplyT(func(v HttpRouteAction) *CorsPolicy { return v.CorsPolicy }).(CorsPolicyPtrOutput) @@ -18246,6 +20875,12 @@ func (o HttpRouteActionPtrOutput) ToHttpRouteActionPtrOutputWithContext(ctx cont return o } +func (o HttpRouteActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteAction] { + return pulumix.Output[*HttpRouteAction]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteActionPtrOutput) Elem() HttpRouteActionOutput { return o.ApplyT(func(v *HttpRouteAction) HttpRouteAction { if v != nil { @@ -18369,6 +21004,12 @@ func (o HttpRouteActionResponseOutput) ToHttpRouteActionResponseOutputWithContex return o } +func (o HttpRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteActionResponse] { + return pulumix.Output[HttpRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. func (o HttpRouteActionResponseOutput) CorsPolicy() CorsPolicyResponseOutput { return o.ApplyT(func(v HttpRouteActionResponse) CorsPolicyResponse { return v.CorsPolicy }).(CorsPolicyResponseOutput) @@ -18468,6 +21109,12 @@ func (i HttpRouteRuleArgs) ToHttpRouteRuleOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleOutput) } +func (i HttpRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRule] { + return pulumix.Output[HttpRouteRule]{ + OutputState: i.ToHttpRouteRuleOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleArrayInput is an input type that accepts HttpRouteRuleArray and HttpRouteRuleArrayOutput values. // You can construct a concrete instance of `HttpRouteRuleArrayInput` via: // @@ -18493,6 +21140,12 @@ func (i HttpRouteRuleArray) ToHttpRouteRuleArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleArrayOutput) } +func (i HttpRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRule] { + return pulumix.Output[[]HttpRouteRule]{ + OutputState: i.ToHttpRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // The HttpRouteRule setting specifies how to match an HTTP request and the corresponding routing action that load balancing proxies perform. type HttpRouteRuleOutput struct{ *pulumi.OutputState } @@ -18508,6 +21161,12 @@ func (o HttpRouteRuleOutput) ToHttpRouteRuleOutputWithContext(ctx context.Contex return o } +func (o HttpRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRule] { + return pulumix.Output[HttpRouteRule]{ + OutputState: o.OutputState, + } +} + // The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters. func (o HttpRouteRuleOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteRule) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -18557,6 +21216,12 @@ func (o HttpRouteRuleArrayOutput) ToHttpRouteRuleArrayOutputWithContext(ctx cont return o } +func (o HttpRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRule] { + return pulumix.Output[[]HttpRouteRule]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRule { return vs[0].([]HttpRouteRule)[vs[1].(int)] @@ -18626,6 +21291,12 @@ func (i HttpRouteRuleMatchArgs) ToHttpRouteRuleMatchOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleMatchOutput) } +func (i HttpRouteRuleMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleMatch] { + return pulumix.Output[HttpRouteRuleMatch]{ + OutputState: i.ToHttpRouteRuleMatchOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatchArrayInput is an input type that accepts HttpRouteRuleMatchArray and HttpRouteRuleMatchArrayOutput values. // You can construct a concrete instance of `HttpRouteRuleMatchArrayInput` via: // @@ -18651,6 +21322,12 @@ func (i HttpRouteRuleMatchArray) ToHttpRouteRuleMatchArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRuleMatchArrayOutput) } +func (i HttpRouteRuleMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleMatch] { + return pulumix.Output[[]HttpRouteRuleMatch]{ + OutputState: i.ToHttpRouteRuleMatchArrayOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur. type HttpRouteRuleMatchOutput struct{ *pulumi.OutputState } @@ -18666,6 +21343,12 @@ func (o HttpRouteRuleMatchOutput) ToHttpRouteRuleMatchOutputWithContext(ctx cont return o } +func (o HttpRouteRuleMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleMatch] { + return pulumix.Output[HttpRouteRuleMatch]{ + OutputState: o.OutputState, + } +} + // For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. func (o HttpRouteRuleMatchOutput) FullPathMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteRuleMatch) *string { return v.FullPathMatch }).(pulumi.StringPtrOutput) @@ -18720,6 +21403,12 @@ func (o HttpRouteRuleMatchArrayOutput) ToHttpRouteRuleMatchArrayOutputWithContex return o } +func (o HttpRouteRuleMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleMatch] { + return pulumix.Output[[]HttpRouteRuleMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleMatchArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRuleMatch { return vs[0].([]HttpRouteRuleMatch)[vs[1].(int)] @@ -18761,6 +21450,12 @@ func (o HttpRouteRuleMatchResponseOutput) ToHttpRouteRuleMatchResponseOutputWith return o } +func (o HttpRouteRuleMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleMatchResponse] { + return pulumix.Output[HttpRouteRuleMatchResponse]{ + OutputState: o.OutputState, + } +} + // For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. func (o HttpRouteRuleMatchResponseOutput) FullPathMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteRuleMatchResponse) string { return v.FullPathMatch }).(pulumi.StringOutput) @@ -18815,6 +21510,12 @@ func (o HttpRouteRuleMatchResponseArrayOutput) ToHttpRouteRuleMatchResponseArray return o } +func (o HttpRouteRuleMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleMatchResponse] { + return pulumix.Output[[]HttpRouteRuleMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRuleMatchResponse { return vs[0].([]HttpRouteRuleMatchResponse)[vs[1].(int)] @@ -18854,6 +21555,12 @@ func (o HttpRouteRuleResponseOutput) ToHttpRouteRuleResponseOutputWithContext(ct return o } +func (o HttpRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRuleResponse] { + return pulumix.Output[HttpRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters. func (o HttpRouteRuleResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteRuleResponse) string { return v.Description }).(pulumi.StringOutput) @@ -18903,6 +21610,12 @@ func (o HttpRouteRuleResponseArrayOutput) ToHttpRouteRuleResponseArrayOutputWith return o } +func (o HttpRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRuleResponse] { + return pulumix.Output[[]HttpRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRuleResponse { return vs[0].([]HttpRouteRuleResponse)[vs[1].(int)] @@ -18956,6 +21669,12 @@ func (i ImageRawDiskArgs) ToImageRawDiskOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(ImageRawDiskOutput) } +func (i ImageRawDiskArgs) ToOutput(ctx context.Context) pulumix.Output[ImageRawDisk] { + return pulumix.Output[ImageRawDisk]{ + OutputState: i.ToImageRawDiskOutputWithContext(ctx).OutputState, + } +} + func (i ImageRawDiskArgs) ToImageRawDiskPtrOutput() ImageRawDiskPtrOutput { return i.ToImageRawDiskPtrOutputWithContext(context.Background()) } @@ -18997,6 +21716,12 @@ func (i *imageRawDiskPtrType) ToImageRawDiskPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ImageRawDiskPtrOutput) } +func (i *imageRawDiskPtrType) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDisk] { + return pulumix.Output[*ImageRawDisk]{ + OutputState: i.ToImageRawDiskPtrOutputWithContext(ctx).OutputState, + } +} + // The parameters of the raw disk image. type ImageRawDiskOutput struct{ *pulumi.OutputState } @@ -19022,6 +21747,12 @@ func (o ImageRawDiskOutput) ToImageRawDiskPtrOutputWithContext(ctx context.Conte }).(ImageRawDiskPtrOutput) } +func (o ImageRawDiskOutput) ToOutput(ctx context.Context) pulumix.Output[ImageRawDisk] { + return pulumix.Output[ImageRawDisk]{ + OutputState: o.OutputState, + } +} + // The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. func (o ImageRawDiskOutput) ContainerType() ImageRawDiskContainerTypePtrOutput { return o.ApplyT(func(v ImageRawDisk) *ImageRawDiskContainerType { return v.ContainerType }).(ImageRawDiskContainerTypePtrOutput) @@ -19053,6 +21784,12 @@ func (o ImageRawDiskPtrOutput) ToImageRawDiskPtrOutputWithContext(ctx context.Co return o } +func (o ImageRawDiskPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageRawDisk] { + return pulumix.Output[*ImageRawDisk]{ + OutputState: o.OutputState, + } +} + func (o ImageRawDiskPtrOutput) Elem() ImageRawDiskOutput { return o.ApplyT(func(v *ImageRawDisk) ImageRawDisk { if v != nil { @@ -19122,6 +21859,12 @@ func (o ImageRawDiskResponseOutput) ToImageRawDiskResponseOutputWithContext(ctx return o } +func (o ImageRawDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageRawDiskResponse] { + return pulumix.Output[ImageRawDiskResponse]{ + OutputState: o.OutputState, + } +} + // The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. func (o ImageRawDiskResponseOutput) ContainerType() pulumi.StringOutput { return o.ApplyT(func(v ImageRawDiskResponse) string { return v.ContainerType }).(pulumi.StringOutput) @@ -19186,6 +21929,12 @@ func (i InitialStateConfigArgs) ToInitialStateConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InitialStateConfigOutput) } +func (i InitialStateConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InitialStateConfig] { + return pulumix.Output[InitialStateConfig]{ + OutputState: i.ToInitialStateConfigOutputWithContext(ctx).OutputState, + } +} + func (i InitialStateConfigArgs) ToInitialStateConfigPtrOutput() InitialStateConfigPtrOutput { return i.ToInitialStateConfigPtrOutputWithContext(context.Background()) } @@ -19227,6 +21976,12 @@ func (i *initialStateConfigPtrType) ToInitialStateConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InitialStateConfigPtrOutput) } +func (i *initialStateConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InitialStateConfig] { + return pulumix.Output[*InitialStateConfig]{ + OutputState: i.ToInitialStateConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Initial State for shielded instance, these are public keys which are safe to store in public type InitialStateConfigOutput struct{ *pulumi.OutputState } @@ -19252,6 +22007,12 @@ func (o InitialStateConfigOutput) ToInitialStateConfigPtrOutputWithContext(ctx c }).(InitialStateConfigPtrOutput) } +func (o InitialStateConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InitialStateConfig] { + return pulumix.Output[InitialStateConfig]{ + OutputState: o.OutputState, + } +} + // The Key Database (db). func (o InitialStateConfigOutput) Dbs() FileContentBufferArrayOutput { return o.ApplyT(func(v InitialStateConfig) []FileContentBuffer { return v.Dbs }).(FileContentBufferArrayOutput) @@ -19286,6 +22047,12 @@ func (o InitialStateConfigPtrOutput) ToInitialStateConfigPtrOutputWithContext(ct return o } +func (o InitialStateConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InitialStateConfig] { + return pulumix.Output[*InitialStateConfig]{ + OutputState: o.OutputState, + } +} + func (o InitialStateConfigPtrOutput) Elem() InitialStateConfigOutput { return o.ApplyT(func(v *InitialStateConfig) InitialStateConfig { if v != nil { @@ -19363,6 +22130,12 @@ func (o InitialStateConfigResponseOutput) ToInitialStateConfigResponseOutputWith return o } +func (o InitialStateConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InitialStateConfigResponse] { + return pulumix.Output[InitialStateConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Key Database (db). func (o InitialStateConfigResponseOutput) Dbs() FileContentBufferResponseArrayOutput { return o.ApplyT(func(v InitialStateConfigResponse) []FileContentBufferResponse { return v.Dbs }).(FileContentBufferResponseArrayOutput) @@ -19426,6 +22199,12 @@ func (o InstanceGroupManagerActionsSummaryResponseOutput) ToInstanceGroupManager return o } +func (o InstanceGroupManagerActionsSummaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerActionsSummaryResponse] { + return pulumix.Output[InstanceGroupManagerActionsSummaryResponse]{ + OutputState: o.OutputState, + } +} + // The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it. func (o InstanceGroupManagerActionsSummaryResponseOutput) Abandoning() pulumi.IntOutput { return o.ApplyT(func(v InstanceGroupManagerActionsSummaryResponse) int { return v.Abandoning }).(pulumi.IntOutput) @@ -19528,6 +22307,12 @@ func (i InstanceGroupManagerAutoHealingPolicyArgs) ToInstanceGroupManagerAutoHea return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAutoHealingPolicyOutput) } +func (i InstanceGroupManagerAutoHealingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicy]{ + OutputState: i.ToInstanceGroupManagerAutoHealingPolicyOutputWithContext(ctx).OutputState, + } +} + // InstanceGroupManagerAutoHealingPolicyArrayInput is an input type that accepts InstanceGroupManagerAutoHealingPolicyArray and InstanceGroupManagerAutoHealingPolicyArrayOutput values. // You can construct a concrete instance of `InstanceGroupManagerAutoHealingPolicyArrayInput` via: // @@ -19553,6 +22338,12 @@ func (i InstanceGroupManagerAutoHealingPolicyArray) ToInstanceGroupManagerAutoHe return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerAutoHealingPolicyArrayOutput) } +func (i InstanceGroupManagerAutoHealingPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy]{ + OutputState: i.ToInstanceGroupManagerAutoHealingPolicyArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerAutoHealingPolicyOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerAutoHealingPolicyOutput) ElementType() reflect.Type { @@ -19567,6 +22358,12 @@ func (o InstanceGroupManagerAutoHealingPolicyOutput) ToInstanceGroupManagerAutoH return o } +func (o InstanceGroupManagerAutoHealingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicy]{ + OutputState: o.OutputState, + } +} + // The URL for the health check that signals autohealing. func (o InstanceGroupManagerAutoHealingPolicyOutput) HealthCheck() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceGroupManagerAutoHealingPolicy) *string { return v.HealthCheck }).(pulumi.StringPtrOutput) @@ -19591,6 +22388,12 @@ func (o InstanceGroupManagerAutoHealingPolicyArrayOutput) ToInstanceGroupManager return o } +func (o InstanceGroupManagerAutoHealingPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy] { + return pulumix.Output[[]InstanceGroupManagerAutoHealingPolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAutoHealingPolicyArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerAutoHealingPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerAutoHealingPolicy { return vs[0].([]InstanceGroupManagerAutoHealingPolicy)[vs[1].(int)] @@ -19618,6 +22421,12 @@ func (o InstanceGroupManagerAutoHealingPolicyResponseOutput) ToInstanceGroupMana return o } +func (o InstanceGroupManagerAutoHealingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerAutoHealingPolicyResponse] { + return pulumix.Output[InstanceGroupManagerAutoHealingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The URL for the health check that signals autohealing. func (o InstanceGroupManagerAutoHealingPolicyResponseOutput) HealthCheck() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerAutoHealingPolicyResponse) string { return v.HealthCheck }).(pulumi.StringOutput) @@ -19642,6 +22451,12 @@ func (o InstanceGroupManagerAutoHealingPolicyResponseArrayOutput) ToInstanceGrou return o } +func (o InstanceGroupManagerAutoHealingPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerAutoHealingPolicyResponse] { + return pulumix.Output[[]InstanceGroupManagerAutoHealingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerAutoHealingPolicyResponseArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerAutoHealingPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerAutoHealingPolicyResponse { return vs[0].([]InstanceGroupManagerAutoHealingPolicyResponse)[vs[1].(int)] @@ -19673,6 +22488,12 @@ func (o InstanceGroupManagerStatusResponseOutput) ToInstanceGroupManagerStatusRe return o } +func (o InstanceGroupManagerStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusResponse] { + return pulumix.Output[InstanceGroupManagerStatusResponse]{ + OutputState: o.OutputState, + } +} + // The URL of the Autoscaler that targets this instance group manager. func (o InstanceGroupManagerStatusResponseOutput) Autoscaler() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerStatusResponse) string { return v.Autoscaler }).(pulumi.StringOutput) @@ -19716,6 +22537,12 @@ func (o InstanceGroupManagerStatusStatefulPerInstanceConfigsResponseOutput) ToIn return o } +func (o InstanceGroupManagerStatusStatefulPerInstanceConfigsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse] { + return pulumix.Output[InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse]{ + OutputState: o.OutputState, + } +} + // A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs. func (o InstanceGroupManagerStatusStatefulPerInstanceConfigsResponseOutput) AllEffective() pulumi.BoolOutput { return o.ApplyT(func(v InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse) bool { return v.AllEffective }).(pulumi.BoolOutput) @@ -19742,6 +22569,12 @@ func (o InstanceGroupManagerStatusStatefulResponseOutput) ToInstanceGroupManager return o } +func (o InstanceGroupManagerStatusStatefulResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusStatefulResponse] { + return pulumix.Output[InstanceGroupManagerStatusStatefulResponse]{ + OutputState: o.OutputState, + } +} + // A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. func (o InstanceGroupManagerStatusStatefulResponseOutput) HasStatefulConfig() pulumi.BoolOutput { return o.ApplyT(func(v InstanceGroupManagerStatusStatefulResponse) bool { return v.HasStatefulConfig }).(pulumi.BoolOutput) @@ -19773,6 +22606,12 @@ func (o InstanceGroupManagerStatusVersionTargetResponseOutput) ToInstanceGroupMa return o } +func (o InstanceGroupManagerStatusVersionTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerStatusVersionTargetResponse] { + return pulumix.Output[InstanceGroupManagerStatusVersionTargetResponse]{ + OutputState: o.OutputState, + } +} + // A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager. func (o InstanceGroupManagerStatusVersionTargetResponseOutput) IsReached() pulumi.BoolOutput { return o.ApplyT(func(v InstanceGroupManagerStatusVersionTargetResponse) bool { return v.IsReached }).(pulumi.BoolOutput) @@ -19835,6 +22674,12 @@ func (i InstanceGroupManagerUpdatePolicyArgs) ToInstanceGroupManagerUpdatePolicy return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerUpdatePolicyOutput) } +func (i InstanceGroupManagerUpdatePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[InstanceGroupManagerUpdatePolicy]{ + OutputState: i.ToInstanceGroupManagerUpdatePolicyOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupManagerUpdatePolicyArgs) ToInstanceGroupManagerUpdatePolicyPtrOutput() InstanceGroupManagerUpdatePolicyPtrOutput { return i.ToInstanceGroupManagerUpdatePolicyPtrOutputWithContext(context.Background()) } @@ -19876,6 +22721,12 @@ func (i *instanceGroupManagerUpdatePolicyPtrType) ToInstanceGroupManagerUpdatePo return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerUpdatePolicyPtrOutput) } +func (i *instanceGroupManagerUpdatePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicy]{ + OutputState: i.ToInstanceGroupManagerUpdatePolicyPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerUpdatePolicyOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerUpdatePolicyOutput) ElementType() reflect.Type { @@ -19900,6 +22751,12 @@ func (o InstanceGroupManagerUpdatePolicyOutput) ToInstanceGroupManagerUpdatePoli }).(InstanceGroupManagerUpdatePolicyPtrOutput) } +func (o InstanceGroupManagerUpdatePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[InstanceGroupManagerUpdatePolicy]{ + OutputState: o.OutputState, + } +} + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. func (o InstanceGroupManagerUpdatePolicyOutput) InstanceRedistributionType() InstanceGroupManagerUpdatePolicyInstanceRedistributionTypePtrOutput { return o.ApplyT(func(v InstanceGroupManagerUpdatePolicy) *InstanceGroupManagerUpdatePolicyInstanceRedistributionType { @@ -19957,6 +22814,12 @@ func (o InstanceGroupManagerUpdatePolicyPtrOutput) ToInstanceGroupManagerUpdateP return o } +func (o InstanceGroupManagerUpdatePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupManagerUpdatePolicy] { + return pulumix.Output[*InstanceGroupManagerUpdatePolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerUpdatePolicyPtrOutput) Elem() InstanceGroupManagerUpdatePolicyOutput { return o.ApplyT(func(v *InstanceGroupManagerUpdatePolicy) InstanceGroupManagerUpdatePolicy { if v != nil { @@ -20068,6 +22931,12 @@ func (o InstanceGroupManagerUpdatePolicyResponseOutput) ToInstanceGroupManagerUp return o } +func (o InstanceGroupManagerUpdatePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerUpdatePolicyResponse] { + return pulumix.Output[InstanceGroupManagerUpdatePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. func (o InstanceGroupManagerUpdatePolicyResponseOutput) InstanceRedistributionType() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerUpdatePolicyResponse) string { return v.InstanceRedistributionType }).(pulumi.StringOutput) @@ -20144,6 +23013,12 @@ func (i InstanceGroupManagerVersionArgs) ToInstanceGroupManagerVersionOutputWith return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerVersionOutput) } +func (i InstanceGroupManagerVersionArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerVersion] { + return pulumix.Output[InstanceGroupManagerVersion]{ + OutputState: i.ToInstanceGroupManagerVersionOutputWithContext(ctx).OutputState, + } +} + // InstanceGroupManagerVersionArrayInput is an input type that accepts InstanceGroupManagerVersionArray and InstanceGroupManagerVersionArrayOutput values. // You can construct a concrete instance of `InstanceGroupManagerVersionArrayInput` via: // @@ -20169,6 +23044,12 @@ func (i InstanceGroupManagerVersionArray) ToInstanceGroupManagerVersionArrayOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupManagerVersionArrayOutput) } +func (i InstanceGroupManagerVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerVersion] { + return pulumix.Output[[]InstanceGroupManagerVersion]{ + OutputState: i.ToInstanceGroupManagerVersionArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceGroupManagerVersionOutput struct{ *pulumi.OutputState } func (InstanceGroupManagerVersionOutput) ElementType() reflect.Type { @@ -20183,6 +23064,12 @@ func (o InstanceGroupManagerVersionOutput) ToInstanceGroupManagerVersionOutputWi return o } +func (o InstanceGroupManagerVersionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerVersion] { + return pulumix.Output[InstanceGroupManagerVersion]{ + OutputState: o.OutputState, + } +} + // The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the `targetSize` for this version is reached. func (o InstanceGroupManagerVersionOutput) InstanceTemplate() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceGroupManagerVersion) *string { return v.InstanceTemplate }).(pulumi.StringPtrOutput) @@ -20212,6 +23099,12 @@ func (o InstanceGroupManagerVersionArrayOutput) ToInstanceGroupManagerVersionArr return o } +func (o InstanceGroupManagerVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerVersion] { + return pulumix.Output[[]InstanceGroupManagerVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerVersionArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerVersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerVersion { return vs[0].([]InstanceGroupManagerVersion)[vs[1].(int)] @@ -20241,6 +23134,12 @@ func (o InstanceGroupManagerVersionResponseOutput) ToInstanceGroupManagerVersion return o } +func (o InstanceGroupManagerVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupManagerVersionResponse] { + return pulumix.Output[InstanceGroupManagerVersionResponse]{ + OutputState: o.OutputState, + } +} + // The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the `targetSize` for this version is reached. func (o InstanceGroupManagerVersionResponseOutput) InstanceTemplate() pulumi.StringOutput { return o.ApplyT(func(v InstanceGroupManagerVersionResponse) string { return v.InstanceTemplate }).(pulumi.StringOutput) @@ -20270,6 +23169,12 @@ func (o InstanceGroupManagerVersionResponseArrayOutput) ToInstanceGroupManagerVe return o } +func (o InstanceGroupManagerVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceGroupManagerVersionResponse] { + return pulumix.Output[[]InstanceGroupManagerVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupManagerVersionResponseArrayOutput) Index(i pulumi.IntInput) InstanceGroupManagerVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceGroupManagerVersionResponse { return vs[0].([]InstanceGroupManagerVersionResponse)[vs[1].(int)] @@ -20311,6 +23216,12 @@ func (i InstanceParamsArgs) ToInstanceParamsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(InstanceParamsOutput) } +func (i InstanceParamsArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceParams] { + return pulumix.Output[InstanceParams]{ + OutputState: i.ToInstanceParamsOutputWithContext(ctx).OutputState, + } +} + func (i InstanceParamsArgs) ToInstanceParamsPtrOutput() InstanceParamsPtrOutput { return i.ToInstanceParamsPtrOutputWithContext(context.Background()) } @@ -20352,6 +23263,12 @@ func (i *instanceParamsPtrType) ToInstanceParamsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(InstanceParamsPtrOutput) } +func (i *instanceParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceParams] { + return pulumix.Output[*InstanceParams]{ + OutputState: i.ToInstanceParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Additional instance params. type InstanceParamsOutput struct{ *pulumi.OutputState } @@ -20377,6 +23294,12 @@ func (o InstanceParamsOutput) ToInstanceParamsPtrOutputWithContext(ctx context.C }).(InstanceParamsPtrOutput) } +func (o InstanceParamsOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceParams] { + return pulumix.Output[InstanceParams]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o InstanceParamsOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v InstanceParams) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -20396,6 +23319,12 @@ func (o InstanceParamsPtrOutput) ToInstanceParamsPtrOutputWithContext(ctx contex return o } +func (o InstanceParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceParams] { + return pulumix.Output[*InstanceParams]{ + OutputState: o.OutputState, + } +} + func (o InstanceParamsPtrOutput) Elem() InstanceParamsOutput { return o.ApplyT(func(v *InstanceParams) InstanceParams { if v != nil { @@ -20437,6 +23366,12 @@ func (o InstanceParamsResponseOutput) ToInstanceParamsResponseOutputWithContext( return o } +func (o InstanceParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceParamsResponse] { + return pulumix.Output[InstanceParamsResponse]{ + OutputState: o.OutputState, + } +} + // Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. func (o InstanceParamsResponseOutput) ResourceManagerTags() pulumi.StringMapOutput { return o.ApplyT(func(v InstanceParamsResponse) map[string]string { return v.ResourceManagerTags }).(pulumi.StringMapOutput) @@ -20555,6 +23490,12 @@ func (i InstancePropertiesArgs) ToInstancePropertiesOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InstancePropertiesOutput) } +func (i InstancePropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceProperties] { + return pulumix.Output[InstanceProperties]{ + OutputState: i.ToInstancePropertiesOutputWithContext(ctx).OutputState, + } +} + func (i InstancePropertiesArgs) ToInstancePropertiesPtrOutput() InstancePropertiesPtrOutput { return i.ToInstancePropertiesPtrOutputWithContext(context.Background()) } @@ -20596,6 +23537,12 @@ func (i *instancePropertiesPtrType) ToInstancePropertiesPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InstancePropertiesPtrOutput) } +func (i *instancePropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceProperties] { + return pulumix.Output[*InstanceProperties]{ + OutputState: i.ToInstancePropertiesPtrOutputWithContext(ctx).OutputState, + } +} + type InstancePropertiesOutput struct{ *pulumi.OutputState } func (InstancePropertiesOutput) ElementType() reflect.Type { @@ -20620,6 +23567,12 @@ func (o InstancePropertiesOutput) ToInstancePropertiesPtrOutputWithContext(ctx c }).(InstancePropertiesPtrOutput) } +func (o InstancePropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceProperties] { + return pulumix.Output[InstanceProperties]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet. func (o InstancePropertiesOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesPtrOutput { return o.ApplyT(func(v InstanceProperties) *AdvancedMachineFeatures { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesPtrOutput) @@ -20743,6 +23696,12 @@ func (o InstancePropertiesPtrOutput) ToInstancePropertiesPtrOutputWithContext(ct return o } +func (o InstancePropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceProperties] { + return pulumix.Output[*InstanceProperties]{ + OutputState: o.OutputState, + } +} + func (o InstancePropertiesPtrOutput) Elem() InstancePropertiesOutput { return o.ApplyT(func(v *InstanceProperties) InstanceProperties { if v != nil { @@ -21022,6 +23981,12 @@ func (o InstancePropertiesResponseOutput) ToInstancePropertiesResponseOutputWith return o } +func (o InstancePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstancePropertiesResponse] { + return pulumix.Output[InstancePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet. func (o InstancePropertiesResponseOutput) AdvancedMachineFeatures() AdvancedMachineFeaturesResponseOutput { return o.ApplyT(func(v InstancePropertiesResponse) AdvancedMachineFeaturesResponse { return v.AdvancedMachineFeatures }).(AdvancedMachineFeaturesResponseOutput) @@ -21168,6 +24133,12 @@ func (i Int64RangeMatchArgs) ToInt64RangeMatchOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(Int64RangeMatchOutput) } +func (i Int64RangeMatchArgs) ToOutput(ctx context.Context) pulumix.Output[Int64RangeMatch] { + return pulumix.Output[Int64RangeMatch]{ + OutputState: i.ToInt64RangeMatchOutputWithContext(ctx).OutputState, + } +} + func (i Int64RangeMatchArgs) ToInt64RangeMatchPtrOutput() Int64RangeMatchPtrOutput { return i.ToInt64RangeMatchPtrOutputWithContext(context.Background()) } @@ -21209,6 +24180,12 @@ func (i *int64RangeMatchPtrType) ToInt64RangeMatchPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(Int64RangeMatchPtrOutput) } +func (i *int64RangeMatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*Int64RangeMatch] { + return pulumix.Output[*Int64RangeMatch]{ + OutputState: i.ToInt64RangeMatchPtrOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRuleMatch criteria for field values that must stay within the specified integer range. type Int64RangeMatchOutput struct{ *pulumi.OutputState } @@ -21234,6 +24211,12 @@ func (o Int64RangeMatchOutput) ToInt64RangeMatchPtrOutputWithContext(ctx context }).(Int64RangeMatchPtrOutput) } +func (o Int64RangeMatchOutput) ToOutput(ctx context.Context) pulumix.Output[Int64RangeMatch] { + return pulumix.Output[Int64RangeMatch]{ + OutputState: o.OutputState, + } +} + // The end of the range (exclusive) in signed long integer format. func (o Int64RangeMatchOutput) RangeEnd() pulumi.StringPtrOutput { return o.ApplyT(func(v Int64RangeMatch) *string { return v.RangeEnd }).(pulumi.StringPtrOutput) @@ -21258,6 +24241,12 @@ func (o Int64RangeMatchPtrOutput) ToInt64RangeMatchPtrOutputWithContext(ctx cont return o } +func (o Int64RangeMatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Int64RangeMatch] { + return pulumix.Output[*Int64RangeMatch]{ + OutputState: o.OutputState, + } +} + func (o Int64RangeMatchPtrOutput) Elem() Int64RangeMatchOutput { return o.ApplyT(func(v *Int64RangeMatch) Int64RangeMatch { if v != nil { @@ -21311,6 +24300,12 @@ func (o Int64RangeMatchResponseOutput) ToInt64RangeMatchResponseOutputWithContex return o } +func (o Int64RangeMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Int64RangeMatchResponse] { + return pulumix.Output[Int64RangeMatchResponse]{ + OutputState: o.OutputState, + } +} + // The end of the range (exclusive) in signed long integer format. func (o Int64RangeMatchResponseOutput) RangeEnd() pulumi.StringOutput { return o.ApplyT(func(v Int64RangeMatchResponse) string { return v.RangeEnd }).(pulumi.StringOutput) @@ -21340,6 +24335,12 @@ func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOut return o } +func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse] { + return pulumix.Output[InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOutput) Max() pulumi.IntOutput { return o.ApplyT(func(v InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse) int { return v.Max }).(pulumi.IntOutput) } @@ -21362,6 +24363,12 @@ func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseArr return o } +func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse] { + return pulumix.Output[[]InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseArrayOutput) Index(i pulumi.IntInput) InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse { return vs[0].([]InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeResponse)[vs[1].(int)] @@ -21389,6 +24396,12 @@ func (o InterconnectAttachmentConfigurationConstraintsResponseOutput) ToIntercon return o } +func (o InterconnectAttachmentConfigurationConstraintsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentConfigurationConstraintsResponse] { + return pulumix.Output[InterconnectAttachmentConfigurationConstraintsResponse]{ + OutputState: o.OutputState, + } +} + // Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. func (o InterconnectAttachmentConfigurationConstraintsResponseOutput) BgpMd5() pulumi.StringOutput { return o.ApplyT(func(v InterconnectAttachmentConfigurationConstraintsResponse) string { return v.BgpMd5 }).(pulumi.StringOutput) @@ -21444,6 +24457,12 @@ func (i InterconnectAttachmentPartnerMetadataArgs) ToInterconnectAttachmentPartn return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentPartnerMetadataOutput) } +func (i InterconnectAttachmentPartnerMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[InterconnectAttachmentPartnerMetadata]{ + OutputState: i.ToInterconnectAttachmentPartnerMetadataOutputWithContext(ctx).OutputState, + } +} + func (i InterconnectAttachmentPartnerMetadataArgs) ToInterconnectAttachmentPartnerMetadataPtrOutput() InterconnectAttachmentPartnerMetadataPtrOutput { return i.ToInterconnectAttachmentPartnerMetadataPtrOutputWithContext(context.Background()) } @@ -21485,6 +24504,12 @@ func (i *interconnectAttachmentPartnerMetadataPtrType) ToInterconnectAttachmentP return pulumi.ToOutputWithContext(ctx, i).(InterconnectAttachmentPartnerMetadataPtrOutput) } +func (i *interconnectAttachmentPartnerMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[*InterconnectAttachmentPartnerMetadata]{ + OutputState: i.ToInterconnectAttachmentPartnerMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments. type InterconnectAttachmentPartnerMetadataOutput struct{ *pulumi.OutputState } @@ -21510,6 +24535,12 @@ func (o InterconnectAttachmentPartnerMetadataOutput) ToInterconnectAttachmentPar }).(InterconnectAttachmentPartnerMetadataPtrOutput) } +func (o InterconnectAttachmentPartnerMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[InterconnectAttachmentPartnerMetadata]{ + OutputState: o.OutputState, + } +} + // Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values. func (o InterconnectAttachmentPartnerMetadataOutput) InterconnectName() pulumi.StringPtrOutput { return o.ApplyT(func(v InterconnectAttachmentPartnerMetadata) *string { return v.InterconnectName }).(pulumi.StringPtrOutput) @@ -21539,6 +24570,12 @@ func (o InterconnectAttachmentPartnerMetadataPtrOutput) ToInterconnectAttachment return o } +func (o InterconnectAttachmentPartnerMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InterconnectAttachmentPartnerMetadata] { + return pulumix.Output[*InterconnectAttachmentPartnerMetadata]{ + OutputState: o.OutputState, + } +} + func (o InterconnectAttachmentPartnerMetadataPtrOutput) Elem() InterconnectAttachmentPartnerMetadataOutput { return o.ApplyT(func(v *InterconnectAttachmentPartnerMetadata) InterconnectAttachmentPartnerMetadata { if v != nil { @@ -21604,6 +24641,12 @@ func (o InterconnectAttachmentPartnerMetadataResponseOutput) ToInterconnectAttac return o } +func (o InterconnectAttachmentPartnerMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPartnerMetadataResponse] { + return pulumix.Output[InterconnectAttachmentPartnerMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values. func (o InterconnectAttachmentPartnerMetadataResponseOutput) InterconnectName() pulumi.StringOutput { return o.ApplyT(func(v InterconnectAttachmentPartnerMetadataResponse) string { return v.InterconnectName }).(pulumi.StringOutput) @@ -21640,6 +24683,12 @@ func (o InterconnectAttachmentPrivateInfoResponseOutput) ToInterconnectAttachmen return o } +func (o InterconnectAttachmentPrivateInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectAttachmentPrivateInfoResponse] { + return pulumix.Output[InterconnectAttachmentPrivateInfoResponse]{ + OutputState: o.OutputState, + } +} + // 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region. func (o InterconnectAttachmentPrivateInfoResponseOutput) Tag8021q() pulumi.IntOutput { return o.ApplyT(func(v InterconnectAttachmentPrivateInfoResponse) int { return v.Tag8021q }).(pulumi.IntOutput) @@ -21670,6 +24719,12 @@ func (o InterconnectCircuitInfoResponseOutput) ToInterconnectCircuitInfoResponse return o } +func (o InterconnectCircuitInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectCircuitInfoResponse] { + return pulumix.Output[InterconnectCircuitInfoResponse]{ + OutputState: o.OutputState, + } +} + // Customer-side demarc ID for this circuit. func (o InterconnectCircuitInfoResponseOutput) CustomerDemarcId() pulumi.StringOutput { return o.ApplyT(func(v InterconnectCircuitInfoResponse) string { return v.CustomerDemarcId }).(pulumi.StringOutput) @@ -21699,6 +24754,12 @@ func (o InterconnectCircuitInfoResponseArrayOutput) ToInterconnectCircuitInfoRes return o } +func (o InterconnectCircuitInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectCircuitInfoResponse] { + return pulumix.Output[[]InterconnectCircuitInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectCircuitInfoResponseArrayOutput) Index(i pulumi.IntInput) InterconnectCircuitInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectCircuitInfoResponse { return vs[0].([]InterconnectCircuitInfoResponse)[vs[1].(int)] @@ -21740,6 +24801,12 @@ func (o InterconnectOutageNotificationResponseOutput) ToInterconnectOutageNotifi return o } +func (o InterconnectOutageNotificationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InterconnectOutageNotificationResponse] { + return pulumix.Output[InterconnectOutageNotificationResponse]{ + OutputState: o.OutputState, + } +} + // If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected. func (o InterconnectOutageNotificationResponseOutput) AffectedCircuits() pulumi.StringArrayOutput { return o.ApplyT(func(v InterconnectOutageNotificationResponse) []string { return v.AffectedCircuits }).(pulumi.StringArrayOutput) @@ -21794,6 +24861,12 @@ func (o InterconnectOutageNotificationResponseArrayOutput) ToInterconnectOutageN return o } +func (o InterconnectOutageNotificationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InterconnectOutageNotificationResponse] { + return pulumix.Output[[]InterconnectOutageNotificationResponse]{ + OutputState: o.OutputState, + } +} + func (o InterconnectOutageNotificationResponseArrayOutput) Index(i pulumi.IntInput) InterconnectOutageNotificationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InterconnectOutageNotificationResponse { return vs[0].([]InterconnectOutageNotificationResponse)[vs[1].(int)] @@ -21843,6 +24916,12 @@ func (i LicenseResourceCommitmentArgs) ToLicenseResourceCommitmentOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceCommitmentOutput) } +func (i LicenseResourceCommitmentArgs) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceCommitment] { + return pulumix.Output[LicenseResourceCommitment]{ + OutputState: i.ToLicenseResourceCommitmentOutputWithContext(ctx).OutputState, + } +} + func (i LicenseResourceCommitmentArgs) ToLicenseResourceCommitmentPtrOutput() LicenseResourceCommitmentPtrOutput { return i.ToLicenseResourceCommitmentPtrOutputWithContext(context.Background()) } @@ -21884,6 +24963,12 @@ func (i *licenseResourceCommitmentPtrType) ToLicenseResourceCommitmentPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceCommitmentPtrOutput) } +func (i *licenseResourceCommitmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceCommitment] { + return pulumix.Output[*LicenseResourceCommitment]{ + OutputState: i.ToLicenseResourceCommitmentPtrOutputWithContext(ctx).OutputState, + } +} + // Commitment for a particular license resource. type LicenseResourceCommitmentOutput struct{ *pulumi.OutputState } @@ -21909,6 +24994,12 @@ func (o LicenseResourceCommitmentOutput) ToLicenseResourceCommitmentPtrOutputWit }).(LicenseResourceCommitmentPtrOutput) } +func (o LicenseResourceCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceCommitment] { + return pulumix.Output[LicenseResourceCommitment]{ + OutputState: o.OutputState, + } +} + // The number of licenses purchased. func (o LicenseResourceCommitmentOutput) Amount() pulumi.StringPtrOutput { return o.ApplyT(func(v LicenseResourceCommitment) *string { return v.Amount }).(pulumi.StringPtrOutput) @@ -21938,6 +25029,12 @@ func (o LicenseResourceCommitmentPtrOutput) ToLicenseResourceCommitmentPtrOutput return o } +func (o LicenseResourceCommitmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceCommitment] { + return pulumix.Output[*LicenseResourceCommitment]{ + OutputState: o.OutputState, + } +} + func (o LicenseResourceCommitmentPtrOutput) Elem() LicenseResourceCommitmentOutput { return o.ApplyT(func(v *LicenseResourceCommitment) LicenseResourceCommitment { if v != nil { @@ -22003,6 +25100,12 @@ func (o LicenseResourceCommitmentResponseOutput) ToLicenseResourceCommitmentResp return o } +func (o LicenseResourceCommitmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceCommitmentResponse] { + return pulumix.Output[LicenseResourceCommitmentResponse]{ + OutputState: o.OutputState, + } +} + // The number of licenses purchased. func (o LicenseResourceCommitmentResponseOutput) Amount() pulumi.StringOutput { return o.ApplyT(func(v LicenseResourceCommitmentResponse) string { return v.Amount }).(pulumi.StringOutput) @@ -22055,6 +25158,12 @@ func (i LicenseResourceRequirementsArgs) ToLicenseResourceRequirementsOutputWith return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceRequirementsOutput) } +func (i LicenseResourceRequirementsArgs) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceRequirements] { + return pulumix.Output[LicenseResourceRequirements]{ + OutputState: i.ToLicenseResourceRequirementsOutputWithContext(ctx).OutputState, + } +} + func (i LicenseResourceRequirementsArgs) ToLicenseResourceRequirementsPtrOutput() LicenseResourceRequirementsPtrOutput { return i.ToLicenseResourceRequirementsPtrOutputWithContext(context.Background()) } @@ -22096,6 +25205,12 @@ func (i *licenseResourceRequirementsPtrType) ToLicenseResourceRequirementsPtrOut return pulumi.ToOutputWithContext(ctx, i).(LicenseResourceRequirementsPtrOutput) } +func (i *licenseResourceRequirementsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceRequirements] { + return pulumix.Output[*LicenseResourceRequirements]{ + OutputState: i.ToLicenseResourceRequirementsPtrOutputWithContext(ctx).OutputState, + } +} + type LicenseResourceRequirementsOutput struct{ *pulumi.OutputState } func (LicenseResourceRequirementsOutput) ElementType() reflect.Type { @@ -22120,6 +25235,12 @@ func (o LicenseResourceRequirementsOutput) ToLicenseResourceRequirementsPtrOutpu }).(LicenseResourceRequirementsPtrOutput) } +func (o LicenseResourceRequirementsOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceRequirements] { + return pulumix.Output[LicenseResourceRequirements]{ + OutputState: o.OutputState, + } +} + // Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. func (o LicenseResourceRequirementsOutput) MinGuestCpuCount() pulumi.IntPtrOutput { return o.ApplyT(func(v LicenseResourceRequirements) *int { return v.MinGuestCpuCount }).(pulumi.IntPtrOutput) @@ -22144,6 +25265,12 @@ func (o LicenseResourceRequirementsPtrOutput) ToLicenseResourceRequirementsPtrOu return o } +func (o LicenseResourceRequirementsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LicenseResourceRequirements] { + return pulumix.Output[*LicenseResourceRequirements]{ + OutputState: o.OutputState, + } +} + func (o LicenseResourceRequirementsPtrOutput) Elem() LicenseResourceRequirementsOutput { return o.ApplyT(func(v *LicenseResourceRequirements) LicenseResourceRequirements { if v != nil { @@ -22195,6 +25322,12 @@ func (o LicenseResourceRequirementsResponseOutput) ToLicenseResourceRequirements return o } +func (o LicenseResourceRequirementsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResourceRequirementsResponse] { + return pulumix.Output[LicenseResourceRequirementsResponse]{ + OutputState: o.OutputState, + } +} + // Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. func (o LicenseResourceRequirementsResponseOutput) MinGuestCpuCount() pulumi.IntOutput { return o.ApplyT(func(v LicenseResourceRequirementsResponse) int { return v.MinGuestCpuCount }).(pulumi.IntOutput) @@ -22246,6 +25379,12 @@ func (i LocalDiskArgs) ToLocalDiskOutputWithContext(ctx context.Context) LocalDi return pulumi.ToOutputWithContext(ctx, i).(LocalDiskOutput) } +func (i LocalDiskArgs) ToOutput(ctx context.Context) pulumix.Output[LocalDisk] { + return pulumix.Output[LocalDisk]{ + OutputState: i.ToLocalDiskOutputWithContext(ctx).OutputState, + } +} + // LocalDiskArrayInput is an input type that accepts LocalDiskArray and LocalDiskArrayOutput values. // You can construct a concrete instance of `LocalDiskArrayInput` via: // @@ -22271,6 +25410,12 @@ func (i LocalDiskArray) ToLocalDiskArrayOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LocalDiskArrayOutput) } +func (i LocalDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]LocalDisk] { + return pulumix.Output[[]LocalDisk]{ + OutputState: i.ToLocalDiskArrayOutputWithContext(ctx).OutputState, + } +} + type LocalDiskOutput struct{ *pulumi.OutputState } func (LocalDiskOutput) ElementType() reflect.Type { @@ -22285,6 +25430,12 @@ func (o LocalDiskOutput) ToLocalDiskOutputWithContext(ctx context.Context) Local return o } +func (o LocalDiskOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDisk] { + return pulumix.Output[LocalDisk]{ + OutputState: o.OutputState, + } +} + // Specifies the number of such disks. func (o LocalDiskOutput) DiskCount() pulumi.IntPtrOutput { return o.ApplyT(func(v LocalDisk) *int { return v.DiskCount }).(pulumi.IntPtrOutput) @@ -22314,6 +25465,12 @@ func (o LocalDiskArrayOutput) ToLocalDiskArrayOutputWithContext(ctx context.Cont return o } +func (o LocalDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocalDisk] { + return pulumix.Output[[]LocalDisk]{ + OutputState: o.OutputState, + } +} + func (o LocalDiskArrayOutput) Index(i pulumi.IntInput) LocalDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocalDisk { return vs[0].([]LocalDisk)[vs[1].(int)] @@ -22343,6 +25500,12 @@ func (o LocalDiskResponseOutput) ToLocalDiskResponseOutputWithContext(ctx contex return o } +func (o LocalDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDiskResponse] { + return pulumix.Output[LocalDiskResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the number of such disks. func (o LocalDiskResponseOutput) DiskCount() pulumi.IntOutput { return o.ApplyT(func(v LocalDiskResponse) int { return v.DiskCount }).(pulumi.IntOutput) @@ -22372,6 +25535,12 @@ func (o LocalDiskResponseArrayOutput) ToLocalDiskResponseArrayOutputWithContext( return o } +func (o LocalDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocalDiskResponse] { + return pulumix.Output[[]LocalDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o LocalDiskResponseArrayOutput) Index(i pulumi.IntInput) LocalDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocalDiskResponse { return vs[0].([]LocalDiskResponse)[vs[1].(int)] @@ -22421,6 +25590,12 @@ func (i LogConfigArgs) ToLogConfigOutputWithContext(ctx context.Context) LogConf return pulumi.ToOutputWithContext(ctx, i).(LogConfigOutput) } +func (i LogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfig] { + return pulumix.Output[LogConfig]{ + OutputState: i.ToLogConfigOutputWithContext(ctx).OutputState, + } +} + // LogConfigArrayInput is an input type that accepts LogConfigArray and LogConfigArrayOutput values. // You can construct a concrete instance of `LogConfigArrayInput` via: // @@ -22446,6 +25621,12 @@ func (i LogConfigArray) ToLogConfigArrayOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LogConfigArrayOutput) } +func (i LogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]LogConfig] { + return pulumix.Output[[]LogConfig]{ + OutputState: i.ToLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigOutput struct{ *pulumi.OutputState } @@ -22461,6 +25642,12 @@ func (o LogConfigOutput) ToLogConfigOutputWithContext(ctx context.Context) LogCo return o } +func (o LogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfig] { + return pulumix.Output[LogConfig]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigOutput) CloudAudit() LogConfigCloudAuditOptionsPtrOutput { return o.ApplyT(func(v LogConfig) *LogConfigCloudAuditOptions { return v.CloudAudit }).(LogConfigCloudAuditOptionsPtrOutput) @@ -22490,6 +25677,12 @@ func (o LogConfigArrayOutput) ToLogConfigArrayOutputWithContext(ctx context.Cont return o } +func (o LogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfig] { + return pulumix.Output[[]LogConfig]{ + OutputState: o.OutputState, + } +} + func (o LogConfigArrayOutput) Index(i pulumi.IntInput) LogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfig { return vs[0].([]LogConfig)[vs[1].(int)] @@ -22535,6 +25728,12 @@ func (i LogConfigCloudAuditOptionsArgs) ToLogConfigCloudAuditOptionsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(LogConfigCloudAuditOptionsOutput) } +func (i LogConfigCloudAuditOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptions] { + return pulumix.Output[LogConfigCloudAuditOptions]{ + OutputState: i.ToLogConfigCloudAuditOptionsOutputWithContext(ctx).OutputState, + } +} + func (i LogConfigCloudAuditOptionsArgs) ToLogConfigCloudAuditOptionsPtrOutput() LogConfigCloudAuditOptionsPtrOutput { return i.ToLogConfigCloudAuditOptionsPtrOutputWithContext(context.Background()) } @@ -22576,6 +25775,12 @@ func (i *logConfigCloudAuditOptionsPtrType) ToLogConfigCloudAuditOptionsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(LogConfigCloudAuditOptionsPtrOutput) } +func (i *logConfigCloudAuditOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptions] { + return pulumix.Output[*LogConfigCloudAuditOptions]{ + OutputState: i.ToLogConfigCloudAuditOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCloudAuditOptionsOutput struct{ *pulumi.OutputState } @@ -22601,6 +25806,12 @@ func (o LogConfigCloudAuditOptionsOutput) ToLogConfigCloudAuditOptionsPtrOutputW }).(LogConfigCloudAuditOptionsPtrOutput) } +func (o LogConfigCloudAuditOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptions] { + return pulumix.Output[LogConfigCloudAuditOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCloudAuditOptionsOutput) AuthorizationLoggingOptions() AuthorizationLoggingOptionsPtrOutput { return o.ApplyT(func(v LogConfigCloudAuditOptions) *AuthorizationLoggingOptions { return v.AuthorizationLoggingOptions }).(AuthorizationLoggingOptionsPtrOutput) @@ -22625,6 +25836,12 @@ func (o LogConfigCloudAuditOptionsPtrOutput) ToLogConfigCloudAuditOptionsPtrOutp return o } +func (o LogConfigCloudAuditOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCloudAuditOptions] { + return pulumix.Output[*LogConfigCloudAuditOptions]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCloudAuditOptionsPtrOutput) Elem() LogConfigCloudAuditOptionsOutput { return o.ApplyT(func(v *LogConfigCloudAuditOptions) LogConfigCloudAuditOptions { if v != nil { @@ -22678,6 +25895,12 @@ func (o LogConfigCloudAuditOptionsResponseOutput) ToLogConfigCloudAuditOptionsRe return o } +func (o LogConfigCloudAuditOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCloudAuditOptionsResponse] { + return pulumix.Output[LogConfigCloudAuditOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCloudAuditOptionsResponseOutput) AuthorizationLoggingOptions() AuthorizationLoggingOptionsResponseOutput { return o.ApplyT(func(v LogConfigCloudAuditOptionsResponse) AuthorizationLoggingOptionsResponse { @@ -22733,6 +25956,12 @@ func (i LogConfigCounterOptionsArgs) ToLogConfigCounterOptionsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsOutput) } +func (i LogConfigCounterOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptions] { + return pulumix.Output[LogConfigCounterOptions]{ + OutputState: i.ToLogConfigCounterOptionsOutputWithContext(ctx).OutputState, + } +} + func (i LogConfigCounterOptionsArgs) ToLogConfigCounterOptionsPtrOutput() LogConfigCounterOptionsPtrOutput { return i.ToLogConfigCounterOptionsPtrOutputWithContext(context.Background()) } @@ -22774,6 +26003,12 @@ func (i *logConfigCounterOptionsPtrType) ToLogConfigCounterOptionsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsPtrOutput) } +func (i *logConfigCounterOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCounterOptions] { + return pulumix.Output[*LogConfigCounterOptions]{ + OutputState: i.ToLogConfigCounterOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCounterOptionsOutput struct{ *pulumi.OutputState } @@ -22799,6 +26034,12 @@ func (o LogConfigCounterOptionsOutput) ToLogConfigCounterOptionsPtrOutputWithCon }).(LogConfigCounterOptionsPtrOutput) } +func (o LogConfigCounterOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptions] { + return pulumix.Output[LogConfigCounterOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsOutput) CustomFields() LogConfigCounterOptionsCustomFieldArrayOutput { return o.ApplyT(func(v LogConfigCounterOptions) []LogConfigCounterOptionsCustomField { return v.CustomFields }).(LogConfigCounterOptionsCustomFieldArrayOutput) @@ -22828,6 +26069,12 @@ func (o LogConfigCounterOptionsPtrOutput) ToLogConfigCounterOptionsPtrOutputWith return o } +func (o LogConfigCounterOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigCounterOptions] { + return pulumix.Output[*LogConfigCounterOptions]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCounterOptionsPtrOutput) Elem() LogConfigCounterOptionsOutput { return o.ApplyT(func(v *LogConfigCounterOptions) LogConfigCounterOptions { if v != nil { @@ -22907,6 +26154,12 @@ func (i LogConfigCounterOptionsCustomFieldArgs) ToLogConfigCounterOptionsCustomF return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsCustomFieldOutput) } +func (i LogConfigCounterOptionsCustomFieldArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsCustomField] { + return pulumix.Output[LogConfigCounterOptionsCustomField]{ + OutputState: i.ToLogConfigCounterOptionsCustomFieldOutputWithContext(ctx).OutputState, + } +} + // LogConfigCounterOptionsCustomFieldArrayInput is an input type that accepts LogConfigCounterOptionsCustomFieldArray and LogConfigCounterOptionsCustomFieldArrayOutput values. // You can construct a concrete instance of `LogConfigCounterOptionsCustomFieldArrayInput` via: // @@ -22932,6 +26185,12 @@ func (i LogConfigCounterOptionsCustomFieldArray) ToLogConfigCounterOptionsCustom return pulumi.ToOutputWithContext(ctx, i).(LogConfigCounterOptionsCustomFieldArrayOutput) } +func (i LogConfigCounterOptionsCustomFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigCounterOptionsCustomField] { + return pulumix.Output[[]LogConfigCounterOptionsCustomField]{ + OutputState: i.ToLogConfigCounterOptionsCustomFieldArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigCounterOptionsCustomFieldOutput struct{ *pulumi.OutputState } @@ -22947,6 +26206,12 @@ func (o LogConfigCounterOptionsCustomFieldOutput) ToLogConfigCounterOptionsCusto return o } +func (o LogConfigCounterOptionsCustomFieldOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsCustomField] { + return pulumix.Output[LogConfigCounterOptionsCustomField]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsCustomFieldOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v LogConfigCounterOptionsCustomField) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -22971,6 +26236,12 @@ func (o LogConfigCounterOptionsCustomFieldArrayOutput) ToLogConfigCounterOptions return o } +func (o LogConfigCounterOptionsCustomFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigCounterOptionsCustomField] { + return pulumix.Output[[]LogConfigCounterOptionsCustomField]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCounterOptionsCustomFieldArrayOutput) Index(i pulumi.IntInput) LogConfigCounterOptionsCustomFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigCounterOptionsCustomField { return vs[0].([]LogConfigCounterOptionsCustomField)[vs[1].(int)] @@ -23000,6 +26271,12 @@ func (o LogConfigCounterOptionsCustomFieldResponseOutput) ToLogConfigCounterOpti return o } +func (o LogConfigCounterOptionsCustomFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsCustomFieldResponse] { + return pulumix.Output[LogConfigCounterOptionsCustomFieldResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsCustomFieldResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LogConfigCounterOptionsCustomFieldResponse) string { return v.Name }).(pulumi.StringOutput) @@ -23024,6 +26301,12 @@ func (o LogConfigCounterOptionsCustomFieldResponseArrayOutput) ToLogConfigCounte return o } +func (o LogConfigCounterOptionsCustomFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigCounterOptionsCustomFieldResponse] { + return pulumix.Output[[]LogConfigCounterOptionsCustomFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o LogConfigCounterOptionsCustomFieldResponseArrayOutput) Index(i pulumi.IntInput) LogConfigCounterOptionsCustomFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigCounterOptionsCustomFieldResponse { return vs[0].([]LogConfigCounterOptionsCustomFieldResponse)[vs[1].(int)] @@ -23055,6 +26338,12 @@ func (o LogConfigCounterOptionsResponseOutput) ToLogConfigCounterOptionsResponse return o } +func (o LogConfigCounterOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigCounterOptionsResponse] { + return pulumix.Output[LogConfigCounterOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigCounterOptionsResponseOutput) CustomFields() LogConfigCounterOptionsCustomFieldResponseArrayOutput { return o.ApplyT(func(v LogConfigCounterOptionsResponse) []LogConfigCounterOptionsCustomFieldResponse { @@ -23107,6 +26396,12 @@ func (i LogConfigDataAccessOptionsArgs) ToLogConfigDataAccessOptionsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(LogConfigDataAccessOptionsOutput) } +func (i LogConfigDataAccessOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptions] { + return pulumix.Output[LogConfigDataAccessOptions]{ + OutputState: i.ToLogConfigDataAccessOptionsOutputWithContext(ctx).OutputState, + } +} + func (i LogConfigDataAccessOptionsArgs) ToLogConfigDataAccessOptionsPtrOutput() LogConfigDataAccessOptionsPtrOutput { return i.ToLogConfigDataAccessOptionsPtrOutputWithContext(context.Background()) } @@ -23148,6 +26443,12 @@ func (i *logConfigDataAccessOptionsPtrType) ToLogConfigDataAccessOptionsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(LogConfigDataAccessOptionsPtrOutput) } +func (i *logConfigDataAccessOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptions] { + return pulumix.Output[*LogConfigDataAccessOptions]{ + OutputState: i.ToLogConfigDataAccessOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type LogConfigDataAccessOptionsOutput struct{ *pulumi.OutputState } @@ -23173,6 +26474,12 @@ func (o LogConfigDataAccessOptionsOutput) ToLogConfigDataAccessOptionsPtrOutputW }).(LogConfigDataAccessOptionsPtrOutput) } +func (o LogConfigDataAccessOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptions] { + return pulumix.Output[LogConfigDataAccessOptions]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigDataAccessOptionsOutput) LogMode() LogConfigDataAccessOptionsLogModePtrOutput { return o.ApplyT(func(v LogConfigDataAccessOptions) *LogConfigDataAccessOptionsLogMode { return v.LogMode }).(LogConfigDataAccessOptionsLogModePtrOutput) @@ -23192,6 +26499,12 @@ func (o LogConfigDataAccessOptionsPtrOutput) ToLogConfigDataAccessOptionsPtrOutp return o } +func (o LogConfigDataAccessOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogConfigDataAccessOptions] { + return pulumix.Output[*LogConfigDataAccessOptions]{ + OutputState: o.OutputState, + } +} + func (o LogConfigDataAccessOptionsPtrOutput) Elem() LogConfigDataAccessOptionsOutput { return o.ApplyT(func(v *LogConfigDataAccessOptions) LogConfigDataAccessOptions { if v != nil { @@ -23233,6 +26546,12 @@ func (o LogConfigDataAccessOptionsResponseOutput) ToLogConfigDataAccessOptionsRe return o } +func (o LogConfigDataAccessOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigDataAccessOptionsResponse] { + return pulumix.Output[LogConfigDataAccessOptionsResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigDataAccessOptionsResponseOutput) LogMode() pulumi.StringOutput { return o.ApplyT(func(v LogConfigDataAccessOptionsResponse) string { return v.LogMode }).(pulumi.StringOutput) @@ -23263,6 +26582,12 @@ func (o LogConfigResponseOutput) ToLogConfigResponseOutputWithContext(ctx contex return o } +func (o LogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigResponse] { + return pulumix.Output[LogConfigResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o LogConfigResponseOutput) CloudAudit() LogConfigCloudAuditOptionsResponseOutput { return o.ApplyT(func(v LogConfigResponse) LogConfigCloudAuditOptionsResponse { return v.CloudAudit }).(LogConfigCloudAuditOptionsResponseOutput) @@ -23292,6 +26617,12 @@ func (o LogConfigResponseArrayOutput) ToLogConfigResponseArrayOutputWithContext( return o } +func (o LogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigResponse] { + return pulumix.Output[[]LogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o LogConfigResponseArrayOutput) Index(i pulumi.IntInput) LogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigResponse { return vs[0].([]LogConfigResponse)[vs[1].(int)] @@ -23333,6 +26664,12 @@ func (i MetadataArgs) ToMetadataOutputWithContext(ctx context.Context) MetadataO return pulumi.ToOutputWithContext(ctx, i).(MetadataOutput) } +func (i MetadataArgs) ToOutput(ctx context.Context) pulumix.Output[Metadata] { + return pulumix.Output[Metadata]{ + OutputState: i.ToMetadataOutputWithContext(ctx).OutputState, + } +} + func (i MetadataArgs) ToMetadataPtrOutput() MetadataPtrOutput { return i.ToMetadataPtrOutputWithContext(context.Background()) } @@ -23374,6 +26711,12 @@ func (i *metadataPtrType) ToMetadataPtrOutputWithContext(ctx context.Context) Me return pulumi.ToOutputWithContext(ctx, i).(MetadataPtrOutput) } +func (i *metadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*Metadata] { + return pulumix.Output[*Metadata]{ + OutputState: i.ToMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // A metadata key/value entry. type MetadataOutput struct{ *pulumi.OutputState } @@ -23399,6 +26742,12 @@ func (o MetadataOutput) ToMetadataPtrOutputWithContext(ctx context.Context) Meta }).(MetadataPtrOutput) } +func (o MetadataOutput) ToOutput(ctx context.Context) pulumix.Output[Metadata] { + return pulumix.Output[Metadata]{ + OutputState: o.OutputState, + } +} + // Array of key/value pairs. The total size of all keys and values must be less than 512 KB. func (o MetadataOutput) Items() MetadataItemsItemArrayOutput { return o.ApplyT(func(v Metadata) []MetadataItemsItem { return v.Items }).(MetadataItemsItemArrayOutput) @@ -23418,6 +26767,12 @@ func (o MetadataPtrOutput) ToMetadataPtrOutputWithContext(ctx context.Context) M return o } +func (o MetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Metadata] { + return pulumix.Output[*Metadata]{ + OutputState: o.OutputState, + } +} + func (o MetadataPtrOutput) Elem() MetadataOutput { return o.ApplyT(func(v *Metadata) Metadata { if v != nil { @@ -23477,6 +26832,12 @@ func (i MetadataFilterArgs) ToMetadataFilterOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterOutput) } +func (i MetadataFilterArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataFilter] { + return pulumix.Output[MetadataFilter]{ + OutputState: i.ToMetadataFilterOutputWithContext(ctx).OutputState, + } +} + // MetadataFilterArrayInput is an input type that accepts MetadataFilterArray and MetadataFilterArrayOutput values. // You can construct a concrete instance of `MetadataFilterArrayInput` via: // @@ -23502,6 +26863,12 @@ func (i MetadataFilterArray) ToMetadataFilterArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterArrayOutput) } +func (i MetadataFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilter] { + return pulumix.Output[[]MetadataFilter]{ + OutputState: i.ToMetadataFilterArrayOutputWithContext(ctx).OutputState, + } +} + // Opaque filter criteria used by load balancers to restrict routing configuration to a limited set of load balancing proxies. Proxies and sidecars involved in load balancing would typically present metadata to the load balancers that need to match criteria specified here. If a match takes place, the relevant configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. An example for using metadataFilters would be: if load balancing involves Envoys, they receive routing configuration when values in metadataFilters match values supplied in of their XDS requests to loadbalancers. type MetadataFilterOutput struct{ *pulumi.OutputState } @@ -23517,6 +26884,12 @@ func (o MetadataFilterOutput) ToMetadataFilterOutputWithContext(ctx context.Cont return o } +func (o MetadataFilterOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilter] { + return pulumix.Output[MetadataFilter]{ + OutputState: o.OutputState, + } +} + // The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. func (o MetadataFilterOutput) FilterLabels() MetadataFilterLabelMatchArrayOutput { return o.ApplyT(func(v MetadataFilter) []MetadataFilterLabelMatch { return v.FilterLabels }).(MetadataFilterLabelMatchArrayOutput) @@ -23541,6 +26914,12 @@ func (o MetadataFilterArrayOutput) ToMetadataFilterArrayOutputWithContext(ctx co return o } +func (o MetadataFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilter] { + return pulumix.Output[[]MetadataFilter]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterArrayOutput) Index(i pulumi.IntInput) MetadataFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilter { return vs[0].([]MetadataFilter)[vs[1].(int)] @@ -23586,6 +26965,12 @@ func (i MetadataFilterLabelMatchArgs) ToMetadataFilterLabelMatchOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterLabelMatchOutput) } +func (i MetadataFilterLabelMatchArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterLabelMatch] { + return pulumix.Output[MetadataFilterLabelMatch]{ + OutputState: i.ToMetadataFilterLabelMatchOutputWithContext(ctx).OutputState, + } +} + // MetadataFilterLabelMatchArrayInput is an input type that accepts MetadataFilterLabelMatchArray and MetadataFilterLabelMatchArrayOutput values. // You can construct a concrete instance of `MetadataFilterLabelMatchArrayInput` via: // @@ -23611,6 +26996,12 @@ func (i MetadataFilterLabelMatchArray) ToMetadataFilterLabelMatchArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(MetadataFilterLabelMatchArrayOutput) } +func (i MetadataFilterLabelMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterLabelMatch] { + return pulumix.Output[[]MetadataFilterLabelMatch]{ + OutputState: i.ToMetadataFilterLabelMatchArrayOutputWithContext(ctx).OutputState, + } +} + // MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer. type MetadataFilterLabelMatchOutput struct{ *pulumi.OutputState } @@ -23626,6 +27017,12 @@ func (o MetadataFilterLabelMatchOutput) ToMetadataFilterLabelMatchOutputWithCont return o } +func (o MetadataFilterLabelMatchOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterLabelMatch] { + return pulumix.Output[MetadataFilterLabelMatch]{ + OutputState: o.OutputState, + } +} + // Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long. func (o MetadataFilterLabelMatchOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v MetadataFilterLabelMatch) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -23650,6 +27047,12 @@ func (o MetadataFilterLabelMatchArrayOutput) ToMetadataFilterLabelMatchArrayOutp return o } +func (o MetadataFilterLabelMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterLabelMatch] { + return pulumix.Output[[]MetadataFilterLabelMatch]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterLabelMatchArrayOutput) Index(i pulumi.IntInput) MetadataFilterLabelMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilterLabelMatch { return vs[0].([]MetadataFilterLabelMatch)[vs[1].(int)] @@ -23679,6 +27082,12 @@ func (o MetadataFilterLabelMatchResponseOutput) ToMetadataFilterLabelMatchRespon return o } +func (o MetadataFilterLabelMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterLabelMatchResponse] { + return pulumix.Output[MetadataFilterLabelMatchResponse]{ + OutputState: o.OutputState, + } +} + // Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long. func (o MetadataFilterLabelMatchResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v MetadataFilterLabelMatchResponse) string { return v.Name }).(pulumi.StringOutput) @@ -23703,6 +27112,12 @@ func (o MetadataFilterLabelMatchResponseArrayOutput) ToMetadataFilterLabelMatchR return o } +func (o MetadataFilterLabelMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterLabelMatchResponse] { + return pulumix.Output[[]MetadataFilterLabelMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterLabelMatchResponseArrayOutput) Index(i pulumi.IntInput) MetadataFilterLabelMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilterLabelMatchResponse { return vs[0].([]MetadataFilterLabelMatchResponse)[vs[1].(int)] @@ -23732,6 +27147,12 @@ func (o MetadataFilterResponseOutput) ToMetadataFilterResponseOutputWithContext( return o } +func (o MetadataFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataFilterResponse] { + return pulumix.Output[MetadataFilterResponse]{ + OutputState: o.OutputState, + } +} + // The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. func (o MetadataFilterResponseOutput) FilterLabels() MetadataFilterLabelMatchResponseArrayOutput { return o.ApplyT(func(v MetadataFilterResponse) []MetadataFilterLabelMatchResponse { return v.FilterLabels }).(MetadataFilterLabelMatchResponseArrayOutput) @@ -23756,6 +27177,12 @@ func (o MetadataFilterResponseArrayOutput) ToMetadataFilterResponseArrayOutputWi return o } +func (o MetadataFilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataFilterResponse] { + return pulumix.Output[[]MetadataFilterResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataFilterResponseArrayOutput) Index(i pulumi.IntInput) MetadataFilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataFilterResponse { return vs[0].([]MetadataFilterResponse)[vs[1].(int)] @@ -23801,6 +27228,12 @@ func (i MetadataItemsItemArgs) ToMetadataItemsItemOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MetadataItemsItemOutput) } +func (i MetadataItemsItemArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataItemsItem] { + return pulumix.Output[MetadataItemsItem]{ + OutputState: i.ToMetadataItemsItemOutputWithContext(ctx).OutputState, + } +} + // MetadataItemsItemArrayInput is an input type that accepts MetadataItemsItemArray and MetadataItemsItemArrayOutput values. // You can construct a concrete instance of `MetadataItemsItemArrayInput` via: // @@ -23826,6 +27259,12 @@ func (i MetadataItemsItemArray) ToMetadataItemsItemArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(MetadataItemsItemArrayOutput) } +func (i MetadataItemsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]MetadataItemsItem] { + return pulumix.Output[[]MetadataItemsItem]{ + OutputState: i.ToMetadataItemsItemArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata type MetadataItemsItemOutput struct{ *pulumi.OutputState } @@ -23841,6 +27280,12 @@ func (o MetadataItemsItemOutput) ToMetadataItemsItemOutputWithContext(ctx contex return o } +func (o MetadataItemsItemOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataItemsItem] { + return pulumix.Output[MetadataItemsItem]{ + OutputState: o.OutputState, + } +} + // Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project. func (o MetadataItemsItemOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v MetadataItemsItem) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -23865,6 +27310,12 @@ func (o MetadataItemsItemArrayOutput) ToMetadataItemsItemArrayOutputWithContext( return o } +func (o MetadataItemsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataItemsItem] { + return pulumix.Output[[]MetadataItemsItem]{ + OutputState: o.OutputState, + } +} + func (o MetadataItemsItemArrayOutput) Index(i pulumi.IntInput) MetadataItemsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataItemsItem { return vs[0].([]MetadataItemsItem)[vs[1].(int)] @@ -23894,6 +27345,12 @@ func (o MetadataItemsItemResponseOutput) ToMetadataItemsItemResponseOutputWithCo return o } +func (o MetadataItemsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataItemsItemResponse] { + return pulumix.Output[MetadataItemsItemResponse]{ + OutputState: o.OutputState, + } +} + // Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project. func (o MetadataItemsItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v MetadataItemsItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -23918,6 +27375,12 @@ func (o MetadataItemsItemResponseArrayOutput) ToMetadataItemsItemResponseArrayOu return o } +func (o MetadataItemsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataItemsItemResponse] { + return pulumix.Output[[]MetadataItemsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataItemsItemResponseArrayOutput) Index(i pulumi.IntInput) MetadataItemsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataItemsItemResponse { return vs[0].([]MetadataItemsItemResponse)[vs[1].(int)] @@ -23949,6 +27412,12 @@ func (o MetadataResponseOutput) ToMetadataResponseOutputWithContext(ctx context. return o } +func (o MetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataResponse] { + return pulumix.Output[MetadataResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource. func (o MetadataResponseOutput) Fingerprint() pulumi.StringOutput { return o.ApplyT(func(v MetadataResponse) string { return v.Fingerprint }).(pulumi.StringOutput) @@ -24003,6 +27472,12 @@ func (i NamedPortArgs) ToNamedPortOutputWithContext(ctx context.Context) NamedPo return pulumi.ToOutputWithContext(ctx, i).(NamedPortOutput) } +func (i NamedPortArgs) ToOutput(ctx context.Context) pulumix.Output[NamedPort] { + return pulumix.Output[NamedPort]{ + OutputState: i.ToNamedPortOutputWithContext(ctx).OutputState, + } +} + // NamedPortArrayInput is an input type that accepts NamedPortArray and NamedPortArrayOutput values. // You can construct a concrete instance of `NamedPortArrayInput` via: // @@ -24028,6 +27503,12 @@ func (i NamedPortArray) ToNamedPortArrayOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NamedPortArrayOutput) } +func (i NamedPortArray) ToOutput(ctx context.Context) pulumix.Output[[]NamedPort] { + return pulumix.Output[[]NamedPort]{ + OutputState: i.ToNamedPortArrayOutputWithContext(ctx).OutputState, + } +} + // The named port. For example: <"http", 80>. type NamedPortOutput struct{ *pulumi.OutputState } @@ -24043,6 +27524,12 @@ func (o NamedPortOutput) ToNamedPortOutputWithContext(ctx context.Context) Named return o } +func (o NamedPortOutput) ToOutput(ctx context.Context) pulumix.Output[NamedPort] { + return pulumix.Output[NamedPort]{ + OutputState: o.OutputState, + } +} + // The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. func (o NamedPortOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v NamedPort) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -24067,6 +27554,12 @@ func (o NamedPortArrayOutput) ToNamedPortArrayOutputWithContext(ctx context.Cont return o } +func (o NamedPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamedPort] { + return pulumix.Output[[]NamedPort]{ + OutputState: o.OutputState, + } +} + func (o NamedPortArrayOutput) Index(i pulumi.IntInput) NamedPortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamedPort { return vs[0].([]NamedPort)[vs[1].(int)] @@ -24096,6 +27589,12 @@ func (o NamedPortResponseOutput) ToNamedPortResponseOutputWithContext(ctx contex return o } +func (o NamedPortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NamedPortResponse] { + return pulumix.Output[NamedPortResponse]{ + OutputState: o.OutputState, + } +} + // The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. func (o NamedPortResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v NamedPortResponse) string { return v.Name }).(pulumi.StringOutput) @@ -24120,6 +27619,12 @@ func (o NamedPortResponseArrayOutput) ToNamedPortResponseArrayOutputWithContext( return o } +func (o NamedPortResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamedPortResponse] { + return pulumix.Output[[]NamedPortResponse]{ + OutputState: o.OutputState, + } +} + func (o NamedPortResponseArrayOutput) Index(i pulumi.IntInput) NamedPortResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamedPortResponse { return vs[0].([]NamedPortResponse)[vs[1].(int)] @@ -24155,6 +27660,12 @@ func (o NetworkAttachmentConnectedEndpointResponseOutput) ToNetworkAttachmentCon return o } +func (o NetworkAttachmentConnectedEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkAttachmentConnectedEndpointResponse] { + return pulumix.Output[NetworkAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless. func (o NetworkAttachmentConnectedEndpointResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v NetworkAttachmentConnectedEndpointResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -24194,6 +27705,12 @@ func (o NetworkAttachmentConnectedEndpointResponseArrayOutput) ToNetworkAttachme return o } +func (o NetworkAttachmentConnectedEndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkAttachmentConnectedEndpointResponse] { + return pulumix.Output[[]NetworkAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkAttachmentConnectedEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkAttachmentConnectedEndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkAttachmentConnectedEndpointResponse { return vs[0].([]NetworkAttachmentConnectedEndpointResponse)[vs[1].(int)] @@ -24243,6 +27760,12 @@ func (i NetworkEndpointGroupAppEngineArgs) ToNetworkEndpointGroupAppEngineOutput return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupAppEngineOutput) } +func (i NetworkEndpointGroupAppEngineArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupAppEngine] { + return pulumix.Output[NetworkEndpointGroupAppEngine]{ + OutputState: i.ToNetworkEndpointGroupAppEngineOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupAppEngineArgs) ToNetworkEndpointGroupAppEnginePtrOutput() NetworkEndpointGroupAppEnginePtrOutput { return i.ToNetworkEndpointGroupAppEnginePtrOutputWithContext(context.Background()) } @@ -24284,6 +27807,12 @@ func (i *networkEndpointGroupAppEnginePtrType) ToNetworkEndpointGroupAppEnginePt return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupAppEnginePtrOutput) } +func (i *networkEndpointGroupAppEnginePtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupAppEngine] { + return pulumix.Output[*NetworkEndpointGroupAppEngine]{ + OutputState: i.ToNetworkEndpointGroupAppEnginePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupAppEngineOutput struct{ *pulumi.OutputState } @@ -24309,6 +27838,12 @@ func (o NetworkEndpointGroupAppEngineOutput) ToNetworkEndpointGroupAppEnginePtrO }).(NetworkEndpointGroupAppEnginePtrOutput) } +func (o NetworkEndpointGroupAppEngineOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupAppEngine] { + return pulumix.Output[NetworkEndpointGroupAppEngine]{ + OutputState: o.OutputState, + } +} + // Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". func (o NetworkEndpointGroupAppEngineOutput) Service() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupAppEngine) *string { return v.Service }).(pulumi.StringPtrOutput) @@ -24338,6 +27873,12 @@ func (o NetworkEndpointGroupAppEnginePtrOutput) ToNetworkEndpointGroupAppEngineP return o } +func (o NetworkEndpointGroupAppEnginePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupAppEngine] { + return pulumix.Output[*NetworkEndpointGroupAppEngine]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupAppEnginePtrOutput) Elem() NetworkEndpointGroupAppEngineOutput { return o.ApplyT(func(v *NetworkEndpointGroupAppEngine) NetworkEndpointGroupAppEngine { if v != nil { @@ -24403,6 +27944,12 @@ func (o NetworkEndpointGroupAppEngineResponseOutput) ToNetworkEndpointGroupAppEn return o } +func (o NetworkEndpointGroupAppEngineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupAppEngineResponse] { + return pulumix.Output[NetworkEndpointGroupAppEngineResponse]{ + OutputState: o.OutputState, + } +} + // Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". func (o NetworkEndpointGroupAppEngineResponseOutput) Service() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupAppEngineResponse) string { return v.Service }).(pulumi.StringOutput) @@ -24457,6 +28004,12 @@ func (i NetworkEndpointGroupCloudFunctionArgs) ToNetworkEndpointGroupCloudFuncti return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudFunctionOutput) } +func (i NetworkEndpointGroupCloudFunctionArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudFunction] { + return pulumix.Output[NetworkEndpointGroupCloudFunction]{ + OutputState: i.ToNetworkEndpointGroupCloudFunctionOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupCloudFunctionArgs) ToNetworkEndpointGroupCloudFunctionPtrOutput() NetworkEndpointGroupCloudFunctionPtrOutput { return i.ToNetworkEndpointGroupCloudFunctionPtrOutputWithContext(context.Background()) } @@ -24498,6 +28051,12 @@ func (i *networkEndpointGroupCloudFunctionPtrType) ToNetworkEndpointGroupCloudFu return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudFunctionPtrOutput) } +func (i *networkEndpointGroupCloudFunctionPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudFunction] { + return pulumix.Output[*NetworkEndpointGroupCloudFunction]{ + OutputState: i.ToNetworkEndpointGroupCloudFunctionPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupCloudFunctionOutput struct{ *pulumi.OutputState } @@ -24523,6 +28082,12 @@ func (o NetworkEndpointGroupCloudFunctionOutput) ToNetworkEndpointGroupCloudFunc }).(NetworkEndpointGroupCloudFunctionPtrOutput) } +func (o NetworkEndpointGroupCloudFunctionOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudFunction] { + return pulumix.Output[NetworkEndpointGroupCloudFunction]{ + OutputState: o.OutputState, + } +} + // A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1". func (o NetworkEndpointGroupCloudFunctionOutput) Function() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudFunction) *string { return v.Function }).(pulumi.StringPtrOutput) @@ -24547,6 +28112,12 @@ func (o NetworkEndpointGroupCloudFunctionPtrOutput) ToNetworkEndpointGroupCloudF return o } +func (o NetworkEndpointGroupCloudFunctionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudFunction] { + return pulumix.Output[*NetworkEndpointGroupCloudFunction]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupCloudFunctionPtrOutput) Elem() NetworkEndpointGroupCloudFunctionOutput { return o.ApplyT(func(v *NetworkEndpointGroupCloudFunction) NetworkEndpointGroupCloudFunction { if v != nil { @@ -24600,6 +28171,12 @@ func (o NetworkEndpointGroupCloudFunctionResponseOutput) ToNetworkEndpointGroupC return o } +func (o NetworkEndpointGroupCloudFunctionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudFunctionResponse] { + return pulumix.Output[NetworkEndpointGroupCloudFunctionResponse]{ + OutputState: o.OutputState, + } +} + // A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1". func (o NetworkEndpointGroupCloudFunctionResponseOutput) Function() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudFunctionResponse) string { return v.Function }).(pulumi.StringOutput) @@ -24653,6 +28230,12 @@ func (i NetworkEndpointGroupCloudRunArgs) ToNetworkEndpointGroupCloudRunOutputWi return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudRunOutput) } +func (i NetworkEndpointGroupCloudRunArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudRun] { + return pulumix.Output[NetworkEndpointGroupCloudRun]{ + OutputState: i.ToNetworkEndpointGroupCloudRunOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupCloudRunArgs) ToNetworkEndpointGroupCloudRunPtrOutput() NetworkEndpointGroupCloudRunPtrOutput { return i.ToNetworkEndpointGroupCloudRunPtrOutputWithContext(context.Background()) } @@ -24694,6 +28277,12 @@ func (i *networkEndpointGroupCloudRunPtrType) ToNetworkEndpointGroupCloudRunPtrO return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupCloudRunPtrOutput) } +func (i *networkEndpointGroupCloudRunPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudRun] { + return pulumix.Output[*NetworkEndpointGroupCloudRun]{ + OutputState: i.ToNetworkEndpointGroupCloudRunPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG. type NetworkEndpointGroupCloudRunOutput struct{ *pulumi.OutputState } @@ -24719,6 +28308,12 @@ func (o NetworkEndpointGroupCloudRunOutput) ToNetworkEndpointGroupCloudRunPtrOut }).(NetworkEndpointGroupCloudRunPtrOutput) } +func (o NetworkEndpointGroupCloudRunOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudRun] { + return pulumix.Output[NetworkEndpointGroupCloudRun]{ + OutputState: o.OutputState, + } +} + // Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service". func (o NetworkEndpointGroupCloudRunOutput) Service() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudRun) *string { return v.Service }).(pulumi.StringPtrOutput) @@ -24748,6 +28343,12 @@ func (o NetworkEndpointGroupCloudRunPtrOutput) ToNetworkEndpointGroupCloudRunPtr return o } +func (o NetworkEndpointGroupCloudRunPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupCloudRun] { + return pulumix.Output[*NetworkEndpointGroupCloudRun]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupCloudRunPtrOutput) Elem() NetworkEndpointGroupCloudRunOutput { return o.ApplyT(func(v *NetworkEndpointGroupCloudRun) NetworkEndpointGroupCloudRun { if v != nil { @@ -24813,6 +28414,12 @@ func (o NetworkEndpointGroupCloudRunResponseOutput) ToNetworkEndpointGroupCloudR return o } +func (o NetworkEndpointGroupCloudRunResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupCloudRunResponse] { + return pulumix.Output[NetworkEndpointGroupCloudRunResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service". func (o NetworkEndpointGroupCloudRunResponseOutput) Service() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupCloudRunResponse) string { return v.Service }).(pulumi.StringOutput) @@ -24859,6 +28466,12 @@ func (i NetworkEndpointGroupPscDataArgs) ToNetworkEndpointGroupPscDataOutputWith return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupPscDataOutput) } +func (i NetworkEndpointGroupPscDataArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupPscData] { + return pulumix.Output[NetworkEndpointGroupPscData]{ + OutputState: i.ToNetworkEndpointGroupPscDataOutputWithContext(ctx).OutputState, + } +} + func (i NetworkEndpointGroupPscDataArgs) ToNetworkEndpointGroupPscDataPtrOutput() NetworkEndpointGroupPscDataPtrOutput { return i.ToNetworkEndpointGroupPscDataPtrOutputWithContext(context.Background()) } @@ -24900,6 +28513,12 @@ func (i *networkEndpointGroupPscDataPtrType) ToNetworkEndpointGroupPscDataPtrOut return pulumi.ToOutputWithContext(ctx, i).(NetworkEndpointGroupPscDataPtrOutput) } +func (i *networkEndpointGroupPscDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupPscData] { + return pulumix.Output[*NetworkEndpointGroupPscData]{ + OutputState: i.ToNetworkEndpointGroupPscDataPtrOutputWithContext(ctx).OutputState, + } +} + // All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT. type NetworkEndpointGroupPscDataOutput struct{ *pulumi.OutputState } @@ -24925,6 +28544,12 @@ func (o NetworkEndpointGroupPscDataOutput) ToNetworkEndpointGroupPscDataPtrOutpu }).(NetworkEndpointGroupPscDataPtrOutput) } +func (o NetworkEndpointGroupPscDataOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupPscData] { + return pulumix.Output[NetworkEndpointGroupPscData]{ + OutputState: o.OutputState, + } +} + type NetworkEndpointGroupPscDataPtrOutput struct{ *pulumi.OutputState } func (NetworkEndpointGroupPscDataPtrOutput) ElementType() reflect.Type { @@ -24939,6 +28564,12 @@ func (o NetworkEndpointGroupPscDataPtrOutput) ToNetworkEndpointGroupPscDataPtrOu return o } +func (o NetworkEndpointGroupPscDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkEndpointGroupPscData] { + return pulumix.Output[*NetworkEndpointGroupPscData]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointGroupPscDataPtrOutput) Elem() NetworkEndpointGroupPscDataOutput { return o.ApplyT(func(v *NetworkEndpointGroupPscData) NetworkEndpointGroupPscData { if v != nil { @@ -24974,6 +28605,12 @@ func (o NetworkEndpointGroupPscDataResponseOutput) ToNetworkEndpointGroupPscData return o } +func (o NetworkEndpointGroupPscDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointGroupPscDataResponse] { + return pulumix.Output[NetworkEndpointGroupPscDataResponse]{ + OutputState: o.OutputState, + } +} + // Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB. func (o NetworkEndpointGroupPscDataResponseOutput) ConsumerPscAddress() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointGroupPscDataResponse) string { return v.ConsumerPscAddress }).(pulumi.StringOutput) @@ -25068,6 +28705,12 @@ func (i NetworkInterfaceArgs) ToNetworkInterfaceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceOutput) } +func (i NetworkInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: i.ToNetworkInterfaceOutputWithContext(ctx).OutputState, + } +} + // NetworkInterfaceArrayInput is an input type that accepts NetworkInterfaceArray and NetworkInterfaceArrayOutput values. // You can construct a concrete instance of `NetworkInterfaceArrayInput` via: // @@ -25093,6 +28736,12 @@ func (i NetworkInterfaceArray) ToNetworkInterfaceArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceArrayOutput) } +func (i NetworkInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: i.ToNetworkInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // A network interface resource attached to an instance. type NetworkInterfaceOutput struct{ *pulumi.OutputState } @@ -25108,6 +28757,12 @@ func (o NetworkInterfaceOutput) ToNetworkInterfaceOutputWithContext(ctx context. return o } +func (o NetworkInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: o.OutputState, + } +} + // An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access. func (o NetworkInterfaceOutput) AccessConfigs() AccessConfigArrayOutput { return o.ApplyT(func(v NetworkInterface) []AccessConfig { return v.AccessConfigs }).(AccessConfigArrayOutput) @@ -25182,6 +28837,12 @@ func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext(ct return o } +func (o NetworkInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterface { return vs[0].([]NetworkInterface)[vs[1].(int)] @@ -25239,6 +28900,12 @@ func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutputWithCont return o } +func (o NetworkInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceResponse] { + return pulumix.Output[NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access. func (o NetworkInterfaceResponseOutput) AccessConfigs() AccessConfigResponseArrayOutput { return o.ApplyT(func(v NetworkInterfaceResponse) []AccessConfigResponse { return v.AccessConfigs }).(AccessConfigResponseArrayOutput) @@ -25333,6 +29000,12 @@ func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutp return o } +func (o NetworkInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterfaceResponse] { + return pulumix.Output[[]NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceResponse { return vs[0].([]NetworkInterfaceResponse)[vs[1].(int)] @@ -25382,6 +29055,12 @@ func (o NetworkPeeringResponseOutput) ToNetworkPeeringResponseOutputWithContext( return o } +func (o NetworkPeeringResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPeeringResponse] { + return pulumix.Output[NetworkPeeringResponse]{ + OutputState: o.OutputState, + } +} + // This field will be deprecated soon. Use the exchange_subnet_routes field instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE. func (o NetworkPeeringResponseOutput) AutoCreateRoutes() pulumi.BoolOutput { return o.ApplyT(func(v NetworkPeeringResponse) bool { return v.AutoCreateRoutes }).(pulumi.BoolOutput) @@ -25456,6 +29135,12 @@ func (o NetworkPeeringResponseArrayOutput) ToNetworkPeeringResponseArrayOutputWi return o } +func (o NetworkPeeringResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkPeeringResponse] { + return pulumix.Output[[]NetworkPeeringResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkPeeringResponseArrayOutput) Index(i pulumi.IntInput) NetworkPeeringResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkPeeringResponse { return vs[0].([]NetworkPeeringResponse)[vs[1].(int)] @@ -25493,6 +29178,12 @@ func (i NetworkPerformanceConfigArgs) ToNetworkPerformanceConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(NetworkPerformanceConfigOutput) } +func (i NetworkPerformanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfig] { + return pulumix.Output[NetworkPerformanceConfig]{ + OutputState: i.ToNetworkPerformanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkPerformanceConfigArgs) ToNetworkPerformanceConfigPtrOutput() NetworkPerformanceConfigPtrOutput { return i.ToNetworkPerformanceConfigPtrOutputWithContext(context.Background()) } @@ -25534,6 +29225,12 @@ func (i *networkPerformanceConfigPtrType) ToNetworkPerformanceConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(NetworkPerformanceConfigPtrOutput) } +func (i *networkPerformanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfig] { + return pulumix.Output[*NetworkPerformanceConfig]{ + OutputState: i.ToNetworkPerformanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + type NetworkPerformanceConfigOutput struct{ *pulumi.OutputState } func (NetworkPerformanceConfigOutput) ElementType() reflect.Type { @@ -25558,6 +29255,12 @@ func (o NetworkPerformanceConfigOutput) ToNetworkPerformanceConfigPtrOutputWithC }).(NetworkPerformanceConfigPtrOutput) } +func (o NetworkPerformanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfig] { + return pulumix.Output[NetworkPerformanceConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigOutput) TotalEgressBandwidthTier() NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput { return o.ApplyT(func(v NetworkPerformanceConfig) *NetworkPerformanceConfigTotalEgressBandwidthTier { return v.TotalEgressBandwidthTier @@ -25578,6 +29281,12 @@ func (o NetworkPerformanceConfigPtrOutput) ToNetworkPerformanceConfigPtrOutputWi return o } +func (o NetworkPerformanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfig] { + return pulumix.Output[*NetworkPerformanceConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigPtrOutput) Elem() NetworkPerformanceConfigOutput { return o.ApplyT(func(v *NetworkPerformanceConfig) NetworkPerformanceConfig { if v != nil { @@ -25615,6 +29324,12 @@ func (o NetworkPerformanceConfigResponseOutput) ToNetworkPerformanceConfigRespon return o } +func (o NetworkPerformanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigResponse] { + return pulumix.Output[NetworkPerformanceConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigResponseOutput) TotalEgressBandwidthTier() pulumi.StringOutput { return o.ApplyT(func(v NetworkPerformanceConfigResponse) string { return v.TotalEgressBandwidthTier }).(pulumi.StringOutput) } @@ -25654,6 +29369,12 @@ func (i NetworkRoutingConfigArgs) ToNetworkRoutingConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(NetworkRoutingConfigOutput) } +func (i NetworkRoutingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfig] { + return pulumix.Output[NetworkRoutingConfig]{ + OutputState: i.ToNetworkRoutingConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkRoutingConfigArgs) ToNetworkRoutingConfigPtrOutput() NetworkRoutingConfigPtrOutput { return i.ToNetworkRoutingConfigPtrOutputWithContext(context.Background()) } @@ -25695,6 +29416,12 @@ func (i *networkRoutingConfigPtrType) ToNetworkRoutingConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(NetworkRoutingConfigPtrOutput) } +func (i *networkRoutingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfig] { + return pulumix.Output[*NetworkRoutingConfig]{ + OutputState: i.ToNetworkRoutingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide. type NetworkRoutingConfigOutput struct{ *pulumi.OutputState } @@ -25720,6 +29447,12 @@ func (o NetworkRoutingConfigOutput) ToNetworkRoutingConfigPtrOutputWithContext(c }).(NetworkRoutingConfigPtrOutput) } +func (o NetworkRoutingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfig] { + return pulumix.Output[NetworkRoutingConfig]{ + OutputState: o.OutputState, + } +} + // The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. func (o NetworkRoutingConfigOutput) RoutingMode() NetworkRoutingConfigRoutingModePtrOutput { return o.ApplyT(func(v NetworkRoutingConfig) *NetworkRoutingConfigRoutingMode { return v.RoutingMode }).(NetworkRoutingConfigRoutingModePtrOutput) @@ -25739,6 +29472,12 @@ func (o NetworkRoutingConfigPtrOutput) ToNetworkRoutingConfigPtrOutputWithContex return o } +func (o NetworkRoutingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkRoutingConfig] { + return pulumix.Output[*NetworkRoutingConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkRoutingConfigPtrOutput) Elem() NetworkRoutingConfigOutput { return o.ApplyT(func(v *NetworkRoutingConfig) NetworkRoutingConfig { if v != nil { @@ -25780,6 +29519,12 @@ func (o NetworkRoutingConfigResponseOutput) ToNetworkRoutingConfigResponseOutput return o } +func (o NetworkRoutingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkRoutingConfigResponse] { + return pulumix.Output[NetworkRoutingConfigResponse]{ + OutputState: o.OutputState, + } +} + // The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. func (o NetworkRoutingConfigResponseOutput) RoutingMode() pulumi.StringOutput { return o.ApplyT(func(v NetworkRoutingConfigResponse) string { return v.RoutingMode }).(pulumi.StringOutput) @@ -25826,6 +29571,12 @@ func (i NodeGroupAutoscalingPolicyArgs) ToNodeGroupAutoscalingPolicyOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(NodeGroupAutoscalingPolicyOutput) } +func (i NodeGroupAutoscalingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicy] { + return pulumix.Output[NodeGroupAutoscalingPolicy]{ + OutputState: i.ToNodeGroupAutoscalingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i NodeGroupAutoscalingPolicyArgs) ToNodeGroupAutoscalingPolicyPtrOutput() NodeGroupAutoscalingPolicyPtrOutput { return i.ToNodeGroupAutoscalingPolicyPtrOutputWithContext(context.Background()) } @@ -25867,6 +29618,12 @@ func (i *nodeGroupAutoscalingPolicyPtrType) ToNodeGroupAutoscalingPolicyPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(NodeGroupAutoscalingPolicyPtrOutput) } +func (i *nodeGroupAutoscalingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicy] { + return pulumix.Output[*NodeGroupAutoscalingPolicy]{ + OutputState: i.ToNodeGroupAutoscalingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type NodeGroupAutoscalingPolicyOutput struct{ *pulumi.OutputState } func (NodeGroupAutoscalingPolicyOutput) ElementType() reflect.Type { @@ -25891,6 +29648,12 @@ func (o NodeGroupAutoscalingPolicyOutput) ToNodeGroupAutoscalingPolicyPtrOutputW }).(NodeGroupAutoscalingPolicyPtrOutput) } +func (o NodeGroupAutoscalingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicy] { + return pulumix.Output[NodeGroupAutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + // The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100. func (o NodeGroupAutoscalingPolicyOutput) MaxNodes() pulumi.IntPtrOutput { return o.ApplyT(func(v NodeGroupAutoscalingPolicy) *int { return v.MaxNodes }).(pulumi.IntPtrOutput) @@ -25920,6 +29683,12 @@ func (o NodeGroupAutoscalingPolicyPtrOutput) ToNodeGroupAutoscalingPolicyPtrOutp return o } +func (o NodeGroupAutoscalingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAutoscalingPolicy] { + return pulumix.Output[*NodeGroupAutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAutoscalingPolicyPtrOutput) Elem() NodeGroupAutoscalingPolicyOutput { return o.ApplyT(func(v *NodeGroupAutoscalingPolicy) NodeGroupAutoscalingPolicy { if v != nil { @@ -25983,6 +29752,12 @@ func (o NodeGroupAutoscalingPolicyResponseOutput) ToNodeGroupAutoscalingPolicyRe return o } +func (o NodeGroupAutoscalingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAutoscalingPolicyResponse] { + return pulumix.Output[NodeGroupAutoscalingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100. func (o NodeGroupAutoscalingPolicyResponseOutput) MaxNodes() pulumi.IntOutput { return o.ApplyT(func(v NodeGroupAutoscalingPolicyResponse) int { return v.MaxNodes }).(pulumi.IntOutput) @@ -26033,6 +29808,12 @@ func (i NodeGroupMaintenanceWindowArgs) ToNodeGroupMaintenanceWindowOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(NodeGroupMaintenanceWindowOutput) } +func (i NodeGroupMaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenanceWindow] { + return pulumix.Output[NodeGroupMaintenanceWindow]{ + OutputState: i.ToNodeGroupMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i NodeGroupMaintenanceWindowArgs) ToNodeGroupMaintenanceWindowPtrOutput() NodeGroupMaintenanceWindowPtrOutput { return i.ToNodeGroupMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -26074,6 +29855,12 @@ func (i *nodeGroupMaintenanceWindowPtrType) ToNodeGroupMaintenanceWindowPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(NodeGroupMaintenanceWindowPtrOutput) } +func (i *nodeGroupMaintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenanceWindow] { + return pulumix.Output[*NodeGroupMaintenanceWindow]{ + OutputState: i.ToNodeGroupMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window. type NodeGroupMaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -26099,6 +29886,12 @@ func (o NodeGroupMaintenanceWindowOutput) ToNodeGroupMaintenanceWindowPtrOutputW }).(NodeGroupMaintenanceWindowPtrOutput) } +func (o NodeGroupMaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenanceWindow] { + return pulumix.Output[NodeGroupMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid. func (o NodeGroupMaintenanceWindowOutput) StartTime() pulumi.StringPtrOutput { return o.ApplyT(func(v NodeGroupMaintenanceWindow) *string { return v.StartTime }).(pulumi.StringPtrOutput) @@ -26118,6 +29911,12 @@ func (o NodeGroupMaintenanceWindowPtrOutput) ToNodeGroupMaintenanceWindowPtrOutp return o } +func (o NodeGroupMaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupMaintenanceWindow] { + return pulumix.Output[*NodeGroupMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupMaintenanceWindowPtrOutput) Elem() NodeGroupMaintenanceWindowOutput { return o.ApplyT(func(v *NodeGroupMaintenanceWindow) NodeGroupMaintenanceWindow { if v != nil { @@ -26161,6 +29960,12 @@ func (o NodeGroupMaintenanceWindowResponseOutput) ToNodeGroupMaintenanceWindowRe return o } +func (o NodeGroupMaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupMaintenanceWindowResponse] { + return pulumix.Output[NodeGroupMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. func (o NodeGroupMaintenanceWindowResponseOutput) MaintenanceDuration() DurationResponseOutput { return o.ApplyT(func(v NodeGroupMaintenanceWindowResponse) DurationResponse { return v.MaintenanceDuration }).(DurationResponseOutput) @@ -26206,6 +30011,12 @@ func (i NodeTemplateNodeTypeFlexibilityArgs) ToNodeTemplateNodeTypeFlexibilityOu return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateNodeTypeFlexibilityOutput) } +func (i NodeTemplateNodeTypeFlexibilityArgs) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[NodeTemplateNodeTypeFlexibility]{ + OutputState: i.ToNodeTemplateNodeTypeFlexibilityOutputWithContext(ctx).OutputState, + } +} + func (i NodeTemplateNodeTypeFlexibilityArgs) ToNodeTemplateNodeTypeFlexibilityPtrOutput() NodeTemplateNodeTypeFlexibilityPtrOutput { return i.ToNodeTemplateNodeTypeFlexibilityPtrOutputWithContext(context.Background()) } @@ -26247,6 +30058,12 @@ func (i *nodeTemplateNodeTypeFlexibilityPtrType) ToNodeTemplateNodeTypeFlexibili return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateNodeTypeFlexibilityPtrOutput) } +func (i *nodeTemplateNodeTypeFlexibilityPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[*NodeTemplateNodeTypeFlexibility]{ + OutputState: i.ToNodeTemplateNodeTypeFlexibilityPtrOutputWithContext(ctx).OutputState, + } +} + type NodeTemplateNodeTypeFlexibilityOutput struct{ *pulumi.OutputState } func (NodeTemplateNodeTypeFlexibilityOutput) ElementType() reflect.Type { @@ -26271,6 +30088,12 @@ func (o NodeTemplateNodeTypeFlexibilityOutput) ToNodeTemplateNodeTypeFlexibility }).(NodeTemplateNodeTypeFlexibilityPtrOutput) } +func (o NodeTemplateNodeTypeFlexibilityOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[NodeTemplateNodeTypeFlexibility]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateNodeTypeFlexibilityOutput) Cpus() pulumi.StringPtrOutput { return o.ApplyT(func(v NodeTemplateNodeTypeFlexibility) *string { return v.Cpus }).(pulumi.StringPtrOutput) } @@ -26297,6 +30120,12 @@ func (o NodeTemplateNodeTypeFlexibilityPtrOutput) ToNodeTemplateNodeTypeFlexibil return o } +func (o NodeTemplateNodeTypeFlexibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTemplateNodeTypeFlexibility] { + return pulumix.Output[*NodeTemplateNodeTypeFlexibility]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateNodeTypeFlexibilityPtrOutput) Elem() NodeTemplateNodeTypeFlexibilityOutput { return o.ApplyT(func(v *NodeTemplateNodeTypeFlexibility) NodeTemplateNodeTypeFlexibility { if v != nil { @@ -26354,6 +30183,12 @@ func (o NodeTemplateNodeTypeFlexibilityResponseOutput) ToNodeTemplateNodeTypeFle return o } +func (o NodeTemplateNodeTypeFlexibilityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTemplateNodeTypeFlexibilityResponse] { + return pulumix.Output[NodeTemplateNodeTypeFlexibilityResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeTemplateNodeTypeFlexibilityResponseOutput) Cpus() pulumi.StringOutput { return o.ApplyT(func(v NodeTemplateNodeTypeFlexibilityResponse) string { return v.Cpus }).(pulumi.StringOutput) } @@ -26417,6 +30252,12 @@ func (i NotificationEndpointGrpcSettingsArgs) ToNotificationEndpointGrpcSettings return pulumi.ToOutputWithContext(ctx, i).(NotificationEndpointGrpcSettingsOutput) } +func (i NotificationEndpointGrpcSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[NotificationEndpointGrpcSettings] { + return pulumix.Output[NotificationEndpointGrpcSettings]{ + OutputState: i.ToNotificationEndpointGrpcSettingsOutputWithContext(ctx).OutputState, + } +} + func (i NotificationEndpointGrpcSettingsArgs) ToNotificationEndpointGrpcSettingsPtrOutput() NotificationEndpointGrpcSettingsPtrOutput { return i.ToNotificationEndpointGrpcSettingsPtrOutputWithContext(context.Background()) } @@ -26458,6 +30299,12 @@ func (i *notificationEndpointGrpcSettingsPtrType) ToNotificationEndpointGrpcSett return pulumi.ToOutputWithContext(ctx, i).(NotificationEndpointGrpcSettingsPtrOutput) } +func (i *notificationEndpointGrpcSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NotificationEndpointGrpcSettings] { + return pulumix.Output[*NotificationEndpointGrpcSettings]{ + OutputState: i.ToNotificationEndpointGrpcSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint. type NotificationEndpointGrpcSettingsOutput struct{ *pulumi.OutputState } @@ -26483,6 +30330,12 @@ func (o NotificationEndpointGrpcSettingsOutput) ToNotificationEndpointGrpcSettin }).(NotificationEndpointGrpcSettingsPtrOutput) } +func (o NotificationEndpointGrpcSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationEndpointGrpcSettings] { + return pulumix.Output[NotificationEndpointGrpcSettings]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3 func (o NotificationEndpointGrpcSettingsOutput) Authority() pulumi.StringPtrOutput { return o.ApplyT(func(v NotificationEndpointGrpcSettings) *string { return v.Authority }).(pulumi.StringPtrOutput) @@ -26522,6 +30375,12 @@ func (o NotificationEndpointGrpcSettingsPtrOutput) ToNotificationEndpointGrpcSet return o } +func (o NotificationEndpointGrpcSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationEndpointGrpcSettings] { + return pulumix.Output[*NotificationEndpointGrpcSettings]{ + OutputState: o.OutputState, + } +} + func (o NotificationEndpointGrpcSettingsPtrOutput) Elem() NotificationEndpointGrpcSettingsOutput { return o.ApplyT(func(v *NotificationEndpointGrpcSettings) NotificationEndpointGrpcSettings { if v != nil { @@ -26611,6 +30470,12 @@ func (o NotificationEndpointGrpcSettingsResponseOutput) ToNotificationEndpointGr return o } +func (o NotificationEndpointGrpcSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationEndpointGrpcSettingsResponse] { + return pulumix.Output[NotificationEndpointGrpcSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3 func (o NotificationEndpointGrpcSettingsResponseOutput) Authority() pulumi.StringOutput { return o.ApplyT(func(v NotificationEndpointGrpcSettingsResponse) string { return v.Authority }).(pulumi.StringOutput) @@ -26711,6 +30576,12 @@ func (i OutlierDetectionArgs) ToOutlierDetectionOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(OutlierDetectionOutput) } +func (i OutlierDetectionArgs) ToOutput(ctx context.Context) pulumix.Output[OutlierDetection] { + return pulumix.Output[OutlierDetection]{ + OutputState: i.ToOutlierDetectionOutputWithContext(ctx).OutputState, + } +} + func (i OutlierDetectionArgs) ToOutlierDetectionPtrOutput() OutlierDetectionPtrOutput { return i.ToOutlierDetectionPtrOutputWithContext(context.Background()) } @@ -26752,6 +30623,12 @@ func (i *outlierDetectionPtrType) ToOutlierDetectionPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OutlierDetectionPtrOutput) } +func (i *outlierDetectionPtrType) ToOutput(ctx context.Context) pulumix.Output[*OutlierDetection] { + return pulumix.Output[*OutlierDetection]{ + OutputState: i.ToOutlierDetectionPtrOutputWithContext(ctx).OutputState, + } +} + // Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. type OutlierDetectionOutput struct{ *pulumi.OutputState } @@ -26777,6 +30654,12 @@ func (o OutlierDetectionOutput) ToOutlierDetectionPtrOutputWithContext(ctx conte }).(OutlierDetectionPtrOutput) } +func (o OutlierDetectionOutput) ToOutput(ctx context.Context) pulumix.Output[OutlierDetection] { + return pulumix.Output[OutlierDetection]{ + OutputState: o.OutputState, + } +} + // The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. func (o OutlierDetectionOutput) BaseEjectionTime() DurationPtrOutput { return o.ApplyT(func(v OutlierDetection) *Duration { return v.BaseEjectionTime }).(DurationPtrOutput) @@ -26846,6 +30729,12 @@ func (o OutlierDetectionPtrOutput) ToOutlierDetectionPtrOutputWithContext(ctx co return o } +func (o OutlierDetectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OutlierDetection] { + return pulumix.Output[*OutlierDetection]{ + OutputState: o.OutputState, + } +} + func (o OutlierDetectionPtrOutput) Elem() OutlierDetectionOutput { return o.ApplyT(func(v *OutlierDetection) OutlierDetection { if v != nil { @@ -27007,6 +30896,12 @@ func (o OutlierDetectionResponseOutput) ToOutlierDetectionResponseOutputWithCont return o } +func (o OutlierDetectionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OutlierDetectionResponse] { + return pulumix.Output[OutlierDetectionResponse]{ + OutputState: o.OutputState, + } +} + // The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. func (o OutlierDetectionResponseOutput) BaseEjectionTime() DurationResponseOutput { return o.ApplyT(func(v OutlierDetectionResponse) DurationResponse { return v.BaseEjectionTime }).(DurationResponseOutput) @@ -27103,6 +30998,12 @@ func (i PacketMirroringFilterArgs) ToPacketMirroringFilterOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringFilterOutput) } +func (i PacketMirroringFilterArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilter] { + return pulumix.Output[PacketMirroringFilter]{ + OutputState: i.ToPacketMirroringFilterOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringFilterArgs) ToPacketMirroringFilterPtrOutput() PacketMirroringFilterPtrOutput { return i.ToPacketMirroringFilterPtrOutputWithContext(context.Background()) } @@ -27144,6 +31045,12 @@ func (i *packetMirroringFilterPtrType) ToPacketMirroringFilterPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringFilterPtrOutput) } +func (i *packetMirroringFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilter] { + return pulumix.Output[*PacketMirroringFilter]{ + OutputState: i.ToPacketMirroringFilterPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringFilterOutput struct{ *pulumi.OutputState } func (PacketMirroringFilterOutput) ElementType() reflect.Type { @@ -27168,6 +31075,12 @@ func (o PacketMirroringFilterOutput) ToPacketMirroringFilterPtrOutputWithContext }).(PacketMirroringFilterPtrOutput) } +func (o PacketMirroringFilterOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilter] { + return pulumix.Output[PacketMirroringFilter]{ + OutputState: o.OutputState, + } +} + // IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. func (o PacketMirroringFilterOutput) CidrRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v PacketMirroringFilter) []string { return v.CidrRanges }).(pulumi.StringArrayOutput) @@ -27197,6 +31110,12 @@ func (o PacketMirroringFilterPtrOutput) ToPacketMirroringFilterPtrOutputWithCont return o } +func (o PacketMirroringFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringFilter] { + return pulumix.Output[*PacketMirroringFilter]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringFilterPtrOutput) Elem() PacketMirroringFilterOutput { return o.ApplyT(func(v *PacketMirroringFilter) PacketMirroringFilter { if v != nil { @@ -27260,6 +31179,12 @@ func (o PacketMirroringFilterResponseOutput) ToPacketMirroringFilterResponseOutp return o } +func (o PacketMirroringFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringFilterResponse] { + return pulumix.Output[PacketMirroringFilterResponse]{ + OutputState: o.OutputState, + } +} + // IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. func (o PacketMirroringFilterResponseOutput) CidrRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v PacketMirroringFilterResponse) []string { return v.CidrRanges }).(pulumi.StringArrayOutput) @@ -27308,6 +31233,12 @@ func (i PacketMirroringForwardingRuleInfoArgs) ToPacketMirroringForwardingRuleIn return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringForwardingRuleInfoOutput) } +func (i PacketMirroringForwardingRuleInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringForwardingRuleInfo] { + return pulumix.Output[PacketMirroringForwardingRuleInfo]{ + OutputState: i.ToPacketMirroringForwardingRuleInfoOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringForwardingRuleInfoArgs) ToPacketMirroringForwardingRuleInfoPtrOutput() PacketMirroringForwardingRuleInfoPtrOutput { return i.ToPacketMirroringForwardingRuleInfoPtrOutputWithContext(context.Background()) } @@ -27349,6 +31280,12 @@ func (i *packetMirroringForwardingRuleInfoPtrType) ToPacketMirroringForwardingRu return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringForwardingRuleInfoPtrOutput) } +func (i *packetMirroringForwardingRuleInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringForwardingRuleInfo] { + return pulumix.Output[*PacketMirroringForwardingRuleInfo]{ + OutputState: i.ToPacketMirroringForwardingRuleInfoPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringForwardingRuleInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringForwardingRuleInfoOutput) ElementType() reflect.Type { @@ -27373,6 +31310,12 @@ func (o PacketMirroringForwardingRuleInfoOutput) ToPacketMirroringForwardingRule }).(PacketMirroringForwardingRuleInfoPtrOutput) } +func (o PacketMirroringForwardingRuleInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringForwardingRuleInfo] { + return pulumix.Output[PacketMirroringForwardingRuleInfo]{ + OutputState: o.OutputState, + } +} + // Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic. func (o PacketMirroringForwardingRuleInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringForwardingRuleInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -27392,6 +31335,12 @@ func (o PacketMirroringForwardingRuleInfoPtrOutput) ToPacketMirroringForwardingR return o } +func (o PacketMirroringForwardingRuleInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringForwardingRuleInfo] { + return pulumix.Output[*PacketMirroringForwardingRuleInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringForwardingRuleInfoPtrOutput) Elem() PacketMirroringForwardingRuleInfoOutput { return o.ApplyT(func(v *PacketMirroringForwardingRuleInfo) PacketMirroringForwardingRuleInfo { if v != nil { @@ -27433,6 +31382,12 @@ func (o PacketMirroringForwardingRuleInfoResponseOutput) ToPacketMirroringForwar return o } +func (o PacketMirroringForwardingRuleInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringForwardingRuleInfoResponse] { + return pulumix.Output[PacketMirroringForwardingRuleInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the forwarding rule; defined by the server. func (o PacketMirroringForwardingRuleInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringForwardingRuleInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -27484,6 +31439,12 @@ func (i PacketMirroringMirroredResourceInfoArgs) ToPacketMirroringMirroredResour return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoOutput) } +func (i PacketMirroringMirroredResourceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringMirroredResourceInfoArgs) ToPacketMirroringMirroredResourceInfoPtrOutput() PacketMirroringMirroredResourceInfoPtrOutput { return i.ToPacketMirroringMirroredResourceInfoPtrOutputWithContext(context.Background()) } @@ -27525,6 +31486,12 @@ func (i *packetMirroringMirroredResourceInfoPtrType) ToPacketMirroringMirroredRe return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoPtrOutput) } +func (i *packetMirroringMirroredResourceInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringMirroredResourceInfo] { + return pulumix.Output[*PacketMirroringMirroredResourceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringMirroredResourceInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringMirroredResourceInfoOutput) ElementType() reflect.Type { @@ -27549,6 +31516,12 @@ func (o PacketMirroringMirroredResourceInfoOutput) ToPacketMirroringMirroredReso }).(PacketMirroringMirroredResourceInfoPtrOutput) } +func (o PacketMirroringMirroredResourceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfo]{ + OutputState: o.OutputState, + } +} + // A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances. func (o PacketMirroringMirroredResourceInfoOutput) Instances() PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfo) []PacketMirroringMirroredResourceInfoInstanceInfo { @@ -27582,6 +31555,12 @@ func (o PacketMirroringMirroredResourceInfoPtrOutput) ToPacketMirroringMirroredR return o } +func (o PacketMirroringMirroredResourceInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringMirroredResourceInfo] { + return pulumix.Output[*PacketMirroringMirroredResourceInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoPtrOutput) Elem() PacketMirroringMirroredResourceInfoOutput { return o.ApplyT(func(v *PacketMirroringMirroredResourceInfo) PacketMirroringMirroredResourceInfo { if v != nil { @@ -27655,6 +31634,12 @@ func (i PacketMirroringMirroredResourceInfoInstanceInfoArgs) ToPacketMirroringMi return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoInstanceInfoOutput) } +func (i PacketMirroringMirroredResourceInfoInstanceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoInstanceInfoOutputWithContext(ctx).OutputState, + } +} + // PacketMirroringMirroredResourceInfoInstanceInfoArrayInput is an input type that accepts PacketMirroringMirroredResourceInfoInstanceInfoArray and PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput values. // You can construct a concrete instance of `PacketMirroringMirroredResourceInfoInstanceInfoArrayInput` via: // @@ -27680,6 +31665,12 @@ func (i PacketMirroringMirroredResourceInfoInstanceInfoArray) ToPacketMirroringM return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) } +func (i PacketMirroringMirroredResourceInfoInstanceInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoInstanceInfoArrayOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringMirroredResourceInfoInstanceInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringMirroredResourceInfoInstanceInfoOutput) ElementType() reflect.Type { @@ -27694,6 +31685,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoOutput) ToPacketMirroring return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: o.OutputState, + } +} + // Resource URL to the virtual machine instance which is being mirrored. func (o PacketMirroringMirroredResourceInfoInstanceInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoInstanceInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -27713,6 +31710,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) ToPacketMirr return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoInstanceInfoArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoInstanceInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoInstanceInfo { return vs[0].([]PacketMirroringMirroredResourceInfoInstanceInfo)[vs[1].(int)] @@ -27740,6 +31743,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput) ToPacketM return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfoResponse] { + return pulumix.Output[PacketMirroringMirroredResourceInfoInstanceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the instance; defined by the server. func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoInstanceInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -27764,6 +31773,12 @@ func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput) ToPa return o } +func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfoResponse] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoInstanceInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoInstanceInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoInstanceInfoResponse { return vs[0].([]PacketMirroringMirroredResourceInfoInstanceInfoResponse)[vs[1].(int)] @@ -27793,6 +31808,12 @@ func (o PacketMirroringMirroredResourceInfoResponseOutput) ToPacketMirroringMirr return o } +func (o PacketMirroringMirroredResourceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoResponse] { + return pulumix.Output[PacketMirroringMirroredResourceInfoResponse]{ + OutputState: o.OutputState, + } +} + // A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances. func (o PacketMirroringMirroredResourceInfoResponseOutput) Instances() PacketMirroringMirroredResourceInfoInstanceInfoResponseArrayOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoResponse) []PacketMirroringMirroredResourceInfoInstanceInfoResponse { @@ -27845,6 +31866,12 @@ func (i PacketMirroringMirroredResourceInfoSubnetInfoArgs) ToPacketMirroringMirr return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoSubnetInfoOutput) } +func (i PacketMirroringMirroredResourceInfoSubnetInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoSubnetInfoOutputWithContext(ctx).OutputState, + } +} + // PacketMirroringMirroredResourceInfoSubnetInfoArrayInput is an input type that accepts PacketMirroringMirroredResourceInfoSubnetInfoArray and PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput values. // You can construct a concrete instance of `PacketMirroringMirroredResourceInfoSubnetInfoArrayInput` via: // @@ -27870,6 +31897,12 @@ func (i PacketMirroringMirroredResourceInfoSubnetInfoArray) ToPacketMirroringMir return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) } +func (i PacketMirroringMirroredResourceInfoSubnetInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: i.ToPacketMirroringMirroredResourceInfoSubnetInfoArrayOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringMirroredResourceInfoSubnetInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringMirroredResourceInfoSubnetInfoOutput) ElementType() reflect.Type { @@ -27884,6 +31917,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoOutput) ToPacketMirroringMi return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: o.OutputState, + } +} + // Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored. func (o PacketMirroringMirroredResourceInfoSubnetInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoSubnetInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -27903,6 +31942,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) ToPacketMirror return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoSubnetInfoArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoSubnetInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoSubnetInfo { return vs[0].([]PacketMirroringMirroredResourceInfoSubnetInfo)[vs[1].(int)] @@ -27930,6 +31975,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput) ToPacketMir return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfoResponse] { + return pulumix.Output[PacketMirroringMirroredResourceInfoSubnetInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the subnetwork; defined by the server. func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringMirroredResourceInfoSubnetInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -27954,6 +32005,12 @@ func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseArrayOutput) ToPack return o } +func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfoResponse] { + return pulumix.Output[[]PacketMirroringMirroredResourceInfoSubnetInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringMirroredResourceInfoSubnetInfoResponseArrayOutput) Index(i pulumi.IntInput) PacketMirroringMirroredResourceInfoSubnetInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PacketMirroringMirroredResourceInfoSubnetInfoResponse { return vs[0].([]PacketMirroringMirroredResourceInfoSubnetInfoResponse)[vs[1].(int)] @@ -27993,6 +32050,12 @@ func (i PacketMirroringNetworkInfoArgs) ToPacketMirroringNetworkInfoOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringNetworkInfoOutput) } +func (i PacketMirroringNetworkInfoArgs) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringNetworkInfo] { + return pulumix.Output[PacketMirroringNetworkInfo]{ + OutputState: i.ToPacketMirroringNetworkInfoOutputWithContext(ctx).OutputState, + } +} + func (i PacketMirroringNetworkInfoArgs) ToPacketMirroringNetworkInfoPtrOutput() PacketMirroringNetworkInfoPtrOutput { return i.ToPacketMirroringNetworkInfoPtrOutputWithContext(context.Background()) } @@ -28034,6 +32097,12 @@ func (i *packetMirroringNetworkInfoPtrType) ToPacketMirroringNetworkInfoPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(PacketMirroringNetworkInfoPtrOutput) } +func (i *packetMirroringNetworkInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringNetworkInfo] { + return pulumix.Output[*PacketMirroringNetworkInfo]{ + OutputState: i.ToPacketMirroringNetworkInfoPtrOutputWithContext(ctx).OutputState, + } +} + type PacketMirroringNetworkInfoOutput struct{ *pulumi.OutputState } func (PacketMirroringNetworkInfoOutput) ElementType() reflect.Type { @@ -28058,6 +32127,12 @@ func (o PacketMirroringNetworkInfoOutput) ToPacketMirroringNetworkInfoPtrOutputW }).(PacketMirroringNetworkInfoPtrOutput) } +func (o PacketMirroringNetworkInfoOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringNetworkInfo] { + return pulumix.Output[PacketMirroringNetworkInfo]{ + OutputState: o.OutputState, + } +} + // URL of the network resource. func (o PacketMirroringNetworkInfoOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v PacketMirroringNetworkInfo) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -28077,6 +32152,12 @@ func (o PacketMirroringNetworkInfoPtrOutput) ToPacketMirroringNetworkInfoPtrOutp return o } +func (o PacketMirroringNetworkInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PacketMirroringNetworkInfo] { + return pulumix.Output[*PacketMirroringNetworkInfo]{ + OutputState: o.OutputState, + } +} + func (o PacketMirroringNetworkInfoPtrOutput) Elem() PacketMirroringNetworkInfoOutput { return o.ApplyT(func(v *PacketMirroringNetworkInfo) PacketMirroringNetworkInfo { if v != nil { @@ -28118,6 +32199,12 @@ func (o PacketMirroringNetworkInfoResponseOutput) ToPacketMirroringNetworkInfoRe return o } +func (o PacketMirroringNetworkInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PacketMirroringNetworkInfoResponse] { + return pulumix.Output[PacketMirroringNetworkInfoResponse]{ + OutputState: o.OutputState, + } +} + // Unique identifier for the network; defined by the server. func (o PacketMirroringNetworkInfoResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v PacketMirroringNetworkInfoResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -28191,6 +32278,12 @@ func (i PathMatcherArgs) ToPathMatcherOutputWithContext(ctx context.Context) Pat return pulumi.ToOutputWithContext(ctx, i).(PathMatcherOutput) } +func (i PathMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[PathMatcher] { + return pulumix.Output[PathMatcher]{ + OutputState: i.ToPathMatcherOutputWithContext(ctx).OutputState, + } +} + // PathMatcherArrayInput is an input type that accepts PathMatcherArray and PathMatcherArrayOutput values. // You can construct a concrete instance of `PathMatcherArrayInput` via: // @@ -28216,6 +32309,12 @@ func (i PathMatcherArray) ToPathMatcherArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(PathMatcherArrayOutput) } +func (i PathMatcherArray) ToOutput(ctx context.Context) pulumix.Output[[]PathMatcher] { + return pulumix.Output[[]PathMatcher]{ + OutputState: i.ToPathMatcherArrayOutputWithContext(ctx).OutputState, + } +} + // A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used. type PathMatcherOutput struct{ *pulumi.OutputState } @@ -28231,6 +32330,12 @@ func (o PathMatcherOutput) ToPathMatcherOutputWithContext(ctx context.Context) P return o } +func (o PathMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[PathMatcher] { + return pulumix.Output[PathMatcher]{ + OutputState: o.OutputState, + } +} + // defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction. func (o PathMatcherOutput) DefaultRouteAction() HttpRouteActionPtrOutput { return o.ApplyT(func(v PathMatcher) *HttpRouteAction { return v.DefaultRouteAction }).(HttpRouteActionPtrOutput) @@ -28285,6 +32390,12 @@ func (o PathMatcherArrayOutput) ToPathMatcherArrayOutputWithContext(ctx context. return o } +func (o PathMatcherArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathMatcher] { + return pulumix.Output[[]PathMatcher]{ + OutputState: o.OutputState, + } +} + func (o PathMatcherArrayOutput) Index(i pulumi.IntInput) PathMatcherOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathMatcher { return vs[0].([]PathMatcher)[vs[1].(int)] @@ -28326,6 +32437,12 @@ func (o PathMatcherResponseOutput) ToPathMatcherResponseOutputWithContext(ctx co return o } +func (o PathMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PathMatcherResponse] { + return pulumix.Output[PathMatcherResponse]{ + OutputState: o.OutputState, + } +} + // defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction. func (o PathMatcherResponseOutput) DefaultRouteAction() HttpRouteActionResponseOutput { return o.ApplyT(func(v PathMatcherResponse) HttpRouteActionResponse { return v.DefaultRouteAction }).(HttpRouteActionResponseOutput) @@ -28380,6 +32497,12 @@ func (o PathMatcherResponseArrayOutput) ToPathMatcherResponseArrayOutputWithCont return o } +func (o PathMatcherResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathMatcherResponse] { + return pulumix.Output[[]PathMatcherResponse]{ + OutputState: o.OutputState, + } +} + func (o PathMatcherResponseArrayOutput) Index(i pulumi.IntInput) PathMatcherResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathMatcherResponse { return vs[0].([]PathMatcherResponse)[vs[1].(int)] @@ -28433,6 +32556,12 @@ func (i PathRuleArgs) ToPathRuleOutputWithContext(ctx context.Context) PathRuleO return pulumi.ToOutputWithContext(ctx, i).(PathRuleOutput) } +func (i PathRuleArgs) ToOutput(ctx context.Context) pulumix.Output[PathRule] { + return pulumix.Output[PathRule]{ + OutputState: i.ToPathRuleOutputWithContext(ctx).OutputState, + } +} + // PathRuleArrayInput is an input type that accepts PathRuleArray and PathRuleArrayOutput values. // You can construct a concrete instance of `PathRuleArrayInput` via: // @@ -28458,6 +32587,12 @@ func (i PathRuleArray) ToPathRuleArrayOutputWithContext(ctx context.Context) Pat return pulumi.ToOutputWithContext(ctx, i).(PathRuleArrayOutput) } +func (i PathRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]PathRule] { + return pulumix.Output[[]PathRule]{ + OutputState: i.ToPathRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL. type PathRuleOutput struct{ *pulumi.OutputState } @@ -28473,6 +32608,12 @@ func (o PathRuleOutput) ToPathRuleOutputWithContext(ctx context.Context) PathRul return o } +func (o PathRuleOutput) ToOutput(ctx context.Context) pulumix.Output[PathRule] { + return pulumix.Output[PathRule]{ + OutputState: o.OutputState, + } +} + // The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here. func (o PathRuleOutput) Paths() pulumi.StringArrayOutput { return o.ApplyT(func(v PathRule) []string { return v.Paths }).(pulumi.StringArrayOutput) @@ -28507,6 +32648,12 @@ func (o PathRuleArrayOutput) ToPathRuleArrayOutputWithContext(ctx context.Contex return o } +func (o PathRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathRule] { + return pulumix.Output[[]PathRule]{ + OutputState: o.OutputState, + } +} + func (o PathRuleArrayOutput) Index(i pulumi.IntInput) PathRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathRule { return vs[0].([]PathRule)[vs[1].(int)] @@ -28540,6 +32687,12 @@ func (o PathRuleResponseOutput) ToPathRuleResponseOutputWithContext(ctx context. return o } +func (o PathRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PathRuleResponse] { + return pulumix.Output[PathRuleResponse]{ + OutputState: o.OutputState, + } +} + // The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here. func (o PathRuleResponseOutput) Paths() pulumi.StringArrayOutput { return o.ApplyT(func(v PathRuleResponse) []string { return v.Paths }).(pulumi.StringArrayOutput) @@ -28574,6 +32727,12 @@ func (o PathRuleResponseArrayOutput) ToPathRuleResponseArrayOutputWithContext(ct return o } +func (o PathRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PathRuleResponse] { + return pulumix.Output[[]PathRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o PathRuleResponseArrayOutput) Index(i pulumi.IntInput) PathRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PathRuleResponse { return vs[0].([]PathRuleResponse)[vs[1].(int)] @@ -28609,6 +32768,12 @@ func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput) ToPublicAdver return o } +func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublicAdvertisedPrefixPublicDelegatedPrefixResponse] { + return pulumix.Output[PublicAdvertisedPrefixPublicDelegatedPrefixResponse]{ + OutputState: o.OutputState, + } +} + // The IP address range of the public delegated prefix func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput) IpRange() pulumi.StringOutput { return o.ApplyT(func(v PublicAdvertisedPrefixPublicDelegatedPrefixResponse) string { return v.IpRange }).(pulumi.StringOutput) @@ -28648,6 +32813,12 @@ func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseArrayOutput) ToPublic return o } +func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PublicAdvertisedPrefixPublicDelegatedPrefixResponse] { + return pulumix.Output[[]PublicAdvertisedPrefixPublicDelegatedPrefixResponse]{ + OutputState: o.OutputState, + } +} + func (o PublicAdvertisedPrefixPublicDelegatedPrefixResponseArrayOutput) Index(i pulumi.IntInput) PublicAdvertisedPrefixPublicDelegatedPrefixResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicAdvertisedPrefixPublicDelegatedPrefixResponse { return vs[0].([]PublicAdvertisedPrefixPublicDelegatedPrefixResponse)[vs[1].(int)] @@ -28705,6 +32876,12 @@ func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArgs) ToPublicDelegatedPref return pulumi.ToOutputWithContext(ctx, i).(PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) } +func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArgs) ToOutput(ctx context.Context) pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: i.ToPublicDelegatedPrefixPublicDelegatedSubPrefixOutputWithContext(ctx).OutputState, + } +} + // PublicDelegatedPrefixPublicDelegatedSubPrefixArrayInput is an input type that accepts PublicDelegatedPrefixPublicDelegatedSubPrefixArray and PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput values. // You can construct a concrete instance of `PublicDelegatedPrefixPublicDelegatedSubPrefixArrayInput` via: // @@ -28730,6 +32907,12 @@ func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArray) ToPublicDelegatedPre return pulumi.ToOutputWithContext(ctx, i).(PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) } +func (i PublicDelegatedPrefixPublicDelegatedSubPrefixArray) ToOutput(ctx context.Context) pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: i.ToPublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a sub PublicDelegatedPrefix. type PublicDelegatedPrefixPublicDelegatedSubPrefixOutput struct{ *pulumi.OutputState } @@ -28745,6 +32928,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) ToPublicDelegatedPr return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) ToOutput(ctx context.Context) pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: o.OutputState, + } +} + // Name of the project scoping this PublicDelegatedSubPrefix. func (o PublicDelegatedPrefixPublicDelegatedSubPrefixOutput) DelegateeProject() pulumi.StringPtrOutput { return o.ApplyT(func(v PublicDelegatedPrefixPublicDelegatedSubPrefix) *string { return v.DelegateeProject }).(pulumi.StringPtrOutput) @@ -28784,6 +32973,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) ToPublicDelega return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix] { + return pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefix]{ + OutputState: o.OutputState, + } +} + func (o PublicDelegatedPrefixPublicDelegatedSubPrefixArrayOutput) Index(i pulumi.IntInput) PublicDelegatedPrefixPublicDelegatedSubPrefixOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicDelegatedPrefixPublicDelegatedSubPrefix { return vs[0].([]PublicDelegatedPrefixPublicDelegatedSubPrefix)[vs[1].(int)] @@ -28823,6 +33018,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput) ToPublicDel return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefixResponse] { + return pulumix.Output[PublicDelegatedPrefixPublicDelegatedSubPrefixResponse]{ + OutputState: o.OutputState, + } +} + // Name of the project scoping this PublicDelegatedSubPrefix. func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput) DelegateeProject() pulumi.StringOutput { return o.ApplyT(func(v PublicDelegatedPrefixPublicDelegatedSubPrefixResponse) string { return v.DelegateeProject }).(pulumi.StringOutput) @@ -28872,6 +33073,12 @@ func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseArrayOutput) ToPubl return o } +func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefixResponse] { + return pulumix.Output[[]PublicDelegatedPrefixPublicDelegatedSubPrefixResponse]{ + OutputState: o.OutputState, + } +} + func (o PublicDelegatedPrefixPublicDelegatedSubPrefixResponseArrayOutput) Index(i pulumi.IntInput) PublicDelegatedPrefixPublicDelegatedSubPrefixResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PublicDelegatedPrefixPublicDelegatedSubPrefixResponse { return vs[0].([]PublicDelegatedPrefixPublicDelegatedSubPrefixResponse)[vs[1].(int)] @@ -28899,6 +33106,12 @@ func (o RegionSslPolicyWarningsItemDataItemResponseOutput) ToRegionSslPolicyWarn return o } +func (o RegionSslPolicyWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[RegionSslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o RegionSslPolicyWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v RegionSslPolicyWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -28923,6 +33136,12 @@ func (o RegionSslPolicyWarningsItemDataItemResponseArrayOutput) ToRegionSslPolic return o } +func (o RegionSslPolicyWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegionSslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[[]RegionSslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) RegionSslPolicyWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegionSslPolicyWarningsItemDataItemResponse { return vs[0].([]RegionSslPolicyWarningsItemDataItemResponse)[vs[1].(int)] @@ -28952,6 +33171,12 @@ func (o RegionSslPolicyWarningsItemResponseOutput) ToRegionSslPolicyWarningsItem return o } +func (o RegionSslPolicyWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegionSslPolicyWarningsItemResponse] { + return pulumix.Output[RegionSslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o RegionSslPolicyWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v RegionSslPolicyWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -28983,6 +33208,12 @@ func (o RegionSslPolicyWarningsItemResponseArrayOutput) ToRegionSslPolicyWarning return o } +func (o RegionSslPolicyWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegionSslPolicyWarningsItemResponse] { + return pulumix.Output[[]RegionSslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RegionSslPolicyWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) RegionSslPolicyWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegionSslPolicyWarningsItemResponse { return vs[0].([]RegionSslPolicyWarningsItemResponse)[vs[1].(int)] @@ -29024,6 +33255,12 @@ func (i RequestMirrorPolicyArgs) ToRequestMirrorPolicyOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(RequestMirrorPolicyOutput) } +func (i RequestMirrorPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RequestMirrorPolicy] { + return pulumix.Output[RequestMirrorPolicy]{ + OutputState: i.ToRequestMirrorPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RequestMirrorPolicyArgs) ToRequestMirrorPolicyPtrOutput() RequestMirrorPolicyPtrOutput { return i.ToRequestMirrorPolicyPtrOutputWithContext(context.Background()) } @@ -29065,6 +33302,12 @@ func (i *requestMirrorPolicyPtrType) ToRequestMirrorPolicyPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RequestMirrorPolicyPtrOutput) } +func (i *requestMirrorPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RequestMirrorPolicy] { + return pulumix.Output[*RequestMirrorPolicy]{ + OutputState: i.ToRequestMirrorPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer doesn't wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow. type RequestMirrorPolicyOutput struct{ *pulumi.OutputState } @@ -29090,6 +33333,12 @@ func (o RequestMirrorPolicyOutput) ToRequestMirrorPolicyPtrOutputWithContext(ctx }).(RequestMirrorPolicyPtrOutput) } +func (o RequestMirrorPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RequestMirrorPolicy] { + return pulumix.Output[RequestMirrorPolicy]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. func (o RequestMirrorPolicyOutput) BackendService() pulumi.StringPtrOutput { return o.ApplyT(func(v RequestMirrorPolicy) *string { return v.BackendService }).(pulumi.StringPtrOutput) @@ -29109,6 +33358,12 @@ func (o RequestMirrorPolicyPtrOutput) ToRequestMirrorPolicyPtrOutputWithContext( return o } +func (o RequestMirrorPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RequestMirrorPolicy] { + return pulumix.Output[*RequestMirrorPolicy]{ + OutputState: o.OutputState, + } +} + func (o RequestMirrorPolicyPtrOutput) Elem() RequestMirrorPolicyOutput { return o.ApplyT(func(v *RequestMirrorPolicy) RequestMirrorPolicy { if v != nil { @@ -29150,6 +33405,12 @@ func (o RequestMirrorPolicyResponseOutput) ToRequestMirrorPolicyResponseOutputWi return o } +func (o RequestMirrorPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RequestMirrorPolicyResponse] { + return pulumix.Output[RequestMirrorPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. func (o RequestMirrorPolicyResponseOutput) BackendService() pulumi.StringOutput { return o.ApplyT(func(v RequestMirrorPolicyResponse) string { return v.BackendService }).(pulumi.StringOutput) @@ -29214,6 +33475,12 @@ func (i ReservationTypeArgs) ToReservationTypeOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ReservationTypeOutput) } +func (i ReservationTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationType] { + return pulumix.Output[ReservationType]{ + OutputState: i.ToReservationTypeOutputWithContext(ctx).OutputState, + } +} + // ReservationTypeArrayInput is an input type that accepts ReservationTypeArray and ReservationTypeArrayOutput values. // You can construct a concrete instance of `ReservationTypeArrayInput` via: // @@ -29239,6 +33506,12 @@ func (i ReservationTypeArray) ToReservationTypeArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ReservationTypeArrayOutput) } +func (i ReservationTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]ReservationType] { + return pulumix.Output[[]ReservationType]{ + OutputState: i.ToReservationTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources. type ReservationTypeOutput struct{ *pulumi.OutputState } @@ -29254,6 +33527,12 @@ func (o ReservationTypeOutput) ToReservationTypeOutputWithContext(ctx context.Co return o } +func (o ReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationType] { + return pulumix.Output[ReservationType]{ + OutputState: o.OutputState, + } +} + // An optional description of this resource. Provide this property when you create the resource. func (o ReservationTypeOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v ReservationType) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -29303,6 +33582,12 @@ func (o ReservationTypeArrayOutput) ToReservationTypeArrayOutputWithContext(ctx return o } +func (o ReservationTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReservationType] { + return pulumix.Output[[]ReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationTypeArrayOutput) Index(i pulumi.IntInput) ReservationTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReservationType { return vs[0].([]ReservationType)[vs[1].(int)] @@ -29352,6 +33637,12 @@ func (i ReservationAffinityArgs) ToReservationAffinityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityOutput) } +func (i ReservationAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: i.ToReservationAffinityOutputWithContext(ctx).OutputState, + } +} + func (i ReservationAffinityArgs) ToReservationAffinityPtrOutput() ReservationAffinityPtrOutput { return i.ToReservationAffinityPtrOutputWithContext(context.Background()) } @@ -29393,6 +33684,12 @@ func (i *reservationAffinityPtrType) ToReservationAffinityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityPtrOutput) } +func (i *reservationAffinityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: i.ToReservationAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the reservations that this instance can consume from. type ReservationAffinityOutput struct{ *pulumi.OutputState } @@ -29418,6 +33715,12 @@ func (o ReservationAffinityOutput) ToReservationAffinityPtrOutputWithContext(ctx }).(ReservationAffinityPtrOutput) } +func (o ReservationAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: o.OutputState, + } +} + // Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. func (o ReservationAffinityOutput) ConsumeReservationType() ReservationAffinityConsumeReservationTypePtrOutput { return o.ApplyT(func(v ReservationAffinity) *ReservationAffinityConsumeReservationType { @@ -29449,6 +33752,12 @@ func (o ReservationAffinityPtrOutput) ToReservationAffinityPtrOutputWithContext( return o } +func (o ReservationAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityPtrOutput) Elem() ReservationAffinityOutput { return o.ApplyT(func(v *ReservationAffinity) ReservationAffinity { if v != nil { @@ -29514,6 +33823,12 @@ func (o ReservationAffinityResponseOutput) ToReservationAffinityResponseOutputWi return o } +func (o ReservationAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityResponse] { + return pulumix.Output[ReservationAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. func (o ReservationAffinityResponseOutput) ConsumeReservationType() pulumi.StringOutput { return o.ApplyT(func(v ReservationAffinityResponse) string { return v.ConsumeReservationType }).(pulumi.StringOutput) @@ -29576,6 +33891,12 @@ func (o ReservationResponseOutput) ToReservationResponseOutputWithContext(ctx co return o } +func (o ReservationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationResponse] { + return pulumix.Output[ReservationResponse]{ + OutputState: o.OutputState, + } +} + // Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. func (o ReservationResponseOutput) Commitment() pulumi.StringOutput { return o.ApplyT(func(v ReservationResponse) string { return v.Commitment }).(pulumi.StringOutput) @@ -29660,6 +33981,12 @@ func (o ReservationResponseArrayOutput) ToReservationResponseArrayOutputWithCont return o } +func (o ReservationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReservationResponse] { + return pulumix.Output[[]ReservationResponse]{ + OutputState: o.OutputState, + } +} + func (o ReservationResponseArrayOutput) Index(i pulumi.IntInput) ReservationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReservationResponse { return vs[0].([]ReservationResponse)[vs[1].(int)] @@ -29709,6 +34036,12 @@ func (i ResourceCommitmentArgs) ToResourceCommitmentOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ResourceCommitmentOutput) } +func (i ResourceCommitmentArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitment] { + return pulumix.Output[ResourceCommitment]{ + OutputState: i.ToResourceCommitmentOutputWithContext(ctx).OutputState, + } +} + // ResourceCommitmentArrayInput is an input type that accepts ResourceCommitmentArray and ResourceCommitmentArrayOutput values. // You can construct a concrete instance of `ResourceCommitmentArrayInput` via: // @@ -29734,6 +34067,12 @@ func (i ResourceCommitmentArray) ToResourceCommitmentArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourceCommitmentArrayOutput) } +func (i ResourceCommitmentArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourceCommitment] { + return pulumix.Output[[]ResourceCommitment]{ + OutputState: i.ToResourceCommitmentArrayOutputWithContext(ctx).OutputState, + } +} + // Commitment for a particular resource (a Commitment is composed of one or more of these). type ResourceCommitmentOutput struct{ *pulumi.OutputState } @@ -29749,6 +34088,12 @@ func (o ResourceCommitmentOutput) ToResourceCommitmentOutputWithContext(ctx cont return o } +func (o ResourceCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitment] { + return pulumix.Output[ResourceCommitment]{ + OutputState: o.OutputState, + } +} + // Name of the accelerator type resource. Applicable only when the type is ACCELERATOR. func (o ResourceCommitmentOutput) AcceleratorType() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceCommitment) *string { return v.AcceleratorType }).(pulumi.StringPtrOutput) @@ -29778,6 +34123,12 @@ func (o ResourceCommitmentArrayOutput) ToResourceCommitmentArrayOutputWithContex return o } +func (o ResourceCommitmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceCommitment] { + return pulumix.Output[[]ResourceCommitment]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentArrayOutput) Index(i pulumi.IntInput) ResourceCommitmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceCommitment { return vs[0].([]ResourceCommitment)[vs[1].(int)] @@ -29809,6 +34160,12 @@ func (o ResourceCommitmentResponseOutput) ToResourceCommitmentResponseOutputWith return o } +func (o ResourceCommitmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceCommitmentResponse] { + return pulumix.Output[ResourceCommitmentResponse]{ + OutputState: o.OutputState, + } +} + // Name of the accelerator type resource. Applicable only when the type is ACCELERATOR. func (o ResourceCommitmentResponseOutput) AcceleratorType() pulumi.StringOutput { return o.ApplyT(func(v ResourceCommitmentResponse) string { return v.AcceleratorType }).(pulumi.StringOutput) @@ -29838,6 +34195,12 @@ func (o ResourceCommitmentResponseArrayOutput) ToResourceCommitmentResponseArray return o } +func (o ResourceCommitmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceCommitmentResponse] { + return pulumix.Output[[]ResourceCommitmentResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceCommitmentResponseArrayOutput) Index(i pulumi.IntInput) ResourceCommitmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceCommitmentResponse { return vs[0].([]ResourceCommitmentResponse)[vs[1].(int)] @@ -29883,6 +34246,12 @@ func (i ResourcePolicyDailyCycleArgs) ToResourcePolicyDailyCycleOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyDailyCycleOutput) } +func (i ResourcePolicyDailyCycleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDailyCycle] { + return pulumix.Output[ResourcePolicyDailyCycle]{ + OutputState: i.ToResourcePolicyDailyCycleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyDailyCycleArgs) ToResourcePolicyDailyCyclePtrOutput() ResourcePolicyDailyCyclePtrOutput { return i.ToResourcePolicyDailyCyclePtrOutputWithContext(context.Background()) } @@ -29924,6 +34293,12 @@ func (i *resourcePolicyDailyCyclePtrType) ToResourcePolicyDailyCyclePtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyDailyCyclePtrOutput) } +func (i *resourcePolicyDailyCyclePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyDailyCycle] { + return pulumix.Output[*ResourcePolicyDailyCycle]{ + OutputState: i.ToResourcePolicyDailyCyclePtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for daily operations. type ResourcePolicyDailyCycleOutput struct{ *pulumi.OutputState } @@ -29949,6 +34324,12 @@ func (o ResourcePolicyDailyCycleOutput) ToResourcePolicyDailyCyclePtrOutputWithC }).(ResourcePolicyDailyCyclePtrOutput) } +func (o ResourcePolicyDailyCycleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDailyCycle] { + return pulumix.Output[ResourcePolicyDailyCycle]{ + OutputState: o.OutputState, + } +} + // Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. func (o ResourcePolicyDailyCycleOutput) DaysInCycle() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicyDailyCycle) *int { return v.DaysInCycle }).(pulumi.IntPtrOutput) @@ -29973,6 +34354,12 @@ func (o ResourcePolicyDailyCyclePtrOutput) ToResourcePolicyDailyCyclePtrOutputWi return o } +func (o ResourcePolicyDailyCyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyDailyCycle] { + return pulumix.Output[*ResourcePolicyDailyCycle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyDailyCyclePtrOutput) Elem() ResourcePolicyDailyCycleOutput { return o.ApplyT(func(v *ResourcePolicyDailyCycle) ResourcePolicyDailyCycle { if v != nil { @@ -30028,6 +34415,12 @@ func (o ResourcePolicyDailyCycleResponseOutput) ToResourcePolicyDailyCycleRespon return o } +func (o ResourcePolicyDailyCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyDailyCycleResponse] { + return pulumix.Output[ResourcePolicyDailyCycleResponse]{ + OutputState: o.OutputState, + } +} + // Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. func (o ResourcePolicyDailyCycleResponseOutput) DaysInCycle() pulumi.IntOutput { return o.ApplyT(func(v ResourcePolicyDailyCycleResponse) int { return v.DaysInCycle }).(pulumi.IntOutput) @@ -30086,6 +34479,12 @@ func (i ResourcePolicyGroupPlacementPolicyArgs) ToResourcePolicyGroupPlacementPo return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyGroupPlacementPolicyOutput) } +func (i ResourcePolicyGroupPlacementPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicy]{ + OutputState: i.ToResourcePolicyGroupPlacementPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyGroupPlacementPolicyArgs) ToResourcePolicyGroupPlacementPolicyPtrOutput() ResourcePolicyGroupPlacementPolicyPtrOutput { return i.ToResourcePolicyGroupPlacementPolicyPtrOutputWithContext(context.Background()) } @@ -30127,6 +34526,12 @@ func (i *resourcePolicyGroupPlacementPolicyPtrType) ToResourcePolicyGroupPlaceme return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyGroupPlacementPolicyPtrOutput) } +func (i *resourcePolicyGroupPlacementPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicy]{ + OutputState: i.ToResourcePolicyGroupPlacementPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality type ResourcePolicyGroupPlacementPolicyOutput struct{ *pulumi.OutputState } @@ -30152,6 +34557,12 @@ func (o ResourcePolicyGroupPlacementPolicyOutput) ToResourcePolicyGroupPlacement }).(ResourcePolicyGroupPlacementPolicyPtrOutput) } +func (o ResourcePolicyGroupPlacementPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicy]{ + OutputState: o.OutputState, + } +} + // The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. func (o ResourcePolicyGroupPlacementPolicyOutput) AvailabilityDomainCount() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicyGroupPlacementPolicy) *int { return v.AvailabilityDomainCount }).(pulumi.IntPtrOutput) @@ -30183,6 +34594,12 @@ func (o ResourcePolicyGroupPlacementPolicyPtrOutput) ToResourcePolicyGroupPlacem return o } +func (o ResourcePolicyGroupPlacementPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyGroupPlacementPolicy] { + return pulumix.Output[*ResourcePolicyGroupPlacementPolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyGroupPlacementPolicyPtrOutput) Elem() ResourcePolicyGroupPlacementPolicyOutput { return o.ApplyT(func(v *ResourcePolicyGroupPlacementPolicy) ResourcePolicyGroupPlacementPolicy { if v != nil { @@ -30248,6 +34665,12 @@ func (o ResourcePolicyGroupPlacementPolicyResponseOutput) ToResourcePolicyGroupP return o } +func (o ResourcePolicyGroupPlacementPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyGroupPlacementPolicyResponse] { + return pulumix.Output[ResourcePolicyGroupPlacementPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. func (o ResourcePolicyGroupPlacementPolicyResponseOutput) AvailabilityDomainCount() pulumi.IntOutput { return o.ApplyT(func(v ResourcePolicyGroupPlacementPolicyResponse) int { return v.AvailabilityDomainCount }).(pulumi.IntOutput) @@ -30302,6 +34725,12 @@ func (i ResourcePolicyHourlyCycleArgs) ToResourcePolicyHourlyCycleOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyHourlyCycleOutput) } +func (i ResourcePolicyHourlyCycleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyHourlyCycle] { + return pulumix.Output[ResourcePolicyHourlyCycle]{ + OutputState: i.ToResourcePolicyHourlyCycleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyHourlyCycleArgs) ToResourcePolicyHourlyCyclePtrOutput() ResourcePolicyHourlyCyclePtrOutput { return i.ToResourcePolicyHourlyCyclePtrOutputWithContext(context.Background()) } @@ -30343,6 +34772,12 @@ func (i *resourcePolicyHourlyCyclePtrType) ToResourcePolicyHourlyCyclePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyHourlyCyclePtrOutput) } +func (i *resourcePolicyHourlyCyclePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyHourlyCycle] { + return pulumix.Output[*ResourcePolicyHourlyCycle]{ + OutputState: i.ToResourcePolicyHourlyCyclePtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for hourly operations. type ResourcePolicyHourlyCycleOutput struct{ *pulumi.OutputState } @@ -30368,6 +34803,12 @@ func (o ResourcePolicyHourlyCycleOutput) ToResourcePolicyHourlyCyclePtrOutputWit }).(ResourcePolicyHourlyCyclePtrOutput) } +func (o ResourcePolicyHourlyCycleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyHourlyCycle] { + return pulumix.Output[ResourcePolicyHourlyCycle]{ + OutputState: o.OutputState, + } +} + // Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle. func (o ResourcePolicyHourlyCycleOutput) HoursInCycle() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicyHourlyCycle) *int { return v.HoursInCycle }).(pulumi.IntPtrOutput) @@ -30392,6 +34833,12 @@ func (o ResourcePolicyHourlyCyclePtrOutput) ToResourcePolicyHourlyCyclePtrOutput return o } +func (o ResourcePolicyHourlyCyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyHourlyCycle] { + return pulumix.Output[*ResourcePolicyHourlyCycle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyHourlyCyclePtrOutput) Elem() ResourcePolicyHourlyCycleOutput { return o.ApplyT(func(v *ResourcePolicyHourlyCycle) ResourcePolicyHourlyCycle { if v != nil { @@ -30447,6 +34894,12 @@ func (o ResourcePolicyHourlyCycleResponseOutput) ToResourcePolicyHourlyCycleResp return o } +func (o ResourcePolicyHourlyCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyHourlyCycleResponse] { + return pulumix.Output[ResourcePolicyHourlyCycleResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. func (o ResourcePolicyHourlyCycleResponseOutput) Duration() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyHourlyCycleResponse) string { return v.Duration }).(pulumi.StringOutput) @@ -30513,6 +34966,12 @@ func (i ResourcePolicyInstanceSchedulePolicyArgs) ToResourcePolicyInstanceSchedu return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicyOutput) } +func (i ResourcePolicyInstanceSchedulePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicy]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyInstanceSchedulePolicyArgs) ToResourcePolicyInstanceSchedulePolicyPtrOutput() ResourcePolicyInstanceSchedulePolicyPtrOutput { return i.ToResourcePolicyInstanceSchedulePolicyPtrOutputWithContext(context.Background()) } @@ -30554,6 +35013,12 @@ func (i *resourcePolicyInstanceSchedulePolicyPtrType) ToResourcePolicyInstanceSc return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicyPtrOutput) } +func (i *resourcePolicyInstanceSchedulePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicy]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance. type ResourcePolicyInstanceSchedulePolicyOutput struct{ *pulumi.OutputState } @@ -30579,6 +35044,12 @@ func (o ResourcePolicyInstanceSchedulePolicyOutput) ToResourcePolicyInstanceSche }).(ResourcePolicyInstanceSchedulePolicyPtrOutput) } +func (o ResourcePolicyInstanceSchedulePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicy]{ + OutputState: o.OutputState, + } +} + // The expiration time of the schedule. The timestamp is an RFC3339 string. func (o ResourcePolicyInstanceSchedulePolicyOutput) ExpirationTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicy) *string { return v.ExpirationTime }).(pulumi.StringPtrOutput) @@ -30622,6 +35093,12 @@ func (o ResourcePolicyInstanceSchedulePolicyPtrOutput) ToResourcePolicyInstanceS return o } +func (o ResourcePolicyInstanceSchedulePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicy] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyInstanceSchedulePolicyPtrOutput) Elem() ResourcePolicyInstanceSchedulePolicyOutput { return o.ApplyT(func(v *ResourcePolicyInstanceSchedulePolicy) ResourcePolicyInstanceSchedulePolicy { if v != nil { @@ -30711,6 +35188,12 @@ func (o ResourcePolicyInstanceSchedulePolicyResponseOutput) ToResourcePolicyInst return o } +func (o ResourcePolicyInstanceSchedulePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicyResponse] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The expiration time of the schedule. The timestamp is an RFC3339 string. func (o ResourcePolicyInstanceSchedulePolicyResponseOutput) ExpirationTime() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicyResponse) string { return v.ExpirationTime }).(pulumi.StringOutput) @@ -30775,6 +35258,12 @@ func (i ResourcePolicyInstanceSchedulePolicyScheduleArgs) ToResourcePolicyInstan return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicyScheduleOutput) } +func (i ResourcePolicyInstanceSchedulePolicyScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicyScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyInstanceSchedulePolicyScheduleArgs) ToResourcePolicyInstanceSchedulePolicySchedulePtrOutput() ResourcePolicyInstanceSchedulePolicySchedulePtrOutput { return i.ToResourcePolicyInstanceSchedulePolicySchedulePtrOutputWithContext(context.Background()) } @@ -30816,6 +35305,12 @@ func (i *resourcePolicyInstanceSchedulePolicySchedulePtrType) ToResourcePolicyIn return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) } +func (i *resourcePolicyInstanceSchedulePolicySchedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicyInstanceSchedulePolicySchedulePtrOutputWithContext(ctx).OutputState, + } +} + // Schedule for an instance operation. type ResourcePolicyInstanceSchedulePolicyScheduleOutput struct{ *pulumi.OutputState } @@ -30841,6 +35336,12 @@ func (o ResourcePolicyInstanceSchedulePolicyScheduleOutput) ToResourcePolicyInst }).(ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) } +func (o ResourcePolicyInstanceSchedulePolicyScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + // Specifies the frequency for the operation, using the unix-cron format. func (o ResourcePolicyInstanceSchedulePolicyScheduleOutput) Schedule() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicySchedule) *string { return v.Schedule }).(pulumi.StringPtrOutput) @@ -30860,6 +35361,12 @@ func (o ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) ToResourcePolicyI return o } +func (o ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicyInstanceSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyInstanceSchedulePolicySchedulePtrOutput) Elem() ResourcePolicyInstanceSchedulePolicyScheduleOutput { return o.ApplyT(func(v *ResourcePolicyInstanceSchedulePolicySchedule) ResourcePolicyInstanceSchedulePolicySchedule { if v != nil { @@ -30901,6 +35408,12 @@ func (o ResourcePolicyInstanceSchedulePolicyScheduleResponseOutput) ToResourcePo return o } +func (o ResourcePolicyInstanceSchedulePolicyScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyInstanceSchedulePolicyScheduleResponse] { + return pulumix.Output[ResourcePolicyInstanceSchedulePolicyScheduleResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the frequency for the operation, using the unix-cron format. func (o ResourcePolicyInstanceSchedulePolicyScheduleResponseOutput) Schedule() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyInstanceSchedulePolicyScheduleResponse) string { return v.Schedule }).(pulumi.StringOutput) @@ -30927,6 +35440,12 @@ func (o ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput) return o } +func (o ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse] { + return pulumix.Output[ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse]{ + OutputState: o.OutputState, + } +} + // The last time the schedule successfully ran. The timestamp is an RFC3339 string. func (o ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput) LastRunStartTime() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse) string { @@ -30962,6 +35481,12 @@ func (o ResourcePolicyResourceStatusResponseOutput) ToResourcePolicyResourceStat return o } +func (o ResourcePolicyResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyResourceStatusResponse] { + return pulumix.Output[ResourcePolicyResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field. func (o ResourcePolicyResourceStatusResponseOutput) InstanceSchedulePolicy() ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponseOutput { return o.ApplyT(func(v ResourcePolicyResourceStatusResponse) ResourcePolicyResourceStatusInstanceSchedulePolicyStatusResponse { @@ -31012,6 +35537,12 @@ func (i ResourcePolicySnapshotSchedulePolicyArgs) ToResourcePolicySnapshotSchedu return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyOutput) } +func (i ResourcePolicySnapshotSchedulePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicyArgs) ToResourcePolicySnapshotSchedulePolicyPtrOutput() ResourcePolicySnapshotSchedulePolicyPtrOutput { return i.ToResourcePolicySnapshotSchedulePolicyPtrOutputWithContext(context.Background()) } @@ -31053,6 +35584,12 @@ func (i *resourcePolicySnapshotSchedulePolicyPtrType) ToResourcePolicySnapshotSc return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyPtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained. type ResourcePolicySnapshotSchedulePolicyOutput struct{ *pulumi.OutputState } @@ -31078,6 +35615,12 @@ func (o ResourcePolicySnapshotSchedulePolicyOutput) ToResourcePolicySnapshotSche }).(ResourcePolicySnapshotSchedulePolicyPtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicy]{ + OutputState: o.OutputState, + } +} + // Retention policy applied to snapshots created by this resource policy. func (o ResourcePolicySnapshotSchedulePolicyOutput) RetentionPolicy() ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicy) *ResourcePolicySnapshotSchedulePolicyRetentionPolicy { @@ -31113,6 +35656,12 @@ func (o ResourcePolicySnapshotSchedulePolicyPtrOutput) ToResourcePolicySnapshotS return o } +func (o ResourcePolicySnapshotSchedulePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyPtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicy) ResourcePolicySnapshotSchedulePolicy { if v != nil { @@ -31178,6 +35727,12 @@ func (o ResourcePolicySnapshotSchedulePolicyResponseOutput) ToResourcePolicySnap return o } +func (o ResourcePolicySnapshotSchedulePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Retention policy applied to snapshots created by this resource policy. func (o ResourcePolicySnapshotSchedulePolicyResponseOutput) RetentionPolicy() ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyResponse) ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse { @@ -31238,6 +35793,12 @@ func (i ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs) ToResourcePolic return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) } +func (i ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicyRetentionPolicyArgs) ToResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput() ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput { return i.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutputWithContext(context.Background()) } @@ -31279,6 +35840,12 @@ func (i *resourcePolicySnapshotSchedulePolicyRetentionPolicyPtrType) ToResourceP return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicyRetentionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Policy for retention of scheduled snapshots. type ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput struct{ *pulumi.OutputState } @@ -31304,6 +35871,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) ToResourcePol }).(ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: o.OutputState, + } +} + // Maximum age of the snapshot that is allowed to be kept. func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput) MaxRetentionDays() pulumi.IntPtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyRetentionPolicy) *int { return v.MaxRetentionDays }).(pulumi.IntPtrOutput) @@ -31330,6 +35903,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) ToResource return o } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicyRetentionPolicy]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyPtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyRetentionPolicyOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicyRetentionPolicy) ResourcePolicySnapshotSchedulePolicyRetentionPolicy { if v != nil { @@ -31383,6 +35962,12 @@ func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput) ToRes return o } +func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Maximum age of the snapshot that is allowed to be kept. func (o ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponseOutput) MaxRetentionDays() pulumi.IntOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyRetentionPolicyResponse) int { return v.MaxRetentionDays }).(pulumi.IntOutput) @@ -31432,6 +36017,12 @@ func (i ResourcePolicySnapshotSchedulePolicyScheduleArgs) ToResourcePolicySnapsh return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicyScheduleOutput) } +func (i ResourcePolicySnapshotSchedulePolicyScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicyScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicyScheduleArgs) ToResourcePolicySnapshotSchedulePolicySchedulePtrOutput() ResourcePolicySnapshotSchedulePolicySchedulePtrOutput { return i.ToResourcePolicySnapshotSchedulePolicySchedulePtrOutputWithContext(context.Background()) } @@ -31473,6 +36064,12 @@ func (i *resourcePolicySnapshotSchedulePolicySchedulePtrType) ToResourcePolicySn return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicySchedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicySchedulePtrOutputWithContext(ctx).OutputState, + } +} + // A schedule for disks where the schedueled operations are performed. type ResourcePolicySnapshotSchedulePolicyScheduleOutput struct{ *pulumi.OutputState } @@ -31498,6 +36095,12 @@ func (o ResourcePolicySnapshotSchedulePolicyScheduleOutput) ToResourcePolicySnap }).(ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicyScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyScheduleOutput) DailySchedule() ResourcePolicyDailyCyclePtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicySchedule) *ResourcePolicyDailyCycle { return v.DailySchedule }).(ResourcePolicyDailyCyclePtrOutput) } @@ -31528,6 +36131,12 @@ func (o ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) ToResourcePolicyS return o } +func (o ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySchedule]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicySchedulePtrOutput) Elem() ResourcePolicySnapshotSchedulePolicyScheduleOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicySchedule) ResourcePolicySnapshotSchedulePolicySchedule { if v != nil { @@ -31587,6 +36196,12 @@ func (o ResourcePolicySnapshotSchedulePolicyScheduleResponseOutput) ToResourcePo return o } +func (o ResourcePolicySnapshotSchedulePolicyScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicyScheduleResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicyScheduleResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicyScheduleResponseOutput) DailySchedule() ResourcePolicyDailyCycleResponseOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicyScheduleResponse) ResourcePolicyDailyCycleResponse { return v.DailySchedule @@ -31652,6 +36267,12 @@ func (i ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs) ToResourcePo return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) } +func (i ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicySnapshotSchedulePolicySnapshotPropertiesArgs) ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput() ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput { return i.ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutputWithContext(context.Background()) } @@ -31693,6 +36314,12 @@ func (i *resourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrType) ToResour return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) } +func (i *resourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: i.ToResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutputWithContext(ctx).OutputState, + } +} + // Specified snapshot properties for scheduled snapshots created by this policy. type ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput struct{ *pulumi.OutputState } @@ -31718,6 +36345,12 @@ func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) ToResource }).(ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) } +func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: o.OutputState, + } +} + // Chain name that the snapshot is created in. func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput) ChainName() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicySnapshotProperties) *string { return v.ChainName }).(pulumi.StringPtrOutput) @@ -31752,6 +36385,12 @@ func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) ToResou return o } +func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties] { + return pulumix.Output[*ResourcePolicySnapshotSchedulePolicySnapshotProperties]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesPtrOutput) Elem() ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutput { return o.ApplyT(func(v *ResourcePolicySnapshotSchedulePolicySnapshotProperties) ResourcePolicySnapshotSchedulePolicySnapshotProperties { if v != nil { @@ -31829,6 +36468,12 @@ func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseOutput) To return o } +func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse] { + return pulumix.Output[ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Chain name that the snapshot is created in. func (o ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponseOutput) ChainName() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicySnapshotSchedulePolicySnapshotPropertiesResponse) string { return v.ChainName }).(pulumi.StringOutput) @@ -31888,6 +36533,12 @@ func (i ResourcePolicyWeeklyCycleArgs) ToResourcePolicyWeeklyCycleOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCycleOutput) } +func (i ResourcePolicyWeeklyCycleArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycle] { + return pulumix.Output[ResourcePolicyWeeklyCycle]{ + OutputState: i.ToResourcePolicyWeeklyCycleOutputWithContext(ctx).OutputState, + } +} + func (i ResourcePolicyWeeklyCycleArgs) ToResourcePolicyWeeklyCyclePtrOutput() ResourcePolicyWeeklyCyclePtrOutput { return i.ToResourcePolicyWeeklyCyclePtrOutputWithContext(context.Background()) } @@ -31929,6 +36580,12 @@ func (i *resourcePolicyWeeklyCyclePtrType) ToResourcePolicyWeeklyCyclePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCyclePtrOutput) } +func (i *resourcePolicyWeeklyCyclePtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycle] { + return pulumix.Output[*ResourcePolicyWeeklyCycle]{ + OutputState: i.ToResourcePolicyWeeklyCyclePtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for weekly operations. type ResourcePolicyWeeklyCycleOutput struct{ *pulumi.OutputState } @@ -31954,6 +36611,12 @@ func (o ResourcePolicyWeeklyCycleOutput) ToResourcePolicyWeeklyCyclePtrOutputWit }).(ResourcePolicyWeeklyCyclePtrOutput) } +func (o ResourcePolicyWeeklyCycleOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycle] { + return pulumix.Output[ResourcePolicyWeeklyCycle]{ + OutputState: o.OutputState, + } +} + // Up to 7 intervals/windows, one for each day of the week. func (o ResourcePolicyWeeklyCycleOutput) DayOfWeeks() ResourcePolicyWeeklyCycleDayOfWeekArrayOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycle) []ResourcePolicyWeeklyCycleDayOfWeek { return v.DayOfWeeks }).(ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) @@ -31973,6 +36636,12 @@ func (o ResourcePolicyWeeklyCyclePtrOutput) ToResourcePolicyWeeklyCyclePtrOutput return o } +func (o ResourcePolicyWeeklyCyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyWeeklyCycle] { + return pulumix.Output[*ResourcePolicyWeeklyCycle]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCyclePtrOutput) Elem() ResourcePolicyWeeklyCycleOutput { return o.ApplyT(func(v *ResourcePolicyWeeklyCycle) ResourcePolicyWeeklyCycle { if v != nil { @@ -32030,6 +36699,12 @@ func (i ResourcePolicyWeeklyCycleDayOfWeekArgs) ToResourcePolicyWeeklyCycleDayOf return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCycleDayOfWeekOutput) } +func (i ResourcePolicyWeeklyCycleDayOfWeekArgs) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: i.ToResourcePolicyWeeklyCycleDayOfWeekOutputWithContext(ctx).OutputState, + } +} + // ResourcePolicyWeeklyCycleDayOfWeekArrayInput is an input type that accepts ResourcePolicyWeeklyCycleDayOfWeekArray and ResourcePolicyWeeklyCycleDayOfWeekArrayOutput values. // You can construct a concrete instance of `ResourcePolicyWeeklyCycleDayOfWeekArrayInput` via: // @@ -32055,6 +36730,12 @@ func (i ResourcePolicyWeeklyCycleDayOfWeekArray) ToResourcePolicyWeeklyCycleDayO return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) } +func (i ResourcePolicyWeeklyCycleDayOfWeekArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: i.ToResourcePolicyWeeklyCycleDayOfWeekArrayOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyWeeklyCycleDayOfWeekOutput struct{ *pulumi.OutputState } func (ResourcePolicyWeeklyCycleDayOfWeekOutput) ElementType() reflect.Type { @@ -32069,6 +36750,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekOutput) ToResourcePolicyWeeklyCycleDay return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: o.OutputState, + } +} + // Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. func (o ResourcePolicyWeeklyCycleDayOfWeekOutput) Day() ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycleDayOfWeek) *ResourcePolicyWeeklyCycleDayOfWeekDay { return v.Day }).(ResourcePolicyWeeklyCycleDayOfWeekDayPtrOutput) @@ -32093,6 +36780,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) ToResourcePolicyWeeklyCyc return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek] { + return pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekArrayOutput) Index(i pulumi.IntInput) ResourcePolicyWeeklyCycleDayOfWeekOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourcePolicyWeeklyCycleDayOfWeek { return vs[0].([]ResourcePolicyWeeklyCycleDayOfWeek)[vs[1].(int)] @@ -32122,6 +36815,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekResponseOutput) ToResourcePolicyWeekly return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekResponse] { + return pulumix.Output[ResourcePolicyWeeklyCycleDayOfWeekResponse]{ + OutputState: o.OutputState, + } +} + // Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. func (o ResourcePolicyWeeklyCycleDayOfWeekResponseOutput) Day() pulumi.StringOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycleDayOfWeekResponse) string { return v.Day }).(pulumi.StringOutput) @@ -32151,6 +36850,12 @@ func (o ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput) ToResourcePolicyW return o } +func (o ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeekResponse] { + return pulumix.Output[[]ResourcePolicyWeeklyCycleDayOfWeekResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput) Index(i pulumi.IntInput) ResourcePolicyWeeklyCycleDayOfWeekResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourcePolicyWeeklyCycleDayOfWeekResponse { return vs[0].([]ResourcePolicyWeeklyCycleDayOfWeekResponse)[vs[1].(int)] @@ -32178,6 +36883,12 @@ func (o ResourcePolicyWeeklyCycleResponseOutput) ToResourcePolicyWeeklyCycleResp return o } +func (o ResourcePolicyWeeklyCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourcePolicyWeeklyCycleResponse] { + return pulumix.Output[ResourcePolicyWeeklyCycleResponse]{ + OutputState: o.OutputState, + } +} + // Up to 7 intervals/windows, one for each day of the week. func (o ResourcePolicyWeeklyCycleResponseOutput) DayOfWeeks() ResourcePolicyWeeklyCycleDayOfWeekResponseArrayOutput { return o.ApplyT(func(v ResourcePolicyWeeklyCycleResponse) []ResourcePolicyWeeklyCycleDayOfWeekResponse { @@ -32206,6 +36917,12 @@ func (o ResourceStatusResponseOutput) ToResourceStatusResponseOutputWithContext( return o } +func (o ResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceStatusResponse] { + return pulumix.Output[ResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // An opaque ID of the host on which the VM is running. func (o ResourceStatusResponseOutput) PhysicalHost() pulumi.StringOutput { return o.ApplyT(func(v ResourceStatusResponse) string { return v.PhysicalHost }).(pulumi.StringOutput) @@ -32232,6 +36949,12 @@ func (o RouteAsPathResponseOutput) ToRouteAsPathResponseOutputWithContext(ctx co return o } +func (o RouteAsPathResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteAsPathResponse] { + return pulumix.Output[RouteAsPathResponse]{ + OutputState: o.OutputState, + } +} + // The AS numbers of the AS Path. func (o RouteAsPathResponseOutput) AsLists() pulumi.IntArrayOutput { return o.ApplyT(func(v RouteAsPathResponse) []int { return v.AsLists }).(pulumi.IntArrayOutput) @@ -32256,6 +36979,12 @@ func (o RouteAsPathResponseArrayOutput) ToRouteAsPathResponseArrayOutputWithCont return o } +func (o RouteAsPathResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouteAsPathResponse] { + return pulumix.Output[[]RouteAsPathResponse]{ + OutputState: o.OutputState, + } +} + func (o RouteAsPathResponseArrayOutput) Index(i pulumi.IntInput) RouteAsPathResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteAsPathResponse { return vs[0].([]RouteAsPathResponse)[vs[1].(int)] @@ -32283,6 +37012,12 @@ func (o RouteWarningsItemDataItemResponseOutput) ToRouteWarningsItemDataItemResp return o } +func (o RouteWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteWarningsItemDataItemResponse] { + return pulumix.Output[RouteWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o RouteWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v RouteWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -32307,6 +37042,12 @@ func (o RouteWarningsItemDataItemResponseArrayOutput) ToRouteWarningsItemDataIte return o } +func (o RouteWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouteWarningsItemDataItemResponse] { + return pulumix.Output[[]RouteWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RouteWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) RouteWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteWarningsItemDataItemResponse { return vs[0].([]RouteWarningsItemDataItemResponse)[vs[1].(int)] @@ -32336,6 +37077,12 @@ func (o RouteWarningsItemResponseOutput) ToRouteWarningsItemResponseOutputWithCo return o } +func (o RouteWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteWarningsItemResponse] { + return pulumix.Output[RouteWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o RouteWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v RouteWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -32365,6 +37112,12 @@ func (o RouteWarningsItemResponseArrayOutput) ToRouteWarningsItemResponseArrayOu return o } +func (o RouteWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouteWarningsItemResponse] { + return pulumix.Output[[]RouteWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RouteWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) RouteWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteWarningsItemResponse { return vs[0].([]RouteWarningsItemResponse)[vs[1].(int)] @@ -32410,6 +37163,12 @@ func (i RouterAdvertisedIpRangeArgs) ToRouterAdvertisedIpRangeOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(RouterAdvertisedIpRangeOutput) } +func (i RouterAdvertisedIpRangeArgs) ToOutput(ctx context.Context) pulumix.Output[RouterAdvertisedIpRange] { + return pulumix.Output[RouterAdvertisedIpRange]{ + OutputState: i.ToRouterAdvertisedIpRangeOutputWithContext(ctx).OutputState, + } +} + // RouterAdvertisedIpRangeArrayInput is an input type that accepts RouterAdvertisedIpRangeArray and RouterAdvertisedIpRangeArrayOutput values. // You can construct a concrete instance of `RouterAdvertisedIpRangeArrayInput` via: // @@ -32435,6 +37194,12 @@ func (i RouterAdvertisedIpRangeArray) ToRouterAdvertisedIpRangeArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(RouterAdvertisedIpRangeArrayOutput) } +func (i RouterAdvertisedIpRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterAdvertisedIpRange] { + return pulumix.Output[[]RouterAdvertisedIpRange]{ + OutputState: i.ToRouterAdvertisedIpRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Description-tagged IP ranges for the router to advertise. type RouterAdvertisedIpRangeOutput struct{ *pulumi.OutputState } @@ -32450,6 +37215,12 @@ func (o RouterAdvertisedIpRangeOutput) ToRouterAdvertisedIpRangeOutputWithContex return o } +func (o RouterAdvertisedIpRangeOutput) ToOutput(ctx context.Context) pulumix.Output[RouterAdvertisedIpRange] { + return pulumix.Output[RouterAdvertisedIpRange]{ + OutputState: o.OutputState, + } +} + // User-specified description for the IP range. func (o RouterAdvertisedIpRangeOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterAdvertisedIpRange) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -32474,6 +37245,12 @@ func (o RouterAdvertisedIpRangeArrayOutput) ToRouterAdvertisedIpRangeArrayOutput return o } +func (o RouterAdvertisedIpRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterAdvertisedIpRange] { + return pulumix.Output[[]RouterAdvertisedIpRange]{ + OutputState: o.OutputState, + } +} + func (o RouterAdvertisedIpRangeArrayOutput) Index(i pulumi.IntInput) RouterAdvertisedIpRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterAdvertisedIpRange { return vs[0].([]RouterAdvertisedIpRange)[vs[1].(int)] @@ -32503,6 +37280,12 @@ func (o RouterAdvertisedIpRangeResponseOutput) ToRouterAdvertisedIpRangeResponse return o } +func (o RouterAdvertisedIpRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterAdvertisedIpRangeResponse] { + return pulumix.Output[RouterAdvertisedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + // User-specified description for the IP range. func (o RouterAdvertisedIpRangeResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v RouterAdvertisedIpRangeResponse) string { return v.Description }).(pulumi.StringOutput) @@ -32527,6 +37310,12 @@ func (o RouterAdvertisedIpRangeResponseArrayOutput) ToRouterAdvertisedIpRangeRes return o } +func (o RouterAdvertisedIpRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterAdvertisedIpRangeResponse] { + return pulumix.Output[[]RouterAdvertisedIpRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterAdvertisedIpRangeResponseArrayOutput) Index(i pulumi.IntInput) RouterAdvertisedIpRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterAdvertisedIpRangeResponse { return vs[0].([]RouterAdvertisedIpRangeResponse)[vs[1].(int)] @@ -32582,6 +37371,12 @@ func (i RouterBgpArgs) ToRouterBgpOutputWithContext(ctx context.Context) RouterB return pulumi.ToOutputWithContext(ctx, i).(RouterBgpOutput) } +func (i RouterBgpArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgp] { + return pulumix.Output[RouterBgp]{ + OutputState: i.ToRouterBgpOutputWithContext(ctx).OutputState, + } +} + func (i RouterBgpArgs) ToRouterBgpPtrOutput() RouterBgpPtrOutput { return i.ToRouterBgpPtrOutputWithContext(context.Background()) } @@ -32623,6 +37418,12 @@ func (i *routerBgpPtrType) ToRouterBgpPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPtrOutput) } +func (i *routerBgpPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterBgp] { + return pulumix.Output[*RouterBgp]{ + OutputState: i.ToRouterBgpPtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpOutput struct{ *pulumi.OutputState } func (RouterBgpOutput) ElementType() reflect.Type { @@ -32647,6 +37448,12 @@ func (o RouterBgpOutput) ToRouterBgpPtrOutputWithContext(ctx context.Context) Ro }).(RouterBgpPtrOutput) } +func (o RouterBgpOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgp] { + return pulumix.Output[RouterBgp]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. func (o RouterBgpOutput) AdvertiseMode() RouterBgpAdvertiseModePtrOutput { return o.ApplyT(func(v RouterBgp) *RouterBgpAdvertiseMode { return v.AdvertiseMode }).(RouterBgpAdvertiseModePtrOutput) @@ -32686,6 +37493,12 @@ func (o RouterBgpPtrOutput) ToRouterBgpPtrOutputWithContext(ctx context.Context) return o } +func (o RouterBgpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgp] { + return pulumix.Output[*RouterBgp]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPtrOutput) Elem() RouterBgpOutput { return o.ApplyT(func(v *RouterBgp) RouterBgp { if v != nil { @@ -32839,6 +37652,12 @@ func (i RouterBgpPeerArgs) ToRouterBgpPeerOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerOutput) } +func (i RouterBgpPeerArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeer] { + return pulumix.Output[RouterBgpPeer]{ + OutputState: i.ToRouterBgpPeerOutputWithContext(ctx).OutputState, + } +} + // RouterBgpPeerArrayInput is an input type that accepts RouterBgpPeerArray and RouterBgpPeerArrayOutput values. // You can construct a concrete instance of `RouterBgpPeerArrayInput` via: // @@ -32864,6 +37683,12 @@ func (i RouterBgpPeerArray) ToRouterBgpPeerArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerArrayOutput) } +func (i RouterBgpPeerArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeer] { + return pulumix.Output[[]RouterBgpPeer]{ + OutputState: i.ToRouterBgpPeerArrayOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerOutput struct{ *pulumi.OutputState } func (RouterBgpPeerOutput) ElementType() reflect.Type { @@ -32878,6 +37703,12 @@ func (o RouterBgpPeerOutput) ToRouterBgpPeerOutputWithContext(ctx context.Contex return o } +func (o RouterBgpPeerOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeer] { + return pulumix.Output[RouterBgpPeer]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. func (o RouterBgpPeerOutput) AdvertiseMode() RouterBgpPeerAdvertiseModePtrOutput { return o.ApplyT(func(v RouterBgpPeer) *RouterBgpPeerAdvertiseMode { return v.AdvertiseMode }).(RouterBgpPeerAdvertiseModePtrOutput) @@ -32972,6 +37803,12 @@ func (o RouterBgpPeerArrayOutput) ToRouterBgpPeerArrayOutputWithContext(ctx cont return o } +func (o RouterBgpPeerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeer] { + return pulumix.Output[[]RouterBgpPeer]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeer { return vs[0].([]RouterBgpPeer)[vs[1].(int)] @@ -33023,6 +37860,12 @@ func (i RouterBgpPeerBfdArgs) ToRouterBgpPeerBfdOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerBfdOutput) } +func (i RouterBgpPeerBfdArgs) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfd] { + return pulumix.Output[RouterBgpPeerBfd]{ + OutputState: i.ToRouterBgpPeerBfdOutputWithContext(ctx).OutputState, + } +} + func (i RouterBgpPeerBfdArgs) ToRouterBgpPeerBfdPtrOutput() RouterBgpPeerBfdPtrOutput { return i.ToRouterBgpPeerBfdPtrOutputWithContext(context.Background()) } @@ -33064,6 +37907,12 @@ func (i *routerBgpPeerBfdPtrType) ToRouterBgpPeerBfdPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RouterBgpPeerBfdPtrOutput) } +func (i *routerBgpPeerBfdPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfd] { + return pulumix.Output[*RouterBgpPeerBfd]{ + OutputState: i.ToRouterBgpPeerBfdPtrOutputWithContext(ctx).OutputState, + } +} + type RouterBgpPeerBfdOutput struct{ *pulumi.OutputState } func (RouterBgpPeerBfdOutput) ElementType() reflect.Type { @@ -33088,6 +37937,12 @@ func (o RouterBgpPeerBfdOutput) ToRouterBgpPeerBfdPtrOutputWithContext(ctx conte }).(RouterBgpPeerBfdPtrOutput) } +func (o RouterBgpPeerBfdOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfd] { + return pulumix.Output[RouterBgpPeerBfd]{ + OutputState: o.OutputState, + } +} + // The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000. func (o RouterBgpPeerBfdOutput) MinReceiveInterval() pulumi.IntPtrOutput { return o.ApplyT(func(v RouterBgpPeerBfd) *int { return v.MinReceiveInterval }).(pulumi.IntPtrOutput) @@ -33124,6 +37979,12 @@ func (o RouterBgpPeerBfdPtrOutput) ToRouterBgpPeerBfdPtrOutputWithContext(ctx co return o } +func (o RouterBgpPeerBfdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterBgpPeerBfd] { + return pulumix.Output[*RouterBgpPeerBfd]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerBfdPtrOutput) Elem() RouterBgpPeerBfdOutput { return o.ApplyT(func(v *RouterBgpPeerBfd) RouterBgpPeerBfd { if v != nil { @@ -33199,6 +38060,12 @@ func (o RouterBgpPeerBfdResponseOutput) ToRouterBgpPeerBfdResponseOutputWithCont return o } +func (o RouterBgpPeerBfdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerBfdResponse] { + return pulumix.Output[RouterBgpPeerBfdResponse]{ + OutputState: o.OutputState, + } +} + // The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000. func (o RouterBgpPeerBfdResponseOutput) MinReceiveInterval() pulumi.IntOutput { return o.ApplyT(func(v RouterBgpPeerBfdResponse) int { return v.MinReceiveInterval }).(pulumi.IntOutput) @@ -33270,6 +38137,12 @@ func (o RouterBgpPeerResponseOutput) ToRouterBgpPeerResponseOutputWithContext(ct return o } +func (o RouterBgpPeerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpPeerResponse] { + return pulumix.Output[RouterBgpPeerResponse]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. func (o RouterBgpPeerResponseOutput) AdvertiseMode() pulumi.StringOutput { return o.ApplyT(func(v RouterBgpPeerResponse) string { return v.AdvertiseMode }).(pulumi.StringOutput) @@ -33369,6 +38242,12 @@ func (o RouterBgpPeerResponseArrayOutput) ToRouterBgpPeerResponseArrayOutputWith return o } +func (o RouterBgpPeerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterBgpPeerResponse] { + return pulumix.Output[[]RouterBgpPeerResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterBgpPeerResponseArrayOutput) Index(i pulumi.IntInput) RouterBgpPeerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterBgpPeerResponse { return vs[0].([]RouterBgpPeerResponse)[vs[1].(int)] @@ -33402,6 +38281,12 @@ func (o RouterBgpResponseOutput) ToRouterBgpResponseOutputWithContext(ctx contex return o } +func (o RouterBgpResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterBgpResponse] { + return pulumix.Output[RouterBgpResponse]{ + OutputState: o.OutputState, + } +} + // User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. func (o RouterBgpResponseOutput) AdvertiseMode() pulumi.StringOutput { return o.ApplyT(func(v RouterBgpResponse) string { return v.AdvertiseMode }).(pulumi.StringOutput) @@ -33484,6 +38369,12 @@ func (i RouterInterfaceArgs) ToRouterInterfaceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(RouterInterfaceOutput) } +func (i RouterInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[RouterInterface] { + return pulumix.Output[RouterInterface]{ + OutputState: i.ToRouterInterfaceOutputWithContext(ctx).OutputState, + } +} + // RouterInterfaceArrayInput is an input type that accepts RouterInterfaceArray and RouterInterfaceArrayOutput values. // You can construct a concrete instance of `RouterInterfaceArrayInput` via: // @@ -33509,6 +38400,12 @@ func (i RouterInterfaceArray) ToRouterInterfaceArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RouterInterfaceArrayOutput) } +func (i RouterInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterInterface] { + return pulumix.Output[[]RouterInterface]{ + OutputState: i.ToRouterInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + type RouterInterfaceOutput struct{ *pulumi.OutputState } func (RouterInterfaceOutput) ElementType() reflect.Type { @@ -33523,6 +38420,12 @@ func (o RouterInterfaceOutput) ToRouterInterfaceOutputWithContext(ctx context.Co return o } +func (o RouterInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[RouterInterface] { + return pulumix.Output[RouterInterface]{ + OutputState: o.OutputState, + } +} + // IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. func (o RouterInterfaceOutput) IpRange() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterInterface) *string { return v.IpRange }).(pulumi.StringPtrOutput) @@ -33572,6 +38475,12 @@ func (o RouterInterfaceArrayOutput) ToRouterInterfaceArrayOutputWithContext(ctx return o } +func (o RouterInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterInterface] { + return pulumix.Output[[]RouterInterface]{ + OutputState: o.OutputState, + } +} + func (o RouterInterfaceArrayOutput) Index(i pulumi.IntInput) RouterInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterInterface { return vs[0].([]RouterInterface)[vs[1].(int)] @@ -33611,6 +38520,12 @@ func (o RouterInterfaceResponseOutput) ToRouterInterfaceResponseOutputWithContex return o } +func (o RouterInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterInterfaceResponse] { + return pulumix.Output[RouterInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. func (o RouterInterfaceResponseOutput) IpRange() pulumi.StringOutput { return o.ApplyT(func(v RouterInterfaceResponse) string { return v.IpRange }).(pulumi.StringOutput) @@ -33665,6 +38580,12 @@ func (o RouterInterfaceResponseArrayOutput) ToRouterInterfaceResponseArrayOutput return o } +func (o RouterInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterInterfaceResponse] { + return pulumix.Output[[]RouterInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterInterfaceResponseArrayOutput) Index(i pulumi.IntInput) RouterInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterInterfaceResponse { return vs[0].([]RouterInterfaceResponse)[vs[1].(int)] @@ -33708,6 +38629,12 @@ func (i RouterMd5AuthenticationKeyArgs) ToRouterMd5AuthenticationKeyOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(RouterMd5AuthenticationKeyOutput) } +func (i RouterMd5AuthenticationKeyArgs) ToOutput(ctx context.Context) pulumix.Output[RouterMd5AuthenticationKey] { + return pulumix.Output[RouterMd5AuthenticationKey]{ + OutputState: i.ToRouterMd5AuthenticationKeyOutputWithContext(ctx).OutputState, + } +} + // RouterMd5AuthenticationKeyArrayInput is an input type that accepts RouterMd5AuthenticationKeyArray and RouterMd5AuthenticationKeyArrayOutput values. // You can construct a concrete instance of `RouterMd5AuthenticationKeyArrayInput` via: // @@ -33733,6 +38660,12 @@ func (i RouterMd5AuthenticationKeyArray) ToRouterMd5AuthenticationKeyArrayOutput return pulumi.ToOutputWithContext(ctx, i).(RouterMd5AuthenticationKeyArrayOutput) } +func (i RouterMd5AuthenticationKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterMd5AuthenticationKey] { + return pulumix.Output[[]RouterMd5AuthenticationKey]{ + OutputState: i.ToRouterMd5AuthenticationKeyArrayOutputWithContext(ctx).OutputState, + } +} + type RouterMd5AuthenticationKeyOutput struct{ *pulumi.OutputState } func (RouterMd5AuthenticationKeyOutput) ElementType() reflect.Type { @@ -33747,6 +38680,12 @@ func (o RouterMd5AuthenticationKeyOutput) ToRouterMd5AuthenticationKeyOutputWith return o } +func (o RouterMd5AuthenticationKeyOutput) ToOutput(ctx context.Context) pulumix.Output[RouterMd5AuthenticationKey] { + return pulumix.Output[RouterMd5AuthenticationKey]{ + OutputState: o.OutputState, + } +} + // [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters. func (o RouterMd5AuthenticationKeyOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterMd5AuthenticationKey) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -33771,6 +38710,12 @@ func (o RouterMd5AuthenticationKeyArrayOutput) ToRouterMd5AuthenticationKeyArray return o } +func (o RouterMd5AuthenticationKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterMd5AuthenticationKey] { + return pulumix.Output[[]RouterMd5AuthenticationKey]{ + OutputState: o.OutputState, + } +} + func (o RouterMd5AuthenticationKeyArrayOutput) Index(i pulumi.IntInput) RouterMd5AuthenticationKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterMd5AuthenticationKey { return vs[0].([]RouterMd5AuthenticationKey)[vs[1].(int)] @@ -33798,6 +38743,12 @@ func (o RouterMd5AuthenticationKeyResponseOutput) ToRouterMd5AuthenticationKeyRe return o } +func (o RouterMd5AuthenticationKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterMd5AuthenticationKeyResponse] { + return pulumix.Output[RouterMd5AuthenticationKeyResponse]{ + OutputState: o.OutputState, + } +} + // [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters. func (o RouterMd5AuthenticationKeyResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v RouterMd5AuthenticationKeyResponse) string { return v.Key }).(pulumi.StringOutput) @@ -33822,6 +38773,12 @@ func (o RouterMd5AuthenticationKeyResponseArrayOutput) ToRouterMd5Authentication return o } +func (o RouterMd5AuthenticationKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterMd5AuthenticationKeyResponse] { + return pulumix.Output[[]RouterMd5AuthenticationKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterMd5AuthenticationKeyResponseArrayOutput) Index(i pulumi.IntInput) RouterMd5AuthenticationKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterMd5AuthenticationKeyResponse { return vs[0].([]RouterMd5AuthenticationKeyResponse)[vs[1].(int)] @@ -33929,6 +38886,12 @@ func (i RouterNatArgs) ToRouterNatOutputWithContext(ctx context.Context) RouterN return pulumi.ToOutputWithContext(ctx, i).(RouterNatOutput) } +func (i RouterNatArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNat] { + return pulumix.Output[RouterNat]{ + OutputState: i.ToRouterNatOutputWithContext(ctx).OutputState, + } +} + // RouterNatArrayInput is an input type that accepts RouterNatArray and RouterNatArrayOutput values. // You can construct a concrete instance of `RouterNatArrayInput` via: // @@ -33954,6 +38917,12 @@ func (i RouterNatArray) ToRouterNatArrayOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, i).(RouterNatArrayOutput) } +func (i RouterNatArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNat] { + return pulumix.Output[[]RouterNat]{ + OutputState: i.ToRouterNatArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided. type RouterNatOutput struct{ *pulumi.OutputState } @@ -33969,6 +38938,12 @@ func (o RouterNatOutput) ToRouterNatOutputWithContext(ctx context.Context) Route return o } +func (o RouterNatOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNat] { + return pulumix.Output[RouterNat]{ + OutputState: o.OutputState, + } +} + // A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only. func (o RouterNatOutput) DrainNatIps() pulumi.StringArrayOutput { return o.ApplyT(func(v RouterNat) []string { return v.DrainNatIps }).(pulumi.StringArrayOutput) @@ -34072,6 +39047,12 @@ func (o RouterNatArrayOutput) ToRouterNatArrayOutputWithContext(ctx context.Cont return o } +func (o RouterNatArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNat] { + return pulumix.Output[[]RouterNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatArrayOutput) Index(i pulumi.IntInput) RouterNatOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNat { return vs[0].([]RouterNat)[vs[1].(int)] @@ -34117,6 +39098,12 @@ func (i RouterNatLogConfigArgs) ToRouterNatLogConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RouterNatLogConfigOutput) } +func (i RouterNatLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfig] { + return pulumix.Output[RouterNatLogConfig]{ + OutputState: i.ToRouterNatLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i RouterNatLogConfigArgs) ToRouterNatLogConfigPtrOutput() RouterNatLogConfigPtrOutput { return i.ToRouterNatLogConfigPtrOutputWithContext(context.Background()) } @@ -34158,6 +39145,12 @@ func (i *routerNatLogConfigPtrType) ToRouterNatLogConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RouterNatLogConfigPtrOutput) } +func (i *routerNatLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfig] { + return pulumix.Output[*RouterNatLogConfig]{ + OutputState: i.ToRouterNatLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of logging on a NAT. type RouterNatLogConfigOutput struct{ *pulumi.OutputState } @@ -34183,6 +39176,12 @@ func (o RouterNatLogConfigOutput) ToRouterNatLogConfigPtrOutputWithContext(ctx c }).(RouterNatLogConfigPtrOutput) } +func (o RouterNatLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfig] { + return pulumix.Output[RouterNatLogConfig]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default. func (o RouterNatLogConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v RouterNatLogConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -34207,6 +39206,12 @@ func (o RouterNatLogConfigPtrOutput) ToRouterNatLogConfigPtrOutputWithContext(ct return o } +func (o RouterNatLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatLogConfig] { + return pulumix.Output[*RouterNatLogConfig]{ + OutputState: o.OutputState, + } +} + func (o RouterNatLogConfigPtrOutput) Elem() RouterNatLogConfigOutput { return o.ApplyT(func(v *RouterNatLogConfig) RouterNatLogConfig { if v != nil { @@ -34260,6 +39265,12 @@ func (o RouterNatLogConfigResponseOutput) ToRouterNatLogConfigResponseOutputWith return o } +func (o RouterNatLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatLogConfigResponse] { + return pulumix.Output[RouterNatLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not to export logs. This is false by default. func (o RouterNatLogConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v RouterNatLogConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -34324,6 +39335,12 @@ func (o RouterNatResponseOutput) ToRouterNatResponseOutputWithContext(ctx contex return o } +func (o RouterNatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatResponse] { + return pulumix.Output[RouterNatResponse]{ + OutputState: o.OutputState, + } +} + // A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only. func (o RouterNatResponseOutput) DrainNatIps() pulumi.StringArrayOutput { return o.ApplyT(func(v RouterNatResponse) []string { return v.DrainNatIps }).(pulumi.StringArrayOutput) @@ -34427,6 +39444,12 @@ func (o RouterNatResponseArrayOutput) ToRouterNatResponseArrayOutputWithContext( return o } +func (o RouterNatResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatResponse] { + return pulumix.Output[[]RouterNatResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterNatResponseArrayOutput) Index(i pulumi.IntInput) RouterNatResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatResponse { return vs[0].([]RouterNatResponse)[vs[1].(int)] @@ -34478,6 +39501,12 @@ func (i RouterNatRuleArgs) ToRouterNatRuleOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleOutput) } +func (i RouterNatRuleArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatRule] { + return pulumix.Output[RouterNatRule]{ + OutputState: i.ToRouterNatRuleOutputWithContext(ctx).OutputState, + } +} + // RouterNatRuleArrayInput is an input type that accepts RouterNatRuleArray and RouterNatRuleArrayOutput values. // You can construct a concrete instance of `RouterNatRuleArrayInput` via: // @@ -34503,6 +39532,12 @@ func (i RouterNatRuleArray) ToRouterNatRuleArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleArrayOutput) } +func (i RouterNatRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatRule] { + return pulumix.Output[[]RouterNatRule]{ + OutputState: i.ToRouterNatRuleArrayOutputWithContext(ctx).OutputState, + } +} + type RouterNatRuleOutput struct{ *pulumi.OutputState } func (RouterNatRuleOutput) ElementType() reflect.Type { @@ -34517,6 +39552,12 @@ func (o RouterNatRuleOutput) ToRouterNatRuleOutputWithContext(ctx context.Contex return o } +func (o RouterNatRuleOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRule] { + return pulumix.Output[RouterNatRule]{ + OutputState: o.OutputState, + } +} + // The action to be enforced for traffic that matches this rule. func (o RouterNatRuleOutput) Action() RouterNatRuleActionPtrOutput { return o.ApplyT(func(v RouterNatRule) *RouterNatRuleAction { return v.Action }).(RouterNatRuleActionPtrOutput) @@ -34551,6 +39592,12 @@ func (o RouterNatRuleArrayOutput) ToRouterNatRuleArrayOutputWithContext(ctx cont return o } +func (o RouterNatRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatRule] { + return pulumix.Output[[]RouterNatRule]{ + OutputState: o.OutputState, + } +} + func (o RouterNatRuleArrayOutput) Index(i pulumi.IntInput) RouterNatRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatRule { return vs[0].([]RouterNatRule)[vs[1].(int)] @@ -34594,6 +39641,12 @@ func (i RouterNatRuleActionArgs) ToRouterNatRuleActionOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleActionOutput) } +func (i RouterNatRuleActionArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleAction] { + return pulumix.Output[RouterNatRuleAction]{ + OutputState: i.ToRouterNatRuleActionOutputWithContext(ctx).OutputState, + } +} + func (i RouterNatRuleActionArgs) ToRouterNatRuleActionPtrOutput() RouterNatRuleActionPtrOutput { return i.ToRouterNatRuleActionPtrOutputWithContext(context.Background()) } @@ -34635,6 +39688,12 @@ func (i *routerNatRuleActionPtrType) ToRouterNatRuleActionPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RouterNatRuleActionPtrOutput) } +func (i *routerNatRuleActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*RouterNatRuleAction] { + return pulumix.Output[*RouterNatRuleAction]{ + OutputState: i.ToRouterNatRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + type RouterNatRuleActionOutput struct{ *pulumi.OutputState } func (RouterNatRuleActionOutput) ElementType() reflect.Type { @@ -34659,6 +39718,12 @@ func (o RouterNatRuleActionOutput) ToRouterNatRuleActionPtrOutputWithContext(ctx }).(RouterNatRuleActionPtrOutput) } +func (o RouterNatRuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleAction] { + return pulumix.Output[RouterNatRuleAction]{ + OutputState: o.OutputState, + } +} + // A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. func (o RouterNatRuleActionOutput) SourceNatActiveIps() pulumi.StringArrayOutput { return o.ApplyT(func(v RouterNatRuleAction) []string { return v.SourceNatActiveIps }).(pulumi.StringArrayOutput) @@ -34683,6 +39748,12 @@ func (o RouterNatRuleActionPtrOutput) ToRouterNatRuleActionPtrOutputWithContext( return o } +func (o RouterNatRuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RouterNatRuleAction] { + return pulumix.Output[*RouterNatRuleAction]{ + OutputState: o.OutputState, + } +} + func (o RouterNatRuleActionPtrOutput) Elem() RouterNatRuleActionOutput { return o.ApplyT(func(v *RouterNatRuleAction) RouterNatRuleAction { if v != nil { @@ -34734,6 +39805,12 @@ func (o RouterNatRuleActionResponseOutput) ToRouterNatRuleActionResponseOutputWi return o } +func (o RouterNatRuleActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleActionResponse] { + return pulumix.Output[RouterNatRuleActionResponse]{ + OutputState: o.OutputState, + } +} + // A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. func (o RouterNatRuleActionResponseOutput) SourceNatActiveIps() pulumi.StringArrayOutput { return o.ApplyT(func(v RouterNatRuleActionResponse) []string { return v.SourceNatActiveIps }).(pulumi.StringArrayOutput) @@ -34769,6 +39846,12 @@ func (o RouterNatRuleResponseOutput) ToRouterNatRuleResponseOutputWithContext(ct return o } +func (o RouterNatRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatRuleResponse] { + return pulumix.Output[RouterNatRuleResponse]{ + OutputState: o.OutputState, + } +} + // The action to be enforced for traffic that matches this rule. func (o RouterNatRuleResponseOutput) Action() RouterNatRuleActionResponseOutput { return o.ApplyT(func(v RouterNatRuleResponse) RouterNatRuleActionResponse { return v.Action }).(RouterNatRuleActionResponseOutput) @@ -34803,6 +39886,12 @@ func (o RouterNatRuleResponseArrayOutput) ToRouterNatRuleResponseArrayOutputWith return o } +func (o RouterNatRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatRuleResponse] { + return pulumix.Output[[]RouterNatRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterNatRuleResponseArrayOutput) Index(i pulumi.IntInput) RouterNatRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatRuleResponse { return vs[0].([]RouterNatRuleResponse)[vs[1].(int)] @@ -34852,6 +39941,12 @@ func (i RouterNatSubnetworkToNatArgs) ToRouterNatSubnetworkToNatOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(RouterNatSubnetworkToNatOutput) } +func (i RouterNatSubnetworkToNatArgs) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNat] { + return pulumix.Output[RouterNatSubnetworkToNat]{ + OutputState: i.ToRouterNatSubnetworkToNatOutputWithContext(ctx).OutputState, + } +} + // RouterNatSubnetworkToNatArrayInput is an input type that accepts RouterNatSubnetworkToNatArray and RouterNatSubnetworkToNatArrayOutput values. // You can construct a concrete instance of `RouterNatSubnetworkToNatArrayInput` via: // @@ -34877,6 +39972,12 @@ func (i RouterNatSubnetworkToNatArray) ToRouterNatSubnetworkToNatArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(RouterNatSubnetworkToNatArrayOutput) } +func (i RouterNatSubnetworkToNatArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNat] { + return pulumix.Output[[]RouterNatSubnetworkToNat]{ + OutputState: i.ToRouterNatSubnetworkToNatArrayOutputWithContext(ctx).OutputState, + } +} + // Defines the IP ranges that want to use NAT for a subnetwork. type RouterNatSubnetworkToNatOutput struct{ *pulumi.OutputState } @@ -34892,6 +39993,12 @@ func (o RouterNatSubnetworkToNatOutput) ToRouterNatSubnetworkToNatOutputWithCont return o } +func (o RouterNatSubnetworkToNatOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNat] { + return pulumix.Output[RouterNatSubnetworkToNat]{ + OutputState: o.OutputState, + } +} + // URL for the subnetwork resource that will use NAT. func (o RouterNatSubnetworkToNatOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterNatSubnetworkToNat) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -34923,6 +40030,12 @@ func (o RouterNatSubnetworkToNatArrayOutput) ToRouterNatSubnetworkToNatArrayOutp return o } +func (o RouterNatSubnetworkToNatArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNat] { + return pulumix.Output[[]RouterNatSubnetworkToNat]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatArrayOutput) Index(i pulumi.IntInput) RouterNatSubnetworkToNatOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatSubnetworkToNat { return vs[0].([]RouterNatSubnetworkToNat)[vs[1].(int)] @@ -34954,6 +40067,12 @@ func (o RouterNatSubnetworkToNatResponseOutput) ToRouterNatSubnetworkToNatRespon return o } +func (o RouterNatSubnetworkToNatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterNatSubnetworkToNatResponse] { + return pulumix.Output[RouterNatSubnetworkToNatResponse]{ + OutputState: o.OutputState, + } +} + // URL for the subnetwork resource that will use NAT. func (o RouterNatSubnetworkToNatResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v RouterNatSubnetworkToNatResponse) string { return v.Name }).(pulumi.StringOutput) @@ -34983,6 +40102,12 @@ func (o RouterNatSubnetworkToNatResponseArrayOutput) ToRouterNatSubnetworkToNatR return o } +func (o RouterNatSubnetworkToNatResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterNatSubnetworkToNatResponse] { + return pulumix.Output[[]RouterNatSubnetworkToNatResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterNatSubnetworkToNatResponseArrayOutput) Index(i pulumi.IntInput) RouterNatSubnetworkToNatResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterNatSubnetworkToNatResponse { return vs[0].([]RouterNatSubnetworkToNatResponse)[vs[1].(int)] @@ -35048,6 +40173,12 @@ func (i RuleArgs) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return pulumi.ToOutputWithContext(ctx, i).(RuleOutput) } +func (i RuleArgs) ToOutput(ctx context.Context) pulumix.Output[Rule] { + return pulumix.Output[Rule]{ + OutputState: i.ToRuleOutputWithContext(ctx).OutputState, + } +} + // RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. // You can construct a concrete instance of `RuleArrayInput` via: // @@ -35073,6 +40204,12 @@ func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOu return pulumi.ToOutputWithContext(ctx, i).(RuleArrayOutput) } +func (i RuleArray) ToOutput(ctx context.Context) pulumix.Output[[]Rule] { + return pulumix.Output[[]Rule]{ + OutputState: i.ToRuleArrayOutputWithContext(ctx).OutputState, + } +} + // This is deprecated and has no effect. Do not use. type RuleOutput struct{ *pulumi.OutputState } @@ -35088,6 +40225,12 @@ func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return o } +func (o RuleOutput) ToOutput(ctx context.Context) pulumix.Output[Rule] { + return pulumix.Output[Rule]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o RuleOutput) Action() RuleActionPtrOutput { return o.ApplyT(func(v Rule) *RuleAction { return v.Action }).(RuleActionPtrOutput) @@ -35137,6 +40280,12 @@ func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleA return o } +func (o RuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Rule] { + return pulumix.Output[[]Rule]{ + OutputState: o.OutputState, + } +} + func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Rule { return vs[0].([]Rule)[vs[1].(int)] @@ -35176,6 +40325,12 @@ func (o RuleResponseOutput) ToRuleResponseOutputWithContext(ctx context.Context) return o } +func (o RuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuleResponse] { + return pulumix.Output[RuleResponse]{ + OutputState: o.OutputState, + } +} + // This is deprecated and has no effect. Do not use. func (o RuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v RuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -35225,6 +40380,12 @@ func (o RuleResponseArrayOutput) ToRuleResponseArrayOutputWithContext(ctx contex return o } +func (o RuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleResponse] { + return pulumix.Output[[]RuleResponse]{ + OutputState: o.OutputState, + } +} + func (o RuleResponseArrayOutput) Index(i pulumi.IntInput) RuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RuleResponse { return vs[0].([]RuleResponse)[vs[1].(int)] @@ -35284,6 +40445,12 @@ func (i SSLHealthCheckArgs) ToSSLHealthCheckOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SSLHealthCheckOutput) } +func (i SSLHealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheck] { + return pulumix.Output[SSLHealthCheck]{ + OutputState: i.ToSSLHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i SSLHealthCheckArgs) ToSSLHealthCheckPtrOutput() SSLHealthCheckPtrOutput { return i.ToSSLHealthCheckPtrOutputWithContext(context.Background()) } @@ -35325,6 +40492,12 @@ func (i *sslhealthCheckPtrType) ToSSLHealthCheckPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SSLHealthCheckPtrOutput) } +func (i *sslhealthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheck] { + return pulumix.Output[*SSLHealthCheck]{ + OutputState: i.ToSSLHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type SSLHealthCheckOutput struct{ *pulumi.OutputState } func (SSLHealthCheckOutput) ElementType() reflect.Type { @@ -35349,6 +40522,12 @@ func (o SSLHealthCheckOutput) ToSSLHealthCheckPtrOutputWithContext(ctx context.C }).(SSLHealthCheckPtrOutput) } +func (o SSLHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheck] { + return pulumix.Output[SSLHealthCheck]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535. func (o SSLHealthCheckOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v SSLHealthCheck) *int { return v.Port }).(pulumi.IntPtrOutput) @@ -35393,6 +40572,12 @@ func (o SSLHealthCheckPtrOutput) ToSSLHealthCheckPtrOutputWithContext(ctx contex return o } +func (o SSLHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SSLHealthCheck] { + return pulumix.Output[*SSLHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o SSLHealthCheckPtrOutput) Elem() SSLHealthCheckOutput { return o.ApplyT(func(v *SSLHealthCheck) SSLHealthCheck { if v != nil { @@ -35492,6 +40677,12 @@ func (o SSLHealthCheckResponseOutput) ToSSLHealthCheckResponseOutputWithContext( return o } +func (o SSLHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SSLHealthCheckResponse] { + return pulumix.Output[SSLHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535. func (o SSLHealthCheckResponseOutput) Port() pulumi.IntOutput { return o.ApplyT(func(v SSLHealthCheckResponse) int { return v.Port }).(pulumi.IntOutput) @@ -35573,6 +40764,12 @@ func (o SavedAttachedDiskResponseOutput) ToSavedAttachedDiskResponseOutputWithCo return o } +func (o SavedAttachedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SavedAttachedDiskResponse] { + return pulumix.Output[SavedAttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o SavedAttachedDiskResponseOutput) AutoDelete() pulumi.BoolOutput { return o.ApplyT(func(v SavedAttachedDiskResponse) bool { return v.AutoDelete }).(pulumi.BoolOutput) @@ -35667,6 +40864,12 @@ func (o SavedAttachedDiskResponseArrayOutput) ToSavedAttachedDiskResponseArrayOu return o } +func (o SavedAttachedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SavedAttachedDiskResponse] { + return pulumix.Output[[]SavedAttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o SavedAttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) SavedAttachedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SavedAttachedDiskResponse { return vs[0].([]SavedAttachedDiskResponse)[vs[1].(int)] @@ -35708,6 +40911,12 @@ func (i SavedDiskArgs) ToSavedDiskOutputWithContext(ctx context.Context) SavedDi return pulumi.ToOutputWithContext(ctx, i).(SavedDiskOutput) } +func (i SavedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[SavedDisk] { + return pulumix.Output[SavedDisk]{ + OutputState: i.ToSavedDiskOutputWithContext(ctx).OutputState, + } +} + // SavedDiskArrayInput is an input type that accepts SavedDiskArray and SavedDiskArrayOutput values. // You can construct a concrete instance of `SavedDiskArrayInput` via: // @@ -35733,6 +40942,12 @@ func (i SavedDiskArray) ToSavedDiskArrayOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SavedDiskArrayOutput) } +func (i SavedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]SavedDisk] { + return pulumix.Output[[]SavedDisk]{ + OutputState: i.ToSavedDiskArrayOutputWithContext(ctx).OutputState, + } +} + // An instance-attached disk resource. type SavedDiskOutput struct{ *pulumi.OutputState } @@ -35748,6 +40963,12 @@ func (o SavedDiskOutput) ToSavedDiskOutputWithContext(ctx context.Context) Saved return o } +func (o SavedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[SavedDisk] { + return pulumix.Output[SavedDisk]{ + OutputState: o.OutputState, + } +} + // Specifies a URL of the disk attached to the source instance. func (o SavedDiskOutput) SourceDisk() pulumi.StringPtrOutput { return o.ApplyT(func(v SavedDisk) *string { return v.SourceDisk }).(pulumi.StringPtrOutput) @@ -35767,6 +40988,12 @@ func (o SavedDiskArrayOutput) ToSavedDiskArrayOutputWithContext(ctx context.Cont return o } +func (o SavedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SavedDisk] { + return pulumix.Output[[]SavedDisk]{ + OutputState: o.OutputState, + } +} + func (o SavedDiskArrayOutput) Index(i pulumi.IntInput) SavedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SavedDisk { return vs[0].([]SavedDisk)[vs[1].(int)] @@ -35802,6 +41029,12 @@ func (o SavedDiskResponseOutput) ToSavedDiskResponseOutputWithContext(ctx contex return o } +func (o SavedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SavedDiskResponse] { + return pulumix.Output[SavedDiskResponse]{ + OutputState: o.OutputState, + } +} + // The architecture of the attached disk. func (o SavedDiskResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v SavedDiskResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -35841,6 +41074,12 @@ func (o SavedDiskResponseArrayOutput) ToSavedDiskResponseArrayOutputWithContext( return o } +func (o SavedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SavedDiskResponse] { + return pulumix.Output[[]SavedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o SavedDiskResponseArrayOutput) Index(i pulumi.IntInput) SavedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SavedDiskResponse { return vs[0].([]SavedDiskResponse)[vs[1].(int)] @@ -35910,6 +41149,12 @@ func (i SchedulingArgs) ToSchedulingOutputWithContext(ctx context.Context) Sched return pulumi.ToOutputWithContext(ctx, i).(SchedulingOutput) } +func (i SchedulingArgs) ToOutput(ctx context.Context) pulumix.Output[Scheduling] { + return pulumix.Output[Scheduling]{ + OutputState: i.ToSchedulingOutputWithContext(ctx).OutputState, + } +} + func (i SchedulingArgs) ToSchedulingPtrOutput() SchedulingPtrOutput { return i.ToSchedulingPtrOutputWithContext(context.Background()) } @@ -35951,6 +41196,12 @@ func (i *schedulingPtrType) ToSchedulingPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SchedulingPtrOutput) } +func (i *schedulingPtrType) ToOutput(ctx context.Context) pulumix.Output[*Scheduling] { + return pulumix.Output[*Scheduling]{ + OutputState: i.ToSchedulingPtrOutputWithContext(ctx).OutputState, + } +} + // Sets the scheduling options for an Instance. type SchedulingOutput struct{ *pulumi.OutputState } @@ -35976,6 +41227,12 @@ func (o SchedulingOutput) ToSchedulingPtrOutputWithContext(ctx context.Context) }).(SchedulingPtrOutput) } +func (o SchedulingOutput) ToOutput(ctx context.Context) pulumix.Output[Scheduling] { + return pulumix.Output[Scheduling]{ + OutputState: o.OutputState, + } +} + // Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. func (o SchedulingOutput) AutomaticRestart() pulumi.BoolPtrOutput { return o.ApplyT(func(v Scheduling) *bool { return v.AutomaticRestart }).(pulumi.BoolPtrOutput) @@ -36030,6 +41287,12 @@ func (o SchedulingPtrOutput) ToSchedulingPtrOutputWithContext(ctx context.Contex return o } +func (o SchedulingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Scheduling] { + return pulumix.Output[*Scheduling]{ + OutputState: o.OutputState, + } +} + func (o SchedulingPtrOutput) Elem() SchedulingOutput { return o.ApplyT(func(v *Scheduling) Scheduling { if v != nil { @@ -36163,6 +41426,12 @@ func (i SchedulingNodeAffinityArgs) ToSchedulingNodeAffinityOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SchedulingNodeAffinityOutput) } +func (i SchedulingNodeAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinity] { + return pulumix.Output[SchedulingNodeAffinity]{ + OutputState: i.ToSchedulingNodeAffinityOutputWithContext(ctx).OutputState, + } +} + // SchedulingNodeAffinityArrayInput is an input type that accepts SchedulingNodeAffinityArray and SchedulingNodeAffinityArrayOutput values. // You can construct a concrete instance of `SchedulingNodeAffinityArrayInput` via: // @@ -36188,6 +41457,12 @@ func (i SchedulingNodeAffinityArray) ToSchedulingNodeAffinityArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SchedulingNodeAffinityArrayOutput) } +func (i SchedulingNodeAffinityArray) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinity] { + return pulumix.Output[[]SchedulingNodeAffinity]{ + OutputState: i.ToSchedulingNodeAffinityArrayOutputWithContext(ctx).OutputState, + } +} + // Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. type SchedulingNodeAffinityOutput struct{ *pulumi.OutputState } @@ -36203,6 +41478,12 @@ func (o SchedulingNodeAffinityOutput) ToSchedulingNodeAffinityOutputWithContext( return o } +func (o SchedulingNodeAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinity] { + return pulumix.Output[SchedulingNodeAffinity]{ + OutputState: o.OutputState, + } +} + // Corresponds to the label key of Node resource. func (o SchedulingNodeAffinityOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v SchedulingNodeAffinity) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -36232,6 +41513,12 @@ func (o SchedulingNodeAffinityArrayOutput) ToSchedulingNodeAffinityArrayOutputWi return o } +func (o SchedulingNodeAffinityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinity] { + return pulumix.Output[[]SchedulingNodeAffinity]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityArrayOutput) Index(i pulumi.IntInput) SchedulingNodeAffinityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchedulingNodeAffinity { return vs[0].([]SchedulingNodeAffinity)[vs[1].(int)] @@ -36263,6 +41550,12 @@ func (o SchedulingNodeAffinityResponseOutput) ToSchedulingNodeAffinityResponseOu return o } +func (o SchedulingNodeAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinityResponse] { + return pulumix.Output[SchedulingNodeAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Corresponds to the label key of Node resource. func (o SchedulingNodeAffinityResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SchedulingNodeAffinityResponse) string { return v.Key }).(pulumi.StringOutput) @@ -36292,6 +41585,12 @@ func (o SchedulingNodeAffinityResponseArrayOutput) ToSchedulingNodeAffinityRespo return o } +func (o SchedulingNodeAffinityResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinityResponse] { + return pulumix.Output[[]SchedulingNodeAffinityResponse]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityResponseArrayOutput) Index(i pulumi.IntInput) SchedulingNodeAffinityResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchedulingNodeAffinityResponse { return vs[0].([]SchedulingNodeAffinityResponse)[vs[1].(int)] @@ -36333,6 +41632,12 @@ func (o SchedulingResponseOutput) ToSchedulingResponseOutputWithContext(ctx cont return o } +func (o SchedulingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingResponse] { + return pulumix.Output[SchedulingResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. func (o SchedulingResponseOutput) AutomaticRestart() pulumi.BoolOutput { return o.ApplyT(func(v SchedulingResponse) bool { return v.AutomaticRestart }).(pulumi.BoolOutput) @@ -36408,6 +41713,12 @@ func (i SecurityPolicyAdaptiveProtectionConfigArgs) ToSecurityPolicyAdaptiveProt return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigOutput) } +func (i SecurityPolicyAdaptiveProtectionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdaptiveProtectionConfigArgs) ToSecurityPolicyAdaptiveProtectionConfigPtrOutput() SecurityPolicyAdaptiveProtectionConfigPtrOutput { return i.ToSecurityPolicyAdaptiveProtectionConfigPtrOutputWithContext(context.Background()) } @@ -36449,6 +41760,12 @@ func (i *securityPolicyAdaptiveProtectionConfigPtrType) ToSecurityPolicyAdaptive return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigPtrOutput) } +func (i *securityPolicyAdaptiveProtectionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for Cloud Armor Adaptive Protection (CAAP). type SecurityPolicyAdaptiveProtectionConfigOutput struct{ *pulumi.OutputState } @@ -36474,6 +41791,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigOutput) ToSecurityPolicyAdaptivePr }).(SecurityPolicyAdaptiveProtectionConfigPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: o.OutputState, + } +} + // If set to true, enables Cloud Armor Machine Learning. func (o SecurityPolicyAdaptiveProtectionConfigOutput) Layer7DdosDefenseConfig() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfig) *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig { @@ -36495,6 +41818,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigPtrOutput) ToSecurityPolicyAdaptiv return o } +func (o SecurityPolicyAdaptiveProtectionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfig) SecurityPolicyAdaptiveProtectionConfig { if v != nil { @@ -36554,6 +41883,12 @@ func (i SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs) ToSec return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) } +func (i SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs) ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput { return i.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutputWithContext(context.Background()) } @@ -36595,6 +41930,12 @@ func (i *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrType) T return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) } +func (i *securityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: i.ToSecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. type SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput struct{ *pulumi.OutputState } @@ -36620,6 +41961,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) ToS }).(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: o.OutputState, + } +} + // If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput) Enable() pulumi.BoolPtrOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) *bool { return v.Enable }).(pulumi.BoolPtrOutput) @@ -36646,6 +41993,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) return o } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] { + return pulumix.Output[*SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigPtrOutput) Elem() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig) SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig { if v != nil { @@ -36699,6 +42052,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseOut return o } +func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseOutput) Enable() pulumi.BoolOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse) bool { return v.Enable }).(pulumi.BoolOutput) @@ -36732,6 +42091,12 @@ func (o SecurityPolicyAdaptiveProtectionConfigResponseOutput) ToSecurityPolicyAd return o } +func (o SecurityPolicyAdaptiveProtectionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdaptiveProtectionConfigResponse] { + return pulumix.Output[SecurityPolicyAdaptiveProtectionConfigResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, enables Cloud Armor Machine Learning. func (o SecurityPolicyAdaptiveProtectionConfigResponseOutput) Layer7DdosDefenseConfig() SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponseOutput { return o.ApplyT(func(v SecurityPolicyAdaptiveProtectionConfigResponse) SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigResponse { @@ -36776,6 +42141,12 @@ func (i SecurityPolicyAdvancedOptionsConfigArgs) ToSecurityPolicyAdvancedOptions return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigOutput) } +func (i SecurityPolicyAdvancedOptionsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdvancedOptionsConfigArgs) ToSecurityPolicyAdvancedOptionsConfigPtrOutput() SecurityPolicyAdvancedOptionsConfigPtrOutput { return i.ToSecurityPolicyAdvancedOptionsConfigPtrOutputWithContext(context.Background()) } @@ -36817,6 +42188,12 @@ func (i *securityPolicyAdvancedOptionsConfigPtrType) ToSecurityPolicyAdvancedOpt return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigPtrOutput) } +func (i *securityPolicyAdvancedOptionsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyAdvancedOptionsConfigOutput) ElementType() reflect.Type { @@ -36841,6 +42218,12 @@ func (o SecurityPolicyAdvancedOptionsConfigOutput) ToSecurityPolicyAdvancedOptio }).(SecurityPolicyAdvancedOptionsConfigPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfig]{ + OutputState: o.OutputState, + } +} + // Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD. func (o SecurityPolicyAdvancedOptionsConfigOutput) JsonCustomConfig() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfig) *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig { @@ -36874,6 +42257,12 @@ func (o SecurityPolicyAdvancedOptionsConfigPtrOutput) ToSecurityPolicyAdvancedOp return o } +func (o SecurityPolicyAdvancedOptionsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfig) SecurityPolicyAdvancedOptionsConfig { if v != nil { @@ -36945,6 +42334,12 @@ func (i SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs) ToSecurityPolic return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) } +func (i SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyAdvancedOptionsConfigJsonCustomConfigArgs) ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput { return i.ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutputWithContext(context.Background()) } @@ -36986,6 +42381,12 @@ func (i *securityPolicyAdvancedOptionsConfigJsonCustomConfigPtrType) ToSecurityP return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) } +func (i *securityPolicyAdvancedOptionsConfigJsonCustomConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: i.ToSecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ElementType() reflect.Type { @@ -37010,6 +42411,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ToSecurityPol }).(SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) } +func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: o.OutputState, + } +} + // A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded. func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput) ContentTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) []string { return v.ContentTypes }).(pulumi.StringArrayOutput) @@ -37029,6 +42436,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) ToSecurity return o } +func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig] { + return pulumix.Output[*SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigPtrOutput) Elem() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOutput { return o.ApplyT(func(v *SecurityPolicyAdvancedOptionsConfigJsonCustomConfig) SecurityPolicyAdvancedOptionsConfigJsonCustomConfig { if v != nil { @@ -37068,6 +42481,12 @@ func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput) ToSec return o } +func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded. func (o SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput) ContentTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse) []string { return v.ContentTypes }).(pulumi.StringArrayOutput) @@ -37094,6 +42513,12 @@ func (o SecurityPolicyAdvancedOptionsConfigResponseOutput) ToSecurityPolicyAdvan return o } +func (o SecurityPolicyAdvancedOptionsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyAdvancedOptionsConfigResponse] { + return pulumix.Output[SecurityPolicyAdvancedOptionsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD. func (o SecurityPolicyAdvancedOptionsConfigResponseOutput) JsonCustomConfig() SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponseOutput { return o.ApplyT(func(v SecurityPolicyAdvancedOptionsConfigResponse) SecurityPolicyAdvancedOptionsConfigJsonCustomConfigResponse { @@ -37140,6 +42565,12 @@ func (i SecurityPolicyDdosProtectionConfigArgs) ToSecurityPolicyDdosProtectionCo return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyDdosProtectionConfigOutput) } +func (i SecurityPolicyDdosProtectionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[SecurityPolicyDdosProtectionConfig]{ + OutputState: i.ToSecurityPolicyDdosProtectionConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyDdosProtectionConfigArgs) ToSecurityPolicyDdosProtectionConfigPtrOutput() SecurityPolicyDdosProtectionConfigPtrOutput { return i.ToSecurityPolicyDdosProtectionConfigPtrOutputWithContext(context.Background()) } @@ -37181,6 +42612,12 @@ func (i *securityPolicyDdosProtectionConfigPtrType) ToSecurityPolicyDdosProtecti return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyDdosProtectionConfigPtrOutput) } +func (i *securityPolicyDdosProtectionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfig]{ + OutputState: i.ToSecurityPolicyDdosProtectionConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyDdosProtectionConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyDdosProtectionConfigOutput) ElementType() reflect.Type { @@ -37205,6 +42642,12 @@ func (o SecurityPolicyDdosProtectionConfigOutput) ToSecurityPolicyDdosProtection }).(SecurityPolicyDdosProtectionConfigPtrOutput) } +func (o SecurityPolicyDdosProtectionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[SecurityPolicyDdosProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigOutput) DdosProtection() SecurityPolicyDdosProtectionConfigDdosProtectionPtrOutput { return o.ApplyT(func(v SecurityPolicyDdosProtectionConfig) *SecurityPolicyDdosProtectionConfigDdosProtection { return v.DdosProtection @@ -37225,6 +42668,12 @@ func (o SecurityPolicyDdosProtectionConfigPtrOutput) ToSecurityPolicyDdosProtect return o } +func (o SecurityPolicyDdosProtectionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyDdosProtectionConfig] { + return pulumix.Output[*SecurityPolicyDdosProtectionConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigPtrOutput) Elem() SecurityPolicyDdosProtectionConfigOutput { return o.ApplyT(func(v *SecurityPolicyDdosProtectionConfig) SecurityPolicyDdosProtectionConfig { if v != nil { @@ -37262,6 +42711,12 @@ func (o SecurityPolicyDdosProtectionConfigResponseOutput) ToSecurityPolicyDdosPr return o } +func (o SecurityPolicyDdosProtectionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyDdosProtectionConfigResponse] { + return pulumix.Output[SecurityPolicyDdosProtectionConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyDdosProtectionConfigResponseOutput) DdosProtection() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyDdosProtectionConfigResponse) string { return v.DdosProtection }).(pulumi.StringOutput) } @@ -37299,6 +42754,12 @@ func (i SecurityPolicyRecaptchaOptionsConfigArgs) ToSecurityPolicyRecaptchaOptio return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRecaptchaOptionsConfigOutput) } +func (i SecurityPolicyRecaptchaOptionsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: i.ToSecurityPolicyRecaptchaOptionsConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRecaptchaOptionsConfigArgs) ToSecurityPolicyRecaptchaOptionsConfigPtrOutput() SecurityPolicyRecaptchaOptionsConfigPtrOutput { return i.ToSecurityPolicyRecaptchaOptionsConfigPtrOutputWithContext(context.Background()) } @@ -37340,6 +42801,12 @@ func (i *securityPolicyRecaptchaOptionsConfigPtrType) ToSecurityPolicyRecaptchaO return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRecaptchaOptionsConfigPtrOutput) } +func (i *securityPolicyRecaptchaOptionsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: i.ToSecurityPolicyRecaptchaOptionsConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRecaptchaOptionsConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRecaptchaOptionsConfigOutput) ElementType() reflect.Type { @@ -37364,6 +42831,12 @@ func (o SecurityPolicyRecaptchaOptionsConfigOutput) ToSecurityPolicyRecaptchaOpt }).(SecurityPolicyRecaptchaOptionsConfigPtrOutput) } +func (o SecurityPolicyRecaptchaOptionsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: o.OutputState, + } +} + // An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyRecaptchaOptionsConfigOutput) RedirectSiteKey() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRecaptchaOptionsConfig) *string { return v.RedirectSiteKey }).(pulumi.StringPtrOutput) @@ -37383,6 +42856,12 @@ func (o SecurityPolicyRecaptchaOptionsConfigPtrOutput) ToSecurityPolicyRecaptcha return o } +func (o SecurityPolicyRecaptchaOptionsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig] { + return pulumix.Output[*SecurityPolicyRecaptchaOptionsConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRecaptchaOptionsConfigPtrOutput) Elem() SecurityPolicyRecaptchaOptionsConfigOutput { return o.ApplyT(func(v *SecurityPolicyRecaptchaOptionsConfig) SecurityPolicyRecaptchaOptionsConfig { if v != nil { @@ -37422,6 +42901,12 @@ func (o SecurityPolicyRecaptchaOptionsConfigResponseOutput) ToSecurityPolicyReca return o } +func (o SecurityPolicyRecaptchaOptionsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRecaptchaOptionsConfigResponse] { + return pulumix.Output[SecurityPolicyRecaptchaOptionsConfigResponse]{ + OutputState: o.OutputState, + } +} + // An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR. func (o SecurityPolicyRecaptchaOptionsConfigResponseOutput) RedirectSiteKey() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRecaptchaOptionsConfigResponse) string { return v.RedirectSiteKey }).(pulumi.StringOutput) @@ -37494,6 +42979,12 @@ func (i SecurityPolicyRuleArgs) ToSecurityPolicyRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleOutput) } +func (i SecurityPolicyRuleArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRule] { + return pulumix.Output[SecurityPolicyRule]{ + OutputState: i.ToSecurityPolicyRuleOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleArrayInput is an input type that accepts SecurityPolicyRuleArray and SecurityPolicyRuleArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleArrayInput` via: // @@ -37519,6 +43010,12 @@ func (i SecurityPolicyRuleArray) ToSecurityPolicyRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleArrayOutput) } +func (i SecurityPolicyRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRule] { + return pulumix.Output[[]SecurityPolicyRule]{ + OutputState: i.ToSecurityPolicyRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). type SecurityPolicyRuleOutput struct{ *pulumi.OutputState } @@ -37534,6 +43031,12 @@ func (o SecurityPolicyRuleOutput) ToSecurityPolicyRuleOutputWithContext(ctx cont return o } +func (o SecurityPolicyRuleOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRule] { + return pulumix.Output[SecurityPolicyRule]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. func (o SecurityPolicyRuleOutput) Action() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRule) *string { return v.Action }).(pulumi.StringPtrOutput) @@ -37593,6 +43096,12 @@ func (o SecurityPolicyRuleArrayOutput) ToSecurityPolicyRuleArrayOutputWithContex return o } +func (o SecurityPolicyRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRule] { + return pulumix.Output[[]SecurityPolicyRule]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRule { return vs[0].([]SecurityPolicyRule)[vs[1].(int)] @@ -37632,6 +43141,12 @@ func (i SecurityPolicyRuleHttpHeaderActionArgs) ToSecurityPolicyRuleHttpHeaderAc return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionOutput) } +func (i SecurityPolicyRuleHttpHeaderActionArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderAction]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleHttpHeaderActionArgs) ToSecurityPolicyRuleHttpHeaderActionPtrOutput() SecurityPolicyRuleHttpHeaderActionPtrOutput { return i.ToSecurityPolicyRuleHttpHeaderActionPtrOutputWithContext(context.Background()) } @@ -37673,6 +43188,12 @@ func (i *securityPolicyRuleHttpHeaderActionPtrType) ToSecurityPolicyRuleHttpHead return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionPtrOutput) } +func (i *securityPolicyRuleHttpHeaderActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[*SecurityPolicyRuleHttpHeaderAction]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleHttpHeaderActionOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleHttpHeaderActionOutput) ElementType() reflect.Type { @@ -37697,6 +43218,12 @@ func (o SecurityPolicyRuleHttpHeaderActionOutput) ToSecurityPolicyRuleHttpHeader }).(SecurityPolicyRuleHttpHeaderActionPtrOutput) } +func (o SecurityPolicyRuleHttpHeaderActionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderAction]{ + OutputState: o.OutputState, + } +} + // The list of request headers to add or overwrite if they're already present. func (o SecurityPolicyRuleHttpHeaderActionOutput) RequestHeadersToAdds() SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderAction) []SecurityPolicyRuleHttpHeaderActionHttpHeaderOption { @@ -37718,6 +43245,12 @@ func (o SecurityPolicyRuleHttpHeaderActionPtrOutput) ToSecurityPolicyRuleHttpHea return o } +func (o SecurityPolicyRuleHttpHeaderActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleHttpHeaderAction] { + return pulumix.Output[*SecurityPolicyRuleHttpHeaderAction]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleHttpHeaderActionPtrOutput) Elem() SecurityPolicyRuleHttpHeaderActionOutput { return o.ApplyT(func(v *SecurityPolicyRuleHttpHeaderAction) SecurityPolicyRuleHttpHeaderAction { if v != nil { @@ -37775,6 +43308,12 @@ func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs) ToSecurityPolicy return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) } +func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayInput is an input type that accepts SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArray and SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayInput` via: // @@ -37800,6 +43339,12 @@ func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArray) ToSecurityPolic return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) } +func (i SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: i.ToSecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) ElementType() reflect.Type { @@ -37814,6 +43359,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) ToSecurityPoli return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: o.OutputState, + } +} + // The name of the header to set. func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput) HeaderName() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderActionHttpHeaderOption) *string { return v.HeaderName }).(pulumi.StringPtrOutput) @@ -37838,6 +43389,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) ToSecurit return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption] { + return pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleHttpHeaderActionHttpHeaderOption { return vs[0].([]SecurityPolicyRuleHttpHeaderActionHttpHeaderOption)[vs[1].(int)] @@ -37865,6 +43422,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput) ToSecu return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the header to set. func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -37889,6 +43452,12 @@ func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput) T return o } +func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse] { + return pulumix.Output[[]SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse { return vs[0].([]SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse)[vs[1].(int)] @@ -37914,6 +43483,12 @@ func (o SecurityPolicyRuleHttpHeaderActionResponseOutput) ToSecurityPolicyRuleHt return o } +func (o SecurityPolicyRuleHttpHeaderActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleHttpHeaderActionResponse] { + return pulumix.Output[SecurityPolicyRuleHttpHeaderActionResponse]{ + OutputState: o.OutputState, + } +} + // The list of request headers to add or overwrite if they're already present. func (o SecurityPolicyRuleHttpHeaderActionResponseOutput) RequestHeadersToAdds() SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponseArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleHttpHeaderActionResponse) []SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionResponse { @@ -37964,6 +43539,12 @@ func (i SecurityPolicyRuleMatcherArgs) ToSecurityPolicyRuleMatcherOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherOutput) } +func (i SecurityPolicyRuleMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcher] { + return pulumix.Output[SecurityPolicyRuleMatcher]{ + OutputState: i.ToSecurityPolicyRuleMatcherOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleMatcherArgs) ToSecurityPolicyRuleMatcherPtrOutput() SecurityPolicyRuleMatcherPtrOutput { return i.ToSecurityPolicyRuleMatcherPtrOutputWithContext(context.Background()) } @@ -38005,6 +43586,12 @@ func (i *securityPolicyRuleMatcherPtrType) ToSecurityPolicyRuleMatcherPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherPtrOutput) } +func (i *securityPolicyRuleMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcher] { + return pulumix.Output[*SecurityPolicyRuleMatcher]{ + OutputState: i.ToSecurityPolicyRuleMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. type SecurityPolicyRuleMatcherOutput struct{ *pulumi.OutputState } @@ -38030,6 +43617,12 @@ func (o SecurityPolicyRuleMatcherOutput) ToSecurityPolicyRuleMatcherPtrOutputWit }).(SecurityPolicyRuleMatcherPtrOutput) } +func (o SecurityPolicyRuleMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcher] { + return pulumix.Output[SecurityPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + // The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. func (o SecurityPolicyRuleMatcherOutput) Config() SecurityPolicyRuleMatcherConfigPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcher) *SecurityPolicyRuleMatcherConfig { return v.Config }).(SecurityPolicyRuleMatcherConfigPtrOutput) @@ -38059,6 +43652,12 @@ func (o SecurityPolicyRuleMatcherPtrOutput) ToSecurityPolicyRuleMatcherPtrOutput return o } +func (o SecurityPolicyRuleMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcher] { + return pulumix.Output[*SecurityPolicyRuleMatcher]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherPtrOutput) Elem() SecurityPolicyRuleMatcherOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcher) SecurityPolicyRuleMatcher { if v != nil { @@ -38132,6 +43731,12 @@ func (i SecurityPolicyRuleMatcherConfigArgs) ToSecurityPolicyRuleMatcherConfigOu return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigOutput) } +func (i SecurityPolicyRuleMatcherConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[SecurityPolicyRuleMatcherConfig]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleMatcherConfigArgs) ToSecurityPolicyRuleMatcherConfigPtrOutput() SecurityPolicyRuleMatcherConfigPtrOutput { return i.ToSecurityPolicyRuleMatcherConfigPtrOutputWithContext(context.Background()) } @@ -38173,6 +43778,12 @@ func (i *securityPolicyRuleMatcherConfigPtrType) ToSecurityPolicyRuleMatcherConf return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleMatcherConfigPtrOutput) } +func (i *securityPolicyRuleMatcherConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[*SecurityPolicyRuleMatcherConfig]{ + OutputState: i.ToSecurityPolicyRuleMatcherConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleMatcherConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleMatcherConfigOutput) ElementType() reflect.Type { @@ -38197,6 +43808,12 @@ func (o SecurityPolicyRuleMatcherConfigOutput) ToSecurityPolicyRuleMatcherConfig }).(SecurityPolicyRuleMatcherConfigPtrOutput) } +func (o SecurityPolicyRuleMatcherConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[SecurityPolicyRuleMatcherConfig]{ + OutputState: o.OutputState, + } +} + // CIDR IP address range. Maximum number of src_ip_ranges allowed is 10. func (o SecurityPolicyRuleMatcherConfigOutput) SrcIpRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfig) []string { return v.SrcIpRanges }).(pulumi.StringArrayOutput) @@ -38216,6 +43833,12 @@ func (o SecurityPolicyRuleMatcherConfigPtrOutput) ToSecurityPolicyRuleMatcherCon return o } +func (o SecurityPolicyRuleMatcherConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleMatcherConfig] { + return pulumix.Output[*SecurityPolicyRuleMatcherConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleMatcherConfigPtrOutput) Elem() SecurityPolicyRuleMatcherConfigOutput { return o.ApplyT(func(v *SecurityPolicyRuleMatcherConfig) SecurityPolicyRuleMatcherConfig { if v != nil { @@ -38255,6 +43878,12 @@ func (o SecurityPolicyRuleMatcherConfigResponseOutput) ToSecurityPolicyRuleMatch return o } +func (o SecurityPolicyRuleMatcherConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherConfigResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherConfigResponse]{ + OutputState: o.OutputState, + } +} + // CIDR IP address range. Maximum number of src_ip_ranges allowed is 10. func (o SecurityPolicyRuleMatcherConfigResponseOutput) SrcIpRanges() pulumi.StringArrayOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherConfigResponse) []string { return v.SrcIpRanges }).(pulumi.StringArrayOutput) @@ -38285,6 +43914,12 @@ func (o SecurityPolicyRuleMatcherResponseOutput) ToSecurityPolicyRuleMatcherResp return o } +func (o SecurityPolicyRuleMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleMatcherResponse] { + return pulumix.Output[SecurityPolicyRuleMatcherResponse]{ + OutputState: o.OutputState, + } +} + // The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. func (o SecurityPolicyRuleMatcherResponseOutput) Config() SecurityPolicyRuleMatcherConfigResponseOutput { return o.ApplyT(func(v SecurityPolicyRuleMatcherResponse) SecurityPolicyRuleMatcherConfigResponse { return v.Config }).(SecurityPolicyRuleMatcherConfigResponseOutput) @@ -38333,6 +43968,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigArgs) ToSecurityPolicyRulePrecon return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRulePreconfiguredWafConfigArgs) ToSecurityPolicyRulePreconfiguredWafConfigPtrOutput() SecurityPolicyRulePreconfiguredWafConfigPtrOutput { return i.ToSecurityPolicyRulePreconfiguredWafConfigPtrOutputWithContext(context.Background()) } @@ -38374,6 +44015,12 @@ func (i *securityPolicyRulePreconfiguredWafConfigPtrType) ToSecurityPolicyRulePr return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigPtrOutput) } +func (i *securityPolicyRulePreconfiguredWafConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRulePreconfiguredWafConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRulePreconfiguredWafConfigOutput) ElementType() reflect.Type { @@ -38398,6 +44045,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigOutput) ToSecurityPolicyRulePrec }).(SecurityPolicyRulePreconfiguredWafConfigPtrOutput) } +func (o SecurityPolicyRulePreconfiguredWafConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: o.OutputState, + } +} + // A list of exclusions to apply during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigOutput) Exclusions() SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfig) []SecurityPolicyRulePreconfiguredWafConfigExclusion { @@ -38419,6 +44072,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigPtrOutput) ToSecurityPolicyRuleP return o } +func (o SecurityPolicyRulePreconfiguredWafConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig] { + return pulumix.Output[*SecurityPolicyRulePreconfiguredWafConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigPtrOutput) Elem() SecurityPolicyRulePreconfiguredWafConfigOutput { return o.ApplyT(func(v *SecurityPolicyRulePreconfiguredWafConfig) SecurityPolicyRulePreconfiguredWafConfig { if v != nil { @@ -38492,6 +44151,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArgs) ToSecurityPolicyR return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRulePreconfiguredWafConfigExclusionArrayInput is an input type that accepts SecurityPolicyRulePreconfiguredWafConfigExclusionArray and SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRulePreconfiguredWafConfigExclusionArrayInput` via: // @@ -38517,6 +44182,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArray) ToSecurityPolicy return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRulePreconfiguredWafConfigExclusionOutput struct{ *pulumi.OutputState } func (SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) ElementType() reflect.Type { @@ -38531,6 +44202,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) ToSecurityPolic return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: o.OutputState, + } +} + // A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionOutput) RequestCookiesToExclude() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusion) []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams { @@ -38583,6 +44260,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) ToSecurity return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusion]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusion { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusion)[vs[1].(int)] @@ -38626,6 +44309,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs) ToSecu return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayInput is an input type that accepts SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray and SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayInput` via: // @@ -38651,6 +44340,12 @@ func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray) ToSec return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) } +func (i SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: i.ToSecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) ElementType() reflect.Type { @@ -38665,6 +44360,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) ToSe return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: o.OutputState, + } +} + // The match operator for the field. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput) Op() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOpPtrOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams) *SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOp { @@ -38691,6 +44392,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams)[vs[1].(int)] @@ -38718,6 +44425,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutp return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse]{ + OutputState: o.OutputState, + } +} + // The match operator for the field. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutput) Op() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse) string { return v.Op }).(pulumi.StringOutput) @@ -38742,6 +44455,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArra return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse)[vs[1].(int)] @@ -38777,6 +44496,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput) ToSecur return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionResponse] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigExclusionResponse]{ + OutputState: o.OutputState, + } +} + // A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput) RequestCookiesToExclude() SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponseArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigExclusionResponse) []SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsResponse { @@ -38829,6 +44554,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput) To return o } +func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionResponse] { + return pulumix.Output[[]SecurityPolicyRulePreconfiguredWafConfigExclusionResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRulePreconfiguredWafConfigExclusionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRulePreconfiguredWafConfigExclusionResponse { return vs[0].([]SecurityPolicyRulePreconfiguredWafConfigExclusionResponse)[vs[1].(int)] @@ -38854,6 +44585,12 @@ func (o SecurityPolicyRulePreconfiguredWafConfigResponseOutput) ToSecurityPolicy return o } +func (o SecurityPolicyRulePreconfiguredWafConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigResponse] { + return pulumix.Output[SecurityPolicyRulePreconfiguredWafConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of exclusions to apply during preconfigured WAF evaluation. func (o SecurityPolicyRulePreconfiguredWafConfigResponseOutput) Exclusions() SecurityPolicyRulePreconfiguredWafConfigExclusionResponseArrayOutput { return o.ApplyT(func(v SecurityPolicyRulePreconfiguredWafConfigResponse) []SecurityPolicyRulePreconfiguredWafConfigExclusionResponse { @@ -38926,6 +44663,12 @@ func (i SecurityPolicyRuleRateLimitOptionsArgs) ToSecurityPolicyRuleRateLimitOpt return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsOutput) } +func (i SecurityPolicyRuleRateLimitOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptions]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleRateLimitOptionsArgs) ToSecurityPolicyRuleRateLimitOptionsPtrOutput() SecurityPolicyRuleRateLimitOptionsPtrOutput { return i.ToSecurityPolicyRuleRateLimitOptionsPtrOutputWithContext(context.Background()) } @@ -38967,6 +44710,12 @@ func (i *securityPolicyRuleRateLimitOptionsPtrType) ToSecurityPolicyRuleRateLimi return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsPtrOutput) } +func (i *securityPolicyRuleRateLimitOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptions]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRateLimitOptionsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRateLimitOptionsOutput) ElementType() reflect.Type { @@ -38991,6 +44740,12 @@ func (o SecurityPolicyRuleRateLimitOptionsOutput) ToSecurityPolicyRuleRateLimitO }).(SecurityPolicyRuleRateLimitOptionsPtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptions]{ + OutputState: o.OutputState, + } +} + // Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold. func (o SecurityPolicyRuleRateLimitOptionsOutput) BanDurationSec() pulumi.IntPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptions) *int { return v.BanDurationSec }).(pulumi.IntPtrOutput) @@ -39060,6 +44815,12 @@ func (o SecurityPolicyRuleRateLimitOptionsPtrOutput) ToSecurityPolicyRuleRateLim return o } +func (o SecurityPolicyRuleRateLimitOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptions] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptions]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsPtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptions) SecurityPolicyRuleRateLimitOptions { if v != nil { @@ -39197,6 +44958,12 @@ func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs) ToSecurityPoli return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) } +func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutputWithContext(ctx).OutputState, + } +} + // SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayInput is an input type that accepts SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArray and SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput values. // You can construct a concrete instance of `SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayInput` via: // @@ -39222,6 +44989,12 @@ func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArray) ToSecurityPol return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) } +func (i SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) ElementType() reflect.Type { @@ -39236,6 +45009,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) ToSecurityPo return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: o.OutputState, + } +} + // Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput) EnforceOnKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig) *string { return v.EnforceOnKeyName }).(pulumi.StringPtrOutput) @@ -39262,6 +45041,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) ToSecur return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig] { + return pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig { return vs[0].([]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig)[vs[1].(int)] @@ -39289,6 +45074,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput) ToSe return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput) EnforceOnKeyName() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse) string { return v.EnforceOnKeyName }).(pulumi.StringOutput) @@ -39313,6 +45104,12 @@ func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseArrayOutput) return o } +func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse] { + return pulumix.Output[[]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse { return vs[0].([]SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigResponse)[vs[1].(int)] @@ -39354,6 +45151,12 @@ func (o SecurityPolicyRuleRateLimitOptionsResponseOutput) ToSecurityPolicyRuleRa return o } +func (o SecurityPolicyRuleRateLimitOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsResponse] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold. func (o SecurityPolicyRuleRateLimitOptionsResponseOutput) BanDurationSec() pulumi.IntOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsResponse) int { return v.BanDurationSec }).(pulumi.IntOutput) @@ -39444,6 +45247,12 @@ func (i SecurityPolicyRuleRateLimitOptionsThresholdArgs) ToSecurityPolicyRuleRat return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsThresholdOutput) } +func (i SecurityPolicyRuleRateLimitOptionsThresholdArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsThresholdOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleRateLimitOptionsThresholdArgs) ToSecurityPolicyRuleRateLimitOptionsThresholdPtrOutput() SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput { return i.ToSecurityPolicyRuleRateLimitOptionsThresholdPtrOutputWithContext(context.Background()) } @@ -39485,6 +45294,12 @@ func (i *securityPolicyRuleRateLimitOptionsThresholdPtrType) ToSecurityPolicyRul return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) } +func (i *securityPolicyRuleRateLimitOptionsThresholdPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: i.ToSecurityPolicyRuleRateLimitOptionsThresholdPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRateLimitOptionsThresholdOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRateLimitOptionsThresholdOutput) ElementType() reflect.Type { @@ -39509,6 +45324,12 @@ func (o SecurityPolicyRuleRateLimitOptionsThresholdOutput) ToSecurityPolicyRuleR }).(SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) } +func (o SecurityPolicyRuleRateLimitOptionsThresholdOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: o.OutputState, + } +} + // Number of HTTP(S) requests for calculating the threshold. func (o SecurityPolicyRuleRateLimitOptionsThresholdOutput) Count() pulumi.IntPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsThreshold) *int { return v.Count }).(pulumi.IntPtrOutput) @@ -39533,6 +45354,12 @@ func (o SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) ToSecurityPolicyRu return o } +func (o SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold] { + return pulumix.Output[*SecurityPolicyRuleRateLimitOptionsThreshold]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRateLimitOptionsThresholdPtrOutput) Elem() SecurityPolicyRuleRateLimitOptionsThresholdOutput { return o.ApplyT(func(v *SecurityPolicyRuleRateLimitOptionsThreshold) SecurityPolicyRuleRateLimitOptionsThreshold { if v != nil { @@ -39584,6 +45411,12 @@ func (o SecurityPolicyRuleRateLimitOptionsThresholdResponseOutput) ToSecurityPol return o } +func (o SecurityPolicyRuleRateLimitOptionsThresholdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRateLimitOptionsThresholdResponse] { + return pulumix.Output[SecurityPolicyRuleRateLimitOptionsThresholdResponse]{ + OutputState: o.OutputState, + } +} + // Number of HTTP(S) requests for calculating the threshold. func (o SecurityPolicyRuleRateLimitOptionsThresholdResponseOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v SecurityPolicyRuleRateLimitOptionsThresholdResponse) int { return v.Count }).(pulumi.IntOutput) @@ -39631,6 +45464,12 @@ func (i SecurityPolicyRuleRedirectOptionsArgs) ToSecurityPolicyRuleRedirectOptio return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRedirectOptionsOutput) } +func (i SecurityPolicyRuleRedirectOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[SecurityPolicyRuleRedirectOptions]{ + OutputState: i.ToSecurityPolicyRuleRedirectOptionsOutputWithContext(ctx).OutputState, + } +} + func (i SecurityPolicyRuleRedirectOptionsArgs) ToSecurityPolicyRuleRedirectOptionsPtrOutput() SecurityPolicyRuleRedirectOptionsPtrOutput { return i.ToSecurityPolicyRuleRedirectOptionsPtrOutputWithContext(context.Background()) } @@ -39672,6 +45511,12 @@ func (i *securityPolicyRuleRedirectOptionsPtrType) ToSecurityPolicyRuleRedirectO return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyRuleRedirectOptionsPtrOutput) } +func (i *securityPolicyRuleRedirectOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptions]{ + OutputState: i.ToSecurityPolicyRuleRedirectOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyRuleRedirectOptionsOutput struct{ *pulumi.OutputState } func (SecurityPolicyRuleRedirectOptionsOutput) ElementType() reflect.Type { @@ -39696,6 +45541,12 @@ func (o SecurityPolicyRuleRedirectOptionsOutput) ToSecurityPolicyRuleRedirectOpt }).(SecurityPolicyRuleRedirectOptionsPtrOutput) } +func (o SecurityPolicyRuleRedirectOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[SecurityPolicyRuleRedirectOptions]{ + OutputState: o.OutputState, + } +} + // Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. func (o SecurityPolicyRuleRedirectOptionsOutput) Target() pulumi.StringPtrOutput { return o.ApplyT(func(v SecurityPolicyRuleRedirectOptions) *string { return v.Target }).(pulumi.StringPtrOutput) @@ -39720,6 +45571,12 @@ func (o SecurityPolicyRuleRedirectOptionsPtrOutput) ToSecurityPolicyRuleRedirect return o } +func (o SecurityPolicyRuleRedirectOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicyRuleRedirectOptions] { + return pulumix.Output[*SecurityPolicyRuleRedirectOptions]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleRedirectOptionsPtrOutput) Elem() SecurityPolicyRuleRedirectOptionsOutput { return o.ApplyT(func(v *SecurityPolicyRuleRedirectOptions) SecurityPolicyRuleRedirectOptions { if v != nil { @@ -39771,6 +45628,12 @@ func (o SecurityPolicyRuleRedirectOptionsResponseOutput) ToSecurityPolicyRuleRed return o } +func (o SecurityPolicyRuleRedirectOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleRedirectOptionsResponse] { + return pulumix.Output[SecurityPolicyRuleRedirectOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. func (o SecurityPolicyRuleRedirectOptionsResponseOutput) Target() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleRedirectOptionsResponse) string { return v.Target }).(pulumi.StringOutput) @@ -39820,6 +45683,12 @@ func (o SecurityPolicyRuleResponseOutput) ToSecurityPolicyRuleResponseOutputWith return o } +func (o SecurityPolicyRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityPolicyRuleResponse] { + return pulumix.Output[SecurityPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + // The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. func (o SecurityPolicyRuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v SecurityPolicyRuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -39888,6 +45757,12 @@ func (o SecurityPolicyRuleResponseArrayOutput) ToSecurityPolicyRuleResponseArray return o } +func (o SecurityPolicyRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecurityPolicyRuleResponse] { + return pulumix.Output[[]SecurityPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyRuleResponseArrayOutput) Index(i pulumi.IntInput) SecurityPolicyRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityPolicyRuleResponse { return vs[0].([]SecurityPolicyRuleResponse)[vs[1].(int)] @@ -39933,6 +45808,12 @@ func (i SecuritySettingsArgs) ToSecuritySettingsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecuritySettingsOutput) } +func (i SecuritySettingsArgs) ToOutput(ctx context.Context) pulumix.Output[SecuritySettings] { + return pulumix.Output[SecuritySettings]{ + OutputState: i.ToSecuritySettingsOutputWithContext(ctx).OutputState, + } +} + func (i SecuritySettingsArgs) ToSecuritySettingsPtrOutput() SecuritySettingsPtrOutput { return i.ToSecuritySettingsPtrOutputWithContext(context.Background()) } @@ -39974,6 +45855,12 @@ func (i *securitySettingsPtrType) ToSecuritySettingsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SecuritySettingsPtrOutput) } +func (i *securitySettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettings] { + return pulumix.Output[*SecuritySettings]{ + OutputState: i.ToSecuritySettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The authentication and authorization settings for a BackendService. type SecuritySettingsOutput struct{ *pulumi.OutputState } @@ -39999,6 +45886,12 @@ func (o SecuritySettingsOutput) ToSecuritySettingsPtrOutputWithContext(ctx conte }).(SecuritySettingsPtrOutput) } +func (o SecuritySettingsOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettings] { + return pulumix.Output[SecuritySettings]{ + OutputState: o.OutputState, + } +} + // Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact. func (o SecuritySettingsOutput) ClientTlsPolicy() pulumi.StringPtrOutput { return o.ApplyT(func(v SecuritySettings) *string { return v.ClientTlsPolicy }).(pulumi.StringPtrOutput) @@ -40023,6 +45916,12 @@ func (o SecuritySettingsPtrOutput) ToSecuritySettingsPtrOutputWithContext(ctx co return o } +func (o SecuritySettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettings] { + return pulumix.Output[*SecuritySettings]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingsPtrOutput) Elem() SecuritySettingsOutput { return o.ApplyT(func(v *SecuritySettings) SecuritySettings { if v != nil { @@ -40076,6 +45975,12 @@ func (o SecuritySettingsResponseOutput) ToSecuritySettingsResponseOutputWithCont return o } +func (o SecuritySettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettingsResponse] { + return pulumix.Output[SecuritySettingsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact. func (o SecuritySettingsResponseOutput) ClientTlsPolicy() pulumi.StringOutput { return o.ApplyT(func(v SecuritySettingsResponse) string { return v.ClientTlsPolicy }).(pulumi.StringOutput) @@ -40117,6 +46022,12 @@ func (i ServerBindingArgs) ToServerBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServerBindingOutput) } +func (i ServerBindingArgs) ToOutput(ctx context.Context) pulumix.Output[ServerBinding] { + return pulumix.Output[ServerBinding]{ + OutputState: i.ToServerBindingOutputWithContext(ctx).OutputState, + } +} + func (i ServerBindingArgs) ToServerBindingPtrOutput() ServerBindingPtrOutput { return i.ToServerBindingPtrOutputWithContext(context.Background()) } @@ -40158,6 +46069,12 @@ func (i *serverBindingPtrType) ToServerBindingPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ServerBindingPtrOutput) } +func (i *serverBindingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServerBinding] { + return pulumix.Output[*ServerBinding]{ + OutputState: i.ToServerBindingPtrOutputWithContext(ctx).OutputState, + } +} + type ServerBindingOutput struct{ *pulumi.OutputState } func (ServerBindingOutput) ElementType() reflect.Type { @@ -40182,6 +46099,12 @@ func (o ServerBindingOutput) ToServerBindingPtrOutputWithContext(ctx context.Con }).(ServerBindingPtrOutput) } +func (o ServerBindingOutput) ToOutput(ctx context.Context) pulumix.Output[ServerBinding] { + return pulumix.Output[ServerBinding]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingOutput) Type() ServerBindingTypePtrOutput { return o.ApplyT(func(v ServerBinding) *ServerBindingType { return v.Type }).(ServerBindingTypePtrOutput) } @@ -40200,6 +46123,12 @@ func (o ServerBindingPtrOutput) ToServerBindingPtrOutputWithContext(ctx context. return o } +func (o ServerBindingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerBinding] { + return pulumix.Output[*ServerBinding]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingPtrOutput) Elem() ServerBindingOutput { return o.ApplyT(func(v *ServerBinding) ServerBinding { if v != nil { @@ -40237,6 +46166,12 @@ func (o ServerBindingResponseOutput) ToServerBindingResponseOutputWithContext(ct return o } +func (o ServerBindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServerBindingResponse] { + return pulumix.Output[ServerBindingResponse]{ + OutputState: o.OutputState, + } +} + func (o ServerBindingResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v ServerBindingResponse) string { return v.Type }).(pulumi.StringOutput) } @@ -40280,6 +46215,12 @@ func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) } +func (i ServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: i.ToServiceAccountOutputWithContext(ctx).OutputState, + } +} + // ServiceAccountArrayInput is an input type that accepts ServiceAccountArray and ServiceAccountArrayOutput values. // You can construct a concrete instance of `ServiceAccountArrayInput` via: // @@ -40305,6 +46246,12 @@ func (i ServiceAccountArray) ToServiceAccountArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountArrayOutput) } +func (i ServiceAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAccount] { + return pulumix.Output[[]ServiceAccount]{ + OutputState: i.ToServiceAccountArrayOutputWithContext(ctx).OutputState, + } +} + // A service account. type ServiceAccountOutput struct{ *pulumi.OutputState } @@ -40320,6 +46267,12 @@ func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Cont return o } +func (o ServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) @@ -40344,6 +46297,12 @@ func (o ServiceAccountArrayOutput) ToServiceAccountArrayOutputWithContext(ctx co return o } +func (o ServiceAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAccount] { + return pulumix.Output[[]ServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountArrayOutput) Index(i pulumi.IntInput) ServiceAccountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAccount { return vs[0].([]ServiceAccount)[vs[1].(int)] @@ -40373,6 +46332,12 @@ func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext( return o } +func (o ServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccountResponse] { + return pulumix.Output[ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ServiceAccountResponse) string { return v.Email }).(pulumi.StringOutput) @@ -40397,6 +46362,12 @@ func (o ServiceAccountResponseArrayOutput) ToServiceAccountResponseArrayOutputWi return o } +func (o ServiceAccountResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAccountResponse] { + return pulumix.Output[[]ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountResponseArrayOutput) Index(i pulumi.IntInput) ServiceAccountResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAccountResponse { return vs[0].([]ServiceAccountResponse)[vs[1].(int)] @@ -40428,6 +46399,12 @@ func (o ServiceAttachmentConnectedEndpointResponseOutput) ToServiceAttachmentCon return o } +func (o ServiceAttachmentConnectedEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConnectedEndpointResponse] { + return pulumix.Output[ServiceAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The url of a connected endpoint. func (o ServiceAttachmentConnectedEndpointResponseOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v ServiceAttachmentConnectedEndpointResponse) string { return v.Endpoint }).(pulumi.StringOutput) @@ -40457,6 +46434,12 @@ func (o ServiceAttachmentConnectedEndpointResponseArrayOutput) ToServiceAttachme return o } +func (o ServiceAttachmentConnectedEndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConnectedEndpointResponse] { + return pulumix.Output[[]ServiceAttachmentConnectedEndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConnectedEndpointResponseArrayOutput) Index(i pulumi.IntInput) ServiceAttachmentConnectedEndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAttachmentConnectedEndpointResponse { return vs[0].([]ServiceAttachmentConnectedEndpointResponse)[vs[1].(int)] @@ -40504,6 +46487,12 @@ func (i ServiceAttachmentConsumerProjectLimitArgs) ToServiceAttachmentConsumerPr return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentConsumerProjectLimitOutput) } +func (i ServiceAttachmentConsumerProjectLimitArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[ServiceAttachmentConsumerProjectLimit]{ + OutputState: i.ToServiceAttachmentConsumerProjectLimitOutputWithContext(ctx).OutputState, + } +} + // ServiceAttachmentConsumerProjectLimitArrayInput is an input type that accepts ServiceAttachmentConsumerProjectLimitArray and ServiceAttachmentConsumerProjectLimitArrayOutput values. // You can construct a concrete instance of `ServiceAttachmentConsumerProjectLimitArrayInput` via: // @@ -40529,6 +46518,12 @@ func (i ServiceAttachmentConsumerProjectLimitArray) ToServiceAttachmentConsumerP return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentConsumerProjectLimitArrayOutput) } +func (i ServiceAttachmentConsumerProjectLimitArray) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[[]ServiceAttachmentConsumerProjectLimit]{ + OutputState: i.ToServiceAttachmentConsumerProjectLimitArrayOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentConsumerProjectLimitOutput struct{ *pulumi.OutputState } func (ServiceAttachmentConsumerProjectLimitOutput) ElementType() reflect.Type { @@ -40543,6 +46538,12 @@ func (o ServiceAttachmentConsumerProjectLimitOutput) ToServiceAttachmentConsumer return o } +func (o ServiceAttachmentConsumerProjectLimitOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[ServiceAttachmentConsumerProjectLimit]{ + OutputState: o.OutputState, + } +} + // The value of the limit to set. func (o ServiceAttachmentConsumerProjectLimitOutput) ConnectionLimit() pulumi.IntPtrOutput { return o.ApplyT(func(v ServiceAttachmentConsumerProjectLimit) *int { return v.ConnectionLimit }).(pulumi.IntPtrOutput) @@ -40572,6 +46573,12 @@ func (o ServiceAttachmentConsumerProjectLimitArrayOutput) ToServiceAttachmentCon return o } +func (o ServiceAttachmentConsumerProjectLimitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConsumerProjectLimit] { + return pulumix.Output[[]ServiceAttachmentConsumerProjectLimit]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConsumerProjectLimitArrayOutput) Index(i pulumi.IntInput) ServiceAttachmentConsumerProjectLimitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAttachmentConsumerProjectLimit { return vs[0].([]ServiceAttachmentConsumerProjectLimit)[vs[1].(int)] @@ -40601,6 +46608,12 @@ func (o ServiceAttachmentConsumerProjectLimitResponseOutput) ToServiceAttachment return o } +func (o ServiceAttachmentConsumerProjectLimitResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAttachmentConsumerProjectLimitResponse] { + return pulumix.Output[ServiceAttachmentConsumerProjectLimitResponse]{ + OutputState: o.OutputState, + } +} + // The value of the limit to set. func (o ServiceAttachmentConsumerProjectLimitResponseOutput) ConnectionLimit() pulumi.IntOutput { return o.ApplyT(func(v ServiceAttachmentConsumerProjectLimitResponse) int { return v.ConnectionLimit }).(pulumi.IntOutput) @@ -40630,6 +46643,12 @@ func (o ServiceAttachmentConsumerProjectLimitResponseArrayOutput) ToServiceAttac return o } +func (o ServiceAttachmentConsumerProjectLimitResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceAttachmentConsumerProjectLimitResponse] { + return pulumix.Output[[]ServiceAttachmentConsumerProjectLimitResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceAttachmentConsumerProjectLimitResponseArrayOutput) Index(i pulumi.IntInput) ServiceAttachmentConsumerProjectLimitResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceAttachmentConsumerProjectLimitResponse { return vs[0].([]ServiceAttachmentConsumerProjectLimitResponse)[vs[1].(int)] @@ -40675,6 +46694,12 @@ func (i ShareSettingsArgs) ToShareSettingsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ShareSettingsOutput) } +func (i ShareSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ShareSettings] { + return pulumix.Output[ShareSettings]{ + OutputState: i.ToShareSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ShareSettingsArgs) ToShareSettingsPtrOutput() ShareSettingsPtrOutput { return i.ToShareSettingsPtrOutputWithContext(context.Background()) } @@ -40716,6 +46741,12 @@ func (i *shareSettingsPtrType) ToShareSettingsPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ShareSettingsPtrOutput) } +func (i *shareSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShareSettings] { + return pulumix.Output[*ShareSettings]{ + OutputState: i.ToShareSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The share setting for reservations and sole tenancy node groups. type ShareSettingsOutput struct{ *pulumi.OutputState } @@ -40741,6 +46772,12 @@ func (o ShareSettingsOutput) ToShareSettingsPtrOutputWithContext(ctx context.Con }).(ShareSettingsPtrOutput) } +func (o ShareSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ShareSettings] { + return pulumix.Output[ShareSettings]{ + OutputState: o.OutputState, + } +} + // A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS. func (o ShareSettingsOutput) ProjectMap() pulumi.StringMapOutput { return o.ApplyT(func(v ShareSettings) map[string]string { return v.ProjectMap }).(pulumi.StringMapOutput) @@ -40765,6 +46802,12 @@ func (o ShareSettingsPtrOutput) ToShareSettingsPtrOutputWithContext(ctx context. return o } +func (o ShareSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShareSettings] { + return pulumix.Output[*ShareSettings]{ + OutputState: o.OutputState, + } +} + func (o ShareSettingsPtrOutput) Elem() ShareSettingsOutput { return o.ApplyT(func(v *ShareSettings) ShareSettings { if v != nil { @@ -40818,6 +46861,12 @@ func (o ShareSettingsResponseOutput) ToShareSettingsResponseOutputWithContext(ct return o } +func (o ShareSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShareSettingsResponse] { + return pulumix.Output[ShareSettingsResponse]{ + OutputState: o.OutputState, + } +} + // A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS. func (o ShareSettingsResponseOutput) ProjectMap() pulumi.StringMapOutput { return o.ApplyT(func(v ShareSettingsResponse) map[string]string { return v.ProjectMap }).(pulumi.StringMapOutput) @@ -40871,6 +46920,12 @@ func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigOutput) } +func (i ShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigPtrOutput() ShieldedInstanceConfigPtrOutput { return i.ToShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -40912,6 +46967,12 @@ func (i *shieldedInstanceConfigPtrType) ToShieldedInstanceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigPtrOutput) } +func (i *shieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded Instance options. type ShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -40937,6 +46998,12 @@ func (o ShieldedInstanceConfigOutput) ToShieldedInstanceConfigPtrOutputWithConte }).(ShieldedInstanceConfigPtrOutput) } +func (o ShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enabled by default. func (o ShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -40966,6 +47033,12 @@ func (o ShieldedInstanceConfigPtrOutput) ToShieldedInstanceConfigPtrOutputWithCo return o } +func (o ShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceConfigPtrOutput) Elem() ShieldedInstanceConfigOutput { return o.ApplyT(func(v *ShieldedInstanceConfig) ShieldedInstanceConfig { if v != nil { @@ -41031,6 +47104,12 @@ func (o ShieldedInstanceConfigResponseOutput) ToShieldedInstanceConfigResponseOu return o } +func (o ShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfigResponse] { + return pulumix.Output[ShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enabled by default. func (o ShieldedInstanceConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -41081,6 +47160,12 @@ func (i ShieldedInstanceIntegrityPolicyArgs) ToShieldedInstanceIntegrityPolicyOu return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceIntegrityPolicyOutput) } +func (i ShieldedInstanceIntegrityPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[ShieldedInstanceIntegrityPolicy]{ + OutputState: i.ToShieldedInstanceIntegrityPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceIntegrityPolicyArgs) ToShieldedInstanceIntegrityPolicyPtrOutput() ShieldedInstanceIntegrityPolicyPtrOutput { return i.ToShieldedInstanceIntegrityPolicyPtrOutputWithContext(context.Background()) } @@ -41122,6 +47207,12 @@ func (i *shieldedInstanceIntegrityPolicyPtrType) ToShieldedInstanceIntegrityPoli return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceIntegrityPolicyPtrOutput) } +func (i *shieldedInstanceIntegrityPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[*ShieldedInstanceIntegrityPolicy]{ + OutputState: i.ToShieldedInstanceIntegrityPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The policy describes the baseline against which Instance boot integrity is measured. type ShieldedInstanceIntegrityPolicyOutput struct{ *pulumi.OutputState } @@ -41147,6 +47238,12 @@ func (o ShieldedInstanceIntegrityPolicyOutput) ToShieldedInstanceIntegrityPolicy }).(ShieldedInstanceIntegrityPolicyPtrOutput) } +func (o ShieldedInstanceIntegrityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[ShieldedInstanceIntegrityPolicy]{ + OutputState: o.OutputState, + } +} + // Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. func (o ShieldedInstanceIntegrityPolicyOutput) UpdateAutoLearnPolicy() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceIntegrityPolicy) *bool { return v.UpdateAutoLearnPolicy }).(pulumi.BoolPtrOutput) @@ -41166,6 +47263,12 @@ func (o ShieldedInstanceIntegrityPolicyPtrOutput) ToShieldedInstanceIntegrityPol return o } +func (o ShieldedInstanceIntegrityPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceIntegrityPolicy] { + return pulumix.Output[*ShieldedInstanceIntegrityPolicy]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceIntegrityPolicyPtrOutput) Elem() ShieldedInstanceIntegrityPolicyOutput { return o.ApplyT(func(v *ShieldedInstanceIntegrityPolicy) ShieldedInstanceIntegrityPolicy { if v != nil { @@ -41207,6 +47310,12 @@ func (o ShieldedInstanceIntegrityPolicyResponseOutput) ToShieldedInstanceIntegri return o } +func (o ShieldedInstanceIntegrityPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceIntegrityPolicyResponse] { + return pulumix.Output[ShieldedInstanceIntegrityPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. func (o ShieldedInstanceIntegrityPolicyResponseOutput) UpdateAutoLearnPolicy() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceIntegrityPolicyResponse) bool { return v.UpdateAutoLearnPolicy }).(pulumi.BoolOutput) @@ -41249,6 +47358,12 @@ func (i SourceDiskEncryptionKeyArgs) ToSourceDiskEncryptionKeyOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SourceDiskEncryptionKeyOutput) } +func (i SourceDiskEncryptionKeyArgs) ToOutput(ctx context.Context) pulumix.Output[SourceDiskEncryptionKey] { + return pulumix.Output[SourceDiskEncryptionKey]{ + OutputState: i.ToSourceDiskEncryptionKeyOutputWithContext(ctx).OutputState, + } +} + // SourceDiskEncryptionKeyArrayInput is an input type that accepts SourceDiskEncryptionKeyArray and SourceDiskEncryptionKeyArrayOutput values. // You can construct a concrete instance of `SourceDiskEncryptionKeyArrayInput` via: // @@ -41274,6 +47389,12 @@ func (i SourceDiskEncryptionKeyArray) ToSourceDiskEncryptionKeyArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SourceDiskEncryptionKeyArrayOutput) } +func (i SourceDiskEncryptionKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]SourceDiskEncryptionKey] { + return pulumix.Output[[]SourceDiskEncryptionKey]{ + OutputState: i.ToSourceDiskEncryptionKeyArrayOutputWithContext(ctx).OutputState, + } +} + type SourceDiskEncryptionKeyOutput struct{ *pulumi.OutputState } func (SourceDiskEncryptionKeyOutput) ElementType() reflect.Type { @@ -41288,6 +47409,12 @@ func (o SourceDiskEncryptionKeyOutput) ToSourceDiskEncryptionKeyOutputWithContex return o } +func (o SourceDiskEncryptionKeyOutput) ToOutput(ctx context.Context) pulumix.Output[SourceDiskEncryptionKey] { + return pulumix.Output[SourceDiskEncryptionKey]{ + OutputState: o.OutputState, + } +} + // The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. func (o SourceDiskEncryptionKeyOutput) DiskEncryptionKey() CustomerEncryptionKeyPtrOutput { return o.ApplyT(func(v SourceDiskEncryptionKey) *CustomerEncryptionKey { return v.DiskEncryptionKey }).(CustomerEncryptionKeyPtrOutput) @@ -41312,6 +47439,12 @@ func (o SourceDiskEncryptionKeyArrayOutput) ToSourceDiskEncryptionKeyArrayOutput return o } +func (o SourceDiskEncryptionKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceDiskEncryptionKey] { + return pulumix.Output[[]SourceDiskEncryptionKey]{ + OutputState: o.OutputState, + } +} + func (o SourceDiskEncryptionKeyArrayOutput) Index(i pulumi.IntInput) SourceDiskEncryptionKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceDiskEncryptionKey { return vs[0].([]SourceDiskEncryptionKey)[vs[1].(int)] @@ -41339,6 +47472,12 @@ func (o SourceDiskEncryptionKeyResponseOutput) ToSourceDiskEncryptionKeyResponse return o } +func (o SourceDiskEncryptionKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceDiskEncryptionKeyResponse] { + return pulumix.Output[SourceDiskEncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + // The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. func (o SourceDiskEncryptionKeyResponseOutput) DiskEncryptionKey() CustomerEncryptionKeyResponseOutput { return o.ApplyT(func(v SourceDiskEncryptionKeyResponse) CustomerEncryptionKeyResponse { return v.DiskEncryptionKey }).(CustomerEncryptionKeyResponseOutput) @@ -41363,6 +47502,12 @@ func (o SourceDiskEncryptionKeyResponseArrayOutput) ToSourceDiskEncryptionKeyRes return o } +func (o SourceDiskEncryptionKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceDiskEncryptionKeyResponse] { + return pulumix.Output[[]SourceDiskEncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o SourceDiskEncryptionKeyResponseArrayOutput) Index(i pulumi.IntInput) SourceDiskEncryptionKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceDiskEncryptionKeyResponse { return vs[0].([]SourceDiskEncryptionKeyResponse)[vs[1].(int)] @@ -41404,6 +47549,12 @@ func (i SourceInstanceParamsArgs) ToSourceInstanceParamsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SourceInstanceParamsOutput) } +func (i SourceInstanceParamsArgs) ToOutput(ctx context.Context) pulumix.Output[SourceInstanceParams] { + return pulumix.Output[SourceInstanceParams]{ + OutputState: i.ToSourceInstanceParamsOutputWithContext(ctx).OutputState, + } +} + func (i SourceInstanceParamsArgs) ToSourceInstanceParamsPtrOutput() SourceInstanceParamsPtrOutput { return i.ToSourceInstanceParamsPtrOutputWithContext(context.Background()) } @@ -41445,6 +47596,12 @@ func (i *sourceInstanceParamsPtrType) ToSourceInstanceParamsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(SourceInstanceParamsPtrOutput) } +func (i *sourceInstanceParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SourceInstanceParams] { + return pulumix.Output[*SourceInstanceParams]{ + OutputState: i.ToSourceInstanceParamsPtrOutputWithContext(ctx).OutputState, + } +} + // A specification of the parameters to use when creating the instance template from a source instance. type SourceInstanceParamsOutput struct{ *pulumi.OutputState } @@ -41470,6 +47627,12 @@ func (o SourceInstanceParamsOutput) ToSourceInstanceParamsPtrOutputWithContext(c }).(SourceInstanceParamsPtrOutput) } +func (o SourceInstanceParamsOutput) ToOutput(ctx context.Context) pulumix.Output[SourceInstanceParams] { + return pulumix.Output[SourceInstanceParams]{ + OutputState: o.OutputState, + } +} + // Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. func (o SourceInstanceParamsOutput) DiskConfigs() DiskInstantiationConfigArrayOutput { return o.ApplyT(func(v SourceInstanceParams) []DiskInstantiationConfig { return v.DiskConfigs }).(DiskInstantiationConfigArrayOutput) @@ -41489,6 +47652,12 @@ func (o SourceInstanceParamsPtrOutput) ToSourceInstanceParamsPtrOutputWithContex return o } +func (o SourceInstanceParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceInstanceParams] { + return pulumix.Output[*SourceInstanceParams]{ + OutputState: o.OutputState, + } +} + func (o SourceInstanceParamsPtrOutput) Elem() SourceInstanceParamsOutput { return o.ApplyT(func(v *SourceInstanceParams) SourceInstanceParams { if v != nil { @@ -41530,6 +47699,12 @@ func (o SourceInstanceParamsResponseOutput) ToSourceInstanceParamsResponseOutput return o } +func (o SourceInstanceParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceInstanceParamsResponse] { + return pulumix.Output[SourceInstanceParamsResponse]{ + OutputState: o.OutputState, + } +} + // Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. func (o SourceInstanceParamsResponseOutput) DiskConfigs() DiskInstantiationConfigResponseArrayOutput { return o.ApplyT(func(v SourceInstanceParamsResponse) []DiskInstantiationConfigResponse { return v.DiskConfigs }).(DiskInstantiationConfigResponseArrayOutput) @@ -41582,6 +47757,12 @@ func (o SourceInstancePropertiesResponseOutput) ToSourceInstancePropertiesRespon return o } +func (o SourceInstancePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceInstancePropertiesResponse] { + return pulumix.Output[SourceInstancePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information. func (o SourceInstancePropertiesResponseOutput) CanIpForward() pulumi.BoolOutput { return o.ApplyT(func(v SourceInstancePropertiesResponse) bool { return v.CanIpForward }).(pulumi.BoolOutput) @@ -41687,6 +47868,12 @@ func (i SslCertificateManagedSslCertificateArgs) ToSslCertificateManagedSslCerti return pulumi.ToOutputWithContext(ctx, i).(SslCertificateManagedSslCertificateOutput) } +func (i SslCertificateManagedSslCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[SslCertificateManagedSslCertificate] { + return pulumix.Output[SslCertificateManagedSslCertificate]{ + OutputState: i.ToSslCertificateManagedSslCertificateOutputWithContext(ctx).OutputState, + } +} + func (i SslCertificateManagedSslCertificateArgs) ToSslCertificateManagedSslCertificatePtrOutput() SslCertificateManagedSslCertificatePtrOutput { return i.ToSslCertificateManagedSslCertificatePtrOutputWithContext(context.Background()) } @@ -41728,6 +47915,12 @@ func (i *sslCertificateManagedSslCertificatePtrType) ToSslCertificateManagedSslC return pulumi.ToOutputWithContext(ctx, i).(SslCertificateManagedSslCertificatePtrOutput) } +func (i *sslCertificateManagedSslCertificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateManagedSslCertificate] { + return pulumix.Output[*SslCertificateManagedSslCertificate]{ + OutputState: i.ToSslCertificateManagedSslCertificatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration and status of a managed SSL certificate. type SslCertificateManagedSslCertificateOutput struct{ *pulumi.OutputState } @@ -41753,6 +47946,12 @@ func (o SslCertificateManagedSslCertificateOutput) ToSslCertificateManagedSslCer }).(SslCertificateManagedSslCertificatePtrOutput) } +func (o SslCertificateManagedSslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateManagedSslCertificate] { + return pulumix.Output[SslCertificateManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + // The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the [maximum number of domains per Google-managed SSL certificate](/load-balancing/docs/quotas#ssl_certificates). func (o SslCertificateManagedSslCertificateOutput) Domains() pulumi.StringArrayOutput { return o.ApplyT(func(v SslCertificateManagedSslCertificate) []string { return v.Domains }).(pulumi.StringArrayOutput) @@ -41772,6 +47971,12 @@ func (o SslCertificateManagedSslCertificatePtrOutput) ToSslCertificateManagedSsl return o } +func (o SslCertificateManagedSslCertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateManagedSslCertificate] { + return pulumix.Output[*SslCertificateManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateManagedSslCertificatePtrOutput) Elem() SslCertificateManagedSslCertificateOutput { return o.ApplyT(func(v *SslCertificateManagedSslCertificate) SslCertificateManagedSslCertificate { if v != nil { @@ -41817,6 +48022,12 @@ func (o SslCertificateManagedSslCertificateResponseOutput) ToSslCertificateManag return o } +func (o SslCertificateManagedSslCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateManagedSslCertificateResponse] { + return pulumix.Output[SslCertificateManagedSslCertificateResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Detailed statuses of the domains specified for managed certificate resource. func (o SslCertificateManagedSslCertificateResponseOutput) DomainStatus() pulumi.StringMapOutput { return o.ApplyT(func(v SslCertificateManagedSslCertificateResponse) map[string]string { return v.DomainStatus }).(pulumi.StringMapOutput) @@ -41871,6 +48082,12 @@ func (i SslCertificateSelfManagedSslCertificateArgs) ToSslCertificateSelfManaged return pulumi.ToOutputWithContext(ctx, i).(SslCertificateSelfManagedSslCertificateOutput) } +func (i SslCertificateSelfManagedSslCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[SslCertificateSelfManagedSslCertificate]{ + OutputState: i.ToSslCertificateSelfManagedSslCertificateOutputWithContext(ctx).OutputState, + } +} + func (i SslCertificateSelfManagedSslCertificateArgs) ToSslCertificateSelfManagedSslCertificatePtrOutput() SslCertificateSelfManagedSslCertificatePtrOutput { return i.ToSslCertificateSelfManagedSslCertificatePtrOutputWithContext(context.Background()) } @@ -41912,6 +48129,12 @@ func (i *sslCertificateSelfManagedSslCertificatePtrType) ToSslCertificateSelfMan return pulumi.ToOutputWithContext(ctx, i).(SslCertificateSelfManagedSslCertificatePtrOutput) } +func (i *sslCertificateSelfManagedSslCertificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[*SslCertificateSelfManagedSslCertificate]{ + OutputState: i.ToSslCertificateSelfManagedSslCertificatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration and status of a self-managed SSL certificate. type SslCertificateSelfManagedSslCertificateOutput struct{ *pulumi.OutputState } @@ -41937,6 +48160,12 @@ func (o SslCertificateSelfManagedSslCertificateOutput) ToSslCertificateSelfManag }).(SslCertificateSelfManagedSslCertificatePtrOutput) } +func (o SslCertificateSelfManagedSslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[SslCertificateSelfManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + // A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o SslCertificateSelfManagedSslCertificateOutput) Certificate() pulumi.StringPtrOutput { return o.ApplyT(func(v SslCertificateSelfManagedSslCertificate) *string { return v.Certificate }).(pulumi.StringPtrOutput) @@ -41961,6 +48190,12 @@ func (o SslCertificateSelfManagedSslCertificatePtrOutput) ToSslCertificateSelfMa return o } +func (o SslCertificateSelfManagedSslCertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificateSelfManagedSslCertificate] { + return pulumix.Output[*SslCertificateSelfManagedSslCertificate]{ + OutputState: o.OutputState, + } +} + func (o SslCertificateSelfManagedSslCertificatePtrOutput) Elem() SslCertificateSelfManagedSslCertificateOutput { return o.ApplyT(func(v *SslCertificateSelfManagedSslCertificate) SslCertificateSelfManagedSslCertificate { if v != nil { @@ -42014,6 +48249,12 @@ func (o SslCertificateSelfManagedSslCertificateResponseOutput) ToSslCertificateS return o } +func (o SslCertificateSelfManagedSslCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertificateSelfManagedSslCertificateResponse] { + return pulumix.Output[SslCertificateSelfManagedSslCertificateResponse]{ + OutputState: o.OutputState, + } +} + // A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o SslCertificateSelfManagedSslCertificateResponseOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v SslCertificateSelfManagedSslCertificateResponse) string { return v.Certificate }).(pulumi.StringOutput) @@ -42045,6 +48286,12 @@ func (o SslPolicyWarningsItemDataItemResponseOutput) ToSslPolicyWarningsItemData return o } +func (o SslPolicyWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[SslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o SslPolicyWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SslPolicyWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -42069,6 +48316,12 @@ func (o SslPolicyWarningsItemDataItemResponseArrayOutput) ToSslPolicyWarningsIte return o } +func (o SslPolicyWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SslPolicyWarningsItemDataItemResponse] { + return pulumix.Output[[]SslPolicyWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) SslPolicyWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SslPolicyWarningsItemDataItemResponse { return vs[0].([]SslPolicyWarningsItemDataItemResponse)[vs[1].(int)] @@ -42098,6 +48351,12 @@ func (o SslPolicyWarningsItemResponseOutput) ToSslPolicyWarningsItemResponseOutp return o } +func (o SslPolicyWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslPolicyWarningsItemResponse] { + return pulumix.Output[SslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o SslPolicyWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v SslPolicyWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -42127,6 +48386,12 @@ func (o SslPolicyWarningsItemResponseArrayOutput) ToSslPolicyWarningsItemRespons return o } +func (o SslPolicyWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SslPolicyWarningsItemResponse] { + return pulumix.Output[[]SslPolicyWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o SslPolicyWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) SslPolicyWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SslPolicyWarningsItemResponse { return vs[0].([]SslPolicyWarningsItemResponse)[vs[1].(int)] @@ -42164,6 +48429,12 @@ func (i StatefulPolicyArgs) ToStatefulPolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyOutput) } +func (i StatefulPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicy] { + return pulumix.Output[StatefulPolicy]{ + OutputState: i.ToStatefulPolicyOutputWithContext(ctx).OutputState, + } +} + func (i StatefulPolicyArgs) ToStatefulPolicyPtrOutput() StatefulPolicyPtrOutput { return i.ToStatefulPolicyPtrOutputWithContext(context.Background()) } @@ -42205,6 +48476,12 @@ func (i *statefulPolicyPtrType) ToStatefulPolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyPtrOutput) } +func (i *statefulPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicy] { + return pulumix.Output[*StatefulPolicy]{ + OutputState: i.ToStatefulPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type StatefulPolicyOutput struct{ *pulumi.OutputState } func (StatefulPolicyOutput) ElementType() reflect.Type { @@ -42229,6 +48506,12 @@ func (o StatefulPolicyOutput) ToStatefulPolicyPtrOutputWithContext(ctx context.C }).(StatefulPolicyPtrOutput) } +func (o StatefulPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicy] { + return pulumix.Output[StatefulPolicy]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyOutput) PreservedState() StatefulPolicyPreservedStatePtrOutput { return o.ApplyT(func(v StatefulPolicy) *StatefulPolicyPreservedState { return v.PreservedState }).(StatefulPolicyPreservedStatePtrOutput) } @@ -42247,6 +48530,12 @@ func (o StatefulPolicyPtrOutput) ToStatefulPolicyPtrOutputWithContext(ctx contex return o } +func (o StatefulPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicy] { + return pulumix.Output[*StatefulPolicy]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyPtrOutput) Elem() StatefulPolicyOutput { return o.ApplyT(func(v *StatefulPolicy) StatefulPolicy { if v != nil { @@ -42301,6 +48590,12 @@ func (i StatefulPolicyPreservedStateArgs) ToStatefulPolicyPreservedStateOutputWi return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyPreservedStateOutput) } +func (i StatefulPolicyPreservedStateArgs) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyPreservedState] { + return pulumix.Output[StatefulPolicyPreservedState]{ + OutputState: i.ToStatefulPolicyPreservedStateOutputWithContext(ctx).OutputState, + } +} + func (i StatefulPolicyPreservedStateArgs) ToStatefulPolicyPreservedStatePtrOutput() StatefulPolicyPreservedStatePtrOutput { return i.ToStatefulPolicyPreservedStatePtrOutputWithContext(context.Background()) } @@ -42342,6 +48637,12 @@ func (i *statefulPolicyPreservedStatePtrType) ToStatefulPolicyPreservedStatePtrO return pulumi.ToOutputWithContext(ctx, i).(StatefulPolicyPreservedStatePtrOutput) } +func (i *statefulPolicyPreservedStatePtrType) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicyPreservedState] { + return pulumix.Output[*StatefulPolicyPreservedState]{ + OutputState: i.ToStatefulPolicyPreservedStatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of preserved resources. type StatefulPolicyPreservedStateOutput struct{ *pulumi.OutputState } @@ -42367,6 +48668,12 @@ func (o StatefulPolicyPreservedStateOutput) ToStatefulPolicyPreservedStatePtrOut }).(StatefulPolicyPreservedStatePtrOutput) } +func (o StatefulPolicyPreservedStateOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyPreservedState] { + return pulumix.Output[StatefulPolicyPreservedState]{ + OutputState: o.OutputState, + } +} + // Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. func (o StatefulPolicyPreservedStateOutput) Disks() pulumi.StringMapOutput { return o.ApplyT(func(v StatefulPolicyPreservedState) map[string]string { return v.Disks }).(pulumi.StringMapOutput) @@ -42386,6 +48693,12 @@ func (o StatefulPolicyPreservedStatePtrOutput) ToStatefulPolicyPreservedStatePtr return o } +func (o StatefulPolicyPreservedStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatefulPolicyPreservedState] { + return pulumix.Output[*StatefulPolicyPreservedState]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyPreservedStatePtrOutput) Elem() StatefulPolicyPreservedStateOutput { return o.ApplyT(func(v *StatefulPolicyPreservedState) StatefulPolicyPreservedState { if v != nil { @@ -42427,6 +48740,12 @@ func (o StatefulPolicyPreservedStateResponseOutput) ToStatefulPolicyPreservedSta return o } +func (o StatefulPolicyPreservedStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyPreservedStateResponse] { + return pulumix.Output[StatefulPolicyPreservedStateResponse]{ + OutputState: o.OutputState, + } +} + // Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. func (o StatefulPolicyPreservedStateResponseOutput) Disks() pulumi.StringMapOutput { return o.ApplyT(func(v StatefulPolicyPreservedStateResponse) map[string]string { return v.Disks }).(pulumi.StringMapOutput) @@ -42450,6 +48769,12 @@ func (o StatefulPolicyResponseOutput) ToStatefulPolicyResponseOutputWithContext( return o } +func (o StatefulPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatefulPolicyResponse] { + return pulumix.Output[StatefulPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o StatefulPolicyResponseOutput) PreservedState() StatefulPolicyPreservedStateResponseOutput { return o.ApplyT(func(v StatefulPolicyResponse) StatefulPolicyPreservedStateResponse { return v.PreservedState }).(StatefulPolicyPreservedStateResponseOutput) } @@ -42509,6 +48834,12 @@ func (i SubnetworkLogConfigArgs) ToSubnetworkLogConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SubnetworkLogConfigOutput) } +func (i SubnetworkLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfig] { + return pulumix.Output[SubnetworkLogConfig]{ + OutputState: i.ToSubnetworkLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i SubnetworkLogConfigArgs) ToSubnetworkLogConfigPtrOutput() SubnetworkLogConfigPtrOutput { return i.ToSubnetworkLogConfigPtrOutputWithContext(context.Background()) } @@ -42550,6 +48881,12 @@ func (i *subnetworkLogConfigPtrType) ToSubnetworkLogConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(SubnetworkLogConfigPtrOutput) } +func (i *subnetworkLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfig] { + return pulumix.Output[*SubnetworkLogConfig]{ + OutputState: i.ToSubnetworkLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The available logging options for this subnetwork. type SubnetworkLogConfigOutput struct{ *pulumi.OutputState } @@ -42575,6 +48912,12 @@ func (o SubnetworkLogConfigOutput) ToSubnetworkLogConfigPtrOutputWithContext(ctx }).(SubnetworkLogConfigPtrOutput) } +func (o SubnetworkLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfig] { + return pulumix.Output[SubnetworkLogConfig]{ + OutputState: o.OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. func (o SubnetworkLogConfigOutput) AggregationInterval() SubnetworkLogConfigAggregationIntervalPtrOutput { return o.ApplyT(func(v SubnetworkLogConfig) *SubnetworkLogConfigAggregationInterval { return v.AggregationInterval }).(SubnetworkLogConfigAggregationIntervalPtrOutput) @@ -42619,6 +48962,12 @@ func (o SubnetworkLogConfigPtrOutput) ToSubnetworkLogConfigPtrOutputWithContext( return o } +func (o SubnetworkLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkLogConfig] { + return pulumix.Output[*SubnetworkLogConfig]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkLogConfigPtrOutput) Elem() SubnetworkLogConfigOutput { return o.ApplyT(func(v *SubnetworkLogConfig) SubnetworkLogConfig { if v != nil { @@ -42720,6 +49069,12 @@ func (o SubnetworkLogConfigResponseOutput) ToSubnetworkLogConfigResponseOutputWi return o } +func (o SubnetworkLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkLogConfigResponse] { + return pulumix.Output[SubnetworkLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. func (o SubnetworkLogConfigResponseOutput) AggregationInterval() pulumi.StringOutput { return o.ApplyT(func(v SubnetworkLogConfigResponse) string { return v.AggregationInterval }).(pulumi.StringOutput) @@ -42789,6 +49144,12 @@ func (i SubnetworkSecondaryRangeArgs) ToSubnetworkSecondaryRangeOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SubnetworkSecondaryRangeOutput) } +func (i SubnetworkSecondaryRangeArgs) ToOutput(ctx context.Context) pulumix.Output[SubnetworkSecondaryRange] { + return pulumix.Output[SubnetworkSecondaryRange]{ + OutputState: i.ToSubnetworkSecondaryRangeOutputWithContext(ctx).OutputState, + } +} + // SubnetworkSecondaryRangeArrayInput is an input type that accepts SubnetworkSecondaryRangeArray and SubnetworkSecondaryRangeArrayOutput values. // You can construct a concrete instance of `SubnetworkSecondaryRangeArrayInput` via: // @@ -42814,6 +49175,12 @@ func (i SubnetworkSecondaryRangeArray) ToSubnetworkSecondaryRangeArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(SubnetworkSecondaryRangeArrayOutput) } +func (i SubnetworkSecondaryRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]SubnetworkSecondaryRange] { + return pulumix.Output[[]SubnetworkSecondaryRange]{ + OutputState: i.ToSubnetworkSecondaryRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a secondary IP range of a subnetwork. type SubnetworkSecondaryRangeOutput struct{ *pulumi.OutputState } @@ -42829,6 +49196,12 @@ func (o SubnetworkSecondaryRangeOutput) ToSubnetworkSecondaryRangeOutputWithCont return o } +func (o SubnetworkSecondaryRangeOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkSecondaryRange] { + return pulumix.Output[SubnetworkSecondaryRange]{ + OutputState: o.OutputState, + } +} + // The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. func (o SubnetworkSecondaryRangeOutput) IpCidrRange() pulumi.StringPtrOutput { return o.ApplyT(func(v SubnetworkSecondaryRange) *string { return v.IpCidrRange }).(pulumi.StringPtrOutput) @@ -42853,6 +49226,12 @@ func (o SubnetworkSecondaryRangeArrayOutput) ToSubnetworkSecondaryRangeArrayOutp return o } +func (o SubnetworkSecondaryRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubnetworkSecondaryRange] { + return pulumix.Output[[]SubnetworkSecondaryRange]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkSecondaryRangeArrayOutput) Index(i pulumi.IntInput) SubnetworkSecondaryRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetworkSecondaryRange { return vs[0].([]SubnetworkSecondaryRange)[vs[1].(int)] @@ -42882,6 +49261,12 @@ func (o SubnetworkSecondaryRangeResponseOutput) ToSubnetworkSecondaryRangeRespon return o } +func (o SubnetworkSecondaryRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetworkSecondaryRangeResponse] { + return pulumix.Output[SubnetworkSecondaryRangeResponse]{ + OutputState: o.OutputState, + } +} + // The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. func (o SubnetworkSecondaryRangeResponseOutput) IpCidrRange() pulumi.StringOutput { return o.ApplyT(func(v SubnetworkSecondaryRangeResponse) string { return v.IpCidrRange }).(pulumi.StringOutput) @@ -42906,6 +49291,12 @@ func (o SubnetworkSecondaryRangeResponseArrayOutput) ToSubnetworkSecondaryRangeR return o } +func (o SubnetworkSecondaryRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubnetworkSecondaryRangeResponse] { + return pulumix.Output[[]SubnetworkSecondaryRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o SubnetworkSecondaryRangeResponseArrayOutput) Index(i pulumi.IntInput) SubnetworkSecondaryRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetworkSecondaryRangeResponse { return vs[0].([]SubnetworkSecondaryRangeResponse)[vs[1].(int)] @@ -42945,6 +49336,12 @@ func (i SubsettingArgs) ToSubsettingOutputWithContext(ctx context.Context) Subse return pulumi.ToOutputWithContext(ctx, i).(SubsettingOutput) } +func (i SubsettingArgs) ToOutput(ctx context.Context) pulumix.Output[Subsetting] { + return pulumix.Output[Subsetting]{ + OutputState: i.ToSubsettingOutputWithContext(ctx).OutputState, + } +} + func (i SubsettingArgs) ToSubsettingPtrOutput() SubsettingPtrOutput { return i.ToSubsettingPtrOutputWithContext(context.Background()) } @@ -42986,6 +49383,12 @@ func (i *subsettingPtrType) ToSubsettingPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SubsettingPtrOutput) } +func (i *subsettingPtrType) ToOutput(ctx context.Context) pulumix.Output[*Subsetting] { + return pulumix.Output[*Subsetting]{ + OutputState: i.ToSubsettingPtrOutputWithContext(ctx).OutputState, + } +} + // Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director. type SubsettingOutput struct{ *pulumi.OutputState } @@ -43011,6 +49414,12 @@ func (o SubsettingOutput) ToSubsettingPtrOutputWithContext(ctx context.Context) }).(SubsettingPtrOutput) } +func (o SubsettingOutput) ToOutput(ctx context.Context) pulumix.Output[Subsetting] { + return pulumix.Output[Subsetting]{ + OutputState: o.OutputState, + } +} + func (o SubsettingOutput) Policy() SubsettingPolicyPtrOutput { return o.ApplyT(func(v Subsetting) *SubsettingPolicy { return v.Policy }).(SubsettingPolicyPtrOutput) } @@ -43029,6 +49438,12 @@ func (o SubsettingPtrOutput) ToSubsettingPtrOutputWithContext(ctx context.Contex return o } +func (o SubsettingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Subsetting] { + return pulumix.Output[*Subsetting]{ + OutputState: o.OutputState, + } +} + func (o SubsettingPtrOutput) Elem() SubsettingOutput { return o.ApplyT(func(v *Subsetting) Subsetting { if v != nil { @@ -43068,6 +49483,12 @@ func (o SubsettingResponseOutput) ToSubsettingResponseOutputWithContext(ctx cont return o } +func (o SubsettingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubsettingResponse] { + return pulumix.Output[SubsettingResponse]{ + OutputState: o.OutputState, + } +} + func (o SubsettingResponseOutput) Policy() pulumi.StringOutput { return o.ApplyT(func(v SubsettingResponse) string { return v.Policy }).(pulumi.StringOutput) } @@ -43125,6 +49546,12 @@ func (i TCPHealthCheckArgs) ToTCPHealthCheckOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(TCPHealthCheckOutput) } +func (i TCPHealthCheckArgs) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheck] { + return pulumix.Output[TCPHealthCheck]{ + OutputState: i.ToTCPHealthCheckOutputWithContext(ctx).OutputState, + } +} + func (i TCPHealthCheckArgs) ToTCPHealthCheckPtrOutput() TCPHealthCheckPtrOutput { return i.ToTCPHealthCheckPtrOutputWithContext(context.Background()) } @@ -43166,6 +49593,12 @@ func (i *tcphealthCheckPtrType) ToTCPHealthCheckPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(TCPHealthCheckPtrOutput) } +func (i *tcphealthCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheck] { + return pulumix.Output[*TCPHealthCheck]{ + OutputState: i.ToTCPHealthCheckPtrOutputWithContext(ctx).OutputState, + } +} + type TCPHealthCheckOutput struct{ *pulumi.OutputState } func (TCPHealthCheckOutput) ElementType() reflect.Type { @@ -43190,6 +49623,12 @@ func (o TCPHealthCheckOutput) ToTCPHealthCheckPtrOutputWithContext(ctx context.C }).(TCPHealthCheckPtrOutput) } +func (o TCPHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheck] { + return pulumix.Output[TCPHealthCheck]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535. func (o TCPHealthCheckOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v TCPHealthCheck) *int { return v.Port }).(pulumi.IntPtrOutput) @@ -43234,6 +49673,12 @@ func (o TCPHealthCheckPtrOutput) ToTCPHealthCheckPtrOutputWithContext(ctx contex return o } +func (o TCPHealthCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TCPHealthCheck] { + return pulumix.Output[*TCPHealthCheck]{ + OutputState: o.OutputState, + } +} + func (o TCPHealthCheckPtrOutput) Elem() TCPHealthCheckOutput { return o.ApplyT(func(v *TCPHealthCheck) TCPHealthCheck { if v != nil { @@ -43333,6 +49778,12 @@ func (o TCPHealthCheckResponseOutput) ToTCPHealthCheckResponseOutputWithContext( return o } +func (o TCPHealthCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TCPHealthCheckResponse] { + return pulumix.Output[TCPHealthCheckResponse]{ + OutputState: o.OutputState, + } +} + // The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535. func (o TCPHealthCheckResponseOutput) Port() pulumi.IntOutput { return o.ApplyT(func(v TCPHealthCheckResponse) int { return v.Port }).(pulumi.IntOutput) @@ -43398,6 +49849,12 @@ func (i TagsArgs) ToTagsOutputWithContext(ctx context.Context) TagsOutput { return pulumi.ToOutputWithContext(ctx, i).(TagsOutput) } +func (i TagsArgs) ToOutput(ctx context.Context) pulumix.Output[Tags] { + return pulumix.Output[Tags]{ + OutputState: i.ToTagsOutputWithContext(ctx).OutputState, + } +} + func (i TagsArgs) ToTagsPtrOutput() TagsPtrOutput { return i.ToTagsPtrOutputWithContext(context.Background()) } @@ -43439,6 +49896,12 @@ func (i *tagsPtrType) ToTagsPtrOutputWithContext(ctx context.Context) TagsPtrOut return pulumi.ToOutputWithContext(ctx, i).(TagsPtrOutput) } +func (i *tagsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Tags] { + return pulumix.Output[*Tags]{ + OutputState: i.ToTagsPtrOutputWithContext(ctx).OutputState, + } +} + // A set of instance tags. type TagsOutput struct{ *pulumi.OutputState } @@ -43464,6 +49927,12 @@ func (o TagsOutput) ToTagsPtrOutputWithContext(ctx context.Context) TagsPtrOutpu }).(TagsPtrOutput) } +func (o TagsOutput) ToOutput(ctx context.Context) pulumix.Output[Tags] { + return pulumix.Output[Tags]{ + OutputState: o.OutputState, + } +} + // An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. func (o TagsOutput) Items() pulumi.StringArrayOutput { return o.ApplyT(func(v Tags) []string { return v.Items }).(pulumi.StringArrayOutput) @@ -43483,6 +49952,12 @@ func (o TagsPtrOutput) ToTagsPtrOutputWithContext(ctx context.Context) TagsPtrOu return o } +func (o TagsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Tags] { + return pulumix.Output[*Tags]{ + OutputState: o.OutputState, + } +} + func (o TagsPtrOutput) Elem() TagsOutput { return o.ApplyT(func(v *Tags) Tags { if v != nil { @@ -43526,6 +50001,12 @@ func (o TagsResponseOutput) ToTagsResponseOutputWithContext(ctx context.Context) return o } +func (o TagsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TagsResponse] { + return pulumix.Output[TagsResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance. func (o TagsResponseOutput) Fingerprint() pulumi.StringOutput { return o.ApplyT(func(v TagsResponse) string { return v.Fingerprint }).(pulumi.StringOutput) @@ -43555,6 +50036,12 @@ func (o Uint128ResponseOutput) ToUint128ResponseOutputWithContext(ctx context.Co return o } +func (o Uint128ResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Uint128Response] { + return pulumix.Output[Uint128Response]{ + OutputState: o.OutputState, + } +} + func (o Uint128ResponseOutput) High() pulumi.StringOutput { return o.ApplyT(func(v Uint128Response) string { return v.High }).(pulumi.StringOutput) } @@ -43622,6 +50109,12 @@ func (i UrlMapTestArgs) ToUrlMapTestOutputWithContext(ctx context.Context) UrlMa return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestOutput) } +func (i UrlMapTestArgs) ToOutput(ctx context.Context) pulumix.Output[UrlMapTest] { + return pulumix.Output[UrlMapTest]{ + OutputState: i.ToUrlMapTestOutputWithContext(ctx).OutputState, + } +} + // UrlMapTestArrayInput is an input type that accepts UrlMapTestArray and UrlMapTestArrayOutput values. // You can construct a concrete instance of `UrlMapTestArrayInput` via: // @@ -43647,6 +50140,12 @@ func (i UrlMapTestArray) ToUrlMapTestArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestArrayOutput) } +func (i UrlMapTestArray) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTest] { + return pulumix.Output[[]UrlMapTest]{ + OutputState: i.ToUrlMapTestArrayOutputWithContext(ctx).OutputState, + } +} + // Message for the expected URL mappings. type UrlMapTestOutput struct{ *pulumi.OutputState } @@ -43662,6 +50161,12 @@ func (o UrlMapTestOutput) ToUrlMapTestOutputWithContext(ctx context.Context) Url return o } +func (o UrlMapTestOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTest] { + return pulumix.Output[UrlMapTest]{ + OutputState: o.OutputState, + } +} + // Description of this test case. func (o UrlMapTestOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v UrlMapTest) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -43711,6 +50216,12 @@ func (o UrlMapTestArrayOutput) ToUrlMapTestArrayOutputWithContext(ctx context.Co return o } +func (o UrlMapTestArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTest] { + return pulumix.Output[[]UrlMapTest]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestArrayOutput) Index(i pulumi.IntInput) UrlMapTestOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTest { return vs[0].([]UrlMapTest)[vs[1].(int)] @@ -43756,6 +50267,12 @@ func (i UrlMapTestHeaderArgs) ToUrlMapTestHeaderOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestHeaderOutput) } +func (i UrlMapTestHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestHeader] { + return pulumix.Output[UrlMapTestHeader]{ + OutputState: i.ToUrlMapTestHeaderOutputWithContext(ctx).OutputState, + } +} + // UrlMapTestHeaderArrayInput is an input type that accepts UrlMapTestHeaderArray and UrlMapTestHeaderArrayOutput values. // You can construct a concrete instance of `UrlMapTestHeaderArrayInput` via: // @@ -43781,6 +50298,12 @@ func (i UrlMapTestHeaderArray) ToUrlMapTestHeaderArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(UrlMapTestHeaderArrayOutput) } +func (i UrlMapTestHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestHeader] { + return pulumix.Output[[]UrlMapTestHeader]{ + OutputState: i.ToUrlMapTestHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // HTTP headers used in UrlMapTests. type UrlMapTestHeaderOutput struct{ *pulumi.OutputState } @@ -43796,6 +50319,12 @@ func (o UrlMapTestHeaderOutput) ToUrlMapTestHeaderOutputWithContext(ctx context. return o } +func (o UrlMapTestHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestHeader] { + return pulumix.Output[UrlMapTestHeader]{ + OutputState: o.OutputState, + } +} + // Header name. func (o UrlMapTestHeaderOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v UrlMapTestHeader) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -43820,6 +50349,12 @@ func (o UrlMapTestHeaderArrayOutput) ToUrlMapTestHeaderArrayOutputWithContext(ct return o } +func (o UrlMapTestHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestHeader] { + return pulumix.Output[[]UrlMapTestHeader]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestHeaderArrayOutput) Index(i pulumi.IntInput) UrlMapTestHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTestHeader { return vs[0].([]UrlMapTestHeader)[vs[1].(int)] @@ -43849,6 +50384,12 @@ func (o UrlMapTestHeaderResponseOutput) ToUrlMapTestHeaderResponseOutputWithCont return o } +func (o UrlMapTestHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestHeaderResponse] { + return pulumix.Output[UrlMapTestHeaderResponse]{ + OutputState: o.OutputState, + } +} + // Header name. func (o UrlMapTestHeaderResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v UrlMapTestHeaderResponse) string { return v.Name }).(pulumi.StringOutput) @@ -43873,6 +50414,12 @@ func (o UrlMapTestHeaderResponseArrayOutput) ToUrlMapTestHeaderResponseArrayOutp return o } +func (o UrlMapTestHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestHeaderResponse] { + return pulumix.Output[[]UrlMapTestHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestHeaderResponseArrayOutput) Index(i pulumi.IntInput) UrlMapTestHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTestHeaderResponse { return vs[0].([]UrlMapTestHeaderResponse)[vs[1].(int)] @@ -43912,6 +50459,12 @@ func (o UrlMapTestResponseOutput) ToUrlMapTestResponseOutputWithContext(ctx cont return o } +func (o UrlMapTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlMapTestResponse] { + return pulumix.Output[UrlMapTestResponse]{ + OutputState: o.OutputState, + } +} + // Description of this test case. func (o UrlMapTestResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v UrlMapTestResponse) string { return v.Description }).(pulumi.StringOutput) @@ -43961,6 +50514,12 @@ func (o UrlMapTestResponseArrayOutput) ToUrlMapTestResponseArrayOutputWithContex return o } +func (o UrlMapTestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UrlMapTestResponse] { + return pulumix.Output[[]UrlMapTestResponse]{ + OutputState: o.OutputState, + } +} + func (o UrlMapTestResponseArrayOutput) Index(i pulumi.IntInput) UrlMapTestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UrlMapTestResponse { return vs[0].([]UrlMapTestResponse)[vs[1].(int)] @@ -44010,6 +50569,12 @@ func (i UrlRewriteArgs) ToUrlRewriteOutputWithContext(ctx context.Context) UrlRe return pulumi.ToOutputWithContext(ctx, i).(UrlRewriteOutput) } +func (i UrlRewriteArgs) ToOutput(ctx context.Context) pulumix.Output[UrlRewrite] { + return pulumix.Output[UrlRewrite]{ + OutputState: i.ToUrlRewriteOutputWithContext(ctx).OutputState, + } +} + func (i UrlRewriteArgs) ToUrlRewritePtrOutput() UrlRewritePtrOutput { return i.ToUrlRewritePtrOutputWithContext(context.Background()) } @@ -44051,6 +50616,12 @@ func (i *urlRewritePtrType) ToUrlRewritePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(UrlRewritePtrOutput) } +func (i *urlRewritePtrType) ToOutput(ctx context.Context) pulumix.Output[*UrlRewrite] { + return pulumix.Output[*UrlRewrite]{ + OutputState: i.ToUrlRewritePtrOutputWithContext(ctx).OutputState, + } +} + // The spec for modifying the path before sending the request to the matched backend service. type UrlRewriteOutput struct{ *pulumi.OutputState } @@ -44076,6 +50647,12 @@ func (o UrlRewriteOutput) ToUrlRewritePtrOutputWithContext(ctx context.Context) }).(UrlRewritePtrOutput) } +func (o UrlRewriteOutput) ToOutput(ctx context.Context) pulumix.Output[UrlRewrite] { + return pulumix.Output[UrlRewrite]{ + OutputState: o.OutputState, + } +} + // Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. func (o UrlRewriteOutput) HostRewrite() pulumi.StringPtrOutput { return o.ApplyT(func(v UrlRewrite) *string { return v.HostRewrite }).(pulumi.StringPtrOutput) @@ -44105,6 +50682,12 @@ func (o UrlRewritePtrOutput) ToUrlRewritePtrOutputWithContext(ctx context.Contex return o } +func (o UrlRewritePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlRewrite] { + return pulumix.Output[*UrlRewrite]{ + OutputState: o.OutputState, + } +} + func (o UrlRewritePtrOutput) Elem() UrlRewriteOutput { return o.ApplyT(func(v *UrlRewrite) UrlRewrite { if v != nil { @@ -44170,6 +50753,12 @@ func (o UrlRewriteResponseOutput) ToUrlRewriteResponseOutputWithContext(ctx cont return o } +func (o UrlRewriteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UrlRewriteResponse] { + return pulumix.Output[UrlRewriteResponse]{ + OutputState: o.OutputState, + } +} + // Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. func (o UrlRewriteResponseOutput) HostRewrite() pulumi.StringOutput { return o.ApplyT(func(v UrlRewriteResponse) string { return v.HostRewrite }).(pulumi.StringOutput) @@ -44220,6 +50809,12 @@ func (i VpnGatewayVpnGatewayInterfaceArgs) ToVpnGatewayVpnGatewayInterfaceOutput return pulumi.ToOutputWithContext(ctx, i).(VpnGatewayVpnGatewayInterfaceOutput) } +func (i VpnGatewayVpnGatewayInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayVpnGatewayInterface] { + return pulumix.Output[VpnGatewayVpnGatewayInterface]{ + OutputState: i.ToVpnGatewayVpnGatewayInterfaceOutputWithContext(ctx).OutputState, + } +} + // VpnGatewayVpnGatewayInterfaceArrayInput is an input type that accepts VpnGatewayVpnGatewayInterfaceArray and VpnGatewayVpnGatewayInterfaceArrayOutput values. // You can construct a concrete instance of `VpnGatewayVpnGatewayInterfaceArrayInput` via: // @@ -44245,6 +50840,12 @@ func (i VpnGatewayVpnGatewayInterfaceArray) ToVpnGatewayVpnGatewayInterfaceArray return pulumi.ToOutputWithContext(ctx, i).(VpnGatewayVpnGatewayInterfaceArrayOutput) } +func (i VpnGatewayVpnGatewayInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]VpnGatewayVpnGatewayInterface] { + return pulumix.Output[[]VpnGatewayVpnGatewayInterface]{ + OutputState: i.ToVpnGatewayVpnGatewayInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // A VPN gateway interface. type VpnGatewayVpnGatewayInterfaceOutput struct{ *pulumi.OutputState } @@ -44260,6 +50861,12 @@ func (o VpnGatewayVpnGatewayInterfaceOutput) ToVpnGatewayVpnGatewayInterfaceOutp return o } +func (o VpnGatewayVpnGatewayInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayVpnGatewayInterface] { + return pulumix.Output[VpnGatewayVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + // URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. func (o VpnGatewayVpnGatewayInterfaceOutput) InterconnectAttachment() pulumi.StringPtrOutput { return o.ApplyT(func(v VpnGatewayVpnGatewayInterface) *string { return v.InterconnectAttachment }).(pulumi.StringPtrOutput) @@ -44279,6 +50886,12 @@ func (o VpnGatewayVpnGatewayInterfaceArrayOutput) ToVpnGatewayVpnGatewayInterfac return o } +func (o VpnGatewayVpnGatewayInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VpnGatewayVpnGatewayInterface] { + return pulumix.Output[[]VpnGatewayVpnGatewayInterface]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayVpnGatewayInterfaceArrayOutput) Index(i pulumi.IntInput) VpnGatewayVpnGatewayInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpnGatewayVpnGatewayInterface { return vs[0].([]VpnGatewayVpnGatewayInterface)[vs[1].(int)] @@ -44308,6 +50921,12 @@ func (o VpnGatewayVpnGatewayInterfaceResponseOutput) ToVpnGatewayVpnGatewayInter return o } +func (o VpnGatewayVpnGatewayInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayVpnGatewayInterfaceResponse] { + return pulumix.Output[VpnGatewayVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. func (o VpnGatewayVpnGatewayInterfaceResponseOutput) InterconnectAttachment() pulumi.StringOutput { return o.ApplyT(func(v VpnGatewayVpnGatewayInterfaceResponse) string { return v.InterconnectAttachment }).(pulumi.StringOutput) @@ -44332,6 +50951,12 @@ func (o VpnGatewayVpnGatewayInterfaceResponseArrayOutput) ToVpnGatewayVpnGateway return o } +func (o VpnGatewayVpnGatewayInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VpnGatewayVpnGatewayInterfaceResponse] { + return pulumix.Output[[]VpnGatewayVpnGatewayInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o VpnGatewayVpnGatewayInterfaceResponseArrayOutput) Index(i pulumi.IntInput) VpnGatewayVpnGatewayInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpnGatewayVpnGatewayInterfaceResponse { return vs[0].([]VpnGatewayVpnGatewayInterfaceResponse)[vs[1].(int)] @@ -44381,6 +51006,12 @@ func (i WeightedBackendServiceArgs) ToWeightedBackendServiceOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(WeightedBackendServiceOutput) } +func (i WeightedBackendServiceArgs) ToOutput(ctx context.Context) pulumix.Output[WeightedBackendService] { + return pulumix.Output[WeightedBackendService]{ + OutputState: i.ToWeightedBackendServiceOutputWithContext(ctx).OutputState, + } +} + // WeightedBackendServiceArrayInput is an input type that accepts WeightedBackendServiceArray and WeightedBackendServiceArrayOutput values. // You can construct a concrete instance of `WeightedBackendServiceArrayInput` via: // @@ -44406,6 +51037,12 @@ func (i WeightedBackendServiceArray) ToWeightedBackendServiceArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(WeightedBackendServiceArrayOutput) } +func (i WeightedBackendServiceArray) ToOutput(ctx context.Context) pulumix.Output[[]WeightedBackendService] { + return pulumix.Output[[]WeightedBackendService]{ + OutputState: i.ToWeightedBackendServiceArrayOutputWithContext(ctx).OutputState, + } +} + // In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple backend services. The volume of traffic for each backend service is proportional to the weight specified in each WeightedBackendService type WeightedBackendServiceOutput struct{ *pulumi.OutputState } @@ -44421,6 +51058,12 @@ func (o WeightedBackendServiceOutput) ToWeightedBackendServiceOutputWithContext( return o } +func (o WeightedBackendServiceOutput) ToOutput(ctx context.Context) pulumix.Output[WeightedBackendService] { + return pulumix.Output[WeightedBackendService]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight. func (o WeightedBackendServiceOutput) BackendService() pulumi.StringPtrOutput { return o.ApplyT(func(v WeightedBackendService) *string { return v.BackendService }).(pulumi.StringPtrOutput) @@ -44450,6 +51093,12 @@ func (o WeightedBackendServiceArrayOutput) ToWeightedBackendServiceArrayOutputWi return o } +func (o WeightedBackendServiceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeightedBackendService] { + return pulumix.Output[[]WeightedBackendService]{ + OutputState: o.OutputState, + } +} + func (o WeightedBackendServiceArrayOutput) Index(i pulumi.IntInput) WeightedBackendServiceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeightedBackendService { return vs[0].([]WeightedBackendService)[vs[1].(int)] @@ -44481,6 +51130,12 @@ func (o WeightedBackendServiceResponseOutput) ToWeightedBackendServiceResponseOu return o } +func (o WeightedBackendServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeightedBackendServiceResponse] { + return pulumix.Output[WeightedBackendServiceResponse]{ + OutputState: o.OutputState, + } +} + // The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight. func (o WeightedBackendServiceResponseOutput) BackendService() pulumi.StringOutput { return o.ApplyT(func(v WeightedBackendServiceResponse) string { return v.BackendService }).(pulumi.StringOutput) @@ -44510,6 +51165,12 @@ func (o WeightedBackendServiceResponseArrayOutput) ToWeightedBackendServiceRespo return o } +func (o WeightedBackendServiceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeightedBackendServiceResponse] { + return pulumix.Output[[]WeightedBackendServiceResponse]{ + OutputState: o.OutputState, + } +} + func (o WeightedBackendServiceResponseArrayOutput) Index(i pulumi.IntInput) WeightedBackendServiceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeightedBackendServiceResponse { return vs[0].([]WeightedBackendServiceResponse)[vs[1].(int)] diff --git a/sdk/go/google/compute/v1/regionAutoscaler.go b/sdk/go/google/compute/v1/regionAutoscaler.go index 33446695ce..f1703db6cb 100644 --- a/sdk/go/google/compute/v1/regionAutoscaler.go +++ b/sdk/go/google/compute/v1/regionAutoscaler.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an autoscaler in the specified project using the data included in the request. @@ -147,6 +148,12 @@ func (i *RegionAutoscaler) ToRegionAutoscalerOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RegionAutoscalerOutput) } +func (i *RegionAutoscaler) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscaler] { + return pulumix.Output[*RegionAutoscaler]{ + OutputState: i.ToRegionAutoscalerOutputWithContext(ctx).OutputState, + } +} + type RegionAutoscalerOutput struct{ *pulumi.OutputState } func (RegionAutoscalerOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o RegionAutoscalerOutput) ToRegionAutoscalerOutputWithContext(ctx context. return o } +func (o RegionAutoscalerOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscaler] { + return pulumix.Output[*RegionAutoscaler]{ + OutputState: o.OutputState, + } +} + // The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. func (o RegionAutoscalerOutput) AutoscalingPolicy() AutoscalingPolicyResponseOutput { return o.ApplyT(func(v *RegionAutoscaler) AutoscalingPolicyResponseOutput { return v.AutoscalingPolicy }).(AutoscalingPolicyResponseOutput) diff --git a/sdk/go/google/compute/v1/regionBackendService.go b/sdk/go/google/compute/v1/regionBackendService.go index 2e27dea2ad..fbad3f61c9 100644 --- a/sdk/go/google/compute/v1/regionBackendService.go +++ b/sdk/go/google/compute/v1/regionBackendService.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview. @@ -308,6 +309,12 @@ func (i *RegionBackendService) ToRegionBackendServiceOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceOutput) } +func (i *RegionBackendService) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendService] { + return pulumix.Output[*RegionBackendService]{ + OutputState: i.ToRegionBackendServiceOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceOutput struct{ *pulumi.OutputState } func (RegionBackendServiceOutput) ElementType() reflect.Type { @@ -322,6 +329,12 @@ func (o RegionBackendServiceOutput) ToRegionBackendServiceOutputWithContext(ctx return o } +func (o RegionBackendServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendService] { + return pulumix.Output[*RegionBackendService]{ + OutputState: o.OutputState, + } +} + // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. func (o RegionBackendServiceOutput) AffinityCookieTtlSec() pulumi.IntOutput { return o.ApplyT(func(v *RegionBackendService) pulumi.IntOutput { return v.AffinityCookieTtlSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/regionBackendServiceIamBinding.go b/sdk/go/google/compute/v1/regionBackendServiceIamBinding.go index 807b4493c1..0ef8a50e2f 100644 --- a/sdk/go/google/compute/v1/regionBackendServiceIamBinding.go +++ b/sdk/go/google/compute/v1/regionBackendServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionBackendServiceIamBinding) ToRegionBackendServiceIamBindingOutputW return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceIamBindingOutput) } +func (i *RegionBackendServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamBinding] { + return pulumix.Output[*RegionBackendServiceIamBinding]{ + OutputState: i.ToRegionBackendServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceIamBindingOutput struct{ *pulumi.OutputState } func (RegionBackendServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionBackendServiceIamBindingOutput) ToRegionBackendServiceIamBindingOu return o } +func (o RegionBackendServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamBinding] { + return pulumix.Output[*RegionBackendServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionBackendServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionBackendServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/regionBackendServiceIamMember.go b/sdk/go/google/compute/v1/regionBackendServiceIamMember.go index 93340b6b12..ca890f0d5f 100644 --- a/sdk/go/google/compute/v1/regionBackendServiceIamMember.go +++ b/sdk/go/google/compute/v1/regionBackendServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionBackendServiceIamMember) ToRegionBackendServiceIamMemberOutputWit return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceIamMemberOutput) } +func (i *RegionBackendServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamMember] { + return pulumix.Output[*RegionBackendServiceIamMember]{ + OutputState: i.ToRegionBackendServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceIamMemberOutput struct{ *pulumi.OutputState } func (RegionBackendServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionBackendServiceIamMemberOutput) ToRegionBackendServiceIamMemberOutp return o } +func (o RegionBackendServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamMember] { + return pulumix.Output[*RegionBackendServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionBackendServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionBackendServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/regionBackendServiceIamPolicy.go b/sdk/go/google/compute/v1/regionBackendServiceIamPolicy.go index bb9092b833..729bd33549 100644 --- a/sdk/go/google/compute/v1/regionBackendServiceIamPolicy.go +++ b/sdk/go/google/compute/v1/regionBackendServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionBackendServiceIamPolicy) ToRegionBackendServiceIamPolicyOutputWit return pulumi.ToOutputWithContext(ctx, i).(RegionBackendServiceIamPolicyOutput) } +func (i *RegionBackendServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamPolicy] { + return pulumix.Output[*RegionBackendServiceIamPolicy]{ + OutputState: i.ToRegionBackendServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionBackendServiceIamPolicyOutput struct{ *pulumi.OutputState } func (RegionBackendServiceIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionBackendServiceIamPolicyOutput) ToRegionBackendServiceIamPolicyOutp return o } +func (o RegionBackendServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionBackendServiceIamPolicy] { + return pulumix.Output[*RegionBackendServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionBackendServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionBackendServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/regionCommitment.go b/sdk/go/google/compute/v1/regionCommitment.go index 08b964450c..eae7d1ac43 100644 --- a/sdk/go/google/compute/v1/regionCommitment.go +++ b/sdk/go/google/compute/v1/regionCommitment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a commitment in the specified project using the data included in the request. @@ -189,6 +190,12 @@ func (i *RegionCommitment) ToRegionCommitmentOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RegionCommitmentOutput) } +func (i *RegionCommitment) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitment] { + return pulumix.Output[*RegionCommitment]{ + OutputState: i.ToRegionCommitmentOutputWithContext(ctx).OutputState, + } +} + type RegionCommitmentOutput struct{ *pulumi.OutputState } func (RegionCommitmentOutput) ElementType() reflect.Type { @@ -203,6 +210,12 @@ func (o RegionCommitmentOutput) ToRegionCommitmentOutputWithContext(ctx context. return o } +func (o RegionCommitmentOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionCommitment] { + return pulumix.Output[*RegionCommitment]{ + OutputState: o.OutputState, + } +} + // Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment. func (o RegionCommitmentOutput) AutoRenew() pulumi.BoolOutput { return o.ApplyT(func(v *RegionCommitment) pulumi.BoolOutput { return v.AutoRenew }).(pulumi.BoolOutput) diff --git a/sdk/go/google/compute/v1/regionDisk.go b/sdk/go/google/compute/v1/regionDisk.go index d49f60bb95..45e23e0c3a 100644 --- a/sdk/go/google/compute/v1/regionDisk.go +++ b/sdk/go/google/compute/v1/regionDisk.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a persistent regional disk in the specified project using the data included in the request. @@ -291,6 +292,12 @@ func (i *RegionDisk) ToRegionDiskOutputWithContext(ctx context.Context) RegionDi return pulumi.ToOutputWithContext(ctx, i).(RegionDiskOutput) } +func (i *RegionDisk) ToOutput(ctx context.Context) pulumix.Output[*RegionDisk] { + return pulumix.Output[*RegionDisk]{ + OutputState: i.ToRegionDiskOutputWithContext(ctx).OutputState, + } +} + type RegionDiskOutput struct{ *pulumi.OutputState } func (RegionDiskOutput) ElementType() reflect.Type { @@ -305,6 +312,12 @@ func (o RegionDiskOutput) ToRegionDiskOutputWithContext(ctx context.Context) Reg return o } +func (o RegionDiskOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDisk] { + return pulumix.Output[*RegionDisk]{ + OutputState: o.OutputState, + } +} + // The architecture of the disk. Valid values are ARM64 or X86_64. func (o RegionDiskOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *RegionDisk) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/regionDiskIamBinding.go b/sdk/go/google/compute/v1/regionDiskIamBinding.go index b6c1280a95..8015963dcd 100644 --- a/sdk/go/google/compute/v1/regionDiskIamBinding.go +++ b/sdk/go/google/compute/v1/regionDiskIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionDiskIamBinding) ToRegionDiskIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionDiskIamBindingOutput) } +func (i *RegionDiskIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamBinding] { + return pulumix.Output[*RegionDiskIamBinding]{ + OutputState: i.ToRegionDiskIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionDiskIamBindingOutput struct{ *pulumi.OutputState } func (RegionDiskIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionDiskIamBindingOutput) ToRegionDiskIamBindingOutputWithContext(ctx return o } +func (o RegionDiskIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamBinding] { + return pulumix.Output[*RegionDiskIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionDiskIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionDiskIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/regionDiskIamMember.go b/sdk/go/google/compute/v1/regionDiskIamMember.go index 6c94604d16..3a409e8f3b 100644 --- a/sdk/go/google/compute/v1/regionDiskIamMember.go +++ b/sdk/go/google/compute/v1/regionDiskIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionDiskIamMember) ToRegionDiskIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RegionDiskIamMemberOutput) } +func (i *RegionDiskIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamMember] { + return pulumix.Output[*RegionDiskIamMember]{ + OutputState: i.ToRegionDiskIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionDiskIamMemberOutput struct{ *pulumi.OutputState } func (RegionDiskIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionDiskIamMemberOutput) ToRegionDiskIamMemberOutputWithContext(ctx co return o } +func (o RegionDiskIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamMember] { + return pulumix.Output[*RegionDiskIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionDiskIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionDiskIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/regionDiskIamPolicy.go b/sdk/go/google/compute/v1/regionDiskIamPolicy.go index e123db207a..ef20eceafd 100644 --- a/sdk/go/google/compute/v1/regionDiskIamPolicy.go +++ b/sdk/go/google/compute/v1/regionDiskIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionDiskIamPolicy) ToRegionDiskIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RegionDiskIamPolicyOutput) } +func (i *RegionDiskIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamPolicy] { + return pulumix.Output[*RegionDiskIamPolicy]{ + OutputState: i.ToRegionDiskIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionDiskIamPolicyOutput struct{ *pulumi.OutputState } func (RegionDiskIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionDiskIamPolicyOutput) ToRegionDiskIamPolicyOutputWithContext(ctx co return o } +func (o RegionDiskIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionDiskIamPolicy] { + return pulumix.Output[*RegionDiskIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionDiskIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionDiskIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/regionHealthCheck.go b/sdk/go/google/compute/v1/regionHealthCheck.go index 85ec90e5f5..ad78c4f196 100644 --- a/sdk/go/google/compute/v1/regionHealthCheck.go +++ b/sdk/go/google/compute/v1/regionHealthCheck.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a HealthCheck resource in the specified project using the data included in the request. @@ -183,6 +184,12 @@ func (i *RegionHealthCheck) ToRegionHealthCheckOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RegionHealthCheckOutput) } +func (i *RegionHealthCheck) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheck] { + return pulumix.Output[*RegionHealthCheck]{ + OutputState: i.ToRegionHealthCheckOutputWithContext(ctx).OutputState, + } +} + type RegionHealthCheckOutput struct{ *pulumi.OutputState } func (RegionHealthCheckOutput) ElementType() reflect.Type { @@ -197,6 +204,12 @@ func (o RegionHealthCheckOutput) ToRegionHealthCheckOutputWithContext(ctx contex return o } +func (o RegionHealthCheckOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheck] { + return pulumix.Output[*RegionHealthCheck]{ + OutputState: o.OutputState, + } +} + // How often (in seconds) to send a health check. The default value is 5 seconds. func (o RegionHealthCheckOutput) CheckIntervalSec() pulumi.IntOutput { return o.ApplyT(func(v *RegionHealthCheck) pulumi.IntOutput { return v.CheckIntervalSec }).(pulumi.IntOutput) diff --git a/sdk/go/google/compute/v1/regionHealthCheckService.go b/sdk/go/google/compute/v1/regionHealthCheckService.go index 383e132879..233efd0d65 100644 --- a/sdk/go/google/compute/v1/regionHealthCheckService.go +++ b/sdk/go/google/compute/v1/regionHealthCheckService.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a regional HealthCheckService resource in the specified project and region using the data included in the request. @@ -151,6 +152,12 @@ func (i *RegionHealthCheckService) ToRegionHealthCheckServiceOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RegionHealthCheckServiceOutput) } +func (i *RegionHealthCheckService) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckService] { + return pulumix.Output[*RegionHealthCheckService]{ + OutputState: i.ToRegionHealthCheckServiceOutputWithContext(ctx).OutputState, + } +} + type RegionHealthCheckServiceOutput struct{ *pulumi.OutputState } func (RegionHealthCheckServiceOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o RegionHealthCheckServiceOutput) ToRegionHealthCheckServiceOutputWithCont return o } +func (o RegionHealthCheckServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionHealthCheckService] { + return pulumix.Output[*RegionHealthCheckService]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionHealthCheckServiceOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionHealthCheckService) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/regionInstanceGroupManager.go b/sdk/go/google/compute/v1/regionInstanceGroupManager.go index 05ad20f263..843f843bf1 100644 --- a/sdk/go/google/compute/v1/regionInstanceGroupManager.go +++ b/sdk/go/google/compute/v1/regionInstanceGroupManager.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances. @@ -201,6 +202,12 @@ func (i *RegionInstanceGroupManager) ToRegionInstanceGroupManagerOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RegionInstanceGroupManagerOutput) } +func (i *RegionInstanceGroupManager) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManager] { + return pulumix.Output[*RegionInstanceGroupManager]{ + OutputState: i.ToRegionInstanceGroupManagerOutputWithContext(ctx).OutputState, + } +} + type RegionInstanceGroupManagerOutput struct{ *pulumi.OutputState } func (RegionInstanceGroupManagerOutput) ElementType() reflect.Type { @@ -215,6 +222,12 @@ func (o RegionInstanceGroupManagerOutput) ToRegionInstanceGroupManagerOutputWith return o } +func (o RegionInstanceGroupManagerOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceGroupManager] { + return pulumix.Output[*RegionInstanceGroupManager]{ + OutputState: o.OutputState, + } +} + // The autohealing policy for this managed instance group. You can specify only one value. func (o RegionInstanceGroupManagerOutput) AutoHealingPolicies() InstanceGroupManagerAutoHealingPolicyResponseArrayOutput { return o.ApplyT(func(v *RegionInstanceGroupManager) InstanceGroupManagerAutoHealingPolicyResponseArrayOutput { diff --git a/sdk/go/google/compute/v1/regionInstanceTemplate.go b/sdk/go/google/compute/v1/regionInstanceTemplate.go index c9c6cde398..41b2cbbbe4 100644 --- a/sdk/go/google/compute/v1/regionInstanceTemplate.go +++ b/sdk/go/google/compute/v1/regionInstanceTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance template in the specified project and region using the global instance template whose URL is included in the request. @@ -143,6 +144,12 @@ func (i *RegionInstanceTemplate) ToRegionInstanceTemplateOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionInstanceTemplateOutput) } +func (i *RegionInstanceTemplate) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceTemplate] { + return pulumix.Output[*RegionInstanceTemplate]{ + OutputState: i.ToRegionInstanceTemplateOutputWithContext(ctx).OutputState, + } +} + type RegionInstanceTemplateOutput struct{ *pulumi.OutputState } func (RegionInstanceTemplateOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o RegionInstanceTemplateOutput) ToRegionInstanceTemplateOutputWithContext( return o } +func (o RegionInstanceTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionInstanceTemplate] { + return pulumix.Output[*RegionInstanceTemplate]{ + OutputState: o.OutputState, + } +} + // The creation timestamp for this instance template in RFC3339 text format. func (o RegionInstanceTemplateOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionInstanceTemplate) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/regionNetworkEndpointGroup.go b/sdk/go/google/compute/v1/regionNetworkEndpointGroup.go index 4d75314f12..619cf94a67 100644 --- a/sdk/go/google/compute/v1/regionNetworkEndpointGroup.go +++ b/sdk/go/google/compute/v1/regionNetworkEndpointGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a network endpoint group in the specified project using the parameters that are included in the request. @@ -186,6 +187,12 @@ func (i *RegionNetworkEndpointGroup) ToRegionNetworkEndpointGroupOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkEndpointGroupOutput) } +func (i *RegionNetworkEndpointGroup) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroup] { + return pulumix.Output[*RegionNetworkEndpointGroup]{ + OutputState: i.ToRegionNetworkEndpointGroupOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkEndpointGroupOutput struct{ *pulumi.OutputState } func (RegionNetworkEndpointGroupOutput) ElementType() reflect.Type { @@ -200,6 +207,12 @@ func (o RegionNetworkEndpointGroupOutput) ToRegionNetworkEndpointGroupOutputWith return o } +func (o RegionNetworkEndpointGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkEndpointGroup] { + return pulumix.Output[*RegionNetworkEndpointGroup]{ + OutputState: o.OutputState, + } +} + // Metadata defined as annotations on the network endpoint group. func (o RegionNetworkEndpointGroupOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *RegionNetworkEndpointGroup) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/compute/v1/regionNetworkFirewallPolicy.go b/sdk/go/google/compute/v1/regionNetworkFirewallPolicy.go index 52046b88bc..552d8aea3e 100644 --- a/sdk/go/google/compute/v1/regionNetworkFirewallPolicy.go +++ b/sdk/go/google/compute/v1/regionNetworkFirewallPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new network firewall policy in the specified project and region. @@ -163,6 +164,12 @@ func (i *RegionNetworkFirewallPolicy) ToRegionNetworkFirewallPolicyOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyOutput) } +func (i *RegionNetworkFirewallPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicy]{ + OutputState: i.ToRegionNetworkFirewallPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o RegionNetworkFirewallPolicyOutput) ToRegionNetworkFirewallPolicyOutputWi return o } +func (o RegionNetworkFirewallPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicy]{ + OutputState: o.OutputState, + } +} + // A list of associations that belong to this firewall policy. func (o RegionNetworkFirewallPolicyOutput) Associations() FirewallPolicyAssociationResponseArrayOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicy) FirewallPolicyAssociationResponseArrayOutput { diff --git a/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamBinding.go b/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamBinding.go index ffb11aa7cd..5f925886eb 100644 --- a/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamBinding.go +++ b/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionNetworkFirewallPolicyIamBinding) ToRegionNetworkFirewallPolicyIam return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyIamBindingOutput) } +func (i *RegionNetworkFirewallPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamBinding] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamBinding]{ + OutputState: i.ToRegionNetworkFirewallPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyIamBindingOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionNetworkFirewallPolicyIamBindingOutput) ToRegionNetworkFirewallPoli return o } +func (o RegionNetworkFirewallPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamBinding] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionNetworkFirewallPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamMember.go b/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamMember.go index b0a58d060d..60a7fcc52e 100644 --- a/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamMember.go +++ b/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RegionNetworkFirewallPolicyIamMember) ToRegionNetworkFirewallPolicyIamM return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyIamMemberOutput) } +func (i *RegionNetworkFirewallPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamMember] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamMember]{ + OutputState: i.ToRegionNetworkFirewallPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyIamMemberOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionNetworkFirewallPolicyIamMemberOutput) ToRegionNetworkFirewallPolic return o } +func (o RegionNetworkFirewallPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamMember] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionNetworkFirewallPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamPolicy.go b/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamPolicy.go index 67d4729c3e..c738a6a745 100644 --- a/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamPolicy.go +++ b/sdk/go/google/compute/v1/regionNetworkFirewallPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *RegionNetworkFirewallPolicyIamPolicy) ToRegionNetworkFirewallPolicyIamP return pulumi.ToOutputWithContext(ctx, i).(RegionNetworkFirewallPolicyIamPolicyOutput) } +func (i *RegionNetworkFirewallPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy]{ + OutputState: i.ToRegionNetworkFirewallPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionNetworkFirewallPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (RegionNetworkFirewallPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o RegionNetworkFirewallPolicyIamPolicyOutput) ToRegionNetworkFirewallPolic return o } +func (o RegionNetworkFirewallPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy] { + return pulumix.Output[*RegionNetworkFirewallPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegionNetworkFirewallPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegionNetworkFirewallPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/regionNotificationEndpoint.go b/sdk/go/google/compute/v1/regionNotificationEndpoint.go index 9a211a15e7..74b061f42c 100644 --- a/sdk/go/google/compute/v1/regionNotificationEndpoint.go +++ b/sdk/go/google/compute/v1/regionNotificationEndpoint.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. @@ -131,6 +132,12 @@ func (i *RegionNotificationEndpoint) ToRegionNotificationEndpointOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RegionNotificationEndpointOutput) } +func (i *RegionNotificationEndpoint) ToOutput(ctx context.Context) pulumix.Output[*RegionNotificationEndpoint] { + return pulumix.Output[*RegionNotificationEndpoint]{ + OutputState: i.ToRegionNotificationEndpointOutputWithContext(ctx).OutputState, + } +} + type RegionNotificationEndpointOutput struct{ *pulumi.OutputState } func (RegionNotificationEndpointOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o RegionNotificationEndpointOutput) ToRegionNotificationEndpointOutputWith return o } +func (o RegionNotificationEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionNotificationEndpoint] { + return pulumix.Output[*RegionNotificationEndpoint]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionNotificationEndpointOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionNotificationEndpoint) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/regionSecurityPolicy.go b/sdk/go/google/compute/v1/regionSecurityPolicy.go index 49264bdb52..3dbf17c186 100644 --- a/sdk/go/google/compute/v1/regionSecurityPolicy.go +++ b/sdk/go/google/compute/v1/regionSecurityPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -159,6 +160,12 @@ func (i *RegionSecurityPolicy) ToRegionSecurityPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionSecurityPolicyOutput) } +func (i *RegionSecurityPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicy] { + return pulumix.Output[*RegionSecurityPolicy]{ + OutputState: i.ToRegionSecurityPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionSecurityPolicyOutput struct{ *pulumi.OutputState } func (RegionSecurityPolicyOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o RegionSecurityPolicyOutput) ToRegionSecurityPolicyOutputWithContext(ctx return o } +func (o RegionSecurityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSecurityPolicy] { + return pulumix.Output[*RegionSecurityPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionSecurityPolicyOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v *RegionSecurityPolicy) SecurityPolicyAdaptiveProtectionConfigResponseOutput { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/v1/regionSslCertificate.go b/sdk/go/google/compute/v1/regionSslCertificate.go index f4e7038637..eb64f91dc6 100644 --- a/sdk/go/google/compute/v1/regionSslCertificate.go +++ b/sdk/go/google/compute/v1/regionSslCertificate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a SslCertificate resource in the specified project and region using the data included in the request @@ -159,6 +160,12 @@ func (i *RegionSslCertificate) ToRegionSslCertificateOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionSslCertificateOutput) } +func (i *RegionSslCertificate) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificate] { + return pulumix.Output[*RegionSslCertificate]{ + OutputState: i.ToRegionSslCertificateOutputWithContext(ctx).OutputState, + } +} + type RegionSslCertificateOutput struct{ *pulumi.OutputState } func (RegionSslCertificateOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o RegionSslCertificateOutput) ToRegionSslCertificateOutputWithContext(ctx return o } +func (o RegionSslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslCertificate] { + return pulumix.Output[*RegionSslCertificate]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o RegionSslCertificateOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v *RegionSslCertificate) pulumi.StringOutput { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/regionSslPolicy.go b/sdk/go/google/compute/v1/regionSslPolicy.go index 0c8cc99449..be4b650a48 100644 --- a/sdk/go/google/compute/v1/regionSslPolicy.go +++ b/sdk/go/google/compute/v1/regionSslPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project and region using the data included in the request. @@ -149,6 +150,12 @@ func (i *RegionSslPolicy) ToRegionSslPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RegionSslPolicyOutput) } +func (i *RegionSslPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicy] { + return pulumix.Output[*RegionSslPolicy]{ + OutputState: i.ToRegionSslPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionSslPolicyOutput struct{ *pulumi.OutputState } func (RegionSslPolicyOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o RegionSslPolicyOutput) ToRegionSslPolicyOutputWithContext(ctx context.Co return o } +func (o RegionSslPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionSslPolicy] { + return pulumix.Output[*RegionSslPolicy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionSslPolicyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionSslPolicy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/regionTargetHttpProxy.go b/sdk/go/google/compute/v1/regionTargetHttpProxy.go index 8b4b323c88..6d458a368a 100644 --- a/sdk/go/google/compute/v1/regionTargetHttpProxy.go +++ b/sdk/go/google/compute/v1/regionTargetHttpProxy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpProxy resource in the specified project and region using the data included in the request. @@ -139,6 +140,12 @@ func (i *RegionTargetHttpProxy) ToRegionTargetHttpProxyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegionTargetHttpProxyOutput) } +func (i *RegionTargetHttpProxy) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpProxy] { + return pulumix.Output[*RegionTargetHttpProxy]{ + OutputState: i.ToRegionTargetHttpProxyOutputWithContext(ctx).OutputState, + } +} + type RegionTargetHttpProxyOutput struct{ *pulumi.OutputState } func (RegionTargetHttpProxyOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o RegionTargetHttpProxyOutput) ToRegionTargetHttpProxyOutputWithContext(ct return o } +func (o RegionTargetHttpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpProxy] { + return pulumix.Output[*RegionTargetHttpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionTargetHttpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionTargetHttpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/regionTargetHttpsProxy.go b/sdk/go/google/compute/v1/regionTargetHttpsProxy.go index 3ca83da211..3e87809a1b 100644 --- a/sdk/go/google/compute/v1/regionTargetHttpsProxy.go +++ b/sdk/go/google/compute/v1/regionTargetHttpsProxy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request. @@ -175,6 +176,12 @@ func (i *RegionTargetHttpsProxy) ToRegionTargetHttpsProxyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionTargetHttpsProxyOutput) } +func (i *RegionTargetHttpsProxy) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxy] { + return pulumix.Output[*RegionTargetHttpsProxy]{ + OutputState: i.ToRegionTargetHttpsProxyOutputWithContext(ctx).OutputState, + } +} + type RegionTargetHttpsProxyOutput struct{ *pulumi.OutputState } func (RegionTargetHttpsProxyOutput) ElementType() reflect.Type { @@ -189,6 +196,12 @@ func (o RegionTargetHttpsProxyOutput) ToRegionTargetHttpsProxyOutputWithContext( return o } +func (o RegionTargetHttpsProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetHttpsProxy] { + return pulumix.Output[*RegionTargetHttpsProxy]{ + OutputState: o.OutputState, + } +} + // Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact. func (o RegionTargetHttpsProxyOutput) AuthorizationPolicy() pulumi.StringOutput { return o.ApplyT(func(v *RegionTargetHttpsProxy) pulumi.StringOutput { return v.AuthorizationPolicy }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/regionTargetTcpProxy.go b/sdk/go/google/compute/v1/regionTargetTcpProxy.go index ba5a80fe1c..32e3b77e10 100644 --- a/sdk/go/google/compute/v1/regionTargetTcpProxy.go +++ b/sdk/go/google/compute/v1/regionTargetTcpProxy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetTcpProxy resource in the specified project and region using the data included in the request. @@ -143,6 +144,12 @@ func (i *RegionTargetTcpProxy) ToRegionTargetTcpProxyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegionTargetTcpProxyOutput) } +func (i *RegionTargetTcpProxy) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxy] { + return pulumix.Output[*RegionTargetTcpProxy]{ + OutputState: i.ToRegionTargetTcpProxyOutputWithContext(ctx).OutputState, + } +} + type RegionTargetTcpProxyOutput struct{ *pulumi.OutputState } func (RegionTargetTcpProxyOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o RegionTargetTcpProxyOutput) ToRegionTargetTcpProxyOutputWithContext(ctx return o } +func (o RegionTargetTcpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionTargetTcpProxy] { + return pulumix.Output[*RegionTargetTcpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionTargetTcpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionTargetTcpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/regionUrlMap.go b/sdk/go/google/compute/v1/regionUrlMap.go index 4889497009..f5180b3345 100644 --- a/sdk/go/google/compute/v1/regionUrlMap.go +++ b/sdk/go/google/compute/v1/regionUrlMap.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a UrlMap resource in the specified project using the data included in the request. @@ -169,6 +170,12 @@ func (i *RegionUrlMap) ToRegionUrlMapOutputWithContext(ctx context.Context) Regi return pulumi.ToOutputWithContext(ctx, i).(RegionUrlMapOutput) } +func (i *RegionUrlMap) ToOutput(ctx context.Context) pulumix.Output[*RegionUrlMap] { + return pulumix.Output[*RegionUrlMap]{ + OutputState: i.ToRegionUrlMapOutputWithContext(ctx).OutputState, + } +} + type RegionUrlMapOutput struct{ *pulumi.OutputState } func (RegionUrlMapOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o RegionUrlMapOutput) ToRegionUrlMapOutputWithContext(ctx context.Context) return o } +func (o RegionUrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionUrlMap] { + return pulumix.Output[*RegionUrlMap]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o RegionUrlMapOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *RegionUrlMap) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/reservation.go b/sdk/go/google/compute/v1/reservation.go index e8cda5bf89..8a435c09c7 100644 --- a/sdk/go/google/compute/v1/reservation.go +++ b/sdk/go/google/compute/v1/reservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new reservation. For more information, read Reserving zonal resources. @@ -155,6 +156,12 @@ func (i *Reservation) ToReservationOutputWithContext(ctx context.Context) Reserv return pulumi.ToOutputWithContext(ctx, i).(ReservationOutput) } +func (i *Reservation) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: i.ToReservationOutputWithContext(ctx).OutputState, + } +} + type ReservationOutput struct{ *pulumi.OutputState } func (ReservationOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o ReservationOutput) ToReservationOutputWithContext(ctx context.Context) R return o } +func (o ReservationOutput) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: o.OutputState, + } +} + // Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. func (o ReservationOutput) Commitment() pulumi.StringOutput { return o.ApplyT(func(v *Reservation) pulumi.StringOutput { return v.Commitment }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/reservationIamBinding.go b/sdk/go/google/compute/v1/reservationIamBinding.go index 218742de66..3183a74f4e 100644 --- a/sdk/go/google/compute/v1/reservationIamBinding.go +++ b/sdk/go/google/compute/v1/reservationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ReservationIamBinding) ToReservationIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ReservationIamBindingOutput) } +func (i *ReservationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamBinding] { + return pulumix.Output[*ReservationIamBinding]{ + OutputState: i.ToReservationIamBindingOutputWithContext(ctx).OutputState, + } +} + type ReservationIamBindingOutput struct{ *pulumi.OutputState } func (ReservationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ReservationIamBindingOutput) ToReservationIamBindingOutputWithContext(ct return o } +func (o ReservationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamBinding] { + return pulumix.Output[*ReservationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ReservationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ReservationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/reservationIamMember.go b/sdk/go/google/compute/v1/reservationIamMember.go index 2e4d0182ae..5757179e15 100644 --- a/sdk/go/google/compute/v1/reservationIamMember.go +++ b/sdk/go/google/compute/v1/reservationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ReservationIamMember) ToReservationIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ReservationIamMemberOutput) } +func (i *ReservationIamMember) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamMember] { + return pulumix.Output[*ReservationIamMember]{ + OutputState: i.ToReservationIamMemberOutputWithContext(ctx).OutputState, + } +} + type ReservationIamMemberOutput struct{ *pulumi.OutputState } func (ReservationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ReservationIamMemberOutput) ToReservationIamMemberOutputWithContext(ctx return o } +func (o ReservationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamMember] { + return pulumix.Output[*ReservationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ReservationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ReservationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/reservationIamPolicy.go b/sdk/go/google/compute/v1/reservationIamPolicy.go index 6f3c577f28..31388cc343 100644 --- a/sdk/go/google/compute/v1/reservationIamPolicy.go +++ b/sdk/go/google/compute/v1/reservationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -137,6 +138,12 @@ func (i *ReservationIamPolicy) ToReservationIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ReservationIamPolicyOutput) } +func (i *ReservationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamPolicy] { + return pulumix.Output[*ReservationIamPolicy]{ + OutputState: i.ToReservationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ReservationIamPolicyOutput struct{ *pulumi.OutputState } func (ReservationIamPolicyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ReservationIamPolicyOutput) ToReservationIamPolicyOutputWithContext(ctx return o } +func (o ReservationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationIamPolicy] { + return pulumix.Output[*ReservationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ReservationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ReservationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/resourcePolicy.go b/sdk/go/google/compute/v1/resourcePolicy.go index fa00ed39e8..3d8d0466f5 100644 --- a/sdk/go/google/compute/v1/resourcePolicy.go +++ b/sdk/go/google/compute/v1/resourcePolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new resource policy. @@ -144,6 +145,12 @@ func (i *ResourcePolicy) ToResourcePolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyOutput) } +func (i *ResourcePolicy) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicy] { + return pulumix.Output[*ResourcePolicy]{ + OutputState: i.ToResourcePolicyOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyOutput struct{ *pulumi.OutputState } func (ResourcePolicyOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Cont return o } +func (o ResourcePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicy] { + return pulumix.Output[*ResourcePolicy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o ResourcePolicyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *ResourcePolicy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/resourcePolicyIamBinding.go b/sdk/go/google/compute/v1/resourcePolicyIamBinding.go index 4bcbd4b051..7b81c2d6b8 100644 --- a/sdk/go/google/compute/v1/resourcePolicyIamBinding.go +++ b/sdk/go/google/compute/v1/resourcePolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ResourcePolicyIamBinding) ToResourcePolicyIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyIamBindingOutput) } +func (i *ResourcePolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamBinding] { + return pulumix.Output[*ResourcePolicyIamBinding]{ + OutputState: i.ToResourcePolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyIamBindingOutput struct{ *pulumi.OutputState } func (ResourcePolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ResourcePolicyIamBindingOutput) ToResourcePolicyIamBindingOutputWithCont return o } +func (o ResourcePolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamBinding] { + return pulumix.Output[*ResourcePolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ResourcePolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ResourcePolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/resourcePolicyIamMember.go b/sdk/go/google/compute/v1/resourcePolicyIamMember.go index 6d5b4a0adf..18fc3acc5f 100644 --- a/sdk/go/google/compute/v1/resourcePolicyIamMember.go +++ b/sdk/go/google/compute/v1/resourcePolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ResourcePolicyIamMember) ToResourcePolicyIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyIamMemberOutput) } +func (i *ResourcePolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamMember] { + return pulumix.Output[*ResourcePolicyIamMember]{ + OutputState: i.ToResourcePolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyIamMemberOutput struct{ *pulumi.OutputState } func (ResourcePolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ResourcePolicyIamMemberOutput) ToResourcePolicyIamMemberOutputWithContex return o } +func (o ResourcePolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamMember] { + return pulumix.Output[*ResourcePolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ResourcePolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ResourcePolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/resourcePolicyIamPolicy.go b/sdk/go/google/compute/v1/resourcePolicyIamPolicy.go index 701dca361e..1f5ee8e3e8 100644 --- a/sdk/go/google/compute/v1/resourcePolicyIamPolicy.go +++ b/sdk/go/google/compute/v1/resourcePolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *ResourcePolicyIamPolicy) ToResourcePolicyIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourcePolicyIamPolicyOutput) } +func (i *ResourcePolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamPolicy] { + return pulumix.Output[*ResourcePolicyIamPolicy]{ + OutputState: i.ToResourcePolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ResourcePolicyIamPolicyOutput struct{ *pulumi.OutputState } func (ResourcePolicyIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ResourcePolicyIamPolicyOutput) ToResourcePolicyIamPolicyOutputWithContex return o } +func (o ResourcePolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourcePolicyIamPolicy] { + return pulumix.Output[*ResourcePolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ResourcePolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ResourcePolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/route.go b/sdk/go/google/compute/v1/route.go index f01f0f013e..6cf47e0529 100644 --- a/sdk/go/google/compute/v1/route.go +++ b/sdk/go/google/compute/v1/route.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Route resource in the specified project using the data included in the request. @@ -187,6 +188,12 @@ func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput { return pulumi.ToOutputWithContext(ctx, i).(RouteOutput) } +func (i *Route) ToOutput(ctx context.Context) pulumix.Output[*Route] { + return pulumix.Output[*Route]{ + OutputState: i.ToRouteOutputWithContext(ctx).OutputState, + } +} + type RouteOutput struct{ *pulumi.OutputState } func (RouteOutput) ElementType() reflect.Type { @@ -201,6 +208,12 @@ func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput { return o } +func (o RouteOutput) ToOutput(ctx context.Context) pulumix.Output[*Route] { + return pulumix.Output[*Route]{ + OutputState: o.OutputState, + } +} + // AS path. func (o RouteOutput) AsPaths() RouteAsPathResponseArrayOutput { return o.ApplyT(func(v *Route) RouteAsPathResponseArrayOutput { return v.AsPaths }).(RouteAsPathResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/router.go b/sdk/go/google/compute/v1/router.go index c015ca0ce9..0197f6db08 100644 --- a/sdk/go/google/compute/v1/router.go +++ b/sdk/go/google/compute/v1/router.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Router resource in the specified project and region using the data included in the request. @@ -167,6 +168,12 @@ func (i *Router) ToRouterOutputWithContext(ctx context.Context) RouterOutput { return pulumi.ToOutputWithContext(ctx, i).(RouterOutput) } +func (i *Router) ToOutput(ctx context.Context) pulumix.Output[*Router] { + return pulumix.Output[*Router]{ + OutputState: i.ToRouterOutputWithContext(ctx).OutputState, + } +} + type RouterOutput struct{ *pulumi.OutputState } func (RouterOutput) ElementType() reflect.Type { @@ -181,6 +188,12 @@ func (o RouterOutput) ToRouterOutputWithContext(ctx context.Context) RouterOutpu return o } +func (o RouterOutput) ToOutput(ctx context.Context) pulumix.Output[*Router] { + return pulumix.Output[*Router]{ + OutputState: o.OutputState, + } +} + // BGP information specific to this router. func (o RouterOutput) Bgp() RouterBgpResponseOutput { return o.ApplyT(func(v *Router) RouterBgpResponseOutput { return v.Bgp }).(RouterBgpResponseOutput) diff --git a/sdk/go/google/compute/v1/securityPolicy.go b/sdk/go/google/compute/v1/securityPolicy.go index 60e9552061..cd4eb82650 100644 --- a/sdk/go/google/compute/v1/securityPolicy.go +++ b/sdk/go/google/compute/v1/securityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new policy in the specified project using the data included in the request. @@ -153,6 +154,12 @@ func (i *SecurityPolicy) ToSecurityPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecurityPolicyOutput) } +func (i *SecurityPolicy) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicy] { + return pulumix.Output[*SecurityPolicy]{ + OutputState: i.ToSecurityPolicyOutputWithContext(ctx).OutputState, + } +} + type SecurityPolicyOutput struct{ *pulumi.OutputState } func (SecurityPolicyOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o SecurityPolicyOutput) ToSecurityPolicyOutputWithContext(ctx context.Cont return o } +func (o SecurityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityPolicy] { + return pulumix.Output[*SecurityPolicy]{ + OutputState: o.OutputState, + } +} + func (o SecurityPolicyOutput) AdaptiveProtectionConfig() SecurityPolicyAdaptiveProtectionConfigResponseOutput { return o.ApplyT(func(v *SecurityPolicy) SecurityPolicyAdaptiveProtectionConfigResponseOutput { return v.AdaptiveProtectionConfig diff --git a/sdk/go/google/compute/v1/serviceAttachment.go b/sdk/go/google/compute/v1/serviceAttachment.go index d21fb70142..e3a65377c8 100644 --- a/sdk/go/google/compute/v1/serviceAttachment.go +++ b/sdk/go/google/compute/v1/serviceAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request. @@ -185,6 +186,12 @@ func (i *ServiceAttachment) ToServiceAttachmentOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentOutput) } +func (i *ServiceAttachment) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachment] { + return pulumix.Output[*ServiceAttachment]{ + OutputState: i.ToServiceAttachmentOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentOutput struct{ *pulumi.OutputState } func (ServiceAttachmentOutput) ElementType() reflect.Type { @@ -199,6 +206,12 @@ func (o ServiceAttachmentOutput) ToServiceAttachmentOutputWithContext(ctx contex return o } +func (o ServiceAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachment] { + return pulumix.Output[*ServiceAttachment]{ + OutputState: o.OutputState, + } +} + // An array of connections for all the consumers connected to this service attachment. func (o ServiceAttachmentOutput) ConnectedEndpoints() ServiceAttachmentConnectedEndpointResponseArrayOutput { return o.ApplyT(func(v *ServiceAttachment) ServiceAttachmentConnectedEndpointResponseArrayOutput { diff --git a/sdk/go/google/compute/v1/serviceAttachmentIamBinding.go b/sdk/go/google/compute/v1/serviceAttachmentIamBinding.go index 4b7457cca7..e6e703c4f8 100644 --- a/sdk/go/google/compute/v1/serviceAttachmentIamBinding.go +++ b/sdk/go/google/compute/v1/serviceAttachmentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ServiceAttachmentIamBinding) ToServiceAttachmentIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentIamBindingOutput) } +func (i *ServiceAttachmentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamBinding] { + return pulumix.Output[*ServiceAttachmentIamBinding]{ + OutputState: i.ToServiceAttachmentIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentIamBindingOutput struct{ *pulumi.OutputState } func (ServiceAttachmentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceAttachmentIamBindingOutput) ToServiceAttachmentIamBindingOutputWi return o } +func (o ServiceAttachmentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamBinding] { + return pulumix.Output[*ServiceAttachmentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceAttachmentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceAttachmentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/serviceAttachmentIamMember.go b/sdk/go/google/compute/v1/serviceAttachmentIamMember.go index 10affe14e4..7c1b61e9c4 100644 --- a/sdk/go/google/compute/v1/serviceAttachmentIamMember.go +++ b/sdk/go/google/compute/v1/serviceAttachmentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *ServiceAttachmentIamMember) ToServiceAttachmentIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentIamMemberOutput) } +func (i *ServiceAttachmentIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamMember] { + return pulumix.Output[*ServiceAttachmentIamMember]{ + OutputState: i.ToServiceAttachmentIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentIamMemberOutput struct{ *pulumi.OutputState } func (ServiceAttachmentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceAttachmentIamMemberOutput) ToServiceAttachmentIamMemberOutputWith return o } +func (o ServiceAttachmentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamMember] { + return pulumix.Output[*ServiceAttachmentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceAttachmentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceAttachmentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/serviceAttachmentIamPolicy.go b/sdk/go/google/compute/v1/serviceAttachmentIamPolicy.go index e871580ed6..ed0022648b 100644 --- a/sdk/go/google/compute/v1/serviceAttachmentIamPolicy.go +++ b/sdk/go/google/compute/v1/serviceAttachmentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *ServiceAttachmentIamPolicy) ToServiceAttachmentIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ServiceAttachmentIamPolicyOutput) } +func (i *ServiceAttachmentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamPolicy] { + return pulumix.Output[*ServiceAttachmentIamPolicy]{ + OutputState: i.ToServiceAttachmentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceAttachmentIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceAttachmentIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ServiceAttachmentIamPolicyOutput) ToServiceAttachmentIamPolicyOutputWith return o } +func (o ServiceAttachmentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAttachmentIamPolicy] { + return pulumix.Output[*ServiceAttachmentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceAttachmentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceAttachmentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/snapshot.go b/sdk/go/google/compute/v1/snapshot.go index 45312cf6e5..5c002c87f8 100644 --- a/sdk/go/google/compute/v1/snapshot.go +++ b/sdk/go/google/compute/v1/snapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project. @@ -195,6 +196,12 @@ func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutp return pulumi.ToOutputWithContext(ctx, i).(SnapshotOutput) } +func (i *Snapshot) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: i.ToSnapshotOutputWithContext(ctx).OutputState, + } +} + type SnapshotOutput struct{ *pulumi.OutputState } func (SnapshotOutput) ElementType() reflect.Type { @@ -209,6 +216,12 @@ func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) Snapsho return o } +func (o SnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: o.OutputState, + } +} + // The architecture of the snapshot. Valid values are ARM64 or X86_64. func (o SnapshotOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.Architecture }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/snapshotIamBinding.go b/sdk/go/google/compute/v1/snapshotIamBinding.go index b4977c1820..0139d09ec7 100644 --- a/sdk/go/google/compute/v1/snapshotIamBinding.go +++ b/sdk/go/google/compute/v1/snapshotIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SnapshotIamBinding) ToSnapshotIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamBindingOutput) } +func (i *SnapshotIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamBinding] { + return pulumix.Output[*SnapshotIamBinding]{ + OutputState: i.ToSnapshotIamBindingOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamBindingOutput struct{ *pulumi.OutputState } func (SnapshotIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SnapshotIamBindingOutput) ToSnapshotIamBindingOutputWithContext(ctx cont return o } +func (o SnapshotIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamBinding] { + return pulumix.Output[*SnapshotIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SnapshotIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SnapshotIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/snapshotIamMember.go b/sdk/go/google/compute/v1/snapshotIamMember.go index 4f303e4320..ace92eec6f 100644 --- a/sdk/go/google/compute/v1/snapshotIamMember.go +++ b/sdk/go/google/compute/v1/snapshotIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SnapshotIamMember) ToSnapshotIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamMemberOutput) } +func (i *SnapshotIamMember) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamMember] { + return pulumix.Output[*SnapshotIamMember]{ + OutputState: i.ToSnapshotIamMemberOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamMemberOutput struct{ *pulumi.OutputState } func (SnapshotIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SnapshotIamMemberOutput) ToSnapshotIamMemberOutputWithContext(ctx contex return o } +func (o SnapshotIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamMember] { + return pulumix.Output[*SnapshotIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SnapshotIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SnapshotIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/snapshotIamPolicy.go b/sdk/go/google/compute/v1/snapshotIamPolicy.go index ba5c61dba8..90a3ac1a19 100644 --- a/sdk/go/google/compute/v1/snapshotIamPolicy.go +++ b/sdk/go/google/compute/v1/snapshotIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -133,6 +134,12 @@ func (i *SnapshotIamPolicy) ToSnapshotIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamPolicyOutput) } +func (i *SnapshotIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamPolicy] { + return pulumix.Output[*SnapshotIamPolicy]{ + OutputState: i.ToSnapshotIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamPolicyOutput struct{ *pulumi.OutputState } func (SnapshotIamPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o SnapshotIamPolicyOutput) ToSnapshotIamPolicyOutputWithContext(ctx contex return o } +func (o SnapshotIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamPolicy] { + return pulumix.Output[*SnapshotIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o SnapshotIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *SnapshotIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/sslCertificate.go b/sdk/go/google/compute/v1/sslCertificate.go index 77440f1b7d..6e80a0d4c1 100644 --- a/sdk/go/google/compute/v1/sslCertificate.go +++ b/sdk/go/google/compute/v1/sslCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a SslCertificate resource in the specified project using the data included in the request. @@ -153,6 +154,12 @@ func (i *SslCertificate) ToSslCertificateOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SslCertificateOutput) } +func (i *SslCertificate) ToOutput(ctx context.Context) pulumix.Output[*SslCertificate] { + return pulumix.Output[*SslCertificate]{ + OutputState: i.ToSslCertificateOutputWithContext(ctx).OutputState, + } +} + type SslCertificateOutput struct{ *pulumi.OutputState } func (SslCertificateOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o SslCertificateOutput) ToSslCertificateOutputWithContext(ctx context.Cont return o } +func (o SslCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertificate] { + return pulumix.Output[*SslCertificate]{ + OutputState: o.OutputState, + } +} + // A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. func (o SslCertificateOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v *SslCertificate) pulumi.StringOutput { return v.Certificate }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/sslPolicy.go b/sdk/go/google/compute/v1/sslPolicy.go index 6164d4cf74..4c21b5c289 100644 --- a/sdk/go/google/compute/v1/sslPolicy.go +++ b/sdk/go/google/compute/v1/sslPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified SSL policy resource. @@ -143,6 +144,12 @@ func (i *SslPolicy) ToSslPolicyOutputWithContext(ctx context.Context) SslPolicyO return pulumi.ToOutputWithContext(ctx, i).(SslPolicyOutput) } +func (i *SslPolicy) ToOutput(ctx context.Context) pulumix.Output[*SslPolicy] { + return pulumix.Output[*SslPolicy]{ + OutputState: i.ToSslPolicyOutputWithContext(ctx).OutputState, + } +} + type SslPolicyOutput struct{ *pulumi.OutputState } func (SslPolicyOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o SslPolicyOutput) ToSslPolicyOutputWithContext(ctx context.Context) SslPo return o } +func (o SslPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SslPolicy] { + return pulumix.Output[*SslPolicy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o SslPolicyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *SslPolicy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/subnetwork.go b/sdk/go/google/compute/v1/subnetwork.go index 49eb61338f..24dfd8ccc8 100644 --- a/sdk/go/google/compute/v1/subnetwork.go +++ b/sdk/go/google/compute/v1/subnetwork.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a subnetwork in the specified project using the data included in the request. @@ -209,6 +210,12 @@ func (i *Subnetwork) ToSubnetworkOutputWithContext(ctx context.Context) Subnetwo return pulumi.ToOutputWithContext(ctx, i).(SubnetworkOutput) } +func (i *Subnetwork) ToOutput(ctx context.Context) pulumix.Output[*Subnetwork] { + return pulumix.Output[*Subnetwork]{ + OutputState: i.ToSubnetworkOutputWithContext(ctx).OutputState, + } +} + type SubnetworkOutput struct{ *pulumi.OutputState } func (SubnetworkOutput) ElementType() reflect.Type { @@ -223,6 +230,12 @@ func (o SubnetworkOutput) ToSubnetworkOutputWithContext(ctx context.Context) Sub return o } +func (o SubnetworkOutput) ToOutput(ctx context.Context) pulumix.Output[*Subnetwork] { + return pulumix.Output[*Subnetwork]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o SubnetworkOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *Subnetwork) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/subnetworkIamBinding.go b/sdk/go/google/compute/v1/subnetworkIamBinding.go index 924dd61136..c096166617 100644 --- a/sdk/go/google/compute/v1/subnetworkIamBinding.go +++ b/sdk/go/google/compute/v1/subnetworkIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SubnetworkIamBinding) ToSubnetworkIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(SubnetworkIamBindingOutput) } +func (i *SubnetworkIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamBinding] { + return pulumix.Output[*SubnetworkIamBinding]{ + OutputState: i.ToSubnetworkIamBindingOutputWithContext(ctx).OutputState, + } +} + type SubnetworkIamBindingOutput struct{ *pulumi.OutputState } func (SubnetworkIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SubnetworkIamBindingOutput) ToSubnetworkIamBindingOutputWithContext(ctx return o } +func (o SubnetworkIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamBinding] { + return pulumix.Output[*SubnetworkIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SubnetworkIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SubnetworkIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/subnetworkIamMember.go b/sdk/go/google/compute/v1/subnetworkIamMember.go index c84af5e9ed..5f96bfb960 100644 --- a/sdk/go/google/compute/v1/subnetworkIamMember.go +++ b/sdk/go/google/compute/v1/subnetworkIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *SubnetworkIamMember) ToSubnetworkIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SubnetworkIamMemberOutput) } +func (i *SubnetworkIamMember) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamMember] { + return pulumix.Output[*SubnetworkIamMember]{ + OutputState: i.ToSubnetworkIamMemberOutputWithContext(ctx).OutputState, + } +} + type SubnetworkIamMemberOutput struct{ *pulumi.OutputState } func (SubnetworkIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SubnetworkIamMemberOutput) ToSubnetworkIamMemberOutputWithContext(ctx co return o } +func (o SubnetworkIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamMember] { + return pulumix.Output[*SubnetworkIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SubnetworkIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SubnetworkIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/compute/v1/subnetworkIamPolicy.go b/sdk/go/google/compute/v1/subnetworkIamPolicy.go index 255fdc8539..89e94a3bfe 100644 --- a/sdk/go/google/compute/v1/subnetworkIamPolicy.go +++ b/sdk/go/google/compute/v1/subnetworkIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -140,6 +141,12 @@ func (i *SubnetworkIamPolicy) ToSubnetworkIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SubnetworkIamPolicyOutput) } +func (i *SubnetworkIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamPolicy] { + return pulumix.Output[*SubnetworkIamPolicy]{ + OutputState: i.ToSubnetworkIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SubnetworkIamPolicyOutput struct{ *pulumi.OutputState } func (SubnetworkIamPolicyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o SubnetworkIamPolicyOutput) ToSubnetworkIamPolicyOutputWithContext(ctx co return o } +func (o SubnetworkIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SubnetworkIamPolicy] { + return pulumix.Output[*SubnetworkIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o SubnetworkIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *SubnetworkIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/compute/v1/targetGrpcProxy.go b/sdk/go/google/compute/v1/targetGrpcProxy.go index bc5a22c5ec..e9c9d0e1f9 100644 --- a/sdk/go/google/compute/v1/targetGrpcProxy.go +++ b/sdk/go/google/compute/v1/targetGrpcProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request. @@ -133,6 +134,12 @@ func (i *TargetGrpcProxy) ToTargetGrpcProxyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TargetGrpcProxyOutput) } +func (i *TargetGrpcProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetGrpcProxy] { + return pulumix.Output[*TargetGrpcProxy]{ + OutputState: i.ToTargetGrpcProxyOutputWithContext(ctx).OutputState, + } +} + type TargetGrpcProxyOutput struct{ *pulumi.OutputState } func (TargetGrpcProxyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o TargetGrpcProxyOutput) ToTargetGrpcProxyOutputWithContext(ctx context.Co return o } +func (o TargetGrpcProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetGrpcProxy] { + return pulumix.Output[*TargetGrpcProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetGrpcProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetGrpcProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/targetHttpProxy.go b/sdk/go/google/compute/v1/targetHttpProxy.go index c0a6b88d54..d266c9221e 100644 --- a/sdk/go/google/compute/v1/targetHttpProxy.go +++ b/sdk/go/google/compute/v1/targetHttpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpProxy resource in the specified project using the data included in the request. @@ -133,6 +134,12 @@ func (i *TargetHttpProxy) ToTargetHttpProxyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TargetHttpProxyOutput) } +func (i *TargetHttpProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpProxy] { + return pulumix.Output[*TargetHttpProxy]{ + OutputState: i.ToTargetHttpProxyOutputWithContext(ctx).OutputState, + } +} + type TargetHttpProxyOutput struct{ *pulumi.OutputState } func (TargetHttpProxyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o TargetHttpProxyOutput) ToTargetHttpProxyOutputWithContext(ctx context.Co return o } +func (o TargetHttpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpProxy] { + return pulumix.Output[*TargetHttpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetHttpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetHttpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/targetHttpsProxy.go b/sdk/go/google/compute/v1/targetHttpsProxy.go index 859660e576..3ec491926d 100644 --- a/sdk/go/google/compute/v1/targetHttpsProxy.go +++ b/sdk/go/google/compute/v1/targetHttpsProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetHttpsProxy resource in the specified project using the data included in the request. @@ -169,6 +170,12 @@ func (i *TargetHttpsProxy) ToTargetHttpsProxyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TargetHttpsProxyOutput) } +func (i *TargetHttpsProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxy] { + return pulumix.Output[*TargetHttpsProxy]{ + OutputState: i.ToTargetHttpsProxyOutputWithContext(ctx).OutputState, + } +} + type TargetHttpsProxyOutput struct{ *pulumi.OutputState } func (TargetHttpsProxyOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o TargetHttpsProxyOutput) ToTargetHttpsProxyOutputWithContext(ctx context. return o } +func (o TargetHttpsProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetHttpsProxy] { + return pulumix.Output[*TargetHttpsProxy]{ + OutputState: o.OutputState, + } +} + // Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact. func (o TargetHttpsProxyOutput) AuthorizationPolicy() pulumi.StringOutput { return o.ApplyT(func(v *TargetHttpsProxy) pulumi.StringOutput { return v.AuthorizationPolicy }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/targetInstance.go b/sdk/go/google/compute/v1/targetInstance.go index 0d8bd129e4..e47f65ecfb 100644 --- a/sdk/go/google/compute/v1/targetInstance.go +++ b/sdk/go/google/compute/v1/targetInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetInstance resource in the specified project and zone using the data included in the request. @@ -139,6 +140,12 @@ func (i *TargetInstance) ToTargetInstanceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TargetInstanceOutput) } +func (i *TargetInstance) ToOutput(ctx context.Context) pulumix.Output[*TargetInstance] { + return pulumix.Output[*TargetInstance]{ + OutputState: i.ToTargetInstanceOutputWithContext(ctx).OutputState, + } +} + type TargetInstanceOutput struct{ *pulumi.OutputState } func (TargetInstanceOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o TargetInstanceOutput) ToTargetInstanceOutputWithContext(ctx context.Cont return o } +func (o TargetInstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetInstance] { + return pulumix.Output[*TargetInstance]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetInstanceOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetInstance) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/targetPool.go b/sdk/go/google/compute/v1/targetPool.go index a3d24f9eb0..74a4802567 100644 --- a/sdk/go/google/compute/v1/targetPool.go +++ b/sdk/go/google/compute/v1/targetPool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a target pool in the specified project and region using the data included in the request. @@ -155,6 +156,12 @@ func (i *TargetPool) ToTargetPoolOutputWithContext(ctx context.Context) TargetPo return pulumi.ToOutputWithContext(ctx, i).(TargetPoolOutput) } +func (i *TargetPool) ToOutput(ctx context.Context) pulumix.Output[*TargetPool] { + return pulumix.Output[*TargetPool]{ + OutputState: i.ToTargetPoolOutputWithContext(ctx).OutputState, + } +} + type TargetPoolOutput struct{ *pulumi.OutputState } func (TargetPoolOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o TargetPoolOutput) ToTargetPoolOutputWithContext(ctx context.Context) Tar return o } +func (o TargetPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetPool] { + return pulumix.Output[*TargetPool]{ + OutputState: o.OutputState, + } +} + // The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. func (o TargetPoolOutput) BackupPool() pulumi.StringOutput { return o.ApplyT(func(v *TargetPool) pulumi.StringOutput { return v.BackupPool }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/targetSslProxy.go b/sdk/go/google/compute/v1/targetSslProxy.go index 9c2416445b..2436c3507e 100644 --- a/sdk/go/google/compute/v1/targetSslProxy.go +++ b/sdk/go/google/compute/v1/targetSslProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetSslProxy resource in the specified project using the data included in the request. @@ -147,6 +148,12 @@ func (i *TargetSslProxy) ToTargetSslProxyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TargetSslProxyOutput) } +func (i *TargetSslProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxy] { + return pulumix.Output[*TargetSslProxy]{ + OutputState: i.ToTargetSslProxyOutputWithContext(ctx).OutputState, + } +} + type TargetSslProxyOutput struct{ *pulumi.OutputState } func (TargetSslProxyOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o TargetSslProxyOutput) ToTargetSslProxyOutputWithContext(ctx context.Cont return o } +func (o TargetSslProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetSslProxy] { + return pulumix.Output[*TargetSslProxy]{ + OutputState: o.OutputState, + } +} + // URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. func (o TargetSslProxyOutput) CertificateMap() pulumi.StringOutput { return o.ApplyT(func(v *TargetSslProxy) pulumi.StringOutput { return v.CertificateMap }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/targetTcpProxy.go b/sdk/go/google/compute/v1/targetTcpProxy.go index 8e30b4f328..d437d14190 100644 --- a/sdk/go/google/compute/v1/targetTcpProxy.go +++ b/sdk/go/google/compute/v1/targetTcpProxy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a TargetTcpProxy resource in the specified project using the data included in the request. @@ -137,6 +138,12 @@ func (i *TargetTcpProxy) ToTargetTcpProxyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TargetTcpProxyOutput) } +func (i *TargetTcpProxy) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxy] { + return pulumix.Output[*TargetTcpProxy]{ + OutputState: i.ToTargetTcpProxyOutputWithContext(ctx).OutputState, + } +} + type TargetTcpProxyOutput struct{ *pulumi.OutputState } func (TargetTcpProxyOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o TargetTcpProxyOutput) ToTargetTcpProxyOutputWithContext(ctx context.Cont return o } +func (o TargetTcpProxyOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetTcpProxy] { + return pulumix.Output[*TargetTcpProxy]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetTcpProxyOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetTcpProxy) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/targetVpnGateway.go b/sdk/go/google/compute/v1/targetVpnGateway.go index aece598bce..5552dfc805 100644 --- a/sdk/go/google/compute/v1/targetVpnGateway.go +++ b/sdk/go/google/compute/v1/targetVpnGateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a target VPN gateway in the specified project and region using the data included in the request. @@ -145,6 +146,12 @@ func (i *TargetVpnGateway) ToTargetVpnGatewayOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TargetVpnGatewayOutput) } +func (i *TargetVpnGateway) ToOutput(ctx context.Context) pulumix.Output[*TargetVpnGateway] { + return pulumix.Output[*TargetVpnGateway]{ + OutputState: i.ToTargetVpnGatewayOutputWithContext(ctx).OutputState, + } +} + type TargetVpnGatewayOutput struct{ *pulumi.OutputState } func (TargetVpnGatewayOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o TargetVpnGatewayOutput) ToTargetVpnGatewayOutputWithContext(ctx context. return o } +func (o TargetVpnGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetVpnGateway] { + return pulumix.Output[*TargetVpnGateway]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o TargetVpnGatewayOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *TargetVpnGateway) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/urlMap.go b/sdk/go/google/compute/v1/urlMap.go index 9c11e0f931..5ef831c7e8 100644 --- a/sdk/go/google/compute/v1/urlMap.go +++ b/sdk/go/google/compute/v1/urlMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a UrlMap resource in the specified project using the data included in the request. @@ -163,6 +164,12 @@ func (i *UrlMap) ToUrlMapOutputWithContext(ctx context.Context) UrlMapOutput { return pulumi.ToOutputWithContext(ctx, i).(UrlMapOutput) } +func (i *UrlMap) ToOutput(ctx context.Context) pulumix.Output[*UrlMap] { + return pulumix.Output[*UrlMap]{ + OutputState: i.ToUrlMapOutputWithContext(ctx).OutputState, + } +} + type UrlMapOutput struct{ *pulumi.OutputState } func (UrlMapOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o UrlMapOutput) ToUrlMapOutputWithContext(ctx context.Context) UrlMapOutpu return o } +func (o UrlMapOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlMap] { + return pulumix.Output[*UrlMap]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o UrlMapOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *UrlMap) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/vpnGateway.go b/sdk/go/google/compute/v1/vpnGateway.go index f3d7f97700..994c2abfc9 100644 --- a/sdk/go/google/compute/v1/vpnGateway.go +++ b/sdk/go/google/compute/v1/vpnGateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a VPN gateway in the specified project and region using the data included in the request. @@ -151,6 +152,12 @@ func (i *VpnGateway) ToVpnGatewayOutputWithContext(ctx context.Context) VpnGatew return pulumi.ToOutputWithContext(ctx, i).(VpnGatewayOutput) } +func (i *VpnGateway) ToOutput(ctx context.Context) pulumix.Output[*VpnGateway] { + return pulumix.Output[*VpnGateway]{ + OutputState: i.ToVpnGatewayOutputWithContext(ctx).OutputState, + } +} + type VpnGatewayOutput struct{ *pulumi.OutputState } func (VpnGatewayOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o VpnGatewayOutput) ToVpnGatewayOutputWithContext(ctx context.Context) Vpn return o } +func (o VpnGatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnGateway] { + return pulumix.Output[*VpnGateway]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o VpnGatewayOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *VpnGateway) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/compute/v1/vpnTunnel.go b/sdk/go/google/compute/v1/vpnTunnel.go index a0ff459cf8..b7fcbe1413 100644 --- a/sdk/go/google/compute/v1/vpnTunnel.go +++ b/sdk/go/google/compute/v1/vpnTunnel.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a VpnTunnel resource in the specified project and region using the data included in the request. @@ -215,6 +216,12 @@ func (i *VpnTunnel) ToVpnTunnelOutputWithContext(ctx context.Context) VpnTunnelO return pulumi.ToOutputWithContext(ctx, i).(VpnTunnelOutput) } +func (i *VpnTunnel) ToOutput(ctx context.Context) pulumix.Output[*VpnTunnel] { + return pulumix.Output[*VpnTunnel]{ + OutputState: i.ToVpnTunnelOutputWithContext(ctx).OutputState, + } +} + type VpnTunnelOutput struct{ *pulumi.OutputState } func (VpnTunnelOutput) ElementType() reflect.Type { @@ -229,6 +236,12 @@ func (o VpnTunnelOutput) ToVpnTunnelOutputWithContext(ctx context.Context) VpnTu return o } +func (o VpnTunnelOutput) ToOutput(ctx context.Context) pulumix.Output[*VpnTunnel] { + return pulumix.Output[*VpnTunnel]{ + OutputState: o.OutputState, + } +} + // Creation timestamp in RFC3339 text format. func (o VpnTunnelOutput) CreationTimestamp() pulumi.StringOutput { return o.ApplyT(func(v *VpnTunnel) pulumi.StringOutput { return v.CreationTimestamp }).(pulumi.StringOutput) diff --git a/sdk/go/google/connectors/v1/connection.go b/sdk/go/google/connectors/v1/connection.go index 20aaa32cd1..65e9ae9abd 100644 --- a/sdk/go/google/connectors/v1/connection.go +++ b/sdk/go/google/connectors/v1/connection.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Connection in a given project and location. @@ -200,6 +201,12 @@ func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) Connecti return pulumi.ToOutputWithContext(ctx, i).(ConnectionOutput) } +func (i *Connection) ToOutput(ctx context.Context) pulumix.Output[*Connection] { + return pulumix.Output[*Connection]{ + OutputState: i.ToConnectionOutputWithContext(ctx).OutputState, + } +} + type ConnectionOutput struct{ *pulumi.OutputState } func (ConnectionOutput) ElementType() reflect.Type { @@ -214,6 +221,12 @@ func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) Con return o } +func (o ConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*Connection] { + return pulumix.Output[*Connection]{ + OutputState: o.OutputState, + } +} + // Optional. Configuration for establishing the connection's authentication with an external system. func (o ConnectionOutput) AuthConfig() AuthConfigResponseOutput { return o.ApplyT(func(v *Connection) AuthConfigResponseOutput { return v.AuthConfig }).(AuthConfigResponseOutput) diff --git a/sdk/go/google/connectors/v1/connectionIamBinding.go b/sdk/go/google/connectors/v1/connectionIamBinding.go index b206f67db1..ca6216ac2a 100644 --- a/sdk/go/google/connectors/v1/connectionIamBinding.go +++ b/sdk/go/google/connectors/v1/connectionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionIamBinding) ToConnectionIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ConnectionIamBindingOutput) } +func (i *ConnectionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamBinding] { + return pulumix.Output[*ConnectionIamBinding]{ + OutputState: i.ToConnectionIamBindingOutputWithContext(ctx).OutputState, + } +} + type ConnectionIamBindingOutput struct{ *pulumi.OutputState } func (ConnectionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionIamBindingOutput) ToConnectionIamBindingOutputWithContext(ctx return o } +func (o ConnectionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamBinding] { + return pulumix.Output[*ConnectionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/connectors/v1/connectionIamMember.go b/sdk/go/google/connectors/v1/connectionIamMember.go index fa3f08ce66..7f3f4c44c1 100644 --- a/sdk/go/google/connectors/v1/connectionIamMember.go +++ b/sdk/go/google/connectors/v1/connectionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionIamMember) ToConnectionIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConnectionIamMemberOutput) } +func (i *ConnectionIamMember) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamMember] { + return pulumix.Output[*ConnectionIamMember]{ + OutputState: i.ToConnectionIamMemberOutputWithContext(ctx).OutputState, + } +} + type ConnectionIamMemberOutput struct{ *pulumi.OutputState } func (ConnectionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionIamMemberOutput) ToConnectionIamMemberOutputWithContext(ctx co return o } +func (o ConnectionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamMember] { + return pulumix.Output[*ConnectionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/connectors/v1/connectionIamPolicy.go b/sdk/go/google/connectors/v1/connectionIamPolicy.go index 04d86f3494..e39909f0d3 100644 --- a/sdk/go/google/connectors/v1/connectionIamPolicy.go +++ b/sdk/go/google/connectors/v1/connectionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionIamPolicy) ToConnectionIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConnectionIamPolicyOutput) } +func (i *ConnectionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamPolicy] { + return pulumix.Output[*ConnectionIamPolicy]{ + OutputState: i.ToConnectionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ConnectionIamPolicyOutput struct{ *pulumi.OutputState } func (ConnectionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionIamPolicyOutput) ToConnectionIamPolicyOutputWithContext(ctx co return o } +func (o ConnectionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionIamPolicy] { + return pulumix.Output[*ConnectionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ConnectionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ConnectionIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/connectors/v1/endpointAttachment.go b/sdk/go/google/connectors/v1/endpointAttachment.go index d6f1522f79..355d66b2cc 100644 --- a/sdk/go/google/connectors/v1/endpointAttachment.go +++ b/sdk/go/google/connectors/v1/endpointAttachment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new EndpointAttachment in a given project and location. @@ -138,6 +139,12 @@ func (i *EndpointAttachment) ToEndpointAttachmentOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(EndpointAttachmentOutput) } +func (i *EndpointAttachment) ToOutput(ctx context.Context) pulumix.Output[*EndpointAttachment] { + return pulumix.Output[*EndpointAttachment]{ + OutputState: i.ToEndpointAttachmentOutputWithContext(ctx).OutputState, + } +} + type EndpointAttachmentOutput struct{ *pulumi.OutputState } func (EndpointAttachmentOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o EndpointAttachmentOutput) ToEndpointAttachmentOutputWithContext(ctx cont return o } +func (o EndpointAttachmentOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointAttachment] { + return pulumix.Output[*EndpointAttachment]{ + OutputState: o.OutputState, + } +} + // Created time. func (o EndpointAttachmentOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *EndpointAttachment) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/connectors/v1/getConnection.go b/sdk/go/google/connectors/v1/getConnection.go index aa4686e3af..a8bb84a8d1 100644 --- a/sdk/go/google/connectors/v1/getConnection.go +++ b/sdk/go/google/connectors/v1/getConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Connection. @@ -110,6 +111,12 @@ func (o LookupConnectionResultOutput) ToLookupConnectionResultOutputWithContext( return o } +func (o LookupConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionResult] { + return pulumix.Output[LookupConnectionResult]{ + OutputState: o.OutputState, + } +} + // Optional. Configuration for establishing the connection's authentication with an external system. func (o LookupConnectionResultOutput) AuthConfig() AuthConfigResponseOutput { return o.ApplyT(func(v LookupConnectionResult) AuthConfigResponse { return v.AuthConfig }).(AuthConfigResponseOutput) diff --git a/sdk/go/google/connectors/v1/getConnectionIamPolicy.go b/sdk/go/google/connectors/v1/getConnectionIamPolicy.go index acf90b2783..4be93d56f2 100644 --- a/sdk/go/google/connectors/v1/getConnectionIamPolicy.go +++ b/sdk/go/google/connectors/v1/getConnectionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResult return o } +func (o LookupConnectionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionIamPolicyResult] { + return pulumix.Output[LookupConnectionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupConnectionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupConnectionIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/connectors/v1/getEndpointAttachment.go b/sdk/go/google/connectors/v1/getEndpointAttachment.go index 0a5fac647b..3d6d9f1f5c 100644 --- a/sdk/go/google/connectors/v1/getEndpointAttachment.go +++ b/sdk/go/google/connectors/v1/getEndpointAttachment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single EndpointAttachment. @@ -82,6 +83,12 @@ func (o LookupEndpointAttachmentResultOutput) ToLookupEndpointAttachmentResultOu return o } +func (o LookupEndpointAttachmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEndpointAttachmentResult] { + return pulumix.Output[LookupEndpointAttachmentResult]{ + OutputState: o.OutputState, + } +} + // Created time. func (o LookupEndpointAttachmentResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupEndpointAttachmentResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/connectors/v1/getManagedZone.go b/sdk/go/google/connectors/v1/getManagedZone.go index 337e44237c..34687f23b2 100644 --- a/sdk/go/google/connectors/v1/getManagedZone.go +++ b/sdk/go/google/connectors/v1/getManagedZone.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ManagedZone. @@ -82,6 +83,12 @@ func (o LookupManagedZoneResultOutput) ToLookupManagedZoneResultOutputWithContex return o } +func (o LookupManagedZoneResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupManagedZoneResult] { + return pulumix.Output[LookupManagedZoneResult]{ + OutputState: o.OutputState, + } +} + // Created time. func (o LookupManagedZoneResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupManagedZoneResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/connectors/v1/getProviderIamPolicy.go b/sdk/go/google/connectors/v1/getProviderIamPolicy.go index c25f218e31..44a03452d6 100644 --- a/sdk/go/google/connectors/v1/getProviderIamPolicy.go +++ b/sdk/go/google/connectors/v1/getProviderIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupProviderIamPolicyResultOutput) ToLookupProviderIamPolicyResultOutp return o } +func (o LookupProviderIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProviderIamPolicyResult] { + return pulumix.Output[LookupProviderIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupProviderIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupProviderIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/connectors/v1/managedZone.go b/sdk/go/google/connectors/v1/managedZone.go index 9bb51d4610..9698860fb9 100644 --- a/sdk/go/google/connectors/v1/managedZone.go +++ b/sdk/go/google/connectors/v1/managedZone.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ManagedZone in a given project and location. @@ -150,6 +151,12 @@ func (i *ManagedZone) ToManagedZoneOutputWithContext(ctx context.Context) Manage return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneOutput) } +func (i *ManagedZone) ToOutput(ctx context.Context) pulumix.Output[*ManagedZone] { + return pulumix.Output[*ManagedZone]{ + OutputState: i.ToManagedZoneOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneOutput struct{ *pulumi.OutputState } func (ManagedZoneOutput) ElementType() reflect.Type { @@ -164,6 +171,12 @@ func (o ManagedZoneOutput) ToManagedZoneOutputWithContext(ctx context.Context) M return o } +func (o ManagedZoneOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZone] { + return pulumix.Output[*ManagedZone]{ + OutputState: o.OutputState, + } +} + // Created time. func (o ManagedZoneOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *ManagedZone) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/connectors/v1/providerIamBinding.go b/sdk/go/google/connectors/v1/providerIamBinding.go index a234d04d93..a80ef411ec 100644 --- a/sdk/go/google/connectors/v1/providerIamBinding.go +++ b/sdk/go/google/connectors/v1/providerIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ProviderIamBinding) ToProviderIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ProviderIamBindingOutput) } +func (i *ProviderIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ProviderIamBinding] { + return pulumix.Output[*ProviderIamBinding]{ + OutputState: i.ToProviderIamBindingOutputWithContext(ctx).OutputState, + } +} + type ProviderIamBindingOutput struct{ *pulumi.OutputState } func (ProviderIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProviderIamBindingOutput) ToProviderIamBindingOutputWithContext(ctx cont return o } +func (o ProviderIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderIamBinding] { + return pulumix.Output[*ProviderIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ProviderIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ProviderIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/connectors/v1/providerIamMember.go b/sdk/go/google/connectors/v1/providerIamMember.go index cdf67afae3..2f4d3c8cf5 100644 --- a/sdk/go/google/connectors/v1/providerIamMember.go +++ b/sdk/go/google/connectors/v1/providerIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ProviderIamMember) ToProviderIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ProviderIamMemberOutput) } +func (i *ProviderIamMember) ToOutput(ctx context.Context) pulumix.Output[*ProviderIamMember] { + return pulumix.Output[*ProviderIamMember]{ + OutputState: i.ToProviderIamMemberOutputWithContext(ctx).OutputState, + } +} + type ProviderIamMemberOutput struct{ *pulumi.OutputState } func (ProviderIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProviderIamMemberOutput) ToProviderIamMemberOutputWithContext(ctx contex return o } +func (o ProviderIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderIamMember] { + return pulumix.Output[*ProviderIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ProviderIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ProviderIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/connectors/v1/providerIamPolicy.go b/sdk/go/google/connectors/v1/providerIamPolicy.go index 59d4691e36..00576e6dca 100644 --- a/sdk/go/google/connectors/v1/providerIamPolicy.go +++ b/sdk/go/google/connectors/v1/providerIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ProviderIamPolicy) ToProviderIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ProviderIamPolicyOutput) } +func (i *ProviderIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ProviderIamPolicy] { + return pulumix.Output[*ProviderIamPolicy]{ + OutputState: i.ToProviderIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ProviderIamPolicyOutput struct{ *pulumi.OutputState } func (ProviderIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProviderIamPolicyOutput) ToProviderIamPolicyOutputWithContext(ctx contex return o } +func (o ProviderIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderIamPolicy] { + return pulumix.Output[*ProviderIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ProviderIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ProviderIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/connectors/v1/pulumiEnums.go b/sdk/go/google/connectors/v1/pulumiEnums.go index 175c1e0a53..ec2799b6e0 100644 --- a/sdk/go/google/connectors/v1/pulumiEnums.go +++ b/sdk/go/google/connectors/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of authentication configured. type AuthConfigAuthType string @@ -259,6 +278,12 @@ func (o AuthConfigAuthTypeOutput) ToAuthConfigAuthTypePtrOutputWithContext(ctx c }).(AuthConfigAuthTypePtrOutput) } +func (o AuthConfigAuthTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthConfigAuthType] { + return pulumix.Output[AuthConfigAuthType]{ + OutputState: o.OutputState, + } +} + func (o AuthConfigAuthTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -294,6 +319,12 @@ func (o AuthConfigAuthTypePtrOutput) ToAuthConfigAuthTypePtrOutputWithContext(ct return o } +func (o AuthConfigAuthTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthConfigAuthType] { + return pulumix.Output[*AuthConfigAuthType]{ + OutputState: o.OutputState, + } +} + func (o AuthConfigAuthTypePtrOutput) Elem() AuthConfigAuthTypeOutput { return o.ApplyT(func(v *AuthConfigAuthType) AuthConfigAuthType { if v != nil { @@ -356,6 +387,12 @@ func (in *authConfigAuthTypePtr) ToAuthConfigAuthTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(AuthConfigAuthTypePtrOutput) } +func (in *authConfigAuthTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuthConfigAuthType] { + return pulumix.Output[*AuthConfigAuthType]{ + OutputState: in.ToAuthConfigAuthTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of Client Cert (PEM/JKS/.. etc.) type SslConfigClientCertType string @@ -426,6 +463,12 @@ func (o SslConfigClientCertTypeOutput) ToSslConfigClientCertTypePtrOutputWithCon }).(SslConfigClientCertTypePtrOutput) } +func (o SslConfigClientCertTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SslConfigClientCertType] { + return pulumix.Output[SslConfigClientCertType]{ + OutputState: o.OutputState, + } +} + func (o SslConfigClientCertTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o SslConfigClientCertTypePtrOutput) ToSslConfigClientCertTypePtrOutputWith return o } +func (o SslConfigClientCertTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslConfigClientCertType] { + return pulumix.Output[*SslConfigClientCertType]{ + OutputState: o.OutputState, + } +} + func (o SslConfigClientCertTypePtrOutput) Elem() SslConfigClientCertTypeOutput { return o.ApplyT(func(v *SslConfigClientCertType) SslConfigClientCertType { if v != nil { @@ -523,6 +572,12 @@ func (in *sslConfigClientCertTypePtr) ToSslConfigClientCertTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(SslConfigClientCertTypePtrOutput) } +func (in *sslConfigClientCertTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SslConfigClientCertType] { + return pulumix.Output[*SslConfigClientCertType]{ + OutputState: in.ToSslConfigClientCertTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of Server Cert (PEM/JKS/.. etc.) type SslConfigServerCertType string @@ -593,6 +648,12 @@ func (o SslConfigServerCertTypeOutput) ToSslConfigServerCertTypePtrOutputWithCon }).(SslConfigServerCertTypePtrOutput) } +func (o SslConfigServerCertTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SslConfigServerCertType] { + return pulumix.Output[SslConfigServerCertType]{ + OutputState: o.OutputState, + } +} + func (o SslConfigServerCertTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -628,6 +689,12 @@ func (o SslConfigServerCertTypePtrOutput) ToSslConfigServerCertTypePtrOutputWith return o } +func (o SslConfigServerCertTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslConfigServerCertType] { + return pulumix.Output[*SslConfigServerCertType]{ + OutputState: o.OutputState, + } +} + func (o SslConfigServerCertTypePtrOutput) Elem() SslConfigServerCertTypeOutput { return o.ApplyT(func(v *SslConfigServerCertType) SslConfigServerCertType { if v != nil { @@ -690,6 +757,12 @@ func (in *sslConfigServerCertTypePtr) ToSslConfigServerCertTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(SslConfigServerCertTypePtrOutput) } +func (in *sslConfigServerCertTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SslConfigServerCertType] { + return pulumix.Output[*SslConfigServerCertType]{ + OutputState: in.ToSslConfigServerCertTypePtrOutputWithContext(ctx).OutputState, + } +} + // Trust Model of the SSL connection type SslConfigTrustModel string @@ -762,6 +835,12 @@ func (o SslConfigTrustModelOutput) ToSslConfigTrustModelPtrOutputWithContext(ctx }).(SslConfigTrustModelPtrOutput) } +func (o SslConfigTrustModelOutput) ToOutput(ctx context.Context) pulumix.Output[SslConfigTrustModel] { + return pulumix.Output[SslConfigTrustModel]{ + OutputState: o.OutputState, + } +} + func (o SslConfigTrustModelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -797,6 +876,12 @@ func (o SslConfigTrustModelPtrOutput) ToSslConfigTrustModelPtrOutputWithContext( return o } +func (o SslConfigTrustModelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslConfigTrustModel] { + return pulumix.Output[*SslConfigTrustModel]{ + OutputState: o.OutputState, + } +} + func (o SslConfigTrustModelPtrOutput) Elem() SslConfigTrustModelOutput { return o.ApplyT(func(v *SslConfigTrustModel) SslConfigTrustModel { if v != nil { @@ -859,6 +944,12 @@ func (in *sslConfigTrustModelPtr) ToSslConfigTrustModelPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(SslConfigTrustModelPtrOutput) } +func (in *sslConfigTrustModelPtr) ToOutput(ctx context.Context) pulumix.Output[*SslConfigTrustModel] { + return pulumix.Output[*SslConfigTrustModel]{ + OutputState: in.ToSslConfigTrustModelPtrOutputWithContext(ctx).OutputState, + } +} + // Controls the ssl type for the given connector version. type SslConfigType string @@ -931,6 +1022,12 @@ func (o SslConfigTypeOutput) ToSslConfigTypePtrOutputWithContext(ctx context.Con }).(SslConfigTypePtrOutput) } +func (o SslConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SslConfigType] { + return pulumix.Output[SslConfigType]{ + OutputState: o.OutputState, + } +} + func (o SslConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -966,6 +1063,12 @@ func (o SslConfigTypePtrOutput) ToSslConfigTypePtrOutputWithContext(ctx context. return o } +func (o SslConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslConfigType] { + return pulumix.Output[*SslConfigType]{ + OutputState: o.OutputState, + } +} + func (o SslConfigTypePtrOutput) Elem() SslConfigTypeOutput { return o.ApplyT(func(v *SslConfigType) SslConfigType { if v != nil { @@ -1028,6 +1131,12 @@ func (in *sslConfigTypePtr) ToSslConfigTypePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(SslConfigTypePtrOutput) } +func (in *sslConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SslConfigType] { + return pulumix.Output[*SslConfigType]{ + OutputState: in.ToSslConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/connectors/v1/pulumiTypes.go b/sdk/go/google/connectors/v1/pulumiTypes.go index 9a5422ac4c..d8d20440be 100644 --- a/sdk/go/google/connectors/v1/pulumiTypes.go +++ b/sdk/go/google/connectors/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -400,6 +473,12 @@ func (i AuthConfigArgs) ToAuthConfigOutputWithContext(ctx context.Context) AuthC return pulumi.ToOutputWithContext(ctx, i).(AuthConfigOutput) } +func (i AuthConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuthConfig] { + return pulumix.Output[AuthConfig]{ + OutputState: i.ToAuthConfigOutputWithContext(ctx).OutputState, + } +} + func (i AuthConfigArgs) ToAuthConfigPtrOutput() AuthConfigPtrOutput { return i.ToAuthConfigPtrOutputWithContext(context.Background()) } @@ -441,6 +520,12 @@ func (i *authConfigPtrType) ToAuthConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthConfigPtrOutput) } +func (i *authConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthConfig] { + return pulumix.Output[*AuthConfig]{ + OutputState: i.ToAuthConfigPtrOutputWithContext(ctx).OutputState, + } +} + // AuthConfig defines details of a authentication type. type AuthConfigOutput struct{ *pulumi.OutputState } @@ -466,6 +551,12 @@ func (o AuthConfigOutput) ToAuthConfigPtrOutputWithContext(ctx context.Context) }).(AuthConfigPtrOutput) } +func (o AuthConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuthConfig] { + return pulumix.Output[AuthConfig]{ + OutputState: o.OutputState, + } +} + // List containing additional auth configs. func (o AuthConfigOutput) AdditionalVariables() ConfigVariableArrayOutput { return o.ApplyT(func(v AuthConfig) []ConfigVariable { return v.AdditionalVariables }).(ConfigVariableArrayOutput) @@ -520,6 +611,12 @@ func (o AuthConfigPtrOutput) ToAuthConfigPtrOutputWithContext(ctx context.Contex return o } +func (o AuthConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthConfig] { + return pulumix.Output[*AuthConfig]{ + OutputState: o.OutputState, + } +} + func (o AuthConfigPtrOutput) Elem() AuthConfigOutput { return o.ApplyT(func(v *AuthConfig) AuthConfig { if v != nil { @@ -645,6 +742,12 @@ func (o AuthConfigResponseOutput) ToAuthConfigResponseOutputWithContext(ctx cont return o } +func (o AuthConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthConfigResponse] { + return pulumix.Output[AuthConfigResponse]{ + OutputState: o.OutputState, + } +} + // List containing additional auth configs. func (o AuthConfigResponseOutput) AdditionalVariables() ConfigVariableResponseArrayOutput { return o.ApplyT(func(v AuthConfigResponse) []ConfigVariableResponse { return v.AdditionalVariables }).(ConfigVariableResponseArrayOutput) @@ -728,6 +831,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -753,6 +862,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -768,6 +883,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -797,6 +918,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -828,6 +955,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -857,6 +990,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -914,6 +1053,12 @@ func (i ConfigVariableArgs) ToConfigVariableOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ConfigVariableOutput) } +func (i ConfigVariableArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigVariable] { + return pulumix.Output[ConfigVariable]{ + OutputState: i.ToConfigVariableOutputWithContext(ctx).OutputState, + } +} + // ConfigVariableArrayInput is an input type that accepts ConfigVariableArray and ConfigVariableArrayOutput values. // You can construct a concrete instance of `ConfigVariableArrayInput` via: // @@ -939,6 +1084,12 @@ func (i ConfigVariableArray) ToConfigVariableArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ConfigVariableArrayOutput) } +func (i ConfigVariableArray) ToOutput(ctx context.Context) pulumix.Output[[]ConfigVariable] { + return pulumix.Output[[]ConfigVariable]{ + OutputState: i.ToConfigVariableArrayOutputWithContext(ctx).OutputState, + } +} + // ConfigVariable represents a configuration variable present in a Connection. or AuthConfig. type ConfigVariableOutput struct{ *pulumi.OutputState } @@ -954,6 +1105,12 @@ func (o ConfigVariableOutput) ToConfigVariableOutputWithContext(ctx context.Cont return o } +func (o ConfigVariableOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigVariable] { + return pulumix.Output[ConfigVariable]{ + OutputState: o.OutputState, + } +} + // Value is a bool. func (o ConfigVariableOutput) BoolValue() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConfigVariable) *bool { return v.BoolValue }).(pulumi.BoolPtrOutput) @@ -993,6 +1150,12 @@ func (o ConfigVariableArrayOutput) ToConfigVariableArrayOutputWithContext(ctx co return o } +func (o ConfigVariableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConfigVariable] { + return pulumix.Output[[]ConfigVariable]{ + OutputState: o.OutputState, + } +} + func (o ConfigVariableArrayOutput) Index(i pulumi.IntInput) ConfigVariableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigVariable { return vs[0].([]ConfigVariable)[vs[1].(int)] @@ -1028,6 +1191,12 @@ func (o ConfigVariableResponseOutput) ToConfigVariableResponseOutputWithContext( return o } +func (o ConfigVariableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigVariableResponse] { + return pulumix.Output[ConfigVariableResponse]{ + OutputState: o.OutputState, + } +} + // Value is a bool. func (o ConfigVariableResponseOutput) BoolValue() pulumi.BoolOutput { return o.ApplyT(func(v ConfigVariableResponse) bool { return v.BoolValue }).(pulumi.BoolOutput) @@ -1067,6 +1236,12 @@ func (o ConfigVariableResponseArrayOutput) ToConfigVariableResponseArrayOutputWi return o } +func (o ConfigVariableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConfigVariableResponse] { + return pulumix.Output[[]ConfigVariableResponse]{ + OutputState: o.OutputState, + } +} + func (o ConfigVariableResponseArrayOutput) Index(i pulumi.IntInput) ConfigVariableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConfigVariableResponse { return vs[0].([]ConfigVariableResponse)[vs[1].(int)] @@ -1098,6 +1273,12 @@ func (o ConnectionStatusResponseOutput) ToConnectionStatusResponseOutputWithCont return o } +func (o ConnectionStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionStatusResponse] { + return pulumix.Output[ConnectionStatusResponse]{ + OutputState: o.OutputState, + } +} + // Description. func (o ConnectionStatusResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ConnectionStatusResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1148,6 +1329,12 @@ func (i ConnectorsLogConfigArgs) ToConnectorsLogConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ConnectorsLogConfigOutput) } +func (i ConnectorsLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConnectorsLogConfig] { + return pulumix.Output[ConnectorsLogConfig]{ + OutputState: i.ToConnectorsLogConfigOutputWithContext(ctx).OutputState, + } +} + func (i ConnectorsLogConfigArgs) ToConnectorsLogConfigPtrOutput() ConnectorsLogConfigPtrOutput { return i.ToConnectorsLogConfigPtrOutputWithContext(context.Background()) } @@ -1189,6 +1376,12 @@ func (i *connectorsLogConfigPtrType) ToConnectorsLogConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ConnectorsLogConfigPtrOutput) } +func (i *connectorsLogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConnectorsLogConfig] { + return pulumix.Output[*ConnectorsLogConfig]{ + OutputState: i.ToConnectorsLogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Log configuration for the connection. type ConnectorsLogConfigOutput struct{ *pulumi.OutputState } @@ -1214,6 +1407,12 @@ func (o ConnectorsLogConfigOutput) ToConnectorsLogConfigPtrOutputWithContext(ctx }).(ConnectorsLogConfigPtrOutput) } +func (o ConnectorsLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectorsLogConfig] { + return pulumix.Output[ConnectorsLogConfig]{ + OutputState: o.OutputState, + } +} + // Enabled represents whether logging is enabled or not for a connection. func (o ConnectorsLogConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConnectorsLogConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -1233,6 +1432,12 @@ func (o ConnectorsLogConfigPtrOutput) ToConnectorsLogConfigPtrOutputWithContext( return o } +func (o ConnectorsLogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectorsLogConfig] { + return pulumix.Output[*ConnectorsLogConfig]{ + OutputState: o.OutputState, + } +} + func (o ConnectorsLogConfigPtrOutput) Elem() ConnectorsLogConfigOutput { return o.ApplyT(func(v *ConnectorsLogConfig) ConnectorsLogConfig { if v != nil { @@ -1274,6 +1479,12 @@ func (o ConnectorsLogConfigResponseOutput) ToConnectorsLogConfigResponseOutputWi return o } +func (o ConnectorsLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectorsLogConfigResponse] { + return pulumix.Output[ConnectorsLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Enabled represents whether logging is enabled or not for a connection. func (o ConnectorsLogConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ConnectorsLogConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -1320,6 +1531,12 @@ func (i DestinationArgs) ToDestinationOutputWithContext(ctx context.Context) Des return pulumi.ToOutputWithContext(ctx, i).(DestinationOutput) } +func (i DestinationArgs) ToOutput(ctx context.Context) pulumix.Output[Destination] { + return pulumix.Output[Destination]{ + OutputState: i.ToDestinationOutputWithContext(ctx).OutputState, + } +} + // DestinationArrayInput is an input type that accepts DestinationArray and DestinationArrayOutput values. // You can construct a concrete instance of `DestinationArrayInput` via: // @@ -1345,6 +1562,12 @@ func (i DestinationArray) ToDestinationArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DestinationArrayOutput) } +func (i DestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]Destination] { + return pulumix.Output[[]Destination]{ + OutputState: i.ToDestinationArrayOutputWithContext(ctx).OutputState, + } +} + type DestinationOutput struct{ *pulumi.OutputState } func (DestinationOutput) ElementType() reflect.Type { @@ -1359,6 +1582,12 @@ func (o DestinationOutput) ToDestinationOutputWithContext(ctx context.Context) D return o } +func (o DestinationOutput) ToOutput(ctx context.Context) pulumix.Output[Destination] { + return pulumix.Output[Destination]{ + OutputState: o.OutputState, + } +} + // For publicly routable host. func (o DestinationOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v Destination) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -1388,6 +1617,12 @@ func (o DestinationArrayOutput) ToDestinationArrayOutputWithContext(ctx context. return o } +func (o DestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Destination] { + return pulumix.Output[[]Destination]{ + OutputState: o.OutputState, + } +} + func (o DestinationArrayOutput) Index(i pulumi.IntInput) DestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Destination { return vs[0].([]Destination)[vs[1].(int)] @@ -1433,6 +1668,12 @@ func (i DestinationConfigArgs) ToDestinationConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DestinationConfigOutput) } +func (i DestinationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DestinationConfig] { + return pulumix.Output[DestinationConfig]{ + OutputState: i.ToDestinationConfigOutputWithContext(ctx).OutputState, + } +} + // DestinationConfigArrayInput is an input type that accepts DestinationConfigArray and DestinationConfigArrayOutput values. // You can construct a concrete instance of `DestinationConfigArrayInput` via: // @@ -1458,6 +1699,12 @@ func (i DestinationConfigArray) ToDestinationConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DestinationConfigArrayOutput) } +func (i DestinationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]DestinationConfig] { + return pulumix.Output[[]DestinationConfig]{ + OutputState: i.ToDestinationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Define the Connectors target endpoint. type DestinationConfigOutput struct{ *pulumi.OutputState } @@ -1473,6 +1720,12 @@ func (o DestinationConfigOutput) ToDestinationConfigOutputWithContext(ctx contex return o } +func (o DestinationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationConfig] { + return pulumix.Output[DestinationConfig]{ + OutputState: o.OutputState, + } +} + // The destinations for the key. func (o DestinationConfigOutput) Destinations() DestinationArrayOutput { return o.ApplyT(func(v DestinationConfig) []Destination { return v.Destinations }).(DestinationArrayOutput) @@ -1497,6 +1750,12 @@ func (o DestinationConfigArrayOutput) ToDestinationConfigArrayOutputWithContext( return o } +func (o DestinationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DestinationConfig] { + return pulumix.Output[[]DestinationConfig]{ + OutputState: o.OutputState, + } +} + func (o DestinationConfigArrayOutput) Index(i pulumi.IntInput) DestinationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DestinationConfig { return vs[0].([]DestinationConfig)[vs[1].(int)] @@ -1526,6 +1785,12 @@ func (o DestinationConfigResponseOutput) ToDestinationConfigResponseOutputWithCo return o } +func (o DestinationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationConfigResponse] { + return pulumix.Output[DestinationConfigResponse]{ + OutputState: o.OutputState, + } +} + // The destinations for the key. func (o DestinationConfigResponseOutput) Destinations() DestinationResponseArrayOutput { return o.ApplyT(func(v DestinationConfigResponse) []DestinationResponse { return v.Destinations }).(DestinationResponseArrayOutput) @@ -1550,6 +1815,12 @@ func (o DestinationConfigResponseArrayOutput) ToDestinationConfigResponseArrayOu return o } +func (o DestinationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DestinationConfigResponse] { + return pulumix.Output[[]DestinationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o DestinationConfigResponseArrayOutput) Index(i pulumi.IntInput) DestinationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DestinationConfigResponse { return vs[0].([]DestinationConfigResponse)[vs[1].(int)] @@ -1579,6 +1850,12 @@ func (o DestinationResponseOutput) ToDestinationResponseOutputWithContext(ctx co return o } +func (o DestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationResponse] { + return pulumix.Output[DestinationResponse]{ + OutputState: o.OutputState, + } +} + // For publicly routable host. func (o DestinationResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v DestinationResponse) string { return v.Host }).(pulumi.StringOutput) @@ -1608,6 +1885,12 @@ func (o DestinationResponseArrayOutput) ToDestinationResponseArrayOutputWithCont return o } +func (o DestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DestinationResponse] { + return pulumix.Output[[]DestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o DestinationResponseArrayOutput) Index(i pulumi.IntInput) DestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DestinationResponse { return vs[0].([]DestinationResponse)[vs[1].(int)] @@ -1661,6 +1944,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1702,6 +1991,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1727,6 +2022,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1761,6 +2062,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1838,6 +2145,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1901,6 +2214,12 @@ func (i JwtClaimsArgs) ToJwtClaimsOutputWithContext(ctx context.Context) JwtClai return pulumi.ToOutputWithContext(ctx, i).(JwtClaimsOutput) } +func (i JwtClaimsArgs) ToOutput(ctx context.Context) pulumix.Output[JwtClaims] { + return pulumix.Output[JwtClaims]{ + OutputState: i.ToJwtClaimsOutputWithContext(ctx).OutputState, + } +} + func (i JwtClaimsArgs) ToJwtClaimsPtrOutput() JwtClaimsPtrOutput { return i.ToJwtClaimsPtrOutputWithContext(context.Background()) } @@ -1942,6 +2261,12 @@ func (i *jwtClaimsPtrType) ToJwtClaimsPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(JwtClaimsPtrOutput) } +func (i *jwtClaimsPtrType) ToOutput(ctx context.Context) pulumix.Output[*JwtClaims] { + return pulumix.Output[*JwtClaims]{ + OutputState: i.ToJwtClaimsPtrOutputWithContext(ctx).OutputState, + } +} + // JWT claims used for the jwt-bearer authorization grant. type JwtClaimsOutput struct{ *pulumi.OutputState } @@ -1967,6 +2292,12 @@ func (o JwtClaimsOutput) ToJwtClaimsPtrOutputWithContext(ctx context.Context) Jw }).(JwtClaimsPtrOutput) } +func (o JwtClaimsOutput) ToOutput(ctx context.Context) pulumix.Output[JwtClaims] { + return pulumix.Output[JwtClaims]{ + OutputState: o.OutputState, + } +} + // Value for the "aud" claim. func (o JwtClaimsOutput) Audience() pulumi.StringPtrOutput { return o.ApplyT(func(v JwtClaims) *string { return v.Audience }).(pulumi.StringPtrOutput) @@ -1996,6 +2327,12 @@ func (o JwtClaimsPtrOutput) ToJwtClaimsPtrOutputWithContext(ctx context.Context) return o } +func (o JwtClaimsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JwtClaims] { + return pulumix.Output[*JwtClaims]{ + OutputState: o.OutputState, + } +} + func (o JwtClaimsPtrOutput) Elem() JwtClaimsOutput { return o.ApplyT(func(v *JwtClaims) JwtClaims { if v != nil { @@ -2061,6 +2398,12 @@ func (o JwtClaimsResponseOutput) ToJwtClaimsResponseOutputWithContext(ctx contex return o } +func (o JwtClaimsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JwtClaimsResponse] { + return pulumix.Output[JwtClaimsResponse]{ + OutputState: o.OutputState, + } +} + // Value for the "aud" claim. func (o JwtClaimsResponseOutput) Audience() pulumi.StringOutput { return o.ApplyT(func(v JwtClaimsResponse) string { return v.Audience }).(pulumi.StringOutput) @@ -2115,6 +2458,12 @@ func (i LockConfigArgs) ToLockConfigOutputWithContext(ctx context.Context) LockC return pulumi.ToOutputWithContext(ctx, i).(LockConfigOutput) } +func (i LockConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LockConfig] { + return pulumix.Output[LockConfig]{ + OutputState: i.ToLockConfigOutputWithContext(ctx).OutputState, + } +} + func (i LockConfigArgs) ToLockConfigPtrOutput() LockConfigPtrOutput { return i.ToLockConfigPtrOutputWithContext(context.Background()) } @@ -2156,6 +2505,12 @@ func (i *lockConfigPtrType) ToLockConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(LockConfigPtrOutput) } +func (i *lockConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LockConfig] { + return pulumix.Output[*LockConfig]{ + OutputState: i.ToLockConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Determines whether or no a connection is locked. If locked, a reason must be specified. type LockConfigOutput struct{ *pulumi.OutputState } @@ -2181,6 +2536,12 @@ func (o LockConfigOutput) ToLockConfigPtrOutputWithContext(ctx context.Context) }).(LockConfigPtrOutput) } +func (o LockConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LockConfig] { + return pulumix.Output[LockConfig]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not the connection is locked. func (o LockConfigOutput) Locked() pulumi.BoolPtrOutput { return o.ApplyT(func(v LockConfig) *bool { return v.Locked }).(pulumi.BoolPtrOutput) @@ -2205,6 +2566,12 @@ func (o LockConfigPtrOutput) ToLockConfigPtrOutputWithContext(ctx context.Contex return o } +func (o LockConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LockConfig] { + return pulumix.Output[*LockConfig]{ + OutputState: o.OutputState, + } +} + func (o LockConfigPtrOutput) Elem() LockConfigOutput { return o.ApplyT(func(v *LockConfig) LockConfig { if v != nil { @@ -2258,6 +2625,12 @@ func (o LockConfigResponseOutput) ToLockConfigResponseOutputWithContext(ctx cont return o } +func (o LockConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LockConfigResponse] { + return pulumix.Output[LockConfigResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not the connection is locked. func (o LockConfigResponseOutput) Locked() pulumi.BoolOutput { return o.ApplyT(func(v LockConfigResponse) bool { return v.Locked }).(pulumi.BoolOutput) @@ -2307,6 +2680,12 @@ func (i NodeConfigArgs) ToNodeConfigOutputWithContext(ctx context.Context) NodeC return pulumi.ToOutputWithContext(ctx, i).(NodeConfigOutput) } +func (i NodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: i.ToNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodeConfigArgs) ToNodeConfigPtrOutput() NodeConfigPtrOutput { return i.ToNodeConfigPtrOutputWithContext(context.Background()) } @@ -2348,6 +2727,12 @@ func (i *nodeConfigPtrType) ToNodeConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(NodeConfigPtrOutput) } +func (i *nodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeConfig] { + return pulumix.Output[*NodeConfig]{ + OutputState: i.ToNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Node configuration for the connection. type NodeConfigOutput struct{ *pulumi.OutputState } @@ -2373,6 +2758,12 @@ func (o NodeConfigOutput) ToNodeConfigPtrOutputWithContext(ctx context.Context) }).(NodeConfigPtrOutput) } +func (o NodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: o.OutputState, + } +} + // Maximum number of nodes in the runtime nodes. func (o NodeConfigOutput) MaxNodeCount() pulumi.IntPtrOutput { return o.ApplyT(func(v NodeConfig) *int { return v.MaxNodeCount }).(pulumi.IntPtrOutput) @@ -2397,6 +2788,12 @@ func (o NodeConfigPtrOutput) ToNodeConfigPtrOutputWithContext(ctx context.Contex return o } +func (o NodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeConfig] { + return pulumix.Output[*NodeConfig]{ + OutputState: o.OutputState, + } +} + func (o NodeConfigPtrOutput) Elem() NodeConfigOutput { return o.ApplyT(func(v *NodeConfig) NodeConfig { if v != nil { @@ -2450,6 +2847,12 @@ func (o NodeConfigResponseOutput) ToNodeConfigResponseOutputWithContext(ctx cont return o } +func (o NodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigResponse] { + return pulumix.Output[NodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Maximum number of nodes in the runtime nodes. func (o NodeConfigResponseOutput) MaxNodeCount() pulumi.IntOutput { return o.ApplyT(func(v NodeConfigResponse) int { return v.MaxNodeCount }).(pulumi.IntOutput) @@ -2519,6 +2922,12 @@ func (i Oauth2AuthCodeFlowArgs) ToOauth2AuthCodeFlowOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(Oauth2AuthCodeFlowOutput) } +func (i Oauth2AuthCodeFlowArgs) ToOutput(ctx context.Context) pulumix.Output[Oauth2AuthCodeFlow] { + return pulumix.Output[Oauth2AuthCodeFlow]{ + OutputState: i.ToOauth2AuthCodeFlowOutputWithContext(ctx).OutputState, + } +} + func (i Oauth2AuthCodeFlowArgs) ToOauth2AuthCodeFlowPtrOutput() Oauth2AuthCodeFlowPtrOutput { return i.ToOauth2AuthCodeFlowPtrOutputWithContext(context.Background()) } @@ -2560,6 +2969,12 @@ func (i *oauth2AuthCodeFlowPtrType) ToOauth2AuthCodeFlowPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(Oauth2AuthCodeFlowPtrOutput) } +func (i *oauth2AuthCodeFlowPtrType) ToOutput(ctx context.Context) pulumix.Output[*Oauth2AuthCodeFlow] { + return pulumix.Output[*Oauth2AuthCodeFlow]{ + OutputState: i.ToOauth2AuthCodeFlowPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details. type Oauth2AuthCodeFlowOutput struct{ *pulumi.OutputState } @@ -2585,6 +3000,12 @@ func (o Oauth2AuthCodeFlowOutput) ToOauth2AuthCodeFlowPtrOutputWithContext(ctx c }).(Oauth2AuthCodeFlowPtrOutput) } +func (o Oauth2AuthCodeFlowOutput) ToOutput(ctx context.Context) pulumix.Output[Oauth2AuthCodeFlow] { + return pulumix.Output[Oauth2AuthCodeFlow]{ + OutputState: o.OutputState, + } +} + // Authorization code to be exchanged for access and refresh tokens. func (o Oauth2AuthCodeFlowOutput) AuthCode() pulumi.StringPtrOutput { return o.ApplyT(func(v Oauth2AuthCodeFlow) *string { return v.AuthCode }).(pulumi.StringPtrOutput) @@ -2634,6 +3055,12 @@ func (o Oauth2AuthCodeFlowPtrOutput) ToOauth2AuthCodeFlowPtrOutputWithContext(ct return o } +func (o Oauth2AuthCodeFlowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Oauth2AuthCodeFlow] { + return pulumix.Output[*Oauth2AuthCodeFlow]{ + OutputState: o.OutputState, + } +} + func (o Oauth2AuthCodeFlowPtrOutput) Elem() Oauth2AuthCodeFlowOutput { return o.ApplyT(func(v *Oauth2AuthCodeFlow) Oauth2AuthCodeFlow { if v != nil { @@ -2747,6 +3174,12 @@ func (o Oauth2AuthCodeFlowResponseOutput) ToOauth2AuthCodeFlowResponseOutputWith return o } +func (o Oauth2AuthCodeFlowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Oauth2AuthCodeFlowResponse] { + return pulumix.Output[Oauth2AuthCodeFlowResponse]{ + OutputState: o.OutputState, + } +} + // Authorization code to be exchanged for access and refresh tokens. func (o Oauth2AuthCodeFlowResponseOutput) AuthCode() pulumi.StringOutput { return o.ApplyT(func(v Oauth2AuthCodeFlowResponse) string { return v.AuthCode }).(pulumi.StringOutput) @@ -2821,6 +3254,12 @@ func (i Oauth2ClientCredentialsArgs) ToOauth2ClientCredentialsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(Oauth2ClientCredentialsOutput) } +func (i Oauth2ClientCredentialsArgs) ToOutput(ctx context.Context) pulumix.Output[Oauth2ClientCredentials] { + return pulumix.Output[Oauth2ClientCredentials]{ + OutputState: i.ToOauth2ClientCredentialsOutputWithContext(ctx).OutputState, + } +} + func (i Oauth2ClientCredentialsArgs) ToOauth2ClientCredentialsPtrOutput() Oauth2ClientCredentialsPtrOutput { return i.ToOauth2ClientCredentialsPtrOutputWithContext(context.Background()) } @@ -2862,6 +3301,12 @@ func (i *oauth2ClientCredentialsPtrType) ToOauth2ClientCredentialsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(Oauth2ClientCredentialsPtrOutput) } +func (i *oauth2ClientCredentialsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Oauth2ClientCredentials] { + return pulumix.Output[*Oauth2ClientCredentials]{ + OutputState: i.ToOauth2ClientCredentialsPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. type Oauth2ClientCredentialsOutput struct{ *pulumi.OutputState } @@ -2887,6 +3332,12 @@ func (o Oauth2ClientCredentialsOutput) ToOauth2ClientCredentialsPtrOutputWithCon }).(Oauth2ClientCredentialsPtrOutput) } +func (o Oauth2ClientCredentialsOutput) ToOutput(ctx context.Context) pulumix.Output[Oauth2ClientCredentials] { + return pulumix.Output[Oauth2ClientCredentials]{ + OutputState: o.OutputState, + } +} + // The client identifier. func (o Oauth2ClientCredentialsOutput) ClientId() pulumi.StringPtrOutput { return o.ApplyT(func(v Oauth2ClientCredentials) *string { return v.ClientId }).(pulumi.StringPtrOutput) @@ -2911,6 +3362,12 @@ func (o Oauth2ClientCredentialsPtrOutput) ToOauth2ClientCredentialsPtrOutputWith return o } +func (o Oauth2ClientCredentialsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Oauth2ClientCredentials] { + return pulumix.Output[*Oauth2ClientCredentials]{ + OutputState: o.OutputState, + } +} + func (o Oauth2ClientCredentialsPtrOutput) Elem() Oauth2ClientCredentialsOutput { return o.ApplyT(func(v *Oauth2ClientCredentials) Oauth2ClientCredentials { if v != nil { @@ -2964,6 +3421,12 @@ func (o Oauth2ClientCredentialsResponseOutput) ToOauth2ClientCredentialsResponse return o } +func (o Oauth2ClientCredentialsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Oauth2ClientCredentialsResponse] { + return pulumix.Output[Oauth2ClientCredentialsResponse]{ + OutputState: o.OutputState, + } +} + // The client identifier. func (o Oauth2ClientCredentialsResponseOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v Oauth2ClientCredentialsResponse) string { return v.ClientId }).(pulumi.StringOutput) @@ -3013,6 +3476,12 @@ func (i Oauth2JwtBearerArgs) ToOauth2JwtBearerOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(Oauth2JwtBearerOutput) } +func (i Oauth2JwtBearerArgs) ToOutput(ctx context.Context) pulumix.Output[Oauth2JwtBearer] { + return pulumix.Output[Oauth2JwtBearer]{ + OutputState: i.ToOauth2JwtBearerOutputWithContext(ctx).OutputState, + } +} + func (i Oauth2JwtBearerArgs) ToOauth2JwtBearerPtrOutput() Oauth2JwtBearerPtrOutput { return i.ToOauth2JwtBearerPtrOutputWithContext(context.Background()) } @@ -3054,6 +3523,12 @@ func (i *oauth2JwtBearerPtrType) ToOauth2JwtBearerPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(Oauth2JwtBearerPtrOutput) } +func (i *oauth2JwtBearerPtrType) ToOutput(ctx context.Context) pulumix.Output[*Oauth2JwtBearer] { + return pulumix.Output[*Oauth2JwtBearer]{ + OutputState: i.ToOauth2JwtBearerPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 Authorization Grant based authentication. See https://tools.ietf.org/html/rfc7523 for more details. type Oauth2JwtBearerOutput struct{ *pulumi.OutputState } @@ -3079,6 +3554,12 @@ func (o Oauth2JwtBearerOutput) ToOauth2JwtBearerPtrOutputWithContext(ctx context }).(Oauth2JwtBearerPtrOutput) } +func (o Oauth2JwtBearerOutput) ToOutput(ctx context.Context) pulumix.Output[Oauth2JwtBearer] { + return pulumix.Output[Oauth2JwtBearer]{ + OutputState: o.OutputState, + } +} + // Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`. func (o Oauth2JwtBearerOutput) ClientKey() SecretPtrOutput { return o.ApplyT(func(v Oauth2JwtBearer) *Secret { return v.ClientKey }).(SecretPtrOutput) @@ -3103,6 +3584,12 @@ func (o Oauth2JwtBearerPtrOutput) ToOauth2JwtBearerPtrOutputWithContext(ctx cont return o } +func (o Oauth2JwtBearerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Oauth2JwtBearer] { + return pulumix.Output[*Oauth2JwtBearer]{ + OutputState: o.OutputState, + } +} + func (o Oauth2JwtBearerPtrOutput) Elem() Oauth2JwtBearerOutput { return o.ApplyT(func(v *Oauth2JwtBearer) Oauth2JwtBearer { if v != nil { @@ -3156,6 +3643,12 @@ func (o Oauth2JwtBearerResponseOutput) ToOauth2JwtBearerResponseOutputWithContex return o } +func (o Oauth2JwtBearerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Oauth2JwtBearerResponse] { + return pulumix.Output[Oauth2JwtBearerResponse]{ + OutputState: o.OutputState, + } +} + // Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate. This private key will be used to sign JWTs used for the jwt-bearer authorization grant. Specified in the form as: `projects/*/secrets/*/versions/*`. func (o Oauth2JwtBearerResponseOutput) ClientKey() SecretResponseOutput { return o.ApplyT(func(v Oauth2JwtBearerResponse) SecretResponse { return v.ClientKey }).(SecretResponseOutput) @@ -3201,6 +3694,12 @@ func (i SecretArgs) ToSecretOutputWithContext(ctx context.Context) SecretOutput return pulumi.ToOutputWithContext(ctx, i).(SecretOutput) } +func (i SecretArgs) ToOutput(ctx context.Context) pulumix.Output[Secret] { + return pulumix.Output[Secret]{ + OutputState: i.ToSecretOutputWithContext(ctx).OutputState, + } +} + func (i SecretArgs) ToSecretPtrOutput() SecretPtrOutput { return i.ToSecretPtrOutputWithContext(context.Background()) } @@ -3242,6 +3741,12 @@ func (i *secretPtrType) ToSecretPtrOutputWithContext(ctx context.Context) Secret return pulumi.ToOutputWithContext(ctx, i).(SecretPtrOutput) } +func (i *secretPtrType) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: i.ToSecretPtrOutputWithContext(ctx).OutputState, + } +} + // Secret provides a reference to entries in Secret Manager. type SecretOutput struct{ *pulumi.OutputState } @@ -3267,6 +3772,12 @@ func (o SecretOutput) ToSecretPtrOutputWithContext(ctx context.Context) SecretPt }).(SecretPtrOutput) } +func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[Secret] { + return pulumix.Output[Secret]{ + OutputState: o.OutputState, + } +} + // The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. func (o SecretOutput) SecretVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v Secret) *string { return v.SecretVersion }).(pulumi.StringPtrOutput) @@ -3286,6 +3797,12 @@ func (o SecretPtrOutput) ToSecretPtrOutputWithContext(ctx context.Context) Secre return o } +func (o SecretPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: o.OutputState, + } +} + func (o SecretPtrOutput) Elem() SecretOutput { return o.ApplyT(func(v *Secret) Secret { if v != nil { @@ -3327,6 +3844,12 @@ func (o SecretResponseOutput) ToSecretResponseOutputWithContext(ctx context.Cont return o } +func (o SecretResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretResponse] { + return pulumix.Output[SecretResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`. func (o SecretResponseOutput) SecretVersion() pulumi.StringOutput { return o.ApplyT(func(v SecretResponse) string { return v.SecretVersion }).(pulumi.StringOutput) @@ -3379,6 +3902,12 @@ func (i SshPublicKeyArgs) ToSshPublicKeyOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SshPublicKeyOutput) } +func (i SshPublicKeyArgs) ToOutput(ctx context.Context) pulumix.Output[SshPublicKey] { + return pulumix.Output[SshPublicKey]{ + OutputState: i.ToSshPublicKeyOutputWithContext(ctx).OutputState, + } +} + func (i SshPublicKeyArgs) ToSshPublicKeyPtrOutput() SshPublicKeyPtrOutput { return i.ToSshPublicKeyPtrOutputWithContext(context.Background()) } @@ -3420,6 +3949,12 @@ func (i *sshPublicKeyPtrType) ToSshPublicKeyPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SshPublicKeyPtrOutput) } +func (i *sshPublicKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*SshPublicKey] { + return pulumix.Output[*SshPublicKey]{ + OutputState: i.ToSshPublicKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters to support Ssh public key Authentication. type SshPublicKeyOutput struct{ *pulumi.OutputState } @@ -3445,6 +3980,12 @@ func (o SshPublicKeyOutput) ToSshPublicKeyPtrOutputWithContext(ctx context.Conte }).(SshPublicKeyPtrOutput) } +func (o SshPublicKeyOutput) ToOutput(ctx context.Context) pulumix.Output[SshPublicKey] { + return pulumix.Output[SshPublicKey]{ + OutputState: o.OutputState, + } +} + // Format of SSH Client cert. func (o SshPublicKeyOutput) CertType() pulumi.StringPtrOutput { return o.ApplyT(func(v SshPublicKey) *string { return v.CertType }).(pulumi.StringPtrOutput) @@ -3479,6 +4020,12 @@ func (o SshPublicKeyPtrOutput) ToSshPublicKeyPtrOutputWithContext(ctx context.Co return o } +func (o SshPublicKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SshPublicKey] { + return pulumix.Output[*SshPublicKey]{ + OutputState: o.OutputState, + } +} + func (o SshPublicKeyPtrOutput) Elem() SshPublicKeyOutput { return o.ApplyT(func(v *SshPublicKey) SshPublicKey { if v != nil { @@ -3556,6 +4103,12 @@ func (o SshPublicKeyResponseOutput) ToSshPublicKeyResponseOutputWithContext(ctx return o } +func (o SshPublicKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SshPublicKeyResponse] { + return pulumix.Output[SshPublicKeyResponse]{ + OutputState: o.OutputState, + } +} + // Format of SSH Client cert. func (o SshPublicKeyResponseOutput) CertType() pulumi.StringOutput { return o.ApplyT(func(v SshPublicKeyResponse) string { return v.CertType }).(pulumi.StringOutput) @@ -3647,6 +4200,12 @@ func (i SslConfigArgs) ToSslConfigOutputWithContext(ctx context.Context) SslConf return pulumi.ToOutputWithContext(ctx, i).(SslConfigOutput) } +func (i SslConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SslConfig] { + return pulumix.Output[SslConfig]{ + OutputState: i.ToSslConfigOutputWithContext(ctx).OutputState, + } +} + func (i SslConfigArgs) ToSslConfigPtrOutput() SslConfigPtrOutput { return i.ToSslConfigPtrOutputWithContext(context.Background()) } @@ -3688,6 +4247,12 @@ func (i *sslConfigPtrType) ToSslConfigPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SslConfigPtrOutput) } +func (i *sslConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SslConfig] { + return pulumix.Output[*SslConfig]{ + OutputState: i.ToSslConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SSL Configuration of a connection type SslConfigOutput struct{ *pulumi.OutputState } @@ -3713,6 +4278,12 @@ func (o SslConfigOutput) ToSslConfigPtrOutputWithContext(ctx context.Context) Ss }).(SslConfigPtrOutput) } +func (o SslConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SslConfig] { + return pulumix.Output[SslConfig]{ + OutputState: o.OutputState, + } +} + // Additional SSL related field values func (o SslConfigOutput) AdditionalVariables() ConfigVariableArrayOutput { return o.ApplyT(func(v SslConfig) []ConfigVariable { return v.AdditionalVariables }).(ConfigVariableArrayOutput) @@ -3777,6 +4348,12 @@ func (o SslConfigPtrOutput) ToSslConfigPtrOutputWithContext(ctx context.Context) return o } +func (o SslConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslConfig] { + return pulumix.Output[*SslConfig]{ + OutputState: o.OutputState, + } +} + func (o SslConfigPtrOutput) Elem() SslConfigOutput { return o.ApplyT(func(v *SslConfig) SslConfig { if v != nil { @@ -3926,6 +4503,12 @@ func (o SslConfigResponseOutput) ToSslConfigResponseOutputWithContext(ctx contex return o } +func (o SslConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslConfigResponse] { + return pulumix.Output[SslConfigResponse]{ + OutputState: o.OutputState, + } +} + // Additional SSL related field values func (o SslConfigResponseOutput) AdditionalVariables() ConfigVariableResponseArrayOutput { return o.ApplyT(func(v SslConfigResponse) []ConfigVariableResponse { return v.AdditionalVariables }).(ConfigVariableResponseArrayOutput) @@ -4015,6 +4598,12 @@ func (i UserPasswordArgs) ToUserPasswordOutputWithContext(ctx context.Context) U return pulumi.ToOutputWithContext(ctx, i).(UserPasswordOutput) } +func (i UserPasswordArgs) ToOutput(ctx context.Context) pulumix.Output[UserPassword] { + return pulumix.Output[UserPassword]{ + OutputState: i.ToUserPasswordOutputWithContext(ctx).OutputState, + } +} + func (i UserPasswordArgs) ToUserPasswordPtrOutput() UserPasswordPtrOutput { return i.ToUserPasswordPtrOutputWithContext(context.Background()) } @@ -4056,6 +4645,12 @@ func (i *userPasswordPtrType) ToUserPasswordPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(UserPasswordPtrOutput) } +func (i *userPasswordPtrType) ToOutput(ctx context.Context) pulumix.Output[*UserPassword] { + return pulumix.Output[*UserPassword]{ + OutputState: i.ToUserPasswordPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters to support Username and Password Authentication. type UserPasswordOutput struct{ *pulumi.OutputState } @@ -4081,6 +4676,12 @@ func (o UserPasswordOutput) ToUserPasswordPtrOutputWithContext(ctx context.Conte }).(UserPasswordPtrOutput) } +func (o UserPasswordOutput) ToOutput(ctx context.Context) pulumix.Output[UserPassword] { + return pulumix.Output[UserPassword]{ + OutputState: o.OutputState, + } +} + // Secret version reference containing the password. func (o UserPasswordOutput) Password() SecretPtrOutput { return o.ApplyT(func(v UserPassword) *Secret { return v.Password }).(SecretPtrOutput) @@ -4105,6 +4706,12 @@ func (o UserPasswordPtrOutput) ToUserPasswordPtrOutputWithContext(ctx context.Co return o } +func (o UserPasswordPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserPassword] { + return pulumix.Output[*UserPassword]{ + OutputState: o.OutputState, + } +} + func (o UserPasswordPtrOutput) Elem() UserPasswordOutput { return o.ApplyT(func(v *UserPassword) UserPassword { if v != nil { @@ -4158,6 +4765,12 @@ func (o UserPasswordResponseOutput) ToUserPasswordResponseOutputWithContext(ctx return o } +func (o UserPasswordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UserPasswordResponse] { + return pulumix.Output[UserPasswordResponse]{ + OutputState: o.OutputState, + } +} + // Secret version reference containing the password. func (o UserPasswordResponseOutput) Password() SecretResponseOutput { return o.ApplyT(func(v UserPasswordResponse) SecretResponse { return v.Password }).(SecretResponseOutput) diff --git a/sdk/go/google/connectors/v2/entity.go b/sdk/go/google/connectors/v2/entity.go index 41ecc27334..914bb27dc2 100644 --- a/sdk/go/google/connectors/v2/entity.go +++ b/sdk/go/google/connectors/v2/entity.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new entity row of the specified entity type in the external system. The field values for creating the row are contained in the body of the request. The response message contains a `Entity` message object returned as a response by the external system. @@ -121,6 +122,12 @@ func (i *Entity) ToEntityOutputWithContext(ctx context.Context) EntityOutput { return pulumi.ToOutputWithContext(ctx, i).(EntityOutput) } +func (i *Entity) ToOutput(ctx context.Context) pulumix.Output[*Entity] { + return pulumix.Output[*Entity]{ + OutputState: i.ToEntityOutputWithContext(ctx).OutputState, + } +} + type EntityOutput struct{ *pulumi.OutputState } func (EntityOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o EntityOutput) ToEntityOutputWithContext(ctx context.Context) EntityOutpu return o } +func (o EntityOutput) ToOutput(ctx context.Context) pulumix.Output[*Entity] { + return pulumix.Output[*Entity]{ + OutputState: o.OutputState, + } +} + func (o EntityOutput) ConnectionId() pulumi.StringOutput { return o.ApplyT(func(v *Entity) pulumi.StringOutput { return v.ConnectionId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/connectors/v2/getEntity.go b/sdk/go/google/connectors/v2/getEntity.go index 136a75fb4c..3a5bb45924 100644 --- a/sdk/go/google/connectors/v2/getEntity.go +++ b/sdk/go/google/connectors/v2/getEntity.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single entity row matching the entity type and entity id specified in the request. @@ -76,6 +77,12 @@ func (o LookupEntityResultOutput) ToLookupEntityResultOutputWithContext(ctx cont return o } +func (o LookupEntityResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntityResult] { + return pulumix.Output[LookupEntityResult]{ + OutputState: o.OutputState, + } +} + // Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field. func (o LookupEntityResultOutput) Fields() pulumi.StringMapOutput { return o.ApplyT(func(v LookupEntityResult) map[string]string { return v.Fields }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/contactcenteraiplatform/v1alpha1/contactCenter.go b/sdk/go/google/contactcenteraiplatform/v1alpha1/contactCenter.go index 58aae17538..592b64e73d 100644 --- a/sdk/go/google/contactcenteraiplatform/v1alpha1/contactCenter.go +++ b/sdk/go/google/contactcenteraiplatform/v1alpha1/contactCenter.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ContactCenter in a given project and location. @@ -182,6 +183,12 @@ func (i *ContactCenter) ToContactCenterOutputWithContext(ctx context.Context) Co return pulumi.ToOutputWithContext(ctx, i).(ContactCenterOutput) } +func (i *ContactCenter) ToOutput(ctx context.Context) pulumix.Output[*ContactCenter] { + return pulumix.Output[*ContactCenter]{ + OutputState: i.ToContactCenterOutputWithContext(ctx).OutputState, + } +} + type ContactCenterOutput struct{ *pulumi.OutputState } func (ContactCenterOutput) ElementType() reflect.Type { @@ -196,6 +203,12 @@ func (o ContactCenterOutput) ToContactCenterOutputWithContext(ctx context.Contex return o } +func (o ContactCenterOutput) ToOutput(ctx context.Context) pulumix.Output[*ContactCenter] { + return pulumix.Output[*ContactCenter]{ + OutputState: o.OutputState, + } +} + // Optional. Info about the first admin user, such as given name and family name. func (o ContactCenterOutput) AdminUser() AdminUserResponseOutput { return o.ApplyT(func(v *ContactCenter) AdminUserResponseOutput { return v.AdminUser }).(AdminUserResponseOutput) diff --git a/sdk/go/google/contactcenteraiplatform/v1alpha1/getContactCenter.go b/sdk/go/google/contactcenteraiplatform/v1alpha1/getContactCenter.go index b4e9575b08..764a0218b9 100644 --- a/sdk/go/google/contactcenteraiplatform/v1alpha1/getContactCenter.go +++ b/sdk/go/google/contactcenteraiplatform/v1alpha1/getContactCenter.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ContactCenter. @@ -94,6 +95,12 @@ func (o LookupContactCenterResultOutput) ToLookupContactCenterResultOutputWithCo return o } +func (o LookupContactCenterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupContactCenterResult] { + return pulumix.Output[LookupContactCenterResult]{ + OutputState: o.OutputState, + } +} + // Optional. Info about the first admin user, such as given name and family name. func (o LookupContactCenterResultOutput) AdminUser() AdminUserResponseOutput { return o.ApplyT(func(v LookupContactCenterResult) AdminUserResponse { return v.AdminUser }).(AdminUserResponseOutput) diff --git a/sdk/go/google/contactcenteraiplatform/v1alpha1/pulumiEnums.go b/sdk/go/google/contactcenteraiplatform/v1alpha1/pulumiEnums.go index c86a061756..a9bc4b355a 100644 --- a/sdk/go/google/contactcenteraiplatform/v1alpha1/pulumiEnums.go +++ b/sdk/go/google/contactcenteraiplatform/v1alpha1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The instance size of this the instance configuration. @@ -90,6 +91,12 @@ func (o InstanceConfigInstanceSizeOutput) ToInstanceConfigInstanceSizePtrOutputW }).(InstanceConfigInstanceSizePtrOutput) } +func (o InstanceConfigInstanceSizeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceConfigInstanceSize] { + return pulumix.Output[InstanceConfigInstanceSize]{ + OutputState: o.OutputState, + } +} + func (o InstanceConfigInstanceSizeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -125,6 +132,12 @@ func (o InstanceConfigInstanceSizePtrOutput) ToInstanceConfigInstanceSizePtrOutp return o } +func (o InstanceConfigInstanceSizePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceConfigInstanceSize] { + return pulumix.Output[*InstanceConfigInstanceSize]{ + OutputState: o.OutputState, + } +} + func (o InstanceConfigInstanceSizePtrOutput) Elem() InstanceConfigInstanceSizeOutput { return o.ApplyT(func(v *InstanceConfigInstanceSize) InstanceConfigInstanceSize { if v != nil { @@ -187,6 +200,12 @@ func (in *instanceConfigInstanceSizePtr) ToInstanceConfigInstanceSizePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(InstanceConfigInstanceSizePtrOutput) } +func (in *instanceConfigInstanceSizePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceConfigInstanceSize] { + return pulumix.Output[*InstanceConfigInstanceSize]{ + OutputState: in.ToInstanceConfigInstanceSizePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceConfigInstanceSizeInput)(nil)).Elem(), InstanceConfigInstanceSize("INSTANCE_SIZE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*InstanceConfigInstanceSizePtrInput)(nil)).Elem(), InstanceConfigInstanceSize("INSTANCE_SIZE_UNSPECIFIED")) diff --git a/sdk/go/google/contactcenteraiplatform/v1alpha1/pulumiTypes.go b/sdk/go/google/contactcenteraiplatform/v1alpha1/pulumiTypes.go index 36e477b9a8..49d2a9f347 100644 --- a/sdk/go/google/contactcenteraiplatform/v1alpha1/pulumiTypes.go +++ b/sdk/go/google/contactcenteraiplatform/v1alpha1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AdminUserArgs) ToAdminUserOutputWithContext(ctx context.Context) AdminUs return pulumi.ToOutputWithContext(ctx, i).(AdminUserOutput) } +func (i AdminUserArgs) ToOutput(ctx context.Context) pulumix.Output[AdminUser] { + return pulumix.Output[AdminUser]{ + OutputState: i.ToAdminUserOutputWithContext(ctx).OutputState, + } +} + func (i AdminUserArgs) ToAdminUserPtrOutput() AdminUserPtrOutput { return i.ToAdminUserPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *adminUserPtrType) ToAdminUserPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AdminUserPtrOutput) } +func (i *adminUserPtrType) ToOutput(ctx context.Context) pulumix.Output[*AdminUser] { + return pulumix.Output[*AdminUser]{ + OutputState: i.ToAdminUserPtrOutputWithContext(ctx).OutputState, + } +} + // Message storing info about the first admin user. Next ID: 3 type AdminUserOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AdminUserOutput) ToAdminUserPtrOutputWithContext(ctx context.Context) Ad }).(AdminUserPtrOutput) } +func (o AdminUserOutput) ToOutput(ctx context.Context) pulumix.Output[AdminUser] { + return pulumix.Output[AdminUser]{ + OutputState: o.OutputState, + } +} + // Optional. Last/family name of the first admin user. func (o AdminUserOutput) FamilyName() pulumi.StringPtrOutput { return o.ApplyT(func(v AdminUser) *string { return v.FamilyName }).(pulumi.StringPtrOutput) @@ -142,6 +161,12 @@ func (o AdminUserPtrOutput) ToAdminUserPtrOutputWithContext(ctx context.Context) return o } +func (o AdminUserPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AdminUser] { + return pulumix.Output[*AdminUser]{ + OutputState: o.OutputState, + } +} + func (o AdminUserPtrOutput) Elem() AdminUserOutput { return o.ApplyT(func(v *AdminUser) AdminUser { if v != nil { @@ -195,6 +220,12 @@ func (o AdminUserResponseOutput) ToAdminUserResponseOutputWithContext(ctx contex return o } +func (o AdminUserResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdminUserResponse] { + return pulumix.Output[AdminUserResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Last/family name of the first admin user. func (o AdminUserResponseOutput) FamilyName() pulumi.StringOutput { return o.ApplyT(func(v AdminUserResponse) string { return v.FamilyName }).(pulumi.StringOutput) @@ -240,6 +271,12 @@ func (i InstanceConfigArgs) ToInstanceConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(InstanceConfigOutput) } +func (i InstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceConfig] { + return pulumix.Output[InstanceConfig]{ + OutputState: i.ToInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i InstanceConfigArgs) ToInstanceConfigPtrOutput() InstanceConfigPtrOutput { return i.ToInstanceConfigPtrOutputWithContext(context.Background()) } @@ -281,6 +318,12 @@ func (i *instanceConfigPtrType) ToInstanceConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(InstanceConfigPtrOutput) } +func (i *instanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceConfig] { + return pulumix.Output[*InstanceConfig]{ + OutputState: i.ToInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Message storing the instance configuration. type InstanceConfigOutput struct{ *pulumi.OutputState } @@ -306,6 +349,12 @@ func (o InstanceConfigOutput) ToInstanceConfigPtrOutputWithContext(ctx context.C }).(InstanceConfigPtrOutput) } +func (o InstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceConfig] { + return pulumix.Output[InstanceConfig]{ + OutputState: o.OutputState, + } +} + // The instance size of this the instance configuration. func (o InstanceConfigOutput) InstanceSize() InstanceConfigInstanceSizePtrOutput { return o.ApplyT(func(v InstanceConfig) *InstanceConfigInstanceSize { return v.InstanceSize }).(InstanceConfigInstanceSizePtrOutput) @@ -325,6 +374,12 @@ func (o InstanceConfigPtrOutput) ToInstanceConfigPtrOutputWithContext(ctx contex return o } +func (o InstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceConfig] { + return pulumix.Output[*InstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o InstanceConfigPtrOutput) Elem() InstanceConfigOutput { return o.ApplyT(func(v *InstanceConfig) InstanceConfig { if v != nil { @@ -366,6 +421,12 @@ func (o InstanceConfigResponseOutput) ToInstanceConfigResponseOutputWithContext( return o } +func (o InstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceConfigResponse] { + return pulumix.Output[InstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // The instance size of this the instance configuration. func (o InstanceConfigResponseOutput) InstanceSize() pulumi.StringOutput { return o.ApplyT(func(v InstanceConfigResponse) string { return v.InstanceSize }).(pulumi.StringOutput) @@ -418,6 +479,12 @@ func (i SAMLParamsArgs) ToSAMLParamsOutputWithContext(ctx context.Context) SAMLP return pulumi.ToOutputWithContext(ctx, i).(SAMLParamsOutput) } +func (i SAMLParamsArgs) ToOutput(ctx context.Context) pulumix.Output[SAMLParams] { + return pulumix.Output[SAMLParams]{ + OutputState: i.ToSAMLParamsOutputWithContext(ctx).OutputState, + } +} + func (i SAMLParamsArgs) ToSAMLParamsPtrOutput() SAMLParamsPtrOutput { return i.ToSAMLParamsPtrOutputWithContext(context.Background()) } @@ -459,6 +526,12 @@ func (i *samlparamsPtrType) ToSAMLParamsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SAMLParamsPtrOutput) } +func (i *samlparamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SAMLParams] { + return pulumix.Output[*SAMLParams]{ + OutputState: i.ToSAMLParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Message storing SAML params to enable Google as IDP. type SAMLParamsOutput struct{ *pulumi.OutputState } @@ -484,6 +557,12 @@ func (o SAMLParamsOutput) ToSAMLParamsPtrOutputWithContext(ctx context.Context) }).(SAMLParamsPtrOutput) } +func (o SAMLParamsOutput) ToOutput(ctx context.Context) pulumix.Output[SAMLParams] { + return pulumix.Output[SAMLParams]{ + OutputState: o.OutputState, + } +} + // SAML certificate func (o SAMLParamsOutput) Certificate() pulumi.StringPtrOutput { return o.ApplyT(func(v SAMLParams) *string { return v.Certificate }).(pulumi.StringPtrOutput) @@ -518,6 +597,12 @@ func (o SAMLParamsPtrOutput) ToSAMLParamsPtrOutputWithContext(ctx context.Contex return o } +func (o SAMLParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SAMLParams] { + return pulumix.Output[*SAMLParams]{ + OutputState: o.OutputState, + } +} + func (o SAMLParamsPtrOutput) Elem() SAMLParamsOutput { return o.ApplyT(func(v *SAMLParams) SAMLParams { if v != nil { @@ -595,6 +680,12 @@ func (o SAMLParamsResponseOutput) ToSAMLParamsResponseOutputWithContext(ctx cont return o } +func (o SAMLParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SAMLParamsResponse] { + return pulumix.Output[SAMLParamsResponse]{ + OutputState: o.OutputState, + } +} + // SAML certificate func (o SAMLParamsResponseOutput) Certificate() pulumi.StringOutput { return o.ApplyT(func(v SAMLParamsResponse) string { return v.Certificate }).(pulumi.StringOutput) @@ -642,6 +733,12 @@ func (o URIsResponseOutput) ToURIsResponseOutputWithContext(ctx context.Context) return o } +func (o URIsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[URIsResponse] { + return pulumix.Output[URIsResponse]{ + OutputState: o.OutputState, + } +} + // Chat Bot Uri of the ContactCenter func (o URIsResponseOutput) ChatBotUri() pulumi.StringOutput { return o.ApplyT(func(v URIsResponse) string { return v.ChatBotUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/contactcenterinsights/v1/analysis.go b/sdk/go/google/contactcenterinsights/v1/analysis.go index c4497a2eb3..3098f186d8 100644 --- a/sdk/go/google/contactcenterinsights/v1/analysis.go +++ b/sdk/go/google/contactcenterinsights/v1/analysis.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an analysis. The long running operation is done when the analysis has completed. @@ -123,6 +124,12 @@ func (i *Analysis) ToAnalysisOutputWithContext(ctx context.Context) AnalysisOutp return pulumi.ToOutputWithContext(ctx, i).(AnalysisOutput) } +func (i *Analysis) ToOutput(ctx context.Context) pulumix.Output[*Analysis] { + return pulumix.Output[*Analysis]{ + OutputState: i.ToAnalysisOutputWithContext(ctx).OutputState, + } +} + type AnalysisOutput struct{ *pulumi.OutputState } func (AnalysisOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o AnalysisOutput) ToAnalysisOutputWithContext(ctx context.Context) Analysi return o } +func (o AnalysisOutput) ToOutput(ctx context.Context) pulumix.Output[*Analysis] { + return pulumix.Output[*Analysis]{ + OutputState: o.OutputState, + } +} + // The result of the analysis, which is populated when the analysis finishes. func (o AnalysisOutput) AnalysisResult() GoogleCloudContactcenterinsightsV1AnalysisResultResponseOutput { return o.ApplyT(func(v *Analysis) GoogleCloudContactcenterinsightsV1AnalysisResultResponseOutput { diff --git a/sdk/go/google/contactcenterinsights/v1/conversation.go b/sdk/go/google/contactcenterinsights/v1/conversation.go index a04cb23b1e..b3d08c4cb6 100644 --- a/sdk/go/google/contactcenterinsights/v1/conversation.go +++ b/sdk/go/google/contactcenterinsights/v1/conversation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a conversation. @@ -187,6 +188,12 @@ func (i *Conversation) ToConversationOutputWithContext(ctx context.Context) Conv return pulumi.ToOutputWithContext(ctx, i).(ConversationOutput) } +func (i *Conversation) ToOutput(ctx context.Context) pulumix.Output[*Conversation] { + return pulumix.Output[*Conversation]{ + OutputState: i.ToConversationOutputWithContext(ctx).OutputState, + } +} + type ConversationOutput struct{ *pulumi.OutputState } func (ConversationOutput) ElementType() reflect.Type { @@ -201,6 +208,12 @@ func (o ConversationOutput) ToConversationOutputWithContext(ctx context.Context) return o } +func (o ConversationOutput) ToOutput(ctx context.Context) pulumix.Output[*Conversation] { + return pulumix.Output[*Conversation]{ + OutputState: o.OutputState, + } +} + // An opaque, user-specified string representing the human agent who handled the conversation. func (o ConversationOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Conversation) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) diff --git a/sdk/go/google/contactcenterinsights/v1/getAnalysis.go b/sdk/go/google/contactcenterinsights/v1/getAnalysis.go index ef41a90eac..c49c99f509 100644 --- a/sdk/go/google/contactcenterinsights/v1/getAnalysis.go +++ b/sdk/go/google/contactcenterinsights/v1/getAnalysis.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an analysis. @@ -80,6 +81,12 @@ func (o LookupAnalysisResultOutput) ToLookupAnalysisResultOutputWithContext(ctx return o } +func (o LookupAnalysisResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAnalysisResult] { + return pulumix.Output[LookupAnalysisResult]{ + OutputState: o.OutputState, + } +} + // The result of the analysis, which is populated when the analysis finishes. func (o LookupAnalysisResultOutput) AnalysisResult() GoogleCloudContactcenterinsightsV1AnalysisResultResponseOutput { return o.ApplyT(func(v LookupAnalysisResult) GoogleCloudContactcenterinsightsV1AnalysisResultResponse { diff --git a/sdk/go/google/contactcenterinsights/v1/getConversation.go b/sdk/go/google/contactcenterinsights/v1/getConversation.go index c30608adac..0cf74c19f7 100644 --- a/sdk/go/google/contactcenterinsights/v1/getConversation.go +++ b/sdk/go/google/contactcenterinsights/v1/getConversation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a conversation. @@ -110,6 +111,12 @@ func (o LookupConversationResultOutput) ToLookupConversationResultOutputWithCont return o } +func (o LookupConversationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConversationResult] { + return pulumix.Output[LookupConversationResult]{ + OutputState: o.OutputState, + } +} + // An opaque, user-specified string representing the human agent who handled the conversation. func (o LookupConversationResultOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v LookupConversationResult) string { return v.AgentId }).(pulumi.StringOutput) diff --git a/sdk/go/google/contactcenterinsights/v1/getIssueModel.go b/sdk/go/google/contactcenterinsights/v1/getIssueModel.go index ab1fea31de..f3028d2071 100644 --- a/sdk/go/google/contactcenterinsights/v1/getIssueModel.go +++ b/sdk/go/google/contactcenterinsights/v1/getIssueModel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an issue model. @@ -84,6 +85,12 @@ func (o LookupIssueModelResultOutput) ToLookupIssueModelResultOutputWithContext( return o } +func (o LookupIssueModelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIssueModelResult] { + return pulumix.Output[LookupIssueModelResult]{ + OutputState: o.OutputState, + } +} + // The time at which this issue model was created. func (o LookupIssueModelResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupIssueModelResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/contactcenterinsights/v1/getPhraseMatcher.go b/sdk/go/google/contactcenterinsights/v1/getPhraseMatcher.go index 6d819dde10..c8bab22f90 100644 --- a/sdk/go/google/contactcenterinsights/v1/getPhraseMatcher.go +++ b/sdk/go/google/contactcenterinsights/v1/getPhraseMatcher.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a phrase matcher. @@ -90,6 +91,12 @@ func (o LookupPhraseMatcherResultOutput) ToLookupPhraseMatcherResultOutputWithCo return o } +func (o LookupPhraseMatcherResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPhraseMatcherResult] { + return pulumix.Output[LookupPhraseMatcherResult]{ + OutputState: o.OutputState, + } +} + // The most recent time at which the activation status was updated. func (o LookupPhraseMatcherResultOutput) ActivationUpdateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupPhraseMatcherResult) string { return v.ActivationUpdateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/contactcenterinsights/v1/getView.go b/sdk/go/google/contactcenterinsights/v1/getView.go index 21b38bfd69..cb9245cfdc 100644 --- a/sdk/go/google/contactcenterinsights/v1/getView.go +++ b/sdk/go/google/contactcenterinsights/v1/getView.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a view. @@ -78,6 +79,12 @@ func (o LookupViewResultOutput) ToLookupViewResultOutputWithContext(ctx context. return o } +func (o LookupViewResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupViewResult] { + return pulumix.Output[LookupViewResult]{ + OutputState: o.OutputState, + } +} + // The time at which this view was created. func (o LookupViewResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupViewResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/contactcenterinsights/v1/issueModel.go b/sdk/go/google/contactcenterinsights/v1/issueModel.go index 730d1f236f..71c3c11db1 100644 --- a/sdk/go/google/contactcenterinsights/v1/issueModel.go +++ b/sdk/go/google/contactcenterinsights/v1/issueModel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an issue model. @@ -125,6 +126,12 @@ func (i *IssueModel) ToIssueModelOutputWithContext(ctx context.Context) IssueMod return pulumi.ToOutputWithContext(ctx, i).(IssueModelOutput) } +func (i *IssueModel) ToOutput(ctx context.Context) pulumix.Output[*IssueModel] { + return pulumix.Output[*IssueModel]{ + OutputState: i.ToIssueModelOutputWithContext(ctx).OutputState, + } +} + type IssueModelOutput struct{ *pulumi.OutputState } func (IssueModelOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o IssueModelOutput) ToIssueModelOutputWithContext(ctx context.Context) Iss return o } +func (o IssueModelOutput) ToOutput(ctx context.Context) pulumix.Output[*IssueModel] { + return pulumix.Output[*IssueModel]{ + OutputState: o.OutputState, + } +} + // The time at which this issue model was created. func (o IssueModelOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *IssueModel) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/contactcenterinsights/v1/phraseMatcher.go b/sdk/go/google/contactcenterinsights/v1/phraseMatcher.go index e9ca416a92..bf249ebdce 100644 --- a/sdk/go/google/contactcenterinsights/v1/phraseMatcher.go +++ b/sdk/go/google/contactcenterinsights/v1/phraseMatcher.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a phrase matcher. @@ -151,6 +152,12 @@ func (i *PhraseMatcher) ToPhraseMatcherOutputWithContext(ctx context.Context) Ph return pulumi.ToOutputWithContext(ctx, i).(PhraseMatcherOutput) } +func (i *PhraseMatcher) ToOutput(ctx context.Context) pulumix.Output[*PhraseMatcher] { + return pulumix.Output[*PhraseMatcher]{ + OutputState: i.ToPhraseMatcherOutputWithContext(ctx).OutputState, + } +} + type PhraseMatcherOutput struct{ *pulumi.OutputState } func (PhraseMatcherOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o PhraseMatcherOutput) ToPhraseMatcherOutputWithContext(ctx context.Contex return o } +func (o PhraseMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[*PhraseMatcher] { + return pulumix.Output[*PhraseMatcher]{ + OutputState: o.OutputState, + } +} + // The most recent time at which the activation status was updated. func (o PhraseMatcherOutput) ActivationUpdateTime() pulumi.StringOutput { return o.ApplyT(func(v *PhraseMatcher) pulumi.StringOutput { return v.ActivationUpdateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/contactcenterinsights/v1/pulumiEnums.go b/sdk/go/google/contactcenterinsights/v1/pulumiEnums.go index 3a632c02ef..96eb0c1870 100644 --- a/sdk/go/google/contactcenterinsights/v1/pulumiEnums.go +++ b/sdk/go/google/contactcenterinsights/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Immutable. The conversation medium, if unspecified will default to PHONE_CALL. @@ -82,6 +83,12 @@ func (o ConversationMediumOutput) ToConversationMediumPtrOutputWithContext(ctx c }).(ConversationMediumPtrOutput) } +func (o ConversationMediumOutput) ToOutput(ctx context.Context) pulumix.Output[ConversationMedium] { + return pulumix.Output[ConversationMedium]{ + OutputState: o.OutputState, + } +} + func (o ConversationMediumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o ConversationMediumPtrOutput) ToConversationMediumPtrOutputWithContext(ct return o } +func (o ConversationMediumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversationMedium] { + return pulumix.Output[*ConversationMedium]{ + OutputState: o.OutputState, + } +} + func (o ConversationMediumPtrOutput) Elem() ConversationMediumOutput { return o.ApplyT(func(v *ConversationMedium) ConversationMedium { if v != nil { @@ -179,6 +192,12 @@ func (in *conversationMediumPtr) ToConversationMediumPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ConversationMediumPtrOutput) } +func (in *conversationMediumPtr) ToOutput(ctx context.Context) pulumix.Output[*ConversationMedium] { + return pulumix.Output[*ConversationMedium]{ + OutputState: in.ToConversationMediumPtrOutputWithContext(ctx).OutputState, + } +} + // Default summarization model to be used. type GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel string @@ -249,6 +268,12 @@ func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSu }).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput) } +func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSu return o } +func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput) Elem() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel { if v != nil { @@ -346,6 +377,12 @@ func (in *googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutput) } +func (in *googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModel]{ + OutputState: in.ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigSummarizationModelPtrOutputWithContext(ctx).OutputState, + } +} + // Medium of conversations used in training data. This field is being deprecated. To specify the medium to be used in training a new issue model, set the `medium` field on `filter`. type GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium string @@ -418,6 +455,12 @@ func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) }).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput) } +func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -453,6 +496,12 @@ func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutp return o } +func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput) Elem() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium { if v != nil { @@ -515,6 +564,12 @@ func (in *googleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutput) } +func (in *googleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMedium]{ + OutputState: in.ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigMediumPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of this phrase match rule group. type GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType string @@ -587,6 +642,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToGoog }).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -622,6 +683,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) ToG return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) Elem() GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypeOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType { if v != nil { @@ -684,6 +751,12 @@ func (in *googleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtr) ToGoogl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutput) } +func (in *googleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupType]{ + OutputState: in.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupTypePtrOutputWithContext(ctx).OutputState, + } +} + // The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript. type PhraseMatcherRoleMatch string @@ -760,6 +833,12 @@ func (o PhraseMatcherRoleMatchOutput) ToPhraseMatcherRoleMatchPtrOutputWithConte }).(PhraseMatcherRoleMatchPtrOutput) } +func (o PhraseMatcherRoleMatchOutput) ToOutput(ctx context.Context) pulumix.Output[PhraseMatcherRoleMatch] { + return pulumix.Output[PhraseMatcherRoleMatch]{ + OutputState: o.OutputState, + } +} + func (o PhraseMatcherRoleMatchOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -795,6 +874,12 @@ func (o PhraseMatcherRoleMatchPtrOutput) ToPhraseMatcherRoleMatchPtrOutputWithCo return o } +func (o PhraseMatcherRoleMatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PhraseMatcherRoleMatch] { + return pulumix.Output[*PhraseMatcherRoleMatch]{ + OutputState: o.OutputState, + } +} + func (o PhraseMatcherRoleMatchPtrOutput) Elem() PhraseMatcherRoleMatchOutput { return o.ApplyT(func(v *PhraseMatcherRoleMatch) PhraseMatcherRoleMatch { if v != nil { @@ -857,6 +942,12 @@ func (in *phraseMatcherRoleMatchPtr) ToPhraseMatcherRoleMatchPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(PhraseMatcherRoleMatchPtrOutput) } +func (in *phraseMatcherRoleMatchPtr) ToOutput(ctx context.Context) pulumix.Output[*PhraseMatcherRoleMatch] { + return pulumix.Output[*PhraseMatcherRoleMatch]{ + OutputState: in.ToPhraseMatcherRoleMatchPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of this phrase matcher. type PhraseMatcherType string @@ -929,6 +1020,12 @@ func (o PhraseMatcherTypeOutput) ToPhraseMatcherTypePtrOutputWithContext(ctx con }).(PhraseMatcherTypePtrOutput) } +func (o PhraseMatcherTypeOutput) ToOutput(ctx context.Context) pulumix.Output[PhraseMatcherType] { + return pulumix.Output[PhraseMatcherType]{ + OutputState: o.OutputState, + } +} + func (o PhraseMatcherTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -964,6 +1061,12 @@ func (o PhraseMatcherTypePtrOutput) ToPhraseMatcherTypePtrOutputWithContext(ctx return o } +func (o PhraseMatcherTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PhraseMatcherType] { + return pulumix.Output[*PhraseMatcherType]{ + OutputState: o.OutputState, + } +} + func (o PhraseMatcherTypePtrOutput) Elem() PhraseMatcherTypeOutput { return o.ApplyT(func(v *PhraseMatcherType) PhraseMatcherType { if v != nil { @@ -1026,6 +1129,12 @@ func (in *phraseMatcherTypePtr) ToPhraseMatcherTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(PhraseMatcherTypePtrOutput) } +func (in *phraseMatcherTypePtr) ToOutput(ctx context.Context) pulumix.Output[*PhraseMatcherType] { + return pulumix.Output[*PhraseMatcherType]{ + OutputState: in.ToPhraseMatcherTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConversationMediumInput)(nil)).Elem(), ConversationMedium("MEDIUM_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ConversationMediumPtrInput)(nil)).Elem(), ConversationMedium("MEDIUM_UNSPECIFIED")) diff --git a/sdk/go/google/contactcenterinsights/v1/pulumiTypes.go b/sdk/go/google/contactcenterinsights/v1/pulumiTypes.go index c66759ca7c..2556dd35c0 100644 --- a/sdk/go/google/contactcenterinsights/v1/pulumiTypes.go +++ b/sdk/go/google/contactcenterinsights/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -42,6 +43,12 @@ func (o GoogleCloudContactcenterinsightsV1AnalysisResponseOutput) ToGoogleCloudC return o } +func (o GoogleCloudContactcenterinsightsV1AnalysisResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnalysisResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnalysisResponse]{ + OutputState: o.OutputState, + } +} + // The result of the analysis, which is populated when the analysis finishes. func (o GoogleCloudContactcenterinsightsV1AnalysisResponseOutput) AnalysisResult() GoogleCloudContactcenterinsightsV1AnalysisResultResponseOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1AnalysisResponse) GoogleCloudContactcenterinsightsV1AnalysisResultResponse { @@ -102,6 +109,12 @@ func (o GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadataResp return o } +func (o GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadataResponse]{ + OutputState: o.OutputState, + } +} + // A list of call annotations that apply to this call. func (o GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadataResponseOutput) Annotations() GoogleCloudContactcenterinsightsV1CallAnnotationResponseArrayOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadataResponse) []GoogleCloudContactcenterinsightsV1CallAnnotationResponse { @@ -167,6 +180,12 @@ func (o GoogleCloudContactcenterinsightsV1AnalysisResultResponseOutput) ToGoogle return o } +func (o GoogleCloudContactcenterinsightsV1AnalysisResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnalysisResultResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnalysisResultResponse]{ + OutputState: o.OutputState, + } +} + // Call-specific metadata created by the analysis. func (o GoogleCloudContactcenterinsightsV1AnalysisResultResponseOutput) CallAnalysisMetadata() GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadataResponseOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1AnalysisResultResponse) GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadataResponse { @@ -202,6 +221,12 @@ func (o GoogleCloudContactcenterinsightsV1AnnotationBoundaryResponseOutput) ToGo return o } +func (o GoogleCloudContactcenterinsightsV1AnnotationBoundaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotationBoundaryResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotationBoundaryResponse]{ + OutputState: o.OutputState, + } +} + // The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. func (o GoogleCloudContactcenterinsightsV1AnnotationBoundaryResponseOutput) TranscriptIndex() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1AnnotationBoundaryResponse) int { return v.TranscriptIndex }).(pulumi.IntOutput) @@ -287,6 +312,12 @@ func (i GoogleCloudContactcenterinsightsV1AnnotatorSelectorArgs) ToGoogleCloudCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorOutput) } +func (i GoogleCloudContactcenterinsightsV1AnnotatorSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelector] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelector]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContactcenterinsightsV1AnnotatorSelectorArgs) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorPtrOutput() GoogleCloudContactcenterinsightsV1AnnotatorSelectorPtrOutput { return i.ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorPtrOutputWithContext(context.Background()) } @@ -328,6 +359,12 @@ func (i *googleCloudContactcenterinsightsV1AnnotatorSelectorPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorPtrOutput) } +func (i *googleCloudContactcenterinsightsV1AnnotatorSelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelector] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelector]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorPtrOutputWithContext(ctx).OutputState, + } +} + // Selector of all available annotators and phrase matchers to run. type GoogleCloudContactcenterinsightsV1AnnotatorSelectorOutput struct{ *pulumi.OutputState } @@ -353,6 +390,12 @@ func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorOutput) ToGoogleCloud }).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorPtrOutput) } +func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelector] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelector]{ + OutputState: o.OutputState, + } +} + // The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference. func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorOutput) IssueModels() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1AnnotatorSelector) []string { return v.IssueModels }).(pulumi.StringArrayOutput) @@ -424,6 +467,12 @@ func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorPtrOutput) ToGoogleCl return o } +func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelector] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelector]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorPtrOutput) Elem() GoogleCloudContactcenterinsightsV1AnnotatorSelectorOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1AnnotatorSelector) GoogleCloudContactcenterinsightsV1AnnotatorSelector { if v != nil { @@ -585,6 +634,12 @@ func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorResponseOutput) ToGoo return o } +func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelectorResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelectorResponse]{ + OutputState: o.OutputState, + } +} + // The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference. func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorResponseOutput) IssueModels() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1AnnotatorSelectorResponse) []string { return v.IssueModels }).(pulumi.StringArrayOutput) @@ -691,6 +746,12 @@ func (i GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigAr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigOutput) } +func (i GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigArgs) ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigPtrOutput() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigPtrOutput { return i.ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigPtrOutputWithContext(context.Background()) } @@ -732,6 +793,12 @@ func (i *googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigP return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigPtrOutput) } +func (i *googleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for summarization. type GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigOutput struct{ *pulumi.OutputState } @@ -757,6 +824,12 @@ func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigOu }).(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigPtrOutput) } +func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig]{ + OutputState: o.OutputState, + } +} + // Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigOutput) ConversationProfile() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig) *string { @@ -785,6 +858,12 @@ func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigPt return o } +func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigPtrOutput) Elem() GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig) GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig { if v != nil { @@ -838,6 +917,12 @@ func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigRe return o } +func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Resource name of the Dialogflow conversation profile. Format: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} func (o GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigResponseOutput) ConversationProfile() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfigResponse) string { @@ -877,6 +962,12 @@ func (o GoogleCloudContactcenterinsightsV1AnswerFeedbackResponseOutput) ToGoogle return o } +func (o GoogleCloudContactcenterinsightsV1AnswerFeedbackResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1AnswerFeedbackResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1AnswerFeedbackResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether an answer or item was clicked by the human agent. func (o GoogleCloudContactcenterinsightsV1AnswerFeedbackResponseOutput) Clicked() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1AnswerFeedbackResponse) bool { return v.Clicked }).(pulumi.BoolOutput) @@ -923,6 +1014,12 @@ func (o GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponseOutput) T return o } +func (o GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponse]{ + OutputState: o.OutputState, + } +} + // The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). func (o GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponseOutput) ConfidenceScore() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ArticleSuggestionDataResponse) float64 { @@ -998,6 +1095,12 @@ func (o GoogleCloudContactcenterinsightsV1CallAnnotationResponseOutput) ToGoogle return o } +func (o GoogleCloudContactcenterinsightsV1CallAnnotationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1CallAnnotationResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1CallAnnotationResponse]{ + OutputState: o.OutputState, + } +} + // The boundary in the conversation where the annotation ends, inclusive. func (o GoogleCloudContactcenterinsightsV1CallAnnotationResponseOutput) AnnotationEndBoundary() GoogleCloudContactcenterinsightsV1AnnotationBoundaryResponseOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1CallAnnotationResponse) GoogleCloudContactcenterinsightsV1AnnotationBoundaryResponse { @@ -1087,6 +1190,12 @@ func (o GoogleCloudContactcenterinsightsV1CallAnnotationResponseArrayOutput) ToG return o } +func (o GoogleCloudContactcenterinsightsV1CallAnnotationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1CallAnnotationResponse] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1CallAnnotationResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1CallAnnotationResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContactcenterinsightsV1CallAnnotationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContactcenterinsightsV1CallAnnotationResponse { return vs[0].([]GoogleCloudContactcenterinsightsV1CallAnnotationResponse)[vs[1].(int)] @@ -1132,6 +1241,12 @@ func (i GoogleCloudContactcenterinsightsV1ConversationCallMetadataArgs) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1ConversationCallMetadataOutput) } +func (i GoogleCloudContactcenterinsightsV1ConversationCallMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationCallMetadata] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationCallMetadata]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1ConversationCallMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContactcenterinsightsV1ConversationCallMetadataArgs) ToGoogleCloudContactcenterinsightsV1ConversationCallMetadataPtrOutput() GoogleCloudContactcenterinsightsV1ConversationCallMetadataPtrOutput { return i.ToGoogleCloudContactcenterinsightsV1ConversationCallMetadataPtrOutputWithContext(context.Background()) } @@ -1173,6 +1288,12 @@ func (i *googleCloudContactcenterinsightsV1ConversationCallMetadataPtrType) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1ConversationCallMetadataPtrOutput) } +func (i *googleCloudContactcenterinsightsV1ConversationCallMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1ConversationCallMetadata] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1ConversationCallMetadata]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1ConversationCallMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Call-specific metadata. type GoogleCloudContactcenterinsightsV1ConversationCallMetadataOutput struct{ *pulumi.OutputState } @@ -1198,6 +1319,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationCallMetadataOutput) ToGoog }).(GoogleCloudContactcenterinsightsV1ConversationCallMetadataPtrOutput) } +func (o GoogleCloudContactcenterinsightsV1ConversationCallMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationCallMetadata] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationCallMetadata]{ + OutputState: o.OutputState, + } +} + // The audio channel that contains the agent. func (o GoogleCloudContactcenterinsightsV1ConversationCallMetadataOutput) AgentChannel() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ConversationCallMetadata) *int { return v.AgentChannel }).(pulumi.IntPtrOutput) @@ -1222,6 +1349,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationCallMetadataPtrOutput) ToG return o } +func (o GoogleCloudContactcenterinsightsV1ConversationCallMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1ConversationCallMetadata] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1ConversationCallMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1ConversationCallMetadataPtrOutput) Elem() GoogleCloudContactcenterinsightsV1ConversationCallMetadataOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1ConversationCallMetadata) GoogleCloudContactcenterinsightsV1ConversationCallMetadata { if v != nil { @@ -1275,6 +1408,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationCallMetadataResponseOutput return o } +func (o GoogleCloudContactcenterinsightsV1ConversationCallMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationCallMetadataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationCallMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The audio channel that contains the agent. func (o GoogleCloudContactcenterinsightsV1ConversationCallMetadataResponseOutput) AgentChannel() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ConversationCallMetadataResponse) int { return v.AgentChannel }).(pulumi.IntOutput) @@ -1326,6 +1465,12 @@ func (i GoogleCloudContactcenterinsightsV1ConversationDataSourceArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1ConversationDataSourceOutput) } +func (i GoogleCloudContactcenterinsightsV1ConversationDataSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationDataSource] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationDataSource]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1ConversationDataSourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContactcenterinsightsV1ConversationDataSourceArgs) ToGoogleCloudContactcenterinsightsV1ConversationDataSourcePtrOutput() GoogleCloudContactcenterinsightsV1ConversationDataSourcePtrOutput { return i.ToGoogleCloudContactcenterinsightsV1ConversationDataSourcePtrOutputWithContext(context.Background()) } @@ -1367,6 +1512,12 @@ func (i *googleCloudContactcenterinsightsV1ConversationDataSourcePtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1ConversationDataSourcePtrOutput) } +func (i *googleCloudContactcenterinsightsV1ConversationDataSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1ConversationDataSource] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1ConversationDataSource]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1ConversationDataSourcePtrOutputWithContext(ctx).OutputState, + } +} + // The conversation source, which is a combination of transcript and audio. type GoogleCloudContactcenterinsightsV1ConversationDataSourceOutput struct{ *pulumi.OutputState } @@ -1392,6 +1543,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationDataSourceOutput) ToGoogle }).(GoogleCloudContactcenterinsightsV1ConversationDataSourcePtrOutput) } +func (o GoogleCloudContactcenterinsightsV1ConversationDataSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationDataSource] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationDataSource]{ + OutputState: o.OutputState, + } +} + // The source when the conversation comes from Dialogflow. func (o GoogleCloudContactcenterinsightsV1ConversationDataSourceOutput) DialogflowSource() GoogleCloudContactcenterinsightsV1DialogflowSourcePtrOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ConversationDataSource) *GoogleCloudContactcenterinsightsV1DialogflowSource { @@ -1420,6 +1577,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationDataSourcePtrOutput) ToGoo return o } +func (o GoogleCloudContactcenterinsightsV1ConversationDataSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1ConversationDataSource] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1ConversationDataSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1ConversationDataSourcePtrOutput) Elem() GoogleCloudContactcenterinsightsV1ConversationDataSourceOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1ConversationDataSource) GoogleCloudContactcenterinsightsV1ConversationDataSource { if v != nil { @@ -1473,6 +1636,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationDataSourceResponseOutput) return o } +func (o GoogleCloudContactcenterinsightsV1ConversationDataSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationDataSourceResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationDataSourceResponse]{ + OutputState: o.OutputState, + } +} + // The source when the conversation comes from Dialogflow. func (o GoogleCloudContactcenterinsightsV1ConversationDataSourceResponseOutput) DialogflowSource() GoogleCloudContactcenterinsightsV1DialogflowSourceResponseOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ConversationDataSourceResponse) GoogleCloudContactcenterinsightsV1DialogflowSourceResponse { @@ -1510,6 +1679,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponseOutp return o } +func (o GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponse]{ + OutputState: o.OutputState, + } +} + // The channel of the audio that the data applies to. func (o GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponseOutput) ChannelTag() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponse) int { return v.ChannelTag }).(pulumi.IntOutput) @@ -1536,6 +1711,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponseArra return o } +func (o GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponse] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponse { return vs[0].([]GoogleCloudContactcenterinsightsV1ConversationLevelSentimentResponse)[vs[1].(int)] @@ -1573,6 +1754,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationParticipantResponseOutput) return o } +func (o GoogleCloudContactcenterinsightsV1ConversationParticipantResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationParticipantResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationParticipantResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} // // Deprecated: Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} @@ -1637,6 +1824,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionDat return o } +func (o GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionDataResponse]{ + OutputState: o.OutputState, + } +} + // The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} func (o GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionDataResponseOutput) AnswerRecord() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionDataResponse) string { @@ -1700,6 +1893,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptResponseOutput) return o } +func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationTranscriptResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationTranscriptResponse]{ + OutputState: o.OutputState, + } +} + // A list of sequential transcript segments that comprise the conversation. func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptResponseOutput) TranscriptSegments() GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponseArrayOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ConversationTranscriptResponse) []GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponse { @@ -1728,6 +1927,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmen return o } +func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Whether the transcript segment was covered under the configured smart reply allowlist in Agent Assist. func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadataResponseOutput) SmartReplyAllowlistCovered() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadataResponse) bool { @@ -1772,6 +1977,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmen return o } +func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponse]{ + OutputState: o.OutputState, + } +} + // For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel. For audioChannelCount = N, its output values can range from '1' to 'N'. A channel tag of 0 indicates that the audio is mono. func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponseOutput) ChannelTag() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponse) int { @@ -1849,6 +2060,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmen return o } +func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponse] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponse { return vs[0].([]GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentResponse)[vs[1].(int)] @@ -1882,6 +2099,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmen return o } +func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponse]{ + OutputState: o.OutputState, + } +} + // A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset. func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponseOutput) Confidence() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponse) float64 { @@ -1924,6 +2147,12 @@ func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmen return o } +func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponse] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponse { return vs[0].([]GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfoResponse)[vs[1].(int)] @@ -1953,6 +2182,12 @@ func (o GoogleCloudContactcenterinsightsV1DialogflowInteractionDataResponseOutpu return o } +func (o GoogleCloudContactcenterinsightsV1DialogflowInteractionDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1DialogflowInteractionDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1DialogflowInteractionDataResponse]{ + OutputState: o.OutputState, + } +} + // The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain). func (o GoogleCloudContactcenterinsightsV1DialogflowInteractionDataResponseOutput) Confidence() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1DialogflowInteractionDataResponse) float64 { @@ -2002,6 +2237,12 @@ func (i GoogleCloudContactcenterinsightsV1DialogflowSourceArgs) ToGoogleCloudCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1DialogflowSourceOutput) } +func (i GoogleCloudContactcenterinsightsV1DialogflowSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1DialogflowSource] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1DialogflowSource]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1DialogflowSourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContactcenterinsightsV1DialogflowSourceArgs) ToGoogleCloudContactcenterinsightsV1DialogflowSourcePtrOutput() GoogleCloudContactcenterinsightsV1DialogflowSourcePtrOutput { return i.ToGoogleCloudContactcenterinsightsV1DialogflowSourcePtrOutputWithContext(context.Background()) } @@ -2043,6 +2284,12 @@ func (i *googleCloudContactcenterinsightsV1DialogflowSourcePtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1DialogflowSourcePtrOutput) } +func (i *googleCloudContactcenterinsightsV1DialogflowSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1DialogflowSource] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1DialogflowSource]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1DialogflowSourcePtrOutputWithContext(ctx).OutputState, + } +} + // A Dialogflow source of conversation data. type GoogleCloudContactcenterinsightsV1DialogflowSourceOutput struct{ *pulumi.OutputState } @@ -2068,6 +2315,12 @@ func (o GoogleCloudContactcenterinsightsV1DialogflowSourceOutput) ToGoogleCloudC }).(GoogleCloudContactcenterinsightsV1DialogflowSourcePtrOutput) } +func (o GoogleCloudContactcenterinsightsV1DialogflowSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1DialogflowSource] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1DialogflowSource]{ + OutputState: o.OutputState, + } +} + // Cloud Storage URI that points to a file that contains the conversation audio. func (o GoogleCloudContactcenterinsightsV1DialogflowSourceOutput) AudioUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1DialogflowSource) *string { return v.AudioUri }).(pulumi.StringPtrOutput) @@ -2087,6 +2340,12 @@ func (o GoogleCloudContactcenterinsightsV1DialogflowSourcePtrOutput) ToGoogleClo return o } +func (o GoogleCloudContactcenterinsightsV1DialogflowSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1DialogflowSource] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1DialogflowSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1DialogflowSourcePtrOutput) Elem() GoogleCloudContactcenterinsightsV1DialogflowSourceOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1DialogflowSource) GoogleCloudContactcenterinsightsV1DialogflowSource { if v != nil { @@ -2130,6 +2389,12 @@ func (o GoogleCloudContactcenterinsightsV1DialogflowSourceResponseOutput) ToGoog return o } +func (o GoogleCloudContactcenterinsightsV1DialogflowSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1DialogflowSourceResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1DialogflowSourceResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Storage URI that points to a file that contains the conversation audio. func (o GoogleCloudContactcenterinsightsV1DialogflowSourceResponseOutput) AudioUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1DialogflowSourceResponse) string { return v.AudioUri }).(pulumi.StringOutput) @@ -2167,6 +2432,12 @@ func (o GoogleCloudContactcenterinsightsV1EntityMentionDataResponseOutput) ToGoo return o } +func (o GoogleCloudContactcenterinsightsV1EntityMentionDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1EntityMentionDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1EntityMentionDataResponse]{ + OutputState: o.OutputState, + } +} + // The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to. func (o GoogleCloudContactcenterinsightsV1EntityMentionDataResponseOutput) EntityUniqueId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1EntityMentionDataResponse) string { return v.EntityUniqueId }).(pulumi.StringOutput) @@ -2219,6 +2490,12 @@ func (i GoogleCloudContactcenterinsightsV1ExactMatchConfigArgs) ToGoogleCloudCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1ExactMatchConfigOutput) } +func (i GoogleCloudContactcenterinsightsV1ExactMatchConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ExactMatchConfig] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ExactMatchConfig]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1ExactMatchConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContactcenterinsightsV1ExactMatchConfigArgs) ToGoogleCloudContactcenterinsightsV1ExactMatchConfigPtrOutput() GoogleCloudContactcenterinsightsV1ExactMatchConfigPtrOutput { return i.ToGoogleCloudContactcenterinsightsV1ExactMatchConfigPtrOutputWithContext(context.Background()) } @@ -2260,6 +2537,12 @@ func (i *googleCloudContactcenterinsightsV1ExactMatchConfigPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1ExactMatchConfigPtrOutput) } +func (i *googleCloudContactcenterinsightsV1ExactMatchConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1ExactMatchConfig] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1ExactMatchConfig]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1ExactMatchConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Exact match configuration. type GoogleCloudContactcenterinsightsV1ExactMatchConfigOutput struct{ *pulumi.OutputState } @@ -2285,6 +2568,12 @@ func (o GoogleCloudContactcenterinsightsV1ExactMatchConfigOutput) ToGoogleCloudC }).(GoogleCloudContactcenterinsightsV1ExactMatchConfigPtrOutput) } +func (o GoogleCloudContactcenterinsightsV1ExactMatchConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ExactMatchConfig] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ExactMatchConfig]{ + OutputState: o.OutputState, + } +} + // Whether to consider case sensitivity when performing an exact match. func (o GoogleCloudContactcenterinsightsV1ExactMatchConfigOutput) CaseSensitive() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ExactMatchConfig) *bool { return v.CaseSensitive }).(pulumi.BoolPtrOutput) @@ -2304,6 +2593,12 @@ func (o GoogleCloudContactcenterinsightsV1ExactMatchConfigPtrOutput) ToGoogleClo return o } +func (o GoogleCloudContactcenterinsightsV1ExactMatchConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1ExactMatchConfig] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1ExactMatchConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1ExactMatchConfigPtrOutput) Elem() GoogleCloudContactcenterinsightsV1ExactMatchConfigOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1ExactMatchConfig) GoogleCloudContactcenterinsightsV1ExactMatchConfig { if v != nil { @@ -2345,6 +2640,12 @@ func (o GoogleCloudContactcenterinsightsV1ExactMatchConfigResponseOutput) ToGoog return o } +func (o GoogleCloudContactcenterinsightsV1ExactMatchConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1ExactMatchConfigResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1ExactMatchConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to consider case sensitivity when performing an exact match. func (o GoogleCloudContactcenterinsightsV1ExactMatchConfigResponseOutput) CaseSensitive() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1ExactMatchConfigResponse) bool { return v.CaseSensitive }).(pulumi.BoolOutput) @@ -2381,6 +2682,12 @@ func (o GoogleCloudContactcenterinsightsV1FaqAnswerDataResponseOutput) ToGoogleC return o } +func (o GoogleCloudContactcenterinsightsV1FaqAnswerDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1FaqAnswerDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1FaqAnswerDataResponse]{ + OutputState: o.OutputState, + } +} + // The piece of text from the `source` knowledge base document. func (o GoogleCloudContactcenterinsightsV1FaqAnswerDataResponseOutput) Answer() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1FaqAnswerDataResponse) string { return v.Answer }).(pulumi.StringOutput) @@ -2450,6 +2757,12 @@ func (i GoogleCloudContactcenterinsightsV1GcsSourceArgs) ToGoogleCloudContactcen return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1GcsSourceOutput) } +func (i GoogleCloudContactcenterinsightsV1GcsSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1GcsSource] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1GcsSource]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1GcsSourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContactcenterinsightsV1GcsSourceArgs) ToGoogleCloudContactcenterinsightsV1GcsSourcePtrOutput() GoogleCloudContactcenterinsightsV1GcsSourcePtrOutput { return i.ToGoogleCloudContactcenterinsightsV1GcsSourcePtrOutputWithContext(context.Background()) } @@ -2491,6 +2804,12 @@ func (i *googleCloudContactcenterinsightsV1GcsSourcePtrType) ToGoogleCloudContac return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1GcsSourcePtrOutput) } +func (i *googleCloudContactcenterinsightsV1GcsSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1GcsSource] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1GcsSource]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1GcsSourcePtrOutputWithContext(ctx).OutputState, + } +} + // A Cloud Storage source of conversation data. type GoogleCloudContactcenterinsightsV1GcsSourceOutput struct{ *pulumi.OutputState } @@ -2516,6 +2835,12 @@ func (o GoogleCloudContactcenterinsightsV1GcsSourceOutput) ToGoogleCloudContactc }).(GoogleCloudContactcenterinsightsV1GcsSourcePtrOutput) } +func (o GoogleCloudContactcenterinsightsV1GcsSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1GcsSource] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1GcsSource]{ + OutputState: o.OutputState, + } +} + // Cloud Storage URI that points to a file that contains the conversation audio. func (o GoogleCloudContactcenterinsightsV1GcsSourceOutput) AudioUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1GcsSource) *string { return v.AudioUri }).(pulumi.StringPtrOutput) @@ -2540,6 +2865,12 @@ func (o GoogleCloudContactcenterinsightsV1GcsSourcePtrOutput) ToGoogleCloudConta return o } +func (o GoogleCloudContactcenterinsightsV1GcsSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1GcsSource] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1GcsSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1GcsSourcePtrOutput) Elem() GoogleCloudContactcenterinsightsV1GcsSourceOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1GcsSource) GoogleCloudContactcenterinsightsV1GcsSource { if v != nil { @@ -2593,6 +2924,12 @@ func (o GoogleCloudContactcenterinsightsV1GcsSourceResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudContactcenterinsightsV1GcsSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1GcsSourceResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1GcsSourceResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Storage URI that points to a file that contains the conversation audio. func (o GoogleCloudContactcenterinsightsV1GcsSourceResponseOutput) AudioUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1GcsSourceResponse) string { return v.AudioUri }).(pulumi.StringOutput) @@ -2622,6 +2959,12 @@ func (o GoogleCloudContactcenterinsightsV1HoldDataResponseOutput) ToGoogleCloudC return o } +func (o GoogleCloudContactcenterinsightsV1HoldDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1HoldDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1HoldDataResponse]{ + OutputState: o.OutputState, + } +} + // The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences. type GoogleCloudContactcenterinsightsV1IntentMatchDataResponse struct { // The id of the matched intent. Can be used to retrieve the corresponding intent information. @@ -2643,6 +2986,12 @@ func (o GoogleCloudContactcenterinsightsV1IntentMatchDataResponseOutput) ToGoogl return o } +func (o GoogleCloudContactcenterinsightsV1IntentMatchDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1IntentMatchDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1IntentMatchDataResponse]{ + OutputState: o.OutputState, + } +} + // The id of the matched intent. Can be used to retrieve the corresponding intent information. func (o GoogleCloudContactcenterinsightsV1IntentMatchDataResponseOutput) IntentUniqueId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1IntentMatchDataResponse) string { return v.IntentUniqueId }).(pulumi.StringOutput) @@ -2667,6 +3016,12 @@ func (o GoogleCloudContactcenterinsightsV1InterruptionDataResponseOutput) ToGoog return o } +func (o GoogleCloudContactcenterinsightsV1InterruptionDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1InterruptionDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1InterruptionDataResponse]{ + OutputState: o.OutputState, + } +} + // Information about the issue. type GoogleCloudContactcenterinsightsV1IssueAssignmentResponse struct { // Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. @@ -2692,6 +3047,12 @@ func (o GoogleCloudContactcenterinsightsV1IssueAssignmentResponseOutput) ToGoogl return o } +func (o GoogleCloudContactcenterinsightsV1IssueAssignmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1IssueAssignmentResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1IssueAssignmentResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. func (o GoogleCloudContactcenterinsightsV1IssueAssignmentResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1IssueAssignmentResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2721,6 +3082,12 @@ func (o GoogleCloudContactcenterinsightsV1IssueAssignmentResponseArrayOutput) To return o } +func (o GoogleCloudContactcenterinsightsV1IssueAssignmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1IssueAssignmentResponse] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1IssueAssignmentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1IssueAssignmentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContactcenterinsightsV1IssueAssignmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContactcenterinsightsV1IssueAssignmentResponse { return vs[0].([]GoogleCloudContactcenterinsightsV1IssueAssignmentResponse)[vs[1].(int)] @@ -2748,6 +3115,12 @@ func (o GoogleCloudContactcenterinsightsV1IssueMatchDataResponseOutput) ToGoogle return o } +func (o GoogleCloudContactcenterinsightsV1IssueMatchDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1IssueMatchDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1IssueMatchDataResponse]{ + OutputState: o.OutputState, + } +} + // Information about the issue's assignment. func (o GoogleCloudContactcenterinsightsV1IssueMatchDataResponseOutput) IssueAssignment() GoogleCloudContactcenterinsightsV1IssueAssignmentResponseOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1IssueMatchDataResponse) GoogleCloudContactcenterinsightsV1IssueAssignmentResponse { @@ -2794,6 +3167,12 @@ func (i GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigOutput) } +func (i GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigArgs) ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrOutput() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrOutput { return i.ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrOutputWithContext(context.Background()) } @@ -2835,6 +3214,12 @@ func (i *googleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrType) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrOutput) } +func (i *googleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configs for the input data used to create the issue model. type GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigOutput struct{ *pulumi.OutputState } @@ -2860,6 +3245,12 @@ func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigOutput) ToGoo }).(GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrOutput) } +func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig]{ + OutputState: o.OutputState, + } +} + // A filter to reduce the conversations used for training the model to a specific subset. func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -2886,6 +3277,12 @@ func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrOutput) To return o } +func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigPtrOutput) Elem() GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig) GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig { if v != nil { @@ -2941,6 +3338,12 @@ func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigResponseOutpu return o } +func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigResponse]{ + OutputState: o.OutputState, + } +} + // A filter to reduce the conversations used for training the model to a specific subset. func (o GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1IssueModelInputDataConfigResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -2983,6 +3386,12 @@ func (o GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponseOutput) To return o } +func (o GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse]{ + OutputState: o.OutputState, + } +} + // Number of conversations the issue model has analyzed at this point in time. func (o GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponseOutput) AnalyzedConversationsCount() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1IssueModelLabelStatsResponse) string { @@ -3027,6 +3436,12 @@ func (o GoogleCloudContactcenterinsightsV1IssueModelResultResponseOutput) ToGoog return o } +func (o GoogleCloudContactcenterinsightsV1IssueModelResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelResultResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1IssueModelResultResponse]{ + OutputState: o.OutputState, + } +} + // Issue model that generates the result. Format: projects/{project}/locations/{location}/issueModels/{issue_model} func (o GoogleCloudContactcenterinsightsV1IssueModelResultResponseOutput) IssueModel() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1IssueModelResultResponse) string { return v.IssueModel }).(pulumi.StringOutput) @@ -3062,6 +3477,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchDataResponseOutput) ToGoogl return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchDataResponse]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the phrase matcher. func (o GoogleCloudContactcenterinsightsV1PhraseMatchDataResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1PhraseMatchDataResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -3115,6 +3536,12 @@ func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleArgs) ToGoogleCloudCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleOutput) } +func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRule] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRule]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudContactcenterinsightsV1PhraseMatchRuleArrayInput is an input type that accepts GoogleCloudContactcenterinsightsV1PhraseMatchRuleArray and GoogleCloudContactcenterinsightsV1PhraseMatchRuleArrayOutput values. // You can construct a concrete instance of `GoogleCloudContactcenterinsightsV1PhraseMatchRuleArrayInput` via: // @@ -3140,6 +3567,12 @@ func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleArray) ToGoogleCloudCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleArrayOutput) } +func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRule] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRule]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleArrayOutputWithContext(ctx).OutputState, + } +} + // The data for a phrase match rule. type GoogleCloudContactcenterinsightsV1PhraseMatchRuleOutput struct{ *pulumi.OutputState } @@ -3155,6 +3588,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleOutput) ToGoogleCloudCo return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRule] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRule]{ + OutputState: o.OutputState, + } +} + // Provides additional information about the rule that specifies how to apply the rule. func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleOutput) Config() GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1PhraseMatchRule) *GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig { @@ -3186,6 +3625,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleArrayOutput) ToGoogleCl return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRule] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleArrayOutput) Index(i pulumi.IntInput) GoogleCloudContactcenterinsightsV1PhraseMatchRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContactcenterinsightsV1PhraseMatchRule { return vs[0].([]GoogleCloudContactcenterinsightsV1PhraseMatchRule)[vs[1].(int)] @@ -3227,6 +3672,12 @@ func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigOutput) } +func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigArgs) ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrOutput() GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrOutput { return i.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrOutputWithContext(context.Background()) } @@ -3268,6 +3719,12 @@ func (i *googleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrOutput) } +func (i *googleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration information of a phrase match rule. type GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigOutput struct{ *pulumi.OutputState } @@ -3293,6 +3750,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigOutput) ToGoogleC }).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrOutput) } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for the exact match rule. func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigOutput) ExactMatchConfig() GoogleCloudContactcenterinsightsV1ExactMatchConfigPtrOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig) *GoogleCloudContactcenterinsightsV1ExactMatchConfig { @@ -3314,6 +3777,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrOutput) ToGoog return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig] { + return pulumix.Output[*GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigPtrOutput) Elem() GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigOutput { return o.ApplyT(func(v *GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig) GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig { if v != nil { @@ -3355,6 +3824,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigResponseOutput) T return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for the exact match rule. func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigResponseOutput) ExactMatchConfig() GoogleCloudContactcenterinsightsV1ExactMatchConfigResponseOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigResponse) GoogleCloudContactcenterinsightsV1ExactMatchConfigResponse { @@ -3401,6 +3876,12 @@ func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupOutput) } +func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArrayInput is an input type that accepts GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArray and GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArrayOutput values. // You can construct a concrete instance of `GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArrayInput` via: // @@ -3426,6 +3907,12 @@ func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArray) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArrayOutput) } +func (i GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup]{ + OutputState: i.ToGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArrayOutputWithContext(ctx).OutputState, + } +} + // A message representing a rule in the phrase matcher. type GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupOutput struct{ *pulumi.OutputState } @@ -3441,6 +3928,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupOutput) ToGoogleCl return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup]{ + OutputState: o.OutputState, + } +} + // A list of phrase match rules that are included in this group. func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupOutput) PhraseMatchRules() GoogleCloudContactcenterinsightsV1PhraseMatchRuleArrayOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup) []GoogleCloudContactcenterinsightsV1PhraseMatchRule { @@ -3469,6 +3962,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArrayOutput) ToGoo return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupArrayOutput) Index(i pulumi.IntInput) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup { return vs[0].([]GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup)[vs[1].(int)] @@ -3498,6 +3997,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponseOutput) To return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponse]{ + OutputState: o.OutputState, + } +} + // A list of phrase match rules that are included in this group. func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponseOutput) PhraseMatchRules() GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponseArrayOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponse) []GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponse { @@ -3524,6 +4029,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponseArrayOutpu return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponse] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponse { return vs[0].([]GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroupResponse)[vs[1].(int)] @@ -3555,6 +4066,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponseOutput) ToGoogl return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponse]{ + OutputState: o.OutputState, + } +} + // Provides additional information about the rule that specifies how to apply the rule. func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponseOutput) Config() GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigResponseOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponse) GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfigResponse { @@ -3586,6 +4103,12 @@ func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponseArrayOutput) To return o } +func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponse] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponse { return vs[0].([]GoogleCloudContactcenterinsightsV1PhraseMatchRuleResponse)[vs[1].(int)] @@ -3633,6 +4156,12 @@ func (o GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponseOutput) ToGoo return o } +func (o GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponse]{ + OutputState: o.OutputState, + } +} + // The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} func (o GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponseOutput) AnnotationId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponse) string { return v.AnnotationId }).(pulumi.StringOutput) @@ -3720,6 +4249,12 @@ func (o GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponseArrayOutput) return o } +func (o GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponse] { + return pulumix.Output[[]GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponse { return vs[0].([]GoogleCloudContactcenterinsightsV1RuntimeAnnotationResponse)[vs[1].(int)] @@ -3749,6 +4284,12 @@ func (o GoogleCloudContactcenterinsightsV1SentimentDataResponseOutput) ToGoogleC return o } +func (o GoogleCloudContactcenterinsightsV1SentimentDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1SentimentDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1SentimentDataResponse]{ + OutputState: o.OutputState, + } +} + // A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. func (o GoogleCloudContactcenterinsightsV1SentimentDataResponseOutput) Magnitude() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1SentimentDataResponse) float64 { return v.Magnitude }).(pulumi.Float64Output) @@ -3778,6 +4319,12 @@ func (o GoogleCloudContactcenterinsightsV1SilenceDataResponseOutput) ToGoogleClo return o } +func (o GoogleCloudContactcenterinsightsV1SilenceDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1SilenceDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1SilenceDataResponse]{ + OutputState: o.OutputState, + } +} + // Agent Assist Smart Compose suggestion data. type GoogleCloudContactcenterinsightsV1SmartComposeSuggestionDataResponse struct { // The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). @@ -3805,6 +4352,12 @@ func (o GoogleCloudContactcenterinsightsV1SmartComposeSuggestionDataResponseOutp return o } +func (o GoogleCloudContactcenterinsightsV1SmartComposeSuggestionDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1SmartComposeSuggestionDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1SmartComposeSuggestionDataResponse]{ + OutputState: o.OutputState, + } +} + // The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). func (o GoogleCloudContactcenterinsightsV1SmartComposeSuggestionDataResponseOutput) ConfidenceScore() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1SmartComposeSuggestionDataResponse) float64 { @@ -3860,6 +4413,12 @@ func (o GoogleCloudContactcenterinsightsV1SmartReplyDataResponseOutput) ToGoogle return o } +func (o GoogleCloudContactcenterinsightsV1SmartReplyDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContactcenterinsightsV1SmartReplyDataResponse] { + return pulumix.Output[GoogleCloudContactcenterinsightsV1SmartReplyDataResponse]{ + OutputState: o.OutputState, + } +} + // The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). func (o GoogleCloudContactcenterinsightsV1SmartReplyDataResponseOutput) ConfidenceScore() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudContactcenterinsightsV1SmartReplyDataResponse) float64 { return v.ConfidenceScore }).(pulumi.Float64Output) diff --git a/sdk/go/google/contactcenterinsights/v1/view.go b/sdk/go/google/contactcenterinsights/v1/view.go index 9e8735968f..2c7db6fcfb 100644 --- a/sdk/go/google/contactcenterinsights/v1/view.go +++ b/sdk/go/google/contactcenterinsights/v1/view.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a view. @@ -119,6 +120,12 @@ func (i *View) ToViewOutputWithContext(ctx context.Context) ViewOutput { return pulumi.ToOutputWithContext(ctx, i).(ViewOutput) } +func (i *View) ToOutput(ctx context.Context) pulumix.Output[*View] { + return pulumix.Output[*View]{ + OutputState: i.ToViewOutputWithContext(ctx).OutputState, + } +} + type ViewOutput struct{ *pulumi.OutputState } func (ViewOutput) ElementType() reflect.Type { @@ -133,6 +140,12 @@ func (o ViewOutput) ToViewOutputWithContext(ctx context.Context) ViewOutput { return o } +func (o ViewOutput) ToOutput(ctx context.Context) pulumix.Output[*View] { + return pulumix.Output[*View]{ + OutputState: o.OutputState, + } +} + // The time at which this view was created. func (o ViewOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *View) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/container/v1/cluster.go b/sdk/go/google/container/v1/cluster.go index 96036d4879..7720e93232 100644 --- a/sdk/go/google/container/v1/cluster.go +++ b/sdk/go/google/container/v1/cluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using. @@ -484,6 +485,12 @@ func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput return pulumi.ToOutputWithContext(ctx, i).(ClusterOutput) } +func (i *Cluster) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { + return pulumix.Output[*Cluster]{ + OutputState: i.ToClusterOutputWithContext(ctx).OutputState, + } +} + type ClusterOutput struct{ *pulumi.OutputState } func (ClusterOutput) ElementType() reflect.Type { @@ -498,6 +505,12 @@ func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOu return o } +func (o ClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { + return pulumix.Output[*Cluster]{ + OutputState: o.OutputState, + } +} + // Configurations for the various addons available to run in the cluster. func (o ClusterOutput) AddonsConfig() AddonsConfigResponseOutput { return o.ApplyT(func(v *Cluster) AddonsConfigResponseOutput { return v.AddonsConfig }).(AddonsConfigResponseOutput) diff --git a/sdk/go/google/container/v1/getCluster.go b/sdk/go/google/container/v1/getCluster.go index cd254ffa7f..f07202285e 100644 --- a/sdk/go/google/container/v1/getCluster.go +++ b/sdk/go/google/container/v1/getCluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific cluster. @@ -210,6 +211,12 @@ func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx co return o } +func (o LookupClusterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClusterResult] { + return pulumix.Output[LookupClusterResult]{ + OutputState: o.OutputState, + } +} + // Configurations for the various addons available to run in the cluster. func (o LookupClusterResultOutput) AddonsConfig() AddonsConfigResponseOutput { return o.ApplyT(func(v LookupClusterResult) AddonsConfigResponse { return v.AddonsConfig }).(AddonsConfigResponseOutput) diff --git a/sdk/go/google/container/v1/getNodePool.go b/sdk/go/google/container/v1/getNodePool.go index e5fc220da6..2c512190f9 100644 --- a/sdk/go/google/container/v1/getNodePool.go +++ b/sdk/go/google/container/v1/getNodePool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the requested node pool. @@ -114,6 +115,12 @@ func (o LookupNodePoolResultOutput) ToLookupNodePoolResultOutputWithContext(ctx return o } +func (o LookupNodePoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodePoolResult] { + return pulumix.Output[LookupNodePoolResult]{ + OutputState: o.OutputState, + } +} + // Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. func (o LookupNodePoolResultOutput) Autoscaling() NodePoolAutoscalingResponseOutput { return o.ApplyT(func(v LookupNodePoolResult) NodePoolAutoscalingResponse { return v.Autoscaling }).(NodePoolAutoscalingResponseOutput) diff --git a/sdk/go/google/container/v1/getServerConfig.go b/sdk/go/google/container/v1/getServerConfig.go index 5e9cedb4a6..e08dba776a 100644 --- a/sdk/go/google/container/v1/getServerConfig.go +++ b/sdk/go/google/container/v1/getServerConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns configuration info about the Google Kubernetes Engine service. @@ -82,6 +83,12 @@ func (o GetServerConfigResultOutput) ToGetServerConfigResultOutputWithContext(ct return o } +func (o GetServerConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetServerConfigResult] { + return pulumix.Output[GetServerConfigResult]{ + OutputState: o.OutputState, + } +} + // List of release channel configurations. func (o GetServerConfigResultOutput) Channels() ReleaseChannelConfigResponseArrayOutput { return o.ApplyT(func(v GetServerConfigResult) []ReleaseChannelConfigResponse { return v.Channels }).(ReleaseChannelConfigResponseArrayOutput) diff --git a/sdk/go/google/container/v1/nodePool.go b/sdk/go/google/container/v1/nodePool.go index 93133740a8..c55beb2cfa 100644 --- a/sdk/go/google/container/v1/nodePool.go +++ b/sdk/go/google/container/v1/nodePool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a node pool for a cluster. @@ -221,6 +222,12 @@ func (i *NodePool) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutp return pulumi.ToOutputWithContext(ctx, i).(NodePoolOutput) } +func (i *NodePool) ToOutput(ctx context.Context) pulumix.Output[*NodePool] { + return pulumix.Output[*NodePool]{ + OutputState: i.ToNodePoolOutputWithContext(ctx).OutputState, + } +} + type NodePoolOutput struct{ *pulumi.OutputState } func (NodePoolOutput) ElementType() reflect.Type { @@ -235,6 +242,12 @@ func (o NodePoolOutput) ToNodePoolOutputWithContext(ctx context.Context) NodePoo return o } +func (o NodePoolOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePool] { + return pulumix.Output[*NodePool]{ + OutputState: o.OutputState, + } +} + // Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. func (o NodePoolOutput) Autoscaling() NodePoolAutoscalingResponseOutput { return o.ApplyT(func(v *NodePool) NodePoolAutoscalingResponseOutput { return v.Autoscaling }).(NodePoolAutoscalingResponseOutput) diff --git a/sdk/go/google/container/v1/pulumiEnums.go b/sdk/go/google/container/v1/pulumiEnums.go index ff32c77b41..9df1598d94 100644 --- a/sdk/go/google/container/v1/pulumiEnums.go +++ b/sdk/go/google/container/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED. @@ -82,6 +83,12 @@ func (o BinaryAuthorizationEvaluationModeOutput) ToBinaryAuthorizationEvaluation }).(BinaryAuthorizationEvaluationModePtrOutput) } +func (o BinaryAuthorizationEvaluationModeOutput) ToOutput(ctx context.Context) pulumix.Output[BinaryAuthorizationEvaluationMode] { + return pulumix.Output[BinaryAuthorizationEvaluationMode]{ + OutputState: o.OutputState, + } +} + func (o BinaryAuthorizationEvaluationModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o BinaryAuthorizationEvaluationModePtrOutput) ToBinaryAuthorizationEvaluat return o } +func (o BinaryAuthorizationEvaluationModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BinaryAuthorizationEvaluationMode] { + return pulumix.Output[*BinaryAuthorizationEvaluationMode]{ + OutputState: o.OutputState, + } +} + func (o BinaryAuthorizationEvaluationModePtrOutput) Elem() BinaryAuthorizationEvaluationModeOutput { return o.ApplyT(func(v *BinaryAuthorizationEvaluationMode) BinaryAuthorizationEvaluationMode { if v != nil { @@ -179,6 +192,12 @@ func (in *binaryAuthorizationEvaluationModePtr) ToBinaryAuthorizationEvaluationM return pulumi.ToOutputWithContext(ctx, in).(BinaryAuthorizationEvaluationModePtrOutput) } +func (in *binaryAuthorizationEvaluationModePtr) ToOutput(ctx context.Context) pulumix.Output[*BinaryAuthorizationEvaluationMode] { + return pulumix.Output[*BinaryAuthorizationEvaluationMode]{ + OutputState: in.ToBinaryAuthorizationEvaluationModePtrOutputWithContext(ctx).OutputState, + } +} + // Which load balancer type is installed for Cloud Run. type CloudRunConfigLoadBalancerType string @@ -251,6 +270,12 @@ func (o CloudRunConfigLoadBalancerTypeOutput) ToCloudRunConfigLoadBalancerTypePt }).(CloudRunConfigLoadBalancerTypePtrOutput) } +func (o CloudRunConfigLoadBalancerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfigLoadBalancerType] { + return pulumix.Output[CloudRunConfigLoadBalancerType]{ + OutputState: o.OutputState, + } +} + func (o CloudRunConfigLoadBalancerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o CloudRunConfigLoadBalancerTypePtrOutput) ToCloudRunConfigLoadBalancerTyp return o } +func (o CloudRunConfigLoadBalancerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRunConfigLoadBalancerType] { + return pulumix.Output[*CloudRunConfigLoadBalancerType]{ + OutputState: o.OutputState, + } +} + func (o CloudRunConfigLoadBalancerTypePtrOutput) Elem() CloudRunConfigLoadBalancerTypeOutput { return o.ApplyT(func(v *CloudRunConfigLoadBalancerType) CloudRunConfigLoadBalancerType { if v != nil { @@ -348,6 +379,12 @@ func (in *cloudRunConfigLoadBalancerTypePtr) ToCloudRunConfigLoadBalancerTypePtr return pulumi.ToOutputWithContext(ctx, in).(CloudRunConfigLoadBalancerTypePtrOutput) } +func (in *cloudRunConfigLoadBalancerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CloudRunConfigLoadBalancerType] { + return pulumix.Output[*CloudRunConfigLoadBalancerType]{ + OutputState: in.ToCloudRunConfigLoadBalancerTypePtrOutputWithContext(ctx).OutputState, + } +} + // Defines autoscaling behaviour. type ClusterAutoscalingAutoscalingProfile string @@ -420,6 +457,12 @@ func (o ClusterAutoscalingAutoscalingProfileOutput) ToClusterAutoscalingAutoscal }).(ClusterAutoscalingAutoscalingProfilePtrOutput) } +func (o ClusterAutoscalingAutoscalingProfileOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscalingAutoscalingProfile] { + return pulumix.Output[ClusterAutoscalingAutoscalingProfile]{ + OutputState: o.OutputState, + } +} + func (o ClusterAutoscalingAutoscalingProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o ClusterAutoscalingAutoscalingProfilePtrOutput) ToClusterAutoscalingAutos return o } +func (o ClusterAutoscalingAutoscalingProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterAutoscalingAutoscalingProfile] { + return pulumix.Output[*ClusterAutoscalingAutoscalingProfile]{ + OutputState: o.OutputState, + } +} + func (o ClusterAutoscalingAutoscalingProfilePtrOutput) Elem() ClusterAutoscalingAutoscalingProfileOutput { return o.ApplyT(func(v *ClusterAutoscalingAutoscalingProfile) ClusterAutoscalingAutoscalingProfile { if v != nil { @@ -517,6 +566,12 @@ func (in *clusterAutoscalingAutoscalingProfilePtr) ToClusterAutoscalingAutoscali return pulumi.ToOutputWithContext(ctx, in).(ClusterAutoscalingAutoscalingProfilePtrOutput) } +func (in *clusterAutoscalingAutoscalingProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*ClusterAutoscalingAutoscalingProfile] { + return pulumix.Output[*ClusterAutoscalingAutoscalingProfile]{ + OutputState: in.ToClusterAutoscalingAutoscalingProfilePtrOutputWithContext(ctx).OutputState, + } +} + // The desired datapath provider for the cluster. type ClusterUpdateDesiredDatapathProvider string @@ -627,6 +682,12 @@ func (o DNSConfigClusterDnsOutput) ToDNSConfigClusterDnsPtrOutputWithContext(ctx }).(DNSConfigClusterDnsPtrOutput) } +func (o DNSConfigClusterDnsOutput) ToOutput(ctx context.Context) pulumix.Output[DNSConfigClusterDns] { + return pulumix.Output[DNSConfigClusterDns]{ + OutputState: o.OutputState, + } +} + func (o DNSConfigClusterDnsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -662,6 +723,12 @@ func (o DNSConfigClusterDnsPtrOutput) ToDNSConfigClusterDnsPtrOutputWithContext( return o } +func (o DNSConfigClusterDnsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DNSConfigClusterDns] { + return pulumix.Output[*DNSConfigClusterDns]{ + OutputState: o.OutputState, + } +} + func (o DNSConfigClusterDnsPtrOutput) Elem() DNSConfigClusterDnsOutput { return o.ApplyT(func(v *DNSConfigClusterDns) DNSConfigClusterDns { if v != nil { @@ -724,6 +791,12 @@ func (in *dnsconfigClusterDnsPtr) ToDNSConfigClusterDnsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(DNSConfigClusterDnsPtrOutput) } +func (in *dnsconfigClusterDnsPtr) ToOutput(ctx context.Context) pulumix.Output[*DNSConfigClusterDns] { + return pulumix.Output[*DNSConfigClusterDns]{ + OutputState: in.ToDNSConfigClusterDnsPtrOutputWithContext(ctx).OutputState, + } +} + // cluster_dns_scope indicates the scope of access to cluster DNS records. type DNSConfigClusterDnsScope string @@ -796,6 +869,12 @@ func (o DNSConfigClusterDnsScopeOutput) ToDNSConfigClusterDnsScopePtrOutputWithC }).(DNSConfigClusterDnsScopePtrOutput) } +func (o DNSConfigClusterDnsScopeOutput) ToOutput(ctx context.Context) pulumix.Output[DNSConfigClusterDnsScope] { + return pulumix.Output[DNSConfigClusterDnsScope]{ + OutputState: o.OutputState, + } +} + func (o DNSConfigClusterDnsScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -831,6 +910,12 @@ func (o DNSConfigClusterDnsScopePtrOutput) ToDNSConfigClusterDnsScopePtrOutputWi return o } +func (o DNSConfigClusterDnsScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DNSConfigClusterDnsScope] { + return pulumix.Output[*DNSConfigClusterDnsScope]{ + OutputState: o.OutputState, + } +} + func (o DNSConfigClusterDnsScopePtrOutput) Elem() DNSConfigClusterDnsScopeOutput { return o.ApplyT(func(v *DNSConfigClusterDnsScope) DNSConfigClusterDnsScope { if v != nil { @@ -893,6 +978,12 @@ func (in *dnsconfigClusterDnsScopePtr) ToDNSConfigClusterDnsScopePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DNSConfigClusterDnsScopePtrOutput) } +func (in *dnsconfigClusterDnsScopePtr) ToOutput(ctx context.Context) pulumix.Output[*DNSConfigClusterDnsScope] { + return pulumix.Output[*DNSConfigClusterDnsScope]{ + OutputState: in.ToDNSConfigClusterDnsScopePtrOutputWithContext(ctx).OutputState, + } +} + // The desired state of etcd encryption. type DatabaseEncryptionState string @@ -965,6 +1056,12 @@ func (o DatabaseEncryptionStateOutput) ToDatabaseEncryptionStatePtrOutputWithCon }).(DatabaseEncryptionStatePtrOutput) } +func (o DatabaseEncryptionStateOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseEncryptionState] { + return pulumix.Output[DatabaseEncryptionState]{ + OutputState: o.OutputState, + } +} + func (o DatabaseEncryptionStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1000,6 +1097,12 @@ func (o DatabaseEncryptionStatePtrOutput) ToDatabaseEncryptionStatePtrOutputWith return o } +func (o DatabaseEncryptionStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseEncryptionState] { + return pulumix.Output[*DatabaseEncryptionState]{ + OutputState: o.OutputState, + } +} + func (o DatabaseEncryptionStatePtrOutput) Elem() DatabaseEncryptionStateOutput { return o.ApplyT(func(v *DatabaseEncryptionState) DatabaseEncryptionState { if v != nil { @@ -1062,6 +1165,12 @@ func (in *databaseEncryptionStatePtr) ToDatabaseEncryptionStatePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(DatabaseEncryptionStatePtrOutput) } +func (in *databaseEncryptionStatePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseEncryptionState] { + return pulumix.Output[*DatabaseEncryptionState]{ + OutputState: in.ToDatabaseEncryptionStatePtrOutputWithContext(ctx).OutputState, + } +} + type FilterEventTypeItem string const ( @@ -1135,6 +1244,12 @@ func (o FilterEventTypeItemOutput) ToFilterEventTypeItemPtrOutputWithContext(ctx }).(FilterEventTypeItemPtrOutput) } +func (o FilterEventTypeItemOutput) ToOutput(ctx context.Context) pulumix.Output[FilterEventTypeItem] { + return pulumix.Output[FilterEventTypeItem]{ + OutputState: o.OutputState, + } +} + func (o FilterEventTypeItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1170,6 +1285,12 @@ func (o FilterEventTypeItemPtrOutput) ToFilterEventTypeItemPtrOutputWithContext( return o } +func (o FilterEventTypeItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FilterEventTypeItem] { + return pulumix.Output[*FilterEventTypeItem]{ + OutputState: o.OutputState, + } +} + func (o FilterEventTypeItemPtrOutput) Elem() FilterEventTypeItemOutput { return o.ApplyT(func(v *FilterEventTypeItem) FilterEventTypeItem { if v != nil { @@ -1232,6 +1353,12 @@ func (in *filterEventTypeItemPtr) ToFilterEventTypeItemPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(FilterEventTypeItemPtrOutput) } +func (in *filterEventTypeItemPtr) ToOutput(ctx context.Context) pulumix.Output[*FilterEventTypeItem] { + return pulumix.Output[*FilterEventTypeItem]{ + OutputState: in.ToFilterEventTypeItemPtrOutputWithContext(ctx).OutputState, + } +} + // FilterEventTypeItemArrayInput is an input type that accepts FilterEventTypeItemArray and FilterEventTypeItemArrayOutput values. // You can construct a concrete instance of `FilterEventTypeItemArrayInput` via: // @@ -1257,6 +1384,12 @@ func (i FilterEventTypeItemArray) ToFilterEventTypeItemArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(FilterEventTypeItemArrayOutput) } +func (i FilterEventTypeItemArray) ToOutput(ctx context.Context) pulumix.Output[[]FilterEventTypeItem] { + return pulumix.Output[[]FilterEventTypeItem]{ + OutputState: i.ToFilterEventTypeItemArrayOutputWithContext(ctx).OutputState, + } +} + type FilterEventTypeItemArrayOutput struct{ *pulumi.OutputState } func (FilterEventTypeItemArrayOutput) ElementType() reflect.Type { @@ -1271,6 +1404,12 @@ func (o FilterEventTypeItemArrayOutput) ToFilterEventTypeItemArrayOutputWithCont return o } +func (o FilterEventTypeItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FilterEventTypeItem] { + return pulumix.Output[[]FilterEventTypeItem]{ + OutputState: o.OutputState, + } +} + func (o FilterEventTypeItemArrayOutput) Index(i pulumi.IntInput) FilterEventTypeItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FilterEventTypeItem { return vs[0].([]FilterEventTypeItem)[vs[1].(int)] @@ -1347,6 +1486,12 @@ func (o GPUSharingConfigGpuSharingStrategyOutput) ToGPUSharingConfigGpuSharingSt }).(GPUSharingConfigGpuSharingStrategyPtrOutput) } +func (o GPUSharingConfigGpuSharingStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[GPUSharingConfigGpuSharingStrategy] { + return pulumix.Output[GPUSharingConfigGpuSharingStrategy]{ + OutputState: o.OutputState, + } +} + func (o GPUSharingConfigGpuSharingStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1382,6 +1527,12 @@ func (o GPUSharingConfigGpuSharingStrategyPtrOutput) ToGPUSharingConfigGpuSharin return o } +func (o GPUSharingConfigGpuSharingStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GPUSharingConfigGpuSharingStrategy] { + return pulumix.Output[*GPUSharingConfigGpuSharingStrategy]{ + OutputState: o.OutputState, + } +} + func (o GPUSharingConfigGpuSharingStrategyPtrOutput) Elem() GPUSharingConfigGpuSharingStrategyOutput { return o.ApplyT(func(v *GPUSharingConfigGpuSharingStrategy) GPUSharingConfigGpuSharingStrategy { if v != nil { @@ -1444,6 +1595,12 @@ func (in *gpusharingConfigGpuSharingStrategyPtr) ToGPUSharingConfigGpuSharingStr return pulumi.ToOutputWithContext(ctx, in).(GPUSharingConfigGpuSharingStrategyPtrOutput) } +func (in *gpusharingConfigGpuSharingStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*GPUSharingConfigGpuSharingStrategy] { + return pulumix.Output[*GPUSharingConfigGpuSharingStrategy]{ + OutputState: in.ToGPUSharingConfigGpuSharingStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // The Gateway API release channel to use for Gateway API. type GatewayAPIConfigChannel string @@ -1518,6 +1675,12 @@ func (o GatewayAPIConfigChannelOutput) ToGatewayAPIConfigChannelPtrOutputWithCon }).(GatewayAPIConfigChannelPtrOutput) } +func (o GatewayAPIConfigChannelOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayAPIConfigChannel] { + return pulumix.Output[GatewayAPIConfigChannel]{ + OutputState: o.OutputState, + } +} + func (o GatewayAPIConfigChannelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1553,6 +1716,12 @@ func (o GatewayAPIConfigChannelPtrOutput) ToGatewayAPIConfigChannelPtrOutputWith return o } +func (o GatewayAPIConfigChannelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayAPIConfigChannel] { + return pulumix.Output[*GatewayAPIConfigChannel]{ + OutputState: o.OutputState, + } +} + func (o GatewayAPIConfigChannelPtrOutput) Elem() GatewayAPIConfigChannelOutput { return o.ApplyT(func(v *GatewayAPIConfigChannel) GatewayAPIConfigChannel { if v != nil { @@ -1615,6 +1784,12 @@ func (in *gatewayAPIConfigChannelPtr) ToGatewayAPIConfigChannelPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(GatewayAPIConfigChannelPtrOutput) } +func (in *gatewayAPIConfigChannelPtr) ToOutput(ctx context.Context) pulumix.Output[*GatewayAPIConfigChannel] { + return pulumix.Output[*GatewayAPIConfigChannel]{ + OutputState: in.ToGatewayAPIConfigChannelPtrOutputWithContext(ctx).OutputState, + } +} + // The ipv6 access type (internal or external) when create_subnetwork is true type IPAllocationPolicyIpv6AccessType string @@ -1687,6 +1862,12 @@ func (o IPAllocationPolicyIpv6AccessTypeOutput) ToIPAllocationPolicyIpv6AccessTy }).(IPAllocationPolicyIpv6AccessTypePtrOutput) } +func (o IPAllocationPolicyIpv6AccessTypeOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicyIpv6AccessType] { + return pulumix.Output[IPAllocationPolicyIpv6AccessType]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyIpv6AccessTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1722,6 +1903,12 @@ func (o IPAllocationPolicyIpv6AccessTypePtrOutput) ToIPAllocationPolicyIpv6Acces return o } +func (o IPAllocationPolicyIpv6AccessTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicyIpv6AccessType] { + return pulumix.Output[*IPAllocationPolicyIpv6AccessType]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyIpv6AccessTypePtrOutput) Elem() IPAllocationPolicyIpv6AccessTypeOutput { return o.ApplyT(func(v *IPAllocationPolicyIpv6AccessType) IPAllocationPolicyIpv6AccessType { if v != nil { @@ -1784,6 +1971,12 @@ func (in *ipallocationPolicyIpv6AccessTypePtr) ToIPAllocationPolicyIpv6AccessTyp return pulumi.ToOutputWithContext(ctx, in).(IPAllocationPolicyIpv6AccessTypePtrOutput) } +func (in *ipallocationPolicyIpv6AccessTypePtr) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicyIpv6AccessType] { + return pulumix.Output[*IPAllocationPolicyIpv6AccessType]{ + OutputState: in.ToIPAllocationPolicyIpv6AccessTypePtrOutputWithContext(ctx).OutputState, + } +} + // The IP stack type of the cluster type IPAllocationPolicyStackType string @@ -1856,6 +2049,12 @@ func (o IPAllocationPolicyStackTypeOutput) ToIPAllocationPolicyStackTypePtrOutpu }).(IPAllocationPolicyStackTypePtrOutput) } +func (o IPAllocationPolicyStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicyStackType] { + return pulumix.Output[IPAllocationPolicyStackType]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1891,6 +2090,12 @@ func (o IPAllocationPolicyStackTypePtrOutput) ToIPAllocationPolicyStackTypePtrOu return o } +func (o IPAllocationPolicyStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicyStackType] { + return pulumix.Output[*IPAllocationPolicyStackType]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyStackTypePtrOutput) Elem() IPAllocationPolicyStackTypeOutput { return o.ApplyT(func(v *IPAllocationPolicyStackType) IPAllocationPolicyStackType { if v != nil { @@ -1953,6 +2158,12 @@ func (in *ipallocationPolicyStackTypePtr) ToIPAllocationPolicyStackTypePtrOutput return pulumi.ToOutputWithContext(ctx, in).(IPAllocationPolicyStackTypePtrOutput) } +func (in *ipallocationPolicyStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicyStackType] { + return pulumix.Output[*IPAllocationPolicyStackType]{ + OutputState: in.ToIPAllocationPolicyStackTypePtrOutputWithContext(ctx).OutputState, + } +} + // cgroup_mode specifies the cgroup mode to be used on the node. type LinuxNodeConfigCgroupMode string @@ -2025,6 +2236,12 @@ func (o LinuxNodeConfigCgroupModeOutput) ToLinuxNodeConfigCgroupModePtrOutputWit }).(LinuxNodeConfigCgroupModePtrOutput) } +func (o LinuxNodeConfigCgroupModeOutput) ToOutput(ctx context.Context) pulumix.Output[LinuxNodeConfigCgroupMode] { + return pulumix.Output[LinuxNodeConfigCgroupMode]{ + OutputState: o.OutputState, + } +} + func (o LinuxNodeConfigCgroupModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2060,6 +2277,12 @@ func (o LinuxNodeConfigCgroupModePtrOutput) ToLinuxNodeConfigCgroupModePtrOutput return o } +func (o LinuxNodeConfigCgroupModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LinuxNodeConfigCgroupMode] { + return pulumix.Output[*LinuxNodeConfigCgroupMode]{ + OutputState: o.OutputState, + } +} + func (o LinuxNodeConfigCgroupModePtrOutput) Elem() LinuxNodeConfigCgroupModeOutput { return o.ApplyT(func(v *LinuxNodeConfigCgroupMode) LinuxNodeConfigCgroupMode { if v != nil { @@ -2122,6 +2345,12 @@ func (in *linuxNodeConfigCgroupModePtr) ToLinuxNodeConfigCgroupModePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(LinuxNodeConfigCgroupModePtrOutput) } +func (in *linuxNodeConfigCgroupModePtr) ToOutput(ctx context.Context) pulumix.Output[*LinuxNodeConfigCgroupMode] { + return pulumix.Output[*LinuxNodeConfigCgroupMode]{ + OutputState: in.ToLinuxNodeConfigCgroupModePtrOutputWithContext(ctx).OutputState, + } +} + type LoggingComponentConfigEnableComponentsItem string const ( @@ -2199,6 +2428,12 @@ func (o LoggingComponentConfigEnableComponentsItemOutput) ToLoggingComponentConf }).(LoggingComponentConfigEnableComponentsItemPtrOutput) } +func (o LoggingComponentConfigEnableComponentsItemOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingComponentConfigEnableComponentsItem] { + return pulumix.Output[LoggingComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingComponentConfigEnableComponentsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2234,6 +2469,12 @@ func (o LoggingComponentConfigEnableComponentsItemPtrOutput) ToLoggingComponentC return o } +func (o LoggingComponentConfigEnableComponentsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingComponentConfigEnableComponentsItem] { + return pulumix.Output[*LoggingComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingComponentConfigEnableComponentsItemPtrOutput) Elem() LoggingComponentConfigEnableComponentsItemOutput { return o.ApplyT(func(v *LoggingComponentConfigEnableComponentsItem) LoggingComponentConfigEnableComponentsItem { if v != nil { @@ -2296,6 +2537,12 @@ func (in *loggingComponentConfigEnableComponentsItemPtr) ToLoggingComponentConfi return pulumi.ToOutputWithContext(ctx, in).(LoggingComponentConfigEnableComponentsItemPtrOutput) } +func (in *loggingComponentConfigEnableComponentsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*LoggingComponentConfigEnableComponentsItem] { + return pulumix.Output[*LoggingComponentConfigEnableComponentsItem]{ + OutputState: in.ToLoggingComponentConfigEnableComponentsItemPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingComponentConfigEnableComponentsItemArrayInput is an input type that accepts LoggingComponentConfigEnableComponentsItemArray and LoggingComponentConfigEnableComponentsItemArrayOutput values. // You can construct a concrete instance of `LoggingComponentConfigEnableComponentsItemArrayInput` via: // @@ -2321,6 +2568,12 @@ func (i LoggingComponentConfigEnableComponentsItemArray) ToLoggingComponentConfi return pulumi.ToOutputWithContext(ctx, i).(LoggingComponentConfigEnableComponentsItemArrayOutput) } +func (i LoggingComponentConfigEnableComponentsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]LoggingComponentConfigEnableComponentsItem] { + return pulumix.Output[[]LoggingComponentConfigEnableComponentsItem]{ + OutputState: i.ToLoggingComponentConfigEnableComponentsItemArrayOutputWithContext(ctx).OutputState, + } +} + type LoggingComponentConfigEnableComponentsItemArrayOutput struct{ *pulumi.OutputState } func (LoggingComponentConfigEnableComponentsItemArrayOutput) ElementType() reflect.Type { @@ -2335,6 +2588,12 @@ func (o LoggingComponentConfigEnableComponentsItemArrayOutput) ToLoggingComponen return o } +func (o LoggingComponentConfigEnableComponentsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LoggingComponentConfigEnableComponentsItem] { + return pulumix.Output[[]LoggingComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingComponentConfigEnableComponentsItemArrayOutput) Index(i pulumi.IntInput) LoggingComponentConfigEnableComponentsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoggingComponentConfigEnableComponentsItem { return vs[0].([]LoggingComponentConfigEnableComponentsItem)[vs[1].(int)] @@ -2413,6 +2672,12 @@ func (o LoggingVariantConfigVariantOutput) ToLoggingVariantConfigVariantPtrOutpu }).(LoggingVariantConfigVariantPtrOutput) } +func (o LoggingVariantConfigVariantOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingVariantConfigVariant] { + return pulumix.Output[LoggingVariantConfigVariant]{ + OutputState: o.OutputState, + } +} + func (o LoggingVariantConfigVariantOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2448,6 +2713,12 @@ func (o LoggingVariantConfigVariantPtrOutput) ToLoggingVariantConfigVariantPtrOu return o } +func (o LoggingVariantConfigVariantPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingVariantConfigVariant] { + return pulumix.Output[*LoggingVariantConfigVariant]{ + OutputState: o.OutputState, + } +} + func (o LoggingVariantConfigVariantPtrOutput) Elem() LoggingVariantConfigVariantOutput { return o.ApplyT(func(v *LoggingVariantConfigVariant) LoggingVariantConfigVariant { if v != nil { @@ -2510,6 +2781,12 @@ func (in *loggingVariantConfigVariantPtr) ToLoggingVariantConfigVariantPtrOutput return pulumi.ToOutputWithContext(ctx, in).(LoggingVariantConfigVariantPtrOutput) } +func (in *loggingVariantConfigVariantPtr) ToOutput(ctx context.Context) pulumix.Output[*LoggingVariantConfigVariant] { + return pulumix.Output[*LoggingVariantConfigVariant]{ + OutputState: in.ToLoggingVariantConfigVariantPtrOutputWithContext(ctx).OutputState, + } +} + // Scope specifies the upgrade scope which upgrades are blocked by the exclusion. type MaintenanceExclusionOptionsScope string @@ -2582,6 +2859,12 @@ func (o MaintenanceExclusionOptionsScopeOutput) ToMaintenanceExclusionOptionsSco }).(MaintenanceExclusionOptionsScopePtrOutput) } +func (o MaintenanceExclusionOptionsScopeOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceExclusionOptionsScope] { + return pulumix.Output[MaintenanceExclusionOptionsScope]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceExclusionOptionsScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2617,6 +2900,12 @@ func (o MaintenanceExclusionOptionsScopePtrOutput) ToMaintenanceExclusionOptions return o } +func (o MaintenanceExclusionOptionsScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceExclusionOptionsScope] { + return pulumix.Output[*MaintenanceExclusionOptionsScope]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceExclusionOptionsScopePtrOutput) Elem() MaintenanceExclusionOptionsScopeOutput { return o.ApplyT(func(v *MaintenanceExclusionOptionsScope) MaintenanceExclusionOptionsScope { if v != nil { @@ -2679,6 +2968,12 @@ func (in *maintenanceExclusionOptionsScopePtr) ToMaintenanceExclusionOptionsScop return pulumi.ToOutputWithContext(ctx, in).(MaintenanceExclusionOptionsScopePtrOutput) } +func (in *maintenanceExclusionOptionsScopePtr) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceExclusionOptionsScope] { + return pulumix.Output[*MaintenanceExclusionOptionsScope]{ + OutputState: in.ToMaintenanceExclusionOptionsScopePtrOutputWithContext(ctx).OutputState, + } +} + type MonitoringComponentConfigEnableComponentsItem string const ( @@ -2754,6 +3049,12 @@ func (o MonitoringComponentConfigEnableComponentsItemOutput) ToMonitoringCompone }).(MonitoringComponentConfigEnableComponentsItemPtrOutput) } +func (o MonitoringComponentConfigEnableComponentsItemOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringComponentConfigEnableComponentsItem] { + return pulumix.Output[MonitoringComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o MonitoringComponentConfigEnableComponentsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2789,6 +3090,12 @@ func (o MonitoringComponentConfigEnableComponentsItemPtrOutput) ToMonitoringComp return o } +func (o MonitoringComponentConfigEnableComponentsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringComponentConfigEnableComponentsItem] { + return pulumix.Output[*MonitoringComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o MonitoringComponentConfigEnableComponentsItemPtrOutput) Elem() MonitoringComponentConfigEnableComponentsItemOutput { return o.ApplyT(func(v *MonitoringComponentConfigEnableComponentsItem) MonitoringComponentConfigEnableComponentsItem { if v != nil { @@ -2851,6 +3158,12 @@ func (in *monitoringComponentConfigEnableComponentsItemPtr) ToMonitoringComponen return pulumi.ToOutputWithContext(ctx, in).(MonitoringComponentConfigEnableComponentsItemPtrOutput) } +func (in *monitoringComponentConfigEnableComponentsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*MonitoringComponentConfigEnableComponentsItem] { + return pulumix.Output[*MonitoringComponentConfigEnableComponentsItem]{ + OutputState: in.ToMonitoringComponentConfigEnableComponentsItemPtrOutputWithContext(ctx).OutputState, + } +} + // MonitoringComponentConfigEnableComponentsItemArrayInput is an input type that accepts MonitoringComponentConfigEnableComponentsItemArray and MonitoringComponentConfigEnableComponentsItemArrayOutput values. // You can construct a concrete instance of `MonitoringComponentConfigEnableComponentsItemArrayInput` via: // @@ -2876,6 +3189,12 @@ func (i MonitoringComponentConfigEnableComponentsItemArray) ToMonitoringComponen return pulumi.ToOutputWithContext(ctx, i).(MonitoringComponentConfigEnableComponentsItemArrayOutput) } +func (i MonitoringComponentConfigEnableComponentsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]MonitoringComponentConfigEnableComponentsItem] { + return pulumix.Output[[]MonitoringComponentConfigEnableComponentsItem]{ + OutputState: i.ToMonitoringComponentConfigEnableComponentsItemArrayOutputWithContext(ctx).OutputState, + } +} + type MonitoringComponentConfigEnableComponentsItemArrayOutput struct{ *pulumi.OutputState } func (MonitoringComponentConfigEnableComponentsItemArrayOutput) ElementType() reflect.Type { @@ -2890,6 +3209,12 @@ func (o MonitoringComponentConfigEnableComponentsItemArrayOutput) ToMonitoringCo return o } +func (o MonitoringComponentConfigEnableComponentsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MonitoringComponentConfigEnableComponentsItem] { + return pulumix.Output[[]MonitoringComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o MonitoringComponentConfigEnableComponentsItemArrayOutput) Index(i pulumi.IntInput) MonitoringComponentConfigEnableComponentsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitoringComponentConfigEnableComponentsItem { return vs[0].([]MonitoringComponentConfigEnableComponentsItem)[vs[1].(int)] @@ -2968,6 +3293,12 @@ func (o NetworkConfigDatapathProviderOutput) ToNetworkConfigDatapathProviderPtrO }).(NetworkConfigDatapathProviderPtrOutput) } +func (o NetworkConfigDatapathProviderOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigDatapathProvider] { + return pulumix.Output[NetworkConfigDatapathProvider]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigDatapathProviderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3003,6 +3334,12 @@ func (o NetworkConfigDatapathProviderPtrOutput) ToNetworkConfigDatapathProviderP return o } +func (o NetworkConfigDatapathProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigDatapathProvider] { + return pulumix.Output[*NetworkConfigDatapathProvider]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigDatapathProviderPtrOutput) Elem() NetworkConfigDatapathProviderOutput { return o.ApplyT(func(v *NetworkConfigDatapathProvider) NetworkConfigDatapathProvider { if v != nil { @@ -3065,6 +3402,12 @@ func (in *networkConfigDatapathProviderPtr) ToNetworkConfigDatapathProviderPtrOu return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigDatapathProviderPtrOutput) } +func (in *networkConfigDatapathProviderPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigDatapathProvider] { + return pulumix.Output[*NetworkConfigDatapathProvider]{ + OutputState: in.ToNetworkConfigDatapathProviderPtrOutputWithContext(ctx).OutputState, + } +} + // The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4) type NetworkConfigPrivateIpv6GoogleAccess string @@ -3139,6 +3482,12 @@ func (o NetworkConfigPrivateIpv6GoogleAccessOutput) ToNetworkConfigPrivateIpv6Go }).(NetworkConfigPrivateIpv6GoogleAccessPtrOutput) } +func (o NetworkConfigPrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[NetworkConfigPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3174,6 +3523,12 @@ func (o NetworkConfigPrivateIpv6GoogleAccessPtrOutput) ToNetworkConfigPrivateIpv return o } +func (o NetworkConfigPrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[*NetworkConfigPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPrivateIpv6GoogleAccessPtrOutput) Elem() NetworkConfigPrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *NetworkConfigPrivateIpv6GoogleAccess) NetworkConfigPrivateIpv6GoogleAccess { if v != nil { @@ -3236,6 +3591,12 @@ func (in *networkConfigPrivateIpv6GoogleAccessPtr) ToNetworkConfigPrivateIpv6Goo return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigPrivateIpv6GoogleAccessPtrOutput) } +func (in *networkConfigPrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[*NetworkConfigPrivateIpv6GoogleAccess]{ + OutputState: in.ToNetworkConfigPrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the total network bandwidth tier for the NodePool. type NetworkPerformanceConfigTotalEgressBandwidthTier string @@ -3306,6 +3667,12 @@ func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToNetworkPerform }).(NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) } +func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3341,6 +3708,12 @@ func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) ToNetworkPerf return o } +func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) Elem() NetworkPerformanceConfigTotalEgressBandwidthTierOutput { return o.ApplyT(func(v *NetworkPerformanceConfigTotalEgressBandwidthTier) NetworkPerformanceConfigTotalEgressBandwidthTier { if v != nil { @@ -3403,6 +3776,12 @@ func (in *networkPerformanceConfigTotalEgressBandwidthTierPtr) ToNetworkPerforma return pulumi.ToOutputWithContext(ctx, in).(NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) } +func (in *networkPerformanceConfigTotalEgressBandwidthTierPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: in.ToNetworkPerformanceConfigTotalEgressBandwidthTierPtrOutputWithContext(ctx).OutputState, + } +} + // The selected network policy provider. type NetworkPolicyProvider string @@ -3473,6 +3852,12 @@ func (o NetworkPolicyProviderOutput) ToNetworkPolicyProviderPtrOutputWithContext }).(NetworkPolicyProviderPtrOutput) } +func (o NetworkPolicyProviderOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyProvider] { + return pulumix.Output[NetworkPolicyProvider]{ + OutputState: o.OutputState, + } +} + func (o NetworkPolicyProviderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3508,6 +3893,12 @@ func (o NetworkPolicyProviderPtrOutput) ToNetworkPolicyProviderPtrOutputWithCont return o } +func (o NetworkPolicyProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicyProvider] { + return pulumix.Output[*NetworkPolicyProvider]{ + OutputState: o.OutputState, + } +} + func (o NetworkPolicyProviderPtrOutput) Elem() NetworkPolicyProviderOutput { return o.ApplyT(func(v *NetworkPolicyProvider) NetworkPolicyProvider { if v != nil { @@ -3570,6 +3961,12 @@ func (in *networkPolicyProviderPtr) ToNetworkPolicyProviderPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(NetworkPolicyProviderPtrOutput) } +func (in *networkPolicyProviderPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicyProvider] { + return pulumix.Output[*NetworkPolicyProvider]{ + OutputState: in.ToNetworkPolicyProviderPtrOutputWithContext(ctx).OutputState, + } +} + // Location policy used when scaling up a nodepool. type NodePoolAutoscalingLocationPolicy string @@ -3642,6 +4039,12 @@ func (o NodePoolAutoscalingLocationPolicyOutput) ToNodePoolAutoscalingLocationPo }).(NodePoolAutoscalingLocationPolicyPtrOutput) } +func (o NodePoolAutoscalingLocationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoscalingLocationPolicy] { + return pulumix.Output[NodePoolAutoscalingLocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o NodePoolAutoscalingLocationPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3677,6 +4080,12 @@ func (o NodePoolAutoscalingLocationPolicyPtrOutput) ToNodePoolAutoscalingLocatio return o } +func (o NodePoolAutoscalingLocationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoscalingLocationPolicy] { + return pulumix.Output[*NodePoolAutoscalingLocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o NodePoolAutoscalingLocationPolicyPtrOutput) Elem() NodePoolAutoscalingLocationPolicyOutput { return o.ApplyT(func(v *NodePoolAutoscalingLocationPolicy) NodePoolAutoscalingLocationPolicy { if v != nil { @@ -3739,6 +4148,12 @@ func (in *nodePoolAutoscalingLocationPolicyPtr) ToNodePoolAutoscalingLocationPol return pulumi.ToOutputWithContext(ctx, in).(NodePoolAutoscalingLocationPolicyPtrOutput) } +func (in *nodePoolAutoscalingLocationPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoscalingLocationPolicy] { + return pulumix.Output[*NodePoolAutoscalingLocationPolicy]{ + OutputState: in.ToNodePoolAutoscalingLocationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Effect for taint. type NodeTaintEffect string @@ -3813,6 +4228,12 @@ func (o NodeTaintEffectOutput) ToNodeTaintEffectPtrOutputWithContext(ctx context }).(NodeTaintEffectPtrOutput) } +func (o NodeTaintEffectOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTaintEffect] { + return pulumix.Output[NodeTaintEffect]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintEffectOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3848,6 +4269,12 @@ func (o NodeTaintEffectPtrOutput) ToNodeTaintEffectPtrOutputWithContext(ctx cont return o } +func (o NodeTaintEffectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTaintEffect] { + return pulumix.Output[*NodeTaintEffect]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintEffectPtrOutput) Elem() NodeTaintEffectOutput { return o.ApplyT(func(v *NodeTaintEffect) NodeTaintEffect { if v != nil { @@ -3910,6 +4337,12 @@ func (in *nodeTaintEffectPtr) ToNodeTaintEffectPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(NodeTaintEffectPtrOutput) } +func (in *nodeTaintEffectPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeTaintEffect] { + return pulumix.Output[*NodeTaintEffect]{ + OutputState: in.ToNodeTaintEffectPtrOutputWithContext(ctx).OutputState, + } +} + // The type of placement. type PlacementPolicyType string @@ -3980,6 +4413,12 @@ func (o PlacementPolicyTypeOutput) ToPlacementPolicyTypePtrOutputWithContext(ctx }).(PlacementPolicyTypePtrOutput) } +func (o PlacementPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicyType] { + return pulumix.Output[PlacementPolicyType]{ + OutputState: o.OutputState, + } +} + func (o PlacementPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4015,6 +4454,12 @@ func (o PlacementPolicyTypePtrOutput) ToPlacementPolicyTypePtrOutputWithContext( return o } +func (o PlacementPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PlacementPolicyType] { + return pulumix.Output[*PlacementPolicyType]{ + OutputState: o.OutputState, + } +} + func (o PlacementPolicyTypePtrOutput) Elem() PlacementPolicyTypeOutput { return o.ApplyT(func(v *PlacementPolicyType) PlacementPolicyType { if v != nil { @@ -4077,6 +4522,12 @@ func (in *placementPolicyTypePtr) ToPlacementPolicyTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(PlacementPolicyTypePtrOutput) } +func (in *placementPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*PlacementPolicyType] { + return pulumix.Output[*PlacementPolicyType]{ + OutputState: in.ToPlacementPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // channel specifies which release channel the cluster is subscribed to. type ReleaseChannelChannel string @@ -4151,6 +4602,12 @@ func (o ReleaseChannelChannelOutput) ToReleaseChannelChannelPtrOutputWithContext }).(ReleaseChannelChannelPtrOutput) } +func (o ReleaseChannelChannelOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseChannelChannel] { + return pulumix.Output[ReleaseChannelChannel]{ + OutputState: o.OutputState, + } +} + func (o ReleaseChannelChannelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4186,6 +4643,12 @@ func (o ReleaseChannelChannelPtrOutput) ToReleaseChannelChannelPtrOutputWithCont return o } +func (o ReleaseChannelChannelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReleaseChannelChannel] { + return pulumix.Output[*ReleaseChannelChannel]{ + OutputState: o.OutputState, + } +} + func (o ReleaseChannelChannelPtrOutput) Elem() ReleaseChannelChannelOutput { return o.ApplyT(func(v *ReleaseChannelChannel) ReleaseChannelChannel { if v != nil { @@ -4248,6 +4711,12 @@ func (in *releaseChannelChannelPtr) ToReleaseChannelChannelPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ReleaseChannelChannelPtrOutput) } +func (in *releaseChannelChannelPtr) ToOutput(ctx context.Context) pulumix.Output[*ReleaseChannelChannel] { + return pulumix.Output[*ReleaseChannelChannel]{ + OutputState: in.ToReleaseChannelChannelPtrOutputWithContext(ctx).OutputState, + } +} + // Corresponds to the type of reservation consumption. type ReservationAffinityConsumeReservationType string @@ -4322,6 +4791,12 @@ func (o ReservationAffinityConsumeReservationTypeOutput) ToReservationAffinityCo }).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (o ReservationAffinityConsumeReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityConsumeReservationType] { + return pulumix.Output[ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4357,6 +4832,12 @@ func (o ReservationAffinityConsumeReservationTypePtrOutput) ToReservationAffinit return o } +func (o ReservationAffinityConsumeReservationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypePtrOutput) Elem() ReservationAffinityConsumeReservationTypeOutput { return o.ApplyT(func(v *ReservationAffinityConsumeReservationType) ReservationAffinityConsumeReservationType { if v != nil { @@ -4419,6 +4900,12 @@ func (in *reservationAffinityConsumeReservationTypePtr) ToReservationAffinityCon return pulumi.ToOutputWithContext(ctx, in).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (in *reservationAffinityConsumeReservationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: in.ToReservationAffinityConsumeReservationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the sandbox to use for the node. type SandboxConfigType string @@ -4489,6 +4976,12 @@ func (o SandboxConfigTypeOutput) ToSandboxConfigTypePtrOutputWithContext(ctx con }).(SandboxConfigTypePtrOutput) } +func (o SandboxConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SandboxConfigType] { + return pulumix.Output[SandboxConfigType]{ + OutputState: o.OutputState, + } +} + func (o SandboxConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4524,6 +5017,12 @@ func (o SandboxConfigTypePtrOutput) ToSandboxConfigTypePtrOutputWithContext(ctx return o } +func (o SandboxConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SandboxConfigType] { + return pulumix.Output[*SandboxConfigType]{ + OutputState: o.OutputState, + } +} + func (o SandboxConfigTypePtrOutput) Elem() SandboxConfigTypeOutput { return o.ApplyT(func(v *SandboxConfigType) SandboxConfigType { if v != nil { @@ -4586,6 +5085,12 @@ func (in *sandboxConfigTypePtr) ToSandboxConfigTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(SandboxConfigTypePtrOutput) } +func (in *sandboxConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SandboxConfigType] { + return pulumix.Output[*SandboxConfigType]{ + OutputState: in.ToSandboxConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // Canonical code of the condition. type StatusConditionCanonicalCode string @@ -4686,6 +5191,12 @@ func (o StatusConditionCanonicalCodeOutput) ToStatusConditionCanonicalCodePtrOut }).(StatusConditionCanonicalCodePtrOutput) } +func (o StatusConditionCanonicalCodeOutput) ToOutput(ctx context.Context) pulumix.Output[StatusConditionCanonicalCode] { + return pulumix.Output[StatusConditionCanonicalCode]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionCanonicalCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4721,6 +5232,12 @@ func (o StatusConditionCanonicalCodePtrOutput) ToStatusConditionCanonicalCodePtr return o } +func (o StatusConditionCanonicalCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatusConditionCanonicalCode] { + return pulumix.Output[*StatusConditionCanonicalCode]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionCanonicalCodePtrOutput) Elem() StatusConditionCanonicalCodeOutput { return o.ApplyT(func(v *StatusConditionCanonicalCode) StatusConditionCanonicalCode { if v != nil { @@ -4783,6 +5300,12 @@ func (in *statusConditionCanonicalCodePtr) ToStatusConditionCanonicalCodePtrOutp return pulumi.ToOutputWithContext(ctx, in).(StatusConditionCanonicalCodePtrOutput) } +func (in *statusConditionCanonicalCodePtr) ToOutput(ctx context.Context) pulumix.Output[*StatusConditionCanonicalCode] { + return pulumix.Output[*StatusConditionCanonicalCode]{ + OutputState: in.ToStatusConditionCanonicalCodePtrOutputWithContext(ctx).OutputState, + } +} + // Machine-friendly representation of the condition Deprecated. Use canonical_code instead. type StatusConditionCode string @@ -4863,6 +5386,12 @@ func (o StatusConditionCodeOutput) ToStatusConditionCodePtrOutputWithContext(ctx }).(StatusConditionCodePtrOutput) } +func (o StatusConditionCodeOutput) ToOutput(ctx context.Context) pulumix.Output[StatusConditionCode] { + return pulumix.Output[StatusConditionCode]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4898,6 +5427,12 @@ func (o StatusConditionCodePtrOutput) ToStatusConditionCodePtrOutputWithContext( return o } +func (o StatusConditionCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatusConditionCode] { + return pulumix.Output[*StatusConditionCode]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionCodePtrOutput) Elem() StatusConditionCodeOutput { return o.ApplyT(func(v *StatusConditionCode) StatusConditionCode { if v != nil { @@ -4960,6 +5495,12 @@ func (in *statusConditionCodePtr) ToStatusConditionCodePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(StatusConditionCodePtrOutput) } +func (in *statusConditionCodePtr) ToOutput(ctx context.Context) pulumix.Output[*StatusConditionCode] { + return pulumix.Output[*StatusConditionCode]{ + OutputState: in.ToStatusConditionCodePtrOutputWithContext(ctx).OutputState, + } +} + // Update strategy of the node pool. type UpgradeSettingsStrategy string @@ -5032,6 +5573,12 @@ func (o UpgradeSettingsStrategyOutput) ToUpgradeSettingsStrategyPtrOutputWithCon }).(UpgradeSettingsStrategyPtrOutput) } +func (o UpgradeSettingsStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeSettingsStrategy] { + return pulumix.Output[UpgradeSettingsStrategy]{ + OutputState: o.OutputState, + } +} + func (o UpgradeSettingsStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5067,6 +5614,12 @@ func (o UpgradeSettingsStrategyPtrOutput) ToUpgradeSettingsStrategyPtrOutputWith return o } +func (o UpgradeSettingsStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeSettingsStrategy] { + return pulumix.Output[*UpgradeSettingsStrategy]{ + OutputState: o.OutputState, + } +} + func (o UpgradeSettingsStrategyPtrOutput) Elem() UpgradeSettingsStrategyOutput { return o.ApplyT(func(v *UpgradeSettingsStrategy) UpgradeSettingsStrategy { if v != nil { @@ -5129,6 +5682,12 @@ func (in *upgradeSettingsStrategyPtr) ToUpgradeSettingsStrategyPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(UpgradeSettingsStrategyPtrOutput) } +func (in *upgradeSettingsStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*UpgradeSettingsStrategy] { + return pulumix.Output[*UpgradeSettingsStrategy]{ + OutputState: in.ToUpgradeSettingsStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // OSVersion specifies the Windows node config to be used on the node type WindowsNodeConfigOsVersion string @@ -5201,6 +5760,12 @@ func (o WindowsNodeConfigOsVersionOutput) ToWindowsNodeConfigOsVersionPtrOutputW }).(WindowsNodeConfigOsVersionPtrOutput) } +func (o WindowsNodeConfigOsVersionOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsNodeConfigOsVersion] { + return pulumix.Output[WindowsNodeConfigOsVersion]{ + OutputState: o.OutputState, + } +} + func (o WindowsNodeConfigOsVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5236,6 +5801,12 @@ func (o WindowsNodeConfigOsVersionPtrOutput) ToWindowsNodeConfigOsVersionPtrOutp return o } +func (o WindowsNodeConfigOsVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WindowsNodeConfigOsVersion] { + return pulumix.Output[*WindowsNodeConfigOsVersion]{ + OutputState: o.OutputState, + } +} + func (o WindowsNodeConfigOsVersionPtrOutput) Elem() WindowsNodeConfigOsVersionOutput { return o.ApplyT(func(v *WindowsNodeConfigOsVersion) WindowsNodeConfigOsVersion { if v != nil { @@ -5298,6 +5869,12 @@ func (in *windowsNodeConfigOsVersionPtr) ToWindowsNodeConfigOsVersionPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(WindowsNodeConfigOsVersionPtrOutput) } +func (in *windowsNodeConfigOsVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*WindowsNodeConfigOsVersion] { + return pulumix.Output[*WindowsNodeConfigOsVersion]{ + OutputState: in.ToWindowsNodeConfigOsVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Mode is the configuration for how to expose metadata to workloads running on the node pool. type WorkloadMetadataConfigMode string @@ -5370,6 +5947,12 @@ func (o WorkloadMetadataConfigModeOutput) ToWorkloadMetadataConfigModePtrOutputW }).(WorkloadMetadataConfigModePtrOutput) } +func (o WorkloadMetadataConfigModeOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadMetadataConfigMode] { + return pulumix.Output[WorkloadMetadataConfigMode]{ + OutputState: o.OutputState, + } +} + func (o WorkloadMetadataConfigModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5405,6 +5988,12 @@ func (o WorkloadMetadataConfigModePtrOutput) ToWorkloadMetadataConfigModePtrOutp return o } +func (o WorkloadMetadataConfigModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadMetadataConfigMode] { + return pulumix.Output[*WorkloadMetadataConfigMode]{ + OutputState: o.OutputState, + } +} + func (o WorkloadMetadataConfigModePtrOutput) Elem() WorkloadMetadataConfigModeOutput { return o.ApplyT(func(v *WorkloadMetadataConfigMode) WorkloadMetadataConfigMode { if v != nil { @@ -5467,6 +6056,12 @@ func (in *workloadMetadataConfigModePtr) ToWorkloadMetadataConfigModePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(WorkloadMetadataConfigModePtrOutput) } +func (in *workloadMetadataConfigModePtr) ToOutput(ctx context.Context) pulumix.Output[*WorkloadMetadataConfigMode] { + return pulumix.Output[*WorkloadMetadataConfigMode]{ + OutputState: in.ToWorkloadMetadataConfigModePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*BinaryAuthorizationEvaluationModeInput)(nil)).Elem(), BinaryAuthorizationEvaluationMode("EVALUATION_MODE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*BinaryAuthorizationEvaluationModePtrInput)(nil)).Elem(), BinaryAuthorizationEvaluationMode("EVALUATION_MODE_UNSPECIFIED")) diff --git a/sdk/go/google/container/v1/pulumiTypes.go b/sdk/go/google/container/v1/pulumiTypes.go index 6e64b559aa..e5e92a6a08 100644 --- a/sdk/go/google/container/v1/pulumiTypes.go +++ b/sdk/go/google/container/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AcceleratorConfigArgs) ToAcceleratorConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigOutput) } +func (i AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + // AcceleratorConfigArrayInput is an input type that accepts AcceleratorConfigArray and AcceleratorConfigArrayOutput values. // You can construct a concrete instance of `AcceleratorConfigArrayInput` via: // @@ -85,6 +92,12 @@ func (i AcceleratorConfigArray) ToAcceleratorConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigArrayOutput) } +func (i AcceleratorConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigArrayOutputWithContext(ctx).OutputState, + } +} + // AcceleratorConfig represents a Hardware Accelerator request. type AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -100,6 +113,12 @@ func (o AcceleratorConfigOutput) ToAcceleratorConfigOutputWithContext(ctx contex return o } +func (o AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // The number of the accelerator cards exposed to an instance. func (o AcceleratorConfigOutput) AcceleratorCount() pulumi.StringPtrOutput { return o.ApplyT(func(v AcceleratorConfig) *string { return v.AcceleratorCount }).(pulumi.StringPtrOutput) @@ -134,6 +153,12 @@ func (o AcceleratorConfigArrayOutput) ToAcceleratorConfigArrayOutputWithContext( return o } +func (o AcceleratorConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfig { return vs[0].([]AcceleratorConfig)[vs[1].(int)] @@ -167,6 +192,12 @@ func (o AcceleratorConfigResponseOutput) ToAcceleratorConfigResponseOutputWithCo return o } +func (o AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigResponse] { + return pulumix.Output[AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of the accelerator cards exposed to an instance. func (o AcceleratorConfigResponseOutput) AcceleratorCount() pulumi.StringOutput { return o.ApplyT(func(v AcceleratorConfigResponse) string { return v.AcceleratorCount }).(pulumi.StringOutput) @@ -201,6 +232,12 @@ func (o AcceleratorConfigResponseArrayOutput) ToAcceleratorConfigResponseArrayOu return o } +func (o AcceleratorConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfigResponse] { + return pulumix.Output[[]AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfigResponse { return vs[0].([]AcceleratorConfigResponse)[vs[1].(int)] @@ -234,6 +271,12 @@ func (o AdditionalPodRangesConfigResponseOutput) ToAdditionalPodRangesConfigResp return o } +func (o AdditionalPodRangesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdditionalPodRangesConfigResponse] { + return pulumix.Output[AdditionalPodRangesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Name for pod secondary ipv4 range which has the actual range defined ahead. func (o AdditionalPodRangesConfigResponseOutput) PodRangeNames() pulumi.StringArrayOutput { return o.ApplyT(func(v AdditionalPodRangesConfigResponse) []string { return v.PodRangeNames }).(pulumi.StringArrayOutput) @@ -310,6 +353,12 @@ func (i AddonsConfigArgs) ToAddonsConfigOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AddonsConfigOutput) } +func (i AddonsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AddonsConfig] { + return pulumix.Output[AddonsConfig]{ + OutputState: i.ToAddonsConfigOutputWithContext(ctx).OutputState, + } +} + func (i AddonsConfigArgs) ToAddonsConfigPtrOutput() AddonsConfigPtrOutput { return i.ToAddonsConfigPtrOutputWithContext(context.Background()) } @@ -351,6 +400,12 @@ func (i *addonsConfigPtrType) ToAddonsConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AddonsConfigPtrOutput) } +func (i *addonsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AddonsConfig] { + return pulumix.Output[*AddonsConfig]{ + OutputState: i.ToAddonsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality. type AddonsConfigOutput struct{ *pulumi.OutputState } @@ -376,6 +431,12 @@ func (o AddonsConfigOutput) ToAddonsConfigPtrOutputWithContext(ctx context.Conte }).(AddonsConfigPtrOutput) } +func (o AddonsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AddonsConfig] { + return pulumix.Output[AddonsConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for the Cloud Run addon, which allows the user to use a managed Knative service. func (o AddonsConfigOutput) CloudRunConfig() CloudRunConfigPtrOutput { return o.ApplyT(func(v AddonsConfig) *CloudRunConfig { return v.CloudRunConfig }).(CloudRunConfigPtrOutput) @@ -440,6 +501,12 @@ func (o AddonsConfigPtrOutput) ToAddonsConfigPtrOutputWithContext(ctx context.Co return o } +func (o AddonsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddonsConfig] { + return pulumix.Output[*AddonsConfig]{ + OutputState: o.OutputState, + } +} + func (o AddonsConfigPtrOutput) Elem() AddonsConfigOutput { return o.ApplyT(func(v *AddonsConfig) AddonsConfig { if v != nil { @@ -589,6 +656,12 @@ func (o AddonsConfigResponseOutput) ToAddonsConfigResponseOutputWithContext(ctx return o } +func (o AddonsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AddonsConfigResponse] { + return pulumix.Output[AddonsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for the Cloud Run addon, which allows the user to use a managed Knative service. func (o AddonsConfigResponseOutput) CloudRunConfig() CloudRunConfigResponseOutput { return o.ApplyT(func(v AddonsConfigResponse) CloudRunConfigResponse { return v.CloudRunConfig }).(CloudRunConfigResponseOutput) @@ -676,6 +749,12 @@ func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesOutput) } +func (i AdvancedMachineFeaturesArgs) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesOutputWithContext(ctx).OutputState, + } +} + func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesPtrOutput() AdvancedMachineFeaturesPtrOutput { return i.ToAdvancedMachineFeaturesPtrOutputWithContext(context.Background()) } @@ -717,6 +796,12 @@ func (i *advancedMachineFeaturesPtrType) ToAdvancedMachineFeaturesPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesPtrOutput) } +func (i *advancedMachineFeaturesPtrType) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies options for controlling advanced machine features. type AdvancedMachineFeaturesOutput struct{ *pulumi.OutputState } @@ -742,6 +827,12 @@ func (o AdvancedMachineFeaturesOutput) ToAdvancedMachineFeaturesPtrOutputWithCon }).(AdvancedMachineFeaturesPtrOutput) } +func (o AdvancedMachineFeaturesOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + // The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. func (o AdvancedMachineFeaturesOutput) ThreadsPerCore() pulumi.StringPtrOutput { return o.ApplyT(func(v AdvancedMachineFeatures) *string { return v.ThreadsPerCore }).(pulumi.StringPtrOutput) @@ -761,6 +852,12 @@ func (o AdvancedMachineFeaturesPtrOutput) ToAdvancedMachineFeaturesPtrOutputWith return o } +func (o AdvancedMachineFeaturesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + func (o AdvancedMachineFeaturesPtrOutput) Elem() AdvancedMachineFeaturesOutput { return o.ApplyT(func(v *AdvancedMachineFeatures) AdvancedMachineFeatures { if v != nil { @@ -802,6 +899,12 @@ func (o AdvancedMachineFeaturesResponseOutput) ToAdvancedMachineFeaturesResponse return o } +func (o AdvancedMachineFeaturesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeaturesResponse] { + return pulumix.Output[AdvancedMachineFeaturesResponse]{ + OutputState: o.OutputState, + } +} + // The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. func (o AdvancedMachineFeaturesResponseOutput) ThreadsPerCore() pulumi.StringOutput { return o.ApplyT(func(v AdvancedMachineFeaturesResponse) string { return v.ThreadsPerCore }).(pulumi.StringOutput) @@ -846,6 +949,12 @@ func (i AuthenticatorGroupsConfigArgs) ToAuthenticatorGroupsConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorGroupsConfigOutput) } +func (i AuthenticatorGroupsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuthenticatorGroupsConfig] { + return pulumix.Output[AuthenticatorGroupsConfig]{ + OutputState: i.ToAuthenticatorGroupsConfigOutputWithContext(ctx).OutputState, + } +} + func (i AuthenticatorGroupsConfigArgs) ToAuthenticatorGroupsConfigPtrOutput() AuthenticatorGroupsConfigPtrOutput { return i.ToAuthenticatorGroupsConfigPtrOutputWithContext(context.Background()) } @@ -887,6 +996,12 @@ func (i *authenticatorGroupsConfigPtrType) ToAuthenticatorGroupsConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorGroupsConfigPtrOutput) } +func (i *authenticatorGroupsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthenticatorGroupsConfig] { + return pulumix.Output[*AuthenticatorGroupsConfig]{ + OutputState: i.ToAuthenticatorGroupsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for returning group information from authenticators. type AuthenticatorGroupsConfigOutput struct{ *pulumi.OutputState } @@ -912,6 +1027,12 @@ func (o AuthenticatorGroupsConfigOutput) ToAuthenticatorGroupsConfigPtrOutputWit }).(AuthenticatorGroupsConfigPtrOutput) } +func (o AuthenticatorGroupsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticatorGroupsConfig] { + return pulumix.Output[AuthenticatorGroupsConfig]{ + OutputState: o.OutputState, + } +} + // Whether this cluster should return group membership lookups during authentication using a group of security groups. func (o AuthenticatorGroupsConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v AuthenticatorGroupsConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -936,6 +1057,12 @@ func (o AuthenticatorGroupsConfigPtrOutput) ToAuthenticatorGroupsConfigPtrOutput return o } +func (o AuthenticatorGroupsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthenticatorGroupsConfig] { + return pulumix.Output[*AuthenticatorGroupsConfig]{ + OutputState: o.OutputState, + } +} + func (o AuthenticatorGroupsConfigPtrOutput) Elem() AuthenticatorGroupsConfigOutput { return o.ApplyT(func(v *AuthenticatorGroupsConfig) AuthenticatorGroupsConfig { if v != nil { @@ -989,6 +1116,12 @@ func (o AuthenticatorGroupsConfigResponseOutput) ToAuthenticatorGroupsConfigResp return o } +func (o AuthenticatorGroupsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticatorGroupsConfigResponse] { + return pulumix.Output[AuthenticatorGroupsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether this cluster should return group membership lookups during authentication using a group of security groups. func (o AuthenticatorGroupsConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v AuthenticatorGroupsConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -1030,6 +1163,12 @@ func (i AutoUpgradeOptionsArgs) ToAutoUpgradeOptionsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AutoUpgradeOptionsOutput) } +func (i AutoUpgradeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[AutoUpgradeOptions] { + return pulumix.Output[AutoUpgradeOptions]{ + OutputState: i.ToAutoUpgradeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i AutoUpgradeOptionsArgs) ToAutoUpgradeOptionsPtrOutput() AutoUpgradeOptionsPtrOutput { return i.ToAutoUpgradeOptionsPtrOutputWithContext(context.Background()) } @@ -1071,6 +1210,12 @@ func (i *autoUpgradeOptionsPtrType) ToAutoUpgradeOptionsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AutoUpgradeOptionsPtrOutput) } +func (i *autoUpgradeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoUpgradeOptions] { + return pulumix.Output[*AutoUpgradeOptions]{ + OutputState: i.ToAutoUpgradeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed. type AutoUpgradeOptionsOutput struct{ *pulumi.OutputState } @@ -1096,6 +1241,12 @@ func (o AutoUpgradeOptionsOutput) ToAutoUpgradeOptionsPtrOutputWithContext(ctx c }).(AutoUpgradeOptionsPtrOutput) } +func (o AutoUpgradeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[AutoUpgradeOptions] { + return pulumix.Output[AutoUpgradeOptions]{ + OutputState: o.OutputState, + } +} + type AutoUpgradeOptionsPtrOutput struct{ *pulumi.OutputState } func (AutoUpgradeOptionsPtrOutput) ElementType() reflect.Type { @@ -1110,6 +1261,12 @@ func (o AutoUpgradeOptionsPtrOutput) ToAutoUpgradeOptionsPtrOutputWithContext(ct return o } +func (o AutoUpgradeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoUpgradeOptions] { + return pulumix.Output[*AutoUpgradeOptions]{ + OutputState: o.OutputState, + } +} + func (o AutoUpgradeOptionsPtrOutput) Elem() AutoUpgradeOptionsOutput { return o.ApplyT(func(v *AutoUpgradeOptions) AutoUpgradeOptions { if v != nil { @@ -1143,6 +1300,12 @@ func (o AutoUpgradeOptionsResponseOutput) ToAutoUpgradeOptionsResponseOutputWith return o } +func (o AutoUpgradeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoUpgradeOptionsResponse] { + return pulumix.Output[AutoUpgradeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. func (o AutoUpgradeOptionsResponseOutput) AutoUpgradeStartTime() pulumi.StringOutput { return o.ApplyT(func(v AutoUpgradeOptionsResponse) string { return v.AutoUpgradeStartTime }).(pulumi.StringOutput) @@ -1188,6 +1351,12 @@ func (i AutopilotArgs) ToAutopilotOutputWithContext(ctx context.Context) Autopil return pulumi.ToOutputWithContext(ctx, i).(AutopilotOutput) } +func (i AutopilotArgs) ToOutput(ctx context.Context) pulumix.Output[Autopilot] { + return pulumix.Output[Autopilot]{ + OutputState: i.ToAutopilotOutputWithContext(ctx).OutputState, + } +} + func (i AutopilotArgs) ToAutopilotPtrOutput() AutopilotPtrOutput { return i.ToAutopilotPtrOutputWithContext(context.Background()) } @@ -1229,6 +1398,12 @@ func (i *autopilotPtrType) ToAutopilotPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AutopilotPtrOutput) } +func (i *autopilotPtrType) ToOutput(ctx context.Context) pulumix.Output[*Autopilot] { + return pulumix.Output[*Autopilot]{ + OutputState: i.ToAutopilotPtrOutputWithContext(ctx).OutputState, + } +} + // Autopilot is the configuration for Autopilot settings on the cluster. type AutopilotOutput struct{ *pulumi.OutputState } @@ -1254,6 +1429,12 @@ func (o AutopilotOutput) ToAutopilotPtrOutputWithContext(ctx context.Context) Au }).(AutopilotPtrOutput) } +func (o AutopilotOutput) ToOutput(ctx context.Context) pulumix.Output[Autopilot] { + return pulumix.Output[Autopilot]{ + OutputState: o.OutputState, + } +} + // Enable Autopilot func (o AutopilotOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v Autopilot) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -1273,6 +1454,12 @@ func (o AutopilotPtrOutput) ToAutopilotPtrOutputWithContext(ctx context.Context) return o } +func (o AutopilotPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Autopilot] { + return pulumix.Output[*Autopilot]{ + OutputState: o.OutputState, + } +} + func (o AutopilotPtrOutput) Elem() AutopilotOutput { return o.ApplyT(func(v *Autopilot) Autopilot { if v != nil { @@ -1314,6 +1501,12 @@ func (o AutopilotResponseOutput) ToAutopilotResponseOutputWithContext(ctx contex return o } +func (o AutopilotResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutopilotResponse] { + return pulumix.Output[AutopilotResponse]{ + OutputState: o.OutputState, + } +} + // Enable Autopilot func (o AutopilotResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v AutopilotResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -1394,6 +1587,12 @@ func (i AutoprovisioningNodePoolDefaultsArgs) ToAutoprovisioningNodePoolDefaults return pulumi.ToOutputWithContext(ctx, i).(AutoprovisioningNodePoolDefaultsOutput) } +func (i AutoprovisioningNodePoolDefaultsArgs) ToOutput(ctx context.Context) pulumix.Output[AutoprovisioningNodePoolDefaults] { + return pulumix.Output[AutoprovisioningNodePoolDefaults]{ + OutputState: i.ToAutoprovisioningNodePoolDefaultsOutputWithContext(ctx).OutputState, + } +} + func (i AutoprovisioningNodePoolDefaultsArgs) ToAutoprovisioningNodePoolDefaultsPtrOutput() AutoprovisioningNodePoolDefaultsPtrOutput { return i.ToAutoprovisioningNodePoolDefaultsPtrOutputWithContext(context.Background()) } @@ -1435,6 +1634,12 @@ func (i *autoprovisioningNodePoolDefaultsPtrType) ToAutoprovisioningNodePoolDefa return pulumi.ToOutputWithContext(ctx, i).(AutoprovisioningNodePoolDefaultsPtrOutput) } +func (i *autoprovisioningNodePoolDefaultsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoprovisioningNodePoolDefaults] { + return pulumix.Output[*AutoprovisioningNodePoolDefaults]{ + OutputState: i.ToAutoprovisioningNodePoolDefaultsPtrOutputWithContext(ctx).OutputState, + } +} + // AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP. type AutoprovisioningNodePoolDefaultsOutput struct{ *pulumi.OutputState } @@ -1460,6 +1665,12 @@ func (o AutoprovisioningNodePoolDefaultsOutput) ToAutoprovisioningNodePoolDefaul }).(AutoprovisioningNodePoolDefaultsPtrOutput) } +func (o AutoprovisioningNodePoolDefaultsOutput) ToOutput(ctx context.Context) pulumix.Output[AutoprovisioningNodePoolDefaults] { + return pulumix.Output[AutoprovisioningNodePoolDefaults]{ + OutputState: o.OutputState, + } +} + // The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption func (o AutoprovisioningNodePoolDefaultsOutput) BootDiskKmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v AutoprovisioningNodePoolDefaults) *string { return v.BootDiskKmsKey }).(pulumi.StringPtrOutput) @@ -1526,6 +1737,12 @@ func (o AutoprovisioningNodePoolDefaultsPtrOutput) ToAutoprovisioningNodePoolDef return o } +func (o AutoprovisioningNodePoolDefaultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoprovisioningNodePoolDefaults] { + return pulumix.Output[*AutoprovisioningNodePoolDefaults]{ + OutputState: o.OutputState, + } +} + func (o AutoprovisioningNodePoolDefaultsPtrOutput) Elem() AutoprovisioningNodePoolDefaultsOutput { return o.ApplyT(func(v *AutoprovisioningNodePoolDefaults) AutoprovisioningNodePoolDefaults { if v != nil { @@ -1679,6 +1896,12 @@ func (o AutoprovisioningNodePoolDefaultsResponseOutput) ToAutoprovisioningNodePo return o } +func (o AutoprovisioningNodePoolDefaultsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoprovisioningNodePoolDefaultsResponse] { + return pulumix.Output[AutoprovisioningNodePoolDefaultsResponse]{ + OutputState: o.OutputState, + } +} + // The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption func (o AutoprovisioningNodePoolDefaultsResponseOutput) BootDiskKmsKey() pulumi.StringOutput { return o.ApplyT(func(v AutoprovisioningNodePoolDefaultsResponse) string { return v.BootDiskKmsKey }).(pulumi.StringOutput) @@ -1768,6 +1991,12 @@ func (i BigQueryDestinationArgs) ToBigQueryDestinationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BigQueryDestinationOutput) } +func (i BigQueryDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[BigQueryDestination] { + return pulumix.Output[BigQueryDestination]{ + OutputState: i.ToBigQueryDestinationOutputWithContext(ctx).OutputState, + } +} + func (i BigQueryDestinationArgs) ToBigQueryDestinationPtrOutput() BigQueryDestinationPtrOutput { return i.ToBigQueryDestinationPtrOutputWithContext(context.Background()) } @@ -1809,6 +2038,12 @@ func (i *bigQueryDestinationPtrType) ToBigQueryDestinationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BigQueryDestinationPtrOutput) } +func (i *bigQueryDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*BigQueryDestination] { + return pulumix.Output[*BigQueryDestination]{ + OutputState: i.ToBigQueryDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters for using BigQuery as the destination of resource usage export. type BigQueryDestinationOutput struct{ *pulumi.OutputState } @@ -1834,6 +2069,12 @@ func (o BigQueryDestinationOutput) ToBigQueryDestinationPtrOutputWithContext(ctx }).(BigQueryDestinationPtrOutput) } +func (o BigQueryDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDestination] { + return pulumix.Output[BigQueryDestination]{ + OutputState: o.OutputState, + } +} + // The ID of a BigQuery Dataset. func (o BigQueryDestinationOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v BigQueryDestination) *string { return v.DatasetId }).(pulumi.StringPtrOutput) @@ -1853,6 +2094,12 @@ func (o BigQueryDestinationPtrOutput) ToBigQueryDestinationPtrOutputWithContext( return o } +func (o BigQueryDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BigQueryDestination] { + return pulumix.Output[*BigQueryDestination]{ + OutputState: o.OutputState, + } +} + func (o BigQueryDestinationPtrOutput) Elem() BigQueryDestinationOutput { return o.ApplyT(func(v *BigQueryDestination) BigQueryDestination { if v != nil { @@ -1894,6 +2141,12 @@ func (o BigQueryDestinationResponseOutput) ToBigQueryDestinationResponseOutputWi return o } +func (o BigQueryDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDestinationResponse] { + return pulumix.Output[BigQueryDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The ID of a BigQuery Dataset. func (o BigQueryDestinationResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v BigQueryDestinationResponse) string { return v.DatasetId }).(pulumi.StringOutput) @@ -1942,6 +2195,12 @@ func (i BinaryAuthorizationArgs) ToBinaryAuthorizationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BinaryAuthorizationOutput) } +func (i BinaryAuthorizationArgs) ToOutput(ctx context.Context) pulumix.Output[BinaryAuthorization] { + return pulumix.Output[BinaryAuthorization]{ + OutputState: i.ToBinaryAuthorizationOutputWithContext(ctx).OutputState, + } +} + func (i BinaryAuthorizationArgs) ToBinaryAuthorizationPtrOutput() BinaryAuthorizationPtrOutput { return i.ToBinaryAuthorizationPtrOutputWithContext(context.Background()) } @@ -1983,6 +2242,12 @@ func (i *binaryAuthorizationPtrType) ToBinaryAuthorizationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BinaryAuthorizationPtrOutput) } +func (i *binaryAuthorizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*BinaryAuthorization] { + return pulumix.Output[*BinaryAuthorization]{ + OutputState: i.ToBinaryAuthorizationPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for Binary Authorization. type BinaryAuthorizationOutput struct{ *pulumi.OutputState } @@ -2008,6 +2273,12 @@ func (o BinaryAuthorizationOutput) ToBinaryAuthorizationPtrOutputWithContext(ctx }).(BinaryAuthorizationPtrOutput) } +func (o BinaryAuthorizationOutput) ToOutput(ctx context.Context) pulumix.Output[BinaryAuthorization] { + return pulumix.Output[BinaryAuthorization]{ + OutputState: o.OutputState, + } +} + // This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored. // // Deprecated: This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored. @@ -2034,6 +2305,12 @@ func (o BinaryAuthorizationPtrOutput) ToBinaryAuthorizationPtrOutputWithContext( return o } +func (o BinaryAuthorizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BinaryAuthorization] { + return pulumix.Output[*BinaryAuthorization]{ + OutputState: o.OutputState, + } +} + func (o BinaryAuthorizationPtrOutput) Elem() BinaryAuthorizationOutput { return o.ApplyT(func(v *BinaryAuthorization) BinaryAuthorization { if v != nil { @@ -2091,6 +2368,12 @@ func (o BinaryAuthorizationResponseOutput) ToBinaryAuthorizationResponseOutputWi return o } +func (o BinaryAuthorizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BinaryAuthorizationResponse] { + return pulumix.Output[BinaryAuthorizationResponse]{ + OutputState: o.OutputState, + } +} + // This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored. // // Deprecated: This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored. @@ -2132,6 +2415,12 @@ func (o BlueGreenInfoResponseOutput) ToBlueGreenInfoResponseOutputWithContext(ct return o } +func (o BlueGreenInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BlueGreenInfoResponse] { + return pulumix.Output[BlueGreenInfoResponse]{ + OutputState: o.OutputState, + } +} + // The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool. func (o BlueGreenInfoResponseOutput) BlueInstanceGroupUrls() pulumi.StringArrayOutput { return o.ApplyT(func(v BlueGreenInfoResponse) []string { return v.BlueInstanceGroupUrls }).(pulumi.StringArrayOutput) @@ -2196,6 +2485,12 @@ func (i BlueGreenSettingsArgs) ToBlueGreenSettingsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BlueGreenSettingsOutput) } +func (i BlueGreenSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[BlueGreenSettings] { + return pulumix.Output[BlueGreenSettings]{ + OutputState: i.ToBlueGreenSettingsOutputWithContext(ctx).OutputState, + } +} + func (i BlueGreenSettingsArgs) ToBlueGreenSettingsPtrOutput() BlueGreenSettingsPtrOutput { return i.ToBlueGreenSettingsPtrOutputWithContext(context.Background()) } @@ -2237,6 +2532,12 @@ func (i *blueGreenSettingsPtrType) ToBlueGreenSettingsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BlueGreenSettingsPtrOutput) } +func (i *blueGreenSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BlueGreenSettings] { + return pulumix.Output[*BlueGreenSettings]{ + OutputState: i.ToBlueGreenSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for blue-green upgrade. type BlueGreenSettingsOutput struct{ *pulumi.OutputState } @@ -2262,6 +2563,12 @@ func (o BlueGreenSettingsOutput) ToBlueGreenSettingsPtrOutputWithContext(ctx con }).(BlueGreenSettingsPtrOutput) } +func (o BlueGreenSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[BlueGreenSettings] { + return pulumix.Output[BlueGreenSettings]{ + OutputState: o.OutputState, + } +} + // Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. func (o BlueGreenSettingsOutput) NodePoolSoakDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v BlueGreenSettings) *string { return v.NodePoolSoakDuration }).(pulumi.StringPtrOutput) @@ -2286,6 +2593,12 @@ func (o BlueGreenSettingsPtrOutput) ToBlueGreenSettingsPtrOutputWithContext(ctx return o } +func (o BlueGreenSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BlueGreenSettings] { + return pulumix.Output[*BlueGreenSettings]{ + OutputState: o.OutputState, + } +} + func (o BlueGreenSettingsPtrOutput) Elem() BlueGreenSettingsOutput { return o.ApplyT(func(v *BlueGreenSettings) BlueGreenSettings { if v != nil { @@ -2339,6 +2652,12 @@ func (o BlueGreenSettingsResponseOutput) ToBlueGreenSettingsResponseOutputWithCo return o } +func (o BlueGreenSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BlueGreenSettingsResponse] { + return pulumix.Output[BlueGreenSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. func (o BlueGreenSettingsResponseOutput) NodePoolSoakDuration() pulumi.StringOutput { return o.ApplyT(func(v BlueGreenSettingsResponse) string { return v.NodePoolSoakDuration }).(pulumi.StringOutput) @@ -2388,6 +2707,12 @@ func (i CidrBlockArgs) ToCidrBlockOutputWithContext(ctx context.Context) CidrBlo return pulumi.ToOutputWithContext(ctx, i).(CidrBlockOutput) } +func (i CidrBlockArgs) ToOutput(ctx context.Context) pulumix.Output[CidrBlock] { + return pulumix.Output[CidrBlock]{ + OutputState: i.ToCidrBlockOutputWithContext(ctx).OutputState, + } +} + // CidrBlockArrayInput is an input type that accepts CidrBlockArray and CidrBlockArrayOutput values. // You can construct a concrete instance of `CidrBlockArrayInput` via: // @@ -2413,6 +2738,12 @@ func (i CidrBlockArray) ToCidrBlockArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CidrBlockArrayOutput) } +func (i CidrBlockArray) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlock] { + return pulumix.Output[[]CidrBlock]{ + OutputState: i.ToCidrBlockArrayOutputWithContext(ctx).OutputState, + } +} + // CidrBlock contains an optional name and one CIDR block. type CidrBlockOutput struct{ *pulumi.OutputState } @@ -2428,6 +2759,12 @@ func (o CidrBlockOutput) ToCidrBlockOutputWithContext(ctx context.Context) CidrB return o } +func (o CidrBlockOutput) ToOutput(ctx context.Context) pulumix.Output[CidrBlock] { + return pulumix.Output[CidrBlock]{ + OutputState: o.OutputState, + } +} + // cidr_block must be specified in CIDR notation. func (o CidrBlockOutput) CidrBlock() pulumi.StringPtrOutput { return o.ApplyT(func(v CidrBlock) *string { return v.CidrBlock }).(pulumi.StringPtrOutput) @@ -2452,6 +2789,12 @@ func (o CidrBlockArrayOutput) ToCidrBlockArrayOutputWithContext(ctx context.Cont return o } +func (o CidrBlockArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlock] { + return pulumix.Output[[]CidrBlock]{ + OutputState: o.OutputState, + } +} + func (o CidrBlockArrayOutput) Index(i pulumi.IntInput) CidrBlockOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CidrBlock { return vs[0].([]CidrBlock)[vs[1].(int)] @@ -2481,6 +2824,12 @@ func (o CidrBlockResponseOutput) ToCidrBlockResponseOutputWithContext(ctx contex return o } +func (o CidrBlockResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CidrBlockResponse] { + return pulumix.Output[CidrBlockResponse]{ + OutputState: o.OutputState, + } +} + // cidr_block must be specified in CIDR notation. func (o CidrBlockResponseOutput) CidrBlock() pulumi.StringOutput { return o.ApplyT(func(v CidrBlockResponse) string { return v.CidrBlock }).(pulumi.StringOutput) @@ -2505,6 +2854,12 @@ func (o CidrBlockResponseArrayOutput) ToCidrBlockResponseArrayOutputWithContext( return o } +func (o CidrBlockResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlockResponse] { + return pulumix.Output[[]CidrBlockResponse]{ + OutputState: o.OutputState, + } +} + func (o CidrBlockResponseArrayOutput) Index(i pulumi.IntInput) CidrBlockResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CidrBlockResponse { return vs[0].([]CidrBlockResponse)[vs[1].(int)] @@ -2546,6 +2901,12 @@ func (i ClientCertificateConfigArgs) ToClientCertificateConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ClientCertificateConfigOutput) } +func (i ClientCertificateConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ClientCertificateConfig] { + return pulumix.Output[ClientCertificateConfig]{ + OutputState: i.ToClientCertificateConfigOutputWithContext(ctx).OutputState, + } +} + func (i ClientCertificateConfigArgs) ToClientCertificateConfigPtrOutput() ClientCertificateConfigPtrOutput { return i.ToClientCertificateConfigPtrOutputWithContext(context.Background()) } @@ -2587,6 +2948,12 @@ func (i *clientCertificateConfigPtrType) ToClientCertificateConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ClientCertificateConfigPtrOutput) } +func (i *clientCertificateConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClientCertificateConfig] { + return pulumix.Output[*ClientCertificateConfig]{ + OutputState: i.ToClientCertificateConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for client certificates on the cluster. type ClientCertificateConfigOutput struct{ *pulumi.OutputState } @@ -2612,6 +2979,12 @@ func (o ClientCertificateConfigOutput) ToClientCertificateConfigPtrOutputWithCon }).(ClientCertificateConfigPtrOutput) } +func (o ClientCertificateConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ClientCertificateConfig] { + return pulumix.Output[ClientCertificateConfig]{ + OutputState: o.OutputState, + } +} + // Issue a client certificate. func (o ClientCertificateConfigOutput) IssueClientCertificate() pulumi.BoolPtrOutput { return o.ApplyT(func(v ClientCertificateConfig) *bool { return v.IssueClientCertificate }).(pulumi.BoolPtrOutput) @@ -2631,6 +3004,12 @@ func (o ClientCertificateConfigPtrOutput) ToClientCertificateConfigPtrOutputWith return o } +func (o ClientCertificateConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientCertificateConfig] { + return pulumix.Output[*ClientCertificateConfig]{ + OutputState: o.OutputState, + } +} + func (o ClientCertificateConfigPtrOutput) Elem() ClientCertificateConfigOutput { return o.ApplyT(func(v *ClientCertificateConfig) ClientCertificateConfig { if v != nil { @@ -2672,6 +3051,12 @@ func (o ClientCertificateConfigResponseOutput) ToClientCertificateConfigResponse return o } +func (o ClientCertificateConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClientCertificateConfigResponse] { + return pulumix.Output[ClientCertificateConfigResponse]{ + OutputState: o.OutputState, + } +} + // Issue a client certificate. func (o ClientCertificateConfigResponseOutput) IssueClientCertificate() pulumi.BoolOutput { return o.ApplyT(func(v ClientCertificateConfigResponse) bool { return v.IssueClientCertificate }).(pulumi.BoolOutput) @@ -2716,6 +3101,12 @@ func (i CloudRunConfigArgs) ToCloudRunConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CloudRunConfigOutput) } +func (i CloudRunConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfig] { + return pulumix.Output[CloudRunConfig]{ + OutputState: i.ToCloudRunConfigOutputWithContext(ctx).OutputState, + } +} + func (i CloudRunConfigArgs) ToCloudRunConfigPtrOutput() CloudRunConfigPtrOutput { return i.ToCloudRunConfigPtrOutputWithContext(context.Background()) } @@ -2757,6 +3148,12 @@ func (i *cloudRunConfigPtrType) ToCloudRunConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CloudRunConfigPtrOutput) } +func (i *cloudRunConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRunConfig] { + return pulumix.Output[*CloudRunConfig]{ + OutputState: i.ToCloudRunConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the Cloud Run feature. type CloudRunConfigOutput struct{ *pulumi.OutputState } @@ -2782,6 +3179,12 @@ func (o CloudRunConfigOutput) ToCloudRunConfigPtrOutputWithContext(ctx context.C }).(CloudRunConfigPtrOutput) } +func (o CloudRunConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfig] { + return pulumix.Output[CloudRunConfig]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Run addon is enabled for this cluster. func (o CloudRunConfigOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v CloudRunConfig) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -2806,6 +3209,12 @@ func (o CloudRunConfigPtrOutput) ToCloudRunConfigPtrOutputWithContext(ctx contex return o } +func (o CloudRunConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRunConfig] { + return pulumix.Output[*CloudRunConfig]{ + OutputState: o.OutputState, + } +} + func (o CloudRunConfigPtrOutput) Elem() CloudRunConfigOutput { return o.ApplyT(func(v *CloudRunConfig) CloudRunConfig { if v != nil { @@ -2859,6 +3268,12 @@ func (o CloudRunConfigResponseOutput) ToCloudRunConfigResponseOutputWithContext( return o } +func (o CloudRunConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfigResponse] { + return pulumix.Output[CloudRunConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Run addon is enabled for this cluster. func (o CloudRunConfigResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v CloudRunConfigResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -2920,6 +3335,12 @@ func (i ClusterAutoscalingArgs) ToClusterAutoscalingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscalingOutput) } +func (i ClusterAutoscalingArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscaling] { + return pulumix.Output[ClusterAutoscaling]{ + OutputState: i.ToClusterAutoscalingOutputWithContext(ctx).OutputState, + } +} + func (i ClusterAutoscalingArgs) ToClusterAutoscalingPtrOutput() ClusterAutoscalingPtrOutput { return i.ToClusterAutoscalingPtrOutputWithContext(context.Background()) } @@ -2961,6 +3382,12 @@ func (i *clusterAutoscalingPtrType) ToClusterAutoscalingPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscalingPtrOutput) } +func (i *clusterAutoscalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterAutoscaling] { + return pulumix.Output[*ClusterAutoscaling]{ + OutputState: i.ToClusterAutoscalingPtrOutputWithContext(ctx).OutputState, + } +} + // ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs. type ClusterAutoscalingOutput struct{ *pulumi.OutputState } @@ -2986,6 +3413,12 @@ func (o ClusterAutoscalingOutput) ToClusterAutoscalingPtrOutputWithContext(ctx c }).(ClusterAutoscalingPtrOutput) } +func (o ClusterAutoscalingOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscaling] { + return pulumix.Output[ClusterAutoscaling]{ + OutputState: o.OutputState, + } +} + // The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP. func (o ClusterAutoscalingOutput) AutoprovisioningLocations() pulumi.StringArrayOutput { return o.ApplyT(func(v ClusterAutoscaling) []string { return v.AutoprovisioningLocations }).(pulumi.StringArrayOutput) @@ -3027,6 +3460,12 @@ func (o ClusterAutoscalingPtrOutput) ToClusterAutoscalingPtrOutputWithContext(ct return o } +func (o ClusterAutoscalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterAutoscaling] { + return pulumix.Output[*ClusterAutoscaling]{ + OutputState: o.OutputState, + } +} + func (o ClusterAutoscalingPtrOutput) Elem() ClusterAutoscalingOutput { return o.ApplyT(func(v *ClusterAutoscaling) ClusterAutoscaling { if v != nil { @@ -3116,6 +3555,12 @@ func (o ClusterAutoscalingResponseOutput) ToClusterAutoscalingResponseOutputWith return o } +func (o ClusterAutoscalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscalingResponse] { + return pulumix.Output[ClusterAutoscalingResponse]{ + OutputState: o.OutputState, + } +} + // The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP. func (o ClusterAutoscalingResponseOutput) AutoprovisioningLocations() pulumi.StringArrayOutput { return o.ApplyT(func(v ClusterAutoscalingResponse) []string { return v.AutoprovisioningLocations }).(pulumi.StringArrayOutput) @@ -3268,6 +3713,12 @@ func (i ConfidentialNodesArgs) ToConfidentialNodesOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ConfidentialNodesOutput) } +func (i ConfidentialNodesArgs) ToOutput(ctx context.Context) pulumix.Output[ConfidentialNodes] { + return pulumix.Output[ConfidentialNodes]{ + OutputState: i.ToConfidentialNodesOutputWithContext(ctx).OutputState, + } +} + func (i ConfidentialNodesArgs) ToConfidentialNodesPtrOutput() ConfidentialNodesPtrOutput { return i.ToConfidentialNodesPtrOutputWithContext(context.Background()) } @@ -3309,6 +3760,12 @@ func (i *confidentialNodesPtrType) ToConfidentialNodesPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ConfidentialNodesPtrOutput) } +func (i *confidentialNodesPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialNodes] { + return pulumix.Output[*ConfidentialNodes]{ + OutputState: i.ToConfidentialNodesPtrOutputWithContext(ctx).OutputState, + } +} + // ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. type ConfidentialNodesOutput struct{ *pulumi.OutputState } @@ -3334,6 +3791,12 @@ func (o ConfidentialNodesOutput) ToConfidentialNodesPtrOutputWithContext(ctx con }).(ConfidentialNodesPtrOutput) } +func (o ConfidentialNodesOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialNodes] { + return pulumix.Output[ConfidentialNodes]{ + OutputState: o.OutputState, + } +} + // Whether Confidential Nodes feature is enabled. func (o ConfidentialNodesOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConfidentialNodes) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -3353,6 +3816,12 @@ func (o ConfidentialNodesPtrOutput) ToConfidentialNodesPtrOutputWithContext(ctx return o } +func (o ConfidentialNodesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialNodes] { + return pulumix.Output[*ConfidentialNodes]{ + OutputState: o.OutputState, + } +} + func (o ConfidentialNodesPtrOutput) Elem() ConfidentialNodesOutput { return o.ApplyT(func(v *ConfidentialNodes) ConfidentialNodes { if v != nil { @@ -3394,6 +3863,12 @@ func (o ConfidentialNodesResponseOutput) ToConfidentialNodesResponseOutputWithCo return o } +func (o ConfidentialNodesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialNodesResponse] { + return pulumix.Output[ConfidentialNodesResponse]{ + OutputState: o.OutputState, + } +} + // Whether Confidential Nodes feature is enabled. func (o ConfidentialNodesResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ConfidentialNodesResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -3434,6 +3909,12 @@ func (i ConfigConnectorConfigArgs) ToConfigConnectorConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ConfigConnectorConfigOutput) } +func (i ConfigConnectorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigConnectorConfig] { + return pulumix.Output[ConfigConnectorConfig]{ + OutputState: i.ToConfigConnectorConfigOutputWithContext(ctx).OutputState, + } +} + func (i ConfigConnectorConfigArgs) ToConfigConnectorConfigPtrOutput() ConfigConnectorConfigPtrOutput { return i.ToConfigConnectorConfigPtrOutputWithContext(context.Background()) } @@ -3475,6 +3956,12 @@ func (i *configConnectorConfigPtrType) ToConfigConnectorConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ConfigConnectorConfigPtrOutput) } +func (i *configConnectorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfigConnectorConfig] { + return pulumix.Output[*ConfigConnectorConfig]{ + OutputState: i.ToConfigConnectorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the Config Connector add-on. type ConfigConnectorConfigOutput struct{ *pulumi.OutputState } @@ -3500,6 +3987,12 @@ func (o ConfigConnectorConfigOutput) ToConfigConnectorConfigPtrOutputWithContext }).(ConfigConnectorConfigPtrOutput) } +func (o ConfigConnectorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigConnectorConfig] { + return pulumix.Output[ConfigConnectorConfig]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Connector is enabled for this cluster. func (o ConfigConnectorConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConfigConnectorConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -3519,6 +4012,12 @@ func (o ConfigConnectorConfigPtrOutput) ToConfigConnectorConfigPtrOutputWithCont return o } +func (o ConfigConnectorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigConnectorConfig] { + return pulumix.Output[*ConfigConnectorConfig]{ + OutputState: o.OutputState, + } +} + func (o ConfigConnectorConfigPtrOutput) Elem() ConfigConnectorConfigOutput { return o.ApplyT(func(v *ConfigConnectorConfig) ConfigConnectorConfig { if v != nil { @@ -3560,6 +4059,12 @@ func (o ConfigConnectorConfigResponseOutput) ToConfigConnectorConfigResponseOutp return o } +func (o ConfigConnectorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigConnectorConfigResponse] { + return pulumix.Output[ConfigConnectorConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Connector is enabled for this cluster. func (o ConfigConnectorConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ConfigConnectorConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -3600,6 +4105,12 @@ func (i ConsumptionMeteringConfigArgs) ToConsumptionMeteringConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ConsumptionMeteringConfigOutput) } +func (i ConsumptionMeteringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConsumptionMeteringConfig] { + return pulumix.Output[ConsumptionMeteringConfig]{ + OutputState: i.ToConsumptionMeteringConfigOutputWithContext(ctx).OutputState, + } +} + func (i ConsumptionMeteringConfigArgs) ToConsumptionMeteringConfigPtrOutput() ConsumptionMeteringConfigPtrOutput { return i.ToConsumptionMeteringConfigPtrOutputWithContext(context.Background()) } @@ -3641,6 +4152,12 @@ func (i *consumptionMeteringConfigPtrType) ToConsumptionMeteringConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ConsumptionMeteringConfigPtrOutput) } +func (i *consumptionMeteringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConsumptionMeteringConfig] { + return pulumix.Output[*ConsumptionMeteringConfig]{ + OutputState: i.ToConsumptionMeteringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters for controlling consumption metering. type ConsumptionMeteringConfigOutput struct{ *pulumi.OutputState } @@ -3666,6 +4183,12 @@ func (o ConsumptionMeteringConfigOutput) ToConsumptionMeteringConfigPtrOutputWit }).(ConsumptionMeteringConfigPtrOutput) } +func (o ConsumptionMeteringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConsumptionMeteringConfig] { + return pulumix.Output[ConsumptionMeteringConfig]{ + OutputState: o.OutputState, + } +} + // Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records. func (o ConsumptionMeteringConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConsumptionMeteringConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -3685,6 +4208,12 @@ func (o ConsumptionMeteringConfigPtrOutput) ToConsumptionMeteringConfigPtrOutput return o } +func (o ConsumptionMeteringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsumptionMeteringConfig] { + return pulumix.Output[*ConsumptionMeteringConfig]{ + OutputState: o.OutputState, + } +} + func (o ConsumptionMeteringConfigPtrOutput) Elem() ConsumptionMeteringConfigOutput { return o.ApplyT(func(v *ConsumptionMeteringConfig) ConsumptionMeteringConfig { if v != nil { @@ -3726,6 +4255,12 @@ func (o ConsumptionMeteringConfigResponseOutput) ToConsumptionMeteringConfigResp return o } +func (o ConsumptionMeteringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsumptionMeteringConfigResponse] { + return pulumix.Output[ConsumptionMeteringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records. func (o ConsumptionMeteringConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ConsumptionMeteringConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -3766,6 +4301,12 @@ func (i CostManagementConfigArgs) ToCostManagementConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(CostManagementConfigOutput) } +func (i CostManagementConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CostManagementConfig] { + return pulumix.Output[CostManagementConfig]{ + OutputState: i.ToCostManagementConfigOutputWithContext(ctx).OutputState, + } +} + func (i CostManagementConfigArgs) ToCostManagementConfigPtrOutput() CostManagementConfigPtrOutput { return i.ToCostManagementConfigPtrOutputWithContext(context.Background()) } @@ -3807,6 +4348,12 @@ func (i *costManagementConfigPtrType) ToCostManagementConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(CostManagementConfigPtrOutput) } +func (i *costManagementConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CostManagementConfig] { + return pulumix.Output[*CostManagementConfig]{ + OutputState: i.ToCostManagementConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for fine-grained cost management feature. type CostManagementConfigOutput struct{ *pulumi.OutputState } @@ -3832,6 +4379,12 @@ func (o CostManagementConfigOutput) ToCostManagementConfigPtrOutputWithContext(c }).(CostManagementConfigPtrOutput) } +func (o CostManagementConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CostManagementConfig] { + return pulumix.Output[CostManagementConfig]{ + OutputState: o.OutputState, + } +} + // Whether the feature is enabled or not. func (o CostManagementConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v CostManagementConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -3851,6 +4404,12 @@ func (o CostManagementConfigPtrOutput) ToCostManagementConfigPtrOutputWithContex return o } +func (o CostManagementConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CostManagementConfig] { + return pulumix.Output[*CostManagementConfig]{ + OutputState: o.OutputState, + } +} + func (o CostManagementConfigPtrOutput) Elem() CostManagementConfigOutput { return o.ApplyT(func(v *CostManagementConfig) CostManagementConfig { if v != nil { @@ -3892,6 +4451,12 @@ func (o CostManagementConfigResponseOutput) ToCostManagementConfigResponseOutput return o } +func (o CostManagementConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CostManagementConfigResponse] { + return pulumix.Output[CostManagementConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the feature is enabled or not. func (o CostManagementConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v CostManagementConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -3940,6 +4505,12 @@ func (i DNSConfigArgs) ToDNSConfigOutputWithContext(ctx context.Context) DNSConf return pulumi.ToOutputWithContext(ctx, i).(DNSConfigOutput) } +func (i DNSConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DNSConfig] { + return pulumix.Output[DNSConfig]{ + OutputState: i.ToDNSConfigOutputWithContext(ctx).OutputState, + } +} + func (i DNSConfigArgs) ToDNSConfigPtrOutput() DNSConfigPtrOutput { return i.ToDNSConfigPtrOutputWithContext(context.Background()) } @@ -3981,6 +4552,12 @@ func (i *dnsconfigPtrType) ToDNSConfigPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DNSConfigPtrOutput) } +func (i *dnsconfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DNSConfig] { + return pulumix.Output[*DNSConfig]{ + OutputState: i.ToDNSConfigPtrOutputWithContext(ctx).OutputState, + } +} + // DNSConfig contains the desired set of options for configuring clusterDNS. type DNSConfigOutput struct{ *pulumi.OutputState } @@ -4006,6 +4583,12 @@ func (o DNSConfigOutput) ToDNSConfigPtrOutputWithContext(ctx context.Context) DN }).(DNSConfigPtrOutput) } +func (o DNSConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DNSConfig] { + return pulumix.Output[DNSConfig]{ + OutputState: o.OutputState, + } +} + // cluster_dns indicates which in-cluster DNS provider should be used. func (o DNSConfigOutput) ClusterDns() DNSConfigClusterDnsPtrOutput { return o.ApplyT(func(v DNSConfig) *DNSConfigClusterDns { return v.ClusterDns }).(DNSConfigClusterDnsPtrOutput) @@ -4035,6 +4618,12 @@ func (o DNSConfigPtrOutput) ToDNSConfigPtrOutputWithContext(ctx context.Context) return o } +func (o DNSConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DNSConfig] { + return pulumix.Output[*DNSConfig]{ + OutputState: o.OutputState, + } +} + func (o DNSConfigPtrOutput) Elem() DNSConfigOutput { return o.ApplyT(func(v *DNSConfig) DNSConfig { if v != nil { @@ -4100,6 +4689,12 @@ func (o DNSConfigResponseOutput) ToDNSConfigResponseOutputWithContext(ctx contex return o } +func (o DNSConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DNSConfigResponse] { + return pulumix.Output[DNSConfigResponse]{ + OutputState: o.OutputState, + } +} + // cluster_dns indicates which in-cluster DNS provider should be used. func (o DNSConfigResponseOutput) ClusterDns() pulumi.StringOutput { return o.ApplyT(func(v DNSConfigResponse) string { return v.ClusterDns }).(pulumi.StringOutput) @@ -4150,6 +4745,12 @@ func (i DailyMaintenanceWindowArgs) ToDailyMaintenanceWindowOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(DailyMaintenanceWindowOutput) } +func (i DailyMaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[DailyMaintenanceWindow] { + return pulumix.Output[DailyMaintenanceWindow]{ + OutputState: i.ToDailyMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i DailyMaintenanceWindowArgs) ToDailyMaintenanceWindowPtrOutput() DailyMaintenanceWindowPtrOutput { return i.ToDailyMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -4191,6 +4792,12 @@ func (i *dailyMaintenanceWindowPtrType) ToDailyMaintenanceWindowPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(DailyMaintenanceWindowPtrOutput) } +func (i *dailyMaintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*DailyMaintenanceWindow] { + return pulumix.Output[*DailyMaintenanceWindow]{ + OutputState: i.ToDailyMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for daily maintenance operations. type DailyMaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -4216,6 +4823,12 @@ func (o DailyMaintenanceWindowOutput) ToDailyMaintenanceWindowPtrOutputWithConte }).(DailyMaintenanceWindowPtrOutput) } +func (o DailyMaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[DailyMaintenanceWindow] { + return pulumix.Output[DailyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // Time within the maintenance window to start the maintenance operations. Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "HH:MM", where HH : [00-23] and MM : [00-59] GMT. func (o DailyMaintenanceWindowOutput) StartTime() pulumi.StringPtrOutput { return o.ApplyT(func(v DailyMaintenanceWindow) *string { return v.StartTime }).(pulumi.StringPtrOutput) @@ -4235,6 +4848,12 @@ func (o DailyMaintenanceWindowPtrOutput) ToDailyMaintenanceWindowPtrOutputWithCo return o } +func (o DailyMaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DailyMaintenanceWindow] { + return pulumix.Output[*DailyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o DailyMaintenanceWindowPtrOutput) Elem() DailyMaintenanceWindowOutput { return o.ApplyT(func(v *DailyMaintenanceWindow) DailyMaintenanceWindow { if v != nil { @@ -4278,6 +4897,12 @@ func (o DailyMaintenanceWindowResponseOutput) ToDailyMaintenanceWindowResponseOu return o } +func (o DailyMaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DailyMaintenanceWindowResponse] { + return pulumix.Output[DailyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "PTnHnMnS". func (o DailyMaintenanceWindowResponseOutput) Duration() pulumi.StringOutput { return o.ApplyT(func(v DailyMaintenanceWindowResponse) string { return v.Duration }).(pulumi.StringOutput) @@ -4327,6 +4952,12 @@ func (i DatabaseEncryptionArgs) ToDatabaseEncryptionOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DatabaseEncryptionOutput) } +func (i DatabaseEncryptionArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseEncryption] { + return pulumix.Output[DatabaseEncryption]{ + OutputState: i.ToDatabaseEncryptionOutputWithContext(ctx).OutputState, + } +} + func (i DatabaseEncryptionArgs) ToDatabaseEncryptionPtrOutput() DatabaseEncryptionPtrOutput { return i.ToDatabaseEncryptionPtrOutputWithContext(context.Background()) } @@ -4368,6 +4999,12 @@ func (i *databaseEncryptionPtrType) ToDatabaseEncryptionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DatabaseEncryptionPtrOutput) } +func (i *databaseEncryptionPtrType) ToOutput(ctx context.Context) pulumix.Output[*DatabaseEncryption] { + return pulumix.Output[*DatabaseEncryption]{ + OutputState: i.ToDatabaseEncryptionPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of etcd encryption. type DatabaseEncryptionOutput struct{ *pulumi.OutputState } @@ -4393,6 +5030,12 @@ func (o DatabaseEncryptionOutput) ToDatabaseEncryptionPtrOutputWithContext(ctx c }).(DatabaseEncryptionPtrOutput) } +func (o DatabaseEncryptionOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseEncryption] { + return pulumix.Output[DatabaseEncryption]{ + OutputState: o.OutputState, + } +} + // Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key func (o DatabaseEncryptionOutput) KeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseEncryption) *string { return v.KeyName }).(pulumi.StringPtrOutput) @@ -4417,6 +5060,12 @@ func (o DatabaseEncryptionPtrOutput) ToDatabaseEncryptionPtrOutputWithContext(ct return o } +func (o DatabaseEncryptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseEncryption] { + return pulumix.Output[*DatabaseEncryption]{ + OutputState: o.OutputState, + } +} + func (o DatabaseEncryptionPtrOutput) Elem() DatabaseEncryptionOutput { return o.ApplyT(func(v *DatabaseEncryption) DatabaseEncryption { if v != nil { @@ -4470,6 +5119,12 @@ func (o DatabaseEncryptionResponseOutput) ToDatabaseEncryptionResponseOutputWith return o } +func (o DatabaseEncryptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseEncryptionResponse] { + return pulumix.Output[DatabaseEncryptionResponse]{ + OutputState: o.OutputState, + } +} + // Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key func (o DatabaseEncryptionResponseOutput) KeyName() pulumi.StringOutput { return o.ApplyT(func(v DatabaseEncryptionResponse) string { return v.KeyName }).(pulumi.StringOutput) @@ -4515,6 +5170,12 @@ func (i DefaultSnatStatusArgs) ToDefaultSnatStatusOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DefaultSnatStatusOutput) } +func (i DefaultSnatStatusArgs) ToOutput(ctx context.Context) pulumix.Output[DefaultSnatStatus] { + return pulumix.Output[DefaultSnatStatus]{ + OutputState: i.ToDefaultSnatStatusOutputWithContext(ctx).OutputState, + } +} + func (i DefaultSnatStatusArgs) ToDefaultSnatStatusPtrOutput() DefaultSnatStatusPtrOutput { return i.ToDefaultSnatStatusPtrOutputWithContext(context.Background()) } @@ -4556,6 +5217,12 @@ func (i *defaultSnatStatusPtrType) ToDefaultSnatStatusPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DefaultSnatStatusPtrOutput) } +func (i *defaultSnatStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*DefaultSnatStatus] { + return pulumix.Output[*DefaultSnatStatus]{ + OutputState: i.ToDefaultSnatStatusPtrOutputWithContext(ctx).OutputState, + } +} + // DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster. type DefaultSnatStatusOutput struct{ *pulumi.OutputState } @@ -4581,6 +5248,12 @@ func (o DefaultSnatStatusOutput) ToDefaultSnatStatusPtrOutputWithContext(ctx con }).(DefaultSnatStatusPtrOutput) } +func (o DefaultSnatStatusOutput) ToOutput(ctx context.Context) pulumix.Output[DefaultSnatStatus] { + return pulumix.Output[DefaultSnatStatus]{ + OutputState: o.OutputState, + } +} + // Disables cluster default sNAT rules. func (o DefaultSnatStatusOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v DefaultSnatStatus) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -4600,6 +5273,12 @@ func (o DefaultSnatStatusPtrOutput) ToDefaultSnatStatusPtrOutputWithContext(ctx return o } +func (o DefaultSnatStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultSnatStatus] { + return pulumix.Output[*DefaultSnatStatus]{ + OutputState: o.OutputState, + } +} + func (o DefaultSnatStatusPtrOutput) Elem() DefaultSnatStatusOutput { return o.ApplyT(func(v *DefaultSnatStatus) DefaultSnatStatus { if v != nil { @@ -4641,6 +5320,12 @@ func (o DefaultSnatStatusResponseOutput) ToDefaultSnatStatusResponseOutputWithCo return o } +func (o DefaultSnatStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DefaultSnatStatusResponse] { + return pulumix.Output[DefaultSnatStatusResponse]{ + OutputState: o.OutputState, + } +} + // Disables cluster default sNAT rules. func (o DefaultSnatStatusResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v DefaultSnatStatusResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -4681,6 +5366,12 @@ func (i DnsCacheConfigArgs) ToDnsCacheConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DnsCacheConfigOutput) } +func (i DnsCacheConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DnsCacheConfig] { + return pulumix.Output[DnsCacheConfig]{ + OutputState: i.ToDnsCacheConfigOutputWithContext(ctx).OutputState, + } +} + func (i DnsCacheConfigArgs) ToDnsCacheConfigPtrOutput() DnsCacheConfigPtrOutput { return i.ToDnsCacheConfigPtrOutputWithContext(context.Background()) } @@ -4722,6 +5413,12 @@ func (i *dnsCacheConfigPtrType) ToDnsCacheConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DnsCacheConfigPtrOutput) } +func (i *dnsCacheConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DnsCacheConfig] { + return pulumix.Output[*DnsCacheConfig]{ + OutputState: i.ToDnsCacheConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for NodeLocal DNSCache type DnsCacheConfigOutput struct{ *pulumi.OutputState } @@ -4747,6 +5444,12 @@ func (o DnsCacheConfigOutput) ToDnsCacheConfigPtrOutputWithContext(ctx context.C }).(DnsCacheConfigPtrOutput) } +func (o DnsCacheConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DnsCacheConfig] { + return pulumix.Output[DnsCacheConfig]{ + OutputState: o.OutputState, + } +} + // Whether NodeLocal DNSCache is enabled for this cluster. func (o DnsCacheConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v DnsCacheConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -4766,6 +5469,12 @@ func (o DnsCacheConfigPtrOutput) ToDnsCacheConfigPtrOutputWithContext(ctx contex return o } +func (o DnsCacheConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DnsCacheConfig] { + return pulumix.Output[*DnsCacheConfig]{ + OutputState: o.OutputState, + } +} + func (o DnsCacheConfigPtrOutput) Elem() DnsCacheConfigOutput { return o.ApplyT(func(v *DnsCacheConfig) DnsCacheConfig { if v != nil { @@ -4807,6 +5516,12 @@ func (o DnsCacheConfigResponseOutput) ToDnsCacheConfigResponseOutputWithContext( return o } +func (o DnsCacheConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DnsCacheConfigResponse] { + return pulumix.Output[DnsCacheConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether NodeLocal DNSCache is enabled for this cluster. func (o DnsCacheConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v DnsCacheConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -4847,6 +5562,12 @@ func (i EphemeralStorageLocalSsdConfigArgs) ToEphemeralStorageLocalSsdConfigOutp return pulumi.ToOutputWithContext(ctx, i).(EphemeralStorageLocalSsdConfigOutput) } +func (i EphemeralStorageLocalSsdConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EphemeralStorageLocalSsdConfig] { + return pulumix.Output[EphemeralStorageLocalSsdConfig]{ + OutputState: i.ToEphemeralStorageLocalSsdConfigOutputWithContext(ctx).OutputState, + } +} + func (i EphemeralStorageLocalSsdConfigArgs) ToEphemeralStorageLocalSsdConfigPtrOutput() EphemeralStorageLocalSsdConfigPtrOutput { return i.ToEphemeralStorageLocalSsdConfigPtrOutputWithContext(context.Background()) } @@ -4888,6 +5609,12 @@ func (i *ephemeralStorageLocalSsdConfigPtrType) ToEphemeralStorageLocalSsdConfig return pulumi.ToOutputWithContext(ctx, i).(EphemeralStorageLocalSsdConfigPtrOutput) } +func (i *ephemeralStorageLocalSsdConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EphemeralStorageLocalSsdConfig] { + return pulumix.Output[*EphemeralStorageLocalSsdConfig]{ + OutputState: i.ToEphemeralStorageLocalSsdConfigPtrOutputWithContext(ctx).OutputState, + } +} + // EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSD. type EphemeralStorageLocalSsdConfigOutput struct{ *pulumi.OutputState } @@ -4913,6 +5640,12 @@ func (o EphemeralStorageLocalSsdConfigOutput) ToEphemeralStorageLocalSsdConfigPt }).(EphemeralStorageLocalSsdConfigPtrOutput) } +func (o EphemeralStorageLocalSsdConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EphemeralStorageLocalSsdConfig] { + return pulumix.Output[EphemeralStorageLocalSsdConfig]{ + OutputState: o.OutputState, + } +} + // Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. func (o EphemeralStorageLocalSsdConfigOutput) LocalSsdCount() pulumi.IntPtrOutput { return o.ApplyT(func(v EphemeralStorageLocalSsdConfig) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) @@ -4932,6 +5665,12 @@ func (o EphemeralStorageLocalSsdConfigPtrOutput) ToEphemeralStorageLocalSsdConfi return o } +func (o EphemeralStorageLocalSsdConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EphemeralStorageLocalSsdConfig] { + return pulumix.Output[*EphemeralStorageLocalSsdConfig]{ + OutputState: o.OutputState, + } +} + func (o EphemeralStorageLocalSsdConfigPtrOutput) Elem() EphemeralStorageLocalSsdConfigOutput { return o.ApplyT(func(v *EphemeralStorageLocalSsdConfig) EphemeralStorageLocalSsdConfig { if v != nil { @@ -4973,6 +5712,12 @@ func (o EphemeralStorageLocalSsdConfigResponseOutput) ToEphemeralStorageLocalSsd return o } +func (o EphemeralStorageLocalSsdConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EphemeralStorageLocalSsdConfigResponse] { + return pulumix.Output[EphemeralStorageLocalSsdConfigResponse]{ + OutputState: o.OutputState, + } +} + // Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. func (o EphemeralStorageLocalSsdConfigResponseOutput) LocalSsdCount() pulumi.IntOutput { return o.ApplyT(func(v EphemeralStorageLocalSsdConfigResponse) int { return v.LocalSsdCount }).(pulumi.IntOutput) @@ -5013,6 +5758,12 @@ func (i FastSocketArgs) ToFastSocketOutputWithContext(ctx context.Context) FastS return pulumi.ToOutputWithContext(ctx, i).(FastSocketOutput) } +func (i FastSocketArgs) ToOutput(ctx context.Context) pulumix.Output[FastSocket] { + return pulumix.Output[FastSocket]{ + OutputState: i.ToFastSocketOutputWithContext(ctx).OutputState, + } +} + func (i FastSocketArgs) ToFastSocketPtrOutput() FastSocketPtrOutput { return i.ToFastSocketPtrOutputWithContext(context.Background()) } @@ -5054,6 +5805,12 @@ func (i *fastSocketPtrType) ToFastSocketPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FastSocketPtrOutput) } +func (i *fastSocketPtrType) ToOutput(ctx context.Context) pulumix.Output[*FastSocket] { + return pulumix.Output[*FastSocket]{ + OutputState: i.ToFastSocketPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of Fast Socket feature. type FastSocketOutput struct{ *pulumi.OutputState } @@ -5079,6 +5836,12 @@ func (o FastSocketOutput) ToFastSocketPtrOutputWithContext(ctx context.Context) }).(FastSocketPtrOutput) } +func (o FastSocketOutput) ToOutput(ctx context.Context) pulumix.Output[FastSocket] { + return pulumix.Output[FastSocket]{ + OutputState: o.OutputState, + } +} + // Whether Fast Socket features are enabled in the node pool. func (o FastSocketOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v FastSocket) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -5098,6 +5861,12 @@ func (o FastSocketPtrOutput) ToFastSocketPtrOutputWithContext(ctx context.Contex return o } +func (o FastSocketPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FastSocket] { + return pulumix.Output[*FastSocket]{ + OutputState: o.OutputState, + } +} + func (o FastSocketPtrOutput) Elem() FastSocketOutput { return o.ApplyT(func(v *FastSocket) FastSocket { if v != nil { @@ -5139,6 +5908,12 @@ func (o FastSocketResponseOutput) ToFastSocketResponseOutputWithContext(ctx cont return o } +func (o FastSocketResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FastSocketResponse] { + return pulumix.Output[FastSocketResponse]{ + OutputState: o.OutputState, + } +} + // Whether Fast Socket features are enabled in the node pool. func (o FastSocketResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v FastSocketResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -5179,6 +5954,12 @@ func (i FilterArgs) ToFilterOutputWithContext(ctx context.Context) FilterOutput return pulumi.ToOutputWithContext(ctx, i).(FilterOutput) } +func (i FilterArgs) ToOutput(ctx context.Context) pulumix.Output[Filter] { + return pulumix.Output[Filter]{ + OutputState: i.ToFilterOutputWithContext(ctx).OutputState, + } +} + func (i FilterArgs) ToFilterPtrOutput() FilterPtrOutput { return i.ToFilterPtrOutputWithContext(context.Background()) } @@ -5220,6 +6001,12 @@ func (i *filterPtrType) ToFilterPtrOutputWithContext(ctx context.Context) Filter return pulumi.ToOutputWithContext(ctx, i).(FilterPtrOutput) } +func (i *filterPtrType) ToOutput(ctx context.Context) pulumix.Output[*Filter] { + return pulumix.Output[*Filter]{ + OutputState: i.ToFilterPtrOutputWithContext(ctx).OutputState, + } +} + // Allows filtering to one or more specific event types. If event types are present, those and only those event types will be transmitted to the cluster. Other types will be skipped. If no filter is specified, or no event types are present, all event types will be sent type FilterOutput struct{ *pulumi.OutputState } @@ -5245,6 +6032,12 @@ func (o FilterOutput) ToFilterPtrOutputWithContext(ctx context.Context) FilterPt }).(FilterPtrOutput) } +func (o FilterOutput) ToOutput(ctx context.Context) pulumix.Output[Filter] { + return pulumix.Output[Filter]{ + OutputState: o.OutputState, + } +} + // Event types to allowlist. func (o FilterOutput) EventType() FilterEventTypeItemArrayOutput { return o.ApplyT(func(v Filter) []FilterEventTypeItem { return v.EventType }).(FilterEventTypeItemArrayOutput) @@ -5264,6 +6057,12 @@ func (o FilterPtrOutput) ToFilterPtrOutputWithContext(ctx context.Context) Filte return o } +func (o FilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Filter] { + return pulumix.Output[*Filter]{ + OutputState: o.OutputState, + } +} + func (o FilterPtrOutput) Elem() FilterOutput { return o.ApplyT(func(v *Filter) Filter { if v != nil { @@ -5305,6 +6104,12 @@ func (o FilterResponseOutput) ToFilterResponseOutputWithContext(ctx context.Cont return o } +func (o FilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FilterResponse] { + return pulumix.Output[FilterResponse]{ + OutputState: o.OutputState, + } +} + // Event types to allowlist. func (o FilterResponseOutput) EventType() pulumi.StringArrayOutput { return o.ApplyT(func(v FilterResponse) []string { return v.EventType }).(pulumi.StringArrayOutput) @@ -5345,6 +6150,12 @@ func (i FleetArgs) ToFleetOutputWithContext(ctx context.Context) FleetOutput { return pulumi.ToOutputWithContext(ctx, i).(FleetOutput) } +func (i FleetArgs) ToOutput(ctx context.Context) pulumix.Output[Fleet] { + return pulumix.Output[Fleet]{ + OutputState: i.ToFleetOutputWithContext(ctx).OutputState, + } +} + func (i FleetArgs) ToFleetPtrOutput() FleetPtrOutput { return i.ToFleetPtrOutputWithContext(context.Background()) } @@ -5386,6 +6197,12 @@ func (i *fleetPtrType) ToFleetPtrOutputWithContext(ctx context.Context) FleetPtr return pulumi.ToOutputWithContext(ctx, i).(FleetPtrOutput) } +func (i *fleetPtrType) ToOutput(ctx context.Context) pulumix.Output[*Fleet] { + return pulumix.Output[*Fleet]{ + OutputState: i.ToFleetPtrOutputWithContext(ctx).OutputState, + } +} + // Fleet is the fleet configuration for the cluster. type FleetOutput struct{ *pulumi.OutputState } @@ -5411,6 +6228,12 @@ func (o FleetOutput) ToFleetPtrOutputWithContext(ctx context.Context) FleetPtrOu }).(FleetPtrOutput) } +func (o FleetOutput) ToOutput(ctx context.Context) pulumix.Output[Fleet] { + return pulumix.Output[Fleet]{ + OutputState: o.OutputState, + } +} + // The Fleet host project(project ID or project number) where this cluster will be registered to. This field cannot be changed after the cluster has been registered. func (o FleetOutput) Project() pulumi.StringPtrOutput { return o.ApplyT(func(v Fleet) *string { return v.Project }).(pulumi.StringPtrOutput) @@ -5430,6 +6253,12 @@ func (o FleetPtrOutput) ToFleetPtrOutputWithContext(ctx context.Context) FleetPt return o } +func (o FleetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Fleet] { + return pulumix.Output[*Fleet]{ + OutputState: o.OutputState, + } +} + func (o FleetPtrOutput) Elem() FleetOutput { return o.ApplyT(func(v *Fleet) Fleet { if v != nil { @@ -5475,6 +6304,12 @@ func (o FleetResponseOutput) ToFleetResponseOutputWithContext(ctx context.Contex return o } +func (o FleetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetResponse] { + return pulumix.Output[FleetResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] The full resource name of the registered fleet membership of the cluster, in the format `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`. func (o FleetResponseOutput) Membership() pulumi.StringOutput { return o.ApplyT(func(v FleetResponse) string { return v.Membership }).(pulumi.StringOutput) @@ -5529,6 +6364,12 @@ func (i GPUSharingConfigArgs) ToGPUSharingConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GPUSharingConfigOutput) } +func (i GPUSharingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GPUSharingConfig] { + return pulumix.Output[GPUSharingConfig]{ + OutputState: i.ToGPUSharingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GPUSharingConfigArgs) ToGPUSharingConfigPtrOutput() GPUSharingConfigPtrOutput { return i.ToGPUSharingConfigPtrOutputWithContext(context.Background()) } @@ -5570,6 +6411,12 @@ func (i *gpusharingConfigPtrType) ToGPUSharingConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GPUSharingConfigPtrOutput) } +func (i *gpusharingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GPUSharingConfig] { + return pulumix.Output[*GPUSharingConfig]{ + OutputState: i.ToGPUSharingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. type GPUSharingConfigOutput struct{ *pulumi.OutputState } @@ -5595,6 +6442,12 @@ func (o GPUSharingConfigOutput) ToGPUSharingConfigPtrOutputWithContext(ctx conte }).(GPUSharingConfigPtrOutput) } +func (o GPUSharingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GPUSharingConfig] { + return pulumix.Output[GPUSharingConfig]{ + OutputState: o.OutputState, + } +} + // The type of GPU sharing strategy to enable on the GPU node. func (o GPUSharingConfigOutput) GpuSharingStrategy() GPUSharingConfigGpuSharingStrategyPtrOutput { return o.ApplyT(func(v GPUSharingConfig) *GPUSharingConfigGpuSharingStrategy { return v.GpuSharingStrategy }).(GPUSharingConfigGpuSharingStrategyPtrOutput) @@ -5619,6 +6472,12 @@ func (o GPUSharingConfigPtrOutput) ToGPUSharingConfigPtrOutputWithContext(ctx co return o } +func (o GPUSharingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GPUSharingConfig] { + return pulumix.Output[*GPUSharingConfig]{ + OutputState: o.OutputState, + } +} + func (o GPUSharingConfigPtrOutput) Elem() GPUSharingConfigOutput { return o.ApplyT(func(v *GPUSharingConfig) GPUSharingConfig { if v != nil { @@ -5672,6 +6531,12 @@ func (o GPUSharingConfigResponseOutput) ToGPUSharingConfigResponseOutputWithCont return o } +func (o GPUSharingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GPUSharingConfigResponse] { + return pulumix.Output[GPUSharingConfigResponse]{ + OutputState: o.OutputState, + } +} + // The type of GPU sharing strategy to enable on the GPU node. func (o GPUSharingConfigResponseOutput) GpuSharingStrategy() pulumi.StringOutput { return o.ApplyT(func(v GPUSharingConfigResponse) string { return v.GpuSharingStrategy }).(pulumi.StringOutput) @@ -5717,6 +6582,12 @@ func (i GatewayAPIConfigArgs) ToGatewayAPIConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GatewayAPIConfigOutput) } +func (i GatewayAPIConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GatewayAPIConfig] { + return pulumix.Output[GatewayAPIConfig]{ + OutputState: i.ToGatewayAPIConfigOutputWithContext(ctx).OutputState, + } +} + func (i GatewayAPIConfigArgs) ToGatewayAPIConfigPtrOutput() GatewayAPIConfigPtrOutput { return i.ToGatewayAPIConfigPtrOutputWithContext(context.Background()) } @@ -5758,6 +6629,12 @@ func (i *gatewayAPIConfigPtrType) ToGatewayAPIConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GatewayAPIConfigPtrOutput) } +func (i *gatewayAPIConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GatewayAPIConfig] { + return pulumix.Output[*GatewayAPIConfig]{ + OutputState: i.ToGatewayAPIConfigPtrOutputWithContext(ctx).OutputState, + } +} + // GatewayAPIConfig contains the desired config of Gateway API on this cluster. type GatewayAPIConfigOutput struct{ *pulumi.OutputState } @@ -5783,6 +6660,12 @@ func (o GatewayAPIConfigOutput) ToGatewayAPIConfigPtrOutputWithContext(ctx conte }).(GatewayAPIConfigPtrOutput) } +func (o GatewayAPIConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayAPIConfig] { + return pulumix.Output[GatewayAPIConfig]{ + OutputState: o.OutputState, + } +} + // The Gateway API release channel to use for Gateway API. func (o GatewayAPIConfigOutput) Channel() GatewayAPIConfigChannelPtrOutput { return o.ApplyT(func(v GatewayAPIConfig) *GatewayAPIConfigChannel { return v.Channel }).(GatewayAPIConfigChannelPtrOutput) @@ -5802,6 +6685,12 @@ func (o GatewayAPIConfigPtrOutput) ToGatewayAPIConfigPtrOutputWithContext(ctx co return o } +func (o GatewayAPIConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayAPIConfig] { + return pulumix.Output[*GatewayAPIConfig]{ + OutputState: o.OutputState, + } +} + func (o GatewayAPIConfigPtrOutput) Elem() GatewayAPIConfigOutput { return o.ApplyT(func(v *GatewayAPIConfig) GatewayAPIConfig { if v != nil { @@ -5843,6 +6732,12 @@ func (o GatewayAPIConfigResponseOutput) ToGatewayAPIConfigResponseOutputWithCont return o } +func (o GatewayAPIConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayAPIConfigResponse] { + return pulumix.Output[GatewayAPIConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Gateway API release channel to use for Gateway API. func (o GatewayAPIConfigResponseOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v GatewayAPIConfigResponse) string { return v.Channel }).(pulumi.StringOutput) @@ -5883,6 +6778,12 @@ func (i GcePersistentDiskCsiDriverConfigArgs) ToGcePersistentDiskCsiDriverConfig return pulumi.ToOutputWithContext(ctx, i).(GcePersistentDiskCsiDriverConfigOutput) } +func (i GcePersistentDiskCsiDriverConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GcePersistentDiskCsiDriverConfig] { + return pulumix.Output[GcePersistentDiskCsiDriverConfig]{ + OutputState: i.ToGcePersistentDiskCsiDriverConfigOutputWithContext(ctx).OutputState, + } +} + func (i GcePersistentDiskCsiDriverConfigArgs) ToGcePersistentDiskCsiDriverConfigPtrOutput() GcePersistentDiskCsiDriverConfigPtrOutput { return i.ToGcePersistentDiskCsiDriverConfigPtrOutputWithContext(context.Background()) } @@ -5924,6 +6825,12 @@ func (i *gcePersistentDiskCsiDriverConfigPtrType) ToGcePersistentDiskCsiDriverCo return pulumi.ToOutputWithContext(ctx, i).(GcePersistentDiskCsiDriverConfigPtrOutput) } +func (i *gcePersistentDiskCsiDriverConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcePersistentDiskCsiDriverConfig] { + return pulumix.Output[*GcePersistentDiskCsiDriverConfig]{ + OutputState: i.ToGcePersistentDiskCsiDriverConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Compute Engine PD CSI driver. type GcePersistentDiskCsiDriverConfigOutput struct{ *pulumi.OutputState } @@ -5949,6 +6856,12 @@ func (o GcePersistentDiskCsiDriverConfigOutput) ToGcePersistentDiskCsiDriverConf }).(GcePersistentDiskCsiDriverConfigPtrOutput) } +func (o GcePersistentDiskCsiDriverConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GcePersistentDiskCsiDriverConfig] { + return pulumix.Output[GcePersistentDiskCsiDriverConfig]{ + OutputState: o.OutputState, + } +} + // Whether the Compute Engine PD CSI driver is enabled for this cluster. func (o GcePersistentDiskCsiDriverConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GcePersistentDiskCsiDriverConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -5968,6 +6881,12 @@ func (o GcePersistentDiskCsiDriverConfigPtrOutput) ToGcePersistentDiskCsiDriverC return o } +func (o GcePersistentDiskCsiDriverConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcePersistentDiskCsiDriverConfig] { + return pulumix.Output[*GcePersistentDiskCsiDriverConfig]{ + OutputState: o.OutputState, + } +} + func (o GcePersistentDiskCsiDriverConfigPtrOutput) Elem() GcePersistentDiskCsiDriverConfigOutput { return o.ApplyT(func(v *GcePersistentDiskCsiDriverConfig) GcePersistentDiskCsiDriverConfig { if v != nil { @@ -6009,6 +6928,12 @@ func (o GcePersistentDiskCsiDriverConfigResponseOutput) ToGcePersistentDiskCsiDr return o } +func (o GcePersistentDiskCsiDriverConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcePersistentDiskCsiDriverConfigResponse] { + return pulumix.Output[GcePersistentDiskCsiDriverConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the Compute Engine PD CSI driver is enabled for this cluster. func (o GcePersistentDiskCsiDriverConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GcePersistentDiskCsiDriverConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -6049,6 +6974,12 @@ func (i GcfsConfigArgs) ToGcfsConfigOutputWithContext(ctx context.Context) GcfsC return pulumi.ToOutputWithContext(ctx, i).(GcfsConfigOutput) } +func (i GcfsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GcfsConfig] { + return pulumix.Output[GcfsConfig]{ + OutputState: i.ToGcfsConfigOutputWithContext(ctx).OutputState, + } +} + func (i GcfsConfigArgs) ToGcfsConfigPtrOutput() GcfsConfigPtrOutput { return i.ToGcfsConfigPtrOutputWithContext(context.Background()) } @@ -6090,6 +7021,12 @@ func (i *gcfsConfigPtrType) ToGcfsConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GcfsConfigPtrOutput) } +func (i *gcfsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcfsConfig] { + return pulumix.Output[*GcfsConfig]{ + OutputState: i.ToGcfsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // GcfsConfig contains configurations of Google Container File System (image streaming). type GcfsConfigOutput struct{ *pulumi.OutputState } @@ -6115,6 +7052,12 @@ func (o GcfsConfigOutput) ToGcfsConfigPtrOutputWithContext(ctx context.Context) }).(GcfsConfigPtrOutput) } +func (o GcfsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GcfsConfig] { + return pulumix.Output[GcfsConfig]{ + OutputState: o.OutputState, + } +} + // Whether to use GCFS. func (o GcfsConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GcfsConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -6134,6 +7077,12 @@ func (o GcfsConfigPtrOutput) ToGcfsConfigPtrOutputWithContext(ctx context.Contex return o } +func (o GcfsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcfsConfig] { + return pulumix.Output[*GcfsConfig]{ + OutputState: o.OutputState, + } +} + func (o GcfsConfigPtrOutput) Elem() GcfsConfigOutput { return o.ApplyT(func(v *GcfsConfig) GcfsConfig { if v != nil { @@ -6175,6 +7124,12 @@ func (o GcfsConfigResponseOutput) ToGcfsConfigResponseOutputWithContext(ctx cont return o } +func (o GcfsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcfsConfigResponse] { + return pulumix.Output[GcfsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to use GCFS. func (o GcfsConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GcfsConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -6215,6 +7170,12 @@ func (i GcpFilestoreCsiDriverConfigArgs) ToGcpFilestoreCsiDriverConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(GcpFilestoreCsiDriverConfigOutput) } +func (i GcpFilestoreCsiDriverConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GcpFilestoreCsiDriverConfig] { + return pulumix.Output[GcpFilestoreCsiDriverConfig]{ + OutputState: i.ToGcpFilestoreCsiDriverConfigOutputWithContext(ctx).OutputState, + } +} + func (i GcpFilestoreCsiDriverConfigArgs) ToGcpFilestoreCsiDriverConfigPtrOutput() GcpFilestoreCsiDriverConfigPtrOutput { return i.ToGcpFilestoreCsiDriverConfigPtrOutputWithContext(context.Background()) } @@ -6256,6 +7217,12 @@ func (i *gcpFilestoreCsiDriverConfigPtrType) ToGcpFilestoreCsiDriverConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(GcpFilestoreCsiDriverConfigPtrOutput) } +func (i *gcpFilestoreCsiDriverConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcpFilestoreCsiDriverConfig] { + return pulumix.Output[*GcpFilestoreCsiDriverConfig]{ + OutputState: i.ToGcpFilestoreCsiDriverConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the GCP Filestore CSI driver. type GcpFilestoreCsiDriverConfigOutput struct{ *pulumi.OutputState } @@ -6281,6 +7248,12 @@ func (o GcpFilestoreCsiDriverConfigOutput) ToGcpFilestoreCsiDriverConfigPtrOutpu }).(GcpFilestoreCsiDriverConfigPtrOutput) } +func (o GcpFilestoreCsiDriverConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GcpFilestoreCsiDriverConfig] { + return pulumix.Output[GcpFilestoreCsiDriverConfig]{ + OutputState: o.OutputState, + } +} + // Whether the GCP Filestore CSI driver is enabled for this cluster. func (o GcpFilestoreCsiDriverConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GcpFilestoreCsiDriverConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -6300,6 +7273,12 @@ func (o GcpFilestoreCsiDriverConfigPtrOutput) ToGcpFilestoreCsiDriverConfigPtrOu return o } +func (o GcpFilestoreCsiDriverConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcpFilestoreCsiDriverConfig] { + return pulumix.Output[*GcpFilestoreCsiDriverConfig]{ + OutputState: o.OutputState, + } +} + func (o GcpFilestoreCsiDriverConfigPtrOutput) Elem() GcpFilestoreCsiDriverConfigOutput { return o.ApplyT(func(v *GcpFilestoreCsiDriverConfig) GcpFilestoreCsiDriverConfig { if v != nil { @@ -6341,6 +7320,12 @@ func (o GcpFilestoreCsiDriverConfigResponseOutput) ToGcpFilestoreCsiDriverConfig return o } +func (o GcpFilestoreCsiDriverConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcpFilestoreCsiDriverConfigResponse] { + return pulumix.Output[GcpFilestoreCsiDriverConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the GCP Filestore CSI driver is enabled for this cluster. func (o GcpFilestoreCsiDriverConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GcpFilestoreCsiDriverConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -6381,6 +7366,12 @@ func (i GkeBackupAgentConfigArgs) ToGkeBackupAgentConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GkeBackupAgentConfigOutput) } +func (i GkeBackupAgentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GkeBackupAgentConfig] { + return pulumix.Output[GkeBackupAgentConfig]{ + OutputState: i.ToGkeBackupAgentConfigOutputWithContext(ctx).OutputState, + } +} + func (i GkeBackupAgentConfigArgs) ToGkeBackupAgentConfigPtrOutput() GkeBackupAgentConfigPtrOutput { return i.ToGkeBackupAgentConfigPtrOutputWithContext(context.Background()) } @@ -6422,6 +7413,12 @@ func (i *gkeBackupAgentConfigPtrType) ToGkeBackupAgentConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(GkeBackupAgentConfigPtrOutput) } +func (i *gkeBackupAgentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeBackupAgentConfig] { + return pulumix.Output[*GkeBackupAgentConfig]{ + OutputState: i.ToGkeBackupAgentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Backup for GKE Agent. type GkeBackupAgentConfigOutput struct{ *pulumi.OutputState } @@ -6447,6 +7444,12 @@ func (o GkeBackupAgentConfigOutput) ToGkeBackupAgentConfigPtrOutputWithContext(c }).(GkeBackupAgentConfigPtrOutput) } +func (o GkeBackupAgentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GkeBackupAgentConfig] { + return pulumix.Output[GkeBackupAgentConfig]{ + OutputState: o.OutputState, + } +} + // Whether the Backup for GKE agent is enabled for this cluster. func (o GkeBackupAgentConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GkeBackupAgentConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -6466,6 +7469,12 @@ func (o GkeBackupAgentConfigPtrOutput) ToGkeBackupAgentConfigPtrOutputWithContex return o } +func (o GkeBackupAgentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeBackupAgentConfig] { + return pulumix.Output[*GkeBackupAgentConfig]{ + OutputState: o.OutputState, + } +} + func (o GkeBackupAgentConfigPtrOutput) Elem() GkeBackupAgentConfigOutput { return o.ApplyT(func(v *GkeBackupAgentConfig) GkeBackupAgentConfig { if v != nil { @@ -6507,6 +7516,12 @@ func (o GkeBackupAgentConfigResponseOutput) ToGkeBackupAgentConfigResponseOutput return o } +func (o GkeBackupAgentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeBackupAgentConfigResponse] { + return pulumix.Output[GkeBackupAgentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the Backup for GKE agent is enabled for this cluster. func (o GkeBackupAgentConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GkeBackupAgentConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -6547,6 +7562,12 @@ func (i HorizontalPodAutoscalingArgs) ToHorizontalPodAutoscalingOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(HorizontalPodAutoscalingOutput) } +func (i HorizontalPodAutoscalingArgs) ToOutput(ctx context.Context) pulumix.Output[HorizontalPodAutoscaling] { + return pulumix.Output[HorizontalPodAutoscaling]{ + OutputState: i.ToHorizontalPodAutoscalingOutputWithContext(ctx).OutputState, + } +} + func (i HorizontalPodAutoscalingArgs) ToHorizontalPodAutoscalingPtrOutput() HorizontalPodAutoscalingPtrOutput { return i.ToHorizontalPodAutoscalingPtrOutputWithContext(context.Background()) } @@ -6588,6 +7609,12 @@ func (i *horizontalPodAutoscalingPtrType) ToHorizontalPodAutoscalingPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(HorizontalPodAutoscalingPtrOutput) } +func (i *horizontalPodAutoscalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*HorizontalPodAutoscaling] { + return pulumix.Output[*HorizontalPodAutoscaling]{ + OutputState: i.ToHorizontalPodAutoscalingPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods. type HorizontalPodAutoscalingOutput struct{ *pulumi.OutputState } @@ -6613,6 +7640,12 @@ func (o HorizontalPodAutoscalingOutput) ToHorizontalPodAutoscalingPtrOutputWithC }).(HorizontalPodAutoscalingPtrOutput) } +func (o HorizontalPodAutoscalingOutput) ToOutput(ctx context.Context) pulumix.Output[HorizontalPodAutoscaling] { + return pulumix.Output[HorizontalPodAutoscaling]{ + OutputState: o.OutputState, + } +} + // Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring. func (o HorizontalPodAutoscalingOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v HorizontalPodAutoscaling) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -6632,6 +7665,12 @@ func (o HorizontalPodAutoscalingPtrOutput) ToHorizontalPodAutoscalingPtrOutputWi return o } +func (o HorizontalPodAutoscalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HorizontalPodAutoscaling] { + return pulumix.Output[*HorizontalPodAutoscaling]{ + OutputState: o.OutputState, + } +} + func (o HorizontalPodAutoscalingPtrOutput) Elem() HorizontalPodAutoscalingOutput { return o.ApplyT(func(v *HorizontalPodAutoscaling) HorizontalPodAutoscaling { if v != nil { @@ -6673,6 +7712,12 @@ func (o HorizontalPodAutoscalingResponseOutput) ToHorizontalPodAutoscalingRespon return o } +func (o HorizontalPodAutoscalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HorizontalPodAutoscalingResponse] { + return pulumix.Output[HorizontalPodAutoscalingResponse]{ + OutputState: o.OutputState, + } +} + // Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring. func (o HorizontalPodAutoscalingResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v HorizontalPodAutoscalingResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -6713,6 +7758,12 @@ func (i HttpLoadBalancingArgs) ToHttpLoadBalancingOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(HttpLoadBalancingOutput) } +func (i HttpLoadBalancingArgs) ToOutput(ctx context.Context) pulumix.Output[HttpLoadBalancing] { + return pulumix.Output[HttpLoadBalancing]{ + OutputState: i.ToHttpLoadBalancingOutputWithContext(ctx).OutputState, + } +} + func (i HttpLoadBalancingArgs) ToHttpLoadBalancingPtrOutput() HttpLoadBalancingPtrOutput { return i.ToHttpLoadBalancingPtrOutputWithContext(context.Background()) } @@ -6754,6 +7805,12 @@ func (i *httpLoadBalancingPtrType) ToHttpLoadBalancingPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(HttpLoadBalancingPtrOutput) } +func (i *httpLoadBalancingPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpLoadBalancing] { + return pulumix.Output[*HttpLoadBalancing]{ + OutputState: i.ToHttpLoadBalancingPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster. type HttpLoadBalancingOutput struct{ *pulumi.OutputState } @@ -6779,6 +7836,12 @@ func (o HttpLoadBalancingOutput) ToHttpLoadBalancingPtrOutputWithContext(ctx con }).(HttpLoadBalancingPtrOutput) } +func (o HttpLoadBalancingOutput) ToOutput(ctx context.Context) pulumix.Output[HttpLoadBalancing] { + return pulumix.Output[HttpLoadBalancing]{ + OutputState: o.OutputState, + } +} + // Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers. func (o HttpLoadBalancingOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v HttpLoadBalancing) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -6798,6 +7861,12 @@ func (o HttpLoadBalancingPtrOutput) ToHttpLoadBalancingPtrOutputWithContext(ctx return o } +func (o HttpLoadBalancingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpLoadBalancing] { + return pulumix.Output[*HttpLoadBalancing]{ + OutputState: o.OutputState, + } +} + func (o HttpLoadBalancingPtrOutput) Elem() HttpLoadBalancingOutput { return o.ApplyT(func(v *HttpLoadBalancing) HttpLoadBalancing { if v != nil { @@ -6839,6 +7908,12 @@ func (o HttpLoadBalancingResponseOutput) ToHttpLoadBalancingResponseOutputWithCo return o } +func (o HttpLoadBalancingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpLoadBalancingResponse] { + return pulumix.Output[HttpLoadBalancingResponse]{ + OutputState: o.OutputState, + } +} + // Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers. func (o HttpLoadBalancingResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v HttpLoadBalancingResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -6957,6 +8032,12 @@ func (i IPAllocationPolicyArgs) ToIPAllocationPolicyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(IPAllocationPolicyOutput) } +func (i IPAllocationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicy] { + return pulumix.Output[IPAllocationPolicy]{ + OutputState: i.ToIPAllocationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i IPAllocationPolicyArgs) ToIPAllocationPolicyPtrOutput() IPAllocationPolicyPtrOutput { return i.ToIPAllocationPolicyPtrOutputWithContext(context.Background()) } @@ -6998,6 +8079,12 @@ func (i *ipallocationPolicyPtrType) ToIPAllocationPolicyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(IPAllocationPolicyPtrOutput) } +func (i *ipallocationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicy] { + return pulumix.Output[*IPAllocationPolicy]{ + OutputState: i.ToIPAllocationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for controlling how IPs are allocated in the cluster. type IPAllocationPolicyOutput struct{ *pulumi.OutputState } @@ -7023,6 +8110,12 @@ func (o IPAllocationPolicyOutput) ToIPAllocationPolicyPtrOutputWithContext(ctx c }).(IPAllocationPolicyPtrOutput) } +func (o IPAllocationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicy] { + return pulumix.Output[IPAllocationPolicy]{ + OutputState: o.OutputState, + } +} + // This field is deprecated, use cluster_ipv4_cidr_block. // // Deprecated: This field is deprecated, use cluster_ipv4_cidr_block. @@ -7123,6 +8216,12 @@ func (o IPAllocationPolicyPtrOutput) ToIPAllocationPolicyPtrOutputWithContext(ct return o } +func (o IPAllocationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicy] { + return pulumix.Output[*IPAllocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyPtrOutput) Elem() IPAllocationPolicyOutput { return o.ApplyT(func(v *IPAllocationPolicy) IPAllocationPolicy { if v != nil { @@ -7362,6 +8461,12 @@ func (o IPAllocationPolicyResponseOutput) ToIPAllocationPolicyResponseOutputWith return o } +func (o IPAllocationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicyResponse] { + return pulumix.Output[IPAllocationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] The additional pod ranges that are added to the cluster. These pod ranges can be used by new node pools to allocate pod IPs automatically. Once the range is removed it will not show up in IPAllocationPolicy. func (o IPAllocationPolicyResponseOutput) AdditionalPodRangesConfig() AdditionalPodRangesConfigResponseOutput { return o.ApplyT(func(v IPAllocationPolicyResponse) AdditionalPodRangesConfigResponse { @@ -7502,6 +8607,12 @@ func (i IdentityServiceConfigArgs) ToIdentityServiceConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceConfigOutput) } +func (i IdentityServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceConfig] { + return pulumix.Output[IdentityServiceConfig]{ + OutputState: i.ToIdentityServiceConfigOutputWithContext(ctx).OutputState, + } +} + func (i IdentityServiceConfigArgs) ToIdentityServiceConfigPtrOutput() IdentityServiceConfigPtrOutput { return i.ToIdentityServiceConfigPtrOutputWithContext(context.Background()) } @@ -7543,6 +8654,12 @@ func (i *identityServiceConfigPtrType) ToIdentityServiceConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceConfigPtrOutput) } +func (i *identityServiceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceConfig] { + return pulumix.Output[*IdentityServiceConfig]{ + OutputState: i.ToIdentityServiceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API type IdentityServiceConfigOutput struct{ *pulumi.OutputState } @@ -7568,6 +8685,12 @@ func (o IdentityServiceConfigOutput) ToIdentityServiceConfigPtrOutputWithContext }).(IdentityServiceConfigPtrOutput) } +func (o IdentityServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceConfig] { + return pulumix.Output[IdentityServiceConfig]{ + OutputState: o.OutputState, + } +} + // Whether to enable the Identity Service component func (o IdentityServiceConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v IdentityServiceConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -7587,6 +8710,12 @@ func (o IdentityServiceConfigPtrOutput) ToIdentityServiceConfigPtrOutputWithCont return o } +func (o IdentityServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceConfig] { + return pulumix.Output[*IdentityServiceConfig]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceConfigPtrOutput) Elem() IdentityServiceConfigOutput { return o.ApplyT(func(v *IdentityServiceConfig) IdentityServiceConfig { if v != nil { @@ -7628,6 +8757,12 @@ func (o IdentityServiceConfigResponseOutput) ToIdentityServiceConfigResponseOutp return o } +func (o IdentityServiceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceConfigResponse] { + return pulumix.Output[IdentityServiceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to enable the Identity Service component func (o IdentityServiceConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v IdentityServiceConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -7674,6 +8809,12 @@ func (i KubernetesDashboardArgs) ToKubernetesDashboardOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(KubernetesDashboardOutput) } +func (i KubernetesDashboardArgs) ToOutput(ctx context.Context) pulumix.Output[KubernetesDashboard] { + return pulumix.Output[KubernetesDashboard]{ + OutputState: i.ToKubernetesDashboardOutputWithContext(ctx).OutputState, + } +} + func (i KubernetesDashboardArgs) ToKubernetesDashboardPtrOutput() KubernetesDashboardPtrOutput { return i.ToKubernetesDashboardPtrOutputWithContext(context.Background()) } @@ -7715,6 +8856,12 @@ func (i *kubernetesDashboardPtrType) ToKubernetesDashboardPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(KubernetesDashboardPtrOutput) } +func (i *kubernetesDashboardPtrType) ToOutput(ctx context.Context) pulumix.Output[*KubernetesDashboard] { + return pulumix.Output[*KubernetesDashboard]{ + OutputState: i.ToKubernetesDashboardPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Kubernetes Dashboard. type KubernetesDashboardOutput struct{ *pulumi.OutputState } @@ -7740,6 +8887,12 @@ func (o KubernetesDashboardOutput) ToKubernetesDashboardPtrOutputWithContext(ctx }).(KubernetesDashboardPtrOutput) } +func (o KubernetesDashboardOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesDashboard] { + return pulumix.Output[KubernetesDashboard]{ + OutputState: o.OutputState, + } +} + // Whether the Kubernetes Dashboard is enabled for this cluster. func (o KubernetesDashboardOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v KubernetesDashboard) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -7759,6 +8912,12 @@ func (o KubernetesDashboardPtrOutput) ToKubernetesDashboardPtrOutputWithContext( return o } +func (o KubernetesDashboardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KubernetesDashboard] { + return pulumix.Output[*KubernetesDashboard]{ + OutputState: o.OutputState, + } +} + func (o KubernetesDashboardPtrOutput) Elem() KubernetesDashboardOutput { return o.ApplyT(func(v *KubernetesDashboard) KubernetesDashboard { if v != nil { @@ -7800,6 +8959,12 @@ func (o KubernetesDashboardResponseOutput) ToKubernetesDashboardResponseOutputWi return o } +func (o KubernetesDashboardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesDashboardResponse] { + return pulumix.Output[KubernetesDashboardResponse]{ + OutputState: o.OutputState, + } +} + // Whether the Kubernetes Dashboard is enabled for this cluster. func (o KubernetesDashboardResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v KubernetesDashboardResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -7840,6 +9005,12 @@ func (i LegacyAbacArgs) ToLegacyAbacOutputWithContext(ctx context.Context) Legac return pulumi.ToOutputWithContext(ctx, i).(LegacyAbacOutput) } +func (i LegacyAbacArgs) ToOutput(ctx context.Context) pulumix.Output[LegacyAbac] { + return pulumix.Output[LegacyAbac]{ + OutputState: i.ToLegacyAbacOutputWithContext(ctx).OutputState, + } +} + func (i LegacyAbacArgs) ToLegacyAbacPtrOutput() LegacyAbacPtrOutput { return i.ToLegacyAbacPtrOutputWithContext(context.Background()) } @@ -7881,6 +9052,12 @@ func (i *legacyAbacPtrType) ToLegacyAbacPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(LegacyAbacPtrOutput) } +func (i *legacyAbacPtrType) ToOutput(ctx context.Context) pulumix.Output[*LegacyAbac] { + return pulumix.Output[*LegacyAbac]{ + OutputState: i.ToLegacyAbacPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the legacy Attribute Based Access Control authorization mode. type LegacyAbacOutput struct{ *pulumi.OutputState } @@ -7906,6 +9083,12 @@ func (o LegacyAbacOutput) ToLegacyAbacPtrOutputWithContext(ctx context.Context) }).(LegacyAbacPtrOutput) } +func (o LegacyAbacOutput) ToOutput(ctx context.Context) pulumix.Output[LegacyAbac] { + return pulumix.Output[LegacyAbac]{ + OutputState: o.OutputState, + } +} + // Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM. func (o LegacyAbacOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v LegacyAbac) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -7925,6 +9108,12 @@ func (o LegacyAbacPtrOutput) ToLegacyAbacPtrOutputWithContext(ctx context.Contex return o } +func (o LegacyAbacPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LegacyAbac] { + return pulumix.Output[*LegacyAbac]{ + OutputState: o.OutputState, + } +} + func (o LegacyAbacPtrOutput) Elem() LegacyAbacOutput { return o.ApplyT(func(v *LegacyAbac) LegacyAbac { if v != nil { @@ -7966,6 +9155,12 @@ func (o LegacyAbacResponseOutput) ToLegacyAbacResponseOutputWithContext(ctx cont return o } +func (o LegacyAbacResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LegacyAbacResponse] { + return pulumix.Output[LegacyAbacResponse]{ + OutputState: o.OutputState, + } +} + // Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM. func (o LegacyAbacResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v LegacyAbacResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -8010,6 +9205,12 @@ func (i LinuxNodeConfigArgs) ToLinuxNodeConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(LinuxNodeConfigOutput) } +func (i LinuxNodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LinuxNodeConfig] { + return pulumix.Output[LinuxNodeConfig]{ + OutputState: i.ToLinuxNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i LinuxNodeConfigArgs) ToLinuxNodeConfigPtrOutput() LinuxNodeConfigPtrOutput { return i.ToLinuxNodeConfigPtrOutputWithContext(context.Background()) } @@ -8051,6 +9252,12 @@ func (i *linuxNodeConfigPtrType) ToLinuxNodeConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(LinuxNodeConfigPtrOutput) } +func (i *linuxNodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LinuxNodeConfig] { + return pulumix.Output[*LinuxNodeConfig]{ + OutputState: i.ToLinuxNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters that can be configured on Linux nodes. type LinuxNodeConfigOutput struct{ *pulumi.OutputState } @@ -8076,6 +9283,12 @@ func (o LinuxNodeConfigOutput) ToLinuxNodeConfigPtrOutputWithContext(ctx context }).(LinuxNodeConfigPtrOutput) } +func (o LinuxNodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LinuxNodeConfig] { + return pulumix.Output[LinuxNodeConfig]{ + OutputState: o.OutputState, + } +} + // cgroup_mode specifies the cgroup mode to be used on the node. func (o LinuxNodeConfigOutput) CgroupMode() LinuxNodeConfigCgroupModePtrOutput { return o.ApplyT(func(v LinuxNodeConfig) *LinuxNodeConfigCgroupMode { return v.CgroupMode }).(LinuxNodeConfigCgroupModePtrOutput) @@ -8100,6 +9313,12 @@ func (o LinuxNodeConfigPtrOutput) ToLinuxNodeConfigPtrOutputWithContext(ctx cont return o } +func (o LinuxNodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LinuxNodeConfig] { + return pulumix.Output[*LinuxNodeConfig]{ + OutputState: o.OutputState, + } +} + func (o LinuxNodeConfigPtrOutput) Elem() LinuxNodeConfigOutput { return o.ApplyT(func(v *LinuxNodeConfig) LinuxNodeConfig { if v != nil { @@ -8153,6 +9372,12 @@ func (o LinuxNodeConfigResponseOutput) ToLinuxNodeConfigResponseOutputWithContex return o } +func (o LinuxNodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LinuxNodeConfigResponse] { + return pulumix.Output[LinuxNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // cgroup_mode specifies the cgroup mode to be used on the node. func (o LinuxNodeConfigResponseOutput) CgroupMode() pulumi.StringOutput { return o.ApplyT(func(v LinuxNodeConfigResponse) string { return v.CgroupMode }).(pulumi.StringOutput) @@ -8198,6 +9423,12 @@ func (i LocalNvmeSsdBlockConfigArgs) ToLocalNvmeSsdBlockConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(LocalNvmeSsdBlockConfigOutput) } +func (i LocalNvmeSsdBlockConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LocalNvmeSsdBlockConfig] { + return pulumix.Output[LocalNvmeSsdBlockConfig]{ + OutputState: i.ToLocalNvmeSsdBlockConfigOutputWithContext(ctx).OutputState, + } +} + func (i LocalNvmeSsdBlockConfigArgs) ToLocalNvmeSsdBlockConfigPtrOutput() LocalNvmeSsdBlockConfigPtrOutput { return i.ToLocalNvmeSsdBlockConfigPtrOutputWithContext(context.Background()) } @@ -8239,6 +9470,12 @@ func (i *localNvmeSsdBlockConfigPtrType) ToLocalNvmeSsdBlockConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(LocalNvmeSsdBlockConfigPtrOutput) } +func (i *localNvmeSsdBlockConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LocalNvmeSsdBlockConfig] { + return pulumix.Output[*LocalNvmeSsdBlockConfig]{ + OutputState: i.ToLocalNvmeSsdBlockConfigPtrOutputWithContext(ctx).OutputState, + } +} + // LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSD. type LocalNvmeSsdBlockConfigOutput struct{ *pulumi.OutputState } @@ -8264,6 +9501,12 @@ func (o LocalNvmeSsdBlockConfigOutput) ToLocalNvmeSsdBlockConfigPtrOutputWithCon }).(LocalNvmeSsdBlockConfigPtrOutput) } +func (o LocalNvmeSsdBlockConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LocalNvmeSsdBlockConfig] { + return pulumix.Output[LocalNvmeSsdBlockConfig]{ + OutputState: o.OutputState, + } +} + // The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. func (o LocalNvmeSsdBlockConfigOutput) LocalSsdCount() pulumi.IntPtrOutput { return o.ApplyT(func(v LocalNvmeSsdBlockConfig) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) @@ -8283,6 +9526,12 @@ func (o LocalNvmeSsdBlockConfigPtrOutput) ToLocalNvmeSsdBlockConfigPtrOutputWith return o } +func (o LocalNvmeSsdBlockConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocalNvmeSsdBlockConfig] { + return pulumix.Output[*LocalNvmeSsdBlockConfig]{ + OutputState: o.OutputState, + } +} + func (o LocalNvmeSsdBlockConfigPtrOutput) Elem() LocalNvmeSsdBlockConfigOutput { return o.ApplyT(func(v *LocalNvmeSsdBlockConfig) LocalNvmeSsdBlockConfig { if v != nil { @@ -8324,6 +9573,12 @@ func (o LocalNvmeSsdBlockConfigResponseOutput) ToLocalNvmeSsdBlockConfigResponse return o } +func (o LocalNvmeSsdBlockConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalNvmeSsdBlockConfigResponse] { + return pulumix.Output[LocalNvmeSsdBlockConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. func (o LocalNvmeSsdBlockConfigResponseOutput) LocalSsdCount() pulumi.IntOutput { return o.ApplyT(func(v LocalNvmeSsdBlockConfigResponse) int { return v.LocalSsdCount }).(pulumi.IntOutput) @@ -8364,6 +9619,12 @@ func (i LoggingComponentConfigArgs) ToLoggingComponentConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(LoggingComponentConfigOutput) } +func (i LoggingComponentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LoggingComponentConfig] { + return pulumix.Output[LoggingComponentConfig]{ + OutputState: i.ToLoggingComponentConfigOutputWithContext(ctx).OutputState, + } +} + func (i LoggingComponentConfigArgs) ToLoggingComponentConfigPtrOutput() LoggingComponentConfigPtrOutput { return i.ToLoggingComponentConfigPtrOutputWithContext(context.Background()) } @@ -8405,6 +9666,12 @@ func (i *loggingComponentConfigPtrType) ToLoggingComponentConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(LoggingComponentConfigPtrOutput) } +func (i *loggingComponentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LoggingComponentConfig] { + return pulumix.Output[*LoggingComponentConfig]{ + OutputState: i.ToLoggingComponentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingComponentConfig is cluster logging component configuration. type LoggingComponentConfigOutput struct{ *pulumi.OutputState } @@ -8430,6 +9697,12 @@ func (o LoggingComponentConfigOutput) ToLoggingComponentConfigPtrOutputWithConte }).(LoggingComponentConfigPtrOutput) } +func (o LoggingComponentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingComponentConfig] { + return pulumix.Output[LoggingComponentConfig]{ + OutputState: o.OutputState, + } +} + // Select components to collect logs. An empty set would disable all logging. func (o LoggingComponentConfigOutput) EnableComponents() LoggingComponentConfigEnableComponentsItemArrayOutput { return o.ApplyT(func(v LoggingComponentConfig) []LoggingComponentConfigEnableComponentsItem { return v.EnableComponents }).(LoggingComponentConfigEnableComponentsItemArrayOutput) @@ -8449,6 +9722,12 @@ func (o LoggingComponentConfigPtrOutput) ToLoggingComponentConfigPtrOutputWithCo return o } +func (o LoggingComponentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingComponentConfig] { + return pulumix.Output[*LoggingComponentConfig]{ + OutputState: o.OutputState, + } +} + func (o LoggingComponentConfigPtrOutput) Elem() LoggingComponentConfigOutput { return o.ApplyT(func(v *LoggingComponentConfig) LoggingComponentConfig { if v != nil { @@ -8490,6 +9769,12 @@ func (o LoggingComponentConfigResponseOutput) ToLoggingComponentConfigResponseOu return o } +func (o LoggingComponentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingComponentConfigResponse] { + return pulumix.Output[LoggingComponentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Select components to collect logs. An empty set would disable all logging. func (o LoggingComponentConfigResponseOutput) EnableComponents() pulumi.StringArrayOutput { return o.ApplyT(func(v LoggingComponentConfigResponse) []string { return v.EnableComponents }).(pulumi.StringArrayOutput) @@ -8530,6 +9815,12 @@ func (i LoggingConfigArgs) ToLoggingConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigOutput) } +func (i LoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LoggingConfig] { + return pulumix.Output[LoggingConfig]{ + OutputState: i.ToLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i LoggingConfigArgs) ToLoggingConfigPtrOutput() LoggingConfigPtrOutput { return i.ToLoggingConfigPtrOutputWithContext(context.Background()) } @@ -8571,6 +9862,12 @@ func (i *loggingConfigPtrType) ToLoggingConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigPtrOutput) } +func (i *loggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfig] { + return pulumix.Output[*LoggingConfig]{ + OutputState: i.ToLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingConfig is cluster logging configuration. type LoggingConfigOutput struct{ *pulumi.OutputState } @@ -8596,6 +9893,12 @@ func (o LoggingConfigOutput) ToLoggingConfigPtrOutputWithContext(ctx context.Con }).(LoggingConfigPtrOutput) } +func (o LoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfig] { + return pulumix.Output[LoggingConfig]{ + OutputState: o.OutputState, + } +} + // Logging components configuration func (o LoggingConfigOutput) ComponentConfig() LoggingComponentConfigPtrOutput { return o.ApplyT(func(v LoggingConfig) *LoggingComponentConfig { return v.ComponentConfig }).(LoggingComponentConfigPtrOutput) @@ -8615,6 +9918,12 @@ func (o LoggingConfigPtrOutput) ToLoggingConfigPtrOutputWithContext(ctx context. return o } +func (o LoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfig] { + return pulumix.Output[*LoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigPtrOutput) Elem() LoggingConfigOutput { return o.ApplyT(func(v *LoggingConfig) LoggingConfig { if v != nil { @@ -8656,6 +9965,12 @@ func (o LoggingConfigResponseOutput) ToLoggingConfigResponseOutputWithContext(ct return o } +func (o LoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfigResponse] { + return pulumix.Output[LoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Logging components configuration func (o LoggingConfigResponseOutput) ComponentConfig() LoggingComponentConfigResponseOutput { return o.ApplyT(func(v LoggingConfigResponse) LoggingComponentConfigResponse { return v.ComponentConfig }).(LoggingComponentConfigResponseOutput) @@ -8696,6 +10011,12 @@ func (i LoggingVariantConfigArgs) ToLoggingVariantConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(LoggingVariantConfigOutput) } +func (i LoggingVariantConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LoggingVariantConfig] { + return pulumix.Output[LoggingVariantConfig]{ + OutputState: i.ToLoggingVariantConfigOutputWithContext(ctx).OutputState, + } +} + func (i LoggingVariantConfigArgs) ToLoggingVariantConfigPtrOutput() LoggingVariantConfigPtrOutput { return i.ToLoggingVariantConfigPtrOutputWithContext(context.Background()) } @@ -8737,6 +10058,12 @@ func (i *loggingVariantConfigPtrType) ToLoggingVariantConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(LoggingVariantConfigPtrOutput) } +func (i *loggingVariantConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LoggingVariantConfig] { + return pulumix.Output[*LoggingVariantConfig]{ + OutputState: i.ToLoggingVariantConfigPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingVariantConfig specifies the behaviour of the logging component. type LoggingVariantConfigOutput struct{ *pulumi.OutputState } @@ -8762,6 +10089,12 @@ func (o LoggingVariantConfigOutput) ToLoggingVariantConfigPtrOutputWithContext(c }).(LoggingVariantConfigPtrOutput) } +func (o LoggingVariantConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingVariantConfig] { + return pulumix.Output[LoggingVariantConfig]{ + OutputState: o.OutputState, + } +} + // Logging variant deployed on nodes. func (o LoggingVariantConfigOutput) Variant() LoggingVariantConfigVariantPtrOutput { return o.ApplyT(func(v LoggingVariantConfig) *LoggingVariantConfigVariant { return v.Variant }).(LoggingVariantConfigVariantPtrOutput) @@ -8781,6 +10114,12 @@ func (o LoggingVariantConfigPtrOutput) ToLoggingVariantConfigPtrOutputWithContex return o } +func (o LoggingVariantConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingVariantConfig] { + return pulumix.Output[*LoggingVariantConfig]{ + OutputState: o.OutputState, + } +} + func (o LoggingVariantConfigPtrOutput) Elem() LoggingVariantConfigOutput { return o.ApplyT(func(v *LoggingVariantConfig) LoggingVariantConfig { if v != nil { @@ -8822,6 +10161,12 @@ func (o LoggingVariantConfigResponseOutput) ToLoggingVariantConfigResponseOutput return o } +func (o LoggingVariantConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingVariantConfigResponse] { + return pulumix.Output[LoggingVariantConfigResponse]{ + OutputState: o.OutputState, + } +} + // Logging variant deployed on nodes. func (o LoggingVariantConfigResponseOutput) Variant() pulumi.StringOutput { return o.ApplyT(func(v LoggingVariantConfigResponse) string { return v.Variant }).(pulumi.StringOutput) @@ -8862,6 +10207,12 @@ func (i MaintenanceExclusionOptionsArgs) ToMaintenanceExclusionOptionsOutputWith return pulumi.ToOutputWithContext(ctx, i).(MaintenanceExclusionOptionsOutput) } +func (i MaintenanceExclusionOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceExclusionOptions] { + return pulumix.Output[MaintenanceExclusionOptions]{ + OutputState: i.ToMaintenanceExclusionOptionsOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceExclusionOptionsArgs) ToMaintenanceExclusionOptionsPtrOutput() MaintenanceExclusionOptionsPtrOutput { return i.ToMaintenanceExclusionOptionsPtrOutputWithContext(context.Background()) } @@ -8903,6 +10254,12 @@ func (i *maintenanceExclusionOptionsPtrType) ToMaintenanceExclusionOptionsPtrOut return pulumi.ToOutputWithContext(ctx, i).(MaintenanceExclusionOptionsPtrOutput) } +func (i *maintenanceExclusionOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceExclusionOptions] { + return pulumix.Output[*MaintenanceExclusionOptions]{ + OutputState: i.ToMaintenanceExclusionOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the Maintenance exclusion option. type MaintenanceExclusionOptionsOutput struct{ *pulumi.OutputState } @@ -8928,6 +10285,12 @@ func (o MaintenanceExclusionOptionsOutput) ToMaintenanceExclusionOptionsPtrOutpu }).(MaintenanceExclusionOptionsPtrOutput) } +func (o MaintenanceExclusionOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceExclusionOptions] { + return pulumix.Output[MaintenanceExclusionOptions]{ + OutputState: o.OutputState, + } +} + // Scope specifies the upgrade scope which upgrades are blocked by the exclusion. func (o MaintenanceExclusionOptionsOutput) Scope() MaintenanceExclusionOptionsScopePtrOutput { return o.ApplyT(func(v MaintenanceExclusionOptions) *MaintenanceExclusionOptionsScope { return v.Scope }).(MaintenanceExclusionOptionsScopePtrOutput) @@ -8947,6 +10310,12 @@ func (o MaintenanceExclusionOptionsPtrOutput) ToMaintenanceExclusionOptionsPtrOu return o } +func (o MaintenanceExclusionOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceExclusionOptions] { + return pulumix.Output[*MaintenanceExclusionOptions]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceExclusionOptionsPtrOutput) Elem() MaintenanceExclusionOptionsOutput { return o.ApplyT(func(v *MaintenanceExclusionOptions) MaintenanceExclusionOptions { if v != nil { @@ -8988,6 +10357,12 @@ func (o MaintenanceExclusionOptionsResponseOutput) ToMaintenanceExclusionOptions return o } +func (o MaintenanceExclusionOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceExclusionOptionsResponse] { + return pulumix.Output[MaintenanceExclusionOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Scope specifies the upgrade scope which upgrades are blocked by the exclusion. func (o MaintenanceExclusionOptionsResponseOutput) Scope() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceExclusionOptionsResponse) string { return v.Scope }).(pulumi.StringOutput) @@ -9032,6 +10407,12 @@ func (i MaintenancePolicyArgs) ToMaintenancePolicyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenancePolicyOutput) } +func (i MaintenancePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicy] { + return pulumix.Output[MaintenancePolicy]{ + OutputState: i.ToMaintenancePolicyOutputWithContext(ctx).OutputState, + } +} + func (i MaintenancePolicyArgs) ToMaintenancePolicyPtrOutput() MaintenancePolicyPtrOutput { return i.ToMaintenancePolicyPtrOutputWithContext(context.Background()) } @@ -9073,6 +10454,12 @@ func (i *maintenancePolicyPtrType) ToMaintenancePolicyPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenancePolicyPtrOutput) } +func (i *maintenancePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenancePolicy] { + return pulumix.Output[*MaintenancePolicy]{ + OutputState: i.ToMaintenancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // MaintenancePolicy defines the maintenance policy to be used for the cluster. type MaintenancePolicyOutput struct{ *pulumi.OutputState } @@ -9098,6 +10485,12 @@ func (o MaintenancePolicyOutput) ToMaintenancePolicyPtrOutputWithContext(ctx con }).(MaintenancePolicyPtrOutput) } +func (o MaintenancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicy] { + return pulumix.Output[MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + // A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy. func (o MaintenancePolicyOutput) ResourceVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v MaintenancePolicy) *string { return v.ResourceVersion }).(pulumi.StringPtrOutput) @@ -9122,6 +10515,12 @@ func (o MaintenancePolicyPtrOutput) ToMaintenancePolicyPtrOutputWithContext(ctx return o } +func (o MaintenancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenancePolicy] { + return pulumix.Output[*MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o MaintenancePolicyPtrOutput) Elem() MaintenancePolicyOutput { return o.ApplyT(func(v *MaintenancePolicy) MaintenancePolicy { if v != nil { @@ -9175,6 +10574,12 @@ func (o MaintenancePolicyResponseOutput) ToMaintenancePolicyResponseOutputWithCo return o } +func (o MaintenancePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicyResponse] { + return pulumix.Output[MaintenancePolicyResponse]{ + OutputState: o.OutputState, + } +} + // A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy. func (o MaintenancePolicyResponseOutput) ResourceVersion() pulumi.StringOutput { return o.ApplyT(func(v MaintenancePolicyResponse) string { return v.ResourceVersion }).(pulumi.StringOutput) @@ -9228,6 +10633,12 @@ func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput) } +func (i MaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -9269,6 +10680,12 @@ func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowPtrOutput) } +func (i *maintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // MaintenanceWindow defines the maintenance window to be used for the cluster. type MaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -9294,6 +10711,12 @@ func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx con }).(MaintenanceWindowPtrOutput) } +func (o MaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // DailyMaintenanceWindow specifies a daily maintenance operation window. func (o MaintenanceWindowOutput) DailyMaintenanceWindow() DailyMaintenanceWindowPtrOutput { return o.ApplyT(func(v MaintenanceWindow) *DailyMaintenanceWindow { return v.DailyMaintenanceWindow }).(DailyMaintenanceWindowPtrOutput) @@ -9323,6 +10746,12 @@ func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx return o } +func (o MaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowPtrOutput) Elem() MaintenanceWindowOutput { return o.ApplyT(func(v *MaintenanceWindow) MaintenanceWindow { if v != nil { @@ -9388,6 +10817,12 @@ func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithCo return o } +func (o MaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowResponse] { + return pulumix.Output[MaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // DailyMaintenanceWindow specifies a daily maintenance operation window. func (o MaintenanceWindowResponseOutput) DailyMaintenanceWindow() DailyMaintenanceWindowResponseOutput { return o.ApplyT(func(v MaintenanceWindowResponse) DailyMaintenanceWindowResponse { return v.DailyMaintenanceWindow }).(DailyMaintenanceWindowResponseOutput) @@ -9438,6 +10873,12 @@ func (i ManagedPrometheusConfigArgs) ToManagedPrometheusConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ManagedPrometheusConfigOutput) } +func (i ManagedPrometheusConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedPrometheusConfig] { + return pulumix.Output[ManagedPrometheusConfig]{ + OutputState: i.ToManagedPrometheusConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedPrometheusConfigArgs) ToManagedPrometheusConfigPtrOutput() ManagedPrometheusConfigPtrOutput { return i.ToManagedPrometheusConfigPtrOutputWithContext(context.Background()) } @@ -9479,6 +10920,12 @@ func (i *managedPrometheusConfigPtrType) ToManagedPrometheusConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ManagedPrometheusConfigPtrOutput) } +func (i *managedPrometheusConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedPrometheusConfig] { + return pulumix.Output[*ManagedPrometheusConfig]{ + OutputState: i.ToManagedPrometheusConfigPtrOutputWithContext(ctx).OutputState, + } +} + // ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. type ManagedPrometheusConfigOutput struct{ *pulumi.OutputState } @@ -9504,6 +10951,12 @@ func (o ManagedPrometheusConfigOutput) ToManagedPrometheusConfigPtrOutputWithCon }).(ManagedPrometheusConfigPtrOutput) } +func (o ManagedPrometheusConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedPrometheusConfig] { + return pulumix.Output[ManagedPrometheusConfig]{ + OutputState: o.OutputState, + } +} + // Enable Managed Collection. func (o ManagedPrometheusConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ManagedPrometheusConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -9523,6 +10976,12 @@ func (o ManagedPrometheusConfigPtrOutput) ToManagedPrometheusConfigPtrOutputWith return o } +func (o ManagedPrometheusConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedPrometheusConfig] { + return pulumix.Output[*ManagedPrometheusConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedPrometheusConfigPtrOutput) Elem() ManagedPrometheusConfigOutput { return o.ApplyT(func(v *ManagedPrometheusConfig) ManagedPrometheusConfig { if v != nil { @@ -9564,6 +11023,12 @@ func (o ManagedPrometheusConfigResponseOutput) ToManagedPrometheusConfigResponse return o } +func (o ManagedPrometheusConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedPrometheusConfigResponse] { + return pulumix.Output[ManagedPrometheusConfigResponse]{ + OutputState: o.OutputState, + } +} + // Enable Managed Collection. func (o ManagedPrometheusConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ManagedPrometheusConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -9612,6 +11077,12 @@ func (i MasterAuthArgs) ToMasterAuthOutputWithContext(ctx context.Context) Maste return pulumi.ToOutputWithContext(ctx, i).(MasterAuthOutput) } +func (i MasterAuthArgs) ToOutput(ctx context.Context) pulumix.Output[MasterAuth] { + return pulumix.Output[MasterAuth]{ + OutputState: i.ToMasterAuthOutputWithContext(ctx).OutputState, + } +} + func (i MasterAuthArgs) ToMasterAuthPtrOutput() MasterAuthPtrOutput { return i.ToMasterAuthPtrOutputWithContext(context.Background()) } @@ -9653,6 +11124,12 @@ func (i *masterAuthPtrType) ToMasterAuthPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(MasterAuthPtrOutput) } +func (i *masterAuthPtrType) ToOutput(ctx context.Context) pulumix.Output[*MasterAuth] { + return pulumix.Output[*MasterAuth]{ + OutputState: i.ToMasterAuthPtrOutputWithContext(ctx).OutputState, + } +} + // The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates. type MasterAuthOutput struct{ *pulumi.OutputState } @@ -9678,6 +11155,12 @@ func (o MasterAuthOutput) ToMasterAuthPtrOutputWithContext(ctx context.Context) }).(MasterAuthPtrOutput) } +func (o MasterAuthOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuth] { + return pulumix.Output[MasterAuth]{ + OutputState: o.OutputState, + } +} + // Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued. func (o MasterAuthOutput) ClientCertificateConfig() ClientCertificateConfigPtrOutput { return o.ApplyT(func(v MasterAuth) *ClientCertificateConfig { return v.ClientCertificateConfig }).(ClientCertificateConfigPtrOutput) @@ -9707,6 +11190,12 @@ func (o MasterAuthPtrOutput) ToMasterAuthPtrOutputWithContext(ctx context.Contex return o } +func (o MasterAuthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MasterAuth] { + return pulumix.Output[*MasterAuth]{ + OutputState: o.OutputState, + } +} + func (o MasterAuthPtrOutput) Elem() MasterAuthOutput { return o.ApplyT(func(v *MasterAuth) MasterAuth { if v != nil { @@ -9778,6 +11267,12 @@ func (o MasterAuthResponseOutput) ToMasterAuthResponseOutputWithContext(ctx cont return o } +func (o MasterAuthResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuthResponse] { + return pulumix.Output[MasterAuthResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint. func (o MasterAuthResponseOutput) ClientCertificate() pulumi.StringOutput { return o.ApplyT(func(v MasterAuthResponse) string { return v.ClientCertificate }).(pulumi.StringOutput) @@ -9851,6 +11346,12 @@ func (i MasterAuthorizedNetworksConfigArgs) ToMasterAuthorizedNetworksConfigOutp return pulumi.ToOutputWithContext(ctx, i).(MasterAuthorizedNetworksConfigOutput) } +func (i MasterAuthorizedNetworksConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfig] { + return pulumix.Output[MasterAuthorizedNetworksConfig]{ + OutputState: i.ToMasterAuthorizedNetworksConfigOutputWithContext(ctx).OutputState, + } +} + func (i MasterAuthorizedNetworksConfigArgs) ToMasterAuthorizedNetworksConfigPtrOutput() MasterAuthorizedNetworksConfigPtrOutput { return i.ToMasterAuthorizedNetworksConfigPtrOutputWithContext(context.Background()) } @@ -9892,6 +11393,12 @@ func (i *masterAuthorizedNetworksConfigPtrType) ToMasterAuthorizedNetworksConfig return pulumi.ToOutputWithContext(ctx, i).(MasterAuthorizedNetworksConfigPtrOutput) } +func (i *masterAuthorizedNetworksConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MasterAuthorizedNetworksConfig] { + return pulumix.Output[*MasterAuthorizedNetworksConfig]{ + OutputState: i.ToMasterAuthorizedNetworksConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. type MasterAuthorizedNetworksConfigOutput struct{ *pulumi.OutputState } @@ -9917,6 +11424,12 @@ func (o MasterAuthorizedNetworksConfigOutput) ToMasterAuthorizedNetworksConfigPt }).(MasterAuthorizedNetworksConfigPtrOutput) } +func (o MasterAuthorizedNetworksConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfig] { + return pulumix.Output[MasterAuthorizedNetworksConfig]{ + OutputState: o.OutputState, + } +} + // cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS. func (o MasterAuthorizedNetworksConfigOutput) CidrBlocks() CidrBlockArrayOutput { return o.ApplyT(func(v MasterAuthorizedNetworksConfig) []CidrBlock { return v.CidrBlocks }).(CidrBlockArrayOutput) @@ -9946,6 +11459,12 @@ func (o MasterAuthorizedNetworksConfigPtrOutput) ToMasterAuthorizedNetworksConfi return o } +func (o MasterAuthorizedNetworksConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MasterAuthorizedNetworksConfig] { + return pulumix.Output[*MasterAuthorizedNetworksConfig]{ + OutputState: o.OutputState, + } +} + func (o MasterAuthorizedNetworksConfigPtrOutput) Elem() MasterAuthorizedNetworksConfigOutput { return o.ApplyT(func(v *MasterAuthorizedNetworksConfig) MasterAuthorizedNetworksConfig { if v != nil { @@ -10011,6 +11530,12 @@ func (o MasterAuthorizedNetworksConfigResponseOutput) ToMasterAuthorizedNetworks return o } +func (o MasterAuthorizedNetworksConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfigResponse] { + return pulumix.Output[MasterAuthorizedNetworksConfigResponse]{ + OutputState: o.OutputState, + } +} + // cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS. func (o MasterAuthorizedNetworksConfigResponseOutput) CidrBlocks() CidrBlockResponseArrayOutput { return o.ApplyT(func(v MasterAuthorizedNetworksConfigResponse) []CidrBlockResponse { return v.CidrBlocks }).(CidrBlockResponseArrayOutput) @@ -10061,6 +11586,12 @@ func (i MaxPodsConstraintArgs) ToMaxPodsConstraintOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaxPodsConstraintOutput) } +func (i MaxPodsConstraintArgs) ToOutput(ctx context.Context) pulumix.Output[MaxPodsConstraint] { + return pulumix.Output[MaxPodsConstraint]{ + OutputState: i.ToMaxPodsConstraintOutputWithContext(ctx).OutputState, + } +} + func (i MaxPodsConstraintArgs) ToMaxPodsConstraintPtrOutput() MaxPodsConstraintPtrOutput { return i.ToMaxPodsConstraintPtrOutputWithContext(context.Background()) } @@ -10102,6 +11633,12 @@ func (i *maxPodsConstraintPtrType) ToMaxPodsConstraintPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaxPodsConstraintPtrOutput) } +func (i *maxPodsConstraintPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaxPodsConstraint] { + return pulumix.Output[*MaxPodsConstraint]{ + OutputState: i.ToMaxPodsConstraintPtrOutputWithContext(ctx).OutputState, + } +} + // Constraints applied to pods. type MaxPodsConstraintOutput struct{ *pulumi.OutputState } @@ -10127,6 +11664,12 @@ func (o MaxPodsConstraintOutput) ToMaxPodsConstraintPtrOutputWithContext(ctx con }).(MaxPodsConstraintPtrOutput) } +func (o MaxPodsConstraintOutput) ToOutput(ctx context.Context) pulumix.Output[MaxPodsConstraint] { + return pulumix.Output[MaxPodsConstraint]{ + OutputState: o.OutputState, + } +} + // Constraint enforced on the max num of pods per node. func (o MaxPodsConstraintOutput) MaxPodsPerNode() pulumi.StringPtrOutput { return o.ApplyT(func(v MaxPodsConstraint) *string { return v.MaxPodsPerNode }).(pulumi.StringPtrOutput) @@ -10146,6 +11689,12 @@ func (o MaxPodsConstraintPtrOutput) ToMaxPodsConstraintPtrOutputWithContext(ctx return o } +func (o MaxPodsConstraintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaxPodsConstraint] { + return pulumix.Output[*MaxPodsConstraint]{ + OutputState: o.OutputState, + } +} + func (o MaxPodsConstraintPtrOutput) Elem() MaxPodsConstraintOutput { return o.ApplyT(func(v *MaxPodsConstraint) MaxPodsConstraint { if v != nil { @@ -10187,6 +11736,12 @@ func (o MaxPodsConstraintResponseOutput) ToMaxPodsConstraintResponseOutputWithCo return o } +func (o MaxPodsConstraintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaxPodsConstraintResponse] { + return pulumix.Output[MaxPodsConstraintResponse]{ + OutputState: o.OutputState, + } +} + // Constraint enforced on the max num of pods per node. func (o MaxPodsConstraintResponseOutput) MaxPodsPerNode() pulumi.StringOutput { return o.ApplyT(func(v MaxPodsConstraintResponse) string { return v.MaxPodsPerNode }).(pulumi.StringOutput) @@ -10227,6 +11782,12 @@ func (i MeshCertificatesArgs) ToMeshCertificatesOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MeshCertificatesOutput) } +func (i MeshCertificatesArgs) ToOutput(ctx context.Context) pulumix.Output[MeshCertificates] { + return pulumix.Output[MeshCertificates]{ + OutputState: i.ToMeshCertificatesOutputWithContext(ctx).OutputState, + } +} + func (i MeshCertificatesArgs) ToMeshCertificatesPtrOutput() MeshCertificatesPtrOutput { return i.ToMeshCertificatesPtrOutputWithContext(context.Background()) } @@ -10268,6 +11829,12 @@ func (i *meshCertificatesPtrType) ToMeshCertificatesPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MeshCertificatesPtrOutput) } +func (i *meshCertificatesPtrType) ToOutput(ctx context.Context) pulumix.Output[*MeshCertificates] { + return pulumix.Output[*MeshCertificates]{ + OutputState: i.ToMeshCertificatesPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for issuance of mTLS keys and certificates to Kubernetes pods. type MeshCertificatesOutput struct{ *pulumi.OutputState } @@ -10293,6 +11860,12 @@ func (o MeshCertificatesOutput) ToMeshCertificatesPtrOutputWithContext(ctx conte }).(MeshCertificatesPtrOutput) } +func (o MeshCertificatesOutput) ToOutput(ctx context.Context) pulumix.Output[MeshCertificates] { + return pulumix.Output[MeshCertificates]{ + OutputState: o.OutputState, + } +} + // enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty). func (o MeshCertificatesOutput) EnableCertificates() pulumi.BoolPtrOutput { return o.ApplyT(func(v MeshCertificates) *bool { return v.EnableCertificates }).(pulumi.BoolPtrOutput) @@ -10312,6 +11885,12 @@ func (o MeshCertificatesPtrOutput) ToMeshCertificatesPtrOutputWithContext(ctx co return o } +func (o MeshCertificatesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MeshCertificates] { + return pulumix.Output[*MeshCertificates]{ + OutputState: o.OutputState, + } +} + func (o MeshCertificatesPtrOutput) Elem() MeshCertificatesOutput { return o.ApplyT(func(v *MeshCertificates) MeshCertificates { if v != nil { @@ -10353,6 +11932,12 @@ func (o MeshCertificatesResponseOutput) ToMeshCertificatesResponseOutputWithCont return o } +func (o MeshCertificatesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MeshCertificatesResponse] { + return pulumix.Output[MeshCertificatesResponse]{ + OutputState: o.OutputState, + } +} + // enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty). func (o MeshCertificatesResponseOutput) EnableCertificates() pulumi.BoolOutput { return o.ApplyT(func(v MeshCertificatesResponse) bool { return v.EnableCertificates }).(pulumi.BoolOutput) @@ -10393,6 +11978,12 @@ func (i MonitoringComponentConfigArgs) ToMonitoringComponentConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(MonitoringComponentConfigOutput) } +func (i MonitoringComponentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoringComponentConfig] { + return pulumix.Output[MonitoringComponentConfig]{ + OutputState: i.ToMonitoringComponentConfigOutputWithContext(ctx).OutputState, + } +} + func (i MonitoringComponentConfigArgs) ToMonitoringComponentConfigPtrOutput() MonitoringComponentConfigPtrOutput { return i.ToMonitoringComponentConfigPtrOutputWithContext(context.Background()) } @@ -10434,6 +12025,12 @@ func (i *monitoringComponentConfigPtrType) ToMonitoringComponentConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(MonitoringComponentConfigPtrOutput) } +func (i *monitoringComponentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MonitoringComponentConfig] { + return pulumix.Output[*MonitoringComponentConfig]{ + OutputState: i.ToMonitoringComponentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MonitoringComponentConfig is cluster monitoring component configuration. type MonitoringComponentConfigOutput struct{ *pulumi.OutputState } @@ -10459,6 +12056,12 @@ func (o MonitoringComponentConfigOutput) ToMonitoringComponentConfigPtrOutputWit }).(MonitoringComponentConfigPtrOutput) } +func (o MonitoringComponentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringComponentConfig] { + return pulumix.Output[MonitoringComponentConfig]{ + OutputState: o.OutputState, + } +} + // Select components to collect metrics. An empty set would disable all monitoring. func (o MonitoringComponentConfigOutput) EnableComponents() MonitoringComponentConfigEnableComponentsItemArrayOutput { return o.ApplyT(func(v MonitoringComponentConfig) []MonitoringComponentConfigEnableComponentsItem { @@ -10480,6 +12083,12 @@ func (o MonitoringComponentConfigPtrOutput) ToMonitoringComponentConfigPtrOutput return o } +func (o MonitoringComponentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringComponentConfig] { + return pulumix.Output[*MonitoringComponentConfig]{ + OutputState: o.OutputState, + } +} + func (o MonitoringComponentConfigPtrOutput) Elem() MonitoringComponentConfigOutput { return o.ApplyT(func(v *MonitoringComponentConfig) MonitoringComponentConfig { if v != nil { @@ -10521,6 +12130,12 @@ func (o MonitoringComponentConfigResponseOutput) ToMonitoringComponentConfigResp return o } +func (o MonitoringComponentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringComponentConfigResponse] { + return pulumix.Output[MonitoringComponentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Select components to collect metrics. An empty set would disable all monitoring. func (o MonitoringComponentConfigResponseOutput) EnableComponents() pulumi.StringArrayOutput { return o.ApplyT(func(v MonitoringComponentConfigResponse) []string { return v.EnableComponents }).(pulumi.StringArrayOutput) @@ -10565,6 +12180,12 @@ func (i MonitoringConfigArgs) ToMonitoringConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigOutput) } +func (i MonitoringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: i.ToMonitoringConfigOutputWithContext(ctx).OutputState, + } +} + func (i MonitoringConfigArgs) ToMonitoringConfigPtrOutput() MonitoringConfigPtrOutput { return i.ToMonitoringConfigPtrOutputWithContext(context.Background()) } @@ -10606,6 +12227,12 @@ func (i *monitoringConfigPtrType) ToMonitoringConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigPtrOutput) } +func (i *monitoringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: i.ToMonitoringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MonitoringConfig is cluster monitoring configuration. type MonitoringConfigOutput struct{ *pulumi.OutputState } @@ -10631,6 +12258,12 @@ func (o MonitoringConfigOutput) ToMonitoringConfigPtrOutputWithContext(ctx conte }).(MonitoringConfigPtrOutput) } +func (o MonitoringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: o.OutputState, + } +} + // Monitoring components configuration func (o MonitoringConfigOutput) ComponentConfig() MonitoringComponentConfigPtrOutput { return o.ApplyT(func(v MonitoringConfig) *MonitoringComponentConfig { return v.ComponentConfig }).(MonitoringComponentConfigPtrOutput) @@ -10655,6 +12288,12 @@ func (o MonitoringConfigPtrOutput) ToMonitoringConfigPtrOutputWithContext(ctx co return o } +func (o MonitoringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: o.OutputState, + } +} + func (o MonitoringConfigPtrOutput) Elem() MonitoringConfigOutput { return o.ApplyT(func(v *MonitoringConfig) MonitoringConfig { if v != nil { @@ -10708,6 +12347,12 @@ func (o MonitoringConfigResponseOutput) ToMonitoringConfigResponseOutputWithCont return o } +func (o MonitoringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfigResponse] { + return pulumix.Output[MonitoringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Monitoring components configuration func (o MonitoringConfigResponseOutput) ComponentConfig() MonitoringComponentConfigResponseOutput { return o.ApplyT(func(v MonitoringConfigResponse) MonitoringComponentConfigResponse { return v.ComponentConfig }).(MonitoringComponentConfigResponseOutput) @@ -10781,6 +12426,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -10822,6 +12473,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // NetworkConfig reports the relative names of network & subnetwork. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -10847,6 +12504,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. func (o NetworkConfigOutput) DatapathProvider() NetworkConfigDatapathProviderPtrOutput { return o.ApplyT(func(v NetworkConfig) *NetworkConfigDatapathProvider { return v.DatapathProvider }).(NetworkConfigDatapathProviderPtrOutput) @@ -10901,6 +12564,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -11030,6 +12699,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. func (o NetworkConfigResponseOutput) DatapathProvider() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfigResponse) string { return v.DatapathProvider }).(pulumi.StringOutput) @@ -11115,6 +12790,12 @@ func (i NetworkPerformanceConfigArgs) ToNetworkPerformanceConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(NetworkPerformanceConfigOutput) } +func (i NetworkPerformanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfig] { + return pulumix.Output[NetworkPerformanceConfig]{ + OutputState: i.ToNetworkPerformanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkPerformanceConfigArgs) ToNetworkPerformanceConfigPtrOutput() NetworkPerformanceConfigPtrOutput { return i.ToNetworkPerformanceConfigPtrOutputWithContext(context.Background()) } @@ -11156,6 +12837,12 @@ func (i *networkPerformanceConfigPtrType) ToNetworkPerformanceConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(NetworkPerformanceConfigPtrOutput) } +func (i *networkPerformanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfig] { + return pulumix.Output[*NetworkPerformanceConfig]{ + OutputState: i.ToNetworkPerformanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of all network bandwidth tiers type NetworkPerformanceConfigOutput struct{ *pulumi.OutputState } @@ -11181,6 +12868,12 @@ func (o NetworkPerformanceConfigOutput) ToNetworkPerformanceConfigPtrOutputWithC }).(NetworkPerformanceConfigPtrOutput) } +func (o NetworkPerformanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfig] { + return pulumix.Output[NetworkPerformanceConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the total network bandwidth tier for the NodePool. func (o NetworkPerformanceConfigOutput) TotalEgressBandwidthTier() NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput { return o.ApplyT(func(v NetworkPerformanceConfig) *NetworkPerformanceConfigTotalEgressBandwidthTier { @@ -11202,6 +12895,12 @@ func (o NetworkPerformanceConfigPtrOutput) ToNetworkPerformanceConfigPtrOutputWi return o } +func (o NetworkPerformanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfig] { + return pulumix.Output[*NetworkPerformanceConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigPtrOutput) Elem() NetworkPerformanceConfigOutput { return o.ApplyT(func(v *NetworkPerformanceConfig) NetworkPerformanceConfig { if v != nil { @@ -11243,6 +12942,12 @@ func (o NetworkPerformanceConfigResponseOutput) ToNetworkPerformanceConfigRespon return o } +func (o NetworkPerformanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigResponse] { + return pulumix.Output[NetworkPerformanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the total network bandwidth tier for the NodePool. func (o NetworkPerformanceConfigResponseOutput) TotalEgressBandwidthTier() pulumi.StringOutput { return o.ApplyT(func(v NetworkPerformanceConfigResponse) string { return v.TotalEgressBandwidthTier }).(pulumi.StringOutput) @@ -11287,6 +12992,12 @@ func (i NetworkPolicyArgs) ToNetworkPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyOutput) } +func (i NetworkPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicy] { + return pulumix.Output[NetworkPolicy]{ + OutputState: i.ToNetworkPolicyOutputWithContext(ctx).OutputState, + } +} + func (i NetworkPolicyArgs) ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput { return i.ToNetworkPolicyPtrOutputWithContext(context.Background()) } @@ -11328,6 +13039,12 @@ func (i *networkPolicyPtrType) ToNetworkPolicyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyPtrOutput) } +func (i *networkPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicy] { + return pulumix.Output[*NetworkPolicy]{ + OutputState: i.ToNetworkPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ type NetworkPolicyOutput struct{ *pulumi.OutputState } @@ -11353,6 +13070,12 @@ func (o NetworkPolicyOutput) ToNetworkPolicyPtrOutputWithContext(ctx context.Con }).(NetworkPolicyPtrOutput) } +func (o NetworkPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicy] { + return pulumix.Output[NetworkPolicy]{ + OutputState: o.OutputState, + } +} + // Whether network policy is enabled on the cluster. func (o NetworkPolicyOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v NetworkPolicy) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -11377,6 +13100,12 @@ func (o NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutputWithContext(ctx context. return o } +func (o NetworkPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicy] { + return pulumix.Output[*NetworkPolicy]{ + OutputState: o.OutputState, + } +} + func (o NetworkPolicyPtrOutput) Elem() NetworkPolicyOutput { return o.ApplyT(func(v *NetworkPolicy) NetworkPolicy { if v != nil { @@ -11442,6 +13171,12 @@ func (i NetworkPolicyConfigArgs) ToNetworkPolicyConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyConfigOutput) } +func (i NetworkPolicyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyConfig] { + return pulumix.Output[NetworkPolicyConfig]{ + OutputState: i.ToNetworkPolicyConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkPolicyConfigArgs) ToNetworkPolicyConfigPtrOutput() NetworkPolicyConfigPtrOutput { return i.ToNetworkPolicyConfigPtrOutputWithContext(context.Background()) } @@ -11483,6 +13218,12 @@ func (i *networkPolicyConfigPtrType) ToNetworkPolicyConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyConfigPtrOutput) } +func (i *networkPolicyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicyConfig] { + return pulumix.Output[*NetworkPolicyConfig]{ + OutputState: i.ToNetworkPolicyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes. type NetworkPolicyConfigOutput struct{ *pulumi.OutputState } @@ -11508,6 +13249,12 @@ func (o NetworkPolicyConfigOutput) ToNetworkPolicyConfigPtrOutputWithContext(ctx }).(NetworkPolicyConfigPtrOutput) } +func (o NetworkPolicyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyConfig] { + return pulumix.Output[NetworkPolicyConfig]{ + OutputState: o.OutputState, + } +} + // Whether NetworkPolicy is enabled for this cluster. func (o NetworkPolicyConfigOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v NetworkPolicyConfig) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -11527,6 +13274,12 @@ func (o NetworkPolicyConfigPtrOutput) ToNetworkPolicyConfigPtrOutputWithContext( return o } +func (o NetworkPolicyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicyConfig] { + return pulumix.Output[*NetworkPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkPolicyConfigPtrOutput) Elem() NetworkPolicyConfigOutput { return o.ApplyT(func(v *NetworkPolicyConfig) NetworkPolicyConfig { if v != nil { @@ -11568,6 +13321,12 @@ func (o NetworkPolicyConfigResponseOutput) ToNetworkPolicyConfigResponseOutputWi return o } +func (o NetworkPolicyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyConfigResponse] { + return pulumix.Output[NetworkPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether NetworkPolicy is enabled for this cluster. func (o NetworkPolicyConfigResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v NetworkPolicyConfigResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -11596,6 +13355,12 @@ func (o NetworkPolicyResponseOutput) ToNetworkPolicyResponseOutputWithContext(ct return o } +func (o NetworkPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyResponse] { + return pulumix.Output[NetworkPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Whether network policy is enabled on the cluster. func (o NetworkPolicyResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v NetworkPolicyResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -11641,6 +13406,12 @@ func (i NetworkTagsArgs) ToNetworkTagsOutputWithContext(ctx context.Context) Net return pulumi.ToOutputWithContext(ctx, i).(NetworkTagsOutput) } +func (i NetworkTagsArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkTags] { + return pulumix.Output[NetworkTags]{ + OutputState: i.ToNetworkTagsOutputWithContext(ctx).OutputState, + } +} + func (i NetworkTagsArgs) ToNetworkTagsPtrOutput() NetworkTagsPtrOutput { return i.ToNetworkTagsPtrOutputWithContext(context.Background()) } @@ -11682,6 +13453,12 @@ func (i *networkTagsPtrType) ToNetworkTagsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(NetworkTagsPtrOutput) } +func (i *networkTagsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkTags] { + return pulumix.Output[*NetworkTags]{ + OutputState: i.ToNetworkTagsPtrOutputWithContext(ctx).OutputState, + } +} + // Collection of Compute Engine network tags that can be applied to a node's underlying VM instance. type NetworkTagsOutput struct{ *pulumi.OutputState } @@ -11707,6 +13484,12 @@ func (o NetworkTagsOutput) ToNetworkTagsPtrOutputWithContext(ctx context.Context }).(NetworkTagsPtrOutput) } +func (o NetworkTagsOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkTags] { + return pulumix.Output[NetworkTags]{ + OutputState: o.OutputState, + } +} + // List of network tags. func (o NetworkTagsOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v NetworkTags) []string { return v.Tags }).(pulumi.StringArrayOutput) @@ -11726,6 +13509,12 @@ func (o NetworkTagsPtrOutput) ToNetworkTagsPtrOutputWithContext(ctx context.Cont return o } +func (o NetworkTagsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkTags] { + return pulumix.Output[*NetworkTags]{ + OutputState: o.OutputState, + } +} + func (o NetworkTagsPtrOutput) Elem() NetworkTagsOutput { return o.ApplyT(func(v *NetworkTags) NetworkTags { if v != nil { @@ -11767,6 +13556,12 @@ func (o NetworkTagsResponseOutput) ToNetworkTagsResponseOutputWithContext(ctx co return o } +func (o NetworkTagsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkTagsResponse] { + return pulumix.Output[NetworkTagsResponse]{ + OutputState: o.OutputState, + } +} + // List of network tags. func (o NetworkTagsResponseOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v NetworkTagsResponse) []string { return v.Tags }).(pulumi.StringArrayOutput) @@ -11935,6 +13730,12 @@ func (i NodeConfigArgs) ToNodeConfigOutputWithContext(ctx context.Context) NodeC return pulumi.ToOutputWithContext(ctx, i).(NodeConfigOutput) } +func (i NodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: i.ToNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodeConfigArgs) ToNodeConfigPtrOutput() NodeConfigPtrOutput { return i.ToNodeConfigPtrOutputWithContext(context.Background()) } @@ -11976,6 +13777,12 @@ func (i *nodeConfigPtrType) ToNodeConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(NodeConfigPtrOutput) } +func (i *nodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeConfig] { + return pulumix.Output[*NodeConfig]{ + OutputState: i.ToNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults instead. type NodeConfigOutput struct{ *pulumi.OutputState } @@ -12001,6 +13808,12 @@ func (o NodeConfigOutput) ToNodeConfigPtrOutputWithContext(ctx context.Context) }).(NodeConfigPtrOutput) } +func (o NodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: o.OutputState, + } +} + // A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs. func (o NodeConfigOutput) Accelerators() AcceleratorConfigArrayOutput { return o.ApplyT(func(v NodeConfig) []AcceleratorConfig { return v.Accelerators }).(AcceleratorConfigArrayOutput) @@ -12180,6 +13993,12 @@ func (o NodeConfigPtrOutput) ToNodeConfigPtrOutputWithContext(ctx context.Contex return o } +func (o NodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeConfig] { + return pulumix.Output[*NodeConfig]{ + OutputState: o.OutputState, + } +} + func (o NodeConfigPtrOutput) Elem() NodeConfigOutput { return o.ApplyT(func(v *NodeConfig) NodeConfig { if v != nil { @@ -12559,6 +14378,12 @@ func (i NodeConfigDefaultsArgs) ToNodeConfigDefaultsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NodeConfigDefaultsOutput) } +func (i NodeConfigDefaultsArgs) ToOutput(ctx context.Context) pulumix.Output[NodeConfigDefaults] { + return pulumix.Output[NodeConfigDefaults]{ + OutputState: i.ToNodeConfigDefaultsOutputWithContext(ctx).OutputState, + } +} + func (i NodeConfigDefaultsArgs) ToNodeConfigDefaultsPtrOutput() NodeConfigDefaultsPtrOutput { return i.ToNodeConfigDefaultsPtrOutputWithContext(context.Background()) } @@ -12600,6 +14425,12 @@ func (i *nodeConfigDefaultsPtrType) ToNodeConfigDefaultsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NodeConfigDefaultsPtrOutput) } +func (i *nodeConfigDefaultsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeConfigDefaults] { + return pulumix.Output[*NodeConfigDefaults]{ + OutputState: i.ToNodeConfigDefaultsPtrOutputWithContext(ctx).OutputState, + } +} + // Subset of NodeConfig message that has defaults. type NodeConfigDefaultsOutput struct{ *pulumi.OutputState } @@ -12625,6 +14456,12 @@ func (o NodeConfigDefaultsOutput) ToNodeConfigDefaultsPtrOutputWithContext(ctx c }).(NodeConfigDefaultsPtrOutput) } +func (o NodeConfigDefaultsOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigDefaults] { + return pulumix.Output[NodeConfigDefaults]{ + OutputState: o.OutputState, + } +} + // GCFS (Google Container File System, also known as Riptide) options. func (o NodeConfigDefaultsOutput) GcfsConfig() GcfsConfigPtrOutput { return o.ApplyT(func(v NodeConfigDefaults) *GcfsConfig { return v.GcfsConfig }).(GcfsConfigPtrOutput) @@ -12649,6 +14486,12 @@ func (o NodeConfigDefaultsPtrOutput) ToNodeConfigDefaultsPtrOutputWithContext(ct return o } +func (o NodeConfigDefaultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeConfigDefaults] { + return pulumix.Output[*NodeConfigDefaults]{ + OutputState: o.OutputState, + } +} + func (o NodeConfigDefaultsPtrOutput) Elem() NodeConfigDefaultsOutput { return o.ApplyT(func(v *NodeConfigDefaults) NodeConfigDefaults { if v != nil { @@ -12702,6 +14545,12 @@ func (o NodeConfigDefaultsResponseOutput) ToNodeConfigDefaultsResponseOutputWith return o } +func (o NodeConfigDefaultsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigDefaultsResponse] { + return pulumix.Output[NodeConfigDefaultsResponse]{ + OutputState: o.OutputState, + } +} + // GCFS (Google Container File System, also known as Riptide) options. func (o NodeConfigDefaultsResponseOutput) GcfsConfig() GcfsConfigResponseOutput { return o.ApplyT(func(v NodeConfigDefaultsResponse) GcfsConfigResponse { return v.GcfsConfig }).(GcfsConfigResponseOutput) @@ -12797,6 +14646,12 @@ func (o NodeConfigResponseOutput) ToNodeConfigResponseOutputWithContext(ctx cont return o } +func (o NodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigResponse] { + return pulumix.Output[NodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs. func (o NodeConfigResponseOutput) Accelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v NodeConfigResponse) []AcceleratorConfigResponse { return v.Accelerators }).(AcceleratorConfigResponseArrayOutput) @@ -13011,6 +14866,12 @@ func (i NodeKubeletConfigArgs) ToNodeKubeletConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(NodeKubeletConfigOutput) } +func (i NodeKubeletConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeKubeletConfig] { + return pulumix.Output[NodeKubeletConfig]{ + OutputState: i.ToNodeKubeletConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodeKubeletConfigArgs) ToNodeKubeletConfigPtrOutput() NodeKubeletConfigPtrOutput { return i.ToNodeKubeletConfigPtrOutputWithContext(context.Background()) } @@ -13052,6 +14913,12 @@ func (i *nodeKubeletConfigPtrType) ToNodeKubeletConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NodeKubeletConfigPtrOutput) } +func (i *nodeKubeletConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeKubeletConfig] { + return pulumix.Output[*NodeKubeletConfig]{ + OutputState: i.ToNodeKubeletConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Node kubelet configs. type NodeKubeletConfigOutput struct{ *pulumi.OutputState } @@ -13077,6 +14944,12 @@ func (o NodeKubeletConfigOutput) ToNodeKubeletConfigPtrOutputWithContext(ctx con }).(NodeKubeletConfigPtrOutput) } +func (o NodeKubeletConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeKubeletConfig] { + return pulumix.Output[NodeKubeletConfig]{ + OutputState: o.OutputState, + } +} + // Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. func (o NodeKubeletConfigOutput) CpuCfsQuota() pulumi.BoolPtrOutput { return o.ApplyT(func(v NodeKubeletConfig) *bool { return v.CpuCfsQuota }).(pulumi.BoolPtrOutput) @@ -13111,6 +14984,12 @@ func (o NodeKubeletConfigPtrOutput) ToNodeKubeletConfigPtrOutputWithContext(ctx return o } +func (o NodeKubeletConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeKubeletConfig] { + return pulumix.Output[*NodeKubeletConfig]{ + OutputState: o.OutputState, + } +} + func (o NodeKubeletConfigPtrOutput) Elem() NodeKubeletConfigOutput { return o.ApplyT(func(v *NodeKubeletConfig) NodeKubeletConfig { if v != nil { @@ -13188,6 +15067,12 @@ func (o NodeKubeletConfigResponseOutput) ToNodeKubeletConfigResponseOutputWithCo return o } +func (o NodeKubeletConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeKubeletConfigResponse] { + return pulumix.Output[NodeKubeletConfigResponse]{ + OutputState: o.OutputState, + } +} + // Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. func (o NodeKubeletConfigResponseOutput) CpuCfsQuota() pulumi.BoolOutput { return o.ApplyT(func(v NodeKubeletConfigResponse) bool { return v.CpuCfsQuota }).(pulumi.BoolOutput) @@ -13257,6 +15142,12 @@ func (i NodeManagementArgs) ToNodeManagementOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(NodeManagementOutput) } +func (i NodeManagementArgs) ToOutput(ctx context.Context) pulumix.Output[NodeManagement] { + return pulumix.Output[NodeManagement]{ + OutputState: i.ToNodeManagementOutputWithContext(ctx).OutputState, + } +} + func (i NodeManagementArgs) ToNodeManagementPtrOutput() NodeManagementPtrOutput { return i.ToNodeManagementPtrOutputWithContext(context.Background()) } @@ -13298,6 +15189,12 @@ func (i *nodeManagementPtrType) ToNodeManagementPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(NodeManagementPtrOutput) } +func (i *nodeManagementPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeManagement] { + return pulumix.Output[*NodeManagement]{ + OutputState: i.ToNodeManagementPtrOutputWithContext(ctx).OutputState, + } +} + // NodeManagement defines the set of node management services turned on for the node pool. type NodeManagementOutput struct{ *pulumi.OutputState } @@ -13323,6 +15220,12 @@ func (o NodeManagementOutput) ToNodeManagementPtrOutputWithContext(ctx context.C }).(NodeManagementPtrOutput) } +func (o NodeManagementOutput) ToOutput(ctx context.Context) pulumix.Output[NodeManagement] { + return pulumix.Output[NodeManagement]{ + OutputState: o.OutputState, + } +} + // A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered. func (o NodeManagementOutput) AutoRepair() pulumi.BoolPtrOutput { return o.ApplyT(func(v NodeManagement) *bool { return v.AutoRepair }).(pulumi.BoolPtrOutput) @@ -13352,6 +15255,12 @@ func (o NodeManagementPtrOutput) ToNodeManagementPtrOutputWithContext(ctx contex return o } +func (o NodeManagementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeManagement] { + return pulumix.Output[*NodeManagement]{ + OutputState: o.OutputState, + } +} + func (o NodeManagementPtrOutput) Elem() NodeManagementOutput { return o.ApplyT(func(v *NodeManagement) NodeManagement { if v != nil { @@ -13417,6 +15326,12 @@ func (o NodeManagementResponseOutput) ToNodeManagementResponseOutputWithContext( return o } +func (o NodeManagementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeManagementResponse] { + return pulumix.Output[NodeManagementResponse]{ + OutputState: o.OutputState, + } +} + // A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered. func (o NodeManagementResponseOutput) AutoRepair() pulumi.BoolOutput { return o.ApplyT(func(v NodeManagementResponse) bool { return v.AutoRepair }).(pulumi.BoolOutput) @@ -13487,6 +15402,12 @@ func (i NodeNetworkConfigArgs) ToNodeNetworkConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(NodeNetworkConfigOutput) } +func (i NodeNetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeNetworkConfig] { + return pulumix.Output[NodeNetworkConfig]{ + OutputState: i.ToNodeNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodeNetworkConfigArgs) ToNodeNetworkConfigPtrOutput() NodeNetworkConfigPtrOutput { return i.ToNodeNetworkConfigPtrOutputWithContext(context.Background()) } @@ -13528,6 +15449,12 @@ func (i *nodeNetworkConfigPtrType) ToNodeNetworkConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NodeNetworkConfigPtrOutput) } +func (i *nodeNetworkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeNetworkConfig] { + return pulumix.Output[*NodeNetworkConfig]{ + OutputState: i.ToNodeNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters for node pool-level network config. type NodeNetworkConfigOutput struct{ *pulumi.OutputState } @@ -13553,6 +15480,12 @@ func (o NodeNetworkConfigOutput) ToNodeNetworkConfigPtrOutputWithContext(ctx con }).(NodeNetworkConfigPtrOutput) } +func (o NodeNetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeNetworkConfig] { + return pulumix.Output[NodeNetworkConfig]{ + OutputState: o.OutputState, + } +} + // Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. func (o NodeNetworkConfigOutput) CreatePodRange() pulumi.BoolPtrOutput { return o.ApplyT(func(v NodeNetworkConfig) *bool { return v.CreatePodRange }).(pulumi.BoolPtrOutput) @@ -13597,6 +15530,12 @@ func (o NodeNetworkConfigPtrOutput) ToNodeNetworkConfigPtrOutputWithContext(ctx return o } +func (o NodeNetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeNetworkConfig] { + return pulumix.Output[*NodeNetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NodeNetworkConfigPtrOutput) Elem() NodeNetworkConfigOutput { return o.ApplyT(func(v *NodeNetworkConfig) NodeNetworkConfig { if v != nil { @@ -13698,6 +15637,12 @@ func (o NodeNetworkConfigResponseOutput) ToNodeNetworkConfigResponseOutputWithCo return o } +func (o NodeNetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeNetworkConfigResponse] { + return pulumix.Output[NodeNetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. func (o NodeNetworkConfigResponseOutput) CreatePodRange() pulumi.BoolOutput { return o.ApplyT(func(v NodeNetworkConfigResponse) bool { return v.CreatePodRange }).(pulumi.BoolOutput) @@ -13813,6 +15758,12 @@ func (i NodePoolTypeArgs) ToNodePoolTypeOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NodePoolTypeOutput) } +func (i NodePoolTypeArgs) ToOutput(ctx context.Context) pulumix.Output[NodePoolType] { + return pulumix.Output[NodePoolType]{ + OutputState: i.ToNodePoolTypeOutputWithContext(ctx).OutputState, + } +} + // NodePoolTypeArrayInput is an input type that accepts NodePoolTypeArray and NodePoolTypeArrayOutput values. // You can construct a concrete instance of `NodePoolTypeArrayInput` via: // @@ -13838,6 +15789,12 @@ func (i NodePoolTypeArray) ToNodePoolTypeArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(NodePoolTypeArrayOutput) } +func (i NodePoolTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]NodePoolType] { + return pulumix.Output[[]NodePoolType]{ + OutputState: i.ToNodePoolTypeArrayOutputWithContext(ctx).OutputState, + } +} + // NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload. type NodePoolTypeOutput struct{ *pulumi.OutputState } @@ -13853,6 +15810,12 @@ func (o NodePoolTypeOutput) ToNodePoolTypeOutputWithContext(ctx context.Context) return o } +func (o NodePoolTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolType] { + return pulumix.Output[NodePoolType]{ + OutputState: o.OutputState, + } +} + // Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. func (o NodePoolTypeOutput) Autoscaling() NodePoolAutoscalingPtrOutput { return o.ApplyT(func(v NodePoolType) *NodePoolAutoscaling { return v.Autoscaling }).(NodePoolAutoscalingPtrOutput) @@ -13932,6 +15895,12 @@ func (o NodePoolTypeArrayOutput) ToNodePoolTypeArrayOutputWithContext(ctx contex return o } +func (o NodePoolTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodePoolType] { + return pulumix.Output[[]NodePoolType]{ + OutputState: o.OutputState, + } +} + func (o NodePoolTypeArrayOutput) Index(i pulumi.IntInput) NodePoolTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodePoolType { return vs[0].([]NodePoolType)[vs[1].(int)] @@ -13973,6 +15942,12 @@ func (i NodePoolAutoConfigArgs) ToNodePoolAutoConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NodePoolAutoConfigOutput) } +func (i NodePoolAutoConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoConfig] { + return pulumix.Output[NodePoolAutoConfig]{ + OutputState: i.ToNodePoolAutoConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodePoolAutoConfigArgs) ToNodePoolAutoConfigPtrOutput() NodePoolAutoConfigPtrOutput { return i.ToNodePoolAutoConfigPtrOutputWithContext(context.Background()) } @@ -14014,6 +15989,12 @@ func (i *nodePoolAutoConfigPtrType) ToNodePoolAutoConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NodePoolAutoConfigPtrOutput) } +func (i *nodePoolAutoConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoConfig] { + return pulumix.Output[*NodePoolAutoConfig]{ + OutputState: i.ToNodePoolAutoConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. type NodePoolAutoConfigOutput struct{ *pulumi.OutputState } @@ -14039,6 +16020,12 @@ func (o NodePoolAutoConfigOutput) ToNodePoolAutoConfigPtrOutputWithContext(ctx c }).(NodePoolAutoConfigPtrOutput) } +func (o NodePoolAutoConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoConfig] { + return pulumix.Output[NodePoolAutoConfig]{ + OutputState: o.OutputState, + } +} + // The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035. func (o NodePoolAutoConfigOutput) NetworkTags() NetworkTagsPtrOutput { return o.ApplyT(func(v NodePoolAutoConfig) *NetworkTags { return v.NetworkTags }).(NetworkTagsPtrOutput) @@ -14058,6 +16045,12 @@ func (o NodePoolAutoConfigPtrOutput) ToNodePoolAutoConfigPtrOutputWithContext(ct return o } +func (o NodePoolAutoConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoConfig] { + return pulumix.Output[*NodePoolAutoConfig]{ + OutputState: o.OutputState, + } +} + func (o NodePoolAutoConfigPtrOutput) Elem() NodePoolAutoConfigOutput { return o.ApplyT(func(v *NodePoolAutoConfig) NodePoolAutoConfig { if v != nil { @@ -14099,6 +16092,12 @@ func (o NodePoolAutoConfigResponseOutput) ToNodePoolAutoConfigResponseOutputWith return o } +func (o NodePoolAutoConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoConfigResponse] { + return pulumix.Output[NodePoolAutoConfigResponse]{ + OutputState: o.OutputState, + } +} + // The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035. func (o NodePoolAutoConfigResponseOutput) NetworkTags() NetworkTagsResponseOutput { return o.ApplyT(func(v NodePoolAutoConfigResponse) NetworkTagsResponse { return v.NetworkTags }).(NetworkTagsResponseOutput) @@ -14163,6 +16162,12 @@ func (i NodePoolAutoscalingArgs) ToNodePoolAutoscalingOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NodePoolAutoscalingOutput) } +func (i NodePoolAutoscalingArgs) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoscaling] { + return pulumix.Output[NodePoolAutoscaling]{ + OutputState: i.ToNodePoolAutoscalingOutputWithContext(ctx).OutputState, + } +} + func (i NodePoolAutoscalingArgs) ToNodePoolAutoscalingPtrOutput() NodePoolAutoscalingPtrOutput { return i.ToNodePoolAutoscalingPtrOutputWithContext(context.Background()) } @@ -14204,6 +16209,12 @@ func (i *nodePoolAutoscalingPtrType) ToNodePoolAutoscalingPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(NodePoolAutoscalingPtrOutput) } +func (i *nodePoolAutoscalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoscaling] { + return pulumix.Output[*NodePoolAutoscaling]{ + OutputState: i.ToNodePoolAutoscalingPtrOutputWithContext(ctx).OutputState, + } +} + // NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. type NodePoolAutoscalingOutput struct{ *pulumi.OutputState } @@ -14229,6 +16240,12 @@ func (o NodePoolAutoscalingOutput) ToNodePoolAutoscalingPtrOutputWithContext(ctx }).(NodePoolAutoscalingPtrOutput) } +func (o NodePoolAutoscalingOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoscaling] { + return pulumix.Output[NodePoolAutoscaling]{ + OutputState: o.OutputState, + } +} + // Can this node pool be deleted automatically. func (o NodePoolAutoscalingOutput) Autoprovisioned() pulumi.BoolPtrOutput { return o.ApplyT(func(v NodePoolAutoscaling) *bool { return v.Autoprovisioned }).(pulumi.BoolPtrOutput) @@ -14278,6 +16295,12 @@ func (o NodePoolAutoscalingPtrOutput) ToNodePoolAutoscalingPtrOutputWithContext( return o } +func (o NodePoolAutoscalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoscaling] { + return pulumix.Output[*NodePoolAutoscaling]{ + OutputState: o.OutputState, + } +} + func (o NodePoolAutoscalingPtrOutput) Elem() NodePoolAutoscalingOutput { return o.ApplyT(func(v *NodePoolAutoscaling) NodePoolAutoscaling { if v != nil { @@ -14391,6 +16414,12 @@ func (o NodePoolAutoscalingResponseOutput) ToNodePoolAutoscalingResponseOutputWi return o } +func (o NodePoolAutoscalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoscalingResponse] { + return pulumix.Output[NodePoolAutoscalingResponse]{ + OutputState: o.OutputState, + } +} + // Can this node pool be deleted automatically. func (o NodePoolAutoscalingResponseOutput) Autoprovisioned() pulumi.BoolOutput { return o.ApplyT(func(v NodePoolAutoscalingResponse) bool { return v.Autoprovisioned }).(pulumi.BoolOutput) @@ -14461,6 +16490,12 @@ func (i NodePoolDefaultsArgs) ToNodePoolDefaultsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NodePoolDefaultsOutput) } +func (i NodePoolDefaultsArgs) ToOutput(ctx context.Context) pulumix.Output[NodePoolDefaults] { + return pulumix.Output[NodePoolDefaults]{ + OutputState: i.ToNodePoolDefaultsOutputWithContext(ctx).OutputState, + } +} + func (i NodePoolDefaultsArgs) ToNodePoolDefaultsPtrOutput() NodePoolDefaultsPtrOutput { return i.ToNodePoolDefaultsPtrOutputWithContext(context.Background()) } @@ -14502,6 +16537,12 @@ func (i *nodePoolDefaultsPtrType) ToNodePoolDefaultsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NodePoolDefaultsPtrOutput) } +func (i *nodePoolDefaultsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodePoolDefaults] { + return pulumix.Output[*NodePoolDefaults]{ + OutputState: i.ToNodePoolDefaultsPtrOutputWithContext(ctx).OutputState, + } +} + // Subset of Nodepool message that has defaults. type NodePoolDefaultsOutput struct{ *pulumi.OutputState } @@ -14527,6 +16568,12 @@ func (o NodePoolDefaultsOutput) ToNodePoolDefaultsPtrOutputWithContext(ctx conte }).(NodePoolDefaultsPtrOutput) } +func (o NodePoolDefaultsOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolDefaults] { + return pulumix.Output[NodePoolDefaults]{ + OutputState: o.OutputState, + } +} + // Subset of NodeConfig message that has defaults. func (o NodePoolDefaultsOutput) NodeConfigDefaults() NodeConfigDefaultsPtrOutput { return o.ApplyT(func(v NodePoolDefaults) *NodeConfigDefaults { return v.NodeConfigDefaults }).(NodeConfigDefaultsPtrOutput) @@ -14546,6 +16593,12 @@ func (o NodePoolDefaultsPtrOutput) ToNodePoolDefaultsPtrOutputWithContext(ctx co return o } +func (o NodePoolDefaultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePoolDefaults] { + return pulumix.Output[*NodePoolDefaults]{ + OutputState: o.OutputState, + } +} + func (o NodePoolDefaultsPtrOutput) Elem() NodePoolDefaultsOutput { return o.ApplyT(func(v *NodePoolDefaults) NodePoolDefaults { if v != nil { @@ -14587,6 +16640,12 @@ func (o NodePoolDefaultsResponseOutput) ToNodePoolDefaultsResponseOutputWithCont return o } +func (o NodePoolDefaultsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolDefaultsResponse] { + return pulumix.Output[NodePoolDefaultsResponse]{ + OutputState: o.OutputState, + } +} + // Subset of NodeConfig message that has defaults. func (o NodePoolDefaultsResponseOutput) NodeConfigDefaults() NodeConfigDefaultsResponseOutput { return o.ApplyT(func(v NodePoolDefaultsResponse) NodeConfigDefaultsResponse { return v.NodeConfigDefaults }).(NodeConfigDefaultsResponseOutput) @@ -14627,6 +16686,12 @@ func (i NodePoolLoggingConfigArgs) ToNodePoolLoggingConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NodePoolLoggingConfigOutput) } +func (i NodePoolLoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodePoolLoggingConfig] { + return pulumix.Output[NodePoolLoggingConfig]{ + OutputState: i.ToNodePoolLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodePoolLoggingConfigArgs) ToNodePoolLoggingConfigPtrOutput() NodePoolLoggingConfigPtrOutput { return i.ToNodePoolLoggingConfigPtrOutputWithContext(context.Background()) } @@ -14668,6 +16733,12 @@ func (i *nodePoolLoggingConfigPtrType) ToNodePoolLoggingConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NodePoolLoggingConfigPtrOutput) } +func (i *nodePoolLoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodePoolLoggingConfig] { + return pulumix.Output[*NodePoolLoggingConfig]{ + OutputState: i.ToNodePoolLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // NodePoolLoggingConfig specifies logging configuration for nodepools. type NodePoolLoggingConfigOutput struct{ *pulumi.OutputState } @@ -14693,6 +16764,12 @@ func (o NodePoolLoggingConfigOutput) ToNodePoolLoggingConfigPtrOutputWithContext }).(NodePoolLoggingConfigPtrOutput) } +func (o NodePoolLoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolLoggingConfig] { + return pulumix.Output[NodePoolLoggingConfig]{ + OutputState: o.OutputState, + } +} + // Logging variant configuration. func (o NodePoolLoggingConfigOutput) VariantConfig() LoggingVariantConfigPtrOutput { return o.ApplyT(func(v NodePoolLoggingConfig) *LoggingVariantConfig { return v.VariantConfig }).(LoggingVariantConfigPtrOutput) @@ -14712,6 +16789,12 @@ func (o NodePoolLoggingConfigPtrOutput) ToNodePoolLoggingConfigPtrOutputWithCont return o } +func (o NodePoolLoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePoolLoggingConfig] { + return pulumix.Output[*NodePoolLoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o NodePoolLoggingConfigPtrOutput) Elem() NodePoolLoggingConfigOutput { return o.ApplyT(func(v *NodePoolLoggingConfig) NodePoolLoggingConfig { if v != nil { @@ -14753,6 +16836,12 @@ func (o NodePoolLoggingConfigResponseOutput) ToNodePoolLoggingConfigResponseOutp return o } +func (o NodePoolLoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolLoggingConfigResponse] { + return pulumix.Output[NodePoolLoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Logging variant configuration. func (o NodePoolLoggingConfigResponseOutput) VariantConfig() LoggingVariantConfigResponseOutput { return o.ApplyT(func(v NodePoolLoggingConfigResponse) LoggingVariantConfigResponse { return v.VariantConfig }).(LoggingVariantConfigResponseOutput) @@ -14817,6 +16906,12 @@ func (o NodePoolResponseOutput) ToNodePoolResponseOutputWithContext(ctx context. return o } +func (o NodePoolResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolResponse] { + return pulumix.Output[NodePoolResponse]{ + OutputState: o.OutputState, + } +} + // Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. func (o NodePoolResponseOutput) Autoscaling() NodePoolAutoscalingResponseOutput { return o.ApplyT(func(v NodePoolResponse) NodePoolAutoscalingResponse { return v.Autoscaling }).(NodePoolAutoscalingResponseOutput) @@ -14928,6 +17023,12 @@ func (o NodePoolResponseArrayOutput) ToNodePoolResponseArrayOutputWithContext(ct return o } +func (o NodePoolResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodePoolResponse] { + return pulumix.Output[[]NodePoolResponse]{ + OutputState: o.OutputState, + } +} + func (o NodePoolResponseArrayOutput) Index(i pulumi.IntInput) NodePoolResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodePoolResponse { return vs[0].([]NodePoolResponse)[vs[1].(int)] @@ -14977,6 +17078,12 @@ func (i NodeTaintArgs) ToNodeTaintOutputWithContext(ctx context.Context) NodeTai return pulumi.ToOutputWithContext(ctx, i).(NodeTaintOutput) } +func (i NodeTaintArgs) ToOutput(ctx context.Context) pulumix.Output[NodeTaint] { + return pulumix.Output[NodeTaint]{ + OutputState: i.ToNodeTaintOutputWithContext(ctx).OutputState, + } +} + // NodeTaintArrayInput is an input type that accepts NodeTaintArray and NodeTaintArrayOutput values. // You can construct a concrete instance of `NodeTaintArrayInput` via: // @@ -15002,6 +17109,12 @@ func (i NodeTaintArray) ToNodeTaintArrayOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NodeTaintArrayOutput) } +func (i NodeTaintArray) ToOutput(ctx context.Context) pulumix.Output[[]NodeTaint] { + return pulumix.Output[[]NodeTaint]{ + OutputState: i.ToNodeTaintArrayOutputWithContext(ctx).OutputState, + } +} + // Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. type NodeTaintOutput struct{ *pulumi.OutputState } @@ -15017,6 +17130,12 @@ func (o NodeTaintOutput) ToNodeTaintOutputWithContext(ctx context.Context) NodeT return o } +func (o NodeTaintOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTaint] { + return pulumix.Output[NodeTaint]{ + OutputState: o.OutputState, + } +} + // Effect for taint. func (o NodeTaintOutput) Effect() NodeTaintEffectPtrOutput { return o.ApplyT(func(v NodeTaint) *NodeTaintEffect { return v.Effect }).(NodeTaintEffectPtrOutput) @@ -15046,6 +17165,12 @@ func (o NodeTaintArrayOutput) ToNodeTaintArrayOutputWithContext(ctx context.Cont return o } +func (o NodeTaintArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeTaint] { + return pulumix.Output[[]NodeTaint]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintArrayOutput) Index(i pulumi.IntInput) NodeTaintOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeTaint { return vs[0].([]NodeTaint)[vs[1].(int)] @@ -15077,6 +17202,12 @@ func (o NodeTaintResponseOutput) ToNodeTaintResponseOutputWithContext(ctx contex return o } +func (o NodeTaintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTaintResponse] { + return pulumix.Output[NodeTaintResponse]{ + OutputState: o.OutputState, + } +} + // Effect for taint. func (o NodeTaintResponseOutput) Effect() pulumi.StringOutput { return o.ApplyT(func(v NodeTaintResponse) string { return v.Effect }).(pulumi.StringOutput) @@ -15106,6 +17237,12 @@ func (o NodeTaintResponseArrayOutput) ToNodeTaintResponseArrayOutputWithContext( return o } +func (o NodeTaintResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeTaintResponse] { + return pulumix.Output[[]NodeTaintResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintResponseArrayOutput) Index(i pulumi.IntInput) NodeTaintResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeTaintResponse { return vs[0].([]NodeTaintResponse)[vs[1].(int)] @@ -15153,6 +17290,12 @@ func (i NotificationConfigArgs) ToNotificationConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigOutput) } +func (i NotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NotificationConfig] { + return pulumix.Output[NotificationConfig]{ + OutputState: i.ToNotificationConfigOutputWithContext(ctx).OutputState, + } +} + func (i NotificationConfigArgs) ToNotificationConfigPtrOutput() NotificationConfigPtrOutput { return i.ToNotificationConfigPtrOutputWithContext(context.Background()) } @@ -15194,6 +17337,12 @@ func (i *notificationConfigPtrType) ToNotificationConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigPtrOutput) } +func (i *notificationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: i.ToNotificationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // NotificationConfig is the configuration of notifications. type NotificationConfigOutput struct{ *pulumi.OutputState } @@ -15219,6 +17368,12 @@ func (o NotificationConfigOutput) ToNotificationConfigPtrOutputWithContext(ctx c }).(NotificationConfigPtrOutput) } +func (o NotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfig] { + return pulumix.Output[NotificationConfig]{ + OutputState: o.OutputState, + } +} + // Notification config for Pub/Sub. func (o NotificationConfigOutput) Pubsub() PubSubPtrOutput { return o.ApplyT(func(v NotificationConfig) *PubSub { return v.Pubsub }).(PubSubPtrOutput) @@ -15238,6 +17393,12 @@ func (o NotificationConfigPtrOutput) ToNotificationConfigPtrOutputWithContext(ct return o } +func (o NotificationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o NotificationConfigPtrOutput) Elem() NotificationConfigOutput { return o.ApplyT(func(v *NotificationConfig) NotificationConfig { if v != nil { @@ -15279,6 +17440,12 @@ func (o NotificationConfigResponseOutput) ToNotificationConfigResponseOutputWith return o } +func (o NotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfigResponse] { + return pulumix.Output[NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Notification config for Pub/Sub. func (o NotificationConfigResponseOutput) Pubsub() PubSubResponseOutput { return o.ApplyT(func(v NotificationConfigResponse) PubSubResponse { return v.Pubsub }).(PubSubResponseOutput) @@ -15319,6 +17486,12 @@ func (i PlacementPolicyArgs) ToPlacementPolicyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PlacementPolicyOutput) } +func (i PlacementPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicy] { + return pulumix.Output[PlacementPolicy]{ + OutputState: i.ToPlacementPolicyOutputWithContext(ctx).OutputState, + } +} + func (i PlacementPolicyArgs) ToPlacementPolicyPtrOutput() PlacementPolicyPtrOutput { return i.ToPlacementPolicyPtrOutputWithContext(context.Background()) } @@ -15360,6 +17533,12 @@ func (i *placementPolicyPtrType) ToPlacementPolicyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(PlacementPolicyPtrOutput) } +func (i *placementPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*PlacementPolicy] { + return pulumix.Output[*PlacementPolicy]{ + OutputState: i.ToPlacementPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // PlacementPolicy defines the placement policy used by the node pool. type PlacementPolicyOutput struct{ *pulumi.OutputState } @@ -15385,6 +17564,12 @@ func (o PlacementPolicyOutput) ToPlacementPolicyPtrOutputWithContext(ctx context }).(PlacementPolicyPtrOutput) } +func (o PlacementPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicy] { + return pulumix.Output[PlacementPolicy]{ + OutputState: o.OutputState, + } +} + // The type of placement. func (o PlacementPolicyOutput) Type() PlacementPolicyTypePtrOutput { return o.ApplyT(func(v PlacementPolicy) *PlacementPolicyType { return v.Type }).(PlacementPolicyTypePtrOutput) @@ -15404,6 +17589,12 @@ func (o PlacementPolicyPtrOutput) ToPlacementPolicyPtrOutputWithContext(ctx cont return o } +func (o PlacementPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PlacementPolicy] { + return pulumix.Output[*PlacementPolicy]{ + OutputState: o.OutputState, + } +} + func (o PlacementPolicyPtrOutput) Elem() PlacementPolicyOutput { return o.ApplyT(func(v *PlacementPolicy) PlacementPolicy { if v != nil { @@ -15445,6 +17636,12 @@ func (o PlacementPolicyResponseOutput) ToPlacementPolicyResponseOutputWithContex return o } +func (o PlacementPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicyResponse] { + return pulumix.Output[PlacementPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The type of placement. func (o PlacementPolicyResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v PlacementPolicyResponse) string { return v.Type }).(pulumi.StringOutput) @@ -15485,6 +17682,12 @@ func (i PodCIDROverprovisionConfigArgs) ToPodCIDROverprovisionConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(PodCIDROverprovisionConfigOutput) } +func (i PodCIDROverprovisionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PodCIDROverprovisionConfig] { + return pulumix.Output[PodCIDROverprovisionConfig]{ + OutputState: i.ToPodCIDROverprovisionConfigOutputWithContext(ctx).OutputState, + } +} + func (i PodCIDROverprovisionConfigArgs) ToPodCIDROverprovisionConfigPtrOutput() PodCIDROverprovisionConfigPtrOutput { return i.ToPodCIDROverprovisionConfigPtrOutputWithContext(context.Background()) } @@ -15526,6 +17729,12 @@ func (i *podCIDROverprovisionConfigPtrType) ToPodCIDROverprovisionConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(PodCIDROverprovisionConfigPtrOutput) } +func (i *podCIDROverprovisionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PodCIDROverprovisionConfig] { + return pulumix.Output[*PodCIDROverprovisionConfig]{ + OutputState: i.ToPodCIDROverprovisionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // [PRIVATE FIELD] Config for pod CIDR size overprovisioning. type PodCIDROverprovisionConfigOutput struct{ *pulumi.OutputState } @@ -15551,6 +17760,12 @@ func (o PodCIDROverprovisionConfigOutput) ToPodCIDROverprovisionConfigPtrOutputW }).(PodCIDROverprovisionConfigPtrOutput) } +func (o PodCIDROverprovisionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PodCIDROverprovisionConfig] { + return pulumix.Output[PodCIDROverprovisionConfig]{ + OutputState: o.OutputState, + } +} + // Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default. func (o PodCIDROverprovisionConfigOutput) Disable() pulumi.BoolPtrOutput { return o.ApplyT(func(v PodCIDROverprovisionConfig) *bool { return v.Disable }).(pulumi.BoolPtrOutput) @@ -15570,6 +17785,12 @@ func (o PodCIDROverprovisionConfigPtrOutput) ToPodCIDROverprovisionConfigPtrOutp return o } +func (o PodCIDROverprovisionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PodCIDROverprovisionConfig] { + return pulumix.Output[*PodCIDROverprovisionConfig]{ + OutputState: o.OutputState, + } +} + func (o PodCIDROverprovisionConfigPtrOutput) Elem() PodCIDROverprovisionConfigOutput { return o.ApplyT(func(v *PodCIDROverprovisionConfig) PodCIDROverprovisionConfig { if v != nil { @@ -15611,6 +17832,12 @@ func (o PodCIDROverprovisionConfigResponseOutput) ToPodCIDROverprovisionConfigRe return o } +func (o PodCIDROverprovisionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PodCIDROverprovisionConfigResponse] { + return pulumix.Output[PodCIDROverprovisionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default. func (o PodCIDROverprovisionConfigResponseOutput) Disable() pulumi.BoolOutput { return o.ApplyT(func(v PodCIDROverprovisionConfigResponse) bool { return v.Disable }).(pulumi.BoolOutput) @@ -15667,6 +17894,12 @@ func (i PrivateClusterConfigArgs) ToPrivateClusterConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterConfigOutput) } +func (i PrivateClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfig] { + return pulumix.Output[PrivateClusterConfig]{ + OutputState: i.ToPrivateClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i PrivateClusterConfigArgs) ToPrivateClusterConfigPtrOutput() PrivateClusterConfigPtrOutput { return i.ToPrivateClusterConfigPtrOutputWithContext(context.Background()) } @@ -15708,6 +17941,12 @@ func (i *privateClusterConfigPtrType) ToPrivateClusterConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterConfigPtrOutput) } +func (i *privateClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterConfig] { + return pulumix.Output[*PrivateClusterConfig]{ + OutputState: i.ToPrivateClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for private clusters. type PrivateClusterConfigOutput struct{ *pulumi.OutputState } @@ -15733,6 +17972,12 @@ func (o PrivateClusterConfigOutput) ToPrivateClusterConfigPtrOutputWithContext(c }).(PrivateClusterConfigPtrOutput) } +func (o PrivateClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfig] { + return pulumix.Output[PrivateClusterConfig]{ + OutputState: o.OutputState, + } +} + // Whether the master's internal IP address is used as the cluster endpoint. func (o PrivateClusterConfigOutput) EnablePrivateEndpoint() pulumi.BoolPtrOutput { return o.ApplyT(func(v PrivateClusterConfig) *bool { return v.EnablePrivateEndpoint }).(pulumi.BoolPtrOutput) @@ -15774,6 +18019,12 @@ func (o PrivateClusterConfigPtrOutput) ToPrivateClusterConfigPtrOutputWithContex return o } +func (o PrivateClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterConfig] { + return pulumix.Output[*PrivateClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o PrivateClusterConfigPtrOutput) Elem() PrivateClusterConfigOutput { return o.ApplyT(func(v *PrivateClusterConfig) PrivateClusterConfig { if v != nil { @@ -15869,6 +18120,12 @@ func (o PrivateClusterConfigResponseOutput) ToPrivateClusterConfigResponseOutput return o } +func (o PrivateClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfigResponse] { + return pulumix.Output[PrivateClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the master's internal IP address is used as the cluster endpoint. func (o PrivateClusterConfigResponseOutput) EnablePrivateEndpoint() pulumi.BoolOutput { return o.ApplyT(func(v PrivateClusterConfigResponse) bool { return v.EnablePrivateEndpoint }).(pulumi.BoolOutput) @@ -15946,6 +18203,12 @@ func (i PrivateClusterMasterGlobalAccessConfigArgs) ToPrivateClusterMasterGlobal return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterMasterGlobalAccessConfigOutput) } +func (i PrivateClusterMasterGlobalAccessConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterMasterGlobalAccessConfig] { + return pulumix.Output[PrivateClusterMasterGlobalAccessConfig]{ + OutputState: i.ToPrivateClusterMasterGlobalAccessConfigOutputWithContext(ctx).OutputState, + } +} + func (i PrivateClusterMasterGlobalAccessConfigArgs) ToPrivateClusterMasterGlobalAccessConfigPtrOutput() PrivateClusterMasterGlobalAccessConfigPtrOutput { return i.ToPrivateClusterMasterGlobalAccessConfigPtrOutputWithContext(context.Background()) } @@ -15987,6 +18250,12 @@ func (i *privateClusterMasterGlobalAccessConfigPtrType) ToPrivateClusterMasterGl return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterMasterGlobalAccessConfigPtrOutput) } +func (i *privateClusterMasterGlobalAccessConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterMasterGlobalAccessConfig] { + return pulumix.Output[*PrivateClusterMasterGlobalAccessConfig]{ + OutputState: i.ToPrivateClusterMasterGlobalAccessConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for controlling master global access settings. type PrivateClusterMasterGlobalAccessConfigOutput struct{ *pulumi.OutputState } @@ -16012,6 +18281,12 @@ func (o PrivateClusterMasterGlobalAccessConfigOutput) ToPrivateClusterMasterGlob }).(PrivateClusterMasterGlobalAccessConfigPtrOutput) } +func (o PrivateClusterMasterGlobalAccessConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterMasterGlobalAccessConfig] { + return pulumix.Output[PrivateClusterMasterGlobalAccessConfig]{ + OutputState: o.OutputState, + } +} + // Whenever master is accessible globally or not. func (o PrivateClusterMasterGlobalAccessConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v PrivateClusterMasterGlobalAccessConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -16031,6 +18306,12 @@ func (o PrivateClusterMasterGlobalAccessConfigPtrOutput) ToPrivateClusterMasterG return o } +func (o PrivateClusterMasterGlobalAccessConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterMasterGlobalAccessConfig] { + return pulumix.Output[*PrivateClusterMasterGlobalAccessConfig]{ + OutputState: o.OutputState, + } +} + func (o PrivateClusterMasterGlobalAccessConfigPtrOutput) Elem() PrivateClusterMasterGlobalAccessConfigOutput { return o.ApplyT(func(v *PrivateClusterMasterGlobalAccessConfig) PrivateClusterMasterGlobalAccessConfig { if v != nil { @@ -16072,6 +18353,12 @@ func (o PrivateClusterMasterGlobalAccessConfigResponseOutput) ToPrivateClusterMa return o } +func (o PrivateClusterMasterGlobalAccessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterMasterGlobalAccessConfigResponse] { + return pulumix.Output[PrivateClusterMasterGlobalAccessConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whenever master is accessible globally or not. func (o PrivateClusterMasterGlobalAccessConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v PrivateClusterMasterGlobalAccessConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -16120,6 +18407,12 @@ func (i PubSubArgs) ToPubSubOutputWithContext(ctx context.Context) PubSubOutput return pulumi.ToOutputWithContext(ctx, i).(PubSubOutput) } +func (i PubSubArgs) ToOutput(ctx context.Context) pulumix.Output[PubSub] { + return pulumix.Output[PubSub]{ + OutputState: i.ToPubSubOutputWithContext(ctx).OutputState, + } +} + func (i PubSubArgs) ToPubSubPtrOutput() PubSubPtrOutput { return i.ToPubSubPtrOutputWithContext(context.Background()) } @@ -16161,6 +18454,12 @@ func (i *pubSubPtrType) ToPubSubPtrOutputWithContext(ctx context.Context) PubSub return pulumi.ToOutputWithContext(ctx, i).(PubSubPtrOutput) } +func (i *pubSubPtrType) ToOutput(ctx context.Context) pulumix.Output[*PubSub] { + return pulumix.Output[*PubSub]{ + OutputState: i.ToPubSubPtrOutputWithContext(ctx).OutputState, + } +} + // Pub/Sub specific notification config. type PubSubOutput struct{ *pulumi.OutputState } @@ -16186,6 +18485,12 @@ func (o PubSubOutput) ToPubSubPtrOutputWithContext(ctx context.Context) PubSubPt }).(PubSubPtrOutput) } +func (o PubSubOutput) ToOutput(ctx context.Context) pulumix.Output[PubSub] { + return pulumix.Output[PubSub]{ + OutputState: o.OutputState, + } +} + // Enable notifications for Pub/Sub. func (o PubSubOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v PubSub) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -16215,6 +18520,12 @@ func (o PubSubPtrOutput) ToPubSubPtrOutputWithContext(ctx context.Context) PubSu return o } +func (o PubSubPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PubSub] { + return pulumix.Output[*PubSub]{ + OutputState: o.OutputState, + } +} + func (o PubSubPtrOutput) Elem() PubSubOutput { return o.ApplyT(func(v *PubSub) PubSub { if v != nil { @@ -16280,6 +18591,12 @@ func (o PubSubResponseOutput) ToPubSubResponseOutputWithContext(ctx context.Cont return o } +func (o PubSubResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubSubResponse] { + return pulumix.Output[PubSubResponse]{ + OutputState: o.OutputState, + } +} + // Enable notifications for Pub/Sub. func (o PubSubResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v PubSubResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -16334,6 +18651,12 @@ func (i RecurringTimeWindowArgs) ToRecurringTimeWindowOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(RecurringTimeWindowOutput) } +func (i RecurringTimeWindowArgs) ToOutput(ctx context.Context) pulumix.Output[RecurringTimeWindow] { + return pulumix.Output[RecurringTimeWindow]{ + OutputState: i.ToRecurringTimeWindowOutputWithContext(ctx).OutputState, + } +} + func (i RecurringTimeWindowArgs) ToRecurringTimeWindowPtrOutput() RecurringTimeWindowPtrOutput { return i.ToRecurringTimeWindowPtrOutputWithContext(context.Background()) } @@ -16375,6 +18698,12 @@ func (i *recurringTimeWindowPtrType) ToRecurringTimeWindowPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RecurringTimeWindowPtrOutput) } +func (i *recurringTimeWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*RecurringTimeWindow] { + return pulumix.Output[*RecurringTimeWindow]{ + OutputState: i.ToRecurringTimeWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an arbitrary window of time that recurs. type RecurringTimeWindowOutput struct{ *pulumi.OutputState } @@ -16400,6 +18729,12 @@ func (o RecurringTimeWindowOutput) ToRecurringTimeWindowPtrOutputWithContext(ctx }).(RecurringTimeWindowPtrOutput) } +func (o RecurringTimeWindowOutput) ToOutput(ctx context.Context) pulumix.Output[RecurringTimeWindow] { + return pulumix.Output[RecurringTimeWindow]{ + OutputState: o.OutputState, + } +} + // An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use something like: ```start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ```start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA``` Note the start and end time's specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported. func (o RecurringTimeWindowOutput) Recurrence() pulumi.StringPtrOutput { return o.ApplyT(func(v RecurringTimeWindow) *string { return v.Recurrence }).(pulumi.StringPtrOutput) @@ -16424,6 +18759,12 @@ func (o RecurringTimeWindowPtrOutput) ToRecurringTimeWindowPtrOutputWithContext( return o } +func (o RecurringTimeWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RecurringTimeWindow] { + return pulumix.Output[*RecurringTimeWindow]{ + OutputState: o.OutputState, + } +} + func (o RecurringTimeWindowPtrOutput) Elem() RecurringTimeWindowOutput { return o.ApplyT(func(v *RecurringTimeWindow) RecurringTimeWindow { if v != nil { @@ -16477,6 +18818,12 @@ func (o RecurringTimeWindowResponseOutput) ToRecurringTimeWindowResponseOutputWi return o } +func (o RecurringTimeWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RecurringTimeWindowResponse] { + return pulumix.Output[RecurringTimeWindowResponse]{ + OutputState: o.OutputState, + } +} + // An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use something like: ```start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ```start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA``` Note the start and end time's specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported. func (o RecurringTimeWindowResponseOutput) Recurrence() pulumi.StringOutput { return o.ApplyT(func(v RecurringTimeWindowResponse) string { return v.Recurrence }).(pulumi.StringOutput) @@ -16522,6 +18869,12 @@ func (i ReleaseChannelArgs) ToReleaseChannelOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ReleaseChannelOutput) } +func (i ReleaseChannelArgs) ToOutput(ctx context.Context) pulumix.Output[ReleaseChannel] { + return pulumix.Output[ReleaseChannel]{ + OutputState: i.ToReleaseChannelOutputWithContext(ctx).OutputState, + } +} + func (i ReleaseChannelArgs) ToReleaseChannelPtrOutput() ReleaseChannelPtrOutput { return i.ToReleaseChannelPtrOutputWithContext(context.Background()) } @@ -16563,6 +18916,12 @@ func (i *releaseChannelPtrType) ToReleaseChannelPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ReleaseChannelPtrOutput) } +func (i *releaseChannelPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReleaseChannel] { + return pulumix.Output[*ReleaseChannel]{ + OutputState: i.ToReleaseChannelPtrOutputWithContext(ctx).OutputState, + } +} + // ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. type ReleaseChannelOutput struct{ *pulumi.OutputState } @@ -16588,6 +18947,12 @@ func (o ReleaseChannelOutput) ToReleaseChannelPtrOutputWithContext(ctx context.C }).(ReleaseChannelPtrOutput) } +func (o ReleaseChannelOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseChannel] { + return pulumix.Output[ReleaseChannel]{ + OutputState: o.OutputState, + } +} + // channel specifies which release channel the cluster is subscribed to. func (o ReleaseChannelOutput) Channel() ReleaseChannelChannelPtrOutput { return o.ApplyT(func(v ReleaseChannel) *ReleaseChannelChannel { return v.Channel }).(ReleaseChannelChannelPtrOutput) @@ -16607,6 +18972,12 @@ func (o ReleaseChannelPtrOutput) ToReleaseChannelPtrOutputWithContext(ctx contex return o } +func (o ReleaseChannelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReleaseChannel] { + return pulumix.Output[*ReleaseChannel]{ + OutputState: o.OutputState, + } +} + func (o ReleaseChannelPtrOutput) Elem() ReleaseChannelOutput { return o.ApplyT(func(v *ReleaseChannel) ReleaseChannel { if v != nil { @@ -16652,6 +19023,12 @@ func (o ReleaseChannelConfigResponseOutput) ToReleaseChannelConfigResponseOutput return o } +func (o ReleaseChannelConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseChannelConfigResponse] { + return pulumix.Output[ReleaseChannelConfigResponse]{ + OutputState: o.OutputState, + } +} + // The release channel this configuration applies to. func (o ReleaseChannelConfigResponseOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v ReleaseChannelConfigResponse) string { return v.Channel }).(pulumi.StringOutput) @@ -16681,6 +19058,12 @@ func (o ReleaseChannelConfigResponseArrayOutput) ToReleaseChannelConfigResponseA return o } +func (o ReleaseChannelConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReleaseChannelConfigResponse] { + return pulumix.Output[[]ReleaseChannelConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ReleaseChannelConfigResponseArrayOutput) Index(i pulumi.IntInput) ReleaseChannelConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReleaseChannelConfigResponse { return vs[0].([]ReleaseChannelConfigResponse)[vs[1].(int)] @@ -16708,6 +19091,12 @@ func (o ReleaseChannelResponseOutput) ToReleaseChannelResponseOutputWithContext( return o } +func (o ReleaseChannelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseChannelResponse] { + return pulumix.Output[ReleaseChannelResponse]{ + OutputState: o.OutputState, + } +} + // channel specifies which release channel the cluster is subscribed to. func (o ReleaseChannelResponseOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v ReleaseChannelResponse) string { return v.Channel }).(pulumi.StringOutput) @@ -16756,6 +19145,12 @@ func (i ReservationAffinityArgs) ToReservationAffinityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityOutput) } +func (i ReservationAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: i.ToReservationAffinityOutputWithContext(ctx).OutputState, + } +} + func (i ReservationAffinityArgs) ToReservationAffinityPtrOutput() ReservationAffinityPtrOutput { return i.ToReservationAffinityPtrOutputWithContext(context.Background()) } @@ -16797,6 +19192,12 @@ func (i *reservationAffinityPtrType) ToReservationAffinityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityPtrOutput) } +func (i *reservationAffinityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: i.ToReservationAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from. type ReservationAffinityOutput struct{ *pulumi.OutputState } @@ -16822,6 +19223,12 @@ func (o ReservationAffinityOutput) ToReservationAffinityPtrOutputWithContext(ctx }).(ReservationAffinityPtrOutput) } +func (o ReservationAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: o.OutputState, + } +} + // Corresponds to the type of reservation consumption. func (o ReservationAffinityOutput) ConsumeReservationType() ReservationAffinityConsumeReservationTypePtrOutput { return o.ApplyT(func(v ReservationAffinity) *ReservationAffinityConsumeReservationType { @@ -16853,6 +19260,12 @@ func (o ReservationAffinityPtrOutput) ToReservationAffinityPtrOutputWithContext( return o } +func (o ReservationAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityPtrOutput) Elem() ReservationAffinityOutput { return o.ApplyT(func(v *ReservationAffinity) ReservationAffinity { if v != nil { @@ -16918,6 +19331,12 @@ func (o ReservationAffinityResponseOutput) ToReservationAffinityResponseOutputWi return o } +func (o ReservationAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityResponse] { + return pulumix.Output[ReservationAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Corresponds to the type of reservation consumption. func (o ReservationAffinityResponseOutput) ConsumeReservationType() pulumi.StringOutput { return o.ApplyT(func(v ReservationAffinityResponse) string { return v.ConsumeReservationType }).(pulumi.StringOutput) @@ -16982,6 +19401,12 @@ func (i ResourceLimitArgs) ToResourceLimitOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ResourceLimitOutput) } +func (i ResourceLimitArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceLimit] { + return pulumix.Output[ResourceLimit]{ + OutputState: i.ToResourceLimitOutputWithContext(ctx).OutputState, + } +} + // ResourceLimitArrayInput is an input type that accepts ResourceLimitArray and ResourceLimitArrayOutput values. // You can construct a concrete instance of `ResourceLimitArrayInput` via: // @@ -17007,6 +19432,12 @@ func (i ResourceLimitArray) ToResourceLimitArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ResourceLimitArrayOutput) } +func (i ResourceLimitArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourceLimit] { + return pulumix.Output[[]ResourceLimit]{ + OutputState: i.ToResourceLimitArrayOutputWithContext(ctx).OutputState, + } +} + // Contains information about amount of some resource in the cluster. For memory, value should be in GB. type ResourceLimitOutput struct{ *pulumi.OutputState } @@ -17022,6 +19453,12 @@ func (o ResourceLimitOutput) ToResourceLimitOutputWithContext(ctx context.Contex return o } +func (o ResourceLimitOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceLimit] { + return pulumix.Output[ResourceLimit]{ + OutputState: o.OutputState, + } +} + // Maximum amount of the resource in the cluster. func (o ResourceLimitOutput) Maximum() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceLimit) *string { return v.Maximum }).(pulumi.StringPtrOutput) @@ -17051,6 +19488,12 @@ func (o ResourceLimitArrayOutput) ToResourceLimitArrayOutputWithContext(ctx cont return o } +func (o ResourceLimitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceLimit] { + return pulumix.Output[[]ResourceLimit]{ + OutputState: o.OutputState, + } +} + func (o ResourceLimitArrayOutput) Index(i pulumi.IntInput) ResourceLimitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceLimit { return vs[0].([]ResourceLimit)[vs[1].(int)] @@ -17082,6 +19525,12 @@ func (o ResourceLimitResponseOutput) ToResourceLimitResponseOutputWithContext(ct return o } +func (o ResourceLimitResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceLimitResponse] { + return pulumix.Output[ResourceLimitResponse]{ + OutputState: o.OutputState, + } +} + // Maximum amount of the resource in the cluster. func (o ResourceLimitResponseOutput) Maximum() pulumi.StringOutput { return o.ApplyT(func(v ResourceLimitResponse) string { return v.Maximum }).(pulumi.StringOutput) @@ -17111,6 +19560,12 @@ func (o ResourceLimitResponseArrayOutput) ToResourceLimitResponseArrayOutputWith return o } +func (o ResourceLimitResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceLimitResponse] { + return pulumix.Output[[]ResourceLimitResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceLimitResponseArrayOutput) Index(i pulumi.IntInput) ResourceLimitResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceLimitResponse { return vs[0].([]ResourceLimitResponse)[vs[1].(int)] @@ -17160,6 +19615,12 @@ func (i ResourceUsageExportConfigArgs) ToResourceUsageExportConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ResourceUsageExportConfigOutput) } +func (i ResourceUsageExportConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceUsageExportConfig] { + return pulumix.Output[ResourceUsageExportConfig]{ + OutputState: i.ToResourceUsageExportConfigOutputWithContext(ctx).OutputState, + } +} + func (i ResourceUsageExportConfigArgs) ToResourceUsageExportConfigPtrOutput() ResourceUsageExportConfigPtrOutput { return i.ToResourceUsageExportConfigPtrOutputWithContext(context.Background()) } @@ -17201,6 +19662,12 @@ func (i *resourceUsageExportConfigPtrType) ToResourceUsageExportConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ResourceUsageExportConfigPtrOutput) } +func (i *resourceUsageExportConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceUsageExportConfig] { + return pulumix.Output[*ResourceUsageExportConfig]{ + OutputState: i.ToResourceUsageExportConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for exporting cluster resource usages. type ResourceUsageExportConfigOutput struct{ *pulumi.OutputState } @@ -17226,6 +19693,12 @@ func (o ResourceUsageExportConfigOutput) ToResourceUsageExportConfigPtrOutputWit }).(ResourceUsageExportConfigPtrOutput) } +func (o ResourceUsageExportConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceUsageExportConfig] { + return pulumix.Output[ResourceUsageExportConfig]{ + OutputState: o.OutputState, + } +} + // Configuration to use BigQuery as usage export destination. func (o ResourceUsageExportConfigOutput) BigqueryDestination() BigQueryDestinationPtrOutput { return o.ApplyT(func(v ResourceUsageExportConfig) *BigQueryDestination { return v.BigqueryDestination }).(BigQueryDestinationPtrOutput) @@ -17255,6 +19728,12 @@ func (o ResourceUsageExportConfigPtrOutput) ToResourceUsageExportConfigPtrOutput return o } +func (o ResourceUsageExportConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceUsageExportConfig] { + return pulumix.Output[*ResourceUsageExportConfig]{ + OutputState: o.OutputState, + } +} + func (o ResourceUsageExportConfigPtrOutput) Elem() ResourceUsageExportConfigOutput { return o.ApplyT(func(v *ResourceUsageExportConfig) ResourceUsageExportConfig { if v != nil { @@ -17320,6 +19799,12 @@ func (o ResourceUsageExportConfigResponseOutput) ToResourceUsageExportConfigResp return o } +func (o ResourceUsageExportConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceUsageExportConfigResponse] { + return pulumix.Output[ResourceUsageExportConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration to use BigQuery as usage export destination. func (o ResourceUsageExportConfigResponseOutput) BigqueryDestination() BigQueryDestinationResponseOutput { return o.ApplyT(func(v ResourceUsageExportConfigResponse) BigQueryDestinationResponse { return v.BigqueryDestination }).(BigQueryDestinationResponseOutput) @@ -17372,6 +19857,12 @@ func (i SandboxConfigArgs) ToSandboxConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SandboxConfigOutput) } +func (i SandboxConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SandboxConfig] { + return pulumix.Output[SandboxConfig]{ + OutputState: i.ToSandboxConfigOutputWithContext(ctx).OutputState, + } +} + func (i SandboxConfigArgs) ToSandboxConfigPtrOutput() SandboxConfigPtrOutput { return i.ToSandboxConfigPtrOutputWithContext(context.Background()) } @@ -17413,6 +19904,12 @@ func (i *sandboxConfigPtrType) ToSandboxConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SandboxConfigPtrOutput) } +func (i *sandboxConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SandboxConfig] { + return pulumix.Output[*SandboxConfig]{ + OutputState: i.ToSandboxConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SandboxConfig contains configurations of the sandbox to use for the node. type SandboxConfigOutput struct{ *pulumi.OutputState } @@ -17438,6 +19935,12 @@ func (o SandboxConfigOutput) ToSandboxConfigPtrOutputWithContext(ctx context.Con }).(SandboxConfigPtrOutput) } +func (o SandboxConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SandboxConfig] { + return pulumix.Output[SandboxConfig]{ + OutputState: o.OutputState, + } +} + // Type of the sandbox to use for the node. func (o SandboxConfigOutput) Type() SandboxConfigTypePtrOutput { return o.ApplyT(func(v SandboxConfig) *SandboxConfigType { return v.Type }).(SandboxConfigTypePtrOutput) @@ -17457,6 +19960,12 @@ func (o SandboxConfigPtrOutput) ToSandboxConfigPtrOutputWithContext(ctx context. return o } +func (o SandboxConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SandboxConfig] { + return pulumix.Output[*SandboxConfig]{ + OutputState: o.OutputState, + } +} + func (o SandboxConfigPtrOutput) Elem() SandboxConfigOutput { return o.ApplyT(func(v *SandboxConfig) SandboxConfig { if v != nil { @@ -17498,6 +20007,12 @@ func (o SandboxConfigResponseOutput) ToSandboxConfigResponseOutputWithContext(ct return o } +func (o SandboxConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SandboxConfigResponse] { + return pulumix.Output[SandboxConfigResponse]{ + OutputState: o.OutputState, + } +} + // Type of the sandbox to use for the node. func (o SandboxConfigResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v SandboxConfigResponse) string { return v.Type }).(pulumi.StringOutput) @@ -17538,6 +20053,12 @@ func (i ServiceExternalIPsConfigArgs) ToServiceExternalIPsConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ServiceExternalIPsConfigOutput) } +func (i ServiceExternalIPsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceExternalIPsConfig] { + return pulumix.Output[ServiceExternalIPsConfig]{ + OutputState: i.ToServiceExternalIPsConfigOutputWithContext(ctx).OutputState, + } +} + func (i ServiceExternalIPsConfigArgs) ToServiceExternalIPsConfigPtrOutput() ServiceExternalIPsConfigPtrOutput { return i.ToServiceExternalIPsConfigPtrOutputWithContext(context.Background()) } @@ -17579,6 +20100,12 @@ func (i *serviceExternalIPsConfigPtrType) ToServiceExternalIPsConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ServiceExternalIPsConfigPtrOutput) } +func (i *serviceExternalIPsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceExternalIPsConfig] { + return pulumix.Output[*ServiceExternalIPsConfig]{ + OutputState: i.ToServiceExternalIPsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config to block services with externalIPs field. type ServiceExternalIPsConfigOutput struct{ *pulumi.OutputState } @@ -17604,6 +20131,12 @@ func (o ServiceExternalIPsConfigOutput) ToServiceExternalIPsConfigPtrOutputWithC }).(ServiceExternalIPsConfigPtrOutput) } +func (o ServiceExternalIPsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceExternalIPsConfig] { + return pulumix.Output[ServiceExternalIPsConfig]{ + OutputState: o.OutputState, + } +} + // Whether Services with ExternalIPs field are allowed or not. func (o ServiceExternalIPsConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ServiceExternalIPsConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -17623,6 +20156,12 @@ func (o ServiceExternalIPsConfigPtrOutput) ToServiceExternalIPsConfigPtrOutputWi return o } +func (o ServiceExternalIPsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceExternalIPsConfig] { + return pulumix.Output[*ServiceExternalIPsConfig]{ + OutputState: o.OutputState, + } +} + func (o ServiceExternalIPsConfigPtrOutput) Elem() ServiceExternalIPsConfigOutput { return o.ApplyT(func(v *ServiceExternalIPsConfig) ServiceExternalIPsConfig { if v != nil { @@ -17664,6 +20203,12 @@ func (o ServiceExternalIPsConfigResponseOutput) ToServiceExternalIPsConfigRespon return o } +func (o ServiceExternalIPsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceExternalIPsConfigResponse] { + return pulumix.Output[ServiceExternalIPsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Services with ExternalIPs field are allowed or not. func (o ServiceExternalIPsConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ServiceExternalIPsConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -17708,6 +20253,12 @@ func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigOutput) } +func (i ShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigPtrOutput() ShieldedInstanceConfigPtrOutput { return i.ToShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -17749,6 +20300,12 @@ func (i *shieldedInstanceConfigPtrType) ToShieldedInstanceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigPtrOutput) } +func (i *shieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded Instance options. type ShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -17774,6 +20331,12 @@ func (o ShieldedInstanceConfigOutput) ToShieldedInstanceConfigPtrOutputWithConte }).(ShieldedInstanceConfigPtrOutput) } +func (o ShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. func (o ShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -17798,6 +20361,12 @@ func (o ShieldedInstanceConfigPtrOutput) ToShieldedInstanceConfigPtrOutputWithCo return o } +func (o ShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceConfigPtrOutput) Elem() ShieldedInstanceConfigOutput { return o.ApplyT(func(v *ShieldedInstanceConfig) ShieldedInstanceConfig { if v != nil { @@ -17851,6 +20420,12 @@ func (o ShieldedInstanceConfigResponseOutput) ToShieldedInstanceConfigResponseOu return o } +func (o ShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfigResponse] { + return pulumix.Output[ShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. func (o ShieldedInstanceConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -17896,6 +20471,12 @@ func (i ShieldedNodesArgs) ToShieldedNodesOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ShieldedNodesOutput) } +func (i ShieldedNodesArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedNodes] { + return pulumix.Output[ShieldedNodes]{ + OutputState: i.ToShieldedNodesOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedNodesArgs) ToShieldedNodesPtrOutput() ShieldedNodesPtrOutput { return i.ToShieldedNodesPtrOutputWithContext(context.Background()) } @@ -17937,6 +20518,12 @@ func (i *shieldedNodesPtrType) ToShieldedNodesPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ShieldedNodesPtrOutput) } +func (i *shieldedNodesPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedNodes] { + return pulumix.Output[*ShieldedNodes]{ + OutputState: i.ToShieldedNodesPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of Shielded Nodes feature. type ShieldedNodesOutput struct{ *pulumi.OutputState } @@ -17962,6 +20549,12 @@ func (o ShieldedNodesOutput) ToShieldedNodesPtrOutputWithContext(ctx context.Con }).(ShieldedNodesPtrOutput) } +func (o ShieldedNodesOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedNodes] { + return pulumix.Output[ShieldedNodes]{ + OutputState: o.OutputState, + } +} + // Whether Shielded Nodes features are enabled on all nodes in this cluster. func (o ShieldedNodesOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedNodes) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -17981,6 +20574,12 @@ func (o ShieldedNodesPtrOutput) ToShieldedNodesPtrOutputWithContext(ctx context. return o } +func (o ShieldedNodesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedNodes] { + return pulumix.Output[*ShieldedNodes]{ + OutputState: o.OutputState, + } +} + func (o ShieldedNodesPtrOutput) Elem() ShieldedNodesOutput { return o.ApplyT(func(v *ShieldedNodes) ShieldedNodes { if v != nil { @@ -18022,6 +20621,12 @@ func (o ShieldedNodesResponseOutput) ToShieldedNodesResponseOutputWithContext(ct return o } +func (o ShieldedNodesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedNodesResponse] { + return pulumix.Output[ShieldedNodesResponse]{ + OutputState: o.OutputState, + } +} + // Whether Shielded Nodes features are enabled on all nodes in this cluster. func (o ShieldedNodesResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedNodesResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -18070,6 +20675,12 @@ func (i StandardRolloutPolicyArgs) ToStandardRolloutPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(StandardRolloutPolicyOutput) } +func (i StandardRolloutPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[StandardRolloutPolicy] { + return pulumix.Output[StandardRolloutPolicy]{ + OutputState: i.ToStandardRolloutPolicyOutputWithContext(ctx).OutputState, + } +} + func (i StandardRolloutPolicyArgs) ToStandardRolloutPolicyPtrOutput() StandardRolloutPolicyPtrOutput { return i.ToStandardRolloutPolicyPtrOutputWithContext(context.Background()) } @@ -18111,6 +20722,12 @@ func (i *standardRolloutPolicyPtrType) ToStandardRolloutPolicyPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(StandardRolloutPolicyPtrOutput) } +func (i *standardRolloutPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*StandardRolloutPolicy] { + return pulumix.Output[*StandardRolloutPolicy]{ + OutputState: i.ToStandardRolloutPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Standard rollout policy is the default policy for blue-green. type StandardRolloutPolicyOutput struct{ *pulumi.OutputState } @@ -18136,6 +20753,12 @@ func (o StandardRolloutPolicyOutput) ToStandardRolloutPolicyPtrOutputWithContext }).(StandardRolloutPolicyPtrOutput) } +func (o StandardRolloutPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[StandardRolloutPolicy] { + return pulumix.Output[StandardRolloutPolicy]{ + OutputState: o.OutputState, + } +} + // Number of blue nodes to drain in a batch. func (o StandardRolloutPolicyOutput) BatchNodeCount() pulumi.IntPtrOutput { return o.ApplyT(func(v StandardRolloutPolicy) *int { return v.BatchNodeCount }).(pulumi.IntPtrOutput) @@ -18165,6 +20788,12 @@ func (o StandardRolloutPolicyPtrOutput) ToStandardRolloutPolicyPtrOutputWithCont return o } +func (o StandardRolloutPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StandardRolloutPolicy] { + return pulumix.Output[*StandardRolloutPolicy]{ + OutputState: o.OutputState, + } +} + func (o StandardRolloutPolicyPtrOutput) Elem() StandardRolloutPolicyOutput { return o.ApplyT(func(v *StandardRolloutPolicy) StandardRolloutPolicy { if v != nil { @@ -18230,6 +20859,12 @@ func (o StandardRolloutPolicyResponseOutput) ToStandardRolloutPolicyResponseOutp return o } +func (o StandardRolloutPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StandardRolloutPolicyResponse] { + return pulumix.Output[StandardRolloutPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Number of blue nodes to drain in a batch. func (o StandardRolloutPolicyResponseOutput) BatchNodeCount() pulumi.IntOutput { return o.ApplyT(func(v StandardRolloutPolicyResponse) int { return v.BatchNodeCount }).(pulumi.IntOutput) @@ -18292,6 +20927,12 @@ func (i StatusConditionArgs) ToStatusConditionOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(StatusConditionOutput) } +func (i StatusConditionArgs) ToOutput(ctx context.Context) pulumix.Output[StatusCondition] { + return pulumix.Output[StatusCondition]{ + OutputState: i.ToStatusConditionOutputWithContext(ctx).OutputState, + } +} + // StatusConditionArrayInput is an input type that accepts StatusConditionArray and StatusConditionArrayOutput values. // You can construct a concrete instance of `StatusConditionArrayInput` via: // @@ -18317,6 +20958,12 @@ func (i StatusConditionArray) ToStatusConditionArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(StatusConditionArrayOutput) } +func (i StatusConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]StatusCondition] { + return pulumix.Output[[]StatusCondition]{ + OutputState: i.ToStatusConditionArrayOutputWithContext(ctx).OutputState, + } +} + // StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED). type StatusConditionOutput struct{ *pulumi.OutputState } @@ -18332,6 +20979,12 @@ func (o StatusConditionOutput) ToStatusConditionOutputWithContext(ctx context.Co return o } +func (o StatusConditionOutput) ToOutput(ctx context.Context) pulumix.Output[StatusCondition] { + return pulumix.Output[StatusCondition]{ + OutputState: o.OutputState, + } +} + // Canonical code of the condition. func (o StatusConditionOutput) CanonicalCode() StatusConditionCanonicalCodePtrOutput { return o.ApplyT(func(v StatusCondition) *StatusConditionCanonicalCode { return v.CanonicalCode }).(StatusConditionCanonicalCodePtrOutput) @@ -18363,6 +21016,12 @@ func (o StatusConditionArrayOutput) ToStatusConditionArrayOutputWithContext(ctx return o } +func (o StatusConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StatusCondition] { + return pulumix.Output[[]StatusCondition]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionArrayOutput) Index(i pulumi.IntInput) StatusConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StatusCondition { return vs[0].([]StatusCondition)[vs[1].(int)] @@ -18396,6 +21055,12 @@ func (o StatusConditionResponseOutput) ToStatusConditionResponseOutputWithContex return o } +func (o StatusConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusConditionResponse] { + return pulumix.Output[StatusConditionResponse]{ + OutputState: o.OutputState, + } +} + // Canonical code of the condition. func (o StatusConditionResponseOutput) CanonicalCode() pulumi.StringOutput { return o.ApplyT(func(v StatusConditionResponse) string { return v.CanonicalCode }).(pulumi.StringOutput) @@ -18427,6 +21092,12 @@ func (o StatusConditionResponseArrayOutput) ToStatusConditionResponseArrayOutput return o } +func (o StatusConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StatusConditionResponse] { + return pulumix.Output[[]StatusConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionResponseArrayOutput) Index(i pulumi.IntInput) StatusConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StatusConditionResponse { return vs[0].([]StatusConditionResponse)[vs[1].(int)] @@ -18476,6 +21147,12 @@ func (i TimeWindowArgs) ToTimeWindowOutputWithContext(ctx context.Context) TimeW return pulumi.ToOutputWithContext(ctx, i).(TimeWindowOutput) } +func (i TimeWindowArgs) ToOutput(ctx context.Context) pulumix.Output[TimeWindow] { + return pulumix.Output[TimeWindow]{ + OutputState: i.ToTimeWindowOutputWithContext(ctx).OutputState, + } +} + func (i TimeWindowArgs) ToTimeWindowPtrOutput() TimeWindowPtrOutput { return i.ToTimeWindowPtrOutputWithContext(context.Background()) } @@ -18517,6 +21194,12 @@ func (i *timeWindowPtrType) ToTimeWindowPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TimeWindowPtrOutput) } +func (i *timeWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*TimeWindow] { + return pulumix.Output[*TimeWindow]{ + OutputState: i.ToTimeWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an arbitrary window of time. type TimeWindowOutput struct{ *pulumi.OutputState } @@ -18542,6 +21225,12 @@ func (o TimeWindowOutput) ToTimeWindowPtrOutputWithContext(ctx context.Context) }).(TimeWindowPtrOutput) } +func (o TimeWindowOutput) ToOutput(ctx context.Context) pulumix.Output[TimeWindow] { + return pulumix.Output[TimeWindow]{ + OutputState: o.OutputState, + } +} + // The time that the window ends. The end time should take place after the start time. func (o TimeWindowOutput) EndTime() pulumi.StringPtrOutput { return o.ApplyT(func(v TimeWindow) *string { return v.EndTime }).(pulumi.StringPtrOutput) @@ -18571,6 +21260,12 @@ func (o TimeWindowPtrOutput) ToTimeWindowPtrOutputWithContext(ctx context.Contex return o } +func (o TimeWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimeWindow] { + return pulumix.Output[*TimeWindow]{ + OutputState: o.OutputState, + } +} + func (o TimeWindowPtrOutput) Elem() TimeWindowOutput { return o.ApplyT(func(v *TimeWindow) TimeWindow { if v != nil { @@ -18636,6 +21331,12 @@ func (o TimeWindowResponseOutput) ToTimeWindowResponseOutputWithContext(ctx cont return o } +func (o TimeWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeWindowResponse] { + return pulumix.Output[TimeWindowResponse]{ + OutputState: o.OutputState, + } +} + // The time that the window ends. The end time should take place after the start time. func (o TimeWindowResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v TimeWindowResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -18672,6 +21373,12 @@ func (o UpdateInfoResponseOutput) ToUpdateInfoResponseOutputWithContext(ctx cont return o } +func (o UpdateInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpdateInfoResponse] { + return pulumix.Output[UpdateInfoResponse]{ + OutputState: o.OutputState, + } +} + // Information of a blue-green upgrade. func (o UpdateInfoResponseOutput) BlueGreenInfo() BlueGreenInfoResponseOutput { return o.ApplyT(func(v UpdateInfoResponse) BlueGreenInfoResponse { return v.BlueGreenInfo }).(BlueGreenInfoResponseOutput) @@ -18724,6 +21431,12 @@ func (i UpgradeSettingsArgs) ToUpgradeSettingsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(UpgradeSettingsOutput) } +func (i UpgradeSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[UpgradeSettings] { + return pulumix.Output[UpgradeSettings]{ + OutputState: i.ToUpgradeSettingsOutputWithContext(ctx).OutputState, + } +} + func (i UpgradeSettingsArgs) ToUpgradeSettingsPtrOutput() UpgradeSettingsPtrOutput { return i.ToUpgradeSettingsPtrOutputWithContext(context.Background()) } @@ -18765,6 +21478,12 @@ func (i *upgradeSettingsPtrType) ToUpgradeSettingsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(UpgradeSettingsPtrOutput) } +func (i *upgradeSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*UpgradeSettings] { + return pulumix.Output[*UpgradeSettings]{ + OutputState: i.ToUpgradeSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available. These upgrade settings configure the upgrade strategy for the node pool. Use strategy to switch between the strategies applied to the node pool. If the strategy is ROLLING, use max_surge and max_unavailable to control the level of parallelism and the level of disruption caused by upgrade. 1. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. 2. maxUnavailable controls the number of nodes that can be simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). If the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-green upgrade related settings. 1. standard_rollout_policy is the default policy. The policy is used to control the way blue pool gets drained. The draining is executed in the batch mode. The batch size could be specified as either percentage of the node pool size or the number of nodes. batch_soak_duration is the soak time after each batch gets drained. 2. node_pool_soak_duration is the soak time after all blue nodes are drained. After this period, the blue pool nodes will be deleted. type UpgradeSettingsOutput struct{ *pulumi.OutputState } @@ -18790,6 +21509,12 @@ func (o UpgradeSettingsOutput) ToUpgradeSettingsPtrOutputWithContext(ctx context }).(UpgradeSettingsPtrOutput) } +func (o UpgradeSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeSettings] { + return pulumix.Output[UpgradeSettings]{ + OutputState: o.OutputState, + } +} + // Settings for blue-green upgrade strategy. func (o UpgradeSettingsOutput) BlueGreenSettings() BlueGreenSettingsPtrOutput { return o.ApplyT(func(v UpgradeSettings) *BlueGreenSettings { return v.BlueGreenSettings }).(BlueGreenSettingsPtrOutput) @@ -18824,6 +21549,12 @@ func (o UpgradeSettingsPtrOutput) ToUpgradeSettingsPtrOutputWithContext(ctx cont return o } +func (o UpgradeSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeSettings] { + return pulumix.Output[*UpgradeSettings]{ + OutputState: o.OutputState, + } +} + func (o UpgradeSettingsPtrOutput) Elem() UpgradeSettingsOutput { return o.ApplyT(func(v *UpgradeSettings) UpgradeSettings { if v != nil { @@ -18901,6 +21632,12 @@ func (o UpgradeSettingsResponseOutput) ToUpgradeSettingsResponseOutputWithContex return o } +func (o UpgradeSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeSettingsResponse] { + return pulumix.Output[UpgradeSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Settings for blue-green upgrade strategy. func (o UpgradeSettingsResponseOutput) BlueGreenSettings() BlueGreenSettingsResponseOutput { return o.ApplyT(func(v UpgradeSettingsResponse) BlueGreenSettingsResponse { return v.BlueGreenSettings }).(BlueGreenSettingsResponseOutput) @@ -18956,6 +21693,12 @@ func (i VerticalPodAutoscalingArgs) ToVerticalPodAutoscalingOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(VerticalPodAutoscalingOutput) } +func (i VerticalPodAutoscalingArgs) ToOutput(ctx context.Context) pulumix.Output[VerticalPodAutoscaling] { + return pulumix.Output[VerticalPodAutoscaling]{ + OutputState: i.ToVerticalPodAutoscalingOutputWithContext(ctx).OutputState, + } +} + func (i VerticalPodAutoscalingArgs) ToVerticalPodAutoscalingPtrOutput() VerticalPodAutoscalingPtrOutput { return i.ToVerticalPodAutoscalingPtrOutputWithContext(context.Background()) } @@ -18997,6 +21740,12 @@ func (i *verticalPodAutoscalingPtrType) ToVerticalPodAutoscalingPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(VerticalPodAutoscalingPtrOutput) } +func (i *verticalPodAutoscalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*VerticalPodAutoscaling] { + return pulumix.Output[*VerticalPodAutoscaling]{ + OutputState: i.ToVerticalPodAutoscalingPtrOutputWithContext(ctx).OutputState, + } +} + // VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it. type VerticalPodAutoscalingOutput struct{ *pulumi.OutputState } @@ -19022,6 +21771,12 @@ func (o VerticalPodAutoscalingOutput) ToVerticalPodAutoscalingPtrOutputWithConte }).(VerticalPodAutoscalingPtrOutput) } +func (o VerticalPodAutoscalingOutput) ToOutput(ctx context.Context) pulumix.Output[VerticalPodAutoscaling] { + return pulumix.Output[VerticalPodAutoscaling]{ + OutputState: o.OutputState, + } +} + // Enables vertical pod autoscaling. func (o VerticalPodAutoscalingOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v VerticalPodAutoscaling) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -19041,6 +21796,12 @@ func (o VerticalPodAutoscalingPtrOutput) ToVerticalPodAutoscalingPtrOutputWithCo return o } +func (o VerticalPodAutoscalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VerticalPodAutoscaling] { + return pulumix.Output[*VerticalPodAutoscaling]{ + OutputState: o.OutputState, + } +} + func (o VerticalPodAutoscalingPtrOutput) Elem() VerticalPodAutoscalingOutput { return o.ApplyT(func(v *VerticalPodAutoscaling) VerticalPodAutoscaling { if v != nil { @@ -19082,6 +21843,12 @@ func (o VerticalPodAutoscalingResponseOutput) ToVerticalPodAutoscalingResponseOu return o } +func (o VerticalPodAutoscalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VerticalPodAutoscalingResponse] { + return pulumix.Output[VerticalPodAutoscalingResponse]{ + OutputState: o.OutputState, + } +} + // Enables vertical pod autoscaling. func (o VerticalPodAutoscalingResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v VerticalPodAutoscalingResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -19122,6 +21889,12 @@ func (i VirtualNICArgs) ToVirtualNICOutputWithContext(ctx context.Context) Virtu return pulumi.ToOutputWithContext(ctx, i).(VirtualNICOutput) } +func (i VirtualNICArgs) ToOutput(ctx context.Context) pulumix.Output[VirtualNIC] { + return pulumix.Output[VirtualNIC]{ + OutputState: i.ToVirtualNICOutputWithContext(ctx).OutputState, + } +} + func (i VirtualNICArgs) ToVirtualNICPtrOutput() VirtualNICPtrOutput { return i.ToVirtualNICPtrOutputWithContext(context.Background()) } @@ -19163,6 +21936,12 @@ func (i *virtualNICPtrType) ToVirtualNICPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(VirtualNICPtrOutput) } +func (i *virtualNICPtrType) ToOutput(ctx context.Context) pulumix.Output[*VirtualNIC] { + return pulumix.Output[*VirtualNIC]{ + OutputState: i.ToVirtualNICPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of gVNIC feature. type VirtualNICOutput struct{ *pulumi.OutputState } @@ -19188,6 +21967,12 @@ func (o VirtualNICOutput) ToVirtualNICPtrOutputWithContext(ctx context.Context) }).(VirtualNICPtrOutput) } +func (o VirtualNICOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualNIC] { + return pulumix.Output[VirtualNIC]{ + OutputState: o.OutputState, + } +} + // Whether gVNIC features are enabled in the node pool. func (o VirtualNICOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v VirtualNIC) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -19207,6 +21992,12 @@ func (o VirtualNICPtrOutput) ToVirtualNICPtrOutputWithContext(ctx context.Contex return o } +func (o VirtualNICPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualNIC] { + return pulumix.Output[*VirtualNIC]{ + OutputState: o.OutputState, + } +} + func (o VirtualNICPtrOutput) Elem() VirtualNICOutput { return o.ApplyT(func(v *VirtualNIC) VirtualNIC { if v != nil { @@ -19248,6 +22039,12 @@ func (o VirtualNICResponseOutput) ToVirtualNICResponseOutputWithContext(ctx cont return o } +func (o VirtualNICResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualNICResponse] { + return pulumix.Output[VirtualNICResponse]{ + OutputState: o.OutputState, + } +} + // Whether gVNIC features are enabled in the node pool. func (o VirtualNICResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v VirtualNICResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -19288,6 +22085,12 @@ func (i WindowsNodeConfigArgs) ToWindowsNodeConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(WindowsNodeConfigOutput) } +func (i WindowsNodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WindowsNodeConfig] { + return pulumix.Output[WindowsNodeConfig]{ + OutputState: i.ToWindowsNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i WindowsNodeConfigArgs) ToWindowsNodeConfigPtrOutput() WindowsNodeConfigPtrOutput { return i.ToWindowsNodeConfigPtrOutputWithContext(context.Background()) } @@ -19329,6 +22132,12 @@ func (i *windowsNodeConfigPtrType) ToWindowsNodeConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(WindowsNodeConfigPtrOutput) } +func (i *windowsNodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WindowsNodeConfig] { + return pulumix.Output[*WindowsNodeConfig]{ + OutputState: i.ToWindowsNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings type WindowsNodeConfigOutput struct{ *pulumi.OutputState } @@ -19354,6 +22163,12 @@ func (o WindowsNodeConfigOutput) ToWindowsNodeConfigPtrOutputWithContext(ctx con }).(WindowsNodeConfigPtrOutput) } +func (o WindowsNodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsNodeConfig] { + return pulumix.Output[WindowsNodeConfig]{ + OutputState: o.OutputState, + } +} + // OSVersion specifies the Windows node config to be used on the node func (o WindowsNodeConfigOutput) OsVersion() WindowsNodeConfigOsVersionPtrOutput { return o.ApplyT(func(v WindowsNodeConfig) *WindowsNodeConfigOsVersion { return v.OsVersion }).(WindowsNodeConfigOsVersionPtrOutput) @@ -19373,6 +22188,12 @@ func (o WindowsNodeConfigPtrOutput) ToWindowsNodeConfigPtrOutputWithContext(ctx return o } +func (o WindowsNodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WindowsNodeConfig] { + return pulumix.Output[*WindowsNodeConfig]{ + OutputState: o.OutputState, + } +} + func (o WindowsNodeConfigPtrOutput) Elem() WindowsNodeConfigOutput { return o.ApplyT(func(v *WindowsNodeConfig) WindowsNodeConfig { if v != nil { @@ -19414,6 +22235,12 @@ func (o WindowsNodeConfigResponseOutput) ToWindowsNodeConfigResponseOutputWithCo return o } +func (o WindowsNodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsNodeConfigResponse] { + return pulumix.Output[WindowsNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // OSVersion specifies the Windows node config to be used on the node func (o WindowsNodeConfigResponseOutput) OsVersion() pulumi.StringOutput { return o.ApplyT(func(v WindowsNodeConfigResponse) string { return v.OsVersion }).(pulumi.StringOutput) @@ -19454,6 +22281,12 @@ func (i WorkloadIdentityConfigArgs) ToWorkloadIdentityConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(WorkloadIdentityConfigOutput) } +func (i WorkloadIdentityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkloadIdentityConfig] { + return pulumix.Output[WorkloadIdentityConfig]{ + OutputState: i.ToWorkloadIdentityConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkloadIdentityConfigArgs) ToWorkloadIdentityConfigPtrOutput() WorkloadIdentityConfigPtrOutput { return i.ToWorkloadIdentityConfigPtrOutputWithContext(context.Background()) } @@ -19495,6 +22328,12 @@ func (i *workloadIdentityConfigPtrType) ToWorkloadIdentityConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(WorkloadIdentityConfigPtrOutput) } +func (i *workloadIdentityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkloadIdentityConfig] { + return pulumix.Output[*WorkloadIdentityConfig]{ + OutputState: i.ToWorkloadIdentityConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. type WorkloadIdentityConfigOutput struct{ *pulumi.OutputState } @@ -19520,6 +22359,12 @@ func (o WorkloadIdentityConfigOutput) ToWorkloadIdentityConfigPtrOutputWithConte }).(WorkloadIdentityConfigPtrOutput) } +func (o WorkloadIdentityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadIdentityConfig] { + return pulumix.Output[WorkloadIdentityConfig]{ + OutputState: o.OutputState, + } +} + // The workload pool to attach all Kubernetes service accounts to. func (o WorkloadIdentityConfigOutput) WorkloadPool() pulumi.StringPtrOutput { return o.ApplyT(func(v WorkloadIdentityConfig) *string { return v.WorkloadPool }).(pulumi.StringPtrOutput) @@ -19539,6 +22384,12 @@ func (o WorkloadIdentityConfigPtrOutput) ToWorkloadIdentityConfigPtrOutputWithCo return o } +func (o WorkloadIdentityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadIdentityConfig] { + return pulumix.Output[*WorkloadIdentityConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkloadIdentityConfigPtrOutput) Elem() WorkloadIdentityConfigOutput { return o.ApplyT(func(v *WorkloadIdentityConfig) WorkloadIdentityConfig { if v != nil { @@ -19580,6 +22431,12 @@ func (o WorkloadIdentityConfigResponseOutput) ToWorkloadIdentityConfigResponseOu return o } +func (o WorkloadIdentityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadIdentityConfigResponse] { + return pulumix.Output[WorkloadIdentityConfigResponse]{ + OutputState: o.OutputState, + } +} + // The workload pool to attach all Kubernetes service accounts to. func (o WorkloadIdentityConfigResponseOutput) WorkloadPool() pulumi.StringOutput { return o.ApplyT(func(v WorkloadIdentityConfigResponse) string { return v.WorkloadPool }).(pulumi.StringOutput) @@ -19620,6 +22477,12 @@ func (i WorkloadMetadataConfigArgs) ToWorkloadMetadataConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(WorkloadMetadataConfigOutput) } +func (i WorkloadMetadataConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkloadMetadataConfig] { + return pulumix.Output[WorkloadMetadataConfig]{ + OutputState: i.ToWorkloadMetadataConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkloadMetadataConfigArgs) ToWorkloadMetadataConfigPtrOutput() WorkloadMetadataConfigPtrOutput { return i.ToWorkloadMetadataConfigPtrOutputWithContext(context.Background()) } @@ -19661,6 +22524,12 @@ func (i *workloadMetadataConfigPtrType) ToWorkloadMetadataConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(WorkloadMetadataConfigPtrOutput) } +func (i *workloadMetadataConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkloadMetadataConfig] { + return pulumix.Output[*WorkloadMetadataConfig]{ + OutputState: i.ToWorkloadMetadataConfigPtrOutputWithContext(ctx).OutputState, + } +} + // WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. type WorkloadMetadataConfigOutput struct{ *pulumi.OutputState } @@ -19686,6 +22555,12 @@ func (o WorkloadMetadataConfigOutput) ToWorkloadMetadataConfigPtrOutputWithConte }).(WorkloadMetadataConfigPtrOutput) } +func (o WorkloadMetadataConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadMetadataConfig] { + return pulumix.Output[WorkloadMetadataConfig]{ + OutputState: o.OutputState, + } +} + // Mode is the configuration for how to expose metadata to workloads running on the node pool. func (o WorkloadMetadataConfigOutput) Mode() WorkloadMetadataConfigModePtrOutput { return o.ApplyT(func(v WorkloadMetadataConfig) *WorkloadMetadataConfigMode { return v.Mode }).(WorkloadMetadataConfigModePtrOutput) @@ -19705,6 +22580,12 @@ func (o WorkloadMetadataConfigPtrOutput) ToWorkloadMetadataConfigPtrOutputWithCo return o } +func (o WorkloadMetadataConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadMetadataConfig] { + return pulumix.Output[*WorkloadMetadataConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkloadMetadataConfigPtrOutput) Elem() WorkloadMetadataConfigOutput { return o.ApplyT(func(v *WorkloadMetadataConfig) WorkloadMetadataConfig { if v != nil { @@ -19746,6 +22627,12 @@ func (o WorkloadMetadataConfigResponseOutput) ToWorkloadMetadataConfigResponseOu return o } +func (o WorkloadMetadataConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadMetadataConfigResponse] { + return pulumix.Output[WorkloadMetadataConfigResponse]{ + OutputState: o.OutputState, + } +} + // Mode is the configuration for how to expose metadata to workloads running on the node pool. func (o WorkloadMetadataConfigResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v WorkloadMetadataConfigResponse) string { return v.Mode }).(pulumi.StringOutput) diff --git a/sdk/go/google/container/v1beta1/cluster.go b/sdk/go/google/container/v1beta1/cluster.go index e95cafc011..252f04ec4e 100644 --- a/sdk/go/google/container/v1beta1/cluster.go +++ b/sdk/go/google/container/v1beta1/cluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using. @@ -556,6 +557,12 @@ func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput return pulumi.ToOutputWithContext(ctx, i).(ClusterOutput) } +func (i *Cluster) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { + return pulumix.Output[*Cluster]{ + OutputState: i.ToClusterOutputWithContext(ctx).OutputState, + } +} + type ClusterOutput struct{ *pulumi.OutputState } func (ClusterOutput) ElementType() reflect.Type { @@ -570,6 +577,12 @@ func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOu return o } +func (o ClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { + return pulumix.Output[*Cluster]{ + OutputState: o.OutputState, + } +} + // Configurations for the various addons available to run in the cluster. func (o ClusterOutput) AddonsConfig() AddonsConfigResponseOutput { return o.ApplyT(func(v *Cluster) AddonsConfigResponseOutput { return v.AddonsConfig }).(AddonsConfigResponseOutput) diff --git a/sdk/go/google/container/v1beta1/getCluster.go b/sdk/go/google/container/v1beta1/getCluster.go index e88c800981..c45d6950b4 100644 --- a/sdk/go/google/container/v1beta1/getCluster.go +++ b/sdk/go/google/container/v1beta1/getCluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details for a specific cluster. @@ -234,6 +235,12 @@ func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx co return o } +func (o LookupClusterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClusterResult] { + return pulumix.Output[LookupClusterResult]{ + OutputState: o.OutputState, + } +} + // Configurations for the various addons available to run in the cluster. func (o LookupClusterResultOutput) AddonsConfig() AddonsConfigResponseOutput { return o.ApplyT(func(v LookupClusterResult) AddonsConfigResponse { return v.AddonsConfig }).(AddonsConfigResponseOutput) diff --git a/sdk/go/google/container/v1beta1/getNodePool.go b/sdk/go/google/container/v1beta1/getNodePool.go index df2443ab85..e3f4a89a54 100644 --- a/sdk/go/google/container/v1beta1/getNodePool.go +++ b/sdk/go/google/container/v1beta1/getNodePool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the requested node pool. @@ -114,6 +115,12 @@ func (o LookupNodePoolResultOutput) ToLookupNodePoolResultOutputWithContext(ctx return o } +func (o LookupNodePoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodePoolResult] { + return pulumix.Output[LookupNodePoolResult]{ + OutputState: o.OutputState, + } +} + // Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. func (o LookupNodePoolResultOutput) Autoscaling() NodePoolAutoscalingResponseOutput { return o.ApplyT(func(v LookupNodePoolResult) NodePoolAutoscalingResponse { return v.Autoscaling }).(NodePoolAutoscalingResponseOutput) diff --git a/sdk/go/google/container/v1beta1/getServerConfig.go b/sdk/go/google/container/v1beta1/getServerConfig.go index ba5b17f74a..97264aff6b 100644 --- a/sdk/go/google/container/v1beta1/getServerConfig.go +++ b/sdk/go/google/container/v1beta1/getServerConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns configuration info about the Google Kubernetes Engine service. @@ -84,6 +85,12 @@ func (o GetServerConfigResultOutput) ToGetServerConfigResultOutputWithContext(ct return o } +func (o GetServerConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetServerConfigResult] { + return pulumix.Output[GetServerConfigResult]{ + OutputState: o.OutputState, + } +} + // List of release channel configurations. func (o GetServerConfigResultOutput) Channels() ReleaseChannelConfigResponseArrayOutput { return o.ApplyT(func(v GetServerConfigResult) []ReleaseChannelConfigResponse { return v.Channels }).(ReleaseChannelConfigResponseArrayOutput) diff --git a/sdk/go/google/container/v1beta1/nodePool.go b/sdk/go/google/container/v1beta1/nodePool.go index 90527857c0..1aff319bce 100644 --- a/sdk/go/google/container/v1beta1/nodePool.go +++ b/sdk/go/google/container/v1beta1/nodePool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a node pool for a cluster. @@ -221,6 +222,12 @@ func (i *NodePool) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutp return pulumi.ToOutputWithContext(ctx, i).(NodePoolOutput) } +func (i *NodePool) ToOutput(ctx context.Context) pulumix.Output[*NodePool] { + return pulumix.Output[*NodePool]{ + OutputState: i.ToNodePoolOutputWithContext(ctx).OutputState, + } +} + type NodePoolOutput struct{ *pulumi.OutputState } func (NodePoolOutput) ElementType() reflect.Type { @@ -235,6 +242,12 @@ func (o NodePoolOutput) ToNodePoolOutputWithContext(ctx context.Context) NodePoo return o } +func (o NodePoolOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePool] { + return pulumix.Output[*NodePool]{ + OutputState: o.OutputState, + } +} + // Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. func (o NodePoolOutput) Autoscaling() NodePoolAutoscalingResponseOutput { return o.ApplyT(func(v *NodePool) NodePoolAutoscalingResponseOutput { return v.Autoscaling }).(NodePoolAutoscalingResponseOutput) diff --git a/sdk/go/google/container/v1beta1/pulumiEnums.go b/sdk/go/google/container/v1beta1/pulumiEnums.go index 7c9eeffe4f..6b4e15a796 100644 --- a/sdk/go/google/container/v1beta1/pulumiEnums.go +++ b/sdk/go/google/container/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED. @@ -82,6 +83,12 @@ func (o BinaryAuthorizationEvaluationModeOutput) ToBinaryAuthorizationEvaluation }).(BinaryAuthorizationEvaluationModePtrOutput) } +func (o BinaryAuthorizationEvaluationModeOutput) ToOutput(ctx context.Context) pulumix.Output[BinaryAuthorizationEvaluationMode] { + return pulumix.Output[BinaryAuthorizationEvaluationMode]{ + OutputState: o.OutputState, + } +} + func (o BinaryAuthorizationEvaluationModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o BinaryAuthorizationEvaluationModePtrOutput) ToBinaryAuthorizationEvaluat return o } +func (o BinaryAuthorizationEvaluationModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BinaryAuthorizationEvaluationMode] { + return pulumix.Output[*BinaryAuthorizationEvaluationMode]{ + OutputState: o.OutputState, + } +} + func (o BinaryAuthorizationEvaluationModePtrOutput) Elem() BinaryAuthorizationEvaluationModeOutput { return o.ApplyT(func(v *BinaryAuthorizationEvaluationMode) BinaryAuthorizationEvaluationMode { if v != nil { @@ -179,6 +192,12 @@ func (in *binaryAuthorizationEvaluationModePtr) ToBinaryAuthorizationEvaluationM return pulumi.ToOutputWithContext(ctx, in).(BinaryAuthorizationEvaluationModePtrOutput) } +func (in *binaryAuthorizationEvaluationModePtr) ToOutput(ctx context.Context) pulumix.Output[*BinaryAuthorizationEvaluationMode] { + return pulumix.Output[*BinaryAuthorizationEvaluationMode]{ + OutputState: in.ToBinaryAuthorizationEvaluationModePtrOutputWithContext(ctx).OutputState, + } +} + // Which load balancer type is installed for Cloud Run. type CloudRunConfigLoadBalancerType string @@ -251,6 +270,12 @@ func (o CloudRunConfigLoadBalancerTypeOutput) ToCloudRunConfigLoadBalancerTypePt }).(CloudRunConfigLoadBalancerTypePtrOutput) } +func (o CloudRunConfigLoadBalancerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfigLoadBalancerType] { + return pulumix.Output[CloudRunConfigLoadBalancerType]{ + OutputState: o.OutputState, + } +} + func (o CloudRunConfigLoadBalancerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o CloudRunConfigLoadBalancerTypePtrOutput) ToCloudRunConfigLoadBalancerTyp return o } +func (o CloudRunConfigLoadBalancerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRunConfigLoadBalancerType] { + return pulumix.Output[*CloudRunConfigLoadBalancerType]{ + OutputState: o.OutputState, + } +} + func (o CloudRunConfigLoadBalancerTypePtrOutput) Elem() CloudRunConfigLoadBalancerTypeOutput { return o.ApplyT(func(v *CloudRunConfigLoadBalancerType) CloudRunConfigLoadBalancerType { if v != nil { @@ -348,6 +379,12 @@ func (in *cloudRunConfigLoadBalancerTypePtr) ToCloudRunConfigLoadBalancerTypePtr return pulumi.ToOutputWithContext(ctx, in).(CloudRunConfigLoadBalancerTypePtrOutput) } +func (in *cloudRunConfigLoadBalancerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CloudRunConfigLoadBalancerType] { + return pulumix.Output[*CloudRunConfigLoadBalancerType]{ + OutputState: in.ToCloudRunConfigLoadBalancerTypePtrOutputWithContext(ctx).OutputState, + } +} + // Defines autoscaling behaviour. type ClusterAutoscalingAutoscalingProfile string @@ -420,6 +457,12 @@ func (o ClusterAutoscalingAutoscalingProfileOutput) ToClusterAutoscalingAutoscal }).(ClusterAutoscalingAutoscalingProfilePtrOutput) } +func (o ClusterAutoscalingAutoscalingProfileOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscalingAutoscalingProfile] { + return pulumix.Output[ClusterAutoscalingAutoscalingProfile]{ + OutputState: o.OutputState, + } +} + func (o ClusterAutoscalingAutoscalingProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o ClusterAutoscalingAutoscalingProfilePtrOutput) ToClusterAutoscalingAutos return o } +func (o ClusterAutoscalingAutoscalingProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterAutoscalingAutoscalingProfile] { + return pulumix.Output[*ClusterAutoscalingAutoscalingProfile]{ + OutputState: o.OutputState, + } +} + func (o ClusterAutoscalingAutoscalingProfilePtrOutput) Elem() ClusterAutoscalingAutoscalingProfileOutput { return o.ApplyT(func(v *ClusterAutoscalingAutoscalingProfile) ClusterAutoscalingAutoscalingProfile { if v != nil { @@ -517,6 +566,12 @@ func (in *clusterAutoscalingAutoscalingProfilePtr) ToClusterAutoscalingAutoscali return pulumi.ToOutputWithContext(ctx, in).(ClusterAutoscalingAutoscalingProfilePtrOutput) } +func (in *clusterAutoscalingAutoscalingProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*ClusterAutoscalingAutoscalingProfile] { + return pulumix.Output[*ClusterAutoscalingAutoscalingProfile]{ + OutputState: in.ToClusterAutoscalingAutoscalingProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the integration. type ClusterTelemetryType string @@ -591,6 +646,12 @@ func (o ClusterTelemetryTypeOutput) ToClusterTelemetryTypePtrOutputWithContext(c }).(ClusterTelemetryTypePtrOutput) } +func (o ClusterTelemetryTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterTelemetryType] { + return pulumix.Output[ClusterTelemetryType]{ + OutputState: o.OutputState, + } +} + func (o ClusterTelemetryTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o ClusterTelemetryTypePtrOutput) ToClusterTelemetryTypePtrOutputWithContex return o } +func (o ClusterTelemetryTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterTelemetryType] { + return pulumix.Output[*ClusterTelemetryType]{ + OutputState: o.OutputState, + } +} + func (o ClusterTelemetryTypePtrOutput) Elem() ClusterTelemetryTypeOutput { return o.ApplyT(func(v *ClusterTelemetryType) ClusterTelemetryType { if v != nil { @@ -688,6 +755,12 @@ func (in *clusterTelemetryTypePtr) ToClusterTelemetryTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(ClusterTelemetryTypePtrOutput) } +func (in *clusterTelemetryTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ClusterTelemetryType] { + return pulumix.Output[*ClusterTelemetryType]{ + OutputState: in.ToClusterTelemetryTypePtrOutputWithContext(ctx).OutputState, + } +} + // The desired datapath provider for the cluster. type ClusterUpdateDesiredDatapathProvider string @@ -798,6 +871,12 @@ func (o DNSConfigClusterDnsOutput) ToDNSConfigClusterDnsPtrOutputWithContext(ctx }).(DNSConfigClusterDnsPtrOutput) } +func (o DNSConfigClusterDnsOutput) ToOutput(ctx context.Context) pulumix.Output[DNSConfigClusterDns] { + return pulumix.Output[DNSConfigClusterDns]{ + OutputState: o.OutputState, + } +} + func (o DNSConfigClusterDnsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -833,6 +912,12 @@ func (o DNSConfigClusterDnsPtrOutput) ToDNSConfigClusterDnsPtrOutputWithContext( return o } +func (o DNSConfigClusterDnsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DNSConfigClusterDns] { + return pulumix.Output[*DNSConfigClusterDns]{ + OutputState: o.OutputState, + } +} + func (o DNSConfigClusterDnsPtrOutput) Elem() DNSConfigClusterDnsOutput { return o.ApplyT(func(v *DNSConfigClusterDns) DNSConfigClusterDns { if v != nil { @@ -895,6 +980,12 @@ func (in *dnsconfigClusterDnsPtr) ToDNSConfigClusterDnsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(DNSConfigClusterDnsPtrOutput) } +func (in *dnsconfigClusterDnsPtr) ToOutput(ctx context.Context) pulumix.Output[*DNSConfigClusterDns] { + return pulumix.Output[*DNSConfigClusterDns]{ + OutputState: in.ToDNSConfigClusterDnsPtrOutputWithContext(ctx).OutputState, + } +} + // cluster_dns_scope indicates the scope of access to cluster DNS records. type DNSConfigClusterDnsScope string @@ -967,6 +1058,12 @@ func (o DNSConfigClusterDnsScopeOutput) ToDNSConfigClusterDnsScopePtrOutputWithC }).(DNSConfigClusterDnsScopePtrOutput) } +func (o DNSConfigClusterDnsScopeOutput) ToOutput(ctx context.Context) pulumix.Output[DNSConfigClusterDnsScope] { + return pulumix.Output[DNSConfigClusterDnsScope]{ + OutputState: o.OutputState, + } +} + func (o DNSConfigClusterDnsScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1002,6 +1099,12 @@ func (o DNSConfigClusterDnsScopePtrOutput) ToDNSConfigClusterDnsScopePtrOutputWi return o } +func (o DNSConfigClusterDnsScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DNSConfigClusterDnsScope] { + return pulumix.Output[*DNSConfigClusterDnsScope]{ + OutputState: o.OutputState, + } +} + func (o DNSConfigClusterDnsScopePtrOutput) Elem() DNSConfigClusterDnsScopeOutput { return o.ApplyT(func(v *DNSConfigClusterDnsScope) DNSConfigClusterDnsScope { if v != nil { @@ -1064,6 +1167,12 @@ func (in *dnsconfigClusterDnsScopePtr) ToDNSConfigClusterDnsScopePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DNSConfigClusterDnsScopePtrOutput) } +func (in *dnsconfigClusterDnsScopePtr) ToOutput(ctx context.Context) pulumix.Output[*DNSConfigClusterDnsScope] { + return pulumix.Output[*DNSConfigClusterDnsScope]{ + OutputState: in.ToDNSConfigClusterDnsScopePtrOutputWithContext(ctx).OutputState, + } +} + // The desired state of etcd encryption. type DatabaseEncryptionState string @@ -1136,6 +1245,12 @@ func (o DatabaseEncryptionStateOutput) ToDatabaseEncryptionStatePtrOutputWithCon }).(DatabaseEncryptionStatePtrOutput) } +func (o DatabaseEncryptionStateOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseEncryptionState] { + return pulumix.Output[DatabaseEncryptionState]{ + OutputState: o.OutputState, + } +} + func (o DatabaseEncryptionStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1171,6 +1286,12 @@ func (o DatabaseEncryptionStatePtrOutput) ToDatabaseEncryptionStatePtrOutputWith return o } +func (o DatabaseEncryptionStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseEncryptionState] { + return pulumix.Output[*DatabaseEncryptionState]{ + OutputState: o.OutputState, + } +} + func (o DatabaseEncryptionStatePtrOutput) Elem() DatabaseEncryptionStateOutput { return o.ApplyT(func(v *DatabaseEncryptionState) DatabaseEncryptionState { if v != nil { @@ -1233,6 +1354,12 @@ func (in *databaseEncryptionStatePtr) ToDatabaseEncryptionStatePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(DatabaseEncryptionStatePtrOutput) } +func (in *databaseEncryptionStatePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseEncryptionState] { + return pulumix.Output[*DatabaseEncryptionState]{ + OutputState: in.ToDatabaseEncryptionStatePtrOutputWithContext(ctx).OutputState, + } +} + type FilterEventTypeItem string const ( @@ -1306,6 +1433,12 @@ func (o FilterEventTypeItemOutput) ToFilterEventTypeItemPtrOutputWithContext(ctx }).(FilterEventTypeItemPtrOutput) } +func (o FilterEventTypeItemOutput) ToOutput(ctx context.Context) pulumix.Output[FilterEventTypeItem] { + return pulumix.Output[FilterEventTypeItem]{ + OutputState: o.OutputState, + } +} + func (o FilterEventTypeItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1341,6 +1474,12 @@ func (o FilterEventTypeItemPtrOutput) ToFilterEventTypeItemPtrOutputWithContext( return o } +func (o FilterEventTypeItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FilterEventTypeItem] { + return pulumix.Output[*FilterEventTypeItem]{ + OutputState: o.OutputState, + } +} + func (o FilterEventTypeItemPtrOutput) Elem() FilterEventTypeItemOutput { return o.ApplyT(func(v *FilterEventTypeItem) FilterEventTypeItem { if v != nil { @@ -1403,6 +1542,12 @@ func (in *filterEventTypeItemPtr) ToFilterEventTypeItemPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(FilterEventTypeItemPtrOutput) } +func (in *filterEventTypeItemPtr) ToOutput(ctx context.Context) pulumix.Output[*FilterEventTypeItem] { + return pulumix.Output[*FilterEventTypeItem]{ + OutputState: in.ToFilterEventTypeItemPtrOutputWithContext(ctx).OutputState, + } +} + // FilterEventTypeItemArrayInput is an input type that accepts FilterEventTypeItemArray and FilterEventTypeItemArrayOutput values. // You can construct a concrete instance of `FilterEventTypeItemArrayInput` via: // @@ -1428,6 +1573,12 @@ func (i FilterEventTypeItemArray) ToFilterEventTypeItemArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(FilterEventTypeItemArrayOutput) } +func (i FilterEventTypeItemArray) ToOutput(ctx context.Context) pulumix.Output[[]FilterEventTypeItem] { + return pulumix.Output[[]FilterEventTypeItem]{ + OutputState: i.ToFilterEventTypeItemArrayOutputWithContext(ctx).OutputState, + } +} + type FilterEventTypeItemArrayOutput struct{ *pulumi.OutputState } func (FilterEventTypeItemArrayOutput) ElementType() reflect.Type { @@ -1442,6 +1593,12 @@ func (o FilterEventTypeItemArrayOutput) ToFilterEventTypeItemArrayOutputWithCont return o } +func (o FilterEventTypeItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FilterEventTypeItem] { + return pulumix.Output[[]FilterEventTypeItem]{ + OutputState: o.OutputState, + } +} + func (o FilterEventTypeItemArrayOutput) Index(i pulumi.IntInput) FilterEventTypeItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FilterEventTypeItem { return vs[0].([]FilterEventTypeItem)[vs[1].(int)] @@ -1518,6 +1675,12 @@ func (o GPUSharingConfigGpuSharingStrategyOutput) ToGPUSharingConfigGpuSharingSt }).(GPUSharingConfigGpuSharingStrategyPtrOutput) } +func (o GPUSharingConfigGpuSharingStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[GPUSharingConfigGpuSharingStrategy] { + return pulumix.Output[GPUSharingConfigGpuSharingStrategy]{ + OutputState: o.OutputState, + } +} + func (o GPUSharingConfigGpuSharingStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1553,6 +1716,12 @@ func (o GPUSharingConfigGpuSharingStrategyPtrOutput) ToGPUSharingConfigGpuSharin return o } +func (o GPUSharingConfigGpuSharingStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GPUSharingConfigGpuSharingStrategy] { + return pulumix.Output[*GPUSharingConfigGpuSharingStrategy]{ + OutputState: o.OutputState, + } +} + func (o GPUSharingConfigGpuSharingStrategyPtrOutput) Elem() GPUSharingConfigGpuSharingStrategyOutput { return o.ApplyT(func(v *GPUSharingConfigGpuSharingStrategy) GPUSharingConfigGpuSharingStrategy { if v != nil { @@ -1615,6 +1784,12 @@ func (in *gpusharingConfigGpuSharingStrategyPtr) ToGPUSharingConfigGpuSharingStr return pulumi.ToOutputWithContext(ctx, in).(GPUSharingConfigGpuSharingStrategyPtrOutput) } +func (in *gpusharingConfigGpuSharingStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*GPUSharingConfigGpuSharingStrategy] { + return pulumix.Output[*GPUSharingConfigGpuSharingStrategy]{ + OutputState: in.ToGPUSharingConfigGpuSharingStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // The Gateway API release channel to use for Gateway API. type GatewayAPIConfigChannel string @@ -1689,6 +1864,12 @@ func (o GatewayAPIConfigChannelOutput) ToGatewayAPIConfigChannelPtrOutputWithCon }).(GatewayAPIConfigChannelPtrOutput) } +func (o GatewayAPIConfigChannelOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayAPIConfigChannel] { + return pulumix.Output[GatewayAPIConfigChannel]{ + OutputState: o.OutputState, + } +} + func (o GatewayAPIConfigChannelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1724,6 +1905,12 @@ func (o GatewayAPIConfigChannelPtrOutput) ToGatewayAPIConfigChannelPtrOutputWith return o } +func (o GatewayAPIConfigChannelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayAPIConfigChannel] { + return pulumix.Output[*GatewayAPIConfigChannel]{ + OutputState: o.OutputState, + } +} + func (o GatewayAPIConfigChannelPtrOutput) Elem() GatewayAPIConfigChannelOutput { return o.ApplyT(func(v *GatewayAPIConfigChannel) GatewayAPIConfigChannel { if v != nil { @@ -1786,6 +1973,12 @@ func (in *gatewayAPIConfigChannelPtr) ToGatewayAPIConfigChannelPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(GatewayAPIConfigChannelPtrOutput) } +func (in *gatewayAPIConfigChannelPtr) ToOutput(ctx context.Context) pulumix.Output[*GatewayAPIConfigChannel] { + return pulumix.Output[*GatewayAPIConfigChannel]{ + OutputState: in.ToGatewayAPIConfigChannelPtrOutputWithContext(ctx).OutputState, + } +} + // The ipv6 access type (internal or external) when create_subnetwork is true type IPAllocationPolicyIpv6AccessType string @@ -1858,6 +2051,12 @@ func (o IPAllocationPolicyIpv6AccessTypeOutput) ToIPAllocationPolicyIpv6AccessTy }).(IPAllocationPolicyIpv6AccessTypePtrOutput) } +func (o IPAllocationPolicyIpv6AccessTypeOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicyIpv6AccessType] { + return pulumix.Output[IPAllocationPolicyIpv6AccessType]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyIpv6AccessTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1893,6 +2092,12 @@ func (o IPAllocationPolicyIpv6AccessTypePtrOutput) ToIPAllocationPolicyIpv6Acces return o } +func (o IPAllocationPolicyIpv6AccessTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicyIpv6AccessType] { + return pulumix.Output[*IPAllocationPolicyIpv6AccessType]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyIpv6AccessTypePtrOutput) Elem() IPAllocationPolicyIpv6AccessTypeOutput { return o.ApplyT(func(v *IPAllocationPolicyIpv6AccessType) IPAllocationPolicyIpv6AccessType { if v != nil { @@ -1955,6 +2160,12 @@ func (in *ipallocationPolicyIpv6AccessTypePtr) ToIPAllocationPolicyIpv6AccessTyp return pulumi.ToOutputWithContext(ctx, in).(IPAllocationPolicyIpv6AccessTypePtrOutput) } +func (in *ipallocationPolicyIpv6AccessTypePtr) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicyIpv6AccessType] { + return pulumix.Output[*IPAllocationPolicyIpv6AccessType]{ + OutputState: in.ToIPAllocationPolicyIpv6AccessTypePtrOutputWithContext(ctx).OutputState, + } +} + // IP stack type type IPAllocationPolicyStackType string @@ -2027,6 +2238,12 @@ func (o IPAllocationPolicyStackTypeOutput) ToIPAllocationPolicyStackTypePtrOutpu }).(IPAllocationPolicyStackTypePtrOutput) } +func (o IPAllocationPolicyStackTypeOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicyStackType] { + return pulumix.Output[IPAllocationPolicyStackType]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyStackTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2062,6 +2279,12 @@ func (o IPAllocationPolicyStackTypePtrOutput) ToIPAllocationPolicyStackTypePtrOu return o } +func (o IPAllocationPolicyStackTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicyStackType] { + return pulumix.Output[*IPAllocationPolicyStackType]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyStackTypePtrOutput) Elem() IPAllocationPolicyStackTypeOutput { return o.ApplyT(func(v *IPAllocationPolicyStackType) IPAllocationPolicyStackType { if v != nil { @@ -2124,6 +2347,12 @@ func (in *ipallocationPolicyStackTypePtr) ToIPAllocationPolicyStackTypePtrOutput return pulumi.ToOutputWithContext(ctx, in).(IPAllocationPolicyStackTypePtrOutput) } +func (in *ipallocationPolicyStackTypePtr) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicyStackType] { + return pulumix.Output[*IPAllocationPolicyStackType]{ + OutputState: in.ToIPAllocationPolicyStackTypePtrOutputWithContext(ctx).OutputState, + } +} + // The specified Istio auth mode, either none, or mutual TLS. type IstioConfigAuth string @@ -2194,6 +2423,12 @@ func (o IstioConfigAuthOutput) ToIstioConfigAuthPtrOutputWithContext(ctx context }).(IstioConfigAuthPtrOutput) } +func (o IstioConfigAuthOutput) ToOutput(ctx context.Context) pulumix.Output[IstioConfigAuth] { + return pulumix.Output[IstioConfigAuth]{ + OutputState: o.OutputState, + } +} + func (o IstioConfigAuthOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2229,6 +2464,12 @@ func (o IstioConfigAuthPtrOutput) ToIstioConfigAuthPtrOutputWithContext(ctx cont return o } +func (o IstioConfigAuthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IstioConfigAuth] { + return pulumix.Output[*IstioConfigAuth]{ + OutputState: o.OutputState, + } +} + func (o IstioConfigAuthPtrOutput) Elem() IstioConfigAuthOutput { return o.ApplyT(func(v *IstioConfigAuth) IstioConfigAuth { if v != nil { @@ -2291,6 +2532,12 @@ func (in *istioConfigAuthPtr) ToIstioConfigAuthPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(IstioConfigAuthPtrOutput) } +func (in *istioConfigAuthPtr) ToOutput(ctx context.Context) pulumix.Output[*IstioConfigAuth] { + return pulumix.Output[*IstioConfigAuth]{ + OutputState: in.ToIstioConfigAuthPtrOutputWithContext(ctx).OutputState, + } +} + // cgroup_mode specifies the cgroup mode to be used on the node. type LinuxNodeConfigCgroupMode string @@ -2363,6 +2610,12 @@ func (o LinuxNodeConfigCgroupModeOutput) ToLinuxNodeConfigCgroupModePtrOutputWit }).(LinuxNodeConfigCgroupModePtrOutput) } +func (o LinuxNodeConfigCgroupModeOutput) ToOutput(ctx context.Context) pulumix.Output[LinuxNodeConfigCgroupMode] { + return pulumix.Output[LinuxNodeConfigCgroupMode]{ + OutputState: o.OutputState, + } +} + func (o LinuxNodeConfigCgroupModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2398,6 +2651,12 @@ func (o LinuxNodeConfigCgroupModePtrOutput) ToLinuxNodeConfigCgroupModePtrOutput return o } +func (o LinuxNodeConfigCgroupModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LinuxNodeConfigCgroupMode] { + return pulumix.Output[*LinuxNodeConfigCgroupMode]{ + OutputState: o.OutputState, + } +} + func (o LinuxNodeConfigCgroupModePtrOutput) Elem() LinuxNodeConfigCgroupModeOutput { return o.ApplyT(func(v *LinuxNodeConfigCgroupMode) LinuxNodeConfigCgroupMode { if v != nil { @@ -2460,6 +2719,12 @@ func (in *linuxNodeConfigCgroupModePtr) ToLinuxNodeConfigCgroupModePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(LinuxNodeConfigCgroupModePtrOutput) } +func (in *linuxNodeConfigCgroupModePtr) ToOutput(ctx context.Context) pulumix.Output[*LinuxNodeConfigCgroupMode] { + return pulumix.Output[*LinuxNodeConfigCgroupMode]{ + OutputState: in.ToLinuxNodeConfigCgroupModePtrOutputWithContext(ctx).OutputState, + } +} + type LoggingComponentConfigEnableComponentsItem string const ( @@ -2537,6 +2802,12 @@ func (o LoggingComponentConfigEnableComponentsItemOutput) ToLoggingComponentConf }).(LoggingComponentConfigEnableComponentsItemPtrOutput) } +func (o LoggingComponentConfigEnableComponentsItemOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingComponentConfigEnableComponentsItem] { + return pulumix.Output[LoggingComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingComponentConfigEnableComponentsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2572,6 +2843,12 @@ func (o LoggingComponentConfigEnableComponentsItemPtrOutput) ToLoggingComponentC return o } +func (o LoggingComponentConfigEnableComponentsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingComponentConfigEnableComponentsItem] { + return pulumix.Output[*LoggingComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingComponentConfigEnableComponentsItemPtrOutput) Elem() LoggingComponentConfigEnableComponentsItemOutput { return o.ApplyT(func(v *LoggingComponentConfigEnableComponentsItem) LoggingComponentConfigEnableComponentsItem { if v != nil { @@ -2634,6 +2911,12 @@ func (in *loggingComponentConfigEnableComponentsItemPtr) ToLoggingComponentConfi return pulumi.ToOutputWithContext(ctx, in).(LoggingComponentConfigEnableComponentsItemPtrOutput) } +func (in *loggingComponentConfigEnableComponentsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*LoggingComponentConfigEnableComponentsItem] { + return pulumix.Output[*LoggingComponentConfigEnableComponentsItem]{ + OutputState: in.ToLoggingComponentConfigEnableComponentsItemPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingComponentConfigEnableComponentsItemArrayInput is an input type that accepts LoggingComponentConfigEnableComponentsItemArray and LoggingComponentConfigEnableComponentsItemArrayOutput values. // You can construct a concrete instance of `LoggingComponentConfigEnableComponentsItemArrayInput` via: // @@ -2659,6 +2942,12 @@ func (i LoggingComponentConfigEnableComponentsItemArray) ToLoggingComponentConfi return pulumi.ToOutputWithContext(ctx, i).(LoggingComponentConfigEnableComponentsItemArrayOutput) } +func (i LoggingComponentConfigEnableComponentsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]LoggingComponentConfigEnableComponentsItem] { + return pulumix.Output[[]LoggingComponentConfigEnableComponentsItem]{ + OutputState: i.ToLoggingComponentConfigEnableComponentsItemArrayOutputWithContext(ctx).OutputState, + } +} + type LoggingComponentConfigEnableComponentsItemArrayOutput struct{ *pulumi.OutputState } func (LoggingComponentConfigEnableComponentsItemArrayOutput) ElementType() reflect.Type { @@ -2673,6 +2962,12 @@ func (o LoggingComponentConfigEnableComponentsItemArrayOutput) ToLoggingComponen return o } +func (o LoggingComponentConfigEnableComponentsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LoggingComponentConfigEnableComponentsItem] { + return pulumix.Output[[]LoggingComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingComponentConfigEnableComponentsItemArrayOutput) Index(i pulumi.IntInput) LoggingComponentConfigEnableComponentsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoggingComponentConfigEnableComponentsItem { return vs[0].([]LoggingComponentConfigEnableComponentsItem)[vs[1].(int)] @@ -2751,6 +3046,12 @@ func (o LoggingVariantConfigVariantOutput) ToLoggingVariantConfigVariantPtrOutpu }).(LoggingVariantConfigVariantPtrOutput) } +func (o LoggingVariantConfigVariantOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingVariantConfigVariant] { + return pulumix.Output[LoggingVariantConfigVariant]{ + OutputState: o.OutputState, + } +} + func (o LoggingVariantConfigVariantOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2786,6 +3087,12 @@ func (o LoggingVariantConfigVariantPtrOutput) ToLoggingVariantConfigVariantPtrOu return o } +func (o LoggingVariantConfigVariantPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingVariantConfigVariant] { + return pulumix.Output[*LoggingVariantConfigVariant]{ + OutputState: o.OutputState, + } +} + func (o LoggingVariantConfigVariantPtrOutput) Elem() LoggingVariantConfigVariantOutput { return o.ApplyT(func(v *LoggingVariantConfigVariant) LoggingVariantConfigVariant { if v != nil { @@ -2848,6 +3155,12 @@ func (in *loggingVariantConfigVariantPtr) ToLoggingVariantConfigVariantPtrOutput return pulumi.ToOutputWithContext(ctx, in).(LoggingVariantConfigVariantPtrOutput) } +func (in *loggingVariantConfigVariantPtr) ToOutput(ctx context.Context) pulumix.Output[*LoggingVariantConfigVariant] { + return pulumix.Output[*LoggingVariantConfigVariant]{ + OutputState: in.ToLoggingVariantConfigVariantPtrOutputWithContext(ctx).OutputState, + } +} + // Scope specifies the upgrade scope which upgrades are blocked by the exclusion. type MaintenanceExclusionOptionsScope string @@ -2920,6 +3233,12 @@ func (o MaintenanceExclusionOptionsScopeOutput) ToMaintenanceExclusionOptionsSco }).(MaintenanceExclusionOptionsScopePtrOutput) } +func (o MaintenanceExclusionOptionsScopeOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceExclusionOptionsScope] { + return pulumix.Output[MaintenanceExclusionOptionsScope]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceExclusionOptionsScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2955,6 +3274,12 @@ func (o MaintenanceExclusionOptionsScopePtrOutput) ToMaintenanceExclusionOptions return o } +func (o MaintenanceExclusionOptionsScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceExclusionOptionsScope] { + return pulumix.Output[*MaintenanceExclusionOptionsScope]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceExclusionOptionsScopePtrOutput) Elem() MaintenanceExclusionOptionsScopeOutput { return o.ApplyT(func(v *MaintenanceExclusionOptionsScope) MaintenanceExclusionOptionsScope { if v != nil { @@ -3017,6 +3342,12 @@ func (in *maintenanceExclusionOptionsScopePtr) ToMaintenanceExclusionOptionsScop return pulumi.ToOutputWithContext(ctx, in).(MaintenanceExclusionOptionsScopePtrOutput) } +func (in *maintenanceExclusionOptionsScopePtr) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceExclusionOptionsScope] { + return pulumix.Output[*MaintenanceExclusionOptionsScope]{ + OutputState: in.ToMaintenanceExclusionOptionsScopePtrOutputWithContext(ctx).OutputState, + } +} + type MonitoringComponentConfigEnableComponentsItem string const ( @@ -3094,6 +3425,12 @@ func (o MonitoringComponentConfigEnableComponentsItemOutput) ToMonitoringCompone }).(MonitoringComponentConfigEnableComponentsItemPtrOutput) } +func (o MonitoringComponentConfigEnableComponentsItemOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringComponentConfigEnableComponentsItem] { + return pulumix.Output[MonitoringComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o MonitoringComponentConfigEnableComponentsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3129,6 +3466,12 @@ func (o MonitoringComponentConfigEnableComponentsItemPtrOutput) ToMonitoringComp return o } +func (o MonitoringComponentConfigEnableComponentsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringComponentConfigEnableComponentsItem] { + return pulumix.Output[*MonitoringComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o MonitoringComponentConfigEnableComponentsItemPtrOutput) Elem() MonitoringComponentConfigEnableComponentsItemOutput { return o.ApplyT(func(v *MonitoringComponentConfigEnableComponentsItem) MonitoringComponentConfigEnableComponentsItem { if v != nil { @@ -3191,6 +3534,12 @@ func (in *monitoringComponentConfigEnableComponentsItemPtr) ToMonitoringComponen return pulumi.ToOutputWithContext(ctx, in).(MonitoringComponentConfigEnableComponentsItemPtrOutput) } +func (in *monitoringComponentConfigEnableComponentsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*MonitoringComponentConfigEnableComponentsItem] { + return pulumix.Output[*MonitoringComponentConfigEnableComponentsItem]{ + OutputState: in.ToMonitoringComponentConfigEnableComponentsItemPtrOutputWithContext(ctx).OutputState, + } +} + // MonitoringComponentConfigEnableComponentsItemArrayInput is an input type that accepts MonitoringComponentConfigEnableComponentsItemArray and MonitoringComponentConfigEnableComponentsItemArrayOutput values. // You can construct a concrete instance of `MonitoringComponentConfigEnableComponentsItemArrayInput` via: // @@ -3216,6 +3565,12 @@ func (i MonitoringComponentConfigEnableComponentsItemArray) ToMonitoringComponen return pulumi.ToOutputWithContext(ctx, i).(MonitoringComponentConfigEnableComponentsItemArrayOutput) } +func (i MonitoringComponentConfigEnableComponentsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]MonitoringComponentConfigEnableComponentsItem] { + return pulumix.Output[[]MonitoringComponentConfigEnableComponentsItem]{ + OutputState: i.ToMonitoringComponentConfigEnableComponentsItemArrayOutputWithContext(ctx).OutputState, + } +} + type MonitoringComponentConfigEnableComponentsItemArrayOutput struct{ *pulumi.OutputState } func (MonitoringComponentConfigEnableComponentsItemArrayOutput) ElementType() reflect.Type { @@ -3230,6 +3585,12 @@ func (o MonitoringComponentConfigEnableComponentsItemArrayOutput) ToMonitoringCo return o } +func (o MonitoringComponentConfigEnableComponentsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MonitoringComponentConfigEnableComponentsItem] { + return pulumix.Output[[]MonitoringComponentConfigEnableComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o MonitoringComponentConfigEnableComponentsItemArrayOutput) Index(i pulumi.IntInput) MonitoringComponentConfigEnableComponentsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitoringComponentConfigEnableComponentsItem { return vs[0].([]MonitoringComponentConfigEnableComponentsItem)[vs[1].(int)] @@ -3308,6 +3669,12 @@ func (o NetworkConfigDatapathProviderOutput) ToNetworkConfigDatapathProviderPtrO }).(NetworkConfigDatapathProviderPtrOutput) } +func (o NetworkConfigDatapathProviderOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigDatapathProvider] { + return pulumix.Output[NetworkConfigDatapathProvider]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigDatapathProviderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3343,6 +3710,12 @@ func (o NetworkConfigDatapathProviderPtrOutput) ToNetworkConfigDatapathProviderP return o } +func (o NetworkConfigDatapathProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigDatapathProvider] { + return pulumix.Output[*NetworkConfigDatapathProvider]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigDatapathProviderPtrOutput) Elem() NetworkConfigDatapathProviderOutput { return o.ApplyT(func(v *NetworkConfigDatapathProvider) NetworkConfigDatapathProvider { if v != nil { @@ -3405,6 +3778,12 @@ func (in *networkConfigDatapathProviderPtr) ToNetworkConfigDatapathProviderPtrOu return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigDatapathProviderPtrOutput) } +func (in *networkConfigDatapathProviderPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigDatapathProvider] { + return pulumix.Output[*NetworkConfigDatapathProvider]{ + OutputState: in.ToNetworkConfigDatapathProviderPtrOutputWithContext(ctx).OutputState, + } +} + // The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4) type NetworkConfigPrivateIpv6GoogleAccess string @@ -3479,6 +3858,12 @@ func (o NetworkConfigPrivateIpv6GoogleAccessOutput) ToNetworkConfigPrivateIpv6Go }).(NetworkConfigPrivateIpv6GoogleAccessPtrOutput) } +func (o NetworkConfigPrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[NetworkConfigPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3514,6 +3899,12 @@ func (o NetworkConfigPrivateIpv6GoogleAccessPtrOutput) ToNetworkConfigPrivateIpv return o } +func (o NetworkConfigPrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[*NetworkConfigPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPrivateIpv6GoogleAccessPtrOutput) Elem() NetworkConfigPrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *NetworkConfigPrivateIpv6GoogleAccess) NetworkConfigPrivateIpv6GoogleAccess { if v != nil { @@ -3576,6 +3967,12 @@ func (in *networkConfigPrivateIpv6GoogleAccessPtr) ToNetworkConfigPrivateIpv6Goo return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigPrivateIpv6GoogleAccessPtrOutput) } +func (in *networkConfigPrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[*NetworkConfigPrivateIpv6GoogleAccess]{ + OutputState: in.ToNetworkConfigPrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses. type NetworkPerformanceConfigExternalIpEgressBandwidthTier string @@ -3646,6 +4043,12 @@ func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierOutput) ToNetworkPe }).(NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput) } +func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigExternalIpEgressBandwidthTier] { + return pulumix.Output[NetworkPerformanceConfigExternalIpEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3681,6 +4084,12 @@ func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput) ToNetwor return o } +func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigExternalIpEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigExternalIpEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput) Elem() NetworkPerformanceConfigExternalIpEgressBandwidthTierOutput { return o.ApplyT(func(v *NetworkPerformanceConfigExternalIpEgressBandwidthTier) NetworkPerformanceConfigExternalIpEgressBandwidthTier { if v != nil { @@ -3743,6 +4152,12 @@ func (in *networkPerformanceConfigExternalIpEgressBandwidthTierPtr) ToNetworkPer return pulumi.ToOutputWithContext(ctx, in).(NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput) } +func (in *networkPerformanceConfigExternalIpEgressBandwidthTierPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigExternalIpEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigExternalIpEgressBandwidthTier]{ + OutputState: in.ToNetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the total network bandwidth tier for the NodePool. type NetworkPerformanceConfigTotalEgressBandwidthTier string @@ -3813,6 +4228,12 @@ func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToNetworkPerform }).(NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) } +func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigTotalEgressBandwidthTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3848,6 +4269,12 @@ func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) ToNetworkPerf return o } +func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) Elem() NetworkPerformanceConfigTotalEgressBandwidthTierOutput { return o.ApplyT(func(v *NetworkPerformanceConfigTotalEgressBandwidthTier) NetworkPerformanceConfigTotalEgressBandwidthTier { if v != nil { @@ -3910,6 +4337,12 @@ func (in *networkPerformanceConfigTotalEgressBandwidthTierPtr) ToNetworkPerforma return pulumi.ToOutputWithContext(ctx, in).(NetworkPerformanceConfigTotalEgressBandwidthTierPtrOutput) } +func (in *networkPerformanceConfigTotalEgressBandwidthTierPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier] { + return pulumix.Output[*NetworkPerformanceConfigTotalEgressBandwidthTier]{ + OutputState: in.ToNetworkPerformanceConfigTotalEgressBandwidthTierPtrOutputWithContext(ctx).OutputState, + } +} + // The selected network policy provider. type NetworkPolicyProvider string @@ -3980,6 +4413,12 @@ func (o NetworkPolicyProviderOutput) ToNetworkPolicyProviderPtrOutputWithContext }).(NetworkPolicyProviderPtrOutput) } +func (o NetworkPolicyProviderOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyProvider] { + return pulumix.Output[NetworkPolicyProvider]{ + OutputState: o.OutputState, + } +} + func (o NetworkPolicyProviderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4015,6 +4454,12 @@ func (o NetworkPolicyProviderPtrOutput) ToNetworkPolicyProviderPtrOutputWithCont return o } +func (o NetworkPolicyProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicyProvider] { + return pulumix.Output[*NetworkPolicyProvider]{ + OutputState: o.OutputState, + } +} + func (o NetworkPolicyProviderPtrOutput) Elem() NetworkPolicyProviderOutput { return o.ApplyT(func(v *NetworkPolicyProvider) NetworkPolicyProvider { if v != nil { @@ -4077,6 +4522,12 @@ func (in *networkPolicyProviderPtr) ToNetworkPolicyProviderPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(NetworkPolicyProviderPtrOutput) } +func (in *networkPolicyProviderPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicyProvider] { + return pulumix.Output[*NetworkPolicyProvider]{ + OutputState: in.ToNetworkPolicyProviderPtrOutputWithContext(ctx).OutputState, + } +} + // Location policy used when scaling up a nodepool. type NodePoolAutoscalingLocationPolicy string @@ -4149,6 +4600,12 @@ func (o NodePoolAutoscalingLocationPolicyOutput) ToNodePoolAutoscalingLocationPo }).(NodePoolAutoscalingLocationPolicyPtrOutput) } +func (o NodePoolAutoscalingLocationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoscalingLocationPolicy] { + return pulumix.Output[NodePoolAutoscalingLocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o NodePoolAutoscalingLocationPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4184,6 +4641,12 @@ func (o NodePoolAutoscalingLocationPolicyPtrOutput) ToNodePoolAutoscalingLocatio return o } +func (o NodePoolAutoscalingLocationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoscalingLocationPolicy] { + return pulumix.Output[*NodePoolAutoscalingLocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o NodePoolAutoscalingLocationPolicyPtrOutput) Elem() NodePoolAutoscalingLocationPolicyOutput { return o.ApplyT(func(v *NodePoolAutoscalingLocationPolicy) NodePoolAutoscalingLocationPolicy { if v != nil { @@ -4246,6 +4709,12 @@ func (in *nodePoolAutoscalingLocationPolicyPtr) ToNodePoolAutoscalingLocationPol return pulumi.ToOutputWithContext(ctx, in).(NodePoolAutoscalingLocationPolicyPtrOutput) } +func (in *nodePoolAutoscalingLocationPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoscalingLocationPolicy] { + return pulumix.Output[*NodePoolAutoscalingLocationPolicy]{ + OutputState: in.ToNodePoolAutoscalingLocationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Effect for taint. type NodeTaintEffect string @@ -4320,6 +4789,12 @@ func (o NodeTaintEffectOutput) ToNodeTaintEffectPtrOutputWithContext(ctx context }).(NodeTaintEffectPtrOutput) } +func (o NodeTaintEffectOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTaintEffect] { + return pulumix.Output[NodeTaintEffect]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintEffectOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4355,6 +4830,12 @@ func (o NodeTaintEffectPtrOutput) ToNodeTaintEffectPtrOutputWithContext(ctx cont return o } +func (o NodeTaintEffectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTaintEffect] { + return pulumix.Output[*NodeTaintEffect]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintEffectPtrOutput) Elem() NodeTaintEffectOutput { return o.ApplyT(func(v *NodeTaintEffect) NodeTaintEffect { if v != nil { @@ -4417,6 +4898,12 @@ func (in *nodeTaintEffectPtr) ToNodeTaintEffectPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(NodeTaintEffectPtrOutput) } +func (in *nodeTaintEffectPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeTaintEffect] { + return pulumix.Output[*NodeTaintEffect]{ + OutputState: in.ToNodeTaintEffectPtrOutputWithContext(ctx).OutputState, + } +} + // The type of placement. type PlacementPolicyType string @@ -4487,6 +4974,12 @@ func (o PlacementPolicyTypeOutput) ToPlacementPolicyTypePtrOutputWithContext(ctx }).(PlacementPolicyTypePtrOutput) } +func (o PlacementPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicyType] { + return pulumix.Output[PlacementPolicyType]{ + OutputState: o.OutputState, + } +} + func (o PlacementPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4522,6 +5015,12 @@ func (o PlacementPolicyTypePtrOutput) ToPlacementPolicyTypePtrOutputWithContext( return o } +func (o PlacementPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PlacementPolicyType] { + return pulumix.Output[*PlacementPolicyType]{ + OutputState: o.OutputState, + } +} + func (o PlacementPolicyTypePtrOutput) Elem() PlacementPolicyTypeOutput { return o.ApplyT(func(v *PlacementPolicyType) PlacementPolicyType { if v != nil { @@ -4584,6 +5083,12 @@ func (in *placementPolicyTypePtr) ToPlacementPolicyTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(PlacementPolicyTypePtrOutput) } +func (in *placementPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*PlacementPolicyType] { + return pulumix.Output[*PlacementPolicyType]{ + OutputState: in.ToPlacementPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Sets which mode to use for Protect workload vulnerability scanning feature. type ProtectConfigWorkloadVulnerabilityMode string @@ -4656,6 +5161,12 @@ func (o ProtectConfigWorkloadVulnerabilityModeOutput) ToProtectConfigWorkloadVul }).(ProtectConfigWorkloadVulnerabilityModePtrOutput) } +func (o ProtectConfigWorkloadVulnerabilityModeOutput) ToOutput(ctx context.Context) pulumix.Output[ProtectConfigWorkloadVulnerabilityMode] { + return pulumix.Output[ProtectConfigWorkloadVulnerabilityMode]{ + OutputState: o.OutputState, + } +} + func (o ProtectConfigWorkloadVulnerabilityModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4691,6 +5202,12 @@ func (o ProtectConfigWorkloadVulnerabilityModePtrOutput) ToProtectConfigWorkload return o } +func (o ProtectConfigWorkloadVulnerabilityModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProtectConfigWorkloadVulnerabilityMode] { + return pulumix.Output[*ProtectConfigWorkloadVulnerabilityMode]{ + OutputState: o.OutputState, + } +} + func (o ProtectConfigWorkloadVulnerabilityModePtrOutput) Elem() ProtectConfigWorkloadVulnerabilityModeOutput { return o.ApplyT(func(v *ProtectConfigWorkloadVulnerabilityMode) ProtectConfigWorkloadVulnerabilityMode { if v != nil { @@ -4753,6 +5270,12 @@ func (in *protectConfigWorkloadVulnerabilityModePtr) ToProtectConfigWorkloadVuln return pulumi.ToOutputWithContext(ctx, in).(ProtectConfigWorkloadVulnerabilityModePtrOutput) } +func (in *protectConfigWorkloadVulnerabilityModePtr) ToOutput(ctx context.Context) pulumix.Output[*ProtectConfigWorkloadVulnerabilityMode] { + return pulumix.Output[*ProtectConfigWorkloadVulnerabilityMode]{ + OutputState: in.ToProtectConfigWorkloadVulnerabilityModePtrOutputWithContext(ctx).OutputState, + } +} + // channel specifies which release channel the cluster is subscribed to. type ReleaseChannelChannel string @@ -4827,6 +5350,12 @@ func (o ReleaseChannelChannelOutput) ToReleaseChannelChannelPtrOutputWithContext }).(ReleaseChannelChannelPtrOutput) } +func (o ReleaseChannelChannelOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseChannelChannel] { + return pulumix.Output[ReleaseChannelChannel]{ + OutputState: o.OutputState, + } +} + func (o ReleaseChannelChannelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4862,6 +5391,12 @@ func (o ReleaseChannelChannelPtrOutput) ToReleaseChannelChannelPtrOutputWithCont return o } +func (o ReleaseChannelChannelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReleaseChannelChannel] { + return pulumix.Output[*ReleaseChannelChannel]{ + OutputState: o.OutputState, + } +} + func (o ReleaseChannelChannelPtrOutput) Elem() ReleaseChannelChannelOutput { return o.ApplyT(func(v *ReleaseChannelChannel) ReleaseChannelChannel { if v != nil { @@ -4924,6 +5459,12 @@ func (in *releaseChannelChannelPtr) ToReleaseChannelChannelPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ReleaseChannelChannelPtrOutput) } +func (in *releaseChannelChannelPtr) ToOutput(ctx context.Context) pulumix.Output[*ReleaseChannelChannel] { + return pulumix.Output[*ReleaseChannelChannel]{ + OutputState: in.ToReleaseChannelChannelPtrOutputWithContext(ctx).OutputState, + } +} + // Corresponds to the type of reservation consumption. type ReservationAffinityConsumeReservationType string @@ -4998,6 +5539,12 @@ func (o ReservationAffinityConsumeReservationTypeOutput) ToReservationAffinityCo }).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (o ReservationAffinityConsumeReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityConsumeReservationType] { + return pulumix.Output[ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5033,6 +5580,12 @@ func (o ReservationAffinityConsumeReservationTypePtrOutput) ToReservationAffinit return o } +func (o ReservationAffinityConsumeReservationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypePtrOutput) Elem() ReservationAffinityConsumeReservationTypeOutput { return o.ApplyT(func(v *ReservationAffinityConsumeReservationType) ReservationAffinityConsumeReservationType { if v != nil { @@ -5095,6 +5648,12 @@ func (in *reservationAffinityConsumeReservationTypePtr) ToReservationAffinityCon return pulumi.ToOutputWithContext(ctx, in).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (in *reservationAffinityConsumeReservationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: in.ToReservationAffinityConsumeReservationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the sandbox to use for the node. type SandboxConfigType string @@ -5165,6 +5724,12 @@ func (o SandboxConfigTypeOutput) ToSandboxConfigTypePtrOutputWithContext(ctx con }).(SandboxConfigTypePtrOutput) } +func (o SandboxConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SandboxConfigType] { + return pulumix.Output[SandboxConfigType]{ + OutputState: o.OutputState, + } +} + func (o SandboxConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5200,6 +5765,12 @@ func (o SandboxConfigTypePtrOutput) ToSandboxConfigTypePtrOutputWithContext(ctx return o } +func (o SandboxConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SandboxConfigType] { + return pulumix.Output[*SandboxConfigType]{ + OutputState: o.OutputState, + } +} + func (o SandboxConfigTypePtrOutput) Elem() SandboxConfigTypeOutput { return o.ApplyT(func(v *SandboxConfigType) SandboxConfigType { if v != nil { @@ -5262,6 +5833,12 @@ func (in *sandboxConfigTypePtr) ToSandboxConfigTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(SandboxConfigTypePtrOutput) } +func (in *sandboxConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SandboxConfigType] { + return pulumix.Output[*SandboxConfigType]{ + OutputState: in.ToSandboxConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // Canonical code of the condition. type StatusConditionCanonicalCode string @@ -5362,6 +5939,12 @@ func (o StatusConditionCanonicalCodeOutput) ToStatusConditionCanonicalCodePtrOut }).(StatusConditionCanonicalCodePtrOutput) } +func (o StatusConditionCanonicalCodeOutput) ToOutput(ctx context.Context) pulumix.Output[StatusConditionCanonicalCode] { + return pulumix.Output[StatusConditionCanonicalCode]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionCanonicalCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5397,6 +5980,12 @@ func (o StatusConditionCanonicalCodePtrOutput) ToStatusConditionCanonicalCodePtr return o } +func (o StatusConditionCanonicalCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatusConditionCanonicalCode] { + return pulumix.Output[*StatusConditionCanonicalCode]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionCanonicalCodePtrOutput) Elem() StatusConditionCanonicalCodeOutput { return o.ApplyT(func(v *StatusConditionCanonicalCode) StatusConditionCanonicalCode { if v != nil { @@ -5459,6 +6048,12 @@ func (in *statusConditionCanonicalCodePtr) ToStatusConditionCanonicalCodePtrOutp return pulumi.ToOutputWithContext(ctx, in).(StatusConditionCanonicalCodePtrOutput) } +func (in *statusConditionCanonicalCodePtr) ToOutput(ctx context.Context) pulumix.Output[*StatusConditionCanonicalCode] { + return pulumix.Output[*StatusConditionCanonicalCode]{ + OutputState: in.ToStatusConditionCanonicalCodePtrOutputWithContext(ctx).OutputState, + } +} + // Machine-friendly representation of the condition Deprecated. Use canonical_code instead. type StatusConditionCode string @@ -5539,6 +6134,12 @@ func (o StatusConditionCodeOutput) ToStatusConditionCodePtrOutputWithContext(ctx }).(StatusConditionCodePtrOutput) } +func (o StatusConditionCodeOutput) ToOutput(ctx context.Context) pulumix.Output[StatusConditionCode] { + return pulumix.Output[StatusConditionCode]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5574,6 +6175,12 @@ func (o StatusConditionCodePtrOutput) ToStatusConditionCodePtrOutputWithContext( return o } +func (o StatusConditionCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatusConditionCode] { + return pulumix.Output[*StatusConditionCode]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionCodePtrOutput) Elem() StatusConditionCodeOutput { return o.ApplyT(func(v *StatusConditionCode) StatusConditionCode { if v != nil { @@ -5636,6 +6243,12 @@ func (in *statusConditionCodePtr) ToStatusConditionCodePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(StatusConditionCodePtrOutput) } +func (in *statusConditionCodePtr) ToOutput(ctx context.Context) pulumix.Output[*StatusConditionCode] { + return pulumix.Output[*StatusConditionCode]{ + OutputState: in.ToStatusConditionCodePtrOutputWithContext(ctx).OutputState, + } +} + // Update strategy of the node pool. type UpgradeSettingsStrategy string @@ -5708,6 +6321,12 @@ func (o UpgradeSettingsStrategyOutput) ToUpgradeSettingsStrategyPtrOutputWithCon }).(UpgradeSettingsStrategyPtrOutput) } +func (o UpgradeSettingsStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeSettingsStrategy] { + return pulumix.Output[UpgradeSettingsStrategy]{ + OutputState: o.OutputState, + } +} + func (o UpgradeSettingsStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5743,6 +6362,12 @@ func (o UpgradeSettingsStrategyPtrOutput) ToUpgradeSettingsStrategyPtrOutputWith return o } +func (o UpgradeSettingsStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeSettingsStrategy] { + return pulumix.Output[*UpgradeSettingsStrategy]{ + OutputState: o.OutputState, + } +} + func (o UpgradeSettingsStrategyPtrOutput) Elem() UpgradeSettingsStrategyOutput { return o.ApplyT(func(v *UpgradeSettingsStrategy) UpgradeSettingsStrategy { if v != nil { @@ -5805,6 +6430,12 @@ func (in *upgradeSettingsStrategyPtr) ToUpgradeSettingsStrategyPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(UpgradeSettingsStrategyPtrOutput) } +func (in *upgradeSettingsStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*UpgradeSettingsStrategy] { + return pulumix.Output[*UpgradeSettingsStrategy]{ + OutputState: in.ToUpgradeSettingsStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // OSVersion specifies the Windows node config to be used on the node type WindowsNodeConfigOsVersion string @@ -5877,6 +6508,12 @@ func (o WindowsNodeConfigOsVersionOutput) ToWindowsNodeConfigOsVersionPtrOutputW }).(WindowsNodeConfigOsVersionPtrOutput) } +func (o WindowsNodeConfigOsVersionOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsNodeConfigOsVersion] { + return pulumix.Output[WindowsNodeConfigOsVersion]{ + OutputState: o.OutputState, + } +} + func (o WindowsNodeConfigOsVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5912,6 +6549,12 @@ func (o WindowsNodeConfigOsVersionPtrOutput) ToWindowsNodeConfigOsVersionPtrOutp return o } +func (o WindowsNodeConfigOsVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WindowsNodeConfigOsVersion] { + return pulumix.Output[*WindowsNodeConfigOsVersion]{ + OutputState: o.OutputState, + } +} + func (o WindowsNodeConfigOsVersionPtrOutput) Elem() WindowsNodeConfigOsVersionOutput { return o.ApplyT(func(v *WindowsNodeConfigOsVersion) WindowsNodeConfigOsVersion { if v != nil { @@ -5974,6 +6617,12 @@ func (in *windowsNodeConfigOsVersionPtr) ToWindowsNodeConfigOsVersionPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(WindowsNodeConfigOsVersionPtrOutput) } +func (in *windowsNodeConfigOsVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*WindowsNodeConfigOsVersion] { + return pulumix.Output[*WindowsNodeConfigOsVersion]{ + OutputState: in.ToWindowsNodeConfigOsVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Sets which mode of auditing should be used for the cluster's workloads. type WorkloadConfigAuditMode string @@ -6050,6 +6699,12 @@ func (o WorkloadConfigAuditModeOutput) ToWorkloadConfigAuditModePtrOutputWithCon }).(WorkloadConfigAuditModePtrOutput) } +func (o WorkloadConfigAuditModeOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadConfigAuditMode] { + return pulumix.Output[WorkloadConfigAuditMode]{ + OutputState: o.OutputState, + } +} + func (o WorkloadConfigAuditModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6085,6 +6740,12 @@ func (o WorkloadConfigAuditModePtrOutput) ToWorkloadConfigAuditModePtrOutputWith return o } +func (o WorkloadConfigAuditModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadConfigAuditMode] { + return pulumix.Output[*WorkloadConfigAuditMode]{ + OutputState: o.OutputState, + } +} + func (o WorkloadConfigAuditModePtrOutput) Elem() WorkloadConfigAuditModeOutput { return o.ApplyT(func(v *WorkloadConfigAuditMode) WorkloadConfigAuditMode { if v != nil { @@ -6147,6 +6808,12 @@ func (in *workloadConfigAuditModePtr) ToWorkloadConfigAuditModePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(WorkloadConfigAuditModePtrOutput) } +func (in *workloadConfigAuditModePtr) ToOutput(ctx context.Context) pulumix.Output[*WorkloadConfigAuditMode] { + return pulumix.Output[*WorkloadConfigAuditMode]{ + OutputState: in.ToWorkloadConfigAuditModePtrOutputWithContext(ctx).OutputState, + } +} + // Mode is the configuration for how to expose metadata to workloads running on the node pool. type WorkloadMetadataConfigMode string @@ -6219,6 +6886,12 @@ func (o WorkloadMetadataConfigModeOutput) ToWorkloadMetadataConfigModePtrOutputW }).(WorkloadMetadataConfigModePtrOutput) } +func (o WorkloadMetadataConfigModeOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadMetadataConfigMode] { + return pulumix.Output[WorkloadMetadataConfigMode]{ + OutputState: o.OutputState, + } +} + func (o WorkloadMetadataConfigModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6254,6 +6927,12 @@ func (o WorkloadMetadataConfigModePtrOutput) ToWorkloadMetadataConfigModePtrOutp return o } +func (o WorkloadMetadataConfigModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadMetadataConfigMode] { + return pulumix.Output[*WorkloadMetadataConfigMode]{ + OutputState: o.OutputState, + } +} + func (o WorkloadMetadataConfigModePtrOutput) Elem() WorkloadMetadataConfigModeOutput { return o.ApplyT(func(v *WorkloadMetadataConfigMode) WorkloadMetadataConfigMode { if v != nil { @@ -6316,6 +6995,12 @@ func (in *workloadMetadataConfigModePtr) ToWorkloadMetadataConfigModePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(WorkloadMetadataConfigModePtrOutput) } +func (in *workloadMetadataConfigModePtr) ToOutput(ctx context.Context) pulumix.Output[*WorkloadMetadataConfigMode] { + return pulumix.Output[*WorkloadMetadataConfigMode]{ + OutputState: in.ToWorkloadMetadataConfigModePtrOutputWithContext(ctx).OutputState, + } +} + // NodeMetadata is the configuration for how to expose metadata to the workloads running on the node. type WorkloadMetadataConfigNodeMetadata string @@ -6390,6 +7075,12 @@ func (o WorkloadMetadataConfigNodeMetadataOutput) ToWorkloadMetadataConfigNodeMe }).(WorkloadMetadataConfigNodeMetadataPtrOutput) } +func (o WorkloadMetadataConfigNodeMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadMetadataConfigNodeMetadata] { + return pulumix.Output[WorkloadMetadataConfigNodeMetadata]{ + OutputState: o.OutputState, + } +} + func (o WorkloadMetadataConfigNodeMetadataOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6425,6 +7116,12 @@ func (o WorkloadMetadataConfigNodeMetadataPtrOutput) ToWorkloadMetadataConfigNod return o } +func (o WorkloadMetadataConfigNodeMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadMetadataConfigNodeMetadata] { + return pulumix.Output[*WorkloadMetadataConfigNodeMetadata]{ + OutputState: o.OutputState, + } +} + func (o WorkloadMetadataConfigNodeMetadataPtrOutput) Elem() WorkloadMetadataConfigNodeMetadataOutput { return o.ApplyT(func(v *WorkloadMetadataConfigNodeMetadata) WorkloadMetadataConfigNodeMetadata { if v != nil { @@ -6487,6 +7184,12 @@ func (in *workloadMetadataConfigNodeMetadataPtr) ToWorkloadMetadataConfigNodeMet return pulumi.ToOutputWithContext(ctx, in).(WorkloadMetadataConfigNodeMetadataPtrOutput) } +func (in *workloadMetadataConfigNodeMetadataPtr) ToOutput(ctx context.Context) pulumix.Output[*WorkloadMetadataConfigNodeMetadata] { + return pulumix.Output[*WorkloadMetadataConfigNodeMetadata]{ + OutputState: in.ToWorkloadMetadataConfigNodeMetadataPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*BinaryAuthorizationEvaluationModeInput)(nil)).Elem(), BinaryAuthorizationEvaluationMode("EVALUATION_MODE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*BinaryAuthorizationEvaluationModePtrInput)(nil)).Elem(), BinaryAuthorizationEvaluationMode("EVALUATION_MODE_UNSPECIFIED")) diff --git a/sdk/go/google/container/v1beta1/pulumiTypes.go b/sdk/go/google/container/v1beta1/pulumiTypes.go index bf1b578fef..a20655e442 100644 --- a/sdk/go/google/container/v1beta1/pulumiTypes.go +++ b/sdk/go/google/container/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -64,6 +65,12 @@ func (i AcceleratorConfigArgs) ToAcceleratorConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigOutput) } +func (i AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + // AcceleratorConfigArrayInput is an input type that accepts AcceleratorConfigArray and AcceleratorConfigArrayOutput values. // You can construct a concrete instance of `AcceleratorConfigArrayInput` via: // @@ -89,6 +96,12 @@ func (i AcceleratorConfigArray) ToAcceleratorConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigArrayOutput) } +func (i AcceleratorConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigArrayOutputWithContext(ctx).OutputState, + } +} + // AcceleratorConfig represents a Hardware Accelerator request. type AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -104,6 +117,12 @@ func (o AcceleratorConfigOutput) ToAcceleratorConfigOutputWithContext(ctx contex return o } +func (o AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // The number of the accelerator cards exposed to an instance. func (o AcceleratorConfigOutput) AcceleratorCount() pulumi.StringPtrOutput { return o.ApplyT(func(v AcceleratorConfig) *string { return v.AcceleratorCount }).(pulumi.StringPtrOutput) @@ -143,6 +162,12 @@ func (o AcceleratorConfigArrayOutput) ToAcceleratorConfigArrayOutputWithContext( return o } +func (o AcceleratorConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfig { return vs[0].([]AcceleratorConfig)[vs[1].(int)] @@ -178,6 +203,12 @@ func (o AcceleratorConfigResponseOutput) ToAcceleratorConfigResponseOutputWithCo return o } +func (o AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigResponse] { + return pulumix.Output[AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of the accelerator cards exposed to an instance. func (o AcceleratorConfigResponseOutput) AcceleratorCount() pulumi.StringOutput { return o.ApplyT(func(v AcceleratorConfigResponse) string { return v.AcceleratorCount }).(pulumi.StringOutput) @@ -217,6 +248,12 @@ func (o AcceleratorConfigResponseArrayOutput) ToAcceleratorConfigResponseArrayOu return o } +func (o AcceleratorConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfigResponse] { + return pulumix.Output[[]AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfigResponse { return vs[0].([]AcceleratorConfigResponse)[vs[1].(int)] @@ -250,6 +287,12 @@ func (o AdditionalPodRangesConfigResponseOutput) ToAdditionalPodRangesConfigResp return o } +func (o AdditionalPodRangesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdditionalPodRangesConfigResponse] { + return pulumix.Output[AdditionalPodRangesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Name for pod secondary ipv4 range which has the actual range defined ahead. func (o AdditionalPodRangesConfigResponseOutput) PodRangeNames() pulumi.StringArrayOutput { return o.ApplyT(func(v AdditionalPodRangesConfigResponse) []string { return v.PodRangeNames }).(pulumi.StringArrayOutput) @@ -338,6 +381,12 @@ func (i AddonsConfigArgs) ToAddonsConfigOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AddonsConfigOutput) } +func (i AddonsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AddonsConfig] { + return pulumix.Output[AddonsConfig]{ + OutputState: i.ToAddonsConfigOutputWithContext(ctx).OutputState, + } +} + func (i AddonsConfigArgs) ToAddonsConfigPtrOutput() AddonsConfigPtrOutput { return i.ToAddonsConfigPtrOutputWithContext(context.Background()) } @@ -379,6 +428,12 @@ func (i *addonsConfigPtrType) ToAddonsConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AddonsConfigPtrOutput) } +func (i *addonsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AddonsConfig] { + return pulumix.Output[*AddonsConfig]{ + OutputState: i.ToAddonsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality. type AddonsConfigOutput struct{ *pulumi.OutputState } @@ -404,6 +459,12 @@ func (o AddonsConfigOutput) ToAddonsConfigPtrOutputWithContext(ctx context.Conte }).(AddonsConfigPtrOutput) } +func (o AddonsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AddonsConfig] { + return pulumix.Output[AddonsConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time. func (o AddonsConfigOutput) CloudRunConfig() CloudRunConfigPtrOutput { return o.ApplyT(func(v AddonsConfig) *CloudRunConfig { return v.CloudRunConfig }).(CloudRunConfigPtrOutput) @@ -483,6 +544,12 @@ func (o AddonsConfigPtrOutput) ToAddonsConfigPtrOutputWithContext(ctx context.Co return o } +func (o AddonsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddonsConfig] { + return pulumix.Output[*AddonsConfig]{ + OutputState: o.OutputState, + } +} + func (o AddonsConfigPtrOutput) Elem() AddonsConfigOutput { return o.ApplyT(func(v *AddonsConfig) AddonsConfig { if v != nil { @@ -668,6 +735,12 @@ func (o AddonsConfigResponseOutput) ToAddonsConfigResponseOutputWithContext(ctx return o } +func (o AddonsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AddonsConfigResponse] { + return pulumix.Output[AddonsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time. func (o AddonsConfigResponseOutput) CloudRunConfig() CloudRunConfigResponseOutput { return o.ApplyT(func(v AddonsConfigResponse) CloudRunConfigResponse { return v.CloudRunConfig }).(CloudRunConfigResponseOutput) @@ -770,6 +843,12 @@ func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesOutput) } +func (i AdvancedMachineFeaturesArgs) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesOutputWithContext(ctx).OutputState, + } +} + func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesPtrOutput() AdvancedMachineFeaturesPtrOutput { return i.ToAdvancedMachineFeaturesPtrOutputWithContext(context.Background()) } @@ -811,6 +890,12 @@ func (i *advancedMachineFeaturesPtrType) ToAdvancedMachineFeaturesPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesPtrOutput) } +func (i *advancedMachineFeaturesPtrType) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies options for controlling advanced machine features. type AdvancedMachineFeaturesOutput struct{ *pulumi.OutputState } @@ -836,6 +921,12 @@ func (o AdvancedMachineFeaturesOutput) ToAdvancedMachineFeaturesPtrOutputWithCon }).(AdvancedMachineFeaturesPtrOutput) } +func (o AdvancedMachineFeaturesOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + // The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. func (o AdvancedMachineFeaturesOutput) ThreadsPerCore() pulumi.StringPtrOutput { return o.ApplyT(func(v AdvancedMachineFeatures) *string { return v.ThreadsPerCore }).(pulumi.StringPtrOutput) @@ -855,6 +946,12 @@ func (o AdvancedMachineFeaturesPtrOutput) ToAdvancedMachineFeaturesPtrOutputWith return o } +func (o AdvancedMachineFeaturesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + func (o AdvancedMachineFeaturesPtrOutput) Elem() AdvancedMachineFeaturesOutput { return o.ApplyT(func(v *AdvancedMachineFeatures) AdvancedMachineFeatures { if v != nil { @@ -896,6 +993,12 @@ func (o AdvancedMachineFeaturesResponseOutput) ToAdvancedMachineFeaturesResponse return o } +func (o AdvancedMachineFeaturesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeaturesResponse] { + return pulumix.Output[AdvancedMachineFeaturesResponse]{ + OutputState: o.OutputState, + } +} + // The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. func (o AdvancedMachineFeaturesResponseOutput) ThreadsPerCore() pulumi.StringOutput { return o.ApplyT(func(v AdvancedMachineFeaturesResponse) string { return v.ThreadsPerCore }).(pulumi.StringOutput) @@ -940,6 +1043,12 @@ func (i AuthenticatorGroupsConfigArgs) ToAuthenticatorGroupsConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorGroupsConfigOutput) } +func (i AuthenticatorGroupsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuthenticatorGroupsConfig] { + return pulumix.Output[AuthenticatorGroupsConfig]{ + OutputState: i.ToAuthenticatorGroupsConfigOutputWithContext(ctx).OutputState, + } +} + func (i AuthenticatorGroupsConfigArgs) ToAuthenticatorGroupsConfigPtrOutput() AuthenticatorGroupsConfigPtrOutput { return i.ToAuthenticatorGroupsConfigPtrOutputWithContext(context.Background()) } @@ -981,6 +1090,12 @@ func (i *authenticatorGroupsConfigPtrType) ToAuthenticatorGroupsConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorGroupsConfigPtrOutput) } +func (i *authenticatorGroupsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthenticatorGroupsConfig] { + return pulumix.Output[*AuthenticatorGroupsConfig]{ + OutputState: i.ToAuthenticatorGroupsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for returning group information from authenticators. type AuthenticatorGroupsConfigOutput struct{ *pulumi.OutputState } @@ -1006,6 +1121,12 @@ func (o AuthenticatorGroupsConfigOutput) ToAuthenticatorGroupsConfigPtrOutputWit }).(AuthenticatorGroupsConfigPtrOutput) } +func (o AuthenticatorGroupsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticatorGroupsConfig] { + return pulumix.Output[AuthenticatorGroupsConfig]{ + OutputState: o.OutputState, + } +} + // Whether this cluster should return group membership lookups during authentication using a group of security groups. func (o AuthenticatorGroupsConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v AuthenticatorGroupsConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -1030,6 +1151,12 @@ func (o AuthenticatorGroupsConfigPtrOutput) ToAuthenticatorGroupsConfigPtrOutput return o } +func (o AuthenticatorGroupsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthenticatorGroupsConfig] { + return pulumix.Output[*AuthenticatorGroupsConfig]{ + OutputState: o.OutputState, + } +} + func (o AuthenticatorGroupsConfigPtrOutput) Elem() AuthenticatorGroupsConfigOutput { return o.ApplyT(func(v *AuthenticatorGroupsConfig) AuthenticatorGroupsConfig { if v != nil { @@ -1083,6 +1210,12 @@ func (o AuthenticatorGroupsConfigResponseOutput) ToAuthenticatorGroupsConfigResp return o } +func (o AuthenticatorGroupsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticatorGroupsConfigResponse] { + return pulumix.Output[AuthenticatorGroupsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether this cluster should return group membership lookups during authentication using a group of security groups. func (o AuthenticatorGroupsConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v AuthenticatorGroupsConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -1124,6 +1257,12 @@ func (i AutoUpgradeOptionsArgs) ToAutoUpgradeOptionsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AutoUpgradeOptionsOutput) } +func (i AutoUpgradeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[AutoUpgradeOptions] { + return pulumix.Output[AutoUpgradeOptions]{ + OutputState: i.ToAutoUpgradeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i AutoUpgradeOptionsArgs) ToAutoUpgradeOptionsPtrOutput() AutoUpgradeOptionsPtrOutput { return i.ToAutoUpgradeOptionsPtrOutputWithContext(context.Background()) } @@ -1165,6 +1304,12 @@ func (i *autoUpgradeOptionsPtrType) ToAutoUpgradeOptionsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AutoUpgradeOptionsPtrOutput) } +func (i *autoUpgradeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoUpgradeOptions] { + return pulumix.Output[*AutoUpgradeOptions]{ + OutputState: i.ToAutoUpgradeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed. type AutoUpgradeOptionsOutput struct{ *pulumi.OutputState } @@ -1190,6 +1335,12 @@ func (o AutoUpgradeOptionsOutput) ToAutoUpgradeOptionsPtrOutputWithContext(ctx c }).(AutoUpgradeOptionsPtrOutput) } +func (o AutoUpgradeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[AutoUpgradeOptions] { + return pulumix.Output[AutoUpgradeOptions]{ + OutputState: o.OutputState, + } +} + type AutoUpgradeOptionsPtrOutput struct{ *pulumi.OutputState } func (AutoUpgradeOptionsPtrOutput) ElementType() reflect.Type { @@ -1204,6 +1355,12 @@ func (o AutoUpgradeOptionsPtrOutput) ToAutoUpgradeOptionsPtrOutputWithContext(ct return o } +func (o AutoUpgradeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoUpgradeOptions] { + return pulumix.Output[*AutoUpgradeOptions]{ + OutputState: o.OutputState, + } +} + func (o AutoUpgradeOptionsPtrOutput) Elem() AutoUpgradeOptionsOutput { return o.ApplyT(func(v *AutoUpgradeOptions) AutoUpgradeOptions { if v != nil { @@ -1237,6 +1394,12 @@ func (o AutoUpgradeOptionsResponseOutput) ToAutoUpgradeOptionsResponseOutputWith return o } +func (o AutoUpgradeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoUpgradeOptionsResponse] { + return pulumix.Output[AutoUpgradeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. func (o AutoUpgradeOptionsResponseOutput) AutoUpgradeStartTime() pulumi.StringOutput { return o.ApplyT(func(v AutoUpgradeOptionsResponse) string { return v.AutoUpgradeStartTime }).(pulumi.StringOutput) @@ -1282,6 +1445,12 @@ func (i AutopilotArgs) ToAutopilotOutputWithContext(ctx context.Context) Autopil return pulumi.ToOutputWithContext(ctx, i).(AutopilotOutput) } +func (i AutopilotArgs) ToOutput(ctx context.Context) pulumix.Output[Autopilot] { + return pulumix.Output[Autopilot]{ + OutputState: i.ToAutopilotOutputWithContext(ctx).OutputState, + } +} + func (i AutopilotArgs) ToAutopilotPtrOutput() AutopilotPtrOutput { return i.ToAutopilotPtrOutputWithContext(context.Background()) } @@ -1323,6 +1492,12 @@ func (i *autopilotPtrType) ToAutopilotPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AutopilotPtrOutput) } +func (i *autopilotPtrType) ToOutput(ctx context.Context) pulumix.Output[*Autopilot] { + return pulumix.Output[*Autopilot]{ + OutputState: i.ToAutopilotPtrOutputWithContext(ctx).OutputState, + } +} + // Autopilot is the configuration for Autopilot settings on the cluster. type AutopilotOutput struct{ *pulumi.OutputState } @@ -1348,6 +1523,12 @@ func (o AutopilotOutput) ToAutopilotPtrOutputWithContext(ctx context.Context) Au }).(AutopilotPtrOutput) } +func (o AutopilotOutput) ToOutput(ctx context.Context) pulumix.Output[Autopilot] { + return pulumix.Output[Autopilot]{ + OutputState: o.OutputState, + } +} + // Enable Autopilot func (o AutopilotOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v Autopilot) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -1367,6 +1548,12 @@ func (o AutopilotPtrOutput) ToAutopilotPtrOutputWithContext(ctx context.Context) return o } +func (o AutopilotPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Autopilot] { + return pulumix.Output[*Autopilot]{ + OutputState: o.OutputState, + } +} + func (o AutopilotPtrOutput) Elem() AutopilotOutput { return o.ApplyT(func(v *Autopilot) Autopilot { if v != nil { @@ -1408,6 +1595,12 @@ func (o AutopilotResponseOutput) ToAutopilotResponseOutputWithContext(ctx contex return o } +func (o AutopilotResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutopilotResponse] { + return pulumix.Output[AutopilotResponse]{ + OutputState: o.OutputState, + } +} + // Enable Autopilot func (o AutopilotResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v AutopilotResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -1488,6 +1681,12 @@ func (i AutoprovisioningNodePoolDefaultsArgs) ToAutoprovisioningNodePoolDefaults return pulumi.ToOutputWithContext(ctx, i).(AutoprovisioningNodePoolDefaultsOutput) } +func (i AutoprovisioningNodePoolDefaultsArgs) ToOutput(ctx context.Context) pulumix.Output[AutoprovisioningNodePoolDefaults] { + return pulumix.Output[AutoprovisioningNodePoolDefaults]{ + OutputState: i.ToAutoprovisioningNodePoolDefaultsOutputWithContext(ctx).OutputState, + } +} + func (i AutoprovisioningNodePoolDefaultsArgs) ToAutoprovisioningNodePoolDefaultsPtrOutput() AutoprovisioningNodePoolDefaultsPtrOutput { return i.ToAutoprovisioningNodePoolDefaultsPtrOutputWithContext(context.Background()) } @@ -1529,6 +1728,12 @@ func (i *autoprovisioningNodePoolDefaultsPtrType) ToAutoprovisioningNodePoolDefa return pulumi.ToOutputWithContext(ctx, i).(AutoprovisioningNodePoolDefaultsPtrOutput) } +func (i *autoprovisioningNodePoolDefaultsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoprovisioningNodePoolDefaults] { + return pulumix.Output[*AutoprovisioningNodePoolDefaults]{ + OutputState: i.ToAutoprovisioningNodePoolDefaultsPtrOutputWithContext(ctx).OutputState, + } +} + // AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP. type AutoprovisioningNodePoolDefaultsOutput struct{ *pulumi.OutputState } @@ -1554,6 +1759,12 @@ func (o AutoprovisioningNodePoolDefaultsOutput) ToAutoprovisioningNodePoolDefaul }).(AutoprovisioningNodePoolDefaultsPtrOutput) } +func (o AutoprovisioningNodePoolDefaultsOutput) ToOutput(ctx context.Context) pulumix.Output[AutoprovisioningNodePoolDefaults] { + return pulumix.Output[AutoprovisioningNodePoolDefaults]{ + OutputState: o.OutputState, + } +} + // The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption func (o AutoprovisioningNodePoolDefaultsOutput) BootDiskKmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v AutoprovisioningNodePoolDefaults) *string { return v.BootDiskKmsKey }).(pulumi.StringPtrOutput) @@ -1620,6 +1831,12 @@ func (o AutoprovisioningNodePoolDefaultsPtrOutput) ToAutoprovisioningNodePoolDef return o } +func (o AutoprovisioningNodePoolDefaultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoprovisioningNodePoolDefaults] { + return pulumix.Output[*AutoprovisioningNodePoolDefaults]{ + OutputState: o.OutputState, + } +} + func (o AutoprovisioningNodePoolDefaultsPtrOutput) Elem() AutoprovisioningNodePoolDefaultsOutput { return o.ApplyT(func(v *AutoprovisioningNodePoolDefaults) AutoprovisioningNodePoolDefaults { if v != nil { @@ -1773,6 +1990,12 @@ func (o AutoprovisioningNodePoolDefaultsResponseOutput) ToAutoprovisioningNodePo return o } +func (o AutoprovisioningNodePoolDefaultsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoprovisioningNodePoolDefaultsResponse] { + return pulumix.Output[AutoprovisioningNodePoolDefaultsResponse]{ + OutputState: o.OutputState, + } +} + // The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption func (o AutoprovisioningNodePoolDefaultsResponseOutput) BootDiskKmsKey() pulumi.StringOutput { return o.ApplyT(func(v AutoprovisioningNodePoolDefaultsResponse) string { return v.BootDiskKmsKey }).(pulumi.StringOutput) @@ -1850,6 +2073,12 @@ func (o AvailableVersionResponseOutput) ToAvailableVersionResponseOutputWithCont return o } +func (o AvailableVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AvailableVersionResponse] { + return pulumix.Output[AvailableVersionResponse]{ + OutputState: o.OutputState, + } +} + // Reason for availability. func (o AvailableVersionResponseOutput) Reason() pulumi.StringOutput { return o.ApplyT(func(v AvailableVersionResponse) string { return v.Reason }).(pulumi.StringOutput) @@ -1874,6 +2103,12 @@ func (o AvailableVersionResponseArrayOutput) ToAvailableVersionResponseArrayOutp return o } +func (o AvailableVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AvailableVersionResponse] { + return pulumix.Output[[]AvailableVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o AvailableVersionResponseArrayOutput) Index(i pulumi.IntInput) AvailableVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AvailableVersionResponse { return vs[0].([]AvailableVersionResponse)[vs[1].(int)] @@ -1915,6 +2150,12 @@ func (i BigQueryDestinationArgs) ToBigQueryDestinationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BigQueryDestinationOutput) } +func (i BigQueryDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[BigQueryDestination] { + return pulumix.Output[BigQueryDestination]{ + OutputState: i.ToBigQueryDestinationOutputWithContext(ctx).OutputState, + } +} + func (i BigQueryDestinationArgs) ToBigQueryDestinationPtrOutput() BigQueryDestinationPtrOutput { return i.ToBigQueryDestinationPtrOutputWithContext(context.Background()) } @@ -1956,6 +2197,12 @@ func (i *bigQueryDestinationPtrType) ToBigQueryDestinationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BigQueryDestinationPtrOutput) } +func (i *bigQueryDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*BigQueryDestination] { + return pulumix.Output[*BigQueryDestination]{ + OutputState: i.ToBigQueryDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters for using BigQuery as the destination of resource usage export. type BigQueryDestinationOutput struct{ *pulumi.OutputState } @@ -1981,6 +2228,12 @@ func (o BigQueryDestinationOutput) ToBigQueryDestinationPtrOutputWithContext(ctx }).(BigQueryDestinationPtrOutput) } +func (o BigQueryDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDestination] { + return pulumix.Output[BigQueryDestination]{ + OutputState: o.OutputState, + } +} + // The ID of a BigQuery Dataset. func (o BigQueryDestinationOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v BigQueryDestination) *string { return v.DatasetId }).(pulumi.StringPtrOutput) @@ -2000,6 +2253,12 @@ func (o BigQueryDestinationPtrOutput) ToBigQueryDestinationPtrOutputWithContext( return o } +func (o BigQueryDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BigQueryDestination] { + return pulumix.Output[*BigQueryDestination]{ + OutputState: o.OutputState, + } +} + func (o BigQueryDestinationPtrOutput) Elem() BigQueryDestinationOutput { return o.ApplyT(func(v *BigQueryDestination) BigQueryDestination { if v != nil { @@ -2041,6 +2300,12 @@ func (o BigQueryDestinationResponseOutput) ToBigQueryDestinationResponseOutputWi return o } +func (o BigQueryDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDestinationResponse] { + return pulumix.Output[BigQueryDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The ID of a BigQuery Dataset. func (o BigQueryDestinationResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v BigQueryDestinationResponse) string { return v.DatasetId }).(pulumi.StringOutput) @@ -2089,6 +2354,12 @@ func (i BinaryAuthorizationArgs) ToBinaryAuthorizationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BinaryAuthorizationOutput) } +func (i BinaryAuthorizationArgs) ToOutput(ctx context.Context) pulumix.Output[BinaryAuthorization] { + return pulumix.Output[BinaryAuthorization]{ + OutputState: i.ToBinaryAuthorizationOutputWithContext(ctx).OutputState, + } +} + func (i BinaryAuthorizationArgs) ToBinaryAuthorizationPtrOutput() BinaryAuthorizationPtrOutput { return i.ToBinaryAuthorizationPtrOutputWithContext(context.Background()) } @@ -2130,6 +2401,12 @@ func (i *binaryAuthorizationPtrType) ToBinaryAuthorizationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BinaryAuthorizationPtrOutput) } +func (i *binaryAuthorizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*BinaryAuthorization] { + return pulumix.Output[*BinaryAuthorization]{ + OutputState: i.ToBinaryAuthorizationPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for Binary Authorization. type BinaryAuthorizationOutput struct{ *pulumi.OutputState } @@ -2155,6 +2432,12 @@ func (o BinaryAuthorizationOutput) ToBinaryAuthorizationPtrOutputWithContext(ctx }).(BinaryAuthorizationPtrOutput) } +func (o BinaryAuthorizationOutput) ToOutput(ctx context.Context) pulumix.Output[BinaryAuthorization] { + return pulumix.Output[BinaryAuthorization]{ + OutputState: o.OutputState, + } +} + // This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored. // // Deprecated: This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored. @@ -2181,6 +2464,12 @@ func (o BinaryAuthorizationPtrOutput) ToBinaryAuthorizationPtrOutputWithContext( return o } +func (o BinaryAuthorizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BinaryAuthorization] { + return pulumix.Output[*BinaryAuthorization]{ + OutputState: o.OutputState, + } +} + func (o BinaryAuthorizationPtrOutput) Elem() BinaryAuthorizationOutput { return o.ApplyT(func(v *BinaryAuthorization) BinaryAuthorization { if v != nil { @@ -2238,6 +2527,12 @@ func (o BinaryAuthorizationResponseOutput) ToBinaryAuthorizationResponseOutputWi return o } +func (o BinaryAuthorizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BinaryAuthorizationResponse] { + return pulumix.Output[BinaryAuthorizationResponse]{ + OutputState: o.OutputState, + } +} + // This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored. // // Deprecated: This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored. @@ -2279,6 +2574,12 @@ func (o BlueGreenInfoResponseOutput) ToBlueGreenInfoResponseOutputWithContext(ct return o } +func (o BlueGreenInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BlueGreenInfoResponse] { + return pulumix.Output[BlueGreenInfoResponse]{ + OutputState: o.OutputState, + } +} + // The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool. func (o BlueGreenInfoResponseOutput) BlueInstanceGroupUrls() pulumi.StringArrayOutput { return o.ApplyT(func(v BlueGreenInfoResponse) []string { return v.BlueInstanceGroupUrls }).(pulumi.StringArrayOutput) @@ -2343,6 +2644,12 @@ func (i BlueGreenSettingsArgs) ToBlueGreenSettingsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BlueGreenSettingsOutput) } +func (i BlueGreenSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[BlueGreenSettings] { + return pulumix.Output[BlueGreenSettings]{ + OutputState: i.ToBlueGreenSettingsOutputWithContext(ctx).OutputState, + } +} + func (i BlueGreenSettingsArgs) ToBlueGreenSettingsPtrOutput() BlueGreenSettingsPtrOutput { return i.ToBlueGreenSettingsPtrOutputWithContext(context.Background()) } @@ -2384,6 +2691,12 @@ func (i *blueGreenSettingsPtrType) ToBlueGreenSettingsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BlueGreenSettingsPtrOutput) } +func (i *blueGreenSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BlueGreenSettings] { + return pulumix.Output[*BlueGreenSettings]{ + OutputState: i.ToBlueGreenSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for blue-green upgrade. type BlueGreenSettingsOutput struct{ *pulumi.OutputState } @@ -2409,6 +2722,12 @@ func (o BlueGreenSettingsOutput) ToBlueGreenSettingsPtrOutputWithContext(ctx con }).(BlueGreenSettingsPtrOutput) } +func (o BlueGreenSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[BlueGreenSettings] { + return pulumix.Output[BlueGreenSettings]{ + OutputState: o.OutputState, + } +} + // Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. func (o BlueGreenSettingsOutput) NodePoolSoakDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v BlueGreenSettings) *string { return v.NodePoolSoakDuration }).(pulumi.StringPtrOutput) @@ -2433,6 +2752,12 @@ func (o BlueGreenSettingsPtrOutput) ToBlueGreenSettingsPtrOutputWithContext(ctx return o } +func (o BlueGreenSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BlueGreenSettings] { + return pulumix.Output[*BlueGreenSettings]{ + OutputState: o.OutputState, + } +} + func (o BlueGreenSettingsPtrOutput) Elem() BlueGreenSettingsOutput { return o.ApplyT(func(v *BlueGreenSettings) BlueGreenSettings { if v != nil { @@ -2486,6 +2811,12 @@ func (o BlueGreenSettingsResponseOutput) ToBlueGreenSettingsResponseOutputWithCo return o } +func (o BlueGreenSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BlueGreenSettingsResponse] { + return pulumix.Output[BlueGreenSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. func (o BlueGreenSettingsResponseOutput) NodePoolSoakDuration() pulumi.StringOutput { return o.ApplyT(func(v BlueGreenSettingsResponse) string { return v.NodePoolSoakDuration }).(pulumi.StringOutput) @@ -2535,6 +2866,12 @@ func (i CidrBlockArgs) ToCidrBlockOutputWithContext(ctx context.Context) CidrBlo return pulumi.ToOutputWithContext(ctx, i).(CidrBlockOutput) } +func (i CidrBlockArgs) ToOutput(ctx context.Context) pulumix.Output[CidrBlock] { + return pulumix.Output[CidrBlock]{ + OutputState: i.ToCidrBlockOutputWithContext(ctx).OutputState, + } +} + // CidrBlockArrayInput is an input type that accepts CidrBlockArray and CidrBlockArrayOutput values. // You can construct a concrete instance of `CidrBlockArrayInput` via: // @@ -2560,6 +2897,12 @@ func (i CidrBlockArray) ToCidrBlockArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CidrBlockArrayOutput) } +func (i CidrBlockArray) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlock] { + return pulumix.Output[[]CidrBlock]{ + OutputState: i.ToCidrBlockArrayOutputWithContext(ctx).OutputState, + } +} + // CidrBlock contains an optional name and one CIDR block. type CidrBlockOutput struct{ *pulumi.OutputState } @@ -2575,6 +2918,12 @@ func (o CidrBlockOutput) ToCidrBlockOutputWithContext(ctx context.Context) CidrB return o } +func (o CidrBlockOutput) ToOutput(ctx context.Context) pulumix.Output[CidrBlock] { + return pulumix.Output[CidrBlock]{ + OutputState: o.OutputState, + } +} + // cidr_block must be specified in CIDR notation. func (o CidrBlockOutput) CidrBlock() pulumi.StringPtrOutput { return o.ApplyT(func(v CidrBlock) *string { return v.CidrBlock }).(pulumi.StringPtrOutput) @@ -2599,6 +2948,12 @@ func (o CidrBlockArrayOutput) ToCidrBlockArrayOutputWithContext(ctx context.Cont return o } +func (o CidrBlockArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlock] { + return pulumix.Output[[]CidrBlock]{ + OutputState: o.OutputState, + } +} + func (o CidrBlockArrayOutput) Index(i pulumi.IntInput) CidrBlockOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CidrBlock { return vs[0].([]CidrBlock)[vs[1].(int)] @@ -2628,6 +2983,12 @@ func (o CidrBlockResponseOutput) ToCidrBlockResponseOutputWithContext(ctx contex return o } +func (o CidrBlockResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CidrBlockResponse] { + return pulumix.Output[CidrBlockResponse]{ + OutputState: o.OutputState, + } +} + // cidr_block must be specified in CIDR notation. func (o CidrBlockResponseOutput) CidrBlock() pulumi.StringOutput { return o.ApplyT(func(v CidrBlockResponse) string { return v.CidrBlock }).(pulumi.StringOutput) @@ -2652,6 +3013,12 @@ func (o CidrBlockResponseArrayOutput) ToCidrBlockResponseArrayOutputWithContext( return o } +func (o CidrBlockResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CidrBlockResponse] { + return pulumix.Output[[]CidrBlockResponse]{ + OutputState: o.OutputState, + } +} + func (o CidrBlockResponseArrayOutput) Index(i pulumi.IntInput) CidrBlockResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CidrBlockResponse { return vs[0].([]CidrBlockResponse)[vs[1].(int)] @@ -2693,6 +3060,12 @@ func (i ClientCertificateConfigArgs) ToClientCertificateConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ClientCertificateConfigOutput) } +func (i ClientCertificateConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ClientCertificateConfig] { + return pulumix.Output[ClientCertificateConfig]{ + OutputState: i.ToClientCertificateConfigOutputWithContext(ctx).OutputState, + } +} + func (i ClientCertificateConfigArgs) ToClientCertificateConfigPtrOutput() ClientCertificateConfigPtrOutput { return i.ToClientCertificateConfigPtrOutputWithContext(context.Background()) } @@ -2734,6 +3107,12 @@ func (i *clientCertificateConfigPtrType) ToClientCertificateConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ClientCertificateConfigPtrOutput) } +func (i *clientCertificateConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClientCertificateConfig] { + return pulumix.Output[*ClientCertificateConfig]{ + OutputState: i.ToClientCertificateConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for client certificates on the cluster. type ClientCertificateConfigOutput struct{ *pulumi.OutputState } @@ -2759,6 +3138,12 @@ func (o ClientCertificateConfigOutput) ToClientCertificateConfigPtrOutputWithCon }).(ClientCertificateConfigPtrOutput) } +func (o ClientCertificateConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ClientCertificateConfig] { + return pulumix.Output[ClientCertificateConfig]{ + OutputState: o.OutputState, + } +} + // Issue a client certificate. func (o ClientCertificateConfigOutput) IssueClientCertificate() pulumi.BoolPtrOutput { return o.ApplyT(func(v ClientCertificateConfig) *bool { return v.IssueClientCertificate }).(pulumi.BoolPtrOutput) @@ -2778,6 +3163,12 @@ func (o ClientCertificateConfigPtrOutput) ToClientCertificateConfigPtrOutputWith return o } +func (o ClientCertificateConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientCertificateConfig] { + return pulumix.Output[*ClientCertificateConfig]{ + OutputState: o.OutputState, + } +} + func (o ClientCertificateConfigPtrOutput) Elem() ClientCertificateConfigOutput { return o.ApplyT(func(v *ClientCertificateConfig) ClientCertificateConfig { if v != nil { @@ -2819,6 +3210,12 @@ func (o ClientCertificateConfigResponseOutput) ToClientCertificateConfigResponse return o } +func (o ClientCertificateConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClientCertificateConfigResponse] { + return pulumix.Output[ClientCertificateConfigResponse]{ + OutputState: o.OutputState, + } +} + // Issue a client certificate. func (o ClientCertificateConfigResponseOutput) IssueClientCertificate() pulumi.BoolOutput { return o.ApplyT(func(v ClientCertificateConfigResponse) bool { return v.IssueClientCertificate }).(pulumi.BoolOutput) @@ -2863,6 +3260,12 @@ func (i CloudRunConfigArgs) ToCloudRunConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CloudRunConfigOutput) } +func (i CloudRunConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfig] { + return pulumix.Output[CloudRunConfig]{ + OutputState: i.ToCloudRunConfigOutputWithContext(ctx).OutputState, + } +} + func (i CloudRunConfigArgs) ToCloudRunConfigPtrOutput() CloudRunConfigPtrOutput { return i.ToCloudRunConfigPtrOutputWithContext(context.Background()) } @@ -2904,6 +3307,12 @@ func (i *cloudRunConfigPtrType) ToCloudRunConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CloudRunConfigPtrOutput) } +func (i *cloudRunConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRunConfig] { + return pulumix.Output[*CloudRunConfig]{ + OutputState: i.ToCloudRunConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the Cloud Run feature. type CloudRunConfigOutput struct{ *pulumi.OutputState } @@ -2929,6 +3338,12 @@ func (o CloudRunConfigOutput) ToCloudRunConfigPtrOutputWithContext(ctx context.C }).(CloudRunConfigPtrOutput) } +func (o CloudRunConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfig] { + return pulumix.Output[CloudRunConfig]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Run addon is enabled for this cluster. func (o CloudRunConfigOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v CloudRunConfig) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -2953,6 +3368,12 @@ func (o CloudRunConfigPtrOutput) ToCloudRunConfigPtrOutputWithContext(ctx contex return o } +func (o CloudRunConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRunConfig] { + return pulumix.Output[*CloudRunConfig]{ + OutputState: o.OutputState, + } +} + func (o CloudRunConfigPtrOutput) Elem() CloudRunConfigOutput { return o.ApplyT(func(v *CloudRunConfig) CloudRunConfig { if v != nil { @@ -3006,6 +3427,12 @@ func (o CloudRunConfigResponseOutput) ToCloudRunConfigResponseOutputWithContext( return o } +func (o CloudRunConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunConfigResponse] { + return pulumix.Output[CloudRunConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Run addon is enabled for this cluster. func (o CloudRunConfigResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v CloudRunConfigResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -3067,6 +3494,12 @@ func (i ClusterAutoscalingArgs) ToClusterAutoscalingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscalingOutput) } +func (i ClusterAutoscalingArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscaling] { + return pulumix.Output[ClusterAutoscaling]{ + OutputState: i.ToClusterAutoscalingOutputWithContext(ctx).OutputState, + } +} + func (i ClusterAutoscalingArgs) ToClusterAutoscalingPtrOutput() ClusterAutoscalingPtrOutput { return i.ToClusterAutoscalingPtrOutputWithContext(context.Background()) } @@ -3108,6 +3541,12 @@ func (i *clusterAutoscalingPtrType) ToClusterAutoscalingPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ClusterAutoscalingPtrOutput) } +func (i *clusterAutoscalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterAutoscaling] { + return pulumix.Output[*ClusterAutoscaling]{ + OutputState: i.ToClusterAutoscalingPtrOutputWithContext(ctx).OutputState, + } +} + // ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs. type ClusterAutoscalingOutput struct{ *pulumi.OutputState } @@ -3133,6 +3572,12 @@ func (o ClusterAutoscalingOutput) ToClusterAutoscalingPtrOutputWithContext(ctx c }).(ClusterAutoscalingPtrOutput) } +func (o ClusterAutoscalingOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscaling] { + return pulumix.Output[ClusterAutoscaling]{ + OutputState: o.OutputState, + } +} + // The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP. func (o ClusterAutoscalingOutput) AutoprovisioningLocations() pulumi.StringArrayOutput { return o.ApplyT(func(v ClusterAutoscaling) []string { return v.AutoprovisioningLocations }).(pulumi.StringArrayOutput) @@ -3174,6 +3619,12 @@ func (o ClusterAutoscalingPtrOutput) ToClusterAutoscalingPtrOutputWithContext(ct return o } +func (o ClusterAutoscalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterAutoscaling] { + return pulumix.Output[*ClusterAutoscaling]{ + OutputState: o.OutputState, + } +} + func (o ClusterAutoscalingPtrOutput) Elem() ClusterAutoscalingOutput { return o.ApplyT(func(v *ClusterAutoscaling) ClusterAutoscaling { if v != nil { @@ -3263,6 +3714,12 @@ func (o ClusterAutoscalingResponseOutput) ToClusterAutoscalingResponseOutputWith return o } +func (o ClusterAutoscalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAutoscalingResponse] { + return pulumix.Output[ClusterAutoscalingResponse]{ + OutputState: o.OutputState, + } +} + // The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP. func (o ClusterAutoscalingResponseOutput) AutoprovisioningLocations() pulumi.StringArrayOutput { return o.ApplyT(func(v ClusterAutoscalingResponse) []string { return v.AutoprovisioningLocations }).(pulumi.StringArrayOutput) @@ -3325,6 +3782,12 @@ func (i ClusterTelemetryArgs) ToClusterTelemetryOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ClusterTelemetryOutput) } +func (i ClusterTelemetryArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterTelemetry] { + return pulumix.Output[ClusterTelemetry]{ + OutputState: i.ToClusterTelemetryOutputWithContext(ctx).OutputState, + } +} + func (i ClusterTelemetryArgs) ToClusterTelemetryPtrOutput() ClusterTelemetryPtrOutput { return i.ToClusterTelemetryPtrOutputWithContext(context.Background()) } @@ -3366,6 +3829,12 @@ func (i *clusterTelemetryPtrType) ToClusterTelemetryPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ClusterTelemetryPtrOutput) } +func (i *clusterTelemetryPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterTelemetry] { + return pulumix.Output[*ClusterTelemetry]{ + OutputState: i.ToClusterTelemetryPtrOutputWithContext(ctx).OutputState, + } +} + // Telemetry integration for the cluster. type ClusterTelemetryOutput struct{ *pulumi.OutputState } @@ -3391,6 +3860,12 @@ func (o ClusterTelemetryOutput) ToClusterTelemetryPtrOutputWithContext(ctx conte }).(ClusterTelemetryPtrOutput) } +func (o ClusterTelemetryOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterTelemetry] { + return pulumix.Output[ClusterTelemetry]{ + OutputState: o.OutputState, + } +} + // Type of the integration. func (o ClusterTelemetryOutput) Type() ClusterTelemetryTypePtrOutput { return o.ApplyT(func(v ClusterTelemetry) *ClusterTelemetryType { return v.Type }).(ClusterTelemetryTypePtrOutput) @@ -3410,6 +3885,12 @@ func (o ClusterTelemetryPtrOutput) ToClusterTelemetryPtrOutputWithContext(ctx co return o } +func (o ClusterTelemetryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterTelemetry] { + return pulumix.Output[*ClusterTelemetry]{ + OutputState: o.OutputState, + } +} + func (o ClusterTelemetryPtrOutput) Elem() ClusterTelemetryOutput { return o.ApplyT(func(v *ClusterTelemetry) ClusterTelemetry { if v != nil { @@ -3451,6 +3932,12 @@ func (o ClusterTelemetryResponseOutput) ToClusterTelemetryResponseOutputWithCont return o } +func (o ClusterTelemetryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterTelemetryResponse] { + return pulumix.Output[ClusterTelemetryResponse]{ + OutputState: o.OutputState, + } +} + // Type of the integration. func (o ClusterTelemetryResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v ClusterTelemetryResponse) string { return v.Type }).(pulumi.StringOutput) @@ -3595,6 +4082,12 @@ func (i ConfidentialNodesArgs) ToConfidentialNodesOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ConfidentialNodesOutput) } +func (i ConfidentialNodesArgs) ToOutput(ctx context.Context) pulumix.Output[ConfidentialNodes] { + return pulumix.Output[ConfidentialNodes]{ + OutputState: i.ToConfidentialNodesOutputWithContext(ctx).OutputState, + } +} + func (i ConfidentialNodesArgs) ToConfidentialNodesPtrOutput() ConfidentialNodesPtrOutput { return i.ToConfidentialNodesPtrOutputWithContext(context.Background()) } @@ -3636,6 +4129,12 @@ func (i *confidentialNodesPtrType) ToConfidentialNodesPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ConfidentialNodesPtrOutput) } +func (i *confidentialNodesPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialNodes] { + return pulumix.Output[*ConfidentialNodes]{ + OutputState: i.ToConfidentialNodesPtrOutputWithContext(ctx).OutputState, + } +} + // ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. type ConfidentialNodesOutput struct{ *pulumi.OutputState } @@ -3661,6 +4160,12 @@ func (o ConfidentialNodesOutput) ToConfidentialNodesPtrOutputWithContext(ctx con }).(ConfidentialNodesPtrOutput) } +func (o ConfidentialNodesOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialNodes] { + return pulumix.Output[ConfidentialNodes]{ + OutputState: o.OutputState, + } +} + // Whether Confidential Nodes feature is enabled. func (o ConfidentialNodesOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConfidentialNodes) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -3680,6 +4185,12 @@ func (o ConfidentialNodesPtrOutput) ToConfidentialNodesPtrOutputWithContext(ctx return o } +func (o ConfidentialNodesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialNodes] { + return pulumix.Output[*ConfidentialNodes]{ + OutputState: o.OutputState, + } +} + func (o ConfidentialNodesPtrOutput) Elem() ConfidentialNodesOutput { return o.ApplyT(func(v *ConfidentialNodes) ConfidentialNodes { if v != nil { @@ -3721,6 +4232,12 @@ func (o ConfidentialNodesResponseOutput) ToConfidentialNodesResponseOutputWithCo return o } +func (o ConfidentialNodesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialNodesResponse] { + return pulumix.Output[ConfidentialNodesResponse]{ + OutputState: o.OutputState, + } +} + // Whether Confidential Nodes feature is enabled. func (o ConfidentialNodesResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ConfidentialNodesResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -3761,6 +4278,12 @@ func (i ConfigConnectorConfigArgs) ToConfigConnectorConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ConfigConnectorConfigOutput) } +func (i ConfigConnectorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigConnectorConfig] { + return pulumix.Output[ConfigConnectorConfig]{ + OutputState: i.ToConfigConnectorConfigOutputWithContext(ctx).OutputState, + } +} + func (i ConfigConnectorConfigArgs) ToConfigConnectorConfigPtrOutput() ConfigConnectorConfigPtrOutput { return i.ToConfigConnectorConfigPtrOutputWithContext(context.Background()) } @@ -3802,6 +4325,12 @@ func (i *configConnectorConfigPtrType) ToConfigConnectorConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ConfigConnectorConfigPtrOutput) } +func (i *configConnectorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfigConnectorConfig] { + return pulumix.Output[*ConfigConnectorConfig]{ + OutputState: i.ToConfigConnectorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the Config Connector add-on. type ConfigConnectorConfigOutput struct{ *pulumi.OutputState } @@ -3827,6 +4356,12 @@ func (o ConfigConnectorConfigOutput) ToConfigConnectorConfigPtrOutputWithContext }).(ConfigConnectorConfigPtrOutput) } +func (o ConfigConnectorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigConnectorConfig] { + return pulumix.Output[ConfigConnectorConfig]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Connector is enabled for this cluster. func (o ConfigConnectorConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConfigConnectorConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -3846,6 +4381,12 @@ func (o ConfigConnectorConfigPtrOutput) ToConfigConnectorConfigPtrOutputWithCont return o } +func (o ConfigConnectorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigConnectorConfig] { + return pulumix.Output[*ConfigConnectorConfig]{ + OutputState: o.OutputState, + } +} + func (o ConfigConnectorConfigPtrOutput) Elem() ConfigConnectorConfigOutput { return o.ApplyT(func(v *ConfigConnectorConfig) ConfigConnectorConfig { if v != nil { @@ -3887,6 +4428,12 @@ func (o ConfigConnectorConfigResponseOutput) ToConfigConnectorConfigResponseOutp return o } +func (o ConfigConnectorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigConnectorConfigResponse] { + return pulumix.Output[ConfigConnectorConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Cloud Connector is enabled for this cluster. func (o ConfigConnectorConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ConfigConnectorConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -3927,6 +4474,12 @@ func (i ConsumptionMeteringConfigArgs) ToConsumptionMeteringConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ConsumptionMeteringConfigOutput) } +func (i ConsumptionMeteringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConsumptionMeteringConfig] { + return pulumix.Output[ConsumptionMeteringConfig]{ + OutputState: i.ToConsumptionMeteringConfigOutputWithContext(ctx).OutputState, + } +} + func (i ConsumptionMeteringConfigArgs) ToConsumptionMeteringConfigPtrOutput() ConsumptionMeteringConfigPtrOutput { return i.ToConsumptionMeteringConfigPtrOutputWithContext(context.Background()) } @@ -3968,6 +4521,12 @@ func (i *consumptionMeteringConfigPtrType) ToConsumptionMeteringConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ConsumptionMeteringConfigPtrOutput) } +func (i *consumptionMeteringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConsumptionMeteringConfig] { + return pulumix.Output[*ConsumptionMeteringConfig]{ + OutputState: i.ToConsumptionMeteringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters for controlling consumption metering. type ConsumptionMeteringConfigOutput struct{ *pulumi.OutputState } @@ -3993,6 +4552,12 @@ func (o ConsumptionMeteringConfigOutput) ToConsumptionMeteringConfigPtrOutputWit }).(ConsumptionMeteringConfigPtrOutput) } +func (o ConsumptionMeteringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConsumptionMeteringConfig] { + return pulumix.Output[ConsumptionMeteringConfig]{ + OutputState: o.OutputState, + } +} + // Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records. func (o ConsumptionMeteringConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConsumptionMeteringConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -4012,6 +4577,12 @@ func (o ConsumptionMeteringConfigPtrOutput) ToConsumptionMeteringConfigPtrOutput return o } +func (o ConsumptionMeteringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsumptionMeteringConfig] { + return pulumix.Output[*ConsumptionMeteringConfig]{ + OutputState: o.OutputState, + } +} + func (o ConsumptionMeteringConfigPtrOutput) Elem() ConsumptionMeteringConfigOutput { return o.ApplyT(func(v *ConsumptionMeteringConfig) ConsumptionMeteringConfig { if v != nil { @@ -4053,6 +4624,12 @@ func (o ConsumptionMeteringConfigResponseOutput) ToConsumptionMeteringConfigResp return o } +func (o ConsumptionMeteringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsumptionMeteringConfigResponse] { + return pulumix.Output[ConsumptionMeteringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records. func (o ConsumptionMeteringConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ConsumptionMeteringConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -4093,6 +4670,12 @@ func (i CostManagementConfigArgs) ToCostManagementConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(CostManagementConfigOutput) } +func (i CostManagementConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CostManagementConfig] { + return pulumix.Output[CostManagementConfig]{ + OutputState: i.ToCostManagementConfigOutputWithContext(ctx).OutputState, + } +} + func (i CostManagementConfigArgs) ToCostManagementConfigPtrOutput() CostManagementConfigPtrOutput { return i.ToCostManagementConfigPtrOutputWithContext(context.Background()) } @@ -4134,6 +4717,12 @@ func (i *costManagementConfigPtrType) ToCostManagementConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(CostManagementConfigPtrOutput) } +func (i *costManagementConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CostManagementConfig] { + return pulumix.Output[*CostManagementConfig]{ + OutputState: i.ToCostManagementConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for fine-grained cost management feature. type CostManagementConfigOutput struct{ *pulumi.OutputState } @@ -4159,6 +4748,12 @@ func (o CostManagementConfigOutput) ToCostManagementConfigPtrOutputWithContext(c }).(CostManagementConfigPtrOutput) } +func (o CostManagementConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CostManagementConfig] { + return pulumix.Output[CostManagementConfig]{ + OutputState: o.OutputState, + } +} + // Whether the feature is enabled or not. func (o CostManagementConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v CostManagementConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -4178,6 +4773,12 @@ func (o CostManagementConfigPtrOutput) ToCostManagementConfigPtrOutputWithContex return o } +func (o CostManagementConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CostManagementConfig] { + return pulumix.Output[*CostManagementConfig]{ + OutputState: o.OutputState, + } +} + func (o CostManagementConfigPtrOutput) Elem() CostManagementConfigOutput { return o.ApplyT(func(v *CostManagementConfig) CostManagementConfig { if v != nil { @@ -4219,6 +4820,12 @@ func (o CostManagementConfigResponseOutput) ToCostManagementConfigResponseOutput return o } +func (o CostManagementConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CostManagementConfigResponse] { + return pulumix.Output[CostManagementConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the feature is enabled or not. func (o CostManagementConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v CostManagementConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -4267,6 +4874,12 @@ func (i DNSConfigArgs) ToDNSConfigOutputWithContext(ctx context.Context) DNSConf return pulumi.ToOutputWithContext(ctx, i).(DNSConfigOutput) } +func (i DNSConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DNSConfig] { + return pulumix.Output[DNSConfig]{ + OutputState: i.ToDNSConfigOutputWithContext(ctx).OutputState, + } +} + func (i DNSConfigArgs) ToDNSConfigPtrOutput() DNSConfigPtrOutput { return i.ToDNSConfigPtrOutputWithContext(context.Background()) } @@ -4308,6 +4921,12 @@ func (i *dnsconfigPtrType) ToDNSConfigPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DNSConfigPtrOutput) } +func (i *dnsconfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DNSConfig] { + return pulumix.Output[*DNSConfig]{ + OutputState: i.ToDNSConfigPtrOutputWithContext(ctx).OutputState, + } +} + // DNSConfig contains the desired set of options for configuring clusterDNS. type DNSConfigOutput struct{ *pulumi.OutputState } @@ -4333,6 +4952,12 @@ func (o DNSConfigOutput) ToDNSConfigPtrOutputWithContext(ctx context.Context) DN }).(DNSConfigPtrOutput) } +func (o DNSConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DNSConfig] { + return pulumix.Output[DNSConfig]{ + OutputState: o.OutputState, + } +} + // cluster_dns indicates which in-cluster DNS provider should be used. func (o DNSConfigOutput) ClusterDns() DNSConfigClusterDnsPtrOutput { return o.ApplyT(func(v DNSConfig) *DNSConfigClusterDns { return v.ClusterDns }).(DNSConfigClusterDnsPtrOutput) @@ -4362,6 +4987,12 @@ func (o DNSConfigPtrOutput) ToDNSConfigPtrOutputWithContext(ctx context.Context) return o } +func (o DNSConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DNSConfig] { + return pulumix.Output[*DNSConfig]{ + OutputState: o.OutputState, + } +} + func (o DNSConfigPtrOutput) Elem() DNSConfigOutput { return o.ApplyT(func(v *DNSConfig) DNSConfig { if v != nil { @@ -4427,6 +5058,12 @@ func (o DNSConfigResponseOutput) ToDNSConfigResponseOutputWithContext(ctx contex return o } +func (o DNSConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DNSConfigResponse] { + return pulumix.Output[DNSConfigResponse]{ + OutputState: o.OutputState, + } +} + // cluster_dns indicates which in-cluster DNS provider should be used. func (o DNSConfigResponseOutput) ClusterDns() pulumi.StringOutput { return o.ApplyT(func(v DNSConfigResponse) string { return v.ClusterDns }).(pulumi.StringOutput) @@ -4477,6 +5114,12 @@ func (i DailyMaintenanceWindowArgs) ToDailyMaintenanceWindowOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(DailyMaintenanceWindowOutput) } +func (i DailyMaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[DailyMaintenanceWindow] { + return pulumix.Output[DailyMaintenanceWindow]{ + OutputState: i.ToDailyMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i DailyMaintenanceWindowArgs) ToDailyMaintenanceWindowPtrOutput() DailyMaintenanceWindowPtrOutput { return i.ToDailyMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -4518,6 +5161,12 @@ func (i *dailyMaintenanceWindowPtrType) ToDailyMaintenanceWindowPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(DailyMaintenanceWindowPtrOutput) } +func (i *dailyMaintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*DailyMaintenanceWindow] { + return pulumix.Output[*DailyMaintenanceWindow]{ + OutputState: i.ToDailyMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Time window specified for daily maintenance operations. type DailyMaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -4543,6 +5192,12 @@ func (o DailyMaintenanceWindowOutput) ToDailyMaintenanceWindowPtrOutputWithConte }).(DailyMaintenanceWindowPtrOutput) } +func (o DailyMaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[DailyMaintenanceWindow] { + return pulumix.Output[DailyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // Time within the maintenance window to start the maintenance operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT. func (o DailyMaintenanceWindowOutput) StartTime() pulumi.StringPtrOutput { return o.ApplyT(func(v DailyMaintenanceWindow) *string { return v.StartTime }).(pulumi.StringPtrOutput) @@ -4562,6 +5217,12 @@ func (o DailyMaintenanceWindowPtrOutput) ToDailyMaintenanceWindowPtrOutputWithCo return o } +func (o DailyMaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DailyMaintenanceWindow] { + return pulumix.Output[*DailyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o DailyMaintenanceWindowPtrOutput) Elem() DailyMaintenanceWindowOutput { return o.ApplyT(func(v *DailyMaintenanceWindow) DailyMaintenanceWindow { if v != nil { @@ -4605,6 +5266,12 @@ func (o DailyMaintenanceWindowResponseOutput) ToDailyMaintenanceWindowResponseOu return o } +func (o DailyMaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DailyMaintenanceWindowResponse] { + return pulumix.Output[DailyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. func (o DailyMaintenanceWindowResponseOutput) Duration() pulumi.StringOutput { return o.ApplyT(func(v DailyMaintenanceWindowResponse) string { return v.Duration }).(pulumi.StringOutput) @@ -4654,6 +5321,12 @@ func (i DatabaseEncryptionArgs) ToDatabaseEncryptionOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DatabaseEncryptionOutput) } +func (i DatabaseEncryptionArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseEncryption] { + return pulumix.Output[DatabaseEncryption]{ + OutputState: i.ToDatabaseEncryptionOutputWithContext(ctx).OutputState, + } +} + func (i DatabaseEncryptionArgs) ToDatabaseEncryptionPtrOutput() DatabaseEncryptionPtrOutput { return i.ToDatabaseEncryptionPtrOutputWithContext(context.Background()) } @@ -4695,6 +5368,12 @@ func (i *databaseEncryptionPtrType) ToDatabaseEncryptionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DatabaseEncryptionPtrOutput) } +func (i *databaseEncryptionPtrType) ToOutput(ctx context.Context) pulumix.Output[*DatabaseEncryption] { + return pulumix.Output[*DatabaseEncryption]{ + OutputState: i.ToDatabaseEncryptionPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of etcd encryption. type DatabaseEncryptionOutput struct{ *pulumi.OutputState } @@ -4720,6 +5399,12 @@ func (o DatabaseEncryptionOutput) ToDatabaseEncryptionPtrOutputWithContext(ctx c }).(DatabaseEncryptionPtrOutput) } +func (o DatabaseEncryptionOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseEncryption] { + return pulumix.Output[DatabaseEncryption]{ + OutputState: o.OutputState, + } +} + // Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key func (o DatabaseEncryptionOutput) KeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseEncryption) *string { return v.KeyName }).(pulumi.StringPtrOutput) @@ -4744,6 +5429,12 @@ func (o DatabaseEncryptionPtrOutput) ToDatabaseEncryptionPtrOutputWithContext(ct return o } +func (o DatabaseEncryptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseEncryption] { + return pulumix.Output[*DatabaseEncryption]{ + OutputState: o.OutputState, + } +} + func (o DatabaseEncryptionPtrOutput) Elem() DatabaseEncryptionOutput { return o.ApplyT(func(v *DatabaseEncryption) DatabaseEncryption { if v != nil { @@ -4797,6 +5488,12 @@ func (o DatabaseEncryptionResponseOutput) ToDatabaseEncryptionResponseOutputWith return o } +func (o DatabaseEncryptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseEncryptionResponse] { + return pulumix.Output[DatabaseEncryptionResponse]{ + OutputState: o.OutputState, + } +} + // Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key func (o DatabaseEncryptionResponseOutput) KeyName() pulumi.StringOutput { return o.ApplyT(func(v DatabaseEncryptionResponse) string { return v.KeyName }).(pulumi.StringOutput) @@ -4842,6 +5539,12 @@ func (i DefaultSnatStatusArgs) ToDefaultSnatStatusOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DefaultSnatStatusOutput) } +func (i DefaultSnatStatusArgs) ToOutput(ctx context.Context) pulumix.Output[DefaultSnatStatus] { + return pulumix.Output[DefaultSnatStatus]{ + OutputState: i.ToDefaultSnatStatusOutputWithContext(ctx).OutputState, + } +} + func (i DefaultSnatStatusArgs) ToDefaultSnatStatusPtrOutput() DefaultSnatStatusPtrOutput { return i.ToDefaultSnatStatusPtrOutputWithContext(context.Background()) } @@ -4883,6 +5586,12 @@ func (i *defaultSnatStatusPtrType) ToDefaultSnatStatusPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DefaultSnatStatusPtrOutput) } +func (i *defaultSnatStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*DefaultSnatStatus] { + return pulumix.Output[*DefaultSnatStatus]{ + OutputState: i.ToDefaultSnatStatusPtrOutputWithContext(ctx).OutputState, + } +} + // DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster. type DefaultSnatStatusOutput struct{ *pulumi.OutputState } @@ -4908,6 +5617,12 @@ func (o DefaultSnatStatusOutput) ToDefaultSnatStatusPtrOutputWithContext(ctx con }).(DefaultSnatStatusPtrOutput) } +func (o DefaultSnatStatusOutput) ToOutput(ctx context.Context) pulumix.Output[DefaultSnatStatus] { + return pulumix.Output[DefaultSnatStatus]{ + OutputState: o.OutputState, + } +} + // Disables cluster default sNAT rules. func (o DefaultSnatStatusOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v DefaultSnatStatus) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -4927,6 +5642,12 @@ func (o DefaultSnatStatusPtrOutput) ToDefaultSnatStatusPtrOutputWithContext(ctx return o } +func (o DefaultSnatStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultSnatStatus] { + return pulumix.Output[*DefaultSnatStatus]{ + OutputState: o.OutputState, + } +} + func (o DefaultSnatStatusPtrOutput) Elem() DefaultSnatStatusOutput { return o.ApplyT(func(v *DefaultSnatStatus) DefaultSnatStatus { if v != nil { @@ -4968,6 +5689,12 @@ func (o DefaultSnatStatusResponseOutput) ToDefaultSnatStatusResponseOutputWithCo return o } +func (o DefaultSnatStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DefaultSnatStatusResponse] { + return pulumix.Output[DefaultSnatStatusResponse]{ + OutputState: o.OutputState, + } +} + // Disables cluster default sNAT rules. func (o DefaultSnatStatusResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v DefaultSnatStatusResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -5008,6 +5735,12 @@ func (i DnsCacheConfigArgs) ToDnsCacheConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DnsCacheConfigOutput) } +func (i DnsCacheConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DnsCacheConfig] { + return pulumix.Output[DnsCacheConfig]{ + OutputState: i.ToDnsCacheConfigOutputWithContext(ctx).OutputState, + } +} + func (i DnsCacheConfigArgs) ToDnsCacheConfigPtrOutput() DnsCacheConfigPtrOutput { return i.ToDnsCacheConfigPtrOutputWithContext(context.Background()) } @@ -5049,6 +5782,12 @@ func (i *dnsCacheConfigPtrType) ToDnsCacheConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DnsCacheConfigPtrOutput) } +func (i *dnsCacheConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DnsCacheConfig] { + return pulumix.Output[*DnsCacheConfig]{ + OutputState: i.ToDnsCacheConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for NodeLocal DNSCache type DnsCacheConfigOutput struct{ *pulumi.OutputState } @@ -5074,6 +5813,12 @@ func (o DnsCacheConfigOutput) ToDnsCacheConfigPtrOutputWithContext(ctx context.C }).(DnsCacheConfigPtrOutput) } +func (o DnsCacheConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DnsCacheConfig] { + return pulumix.Output[DnsCacheConfig]{ + OutputState: o.OutputState, + } +} + // Whether NodeLocal DNSCache is enabled for this cluster. func (o DnsCacheConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v DnsCacheConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -5093,6 +5838,12 @@ func (o DnsCacheConfigPtrOutput) ToDnsCacheConfigPtrOutputWithContext(ctx contex return o } +func (o DnsCacheConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DnsCacheConfig] { + return pulumix.Output[*DnsCacheConfig]{ + OutputState: o.OutputState, + } +} + func (o DnsCacheConfigPtrOutput) Elem() DnsCacheConfigOutput { return o.ApplyT(func(v *DnsCacheConfig) DnsCacheConfig { if v != nil { @@ -5134,6 +5885,12 @@ func (o DnsCacheConfigResponseOutput) ToDnsCacheConfigResponseOutputWithContext( return o } +func (o DnsCacheConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DnsCacheConfigResponse] { + return pulumix.Output[DnsCacheConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether NodeLocal DNSCache is enabled for this cluster. func (o DnsCacheConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v DnsCacheConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -5174,6 +5931,12 @@ func (i EphemeralStorageConfigArgs) ToEphemeralStorageConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(EphemeralStorageConfigOutput) } +func (i EphemeralStorageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EphemeralStorageConfig] { + return pulumix.Output[EphemeralStorageConfig]{ + OutputState: i.ToEphemeralStorageConfigOutputWithContext(ctx).OutputState, + } +} + func (i EphemeralStorageConfigArgs) ToEphemeralStorageConfigPtrOutput() EphemeralStorageConfigPtrOutput { return i.ToEphemeralStorageConfigPtrOutputWithContext(context.Background()) } @@ -5215,6 +5978,12 @@ func (i *ephemeralStorageConfigPtrType) ToEphemeralStorageConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(EphemeralStorageConfigPtrOutput) } +func (i *ephemeralStorageConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EphemeralStorageConfig] { + return pulumix.Output[*EphemeralStorageConfig]{ + OutputState: i.ToEphemeralStorageConfigPtrOutputWithContext(ctx).OutputState, + } +} + // EphemeralStorageConfig contains configuration for the ephemeral storage filesystem. type EphemeralStorageConfigOutput struct{ *pulumi.OutputState } @@ -5240,6 +6009,12 @@ func (o EphemeralStorageConfigOutput) ToEphemeralStorageConfigPtrOutputWithConte }).(EphemeralStorageConfigPtrOutput) } +func (o EphemeralStorageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EphemeralStorageConfig] { + return pulumix.Output[EphemeralStorageConfig]{ + OutputState: o.OutputState, + } +} + // Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. func (o EphemeralStorageConfigOutput) LocalSsdCount() pulumi.IntPtrOutput { return o.ApplyT(func(v EphemeralStorageConfig) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) @@ -5259,6 +6034,12 @@ func (o EphemeralStorageConfigPtrOutput) ToEphemeralStorageConfigPtrOutputWithCo return o } +func (o EphemeralStorageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EphemeralStorageConfig] { + return pulumix.Output[*EphemeralStorageConfig]{ + OutputState: o.OutputState, + } +} + func (o EphemeralStorageConfigPtrOutput) Elem() EphemeralStorageConfigOutput { return o.ApplyT(func(v *EphemeralStorageConfig) EphemeralStorageConfig { if v != nil { @@ -5300,6 +6081,12 @@ func (o EphemeralStorageConfigResponseOutput) ToEphemeralStorageConfigResponseOu return o } +func (o EphemeralStorageConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EphemeralStorageConfigResponse] { + return pulumix.Output[EphemeralStorageConfigResponse]{ + OutputState: o.OutputState, + } +} + // Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. func (o EphemeralStorageConfigResponseOutput) LocalSsdCount() pulumi.IntOutput { return o.ApplyT(func(v EphemeralStorageConfigResponse) int { return v.LocalSsdCount }).(pulumi.IntOutput) @@ -5340,6 +6127,12 @@ func (i EphemeralStorageLocalSsdConfigArgs) ToEphemeralStorageLocalSsdConfigOutp return pulumi.ToOutputWithContext(ctx, i).(EphemeralStorageLocalSsdConfigOutput) } +func (i EphemeralStorageLocalSsdConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EphemeralStorageLocalSsdConfig] { + return pulumix.Output[EphemeralStorageLocalSsdConfig]{ + OutputState: i.ToEphemeralStorageLocalSsdConfigOutputWithContext(ctx).OutputState, + } +} + func (i EphemeralStorageLocalSsdConfigArgs) ToEphemeralStorageLocalSsdConfigPtrOutput() EphemeralStorageLocalSsdConfigPtrOutput { return i.ToEphemeralStorageLocalSsdConfigPtrOutputWithContext(context.Background()) } @@ -5381,6 +6174,12 @@ func (i *ephemeralStorageLocalSsdConfigPtrType) ToEphemeralStorageLocalSsdConfig return pulumi.ToOutputWithContext(ctx, i).(EphemeralStorageLocalSsdConfigPtrOutput) } +func (i *ephemeralStorageLocalSsdConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EphemeralStorageLocalSsdConfig] { + return pulumix.Output[*EphemeralStorageLocalSsdConfig]{ + OutputState: i.ToEphemeralStorageLocalSsdConfigPtrOutputWithContext(ctx).OutputState, + } +} + // EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs. type EphemeralStorageLocalSsdConfigOutput struct{ *pulumi.OutputState } @@ -5406,6 +6205,12 @@ func (o EphemeralStorageLocalSsdConfigOutput) ToEphemeralStorageLocalSsdConfigPt }).(EphemeralStorageLocalSsdConfigPtrOutput) } +func (o EphemeralStorageLocalSsdConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EphemeralStorageLocalSsdConfig] { + return pulumix.Output[EphemeralStorageLocalSsdConfig]{ + OutputState: o.OutputState, + } +} + // Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. func (o EphemeralStorageLocalSsdConfigOutput) LocalSsdCount() pulumi.IntPtrOutput { return o.ApplyT(func(v EphemeralStorageLocalSsdConfig) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) @@ -5425,6 +6230,12 @@ func (o EphemeralStorageLocalSsdConfigPtrOutput) ToEphemeralStorageLocalSsdConfi return o } +func (o EphemeralStorageLocalSsdConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EphemeralStorageLocalSsdConfig] { + return pulumix.Output[*EphemeralStorageLocalSsdConfig]{ + OutputState: o.OutputState, + } +} + func (o EphemeralStorageLocalSsdConfigPtrOutput) Elem() EphemeralStorageLocalSsdConfigOutput { return o.ApplyT(func(v *EphemeralStorageLocalSsdConfig) EphemeralStorageLocalSsdConfig { if v != nil { @@ -5466,6 +6277,12 @@ func (o EphemeralStorageLocalSsdConfigResponseOutput) ToEphemeralStorageLocalSsd return o } +func (o EphemeralStorageLocalSsdConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EphemeralStorageLocalSsdConfigResponse] { + return pulumix.Output[EphemeralStorageLocalSsdConfigResponse]{ + OutputState: o.OutputState, + } +} + // Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. func (o EphemeralStorageLocalSsdConfigResponseOutput) LocalSsdCount() pulumi.IntOutput { return o.ApplyT(func(v EphemeralStorageLocalSsdConfigResponse) int { return v.LocalSsdCount }).(pulumi.IntOutput) @@ -5506,6 +6323,12 @@ func (i FastSocketArgs) ToFastSocketOutputWithContext(ctx context.Context) FastS return pulumi.ToOutputWithContext(ctx, i).(FastSocketOutput) } +func (i FastSocketArgs) ToOutput(ctx context.Context) pulumix.Output[FastSocket] { + return pulumix.Output[FastSocket]{ + OutputState: i.ToFastSocketOutputWithContext(ctx).OutputState, + } +} + func (i FastSocketArgs) ToFastSocketPtrOutput() FastSocketPtrOutput { return i.ToFastSocketPtrOutputWithContext(context.Background()) } @@ -5547,6 +6370,12 @@ func (i *fastSocketPtrType) ToFastSocketPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FastSocketPtrOutput) } +func (i *fastSocketPtrType) ToOutput(ctx context.Context) pulumix.Output[*FastSocket] { + return pulumix.Output[*FastSocket]{ + OutputState: i.ToFastSocketPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of Fast Socket feature. type FastSocketOutput struct{ *pulumi.OutputState } @@ -5572,6 +6401,12 @@ func (o FastSocketOutput) ToFastSocketPtrOutputWithContext(ctx context.Context) }).(FastSocketPtrOutput) } +func (o FastSocketOutput) ToOutput(ctx context.Context) pulumix.Output[FastSocket] { + return pulumix.Output[FastSocket]{ + OutputState: o.OutputState, + } +} + // Whether Fast Socket features are enabled in the node pool. func (o FastSocketOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v FastSocket) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -5591,6 +6426,12 @@ func (o FastSocketPtrOutput) ToFastSocketPtrOutputWithContext(ctx context.Contex return o } +func (o FastSocketPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FastSocket] { + return pulumix.Output[*FastSocket]{ + OutputState: o.OutputState, + } +} + func (o FastSocketPtrOutput) Elem() FastSocketOutput { return o.ApplyT(func(v *FastSocket) FastSocket { if v != nil { @@ -5632,6 +6473,12 @@ func (o FastSocketResponseOutput) ToFastSocketResponseOutputWithContext(ctx cont return o } +func (o FastSocketResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FastSocketResponse] { + return pulumix.Output[FastSocketResponse]{ + OutputState: o.OutputState, + } +} + // Whether Fast Socket features are enabled in the node pool. func (o FastSocketResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v FastSocketResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -5672,6 +6519,12 @@ func (i FilterArgs) ToFilterOutputWithContext(ctx context.Context) FilterOutput return pulumi.ToOutputWithContext(ctx, i).(FilterOutput) } +func (i FilterArgs) ToOutput(ctx context.Context) pulumix.Output[Filter] { + return pulumix.Output[Filter]{ + OutputState: i.ToFilterOutputWithContext(ctx).OutputState, + } +} + func (i FilterArgs) ToFilterPtrOutput() FilterPtrOutput { return i.ToFilterPtrOutputWithContext(context.Background()) } @@ -5713,6 +6566,12 @@ func (i *filterPtrType) ToFilterPtrOutputWithContext(ctx context.Context) Filter return pulumi.ToOutputWithContext(ctx, i).(FilterPtrOutput) } +func (i *filterPtrType) ToOutput(ctx context.Context) pulumix.Output[*Filter] { + return pulumix.Output[*Filter]{ + OutputState: i.ToFilterPtrOutputWithContext(ctx).OutputState, + } +} + // Allows filtering to one or more specific event types. If event types are present, those and only those event types will be transmitted to the cluster. Other types will be skipped. If no filter is specified, or no event types are present, all event types will be sent type FilterOutput struct{ *pulumi.OutputState } @@ -5738,6 +6597,12 @@ func (o FilterOutput) ToFilterPtrOutputWithContext(ctx context.Context) FilterPt }).(FilterPtrOutput) } +func (o FilterOutput) ToOutput(ctx context.Context) pulumix.Output[Filter] { + return pulumix.Output[Filter]{ + OutputState: o.OutputState, + } +} + // Event types to allowlist. func (o FilterOutput) EventType() FilterEventTypeItemArrayOutput { return o.ApplyT(func(v Filter) []FilterEventTypeItem { return v.EventType }).(FilterEventTypeItemArrayOutput) @@ -5757,6 +6622,12 @@ func (o FilterPtrOutput) ToFilterPtrOutputWithContext(ctx context.Context) Filte return o } +func (o FilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Filter] { + return pulumix.Output[*Filter]{ + OutputState: o.OutputState, + } +} + func (o FilterPtrOutput) Elem() FilterOutput { return o.ApplyT(func(v *Filter) Filter { if v != nil { @@ -5798,6 +6669,12 @@ func (o FilterResponseOutput) ToFilterResponseOutputWithContext(ctx context.Cont return o } +func (o FilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FilterResponse] { + return pulumix.Output[FilterResponse]{ + OutputState: o.OutputState, + } +} + // Event types to allowlist. func (o FilterResponseOutput) EventType() pulumi.StringArrayOutput { return o.ApplyT(func(v FilterResponse) []string { return v.EventType }).(pulumi.StringArrayOutput) @@ -5838,6 +6715,12 @@ func (i FleetArgs) ToFleetOutputWithContext(ctx context.Context) FleetOutput { return pulumi.ToOutputWithContext(ctx, i).(FleetOutput) } +func (i FleetArgs) ToOutput(ctx context.Context) pulumix.Output[Fleet] { + return pulumix.Output[Fleet]{ + OutputState: i.ToFleetOutputWithContext(ctx).OutputState, + } +} + func (i FleetArgs) ToFleetPtrOutput() FleetPtrOutput { return i.ToFleetPtrOutputWithContext(context.Background()) } @@ -5879,6 +6762,12 @@ func (i *fleetPtrType) ToFleetPtrOutputWithContext(ctx context.Context) FleetPtr return pulumi.ToOutputWithContext(ctx, i).(FleetPtrOutput) } +func (i *fleetPtrType) ToOutput(ctx context.Context) pulumix.Output[*Fleet] { + return pulumix.Output[*Fleet]{ + OutputState: i.ToFleetPtrOutputWithContext(ctx).OutputState, + } +} + // Fleet is the fleet configuration for the cluster. type FleetOutput struct{ *pulumi.OutputState } @@ -5904,6 +6793,12 @@ func (o FleetOutput) ToFleetPtrOutputWithContext(ctx context.Context) FleetPtrOu }).(FleetPtrOutput) } +func (o FleetOutput) ToOutput(ctx context.Context) pulumix.Output[Fleet] { + return pulumix.Output[Fleet]{ + OutputState: o.OutputState, + } +} + // The Fleet host project(project ID or project number) where this cluster will be registered to. This field cannot be changed after the cluster has been registered. func (o FleetOutput) Project() pulumi.StringPtrOutput { return o.ApplyT(func(v Fleet) *string { return v.Project }).(pulumi.StringPtrOutput) @@ -5923,6 +6818,12 @@ func (o FleetPtrOutput) ToFleetPtrOutputWithContext(ctx context.Context) FleetPt return o } +func (o FleetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Fleet] { + return pulumix.Output[*Fleet]{ + OutputState: o.OutputState, + } +} + func (o FleetPtrOutput) Elem() FleetOutput { return o.ApplyT(func(v *Fleet) Fleet { if v != nil { @@ -5968,6 +6869,12 @@ func (o FleetResponseOutput) ToFleetResponseOutputWithContext(ctx context.Contex return o } +func (o FleetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetResponse] { + return pulumix.Output[FleetResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] The full resource name of the registered fleet membership of the cluster, in the format `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`. func (o FleetResponseOutput) Membership() pulumi.StringOutput { return o.ApplyT(func(v FleetResponse) string { return v.Membership }).(pulumi.StringOutput) @@ -6022,6 +6929,12 @@ func (i GPUSharingConfigArgs) ToGPUSharingConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GPUSharingConfigOutput) } +func (i GPUSharingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GPUSharingConfig] { + return pulumix.Output[GPUSharingConfig]{ + OutputState: i.ToGPUSharingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GPUSharingConfigArgs) ToGPUSharingConfigPtrOutput() GPUSharingConfigPtrOutput { return i.ToGPUSharingConfigPtrOutputWithContext(context.Background()) } @@ -6063,6 +6976,12 @@ func (i *gpusharingConfigPtrType) ToGPUSharingConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GPUSharingConfigPtrOutput) } +func (i *gpusharingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GPUSharingConfig] { + return pulumix.Output[*GPUSharingConfig]{ + OutputState: i.ToGPUSharingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators. type GPUSharingConfigOutput struct{ *pulumi.OutputState } @@ -6088,6 +7007,12 @@ func (o GPUSharingConfigOutput) ToGPUSharingConfigPtrOutputWithContext(ctx conte }).(GPUSharingConfigPtrOutput) } +func (o GPUSharingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GPUSharingConfig] { + return pulumix.Output[GPUSharingConfig]{ + OutputState: o.OutputState, + } +} + // The type of GPU sharing strategy to enable on the GPU node. func (o GPUSharingConfigOutput) GpuSharingStrategy() GPUSharingConfigGpuSharingStrategyPtrOutput { return o.ApplyT(func(v GPUSharingConfig) *GPUSharingConfigGpuSharingStrategy { return v.GpuSharingStrategy }).(GPUSharingConfigGpuSharingStrategyPtrOutput) @@ -6112,6 +7037,12 @@ func (o GPUSharingConfigPtrOutput) ToGPUSharingConfigPtrOutputWithContext(ctx co return o } +func (o GPUSharingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GPUSharingConfig] { + return pulumix.Output[*GPUSharingConfig]{ + OutputState: o.OutputState, + } +} + func (o GPUSharingConfigPtrOutput) Elem() GPUSharingConfigOutput { return o.ApplyT(func(v *GPUSharingConfig) GPUSharingConfig { if v != nil { @@ -6165,6 +7096,12 @@ func (o GPUSharingConfigResponseOutput) ToGPUSharingConfigResponseOutputWithCont return o } +func (o GPUSharingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GPUSharingConfigResponse] { + return pulumix.Output[GPUSharingConfigResponse]{ + OutputState: o.OutputState, + } +} + // The type of GPU sharing strategy to enable on the GPU node. func (o GPUSharingConfigResponseOutput) GpuSharingStrategy() pulumi.StringOutput { return o.ApplyT(func(v GPUSharingConfigResponse) string { return v.GpuSharingStrategy }).(pulumi.StringOutput) @@ -6210,6 +7147,12 @@ func (i GatewayAPIConfigArgs) ToGatewayAPIConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GatewayAPIConfigOutput) } +func (i GatewayAPIConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GatewayAPIConfig] { + return pulumix.Output[GatewayAPIConfig]{ + OutputState: i.ToGatewayAPIConfigOutputWithContext(ctx).OutputState, + } +} + func (i GatewayAPIConfigArgs) ToGatewayAPIConfigPtrOutput() GatewayAPIConfigPtrOutput { return i.ToGatewayAPIConfigPtrOutputWithContext(context.Background()) } @@ -6251,6 +7194,12 @@ func (i *gatewayAPIConfigPtrType) ToGatewayAPIConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GatewayAPIConfigPtrOutput) } +func (i *gatewayAPIConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GatewayAPIConfig] { + return pulumix.Output[*GatewayAPIConfig]{ + OutputState: i.ToGatewayAPIConfigPtrOutputWithContext(ctx).OutputState, + } +} + // GatewayAPIConfig contains the desired config of Gateway API on this cluster. type GatewayAPIConfigOutput struct{ *pulumi.OutputState } @@ -6276,6 +7225,12 @@ func (o GatewayAPIConfigOutput) ToGatewayAPIConfigPtrOutputWithContext(ctx conte }).(GatewayAPIConfigPtrOutput) } +func (o GatewayAPIConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayAPIConfig] { + return pulumix.Output[GatewayAPIConfig]{ + OutputState: o.OutputState, + } +} + // The Gateway API release channel to use for Gateway API. func (o GatewayAPIConfigOutput) Channel() GatewayAPIConfigChannelPtrOutput { return o.ApplyT(func(v GatewayAPIConfig) *GatewayAPIConfigChannel { return v.Channel }).(GatewayAPIConfigChannelPtrOutput) @@ -6295,6 +7250,12 @@ func (o GatewayAPIConfigPtrOutput) ToGatewayAPIConfigPtrOutputWithContext(ctx co return o } +func (o GatewayAPIConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayAPIConfig] { + return pulumix.Output[*GatewayAPIConfig]{ + OutputState: o.OutputState, + } +} + func (o GatewayAPIConfigPtrOutput) Elem() GatewayAPIConfigOutput { return o.ApplyT(func(v *GatewayAPIConfig) GatewayAPIConfig { if v != nil { @@ -6336,6 +7297,12 @@ func (o GatewayAPIConfigResponseOutput) ToGatewayAPIConfigResponseOutputWithCont return o } +func (o GatewayAPIConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayAPIConfigResponse] { + return pulumix.Output[GatewayAPIConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Gateway API release channel to use for Gateway API. func (o GatewayAPIConfigResponseOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v GatewayAPIConfigResponse) string { return v.Channel }).(pulumi.StringOutput) @@ -6376,6 +7343,12 @@ func (i GcePersistentDiskCsiDriverConfigArgs) ToGcePersistentDiskCsiDriverConfig return pulumi.ToOutputWithContext(ctx, i).(GcePersistentDiskCsiDriverConfigOutput) } +func (i GcePersistentDiskCsiDriverConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GcePersistentDiskCsiDriverConfig] { + return pulumix.Output[GcePersistentDiskCsiDriverConfig]{ + OutputState: i.ToGcePersistentDiskCsiDriverConfigOutputWithContext(ctx).OutputState, + } +} + func (i GcePersistentDiskCsiDriverConfigArgs) ToGcePersistentDiskCsiDriverConfigPtrOutput() GcePersistentDiskCsiDriverConfigPtrOutput { return i.ToGcePersistentDiskCsiDriverConfigPtrOutputWithContext(context.Background()) } @@ -6417,6 +7390,12 @@ func (i *gcePersistentDiskCsiDriverConfigPtrType) ToGcePersistentDiskCsiDriverCo return pulumi.ToOutputWithContext(ctx, i).(GcePersistentDiskCsiDriverConfigPtrOutput) } +func (i *gcePersistentDiskCsiDriverConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcePersistentDiskCsiDriverConfig] { + return pulumix.Output[*GcePersistentDiskCsiDriverConfig]{ + OutputState: i.ToGcePersistentDiskCsiDriverConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Compute Engine PD CSI driver. type GcePersistentDiskCsiDriverConfigOutput struct{ *pulumi.OutputState } @@ -6442,6 +7421,12 @@ func (o GcePersistentDiskCsiDriverConfigOutput) ToGcePersistentDiskCsiDriverConf }).(GcePersistentDiskCsiDriverConfigPtrOutput) } +func (o GcePersistentDiskCsiDriverConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GcePersistentDiskCsiDriverConfig] { + return pulumix.Output[GcePersistentDiskCsiDriverConfig]{ + OutputState: o.OutputState, + } +} + // Whether the Compute Engine PD CSI driver is enabled for this cluster. func (o GcePersistentDiskCsiDriverConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GcePersistentDiskCsiDriverConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -6461,6 +7446,12 @@ func (o GcePersistentDiskCsiDriverConfigPtrOutput) ToGcePersistentDiskCsiDriverC return o } +func (o GcePersistentDiskCsiDriverConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcePersistentDiskCsiDriverConfig] { + return pulumix.Output[*GcePersistentDiskCsiDriverConfig]{ + OutputState: o.OutputState, + } +} + func (o GcePersistentDiskCsiDriverConfigPtrOutput) Elem() GcePersistentDiskCsiDriverConfigOutput { return o.ApplyT(func(v *GcePersistentDiskCsiDriverConfig) GcePersistentDiskCsiDriverConfig { if v != nil { @@ -6502,6 +7493,12 @@ func (o GcePersistentDiskCsiDriverConfigResponseOutput) ToGcePersistentDiskCsiDr return o } +func (o GcePersistentDiskCsiDriverConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcePersistentDiskCsiDriverConfigResponse] { + return pulumix.Output[GcePersistentDiskCsiDriverConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the Compute Engine PD CSI driver is enabled for this cluster. func (o GcePersistentDiskCsiDriverConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GcePersistentDiskCsiDriverConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -6542,6 +7539,12 @@ func (i GcfsConfigArgs) ToGcfsConfigOutputWithContext(ctx context.Context) GcfsC return pulumi.ToOutputWithContext(ctx, i).(GcfsConfigOutput) } +func (i GcfsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GcfsConfig] { + return pulumix.Output[GcfsConfig]{ + OutputState: i.ToGcfsConfigOutputWithContext(ctx).OutputState, + } +} + func (i GcfsConfigArgs) ToGcfsConfigPtrOutput() GcfsConfigPtrOutput { return i.ToGcfsConfigPtrOutputWithContext(context.Background()) } @@ -6583,6 +7586,12 @@ func (i *gcfsConfigPtrType) ToGcfsConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GcfsConfigPtrOutput) } +func (i *gcfsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcfsConfig] { + return pulumix.Output[*GcfsConfig]{ + OutputState: i.ToGcfsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // GcfsConfig contains configurations of Google Container File System. type GcfsConfigOutput struct{ *pulumi.OutputState } @@ -6608,6 +7617,12 @@ func (o GcfsConfigOutput) ToGcfsConfigPtrOutputWithContext(ctx context.Context) }).(GcfsConfigPtrOutput) } +func (o GcfsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GcfsConfig] { + return pulumix.Output[GcfsConfig]{ + OutputState: o.OutputState, + } +} + // Whether to use GCFS. func (o GcfsConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GcfsConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -6627,6 +7642,12 @@ func (o GcfsConfigPtrOutput) ToGcfsConfigPtrOutputWithContext(ctx context.Contex return o } +func (o GcfsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcfsConfig] { + return pulumix.Output[*GcfsConfig]{ + OutputState: o.OutputState, + } +} + func (o GcfsConfigPtrOutput) Elem() GcfsConfigOutput { return o.ApplyT(func(v *GcfsConfig) GcfsConfig { if v != nil { @@ -6668,6 +7689,12 @@ func (o GcfsConfigResponseOutput) ToGcfsConfigResponseOutputWithContext(ctx cont return o } +func (o GcfsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcfsConfigResponse] { + return pulumix.Output[GcfsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to use GCFS. func (o GcfsConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GcfsConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -6708,6 +7735,12 @@ func (i GcpFilestoreCsiDriverConfigArgs) ToGcpFilestoreCsiDriverConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(GcpFilestoreCsiDriverConfigOutput) } +func (i GcpFilestoreCsiDriverConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GcpFilestoreCsiDriverConfig] { + return pulumix.Output[GcpFilestoreCsiDriverConfig]{ + OutputState: i.ToGcpFilestoreCsiDriverConfigOutputWithContext(ctx).OutputState, + } +} + func (i GcpFilestoreCsiDriverConfigArgs) ToGcpFilestoreCsiDriverConfigPtrOutput() GcpFilestoreCsiDriverConfigPtrOutput { return i.ToGcpFilestoreCsiDriverConfigPtrOutputWithContext(context.Background()) } @@ -6749,6 +7782,12 @@ func (i *gcpFilestoreCsiDriverConfigPtrType) ToGcpFilestoreCsiDriverConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(GcpFilestoreCsiDriverConfigPtrOutput) } +func (i *gcpFilestoreCsiDriverConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcpFilestoreCsiDriverConfig] { + return pulumix.Output[*GcpFilestoreCsiDriverConfig]{ + OutputState: i.ToGcpFilestoreCsiDriverConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the GCP Filestore CSI driver. type GcpFilestoreCsiDriverConfigOutput struct{ *pulumi.OutputState } @@ -6774,6 +7813,12 @@ func (o GcpFilestoreCsiDriverConfigOutput) ToGcpFilestoreCsiDriverConfigPtrOutpu }).(GcpFilestoreCsiDriverConfigPtrOutput) } +func (o GcpFilestoreCsiDriverConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GcpFilestoreCsiDriverConfig] { + return pulumix.Output[GcpFilestoreCsiDriverConfig]{ + OutputState: o.OutputState, + } +} + // Whether the GCP Filestore CSI driver is enabled for this cluster. func (o GcpFilestoreCsiDriverConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GcpFilestoreCsiDriverConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -6793,6 +7838,12 @@ func (o GcpFilestoreCsiDriverConfigPtrOutput) ToGcpFilestoreCsiDriverConfigPtrOu return o } +func (o GcpFilestoreCsiDriverConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcpFilestoreCsiDriverConfig] { + return pulumix.Output[*GcpFilestoreCsiDriverConfig]{ + OutputState: o.OutputState, + } +} + func (o GcpFilestoreCsiDriverConfigPtrOutput) Elem() GcpFilestoreCsiDriverConfigOutput { return o.ApplyT(func(v *GcpFilestoreCsiDriverConfig) GcpFilestoreCsiDriverConfig { if v != nil { @@ -6834,6 +7885,12 @@ func (o GcpFilestoreCsiDriverConfigResponseOutput) ToGcpFilestoreCsiDriverConfig return o } +func (o GcpFilestoreCsiDriverConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcpFilestoreCsiDriverConfigResponse] { + return pulumix.Output[GcpFilestoreCsiDriverConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the GCP Filestore CSI driver is enabled for this cluster. func (o GcpFilestoreCsiDriverConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GcpFilestoreCsiDriverConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -6874,6 +7931,12 @@ func (i GcsFuseCsiDriverConfigArgs) ToGcsFuseCsiDriverConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GcsFuseCsiDriverConfigOutput) } +func (i GcsFuseCsiDriverConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GcsFuseCsiDriverConfig] { + return pulumix.Output[GcsFuseCsiDriverConfig]{ + OutputState: i.ToGcsFuseCsiDriverConfigOutputWithContext(ctx).OutputState, + } +} + func (i GcsFuseCsiDriverConfigArgs) ToGcsFuseCsiDriverConfigPtrOutput() GcsFuseCsiDriverConfigPtrOutput { return i.ToGcsFuseCsiDriverConfigPtrOutputWithContext(context.Background()) } @@ -6915,6 +7978,12 @@ func (i *gcsFuseCsiDriverConfigPtrType) ToGcsFuseCsiDriverConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(GcsFuseCsiDriverConfigPtrOutput) } +func (i *gcsFuseCsiDriverConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcsFuseCsiDriverConfig] { + return pulumix.Output[*GcsFuseCsiDriverConfig]{ + OutputState: i.ToGcsFuseCsiDriverConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Cloud Storage Fuse CSI driver. type GcsFuseCsiDriverConfigOutput struct{ *pulumi.OutputState } @@ -6940,6 +8009,12 @@ func (o GcsFuseCsiDriverConfigOutput) ToGcsFuseCsiDriverConfigPtrOutputWithConte }).(GcsFuseCsiDriverConfigPtrOutput) } +func (o GcsFuseCsiDriverConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GcsFuseCsiDriverConfig] { + return pulumix.Output[GcsFuseCsiDriverConfig]{ + OutputState: o.OutputState, + } +} + // Whether the Cloud Storage Fuse CSI driver is enabled for this cluster. func (o GcsFuseCsiDriverConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GcsFuseCsiDriverConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -6959,6 +8034,12 @@ func (o GcsFuseCsiDriverConfigPtrOutput) ToGcsFuseCsiDriverConfigPtrOutputWithCo return o } +func (o GcsFuseCsiDriverConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcsFuseCsiDriverConfig] { + return pulumix.Output[*GcsFuseCsiDriverConfig]{ + OutputState: o.OutputState, + } +} + func (o GcsFuseCsiDriverConfigPtrOutput) Elem() GcsFuseCsiDriverConfigOutput { return o.ApplyT(func(v *GcsFuseCsiDriverConfig) GcsFuseCsiDriverConfig { if v != nil { @@ -7000,6 +8081,12 @@ func (o GcsFuseCsiDriverConfigResponseOutput) ToGcsFuseCsiDriverConfigResponseOu return o } +func (o GcsFuseCsiDriverConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcsFuseCsiDriverConfigResponse] { + return pulumix.Output[GcsFuseCsiDriverConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the Cloud Storage Fuse CSI driver is enabled for this cluster. func (o GcsFuseCsiDriverConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GcsFuseCsiDriverConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -7040,6 +8127,12 @@ func (i GkeBackupAgentConfigArgs) ToGkeBackupAgentConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GkeBackupAgentConfigOutput) } +func (i GkeBackupAgentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GkeBackupAgentConfig] { + return pulumix.Output[GkeBackupAgentConfig]{ + OutputState: i.ToGkeBackupAgentConfigOutputWithContext(ctx).OutputState, + } +} + func (i GkeBackupAgentConfigArgs) ToGkeBackupAgentConfigPtrOutput() GkeBackupAgentConfigPtrOutput { return i.ToGkeBackupAgentConfigPtrOutputWithContext(context.Background()) } @@ -7081,6 +8174,12 @@ func (i *gkeBackupAgentConfigPtrType) ToGkeBackupAgentConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(GkeBackupAgentConfigPtrOutput) } +func (i *gkeBackupAgentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeBackupAgentConfig] { + return pulumix.Output[*GkeBackupAgentConfig]{ + OutputState: i.ToGkeBackupAgentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Backup for GKE Agent. type GkeBackupAgentConfigOutput struct{ *pulumi.OutputState } @@ -7106,6 +8205,12 @@ func (o GkeBackupAgentConfigOutput) ToGkeBackupAgentConfigPtrOutputWithContext(c }).(GkeBackupAgentConfigPtrOutput) } +func (o GkeBackupAgentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GkeBackupAgentConfig] { + return pulumix.Output[GkeBackupAgentConfig]{ + OutputState: o.OutputState, + } +} + // Whether the Backup for GKE agent is enabled for this cluster. func (o GkeBackupAgentConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GkeBackupAgentConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -7125,6 +8230,12 @@ func (o GkeBackupAgentConfigPtrOutput) ToGkeBackupAgentConfigPtrOutputWithContex return o } +func (o GkeBackupAgentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeBackupAgentConfig] { + return pulumix.Output[*GkeBackupAgentConfig]{ + OutputState: o.OutputState, + } +} + func (o GkeBackupAgentConfigPtrOutput) Elem() GkeBackupAgentConfigOutput { return o.ApplyT(func(v *GkeBackupAgentConfig) GkeBackupAgentConfig { if v != nil { @@ -7166,6 +8277,12 @@ func (o GkeBackupAgentConfigResponseOutput) ToGkeBackupAgentConfigResponseOutput return o } +func (o GkeBackupAgentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeBackupAgentConfigResponse] { + return pulumix.Output[GkeBackupAgentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the Backup for GKE agent is enabled for this cluster. func (o GkeBackupAgentConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GkeBackupAgentConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -7206,6 +8323,12 @@ func (i HorizontalPodAutoscalingArgs) ToHorizontalPodAutoscalingOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(HorizontalPodAutoscalingOutput) } +func (i HorizontalPodAutoscalingArgs) ToOutput(ctx context.Context) pulumix.Output[HorizontalPodAutoscaling] { + return pulumix.Output[HorizontalPodAutoscaling]{ + OutputState: i.ToHorizontalPodAutoscalingOutputWithContext(ctx).OutputState, + } +} + func (i HorizontalPodAutoscalingArgs) ToHorizontalPodAutoscalingPtrOutput() HorizontalPodAutoscalingPtrOutput { return i.ToHorizontalPodAutoscalingPtrOutputWithContext(context.Background()) } @@ -7247,6 +8370,12 @@ func (i *horizontalPodAutoscalingPtrType) ToHorizontalPodAutoscalingPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(HorizontalPodAutoscalingPtrOutput) } +func (i *horizontalPodAutoscalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*HorizontalPodAutoscaling] { + return pulumix.Output[*HorizontalPodAutoscaling]{ + OutputState: i.ToHorizontalPodAutoscalingPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods. type HorizontalPodAutoscalingOutput struct{ *pulumi.OutputState } @@ -7272,6 +8401,12 @@ func (o HorizontalPodAutoscalingOutput) ToHorizontalPodAutoscalingPtrOutputWithC }).(HorizontalPodAutoscalingPtrOutput) } +func (o HorizontalPodAutoscalingOutput) ToOutput(ctx context.Context) pulumix.Output[HorizontalPodAutoscaling] { + return pulumix.Output[HorizontalPodAutoscaling]{ + OutputState: o.OutputState, + } +} + // Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring. func (o HorizontalPodAutoscalingOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v HorizontalPodAutoscaling) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -7291,6 +8426,12 @@ func (o HorizontalPodAutoscalingPtrOutput) ToHorizontalPodAutoscalingPtrOutputWi return o } +func (o HorizontalPodAutoscalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HorizontalPodAutoscaling] { + return pulumix.Output[*HorizontalPodAutoscaling]{ + OutputState: o.OutputState, + } +} + func (o HorizontalPodAutoscalingPtrOutput) Elem() HorizontalPodAutoscalingOutput { return o.ApplyT(func(v *HorizontalPodAutoscaling) HorizontalPodAutoscaling { if v != nil { @@ -7332,6 +8473,12 @@ func (o HorizontalPodAutoscalingResponseOutput) ToHorizontalPodAutoscalingRespon return o } +func (o HorizontalPodAutoscalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HorizontalPodAutoscalingResponse] { + return pulumix.Output[HorizontalPodAutoscalingResponse]{ + OutputState: o.OutputState, + } +} + // Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring. func (o HorizontalPodAutoscalingResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v HorizontalPodAutoscalingResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -7372,6 +8519,12 @@ func (i HttpLoadBalancingArgs) ToHttpLoadBalancingOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(HttpLoadBalancingOutput) } +func (i HttpLoadBalancingArgs) ToOutput(ctx context.Context) pulumix.Output[HttpLoadBalancing] { + return pulumix.Output[HttpLoadBalancing]{ + OutputState: i.ToHttpLoadBalancingOutputWithContext(ctx).OutputState, + } +} + func (i HttpLoadBalancingArgs) ToHttpLoadBalancingPtrOutput() HttpLoadBalancingPtrOutput { return i.ToHttpLoadBalancingPtrOutputWithContext(context.Background()) } @@ -7413,6 +8566,12 @@ func (i *httpLoadBalancingPtrType) ToHttpLoadBalancingPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(HttpLoadBalancingPtrOutput) } +func (i *httpLoadBalancingPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpLoadBalancing] { + return pulumix.Output[*HttpLoadBalancing]{ + OutputState: i.ToHttpLoadBalancingPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster. type HttpLoadBalancingOutput struct{ *pulumi.OutputState } @@ -7438,6 +8597,12 @@ func (o HttpLoadBalancingOutput) ToHttpLoadBalancingPtrOutputWithContext(ctx con }).(HttpLoadBalancingPtrOutput) } +func (o HttpLoadBalancingOutput) ToOutput(ctx context.Context) pulumix.Output[HttpLoadBalancing] { + return pulumix.Output[HttpLoadBalancing]{ + OutputState: o.OutputState, + } +} + // Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers. func (o HttpLoadBalancingOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v HttpLoadBalancing) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -7457,6 +8622,12 @@ func (o HttpLoadBalancingPtrOutput) ToHttpLoadBalancingPtrOutputWithContext(ctx return o } +func (o HttpLoadBalancingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpLoadBalancing] { + return pulumix.Output[*HttpLoadBalancing]{ + OutputState: o.OutputState, + } +} + func (o HttpLoadBalancingPtrOutput) Elem() HttpLoadBalancingOutput { return o.ApplyT(func(v *HttpLoadBalancing) HttpLoadBalancing { if v != nil { @@ -7498,6 +8669,12 @@ func (o HttpLoadBalancingResponseOutput) ToHttpLoadBalancingResponseOutputWithCo return o } +func (o HttpLoadBalancingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpLoadBalancingResponse] { + return pulumix.Output[HttpLoadBalancingResponse]{ + OutputState: o.OutputState, + } +} + // Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers. func (o HttpLoadBalancingResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v HttpLoadBalancingResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -7624,6 +8801,12 @@ func (i IPAllocationPolicyArgs) ToIPAllocationPolicyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(IPAllocationPolicyOutput) } +func (i IPAllocationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicy] { + return pulumix.Output[IPAllocationPolicy]{ + OutputState: i.ToIPAllocationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i IPAllocationPolicyArgs) ToIPAllocationPolicyPtrOutput() IPAllocationPolicyPtrOutput { return i.ToIPAllocationPolicyPtrOutputWithContext(context.Background()) } @@ -7665,6 +8848,12 @@ func (i *ipallocationPolicyPtrType) ToIPAllocationPolicyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(IPAllocationPolicyPtrOutput) } +func (i *ipallocationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicy] { + return pulumix.Output[*IPAllocationPolicy]{ + OutputState: i.ToIPAllocationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for controlling how IPs are allocated in the cluster. type IPAllocationPolicyOutput struct{ *pulumi.OutputState } @@ -7690,6 +8879,12 @@ func (o IPAllocationPolicyOutput) ToIPAllocationPolicyPtrOutputWithContext(ctx c }).(IPAllocationPolicyPtrOutput) } +func (o IPAllocationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicy] { + return pulumix.Output[IPAllocationPolicy]{ + OutputState: o.OutputState, + } +} + // If true, allow allocation of cluster CIDR ranges that overlap with certain kinds of network routes. By default we do not allow cluster CIDR ranges to intersect with any user declared routes. With allow_route_overlap == true, we allow overlapping with CIDR ranges that are larger than the cluster CIDR range. If this field is set to true, then cluster and services CIDRs must be fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be fully-specified. func (o IPAllocationPolicyOutput) AllowRouteOverlap() pulumi.BoolPtrOutput { return o.ApplyT(func(v IPAllocationPolicy) *bool { return v.AllowRouteOverlap }).(pulumi.BoolPtrOutput) @@ -7797,6 +8992,12 @@ func (o IPAllocationPolicyPtrOutput) ToIPAllocationPolicyPtrOutputWithContext(ct return o } +func (o IPAllocationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IPAllocationPolicy] { + return pulumix.Output[*IPAllocationPolicy]{ + OutputState: o.OutputState, + } +} + func (o IPAllocationPolicyPtrOutput) Elem() IPAllocationPolicyOutput { return o.ApplyT(func(v *IPAllocationPolicy) IPAllocationPolicy { if v != nil { @@ -8052,6 +9253,12 @@ func (o IPAllocationPolicyResponseOutput) ToIPAllocationPolicyResponseOutputWith return o } +func (o IPAllocationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IPAllocationPolicyResponse] { + return pulumix.Output[IPAllocationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] The additional pod ranges that are added to the cluster. These pod ranges can be used by new node pools to allocate pod IPs automatically. Once the range is removed it will not show up in IPAllocationPolicy. func (o IPAllocationPolicyResponseOutput) AdditionalPodRangesConfig() AdditionalPodRangesConfigResponseOutput { return o.ApplyT(func(v IPAllocationPolicyResponse) AdditionalPodRangesConfigResponse { @@ -8199,6 +9406,12 @@ func (i IdentityServiceConfigArgs) ToIdentityServiceConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceConfigOutput) } +func (i IdentityServiceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceConfig] { + return pulumix.Output[IdentityServiceConfig]{ + OutputState: i.ToIdentityServiceConfigOutputWithContext(ctx).OutputState, + } +} + func (i IdentityServiceConfigArgs) ToIdentityServiceConfigPtrOutput() IdentityServiceConfigPtrOutput { return i.ToIdentityServiceConfigPtrOutputWithContext(context.Background()) } @@ -8240,6 +9453,12 @@ func (i *identityServiceConfigPtrType) ToIdentityServiceConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceConfigPtrOutput) } +func (i *identityServiceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceConfig] { + return pulumix.Output[*IdentityServiceConfig]{ + OutputState: i.ToIdentityServiceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API type IdentityServiceConfigOutput struct{ *pulumi.OutputState } @@ -8265,6 +9484,12 @@ func (o IdentityServiceConfigOutput) ToIdentityServiceConfigPtrOutputWithContext }).(IdentityServiceConfigPtrOutput) } +func (o IdentityServiceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceConfig] { + return pulumix.Output[IdentityServiceConfig]{ + OutputState: o.OutputState, + } +} + // Whether to enable the Identity Service component func (o IdentityServiceConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v IdentityServiceConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -8284,6 +9509,12 @@ func (o IdentityServiceConfigPtrOutput) ToIdentityServiceConfigPtrOutputWithCont return o } +func (o IdentityServiceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceConfig] { + return pulumix.Output[*IdentityServiceConfig]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceConfigPtrOutput) Elem() IdentityServiceConfigOutput { return o.ApplyT(func(v *IdentityServiceConfig) IdentityServiceConfig { if v != nil { @@ -8325,6 +9556,12 @@ func (o IdentityServiceConfigResponseOutput) ToIdentityServiceConfigResponseOutp return o } +func (o IdentityServiceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceConfigResponse] { + return pulumix.Output[IdentityServiceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to enable the Identity Service component func (o IdentityServiceConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v IdentityServiceConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -8375,6 +9612,12 @@ func (i IstioConfigArgs) ToIstioConfigOutputWithContext(ctx context.Context) Ist return pulumi.ToOutputWithContext(ctx, i).(IstioConfigOutput) } +func (i IstioConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IstioConfig] { + return pulumix.Output[IstioConfig]{ + OutputState: i.ToIstioConfigOutputWithContext(ctx).OutputState, + } +} + func (i IstioConfigArgs) ToIstioConfigPtrOutput() IstioConfigPtrOutput { return i.ToIstioConfigPtrOutputWithContext(context.Background()) } @@ -8416,6 +9659,12 @@ func (i *istioConfigPtrType) ToIstioConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(IstioConfigPtrOutput) } +func (i *istioConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*IstioConfig] { + return pulumix.Output[*IstioConfig]{ + OutputState: i.ToIstioConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for Istio addon. type IstioConfigOutput struct{ *pulumi.OutputState } @@ -8441,6 +9690,12 @@ func (o IstioConfigOutput) ToIstioConfigPtrOutputWithContext(ctx context.Context }).(IstioConfigPtrOutput) } +func (o IstioConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IstioConfig] { + return pulumix.Output[IstioConfig]{ + OutputState: o.OutputState, + } +} + // The specified Istio auth mode, either none, or mutual TLS. func (o IstioConfigOutput) Auth() IstioConfigAuthPtrOutput { return o.ApplyT(func(v IstioConfig) *IstioConfigAuth { return v.Auth }).(IstioConfigAuthPtrOutput) @@ -8465,6 +9720,12 @@ func (o IstioConfigPtrOutput) ToIstioConfigPtrOutputWithContext(ctx context.Cont return o } +func (o IstioConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IstioConfig] { + return pulumix.Output[*IstioConfig]{ + OutputState: o.OutputState, + } +} + func (o IstioConfigPtrOutput) Elem() IstioConfigOutput { return o.ApplyT(func(v *IstioConfig) IstioConfig { if v != nil { @@ -8518,6 +9779,12 @@ func (o IstioConfigResponseOutput) ToIstioConfigResponseOutputWithContext(ctx co return o } +func (o IstioConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IstioConfigResponse] { + return pulumix.Output[IstioConfigResponse]{ + OutputState: o.OutputState, + } +} + // The specified Istio auth mode, either none, or mutual TLS. func (o IstioConfigResponseOutput) Auth() pulumi.StringOutput { return o.ApplyT(func(v IstioConfigResponse) string { return v.Auth }).(pulumi.StringOutput) @@ -8563,6 +9830,12 @@ func (i KalmConfigArgs) ToKalmConfigOutputWithContext(ctx context.Context) KalmC return pulumi.ToOutputWithContext(ctx, i).(KalmConfigOutput) } +func (i KalmConfigArgs) ToOutput(ctx context.Context) pulumix.Output[KalmConfig] { + return pulumix.Output[KalmConfig]{ + OutputState: i.ToKalmConfigOutputWithContext(ctx).OutputState, + } +} + func (i KalmConfigArgs) ToKalmConfigPtrOutput() KalmConfigPtrOutput { return i.ToKalmConfigPtrOutputWithContext(context.Background()) } @@ -8604,6 +9877,12 @@ func (i *kalmConfigPtrType) ToKalmConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(KalmConfigPtrOutput) } +func (i *kalmConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*KalmConfig] { + return pulumix.Output[*KalmConfig]{ + OutputState: i.ToKalmConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the KALM addon. type KalmConfigOutput struct{ *pulumi.OutputState } @@ -8629,6 +9908,12 @@ func (o KalmConfigOutput) ToKalmConfigPtrOutputWithContext(ctx context.Context) }).(KalmConfigPtrOutput) } +func (o KalmConfigOutput) ToOutput(ctx context.Context) pulumix.Output[KalmConfig] { + return pulumix.Output[KalmConfig]{ + OutputState: o.OutputState, + } +} + // Whether KALM is enabled for this cluster. func (o KalmConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v KalmConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -8648,6 +9933,12 @@ func (o KalmConfigPtrOutput) ToKalmConfigPtrOutputWithContext(ctx context.Contex return o } +func (o KalmConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KalmConfig] { + return pulumix.Output[*KalmConfig]{ + OutputState: o.OutputState, + } +} + func (o KalmConfigPtrOutput) Elem() KalmConfigOutput { return o.ApplyT(func(v *KalmConfig) KalmConfig { if v != nil { @@ -8689,6 +9980,12 @@ func (o KalmConfigResponseOutput) ToKalmConfigResponseOutputWithContext(ctx cont return o } +func (o KalmConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KalmConfigResponse] { + return pulumix.Output[KalmConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether KALM is enabled for this cluster. func (o KalmConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v KalmConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -8729,6 +10026,12 @@ func (i KubernetesDashboardArgs) ToKubernetesDashboardOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(KubernetesDashboardOutput) } +func (i KubernetesDashboardArgs) ToOutput(ctx context.Context) pulumix.Output[KubernetesDashboard] { + return pulumix.Output[KubernetesDashboard]{ + OutputState: i.ToKubernetesDashboardOutputWithContext(ctx).OutputState, + } +} + func (i KubernetesDashboardArgs) ToKubernetesDashboardPtrOutput() KubernetesDashboardPtrOutput { return i.ToKubernetesDashboardPtrOutputWithContext(context.Background()) } @@ -8770,6 +10073,12 @@ func (i *kubernetesDashboardPtrType) ToKubernetesDashboardPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(KubernetesDashboardPtrOutput) } +func (i *kubernetesDashboardPtrType) ToOutput(ctx context.Context) pulumix.Output[*KubernetesDashboard] { + return pulumix.Output[*KubernetesDashboard]{ + OutputState: i.ToKubernetesDashboardPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Kubernetes Dashboard. type KubernetesDashboardOutput struct{ *pulumi.OutputState } @@ -8795,6 +10104,12 @@ func (o KubernetesDashboardOutput) ToKubernetesDashboardPtrOutputWithContext(ctx }).(KubernetesDashboardPtrOutput) } +func (o KubernetesDashboardOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesDashboard] { + return pulumix.Output[KubernetesDashboard]{ + OutputState: o.OutputState, + } +} + // Whether the Kubernetes Dashboard is enabled for this cluster. func (o KubernetesDashboardOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v KubernetesDashboard) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -8814,6 +10129,12 @@ func (o KubernetesDashboardPtrOutput) ToKubernetesDashboardPtrOutputWithContext( return o } +func (o KubernetesDashboardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KubernetesDashboard] { + return pulumix.Output[*KubernetesDashboard]{ + OutputState: o.OutputState, + } +} + func (o KubernetesDashboardPtrOutput) Elem() KubernetesDashboardOutput { return o.ApplyT(func(v *KubernetesDashboard) KubernetesDashboard { if v != nil { @@ -8855,6 +10176,12 @@ func (o KubernetesDashboardResponseOutput) ToKubernetesDashboardResponseOutputWi return o } +func (o KubernetesDashboardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesDashboardResponse] { + return pulumix.Output[KubernetesDashboardResponse]{ + OutputState: o.OutputState, + } +} + // Whether the Kubernetes Dashboard is enabled for this cluster. func (o KubernetesDashboardResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v KubernetesDashboardResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -8895,6 +10222,12 @@ func (i LegacyAbacArgs) ToLegacyAbacOutputWithContext(ctx context.Context) Legac return pulumi.ToOutputWithContext(ctx, i).(LegacyAbacOutput) } +func (i LegacyAbacArgs) ToOutput(ctx context.Context) pulumix.Output[LegacyAbac] { + return pulumix.Output[LegacyAbac]{ + OutputState: i.ToLegacyAbacOutputWithContext(ctx).OutputState, + } +} + func (i LegacyAbacArgs) ToLegacyAbacPtrOutput() LegacyAbacPtrOutput { return i.ToLegacyAbacPtrOutputWithContext(context.Background()) } @@ -8936,6 +10269,12 @@ func (i *legacyAbacPtrType) ToLegacyAbacPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(LegacyAbacPtrOutput) } +func (i *legacyAbacPtrType) ToOutput(ctx context.Context) pulumix.Output[*LegacyAbac] { + return pulumix.Output[*LegacyAbac]{ + OutputState: i.ToLegacyAbacPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the legacy Attribute Based Access Control authorization mode. type LegacyAbacOutput struct{ *pulumi.OutputState } @@ -8961,6 +10300,12 @@ func (o LegacyAbacOutput) ToLegacyAbacPtrOutputWithContext(ctx context.Context) }).(LegacyAbacPtrOutput) } +func (o LegacyAbacOutput) ToOutput(ctx context.Context) pulumix.Output[LegacyAbac] { + return pulumix.Output[LegacyAbac]{ + OutputState: o.OutputState, + } +} + // Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM. func (o LegacyAbacOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v LegacyAbac) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -8980,6 +10325,12 @@ func (o LegacyAbacPtrOutput) ToLegacyAbacPtrOutputWithContext(ctx context.Contex return o } +func (o LegacyAbacPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LegacyAbac] { + return pulumix.Output[*LegacyAbac]{ + OutputState: o.OutputState, + } +} + func (o LegacyAbacPtrOutput) Elem() LegacyAbacOutput { return o.ApplyT(func(v *LegacyAbac) LegacyAbac { if v != nil { @@ -9021,6 +10372,12 @@ func (o LegacyAbacResponseOutput) ToLegacyAbacResponseOutputWithContext(ctx cont return o } +func (o LegacyAbacResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LegacyAbacResponse] { + return pulumix.Output[LegacyAbacResponse]{ + OutputState: o.OutputState, + } +} + // Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM. func (o LegacyAbacResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v LegacyAbacResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -9065,6 +10422,12 @@ func (i LinuxNodeConfigArgs) ToLinuxNodeConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(LinuxNodeConfigOutput) } +func (i LinuxNodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LinuxNodeConfig] { + return pulumix.Output[LinuxNodeConfig]{ + OutputState: i.ToLinuxNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i LinuxNodeConfigArgs) ToLinuxNodeConfigPtrOutput() LinuxNodeConfigPtrOutput { return i.ToLinuxNodeConfigPtrOutputWithContext(context.Background()) } @@ -9106,6 +10469,12 @@ func (i *linuxNodeConfigPtrType) ToLinuxNodeConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(LinuxNodeConfigPtrOutput) } +func (i *linuxNodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LinuxNodeConfig] { + return pulumix.Output[*LinuxNodeConfig]{ + OutputState: i.ToLinuxNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters that can be configured on Linux nodes. type LinuxNodeConfigOutput struct{ *pulumi.OutputState } @@ -9131,6 +10500,12 @@ func (o LinuxNodeConfigOutput) ToLinuxNodeConfigPtrOutputWithContext(ctx context }).(LinuxNodeConfigPtrOutput) } +func (o LinuxNodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LinuxNodeConfig] { + return pulumix.Output[LinuxNodeConfig]{ + OutputState: o.OutputState, + } +} + // cgroup_mode specifies the cgroup mode to be used on the node. func (o LinuxNodeConfigOutput) CgroupMode() LinuxNodeConfigCgroupModePtrOutput { return o.ApplyT(func(v LinuxNodeConfig) *LinuxNodeConfigCgroupMode { return v.CgroupMode }).(LinuxNodeConfigCgroupModePtrOutput) @@ -9155,6 +10530,12 @@ func (o LinuxNodeConfigPtrOutput) ToLinuxNodeConfigPtrOutputWithContext(ctx cont return o } +func (o LinuxNodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LinuxNodeConfig] { + return pulumix.Output[*LinuxNodeConfig]{ + OutputState: o.OutputState, + } +} + func (o LinuxNodeConfigPtrOutput) Elem() LinuxNodeConfigOutput { return o.ApplyT(func(v *LinuxNodeConfig) LinuxNodeConfig { if v != nil { @@ -9208,6 +10589,12 @@ func (o LinuxNodeConfigResponseOutput) ToLinuxNodeConfigResponseOutputWithContex return o } +func (o LinuxNodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LinuxNodeConfigResponse] { + return pulumix.Output[LinuxNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // cgroup_mode specifies the cgroup mode to be used on the node. func (o LinuxNodeConfigResponseOutput) CgroupMode() pulumi.StringOutput { return o.ApplyT(func(v LinuxNodeConfigResponse) string { return v.CgroupMode }).(pulumi.StringOutput) @@ -9253,6 +10640,12 @@ func (i LocalNvmeSsdBlockConfigArgs) ToLocalNvmeSsdBlockConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(LocalNvmeSsdBlockConfigOutput) } +func (i LocalNvmeSsdBlockConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LocalNvmeSsdBlockConfig] { + return pulumix.Output[LocalNvmeSsdBlockConfig]{ + OutputState: i.ToLocalNvmeSsdBlockConfigOutputWithContext(ctx).OutputState, + } +} + func (i LocalNvmeSsdBlockConfigArgs) ToLocalNvmeSsdBlockConfigPtrOutput() LocalNvmeSsdBlockConfigPtrOutput { return i.ToLocalNvmeSsdBlockConfigPtrOutputWithContext(context.Background()) } @@ -9294,6 +10687,12 @@ func (i *localNvmeSsdBlockConfigPtrType) ToLocalNvmeSsdBlockConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(LocalNvmeSsdBlockConfigPtrOutput) } +func (i *localNvmeSsdBlockConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LocalNvmeSsdBlockConfig] { + return pulumix.Output[*LocalNvmeSsdBlockConfig]{ + OutputState: i.ToLocalNvmeSsdBlockConfigPtrOutputWithContext(ctx).OutputState, + } +} + // LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSDs type LocalNvmeSsdBlockConfigOutput struct{ *pulumi.OutputState } @@ -9319,6 +10718,12 @@ func (o LocalNvmeSsdBlockConfigOutput) ToLocalNvmeSsdBlockConfigPtrOutputWithCon }).(LocalNvmeSsdBlockConfigPtrOutput) } +func (o LocalNvmeSsdBlockConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LocalNvmeSsdBlockConfig] { + return pulumix.Output[LocalNvmeSsdBlockConfig]{ + OutputState: o.OutputState, + } +} + // The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. func (o LocalNvmeSsdBlockConfigOutput) LocalSsdCount() pulumi.IntPtrOutput { return o.ApplyT(func(v LocalNvmeSsdBlockConfig) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) @@ -9338,6 +10743,12 @@ func (o LocalNvmeSsdBlockConfigPtrOutput) ToLocalNvmeSsdBlockConfigPtrOutputWith return o } +func (o LocalNvmeSsdBlockConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocalNvmeSsdBlockConfig] { + return pulumix.Output[*LocalNvmeSsdBlockConfig]{ + OutputState: o.OutputState, + } +} + func (o LocalNvmeSsdBlockConfigPtrOutput) Elem() LocalNvmeSsdBlockConfigOutput { return o.ApplyT(func(v *LocalNvmeSsdBlockConfig) LocalNvmeSsdBlockConfig { if v != nil { @@ -9379,6 +10790,12 @@ func (o LocalNvmeSsdBlockConfigResponseOutput) ToLocalNvmeSsdBlockConfigResponse return o } +func (o LocalNvmeSsdBlockConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalNvmeSsdBlockConfigResponse] { + return pulumix.Output[LocalNvmeSsdBlockConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. func (o LocalNvmeSsdBlockConfigResponseOutput) LocalSsdCount() pulumi.IntOutput { return o.ApplyT(func(v LocalNvmeSsdBlockConfigResponse) int { return v.LocalSsdCount }).(pulumi.IntOutput) @@ -9419,6 +10836,12 @@ func (i LoggingComponentConfigArgs) ToLoggingComponentConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(LoggingComponentConfigOutput) } +func (i LoggingComponentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LoggingComponentConfig] { + return pulumix.Output[LoggingComponentConfig]{ + OutputState: i.ToLoggingComponentConfigOutputWithContext(ctx).OutputState, + } +} + func (i LoggingComponentConfigArgs) ToLoggingComponentConfigPtrOutput() LoggingComponentConfigPtrOutput { return i.ToLoggingComponentConfigPtrOutputWithContext(context.Background()) } @@ -9460,6 +10883,12 @@ func (i *loggingComponentConfigPtrType) ToLoggingComponentConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(LoggingComponentConfigPtrOutput) } +func (i *loggingComponentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LoggingComponentConfig] { + return pulumix.Output[*LoggingComponentConfig]{ + OutputState: i.ToLoggingComponentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingComponentConfig is cluster logging component configuration. type LoggingComponentConfigOutput struct{ *pulumi.OutputState } @@ -9485,6 +10914,12 @@ func (o LoggingComponentConfigOutput) ToLoggingComponentConfigPtrOutputWithConte }).(LoggingComponentConfigPtrOutput) } +func (o LoggingComponentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingComponentConfig] { + return pulumix.Output[LoggingComponentConfig]{ + OutputState: o.OutputState, + } +} + // Select components to collect logs. An empty set would disable all logging. func (o LoggingComponentConfigOutput) EnableComponents() LoggingComponentConfigEnableComponentsItemArrayOutput { return o.ApplyT(func(v LoggingComponentConfig) []LoggingComponentConfigEnableComponentsItem { return v.EnableComponents }).(LoggingComponentConfigEnableComponentsItemArrayOutput) @@ -9504,6 +10939,12 @@ func (o LoggingComponentConfigPtrOutput) ToLoggingComponentConfigPtrOutputWithCo return o } +func (o LoggingComponentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingComponentConfig] { + return pulumix.Output[*LoggingComponentConfig]{ + OutputState: o.OutputState, + } +} + func (o LoggingComponentConfigPtrOutput) Elem() LoggingComponentConfigOutput { return o.ApplyT(func(v *LoggingComponentConfig) LoggingComponentConfig { if v != nil { @@ -9545,6 +10986,12 @@ func (o LoggingComponentConfigResponseOutput) ToLoggingComponentConfigResponseOu return o } +func (o LoggingComponentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingComponentConfigResponse] { + return pulumix.Output[LoggingComponentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Select components to collect logs. An empty set would disable all logging. func (o LoggingComponentConfigResponseOutput) EnableComponents() pulumi.StringArrayOutput { return o.ApplyT(func(v LoggingComponentConfigResponse) []string { return v.EnableComponents }).(pulumi.StringArrayOutput) @@ -9585,6 +11032,12 @@ func (i LoggingConfigArgs) ToLoggingConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigOutput) } +func (i LoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LoggingConfig] { + return pulumix.Output[LoggingConfig]{ + OutputState: i.ToLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i LoggingConfigArgs) ToLoggingConfigPtrOutput() LoggingConfigPtrOutput { return i.ToLoggingConfigPtrOutputWithContext(context.Background()) } @@ -9626,6 +11079,12 @@ func (i *loggingConfigPtrType) ToLoggingConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigPtrOutput) } +func (i *loggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfig] { + return pulumix.Output[*LoggingConfig]{ + OutputState: i.ToLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingConfig is cluster logging configuration. type LoggingConfigOutput struct{ *pulumi.OutputState } @@ -9651,6 +11110,12 @@ func (o LoggingConfigOutput) ToLoggingConfigPtrOutputWithContext(ctx context.Con }).(LoggingConfigPtrOutput) } +func (o LoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfig] { + return pulumix.Output[LoggingConfig]{ + OutputState: o.OutputState, + } +} + // Logging components configuration func (o LoggingConfigOutput) ComponentConfig() LoggingComponentConfigPtrOutput { return o.ApplyT(func(v LoggingConfig) *LoggingComponentConfig { return v.ComponentConfig }).(LoggingComponentConfigPtrOutput) @@ -9670,6 +11135,12 @@ func (o LoggingConfigPtrOutput) ToLoggingConfigPtrOutputWithContext(ctx context. return o } +func (o LoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfig] { + return pulumix.Output[*LoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigPtrOutput) Elem() LoggingConfigOutput { return o.ApplyT(func(v *LoggingConfig) LoggingConfig { if v != nil { @@ -9711,6 +11182,12 @@ func (o LoggingConfigResponseOutput) ToLoggingConfigResponseOutputWithContext(ct return o } +func (o LoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfigResponse] { + return pulumix.Output[LoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Logging components configuration func (o LoggingConfigResponseOutput) ComponentConfig() LoggingComponentConfigResponseOutput { return o.ApplyT(func(v LoggingConfigResponse) LoggingComponentConfigResponse { return v.ComponentConfig }).(LoggingComponentConfigResponseOutput) @@ -9751,6 +11228,12 @@ func (i LoggingVariantConfigArgs) ToLoggingVariantConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(LoggingVariantConfigOutput) } +func (i LoggingVariantConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LoggingVariantConfig] { + return pulumix.Output[LoggingVariantConfig]{ + OutputState: i.ToLoggingVariantConfigOutputWithContext(ctx).OutputState, + } +} + func (i LoggingVariantConfigArgs) ToLoggingVariantConfigPtrOutput() LoggingVariantConfigPtrOutput { return i.ToLoggingVariantConfigPtrOutputWithContext(context.Background()) } @@ -9792,6 +11275,12 @@ func (i *loggingVariantConfigPtrType) ToLoggingVariantConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(LoggingVariantConfigPtrOutput) } +func (i *loggingVariantConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LoggingVariantConfig] { + return pulumix.Output[*LoggingVariantConfig]{ + OutputState: i.ToLoggingVariantConfigPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingVariantConfig specifies the behaviour of the logging component. type LoggingVariantConfigOutput struct{ *pulumi.OutputState } @@ -9817,6 +11306,12 @@ func (o LoggingVariantConfigOutput) ToLoggingVariantConfigPtrOutputWithContext(c }).(LoggingVariantConfigPtrOutput) } +func (o LoggingVariantConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingVariantConfig] { + return pulumix.Output[LoggingVariantConfig]{ + OutputState: o.OutputState, + } +} + // Logging variant deployed on nodes. func (o LoggingVariantConfigOutput) Variant() LoggingVariantConfigVariantPtrOutput { return o.ApplyT(func(v LoggingVariantConfig) *LoggingVariantConfigVariant { return v.Variant }).(LoggingVariantConfigVariantPtrOutput) @@ -9836,6 +11331,12 @@ func (o LoggingVariantConfigPtrOutput) ToLoggingVariantConfigPtrOutputWithContex return o } +func (o LoggingVariantConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingVariantConfig] { + return pulumix.Output[*LoggingVariantConfig]{ + OutputState: o.OutputState, + } +} + func (o LoggingVariantConfigPtrOutput) Elem() LoggingVariantConfigOutput { return o.ApplyT(func(v *LoggingVariantConfig) LoggingVariantConfig { if v != nil { @@ -9877,6 +11378,12 @@ func (o LoggingVariantConfigResponseOutput) ToLoggingVariantConfigResponseOutput return o } +func (o LoggingVariantConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingVariantConfigResponse] { + return pulumix.Output[LoggingVariantConfigResponse]{ + OutputState: o.OutputState, + } +} + // Logging variant deployed on nodes. func (o LoggingVariantConfigResponseOutput) Variant() pulumi.StringOutput { return o.ApplyT(func(v LoggingVariantConfigResponse) string { return v.Variant }).(pulumi.StringOutput) @@ -9917,6 +11424,12 @@ func (i MaintenanceExclusionOptionsArgs) ToMaintenanceExclusionOptionsOutputWith return pulumi.ToOutputWithContext(ctx, i).(MaintenanceExclusionOptionsOutput) } +func (i MaintenanceExclusionOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceExclusionOptions] { + return pulumix.Output[MaintenanceExclusionOptions]{ + OutputState: i.ToMaintenanceExclusionOptionsOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceExclusionOptionsArgs) ToMaintenanceExclusionOptionsPtrOutput() MaintenanceExclusionOptionsPtrOutput { return i.ToMaintenanceExclusionOptionsPtrOutputWithContext(context.Background()) } @@ -9958,6 +11471,12 @@ func (i *maintenanceExclusionOptionsPtrType) ToMaintenanceExclusionOptionsPtrOut return pulumi.ToOutputWithContext(ctx, i).(MaintenanceExclusionOptionsPtrOutput) } +func (i *maintenanceExclusionOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceExclusionOptions] { + return pulumix.Output[*MaintenanceExclusionOptions]{ + OutputState: i.ToMaintenanceExclusionOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the Maintenance exclusion option. type MaintenanceExclusionOptionsOutput struct{ *pulumi.OutputState } @@ -9983,6 +11502,12 @@ func (o MaintenanceExclusionOptionsOutput) ToMaintenanceExclusionOptionsPtrOutpu }).(MaintenanceExclusionOptionsPtrOutput) } +func (o MaintenanceExclusionOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceExclusionOptions] { + return pulumix.Output[MaintenanceExclusionOptions]{ + OutputState: o.OutputState, + } +} + // Scope specifies the upgrade scope which upgrades are blocked by the exclusion. func (o MaintenanceExclusionOptionsOutput) Scope() MaintenanceExclusionOptionsScopePtrOutput { return o.ApplyT(func(v MaintenanceExclusionOptions) *MaintenanceExclusionOptionsScope { return v.Scope }).(MaintenanceExclusionOptionsScopePtrOutput) @@ -10002,6 +11527,12 @@ func (o MaintenanceExclusionOptionsPtrOutput) ToMaintenanceExclusionOptionsPtrOu return o } +func (o MaintenanceExclusionOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceExclusionOptions] { + return pulumix.Output[*MaintenanceExclusionOptions]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceExclusionOptionsPtrOutput) Elem() MaintenanceExclusionOptionsOutput { return o.ApplyT(func(v *MaintenanceExclusionOptions) MaintenanceExclusionOptions { if v != nil { @@ -10043,6 +11574,12 @@ func (o MaintenanceExclusionOptionsResponseOutput) ToMaintenanceExclusionOptions return o } +func (o MaintenanceExclusionOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceExclusionOptionsResponse] { + return pulumix.Output[MaintenanceExclusionOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Scope specifies the upgrade scope which upgrades are blocked by the exclusion. func (o MaintenanceExclusionOptionsResponseOutput) Scope() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceExclusionOptionsResponse) string { return v.Scope }).(pulumi.StringOutput) @@ -10087,6 +11624,12 @@ func (i MaintenancePolicyArgs) ToMaintenancePolicyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenancePolicyOutput) } +func (i MaintenancePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicy] { + return pulumix.Output[MaintenancePolicy]{ + OutputState: i.ToMaintenancePolicyOutputWithContext(ctx).OutputState, + } +} + func (i MaintenancePolicyArgs) ToMaintenancePolicyPtrOutput() MaintenancePolicyPtrOutput { return i.ToMaintenancePolicyPtrOutputWithContext(context.Background()) } @@ -10128,6 +11671,12 @@ func (i *maintenancePolicyPtrType) ToMaintenancePolicyPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenancePolicyPtrOutput) } +func (i *maintenancePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenancePolicy] { + return pulumix.Output[*MaintenancePolicy]{ + OutputState: i.ToMaintenancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // MaintenancePolicy defines the maintenance policy to be used for the cluster. type MaintenancePolicyOutput struct{ *pulumi.OutputState } @@ -10153,6 +11702,12 @@ func (o MaintenancePolicyOutput) ToMaintenancePolicyPtrOutputWithContext(ctx con }).(MaintenancePolicyPtrOutput) } +func (o MaintenancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicy] { + return pulumix.Output[MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + // A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy. func (o MaintenancePolicyOutput) ResourceVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v MaintenancePolicy) *string { return v.ResourceVersion }).(pulumi.StringPtrOutput) @@ -10177,6 +11732,12 @@ func (o MaintenancePolicyPtrOutput) ToMaintenancePolicyPtrOutputWithContext(ctx return o } +func (o MaintenancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenancePolicy] { + return pulumix.Output[*MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o MaintenancePolicyPtrOutput) Elem() MaintenancePolicyOutput { return o.ApplyT(func(v *MaintenancePolicy) MaintenancePolicy { if v != nil { @@ -10230,6 +11791,12 @@ func (o MaintenancePolicyResponseOutput) ToMaintenancePolicyResponseOutputWithCo return o } +func (o MaintenancePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicyResponse] { + return pulumix.Output[MaintenancePolicyResponse]{ + OutputState: o.OutputState, + } +} + // A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy. func (o MaintenancePolicyResponseOutput) ResourceVersion() pulumi.StringOutput { return o.ApplyT(func(v MaintenancePolicyResponse) string { return v.ResourceVersion }).(pulumi.StringOutput) @@ -10283,6 +11850,12 @@ func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput) } +func (i MaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -10324,6 +11897,12 @@ func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowPtrOutput) } +func (i *maintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // MaintenanceWindow defines the maintenance window to be used for the cluster. type MaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -10349,6 +11928,12 @@ func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx con }).(MaintenanceWindowPtrOutput) } +func (o MaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // DailyMaintenanceWindow specifies a daily maintenance operation window. func (o MaintenanceWindowOutput) DailyMaintenanceWindow() DailyMaintenanceWindowPtrOutput { return o.ApplyT(func(v MaintenanceWindow) *DailyMaintenanceWindow { return v.DailyMaintenanceWindow }).(DailyMaintenanceWindowPtrOutput) @@ -10378,6 +11963,12 @@ func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx return o } +func (o MaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowPtrOutput) Elem() MaintenanceWindowOutput { return o.ApplyT(func(v *MaintenanceWindow) MaintenanceWindow { if v != nil { @@ -10443,6 +12034,12 @@ func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithCo return o } +func (o MaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowResponse] { + return pulumix.Output[MaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // DailyMaintenanceWindow specifies a daily maintenance operation window. func (o MaintenanceWindowResponseOutput) DailyMaintenanceWindow() DailyMaintenanceWindowResponseOutput { return o.ApplyT(func(v MaintenanceWindowResponse) DailyMaintenanceWindowResponse { return v.DailyMaintenanceWindow }).(DailyMaintenanceWindowResponseOutput) @@ -10493,6 +12090,12 @@ func (i ManagedPrometheusConfigArgs) ToManagedPrometheusConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ManagedPrometheusConfigOutput) } +func (i ManagedPrometheusConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedPrometheusConfig] { + return pulumix.Output[ManagedPrometheusConfig]{ + OutputState: i.ToManagedPrometheusConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedPrometheusConfigArgs) ToManagedPrometheusConfigPtrOutput() ManagedPrometheusConfigPtrOutput { return i.ToManagedPrometheusConfigPtrOutputWithContext(context.Background()) } @@ -10534,6 +12137,12 @@ func (i *managedPrometheusConfigPtrType) ToManagedPrometheusConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ManagedPrometheusConfigPtrOutput) } +func (i *managedPrometheusConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedPrometheusConfig] { + return pulumix.Output[*ManagedPrometheusConfig]{ + OutputState: i.ToManagedPrometheusConfigPtrOutputWithContext(ctx).OutputState, + } +} + // ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. type ManagedPrometheusConfigOutput struct{ *pulumi.OutputState } @@ -10559,6 +12168,12 @@ func (o ManagedPrometheusConfigOutput) ToManagedPrometheusConfigPtrOutputWithCon }).(ManagedPrometheusConfigPtrOutput) } +func (o ManagedPrometheusConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedPrometheusConfig] { + return pulumix.Output[ManagedPrometheusConfig]{ + OutputState: o.OutputState, + } +} + // Enable Managed Collection. func (o ManagedPrometheusConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ManagedPrometheusConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -10578,6 +12193,12 @@ func (o ManagedPrometheusConfigPtrOutput) ToManagedPrometheusConfigPtrOutputWith return o } +func (o ManagedPrometheusConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedPrometheusConfig] { + return pulumix.Output[*ManagedPrometheusConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedPrometheusConfigPtrOutput) Elem() ManagedPrometheusConfigOutput { return o.ApplyT(func(v *ManagedPrometheusConfig) ManagedPrometheusConfig { if v != nil { @@ -10619,6 +12240,12 @@ func (o ManagedPrometheusConfigResponseOutput) ToManagedPrometheusConfigResponse return o } +func (o ManagedPrometheusConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedPrometheusConfigResponse] { + return pulumix.Output[ManagedPrometheusConfigResponse]{ + OutputState: o.OutputState, + } +} + // Enable Managed Collection. func (o ManagedPrometheusConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ManagedPrometheusConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -10655,6 +12282,12 @@ func (i MasterArgs) ToMasterOutputWithContext(ctx context.Context) MasterOutput return pulumi.ToOutputWithContext(ctx, i).(MasterOutput) } +func (i MasterArgs) ToOutput(ctx context.Context) pulumix.Output[Master] { + return pulumix.Output[Master]{ + OutputState: i.ToMasterOutputWithContext(ctx).OutputState, + } +} + func (i MasterArgs) ToMasterPtrOutput() MasterPtrOutput { return i.ToMasterPtrOutputWithContext(context.Background()) } @@ -10696,6 +12329,12 @@ func (i *masterPtrType) ToMasterPtrOutputWithContext(ctx context.Context) Master return pulumi.ToOutputWithContext(ctx, i).(MasterPtrOutput) } +func (i *masterPtrType) ToOutput(ctx context.Context) pulumix.Output[*Master] { + return pulumix.Output[*Master]{ + OutputState: i.ToMasterPtrOutputWithContext(ctx).OutputState, + } +} + // Master is the configuration for components on master. type MasterOutput struct{ *pulumi.OutputState } @@ -10721,6 +12360,12 @@ func (o MasterOutput) ToMasterPtrOutputWithContext(ctx context.Context) MasterPt }).(MasterPtrOutput) } +func (o MasterOutput) ToOutput(ctx context.Context) pulumix.Output[Master] { + return pulumix.Output[Master]{ + OutputState: o.OutputState, + } +} + type MasterPtrOutput struct{ *pulumi.OutputState } func (MasterPtrOutput) ElementType() reflect.Type { @@ -10735,6 +12380,12 @@ func (o MasterPtrOutput) ToMasterPtrOutputWithContext(ctx context.Context) Maste return o } +func (o MasterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Master] { + return pulumix.Output[*Master]{ + OutputState: o.OutputState, + } +} + func (o MasterPtrOutput) Elem() MasterOutput { return o.ApplyT(func(v *Master) Master { if v != nil { @@ -10790,6 +12441,12 @@ func (i MasterAuthArgs) ToMasterAuthOutputWithContext(ctx context.Context) Maste return pulumi.ToOutputWithContext(ctx, i).(MasterAuthOutput) } +func (i MasterAuthArgs) ToOutput(ctx context.Context) pulumix.Output[MasterAuth] { + return pulumix.Output[MasterAuth]{ + OutputState: i.ToMasterAuthOutputWithContext(ctx).OutputState, + } +} + func (i MasterAuthArgs) ToMasterAuthPtrOutput() MasterAuthPtrOutput { return i.ToMasterAuthPtrOutputWithContext(context.Background()) } @@ -10831,6 +12488,12 @@ func (i *masterAuthPtrType) ToMasterAuthPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(MasterAuthPtrOutput) } +func (i *masterAuthPtrType) ToOutput(ctx context.Context) pulumix.Output[*MasterAuth] { + return pulumix.Output[*MasterAuth]{ + OutputState: i.ToMasterAuthPtrOutputWithContext(ctx).OutputState, + } +} + // The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates. type MasterAuthOutput struct{ *pulumi.OutputState } @@ -10856,6 +12519,12 @@ func (o MasterAuthOutput) ToMasterAuthPtrOutputWithContext(ctx context.Context) }).(MasterAuthPtrOutput) } +func (o MasterAuthOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuth] { + return pulumix.Output[MasterAuth]{ + OutputState: o.OutputState, + } +} + // Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued. func (o MasterAuthOutput) ClientCertificateConfig() ClientCertificateConfigPtrOutput { return o.ApplyT(func(v MasterAuth) *ClientCertificateConfig { return v.ClientCertificateConfig }).(ClientCertificateConfigPtrOutput) @@ -10889,6 +12558,12 @@ func (o MasterAuthPtrOutput) ToMasterAuthPtrOutputWithContext(ctx context.Contex return o } +func (o MasterAuthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MasterAuth] { + return pulumix.Output[*MasterAuth]{ + OutputState: o.OutputState, + } +} + func (o MasterAuthPtrOutput) Elem() MasterAuthOutput { return o.ApplyT(func(v *MasterAuth) MasterAuth { if v != nil { @@ -10968,6 +12643,12 @@ func (o MasterAuthResponseOutput) ToMasterAuthResponseOutputWithContext(ctx cont return o } +func (o MasterAuthResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuthResponse] { + return pulumix.Output[MasterAuthResponse]{ + OutputState: o.OutputState, + } +} + // [Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint. func (o MasterAuthResponseOutput) ClientCertificate() pulumi.StringOutput { return o.ApplyT(func(v MasterAuthResponse) string { return v.ClientCertificate }).(pulumi.StringOutput) @@ -11040,6 +12721,12 @@ func (i MasterAuthorizedNetworksConfigArgs) ToMasterAuthorizedNetworksConfigOutp return pulumi.ToOutputWithContext(ctx, i).(MasterAuthorizedNetworksConfigOutput) } +func (i MasterAuthorizedNetworksConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfig] { + return pulumix.Output[MasterAuthorizedNetworksConfig]{ + OutputState: i.ToMasterAuthorizedNetworksConfigOutputWithContext(ctx).OutputState, + } +} + func (i MasterAuthorizedNetworksConfigArgs) ToMasterAuthorizedNetworksConfigPtrOutput() MasterAuthorizedNetworksConfigPtrOutput { return i.ToMasterAuthorizedNetworksConfigPtrOutputWithContext(context.Background()) } @@ -11081,6 +12768,12 @@ func (i *masterAuthorizedNetworksConfigPtrType) ToMasterAuthorizedNetworksConfig return pulumi.ToOutputWithContext(ctx, i).(MasterAuthorizedNetworksConfigPtrOutput) } +func (i *masterAuthorizedNetworksConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MasterAuthorizedNetworksConfig] { + return pulumix.Output[*MasterAuthorizedNetworksConfig]{ + OutputState: i.ToMasterAuthorizedNetworksConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. type MasterAuthorizedNetworksConfigOutput struct{ *pulumi.OutputState } @@ -11106,6 +12799,12 @@ func (o MasterAuthorizedNetworksConfigOutput) ToMasterAuthorizedNetworksConfigPt }).(MasterAuthorizedNetworksConfigPtrOutput) } +func (o MasterAuthorizedNetworksConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfig] { + return pulumix.Output[MasterAuthorizedNetworksConfig]{ + OutputState: o.OutputState, + } +} + // cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS. func (o MasterAuthorizedNetworksConfigOutput) CidrBlocks() CidrBlockArrayOutput { return o.ApplyT(func(v MasterAuthorizedNetworksConfig) []CidrBlock { return v.CidrBlocks }).(CidrBlockArrayOutput) @@ -11135,6 +12834,12 @@ func (o MasterAuthorizedNetworksConfigPtrOutput) ToMasterAuthorizedNetworksConfi return o } +func (o MasterAuthorizedNetworksConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MasterAuthorizedNetworksConfig] { + return pulumix.Output[*MasterAuthorizedNetworksConfig]{ + OutputState: o.OutputState, + } +} + func (o MasterAuthorizedNetworksConfigPtrOutput) Elem() MasterAuthorizedNetworksConfigOutput { return o.ApplyT(func(v *MasterAuthorizedNetworksConfig) MasterAuthorizedNetworksConfig { if v != nil { @@ -11200,6 +12905,12 @@ func (o MasterAuthorizedNetworksConfigResponseOutput) ToMasterAuthorizedNetworks return o } +func (o MasterAuthorizedNetworksConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MasterAuthorizedNetworksConfigResponse] { + return pulumix.Output[MasterAuthorizedNetworksConfigResponse]{ + OutputState: o.OutputState, + } +} + // cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS. func (o MasterAuthorizedNetworksConfigResponseOutput) CidrBlocks() CidrBlockResponseArrayOutput { return o.ApplyT(func(v MasterAuthorizedNetworksConfigResponse) []CidrBlockResponse { return v.CidrBlocks }).(CidrBlockResponseArrayOutput) @@ -11234,6 +12945,12 @@ func (o MasterResponseOutput) ToMasterResponseOutputWithContext(ctx context.Cont return o } +func (o MasterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MasterResponse] { + return pulumix.Output[MasterResponse]{ + OutputState: o.OutputState, + } +} + // Constraints applied to pods. type MaxPodsConstraint struct { // Constraint enforced on the max num of pods per node. @@ -11269,6 +12986,12 @@ func (i MaxPodsConstraintArgs) ToMaxPodsConstraintOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaxPodsConstraintOutput) } +func (i MaxPodsConstraintArgs) ToOutput(ctx context.Context) pulumix.Output[MaxPodsConstraint] { + return pulumix.Output[MaxPodsConstraint]{ + OutputState: i.ToMaxPodsConstraintOutputWithContext(ctx).OutputState, + } +} + func (i MaxPodsConstraintArgs) ToMaxPodsConstraintPtrOutput() MaxPodsConstraintPtrOutput { return i.ToMaxPodsConstraintPtrOutputWithContext(context.Background()) } @@ -11310,6 +13033,12 @@ func (i *maxPodsConstraintPtrType) ToMaxPodsConstraintPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaxPodsConstraintPtrOutput) } +func (i *maxPodsConstraintPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaxPodsConstraint] { + return pulumix.Output[*MaxPodsConstraint]{ + OutputState: i.ToMaxPodsConstraintPtrOutputWithContext(ctx).OutputState, + } +} + // Constraints applied to pods. type MaxPodsConstraintOutput struct{ *pulumi.OutputState } @@ -11335,6 +13064,12 @@ func (o MaxPodsConstraintOutput) ToMaxPodsConstraintPtrOutputWithContext(ctx con }).(MaxPodsConstraintPtrOutput) } +func (o MaxPodsConstraintOutput) ToOutput(ctx context.Context) pulumix.Output[MaxPodsConstraint] { + return pulumix.Output[MaxPodsConstraint]{ + OutputState: o.OutputState, + } +} + // Constraint enforced on the max num of pods per node. func (o MaxPodsConstraintOutput) MaxPodsPerNode() pulumi.StringPtrOutput { return o.ApplyT(func(v MaxPodsConstraint) *string { return v.MaxPodsPerNode }).(pulumi.StringPtrOutput) @@ -11354,6 +13089,12 @@ func (o MaxPodsConstraintPtrOutput) ToMaxPodsConstraintPtrOutputWithContext(ctx return o } +func (o MaxPodsConstraintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaxPodsConstraint] { + return pulumix.Output[*MaxPodsConstraint]{ + OutputState: o.OutputState, + } +} + func (o MaxPodsConstraintPtrOutput) Elem() MaxPodsConstraintOutput { return o.ApplyT(func(v *MaxPodsConstraint) MaxPodsConstraint { if v != nil { @@ -11395,6 +13136,12 @@ func (o MaxPodsConstraintResponseOutput) ToMaxPodsConstraintResponseOutputWithCo return o } +func (o MaxPodsConstraintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaxPodsConstraintResponse] { + return pulumix.Output[MaxPodsConstraintResponse]{ + OutputState: o.OutputState, + } +} + // Constraint enforced on the max num of pods per node. func (o MaxPodsConstraintResponseOutput) MaxPodsPerNode() pulumi.StringOutput { return o.ApplyT(func(v MaxPodsConstraintResponse) string { return v.MaxPodsPerNode }).(pulumi.StringOutput) @@ -11435,6 +13182,12 @@ func (i MeshCertificatesArgs) ToMeshCertificatesOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MeshCertificatesOutput) } +func (i MeshCertificatesArgs) ToOutput(ctx context.Context) pulumix.Output[MeshCertificates] { + return pulumix.Output[MeshCertificates]{ + OutputState: i.ToMeshCertificatesOutputWithContext(ctx).OutputState, + } +} + func (i MeshCertificatesArgs) ToMeshCertificatesPtrOutput() MeshCertificatesPtrOutput { return i.ToMeshCertificatesPtrOutputWithContext(context.Background()) } @@ -11476,6 +13229,12 @@ func (i *meshCertificatesPtrType) ToMeshCertificatesPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MeshCertificatesPtrOutput) } +func (i *meshCertificatesPtrType) ToOutput(ctx context.Context) pulumix.Output[*MeshCertificates] { + return pulumix.Output[*MeshCertificates]{ + OutputState: i.ToMeshCertificatesPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for issuance of mTLS keys and certificates to Kubernetes pods. type MeshCertificatesOutput struct{ *pulumi.OutputState } @@ -11501,6 +13260,12 @@ func (o MeshCertificatesOutput) ToMeshCertificatesPtrOutputWithContext(ctx conte }).(MeshCertificatesPtrOutput) } +func (o MeshCertificatesOutput) ToOutput(ctx context.Context) pulumix.Output[MeshCertificates] { + return pulumix.Output[MeshCertificates]{ + OutputState: o.OutputState, + } +} + // enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty). func (o MeshCertificatesOutput) EnableCertificates() pulumi.BoolPtrOutput { return o.ApplyT(func(v MeshCertificates) *bool { return v.EnableCertificates }).(pulumi.BoolPtrOutput) @@ -11520,6 +13285,12 @@ func (o MeshCertificatesPtrOutput) ToMeshCertificatesPtrOutputWithContext(ctx co return o } +func (o MeshCertificatesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MeshCertificates] { + return pulumix.Output[*MeshCertificates]{ + OutputState: o.OutputState, + } +} + func (o MeshCertificatesPtrOutput) Elem() MeshCertificatesOutput { return o.ApplyT(func(v *MeshCertificates) MeshCertificates { if v != nil { @@ -11561,6 +13332,12 @@ func (o MeshCertificatesResponseOutput) ToMeshCertificatesResponseOutputWithCont return o } +func (o MeshCertificatesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MeshCertificatesResponse] { + return pulumix.Output[MeshCertificatesResponse]{ + OutputState: o.OutputState, + } +} + // enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty). func (o MeshCertificatesResponseOutput) EnableCertificates() pulumi.BoolOutput { return o.ApplyT(func(v MeshCertificatesResponse) bool { return v.EnableCertificates }).(pulumi.BoolOutput) @@ -11601,6 +13378,12 @@ func (i MonitoringComponentConfigArgs) ToMonitoringComponentConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(MonitoringComponentConfigOutput) } +func (i MonitoringComponentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoringComponentConfig] { + return pulumix.Output[MonitoringComponentConfig]{ + OutputState: i.ToMonitoringComponentConfigOutputWithContext(ctx).OutputState, + } +} + func (i MonitoringComponentConfigArgs) ToMonitoringComponentConfigPtrOutput() MonitoringComponentConfigPtrOutput { return i.ToMonitoringComponentConfigPtrOutputWithContext(context.Background()) } @@ -11642,6 +13425,12 @@ func (i *monitoringComponentConfigPtrType) ToMonitoringComponentConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(MonitoringComponentConfigPtrOutput) } +func (i *monitoringComponentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MonitoringComponentConfig] { + return pulumix.Output[*MonitoringComponentConfig]{ + OutputState: i.ToMonitoringComponentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MonitoringComponentConfig is cluster monitoring component configuration. type MonitoringComponentConfigOutput struct{ *pulumi.OutputState } @@ -11667,6 +13456,12 @@ func (o MonitoringComponentConfigOutput) ToMonitoringComponentConfigPtrOutputWit }).(MonitoringComponentConfigPtrOutput) } +func (o MonitoringComponentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringComponentConfig] { + return pulumix.Output[MonitoringComponentConfig]{ + OutputState: o.OutputState, + } +} + // Select components to collect metrics. An empty set would disable all monitoring. func (o MonitoringComponentConfigOutput) EnableComponents() MonitoringComponentConfigEnableComponentsItemArrayOutput { return o.ApplyT(func(v MonitoringComponentConfig) []MonitoringComponentConfigEnableComponentsItem { @@ -11688,6 +13483,12 @@ func (o MonitoringComponentConfigPtrOutput) ToMonitoringComponentConfigPtrOutput return o } +func (o MonitoringComponentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringComponentConfig] { + return pulumix.Output[*MonitoringComponentConfig]{ + OutputState: o.OutputState, + } +} + func (o MonitoringComponentConfigPtrOutput) Elem() MonitoringComponentConfigOutput { return o.ApplyT(func(v *MonitoringComponentConfig) MonitoringComponentConfig { if v != nil { @@ -11729,6 +13530,12 @@ func (o MonitoringComponentConfigResponseOutput) ToMonitoringComponentConfigResp return o } +func (o MonitoringComponentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringComponentConfigResponse] { + return pulumix.Output[MonitoringComponentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Select components to collect metrics. An empty set would disable all monitoring. func (o MonitoringComponentConfigResponseOutput) EnableComponents() pulumi.StringArrayOutput { return o.ApplyT(func(v MonitoringComponentConfigResponse) []string { return v.EnableComponents }).(pulumi.StringArrayOutput) @@ -11773,6 +13580,12 @@ func (i MonitoringConfigArgs) ToMonitoringConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigOutput) } +func (i MonitoringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: i.ToMonitoringConfigOutputWithContext(ctx).OutputState, + } +} + func (i MonitoringConfigArgs) ToMonitoringConfigPtrOutput() MonitoringConfigPtrOutput { return i.ToMonitoringConfigPtrOutputWithContext(context.Background()) } @@ -11814,6 +13627,12 @@ func (i *monitoringConfigPtrType) ToMonitoringConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigPtrOutput) } +func (i *monitoringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: i.ToMonitoringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MonitoringConfig is cluster monitoring configuration. type MonitoringConfigOutput struct{ *pulumi.OutputState } @@ -11839,6 +13658,12 @@ func (o MonitoringConfigOutput) ToMonitoringConfigPtrOutputWithContext(ctx conte }).(MonitoringConfigPtrOutput) } +func (o MonitoringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: o.OutputState, + } +} + // Monitoring components configuration func (o MonitoringConfigOutput) ComponentConfig() MonitoringComponentConfigPtrOutput { return o.ApplyT(func(v MonitoringConfig) *MonitoringComponentConfig { return v.ComponentConfig }).(MonitoringComponentConfigPtrOutput) @@ -11863,6 +13688,12 @@ func (o MonitoringConfigPtrOutput) ToMonitoringConfigPtrOutputWithContext(ctx co return o } +func (o MonitoringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: o.OutputState, + } +} + func (o MonitoringConfigPtrOutput) Elem() MonitoringConfigOutput { return o.ApplyT(func(v *MonitoringConfig) MonitoringConfig { if v != nil { @@ -11916,6 +13747,12 @@ func (o MonitoringConfigResponseOutput) ToMonitoringConfigResponseOutputWithCont return o } +func (o MonitoringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfigResponse] { + return pulumix.Output[MonitoringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Monitoring components configuration func (o MonitoringConfigResponseOutput) ComponentConfig() MonitoringComponentConfigResponseOutput { return o.ApplyT(func(v MonitoringConfigResponse) MonitoringComponentConfigResponse { return v.ComponentConfig }).(MonitoringComponentConfigResponseOutput) @@ -11989,6 +13826,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -12030,6 +13873,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // NetworkConfig reports the relative names of network & subnetwork. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -12055,6 +13904,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. func (o NetworkConfigOutput) DatapathProvider() NetworkConfigDatapathProviderPtrOutput { return o.ApplyT(func(v NetworkConfig) *NetworkConfigDatapathProvider { return v.DatapathProvider }).(NetworkConfigDatapathProviderPtrOutput) @@ -12109,6 +13964,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -12238,6 +14099,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation. func (o NetworkConfigResponseOutput) DatapathProvider() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfigResponse) string { return v.DatapathProvider }).(pulumi.StringOutput) @@ -12327,6 +14194,12 @@ func (i NetworkPerformanceConfigArgs) ToNetworkPerformanceConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(NetworkPerformanceConfigOutput) } +func (i NetworkPerformanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfig] { + return pulumix.Output[NetworkPerformanceConfig]{ + OutputState: i.ToNetworkPerformanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkPerformanceConfigArgs) ToNetworkPerformanceConfigPtrOutput() NetworkPerformanceConfigPtrOutput { return i.ToNetworkPerformanceConfigPtrOutputWithContext(context.Background()) } @@ -12368,6 +14241,12 @@ func (i *networkPerformanceConfigPtrType) ToNetworkPerformanceConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(NetworkPerformanceConfigPtrOutput) } +func (i *networkPerformanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfig] { + return pulumix.Output[*NetworkPerformanceConfig]{ + OutputState: i.ToNetworkPerformanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of all network bandwidth tiers type NetworkPerformanceConfigOutput struct{ *pulumi.OutputState } @@ -12393,6 +14272,12 @@ func (o NetworkPerformanceConfigOutput) ToNetworkPerformanceConfigPtrOutputWithC }).(NetworkPerformanceConfigPtrOutput) } +func (o NetworkPerformanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfig] { + return pulumix.Output[NetworkPerformanceConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses. func (o NetworkPerformanceConfigOutput) ExternalIpEgressBandwidthTier() NetworkPerformanceConfigExternalIpEgressBandwidthTierPtrOutput { return o.ApplyT(func(v NetworkPerformanceConfig) *NetworkPerformanceConfigExternalIpEgressBandwidthTier { @@ -12421,6 +14306,12 @@ func (o NetworkPerformanceConfigPtrOutput) ToNetworkPerformanceConfigPtrOutputWi return o } +func (o NetworkPerformanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPerformanceConfig] { + return pulumix.Output[*NetworkPerformanceConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkPerformanceConfigPtrOutput) Elem() NetworkPerformanceConfigOutput { return o.ApplyT(func(v *NetworkPerformanceConfig) NetworkPerformanceConfig { if v != nil { @@ -12474,6 +14365,12 @@ func (o NetworkPerformanceConfigResponseOutput) ToNetworkPerformanceConfigRespon return o } +func (o NetworkPerformanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPerformanceConfigResponse] { + return pulumix.Output[NetworkPerformanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses. func (o NetworkPerformanceConfigResponseOutput) ExternalIpEgressBandwidthTier() pulumi.StringOutput { return o.ApplyT(func(v NetworkPerformanceConfigResponse) string { return v.ExternalIpEgressBandwidthTier }).(pulumi.StringOutput) @@ -12523,6 +14420,12 @@ func (i NetworkPolicyArgs) ToNetworkPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyOutput) } +func (i NetworkPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicy] { + return pulumix.Output[NetworkPolicy]{ + OutputState: i.ToNetworkPolicyOutputWithContext(ctx).OutputState, + } +} + func (i NetworkPolicyArgs) ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput { return i.ToNetworkPolicyPtrOutputWithContext(context.Background()) } @@ -12564,6 +14467,12 @@ func (i *networkPolicyPtrType) ToNetworkPolicyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyPtrOutput) } +func (i *networkPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicy] { + return pulumix.Output[*NetworkPolicy]{ + OutputState: i.ToNetworkPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ type NetworkPolicyOutput struct{ *pulumi.OutputState } @@ -12589,6 +14498,12 @@ func (o NetworkPolicyOutput) ToNetworkPolicyPtrOutputWithContext(ctx context.Con }).(NetworkPolicyPtrOutput) } +func (o NetworkPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicy] { + return pulumix.Output[NetworkPolicy]{ + OutputState: o.OutputState, + } +} + // Whether network policy is enabled on the cluster. func (o NetworkPolicyOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v NetworkPolicy) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -12613,6 +14528,12 @@ func (o NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutputWithContext(ctx context. return o } +func (o NetworkPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicy] { + return pulumix.Output[*NetworkPolicy]{ + OutputState: o.OutputState, + } +} + func (o NetworkPolicyPtrOutput) Elem() NetworkPolicyOutput { return o.ApplyT(func(v *NetworkPolicy) NetworkPolicy { if v != nil { @@ -12678,6 +14599,12 @@ func (i NetworkPolicyConfigArgs) ToNetworkPolicyConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyConfigOutput) } +func (i NetworkPolicyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyConfig] { + return pulumix.Output[NetworkPolicyConfig]{ + OutputState: i.ToNetworkPolicyConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkPolicyConfigArgs) ToNetworkPolicyConfigPtrOutput() NetworkPolicyConfigPtrOutput { return i.ToNetworkPolicyConfigPtrOutputWithContext(context.Background()) } @@ -12719,6 +14646,12 @@ func (i *networkPolicyConfigPtrType) ToNetworkPolicyConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(NetworkPolicyConfigPtrOutput) } +func (i *networkPolicyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicyConfig] { + return pulumix.Output[*NetworkPolicyConfig]{ + OutputState: i.ToNetworkPolicyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes. type NetworkPolicyConfigOutput struct{ *pulumi.OutputState } @@ -12744,6 +14677,12 @@ func (o NetworkPolicyConfigOutput) ToNetworkPolicyConfigPtrOutputWithContext(ctx }).(NetworkPolicyConfigPtrOutput) } +func (o NetworkPolicyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyConfig] { + return pulumix.Output[NetworkPolicyConfig]{ + OutputState: o.OutputState, + } +} + // Whether NetworkPolicy is enabled for this cluster. func (o NetworkPolicyConfigOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v NetworkPolicyConfig) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -12763,6 +14702,12 @@ func (o NetworkPolicyConfigPtrOutput) ToNetworkPolicyConfigPtrOutputWithContext( return o } +func (o NetworkPolicyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkPolicyConfig] { + return pulumix.Output[*NetworkPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkPolicyConfigPtrOutput) Elem() NetworkPolicyConfigOutput { return o.ApplyT(func(v *NetworkPolicyConfig) NetworkPolicyConfig { if v != nil { @@ -12804,6 +14749,12 @@ func (o NetworkPolicyConfigResponseOutput) ToNetworkPolicyConfigResponseOutputWi return o } +func (o NetworkPolicyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyConfigResponse] { + return pulumix.Output[NetworkPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether NetworkPolicy is enabled for this cluster. func (o NetworkPolicyConfigResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v NetworkPolicyConfigResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -12832,6 +14783,12 @@ func (o NetworkPolicyResponseOutput) ToNetworkPolicyResponseOutputWithContext(ct return o } +func (o NetworkPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkPolicyResponse] { + return pulumix.Output[NetworkPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Whether network policy is enabled on the cluster. func (o NetworkPolicyResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v NetworkPolicyResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -12877,6 +14834,12 @@ func (i NetworkTagsArgs) ToNetworkTagsOutputWithContext(ctx context.Context) Net return pulumi.ToOutputWithContext(ctx, i).(NetworkTagsOutput) } +func (i NetworkTagsArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkTags] { + return pulumix.Output[NetworkTags]{ + OutputState: i.ToNetworkTagsOutputWithContext(ctx).OutputState, + } +} + func (i NetworkTagsArgs) ToNetworkTagsPtrOutput() NetworkTagsPtrOutput { return i.ToNetworkTagsPtrOutputWithContext(context.Background()) } @@ -12918,6 +14881,12 @@ func (i *networkTagsPtrType) ToNetworkTagsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(NetworkTagsPtrOutput) } +func (i *networkTagsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkTags] { + return pulumix.Output[*NetworkTags]{ + OutputState: i.ToNetworkTagsPtrOutputWithContext(ctx).OutputState, + } +} + // Collection of Compute Engine network tags that can be applied to a node's underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/docs/reference/rest/v1/NodeConfig)). type NetworkTagsOutput struct{ *pulumi.OutputState } @@ -12943,6 +14912,12 @@ func (o NetworkTagsOutput) ToNetworkTagsPtrOutputWithContext(ctx context.Context }).(NetworkTagsPtrOutput) } +func (o NetworkTagsOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkTags] { + return pulumix.Output[NetworkTags]{ + OutputState: o.OutputState, + } +} + // List of network tags. func (o NetworkTagsOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v NetworkTags) []string { return v.Tags }).(pulumi.StringArrayOutput) @@ -12962,6 +14937,12 @@ func (o NetworkTagsPtrOutput) ToNetworkTagsPtrOutputWithContext(ctx context.Cont return o } +func (o NetworkTagsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkTags] { + return pulumix.Output[*NetworkTags]{ + OutputState: o.OutputState, + } +} + func (o NetworkTagsPtrOutput) Elem() NetworkTagsOutput { return o.ApplyT(func(v *NetworkTags) NetworkTags { if v != nil { @@ -13003,6 +14984,12 @@ func (o NetworkTagsResponseOutput) ToNetworkTagsResponseOutputWithContext(ctx co return o } +func (o NetworkTagsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkTagsResponse] { + return pulumix.Output[NetworkTagsResponse]{ + OutputState: o.OutputState, + } +} + // List of network tags. func (o NetworkTagsResponseOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v NetworkTagsResponse) []string { return v.Tags }).(pulumi.StringArrayOutput) @@ -13175,6 +15162,12 @@ func (i NodeConfigArgs) ToNodeConfigOutputWithContext(ctx context.Context) NodeC return pulumi.ToOutputWithContext(ctx, i).(NodeConfigOutput) } +func (i NodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: i.ToNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodeConfigArgs) ToNodeConfigPtrOutput() NodeConfigPtrOutput { return i.ToNodeConfigPtrOutputWithContext(context.Background()) } @@ -13216,6 +15209,12 @@ func (i *nodeConfigPtrType) ToNodeConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(NodeConfigPtrOutput) } +func (i *nodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeConfig] { + return pulumix.Output[*NodeConfig]{ + OutputState: i.ToNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults instead. type NodeConfigOutput struct{ *pulumi.OutputState } @@ -13241,6 +15240,12 @@ func (o NodeConfigOutput) ToNodeConfigPtrOutputWithContext(ctx context.Context) }).(NodeConfigPtrOutput) } +func (o NodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: o.OutputState, + } +} + // A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs. func (o NodeConfigOutput) Accelerators() AcceleratorConfigArrayOutput { return o.ApplyT(func(v NodeConfig) []AcceleratorConfig { return v.Accelerators }).(AcceleratorConfigArrayOutput) @@ -13425,6 +15430,12 @@ func (o NodeConfigPtrOutput) ToNodeConfigPtrOutputWithContext(ctx context.Contex return o } +func (o NodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeConfig] { + return pulumix.Output[*NodeConfig]{ + OutputState: o.OutputState, + } +} + func (o NodeConfigPtrOutput) Elem() NodeConfigOutput { return o.ApplyT(func(v *NodeConfig) NodeConfig { if v != nil { @@ -13814,6 +15825,12 @@ func (i NodeConfigDefaultsArgs) ToNodeConfigDefaultsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NodeConfigDefaultsOutput) } +func (i NodeConfigDefaultsArgs) ToOutput(ctx context.Context) pulumix.Output[NodeConfigDefaults] { + return pulumix.Output[NodeConfigDefaults]{ + OutputState: i.ToNodeConfigDefaultsOutputWithContext(ctx).OutputState, + } +} + func (i NodeConfigDefaultsArgs) ToNodeConfigDefaultsPtrOutput() NodeConfigDefaultsPtrOutput { return i.ToNodeConfigDefaultsPtrOutputWithContext(context.Background()) } @@ -13855,6 +15872,12 @@ func (i *nodeConfigDefaultsPtrType) ToNodeConfigDefaultsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NodeConfigDefaultsPtrOutput) } +func (i *nodeConfigDefaultsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeConfigDefaults] { + return pulumix.Output[*NodeConfigDefaults]{ + OutputState: i.ToNodeConfigDefaultsPtrOutputWithContext(ctx).OutputState, + } +} + // Subset of NodeConfig message that has defaults. type NodeConfigDefaultsOutput struct{ *pulumi.OutputState } @@ -13880,6 +15903,12 @@ func (o NodeConfigDefaultsOutput) ToNodeConfigDefaultsPtrOutputWithContext(ctx c }).(NodeConfigDefaultsPtrOutput) } +func (o NodeConfigDefaultsOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigDefaults] { + return pulumix.Output[NodeConfigDefaults]{ + OutputState: o.OutputState, + } +} + // GCFS (Google Container File System, also known as Riptide) options. func (o NodeConfigDefaultsOutput) GcfsConfig() GcfsConfigPtrOutput { return o.ApplyT(func(v NodeConfigDefaults) *GcfsConfig { return v.GcfsConfig }).(GcfsConfigPtrOutput) @@ -13904,6 +15933,12 @@ func (o NodeConfigDefaultsPtrOutput) ToNodeConfigDefaultsPtrOutputWithContext(ct return o } +func (o NodeConfigDefaultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeConfigDefaults] { + return pulumix.Output[*NodeConfigDefaults]{ + OutputState: o.OutputState, + } +} + func (o NodeConfigDefaultsPtrOutput) Elem() NodeConfigDefaultsOutput { return o.ApplyT(func(v *NodeConfigDefaults) NodeConfigDefaults { if v != nil { @@ -13957,6 +15992,12 @@ func (o NodeConfigDefaultsResponseOutput) ToNodeConfigDefaultsResponseOutputWith return o } +func (o NodeConfigDefaultsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigDefaultsResponse] { + return pulumix.Output[NodeConfigDefaultsResponse]{ + OutputState: o.OutputState, + } +} + // GCFS (Google Container File System, also known as Riptide) options. func (o NodeConfigDefaultsResponseOutput) GcfsConfig() GcfsConfigResponseOutput { return o.ApplyT(func(v NodeConfigDefaultsResponse) GcfsConfigResponse { return v.GcfsConfig }).(GcfsConfigResponseOutput) @@ -14054,6 +16095,12 @@ func (o NodeConfigResponseOutput) ToNodeConfigResponseOutputWithContext(ctx cont return o } +func (o NodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigResponse] { + return pulumix.Output[NodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs. func (o NodeConfigResponseOutput) Accelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v NodeConfigResponse) []AcceleratorConfigResponse { return v.Accelerators }).(AcceleratorConfigResponseArrayOutput) @@ -14273,6 +16320,12 @@ func (i NodeKubeletConfigArgs) ToNodeKubeletConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(NodeKubeletConfigOutput) } +func (i NodeKubeletConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeKubeletConfig] { + return pulumix.Output[NodeKubeletConfig]{ + OutputState: i.ToNodeKubeletConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodeKubeletConfigArgs) ToNodeKubeletConfigPtrOutput() NodeKubeletConfigPtrOutput { return i.ToNodeKubeletConfigPtrOutputWithContext(context.Background()) } @@ -14314,6 +16367,12 @@ func (i *nodeKubeletConfigPtrType) ToNodeKubeletConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NodeKubeletConfigPtrOutput) } +func (i *nodeKubeletConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeKubeletConfig] { + return pulumix.Output[*NodeKubeletConfig]{ + OutputState: i.ToNodeKubeletConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Node kubelet configs. type NodeKubeletConfigOutput struct{ *pulumi.OutputState } @@ -14339,6 +16398,12 @@ func (o NodeKubeletConfigOutput) ToNodeKubeletConfigPtrOutputWithContext(ctx con }).(NodeKubeletConfigPtrOutput) } +func (o NodeKubeletConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeKubeletConfig] { + return pulumix.Output[NodeKubeletConfig]{ + OutputState: o.OutputState, + } +} + // Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. func (o NodeKubeletConfigOutput) CpuCfsQuota() pulumi.BoolPtrOutput { return o.ApplyT(func(v NodeKubeletConfig) *bool { return v.CpuCfsQuota }).(pulumi.BoolPtrOutput) @@ -14373,6 +16438,12 @@ func (o NodeKubeletConfigPtrOutput) ToNodeKubeletConfigPtrOutputWithContext(ctx return o } +func (o NodeKubeletConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeKubeletConfig] { + return pulumix.Output[*NodeKubeletConfig]{ + OutputState: o.OutputState, + } +} + func (o NodeKubeletConfigPtrOutput) Elem() NodeKubeletConfigOutput { return o.ApplyT(func(v *NodeKubeletConfig) NodeKubeletConfig { if v != nil { @@ -14450,6 +16521,12 @@ func (o NodeKubeletConfigResponseOutput) ToNodeKubeletConfigResponseOutputWithCo return o } +func (o NodeKubeletConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeKubeletConfigResponse] { + return pulumix.Output[NodeKubeletConfigResponse]{ + OutputState: o.OutputState, + } +} + // Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified. func (o NodeKubeletConfigResponseOutput) CpuCfsQuota() pulumi.BoolOutput { return o.ApplyT(func(v NodeKubeletConfigResponse) bool { return v.CpuCfsQuota }).(pulumi.BoolOutput) @@ -14519,6 +16596,12 @@ func (i NodeManagementArgs) ToNodeManagementOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(NodeManagementOutput) } +func (i NodeManagementArgs) ToOutput(ctx context.Context) pulumix.Output[NodeManagement] { + return pulumix.Output[NodeManagement]{ + OutputState: i.ToNodeManagementOutputWithContext(ctx).OutputState, + } +} + func (i NodeManagementArgs) ToNodeManagementPtrOutput() NodeManagementPtrOutput { return i.ToNodeManagementPtrOutputWithContext(context.Background()) } @@ -14560,6 +16643,12 @@ func (i *nodeManagementPtrType) ToNodeManagementPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(NodeManagementPtrOutput) } +func (i *nodeManagementPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeManagement] { + return pulumix.Output[*NodeManagement]{ + OutputState: i.ToNodeManagementPtrOutputWithContext(ctx).OutputState, + } +} + // NodeManagement defines the set of node management services turned on for the node pool. type NodeManagementOutput struct{ *pulumi.OutputState } @@ -14585,6 +16674,12 @@ func (o NodeManagementOutput) ToNodeManagementPtrOutputWithContext(ctx context.C }).(NodeManagementPtrOutput) } +func (o NodeManagementOutput) ToOutput(ctx context.Context) pulumix.Output[NodeManagement] { + return pulumix.Output[NodeManagement]{ + OutputState: o.OutputState, + } +} + // Whether the nodes will be automatically repaired. func (o NodeManagementOutput) AutoRepair() pulumi.BoolPtrOutput { return o.ApplyT(func(v NodeManagement) *bool { return v.AutoRepair }).(pulumi.BoolPtrOutput) @@ -14614,6 +16709,12 @@ func (o NodeManagementPtrOutput) ToNodeManagementPtrOutputWithContext(ctx contex return o } +func (o NodeManagementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeManagement] { + return pulumix.Output[*NodeManagement]{ + OutputState: o.OutputState, + } +} + func (o NodeManagementPtrOutput) Elem() NodeManagementOutput { return o.ApplyT(func(v *NodeManagement) NodeManagement { if v != nil { @@ -14679,6 +16780,12 @@ func (o NodeManagementResponseOutput) ToNodeManagementResponseOutputWithContext( return o } +func (o NodeManagementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeManagementResponse] { + return pulumix.Output[NodeManagementResponse]{ + OutputState: o.OutputState, + } +} + // Whether the nodes will be automatically repaired. func (o NodeManagementResponseOutput) AutoRepair() pulumi.BoolOutput { return o.ApplyT(func(v NodeManagementResponse) bool { return v.AutoRepair }).(pulumi.BoolOutput) @@ -14749,6 +16856,12 @@ func (i NodeNetworkConfigArgs) ToNodeNetworkConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(NodeNetworkConfigOutput) } +func (i NodeNetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeNetworkConfig] { + return pulumix.Output[NodeNetworkConfig]{ + OutputState: i.ToNodeNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodeNetworkConfigArgs) ToNodeNetworkConfigPtrOutput() NodeNetworkConfigPtrOutput { return i.ToNodeNetworkConfigPtrOutputWithContext(context.Background()) } @@ -14790,6 +16903,12 @@ func (i *nodeNetworkConfigPtrType) ToNodeNetworkConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NodeNetworkConfigPtrOutput) } +func (i *nodeNetworkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeNetworkConfig] { + return pulumix.Output[*NodeNetworkConfig]{ + OutputState: i.ToNodeNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters for node pool-level network config. type NodeNetworkConfigOutput struct{ *pulumi.OutputState } @@ -14815,6 +16934,12 @@ func (o NodeNetworkConfigOutput) ToNodeNetworkConfigPtrOutputWithContext(ctx con }).(NodeNetworkConfigPtrOutput) } +func (o NodeNetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeNetworkConfig] { + return pulumix.Output[NodeNetworkConfig]{ + OutputState: o.OutputState, + } +} + // Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. func (o NodeNetworkConfigOutput) CreatePodRange() pulumi.BoolPtrOutput { return o.ApplyT(func(v NodeNetworkConfig) *bool { return v.CreatePodRange }).(pulumi.BoolPtrOutput) @@ -14859,6 +16984,12 @@ func (o NodeNetworkConfigPtrOutput) ToNodeNetworkConfigPtrOutputWithContext(ctx return o } +func (o NodeNetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeNetworkConfig] { + return pulumix.Output[*NodeNetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NodeNetworkConfigPtrOutput) Elem() NodeNetworkConfigOutput { return o.ApplyT(func(v *NodeNetworkConfig) NodeNetworkConfig { if v != nil { @@ -14960,6 +17091,12 @@ func (o NodeNetworkConfigResponseOutput) ToNodeNetworkConfigResponseOutputWithCo return o } +func (o NodeNetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeNetworkConfigResponse] { + return pulumix.Output[NodeNetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created. func (o NodeNetworkConfigResponseOutput) CreatePodRange() pulumi.BoolOutput { return o.ApplyT(func(v NodeNetworkConfigResponse) bool { return v.CreatePodRange }).(pulumi.BoolOutput) @@ -15075,6 +17212,12 @@ func (i NodePoolTypeArgs) ToNodePoolTypeOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NodePoolTypeOutput) } +func (i NodePoolTypeArgs) ToOutput(ctx context.Context) pulumix.Output[NodePoolType] { + return pulumix.Output[NodePoolType]{ + OutputState: i.ToNodePoolTypeOutputWithContext(ctx).OutputState, + } +} + // NodePoolTypeArrayInput is an input type that accepts NodePoolTypeArray and NodePoolTypeArrayOutput values. // You can construct a concrete instance of `NodePoolTypeArrayInput` via: // @@ -15100,6 +17243,12 @@ func (i NodePoolTypeArray) ToNodePoolTypeArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(NodePoolTypeArrayOutput) } +func (i NodePoolTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]NodePoolType] { + return pulumix.Output[[]NodePoolType]{ + OutputState: i.ToNodePoolTypeArrayOutputWithContext(ctx).OutputState, + } +} + // NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload. These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available. type NodePoolTypeOutput struct{ *pulumi.OutputState } @@ -15115,6 +17264,12 @@ func (o NodePoolTypeOutput) ToNodePoolTypeOutputWithContext(ctx context.Context) return o } +func (o NodePoolTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolType] { + return pulumix.Output[NodePoolType]{ + OutputState: o.OutputState, + } +} + // Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. func (o NodePoolTypeOutput) Autoscaling() NodePoolAutoscalingPtrOutput { return o.ApplyT(func(v NodePoolType) *NodePoolAutoscaling { return v.Autoscaling }).(NodePoolAutoscalingPtrOutput) @@ -15194,6 +17349,12 @@ func (o NodePoolTypeArrayOutput) ToNodePoolTypeArrayOutputWithContext(ctx contex return o } +func (o NodePoolTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodePoolType] { + return pulumix.Output[[]NodePoolType]{ + OutputState: o.OutputState, + } +} + func (o NodePoolTypeArrayOutput) Index(i pulumi.IntInput) NodePoolTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodePoolType { return vs[0].([]NodePoolType)[vs[1].(int)] @@ -15235,6 +17396,12 @@ func (i NodePoolAutoConfigArgs) ToNodePoolAutoConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NodePoolAutoConfigOutput) } +func (i NodePoolAutoConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoConfig] { + return pulumix.Output[NodePoolAutoConfig]{ + OutputState: i.ToNodePoolAutoConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodePoolAutoConfigArgs) ToNodePoolAutoConfigPtrOutput() NodePoolAutoConfigPtrOutput { return i.ToNodePoolAutoConfigPtrOutputWithContext(context.Background()) } @@ -15276,6 +17443,12 @@ func (i *nodePoolAutoConfigPtrType) ToNodePoolAutoConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NodePoolAutoConfigPtrOutput) } +func (i *nodePoolAutoConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoConfig] { + return pulumix.Output[*NodePoolAutoConfig]{ + OutputState: i.ToNodePoolAutoConfigPtrOutputWithContext(ctx).OutputState, + } +} + // node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters type NodePoolAutoConfigOutput struct{ *pulumi.OutputState } @@ -15301,6 +17474,12 @@ func (o NodePoolAutoConfigOutput) ToNodePoolAutoConfigPtrOutputWithContext(ctx c }).(NodePoolAutoConfigPtrOutput) } +func (o NodePoolAutoConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoConfig] { + return pulumix.Output[NodePoolAutoConfig]{ + OutputState: o.OutputState, + } +} + // The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035. func (o NodePoolAutoConfigOutput) NetworkTags() NetworkTagsPtrOutput { return o.ApplyT(func(v NodePoolAutoConfig) *NetworkTags { return v.NetworkTags }).(NetworkTagsPtrOutput) @@ -15320,6 +17499,12 @@ func (o NodePoolAutoConfigPtrOutput) ToNodePoolAutoConfigPtrOutputWithContext(ct return o } +func (o NodePoolAutoConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoConfig] { + return pulumix.Output[*NodePoolAutoConfig]{ + OutputState: o.OutputState, + } +} + func (o NodePoolAutoConfigPtrOutput) Elem() NodePoolAutoConfigOutput { return o.ApplyT(func(v *NodePoolAutoConfig) NodePoolAutoConfig { if v != nil { @@ -15361,6 +17546,12 @@ func (o NodePoolAutoConfigResponseOutput) ToNodePoolAutoConfigResponseOutputWith return o } +func (o NodePoolAutoConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoConfigResponse] { + return pulumix.Output[NodePoolAutoConfigResponse]{ + OutputState: o.OutputState, + } +} + // The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035. func (o NodePoolAutoConfigResponseOutput) NetworkTags() NetworkTagsResponseOutput { return o.ApplyT(func(v NodePoolAutoConfigResponse) NetworkTagsResponse { return v.NetworkTags }).(NetworkTagsResponseOutput) @@ -15425,6 +17616,12 @@ func (i NodePoolAutoscalingArgs) ToNodePoolAutoscalingOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NodePoolAutoscalingOutput) } +func (i NodePoolAutoscalingArgs) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoscaling] { + return pulumix.Output[NodePoolAutoscaling]{ + OutputState: i.ToNodePoolAutoscalingOutputWithContext(ctx).OutputState, + } +} + func (i NodePoolAutoscalingArgs) ToNodePoolAutoscalingPtrOutput() NodePoolAutoscalingPtrOutput { return i.ToNodePoolAutoscalingPtrOutputWithContext(context.Background()) } @@ -15466,6 +17663,12 @@ func (i *nodePoolAutoscalingPtrType) ToNodePoolAutoscalingPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(NodePoolAutoscalingPtrOutput) } +func (i *nodePoolAutoscalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoscaling] { + return pulumix.Output[*NodePoolAutoscaling]{ + OutputState: i.ToNodePoolAutoscalingPtrOutputWithContext(ctx).OutputState, + } +} + // NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. type NodePoolAutoscalingOutput struct{ *pulumi.OutputState } @@ -15491,6 +17694,12 @@ func (o NodePoolAutoscalingOutput) ToNodePoolAutoscalingPtrOutputWithContext(ctx }).(NodePoolAutoscalingPtrOutput) } +func (o NodePoolAutoscalingOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoscaling] { + return pulumix.Output[NodePoolAutoscaling]{ + OutputState: o.OutputState, + } +} + // Can this node pool be deleted automatically. func (o NodePoolAutoscalingOutput) Autoprovisioned() pulumi.BoolPtrOutput { return o.ApplyT(func(v NodePoolAutoscaling) *bool { return v.Autoprovisioned }).(pulumi.BoolPtrOutput) @@ -15540,6 +17749,12 @@ func (o NodePoolAutoscalingPtrOutput) ToNodePoolAutoscalingPtrOutputWithContext( return o } +func (o NodePoolAutoscalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePoolAutoscaling] { + return pulumix.Output[*NodePoolAutoscaling]{ + OutputState: o.OutputState, + } +} + func (o NodePoolAutoscalingPtrOutput) Elem() NodePoolAutoscalingOutput { return o.ApplyT(func(v *NodePoolAutoscaling) NodePoolAutoscaling { if v != nil { @@ -15653,6 +17868,12 @@ func (o NodePoolAutoscalingResponseOutput) ToNodePoolAutoscalingResponseOutputWi return o } +func (o NodePoolAutoscalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolAutoscalingResponse] { + return pulumix.Output[NodePoolAutoscalingResponse]{ + OutputState: o.OutputState, + } +} + // Can this node pool be deleted automatically. func (o NodePoolAutoscalingResponseOutput) Autoprovisioned() pulumi.BoolOutput { return o.ApplyT(func(v NodePoolAutoscalingResponse) bool { return v.Autoprovisioned }).(pulumi.BoolOutput) @@ -15723,6 +17944,12 @@ func (i NodePoolDefaultsArgs) ToNodePoolDefaultsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NodePoolDefaultsOutput) } +func (i NodePoolDefaultsArgs) ToOutput(ctx context.Context) pulumix.Output[NodePoolDefaults] { + return pulumix.Output[NodePoolDefaults]{ + OutputState: i.ToNodePoolDefaultsOutputWithContext(ctx).OutputState, + } +} + func (i NodePoolDefaultsArgs) ToNodePoolDefaultsPtrOutput() NodePoolDefaultsPtrOutput { return i.ToNodePoolDefaultsPtrOutputWithContext(context.Background()) } @@ -15764,6 +17991,12 @@ func (i *nodePoolDefaultsPtrType) ToNodePoolDefaultsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(NodePoolDefaultsPtrOutput) } +func (i *nodePoolDefaultsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodePoolDefaults] { + return pulumix.Output[*NodePoolDefaults]{ + OutputState: i.ToNodePoolDefaultsPtrOutputWithContext(ctx).OutputState, + } +} + // Subset of Nodepool message that has defaults. type NodePoolDefaultsOutput struct{ *pulumi.OutputState } @@ -15789,6 +18022,12 @@ func (o NodePoolDefaultsOutput) ToNodePoolDefaultsPtrOutputWithContext(ctx conte }).(NodePoolDefaultsPtrOutput) } +func (o NodePoolDefaultsOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolDefaults] { + return pulumix.Output[NodePoolDefaults]{ + OutputState: o.OutputState, + } +} + // Subset of NodeConfig message that has defaults. func (o NodePoolDefaultsOutput) NodeConfigDefaults() NodeConfigDefaultsPtrOutput { return o.ApplyT(func(v NodePoolDefaults) *NodeConfigDefaults { return v.NodeConfigDefaults }).(NodeConfigDefaultsPtrOutput) @@ -15808,6 +18047,12 @@ func (o NodePoolDefaultsPtrOutput) ToNodePoolDefaultsPtrOutputWithContext(ctx co return o } +func (o NodePoolDefaultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePoolDefaults] { + return pulumix.Output[*NodePoolDefaults]{ + OutputState: o.OutputState, + } +} + func (o NodePoolDefaultsPtrOutput) Elem() NodePoolDefaultsOutput { return o.ApplyT(func(v *NodePoolDefaults) NodePoolDefaults { if v != nil { @@ -15849,6 +18094,12 @@ func (o NodePoolDefaultsResponseOutput) ToNodePoolDefaultsResponseOutputWithCont return o } +func (o NodePoolDefaultsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolDefaultsResponse] { + return pulumix.Output[NodePoolDefaultsResponse]{ + OutputState: o.OutputState, + } +} + // Subset of NodeConfig message that has defaults. func (o NodePoolDefaultsResponseOutput) NodeConfigDefaults() NodeConfigDefaultsResponseOutput { return o.ApplyT(func(v NodePoolDefaultsResponse) NodeConfigDefaultsResponse { return v.NodeConfigDefaults }).(NodeConfigDefaultsResponseOutput) @@ -15889,6 +18140,12 @@ func (i NodePoolLoggingConfigArgs) ToNodePoolLoggingConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NodePoolLoggingConfigOutput) } +func (i NodePoolLoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodePoolLoggingConfig] { + return pulumix.Output[NodePoolLoggingConfig]{ + OutputState: i.ToNodePoolLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i NodePoolLoggingConfigArgs) ToNodePoolLoggingConfigPtrOutput() NodePoolLoggingConfigPtrOutput { return i.ToNodePoolLoggingConfigPtrOutputWithContext(context.Background()) } @@ -15930,6 +18187,12 @@ func (i *nodePoolLoggingConfigPtrType) ToNodePoolLoggingConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NodePoolLoggingConfigPtrOutput) } +func (i *nodePoolLoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodePoolLoggingConfig] { + return pulumix.Output[*NodePoolLoggingConfig]{ + OutputState: i.ToNodePoolLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // NodePoolLoggingConfig specifies logging configuration for nodepools. type NodePoolLoggingConfigOutput struct{ *pulumi.OutputState } @@ -15955,6 +18218,12 @@ func (o NodePoolLoggingConfigOutput) ToNodePoolLoggingConfigPtrOutputWithContext }).(NodePoolLoggingConfigPtrOutput) } +func (o NodePoolLoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolLoggingConfig] { + return pulumix.Output[NodePoolLoggingConfig]{ + OutputState: o.OutputState, + } +} + // Logging variant configuration. func (o NodePoolLoggingConfigOutput) VariantConfig() LoggingVariantConfigPtrOutput { return o.ApplyT(func(v NodePoolLoggingConfig) *LoggingVariantConfig { return v.VariantConfig }).(LoggingVariantConfigPtrOutput) @@ -15974,6 +18243,12 @@ func (o NodePoolLoggingConfigPtrOutput) ToNodePoolLoggingConfigPtrOutputWithCont return o } +func (o NodePoolLoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodePoolLoggingConfig] { + return pulumix.Output[*NodePoolLoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o NodePoolLoggingConfigPtrOutput) Elem() NodePoolLoggingConfigOutput { return o.ApplyT(func(v *NodePoolLoggingConfig) NodePoolLoggingConfig { if v != nil { @@ -16015,6 +18290,12 @@ func (o NodePoolLoggingConfigResponseOutput) ToNodePoolLoggingConfigResponseOutp return o } +func (o NodePoolLoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolLoggingConfigResponse] { + return pulumix.Output[NodePoolLoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Logging variant configuration. func (o NodePoolLoggingConfigResponseOutput) VariantConfig() LoggingVariantConfigResponseOutput { return o.ApplyT(func(v NodePoolLoggingConfigResponse) LoggingVariantConfigResponse { return v.VariantConfig }).(LoggingVariantConfigResponseOutput) @@ -16079,6 +18360,12 @@ func (o NodePoolResponseOutput) ToNodePoolResponseOutputWithContext(ctx context. return o } +func (o NodePoolResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodePoolResponse] { + return pulumix.Output[NodePoolResponse]{ + OutputState: o.OutputState, + } +} + // Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. func (o NodePoolResponseOutput) Autoscaling() NodePoolAutoscalingResponseOutput { return o.ApplyT(func(v NodePoolResponse) NodePoolAutoscalingResponse { return v.Autoscaling }).(NodePoolAutoscalingResponseOutput) @@ -16190,6 +18477,12 @@ func (o NodePoolResponseArrayOutput) ToNodePoolResponseArrayOutputWithContext(ct return o } +func (o NodePoolResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodePoolResponse] { + return pulumix.Output[[]NodePoolResponse]{ + OutputState: o.OutputState, + } +} + func (o NodePoolResponseArrayOutput) Index(i pulumi.IntInput) NodePoolResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodePoolResponse { return vs[0].([]NodePoolResponse)[vs[1].(int)] @@ -16239,6 +18532,12 @@ func (i NodeTaintArgs) ToNodeTaintOutputWithContext(ctx context.Context) NodeTai return pulumi.ToOutputWithContext(ctx, i).(NodeTaintOutput) } +func (i NodeTaintArgs) ToOutput(ctx context.Context) pulumix.Output[NodeTaint] { + return pulumix.Output[NodeTaint]{ + OutputState: i.ToNodeTaintOutputWithContext(ctx).OutputState, + } +} + // NodeTaintArrayInput is an input type that accepts NodeTaintArray and NodeTaintArrayOutput values. // You can construct a concrete instance of `NodeTaintArrayInput` via: // @@ -16264,6 +18563,12 @@ func (i NodeTaintArray) ToNodeTaintArrayOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NodeTaintArrayOutput) } +func (i NodeTaintArray) ToOutput(ctx context.Context) pulumix.Output[[]NodeTaint] { + return pulumix.Output[[]NodeTaint]{ + OutputState: i.ToNodeTaintArrayOutputWithContext(ctx).OutputState, + } +} + // Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values. type NodeTaintOutput struct{ *pulumi.OutputState } @@ -16279,6 +18584,12 @@ func (o NodeTaintOutput) ToNodeTaintOutputWithContext(ctx context.Context) NodeT return o } +func (o NodeTaintOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTaint] { + return pulumix.Output[NodeTaint]{ + OutputState: o.OutputState, + } +} + // Effect for taint. func (o NodeTaintOutput) Effect() NodeTaintEffectPtrOutput { return o.ApplyT(func(v NodeTaint) *NodeTaintEffect { return v.Effect }).(NodeTaintEffectPtrOutput) @@ -16308,6 +18619,12 @@ func (o NodeTaintArrayOutput) ToNodeTaintArrayOutputWithContext(ctx context.Cont return o } +func (o NodeTaintArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeTaint] { + return pulumix.Output[[]NodeTaint]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintArrayOutput) Index(i pulumi.IntInput) NodeTaintOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeTaint { return vs[0].([]NodeTaint)[vs[1].(int)] @@ -16339,6 +18656,12 @@ func (o NodeTaintResponseOutput) ToNodeTaintResponseOutputWithContext(ctx contex return o } +func (o NodeTaintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTaintResponse] { + return pulumix.Output[NodeTaintResponse]{ + OutputState: o.OutputState, + } +} + // Effect for taint. func (o NodeTaintResponseOutput) Effect() pulumi.StringOutput { return o.ApplyT(func(v NodeTaintResponse) string { return v.Effect }).(pulumi.StringOutput) @@ -16368,6 +18691,12 @@ func (o NodeTaintResponseArrayOutput) ToNodeTaintResponseArrayOutputWithContext( return o } +func (o NodeTaintResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeTaintResponse] { + return pulumix.Output[[]NodeTaintResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintResponseArrayOutput) Index(i pulumi.IntInput) NodeTaintResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeTaintResponse { return vs[0].([]NodeTaintResponse)[vs[1].(int)] @@ -16415,6 +18744,12 @@ func (i NotificationConfigArgs) ToNotificationConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigOutput) } +func (i NotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NotificationConfig] { + return pulumix.Output[NotificationConfig]{ + OutputState: i.ToNotificationConfigOutputWithContext(ctx).OutputState, + } +} + func (i NotificationConfigArgs) ToNotificationConfigPtrOutput() NotificationConfigPtrOutput { return i.ToNotificationConfigPtrOutputWithContext(context.Background()) } @@ -16456,6 +18791,12 @@ func (i *notificationConfigPtrType) ToNotificationConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigPtrOutput) } +func (i *notificationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: i.ToNotificationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // NotificationConfig is the configuration of notifications. type NotificationConfigOutput struct{ *pulumi.OutputState } @@ -16481,6 +18822,12 @@ func (o NotificationConfigOutput) ToNotificationConfigPtrOutputWithContext(ctx c }).(NotificationConfigPtrOutput) } +func (o NotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfig] { + return pulumix.Output[NotificationConfig]{ + OutputState: o.OutputState, + } +} + // Notification config for Pub/Sub. func (o NotificationConfigOutput) Pubsub() PubSubPtrOutput { return o.ApplyT(func(v NotificationConfig) *PubSub { return v.Pubsub }).(PubSubPtrOutput) @@ -16500,6 +18847,12 @@ func (o NotificationConfigPtrOutput) ToNotificationConfigPtrOutputWithContext(ct return o } +func (o NotificationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o NotificationConfigPtrOutput) Elem() NotificationConfigOutput { return o.ApplyT(func(v *NotificationConfig) NotificationConfig { if v != nil { @@ -16541,6 +18894,12 @@ func (o NotificationConfigResponseOutput) ToNotificationConfigResponseOutputWith return o } +func (o NotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfigResponse] { + return pulumix.Output[NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Notification config for Pub/Sub. func (o NotificationConfigResponseOutput) Pubsub() PubSubResponseOutput { return o.ApplyT(func(v NotificationConfigResponse) PubSubResponse { return v.Pubsub }).(PubSubResponseOutput) @@ -16581,6 +18940,12 @@ func (i PlacementPolicyArgs) ToPlacementPolicyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PlacementPolicyOutput) } +func (i PlacementPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicy] { + return pulumix.Output[PlacementPolicy]{ + OutputState: i.ToPlacementPolicyOutputWithContext(ctx).OutputState, + } +} + func (i PlacementPolicyArgs) ToPlacementPolicyPtrOutput() PlacementPolicyPtrOutput { return i.ToPlacementPolicyPtrOutputWithContext(context.Background()) } @@ -16622,6 +18987,12 @@ func (i *placementPolicyPtrType) ToPlacementPolicyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(PlacementPolicyPtrOutput) } +func (i *placementPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*PlacementPolicy] { + return pulumix.Output[*PlacementPolicy]{ + OutputState: i.ToPlacementPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // PlacementPolicy defines the placement policy used by the node pool. type PlacementPolicyOutput struct{ *pulumi.OutputState } @@ -16647,6 +19018,12 @@ func (o PlacementPolicyOutput) ToPlacementPolicyPtrOutputWithContext(ctx context }).(PlacementPolicyPtrOutput) } +func (o PlacementPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicy] { + return pulumix.Output[PlacementPolicy]{ + OutputState: o.OutputState, + } +} + // The type of placement. func (o PlacementPolicyOutput) Type() PlacementPolicyTypePtrOutput { return o.ApplyT(func(v PlacementPolicy) *PlacementPolicyType { return v.Type }).(PlacementPolicyTypePtrOutput) @@ -16666,6 +19043,12 @@ func (o PlacementPolicyPtrOutput) ToPlacementPolicyPtrOutputWithContext(ctx cont return o } +func (o PlacementPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PlacementPolicy] { + return pulumix.Output[*PlacementPolicy]{ + OutputState: o.OutputState, + } +} + func (o PlacementPolicyPtrOutput) Elem() PlacementPolicyOutput { return o.ApplyT(func(v *PlacementPolicy) PlacementPolicy { if v != nil { @@ -16707,6 +19090,12 @@ func (o PlacementPolicyResponseOutput) ToPlacementPolicyResponseOutputWithContex return o } +func (o PlacementPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PlacementPolicyResponse] { + return pulumix.Output[PlacementPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The type of placement. func (o PlacementPolicyResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v PlacementPolicyResponse) string { return v.Type }).(pulumi.StringOutput) @@ -16747,6 +19136,12 @@ func (i PodCIDROverprovisionConfigArgs) ToPodCIDROverprovisionConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(PodCIDROverprovisionConfigOutput) } +func (i PodCIDROverprovisionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PodCIDROverprovisionConfig] { + return pulumix.Output[PodCIDROverprovisionConfig]{ + OutputState: i.ToPodCIDROverprovisionConfigOutputWithContext(ctx).OutputState, + } +} + func (i PodCIDROverprovisionConfigArgs) ToPodCIDROverprovisionConfigPtrOutput() PodCIDROverprovisionConfigPtrOutput { return i.ToPodCIDROverprovisionConfigPtrOutputWithContext(context.Background()) } @@ -16788,6 +19183,12 @@ func (i *podCIDROverprovisionConfigPtrType) ToPodCIDROverprovisionConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(PodCIDROverprovisionConfigPtrOutput) } +func (i *podCIDROverprovisionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PodCIDROverprovisionConfig] { + return pulumix.Output[*PodCIDROverprovisionConfig]{ + OutputState: i.ToPodCIDROverprovisionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // [PRIVATE FIELD] Config for pod CIDR size overprovisioning. type PodCIDROverprovisionConfigOutput struct{ *pulumi.OutputState } @@ -16813,6 +19214,12 @@ func (o PodCIDROverprovisionConfigOutput) ToPodCIDROverprovisionConfigPtrOutputW }).(PodCIDROverprovisionConfigPtrOutput) } +func (o PodCIDROverprovisionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PodCIDROverprovisionConfig] { + return pulumix.Output[PodCIDROverprovisionConfig]{ + OutputState: o.OutputState, + } +} + // Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default. func (o PodCIDROverprovisionConfigOutput) Disable() pulumi.BoolPtrOutput { return o.ApplyT(func(v PodCIDROverprovisionConfig) *bool { return v.Disable }).(pulumi.BoolPtrOutput) @@ -16832,6 +19239,12 @@ func (o PodCIDROverprovisionConfigPtrOutput) ToPodCIDROverprovisionConfigPtrOutp return o } +func (o PodCIDROverprovisionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PodCIDROverprovisionConfig] { + return pulumix.Output[*PodCIDROverprovisionConfig]{ + OutputState: o.OutputState, + } +} + func (o PodCIDROverprovisionConfigPtrOutput) Elem() PodCIDROverprovisionConfigOutput { return o.ApplyT(func(v *PodCIDROverprovisionConfig) PodCIDROverprovisionConfig { if v != nil { @@ -16873,6 +19286,12 @@ func (o PodCIDROverprovisionConfigResponseOutput) ToPodCIDROverprovisionConfigRe return o } +func (o PodCIDROverprovisionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PodCIDROverprovisionConfigResponse] { + return pulumix.Output[PodCIDROverprovisionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default. func (o PodCIDROverprovisionConfigResponseOutput) Disable() pulumi.BoolOutput { return o.ApplyT(func(v PodCIDROverprovisionConfigResponse) bool { return v.Disable }).(pulumi.BoolOutput) @@ -16913,6 +19332,12 @@ func (i PodSecurityPolicyConfigArgs) ToPodSecurityPolicyConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyConfigOutput) } +func (i PodSecurityPolicyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PodSecurityPolicyConfig] { + return pulumix.Output[PodSecurityPolicyConfig]{ + OutputState: i.ToPodSecurityPolicyConfigOutputWithContext(ctx).OutputState, + } +} + func (i PodSecurityPolicyConfigArgs) ToPodSecurityPolicyConfigPtrOutput() PodSecurityPolicyConfigPtrOutput { return i.ToPodSecurityPolicyConfigPtrOutputWithContext(context.Background()) } @@ -16954,6 +19379,12 @@ func (i *podSecurityPolicyConfigPtrType) ToPodSecurityPolicyConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyConfigPtrOutput) } +func (i *podSecurityPolicyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PodSecurityPolicyConfig] { + return pulumix.Output[*PodSecurityPolicyConfig]{ + OutputState: i.ToPodSecurityPolicyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the PodSecurityPolicy feature. type PodSecurityPolicyConfigOutput struct{ *pulumi.OutputState } @@ -16979,6 +19410,12 @@ func (o PodSecurityPolicyConfigOutput) ToPodSecurityPolicyConfigPtrOutputWithCon }).(PodSecurityPolicyConfigPtrOutput) } +func (o PodSecurityPolicyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PodSecurityPolicyConfig] { + return pulumix.Output[PodSecurityPolicyConfig]{ + OutputState: o.OutputState, + } +} + // Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created. func (o PodSecurityPolicyConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v PodSecurityPolicyConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -16998,6 +19435,12 @@ func (o PodSecurityPolicyConfigPtrOutput) ToPodSecurityPolicyConfigPtrOutputWith return o } +func (o PodSecurityPolicyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PodSecurityPolicyConfig] { + return pulumix.Output[*PodSecurityPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o PodSecurityPolicyConfigPtrOutput) Elem() PodSecurityPolicyConfigOutput { return o.ApplyT(func(v *PodSecurityPolicyConfig) PodSecurityPolicyConfig { if v != nil { @@ -17039,6 +19482,12 @@ func (o PodSecurityPolicyConfigResponseOutput) ToPodSecurityPolicyConfigResponse return o } +func (o PodSecurityPolicyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PodSecurityPolicyConfigResponse] { + return pulumix.Output[PodSecurityPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created. func (o PodSecurityPolicyConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v PodSecurityPolicyConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -17095,6 +19544,12 @@ func (i PrivateClusterConfigArgs) ToPrivateClusterConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterConfigOutput) } +func (i PrivateClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfig] { + return pulumix.Output[PrivateClusterConfig]{ + OutputState: i.ToPrivateClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i PrivateClusterConfigArgs) ToPrivateClusterConfigPtrOutput() PrivateClusterConfigPtrOutput { return i.ToPrivateClusterConfigPtrOutputWithContext(context.Background()) } @@ -17136,6 +19591,12 @@ func (i *privateClusterConfigPtrType) ToPrivateClusterConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterConfigPtrOutput) } +func (i *privateClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterConfig] { + return pulumix.Output[*PrivateClusterConfig]{ + OutputState: i.ToPrivateClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for private clusters. type PrivateClusterConfigOutput struct{ *pulumi.OutputState } @@ -17161,6 +19622,12 @@ func (o PrivateClusterConfigOutput) ToPrivateClusterConfigPtrOutputWithContext(c }).(PrivateClusterConfigPtrOutput) } +func (o PrivateClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfig] { + return pulumix.Output[PrivateClusterConfig]{ + OutputState: o.OutputState, + } +} + // Whether the master's internal IP address is used as the cluster endpoint. func (o PrivateClusterConfigOutput) EnablePrivateEndpoint() pulumi.BoolPtrOutput { return o.ApplyT(func(v PrivateClusterConfig) *bool { return v.EnablePrivateEndpoint }).(pulumi.BoolPtrOutput) @@ -17202,6 +19669,12 @@ func (o PrivateClusterConfigPtrOutput) ToPrivateClusterConfigPtrOutputWithContex return o } +func (o PrivateClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterConfig] { + return pulumix.Output[*PrivateClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o PrivateClusterConfigPtrOutput) Elem() PrivateClusterConfigOutput { return o.ApplyT(func(v *PrivateClusterConfig) PrivateClusterConfig { if v != nil { @@ -17297,6 +19770,12 @@ func (o PrivateClusterConfigResponseOutput) ToPrivateClusterConfigResponseOutput return o } +func (o PrivateClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfigResponse] { + return pulumix.Output[PrivateClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the master's internal IP address is used as the cluster endpoint. func (o PrivateClusterConfigResponseOutput) EnablePrivateEndpoint() pulumi.BoolOutput { return o.ApplyT(func(v PrivateClusterConfigResponse) bool { return v.EnablePrivateEndpoint }).(pulumi.BoolOutput) @@ -17374,6 +19853,12 @@ func (i PrivateClusterMasterGlobalAccessConfigArgs) ToPrivateClusterMasterGlobal return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterMasterGlobalAccessConfigOutput) } +func (i PrivateClusterMasterGlobalAccessConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterMasterGlobalAccessConfig] { + return pulumix.Output[PrivateClusterMasterGlobalAccessConfig]{ + OutputState: i.ToPrivateClusterMasterGlobalAccessConfigOutputWithContext(ctx).OutputState, + } +} + func (i PrivateClusterMasterGlobalAccessConfigArgs) ToPrivateClusterMasterGlobalAccessConfigPtrOutput() PrivateClusterMasterGlobalAccessConfigPtrOutput { return i.ToPrivateClusterMasterGlobalAccessConfigPtrOutputWithContext(context.Background()) } @@ -17415,6 +19900,12 @@ func (i *privateClusterMasterGlobalAccessConfigPtrType) ToPrivateClusterMasterGl return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterMasterGlobalAccessConfigPtrOutput) } +func (i *privateClusterMasterGlobalAccessConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterMasterGlobalAccessConfig] { + return pulumix.Output[*PrivateClusterMasterGlobalAccessConfig]{ + OutputState: i.ToPrivateClusterMasterGlobalAccessConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for controlling master global access settings. type PrivateClusterMasterGlobalAccessConfigOutput struct{ *pulumi.OutputState } @@ -17440,6 +19931,12 @@ func (o PrivateClusterMasterGlobalAccessConfigOutput) ToPrivateClusterMasterGlob }).(PrivateClusterMasterGlobalAccessConfigPtrOutput) } +func (o PrivateClusterMasterGlobalAccessConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterMasterGlobalAccessConfig] { + return pulumix.Output[PrivateClusterMasterGlobalAccessConfig]{ + OutputState: o.OutputState, + } +} + // Whenever master is accessible globally or not. func (o PrivateClusterMasterGlobalAccessConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v PrivateClusterMasterGlobalAccessConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -17459,6 +19956,12 @@ func (o PrivateClusterMasterGlobalAccessConfigPtrOutput) ToPrivateClusterMasterG return o } +func (o PrivateClusterMasterGlobalAccessConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterMasterGlobalAccessConfig] { + return pulumix.Output[*PrivateClusterMasterGlobalAccessConfig]{ + OutputState: o.OutputState, + } +} + func (o PrivateClusterMasterGlobalAccessConfigPtrOutput) Elem() PrivateClusterMasterGlobalAccessConfigOutput { return o.ApplyT(func(v *PrivateClusterMasterGlobalAccessConfig) PrivateClusterMasterGlobalAccessConfig { if v != nil { @@ -17500,6 +20003,12 @@ func (o PrivateClusterMasterGlobalAccessConfigResponseOutput) ToPrivateClusterMa return o } +func (o PrivateClusterMasterGlobalAccessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterMasterGlobalAccessConfigResponse] { + return pulumix.Output[PrivateClusterMasterGlobalAccessConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whenever master is accessible globally or not. func (o PrivateClusterMasterGlobalAccessConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v PrivateClusterMasterGlobalAccessConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -17544,6 +20053,12 @@ func (i ProtectConfigArgs) ToProtectConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ProtectConfigOutput) } +func (i ProtectConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ProtectConfig] { + return pulumix.Output[ProtectConfig]{ + OutputState: i.ToProtectConfigOutputWithContext(ctx).OutputState, + } +} + func (i ProtectConfigArgs) ToProtectConfigPtrOutput() ProtectConfigPtrOutput { return i.ToProtectConfigPtrOutputWithContext(context.Background()) } @@ -17585,6 +20100,12 @@ func (i *protectConfigPtrType) ToProtectConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ProtectConfigPtrOutput) } +func (i *protectConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProtectConfig] { + return pulumix.Output[*ProtectConfig]{ + OutputState: i.ToProtectConfigPtrOutputWithContext(ctx).OutputState, + } +} + // ProtectConfig defines the flags needed to enable/disable features for the Protect API. type ProtectConfigOutput struct{ *pulumi.OutputState } @@ -17610,6 +20131,12 @@ func (o ProtectConfigOutput) ToProtectConfigPtrOutputWithContext(ctx context.Con }).(ProtectConfigPtrOutput) } +func (o ProtectConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ProtectConfig] { + return pulumix.Output[ProtectConfig]{ + OutputState: o.OutputState, + } +} + // WorkloadConfig defines which actions are enabled for a cluster's workload configurations. func (o ProtectConfigOutput) WorkloadConfig() WorkloadConfigPtrOutput { return o.ApplyT(func(v ProtectConfig) *WorkloadConfig { return v.WorkloadConfig }).(WorkloadConfigPtrOutput) @@ -17634,6 +20161,12 @@ func (o ProtectConfigPtrOutput) ToProtectConfigPtrOutputWithContext(ctx context. return o } +func (o ProtectConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProtectConfig] { + return pulumix.Output[*ProtectConfig]{ + OutputState: o.OutputState, + } +} + func (o ProtectConfigPtrOutput) Elem() ProtectConfigOutput { return o.ApplyT(func(v *ProtectConfig) ProtectConfig { if v != nil { @@ -17687,6 +20220,12 @@ func (o ProtectConfigResponseOutput) ToProtectConfigResponseOutputWithContext(ct return o } +func (o ProtectConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProtectConfigResponse] { + return pulumix.Output[ProtectConfigResponse]{ + OutputState: o.OutputState, + } +} + // WorkloadConfig defines which actions are enabled for a cluster's workload configurations. func (o ProtectConfigResponseOutput) WorkloadConfig() WorkloadConfigResponseOutput { return o.ApplyT(func(v ProtectConfigResponse) WorkloadConfigResponse { return v.WorkloadConfig }).(WorkloadConfigResponseOutput) @@ -17740,6 +20279,12 @@ func (i PubSubArgs) ToPubSubOutputWithContext(ctx context.Context) PubSubOutput return pulumi.ToOutputWithContext(ctx, i).(PubSubOutput) } +func (i PubSubArgs) ToOutput(ctx context.Context) pulumix.Output[PubSub] { + return pulumix.Output[PubSub]{ + OutputState: i.ToPubSubOutputWithContext(ctx).OutputState, + } +} + func (i PubSubArgs) ToPubSubPtrOutput() PubSubPtrOutput { return i.ToPubSubPtrOutputWithContext(context.Background()) } @@ -17781,6 +20326,12 @@ func (i *pubSubPtrType) ToPubSubPtrOutputWithContext(ctx context.Context) PubSub return pulumi.ToOutputWithContext(ctx, i).(PubSubPtrOutput) } +func (i *pubSubPtrType) ToOutput(ctx context.Context) pulumix.Output[*PubSub] { + return pulumix.Output[*PubSub]{ + OutputState: i.ToPubSubPtrOutputWithContext(ctx).OutputState, + } +} + // Pub/Sub specific notification config. type PubSubOutput struct{ *pulumi.OutputState } @@ -17806,6 +20357,12 @@ func (o PubSubOutput) ToPubSubPtrOutputWithContext(ctx context.Context) PubSubPt }).(PubSubPtrOutput) } +func (o PubSubOutput) ToOutput(ctx context.Context) pulumix.Output[PubSub] { + return pulumix.Output[PubSub]{ + OutputState: o.OutputState, + } +} + // Enable notifications for Pub/Sub. func (o PubSubOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v PubSub) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -17835,6 +20392,12 @@ func (o PubSubPtrOutput) ToPubSubPtrOutputWithContext(ctx context.Context) PubSu return o } +func (o PubSubPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PubSub] { + return pulumix.Output[*PubSub]{ + OutputState: o.OutputState, + } +} + func (o PubSubPtrOutput) Elem() PubSubOutput { return o.ApplyT(func(v *PubSub) PubSub { if v != nil { @@ -17900,6 +20463,12 @@ func (o PubSubResponseOutput) ToPubSubResponseOutputWithContext(ctx context.Cont return o } +func (o PubSubResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubSubResponse] { + return pulumix.Output[PubSubResponse]{ + OutputState: o.OutputState, + } +} + // Enable notifications for Pub/Sub. func (o PubSubResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v PubSubResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -17954,6 +20523,12 @@ func (i RecurringTimeWindowArgs) ToRecurringTimeWindowOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(RecurringTimeWindowOutput) } +func (i RecurringTimeWindowArgs) ToOutput(ctx context.Context) pulumix.Output[RecurringTimeWindow] { + return pulumix.Output[RecurringTimeWindow]{ + OutputState: i.ToRecurringTimeWindowOutputWithContext(ctx).OutputState, + } +} + func (i RecurringTimeWindowArgs) ToRecurringTimeWindowPtrOutput() RecurringTimeWindowPtrOutput { return i.ToRecurringTimeWindowPtrOutputWithContext(context.Background()) } @@ -17995,6 +20570,12 @@ func (i *recurringTimeWindowPtrType) ToRecurringTimeWindowPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RecurringTimeWindowPtrOutput) } +func (i *recurringTimeWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*RecurringTimeWindow] { + return pulumix.Output[*RecurringTimeWindow]{ + OutputState: i.ToRecurringTimeWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an arbitrary window of time that recurs. type RecurringTimeWindowOutput struct{ *pulumi.OutputState } @@ -18020,6 +20601,12 @@ func (o RecurringTimeWindowOutput) ToRecurringTimeWindowPtrOutputWithContext(ctx }).(RecurringTimeWindowPtrOutput) } +func (o RecurringTimeWindowOutput) ToOutput(ctx context.Context) pulumix.Output[RecurringTimeWindow] { + return pulumix.Output[RecurringTimeWindow]{ + OutputState: o.OutputState, + } +} + // An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use something like: ```start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ```start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA``` Note the start and end time's specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported. func (o RecurringTimeWindowOutput) Recurrence() pulumi.StringPtrOutput { return o.ApplyT(func(v RecurringTimeWindow) *string { return v.Recurrence }).(pulumi.StringPtrOutput) @@ -18044,6 +20631,12 @@ func (o RecurringTimeWindowPtrOutput) ToRecurringTimeWindowPtrOutputWithContext( return o } +func (o RecurringTimeWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RecurringTimeWindow] { + return pulumix.Output[*RecurringTimeWindow]{ + OutputState: o.OutputState, + } +} + func (o RecurringTimeWindowPtrOutput) Elem() RecurringTimeWindowOutput { return o.ApplyT(func(v *RecurringTimeWindow) RecurringTimeWindow { if v != nil { @@ -18097,6 +20690,12 @@ func (o RecurringTimeWindowResponseOutput) ToRecurringTimeWindowResponseOutputWi return o } +func (o RecurringTimeWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RecurringTimeWindowResponse] { + return pulumix.Output[RecurringTimeWindowResponse]{ + OutputState: o.OutputState, + } +} + // An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use something like: ```start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ```start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA``` Note the start and end time's specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported. func (o RecurringTimeWindowResponseOutput) Recurrence() pulumi.StringOutput { return o.ApplyT(func(v RecurringTimeWindowResponse) string { return v.Recurrence }).(pulumi.StringOutput) @@ -18142,6 +20741,12 @@ func (i ReleaseChannelArgs) ToReleaseChannelOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ReleaseChannelOutput) } +func (i ReleaseChannelArgs) ToOutput(ctx context.Context) pulumix.Output[ReleaseChannel] { + return pulumix.Output[ReleaseChannel]{ + OutputState: i.ToReleaseChannelOutputWithContext(ctx).OutputState, + } +} + func (i ReleaseChannelArgs) ToReleaseChannelPtrOutput() ReleaseChannelPtrOutput { return i.ToReleaseChannelPtrOutputWithContext(context.Background()) } @@ -18183,6 +20788,12 @@ func (i *releaseChannelPtrType) ToReleaseChannelPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ReleaseChannelPtrOutput) } +func (i *releaseChannelPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReleaseChannel] { + return pulumix.Output[*ReleaseChannel]{ + OutputState: i.ToReleaseChannelPtrOutputWithContext(ctx).OutputState, + } +} + // ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. type ReleaseChannelOutput struct{ *pulumi.OutputState } @@ -18208,6 +20819,12 @@ func (o ReleaseChannelOutput) ToReleaseChannelPtrOutputWithContext(ctx context.C }).(ReleaseChannelPtrOutput) } +func (o ReleaseChannelOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseChannel] { + return pulumix.Output[ReleaseChannel]{ + OutputState: o.OutputState, + } +} + // channel specifies which release channel the cluster is subscribed to. func (o ReleaseChannelOutput) Channel() ReleaseChannelChannelPtrOutput { return o.ApplyT(func(v ReleaseChannel) *ReleaseChannelChannel { return v.Channel }).(ReleaseChannelChannelPtrOutput) @@ -18227,6 +20844,12 @@ func (o ReleaseChannelPtrOutput) ToReleaseChannelPtrOutputWithContext(ctx contex return o } +func (o ReleaseChannelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReleaseChannel] { + return pulumix.Output[*ReleaseChannel]{ + OutputState: o.OutputState, + } +} + func (o ReleaseChannelPtrOutput) Elem() ReleaseChannelOutput { return o.ApplyT(func(v *ReleaseChannel) ReleaseChannel { if v != nil { @@ -18276,6 +20899,12 @@ func (o ReleaseChannelConfigResponseOutput) ToReleaseChannelConfigResponseOutput return o } +func (o ReleaseChannelConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseChannelConfigResponse] { + return pulumix.Output[ReleaseChannelConfigResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated. This field has been deprecated and replaced with the valid_versions field. // // Deprecated: Deprecated. This field has been deprecated and replaced with the valid_versions field. @@ -18312,6 +20941,12 @@ func (o ReleaseChannelConfigResponseArrayOutput) ToReleaseChannelConfigResponseA return o } +func (o ReleaseChannelConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReleaseChannelConfigResponse] { + return pulumix.Output[[]ReleaseChannelConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ReleaseChannelConfigResponseArrayOutput) Index(i pulumi.IntInput) ReleaseChannelConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReleaseChannelConfigResponse { return vs[0].([]ReleaseChannelConfigResponse)[vs[1].(int)] @@ -18339,6 +20974,12 @@ func (o ReleaseChannelResponseOutput) ToReleaseChannelResponseOutputWithContext( return o } +func (o ReleaseChannelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseChannelResponse] { + return pulumix.Output[ReleaseChannelResponse]{ + OutputState: o.OutputState, + } +} + // channel specifies which release channel the cluster is subscribed to. func (o ReleaseChannelResponseOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v ReleaseChannelResponse) string { return v.Channel }).(pulumi.StringOutput) @@ -18387,6 +21028,12 @@ func (i ReservationAffinityArgs) ToReservationAffinityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityOutput) } +func (i ReservationAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: i.ToReservationAffinityOutputWithContext(ctx).OutputState, + } +} + func (i ReservationAffinityArgs) ToReservationAffinityPtrOutput() ReservationAffinityPtrOutput { return i.ToReservationAffinityPtrOutputWithContext(context.Background()) } @@ -18428,6 +21075,12 @@ func (i *reservationAffinityPtrType) ToReservationAffinityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityPtrOutput) } +func (i *reservationAffinityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: i.ToReservationAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from. type ReservationAffinityOutput struct{ *pulumi.OutputState } @@ -18453,6 +21106,12 @@ func (o ReservationAffinityOutput) ToReservationAffinityPtrOutputWithContext(ctx }).(ReservationAffinityPtrOutput) } +func (o ReservationAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: o.OutputState, + } +} + // Corresponds to the type of reservation consumption. func (o ReservationAffinityOutput) ConsumeReservationType() ReservationAffinityConsumeReservationTypePtrOutput { return o.ApplyT(func(v ReservationAffinity) *ReservationAffinityConsumeReservationType { @@ -18484,6 +21143,12 @@ func (o ReservationAffinityPtrOutput) ToReservationAffinityPtrOutputWithContext( return o } +func (o ReservationAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityPtrOutput) Elem() ReservationAffinityOutput { return o.ApplyT(func(v *ReservationAffinity) ReservationAffinity { if v != nil { @@ -18549,6 +21214,12 @@ func (o ReservationAffinityResponseOutput) ToReservationAffinityResponseOutputWi return o } +func (o ReservationAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityResponse] { + return pulumix.Output[ReservationAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Corresponds to the type of reservation consumption. func (o ReservationAffinityResponseOutput) ConsumeReservationType() pulumi.StringOutput { return o.ApplyT(func(v ReservationAffinityResponse) string { return v.ConsumeReservationType }).(pulumi.StringOutput) @@ -18613,6 +21284,12 @@ func (i ResourceLimitArgs) ToResourceLimitOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ResourceLimitOutput) } +func (i ResourceLimitArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceLimit] { + return pulumix.Output[ResourceLimit]{ + OutputState: i.ToResourceLimitOutputWithContext(ctx).OutputState, + } +} + // ResourceLimitArrayInput is an input type that accepts ResourceLimitArray and ResourceLimitArrayOutput values. // You can construct a concrete instance of `ResourceLimitArrayInput` via: // @@ -18638,6 +21315,12 @@ func (i ResourceLimitArray) ToResourceLimitArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ResourceLimitArrayOutput) } +func (i ResourceLimitArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourceLimit] { + return pulumix.Output[[]ResourceLimit]{ + OutputState: i.ToResourceLimitArrayOutputWithContext(ctx).OutputState, + } +} + // Contains information about amount of some resource in the cluster. For memory, value should be in GB. type ResourceLimitOutput struct{ *pulumi.OutputState } @@ -18653,6 +21336,12 @@ func (o ResourceLimitOutput) ToResourceLimitOutputWithContext(ctx context.Contex return o } +func (o ResourceLimitOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceLimit] { + return pulumix.Output[ResourceLimit]{ + OutputState: o.OutputState, + } +} + // Maximum amount of the resource in the cluster. func (o ResourceLimitOutput) Maximum() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceLimit) *string { return v.Maximum }).(pulumi.StringPtrOutput) @@ -18682,6 +21371,12 @@ func (o ResourceLimitArrayOutput) ToResourceLimitArrayOutputWithContext(ctx cont return o } +func (o ResourceLimitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceLimit] { + return pulumix.Output[[]ResourceLimit]{ + OutputState: o.OutputState, + } +} + func (o ResourceLimitArrayOutput) Index(i pulumi.IntInput) ResourceLimitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceLimit { return vs[0].([]ResourceLimit)[vs[1].(int)] @@ -18713,6 +21408,12 @@ func (o ResourceLimitResponseOutput) ToResourceLimitResponseOutputWithContext(ct return o } +func (o ResourceLimitResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceLimitResponse] { + return pulumix.Output[ResourceLimitResponse]{ + OutputState: o.OutputState, + } +} + // Maximum amount of the resource in the cluster. func (o ResourceLimitResponseOutput) Maximum() pulumi.StringOutput { return o.ApplyT(func(v ResourceLimitResponse) string { return v.Maximum }).(pulumi.StringOutput) @@ -18742,6 +21443,12 @@ func (o ResourceLimitResponseArrayOutput) ToResourceLimitResponseArrayOutputWith return o } +func (o ResourceLimitResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceLimitResponse] { + return pulumix.Output[[]ResourceLimitResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceLimitResponseArrayOutput) Index(i pulumi.IntInput) ResourceLimitResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceLimitResponse { return vs[0].([]ResourceLimitResponse)[vs[1].(int)] @@ -18791,6 +21498,12 @@ func (i ResourceUsageExportConfigArgs) ToResourceUsageExportConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ResourceUsageExportConfigOutput) } +func (i ResourceUsageExportConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceUsageExportConfig] { + return pulumix.Output[ResourceUsageExportConfig]{ + OutputState: i.ToResourceUsageExportConfigOutputWithContext(ctx).OutputState, + } +} + func (i ResourceUsageExportConfigArgs) ToResourceUsageExportConfigPtrOutput() ResourceUsageExportConfigPtrOutput { return i.ToResourceUsageExportConfigPtrOutputWithContext(context.Background()) } @@ -18832,6 +21545,12 @@ func (i *resourceUsageExportConfigPtrType) ToResourceUsageExportConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ResourceUsageExportConfigPtrOutput) } +func (i *resourceUsageExportConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceUsageExportConfig] { + return pulumix.Output[*ResourceUsageExportConfig]{ + OutputState: i.ToResourceUsageExportConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for exporting cluster resource usages. type ResourceUsageExportConfigOutput struct{ *pulumi.OutputState } @@ -18857,6 +21576,12 @@ func (o ResourceUsageExportConfigOutput) ToResourceUsageExportConfigPtrOutputWit }).(ResourceUsageExportConfigPtrOutput) } +func (o ResourceUsageExportConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceUsageExportConfig] { + return pulumix.Output[ResourceUsageExportConfig]{ + OutputState: o.OutputState, + } +} + // Configuration to use BigQuery as usage export destination. func (o ResourceUsageExportConfigOutput) BigqueryDestination() BigQueryDestinationPtrOutput { return o.ApplyT(func(v ResourceUsageExportConfig) *BigQueryDestination { return v.BigqueryDestination }).(BigQueryDestinationPtrOutput) @@ -18886,6 +21611,12 @@ func (o ResourceUsageExportConfigPtrOutput) ToResourceUsageExportConfigPtrOutput return o } +func (o ResourceUsageExportConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceUsageExportConfig] { + return pulumix.Output[*ResourceUsageExportConfig]{ + OutputState: o.OutputState, + } +} + func (o ResourceUsageExportConfigPtrOutput) Elem() ResourceUsageExportConfigOutput { return o.ApplyT(func(v *ResourceUsageExportConfig) ResourceUsageExportConfig { if v != nil { @@ -18951,6 +21682,12 @@ func (o ResourceUsageExportConfigResponseOutput) ToResourceUsageExportConfigResp return o } +func (o ResourceUsageExportConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceUsageExportConfigResponse] { + return pulumix.Output[ResourceUsageExportConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration to use BigQuery as usage export destination. func (o ResourceUsageExportConfigResponseOutput) BigqueryDestination() BigQueryDestinationResponseOutput { return o.ApplyT(func(v ResourceUsageExportConfigResponse) BigQueryDestinationResponse { return v.BigqueryDestination }).(BigQueryDestinationResponseOutput) @@ -19007,6 +21744,12 @@ func (i SandboxConfigArgs) ToSandboxConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SandboxConfigOutput) } +func (i SandboxConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SandboxConfig] { + return pulumix.Output[SandboxConfig]{ + OutputState: i.ToSandboxConfigOutputWithContext(ctx).OutputState, + } +} + func (i SandboxConfigArgs) ToSandboxConfigPtrOutput() SandboxConfigPtrOutput { return i.ToSandboxConfigPtrOutputWithContext(context.Background()) } @@ -19048,6 +21791,12 @@ func (i *sandboxConfigPtrType) ToSandboxConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SandboxConfigPtrOutput) } +func (i *sandboxConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SandboxConfig] { + return pulumix.Output[*SandboxConfig]{ + OutputState: i.ToSandboxConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SandboxConfig contains configurations of the sandbox to use for the node. type SandboxConfigOutput struct{ *pulumi.OutputState } @@ -19073,6 +21822,12 @@ func (o SandboxConfigOutput) ToSandboxConfigPtrOutputWithContext(ctx context.Con }).(SandboxConfigPtrOutput) } +func (o SandboxConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SandboxConfig] { + return pulumix.Output[SandboxConfig]{ + OutputState: o.OutputState, + } +} + // Type of the sandbox to use for the node (e.g. 'gvisor') func (o SandboxConfigOutput) SandboxType() pulumi.StringPtrOutput { return o.ApplyT(func(v SandboxConfig) *string { return v.SandboxType }).(pulumi.StringPtrOutput) @@ -19097,6 +21852,12 @@ func (o SandboxConfigPtrOutput) ToSandboxConfigPtrOutputWithContext(ctx context. return o } +func (o SandboxConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SandboxConfig] { + return pulumix.Output[*SandboxConfig]{ + OutputState: o.OutputState, + } +} + func (o SandboxConfigPtrOutput) Elem() SandboxConfigOutput { return o.ApplyT(func(v *SandboxConfig) SandboxConfig { if v != nil { @@ -19150,6 +21911,12 @@ func (o SandboxConfigResponseOutput) ToSandboxConfigResponseOutputWithContext(ct return o } +func (o SandboxConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SandboxConfigResponse] { + return pulumix.Output[SandboxConfigResponse]{ + OutputState: o.OutputState, + } +} + // Type of the sandbox to use for the node (e.g. 'gvisor') func (o SandboxConfigResponseOutput) SandboxType() pulumi.StringOutput { return o.ApplyT(func(v SandboxConfigResponse) string { return v.SandboxType }).(pulumi.StringOutput) @@ -19195,6 +21962,12 @@ func (i ServiceExternalIPsConfigArgs) ToServiceExternalIPsConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ServiceExternalIPsConfigOutput) } +func (i ServiceExternalIPsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceExternalIPsConfig] { + return pulumix.Output[ServiceExternalIPsConfig]{ + OutputState: i.ToServiceExternalIPsConfigOutputWithContext(ctx).OutputState, + } +} + func (i ServiceExternalIPsConfigArgs) ToServiceExternalIPsConfigPtrOutput() ServiceExternalIPsConfigPtrOutput { return i.ToServiceExternalIPsConfigPtrOutputWithContext(context.Background()) } @@ -19236,6 +22009,12 @@ func (i *serviceExternalIPsConfigPtrType) ToServiceExternalIPsConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ServiceExternalIPsConfigPtrOutput) } +func (i *serviceExternalIPsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceExternalIPsConfig] { + return pulumix.Output[*ServiceExternalIPsConfig]{ + OutputState: i.ToServiceExternalIPsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config to block services with externalIPs field. type ServiceExternalIPsConfigOutput struct{ *pulumi.OutputState } @@ -19261,6 +22040,12 @@ func (o ServiceExternalIPsConfigOutput) ToServiceExternalIPsConfigPtrOutputWithC }).(ServiceExternalIPsConfigPtrOutput) } +func (o ServiceExternalIPsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceExternalIPsConfig] { + return pulumix.Output[ServiceExternalIPsConfig]{ + OutputState: o.OutputState, + } +} + // Whether Services with ExternalIPs field are allowed or not. func (o ServiceExternalIPsConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ServiceExternalIPsConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -19280,6 +22065,12 @@ func (o ServiceExternalIPsConfigPtrOutput) ToServiceExternalIPsConfigPtrOutputWi return o } +func (o ServiceExternalIPsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceExternalIPsConfig] { + return pulumix.Output[*ServiceExternalIPsConfig]{ + OutputState: o.OutputState, + } +} + func (o ServiceExternalIPsConfigPtrOutput) Elem() ServiceExternalIPsConfigOutput { return o.ApplyT(func(v *ServiceExternalIPsConfig) ServiceExternalIPsConfig { if v != nil { @@ -19321,6 +22112,12 @@ func (o ServiceExternalIPsConfigResponseOutput) ToServiceExternalIPsConfigRespon return o } +func (o ServiceExternalIPsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceExternalIPsConfigResponse] { + return pulumix.Output[ServiceExternalIPsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Services with ExternalIPs field are allowed or not. func (o ServiceExternalIPsConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ServiceExternalIPsConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -19365,6 +22162,12 @@ func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigOutput) } +func (i ShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigPtrOutput() ShieldedInstanceConfigPtrOutput { return i.ToShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -19406,6 +22209,12 @@ func (i *shieldedInstanceConfigPtrType) ToShieldedInstanceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigPtrOutput) } +func (i *shieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded Instance options. type ShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -19431,6 +22240,12 @@ func (o ShieldedInstanceConfigOutput) ToShieldedInstanceConfigPtrOutputWithConte }).(ShieldedInstanceConfigPtrOutput) } +func (o ShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. func (o ShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -19455,6 +22270,12 @@ func (o ShieldedInstanceConfigPtrOutput) ToShieldedInstanceConfigPtrOutputWithCo return o } +func (o ShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceConfigPtrOutput) Elem() ShieldedInstanceConfigOutput { return o.ApplyT(func(v *ShieldedInstanceConfig) ShieldedInstanceConfig { if v != nil { @@ -19508,6 +22329,12 @@ func (o ShieldedInstanceConfigResponseOutput) ToShieldedInstanceConfigResponseOu return o } +func (o ShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfigResponse] { + return pulumix.Output[ShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. func (o ShieldedInstanceConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -19553,6 +22380,12 @@ func (i ShieldedNodesArgs) ToShieldedNodesOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ShieldedNodesOutput) } +func (i ShieldedNodesArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedNodes] { + return pulumix.Output[ShieldedNodes]{ + OutputState: i.ToShieldedNodesOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedNodesArgs) ToShieldedNodesPtrOutput() ShieldedNodesPtrOutput { return i.ToShieldedNodesPtrOutputWithContext(context.Background()) } @@ -19594,6 +22427,12 @@ func (i *shieldedNodesPtrType) ToShieldedNodesPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ShieldedNodesPtrOutput) } +func (i *shieldedNodesPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedNodes] { + return pulumix.Output[*ShieldedNodes]{ + OutputState: i.ToShieldedNodesPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of Shielded Nodes feature. type ShieldedNodesOutput struct{ *pulumi.OutputState } @@ -19619,6 +22458,12 @@ func (o ShieldedNodesOutput) ToShieldedNodesPtrOutputWithContext(ctx context.Con }).(ShieldedNodesPtrOutput) } +func (o ShieldedNodesOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedNodes] { + return pulumix.Output[ShieldedNodes]{ + OutputState: o.OutputState, + } +} + // Whether Shielded Nodes features are enabled on all nodes in this cluster. func (o ShieldedNodesOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedNodes) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -19638,6 +22483,12 @@ func (o ShieldedNodesPtrOutput) ToShieldedNodesPtrOutputWithContext(ctx context. return o } +func (o ShieldedNodesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedNodes] { + return pulumix.Output[*ShieldedNodes]{ + OutputState: o.OutputState, + } +} + func (o ShieldedNodesPtrOutput) Elem() ShieldedNodesOutput { return o.ApplyT(func(v *ShieldedNodes) ShieldedNodes { if v != nil { @@ -19679,6 +22530,12 @@ func (o ShieldedNodesResponseOutput) ToShieldedNodesResponseOutputWithContext(ct return o } +func (o ShieldedNodesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedNodesResponse] { + return pulumix.Output[ShieldedNodesResponse]{ + OutputState: o.OutputState, + } +} + // Whether Shielded Nodes features are enabled on all nodes in this cluster. func (o ShieldedNodesResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedNodesResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -19727,6 +22584,12 @@ func (i StandardRolloutPolicyArgs) ToStandardRolloutPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(StandardRolloutPolicyOutput) } +func (i StandardRolloutPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[StandardRolloutPolicy] { + return pulumix.Output[StandardRolloutPolicy]{ + OutputState: i.ToStandardRolloutPolicyOutputWithContext(ctx).OutputState, + } +} + func (i StandardRolloutPolicyArgs) ToStandardRolloutPolicyPtrOutput() StandardRolloutPolicyPtrOutput { return i.ToStandardRolloutPolicyPtrOutputWithContext(context.Background()) } @@ -19768,6 +22631,12 @@ func (i *standardRolloutPolicyPtrType) ToStandardRolloutPolicyPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(StandardRolloutPolicyPtrOutput) } +func (i *standardRolloutPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*StandardRolloutPolicy] { + return pulumix.Output[*StandardRolloutPolicy]{ + OutputState: i.ToStandardRolloutPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Standard rollout policy is the default policy for blue-green. type StandardRolloutPolicyOutput struct{ *pulumi.OutputState } @@ -19793,6 +22662,12 @@ func (o StandardRolloutPolicyOutput) ToStandardRolloutPolicyPtrOutputWithContext }).(StandardRolloutPolicyPtrOutput) } +func (o StandardRolloutPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[StandardRolloutPolicy] { + return pulumix.Output[StandardRolloutPolicy]{ + OutputState: o.OutputState, + } +} + // Number of blue nodes to drain in a batch. func (o StandardRolloutPolicyOutput) BatchNodeCount() pulumi.IntPtrOutput { return o.ApplyT(func(v StandardRolloutPolicy) *int { return v.BatchNodeCount }).(pulumi.IntPtrOutput) @@ -19822,6 +22697,12 @@ func (o StandardRolloutPolicyPtrOutput) ToStandardRolloutPolicyPtrOutputWithCont return o } +func (o StandardRolloutPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StandardRolloutPolicy] { + return pulumix.Output[*StandardRolloutPolicy]{ + OutputState: o.OutputState, + } +} + func (o StandardRolloutPolicyPtrOutput) Elem() StandardRolloutPolicyOutput { return o.ApplyT(func(v *StandardRolloutPolicy) StandardRolloutPolicy { if v != nil { @@ -19887,6 +22768,12 @@ func (o StandardRolloutPolicyResponseOutput) ToStandardRolloutPolicyResponseOutp return o } +func (o StandardRolloutPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StandardRolloutPolicyResponse] { + return pulumix.Output[StandardRolloutPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Number of blue nodes to drain in a batch. func (o StandardRolloutPolicyResponseOutput) BatchNodeCount() pulumi.IntOutput { return o.ApplyT(func(v StandardRolloutPolicyResponse) int { return v.BatchNodeCount }).(pulumi.IntOutput) @@ -19949,6 +22836,12 @@ func (i StatusConditionArgs) ToStatusConditionOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(StatusConditionOutput) } +func (i StatusConditionArgs) ToOutput(ctx context.Context) pulumix.Output[StatusCondition] { + return pulumix.Output[StatusCondition]{ + OutputState: i.ToStatusConditionOutputWithContext(ctx).OutputState, + } +} + // StatusConditionArrayInput is an input type that accepts StatusConditionArray and StatusConditionArrayOutput values. // You can construct a concrete instance of `StatusConditionArrayInput` via: // @@ -19974,6 +22867,12 @@ func (i StatusConditionArray) ToStatusConditionArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(StatusConditionArrayOutput) } +func (i StatusConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]StatusCondition] { + return pulumix.Output[[]StatusCondition]{ + OutputState: i.ToStatusConditionArrayOutputWithContext(ctx).OutputState, + } +} + // StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED). type StatusConditionOutput struct{ *pulumi.OutputState } @@ -19989,6 +22888,12 @@ func (o StatusConditionOutput) ToStatusConditionOutputWithContext(ctx context.Co return o } +func (o StatusConditionOutput) ToOutput(ctx context.Context) pulumix.Output[StatusCondition] { + return pulumix.Output[StatusCondition]{ + OutputState: o.OutputState, + } +} + // Canonical code of the condition. func (o StatusConditionOutput) CanonicalCode() StatusConditionCanonicalCodePtrOutput { return o.ApplyT(func(v StatusCondition) *StatusConditionCanonicalCode { return v.CanonicalCode }).(StatusConditionCanonicalCodePtrOutput) @@ -20020,6 +22925,12 @@ func (o StatusConditionArrayOutput) ToStatusConditionArrayOutputWithContext(ctx return o } +func (o StatusConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StatusCondition] { + return pulumix.Output[[]StatusCondition]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionArrayOutput) Index(i pulumi.IntInput) StatusConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StatusCondition { return vs[0].([]StatusCondition)[vs[1].(int)] @@ -20053,6 +22964,12 @@ func (o StatusConditionResponseOutput) ToStatusConditionResponseOutputWithContex return o } +func (o StatusConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusConditionResponse] { + return pulumix.Output[StatusConditionResponse]{ + OutputState: o.OutputState, + } +} + // Canonical code of the condition. func (o StatusConditionResponseOutput) CanonicalCode() pulumi.StringOutput { return o.ApplyT(func(v StatusConditionResponse) string { return v.CanonicalCode }).(pulumi.StringOutput) @@ -20084,6 +23001,12 @@ func (o StatusConditionResponseArrayOutput) ToStatusConditionResponseArrayOutput return o } +func (o StatusConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StatusConditionResponse] { + return pulumix.Output[[]StatusConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o StatusConditionResponseArrayOutput) Index(i pulumi.IntInput) StatusConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StatusConditionResponse { return vs[0].([]StatusConditionResponse)[vs[1].(int)] @@ -20133,6 +23056,12 @@ func (i TimeWindowArgs) ToTimeWindowOutputWithContext(ctx context.Context) TimeW return pulumi.ToOutputWithContext(ctx, i).(TimeWindowOutput) } +func (i TimeWindowArgs) ToOutput(ctx context.Context) pulumix.Output[TimeWindow] { + return pulumix.Output[TimeWindow]{ + OutputState: i.ToTimeWindowOutputWithContext(ctx).OutputState, + } +} + func (i TimeWindowArgs) ToTimeWindowPtrOutput() TimeWindowPtrOutput { return i.ToTimeWindowPtrOutputWithContext(context.Background()) } @@ -20174,6 +23103,12 @@ func (i *timeWindowPtrType) ToTimeWindowPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TimeWindowPtrOutput) } +func (i *timeWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*TimeWindow] { + return pulumix.Output[*TimeWindow]{ + OutputState: i.ToTimeWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an arbitrary window of time. type TimeWindowOutput struct{ *pulumi.OutputState } @@ -20199,6 +23134,12 @@ func (o TimeWindowOutput) ToTimeWindowPtrOutputWithContext(ctx context.Context) }).(TimeWindowPtrOutput) } +func (o TimeWindowOutput) ToOutput(ctx context.Context) pulumix.Output[TimeWindow] { + return pulumix.Output[TimeWindow]{ + OutputState: o.OutputState, + } +} + // The time that the window ends. The end time should take place after the start time. func (o TimeWindowOutput) EndTime() pulumi.StringPtrOutput { return o.ApplyT(func(v TimeWindow) *string { return v.EndTime }).(pulumi.StringPtrOutput) @@ -20228,6 +23169,12 @@ func (o TimeWindowPtrOutput) ToTimeWindowPtrOutputWithContext(ctx context.Contex return o } +func (o TimeWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimeWindow] { + return pulumix.Output[*TimeWindow]{ + OutputState: o.OutputState, + } +} + func (o TimeWindowPtrOutput) Elem() TimeWindowOutput { return o.ApplyT(func(v *TimeWindow) TimeWindow { if v != nil { @@ -20293,6 +23240,12 @@ func (o TimeWindowResponseOutput) ToTimeWindowResponseOutputWithContext(ctx cont return o } +func (o TimeWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeWindowResponse] { + return pulumix.Output[TimeWindowResponse]{ + OutputState: o.OutputState, + } +} + // The time that the window ends. The end time should take place after the start time. func (o TimeWindowResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v TimeWindowResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -20351,6 +23304,12 @@ func (i TpuConfigArgs) ToTpuConfigOutputWithContext(ctx context.Context) TpuConf return pulumi.ToOutputWithContext(ctx, i).(TpuConfigOutput) } +func (i TpuConfigArgs) ToOutput(ctx context.Context) pulumix.Output[TpuConfig] { + return pulumix.Output[TpuConfig]{ + OutputState: i.ToTpuConfigOutputWithContext(ctx).OutputState, + } +} + func (i TpuConfigArgs) ToTpuConfigPtrOutput() TpuConfigPtrOutput { return i.ToTpuConfigPtrOutputWithContext(context.Background()) } @@ -20392,6 +23351,12 @@ func (i *tpuConfigPtrType) ToTpuConfigPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TpuConfigPtrOutput) } +func (i *tpuConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*TpuConfig] { + return pulumix.Output[*TpuConfig]{ + OutputState: i.ToTpuConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for Cloud TPU. type TpuConfigOutput struct{ *pulumi.OutputState } @@ -20417,6 +23382,12 @@ func (o TpuConfigOutput) ToTpuConfigPtrOutputWithContext(ctx context.Context) Tp }).(TpuConfigPtrOutput) } +func (o TpuConfigOutput) ToOutput(ctx context.Context) pulumix.Output[TpuConfig] { + return pulumix.Output[TpuConfig]{ + OutputState: o.OutputState, + } +} + // Whether Cloud TPU integration is enabled or not. func (o TpuConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v TpuConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -20446,6 +23417,12 @@ func (o TpuConfigPtrOutput) ToTpuConfigPtrOutputWithContext(ctx context.Context) return o } +func (o TpuConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TpuConfig] { + return pulumix.Output[*TpuConfig]{ + OutputState: o.OutputState, + } +} + func (o TpuConfigPtrOutput) Elem() TpuConfigOutput { return o.ApplyT(func(v *TpuConfig) TpuConfig { if v != nil { @@ -20511,6 +23488,12 @@ func (o TpuConfigResponseOutput) ToTpuConfigResponseOutputWithContext(ctx contex return o } +func (o TpuConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TpuConfigResponse] { + return pulumix.Output[TpuConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Cloud TPU integration is enabled or not. func (o TpuConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v TpuConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -20547,6 +23530,12 @@ func (o UpdateInfoResponseOutput) ToUpdateInfoResponseOutputWithContext(ctx cont return o } +func (o UpdateInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpdateInfoResponse] { + return pulumix.Output[UpdateInfoResponse]{ + OutputState: o.OutputState, + } +} + // Information of a blue-green upgrade. func (o UpdateInfoResponseOutput) BlueGreenInfo() BlueGreenInfoResponseOutput { return o.ApplyT(func(v UpdateInfoResponse) BlueGreenInfoResponse { return v.BlueGreenInfo }).(BlueGreenInfoResponseOutput) @@ -20599,6 +23588,12 @@ func (i UpgradeSettingsArgs) ToUpgradeSettingsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(UpgradeSettingsOutput) } +func (i UpgradeSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[UpgradeSettings] { + return pulumix.Output[UpgradeSettings]{ + OutputState: i.ToUpgradeSettingsOutputWithContext(ctx).OutputState, + } +} + func (i UpgradeSettingsArgs) ToUpgradeSettingsPtrOutput() UpgradeSettingsPtrOutput { return i.ToUpgradeSettingsPtrOutputWithContext(context.Background()) } @@ -20640,6 +23635,12 @@ func (i *upgradeSettingsPtrType) ToUpgradeSettingsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(UpgradeSettingsPtrOutput) } +func (i *upgradeSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*UpgradeSettings] { + return pulumix.Output[*UpgradeSettings]{ + OutputState: i.ToUpgradeSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // These upgrade settings configure the upgrade strategy for the node pool. Use strategy to switch between the strategies applied to the node pool. If the strategy is SURGE, use max_surge and max_unavailable to control the level of parallelism and the level of disruption caused by upgrade. 1. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. 2. maxUnavailable controls the number of nodes that can be simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). If the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-green upgrade related settings. 1. standard_rollout_policy is the default policy. The policy is used to control the way blue pool gets drained. The draining is executed in the batch mode. The batch size could be specified as either percentage of the node pool size or the number of nodes. batch_soak_duration is the soak time after each batch gets drained. 2. node_pool_soak_duration is the soak time after all blue nodes are drained. After this period, the blue pool nodes will be deleted. type UpgradeSettingsOutput struct{ *pulumi.OutputState } @@ -20665,6 +23666,12 @@ func (o UpgradeSettingsOutput) ToUpgradeSettingsPtrOutputWithContext(ctx context }).(UpgradeSettingsPtrOutput) } +func (o UpgradeSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeSettings] { + return pulumix.Output[UpgradeSettings]{ + OutputState: o.OutputState, + } +} + // Settings for blue-green upgrade strategy. func (o UpgradeSettingsOutput) BlueGreenSettings() BlueGreenSettingsPtrOutput { return o.ApplyT(func(v UpgradeSettings) *BlueGreenSettings { return v.BlueGreenSettings }).(BlueGreenSettingsPtrOutput) @@ -20699,6 +23706,12 @@ func (o UpgradeSettingsPtrOutput) ToUpgradeSettingsPtrOutputWithContext(ctx cont return o } +func (o UpgradeSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeSettings] { + return pulumix.Output[*UpgradeSettings]{ + OutputState: o.OutputState, + } +} + func (o UpgradeSettingsPtrOutput) Elem() UpgradeSettingsOutput { return o.ApplyT(func(v *UpgradeSettings) UpgradeSettings { if v != nil { @@ -20776,6 +23789,12 @@ func (o UpgradeSettingsResponseOutput) ToUpgradeSettingsResponseOutputWithContex return o } +func (o UpgradeSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeSettingsResponse] { + return pulumix.Output[UpgradeSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Settings for blue-green upgrade strategy. func (o UpgradeSettingsResponseOutput) BlueGreenSettings() BlueGreenSettingsResponseOutput { return o.ApplyT(func(v UpgradeSettingsResponse) BlueGreenSettingsResponse { return v.BlueGreenSettings }).(BlueGreenSettingsResponseOutput) @@ -20831,6 +23850,12 @@ func (i VerticalPodAutoscalingArgs) ToVerticalPodAutoscalingOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(VerticalPodAutoscalingOutput) } +func (i VerticalPodAutoscalingArgs) ToOutput(ctx context.Context) pulumix.Output[VerticalPodAutoscaling] { + return pulumix.Output[VerticalPodAutoscaling]{ + OutputState: i.ToVerticalPodAutoscalingOutputWithContext(ctx).OutputState, + } +} + func (i VerticalPodAutoscalingArgs) ToVerticalPodAutoscalingPtrOutput() VerticalPodAutoscalingPtrOutput { return i.ToVerticalPodAutoscalingPtrOutputWithContext(context.Background()) } @@ -20872,6 +23897,12 @@ func (i *verticalPodAutoscalingPtrType) ToVerticalPodAutoscalingPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(VerticalPodAutoscalingPtrOutput) } +func (i *verticalPodAutoscalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*VerticalPodAutoscaling] { + return pulumix.Output[*VerticalPodAutoscaling]{ + OutputState: i.ToVerticalPodAutoscalingPtrOutputWithContext(ctx).OutputState, + } +} + // VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it. type VerticalPodAutoscalingOutput struct{ *pulumi.OutputState } @@ -20897,6 +23928,12 @@ func (o VerticalPodAutoscalingOutput) ToVerticalPodAutoscalingPtrOutputWithConte }).(VerticalPodAutoscalingPtrOutput) } +func (o VerticalPodAutoscalingOutput) ToOutput(ctx context.Context) pulumix.Output[VerticalPodAutoscaling] { + return pulumix.Output[VerticalPodAutoscaling]{ + OutputState: o.OutputState, + } +} + // Enables vertical pod autoscaling. func (o VerticalPodAutoscalingOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v VerticalPodAutoscaling) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -20916,6 +23953,12 @@ func (o VerticalPodAutoscalingPtrOutput) ToVerticalPodAutoscalingPtrOutputWithCo return o } +func (o VerticalPodAutoscalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VerticalPodAutoscaling] { + return pulumix.Output[*VerticalPodAutoscaling]{ + OutputState: o.OutputState, + } +} + func (o VerticalPodAutoscalingPtrOutput) Elem() VerticalPodAutoscalingOutput { return o.ApplyT(func(v *VerticalPodAutoscaling) VerticalPodAutoscaling { if v != nil { @@ -20957,6 +24000,12 @@ func (o VerticalPodAutoscalingResponseOutput) ToVerticalPodAutoscalingResponseOu return o } +func (o VerticalPodAutoscalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VerticalPodAutoscalingResponse] { + return pulumix.Output[VerticalPodAutoscalingResponse]{ + OutputState: o.OutputState, + } +} + // Enables vertical pod autoscaling. func (o VerticalPodAutoscalingResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v VerticalPodAutoscalingResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -20997,6 +24046,12 @@ func (i VirtualNICArgs) ToVirtualNICOutputWithContext(ctx context.Context) Virtu return pulumi.ToOutputWithContext(ctx, i).(VirtualNICOutput) } +func (i VirtualNICArgs) ToOutput(ctx context.Context) pulumix.Output[VirtualNIC] { + return pulumix.Output[VirtualNIC]{ + OutputState: i.ToVirtualNICOutputWithContext(ctx).OutputState, + } +} + func (i VirtualNICArgs) ToVirtualNICPtrOutput() VirtualNICPtrOutput { return i.ToVirtualNICPtrOutputWithContext(context.Background()) } @@ -21038,6 +24093,12 @@ func (i *virtualNICPtrType) ToVirtualNICPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(VirtualNICPtrOutput) } +func (i *virtualNICPtrType) ToOutput(ctx context.Context) pulumix.Output[*VirtualNIC] { + return pulumix.Output[*VirtualNIC]{ + OutputState: i.ToVirtualNICPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of gVNIC feature. type VirtualNICOutput struct{ *pulumi.OutputState } @@ -21063,6 +24124,12 @@ func (o VirtualNICOutput) ToVirtualNICPtrOutputWithContext(ctx context.Context) }).(VirtualNICPtrOutput) } +func (o VirtualNICOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualNIC] { + return pulumix.Output[VirtualNIC]{ + OutputState: o.OutputState, + } +} + // Whether gVNIC features are enabled in the node pool. func (o VirtualNICOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v VirtualNIC) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -21082,6 +24149,12 @@ func (o VirtualNICPtrOutput) ToVirtualNICPtrOutputWithContext(ctx context.Contex return o } +func (o VirtualNICPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualNIC] { + return pulumix.Output[*VirtualNIC]{ + OutputState: o.OutputState, + } +} + func (o VirtualNICPtrOutput) Elem() VirtualNICOutput { return o.ApplyT(func(v *VirtualNIC) VirtualNIC { if v != nil { @@ -21123,6 +24196,12 @@ func (o VirtualNICResponseOutput) ToVirtualNICResponseOutputWithContext(ctx cont return o } +func (o VirtualNICResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualNICResponse] { + return pulumix.Output[VirtualNICResponse]{ + OutputState: o.OutputState, + } +} + // Whether gVNIC features are enabled in the node pool. func (o VirtualNICResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v VirtualNICResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -21163,6 +24242,12 @@ func (i WindowsNodeConfigArgs) ToWindowsNodeConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(WindowsNodeConfigOutput) } +func (i WindowsNodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WindowsNodeConfig] { + return pulumix.Output[WindowsNodeConfig]{ + OutputState: i.ToWindowsNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i WindowsNodeConfigArgs) ToWindowsNodeConfigPtrOutput() WindowsNodeConfigPtrOutput { return i.ToWindowsNodeConfigPtrOutputWithContext(context.Background()) } @@ -21204,6 +24289,12 @@ func (i *windowsNodeConfigPtrType) ToWindowsNodeConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(WindowsNodeConfigPtrOutput) } +func (i *windowsNodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WindowsNodeConfig] { + return pulumix.Output[*WindowsNodeConfig]{ + OutputState: i.ToWindowsNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings type WindowsNodeConfigOutput struct{ *pulumi.OutputState } @@ -21229,6 +24320,12 @@ func (o WindowsNodeConfigOutput) ToWindowsNodeConfigPtrOutputWithContext(ctx con }).(WindowsNodeConfigPtrOutput) } +func (o WindowsNodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsNodeConfig] { + return pulumix.Output[WindowsNodeConfig]{ + OutputState: o.OutputState, + } +} + // OSVersion specifies the Windows node config to be used on the node func (o WindowsNodeConfigOutput) OsVersion() WindowsNodeConfigOsVersionPtrOutput { return o.ApplyT(func(v WindowsNodeConfig) *WindowsNodeConfigOsVersion { return v.OsVersion }).(WindowsNodeConfigOsVersionPtrOutput) @@ -21248,6 +24345,12 @@ func (o WindowsNodeConfigPtrOutput) ToWindowsNodeConfigPtrOutputWithContext(ctx return o } +func (o WindowsNodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WindowsNodeConfig] { + return pulumix.Output[*WindowsNodeConfig]{ + OutputState: o.OutputState, + } +} + func (o WindowsNodeConfigPtrOutput) Elem() WindowsNodeConfigOutput { return o.ApplyT(func(v *WindowsNodeConfig) WindowsNodeConfig { if v != nil { @@ -21289,6 +24392,12 @@ func (o WindowsNodeConfigResponseOutput) ToWindowsNodeConfigResponseOutputWithCo return o } +func (o WindowsNodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsNodeConfigResponse] { + return pulumix.Output[WindowsNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // OSVersion specifies the Windows node config to be used on the node func (o WindowsNodeConfigResponseOutput) OsVersion() pulumi.StringOutput { return o.ApplyT(func(v WindowsNodeConfigResponse) string { return v.OsVersion }).(pulumi.StringOutput) @@ -21329,6 +24438,12 @@ func (i WorkloadALTSConfigArgs) ToWorkloadALTSConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(WorkloadALTSConfigOutput) } +func (i WorkloadALTSConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkloadALTSConfig] { + return pulumix.Output[WorkloadALTSConfig]{ + OutputState: i.ToWorkloadALTSConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkloadALTSConfigArgs) ToWorkloadALTSConfigPtrOutput() WorkloadALTSConfigPtrOutput { return i.ToWorkloadALTSConfigPtrOutputWithContext(context.Background()) } @@ -21370,6 +24485,12 @@ func (i *workloadALTSConfigPtrType) ToWorkloadALTSConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(WorkloadALTSConfigPtrOutput) } +func (i *workloadALTSConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkloadALTSConfig] { + return pulumix.Output[*WorkloadALTSConfig]{ + OutputState: i.ToWorkloadALTSConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for direct-path (via ALTS) with workload identity. type WorkloadALTSConfigOutput struct{ *pulumi.OutputState } @@ -21395,6 +24516,12 @@ func (o WorkloadALTSConfigOutput) ToWorkloadALTSConfigPtrOutputWithContext(ctx c }).(WorkloadALTSConfigPtrOutput) } +func (o WorkloadALTSConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadALTSConfig] { + return pulumix.Output[WorkloadALTSConfig]{ + OutputState: o.OutputState, + } +} + // enable_alts controls whether the alts handshaker should be enabled or not for direct-path. Requires Workload Identity (workload_pool must be non-empty). func (o WorkloadALTSConfigOutput) EnableAlts() pulumi.BoolPtrOutput { return o.ApplyT(func(v WorkloadALTSConfig) *bool { return v.EnableAlts }).(pulumi.BoolPtrOutput) @@ -21414,6 +24541,12 @@ func (o WorkloadALTSConfigPtrOutput) ToWorkloadALTSConfigPtrOutputWithContext(ct return o } +func (o WorkloadALTSConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadALTSConfig] { + return pulumix.Output[*WorkloadALTSConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkloadALTSConfigPtrOutput) Elem() WorkloadALTSConfigOutput { return o.ApplyT(func(v *WorkloadALTSConfig) WorkloadALTSConfig { if v != nil { @@ -21455,6 +24588,12 @@ func (o WorkloadALTSConfigResponseOutput) ToWorkloadALTSConfigResponseOutputWith return o } +func (o WorkloadALTSConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadALTSConfigResponse] { + return pulumix.Output[WorkloadALTSConfigResponse]{ + OutputState: o.OutputState, + } +} + // enable_alts controls whether the alts handshaker should be enabled or not for direct-path. Requires Workload Identity (workload_pool must be non-empty). func (o WorkloadALTSConfigResponseOutput) EnableAlts() pulumi.BoolOutput { return o.ApplyT(func(v WorkloadALTSConfigResponse) bool { return v.EnableAlts }).(pulumi.BoolOutput) @@ -21495,6 +24634,12 @@ func (i WorkloadCertificatesArgs) ToWorkloadCertificatesOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(WorkloadCertificatesOutput) } +func (i WorkloadCertificatesArgs) ToOutput(ctx context.Context) pulumix.Output[WorkloadCertificates] { + return pulumix.Output[WorkloadCertificates]{ + OutputState: i.ToWorkloadCertificatesOutputWithContext(ctx).OutputState, + } +} + func (i WorkloadCertificatesArgs) ToWorkloadCertificatesPtrOutput() WorkloadCertificatesPtrOutput { return i.ToWorkloadCertificatesPtrOutputWithContext(context.Background()) } @@ -21536,6 +24681,12 @@ func (i *workloadCertificatesPtrType) ToWorkloadCertificatesPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(WorkloadCertificatesPtrOutput) } +func (i *workloadCertificatesPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkloadCertificates] { + return pulumix.Output[*WorkloadCertificates]{ + OutputState: i.ToWorkloadCertificatesPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for issuance of mTLS keys and certificates to Kubernetes pods. type WorkloadCertificatesOutput struct{ *pulumi.OutputState } @@ -21561,6 +24712,12 @@ func (o WorkloadCertificatesOutput) ToWorkloadCertificatesPtrOutputWithContext(c }).(WorkloadCertificatesPtrOutput) } +func (o WorkloadCertificatesOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadCertificates] { + return pulumix.Output[WorkloadCertificates]{ + OutputState: o.OutputState, + } +} + // enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty). func (o WorkloadCertificatesOutput) EnableCertificates() pulumi.BoolPtrOutput { return o.ApplyT(func(v WorkloadCertificates) *bool { return v.EnableCertificates }).(pulumi.BoolPtrOutput) @@ -21580,6 +24737,12 @@ func (o WorkloadCertificatesPtrOutput) ToWorkloadCertificatesPtrOutputWithContex return o } +func (o WorkloadCertificatesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadCertificates] { + return pulumix.Output[*WorkloadCertificates]{ + OutputState: o.OutputState, + } +} + func (o WorkloadCertificatesPtrOutput) Elem() WorkloadCertificatesOutput { return o.ApplyT(func(v *WorkloadCertificates) WorkloadCertificates { if v != nil { @@ -21621,6 +24784,12 @@ func (o WorkloadCertificatesResponseOutput) ToWorkloadCertificatesResponseOutput return o } +func (o WorkloadCertificatesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadCertificatesResponse] { + return pulumix.Output[WorkloadCertificatesResponse]{ + OutputState: o.OutputState, + } +} + // enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty). func (o WorkloadCertificatesResponseOutput) EnableCertificates() pulumi.BoolOutput { return o.ApplyT(func(v WorkloadCertificatesResponse) bool { return v.EnableCertificates }).(pulumi.BoolOutput) @@ -21661,6 +24830,12 @@ func (i WorkloadConfigArgs) ToWorkloadConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(WorkloadConfigOutput) } +func (i WorkloadConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkloadConfig] { + return pulumix.Output[WorkloadConfig]{ + OutputState: i.ToWorkloadConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkloadConfigArgs) ToWorkloadConfigPtrOutput() WorkloadConfigPtrOutput { return i.ToWorkloadConfigPtrOutputWithContext(context.Background()) } @@ -21702,6 +24877,12 @@ func (i *workloadConfigPtrType) ToWorkloadConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(WorkloadConfigPtrOutput) } +func (i *workloadConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkloadConfig] { + return pulumix.Output[*WorkloadConfig]{ + OutputState: i.ToWorkloadConfigPtrOutputWithContext(ctx).OutputState, + } +} + // WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. type WorkloadConfigOutput struct{ *pulumi.OutputState } @@ -21727,6 +24908,12 @@ func (o WorkloadConfigOutput) ToWorkloadConfigPtrOutputWithContext(ctx context.C }).(WorkloadConfigPtrOutput) } +func (o WorkloadConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadConfig] { + return pulumix.Output[WorkloadConfig]{ + OutputState: o.OutputState, + } +} + // Sets which mode of auditing should be used for the cluster's workloads. func (o WorkloadConfigOutput) AuditMode() WorkloadConfigAuditModePtrOutput { return o.ApplyT(func(v WorkloadConfig) *WorkloadConfigAuditMode { return v.AuditMode }).(WorkloadConfigAuditModePtrOutput) @@ -21746,6 +24933,12 @@ func (o WorkloadConfigPtrOutput) ToWorkloadConfigPtrOutputWithContext(ctx contex return o } +func (o WorkloadConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadConfig] { + return pulumix.Output[*WorkloadConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkloadConfigPtrOutput) Elem() WorkloadConfigOutput { return o.ApplyT(func(v *WorkloadConfig) WorkloadConfig { if v != nil { @@ -21787,6 +24980,12 @@ func (o WorkloadConfigResponseOutput) ToWorkloadConfigResponseOutputWithContext( return o } +func (o WorkloadConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadConfigResponse] { + return pulumix.Output[WorkloadConfigResponse]{ + OutputState: o.OutputState, + } +} + // Sets which mode of auditing should be used for the cluster's workloads. func (o WorkloadConfigResponseOutput) AuditMode() pulumi.StringOutput { return o.ApplyT(func(v WorkloadConfigResponse) string { return v.AuditMode }).(pulumi.StringOutput) @@ -21835,6 +25034,12 @@ func (i WorkloadIdentityConfigArgs) ToWorkloadIdentityConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(WorkloadIdentityConfigOutput) } +func (i WorkloadIdentityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkloadIdentityConfig] { + return pulumix.Output[WorkloadIdentityConfig]{ + OutputState: i.ToWorkloadIdentityConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkloadIdentityConfigArgs) ToWorkloadIdentityConfigPtrOutput() WorkloadIdentityConfigPtrOutput { return i.ToWorkloadIdentityConfigPtrOutputWithContext(context.Background()) } @@ -21876,6 +25081,12 @@ func (i *workloadIdentityConfigPtrType) ToWorkloadIdentityConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(WorkloadIdentityConfigPtrOutput) } +func (i *workloadIdentityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkloadIdentityConfig] { + return pulumix.Output[*WorkloadIdentityConfig]{ + OutputState: i.ToWorkloadIdentityConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. type WorkloadIdentityConfigOutput struct{ *pulumi.OutputState } @@ -21901,6 +25112,12 @@ func (o WorkloadIdentityConfigOutput) ToWorkloadIdentityConfigPtrOutputWithConte }).(WorkloadIdentityConfigPtrOutput) } +func (o WorkloadIdentityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadIdentityConfig] { + return pulumix.Output[WorkloadIdentityConfig]{ + OutputState: o.OutputState, + } +} + // IAM Identity Namespace to attach all Kubernetes Service Accounts to. func (o WorkloadIdentityConfigOutput) IdentityNamespace() pulumi.StringPtrOutput { return o.ApplyT(func(v WorkloadIdentityConfig) *string { return v.IdentityNamespace }).(pulumi.StringPtrOutput) @@ -21930,6 +25147,12 @@ func (o WorkloadIdentityConfigPtrOutput) ToWorkloadIdentityConfigPtrOutputWithCo return o } +func (o WorkloadIdentityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadIdentityConfig] { + return pulumix.Output[*WorkloadIdentityConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkloadIdentityConfigPtrOutput) Elem() WorkloadIdentityConfigOutput { return o.ApplyT(func(v *WorkloadIdentityConfig) WorkloadIdentityConfig { if v != nil { @@ -21995,6 +25218,12 @@ func (o WorkloadIdentityConfigResponseOutput) ToWorkloadIdentityConfigResponseOu return o } +func (o WorkloadIdentityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadIdentityConfigResponse] { + return pulumix.Output[WorkloadIdentityConfigResponse]{ + OutputState: o.OutputState, + } +} + // IAM Identity Namespace to attach all Kubernetes Service Accounts to. func (o WorkloadIdentityConfigResponseOutput) IdentityNamespace() pulumi.StringOutput { return o.ApplyT(func(v WorkloadIdentityConfigResponse) string { return v.IdentityNamespace }).(pulumi.StringOutput) @@ -22049,6 +25278,12 @@ func (i WorkloadMetadataConfigArgs) ToWorkloadMetadataConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(WorkloadMetadataConfigOutput) } +func (i WorkloadMetadataConfigArgs) ToOutput(ctx context.Context) pulumix.Output[WorkloadMetadataConfig] { + return pulumix.Output[WorkloadMetadataConfig]{ + OutputState: i.ToWorkloadMetadataConfigOutputWithContext(ctx).OutputState, + } +} + func (i WorkloadMetadataConfigArgs) ToWorkloadMetadataConfigPtrOutput() WorkloadMetadataConfigPtrOutput { return i.ToWorkloadMetadataConfigPtrOutputWithContext(context.Background()) } @@ -22090,6 +25325,12 @@ func (i *workloadMetadataConfigPtrType) ToWorkloadMetadataConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(WorkloadMetadataConfigPtrOutput) } +func (i *workloadMetadataConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkloadMetadataConfig] { + return pulumix.Output[*WorkloadMetadataConfig]{ + OutputState: i.ToWorkloadMetadataConfigPtrOutputWithContext(ctx).OutputState, + } +} + // WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. type WorkloadMetadataConfigOutput struct{ *pulumi.OutputState } @@ -22115,6 +25356,12 @@ func (o WorkloadMetadataConfigOutput) ToWorkloadMetadataConfigPtrOutputWithConte }).(WorkloadMetadataConfigPtrOutput) } +func (o WorkloadMetadataConfigOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadMetadataConfig] { + return pulumix.Output[WorkloadMetadataConfig]{ + OutputState: o.OutputState, + } +} + // Mode is the configuration for how to expose metadata to workloads running on the node pool. func (o WorkloadMetadataConfigOutput) Mode() WorkloadMetadataConfigModePtrOutput { return o.ApplyT(func(v WorkloadMetadataConfig) *WorkloadMetadataConfigMode { return v.Mode }).(WorkloadMetadataConfigModePtrOutput) @@ -22139,6 +25386,12 @@ func (o WorkloadMetadataConfigPtrOutput) ToWorkloadMetadataConfigPtrOutputWithCo return o } +func (o WorkloadMetadataConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadMetadataConfig] { + return pulumix.Output[*WorkloadMetadataConfig]{ + OutputState: o.OutputState, + } +} + func (o WorkloadMetadataConfigPtrOutput) Elem() WorkloadMetadataConfigOutput { return o.ApplyT(func(v *WorkloadMetadataConfig) WorkloadMetadataConfig { if v != nil { @@ -22192,6 +25445,12 @@ func (o WorkloadMetadataConfigResponseOutput) ToWorkloadMetadataConfigResponseOu return o } +func (o WorkloadMetadataConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadMetadataConfigResponse] { + return pulumix.Output[WorkloadMetadataConfigResponse]{ + OutputState: o.OutputState, + } +} + // Mode is the configuration for how to expose metadata to workloads running on the node pool. func (o WorkloadMetadataConfigResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v WorkloadMetadataConfigResponse) string { return v.Mode }).(pulumi.StringOutput) diff --git a/sdk/go/google/containeranalysis/v1/getNote.go b/sdk/go/google/containeranalysis/v1/getNote.go index 1fb621a168..cd973040ee 100644 --- a/sdk/go/google/containeranalysis/v1/getNote.go +++ b/sdk/go/google/containeranalysis/v1/getNote.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified note. @@ -108,6 +109,12 @@ func (o LookupNoteResultOutput) ToLookupNoteResultOutputWithContext(ctx context. return o } +func (o LookupNoteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNoteResult] { + return pulumix.Output[LookupNoteResult]{ + OutputState: o.OutputState, + } +} + // A note describing an attestation role. func (o LookupNoteResultOutput) Attestation() AttestationNoteResponseOutput { return o.ApplyT(func(v LookupNoteResult) AttestationNoteResponse { return v.Attestation }).(AttestationNoteResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1/getNoteIamPolicy.go b/sdk/go/google/containeranalysis/v1/getNoteIamPolicy.go index d9cdbff278..8c17de6e0c 100644 --- a/sdk/go/google/containeranalysis/v1/getNoteIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1/getNoteIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -72,6 +73,12 @@ func (o LookupNoteIamPolicyResultOutput) ToLookupNoteIamPolicyResultOutputWithCo return o } +func (o LookupNoteIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNoteIamPolicyResult] { + return pulumix.Output[LookupNoteIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupNoteIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupNoteIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1/getOccurrence.go b/sdk/go/google/containeranalysis/v1/getOccurrence.go index 25b225716e..026a2de9cc 100644 --- a/sdk/go/google/containeranalysis/v1/getOccurrence.go +++ b/sdk/go/google/containeranalysis/v1/getOccurrence.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified occurrence. @@ -104,6 +105,12 @@ func (o LookupOccurrenceResultOutput) ToLookupOccurrenceResultOutputWithContext( return o } +func (o LookupOccurrenceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOccurrenceResult] { + return pulumix.Output[LookupOccurrenceResult]{ + OutputState: o.OutputState, + } +} + // Describes an attestation of an artifact. func (o LookupOccurrenceResultOutput) Attestation() AttestationOccurrenceResponseOutput { return o.ApplyT(func(v LookupOccurrenceResult) AttestationOccurrenceResponse { return v.Attestation }).(AttestationOccurrenceResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1/getOccurrenceIamPolicy.go b/sdk/go/google/containeranalysis/v1/getOccurrenceIamPolicy.go index d5737ac6e3..eb1988b8fb 100644 --- a/sdk/go/google/containeranalysis/v1/getOccurrenceIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1/getOccurrenceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -72,6 +73,12 @@ func (o LookupOccurrenceIamPolicyResultOutput) ToLookupOccurrenceIamPolicyResult return o } +func (o LookupOccurrenceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOccurrenceIamPolicyResult] { + return pulumix.Output[LookupOccurrenceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupOccurrenceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupOccurrenceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1/note.go b/sdk/go/google/containeranalysis/v1/note.go index ebbe2f5ec2..d11694f578 100644 --- a/sdk/go/google/containeranalysis/v1/note.go +++ b/sdk/go/google/containeranalysis/v1/note.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new note. @@ -215,6 +216,12 @@ func (i *Note) ToNoteOutputWithContext(ctx context.Context) NoteOutput { return pulumi.ToOutputWithContext(ctx, i).(NoteOutput) } +func (i *Note) ToOutput(ctx context.Context) pulumix.Output[*Note] { + return pulumix.Output[*Note]{ + OutputState: i.ToNoteOutputWithContext(ctx).OutputState, + } +} + type NoteOutput struct{ *pulumi.OutputState } func (NoteOutput) ElementType() reflect.Type { @@ -229,6 +236,12 @@ func (o NoteOutput) ToNoteOutputWithContext(ctx context.Context) NoteOutput { return o } +func (o NoteOutput) ToOutput(ctx context.Context) pulumix.Output[*Note] { + return pulumix.Output[*Note]{ + OutputState: o.OutputState, + } +} + // A note describing an attestation role. func (o NoteOutput) Attestation() AttestationNoteResponseOutput { return o.ApplyT(func(v *Note) AttestationNoteResponseOutput { return v.Attestation }).(AttestationNoteResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1/noteIamBinding.go b/sdk/go/google/containeranalysis/v1/noteIamBinding.go index 5652dbef41..739b2fa7ec 100644 --- a/sdk/go/google/containeranalysis/v1/noteIamBinding.go +++ b/sdk/go/google/containeranalysis/v1/noteIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -135,6 +136,12 @@ func (i *NoteIamBinding) ToNoteIamBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NoteIamBindingOutput) } +func (i *NoteIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NoteIamBinding] { + return pulumix.Output[*NoteIamBinding]{ + OutputState: i.ToNoteIamBindingOutputWithContext(ctx).OutputState, + } +} + type NoteIamBindingOutput struct{ *pulumi.OutputState } func (NoteIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NoteIamBindingOutput) ToNoteIamBindingOutputWithContext(ctx context.Cont return o } +func (o NoteIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NoteIamBinding] { + return pulumix.Output[*NoteIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NoteIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NoteIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1/noteIamMember.go b/sdk/go/google/containeranalysis/v1/noteIamMember.go index 3fdd8b512c..6801199d81 100644 --- a/sdk/go/google/containeranalysis/v1/noteIamMember.go +++ b/sdk/go/google/containeranalysis/v1/noteIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -135,6 +136,12 @@ func (i *NoteIamMember) ToNoteIamMemberOutputWithContext(ctx context.Context) No return pulumi.ToOutputWithContext(ctx, i).(NoteIamMemberOutput) } +func (i *NoteIamMember) ToOutput(ctx context.Context) pulumix.Output[*NoteIamMember] { + return pulumix.Output[*NoteIamMember]{ + OutputState: i.ToNoteIamMemberOutputWithContext(ctx).OutputState, + } +} + type NoteIamMemberOutput struct{ *pulumi.OutputState } func (NoteIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NoteIamMemberOutput) ToNoteIamMemberOutputWithContext(ctx context.Contex return o } +func (o NoteIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NoteIamMember] { + return pulumix.Output[*NoteIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NoteIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NoteIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1/noteIamPolicy.go b/sdk/go/google/containeranalysis/v1/noteIamPolicy.go index e18039ca8b..4965ac9c19 100644 --- a/sdk/go/google/containeranalysis/v1/noteIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1/noteIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -121,6 +122,12 @@ func (i *NoteIamPolicy) ToNoteIamPolicyOutputWithContext(ctx context.Context) No return pulumi.ToOutputWithContext(ctx, i).(NoteIamPolicyOutput) } +func (i *NoteIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NoteIamPolicy] { + return pulumix.Output[*NoteIamPolicy]{ + OutputState: i.ToNoteIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NoteIamPolicyOutput struct{ *pulumi.OutputState } func (NoteIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o NoteIamPolicyOutput) ToNoteIamPolicyOutputWithContext(ctx context.Contex return o } +func (o NoteIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NoteIamPolicy] { + return pulumix.Output[*NoteIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o NoteIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *NoteIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1/occurrence.go b/sdk/go/google/containeranalysis/v1/occurrence.go index 0b8abf96c3..99488514a2 100644 --- a/sdk/go/google/containeranalysis/v1/occurrence.go +++ b/sdk/go/google/containeranalysis/v1/occurrence.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new occurrence. @@ -199,6 +200,12 @@ func (i *Occurrence) ToOccurrenceOutputWithContext(ctx context.Context) Occurren return pulumi.ToOutputWithContext(ctx, i).(OccurrenceOutput) } +func (i *Occurrence) ToOutput(ctx context.Context) pulumix.Output[*Occurrence] { + return pulumix.Output[*Occurrence]{ + OutputState: i.ToOccurrenceOutputWithContext(ctx).OutputState, + } +} + type OccurrenceOutput struct{ *pulumi.OutputState } func (OccurrenceOutput) ElementType() reflect.Type { @@ -213,6 +220,12 @@ func (o OccurrenceOutput) ToOccurrenceOutputWithContext(ctx context.Context) Occ return o } +func (o OccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[*Occurrence] { + return pulumix.Output[*Occurrence]{ + OutputState: o.OutputState, + } +} + // Describes an attestation of an artifact. func (o OccurrenceOutput) Attestation() AttestationOccurrenceResponseOutput { return o.ApplyT(func(v *Occurrence) AttestationOccurrenceResponseOutput { return v.Attestation }).(AttestationOccurrenceResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1/occurrenceIamBinding.go b/sdk/go/google/containeranalysis/v1/occurrenceIamBinding.go index fce89a1ca8..b81cbe1fe0 100644 --- a/sdk/go/google/containeranalysis/v1/occurrenceIamBinding.go +++ b/sdk/go/google/containeranalysis/v1/occurrenceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -135,6 +136,12 @@ func (i *OccurrenceIamBinding) ToOccurrenceIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(OccurrenceIamBindingOutput) } +func (i *OccurrenceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamBinding] { + return pulumix.Output[*OccurrenceIamBinding]{ + OutputState: i.ToOccurrenceIamBindingOutputWithContext(ctx).OutputState, + } +} + type OccurrenceIamBindingOutput struct{ *pulumi.OutputState } func (OccurrenceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OccurrenceIamBindingOutput) ToOccurrenceIamBindingOutputWithContext(ctx return o } +func (o OccurrenceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamBinding] { + return pulumix.Output[*OccurrenceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OccurrenceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OccurrenceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1/occurrenceIamMember.go b/sdk/go/google/containeranalysis/v1/occurrenceIamMember.go index 01336c1479..ef43b98fbf 100644 --- a/sdk/go/google/containeranalysis/v1/occurrenceIamMember.go +++ b/sdk/go/google/containeranalysis/v1/occurrenceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -135,6 +136,12 @@ func (i *OccurrenceIamMember) ToOccurrenceIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(OccurrenceIamMemberOutput) } +func (i *OccurrenceIamMember) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamMember] { + return pulumix.Output[*OccurrenceIamMember]{ + OutputState: i.ToOccurrenceIamMemberOutputWithContext(ctx).OutputState, + } +} + type OccurrenceIamMemberOutput struct{ *pulumi.OutputState } func (OccurrenceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OccurrenceIamMemberOutput) ToOccurrenceIamMemberOutputWithContext(ctx co return o } +func (o OccurrenceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamMember] { + return pulumix.Output[*OccurrenceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OccurrenceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OccurrenceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1/occurrenceIamPolicy.go b/sdk/go/google/containeranalysis/v1/occurrenceIamPolicy.go index 9be88a6371..8f3cf0e8b2 100644 --- a/sdk/go/google/containeranalysis/v1/occurrenceIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1/occurrenceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -121,6 +122,12 @@ func (i *OccurrenceIamPolicy) ToOccurrenceIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(OccurrenceIamPolicyOutput) } +func (i *OccurrenceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamPolicy] { + return pulumix.Output[*OccurrenceIamPolicy]{ + OutputState: i.ToOccurrenceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OccurrenceIamPolicyOutput struct{ *pulumi.OutputState } func (OccurrenceIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o OccurrenceIamPolicyOutput) ToOccurrenceIamPolicyOutputWithContext(ctx co return o } +func (o OccurrenceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamPolicy] { + return pulumix.Output[*OccurrenceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o OccurrenceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *OccurrenceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1/pulumiEnums.go b/sdk/go/google/containeranalysis/v1/pulumiEnums.go index 64abdbe7e9..7fa39d6c3f 100644 --- a/sdk/go/google/containeranalysis/v1/pulumiEnums.go +++ b/sdk/go/google/containeranalysis/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The alias kind. @@ -84,6 +85,12 @@ func (o AliasContextKindOutput) ToAliasContextKindPtrOutputWithContext(ctx conte }).(AliasContextKindPtrOutput) } +func (o AliasContextKindOutput) ToOutput(ctx context.Context) pulumix.Output[AliasContextKind] { + return pulumix.Output[AliasContextKind]{ + OutputState: o.OutputState, + } +} + func (o AliasContextKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AliasContextKindPtrOutput) ToAliasContextKindPtrOutputWithContext(ctx co return o } +func (o AliasContextKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AliasContextKind] { + return pulumix.Output[*AliasContextKind]{ + OutputState: o.OutputState, + } +} + func (o AliasContextKindPtrOutput) Elem() AliasContextKindOutput { return o.ApplyT(func(v *AliasContextKind) AliasContextKind { if v != nil { @@ -181,6 +194,12 @@ func (in *aliasContextKindPtr) ToAliasContextKindPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AliasContextKindPtrOutput) } +func (in *aliasContextKindPtr) ToOutput(ctx context.Context) pulumix.Output[*AliasContextKind] { + return pulumix.Output[*AliasContextKind]{ + OutputState: in.ToAliasContextKindPtrOutputWithContext(ctx).OutputState, + } +} + // Provides the state of this Vulnerability assessment. type AssessmentState string @@ -257,6 +276,12 @@ func (o AssessmentStateOutput) ToAssessmentStatePtrOutputWithContext(ctx context }).(AssessmentStatePtrOutput) } +func (o AssessmentStateOutput) ToOutput(ctx context.Context) pulumix.Output[AssessmentState] { + return pulumix.Output[AssessmentState]{ + OutputState: o.OutputState, + } +} + func (o AssessmentStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -292,6 +317,12 @@ func (o AssessmentStatePtrOutput) ToAssessmentStatePtrOutputWithContext(ctx cont return o } +func (o AssessmentStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AssessmentState] { + return pulumix.Output[*AssessmentState]{ + OutputState: o.OutputState, + } +} + func (o AssessmentStatePtrOutput) Elem() AssessmentStateOutput { return o.ApplyT(func(v *AssessmentState) AssessmentState { if v != nil { @@ -354,6 +385,12 @@ func (in *assessmentStatePtr) ToAssessmentStatePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(AssessmentStatePtrOutput) } +func (in *assessmentStatePtr) ToOutput(ctx context.Context) pulumix.Output[*AssessmentState] { + return pulumix.Output[*AssessmentState]{ + OutputState: in.ToAssessmentStatePtrOutputWithContext(ctx).OutputState, + } +} + type CVSSAttackComplexity string const ( @@ -423,6 +460,12 @@ func (o CVSSAttackComplexityOutput) ToCVSSAttackComplexityPtrOutputWithContext(c }).(CVSSAttackComplexityPtrOutput) } +func (o CVSSAttackComplexityOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAttackComplexity] { + return pulumix.Output[CVSSAttackComplexity]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackComplexityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -458,6 +501,12 @@ func (o CVSSAttackComplexityPtrOutput) ToCVSSAttackComplexityPtrOutputWithContex return o } +func (o CVSSAttackComplexityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackComplexity] { + return pulumix.Output[*CVSSAttackComplexity]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackComplexityPtrOutput) Elem() CVSSAttackComplexityOutput { return o.ApplyT(func(v *CVSSAttackComplexity) CVSSAttackComplexity { if v != nil { @@ -520,6 +569,12 @@ func (in *cvssattackComplexityPtr) ToCVSSAttackComplexityPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(CVSSAttackComplexityPtrOutput) } +func (in *cvssattackComplexityPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackComplexity] { + return pulumix.Output[*CVSSAttackComplexity]{ + OutputState: in.ToCVSSAttackComplexityPtrOutputWithContext(ctx).OutputState, + } +} + // Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. type CVSSAttackVector string @@ -591,6 +646,12 @@ func (o CVSSAttackVectorOutput) ToCVSSAttackVectorPtrOutputWithContext(ctx conte }).(CVSSAttackVectorPtrOutput) } +func (o CVSSAttackVectorOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAttackVector] { + return pulumix.Output[CVSSAttackVector]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackVectorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o CVSSAttackVectorPtrOutput) ToCVSSAttackVectorPtrOutputWithContext(ctx co return o } +func (o CVSSAttackVectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackVector] { + return pulumix.Output[*CVSSAttackVector]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackVectorPtrOutput) Elem() CVSSAttackVectorOutput { return o.ApplyT(func(v *CVSSAttackVector) CVSSAttackVector { if v != nil { @@ -688,6 +755,12 @@ func (in *cvssattackVectorPtr) ToCVSSAttackVectorPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(CVSSAttackVectorPtrOutput) } +func (in *cvssattackVectorPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackVector] { + return pulumix.Output[*CVSSAttackVector]{ + OutputState: in.ToCVSSAttackVectorPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSAuthentication string const ( @@ -757,6 +830,12 @@ func (o CVSSAuthenticationOutput) ToCVSSAuthenticationPtrOutputWithContext(ctx c }).(CVSSAuthenticationPtrOutput) } +func (o CVSSAuthenticationOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAuthentication] { + return pulumix.Output[CVSSAuthentication]{ + OutputState: o.OutputState, + } +} + func (o CVSSAuthenticationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -792,6 +871,12 @@ func (o CVSSAuthenticationPtrOutput) ToCVSSAuthenticationPtrOutputWithContext(ct return o } +func (o CVSSAuthenticationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAuthentication] { + return pulumix.Output[*CVSSAuthentication]{ + OutputState: o.OutputState, + } +} + func (o CVSSAuthenticationPtrOutput) Elem() CVSSAuthenticationOutput { return o.ApplyT(func(v *CVSSAuthentication) CVSSAuthentication { if v != nil { @@ -854,6 +939,12 @@ func (in *cvssauthenticationPtr) ToCVSSAuthenticationPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(CVSSAuthenticationPtrOutput) } +func (in *cvssauthenticationPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAuthentication] { + return pulumix.Output[*CVSSAuthentication]{ + OutputState: in.ToCVSSAuthenticationPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSAvailabilityImpact string const ( @@ -925,6 +1016,12 @@ func (o CVSSAvailabilityImpactOutput) ToCVSSAvailabilityImpactPtrOutputWithConte }).(CVSSAvailabilityImpactPtrOutput) } +func (o CVSSAvailabilityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAvailabilityImpact] { + return pulumix.Output[CVSSAvailabilityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSAvailabilityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -960,6 +1057,12 @@ func (o CVSSAvailabilityImpactPtrOutput) ToCVSSAvailabilityImpactPtrOutputWithCo return o } +func (o CVSSAvailabilityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAvailabilityImpact] { + return pulumix.Output[*CVSSAvailabilityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSAvailabilityImpactPtrOutput) Elem() CVSSAvailabilityImpactOutput { return o.ApplyT(func(v *CVSSAvailabilityImpact) CVSSAvailabilityImpact { if v != nil { @@ -1022,6 +1125,12 @@ func (in *cvssavailabilityImpactPtr) ToCVSSAvailabilityImpactPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CVSSAvailabilityImpactPtrOutput) } +func (in *cvssavailabilityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAvailabilityImpact] { + return pulumix.Output[*CVSSAvailabilityImpact]{ + OutputState: in.ToCVSSAvailabilityImpactPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSConfidentialityImpact string const ( @@ -1093,6 +1202,12 @@ func (o CVSSConfidentialityImpactOutput) ToCVSSConfidentialityImpactPtrOutputWit }).(CVSSConfidentialityImpactPtrOutput) } +func (o CVSSConfidentialityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSConfidentialityImpact] { + return pulumix.Output[CVSSConfidentialityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSConfidentialityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1128,6 +1243,12 @@ func (o CVSSConfidentialityImpactPtrOutput) ToCVSSConfidentialityImpactPtrOutput return o } +func (o CVSSConfidentialityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSConfidentialityImpact] { + return pulumix.Output[*CVSSConfidentialityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSConfidentialityImpactPtrOutput) Elem() CVSSConfidentialityImpactOutput { return o.ApplyT(func(v *CVSSConfidentialityImpact) CVSSConfidentialityImpact { if v != nil { @@ -1190,6 +1311,12 @@ func (in *cvssconfidentialityImpactPtr) ToCVSSConfidentialityImpactPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(CVSSConfidentialityImpactPtrOutput) } +func (in *cvssconfidentialityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSConfidentialityImpact] { + return pulumix.Output[*CVSSConfidentialityImpact]{ + OutputState: in.ToCVSSConfidentialityImpactPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSIntegrityImpact string const ( @@ -1261,6 +1388,12 @@ func (o CVSSIntegrityImpactOutput) ToCVSSIntegrityImpactPtrOutputWithContext(ctx }).(CVSSIntegrityImpactPtrOutput) } +func (o CVSSIntegrityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSIntegrityImpact] { + return pulumix.Output[CVSSIntegrityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSIntegrityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1296,6 +1429,12 @@ func (o CVSSIntegrityImpactPtrOutput) ToCVSSIntegrityImpactPtrOutputWithContext( return o } +func (o CVSSIntegrityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSIntegrityImpact] { + return pulumix.Output[*CVSSIntegrityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSIntegrityImpactPtrOutput) Elem() CVSSIntegrityImpactOutput { return o.ApplyT(func(v *CVSSIntegrityImpact) CVSSIntegrityImpact { if v != nil { @@ -1358,6 +1497,12 @@ func (in *cvssintegrityImpactPtr) ToCVSSIntegrityImpactPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(CVSSIntegrityImpactPtrOutput) } +func (in *cvssintegrityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSIntegrityImpact] { + return pulumix.Output[*CVSSIntegrityImpact]{ + OutputState: in.ToCVSSIntegrityImpactPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSPrivilegesRequired string const ( @@ -1427,6 +1572,12 @@ func (o CVSSPrivilegesRequiredOutput) ToCVSSPrivilegesRequiredPtrOutputWithConte }).(CVSSPrivilegesRequiredPtrOutput) } +func (o CVSSPrivilegesRequiredOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSPrivilegesRequired] { + return pulumix.Output[CVSSPrivilegesRequired]{ + OutputState: o.OutputState, + } +} + func (o CVSSPrivilegesRequiredOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1462,6 +1613,12 @@ func (o CVSSPrivilegesRequiredPtrOutput) ToCVSSPrivilegesRequiredPtrOutputWithCo return o } +func (o CVSSPrivilegesRequiredPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSPrivilegesRequired] { + return pulumix.Output[*CVSSPrivilegesRequired]{ + OutputState: o.OutputState, + } +} + func (o CVSSPrivilegesRequiredPtrOutput) Elem() CVSSPrivilegesRequiredOutput { return o.ApplyT(func(v *CVSSPrivilegesRequired) CVSSPrivilegesRequired { if v != nil { @@ -1524,6 +1681,12 @@ func (in *cvssprivilegesRequiredPtr) ToCVSSPrivilegesRequiredPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CVSSPrivilegesRequiredPtrOutput) } +func (in *cvssprivilegesRequiredPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSPrivilegesRequired] { + return pulumix.Output[*CVSSPrivilegesRequired]{ + OutputState: in.ToCVSSPrivilegesRequiredPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSScope string const ( @@ -1592,6 +1755,12 @@ func (o CVSSScopeOutput) ToCVSSScopePtrOutputWithContext(ctx context.Context) CV }).(CVSSScopePtrOutput) } +func (o CVSSScopeOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSScope] { + return pulumix.Output[CVSSScope]{ + OutputState: o.OutputState, + } +} + func (o CVSSScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1627,6 +1796,12 @@ func (o CVSSScopePtrOutput) ToCVSSScopePtrOutputWithContext(ctx context.Context) return o } +func (o CVSSScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSScope] { + return pulumix.Output[*CVSSScope]{ + OutputState: o.OutputState, + } +} + func (o CVSSScopePtrOutput) Elem() CVSSScopeOutput { return o.ApplyT(func(v *CVSSScope) CVSSScope { if v != nil { @@ -1689,6 +1864,12 @@ func (in *cvssscopePtr) ToCVSSScopePtrOutputWithContext(ctx context.Context) CVS return pulumi.ToOutputWithContext(ctx, in).(CVSSScopePtrOutput) } +func (in *cvssscopePtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSScope] { + return pulumix.Output[*CVSSScope]{ + OutputState: in.ToCVSSScopePtrOutputWithContext(ctx).OutputState, + } +} + type CVSSUserInteraction string const ( @@ -1757,6 +1938,12 @@ func (o CVSSUserInteractionOutput) ToCVSSUserInteractionPtrOutputWithContext(ctx }).(CVSSUserInteractionPtrOutput) } +func (o CVSSUserInteractionOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSUserInteraction] { + return pulumix.Output[CVSSUserInteraction]{ + OutputState: o.OutputState, + } +} + func (o CVSSUserInteractionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1792,6 +1979,12 @@ func (o CVSSUserInteractionPtrOutput) ToCVSSUserInteractionPtrOutputWithContext( return o } +func (o CVSSUserInteractionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSUserInteraction] { + return pulumix.Output[*CVSSUserInteraction]{ + OutputState: o.OutputState, + } +} + func (o CVSSUserInteractionPtrOutput) Elem() CVSSUserInteractionOutput { return o.ApplyT(func(v *CVSSUserInteraction) CVSSUserInteraction { if v != nil { @@ -1854,6 +2047,12 @@ func (in *cvssuserInteractionPtr) ToCVSSUserInteractionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(CVSSUserInteractionPtrOutput) } +func (in *cvssuserInteractionPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSUserInteraction] { + return pulumix.Output[*CVSSUserInteraction]{ + OutputState: in.ToCVSSUserInteractionPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3AttackComplexity string const ( @@ -1922,6 +2121,12 @@ func (o CVSSv3AttackComplexityOutput) ToCVSSv3AttackComplexityPtrOutputWithConte }).(CVSSv3AttackComplexityPtrOutput) } +func (o CVSSv3AttackComplexityOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3AttackComplexity] { + return pulumix.Output[CVSSv3AttackComplexity]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AttackComplexityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1957,6 +2162,12 @@ func (o CVSSv3AttackComplexityPtrOutput) ToCVSSv3AttackComplexityPtrOutputWithCo return o } +func (o CVSSv3AttackComplexityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AttackComplexity] { + return pulumix.Output[*CVSSv3AttackComplexity]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AttackComplexityPtrOutput) Elem() CVSSv3AttackComplexityOutput { return o.ApplyT(func(v *CVSSv3AttackComplexity) CVSSv3AttackComplexity { if v != nil { @@ -2019,6 +2230,12 @@ func (in *cvssv3AttackComplexityPtr) ToCVSSv3AttackComplexityPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CVSSv3AttackComplexityPtrOutput) } +func (in *cvssv3AttackComplexityPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AttackComplexity] { + return pulumix.Output[*CVSSv3AttackComplexity]{ + OutputState: in.ToCVSSv3AttackComplexityPtrOutputWithContext(ctx).OutputState, + } +} + // Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. type CVSSv3AttackVector string @@ -2090,6 +2307,12 @@ func (o CVSSv3AttackVectorOutput) ToCVSSv3AttackVectorPtrOutputWithContext(ctx c }).(CVSSv3AttackVectorPtrOutput) } +func (o CVSSv3AttackVectorOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3AttackVector] { + return pulumix.Output[CVSSv3AttackVector]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AttackVectorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2125,6 +2348,12 @@ func (o CVSSv3AttackVectorPtrOutput) ToCVSSv3AttackVectorPtrOutputWithContext(ct return o } +func (o CVSSv3AttackVectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AttackVector] { + return pulumix.Output[*CVSSv3AttackVector]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AttackVectorPtrOutput) Elem() CVSSv3AttackVectorOutput { return o.ApplyT(func(v *CVSSv3AttackVector) CVSSv3AttackVector { if v != nil { @@ -2187,6 +2416,12 @@ func (in *cvssv3AttackVectorPtr) ToCVSSv3AttackVectorPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(CVSSv3AttackVectorPtrOutput) } +func (in *cvssv3AttackVectorPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AttackVector] { + return pulumix.Output[*CVSSv3AttackVector]{ + OutputState: in.ToCVSSv3AttackVectorPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3AvailabilityImpact string const ( @@ -2256,6 +2491,12 @@ func (o CVSSv3AvailabilityImpactOutput) ToCVSSv3AvailabilityImpactPtrOutputWithC }).(CVSSv3AvailabilityImpactPtrOutput) } +func (o CVSSv3AvailabilityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3AvailabilityImpact] { + return pulumix.Output[CVSSv3AvailabilityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AvailabilityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2291,6 +2532,12 @@ func (o CVSSv3AvailabilityImpactPtrOutput) ToCVSSv3AvailabilityImpactPtrOutputWi return o } +func (o CVSSv3AvailabilityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AvailabilityImpact] { + return pulumix.Output[*CVSSv3AvailabilityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AvailabilityImpactPtrOutput) Elem() CVSSv3AvailabilityImpactOutput { return o.ApplyT(func(v *CVSSv3AvailabilityImpact) CVSSv3AvailabilityImpact { if v != nil { @@ -2353,6 +2600,12 @@ func (in *cvssv3AvailabilityImpactPtr) ToCVSSv3AvailabilityImpactPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(CVSSv3AvailabilityImpactPtrOutput) } +func (in *cvssv3AvailabilityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AvailabilityImpact] { + return pulumix.Output[*CVSSv3AvailabilityImpact]{ + OutputState: in.ToCVSSv3AvailabilityImpactPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3ConfidentialityImpact string const ( @@ -2422,6 +2675,12 @@ func (o CVSSv3ConfidentialityImpactOutput) ToCVSSv3ConfidentialityImpactPtrOutpu }).(CVSSv3ConfidentialityImpactPtrOutput) } +func (o CVSSv3ConfidentialityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3ConfidentialityImpact] { + return pulumix.Output[CVSSv3ConfidentialityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3ConfidentialityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2457,6 +2716,12 @@ func (o CVSSv3ConfidentialityImpactPtrOutput) ToCVSSv3ConfidentialityImpactPtrOu return o } +func (o CVSSv3ConfidentialityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3ConfidentialityImpact] { + return pulumix.Output[*CVSSv3ConfidentialityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3ConfidentialityImpactPtrOutput) Elem() CVSSv3ConfidentialityImpactOutput { return o.ApplyT(func(v *CVSSv3ConfidentialityImpact) CVSSv3ConfidentialityImpact { if v != nil { @@ -2519,6 +2784,12 @@ func (in *cvssv3ConfidentialityImpactPtr) ToCVSSv3ConfidentialityImpactPtrOutput return pulumi.ToOutputWithContext(ctx, in).(CVSSv3ConfidentialityImpactPtrOutput) } +func (in *cvssv3ConfidentialityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3ConfidentialityImpact] { + return pulumix.Output[*CVSSv3ConfidentialityImpact]{ + OutputState: in.ToCVSSv3ConfidentialityImpactPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3IntegrityImpact string const ( @@ -2588,6 +2859,12 @@ func (o CVSSv3IntegrityImpactOutput) ToCVSSv3IntegrityImpactPtrOutputWithContext }).(CVSSv3IntegrityImpactPtrOutput) } +func (o CVSSv3IntegrityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3IntegrityImpact] { + return pulumix.Output[CVSSv3IntegrityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3IntegrityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2623,6 +2900,12 @@ func (o CVSSv3IntegrityImpactPtrOutput) ToCVSSv3IntegrityImpactPtrOutputWithCont return o } +func (o CVSSv3IntegrityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3IntegrityImpact] { + return pulumix.Output[*CVSSv3IntegrityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3IntegrityImpactPtrOutput) Elem() CVSSv3IntegrityImpactOutput { return o.ApplyT(func(v *CVSSv3IntegrityImpact) CVSSv3IntegrityImpact { if v != nil { @@ -2685,6 +2968,12 @@ func (in *cvssv3IntegrityImpactPtr) ToCVSSv3IntegrityImpactPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(CVSSv3IntegrityImpactPtrOutput) } +func (in *cvssv3IntegrityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3IntegrityImpact] { + return pulumix.Output[*CVSSv3IntegrityImpact]{ + OutputState: in.ToCVSSv3IntegrityImpactPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3PrivilegesRequired string const ( @@ -2754,6 +3043,12 @@ func (o CVSSv3PrivilegesRequiredOutput) ToCVSSv3PrivilegesRequiredPtrOutputWithC }).(CVSSv3PrivilegesRequiredPtrOutput) } +func (o CVSSv3PrivilegesRequiredOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3PrivilegesRequired] { + return pulumix.Output[CVSSv3PrivilegesRequired]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3PrivilegesRequiredOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2789,6 +3084,12 @@ func (o CVSSv3PrivilegesRequiredPtrOutput) ToCVSSv3PrivilegesRequiredPtrOutputWi return o } +func (o CVSSv3PrivilegesRequiredPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3PrivilegesRequired] { + return pulumix.Output[*CVSSv3PrivilegesRequired]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3PrivilegesRequiredPtrOutput) Elem() CVSSv3PrivilegesRequiredOutput { return o.ApplyT(func(v *CVSSv3PrivilegesRequired) CVSSv3PrivilegesRequired { if v != nil { @@ -2851,6 +3152,12 @@ func (in *cvssv3PrivilegesRequiredPtr) ToCVSSv3PrivilegesRequiredPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(CVSSv3PrivilegesRequiredPtrOutput) } +func (in *cvssv3PrivilegesRequiredPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3PrivilegesRequired] { + return pulumix.Output[*CVSSv3PrivilegesRequired]{ + OutputState: in.ToCVSSv3PrivilegesRequiredPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3Scope string const ( @@ -2919,6 +3226,12 @@ func (o CVSSv3ScopeOutput) ToCVSSv3ScopePtrOutputWithContext(ctx context.Context }).(CVSSv3ScopePtrOutput) } +func (o CVSSv3ScopeOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3Scope] { + return pulumix.Output[CVSSv3Scope]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3ScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2954,6 +3267,12 @@ func (o CVSSv3ScopePtrOutput) ToCVSSv3ScopePtrOutputWithContext(ctx context.Cont return o } +func (o CVSSv3ScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3Scope] { + return pulumix.Output[*CVSSv3Scope]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3ScopePtrOutput) Elem() CVSSv3ScopeOutput { return o.ApplyT(func(v *CVSSv3Scope) CVSSv3Scope { if v != nil { @@ -3016,6 +3335,12 @@ func (in *cvssv3ScopePtr) ToCVSSv3ScopePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(CVSSv3ScopePtrOutput) } +func (in *cvssv3ScopePtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3Scope] { + return pulumix.Output[*CVSSv3Scope]{ + OutputState: in.ToCVSSv3ScopePtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3UserInteraction string const ( @@ -3084,6 +3409,12 @@ func (o CVSSv3UserInteractionOutput) ToCVSSv3UserInteractionPtrOutputWithContext }).(CVSSv3UserInteractionPtrOutput) } +func (o CVSSv3UserInteractionOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3UserInteraction] { + return pulumix.Output[CVSSv3UserInteraction]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3UserInteractionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3119,6 +3450,12 @@ func (o CVSSv3UserInteractionPtrOutput) ToCVSSv3UserInteractionPtrOutputWithCont return o } +func (o CVSSv3UserInteractionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3UserInteraction] { + return pulumix.Output[*CVSSv3UserInteraction]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3UserInteractionPtrOutput) Elem() CVSSv3UserInteractionOutput { return o.ApplyT(func(v *CVSSv3UserInteraction) CVSSv3UserInteraction { if v != nil { @@ -3181,6 +3518,12 @@ func (in *cvssv3UserInteractionPtr) ToCVSSv3UserInteractionPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(CVSSv3UserInteractionPtrOutput) } +func (in *cvssv3UserInteractionPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3UserInteraction] { + return pulumix.Output[*CVSSv3UserInteraction]{ + OutputState: in.ToCVSSv3UserInteractionPtrOutputWithContext(ctx).OutputState, + } +} + type CisBenchmarkSeverity string const ( @@ -3258,6 +3601,12 @@ func (o CisBenchmarkSeverityOutput) ToCisBenchmarkSeverityPtrOutputWithContext(c }).(CisBenchmarkSeverityPtrOutput) } +func (o CisBenchmarkSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[CisBenchmarkSeverity] { + return pulumix.Output[CisBenchmarkSeverity]{ + OutputState: o.OutputState, + } +} + func (o CisBenchmarkSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3293,6 +3642,12 @@ func (o CisBenchmarkSeverityPtrOutput) ToCisBenchmarkSeverityPtrOutputWithContex return o } +func (o CisBenchmarkSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CisBenchmarkSeverity] { + return pulumix.Output[*CisBenchmarkSeverity]{ + OutputState: o.OutputState, + } +} + func (o CisBenchmarkSeverityPtrOutput) Elem() CisBenchmarkSeverityOutput { return o.ApplyT(func(v *CisBenchmarkSeverity) CisBenchmarkSeverity { if v != nil { @@ -3355,6 +3710,12 @@ func (in *cisBenchmarkSeverityPtr) ToCisBenchmarkSeverityPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(CisBenchmarkSeverityPtrOutput) } +func (in *cisBenchmarkSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*CisBenchmarkSeverity] { + return pulumix.Output[*CisBenchmarkSeverity]{ + OutputState: in.ToCisBenchmarkSeverityPtrOutputWithContext(ctx).OutputState, + } +} + // Platform hosting this deployment. type DeploymentOccurrencePlatform string @@ -3429,6 +3790,12 @@ func (o DeploymentOccurrencePlatformOutput) ToDeploymentOccurrencePlatformPtrOut }).(DeploymentOccurrencePlatformPtrOutput) } +func (o DeploymentOccurrencePlatformOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentOccurrencePlatform] { + return pulumix.Output[DeploymentOccurrencePlatform]{ + OutputState: o.OutputState, + } +} + func (o DeploymentOccurrencePlatformOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3464,6 +3831,12 @@ func (o DeploymentOccurrencePlatformPtrOutput) ToDeploymentOccurrencePlatformPtr return o } +func (o DeploymentOccurrencePlatformPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentOccurrencePlatform] { + return pulumix.Output[*DeploymentOccurrencePlatform]{ + OutputState: o.OutputState, + } +} + func (o DeploymentOccurrencePlatformPtrOutput) Elem() DeploymentOccurrencePlatformOutput { return o.ApplyT(func(v *DeploymentOccurrencePlatform) DeploymentOccurrencePlatform { if v != nil { @@ -3526,6 +3899,12 @@ func (in *deploymentOccurrencePlatformPtr) ToDeploymentOccurrencePlatformPtrOutp return pulumi.ToOutputWithContext(ctx, in).(DeploymentOccurrencePlatformPtrOutput) } +func (in *deploymentOccurrencePlatformPtr) ToOutput(ctx context.Context) pulumix.Output[*DeploymentOccurrencePlatform] { + return pulumix.Output[*DeploymentOccurrencePlatform]{ + OutputState: in.ToDeploymentOccurrencePlatformPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The kind of analysis that is handled by this discovery. type DiscoveryNoteAnalysisKind string @@ -3618,6 +3997,12 @@ func (o DiscoveryNoteAnalysisKindOutput) ToDiscoveryNoteAnalysisKindPtrOutputWit }).(DiscoveryNoteAnalysisKindPtrOutput) } +func (o DiscoveryNoteAnalysisKindOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryNoteAnalysisKind] { + return pulumix.Output[DiscoveryNoteAnalysisKind]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryNoteAnalysisKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3653,6 +4038,12 @@ func (o DiscoveryNoteAnalysisKindPtrOutput) ToDiscoveryNoteAnalysisKindPtrOutput return o } +func (o DiscoveryNoteAnalysisKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryNoteAnalysisKind] { + return pulumix.Output[*DiscoveryNoteAnalysisKind]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryNoteAnalysisKindPtrOutput) Elem() DiscoveryNoteAnalysisKindOutput { return o.ApplyT(func(v *DiscoveryNoteAnalysisKind) DiscoveryNoteAnalysisKind { if v != nil { @@ -3715,6 +4106,12 @@ func (in *discoveryNoteAnalysisKindPtr) ToDiscoveryNoteAnalysisKindPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(DiscoveryNoteAnalysisKindPtrOutput) } +func (in *discoveryNoteAnalysisKindPtr) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryNoteAnalysisKind] { + return pulumix.Output[*DiscoveryNoteAnalysisKind]{ + OutputState: in.ToDiscoveryNoteAnalysisKindPtrOutputWithContext(ctx).OutputState, + } +} + // The status of discovery for the resource. type DiscoveryOccurrenceAnalysisStatus string @@ -3795,6 +4192,12 @@ func (o DiscoveryOccurrenceAnalysisStatusOutput) ToDiscoveryOccurrenceAnalysisSt }).(DiscoveryOccurrenceAnalysisStatusPtrOutput) } +func (o DiscoveryOccurrenceAnalysisStatusOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryOccurrenceAnalysisStatus] { + return pulumix.Output[DiscoveryOccurrenceAnalysisStatus]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryOccurrenceAnalysisStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3830,6 +4233,12 @@ func (o DiscoveryOccurrenceAnalysisStatusPtrOutput) ToDiscoveryOccurrenceAnalysi return o } +func (o DiscoveryOccurrenceAnalysisStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryOccurrenceAnalysisStatus] { + return pulumix.Output[*DiscoveryOccurrenceAnalysisStatus]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryOccurrenceAnalysisStatusPtrOutput) Elem() DiscoveryOccurrenceAnalysisStatusOutput { return o.ApplyT(func(v *DiscoveryOccurrenceAnalysisStatus) DiscoveryOccurrenceAnalysisStatus { if v != nil { @@ -3892,6 +4301,12 @@ func (in *discoveryOccurrenceAnalysisStatusPtr) ToDiscoveryOccurrenceAnalysisSta return pulumi.ToOutputWithContext(ctx, in).(DiscoveryOccurrenceAnalysisStatusPtrOutput) } +func (in *discoveryOccurrenceAnalysisStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryOccurrenceAnalysisStatus] { + return pulumix.Output[*DiscoveryOccurrenceAnalysisStatus]{ + OutputState: in.ToDiscoveryOccurrenceAnalysisStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Whether the resource is continuously analyzed. type DiscoveryOccurrenceContinuousAnalysis string @@ -3964,6 +4379,12 @@ func (o DiscoveryOccurrenceContinuousAnalysisOutput) ToDiscoveryOccurrenceContin }).(DiscoveryOccurrenceContinuousAnalysisPtrOutput) } +func (o DiscoveryOccurrenceContinuousAnalysisOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryOccurrenceContinuousAnalysis] { + return pulumix.Output[DiscoveryOccurrenceContinuousAnalysis]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryOccurrenceContinuousAnalysisOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3999,6 +4420,12 @@ func (o DiscoveryOccurrenceContinuousAnalysisPtrOutput) ToDiscoveryOccurrenceCon return o } +func (o DiscoveryOccurrenceContinuousAnalysisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryOccurrenceContinuousAnalysis] { + return pulumix.Output[*DiscoveryOccurrenceContinuousAnalysis]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryOccurrenceContinuousAnalysisPtrOutput) Elem() DiscoveryOccurrenceContinuousAnalysisOutput { return o.ApplyT(func(v *DiscoveryOccurrenceContinuousAnalysis) DiscoveryOccurrenceContinuousAnalysis { if v != nil { @@ -4061,6 +4488,12 @@ func (in *discoveryOccurrenceContinuousAnalysisPtr) ToDiscoveryOccurrenceContinu return pulumi.ToOutputWithContext(ctx, in).(DiscoveryOccurrenceContinuousAnalysisPtrOutput) } +func (in *discoveryOccurrenceContinuousAnalysisPtr) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryOccurrenceContinuousAnalysis] { + return pulumix.Output[*DiscoveryOccurrenceContinuousAnalysis]{ + OutputState: in.ToDiscoveryOccurrenceContinuousAnalysisPtrOutputWithContext(ctx).OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. type DistributionArchitecture string @@ -4133,6 +4566,12 @@ func (o DistributionArchitectureOutput) ToDistributionArchitecturePtrOutputWithC }).(DistributionArchitecturePtrOutput) } +func (o DistributionArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionArchitecture] { + return pulumix.Output[DistributionArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DistributionArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4168,6 +4607,12 @@ func (o DistributionArchitecturePtrOutput) ToDistributionArchitecturePtrOutputWi return o } +func (o DistributionArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DistributionArchitecture] { + return pulumix.Output[*DistributionArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DistributionArchitecturePtrOutput) Elem() DistributionArchitectureOutput { return o.ApplyT(func(v *DistributionArchitecture) DistributionArchitecture { if v != nil { @@ -4230,6 +4675,12 @@ func (in *distributionArchitecturePtr) ToDistributionArchitecturePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DistributionArchitecturePtrOutput) } +func (in *distributionArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*DistributionArchitecture] { + return pulumix.Output[*DistributionArchitecture]{ + OutputState: in.ToDistributionArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // The justification type for this vulnerability. type JustificationJustificationType string @@ -4308,6 +4759,12 @@ func (o JustificationJustificationTypeOutput) ToJustificationJustificationTypePt }).(JustificationJustificationTypePtrOutput) } +func (o JustificationJustificationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[JustificationJustificationType] { + return pulumix.Output[JustificationJustificationType]{ + OutputState: o.OutputState, + } +} + func (o JustificationJustificationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4343,6 +4800,12 @@ func (o JustificationJustificationTypePtrOutput) ToJustificationJustificationTyp return o } +func (o JustificationJustificationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JustificationJustificationType] { + return pulumix.Output[*JustificationJustificationType]{ + OutputState: o.OutputState, + } +} + func (o JustificationJustificationTypePtrOutput) Elem() JustificationJustificationTypeOutput { return o.ApplyT(func(v *JustificationJustificationType) JustificationJustificationType { if v != nil { @@ -4405,6 +4868,12 @@ func (in *justificationJustificationTypePtr) ToJustificationJustificationTypePtr return pulumi.ToOutputWithContext(ctx, in).(JustificationJustificationTypePtrOutput) } +func (in *justificationJustificationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*JustificationJustificationType] { + return pulumix.Output[*JustificationJustificationType]{ + OutputState: in.ToJustificationJustificationTypePtrOutputWithContext(ctx).OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. type PackageNoteArchitecture string @@ -4477,6 +4946,12 @@ func (o PackageNoteArchitectureOutput) ToPackageNoteArchitecturePtrOutputWithCon }).(PackageNoteArchitecturePtrOutput) } +func (o PackageNoteArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[PackageNoteArchitecture] { + return pulumix.Output[PackageNoteArchitecture]{ + OutputState: o.OutputState, + } +} + func (o PackageNoteArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4512,6 +4987,12 @@ func (o PackageNoteArchitecturePtrOutput) ToPackageNoteArchitecturePtrOutputWith return o } +func (o PackageNoteArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageNoteArchitecture] { + return pulumix.Output[*PackageNoteArchitecture]{ + OutputState: o.OutputState, + } +} + func (o PackageNoteArchitecturePtrOutput) Elem() PackageNoteArchitectureOutput { return o.ApplyT(func(v *PackageNoteArchitecture) PackageNoteArchitecture { if v != nil { @@ -4574,6 +5055,12 @@ func (in *packageNoteArchitecturePtr) ToPackageNoteArchitecturePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(PackageNoteArchitecturePtrOutput) } +func (in *packageNoteArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*PackageNoteArchitecture] { + return pulumix.Output[*PackageNoteArchitecture]{ + OutputState: in.ToPackageNoteArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // The type of remediation that can be applied. type RemediationRemediationType string @@ -4652,6 +5139,12 @@ func (o RemediationRemediationTypeOutput) ToRemediationRemediationTypePtrOutputW }).(RemediationRemediationTypePtrOutput) } +func (o RemediationRemediationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RemediationRemediationType] { + return pulumix.Output[RemediationRemediationType]{ + OutputState: o.OutputState, + } +} + func (o RemediationRemediationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4687,6 +5180,12 @@ func (o RemediationRemediationTypePtrOutput) ToRemediationRemediationTypePtrOutp return o } +func (o RemediationRemediationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RemediationRemediationType] { + return pulumix.Output[*RemediationRemediationType]{ + OutputState: o.OutputState, + } +} + func (o RemediationRemediationTypePtrOutput) Elem() RemediationRemediationTypeOutput { return o.ApplyT(func(v *RemediationRemediationType) RemediationRemediationType { if v != nil { @@ -4749,6 +5248,12 @@ func (in *remediationRemediationTypePtr) ToRemediationRemediationTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RemediationRemediationTypePtrOutput) } +func (in *remediationRemediationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RemediationRemediationType] { + return pulumix.Output[*RemediationRemediationType]{ + OutputState: in.ToRemediationRemediationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Distinguishes between sentinel MIN/MAX versions and normal versions. type VersionKind string @@ -4823,6 +5328,12 @@ func (o VersionKindOutput) ToVersionKindPtrOutputWithContext(ctx context.Context }).(VersionKindPtrOutput) } +func (o VersionKindOutput) ToOutput(ctx context.Context) pulumix.Output[VersionKind] { + return pulumix.Output[VersionKind]{ + OutputState: o.OutputState, + } +} + func (o VersionKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4858,6 +5369,12 @@ func (o VersionKindPtrOutput) ToVersionKindPtrOutputWithContext(ctx context.Cont return o } +func (o VersionKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionKind] { + return pulumix.Output[*VersionKind]{ + OutputState: o.OutputState, + } +} + func (o VersionKindPtrOutput) Elem() VersionKindOutput { return o.ApplyT(func(v *VersionKind) VersionKind { if v != nil { @@ -4920,6 +5437,12 @@ func (in *versionKindPtr) ToVersionKindPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(VersionKindPtrOutput) } +func (in *versionKindPtr) ToOutput(ctx context.Context) pulumix.Output[*VersionKind] { + return pulumix.Output[*VersionKind]{ + OutputState: in.ToVersionKindPtrOutputWithContext(ctx).OutputState, + } +} + // Provides the state of this Vulnerability assessment. type VexAssessmentState string @@ -4996,6 +5519,12 @@ func (o VexAssessmentStateOutput) ToVexAssessmentStatePtrOutputWithContext(ctx c }).(VexAssessmentStatePtrOutput) } +func (o VexAssessmentStateOutput) ToOutput(ctx context.Context) pulumix.Output[VexAssessmentState] { + return pulumix.Output[VexAssessmentState]{ + OutputState: o.OutputState, + } +} + func (o VexAssessmentStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5031,6 +5560,12 @@ func (o VexAssessmentStatePtrOutput) ToVexAssessmentStatePtrOutputWithContext(ct return o } +func (o VexAssessmentStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VexAssessmentState] { + return pulumix.Output[*VexAssessmentState]{ + OutputState: o.OutputState, + } +} + func (o VexAssessmentStatePtrOutput) Elem() VexAssessmentStateOutput { return o.ApplyT(func(v *VexAssessmentState) VexAssessmentState { if v != nil { @@ -5093,6 +5628,12 @@ func (in *vexAssessmentStatePtr) ToVexAssessmentStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(VexAssessmentStatePtrOutput) } +func (in *vexAssessmentStatePtr) ToOutput(ctx context.Context) pulumix.Output[*VexAssessmentState] { + return pulumix.Output[*VexAssessmentState]{ + OutputState: in.ToVexAssessmentStatePtrOutputWithContext(ctx).OutputState, + } +} + // CVSS version used to populate cvss_score and severity. type VulnerabilityNoteCvssVersion string @@ -5162,6 +5703,12 @@ func (o VulnerabilityNoteCvssVersionOutput) ToVulnerabilityNoteCvssVersionPtrOut }).(VulnerabilityNoteCvssVersionPtrOutput) } +func (o VulnerabilityNoteCvssVersionOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityNoteCvssVersion] { + return pulumix.Output[VulnerabilityNoteCvssVersion]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityNoteCvssVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5197,6 +5744,12 @@ func (o VulnerabilityNoteCvssVersionPtrOutput) ToVulnerabilityNoteCvssVersionPtr return o } +func (o VulnerabilityNoteCvssVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityNoteCvssVersion] { + return pulumix.Output[*VulnerabilityNoteCvssVersion]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityNoteCvssVersionPtrOutput) Elem() VulnerabilityNoteCvssVersionOutput { return o.ApplyT(func(v *VulnerabilityNoteCvssVersion) VulnerabilityNoteCvssVersion { if v != nil { @@ -5259,6 +5812,12 @@ func (in *vulnerabilityNoteCvssVersionPtr) ToVulnerabilityNoteCvssVersionPtrOutp return pulumi.ToOutputWithContext(ctx, in).(VulnerabilityNoteCvssVersionPtrOutput) } +func (in *vulnerabilityNoteCvssVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityNoteCvssVersion] { + return pulumix.Output[*VulnerabilityNoteCvssVersion]{ + OutputState: in.ToVulnerabilityNoteCvssVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The note provider assigned severity of this vulnerability. type VulnerabilityNoteSeverity string @@ -5337,6 +5896,12 @@ func (o VulnerabilityNoteSeverityOutput) ToVulnerabilityNoteSeverityPtrOutputWit }).(VulnerabilityNoteSeverityPtrOutput) } +func (o VulnerabilityNoteSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityNoteSeverity] { + return pulumix.Output[VulnerabilityNoteSeverity]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityNoteSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5372,6 +5937,12 @@ func (o VulnerabilityNoteSeverityPtrOutput) ToVulnerabilityNoteSeverityPtrOutput return o } +func (o VulnerabilityNoteSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityNoteSeverity] { + return pulumix.Output[*VulnerabilityNoteSeverity]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityNoteSeverityPtrOutput) Elem() VulnerabilityNoteSeverityOutput { return o.ApplyT(func(v *VulnerabilityNoteSeverity) VulnerabilityNoteSeverity { if v != nil { @@ -5434,6 +6005,12 @@ func (in *vulnerabilityNoteSeverityPtr) ToVulnerabilityNoteSeverityPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(VulnerabilityNoteSeverityPtrOutput) } +func (in *vulnerabilityNoteSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityNoteSeverity] { + return pulumix.Output[*VulnerabilityNoteSeverity]{ + OutputState: in.ToVulnerabilityNoteSeverityPtrOutputWithContext(ctx).OutputState, + } +} + // The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. type VulnerabilityOccurrenceEffectiveSeverity string @@ -5512,6 +6089,12 @@ func (o VulnerabilityOccurrenceEffectiveSeverityOutput) ToVulnerabilityOccurrenc }).(VulnerabilityOccurrenceEffectiveSeverityPtrOutput) } +func (o VulnerabilityOccurrenceEffectiveSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityOccurrenceEffectiveSeverity] { + return pulumix.Output[VulnerabilityOccurrenceEffectiveSeverity]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityOccurrenceEffectiveSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5547,6 +6130,12 @@ func (o VulnerabilityOccurrenceEffectiveSeverityPtrOutput) ToVulnerabilityOccurr return o } +func (o VulnerabilityOccurrenceEffectiveSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityOccurrenceEffectiveSeverity] { + return pulumix.Output[*VulnerabilityOccurrenceEffectiveSeverity]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityOccurrenceEffectiveSeverityPtrOutput) Elem() VulnerabilityOccurrenceEffectiveSeverityOutput { return o.ApplyT(func(v *VulnerabilityOccurrenceEffectiveSeverity) VulnerabilityOccurrenceEffectiveSeverity { if v != nil { @@ -5609,6 +6198,12 @@ func (in *vulnerabilityOccurrenceEffectiveSeverityPtr) ToVulnerabilityOccurrence return pulumi.ToOutputWithContext(ctx, in).(VulnerabilityOccurrenceEffectiveSeverityPtrOutput) } +func (in *vulnerabilityOccurrenceEffectiveSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityOccurrenceEffectiveSeverity] { + return pulumix.Output[*VulnerabilityOccurrenceEffectiveSeverity]{ + OutputState: in.ToVulnerabilityOccurrenceEffectiveSeverityPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AliasContextKindInput)(nil)).Elem(), AliasContextKind("KIND_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AliasContextKindPtrInput)(nil)).Elem(), AliasContextKind("KIND_UNSPECIFIED")) diff --git a/sdk/go/google/containeranalysis/v1/pulumiTypes.go b/sdk/go/google/containeranalysis/v1/pulumiTypes.go index 54dc8c3f14..c6aed51d82 100644 --- a/sdk/go/google/containeranalysis/v1/pulumiTypes.go +++ b/sdk/go/google/containeranalysis/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AliasContextArgs) ToAliasContextOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AliasContextOutput) } +func (i AliasContextArgs) ToOutput(ctx context.Context) pulumix.Output[AliasContext] { + return pulumix.Output[AliasContext]{ + OutputState: i.ToAliasContextOutputWithContext(ctx).OutputState, + } +} + func (i AliasContextArgs) ToAliasContextPtrOutput() AliasContextPtrOutput { return i.ToAliasContextPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *aliasContextPtrType) ToAliasContextPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AliasContextPtrOutput) } +func (i *aliasContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*AliasContext] { + return pulumix.Output[*AliasContext]{ + OutputState: i.ToAliasContextPtrOutputWithContext(ctx).OutputState, + } +} + // An alias to a repo revision. type AliasContextOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AliasContextOutput) ToAliasContextPtrOutputWithContext(ctx context.Conte }).(AliasContextPtrOutput) } +func (o AliasContextOutput) ToOutput(ctx context.Context) pulumix.Output[AliasContext] { + return pulumix.Output[AliasContext]{ + OutputState: o.OutputState, + } +} + // The alias kind. func (o AliasContextOutput) Kind() AliasContextKindPtrOutput { return o.ApplyT(func(v AliasContext) *AliasContextKind { return v.Kind }).(AliasContextKindPtrOutput) @@ -142,6 +161,12 @@ func (o AliasContextPtrOutput) ToAliasContextPtrOutputWithContext(ctx context.Co return o } +func (o AliasContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AliasContext] { + return pulumix.Output[*AliasContext]{ + OutputState: o.OutputState, + } +} + func (o AliasContextPtrOutput) Elem() AliasContextOutput { return o.ApplyT(func(v *AliasContext) AliasContext { if v != nil { @@ -195,6 +220,12 @@ func (o AliasContextResponseOutput) ToAliasContextResponseOutputWithContext(ctx return o } +func (o AliasContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AliasContextResponse] { + return pulumix.Output[AliasContextResponse]{ + OutputState: o.OutputState, + } +} + // The alias kind. func (o AliasContextResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v AliasContextResponse) string { return v.Kind }).(pulumi.StringOutput) @@ -238,6 +269,12 @@ func (i AnalysisCompletedArgs) ToAnalysisCompletedOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AnalysisCompletedOutput) } +func (i AnalysisCompletedArgs) ToOutput(ctx context.Context) pulumix.Output[AnalysisCompleted] { + return pulumix.Output[AnalysisCompleted]{ + OutputState: i.ToAnalysisCompletedOutputWithContext(ctx).OutputState, + } +} + func (i AnalysisCompletedArgs) ToAnalysisCompletedPtrOutput() AnalysisCompletedPtrOutput { return i.ToAnalysisCompletedPtrOutputWithContext(context.Background()) } @@ -279,6 +316,12 @@ func (i *analysisCompletedPtrType) ToAnalysisCompletedPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AnalysisCompletedPtrOutput) } +func (i *analysisCompletedPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnalysisCompleted] { + return pulumix.Output[*AnalysisCompleted]{ + OutputState: i.ToAnalysisCompletedPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource. type AnalysisCompletedOutput struct{ *pulumi.OutputState } @@ -304,6 +347,12 @@ func (o AnalysisCompletedOutput) ToAnalysisCompletedPtrOutputWithContext(ctx con }).(AnalysisCompletedPtrOutput) } +func (o AnalysisCompletedOutput) ToOutput(ctx context.Context) pulumix.Output[AnalysisCompleted] { + return pulumix.Output[AnalysisCompleted]{ + OutputState: o.OutputState, + } +} + func (o AnalysisCompletedOutput) AnalysisType() pulumi.StringArrayOutput { return o.ApplyT(func(v AnalysisCompleted) []string { return v.AnalysisType }).(pulumi.StringArrayOutput) } @@ -322,6 +371,12 @@ func (o AnalysisCompletedPtrOutput) ToAnalysisCompletedPtrOutputWithContext(ctx return o } +func (o AnalysisCompletedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnalysisCompleted] { + return pulumix.Output[*AnalysisCompleted]{ + OutputState: o.OutputState, + } +} + func (o AnalysisCompletedPtrOutput) Elem() AnalysisCompletedOutput { return o.ApplyT(func(v *AnalysisCompleted) AnalysisCompleted { if v != nil { @@ -361,6 +416,12 @@ func (o AnalysisCompletedResponseOutput) ToAnalysisCompletedResponseOutputWithCo return o } +func (o AnalysisCompletedResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnalysisCompletedResponse] { + return pulumix.Output[AnalysisCompletedResponse]{ + OutputState: o.OutputState, + } +} + func (o AnalysisCompletedResponseOutput) AnalysisType() pulumi.StringArrayOutput { return o.ApplyT(func(v AnalysisCompletedResponse) []string { return v.AnalysisType }).(pulumi.StringArrayOutput) } @@ -408,6 +469,12 @@ func (i ArtifactArgs) ToArtifactOutputWithContext(ctx context.Context) ArtifactO return pulumi.ToOutputWithContext(ctx, i).(ArtifactOutput) } +func (i ArtifactArgs) ToOutput(ctx context.Context) pulumix.Output[Artifact] { + return pulumix.Output[Artifact]{ + OutputState: i.ToArtifactOutputWithContext(ctx).OutputState, + } +} + // ArtifactArrayInput is an input type that accepts ArtifactArray and ArtifactArrayOutput values. // You can construct a concrete instance of `ArtifactArrayInput` via: // @@ -433,6 +500,12 @@ func (i ArtifactArray) ToArtifactArrayOutputWithContext(ctx context.Context) Art return pulumi.ToOutputWithContext(ctx, i).(ArtifactArrayOutput) } +func (i ArtifactArray) ToOutput(ctx context.Context) pulumix.Output[[]Artifact] { + return pulumix.Output[[]Artifact]{ + OutputState: i.ToArtifactArrayOutputWithContext(ctx).OutputState, + } +} + // Artifact describes a build product. type ArtifactOutput struct{ *pulumi.OutputState } @@ -448,6 +521,12 @@ func (o ArtifactOutput) ToArtifactOutputWithContext(ctx context.Context) Artifac return o } +func (o ArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[Artifact] { + return pulumix.Output[Artifact]{ + OutputState: o.OutputState, + } +} + // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container. func (o ArtifactOutput) Checksum() pulumi.StringPtrOutput { return o.ApplyT(func(v Artifact) *string { return v.Checksum }).(pulumi.StringPtrOutput) @@ -477,6 +556,12 @@ func (o ArtifactArrayOutput) ToArtifactArrayOutputWithContext(ctx context.Contex return o } +func (o ArtifactArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Artifact] { + return pulumix.Output[[]Artifact]{ + OutputState: o.OutputState, + } +} + func (o ArtifactArrayOutput) Index(i pulumi.IntInput) ArtifactOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Artifact { return vs[0].([]Artifact)[vs[1].(int)] @@ -506,6 +591,12 @@ func (o ArtifactResponseOutput) ToArtifactResponseOutputWithContext(ctx context. return o } +func (o ArtifactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ArtifactResponse] { + return pulumix.Output[ArtifactResponse]{ + OutputState: o.OutputState, + } +} + // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container. func (o ArtifactResponseOutput) Checksum() pulumi.StringOutput { return o.ApplyT(func(v ArtifactResponse) string { return v.Checksum }).(pulumi.StringOutput) @@ -530,6 +621,12 @@ func (o ArtifactResponseArrayOutput) ToArtifactResponseArrayOutputWithContext(ct return o } +func (o ArtifactResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ArtifactResponse] { + return pulumix.Output[[]ArtifactResponse]{ + OutputState: o.OutputState, + } +} + func (o ArtifactResponseArrayOutput) Index(i pulumi.IntInput) ArtifactResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ArtifactResponse { return vs[0].([]ArtifactResponse)[vs[1].(int)] @@ -599,6 +696,12 @@ func (i AssessmentArgs) ToAssessmentOutputWithContext(ctx context.Context) Asses return pulumi.ToOutputWithContext(ctx, i).(AssessmentOutput) } +func (i AssessmentArgs) ToOutput(ctx context.Context) pulumix.Output[Assessment] { + return pulumix.Output[Assessment]{ + OutputState: i.ToAssessmentOutputWithContext(ctx).OutputState, + } +} + func (i AssessmentArgs) ToAssessmentPtrOutput() AssessmentPtrOutput { return i.ToAssessmentPtrOutputWithContext(context.Background()) } @@ -640,6 +743,12 @@ func (i *assessmentPtrType) ToAssessmentPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AssessmentPtrOutput) } +func (i *assessmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*Assessment] { + return pulumix.Output[*Assessment]{ + OutputState: i.ToAssessmentPtrOutputWithContext(ctx).OutputState, + } +} + // Assessment provides all information that is related to a single vulnerability for this product. type AssessmentOutput struct{ *pulumi.OutputState } @@ -665,6 +774,12 @@ func (o AssessmentOutput) ToAssessmentPtrOutputWithContext(ctx context.Context) }).(AssessmentPtrOutput) } +func (o AssessmentOutput) ToOutput(ctx context.Context) pulumix.Output[Assessment] { + return pulumix.Output[Assessment]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o AssessmentOutput) Cve() pulumi.StringPtrOutput { return o.ApplyT(func(v Assessment) *string { return v.Cve }).(pulumi.StringPtrOutput) @@ -719,6 +834,12 @@ func (o AssessmentPtrOutput) ToAssessmentPtrOutputWithContext(ctx context.Contex return o } +func (o AssessmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Assessment] { + return pulumix.Output[*Assessment]{ + OutputState: o.OutputState, + } +} + func (o AssessmentPtrOutput) Elem() AssessmentOutput { return o.ApplyT(func(v *Assessment) Assessment { if v != nil { @@ -844,6 +965,12 @@ func (o AssessmentResponseOutput) ToAssessmentResponseOutputWithContext(ctx cont return o } +func (o AssessmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AssessmentResponse] { + return pulumix.Output[AssessmentResponse]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o AssessmentResponseOutput) Cve() pulumi.StringOutput { return o.ApplyT(func(v AssessmentResponse) string { return v.Cve }).(pulumi.StringOutput) @@ -919,6 +1046,12 @@ func (i AttestationNoteArgs) ToAttestationNoteOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AttestationNoteOutput) } +func (i AttestationNoteArgs) ToOutput(ctx context.Context) pulumix.Output[AttestationNote] { + return pulumix.Output[AttestationNote]{ + OutputState: i.ToAttestationNoteOutputWithContext(ctx).OutputState, + } +} + func (i AttestationNoteArgs) ToAttestationNotePtrOutput() AttestationNotePtrOutput { return i.ToAttestationNotePtrOutputWithContext(context.Background()) } @@ -960,6 +1093,12 @@ func (i *attestationNotePtrType) ToAttestationNotePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AttestationNotePtrOutput) } +func (i *attestationNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*AttestationNote] { + return pulumix.Output[*AttestationNote]{ + OutputState: i.ToAttestationNotePtrOutputWithContext(ctx).OutputState, + } +} + // Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one `Authority` for "QA" and one for "build". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project. type AttestationNoteOutput struct{ *pulumi.OutputState } @@ -985,6 +1124,12 @@ func (o AttestationNoteOutput) ToAttestationNotePtrOutputWithContext(ctx context }).(AttestationNotePtrOutput) } +func (o AttestationNoteOutput) ToOutput(ctx context.Context) pulumix.Output[AttestationNote] { + return pulumix.Output[AttestationNote]{ + OutputState: o.OutputState, + } +} + // Hint hints at the purpose of the attestation authority. func (o AttestationNoteOutput) Hint() HintPtrOutput { return o.ApplyT(func(v AttestationNote) *Hint { return v.Hint }).(HintPtrOutput) @@ -1004,6 +1149,12 @@ func (o AttestationNotePtrOutput) ToAttestationNotePtrOutputWithContext(ctx cont return o } +func (o AttestationNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttestationNote] { + return pulumix.Output[*AttestationNote]{ + OutputState: o.OutputState, + } +} + func (o AttestationNotePtrOutput) Elem() AttestationNoteOutput { return o.ApplyT(func(v *AttestationNote) AttestationNote { if v != nil { @@ -1045,6 +1196,12 @@ func (o AttestationNoteResponseOutput) ToAttestationNoteResponseOutputWithContex return o } +func (o AttestationNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttestationNoteResponse] { + return pulumix.Output[AttestationNoteResponse]{ + OutputState: o.OutputState, + } +} + // Hint hints at the purpose of the attestation authority. func (o AttestationNoteResponseOutput) Hint() HintResponseOutput { return o.ApplyT(func(v AttestationNoteResponse) HintResponse { return v.Hint }).(HintResponseOutput) @@ -1093,6 +1250,12 @@ func (i AttestationOccurrenceArgs) ToAttestationOccurrenceOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AttestationOccurrenceOutput) } +func (i AttestationOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[AttestationOccurrence] { + return pulumix.Output[AttestationOccurrence]{ + OutputState: i.ToAttestationOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i AttestationOccurrenceArgs) ToAttestationOccurrencePtrOutput() AttestationOccurrencePtrOutput { return i.ToAttestationOccurrencePtrOutputWithContext(context.Background()) } @@ -1134,6 +1297,12 @@ func (i *attestationOccurrencePtrType) ToAttestationOccurrencePtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(AttestationOccurrencePtrOutput) } +func (i *attestationOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*AttestationOccurrence] { + return pulumix.Output[*AttestationOccurrence]{ + OutputState: i.ToAttestationOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // Occurrence that represents a single "attestation". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign. type AttestationOccurrenceOutput struct{ *pulumi.OutputState } @@ -1159,6 +1328,12 @@ func (o AttestationOccurrenceOutput) ToAttestationOccurrencePtrOutputWithContext }).(AttestationOccurrencePtrOutput) } +func (o AttestationOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[AttestationOccurrence] { + return pulumix.Output[AttestationOccurrence]{ + OutputState: o.OutputState, + } +} + // One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the `serialized_payload` field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the `serialized_payload` SHOULD be left empty. Each JWT SHOULD encode a claim specific to the `resource_uri` of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas. func (o AttestationOccurrenceOutput) Jwts() JwtArrayOutput { return o.ApplyT(func(v AttestationOccurrence) []Jwt { return v.Jwts }).(JwtArrayOutput) @@ -1188,6 +1363,12 @@ func (o AttestationOccurrencePtrOutput) ToAttestationOccurrencePtrOutputWithCont return o } +func (o AttestationOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttestationOccurrence] { + return pulumix.Output[*AttestationOccurrence]{ + OutputState: o.OutputState, + } +} + func (o AttestationOccurrencePtrOutput) Elem() AttestationOccurrenceOutput { return o.ApplyT(func(v *AttestationOccurrence) AttestationOccurrence { if v != nil { @@ -1253,6 +1434,12 @@ func (o AttestationOccurrenceResponseOutput) ToAttestationOccurrenceResponseOutp return o } +func (o AttestationOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttestationOccurrenceResponse] { + return pulumix.Output[AttestationOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the `serialized_payload` field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the `serialized_payload` SHOULD be left empty. Each JWT SHOULD encode a claim specific to the `resource_uri` of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas. func (o AttestationOccurrenceResponseOutput) Jwts() JwtResponseArrayOutput { return o.ApplyT(func(v AttestationOccurrenceResponse) []JwtResponse { return v.Jwts }).(JwtResponseArrayOutput) @@ -1311,6 +1498,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -1336,6 +1529,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -1351,6 +1550,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -1380,6 +1585,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -1411,6 +1622,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1440,6 +1657,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1481,6 +1704,12 @@ func (i BuildNoteArgs) ToBuildNoteOutputWithContext(ctx context.Context) BuildNo return pulumi.ToOutputWithContext(ctx, i).(BuildNoteOutput) } +func (i BuildNoteArgs) ToOutput(ctx context.Context) pulumix.Output[BuildNote] { + return pulumix.Output[BuildNote]{ + OutputState: i.ToBuildNoteOutputWithContext(ctx).OutputState, + } +} + func (i BuildNoteArgs) ToBuildNotePtrOutput() BuildNotePtrOutput { return i.ToBuildNotePtrOutputWithContext(context.Background()) } @@ -1522,6 +1751,12 @@ func (i *buildNotePtrType) ToBuildNotePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BuildNotePtrOutput) } +func (i *buildNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildNote] { + return pulumix.Output[*BuildNote]{ + OutputState: i.ToBuildNotePtrOutputWithContext(ctx).OutputState, + } +} + // Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence. type BuildNoteOutput struct{ *pulumi.OutputState } @@ -1547,6 +1782,12 @@ func (o BuildNoteOutput) ToBuildNotePtrOutputWithContext(ctx context.Context) Bu }).(BuildNotePtrOutput) } +func (o BuildNoteOutput) ToOutput(ctx context.Context) pulumix.Output[BuildNote] { + return pulumix.Output[BuildNote]{ + OutputState: o.OutputState, + } +} + // Immutable. Version of the builder which produced this build. func (o BuildNoteOutput) BuilderVersion() pulumi.StringOutput { return o.ApplyT(func(v BuildNote) string { return v.BuilderVersion }).(pulumi.StringOutput) @@ -1566,6 +1807,12 @@ func (o BuildNotePtrOutput) ToBuildNotePtrOutputWithContext(ctx context.Context) return o } +func (o BuildNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildNote] { + return pulumix.Output[*BuildNote]{ + OutputState: o.OutputState, + } +} + func (o BuildNotePtrOutput) Elem() BuildNoteOutput { return o.ApplyT(func(v *BuildNote) BuildNote { if v != nil { @@ -1607,6 +1854,12 @@ func (o BuildNoteResponseOutput) ToBuildNoteResponseOutputWithContext(ctx contex return o } +func (o BuildNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildNoteResponse] { + return pulumix.Output[BuildNoteResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Version of the builder which produced this build. func (o BuildNoteResponseOutput) BuilderVersion() pulumi.StringOutput { return o.ApplyT(func(v BuildNoteResponse) string { return v.BuilderVersion }).(pulumi.StringOutput) @@ -1663,6 +1916,12 @@ func (i BuildOccurrenceArgs) ToBuildOccurrenceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BuildOccurrenceOutput) } +func (i BuildOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[BuildOccurrence] { + return pulumix.Output[BuildOccurrence]{ + OutputState: i.ToBuildOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i BuildOccurrenceArgs) ToBuildOccurrencePtrOutput() BuildOccurrencePtrOutput { return i.ToBuildOccurrencePtrOutputWithContext(context.Background()) } @@ -1704,6 +1963,12 @@ func (i *buildOccurrencePtrType) ToBuildOccurrencePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BuildOccurrencePtrOutput) } +func (i *buildOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildOccurrence] { + return pulumix.Output[*BuildOccurrence]{ + OutputState: i.ToBuildOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // Details of a build occurrence. type BuildOccurrenceOutput struct{ *pulumi.OutputState } @@ -1729,6 +1994,12 @@ func (o BuildOccurrenceOutput) ToBuildOccurrencePtrOutputWithContext(ctx context }).(BuildOccurrencePtrOutput) } +func (o BuildOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOccurrence] { + return pulumix.Output[BuildOccurrence]{ + OutputState: o.OutputState, + } +} + // Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec. // // Deprecated: Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec. @@ -1765,6 +2036,12 @@ func (o BuildOccurrencePtrOutput) ToBuildOccurrencePtrOutputWithContext(ctx cont return o } +func (o BuildOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildOccurrence] { + return pulumix.Output[*BuildOccurrence]{ + OutputState: o.OutputState, + } +} + func (o BuildOccurrencePtrOutput) Elem() BuildOccurrenceOutput { return o.ApplyT(func(v *BuildOccurrence) BuildOccurrence { if v != nil { @@ -1846,6 +2123,12 @@ func (o BuildOccurrenceResponseOutput) ToBuildOccurrenceResponseOutputWithContex return o } +func (o BuildOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildOccurrenceResponse] { + return pulumix.Output[BuildOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec. // // Deprecated: Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec. @@ -1951,6 +2234,12 @@ func (i BuildProvenanceArgs) ToBuildProvenanceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BuildProvenanceOutput) } +func (i BuildProvenanceArgs) ToOutput(ctx context.Context) pulumix.Output[BuildProvenance] { + return pulumix.Output[BuildProvenance]{ + OutputState: i.ToBuildProvenanceOutputWithContext(ctx).OutputState, + } +} + func (i BuildProvenanceArgs) ToBuildProvenancePtrOutput() BuildProvenancePtrOutput { return i.ToBuildProvenancePtrOutputWithContext(context.Background()) } @@ -1992,6 +2281,12 @@ func (i *buildProvenancePtrType) ToBuildProvenancePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BuildProvenancePtrOutput) } +func (i *buildProvenancePtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildProvenance] { + return pulumix.Output[*BuildProvenance]{ + OutputState: i.ToBuildProvenancePtrOutputWithContext(ctx).OutputState, + } +} + // Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. type BuildProvenanceOutput struct{ *pulumi.OutputState } @@ -2017,6 +2312,12 @@ func (o BuildProvenanceOutput) ToBuildProvenancePtrOutputWithContext(ctx context }).(BuildProvenancePtrOutput) } +func (o BuildProvenanceOutput) ToOutput(ctx context.Context) pulumix.Output[BuildProvenance] { + return pulumix.Output[BuildProvenance]{ + OutputState: o.OutputState, + } +} + // Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details. func (o BuildProvenanceOutput) BuildOptions() pulumi.StringMapOutput { return o.ApplyT(func(v BuildProvenance) map[string]string { return v.BuildOptions }).(pulumi.StringMapOutput) @@ -2096,6 +2397,12 @@ func (o BuildProvenancePtrOutput) ToBuildProvenancePtrOutputWithContext(ctx cont return o } +func (o BuildProvenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildProvenance] { + return pulumix.Output[*BuildProvenance]{ + OutputState: o.OutputState, + } +} + func (o BuildProvenancePtrOutput) Elem() BuildProvenanceOutput { return o.ApplyT(func(v *BuildProvenance) BuildProvenance { if v != nil { @@ -2279,6 +2586,12 @@ func (o BuildProvenanceResponseOutput) ToBuildProvenanceResponseOutputWithContex return o } +func (o BuildProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildProvenanceResponse] { + return pulumix.Output[BuildProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details. func (o BuildProvenanceResponseOutput) BuildOptions() pulumi.StringMapOutput { return o.ApplyT(func(v BuildProvenanceResponse) map[string]string { return v.BuildOptions }).(pulumi.StringMapOutput) @@ -2370,6 +2683,12 @@ func (i BuilderConfigArgs) ToBuilderConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BuilderConfigOutput) } +func (i BuilderConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BuilderConfig] { + return pulumix.Output[BuilderConfig]{ + OutputState: i.ToBuilderConfigOutputWithContext(ctx).OutputState, + } +} + func (i BuilderConfigArgs) ToBuilderConfigPtrOutput() BuilderConfigPtrOutput { return i.ToBuilderConfigPtrOutputWithContext(context.Background()) } @@ -2411,6 +2730,12 @@ func (i *builderConfigPtrType) ToBuilderConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(BuilderConfigPtrOutput) } +func (i *builderConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BuilderConfig] { + return pulumix.Output[*BuilderConfig]{ + OutputState: i.ToBuilderConfigPtrOutputWithContext(ctx).OutputState, + } +} + type BuilderConfigOutput struct{ *pulumi.OutputState } func (BuilderConfigOutput) ElementType() reflect.Type { @@ -2435,6 +2760,12 @@ func (o BuilderConfigOutput) ToBuilderConfigPtrOutputWithContext(ctx context.Con }).(BuilderConfigPtrOutput) } +func (o BuilderConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BuilderConfig] { + return pulumix.Output[BuilderConfig]{ + OutputState: o.OutputState, + } +} + func (o BuilderConfigOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v BuilderConfig) *string { return v.Id }).(pulumi.StringPtrOutput) } @@ -2453,6 +2784,12 @@ func (o BuilderConfigPtrOutput) ToBuilderConfigPtrOutputWithContext(ctx context. return o } +func (o BuilderConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuilderConfig] { + return pulumix.Output[*BuilderConfig]{ + OutputState: o.OutputState, + } +} + func (o BuilderConfigPtrOutput) Elem() BuilderConfigOutput { return o.ApplyT(func(v *BuilderConfig) BuilderConfig { if v != nil { @@ -2489,6 +2826,12 @@ func (o BuilderConfigResponseOutput) ToBuilderConfigResponseOutputWithContext(ct return o } +func (o BuilderConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuilderConfigResponse] { + return pulumix.Output[BuilderConfigResponse]{ + OutputState: o.OutputState, + } +} + // Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version. type CVSS struct { AttackComplexity *CVSSAttackComplexity `pulumi:"attackComplexity"` @@ -2548,6 +2891,12 @@ func (i CVSSArgs) ToCVSSOutputWithContext(ctx context.Context) CVSSOutput { return pulumi.ToOutputWithContext(ctx, i).(CVSSOutput) } +func (i CVSSArgs) ToOutput(ctx context.Context) pulumix.Output[CVSS] { + return pulumix.Output[CVSS]{ + OutputState: i.ToCVSSOutputWithContext(ctx).OutputState, + } +} + func (i CVSSArgs) ToCVSSPtrOutput() CVSSPtrOutput { return i.ToCVSSPtrOutputWithContext(context.Background()) } @@ -2589,6 +2938,12 @@ func (i *cvssPtrType) ToCVSSPtrOutputWithContext(ctx context.Context) CVSSPtrOut return pulumi.ToOutputWithContext(ctx, i).(CVSSPtrOutput) } +func (i *cvssPtrType) ToOutput(ctx context.Context) pulumix.Output[*CVSS] { + return pulumix.Output[*CVSS]{ + OutputState: i.ToCVSSPtrOutputWithContext(ctx).OutputState, + } +} + // Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version. type CVSSOutput struct{ *pulumi.OutputState } @@ -2614,6 +2969,12 @@ func (o CVSSOutput) ToCVSSPtrOutputWithContext(ctx context.Context) CVSSPtrOutpu }).(CVSSPtrOutput) } +func (o CVSSOutput) ToOutput(ctx context.Context) pulumix.Output[CVSS] { + return pulumix.Output[CVSS]{ + OutputState: o.OutputState, + } +} + func (o CVSSOutput) AttackComplexity() CVSSAttackComplexityPtrOutput { return o.ApplyT(func(v CVSS) *CVSSAttackComplexity { return v.AttackComplexity }).(CVSSAttackComplexityPtrOutput) } @@ -2678,6 +3039,12 @@ func (o CVSSPtrOutput) ToCVSSPtrOutputWithContext(ctx context.Context) CVSSPtrOu return o } +func (o CVSSPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSS] { + return pulumix.Output[*CVSS]{ + OutputState: o.OutputState, + } +} + func (o CVSSPtrOutput) Elem() CVSSOutput { return o.ApplyT(func(v *CVSS) CVSS { if v != nil { @@ -2831,6 +3198,12 @@ func (o CVSSResponseOutput) ToCVSSResponseOutputWithContext(ctx context.Context) return o } +func (o CVSSResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSResponse] { + return pulumix.Output[CVSSResponse]{ + OutputState: o.OutputState, + } +} + func (o CVSSResponseOutput) AttackComplexity() pulumi.StringOutput { return o.ApplyT(func(v CVSSResponse) string { return v.AttackComplexity }).(pulumi.StringOutput) } @@ -2938,6 +3311,12 @@ func (i CVSSv3Args) ToCVSSv3OutputWithContext(ctx context.Context) CVSSv3Output return pulumi.ToOutputWithContext(ctx, i).(CVSSv3Output) } +func (i CVSSv3Args) ToOutput(ctx context.Context) pulumix.Output[CVSSv3] { + return pulumix.Output[CVSSv3]{ + OutputState: i.ToCVSSv3OutputWithContext(ctx).OutputState, + } +} + func (i CVSSv3Args) ToCVSSv3PtrOutput() CVSSv3PtrOutput { return i.ToCVSSv3PtrOutputWithContext(context.Background()) } @@ -2979,6 +3358,12 @@ func (i *cvssv3PtrType) ToCVSSv3PtrOutputWithContext(ctx context.Context) CVSSv3 return pulumi.ToOutputWithContext(ctx, i).(CVSSv3PtrOutput) } +func (i *cvssv3PtrType) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3] { + return pulumix.Output[*CVSSv3]{ + OutputState: i.ToCVSSv3PtrOutputWithContext(ctx).OutputState, + } +} + // Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document type CVSSv3Output struct{ *pulumi.OutputState } @@ -3004,6 +3389,12 @@ func (o CVSSv3Output) ToCVSSv3PtrOutputWithContext(ctx context.Context) CVSSv3Pt }).(CVSSv3PtrOutput) } +func (o CVSSv3Output) ToOutput(ctx context.Context) pulumix.Output[CVSSv3] { + return pulumix.Output[CVSSv3]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3Output) AttackComplexity() CVSSv3AttackComplexityPtrOutput { return o.ApplyT(func(v CVSSv3) *CVSSv3AttackComplexity { return v.AttackComplexity }).(CVSSv3AttackComplexityPtrOutput) } @@ -3064,6 +3455,12 @@ func (o CVSSv3PtrOutput) ToCVSSv3PtrOutputWithContext(ctx context.Context) CVSSv return o } +func (o CVSSv3PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3] { + return pulumix.Output[*CVSSv3]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3PtrOutput) Elem() CVSSv3Output { return o.ApplyT(func(v *CVSSv3) CVSSv3 { if v != nil { @@ -3207,6 +3604,12 @@ func (o CVSSv3ResponseOutput) ToCVSSv3ResponseOutputWithContext(ctx context.Cont return o } +func (o CVSSv3ResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3Response] { + return pulumix.Output[CVSSv3Response]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3ResponseOutput) AttackComplexity() pulumi.StringOutput { return o.ApplyT(func(v CVSSv3Response) string { return v.AttackComplexity }).(pulumi.StringOutput) } @@ -3292,6 +3695,12 @@ func (i CategoryArgs) ToCategoryOutputWithContext(ctx context.Context) CategoryO return pulumi.ToOutputWithContext(ctx, i).(CategoryOutput) } +func (i CategoryArgs) ToOutput(ctx context.Context) pulumix.Output[Category] { + return pulumix.Output[Category]{ + OutputState: i.ToCategoryOutputWithContext(ctx).OutputState, + } +} + // CategoryArrayInput is an input type that accepts CategoryArray and CategoryArrayOutput values. // You can construct a concrete instance of `CategoryArrayInput` via: // @@ -3317,6 +3726,12 @@ func (i CategoryArray) ToCategoryArrayOutputWithContext(ctx context.Context) Cat return pulumi.ToOutputWithContext(ctx, i).(CategoryArrayOutput) } +func (i CategoryArray) ToOutput(ctx context.Context) pulumix.Output[[]Category] { + return pulumix.Output[[]Category]{ + OutputState: i.ToCategoryArrayOutputWithContext(ctx).OutputState, + } +} + // The category to which the update belongs. type CategoryOutput struct{ *pulumi.OutputState } @@ -3332,6 +3747,12 @@ func (o CategoryOutput) ToCategoryOutputWithContext(ctx context.Context) Categor return o } +func (o CategoryOutput) ToOutput(ctx context.Context) pulumix.Output[Category] { + return pulumix.Output[Category]{ + OutputState: o.OutputState, + } +} + // The identifier of the category. func (o CategoryOutput) CategoryId() pulumi.StringPtrOutput { return o.ApplyT(func(v Category) *string { return v.CategoryId }).(pulumi.StringPtrOutput) @@ -3356,6 +3777,12 @@ func (o CategoryArrayOutput) ToCategoryArrayOutputWithContext(ctx context.Contex return o } +func (o CategoryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Category] { + return pulumix.Output[[]Category]{ + OutputState: o.OutputState, + } +} + func (o CategoryArrayOutput) Index(i pulumi.IntInput) CategoryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Category { return vs[0].([]Category)[vs[1].(int)] @@ -3385,6 +3812,12 @@ func (o CategoryResponseOutput) ToCategoryResponseOutputWithContext(ctx context. return o } +func (o CategoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CategoryResponse] { + return pulumix.Output[CategoryResponse]{ + OutputState: o.OutputState, + } +} + // The identifier of the category. func (o CategoryResponseOutput) CategoryId() pulumi.StringOutput { return o.ApplyT(func(v CategoryResponse) string { return v.CategoryId }).(pulumi.StringOutput) @@ -3409,6 +3842,12 @@ func (o CategoryResponseArrayOutput) ToCategoryResponseArrayOutputWithContext(ct return o } +func (o CategoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CategoryResponse] { + return pulumix.Output[[]CategoryResponse]{ + OutputState: o.OutputState, + } +} + func (o CategoryResponseArrayOutput) Index(i pulumi.IntInput) CategoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CategoryResponse { return vs[0].([]CategoryResponse)[vs[1].(int)] @@ -3450,6 +3889,12 @@ func (i CisBenchmarkArgs) ToCisBenchmarkOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CisBenchmarkOutput) } +func (i CisBenchmarkArgs) ToOutput(ctx context.Context) pulumix.Output[CisBenchmark] { + return pulumix.Output[CisBenchmark]{ + OutputState: i.ToCisBenchmarkOutputWithContext(ctx).OutputState, + } +} + func (i CisBenchmarkArgs) ToCisBenchmarkPtrOutput() CisBenchmarkPtrOutput { return i.ToCisBenchmarkPtrOutputWithContext(context.Background()) } @@ -3491,6 +3936,12 @@ func (i *cisBenchmarkPtrType) ToCisBenchmarkPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(CisBenchmarkPtrOutput) } +func (i *cisBenchmarkPtrType) ToOutput(ctx context.Context) pulumix.Output[*CisBenchmark] { + return pulumix.Output[*CisBenchmark]{ + OutputState: i.ToCisBenchmarkPtrOutputWithContext(ctx).OutputState, + } +} + // A compliance check that is a CIS benchmark. type CisBenchmarkOutput struct{ *pulumi.OutputState } @@ -3516,6 +3967,12 @@ func (o CisBenchmarkOutput) ToCisBenchmarkPtrOutputWithContext(ctx context.Conte }).(CisBenchmarkPtrOutput) } +func (o CisBenchmarkOutput) ToOutput(ctx context.Context) pulumix.Output[CisBenchmark] { + return pulumix.Output[CisBenchmark]{ + OutputState: o.OutputState, + } +} + func (o CisBenchmarkOutput) ProfileLevel() pulumi.IntPtrOutput { return o.ApplyT(func(v CisBenchmark) *int { return v.ProfileLevel }).(pulumi.IntPtrOutput) } @@ -3538,6 +3995,12 @@ func (o CisBenchmarkPtrOutput) ToCisBenchmarkPtrOutputWithContext(ctx context.Co return o } +func (o CisBenchmarkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CisBenchmark] { + return pulumix.Output[*CisBenchmark]{ + OutputState: o.OutputState, + } +} + func (o CisBenchmarkPtrOutput) Elem() CisBenchmarkOutput { return o.ApplyT(func(v *CisBenchmark) CisBenchmark { if v != nil { @@ -3587,6 +4050,12 @@ func (o CisBenchmarkResponseOutput) ToCisBenchmarkResponseOutputWithContext(ctx return o } +func (o CisBenchmarkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CisBenchmarkResponse] { + return pulumix.Output[CisBenchmarkResponse]{ + OutputState: o.OutputState, + } +} + func (o CisBenchmarkResponseOutput) ProfileLevel() pulumi.IntOutput { return o.ApplyT(func(v CisBenchmarkResponse) int { return v.ProfileLevel }).(pulumi.IntOutput) } @@ -3638,6 +4107,12 @@ func (i CloudRepoSourceContextArgs) ToCloudRepoSourceContextOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(CloudRepoSourceContextOutput) } +func (i CloudRepoSourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRepoSourceContext] { + return pulumix.Output[CloudRepoSourceContext]{ + OutputState: i.ToCloudRepoSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i CloudRepoSourceContextArgs) ToCloudRepoSourceContextPtrOutput() CloudRepoSourceContextPtrOutput { return i.ToCloudRepoSourceContextPtrOutputWithContext(context.Background()) } @@ -3679,6 +4154,12 @@ func (i *cloudRepoSourceContextPtrType) ToCloudRepoSourceContextPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(CloudRepoSourceContextPtrOutput) } +func (i *cloudRepoSourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRepoSourceContext] { + return pulumix.Output[*CloudRepoSourceContext]{ + OutputState: i.ToCloudRepoSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. type CloudRepoSourceContextOutput struct{ *pulumi.OutputState } @@ -3704,6 +4185,12 @@ func (o CloudRepoSourceContextOutput) ToCloudRepoSourceContextPtrOutputWithConte }).(CloudRepoSourceContextPtrOutput) } +func (o CloudRepoSourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRepoSourceContext] { + return pulumix.Output[CloudRepoSourceContext]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o CloudRepoSourceContextOutput) AliasContext() AliasContextPtrOutput { return o.ApplyT(func(v CloudRepoSourceContext) *AliasContext { return v.AliasContext }).(AliasContextPtrOutput) @@ -3733,6 +4220,12 @@ func (o CloudRepoSourceContextPtrOutput) ToCloudRepoSourceContextPtrOutputWithCo return o } +func (o CloudRepoSourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRepoSourceContext] { + return pulumix.Output[*CloudRepoSourceContext]{ + OutputState: o.OutputState, + } +} + func (o CloudRepoSourceContextPtrOutput) Elem() CloudRepoSourceContextOutput { return o.ApplyT(func(v *CloudRepoSourceContext) CloudRepoSourceContext { if v != nil { @@ -3798,6 +4291,12 @@ func (o CloudRepoSourceContextResponseOutput) ToCloudRepoSourceContextResponseOu return o } +func (o CloudRepoSourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRepoSourceContextResponse] { + return pulumix.Output[CloudRepoSourceContextResponse]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o CloudRepoSourceContextResponseOutput) AliasContext() AliasContextResponseOutput { return o.ApplyT(func(v CloudRepoSourceContextResponse) AliasContextResponse { return v.AliasContext }).(AliasContextResponseOutput) @@ -3868,6 +4367,12 @@ func (i CommandArgs) ToCommandOutputWithContext(ctx context.Context) CommandOutp return pulumi.ToOutputWithContext(ctx, i).(CommandOutput) } +func (i CommandArgs) ToOutput(ctx context.Context) pulumix.Output[Command] { + return pulumix.Output[Command]{ + OutputState: i.ToCommandOutputWithContext(ctx).OutputState, + } +} + // CommandArrayInput is an input type that accepts CommandArray and CommandArrayOutput values. // You can construct a concrete instance of `CommandArrayInput` via: // @@ -3893,6 +4398,12 @@ func (i CommandArray) ToCommandArrayOutputWithContext(ctx context.Context) Comma return pulumi.ToOutputWithContext(ctx, i).(CommandArrayOutput) } +func (i CommandArray) ToOutput(ctx context.Context) pulumix.Output[[]Command] { + return pulumix.Output[[]Command]{ + OutputState: i.ToCommandArrayOutputWithContext(ctx).OutputState, + } +} + // Command describes a step performed as part of the build pipeline. type CommandOutput struct{ *pulumi.OutputState } @@ -3908,6 +4419,12 @@ func (o CommandOutput) ToCommandOutputWithContext(ctx context.Context) CommandOu return o } +func (o CommandOutput) ToOutput(ctx context.Context) pulumix.Output[Command] { + return pulumix.Output[Command]{ + OutputState: o.OutputState, + } +} + // Command-line arguments used when executing this command. func (o CommandOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v Command) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -3952,6 +4469,12 @@ func (o CommandArrayOutput) ToCommandArrayOutputWithContext(ctx context.Context) return o } +func (o CommandArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Command] { + return pulumix.Output[[]Command]{ + OutputState: o.OutputState, + } +} + func (o CommandArrayOutput) Index(i pulumi.IntInput) CommandOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Command { return vs[0].([]Command)[vs[1].(int)] @@ -3987,6 +4510,12 @@ func (o CommandResponseOutput) ToCommandResponseOutputWithContext(ctx context.Co return o } +func (o CommandResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommandResponse] { + return pulumix.Output[CommandResponse]{ + OutputState: o.OutputState, + } +} + // Command-line arguments used when executing this command. func (o CommandResponseOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v CommandResponse) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -4026,6 +4555,12 @@ func (o CommandResponseArrayOutput) ToCommandResponseArrayOutputWithContext(ctx return o } +func (o CommandResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CommandResponse] { + return pulumix.Output[[]CommandResponse]{ + OutputState: o.OutputState, + } +} + func (o CommandResponseArrayOutput) Index(i pulumi.IntInput) CommandResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommandResponse { return vs[0].([]CommandResponse)[vs[1].(int)] @@ -4075,6 +4610,12 @@ func (i CompletenessArgs) ToCompletenessOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CompletenessOutput) } +func (i CompletenessArgs) ToOutput(ctx context.Context) pulumix.Output[Completeness] { + return pulumix.Output[Completeness]{ + OutputState: i.ToCompletenessOutputWithContext(ctx).OutputState, + } +} + func (i CompletenessArgs) ToCompletenessPtrOutput() CompletenessPtrOutput { return i.ToCompletenessPtrOutputWithContext(context.Background()) } @@ -4116,6 +4657,12 @@ func (i *completenessPtrType) ToCompletenessPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(CompletenessPtrOutput) } +func (i *completenessPtrType) ToOutput(ctx context.Context) pulumix.Output[*Completeness] { + return pulumix.Output[*Completeness]{ + OutputState: i.ToCompletenessPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that the builder claims certain fields in this message to be complete. type CompletenessOutput struct{ *pulumi.OutputState } @@ -4141,6 +4688,12 @@ func (o CompletenessOutput) ToCompletenessPtrOutputWithContext(ctx context.Conte }).(CompletenessPtrOutput) } +func (o CompletenessOutput) ToOutput(ctx context.Context) pulumix.Output[Completeness] { + return pulumix.Output[Completeness]{ + OutputState: o.OutputState, + } +} + // If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. func (o CompletenessOutput) Arguments() pulumi.BoolPtrOutput { return o.ApplyT(func(v Completeness) *bool { return v.Arguments }).(pulumi.BoolPtrOutput) @@ -4170,6 +4723,12 @@ func (o CompletenessPtrOutput) ToCompletenessPtrOutputWithContext(ctx context.Co return o } +func (o CompletenessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Completeness] { + return pulumix.Output[*Completeness]{ + OutputState: o.OutputState, + } +} + func (o CompletenessPtrOutput) Elem() CompletenessOutput { return o.ApplyT(func(v *Completeness) Completeness { if v != nil { @@ -4235,6 +4794,12 @@ func (o CompletenessResponseOutput) ToCompletenessResponseOutputWithContext(ctx return o } +func (o CompletenessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompletenessResponse] { + return pulumix.Output[CompletenessResponse]{ + OutputState: o.OutputState, + } +} + // If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. func (o CompletenessResponseOutput) Arguments() pulumi.BoolOutput { return o.ApplyT(func(v CompletenessResponse) bool { return v.Arguments }).(pulumi.BoolOutput) @@ -4305,6 +4870,12 @@ func (i ComplianceNoteArgs) ToComplianceNoteOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ComplianceNoteOutput) } +func (i ComplianceNoteArgs) ToOutput(ctx context.Context) pulumix.Output[ComplianceNote] { + return pulumix.Output[ComplianceNote]{ + OutputState: i.ToComplianceNoteOutputWithContext(ctx).OutputState, + } +} + func (i ComplianceNoteArgs) ToComplianceNotePtrOutput() ComplianceNotePtrOutput { return i.ToComplianceNotePtrOutputWithContext(context.Background()) } @@ -4346,6 +4917,12 @@ func (i *complianceNotePtrType) ToComplianceNotePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ComplianceNotePtrOutput) } +func (i *complianceNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*ComplianceNote] { + return pulumix.Output[*ComplianceNote]{ + OutputState: i.ToComplianceNotePtrOutputWithContext(ctx).OutputState, + } +} + type ComplianceNoteOutput struct{ *pulumi.OutputState } func (ComplianceNoteOutput) ElementType() reflect.Type { @@ -4370,6 +4947,12 @@ func (o ComplianceNoteOutput) ToComplianceNotePtrOutputWithContext(ctx context.C }).(ComplianceNotePtrOutput) } +func (o ComplianceNoteOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceNote] { + return pulumix.Output[ComplianceNote]{ + OutputState: o.OutputState, + } +} + func (o ComplianceNoteOutput) CisBenchmark() CisBenchmarkPtrOutput { return o.ApplyT(func(v ComplianceNote) *CisBenchmark { return v.CisBenchmark }).(CisBenchmarkPtrOutput) } @@ -4418,6 +5001,12 @@ func (o ComplianceNotePtrOutput) ToComplianceNotePtrOutputWithContext(ctx contex return o } +func (o ComplianceNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComplianceNote] { + return pulumix.Output[*ComplianceNote]{ + OutputState: o.OutputState, + } +} + func (o ComplianceNotePtrOutput) Elem() ComplianceNoteOutput { return o.ApplyT(func(v *ComplianceNote) ComplianceNote { if v != nil { @@ -4527,6 +5116,12 @@ func (o ComplianceNoteResponseOutput) ToComplianceNoteResponseOutputWithContext( return o } +func (o ComplianceNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceNoteResponse] { + return pulumix.Output[ComplianceNoteResponse]{ + OutputState: o.OutputState, + } +} + func (o ComplianceNoteResponseOutput) CisBenchmark() CisBenchmarkResponseOutput { return o.ApplyT(func(v ComplianceNoteResponse) CisBenchmarkResponse { return v.CisBenchmark }).(CisBenchmarkResponseOutput) } @@ -4596,6 +5191,12 @@ func (i ComplianceOccurrenceArgs) ToComplianceOccurrenceOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ComplianceOccurrenceOutput) } +func (i ComplianceOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[ComplianceOccurrence] { + return pulumix.Output[ComplianceOccurrence]{ + OutputState: i.ToComplianceOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i ComplianceOccurrenceArgs) ToComplianceOccurrencePtrOutput() ComplianceOccurrencePtrOutput { return i.ToComplianceOccurrencePtrOutputWithContext(context.Background()) } @@ -4637,6 +5238,12 @@ func (i *complianceOccurrencePtrType) ToComplianceOccurrencePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ComplianceOccurrencePtrOutput) } +func (i *complianceOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*ComplianceOccurrence] { + return pulumix.Output[*ComplianceOccurrence]{ + OutputState: i.ToComplianceOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason. type ComplianceOccurrenceOutput struct{ *pulumi.OutputState } @@ -4662,6 +5269,12 @@ func (o ComplianceOccurrenceOutput) ToComplianceOccurrencePtrOutputWithContext(c }).(ComplianceOccurrencePtrOutput) } +func (o ComplianceOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceOccurrence] { + return pulumix.Output[ComplianceOccurrence]{ + OutputState: o.OutputState, + } +} + func (o ComplianceOccurrenceOutput) NonComplianceReason() pulumi.StringPtrOutput { return o.ApplyT(func(v ComplianceOccurrence) *string { return v.NonComplianceReason }).(pulumi.StringPtrOutput) } @@ -4684,6 +5297,12 @@ func (o ComplianceOccurrencePtrOutput) ToComplianceOccurrencePtrOutputWithContex return o } +func (o ComplianceOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComplianceOccurrence] { + return pulumix.Output[*ComplianceOccurrence]{ + OutputState: o.OutputState, + } +} + func (o ComplianceOccurrencePtrOutput) Elem() ComplianceOccurrenceOutput { return o.ApplyT(func(v *ComplianceOccurrence) ComplianceOccurrence { if v != nil { @@ -4733,6 +5352,12 @@ func (o ComplianceOccurrenceResponseOutput) ToComplianceOccurrenceResponseOutput return o } +func (o ComplianceOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceOccurrenceResponse] { + return pulumix.Output[ComplianceOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + func (o ComplianceOccurrenceResponseOutput) NonComplianceReason() pulumi.StringOutput { return o.ApplyT(func(v ComplianceOccurrenceResponse) string { return v.NonComplianceReason }).(pulumi.StringOutput) } @@ -4784,6 +5409,12 @@ func (i ComplianceVersionArgs) ToComplianceVersionOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ComplianceVersionOutput) } +func (i ComplianceVersionArgs) ToOutput(ctx context.Context) pulumix.Output[ComplianceVersion] { + return pulumix.Output[ComplianceVersion]{ + OutputState: i.ToComplianceVersionOutputWithContext(ctx).OutputState, + } +} + // ComplianceVersionArrayInput is an input type that accepts ComplianceVersionArray and ComplianceVersionArrayOutput values. // You can construct a concrete instance of `ComplianceVersionArrayInput` via: // @@ -4809,6 +5440,12 @@ func (i ComplianceVersionArray) ToComplianceVersionArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ComplianceVersionArrayOutput) } +func (i ComplianceVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]ComplianceVersion] { + return pulumix.Output[[]ComplianceVersion]{ + OutputState: i.ToComplianceVersionArrayOutputWithContext(ctx).OutputState, + } +} + // Describes the CIS benchmark version that is applicable to a given OS and os version. type ComplianceVersionOutput struct{ *pulumi.OutputState } @@ -4824,6 +5461,12 @@ func (o ComplianceVersionOutput) ToComplianceVersionOutputWithContext(ctx contex return o } +func (o ComplianceVersionOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceVersion] { + return pulumix.Output[ComplianceVersion]{ + OutputState: o.OutputState, + } +} + // The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS". func (o ComplianceVersionOutput) BenchmarkDocument() pulumi.StringPtrOutput { return o.ApplyT(func(v ComplianceVersion) *string { return v.BenchmarkDocument }).(pulumi.StringPtrOutput) @@ -4853,6 +5496,12 @@ func (o ComplianceVersionArrayOutput) ToComplianceVersionArrayOutputWithContext( return o } +func (o ComplianceVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ComplianceVersion] { + return pulumix.Output[[]ComplianceVersion]{ + OutputState: o.OutputState, + } +} + func (o ComplianceVersionArrayOutput) Index(i pulumi.IntInput) ComplianceVersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ComplianceVersion { return vs[0].([]ComplianceVersion)[vs[1].(int)] @@ -4884,6 +5533,12 @@ func (o ComplianceVersionResponseOutput) ToComplianceVersionResponseOutputWithCo return o } +func (o ComplianceVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceVersionResponse] { + return pulumix.Output[ComplianceVersionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS". func (o ComplianceVersionResponseOutput) BenchmarkDocument() pulumi.StringOutput { return o.ApplyT(func(v ComplianceVersionResponse) string { return v.BenchmarkDocument }).(pulumi.StringOutput) @@ -4913,6 +5568,12 @@ func (o ComplianceVersionResponseArrayOutput) ToComplianceVersionResponseArrayOu return o } +func (o ComplianceVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ComplianceVersionResponse] { + return pulumix.Output[[]ComplianceVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o ComplianceVersionResponseArrayOutput) Index(i pulumi.IntInput) ComplianceVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ComplianceVersionResponse { return vs[0].([]ComplianceVersionResponse)[vs[1].(int)] @@ -4952,6 +5613,12 @@ func (i DSSEAttestationNoteArgs) ToDSSEAttestationNoteOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(DSSEAttestationNoteOutput) } +func (i DSSEAttestationNoteArgs) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationNote] { + return pulumix.Output[DSSEAttestationNote]{ + OutputState: i.ToDSSEAttestationNoteOutputWithContext(ctx).OutputState, + } +} + func (i DSSEAttestationNoteArgs) ToDSSEAttestationNotePtrOutput() DSSEAttestationNotePtrOutput { return i.ToDSSEAttestationNotePtrOutputWithContext(context.Background()) } @@ -4993,6 +5660,12 @@ func (i *dsseattestationNotePtrType) ToDSSEAttestationNotePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(DSSEAttestationNotePtrOutput) } +func (i *dsseattestationNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*DSSEAttestationNote] { + return pulumix.Output[*DSSEAttestationNote]{ + OutputState: i.ToDSSEAttestationNotePtrOutputWithContext(ctx).OutputState, + } +} + type DSSEAttestationNoteOutput struct{ *pulumi.OutputState } func (DSSEAttestationNoteOutput) ElementType() reflect.Type { @@ -5017,6 +5690,12 @@ func (o DSSEAttestationNoteOutput) ToDSSEAttestationNotePtrOutputWithContext(ctx }).(DSSEAttestationNotePtrOutput) } +func (o DSSEAttestationNoteOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationNote] { + return pulumix.Output[DSSEAttestationNote]{ + OutputState: o.OutputState, + } +} + // DSSEHint hints at the purpose of the attestation authority. func (o DSSEAttestationNoteOutput) Hint() DSSEHintPtrOutput { return o.ApplyT(func(v DSSEAttestationNote) *DSSEHint { return v.Hint }).(DSSEHintPtrOutput) @@ -5036,6 +5715,12 @@ func (o DSSEAttestationNotePtrOutput) ToDSSEAttestationNotePtrOutputWithContext( return o } +func (o DSSEAttestationNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DSSEAttestationNote] { + return pulumix.Output[*DSSEAttestationNote]{ + OutputState: o.OutputState, + } +} + func (o DSSEAttestationNotePtrOutput) Elem() DSSEAttestationNoteOutput { return o.ApplyT(func(v *DSSEAttestationNote) DSSEAttestationNote { if v != nil { @@ -5075,6 +5760,12 @@ func (o DSSEAttestationNoteResponseOutput) ToDSSEAttestationNoteResponseOutputWi return o } +func (o DSSEAttestationNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationNoteResponse] { + return pulumix.Output[DSSEAttestationNoteResponse]{ + OutputState: o.OutputState, + } +} + // DSSEHint hints at the purpose of the attestation authority. func (o DSSEAttestationNoteResponseOutput) Hint() DSSEHintResponseOutput { return o.ApplyT(func(v DSSEAttestationNoteResponse) DSSEHintResponse { return v.Hint }).(DSSEHintResponseOutput) @@ -5117,6 +5808,12 @@ func (i DSSEAttestationOccurrenceArgs) ToDSSEAttestationOccurrenceOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(DSSEAttestationOccurrenceOutput) } +func (i DSSEAttestationOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationOccurrence] { + return pulumix.Output[DSSEAttestationOccurrence]{ + OutputState: i.ToDSSEAttestationOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i DSSEAttestationOccurrenceArgs) ToDSSEAttestationOccurrencePtrOutput() DSSEAttestationOccurrencePtrOutput { return i.ToDSSEAttestationOccurrencePtrOutputWithContext(context.Background()) } @@ -5158,6 +5855,12 @@ func (i *dsseattestationOccurrencePtrType) ToDSSEAttestationOccurrencePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(DSSEAttestationOccurrencePtrOutput) } +func (i *dsseattestationOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*DSSEAttestationOccurrence] { + return pulumix.Output[*DSSEAttestationOccurrence]{ + OutputState: i.ToDSSEAttestationOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence. type DSSEAttestationOccurrenceOutput struct{ *pulumi.OutputState } @@ -5183,6 +5886,12 @@ func (o DSSEAttestationOccurrenceOutput) ToDSSEAttestationOccurrencePtrOutputWit }).(DSSEAttestationOccurrencePtrOutput) } +func (o DSSEAttestationOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationOccurrence] { + return pulumix.Output[DSSEAttestationOccurrence]{ + OutputState: o.OutputState, + } +} + // If doing something security critical, make sure to verify the signatures in this metadata. func (o DSSEAttestationOccurrenceOutput) Envelope() EnvelopePtrOutput { return o.ApplyT(func(v DSSEAttestationOccurrence) *Envelope { return v.Envelope }).(EnvelopePtrOutput) @@ -5206,6 +5915,12 @@ func (o DSSEAttestationOccurrencePtrOutput) ToDSSEAttestationOccurrencePtrOutput return o } +func (o DSSEAttestationOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DSSEAttestationOccurrence] { + return pulumix.Output[*DSSEAttestationOccurrence]{ + OutputState: o.OutputState, + } +} + func (o DSSEAttestationOccurrencePtrOutput) Elem() DSSEAttestationOccurrenceOutput { return o.ApplyT(func(v *DSSEAttestationOccurrence) DSSEAttestationOccurrence { if v != nil { @@ -5257,6 +5972,12 @@ func (o DSSEAttestationOccurrenceResponseOutput) ToDSSEAttestationOccurrenceResp return o } +func (o DSSEAttestationOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationOccurrenceResponse] { + return pulumix.Output[DSSEAttestationOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // If doing something security critical, make sure to verify the signatures in this metadata. func (o DSSEAttestationOccurrenceResponseOutput) Envelope() EnvelopeResponseOutput { return o.ApplyT(func(v DSSEAttestationOccurrenceResponse) EnvelopeResponse { return v.Envelope }).(EnvelopeResponseOutput) @@ -5301,6 +6022,12 @@ func (i DSSEHintArgs) ToDSSEHintOutputWithContext(ctx context.Context) DSSEHintO return pulumi.ToOutputWithContext(ctx, i).(DSSEHintOutput) } +func (i DSSEHintArgs) ToOutput(ctx context.Context) pulumix.Output[DSSEHint] { + return pulumix.Output[DSSEHint]{ + OutputState: i.ToDSSEHintOutputWithContext(ctx).OutputState, + } +} + func (i DSSEHintArgs) ToDSSEHintPtrOutput() DSSEHintPtrOutput { return i.ToDSSEHintPtrOutputWithContext(context.Background()) } @@ -5342,6 +6069,12 @@ func (i *dssehintPtrType) ToDSSEHintPtrOutputWithContext(ctx context.Context) DS return pulumi.ToOutputWithContext(ctx, i).(DSSEHintPtrOutput) } +func (i *dssehintPtrType) ToOutput(ctx context.Context) pulumix.Output[*DSSEHint] { + return pulumix.Output[*DSSEHint]{ + OutputState: i.ToDSSEHintPtrOutputWithContext(ctx).OutputState, + } +} + // This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify. type DSSEHintOutput struct{ *pulumi.OutputState } @@ -5367,6 +6100,12 @@ func (o DSSEHintOutput) ToDSSEHintPtrOutputWithContext(ctx context.Context) DSSE }).(DSSEHintPtrOutput) } +func (o DSSEHintOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEHint] { + return pulumix.Output[DSSEHint]{ + OutputState: o.OutputState, + } +} + // The human readable name of this attestation authority, for example "cloudbuild-prod". func (o DSSEHintOutput) HumanReadableName() pulumi.StringOutput { return o.ApplyT(func(v DSSEHint) string { return v.HumanReadableName }).(pulumi.StringOutput) @@ -5386,6 +6125,12 @@ func (o DSSEHintPtrOutput) ToDSSEHintPtrOutputWithContext(ctx context.Context) D return o } +func (o DSSEHintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DSSEHint] { + return pulumix.Output[*DSSEHint]{ + OutputState: o.OutputState, + } +} + func (o DSSEHintPtrOutput) Elem() DSSEHintOutput { return o.ApplyT(func(v *DSSEHint) DSSEHint { if v != nil { @@ -5427,6 +6172,12 @@ func (o DSSEHintResponseOutput) ToDSSEHintResponseOutputWithContext(ctx context. return o } +func (o DSSEHintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEHintResponse] { + return pulumix.Output[DSSEHintResponse]{ + OutputState: o.OutputState, + } +} + // The human readable name of this attestation authority, for example "cloudbuild-prod". func (o DSSEHintResponseOutput) HumanReadableName() pulumi.StringOutput { return o.ApplyT(func(v DSSEHintResponse) string { return v.HumanReadableName }).(pulumi.StringOutput) @@ -5467,6 +6218,12 @@ func (i DeploymentNoteArgs) ToDeploymentNoteOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DeploymentNoteOutput) } +func (i DeploymentNoteArgs) ToOutput(ctx context.Context) pulumix.Output[DeploymentNote] { + return pulumix.Output[DeploymentNote]{ + OutputState: i.ToDeploymentNoteOutputWithContext(ctx).OutputState, + } +} + func (i DeploymentNoteArgs) ToDeploymentNotePtrOutput() DeploymentNotePtrOutput { return i.ToDeploymentNotePtrOutputWithContext(context.Background()) } @@ -5508,6 +6265,12 @@ func (i *deploymentNotePtrType) ToDeploymentNotePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DeploymentNotePtrOutput) } +func (i *deploymentNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*DeploymentNote] { + return pulumix.Output[*DeploymentNote]{ + OutputState: i.ToDeploymentNotePtrOutputWithContext(ctx).OutputState, + } +} + // An artifact that can be deployed in some runtime. type DeploymentNoteOutput struct{ *pulumi.OutputState } @@ -5533,6 +6296,12 @@ func (o DeploymentNoteOutput) ToDeploymentNotePtrOutputWithContext(ctx context.C }).(DeploymentNotePtrOutput) } +func (o DeploymentNoteOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentNote] { + return pulumix.Output[DeploymentNote]{ + OutputState: o.OutputState, + } +} + // Resource URI for the artifact being deployed. func (o DeploymentNoteOutput) ResourceUri() pulumi.StringArrayOutput { return o.ApplyT(func(v DeploymentNote) []string { return v.ResourceUri }).(pulumi.StringArrayOutput) @@ -5552,6 +6321,12 @@ func (o DeploymentNotePtrOutput) ToDeploymentNotePtrOutputWithContext(ctx contex return o } +func (o DeploymentNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentNote] { + return pulumix.Output[*DeploymentNote]{ + OutputState: o.OutputState, + } +} + func (o DeploymentNotePtrOutput) Elem() DeploymentNoteOutput { return o.ApplyT(func(v *DeploymentNote) DeploymentNote { if v != nil { @@ -5593,6 +6368,12 @@ func (o DeploymentNoteResponseOutput) ToDeploymentNoteResponseOutputWithContext( return o } +func (o DeploymentNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentNoteResponse] { + return pulumix.Output[DeploymentNoteResponse]{ + OutputState: o.OutputState, + } +} + // Resource URI for the artifact being deployed. func (o DeploymentNoteResponseOutput) ResourceUri() pulumi.StringArrayOutput { return o.ApplyT(func(v DeploymentNoteResponse) []string { return v.ResourceUri }).(pulumi.StringArrayOutput) @@ -5653,6 +6434,12 @@ func (i DeploymentOccurrenceArgs) ToDeploymentOccurrenceOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DeploymentOccurrenceOutput) } +func (i DeploymentOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[DeploymentOccurrence] { + return pulumix.Output[DeploymentOccurrence]{ + OutputState: i.ToDeploymentOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i DeploymentOccurrenceArgs) ToDeploymentOccurrencePtrOutput() DeploymentOccurrencePtrOutput { return i.ToDeploymentOccurrencePtrOutputWithContext(context.Background()) } @@ -5694,6 +6481,12 @@ func (i *deploymentOccurrencePtrType) ToDeploymentOccurrencePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DeploymentOccurrencePtrOutput) } +func (i *deploymentOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*DeploymentOccurrence] { + return pulumix.Output[*DeploymentOccurrence]{ + OutputState: i.ToDeploymentOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // The period during which some deployable was active in a runtime. type DeploymentOccurrenceOutput struct{ *pulumi.OutputState } @@ -5719,6 +6512,12 @@ func (o DeploymentOccurrenceOutput) ToDeploymentOccurrencePtrOutputWithContext(c }).(DeploymentOccurrencePtrOutput) } +func (o DeploymentOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentOccurrence] { + return pulumix.Output[DeploymentOccurrence]{ + OutputState: o.OutputState, + } +} + // Address of the runtime element hosting this deployment. func (o DeploymentOccurrenceOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentOccurrence) *string { return v.Address }).(pulumi.StringPtrOutput) @@ -5763,6 +6562,12 @@ func (o DeploymentOccurrencePtrOutput) ToDeploymentOccurrencePtrOutputWithContex return o } +func (o DeploymentOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentOccurrence] { + return pulumix.Output[*DeploymentOccurrence]{ + OutputState: o.OutputState, + } +} + func (o DeploymentOccurrencePtrOutput) Elem() DeploymentOccurrenceOutput { return o.ApplyT(func(v *DeploymentOccurrence) DeploymentOccurrence { if v != nil { @@ -5866,6 +6671,12 @@ func (o DeploymentOccurrenceResponseOutput) ToDeploymentOccurrenceResponseOutput return o } +func (o DeploymentOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentOccurrenceResponse] { + return pulumix.Output[DeploymentOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // Address of the runtime element hosting this deployment. func (o DeploymentOccurrenceResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v DeploymentOccurrenceResponse) string { return v.Address }).(pulumi.StringOutput) @@ -5988,6 +6799,12 @@ func (i DetailArgs) ToDetailOutputWithContext(ctx context.Context) DetailOutput return pulumi.ToOutputWithContext(ctx, i).(DetailOutput) } +func (i DetailArgs) ToOutput(ctx context.Context) pulumix.Output[Detail] { + return pulumix.Output[Detail]{ + OutputState: i.ToDetailOutputWithContext(ctx).OutputState, + } +} + // DetailArrayInput is an input type that accepts DetailArray and DetailArrayOutput values. // You can construct a concrete instance of `DetailArrayInput` via: // @@ -6013,6 +6830,12 @@ func (i DetailArray) ToDetailArrayOutputWithContext(ctx context.Context) DetailA return pulumi.ToOutputWithContext(ctx, i).(DetailArrayOutput) } +func (i DetailArray) ToOutput(ctx context.Context) pulumix.Output[[]Detail] { + return pulumix.Output[[]Detail]{ + OutputState: i.ToDetailArrayOutputWithContext(ctx).OutputState, + } +} + // A detail for a distro and package affected by this vulnerability and its associated fix (if one is available). type DetailOutput struct{ *pulumi.OutputState } @@ -6028,6 +6851,12 @@ func (o DetailOutput) ToDetailOutputWithContext(ctx context.Context) DetailOutpu return o } +func (o DetailOutput) ToOutput(ctx context.Context) pulumix.Output[Detail] { + return pulumix.Output[Detail]{ + OutputState: o.OutputState, + } +} + // The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. func (o DetailOutput) AffectedCpeUri() pulumi.StringOutput { return o.ApplyT(func(v Detail) string { return v.AffectedCpeUri }).(pulumi.StringOutput) @@ -6112,6 +6941,12 @@ func (o DetailArrayOutput) ToDetailArrayOutputWithContext(ctx context.Context) D return o } +func (o DetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Detail] { + return pulumix.Output[[]Detail]{ + OutputState: o.OutputState, + } +} + func (o DetailArrayOutput) Index(i pulumi.IntInput) DetailOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Detail { return vs[0].([]Detail)[vs[1].(int)] @@ -6165,6 +7000,12 @@ func (o DetailResponseOutput) ToDetailResponseOutputWithContext(ctx context.Cont return o } +func (o DetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DetailResponse] { + return pulumix.Output[DetailResponse]{ + OutputState: o.OutputState, + } +} + // The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. func (o DetailResponseOutput) AffectedCpeUri() pulumi.StringOutput { return o.ApplyT(func(v DetailResponse) string { return v.AffectedCpeUri }).(pulumi.StringOutput) @@ -6249,6 +7090,12 @@ func (o DetailResponseArrayOutput) ToDetailResponseArrayOutputWithContext(ctx co return o } +func (o DetailResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DetailResponse] { + return pulumix.Output[[]DetailResponse]{ + OutputState: o.OutputState, + } +} + func (o DetailResponseArrayOutput) Index(i pulumi.IntInput) DetailResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DetailResponse { return vs[0].([]DetailResponse)[vs[1].(int)] @@ -6294,6 +7141,12 @@ func (i DigestArgs) ToDigestOutputWithContext(ctx context.Context) DigestOutput return pulumi.ToOutputWithContext(ctx, i).(DigestOutput) } +func (i DigestArgs) ToOutput(ctx context.Context) pulumix.Output[Digest] { + return pulumix.Output[Digest]{ + OutputState: i.ToDigestOutputWithContext(ctx).OutputState, + } +} + // DigestArrayInput is an input type that accepts DigestArray and DigestArrayOutput values. // You can construct a concrete instance of `DigestArrayInput` via: // @@ -6319,6 +7172,12 @@ func (i DigestArray) ToDigestArrayOutputWithContext(ctx context.Context) DigestA return pulumi.ToOutputWithContext(ctx, i).(DigestArrayOutput) } +func (i DigestArray) ToOutput(ctx context.Context) pulumix.Output[[]Digest] { + return pulumix.Output[[]Digest]{ + OutputState: i.ToDigestArrayOutputWithContext(ctx).OutputState, + } +} + // Digest information. type DigestOutput struct{ *pulumi.OutputState } @@ -6334,6 +7193,12 @@ func (o DigestOutput) ToDigestOutputWithContext(ctx context.Context) DigestOutpu return o } +func (o DigestOutput) ToOutput(ctx context.Context) pulumix.Output[Digest] { + return pulumix.Output[Digest]{ + OutputState: o.OutputState, + } +} + // `SHA1`, `SHA512` etc. func (o DigestOutput) Algo() pulumi.StringPtrOutput { return o.ApplyT(func(v Digest) *string { return v.Algo }).(pulumi.StringPtrOutput) @@ -6358,6 +7223,12 @@ func (o DigestArrayOutput) ToDigestArrayOutputWithContext(ctx context.Context) D return o } +func (o DigestArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Digest] { + return pulumix.Output[[]Digest]{ + OutputState: o.OutputState, + } +} + func (o DigestArrayOutput) Index(i pulumi.IntInput) DigestOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Digest { return vs[0].([]Digest)[vs[1].(int)] @@ -6387,6 +7258,12 @@ func (o DigestResponseOutput) ToDigestResponseOutputWithContext(ctx context.Cont return o } +func (o DigestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DigestResponse] { + return pulumix.Output[DigestResponse]{ + OutputState: o.OutputState, + } +} + // `SHA1`, `SHA512` etc. func (o DigestResponseOutput) Algo() pulumi.StringOutput { return o.ApplyT(func(v DigestResponse) string { return v.Algo }).(pulumi.StringOutput) @@ -6411,6 +7288,12 @@ func (o DigestResponseArrayOutput) ToDigestResponseArrayOutputWithContext(ctx co return o } +func (o DigestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DigestResponse] { + return pulumix.Output[[]DigestResponse]{ + OutputState: o.OutputState, + } +} + func (o DigestResponseArrayOutput) Index(i pulumi.IntInput) DigestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DigestResponse { return vs[0].([]DigestResponse)[vs[1].(int)] @@ -6452,6 +7335,12 @@ func (i DiscoveryNoteArgs) ToDiscoveryNoteOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DiscoveryNoteOutput) } +func (i DiscoveryNoteArgs) ToOutput(ctx context.Context) pulumix.Output[DiscoveryNote] { + return pulumix.Output[DiscoveryNote]{ + OutputState: i.ToDiscoveryNoteOutputWithContext(ctx).OutputState, + } +} + func (i DiscoveryNoteArgs) ToDiscoveryNotePtrOutput() DiscoveryNotePtrOutput { return i.ToDiscoveryNotePtrOutputWithContext(context.Background()) } @@ -6493,6 +7382,12 @@ func (i *discoveryNotePtrType) ToDiscoveryNotePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DiscoveryNotePtrOutput) } +func (i *discoveryNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryNote] { + return pulumix.Output[*DiscoveryNote]{ + OutputState: i.ToDiscoveryNotePtrOutputWithContext(ctx).OutputState, + } +} + // A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis. type DiscoveryNoteOutput struct{ *pulumi.OutputState } @@ -6518,6 +7413,12 @@ func (o DiscoveryNoteOutput) ToDiscoveryNotePtrOutputWithContext(ctx context.Con }).(DiscoveryNotePtrOutput) } +func (o DiscoveryNoteOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryNote] { + return pulumix.Output[DiscoveryNote]{ + OutputState: o.OutputState, + } +} + // Immutable. The kind of analysis that is handled by this discovery. func (o DiscoveryNoteOutput) AnalysisKind() DiscoveryNoteAnalysisKindOutput { return o.ApplyT(func(v DiscoveryNote) DiscoveryNoteAnalysisKind { return v.AnalysisKind }).(DiscoveryNoteAnalysisKindOutput) @@ -6537,6 +7438,12 @@ func (o DiscoveryNotePtrOutput) ToDiscoveryNotePtrOutputWithContext(ctx context. return o } +func (o DiscoveryNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryNote] { + return pulumix.Output[*DiscoveryNote]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryNotePtrOutput) Elem() DiscoveryNoteOutput { return o.ApplyT(func(v *DiscoveryNote) DiscoveryNote { if v != nil { @@ -6578,6 +7485,12 @@ func (o DiscoveryNoteResponseOutput) ToDiscoveryNoteResponseOutputWithContext(ct return o } +func (o DiscoveryNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryNoteResponse] { + return pulumix.Output[DiscoveryNoteResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The kind of analysis that is handled by this discovery. func (o DiscoveryNoteResponseOutput) AnalysisKind() pulumi.StringOutput { return o.ApplyT(func(v DiscoveryNoteResponse) string { return v.AnalysisKind }).(pulumi.StringOutput) @@ -6640,6 +7553,12 @@ func (i DiscoveryOccurrenceArgs) ToDiscoveryOccurrenceOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(DiscoveryOccurrenceOutput) } +func (i DiscoveryOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[DiscoveryOccurrence] { + return pulumix.Output[DiscoveryOccurrence]{ + OutputState: i.ToDiscoveryOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i DiscoveryOccurrenceArgs) ToDiscoveryOccurrencePtrOutput() DiscoveryOccurrencePtrOutput { return i.ToDiscoveryOccurrencePtrOutputWithContext(context.Background()) } @@ -6681,6 +7600,12 @@ func (i *discoveryOccurrencePtrType) ToDiscoveryOccurrencePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(DiscoveryOccurrencePtrOutput) } +func (i *discoveryOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryOccurrence] { + return pulumix.Output[*DiscoveryOccurrence]{ + OutputState: i.ToDiscoveryOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // Provides information about the analysis status of a discovered resource. type DiscoveryOccurrenceOutput struct{ *pulumi.OutputState } @@ -6706,6 +7631,12 @@ func (o DiscoveryOccurrenceOutput) ToDiscoveryOccurrencePtrOutputWithContext(ctx }).(DiscoveryOccurrencePtrOutput) } +func (o DiscoveryOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryOccurrence] { + return pulumix.Output[DiscoveryOccurrence]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryOccurrenceOutput) AnalysisCompleted() AnalysisCompletedPtrOutput { return o.ApplyT(func(v DiscoveryOccurrence) *AnalysisCompleted { return v.AnalysisCompleted }).(AnalysisCompletedPtrOutput) } @@ -6754,6 +7685,12 @@ func (o DiscoveryOccurrencePtrOutput) ToDiscoveryOccurrencePtrOutputWithContext( return o } +func (o DiscoveryOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryOccurrence] { + return pulumix.Output[*DiscoveryOccurrence]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryOccurrencePtrOutput) Elem() DiscoveryOccurrenceOutput { return o.ApplyT(func(v *DiscoveryOccurrence) DiscoveryOccurrence { if v != nil { @@ -6867,6 +7804,12 @@ func (o DiscoveryOccurrenceResponseOutput) ToDiscoveryOccurrenceResponseOutputWi return o } +func (o DiscoveryOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryOccurrenceResponse] { + return pulumix.Output[DiscoveryOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryOccurrenceResponseOutput) AnalysisCompleted() AnalysisCompletedResponseOutput { return o.ApplyT(func(v DiscoveryOccurrenceResponse) AnalysisCompletedResponse { return v.AnalysisCompleted }).(AnalysisCompletedResponseOutput) } @@ -6961,6 +7904,12 @@ func (i DistributionArgs) ToDistributionOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DistributionOutput) } +func (i DistributionArgs) ToOutput(ctx context.Context) pulumix.Output[Distribution] { + return pulumix.Output[Distribution]{ + OutputState: i.ToDistributionOutputWithContext(ctx).OutputState, + } +} + // DistributionArrayInput is an input type that accepts DistributionArray and DistributionArrayOutput values. // You can construct a concrete instance of `DistributionArrayInput` via: // @@ -6986,6 +7935,12 @@ func (i DistributionArray) ToDistributionArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DistributionArrayOutput) } +func (i DistributionArray) ToOutput(ctx context.Context) pulumix.Output[[]Distribution] { + return pulumix.Output[[]Distribution]{ + OutputState: i.ToDistributionArrayOutputWithContext(ctx).OutputState, + } +} + // This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror. type DistributionOutput struct{ *pulumi.OutputState } @@ -7001,6 +7956,12 @@ func (o DistributionOutput) ToDistributionOutputWithContext(ctx context.Context) return o } +func (o DistributionOutput) ToOutput(ctx context.Context) pulumix.Output[Distribution] { + return pulumix.Output[Distribution]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. func (o DistributionOutput) Architecture() DistributionArchitecturePtrOutput { return o.ApplyT(func(v Distribution) *DistributionArchitecture { return v.Architecture }).(DistributionArchitecturePtrOutput) @@ -7045,6 +8006,12 @@ func (o DistributionArrayOutput) ToDistributionArrayOutputWithContext(ctx contex return o } +func (o DistributionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Distribution] { + return pulumix.Output[[]Distribution]{ + OutputState: o.OutputState, + } +} + func (o DistributionArrayOutput) Index(i pulumi.IntInput) DistributionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Distribution { return vs[0].([]Distribution)[vs[1].(int)] @@ -7082,6 +8049,12 @@ func (o DistributionResponseOutput) ToDistributionResponseOutputWithContext(ctx return o } +func (o DistributionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionResponse] { + return pulumix.Output[DistributionResponse]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. func (o DistributionResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v DistributionResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -7126,6 +8099,12 @@ func (o DistributionResponseArrayOutput) ToDistributionResponseArrayOutputWithCo return o } +func (o DistributionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DistributionResponse] { + return pulumix.Output[[]DistributionResponse]{ + OutputState: o.OutputState, + } +} + func (o DistributionResponseArrayOutput) Index(i pulumi.IntInput) DistributionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DistributionResponse { return vs[0].([]DistributionResponse)[vs[1].(int)] @@ -7169,6 +8148,12 @@ func (i EnvelopeArgs) ToEnvelopeOutputWithContext(ctx context.Context) EnvelopeO return pulumi.ToOutputWithContext(ctx, i).(EnvelopeOutput) } +func (i EnvelopeArgs) ToOutput(ctx context.Context) pulumix.Output[Envelope] { + return pulumix.Output[Envelope]{ + OutputState: i.ToEnvelopeOutputWithContext(ctx).OutputState, + } +} + func (i EnvelopeArgs) ToEnvelopePtrOutput() EnvelopePtrOutput { return i.ToEnvelopePtrOutputWithContext(context.Background()) } @@ -7210,6 +8195,12 @@ func (i *envelopePtrType) ToEnvelopePtrOutputWithContext(ctx context.Context) En return pulumi.ToOutputWithContext(ctx, i).(EnvelopePtrOutput) } +func (i *envelopePtrType) ToOutput(ctx context.Context) pulumix.Output[*Envelope] { + return pulumix.Output[*Envelope]{ + OutputState: i.ToEnvelopePtrOutputWithContext(ctx).OutputState, + } +} + // MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. type EnvelopeOutput struct{ *pulumi.OutputState } @@ -7235,6 +8226,12 @@ func (o EnvelopeOutput) ToEnvelopePtrOutputWithContext(ctx context.Context) Enve }).(EnvelopePtrOutput) } +func (o EnvelopeOutput) ToOutput(ctx context.Context) pulumix.Output[Envelope] { + return pulumix.Output[Envelope]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeOutput) Payload() pulumi.StringPtrOutput { return o.ApplyT(func(v Envelope) *string { return v.Payload }).(pulumi.StringPtrOutput) } @@ -7261,6 +8258,12 @@ func (o EnvelopePtrOutput) ToEnvelopePtrOutputWithContext(ctx context.Context) E return o } +func (o EnvelopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Envelope] { + return pulumix.Output[*Envelope]{ + OutputState: o.OutputState, + } +} + func (o EnvelopePtrOutput) Elem() EnvelopeOutput { return o.ApplyT(func(v *Envelope) Envelope { if v != nil { @@ -7320,6 +8323,12 @@ func (o EnvelopeResponseOutput) ToEnvelopeResponseOutputWithContext(ctx context. return o } +func (o EnvelopeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvelopeResponse] { + return pulumix.Output[EnvelopeResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeResponseOutput) Payload() pulumi.StringOutput { return o.ApplyT(func(v EnvelopeResponse) string { return v.Payload }).(pulumi.StringOutput) } @@ -7365,6 +8374,12 @@ func (i EnvelopeSignatureArgs) ToEnvelopeSignatureOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(EnvelopeSignatureOutput) } +func (i EnvelopeSignatureArgs) ToOutput(ctx context.Context) pulumix.Output[EnvelopeSignature] { + return pulumix.Output[EnvelopeSignature]{ + OutputState: i.ToEnvelopeSignatureOutputWithContext(ctx).OutputState, + } +} + // EnvelopeSignatureArrayInput is an input type that accepts EnvelopeSignatureArray and EnvelopeSignatureArrayOutput values. // You can construct a concrete instance of `EnvelopeSignatureArrayInput` via: // @@ -7390,6 +8405,12 @@ func (i EnvelopeSignatureArray) ToEnvelopeSignatureArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(EnvelopeSignatureArrayOutput) } +func (i EnvelopeSignatureArray) ToOutput(ctx context.Context) pulumix.Output[[]EnvelopeSignature] { + return pulumix.Output[[]EnvelopeSignature]{ + OutputState: i.ToEnvelopeSignatureArrayOutputWithContext(ctx).OutputState, + } +} + type EnvelopeSignatureOutput struct{ *pulumi.OutputState } func (EnvelopeSignatureOutput) ElementType() reflect.Type { @@ -7404,6 +8425,12 @@ func (o EnvelopeSignatureOutput) ToEnvelopeSignatureOutputWithContext(ctx contex return o } +func (o EnvelopeSignatureOutput) ToOutput(ctx context.Context) pulumix.Output[EnvelopeSignature] { + return pulumix.Output[EnvelopeSignature]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeSignatureOutput) Keyid() pulumi.StringPtrOutput { return o.ApplyT(func(v EnvelopeSignature) *string { return v.Keyid }).(pulumi.StringPtrOutput) } @@ -7426,6 +8453,12 @@ func (o EnvelopeSignatureArrayOutput) ToEnvelopeSignatureArrayOutputWithContext( return o } +func (o EnvelopeSignatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvelopeSignature] { + return pulumix.Output[[]EnvelopeSignature]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeSignatureArrayOutput) Index(i pulumi.IntInput) EnvelopeSignatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvelopeSignature { return vs[0].([]EnvelopeSignature)[vs[1].(int)] @@ -7451,6 +8484,12 @@ func (o EnvelopeSignatureResponseOutput) ToEnvelopeSignatureResponseOutputWithCo return o } +func (o EnvelopeSignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvelopeSignatureResponse] { + return pulumix.Output[EnvelopeSignatureResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeSignatureResponseOutput) Keyid() pulumi.StringOutput { return o.ApplyT(func(v EnvelopeSignatureResponse) string { return v.Keyid }).(pulumi.StringOutput) } @@ -7473,6 +8512,12 @@ func (o EnvelopeSignatureResponseArrayOutput) ToEnvelopeSignatureResponseArrayOu return o } +func (o EnvelopeSignatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvelopeSignatureResponse] { + return pulumix.Output[[]EnvelopeSignatureResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeSignatureResponseArrayOutput) Index(i pulumi.IntInput) EnvelopeSignatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvelopeSignatureResponse { return vs[0].([]EnvelopeSignatureResponse)[vs[1].(int)] @@ -7526,6 +8571,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -7567,6 +8618,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -7592,6 +8649,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -7626,6 +8689,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -7703,6 +8772,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -7762,6 +8837,12 @@ func (i FingerprintArgs) ToFingerprintOutputWithContext(ctx context.Context) Fin return pulumi.ToOutputWithContext(ctx, i).(FingerprintOutput) } +func (i FingerprintArgs) ToOutput(ctx context.Context) pulumix.Output[Fingerprint] { + return pulumix.Output[Fingerprint]{ + OutputState: i.ToFingerprintOutputWithContext(ctx).OutputState, + } +} + func (i FingerprintArgs) ToFingerprintPtrOutput() FingerprintPtrOutput { return i.ToFingerprintPtrOutputWithContext(context.Background()) } @@ -7803,6 +8884,12 @@ func (i *fingerprintPtrType) ToFingerprintPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FingerprintPtrOutput) } +func (i *fingerprintPtrType) ToOutput(ctx context.Context) pulumix.Output[*Fingerprint] { + return pulumix.Output[*Fingerprint]{ + OutputState: i.ToFingerprintPtrOutputWithContext(ctx).OutputState, + } +} + // A set of properties that uniquely identify a given Docker image. type FingerprintOutput struct{ *pulumi.OutputState } @@ -7828,6 +8915,12 @@ func (o FingerprintOutput) ToFingerprintPtrOutputWithContext(ctx context.Context }).(FingerprintPtrOutput) } +func (o FingerprintOutput) ToOutput(ctx context.Context) pulumix.Output[Fingerprint] { + return pulumix.Output[Fingerprint]{ + OutputState: o.OutputState, + } +} + // The layer ID of the final layer in the Docker image's v1 representation. func (o FingerprintOutput) V1Name() pulumi.StringOutput { return o.ApplyT(func(v Fingerprint) string { return v.V1Name }).(pulumi.StringOutput) @@ -7852,6 +8945,12 @@ func (o FingerprintPtrOutput) ToFingerprintPtrOutputWithContext(ctx context.Cont return o } +func (o FingerprintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Fingerprint] { + return pulumix.Output[*Fingerprint]{ + OutputState: o.OutputState, + } +} + func (o FingerprintPtrOutput) Elem() FingerprintOutput { return o.ApplyT(func(v *Fingerprint) Fingerprint { if v != nil { @@ -7907,6 +9006,12 @@ func (o FingerprintResponseOutput) ToFingerprintResponseOutputWithContext(ctx co return o } +func (o FingerprintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FingerprintResponse] { + return pulumix.Output[FingerprintResponse]{ + OutputState: o.OutputState, + } +} + // The layer ID of the final layer in the Docker image's v1 representation. func (o FingerprintResponseOutput) V1Name() pulumi.StringOutput { return o.ApplyT(func(v FingerprintResponse) string { return v.V1Name }).(pulumi.StringOutput) @@ -7969,6 +9074,12 @@ func (i GerritSourceContextArgs) ToGerritSourceContextOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GerritSourceContextOutput) } +func (i GerritSourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[GerritSourceContext] { + return pulumix.Output[GerritSourceContext]{ + OutputState: i.ToGerritSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i GerritSourceContextArgs) ToGerritSourceContextPtrOutput() GerritSourceContextPtrOutput { return i.ToGerritSourceContextPtrOutputWithContext(context.Background()) } @@ -8010,6 +9121,12 @@ func (i *gerritSourceContextPtrType) ToGerritSourceContextPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(GerritSourceContextPtrOutput) } +func (i *gerritSourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GerritSourceContext] { + return pulumix.Output[*GerritSourceContext]{ + OutputState: i.ToGerritSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // A SourceContext referring to a Gerrit project. type GerritSourceContextOutput struct{ *pulumi.OutputState } @@ -8035,6 +9152,12 @@ func (o GerritSourceContextOutput) ToGerritSourceContextPtrOutputWithContext(ctx }).(GerritSourceContextPtrOutput) } +func (o GerritSourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[GerritSourceContext] { + return pulumix.Output[GerritSourceContext]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o GerritSourceContextOutput) AliasContext() AliasContextPtrOutput { return o.ApplyT(func(v GerritSourceContext) *AliasContext { return v.AliasContext }).(AliasContextPtrOutput) @@ -8069,6 +9192,12 @@ func (o GerritSourceContextPtrOutput) ToGerritSourceContextPtrOutputWithContext( return o } +func (o GerritSourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GerritSourceContext] { + return pulumix.Output[*GerritSourceContext]{ + OutputState: o.OutputState, + } +} + func (o GerritSourceContextPtrOutput) Elem() GerritSourceContextOutput { return o.ApplyT(func(v *GerritSourceContext) GerritSourceContext { if v != nil { @@ -8146,6 +9275,12 @@ func (o GerritSourceContextResponseOutput) ToGerritSourceContextResponseOutputWi return o } +func (o GerritSourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GerritSourceContextResponse] { + return pulumix.Output[GerritSourceContextResponse]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o GerritSourceContextResponseOutput) AliasContext() AliasContextResponseOutput { return o.ApplyT(func(v GerritSourceContextResponse) AliasContextResponse { return v.AliasContext }).(AliasContextResponseOutput) @@ -8205,6 +9340,12 @@ func (i GitSourceContextArgs) ToGitSourceContextOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GitSourceContextOutput) } +func (i GitSourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[GitSourceContext] { + return pulumix.Output[GitSourceContext]{ + OutputState: i.ToGitSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i GitSourceContextArgs) ToGitSourceContextPtrOutput() GitSourceContextPtrOutput { return i.ToGitSourceContextPtrOutputWithContext(context.Background()) } @@ -8246,6 +9387,12 @@ func (i *gitSourceContextPtrType) ToGitSourceContextPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GitSourceContextPtrOutput) } +func (i *gitSourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GitSourceContext] { + return pulumix.Output[*GitSourceContext]{ + OutputState: i.ToGitSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). type GitSourceContextOutput struct{ *pulumi.OutputState } @@ -8271,6 +9418,12 @@ func (o GitSourceContextOutput) ToGitSourceContextPtrOutputWithContext(ctx conte }).(GitSourceContextPtrOutput) } +func (o GitSourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[GitSourceContext] { + return pulumix.Output[GitSourceContext]{ + OutputState: o.OutputState, + } +} + // Git commit hash. func (o GitSourceContextOutput) RevisionId() pulumi.StringPtrOutput { return o.ApplyT(func(v GitSourceContext) *string { return v.RevisionId }).(pulumi.StringPtrOutput) @@ -8295,6 +9448,12 @@ func (o GitSourceContextPtrOutput) ToGitSourceContextPtrOutputWithContext(ctx co return o } +func (o GitSourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitSourceContext] { + return pulumix.Output[*GitSourceContext]{ + OutputState: o.OutputState, + } +} + func (o GitSourceContextPtrOutput) Elem() GitSourceContextOutput { return o.ApplyT(func(v *GitSourceContext) GitSourceContext { if v != nil { @@ -8348,6 +9507,12 @@ func (o GitSourceContextResponseOutput) ToGitSourceContextResponseOutputWithCont return o } +func (o GitSourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitSourceContextResponse] { + return pulumix.Output[GitSourceContextResponse]{ + OutputState: o.OutputState, + } +} + // Git commit hash. func (o GitSourceContextResponseOutput) RevisionId() pulumi.StringOutput { return o.ApplyT(func(v GitSourceContextResponse) string { return v.RevisionId }).(pulumi.StringOutput) @@ -8393,6 +9558,12 @@ func (i GrafeasV1FileLocationArgs) ToGrafeasV1FileLocationOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1FileLocationOutput) } +func (i GrafeasV1FileLocationArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1FileLocation] { + return pulumix.Output[GrafeasV1FileLocation]{ + OutputState: i.ToGrafeasV1FileLocationOutputWithContext(ctx).OutputState, + } +} + // GrafeasV1FileLocationArrayInput is an input type that accepts GrafeasV1FileLocationArray and GrafeasV1FileLocationArrayOutput values. // You can construct a concrete instance of `GrafeasV1FileLocationArrayInput` via: // @@ -8418,6 +9589,12 @@ func (i GrafeasV1FileLocationArray) ToGrafeasV1FileLocationArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1FileLocationArrayOutput) } +func (i GrafeasV1FileLocationArray) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1FileLocation] { + return pulumix.Output[[]GrafeasV1FileLocation]{ + OutputState: i.ToGrafeasV1FileLocationArrayOutputWithContext(ctx).OutputState, + } +} + // Indicates the location at which a package was found. type GrafeasV1FileLocationOutput struct{ *pulumi.OutputState } @@ -8433,6 +9610,12 @@ func (o GrafeasV1FileLocationOutput) ToGrafeasV1FileLocationOutputWithContext(ct return o } +func (o GrafeasV1FileLocationOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1FileLocation] { + return pulumix.Output[GrafeasV1FileLocation]{ + OutputState: o.OutputState, + } +} + // For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. func (o GrafeasV1FileLocationOutput) FilePath() pulumi.StringPtrOutput { return o.ApplyT(func(v GrafeasV1FileLocation) *string { return v.FilePath }).(pulumi.StringPtrOutput) @@ -8452,6 +9635,12 @@ func (o GrafeasV1FileLocationArrayOutput) ToGrafeasV1FileLocationArrayOutputWith return o } +func (o GrafeasV1FileLocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1FileLocation] { + return pulumix.Output[[]GrafeasV1FileLocation]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1FileLocationArrayOutput) Index(i pulumi.IntInput) GrafeasV1FileLocationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrafeasV1FileLocation { return vs[0].([]GrafeasV1FileLocation)[vs[1].(int)] @@ -8479,6 +9668,12 @@ func (o GrafeasV1FileLocationResponseOutput) ToGrafeasV1FileLocationResponseOutp return o } +func (o GrafeasV1FileLocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1FileLocationResponse] { + return pulumix.Output[GrafeasV1FileLocationResponse]{ + OutputState: o.OutputState, + } +} + // For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. func (o GrafeasV1FileLocationResponseOutput) FilePath() pulumi.StringOutput { return o.ApplyT(func(v GrafeasV1FileLocationResponse) string { return v.FilePath }).(pulumi.StringOutput) @@ -8498,6 +9693,12 @@ func (o GrafeasV1FileLocationResponseArrayOutput) ToGrafeasV1FileLocationRespons return o } +func (o GrafeasV1FileLocationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1FileLocationResponse] { + return pulumix.Output[[]GrafeasV1FileLocationResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1FileLocationResponseArrayOutput) Index(i pulumi.IntInput) GrafeasV1FileLocationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrafeasV1FileLocationResponse { return vs[0].([]GrafeasV1FileLocationResponse)[vs[1].(int)] @@ -8537,6 +9738,12 @@ func (i GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderArgs) ToGrafeasV1SlsaProvenance return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderOutput) } +func (i GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaBuilderOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderArgs) ToGrafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput() GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput { return i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrOutputWithContext(context.Background()) } @@ -8578,6 +9785,12 @@ func (i *grafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrType) ToGrafeasV1SlsaProven return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput) } +func (i *grafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder] { + return pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrOutputWithContext(ctx).OutputState, + } +} + // Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. type GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderOutput struct{ *pulumi.OutputState } @@ -8603,6 +9816,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderOutput) ToGrafeasV1SlsaProvenan }).(GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput) } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder) *string { return v.Id }).(pulumi.StringPtrOutput) } @@ -8621,6 +9840,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput) ToGrafeasV1SlsaProve return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder] { + return pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput) Elem() GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderOutput { return o.ApplyT(func(v *GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder) GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder { if v != nil { @@ -8659,6 +9884,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderResponseOutput) ToGrafeasV1Slsa return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderResponse] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderResponse]{ + OutputState: o.OutputState, + } +} + // Indicates that the builder claims certain fields in this message to be complete. type GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness struct { Environment *bool `pulumi:"environment"` @@ -8696,6 +9927,12 @@ func (i GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessArgs) ToGrafeasV1SlsaProve return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessOutput) } +func (i GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessArgs) ToGrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput() GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput { return i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutputWithContext(context.Background()) } @@ -8737,6 +9974,12 @@ func (i *grafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrType) ToGrafeasV1SlsaP return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput) } +func (i *grafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness] { + return pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that the builder claims certain fields in this message to be complete. type GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessOutput struct{ *pulumi.OutputState } @@ -8762,6 +10005,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessOutput) ToGrafeasV1SlsaPro }).(GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput) } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessOutput) Environment() pulumi.BoolPtrOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness) *bool { return v.Environment }).(pulumi.BoolPtrOutput) } @@ -8788,6 +10037,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput) ToGrafeasV1Slsa return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness] { + return pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput) Elem() GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessOutput { return o.ApplyT(func(v *GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness) GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness { if v != nil { @@ -8847,6 +10102,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessResponseOutput) ToGrafeasV return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessResponse] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessResponseOutput) Environment() pulumi.BoolOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaCompletenessResponse) bool { return v.Environment }).(pulumi.BoolOutput) } @@ -8896,6 +10157,12 @@ func (i GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceArgs) ToGrafeasV1SlsaProve return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceOutput) } +func (i GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceArgs) ToGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput() GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput { return i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutputWithContext(context.Background()) } @@ -8937,6 +10204,12 @@ func (i *grafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrType) ToGrafeasV1SlsaP return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput) } +func (i *grafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource] { + return pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. type GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceOutput struct{ *pulumi.OutputState } @@ -8962,6 +10235,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceOutput) ToGrafeasV1SlsaPro }).(GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput) } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource) map[string]string { return v.Digest }).(pulumi.StringMapOutput) } @@ -8988,6 +10267,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput) ToGrafeasV1Slsa return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource] { + return pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput) Elem() GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceOutput { return o.ApplyT(func(v *GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource) GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource { if v != nil { @@ -9047,6 +10332,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceResponseOutput) ToGrafeasV return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceResponse] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceResponse) map[string]string { return v.Digest }).(pulumi.StringMapOutput) } @@ -9096,6 +10387,12 @@ func (i GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationArgs) ToGrafeasV1SlsaProvena return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationOutput) } +func (i GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaInvocationOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationArgs) ToGrafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput() GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput { return i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrOutputWithContext(context.Background()) } @@ -9137,6 +10434,12 @@ func (i *grafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrType) ToGrafeasV1SlsaPro return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput) } +func (i *grafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation] { + return pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrOutputWithContext(ctx).OutputState, + } +} + // Identifies the event that kicked off the build. type GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationOutput struct{ *pulumi.OutputState } @@ -9162,6 +10465,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationOutput) ToGrafeasV1SlsaProve }).(GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput) } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationOutput) ConfigSource() GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation) *GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource { return v.ConfigSource @@ -9190,6 +10499,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput) ToGrafeasV1SlsaPr return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation] { + return pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput) Elem() GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationOutput { return o.ApplyT(func(v *GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation) GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation { if v != nil { @@ -9249,6 +10564,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationResponseOutput) ToGrafeasV1S return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationResponse] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationResponseOutput) ConfigSource() GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceResponseOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationResponse) GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceResponse { return v.ConfigSource @@ -9298,6 +10619,12 @@ func (i GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArgs) ToGrafeasV1SlsaProvenanc return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialOutput) } +func (i GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaMaterialOutputWithContext(ctx).OutputState, + } +} + // GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArrayInput is an input type that accepts GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArray and GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArrayOutput values. // You can construct a concrete instance of `GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArrayInput` via: // @@ -9323,6 +10650,12 @@ func (i GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArray) ToGrafeasV1SlsaProvenan return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArrayOutput) } +func (i GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArray) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial] { + return pulumix.Output[[]GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArrayOutputWithContext(ctx).OutputState, + } +} + // The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. type GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialOutput struct{ *pulumi.OutputState } @@ -9338,6 +10671,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialOutput) ToGrafeasV1SlsaProvena return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial) map[string]string { return v.Digest }).(pulumi.StringMapOutput) } @@ -9360,6 +10699,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArrayOutput) ToGrafeasV1SlsaPr return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial] { + return pulumix.Output[[]GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArrayOutput) Index(i pulumi.IntInput) GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial { return vs[0].([]GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial)[vs[1].(int)] @@ -9387,6 +10732,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponseOutput) ToGrafeasV1Sls return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponse] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponse) map[string]string { return v.Digest }).(pulumi.StringMapOutput) } @@ -9409,6 +10760,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponseArrayOutput) ToGrafeas return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponse] { + return pulumix.Output[[]GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponseArrayOutput) Index(i pulumi.IntInput) GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponse { return vs[0].([]GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialResponse)[vs[1].(int)] @@ -9456,6 +10813,12 @@ func (i GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataArgs) ToGrafeasV1SlsaProvenanc return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataOutput) } +func (i GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataArgs) ToGrafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput() GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput { return i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrOutputWithContext(context.Background()) } @@ -9497,6 +10860,12 @@ func (i *grafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrType) ToGrafeasV1SlsaProve return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput) } +func (i *grafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata] { + return pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata]{ + OutputState: i.ToGrafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Other properties of the build. type GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataOutput struct{ *pulumi.OutputState } @@ -9522,6 +10891,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataOutput) ToGrafeasV1SlsaProvena }).(GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput) } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataOutput) BuildFinishedOn() pulumi.StringPtrOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata) *string { return v.BuildFinishedOn }).(pulumi.StringPtrOutput) } @@ -9558,6 +10933,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput) ToGrafeasV1SlsaProv return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata] { + return pulumix.Output[*GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput) Elem() GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataOutput { return o.ApplyT(func(v *GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata) GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata { if v != nil { @@ -9637,6 +11018,12 @@ func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataResponseOutput) ToGrafeasV1Sls return o } +func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataResponse] { + return pulumix.Output[GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataResponseOutput) BuildFinishedOn() pulumi.StringOutput { return o.ApplyT(func(v GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataResponse) string { return v.BuildFinishedOn }).(pulumi.StringOutput) } @@ -9694,6 +11081,12 @@ func (i HintArgs) ToHintOutputWithContext(ctx context.Context) HintOutput { return pulumi.ToOutputWithContext(ctx, i).(HintOutput) } +func (i HintArgs) ToOutput(ctx context.Context) pulumix.Output[Hint] { + return pulumix.Output[Hint]{ + OutputState: i.ToHintOutputWithContext(ctx).OutputState, + } +} + func (i HintArgs) ToHintPtrOutput() HintPtrOutput { return i.ToHintPtrOutputWithContext(context.Background()) } @@ -9735,6 +11128,12 @@ func (i *hintPtrType) ToHintPtrOutputWithContext(ctx context.Context) HintPtrOut return pulumi.ToOutputWithContext(ctx, i).(HintPtrOutput) } +func (i *hintPtrType) ToOutput(ctx context.Context) pulumix.Output[*Hint] { + return pulumix.Output[*Hint]{ + OutputState: i.ToHintPtrOutputWithContext(ctx).OutputState, + } +} + // This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify. type HintOutput struct{ *pulumi.OutputState } @@ -9760,6 +11159,12 @@ func (o HintOutput) ToHintPtrOutputWithContext(ctx context.Context) HintPtrOutpu }).(HintPtrOutput) } +func (o HintOutput) ToOutput(ctx context.Context) pulumix.Output[Hint] { + return pulumix.Output[Hint]{ + OutputState: o.OutputState, + } +} + // The human readable name of this attestation authority, for example "qa". func (o HintOutput) HumanReadableName() pulumi.StringOutput { return o.ApplyT(func(v Hint) string { return v.HumanReadableName }).(pulumi.StringOutput) @@ -9779,6 +11184,12 @@ func (o HintPtrOutput) ToHintPtrOutputWithContext(ctx context.Context) HintPtrOu return o } +func (o HintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Hint] { + return pulumix.Output[*Hint]{ + OutputState: o.OutputState, + } +} + func (o HintPtrOutput) Elem() HintOutput { return o.ApplyT(func(v *Hint) Hint { if v != nil { @@ -9820,6 +11231,12 @@ func (o HintResponseOutput) ToHintResponseOutputWithContext(ctx context.Context) return o } +func (o HintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HintResponse] { + return pulumix.Output[HintResponse]{ + OutputState: o.OutputState, + } +} + // The human readable name of this attestation authority, for example "qa". func (o HintResponseOutput) HumanReadableName() pulumi.StringOutput { return o.ApplyT(func(v HintResponse) string { return v.HumanReadableName }).(pulumi.StringOutput) @@ -9864,6 +11281,12 @@ func (i IdentityArgs) ToIdentityOutputWithContext(ctx context.Context) IdentityO return pulumi.ToOutputWithContext(ctx, i).(IdentityOutput) } +func (i IdentityArgs) ToOutput(ctx context.Context) pulumix.Output[Identity] { + return pulumix.Output[Identity]{ + OutputState: i.ToIdentityOutputWithContext(ctx).OutputState, + } +} + func (i IdentityArgs) ToIdentityPtrOutput() IdentityPtrOutput { return i.ToIdentityPtrOutputWithContext(context.Background()) } @@ -9905,6 +11328,12 @@ func (i *identityPtrType) ToIdentityPtrOutputWithContext(ctx context.Context) Id return pulumi.ToOutputWithContext(ctx, i).(IdentityPtrOutput) } +func (i *identityPtrType) ToOutput(ctx context.Context) pulumix.Output[*Identity] { + return pulumix.Output[*Identity]{ + OutputState: i.ToIdentityPtrOutputWithContext(ctx).OutputState, + } +} + // The unique identifier of the update. type IdentityOutput struct{ *pulumi.OutputState } @@ -9930,6 +11359,12 @@ func (o IdentityOutput) ToIdentityPtrOutputWithContext(ctx context.Context) Iden }).(IdentityPtrOutput) } +func (o IdentityOutput) ToOutput(ctx context.Context) pulumix.Output[Identity] { + return pulumix.Output[Identity]{ + OutputState: o.OutputState, + } +} + // The revision number of the update. func (o IdentityOutput) Revision() pulumi.IntPtrOutput { return o.ApplyT(func(v Identity) *int { return v.Revision }).(pulumi.IntPtrOutput) @@ -9954,6 +11389,12 @@ func (o IdentityPtrOutput) ToIdentityPtrOutputWithContext(ctx context.Context) I return o } +func (o IdentityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Identity] { + return pulumix.Output[*Identity]{ + OutputState: o.OutputState, + } +} + func (o IdentityPtrOutput) Elem() IdentityOutput { return o.ApplyT(func(v *Identity) Identity { if v != nil { @@ -10007,6 +11448,12 @@ func (o IdentityResponseOutput) ToIdentityResponseOutputWithContext(ctx context. return o } +func (o IdentityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityResponse] { + return pulumix.Output[IdentityResponse]{ + OutputState: o.OutputState, + } +} + // The revision number of the update. func (o IdentityResponseOutput) Revision() pulumi.IntOutput { return o.ApplyT(func(v IdentityResponse) int { return v.Revision }).(pulumi.IntOutput) @@ -10056,6 +11503,12 @@ func (i ImageNoteArgs) ToImageNoteOutputWithContext(ctx context.Context) ImageNo return pulumi.ToOutputWithContext(ctx, i).(ImageNoteOutput) } +func (i ImageNoteArgs) ToOutput(ctx context.Context) pulumix.Output[ImageNote] { + return pulumix.Output[ImageNote]{ + OutputState: i.ToImageNoteOutputWithContext(ctx).OutputState, + } +} + func (i ImageNoteArgs) ToImageNotePtrOutput() ImageNotePtrOutput { return i.ToImageNotePtrOutputWithContext(context.Background()) } @@ -10097,6 +11550,12 @@ func (i *imageNotePtrType) ToImageNotePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImageNotePtrOutput) } +func (i *imageNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*ImageNote] { + return pulumix.Output[*ImageNote]{ + OutputState: i.ToImageNotePtrOutputWithContext(ctx).OutputState, + } +} + // Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g., a tag of the resource_url. type ImageNoteOutput struct{ *pulumi.OutputState } @@ -10122,6 +11581,12 @@ func (o ImageNoteOutput) ToImageNotePtrOutputWithContext(ctx context.Context) Im }).(ImageNotePtrOutput) } +func (o ImageNoteOutput) ToOutput(ctx context.Context) pulumix.Output[ImageNote] { + return pulumix.Output[ImageNote]{ + OutputState: o.OutputState, + } +} + // Immutable. The fingerprint of the base image. func (o ImageNoteOutput) Fingerprint() FingerprintOutput { return o.ApplyT(func(v ImageNote) Fingerprint { return v.Fingerprint }).(FingerprintOutput) @@ -10146,6 +11611,12 @@ func (o ImageNotePtrOutput) ToImageNotePtrOutputWithContext(ctx context.Context) return o } +func (o ImageNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageNote] { + return pulumix.Output[*ImageNote]{ + OutputState: o.OutputState, + } +} + func (o ImageNotePtrOutput) Elem() ImageNoteOutput { return o.ApplyT(func(v *ImageNote) ImageNote { if v != nil { @@ -10199,6 +11670,12 @@ func (o ImageNoteResponseOutput) ToImageNoteResponseOutputWithContext(ctx contex return o } +func (o ImageNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageNoteResponse] { + return pulumix.Output[ImageNoteResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The fingerprint of the base image. func (o ImageNoteResponseOutput) Fingerprint() FingerprintResponseOutput { return o.ApplyT(func(v ImageNoteResponse) FingerprintResponse { return v.Fingerprint }).(FingerprintResponseOutput) @@ -10248,6 +11725,12 @@ func (i ImageOccurrenceArgs) ToImageOccurrenceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ImageOccurrenceOutput) } +func (i ImageOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[ImageOccurrence] { + return pulumix.Output[ImageOccurrence]{ + OutputState: i.ToImageOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i ImageOccurrenceArgs) ToImageOccurrencePtrOutput() ImageOccurrencePtrOutput { return i.ToImageOccurrencePtrOutputWithContext(context.Background()) } @@ -10289,6 +11772,12 @@ func (i *imageOccurrencePtrType) ToImageOccurrencePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ImageOccurrencePtrOutput) } +func (i *imageOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*ImageOccurrence] { + return pulumix.Output[*ImageOccurrence]{ + OutputState: i.ToImageOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . type ImageOccurrenceOutput struct{ *pulumi.OutputState } @@ -10314,6 +11803,12 @@ func (o ImageOccurrenceOutput) ToImageOccurrencePtrOutputWithContext(ctx context }).(ImageOccurrencePtrOutput) } +func (o ImageOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[ImageOccurrence] { + return pulumix.Output[ImageOccurrence]{ + OutputState: o.OutputState, + } +} + // The fingerprint of the derived image. func (o ImageOccurrenceOutput) Fingerprint() FingerprintOutput { return o.ApplyT(func(v ImageOccurrence) Fingerprint { return v.Fingerprint }).(FingerprintOutput) @@ -10338,6 +11833,12 @@ func (o ImageOccurrencePtrOutput) ToImageOccurrencePtrOutputWithContext(ctx cont return o } +func (o ImageOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageOccurrence] { + return pulumix.Output[*ImageOccurrence]{ + OutputState: o.OutputState, + } +} + func (o ImageOccurrencePtrOutput) Elem() ImageOccurrenceOutput { return o.ApplyT(func(v *ImageOccurrence) ImageOccurrence { if v != nil { @@ -10395,6 +11896,12 @@ func (o ImageOccurrenceResponseOutput) ToImageOccurrenceResponseOutputWithContex return o } +func (o ImageOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageOccurrenceResponse] { + return pulumix.Output[ImageOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // This contains the base image URL for the derived image occurrence. func (o ImageOccurrenceResponseOutput) BaseResourceUrl() pulumi.StringOutput { return o.ApplyT(func(v ImageOccurrenceResponse) string { return v.BaseResourceUrl }).(pulumi.StringOutput) @@ -10458,6 +11965,12 @@ func (i InTotoProvenanceArgs) ToInTotoProvenanceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(InTotoProvenanceOutput) } +func (i InTotoProvenanceArgs) ToOutput(ctx context.Context) pulumix.Output[InTotoProvenance] { + return pulumix.Output[InTotoProvenance]{ + OutputState: i.ToInTotoProvenanceOutputWithContext(ctx).OutputState, + } +} + func (i InTotoProvenanceArgs) ToInTotoProvenancePtrOutput() InTotoProvenancePtrOutput { return i.ToInTotoProvenancePtrOutputWithContext(context.Background()) } @@ -10499,6 +12012,12 @@ func (i *inTotoProvenancePtrType) ToInTotoProvenancePtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(InTotoProvenancePtrOutput) } +func (i *inTotoProvenancePtrType) ToOutput(ctx context.Context) pulumix.Output[*InTotoProvenance] { + return pulumix.Output[*InTotoProvenance]{ + OutputState: i.ToInTotoProvenancePtrOutputWithContext(ctx).OutputState, + } +} + type InTotoProvenanceOutput struct{ *pulumi.OutputState } func (InTotoProvenanceOutput) ElementType() reflect.Type { @@ -10523,6 +12042,12 @@ func (o InTotoProvenanceOutput) ToInTotoProvenancePtrOutputWithContext(ctx conte }).(InTotoProvenancePtrOutput) } +func (o InTotoProvenanceOutput) ToOutput(ctx context.Context) pulumix.Output[InTotoProvenance] { + return pulumix.Output[InTotoProvenance]{ + OutputState: o.OutputState, + } +} + // required func (o InTotoProvenanceOutput) BuilderConfig() BuilderConfigPtrOutput { return o.ApplyT(func(v InTotoProvenance) *BuilderConfig { return v.BuilderConfig }).(BuilderConfigPtrOutput) @@ -10556,6 +12081,12 @@ func (o InTotoProvenancePtrOutput) ToInTotoProvenancePtrOutputWithContext(ctx co return o } +func (o InTotoProvenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InTotoProvenance] { + return pulumix.Output[*InTotoProvenance]{ + OutputState: o.OutputState, + } +} + func (o InTotoProvenancePtrOutput) Elem() InTotoProvenanceOutput { return o.ApplyT(func(v *InTotoProvenance) InTotoProvenance { if v != nil { @@ -10629,6 +12160,12 @@ func (o InTotoProvenanceResponseOutput) ToInTotoProvenanceResponseOutputWithCont return o } +func (o InTotoProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InTotoProvenanceResponse] { + return pulumix.Output[InTotoProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // required func (o InTotoProvenanceResponseOutput) BuilderConfig() BuilderConfigResponseOutput { return o.ApplyT(func(v InTotoProvenanceResponse) BuilderConfigResponse { return v.BuilderConfig }).(BuilderConfigResponseOutput) @@ -10695,6 +12232,12 @@ func (i InTotoStatementArgs) ToInTotoStatementOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(InTotoStatementOutput) } +func (i InTotoStatementArgs) ToOutput(ctx context.Context) pulumix.Output[InTotoStatement] { + return pulumix.Output[InTotoStatement]{ + OutputState: i.ToInTotoStatementOutputWithContext(ctx).OutputState, + } +} + func (i InTotoStatementArgs) ToInTotoStatementPtrOutput() InTotoStatementPtrOutput { return i.ToInTotoStatementPtrOutputWithContext(context.Background()) } @@ -10736,6 +12279,12 @@ func (i *inTotoStatementPtrType) ToInTotoStatementPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(InTotoStatementPtrOutput) } +func (i *inTotoStatementPtrType) ToOutput(ctx context.Context) pulumix.Output[*InTotoStatement] { + return pulumix.Output[*InTotoStatement]{ + OutputState: i.ToInTotoStatementPtrOutputWithContext(ctx).OutputState, + } +} + // Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always "application/vnd.in-toto+json". type InTotoStatementOutput struct{ *pulumi.OutputState } @@ -10761,6 +12310,12 @@ func (o InTotoStatementOutput) ToInTotoStatementPtrOutputWithContext(ctx context }).(InTotoStatementPtrOutput) } +func (o InTotoStatementOutput) ToOutput(ctx context.Context) pulumix.Output[InTotoStatement] { + return pulumix.Output[InTotoStatement]{ + OutputState: o.OutputState, + } +} + // `https://slsa.dev/provenance/v0.1` for SlsaProvenance. func (o InTotoStatementOutput) PredicateType() pulumi.StringPtrOutput { return o.ApplyT(func(v InTotoStatement) *string { return v.PredicateType }).(pulumi.StringPtrOutput) @@ -10801,6 +12356,12 @@ func (o InTotoStatementPtrOutput) ToInTotoStatementPtrOutputWithContext(ctx cont return o } +func (o InTotoStatementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InTotoStatement] { + return pulumix.Output[*InTotoStatement]{ + OutputState: o.OutputState, + } +} + func (o InTotoStatementPtrOutput) Elem() InTotoStatementOutput { return o.ApplyT(func(v *InTotoStatement) InTotoStatement { if v != nil { @@ -10894,6 +12455,12 @@ func (o InTotoStatementResponseOutput) ToInTotoStatementResponseOutputWithContex return o } +func (o InTotoStatementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InTotoStatementResponse] { + return pulumix.Output[InTotoStatementResponse]{ + OutputState: o.OutputState, + } +} + // `https://slsa.dev/provenance/v0.1` for SlsaProvenance. func (o InTotoStatementResponseOutput) PredicateType() pulumi.StringOutput { return o.ApplyT(func(v InTotoStatementResponse) string { return v.PredicateType }).(pulumi.StringOutput) @@ -10959,6 +12526,12 @@ func (i JustificationArgs) ToJustificationOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(JustificationOutput) } +func (i JustificationArgs) ToOutput(ctx context.Context) pulumix.Output[Justification] { + return pulumix.Output[Justification]{ + OutputState: i.ToJustificationOutputWithContext(ctx).OutputState, + } +} + func (i JustificationArgs) ToJustificationPtrOutput() JustificationPtrOutput { return i.ToJustificationPtrOutputWithContext(context.Background()) } @@ -11000,6 +12573,12 @@ func (i *justificationPtrType) ToJustificationPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(JustificationPtrOutput) } +func (i *justificationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Justification] { + return pulumix.Output[*Justification]{ + OutputState: i.ToJustificationPtrOutputWithContext(ctx).OutputState, + } +} + // Justification provides the justification when the state of the assessment if NOT_AFFECTED. type JustificationOutput struct{ *pulumi.OutputState } @@ -11025,6 +12604,12 @@ func (o JustificationOutput) ToJustificationPtrOutputWithContext(ctx context.Con }).(JustificationPtrOutput) } +func (o JustificationOutput) ToOutput(ctx context.Context) pulumix.Output[Justification] { + return pulumix.Output[Justification]{ + OutputState: o.OutputState, + } +} + // Additional details on why this justification was chosen. func (o JustificationOutput) Details() pulumi.StringPtrOutput { return o.ApplyT(func(v Justification) *string { return v.Details }).(pulumi.StringPtrOutput) @@ -11049,6 +12634,12 @@ func (o JustificationPtrOutput) ToJustificationPtrOutputWithContext(ctx context. return o } +func (o JustificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Justification] { + return pulumix.Output[*Justification]{ + OutputState: o.OutputState, + } +} + func (o JustificationPtrOutput) Elem() JustificationOutput { return o.ApplyT(func(v *Justification) Justification { if v != nil { @@ -11102,6 +12693,12 @@ func (o JustificationResponseOutput) ToJustificationResponseOutputWithContext(ct return o } +func (o JustificationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JustificationResponse] { + return pulumix.Output[JustificationResponse]{ + OutputState: o.OutputState, + } +} + // Additional details on why this justification was chosen. func (o JustificationResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v JustificationResponse) string { return v.Details }).(pulumi.StringOutput) @@ -11145,6 +12742,12 @@ func (i JwtArgs) ToJwtOutputWithContext(ctx context.Context) JwtOutput { return pulumi.ToOutputWithContext(ctx, i).(JwtOutput) } +func (i JwtArgs) ToOutput(ctx context.Context) pulumix.Output[Jwt] { + return pulumix.Output[Jwt]{ + OutputState: i.ToJwtOutputWithContext(ctx).OutputState, + } +} + // JwtArrayInput is an input type that accepts JwtArray and JwtArrayOutput values. // You can construct a concrete instance of `JwtArrayInput` via: // @@ -11170,6 +12773,12 @@ func (i JwtArray) ToJwtArrayOutputWithContext(ctx context.Context) JwtArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(JwtArrayOutput) } +func (i JwtArray) ToOutput(ctx context.Context) pulumix.Output[[]Jwt] { + return pulumix.Output[[]Jwt]{ + OutputState: i.ToJwtArrayOutputWithContext(ctx).OutputState, + } +} + type JwtOutput struct{ *pulumi.OutputState } func (JwtOutput) ElementType() reflect.Type { @@ -11184,6 +12793,12 @@ func (o JwtOutput) ToJwtOutputWithContext(ctx context.Context) JwtOutput { return o } +func (o JwtOutput) ToOutput(ctx context.Context) pulumix.Output[Jwt] { + return pulumix.Output[Jwt]{ + OutputState: o.OutputState, + } +} + // The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1 func (o JwtOutput) CompactJwt() pulumi.StringPtrOutput { return o.ApplyT(func(v Jwt) *string { return v.CompactJwt }).(pulumi.StringPtrOutput) @@ -11203,6 +12818,12 @@ func (o JwtArrayOutput) ToJwtArrayOutputWithContext(ctx context.Context) JwtArra return o } +func (o JwtArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Jwt] { + return pulumix.Output[[]Jwt]{ + OutputState: o.OutputState, + } +} + func (o JwtArrayOutput) Index(i pulumi.IntInput) JwtOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Jwt { return vs[0].([]Jwt)[vs[1].(int)] @@ -11228,6 +12849,12 @@ func (o JwtResponseOutput) ToJwtResponseOutputWithContext(ctx context.Context) J return o } +func (o JwtResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JwtResponse] { + return pulumix.Output[JwtResponse]{ + OutputState: o.OutputState, + } +} + // The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1 func (o JwtResponseOutput) CompactJwt() pulumi.StringOutput { return o.ApplyT(func(v JwtResponse) string { return v.CompactJwt }).(pulumi.StringOutput) @@ -11247,6 +12874,12 @@ func (o JwtResponseArrayOutput) ToJwtResponseArrayOutputWithContext(ctx context. return o } +func (o JwtResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JwtResponse] { + return pulumix.Output[[]JwtResponse]{ + OutputState: o.OutputState, + } +} + func (o JwtResponseArrayOutput) Index(i pulumi.IntInput) JwtResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JwtResponse { return vs[0].([]JwtResponse)[vs[1].(int)] @@ -11290,6 +12923,12 @@ func (i KnowledgeBaseArgs) ToKnowledgeBaseOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(KnowledgeBaseOutput) } +func (i KnowledgeBaseArgs) ToOutput(ctx context.Context) pulumix.Output[KnowledgeBase] { + return pulumix.Output[KnowledgeBase]{ + OutputState: i.ToKnowledgeBaseOutputWithContext(ctx).OutputState, + } +} + // KnowledgeBaseArrayInput is an input type that accepts KnowledgeBaseArray and KnowledgeBaseArrayOutput values. // You can construct a concrete instance of `KnowledgeBaseArrayInput` via: // @@ -11315,6 +12954,12 @@ func (i KnowledgeBaseArray) ToKnowledgeBaseArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(KnowledgeBaseArrayOutput) } +func (i KnowledgeBaseArray) ToOutput(ctx context.Context) pulumix.Output[[]KnowledgeBase] { + return pulumix.Output[[]KnowledgeBase]{ + OutputState: i.ToKnowledgeBaseArrayOutputWithContext(ctx).OutputState, + } +} + type KnowledgeBaseOutput struct{ *pulumi.OutputState } func (KnowledgeBaseOutput) ElementType() reflect.Type { @@ -11329,6 +12974,12 @@ func (o KnowledgeBaseOutput) ToKnowledgeBaseOutputWithContext(ctx context.Contex return o } +func (o KnowledgeBaseOutput) ToOutput(ctx context.Context) pulumix.Output[KnowledgeBase] { + return pulumix.Output[KnowledgeBase]{ + OutputState: o.OutputState, + } +} + // The KB name (generally of the form KB[0-9]+ (e.g., KB123456)). func (o KnowledgeBaseOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v KnowledgeBase) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -11353,6 +13004,12 @@ func (o KnowledgeBaseArrayOutput) ToKnowledgeBaseArrayOutputWithContext(ctx cont return o } +func (o KnowledgeBaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KnowledgeBase] { + return pulumix.Output[[]KnowledgeBase]{ + OutputState: o.OutputState, + } +} + func (o KnowledgeBaseArrayOutput) Index(i pulumi.IntInput) KnowledgeBaseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KnowledgeBase { return vs[0].([]KnowledgeBase)[vs[1].(int)] @@ -11380,6 +13037,12 @@ func (o KnowledgeBaseResponseOutput) ToKnowledgeBaseResponseOutputWithContext(ct return o } +func (o KnowledgeBaseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KnowledgeBaseResponse] { + return pulumix.Output[KnowledgeBaseResponse]{ + OutputState: o.OutputState, + } +} + // The KB name (generally of the form KB[0-9]+ (e.g., KB123456)). func (o KnowledgeBaseResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v KnowledgeBaseResponse) string { return v.Name }).(pulumi.StringOutput) @@ -11404,6 +13067,12 @@ func (o KnowledgeBaseResponseArrayOutput) ToKnowledgeBaseResponseArrayOutputWith return o } +func (o KnowledgeBaseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KnowledgeBaseResponse] { + return pulumix.Output[[]KnowledgeBaseResponse]{ + OutputState: o.OutputState, + } +} + func (o KnowledgeBaseResponseArrayOutput) Index(i pulumi.IntInput) KnowledgeBaseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KnowledgeBaseResponse { return vs[0].([]KnowledgeBaseResponse)[vs[1].(int)] @@ -11449,6 +13118,12 @@ func (i LayerArgs) ToLayerOutputWithContext(ctx context.Context) LayerOutput { return pulumi.ToOutputWithContext(ctx, i).(LayerOutput) } +func (i LayerArgs) ToOutput(ctx context.Context) pulumix.Output[Layer] { + return pulumix.Output[Layer]{ + OutputState: i.ToLayerOutputWithContext(ctx).OutputState, + } +} + // LayerArrayInput is an input type that accepts LayerArray and LayerArrayOutput values. // You can construct a concrete instance of `LayerArrayInput` via: // @@ -11474,6 +13149,12 @@ func (i LayerArray) ToLayerArrayOutputWithContext(ctx context.Context) LayerArra return pulumi.ToOutputWithContext(ctx, i).(LayerArrayOutput) } +func (i LayerArray) ToOutput(ctx context.Context) pulumix.Output[[]Layer] { + return pulumix.Output[[]Layer]{ + OutputState: i.ToLayerArrayOutputWithContext(ctx).OutputState, + } +} + // Layer holds metadata specific to a layer of a Docker image. type LayerOutput struct{ *pulumi.OutputState } @@ -11489,6 +13170,12 @@ func (o LayerOutput) ToLayerOutputWithContext(ctx context.Context) LayerOutput { return o } +func (o LayerOutput) ToOutput(ctx context.Context) pulumix.Output[Layer] { + return pulumix.Output[Layer]{ + OutputState: o.OutputState, + } +} + // The recovered arguments to the Dockerfile directive. func (o LayerOutput) Arguments() pulumi.StringPtrOutput { return o.ApplyT(func(v Layer) *string { return v.Arguments }).(pulumi.StringPtrOutput) @@ -11513,6 +13200,12 @@ func (o LayerArrayOutput) ToLayerArrayOutputWithContext(ctx context.Context) Lay return o } +func (o LayerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Layer] { + return pulumix.Output[[]Layer]{ + OutputState: o.OutputState, + } +} + func (o LayerArrayOutput) Index(i pulumi.IntInput) LayerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Layer { return vs[0].([]Layer)[vs[1].(int)] @@ -11542,6 +13235,12 @@ func (o LayerResponseOutput) ToLayerResponseOutputWithContext(ctx context.Contex return o } +func (o LayerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LayerResponse] { + return pulumix.Output[LayerResponse]{ + OutputState: o.OutputState, + } +} + // The recovered arguments to the Dockerfile directive. func (o LayerResponseOutput) Arguments() pulumi.StringOutput { return o.ApplyT(func(v LayerResponse) string { return v.Arguments }).(pulumi.StringOutput) @@ -11566,6 +13265,12 @@ func (o LayerResponseArrayOutput) ToLayerResponseArrayOutputWithContext(ctx cont return o } +func (o LayerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LayerResponse] { + return pulumix.Output[[]LayerResponse]{ + OutputState: o.OutputState, + } +} + func (o LayerResponseArrayOutput) Index(i pulumi.IntInput) LayerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LayerResponse { return vs[0].([]LayerResponse)[vs[1].(int)] @@ -11611,6 +13316,12 @@ func (i LicenseArgs) ToLicenseOutputWithContext(ctx context.Context) LicenseOutp return pulumi.ToOutputWithContext(ctx, i).(LicenseOutput) } +func (i LicenseArgs) ToOutput(ctx context.Context) pulumix.Output[License] { + return pulumix.Output[License]{ + OutputState: i.ToLicenseOutputWithContext(ctx).OutputState, + } +} + func (i LicenseArgs) ToLicensePtrOutput() LicensePtrOutput { return i.ToLicensePtrOutputWithContext(context.Background()) } @@ -11652,6 +13363,12 @@ func (i *licensePtrType) ToLicensePtrOutputWithContext(ctx context.Context) Lice return pulumi.ToOutputWithContext(ctx, i).(LicensePtrOutput) } +func (i *licensePtrType) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: i.ToLicensePtrOutputWithContext(ctx).OutputState, + } +} + // License information. type LicenseOutput struct{ *pulumi.OutputState } @@ -11677,6 +13394,12 @@ func (o LicenseOutput) ToLicensePtrOutputWithContext(ctx context.Context) Licens }).(LicensePtrOutput) } +func (o LicenseOutput) ToOutput(ctx context.Context) pulumix.Output[License] { + return pulumix.Output[License]{ + OutputState: o.OutputState, + } +} + // Comments func (o LicenseOutput) Comments() pulumi.StringPtrOutput { return o.ApplyT(func(v License) *string { return v.Comments }).(pulumi.StringPtrOutput) @@ -11701,6 +13424,12 @@ func (o LicensePtrOutput) ToLicensePtrOutputWithContext(ctx context.Context) Lic return o } +func (o LicensePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: o.OutputState, + } +} + func (o LicensePtrOutput) Elem() LicenseOutput { return o.ApplyT(func(v *License) License { if v != nil { @@ -11754,6 +13483,12 @@ func (o LicenseResponseOutput) ToLicenseResponseOutputWithContext(ctx context.Co return o } +func (o LicenseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResponse] { + return pulumix.Output[LicenseResponse]{ + OutputState: o.OutputState, + } +} + // Comments func (o LicenseResponseOutput) Comments() pulumi.StringOutput { return o.ApplyT(func(v LicenseResponse) string { return v.Comments }).(pulumi.StringOutput) @@ -11815,6 +13550,12 @@ func (i LocationArgs) ToLocationOutputWithContext(ctx context.Context) LocationO return pulumi.ToOutputWithContext(ctx, i).(LocationOutput) } +func (i LocationArgs) ToOutput(ctx context.Context) pulumix.Output[Location] { + return pulumix.Output[Location]{ + OutputState: i.ToLocationOutputWithContext(ctx).OutputState, + } +} + // LocationArrayInput is an input type that accepts LocationArray and LocationArrayOutput values. // You can construct a concrete instance of `LocationArrayInput` via: // @@ -11840,6 +13581,12 @@ func (i LocationArray) ToLocationArrayOutputWithContext(ctx context.Context) Loc return pulumi.ToOutputWithContext(ctx, i).(LocationArrayOutput) } +func (i LocationArray) ToOutput(ctx context.Context) pulumix.Output[[]Location] { + return pulumix.Output[[]Location]{ + OutputState: i.ToLocationArrayOutputWithContext(ctx).OutputState, + } +} + // An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in `/var/lib/dpkg/status`. type LocationOutput struct{ *pulumi.OutputState } @@ -11855,6 +13602,12 @@ func (o LocationOutput) ToLocationOutputWithContext(ctx context.Context) Locatio return o } +func (o LocationOutput) ToOutput(ctx context.Context) pulumix.Output[Location] { + return pulumix.Output[Location]{ + OutputState: o.OutputState, + } +} + // Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) // // Deprecated: Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) @@ -11888,6 +13641,12 @@ func (o LocationArrayOutput) ToLocationArrayOutputWithContext(ctx context.Contex return o } +func (o LocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Location] { + return pulumix.Output[[]Location]{ + OutputState: o.OutputState, + } +} + func (o LocationArrayOutput) Index(i pulumi.IntInput) LocationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Location { return vs[0].([]Location)[vs[1].(int)] @@ -11923,6 +13682,12 @@ func (o LocationResponseOutput) ToLocationResponseOutputWithContext(ctx context. return o } +func (o LocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocationResponse] { + return pulumix.Output[LocationResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) // // Deprecated: Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) @@ -11956,6 +13721,12 @@ func (o LocationResponseArrayOutput) ToLocationResponseArrayOutputWithContext(ct return o } +func (o LocationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocationResponse] { + return pulumix.Output[[]LocationResponse]{ + OutputState: o.OutputState, + } +} + func (o LocationResponseArrayOutput) Index(i pulumi.IntInput) LocationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocationResponse { return vs[0].([]LocationResponse)[vs[1].(int)] @@ -11995,6 +13766,12 @@ func (i MaterialArgs) ToMaterialOutputWithContext(ctx context.Context) MaterialO return pulumi.ToOutputWithContext(ctx, i).(MaterialOutput) } +func (i MaterialArgs) ToOutput(ctx context.Context) pulumix.Output[Material] { + return pulumix.Output[Material]{ + OutputState: i.ToMaterialOutputWithContext(ctx).OutputState, + } +} + // MaterialArrayInput is an input type that accepts MaterialArray and MaterialArrayOutput values. // You can construct a concrete instance of `MaterialArrayInput` via: // @@ -12020,6 +13797,12 @@ func (i MaterialArray) ToMaterialArrayOutputWithContext(ctx context.Context) Mat return pulumi.ToOutputWithContext(ctx, i).(MaterialArrayOutput) } +func (i MaterialArray) ToOutput(ctx context.Context) pulumix.Output[[]Material] { + return pulumix.Output[[]Material]{ + OutputState: i.ToMaterialArrayOutputWithContext(ctx).OutputState, + } +} + type MaterialOutput struct{ *pulumi.OutputState } func (MaterialOutput) ElementType() reflect.Type { @@ -12034,6 +13817,12 @@ func (o MaterialOutput) ToMaterialOutputWithContext(ctx context.Context) Materia return o } +func (o MaterialOutput) ToOutput(ctx context.Context) pulumix.Output[Material] { + return pulumix.Output[Material]{ + OutputState: o.OutputState, + } +} + func (o MaterialOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v Material) map[string]string { return v.Digest }).(pulumi.StringMapOutput) } @@ -12056,6 +13845,12 @@ func (o MaterialArrayOutput) ToMaterialArrayOutputWithContext(ctx context.Contex return o } +func (o MaterialArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Material] { + return pulumix.Output[[]Material]{ + OutputState: o.OutputState, + } +} + func (o MaterialArrayOutput) Index(i pulumi.IntInput) MaterialOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Material { return vs[0].([]Material)[vs[1].(int)] @@ -12081,6 +13876,12 @@ func (o MaterialResponseOutput) ToMaterialResponseOutputWithContext(ctx context. return o } +func (o MaterialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaterialResponse] { + return pulumix.Output[MaterialResponse]{ + OutputState: o.OutputState, + } +} + func (o MaterialResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v MaterialResponse) map[string]string { return v.Digest }).(pulumi.StringMapOutput) } @@ -12103,6 +13904,12 @@ func (o MaterialResponseArrayOutput) ToMaterialResponseArrayOutputWithContext(ct return o } +func (o MaterialResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MaterialResponse] { + return pulumix.Output[[]MaterialResponse]{ + OutputState: o.OutputState, + } +} + func (o MaterialResponseArrayOutput) Index(i pulumi.IntInput) MaterialResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MaterialResponse { return vs[0].([]MaterialResponse)[vs[1].(int)] @@ -12160,6 +13967,12 @@ func (i MetadataArgs) ToMetadataOutputWithContext(ctx context.Context) MetadataO return pulumi.ToOutputWithContext(ctx, i).(MetadataOutput) } +func (i MetadataArgs) ToOutput(ctx context.Context) pulumix.Output[Metadata] { + return pulumix.Output[Metadata]{ + OutputState: i.ToMetadataOutputWithContext(ctx).OutputState, + } +} + func (i MetadataArgs) ToMetadataPtrOutput() MetadataPtrOutput { return i.ToMetadataPtrOutputWithContext(context.Background()) } @@ -12201,6 +14014,12 @@ func (i *metadataPtrType) ToMetadataPtrOutputWithContext(ctx context.Context) Me return pulumi.ToOutputWithContext(ctx, i).(MetadataPtrOutput) } +func (i *metadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*Metadata] { + return pulumix.Output[*Metadata]{ + OutputState: i.ToMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Other properties of the build. type MetadataOutput struct{ *pulumi.OutputState } @@ -12226,6 +14045,12 @@ func (o MetadataOutput) ToMetadataPtrOutputWithContext(ctx context.Context) Meta }).(MetadataPtrOutput) } +func (o MetadataOutput) ToOutput(ctx context.Context) pulumix.Output[Metadata] { + return pulumix.Output[Metadata]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the build completed. func (o MetadataOutput) BuildFinishedOn() pulumi.StringPtrOutput { return o.ApplyT(func(v Metadata) *string { return v.BuildFinishedOn }).(pulumi.StringPtrOutput) @@ -12265,6 +14090,12 @@ func (o MetadataPtrOutput) ToMetadataPtrOutputWithContext(ctx context.Context) M return o } +func (o MetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Metadata] { + return pulumix.Output[*Metadata]{ + OutputState: o.OutputState, + } +} + func (o MetadataPtrOutput) Elem() MetadataOutput { return o.ApplyT(func(v *Metadata) Metadata { if v != nil { @@ -12354,6 +14185,12 @@ func (o MetadataResponseOutput) ToMetadataResponseOutputWithContext(ctx context. return o } +func (o MetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataResponse] { + return pulumix.Output[MetadataResponse]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the build completed. func (o MetadataResponseOutput) BuildFinishedOn() pulumi.StringOutput { return o.ApplyT(func(v MetadataResponse) string { return v.BuildFinishedOn }).(pulumi.StringOutput) @@ -12422,6 +14259,12 @@ func (i NonCompliantFileArgs) ToNonCompliantFileOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NonCompliantFileOutput) } +func (i NonCompliantFileArgs) ToOutput(ctx context.Context) pulumix.Output[NonCompliantFile] { + return pulumix.Output[NonCompliantFile]{ + OutputState: i.ToNonCompliantFileOutputWithContext(ctx).OutputState, + } +} + // NonCompliantFileArrayInput is an input type that accepts NonCompliantFileArray and NonCompliantFileArrayOutput values. // You can construct a concrete instance of `NonCompliantFileArrayInput` via: // @@ -12447,6 +14290,12 @@ func (i NonCompliantFileArray) ToNonCompliantFileArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NonCompliantFileArrayOutput) } +func (i NonCompliantFileArray) ToOutput(ctx context.Context) pulumix.Output[[]NonCompliantFile] { + return pulumix.Output[[]NonCompliantFile]{ + OutputState: i.ToNonCompliantFileArrayOutputWithContext(ctx).OutputState, + } +} + // Details about files that caused a compliance check to fail. display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using 'path'. type NonCompliantFileOutput struct{ *pulumi.OutputState } @@ -12462,6 +14311,12 @@ func (o NonCompliantFileOutput) ToNonCompliantFileOutputWithContext(ctx context. return o } +func (o NonCompliantFileOutput) ToOutput(ctx context.Context) pulumix.Output[NonCompliantFile] { + return pulumix.Output[NonCompliantFile]{ + OutputState: o.OutputState, + } +} + // Command to display the non-compliant files. func (o NonCompliantFileOutput) DisplayCommand() pulumi.StringPtrOutput { return o.ApplyT(func(v NonCompliantFile) *string { return v.DisplayCommand }).(pulumi.StringPtrOutput) @@ -12491,6 +14346,12 @@ func (o NonCompliantFileArrayOutput) ToNonCompliantFileArrayOutputWithContext(ct return o } +func (o NonCompliantFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NonCompliantFile] { + return pulumix.Output[[]NonCompliantFile]{ + OutputState: o.OutputState, + } +} + func (o NonCompliantFileArrayOutput) Index(i pulumi.IntInput) NonCompliantFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NonCompliantFile { return vs[0].([]NonCompliantFile)[vs[1].(int)] @@ -12522,6 +14383,12 @@ func (o NonCompliantFileResponseOutput) ToNonCompliantFileResponseOutputWithCont return o } +func (o NonCompliantFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NonCompliantFileResponse] { + return pulumix.Output[NonCompliantFileResponse]{ + OutputState: o.OutputState, + } +} + // Command to display the non-compliant files. func (o NonCompliantFileResponseOutput) DisplayCommand() pulumi.StringOutput { return o.ApplyT(func(v NonCompliantFileResponse) string { return v.DisplayCommand }).(pulumi.StringOutput) @@ -12551,6 +14418,12 @@ func (o NonCompliantFileResponseArrayOutput) ToNonCompliantFileResponseArrayOutp return o } +func (o NonCompliantFileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NonCompliantFileResponse] { + return pulumix.Output[[]NonCompliantFileResponse]{ + OutputState: o.OutputState, + } +} + func (o NonCompliantFileResponseArrayOutput) Index(i pulumi.IntInput) NonCompliantFileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NonCompliantFileResponse { return vs[0].([]NonCompliantFileResponse)[vs[1].(int)] @@ -12620,6 +14493,12 @@ func (i PackageIssueArgs) ToPackageIssueOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PackageIssueOutput) } +func (i PackageIssueArgs) ToOutput(ctx context.Context) pulumix.Output[PackageIssue] { + return pulumix.Output[PackageIssue]{ + OutputState: i.ToPackageIssueOutputWithContext(ctx).OutputState, + } +} + // PackageIssueArrayInput is an input type that accepts PackageIssueArray and PackageIssueArrayOutput values. // You can construct a concrete instance of `PackageIssueArrayInput` via: // @@ -12645,6 +14524,12 @@ func (i PackageIssueArray) ToPackageIssueArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PackageIssueArrayOutput) } +func (i PackageIssueArray) ToOutput(ctx context.Context) pulumix.Output[[]PackageIssue] { + return pulumix.Output[[]PackageIssue]{ + OutputState: i.ToPackageIssueArrayOutputWithContext(ctx).OutputState, + } +} + // A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available). type PackageIssueOutput struct{ *pulumi.OutputState } @@ -12660,6 +14545,12 @@ func (o PackageIssueOutput) ToPackageIssueOutputWithContext(ctx context.Context) return o } +func (o PackageIssueOutput) ToOutput(ctx context.Context) pulumix.Output[PackageIssue] { + return pulumix.Output[PackageIssue]{ + OutputState: o.OutputState, + } +} + // The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in. func (o PackageIssueOutput) AffectedCpeUri() pulumi.StringOutput { return o.ApplyT(func(v PackageIssue) string { return v.AffectedCpeUri }).(pulumi.StringOutput) @@ -12714,6 +14605,12 @@ func (o PackageIssueArrayOutput) ToPackageIssueArrayOutputWithContext(ctx contex return o } +func (o PackageIssueArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PackageIssue] { + return pulumix.Output[[]PackageIssue]{ + OutputState: o.OutputState, + } +} + func (o PackageIssueArrayOutput) Index(i pulumi.IntInput) PackageIssueOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PackageIssue { return vs[0].([]PackageIssue)[vs[1].(int)] @@ -12759,6 +14656,12 @@ func (o PackageIssueResponseOutput) ToPackageIssueResponseOutputWithContext(ctx return o } +func (o PackageIssueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageIssueResponse] { + return pulumix.Output[PackageIssueResponse]{ + OutputState: o.OutputState, + } +} + // The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in. func (o PackageIssueResponseOutput) AffectedCpeUri() pulumi.StringOutput { return o.ApplyT(func(v PackageIssueResponse) string { return v.AffectedCpeUri }).(pulumi.StringOutput) @@ -12823,6 +14726,12 @@ func (o PackageIssueResponseArrayOutput) ToPackageIssueResponseArrayOutputWithCo return o } +func (o PackageIssueResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PackageIssueResponse] { + return pulumix.Output[[]PackageIssueResponse]{ + OutputState: o.OutputState, + } +} + func (o PackageIssueResponseArrayOutput) Index(i pulumi.IntInput) PackageIssueResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PackageIssueResponse { return vs[0].([]PackageIssueResponse)[vs[1].(int)] @@ -12908,6 +14817,12 @@ func (i PackageNoteArgs) ToPackageNoteOutputWithContext(ctx context.Context) Pac return pulumi.ToOutputWithContext(ctx, i).(PackageNoteOutput) } +func (i PackageNoteArgs) ToOutput(ctx context.Context) pulumix.Output[PackageNote] { + return pulumix.Output[PackageNote]{ + OutputState: i.ToPackageNoteOutputWithContext(ctx).OutputState, + } +} + func (i PackageNoteArgs) ToPackageNotePtrOutput() PackageNotePtrOutput { return i.ToPackageNotePtrOutputWithContext(context.Background()) } @@ -12949,6 +14864,12 @@ func (i *packageNotePtrType) ToPackageNotePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PackageNotePtrOutput) } +func (i *packageNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*PackageNote] { + return pulumix.Output[*PackageNote]{ + OutputState: i.ToPackageNotePtrOutputWithContext(ctx).OutputState, + } +} + // PackageNote represents a particular package version. type PackageNoteOutput struct{ *pulumi.OutputState } @@ -12974,6 +14895,12 @@ func (o PackageNoteOutput) ToPackageNotePtrOutputWithContext(ctx context.Context }).(PackageNotePtrOutput) } +func (o PackageNoteOutput) ToOutput(ctx context.Context) pulumix.Output[PackageNote] { + return pulumix.Output[PackageNote]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. func (o PackageNoteOutput) Architecture() PackageNoteArchitecturePtrOutput { return o.ApplyT(func(v PackageNote) *PackageNoteArchitecture { return v.Architecture }).(PackageNoteArchitecturePtrOutput) @@ -13045,6 +14972,12 @@ func (o PackageNotePtrOutput) ToPackageNotePtrOutputWithContext(ctx context.Cont return o } +func (o PackageNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageNote] { + return pulumix.Output[*PackageNote]{ + OutputState: o.OutputState, + } +} + func (o PackageNotePtrOutput) Elem() PackageNoteOutput { return o.ApplyT(func(v *PackageNote) PackageNote { if v != nil { @@ -13210,6 +15143,12 @@ func (o PackageNoteResponseOutput) ToPackageNoteResponseOutputWithContext(ctx co return o } +func (o PackageNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageNoteResponse] { + return pulumix.Output[PackageNoteResponse]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. func (o PackageNoteResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v PackageNoteResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -13306,6 +15245,12 @@ func (i PackageOccurrenceArgs) ToPackageOccurrenceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PackageOccurrenceOutput) } +func (i PackageOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[PackageOccurrence] { + return pulumix.Output[PackageOccurrence]{ + OutputState: i.ToPackageOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i PackageOccurrenceArgs) ToPackageOccurrencePtrOutput() PackageOccurrencePtrOutput { return i.ToPackageOccurrencePtrOutputWithContext(context.Background()) } @@ -13347,6 +15292,12 @@ func (i *packageOccurrencePtrType) ToPackageOccurrencePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PackageOccurrencePtrOutput) } +func (i *packageOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*PackageOccurrence] { + return pulumix.Output[*PackageOccurrence]{ + OutputState: i.ToPackageOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // Details on how a particular software package was installed on a system. type PackageOccurrenceOutput struct{ *pulumi.OutputState } @@ -13372,6 +15323,12 @@ func (o PackageOccurrenceOutput) ToPackageOccurrencePtrOutputWithContext(ctx con }).(PackageOccurrencePtrOutput) } +func (o PackageOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[PackageOccurrence] { + return pulumix.Output[PackageOccurrence]{ + OutputState: o.OutputState, + } +} + // Licenses that have been declared by the authors of the package. func (o PackageOccurrenceOutput) License() LicensePtrOutput { return o.ApplyT(func(v PackageOccurrence) *License { return v.License }).(LicensePtrOutput) @@ -13396,6 +15353,12 @@ func (o PackageOccurrencePtrOutput) ToPackageOccurrencePtrOutputWithContext(ctx return o } +func (o PackageOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageOccurrence] { + return pulumix.Output[*PackageOccurrence]{ + OutputState: o.OutputState, + } +} + func (o PackageOccurrencePtrOutput) Elem() PackageOccurrenceOutput { return o.ApplyT(func(v *PackageOccurrence) PackageOccurrence { if v != nil { @@ -13459,6 +15422,12 @@ func (o PackageOccurrenceResponseOutput) ToPackageOccurrenceResponseOutputWithCo return o } +func (o PackageOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageOccurrenceResponse] { + return pulumix.Output[PackageOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. func (o PackageOccurrenceResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v PackageOccurrenceResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -13537,6 +15506,12 @@ func (i ProductArgs) ToProductOutputWithContext(ctx context.Context) ProductOutp return pulumi.ToOutputWithContext(ctx, i).(ProductOutput) } +func (i ProductArgs) ToOutput(ctx context.Context) pulumix.Output[Product] { + return pulumix.Output[Product]{ + OutputState: i.ToProductOutputWithContext(ctx).OutputState, + } +} + func (i ProductArgs) ToProductPtrOutput() ProductPtrOutput { return i.ToProductPtrOutputWithContext(context.Background()) } @@ -13578,6 +15553,12 @@ func (i *productPtrType) ToProductPtrOutputWithContext(ctx context.Context) Prod return pulumi.ToOutputWithContext(ctx, i).(ProductPtrOutput) } +func (i *productPtrType) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: i.ToProductPtrOutputWithContext(ctx).OutputState, + } +} + // Product contains information about a product and how to uniquely identify it. type ProductOutput struct{ *pulumi.OutputState } @@ -13603,6 +15584,12 @@ func (o ProductOutput) ToProductPtrOutputWithContext(ctx context.Context) Produc }).(ProductPtrOutput) } +func (o ProductOutput) ToOutput(ctx context.Context) pulumix.Output[Product] { + return pulumix.Output[Product]{ + OutputState: o.OutputState, + } +} + // Contains a URI which is vendor-specific. Example: The artifact repository URL of an image. func (o ProductOutput) GenericUri() pulumi.StringPtrOutput { return o.ApplyT(func(v Product) *string { return v.GenericUri }).(pulumi.StringPtrOutput) @@ -13632,6 +15619,12 @@ func (o ProductPtrOutput) ToProductPtrOutputWithContext(ctx context.Context) Pro return o } +func (o ProductPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: o.OutputState, + } +} + func (o ProductPtrOutput) Elem() ProductOutput { return o.ApplyT(func(v *Product) Product { if v != nil { @@ -13695,6 +15688,12 @@ func (o ProductResponseOutput) ToProductResponseOutputWithContext(ctx context.Co return o } +func (o ProductResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProductResponse] { + return pulumix.Output[ProductResponse]{ + OutputState: o.OutputState, + } +} + // Contains a URI which is vendor-specific. Example: The artifact repository URL of an image. func (o ProductResponseOutput) GenericUri() pulumi.StringOutput { return o.ApplyT(func(v ProductResponse) string { return v.GenericUri }).(pulumi.StringOutput) @@ -13744,6 +15743,12 @@ func (i ProjectRepoIdArgs) ToProjectRepoIdOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ProjectRepoIdOutput) } +func (i ProjectRepoIdArgs) ToOutput(ctx context.Context) pulumix.Output[ProjectRepoId] { + return pulumix.Output[ProjectRepoId]{ + OutputState: i.ToProjectRepoIdOutputWithContext(ctx).OutputState, + } +} + func (i ProjectRepoIdArgs) ToProjectRepoIdPtrOutput() ProjectRepoIdPtrOutput { return i.ToProjectRepoIdPtrOutputWithContext(context.Background()) } @@ -13785,6 +15790,12 @@ func (i *projectRepoIdPtrType) ToProjectRepoIdPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ProjectRepoIdPtrOutput) } +func (i *projectRepoIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProjectRepoId] { + return pulumix.Output[*ProjectRepoId]{ + OutputState: i.ToProjectRepoIdPtrOutputWithContext(ctx).OutputState, + } +} + // Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. type ProjectRepoIdOutput struct{ *pulumi.OutputState } @@ -13810,6 +15821,12 @@ func (o ProjectRepoIdOutput) ToProjectRepoIdPtrOutputWithContext(ctx context.Con }).(ProjectRepoIdPtrOutput) } +func (o ProjectRepoIdOutput) ToOutput(ctx context.Context) pulumix.Output[ProjectRepoId] { + return pulumix.Output[ProjectRepoId]{ + OutputState: o.OutputState, + } +} + // The ID of the project. func (o ProjectRepoIdOutput) Project() pulumi.StringPtrOutput { return o.ApplyT(func(v ProjectRepoId) *string { return v.Project }).(pulumi.StringPtrOutput) @@ -13834,6 +15851,12 @@ func (o ProjectRepoIdPtrOutput) ToProjectRepoIdPtrOutputWithContext(ctx context. return o } +func (o ProjectRepoIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectRepoId] { + return pulumix.Output[*ProjectRepoId]{ + OutputState: o.OutputState, + } +} + func (o ProjectRepoIdPtrOutput) Elem() ProjectRepoIdOutput { return o.ApplyT(func(v *ProjectRepoId) ProjectRepoId { if v != nil { @@ -13887,6 +15910,12 @@ func (o ProjectRepoIdResponseOutput) ToProjectRepoIdResponseOutputWithContext(ct return o } +func (o ProjectRepoIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProjectRepoIdResponse] { + return pulumix.Output[ProjectRepoIdResponse]{ + OutputState: o.OutputState, + } +} + // The ID of the project. func (o ProjectRepoIdResponseOutput) Project() pulumi.StringOutput { return o.ApplyT(func(v ProjectRepoIdResponse) string { return v.Project }).(pulumi.StringOutput) @@ -13940,6 +15969,12 @@ func (i PublisherArgs) ToPublisherOutputWithContext(ctx context.Context) Publish return pulumi.ToOutputWithContext(ctx, i).(PublisherOutput) } +func (i PublisherArgs) ToOutput(ctx context.Context) pulumix.Output[Publisher] { + return pulumix.Output[Publisher]{ + OutputState: i.ToPublisherOutputWithContext(ctx).OutputState, + } +} + func (i PublisherArgs) ToPublisherPtrOutput() PublisherPtrOutput { return i.ToPublisherPtrOutputWithContext(context.Background()) } @@ -13981,6 +16016,12 @@ func (i *publisherPtrType) ToPublisherPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PublisherPtrOutput) } +func (i *publisherPtrType) ToOutput(ctx context.Context) pulumix.Output[*Publisher] { + return pulumix.Output[*Publisher]{ + OutputState: i.ToPublisherPtrOutputWithContext(ctx).OutputState, + } +} + // Publisher contains information about the publisher of this Note. type PublisherOutput struct{ *pulumi.OutputState } @@ -14006,6 +16047,12 @@ func (o PublisherOutput) ToPublisherPtrOutputWithContext(ctx context.Context) Pu }).(PublisherPtrOutput) } +func (o PublisherOutput) ToOutput(ctx context.Context) pulumix.Output[Publisher] { + return pulumix.Output[Publisher]{ + OutputState: o.OutputState, + } +} + // Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations. func (o PublisherOutput) IssuingAuthority() pulumi.StringPtrOutput { return o.ApplyT(func(v Publisher) *string { return v.IssuingAuthority }).(pulumi.StringPtrOutput) @@ -14035,6 +16082,12 @@ func (o PublisherPtrOutput) ToPublisherPtrOutputWithContext(ctx context.Context) return o } +func (o PublisherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Publisher] { + return pulumix.Output[*Publisher]{ + OutputState: o.OutputState, + } +} + func (o PublisherPtrOutput) Elem() PublisherOutput { return o.ApplyT(func(v *Publisher) Publisher { if v != nil { @@ -14100,6 +16153,12 @@ func (o PublisherResponseOutput) ToPublisherResponseOutputWithContext(ctx contex return o } +func (o PublisherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublisherResponse] { + return pulumix.Output[PublisherResponse]{ + OutputState: o.OutputState, + } +} + // Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations. func (o PublisherResponseOutput) IssuingAuthority() pulumi.StringOutput { return o.ApplyT(func(v PublisherResponse) string { return v.IssuingAuthority }).(pulumi.StringOutput) @@ -14166,6 +16225,12 @@ func (i RecipeArgs) ToRecipeOutputWithContext(ctx context.Context) RecipeOutput return pulumi.ToOutputWithContext(ctx, i).(RecipeOutput) } +func (i RecipeArgs) ToOutput(ctx context.Context) pulumix.Output[Recipe] { + return pulumix.Output[Recipe]{ + OutputState: i.ToRecipeOutputWithContext(ctx).OutputState, + } +} + func (i RecipeArgs) ToRecipePtrOutput() RecipePtrOutput { return i.ToRecipePtrOutputWithContext(context.Background()) } @@ -14207,6 +16272,12 @@ func (i *recipePtrType) ToRecipePtrOutputWithContext(ctx context.Context) Recipe return pulumi.ToOutputWithContext(ctx, i).(RecipePtrOutput) } +func (i *recipePtrType) ToOutput(ctx context.Context) pulumix.Output[*Recipe] { + return pulumix.Output[*Recipe]{ + OutputState: i.ToRecipePtrOutputWithContext(ctx).OutputState, + } +} + // Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. type RecipeOutput struct{ *pulumi.OutputState } @@ -14232,6 +16303,12 @@ func (o RecipeOutput) ToRecipePtrOutputWithContext(ctx context.Context) RecipePt }).(RecipePtrOutput) } +func (o RecipeOutput) ToOutput(ctx context.Context) pulumix.Output[Recipe] { + return pulumix.Output[Recipe]{ + OutputState: o.OutputState, + } +} + // Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form "Any". func (o RecipeOutput) Arguments() pulumi.StringMapArrayOutput { return o.ApplyT(func(v Recipe) []map[string]string { return v.Arguments }).(pulumi.StringMapArrayOutput) @@ -14271,6 +16348,12 @@ func (o RecipePtrOutput) ToRecipePtrOutputWithContext(ctx context.Context) Recip return o } +func (o RecipePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Recipe] { + return pulumix.Output[*Recipe]{ + OutputState: o.OutputState, + } +} + func (o RecipePtrOutput) Elem() RecipeOutput { return o.ApplyT(func(v *Recipe) Recipe { if v != nil { @@ -14360,6 +16443,12 @@ func (o RecipeResponseOutput) ToRecipeResponseOutputWithContext(ctx context.Cont return o } +func (o RecipeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RecipeResponse] { + return pulumix.Output[RecipeResponse]{ + OutputState: o.OutputState, + } +} + // Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form "Any". func (o RecipeResponseOutput) Arguments() pulumi.StringMapArrayOutput { return o.ApplyT(func(v RecipeResponse) []map[string]string { return v.Arguments }).(pulumi.StringMapArrayOutput) @@ -14424,6 +16513,12 @@ func (i RelatedUrlArgs) ToRelatedUrlOutputWithContext(ctx context.Context) Relat return pulumi.ToOutputWithContext(ctx, i).(RelatedUrlOutput) } +func (i RelatedUrlArgs) ToOutput(ctx context.Context) pulumix.Output[RelatedUrl] { + return pulumix.Output[RelatedUrl]{ + OutputState: i.ToRelatedUrlOutputWithContext(ctx).OutputState, + } +} + func (i RelatedUrlArgs) ToRelatedUrlPtrOutput() RelatedUrlPtrOutput { return i.ToRelatedUrlPtrOutputWithContext(context.Background()) } @@ -14465,6 +16560,12 @@ func (i *relatedUrlPtrType) ToRelatedUrlPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RelatedUrlPtrOutput) } +func (i *relatedUrlPtrType) ToOutput(ctx context.Context) pulumix.Output[*RelatedUrl] { + return pulumix.Output[*RelatedUrl]{ + OutputState: i.ToRelatedUrlPtrOutputWithContext(ctx).OutputState, + } +} + // RelatedUrlArrayInput is an input type that accepts RelatedUrlArray and RelatedUrlArrayOutput values. // You can construct a concrete instance of `RelatedUrlArrayInput` via: // @@ -14490,6 +16591,12 @@ func (i RelatedUrlArray) ToRelatedUrlArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RelatedUrlArrayOutput) } +func (i RelatedUrlArray) ToOutput(ctx context.Context) pulumix.Output[[]RelatedUrl] { + return pulumix.Output[[]RelatedUrl]{ + OutputState: i.ToRelatedUrlArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata for any related URL information. type RelatedUrlOutput struct{ *pulumi.OutputState } @@ -14515,6 +16622,12 @@ func (o RelatedUrlOutput) ToRelatedUrlPtrOutputWithContext(ctx context.Context) }).(RelatedUrlPtrOutput) } +func (o RelatedUrlOutput) ToOutput(ctx context.Context) pulumix.Output[RelatedUrl] { + return pulumix.Output[RelatedUrl]{ + OutputState: o.OutputState, + } +} + // Label to describe usage of the URL. func (o RelatedUrlOutput) Label() pulumi.StringPtrOutput { return o.ApplyT(func(v RelatedUrl) *string { return v.Label }).(pulumi.StringPtrOutput) @@ -14539,6 +16652,12 @@ func (o RelatedUrlPtrOutput) ToRelatedUrlPtrOutputWithContext(ctx context.Contex return o } +func (o RelatedUrlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RelatedUrl] { + return pulumix.Output[*RelatedUrl]{ + OutputState: o.OutputState, + } +} + func (o RelatedUrlPtrOutput) Elem() RelatedUrlOutput { return o.ApplyT(func(v *RelatedUrl) RelatedUrl { if v != nil { @@ -14583,6 +16702,12 @@ func (o RelatedUrlArrayOutput) ToRelatedUrlArrayOutputWithContext(ctx context.Co return o } +func (o RelatedUrlArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RelatedUrl] { + return pulumix.Output[[]RelatedUrl]{ + OutputState: o.OutputState, + } +} + func (o RelatedUrlArrayOutput) Index(i pulumi.IntInput) RelatedUrlOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RelatedUrl { return vs[0].([]RelatedUrl)[vs[1].(int)] @@ -14612,6 +16737,12 @@ func (o RelatedUrlResponseOutput) ToRelatedUrlResponseOutputWithContext(ctx cont return o } +func (o RelatedUrlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RelatedUrlResponse] { + return pulumix.Output[RelatedUrlResponse]{ + OutputState: o.OutputState, + } +} + // Label to describe usage of the URL. func (o RelatedUrlResponseOutput) Label() pulumi.StringOutput { return o.ApplyT(func(v RelatedUrlResponse) string { return v.Label }).(pulumi.StringOutput) @@ -14636,6 +16767,12 @@ func (o RelatedUrlResponseArrayOutput) ToRelatedUrlResponseArrayOutputWithContex return o } +func (o RelatedUrlResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RelatedUrlResponse] { + return pulumix.Output[[]RelatedUrlResponse]{ + OutputState: o.OutputState, + } +} + func (o RelatedUrlResponseArrayOutput) Index(i pulumi.IntInput) RelatedUrlResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RelatedUrlResponse { return vs[0].([]RelatedUrlResponse)[vs[1].(int)] @@ -14685,6 +16822,12 @@ func (i RemediationArgs) ToRemediationOutputWithContext(ctx context.Context) Rem return pulumi.ToOutputWithContext(ctx, i).(RemediationOutput) } +func (i RemediationArgs) ToOutput(ctx context.Context) pulumix.Output[Remediation] { + return pulumix.Output[Remediation]{ + OutputState: i.ToRemediationOutputWithContext(ctx).OutputState, + } +} + // RemediationArrayInput is an input type that accepts RemediationArray and RemediationArrayOutput values. // You can construct a concrete instance of `RemediationArrayInput` via: // @@ -14710,6 +16853,12 @@ func (i RemediationArray) ToRemediationArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(RemediationArrayOutput) } +func (i RemediationArray) ToOutput(ctx context.Context) pulumix.Output[[]Remediation] { + return pulumix.Output[[]Remediation]{ + OutputState: i.ToRemediationArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies details on how to handle (and presumably, fix) a vulnerability. type RemediationOutput struct{ *pulumi.OutputState } @@ -14725,6 +16874,12 @@ func (o RemediationOutput) ToRemediationOutputWithContext(ctx context.Context) R return o } +func (o RemediationOutput) ToOutput(ctx context.Context) pulumix.Output[Remediation] { + return pulumix.Output[Remediation]{ + OutputState: o.OutputState, + } +} + // Contains a comprehensive human-readable discussion of the remediation. func (o RemediationOutput) Details() pulumi.StringPtrOutput { return o.ApplyT(func(v Remediation) *string { return v.Details }).(pulumi.StringPtrOutput) @@ -14754,6 +16909,12 @@ func (o RemediationArrayOutput) ToRemediationArrayOutputWithContext(ctx context. return o } +func (o RemediationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Remediation] { + return pulumix.Output[[]Remediation]{ + OutputState: o.OutputState, + } +} + func (o RemediationArrayOutput) Index(i pulumi.IntInput) RemediationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Remediation { return vs[0].([]Remediation)[vs[1].(int)] @@ -14785,6 +16946,12 @@ func (o RemediationResponseOutput) ToRemediationResponseOutputWithContext(ctx co return o } +func (o RemediationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RemediationResponse] { + return pulumix.Output[RemediationResponse]{ + OutputState: o.OutputState, + } +} + // Contains a comprehensive human-readable discussion of the remediation. func (o RemediationResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v RemediationResponse) string { return v.Details }).(pulumi.StringOutput) @@ -14814,6 +16981,12 @@ func (o RemediationResponseArrayOutput) ToRemediationResponseArrayOutputWithCont return o } +func (o RemediationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RemediationResponse] { + return pulumix.Output[[]RemediationResponse]{ + OutputState: o.OutputState, + } +} + func (o RemediationResponseArrayOutput) Index(i pulumi.IntInput) RemediationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RemediationResponse { return vs[0].([]RemediationResponse)[vs[1].(int)] @@ -14859,6 +17032,12 @@ func (i RepoIdArgs) ToRepoIdOutputWithContext(ctx context.Context) RepoIdOutput return pulumi.ToOutputWithContext(ctx, i).(RepoIdOutput) } +func (i RepoIdArgs) ToOutput(ctx context.Context) pulumix.Output[RepoId] { + return pulumix.Output[RepoId]{ + OutputState: i.ToRepoIdOutputWithContext(ctx).OutputState, + } +} + func (i RepoIdArgs) ToRepoIdPtrOutput() RepoIdPtrOutput { return i.ToRepoIdPtrOutputWithContext(context.Background()) } @@ -14900,6 +17079,12 @@ func (i *repoIdPtrType) ToRepoIdPtrOutputWithContext(ctx context.Context) RepoId return pulumi.ToOutputWithContext(ctx, i).(RepoIdPtrOutput) } +func (i *repoIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*RepoId] { + return pulumix.Output[*RepoId]{ + OutputState: i.ToRepoIdPtrOutputWithContext(ctx).OutputState, + } +} + // A unique identifier for a Cloud Repo. type RepoIdOutput struct{ *pulumi.OutputState } @@ -14925,6 +17110,12 @@ func (o RepoIdOutput) ToRepoIdPtrOutputWithContext(ctx context.Context) RepoIdPt }).(RepoIdPtrOutput) } +func (o RepoIdOutput) ToOutput(ctx context.Context) pulumix.Output[RepoId] { + return pulumix.Output[RepoId]{ + OutputState: o.OutputState, + } +} + // A combination of a project ID and a repo name. func (o RepoIdOutput) ProjectRepoId() ProjectRepoIdPtrOutput { return o.ApplyT(func(v RepoId) *ProjectRepoId { return v.ProjectRepoId }).(ProjectRepoIdPtrOutput) @@ -14949,6 +17140,12 @@ func (o RepoIdPtrOutput) ToRepoIdPtrOutputWithContext(ctx context.Context) RepoI return o } +func (o RepoIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepoId] { + return pulumix.Output[*RepoId]{ + OutputState: o.OutputState, + } +} + func (o RepoIdPtrOutput) Elem() RepoIdOutput { return o.ApplyT(func(v *RepoId) RepoId { if v != nil { @@ -15002,6 +17199,12 @@ func (o RepoIdResponseOutput) ToRepoIdResponseOutputWithContext(ctx context.Cont return o } +func (o RepoIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RepoIdResponse] { + return pulumix.Output[RepoIdResponse]{ + OutputState: o.OutputState, + } +} + // A combination of a project ID and a repo name. func (o RepoIdResponseOutput) ProjectRepoId() ProjectRepoIdResponseOutput { return o.ApplyT(func(v RepoIdResponse) ProjectRepoIdResponse { return v.ProjectRepoId }).(ProjectRepoIdResponseOutput) @@ -15051,6 +17254,12 @@ func (i SBOMReferenceNoteArgs) ToSBOMReferenceNoteOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceNoteOutput) } +func (i SBOMReferenceNoteArgs) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceNote] { + return pulumix.Output[SBOMReferenceNote]{ + OutputState: i.ToSBOMReferenceNoteOutputWithContext(ctx).OutputState, + } +} + func (i SBOMReferenceNoteArgs) ToSBOMReferenceNotePtrOutput() SBOMReferenceNotePtrOutput { return i.ToSBOMReferenceNotePtrOutputWithContext(context.Background()) } @@ -15092,6 +17301,12 @@ func (i *sbomreferenceNotePtrType) ToSBOMReferenceNotePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceNotePtrOutput) } +func (i *sbomreferenceNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceNote] { + return pulumix.Output[*SBOMReferenceNote]{ + OutputState: i.ToSBOMReferenceNotePtrOutputWithContext(ctx).OutputState, + } +} + // The note representing an SBOM reference. type SBOMReferenceNoteOutput struct{ *pulumi.OutputState } @@ -15117,6 +17332,12 @@ func (o SBOMReferenceNoteOutput) ToSBOMReferenceNotePtrOutputWithContext(ctx con }).(SBOMReferenceNotePtrOutput) } +func (o SBOMReferenceNoteOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceNote] { + return pulumix.Output[SBOMReferenceNote]{ + OutputState: o.OutputState, + } +} + // The format that SBOM takes. E.g. may be spdx, cyclonedx, etc... func (o SBOMReferenceNoteOutput) Format() pulumi.StringPtrOutput { return o.ApplyT(func(v SBOMReferenceNote) *string { return v.Format }).(pulumi.StringPtrOutput) @@ -15141,6 +17362,12 @@ func (o SBOMReferenceNotePtrOutput) ToSBOMReferenceNotePtrOutputWithContext(ctx return o } +func (o SBOMReferenceNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceNote] { + return pulumix.Output[*SBOMReferenceNote]{ + OutputState: o.OutputState, + } +} + func (o SBOMReferenceNotePtrOutput) Elem() SBOMReferenceNoteOutput { return o.ApplyT(func(v *SBOMReferenceNote) SBOMReferenceNote { if v != nil { @@ -15194,6 +17421,12 @@ func (o SBOMReferenceNoteResponseOutput) ToSBOMReferenceNoteResponseOutputWithCo return o } +func (o SBOMReferenceNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceNoteResponse] { + return pulumix.Output[SBOMReferenceNoteResponse]{ + OutputState: o.OutputState, + } +} + // The format that SBOM takes. E.g. may be spdx, cyclonedx, etc... func (o SBOMReferenceNoteResponseOutput) Format() pulumi.StringOutput { return o.ApplyT(func(v SBOMReferenceNoteResponse) string { return v.Format }).(pulumi.StringOutput) @@ -15247,6 +17480,12 @@ func (i SBOMReferenceOccurrenceArgs) ToSBOMReferenceOccurrenceOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceOccurrenceOutput) } +func (i SBOMReferenceOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceOccurrence] { + return pulumix.Output[SBOMReferenceOccurrence]{ + OutputState: i.ToSBOMReferenceOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i SBOMReferenceOccurrenceArgs) ToSBOMReferenceOccurrencePtrOutput() SBOMReferenceOccurrencePtrOutput { return i.ToSBOMReferenceOccurrencePtrOutputWithContext(context.Background()) } @@ -15288,6 +17527,12 @@ func (i *sbomreferenceOccurrencePtrType) ToSBOMReferenceOccurrencePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceOccurrencePtrOutput) } +func (i *sbomreferenceOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceOccurrence] { + return pulumix.Output[*SBOMReferenceOccurrence]{ + OutputState: i.ToSBOMReferenceOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details. type SBOMReferenceOccurrenceOutput struct{ *pulumi.OutputState } @@ -15313,6 +17558,12 @@ func (o SBOMReferenceOccurrenceOutput) ToSBOMReferenceOccurrencePtrOutputWithCon }).(SBOMReferenceOccurrencePtrOutput) } +func (o SBOMReferenceOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceOccurrence] { + return pulumix.Output[SBOMReferenceOccurrence]{ + OutputState: o.OutputState, + } +} + // The actual payload that contains the SBOM reference data. func (o SBOMReferenceOccurrenceOutput) Payload() SbomReferenceIntotoPayloadPtrOutput { return o.ApplyT(func(v SBOMReferenceOccurrence) *SbomReferenceIntotoPayload { return v.Payload }).(SbomReferenceIntotoPayloadPtrOutput) @@ -15342,6 +17593,12 @@ func (o SBOMReferenceOccurrencePtrOutput) ToSBOMReferenceOccurrencePtrOutputWith return o } +func (o SBOMReferenceOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceOccurrence] { + return pulumix.Output[*SBOMReferenceOccurrence]{ + OutputState: o.OutputState, + } +} + func (o SBOMReferenceOccurrencePtrOutput) Elem() SBOMReferenceOccurrenceOutput { return o.ApplyT(func(v *SBOMReferenceOccurrence) SBOMReferenceOccurrence { if v != nil { @@ -15407,6 +17664,12 @@ func (o SBOMReferenceOccurrenceResponseOutput) ToSBOMReferenceOccurrenceResponse return o } +func (o SBOMReferenceOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceOccurrenceResponse] { + return pulumix.Output[SBOMReferenceOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // The actual payload that contains the SBOM reference data. func (o SBOMReferenceOccurrenceResponseOutput) Payload() SbomReferenceIntotoPayloadResponseOutput { return o.ApplyT(func(v SBOMReferenceOccurrenceResponse) SbomReferenceIntotoPayloadResponse { return v.Payload }).(SbomReferenceIntotoPayloadResponseOutput) @@ -15469,6 +17732,12 @@ func (i SbomReferenceIntotoPayloadArgs) ToSbomReferenceIntotoPayloadOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPayloadOutput) } +func (i SbomReferenceIntotoPayloadArgs) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPayload] { + return pulumix.Output[SbomReferenceIntotoPayload]{ + OutputState: i.ToSbomReferenceIntotoPayloadOutputWithContext(ctx).OutputState, + } +} + func (i SbomReferenceIntotoPayloadArgs) ToSbomReferenceIntotoPayloadPtrOutput() SbomReferenceIntotoPayloadPtrOutput { return i.ToSbomReferenceIntotoPayloadPtrOutputWithContext(context.Background()) } @@ -15510,6 +17779,12 @@ func (i *sbomReferenceIntotoPayloadPtrType) ToSbomReferenceIntotoPayloadPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPayloadPtrOutput) } +func (i *sbomReferenceIntotoPayloadPtrType) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPayload] { + return pulumix.Output[*SbomReferenceIntotoPayload]{ + OutputState: i.ToSbomReferenceIntotoPayloadPtrOutputWithContext(ctx).OutputState, + } +} + // The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details. type SbomReferenceIntotoPayloadOutput struct{ *pulumi.OutputState } @@ -15535,6 +17810,12 @@ func (o SbomReferenceIntotoPayloadOutput) ToSbomReferenceIntotoPayloadPtrOutputW }).(SbomReferenceIntotoPayloadPtrOutput) } +func (o SbomReferenceIntotoPayloadOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPayload] { + return pulumix.Output[SbomReferenceIntotoPayload]{ + OutputState: o.OutputState, + } +} + // Additional parameters of the Predicate. Includes the actual data about the SBOM. func (o SbomReferenceIntotoPayloadOutput) Predicate() SbomReferenceIntotoPredicatePtrOutput { return o.ApplyT(func(v SbomReferenceIntotoPayload) *SbomReferenceIntotoPredicate { return v.Predicate }).(SbomReferenceIntotoPredicatePtrOutput) @@ -15569,6 +17850,12 @@ func (o SbomReferenceIntotoPayloadPtrOutput) ToSbomReferenceIntotoPayloadPtrOutp return o } +func (o SbomReferenceIntotoPayloadPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPayload] { + return pulumix.Output[*SbomReferenceIntotoPayload]{ + OutputState: o.OutputState, + } +} + func (o SbomReferenceIntotoPayloadPtrOutput) Elem() SbomReferenceIntotoPayloadOutput { return o.ApplyT(func(v *SbomReferenceIntotoPayload) SbomReferenceIntotoPayload { if v != nil { @@ -15646,6 +17933,12 @@ func (o SbomReferenceIntotoPayloadResponseOutput) ToSbomReferenceIntotoPayloadRe return o } +func (o SbomReferenceIntotoPayloadResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPayloadResponse] { + return pulumix.Output[SbomReferenceIntotoPayloadResponse]{ + OutputState: o.OutputState, + } +} + // Additional parameters of the Predicate. Includes the actual data about the SBOM. func (o SbomReferenceIntotoPayloadResponseOutput) Predicate() SbomReferenceIntotoPredicateResponseOutput { return o.ApplyT(func(v SbomReferenceIntotoPayloadResponse) SbomReferenceIntotoPredicateResponse { return v.Predicate }).(SbomReferenceIntotoPredicateResponseOutput) @@ -15713,6 +18006,12 @@ func (i SbomReferenceIntotoPredicateArgs) ToSbomReferenceIntotoPredicateOutputWi return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPredicateOutput) } +func (i SbomReferenceIntotoPredicateArgs) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPredicate] { + return pulumix.Output[SbomReferenceIntotoPredicate]{ + OutputState: i.ToSbomReferenceIntotoPredicateOutputWithContext(ctx).OutputState, + } +} + func (i SbomReferenceIntotoPredicateArgs) ToSbomReferenceIntotoPredicatePtrOutput() SbomReferenceIntotoPredicatePtrOutput { return i.ToSbomReferenceIntotoPredicatePtrOutputWithContext(context.Background()) } @@ -15754,6 +18053,12 @@ func (i *sbomReferenceIntotoPredicatePtrType) ToSbomReferenceIntotoPredicatePtrO return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPredicatePtrOutput) } +func (i *sbomReferenceIntotoPredicatePtrType) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPredicate] { + return pulumix.Output[*SbomReferenceIntotoPredicate]{ + OutputState: i.ToSbomReferenceIntotoPredicatePtrOutputWithContext(ctx).OutputState, + } +} + // A predicate which describes the SBOM being referenced. type SbomReferenceIntotoPredicateOutput struct{ *pulumi.OutputState } @@ -15779,6 +18084,12 @@ func (o SbomReferenceIntotoPredicateOutput) ToSbomReferenceIntotoPredicatePtrOut }).(SbomReferenceIntotoPredicatePtrOutput) } +func (o SbomReferenceIntotoPredicateOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPredicate] { + return pulumix.Output[SbomReferenceIntotoPredicate]{ + OutputState: o.OutputState, + } +} + // A map of algorithm to digest of the contents of the SBOM. func (o SbomReferenceIntotoPredicateOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v SbomReferenceIntotoPredicate) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -15813,6 +18124,12 @@ func (o SbomReferenceIntotoPredicatePtrOutput) ToSbomReferenceIntotoPredicatePtr return o } +func (o SbomReferenceIntotoPredicatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPredicate] { + return pulumix.Output[*SbomReferenceIntotoPredicate]{ + OutputState: o.OutputState, + } +} + func (o SbomReferenceIntotoPredicatePtrOutput) Elem() SbomReferenceIntotoPredicateOutput { return o.ApplyT(func(v *SbomReferenceIntotoPredicate) SbomReferenceIntotoPredicate { if v != nil { @@ -15890,6 +18207,12 @@ func (o SbomReferenceIntotoPredicateResponseOutput) ToSbomReferenceIntotoPredica return o } +func (o SbomReferenceIntotoPredicateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPredicateResponse] { + return pulumix.Output[SbomReferenceIntotoPredicateResponse]{ + OutputState: o.OutputState, + } +} + // A map of algorithm to digest of the contents of the SBOM. func (o SbomReferenceIntotoPredicateResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v SbomReferenceIntotoPredicateResponse) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -15949,6 +18272,12 @@ func (i SignatureArgs) ToSignatureOutputWithContext(ctx context.Context) Signatu return pulumi.ToOutputWithContext(ctx, i).(SignatureOutput) } +func (i SignatureArgs) ToOutput(ctx context.Context) pulumix.Output[Signature] { + return pulumix.Output[Signature]{ + OutputState: i.ToSignatureOutputWithContext(ctx).OutputState, + } +} + // SignatureArrayInput is an input type that accepts SignatureArray and SignatureArrayOutput values. // You can construct a concrete instance of `SignatureArrayInput` via: // @@ -15974,6 +18303,12 @@ func (i SignatureArray) ToSignatureArrayOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SignatureArrayOutput) } +func (i SignatureArray) ToOutput(ctx context.Context) pulumix.Output[[]Signature] { + return pulumix.Output[[]Signature]{ + OutputState: i.ToSignatureArrayOutputWithContext(ctx).OutputState, + } +} + // Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be "attached" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any "attached" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature). type SignatureOutput struct{ *pulumi.OutputState } @@ -15989,6 +18324,12 @@ func (o SignatureOutput) ToSignatureOutputWithContext(ctx context.Context) Signa return o } +func (o SignatureOutput) ToOutput(ctx context.Context) pulumix.Output[Signature] { + return pulumix.Output[Signature]{ + OutputState: o.OutputState, + } +} + // The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" * "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5" func (o SignatureOutput) PublicKeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v Signature) *string { return v.PublicKeyId }).(pulumi.StringPtrOutput) @@ -16013,6 +18354,12 @@ func (o SignatureArrayOutput) ToSignatureArrayOutputWithContext(ctx context.Cont return o } +func (o SignatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Signature] { + return pulumix.Output[[]Signature]{ + OutputState: o.OutputState, + } +} + func (o SignatureArrayOutput) Index(i pulumi.IntInput) SignatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Signature { return vs[0].([]Signature)[vs[1].(int)] @@ -16042,6 +18389,12 @@ func (o SignatureResponseOutput) ToSignatureResponseOutputWithContext(ctx contex return o } +func (o SignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SignatureResponse] { + return pulumix.Output[SignatureResponse]{ + OutputState: o.OutputState, + } +} + // The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" * "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5" func (o SignatureResponseOutput) PublicKeyId() pulumi.StringOutput { return o.ApplyT(func(v SignatureResponse) string { return v.PublicKeyId }).(pulumi.StringOutput) @@ -16066,6 +18419,12 @@ func (o SignatureResponseArrayOutput) ToSignatureResponseArrayOutputWithContext( return o } +func (o SignatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SignatureResponse] { + return pulumix.Output[[]SignatureResponse]{ + OutputState: o.OutputState, + } +} + func (o SignatureResponseArrayOutput) Index(i pulumi.IntInput) SignatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SignatureResponse { return vs[0].([]SignatureResponse)[vs[1].(int)] @@ -16103,6 +18462,12 @@ func (i SlsaBuilderArgs) ToSlsaBuilderOutputWithContext(ctx context.Context) Sls return pulumi.ToOutputWithContext(ctx, i).(SlsaBuilderOutput) } +func (i SlsaBuilderArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaBuilder] { + return pulumix.Output[SlsaBuilder]{ + OutputState: i.ToSlsaBuilderOutputWithContext(ctx).OutputState, + } +} + func (i SlsaBuilderArgs) ToSlsaBuilderPtrOutput() SlsaBuilderPtrOutput { return i.ToSlsaBuilderPtrOutputWithContext(context.Background()) } @@ -16144,6 +18509,12 @@ func (i *slsaBuilderPtrType) ToSlsaBuilderPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SlsaBuilderPtrOutput) } +func (i *slsaBuilderPtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaBuilder] { + return pulumix.Output[*SlsaBuilder]{ + OutputState: i.ToSlsaBuilderPtrOutputWithContext(ctx).OutputState, + } +} + type SlsaBuilderOutput struct{ *pulumi.OutputState } func (SlsaBuilderOutput) ElementType() reflect.Type { @@ -16168,6 +18539,12 @@ func (o SlsaBuilderOutput) ToSlsaBuilderPtrOutputWithContext(ctx context.Context }).(SlsaBuilderPtrOutput) } +func (o SlsaBuilderOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaBuilder] { + return pulumix.Output[SlsaBuilder]{ + OutputState: o.OutputState, + } +} + func (o SlsaBuilderOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v SlsaBuilder) *string { return v.Id }).(pulumi.StringPtrOutput) } @@ -16186,6 +18563,12 @@ func (o SlsaBuilderPtrOutput) ToSlsaBuilderPtrOutputWithContext(ctx context.Cont return o } +func (o SlsaBuilderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaBuilder] { + return pulumix.Output[*SlsaBuilder]{ + OutputState: o.OutputState, + } +} + func (o SlsaBuilderPtrOutput) Elem() SlsaBuilderOutput { return o.ApplyT(func(v *SlsaBuilder) SlsaBuilder { if v != nil { @@ -16222,6 +18605,12 @@ func (o SlsaBuilderResponseOutput) ToSlsaBuilderResponseOutputWithContext(ctx co return o } +func (o SlsaBuilderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaBuilderResponse] { + return pulumix.Output[SlsaBuilderResponse]{ + OutputState: o.OutputState, + } +} + // Indicates that the builder claims certain fields in this message to be complete. type SlsaCompleteness struct { // If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. @@ -16265,6 +18654,12 @@ func (i SlsaCompletenessArgs) ToSlsaCompletenessOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SlsaCompletenessOutput) } +func (i SlsaCompletenessArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaCompleteness] { + return pulumix.Output[SlsaCompleteness]{ + OutputState: i.ToSlsaCompletenessOutputWithContext(ctx).OutputState, + } +} + func (i SlsaCompletenessArgs) ToSlsaCompletenessPtrOutput() SlsaCompletenessPtrOutput { return i.ToSlsaCompletenessPtrOutputWithContext(context.Background()) } @@ -16306,6 +18701,12 @@ func (i *slsaCompletenessPtrType) ToSlsaCompletenessPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SlsaCompletenessPtrOutput) } +func (i *slsaCompletenessPtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaCompleteness] { + return pulumix.Output[*SlsaCompleteness]{ + OutputState: i.ToSlsaCompletenessPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that the builder claims certain fields in this message to be complete. type SlsaCompletenessOutput struct{ *pulumi.OutputState } @@ -16331,6 +18732,12 @@ func (o SlsaCompletenessOutput) ToSlsaCompletenessPtrOutputWithContext(ctx conte }).(SlsaCompletenessPtrOutput) } +func (o SlsaCompletenessOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaCompleteness] { + return pulumix.Output[SlsaCompleteness]{ + OutputState: o.OutputState, + } +} + // If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. func (o SlsaCompletenessOutput) Arguments() pulumi.BoolPtrOutput { return o.ApplyT(func(v SlsaCompleteness) *bool { return v.Arguments }).(pulumi.BoolPtrOutput) @@ -16360,6 +18767,12 @@ func (o SlsaCompletenessPtrOutput) ToSlsaCompletenessPtrOutputWithContext(ctx co return o } +func (o SlsaCompletenessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaCompleteness] { + return pulumix.Output[*SlsaCompleteness]{ + OutputState: o.OutputState, + } +} + func (o SlsaCompletenessPtrOutput) Elem() SlsaCompletenessOutput { return o.ApplyT(func(v *SlsaCompleteness) SlsaCompleteness { if v != nil { @@ -16425,6 +18838,12 @@ func (o SlsaCompletenessResponseOutput) ToSlsaCompletenessResponseOutputWithCont return o } +func (o SlsaCompletenessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaCompletenessResponse] { + return pulumix.Output[SlsaCompletenessResponse]{ + OutputState: o.OutputState, + } +} + // If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. func (o SlsaCompletenessResponseOutput) Arguments() pulumi.BoolOutput { return o.ApplyT(func(v SlsaCompletenessResponse) bool { return v.Arguments }).(pulumi.BoolOutput) @@ -16491,6 +18910,12 @@ func (i SlsaMetadataArgs) ToSlsaMetadataOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SlsaMetadataOutput) } +func (i SlsaMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaMetadata] { + return pulumix.Output[SlsaMetadata]{ + OutputState: i.ToSlsaMetadataOutputWithContext(ctx).OutputState, + } +} + func (i SlsaMetadataArgs) ToSlsaMetadataPtrOutput() SlsaMetadataPtrOutput { return i.ToSlsaMetadataPtrOutputWithContext(context.Background()) } @@ -16532,6 +18957,12 @@ func (i *slsaMetadataPtrType) ToSlsaMetadataPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SlsaMetadataPtrOutput) } +func (i *slsaMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaMetadata] { + return pulumix.Output[*SlsaMetadata]{ + OutputState: i.ToSlsaMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Other properties of the build. type SlsaMetadataOutput struct{ *pulumi.OutputState } @@ -16557,6 +18988,12 @@ func (o SlsaMetadataOutput) ToSlsaMetadataPtrOutputWithContext(ctx context.Conte }).(SlsaMetadataPtrOutput) } +func (o SlsaMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaMetadata] { + return pulumix.Output[SlsaMetadata]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the build completed. func (o SlsaMetadataOutput) BuildFinishedOn() pulumi.StringPtrOutput { return o.ApplyT(func(v SlsaMetadata) *string { return v.BuildFinishedOn }).(pulumi.StringPtrOutput) @@ -16596,6 +19033,12 @@ func (o SlsaMetadataPtrOutput) ToSlsaMetadataPtrOutputWithContext(ctx context.Co return o } +func (o SlsaMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaMetadata] { + return pulumix.Output[*SlsaMetadata]{ + OutputState: o.OutputState, + } +} + func (o SlsaMetadataPtrOutput) Elem() SlsaMetadataOutput { return o.ApplyT(func(v *SlsaMetadata) SlsaMetadata { if v != nil { @@ -16685,6 +19128,12 @@ func (o SlsaMetadataResponseOutput) ToSlsaMetadataResponseOutputWithContext(ctx return o } +func (o SlsaMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaMetadataResponse] { + return pulumix.Output[SlsaMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the build completed. func (o SlsaMetadataResponseOutput) BuildFinishedOn() pulumi.StringOutput { return o.ApplyT(func(v SlsaMetadataResponse) string { return v.BuildFinishedOn }).(pulumi.StringOutput) @@ -16753,6 +19202,12 @@ func (i SlsaProvenanceArgs) ToSlsaProvenanceOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SlsaProvenanceOutput) } +func (i SlsaProvenanceArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenance] { + return pulumix.Output[SlsaProvenance]{ + OutputState: i.ToSlsaProvenanceOutputWithContext(ctx).OutputState, + } +} + func (i SlsaProvenanceArgs) ToSlsaProvenancePtrOutput() SlsaProvenancePtrOutput { return i.ToSlsaProvenancePtrOutputWithContext(context.Background()) } @@ -16794,6 +19249,12 @@ func (i *slsaProvenancePtrType) ToSlsaProvenancePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SlsaProvenancePtrOutput) } +func (i *slsaProvenancePtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaProvenance] { + return pulumix.Output[*SlsaProvenance]{ + OutputState: i.ToSlsaProvenancePtrOutputWithContext(ctx).OutputState, + } +} + type SlsaProvenanceOutput struct{ *pulumi.OutputState } func (SlsaProvenanceOutput) ElementType() reflect.Type { @@ -16818,6 +19279,12 @@ func (o SlsaProvenanceOutput) ToSlsaProvenancePtrOutputWithContext(ctx context.C }).(SlsaProvenancePtrOutput) } +func (o SlsaProvenanceOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenance] { + return pulumix.Output[SlsaProvenance]{ + OutputState: o.OutputState, + } +} + // required func (o SlsaProvenanceOutput) Builder() SlsaBuilderPtrOutput { return o.ApplyT(func(v SlsaProvenance) *SlsaBuilder { return v.Builder }).(SlsaBuilderPtrOutput) @@ -16851,6 +19318,12 @@ func (o SlsaProvenancePtrOutput) ToSlsaProvenancePtrOutputWithContext(ctx contex return o } +func (o SlsaProvenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaProvenance] { + return pulumix.Output[*SlsaProvenance]{ + OutputState: o.OutputState, + } +} + func (o SlsaProvenancePtrOutput) Elem() SlsaProvenanceOutput { return o.ApplyT(func(v *SlsaProvenance) SlsaProvenance { if v != nil { @@ -16924,6 +19397,12 @@ func (o SlsaProvenanceResponseOutput) ToSlsaProvenanceResponseOutputWithContext( return o } +func (o SlsaProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenanceResponse] { + return pulumix.Output[SlsaProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // required func (o SlsaProvenanceResponseOutput) Builder() SlsaBuilderResponseOutput { return o.ApplyT(func(v SlsaProvenanceResponse) SlsaBuilderResponse { return v.Builder }).(SlsaBuilderResponseOutput) @@ -16986,6 +19465,12 @@ func (i SlsaProvenanceZeroTwoArgs) ToSlsaProvenanceZeroTwoOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SlsaProvenanceZeroTwoOutput) } +func (i SlsaProvenanceZeroTwoArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenanceZeroTwo] { + return pulumix.Output[SlsaProvenanceZeroTwo]{ + OutputState: i.ToSlsaProvenanceZeroTwoOutputWithContext(ctx).OutputState, + } +} + func (i SlsaProvenanceZeroTwoArgs) ToSlsaProvenanceZeroTwoPtrOutput() SlsaProvenanceZeroTwoPtrOutput { return i.ToSlsaProvenanceZeroTwoPtrOutputWithContext(context.Background()) } @@ -17027,6 +19512,12 @@ func (i *slsaProvenanceZeroTwoPtrType) ToSlsaProvenanceZeroTwoPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(SlsaProvenanceZeroTwoPtrOutput) } +func (i *slsaProvenanceZeroTwoPtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaProvenanceZeroTwo] { + return pulumix.Output[*SlsaProvenanceZeroTwo]{ + OutputState: i.ToSlsaProvenanceZeroTwoPtrOutputWithContext(ctx).OutputState, + } +} + // See full explanation of fields at slsa.dev/provenance/v0.2. type SlsaProvenanceZeroTwoOutput struct{ *pulumi.OutputState } @@ -17052,6 +19543,12 @@ func (o SlsaProvenanceZeroTwoOutput) ToSlsaProvenanceZeroTwoPtrOutputWithContext }).(SlsaProvenanceZeroTwoPtrOutput) } +func (o SlsaProvenanceZeroTwoOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenanceZeroTwo] { + return pulumix.Output[SlsaProvenanceZeroTwo]{ + OutputState: o.OutputState, + } +} + func (o SlsaProvenanceZeroTwoOutput) BuildConfig() pulumi.StringMapOutput { return o.ApplyT(func(v SlsaProvenanceZeroTwo) map[string]string { return v.BuildConfig }).(pulumi.StringMapOutput) } @@ -17090,6 +19587,12 @@ func (o SlsaProvenanceZeroTwoPtrOutput) ToSlsaProvenanceZeroTwoPtrOutputWithCont return o } +func (o SlsaProvenanceZeroTwoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaProvenanceZeroTwo] { + return pulumix.Output[*SlsaProvenanceZeroTwo]{ + OutputState: o.OutputState, + } +} + func (o SlsaProvenanceZeroTwoPtrOutput) Elem() SlsaProvenanceZeroTwoOutput { return o.ApplyT(func(v *SlsaProvenanceZeroTwo) SlsaProvenanceZeroTwo { if v != nil { @@ -17179,6 +19682,12 @@ func (o SlsaProvenanceZeroTwoResponseOutput) ToSlsaProvenanceZeroTwoResponseOutp return o } +func (o SlsaProvenanceZeroTwoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenanceZeroTwoResponse] { + return pulumix.Output[SlsaProvenanceZeroTwoResponse]{ + OutputState: o.OutputState, + } +} + func (o SlsaProvenanceZeroTwoResponseOutput) BuildConfig() pulumi.StringMapOutput { return o.ApplyT(func(v SlsaProvenanceZeroTwoResponse) map[string]string { return v.BuildConfig }).(pulumi.StringMapOutput) } @@ -17262,6 +19771,12 @@ func (i SlsaRecipeArgs) ToSlsaRecipeOutputWithContext(ctx context.Context) SlsaR return pulumi.ToOutputWithContext(ctx, i).(SlsaRecipeOutput) } +func (i SlsaRecipeArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaRecipe] { + return pulumix.Output[SlsaRecipe]{ + OutputState: i.ToSlsaRecipeOutputWithContext(ctx).OutputState, + } +} + func (i SlsaRecipeArgs) ToSlsaRecipePtrOutput() SlsaRecipePtrOutput { return i.ToSlsaRecipePtrOutputWithContext(context.Background()) } @@ -17303,6 +19818,12 @@ func (i *slsaRecipePtrType) ToSlsaRecipePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SlsaRecipePtrOutput) } +func (i *slsaRecipePtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaRecipe] { + return pulumix.Output[*SlsaRecipe]{ + OutputState: i.ToSlsaRecipePtrOutputWithContext(ctx).OutputState, + } +} + // Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. type SlsaRecipeOutput struct{ *pulumi.OutputState } @@ -17328,6 +19849,12 @@ func (o SlsaRecipeOutput) ToSlsaRecipePtrOutputWithContext(ctx context.Context) }).(SlsaRecipePtrOutput) } +func (o SlsaRecipeOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaRecipe] { + return pulumix.Output[SlsaRecipe]{ + OutputState: o.OutputState, + } +} + // Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different. func (o SlsaRecipeOutput) Arguments() pulumi.StringMapOutput { return o.ApplyT(func(v SlsaRecipe) map[string]string { return v.Arguments }).(pulumi.StringMapOutput) @@ -17367,6 +19894,12 @@ func (o SlsaRecipePtrOutput) ToSlsaRecipePtrOutputWithContext(ctx context.Contex return o } +func (o SlsaRecipePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaRecipe] { + return pulumix.Output[*SlsaRecipe]{ + OutputState: o.OutputState, + } +} + func (o SlsaRecipePtrOutput) Elem() SlsaRecipeOutput { return o.ApplyT(func(v *SlsaRecipe) SlsaRecipe { if v != nil { @@ -17456,6 +19989,12 @@ func (o SlsaRecipeResponseOutput) ToSlsaRecipeResponseOutputWithContext(ctx cont return o } +func (o SlsaRecipeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaRecipeResponse] { + return pulumix.Output[SlsaRecipeResponse]{ + OutputState: o.OutputState, + } +} + // Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different. func (o SlsaRecipeResponseOutput) Arguments() pulumi.StringMapOutput { return o.ApplyT(func(v SlsaRecipeResponse) map[string]string { return v.Arguments }).(pulumi.StringMapOutput) @@ -17528,6 +20067,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + func (i SourceArgs) ToSourcePtrOutput() SourcePtrOutput { return i.ToSourcePtrOutputWithContext(context.Background()) } @@ -17569,6 +20114,12 @@ func (i *sourcePtrType) ToSourcePtrOutputWithContext(ctx context.Context) Source return pulumi.ToOutputWithContext(ctx, i).(SourcePtrOutput) } +func (i *sourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Source describes the location of the source used for the build. type SourceOutput struct{ *pulumi.OutputState } @@ -17594,6 +20145,12 @@ func (o SourceOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePt }).(SourcePtrOutput) } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field. func (o SourceOutput) AdditionalContexts() SourceContextArrayOutput { return o.ApplyT(func(v Source) []SourceContext { return v.AdditionalContexts }).(SourceContextArrayOutput) @@ -17628,6 +20185,12 @@ func (o SourcePtrOutput) ToSourcePtrOutputWithContext(ctx context.Context) Sourc return o } +func (o SourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + func (o SourcePtrOutput) Elem() SourceOutput { return o.ApplyT(func(v *Source) Source { if v != nil { @@ -17725,6 +20288,12 @@ func (i SourceContextArgs) ToSourceContextOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SourceContextOutput) } +func (i SourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[SourceContext] { + return pulumix.Output[SourceContext]{ + OutputState: i.ToSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i SourceContextArgs) ToSourceContextPtrOutput() SourceContextPtrOutput { return i.ToSourceContextPtrOutputWithContext(context.Background()) } @@ -17766,6 +20335,12 @@ func (i *sourceContextPtrType) ToSourceContextPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SourceContextPtrOutput) } +func (i *sourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*SourceContext] { + return pulumix.Output[*SourceContext]{ + OutputState: i.ToSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // SourceContextArrayInput is an input type that accepts SourceContextArray and SourceContextArrayOutput values. // You can construct a concrete instance of `SourceContextArrayInput` via: // @@ -17791,6 +20366,12 @@ func (i SourceContextArray) ToSourceContextArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SourceContextArrayOutput) } +func (i SourceContextArray) ToOutput(ctx context.Context) pulumix.Output[[]SourceContext] { + return pulumix.Output[[]SourceContext]{ + OutputState: i.ToSourceContextArrayOutputWithContext(ctx).OutputState, + } +} + // A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory. type SourceContextOutput struct{ *pulumi.OutputState } @@ -17816,6 +20397,12 @@ func (o SourceContextOutput) ToSourceContextPtrOutputWithContext(ctx context.Con }).(SourceContextPtrOutput) } +func (o SourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[SourceContext] { + return pulumix.Output[SourceContext]{ + OutputState: o.OutputState, + } +} + // A SourceContext referring to a revision in a Google Cloud Source Repo. func (o SourceContextOutput) CloudRepo() CloudRepoSourceContextPtrOutput { return o.ApplyT(func(v SourceContext) *CloudRepoSourceContext { return v.CloudRepo }).(CloudRepoSourceContextPtrOutput) @@ -17850,6 +20437,12 @@ func (o SourceContextPtrOutput) ToSourceContextPtrOutputWithContext(ctx context. return o } +func (o SourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceContext] { + return pulumix.Output[*SourceContext]{ + OutputState: o.OutputState, + } +} + func (o SourceContextPtrOutput) Elem() SourceContextOutput { return o.ApplyT(func(v *SourceContext) SourceContext { if v != nil { @@ -17914,6 +20507,12 @@ func (o SourceContextArrayOutput) ToSourceContextArrayOutputWithContext(ctx cont return o } +func (o SourceContextArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceContext] { + return pulumix.Output[[]SourceContext]{ + OutputState: o.OutputState, + } +} + func (o SourceContextArrayOutput) Index(i pulumi.IntInput) SourceContextOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceContext { return vs[0].([]SourceContext)[vs[1].(int)] @@ -17947,6 +20546,12 @@ func (o SourceContextResponseOutput) ToSourceContextResponseOutputWithContext(ct return o } +func (o SourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceContextResponse] { + return pulumix.Output[SourceContextResponse]{ + OutputState: o.OutputState, + } +} + // A SourceContext referring to a revision in a Google Cloud Source Repo. func (o SourceContextResponseOutput) CloudRepo() CloudRepoSourceContextResponseOutput { return o.ApplyT(func(v SourceContextResponse) CloudRepoSourceContextResponse { return v.CloudRepo }).(CloudRepoSourceContextResponseOutput) @@ -17981,6 +20586,12 @@ func (o SourceContextResponseArrayOutput) ToSourceContextResponseArrayOutputWith return o } +func (o SourceContextResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceContextResponse] { + return pulumix.Output[[]SourceContextResponse]{ + OutputState: o.OutputState, + } +} + func (o SourceContextResponseArrayOutput) Index(i pulumi.IntInput) SourceContextResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceContextResponse { return vs[0].([]SourceContextResponse)[vs[1].(int)] @@ -18014,6 +20625,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field. func (o SourceResponseOutput) AdditionalContexts() SourceContextResponseArrayOutput { return o.ApplyT(func(v SourceResponse) []SourceContextResponse { return v.AdditionalContexts }).(SourceContextResponseArrayOutput) @@ -18077,6 +20694,12 @@ func (i StatusArgs) ToStatusOutputWithContext(ctx context.Context) StatusOutput return pulumi.ToOutputWithContext(ctx, i).(StatusOutput) } +func (i StatusArgs) ToOutput(ctx context.Context) pulumix.Output[Status] { + return pulumix.Output[Status]{ + OutputState: i.ToStatusOutputWithContext(ctx).OutputState, + } +} + func (i StatusArgs) ToStatusPtrOutput() StatusPtrOutput { return i.ToStatusPtrOutputWithContext(context.Background()) } @@ -18118,6 +20741,12 @@ func (i *statusPtrType) ToStatusPtrOutputWithContext(ctx context.Context) Status return pulumi.ToOutputWithContext(ctx, i).(StatusPtrOutput) } +func (i *statusPtrType) ToOutput(ctx context.Context) pulumix.Output[*Status] { + return pulumix.Output[*Status]{ + OutputState: i.ToStatusPtrOutputWithContext(ctx).OutputState, + } +} + // StatusArrayInput is an input type that accepts StatusArray and StatusArrayOutput values. // You can construct a concrete instance of `StatusArrayInput` via: // @@ -18143,6 +20772,12 @@ func (i StatusArray) ToStatusArrayOutputWithContext(ctx context.Context) StatusA return pulumi.ToOutputWithContext(ctx, i).(StatusArrayOutput) } +func (i StatusArray) ToOutput(ctx context.Context) pulumix.Output[[]Status] { + return pulumix.Output[[]Status]{ + OutputState: i.ToStatusArrayOutputWithContext(ctx).OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type StatusOutput struct{ *pulumi.OutputState } @@ -18168,6 +20803,12 @@ func (o StatusOutput) ToStatusPtrOutputWithContext(ctx context.Context) StatusPt }).(StatusPtrOutput) } +func (o StatusOutput) ToOutput(ctx context.Context) pulumix.Output[Status] { + return pulumix.Output[Status]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v Status) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -18197,6 +20838,12 @@ func (o StatusPtrOutput) ToStatusPtrOutputWithContext(ctx context.Context) Statu return o } +func (o StatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Status] { + return pulumix.Output[*Status]{ + OutputState: o.OutputState, + } +} + func (o StatusPtrOutput) Elem() StatusOutput { return o.ApplyT(func(v *Status) Status { if v != nil { @@ -18251,6 +20898,12 @@ func (o StatusArrayOutput) ToStatusArrayOutputWithContext(ctx context.Context) S return o } +func (o StatusArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Status] { + return pulumix.Output[[]Status]{ + OutputState: o.OutputState, + } +} + func (o StatusArrayOutput) Index(i pulumi.IntInput) StatusOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Status { return vs[0].([]Status)[vs[1].(int)] @@ -18282,6 +20935,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -18311,6 +20970,12 @@ func (o StatusResponseArrayOutput) ToStatusResponseArrayOutputWithContext(ctx co return o } +func (o StatusResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StatusResponse] { + return pulumix.Output[[]StatusResponse]{ + OutputState: o.OutputState, + } +} + func (o StatusResponseArrayOutput) Index(i pulumi.IntInput) StatusResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StatusResponse { return vs[0].([]StatusResponse)[vs[1].(int)] @@ -18352,6 +21017,12 @@ func (i SubjectArgs) ToSubjectOutputWithContext(ctx context.Context) SubjectOutp return pulumi.ToOutputWithContext(ctx, i).(SubjectOutput) } +func (i SubjectArgs) ToOutput(ctx context.Context) pulumix.Output[Subject] { + return pulumix.Output[Subject]{ + OutputState: i.ToSubjectOutputWithContext(ctx).OutputState, + } +} + // SubjectArrayInput is an input type that accepts SubjectArray and SubjectArrayOutput values. // You can construct a concrete instance of `SubjectArrayInput` via: // @@ -18377,6 +21048,12 @@ func (i SubjectArray) ToSubjectArrayOutputWithContext(ctx context.Context) Subje return pulumi.ToOutputWithContext(ctx, i).(SubjectArrayOutput) } +func (i SubjectArray) ToOutput(ctx context.Context) pulumix.Output[[]Subject] { + return pulumix.Output[[]Subject]{ + OutputState: i.ToSubjectArrayOutputWithContext(ctx).OutputState, + } +} + type SubjectOutput struct{ *pulumi.OutputState } func (SubjectOutput) ElementType() reflect.Type { @@ -18391,6 +21068,12 @@ func (o SubjectOutput) ToSubjectOutputWithContext(ctx context.Context) SubjectOu return o } +func (o SubjectOutput) ToOutput(ctx context.Context) pulumix.Output[Subject] { + return pulumix.Output[Subject]{ + OutputState: o.OutputState, + } +} + // `"": ""` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet func (o SubjectOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v Subject) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -18414,6 +21097,12 @@ func (o SubjectArrayOutput) ToSubjectArrayOutputWithContext(ctx context.Context) return o } +func (o SubjectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Subject] { + return pulumix.Output[[]Subject]{ + OutputState: o.OutputState, + } +} + func (o SubjectArrayOutput) Index(i pulumi.IntInput) SubjectOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Subject { return vs[0].([]Subject)[vs[1].(int)] @@ -18440,6 +21129,12 @@ func (o SubjectResponseOutput) ToSubjectResponseOutputWithContext(ctx context.Co return o } +func (o SubjectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubjectResponse] { + return pulumix.Output[SubjectResponse]{ + OutputState: o.OutputState, + } +} + // `"": ""` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet func (o SubjectResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v SubjectResponse) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -18463,6 +21158,12 @@ func (o SubjectResponseArrayOutput) ToSubjectResponseArrayOutputWithContext(ctx return o } +func (o SubjectResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubjectResponse] { + return pulumix.Output[[]SubjectResponse]{ + OutputState: o.OutputState, + } +} + func (o SubjectResponseArrayOutput) Index(i pulumi.IntInput) SubjectResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubjectResponse { return vs[0].([]SubjectResponse)[vs[1].(int)] @@ -18516,6 +21217,12 @@ func (i UpgradeDistributionArgs) ToUpgradeDistributionOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(UpgradeDistributionOutput) } +func (i UpgradeDistributionArgs) ToOutput(ctx context.Context) pulumix.Output[UpgradeDistribution] { + return pulumix.Output[UpgradeDistribution]{ + OutputState: i.ToUpgradeDistributionOutputWithContext(ctx).OutputState, + } +} + func (i UpgradeDistributionArgs) ToUpgradeDistributionPtrOutput() UpgradeDistributionPtrOutput { return i.ToUpgradeDistributionPtrOutputWithContext(context.Background()) } @@ -18557,6 +21264,12 @@ func (i *upgradeDistributionPtrType) ToUpgradeDistributionPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(UpgradeDistributionPtrOutput) } +func (i *upgradeDistributionPtrType) ToOutput(ctx context.Context) pulumix.Output[*UpgradeDistribution] { + return pulumix.Output[*UpgradeDistribution]{ + OutputState: i.ToUpgradeDistributionPtrOutputWithContext(ctx).OutputState, + } +} + // UpgradeDistributionArrayInput is an input type that accepts UpgradeDistributionArray and UpgradeDistributionArrayOutput values. // You can construct a concrete instance of `UpgradeDistributionArrayInput` via: // @@ -18582,6 +21295,12 @@ func (i UpgradeDistributionArray) ToUpgradeDistributionArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(UpgradeDistributionArrayOutput) } +func (i UpgradeDistributionArray) ToOutput(ctx context.Context) pulumix.Output[[]UpgradeDistribution] { + return pulumix.Output[[]UpgradeDistribution]{ + OutputState: i.ToUpgradeDistributionArrayOutputWithContext(ctx).OutputState, + } +} + // The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities. type UpgradeDistributionOutput struct{ *pulumi.OutputState } @@ -18607,6 +21326,12 @@ func (o UpgradeDistributionOutput) ToUpgradeDistributionPtrOutputWithContext(ctx }).(UpgradeDistributionPtrOutput) } +func (o UpgradeDistributionOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeDistribution] { + return pulumix.Output[UpgradeDistribution]{ + OutputState: o.OutputState, + } +} + // The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85) func (o UpgradeDistributionOutput) Classification() pulumi.StringPtrOutput { return o.ApplyT(func(v UpgradeDistribution) *string { return v.Classification }).(pulumi.StringPtrOutput) @@ -18641,6 +21366,12 @@ func (o UpgradeDistributionPtrOutput) ToUpgradeDistributionPtrOutputWithContext( return o } +func (o UpgradeDistributionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeDistribution] { + return pulumix.Output[*UpgradeDistribution]{ + OutputState: o.OutputState, + } +} + func (o UpgradeDistributionPtrOutput) Elem() UpgradeDistributionOutput { return o.ApplyT(func(v *UpgradeDistribution) UpgradeDistribution { if v != nil { @@ -18705,6 +21436,12 @@ func (o UpgradeDistributionArrayOutput) ToUpgradeDistributionArrayOutputWithCont return o } +func (o UpgradeDistributionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UpgradeDistribution] { + return pulumix.Output[[]UpgradeDistribution]{ + OutputState: o.OutputState, + } +} + func (o UpgradeDistributionArrayOutput) Index(i pulumi.IntInput) UpgradeDistributionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UpgradeDistribution { return vs[0].([]UpgradeDistribution)[vs[1].(int)] @@ -18738,6 +21475,12 @@ func (o UpgradeDistributionResponseOutput) ToUpgradeDistributionResponseOutputWi return o } +func (o UpgradeDistributionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeDistributionResponse] { + return pulumix.Output[UpgradeDistributionResponse]{ + OutputState: o.OutputState, + } +} + // The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85) func (o UpgradeDistributionResponseOutput) Classification() pulumi.StringOutput { return o.ApplyT(func(v UpgradeDistributionResponse) string { return v.Classification }).(pulumi.StringOutput) @@ -18772,6 +21515,12 @@ func (o UpgradeDistributionResponseArrayOutput) ToUpgradeDistributionResponseArr return o } +func (o UpgradeDistributionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UpgradeDistributionResponse] { + return pulumix.Output[[]UpgradeDistributionResponse]{ + OutputState: o.OutputState, + } +} + func (o UpgradeDistributionResponseArrayOutput) Index(i pulumi.IntInput) UpgradeDistributionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UpgradeDistributionResponse { return vs[0].([]UpgradeDistributionResponse)[vs[1].(int)] @@ -18825,6 +21574,12 @@ func (i UpgradeNoteArgs) ToUpgradeNoteOutputWithContext(ctx context.Context) Upg return pulumi.ToOutputWithContext(ctx, i).(UpgradeNoteOutput) } +func (i UpgradeNoteArgs) ToOutput(ctx context.Context) pulumix.Output[UpgradeNote] { + return pulumix.Output[UpgradeNote]{ + OutputState: i.ToUpgradeNoteOutputWithContext(ctx).OutputState, + } +} + func (i UpgradeNoteArgs) ToUpgradeNotePtrOutput() UpgradeNotePtrOutput { return i.ToUpgradeNotePtrOutputWithContext(context.Background()) } @@ -18866,6 +21621,12 @@ func (i *upgradeNotePtrType) ToUpgradeNotePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(UpgradeNotePtrOutput) } +func (i *upgradeNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*UpgradeNote] { + return pulumix.Output[*UpgradeNote]{ + OutputState: i.ToUpgradeNotePtrOutputWithContext(ctx).OutputState, + } +} + // An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update. type UpgradeNoteOutput struct{ *pulumi.OutputState } @@ -18891,6 +21652,12 @@ func (o UpgradeNoteOutput) ToUpgradeNotePtrOutputWithContext(ctx context.Context }).(UpgradeNotePtrOutput) } +func (o UpgradeNoteOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeNote] { + return pulumix.Output[UpgradeNote]{ + OutputState: o.OutputState, + } +} + // Metadata about the upgrade for each specific operating system. func (o UpgradeNoteOutput) Distributions() UpgradeDistributionArrayOutput { return o.ApplyT(func(v UpgradeNote) []UpgradeDistribution { return v.Distributions }).(UpgradeDistributionArrayOutput) @@ -18925,6 +21692,12 @@ func (o UpgradeNotePtrOutput) ToUpgradeNotePtrOutputWithContext(ctx context.Cont return o } +func (o UpgradeNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeNote] { + return pulumix.Output[*UpgradeNote]{ + OutputState: o.OutputState, + } +} + func (o UpgradeNotePtrOutput) Elem() UpgradeNoteOutput { return o.ApplyT(func(v *UpgradeNote) UpgradeNote { if v != nil { @@ -19002,6 +21775,12 @@ func (o UpgradeNoteResponseOutput) ToUpgradeNoteResponseOutputWithContext(ctx co return o } +func (o UpgradeNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeNoteResponse] { + return pulumix.Output[UpgradeNoteResponse]{ + OutputState: o.OutputState, + } +} + // Metadata about the upgrade for each specific operating system. func (o UpgradeNoteResponseOutput) Distributions() UpgradeDistributionResponseArrayOutput { return o.ApplyT(func(v UpgradeNoteResponse) []UpgradeDistributionResponse { return v.Distributions }).(UpgradeDistributionResponseArrayOutput) @@ -19069,6 +21848,12 @@ func (i UpgradeOccurrenceArgs) ToUpgradeOccurrenceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(UpgradeOccurrenceOutput) } +func (i UpgradeOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[UpgradeOccurrence] { + return pulumix.Output[UpgradeOccurrence]{ + OutputState: i.ToUpgradeOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i UpgradeOccurrenceArgs) ToUpgradeOccurrencePtrOutput() UpgradeOccurrencePtrOutput { return i.ToUpgradeOccurrencePtrOutputWithContext(context.Background()) } @@ -19110,6 +21895,12 @@ func (i *upgradeOccurrencePtrType) ToUpgradeOccurrencePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(UpgradeOccurrencePtrOutput) } +func (i *upgradeOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*UpgradeOccurrence] { + return pulumix.Output[*UpgradeOccurrence]{ + OutputState: i.ToUpgradeOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). For Windows, both distribution and windows_update contain information for the Windows update. type UpgradeOccurrenceOutput struct{ *pulumi.OutputState } @@ -19135,6 +21926,12 @@ func (o UpgradeOccurrenceOutput) ToUpgradeOccurrencePtrOutputWithContext(ctx con }).(UpgradeOccurrencePtrOutput) } +func (o UpgradeOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeOccurrence] { + return pulumix.Output[UpgradeOccurrence]{ + OutputState: o.OutputState, + } +} + // Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence. func (o UpgradeOccurrenceOutput) Distribution() UpgradeDistributionPtrOutput { return o.ApplyT(func(v UpgradeOccurrence) *UpgradeDistribution { return v.Distribution }).(UpgradeDistributionPtrOutput) @@ -19169,6 +21966,12 @@ func (o UpgradeOccurrencePtrOutput) ToUpgradeOccurrencePtrOutputWithContext(ctx return o } +func (o UpgradeOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeOccurrence] { + return pulumix.Output[*UpgradeOccurrence]{ + OutputState: o.OutputState, + } +} + func (o UpgradeOccurrencePtrOutput) Elem() UpgradeOccurrenceOutput { return o.ApplyT(func(v *UpgradeOccurrence) UpgradeOccurrence { if v != nil { @@ -19246,6 +22049,12 @@ func (o UpgradeOccurrenceResponseOutput) ToUpgradeOccurrenceResponseOutputWithCo return o } +func (o UpgradeOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeOccurrenceResponse] { + return pulumix.Output[UpgradeOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence. func (o UpgradeOccurrenceResponseOutput) Distribution() UpgradeDistributionResponseOutput { return o.ApplyT(func(v UpgradeOccurrenceResponse) UpgradeDistributionResponse { return v.Distribution }).(UpgradeDistributionResponseOutput) @@ -19321,6 +22130,12 @@ func (i VersionArgs) ToVersionOutputWithContext(ctx context.Context) VersionOutp return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i VersionArgs) ToOutput(ctx context.Context) pulumix.Output[Version] { + return pulumix.Output[Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + func (i VersionArgs) ToVersionPtrOutput() VersionPtrOutput { return i.ToVersionPtrOutputWithContext(context.Background()) } @@ -19362,6 +22177,12 @@ func (i *versionPtrType) ToVersionPtrOutputWithContext(ctx context.Context) Vers return pulumi.ToOutputWithContext(ctx, i).(VersionPtrOutput) } +func (i *versionPtrType) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Version contains structured information about the version of a package. type VersionOutput struct{ *pulumi.OutputState } @@ -19387,6 +22208,12 @@ func (o VersionOutput) ToVersionPtrOutputWithContext(ctx context.Context) Versio }).(VersionPtrOutput) } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[Version] { + return pulumix.Output[Version]{ + OutputState: o.OutputState, + } +} + // Used to correct mistakes in the version numbering scheme. func (o VersionOutput) Epoch() pulumi.IntPtrOutput { return o.ApplyT(func(v Version) *int { return v.Epoch }).(pulumi.IntPtrOutput) @@ -19431,6 +22258,12 @@ func (o VersionPtrOutput) ToVersionPtrOutputWithContext(ctx context.Context) Ver return o } +func (o VersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + func (o VersionPtrOutput) Elem() VersionOutput { return o.ApplyT(func(v *Version) Version { if v != nil { @@ -19532,6 +22365,12 @@ func (o VersionResponseOutput) ToVersionResponseOutputWithContext(ctx context.Co return o } +func (o VersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VersionResponse] { + return pulumix.Output[VersionResponse]{ + OutputState: o.OutputState, + } +} + // Used to correct mistakes in the version numbering scheme. func (o VersionResponseOutput) Epoch() pulumi.IntOutput { return o.ApplyT(func(v VersionResponse) int { return v.Epoch }).(pulumi.IntOutput) @@ -19621,6 +22460,12 @@ func (i VexAssessmentArgs) ToVexAssessmentOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(VexAssessmentOutput) } +func (i VexAssessmentArgs) ToOutput(ctx context.Context) pulumix.Output[VexAssessment] { + return pulumix.Output[VexAssessment]{ + OutputState: i.ToVexAssessmentOutputWithContext(ctx).OutputState, + } +} + func (i VexAssessmentArgs) ToVexAssessmentPtrOutput() VexAssessmentPtrOutput { return i.ToVexAssessmentPtrOutputWithContext(context.Background()) } @@ -19662,6 +22507,12 @@ func (i *vexAssessmentPtrType) ToVexAssessmentPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(VexAssessmentPtrOutput) } +func (i *vexAssessmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*VexAssessment] { + return pulumix.Output[*VexAssessment]{ + OutputState: i.ToVexAssessmentPtrOutputWithContext(ctx).OutputState, + } +} + // VexAssessment provides all publisher provided Vex information that is related to this vulnerability. type VexAssessmentOutput struct{ *pulumi.OutputState } @@ -19687,6 +22538,12 @@ func (o VexAssessmentOutput) ToVexAssessmentPtrOutputWithContext(ctx context.Con }).(VexAssessmentPtrOutput) } +func (o VexAssessmentOutput) ToOutput(ctx context.Context) pulumix.Output[VexAssessment] { + return pulumix.Output[VexAssessment]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o VexAssessmentOutput) Cve() pulumi.StringPtrOutput { return o.ApplyT(func(v VexAssessment) *string { return v.Cve }).(pulumi.StringPtrOutput) @@ -19736,6 +22593,12 @@ func (o VexAssessmentPtrOutput) ToVexAssessmentPtrOutputWithContext(ctx context. return o } +func (o VexAssessmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VexAssessment] { + return pulumix.Output[*VexAssessment]{ + OutputState: o.OutputState, + } +} + func (o VexAssessmentPtrOutput) Elem() VexAssessmentOutput { return o.ApplyT(func(v *VexAssessment) VexAssessment { if v != nil { @@ -19849,6 +22712,12 @@ func (o VexAssessmentResponseOutput) ToVexAssessmentResponseOutputWithContext(ct return o } +func (o VexAssessmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VexAssessmentResponse] { + return pulumix.Output[VexAssessmentResponse]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o VexAssessmentResponseOutput) Cve() pulumi.StringOutput { return o.ApplyT(func(v VexAssessmentResponse) string { return v.Cve }).(pulumi.StringOutput) @@ -19943,6 +22812,12 @@ func (i VulnerabilityAssessmentNoteArgs) ToVulnerabilityAssessmentNoteOutputWith return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityAssessmentNoteOutput) } +func (i VulnerabilityAssessmentNoteArgs) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityAssessmentNote] { + return pulumix.Output[VulnerabilityAssessmentNote]{ + OutputState: i.ToVulnerabilityAssessmentNoteOutputWithContext(ctx).OutputState, + } +} + func (i VulnerabilityAssessmentNoteArgs) ToVulnerabilityAssessmentNotePtrOutput() VulnerabilityAssessmentNotePtrOutput { return i.ToVulnerabilityAssessmentNotePtrOutputWithContext(context.Background()) } @@ -19984,6 +22859,12 @@ func (i *vulnerabilityAssessmentNotePtrType) ToVulnerabilityAssessmentNotePtrOut return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityAssessmentNotePtrOutput) } +func (i *vulnerabilityAssessmentNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityAssessmentNote] { + return pulumix.Output[*VulnerabilityAssessmentNote]{ + OutputState: i.ToVulnerabilityAssessmentNotePtrOutputWithContext(ctx).OutputState, + } +} + // A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE. type VulnerabilityAssessmentNoteOutput struct{ *pulumi.OutputState } @@ -20009,6 +22890,12 @@ func (o VulnerabilityAssessmentNoteOutput) ToVulnerabilityAssessmentNotePtrOutpu }).(VulnerabilityAssessmentNotePtrOutput) } +func (o VulnerabilityAssessmentNoteOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityAssessmentNote] { + return pulumix.Output[VulnerabilityAssessmentNote]{ + OutputState: o.OutputState, + } +} + // Represents a vulnerability assessment for the product. func (o VulnerabilityAssessmentNoteOutput) Assessment() AssessmentPtrOutput { return o.ApplyT(func(v VulnerabilityAssessmentNote) *Assessment { return v.Assessment }).(AssessmentPtrOutput) @@ -20058,6 +22945,12 @@ func (o VulnerabilityAssessmentNotePtrOutput) ToVulnerabilityAssessmentNotePtrOu return o } +func (o VulnerabilityAssessmentNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityAssessmentNote] { + return pulumix.Output[*VulnerabilityAssessmentNote]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityAssessmentNotePtrOutput) Elem() VulnerabilityAssessmentNoteOutput { return o.ApplyT(func(v *VulnerabilityAssessmentNote) VulnerabilityAssessmentNote { if v != nil { @@ -20171,6 +23064,12 @@ func (o VulnerabilityAssessmentNoteResponseOutput) ToVulnerabilityAssessmentNote return o } +func (o VulnerabilityAssessmentNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityAssessmentNoteResponse] { + return pulumix.Output[VulnerabilityAssessmentNoteResponse]{ + OutputState: o.OutputState, + } +} + // Represents a vulnerability assessment for the product. func (o VulnerabilityAssessmentNoteResponseOutput) Assessment() AssessmentResponseOutput { return o.ApplyT(func(v VulnerabilityAssessmentNoteResponse) AssessmentResponse { return v.Assessment }).(AssessmentResponseOutput) @@ -20269,6 +23168,12 @@ func (i VulnerabilityNoteArgs) ToVulnerabilityNoteOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityNoteOutput) } +func (i VulnerabilityNoteArgs) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityNote] { + return pulumix.Output[VulnerabilityNote]{ + OutputState: i.ToVulnerabilityNoteOutputWithContext(ctx).OutputState, + } +} + func (i VulnerabilityNoteArgs) ToVulnerabilityNotePtrOutput() VulnerabilityNotePtrOutput { return i.ToVulnerabilityNotePtrOutputWithContext(context.Background()) } @@ -20310,6 +23215,12 @@ func (i *vulnerabilityNotePtrType) ToVulnerabilityNotePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityNotePtrOutput) } +func (i *vulnerabilityNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityNote] { + return pulumix.Output[*VulnerabilityNote]{ + OutputState: i.ToVulnerabilityNotePtrOutputWithContext(ctx).OutputState, + } +} + // A security vulnerability that can be found in resources. type VulnerabilityNoteOutput struct{ *pulumi.OutputState } @@ -20335,6 +23246,12 @@ func (o VulnerabilityNoteOutput) ToVulnerabilityNotePtrOutputWithContext(ctx con }).(VulnerabilityNotePtrOutput) } +func (o VulnerabilityNoteOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityNote] { + return pulumix.Output[VulnerabilityNote]{ + OutputState: o.OutputState, + } +} + // The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity. func (o VulnerabilityNoteOutput) CvssScore() pulumi.Float64PtrOutput { return o.ApplyT(func(v VulnerabilityNote) *float64 { return v.CvssScore }).(pulumi.Float64PtrOutput) @@ -20389,6 +23306,12 @@ func (o VulnerabilityNotePtrOutput) ToVulnerabilityNotePtrOutputWithContext(ctx return o } +func (o VulnerabilityNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityNote] { + return pulumix.Output[*VulnerabilityNote]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityNotePtrOutput) Elem() VulnerabilityNoteOutput { return o.ApplyT(func(v *VulnerabilityNote) VulnerabilityNote { if v != nil { @@ -20514,6 +23437,12 @@ func (o VulnerabilityNoteResponseOutput) ToVulnerabilityNoteResponseOutputWithCo return o } +func (o VulnerabilityNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityNoteResponse] { + return pulumix.Output[VulnerabilityNoteResponse]{ + OutputState: o.OutputState, + } +} + // The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity. func (o VulnerabilityNoteResponseOutput) CvssScore() pulumi.Float64Output { return o.ApplyT(func(v VulnerabilityNoteResponse) float64 { return v.CvssScore }).(pulumi.Float64Output) @@ -20607,6 +23536,12 @@ func (i VulnerabilityOccurrenceArgs) ToVulnerabilityOccurrenceOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityOccurrenceOutput) } +func (i VulnerabilityOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityOccurrence] { + return pulumix.Output[VulnerabilityOccurrence]{ + OutputState: i.ToVulnerabilityOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i VulnerabilityOccurrenceArgs) ToVulnerabilityOccurrencePtrOutput() VulnerabilityOccurrencePtrOutput { return i.ToVulnerabilityOccurrencePtrOutputWithContext(context.Background()) } @@ -20648,6 +23583,12 @@ func (i *vulnerabilityOccurrencePtrType) ToVulnerabilityOccurrencePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityOccurrencePtrOutput) } +func (i *vulnerabilityOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityOccurrence] { + return pulumix.Output[*VulnerabilityOccurrence]{ + OutputState: i.ToVulnerabilityOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // An occurrence of a severity vulnerability on a resource. type VulnerabilityOccurrenceOutput struct{ *pulumi.OutputState } @@ -20673,6 +23614,12 @@ func (o VulnerabilityOccurrenceOutput) ToVulnerabilityOccurrencePtrOutputWithCon }).(VulnerabilityOccurrencePtrOutput) } +func (o VulnerabilityOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityOccurrence] { + return pulumix.Output[VulnerabilityOccurrence]{ + OutputState: o.OutputState, + } +} + // The cvss v2 score for the vulnerability. func (o VulnerabilityOccurrenceOutput) CvssV2() CVSSPtrOutput { return o.ApplyT(func(v VulnerabilityOccurrence) *CVSS { return v.CvssV2 }).(CVSSPtrOutput) @@ -20716,6 +23663,12 @@ func (o VulnerabilityOccurrencePtrOutput) ToVulnerabilityOccurrencePtrOutputWith return o } +func (o VulnerabilityOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityOccurrence] { + return pulumix.Output[*VulnerabilityOccurrence]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityOccurrencePtrOutput) Elem() VulnerabilityOccurrenceOutput { return o.ApplyT(func(v *VulnerabilityOccurrence) VulnerabilityOccurrence { if v != nil { @@ -20829,6 +23782,12 @@ func (o VulnerabilityOccurrenceResponseOutput) ToVulnerabilityOccurrenceResponse return o } +func (o VulnerabilityOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityOccurrenceResponse] { + return pulumix.Output[VulnerabilityOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity. func (o VulnerabilityOccurrenceResponseOutput) CvssScore() pulumi.Float64Output { return o.ApplyT(func(v VulnerabilityOccurrenceResponse) float64 { return v.CvssScore }).(pulumi.Float64Output) @@ -20938,6 +23897,12 @@ func (i WindowsDetailArgs) ToWindowsDetailOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(WindowsDetailOutput) } +func (i WindowsDetailArgs) ToOutput(ctx context.Context) pulumix.Output[WindowsDetail] { + return pulumix.Output[WindowsDetail]{ + OutputState: i.ToWindowsDetailOutputWithContext(ctx).OutputState, + } +} + // WindowsDetailArrayInput is an input type that accepts WindowsDetailArray and WindowsDetailArrayOutput values. // You can construct a concrete instance of `WindowsDetailArrayInput` via: // @@ -20963,6 +23928,12 @@ func (i WindowsDetailArray) ToWindowsDetailArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(WindowsDetailArrayOutput) } +func (i WindowsDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]WindowsDetail] { + return pulumix.Output[[]WindowsDetail]{ + OutputState: i.ToWindowsDetailArrayOutputWithContext(ctx).OutputState, + } +} + type WindowsDetailOutput struct{ *pulumi.OutputState } func (WindowsDetailOutput) ElementType() reflect.Type { @@ -20977,6 +23948,12 @@ func (o WindowsDetailOutput) ToWindowsDetailOutputWithContext(ctx context.Contex return o } +func (o WindowsDetailOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsDetail] { + return pulumix.Output[WindowsDetail]{ + OutputState: o.OutputState, + } +} + // The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. func (o WindowsDetailOutput) CpeUri() pulumi.StringOutput { return o.ApplyT(func(v WindowsDetail) string { return v.CpeUri }).(pulumi.StringOutput) @@ -21011,6 +23988,12 @@ func (o WindowsDetailArrayOutput) ToWindowsDetailArrayOutputWithContext(ctx cont return o } +func (o WindowsDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WindowsDetail] { + return pulumix.Output[[]WindowsDetail]{ + OutputState: o.OutputState, + } +} + func (o WindowsDetailArrayOutput) Index(i pulumi.IntInput) WindowsDetailOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WindowsDetail { return vs[0].([]WindowsDetail)[vs[1].(int)] @@ -21042,6 +24025,12 @@ func (o WindowsDetailResponseOutput) ToWindowsDetailResponseOutputWithContext(ct return o } +func (o WindowsDetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsDetailResponse] { + return pulumix.Output[WindowsDetailResponse]{ + OutputState: o.OutputState, + } +} + // The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects. func (o WindowsDetailResponseOutput) CpeUri() pulumi.StringOutput { return o.ApplyT(func(v WindowsDetailResponse) string { return v.CpeUri }).(pulumi.StringOutput) @@ -21076,6 +24065,12 @@ func (o WindowsDetailResponseArrayOutput) ToWindowsDetailResponseArrayOutputWith return o } +func (o WindowsDetailResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WindowsDetailResponse] { + return pulumix.Output[[]WindowsDetailResponse]{ + OutputState: o.OutputState, + } +} + func (o WindowsDetailResponseArrayOutput) Index(i pulumi.IntInput) WindowsDetailResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WindowsDetailResponse { return vs[0].([]WindowsDetailResponse)[vs[1].(int)] @@ -21141,6 +24136,12 @@ func (i WindowsUpdateArgs) ToWindowsUpdateOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(WindowsUpdateOutput) } +func (i WindowsUpdateArgs) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdate] { + return pulumix.Output[WindowsUpdate]{ + OutputState: i.ToWindowsUpdateOutputWithContext(ctx).OutputState, + } +} + func (i WindowsUpdateArgs) ToWindowsUpdatePtrOutput() WindowsUpdatePtrOutput { return i.ToWindowsUpdatePtrOutputWithContext(context.Background()) } @@ -21182,6 +24183,12 @@ func (i *windowsUpdatePtrType) ToWindowsUpdatePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(WindowsUpdatePtrOutput) } +func (i *windowsUpdatePtrType) ToOutput(ctx context.Context) pulumix.Output[*WindowsUpdate] { + return pulumix.Output[*WindowsUpdate]{ + OutputState: i.ToWindowsUpdatePtrOutputWithContext(ctx).OutputState, + } +} + // Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate. type WindowsUpdateOutput struct{ *pulumi.OutputState } @@ -21207,6 +24214,12 @@ func (o WindowsUpdateOutput) ToWindowsUpdatePtrOutputWithContext(ctx context.Con }).(WindowsUpdatePtrOutput) } +func (o WindowsUpdateOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdate] { + return pulumix.Output[WindowsUpdate]{ + OutputState: o.OutputState, + } +} + // The list of categories to which the update belongs. func (o WindowsUpdateOutput) Categories() CategoryArrayOutput { return o.ApplyT(func(v WindowsUpdate) []Category { return v.Categories }).(CategoryArrayOutput) @@ -21256,6 +24269,12 @@ func (o WindowsUpdatePtrOutput) ToWindowsUpdatePtrOutputWithContext(ctx context. return o } +func (o WindowsUpdatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WindowsUpdate] { + return pulumix.Output[*WindowsUpdate]{ + OutputState: o.OutputState, + } +} + func (o WindowsUpdatePtrOutput) Elem() WindowsUpdateOutput { return o.ApplyT(func(v *WindowsUpdate) WindowsUpdate { if v != nil { @@ -21369,6 +24388,12 @@ func (o WindowsUpdateResponseOutput) ToWindowsUpdateResponseOutputWithContext(ct return o } +func (o WindowsUpdateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdateResponse] { + return pulumix.Output[WindowsUpdateResponse]{ + OutputState: o.OutputState, + } +} + // The list of categories to which the update belongs. func (o WindowsUpdateResponseOutput) Categories() CategoryResponseArrayOutput { return o.ApplyT(func(v WindowsUpdateResponse) []CategoryResponse { return v.Categories }).(CategoryResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/getNote.go b/sdk/go/google/containeranalysis/v1alpha1/getNote.go index bdfec43c8a..e17eff7b1f 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/getNote.go +++ b/sdk/go/google/containeranalysis/v1alpha1/getNote.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the requested `Note`. @@ -114,6 +115,12 @@ func (o LookupNoteResultOutput) ToLookupNoteResultOutputWithContext(ctx context. return o } +func (o LookupNoteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNoteResult] { + return pulumix.Output[LookupNoteResult]{ + OutputState: o.OutputState, + } +} + // A note describing an attestation role. func (o LookupNoteResultOutput) AttestationAuthority() AttestationAuthorityResponseOutput { return o.ApplyT(func(v LookupNoteResult) AttestationAuthorityResponse { return v.AttestationAuthority }).(AttestationAuthorityResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/getNoteIamPolicy.go b/sdk/go/google/containeranalysis/v1alpha1/getNoteIamPolicy.go index 0b1c2fa533..aa5ae4b520 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/getNoteIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1alpha1/getNoteIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a note or an `Occurrence` resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes @@ -72,6 +73,12 @@ func (o LookupNoteIamPolicyResultOutput) ToLookupNoteIamPolicyResultOutputWithCo return o } +func (o LookupNoteIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNoteIamPolicyResult] { + return pulumix.Output[LookupNoteIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupNoteIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupNoteIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/getOccurrence.go b/sdk/go/google/containeranalysis/v1alpha1/getOccurrence.go index f23cfee850..c072e31d7e 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/getOccurrence.go +++ b/sdk/go/google/containeranalysis/v1alpha1/getOccurrence.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the requested `Occurrence`. @@ -114,6 +115,12 @@ func (o LookupOccurrenceResultOutput) ToLookupOccurrenceResultOutputWithContext( return o } +func (o LookupOccurrenceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOccurrenceResult] { + return pulumix.Output[LookupOccurrenceResult]{ + OutputState: o.OutputState, + } +} + // Describes an attestation of an artifact. func (o LookupOccurrenceResultOutput) Attestation() AttestationResponseOutput { return o.ApplyT(func(v LookupOccurrenceResult) AttestationResponse { return v.Attestation }).(AttestationResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/getOccurrenceIamPolicy.go b/sdk/go/google/containeranalysis/v1alpha1/getOccurrenceIamPolicy.go index fe8b10a5f7..c7a82bf4d8 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/getOccurrenceIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1alpha1/getOccurrenceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a note or an `Occurrence` resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes @@ -72,6 +73,12 @@ func (o LookupOccurrenceIamPolicyResultOutput) ToLookupOccurrenceIamPolicyResult return o } +func (o LookupOccurrenceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOccurrenceIamPolicyResult] { + return pulumix.Output[LookupOccurrenceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupOccurrenceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupOccurrenceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/getProviderNoteIamPolicy.go b/sdk/go/google/containeranalysis/v1alpha1/getProviderNoteIamPolicy.go index b6a96da24b..6b96b257d5 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/getProviderNoteIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1alpha1/getProviderNoteIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a note or an `Occurrence` resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes @@ -72,6 +73,12 @@ func (o LookupProviderNoteIamPolicyResultOutput) ToLookupProviderNoteIamPolicyRe return o } +func (o LookupProviderNoteIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProviderNoteIamPolicyResult] { + return pulumix.Output[LookupProviderNoteIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupProviderNoteIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupProviderNoteIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/note.go b/sdk/go/google/containeranalysis/v1alpha1/note.go index e7b2fdf9f7..eba8683395 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/note.go +++ b/sdk/go/google/containeranalysis/v1alpha1/note.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new `Note`. @@ -231,6 +232,12 @@ func (i *Note) ToNoteOutputWithContext(ctx context.Context) NoteOutput { return pulumi.ToOutputWithContext(ctx, i).(NoteOutput) } +func (i *Note) ToOutput(ctx context.Context) pulumix.Output[*Note] { + return pulumix.Output[*Note]{ + OutputState: i.ToNoteOutputWithContext(ctx).OutputState, + } +} + type NoteOutput struct{ *pulumi.OutputState } func (NoteOutput) ElementType() reflect.Type { @@ -245,6 +252,12 @@ func (o NoteOutput) ToNoteOutputWithContext(ctx context.Context) NoteOutput { return o } +func (o NoteOutput) ToOutput(ctx context.Context) pulumix.Output[*Note] { + return pulumix.Output[*Note]{ + OutputState: o.OutputState, + } +} + // A note describing an attestation role. func (o NoteOutput) AttestationAuthority() AttestationAuthorityResponseOutput { return o.ApplyT(func(v *Note) AttestationAuthorityResponseOutput { return v.AttestationAuthority }).(AttestationAuthorityResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/noteIamBinding.go b/sdk/go/google/containeranalysis/v1alpha1/noteIamBinding.go index ec129ddedd..8833321b7b 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/noteIamBinding.go +++ b/sdk/go/google/containeranalysis/v1alpha1/noteIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED`error. Attempting to call this method on a non-existent resource will result in a`NOT_FOUND`error if the user has`containeranalysis.notes.list`permission on a`Note`or`containeranalysis.occurrences.list`on an`Occurrence` , or a `PERMISSION_DENIED`error otherwise. The resource takes the following formats:`projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes @@ -135,6 +136,12 @@ func (i *NoteIamBinding) ToNoteIamBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NoteIamBindingOutput) } +func (i *NoteIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NoteIamBinding] { + return pulumix.Output[*NoteIamBinding]{ + OutputState: i.ToNoteIamBindingOutputWithContext(ctx).OutputState, + } +} + type NoteIamBindingOutput struct{ *pulumi.OutputState } func (NoteIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NoteIamBindingOutput) ToNoteIamBindingOutputWithContext(ctx context.Cont return o } +func (o NoteIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NoteIamBinding] { + return pulumix.Output[*NoteIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NoteIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NoteIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/noteIamMember.go b/sdk/go/google/containeranalysis/v1alpha1/noteIamMember.go index 2941fb4863..b831842748 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/noteIamMember.go +++ b/sdk/go/google/containeranalysis/v1alpha1/noteIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED`error. Attempting to call this method on a non-existent resource will result in a`NOT_FOUND`error if the user has`containeranalysis.notes.list`permission on a`Note`or`containeranalysis.occurrences.list`on an`Occurrence` , or a `PERMISSION_DENIED`error otherwise. The resource takes the following formats:`projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes @@ -135,6 +136,12 @@ func (i *NoteIamMember) ToNoteIamMemberOutputWithContext(ctx context.Context) No return pulumi.ToOutputWithContext(ctx, i).(NoteIamMemberOutput) } +func (i *NoteIamMember) ToOutput(ctx context.Context) pulumix.Output[*NoteIamMember] { + return pulumix.Output[*NoteIamMember]{ + OutputState: i.ToNoteIamMemberOutputWithContext(ctx).OutputState, + } +} + type NoteIamMemberOutput struct{ *pulumi.OutputState } func (NoteIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NoteIamMemberOutput) ToNoteIamMemberOutputWithContext(ctx context.Contex return o } +func (o NoteIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NoteIamMember] { + return pulumix.Output[*NoteIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NoteIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NoteIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/noteIamPolicy.go b/sdk/go/google/containeranalysis/v1alpha1/noteIamPolicy.go index baab7e4501..7f7808f44d 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/noteIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1alpha1/noteIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED`error. Attempting to call this method on a non-existent resource will result in a`NOT_FOUND`error if the user has`containeranalysis.notes.list`permission on a`Note`or`containeranalysis.occurrences.list`on an`Occurrence` , or a `PERMISSION_DENIED`error otherwise. The resource takes the following formats:`projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes @@ -121,6 +122,12 @@ func (i *NoteIamPolicy) ToNoteIamPolicyOutputWithContext(ctx context.Context) No return pulumi.ToOutputWithContext(ctx, i).(NoteIamPolicyOutput) } +func (i *NoteIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NoteIamPolicy] { + return pulumix.Output[*NoteIamPolicy]{ + OutputState: i.ToNoteIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NoteIamPolicyOutput struct{ *pulumi.OutputState } func (NoteIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o NoteIamPolicyOutput) ToNoteIamPolicyOutputWithContext(ctx context.Contex return o } +func (o NoteIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NoteIamPolicy] { + return pulumix.Output[*NoteIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o NoteIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *NoteIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/occurrence.go b/sdk/go/google/containeranalysis/v1alpha1/occurrence.go index a166f8e2a5..f579546e1f 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/occurrence.go +++ b/sdk/go/google/containeranalysis/v1alpha1/occurrence.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new `Occurrence`. Use this method to create `Occurrences` for a resource. @@ -225,6 +226,12 @@ func (i *Occurrence) ToOccurrenceOutputWithContext(ctx context.Context) Occurren return pulumi.ToOutputWithContext(ctx, i).(OccurrenceOutput) } +func (i *Occurrence) ToOutput(ctx context.Context) pulumix.Output[*Occurrence] { + return pulumix.Output[*Occurrence]{ + OutputState: i.ToOccurrenceOutputWithContext(ctx).OutputState, + } +} + type OccurrenceOutput struct{ *pulumi.OutputState } func (OccurrenceOutput) ElementType() reflect.Type { @@ -239,6 +246,12 @@ func (o OccurrenceOutput) ToOccurrenceOutputWithContext(ctx context.Context) Occ return o } +func (o OccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[*Occurrence] { + return pulumix.Output[*Occurrence]{ + OutputState: o.OutputState, + } +} + // Describes an attestation of an artifact. func (o OccurrenceOutput) Attestation() AttestationResponseOutput { return o.ApplyT(func(v *Occurrence) AttestationResponseOutput { return v.Attestation }).(AttestationResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamBinding.go b/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamBinding.go index ffb03e3e07..1efa0620d8 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamBinding.go +++ b/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED`error. Attempting to call this method on a non-existent resource will result in a`NOT_FOUND`error if the user has`containeranalysis.notes.list`permission on a`Note`or`containeranalysis.occurrences.list`on an`Occurrence` , or a `PERMISSION_DENIED`error otherwise. The resource takes the following formats:`projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes @@ -135,6 +136,12 @@ func (i *OccurrenceIamBinding) ToOccurrenceIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(OccurrenceIamBindingOutput) } +func (i *OccurrenceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamBinding] { + return pulumix.Output[*OccurrenceIamBinding]{ + OutputState: i.ToOccurrenceIamBindingOutputWithContext(ctx).OutputState, + } +} + type OccurrenceIamBindingOutput struct{ *pulumi.OutputState } func (OccurrenceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OccurrenceIamBindingOutput) ToOccurrenceIamBindingOutputWithContext(ctx return o } +func (o OccurrenceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamBinding] { + return pulumix.Output[*OccurrenceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OccurrenceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OccurrenceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamMember.go b/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamMember.go index 7f715955ce..76082c48ff 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamMember.go +++ b/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED`error. Attempting to call this method on a non-existent resource will result in a`NOT_FOUND`error if the user has`containeranalysis.notes.list`permission on a`Note`or`containeranalysis.occurrences.list`on an`Occurrence` , or a `PERMISSION_DENIED`error otherwise. The resource takes the following formats:`projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes @@ -135,6 +136,12 @@ func (i *OccurrenceIamMember) ToOccurrenceIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(OccurrenceIamMemberOutput) } +func (i *OccurrenceIamMember) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamMember] { + return pulumix.Output[*OccurrenceIamMember]{ + OutputState: i.ToOccurrenceIamMemberOutputWithContext(ctx).OutputState, + } +} + type OccurrenceIamMemberOutput struct{ *pulumi.OutputState } func (OccurrenceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OccurrenceIamMemberOutput) ToOccurrenceIamMemberOutputWithContext(ctx co return o } +func (o OccurrenceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamMember] { + return pulumix.Output[*OccurrenceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OccurrenceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OccurrenceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamPolicy.go b/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamPolicy.go index 6e4f62059d..08ebdb750a 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1alpha1/occurrenceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED`error. Attempting to call this method on a non-existent resource will result in a`NOT_FOUND`error if the user has`containeranalysis.notes.list`permission on a`Note`or`containeranalysis.occurrences.list`on an`Occurrence` , or a `PERMISSION_DENIED`error otherwise. The resource takes the following formats:`projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes @@ -121,6 +122,12 @@ func (i *OccurrenceIamPolicy) ToOccurrenceIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(OccurrenceIamPolicyOutput) } +func (i *OccurrenceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamPolicy] { + return pulumix.Output[*OccurrenceIamPolicy]{ + OutputState: i.ToOccurrenceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OccurrenceIamPolicyOutput struct{ *pulumi.OutputState } func (OccurrenceIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o OccurrenceIamPolicyOutput) ToOccurrenceIamPolicyOutputWithContext(ctx co return o } +func (o OccurrenceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamPolicy] { + return pulumix.Output[*OccurrenceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o OccurrenceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *OccurrenceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamBinding.go b/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamBinding.go index 202056690e..afd083d526 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamBinding.go +++ b/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED`error. Attempting to call this method on a non-existent resource will result in a`NOT_FOUND`error if the user has`containeranalysis.notes.list`permission on a`Note`or`containeranalysis.occurrences.list`on an`Occurrence` , or a `PERMISSION_DENIED`error otherwise. The resource takes the following formats:`projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes @@ -135,6 +136,12 @@ func (i *ProviderNoteIamBinding) ToProviderNoteIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ProviderNoteIamBindingOutput) } +func (i *ProviderNoteIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ProviderNoteIamBinding] { + return pulumix.Output[*ProviderNoteIamBinding]{ + OutputState: i.ToProviderNoteIamBindingOutputWithContext(ctx).OutputState, + } +} + type ProviderNoteIamBindingOutput struct{ *pulumi.OutputState } func (ProviderNoteIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProviderNoteIamBindingOutput) ToProviderNoteIamBindingOutputWithContext( return o } +func (o ProviderNoteIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderNoteIamBinding] { + return pulumix.Output[*ProviderNoteIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ProviderNoteIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ProviderNoteIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamMember.go b/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamMember.go index 7a20e572b6..090b5715ec 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamMember.go +++ b/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED`error. Attempting to call this method on a non-existent resource will result in a`NOT_FOUND`error if the user has`containeranalysis.notes.list`permission on a`Note`or`containeranalysis.occurrences.list`on an`Occurrence` , or a `PERMISSION_DENIED`error otherwise. The resource takes the following formats:`projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes @@ -135,6 +136,12 @@ func (i *ProviderNoteIamMember) ToProviderNoteIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ProviderNoteIamMemberOutput) } +func (i *ProviderNoteIamMember) ToOutput(ctx context.Context) pulumix.Output[*ProviderNoteIamMember] { + return pulumix.Output[*ProviderNoteIamMember]{ + OutputState: i.ToProviderNoteIamMemberOutputWithContext(ctx).OutputState, + } +} + type ProviderNoteIamMemberOutput struct{ *pulumi.OutputState } func (ProviderNoteIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ProviderNoteIamMemberOutput) ToProviderNoteIamMemberOutputWithContext(ct return o } +func (o ProviderNoteIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderNoteIamMember] { + return pulumix.Output[*ProviderNoteIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ProviderNoteIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ProviderNoteIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamPolicy.go b/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamPolicy.go index e355c2ad83..3b5d240ff6 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1alpha1/providerNoteIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED`error. Attempting to call this method on a non-existent resource will result in a`NOT_FOUND`error if the user has`containeranalysis.notes.list`permission on a`Note`or`containeranalysis.occurrences.list`on an`Occurrence` , or a `PERMISSION_DENIED`error otherwise. The resource takes the following formats:`projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes @@ -124,6 +125,12 @@ func (i *ProviderNoteIamPolicy) ToProviderNoteIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ProviderNoteIamPolicyOutput) } +func (i *ProviderNoteIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ProviderNoteIamPolicy] { + return pulumix.Output[*ProviderNoteIamPolicy]{ + OutputState: i.ToProviderNoteIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ProviderNoteIamPolicyOutput struct{ *pulumi.OutputState } func (ProviderNoteIamPolicyOutput) ElementType() reflect.Type { @@ -138,6 +145,12 @@ func (o ProviderNoteIamPolicyOutput) ToProviderNoteIamPolicyOutputWithContext(ct return o } +func (o ProviderNoteIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderNoteIamPolicy] { + return pulumix.Output[*ProviderNoteIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o ProviderNoteIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *ProviderNoteIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1alpha1/pulumiEnums.go b/sdk/go/google/containeranalysis/v1alpha1/pulumiEnums.go index 39789f7f62..9b8652d5c0 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/pulumiEnums.go +++ b/sdk/go/google/containeranalysis/v1alpha1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides the state of this Vulnerability assessment. @@ -86,6 +87,12 @@ func (o AssessmentStateOutput) ToAssessmentStatePtrOutputWithContext(ctx context }).(AssessmentStatePtrOutput) } +func (o AssessmentStateOutput) ToOutput(ctx context.Context) pulumix.Output[AssessmentState] { + return pulumix.Output[AssessmentState]{ + OutputState: o.OutputState, + } +} + func (o AssessmentStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -121,6 +128,12 @@ func (o AssessmentStatePtrOutput) ToAssessmentStatePtrOutputWithContext(ctx cont return o } +func (o AssessmentStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AssessmentState] { + return pulumix.Output[*AssessmentState]{ + OutputState: o.OutputState, + } +} + func (o AssessmentStatePtrOutput) Elem() AssessmentStateOutput { return o.ApplyT(func(v *AssessmentState) AssessmentState { if v != nil { @@ -183,6 +196,12 @@ func (in *assessmentStatePtr) ToAssessmentStatePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(AssessmentStatePtrOutput) } +func (in *assessmentStatePtr) ToOutput(ctx context.Context) pulumix.Output[*AssessmentState] { + return pulumix.Output[*AssessmentState]{ + OutputState: in.ToAssessmentStatePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the key, either stored in `public_key` or referenced in `key_id` type BuildSignatureKeyType string @@ -255,6 +274,12 @@ func (o BuildSignatureKeyTypeOutput) ToBuildSignatureKeyTypePtrOutputWithContext }).(BuildSignatureKeyTypePtrOutput) } +func (o BuildSignatureKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BuildSignatureKeyType] { + return pulumix.Output[BuildSignatureKeyType]{ + OutputState: o.OutputState, + } +} + func (o BuildSignatureKeyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o BuildSignatureKeyTypePtrOutput) ToBuildSignatureKeyTypePtrOutputWithCont return o } +func (o BuildSignatureKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildSignatureKeyType] { + return pulumix.Output[*BuildSignatureKeyType]{ + OutputState: o.OutputState, + } +} + func (o BuildSignatureKeyTypePtrOutput) Elem() BuildSignatureKeyTypeOutput { return o.ApplyT(func(v *BuildSignatureKeyType) BuildSignatureKeyType { if v != nil { @@ -352,6 +383,12 @@ func (in *buildSignatureKeyTypePtr) ToBuildSignatureKeyTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(BuildSignatureKeyTypePtrOutput) } +func (in *buildSignatureKeyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*BuildSignatureKeyType] { + return pulumix.Output[*BuildSignatureKeyType]{ + OutputState: in.ToBuildSignatureKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3, CVSS v2 type CVSSAttackComplexity string @@ -426,6 +463,12 @@ func (o CVSSAttackComplexityOutput) ToCVSSAttackComplexityPtrOutputWithContext(c }).(CVSSAttackComplexityPtrOutput) } +func (o CVSSAttackComplexityOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAttackComplexity] { + return pulumix.Output[CVSSAttackComplexity]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackComplexityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o CVSSAttackComplexityPtrOutput) ToCVSSAttackComplexityPtrOutputWithContex return o } +func (o CVSSAttackComplexityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackComplexity] { + return pulumix.Output[*CVSSAttackComplexity]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackComplexityPtrOutput) Elem() CVSSAttackComplexityOutput { return o.ApplyT(func(v *CVSSAttackComplexity) CVSSAttackComplexity { if v != nil { @@ -523,6 +572,12 @@ func (in *cvssattackComplexityPtr) ToCVSSAttackComplexityPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(CVSSAttackComplexityPtrOutput) } +func (in *cvssattackComplexityPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackComplexity] { + return pulumix.Output[*CVSSAttackComplexity]{ + OutputState: in.ToCVSSAttackComplexityPtrOutputWithContext(ctx).OutputState, + } +} + // Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Defined in CVSS v3, CVSS v2 type CVSSAttackVector string @@ -599,6 +654,12 @@ func (o CVSSAttackVectorOutput) ToCVSSAttackVectorPtrOutputWithContext(ctx conte }).(CVSSAttackVectorPtrOutput) } +func (o CVSSAttackVectorOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAttackVector] { + return pulumix.Output[CVSSAttackVector]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackVectorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -634,6 +695,12 @@ func (o CVSSAttackVectorPtrOutput) ToCVSSAttackVectorPtrOutputWithContext(ctx co return o } +func (o CVSSAttackVectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackVector] { + return pulumix.Output[*CVSSAttackVector]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackVectorPtrOutput) Elem() CVSSAttackVectorOutput { return o.ApplyT(func(v *CVSSAttackVector) CVSSAttackVector { if v != nil { @@ -696,6 +763,12 @@ func (in *cvssattackVectorPtr) ToCVSSAttackVectorPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(CVSSAttackVectorPtrOutput) } +func (in *cvssattackVectorPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackVector] { + return pulumix.Output[*CVSSAttackVector]{ + OutputState: in.ToCVSSAttackVectorPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v2 type CVSSAuthentication string @@ -770,6 +843,12 @@ func (o CVSSAuthenticationOutput) ToCVSSAuthenticationPtrOutputWithContext(ctx c }).(CVSSAuthenticationPtrOutput) } +func (o CVSSAuthenticationOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAuthentication] { + return pulumix.Output[CVSSAuthentication]{ + OutputState: o.OutputState, + } +} + func (o CVSSAuthenticationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -805,6 +884,12 @@ func (o CVSSAuthenticationPtrOutput) ToCVSSAuthenticationPtrOutputWithContext(ct return o } +func (o CVSSAuthenticationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAuthentication] { + return pulumix.Output[*CVSSAuthentication]{ + OutputState: o.OutputState, + } +} + func (o CVSSAuthenticationPtrOutput) Elem() CVSSAuthenticationOutput { return o.ApplyT(func(v *CVSSAuthentication) CVSSAuthentication { if v != nil { @@ -867,6 +952,12 @@ func (in *cvssauthenticationPtr) ToCVSSAuthenticationPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(CVSSAuthenticationPtrOutput) } +func (in *cvssauthenticationPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAuthentication] { + return pulumix.Output[*CVSSAuthentication]{ + OutputState: in.ToCVSSAuthenticationPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3, CVSS v2 type CVSSAvailabilityImpact string @@ -945,6 +1036,12 @@ func (o CVSSAvailabilityImpactOutput) ToCVSSAvailabilityImpactPtrOutputWithConte }).(CVSSAvailabilityImpactPtrOutput) } +func (o CVSSAvailabilityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAvailabilityImpact] { + return pulumix.Output[CVSSAvailabilityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSAvailabilityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -980,6 +1077,12 @@ func (o CVSSAvailabilityImpactPtrOutput) ToCVSSAvailabilityImpactPtrOutputWithCo return o } +func (o CVSSAvailabilityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAvailabilityImpact] { + return pulumix.Output[*CVSSAvailabilityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSAvailabilityImpactPtrOutput) Elem() CVSSAvailabilityImpactOutput { return o.ApplyT(func(v *CVSSAvailabilityImpact) CVSSAvailabilityImpact { if v != nil { @@ -1042,6 +1145,12 @@ func (in *cvssavailabilityImpactPtr) ToCVSSAvailabilityImpactPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CVSSAvailabilityImpactPtrOutput) } +func (in *cvssavailabilityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAvailabilityImpact] { + return pulumix.Output[*CVSSAvailabilityImpact]{ + OutputState: in.ToCVSSAvailabilityImpactPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3, CVSS v2 type CVSSConfidentialityImpact string @@ -1120,6 +1229,12 @@ func (o CVSSConfidentialityImpactOutput) ToCVSSConfidentialityImpactPtrOutputWit }).(CVSSConfidentialityImpactPtrOutput) } +func (o CVSSConfidentialityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSConfidentialityImpact] { + return pulumix.Output[CVSSConfidentialityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSConfidentialityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1155,6 +1270,12 @@ func (o CVSSConfidentialityImpactPtrOutput) ToCVSSConfidentialityImpactPtrOutput return o } +func (o CVSSConfidentialityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSConfidentialityImpact] { + return pulumix.Output[*CVSSConfidentialityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSConfidentialityImpactPtrOutput) Elem() CVSSConfidentialityImpactOutput { return o.ApplyT(func(v *CVSSConfidentialityImpact) CVSSConfidentialityImpact { if v != nil { @@ -1217,6 +1338,12 @@ func (in *cvssconfidentialityImpactPtr) ToCVSSConfidentialityImpactPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(CVSSConfidentialityImpactPtrOutput) } +func (in *cvssconfidentialityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSConfidentialityImpact] { + return pulumix.Output[*CVSSConfidentialityImpact]{ + OutputState: in.ToCVSSConfidentialityImpactPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3, CVSS v2 type CVSSIntegrityImpact string @@ -1295,6 +1422,12 @@ func (o CVSSIntegrityImpactOutput) ToCVSSIntegrityImpactPtrOutputWithContext(ctx }).(CVSSIntegrityImpactPtrOutput) } +func (o CVSSIntegrityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSIntegrityImpact] { + return pulumix.Output[CVSSIntegrityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSIntegrityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1330,6 +1463,12 @@ func (o CVSSIntegrityImpactPtrOutput) ToCVSSIntegrityImpactPtrOutputWithContext( return o } +func (o CVSSIntegrityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSIntegrityImpact] { + return pulumix.Output[*CVSSIntegrityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSIntegrityImpactPtrOutput) Elem() CVSSIntegrityImpactOutput { return o.ApplyT(func(v *CVSSIntegrityImpact) CVSSIntegrityImpact { if v != nil { @@ -1392,6 +1531,12 @@ func (in *cvssintegrityImpactPtr) ToCVSSIntegrityImpactPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(CVSSIntegrityImpactPtrOutput) } +func (in *cvssintegrityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSIntegrityImpact] { + return pulumix.Output[*CVSSIntegrityImpact]{ + OutputState: in.ToCVSSIntegrityImpactPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3 type CVSSPrivilegesRequired string @@ -1466,6 +1611,12 @@ func (o CVSSPrivilegesRequiredOutput) ToCVSSPrivilegesRequiredPtrOutputWithConte }).(CVSSPrivilegesRequiredPtrOutput) } +func (o CVSSPrivilegesRequiredOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSPrivilegesRequired] { + return pulumix.Output[CVSSPrivilegesRequired]{ + OutputState: o.OutputState, + } +} + func (o CVSSPrivilegesRequiredOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1501,6 +1652,12 @@ func (o CVSSPrivilegesRequiredPtrOutput) ToCVSSPrivilegesRequiredPtrOutputWithCo return o } +func (o CVSSPrivilegesRequiredPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSPrivilegesRequired] { + return pulumix.Output[*CVSSPrivilegesRequired]{ + OutputState: o.OutputState, + } +} + func (o CVSSPrivilegesRequiredPtrOutput) Elem() CVSSPrivilegesRequiredOutput { return o.ApplyT(func(v *CVSSPrivilegesRequired) CVSSPrivilegesRequired { if v != nil { @@ -1563,6 +1720,12 @@ func (in *cvssprivilegesRequiredPtr) ToCVSSPrivilegesRequiredPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CVSSPrivilegesRequiredPtrOutput) } +func (in *cvssprivilegesRequiredPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSPrivilegesRequired] { + return pulumix.Output[*CVSSPrivilegesRequired]{ + OutputState: in.ToCVSSPrivilegesRequiredPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3 type CVSSScope string @@ -1635,6 +1798,12 @@ func (o CVSSScopeOutput) ToCVSSScopePtrOutputWithContext(ctx context.Context) CV }).(CVSSScopePtrOutput) } +func (o CVSSScopeOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSScope] { + return pulumix.Output[CVSSScope]{ + OutputState: o.OutputState, + } +} + func (o CVSSScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1670,6 +1839,12 @@ func (o CVSSScopePtrOutput) ToCVSSScopePtrOutputWithContext(ctx context.Context) return o } +func (o CVSSScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSScope] { + return pulumix.Output[*CVSSScope]{ + OutputState: o.OutputState, + } +} + func (o CVSSScopePtrOutput) Elem() CVSSScopeOutput { return o.ApplyT(func(v *CVSSScope) CVSSScope { if v != nil { @@ -1732,6 +1907,12 @@ func (in *cvssscopePtr) ToCVSSScopePtrOutputWithContext(ctx context.Context) CVS return pulumi.ToOutputWithContext(ctx, in).(CVSSScopePtrOutput) } +func (in *cvssscopePtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSScope] { + return pulumix.Output[*CVSSScope]{ + OutputState: in.ToCVSSScopePtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3 type CVSSUserInteraction string @@ -1804,6 +1985,12 @@ func (o CVSSUserInteractionOutput) ToCVSSUserInteractionPtrOutputWithContext(ctx }).(CVSSUserInteractionPtrOutput) } +func (o CVSSUserInteractionOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSUserInteraction] { + return pulumix.Output[CVSSUserInteraction]{ + OutputState: o.OutputState, + } +} + func (o CVSSUserInteractionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1839,6 +2026,12 @@ func (o CVSSUserInteractionPtrOutput) ToCVSSUserInteractionPtrOutputWithContext( return o } +func (o CVSSUserInteractionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSUserInteraction] { + return pulumix.Output[*CVSSUserInteraction]{ + OutputState: o.OutputState, + } +} + func (o CVSSUserInteractionPtrOutput) Elem() CVSSUserInteractionOutput { return o.ApplyT(func(v *CVSSUserInteraction) CVSSUserInteraction { if v != nil { @@ -1901,6 +2094,12 @@ func (in *cvssuserInteractionPtr) ToCVSSUserInteractionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(CVSSUserInteractionPtrOutput) } +func (in *cvssuserInteractionPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSUserInteraction] { + return pulumix.Output[*CVSSUserInteraction]{ + OutputState: in.ToCVSSUserInteractionPtrOutputWithContext(ctx).OutputState, + } +} + // The severity level of this CIS benchmark check. type CisBenchmarkSeverity string @@ -1979,6 +2178,12 @@ func (o CisBenchmarkSeverityOutput) ToCisBenchmarkSeverityPtrOutputWithContext(c }).(CisBenchmarkSeverityPtrOutput) } +func (o CisBenchmarkSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[CisBenchmarkSeverity] { + return pulumix.Output[CisBenchmarkSeverity]{ + OutputState: o.OutputState, + } +} + func (o CisBenchmarkSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2014,6 +2219,12 @@ func (o CisBenchmarkSeverityPtrOutput) ToCisBenchmarkSeverityPtrOutputWithContex return o } +func (o CisBenchmarkSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CisBenchmarkSeverity] { + return pulumix.Output[*CisBenchmarkSeverity]{ + OutputState: o.OutputState, + } +} + func (o CisBenchmarkSeverityPtrOutput) Elem() CisBenchmarkSeverityOutput { return o.ApplyT(func(v *CisBenchmarkSeverity) CisBenchmarkSeverity { if v != nil { @@ -2076,6 +2287,12 @@ func (in *cisBenchmarkSeverityPtr) ToCisBenchmarkSeverityPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(CisBenchmarkSeverityPtrOutput) } +func (in *cisBenchmarkSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*CisBenchmarkSeverity] { + return pulumix.Output[*CisBenchmarkSeverity]{ + OutputState: in.ToCisBenchmarkSeverityPtrOutputWithContext(ctx).OutputState, + } +} + // Platform hosting this deployment. type DeploymentPlatform string @@ -2150,6 +2367,12 @@ func (o DeploymentPlatformOutput) ToDeploymentPlatformPtrOutputWithContext(ctx c }).(DeploymentPlatformPtrOutput) } +func (o DeploymentPlatformOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentPlatform] { + return pulumix.Output[DeploymentPlatform]{ + OutputState: o.OutputState, + } +} + func (o DeploymentPlatformOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2185,6 +2408,12 @@ func (o DeploymentPlatformPtrOutput) ToDeploymentPlatformPtrOutputWithContext(ct return o } +func (o DeploymentPlatformPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentPlatform] { + return pulumix.Output[*DeploymentPlatform]{ + OutputState: o.OutputState, + } +} + func (o DeploymentPlatformPtrOutput) Elem() DeploymentPlatformOutput { return o.ApplyT(func(v *DeploymentPlatform) DeploymentPlatform { if v != nil { @@ -2247,6 +2476,12 @@ func (in *deploymentPlatformPtr) ToDeploymentPlatformPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(DeploymentPlatformPtrOutput) } +func (in *deploymentPlatformPtr) ToOutput(ctx context.Context) pulumix.Output[*DeploymentPlatform] { + return pulumix.Output[*DeploymentPlatform]{ + OutputState: in.ToDeploymentPlatformPtrOutputWithContext(ctx).OutputState, + } +} + // The status of discovery for the resource. type DiscoveredAnalysisStatus string @@ -2327,6 +2562,12 @@ func (o DiscoveredAnalysisStatusOutput) ToDiscoveredAnalysisStatusPtrOutputWithC }).(DiscoveredAnalysisStatusPtrOutput) } +func (o DiscoveredAnalysisStatusOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveredAnalysisStatus] { + return pulumix.Output[DiscoveredAnalysisStatus]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredAnalysisStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2362,6 +2603,12 @@ func (o DiscoveredAnalysisStatusPtrOutput) ToDiscoveredAnalysisStatusPtrOutputWi return o } +func (o DiscoveredAnalysisStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveredAnalysisStatus] { + return pulumix.Output[*DiscoveredAnalysisStatus]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredAnalysisStatusPtrOutput) Elem() DiscoveredAnalysisStatusOutput { return o.ApplyT(func(v *DiscoveredAnalysisStatus) DiscoveredAnalysisStatus { if v != nil { @@ -2424,6 +2671,12 @@ func (in *discoveredAnalysisStatusPtr) ToDiscoveredAnalysisStatusPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DiscoveredAnalysisStatusPtrOutput) } +func (in *discoveredAnalysisStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*DiscoveredAnalysisStatus] { + return pulumix.Output[*DiscoveredAnalysisStatus]{ + OutputState: in.ToDiscoveredAnalysisStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Whether the resource is continuously analyzed. type DiscoveredContinuousAnalysis string @@ -2496,6 +2749,12 @@ func (o DiscoveredContinuousAnalysisOutput) ToDiscoveredContinuousAnalysisPtrOut }).(DiscoveredContinuousAnalysisPtrOutput) } +func (o DiscoveredContinuousAnalysisOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveredContinuousAnalysis] { + return pulumix.Output[DiscoveredContinuousAnalysis]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredContinuousAnalysisOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2531,6 +2790,12 @@ func (o DiscoveredContinuousAnalysisPtrOutput) ToDiscoveredContinuousAnalysisPtr return o } +func (o DiscoveredContinuousAnalysisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveredContinuousAnalysis] { + return pulumix.Output[*DiscoveredContinuousAnalysis]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredContinuousAnalysisPtrOutput) Elem() DiscoveredContinuousAnalysisOutput { return o.ApplyT(func(v *DiscoveredContinuousAnalysis) DiscoveredContinuousAnalysis { if v != nil { @@ -2593,6 +2858,12 @@ func (in *discoveredContinuousAnalysisPtr) ToDiscoveredContinuousAnalysisPtrOutp return pulumi.ToOutputWithContext(ctx, in).(DiscoveredContinuousAnalysisPtrOutput) } +func (in *discoveredContinuousAnalysisPtr) ToOutput(ctx context.Context) pulumix.Output[*DiscoveredContinuousAnalysis] { + return pulumix.Output[*DiscoveredContinuousAnalysis]{ + OutputState: in.ToDiscoveredContinuousAnalysisPtrOutputWithContext(ctx).OutputState, + } +} + // The kind of analysis that is handled by this discovery. type DiscoveryAnalysisKind string @@ -2693,6 +2964,12 @@ func (o DiscoveryAnalysisKindOutput) ToDiscoveryAnalysisKindPtrOutputWithContext }).(DiscoveryAnalysisKindPtrOutput) } +func (o DiscoveryAnalysisKindOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryAnalysisKind] { + return pulumix.Output[DiscoveryAnalysisKind]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryAnalysisKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2728,6 +3005,12 @@ func (o DiscoveryAnalysisKindPtrOutput) ToDiscoveryAnalysisKindPtrOutputWithCont return o } +func (o DiscoveryAnalysisKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryAnalysisKind] { + return pulumix.Output[*DiscoveryAnalysisKind]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryAnalysisKindPtrOutput) Elem() DiscoveryAnalysisKindOutput { return o.ApplyT(func(v *DiscoveryAnalysisKind) DiscoveryAnalysisKind { if v != nil { @@ -2790,6 +3073,12 @@ func (in *discoveryAnalysisKindPtr) ToDiscoveryAnalysisKindPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(DiscoveryAnalysisKindPtrOutput) } +func (in *discoveryAnalysisKindPtr) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryAnalysisKind] { + return pulumix.Output[*DiscoveryAnalysisKind]{ + OutputState: in.ToDiscoveryAnalysisKindPtrOutputWithContext(ctx).OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built type DistributionArchitecture string @@ -2862,6 +3151,12 @@ func (o DistributionArchitectureOutput) ToDistributionArchitecturePtrOutputWithC }).(DistributionArchitecturePtrOutput) } +func (o DistributionArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionArchitecture] { + return pulumix.Output[DistributionArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DistributionArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2897,6 +3192,12 @@ func (o DistributionArchitecturePtrOutput) ToDistributionArchitecturePtrOutputWi return o } +func (o DistributionArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DistributionArchitecture] { + return pulumix.Output[*DistributionArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DistributionArchitecturePtrOutput) Elem() DistributionArchitectureOutput { return o.ApplyT(func(v *DistributionArchitecture) DistributionArchitecture { if v != nil { @@ -2959,6 +3260,12 @@ func (in *distributionArchitecturePtr) ToDistributionArchitecturePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DistributionArchitecturePtrOutput) } +func (in *distributionArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*DistributionArchitecture] { + return pulumix.Output[*DistributionArchitecture]{ + OutputState: in.ToDistributionArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package type ExternalRefCategory string @@ -3035,6 +3342,12 @@ func (o ExternalRefCategoryOutput) ToExternalRefCategoryPtrOutputWithContext(ctx }).(ExternalRefCategoryPtrOutput) } +func (o ExternalRefCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalRefCategory] { + return pulumix.Output[ExternalRefCategory]{ + OutputState: o.OutputState, + } +} + func (o ExternalRefCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3070,6 +3383,12 @@ func (o ExternalRefCategoryPtrOutput) ToExternalRefCategoryPtrOutputWithContext( return o } +func (o ExternalRefCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExternalRefCategory] { + return pulumix.Output[*ExternalRefCategory]{ + OutputState: o.OutputState, + } +} + func (o ExternalRefCategoryPtrOutput) Elem() ExternalRefCategoryOutput { return o.ApplyT(func(v *ExternalRefCategory) ExternalRefCategory { if v != nil { @@ -3132,6 +3451,12 @@ func (in *externalRefCategoryPtr) ToExternalRefCategoryPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ExternalRefCategoryPtrOutput) } +func (in *externalRefCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*ExternalRefCategory] { + return pulumix.Output[*ExternalRefCategory]{ + OutputState: in.ToExternalRefCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // This field provides information about the type of file identified type FileNoteFileType string @@ -3222,6 +3547,12 @@ func (o FileNoteFileTypeOutput) ToFileNoteFileTypePtrOutputWithContext(ctx conte }).(FileNoteFileTypePtrOutput) } +func (o FileNoteFileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[FileNoteFileType] { + return pulumix.Output[FileNoteFileType]{ + OutputState: o.OutputState, + } +} + func (o FileNoteFileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3257,6 +3588,12 @@ func (o FileNoteFileTypePtrOutput) ToFileNoteFileTypePtrOutputWithContext(ctx co return o } +func (o FileNoteFileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileNoteFileType] { + return pulumix.Output[*FileNoteFileType]{ + OutputState: o.OutputState, + } +} + func (o FileNoteFileTypePtrOutput) Elem() FileNoteFileTypeOutput { return o.ApplyT(func(v *FileNoteFileType) FileNoteFileType { if v != nil { @@ -3319,6 +3656,12 @@ func (in *fileNoteFileTypePtr) ToFileNoteFileTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(FileNoteFileTypePtrOutput) } +func (in *fileNoteFileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*FileNoteFileType] { + return pulumix.Output[*FileNoteFileType]{ + OutputState: in.ToFileNoteFileTypePtrOutputWithContext(ctx).OutputState, + } +} + // The alias kind. type GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind string @@ -3393,6 +3736,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextKindOutput) ToGoogleD }).(GoogleDevtoolsContaineranalysisV1alpha1AliasContextKindPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextKindOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3428,6 +3777,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextKindPtrOutput) ToGoog return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextKindPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1AliasContextKindOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind) GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind { if v != nil { @@ -3490,6 +3845,12 @@ func (in *googleDevtoolsContaineranalysisV1alpha1AliasContextKindPtr) ToGoogleDe return pulumi.ToOutputWithContext(ctx, in).(GoogleDevtoolsContaineranalysisV1alpha1AliasContextKindPtrOutput) } +func (in *googleDevtoolsContaineranalysisV1alpha1AliasContextKindPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind]{ + OutputState: in.ToGoogleDevtoolsContaineranalysisV1alpha1AliasContextKindPtrOutputWithContext(ctx).OutputState, + } +} + // The type of hash that was performed. type HashType string @@ -3560,6 +3921,12 @@ func (o HashTypeOutput) ToHashTypePtrOutputWithContext(ctx context.Context) Hash }).(HashTypePtrOutput) } +func (o HashTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HashType] { + return pulumix.Output[HashType]{ + OutputState: o.OutputState, + } +} + func (o HashTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3595,6 +3962,12 @@ func (o HashTypePtrOutput) ToHashTypePtrOutputWithContext(ctx context.Context) H return o } +func (o HashTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HashType] { + return pulumix.Output[*HashType]{ + OutputState: o.OutputState, + } +} + func (o HashTypePtrOutput) Elem() HashTypeOutput { return o.ApplyT(func(v *HashType) HashType { if v != nil { @@ -3657,6 +4030,12 @@ func (in *hashTypePtr) ToHashTypePtrOutputWithContext(ctx context.Context) HashT return pulumi.ToOutputWithContext(ctx, in).(HashTypePtrOutput) } +func (in *hashTypePtr) ToOutput(ctx context.Context) pulumix.Output[*HashType] { + return pulumix.Output[*HashType]{ + OutputState: in.ToHashTypePtrOutputWithContext(ctx).OutputState, + } +} + // The field that is set in the API proto. type IdentifierHelperField string @@ -3727,6 +4106,12 @@ func (o IdentifierHelperFieldOutput) ToIdentifierHelperFieldPtrOutputWithContext }).(IdentifierHelperFieldPtrOutput) } +func (o IdentifierHelperFieldOutput) ToOutput(ctx context.Context) pulumix.Output[IdentifierHelperField] { + return pulumix.Output[IdentifierHelperField]{ + OutputState: o.OutputState, + } +} + func (o IdentifierHelperFieldOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3762,6 +4147,12 @@ func (o IdentifierHelperFieldPtrOutput) ToIdentifierHelperFieldPtrOutputWithCont return o } +func (o IdentifierHelperFieldPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentifierHelperField] { + return pulumix.Output[*IdentifierHelperField]{ + OutputState: o.OutputState, + } +} + func (o IdentifierHelperFieldPtrOutput) Elem() IdentifierHelperFieldOutput { return o.ApplyT(func(v *IdentifierHelperField) IdentifierHelperField { if v != nil { @@ -3824,6 +4215,12 @@ func (in *identifierHelperFieldPtr) ToIdentifierHelperFieldPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(IdentifierHelperFieldPtrOutput) } +func (in *identifierHelperFieldPtr) ToOutput(ctx context.Context) pulumix.Output[*IdentifierHelperField] { + return pulumix.Output[*IdentifierHelperField]{ + OutputState: in.ToIdentifierHelperFieldPtrOutputWithContext(ctx).OutputState, + } +} + // The justification type for this vulnerability. type JustificationJustificationType string @@ -3902,6 +4299,12 @@ func (o JustificationJustificationTypeOutput) ToJustificationJustificationTypePt }).(JustificationJustificationTypePtrOutput) } +func (o JustificationJustificationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[JustificationJustificationType] { + return pulumix.Output[JustificationJustificationType]{ + OutputState: o.OutputState, + } +} + func (o JustificationJustificationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3937,6 +4340,12 @@ func (o JustificationJustificationTypePtrOutput) ToJustificationJustificationTyp return o } +func (o JustificationJustificationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JustificationJustificationType] { + return pulumix.Output[*JustificationJustificationType]{ + OutputState: o.OutputState, + } +} + func (o JustificationJustificationTypePtrOutput) Elem() JustificationJustificationTypeOutput { return o.ApplyT(func(v *JustificationJustificationType) JustificationJustificationType { if v != nil { @@ -3999,6 +4408,12 @@ func (in *justificationJustificationTypePtr) ToJustificationJustificationTypePtr return pulumi.ToOutputWithContext(ctx, in).(JustificationJustificationTypePtrOutput) } +func (in *justificationJustificationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*JustificationJustificationType] { + return pulumix.Output[*JustificationJustificationType]{ + OutputState: in.ToJustificationJustificationTypePtrOutputWithContext(ctx).OutputState, + } +} + // The recovered Dockerfile directive used to construct this layer. type LayerDirective string @@ -4101,6 +4516,12 @@ func (o LayerDirectiveOutput) ToLayerDirectivePtrOutputWithContext(ctx context.C }).(LayerDirectivePtrOutput) } +func (o LayerDirectiveOutput) ToOutput(ctx context.Context) pulumix.Output[LayerDirective] { + return pulumix.Output[LayerDirective]{ + OutputState: o.OutputState, + } +} + func (o LayerDirectiveOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4136,6 +4557,12 @@ func (o LayerDirectivePtrOutput) ToLayerDirectivePtrOutputWithContext(ctx contex return o } +func (o LayerDirectivePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LayerDirective] { + return pulumix.Output[*LayerDirective]{ + OutputState: o.OutputState, + } +} + func (o LayerDirectivePtrOutput) Elem() LayerDirectiveOutput { return o.ApplyT(func(v *LayerDirective) LayerDirective { if v != nil { @@ -4198,6 +4625,12 @@ func (in *layerDirectivePtr) ToLayerDirectivePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(LayerDirectivePtrOutput) } +func (in *layerDirectivePtr) ToOutput(ctx context.Context) pulumix.Output[*LayerDirective] { + return pulumix.Output[*LayerDirective]{ + OutputState: in.ToLayerDirectivePtrOutputWithContext(ctx).OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. type PackageArchitecture string @@ -4270,6 +4703,12 @@ func (o PackageArchitectureOutput) ToPackageArchitecturePtrOutputWithContext(ctx }).(PackageArchitecturePtrOutput) } +func (o PackageArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[PackageArchitecture] { + return pulumix.Output[PackageArchitecture]{ + OutputState: o.OutputState, + } +} + func (o PackageArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4305,6 +4744,12 @@ func (o PackageArchitecturePtrOutput) ToPackageArchitecturePtrOutputWithContext( return o } +func (o PackageArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageArchitecture] { + return pulumix.Output[*PackageArchitecture]{ + OutputState: o.OutputState, + } +} + func (o PackageArchitecturePtrOutput) Elem() PackageArchitectureOutput { return o.ApplyT(func(v *PackageArchitecture) PackageArchitecture { if v != nil { @@ -4367,6 +4812,12 @@ func (in *packageArchitecturePtr) ToPackageArchitecturePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(PackageArchitecturePtrOutput) } +func (in *packageArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*PackageArchitecture] { + return pulumix.Output[*PackageArchitecture]{ + OutputState: in.ToPackageArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). type PgpSignedAttestationContentType string @@ -4437,6 +4888,12 @@ func (o PgpSignedAttestationContentTypeOutput) ToPgpSignedAttestationContentType }).(PgpSignedAttestationContentTypePtrOutput) } +func (o PgpSignedAttestationContentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[PgpSignedAttestationContentType] { + return pulumix.Output[PgpSignedAttestationContentType]{ + OutputState: o.OutputState, + } +} + func (o PgpSignedAttestationContentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4472,6 +4929,12 @@ func (o PgpSignedAttestationContentTypePtrOutput) ToPgpSignedAttestationContentT return o } +func (o PgpSignedAttestationContentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PgpSignedAttestationContentType] { + return pulumix.Output[*PgpSignedAttestationContentType]{ + OutputState: o.OutputState, + } +} + func (o PgpSignedAttestationContentTypePtrOutput) Elem() PgpSignedAttestationContentTypeOutput { return o.ApplyT(func(v *PgpSignedAttestationContentType) PgpSignedAttestationContentType { if v != nil { @@ -4534,6 +4997,12 @@ func (in *pgpSignedAttestationContentTypePtr) ToPgpSignedAttestationContentTypeP return pulumi.ToOutputWithContext(ctx, in).(PgpSignedAttestationContentTypePtrOutput) } +func (in *pgpSignedAttestationContentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*PgpSignedAttestationContentType] { + return pulumix.Output[*PgpSignedAttestationContentType]{ + OutputState: in.ToPgpSignedAttestationContentTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of relationship between the source and target SPDX elements type RelationshipNoteType string @@ -4688,6 +5157,12 @@ func (o RelationshipNoteTypeOutput) ToRelationshipNoteTypePtrOutputWithContext(c }).(RelationshipNoteTypePtrOutput) } +func (o RelationshipNoteTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RelationshipNoteType] { + return pulumix.Output[RelationshipNoteType]{ + OutputState: o.OutputState, + } +} + func (o RelationshipNoteTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4723,6 +5198,12 @@ func (o RelationshipNoteTypePtrOutput) ToRelationshipNoteTypePtrOutputWithContex return o } +func (o RelationshipNoteTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RelationshipNoteType] { + return pulumix.Output[*RelationshipNoteType]{ + OutputState: o.OutputState, + } +} + func (o RelationshipNoteTypePtrOutput) Elem() RelationshipNoteTypeOutput { return o.ApplyT(func(v *RelationshipNoteType) RelationshipNoteType { if v != nil { @@ -4785,6 +5266,12 @@ func (in *relationshipNoteTypePtr) ToRelationshipNoteTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(RelationshipNoteTypePtrOutput) } +func (in *relationshipNoteTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RelationshipNoteType] { + return pulumix.Output[*RelationshipNoteType]{ + OutputState: in.ToRelationshipNoteTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of remediation that can be applied. type RemediationRemediationType string @@ -4863,6 +5350,12 @@ func (o RemediationRemediationTypeOutput) ToRemediationRemediationTypePtrOutputW }).(RemediationRemediationTypePtrOutput) } +func (o RemediationRemediationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RemediationRemediationType] { + return pulumix.Output[RemediationRemediationType]{ + OutputState: o.OutputState, + } +} + func (o RemediationRemediationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4898,6 +5391,12 @@ func (o RemediationRemediationTypePtrOutput) ToRemediationRemediationTypePtrOutp return o } +func (o RemediationRemediationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RemediationRemediationType] { + return pulumix.Output[*RemediationRemediationType]{ + OutputState: o.OutputState, + } +} + func (o RemediationRemediationTypePtrOutput) Elem() RemediationRemediationTypeOutput { return o.ApplyT(func(v *RemediationRemediationType) RemediationRemediationType { if v != nil { @@ -4960,6 +5459,12 @@ func (in *remediationRemediationTypePtr) ToRemediationRemediationTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RemediationRemediationTypePtrOutput) } +func (in *remediationRemediationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RemediationRemediationType] { + return pulumix.Output[*RemediationRemediationType]{ + OutputState: in.ToRemediationRemediationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored. type VersionKind string @@ -5032,6 +5537,12 @@ func (o VersionKindOutput) ToVersionKindPtrOutputWithContext(ctx context.Context }).(VersionKindPtrOutput) } +func (o VersionKindOutput) ToOutput(ctx context.Context) pulumix.Output[VersionKind] { + return pulumix.Output[VersionKind]{ + OutputState: o.OutputState, + } +} + func (o VersionKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5067,6 +5578,12 @@ func (o VersionKindPtrOutput) ToVersionKindPtrOutputWithContext(ctx context.Cont return o } +func (o VersionKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionKind] { + return pulumix.Output[*VersionKind]{ + OutputState: o.OutputState, + } +} + func (o VersionKindPtrOutput) Elem() VersionKindOutput { return o.ApplyT(func(v *VersionKind) VersionKind { if v != nil { @@ -5129,6 +5646,12 @@ func (in *versionKindPtr) ToVersionKindPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(VersionKindPtrOutput) } +func (in *versionKindPtr) ToOutput(ctx context.Context) pulumix.Output[*VersionKind] { + return pulumix.Output[*VersionKind]{ + OutputState: in.ToVersionKindPtrOutputWithContext(ctx).OutputState, + } +} + // Provides the state of this Vulnerability assessment. type VexAssessmentState string @@ -5205,6 +5728,12 @@ func (o VexAssessmentStateOutput) ToVexAssessmentStatePtrOutputWithContext(ctx c }).(VexAssessmentStatePtrOutput) } +func (o VexAssessmentStateOutput) ToOutput(ctx context.Context) pulumix.Output[VexAssessmentState] { + return pulumix.Output[VexAssessmentState]{ + OutputState: o.OutputState, + } +} + func (o VexAssessmentStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5240,6 +5769,12 @@ func (o VexAssessmentStatePtrOutput) ToVexAssessmentStatePtrOutputWithContext(ct return o } +func (o VexAssessmentStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VexAssessmentState] { + return pulumix.Output[*VexAssessmentState]{ + OutputState: o.OutputState, + } +} + func (o VexAssessmentStatePtrOutput) Elem() VexAssessmentStateOutput { return o.ApplyT(func(v *VexAssessmentState) VexAssessmentState { if v != nil { @@ -5302,6 +5837,12 @@ func (in *vexAssessmentStatePtr) ToVexAssessmentStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(VexAssessmentStatePtrOutput) } +func (in *vexAssessmentStatePtr) ToOutput(ctx context.Context) pulumix.Output[*VexAssessmentState] { + return pulumix.Output[*VexAssessmentState]{ + OutputState: in.ToVexAssessmentStatePtrOutputWithContext(ctx).OutputState, + } +} + // The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from installed language packs (e.g. Maven JARs or Go binaries). For this reason, it is advised to use the effective severity on the PackageIssue level, as this field may eventually be deprecated. In the case where multiple PackageIssues have different effective severities, the one set here will be the highest severity of any of the PackageIssues. type VulnerabilityDetailsEffectiveSeverity string @@ -5380,6 +5921,12 @@ func (o VulnerabilityDetailsEffectiveSeverityOutput) ToVulnerabilityDetailsEffec }).(VulnerabilityDetailsEffectiveSeverityPtrOutput) } +func (o VulnerabilityDetailsEffectiveSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityDetailsEffectiveSeverity] { + return pulumix.Output[VulnerabilityDetailsEffectiveSeverity]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityDetailsEffectiveSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5415,6 +5962,12 @@ func (o VulnerabilityDetailsEffectiveSeverityPtrOutput) ToVulnerabilityDetailsEf return o } +func (o VulnerabilityDetailsEffectiveSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityDetailsEffectiveSeverity] { + return pulumix.Output[*VulnerabilityDetailsEffectiveSeverity]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityDetailsEffectiveSeverityPtrOutput) Elem() VulnerabilityDetailsEffectiveSeverityOutput { return o.ApplyT(func(v *VulnerabilityDetailsEffectiveSeverity) VulnerabilityDetailsEffectiveSeverity { if v != nil { @@ -5477,6 +6030,12 @@ func (in *vulnerabilityDetailsEffectiveSeverityPtr) ToVulnerabilityDetailsEffect return pulumi.ToOutputWithContext(ctx, in).(VulnerabilityDetailsEffectiveSeverityPtrOutput) } +func (in *vulnerabilityDetailsEffectiveSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityDetailsEffectiveSeverity] { + return pulumix.Output[*VulnerabilityDetailsEffectiveSeverity]{ + OutputState: in.ToVulnerabilityDetailsEffectiveSeverityPtrOutputWithContext(ctx).OutputState, + } +} + // CVSS version used to populate cvss_score and severity. type VulnerabilityTypeCvssVersion string @@ -5549,6 +6108,12 @@ func (o VulnerabilityTypeCvssVersionOutput) ToVulnerabilityTypeCvssVersionPtrOut }).(VulnerabilityTypeCvssVersionPtrOutput) } +func (o VulnerabilityTypeCvssVersionOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityTypeCvssVersion] { + return pulumix.Output[VulnerabilityTypeCvssVersion]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityTypeCvssVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5584,6 +6149,12 @@ func (o VulnerabilityTypeCvssVersionPtrOutput) ToVulnerabilityTypeCvssVersionPtr return o } +func (o VulnerabilityTypeCvssVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityTypeCvssVersion] { + return pulumix.Output[*VulnerabilityTypeCvssVersion]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityTypeCvssVersionPtrOutput) Elem() VulnerabilityTypeCvssVersionOutput { return o.ApplyT(func(v *VulnerabilityTypeCvssVersion) VulnerabilityTypeCvssVersion { if v != nil { @@ -5646,6 +6217,12 @@ func (in *vulnerabilityTypeCvssVersionPtr) ToVulnerabilityTypeCvssVersionPtrOutp return pulumi.ToOutputWithContext(ctx, in).(VulnerabilityTypeCvssVersionPtrOutput) } +func (in *vulnerabilityTypeCvssVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityTypeCvssVersion] { + return pulumix.Output[*VulnerabilityTypeCvssVersion]{ + OutputState: in.ToVulnerabilityTypeCvssVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Note provider assigned impact of the vulnerability type VulnerabilityTypeSeverity string @@ -5724,6 +6301,12 @@ func (o VulnerabilityTypeSeverityOutput) ToVulnerabilityTypeSeverityPtrOutputWit }).(VulnerabilityTypeSeverityPtrOutput) } +func (o VulnerabilityTypeSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityTypeSeverity] { + return pulumix.Output[VulnerabilityTypeSeverity]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityTypeSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5759,6 +6342,12 @@ func (o VulnerabilityTypeSeverityPtrOutput) ToVulnerabilityTypeSeverityPtrOutput return o } +func (o VulnerabilityTypeSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityTypeSeverity] { + return pulumix.Output[*VulnerabilityTypeSeverity]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityTypeSeverityPtrOutput) Elem() VulnerabilityTypeSeverityOutput { return o.ApplyT(func(v *VulnerabilityTypeSeverity) VulnerabilityTypeSeverity { if v != nil { @@ -5821,6 +6410,12 @@ func (in *vulnerabilityTypeSeverityPtr) ToVulnerabilityTypeSeverityPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(VulnerabilityTypeSeverityPtrOutput) } +func (in *vulnerabilityTypeSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityTypeSeverity] { + return pulumix.Output[*VulnerabilityTypeSeverity]{ + OutputState: in.ToVulnerabilityTypeSeverityPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AssessmentStateInput)(nil)).Elem(), AssessmentState("STATE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AssessmentStatePtrInput)(nil)).Elem(), AssessmentState("STATE_UNSPECIFIED")) diff --git a/sdk/go/google/containeranalysis/v1alpha1/pulumiTypes.go b/sdk/go/google/containeranalysis/v1alpha1/pulumiTypes.go index 640c81ef10..1b0ae682c3 100644 --- a/sdk/go/google/containeranalysis/v1alpha1/pulumiTypes.go +++ b/sdk/go/google/containeranalysis/v1alpha1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i AnalysisCompletedArgs) ToAnalysisCompletedOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AnalysisCompletedOutput) } +func (i AnalysisCompletedArgs) ToOutput(ctx context.Context) pulumix.Output[AnalysisCompleted] { + return pulumix.Output[AnalysisCompleted]{ + OutputState: i.ToAnalysisCompletedOutputWithContext(ctx).OutputState, + } +} + func (i AnalysisCompletedArgs) ToAnalysisCompletedPtrOutput() AnalysisCompletedPtrOutput { return i.ToAnalysisCompletedPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *analysisCompletedPtrType) ToAnalysisCompletedPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AnalysisCompletedPtrOutput) } +func (i *analysisCompletedPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnalysisCompleted] { + return pulumix.Output[*AnalysisCompleted]{ + OutputState: i.ToAnalysisCompletedPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource. type AnalysisCompletedOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o AnalysisCompletedOutput) ToAnalysisCompletedPtrOutputWithContext(ctx con }).(AnalysisCompletedPtrOutput) } +func (o AnalysisCompletedOutput) ToOutput(ctx context.Context) pulumix.Output[AnalysisCompleted] { + return pulumix.Output[AnalysisCompleted]{ + OutputState: o.OutputState, + } +} + // type of analysis that were completed on a resource. func (o AnalysisCompletedOutput) AnalysisType() pulumi.StringArrayOutput { return o.ApplyT(func(v AnalysisCompleted) []string { return v.AnalysisType }).(pulumi.StringArrayOutput) @@ -133,6 +152,12 @@ func (o AnalysisCompletedPtrOutput) ToAnalysisCompletedPtrOutputWithContext(ctx return o } +func (o AnalysisCompletedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnalysisCompleted] { + return pulumix.Output[*AnalysisCompleted]{ + OutputState: o.OutputState, + } +} + func (o AnalysisCompletedPtrOutput) Elem() AnalysisCompletedOutput { return o.ApplyT(func(v *AnalysisCompleted) AnalysisCompleted { if v != nil { @@ -174,6 +199,12 @@ func (o AnalysisCompletedResponseOutput) ToAnalysisCompletedResponseOutputWithCo return o } +func (o AnalysisCompletedResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnalysisCompletedResponse] { + return pulumix.Output[AnalysisCompletedResponse]{ + OutputState: o.OutputState, + } +} + // type of analysis that were completed on a resource. func (o AnalysisCompletedResponseOutput) AnalysisType() pulumi.StringArrayOutput { return o.ApplyT(func(v AnalysisCompletedResponse) []string { return v.AnalysisType }).(pulumi.StringArrayOutput) @@ -230,6 +261,12 @@ func (i ArtifactArgs) ToArtifactOutputWithContext(ctx context.Context) ArtifactO return pulumi.ToOutputWithContext(ctx, i).(ArtifactOutput) } +func (i ArtifactArgs) ToOutput(ctx context.Context) pulumix.Output[Artifact] { + return pulumix.Output[Artifact]{ + OutputState: i.ToArtifactOutputWithContext(ctx).OutputState, + } +} + // ArtifactArrayInput is an input type that accepts ArtifactArray and ArtifactArrayOutput values. // You can construct a concrete instance of `ArtifactArrayInput` via: // @@ -255,6 +292,12 @@ func (i ArtifactArray) ToArtifactArrayOutputWithContext(ctx context.Context) Art return pulumi.ToOutputWithContext(ctx, i).(ArtifactArrayOutput) } +func (i ArtifactArray) ToOutput(ctx context.Context) pulumix.Output[[]Artifact] { + return pulumix.Output[[]Artifact]{ + OutputState: i.ToArtifactArrayOutputWithContext(ctx).OutputState, + } +} + // Artifact describes a build product. type ArtifactOutput struct{ *pulumi.OutputState } @@ -270,6 +313,12 @@ func (o ArtifactOutput) ToArtifactOutputWithContext(ctx context.Context) Artifac return o } +func (o ArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[Artifact] { + return pulumix.Output[Artifact]{ + OutputState: o.OutputState, + } +} + // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container. func (o ArtifactOutput) Checksum() pulumi.StringPtrOutput { return o.ApplyT(func(v Artifact) *string { return v.Checksum }).(pulumi.StringPtrOutput) @@ -306,6 +355,12 @@ func (o ArtifactArrayOutput) ToArtifactArrayOutputWithContext(ctx context.Contex return o } +func (o ArtifactArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Artifact] { + return pulumix.Output[[]Artifact]{ + OutputState: o.OutputState, + } +} + func (o ArtifactArrayOutput) Index(i pulumi.IntInput) ArtifactOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Artifact { return vs[0].([]Artifact)[vs[1].(int)] @@ -339,6 +394,12 @@ func (o ArtifactResponseOutput) ToArtifactResponseOutputWithContext(ctx context. return o } +func (o ArtifactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ArtifactResponse] { + return pulumix.Output[ArtifactResponse]{ + OutputState: o.OutputState, + } +} + // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container. func (o ArtifactResponseOutput) Checksum() pulumi.StringOutput { return o.ApplyT(func(v ArtifactResponse) string { return v.Checksum }).(pulumi.StringOutput) @@ -370,6 +431,12 @@ func (o ArtifactResponseArrayOutput) ToArtifactResponseArrayOutputWithContext(ct return o } +func (o ArtifactResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ArtifactResponse] { + return pulumix.Output[[]ArtifactResponse]{ + OutputState: o.OutputState, + } +} + func (o ArtifactResponseArrayOutput) Index(i pulumi.IntInput) ArtifactResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ArtifactResponse { return vs[0].([]ArtifactResponse)[vs[1].(int)] @@ -439,6 +506,12 @@ func (i AssessmentArgs) ToAssessmentOutputWithContext(ctx context.Context) Asses return pulumi.ToOutputWithContext(ctx, i).(AssessmentOutput) } +func (i AssessmentArgs) ToOutput(ctx context.Context) pulumix.Output[Assessment] { + return pulumix.Output[Assessment]{ + OutputState: i.ToAssessmentOutputWithContext(ctx).OutputState, + } +} + func (i AssessmentArgs) ToAssessmentPtrOutput() AssessmentPtrOutput { return i.ToAssessmentPtrOutputWithContext(context.Background()) } @@ -480,6 +553,12 @@ func (i *assessmentPtrType) ToAssessmentPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AssessmentPtrOutput) } +func (i *assessmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*Assessment] { + return pulumix.Output[*Assessment]{ + OutputState: i.ToAssessmentPtrOutputWithContext(ctx).OutputState, + } +} + // Assessment provides all information that is related to a single vulnerability for this product. type AssessmentOutput struct{ *pulumi.OutputState } @@ -505,6 +584,12 @@ func (o AssessmentOutput) ToAssessmentPtrOutputWithContext(ctx context.Context) }).(AssessmentPtrOutput) } +func (o AssessmentOutput) ToOutput(ctx context.Context) pulumix.Output[Assessment] { + return pulumix.Output[Assessment]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o AssessmentOutput) Cve() pulumi.StringPtrOutput { return o.ApplyT(func(v Assessment) *string { return v.Cve }).(pulumi.StringPtrOutput) @@ -559,6 +644,12 @@ func (o AssessmentPtrOutput) ToAssessmentPtrOutputWithContext(ctx context.Contex return o } +func (o AssessmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Assessment] { + return pulumix.Output[*Assessment]{ + OutputState: o.OutputState, + } +} + func (o AssessmentPtrOutput) Elem() AssessmentOutput { return o.ApplyT(func(v *Assessment) Assessment { if v != nil { @@ -684,6 +775,12 @@ func (o AssessmentResponseOutput) ToAssessmentResponseOutputWithContext(ctx cont return o } +func (o AssessmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AssessmentResponse] { + return pulumix.Output[AssessmentResponse]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o AssessmentResponseOutput) Cve() pulumi.StringOutput { return o.ApplyT(func(v AssessmentResponse) string { return v.Cve }).(pulumi.StringOutput) @@ -757,6 +854,12 @@ func (i AttestationArgs) ToAttestationOutputWithContext(ctx context.Context) Att return pulumi.ToOutputWithContext(ctx, i).(AttestationOutput) } +func (i AttestationArgs) ToOutput(ctx context.Context) pulumix.Output[Attestation] { + return pulumix.Output[Attestation]{ + OutputState: i.ToAttestationOutputWithContext(ctx).OutputState, + } +} + func (i AttestationArgs) ToAttestationPtrOutput() AttestationPtrOutput { return i.ToAttestationPtrOutputWithContext(context.Background()) } @@ -798,6 +901,12 @@ func (i *attestationPtrType) ToAttestationPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AttestationPtrOutput) } +func (i *attestationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Attestation] { + return pulumix.Output[*Attestation]{ + OutputState: i.ToAttestationPtrOutputWithContext(ctx).OutputState, + } +} + // Occurrence that represents a single "attestation". The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the AttestationAuthority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for). type AttestationOutput struct{ *pulumi.OutputState } @@ -823,6 +932,12 @@ func (o AttestationOutput) ToAttestationPtrOutputWithContext(ctx context.Context }).(AttestationPtrOutput) } +func (o AttestationOutput) ToOutput(ctx context.Context) pulumix.Output[Attestation] { + return pulumix.Output[Attestation]{ + OutputState: o.OutputState, + } +} + func (o AttestationOutput) PgpSignedAttestation() PgpSignedAttestationPtrOutput { return o.ApplyT(func(v Attestation) *PgpSignedAttestation { return v.PgpSignedAttestation }).(PgpSignedAttestationPtrOutput) } @@ -841,6 +956,12 @@ func (o AttestationPtrOutput) ToAttestationPtrOutputWithContext(ctx context.Cont return o } +func (o AttestationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Attestation] { + return pulumix.Output[*Attestation]{ + OutputState: o.OutputState, + } +} + func (o AttestationPtrOutput) Elem() AttestationOutput { return o.ApplyT(func(v *Attestation) Attestation { if v != nil { @@ -893,6 +1014,12 @@ func (i AttestationAuthorityArgs) ToAttestationAuthorityOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AttestationAuthorityOutput) } +func (i AttestationAuthorityArgs) ToOutput(ctx context.Context) pulumix.Output[AttestationAuthority] { + return pulumix.Output[AttestationAuthority]{ + OutputState: i.ToAttestationAuthorityOutputWithContext(ctx).OutputState, + } +} + func (i AttestationAuthorityArgs) ToAttestationAuthorityPtrOutput() AttestationAuthorityPtrOutput { return i.ToAttestationAuthorityPtrOutputWithContext(context.Background()) } @@ -934,6 +1061,12 @@ func (i *attestationAuthorityPtrType) ToAttestationAuthorityPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AttestationAuthorityPtrOutput) } +func (i *attestationAuthorityPtrType) ToOutput(ctx context.Context) pulumix.Output[*AttestationAuthority] { + return pulumix.Output[*AttestationAuthority]{ + OutputState: i.ToAttestationAuthorityPtrOutputWithContext(ctx).OutputState, + } +} + // Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one `AttestationAuthority` for "QA" and one for "build". This Note is intended to act strictly as a grouping mechanism for the attached Occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an Occurrence to a given Note. It also provides a single point of lookup to find all attached Attestation Occurrences, even if they don't all live in the same project. type AttestationAuthorityOutput struct{ *pulumi.OutputState } @@ -959,6 +1092,12 @@ func (o AttestationAuthorityOutput) ToAttestationAuthorityPtrOutputWithContext(c }).(AttestationAuthorityPtrOutput) } +func (o AttestationAuthorityOutput) ToOutput(ctx context.Context) pulumix.Output[AttestationAuthority] { + return pulumix.Output[AttestationAuthority]{ + OutputState: o.OutputState, + } +} + func (o AttestationAuthorityOutput) Hint() AttestationAuthorityHintPtrOutput { return o.ApplyT(func(v AttestationAuthority) *AttestationAuthorityHint { return v.Hint }).(AttestationAuthorityHintPtrOutput) } @@ -977,6 +1116,12 @@ func (o AttestationAuthorityPtrOutput) ToAttestationAuthorityPtrOutputWithContex return o } +func (o AttestationAuthorityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttestationAuthority] { + return pulumix.Output[*AttestationAuthority]{ + OutputState: o.OutputState, + } +} + func (o AttestationAuthorityPtrOutput) Elem() AttestationAuthorityOutput { return o.ApplyT(func(v *AttestationAuthority) AttestationAuthority { if v != nil { @@ -1031,6 +1176,12 @@ func (i AttestationAuthorityHintArgs) ToAttestationAuthorityHintOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(AttestationAuthorityHintOutput) } +func (i AttestationAuthorityHintArgs) ToOutput(ctx context.Context) pulumix.Output[AttestationAuthorityHint] { + return pulumix.Output[AttestationAuthorityHint]{ + OutputState: i.ToAttestationAuthorityHintOutputWithContext(ctx).OutputState, + } +} + func (i AttestationAuthorityHintArgs) ToAttestationAuthorityHintPtrOutput() AttestationAuthorityHintPtrOutput { return i.ToAttestationAuthorityHintPtrOutputWithContext(context.Background()) } @@ -1072,6 +1223,12 @@ func (i *attestationAuthorityHintPtrType) ToAttestationAuthorityHintPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(AttestationAuthorityHintPtrOutput) } +func (i *attestationAuthorityHintPtrType) ToOutput(ctx context.Context) pulumix.Output[*AttestationAuthorityHint] { + return pulumix.Output[*AttestationAuthorityHint]{ + OutputState: i.ToAttestationAuthorityHintPtrOutputWithContext(ctx).OutputState, + } +} + // This submessage provides human-readable hints about the purpose of the AttestationAuthority. Because the name of a Note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should NOT be used to look up AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify. type AttestationAuthorityHintOutput struct{ *pulumi.OutputState } @@ -1097,6 +1254,12 @@ func (o AttestationAuthorityHintOutput) ToAttestationAuthorityHintPtrOutputWithC }).(AttestationAuthorityHintPtrOutput) } +func (o AttestationAuthorityHintOutput) ToOutput(ctx context.Context) pulumix.Output[AttestationAuthorityHint] { + return pulumix.Output[AttestationAuthorityHint]{ + OutputState: o.OutputState, + } +} + // The human readable name of this Attestation Authority, for example "qa". func (o AttestationAuthorityHintOutput) HumanReadableName() pulumi.StringPtrOutput { return o.ApplyT(func(v AttestationAuthorityHint) *string { return v.HumanReadableName }).(pulumi.StringPtrOutput) @@ -1116,6 +1279,12 @@ func (o AttestationAuthorityHintPtrOutput) ToAttestationAuthorityHintPtrOutputWi return o } +func (o AttestationAuthorityHintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttestationAuthorityHint] { + return pulumix.Output[*AttestationAuthorityHint]{ + OutputState: o.OutputState, + } +} + func (o AttestationAuthorityHintPtrOutput) Elem() AttestationAuthorityHintOutput { return o.ApplyT(func(v *AttestationAuthorityHint) AttestationAuthorityHint { if v != nil { @@ -1157,6 +1326,12 @@ func (o AttestationAuthorityHintResponseOutput) ToAttestationAuthorityHintRespon return o } +func (o AttestationAuthorityHintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttestationAuthorityHintResponse] { + return pulumix.Output[AttestationAuthorityHintResponse]{ + OutputState: o.OutputState, + } +} + // The human readable name of this Attestation Authority, for example "qa". func (o AttestationAuthorityHintResponseOutput) HumanReadableName() pulumi.StringOutput { return o.ApplyT(func(v AttestationAuthorityHintResponse) string { return v.HumanReadableName }).(pulumi.StringOutput) @@ -1182,6 +1357,12 @@ func (o AttestationAuthorityResponseOutput) ToAttestationAuthorityResponseOutput return o } +func (o AttestationAuthorityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttestationAuthorityResponse] { + return pulumix.Output[AttestationAuthorityResponse]{ + OutputState: o.OutputState, + } +} + func (o AttestationAuthorityResponseOutput) Hint() AttestationAuthorityHintResponseOutput { return o.ApplyT(func(v AttestationAuthorityResponse) AttestationAuthorityHintResponse { return v.Hint }).(AttestationAuthorityHintResponseOutput) } @@ -1206,6 +1387,12 @@ func (o AttestationResponseOutput) ToAttestationResponseOutputWithContext(ctx co return o } +func (o AttestationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttestationResponse] { + return pulumix.Output[AttestationResponse]{ + OutputState: o.OutputState, + } +} + func (o AttestationResponseOutput) PgpSignedAttestation() PgpSignedAttestationResponseOutput { return o.ApplyT(func(v AttestationResponse) PgpSignedAttestationResponse { return v.PgpSignedAttestation }).(PgpSignedAttestationResponseOutput) } @@ -1249,6 +1436,12 @@ func (i BasisArgs) ToBasisOutputWithContext(ctx context.Context) BasisOutput { return pulumi.ToOutputWithContext(ctx, i).(BasisOutput) } +func (i BasisArgs) ToOutput(ctx context.Context) pulumix.Output[Basis] { + return pulumix.Output[Basis]{ + OutputState: i.ToBasisOutputWithContext(ctx).OutputState, + } +} + func (i BasisArgs) ToBasisPtrOutput() BasisPtrOutput { return i.ToBasisPtrOutputWithContext(context.Background()) } @@ -1290,6 +1483,12 @@ func (i *basisPtrType) ToBasisPtrOutputWithContext(ctx context.Context) BasisPtr return pulumi.ToOutputWithContext(ctx, i).(BasisPtrOutput) } +func (i *basisPtrType) ToOutput(ctx context.Context) pulumix.Output[*Basis] { + return pulumix.Output[*Basis]{ + OutputState: i.ToBasisPtrOutputWithContext(ctx).OutputState, + } +} + // Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g. a tag of the resource_url. type BasisOutput struct{ *pulumi.OutputState } @@ -1315,6 +1514,12 @@ func (o BasisOutput) ToBasisPtrOutputWithContext(ctx context.Context) BasisPtrOu }).(BasisPtrOutput) } +func (o BasisOutput) ToOutput(ctx context.Context) pulumix.Output[Basis] { + return pulumix.Output[Basis]{ + OutputState: o.OutputState, + } +} + // The fingerprint of the base image. func (o BasisOutput) Fingerprint() FingerprintPtrOutput { return o.ApplyT(func(v Basis) *Fingerprint { return v.Fingerprint }).(FingerprintPtrOutput) @@ -1339,6 +1544,12 @@ func (o BasisPtrOutput) ToBasisPtrOutputWithContext(ctx context.Context) BasisPt return o } +func (o BasisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Basis] { + return pulumix.Output[*Basis]{ + OutputState: o.OutputState, + } +} + func (o BasisPtrOutput) Elem() BasisOutput { return o.ApplyT(func(v *Basis) Basis { if v != nil { @@ -1392,6 +1603,12 @@ func (o BasisResponseOutput) ToBasisResponseOutputWithContext(ctx context.Contex return o } +func (o BasisResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasisResponse] { + return pulumix.Output[BasisResponse]{ + OutputState: o.OutputState, + } +} + // The fingerprint of the base image. func (o BasisResponseOutput) Fingerprint() FingerprintResponseOutput { return o.ApplyT(func(v BasisResponse) FingerprintResponse { return v.Fingerprint }).(FingerprintResponseOutput) @@ -1445,6 +1662,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -1470,6 +1693,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -1485,6 +1714,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -1514,6 +1749,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -1545,6 +1786,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1574,6 +1821,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1631,6 +1884,12 @@ func (i BuildDetailsArgs) ToBuildDetailsOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BuildDetailsOutput) } +func (i BuildDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[BuildDetails] { + return pulumix.Output[BuildDetails]{ + OutputState: i.ToBuildDetailsOutputWithContext(ctx).OutputState, + } +} + func (i BuildDetailsArgs) ToBuildDetailsPtrOutput() BuildDetailsPtrOutput { return i.ToBuildDetailsPtrOutputWithContext(context.Background()) } @@ -1672,6 +1931,12 @@ func (i *buildDetailsPtrType) ToBuildDetailsPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(BuildDetailsPtrOutput) } +func (i *buildDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildDetails] { + return pulumix.Output[*BuildDetails]{ + OutputState: i.ToBuildDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Message encapsulating build provenance details. type BuildDetailsOutput struct{ *pulumi.OutputState } @@ -1697,6 +1962,12 @@ func (o BuildDetailsOutput) ToBuildDetailsPtrOutputWithContext(ctx context.Conte }).(BuildDetailsPtrOutput) } +func (o BuildDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[BuildDetails] { + return pulumix.Output[BuildDetails]{ + OutputState: o.OutputState, + } +} + // Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec. // // Deprecated: Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec. @@ -1733,6 +2004,12 @@ func (o BuildDetailsPtrOutput) ToBuildDetailsPtrOutputWithContext(ctx context.Co return o } +func (o BuildDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildDetails] { + return pulumix.Output[*BuildDetails]{ + OutputState: o.OutputState, + } +} + func (o BuildDetailsPtrOutput) Elem() BuildDetailsOutput { return o.ApplyT(func(v *BuildDetails) BuildDetails { if v != nil { @@ -1814,6 +2091,12 @@ func (o BuildDetailsResponseOutput) ToBuildDetailsResponseOutputWithContext(ctx return o } +func (o BuildDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildDetailsResponse] { + return pulumix.Output[BuildDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec. // // Deprecated: Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec. @@ -1919,6 +2202,12 @@ func (i BuildProvenanceArgs) ToBuildProvenanceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BuildProvenanceOutput) } +func (i BuildProvenanceArgs) ToOutput(ctx context.Context) pulumix.Output[BuildProvenance] { + return pulumix.Output[BuildProvenance]{ + OutputState: i.ToBuildProvenanceOutputWithContext(ctx).OutputState, + } +} + func (i BuildProvenanceArgs) ToBuildProvenancePtrOutput() BuildProvenancePtrOutput { return i.ToBuildProvenancePtrOutputWithContext(context.Background()) } @@ -1960,6 +2249,12 @@ func (i *buildProvenancePtrType) ToBuildProvenancePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BuildProvenancePtrOutput) } +func (i *buildProvenancePtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildProvenance] { + return pulumix.Output[*BuildProvenance]{ + OutputState: i.ToBuildProvenancePtrOutputWithContext(ctx).OutputState, + } +} + // Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. type BuildProvenanceOutput struct{ *pulumi.OutputState } @@ -1985,6 +2280,12 @@ func (o BuildProvenanceOutput) ToBuildProvenancePtrOutputWithContext(ctx context }).(BuildProvenancePtrOutput) } +func (o BuildProvenanceOutput) ToOutput(ctx context.Context) pulumix.Output[BuildProvenance] { + return pulumix.Output[BuildProvenance]{ + OutputState: o.OutputState, + } +} + // Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details. func (o BuildProvenanceOutput) BuildOptions() pulumi.StringMapOutput { return o.ApplyT(func(v BuildProvenance) map[string]string { return v.BuildOptions }).(pulumi.StringMapOutput) @@ -2064,6 +2365,12 @@ func (o BuildProvenancePtrOutput) ToBuildProvenancePtrOutputWithContext(ctx cont return o } +func (o BuildProvenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildProvenance] { + return pulumix.Output[*BuildProvenance]{ + OutputState: o.OutputState, + } +} + func (o BuildProvenancePtrOutput) Elem() BuildProvenanceOutput { return o.ApplyT(func(v *BuildProvenance) BuildProvenance { if v != nil { @@ -2247,6 +2554,12 @@ func (o BuildProvenanceResponseOutput) ToBuildProvenanceResponseOutputWithContex return o } +func (o BuildProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildProvenanceResponse] { + return pulumix.Output[BuildProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details. func (o BuildProvenanceResponseOutput) BuildOptions() pulumi.StringMapOutput { return o.ApplyT(func(v BuildProvenanceResponse) map[string]string { return v.BuildOptions }).(pulumi.StringMapOutput) @@ -2354,6 +2667,12 @@ func (i BuildSignatureArgs) ToBuildSignatureOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BuildSignatureOutput) } +func (i BuildSignatureArgs) ToOutput(ctx context.Context) pulumix.Output[BuildSignature] { + return pulumix.Output[BuildSignature]{ + OutputState: i.ToBuildSignatureOutputWithContext(ctx).OutputState, + } +} + func (i BuildSignatureArgs) ToBuildSignaturePtrOutput() BuildSignaturePtrOutput { return i.ToBuildSignaturePtrOutputWithContext(context.Background()) } @@ -2395,6 +2714,12 @@ func (i *buildSignaturePtrType) ToBuildSignaturePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(BuildSignaturePtrOutput) } +func (i *buildSignaturePtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildSignature] { + return pulumix.Output[*BuildSignature]{ + OutputState: i.ToBuildSignaturePtrOutputWithContext(ctx).OutputState, + } +} + // Message encapsulating the signature of the verified build. type BuildSignatureOutput struct{ *pulumi.OutputState } @@ -2420,6 +2745,12 @@ func (o BuildSignatureOutput) ToBuildSignaturePtrOutputWithContext(ctx context.C }).(BuildSignaturePtrOutput) } +func (o BuildSignatureOutput) ToOutput(ctx context.Context) pulumix.Output[BuildSignature] { + return pulumix.Output[BuildSignature]{ + OutputState: o.OutputState, + } +} + // An Id for the key used to sign. This could be either an Id for the key stored in `public_key` (such as the Id or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service). func (o BuildSignatureOutput) KeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v BuildSignature) *string { return v.KeyId }).(pulumi.StringPtrOutput) @@ -2454,6 +2785,12 @@ func (o BuildSignaturePtrOutput) ToBuildSignaturePtrOutputWithContext(ctx contex return o } +func (o BuildSignaturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildSignature] { + return pulumix.Output[*BuildSignature]{ + OutputState: o.OutputState, + } +} + func (o BuildSignaturePtrOutput) Elem() BuildSignatureOutput { return o.ApplyT(func(v *BuildSignature) BuildSignature { if v != nil { @@ -2531,6 +2868,12 @@ func (o BuildSignatureResponseOutput) ToBuildSignatureResponseOutputWithContext( return o } +func (o BuildSignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildSignatureResponse] { + return pulumix.Output[BuildSignatureResponse]{ + OutputState: o.OutputState, + } +} + // An Id for the key used to sign. This could be either an Id for the key stored in `public_key` (such as the Id or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service). func (o BuildSignatureResponseOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v BuildSignatureResponse) string { return v.KeyId }).(pulumi.StringOutput) @@ -2590,6 +2933,12 @@ func (i BuildTypeArgs) ToBuildTypeOutputWithContext(ctx context.Context) BuildTy return pulumi.ToOutputWithContext(ctx, i).(BuildTypeOutput) } +func (i BuildTypeArgs) ToOutput(ctx context.Context) pulumix.Output[BuildType] { + return pulumix.Output[BuildType]{ + OutputState: i.ToBuildTypeOutputWithContext(ctx).OutputState, + } +} + func (i BuildTypeArgs) ToBuildTypePtrOutput() BuildTypePtrOutput { return i.ToBuildTypePtrOutputWithContext(context.Background()) } @@ -2631,6 +2980,12 @@ func (i *buildTypePtrType) ToBuildTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BuildTypePtrOutput) } +func (i *buildTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildType] { + return pulumix.Output[*BuildType]{ + OutputState: i.ToBuildTypePtrOutputWithContext(ctx).OutputState, + } +} + // Note holding the version of the provider's builder and the signature of the provenance message in linked BuildDetails. type BuildTypeOutput struct{ *pulumi.OutputState } @@ -2656,6 +3011,12 @@ func (o BuildTypeOutput) ToBuildTypePtrOutputWithContext(ctx context.Context) Bu }).(BuildTypePtrOutput) } +func (o BuildTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BuildType] { + return pulumix.Output[BuildType]{ + OutputState: o.OutputState, + } +} + // Version of the builder which produced this Note. func (o BuildTypeOutput) BuilderVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v BuildType) *string { return v.BuilderVersion }).(pulumi.StringPtrOutput) @@ -2680,6 +3041,12 @@ func (o BuildTypePtrOutput) ToBuildTypePtrOutputWithContext(ctx context.Context) return o } +func (o BuildTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildType] { + return pulumix.Output[*BuildType]{ + OutputState: o.OutputState, + } +} + func (o BuildTypePtrOutput) Elem() BuildTypeOutput { return o.ApplyT(func(v *BuildType) BuildType { if v != nil { @@ -2733,6 +3100,12 @@ func (o BuildTypeResponseOutput) ToBuildTypeResponseOutputWithContext(ctx contex return o } +func (o BuildTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildTypeResponse] { + return pulumix.Output[BuildTypeResponse]{ + OutputState: o.OutputState, + } +} + // Version of the builder which produced this Note. func (o BuildTypeResponseOutput) BuilderVersion() pulumi.StringOutput { return o.ApplyT(func(v BuildTypeResponse) string { return v.BuilderVersion }).(pulumi.StringOutput) @@ -2774,6 +3147,12 @@ func (i BuilderConfigArgs) ToBuilderConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BuilderConfigOutput) } +func (i BuilderConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BuilderConfig] { + return pulumix.Output[BuilderConfig]{ + OutputState: i.ToBuilderConfigOutputWithContext(ctx).OutputState, + } +} + func (i BuilderConfigArgs) ToBuilderConfigPtrOutput() BuilderConfigPtrOutput { return i.ToBuilderConfigPtrOutputWithContext(context.Background()) } @@ -2815,6 +3194,12 @@ func (i *builderConfigPtrType) ToBuilderConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(BuilderConfigPtrOutput) } +func (i *builderConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BuilderConfig] { + return pulumix.Output[*BuilderConfig]{ + OutputState: i.ToBuilderConfigPtrOutputWithContext(ctx).OutputState, + } +} + type BuilderConfigOutput struct{ *pulumi.OutputState } func (BuilderConfigOutput) ElementType() reflect.Type { @@ -2839,6 +3224,12 @@ func (o BuilderConfigOutput) ToBuilderConfigPtrOutputWithContext(ctx context.Con }).(BuilderConfigPtrOutput) } +func (o BuilderConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BuilderConfig] { + return pulumix.Output[BuilderConfig]{ + OutputState: o.OutputState, + } +} + func (o BuilderConfigOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v BuilderConfig) *string { return v.Id }).(pulumi.StringPtrOutput) } @@ -2857,6 +3248,12 @@ func (o BuilderConfigPtrOutput) ToBuilderConfigPtrOutputWithContext(ctx context. return o } +func (o BuilderConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuilderConfig] { + return pulumix.Output[*BuilderConfig]{ + OutputState: o.OutputState, + } +} + func (o BuilderConfigPtrOutput) Elem() BuilderConfigOutput { return o.ApplyT(func(v *BuilderConfig) BuilderConfig { if v != nil { @@ -2893,6 +3290,12 @@ func (o BuilderConfigResponseOutput) ToBuilderConfigResponseOutputWithContext(ct return o } +func (o BuilderConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuilderConfigResponse] { + return pulumix.Output[BuilderConfigResponse]{ + OutputState: o.OutputState, + } +} + // Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator type CVSS struct { // Defined in CVSS v3, CVSS v2 @@ -2968,6 +3371,12 @@ func (i CVSSArgs) ToCVSSOutputWithContext(ctx context.Context) CVSSOutput { return pulumi.ToOutputWithContext(ctx, i).(CVSSOutput) } +func (i CVSSArgs) ToOutput(ctx context.Context) pulumix.Output[CVSS] { + return pulumix.Output[CVSS]{ + OutputState: i.ToCVSSOutputWithContext(ctx).OutputState, + } +} + func (i CVSSArgs) ToCVSSPtrOutput() CVSSPtrOutput { return i.ToCVSSPtrOutputWithContext(context.Background()) } @@ -3009,6 +3418,12 @@ func (i *cvssPtrType) ToCVSSPtrOutputWithContext(ctx context.Context) CVSSPtrOut return pulumi.ToOutputWithContext(ctx, i).(CVSSPtrOutput) } +func (i *cvssPtrType) ToOutput(ctx context.Context) pulumix.Output[*CVSS] { + return pulumix.Output[*CVSS]{ + OutputState: i.ToCVSSPtrOutputWithContext(ctx).OutputState, + } +} + // Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator type CVSSOutput struct{ *pulumi.OutputState } @@ -3034,6 +3449,12 @@ func (o CVSSOutput) ToCVSSPtrOutputWithContext(ctx context.Context) CVSSPtrOutpu }).(CVSSPtrOutput) } +func (o CVSSOutput) ToOutput(ctx context.Context) pulumix.Output[CVSS] { + return pulumix.Output[CVSS]{ + OutputState: o.OutputState, + } +} + // Defined in CVSS v3, CVSS v2 func (o CVSSOutput) AttackComplexity() CVSSAttackComplexityPtrOutput { return o.ApplyT(func(v CVSS) *CVSSAttackComplexity { return v.AttackComplexity }).(CVSSAttackComplexityPtrOutput) @@ -3106,6 +3527,12 @@ func (o CVSSPtrOutput) ToCVSSPtrOutputWithContext(ctx context.Context) CVSSPtrOu return o } +func (o CVSSPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSS] { + return pulumix.Output[*CVSS]{ + OutputState: o.OutputState, + } +} + func (o CVSSPtrOutput) Elem() CVSSOutput { return o.ApplyT(func(v *CVSS) CVSS { if v != nil { @@ -3275,6 +3702,12 @@ func (o CVSSResponseOutput) ToCVSSResponseOutputWithContext(ctx context.Context) return o } +func (o CVSSResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSResponse] { + return pulumix.Output[CVSSResponse]{ + OutputState: o.OutputState, + } +} + // Defined in CVSS v3, CVSS v2 func (o CVSSResponseOutput) AttackComplexity() pulumi.StringOutput { return o.ApplyT(func(v CVSSResponse) string { return v.AttackComplexity }).(pulumi.StringOutput) @@ -3372,6 +3805,12 @@ func (i CisBenchmarkArgs) ToCisBenchmarkOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CisBenchmarkOutput) } +func (i CisBenchmarkArgs) ToOutput(ctx context.Context) pulumix.Output[CisBenchmark] { + return pulumix.Output[CisBenchmark]{ + OutputState: i.ToCisBenchmarkOutputWithContext(ctx).OutputState, + } +} + func (i CisBenchmarkArgs) ToCisBenchmarkPtrOutput() CisBenchmarkPtrOutput { return i.ToCisBenchmarkPtrOutputWithContext(context.Background()) } @@ -3413,6 +3852,12 @@ func (i *cisBenchmarkPtrType) ToCisBenchmarkPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(CisBenchmarkPtrOutput) } +func (i *cisBenchmarkPtrType) ToOutput(ctx context.Context) pulumix.Output[*CisBenchmark] { + return pulumix.Output[*CisBenchmark]{ + OutputState: i.ToCisBenchmarkPtrOutputWithContext(ctx).OutputState, + } +} + // A compliance check that is a CIS benchmark. type CisBenchmarkOutput struct{ *pulumi.OutputState } @@ -3438,6 +3883,12 @@ func (o CisBenchmarkOutput) ToCisBenchmarkPtrOutputWithContext(ctx context.Conte }).(CisBenchmarkPtrOutput) } +func (o CisBenchmarkOutput) ToOutput(ctx context.Context) pulumix.Output[CisBenchmark] { + return pulumix.Output[CisBenchmark]{ + OutputState: o.OutputState, + } +} + // The profile level of this CIS benchmark check. func (o CisBenchmarkOutput) ProfileLevel() pulumi.IntPtrOutput { return o.ApplyT(func(v CisBenchmark) *int { return v.ProfileLevel }).(pulumi.IntPtrOutput) @@ -3462,6 +3913,12 @@ func (o CisBenchmarkPtrOutput) ToCisBenchmarkPtrOutputWithContext(ctx context.Co return o } +func (o CisBenchmarkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CisBenchmark] { + return pulumix.Output[*CisBenchmark]{ + OutputState: o.OutputState, + } +} + func (o CisBenchmarkPtrOutput) Elem() CisBenchmarkOutput { return o.ApplyT(func(v *CisBenchmark) CisBenchmark { if v != nil { @@ -3515,6 +3972,12 @@ func (o CisBenchmarkResponseOutput) ToCisBenchmarkResponseOutputWithContext(ctx return o } +func (o CisBenchmarkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CisBenchmarkResponse] { + return pulumix.Output[CisBenchmarkResponse]{ + OutputState: o.OutputState, + } +} + // The profile level of this CIS benchmark check. func (o CisBenchmarkResponseOutput) ProfileLevel() pulumi.IntOutput { return o.ApplyT(func(v CisBenchmarkResponse) int { return v.ProfileLevel }).(pulumi.IntOutput) @@ -3580,6 +4043,12 @@ func (i CommandArgs) ToCommandOutputWithContext(ctx context.Context) CommandOutp return pulumi.ToOutputWithContext(ctx, i).(CommandOutput) } +func (i CommandArgs) ToOutput(ctx context.Context) pulumix.Output[Command] { + return pulumix.Output[Command]{ + OutputState: i.ToCommandOutputWithContext(ctx).OutputState, + } +} + // CommandArrayInput is an input type that accepts CommandArray and CommandArrayOutput values. // You can construct a concrete instance of `CommandArrayInput` via: // @@ -3605,6 +4074,12 @@ func (i CommandArray) ToCommandArrayOutputWithContext(ctx context.Context) Comma return pulumi.ToOutputWithContext(ctx, i).(CommandArrayOutput) } +func (i CommandArray) ToOutput(ctx context.Context) pulumix.Output[[]Command] { + return pulumix.Output[[]Command]{ + OutputState: i.ToCommandArrayOutputWithContext(ctx).OutputState, + } +} + // Command describes a step performed as part of the build pipeline. type CommandOutput struct{ *pulumi.OutputState } @@ -3620,6 +4095,12 @@ func (o CommandOutput) ToCommandOutputWithContext(ctx context.Context) CommandOu return o } +func (o CommandOutput) ToOutput(ctx context.Context) pulumix.Output[Command] { + return pulumix.Output[Command]{ + OutputState: o.OutputState, + } +} + // Command-line arguments used when executing this Command. func (o CommandOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v Command) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -3664,6 +4145,12 @@ func (o CommandArrayOutput) ToCommandArrayOutputWithContext(ctx context.Context) return o } +func (o CommandArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Command] { + return pulumix.Output[[]Command]{ + OutputState: o.OutputState, + } +} + func (o CommandArrayOutput) Index(i pulumi.IntInput) CommandOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Command { return vs[0].([]Command)[vs[1].(int)] @@ -3699,6 +4186,12 @@ func (o CommandResponseOutput) ToCommandResponseOutputWithContext(ctx context.Co return o } +func (o CommandResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommandResponse] { + return pulumix.Output[CommandResponse]{ + OutputState: o.OutputState, + } +} + // Command-line arguments used when executing this Command. func (o CommandResponseOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v CommandResponse) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -3738,6 +4231,12 @@ func (o CommandResponseArrayOutput) ToCommandResponseArrayOutputWithContext(ctx return o } +func (o CommandResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CommandResponse] { + return pulumix.Output[[]CommandResponse]{ + OutputState: o.OutputState, + } +} + func (o CommandResponseArrayOutput) Index(i pulumi.IntInput) CommandResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommandResponse { return vs[0].([]CommandResponse)[vs[1].(int)] @@ -3787,6 +4286,12 @@ func (i CompletenessArgs) ToCompletenessOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CompletenessOutput) } +func (i CompletenessArgs) ToOutput(ctx context.Context) pulumix.Output[Completeness] { + return pulumix.Output[Completeness]{ + OutputState: i.ToCompletenessOutputWithContext(ctx).OutputState, + } +} + func (i CompletenessArgs) ToCompletenessPtrOutput() CompletenessPtrOutput { return i.ToCompletenessPtrOutputWithContext(context.Background()) } @@ -3828,6 +4333,12 @@ func (i *completenessPtrType) ToCompletenessPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(CompletenessPtrOutput) } +func (i *completenessPtrType) ToOutput(ctx context.Context) pulumix.Output[*Completeness] { + return pulumix.Output[*Completeness]{ + OutputState: i.ToCompletenessPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that the builder claims certain fields in this message to be complete. type CompletenessOutput struct{ *pulumi.OutputState } @@ -3853,6 +4364,12 @@ func (o CompletenessOutput) ToCompletenessPtrOutputWithContext(ctx context.Conte }).(CompletenessPtrOutput) } +func (o CompletenessOutput) ToOutput(ctx context.Context) pulumix.Output[Completeness] { + return pulumix.Output[Completeness]{ + OutputState: o.OutputState, + } +} + // If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. func (o CompletenessOutput) Arguments() pulumi.BoolPtrOutput { return o.ApplyT(func(v Completeness) *bool { return v.Arguments }).(pulumi.BoolPtrOutput) @@ -3882,6 +4399,12 @@ func (o CompletenessPtrOutput) ToCompletenessPtrOutputWithContext(ctx context.Co return o } +func (o CompletenessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Completeness] { + return pulumix.Output[*Completeness]{ + OutputState: o.OutputState, + } +} + func (o CompletenessPtrOutput) Elem() CompletenessOutput { return o.ApplyT(func(v *Completeness) Completeness { if v != nil { @@ -3947,6 +4470,12 @@ func (o CompletenessResponseOutput) ToCompletenessResponseOutputWithContext(ctx return o } +func (o CompletenessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompletenessResponse] { + return pulumix.Output[CompletenessResponse]{ + OutputState: o.OutputState, + } +} + // If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. func (o CompletenessResponseOutput) Arguments() pulumi.BoolOutput { return o.ApplyT(func(v CompletenessResponse) bool { return v.Arguments }).(pulumi.BoolOutput) @@ -4021,6 +4550,12 @@ func (i ComplianceNoteArgs) ToComplianceNoteOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ComplianceNoteOutput) } +func (i ComplianceNoteArgs) ToOutput(ctx context.Context) pulumix.Output[ComplianceNote] { + return pulumix.Output[ComplianceNote]{ + OutputState: i.ToComplianceNoteOutputWithContext(ctx).OutputState, + } +} + func (i ComplianceNoteArgs) ToComplianceNotePtrOutput() ComplianceNotePtrOutput { return i.ToComplianceNotePtrOutputWithContext(context.Background()) } @@ -4062,6 +4597,12 @@ func (i *complianceNotePtrType) ToComplianceNotePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ComplianceNotePtrOutput) } +func (i *complianceNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*ComplianceNote] { + return pulumix.Output[*ComplianceNote]{ + OutputState: i.ToComplianceNotePtrOutputWithContext(ctx).OutputState, + } +} + // ComplianceNote encapsulates all information about a specific compliance check. type ComplianceNoteOutput struct{ *pulumi.OutputState } @@ -4087,6 +4628,12 @@ func (o ComplianceNoteOutput) ToComplianceNotePtrOutputWithContext(ctx context.C }).(ComplianceNotePtrOutput) } +func (o ComplianceNoteOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceNote] { + return pulumix.Output[ComplianceNote]{ + OutputState: o.OutputState, + } +} + // Right now we only have one compliance type, but we may add additional types in the future. func (o ComplianceNoteOutput) CisBenchmark() CisBenchmarkPtrOutput { return o.ApplyT(func(v ComplianceNote) *CisBenchmark { return v.CisBenchmark }).(CisBenchmarkPtrOutput) @@ -4136,6 +4683,12 @@ func (o ComplianceNotePtrOutput) ToComplianceNotePtrOutputWithContext(ctx contex return o } +func (o ComplianceNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComplianceNote] { + return pulumix.Output[*ComplianceNote]{ + OutputState: o.OutputState, + } +} + func (o ComplianceNotePtrOutput) Elem() ComplianceNoteOutput { return o.ApplyT(func(v *ComplianceNote) ComplianceNote { if v != nil { @@ -4249,6 +4802,12 @@ func (o ComplianceNoteResponseOutput) ToComplianceNoteResponseOutputWithContext( return o } +func (o ComplianceNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceNoteResponse] { + return pulumix.Output[ComplianceNoteResponse]{ + OutputState: o.OutputState, + } +} + // Right now we only have one compliance type, but we may add additional types in the future. func (o ComplianceNoteResponseOutput) CisBenchmark() CisBenchmarkResponseOutput { return o.ApplyT(func(v ComplianceNoteResponse) CisBenchmarkResponse { return v.CisBenchmark }).(CisBenchmarkResponseOutput) @@ -4323,6 +4882,12 @@ func (i ComplianceOccurrenceArgs) ToComplianceOccurrenceOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ComplianceOccurrenceOutput) } +func (i ComplianceOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[ComplianceOccurrence] { + return pulumix.Output[ComplianceOccurrence]{ + OutputState: i.ToComplianceOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i ComplianceOccurrenceArgs) ToComplianceOccurrencePtrOutput() ComplianceOccurrencePtrOutput { return i.ToComplianceOccurrencePtrOutputWithContext(context.Background()) } @@ -4364,6 +4929,12 @@ func (i *complianceOccurrencePtrType) ToComplianceOccurrencePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ComplianceOccurrencePtrOutput) } +func (i *complianceOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*ComplianceOccurrence] { + return pulumix.Output[*ComplianceOccurrence]{ + OutputState: i.ToComplianceOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason. type ComplianceOccurrenceOutput struct{ *pulumi.OutputState } @@ -4389,6 +4960,12 @@ func (o ComplianceOccurrenceOutput) ToComplianceOccurrencePtrOutputWithContext(c }).(ComplianceOccurrencePtrOutput) } +func (o ComplianceOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceOccurrence] { + return pulumix.Output[ComplianceOccurrence]{ + OutputState: o.OutputState, + } +} + // The reason for non compliance of these files. func (o ComplianceOccurrenceOutput) NonComplianceReason() pulumi.StringPtrOutput { return o.ApplyT(func(v ComplianceOccurrence) *string { return v.NonComplianceReason }).(pulumi.StringPtrOutput) @@ -4413,6 +4990,12 @@ func (o ComplianceOccurrencePtrOutput) ToComplianceOccurrencePtrOutputWithContex return o } +func (o ComplianceOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComplianceOccurrence] { + return pulumix.Output[*ComplianceOccurrence]{ + OutputState: o.OutputState, + } +} + func (o ComplianceOccurrencePtrOutput) Elem() ComplianceOccurrenceOutput { return o.ApplyT(func(v *ComplianceOccurrence) ComplianceOccurrence { if v != nil { @@ -4466,6 +5049,12 @@ func (o ComplianceOccurrenceResponseOutput) ToComplianceOccurrenceResponseOutput return o } +func (o ComplianceOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceOccurrenceResponse] { + return pulumix.Output[ComplianceOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // The reason for non compliance of these files. func (o ComplianceOccurrenceResponseOutput) NonComplianceReason() pulumi.StringOutput { return o.ApplyT(func(v ComplianceOccurrenceResponse) string { return v.NonComplianceReason }).(pulumi.StringOutput) @@ -4519,6 +5108,12 @@ func (i ComplianceVersionArgs) ToComplianceVersionOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ComplianceVersionOutput) } +func (i ComplianceVersionArgs) ToOutput(ctx context.Context) pulumix.Output[ComplianceVersion] { + return pulumix.Output[ComplianceVersion]{ + OutputState: i.ToComplianceVersionOutputWithContext(ctx).OutputState, + } +} + // ComplianceVersionArrayInput is an input type that accepts ComplianceVersionArray and ComplianceVersionArrayOutput values. // You can construct a concrete instance of `ComplianceVersionArrayInput` via: // @@ -4544,6 +5139,12 @@ func (i ComplianceVersionArray) ToComplianceVersionArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ComplianceVersionArrayOutput) } +func (i ComplianceVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]ComplianceVersion] { + return pulumix.Output[[]ComplianceVersion]{ + OutputState: i.ToComplianceVersionArrayOutputWithContext(ctx).OutputState, + } +} + // Describes the CIS benchmark version that is applicable to a given OS and os version. type ComplianceVersionOutput struct{ *pulumi.OutputState } @@ -4559,6 +5160,12 @@ func (o ComplianceVersionOutput) ToComplianceVersionOutputWithContext(ctx contex return o } +func (o ComplianceVersionOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceVersion] { + return pulumix.Output[ComplianceVersion]{ + OutputState: o.OutputState, + } +} + // The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS". func (o ComplianceVersionOutput) BenchmarkDocument() pulumi.StringPtrOutput { return o.ApplyT(func(v ComplianceVersion) *string { return v.BenchmarkDocument }).(pulumi.StringPtrOutput) @@ -4588,6 +5195,12 @@ func (o ComplianceVersionArrayOutput) ToComplianceVersionArrayOutputWithContext( return o } +func (o ComplianceVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ComplianceVersion] { + return pulumix.Output[[]ComplianceVersion]{ + OutputState: o.OutputState, + } +} + func (o ComplianceVersionArrayOutput) Index(i pulumi.IntInput) ComplianceVersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ComplianceVersion { return vs[0].([]ComplianceVersion)[vs[1].(int)] @@ -4619,6 +5232,12 @@ func (o ComplianceVersionResponseOutput) ToComplianceVersionResponseOutputWithCo return o } +func (o ComplianceVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComplianceVersionResponse] { + return pulumix.Output[ComplianceVersionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS". func (o ComplianceVersionResponseOutput) BenchmarkDocument() pulumi.StringOutput { return o.ApplyT(func(v ComplianceVersionResponse) string { return v.BenchmarkDocument }).(pulumi.StringOutput) @@ -4648,6 +5267,12 @@ func (o ComplianceVersionResponseArrayOutput) ToComplianceVersionResponseArrayOu return o } +func (o ComplianceVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ComplianceVersionResponse] { + return pulumix.Output[[]ComplianceVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o ComplianceVersionResponseArrayOutput) Index(i pulumi.IntInput) ComplianceVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ComplianceVersionResponse { return vs[0].([]ComplianceVersionResponse)[vs[1].(int)] @@ -4689,6 +5314,12 @@ func (i DSSEAttestationNoteArgs) ToDSSEAttestationNoteOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(DSSEAttestationNoteOutput) } +func (i DSSEAttestationNoteArgs) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationNote] { + return pulumix.Output[DSSEAttestationNote]{ + OutputState: i.ToDSSEAttestationNoteOutputWithContext(ctx).OutputState, + } +} + func (i DSSEAttestationNoteArgs) ToDSSEAttestationNotePtrOutput() DSSEAttestationNotePtrOutput { return i.ToDSSEAttestationNotePtrOutputWithContext(context.Background()) } @@ -4730,6 +5361,12 @@ func (i *dsseattestationNotePtrType) ToDSSEAttestationNotePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(DSSEAttestationNotePtrOutput) } +func (i *dsseattestationNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*DSSEAttestationNote] { + return pulumix.Output[*DSSEAttestationNote]{ + OutputState: i.ToDSSEAttestationNotePtrOutputWithContext(ctx).OutputState, + } +} + // A note describing an attestation type DSSEAttestationNoteOutput struct{ *pulumi.OutputState } @@ -4755,6 +5392,12 @@ func (o DSSEAttestationNoteOutput) ToDSSEAttestationNotePtrOutputWithContext(ctx }).(DSSEAttestationNotePtrOutput) } +func (o DSSEAttestationNoteOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationNote] { + return pulumix.Output[DSSEAttestationNote]{ + OutputState: o.OutputState, + } +} + // DSSEHint hints at the purpose of the attestation authority. func (o DSSEAttestationNoteOutput) Hint() DSSEHintPtrOutput { return o.ApplyT(func(v DSSEAttestationNote) *DSSEHint { return v.Hint }).(DSSEHintPtrOutput) @@ -4774,6 +5417,12 @@ func (o DSSEAttestationNotePtrOutput) ToDSSEAttestationNotePtrOutputWithContext( return o } +func (o DSSEAttestationNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DSSEAttestationNote] { + return pulumix.Output[*DSSEAttestationNote]{ + OutputState: o.OutputState, + } +} + func (o DSSEAttestationNotePtrOutput) Elem() DSSEAttestationNoteOutput { return o.ApplyT(func(v *DSSEAttestationNote) DSSEAttestationNote { if v != nil { @@ -4815,6 +5464,12 @@ func (o DSSEAttestationNoteResponseOutput) ToDSSEAttestationNoteResponseOutputWi return o } +func (o DSSEAttestationNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationNoteResponse] { + return pulumix.Output[DSSEAttestationNoteResponse]{ + OutputState: o.OutputState, + } +} + // DSSEHint hints at the purpose of the attestation authority. func (o DSSEAttestationNoteResponseOutput) Hint() DSSEHintResponseOutput { return o.ApplyT(func(v DSSEAttestationNoteResponse) DSSEHintResponse { return v.Hint }).(DSSEHintResponseOutput) @@ -4857,6 +5512,12 @@ func (i DSSEAttestationOccurrenceArgs) ToDSSEAttestationOccurrenceOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(DSSEAttestationOccurrenceOutput) } +func (i DSSEAttestationOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationOccurrence] { + return pulumix.Output[DSSEAttestationOccurrence]{ + OutputState: i.ToDSSEAttestationOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i DSSEAttestationOccurrenceArgs) ToDSSEAttestationOccurrencePtrOutput() DSSEAttestationOccurrencePtrOutput { return i.ToDSSEAttestationOccurrencePtrOutputWithContext(context.Background()) } @@ -4898,6 +5559,12 @@ func (i *dsseattestationOccurrencePtrType) ToDSSEAttestationOccurrencePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(DSSEAttestationOccurrencePtrOutput) } +func (i *dsseattestationOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*DSSEAttestationOccurrence] { + return pulumix.Output[*DSSEAttestationOccurrence]{ + OutputState: i.ToDSSEAttestationOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // An occurrence describing an attestation on a resource type DSSEAttestationOccurrenceOutput struct{ *pulumi.OutputState } @@ -4923,6 +5590,12 @@ func (o DSSEAttestationOccurrenceOutput) ToDSSEAttestationOccurrencePtrOutputWit }).(DSSEAttestationOccurrencePtrOutput) } +func (o DSSEAttestationOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationOccurrence] { + return pulumix.Output[DSSEAttestationOccurrence]{ + OutputState: o.OutputState, + } +} + // If doing something security critical, make sure to verify the signatures in this metadata. func (o DSSEAttestationOccurrenceOutput) Envelope() EnvelopePtrOutput { return o.ApplyT(func(v DSSEAttestationOccurrence) *Envelope { return v.Envelope }).(EnvelopePtrOutput) @@ -4946,6 +5619,12 @@ func (o DSSEAttestationOccurrencePtrOutput) ToDSSEAttestationOccurrencePtrOutput return o } +func (o DSSEAttestationOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DSSEAttestationOccurrence] { + return pulumix.Output[*DSSEAttestationOccurrence]{ + OutputState: o.OutputState, + } +} + func (o DSSEAttestationOccurrencePtrOutput) Elem() DSSEAttestationOccurrenceOutput { return o.ApplyT(func(v *DSSEAttestationOccurrence) DSSEAttestationOccurrence { if v != nil { @@ -4997,6 +5676,12 @@ func (o DSSEAttestationOccurrenceResponseOutput) ToDSSEAttestationOccurrenceResp return o } +func (o DSSEAttestationOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEAttestationOccurrenceResponse] { + return pulumix.Output[DSSEAttestationOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // If doing something security critical, make sure to verify the signatures in this metadata. func (o DSSEAttestationOccurrenceResponseOutput) Envelope() EnvelopeResponseOutput { return o.ApplyT(func(v DSSEAttestationOccurrenceResponse) EnvelopeResponse { return v.Envelope }).(EnvelopeResponseOutput) @@ -5041,6 +5726,12 @@ func (i DSSEHintArgs) ToDSSEHintOutputWithContext(ctx context.Context) DSSEHintO return pulumi.ToOutputWithContext(ctx, i).(DSSEHintOutput) } +func (i DSSEHintArgs) ToOutput(ctx context.Context) pulumix.Output[DSSEHint] { + return pulumix.Output[DSSEHint]{ + OutputState: i.ToDSSEHintOutputWithContext(ctx).OutputState, + } +} + func (i DSSEHintArgs) ToDSSEHintPtrOutput() DSSEHintPtrOutput { return i.ToDSSEHintPtrOutputWithContext(context.Background()) } @@ -5082,6 +5773,12 @@ func (i *dssehintPtrType) ToDSSEHintPtrOutputWithContext(ctx context.Context) DS return pulumi.ToOutputWithContext(ctx, i).(DSSEHintPtrOutput) } +func (i *dssehintPtrType) ToOutput(ctx context.Context) pulumix.Output[*DSSEHint] { + return pulumix.Output[*DSSEHint]{ + OutputState: i.ToDSSEHintPtrOutputWithContext(ctx).OutputState, + } +} + // This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify. type DSSEHintOutput struct{ *pulumi.OutputState } @@ -5107,6 +5804,12 @@ func (o DSSEHintOutput) ToDSSEHintPtrOutputWithContext(ctx context.Context) DSSE }).(DSSEHintPtrOutput) } +func (o DSSEHintOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEHint] { + return pulumix.Output[DSSEHint]{ + OutputState: o.OutputState, + } +} + // The human readable name of this attestation authority, for example "cloudbuild-prod". func (o DSSEHintOutput) HumanReadableName() pulumi.StringOutput { return o.ApplyT(func(v DSSEHint) string { return v.HumanReadableName }).(pulumi.StringOutput) @@ -5126,6 +5829,12 @@ func (o DSSEHintPtrOutput) ToDSSEHintPtrOutputWithContext(ctx context.Context) D return o } +func (o DSSEHintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DSSEHint] { + return pulumix.Output[*DSSEHint]{ + OutputState: o.OutputState, + } +} + func (o DSSEHintPtrOutput) Elem() DSSEHintOutput { return o.ApplyT(func(v *DSSEHint) DSSEHint { if v != nil { @@ -5167,6 +5876,12 @@ func (o DSSEHintResponseOutput) ToDSSEHintResponseOutputWithContext(ctx context. return o } +func (o DSSEHintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DSSEHintResponse] { + return pulumix.Output[DSSEHintResponse]{ + OutputState: o.OutputState, + } +} + // The human readable name of this attestation authority, for example "cloudbuild-prod". func (o DSSEHintResponseOutput) HumanReadableName() pulumi.StringOutput { return o.ApplyT(func(v DSSEHintResponse) string { return v.HumanReadableName }).(pulumi.StringOutput) @@ -5207,6 +5922,12 @@ func (i DeployableArgs) ToDeployableOutputWithContext(ctx context.Context) Deplo return pulumi.ToOutputWithContext(ctx, i).(DeployableOutput) } +func (i DeployableArgs) ToOutput(ctx context.Context) pulumix.Output[Deployable] { + return pulumix.Output[Deployable]{ + OutputState: i.ToDeployableOutputWithContext(ctx).OutputState, + } +} + func (i DeployableArgs) ToDeployablePtrOutput() DeployablePtrOutput { return i.ToDeployablePtrOutputWithContext(context.Background()) } @@ -5248,6 +5969,12 @@ func (i *deployablePtrType) ToDeployablePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DeployablePtrOutput) } +func (i *deployablePtrType) ToOutput(ctx context.Context) pulumix.Output[*Deployable] { + return pulumix.Output[*Deployable]{ + OutputState: i.ToDeployablePtrOutputWithContext(ctx).OutputState, + } +} + // An artifact that can be deployed in some runtime. type DeployableOutput struct{ *pulumi.OutputState } @@ -5273,6 +6000,12 @@ func (o DeployableOutput) ToDeployablePtrOutputWithContext(ctx context.Context) }).(DeployablePtrOutput) } +func (o DeployableOutput) ToOutput(ctx context.Context) pulumix.Output[Deployable] { + return pulumix.Output[Deployable]{ + OutputState: o.OutputState, + } +} + // Resource URI for the artifact being deployed. func (o DeployableOutput) ResourceUri() pulumi.StringArrayOutput { return o.ApplyT(func(v Deployable) []string { return v.ResourceUri }).(pulumi.StringArrayOutput) @@ -5292,6 +6025,12 @@ func (o DeployablePtrOutput) ToDeployablePtrOutputWithContext(ctx context.Contex return o } +func (o DeployablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Deployable] { + return pulumix.Output[*Deployable]{ + OutputState: o.OutputState, + } +} + func (o DeployablePtrOutput) Elem() DeployableOutput { return o.ApplyT(func(v *Deployable) Deployable { if v != nil { @@ -5333,6 +6072,12 @@ func (o DeployableResponseOutput) ToDeployableResponseOutputWithContext(ctx cont return o } +func (o DeployableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeployableResponse] { + return pulumix.Output[DeployableResponse]{ + OutputState: o.OutputState, + } +} + // Resource URI for the artifact being deployed. func (o DeployableResponseOutput) ResourceUri() pulumi.StringArrayOutput { return o.ApplyT(func(v DeployableResponse) []string { return v.ResourceUri }).(pulumi.StringArrayOutput) @@ -5397,6 +6142,12 @@ func (i DeploymentArgs) ToDeploymentOutputWithContext(ctx context.Context) Deplo return pulumi.ToOutputWithContext(ctx, i).(DeploymentOutput) } +func (i DeploymentArgs) ToOutput(ctx context.Context) pulumix.Output[Deployment] { + return pulumix.Output[Deployment]{ + OutputState: i.ToDeploymentOutputWithContext(ctx).OutputState, + } +} + func (i DeploymentArgs) ToDeploymentPtrOutput() DeploymentPtrOutput { return i.ToDeploymentPtrOutputWithContext(context.Background()) } @@ -5438,6 +6189,12 @@ func (i *deploymentPtrType) ToDeploymentPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DeploymentPtrOutput) } +func (i *deploymentPtrType) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: i.ToDeploymentPtrOutputWithContext(ctx).OutputState, + } +} + // The period during which some deployable was active in a runtime. type DeploymentOutput struct{ *pulumi.OutputState } @@ -5463,6 +6220,12 @@ func (o DeploymentOutput) ToDeploymentPtrOutputWithContext(ctx context.Context) }).(DeploymentPtrOutput) } +func (o DeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[Deployment] { + return pulumix.Output[Deployment]{ + OutputState: o.OutputState, + } +} + // Address of the runtime element hosting this deployment. func (o DeploymentOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v Deployment) *string { return v.Address }).(pulumi.StringPtrOutput) @@ -5512,6 +6275,12 @@ func (o DeploymentPtrOutput) ToDeploymentPtrOutputWithContext(ctx context.Contex return o } +func (o DeploymentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: o.OutputState, + } +} + func (o DeploymentPtrOutput) Elem() DeploymentOutput { return o.ApplyT(func(v *Deployment) Deployment { if v != nil { @@ -5625,6 +6394,12 @@ func (o DeploymentResponseOutput) ToDeploymentResponseOutputWithContext(ctx cont return o } +func (o DeploymentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentResponse] { + return pulumix.Output[DeploymentResponse]{ + OutputState: o.OutputState, + } +} + // Address of the runtime element hosting this deployment. func (o DeploymentResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v DeploymentResponse) string { return v.Address }).(pulumi.StringOutput) @@ -5699,6 +6474,12 @@ func (i DerivedArgs) ToDerivedOutputWithContext(ctx context.Context) DerivedOutp return pulumi.ToOutputWithContext(ctx, i).(DerivedOutput) } +func (i DerivedArgs) ToOutput(ctx context.Context) pulumix.Output[Derived] { + return pulumix.Output[Derived]{ + OutputState: i.ToDerivedOutputWithContext(ctx).OutputState, + } +} + func (i DerivedArgs) ToDerivedPtrOutput() DerivedPtrOutput { return i.ToDerivedPtrOutputWithContext(context.Background()) } @@ -5740,6 +6521,12 @@ func (i *derivedPtrType) ToDerivedPtrOutputWithContext(ctx context.Context) Deri return pulumi.ToOutputWithContext(ctx, i).(DerivedPtrOutput) } +func (i *derivedPtrType) ToOutput(ctx context.Context) pulumix.Output[*Derived] { + return pulumix.Output[*Derived]{ + OutputState: i.ToDerivedPtrOutputWithContext(ctx).OutputState, + } +} + // Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . type DerivedOutput struct{ *pulumi.OutputState } @@ -5765,6 +6552,12 @@ func (o DerivedOutput) ToDerivedPtrOutputWithContext(ctx context.Context) Derive }).(DerivedPtrOutput) } +func (o DerivedOutput) ToOutput(ctx context.Context) pulumix.Output[Derived] { + return pulumix.Output[Derived]{ + OutputState: o.OutputState, + } +} + // The fingerprint of the derived image. func (o DerivedOutput) Fingerprint() FingerprintPtrOutput { return o.ApplyT(func(v Derived) *Fingerprint { return v.Fingerprint }).(FingerprintPtrOutput) @@ -5789,6 +6582,12 @@ func (o DerivedPtrOutput) ToDerivedPtrOutputWithContext(ctx context.Context) Der return o } +func (o DerivedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Derived] { + return pulumix.Output[*Derived]{ + OutputState: o.OutputState, + } +} + func (o DerivedPtrOutput) Elem() DerivedOutput { return o.ApplyT(func(v *Derived) Derived { if v != nil { @@ -5846,6 +6645,12 @@ func (o DerivedResponseOutput) ToDerivedResponseOutputWithContext(ctx context.Co return o } +func (o DerivedResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DerivedResponse] { + return pulumix.Output[DerivedResponse]{ + OutputState: o.OutputState, + } +} + // This contains the base image URL for the derived image occurrence. func (o DerivedResponseOutput) BaseResourceUrl() pulumi.StringOutput { return o.ApplyT(func(v DerivedResponse) string { return v.BaseResourceUrl }).(pulumi.StringOutput) @@ -5941,6 +6746,12 @@ func (i DetailArgs) ToDetailOutputWithContext(ctx context.Context) DetailOutput return pulumi.ToOutputWithContext(ctx, i).(DetailOutput) } +func (i DetailArgs) ToOutput(ctx context.Context) pulumix.Output[Detail] { + return pulumix.Output[Detail]{ + OutputState: i.ToDetailOutputWithContext(ctx).OutputState, + } +} + // DetailArrayInput is an input type that accepts DetailArray and DetailArrayOutput values. // You can construct a concrete instance of `DetailArrayInput` via: // @@ -5966,6 +6777,12 @@ func (i DetailArray) ToDetailArrayOutputWithContext(ctx context.Context) DetailA return pulumi.ToOutputWithContext(ctx, i).(DetailArrayOutput) } +func (i DetailArray) ToOutput(ctx context.Context) pulumix.Output[[]Detail] { + return pulumix.Output[[]Detail]{ + OutputState: i.ToDetailArrayOutputWithContext(ctx).OutputState, + } +} + // Identifies all occurrences of this vulnerability in the package for a specific distro/location For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2 type DetailOutput struct{ *pulumi.OutputState } @@ -5981,6 +6798,12 @@ func (o DetailOutput) ToDetailOutputWithContext(ctx context.Context) DetailOutpu return o } +func (o DetailOutput) ToOutput(ctx context.Context) pulumix.Output[Detail] { + return pulumix.Output[Detail]{ + OutputState: o.OutputState, + } +} + // The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests. func (o DetailOutput) CpeUri() pulumi.StringPtrOutput { return o.ApplyT(func(v Detail) *string { return v.CpeUri }).(pulumi.StringPtrOutput) @@ -6050,6 +6873,12 @@ func (o DetailArrayOutput) ToDetailArrayOutputWithContext(ctx context.Context) D return o } +func (o DetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Detail] { + return pulumix.Output[[]Detail]{ + OutputState: o.OutputState, + } +} + func (o DetailArrayOutput) Index(i pulumi.IntInput) DetailOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Detail { return vs[0].([]Detail)[vs[1].(int)] @@ -6097,6 +6926,12 @@ func (o DetailResponseOutput) ToDetailResponseOutputWithContext(ctx context.Cont return o } +func (o DetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DetailResponse] { + return pulumix.Output[DetailResponse]{ + OutputState: o.OutputState, + } +} + // The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests. func (o DetailResponseOutput) CpeUri() pulumi.StringOutput { return o.ApplyT(func(v DetailResponse) string { return v.CpeUri }).(pulumi.StringOutput) @@ -6166,6 +7001,12 @@ func (o DetailResponseArrayOutput) ToDetailResponseArrayOutputWithContext(ctx co return o } +func (o DetailResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DetailResponse] { + return pulumix.Output[[]DetailResponse]{ + OutputState: o.OutputState, + } +} + func (o DetailResponseArrayOutput) Index(i pulumi.IntInput) DetailResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DetailResponse { return vs[0].([]DetailResponse)[vs[1].(int)] @@ -6211,6 +7052,12 @@ func (i DigestArgs) ToDigestOutputWithContext(ctx context.Context) DigestOutput return pulumi.ToOutputWithContext(ctx, i).(DigestOutput) } +func (i DigestArgs) ToOutput(ctx context.Context) pulumix.Output[Digest] { + return pulumix.Output[Digest]{ + OutputState: i.ToDigestOutputWithContext(ctx).OutputState, + } +} + // DigestArrayInput is an input type that accepts DigestArray and DigestArrayOutput values. // You can construct a concrete instance of `DigestArrayInput` via: // @@ -6236,6 +7083,12 @@ func (i DigestArray) ToDigestArrayOutputWithContext(ctx context.Context) DigestA return pulumi.ToOutputWithContext(ctx, i).(DigestArrayOutput) } +func (i DigestArray) ToOutput(ctx context.Context) pulumix.Output[[]Digest] { + return pulumix.Output[[]Digest]{ + OutputState: i.ToDigestArrayOutputWithContext(ctx).OutputState, + } +} + // Digest information. type DigestOutput struct{ *pulumi.OutputState } @@ -6251,6 +7104,12 @@ func (o DigestOutput) ToDigestOutputWithContext(ctx context.Context) DigestOutpu return o } +func (o DigestOutput) ToOutput(ctx context.Context) pulumix.Output[Digest] { + return pulumix.Output[Digest]{ + OutputState: o.OutputState, + } +} + // `SHA1`, `SHA512` etc. func (o DigestOutput) Algo() pulumi.StringPtrOutput { return o.ApplyT(func(v Digest) *string { return v.Algo }).(pulumi.StringPtrOutput) @@ -6275,6 +7134,12 @@ func (o DigestArrayOutput) ToDigestArrayOutputWithContext(ctx context.Context) D return o } +func (o DigestArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Digest] { + return pulumix.Output[[]Digest]{ + OutputState: o.OutputState, + } +} + func (o DigestArrayOutput) Index(i pulumi.IntInput) DigestOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Digest { return vs[0].([]Digest)[vs[1].(int)] @@ -6304,6 +7169,12 @@ func (o DigestResponseOutput) ToDigestResponseOutputWithContext(ctx context.Cont return o } +func (o DigestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DigestResponse] { + return pulumix.Output[DigestResponse]{ + OutputState: o.OutputState, + } +} + // `SHA1`, `SHA512` etc. func (o DigestResponseOutput) Algo() pulumi.StringOutput { return o.ApplyT(func(v DigestResponse) string { return v.Algo }).(pulumi.StringOutput) @@ -6328,6 +7199,12 @@ func (o DigestResponseArrayOutput) ToDigestResponseArrayOutputWithContext(ctx co return o } +func (o DigestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DigestResponse] { + return pulumix.Output[[]DigestResponse]{ + OutputState: o.OutputState, + } +} + func (o DigestResponseArrayOutput) Index(i pulumi.IntInput) DigestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DigestResponse { return vs[0].([]DigestResponse)[vs[1].(int)] @@ -6397,6 +7274,12 @@ func (i DiscoveredArgs) ToDiscoveredOutputWithContext(ctx context.Context) Disco return pulumi.ToOutputWithContext(ctx, i).(DiscoveredOutput) } +func (i DiscoveredArgs) ToOutput(ctx context.Context) pulumix.Output[Discovered] { + return pulumix.Output[Discovered]{ + OutputState: i.ToDiscoveredOutputWithContext(ctx).OutputState, + } +} + func (i DiscoveredArgs) ToDiscoveredPtrOutput() DiscoveredPtrOutput { return i.ToDiscoveredPtrOutputWithContext(context.Background()) } @@ -6438,6 +7321,12 @@ func (i *discoveredPtrType) ToDiscoveredPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DiscoveredPtrOutput) } +func (i *discoveredPtrType) ToOutput(ctx context.Context) pulumix.Output[*Discovered] { + return pulumix.Output[*Discovered]{ + OutputState: i.ToDiscoveredPtrOutputWithContext(ctx).OutputState, + } +} + // Provides information about the scan status of a discovered resource. type DiscoveredOutput struct{ *pulumi.OutputState } @@ -6463,6 +7352,12 @@ func (o DiscoveredOutput) ToDiscoveredPtrOutputWithContext(ctx context.Context) }).(DiscoveredPtrOutput) } +func (o DiscoveredOutput) ToOutput(ctx context.Context) pulumix.Output[Discovered] { + return pulumix.Output[Discovered]{ + OutputState: o.OutputState, + } +} + // The list of analysis that were completed for a resource. func (o DiscoveredOutput) AnalysisCompleted() AnalysisCompletedPtrOutput { return o.ApplyT(func(v Discovered) *AnalysisCompleted { return v.AnalysisCompleted }).(AnalysisCompletedPtrOutput) @@ -6517,6 +7412,12 @@ func (o DiscoveredPtrOutput) ToDiscoveredPtrOutputWithContext(ctx context.Contex return o } +func (o DiscoveredPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Discovered] { + return pulumix.Output[*Discovered]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredPtrOutput) Elem() DiscoveredOutput { return o.ApplyT(func(v *Discovered) Discovered { if v != nil { @@ -6646,6 +7547,12 @@ func (o DiscoveredResponseOutput) ToDiscoveredResponseOutputWithContext(ctx cont return o } +func (o DiscoveredResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveredResponse] { + return pulumix.Output[DiscoveredResponse]{ + OutputState: o.OutputState, + } +} + // The list of analysis that were completed for a resource. func (o DiscoveredResponseOutput) AnalysisCompleted() AnalysisCompletedResponseOutput { return o.ApplyT(func(v DiscoveredResponse) AnalysisCompletedResponse { return v.AnalysisCompleted }).(AnalysisCompletedResponseOutput) @@ -6728,6 +7635,12 @@ func (i DiscoveryArgs) ToDiscoveryOutputWithContext(ctx context.Context) Discove return pulumi.ToOutputWithContext(ctx, i).(DiscoveryOutput) } +func (i DiscoveryArgs) ToOutput(ctx context.Context) pulumix.Output[Discovery] { + return pulumix.Output[Discovery]{ + OutputState: i.ToDiscoveryOutputWithContext(ctx).OutputState, + } +} + func (i DiscoveryArgs) ToDiscoveryPtrOutput() DiscoveryPtrOutput { return i.ToDiscoveryPtrOutputWithContext(context.Background()) } @@ -6769,6 +7682,12 @@ func (i *discoveryPtrType) ToDiscoveryPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DiscoveryPtrOutput) } +func (i *discoveryPtrType) ToOutput(ctx context.Context) pulumix.Output[*Discovery] { + return pulumix.Output[*Discovery]{ + OutputState: i.ToDiscoveryPtrOutputWithContext(ctx).OutputState, + } +} + // A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis. The occurrence's operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn't started. type DiscoveryOutput struct{ *pulumi.OutputState } @@ -6794,6 +7713,12 @@ func (o DiscoveryOutput) ToDiscoveryPtrOutputWithContext(ctx context.Context) Di }).(DiscoveryPtrOutput) } +func (o DiscoveryOutput) ToOutput(ctx context.Context) pulumix.Output[Discovery] { + return pulumix.Output[Discovery]{ + OutputState: o.OutputState, + } +} + // The kind of analysis that is handled by this discovery. func (o DiscoveryOutput) AnalysisKind() DiscoveryAnalysisKindPtrOutput { return o.ApplyT(func(v Discovery) *DiscoveryAnalysisKind { return v.AnalysisKind }).(DiscoveryAnalysisKindPtrOutput) @@ -6813,6 +7738,12 @@ func (o DiscoveryPtrOutput) ToDiscoveryPtrOutputWithContext(ctx context.Context) return o } +func (o DiscoveryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Discovery] { + return pulumix.Output[*Discovery]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryPtrOutput) Elem() DiscoveryOutput { return o.ApplyT(func(v *Discovery) Discovery { if v != nil { @@ -6854,6 +7785,12 @@ func (o DiscoveryResponseOutput) ToDiscoveryResponseOutputWithContext(ctx contex return o } +func (o DiscoveryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryResponse] { + return pulumix.Output[DiscoveryResponse]{ + OutputState: o.OutputState, + } +} + // The kind of analysis that is handled by this discovery. func (o DiscoveryResponseOutput) AnalysisKind() pulumi.StringOutput { return o.ApplyT(func(v DiscoveryResponse) string { return v.AnalysisKind }).(pulumi.StringOutput) @@ -6914,6 +7851,12 @@ func (i DistributionArgs) ToDistributionOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DistributionOutput) } +func (i DistributionArgs) ToOutput(ctx context.Context) pulumix.Output[Distribution] { + return pulumix.Output[Distribution]{ + OutputState: i.ToDistributionOutputWithContext(ctx).OutputState, + } +} + // DistributionArrayInput is an input type that accepts DistributionArray and DistributionArrayOutput values. // You can construct a concrete instance of `DistributionArrayInput` via: // @@ -6939,6 +7882,12 @@ func (i DistributionArray) ToDistributionArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DistributionArrayOutput) } +func (i DistributionArray) ToOutput(ctx context.Context) pulumix.Output[[]Distribution] { + return pulumix.Output[[]Distribution]{ + OutputState: i.ToDistributionArrayOutputWithContext(ctx).OutputState, + } +} + // This represents a particular channel of distribution for a given package. e.g. Debian's jessie-backports dpkg mirror type DistributionOutput struct{ *pulumi.OutputState } @@ -6954,6 +7903,12 @@ func (o DistributionOutput) ToDistributionOutputWithContext(ctx context.Context) return o } +func (o DistributionOutput) ToOutput(ctx context.Context) pulumix.Output[Distribution] { + return pulumix.Output[Distribution]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built func (o DistributionOutput) Architecture() DistributionArchitecturePtrOutput { return o.ApplyT(func(v Distribution) *DistributionArchitecture { return v.Architecture }).(DistributionArchitecturePtrOutput) @@ -6998,6 +7953,12 @@ func (o DistributionArrayOutput) ToDistributionArrayOutputWithContext(ctx contex return o } +func (o DistributionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Distribution] { + return pulumix.Output[[]Distribution]{ + OutputState: o.OutputState, + } +} + func (o DistributionArrayOutput) Index(i pulumi.IntInput) DistributionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Distribution { return vs[0].([]Distribution)[vs[1].(int)] @@ -7035,6 +7996,12 @@ func (o DistributionResponseOutput) ToDistributionResponseOutputWithContext(ctx return o } +func (o DistributionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionResponse] { + return pulumix.Output[DistributionResponse]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built func (o DistributionResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v DistributionResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -7079,6 +8046,12 @@ func (o DistributionResponseArrayOutput) ToDistributionResponseArrayOutputWithCo return o } +func (o DistributionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DistributionResponse] { + return pulumix.Output[[]DistributionResponse]{ + OutputState: o.OutputState, + } +} + func (o DistributionResponseArrayOutput) Index(i pulumi.IntInput) DistributionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DistributionResponse { return vs[0].([]DistributionResponse)[vs[1].(int)] @@ -7124,6 +8097,12 @@ func (i DocumentNoteArgs) ToDocumentNoteOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DocumentNoteOutput) } +func (i DocumentNoteArgs) ToOutput(ctx context.Context) pulumix.Output[DocumentNote] { + return pulumix.Output[DocumentNote]{ + OutputState: i.ToDocumentNoteOutputWithContext(ctx).OutputState, + } +} + func (i DocumentNoteArgs) ToDocumentNotePtrOutput() DocumentNotePtrOutput { return i.ToDocumentNotePtrOutputWithContext(context.Background()) } @@ -7165,6 +8144,12 @@ func (i *documentNotePtrType) ToDocumentNotePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DocumentNotePtrOutput) } +func (i *documentNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*DocumentNote] { + return pulumix.Output[*DocumentNote]{ + OutputState: i.ToDocumentNotePtrOutputWithContext(ctx).OutputState, + } +} + // DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/ type DocumentNoteOutput struct{ *pulumi.OutputState } @@ -7190,6 +8175,12 @@ func (o DocumentNoteOutput) ToDocumentNotePtrOutputWithContext(ctx context.Conte }).(DocumentNotePtrOutput) } +func (o DocumentNoteOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentNote] { + return pulumix.Output[DocumentNote]{ + OutputState: o.OutputState, + } +} + // Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields ("SPDX-Metadata") func (o DocumentNoteOutput) DataLicence() pulumi.StringPtrOutput { return o.ApplyT(func(v DocumentNote) *string { return v.DataLicence }).(pulumi.StringPtrOutput) @@ -7214,6 +8205,12 @@ func (o DocumentNotePtrOutput) ToDocumentNotePtrOutputWithContext(ctx context.Co return o } +func (o DocumentNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DocumentNote] { + return pulumix.Output[*DocumentNote]{ + OutputState: o.OutputState, + } +} + func (o DocumentNotePtrOutput) Elem() DocumentNoteOutput { return o.ApplyT(func(v *DocumentNote) DocumentNote { if v != nil { @@ -7267,6 +8264,12 @@ func (o DocumentNoteResponseOutput) ToDocumentNoteResponseOutputWithContext(ctx return o } +func (o DocumentNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentNoteResponse] { + return pulumix.Output[DocumentNoteResponse]{ + OutputState: o.OutputState, + } +} + // Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields ("SPDX-Metadata") func (o DocumentNoteResponseOutput) DataLicence() pulumi.StringOutput { return o.ApplyT(func(v DocumentNoteResponse) string { return v.DataLicence }).(pulumi.StringOutput) @@ -7344,6 +8347,12 @@ func (i DocumentOccurrenceArgs) ToDocumentOccurrenceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DocumentOccurrenceOutput) } +func (i DocumentOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[DocumentOccurrence] { + return pulumix.Output[DocumentOccurrence]{ + OutputState: i.ToDocumentOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i DocumentOccurrenceArgs) ToDocumentOccurrencePtrOutput() DocumentOccurrencePtrOutput { return i.ToDocumentOccurrencePtrOutputWithContext(context.Background()) } @@ -7385,6 +8394,12 @@ func (i *documentOccurrencePtrType) ToDocumentOccurrencePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DocumentOccurrencePtrOutput) } +func (i *documentOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*DocumentOccurrence] { + return pulumix.Output[*DocumentOccurrence]{ + OutputState: i.ToDocumentOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ type DocumentOccurrenceOutput struct{ *pulumi.OutputState } @@ -7410,6 +8425,12 @@ func (o DocumentOccurrenceOutput) ToDocumentOccurrencePtrOutputWithContext(ctx c }).(DocumentOccurrencePtrOutput) } +func (o DocumentOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentOccurrence] { + return pulumix.Output[DocumentOccurrence]{ + OutputState: o.OutputState, + } +} + // Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard func (o DocumentOccurrenceOutput) CreateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v DocumentOccurrence) *string { return v.CreateTime }).(pulumi.StringPtrOutput) @@ -7469,6 +8490,12 @@ func (o DocumentOccurrencePtrOutput) ToDocumentOccurrencePtrOutputWithContext(ct return o } +func (o DocumentOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DocumentOccurrence] { + return pulumix.Output[*DocumentOccurrence]{ + OutputState: o.OutputState, + } +} + func (o DocumentOccurrencePtrOutput) Elem() DocumentOccurrenceOutput { return o.ApplyT(func(v *DocumentOccurrence) DocumentOccurrence { if v != nil { @@ -7604,6 +8631,12 @@ func (o DocumentOccurrenceResponseOutput) ToDocumentOccurrenceResponseOutputWith return o } +func (o DocumentOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentOccurrenceResponse] { + return pulumix.Output[DocumentOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard func (o DocumentOccurrenceResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v DocumentOccurrenceResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -7687,6 +8720,12 @@ func (i EnvelopeArgs) ToEnvelopeOutputWithContext(ctx context.Context) EnvelopeO return pulumi.ToOutputWithContext(ctx, i).(EnvelopeOutput) } +func (i EnvelopeArgs) ToOutput(ctx context.Context) pulumix.Output[Envelope] { + return pulumix.Output[Envelope]{ + OutputState: i.ToEnvelopeOutputWithContext(ctx).OutputState, + } +} + func (i EnvelopeArgs) ToEnvelopePtrOutput() EnvelopePtrOutput { return i.ToEnvelopePtrOutputWithContext(context.Background()) } @@ -7728,6 +8767,12 @@ func (i *envelopePtrType) ToEnvelopePtrOutputWithContext(ctx context.Context) En return pulumi.ToOutputWithContext(ctx, i).(EnvelopePtrOutput) } +func (i *envelopePtrType) ToOutput(ctx context.Context) pulumix.Output[*Envelope] { + return pulumix.Output[*Envelope]{ + OutputState: i.ToEnvelopePtrOutputWithContext(ctx).OutputState, + } +} + // MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. type EnvelopeOutput struct{ *pulumi.OutputState } @@ -7753,6 +8798,12 @@ func (o EnvelopeOutput) ToEnvelopePtrOutputWithContext(ctx context.Context) Enve }).(EnvelopePtrOutput) } +func (o EnvelopeOutput) ToOutput(ctx context.Context) pulumix.Output[Envelope] { + return pulumix.Output[Envelope]{ + OutputState: o.OutputState, + } +} + // The bytes being signed func (o EnvelopeOutput) Payload() pulumi.StringPtrOutput { return o.ApplyT(func(v Envelope) *string { return v.Payload }).(pulumi.StringPtrOutput) @@ -7782,6 +8833,12 @@ func (o EnvelopePtrOutput) ToEnvelopePtrOutputWithContext(ctx context.Context) E return o } +func (o EnvelopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Envelope] { + return pulumix.Output[*Envelope]{ + OutputState: o.OutputState, + } +} + func (o EnvelopePtrOutput) Elem() EnvelopeOutput { return o.ApplyT(func(v *Envelope) Envelope { if v != nil { @@ -7847,6 +8904,12 @@ func (o EnvelopeResponseOutput) ToEnvelopeResponseOutputWithContext(ctx context. return o } +func (o EnvelopeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvelopeResponse] { + return pulumix.Output[EnvelopeResponse]{ + OutputState: o.OutputState, + } +} + // The bytes being signed func (o EnvelopeResponseOutput) Payload() pulumi.StringOutput { return o.ApplyT(func(v EnvelopeResponse) string { return v.Payload }).(pulumi.StringOutput) @@ -7901,6 +8964,12 @@ func (i EnvelopeSignatureArgs) ToEnvelopeSignatureOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(EnvelopeSignatureOutput) } +func (i EnvelopeSignatureArgs) ToOutput(ctx context.Context) pulumix.Output[EnvelopeSignature] { + return pulumix.Output[EnvelopeSignature]{ + OutputState: i.ToEnvelopeSignatureOutputWithContext(ctx).OutputState, + } +} + // EnvelopeSignatureArrayInput is an input type that accepts EnvelopeSignatureArray and EnvelopeSignatureArrayOutput values. // You can construct a concrete instance of `EnvelopeSignatureArrayInput` via: // @@ -7926,6 +8995,12 @@ func (i EnvelopeSignatureArray) ToEnvelopeSignatureArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(EnvelopeSignatureArrayOutput) } +func (i EnvelopeSignatureArray) ToOutput(ctx context.Context) pulumix.Output[[]EnvelopeSignature] { + return pulumix.Output[[]EnvelopeSignature]{ + OutputState: i.ToEnvelopeSignatureArrayOutputWithContext(ctx).OutputState, + } +} + // A DSSE signature type EnvelopeSignatureOutput struct{ *pulumi.OutputState } @@ -7941,6 +9016,12 @@ func (o EnvelopeSignatureOutput) ToEnvelopeSignatureOutputWithContext(ctx contex return o } +func (o EnvelopeSignatureOutput) ToOutput(ctx context.Context) pulumix.Output[EnvelopeSignature] { + return pulumix.Output[EnvelopeSignature]{ + OutputState: o.OutputState, + } +} + // A reference id to the key being used for signing func (o EnvelopeSignatureOutput) Keyid() pulumi.StringPtrOutput { return o.ApplyT(func(v EnvelopeSignature) *string { return v.Keyid }).(pulumi.StringPtrOutput) @@ -7965,6 +9046,12 @@ func (o EnvelopeSignatureArrayOutput) ToEnvelopeSignatureArrayOutputWithContext( return o } +func (o EnvelopeSignatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvelopeSignature] { + return pulumix.Output[[]EnvelopeSignature]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeSignatureArrayOutput) Index(i pulumi.IntInput) EnvelopeSignatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvelopeSignature { return vs[0].([]EnvelopeSignature)[vs[1].(int)] @@ -7994,6 +9081,12 @@ func (o EnvelopeSignatureResponseOutput) ToEnvelopeSignatureResponseOutputWithCo return o } +func (o EnvelopeSignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvelopeSignatureResponse] { + return pulumix.Output[EnvelopeSignatureResponse]{ + OutputState: o.OutputState, + } +} + // A reference id to the key being used for signing func (o EnvelopeSignatureResponseOutput) Keyid() pulumi.StringOutput { return o.ApplyT(func(v EnvelopeSignatureResponse) string { return v.Keyid }).(pulumi.StringOutput) @@ -8018,6 +9111,12 @@ func (o EnvelopeSignatureResponseArrayOutput) ToEnvelopeSignatureResponseArrayOu return o } +func (o EnvelopeSignatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvelopeSignatureResponse] { + return pulumix.Output[[]EnvelopeSignatureResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeSignatureResponseArrayOutput) Index(i pulumi.IntInput) EnvelopeSignatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvelopeSignatureResponse { return vs[0].([]EnvelopeSignatureResponse)[vs[1].(int)] @@ -8071,6 +9170,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -8112,6 +9217,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -8137,6 +9248,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -8171,6 +9288,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -8248,6 +9371,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -8315,6 +9444,12 @@ func (i ExternalRefArgs) ToExternalRefOutputWithContext(ctx context.Context) Ext return pulumi.ToOutputWithContext(ctx, i).(ExternalRefOutput) } +func (i ExternalRefArgs) ToOutput(ctx context.Context) pulumix.Output[ExternalRef] { + return pulumix.Output[ExternalRef]{ + OutputState: i.ToExternalRefOutputWithContext(ctx).OutputState, + } +} + // ExternalRefArrayInput is an input type that accepts ExternalRefArray and ExternalRefArrayOutput values. // You can construct a concrete instance of `ExternalRefArrayInput` via: // @@ -8340,6 +9475,12 @@ func (i ExternalRefArray) ToExternalRefArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ExternalRefArrayOutput) } +func (i ExternalRefArray) ToOutput(ctx context.Context) pulumix.Output[[]ExternalRef] { + return pulumix.Output[[]ExternalRef]{ + OutputState: i.ToExternalRefArrayOutputWithContext(ctx).OutputState, + } +} + // An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package type ExternalRefOutput struct{ *pulumi.OutputState } @@ -8355,6 +9496,12 @@ func (o ExternalRefOutput) ToExternalRefOutputWithContext(ctx context.Context) E return o } +func (o ExternalRefOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalRef] { + return pulumix.Output[ExternalRef]{ + OutputState: o.OutputState, + } +} + // An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package func (o ExternalRefOutput) Category() ExternalRefCategoryPtrOutput { return o.ApplyT(func(v ExternalRef) *ExternalRefCategory { return v.Category }).(ExternalRefCategoryPtrOutput) @@ -8389,6 +9536,12 @@ func (o ExternalRefArrayOutput) ToExternalRefArrayOutputWithContext(ctx context. return o } +func (o ExternalRefArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExternalRef] { + return pulumix.Output[[]ExternalRef]{ + OutputState: o.OutputState, + } +} + func (o ExternalRefArrayOutput) Index(i pulumi.IntInput) ExternalRefOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExternalRef { return vs[0].([]ExternalRef)[vs[1].(int)] @@ -8422,6 +9575,12 @@ func (o ExternalRefResponseOutput) ToExternalRefResponseOutputWithContext(ctx co return o } +func (o ExternalRefResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalRefResponse] { + return pulumix.Output[ExternalRefResponse]{ + OutputState: o.OutputState, + } +} + // An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package func (o ExternalRefResponseOutput) Category() pulumi.StringOutput { return o.ApplyT(func(v ExternalRefResponse) string { return v.Category }).(pulumi.StringOutput) @@ -8456,6 +9615,12 @@ func (o ExternalRefResponseArrayOutput) ToExternalRefResponseArrayOutputWithCont return o } +func (o ExternalRefResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExternalRefResponse] { + return pulumix.Output[[]ExternalRefResponse]{ + OutputState: o.OutputState, + } +} + func (o ExternalRefResponseArrayOutput) Index(i pulumi.IntInput) ExternalRefResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExternalRefResponse { return vs[0].([]ExternalRefResponse)[vs[1].(int)] @@ -8497,6 +9662,12 @@ func (i FileLocationArgs) ToFileLocationOutputWithContext(ctx context.Context) F return pulumi.ToOutputWithContext(ctx, i).(FileLocationOutput) } +func (i FileLocationArgs) ToOutput(ctx context.Context) pulumix.Output[FileLocation] { + return pulumix.Output[FileLocation]{ + OutputState: i.ToFileLocationOutputWithContext(ctx).OutputState, + } +} + // FileLocationArrayInput is an input type that accepts FileLocationArray and FileLocationArrayOutput values. // You can construct a concrete instance of `FileLocationArrayInput` via: // @@ -8522,6 +9693,12 @@ func (i FileLocationArray) ToFileLocationArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(FileLocationArrayOutput) } +func (i FileLocationArray) ToOutput(ctx context.Context) pulumix.Output[[]FileLocation] { + return pulumix.Output[[]FileLocation]{ + OutputState: i.ToFileLocationArrayOutputWithContext(ctx).OutputState, + } +} + // Indicates the location at which a package was found. type FileLocationOutput struct{ *pulumi.OutputState } @@ -8537,6 +9714,12 @@ func (o FileLocationOutput) ToFileLocationOutputWithContext(ctx context.Context) return o } +func (o FileLocationOutput) ToOutput(ctx context.Context) pulumix.Output[FileLocation] { + return pulumix.Output[FileLocation]{ + OutputState: o.OutputState, + } +} + // For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. func (o FileLocationOutput) FilePath() pulumi.StringPtrOutput { return o.ApplyT(func(v FileLocation) *string { return v.FilePath }).(pulumi.StringPtrOutput) @@ -8556,6 +9739,12 @@ func (o FileLocationArrayOutput) ToFileLocationArrayOutputWithContext(ctx contex return o } +func (o FileLocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileLocation] { + return pulumix.Output[[]FileLocation]{ + OutputState: o.OutputState, + } +} + func (o FileLocationArrayOutput) Index(i pulumi.IntInput) FileLocationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileLocation { return vs[0].([]FileLocation)[vs[1].(int)] @@ -8583,6 +9772,12 @@ func (o FileLocationResponseOutput) ToFileLocationResponseOutputWithContext(ctx return o } +func (o FileLocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileLocationResponse] { + return pulumix.Output[FileLocationResponse]{ + OutputState: o.OutputState, + } +} + // For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. func (o FileLocationResponseOutput) FilePath() pulumi.StringOutput { return o.ApplyT(func(v FileLocationResponse) string { return v.FilePath }).(pulumi.StringOutput) @@ -8602,6 +9797,12 @@ func (o FileLocationResponseArrayOutput) ToFileLocationResponseArrayOutputWithCo return o } +func (o FileLocationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileLocationResponse] { + return pulumix.Output[[]FileLocationResponse]{ + OutputState: o.OutputState, + } +} + func (o FileLocationResponseArrayOutput) Index(i pulumi.IntInput) FileLocationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileLocationResponse { return vs[0].([]FileLocationResponse)[vs[1].(int)] @@ -8651,6 +9852,12 @@ func (i FileNoteArgs) ToFileNoteOutputWithContext(ctx context.Context) FileNoteO return pulumi.ToOutputWithContext(ctx, i).(FileNoteOutput) } +func (i FileNoteArgs) ToOutput(ctx context.Context) pulumix.Output[FileNote] { + return pulumix.Output[FileNote]{ + OutputState: i.ToFileNoteOutputWithContext(ctx).OutputState, + } +} + func (i FileNoteArgs) ToFileNotePtrOutput() FileNotePtrOutput { return i.ToFileNotePtrOutputWithContext(context.Background()) } @@ -8692,6 +9899,12 @@ func (i *fileNotePtrType) ToFileNotePtrOutputWithContext(ctx context.Context) Fi return pulumi.ToOutputWithContext(ctx, i).(FileNotePtrOutput) } +func (i *fileNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*FileNote] { + return pulumix.Output[*FileNote]{ + OutputState: i.ToFileNotePtrOutputWithContext(ctx).OutputState, + } +} + // FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ type FileNoteOutput struct{ *pulumi.OutputState } @@ -8717,6 +9930,12 @@ func (o FileNoteOutput) ToFileNotePtrOutputWithContext(ctx context.Context) File }).(FileNotePtrOutput) } +func (o FileNoteOutput) ToOutput(ctx context.Context) pulumix.Output[FileNote] { + return pulumix.Output[FileNote]{ + OutputState: o.OutputState, + } +} + // Provide a unique identifier to match analysis information on each specific file in a package func (o FileNoteOutput) Checksum() pulumi.StringArrayOutput { return o.ApplyT(func(v FileNote) []string { return v.Checksum }).(pulumi.StringArrayOutput) @@ -8746,6 +9965,12 @@ func (o FileNotePtrOutput) ToFileNotePtrOutputWithContext(ctx context.Context) F return o } +func (o FileNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileNote] { + return pulumix.Output[*FileNote]{ + OutputState: o.OutputState, + } +} + func (o FileNotePtrOutput) Elem() FileNoteOutput { return o.ApplyT(func(v *FileNote) FileNote { if v != nil { @@ -8811,6 +10036,12 @@ func (o FileNoteResponseOutput) ToFileNoteResponseOutputWithContext(ctx context. return o } +func (o FileNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileNoteResponse] { + return pulumix.Output[FileNoteResponse]{ + OutputState: o.OutputState, + } +} + // Provide a unique identifier to match analysis information on each specific file in a package func (o FileNoteResponseOutput) Checksum() pulumi.StringArrayOutput { return o.ApplyT(func(v FileNoteResponse) []string { return v.Checksum }).(pulumi.StringArrayOutput) @@ -8889,6 +10120,12 @@ func (i FileOccurrenceArgs) ToFileOccurrenceOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(FileOccurrenceOutput) } +func (i FileOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[FileOccurrence] { + return pulumix.Output[FileOccurrence]{ + OutputState: i.ToFileOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i FileOccurrenceArgs) ToFileOccurrencePtrOutput() FileOccurrencePtrOutput { return i.ToFileOccurrencePtrOutputWithContext(context.Background()) } @@ -8930,6 +10167,12 @@ func (i *fileOccurrencePtrType) ToFileOccurrencePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FileOccurrencePtrOutput) } +func (i *fileOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*FileOccurrence] { + return pulumix.Output[*FileOccurrence]{ + OutputState: i.ToFileOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ type FileOccurrenceOutput struct{ *pulumi.OutputState } @@ -8955,6 +10198,12 @@ func (o FileOccurrenceOutput) ToFileOccurrencePtrOutputWithContext(ctx context.C }).(FileOccurrencePtrOutput) } +func (o FileOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[FileOccurrence] { + return pulumix.Output[FileOccurrence]{ + OutputState: o.OutputState, + } +} + // This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts func (o FileOccurrenceOutput) Attributions() pulumi.StringArrayOutput { return o.ApplyT(func(v FileOccurrence) []string { return v.Attributions }).(pulumi.StringArrayOutput) @@ -9009,6 +10258,12 @@ func (o FileOccurrencePtrOutput) ToFileOccurrencePtrOutputWithContext(ctx contex return o } +func (o FileOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileOccurrence] { + return pulumix.Output[*FileOccurrence]{ + OutputState: o.OutputState, + } +} + func (o FileOccurrencePtrOutput) Elem() FileOccurrenceOutput { return o.ApplyT(func(v *FileOccurrence) FileOccurrence { if v != nil { @@ -9132,6 +10387,12 @@ func (o FileOccurrenceResponseOutput) ToFileOccurrenceResponseOutputWithContext( return o } +func (o FileOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileOccurrenceResponse] { + return pulumix.Output[FileOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts func (o FileOccurrenceResponseOutput) Attributions() pulumi.StringArrayOutput { return o.ApplyT(func(v FileOccurrenceResponse) []string { return v.Attributions }).(pulumi.StringArrayOutput) @@ -9206,6 +10467,12 @@ func (i FingerprintArgs) ToFingerprintOutputWithContext(ctx context.Context) Fin return pulumi.ToOutputWithContext(ctx, i).(FingerprintOutput) } +func (i FingerprintArgs) ToOutput(ctx context.Context) pulumix.Output[Fingerprint] { + return pulumix.Output[Fingerprint]{ + OutputState: i.ToFingerprintOutputWithContext(ctx).OutputState, + } +} + func (i FingerprintArgs) ToFingerprintPtrOutput() FingerprintPtrOutput { return i.ToFingerprintPtrOutputWithContext(context.Background()) } @@ -9247,6 +10514,12 @@ func (i *fingerprintPtrType) ToFingerprintPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FingerprintPtrOutput) } +func (i *fingerprintPtrType) ToOutput(ctx context.Context) pulumix.Output[*Fingerprint] { + return pulumix.Output[*Fingerprint]{ + OutputState: i.ToFingerprintPtrOutputWithContext(ctx).OutputState, + } +} + // A set of properties that uniquely identify a given Docker image. type FingerprintOutput struct{ *pulumi.OutputState } @@ -9272,6 +10545,12 @@ func (o FingerprintOutput) ToFingerprintPtrOutputWithContext(ctx context.Context }).(FingerprintPtrOutput) } +func (o FingerprintOutput) ToOutput(ctx context.Context) pulumix.Output[Fingerprint] { + return pulumix.Output[Fingerprint]{ + OutputState: o.OutputState, + } +} + // The layer-id of the final layer in the Docker image's v1 representation. This field can be used as a filter in list requests. func (o FingerprintOutput) V1Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Fingerprint) *string { return v.V1Name }).(pulumi.StringPtrOutput) @@ -9296,6 +10575,12 @@ func (o FingerprintPtrOutput) ToFingerprintPtrOutputWithContext(ctx context.Cont return o } +func (o FingerprintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Fingerprint] { + return pulumix.Output[*Fingerprint]{ + OutputState: o.OutputState, + } +} + func (o FingerprintPtrOutput) Elem() FingerprintOutput { return o.ApplyT(func(v *Fingerprint) Fingerprint { if v != nil { @@ -9351,6 +10636,12 @@ func (o FingerprintResponseOutput) ToFingerprintResponseOutputWithContext(ctx co return o } +func (o FingerprintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FingerprintResponse] { + return pulumix.Output[FingerprintResponse]{ + OutputState: o.OutputState, + } +} + // The layer-id of the final layer in the Docker image's v1 representation. This field can be used as a filter in list requests. func (o FingerprintResponseOutput) V1Name() pulumi.StringOutput { return o.ApplyT(func(v FingerprintResponse) string { return v.V1Name }).(pulumi.StringOutput) @@ -9405,6 +10696,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1AliasContextArgs) ToGoogleDevtool return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1AliasContextOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1AliasContextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1AliasContext] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1AliasContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1AliasContextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1AliasContextArgs) ToGoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutputWithContext(context.Background()) } @@ -9446,6 +10743,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1AliasContextPtrType) ToGoogleDev return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1AliasContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1AliasContext] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1AliasContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutputWithContext(ctx).OutputState, + } +} + // An alias to a repo revision. type GoogleDevtoolsContaineranalysisV1alpha1AliasContextOutput struct{ *pulumi.OutputState } @@ -9471,6 +10774,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextOutput) ToGoogleDevto }).(GoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1AliasContext] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1AliasContext]{ + OutputState: o.OutputState, + } +} + // The alias kind. func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextOutput) Kind() GoogleDevtoolsContaineranalysisV1alpha1AliasContextKindPtrOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1AliasContext) *GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind { @@ -9497,6 +10806,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutput) ToGoogleDe return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1AliasContext] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1AliasContext]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1AliasContextOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1AliasContext) GoogleDevtoolsContaineranalysisV1alpha1AliasContext { if v != nil { @@ -9550,6 +10865,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextResponseOutput) ToGoo return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1AliasContextResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1AliasContextResponse]{ + OutputState: o.OutputState, + } +} + // The alias kind. func (o GoogleDevtoolsContaineranalysisV1alpha1AliasContextResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1AliasContextResponse) string { return v.Kind }).(pulumi.StringOutput) @@ -9603,6 +10924,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextArgs) ToGoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrOutputWithContext(context.Background()) } @@ -9644,6 +10971,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrType) T return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. type GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextOutput struct{ *pulumi.OutputState } @@ -9669,6 +11002,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextOutput) ToG }).(GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextOutput) AliasContext() GoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext) *GoogleDevtoolsContaineranalysisV1alpha1AliasContext { @@ -9702,6 +11041,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrOutput) return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext) GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext { if v != nil { @@ -9767,6 +11112,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextResponseOut return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextResponse]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextResponseOutput) AliasContext() GoogleDevtoolsContaineranalysisV1alpha1AliasContextResponseOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextResponse) GoogleDevtoolsContaineranalysisV1alpha1AliasContextResponse { @@ -9835,6 +11186,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextArgs) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextArgs) ToGoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrOutputWithContext(context.Background()) } @@ -9876,6 +11233,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrType) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // A SourceContext referring to a Gerrit project. type GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextOutput struct{ *pulumi.OutputState } @@ -9901,6 +11264,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextOutput) ToGoog }).(GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextOutput) AliasContext() GoogleDevtoolsContaineranalysisV1alpha1AliasContextPtrOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext) *GoogleDevtoolsContaineranalysisV1alpha1AliasContext { @@ -9937,6 +11306,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrOutput) ToG return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext) GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext { if v != nil { @@ -10014,6 +11389,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextResponseOutput return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextResponse]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextResponseOutput) AliasContext() GoogleDevtoolsContaineranalysisV1alpha1AliasContextResponseOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextResponse) GoogleDevtoolsContaineranalysisV1alpha1AliasContextResponse { @@ -10077,6 +11458,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextArgs) ToGoogleDev return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1GitSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextArgs) ToGoogleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrOutputWithContext(context.Background()) } @@ -10118,6 +11505,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). type GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextOutput struct{ *pulumi.OutputState } @@ -10143,6 +11536,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextOutput) ToGoogleD }).(GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext]{ + OutputState: o.OutputState, + } +} + // Git commit hash. func (o GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextOutput) RevisionId() pulumi.StringOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext) string { return v.RevisionId }).(pulumi.StringOutput) @@ -10167,6 +11566,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrOutput) ToGoog return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext) GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext { if v != nil { @@ -10220,6 +11625,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextResponseOutput) T return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextResponse]{ + OutputState: o.OutputState, + } +} + // Git commit hash. func (o GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextResponseOutput) RevisionId() pulumi.StringOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextResponse) string { return v.RevisionId }).(pulumi.StringOutput) @@ -10269,6 +11680,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdArgs) ToGoogleDevtoo return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdArgs) ToGoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrOutputWithContext(context.Background()) } @@ -10310,6 +11727,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrType) ToGoogleDe return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrOutputWithContext(ctx).OutputState, + } +} + // Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. type GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdOutput struct{ *pulumi.OutputState } @@ -10335,6 +11758,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdOutput) ToGoogleDevt }).(GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId]{ + OutputState: o.OutputState, + } +} + // The ID of the project. func (o GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdOutput) Project() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId) *string { return v.Project }).(pulumi.StringPtrOutput) @@ -10359,6 +11788,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrOutput) ToGoogleD return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId) GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId { if v != nil { @@ -10412,6 +11847,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdResponseOutput) ToGo return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdResponse]{ + OutputState: o.OutputState, + } +} + // The ID of the project. func (o GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdResponseOutput) Project() pulumi.StringOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdResponse) string { return v.Project }).(pulumi.StringOutput) @@ -10461,6 +11902,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1RepoIdArgs) ToGoogleDevtoolsConta return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1RepoIdOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1RepoIdArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1RepoId] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1RepoId]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1RepoIdOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1RepoIdArgs) ToGoogleDevtoolsContaineranalysisV1alpha1RepoIdPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1RepoIdPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1RepoIdPtrOutputWithContext(context.Background()) } @@ -10502,6 +11949,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1RepoIdPtrType) ToGoogleDevtoolsC return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1RepoIdPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1RepoIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1RepoId] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1RepoId]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1RepoIdPtrOutputWithContext(ctx).OutputState, + } +} + // A unique identifier for a Cloud Repo. type GoogleDevtoolsContaineranalysisV1alpha1RepoIdOutput struct{ *pulumi.OutputState } @@ -10527,6 +11980,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1RepoIdOutput) ToGoogleDevtoolsCon }).(GoogleDevtoolsContaineranalysisV1alpha1RepoIdPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1RepoIdOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1RepoId] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1RepoId]{ + OutputState: o.OutputState, + } +} + // A combination of a project ID and a repo name. func (o GoogleDevtoolsContaineranalysisV1alpha1RepoIdOutput) ProjectRepoId() GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdPtrOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1RepoId) *GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId { @@ -10553,6 +12012,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1RepoIdPtrOutput) ToGoogleDevtools return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1RepoIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1RepoId] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1RepoId]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1RepoIdPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1RepoIdOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1RepoId) GoogleDevtoolsContaineranalysisV1alpha1RepoId { if v != nil { @@ -10606,6 +12071,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1RepoIdResponseOutput) ToGoogleDev return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1RepoIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1RepoIdResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1RepoIdResponse]{ + OutputState: o.OutputState, + } +} + // A combination of a project ID and a repo name. func (o GoogleDevtoolsContaineranalysisV1alpha1RepoIdResponseOutput) ProjectRepoId() GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdResponseOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1RepoIdResponse) GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdResponse { @@ -10653,6 +12124,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderA return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderArgs) ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderPtrOutputWithContext(context.Background()) } @@ -10694,6 +12171,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderPtrOutputWithContext(ctx).OutputState, + } +} + // Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. type GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderOutput struct{ *pulumi.OutputState } @@ -10719,6 +12202,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderO }).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder]{ + OutputState: o.OutputState, + } +} + // URI indicating the builder’s identity. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -10738,6 +12227,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderP return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder) GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilder { if v != nil { @@ -10777,6 +12272,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderR return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderResponse]{ + OutputState: o.OutputState, + } +} + // Indicates that the builder claims certain fields in this message to be complete. type GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness struct { // If true, the builder claims that invocation.environment is complete. @@ -10820,6 +12321,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaComplete return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessArgs) ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutputWithContext(context.Background()) } @@ -10861,6 +12368,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaComplet return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that the builder claims certain fields in this message to be complete. type GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessOutput struct{ *pulumi.OutputState } @@ -10886,6 +12399,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaComplete }).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness]{ + OutputState: o.OutputState, + } +} + // If true, the builder claims that invocation.environment is complete. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessOutput) Environment() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness) *bool { @@ -10921,6 +12440,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaComplete return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness) GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompleteness { if v != nil { @@ -10986,6 +12511,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaComplete return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessResponse]{ + OutputState: o.OutputState, + } +} + // If true, the builder claims that invocation.environment is complete. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessResponseOutput) Environment() pulumi.BoolOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessResponse) bool { @@ -11050,6 +12581,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSo return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceArgs) ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutputWithContext(context.Background()) } @@ -11091,6 +12628,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigS return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. type GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceOutput struct{ *pulumi.OutputState } @@ -11116,6 +12659,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSo }).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource]{ + OutputState: o.OutputState, + } +} + // Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource) map[string]string { @@ -11151,6 +12700,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSo return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource) GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource { if v != nil { @@ -11216,6 +12771,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSo return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse]{ + OutputState: o.OutputState, + } +} + // Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse) map[string]string { @@ -11280,6 +12841,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocati return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationArgs) ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationPtrOutputWithContext(context.Background()) } @@ -11321,6 +12888,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocat return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationPtrOutputWithContext(ctx).OutputState, + } +} + // Identifies the event that kicked off the build. type GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationOutput struct{ *pulumi.OutputState } @@ -11346,6 +12919,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocati }).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation]{ + OutputState: o.OutputState, + } +} + // Describes where the config file that kicked off the build came from. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationOutput) ConfigSource() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourcePtrOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation) *GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSource { @@ -11381,6 +12960,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocati return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation) GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocation { if v != nil { @@ -11446,6 +13031,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocati return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationResponse]{ + OutputState: o.OutputState, + } +} + // Describes where the config file that kicked off the build came from. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationResponseOutput) ConfigSource() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponseOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationResponse) GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceResponse { @@ -11506,6 +13097,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialOutputWithContext(ctx).OutputState, + } +} + // GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArrayInput is an input type that accepts GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArray and GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArrayOutput values. // You can construct a concrete instance of `GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArrayInput` via: // @@ -11531,6 +13128,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArrayOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial] { + return pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArrayOutputWithContext(ctx).OutputState, + } +} + // The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. type GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialOutput struct{ *pulumi.OutputState } @@ -11546,6 +13149,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial]{ + OutputState: o.OutputState, + } +} + // Collection of cryptographic digests for the contents of this artifact. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial) map[string]string { @@ -11572,6 +13181,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial] { + return pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArrayOutput) Index(i pulumi.IntInput) GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial { return vs[0].([]GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial)[vs[1].(int)] @@ -11601,6 +13216,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponse]{ + OutputState: o.OutputState, + } +} + // Collection of cryptographic digests for the contents of this artifact. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponse) map[string]string { @@ -11629,6 +13250,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterial return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponse] { + return pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponseArrayOutput) Index(i pulumi.IntInput) GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponse { return vs[0].([]GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialResponse)[vs[1].(int)] @@ -11686,6 +13313,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataArgs) ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataPtrOutputWithContext(context.Background()) } @@ -11727,6 +13360,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadat return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Other properties of the build. type GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataOutput struct{ *pulumi.OutputState } @@ -11752,6 +13391,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata }).(GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the build completed. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataOutput) BuildFinishedOn() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata) *string { @@ -11801,6 +13446,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata) GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata { if v != nil { @@ -11890,6 +13541,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadata return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the build completed. func (o GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataResponseOutput) BuildFinishedOn() pulumi.StringOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataResponse) string { @@ -11972,6 +13629,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs) ToGoogleDevtoo return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SourceContextOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SourceContext] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SourceContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SourceContextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs) ToGoogleDevtoolsContaineranalysisV1alpha1SourceContextPtrOutput() GoogleDevtoolsContaineranalysisV1alpha1SourceContextPtrOutput { return i.ToGoogleDevtoolsContaineranalysisV1alpha1SourceContextPtrOutputWithContext(context.Background()) } @@ -12013,6 +13676,12 @@ func (i *googleDevtoolsContaineranalysisV1alpha1SourceContextPtrType) ToGoogleDe return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SourceContextPtrOutput) } +func (i *googleDevtoolsContaineranalysisV1alpha1SourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SourceContext] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SourceContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleDevtoolsContaineranalysisV1alpha1SourceContextArrayInput is an input type that accepts GoogleDevtoolsContaineranalysisV1alpha1SourceContextArray and GoogleDevtoolsContaineranalysisV1alpha1SourceContextArrayOutput values. // You can construct a concrete instance of `GoogleDevtoolsContaineranalysisV1alpha1SourceContextArrayInput` via: // @@ -12038,6 +13707,12 @@ func (i GoogleDevtoolsContaineranalysisV1alpha1SourceContextArray) ToGoogleDevto return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsContaineranalysisV1alpha1SourceContextArrayOutput) } +func (i GoogleDevtoolsContaineranalysisV1alpha1SourceContextArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SourceContext] { + return pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SourceContext]{ + OutputState: i.ToGoogleDevtoolsContaineranalysisV1alpha1SourceContextArrayOutputWithContext(ctx).OutputState, + } +} + // A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory. type GoogleDevtoolsContaineranalysisV1alpha1SourceContextOutput struct{ *pulumi.OutputState } @@ -12063,6 +13738,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextOutput) ToGoogleDevt }).(GoogleDevtoolsContaineranalysisV1alpha1SourceContextPtrOutput) } +func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SourceContext] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SourceContext]{ + OutputState: o.OutputState, + } +} + // A SourceContext referring to a revision in a Google Cloud Source Repo. func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextOutput) CloudRepo() GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextPtrOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SourceContext) *GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext { @@ -12103,6 +13784,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextPtrOutput) ToGoogleD return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SourceContext] { + return pulumix.Output[*GoogleDevtoolsContaineranalysisV1alpha1SourceContext]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextPtrOutput) Elem() GoogleDevtoolsContaineranalysisV1alpha1SourceContextOutput { return o.ApplyT(func(v *GoogleDevtoolsContaineranalysisV1alpha1SourceContext) GoogleDevtoolsContaineranalysisV1alpha1SourceContext { if v != nil { @@ -12167,6 +13854,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextArrayOutput) ToGoogl return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SourceContext] { + return pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SourceContext]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextArrayOutput) Index(i pulumi.IntInput) GoogleDevtoolsContaineranalysisV1alpha1SourceContextOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleDevtoolsContaineranalysisV1alpha1SourceContext { return vs[0].([]GoogleDevtoolsContaineranalysisV1alpha1SourceContext)[vs[1].(int)] @@ -12200,6 +13893,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponseOutput) ToGo return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse] { + return pulumix.Output[GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse]{ + OutputState: o.OutputState, + } +} + // A SourceContext referring to a revision in a Google Cloud Source Repo. func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponseOutput) CloudRepo() GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextResponseOutput { return o.ApplyT(func(v GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse) GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextResponse { @@ -12242,6 +13941,12 @@ func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponseArrayOutput) return o } +func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse] { + return pulumix.Output[[]GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponseArrayOutput) Index(i pulumi.IntInput) GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse { return vs[0].([]GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse)[vs[1].(int)] @@ -12287,6 +13992,12 @@ func (i HashArgs) ToHashOutputWithContext(ctx context.Context) HashOutput { return pulumi.ToOutputWithContext(ctx, i).(HashOutput) } +func (i HashArgs) ToOutput(ctx context.Context) pulumix.Output[Hash] { + return pulumix.Output[Hash]{ + OutputState: i.ToHashOutputWithContext(ctx).OutputState, + } +} + func (i HashArgs) ToHashPtrOutput() HashPtrOutput { return i.ToHashPtrOutputWithContext(context.Background()) } @@ -12328,6 +14039,12 @@ func (i *hashPtrType) ToHashPtrOutputWithContext(ctx context.Context) HashPtrOut return pulumi.ToOutputWithContext(ctx, i).(HashPtrOutput) } +func (i *hashPtrType) ToOutput(ctx context.Context) pulumix.Output[*Hash] { + return pulumix.Output[*Hash]{ + OutputState: i.ToHashPtrOutputWithContext(ctx).OutputState, + } +} + // Container message for hash values. type HashOutput struct{ *pulumi.OutputState } @@ -12353,6 +14070,12 @@ func (o HashOutput) ToHashPtrOutputWithContext(ctx context.Context) HashPtrOutpu }).(HashPtrOutput) } +func (o HashOutput) ToOutput(ctx context.Context) pulumix.Output[Hash] { + return pulumix.Output[Hash]{ + OutputState: o.OutputState, + } +} + // The type of hash that was performed. func (o HashOutput) Type() HashTypePtrOutput { return o.ApplyT(func(v Hash) *HashType { return v.Type }).(HashTypePtrOutput) @@ -12377,6 +14100,12 @@ func (o HashPtrOutput) ToHashPtrOutputWithContext(ctx context.Context) HashPtrOu return o } +func (o HashPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Hash] { + return pulumix.Output[*Hash]{ + OutputState: o.OutputState, + } +} + func (o HashPtrOutput) Elem() HashOutput { return o.ApplyT(func(v *Hash) Hash { if v != nil { @@ -12430,6 +14159,12 @@ func (o HashResponseOutput) ToHashResponseOutputWithContext(ctx context.Context) return o } +func (o HashResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HashResponse] { + return pulumix.Output[HashResponse]{ + OutputState: o.OutputState, + } +} + // The type of hash that was performed. func (o HashResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v HashResponse) string { return v.Type }).(pulumi.StringOutput) @@ -12479,6 +14214,12 @@ func (i IdentifierHelperArgs) ToIdentifierHelperOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(IdentifierHelperOutput) } +func (i IdentifierHelperArgs) ToOutput(ctx context.Context) pulumix.Output[IdentifierHelper] { + return pulumix.Output[IdentifierHelper]{ + OutputState: i.ToIdentifierHelperOutputWithContext(ctx).OutputState, + } +} + func (i IdentifierHelperArgs) ToIdentifierHelperPtrOutput() IdentifierHelperPtrOutput { return i.ToIdentifierHelperPtrOutputWithContext(context.Background()) } @@ -12520,6 +14261,12 @@ func (i *identifierHelperPtrType) ToIdentifierHelperPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(IdentifierHelperPtrOutput) } +func (i *identifierHelperPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentifierHelper] { + return pulumix.Output[*IdentifierHelper]{ + OutputState: i.ToIdentifierHelperPtrOutputWithContext(ctx).OutputState, + } +} + // Helps in identifying the underlying product. This should be treated like a one-of field. Only one field should be set in this proto. This is a workaround because spanner indexes on one-of fields restrict addition and deletion of fields. type IdentifierHelperOutput struct{ *pulumi.OutputState } @@ -12545,6 +14292,12 @@ func (o IdentifierHelperOutput) ToIdentifierHelperPtrOutputWithContext(ctx conte }).(IdentifierHelperPtrOutput) } +func (o IdentifierHelperOutput) ToOutput(ctx context.Context) pulumix.Output[IdentifierHelper] { + return pulumix.Output[IdentifierHelper]{ + OutputState: o.OutputState, + } +} + // The field that is set in the API proto. func (o IdentifierHelperOutput) Field() IdentifierHelperFieldPtrOutput { return o.ApplyT(func(v IdentifierHelper) *IdentifierHelperField { return v.Field }).(IdentifierHelperFieldPtrOutput) @@ -12569,6 +14322,12 @@ func (o IdentifierHelperPtrOutput) ToIdentifierHelperPtrOutputWithContext(ctx co return o } +func (o IdentifierHelperPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentifierHelper] { + return pulumix.Output[*IdentifierHelper]{ + OutputState: o.OutputState, + } +} + func (o IdentifierHelperPtrOutput) Elem() IdentifierHelperOutput { return o.ApplyT(func(v *IdentifierHelper) IdentifierHelper { if v != nil { @@ -12622,6 +14381,12 @@ func (o IdentifierHelperResponseOutput) ToIdentifierHelperResponseOutputWithCont return o } +func (o IdentifierHelperResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentifierHelperResponse] { + return pulumix.Output[IdentifierHelperResponse]{ + OutputState: o.OutputState, + } +} + // The field that is set in the API proto. func (o IdentifierHelperResponseOutput) Field() pulumi.StringOutput { return o.ApplyT(func(v IdentifierHelperResponse) string { return v.Field }).(pulumi.StringOutput) @@ -12675,6 +14440,12 @@ func (i InTotoProvenanceArgs) ToInTotoProvenanceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(InTotoProvenanceOutput) } +func (i InTotoProvenanceArgs) ToOutput(ctx context.Context) pulumix.Output[InTotoProvenance] { + return pulumix.Output[InTotoProvenance]{ + OutputState: i.ToInTotoProvenanceOutputWithContext(ctx).OutputState, + } +} + func (i InTotoProvenanceArgs) ToInTotoProvenancePtrOutput() InTotoProvenancePtrOutput { return i.ToInTotoProvenancePtrOutputWithContext(context.Background()) } @@ -12716,6 +14487,12 @@ func (i *inTotoProvenancePtrType) ToInTotoProvenancePtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(InTotoProvenancePtrOutput) } +func (i *inTotoProvenancePtrType) ToOutput(ctx context.Context) pulumix.Output[*InTotoProvenance] { + return pulumix.Output[*InTotoProvenance]{ + OutputState: i.ToInTotoProvenancePtrOutputWithContext(ctx).OutputState, + } +} + type InTotoProvenanceOutput struct{ *pulumi.OutputState } func (InTotoProvenanceOutput) ElementType() reflect.Type { @@ -12740,6 +14517,12 @@ func (o InTotoProvenanceOutput) ToInTotoProvenancePtrOutputWithContext(ctx conte }).(InTotoProvenancePtrOutput) } +func (o InTotoProvenanceOutput) ToOutput(ctx context.Context) pulumix.Output[InTotoProvenance] { + return pulumix.Output[InTotoProvenance]{ + OutputState: o.OutputState, + } +} + // required func (o InTotoProvenanceOutput) BuilderConfig() BuilderConfigPtrOutput { return o.ApplyT(func(v InTotoProvenance) *BuilderConfig { return v.BuilderConfig }).(BuilderConfigPtrOutput) @@ -12773,6 +14556,12 @@ func (o InTotoProvenancePtrOutput) ToInTotoProvenancePtrOutputWithContext(ctx co return o } +func (o InTotoProvenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InTotoProvenance] { + return pulumix.Output[*InTotoProvenance]{ + OutputState: o.OutputState, + } +} + func (o InTotoProvenancePtrOutput) Elem() InTotoProvenanceOutput { return o.ApplyT(func(v *InTotoProvenance) InTotoProvenance { if v != nil { @@ -12846,6 +14635,12 @@ func (o InTotoProvenanceResponseOutput) ToInTotoProvenanceResponseOutputWithCont return o } +func (o InTotoProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InTotoProvenanceResponse] { + return pulumix.Output[InTotoProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // required func (o InTotoProvenanceResponseOutput) BuilderConfig() BuilderConfigResponseOutput { return o.ApplyT(func(v InTotoProvenanceResponse) BuilderConfigResponse { return v.BuilderConfig }).(BuilderConfigResponseOutput) @@ -12920,6 +14715,12 @@ func (i InTotoStatementArgs) ToInTotoStatementOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(InTotoStatementOutput) } +func (i InTotoStatementArgs) ToOutput(ctx context.Context) pulumix.Output[InTotoStatement] { + return pulumix.Output[InTotoStatement]{ + OutputState: i.ToInTotoStatementOutputWithContext(ctx).OutputState, + } +} + func (i InTotoStatementArgs) ToInTotoStatementPtrOutput() InTotoStatementPtrOutput { return i.ToInTotoStatementPtrOutputWithContext(context.Background()) } @@ -12961,6 +14762,12 @@ func (i *inTotoStatementPtrType) ToInTotoStatementPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(InTotoStatementPtrOutput) } +func (i *inTotoStatementPtrType) ToOutput(ctx context.Context) pulumix.Output[*InTotoStatement] { + return pulumix.Output[*InTotoStatement]{ + OutputState: i.ToInTotoStatementPtrOutputWithContext(ctx).OutputState, + } +} + // Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always "application/vnd.in-toto+json". type InTotoStatementOutput struct{ *pulumi.OutputState } @@ -12986,6 +14793,12 @@ func (o InTotoStatementOutput) ToInTotoStatementPtrOutputWithContext(ctx context }).(InTotoStatementPtrOutput) } +func (o InTotoStatementOutput) ToOutput(ctx context.Context) pulumix.Output[InTotoStatement] { + return pulumix.Output[InTotoStatement]{ + OutputState: o.OutputState, + } +} + // "https://slsa.dev/provenance/v0.1" for SlsaProvenance. func (o InTotoStatementOutput) PredicateType() pulumi.StringPtrOutput { return o.ApplyT(func(v InTotoStatement) *string { return v.PredicateType }).(pulumi.StringPtrOutput) @@ -13030,6 +14843,12 @@ func (o InTotoStatementPtrOutput) ToInTotoStatementPtrOutputWithContext(ctx cont return o } +func (o InTotoStatementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InTotoStatement] { + return pulumix.Output[*InTotoStatement]{ + OutputState: o.OutputState, + } +} + func (o InTotoStatementPtrOutput) Elem() InTotoStatementOutput { return o.ApplyT(func(v *InTotoStatement) InTotoStatement { if v != nil { @@ -13131,6 +14950,12 @@ func (o InTotoStatementResponseOutput) ToInTotoStatementResponseOutputWithContex return o } +func (o InTotoStatementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InTotoStatementResponse] { + return pulumix.Output[InTotoStatementResponse]{ + OutputState: o.OutputState, + } +} + // "https://slsa.dev/provenance/v0.1" for SlsaProvenance. func (o InTotoStatementResponseOutput) PredicateType() pulumi.StringOutput { return o.ApplyT(func(v InTotoStatementResponse) string { return v.PredicateType }).(pulumi.StringOutput) @@ -13200,6 +15025,12 @@ func (i InstallationArgs) ToInstallationOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(InstallationOutput) } +func (i InstallationArgs) ToOutput(ctx context.Context) pulumix.Output[Installation] { + return pulumix.Output[Installation]{ + OutputState: i.ToInstallationOutputWithContext(ctx).OutputState, + } +} + func (i InstallationArgs) ToInstallationPtrOutput() InstallationPtrOutput { return i.ToInstallationPtrOutputWithContext(context.Background()) } @@ -13241,6 +15072,12 @@ func (i *installationPtrType) ToInstallationPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstallationPtrOutput) } +func (i *installationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Installation] { + return pulumix.Output[*Installation]{ + OutputState: i.ToInstallationPtrOutputWithContext(ctx).OutputState, + } +} + // This represents how a particular software package may be installed on a system. type InstallationOutput struct{ *pulumi.OutputState } @@ -13266,6 +15103,12 @@ func (o InstallationOutput) ToInstallationPtrOutputWithContext(ctx context.Conte }).(InstallationPtrOutput) } +func (o InstallationOutput) ToOutput(ctx context.Context) pulumix.Output[Installation] { + return pulumix.Output[Installation]{ + OutputState: o.OutputState, + } +} + // Licenses that have been declared by the authors of the package. func (o InstallationOutput) License() LicensePtrOutput { return o.ApplyT(func(v Installation) *License { return v.License }).(LicensePtrOutput) @@ -13290,6 +15133,12 @@ func (o InstallationPtrOutput) ToInstallationPtrOutputWithContext(ctx context.Co return o } +func (o InstallationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Installation] { + return pulumix.Output[*Installation]{ + OutputState: o.OutputState, + } +} + func (o InstallationPtrOutput) Elem() InstallationOutput { return o.ApplyT(func(v *Installation) Installation { if v != nil { @@ -13353,6 +15202,12 @@ func (o InstallationResponseOutput) ToInstallationResponseOutputWithContext(ctx return o } +func (o InstallationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstallationResponse] { + return pulumix.Output[InstallationResponse]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. func (o InstallationResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v InstallationResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -13427,6 +15282,12 @@ func (i JustificationArgs) ToJustificationOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(JustificationOutput) } +func (i JustificationArgs) ToOutput(ctx context.Context) pulumix.Output[Justification] { + return pulumix.Output[Justification]{ + OutputState: i.ToJustificationOutputWithContext(ctx).OutputState, + } +} + func (i JustificationArgs) ToJustificationPtrOutput() JustificationPtrOutput { return i.ToJustificationPtrOutputWithContext(context.Background()) } @@ -13468,6 +15329,12 @@ func (i *justificationPtrType) ToJustificationPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(JustificationPtrOutput) } +func (i *justificationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Justification] { + return pulumix.Output[*Justification]{ + OutputState: i.ToJustificationPtrOutputWithContext(ctx).OutputState, + } +} + // Justification provides the justification when the state of the assessment if NOT_AFFECTED. type JustificationOutput struct{ *pulumi.OutputState } @@ -13493,6 +15360,12 @@ func (o JustificationOutput) ToJustificationPtrOutputWithContext(ctx context.Con }).(JustificationPtrOutput) } +func (o JustificationOutput) ToOutput(ctx context.Context) pulumix.Output[Justification] { + return pulumix.Output[Justification]{ + OutputState: o.OutputState, + } +} + // Additional details on why this justification was chosen. func (o JustificationOutput) Details() pulumi.StringPtrOutput { return o.ApplyT(func(v Justification) *string { return v.Details }).(pulumi.StringPtrOutput) @@ -13517,6 +15390,12 @@ func (o JustificationPtrOutput) ToJustificationPtrOutputWithContext(ctx context. return o } +func (o JustificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Justification] { + return pulumix.Output[*Justification]{ + OutputState: o.OutputState, + } +} + func (o JustificationPtrOutput) Elem() JustificationOutput { return o.ApplyT(func(v *Justification) Justification { if v != nil { @@ -13570,6 +15449,12 @@ func (o JustificationResponseOutput) ToJustificationResponseOutputWithContext(ct return o } +func (o JustificationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JustificationResponse] { + return pulumix.Output[JustificationResponse]{ + OutputState: o.OutputState, + } +} + // Additional details on why this justification was chosen. func (o JustificationResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v JustificationResponse) string { return v.Details }).(pulumi.StringOutput) @@ -13619,6 +15504,12 @@ func (i LayerArgs) ToLayerOutputWithContext(ctx context.Context) LayerOutput { return pulumi.ToOutputWithContext(ctx, i).(LayerOutput) } +func (i LayerArgs) ToOutput(ctx context.Context) pulumix.Output[Layer] { + return pulumix.Output[Layer]{ + OutputState: i.ToLayerOutputWithContext(ctx).OutputState, + } +} + // LayerArrayInput is an input type that accepts LayerArray and LayerArrayOutput values. // You can construct a concrete instance of `LayerArrayInput` via: // @@ -13644,6 +15535,12 @@ func (i LayerArray) ToLayerArrayOutputWithContext(ctx context.Context) LayerArra return pulumi.ToOutputWithContext(ctx, i).(LayerArrayOutput) } +func (i LayerArray) ToOutput(ctx context.Context) pulumix.Output[[]Layer] { + return pulumix.Output[[]Layer]{ + OutputState: i.ToLayerArrayOutputWithContext(ctx).OutputState, + } +} + // Layer holds metadata specific to a layer of a Docker image. type LayerOutput struct{ *pulumi.OutputState } @@ -13659,6 +15556,12 @@ func (o LayerOutput) ToLayerOutputWithContext(ctx context.Context) LayerOutput { return o } +func (o LayerOutput) ToOutput(ctx context.Context) pulumix.Output[Layer] { + return pulumix.Output[Layer]{ + OutputState: o.OutputState, + } +} + // The recovered arguments to the Dockerfile directive. func (o LayerOutput) Arguments() pulumi.StringPtrOutput { return o.ApplyT(func(v Layer) *string { return v.Arguments }).(pulumi.StringPtrOutput) @@ -13683,6 +15586,12 @@ func (o LayerArrayOutput) ToLayerArrayOutputWithContext(ctx context.Context) Lay return o } +func (o LayerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Layer] { + return pulumix.Output[[]Layer]{ + OutputState: o.OutputState, + } +} + func (o LayerArrayOutput) Index(i pulumi.IntInput) LayerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Layer { return vs[0].([]Layer)[vs[1].(int)] @@ -13712,6 +15621,12 @@ func (o LayerResponseOutput) ToLayerResponseOutputWithContext(ctx context.Contex return o } +func (o LayerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LayerResponse] { + return pulumix.Output[LayerResponse]{ + OutputState: o.OutputState, + } +} + // The recovered arguments to the Dockerfile directive. func (o LayerResponseOutput) Arguments() pulumi.StringOutput { return o.ApplyT(func(v LayerResponse) string { return v.Arguments }).(pulumi.StringOutput) @@ -13736,6 +15651,12 @@ func (o LayerResponseArrayOutput) ToLayerResponseArrayOutputWithContext(ctx cont return o } +func (o LayerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LayerResponse] { + return pulumix.Output[[]LayerResponse]{ + OutputState: o.OutputState, + } +} + func (o LayerResponseArrayOutput) Index(i pulumi.IntInput) LayerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LayerResponse { return vs[0].([]LayerResponse)[vs[1].(int)] @@ -13781,6 +15702,12 @@ func (i LicenseArgs) ToLicenseOutputWithContext(ctx context.Context) LicenseOutp return pulumi.ToOutputWithContext(ctx, i).(LicenseOutput) } +func (i LicenseArgs) ToOutput(ctx context.Context) pulumix.Output[License] { + return pulumix.Output[License]{ + OutputState: i.ToLicenseOutputWithContext(ctx).OutputState, + } +} + func (i LicenseArgs) ToLicensePtrOutput() LicensePtrOutput { return i.ToLicensePtrOutputWithContext(context.Background()) } @@ -13822,6 +15749,12 @@ func (i *licensePtrType) ToLicensePtrOutputWithContext(ctx context.Context) Lice return pulumi.ToOutputWithContext(ctx, i).(LicensePtrOutput) } +func (i *licensePtrType) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: i.ToLicensePtrOutputWithContext(ctx).OutputState, + } +} + // License information. type LicenseOutput struct{ *pulumi.OutputState } @@ -13847,6 +15780,12 @@ func (o LicenseOutput) ToLicensePtrOutputWithContext(ctx context.Context) Licens }).(LicensePtrOutput) } +func (o LicenseOutput) ToOutput(ctx context.Context) pulumix.Output[License] { + return pulumix.Output[License]{ + OutputState: o.OutputState, + } +} + // Comments func (o LicenseOutput) Comments() pulumi.StringPtrOutput { return o.ApplyT(func(v License) *string { return v.Comments }).(pulumi.StringPtrOutput) @@ -13871,6 +15810,12 @@ func (o LicensePtrOutput) ToLicensePtrOutputWithContext(ctx context.Context) Lic return o } +func (o LicensePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: o.OutputState, + } +} + func (o LicensePtrOutput) Elem() LicenseOutput { return o.ApplyT(func(v *License) License { if v != nil { @@ -13924,6 +15869,12 @@ func (o LicenseResponseOutput) ToLicenseResponseOutputWithContext(ctx context.Co return o } +func (o LicenseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResponse] { + return pulumix.Output[LicenseResponse]{ + OutputState: o.OutputState, + } +} + // Comments func (o LicenseResponseOutput) Comments() pulumi.StringOutput { return o.ApplyT(func(v LicenseResponse) string { return v.Comments }).(pulumi.StringOutput) @@ -13985,6 +15936,12 @@ func (i LocationArgs) ToLocationOutputWithContext(ctx context.Context) LocationO return pulumi.ToOutputWithContext(ctx, i).(LocationOutput) } +func (i LocationArgs) ToOutput(ctx context.Context) pulumix.Output[Location] { + return pulumix.Output[Location]{ + OutputState: i.ToLocationOutputWithContext(ctx).OutputState, + } +} + // LocationArrayInput is an input type that accepts LocationArray and LocationArrayOutput values. // You can construct a concrete instance of `LocationArrayInput` via: // @@ -14010,6 +15967,12 @@ func (i LocationArray) ToLocationArrayOutputWithContext(ctx context.Context) Loc return pulumi.ToOutputWithContext(ctx, i).(LocationArrayOutput) } +func (i LocationArray) ToOutput(ctx context.Context) pulumix.Output[[]Location] { + return pulumix.Output[[]Location]{ + OutputState: i.ToLocationArrayOutputWithContext(ctx).OutputState, + } +} + // An occurrence of a particular package installation found within a system's filesystem. e.g. glibc was found in /var/lib/dpkg/status type LocationOutput struct{ *pulumi.OutputState } @@ -14025,6 +15988,12 @@ func (o LocationOutput) ToLocationOutputWithContext(ctx context.Context) Locatio return o } +func (o LocationOutput) ToOutput(ctx context.Context) pulumix.Output[Location] { + return pulumix.Output[Location]{ + OutputState: o.OutputState, + } +} + // Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. // // Deprecated: Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. @@ -14058,6 +16027,12 @@ func (o LocationArrayOutput) ToLocationArrayOutputWithContext(ctx context.Contex return o } +func (o LocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Location] { + return pulumix.Output[[]Location]{ + OutputState: o.OutputState, + } +} + func (o LocationArrayOutput) Index(i pulumi.IntInput) LocationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Location { return vs[0].([]Location)[vs[1].(int)] @@ -14093,6 +16068,12 @@ func (o LocationResponseOutput) ToLocationResponseOutputWithContext(ctx context. return o } +func (o LocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocationResponse] { + return pulumix.Output[LocationResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. // // Deprecated: Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. @@ -14126,6 +16107,12 @@ func (o LocationResponseArrayOutput) ToLocationResponseArrayOutputWithContext(ct return o } +func (o LocationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocationResponse] { + return pulumix.Output[[]LocationResponse]{ + OutputState: o.OutputState, + } +} + func (o LocationResponseArrayOutput) Index(i pulumi.IntInput) LocationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocationResponse { return vs[0].([]LocationResponse)[vs[1].(int)] @@ -14171,6 +16158,12 @@ func (i MaterialArgs) ToMaterialOutputWithContext(ctx context.Context) MaterialO return pulumi.ToOutputWithContext(ctx, i).(MaterialOutput) } +func (i MaterialArgs) ToOutput(ctx context.Context) pulumix.Output[Material] { + return pulumix.Output[Material]{ + OutputState: i.ToMaterialOutputWithContext(ctx).OutputState, + } +} + // MaterialArrayInput is an input type that accepts MaterialArray and MaterialArrayOutput values. // You can construct a concrete instance of `MaterialArrayInput` via: // @@ -14196,6 +16189,12 @@ func (i MaterialArray) ToMaterialArrayOutputWithContext(ctx context.Context) Mat return pulumi.ToOutputWithContext(ctx, i).(MaterialArrayOutput) } +func (i MaterialArray) ToOutput(ctx context.Context) pulumix.Output[[]Material] { + return pulumix.Output[[]Material]{ + OutputState: i.ToMaterialArrayOutputWithContext(ctx).OutputState, + } +} + // Material is a material used in the generation of the provenance type MaterialOutput struct{ *pulumi.OutputState } @@ -14211,6 +16210,12 @@ func (o MaterialOutput) ToMaterialOutputWithContext(ctx context.Context) Materia return o } +func (o MaterialOutput) ToOutput(ctx context.Context) pulumix.Output[Material] { + return pulumix.Output[Material]{ + OutputState: o.OutputState, + } +} + // digest is a map from a hash algorithm (e.g. sha256) to the value in the material func (o MaterialOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v Material) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -14235,6 +16240,12 @@ func (o MaterialArrayOutput) ToMaterialArrayOutputWithContext(ctx context.Contex return o } +func (o MaterialArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Material] { + return pulumix.Output[[]Material]{ + OutputState: o.OutputState, + } +} + func (o MaterialArrayOutput) Index(i pulumi.IntInput) MaterialOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Material { return vs[0].([]Material)[vs[1].(int)] @@ -14264,6 +16275,12 @@ func (o MaterialResponseOutput) ToMaterialResponseOutputWithContext(ctx context. return o } +func (o MaterialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaterialResponse] { + return pulumix.Output[MaterialResponse]{ + OutputState: o.OutputState, + } +} + // digest is a map from a hash algorithm (e.g. sha256) to the value in the material func (o MaterialResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v MaterialResponse) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -14288,6 +16305,12 @@ func (o MaterialResponseArrayOutput) ToMaterialResponseArrayOutputWithContext(ct return o } +func (o MaterialResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MaterialResponse] { + return pulumix.Output[[]MaterialResponse]{ + OutputState: o.OutputState, + } +} + func (o MaterialResponseArrayOutput) Index(i pulumi.IntInput) MaterialResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MaterialResponse { return vs[0].([]MaterialResponse)[vs[1].(int)] @@ -14345,6 +16368,12 @@ func (i MetadataArgs) ToMetadataOutputWithContext(ctx context.Context) MetadataO return pulumi.ToOutputWithContext(ctx, i).(MetadataOutput) } +func (i MetadataArgs) ToOutput(ctx context.Context) pulumix.Output[Metadata] { + return pulumix.Output[Metadata]{ + OutputState: i.ToMetadataOutputWithContext(ctx).OutputState, + } +} + func (i MetadataArgs) ToMetadataPtrOutput() MetadataPtrOutput { return i.ToMetadataPtrOutputWithContext(context.Background()) } @@ -14386,6 +16415,12 @@ func (i *metadataPtrType) ToMetadataPtrOutputWithContext(ctx context.Context) Me return pulumi.ToOutputWithContext(ctx, i).(MetadataPtrOutput) } +func (i *metadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*Metadata] { + return pulumix.Output[*Metadata]{ + OutputState: i.ToMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Other properties of the build. type MetadataOutput struct{ *pulumi.OutputState } @@ -14411,6 +16446,12 @@ func (o MetadataOutput) ToMetadataPtrOutputWithContext(ctx context.Context) Meta }).(MetadataPtrOutput) } +func (o MetadataOutput) ToOutput(ctx context.Context) pulumix.Output[Metadata] { + return pulumix.Output[Metadata]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the build completed. func (o MetadataOutput) BuildFinishedOn() pulumi.StringPtrOutput { return o.ApplyT(func(v Metadata) *string { return v.BuildFinishedOn }).(pulumi.StringPtrOutput) @@ -14450,6 +16491,12 @@ func (o MetadataPtrOutput) ToMetadataPtrOutputWithContext(ctx context.Context) M return o } +func (o MetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Metadata] { + return pulumix.Output[*Metadata]{ + OutputState: o.OutputState, + } +} + func (o MetadataPtrOutput) Elem() MetadataOutput { return o.ApplyT(func(v *Metadata) Metadata { if v != nil { @@ -14539,6 +16586,12 @@ func (o MetadataResponseOutput) ToMetadataResponseOutputWithContext(ctx context. return o } +func (o MetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataResponse] { + return pulumix.Output[MetadataResponse]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the build completed. func (o MetadataResponseOutput) BuildFinishedOn() pulumi.StringOutput { return o.ApplyT(func(v MetadataResponse) string { return v.BuildFinishedOn }).(pulumi.StringOutput) @@ -14607,6 +16660,12 @@ func (i NonCompliantFileArgs) ToNonCompliantFileOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NonCompliantFileOutput) } +func (i NonCompliantFileArgs) ToOutput(ctx context.Context) pulumix.Output[NonCompliantFile] { + return pulumix.Output[NonCompliantFile]{ + OutputState: i.ToNonCompliantFileOutputWithContext(ctx).OutputState, + } +} + // NonCompliantFileArrayInput is an input type that accepts NonCompliantFileArray and NonCompliantFileArrayOutput values. // You can construct a concrete instance of `NonCompliantFileArrayInput` via: // @@ -14632,6 +16691,12 @@ func (i NonCompliantFileArray) ToNonCompliantFileArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NonCompliantFileArrayOutput) } +func (i NonCompliantFileArray) ToOutput(ctx context.Context) pulumix.Output[[]NonCompliantFile] { + return pulumix.Output[[]NonCompliantFile]{ + OutputState: i.ToNonCompliantFileArrayOutputWithContext(ctx).OutputState, + } +} + // Details about files that caused a compliance check to fail. type NonCompliantFileOutput struct{ *pulumi.OutputState } @@ -14647,6 +16712,12 @@ func (o NonCompliantFileOutput) ToNonCompliantFileOutputWithContext(ctx context. return o } +func (o NonCompliantFileOutput) ToOutput(ctx context.Context) pulumix.Output[NonCompliantFile] { + return pulumix.Output[NonCompliantFile]{ + OutputState: o.OutputState, + } +} + // Command to display the non-compliant files. func (o NonCompliantFileOutput) DisplayCommand() pulumi.StringPtrOutput { return o.ApplyT(func(v NonCompliantFile) *string { return v.DisplayCommand }).(pulumi.StringPtrOutput) @@ -14676,6 +16747,12 @@ func (o NonCompliantFileArrayOutput) ToNonCompliantFileArrayOutputWithContext(ct return o } +func (o NonCompliantFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NonCompliantFile] { + return pulumix.Output[[]NonCompliantFile]{ + OutputState: o.OutputState, + } +} + func (o NonCompliantFileArrayOutput) Index(i pulumi.IntInput) NonCompliantFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NonCompliantFile { return vs[0].([]NonCompliantFile)[vs[1].(int)] @@ -14707,6 +16784,12 @@ func (o NonCompliantFileResponseOutput) ToNonCompliantFileResponseOutputWithCont return o } +func (o NonCompliantFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NonCompliantFileResponse] { + return pulumix.Output[NonCompliantFileResponse]{ + OutputState: o.OutputState, + } +} + // Command to display the non-compliant files. func (o NonCompliantFileResponseOutput) DisplayCommand() pulumi.StringOutput { return o.ApplyT(func(v NonCompliantFileResponse) string { return v.DisplayCommand }).(pulumi.StringOutput) @@ -14736,6 +16819,12 @@ func (o NonCompliantFileResponseArrayOutput) ToNonCompliantFileResponseArrayOutp return o } +func (o NonCompliantFileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NonCompliantFileResponse] { + return pulumix.Output[[]NonCompliantFileResponse]{ + OutputState: o.OutputState, + } +} + func (o NonCompliantFileResponseArrayOutput) Index(i pulumi.IntInput) NonCompliantFileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NonCompliantFileResponse { return vs[0].([]NonCompliantFileResponse)[vs[1].(int)] @@ -14771,6 +16860,12 @@ func (o OperationResponseOutput) ToOperationResponseOutputWithContext(ctx contex return o } +func (o OperationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationResponse] { + return pulumix.Output[OperationResponse]{ + OutputState: o.OutputState, + } +} + // If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. func (o OperationResponseOutput) Done() pulumi.BoolOutput { return o.ApplyT(func(v OperationResponse) bool { return v.Done }).(pulumi.BoolOutput) @@ -14871,6 +16966,12 @@ func (i PackageArgs) ToPackageOutputWithContext(ctx context.Context) PackageOutp return pulumi.ToOutputWithContext(ctx, i).(PackageOutput) } +func (i PackageArgs) ToOutput(ctx context.Context) pulumix.Output[Package] { + return pulumix.Output[Package]{ + OutputState: i.ToPackageOutputWithContext(ctx).OutputState, + } +} + func (i PackageArgs) ToPackagePtrOutput() PackagePtrOutput { return i.ToPackagePtrOutputWithContext(context.Background()) } @@ -14912,6 +17013,12 @@ func (i *packagePtrType) ToPackagePtrOutputWithContext(ctx context.Context) Pack return pulumi.ToOutputWithContext(ctx, i).(PackagePtrOutput) } +func (i *packagePtrType) ToOutput(ctx context.Context) pulumix.Output[*Package] { + return pulumix.Output[*Package]{ + OutputState: i.ToPackagePtrOutputWithContext(ctx).OutputState, + } +} + // This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions. type PackageOutput struct{ *pulumi.OutputState } @@ -14937,6 +17044,12 @@ func (o PackageOutput) ToPackagePtrOutputWithContext(ctx context.Context) Packag }).(PackagePtrOutput) } +func (o PackageOutput) ToOutput(ctx context.Context) pulumix.Output[Package] { + return pulumix.Output[Package]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. func (o PackageOutput) Architecture() PackageArchitecturePtrOutput { return o.ApplyT(func(v Package) *PackageArchitecture { return v.Architecture }).(PackageArchitecturePtrOutput) @@ -15006,6 +17119,12 @@ func (o PackagePtrOutput) ToPackagePtrOutputWithContext(ctx context.Context) Pac return o } +func (o PackagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Package] { + return pulumix.Output[*Package]{ + OutputState: o.OutputState, + } +} + func (o PackagePtrOutput) Elem() PackageOutput { return o.ApplyT(func(v *Package) Package { if v != nil { @@ -15225,6 +17344,12 @@ func (i PackageInfoNoteArgs) ToPackageInfoNoteOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PackageInfoNoteOutput) } +func (i PackageInfoNoteArgs) ToOutput(ctx context.Context) pulumix.Output[PackageInfoNote] { + return pulumix.Output[PackageInfoNote]{ + OutputState: i.ToPackageInfoNoteOutputWithContext(ctx).OutputState, + } +} + func (i PackageInfoNoteArgs) ToPackageInfoNotePtrOutput() PackageInfoNotePtrOutput { return i.ToPackageInfoNotePtrOutputWithContext(context.Background()) } @@ -15266,6 +17391,12 @@ func (i *packageInfoNotePtrType) ToPackageInfoNotePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(PackageInfoNotePtrOutput) } +func (i *packageInfoNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*PackageInfoNote] { + return pulumix.Output[*PackageInfoNote]{ + OutputState: i.ToPackageInfoNotePtrOutputWithContext(ctx).OutputState, + } +} + // PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ type PackageInfoNoteOutput struct{ *pulumi.OutputState } @@ -15291,6 +17422,12 @@ func (o PackageInfoNoteOutput) ToPackageInfoNotePtrOutputWithContext(ctx context }).(PackageInfoNotePtrOutput) } +func (o PackageInfoNoteOutput) ToOutput(ctx context.Context) pulumix.Output[PackageInfoNote] { + return pulumix.Output[PackageInfoNote]{ + OutputState: o.OutputState, + } +} + // Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document func (o PackageInfoNoteOutput) Analyzed() pulumi.BoolPtrOutput { return o.ApplyT(func(v PackageInfoNote) *bool { return v.Analyzed }).(pulumi.BoolPtrOutput) @@ -15390,6 +17527,12 @@ func (o PackageInfoNotePtrOutput) ToPackageInfoNotePtrOutputWithContext(ctx cont return o } +func (o PackageInfoNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageInfoNote] { + return pulumix.Output[*PackageInfoNote]{ + OutputState: o.OutputState, + } +} + func (o PackageInfoNotePtrOutput) Elem() PackageInfoNoteOutput { return o.ApplyT(func(v *PackageInfoNote) PackageInfoNote { if v != nil { @@ -15623,6 +17766,12 @@ func (o PackageInfoNoteResponseOutput) ToPackageInfoNoteResponseOutputWithContex return o } +func (o PackageInfoNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageInfoNoteResponse] { + return pulumix.Output[PackageInfoNoteResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document func (o PackageInfoNoteResponseOutput) Analyzed() pulumi.BoolOutput { return o.ApplyT(func(v PackageInfoNoteResponse) bool { return v.Analyzed }).(pulumi.BoolOutput) @@ -15759,6 +17908,12 @@ func (i PackageInfoOccurrenceArgs) ToPackageInfoOccurrenceOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(PackageInfoOccurrenceOutput) } +func (i PackageInfoOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[PackageInfoOccurrence] { + return pulumix.Output[PackageInfoOccurrence]{ + OutputState: i.ToPackageInfoOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i PackageInfoOccurrenceArgs) ToPackageInfoOccurrencePtrOutput() PackageInfoOccurrencePtrOutput { return i.ToPackageInfoOccurrencePtrOutputWithContext(context.Background()) } @@ -15800,6 +17955,12 @@ func (i *packageInfoOccurrencePtrType) ToPackageInfoOccurrencePtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(PackageInfoOccurrencePtrOutput) } +func (i *packageInfoOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*PackageInfoOccurrence] { + return pulumix.Output[*PackageInfoOccurrence]{ + OutputState: i.ToPackageInfoOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ type PackageInfoOccurrenceOutput struct{ *pulumi.OutputState } @@ -15825,6 +17986,12 @@ func (o PackageInfoOccurrenceOutput) ToPackageInfoOccurrencePtrOutputWithContext }).(PackageInfoOccurrencePtrOutput) } +func (o PackageInfoOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[PackageInfoOccurrence] { + return pulumix.Output[PackageInfoOccurrence]{ + OutputState: o.OutputState, + } +} + // A place for the SPDX file creator to record any general comments about the package being described func (o PackageInfoOccurrenceOutput) Comment() pulumi.StringPtrOutput { return o.ApplyT(func(v PackageInfoOccurrence) *string { return v.Comment }).(pulumi.StringPtrOutput) @@ -15864,6 +18031,12 @@ func (o PackageInfoOccurrencePtrOutput) ToPackageInfoOccurrencePtrOutputWithCont return o } +func (o PackageInfoOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageInfoOccurrence] { + return pulumix.Output[*PackageInfoOccurrence]{ + OutputState: o.OutputState, + } +} + func (o PackageInfoOccurrencePtrOutput) Elem() PackageInfoOccurrenceOutput { return o.ApplyT(func(v *PackageInfoOccurrence) PackageInfoOccurrence { if v != nil { @@ -15961,6 +18134,12 @@ func (o PackageInfoOccurrenceResponseOutput) ToPackageInfoOccurrenceResponseOutp return o } +func (o PackageInfoOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageInfoOccurrenceResponse] { + return pulumix.Output[PackageInfoOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // A place for the SPDX file creator to record any general comments about the package being described func (o PackageInfoOccurrenceResponseOutput) Comment() pulumi.StringOutput { return o.ApplyT(func(v PackageInfoOccurrenceResponse) string { return v.Comment }).(pulumi.StringOutput) @@ -16051,6 +18230,12 @@ func (i PackageIssueArgs) ToPackageIssueOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PackageIssueOutput) } +func (i PackageIssueArgs) ToOutput(ctx context.Context) pulumix.Output[PackageIssue] { + return pulumix.Output[PackageIssue]{ + OutputState: i.ToPackageIssueOutputWithContext(ctx).OutputState, + } +} + // PackageIssueArrayInput is an input type that accepts PackageIssueArray and PackageIssueArrayOutput values. // You can construct a concrete instance of `PackageIssueArrayInput` via: // @@ -16076,6 +18261,12 @@ func (i PackageIssueArray) ToPackageIssueArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PackageIssueArrayOutput) } +func (i PackageIssueArray) ToOutput(ctx context.Context) pulumix.Output[[]PackageIssue] { + return pulumix.Output[[]PackageIssue]{ + OutputState: i.ToPackageIssueArrayOutputWithContext(ctx).OutputState, + } +} + // This message wraps a location affected by a vulnerability and its associated fix (if one is available). type PackageIssueOutput struct{ *pulumi.OutputState } @@ -16091,6 +18282,12 @@ func (o PackageIssueOutput) ToPackageIssueOutputWithContext(ctx context.Context) return o } +func (o PackageIssueOutput) ToOutput(ctx context.Context) pulumix.Output[PackageIssue] { + return pulumix.Output[PackageIssue]{ + OutputState: o.OutputState, + } +} + // The location of the vulnerability. func (o PackageIssueOutput) AffectedLocation() VulnerabilityLocationPtrOutput { return o.ApplyT(func(v PackageIssue) *VulnerabilityLocation { return v.AffectedLocation }).(VulnerabilityLocationPtrOutput) @@ -16124,6 +18321,12 @@ func (o PackageIssueArrayOutput) ToPackageIssueArrayOutputWithContext(ctx contex return o } +func (o PackageIssueArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PackageIssue] { + return pulumix.Output[[]PackageIssue]{ + OutputState: o.OutputState, + } +} + func (o PackageIssueArrayOutput) Index(i pulumi.IntInput) PackageIssueOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PackageIssue { return vs[0].([]PackageIssue)[vs[1].(int)] @@ -16158,6 +18361,12 @@ func (o PackageIssueResponseOutput) ToPackageIssueResponseOutputWithContext(ctx return o } +func (o PackageIssueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageIssueResponse] { + return pulumix.Output[PackageIssueResponse]{ + OutputState: o.OutputState, + } +} + // The location of the vulnerability. func (o PackageIssueResponseOutput) AffectedLocation() VulnerabilityLocationResponseOutput { return o.ApplyT(func(v PackageIssueResponse) VulnerabilityLocationResponse { return v.AffectedLocation }).(VulnerabilityLocationResponseOutput) @@ -16196,6 +18405,12 @@ func (o PackageIssueResponseArrayOutput) ToPackageIssueResponseArrayOutputWithCo return o } +func (o PackageIssueResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PackageIssueResponse] { + return pulumix.Output[[]PackageIssueResponse]{ + OutputState: o.OutputState, + } +} + func (o PackageIssueResponseArrayOutput) Index(i pulumi.IntInput) PackageIssueResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PackageIssueResponse { return vs[0].([]PackageIssueResponse)[vs[1].(int)] @@ -16243,6 +18458,12 @@ func (o PackageResponseOutput) ToPackageResponseOutputWithContext(ctx context.Co return o } +func (o PackageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageResponse] { + return pulumix.Output[PackageResponse]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. func (o PackageResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v PackageResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -16341,6 +18562,12 @@ func (i PgpSignedAttestationArgs) ToPgpSignedAttestationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PgpSignedAttestationOutput) } +func (i PgpSignedAttestationArgs) ToOutput(ctx context.Context) pulumix.Output[PgpSignedAttestation] { + return pulumix.Output[PgpSignedAttestation]{ + OutputState: i.ToPgpSignedAttestationOutputWithContext(ctx).OutputState, + } +} + func (i PgpSignedAttestationArgs) ToPgpSignedAttestationPtrOutput() PgpSignedAttestationPtrOutput { return i.ToPgpSignedAttestationPtrOutputWithContext(context.Background()) } @@ -16382,6 +18609,12 @@ func (i *pgpSignedAttestationPtrType) ToPgpSignedAttestationPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PgpSignedAttestationPtrOutput) } +func (i *pgpSignedAttestationPtrType) ToOutput(ctx context.Context) pulumix.Output[*PgpSignedAttestation] { + return pulumix.Output[*PgpSignedAttestation]{ + OutputState: i.ToPgpSignedAttestationPtrOutputWithContext(ctx).OutputState, + } +} + // An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file. type PgpSignedAttestationOutput struct{ *pulumi.OutputState } @@ -16407,6 +18640,12 @@ func (o PgpSignedAttestationOutput) ToPgpSignedAttestationPtrOutputWithContext(c }).(PgpSignedAttestationPtrOutput) } +func (o PgpSignedAttestationOutput) ToOutput(ctx context.Context) pulumix.Output[PgpSignedAttestation] { + return pulumix.Output[PgpSignedAttestation]{ + OutputState: o.OutputState, + } +} + // Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). func (o PgpSignedAttestationOutput) ContentType() PgpSignedAttestationContentTypePtrOutput { return o.ApplyT(func(v PgpSignedAttestation) *PgpSignedAttestationContentType { return v.ContentType }).(PgpSignedAttestationContentTypePtrOutput) @@ -16436,6 +18675,12 @@ func (o PgpSignedAttestationPtrOutput) ToPgpSignedAttestationPtrOutputWithContex return o } +func (o PgpSignedAttestationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PgpSignedAttestation] { + return pulumix.Output[*PgpSignedAttestation]{ + OutputState: o.OutputState, + } +} + func (o PgpSignedAttestationPtrOutput) Elem() PgpSignedAttestationOutput { return o.ApplyT(func(v *PgpSignedAttestation) PgpSignedAttestation { if v != nil { @@ -16501,6 +18746,12 @@ func (o PgpSignedAttestationResponseOutput) ToPgpSignedAttestationResponseOutput return o } +func (o PgpSignedAttestationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PgpSignedAttestationResponse] { + return pulumix.Output[PgpSignedAttestationResponse]{ + OutputState: o.OutputState, + } +} + // Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). func (o PgpSignedAttestationResponseOutput) ContentType() pulumi.StringOutput { return o.ApplyT(func(v PgpSignedAttestationResponse) string { return v.ContentType }).(pulumi.StringOutput) @@ -16559,6 +18810,12 @@ func (i ProductArgs) ToProductOutputWithContext(ctx context.Context) ProductOutp return pulumi.ToOutputWithContext(ctx, i).(ProductOutput) } +func (i ProductArgs) ToOutput(ctx context.Context) pulumix.Output[Product] { + return pulumix.Output[Product]{ + OutputState: i.ToProductOutputWithContext(ctx).OutputState, + } +} + func (i ProductArgs) ToProductPtrOutput() ProductPtrOutput { return i.ToProductPtrOutputWithContext(context.Background()) } @@ -16600,6 +18857,12 @@ func (i *productPtrType) ToProductPtrOutputWithContext(ctx context.Context) Prod return pulumi.ToOutputWithContext(ctx, i).(ProductPtrOutput) } +func (i *productPtrType) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: i.ToProductPtrOutputWithContext(ctx).OutputState, + } +} + // Product contains information about a product and how to uniquely identify it. type ProductOutput struct{ *pulumi.OutputState } @@ -16625,6 +18888,12 @@ func (o ProductOutput) ToProductPtrOutputWithContext(ctx context.Context) Produc }).(ProductPtrOutput) } +func (o ProductOutput) ToOutput(ctx context.Context) pulumix.Output[Product] { + return pulumix.Output[Product]{ + OutputState: o.OutputState, + } +} + // Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document. func (o ProductOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v Product) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -16654,6 +18923,12 @@ func (o ProductPtrOutput) ToProductPtrOutputWithContext(ctx context.Context) Pro return o } +func (o ProductPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: o.OutputState, + } +} + func (o ProductPtrOutput) Elem() ProductOutput { return o.ApplyT(func(v *Product) Product { if v != nil { @@ -16717,6 +18992,12 @@ func (o ProductResponseOutput) ToProductResponseOutputWithContext(ctx context.Co return o } +func (o ProductResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProductResponse] { + return pulumix.Output[ProductResponse]{ + OutputState: o.OutputState, + } +} + // Helps in identifying the underlying product. func (o ProductResponseOutput) IdentifierHelper() IdentifierHelperResponseOutput { return o.ApplyT(func(v ProductResponse) IdentifierHelperResponse { return v.IdentifierHelper }).(IdentifierHelperResponseOutput) @@ -16770,6 +19051,12 @@ func (i PublisherArgs) ToPublisherOutputWithContext(ctx context.Context) Publish return pulumi.ToOutputWithContext(ctx, i).(PublisherOutput) } +func (i PublisherArgs) ToOutput(ctx context.Context) pulumix.Output[Publisher] { + return pulumix.Output[Publisher]{ + OutputState: i.ToPublisherOutputWithContext(ctx).OutputState, + } +} + func (i PublisherArgs) ToPublisherPtrOutput() PublisherPtrOutput { return i.ToPublisherPtrOutputWithContext(context.Background()) } @@ -16811,6 +19098,12 @@ func (i *publisherPtrType) ToPublisherPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PublisherPtrOutput) } +func (i *publisherPtrType) ToOutput(ctx context.Context) pulumix.Output[*Publisher] { + return pulumix.Output[*Publisher]{ + OutputState: i.ToPublisherPtrOutputWithContext(ctx).OutputState, + } +} + // Publisher contains information about the publisher of this Note. type PublisherOutput struct{ *pulumi.OutputState } @@ -16836,6 +19129,12 @@ func (o PublisherOutput) ToPublisherPtrOutputWithContext(ctx context.Context) Pu }).(PublisherPtrOutput) } +func (o PublisherOutput) ToOutput(ctx context.Context) pulumix.Output[Publisher] { + return pulumix.Output[Publisher]{ + OutputState: o.OutputState, + } +} + // Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations. func (o PublisherOutput) IssuingAuthority() pulumi.StringPtrOutput { return o.ApplyT(func(v Publisher) *string { return v.IssuingAuthority }).(pulumi.StringPtrOutput) @@ -16865,6 +19164,12 @@ func (o PublisherPtrOutput) ToPublisherPtrOutputWithContext(ctx context.Context) return o } +func (o PublisherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Publisher] { + return pulumix.Output[*Publisher]{ + OutputState: o.OutputState, + } +} + func (o PublisherPtrOutput) Elem() PublisherOutput { return o.ApplyT(func(v *Publisher) Publisher { if v != nil { @@ -16930,6 +19235,12 @@ func (o PublisherResponseOutput) ToPublisherResponseOutputWithContext(ctx contex return o } +func (o PublisherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublisherResponse] { + return pulumix.Output[PublisherResponse]{ + OutputState: o.OutputState, + } +} + // Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations. func (o PublisherResponseOutput) IssuingAuthority() pulumi.StringOutput { return o.ApplyT(func(v PublisherResponse) string { return v.IssuingAuthority }).(pulumi.StringOutput) @@ -16996,6 +19307,12 @@ func (i RecipeArgs) ToRecipeOutputWithContext(ctx context.Context) RecipeOutput return pulumi.ToOutputWithContext(ctx, i).(RecipeOutput) } +func (i RecipeArgs) ToOutput(ctx context.Context) pulumix.Output[Recipe] { + return pulumix.Output[Recipe]{ + OutputState: i.ToRecipeOutputWithContext(ctx).OutputState, + } +} + func (i RecipeArgs) ToRecipePtrOutput() RecipePtrOutput { return i.ToRecipePtrOutputWithContext(context.Background()) } @@ -17037,6 +19354,12 @@ func (i *recipePtrType) ToRecipePtrOutputWithContext(ctx context.Context) Recipe return pulumi.ToOutputWithContext(ctx, i).(RecipePtrOutput) } +func (i *recipePtrType) ToOutput(ctx context.Context) pulumix.Output[*Recipe] { + return pulumix.Output[*Recipe]{ + OutputState: i.ToRecipePtrOutputWithContext(ctx).OutputState, + } +} + // Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. type RecipeOutput struct{ *pulumi.OutputState } @@ -17062,6 +19385,12 @@ func (o RecipeOutput) ToRecipePtrOutputWithContext(ctx context.Context) RecipePt }).(RecipePtrOutput) } +func (o RecipeOutput) ToOutput(ctx context.Context) pulumix.Output[Recipe] { + return pulumix.Output[Recipe]{ + OutputState: o.OutputState, + } +} + // Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. func (o RecipeOutput) Arguments() pulumi.StringMapArrayOutput { return o.ApplyT(func(v Recipe) []map[string]string { return v.Arguments }).(pulumi.StringMapArrayOutput) @@ -17101,6 +19430,12 @@ func (o RecipePtrOutput) ToRecipePtrOutputWithContext(ctx context.Context) Recip return o } +func (o RecipePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Recipe] { + return pulumix.Output[*Recipe]{ + OutputState: o.OutputState, + } +} + func (o RecipePtrOutput) Elem() RecipeOutput { return o.ApplyT(func(v *Recipe) Recipe { if v != nil { @@ -17190,6 +19525,12 @@ func (o RecipeResponseOutput) ToRecipeResponseOutputWithContext(ctx context.Cont return o } +func (o RecipeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RecipeResponse] { + return pulumix.Output[RecipeResponse]{ + OutputState: o.OutputState, + } +} + // Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. func (o RecipeResponseOutput) Arguments() pulumi.StringMapArrayOutput { return o.ApplyT(func(v RecipeResponse) []map[string]string { return v.Arguments }).(pulumi.StringMapArrayOutput) @@ -17254,6 +19595,12 @@ func (i RelatedUrlArgs) ToRelatedUrlOutputWithContext(ctx context.Context) Relat return pulumi.ToOutputWithContext(ctx, i).(RelatedUrlOutput) } +func (i RelatedUrlArgs) ToOutput(ctx context.Context) pulumix.Output[RelatedUrl] { + return pulumix.Output[RelatedUrl]{ + OutputState: i.ToRelatedUrlOutputWithContext(ctx).OutputState, + } +} + // RelatedUrlArrayInput is an input type that accepts RelatedUrlArray and RelatedUrlArrayOutput values. // You can construct a concrete instance of `RelatedUrlArrayInput` via: // @@ -17279,6 +19626,12 @@ func (i RelatedUrlArray) ToRelatedUrlArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RelatedUrlArrayOutput) } +func (i RelatedUrlArray) ToOutput(ctx context.Context) pulumix.Output[[]RelatedUrl] { + return pulumix.Output[[]RelatedUrl]{ + OutputState: i.ToRelatedUrlArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata for any related URL information type RelatedUrlOutput struct{ *pulumi.OutputState } @@ -17294,6 +19647,12 @@ func (o RelatedUrlOutput) ToRelatedUrlOutputWithContext(ctx context.Context) Rel return o } +func (o RelatedUrlOutput) ToOutput(ctx context.Context) pulumix.Output[RelatedUrl] { + return pulumix.Output[RelatedUrl]{ + OutputState: o.OutputState, + } +} + // Label to describe usage of the URL func (o RelatedUrlOutput) Label() pulumi.StringPtrOutput { return o.ApplyT(func(v RelatedUrl) *string { return v.Label }).(pulumi.StringPtrOutput) @@ -17318,6 +19677,12 @@ func (o RelatedUrlArrayOutput) ToRelatedUrlArrayOutputWithContext(ctx context.Co return o } +func (o RelatedUrlArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RelatedUrl] { + return pulumix.Output[[]RelatedUrl]{ + OutputState: o.OutputState, + } +} + func (o RelatedUrlArrayOutput) Index(i pulumi.IntInput) RelatedUrlOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RelatedUrl { return vs[0].([]RelatedUrl)[vs[1].(int)] @@ -17347,6 +19712,12 @@ func (o RelatedUrlResponseOutput) ToRelatedUrlResponseOutputWithContext(ctx cont return o } +func (o RelatedUrlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RelatedUrlResponse] { + return pulumix.Output[RelatedUrlResponse]{ + OutputState: o.OutputState, + } +} + // Label to describe usage of the URL func (o RelatedUrlResponseOutput) Label() pulumi.StringOutput { return o.ApplyT(func(v RelatedUrlResponse) string { return v.Label }).(pulumi.StringOutput) @@ -17371,6 +19742,12 @@ func (o RelatedUrlResponseArrayOutput) ToRelatedUrlResponseArrayOutputWithContex return o } +func (o RelatedUrlResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RelatedUrlResponse] { + return pulumix.Output[[]RelatedUrlResponse]{ + OutputState: o.OutputState, + } +} + func (o RelatedUrlResponseArrayOutput) Index(i pulumi.IntInput) RelatedUrlResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RelatedUrlResponse { return vs[0].([]RelatedUrlResponse)[vs[1].(int)] @@ -17412,6 +19789,12 @@ func (i RelationshipNoteArgs) ToRelationshipNoteOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RelationshipNoteOutput) } +func (i RelationshipNoteArgs) ToOutput(ctx context.Context) pulumix.Output[RelationshipNote] { + return pulumix.Output[RelationshipNote]{ + OutputState: i.ToRelationshipNoteOutputWithContext(ctx).OutputState, + } +} + func (i RelationshipNoteArgs) ToRelationshipNotePtrOutput() RelationshipNotePtrOutput { return i.ToRelationshipNotePtrOutputWithContext(context.Background()) } @@ -17453,6 +19836,12 @@ func (i *relationshipNotePtrType) ToRelationshipNotePtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RelationshipNotePtrOutput) } +func (i *relationshipNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*RelationshipNote] { + return pulumix.Output[*RelationshipNote]{ + OutputState: i.ToRelationshipNotePtrOutputWithContext(ctx).OutputState, + } +} + // RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ type RelationshipNoteOutput struct{ *pulumi.OutputState } @@ -17478,6 +19867,12 @@ func (o RelationshipNoteOutput) ToRelationshipNotePtrOutputWithContext(ctx conte }).(RelationshipNotePtrOutput) } +func (o RelationshipNoteOutput) ToOutput(ctx context.Context) pulumix.Output[RelationshipNote] { + return pulumix.Output[RelationshipNote]{ + OutputState: o.OutputState, + } +} + // The type of relationship between the source and target SPDX elements func (o RelationshipNoteOutput) Type() RelationshipNoteTypePtrOutput { return o.ApplyT(func(v RelationshipNote) *RelationshipNoteType { return v.Type }).(RelationshipNoteTypePtrOutput) @@ -17497,6 +19892,12 @@ func (o RelationshipNotePtrOutput) ToRelationshipNotePtrOutputWithContext(ctx co return o } +func (o RelationshipNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RelationshipNote] { + return pulumix.Output[*RelationshipNote]{ + OutputState: o.OutputState, + } +} + func (o RelationshipNotePtrOutput) Elem() RelationshipNoteOutput { return o.ApplyT(func(v *RelationshipNote) RelationshipNote { if v != nil { @@ -17538,6 +19939,12 @@ func (o RelationshipNoteResponseOutput) ToRelationshipNoteResponseOutputWithCont return o } +func (o RelationshipNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RelationshipNoteResponse] { + return pulumix.Output[RelationshipNoteResponse]{ + OutputState: o.OutputState, + } +} + // The type of relationship between the source and target SPDX elements func (o RelationshipNoteResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v RelationshipNoteResponse) string { return v.Type }).(pulumi.StringOutput) @@ -17586,6 +19993,12 @@ func (i RelationshipOccurrenceArgs) ToRelationshipOccurrenceOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(RelationshipOccurrenceOutput) } +func (i RelationshipOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[RelationshipOccurrence] { + return pulumix.Output[RelationshipOccurrence]{ + OutputState: i.ToRelationshipOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i RelationshipOccurrenceArgs) ToRelationshipOccurrencePtrOutput() RelationshipOccurrencePtrOutput { return i.ToRelationshipOccurrencePtrOutputWithContext(context.Background()) } @@ -17627,6 +20040,12 @@ func (i *relationshipOccurrencePtrType) ToRelationshipOccurrencePtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RelationshipOccurrencePtrOutput) } +func (i *relationshipOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*RelationshipOccurrence] { + return pulumix.Output[*RelationshipOccurrence]{ + OutputState: i.ToRelationshipOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ type RelationshipOccurrenceOutput struct{ *pulumi.OutputState } @@ -17652,6 +20071,12 @@ func (o RelationshipOccurrenceOutput) ToRelationshipOccurrencePtrOutputWithConte }).(RelationshipOccurrencePtrOutput) } +func (o RelationshipOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[RelationshipOccurrence] { + return pulumix.Output[RelationshipOccurrence]{ + OutputState: o.OutputState, + } +} + // A place for the SPDX file creator to record any general comments about the relationship func (o RelationshipOccurrenceOutput) Comment() pulumi.StringPtrOutput { return o.ApplyT(func(v RelationshipOccurrence) *string { return v.Comment }).(pulumi.StringPtrOutput) @@ -17681,6 +20106,12 @@ func (o RelationshipOccurrencePtrOutput) ToRelationshipOccurrencePtrOutputWithCo return o } +func (o RelationshipOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RelationshipOccurrence] { + return pulumix.Output[*RelationshipOccurrence]{ + OutputState: o.OutputState, + } +} + func (o RelationshipOccurrencePtrOutput) Elem() RelationshipOccurrenceOutput { return o.ApplyT(func(v *RelationshipOccurrence) RelationshipOccurrence { if v != nil { @@ -17748,6 +20179,12 @@ func (o RelationshipOccurrenceResponseOutput) ToRelationshipOccurrenceResponseOu return o } +func (o RelationshipOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RelationshipOccurrenceResponse] { + return pulumix.Output[RelationshipOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // A place for the SPDX file creator to record any general comments about the relationship func (o RelationshipOccurrenceResponseOutput) Comment() pulumi.StringOutput { return o.ApplyT(func(v RelationshipOccurrenceResponse) string { return v.Comment }).(pulumi.StringOutput) @@ -17811,6 +20248,12 @@ func (i RemediationArgs) ToRemediationOutputWithContext(ctx context.Context) Rem return pulumi.ToOutputWithContext(ctx, i).(RemediationOutput) } +func (i RemediationArgs) ToOutput(ctx context.Context) pulumix.Output[Remediation] { + return pulumix.Output[Remediation]{ + OutputState: i.ToRemediationOutputWithContext(ctx).OutputState, + } +} + // RemediationArrayInput is an input type that accepts RemediationArray and RemediationArrayOutput values. // You can construct a concrete instance of `RemediationArrayInput` via: // @@ -17836,6 +20279,12 @@ func (i RemediationArray) ToRemediationArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(RemediationArrayOutput) } +func (i RemediationArray) ToOutput(ctx context.Context) pulumix.Output[[]Remediation] { + return pulumix.Output[[]Remediation]{ + OutputState: i.ToRemediationArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies details on how to handle (and presumably, fix) a vulnerability. type RemediationOutput struct{ *pulumi.OutputState } @@ -17851,6 +20300,12 @@ func (o RemediationOutput) ToRemediationOutputWithContext(ctx context.Context) R return o } +func (o RemediationOutput) ToOutput(ctx context.Context) pulumix.Output[Remediation] { + return pulumix.Output[Remediation]{ + OutputState: o.OutputState, + } +} + // Contains a comprehensive human-readable discussion of the remediation. func (o RemediationOutput) Details() pulumi.StringPtrOutput { return o.ApplyT(func(v Remediation) *string { return v.Details }).(pulumi.StringPtrOutput) @@ -17880,6 +20335,12 @@ func (o RemediationArrayOutput) ToRemediationArrayOutputWithContext(ctx context. return o } +func (o RemediationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Remediation] { + return pulumix.Output[[]Remediation]{ + OutputState: o.OutputState, + } +} + func (o RemediationArrayOutput) Index(i pulumi.IntInput) RemediationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Remediation { return vs[0].([]Remediation)[vs[1].(int)] @@ -17911,6 +20372,12 @@ func (o RemediationResponseOutput) ToRemediationResponseOutputWithContext(ctx co return o } +func (o RemediationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RemediationResponse] { + return pulumix.Output[RemediationResponse]{ + OutputState: o.OutputState, + } +} + // Contains a comprehensive human-readable discussion of the remediation. func (o RemediationResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v RemediationResponse) string { return v.Details }).(pulumi.StringOutput) @@ -17940,6 +20407,12 @@ func (o RemediationResponseArrayOutput) ToRemediationResponseArrayOutputWithCont return o } +func (o RemediationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RemediationResponse] { + return pulumix.Output[[]RemediationResponse]{ + OutputState: o.OutputState, + } +} + func (o RemediationResponseArrayOutput) Index(i pulumi.IntInput) RemediationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RemediationResponse { return vs[0].([]RemediationResponse)[vs[1].(int)] @@ -17997,6 +20470,12 @@ func (i RepoSourceArgs) ToRepoSourceOutputWithContext(ctx context.Context) RepoS return pulumi.ToOutputWithContext(ctx, i).(RepoSourceOutput) } +func (i RepoSourceArgs) ToOutput(ctx context.Context) pulumix.Output[RepoSource] { + return pulumix.Output[RepoSource]{ + OutputState: i.ToRepoSourceOutputWithContext(ctx).OutputState, + } +} + func (i RepoSourceArgs) ToRepoSourcePtrOutput() RepoSourcePtrOutput { return i.ToRepoSourcePtrOutputWithContext(context.Background()) } @@ -18038,6 +20517,12 @@ func (i *repoSourcePtrType) ToRepoSourcePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RepoSourcePtrOutput) } +func (i *repoSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*RepoSource] { + return pulumix.Output[*RepoSource]{ + OutputState: i.ToRepoSourcePtrOutputWithContext(ctx).OutputState, + } +} + // RepoSource describes the location of the source in a Google Cloud Source Repository. type RepoSourceOutput struct{ *pulumi.OutputState } @@ -18063,6 +20548,12 @@ func (o RepoSourceOutput) ToRepoSourcePtrOutputWithContext(ctx context.Context) }).(RepoSourcePtrOutput) } +func (o RepoSourceOutput) ToOutput(ctx context.Context) pulumix.Output[RepoSource] { + return pulumix.Output[RepoSource]{ + OutputState: o.OutputState, + } +} + // Name of the branch to build. func (o RepoSourceOutput) BranchName() pulumi.StringPtrOutput { return o.ApplyT(func(v RepoSource) *string { return v.BranchName }).(pulumi.StringPtrOutput) @@ -18102,6 +20593,12 @@ func (o RepoSourcePtrOutput) ToRepoSourcePtrOutputWithContext(ctx context.Contex return o } +func (o RepoSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepoSource] { + return pulumix.Output[*RepoSource]{ + OutputState: o.OutputState, + } +} + func (o RepoSourcePtrOutput) Elem() RepoSourceOutput { return o.ApplyT(func(v *RepoSource) RepoSource { if v != nil { @@ -18191,6 +20688,12 @@ func (o RepoSourceResponseOutput) ToRepoSourceResponseOutputWithContext(ctx cont return o } +func (o RepoSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RepoSourceResponse] { + return pulumix.Output[RepoSourceResponse]{ + OutputState: o.OutputState, + } +} + // Name of the branch to build. func (o RepoSourceResponseOutput) BranchName() pulumi.StringOutput { return o.ApplyT(func(v RepoSourceResponse) string { return v.BranchName }).(pulumi.StringOutput) @@ -18259,6 +20762,12 @@ func (i ResourceArgs) ToResourceOutputWithContext(ctx context.Context) ResourceO return pulumi.ToOutputWithContext(ctx, i).(ResourceOutput) } +func (i ResourceArgs) ToOutput(ctx context.Context) pulumix.Output[Resource] { + return pulumix.Output[Resource]{ + OutputState: i.ToResourceOutputWithContext(ctx).OutputState, + } +} + func (i ResourceArgs) ToResourcePtrOutput() ResourcePtrOutput { return i.ToResourcePtrOutputWithContext(context.Background()) } @@ -18300,6 +20809,12 @@ func (i *resourcePtrType) ToResourcePtrOutputWithContext(ctx context.Context) Re return pulumi.ToOutputWithContext(ctx, i).(ResourcePtrOutput) } +func (i *resourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*Resource] { + return pulumix.Output[*Resource]{ + OutputState: i.ToResourcePtrOutputWithContext(ctx).OutputState, + } +} + // Resource is an entity that can have metadata. E.g., a Docker image. type ResourceOutput struct{ *pulumi.OutputState } @@ -18325,6 +20840,12 @@ func (o ResourceOutput) ToResourcePtrOutputWithContext(ctx context.Context) Reso }).(ResourcePtrOutput) } +func (o ResourceOutput) ToOutput(ctx context.Context) pulumix.Output[Resource] { + return pulumix.Output[Resource]{ + OutputState: o.OutputState, + } +} + // The hash of the resource content. E.g., the Docker digest. func (o ResourceOutput) ContentHash() HashPtrOutput { return o.ApplyT(func(v Resource) *Hash { return v.ContentHash }).(HashPtrOutput) @@ -18354,6 +20875,12 @@ func (o ResourcePtrOutput) ToResourcePtrOutputWithContext(ctx context.Context) R return o } +func (o ResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Resource] { + return pulumix.Output[*Resource]{ + OutputState: o.OutputState, + } +} + func (o ResourcePtrOutput) Elem() ResourceOutput { return o.ApplyT(func(v *Resource) Resource { if v != nil { @@ -18419,6 +20946,12 @@ func (o ResourceResponseOutput) ToResourceResponseOutputWithContext(ctx context. return o } +func (o ResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceResponse] { + return pulumix.Output[ResourceResponse]{ + OutputState: o.OutputState, + } +} + // The hash of the resource content. E.g., the Docker digest. func (o ResourceResponseOutput) ContentHash() HashResponseOutput { return o.ApplyT(func(v ResourceResponse) HashResponse { return v.ContentHash }).(HashResponseOutput) @@ -18473,6 +21006,12 @@ func (i SBOMReferenceNoteArgs) ToSBOMReferenceNoteOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceNoteOutput) } +func (i SBOMReferenceNoteArgs) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceNote] { + return pulumix.Output[SBOMReferenceNote]{ + OutputState: i.ToSBOMReferenceNoteOutputWithContext(ctx).OutputState, + } +} + func (i SBOMReferenceNoteArgs) ToSBOMReferenceNotePtrOutput() SBOMReferenceNotePtrOutput { return i.ToSBOMReferenceNotePtrOutputWithContext(context.Background()) } @@ -18514,6 +21053,12 @@ func (i *sbomreferenceNotePtrType) ToSBOMReferenceNotePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceNotePtrOutput) } +func (i *sbomreferenceNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceNote] { + return pulumix.Output[*SBOMReferenceNote]{ + OutputState: i.ToSBOMReferenceNotePtrOutputWithContext(ctx).OutputState, + } +} + // The note representing an SBOM reference. type SBOMReferenceNoteOutput struct{ *pulumi.OutputState } @@ -18539,6 +21084,12 @@ func (o SBOMReferenceNoteOutput) ToSBOMReferenceNotePtrOutputWithContext(ctx con }).(SBOMReferenceNotePtrOutput) } +func (o SBOMReferenceNoteOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceNote] { + return pulumix.Output[SBOMReferenceNote]{ + OutputState: o.OutputState, + } +} + // The format that SBOM takes. E.g. may be spdx, cyclonedx, etc... func (o SBOMReferenceNoteOutput) Format() pulumi.StringPtrOutput { return o.ApplyT(func(v SBOMReferenceNote) *string { return v.Format }).(pulumi.StringPtrOutput) @@ -18563,6 +21114,12 @@ func (o SBOMReferenceNotePtrOutput) ToSBOMReferenceNotePtrOutputWithContext(ctx return o } +func (o SBOMReferenceNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceNote] { + return pulumix.Output[*SBOMReferenceNote]{ + OutputState: o.OutputState, + } +} + func (o SBOMReferenceNotePtrOutput) Elem() SBOMReferenceNoteOutput { return o.ApplyT(func(v *SBOMReferenceNote) SBOMReferenceNote { if v != nil { @@ -18616,6 +21173,12 @@ func (o SBOMReferenceNoteResponseOutput) ToSBOMReferenceNoteResponseOutputWithCo return o } +func (o SBOMReferenceNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceNoteResponse] { + return pulumix.Output[SBOMReferenceNoteResponse]{ + OutputState: o.OutputState, + } +} + // The format that SBOM takes. E.g. may be spdx, cyclonedx, etc... func (o SBOMReferenceNoteResponseOutput) Format() pulumi.StringOutput { return o.ApplyT(func(v SBOMReferenceNoteResponse) string { return v.Format }).(pulumi.StringOutput) @@ -18669,6 +21232,12 @@ func (i SBOMReferenceOccurrenceArgs) ToSBOMReferenceOccurrenceOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceOccurrenceOutput) } +func (i SBOMReferenceOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceOccurrence] { + return pulumix.Output[SBOMReferenceOccurrence]{ + OutputState: i.ToSBOMReferenceOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i SBOMReferenceOccurrenceArgs) ToSBOMReferenceOccurrencePtrOutput() SBOMReferenceOccurrencePtrOutput { return i.ToSBOMReferenceOccurrencePtrOutputWithContext(context.Background()) } @@ -18710,6 +21279,12 @@ func (i *sbomreferenceOccurrencePtrType) ToSBOMReferenceOccurrencePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceOccurrencePtrOutput) } +func (i *sbomreferenceOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceOccurrence] { + return pulumix.Output[*SBOMReferenceOccurrence]{ + OutputState: i.ToSBOMReferenceOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details. type SBOMReferenceOccurrenceOutput struct{ *pulumi.OutputState } @@ -18735,6 +21310,12 @@ func (o SBOMReferenceOccurrenceOutput) ToSBOMReferenceOccurrencePtrOutputWithCon }).(SBOMReferenceOccurrencePtrOutput) } +func (o SBOMReferenceOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceOccurrence] { + return pulumix.Output[SBOMReferenceOccurrence]{ + OutputState: o.OutputState, + } +} + // The actual payload that contains the SBOM reference data. func (o SBOMReferenceOccurrenceOutput) Payload() SbomReferenceIntotoPayloadPtrOutput { return o.ApplyT(func(v SBOMReferenceOccurrence) *SbomReferenceIntotoPayload { return v.Payload }).(SbomReferenceIntotoPayloadPtrOutput) @@ -18764,6 +21345,12 @@ func (o SBOMReferenceOccurrencePtrOutput) ToSBOMReferenceOccurrencePtrOutputWith return o } +func (o SBOMReferenceOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceOccurrence] { + return pulumix.Output[*SBOMReferenceOccurrence]{ + OutputState: o.OutputState, + } +} + func (o SBOMReferenceOccurrencePtrOutput) Elem() SBOMReferenceOccurrenceOutput { return o.ApplyT(func(v *SBOMReferenceOccurrence) SBOMReferenceOccurrence { if v != nil { @@ -18829,6 +21416,12 @@ func (o SBOMReferenceOccurrenceResponseOutput) ToSBOMReferenceOccurrenceResponse return o } +func (o SBOMReferenceOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceOccurrenceResponse] { + return pulumix.Output[SBOMReferenceOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // The actual payload that contains the SBOM reference data. func (o SBOMReferenceOccurrenceResponseOutput) Payload() SbomReferenceIntotoPayloadResponseOutput { return o.ApplyT(func(v SBOMReferenceOccurrenceResponse) SbomReferenceIntotoPayloadResponse { return v.Payload }).(SbomReferenceIntotoPayloadResponseOutput) @@ -18891,6 +21484,12 @@ func (i SbomReferenceIntotoPayloadArgs) ToSbomReferenceIntotoPayloadOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPayloadOutput) } +func (i SbomReferenceIntotoPayloadArgs) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPayload] { + return pulumix.Output[SbomReferenceIntotoPayload]{ + OutputState: i.ToSbomReferenceIntotoPayloadOutputWithContext(ctx).OutputState, + } +} + func (i SbomReferenceIntotoPayloadArgs) ToSbomReferenceIntotoPayloadPtrOutput() SbomReferenceIntotoPayloadPtrOutput { return i.ToSbomReferenceIntotoPayloadPtrOutputWithContext(context.Background()) } @@ -18932,6 +21531,12 @@ func (i *sbomReferenceIntotoPayloadPtrType) ToSbomReferenceIntotoPayloadPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPayloadPtrOutput) } +func (i *sbomReferenceIntotoPayloadPtrType) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPayload] { + return pulumix.Output[*SbomReferenceIntotoPayload]{ + OutputState: i.ToSbomReferenceIntotoPayloadPtrOutputWithContext(ctx).OutputState, + } +} + // The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details. type SbomReferenceIntotoPayloadOutput struct{ *pulumi.OutputState } @@ -18957,6 +21562,12 @@ func (o SbomReferenceIntotoPayloadOutput) ToSbomReferenceIntotoPayloadPtrOutputW }).(SbomReferenceIntotoPayloadPtrOutput) } +func (o SbomReferenceIntotoPayloadOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPayload] { + return pulumix.Output[SbomReferenceIntotoPayload]{ + OutputState: o.OutputState, + } +} + // Additional parameters of the Predicate. Includes the actual data about the SBOM. func (o SbomReferenceIntotoPayloadOutput) Predicate() SbomReferenceIntotoPredicatePtrOutput { return o.ApplyT(func(v SbomReferenceIntotoPayload) *SbomReferenceIntotoPredicate { return v.Predicate }).(SbomReferenceIntotoPredicatePtrOutput) @@ -18991,6 +21602,12 @@ func (o SbomReferenceIntotoPayloadPtrOutput) ToSbomReferenceIntotoPayloadPtrOutp return o } +func (o SbomReferenceIntotoPayloadPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPayload] { + return pulumix.Output[*SbomReferenceIntotoPayload]{ + OutputState: o.OutputState, + } +} + func (o SbomReferenceIntotoPayloadPtrOutput) Elem() SbomReferenceIntotoPayloadOutput { return o.ApplyT(func(v *SbomReferenceIntotoPayload) SbomReferenceIntotoPayload { if v != nil { @@ -19068,6 +21685,12 @@ func (o SbomReferenceIntotoPayloadResponseOutput) ToSbomReferenceIntotoPayloadRe return o } +func (o SbomReferenceIntotoPayloadResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPayloadResponse] { + return pulumix.Output[SbomReferenceIntotoPayloadResponse]{ + OutputState: o.OutputState, + } +} + // Additional parameters of the Predicate. Includes the actual data about the SBOM. func (o SbomReferenceIntotoPayloadResponseOutput) Predicate() SbomReferenceIntotoPredicateResponseOutput { return o.ApplyT(func(v SbomReferenceIntotoPayloadResponse) SbomReferenceIntotoPredicateResponse { return v.Predicate }).(SbomReferenceIntotoPredicateResponseOutput) @@ -19135,6 +21758,12 @@ func (i SbomReferenceIntotoPredicateArgs) ToSbomReferenceIntotoPredicateOutputWi return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPredicateOutput) } +func (i SbomReferenceIntotoPredicateArgs) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPredicate] { + return pulumix.Output[SbomReferenceIntotoPredicate]{ + OutputState: i.ToSbomReferenceIntotoPredicateOutputWithContext(ctx).OutputState, + } +} + func (i SbomReferenceIntotoPredicateArgs) ToSbomReferenceIntotoPredicatePtrOutput() SbomReferenceIntotoPredicatePtrOutput { return i.ToSbomReferenceIntotoPredicatePtrOutputWithContext(context.Background()) } @@ -19176,6 +21805,12 @@ func (i *sbomReferenceIntotoPredicatePtrType) ToSbomReferenceIntotoPredicatePtrO return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPredicatePtrOutput) } +func (i *sbomReferenceIntotoPredicatePtrType) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPredicate] { + return pulumix.Output[*SbomReferenceIntotoPredicate]{ + OutputState: i.ToSbomReferenceIntotoPredicatePtrOutputWithContext(ctx).OutputState, + } +} + // A predicate which describes the SBOM being referenced. type SbomReferenceIntotoPredicateOutput struct{ *pulumi.OutputState } @@ -19201,6 +21836,12 @@ func (o SbomReferenceIntotoPredicateOutput) ToSbomReferenceIntotoPredicatePtrOut }).(SbomReferenceIntotoPredicatePtrOutput) } +func (o SbomReferenceIntotoPredicateOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPredicate] { + return pulumix.Output[SbomReferenceIntotoPredicate]{ + OutputState: o.OutputState, + } +} + // A map of algorithm to digest of the contents of the SBOM. func (o SbomReferenceIntotoPredicateOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v SbomReferenceIntotoPredicate) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -19235,6 +21876,12 @@ func (o SbomReferenceIntotoPredicatePtrOutput) ToSbomReferenceIntotoPredicatePtr return o } +func (o SbomReferenceIntotoPredicatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPredicate] { + return pulumix.Output[*SbomReferenceIntotoPredicate]{ + OutputState: o.OutputState, + } +} + func (o SbomReferenceIntotoPredicatePtrOutput) Elem() SbomReferenceIntotoPredicateOutput { return o.ApplyT(func(v *SbomReferenceIntotoPredicate) SbomReferenceIntotoPredicate { if v != nil { @@ -19312,6 +21959,12 @@ func (o SbomReferenceIntotoPredicateResponseOutput) ToSbomReferenceIntotoPredica return o } +func (o SbomReferenceIntotoPredicateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPredicateResponse] { + return pulumix.Output[SbomReferenceIntotoPredicateResponse]{ + OutputState: o.OutputState, + } +} + // A map of algorithm to digest of the contents of the SBOM. func (o SbomReferenceIntotoPredicateResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v SbomReferenceIntotoPredicateResponse) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -19367,6 +22020,12 @@ func (i SlsaBuilderArgs) ToSlsaBuilderOutputWithContext(ctx context.Context) Sls return pulumi.ToOutputWithContext(ctx, i).(SlsaBuilderOutput) } +func (i SlsaBuilderArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaBuilder] { + return pulumix.Output[SlsaBuilder]{ + OutputState: i.ToSlsaBuilderOutputWithContext(ctx).OutputState, + } +} + func (i SlsaBuilderArgs) ToSlsaBuilderPtrOutput() SlsaBuilderPtrOutput { return i.ToSlsaBuilderPtrOutputWithContext(context.Background()) } @@ -19408,6 +22067,12 @@ func (i *slsaBuilderPtrType) ToSlsaBuilderPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SlsaBuilderPtrOutput) } +func (i *slsaBuilderPtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaBuilder] { + return pulumix.Output[*SlsaBuilder]{ + OutputState: i.ToSlsaBuilderPtrOutputWithContext(ctx).OutputState, + } +} + // SlsaBuilder encapsulates the identity of the builder of this provenance. type SlsaBuilderOutput struct{ *pulumi.OutputState } @@ -19433,6 +22098,12 @@ func (o SlsaBuilderOutput) ToSlsaBuilderPtrOutputWithContext(ctx context.Context }).(SlsaBuilderPtrOutput) } +func (o SlsaBuilderOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaBuilder] { + return pulumix.Output[SlsaBuilder]{ + OutputState: o.OutputState, + } +} + // id is the id of the slsa provenance builder func (o SlsaBuilderOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v SlsaBuilder) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -19452,6 +22123,12 @@ func (o SlsaBuilderPtrOutput) ToSlsaBuilderPtrOutputWithContext(ctx context.Cont return o } +func (o SlsaBuilderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaBuilder] { + return pulumix.Output[*SlsaBuilder]{ + OutputState: o.OutputState, + } +} + func (o SlsaBuilderPtrOutput) Elem() SlsaBuilderOutput { return o.ApplyT(func(v *SlsaBuilder) SlsaBuilder { if v != nil { @@ -19491,6 +22168,12 @@ func (o SlsaBuilderResponseOutput) ToSlsaBuilderResponseOutputWithContext(ctx co return o } +func (o SlsaBuilderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaBuilderResponse] { + return pulumix.Output[SlsaBuilderResponse]{ + OutputState: o.OutputState, + } +} + // Indicates that the builder claims certain fields in this message to be complete. type SlsaCompleteness struct { // If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. @@ -19534,6 +22217,12 @@ func (i SlsaCompletenessArgs) ToSlsaCompletenessOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SlsaCompletenessOutput) } +func (i SlsaCompletenessArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaCompleteness] { + return pulumix.Output[SlsaCompleteness]{ + OutputState: i.ToSlsaCompletenessOutputWithContext(ctx).OutputState, + } +} + func (i SlsaCompletenessArgs) ToSlsaCompletenessPtrOutput() SlsaCompletenessPtrOutput { return i.ToSlsaCompletenessPtrOutputWithContext(context.Background()) } @@ -19575,6 +22264,12 @@ func (i *slsaCompletenessPtrType) ToSlsaCompletenessPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SlsaCompletenessPtrOutput) } +func (i *slsaCompletenessPtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaCompleteness] { + return pulumix.Output[*SlsaCompleteness]{ + OutputState: i.ToSlsaCompletenessPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that the builder claims certain fields in this message to be complete. type SlsaCompletenessOutput struct{ *pulumi.OutputState } @@ -19600,6 +22295,12 @@ func (o SlsaCompletenessOutput) ToSlsaCompletenessPtrOutputWithContext(ctx conte }).(SlsaCompletenessPtrOutput) } +func (o SlsaCompletenessOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaCompleteness] { + return pulumix.Output[SlsaCompleteness]{ + OutputState: o.OutputState, + } +} + // If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. func (o SlsaCompletenessOutput) Arguments() pulumi.BoolPtrOutput { return o.ApplyT(func(v SlsaCompleteness) *bool { return v.Arguments }).(pulumi.BoolPtrOutput) @@ -19629,6 +22330,12 @@ func (o SlsaCompletenessPtrOutput) ToSlsaCompletenessPtrOutputWithContext(ctx co return o } +func (o SlsaCompletenessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaCompleteness] { + return pulumix.Output[*SlsaCompleteness]{ + OutputState: o.OutputState, + } +} + func (o SlsaCompletenessPtrOutput) Elem() SlsaCompletenessOutput { return o.ApplyT(func(v *SlsaCompleteness) SlsaCompleteness { if v != nil { @@ -19694,6 +22401,12 @@ func (o SlsaCompletenessResponseOutput) ToSlsaCompletenessResponseOutputWithCont return o } +func (o SlsaCompletenessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaCompletenessResponse] { + return pulumix.Output[SlsaCompletenessResponse]{ + OutputState: o.OutputState, + } +} + // If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe. func (o SlsaCompletenessResponseOutput) Arguments() pulumi.BoolOutput { return o.ApplyT(func(v SlsaCompletenessResponse) bool { return v.Arguments }).(pulumi.BoolOutput) @@ -19760,6 +22473,12 @@ func (i SlsaMetadataArgs) ToSlsaMetadataOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SlsaMetadataOutput) } +func (i SlsaMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaMetadata] { + return pulumix.Output[SlsaMetadata]{ + OutputState: i.ToSlsaMetadataOutputWithContext(ctx).OutputState, + } +} + func (i SlsaMetadataArgs) ToSlsaMetadataPtrOutput() SlsaMetadataPtrOutput { return i.ToSlsaMetadataPtrOutputWithContext(context.Background()) } @@ -19801,6 +22520,12 @@ func (i *slsaMetadataPtrType) ToSlsaMetadataPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SlsaMetadataPtrOutput) } +func (i *slsaMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaMetadata] { + return pulumix.Output[*SlsaMetadata]{ + OutputState: i.ToSlsaMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Other properties of the build. type SlsaMetadataOutput struct{ *pulumi.OutputState } @@ -19826,6 +22551,12 @@ func (o SlsaMetadataOutput) ToSlsaMetadataPtrOutputWithContext(ctx context.Conte }).(SlsaMetadataPtrOutput) } +func (o SlsaMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaMetadata] { + return pulumix.Output[SlsaMetadata]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the build completed. func (o SlsaMetadataOutput) BuildFinishedOn() pulumi.StringPtrOutput { return o.ApplyT(func(v SlsaMetadata) *string { return v.BuildFinishedOn }).(pulumi.StringPtrOutput) @@ -19865,6 +22596,12 @@ func (o SlsaMetadataPtrOutput) ToSlsaMetadataPtrOutputWithContext(ctx context.Co return o } +func (o SlsaMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaMetadata] { + return pulumix.Output[*SlsaMetadata]{ + OutputState: o.OutputState, + } +} + func (o SlsaMetadataPtrOutput) Elem() SlsaMetadataOutput { return o.ApplyT(func(v *SlsaMetadata) SlsaMetadata { if v != nil { @@ -19954,6 +22691,12 @@ func (o SlsaMetadataResponseOutput) ToSlsaMetadataResponseOutputWithContext(ctx return o } +func (o SlsaMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaMetadataResponse] { + return pulumix.Output[SlsaMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the build completed. func (o SlsaMetadataResponseOutput) BuildFinishedOn() pulumi.StringOutput { return o.ApplyT(func(v SlsaMetadataResponse) string { return v.BuildFinishedOn }).(pulumi.StringOutput) @@ -20026,6 +22769,12 @@ func (i SlsaProvenanceArgs) ToSlsaProvenanceOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SlsaProvenanceOutput) } +func (i SlsaProvenanceArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenance] { + return pulumix.Output[SlsaProvenance]{ + OutputState: i.ToSlsaProvenanceOutputWithContext(ctx).OutputState, + } +} + func (i SlsaProvenanceArgs) ToSlsaProvenancePtrOutput() SlsaProvenancePtrOutput { return i.ToSlsaProvenancePtrOutputWithContext(context.Background()) } @@ -20067,6 +22816,12 @@ func (i *slsaProvenancePtrType) ToSlsaProvenancePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SlsaProvenancePtrOutput) } +func (i *slsaProvenancePtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaProvenance] { + return pulumix.Output[*SlsaProvenance]{ + OutputState: i.ToSlsaProvenancePtrOutputWithContext(ctx).OutputState, + } +} + // SlsaProvenance is the slsa provenance as defined by the slsa spec. type SlsaProvenanceOutput struct{ *pulumi.OutputState } @@ -20092,6 +22847,12 @@ func (o SlsaProvenanceOutput) ToSlsaProvenancePtrOutputWithContext(ctx context.C }).(SlsaProvenancePtrOutput) } +func (o SlsaProvenanceOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenance] { + return pulumix.Output[SlsaProvenance]{ + OutputState: o.OutputState, + } +} + // builder is the builder of this provenance func (o SlsaProvenanceOutput) Builder() SlsaBuilderPtrOutput { return o.ApplyT(func(v SlsaProvenance) *SlsaBuilder { return v.Builder }).(SlsaBuilderPtrOutput) @@ -20126,6 +22887,12 @@ func (o SlsaProvenancePtrOutput) ToSlsaProvenancePtrOutputWithContext(ctx contex return o } +func (o SlsaProvenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaProvenance] { + return pulumix.Output[*SlsaProvenance]{ + OutputState: o.OutputState, + } +} + func (o SlsaProvenancePtrOutput) Elem() SlsaProvenanceOutput { return o.ApplyT(func(v *SlsaProvenance) SlsaProvenance { if v != nil { @@ -20203,6 +22970,12 @@ func (o SlsaProvenanceResponseOutput) ToSlsaProvenanceResponseOutputWithContext( return o } +func (o SlsaProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenanceResponse] { + return pulumix.Output[SlsaProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // builder is the builder of this provenance func (o SlsaProvenanceResponseOutput) Builder() SlsaBuilderResponseOutput { return o.ApplyT(func(v SlsaProvenanceResponse) SlsaBuilderResponse { return v.Builder }).(SlsaBuilderResponseOutput) @@ -20278,6 +23051,12 @@ func (i SlsaProvenanceZeroTwoArgs) ToSlsaProvenanceZeroTwoOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SlsaProvenanceZeroTwoOutput) } +func (i SlsaProvenanceZeroTwoArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenanceZeroTwo] { + return pulumix.Output[SlsaProvenanceZeroTwo]{ + OutputState: i.ToSlsaProvenanceZeroTwoOutputWithContext(ctx).OutputState, + } +} + func (i SlsaProvenanceZeroTwoArgs) ToSlsaProvenanceZeroTwoPtrOutput() SlsaProvenanceZeroTwoPtrOutput { return i.ToSlsaProvenanceZeroTwoPtrOutputWithContext(context.Background()) } @@ -20319,6 +23098,12 @@ func (i *slsaProvenanceZeroTwoPtrType) ToSlsaProvenanceZeroTwoPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(SlsaProvenanceZeroTwoPtrOutput) } +func (i *slsaProvenanceZeroTwoPtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaProvenanceZeroTwo] { + return pulumix.Output[*SlsaProvenanceZeroTwo]{ + OutputState: i.ToSlsaProvenanceZeroTwoPtrOutputWithContext(ctx).OutputState, + } +} + // SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. type SlsaProvenanceZeroTwoOutput struct{ *pulumi.OutputState } @@ -20344,6 +23129,12 @@ func (o SlsaProvenanceZeroTwoOutput) ToSlsaProvenanceZeroTwoPtrOutputWithContext }).(SlsaProvenanceZeroTwoPtrOutput) } +func (o SlsaProvenanceZeroTwoOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenanceZeroTwo] { + return pulumix.Output[SlsaProvenanceZeroTwo]{ + OutputState: o.OutputState, + } +} + // Lists the steps in the build. func (o SlsaProvenanceZeroTwoOutput) BuildConfig() pulumi.StringMapOutput { return o.ApplyT(func(v SlsaProvenanceZeroTwo) map[string]string { return v.BuildConfig }).(pulumi.StringMapOutput) @@ -20396,6 +23187,12 @@ func (o SlsaProvenanceZeroTwoPtrOutput) ToSlsaProvenanceZeroTwoPtrOutputWithCont return o } +func (o SlsaProvenanceZeroTwoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaProvenanceZeroTwo] { + return pulumix.Output[*SlsaProvenanceZeroTwo]{ + OutputState: o.OutputState, + } +} + func (o SlsaProvenanceZeroTwoPtrOutput) Elem() SlsaProvenanceZeroTwoOutput { return o.ApplyT(func(v *SlsaProvenanceZeroTwo) SlsaProvenanceZeroTwo { if v != nil { @@ -20497,6 +23294,12 @@ func (o SlsaProvenanceZeroTwoResponseOutput) ToSlsaProvenanceZeroTwoResponseOutp return o } +func (o SlsaProvenanceZeroTwoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaProvenanceZeroTwoResponse] { + return pulumix.Output[SlsaProvenanceZeroTwoResponse]{ + OutputState: o.OutputState, + } +} + // Lists the steps in the build. func (o SlsaProvenanceZeroTwoResponseOutput) BuildConfig() pulumi.StringMapOutput { return o.ApplyT(func(v SlsaProvenanceZeroTwoResponse) map[string]string { return v.BuildConfig }).(pulumi.StringMapOutput) @@ -20586,6 +23389,12 @@ func (i SlsaRecipeArgs) ToSlsaRecipeOutputWithContext(ctx context.Context) SlsaR return pulumi.ToOutputWithContext(ctx, i).(SlsaRecipeOutput) } +func (i SlsaRecipeArgs) ToOutput(ctx context.Context) pulumix.Output[SlsaRecipe] { + return pulumix.Output[SlsaRecipe]{ + OutputState: i.ToSlsaRecipeOutputWithContext(ctx).OutputState, + } +} + func (i SlsaRecipeArgs) ToSlsaRecipePtrOutput() SlsaRecipePtrOutput { return i.ToSlsaRecipePtrOutputWithContext(context.Background()) } @@ -20627,6 +23436,12 @@ func (i *slsaRecipePtrType) ToSlsaRecipePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SlsaRecipePtrOutput) } +func (i *slsaRecipePtrType) ToOutput(ctx context.Context) pulumix.Output[*SlsaRecipe] { + return pulumix.Output[*SlsaRecipe]{ + OutputState: i.ToSlsaRecipePtrOutputWithContext(ctx).OutputState, + } +} + // Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. type SlsaRecipeOutput struct{ *pulumi.OutputState } @@ -20652,6 +23467,12 @@ func (o SlsaRecipeOutput) ToSlsaRecipePtrOutputWithContext(ctx context.Context) }).(SlsaRecipePtrOutput) } +func (o SlsaRecipeOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaRecipe] { + return pulumix.Output[SlsaRecipe]{ + OutputState: o.OutputState, + } +} + // Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different. func (o SlsaRecipeOutput) Arguments() pulumi.StringMapOutput { return o.ApplyT(func(v SlsaRecipe) map[string]string { return v.Arguments }).(pulumi.StringMapOutput) @@ -20691,6 +23512,12 @@ func (o SlsaRecipePtrOutput) ToSlsaRecipePtrOutputWithContext(ctx context.Contex return o } +func (o SlsaRecipePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SlsaRecipe] { + return pulumix.Output[*SlsaRecipe]{ + OutputState: o.OutputState, + } +} + func (o SlsaRecipePtrOutput) Elem() SlsaRecipeOutput { return o.ApplyT(func(v *SlsaRecipe) SlsaRecipe { if v != nil { @@ -20780,6 +23607,12 @@ func (o SlsaRecipeResponseOutput) ToSlsaRecipeResponseOutputWithContext(ctx cont return o } +func (o SlsaRecipeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SlsaRecipeResponse] { + return pulumix.Output[SlsaRecipeResponse]{ + OutputState: o.OutputState, + } +} + // Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different. func (o SlsaRecipeResponseOutput) Arguments() pulumi.StringMapOutput { return o.ApplyT(func(v SlsaRecipeResponse) map[string]string { return v.Arguments }).(pulumi.StringMapOutput) @@ -20860,6 +23693,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + func (i SourceArgs) ToSourcePtrOutput() SourcePtrOutput { return i.ToSourcePtrOutputWithContext(context.Background()) } @@ -20901,6 +23740,12 @@ func (i *sourcePtrType) ToSourcePtrOutputWithContext(ctx context.Context) Source return pulumi.ToOutputWithContext(ctx, i).(SourcePtrOutput) } +func (i *sourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Source describes the location of the source used for the build. type SourceOutput struct{ *pulumi.OutputState } @@ -20926,6 +23771,12 @@ func (o SourceOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePt }).(SourcePtrOutput) } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field. func (o SourceOutput) AdditionalContexts() GoogleDevtoolsContaineranalysisV1alpha1SourceContextArrayOutput { return o.ApplyT(func(v Source) []GoogleDevtoolsContaineranalysisV1alpha1SourceContext { return v.AdditionalContexts }).(GoogleDevtoolsContaineranalysisV1alpha1SourceContextArrayOutput) @@ -20970,6 +23821,12 @@ func (o SourcePtrOutput) ToSourcePtrOutputWithContext(ctx context.Context) Sourc return o } +func (o SourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + func (o SourcePtrOutput) Elem() SourceOutput { return o.ApplyT(func(v *Source) Source { if v != nil { @@ -21071,6 +23928,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field. func (o SourceResponseOutput) AdditionalContexts() GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponseArrayOutput { return o.ApplyT(func(v SourceResponse) []GoogleDevtoolsContaineranalysisV1alpha1SourceContextResponse { @@ -21146,6 +24009,12 @@ func (i StatusArgs) ToStatusOutputWithContext(ctx context.Context) StatusOutput return pulumi.ToOutputWithContext(ctx, i).(StatusOutput) } +func (i StatusArgs) ToOutput(ctx context.Context) pulumix.Output[Status] { + return pulumix.Output[Status]{ + OutputState: i.ToStatusOutputWithContext(ctx).OutputState, + } +} + func (i StatusArgs) ToStatusPtrOutput() StatusPtrOutput { return i.ToStatusPtrOutputWithContext(context.Background()) } @@ -21187,6 +24056,12 @@ func (i *statusPtrType) ToStatusPtrOutputWithContext(ctx context.Context) Status return pulumi.ToOutputWithContext(ctx, i).(StatusPtrOutput) } +func (i *statusPtrType) ToOutput(ctx context.Context) pulumix.Output[*Status] { + return pulumix.Output[*Status]{ + OutputState: i.ToStatusPtrOutputWithContext(ctx).OutputState, + } +} + // StatusArrayInput is an input type that accepts StatusArray and StatusArrayOutput values. // You can construct a concrete instance of `StatusArrayInput` via: // @@ -21212,6 +24087,12 @@ func (i StatusArray) ToStatusArrayOutputWithContext(ctx context.Context) StatusA return pulumi.ToOutputWithContext(ctx, i).(StatusArrayOutput) } +func (i StatusArray) ToOutput(ctx context.Context) pulumix.Output[[]Status] { + return pulumix.Output[[]Status]{ + OutputState: i.ToStatusArrayOutputWithContext(ctx).OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type StatusOutput struct{ *pulumi.OutputState } @@ -21237,6 +24118,12 @@ func (o StatusOutput) ToStatusPtrOutputWithContext(ctx context.Context) StatusPt }).(StatusPtrOutput) } +func (o StatusOutput) ToOutput(ctx context.Context) pulumix.Output[Status] { + return pulumix.Output[Status]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v Status) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -21266,6 +24153,12 @@ func (o StatusPtrOutput) ToStatusPtrOutputWithContext(ctx context.Context) Statu return o } +func (o StatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Status] { + return pulumix.Output[*Status]{ + OutputState: o.OutputState, + } +} + func (o StatusPtrOutput) Elem() StatusOutput { return o.ApplyT(func(v *Status) Status { if v != nil { @@ -21320,6 +24213,12 @@ func (o StatusArrayOutput) ToStatusArrayOutputWithContext(ctx context.Context) S return o } +func (o StatusArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Status] { + return pulumix.Output[[]Status]{ + OutputState: o.OutputState, + } +} + func (o StatusArrayOutput) Index(i pulumi.IntInput) StatusOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Status { return vs[0].([]Status)[vs[1].(int)] @@ -21351,6 +24250,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -21380,6 +24285,12 @@ func (o StatusResponseArrayOutput) ToStatusResponseArrayOutputWithContext(ctx co return o } +func (o StatusResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StatusResponse] { + return pulumix.Output[[]StatusResponse]{ + OutputState: o.OutputState, + } +} + func (o StatusResponseArrayOutput) Index(i pulumi.IntInput) StatusResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StatusResponse { return vs[0].([]StatusResponse)[vs[1].(int)] @@ -21429,6 +24340,12 @@ func (i StorageSourceArgs) ToStorageSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(StorageSourceOutput) } +func (i StorageSourceArgs) ToOutput(ctx context.Context) pulumix.Output[StorageSource] { + return pulumix.Output[StorageSource]{ + OutputState: i.ToStorageSourceOutputWithContext(ctx).OutputState, + } +} + func (i StorageSourceArgs) ToStorageSourcePtrOutput() StorageSourcePtrOutput { return i.ToStorageSourcePtrOutputWithContext(context.Background()) } @@ -21470,6 +24387,12 @@ func (i *storageSourcePtrType) ToStorageSourcePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(StorageSourcePtrOutput) } +func (i *storageSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*StorageSource] { + return pulumix.Output[*StorageSource]{ + OutputState: i.ToStorageSourcePtrOutputWithContext(ctx).OutputState, + } +} + // StorageSource describes the location of the source in an archive file in Google Cloud Storage. type StorageSourceOutput struct{ *pulumi.OutputState } @@ -21495,6 +24418,12 @@ func (o StorageSourceOutput) ToStorageSourcePtrOutputWithContext(ctx context.Con }).(StorageSourcePtrOutput) } +func (o StorageSourceOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSource] { + return pulumix.Output[StorageSource]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v StorageSource) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -21524,6 +24453,12 @@ func (o StorageSourcePtrOutput) ToStorageSourcePtrOutputWithContext(ctx context. return o } +func (o StorageSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StorageSource] { + return pulumix.Output[*StorageSource]{ + OutputState: o.OutputState, + } +} + func (o StorageSourcePtrOutput) Elem() StorageSourceOutput { return o.ApplyT(func(v *StorageSource) StorageSource { if v != nil { @@ -21589,6 +24524,12 @@ func (o StorageSourceResponseOutput) ToStorageSourceResponseOutputWithContext(ct return o } +func (o StorageSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StorageSourceResponse] { + return pulumix.Output[StorageSourceResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)). func (o StorageSourceResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v StorageSourceResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -21643,6 +24584,12 @@ func (i SubjectArgs) ToSubjectOutputWithContext(ctx context.Context) SubjectOutp return pulumi.ToOutputWithContext(ctx, i).(SubjectOutput) } +func (i SubjectArgs) ToOutput(ctx context.Context) pulumix.Output[Subject] { + return pulumix.Output[Subject]{ + OutputState: i.ToSubjectOutputWithContext(ctx).OutputState, + } +} + // SubjectArrayInput is an input type that accepts SubjectArray and SubjectArrayOutput values. // You can construct a concrete instance of `SubjectArrayInput` via: // @@ -21668,6 +24615,12 @@ func (i SubjectArray) ToSubjectArrayOutputWithContext(ctx context.Context) Subje return pulumi.ToOutputWithContext(ctx, i).(SubjectArrayOutput) } +func (i SubjectArray) ToOutput(ctx context.Context) pulumix.Output[[]Subject] { + return pulumix.Output[[]Subject]{ + OutputState: i.ToSubjectArrayOutputWithContext(ctx).OutputState, + } +} + // Subject refers to the subject of the intoto statement type SubjectOutput struct{ *pulumi.OutputState } @@ -21683,6 +24636,12 @@ func (o SubjectOutput) ToSubjectOutputWithContext(ctx context.Context) SubjectOu return o } +func (o SubjectOutput) ToOutput(ctx context.Context) pulumix.Output[Subject] { + return pulumix.Output[Subject]{ + OutputState: o.OutputState, + } +} + // "": "" Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet func (o SubjectOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v Subject) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -21707,6 +24666,12 @@ func (o SubjectArrayOutput) ToSubjectArrayOutputWithContext(ctx context.Context) return o } +func (o SubjectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Subject] { + return pulumix.Output[[]Subject]{ + OutputState: o.OutputState, + } +} + func (o SubjectArrayOutput) Index(i pulumi.IntInput) SubjectOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Subject { return vs[0].([]Subject)[vs[1].(int)] @@ -21736,6 +24701,12 @@ func (o SubjectResponseOutput) ToSubjectResponseOutputWithContext(ctx context.Co return o } +func (o SubjectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubjectResponse] { + return pulumix.Output[SubjectResponse]{ + OutputState: o.OutputState, + } +} + // "": "" Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet func (o SubjectResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v SubjectResponse) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -21760,6 +24731,12 @@ func (o SubjectResponseArrayOutput) ToSubjectResponseArrayOutputWithContext(ctx return o } +func (o SubjectResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubjectResponse] { + return pulumix.Output[[]SubjectResponse]{ + OutputState: o.OutputState, + } +} + func (o SubjectResponseArrayOutput) Index(i pulumi.IntInput) SubjectResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubjectResponse { return vs[0].([]SubjectResponse)[vs[1].(int)] @@ -21805,6 +24782,12 @@ func (i URIArgs) ToURIOutputWithContext(ctx context.Context) URIOutput { return pulumi.ToOutputWithContext(ctx, i).(URIOutput) } +func (i URIArgs) ToOutput(ctx context.Context) pulumix.Output[URI] { + return pulumix.Output[URI]{ + OutputState: i.ToURIOutputWithContext(ctx).OutputState, + } +} + func (i URIArgs) ToURIPtrOutput() URIPtrOutput { return i.ToURIPtrOutputWithContext(context.Background()) } @@ -21846,6 +24829,12 @@ func (i *uriPtrType) ToURIPtrOutputWithContext(ctx context.Context) URIPtrOutput return pulumi.ToOutputWithContext(ctx, i).(URIPtrOutput) } +func (i *uriPtrType) ToOutput(ctx context.Context) pulumix.Output[*URI] { + return pulumix.Output[*URI]{ + OutputState: i.ToURIPtrOutputWithContext(ctx).OutputState, + } +} + // URIArrayInput is an input type that accepts URIArray and URIArrayOutput values. // You can construct a concrete instance of `URIArrayInput` via: // @@ -21871,6 +24860,12 @@ func (i URIArray) ToURIArrayOutputWithContext(ctx context.Context) URIArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(URIArrayOutput) } +func (i URIArray) ToOutput(ctx context.Context) pulumix.Output[[]URI] { + return pulumix.Output[[]URI]{ + OutputState: i.ToURIArrayOutputWithContext(ctx).OutputState, + } +} + // An URI message. type URIOutput struct{ *pulumi.OutputState } @@ -21896,6 +24891,12 @@ func (o URIOutput) ToURIPtrOutputWithContext(ctx context.Context) URIPtrOutput { }).(URIPtrOutput) } +func (o URIOutput) ToOutput(ctx context.Context) pulumix.Output[URI] { + return pulumix.Output[URI]{ + OutputState: o.OutputState, + } +} + // A label for the URI. func (o URIOutput) Label() pulumi.StringPtrOutput { return o.ApplyT(func(v URI) *string { return v.Label }).(pulumi.StringPtrOutput) @@ -21920,6 +24921,12 @@ func (o URIPtrOutput) ToURIPtrOutputWithContext(ctx context.Context) URIPtrOutpu return o } +func (o URIPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*URI] { + return pulumix.Output[*URI]{ + OutputState: o.OutputState, + } +} + func (o URIPtrOutput) Elem() URIOutput { return o.ApplyT(func(v *URI) URI { if v != nil { @@ -21964,6 +24971,12 @@ func (o URIArrayOutput) ToURIArrayOutputWithContext(ctx context.Context) URIArra return o } +func (o URIArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]URI] { + return pulumix.Output[[]URI]{ + OutputState: o.OutputState, + } +} + func (o URIArrayOutput) Index(i pulumi.IntInput) URIOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) URI { return vs[0].([]URI)[vs[1].(int)] @@ -21993,6 +25006,12 @@ func (o URIResponseOutput) ToURIResponseOutputWithContext(ctx context.Context) U return o } +func (o URIResponseOutput) ToOutput(ctx context.Context) pulumix.Output[URIResponse] { + return pulumix.Output[URIResponse]{ + OutputState: o.OutputState, + } +} + // A label for the URI. func (o URIResponseOutput) Label() pulumi.StringOutput { return o.ApplyT(func(v URIResponse) string { return v.Label }).(pulumi.StringOutput) @@ -22017,6 +25036,12 @@ func (o URIResponseArrayOutput) ToURIResponseArrayOutputWithContext(ctx context. return o } +func (o URIResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]URIResponse] { + return pulumix.Output[[]URIResponse]{ + OutputState: o.OutputState, + } +} + func (o URIResponseArrayOutput) Index(i pulumi.IntInput) URIResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) URIResponse { return vs[0].([]URIResponse)[vs[1].(int)] @@ -22070,6 +25095,12 @@ func (i UpgradeDistributionArgs) ToUpgradeDistributionOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(UpgradeDistributionOutput) } +func (i UpgradeDistributionArgs) ToOutput(ctx context.Context) pulumix.Output[UpgradeDistribution] { + return pulumix.Output[UpgradeDistribution]{ + OutputState: i.ToUpgradeDistributionOutputWithContext(ctx).OutputState, + } +} + func (i UpgradeDistributionArgs) ToUpgradeDistributionPtrOutput() UpgradeDistributionPtrOutput { return i.ToUpgradeDistributionPtrOutputWithContext(context.Background()) } @@ -22111,6 +25142,12 @@ func (i *upgradeDistributionPtrType) ToUpgradeDistributionPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(UpgradeDistributionPtrOutput) } +func (i *upgradeDistributionPtrType) ToOutput(ctx context.Context) pulumix.Output[*UpgradeDistribution] { + return pulumix.Output[*UpgradeDistribution]{ + OutputState: i.ToUpgradeDistributionPtrOutputWithContext(ctx).OutputState, + } +} + // UpgradeDistributionArrayInput is an input type that accepts UpgradeDistributionArray and UpgradeDistributionArrayOutput values. // You can construct a concrete instance of `UpgradeDistributionArrayInput` via: // @@ -22136,6 +25173,12 @@ func (i UpgradeDistributionArray) ToUpgradeDistributionArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(UpgradeDistributionArrayOutput) } +func (i UpgradeDistributionArray) ToOutput(ctx context.Context) pulumix.Output[[]UpgradeDistribution] { + return pulumix.Output[[]UpgradeDistribution]{ + OutputState: i.ToUpgradeDistributionArrayOutputWithContext(ctx).OutputState, + } +} + // The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities. type UpgradeDistributionOutput struct{ *pulumi.OutputState } @@ -22161,6 +25204,12 @@ func (o UpgradeDistributionOutput) ToUpgradeDistributionPtrOutputWithContext(ctx }).(UpgradeDistributionPtrOutput) } +func (o UpgradeDistributionOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeDistribution] { + return pulumix.Output[UpgradeDistribution]{ + OutputState: o.OutputState, + } +} + // The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. func (o UpgradeDistributionOutput) Classification() pulumi.StringPtrOutput { return o.ApplyT(func(v UpgradeDistribution) *string { return v.Classification }).(pulumi.StringPtrOutput) @@ -22195,6 +25244,12 @@ func (o UpgradeDistributionPtrOutput) ToUpgradeDistributionPtrOutputWithContext( return o } +func (o UpgradeDistributionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeDistribution] { + return pulumix.Output[*UpgradeDistribution]{ + OutputState: o.OutputState, + } +} + func (o UpgradeDistributionPtrOutput) Elem() UpgradeDistributionOutput { return o.ApplyT(func(v *UpgradeDistribution) UpgradeDistribution { if v != nil { @@ -22259,6 +25314,12 @@ func (o UpgradeDistributionArrayOutput) ToUpgradeDistributionArrayOutputWithCont return o } +func (o UpgradeDistributionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UpgradeDistribution] { + return pulumix.Output[[]UpgradeDistribution]{ + OutputState: o.OutputState, + } +} + func (o UpgradeDistributionArrayOutput) Index(i pulumi.IntInput) UpgradeDistributionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UpgradeDistribution { return vs[0].([]UpgradeDistribution)[vs[1].(int)] @@ -22292,6 +25353,12 @@ func (o UpgradeDistributionResponseOutput) ToUpgradeDistributionResponseOutputWi return o } +func (o UpgradeDistributionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeDistributionResponse] { + return pulumix.Output[UpgradeDistributionResponse]{ + OutputState: o.OutputState, + } +} + // The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. func (o UpgradeDistributionResponseOutput) Classification() pulumi.StringOutput { return o.ApplyT(func(v UpgradeDistributionResponse) string { return v.Classification }).(pulumi.StringOutput) @@ -22326,6 +25393,12 @@ func (o UpgradeDistributionResponseArrayOutput) ToUpgradeDistributionResponseArr return o } +func (o UpgradeDistributionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UpgradeDistributionResponse] { + return pulumix.Output[[]UpgradeDistributionResponse]{ + OutputState: o.OutputState, + } +} + func (o UpgradeDistributionResponseArrayOutput) Index(i pulumi.IntInput) UpgradeDistributionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UpgradeDistributionResponse { return vs[0].([]UpgradeDistributionResponse)[vs[1].(int)] @@ -22375,6 +25448,12 @@ func (i UpgradeNoteArgs) ToUpgradeNoteOutputWithContext(ctx context.Context) Upg return pulumi.ToOutputWithContext(ctx, i).(UpgradeNoteOutput) } +func (i UpgradeNoteArgs) ToOutput(ctx context.Context) pulumix.Output[UpgradeNote] { + return pulumix.Output[UpgradeNote]{ + OutputState: i.ToUpgradeNoteOutputWithContext(ctx).OutputState, + } +} + func (i UpgradeNoteArgs) ToUpgradeNotePtrOutput() UpgradeNotePtrOutput { return i.ToUpgradeNotePtrOutputWithContext(context.Background()) } @@ -22416,6 +25495,12 @@ func (i *upgradeNotePtrType) ToUpgradeNotePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(UpgradeNotePtrOutput) } +func (i *upgradeNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*UpgradeNote] { + return pulumix.Output[*UpgradeNote]{ + OutputState: i.ToUpgradeNotePtrOutputWithContext(ctx).OutputState, + } +} + // An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be a Upgrade Note. type UpgradeNoteOutput struct{ *pulumi.OutputState } @@ -22441,6 +25526,12 @@ func (o UpgradeNoteOutput) ToUpgradeNotePtrOutputWithContext(ctx context.Context }).(UpgradeNotePtrOutput) } +func (o UpgradeNoteOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeNote] { + return pulumix.Output[UpgradeNote]{ + OutputState: o.OutputState, + } +} + // Metadata about the upgrade for each specific operating system. func (o UpgradeNoteOutput) Distributions() UpgradeDistributionArrayOutput { return o.ApplyT(func(v UpgradeNote) []UpgradeDistribution { return v.Distributions }).(UpgradeDistributionArrayOutput) @@ -22470,6 +25561,12 @@ func (o UpgradeNotePtrOutput) ToUpgradeNotePtrOutputWithContext(ctx context.Cont return o } +func (o UpgradeNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeNote] { + return pulumix.Output[*UpgradeNote]{ + OutputState: o.OutputState, + } +} + func (o UpgradeNotePtrOutput) Elem() UpgradeNoteOutput { return o.ApplyT(func(v *UpgradeNote) UpgradeNote { if v != nil { @@ -22535,6 +25632,12 @@ func (o UpgradeNoteResponseOutput) ToUpgradeNoteResponseOutputWithContext(ctx co return o } +func (o UpgradeNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeNoteResponse] { + return pulumix.Output[UpgradeNoteResponse]{ + OutputState: o.OutputState, + } +} + // Metadata about the upgrade for each specific operating system. func (o UpgradeNoteResponseOutput) Distributions() UpgradeDistributionResponseArrayOutput { return o.ApplyT(func(v UpgradeNoteResponse) []UpgradeDistributionResponse { return v.Distributions }).(UpgradeDistributionResponseArrayOutput) @@ -22593,6 +25696,12 @@ func (i UpgradeOccurrenceArgs) ToUpgradeOccurrenceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(UpgradeOccurrenceOutput) } +func (i UpgradeOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[UpgradeOccurrence] { + return pulumix.Output[UpgradeOccurrence]{ + OutputState: i.ToUpgradeOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i UpgradeOccurrenceArgs) ToUpgradeOccurrencePtrOutput() UpgradeOccurrencePtrOutput { return i.ToUpgradeOccurrencePtrOutputWithContext(context.Background()) } @@ -22634,6 +25743,12 @@ func (i *upgradeOccurrencePtrType) ToUpgradeOccurrencePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(UpgradeOccurrencePtrOutput) } +func (i *upgradeOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*UpgradeOccurrence] { + return pulumix.Output[*UpgradeOccurrence]{ + OutputState: i.ToUpgradeOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). type UpgradeOccurrenceOutput struct{ *pulumi.OutputState } @@ -22659,6 +25774,12 @@ func (o UpgradeOccurrenceOutput) ToUpgradeOccurrencePtrOutputWithContext(ctx con }).(UpgradeOccurrencePtrOutput) } +func (o UpgradeOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeOccurrence] { + return pulumix.Output[UpgradeOccurrence]{ + OutputState: o.OutputState, + } +} + // Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence. func (o UpgradeOccurrenceOutput) Distribution() UpgradeDistributionPtrOutput { return o.ApplyT(func(v UpgradeOccurrence) *UpgradeDistribution { return v.Distribution }).(UpgradeDistributionPtrOutput) @@ -22688,6 +25809,12 @@ func (o UpgradeOccurrencePtrOutput) ToUpgradeOccurrencePtrOutputWithContext(ctx return o } +func (o UpgradeOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeOccurrence] { + return pulumix.Output[*UpgradeOccurrence]{ + OutputState: o.OutputState, + } +} + func (o UpgradeOccurrencePtrOutput) Elem() UpgradeOccurrenceOutput { return o.ApplyT(func(v *UpgradeOccurrence) UpgradeOccurrence { if v != nil { @@ -22753,6 +25880,12 @@ func (o UpgradeOccurrenceResponseOutput) ToUpgradeOccurrenceResponseOutputWithCo return o } +func (o UpgradeOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeOccurrenceResponse] { + return pulumix.Output[UpgradeOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence. func (o UpgradeOccurrenceResponseOutput) Distribution() UpgradeDistributionResponseOutput { return o.ApplyT(func(v UpgradeOccurrenceResponse) UpgradeDistributionResponse { return v.Distribution }).(UpgradeDistributionResponseOutput) @@ -22819,6 +25952,12 @@ func (i VersionArgs) ToVersionOutputWithContext(ctx context.Context) VersionOutp return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i VersionArgs) ToOutput(ctx context.Context) pulumix.Output[Version] { + return pulumix.Output[Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + func (i VersionArgs) ToVersionPtrOutput() VersionPtrOutput { return i.ToVersionPtrOutputWithContext(context.Background()) } @@ -22860,6 +25999,12 @@ func (i *versionPtrType) ToVersionPtrOutputWithContext(ctx context.Context) Vers return pulumi.ToOutputWithContext(ctx, i).(VersionPtrOutput) } +func (i *versionPtrType) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ type VersionOutput struct{ *pulumi.OutputState } @@ -22885,6 +26030,12 @@ func (o VersionOutput) ToVersionPtrOutputWithContext(ctx context.Context) Versio }).(VersionPtrOutput) } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[Version] { + return pulumix.Output[Version]{ + OutputState: o.OutputState, + } +} + // Used to correct mistakes in the version numbering scheme. func (o VersionOutput) Epoch() pulumi.IntPtrOutput { return o.ApplyT(func(v Version) *int { return v.Epoch }).(pulumi.IntPtrOutput) @@ -22924,6 +26075,12 @@ func (o VersionPtrOutput) ToVersionPtrOutputWithContext(ctx context.Context) Ver return o } +func (o VersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + func (o VersionPtrOutput) Elem() VersionOutput { return o.ApplyT(func(v *Version) Version { if v != nil { @@ -23013,6 +26170,12 @@ func (o VersionResponseOutput) ToVersionResponseOutputWithContext(ctx context.Co return o } +func (o VersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VersionResponse] { + return pulumix.Output[VersionResponse]{ + OutputState: o.OutputState, + } +} + // Used to correct mistakes in the version numbering scheme. func (o VersionResponseOutput) Epoch() pulumi.IntOutput { return o.ApplyT(func(v VersionResponse) int { return v.Epoch }).(pulumi.IntOutput) @@ -23097,6 +26260,12 @@ func (i VexAssessmentArgs) ToVexAssessmentOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(VexAssessmentOutput) } +func (i VexAssessmentArgs) ToOutput(ctx context.Context) pulumix.Output[VexAssessment] { + return pulumix.Output[VexAssessment]{ + OutputState: i.ToVexAssessmentOutputWithContext(ctx).OutputState, + } +} + func (i VexAssessmentArgs) ToVexAssessmentPtrOutput() VexAssessmentPtrOutput { return i.ToVexAssessmentPtrOutputWithContext(context.Background()) } @@ -23138,6 +26307,12 @@ func (i *vexAssessmentPtrType) ToVexAssessmentPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(VexAssessmentPtrOutput) } +func (i *vexAssessmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*VexAssessment] { + return pulumix.Output[*VexAssessment]{ + OutputState: i.ToVexAssessmentPtrOutputWithContext(ctx).OutputState, + } +} + // VexAssessment provides all publisher provided Vex information that is related to this vulnerability. type VexAssessmentOutput struct{ *pulumi.OutputState } @@ -23163,6 +26338,12 @@ func (o VexAssessmentOutput) ToVexAssessmentPtrOutputWithContext(ctx context.Con }).(VexAssessmentPtrOutput) } +func (o VexAssessmentOutput) ToOutput(ctx context.Context) pulumix.Output[VexAssessment] { + return pulumix.Output[VexAssessment]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o VexAssessmentOutput) Cve() pulumi.StringPtrOutput { return o.ApplyT(func(v VexAssessment) *string { return v.Cve }).(pulumi.StringPtrOutput) @@ -23212,6 +26393,12 @@ func (o VexAssessmentPtrOutput) ToVexAssessmentPtrOutputWithContext(ctx context. return o } +func (o VexAssessmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VexAssessment] { + return pulumix.Output[*VexAssessment]{ + OutputState: o.OutputState, + } +} + func (o VexAssessmentPtrOutput) Elem() VexAssessmentOutput { return o.ApplyT(func(v *VexAssessment) VexAssessment { if v != nil { @@ -23325,6 +26512,12 @@ func (o VexAssessmentResponseOutput) ToVexAssessmentResponseOutputWithContext(ct return o } +func (o VexAssessmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VexAssessmentResponse] { + return pulumix.Output[VexAssessmentResponse]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o VexAssessmentResponseOutput) Cve() pulumi.StringOutput { return o.ApplyT(func(v VexAssessmentResponse) string { return v.Cve }).(pulumi.StringOutput) @@ -23419,6 +26612,12 @@ func (i VulnerabilityAssessmentNoteArgs) ToVulnerabilityAssessmentNoteOutputWith return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityAssessmentNoteOutput) } +func (i VulnerabilityAssessmentNoteArgs) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityAssessmentNote] { + return pulumix.Output[VulnerabilityAssessmentNote]{ + OutputState: i.ToVulnerabilityAssessmentNoteOutputWithContext(ctx).OutputState, + } +} + func (i VulnerabilityAssessmentNoteArgs) ToVulnerabilityAssessmentNotePtrOutput() VulnerabilityAssessmentNotePtrOutput { return i.ToVulnerabilityAssessmentNotePtrOutputWithContext(context.Background()) } @@ -23460,6 +26659,12 @@ func (i *vulnerabilityAssessmentNotePtrType) ToVulnerabilityAssessmentNotePtrOut return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityAssessmentNotePtrOutput) } +func (i *vulnerabilityAssessmentNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityAssessmentNote] { + return pulumix.Output[*VulnerabilityAssessmentNote]{ + OutputState: i.ToVulnerabilityAssessmentNotePtrOutputWithContext(ctx).OutputState, + } +} + // A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format. type VulnerabilityAssessmentNoteOutput struct{ *pulumi.OutputState } @@ -23485,6 +26690,12 @@ func (o VulnerabilityAssessmentNoteOutput) ToVulnerabilityAssessmentNotePtrOutpu }).(VulnerabilityAssessmentNotePtrOutput) } +func (o VulnerabilityAssessmentNoteOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityAssessmentNote] { + return pulumix.Output[VulnerabilityAssessmentNote]{ + OutputState: o.OutputState, + } +} + // Represents a vulnerability assessment for the product. func (o VulnerabilityAssessmentNoteOutput) Assessment() AssessmentPtrOutput { return o.ApplyT(func(v VulnerabilityAssessmentNote) *Assessment { return v.Assessment }).(AssessmentPtrOutput) @@ -23534,6 +26745,12 @@ func (o VulnerabilityAssessmentNotePtrOutput) ToVulnerabilityAssessmentNotePtrOu return o } +func (o VulnerabilityAssessmentNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityAssessmentNote] { + return pulumix.Output[*VulnerabilityAssessmentNote]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityAssessmentNotePtrOutput) Elem() VulnerabilityAssessmentNoteOutput { return o.ApplyT(func(v *VulnerabilityAssessmentNote) VulnerabilityAssessmentNote { if v != nil { @@ -23647,6 +26864,12 @@ func (o VulnerabilityAssessmentNoteResponseOutput) ToVulnerabilityAssessmentNote return o } +func (o VulnerabilityAssessmentNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityAssessmentNoteResponse] { + return pulumix.Output[VulnerabilityAssessmentNoteResponse]{ + OutputState: o.OutputState, + } +} + // Represents a vulnerability assessment for the product. func (o VulnerabilityAssessmentNoteResponseOutput) Assessment() AssessmentResponseOutput { return o.ApplyT(func(v VulnerabilityAssessmentNoteResponse) AssessmentResponse { return v.Assessment }).(AssessmentResponseOutput) @@ -23737,6 +26960,12 @@ func (i VulnerabilityDetailsArgs) ToVulnerabilityDetailsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityDetailsOutput) } +func (i VulnerabilityDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityDetails] { + return pulumix.Output[VulnerabilityDetails]{ + OutputState: i.ToVulnerabilityDetailsOutputWithContext(ctx).OutputState, + } +} + func (i VulnerabilityDetailsArgs) ToVulnerabilityDetailsPtrOutput() VulnerabilityDetailsPtrOutput { return i.ToVulnerabilityDetailsPtrOutputWithContext(context.Background()) } @@ -23778,6 +27007,12 @@ func (i *vulnerabilityDetailsPtrType) ToVulnerabilityDetailsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityDetailsPtrOutput) } +func (i *vulnerabilityDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityDetails] { + return pulumix.Output[*VulnerabilityDetails]{ + OutputState: i.ToVulnerabilityDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Used by Occurrence to point to where the vulnerability exists and how to fix it. type VulnerabilityDetailsOutput struct{ *pulumi.OutputState } @@ -23803,6 +27038,12 @@ func (o VulnerabilityDetailsOutput) ToVulnerabilityDetailsPtrOutputWithContext(c }).(VulnerabilityDetailsPtrOutput) } +func (o VulnerabilityDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityDetails] { + return pulumix.Output[VulnerabilityDetails]{ + OutputState: o.OutputState, + } +} + // The CVSS v2 score of this vulnerability. func (o VulnerabilityDetailsOutput) CvssV2() CVSSPtrOutput { return o.ApplyT(func(v VulnerabilityDetails) *CVSS { return v.CvssV2 }).(CVSSPtrOutput) @@ -23847,6 +27088,12 @@ func (o VulnerabilityDetailsPtrOutput) ToVulnerabilityDetailsPtrOutputWithContex return o } +func (o VulnerabilityDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityDetails] { + return pulumix.Output[*VulnerabilityDetails]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityDetailsPtrOutput) Elem() VulnerabilityDetailsOutput { return o.ApplyT(func(v *VulnerabilityDetails) VulnerabilityDetails { if v != nil { @@ -23954,6 +27201,12 @@ func (o VulnerabilityDetailsResponseOutput) ToVulnerabilityDetailsResponseOutput return o } +func (o VulnerabilityDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityDetailsResponse] { + return pulumix.Output[VulnerabilityDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity. func (o VulnerabilityDetailsResponseOutput) CvssScore() pulumi.Float64Output { return o.ApplyT(func(v VulnerabilityDetailsResponse) float64 { return v.CvssScore }).(pulumi.Float64Output) @@ -24046,6 +27299,12 @@ func (i VulnerabilityLocationArgs) ToVulnerabilityLocationOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityLocationOutput) } +func (i VulnerabilityLocationArgs) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityLocation] { + return pulumix.Output[VulnerabilityLocation]{ + OutputState: i.ToVulnerabilityLocationOutputWithContext(ctx).OutputState, + } +} + func (i VulnerabilityLocationArgs) ToVulnerabilityLocationPtrOutput() VulnerabilityLocationPtrOutput { return i.ToVulnerabilityLocationPtrOutputWithContext(context.Background()) } @@ -24087,6 +27346,12 @@ func (i *vulnerabilityLocationPtrType) ToVulnerabilityLocationPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityLocationPtrOutput) } +func (i *vulnerabilityLocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityLocation] { + return pulumix.Output[*VulnerabilityLocation]{ + OutputState: i.ToVulnerabilityLocationPtrOutputWithContext(ctx).OutputState, + } +} + // The location of the vulnerability type VulnerabilityLocationOutput struct{ *pulumi.OutputState } @@ -24112,6 +27377,12 @@ func (o VulnerabilityLocationOutput) ToVulnerabilityLocationPtrOutputWithContext }).(VulnerabilityLocationPtrOutput) } +func (o VulnerabilityLocationOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityLocation] { + return pulumix.Output[VulnerabilityLocation]{ + OutputState: o.OutputState, + } +} + // The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests. func (o VulnerabilityLocationOutput) CpeUri() pulumi.StringPtrOutput { return o.ApplyT(func(v VulnerabilityLocation) *string { return v.CpeUri }).(pulumi.StringPtrOutput) @@ -24146,6 +27417,12 @@ func (o VulnerabilityLocationPtrOutput) ToVulnerabilityLocationPtrOutputWithCont return o } +func (o VulnerabilityLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityLocation] { + return pulumix.Output[*VulnerabilityLocation]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityLocationPtrOutput) Elem() VulnerabilityLocationOutput { return o.ApplyT(func(v *VulnerabilityLocation) VulnerabilityLocation { if v != nil { @@ -24223,6 +27500,12 @@ func (o VulnerabilityLocationResponseOutput) ToVulnerabilityLocationResponseOutp return o } +func (o VulnerabilityLocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityLocationResponse] { + return pulumix.Output[VulnerabilityLocationResponse]{ + OutputState: o.OutputState, + } +} + // The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests. func (o VulnerabilityLocationResponseOutput) CpeUri() pulumi.StringOutput { return o.ApplyT(func(v VulnerabilityLocationResponse) string { return v.CpeUri }).(pulumi.StringOutput) @@ -24298,6 +27581,12 @@ func (i VulnerabilityTypeArgs) ToVulnerabilityTypeOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityTypeOutput) } +func (i VulnerabilityTypeArgs) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityType] { + return pulumix.Output[VulnerabilityType]{ + OutputState: i.ToVulnerabilityTypeOutputWithContext(ctx).OutputState, + } +} + func (i VulnerabilityTypeArgs) ToVulnerabilityTypePtrOutput() VulnerabilityTypePtrOutput { return i.ToVulnerabilityTypePtrOutputWithContext(context.Background()) } @@ -24339,6 +27628,12 @@ func (i *vulnerabilityTypePtrType) ToVulnerabilityTypePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityTypePtrOutput) } +func (i *vulnerabilityTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityType] { + return pulumix.Output[*VulnerabilityType]{ + OutputState: i.ToVulnerabilityTypePtrOutputWithContext(ctx).OutputState, + } +} + // VulnerabilityType provides metadata about a security vulnerability. type VulnerabilityTypeOutput struct{ *pulumi.OutputState } @@ -24364,6 +27659,12 @@ func (o VulnerabilityTypeOutput) ToVulnerabilityTypePtrOutputWithContext(ctx con }).(VulnerabilityTypePtrOutput) } +func (o VulnerabilityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityType] { + return pulumix.Output[VulnerabilityType]{ + OutputState: o.OutputState, + } +} + // The CVSS score for this Vulnerability. func (o VulnerabilityTypeOutput) CvssScore() pulumi.Float64PtrOutput { return o.ApplyT(func(v VulnerabilityType) *float64 { return v.CvssScore }).(pulumi.Float64PtrOutput) @@ -24408,6 +27709,12 @@ func (o VulnerabilityTypePtrOutput) ToVulnerabilityTypePtrOutputWithContext(ctx return o } +func (o VulnerabilityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityType] { + return pulumix.Output[*VulnerabilityType]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityTypePtrOutput) Elem() VulnerabilityTypeOutput { return o.ApplyT(func(v *VulnerabilityType) VulnerabilityType { if v != nil { @@ -24509,6 +27816,12 @@ func (o VulnerabilityTypeResponseOutput) ToVulnerabilityTypeResponseOutputWithCo return o } +func (o VulnerabilityTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityTypeResponse] { + return pulumix.Output[VulnerabilityTypeResponse]{ + OutputState: o.OutputState, + } +} + // The CVSS score for this Vulnerability. func (o VulnerabilityTypeResponseOutput) CvssScore() pulumi.Float64Output { return o.ApplyT(func(v VulnerabilityTypeResponse) float64 { return v.CvssScore }).(pulumi.Float64Output) diff --git a/sdk/go/google/containeranalysis/v1beta1/getNote.go b/sdk/go/google/containeranalysis/v1beta1/getNote.go index 48845fb8e1..ddafa6eabc 100644 --- a/sdk/go/google/containeranalysis/v1beta1/getNote.go +++ b/sdk/go/google/containeranalysis/v1beta1/getNote.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified note. @@ -112,6 +113,12 @@ func (o LookupNoteResultOutput) ToLookupNoteResultOutputWithContext(ctx context. return o } +func (o LookupNoteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNoteResult] { + return pulumix.Output[LookupNoteResult]{ + OutputState: o.OutputState, + } +} + // A note describing an attestation role. func (o LookupNoteResultOutput) AttestationAuthority() AuthorityResponseOutput { return o.ApplyT(func(v LookupNoteResult) AuthorityResponse { return v.AttestationAuthority }).(AuthorityResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/getNoteIamPolicy.go b/sdk/go/google/containeranalysis/v1beta1/getNoteIamPolicy.go index e2866a4410..e056caab66 100644 --- a/sdk/go/google/containeranalysis/v1beta1/getNoteIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1beta1/getNoteIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -72,6 +73,12 @@ func (o LookupNoteIamPolicyResultOutput) ToLookupNoteIamPolicyResultOutputWithCo return o } +func (o LookupNoteIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNoteIamPolicyResult] { + return pulumix.Output[LookupNoteIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupNoteIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupNoteIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/getOccurrence.go b/sdk/go/google/containeranalysis/v1beta1/getOccurrence.go index 8fd36880f7..79a59eda41 100644 --- a/sdk/go/google/containeranalysis/v1beta1/getOccurrence.go +++ b/sdk/go/google/containeranalysis/v1beta1/getOccurrence.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified occurrence. @@ -108,6 +109,12 @@ func (o LookupOccurrenceResultOutput) ToLookupOccurrenceResultOutputWithContext( return o } +func (o LookupOccurrenceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOccurrenceResult] { + return pulumix.Output[LookupOccurrenceResult]{ + OutputState: o.OutputState, + } +} + // Describes an attestation of an artifact. func (o LookupOccurrenceResultOutput) Attestation() DetailsResponseOutput { return o.ApplyT(func(v LookupOccurrenceResult) DetailsResponse { return v.Attestation }).(DetailsResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/getOccurrenceIamPolicy.go b/sdk/go/google/containeranalysis/v1beta1/getOccurrenceIamPolicy.go index 8007f85cb9..0cdee1982e 100644 --- a/sdk/go/google/containeranalysis/v1beta1/getOccurrenceIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1beta1/getOccurrenceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -72,6 +73,12 @@ func (o LookupOccurrenceIamPolicyResultOutput) ToLookupOccurrenceIamPolicyResult return o } +func (o LookupOccurrenceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOccurrenceIamPolicyResult] { + return pulumix.Output[LookupOccurrenceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupOccurrenceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupOccurrenceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/note.go b/sdk/go/google/containeranalysis/v1beta1/note.go index f4e3c665f4..4c5d9ddb21 100644 --- a/sdk/go/google/containeranalysis/v1beta1/note.go +++ b/sdk/go/google/containeranalysis/v1beta1/note.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new note. @@ -227,6 +228,12 @@ func (i *Note) ToNoteOutputWithContext(ctx context.Context) NoteOutput { return pulumi.ToOutputWithContext(ctx, i).(NoteOutput) } +func (i *Note) ToOutput(ctx context.Context) pulumix.Output[*Note] { + return pulumix.Output[*Note]{ + OutputState: i.ToNoteOutputWithContext(ctx).OutputState, + } +} + type NoteOutput struct{ *pulumi.OutputState } func (NoteOutput) ElementType() reflect.Type { @@ -241,6 +248,12 @@ func (o NoteOutput) ToNoteOutputWithContext(ctx context.Context) NoteOutput { return o } +func (o NoteOutput) ToOutput(ctx context.Context) pulumix.Output[*Note] { + return pulumix.Output[*Note]{ + OutputState: o.OutputState, + } +} + // A note describing an attestation role. func (o NoteOutput) AttestationAuthority() AuthorityResponseOutput { return o.ApplyT(func(v *Note) AuthorityResponseOutput { return v.AttestationAuthority }).(AuthorityResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/noteIamBinding.go b/sdk/go/google/containeranalysis/v1beta1/noteIamBinding.go index 8631b12697..96c089efb0 100644 --- a/sdk/go/google/containeranalysis/v1beta1/noteIamBinding.go +++ b/sdk/go/google/containeranalysis/v1beta1/noteIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -135,6 +136,12 @@ func (i *NoteIamBinding) ToNoteIamBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NoteIamBindingOutput) } +func (i *NoteIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NoteIamBinding] { + return pulumix.Output[*NoteIamBinding]{ + OutputState: i.ToNoteIamBindingOutputWithContext(ctx).OutputState, + } +} + type NoteIamBindingOutput struct{ *pulumi.OutputState } func (NoteIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NoteIamBindingOutput) ToNoteIamBindingOutputWithContext(ctx context.Cont return o } +func (o NoteIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NoteIamBinding] { + return pulumix.Output[*NoteIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NoteIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NoteIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/noteIamMember.go b/sdk/go/google/containeranalysis/v1beta1/noteIamMember.go index 7f4c036316..9f89b257c6 100644 --- a/sdk/go/google/containeranalysis/v1beta1/noteIamMember.go +++ b/sdk/go/google/containeranalysis/v1beta1/noteIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -135,6 +136,12 @@ func (i *NoteIamMember) ToNoteIamMemberOutputWithContext(ctx context.Context) No return pulumi.ToOutputWithContext(ctx, i).(NoteIamMemberOutput) } +func (i *NoteIamMember) ToOutput(ctx context.Context) pulumix.Output[*NoteIamMember] { + return pulumix.Output[*NoteIamMember]{ + OutputState: i.ToNoteIamMemberOutputWithContext(ctx).OutputState, + } +} + type NoteIamMemberOutput struct{ *pulumi.OutputState } func (NoteIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NoteIamMemberOutput) ToNoteIamMemberOutputWithContext(ctx context.Contex return o } +func (o NoteIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NoteIamMember] { + return pulumix.Output[*NoteIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NoteIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NoteIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/noteIamPolicy.go b/sdk/go/google/containeranalysis/v1beta1/noteIamPolicy.go index af39e38a9f..0d5aab5a59 100644 --- a/sdk/go/google/containeranalysis/v1beta1/noteIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1beta1/noteIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -121,6 +122,12 @@ func (i *NoteIamPolicy) ToNoteIamPolicyOutputWithContext(ctx context.Context) No return pulumi.ToOutputWithContext(ctx, i).(NoteIamPolicyOutput) } +func (i *NoteIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NoteIamPolicy] { + return pulumix.Output[*NoteIamPolicy]{ + OutputState: i.ToNoteIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NoteIamPolicyOutput struct{ *pulumi.OutputState } func (NoteIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o NoteIamPolicyOutput) ToNoteIamPolicyOutputWithContext(ctx context.Contex return o } +func (o NoteIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NoteIamPolicy] { + return pulumix.Output[*NoteIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o NoteIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *NoteIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/occurrence.go b/sdk/go/google/containeranalysis/v1beta1/occurrence.go index 0cfe84f545..87c7e2ac72 100644 --- a/sdk/go/google/containeranalysis/v1beta1/occurrence.go +++ b/sdk/go/google/containeranalysis/v1beta1/occurrence.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new occurrence. @@ -211,6 +212,12 @@ func (i *Occurrence) ToOccurrenceOutputWithContext(ctx context.Context) Occurren return pulumi.ToOutputWithContext(ctx, i).(OccurrenceOutput) } +func (i *Occurrence) ToOutput(ctx context.Context) pulumix.Output[*Occurrence] { + return pulumix.Output[*Occurrence]{ + OutputState: i.ToOccurrenceOutputWithContext(ctx).OutputState, + } +} + type OccurrenceOutput struct{ *pulumi.OutputState } func (OccurrenceOutput) ElementType() reflect.Type { @@ -225,6 +232,12 @@ func (o OccurrenceOutput) ToOccurrenceOutputWithContext(ctx context.Context) Occ return o } +func (o OccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[*Occurrence] { + return pulumix.Output[*Occurrence]{ + OutputState: o.OutputState, + } +} + // Describes an attestation of an artifact. func (o OccurrenceOutput) Attestation() DetailsResponseOutput { return o.ApplyT(func(v *Occurrence) DetailsResponseOutput { return v.Attestation }).(DetailsResponseOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/occurrenceIamBinding.go b/sdk/go/google/containeranalysis/v1beta1/occurrenceIamBinding.go index 2d65504e39..13ae3e9d94 100644 --- a/sdk/go/google/containeranalysis/v1beta1/occurrenceIamBinding.go +++ b/sdk/go/google/containeranalysis/v1beta1/occurrenceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -135,6 +136,12 @@ func (i *OccurrenceIamBinding) ToOccurrenceIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(OccurrenceIamBindingOutput) } +func (i *OccurrenceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamBinding] { + return pulumix.Output[*OccurrenceIamBinding]{ + OutputState: i.ToOccurrenceIamBindingOutputWithContext(ctx).OutputState, + } +} + type OccurrenceIamBindingOutput struct{ *pulumi.OutputState } func (OccurrenceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OccurrenceIamBindingOutput) ToOccurrenceIamBindingOutputWithContext(ctx return o } +func (o OccurrenceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamBinding] { + return pulumix.Output[*OccurrenceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OccurrenceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OccurrenceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/occurrenceIamMember.go b/sdk/go/google/containeranalysis/v1beta1/occurrenceIamMember.go index 309a682cca..438e6c81b9 100644 --- a/sdk/go/google/containeranalysis/v1beta1/occurrenceIamMember.go +++ b/sdk/go/google/containeranalysis/v1beta1/occurrenceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -135,6 +136,12 @@ func (i *OccurrenceIamMember) ToOccurrenceIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(OccurrenceIamMemberOutput) } +func (i *OccurrenceIamMember) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamMember] { + return pulumix.Output[*OccurrenceIamMember]{ + OutputState: i.ToOccurrenceIamMemberOutputWithContext(ctx).OutputState, + } +} + type OccurrenceIamMemberOutput struct{ *pulumi.OutputState } func (OccurrenceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OccurrenceIamMemberOutput) ToOccurrenceIamMemberOutputWithContext(ctx co return o } +func (o OccurrenceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamMember] { + return pulumix.Output[*OccurrenceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OccurrenceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OccurrenceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/occurrenceIamPolicy.go b/sdk/go/google/containeranalysis/v1beta1/occurrenceIamPolicy.go index a7916678d2..53885526af 100644 --- a/sdk/go/google/containeranalysis/v1beta1/occurrenceIamPolicy.go +++ b/sdk/go/google/containeranalysis/v1beta1/occurrenceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences. @@ -121,6 +122,12 @@ func (i *OccurrenceIamPolicy) ToOccurrenceIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(OccurrenceIamPolicyOutput) } +func (i *OccurrenceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamPolicy] { + return pulumix.Output[*OccurrenceIamPolicy]{ + OutputState: i.ToOccurrenceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OccurrenceIamPolicyOutput struct{ *pulumi.OutputState } func (OccurrenceIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o OccurrenceIamPolicyOutput) ToOccurrenceIamPolicyOutputWithContext(ctx co return o } +func (o OccurrenceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OccurrenceIamPolicy] { + return pulumix.Output[*OccurrenceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o OccurrenceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *OccurrenceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/containeranalysis/v1beta1/pulumiEnums.go b/sdk/go/google/containeranalysis/v1beta1/pulumiEnums.go index ee7b62df19..e8d5d6ee60 100644 --- a/sdk/go/google/containeranalysis/v1beta1/pulumiEnums.go +++ b/sdk/go/google/containeranalysis/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The alias kind. @@ -84,6 +85,12 @@ func (o AliasContextKindOutput) ToAliasContextKindPtrOutputWithContext(ctx conte }).(AliasContextKindPtrOutput) } +func (o AliasContextKindOutput) ToOutput(ctx context.Context) pulumix.Output[AliasContextKind] { + return pulumix.Output[AliasContextKind]{ + OutputState: o.OutputState, + } +} + func (o AliasContextKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AliasContextKindPtrOutput) ToAliasContextKindPtrOutputWithContext(ctx co return o } +func (o AliasContextKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AliasContextKind] { + return pulumix.Output[*AliasContextKind]{ + OutputState: o.OutputState, + } +} + func (o AliasContextKindPtrOutput) Elem() AliasContextKindOutput { return o.ApplyT(func(v *AliasContextKind) AliasContextKind { if v != nil { @@ -181,6 +194,12 @@ func (in *aliasContextKindPtr) ToAliasContextKindPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AliasContextKindPtrOutput) } +func (in *aliasContextKindPtr) ToOutput(ctx context.Context) pulumix.Output[*AliasContextKind] { + return pulumix.Output[*AliasContextKind]{ + OutputState: in.ToAliasContextKindPtrOutputWithContext(ctx).OutputState, + } +} + // Provides the state of this Vulnerability assessment. type AssessmentState string @@ -257,6 +276,12 @@ func (o AssessmentStateOutput) ToAssessmentStatePtrOutputWithContext(ctx context }).(AssessmentStatePtrOutput) } +func (o AssessmentStateOutput) ToOutput(ctx context.Context) pulumix.Output[AssessmentState] { + return pulumix.Output[AssessmentState]{ + OutputState: o.OutputState, + } +} + func (o AssessmentStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -292,6 +317,12 @@ func (o AssessmentStatePtrOutput) ToAssessmentStatePtrOutputWithContext(ctx cont return o } +func (o AssessmentStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AssessmentState] { + return pulumix.Output[*AssessmentState]{ + OutputState: o.OutputState, + } +} + func (o AssessmentStatePtrOutput) Elem() AssessmentStateOutput { return o.ApplyT(func(v *AssessmentState) AssessmentState { if v != nil { @@ -354,6 +385,12 @@ func (in *assessmentStatePtr) ToAssessmentStatePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(AssessmentStatePtrOutput) } +func (in *assessmentStatePtr) ToOutput(ctx context.Context) pulumix.Output[*AssessmentState] { + return pulumix.Output[*AssessmentState]{ + OutputState: in.ToAssessmentStatePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the key, either stored in `public_key` or referenced in `key_id`. type BuildSignatureKeyType string @@ -426,6 +463,12 @@ func (o BuildSignatureKeyTypeOutput) ToBuildSignatureKeyTypePtrOutputWithContext }).(BuildSignatureKeyTypePtrOutput) } +func (o BuildSignatureKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BuildSignatureKeyType] { + return pulumix.Output[BuildSignatureKeyType]{ + OutputState: o.OutputState, + } +} + func (o BuildSignatureKeyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o BuildSignatureKeyTypePtrOutput) ToBuildSignatureKeyTypePtrOutputWithCont return o } +func (o BuildSignatureKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildSignatureKeyType] { + return pulumix.Output[*BuildSignatureKeyType]{ + OutputState: o.OutputState, + } +} + func (o BuildSignatureKeyTypePtrOutput) Elem() BuildSignatureKeyTypeOutput { return o.ApplyT(func(v *BuildSignatureKeyType) BuildSignatureKeyType { if v != nil { @@ -523,6 +572,12 @@ func (in *buildSignatureKeyTypePtr) ToBuildSignatureKeyTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(BuildSignatureKeyTypePtrOutput) } +func (in *buildSignatureKeyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*BuildSignatureKeyType] { + return pulumix.Output[*BuildSignatureKeyType]{ + OutputState: in.ToBuildSignatureKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3, CVSS v2 type CVSSAttackComplexity string @@ -597,6 +652,12 @@ func (o CVSSAttackComplexityOutput) ToCVSSAttackComplexityPtrOutputWithContext(c }).(CVSSAttackComplexityPtrOutput) } +func (o CVSSAttackComplexityOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAttackComplexity] { + return pulumix.Output[CVSSAttackComplexity]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackComplexityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -632,6 +693,12 @@ func (o CVSSAttackComplexityPtrOutput) ToCVSSAttackComplexityPtrOutputWithContex return o } +func (o CVSSAttackComplexityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackComplexity] { + return pulumix.Output[*CVSSAttackComplexity]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackComplexityPtrOutput) Elem() CVSSAttackComplexityOutput { return o.ApplyT(func(v *CVSSAttackComplexity) CVSSAttackComplexity { if v != nil { @@ -694,6 +761,12 @@ func (in *cvssattackComplexityPtr) ToCVSSAttackComplexityPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(CVSSAttackComplexityPtrOutput) } +func (in *cvssattackComplexityPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackComplexity] { + return pulumix.Output[*CVSSAttackComplexity]{ + OutputState: in.ToCVSSAttackComplexityPtrOutputWithContext(ctx).OutputState, + } +} + // Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Defined in CVSS v3, CVSS v2 type CVSSAttackVector string @@ -770,6 +843,12 @@ func (o CVSSAttackVectorOutput) ToCVSSAttackVectorPtrOutputWithContext(ctx conte }).(CVSSAttackVectorPtrOutput) } +func (o CVSSAttackVectorOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAttackVector] { + return pulumix.Output[CVSSAttackVector]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackVectorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -805,6 +884,12 @@ func (o CVSSAttackVectorPtrOutput) ToCVSSAttackVectorPtrOutputWithContext(ctx co return o } +func (o CVSSAttackVectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackVector] { + return pulumix.Output[*CVSSAttackVector]{ + OutputState: o.OutputState, + } +} + func (o CVSSAttackVectorPtrOutput) Elem() CVSSAttackVectorOutput { return o.ApplyT(func(v *CVSSAttackVector) CVSSAttackVector { if v != nil { @@ -867,6 +952,12 @@ func (in *cvssattackVectorPtr) ToCVSSAttackVectorPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(CVSSAttackVectorPtrOutput) } +func (in *cvssattackVectorPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAttackVector] { + return pulumix.Output[*CVSSAttackVector]{ + OutputState: in.ToCVSSAttackVectorPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v2 type CVSSAuthentication string @@ -941,6 +1032,12 @@ func (o CVSSAuthenticationOutput) ToCVSSAuthenticationPtrOutputWithContext(ctx c }).(CVSSAuthenticationPtrOutput) } +func (o CVSSAuthenticationOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAuthentication] { + return pulumix.Output[CVSSAuthentication]{ + OutputState: o.OutputState, + } +} + func (o CVSSAuthenticationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -976,6 +1073,12 @@ func (o CVSSAuthenticationPtrOutput) ToCVSSAuthenticationPtrOutputWithContext(ct return o } +func (o CVSSAuthenticationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAuthentication] { + return pulumix.Output[*CVSSAuthentication]{ + OutputState: o.OutputState, + } +} + func (o CVSSAuthenticationPtrOutput) Elem() CVSSAuthenticationOutput { return o.ApplyT(func(v *CVSSAuthentication) CVSSAuthentication { if v != nil { @@ -1038,6 +1141,12 @@ func (in *cvssauthenticationPtr) ToCVSSAuthenticationPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(CVSSAuthenticationPtrOutput) } +func (in *cvssauthenticationPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAuthentication] { + return pulumix.Output[*CVSSAuthentication]{ + OutputState: in.ToCVSSAuthenticationPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3, CVSS v2 type CVSSAvailabilityImpact string @@ -1116,6 +1225,12 @@ func (o CVSSAvailabilityImpactOutput) ToCVSSAvailabilityImpactPtrOutputWithConte }).(CVSSAvailabilityImpactPtrOutput) } +func (o CVSSAvailabilityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSAvailabilityImpact] { + return pulumix.Output[CVSSAvailabilityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSAvailabilityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1151,6 +1266,12 @@ func (o CVSSAvailabilityImpactPtrOutput) ToCVSSAvailabilityImpactPtrOutputWithCo return o } +func (o CVSSAvailabilityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSAvailabilityImpact] { + return pulumix.Output[*CVSSAvailabilityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSAvailabilityImpactPtrOutput) Elem() CVSSAvailabilityImpactOutput { return o.ApplyT(func(v *CVSSAvailabilityImpact) CVSSAvailabilityImpact { if v != nil { @@ -1213,6 +1334,12 @@ func (in *cvssavailabilityImpactPtr) ToCVSSAvailabilityImpactPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CVSSAvailabilityImpactPtrOutput) } +func (in *cvssavailabilityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSAvailabilityImpact] { + return pulumix.Output[*CVSSAvailabilityImpact]{ + OutputState: in.ToCVSSAvailabilityImpactPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3, CVSS v2 type CVSSConfidentialityImpact string @@ -1291,6 +1418,12 @@ func (o CVSSConfidentialityImpactOutput) ToCVSSConfidentialityImpactPtrOutputWit }).(CVSSConfidentialityImpactPtrOutput) } +func (o CVSSConfidentialityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSConfidentialityImpact] { + return pulumix.Output[CVSSConfidentialityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSConfidentialityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1326,6 +1459,12 @@ func (o CVSSConfidentialityImpactPtrOutput) ToCVSSConfidentialityImpactPtrOutput return o } +func (o CVSSConfidentialityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSConfidentialityImpact] { + return pulumix.Output[*CVSSConfidentialityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSConfidentialityImpactPtrOutput) Elem() CVSSConfidentialityImpactOutput { return o.ApplyT(func(v *CVSSConfidentialityImpact) CVSSConfidentialityImpact { if v != nil { @@ -1388,6 +1527,12 @@ func (in *cvssconfidentialityImpactPtr) ToCVSSConfidentialityImpactPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(CVSSConfidentialityImpactPtrOutput) } +func (in *cvssconfidentialityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSConfidentialityImpact] { + return pulumix.Output[*CVSSConfidentialityImpact]{ + OutputState: in.ToCVSSConfidentialityImpactPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3, CVSS v2 type CVSSIntegrityImpact string @@ -1466,6 +1611,12 @@ func (o CVSSIntegrityImpactOutput) ToCVSSIntegrityImpactPtrOutputWithContext(ctx }).(CVSSIntegrityImpactPtrOutput) } +func (o CVSSIntegrityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSIntegrityImpact] { + return pulumix.Output[CVSSIntegrityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSIntegrityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1501,6 +1652,12 @@ func (o CVSSIntegrityImpactPtrOutput) ToCVSSIntegrityImpactPtrOutputWithContext( return o } +func (o CVSSIntegrityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSIntegrityImpact] { + return pulumix.Output[*CVSSIntegrityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSIntegrityImpactPtrOutput) Elem() CVSSIntegrityImpactOutput { return o.ApplyT(func(v *CVSSIntegrityImpact) CVSSIntegrityImpact { if v != nil { @@ -1563,6 +1720,12 @@ func (in *cvssintegrityImpactPtr) ToCVSSIntegrityImpactPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(CVSSIntegrityImpactPtrOutput) } +func (in *cvssintegrityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSIntegrityImpact] { + return pulumix.Output[*CVSSIntegrityImpact]{ + OutputState: in.ToCVSSIntegrityImpactPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3 type CVSSPrivilegesRequired string @@ -1637,6 +1800,12 @@ func (o CVSSPrivilegesRequiredOutput) ToCVSSPrivilegesRequiredPtrOutputWithConte }).(CVSSPrivilegesRequiredPtrOutput) } +func (o CVSSPrivilegesRequiredOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSPrivilegesRequired] { + return pulumix.Output[CVSSPrivilegesRequired]{ + OutputState: o.OutputState, + } +} + func (o CVSSPrivilegesRequiredOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1672,6 +1841,12 @@ func (o CVSSPrivilegesRequiredPtrOutput) ToCVSSPrivilegesRequiredPtrOutputWithCo return o } +func (o CVSSPrivilegesRequiredPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSPrivilegesRequired] { + return pulumix.Output[*CVSSPrivilegesRequired]{ + OutputState: o.OutputState, + } +} + func (o CVSSPrivilegesRequiredPtrOutput) Elem() CVSSPrivilegesRequiredOutput { return o.ApplyT(func(v *CVSSPrivilegesRequired) CVSSPrivilegesRequired { if v != nil { @@ -1734,6 +1909,12 @@ func (in *cvssprivilegesRequiredPtr) ToCVSSPrivilegesRequiredPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CVSSPrivilegesRequiredPtrOutput) } +func (in *cvssprivilegesRequiredPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSPrivilegesRequired] { + return pulumix.Output[*CVSSPrivilegesRequired]{ + OutputState: in.ToCVSSPrivilegesRequiredPtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3 type CVSSScope string @@ -1806,6 +1987,12 @@ func (o CVSSScopeOutput) ToCVSSScopePtrOutputWithContext(ctx context.Context) CV }).(CVSSScopePtrOutput) } +func (o CVSSScopeOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSScope] { + return pulumix.Output[CVSSScope]{ + OutputState: o.OutputState, + } +} + func (o CVSSScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1841,6 +2028,12 @@ func (o CVSSScopePtrOutput) ToCVSSScopePtrOutputWithContext(ctx context.Context) return o } +func (o CVSSScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSScope] { + return pulumix.Output[*CVSSScope]{ + OutputState: o.OutputState, + } +} + func (o CVSSScopePtrOutput) Elem() CVSSScopeOutput { return o.ApplyT(func(v *CVSSScope) CVSSScope { if v != nil { @@ -1903,6 +2096,12 @@ func (in *cvssscopePtr) ToCVSSScopePtrOutputWithContext(ctx context.Context) CVS return pulumi.ToOutputWithContext(ctx, in).(CVSSScopePtrOutput) } +func (in *cvssscopePtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSScope] { + return pulumix.Output[*CVSSScope]{ + OutputState: in.ToCVSSScopePtrOutputWithContext(ctx).OutputState, + } +} + // Defined in CVSS v3 type CVSSUserInteraction string @@ -1975,6 +2174,12 @@ func (o CVSSUserInteractionOutput) ToCVSSUserInteractionPtrOutputWithContext(ctx }).(CVSSUserInteractionPtrOutput) } +func (o CVSSUserInteractionOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSUserInteraction] { + return pulumix.Output[CVSSUserInteraction]{ + OutputState: o.OutputState, + } +} + func (o CVSSUserInteractionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2010,6 +2215,12 @@ func (o CVSSUserInteractionPtrOutput) ToCVSSUserInteractionPtrOutputWithContext( return o } +func (o CVSSUserInteractionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSUserInteraction] { + return pulumix.Output[*CVSSUserInteraction]{ + OutputState: o.OutputState, + } +} + func (o CVSSUserInteractionPtrOutput) Elem() CVSSUserInteractionOutput { return o.ApplyT(func(v *CVSSUserInteraction) CVSSUserInteraction { if v != nil { @@ -2072,6 +2283,12 @@ func (in *cvssuserInteractionPtr) ToCVSSUserInteractionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(CVSSUserInteractionPtrOutput) } +func (in *cvssuserInteractionPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSUserInteraction] { + return pulumix.Output[*CVSSUserInteraction]{ + OutputState: in.ToCVSSUserInteractionPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3AttackComplexity string const ( @@ -2140,6 +2357,12 @@ func (o CVSSv3AttackComplexityOutput) ToCVSSv3AttackComplexityPtrOutputWithConte }).(CVSSv3AttackComplexityPtrOutput) } +func (o CVSSv3AttackComplexityOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3AttackComplexity] { + return pulumix.Output[CVSSv3AttackComplexity]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AttackComplexityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2175,6 +2398,12 @@ func (o CVSSv3AttackComplexityPtrOutput) ToCVSSv3AttackComplexityPtrOutputWithCo return o } +func (o CVSSv3AttackComplexityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AttackComplexity] { + return pulumix.Output[*CVSSv3AttackComplexity]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AttackComplexityPtrOutput) Elem() CVSSv3AttackComplexityOutput { return o.ApplyT(func(v *CVSSv3AttackComplexity) CVSSv3AttackComplexity { if v != nil { @@ -2237,6 +2466,12 @@ func (in *cvssv3AttackComplexityPtr) ToCVSSv3AttackComplexityPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CVSSv3AttackComplexityPtrOutput) } +func (in *cvssv3AttackComplexityPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AttackComplexity] { + return pulumix.Output[*CVSSv3AttackComplexity]{ + OutputState: in.ToCVSSv3AttackComplexityPtrOutputWithContext(ctx).OutputState, + } +} + // Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. type CVSSv3AttackVector string @@ -2308,6 +2543,12 @@ func (o CVSSv3AttackVectorOutput) ToCVSSv3AttackVectorPtrOutputWithContext(ctx c }).(CVSSv3AttackVectorPtrOutput) } +func (o CVSSv3AttackVectorOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3AttackVector] { + return pulumix.Output[CVSSv3AttackVector]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AttackVectorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2343,6 +2584,12 @@ func (o CVSSv3AttackVectorPtrOutput) ToCVSSv3AttackVectorPtrOutputWithContext(ct return o } +func (o CVSSv3AttackVectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AttackVector] { + return pulumix.Output[*CVSSv3AttackVector]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AttackVectorPtrOutput) Elem() CVSSv3AttackVectorOutput { return o.ApplyT(func(v *CVSSv3AttackVector) CVSSv3AttackVector { if v != nil { @@ -2405,6 +2652,12 @@ func (in *cvssv3AttackVectorPtr) ToCVSSv3AttackVectorPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(CVSSv3AttackVectorPtrOutput) } +func (in *cvssv3AttackVectorPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AttackVector] { + return pulumix.Output[*CVSSv3AttackVector]{ + OutputState: in.ToCVSSv3AttackVectorPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3AvailabilityImpact string const ( @@ -2474,6 +2727,12 @@ func (o CVSSv3AvailabilityImpactOutput) ToCVSSv3AvailabilityImpactPtrOutputWithC }).(CVSSv3AvailabilityImpactPtrOutput) } +func (o CVSSv3AvailabilityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3AvailabilityImpact] { + return pulumix.Output[CVSSv3AvailabilityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AvailabilityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2509,6 +2768,12 @@ func (o CVSSv3AvailabilityImpactPtrOutput) ToCVSSv3AvailabilityImpactPtrOutputWi return o } +func (o CVSSv3AvailabilityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AvailabilityImpact] { + return pulumix.Output[*CVSSv3AvailabilityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3AvailabilityImpactPtrOutput) Elem() CVSSv3AvailabilityImpactOutput { return o.ApplyT(func(v *CVSSv3AvailabilityImpact) CVSSv3AvailabilityImpact { if v != nil { @@ -2571,6 +2836,12 @@ func (in *cvssv3AvailabilityImpactPtr) ToCVSSv3AvailabilityImpactPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(CVSSv3AvailabilityImpactPtrOutput) } +func (in *cvssv3AvailabilityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3AvailabilityImpact] { + return pulumix.Output[*CVSSv3AvailabilityImpact]{ + OutputState: in.ToCVSSv3AvailabilityImpactPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3ConfidentialityImpact string const ( @@ -2640,6 +2911,12 @@ func (o CVSSv3ConfidentialityImpactOutput) ToCVSSv3ConfidentialityImpactPtrOutpu }).(CVSSv3ConfidentialityImpactPtrOutput) } +func (o CVSSv3ConfidentialityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3ConfidentialityImpact] { + return pulumix.Output[CVSSv3ConfidentialityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3ConfidentialityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2675,6 +2952,12 @@ func (o CVSSv3ConfidentialityImpactPtrOutput) ToCVSSv3ConfidentialityImpactPtrOu return o } +func (o CVSSv3ConfidentialityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3ConfidentialityImpact] { + return pulumix.Output[*CVSSv3ConfidentialityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3ConfidentialityImpactPtrOutput) Elem() CVSSv3ConfidentialityImpactOutput { return o.ApplyT(func(v *CVSSv3ConfidentialityImpact) CVSSv3ConfidentialityImpact { if v != nil { @@ -2737,6 +3020,12 @@ func (in *cvssv3ConfidentialityImpactPtr) ToCVSSv3ConfidentialityImpactPtrOutput return pulumi.ToOutputWithContext(ctx, in).(CVSSv3ConfidentialityImpactPtrOutput) } +func (in *cvssv3ConfidentialityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3ConfidentialityImpact] { + return pulumix.Output[*CVSSv3ConfidentialityImpact]{ + OutputState: in.ToCVSSv3ConfidentialityImpactPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3IntegrityImpact string const ( @@ -2806,6 +3095,12 @@ func (o CVSSv3IntegrityImpactOutput) ToCVSSv3IntegrityImpactPtrOutputWithContext }).(CVSSv3IntegrityImpactPtrOutput) } +func (o CVSSv3IntegrityImpactOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3IntegrityImpact] { + return pulumix.Output[CVSSv3IntegrityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3IntegrityImpactOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2841,6 +3136,12 @@ func (o CVSSv3IntegrityImpactPtrOutput) ToCVSSv3IntegrityImpactPtrOutputWithCont return o } +func (o CVSSv3IntegrityImpactPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3IntegrityImpact] { + return pulumix.Output[*CVSSv3IntegrityImpact]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3IntegrityImpactPtrOutput) Elem() CVSSv3IntegrityImpactOutput { return o.ApplyT(func(v *CVSSv3IntegrityImpact) CVSSv3IntegrityImpact { if v != nil { @@ -2903,6 +3204,12 @@ func (in *cvssv3IntegrityImpactPtr) ToCVSSv3IntegrityImpactPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(CVSSv3IntegrityImpactPtrOutput) } +func (in *cvssv3IntegrityImpactPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3IntegrityImpact] { + return pulumix.Output[*CVSSv3IntegrityImpact]{ + OutputState: in.ToCVSSv3IntegrityImpactPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3PrivilegesRequired string const ( @@ -2972,6 +3279,12 @@ func (o CVSSv3PrivilegesRequiredOutput) ToCVSSv3PrivilegesRequiredPtrOutputWithC }).(CVSSv3PrivilegesRequiredPtrOutput) } +func (o CVSSv3PrivilegesRequiredOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3PrivilegesRequired] { + return pulumix.Output[CVSSv3PrivilegesRequired]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3PrivilegesRequiredOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3007,6 +3320,12 @@ func (o CVSSv3PrivilegesRequiredPtrOutput) ToCVSSv3PrivilegesRequiredPtrOutputWi return o } +func (o CVSSv3PrivilegesRequiredPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3PrivilegesRequired] { + return pulumix.Output[*CVSSv3PrivilegesRequired]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3PrivilegesRequiredPtrOutput) Elem() CVSSv3PrivilegesRequiredOutput { return o.ApplyT(func(v *CVSSv3PrivilegesRequired) CVSSv3PrivilegesRequired { if v != nil { @@ -3069,6 +3388,12 @@ func (in *cvssv3PrivilegesRequiredPtr) ToCVSSv3PrivilegesRequiredPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(CVSSv3PrivilegesRequiredPtrOutput) } +func (in *cvssv3PrivilegesRequiredPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3PrivilegesRequired] { + return pulumix.Output[*CVSSv3PrivilegesRequired]{ + OutputState: in.ToCVSSv3PrivilegesRequiredPtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3Scope string const ( @@ -3137,6 +3462,12 @@ func (o CVSSv3ScopeOutput) ToCVSSv3ScopePtrOutputWithContext(ctx context.Context }).(CVSSv3ScopePtrOutput) } +func (o CVSSv3ScopeOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3Scope] { + return pulumix.Output[CVSSv3Scope]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3ScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3172,6 +3503,12 @@ func (o CVSSv3ScopePtrOutput) ToCVSSv3ScopePtrOutputWithContext(ctx context.Cont return o } +func (o CVSSv3ScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3Scope] { + return pulumix.Output[*CVSSv3Scope]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3ScopePtrOutput) Elem() CVSSv3ScopeOutput { return o.ApplyT(func(v *CVSSv3Scope) CVSSv3Scope { if v != nil { @@ -3234,6 +3571,12 @@ func (in *cvssv3ScopePtr) ToCVSSv3ScopePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(CVSSv3ScopePtrOutput) } +func (in *cvssv3ScopePtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3Scope] { + return pulumix.Output[*CVSSv3Scope]{ + OutputState: in.ToCVSSv3ScopePtrOutputWithContext(ctx).OutputState, + } +} + type CVSSv3UserInteraction string const ( @@ -3302,6 +3645,12 @@ func (o CVSSv3UserInteractionOutput) ToCVSSv3UserInteractionPtrOutputWithContext }).(CVSSv3UserInteractionPtrOutput) } +func (o CVSSv3UserInteractionOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3UserInteraction] { + return pulumix.Output[CVSSv3UserInteraction]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3UserInteractionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3337,6 +3686,12 @@ func (o CVSSv3UserInteractionPtrOutput) ToCVSSv3UserInteractionPtrOutputWithCont return o } +func (o CVSSv3UserInteractionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3UserInteraction] { + return pulumix.Output[*CVSSv3UserInteraction]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3UserInteractionPtrOutput) Elem() CVSSv3UserInteractionOutput { return o.ApplyT(func(v *CVSSv3UserInteraction) CVSSv3UserInteraction { if v != nil { @@ -3399,6 +3754,12 @@ func (in *cvssv3UserInteractionPtr) ToCVSSv3UserInteractionPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(CVSSv3UserInteractionPtrOutput) } +func (in *cvssv3UserInteractionPtr) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3UserInteraction] { + return pulumix.Output[*CVSSv3UserInteraction]{ + OutputState: in.ToCVSSv3UserInteractionPtrOutputWithContext(ctx).OutputState, + } +} + // Platform hosting this deployment. type DeploymentPlatform string @@ -3473,6 +3834,12 @@ func (o DeploymentPlatformOutput) ToDeploymentPlatformPtrOutputWithContext(ctx c }).(DeploymentPlatformPtrOutput) } +func (o DeploymentPlatformOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentPlatform] { + return pulumix.Output[DeploymentPlatform]{ + OutputState: o.OutputState, + } +} + func (o DeploymentPlatformOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3508,6 +3875,12 @@ func (o DeploymentPlatformPtrOutput) ToDeploymentPlatformPtrOutputWithContext(ct return o } +func (o DeploymentPlatformPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentPlatform] { + return pulumix.Output[*DeploymentPlatform]{ + OutputState: o.OutputState, + } +} + func (o DeploymentPlatformPtrOutput) Elem() DeploymentPlatformOutput { return o.ApplyT(func(v *DeploymentPlatform) DeploymentPlatform { if v != nil { @@ -3570,6 +3943,12 @@ func (in *deploymentPlatformPtr) ToDeploymentPlatformPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(DeploymentPlatformPtrOutput) } +func (in *deploymentPlatformPtr) ToOutput(ctx context.Context) pulumix.Output[*DeploymentPlatform] { + return pulumix.Output[*DeploymentPlatform]{ + OutputState: in.ToDeploymentPlatformPtrOutputWithContext(ctx).OutputState, + } +} + // The status of discovery for the resource. type DiscoveredAnalysisStatus string @@ -3650,6 +4029,12 @@ func (o DiscoveredAnalysisStatusOutput) ToDiscoveredAnalysisStatusPtrOutputWithC }).(DiscoveredAnalysisStatusPtrOutput) } +func (o DiscoveredAnalysisStatusOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveredAnalysisStatus] { + return pulumix.Output[DiscoveredAnalysisStatus]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredAnalysisStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3685,6 +4070,12 @@ func (o DiscoveredAnalysisStatusPtrOutput) ToDiscoveredAnalysisStatusPtrOutputWi return o } +func (o DiscoveredAnalysisStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveredAnalysisStatus] { + return pulumix.Output[*DiscoveredAnalysisStatus]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredAnalysisStatusPtrOutput) Elem() DiscoveredAnalysisStatusOutput { return o.ApplyT(func(v *DiscoveredAnalysisStatus) DiscoveredAnalysisStatus { if v != nil { @@ -3747,6 +4138,12 @@ func (in *discoveredAnalysisStatusPtr) ToDiscoveredAnalysisStatusPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DiscoveredAnalysisStatusPtrOutput) } +func (in *discoveredAnalysisStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*DiscoveredAnalysisStatus] { + return pulumix.Output[*DiscoveredAnalysisStatus]{ + OutputState: in.ToDiscoveredAnalysisStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Whether the resource is continuously analyzed. type DiscoveredContinuousAnalysis string @@ -3819,6 +4216,12 @@ func (o DiscoveredContinuousAnalysisOutput) ToDiscoveredContinuousAnalysisPtrOut }).(DiscoveredContinuousAnalysisPtrOutput) } +func (o DiscoveredContinuousAnalysisOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveredContinuousAnalysis] { + return pulumix.Output[DiscoveredContinuousAnalysis]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredContinuousAnalysisOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3854,6 +4257,12 @@ func (o DiscoveredContinuousAnalysisPtrOutput) ToDiscoveredContinuousAnalysisPtr return o } +func (o DiscoveredContinuousAnalysisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveredContinuousAnalysis] { + return pulumix.Output[*DiscoveredContinuousAnalysis]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredContinuousAnalysisPtrOutput) Elem() DiscoveredContinuousAnalysisOutput { return o.ApplyT(func(v *DiscoveredContinuousAnalysis) DiscoveredContinuousAnalysis { if v != nil { @@ -3916,6 +4325,12 @@ func (in *discoveredContinuousAnalysisPtr) ToDiscoveredContinuousAnalysisPtrOutp return pulumi.ToOutputWithContext(ctx, in).(DiscoveredContinuousAnalysisPtrOutput) } +func (in *discoveredContinuousAnalysisPtr) ToOutput(ctx context.Context) pulumix.Output[*DiscoveredContinuousAnalysis] { + return pulumix.Output[*DiscoveredContinuousAnalysis]{ + OutputState: in.ToDiscoveredContinuousAnalysisPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The kind of analysis that is handled by this discovery. type DiscoveryAnalysisKind string @@ -4012,6 +4427,12 @@ func (o DiscoveryAnalysisKindOutput) ToDiscoveryAnalysisKindPtrOutputWithContext }).(DiscoveryAnalysisKindPtrOutput) } +func (o DiscoveryAnalysisKindOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryAnalysisKind] { + return pulumix.Output[DiscoveryAnalysisKind]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryAnalysisKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4047,6 +4468,12 @@ func (o DiscoveryAnalysisKindPtrOutput) ToDiscoveryAnalysisKindPtrOutputWithCont return o } +func (o DiscoveryAnalysisKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryAnalysisKind] { + return pulumix.Output[*DiscoveryAnalysisKind]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryAnalysisKindPtrOutput) Elem() DiscoveryAnalysisKindOutput { return o.ApplyT(func(v *DiscoveryAnalysisKind) DiscoveryAnalysisKind { if v != nil { @@ -4109,6 +4536,12 @@ func (in *discoveryAnalysisKindPtr) ToDiscoveryAnalysisKindPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(DiscoveryAnalysisKindPtrOutput) } +func (in *discoveryAnalysisKindPtr) ToOutput(ctx context.Context) pulumix.Output[*DiscoveryAnalysisKind] { + return pulumix.Output[*DiscoveryAnalysisKind]{ + OutputState: in.ToDiscoveryAnalysisKindPtrOutputWithContext(ctx).OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. type DistributionArchitecture string @@ -4181,6 +4614,12 @@ func (o DistributionArchitectureOutput) ToDistributionArchitecturePtrOutputWithC }).(DistributionArchitecturePtrOutput) } +func (o DistributionArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionArchitecture] { + return pulumix.Output[DistributionArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DistributionArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4216,6 +4655,12 @@ func (o DistributionArchitecturePtrOutput) ToDistributionArchitecturePtrOutputWi return o } +func (o DistributionArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DistributionArchitecture] { + return pulumix.Output[*DistributionArchitecture]{ + OutputState: o.OutputState, + } +} + func (o DistributionArchitecturePtrOutput) Elem() DistributionArchitectureOutput { return o.ApplyT(func(v *DistributionArchitecture) DistributionArchitecture { if v != nil { @@ -4278,6 +4723,12 @@ func (in *distributionArchitecturePtr) ToDistributionArchitecturePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DistributionArchitecturePtrOutput) } +func (in *distributionArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*DistributionArchitecture] { + return pulumix.Output[*DistributionArchitecture]{ + OutputState: in.ToDistributionArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package type ExternalRefCategory string @@ -4354,6 +4805,12 @@ func (o ExternalRefCategoryOutput) ToExternalRefCategoryPtrOutputWithContext(ctx }).(ExternalRefCategoryPtrOutput) } +func (o ExternalRefCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalRefCategory] { + return pulumix.Output[ExternalRefCategory]{ + OutputState: o.OutputState, + } +} + func (o ExternalRefCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4389,6 +4846,12 @@ func (o ExternalRefCategoryPtrOutput) ToExternalRefCategoryPtrOutputWithContext( return o } +func (o ExternalRefCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExternalRefCategory] { + return pulumix.Output[*ExternalRefCategory]{ + OutputState: o.OutputState, + } +} + func (o ExternalRefCategoryPtrOutput) Elem() ExternalRefCategoryOutput { return o.ApplyT(func(v *ExternalRefCategory) ExternalRefCategory { if v != nil { @@ -4451,6 +4914,12 @@ func (in *externalRefCategoryPtr) ToExternalRefCategoryPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ExternalRefCategoryPtrOutput) } +func (in *externalRefCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*ExternalRefCategory] { + return pulumix.Output[*ExternalRefCategory]{ + OutputState: in.ToExternalRefCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // This field provides information about the type of file identified type FileNoteFileType string @@ -4541,6 +5010,12 @@ func (o FileNoteFileTypeOutput) ToFileNoteFileTypePtrOutputWithContext(ctx conte }).(FileNoteFileTypePtrOutput) } +func (o FileNoteFileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[FileNoteFileType] { + return pulumix.Output[FileNoteFileType]{ + OutputState: o.OutputState, + } +} + func (o FileNoteFileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4576,6 +5051,12 @@ func (o FileNoteFileTypePtrOutput) ToFileNoteFileTypePtrOutputWithContext(ctx co return o } +func (o FileNoteFileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileNoteFileType] { + return pulumix.Output[*FileNoteFileType]{ + OutputState: o.OutputState, + } +} + func (o FileNoteFileTypePtrOutput) Elem() FileNoteFileTypeOutput { return o.ApplyT(func(v *FileNoteFileType) FileNoteFileType { if v != nil { @@ -4638,6 +5119,12 @@ func (in *fileNoteFileTypePtr) ToFileNoteFileTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(FileNoteFileTypePtrOutput) } +func (in *fileNoteFileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*FileNoteFileType] { + return pulumix.Output[*FileNoteFileType]{ + OutputState: in.ToFileNoteFileTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). type GenericSignedAttestationContentType string @@ -4708,6 +5195,12 @@ func (o GenericSignedAttestationContentTypeOutput) ToGenericSignedAttestationCon }).(GenericSignedAttestationContentTypePtrOutput) } +func (o GenericSignedAttestationContentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GenericSignedAttestationContentType] { + return pulumix.Output[GenericSignedAttestationContentType]{ + OutputState: o.OutputState, + } +} + func (o GenericSignedAttestationContentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4743,6 +5236,12 @@ func (o GenericSignedAttestationContentTypePtrOutput) ToGenericSignedAttestation return o } +func (o GenericSignedAttestationContentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GenericSignedAttestationContentType] { + return pulumix.Output[*GenericSignedAttestationContentType]{ + OutputState: o.OutputState, + } +} + func (o GenericSignedAttestationContentTypePtrOutput) Elem() GenericSignedAttestationContentTypeOutput { return o.ApplyT(func(v *GenericSignedAttestationContentType) GenericSignedAttestationContentType { if v != nil { @@ -4805,6 +5304,12 @@ func (in *genericSignedAttestationContentTypePtr) ToGenericSignedAttestationCont return pulumi.ToOutputWithContext(ctx, in).(GenericSignedAttestationContentTypePtrOutput) } +func (in *genericSignedAttestationContentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GenericSignedAttestationContentType] { + return pulumix.Output[*GenericSignedAttestationContentType]{ + OutputState: in.ToGenericSignedAttestationContentTypePtrOutputWithContext(ctx).OutputState, + } +} + // The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. type GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity string @@ -4883,6 +5388,12 @@ func (o GrafeasV1beta1VulnerabilityDetailsEffectiveSeverityOutput) ToGrafeasV1be }).(GrafeasV1beta1VulnerabilityDetailsEffectiveSeverityPtrOutput) } +func (o GrafeasV1beta1VulnerabilityDetailsEffectiveSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity] { + return pulumix.Output[GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1VulnerabilityDetailsEffectiveSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4918,6 +5429,12 @@ func (o GrafeasV1beta1VulnerabilityDetailsEffectiveSeverityPtrOutput) ToGrafeasV return o } +func (o GrafeasV1beta1VulnerabilityDetailsEffectiveSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity] { + return pulumix.Output[*GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1VulnerabilityDetailsEffectiveSeverityPtrOutput) Elem() GrafeasV1beta1VulnerabilityDetailsEffectiveSeverityOutput { return o.ApplyT(func(v *GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity) GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity { if v != nil { @@ -4980,6 +5497,12 @@ func (in *grafeasV1beta1VulnerabilityDetailsEffectiveSeverityPtr) ToGrafeasV1bet return pulumi.ToOutputWithContext(ctx, in).(GrafeasV1beta1VulnerabilityDetailsEffectiveSeverityPtrOutput) } +func (in *grafeasV1beta1VulnerabilityDetailsEffectiveSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity] { + return pulumix.Output[*GrafeasV1beta1VulnerabilityDetailsEffectiveSeverity]{ + OutputState: in.ToGrafeasV1beta1VulnerabilityDetailsEffectiveSeverityPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of hash that was performed. type HashType string @@ -5054,6 +5577,12 @@ func (o HashTypeOutput) ToHashTypePtrOutputWithContext(ctx context.Context) Hash }).(HashTypePtrOutput) } +func (o HashTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HashType] { + return pulumix.Output[HashType]{ + OutputState: o.OutputState, + } +} + func (o HashTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5089,6 +5618,12 @@ func (o HashTypePtrOutput) ToHashTypePtrOutputWithContext(ctx context.Context) H return o } +func (o HashTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HashType] { + return pulumix.Output[*HashType]{ + OutputState: o.OutputState, + } +} + func (o HashTypePtrOutput) Elem() HashTypeOutput { return o.ApplyT(func(v *HashType) HashType { if v != nil { @@ -5151,6 +5686,12 @@ func (in *hashTypePtr) ToHashTypePtrOutputWithContext(ctx context.Context) HashT return pulumi.ToOutputWithContext(ctx, in).(HashTypePtrOutput) } +func (in *hashTypePtr) ToOutput(ctx context.Context) pulumix.Output[*HashType] { + return pulumix.Output[*HashType]{ + OutputState: in.ToHashTypePtrOutputWithContext(ctx).OutputState, + } +} + // The justification type for this vulnerability. type JustificationJustificationType string @@ -5229,6 +5770,12 @@ func (o JustificationJustificationTypeOutput) ToJustificationJustificationTypePt }).(JustificationJustificationTypePtrOutput) } +func (o JustificationJustificationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[JustificationJustificationType] { + return pulumix.Output[JustificationJustificationType]{ + OutputState: o.OutputState, + } +} + func (o JustificationJustificationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5264,6 +5811,12 @@ func (o JustificationJustificationTypePtrOutput) ToJustificationJustificationTyp return o } +func (o JustificationJustificationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JustificationJustificationType] { + return pulumix.Output[*JustificationJustificationType]{ + OutputState: o.OutputState, + } +} + func (o JustificationJustificationTypePtrOutput) Elem() JustificationJustificationTypeOutput { return o.ApplyT(func(v *JustificationJustificationType) JustificationJustificationType { if v != nil { @@ -5326,6 +5879,12 @@ func (in *justificationJustificationTypePtr) ToJustificationJustificationTypePtr return pulumi.ToOutputWithContext(ctx, in).(JustificationJustificationTypePtrOutput) } +func (in *justificationJustificationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*JustificationJustificationType] { + return pulumix.Output[*JustificationJustificationType]{ + OutputState: in.ToJustificationJustificationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The recovered Dockerfile directive used to construct this layer. type LayerDirective string @@ -5428,6 +5987,12 @@ func (o LayerDirectiveOutput) ToLayerDirectivePtrOutputWithContext(ctx context.C }).(LayerDirectivePtrOutput) } +func (o LayerDirectiveOutput) ToOutput(ctx context.Context) pulumix.Output[LayerDirective] { + return pulumix.Output[LayerDirective]{ + OutputState: o.OutputState, + } +} + func (o LayerDirectiveOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5463,6 +6028,12 @@ func (o LayerDirectivePtrOutput) ToLayerDirectivePtrOutputWithContext(ctx contex return o } +func (o LayerDirectivePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LayerDirective] { + return pulumix.Output[*LayerDirective]{ + OutputState: o.OutputState, + } +} + func (o LayerDirectivePtrOutput) Elem() LayerDirectiveOutput { return o.ApplyT(func(v *LayerDirective) LayerDirective { if v != nil { @@ -5525,6 +6096,12 @@ func (in *layerDirectivePtr) ToLayerDirectivePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(LayerDirectivePtrOutput) } +func (in *layerDirectivePtr) ToOutput(ctx context.Context) pulumix.Output[*LayerDirective] { + return pulumix.Output[*LayerDirective]{ + OutputState: in.ToLayerDirectivePtrOutputWithContext(ctx).OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. type PackageArchitecture string @@ -5597,6 +6174,12 @@ func (o PackageArchitectureOutput) ToPackageArchitecturePtrOutputWithContext(ctx }).(PackageArchitecturePtrOutput) } +func (o PackageArchitectureOutput) ToOutput(ctx context.Context) pulumix.Output[PackageArchitecture] { + return pulumix.Output[PackageArchitecture]{ + OutputState: o.OutputState, + } +} + func (o PackageArchitectureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5632,6 +6215,12 @@ func (o PackageArchitecturePtrOutput) ToPackageArchitecturePtrOutputWithContext( return o } +func (o PackageArchitecturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageArchitecture] { + return pulumix.Output[*PackageArchitecture]{ + OutputState: o.OutputState, + } +} + func (o PackageArchitecturePtrOutput) Elem() PackageArchitectureOutput { return o.ApplyT(func(v *PackageArchitecture) PackageArchitecture { if v != nil { @@ -5694,6 +6283,12 @@ func (in *packageArchitecturePtr) ToPackageArchitecturePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(PackageArchitecturePtrOutput) } +func (in *packageArchitecturePtr) ToOutput(ctx context.Context) pulumix.Output[*PackageArchitecture] { + return pulumix.Output[*PackageArchitecture]{ + OutputState: in.ToPackageArchitecturePtrOutputWithContext(ctx).OutputState, + } +} + // Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). type PgpSignedAttestationContentType string @@ -5764,6 +6359,12 @@ func (o PgpSignedAttestationContentTypeOutput) ToPgpSignedAttestationContentType }).(PgpSignedAttestationContentTypePtrOutput) } +func (o PgpSignedAttestationContentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[PgpSignedAttestationContentType] { + return pulumix.Output[PgpSignedAttestationContentType]{ + OutputState: o.OutputState, + } +} + func (o PgpSignedAttestationContentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5799,6 +6400,12 @@ func (o PgpSignedAttestationContentTypePtrOutput) ToPgpSignedAttestationContentT return o } +func (o PgpSignedAttestationContentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PgpSignedAttestationContentType] { + return pulumix.Output[*PgpSignedAttestationContentType]{ + OutputState: o.OutputState, + } +} + func (o PgpSignedAttestationContentTypePtrOutput) Elem() PgpSignedAttestationContentTypeOutput { return o.ApplyT(func(v *PgpSignedAttestationContentType) PgpSignedAttestationContentType { if v != nil { @@ -5861,6 +6468,12 @@ func (in *pgpSignedAttestationContentTypePtr) ToPgpSignedAttestationContentTypeP return pulumi.ToOutputWithContext(ctx, in).(PgpSignedAttestationContentTypePtrOutput) } +func (in *pgpSignedAttestationContentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*PgpSignedAttestationContentType] { + return pulumix.Output[*PgpSignedAttestationContentType]{ + OutputState: in.ToPgpSignedAttestationContentTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of relationship between the source and target SPDX elements type RelationshipNoteType string @@ -6015,6 +6628,12 @@ func (o RelationshipNoteTypeOutput) ToRelationshipNoteTypePtrOutputWithContext(c }).(RelationshipNoteTypePtrOutput) } +func (o RelationshipNoteTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RelationshipNoteType] { + return pulumix.Output[RelationshipNoteType]{ + OutputState: o.OutputState, + } +} + func (o RelationshipNoteTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6050,6 +6669,12 @@ func (o RelationshipNoteTypePtrOutput) ToRelationshipNoteTypePtrOutputWithContex return o } +func (o RelationshipNoteTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RelationshipNoteType] { + return pulumix.Output[*RelationshipNoteType]{ + OutputState: o.OutputState, + } +} + func (o RelationshipNoteTypePtrOutput) Elem() RelationshipNoteTypeOutput { return o.ApplyT(func(v *RelationshipNoteType) RelationshipNoteType { if v != nil { @@ -6112,6 +6737,12 @@ func (in *relationshipNoteTypePtr) ToRelationshipNoteTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(RelationshipNoteTypePtrOutput) } +func (in *relationshipNoteTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RelationshipNoteType] { + return pulumix.Output[*RelationshipNoteType]{ + OutputState: in.ToRelationshipNoteTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of remediation that can be applied. type RemediationRemediationType string @@ -6190,6 +6821,12 @@ func (o RemediationRemediationTypeOutput) ToRemediationRemediationTypePtrOutputW }).(RemediationRemediationTypePtrOutput) } +func (o RemediationRemediationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RemediationRemediationType] { + return pulumix.Output[RemediationRemediationType]{ + OutputState: o.OutputState, + } +} + func (o RemediationRemediationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6225,6 +6862,12 @@ func (o RemediationRemediationTypePtrOutput) ToRemediationRemediationTypePtrOutp return o } +func (o RemediationRemediationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RemediationRemediationType] { + return pulumix.Output[*RemediationRemediationType]{ + OutputState: o.OutputState, + } +} + func (o RemediationRemediationTypePtrOutput) Elem() RemediationRemediationTypeOutput { return o.ApplyT(func(v *RemediationRemediationType) RemediationRemediationType { if v != nil { @@ -6287,6 +6930,12 @@ func (in *remediationRemediationTypePtr) ToRemediationRemediationTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RemediationRemediationTypePtrOutput) } +func (in *remediationRemediationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RemediationRemediationType] { + return pulumix.Output[*RemediationRemediationType]{ + OutputState: in.ToRemediationRemediationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Distinguishes between sentinel MIN/MAX versions and normal versions. type VersionKind string @@ -6361,6 +7010,12 @@ func (o VersionKindOutput) ToVersionKindPtrOutputWithContext(ctx context.Context }).(VersionKindPtrOutput) } +func (o VersionKindOutput) ToOutput(ctx context.Context) pulumix.Output[VersionKind] { + return pulumix.Output[VersionKind]{ + OutputState: o.OutputState, + } +} + func (o VersionKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6396,6 +7051,12 @@ func (o VersionKindPtrOutput) ToVersionKindPtrOutputWithContext(ctx context.Cont return o } +func (o VersionKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionKind] { + return pulumix.Output[*VersionKind]{ + OutputState: o.OutputState, + } +} + func (o VersionKindPtrOutput) Elem() VersionKindOutput { return o.ApplyT(func(v *VersionKind) VersionKind { if v != nil { @@ -6458,6 +7119,12 @@ func (in *versionKindPtr) ToVersionKindPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(VersionKindPtrOutput) } +func (in *versionKindPtr) ToOutput(ctx context.Context) pulumix.Output[*VersionKind] { + return pulumix.Output[*VersionKind]{ + OutputState: in.ToVersionKindPtrOutputWithContext(ctx).OutputState, + } +} + // Provides the state of this Vulnerability assessment. type VexAssessmentState string @@ -6534,6 +7201,12 @@ func (o VexAssessmentStateOutput) ToVexAssessmentStatePtrOutputWithContext(ctx c }).(VexAssessmentStatePtrOutput) } +func (o VexAssessmentStateOutput) ToOutput(ctx context.Context) pulumix.Output[VexAssessmentState] { + return pulumix.Output[VexAssessmentState]{ + OutputState: o.OutputState, + } +} + func (o VexAssessmentStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6569,6 +7242,12 @@ func (o VexAssessmentStatePtrOutput) ToVexAssessmentStatePtrOutputWithContext(ct return o } +func (o VexAssessmentStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VexAssessmentState] { + return pulumix.Output[*VexAssessmentState]{ + OutputState: o.OutputState, + } +} + func (o VexAssessmentStatePtrOutput) Elem() VexAssessmentStateOutput { return o.ApplyT(func(v *VexAssessmentState) VexAssessmentState { if v != nil { @@ -6631,6 +7310,12 @@ func (in *vexAssessmentStatePtr) ToVexAssessmentStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(VexAssessmentStatePtrOutput) } +func (in *vexAssessmentStatePtr) ToOutput(ctx context.Context) pulumix.Output[*VexAssessmentState] { + return pulumix.Output[*VexAssessmentState]{ + OutputState: in.ToVexAssessmentStatePtrOutputWithContext(ctx).OutputState, + } +} + // CVSS version used to populate cvss_score and severity. type VulnerabilityCvssVersion string @@ -6700,6 +7385,12 @@ func (o VulnerabilityCvssVersionOutput) ToVulnerabilityCvssVersionPtrOutputWithC }).(VulnerabilityCvssVersionPtrOutput) } +func (o VulnerabilityCvssVersionOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityCvssVersion] { + return pulumix.Output[VulnerabilityCvssVersion]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityCvssVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6735,6 +7426,12 @@ func (o VulnerabilityCvssVersionPtrOutput) ToVulnerabilityCvssVersionPtrOutputWi return o } +func (o VulnerabilityCvssVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityCvssVersion] { + return pulumix.Output[*VulnerabilityCvssVersion]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityCvssVersionPtrOutput) Elem() VulnerabilityCvssVersionOutput { return o.ApplyT(func(v *VulnerabilityCvssVersion) VulnerabilityCvssVersion { if v != nil { @@ -6797,6 +7494,12 @@ func (in *vulnerabilityCvssVersionPtr) ToVulnerabilityCvssVersionPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(VulnerabilityCvssVersionPtrOutput) } +func (in *vulnerabilityCvssVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityCvssVersion] { + return pulumix.Output[*VulnerabilityCvssVersion]{ + OutputState: in.ToVulnerabilityCvssVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Note provider assigned impact of the vulnerability. type VulnerabilitySeverity string @@ -6875,6 +7578,12 @@ func (o VulnerabilitySeverityOutput) ToVulnerabilitySeverityPtrOutputWithContext }).(VulnerabilitySeverityPtrOutput) } +func (o VulnerabilitySeverityOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilitySeverity] { + return pulumix.Output[VulnerabilitySeverity]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilitySeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6910,6 +7619,12 @@ func (o VulnerabilitySeverityPtrOutput) ToVulnerabilitySeverityPtrOutputWithCont return o } +func (o VulnerabilitySeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilitySeverity] { + return pulumix.Output[*VulnerabilitySeverity]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilitySeverityPtrOutput) Elem() VulnerabilitySeverityOutput { return o.ApplyT(func(v *VulnerabilitySeverity) VulnerabilitySeverity { if v != nil { @@ -6972,6 +7687,12 @@ func (in *vulnerabilitySeverityPtr) ToVulnerabilitySeverityPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(VulnerabilitySeverityPtrOutput) } +func (in *vulnerabilitySeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilitySeverity] { + return pulumix.Output[*VulnerabilitySeverity]{ + OutputState: in.ToVulnerabilitySeverityPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AliasContextKindInput)(nil)).Elem(), AliasContextKind("KIND_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AliasContextKindPtrInput)(nil)).Elem(), AliasContextKind("KIND_UNSPECIFIED")) diff --git a/sdk/go/google/containeranalysis/v1beta1/pulumiTypes.go b/sdk/go/google/containeranalysis/v1beta1/pulumiTypes.go index dd3d8f06a8..b046adf836 100644 --- a/sdk/go/google/containeranalysis/v1beta1/pulumiTypes.go +++ b/sdk/go/google/containeranalysis/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AliasContextArgs) ToAliasContextOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AliasContextOutput) } +func (i AliasContextArgs) ToOutput(ctx context.Context) pulumix.Output[AliasContext] { + return pulumix.Output[AliasContext]{ + OutputState: i.ToAliasContextOutputWithContext(ctx).OutputState, + } +} + func (i AliasContextArgs) ToAliasContextPtrOutput() AliasContextPtrOutput { return i.ToAliasContextPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *aliasContextPtrType) ToAliasContextPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AliasContextPtrOutput) } +func (i *aliasContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*AliasContext] { + return pulumix.Output[*AliasContext]{ + OutputState: i.ToAliasContextPtrOutputWithContext(ctx).OutputState, + } +} + // An alias to a repo revision. type AliasContextOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AliasContextOutput) ToAliasContextPtrOutputWithContext(ctx context.Conte }).(AliasContextPtrOutput) } +func (o AliasContextOutput) ToOutput(ctx context.Context) pulumix.Output[AliasContext] { + return pulumix.Output[AliasContext]{ + OutputState: o.OutputState, + } +} + // The alias kind. func (o AliasContextOutput) Kind() AliasContextKindPtrOutput { return o.ApplyT(func(v AliasContext) *AliasContextKind { return v.Kind }).(AliasContextKindPtrOutput) @@ -142,6 +161,12 @@ func (o AliasContextPtrOutput) ToAliasContextPtrOutputWithContext(ctx context.Co return o } +func (o AliasContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AliasContext] { + return pulumix.Output[*AliasContext]{ + OutputState: o.OutputState, + } +} + func (o AliasContextPtrOutput) Elem() AliasContextOutput { return o.ApplyT(func(v *AliasContext) AliasContext { if v != nil { @@ -195,6 +220,12 @@ func (o AliasContextResponseOutput) ToAliasContextResponseOutputWithContext(ctx return o } +func (o AliasContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AliasContextResponse] { + return pulumix.Output[AliasContextResponse]{ + OutputState: o.OutputState, + } +} + // The alias kind. func (o AliasContextResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v AliasContextResponse) string { return v.Kind }).(pulumi.StringOutput) @@ -238,6 +269,12 @@ func (i AnalysisCompletedArgs) ToAnalysisCompletedOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AnalysisCompletedOutput) } +func (i AnalysisCompletedArgs) ToOutput(ctx context.Context) pulumix.Output[AnalysisCompleted] { + return pulumix.Output[AnalysisCompleted]{ + OutputState: i.ToAnalysisCompletedOutputWithContext(ctx).OutputState, + } +} + func (i AnalysisCompletedArgs) ToAnalysisCompletedPtrOutput() AnalysisCompletedPtrOutput { return i.ToAnalysisCompletedPtrOutputWithContext(context.Background()) } @@ -279,6 +316,12 @@ func (i *analysisCompletedPtrType) ToAnalysisCompletedPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AnalysisCompletedPtrOutput) } +func (i *analysisCompletedPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnalysisCompleted] { + return pulumix.Output[*AnalysisCompleted]{ + OutputState: i.ToAnalysisCompletedPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource. type AnalysisCompletedOutput struct{ *pulumi.OutputState } @@ -304,6 +347,12 @@ func (o AnalysisCompletedOutput) ToAnalysisCompletedPtrOutputWithContext(ctx con }).(AnalysisCompletedPtrOutput) } +func (o AnalysisCompletedOutput) ToOutput(ctx context.Context) pulumix.Output[AnalysisCompleted] { + return pulumix.Output[AnalysisCompleted]{ + OutputState: o.OutputState, + } +} + func (o AnalysisCompletedOutput) AnalysisType() pulumi.StringArrayOutput { return o.ApplyT(func(v AnalysisCompleted) []string { return v.AnalysisType }).(pulumi.StringArrayOutput) } @@ -322,6 +371,12 @@ func (o AnalysisCompletedPtrOutput) ToAnalysisCompletedPtrOutputWithContext(ctx return o } +func (o AnalysisCompletedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnalysisCompleted] { + return pulumix.Output[*AnalysisCompleted]{ + OutputState: o.OutputState, + } +} + func (o AnalysisCompletedPtrOutput) Elem() AnalysisCompletedOutput { return o.ApplyT(func(v *AnalysisCompleted) AnalysisCompleted { if v != nil { @@ -361,6 +416,12 @@ func (o AnalysisCompletedResponseOutput) ToAnalysisCompletedResponseOutputWithCo return o } +func (o AnalysisCompletedResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnalysisCompletedResponse] { + return pulumix.Output[AnalysisCompletedResponse]{ + OutputState: o.OutputState, + } +} + func (o AnalysisCompletedResponseOutput) AnalysisType() pulumi.StringArrayOutput { return o.ApplyT(func(v AnalysisCompletedResponse) []string { return v.AnalysisType }).(pulumi.StringArrayOutput) } @@ -408,6 +469,12 @@ func (i ArtifactArgs) ToArtifactOutputWithContext(ctx context.Context) ArtifactO return pulumi.ToOutputWithContext(ctx, i).(ArtifactOutput) } +func (i ArtifactArgs) ToOutput(ctx context.Context) pulumix.Output[Artifact] { + return pulumix.Output[Artifact]{ + OutputState: i.ToArtifactOutputWithContext(ctx).OutputState, + } +} + // ArtifactArrayInput is an input type that accepts ArtifactArray and ArtifactArrayOutput values. // You can construct a concrete instance of `ArtifactArrayInput` via: // @@ -433,6 +500,12 @@ func (i ArtifactArray) ToArtifactArrayOutputWithContext(ctx context.Context) Art return pulumi.ToOutputWithContext(ctx, i).(ArtifactArrayOutput) } +func (i ArtifactArray) ToOutput(ctx context.Context) pulumix.Output[[]Artifact] { + return pulumix.Output[[]Artifact]{ + OutputState: i.ToArtifactArrayOutputWithContext(ctx).OutputState, + } +} + // Artifact describes a build product. type ArtifactOutput struct{ *pulumi.OutputState } @@ -448,6 +521,12 @@ func (o ArtifactOutput) ToArtifactOutputWithContext(ctx context.Context) Artifac return o } +func (o ArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[Artifact] { + return pulumix.Output[Artifact]{ + OutputState: o.OutputState, + } +} + // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container. func (o ArtifactOutput) Checksum() pulumi.StringPtrOutput { return o.ApplyT(func(v Artifact) *string { return v.Checksum }).(pulumi.StringPtrOutput) @@ -477,6 +556,12 @@ func (o ArtifactArrayOutput) ToArtifactArrayOutputWithContext(ctx context.Contex return o } +func (o ArtifactArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Artifact] { + return pulumix.Output[[]Artifact]{ + OutputState: o.OutputState, + } +} + func (o ArtifactArrayOutput) Index(i pulumi.IntInput) ArtifactOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Artifact { return vs[0].([]Artifact)[vs[1].(int)] @@ -516,6 +601,12 @@ func (i ArtifactHashesArgs) ToArtifactHashesOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ArtifactHashesOutput) } +func (i ArtifactHashesArgs) ToOutput(ctx context.Context) pulumix.Output[ArtifactHashes] { + return pulumix.Output[ArtifactHashes]{ + OutputState: i.ToArtifactHashesOutputWithContext(ctx).OutputState, + } +} + func (i ArtifactHashesArgs) ToArtifactHashesPtrOutput() ArtifactHashesPtrOutput { return i.ToArtifactHashesPtrOutputWithContext(context.Background()) } @@ -557,6 +648,12 @@ func (i *artifactHashesPtrType) ToArtifactHashesPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ArtifactHashesPtrOutput) } +func (i *artifactHashesPtrType) ToOutput(ctx context.Context) pulumix.Output[*ArtifactHashes] { + return pulumix.Output[*ArtifactHashes]{ + OutputState: i.ToArtifactHashesPtrOutputWithContext(ctx).OutputState, + } +} + // Defines a hash object for use in Materials and Products. type ArtifactHashesOutput struct{ *pulumi.OutputState } @@ -582,6 +679,12 @@ func (o ArtifactHashesOutput) ToArtifactHashesPtrOutputWithContext(ctx context.C }).(ArtifactHashesPtrOutput) } +func (o ArtifactHashesOutput) ToOutput(ctx context.Context) pulumix.Output[ArtifactHashes] { + return pulumix.Output[ArtifactHashes]{ + OutputState: o.OutputState, + } +} + func (o ArtifactHashesOutput) Sha256() pulumi.StringPtrOutput { return o.ApplyT(func(v ArtifactHashes) *string { return v.Sha256 }).(pulumi.StringPtrOutput) } @@ -600,6 +703,12 @@ func (o ArtifactHashesPtrOutput) ToArtifactHashesPtrOutputWithContext(ctx contex return o } +func (o ArtifactHashesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ArtifactHashes] { + return pulumix.Output[*ArtifactHashes]{ + OutputState: o.OutputState, + } +} + func (o ArtifactHashesPtrOutput) Elem() ArtifactHashesOutput { return o.ApplyT(func(v *ArtifactHashes) ArtifactHashes { if v != nil { @@ -639,6 +748,12 @@ func (o ArtifactHashesResponseOutput) ToArtifactHashesResponseOutputWithContext( return o } +func (o ArtifactHashesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ArtifactHashesResponse] { + return pulumix.Output[ArtifactHashesResponse]{ + OutputState: o.OutputState, + } +} + func (o ArtifactHashesResponseOutput) Sha256() pulumi.StringOutput { return o.ApplyT(func(v ArtifactHashesResponse) string { return v.Sha256 }).(pulumi.StringOutput) } @@ -666,6 +781,12 @@ func (o ArtifactResponseOutput) ToArtifactResponseOutputWithContext(ctx context. return o } +func (o ArtifactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ArtifactResponse] { + return pulumix.Output[ArtifactResponse]{ + OutputState: o.OutputState, + } +} + // Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container. func (o ArtifactResponseOutput) Checksum() pulumi.StringOutput { return o.ApplyT(func(v ArtifactResponse) string { return v.Checksum }).(pulumi.StringOutput) @@ -690,6 +811,12 @@ func (o ArtifactResponseArrayOutput) ToArtifactResponseArrayOutputWithContext(ct return o } +func (o ArtifactResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ArtifactResponse] { + return pulumix.Output[[]ArtifactResponse]{ + OutputState: o.OutputState, + } +} + func (o ArtifactResponseArrayOutput) Index(i pulumi.IntInput) ArtifactResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ArtifactResponse { return vs[0].([]ArtifactResponse)[vs[1].(int)] @@ -729,6 +856,12 @@ func (i ArtifactRuleArgs) ToArtifactRuleOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(ArtifactRuleOutput) } +func (i ArtifactRuleArgs) ToOutput(ctx context.Context) pulumix.Output[ArtifactRule] { + return pulumix.Output[ArtifactRule]{ + OutputState: i.ToArtifactRuleOutputWithContext(ctx).OutputState, + } +} + // ArtifactRuleArrayInput is an input type that accepts ArtifactRuleArray and ArtifactRuleArrayOutput values. // You can construct a concrete instance of `ArtifactRuleArrayInput` via: // @@ -754,6 +887,12 @@ func (i ArtifactRuleArray) ToArtifactRuleArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ArtifactRuleArrayOutput) } +func (i ArtifactRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]ArtifactRule] { + return pulumix.Output[[]ArtifactRule]{ + OutputState: i.ToArtifactRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Defines an object to declare an in-toto artifact rule type ArtifactRuleOutput struct{ *pulumi.OutputState } @@ -769,6 +908,12 @@ func (o ArtifactRuleOutput) ToArtifactRuleOutputWithContext(ctx context.Context) return o } +func (o ArtifactRuleOutput) ToOutput(ctx context.Context) pulumix.Output[ArtifactRule] { + return pulumix.Output[ArtifactRule]{ + OutputState: o.OutputState, + } +} + func (o ArtifactRuleOutput) ArtifactRule() pulumi.StringArrayOutput { return o.ApplyT(func(v ArtifactRule) []string { return v.ArtifactRule }).(pulumi.StringArrayOutput) } @@ -787,6 +932,12 @@ func (o ArtifactRuleArrayOutput) ToArtifactRuleArrayOutputWithContext(ctx contex return o } +func (o ArtifactRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ArtifactRule] { + return pulumix.Output[[]ArtifactRule]{ + OutputState: o.OutputState, + } +} + func (o ArtifactRuleArrayOutput) Index(i pulumi.IntInput) ArtifactRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ArtifactRule { return vs[0].([]ArtifactRule)[vs[1].(int)] @@ -813,6 +964,12 @@ func (o ArtifactRuleResponseOutput) ToArtifactRuleResponseOutputWithContext(ctx return o } +func (o ArtifactRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ArtifactRuleResponse] { + return pulumix.Output[ArtifactRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o ArtifactRuleResponseOutput) ArtifactRule() pulumi.StringArrayOutput { return o.ApplyT(func(v ArtifactRuleResponse) []string { return v.ArtifactRule }).(pulumi.StringArrayOutput) } @@ -831,6 +988,12 @@ func (o ArtifactRuleResponseArrayOutput) ToArtifactRuleResponseArrayOutputWithCo return o } +func (o ArtifactRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ArtifactRuleResponse] { + return pulumix.Output[[]ArtifactRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o ArtifactRuleResponseArrayOutput) Index(i pulumi.IntInput) ArtifactRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ArtifactRuleResponse { return vs[0].([]ArtifactRuleResponse)[vs[1].(int)] @@ -900,6 +1063,12 @@ func (i AssessmentArgs) ToAssessmentOutputWithContext(ctx context.Context) Asses return pulumi.ToOutputWithContext(ctx, i).(AssessmentOutput) } +func (i AssessmentArgs) ToOutput(ctx context.Context) pulumix.Output[Assessment] { + return pulumix.Output[Assessment]{ + OutputState: i.ToAssessmentOutputWithContext(ctx).OutputState, + } +} + func (i AssessmentArgs) ToAssessmentPtrOutput() AssessmentPtrOutput { return i.ToAssessmentPtrOutputWithContext(context.Background()) } @@ -941,6 +1110,12 @@ func (i *assessmentPtrType) ToAssessmentPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AssessmentPtrOutput) } +func (i *assessmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*Assessment] { + return pulumix.Output[*Assessment]{ + OutputState: i.ToAssessmentPtrOutputWithContext(ctx).OutputState, + } +} + // Assessment provides all information that is related to a single vulnerability for this product. type AssessmentOutput struct{ *pulumi.OutputState } @@ -966,6 +1141,12 @@ func (o AssessmentOutput) ToAssessmentPtrOutputWithContext(ctx context.Context) }).(AssessmentPtrOutput) } +func (o AssessmentOutput) ToOutput(ctx context.Context) pulumix.Output[Assessment] { + return pulumix.Output[Assessment]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o AssessmentOutput) Cve() pulumi.StringPtrOutput { return o.ApplyT(func(v Assessment) *string { return v.Cve }).(pulumi.StringPtrOutput) @@ -1020,6 +1201,12 @@ func (o AssessmentPtrOutput) ToAssessmentPtrOutputWithContext(ctx context.Contex return o } +func (o AssessmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Assessment] { + return pulumix.Output[*Assessment]{ + OutputState: o.OutputState, + } +} + func (o AssessmentPtrOutput) Elem() AssessmentOutput { return o.ApplyT(func(v *Assessment) Assessment { if v != nil { @@ -1145,6 +1332,12 @@ func (o AssessmentResponseOutput) ToAssessmentResponseOutputWithContext(ctx cont return o } +func (o AssessmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AssessmentResponse] { + return pulumix.Output[AssessmentResponse]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o AssessmentResponseOutput) Cve() pulumi.StringOutput { return o.ApplyT(func(v AssessmentResponse) string { return v.Cve }).(pulumi.StringOutput) @@ -1222,6 +1415,12 @@ func (i AttestationArgs) ToAttestationOutputWithContext(ctx context.Context) Att return pulumi.ToOutputWithContext(ctx, i).(AttestationOutput) } +func (i AttestationArgs) ToOutput(ctx context.Context) pulumix.Output[Attestation] { + return pulumix.Output[Attestation]{ + OutputState: i.ToAttestationOutputWithContext(ctx).OutputState, + } +} + func (i AttestationArgs) ToAttestationPtrOutput() AttestationPtrOutput { return i.ToAttestationPtrOutputWithContext(context.Background()) } @@ -1263,6 +1462,12 @@ func (i *attestationPtrType) ToAttestationPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AttestationPtrOutput) } +func (i *attestationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Attestation] { + return pulumix.Output[*Attestation]{ + OutputState: i.ToAttestationPtrOutputWithContext(ctx).OutputState, + } +} + // Occurrence that represents a single "attestation". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for look-up (how to find this attestation if you already know the authority and artifact to be verified) and intent (which authority was this attestation intended to sign for). type AttestationOutput struct{ *pulumi.OutputState } @@ -1288,6 +1493,12 @@ func (o AttestationOutput) ToAttestationPtrOutputWithContext(ctx context.Context }).(AttestationPtrOutput) } +func (o AttestationOutput) ToOutput(ctx context.Context) pulumix.Output[Attestation] { + return pulumix.Output[Attestation]{ + OutputState: o.OutputState, + } +} + func (o AttestationOutput) GenericSignedAttestation() GenericSignedAttestationPtrOutput { return o.ApplyT(func(v Attestation) *GenericSignedAttestation { return v.GenericSignedAttestation }).(GenericSignedAttestationPtrOutput) } @@ -1311,6 +1522,12 @@ func (o AttestationPtrOutput) ToAttestationPtrOutputWithContext(ctx context.Cont return o } +func (o AttestationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Attestation] { + return pulumix.Output[*Attestation]{ + OutputState: o.OutputState, + } +} + func (o AttestationPtrOutput) Elem() AttestationOutput { return o.ApplyT(func(v *Attestation) Attestation { if v != nil { @@ -1362,6 +1579,12 @@ func (o AttestationResponseOutput) ToAttestationResponseOutputWithContext(ctx co return o } +func (o AttestationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttestationResponse] { + return pulumix.Output[AttestationResponse]{ + OutputState: o.OutputState, + } +} + func (o AttestationResponseOutput) GenericSignedAttestation() GenericSignedAttestationResponseOutput { return o.ApplyT(func(v AttestationResponse) GenericSignedAttestationResponse { return v.GenericSignedAttestation }).(GenericSignedAttestationResponseOutput) } @@ -1406,6 +1629,12 @@ func (i AuthorityArgs) ToAuthorityOutputWithContext(ctx context.Context) Authori return pulumi.ToOutputWithContext(ctx, i).(AuthorityOutput) } +func (i AuthorityArgs) ToOutput(ctx context.Context) pulumix.Output[Authority] { + return pulumix.Output[Authority]{ + OutputState: i.ToAuthorityOutputWithContext(ctx).OutputState, + } +} + func (i AuthorityArgs) ToAuthorityPtrOutput() AuthorityPtrOutput { return i.ToAuthorityPtrOutputWithContext(context.Background()) } @@ -1447,6 +1676,12 @@ func (i *authorityPtrType) ToAuthorityPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AuthorityPtrOutput) } +func (i *authorityPtrType) ToOutput(ctx context.Context) pulumix.Output[*Authority] { + return pulumix.Output[*Authority]{ + OutputState: i.ToAuthorityPtrOutputWithContext(ctx).OutputState, + } +} + // Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one `Authority` for "QA" and one for "build". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project. type AuthorityOutput struct{ *pulumi.OutputState } @@ -1472,6 +1707,12 @@ func (o AuthorityOutput) ToAuthorityPtrOutputWithContext(ctx context.Context) Au }).(AuthorityPtrOutput) } +func (o AuthorityOutput) ToOutput(ctx context.Context) pulumix.Output[Authority] { + return pulumix.Output[Authority]{ + OutputState: o.OutputState, + } +} + // Hint hints at the purpose of the attestation authority. func (o AuthorityOutput) Hint() HintPtrOutput { return o.ApplyT(func(v Authority) *Hint { return v.Hint }).(HintPtrOutput) @@ -1491,6 +1732,12 @@ func (o AuthorityPtrOutput) ToAuthorityPtrOutputWithContext(ctx context.Context) return o } +func (o AuthorityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Authority] { + return pulumix.Output[*Authority]{ + OutputState: o.OutputState, + } +} + func (o AuthorityPtrOutput) Elem() AuthorityOutput { return o.ApplyT(func(v *Authority) Authority { if v != nil { @@ -1532,6 +1779,12 @@ func (o AuthorityResponseOutput) ToAuthorityResponseOutputWithContext(ctx contex return o } +func (o AuthorityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorityResponse] { + return pulumix.Output[AuthorityResponse]{ + OutputState: o.OutputState, + } +} + // Hint hints at the purpose of the attestation authority. func (o AuthorityResponseOutput) Hint() HintResponseOutput { return o.ApplyT(func(v AuthorityResponse) HintResponse { return v.Hint }).(HintResponseOutput) @@ -1576,6 +1829,12 @@ func (i BasisArgs) ToBasisOutputWithContext(ctx context.Context) BasisOutput { return pulumi.ToOutputWithContext(ctx, i).(BasisOutput) } +func (i BasisArgs) ToOutput(ctx context.Context) pulumix.Output[Basis] { + return pulumix.Output[Basis]{ + OutputState: i.ToBasisOutputWithContext(ctx).OutputState, + } +} + func (i BasisArgs) ToBasisPtrOutput() BasisPtrOutput { return i.ToBasisPtrOutputWithContext(context.Background()) } @@ -1617,6 +1876,12 @@ func (i *basisPtrType) ToBasisPtrOutputWithContext(ctx context.Context) BasisPtr return pulumi.ToOutputWithContext(ctx, i).(BasisPtrOutput) } +func (i *basisPtrType) ToOutput(ctx context.Context) pulumix.Output[*Basis] { + return pulumix.Output[*Basis]{ + OutputState: i.ToBasisPtrOutputWithContext(ctx).OutputState, + } +} + // Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g. a tag of the resource_url. type BasisOutput struct{ *pulumi.OutputState } @@ -1642,6 +1907,12 @@ func (o BasisOutput) ToBasisPtrOutputWithContext(ctx context.Context) BasisPtrOu }).(BasisPtrOutput) } +func (o BasisOutput) ToOutput(ctx context.Context) pulumix.Output[Basis] { + return pulumix.Output[Basis]{ + OutputState: o.OutputState, + } +} + // Immutable. The fingerprint of the base image. func (o BasisOutput) Fingerprint() FingerprintOutput { return o.ApplyT(func(v Basis) Fingerprint { return v.Fingerprint }).(FingerprintOutput) @@ -1666,6 +1937,12 @@ func (o BasisPtrOutput) ToBasisPtrOutputWithContext(ctx context.Context) BasisPt return o } +func (o BasisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Basis] { + return pulumix.Output[*Basis]{ + OutputState: o.OutputState, + } +} + func (o BasisPtrOutput) Elem() BasisOutput { return o.ApplyT(func(v *Basis) Basis { if v != nil { @@ -1719,6 +1996,12 @@ func (o BasisResponseOutput) ToBasisResponseOutputWithContext(ctx context.Contex return o } +func (o BasisResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasisResponse] { + return pulumix.Output[BasisResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The fingerprint of the base image. func (o BasisResponseOutput) Fingerprint() FingerprintResponseOutput { return o.ApplyT(func(v BasisResponse) FingerprintResponse { return v.Fingerprint }).(FingerprintResponseOutput) @@ -1772,6 +2055,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -1797,6 +2086,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -1812,6 +2107,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -1841,6 +2142,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -1872,6 +2179,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1901,6 +2214,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1946,6 +2265,12 @@ func (i BuildArgs) ToBuildOutputWithContext(ctx context.Context) BuildOutput { return pulumi.ToOutputWithContext(ctx, i).(BuildOutput) } +func (i BuildArgs) ToOutput(ctx context.Context) pulumix.Output[Build] { + return pulumix.Output[Build]{ + OutputState: i.ToBuildOutputWithContext(ctx).OutputState, + } +} + func (i BuildArgs) ToBuildPtrOutput() BuildPtrOutput { return i.ToBuildPtrOutputWithContext(context.Background()) } @@ -1987,6 +2312,12 @@ func (i *buildPtrType) ToBuildPtrOutputWithContext(ctx context.Context) BuildPtr return pulumi.ToOutputWithContext(ctx, i).(BuildPtrOutput) } +func (i *buildPtrType) ToOutput(ctx context.Context) pulumix.Output[*Build] { + return pulumix.Output[*Build]{ + OutputState: i.ToBuildPtrOutputWithContext(ctx).OutputState, + } +} + // Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence. type BuildOutput struct{ *pulumi.OutputState } @@ -2012,6 +2343,12 @@ func (o BuildOutput) ToBuildPtrOutputWithContext(ctx context.Context) BuildPtrOu }).(BuildPtrOutput) } +func (o BuildOutput) ToOutput(ctx context.Context) pulumix.Output[Build] { + return pulumix.Output[Build]{ + OutputState: o.OutputState, + } +} + // Immutable. Version of the builder which produced this build. func (o BuildOutput) BuilderVersion() pulumi.StringOutput { return o.ApplyT(func(v Build) string { return v.BuilderVersion }).(pulumi.StringOutput) @@ -2036,6 +2373,12 @@ func (o BuildPtrOutput) ToBuildPtrOutputWithContext(ctx context.Context) BuildPt return o } +func (o BuildPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Build] { + return pulumix.Output[*Build]{ + OutputState: o.OutputState, + } +} + func (o BuildPtrOutput) Elem() BuildOutput { return o.ApplyT(func(v *Build) Build { if v != nil { @@ -2149,6 +2492,12 @@ func (i BuildProvenanceArgs) ToBuildProvenanceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BuildProvenanceOutput) } +func (i BuildProvenanceArgs) ToOutput(ctx context.Context) pulumix.Output[BuildProvenance] { + return pulumix.Output[BuildProvenance]{ + OutputState: i.ToBuildProvenanceOutputWithContext(ctx).OutputState, + } +} + func (i BuildProvenanceArgs) ToBuildProvenancePtrOutput() BuildProvenancePtrOutput { return i.ToBuildProvenancePtrOutputWithContext(context.Background()) } @@ -2190,6 +2539,12 @@ func (i *buildProvenancePtrType) ToBuildProvenancePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BuildProvenancePtrOutput) } +func (i *buildProvenancePtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildProvenance] { + return pulumix.Output[*BuildProvenance]{ + OutputState: i.ToBuildProvenancePtrOutputWithContext(ctx).OutputState, + } +} + // Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. type BuildProvenanceOutput struct{ *pulumi.OutputState } @@ -2215,6 +2570,12 @@ func (o BuildProvenanceOutput) ToBuildProvenancePtrOutputWithContext(ctx context }).(BuildProvenancePtrOutput) } +func (o BuildProvenanceOutput) ToOutput(ctx context.Context) pulumix.Output[BuildProvenance] { + return pulumix.Output[BuildProvenance]{ + OutputState: o.OutputState, + } +} + // Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details. func (o BuildProvenanceOutput) BuildOptions() pulumi.StringMapOutput { return o.ApplyT(func(v BuildProvenance) map[string]string { return v.BuildOptions }).(pulumi.StringMapOutput) @@ -2294,6 +2655,12 @@ func (o BuildProvenancePtrOutput) ToBuildProvenancePtrOutputWithContext(ctx cont return o } +func (o BuildProvenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildProvenance] { + return pulumix.Output[*BuildProvenance]{ + OutputState: o.OutputState, + } +} + func (o BuildProvenancePtrOutput) Elem() BuildProvenanceOutput { return o.ApplyT(func(v *BuildProvenance) BuildProvenance { if v != nil { @@ -2477,6 +2844,12 @@ func (o BuildProvenanceResponseOutput) ToBuildProvenanceResponseOutputWithContex return o } +func (o BuildProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildProvenanceResponse] { + return pulumix.Output[BuildProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details. func (o BuildProvenanceResponseOutput) BuildOptions() pulumi.StringMapOutput { return o.ApplyT(func(v BuildProvenanceResponse) map[string]string { return v.BuildOptions }).(pulumi.StringMapOutput) @@ -2560,6 +2933,12 @@ func (o BuildResponseOutput) ToBuildResponseOutputWithContext(ctx context.Contex return o } +func (o BuildResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildResponse] { + return pulumix.Output[BuildResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Version of the builder which produced this build. func (o BuildResponseOutput) BuilderVersion() pulumi.StringOutput { return o.ApplyT(func(v BuildResponse) string { return v.BuilderVersion }).(pulumi.StringOutput) @@ -2617,6 +2996,12 @@ func (i BuildSignatureArgs) ToBuildSignatureOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BuildSignatureOutput) } +func (i BuildSignatureArgs) ToOutput(ctx context.Context) pulumix.Output[BuildSignature] { + return pulumix.Output[BuildSignature]{ + OutputState: i.ToBuildSignatureOutputWithContext(ctx).OutputState, + } +} + func (i BuildSignatureArgs) ToBuildSignaturePtrOutput() BuildSignaturePtrOutput { return i.ToBuildSignaturePtrOutputWithContext(context.Background()) } @@ -2658,6 +3043,12 @@ func (i *buildSignaturePtrType) ToBuildSignaturePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(BuildSignaturePtrOutput) } +func (i *buildSignaturePtrType) ToOutput(ctx context.Context) pulumix.Output[*BuildSignature] { + return pulumix.Output[*BuildSignature]{ + OutputState: i.ToBuildSignaturePtrOutputWithContext(ctx).OutputState, + } +} + // Message encapsulating the signature of the verified build. type BuildSignatureOutput struct{ *pulumi.OutputState } @@ -2683,6 +3074,12 @@ func (o BuildSignatureOutput) ToBuildSignaturePtrOutputWithContext(ctx context.C }).(BuildSignaturePtrOutput) } +func (o BuildSignatureOutput) ToOutput(ctx context.Context) pulumix.Output[BuildSignature] { + return pulumix.Output[BuildSignature]{ + OutputState: o.OutputState, + } +} + // An ID for the key used to sign. This could be either an ID for the key stored in `public_key` (such as the ID or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service). func (o BuildSignatureOutput) KeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v BuildSignature) *string { return v.KeyId }).(pulumi.StringPtrOutput) @@ -2717,6 +3114,12 @@ func (o BuildSignaturePtrOutput) ToBuildSignaturePtrOutputWithContext(ctx contex return o } +func (o BuildSignaturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BuildSignature] { + return pulumix.Output[*BuildSignature]{ + OutputState: o.OutputState, + } +} + func (o BuildSignaturePtrOutput) Elem() BuildSignatureOutput { return o.ApplyT(func(v *BuildSignature) BuildSignature { if v != nil { @@ -2794,6 +3197,12 @@ func (o BuildSignatureResponseOutput) ToBuildSignatureResponseOutputWithContext( return o } +func (o BuildSignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BuildSignatureResponse] { + return pulumix.Output[BuildSignatureResponse]{ + OutputState: o.OutputState, + } +} + // An ID for the key used to sign. This could be either an ID for the key stored in `public_key` (such as the ID or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service). func (o BuildSignatureResponseOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v BuildSignatureResponse) string { return v.KeyId }).(pulumi.StringOutput) @@ -2847,6 +3256,12 @@ func (i ByProductsArgs) ToByProductsOutputWithContext(ctx context.Context) ByPro return pulumi.ToOutputWithContext(ctx, i).(ByProductsOutput) } +func (i ByProductsArgs) ToOutput(ctx context.Context) pulumix.Output[ByProducts] { + return pulumix.Output[ByProducts]{ + OutputState: i.ToByProductsOutputWithContext(ctx).OutputState, + } +} + func (i ByProductsArgs) ToByProductsPtrOutput() ByProductsPtrOutput { return i.ToByProductsPtrOutputWithContext(context.Background()) } @@ -2888,6 +3303,12 @@ func (i *byProductsPtrType) ToByProductsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ByProductsPtrOutput) } +func (i *byProductsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ByProducts] { + return pulumix.Output[*ByProducts]{ + OutputState: i.ToByProductsPtrOutputWithContext(ctx).OutputState, + } +} + // Defines an object for the byproducts field in in-toto links. The suggested fields are "stderr", "stdout", and "return-value". type ByProductsOutput struct{ *pulumi.OutputState } @@ -2913,6 +3334,12 @@ func (o ByProductsOutput) ToByProductsPtrOutputWithContext(ctx context.Context) }).(ByProductsPtrOutput) } +func (o ByProductsOutput) ToOutput(ctx context.Context) pulumix.Output[ByProducts] { + return pulumix.Output[ByProducts]{ + OutputState: o.OutputState, + } +} + func (o ByProductsOutput) CustomValues() pulumi.StringMapOutput { return o.ApplyT(func(v ByProducts) map[string]string { return v.CustomValues }).(pulumi.StringMapOutput) } @@ -2931,6 +3358,12 @@ func (o ByProductsPtrOutput) ToByProductsPtrOutputWithContext(ctx context.Contex return o } +func (o ByProductsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ByProducts] { + return pulumix.Output[*ByProducts]{ + OutputState: o.OutputState, + } +} + func (o ByProductsPtrOutput) Elem() ByProductsOutput { return o.ApplyT(func(v *ByProducts) ByProducts { if v != nil { @@ -2970,6 +3403,12 @@ func (o ByProductsResponseOutput) ToByProductsResponseOutputWithContext(ctx cont return o } +func (o ByProductsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ByProductsResponse] { + return pulumix.Output[ByProductsResponse]{ + OutputState: o.OutputState, + } +} + func (o ByProductsResponseOutput) CustomValues() pulumi.StringMapOutput { return o.ApplyT(func(v ByProductsResponse) map[string]string { return v.CustomValues }).(pulumi.StringMapOutput) } @@ -3049,6 +3488,12 @@ func (i CVSSArgs) ToCVSSOutputWithContext(ctx context.Context) CVSSOutput { return pulumi.ToOutputWithContext(ctx, i).(CVSSOutput) } +func (i CVSSArgs) ToOutput(ctx context.Context) pulumix.Output[CVSS] { + return pulumix.Output[CVSS]{ + OutputState: i.ToCVSSOutputWithContext(ctx).OutputState, + } +} + func (i CVSSArgs) ToCVSSPtrOutput() CVSSPtrOutput { return i.ToCVSSPtrOutputWithContext(context.Background()) } @@ -3090,6 +3535,12 @@ func (i *cvssPtrType) ToCVSSPtrOutputWithContext(ctx context.Context) CVSSPtrOut return pulumi.ToOutputWithContext(ctx, i).(CVSSPtrOutput) } +func (i *cvssPtrType) ToOutput(ctx context.Context) pulumix.Output[*CVSS] { + return pulumix.Output[*CVSS]{ + OutputState: i.ToCVSSPtrOutputWithContext(ctx).OutputState, + } +} + // Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator type CVSSOutput struct{ *pulumi.OutputState } @@ -3115,6 +3566,12 @@ func (o CVSSOutput) ToCVSSPtrOutputWithContext(ctx context.Context) CVSSPtrOutpu }).(CVSSPtrOutput) } +func (o CVSSOutput) ToOutput(ctx context.Context) pulumix.Output[CVSS] { + return pulumix.Output[CVSS]{ + OutputState: o.OutputState, + } +} + // Defined in CVSS v3, CVSS v2 func (o CVSSOutput) AttackComplexity() CVSSAttackComplexityPtrOutput { return o.ApplyT(func(v CVSS) *CVSSAttackComplexity { return v.AttackComplexity }).(CVSSAttackComplexityPtrOutput) @@ -3187,6 +3644,12 @@ func (o CVSSPtrOutput) ToCVSSPtrOutputWithContext(ctx context.Context) CVSSPtrOu return o } +func (o CVSSPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSS] { + return pulumix.Output[*CVSS]{ + OutputState: o.OutputState, + } +} + func (o CVSSPtrOutput) Elem() CVSSOutput { return o.ApplyT(func(v *CVSS) CVSS { if v != nil { @@ -3356,6 +3819,12 @@ func (o CVSSResponseOutput) ToCVSSResponseOutputWithContext(ctx context.Context) return o } +func (o CVSSResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSResponse] { + return pulumix.Output[CVSSResponse]{ + OutputState: o.OutputState, + } +} + // Defined in CVSS v3, CVSS v2 func (o CVSSResponseOutput) AttackComplexity() pulumi.StringOutput { return o.ApplyT(func(v CVSSResponse) string { return v.AttackComplexity }).(pulumi.StringOutput) @@ -3471,6 +3940,12 @@ func (i CVSSv3Args) ToCVSSv3OutputWithContext(ctx context.Context) CVSSv3Output return pulumi.ToOutputWithContext(ctx, i).(CVSSv3Output) } +func (i CVSSv3Args) ToOutput(ctx context.Context) pulumix.Output[CVSSv3] { + return pulumix.Output[CVSSv3]{ + OutputState: i.ToCVSSv3OutputWithContext(ctx).OutputState, + } +} + func (i CVSSv3Args) ToCVSSv3PtrOutput() CVSSv3PtrOutput { return i.ToCVSSv3PtrOutputWithContext(context.Background()) } @@ -3512,6 +3987,12 @@ func (i *cvssv3PtrType) ToCVSSv3PtrOutputWithContext(ctx context.Context) CVSSv3 return pulumi.ToOutputWithContext(ctx, i).(CVSSv3PtrOutput) } +func (i *cvssv3PtrType) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3] { + return pulumix.Output[*CVSSv3]{ + OutputState: i.ToCVSSv3PtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document type CVSSv3Output struct{ *pulumi.OutputState } @@ -3537,6 +4018,12 @@ func (o CVSSv3Output) ToCVSSv3PtrOutputWithContext(ctx context.Context) CVSSv3Pt }).(CVSSv3PtrOutput) } +func (o CVSSv3Output) ToOutput(ctx context.Context) pulumix.Output[CVSSv3] { + return pulumix.Output[CVSSv3]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3Output) AttackComplexity() CVSSv3AttackComplexityPtrOutput { return o.ApplyT(func(v CVSSv3) *CVSSv3AttackComplexity { return v.AttackComplexity }).(CVSSv3AttackComplexityPtrOutput) } @@ -3597,6 +4084,12 @@ func (o CVSSv3PtrOutput) ToCVSSv3PtrOutputWithContext(ctx context.Context) CVSSv return o } +func (o CVSSv3PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CVSSv3] { + return pulumix.Output[*CVSSv3]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3PtrOutput) Elem() CVSSv3Output { return o.ApplyT(func(v *CVSSv3) CVSSv3 { if v != nil { @@ -3740,6 +4233,12 @@ func (o CVSSv3ResponseOutput) ToCVSSv3ResponseOutputWithContext(ctx context.Cont return o } +func (o CVSSv3ResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CVSSv3Response] { + return pulumix.Output[CVSSv3Response]{ + OutputState: o.OutputState, + } +} + func (o CVSSv3ResponseOutput) AttackComplexity() pulumi.StringOutput { return o.ApplyT(func(v CVSSv3Response) string { return v.AttackComplexity }).(pulumi.StringOutput) } @@ -3829,6 +4328,12 @@ func (i CloudRepoSourceContextArgs) ToCloudRepoSourceContextOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(CloudRepoSourceContextOutput) } +func (i CloudRepoSourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRepoSourceContext] { + return pulumix.Output[CloudRepoSourceContext]{ + OutputState: i.ToCloudRepoSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i CloudRepoSourceContextArgs) ToCloudRepoSourceContextPtrOutput() CloudRepoSourceContextPtrOutput { return i.ToCloudRepoSourceContextPtrOutputWithContext(context.Background()) } @@ -3870,6 +4375,12 @@ func (i *cloudRepoSourceContextPtrType) ToCloudRepoSourceContextPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(CloudRepoSourceContextPtrOutput) } +func (i *cloudRepoSourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRepoSourceContext] { + return pulumix.Output[*CloudRepoSourceContext]{ + OutputState: i.ToCloudRepoSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. type CloudRepoSourceContextOutput struct{ *pulumi.OutputState } @@ -3895,6 +4406,12 @@ func (o CloudRepoSourceContextOutput) ToCloudRepoSourceContextPtrOutputWithConte }).(CloudRepoSourceContextPtrOutput) } +func (o CloudRepoSourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRepoSourceContext] { + return pulumix.Output[CloudRepoSourceContext]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o CloudRepoSourceContextOutput) AliasContext() AliasContextPtrOutput { return o.ApplyT(func(v CloudRepoSourceContext) *AliasContext { return v.AliasContext }).(AliasContextPtrOutput) @@ -3924,6 +4441,12 @@ func (o CloudRepoSourceContextPtrOutput) ToCloudRepoSourceContextPtrOutputWithCo return o } +func (o CloudRepoSourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRepoSourceContext] { + return pulumix.Output[*CloudRepoSourceContext]{ + OutputState: o.OutputState, + } +} + func (o CloudRepoSourceContextPtrOutput) Elem() CloudRepoSourceContextOutput { return o.ApplyT(func(v *CloudRepoSourceContext) CloudRepoSourceContext { if v != nil { @@ -3989,6 +4512,12 @@ func (o CloudRepoSourceContextResponseOutput) ToCloudRepoSourceContextResponseOu return o } +func (o CloudRepoSourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRepoSourceContextResponse] { + return pulumix.Output[CloudRepoSourceContextResponse]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o CloudRepoSourceContextResponseOutput) AliasContext() AliasContextResponseOutput { return o.ApplyT(func(v CloudRepoSourceContextResponse) AliasContextResponse { return v.AliasContext }).(AliasContextResponseOutput) @@ -4059,6 +4588,12 @@ func (i CommandArgs) ToCommandOutputWithContext(ctx context.Context) CommandOutp return pulumi.ToOutputWithContext(ctx, i).(CommandOutput) } +func (i CommandArgs) ToOutput(ctx context.Context) pulumix.Output[Command] { + return pulumix.Output[Command]{ + OutputState: i.ToCommandOutputWithContext(ctx).OutputState, + } +} + // CommandArrayInput is an input type that accepts CommandArray and CommandArrayOutput values. // You can construct a concrete instance of `CommandArrayInput` via: // @@ -4084,6 +4619,12 @@ func (i CommandArray) ToCommandArrayOutputWithContext(ctx context.Context) Comma return pulumi.ToOutputWithContext(ctx, i).(CommandArrayOutput) } +func (i CommandArray) ToOutput(ctx context.Context) pulumix.Output[[]Command] { + return pulumix.Output[[]Command]{ + OutputState: i.ToCommandArrayOutputWithContext(ctx).OutputState, + } +} + // Command describes a step performed as part of the build pipeline. type CommandOutput struct{ *pulumi.OutputState } @@ -4099,6 +4640,12 @@ func (o CommandOutput) ToCommandOutputWithContext(ctx context.Context) CommandOu return o } +func (o CommandOutput) ToOutput(ctx context.Context) pulumix.Output[Command] { + return pulumix.Output[Command]{ + OutputState: o.OutputState, + } +} + // Command-line arguments used when executing this command. func (o CommandOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v Command) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -4143,6 +4690,12 @@ func (o CommandArrayOutput) ToCommandArrayOutputWithContext(ctx context.Context) return o } +func (o CommandArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Command] { + return pulumix.Output[[]Command]{ + OutputState: o.OutputState, + } +} + func (o CommandArrayOutput) Index(i pulumi.IntInput) CommandOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Command { return vs[0].([]Command)[vs[1].(int)] @@ -4178,6 +4731,12 @@ func (o CommandResponseOutput) ToCommandResponseOutputWithContext(ctx context.Co return o } +func (o CommandResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommandResponse] { + return pulumix.Output[CommandResponse]{ + OutputState: o.OutputState, + } +} + // Command-line arguments used when executing this command. func (o CommandResponseOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v CommandResponse) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -4217,6 +4776,12 @@ func (o CommandResponseArrayOutput) ToCommandResponseArrayOutputWithContext(ctx return o } +func (o CommandResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CommandResponse] { + return pulumix.Output[[]CommandResponse]{ + OutputState: o.OutputState, + } +} + func (o CommandResponseArrayOutput) Index(i pulumi.IntInput) CommandResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommandResponse { return vs[0].([]CommandResponse)[vs[1].(int)] @@ -4258,6 +4823,12 @@ func (i DeployableArgs) ToDeployableOutputWithContext(ctx context.Context) Deplo return pulumi.ToOutputWithContext(ctx, i).(DeployableOutput) } +func (i DeployableArgs) ToOutput(ctx context.Context) pulumix.Output[Deployable] { + return pulumix.Output[Deployable]{ + OutputState: i.ToDeployableOutputWithContext(ctx).OutputState, + } +} + func (i DeployableArgs) ToDeployablePtrOutput() DeployablePtrOutput { return i.ToDeployablePtrOutputWithContext(context.Background()) } @@ -4299,6 +4870,12 @@ func (i *deployablePtrType) ToDeployablePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DeployablePtrOutput) } +func (i *deployablePtrType) ToOutput(ctx context.Context) pulumix.Output[*Deployable] { + return pulumix.Output[*Deployable]{ + OutputState: i.ToDeployablePtrOutputWithContext(ctx).OutputState, + } +} + // An artifact that can be deployed in some runtime. type DeployableOutput struct{ *pulumi.OutputState } @@ -4324,6 +4901,12 @@ func (o DeployableOutput) ToDeployablePtrOutputWithContext(ctx context.Context) }).(DeployablePtrOutput) } +func (o DeployableOutput) ToOutput(ctx context.Context) pulumix.Output[Deployable] { + return pulumix.Output[Deployable]{ + OutputState: o.OutputState, + } +} + // Resource URI for the artifact being deployed. func (o DeployableOutput) ResourceUri() pulumi.StringArrayOutput { return o.ApplyT(func(v Deployable) []string { return v.ResourceUri }).(pulumi.StringArrayOutput) @@ -4343,6 +4926,12 @@ func (o DeployablePtrOutput) ToDeployablePtrOutputWithContext(ctx context.Contex return o } +func (o DeployablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Deployable] { + return pulumix.Output[*Deployable]{ + OutputState: o.OutputState, + } +} + func (o DeployablePtrOutput) Elem() DeployableOutput { return o.ApplyT(func(v *Deployable) Deployable { if v != nil { @@ -4384,6 +4973,12 @@ func (o DeployableResponseOutput) ToDeployableResponseOutputWithContext(ctx cont return o } +func (o DeployableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeployableResponse] { + return pulumix.Output[DeployableResponse]{ + OutputState: o.OutputState, + } +} + // Resource URI for the artifact being deployed. func (o DeployableResponseOutput) ResourceUri() pulumi.StringArrayOutput { return o.ApplyT(func(v DeployableResponse) []string { return v.ResourceUri }).(pulumi.StringArrayOutput) @@ -4444,6 +5039,12 @@ func (i DeploymentArgs) ToDeploymentOutputWithContext(ctx context.Context) Deplo return pulumi.ToOutputWithContext(ctx, i).(DeploymentOutput) } +func (i DeploymentArgs) ToOutput(ctx context.Context) pulumix.Output[Deployment] { + return pulumix.Output[Deployment]{ + OutputState: i.ToDeploymentOutputWithContext(ctx).OutputState, + } +} + func (i DeploymentArgs) ToDeploymentPtrOutput() DeploymentPtrOutput { return i.ToDeploymentPtrOutputWithContext(context.Background()) } @@ -4485,6 +5086,12 @@ func (i *deploymentPtrType) ToDeploymentPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DeploymentPtrOutput) } +func (i *deploymentPtrType) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: i.ToDeploymentPtrOutputWithContext(ctx).OutputState, + } +} + // The period during which some deployable was active in a runtime. type DeploymentOutput struct{ *pulumi.OutputState } @@ -4510,6 +5117,12 @@ func (o DeploymentOutput) ToDeploymentPtrOutputWithContext(ctx context.Context) }).(DeploymentPtrOutput) } +func (o DeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[Deployment] { + return pulumix.Output[Deployment]{ + OutputState: o.OutputState, + } +} + // Address of the runtime element hosting this deployment. func (o DeploymentOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v Deployment) *string { return v.Address }).(pulumi.StringPtrOutput) @@ -4554,6 +5167,12 @@ func (o DeploymentPtrOutput) ToDeploymentPtrOutputWithContext(ctx context.Contex return o } +func (o DeploymentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: o.OutputState, + } +} + func (o DeploymentPtrOutput) Elem() DeploymentOutput { return o.ApplyT(func(v *Deployment) Deployment { if v != nil { @@ -4657,6 +5276,12 @@ func (o DeploymentResponseOutput) ToDeploymentResponseOutputWithContext(ctx cont return o } +func (o DeploymentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentResponse] { + return pulumix.Output[DeploymentResponse]{ + OutputState: o.OutputState, + } +} + // Address of the runtime element hosting this deployment. func (o DeploymentResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v DeploymentResponse) string { return v.Address }).(pulumi.StringOutput) @@ -4731,6 +5356,12 @@ func (i DerivedArgs) ToDerivedOutputWithContext(ctx context.Context) DerivedOutp return pulumi.ToOutputWithContext(ctx, i).(DerivedOutput) } +func (i DerivedArgs) ToOutput(ctx context.Context) pulumix.Output[Derived] { + return pulumix.Output[Derived]{ + OutputState: i.ToDerivedOutputWithContext(ctx).OutputState, + } +} + func (i DerivedArgs) ToDerivedPtrOutput() DerivedPtrOutput { return i.ToDerivedPtrOutputWithContext(context.Background()) } @@ -4772,6 +5403,12 @@ func (i *derivedPtrType) ToDerivedPtrOutputWithContext(ctx context.Context) Deri return pulumi.ToOutputWithContext(ctx, i).(DerivedPtrOutput) } +func (i *derivedPtrType) ToOutput(ctx context.Context) pulumix.Output[*Derived] { + return pulumix.Output[*Derived]{ + OutputState: i.ToDerivedPtrOutputWithContext(ctx).OutputState, + } +} + // Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . type DerivedOutput struct{ *pulumi.OutputState } @@ -4797,6 +5434,12 @@ func (o DerivedOutput) ToDerivedPtrOutputWithContext(ctx context.Context) Derive }).(DerivedPtrOutput) } +func (o DerivedOutput) ToOutput(ctx context.Context) pulumix.Output[Derived] { + return pulumix.Output[Derived]{ + OutputState: o.OutputState, + } +} + // The fingerprint of the derived image. func (o DerivedOutput) Fingerprint() FingerprintOutput { return o.ApplyT(func(v Derived) Fingerprint { return v.Fingerprint }).(FingerprintOutput) @@ -4821,6 +5464,12 @@ func (o DerivedPtrOutput) ToDerivedPtrOutputWithContext(ctx context.Context) Der return o } +func (o DerivedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Derived] { + return pulumix.Output[*Derived]{ + OutputState: o.OutputState, + } +} + func (o DerivedPtrOutput) Elem() DerivedOutput { return o.ApplyT(func(v *Derived) Derived { if v != nil { @@ -4878,6 +5527,12 @@ func (o DerivedResponseOutput) ToDerivedResponseOutputWithContext(ctx context.Co return o } +func (o DerivedResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DerivedResponse] { + return pulumix.Output[DerivedResponse]{ + OutputState: o.OutputState, + } +} + // This contains the base image URL for the derived image occurrence. func (o DerivedResponseOutput) BaseResourceUrl() pulumi.StringOutput { return o.ApplyT(func(v DerivedResponse) string { return v.BaseResourceUrl }).(pulumi.StringOutput) @@ -4977,6 +5632,12 @@ func (i DetailArgs) ToDetailOutputWithContext(ctx context.Context) DetailOutput return pulumi.ToOutputWithContext(ctx, i).(DetailOutput) } +func (i DetailArgs) ToOutput(ctx context.Context) pulumix.Output[Detail] { + return pulumix.Output[Detail]{ + OutputState: i.ToDetailOutputWithContext(ctx).OutputState, + } +} + // DetailArrayInput is an input type that accepts DetailArray and DetailArrayOutput values. // You can construct a concrete instance of `DetailArrayInput` via: // @@ -5002,6 +5663,12 @@ func (i DetailArray) ToDetailArrayOutputWithContext(ctx context.Context) DetailA return pulumi.ToOutputWithContext(ctx, i).(DetailArrayOutput) } +func (i DetailArray) ToOutput(ctx context.Context) pulumix.Output[[]Detail] { + return pulumix.Output[[]Detail]{ + OutputState: i.ToDetailArrayOutputWithContext(ctx).OutputState, + } +} + // Identifies all appearances of this vulnerability in the package for a specific distro/location. For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2 type DetailOutput struct{ *pulumi.OutputState } @@ -5017,6 +5684,12 @@ func (o DetailOutput) ToDetailOutputWithContext(ctx context.Context) DetailOutpu return o } +func (o DetailOutput) ToOutput(ctx context.Context) pulumix.Output[Detail] { + return pulumix.Output[Detail]{ + OutputState: o.OutputState, + } +} + // The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. func (o DetailOutput) CpeUri() pulumi.StringOutput { return o.ApplyT(func(v Detail) string { return v.CpeUri }).(pulumi.StringOutput) @@ -5091,6 +5764,12 @@ func (o DetailArrayOutput) ToDetailArrayOutputWithContext(ctx context.Context) D return o } +func (o DetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Detail] { + return pulumix.Output[[]Detail]{ + OutputState: o.OutputState, + } +} + func (o DetailArrayOutput) Index(i pulumi.IntInput) DetailOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Detail { return vs[0].([]Detail)[vs[1].(int)] @@ -5140,6 +5819,12 @@ func (o DetailResponseOutput) ToDetailResponseOutputWithContext(ctx context.Cont return o } +func (o DetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DetailResponse] { + return pulumix.Output[DetailResponse]{ + OutputState: o.OutputState, + } +} + // The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. func (o DetailResponseOutput) CpeUri() pulumi.StringOutput { return o.ApplyT(func(v DetailResponse) string { return v.CpeUri }).(pulumi.StringOutput) @@ -5214,6 +5899,12 @@ func (o DetailResponseArrayOutput) ToDetailResponseArrayOutputWithContext(ctx co return o } +func (o DetailResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DetailResponse] { + return pulumix.Output[[]DetailResponse]{ + OutputState: o.OutputState, + } +} + func (o DetailResponseArrayOutput) Index(i pulumi.IntInput) DetailResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DetailResponse { return vs[0].([]DetailResponse)[vs[1].(int)] @@ -5255,6 +5946,12 @@ func (i DetailsArgs) ToDetailsOutputWithContext(ctx context.Context) DetailsOutp return pulumi.ToOutputWithContext(ctx, i).(DetailsOutput) } +func (i DetailsArgs) ToOutput(ctx context.Context) pulumix.Output[Details] { + return pulumix.Output[Details]{ + OutputState: i.ToDetailsOutputWithContext(ctx).OutputState, + } +} + func (i DetailsArgs) ToDetailsPtrOutput() DetailsPtrOutput { return i.ToDetailsPtrOutputWithContext(context.Background()) } @@ -5296,6 +5993,12 @@ func (i *detailsPtrType) ToDetailsPtrOutputWithContext(ctx context.Context) Deta return pulumi.ToOutputWithContext(ctx, i).(DetailsPtrOutput) } +func (i *detailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Details] { + return pulumix.Output[*Details]{ + OutputState: i.ToDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Details of an attestation occurrence. type DetailsOutput struct{ *pulumi.OutputState } @@ -5321,6 +6024,12 @@ func (o DetailsOutput) ToDetailsPtrOutputWithContext(ctx context.Context) Detail }).(DetailsPtrOutput) } +func (o DetailsOutput) ToOutput(ctx context.Context) pulumix.Output[Details] { + return pulumix.Output[Details]{ + OutputState: o.OutputState, + } +} + // Attestation for the resource. func (o DetailsOutput) Attestation() AttestationOutput { return o.ApplyT(func(v Details) Attestation { return v.Attestation }).(AttestationOutput) @@ -5340,6 +6049,12 @@ func (o DetailsPtrOutput) ToDetailsPtrOutputWithContext(ctx context.Context) Det return o } +func (o DetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Details] { + return pulumix.Output[*Details]{ + OutputState: o.OutputState, + } +} + func (o DetailsPtrOutput) Elem() DetailsOutput { return o.ApplyT(func(v *Details) Details { if v != nil { @@ -5381,6 +6096,12 @@ func (o DetailsResponseOutput) ToDetailsResponseOutputWithContext(ctx context.Co return o } +func (o DetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DetailsResponse] { + return pulumix.Output[DetailsResponse]{ + OutputState: o.OutputState, + } +} + // Attestation for the resource. func (o DetailsResponseOutput) Attestation() AttestationResponseOutput { return o.ApplyT(func(v DetailsResponse) AttestationResponse { return v.Attestation }).(AttestationResponseOutput) @@ -5425,6 +6146,12 @@ func (i DigestArgs) ToDigestOutputWithContext(ctx context.Context) DigestOutput return pulumi.ToOutputWithContext(ctx, i).(DigestOutput) } +func (i DigestArgs) ToOutput(ctx context.Context) pulumix.Output[Digest] { + return pulumix.Output[Digest]{ + OutputState: i.ToDigestOutputWithContext(ctx).OutputState, + } +} + // DigestArrayInput is an input type that accepts DigestArray and DigestArrayOutput values. // You can construct a concrete instance of `DigestArrayInput` via: // @@ -5450,6 +6177,12 @@ func (i DigestArray) ToDigestArrayOutputWithContext(ctx context.Context) DigestA return pulumi.ToOutputWithContext(ctx, i).(DigestArrayOutput) } +func (i DigestArray) ToOutput(ctx context.Context) pulumix.Output[[]Digest] { + return pulumix.Output[[]Digest]{ + OutputState: i.ToDigestArrayOutputWithContext(ctx).OutputState, + } +} + // Digest information. type DigestOutput struct{ *pulumi.OutputState } @@ -5465,6 +6198,12 @@ func (o DigestOutput) ToDigestOutputWithContext(ctx context.Context) DigestOutpu return o } +func (o DigestOutput) ToOutput(ctx context.Context) pulumix.Output[Digest] { + return pulumix.Output[Digest]{ + OutputState: o.OutputState, + } +} + // `SHA1`, `SHA512` etc. func (o DigestOutput) Algo() pulumi.StringPtrOutput { return o.ApplyT(func(v Digest) *string { return v.Algo }).(pulumi.StringPtrOutput) @@ -5489,6 +6228,12 @@ func (o DigestArrayOutput) ToDigestArrayOutputWithContext(ctx context.Context) D return o } +func (o DigestArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Digest] { + return pulumix.Output[[]Digest]{ + OutputState: o.OutputState, + } +} + func (o DigestArrayOutput) Index(i pulumi.IntInput) DigestOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Digest { return vs[0].([]Digest)[vs[1].(int)] @@ -5518,6 +6263,12 @@ func (o DigestResponseOutput) ToDigestResponseOutputWithContext(ctx context.Cont return o } +func (o DigestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DigestResponse] { + return pulumix.Output[DigestResponse]{ + OutputState: o.OutputState, + } +} + // `SHA1`, `SHA512` etc. func (o DigestResponseOutput) Algo() pulumi.StringOutput { return o.ApplyT(func(v DigestResponse) string { return v.Algo }).(pulumi.StringOutput) @@ -5542,6 +6293,12 @@ func (o DigestResponseArrayOutput) ToDigestResponseArrayOutputWithContext(ctx co return o } +func (o DigestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DigestResponse] { + return pulumix.Output[[]DigestResponse]{ + OutputState: o.OutputState, + } +} + func (o DigestResponseArrayOutput) Index(i pulumi.IntInput) DigestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DigestResponse { return vs[0].([]DigestResponse)[vs[1].(int)] @@ -5605,6 +6362,12 @@ func (i DiscoveredArgs) ToDiscoveredOutputWithContext(ctx context.Context) Disco return pulumi.ToOutputWithContext(ctx, i).(DiscoveredOutput) } +func (i DiscoveredArgs) ToOutput(ctx context.Context) pulumix.Output[Discovered] { + return pulumix.Output[Discovered]{ + OutputState: i.ToDiscoveredOutputWithContext(ctx).OutputState, + } +} + func (i DiscoveredArgs) ToDiscoveredPtrOutput() DiscoveredPtrOutput { return i.ToDiscoveredPtrOutputWithContext(context.Background()) } @@ -5646,6 +6409,12 @@ func (i *discoveredPtrType) ToDiscoveredPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DiscoveredPtrOutput) } +func (i *discoveredPtrType) ToOutput(ctx context.Context) pulumix.Output[*Discovered] { + return pulumix.Output[*Discovered]{ + OutputState: i.ToDiscoveredPtrOutputWithContext(ctx).OutputState, + } +} + // Provides information about the analysis status of a discovered resource. type DiscoveredOutput struct{ *pulumi.OutputState } @@ -5671,6 +6440,12 @@ func (o DiscoveredOutput) ToDiscoveredPtrOutputWithContext(ctx context.Context) }).(DiscoveredPtrOutput) } +func (o DiscoveredOutput) ToOutput(ctx context.Context) pulumix.Output[Discovered] { + return pulumix.Output[Discovered]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredOutput) AnalysisCompleted() AnalysisCompletedPtrOutput { return o.ApplyT(func(v Discovered) *AnalysisCompleted { return v.AnalysisCompleted }).(AnalysisCompletedPtrOutput) } @@ -5716,6 +6491,12 @@ func (o DiscoveredPtrOutput) ToDiscoveredPtrOutputWithContext(ctx context.Contex return o } +func (o DiscoveredPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Discovered] { + return pulumix.Output[*Discovered]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredPtrOutput) Elem() DiscoveredOutput { return o.ApplyT(func(v *Discovered) Discovered { if v != nil { @@ -5819,6 +6600,12 @@ func (o DiscoveredResponseOutput) ToDiscoveredResponseOutputWithContext(ctx cont return o } +func (o DiscoveredResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveredResponse] { + return pulumix.Output[DiscoveredResponse]{ + OutputState: o.OutputState, + } +} + func (o DiscoveredResponseOutput) AnalysisCompleted() AnalysisCompletedResponseOutput { return o.ApplyT(func(v DiscoveredResponse) AnalysisCompletedResponse { return v.AnalysisCompleted }).(AnalysisCompletedResponseOutput) } @@ -5885,6 +6672,12 @@ func (i DiscoveryArgs) ToDiscoveryOutputWithContext(ctx context.Context) Discove return pulumi.ToOutputWithContext(ctx, i).(DiscoveryOutput) } +func (i DiscoveryArgs) ToOutput(ctx context.Context) pulumix.Output[Discovery] { + return pulumix.Output[Discovery]{ + OutputState: i.ToDiscoveryOutputWithContext(ctx).OutputState, + } +} + func (i DiscoveryArgs) ToDiscoveryPtrOutput() DiscoveryPtrOutput { return i.ToDiscoveryPtrOutputWithContext(context.Background()) } @@ -5926,6 +6719,12 @@ func (i *discoveryPtrType) ToDiscoveryPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DiscoveryPtrOutput) } +func (i *discoveryPtrType) ToOutput(ctx context.Context) pulumix.Output[*Discovery] { + return pulumix.Output[*Discovery]{ + OutputState: i.ToDiscoveryPtrOutputWithContext(ctx).OutputState, + } +} + // A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis. type DiscoveryOutput struct{ *pulumi.OutputState } @@ -5951,6 +6750,12 @@ func (o DiscoveryOutput) ToDiscoveryPtrOutputWithContext(ctx context.Context) Di }).(DiscoveryPtrOutput) } +func (o DiscoveryOutput) ToOutput(ctx context.Context) pulumix.Output[Discovery] { + return pulumix.Output[Discovery]{ + OutputState: o.OutputState, + } +} + // Immutable. The kind of analysis that is handled by this discovery. func (o DiscoveryOutput) AnalysisKind() DiscoveryAnalysisKindOutput { return o.ApplyT(func(v Discovery) DiscoveryAnalysisKind { return v.AnalysisKind }).(DiscoveryAnalysisKindOutput) @@ -5970,6 +6775,12 @@ func (o DiscoveryPtrOutput) ToDiscoveryPtrOutputWithContext(ctx context.Context) return o } +func (o DiscoveryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Discovery] { + return pulumix.Output[*Discovery]{ + OutputState: o.OutputState, + } +} + func (o DiscoveryPtrOutput) Elem() DiscoveryOutput { return o.ApplyT(func(v *Discovery) Discovery { if v != nil { @@ -6011,6 +6822,12 @@ func (o DiscoveryResponseOutput) ToDiscoveryResponseOutputWithContext(ctx contex return o } +func (o DiscoveryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiscoveryResponse] { + return pulumix.Output[DiscoveryResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The kind of analysis that is handled by this discovery. func (o DiscoveryResponseOutput) AnalysisKind() pulumi.StringOutput { return o.ApplyT(func(v DiscoveryResponse) string { return v.AnalysisKind }).(pulumi.StringOutput) @@ -6071,6 +6888,12 @@ func (i DistributionArgs) ToDistributionOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DistributionOutput) } +func (i DistributionArgs) ToOutput(ctx context.Context) pulumix.Output[Distribution] { + return pulumix.Output[Distribution]{ + OutputState: i.ToDistributionOutputWithContext(ctx).OutputState, + } +} + // DistributionArrayInput is an input type that accepts DistributionArray and DistributionArrayOutput values. // You can construct a concrete instance of `DistributionArrayInput` via: // @@ -6096,6 +6919,12 @@ func (i DistributionArray) ToDistributionArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DistributionArrayOutput) } +func (i DistributionArray) ToOutput(ctx context.Context) pulumix.Output[[]Distribution] { + return pulumix.Output[[]Distribution]{ + OutputState: i.ToDistributionArrayOutputWithContext(ctx).OutputState, + } +} + // This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror. type DistributionOutput struct{ *pulumi.OutputState } @@ -6111,6 +6940,12 @@ func (o DistributionOutput) ToDistributionOutputWithContext(ctx context.Context) return o } +func (o DistributionOutput) ToOutput(ctx context.Context) pulumix.Output[Distribution] { + return pulumix.Output[Distribution]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. func (o DistributionOutput) Architecture() DistributionArchitecturePtrOutput { return o.ApplyT(func(v Distribution) *DistributionArchitecture { return v.Architecture }).(DistributionArchitecturePtrOutput) @@ -6155,6 +6990,12 @@ func (o DistributionArrayOutput) ToDistributionArrayOutputWithContext(ctx contex return o } +func (o DistributionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Distribution] { + return pulumix.Output[[]Distribution]{ + OutputState: o.OutputState, + } +} + func (o DistributionArrayOutput) Index(i pulumi.IntInput) DistributionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Distribution { return vs[0].([]Distribution)[vs[1].(int)] @@ -6192,6 +7033,12 @@ func (o DistributionResponseOutput) ToDistributionResponseOutputWithContext(ctx return o } +func (o DistributionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionResponse] { + return pulumix.Output[DistributionResponse]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. func (o DistributionResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v DistributionResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -6236,6 +7083,12 @@ func (o DistributionResponseArrayOutput) ToDistributionResponseArrayOutputWithCo return o } +func (o DistributionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DistributionResponse] { + return pulumix.Output[[]DistributionResponse]{ + OutputState: o.OutputState, + } +} + func (o DistributionResponseArrayOutput) Index(i pulumi.IntInput) DistributionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DistributionResponse { return vs[0].([]DistributionResponse)[vs[1].(int)] @@ -6281,6 +7134,12 @@ func (i DocumentNoteArgs) ToDocumentNoteOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DocumentNoteOutput) } +func (i DocumentNoteArgs) ToOutput(ctx context.Context) pulumix.Output[DocumentNote] { + return pulumix.Output[DocumentNote]{ + OutputState: i.ToDocumentNoteOutputWithContext(ctx).OutputState, + } +} + func (i DocumentNoteArgs) ToDocumentNotePtrOutput() DocumentNotePtrOutput { return i.ToDocumentNotePtrOutputWithContext(context.Background()) } @@ -6322,6 +7181,12 @@ func (i *documentNotePtrType) ToDocumentNotePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DocumentNotePtrOutput) } +func (i *documentNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*DocumentNote] { + return pulumix.Output[*DocumentNote]{ + OutputState: i.ToDocumentNotePtrOutputWithContext(ctx).OutputState, + } +} + // DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/v2.3/document-creation-information/ type DocumentNoteOutput struct{ *pulumi.OutputState } @@ -6347,6 +7212,12 @@ func (o DocumentNoteOutput) ToDocumentNotePtrOutputWithContext(ctx context.Conte }).(DocumentNotePtrOutput) } +func (o DocumentNoteOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentNote] { + return pulumix.Output[DocumentNote]{ + OutputState: o.OutputState, + } +} + // Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields ("SPDX-Metadata") func (o DocumentNoteOutput) DataLicence() pulumi.StringPtrOutput { return o.ApplyT(func(v DocumentNote) *string { return v.DataLicence }).(pulumi.StringPtrOutput) @@ -6371,6 +7242,12 @@ func (o DocumentNotePtrOutput) ToDocumentNotePtrOutputWithContext(ctx context.Co return o } +func (o DocumentNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DocumentNote] { + return pulumix.Output[*DocumentNote]{ + OutputState: o.OutputState, + } +} + func (o DocumentNotePtrOutput) Elem() DocumentNoteOutput { return o.ApplyT(func(v *DocumentNote) DocumentNote { if v != nil { @@ -6424,6 +7301,12 @@ func (o DocumentNoteResponseOutput) ToDocumentNoteResponseOutputWithContext(ctx return o } +func (o DocumentNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentNoteResponse] { + return pulumix.Output[DocumentNoteResponse]{ + OutputState: o.OutputState, + } +} + // Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields ("SPDX-Metadata") func (o DocumentNoteResponseOutput) DataLicence() pulumi.StringOutput { return o.ApplyT(func(v DocumentNoteResponse) string { return v.DataLicence }).(pulumi.StringOutput) @@ -6501,6 +7384,12 @@ func (i DocumentOccurrenceArgs) ToDocumentOccurrenceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DocumentOccurrenceOutput) } +func (i DocumentOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[DocumentOccurrence] { + return pulumix.Output[DocumentOccurrence]{ + OutputState: i.ToDocumentOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i DocumentOccurrenceArgs) ToDocumentOccurrencePtrOutput() DocumentOccurrencePtrOutput { return i.ToDocumentOccurrencePtrOutputWithContext(context.Background()) } @@ -6542,6 +7431,12 @@ func (i *documentOccurrencePtrType) ToDocumentOccurrencePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DocumentOccurrencePtrOutput) } +func (i *documentOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*DocumentOccurrence] { + return pulumix.Output[*DocumentOccurrence]{ + OutputState: i.ToDocumentOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/v2.3/document-creation-information/ type DocumentOccurrenceOutput struct{ *pulumi.OutputState } @@ -6567,6 +7462,12 @@ func (o DocumentOccurrenceOutput) ToDocumentOccurrencePtrOutputWithContext(ctx c }).(DocumentOccurrencePtrOutput) } +func (o DocumentOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentOccurrence] { + return pulumix.Output[DocumentOccurrence]{ + OutputState: o.OutputState, + } +} + // Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard func (o DocumentOccurrenceOutput) CreateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v DocumentOccurrence) *string { return v.CreateTime }).(pulumi.StringPtrOutput) @@ -6626,6 +7527,12 @@ func (o DocumentOccurrencePtrOutput) ToDocumentOccurrencePtrOutputWithContext(ct return o } +func (o DocumentOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DocumentOccurrence] { + return pulumix.Output[*DocumentOccurrence]{ + OutputState: o.OutputState, + } +} + func (o DocumentOccurrencePtrOutput) Elem() DocumentOccurrenceOutput { return o.ApplyT(func(v *DocumentOccurrence) DocumentOccurrence { if v != nil { @@ -6761,6 +7668,12 @@ func (o DocumentOccurrenceResponseOutput) ToDocumentOccurrenceResponseOutputWith return o } +func (o DocumentOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentOccurrenceResponse] { + return pulumix.Output[DocumentOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard func (o DocumentOccurrenceResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v DocumentOccurrenceResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -6838,6 +7751,12 @@ func (i EnvelopeArgs) ToEnvelopeOutputWithContext(ctx context.Context) EnvelopeO return pulumi.ToOutputWithContext(ctx, i).(EnvelopeOutput) } +func (i EnvelopeArgs) ToOutput(ctx context.Context) pulumix.Output[Envelope] { + return pulumix.Output[Envelope]{ + OutputState: i.ToEnvelopeOutputWithContext(ctx).OutputState, + } +} + func (i EnvelopeArgs) ToEnvelopePtrOutput() EnvelopePtrOutput { return i.ToEnvelopePtrOutputWithContext(context.Background()) } @@ -6879,6 +7798,12 @@ func (i *envelopePtrType) ToEnvelopePtrOutputWithContext(ctx context.Context) En return pulumi.ToOutputWithContext(ctx, i).(EnvelopePtrOutput) } +func (i *envelopePtrType) ToOutput(ctx context.Context) pulumix.Output[*Envelope] { + return pulumix.Output[*Envelope]{ + OutputState: i.ToEnvelopePtrOutputWithContext(ctx).OutputState, + } +} + // MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. type EnvelopeOutput struct{ *pulumi.OutputState } @@ -6904,6 +7829,12 @@ func (o EnvelopeOutput) ToEnvelopePtrOutputWithContext(ctx context.Context) Enve }).(EnvelopePtrOutput) } +func (o EnvelopeOutput) ToOutput(ctx context.Context) pulumix.Output[Envelope] { + return pulumix.Output[Envelope]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeOutput) Payload() pulumi.StringPtrOutput { return o.ApplyT(func(v Envelope) *string { return v.Payload }).(pulumi.StringPtrOutput) } @@ -6930,6 +7861,12 @@ func (o EnvelopePtrOutput) ToEnvelopePtrOutputWithContext(ctx context.Context) E return o } +func (o EnvelopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Envelope] { + return pulumix.Output[*Envelope]{ + OutputState: o.OutputState, + } +} + func (o EnvelopePtrOutput) Elem() EnvelopeOutput { return o.ApplyT(func(v *Envelope) Envelope { if v != nil { @@ -6989,6 +7926,12 @@ func (o EnvelopeResponseOutput) ToEnvelopeResponseOutputWithContext(ctx context. return o } +func (o EnvelopeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvelopeResponse] { + return pulumix.Output[EnvelopeResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeResponseOutput) Payload() pulumi.StringOutput { return o.ApplyT(func(v EnvelopeResponse) string { return v.Payload }).(pulumi.StringOutput) } @@ -7034,6 +7977,12 @@ func (i EnvelopeSignatureArgs) ToEnvelopeSignatureOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(EnvelopeSignatureOutput) } +func (i EnvelopeSignatureArgs) ToOutput(ctx context.Context) pulumix.Output[EnvelopeSignature] { + return pulumix.Output[EnvelopeSignature]{ + OutputState: i.ToEnvelopeSignatureOutputWithContext(ctx).OutputState, + } +} + // EnvelopeSignatureArrayInput is an input type that accepts EnvelopeSignatureArray and EnvelopeSignatureArrayOutput values. // You can construct a concrete instance of `EnvelopeSignatureArrayInput` via: // @@ -7059,6 +8008,12 @@ func (i EnvelopeSignatureArray) ToEnvelopeSignatureArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(EnvelopeSignatureArrayOutput) } +func (i EnvelopeSignatureArray) ToOutput(ctx context.Context) pulumix.Output[[]EnvelopeSignature] { + return pulumix.Output[[]EnvelopeSignature]{ + OutputState: i.ToEnvelopeSignatureArrayOutputWithContext(ctx).OutputState, + } +} + type EnvelopeSignatureOutput struct{ *pulumi.OutputState } func (EnvelopeSignatureOutput) ElementType() reflect.Type { @@ -7073,6 +8028,12 @@ func (o EnvelopeSignatureOutput) ToEnvelopeSignatureOutputWithContext(ctx contex return o } +func (o EnvelopeSignatureOutput) ToOutput(ctx context.Context) pulumix.Output[EnvelopeSignature] { + return pulumix.Output[EnvelopeSignature]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeSignatureOutput) Keyid() pulumi.StringPtrOutput { return o.ApplyT(func(v EnvelopeSignature) *string { return v.Keyid }).(pulumi.StringPtrOutput) } @@ -7095,6 +8056,12 @@ func (o EnvelopeSignatureArrayOutput) ToEnvelopeSignatureArrayOutputWithContext( return o } +func (o EnvelopeSignatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvelopeSignature] { + return pulumix.Output[[]EnvelopeSignature]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeSignatureArrayOutput) Index(i pulumi.IntInput) EnvelopeSignatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvelopeSignature { return vs[0].([]EnvelopeSignature)[vs[1].(int)] @@ -7120,6 +8087,12 @@ func (o EnvelopeSignatureResponseOutput) ToEnvelopeSignatureResponseOutputWithCo return o } +func (o EnvelopeSignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvelopeSignatureResponse] { + return pulumix.Output[EnvelopeSignatureResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeSignatureResponseOutput) Keyid() pulumi.StringOutput { return o.ApplyT(func(v EnvelopeSignatureResponse) string { return v.Keyid }).(pulumi.StringOutput) } @@ -7142,6 +8115,12 @@ func (o EnvelopeSignatureResponseArrayOutput) ToEnvelopeSignatureResponseArrayOu return o } +func (o EnvelopeSignatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvelopeSignatureResponse] { + return pulumix.Output[[]EnvelopeSignatureResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvelopeSignatureResponseArrayOutput) Index(i pulumi.IntInput) EnvelopeSignatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvelopeSignatureResponse { return vs[0].([]EnvelopeSignatureResponse)[vs[1].(int)] @@ -7181,6 +8160,12 @@ func (i EnvironmentArgs) ToEnvironmentOutputWithContext(ctx context.Context) Env return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i EnvironmentArgs) ToOutput(ctx context.Context) pulumix.Output[Environment] { + return pulumix.Output[Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + func (i EnvironmentArgs) ToEnvironmentPtrOutput() EnvironmentPtrOutput { return i.ToEnvironmentPtrOutputWithContext(context.Background()) } @@ -7222,6 +8207,12 @@ func (i *environmentPtrType) ToEnvironmentPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(EnvironmentPtrOutput) } +func (i *environmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // Defines an object for the environment field in in-toto links. The suggested fields are "variables", "filesystem", and "workdir". type EnvironmentOutput struct{ *pulumi.OutputState } @@ -7247,6 +8238,12 @@ func (o EnvironmentOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context }).(EnvironmentPtrOutput) } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[Environment] { + return pulumix.Output[Environment]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentOutput) CustomValues() pulumi.StringMapOutput { return o.ApplyT(func(v Environment) map[string]string { return v.CustomValues }).(pulumi.StringMapOutput) } @@ -7265,6 +8262,12 @@ func (o EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext(ctx context.Cont return o } +func (o EnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentPtrOutput) Elem() EnvironmentOutput { return o.ApplyT(func(v *Environment) Environment { if v != nil { @@ -7304,6 +8307,12 @@ func (o EnvironmentResponseOutput) ToEnvironmentResponseOutputWithContext(ctx co return o } +func (o EnvironmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentResponse] { + return pulumix.Output[EnvironmentResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentResponseOutput) CustomValues() pulumi.StringMapOutput { return o.ApplyT(func(v EnvironmentResponse) map[string]string { return v.CustomValues }).(pulumi.StringMapOutput) } @@ -7355,6 +8364,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -7396,6 +8411,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -7421,6 +8442,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -7455,6 +8482,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -7532,6 +8565,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -7599,6 +8638,12 @@ func (i ExternalRefArgs) ToExternalRefOutputWithContext(ctx context.Context) Ext return pulumi.ToOutputWithContext(ctx, i).(ExternalRefOutput) } +func (i ExternalRefArgs) ToOutput(ctx context.Context) pulumix.Output[ExternalRef] { + return pulumix.Output[ExternalRef]{ + OutputState: i.ToExternalRefOutputWithContext(ctx).OutputState, + } +} + // ExternalRefArrayInput is an input type that accepts ExternalRefArray and ExternalRefArrayOutput values. // You can construct a concrete instance of `ExternalRefArrayInput` via: // @@ -7624,6 +8669,12 @@ func (i ExternalRefArray) ToExternalRefArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ExternalRefArrayOutput) } +func (i ExternalRefArray) ToOutput(ctx context.Context) pulumix.Output[[]ExternalRef] { + return pulumix.Output[[]ExternalRef]{ + OutputState: i.ToExternalRefArrayOutputWithContext(ctx).OutputState, + } +} + // An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package type ExternalRefOutput struct{ *pulumi.OutputState } @@ -7639,6 +8690,12 @@ func (o ExternalRefOutput) ToExternalRefOutputWithContext(ctx context.Context) E return o } +func (o ExternalRefOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalRef] { + return pulumix.Output[ExternalRef]{ + OutputState: o.OutputState, + } +} + // An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package func (o ExternalRefOutput) Category() ExternalRefCategoryPtrOutput { return o.ApplyT(func(v ExternalRef) *ExternalRefCategory { return v.Category }).(ExternalRefCategoryPtrOutput) @@ -7673,6 +8730,12 @@ func (o ExternalRefArrayOutput) ToExternalRefArrayOutputWithContext(ctx context. return o } +func (o ExternalRefArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExternalRef] { + return pulumix.Output[[]ExternalRef]{ + OutputState: o.OutputState, + } +} + func (o ExternalRefArrayOutput) Index(i pulumi.IntInput) ExternalRefOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExternalRef { return vs[0].([]ExternalRef)[vs[1].(int)] @@ -7706,6 +8769,12 @@ func (o ExternalRefResponseOutput) ToExternalRefResponseOutputWithContext(ctx co return o } +func (o ExternalRefResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExternalRefResponse] { + return pulumix.Output[ExternalRefResponse]{ + OutputState: o.OutputState, + } +} + // An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package func (o ExternalRefResponseOutput) Category() pulumi.StringOutput { return o.ApplyT(func(v ExternalRefResponse) string { return v.Category }).(pulumi.StringOutput) @@ -7740,6 +8809,12 @@ func (o ExternalRefResponseArrayOutput) ToExternalRefResponseArrayOutputWithCont return o } +func (o ExternalRefResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExternalRefResponse] { + return pulumix.Output[[]ExternalRefResponse]{ + OutputState: o.OutputState, + } +} + func (o ExternalRefResponseArrayOutput) Index(i pulumi.IntInput) ExternalRefResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExternalRefResponse { return vs[0].([]ExternalRefResponse)[vs[1].(int)] @@ -7789,6 +8864,12 @@ func (i FileNoteArgs) ToFileNoteOutputWithContext(ctx context.Context) FileNoteO return pulumi.ToOutputWithContext(ctx, i).(FileNoteOutput) } +func (i FileNoteArgs) ToOutput(ctx context.Context) pulumix.Output[FileNote] { + return pulumix.Output[FileNote]{ + OutputState: i.ToFileNoteOutputWithContext(ctx).OutputState, + } +} + func (i FileNoteArgs) ToFileNotePtrOutput() FileNotePtrOutput { return i.ToFileNotePtrOutputWithContext(context.Background()) } @@ -7830,6 +8911,12 @@ func (i *fileNotePtrType) ToFileNotePtrOutputWithContext(ctx context.Context) Fi return pulumi.ToOutputWithContext(ctx, i).(FileNotePtrOutput) } +func (i *fileNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*FileNote] { + return pulumix.Output[*FileNote]{ + OutputState: i.ToFileNotePtrOutputWithContext(ctx).OutputState, + } +} + // FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ type FileNoteOutput struct{ *pulumi.OutputState } @@ -7855,6 +8942,12 @@ func (o FileNoteOutput) ToFileNotePtrOutputWithContext(ctx context.Context) File }).(FileNotePtrOutput) } +func (o FileNoteOutput) ToOutput(ctx context.Context) pulumix.Output[FileNote] { + return pulumix.Output[FileNote]{ + OutputState: o.OutputState, + } +} + // Provide a unique identifier to match analysis information on each specific file in a package func (o FileNoteOutput) Checksum() pulumi.StringArrayOutput { return o.ApplyT(func(v FileNote) []string { return v.Checksum }).(pulumi.StringArrayOutput) @@ -7884,6 +8977,12 @@ func (o FileNotePtrOutput) ToFileNotePtrOutputWithContext(ctx context.Context) F return o } +func (o FileNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileNote] { + return pulumix.Output[*FileNote]{ + OutputState: o.OutputState, + } +} + func (o FileNotePtrOutput) Elem() FileNoteOutput { return o.ApplyT(func(v *FileNote) FileNote { if v != nil { @@ -7949,6 +9048,12 @@ func (o FileNoteResponseOutput) ToFileNoteResponseOutputWithContext(ctx context. return o } +func (o FileNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileNoteResponse] { + return pulumix.Output[FileNoteResponse]{ + OutputState: o.OutputState, + } +} + // Provide a unique identifier to match analysis information on each specific file in a package func (o FileNoteResponseOutput) Checksum() pulumi.StringArrayOutput { return o.ApplyT(func(v FileNoteResponse) []string { return v.Checksum }).(pulumi.StringArrayOutput) @@ -8027,6 +9132,12 @@ func (i FileOccurrenceArgs) ToFileOccurrenceOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(FileOccurrenceOutput) } +func (i FileOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[FileOccurrence] { + return pulumix.Output[FileOccurrence]{ + OutputState: i.ToFileOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i FileOccurrenceArgs) ToFileOccurrencePtrOutput() FileOccurrencePtrOutput { return i.ToFileOccurrencePtrOutputWithContext(context.Background()) } @@ -8068,6 +9179,12 @@ func (i *fileOccurrencePtrType) ToFileOccurrencePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FileOccurrencePtrOutput) } +func (i *fileOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*FileOccurrence] { + return pulumix.Output[*FileOccurrence]{ + OutputState: i.ToFileOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ type FileOccurrenceOutput struct{ *pulumi.OutputState } @@ -8093,6 +9210,12 @@ func (o FileOccurrenceOutput) ToFileOccurrencePtrOutputWithContext(ctx context.C }).(FileOccurrencePtrOutput) } +func (o FileOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[FileOccurrence] { + return pulumix.Output[FileOccurrence]{ + OutputState: o.OutputState, + } +} + // This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts func (o FileOccurrenceOutput) Attributions() pulumi.StringArrayOutput { return o.ApplyT(func(v FileOccurrence) []string { return v.Attributions }).(pulumi.StringArrayOutput) @@ -8147,6 +9270,12 @@ func (o FileOccurrencePtrOutput) ToFileOccurrencePtrOutputWithContext(ctx contex return o } +func (o FileOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileOccurrence] { + return pulumix.Output[*FileOccurrence]{ + OutputState: o.OutputState, + } +} + func (o FileOccurrencePtrOutput) Elem() FileOccurrenceOutput { return o.ApplyT(func(v *FileOccurrence) FileOccurrence { if v != nil { @@ -8270,6 +9399,12 @@ func (o FileOccurrenceResponseOutput) ToFileOccurrenceResponseOutputWithContext( return o } +func (o FileOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileOccurrenceResponse] { + return pulumix.Output[FileOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts func (o FileOccurrenceResponseOutput) Attributions() pulumi.StringArrayOutput { return o.ApplyT(func(v FileOccurrenceResponse) []string { return v.Attributions }).(pulumi.StringArrayOutput) @@ -8344,6 +9479,12 @@ func (i FingerprintArgs) ToFingerprintOutputWithContext(ctx context.Context) Fin return pulumi.ToOutputWithContext(ctx, i).(FingerprintOutput) } +func (i FingerprintArgs) ToOutput(ctx context.Context) pulumix.Output[Fingerprint] { + return pulumix.Output[Fingerprint]{ + OutputState: i.ToFingerprintOutputWithContext(ctx).OutputState, + } +} + func (i FingerprintArgs) ToFingerprintPtrOutput() FingerprintPtrOutput { return i.ToFingerprintPtrOutputWithContext(context.Background()) } @@ -8385,6 +9526,12 @@ func (i *fingerprintPtrType) ToFingerprintPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FingerprintPtrOutput) } +func (i *fingerprintPtrType) ToOutput(ctx context.Context) pulumix.Output[*Fingerprint] { + return pulumix.Output[*Fingerprint]{ + OutputState: i.ToFingerprintPtrOutputWithContext(ctx).OutputState, + } +} + // A set of properties that uniquely identify a given Docker image. type FingerprintOutput struct{ *pulumi.OutputState } @@ -8410,6 +9557,12 @@ func (o FingerprintOutput) ToFingerprintPtrOutputWithContext(ctx context.Context }).(FingerprintPtrOutput) } +func (o FingerprintOutput) ToOutput(ctx context.Context) pulumix.Output[Fingerprint] { + return pulumix.Output[Fingerprint]{ + OutputState: o.OutputState, + } +} + // The layer ID of the final layer in the Docker image's v1 representation. func (o FingerprintOutput) V1Name() pulumi.StringOutput { return o.ApplyT(func(v Fingerprint) string { return v.V1Name }).(pulumi.StringOutput) @@ -8434,6 +9587,12 @@ func (o FingerprintPtrOutput) ToFingerprintPtrOutputWithContext(ctx context.Cont return o } +func (o FingerprintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Fingerprint] { + return pulumix.Output[*Fingerprint]{ + OutputState: o.OutputState, + } +} + func (o FingerprintPtrOutput) Elem() FingerprintOutput { return o.ApplyT(func(v *Fingerprint) Fingerprint { if v != nil { @@ -8489,6 +9648,12 @@ func (o FingerprintResponseOutput) ToFingerprintResponseOutputWithContext(ctx co return o } +func (o FingerprintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FingerprintResponse] { + return pulumix.Output[FingerprintResponse]{ + OutputState: o.OutputState, + } +} + // The layer ID of the final layer in the Docker image's v1 representation. func (o FingerprintResponseOutput) V1Name() pulumi.StringOutput { return o.ApplyT(func(v FingerprintResponse) string { return v.V1Name }).(pulumi.StringOutput) @@ -8547,6 +9712,12 @@ func (i GenericSignedAttestationArgs) ToGenericSignedAttestationOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GenericSignedAttestationOutput) } +func (i GenericSignedAttestationArgs) ToOutput(ctx context.Context) pulumix.Output[GenericSignedAttestation] { + return pulumix.Output[GenericSignedAttestation]{ + OutputState: i.ToGenericSignedAttestationOutputWithContext(ctx).OutputState, + } +} + func (i GenericSignedAttestationArgs) ToGenericSignedAttestationPtrOutput() GenericSignedAttestationPtrOutput { return i.ToGenericSignedAttestationPtrOutputWithContext(context.Background()) } @@ -8588,6 +9759,12 @@ func (i *genericSignedAttestationPtrType) ToGenericSignedAttestationPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(GenericSignedAttestationPtrOutput) } +func (i *genericSignedAttestationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GenericSignedAttestation] { + return pulumix.Output[*GenericSignedAttestation]{ + OutputState: i.ToGenericSignedAttestationPtrOutputWithContext(ctx).OutputState, + } +} + // An attestation wrapper that uses the Grafeas `Signature` message. This attestation must define the `serialized_payload` that the `signatures` verify and any metadata necessary to interpret that plaintext. The signatures should always be over the `serialized_payload` bytestring. type GenericSignedAttestationOutput struct{ *pulumi.OutputState } @@ -8613,6 +9790,12 @@ func (o GenericSignedAttestationOutput) ToGenericSignedAttestationPtrOutputWithC }).(GenericSignedAttestationPtrOutput) } +func (o GenericSignedAttestationOutput) ToOutput(ctx context.Context) pulumix.Output[GenericSignedAttestation] { + return pulumix.Output[GenericSignedAttestation]{ + OutputState: o.OutputState, + } +} + // Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). func (o GenericSignedAttestationOutput) ContentType() GenericSignedAttestationContentTypePtrOutput { return o.ApplyT(func(v GenericSignedAttestation) *GenericSignedAttestationContentType { return v.ContentType }).(GenericSignedAttestationContentTypePtrOutput) @@ -8642,6 +9825,12 @@ func (o GenericSignedAttestationPtrOutput) ToGenericSignedAttestationPtrOutputWi return o } +func (o GenericSignedAttestationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GenericSignedAttestation] { + return pulumix.Output[*GenericSignedAttestation]{ + OutputState: o.OutputState, + } +} + func (o GenericSignedAttestationPtrOutput) Elem() GenericSignedAttestationOutput { return o.ApplyT(func(v *GenericSignedAttestation) GenericSignedAttestation { if v != nil { @@ -8707,6 +9896,12 @@ func (o GenericSignedAttestationResponseOutput) ToGenericSignedAttestationRespon return o } +func (o GenericSignedAttestationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GenericSignedAttestationResponse] { + return pulumix.Output[GenericSignedAttestationResponse]{ + OutputState: o.OutputState, + } +} + // Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). func (o GenericSignedAttestationResponseOutput) ContentType() pulumi.StringOutput { return o.ApplyT(func(v GenericSignedAttestationResponse) string { return v.ContentType }).(pulumi.StringOutput) @@ -8769,6 +9964,12 @@ func (i GerritSourceContextArgs) ToGerritSourceContextOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GerritSourceContextOutput) } +func (i GerritSourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[GerritSourceContext] { + return pulumix.Output[GerritSourceContext]{ + OutputState: i.ToGerritSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i GerritSourceContextArgs) ToGerritSourceContextPtrOutput() GerritSourceContextPtrOutput { return i.ToGerritSourceContextPtrOutputWithContext(context.Background()) } @@ -8810,6 +10011,12 @@ func (i *gerritSourceContextPtrType) ToGerritSourceContextPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(GerritSourceContextPtrOutput) } +func (i *gerritSourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GerritSourceContext] { + return pulumix.Output[*GerritSourceContext]{ + OutputState: i.ToGerritSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // A SourceContext referring to a Gerrit project. type GerritSourceContextOutput struct{ *pulumi.OutputState } @@ -8835,6 +10042,12 @@ func (o GerritSourceContextOutput) ToGerritSourceContextPtrOutputWithContext(ctx }).(GerritSourceContextPtrOutput) } +func (o GerritSourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[GerritSourceContext] { + return pulumix.Output[GerritSourceContext]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o GerritSourceContextOutput) AliasContext() AliasContextPtrOutput { return o.ApplyT(func(v GerritSourceContext) *AliasContext { return v.AliasContext }).(AliasContextPtrOutput) @@ -8869,6 +10082,12 @@ func (o GerritSourceContextPtrOutput) ToGerritSourceContextPtrOutputWithContext( return o } +func (o GerritSourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GerritSourceContext] { + return pulumix.Output[*GerritSourceContext]{ + OutputState: o.OutputState, + } +} + func (o GerritSourceContextPtrOutput) Elem() GerritSourceContextOutput { return o.ApplyT(func(v *GerritSourceContext) GerritSourceContext { if v != nil { @@ -8946,6 +10165,12 @@ func (o GerritSourceContextResponseOutput) ToGerritSourceContextResponseOutputWi return o } +func (o GerritSourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GerritSourceContextResponse] { + return pulumix.Output[GerritSourceContextResponse]{ + OutputState: o.OutputState, + } +} + // An alias, which may be a branch or tag. func (o GerritSourceContextResponseOutput) AliasContext() AliasContextResponseOutput { return o.ApplyT(func(v GerritSourceContextResponse) AliasContextResponse { return v.AliasContext }).(AliasContextResponseOutput) @@ -9005,6 +10230,12 @@ func (i GitSourceContextArgs) ToGitSourceContextOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GitSourceContextOutput) } +func (i GitSourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[GitSourceContext] { + return pulumix.Output[GitSourceContext]{ + OutputState: i.ToGitSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i GitSourceContextArgs) ToGitSourceContextPtrOutput() GitSourceContextPtrOutput { return i.ToGitSourceContextPtrOutputWithContext(context.Background()) } @@ -9046,6 +10277,12 @@ func (i *gitSourceContextPtrType) ToGitSourceContextPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GitSourceContextPtrOutput) } +func (i *gitSourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GitSourceContext] { + return pulumix.Output[*GitSourceContext]{ + OutputState: i.ToGitSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). type GitSourceContextOutput struct{ *pulumi.OutputState } @@ -9071,6 +10308,12 @@ func (o GitSourceContextOutput) ToGitSourceContextPtrOutputWithContext(ctx conte }).(GitSourceContextPtrOutput) } +func (o GitSourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[GitSourceContext] { + return pulumix.Output[GitSourceContext]{ + OutputState: o.OutputState, + } +} + // Git commit hash. func (o GitSourceContextOutput) RevisionId() pulumi.StringPtrOutput { return o.ApplyT(func(v GitSourceContext) *string { return v.RevisionId }).(pulumi.StringPtrOutput) @@ -9095,6 +10338,12 @@ func (o GitSourceContextPtrOutput) ToGitSourceContextPtrOutputWithContext(ctx co return o } +func (o GitSourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitSourceContext] { + return pulumix.Output[*GitSourceContext]{ + OutputState: o.OutputState, + } +} + func (o GitSourceContextPtrOutput) Elem() GitSourceContextOutput { return o.ApplyT(func(v *GitSourceContext) GitSourceContext { if v != nil { @@ -9148,6 +10397,12 @@ func (o GitSourceContextResponseOutput) ToGitSourceContextResponseOutputWithCont return o } +func (o GitSourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitSourceContextResponse] { + return pulumix.Output[GitSourceContextResponse]{ + OutputState: o.OutputState, + } +} + // Git commit hash. func (o GitSourceContextResponseOutput) RevisionId() pulumi.StringOutput { return o.ApplyT(func(v GitSourceContextResponse) string { return v.RevisionId }).(pulumi.StringOutput) @@ -9197,6 +10452,12 @@ func (i GrafeasV1beta1BuildDetailsArgs) ToGrafeasV1beta1BuildDetailsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1BuildDetailsOutput) } +func (i GrafeasV1beta1BuildDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1BuildDetails] { + return pulumix.Output[GrafeasV1beta1BuildDetails]{ + OutputState: i.ToGrafeasV1beta1BuildDetailsOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1beta1BuildDetailsArgs) ToGrafeasV1beta1BuildDetailsPtrOutput() GrafeasV1beta1BuildDetailsPtrOutput { return i.ToGrafeasV1beta1BuildDetailsPtrOutputWithContext(context.Background()) } @@ -9238,6 +10499,12 @@ func (i *grafeasV1beta1BuildDetailsPtrType) ToGrafeasV1beta1BuildDetailsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1BuildDetailsPtrOutput) } +func (i *grafeasV1beta1BuildDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1BuildDetails] { + return pulumix.Output[*GrafeasV1beta1BuildDetails]{ + OutputState: i.ToGrafeasV1beta1BuildDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Details of a build occurrence. type GrafeasV1beta1BuildDetailsOutput struct{ *pulumi.OutputState } @@ -9263,6 +10530,12 @@ func (o GrafeasV1beta1BuildDetailsOutput) ToGrafeasV1beta1BuildDetailsPtrOutputW }).(GrafeasV1beta1BuildDetailsPtrOutput) } +func (o GrafeasV1beta1BuildDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1BuildDetails] { + return pulumix.Output[GrafeasV1beta1BuildDetails]{ + OutputState: o.OutputState, + } +} + // The actual provenance for the build. func (o GrafeasV1beta1BuildDetailsOutput) Provenance() BuildProvenanceOutput { return o.ApplyT(func(v GrafeasV1beta1BuildDetails) BuildProvenance { return v.Provenance }).(BuildProvenanceOutput) @@ -9287,6 +10560,12 @@ func (o GrafeasV1beta1BuildDetailsPtrOutput) ToGrafeasV1beta1BuildDetailsPtrOutp return o } +func (o GrafeasV1beta1BuildDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1BuildDetails] { + return pulumix.Output[*GrafeasV1beta1BuildDetails]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1BuildDetailsPtrOutput) Elem() GrafeasV1beta1BuildDetailsOutput { return o.ApplyT(func(v *GrafeasV1beta1BuildDetails) GrafeasV1beta1BuildDetails { if v != nil { @@ -9340,6 +10619,12 @@ func (o GrafeasV1beta1BuildDetailsResponseOutput) ToGrafeasV1beta1BuildDetailsRe return o } +func (o GrafeasV1beta1BuildDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1BuildDetailsResponse] { + return pulumix.Output[GrafeasV1beta1BuildDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The actual provenance for the build. func (o GrafeasV1beta1BuildDetailsResponseOutput) Provenance() BuildProvenanceResponseOutput { return o.ApplyT(func(v GrafeasV1beta1BuildDetailsResponse) BuildProvenanceResponse { return v.Provenance }).(BuildProvenanceResponseOutput) @@ -9385,6 +10670,12 @@ func (i GrafeasV1beta1DeploymentDetailsArgs) ToGrafeasV1beta1DeploymentDetailsOu return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1DeploymentDetailsOutput) } +func (i GrafeasV1beta1DeploymentDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1DeploymentDetails] { + return pulumix.Output[GrafeasV1beta1DeploymentDetails]{ + OutputState: i.ToGrafeasV1beta1DeploymentDetailsOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1beta1DeploymentDetailsArgs) ToGrafeasV1beta1DeploymentDetailsPtrOutput() GrafeasV1beta1DeploymentDetailsPtrOutput { return i.ToGrafeasV1beta1DeploymentDetailsPtrOutputWithContext(context.Background()) } @@ -9426,6 +10717,12 @@ func (i *grafeasV1beta1DeploymentDetailsPtrType) ToGrafeasV1beta1DeploymentDetai return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1DeploymentDetailsPtrOutput) } +func (i *grafeasV1beta1DeploymentDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1DeploymentDetails] { + return pulumix.Output[*GrafeasV1beta1DeploymentDetails]{ + OutputState: i.ToGrafeasV1beta1DeploymentDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Details of a deployment occurrence. type GrafeasV1beta1DeploymentDetailsOutput struct{ *pulumi.OutputState } @@ -9451,6 +10748,12 @@ func (o GrafeasV1beta1DeploymentDetailsOutput) ToGrafeasV1beta1DeploymentDetails }).(GrafeasV1beta1DeploymentDetailsPtrOutput) } +func (o GrafeasV1beta1DeploymentDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1DeploymentDetails] { + return pulumix.Output[GrafeasV1beta1DeploymentDetails]{ + OutputState: o.OutputState, + } +} + // Deployment history for the resource. func (o GrafeasV1beta1DeploymentDetailsOutput) Deployment() DeploymentOutput { return o.ApplyT(func(v GrafeasV1beta1DeploymentDetails) Deployment { return v.Deployment }).(DeploymentOutput) @@ -9470,6 +10773,12 @@ func (o GrafeasV1beta1DeploymentDetailsPtrOutput) ToGrafeasV1beta1DeploymentDeta return o } +func (o GrafeasV1beta1DeploymentDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1DeploymentDetails] { + return pulumix.Output[*GrafeasV1beta1DeploymentDetails]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1DeploymentDetailsPtrOutput) Elem() GrafeasV1beta1DeploymentDetailsOutput { return o.ApplyT(func(v *GrafeasV1beta1DeploymentDetails) GrafeasV1beta1DeploymentDetails { if v != nil { @@ -9511,6 +10820,12 @@ func (o GrafeasV1beta1DeploymentDetailsResponseOutput) ToGrafeasV1beta1Deploymen return o } +func (o GrafeasV1beta1DeploymentDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1DeploymentDetailsResponse] { + return pulumix.Output[GrafeasV1beta1DeploymentDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Deployment history for the resource. func (o GrafeasV1beta1DeploymentDetailsResponseOutput) Deployment() DeploymentResponseOutput { return o.ApplyT(func(v GrafeasV1beta1DeploymentDetailsResponse) DeploymentResponse { return v.Deployment }).(DeploymentResponseOutput) @@ -9551,6 +10866,12 @@ func (i GrafeasV1beta1DiscoveryDetailsArgs) ToGrafeasV1beta1DiscoveryDetailsOutp return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1DiscoveryDetailsOutput) } +func (i GrafeasV1beta1DiscoveryDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1DiscoveryDetails] { + return pulumix.Output[GrafeasV1beta1DiscoveryDetails]{ + OutputState: i.ToGrafeasV1beta1DiscoveryDetailsOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1beta1DiscoveryDetailsArgs) ToGrafeasV1beta1DiscoveryDetailsPtrOutput() GrafeasV1beta1DiscoveryDetailsPtrOutput { return i.ToGrafeasV1beta1DiscoveryDetailsPtrOutputWithContext(context.Background()) } @@ -9592,6 +10913,12 @@ func (i *grafeasV1beta1DiscoveryDetailsPtrType) ToGrafeasV1beta1DiscoveryDetails return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1DiscoveryDetailsPtrOutput) } +func (i *grafeasV1beta1DiscoveryDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1DiscoveryDetails] { + return pulumix.Output[*GrafeasV1beta1DiscoveryDetails]{ + OutputState: i.ToGrafeasV1beta1DiscoveryDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Details of a discovery occurrence. type GrafeasV1beta1DiscoveryDetailsOutput struct{ *pulumi.OutputState } @@ -9617,6 +10944,12 @@ func (o GrafeasV1beta1DiscoveryDetailsOutput) ToGrafeasV1beta1DiscoveryDetailsPt }).(GrafeasV1beta1DiscoveryDetailsPtrOutput) } +func (o GrafeasV1beta1DiscoveryDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1DiscoveryDetails] { + return pulumix.Output[GrafeasV1beta1DiscoveryDetails]{ + OutputState: o.OutputState, + } +} + // Analysis status for the discovered resource. func (o GrafeasV1beta1DiscoveryDetailsOutput) Discovered() DiscoveredOutput { return o.ApplyT(func(v GrafeasV1beta1DiscoveryDetails) Discovered { return v.Discovered }).(DiscoveredOutput) @@ -9636,6 +10969,12 @@ func (o GrafeasV1beta1DiscoveryDetailsPtrOutput) ToGrafeasV1beta1DiscoveryDetail return o } +func (o GrafeasV1beta1DiscoveryDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1DiscoveryDetails] { + return pulumix.Output[*GrafeasV1beta1DiscoveryDetails]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1DiscoveryDetailsPtrOutput) Elem() GrafeasV1beta1DiscoveryDetailsOutput { return o.ApplyT(func(v *GrafeasV1beta1DiscoveryDetails) GrafeasV1beta1DiscoveryDetails { if v != nil { @@ -9677,6 +11016,12 @@ func (o GrafeasV1beta1DiscoveryDetailsResponseOutput) ToGrafeasV1beta1DiscoveryD return o } +func (o GrafeasV1beta1DiscoveryDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1DiscoveryDetailsResponse] { + return pulumix.Output[GrafeasV1beta1DiscoveryDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Analysis status for the discovered resource. func (o GrafeasV1beta1DiscoveryDetailsResponseOutput) Discovered() DiscoveredResponseOutput { return o.ApplyT(func(v GrafeasV1beta1DiscoveryDetailsResponse) DiscoveredResponse { return v.Discovered }).(DiscoveredResponseOutput) @@ -9717,6 +11062,12 @@ func (i GrafeasV1beta1ImageDetailsArgs) ToGrafeasV1beta1ImageDetailsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1ImageDetailsOutput) } +func (i GrafeasV1beta1ImageDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1ImageDetails] { + return pulumix.Output[GrafeasV1beta1ImageDetails]{ + OutputState: i.ToGrafeasV1beta1ImageDetailsOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1beta1ImageDetailsArgs) ToGrafeasV1beta1ImageDetailsPtrOutput() GrafeasV1beta1ImageDetailsPtrOutput { return i.ToGrafeasV1beta1ImageDetailsPtrOutputWithContext(context.Background()) } @@ -9758,6 +11109,12 @@ func (i *grafeasV1beta1ImageDetailsPtrType) ToGrafeasV1beta1ImageDetailsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1ImageDetailsPtrOutput) } +func (i *grafeasV1beta1ImageDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1ImageDetails] { + return pulumix.Output[*GrafeasV1beta1ImageDetails]{ + OutputState: i.ToGrafeasV1beta1ImageDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Details of an image occurrence. type GrafeasV1beta1ImageDetailsOutput struct{ *pulumi.OutputState } @@ -9783,6 +11140,12 @@ func (o GrafeasV1beta1ImageDetailsOutput) ToGrafeasV1beta1ImageDetailsPtrOutputW }).(GrafeasV1beta1ImageDetailsPtrOutput) } +func (o GrafeasV1beta1ImageDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1ImageDetails] { + return pulumix.Output[GrafeasV1beta1ImageDetails]{ + OutputState: o.OutputState, + } +} + // Immutable. The child image derived from the base image. func (o GrafeasV1beta1ImageDetailsOutput) DerivedImage() DerivedOutput { return o.ApplyT(func(v GrafeasV1beta1ImageDetails) Derived { return v.DerivedImage }).(DerivedOutput) @@ -9802,6 +11165,12 @@ func (o GrafeasV1beta1ImageDetailsPtrOutput) ToGrafeasV1beta1ImageDetailsPtrOutp return o } +func (o GrafeasV1beta1ImageDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1ImageDetails] { + return pulumix.Output[*GrafeasV1beta1ImageDetails]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1ImageDetailsPtrOutput) Elem() GrafeasV1beta1ImageDetailsOutput { return o.ApplyT(func(v *GrafeasV1beta1ImageDetails) GrafeasV1beta1ImageDetails { if v != nil { @@ -9843,6 +11212,12 @@ func (o GrafeasV1beta1ImageDetailsResponseOutput) ToGrafeasV1beta1ImageDetailsRe return o } +func (o GrafeasV1beta1ImageDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1ImageDetailsResponse] { + return pulumix.Output[GrafeasV1beta1ImageDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The child image derived from the base image. func (o GrafeasV1beta1ImageDetailsResponseOutput) DerivedImage() DerivedResponseOutput { return o.ApplyT(func(v GrafeasV1beta1ImageDetailsResponse) DerivedResponse { return v.DerivedImage }).(DerivedResponseOutput) @@ -9881,6 +11256,12 @@ func (i GrafeasV1beta1IntotoArtifactArgs) ToGrafeasV1beta1IntotoArtifactOutputWi return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1IntotoArtifactOutput) } +func (i GrafeasV1beta1IntotoArtifactArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1IntotoArtifact] { + return pulumix.Output[GrafeasV1beta1IntotoArtifact]{ + OutputState: i.ToGrafeasV1beta1IntotoArtifactOutputWithContext(ctx).OutputState, + } +} + // GrafeasV1beta1IntotoArtifactArrayInput is an input type that accepts GrafeasV1beta1IntotoArtifactArray and GrafeasV1beta1IntotoArtifactArrayOutput values. // You can construct a concrete instance of `GrafeasV1beta1IntotoArtifactArrayInput` via: // @@ -9906,6 +11287,12 @@ func (i GrafeasV1beta1IntotoArtifactArray) ToGrafeasV1beta1IntotoArtifactArrayOu return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1IntotoArtifactArrayOutput) } +func (i GrafeasV1beta1IntotoArtifactArray) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1beta1IntotoArtifact] { + return pulumix.Output[[]GrafeasV1beta1IntotoArtifact]{ + OutputState: i.ToGrafeasV1beta1IntotoArtifactArrayOutputWithContext(ctx).OutputState, + } +} + type GrafeasV1beta1IntotoArtifactOutput struct{ *pulumi.OutputState } func (GrafeasV1beta1IntotoArtifactOutput) ElementType() reflect.Type { @@ -9920,6 +11307,12 @@ func (o GrafeasV1beta1IntotoArtifactOutput) ToGrafeasV1beta1IntotoArtifactOutput return o } +func (o GrafeasV1beta1IntotoArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1IntotoArtifact] { + return pulumix.Output[GrafeasV1beta1IntotoArtifact]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoArtifactOutput) Hashes() ArtifactHashesPtrOutput { return o.ApplyT(func(v GrafeasV1beta1IntotoArtifact) *ArtifactHashes { return v.Hashes }).(ArtifactHashesPtrOutput) } @@ -9942,6 +11335,12 @@ func (o GrafeasV1beta1IntotoArtifactArrayOutput) ToGrafeasV1beta1IntotoArtifactA return o } +func (o GrafeasV1beta1IntotoArtifactArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1beta1IntotoArtifact] { + return pulumix.Output[[]GrafeasV1beta1IntotoArtifact]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoArtifactArrayOutput) Index(i pulumi.IntInput) GrafeasV1beta1IntotoArtifactOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrafeasV1beta1IntotoArtifact { return vs[0].([]GrafeasV1beta1IntotoArtifact)[vs[1].(int)] @@ -9967,6 +11366,12 @@ func (o GrafeasV1beta1IntotoArtifactResponseOutput) ToGrafeasV1beta1IntotoArtifa return o } +func (o GrafeasV1beta1IntotoArtifactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1IntotoArtifactResponse] { + return pulumix.Output[GrafeasV1beta1IntotoArtifactResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoArtifactResponseOutput) Hashes() ArtifactHashesResponseOutput { return o.ApplyT(func(v GrafeasV1beta1IntotoArtifactResponse) ArtifactHashesResponse { return v.Hashes }).(ArtifactHashesResponseOutput) } @@ -9989,6 +11394,12 @@ func (o GrafeasV1beta1IntotoArtifactResponseArrayOutput) ToGrafeasV1beta1IntotoA return o } +func (o GrafeasV1beta1IntotoArtifactResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1beta1IntotoArtifactResponse] { + return pulumix.Output[[]GrafeasV1beta1IntotoArtifactResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoArtifactResponseArrayOutput) Index(i pulumi.IntInput) GrafeasV1beta1IntotoArtifactResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrafeasV1beta1IntotoArtifactResponse { return vs[0].([]GrafeasV1beta1IntotoArtifactResponse)[vs[1].(int)] @@ -10030,6 +11441,12 @@ func (i GrafeasV1beta1IntotoDetailsArgs) ToGrafeasV1beta1IntotoDetailsOutputWith return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1IntotoDetailsOutput) } +func (i GrafeasV1beta1IntotoDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1IntotoDetails] { + return pulumix.Output[GrafeasV1beta1IntotoDetails]{ + OutputState: i.ToGrafeasV1beta1IntotoDetailsOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1beta1IntotoDetailsArgs) ToGrafeasV1beta1IntotoDetailsPtrOutput() GrafeasV1beta1IntotoDetailsPtrOutput { return i.ToGrafeasV1beta1IntotoDetailsPtrOutputWithContext(context.Background()) } @@ -10071,6 +11488,12 @@ func (i *grafeasV1beta1IntotoDetailsPtrType) ToGrafeasV1beta1IntotoDetailsPtrOut return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1IntotoDetailsPtrOutput) } +func (i *grafeasV1beta1IntotoDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1IntotoDetails] { + return pulumix.Output[*GrafeasV1beta1IntotoDetails]{ + OutputState: i.ToGrafeasV1beta1IntotoDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note. type GrafeasV1beta1IntotoDetailsOutput struct{ *pulumi.OutputState } @@ -10096,6 +11519,12 @@ func (o GrafeasV1beta1IntotoDetailsOutput) ToGrafeasV1beta1IntotoDetailsPtrOutpu }).(GrafeasV1beta1IntotoDetailsPtrOutput) } +func (o GrafeasV1beta1IntotoDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1IntotoDetails] { + return pulumix.Output[GrafeasV1beta1IntotoDetails]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoDetailsOutput) Signatures() GrafeasV1beta1IntotoSignatureArrayOutput { return o.ApplyT(func(v GrafeasV1beta1IntotoDetails) []GrafeasV1beta1IntotoSignature { return v.Signatures }).(GrafeasV1beta1IntotoSignatureArrayOutput) } @@ -10118,6 +11547,12 @@ func (o GrafeasV1beta1IntotoDetailsPtrOutput) ToGrafeasV1beta1IntotoDetailsPtrOu return o } +func (o GrafeasV1beta1IntotoDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1IntotoDetails] { + return pulumix.Output[*GrafeasV1beta1IntotoDetails]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoDetailsPtrOutput) Elem() GrafeasV1beta1IntotoDetailsOutput { return o.ApplyT(func(v *GrafeasV1beta1IntotoDetails) GrafeasV1beta1IntotoDetails { if v != nil { @@ -10167,6 +11602,12 @@ func (o GrafeasV1beta1IntotoDetailsResponseOutput) ToGrafeasV1beta1IntotoDetails return o } +func (o GrafeasV1beta1IntotoDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1IntotoDetailsResponse] { + return pulumix.Output[GrafeasV1beta1IntotoDetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoDetailsResponseOutput) Signatures() GrafeasV1beta1IntotoSignatureResponseArrayOutput { return o.ApplyT(func(v GrafeasV1beta1IntotoDetailsResponse) []GrafeasV1beta1IntotoSignatureResponse { return v.Signatures @@ -10212,6 +11653,12 @@ func (i GrafeasV1beta1IntotoSignatureArgs) ToGrafeasV1beta1IntotoSignatureOutput return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1IntotoSignatureOutput) } +func (i GrafeasV1beta1IntotoSignatureArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1IntotoSignature] { + return pulumix.Output[GrafeasV1beta1IntotoSignature]{ + OutputState: i.ToGrafeasV1beta1IntotoSignatureOutputWithContext(ctx).OutputState, + } +} + // GrafeasV1beta1IntotoSignatureArrayInput is an input type that accepts GrafeasV1beta1IntotoSignatureArray and GrafeasV1beta1IntotoSignatureArrayOutput values. // You can construct a concrete instance of `GrafeasV1beta1IntotoSignatureArrayInput` via: // @@ -10237,6 +11684,12 @@ func (i GrafeasV1beta1IntotoSignatureArray) ToGrafeasV1beta1IntotoSignatureArray return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1IntotoSignatureArrayOutput) } +func (i GrafeasV1beta1IntotoSignatureArray) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1beta1IntotoSignature] { + return pulumix.Output[[]GrafeasV1beta1IntotoSignature]{ + OutputState: i.ToGrafeasV1beta1IntotoSignatureArrayOutputWithContext(ctx).OutputState, + } +} + // A signature object consists of the KeyID used and the signature itself. type GrafeasV1beta1IntotoSignatureOutput struct{ *pulumi.OutputState } @@ -10252,6 +11705,12 @@ func (o GrafeasV1beta1IntotoSignatureOutput) ToGrafeasV1beta1IntotoSignatureOutp return o } +func (o GrafeasV1beta1IntotoSignatureOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1IntotoSignature] { + return pulumix.Output[GrafeasV1beta1IntotoSignature]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoSignatureOutput) Keyid() pulumi.StringPtrOutput { return o.ApplyT(func(v GrafeasV1beta1IntotoSignature) *string { return v.Keyid }).(pulumi.StringPtrOutput) } @@ -10274,6 +11733,12 @@ func (o GrafeasV1beta1IntotoSignatureArrayOutput) ToGrafeasV1beta1IntotoSignatur return o } +func (o GrafeasV1beta1IntotoSignatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1beta1IntotoSignature] { + return pulumix.Output[[]GrafeasV1beta1IntotoSignature]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoSignatureArrayOutput) Index(i pulumi.IntInput) GrafeasV1beta1IntotoSignatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrafeasV1beta1IntotoSignature { return vs[0].([]GrafeasV1beta1IntotoSignature)[vs[1].(int)] @@ -10301,6 +11766,12 @@ func (o GrafeasV1beta1IntotoSignatureResponseOutput) ToGrafeasV1beta1IntotoSigna return o } +func (o GrafeasV1beta1IntotoSignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1IntotoSignatureResponse] { + return pulumix.Output[GrafeasV1beta1IntotoSignatureResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoSignatureResponseOutput) Keyid() pulumi.StringOutput { return o.ApplyT(func(v GrafeasV1beta1IntotoSignatureResponse) string { return v.Keyid }).(pulumi.StringOutput) } @@ -10323,6 +11794,12 @@ func (o GrafeasV1beta1IntotoSignatureResponseArrayOutput) ToGrafeasV1beta1Intoto return o } +func (o GrafeasV1beta1IntotoSignatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrafeasV1beta1IntotoSignatureResponse] { + return pulumix.Output[[]GrafeasV1beta1IntotoSignatureResponse]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1IntotoSignatureResponseArrayOutput) Index(i pulumi.IntInput) GrafeasV1beta1IntotoSignatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrafeasV1beta1IntotoSignatureResponse { return vs[0].([]GrafeasV1beta1IntotoSignatureResponse)[vs[1].(int)] @@ -10364,6 +11841,12 @@ func (i GrafeasV1beta1PackageDetailsArgs) ToGrafeasV1beta1PackageDetailsOutputWi return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1PackageDetailsOutput) } +func (i GrafeasV1beta1PackageDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1PackageDetails] { + return pulumix.Output[GrafeasV1beta1PackageDetails]{ + OutputState: i.ToGrafeasV1beta1PackageDetailsOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1beta1PackageDetailsArgs) ToGrafeasV1beta1PackageDetailsPtrOutput() GrafeasV1beta1PackageDetailsPtrOutput { return i.ToGrafeasV1beta1PackageDetailsPtrOutputWithContext(context.Background()) } @@ -10405,6 +11888,12 @@ func (i *grafeasV1beta1PackageDetailsPtrType) ToGrafeasV1beta1PackageDetailsPtrO return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1PackageDetailsPtrOutput) } +func (i *grafeasV1beta1PackageDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1PackageDetails] { + return pulumix.Output[*GrafeasV1beta1PackageDetails]{ + OutputState: i.ToGrafeasV1beta1PackageDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Details of a package occurrence. type GrafeasV1beta1PackageDetailsOutput struct{ *pulumi.OutputState } @@ -10430,6 +11919,12 @@ func (o GrafeasV1beta1PackageDetailsOutput) ToGrafeasV1beta1PackageDetailsPtrOut }).(GrafeasV1beta1PackageDetailsPtrOutput) } +func (o GrafeasV1beta1PackageDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1PackageDetails] { + return pulumix.Output[GrafeasV1beta1PackageDetails]{ + OutputState: o.OutputState, + } +} + // Where the package was installed. func (o GrafeasV1beta1PackageDetailsOutput) Installation() InstallationOutput { return o.ApplyT(func(v GrafeasV1beta1PackageDetails) Installation { return v.Installation }).(InstallationOutput) @@ -10449,6 +11944,12 @@ func (o GrafeasV1beta1PackageDetailsPtrOutput) ToGrafeasV1beta1PackageDetailsPtr return o } +func (o GrafeasV1beta1PackageDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1PackageDetails] { + return pulumix.Output[*GrafeasV1beta1PackageDetails]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1PackageDetailsPtrOutput) Elem() GrafeasV1beta1PackageDetailsOutput { return o.ApplyT(func(v *GrafeasV1beta1PackageDetails) GrafeasV1beta1PackageDetails { if v != nil { @@ -10490,6 +11991,12 @@ func (o GrafeasV1beta1PackageDetailsResponseOutput) ToGrafeasV1beta1PackageDetai return o } +func (o GrafeasV1beta1PackageDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1PackageDetailsResponse] { + return pulumix.Output[GrafeasV1beta1PackageDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Where the package was installed. func (o GrafeasV1beta1PackageDetailsResponseOutput) Installation() InstallationResponseOutput { return o.ApplyT(func(v GrafeasV1beta1PackageDetailsResponse) InstallationResponse { return v.Installation }).(InstallationResponseOutput) @@ -10548,6 +12055,12 @@ func (i GrafeasV1beta1VulnerabilityDetailsArgs) ToGrafeasV1beta1VulnerabilityDet return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1VulnerabilityDetailsOutput) } +func (i GrafeasV1beta1VulnerabilityDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1VulnerabilityDetails] { + return pulumix.Output[GrafeasV1beta1VulnerabilityDetails]{ + OutputState: i.ToGrafeasV1beta1VulnerabilityDetailsOutputWithContext(ctx).OutputState, + } +} + func (i GrafeasV1beta1VulnerabilityDetailsArgs) ToGrafeasV1beta1VulnerabilityDetailsPtrOutput() GrafeasV1beta1VulnerabilityDetailsPtrOutput { return i.ToGrafeasV1beta1VulnerabilityDetailsPtrOutputWithContext(context.Background()) } @@ -10589,6 +12102,12 @@ func (i *grafeasV1beta1VulnerabilityDetailsPtrType) ToGrafeasV1beta1Vulnerabilit return pulumi.ToOutputWithContext(ctx, i).(GrafeasV1beta1VulnerabilityDetailsPtrOutput) } +func (i *grafeasV1beta1VulnerabilityDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1VulnerabilityDetails] { + return pulumix.Output[*GrafeasV1beta1VulnerabilityDetails]{ + OutputState: i.ToGrafeasV1beta1VulnerabilityDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Details of a vulnerability Occurrence. type GrafeasV1beta1VulnerabilityDetailsOutput struct{ *pulumi.OutputState } @@ -10614,6 +12133,12 @@ func (o GrafeasV1beta1VulnerabilityDetailsOutput) ToGrafeasV1beta1VulnerabilityD }).(GrafeasV1beta1VulnerabilityDetailsPtrOutput) } +func (o GrafeasV1beta1VulnerabilityDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1VulnerabilityDetails] { + return pulumix.Output[GrafeasV1beta1VulnerabilityDetails]{ + OutputState: o.OutputState, + } +} + // The cvss v2 score for the vulnerability. func (o GrafeasV1beta1VulnerabilityDetailsOutput) CvssV2() CVSSPtrOutput { return o.ApplyT(func(v GrafeasV1beta1VulnerabilityDetails) *CVSS { return v.CvssV2 }).(CVSSPtrOutput) @@ -10659,6 +12184,12 @@ func (o GrafeasV1beta1VulnerabilityDetailsPtrOutput) ToGrafeasV1beta1Vulnerabili return o } +func (o GrafeasV1beta1VulnerabilityDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrafeasV1beta1VulnerabilityDetails] { + return pulumix.Output[*GrafeasV1beta1VulnerabilityDetails]{ + OutputState: o.OutputState, + } +} + func (o GrafeasV1beta1VulnerabilityDetailsPtrOutput) Elem() GrafeasV1beta1VulnerabilityDetailsOutput { return o.ApplyT(func(v *GrafeasV1beta1VulnerabilityDetails) GrafeasV1beta1VulnerabilityDetails { if v != nil { @@ -10770,6 +12301,12 @@ func (o GrafeasV1beta1VulnerabilityDetailsResponseOutput) ToGrafeasV1beta1Vulner return o } +func (o GrafeasV1beta1VulnerabilityDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrafeasV1beta1VulnerabilityDetailsResponse] { + return pulumix.Output[GrafeasV1beta1VulnerabilityDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity. func (o GrafeasV1beta1VulnerabilityDetailsResponseOutput) CvssScore() pulumi.Float64Output { return o.ApplyT(func(v GrafeasV1beta1VulnerabilityDetailsResponse) float64 { return v.CvssScore }).(pulumi.Float64Output) @@ -10868,6 +12405,12 @@ func (i HashArgs) ToHashOutputWithContext(ctx context.Context) HashOutput { return pulumi.ToOutputWithContext(ctx, i).(HashOutput) } +func (i HashArgs) ToOutput(ctx context.Context) pulumix.Output[Hash] { + return pulumix.Output[Hash]{ + OutputState: i.ToHashOutputWithContext(ctx).OutputState, + } +} + func (i HashArgs) ToHashPtrOutput() HashPtrOutput { return i.ToHashPtrOutputWithContext(context.Background()) } @@ -10909,6 +12452,12 @@ func (i *hashPtrType) ToHashPtrOutputWithContext(ctx context.Context) HashPtrOut return pulumi.ToOutputWithContext(ctx, i).(HashPtrOutput) } +func (i *hashPtrType) ToOutput(ctx context.Context) pulumix.Output[*Hash] { + return pulumix.Output[*Hash]{ + OutputState: i.ToHashPtrOutputWithContext(ctx).OutputState, + } +} + // Container message for hash values. type HashOutput struct{ *pulumi.OutputState } @@ -10934,6 +12483,12 @@ func (o HashOutput) ToHashPtrOutputWithContext(ctx context.Context) HashPtrOutpu }).(HashPtrOutput) } +func (o HashOutput) ToOutput(ctx context.Context) pulumix.Output[Hash] { + return pulumix.Output[Hash]{ + OutputState: o.OutputState, + } +} + // The type of hash that was performed. func (o HashOutput) Type() HashTypeOutput { return o.ApplyT(func(v Hash) HashType { return v.Type }).(HashTypeOutput) @@ -10958,6 +12513,12 @@ func (o HashPtrOutput) ToHashPtrOutputWithContext(ctx context.Context) HashPtrOu return o } +func (o HashPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Hash] { + return pulumix.Output[*Hash]{ + OutputState: o.OutputState, + } +} + func (o HashPtrOutput) Elem() HashOutput { return o.ApplyT(func(v *Hash) Hash { if v != nil { @@ -11011,6 +12572,12 @@ func (o HashResponseOutput) ToHashResponseOutputWithContext(ctx context.Context) return o } +func (o HashResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HashResponse] { + return pulumix.Output[HashResponse]{ + OutputState: o.OutputState, + } +} + // The type of hash that was performed. func (o HashResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v HashResponse) string { return v.Type }).(pulumi.StringOutput) @@ -11056,6 +12623,12 @@ func (i HintArgs) ToHintOutputWithContext(ctx context.Context) HintOutput { return pulumi.ToOutputWithContext(ctx, i).(HintOutput) } +func (i HintArgs) ToOutput(ctx context.Context) pulumix.Output[Hint] { + return pulumix.Output[Hint]{ + OutputState: i.ToHintOutputWithContext(ctx).OutputState, + } +} + func (i HintArgs) ToHintPtrOutput() HintPtrOutput { return i.ToHintPtrOutputWithContext(context.Background()) } @@ -11097,6 +12670,12 @@ func (i *hintPtrType) ToHintPtrOutputWithContext(ctx context.Context) HintPtrOut return pulumi.ToOutputWithContext(ctx, i).(HintPtrOutput) } +func (i *hintPtrType) ToOutput(ctx context.Context) pulumix.Output[*Hint] { + return pulumix.Output[*Hint]{ + OutputState: i.ToHintPtrOutputWithContext(ctx).OutputState, + } +} + // This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify. type HintOutput struct{ *pulumi.OutputState } @@ -11122,6 +12701,12 @@ func (o HintOutput) ToHintPtrOutputWithContext(ctx context.Context) HintPtrOutpu }).(HintPtrOutput) } +func (o HintOutput) ToOutput(ctx context.Context) pulumix.Output[Hint] { + return pulumix.Output[Hint]{ + OutputState: o.OutputState, + } +} + // The human readable name of this attestation authority, for example "qa". func (o HintOutput) HumanReadableName() pulumi.StringOutput { return o.ApplyT(func(v Hint) string { return v.HumanReadableName }).(pulumi.StringOutput) @@ -11141,6 +12726,12 @@ func (o HintPtrOutput) ToHintPtrOutputWithContext(ctx context.Context) HintPtrOu return o } +func (o HintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Hint] { + return pulumix.Output[*Hint]{ + OutputState: o.OutputState, + } +} + func (o HintPtrOutput) Elem() HintOutput { return o.ApplyT(func(v *Hint) Hint { if v != nil { @@ -11182,6 +12773,12 @@ func (o HintResponseOutput) ToHintResponseOutputWithContext(ctx context.Context) return o } +func (o HintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HintResponse] { + return pulumix.Output[HintResponse]{ + OutputState: o.OutputState, + } +} + // The human readable name of this attestation authority, for example "qa". func (o HintResponseOutput) HumanReadableName() pulumi.StringOutput { return o.ApplyT(func(v HintResponse) string { return v.HumanReadableName }).(pulumi.StringOutput) @@ -11240,6 +12837,12 @@ func (i InTotoArgs) ToInTotoOutputWithContext(ctx context.Context) InTotoOutput return pulumi.ToOutputWithContext(ctx, i).(InTotoOutput) } +func (i InTotoArgs) ToOutput(ctx context.Context) pulumix.Output[InToto] { + return pulumix.Output[InToto]{ + OutputState: i.ToInTotoOutputWithContext(ctx).OutputState, + } +} + func (i InTotoArgs) ToInTotoPtrOutput() InTotoPtrOutput { return i.ToInTotoPtrOutputWithContext(context.Background()) } @@ -11281,6 +12884,12 @@ func (i *inTotoPtrType) ToInTotoPtrOutputWithContext(ctx context.Context) InToto return pulumi.ToOutputWithContext(ctx, i).(InTotoPtrOutput) } +func (i *inTotoPtrType) ToOutput(ctx context.Context) pulumix.Output[*InToto] { + return pulumix.Output[*InToto]{ + OutputState: i.ToInTotoPtrOutputWithContext(ctx).OutputState, + } +} + // This contains the fields corresponding to the definition of a software supply chain step in an in-toto layout. This information goes into a Grafeas note. type InTotoOutput struct{ *pulumi.OutputState } @@ -11306,6 +12915,12 @@ func (o InTotoOutput) ToInTotoPtrOutputWithContext(ctx context.Context) InTotoPt }).(InTotoPtrOutput) } +func (o InTotoOutput) ToOutput(ctx context.Context) pulumix.Output[InToto] { + return pulumix.Output[InToto]{ + OutputState: o.OutputState, + } +} + // This field contains the expected command used to perform the step. func (o InTotoOutput) ExpectedCommand() pulumi.StringArrayOutput { return o.ApplyT(func(v InToto) []string { return v.ExpectedCommand }).(pulumi.StringArrayOutput) @@ -11349,6 +12964,12 @@ func (o InTotoPtrOutput) ToInTotoPtrOutputWithContext(ctx context.Context) InTot return o } +func (o InTotoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InToto] { + return pulumix.Output[*InToto]{ + OutputState: o.OutputState, + } +} + func (o InTotoPtrOutput) Elem() InTotoOutput { return o.ApplyT(func(v *InToto) InToto { if v != nil { @@ -11448,6 +13069,12 @@ func (o InTotoResponseOutput) ToInTotoResponseOutputWithContext(ctx context.Cont return o } +func (o InTotoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InTotoResponse] { + return pulumix.Output[InTotoResponse]{ + OutputState: o.OutputState, + } +} + // This field contains the expected command used to perform the step. func (o InTotoResponseOutput) ExpectedCommand() pulumi.StringArrayOutput { return o.ApplyT(func(v InTotoResponse) []string { return v.ExpectedCommand }).(pulumi.StringArrayOutput) @@ -11516,6 +13143,12 @@ func (i InstallationArgs) ToInstallationOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(InstallationOutput) } +func (i InstallationArgs) ToOutput(ctx context.Context) pulumix.Output[Installation] { + return pulumix.Output[Installation]{ + OutputState: i.ToInstallationOutputWithContext(ctx).OutputState, + } +} + func (i InstallationArgs) ToInstallationPtrOutput() InstallationPtrOutput { return i.ToInstallationPtrOutputWithContext(context.Background()) } @@ -11557,6 +13190,12 @@ func (i *installationPtrType) ToInstallationPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstallationPtrOutput) } +func (i *installationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Installation] { + return pulumix.Output[*Installation]{ + OutputState: i.ToInstallationPtrOutputWithContext(ctx).OutputState, + } +} + // This represents how a particular software package may be installed on a system. type InstallationOutput struct{ *pulumi.OutputState } @@ -11582,6 +13221,12 @@ func (o InstallationOutput) ToInstallationPtrOutputWithContext(ctx context.Conte }).(InstallationPtrOutput) } +func (o InstallationOutput) ToOutput(ctx context.Context) pulumix.Output[Installation] { + return pulumix.Output[Installation]{ + OutputState: o.OutputState, + } +} + // Licenses that have been declared by the authors of the package. func (o InstallationOutput) License() LicensePtrOutput { return o.ApplyT(func(v Installation) *License { return v.License }).(LicensePtrOutput) @@ -11606,6 +13251,12 @@ func (o InstallationPtrOutput) ToInstallationPtrOutputWithContext(ctx context.Co return o } +func (o InstallationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Installation] { + return pulumix.Output[*Installation]{ + OutputState: o.OutputState, + } +} + func (o InstallationPtrOutput) Elem() InstallationOutput { return o.ApplyT(func(v *Installation) Installation { if v != nil { @@ -11669,6 +13320,12 @@ func (o InstallationResponseOutput) ToInstallationResponseOutputWithContext(ctx return o } +func (o InstallationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstallationResponse] { + return pulumix.Output[InstallationResponse]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. func (o InstallationResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v InstallationResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -11743,6 +13400,12 @@ func (i JustificationArgs) ToJustificationOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(JustificationOutput) } +func (i JustificationArgs) ToOutput(ctx context.Context) pulumix.Output[Justification] { + return pulumix.Output[Justification]{ + OutputState: i.ToJustificationOutputWithContext(ctx).OutputState, + } +} + func (i JustificationArgs) ToJustificationPtrOutput() JustificationPtrOutput { return i.ToJustificationPtrOutputWithContext(context.Background()) } @@ -11784,6 +13447,12 @@ func (i *justificationPtrType) ToJustificationPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(JustificationPtrOutput) } +func (i *justificationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Justification] { + return pulumix.Output[*Justification]{ + OutputState: i.ToJustificationPtrOutputWithContext(ctx).OutputState, + } +} + // Justification provides the justification when the state of the assessment if NOT_AFFECTED. type JustificationOutput struct{ *pulumi.OutputState } @@ -11809,6 +13478,12 @@ func (o JustificationOutput) ToJustificationPtrOutputWithContext(ctx context.Con }).(JustificationPtrOutput) } +func (o JustificationOutput) ToOutput(ctx context.Context) pulumix.Output[Justification] { + return pulumix.Output[Justification]{ + OutputState: o.OutputState, + } +} + // Additional details on why this justification was chosen. func (o JustificationOutput) Details() pulumi.StringPtrOutput { return o.ApplyT(func(v Justification) *string { return v.Details }).(pulumi.StringPtrOutput) @@ -11833,6 +13508,12 @@ func (o JustificationPtrOutput) ToJustificationPtrOutputWithContext(ctx context. return o } +func (o JustificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Justification] { + return pulumix.Output[*Justification]{ + OutputState: o.OutputState, + } +} + func (o JustificationPtrOutput) Elem() JustificationOutput { return o.ApplyT(func(v *Justification) Justification { if v != nil { @@ -11886,6 +13567,12 @@ func (o JustificationResponseOutput) ToJustificationResponseOutputWithContext(ct return o } +func (o JustificationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JustificationResponse] { + return pulumix.Output[JustificationResponse]{ + OutputState: o.OutputState, + } +} + // Additional details on why this justification was chosen. func (o JustificationResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v JustificationResponse) string { return v.Details }).(pulumi.StringOutput) @@ -11933,6 +13620,12 @@ func (i KnowledgeBaseArgs) ToKnowledgeBaseOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(KnowledgeBaseOutput) } +func (i KnowledgeBaseArgs) ToOutput(ctx context.Context) pulumix.Output[KnowledgeBase] { + return pulumix.Output[KnowledgeBase]{ + OutputState: i.ToKnowledgeBaseOutputWithContext(ctx).OutputState, + } +} + // KnowledgeBaseArrayInput is an input type that accepts KnowledgeBaseArray and KnowledgeBaseArrayOutput values. // You can construct a concrete instance of `KnowledgeBaseArrayInput` via: // @@ -11958,6 +13651,12 @@ func (i KnowledgeBaseArray) ToKnowledgeBaseArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(KnowledgeBaseArrayOutput) } +func (i KnowledgeBaseArray) ToOutput(ctx context.Context) pulumix.Output[[]KnowledgeBase] { + return pulumix.Output[[]KnowledgeBase]{ + OutputState: i.ToKnowledgeBaseArrayOutputWithContext(ctx).OutputState, + } +} + type KnowledgeBaseOutput struct{ *pulumi.OutputState } func (KnowledgeBaseOutput) ElementType() reflect.Type { @@ -11972,6 +13671,12 @@ func (o KnowledgeBaseOutput) ToKnowledgeBaseOutputWithContext(ctx context.Contex return o } +func (o KnowledgeBaseOutput) ToOutput(ctx context.Context) pulumix.Output[KnowledgeBase] { + return pulumix.Output[KnowledgeBase]{ + OutputState: o.OutputState, + } +} + // The KB name (generally of the form KB[0-9]+ i.e. KB123456). func (o KnowledgeBaseOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v KnowledgeBase) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -11996,6 +13701,12 @@ func (o KnowledgeBaseArrayOutput) ToKnowledgeBaseArrayOutputWithContext(ctx cont return o } +func (o KnowledgeBaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KnowledgeBase] { + return pulumix.Output[[]KnowledgeBase]{ + OutputState: o.OutputState, + } +} + func (o KnowledgeBaseArrayOutput) Index(i pulumi.IntInput) KnowledgeBaseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KnowledgeBase { return vs[0].([]KnowledgeBase)[vs[1].(int)] @@ -12023,6 +13734,12 @@ func (o KnowledgeBaseResponseOutput) ToKnowledgeBaseResponseOutputWithContext(ct return o } +func (o KnowledgeBaseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KnowledgeBaseResponse] { + return pulumix.Output[KnowledgeBaseResponse]{ + OutputState: o.OutputState, + } +} + // The KB name (generally of the form KB[0-9]+ i.e. KB123456). func (o KnowledgeBaseResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v KnowledgeBaseResponse) string { return v.Name }).(pulumi.StringOutput) @@ -12047,6 +13764,12 @@ func (o KnowledgeBaseResponseArrayOutput) ToKnowledgeBaseResponseArrayOutputWith return o } +func (o KnowledgeBaseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KnowledgeBaseResponse] { + return pulumix.Output[[]KnowledgeBaseResponse]{ + OutputState: o.OutputState, + } +} + func (o KnowledgeBaseResponseArrayOutput) Index(i pulumi.IntInput) KnowledgeBaseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KnowledgeBaseResponse { return vs[0].([]KnowledgeBaseResponse)[vs[1].(int)] @@ -12092,6 +13815,12 @@ func (i LayerArgs) ToLayerOutputWithContext(ctx context.Context) LayerOutput { return pulumi.ToOutputWithContext(ctx, i).(LayerOutput) } +func (i LayerArgs) ToOutput(ctx context.Context) pulumix.Output[Layer] { + return pulumix.Output[Layer]{ + OutputState: i.ToLayerOutputWithContext(ctx).OutputState, + } +} + // LayerArrayInput is an input type that accepts LayerArray and LayerArrayOutput values. // You can construct a concrete instance of `LayerArrayInput` via: // @@ -12117,6 +13846,12 @@ func (i LayerArray) ToLayerArrayOutputWithContext(ctx context.Context) LayerArra return pulumi.ToOutputWithContext(ctx, i).(LayerArrayOutput) } +func (i LayerArray) ToOutput(ctx context.Context) pulumix.Output[[]Layer] { + return pulumix.Output[[]Layer]{ + OutputState: i.ToLayerArrayOutputWithContext(ctx).OutputState, + } +} + // Layer holds metadata specific to a layer of a Docker image. type LayerOutput struct{ *pulumi.OutputState } @@ -12132,6 +13867,12 @@ func (o LayerOutput) ToLayerOutputWithContext(ctx context.Context) LayerOutput { return o } +func (o LayerOutput) ToOutput(ctx context.Context) pulumix.Output[Layer] { + return pulumix.Output[Layer]{ + OutputState: o.OutputState, + } +} + // The recovered arguments to the Dockerfile directive. func (o LayerOutput) Arguments() pulumi.StringPtrOutput { return o.ApplyT(func(v Layer) *string { return v.Arguments }).(pulumi.StringPtrOutput) @@ -12156,6 +13897,12 @@ func (o LayerArrayOutput) ToLayerArrayOutputWithContext(ctx context.Context) Lay return o } +func (o LayerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Layer] { + return pulumix.Output[[]Layer]{ + OutputState: o.OutputState, + } +} + func (o LayerArrayOutput) Index(i pulumi.IntInput) LayerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Layer { return vs[0].([]Layer)[vs[1].(int)] @@ -12185,6 +13932,12 @@ func (o LayerResponseOutput) ToLayerResponseOutputWithContext(ctx context.Contex return o } +func (o LayerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LayerResponse] { + return pulumix.Output[LayerResponse]{ + OutputState: o.OutputState, + } +} + // The recovered arguments to the Dockerfile directive. func (o LayerResponseOutput) Arguments() pulumi.StringOutput { return o.ApplyT(func(v LayerResponse) string { return v.Arguments }).(pulumi.StringOutput) @@ -12209,6 +13962,12 @@ func (o LayerResponseArrayOutput) ToLayerResponseArrayOutputWithContext(ctx cont return o } +func (o LayerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LayerResponse] { + return pulumix.Output[[]LayerResponse]{ + OutputState: o.OutputState, + } +} + func (o LayerResponseArrayOutput) Index(i pulumi.IntInput) LayerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LayerResponse { return vs[0].([]LayerResponse)[vs[1].(int)] @@ -12254,6 +14013,12 @@ func (i LicenseArgs) ToLicenseOutputWithContext(ctx context.Context) LicenseOutp return pulumi.ToOutputWithContext(ctx, i).(LicenseOutput) } +func (i LicenseArgs) ToOutput(ctx context.Context) pulumix.Output[License] { + return pulumix.Output[License]{ + OutputState: i.ToLicenseOutputWithContext(ctx).OutputState, + } +} + func (i LicenseArgs) ToLicensePtrOutput() LicensePtrOutput { return i.ToLicensePtrOutputWithContext(context.Background()) } @@ -12295,6 +14060,12 @@ func (i *licensePtrType) ToLicensePtrOutputWithContext(ctx context.Context) Lice return pulumi.ToOutputWithContext(ctx, i).(LicensePtrOutput) } +func (i *licensePtrType) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: i.ToLicensePtrOutputWithContext(ctx).OutputState, + } +} + // License information. type LicenseOutput struct{ *pulumi.OutputState } @@ -12320,6 +14091,12 @@ func (o LicenseOutput) ToLicensePtrOutputWithContext(ctx context.Context) Licens }).(LicensePtrOutput) } +func (o LicenseOutput) ToOutput(ctx context.Context) pulumix.Output[License] { + return pulumix.Output[License]{ + OutputState: o.OutputState, + } +} + // Comments func (o LicenseOutput) Comments() pulumi.StringPtrOutput { return o.ApplyT(func(v License) *string { return v.Comments }).(pulumi.StringPtrOutput) @@ -12344,6 +14121,12 @@ func (o LicensePtrOutput) ToLicensePtrOutputWithContext(ctx context.Context) Lic return o } +func (o LicensePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*License] { + return pulumix.Output[*License]{ + OutputState: o.OutputState, + } +} + func (o LicensePtrOutput) Elem() LicenseOutput { return o.ApplyT(func(v *License) License { if v != nil { @@ -12397,6 +14180,12 @@ func (o LicenseResponseOutput) ToLicenseResponseOutputWithContext(ctx context.Co return o } +func (o LicenseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LicenseResponse] { + return pulumix.Output[LicenseResponse]{ + OutputState: o.OutputState, + } +} + // Comments func (o LicenseResponseOutput) Comments() pulumi.StringOutput { return o.ApplyT(func(v LicenseResponse) string { return v.Comments }).(pulumi.StringOutput) @@ -12458,6 +14247,12 @@ func (i LinkArgs) ToLinkOutputWithContext(ctx context.Context) LinkOutput { return pulumi.ToOutputWithContext(ctx, i).(LinkOutput) } +func (i LinkArgs) ToOutput(ctx context.Context) pulumix.Output[Link] { + return pulumix.Output[Link]{ + OutputState: i.ToLinkOutputWithContext(ctx).OutputState, + } +} + func (i LinkArgs) ToLinkPtrOutput() LinkPtrOutput { return i.ToLinkPtrOutputWithContext(context.Background()) } @@ -12499,6 +14294,12 @@ func (i *linkPtrType) ToLinkPtrOutputWithContext(ctx context.Context) LinkPtrOut return pulumi.ToOutputWithContext(ctx, i).(LinkPtrOutput) } +func (i *linkPtrType) ToOutput(ctx context.Context) pulumix.Output[*Link] { + return pulumix.Output[*Link]{ + OutputState: i.ToLinkPtrOutputWithContext(ctx).OutputState, + } +} + // This corresponds to an in-toto link. type LinkOutput struct{ *pulumi.OutputState } @@ -12524,6 +14325,12 @@ func (o LinkOutput) ToLinkPtrOutputWithContext(ctx context.Context) LinkPtrOutpu }).(LinkPtrOutput) } +func (o LinkOutput) ToOutput(ctx context.Context) pulumix.Output[Link] { + return pulumix.Output[Link]{ + OutputState: o.OutputState, + } +} + // ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step. func (o LinkOutput) Byproducts() ByProductsPtrOutput { return o.ApplyT(func(v Link) *ByProducts { return v.Byproducts }).(ByProductsPtrOutput) @@ -12563,6 +14370,12 @@ func (o LinkPtrOutput) ToLinkPtrOutputWithContext(ctx context.Context) LinkPtrOu return o } +func (o LinkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Link] { + return pulumix.Output[*Link]{ + OutputState: o.OutputState, + } +} + func (o LinkPtrOutput) Elem() LinkOutput { return o.ApplyT(func(v *Link) Link { if v != nil { @@ -12652,6 +14465,12 @@ func (o LinkResponseOutput) ToLinkResponseOutputWithContext(ctx context.Context) return o } +func (o LinkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LinkResponse] { + return pulumix.Output[LinkResponse]{ + OutputState: o.OutputState, + } +} + // ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step. func (o LinkResponseOutput) Byproducts() ByProductsResponseOutput { return o.ApplyT(func(v LinkResponse) ByProductsResponse { return v.Byproducts }).(ByProductsResponseOutput) @@ -12728,6 +14547,12 @@ func (i LocationArgs) ToLocationOutputWithContext(ctx context.Context) LocationO return pulumi.ToOutputWithContext(ctx, i).(LocationOutput) } +func (i LocationArgs) ToOutput(ctx context.Context) pulumix.Output[Location] { + return pulumix.Output[Location]{ + OutputState: i.ToLocationOutputWithContext(ctx).OutputState, + } +} + // LocationArrayInput is an input type that accepts LocationArray and LocationArrayOutput values. // You can construct a concrete instance of `LocationArrayInput` via: // @@ -12753,6 +14578,12 @@ func (i LocationArray) ToLocationArrayOutputWithContext(ctx context.Context) Loc return pulumi.ToOutputWithContext(ctx, i).(LocationArrayOutput) } +func (i LocationArray) ToOutput(ctx context.Context) pulumix.Output[[]Location] { + return pulumix.Output[[]Location]{ + OutputState: i.ToLocationArrayOutputWithContext(ctx).OutputState, + } +} + // An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in `/var/lib/dpkg/status`. type LocationOutput struct{ *pulumi.OutputState } @@ -12768,6 +14599,12 @@ func (o LocationOutput) ToLocationOutputWithContext(ctx context.Context) Locatio return o } +func (o LocationOutput) ToOutput(ctx context.Context) pulumix.Output[Location] { + return pulumix.Output[Location]{ + OutputState: o.OutputState, + } +} + // Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. // // Deprecated: Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. @@ -12801,6 +14638,12 @@ func (o LocationArrayOutput) ToLocationArrayOutputWithContext(ctx context.Contex return o } +func (o LocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Location] { + return pulumix.Output[[]Location]{ + OutputState: o.OutputState, + } +} + func (o LocationArrayOutput) Index(i pulumi.IntInput) LocationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Location { return vs[0].([]Location)[vs[1].(int)] @@ -12836,6 +14679,12 @@ func (o LocationResponseOutput) ToLocationResponseOutputWithContext(ctx context. return o } +func (o LocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocationResponse] { + return pulumix.Output[LocationResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. // // Deprecated: Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. @@ -12869,6 +14718,12 @@ func (o LocationResponseArrayOutput) ToLocationResponseArrayOutputWithContext(ct return o } +func (o LocationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocationResponse] { + return pulumix.Output[[]LocationResponse]{ + OutputState: o.OutputState, + } +} + func (o LocationResponseArrayOutput) Index(i pulumi.IntInput) LocationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocationResponse { return vs[0].([]LocationResponse)[vs[1].(int)] @@ -12950,6 +14805,12 @@ func (i PackageArgs) ToPackageOutputWithContext(ctx context.Context) PackageOutp return pulumi.ToOutputWithContext(ctx, i).(PackageOutput) } +func (i PackageArgs) ToOutput(ctx context.Context) pulumix.Output[Package] { + return pulumix.Output[Package]{ + OutputState: i.ToPackageOutputWithContext(ctx).OutputState, + } +} + func (i PackageArgs) ToPackagePtrOutput() PackagePtrOutput { return i.ToPackagePtrOutputWithContext(context.Background()) } @@ -12991,6 +14852,12 @@ func (i *packagePtrType) ToPackagePtrOutputWithContext(ctx context.Context) Pack return pulumi.ToOutputWithContext(ctx, i).(PackagePtrOutput) } +func (i *packagePtrType) ToOutput(ctx context.Context) pulumix.Output[*Package] { + return pulumix.Output[*Package]{ + OutputState: i.ToPackagePtrOutputWithContext(ctx).OutputState, + } +} + // Package represents a particular package version. type PackageOutput struct{ *pulumi.OutputState } @@ -13016,6 +14883,12 @@ func (o PackageOutput) ToPackagePtrOutputWithContext(ctx context.Context) Packag }).(PackagePtrOutput) } +func (o PackageOutput) ToOutput(ctx context.Context) pulumix.Output[Package] { + return pulumix.Output[Package]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. func (o PackageOutput) Architecture() PackageArchitecturePtrOutput { return o.ApplyT(func(v Package) *PackageArchitecture { return v.Architecture }).(PackageArchitecturePtrOutput) @@ -13085,6 +14958,12 @@ func (o PackagePtrOutput) ToPackagePtrOutputWithContext(ctx context.Context) Pac return o } +func (o PackagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Package] { + return pulumix.Output[*Package]{ + OutputState: o.OutputState, + } +} + func (o PackagePtrOutput) Elem() PackageOutput { return o.ApplyT(func(v *Package) Package { if v != nil { @@ -13304,6 +15183,12 @@ func (i PackageInfoNoteArgs) ToPackageInfoNoteOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PackageInfoNoteOutput) } +func (i PackageInfoNoteArgs) ToOutput(ctx context.Context) pulumix.Output[PackageInfoNote] { + return pulumix.Output[PackageInfoNote]{ + OutputState: i.ToPackageInfoNoteOutputWithContext(ctx).OutputState, + } +} + func (i PackageInfoNoteArgs) ToPackageInfoNotePtrOutput() PackageInfoNotePtrOutput { return i.ToPackageInfoNotePtrOutputWithContext(context.Background()) } @@ -13345,6 +15230,12 @@ func (i *packageInfoNotePtrType) ToPackageInfoNotePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(PackageInfoNotePtrOutput) } +func (i *packageInfoNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*PackageInfoNote] { + return pulumix.Output[*PackageInfoNote]{ + OutputState: i.ToPackageInfoNotePtrOutputWithContext(ctx).OutputState, + } +} + // PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ type PackageInfoNoteOutput struct{ *pulumi.OutputState } @@ -13370,6 +15261,12 @@ func (o PackageInfoNoteOutput) ToPackageInfoNotePtrOutputWithContext(ctx context }).(PackageInfoNotePtrOutput) } +func (o PackageInfoNoteOutput) ToOutput(ctx context.Context) pulumix.Output[PackageInfoNote] { + return pulumix.Output[PackageInfoNote]{ + OutputState: o.OutputState, + } +} + // Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document func (o PackageInfoNoteOutput) Analyzed() pulumi.BoolPtrOutput { return o.ApplyT(func(v PackageInfoNote) *bool { return v.Analyzed }).(pulumi.BoolPtrOutput) @@ -13469,6 +15366,12 @@ func (o PackageInfoNotePtrOutput) ToPackageInfoNotePtrOutputWithContext(ctx cont return o } +func (o PackageInfoNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageInfoNote] { + return pulumix.Output[*PackageInfoNote]{ + OutputState: o.OutputState, + } +} + func (o PackageInfoNotePtrOutput) Elem() PackageInfoNoteOutput { return o.ApplyT(func(v *PackageInfoNote) PackageInfoNote { if v != nil { @@ -13702,6 +15605,12 @@ func (o PackageInfoNoteResponseOutput) ToPackageInfoNoteResponseOutputWithContex return o } +func (o PackageInfoNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageInfoNoteResponse] { + return pulumix.Output[PackageInfoNoteResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document func (o PackageInfoNoteResponseOutput) Analyzed() pulumi.BoolOutput { return o.ApplyT(func(v PackageInfoNoteResponse) bool { return v.Analyzed }).(pulumi.BoolOutput) @@ -13838,6 +15747,12 @@ func (i PackageInfoOccurrenceArgs) ToPackageInfoOccurrenceOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(PackageInfoOccurrenceOutput) } +func (i PackageInfoOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[PackageInfoOccurrence] { + return pulumix.Output[PackageInfoOccurrence]{ + OutputState: i.ToPackageInfoOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i PackageInfoOccurrenceArgs) ToPackageInfoOccurrencePtrOutput() PackageInfoOccurrencePtrOutput { return i.ToPackageInfoOccurrencePtrOutputWithContext(context.Background()) } @@ -13879,6 +15794,12 @@ func (i *packageInfoOccurrencePtrType) ToPackageInfoOccurrencePtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(PackageInfoOccurrencePtrOutput) } +func (i *packageInfoOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*PackageInfoOccurrence] { + return pulumix.Output[*PackageInfoOccurrence]{ + OutputState: i.ToPackageInfoOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ type PackageInfoOccurrenceOutput struct{ *pulumi.OutputState } @@ -13904,6 +15825,12 @@ func (o PackageInfoOccurrenceOutput) ToPackageInfoOccurrencePtrOutputWithContext }).(PackageInfoOccurrencePtrOutput) } +func (o PackageInfoOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[PackageInfoOccurrence] { + return pulumix.Output[PackageInfoOccurrence]{ + OutputState: o.OutputState, + } +} + // A place for the SPDX file creator to record any general comments about the package being described func (o PackageInfoOccurrenceOutput) Comment() pulumi.StringPtrOutput { return o.ApplyT(func(v PackageInfoOccurrence) *string { return v.Comment }).(pulumi.StringPtrOutput) @@ -13943,6 +15870,12 @@ func (o PackageInfoOccurrencePtrOutput) ToPackageInfoOccurrencePtrOutputWithCont return o } +func (o PackageInfoOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageInfoOccurrence] { + return pulumix.Output[*PackageInfoOccurrence]{ + OutputState: o.OutputState, + } +} + func (o PackageInfoOccurrencePtrOutput) Elem() PackageInfoOccurrenceOutput { return o.ApplyT(func(v *PackageInfoOccurrence) PackageInfoOccurrence { if v != nil { @@ -14040,6 +15973,12 @@ func (o PackageInfoOccurrenceResponseOutput) ToPackageInfoOccurrenceResponseOutp return o } +func (o PackageInfoOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageInfoOccurrenceResponse] { + return pulumix.Output[PackageInfoOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // A place for the SPDX file creator to record any general comments about the package being described func (o PackageInfoOccurrenceResponseOutput) Comment() pulumi.StringOutput { return o.ApplyT(func(v PackageInfoOccurrenceResponse) string { return v.Comment }).(pulumi.StringOutput) @@ -14136,6 +16075,12 @@ func (i PackageIssueArgs) ToPackageIssueOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PackageIssueOutput) } +func (i PackageIssueArgs) ToOutput(ctx context.Context) pulumix.Output[PackageIssue] { + return pulumix.Output[PackageIssue]{ + OutputState: i.ToPackageIssueOutputWithContext(ctx).OutputState, + } +} + // PackageIssueArrayInput is an input type that accepts PackageIssueArray and PackageIssueArrayOutput values. // You can construct a concrete instance of `PackageIssueArrayInput` via: // @@ -14161,6 +16106,12 @@ func (i PackageIssueArray) ToPackageIssueArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PackageIssueArrayOutput) } +func (i PackageIssueArray) ToOutput(ctx context.Context) pulumix.Output[[]PackageIssue] { + return pulumix.Output[[]PackageIssue]{ + OutputState: i.ToPackageIssueArrayOutputWithContext(ctx).OutputState, + } +} + // This message wraps a location affected by a vulnerability and its associated fix (if one is available). type PackageIssueOutput struct{ *pulumi.OutputState } @@ -14176,6 +16127,12 @@ func (o PackageIssueOutput) ToPackageIssueOutputWithContext(ctx context.Context) return o } +func (o PackageIssueOutput) ToOutput(ctx context.Context) pulumix.Output[PackageIssue] { + return pulumix.Output[PackageIssue]{ + OutputState: o.OutputState, + } +} + // The location of the vulnerability. func (o PackageIssueOutput) AffectedLocation() VulnerabilityLocationOutput { return o.ApplyT(func(v PackageIssue) VulnerabilityLocation { return v.AffectedLocation }).(VulnerabilityLocationOutput) @@ -14212,6 +16169,12 @@ func (o PackageIssueArrayOutput) ToPackageIssueArrayOutputWithContext(ctx contex return o } +func (o PackageIssueArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PackageIssue] { + return pulumix.Output[[]PackageIssue]{ + OutputState: o.OutputState, + } +} + func (o PackageIssueArrayOutput) Index(i pulumi.IntInput) PackageIssueOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PackageIssue { return vs[0].([]PackageIssue)[vs[1].(int)] @@ -14249,6 +16212,12 @@ func (o PackageIssueResponseOutput) ToPackageIssueResponseOutputWithContext(ctx return o } +func (o PackageIssueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageIssueResponse] { + return pulumix.Output[PackageIssueResponse]{ + OutputState: o.OutputState, + } +} + // The location of the vulnerability. func (o PackageIssueResponseOutput) AffectedLocation() VulnerabilityLocationResponseOutput { return o.ApplyT(func(v PackageIssueResponse) VulnerabilityLocationResponse { return v.AffectedLocation }).(VulnerabilityLocationResponseOutput) @@ -14290,6 +16259,12 @@ func (o PackageIssueResponseArrayOutput) ToPackageIssueResponseArrayOutputWithCo return o } +func (o PackageIssueResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PackageIssueResponse] { + return pulumix.Output[[]PackageIssueResponse]{ + OutputState: o.OutputState, + } +} + func (o PackageIssueResponseArrayOutput) Index(i pulumi.IntInput) PackageIssueResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PackageIssueResponse { return vs[0].([]PackageIssueResponse)[vs[1].(int)] @@ -14337,6 +16312,12 @@ func (o PackageResponseOutput) ToPackageResponseOutputWithContext(ctx context.Co return o } +func (o PackageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageResponse] { + return pulumix.Output[PackageResponse]{ + OutputState: o.OutputState, + } +} + // The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. func (o PackageResponseOutput) Architecture() pulumi.StringOutput { return o.ApplyT(func(v PackageResponse) string { return v.Architecture }).(pulumi.StringOutput) @@ -14435,6 +16416,12 @@ func (i PgpSignedAttestationArgs) ToPgpSignedAttestationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PgpSignedAttestationOutput) } +func (i PgpSignedAttestationArgs) ToOutput(ctx context.Context) pulumix.Output[PgpSignedAttestation] { + return pulumix.Output[PgpSignedAttestation]{ + OutputState: i.ToPgpSignedAttestationOutputWithContext(ctx).OutputState, + } +} + func (i PgpSignedAttestationArgs) ToPgpSignedAttestationPtrOutput() PgpSignedAttestationPtrOutput { return i.ToPgpSignedAttestationPtrOutputWithContext(context.Background()) } @@ -14476,6 +16463,12 @@ func (i *pgpSignedAttestationPtrType) ToPgpSignedAttestationPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PgpSignedAttestationPtrOutput) } +func (i *pgpSignedAttestationPtrType) ToOutput(ctx context.Context) pulumix.Output[*PgpSignedAttestation] { + return pulumix.Output[*PgpSignedAttestation]{ + OutputState: i.ToPgpSignedAttestationPtrOutputWithContext(ctx).OutputState, + } +} + // An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file. type PgpSignedAttestationOutput struct{ *pulumi.OutputState } @@ -14501,6 +16494,12 @@ func (o PgpSignedAttestationOutput) ToPgpSignedAttestationPtrOutputWithContext(c }).(PgpSignedAttestationPtrOutput) } +func (o PgpSignedAttestationOutput) ToOutput(ctx context.Context) pulumix.Output[PgpSignedAttestation] { + return pulumix.Output[PgpSignedAttestation]{ + OutputState: o.OutputState, + } +} + // Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). func (o PgpSignedAttestationOutput) ContentType() PgpSignedAttestationContentTypePtrOutput { return o.ApplyT(func(v PgpSignedAttestation) *PgpSignedAttestationContentType { return v.ContentType }).(PgpSignedAttestationContentTypePtrOutput) @@ -14530,6 +16529,12 @@ func (o PgpSignedAttestationPtrOutput) ToPgpSignedAttestationPtrOutputWithContex return o } +func (o PgpSignedAttestationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PgpSignedAttestation] { + return pulumix.Output[*PgpSignedAttestation]{ + OutputState: o.OutputState, + } +} + func (o PgpSignedAttestationPtrOutput) Elem() PgpSignedAttestationOutput { return o.ApplyT(func(v *PgpSignedAttestation) PgpSignedAttestation { if v != nil { @@ -14595,6 +16600,12 @@ func (o PgpSignedAttestationResponseOutput) ToPgpSignedAttestationResponseOutput return o } +func (o PgpSignedAttestationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PgpSignedAttestationResponse] { + return pulumix.Output[PgpSignedAttestationResponse]{ + OutputState: o.OutputState, + } +} + // Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). func (o PgpSignedAttestationResponseOutput) ContentType() pulumi.StringOutput { return o.ApplyT(func(v PgpSignedAttestationResponse) string { return v.ContentType }).(pulumi.StringOutput) @@ -14653,6 +16664,12 @@ func (i ProductArgs) ToProductOutputWithContext(ctx context.Context) ProductOutp return pulumi.ToOutputWithContext(ctx, i).(ProductOutput) } +func (i ProductArgs) ToOutput(ctx context.Context) pulumix.Output[Product] { + return pulumix.Output[Product]{ + OutputState: i.ToProductOutputWithContext(ctx).OutputState, + } +} + func (i ProductArgs) ToProductPtrOutput() ProductPtrOutput { return i.ToProductPtrOutputWithContext(context.Background()) } @@ -14694,6 +16711,12 @@ func (i *productPtrType) ToProductPtrOutputWithContext(ctx context.Context) Prod return pulumi.ToOutputWithContext(ctx, i).(ProductPtrOutput) } +func (i *productPtrType) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: i.ToProductPtrOutputWithContext(ctx).OutputState, + } +} + // Product contains information about a product and how to uniquely identify it. type ProductOutput struct{ *pulumi.OutputState } @@ -14719,6 +16742,12 @@ func (o ProductOutput) ToProductPtrOutputWithContext(ctx context.Context) Produc }).(ProductPtrOutput) } +func (o ProductOutput) ToOutput(ctx context.Context) pulumix.Output[Product] { + return pulumix.Output[Product]{ + OutputState: o.OutputState, + } +} + // Contains a URI which is vendor-specific. Example: The artifact repository URL of an image. func (o ProductOutput) GenericUri() pulumi.StringPtrOutput { return o.ApplyT(func(v Product) *string { return v.GenericUri }).(pulumi.StringPtrOutput) @@ -14748,6 +16777,12 @@ func (o ProductPtrOutput) ToProductPtrOutputWithContext(ctx context.Context) Pro return o } +func (o ProductPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: o.OutputState, + } +} + func (o ProductPtrOutput) Elem() ProductOutput { return o.ApplyT(func(v *Product) Product { if v != nil { @@ -14811,6 +16846,12 @@ func (o ProductResponseOutput) ToProductResponseOutputWithContext(ctx context.Co return o } +func (o ProductResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProductResponse] { + return pulumix.Output[ProductResponse]{ + OutputState: o.OutputState, + } +} + // Contains a URI which is vendor-specific. Example: The artifact repository URL of an image. func (o ProductResponseOutput) GenericUri() pulumi.StringOutput { return o.ApplyT(func(v ProductResponse) string { return v.GenericUri }).(pulumi.StringOutput) @@ -14860,6 +16901,12 @@ func (i ProjectRepoIdArgs) ToProjectRepoIdOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ProjectRepoIdOutput) } +func (i ProjectRepoIdArgs) ToOutput(ctx context.Context) pulumix.Output[ProjectRepoId] { + return pulumix.Output[ProjectRepoId]{ + OutputState: i.ToProjectRepoIdOutputWithContext(ctx).OutputState, + } +} + func (i ProjectRepoIdArgs) ToProjectRepoIdPtrOutput() ProjectRepoIdPtrOutput { return i.ToProjectRepoIdPtrOutputWithContext(context.Background()) } @@ -14901,6 +16948,12 @@ func (i *projectRepoIdPtrType) ToProjectRepoIdPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ProjectRepoIdPtrOutput) } +func (i *projectRepoIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProjectRepoId] { + return pulumix.Output[*ProjectRepoId]{ + OutputState: i.ToProjectRepoIdPtrOutputWithContext(ctx).OutputState, + } +} + // Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. type ProjectRepoIdOutput struct{ *pulumi.OutputState } @@ -14926,6 +16979,12 @@ func (o ProjectRepoIdOutput) ToProjectRepoIdPtrOutputWithContext(ctx context.Con }).(ProjectRepoIdPtrOutput) } +func (o ProjectRepoIdOutput) ToOutput(ctx context.Context) pulumix.Output[ProjectRepoId] { + return pulumix.Output[ProjectRepoId]{ + OutputState: o.OutputState, + } +} + // The ID of the project. func (o ProjectRepoIdOutput) Project() pulumi.StringPtrOutput { return o.ApplyT(func(v ProjectRepoId) *string { return v.Project }).(pulumi.StringPtrOutput) @@ -14950,6 +17009,12 @@ func (o ProjectRepoIdPtrOutput) ToProjectRepoIdPtrOutputWithContext(ctx context. return o } +func (o ProjectRepoIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectRepoId] { + return pulumix.Output[*ProjectRepoId]{ + OutputState: o.OutputState, + } +} + func (o ProjectRepoIdPtrOutput) Elem() ProjectRepoIdOutput { return o.ApplyT(func(v *ProjectRepoId) ProjectRepoId { if v != nil { @@ -15003,6 +17068,12 @@ func (o ProjectRepoIdResponseOutput) ToProjectRepoIdResponseOutputWithContext(ct return o } +func (o ProjectRepoIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProjectRepoIdResponse] { + return pulumix.Output[ProjectRepoIdResponse]{ + OutputState: o.OutputState, + } +} + // The ID of the project. func (o ProjectRepoIdResponseOutput) Project() pulumi.StringOutput { return o.ApplyT(func(v ProjectRepoIdResponse) string { return v.Project }).(pulumi.StringOutput) @@ -15056,6 +17127,12 @@ func (i PublisherArgs) ToPublisherOutputWithContext(ctx context.Context) Publish return pulumi.ToOutputWithContext(ctx, i).(PublisherOutput) } +func (i PublisherArgs) ToOutput(ctx context.Context) pulumix.Output[Publisher] { + return pulumix.Output[Publisher]{ + OutputState: i.ToPublisherOutputWithContext(ctx).OutputState, + } +} + func (i PublisherArgs) ToPublisherPtrOutput() PublisherPtrOutput { return i.ToPublisherPtrOutputWithContext(context.Background()) } @@ -15097,6 +17174,12 @@ func (i *publisherPtrType) ToPublisherPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PublisherPtrOutput) } +func (i *publisherPtrType) ToOutput(ctx context.Context) pulumix.Output[*Publisher] { + return pulumix.Output[*Publisher]{ + OutputState: i.ToPublisherPtrOutputWithContext(ctx).OutputState, + } +} + // Publisher contains information about the publisher of this Note. type PublisherOutput struct{ *pulumi.OutputState } @@ -15122,6 +17205,12 @@ func (o PublisherOutput) ToPublisherPtrOutputWithContext(ctx context.Context) Pu }).(PublisherPtrOutput) } +func (o PublisherOutput) ToOutput(ctx context.Context) pulumix.Output[Publisher] { + return pulumix.Output[Publisher]{ + OutputState: o.OutputState, + } +} + // Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations. func (o PublisherOutput) IssuingAuthority() pulumi.StringPtrOutput { return o.ApplyT(func(v Publisher) *string { return v.IssuingAuthority }).(pulumi.StringPtrOutput) @@ -15151,6 +17240,12 @@ func (o PublisherPtrOutput) ToPublisherPtrOutputWithContext(ctx context.Context) return o } +func (o PublisherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Publisher] { + return pulumix.Output[*Publisher]{ + OutputState: o.OutputState, + } +} + func (o PublisherPtrOutput) Elem() PublisherOutput { return o.ApplyT(func(v *Publisher) Publisher { if v != nil { @@ -15216,6 +17311,12 @@ func (o PublisherResponseOutput) ToPublisherResponseOutputWithContext(ctx contex return o } +func (o PublisherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublisherResponse] { + return pulumix.Output[PublisherResponse]{ + OutputState: o.OutputState, + } +} + // Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations. func (o PublisherResponseOutput) IssuingAuthority() pulumi.StringOutput { return o.ApplyT(func(v PublisherResponse) string { return v.IssuingAuthority }).(pulumi.StringOutput) @@ -15270,6 +17371,12 @@ func (i RelatedUrlArgs) ToRelatedUrlOutputWithContext(ctx context.Context) Relat return pulumi.ToOutputWithContext(ctx, i).(RelatedUrlOutput) } +func (i RelatedUrlArgs) ToOutput(ctx context.Context) pulumix.Output[RelatedUrl] { + return pulumix.Output[RelatedUrl]{ + OutputState: i.ToRelatedUrlOutputWithContext(ctx).OutputState, + } +} + func (i RelatedUrlArgs) ToRelatedUrlPtrOutput() RelatedUrlPtrOutput { return i.ToRelatedUrlPtrOutputWithContext(context.Background()) } @@ -15311,6 +17418,12 @@ func (i *relatedUrlPtrType) ToRelatedUrlPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RelatedUrlPtrOutput) } +func (i *relatedUrlPtrType) ToOutput(ctx context.Context) pulumix.Output[*RelatedUrl] { + return pulumix.Output[*RelatedUrl]{ + OutputState: i.ToRelatedUrlPtrOutputWithContext(ctx).OutputState, + } +} + // RelatedUrlArrayInput is an input type that accepts RelatedUrlArray and RelatedUrlArrayOutput values. // You can construct a concrete instance of `RelatedUrlArrayInput` via: // @@ -15336,6 +17449,12 @@ func (i RelatedUrlArray) ToRelatedUrlArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RelatedUrlArrayOutput) } +func (i RelatedUrlArray) ToOutput(ctx context.Context) pulumix.Output[[]RelatedUrl] { + return pulumix.Output[[]RelatedUrl]{ + OutputState: i.ToRelatedUrlArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata for any related URL information. type RelatedUrlOutput struct{ *pulumi.OutputState } @@ -15361,6 +17480,12 @@ func (o RelatedUrlOutput) ToRelatedUrlPtrOutputWithContext(ctx context.Context) }).(RelatedUrlPtrOutput) } +func (o RelatedUrlOutput) ToOutput(ctx context.Context) pulumix.Output[RelatedUrl] { + return pulumix.Output[RelatedUrl]{ + OutputState: o.OutputState, + } +} + // Label to describe usage of the URL. func (o RelatedUrlOutput) Label() pulumi.StringPtrOutput { return o.ApplyT(func(v RelatedUrl) *string { return v.Label }).(pulumi.StringPtrOutput) @@ -15385,6 +17510,12 @@ func (o RelatedUrlPtrOutput) ToRelatedUrlPtrOutputWithContext(ctx context.Contex return o } +func (o RelatedUrlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RelatedUrl] { + return pulumix.Output[*RelatedUrl]{ + OutputState: o.OutputState, + } +} + func (o RelatedUrlPtrOutput) Elem() RelatedUrlOutput { return o.ApplyT(func(v *RelatedUrl) RelatedUrl { if v != nil { @@ -15429,6 +17560,12 @@ func (o RelatedUrlArrayOutput) ToRelatedUrlArrayOutputWithContext(ctx context.Co return o } +func (o RelatedUrlArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RelatedUrl] { + return pulumix.Output[[]RelatedUrl]{ + OutputState: o.OutputState, + } +} + func (o RelatedUrlArrayOutput) Index(i pulumi.IntInput) RelatedUrlOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RelatedUrl { return vs[0].([]RelatedUrl)[vs[1].(int)] @@ -15458,6 +17595,12 @@ func (o RelatedUrlResponseOutput) ToRelatedUrlResponseOutputWithContext(ctx cont return o } +func (o RelatedUrlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RelatedUrlResponse] { + return pulumix.Output[RelatedUrlResponse]{ + OutputState: o.OutputState, + } +} + // Label to describe usage of the URL. func (o RelatedUrlResponseOutput) Label() pulumi.StringOutput { return o.ApplyT(func(v RelatedUrlResponse) string { return v.Label }).(pulumi.StringOutput) @@ -15482,6 +17625,12 @@ func (o RelatedUrlResponseArrayOutput) ToRelatedUrlResponseArrayOutputWithContex return o } +func (o RelatedUrlResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RelatedUrlResponse] { + return pulumix.Output[[]RelatedUrlResponse]{ + OutputState: o.OutputState, + } +} + func (o RelatedUrlResponseArrayOutput) Index(i pulumi.IntInput) RelatedUrlResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RelatedUrlResponse { return vs[0].([]RelatedUrlResponse)[vs[1].(int)] @@ -15523,6 +17672,12 @@ func (i RelationshipNoteArgs) ToRelationshipNoteOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RelationshipNoteOutput) } +func (i RelationshipNoteArgs) ToOutput(ctx context.Context) pulumix.Output[RelationshipNote] { + return pulumix.Output[RelationshipNote]{ + OutputState: i.ToRelationshipNoteOutputWithContext(ctx).OutputState, + } +} + func (i RelationshipNoteArgs) ToRelationshipNotePtrOutput() RelationshipNotePtrOutput { return i.ToRelationshipNotePtrOutputWithContext(context.Background()) } @@ -15564,6 +17719,12 @@ func (i *relationshipNotePtrType) ToRelationshipNotePtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RelationshipNotePtrOutput) } +func (i *relationshipNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*RelationshipNote] { + return pulumix.Output[*RelationshipNote]{ + OutputState: i.ToRelationshipNotePtrOutputWithContext(ctx).OutputState, + } +} + // RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ type RelationshipNoteOutput struct{ *pulumi.OutputState } @@ -15589,6 +17750,12 @@ func (o RelationshipNoteOutput) ToRelationshipNotePtrOutputWithContext(ctx conte }).(RelationshipNotePtrOutput) } +func (o RelationshipNoteOutput) ToOutput(ctx context.Context) pulumix.Output[RelationshipNote] { + return pulumix.Output[RelationshipNote]{ + OutputState: o.OutputState, + } +} + // The type of relationship between the source and target SPDX elements func (o RelationshipNoteOutput) Type() RelationshipNoteTypePtrOutput { return o.ApplyT(func(v RelationshipNote) *RelationshipNoteType { return v.Type }).(RelationshipNoteTypePtrOutput) @@ -15608,6 +17775,12 @@ func (o RelationshipNotePtrOutput) ToRelationshipNotePtrOutputWithContext(ctx co return o } +func (o RelationshipNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RelationshipNote] { + return pulumix.Output[*RelationshipNote]{ + OutputState: o.OutputState, + } +} + func (o RelationshipNotePtrOutput) Elem() RelationshipNoteOutput { return o.ApplyT(func(v *RelationshipNote) RelationshipNote { if v != nil { @@ -15649,6 +17822,12 @@ func (o RelationshipNoteResponseOutput) ToRelationshipNoteResponseOutputWithCont return o } +func (o RelationshipNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RelationshipNoteResponse] { + return pulumix.Output[RelationshipNoteResponse]{ + OutputState: o.OutputState, + } +} + // The type of relationship between the source and target SPDX elements func (o RelationshipNoteResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v RelationshipNoteResponse) string { return v.Type }).(pulumi.StringOutput) @@ -15697,6 +17876,12 @@ func (i RelationshipOccurrenceArgs) ToRelationshipOccurrenceOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(RelationshipOccurrenceOutput) } +func (i RelationshipOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[RelationshipOccurrence] { + return pulumix.Output[RelationshipOccurrence]{ + OutputState: i.ToRelationshipOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i RelationshipOccurrenceArgs) ToRelationshipOccurrencePtrOutput() RelationshipOccurrencePtrOutput { return i.ToRelationshipOccurrencePtrOutputWithContext(context.Background()) } @@ -15738,6 +17923,12 @@ func (i *relationshipOccurrencePtrType) ToRelationshipOccurrencePtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RelationshipOccurrencePtrOutput) } +func (i *relationshipOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*RelationshipOccurrence] { + return pulumix.Output[*RelationshipOccurrence]{ + OutputState: i.ToRelationshipOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ type RelationshipOccurrenceOutput struct{ *pulumi.OutputState } @@ -15763,6 +17954,12 @@ func (o RelationshipOccurrenceOutput) ToRelationshipOccurrencePtrOutputWithConte }).(RelationshipOccurrencePtrOutput) } +func (o RelationshipOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[RelationshipOccurrence] { + return pulumix.Output[RelationshipOccurrence]{ + OutputState: o.OutputState, + } +} + // A place for the SPDX file creator to record any general comments about the relationship func (o RelationshipOccurrenceOutput) Comment() pulumi.StringPtrOutput { return o.ApplyT(func(v RelationshipOccurrence) *string { return v.Comment }).(pulumi.StringPtrOutput) @@ -15792,6 +17989,12 @@ func (o RelationshipOccurrencePtrOutput) ToRelationshipOccurrencePtrOutputWithCo return o } +func (o RelationshipOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RelationshipOccurrence] { + return pulumix.Output[*RelationshipOccurrence]{ + OutputState: o.OutputState, + } +} + func (o RelationshipOccurrencePtrOutput) Elem() RelationshipOccurrenceOutput { return o.ApplyT(func(v *RelationshipOccurrence) RelationshipOccurrence { if v != nil { @@ -15859,6 +18062,12 @@ func (o RelationshipOccurrenceResponseOutput) ToRelationshipOccurrenceResponseOu return o } +func (o RelationshipOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RelationshipOccurrenceResponse] { + return pulumix.Output[RelationshipOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // A place for the SPDX file creator to record any general comments about the relationship func (o RelationshipOccurrenceResponseOutput) Comment() pulumi.StringOutput { return o.ApplyT(func(v RelationshipOccurrenceResponse) string { return v.Comment }).(pulumi.StringOutput) @@ -15922,6 +18131,12 @@ func (i RemediationArgs) ToRemediationOutputWithContext(ctx context.Context) Rem return pulumi.ToOutputWithContext(ctx, i).(RemediationOutput) } +func (i RemediationArgs) ToOutput(ctx context.Context) pulumix.Output[Remediation] { + return pulumix.Output[Remediation]{ + OutputState: i.ToRemediationOutputWithContext(ctx).OutputState, + } +} + // RemediationArrayInput is an input type that accepts RemediationArray and RemediationArrayOutput values. // You can construct a concrete instance of `RemediationArrayInput` via: // @@ -15947,6 +18162,12 @@ func (i RemediationArray) ToRemediationArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(RemediationArrayOutput) } +func (i RemediationArray) ToOutput(ctx context.Context) pulumix.Output[[]Remediation] { + return pulumix.Output[[]Remediation]{ + OutputState: i.ToRemediationArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies details on how to handle (and presumably, fix) a vulnerability. type RemediationOutput struct{ *pulumi.OutputState } @@ -15962,6 +18183,12 @@ func (o RemediationOutput) ToRemediationOutputWithContext(ctx context.Context) R return o } +func (o RemediationOutput) ToOutput(ctx context.Context) pulumix.Output[Remediation] { + return pulumix.Output[Remediation]{ + OutputState: o.OutputState, + } +} + // Contains a comprehensive human-readable discussion of the remediation. func (o RemediationOutput) Details() pulumi.StringPtrOutput { return o.ApplyT(func(v Remediation) *string { return v.Details }).(pulumi.StringPtrOutput) @@ -15991,6 +18218,12 @@ func (o RemediationArrayOutput) ToRemediationArrayOutputWithContext(ctx context. return o } +func (o RemediationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Remediation] { + return pulumix.Output[[]Remediation]{ + OutputState: o.OutputState, + } +} + func (o RemediationArrayOutput) Index(i pulumi.IntInput) RemediationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Remediation { return vs[0].([]Remediation)[vs[1].(int)] @@ -16022,6 +18255,12 @@ func (o RemediationResponseOutput) ToRemediationResponseOutputWithContext(ctx co return o } +func (o RemediationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RemediationResponse] { + return pulumix.Output[RemediationResponse]{ + OutputState: o.OutputState, + } +} + // Contains a comprehensive human-readable discussion of the remediation. func (o RemediationResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v RemediationResponse) string { return v.Details }).(pulumi.StringOutput) @@ -16051,6 +18290,12 @@ func (o RemediationResponseArrayOutput) ToRemediationResponseArrayOutputWithCont return o } +func (o RemediationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RemediationResponse] { + return pulumix.Output[[]RemediationResponse]{ + OutputState: o.OutputState, + } +} + func (o RemediationResponseArrayOutput) Index(i pulumi.IntInput) RemediationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RemediationResponse { return vs[0].([]RemediationResponse)[vs[1].(int)] @@ -16096,6 +18341,12 @@ func (i RepoIdArgs) ToRepoIdOutputWithContext(ctx context.Context) RepoIdOutput return pulumi.ToOutputWithContext(ctx, i).(RepoIdOutput) } +func (i RepoIdArgs) ToOutput(ctx context.Context) pulumix.Output[RepoId] { + return pulumix.Output[RepoId]{ + OutputState: i.ToRepoIdOutputWithContext(ctx).OutputState, + } +} + func (i RepoIdArgs) ToRepoIdPtrOutput() RepoIdPtrOutput { return i.ToRepoIdPtrOutputWithContext(context.Background()) } @@ -16137,6 +18388,12 @@ func (i *repoIdPtrType) ToRepoIdPtrOutputWithContext(ctx context.Context) RepoId return pulumi.ToOutputWithContext(ctx, i).(RepoIdPtrOutput) } +func (i *repoIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*RepoId] { + return pulumix.Output[*RepoId]{ + OutputState: i.ToRepoIdPtrOutputWithContext(ctx).OutputState, + } +} + // A unique identifier for a Cloud Repo. type RepoIdOutput struct{ *pulumi.OutputState } @@ -16162,6 +18419,12 @@ func (o RepoIdOutput) ToRepoIdPtrOutputWithContext(ctx context.Context) RepoIdPt }).(RepoIdPtrOutput) } +func (o RepoIdOutput) ToOutput(ctx context.Context) pulumix.Output[RepoId] { + return pulumix.Output[RepoId]{ + OutputState: o.OutputState, + } +} + // A combination of a project ID and a repo name. func (o RepoIdOutput) ProjectRepoId() ProjectRepoIdPtrOutput { return o.ApplyT(func(v RepoId) *ProjectRepoId { return v.ProjectRepoId }).(ProjectRepoIdPtrOutput) @@ -16186,6 +18449,12 @@ func (o RepoIdPtrOutput) ToRepoIdPtrOutputWithContext(ctx context.Context) RepoI return o } +func (o RepoIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RepoId] { + return pulumix.Output[*RepoId]{ + OutputState: o.OutputState, + } +} + func (o RepoIdPtrOutput) Elem() RepoIdOutput { return o.ApplyT(func(v *RepoId) RepoId { if v != nil { @@ -16239,6 +18508,12 @@ func (o RepoIdResponseOutput) ToRepoIdResponseOutputWithContext(ctx context.Cont return o } +func (o RepoIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RepoIdResponse] { + return pulumix.Output[RepoIdResponse]{ + OutputState: o.OutputState, + } +} + // A combination of a project ID and a repo name. func (o RepoIdResponseOutput) ProjectRepoId() ProjectRepoIdResponseOutput { return o.ApplyT(func(v RepoIdResponse) ProjectRepoIdResponse { return v.ProjectRepoId }).(ProjectRepoIdResponseOutput) @@ -16300,6 +18575,12 @@ func (i ResourceArgs) ToResourceOutputWithContext(ctx context.Context) ResourceO return pulumi.ToOutputWithContext(ctx, i).(ResourceOutput) } +func (i ResourceArgs) ToOutput(ctx context.Context) pulumix.Output[Resource] { + return pulumix.Output[Resource]{ + OutputState: i.ToResourceOutputWithContext(ctx).OutputState, + } +} + // An entity that can have metadata. For example, a Docker image. type ResourceOutput struct{ *pulumi.OutputState } @@ -16315,6 +18596,12 @@ func (o ResourceOutput) ToResourceOutputWithContext(ctx context.Context) Resourc return o } +func (o ResourceOutput) ToOutput(ctx context.Context) pulumix.Output[Resource] { + return pulumix.Output[Resource]{ + OutputState: o.OutputState, + } +} + // Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest. // // Deprecated: Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest. @@ -16363,6 +18650,12 @@ func (o ResourceResponseOutput) ToResourceResponseOutputWithContext(ctx context. return o } +func (o ResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceResponse] { + return pulumix.Output[ResourceResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest. // // Deprecated: Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest. @@ -16421,6 +18714,12 @@ func (i SBOMReferenceNoteArgs) ToSBOMReferenceNoteOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceNoteOutput) } +func (i SBOMReferenceNoteArgs) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceNote] { + return pulumix.Output[SBOMReferenceNote]{ + OutputState: i.ToSBOMReferenceNoteOutputWithContext(ctx).OutputState, + } +} + func (i SBOMReferenceNoteArgs) ToSBOMReferenceNotePtrOutput() SBOMReferenceNotePtrOutput { return i.ToSBOMReferenceNotePtrOutputWithContext(context.Background()) } @@ -16462,6 +18761,12 @@ func (i *sbomreferenceNotePtrType) ToSBOMReferenceNotePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceNotePtrOutput) } +func (i *sbomreferenceNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceNote] { + return pulumix.Output[*SBOMReferenceNote]{ + OutputState: i.ToSBOMReferenceNotePtrOutputWithContext(ctx).OutputState, + } +} + // The note representing an SBOM reference. type SBOMReferenceNoteOutput struct{ *pulumi.OutputState } @@ -16487,6 +18792,12 @@ func (o SBOMReferenceNoteOutput) ToSBOMReferenceNotePtrOutputWithContext(ctx con }).(SBOMReferenceNotePtrOutput) } +func (o SBOMReferenceNoteOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceNote] { + return pulumix.Output[SBOMReferenceNote]{ + OutputState: o.OutputState, + } +} + // The format that SBOM takes. E.g. may be spdx, cyclonedx, etc... func (o SBOMReferenceNoteOutput) Format() pulumi.StringPtrOutput { return o.ApplyT(func(v SBOMReferenceNote) *string { return v.Format }).(pulumi.StringPtrOutput) @@ -16511,6 +18822,12 @@ func (o SBOMReferenceNotePtrOutput) ToSBOMReferenceNotePtrOutputWithContext(ctx return o } +func (o SBOMReferenceNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceNote] { + return pulumix.Output[*SBOMReferenceNote]{ + OutputState: o.OutputState, + } +} + func (o SBOMReferenceNotePtrOutput) Elem() SBOMReferenceNoteOutput { return o.ApplyT(func(v *SBOMReferenceNote) SBOMReferenceNote { if v != nil { @@ -16564,6 +18881,12 @@ func (o SBOMReferenceNoteResponseOutput) ToSBOMReferenceNoteResponseOutputWithCo return o } +func (o SBOMReferenceNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceNoteResponse] { + return pulumix.Output[SBOMReferenceNoteResponse]{ + OutputState: o.OutputState, + } +} + // The format that SBOM takes. E.g. may be spdx, cyclonedx, etc... func (o SBOMReferenceNoteResponseOutput) Format() pulumi.StringOutput { return o.ApplyT(func(v SBOMReferenceNoteResponse) string { return v.Format }).(pulumi.StringOutput) @@ -16617,6 +18940,12 @@ func (i SBOMReferenceOccurrenceArgs) ToSBOMReferenceOccurrenceOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceOccurrenceOutput) } +func (i SBOMReferenceOccurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceOccurrence] { + return pulumix.Output[SBOMReferenceOccurrence]{ + OutputState: i.ToSBOMReferenceOccurrenceOutputWithContext(ctx).OutputState, + } +} + func (i SBOMReferenceOccurrenceArgs) ToSBOMReferenceOccurrencePtrOutput() SBOMReferenceOccurrencePtrOutput { return i.ToSBOMReferenceOccurrencePtrOutputWithContext(context.Background()) } @@ -16658,6 +18987,12 @@ func (i *sbomreferenceOccurrencePtrType) ToSBOMReferenceOccurrencePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(SBOMReferenceOccurrencePtrOutput) } +func (i *sbomreferenceOccurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceOccurrence] { + return pulumix.Output[*SBOMReferenceOccurrence]{ + OutputState: i.ToSBOMReferenceOccurrencePtrOutputWithContext(ctx).OutputState, + } +} + // The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details. type SBOMReferenceOccurrenceOutput struct{ *pulumi.OutputState } @@ -16683,6 +19018,12 @@ func (o SBOMReferenceOccurrenceOutput) ToSBOMReferenceOccurrencePtrOutputWithCon }).(SBOMReferenceOccurrencePtrOutput) } +func (o SBOMReferenceOccurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceOccurrence] { + return pulumix.Output[SBOMReferenceOccurrence]{ + OutputState: o.OutputState, + } +} + // The actual payload that contains the SBOM reference data. func (o SBOMReferenceOccurrenceOutput) Payload() SbomReferenceIntotoPayloadPtrOutput { return o.ApplyT(func(v SBOMReferenceOccurrence) *SbomReferenceIntotoPayload { return v.Payload }).(SbomReferenceIntotoPayloadPtrOutput) @@ -16712,6 +19053,12 @@ func (o SBOMReferenceOccurrencePtrOutput) ToSBOMReferenceOccurrencePtrOutputWith return o } +func (o SBOMReferenceOccurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SBOMReferenceOccurrence] { + return pulumix.Output[*SBOMReferenceOccurrence]{ + OutputState: o.OutputState, + } +} + func (o SBOMReferenceOccurrencePtrOutput) Elem() SBOMReferenceOccurrenceOutput { return o.ApplyT(func(v *SBOMReferenceOccurrence) SBOMReferenceOccurrence { if v != nil { @@ -16777,6 +19124,12 @@ func (o SBOMReferenceOccurrenceResponseOutput) ToSBOMReferenceOccurrenceResponse return o } +func (o SBOMReferenceOccurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SBOMReferenceOccurrenceResponse] { + return pulumix.Output[SBOMReferenceOccurrenceResponse]{ + OutputState: o.OutputState, + } +} + // The actual payload that contains the SBOM reference data. func (o SBOMReferenceOccurrenceResponseOutput) Payload() SbomReferenceIntotoPayloadResponseOutput { return o.ApplyT(func(v SBOMReferenceOccurrenceResponse) SbomReferenceIntotoPayloadResponse { return v.Payload }).(SbomReferenceIntotoPayloadResponseOutput) @@ -16839,6 +19192,12 @@ func (i SbomReferenceIntotoPayloadArgs) ToSbomReferenceIntotoPayloadOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPayloadOutput) } +func (i SbomReferenceIntotoPayloadArgs) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPayload] { + return pulumix.Output[SbomReferenceIntotoPayload]{ + OutputState: i.ToSbomReferenceIntotoPayloadOutputWithContext(ctx).OutputState, + } +} + func (i SbomReferenceIntotoPayloadArgs) ToSbomReferenceIntotoPayloadPtrOutput() SbomReferenceIntotoPayloadPtrOutput { return i.ToSbomReferenceIntotoPayloadPtrOutputWithContext(context.Background()) } @@ -16880,6 +19239,12 @@ func (i *sbomReferenceIntotoPayloadPtrType) ToSbomReferenceIntotoPayloadPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPayloadPtrOutput) } +func (i *sbomReferenceIntotoPayloadPtrType) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPayload] { + return pulumix.Output[*SbomReferenceIntotoPayload]{ + OutputState: i.ToSbomReferenceIntotoPayloadPtrOutputWithContext(ctx).OutputState, + } +} + // The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details. type SbomReferenceIntotoPayloadOutput struct{ *pulumi.OutputState } @@ -16905,6 +19270,12 @@ func (o SbomReferenceIntotoPayloadOutput) ToSbomReferenceIntotoPayloadPtrOutputW }).(SbomReferenceIntotoPayloadPtrOutput) } +func (o SbomReferenceIntotoPayloadOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPayload] { + return pulumix.Output[SbomReferenceIntotoPayload]{ + OutputState: o.OutputState, + } +} + // Additional parameters of the Predicate. Includes the actual data about the SBOM. func (o SbomReferenceIntotoPayloadOutput) Predicate() SbomReferenceIntotoPredicatePtrOutput { return o.ApplyT(func(v SbomReferenceIntotoPayload) *SbomReferenceIntotoPredicate { return v.Predicate }).(SbomReferenceIntotoPredicatePtrOutput) @@ -16939,6 +19310,12 @@ func (o SbomReferenceIntotoPayloadPtrOutput) ToSbomReferenceIntotoPayloadPtrOutp return o } +func (o SbomReferenceIntotoPayloadPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPayload] { + return pulumix.Output[*SbomReferenceIntotoPayload]{ + OutputState: o.OutputState, + } +} + func (o SbomReferenceIntotoPayloadPtrOutput) Elem() SbomReferenceIntotoPayloadOutput { return o.ApplyT(func(v *SbomReferenceIntotoPayload) SbomReferenceIntotoPayload { if v != nil { @@ -17016,6 +19393,12 @@ func (o SbomReferenceIntotoPayloadResponseOutput) ToSbomReferenceIntotoPayloadRe return o } +func (o SbomReferenceIntotoPayloadResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPayloadResponse] { + return pulumix.Output[SbomReferenceIntotoPayloadResponse]{ + OutputState: o.OutputState, + } +} + // Additional parameters of the Predicate. Includes the actual data about the SBOM. func (o SbomReferenceIntotoPayloadResponseOutput) Predicate() SbomReferenceIntotoPredicateResponseOutput { return o.ApplyT(func(v SbomReferenceIntotoPayloadResponse) SbomReferenceIntotoPredicateResponse { return v.Predicate }).(SbomReferenceIntotoPredicateResponseOutput) @@ -17083,6 +19466,12 @@ func (i SbomReferenceIntotoPredicateArgs) ToSbomReferenceIntotoPredicateOutputWi return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPredicateOutput) } +func (i SbomReferenceIntotoPredicateArgs) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPredicate] { + return pulumix.Output[SbomReferenceIntotoPredicate]{ + OutputState: i.ToSbomReferenceIntotoPredicateOutputWithContext(ctx).OutputState, + } +} + func (i SbomReferenceIntotoPredicateArgs) ToSbomReferenceIntotoPredicatePtrOutput() SbomReferenceIntotoPredicatePtrOutput { return i.ToSbomReferenceIntotoPredicatePtrOutputWithContext(context.Background()) } @@ -17124,6 +19513,12 @@ func (i *sbomReferenceIntotoPredicatePtrType) ToSbomReferenceIntotoPredicatePtrO return pulumi.ToOutputWithContext(ctx, i).(SbomReferenceIntotoPredicatePtrOutput) } +func (i *sbomReferenceIntotoPredicatePtrType) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPredicate] { + return pulumix.Output[*SbomReferenceIntotoPredicate]{ + OutputState: i.ToSbomReferenceIntotoPredicatePtrOutputWithContext(ctx).OutputState, + } +} + // A predicate which describes the SBOM being referenced. type SbomReferenceIntotoPredicateOutput struct{ *pulumi.OutputState } @@ -17149,6 +19544,12 @@ func (o SbomReferenceIntotoPredicateOutput) ToSbomReferenceIntotoPredicatePtrOut }).(SbomReferenceIntotoPredicatePtrOutput) } +func (o SbomReferenceIntotoPredicateOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPredicate] { + return pulumix.Output[SbomReferenceIntotoPredicate]{ + OutputState: o.OutputState, + } +} + // A map of algorithm to digest of the contents of the SBOM. func (o SbomReferenceIntotoPredicateOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v SbomReferenceIntotoPredicate) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -17183,6 +19584,12 @@ func (o SbomReferenceIntotoPredicatePtrOutput) ToSbomReferenceIntotoPredicatePtr return o } +func (o SbomReferenceIntotoPredicatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SbomReferenceIntotoPredicate] { + return pulumix.Output[*SbomReferenceIntotoPredicate]{ + OutputState: o.OutputState, + } +} + func (o SbomReferenceIntotoPredicatePtrOutput) Elem() SbomReferenceIntotoPredicateOutput { return o.ApplyT(func(v *SbomReferenceIntotoPredicate) SbomReferenceIntotoPredicate { if v != nil { @@ -17260,6 +19667,12 @@ func (o SbomReferenceIntotoPredicateResponseOutput) ToSbomReferenceIntotoPredica return o } +func (o SbomReferenceIntotoPredicateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SbomReferenceIntotoPredicateResponse] { + return pulumix.Output[SbomReferenceIntotoPredicateResponse]{ + OutputState: o.OutputState, + } +} + // A map of algorithm to digest of the contents of the SBOM. func (o SbomReferenceIntotoPredicateResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v SbomReferenceIntotoPredicateResponse) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -17319,6 +19732,12 @@ func (i SignatureArgs) ToSignatureOutputWithContext(ctx context.Context) Signatu return pulumi.ToOutputWithContext(ctx, i).(SignatureOutput) } +func (i SignatureArgs) ToOutput(ctx context.Context) pulumix.Output[Signature] { + return pulumix.Output[Signature]{ + OutputState: i.ToSignatureOutputWithContext(ctx).OutputState, + } +} + // SignatureArrayInput is an input type that accepts SignatureArray and SignatureArrayOutput values. // You can construct a concrete instance of `SignatureArrayInput` via: // @@ -17344,6 +19763,12 @@ func (i SignatureArray) ToSignatureArrayOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SignatureArrayOutput) } +func (i SignatureArray) ToOutput(ctx context.Context) pulumix.Output[[]Signature] { + return pulumix.Output[[]Signature]{ + OutputState: i.ToSignatureArrayOutputWithContext(ctx).OutputState, + } +} + // Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be "attached" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any "attached" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature). type SignatureOutput struct{ *pulumi.OutputState } @@ -17359,6 +19784,12 @@ func (o SignatureOutput) ToSignatureOutputWithContext(ctx context.Context) Signa return o } +func (o SignatureOutput) ToOutput(ctx context.Context) pulumix.Output[Signature] { + return pulumix.Output[Signature]{ + OutputState: o.OutputState, + } +} + // The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" * "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5" func (o SignatureOutput) PublicKeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v Signature) *string { return v.PublicKeyId }).(pulumi.StringPtrOutput) @@ -17383,6 +19814,12 @@ func (o SignatureArrayOutput) ToSignatureArrayOutputWithContext(ctx context.Cont return o } +func (o SignatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Signature] { + return pulumix.Output[[]Signature]{ + OutputState: o.OutputState, + } +} + func (o SignatureArrayOutput) Index(i pulumi.IntInput) SignatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Signature { return vs[0].([]Signature)[vs[1].(int)] @@ -17412,6 +19849,12 @@ func (o SignatureResponseOutput) ToSignatureResponseOutputWithContext(ctx contex return o } +func (o SignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SignatureResponse] { + return pulumix.Output[SignatureResponse]{ + OutputState: o.OutputState, + } +} + // The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" * "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5" func (o SignatureResponseOutput) PublicKeyId() pulumi.StringOutput { return o.ApplyT(func(v SignatureResponse) string { return v.PublicKeyId }).(pulumi.StringOutput) @@ -17436,6 +19879,12 @@ func (o SignatureResponseArrayOutput) ToSignatureResponseArrayOutputWithContext( return o } +func (o SignatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SignatureResponse] { + return pulumix.Output[[]SignatureResponse]{ + OutputState: o.OutputState, + } +} + func (o SignatureResponseArrayOutput) Index(i pulumi.IntInput) SignatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SignatureResponse { return vs[0].([]SignatureResponse)[vs[1].(int)] @@ -17489,6 +19938,12 @@ func (i SigningKeyArgs) ToSigningKeyOutputWithContext(ctx context.Context) Signi return pulumi.ToOutputWithContext(ctx, i).(SigningKeyOutput) } +func (i SigningKeyArgs) ToOutput(ctx context.Context) pulumix.Output[SigningKey] { + return pulumix.Output[SigningKey]{ + OutputState: i.ToSigningKeyOutputWithContext(ctx).OutputState, + } +} + // SigningKeyArrayInput is an input type that accepts SigningKeyArray and SigningKeyArrayOutput values. // You can construct a concrete instance of `SigningKeyArrayInput` via: // @@ -17514,6 +19969,12 @@ func (i SigningKeyArray) ToSigningKeyArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SigningKeyArrayOutput) } +func (i SigningKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]SigningKey] { + return pulumix.Output[[]SigningKey]{ + OutputState: i.ToSigningKeyArrayOutputWithContext(ctx).OutputState, + } +} + // This defines the format used to record keys used in the software supply chain. An in-toto link is attested using one or more keys defined in the in-toto layout. An example of this is: { "key_id": "776a00e29f3559e0141b3b096f696abc6cfb0c657ab40f441132b345b0...", "key_type": "rsa", "public_key_value": "-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0B...", "key_scheme": "rsassa-pss-sha256" } The format for in-toto's key definition can be found in section 4.2 of the in-toto specification. type SigningKeyOutput struct{ *pulumi.OutputState } @@ -17529,6 +19990,12 @@ func (o SigningKeyOutput) ToSigningKeyOutputWithContext(ctx context.Context) Sig return o } +func (o SigningKeyOutput) ToOutput(ctx context.Context) pulumix.Output[SigningKey] { + return pulumix.Output[SigningKey]{ + OutputState: o.OutputState, + } +} + // key_id is an identifier for the signing key. func (o SigningKeyOutput) KeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v SigningKey) *string { return v.KeyId }).(pulumi.StringPtrOutput) @@ -17563,6 +20030,12 @@ func (o SigningKeyArrayOutput) ToSigningKeyArrayOutputWithContext(ctx context.Co return o } +func (o SigningKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SigningKey] { + return pulumix.Output[[]SigningKey]{ + OutputState: o.OutputState, + } +} + func (o SigningKeyArrayOutput) Index(i pulumi.IntInput) SigningKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SigningKey { return vs[0].([]SigningKey)[vs[1].(int)] @@ -17596,6 +20069,12 @@ func (o SigningKeyResponseOutput) ToSigningKeyResponseOutputWithContext(ctx cont return o } +func (o SigningKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SigningKeyResponse] { + return pulumix.Output[SigningKeyResponse]{ + OutputState: o.OutputState, + } +} + // key_id is an identifier for the signing key. func (o SigningKeyResponseOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v SigningKeyResponse) string { return v.KeyId }).(pulumi.StringOutput) @@ -17630,6 +20109,12 @@ func (o SigningKeyResponseArrayOutput) ToSigningKeyResponseArrayOutputWithContex return o } +func (o SigningKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SigningKeyResponse] { + return pulumix.Output[[]SigningKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o SigningKeyResponseArrayOutput) Index(i pulumi.IntInput) SigningKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SigningKeyResponse { return vs[0].([]SigningKeyResponse)[vs[1].(int)] @@ -17683,6 +20168,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + func (i SourceArgs) ToSourcePtrOutput() SourcePtrOutput { return i.ToSourcePtrOutputWithContext(context.Background()) } @@ -17724,6 +20215,12 @@ func (i *sourcePtrType) ToSourcePtrOutputWithContext(ctx context.Context) Source return pulumi.ToOutputWithContext(ctx, i).(SourcePtrOutput) } +func (i *sourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Source describes the location of the source used for the build. type SourceOutput struct{ *pulumi.OutputState } @@ -17749,6 +20246,12 @@ func (o SourceOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePt }).(SourcePtrOutput) } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field. func (o SourceOutput) AdditionalContexts() SourceContextArrayOutput { return o.ApplyT(func(v Source) []SourceContext { return v.AdditionalContexts }).(SourceContextArrayOutput) @@ -17783,6 +20286,12 @@ func (o SourcePtrOutput) ToSourcePtrOutputWithContext(ctx context.Context) Sourc return o } +func (o SourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + func (o SourcePtrOutput) Elem() SourceOutput { return o.ApplyT(func(v *Source) Source { if v != nil { @@ -17880,6 +20389,12 @@ func (i SourceContextArgs) ToSourceContextOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SourceContextOutput) } +func (i SourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[SourceContext] { + return pulumix.Output[SourceContext]{ + OutputState: i.ToSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i SourceContextArgs) ToSourceContextPtrOutput() SourceContextPtrOutput { return i.ToSourceContextPtrOutputWithContext(context.Background()) } @@ -17921,6 +20436,12 @@ func (i *sourceContextPtrType) ToSourceContextPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SourceContextPtrOutput) } +func (i *sourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*SourceContext] { + return pulumix.Output[*SourceContext]{ + OutputState: i.ToSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // SourceContextArrayInput is an input type that accepts SourceContextArray and SourceContextArrayOutput values. // You can construct a concrete instance of `SourceContextArrayInput` via: // @@ -17946,6 +20467,12 @@ func (i SourceContextArray) ToSourceContextArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SourceContextArrayOutput) } +func (i SourceContextArray) ToOutput(ctx context.Context) pulumix.Output[[]SourceContext] { + return pulumix.Output[[]SourceContext]{ + OutputState: i.ToSourceContextArrayOutputWithContext(ctx).OutputState, + } +} + // A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory. type SourceContextOutput struct{ *pulumi.OutputState } @@ -17971,6 +20498,12 @@ func (o SourceContextOutput) ToSourceContextPtrOutputWithContext(ctx context.Con }).(SourceContextPtrOutput) } +func (o SourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[SourceContext] { + return pulumix.Output[SourceContext]{ + OutputState: o.OutputState, + } +} + // A SourceContext referring to a revision in a Google Cloud Source Repo. func (o SourceContextOutput) CloudRepo() CloudRepoSourceContextPtrOutput { return o.ApplyT(func(v SourceContext) *CloudRepoSourceContext { return v.CloudRepo }).(CloudRepoSourceContextPtrOutput) @@ -18005,6 +20538,12 @@ func (o SourceContextPtrOutput) ToSourceContextPtrOutputWithContext(ctx context. return o } +func (o SourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceContext] { + return pulumix.Output[*SourceContext]{ + OutputState: o.OutputState, + } +} + func (o SourceContextPtrOutput) Elem() SourceContextOutput { return o.ApplyT(func(v *SourceContext) SourceContext { if v != nil { @@ -18069,6 +20608,12 @@ func (o SourceContextArrayOutput) ToSourceContextArrayOutputWithContext(ctx cont return o } +func (o SourceContextArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceContext] { + return pulumix.Output[[]SourceContext]{ + OutputState: o.OutputState, + } +} + func (o SourceContextArrayOutput) Index(i pulumi.IntInput) SourceContextOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceContext { return vs[0].([]SourceContext)[vs[1].(int)] @@ -18102,6 +20647,12 @@ func (o SourceContextResponseOutput) ToSourceContextResponseOutputWithContext(ct return o } +func (o SourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceContextResponse] { + return pulumix.Output[SourceContextResponse]{ + OutputState: o.OutputState, + } +} + // A SourceContext referring to a revision in a Google Cloud Source Repo. func (o SourceContextResponseOutput) CloudRepo() CloudRepoSourceContextResponseOutput { return o.ApplyT(func(v SourceContextResponse) CloudRepoSourceContextResponse { return v.CloudRepo }).(CloudRepoSourceContextResponseOutput) @@ -18136,6 +20687,12 @@ func (o SourceContextResponseArrayOutput) ToSourceContextResponseArrayOutputWith return o } +func (o SourceContextResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceContextResponse] { + return pulumix.Output[[]SourceContextResponse]{ + OutputState: o.OutputState, + } +} + func (o SourceContextResponseArrayOutput) Index(i pulumi.IntInput) SourceContextResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceContextResponse { return vs[0].([]SourceContextResponse)[vs[1].(int)] @@ -18169,6 +20726,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field. func (o SourceResponseOutput) AdditionalContexts() SourceContextResponseArrayOutput { return o.ApplyT(func(v SourceResponse) []SourceContextResponse { return v.AdditionalContexts }).(SourceContextResponseArrayOutput) @@ -18232,6 +20795,12 @@ func (i StatusArgs) ToStatusOutputWithContext(ctx context.Context) StatusOutput return pulumi.ToOutputWithContext(ctx, i).(StatusOutput) } +func (i StatusArgs) ToOutput(ctx context.Context) pulumix.Output[Status] { + return pulumix.Output[Status]{ + OutputState: i.ToStatusOutputWithContext(ctx).OutputState, + } +} + func (i StatusArgs) ToStatusPtrOutput() StatusPtrOutput { return i.ToStatusPtrOutputWithContext(context.Background()) } @@ -18273,6 +20842,12 @@ func (i *statusPtrType) ToStatusPtrOutputWithContext(ctx context.Context) Status return pulumi.ToOutputWithContext(ctx, i).(StatusPtrOutput) } +func (i *statusPtrType) ToOutput(ctx context.Context) pulumix.Output[*Status] { + return pulumix.Output[*Status]{ + OutputState: i.ToStatusPtrOutputWithContext(ctx).OutputState, + } +} + // StatusArrayInput is an input type that accepts StatusArray and StatusArrayOutput values. // You can construct a concrete instance of `StatusArrayInput` via: // @@ -18298,6 +20873,12 @@ func (i StatusArray) ToStatusArrayOutputWithContext(ctx context.Context) StatusA return pulumi.ToOutputWithContext(ctx, i).(StatusArrayOutput) } +func (i StatusArray) ToOutput(ctx context.Context) pulumix.Output[[]Status] { + return pulumix.Output[[]Status]{ + OutputState: i.ToStatusArrayOutputWithContext(ctx).OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type StatusOutput struct{ *pulumi.OutputState } @@ -18323,6 +20904,12 @@ func (o StatusOutput) ToStatusPtrOutputWithContext(ctx context.Context) StatusPt }).(StatusPtrOutput) } +func (o StatusOutput) ToOutput(ctx context.Context) pulumix.Output[Status] { + return pulumix.Output[Status]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v Status) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -18352,6 +20939,12 @@ func (o StatusPtrOutput) ToStatusPtrOutputWithContext(ctx context.Context) Statu return o } +func (o StatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Status] { + return pulumix.Output[*Status]{ + OutputState: o.OutputState, + } +} + func (o StatusPtrOutput) Elem() StatusOutput { return o.ApplyT(func(v *Status) Status { if v != nil { @@ -18406,6 +20999,12 @@ func (o StatusArrayOutput) ToStatusArrayOutputWithContext(ctx context.Context) S return o } +func (o StatusArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Status] { + return pulumix.Output[[]Status]{ + OutputState: o.OutputState, + } +} + func (o StatusArrayOutput) Index(i pulumi.IntInput) StatusOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Status { return vs[0].([]Status)[vs[1].(int)] @@ -18437,6 +21036,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -18466,6 +21071,12 @@ func (o StatusResponseArrayOutput) ToStatusResponseArrayOutputWithContext(ctx co return o } +func (o StatusResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StatusResponse] { + return pulumix.Output[[]StatusResponse]{ + OutputState: o.OutputState, + } +} + func (o StatusResponseArrayOutput) Index(i pulumi.IntInput) StatusResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StatusResponse { return vs[0].([]StatusResponse)[vs[1].(int)] @@ -18511,6 +21122,12 @@ func (i SubjectArgs) ToSubjectOutputWithContext(ctx context.Context) SubjectOutp return pulumi.ToOutputWithContext(ctx, i).(SubjectOutput) } +func (i SubjectArgs) ToOutput(ctx context.Context) pulumix.Output[Subject] { + return pulumix.Output[Subject]{ + OutputState: i.ToSubjectOutputWithContext(ctx).OutputState, + } +} + // SubjectArrayInput is an input type that accepts SubjectArray and SubjectArrayOutput values. // You can construct a concrete instance of `SubjectArrayInput` via: // @@ -18536,6 +21153,12 @@ func (i SubjectArray) ToSubjectArrayOutputWithContext(ctx context.Context) Subje return pulumi.ToOutputWithContext(ctx, i).(SubjectArrayOutput) } +func (i SubjectArray) ToOutput(ctx context.Context) pulumix.Output[[]Subject] { + return pulumix.Output[[]Subject]{ + OutputState: i.ToSubjectArrayOutputWithContext(ctx).OutputState, + } +} + // Set of software artifacts that the attestation applies to. Each element represents a single software artifact. type SubjectOutput struct{ *pulumi.OutputState } @@ -18551,6 +21174,12 @@ func (o SubjectOutput) ToSubjectOutputWithContext(ctx context.Context) SubjectOu return o } +func (o SubjectOutput) ToOutput(ctx context.Context) pulumix.Output[Subject] { + return pulumix.Output[Subject]{ + OutputState: o.OutputState, + } +} + // `"": ""` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet func (o SubjectOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v Subject) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -18575,6 +21204,12 @@ func (o SubjectArrayOutput) ToSubjectArrayOutputWithContext(ctx context.Context) return o } +func (o SubjectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Subject] { + return pulumix.Output[[]Subject]{ + OutputState: o.OutputState, + } +} + func (o SubjectArrayOutput) Index(i pulumi.IntInput) SubjectOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Subject { return vs[0].([]Subject)[vs[1].(int)] @@ -18604,6 +21239,12 @@ func (o SubjectResponseOutput) ToSubjectResponseOutputWithContext(ctx context.Co return o } +func (o SubjectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubjectResponse] { + return pulumix.Output[SubjectResponse]{ + OutputState: o.OutputState, + } +} + // `"": ""` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet func (o SubjectResponseOutput) Digest() pulumi.StringMapOutput { return o.ApplyT(func(v SubjectResponse) map[string]string { return v.Digest }).(pulumi.StringMapOutput) @@ -18628,6 +21269,12 @@ func (o SubjectResponseArrayOutput) ToSubjectResponseArrayOutputWithContext(ctx return o } +func (o SubjectResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubjectResponse] { + return pulumix.Output[[]SubjectResponse]{ + OutputState: o.OutputState, + } +} + func (o SubjectResponseArrayOutput) Index(i pulumi.IntInput) SubjectResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubjectResponse { return vs[0].([]SubjectResponse)[vs[1].(int)] @@ -18685,6 +21332,12 @@ func (i VersionArgs) ToVersionOutputWithContext(ctx context.Context) VersionOutp return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i VersionArgs) ToOutput(ctx context.Context) pulumix.Output[Version] { + return pulumix.Output[Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + func (i VersionArgs) ToVersionPtrOutput() VersionPtrOutput { return i.ToVersionPtrOutputWithContext(context.Background()) } @@ -18726,6 +21379,12 @@ func (i *versionPtrType) ToVersionPtrOutputWithContext(ctx context.Context) Vers return pulumi.ToOutputWithContext(ctx, i).(VersionPtrOutput) } +func (i *versionPtrType) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Version contains structured information about the version of a package. type VersionOutput struct{ *pulumi.OutputState } @@ -18751,6 +21410,12 @@ func (o VersionOutput) ToVersionPtrOutputWithContext(ctx context.Context) Versio }).(VersionPtrOutput) } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[Version] { + return pulumix.Output[Version]{ + OutputState: o.OutputState, + } +} + // Used to correct mistakes in the version numbering scheme. func (o VersionOutput) Epoch() pulumi.IntPtrOutput { return o.ApplyT(func(v Version) *int { return v.Epoch }).(pulumi.IntPtrOutput) @@ -18790,6 +21455,12 @@ func (o VersionPtrOutput) ToVersionPtrOutputWithContext(ctx context.Context) Ver return o } +func (o VersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + func (o VersionPtrOutput) Elem() VersionOutput { return o.ApplyT(func(v *Version) Version { if v != nil { @@ -18879,6 +21550,12 @@ func (o VersionResponseOutput) ToVersionResponseOutputWithContext(ctx context.Co return o } +func (o VersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VersionResponse] { + return pulumix.Output[VersionResponse]{ + OutputState: o.OutputState, + } +} + // Used to correct mistakes in the version numbering scheme. func (o VersionResponseOutput) Epoch() pulumi.IntOutput { return o.ApplyT(func(v VersionResponse) int { return v.Epoch }).(pulumi.IntOutput) @@ -18963,6 +21640,12 @@ func (i VexAssessmentArgs) ToVexAssessmentOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(VexAssessmentOutput) } +func (i VexAssessmentArgs) ToOutput(ctx context.Context) pulumix.Output[VexAssessment] { + return pulumix.Output[VexAssessment]{ + OutputState: i.ToVexAssessmentOutputWithContext(ctx).OutputState, + } +} + func (i VexAssessmentArgs) ToVexAssessmentPtrOutput() VexAssessmentPtrOutput { return i.ToVexAssessmentPtrOutputWithContext(context.Background()) } @@ -19004,6 +21687,12 @@ func (i *vexAssessmentPtrType) ToVexAssessmentPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(VexAssessmentPtrOutput) } +func (i *vexAssessmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*VexAssessment] { + return pulumix.Output[*VexAssessment]{ + OutputState: i.ToVexAssessmentPtrOutputWithContext(ctx).OutputState, + } +} + // VexAssessment provides all publisher provided Vex information that is related to this vulnerability. type VexAssessmentOutput struct{ *pulumi.OutputState } @@ -19029,6 +21718,12 @@ func (o VexAssessmentOutput) ToVexAssessmentPtrOutputWithContext(ctx context.Con }).(VexAssessmentPtrOutput) } +func (o VexAssessmentOutput) ToOutput(ctx context.Context) pulumix.Output[VexAssessment] { + return pulumix.Output[VexAssessment]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o VexAssessmentOutput) Cve() pulumi.StringPtrOutput { return o.ApplyT(func(v VexAssessment) *string { return v.Cve }).(pulumi.StringPtrOutput) @@ -19078,6 +21773,12 @@ func (o VexAssessmentPtrOutput) ToVexAssessmentPtrOutputWithContext(ctx context. return o } +func (o VexAssessmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VexAssessment] { + return pulumix.Output[*VexAssessment]{ + OutputState: o.OutputState, + } +} + func (o VexAssessmentPtrOutput) Elem() VexAssessmentOutput { return o.ApplyT(func(v *VexAssessment) VexAssessment { if v != nil { @@ -19191,6 +21892,12 @@ func (o VexAssessmentResponseOutput) ToVexAssessmentResponseOutputWithContext(ct return o } +func (o VexAssessmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VexAssessmentResponse] { + return pulumix.Output[VexAssessmentResponse]{ + OutputState: o.OutputState, + } +} + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. func (o VexAssessmentResponseOutput) Cve() pulumi.StringOutput { return o.ApplyT(func(v VexAssessmentResponse) string { return v.Cve }).(pulumi.StringOutput) @@ -19293,6 +22000,12 @@ func (i VulnerabilityArgs) ToVulnerabilityOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityOutput) } +func (i VulnerabilityArgs) ToOutput(ctx context.Context) pulumix.Output[Vulnerability] { + return pulumix.Output[Vulnerability]{ + OutputState: i.ToVulnerabilityOutputWithContext(ctx).OutputState, + } +} + func (i VulnerabilityArgs) ToVulnerabilityPtrOutput() VulnerabilityPtrOutput { return i.ToVulnerabilityPtrOutputWithContext(context.Background()) } @@ -19334,6 +22047,12 @@ func (i *vulnerabilityPtrType) ToVulnerabilityPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityPtrOutput) } +func (i *vulnerabilityPtrType) ToOutput(ctx context.Context) pulumix.Output[*Vulnerability] { + return pulumix.Output[*Vulnerability]{ + OutputState: i.ToVulnerabilityPtrOutputWithContext(ctx).OutputState, + } +} + // Vulnerability provides metadata about a security vulnerability in a Note. type VulnerabilityOutput struct{ *pulumi.OutputState } @@ -19359,6 +22078,12 @@ func (o VulnerabilityOutput) ToVulnerabilityPtrOutputWithContext(ctx context.Con }).(VulnerabilityPtrOutput) } +func (o VulnerabilityOutput) ToOutput(ctx context.Context) pulumix.Output[Vulnerability] { + return pulumix.Output[Vulnerability]{ + OutputState: o.OutputState, + } +} + // The CVSS score for this vulnerability. func (o VulnerabilityOutput) CvssScore() pulumi.Float64PtrOutput { return o.ApplyT(func(v Vulnerability) *float64 { return v.CvssScore }).(pulumi.Float64PtrOutput) @@ -19418,6 +22143,12 @@ func (o VulnerabilityPtrOutput) ToVulnerabilityPtrOutputWithContext(ctx context. return o } +func (o VulnerabilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Vulnerability] { + return pulumix.Output[*Vulnerability]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityPtrOutput) Elem() VulnerabilityOutput { return o.ApplyT(func(v *Vulnerability) Vulnerability { if v != nil { @@ -19577,6 +22308,12 @@ func (i VulnerabilityAssessmentNoteArgs) ToVulnerabilityAssessmentNoteOutputWith return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityAssessmentNoteOutput) } +func (i VulnerabilityAssessmentNoteArgs) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityAssessmentNote] { + return pulumix.Output[VulnerabilityAssessmentNote]{ + OutputState: i.ToVulnerabilityAssessmentNoteOutputWithContext(ctx).OutputState, + } +} + func (i VulnerabilityAssessmentNoteArgs) ToVulnerabilityAssessmentNotePtrOutput() VulnerabilityAssessmentNotePtrOutput { return i.ToVulnerabilityAssessmentNotePtrOutputWithContext(context.Background()) } @@ -19618,6 +22355,12 @@ func (i *vulnerabilityAssessmentNotePtrType) ToVulnerabilityAssessmentNotePtrOut return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityAssessmentNotePtrOutput) } +func (i *vulnerabilityAssessmentNotePtrType) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityAssessmentNote] { + return pulumix.Output[*VulnerabilityAssessmentNote]{ + OutputState: i.ToVulnerabilityAssessmentNotePtrOutputWithContext(ctx).OutputState, + } +} + // A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE. type VulnerabilityAssessmentNoteOutput struct{ *pulumi.OutputState } @@ -19643,6 +22386,12 @@ func (o VulnerabilityAssessmentNoteOutput) ToVulnerabilityAssessmentNotePtrOutpu }).(VulnerabilityAssessmentNotePtrOutput) } +func (o VulnerabilityAssessmentNoteOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityAssessmentNote] { + return pulumix.Output[VulnerabilityAssessmentNote]{ + OutputState: o.OutputState, + } +} + // Represents a vulnerability assessment for the product. func (o VulnerabilityAssessmentNoteOutput) Assessment() AssessmentPtrOutput { return o.ApplyT(func(v VulnerabilityAssessmentNote) *Assessment { return v.Assessment }).(AssessmentPtrOutput) @@ -19692,6 +22441,12 @@ func (o VulnerabilityAssessmentNotePtrOutput) ToVulnerabilityAssessmentNotePtrOu return o } +func (o VulnerabilityAssessmentNotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityAssessmentNote] { + return pulumix.Output[*VulnerabilityAssessmentNote]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityAssessmentNotePtrOutput) Elem() VulnerabilityAssessmentNoteOutput { return o.ApplyT(func(v *VulnerabilityAssessmentNote) VulnerabilityAssessmentNote { if v != nil { @@ -19805,6 +22560,12 @@ func (o VulnerabilityAssessmentNoteResponseOutput) ToVulnerabilityAssessmentNote return o } +func (o VulnerabilityAssessmentNoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityAssessmentNoteResponse] { + return pulumix.Output[VulnerabilityAssessmentNoteResponse]{ + OutputState: o.OutputState, + } +} + // Represents a vulnerability assessment for the product. func (o VulnerabilityAssessmentNoteResponseOutput) Assessment() AssessmentResponseOutput { return o.ApplyT(func(v VulnerabilityAssessmentNoteResponse) AssessmentResponse { return v.Assessment }).(AssessmentResponseOutput) @@ -19883,6 +22644,12 @@ func (i VulnerabilityLocationArgs) ToVulnerabilityLocationOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityLocationOutput) } +func (i VulnerabilityLocationArgs) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityLocation] { + return pulumix.Output[VulnerabilityLocation]{ + OutputState: i.ToVulnerabilityLocationOutputWithContext(ctx).OutputState, + } +} + func (i VulnerabilityLocationArgs) ToVulnerabilityLocationPtrOutput() VulnerabilityLocationPtrOutput { return i.ToVulnerabilityLocationPtrOutputWithContext(context.Background()) } @@ -19924,6 +22691,12 @@ func (i *vulnerabilityLocationPtrType) ToVulnerabilityLocationPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(VulnerabilityLocationPtrOutput) } +func (i *vulnerabilityLocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityLocation] { + return pulumix.Output[*VulnerabilityLocation]{ + OutputState: i.ToVulnerabilityLocationPtrOutputWithContext(ctx).OutputState, + } +} + // The location of the vulnerability. type VulnerabilityLocationOutput struct{ *pulumi.OutputState } @@ -19949,6 +22722,12 @@ func (o VulnerabilityLocationOutput) ToVulnerabilityLocationPtrOutputWithContext }).(VulnerabilityLocationPtrOutput) } +func (o VulnerabilityLocationOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityLocation] { + return pulumix.Output[VulnerabilityLocation]{ + OutputState: o.OutputState, + } +} + // The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. func (o VulnerabilityLocationOutput) CpeUri() pulumi.StringOutput { return o.ApplyT(func(v VulnerabilityLocation) string { return v.CpeUri }).(pulumi.StringOutput) @@ -19978,6 +22757,12 @@ func (o VulnerabilityLocationPtrOutput) ToVulnerabilityLocationPtrOutputWithCont return o } +func (o VulnerabilityLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VulnerabilityLocation] { + return pulumix.Output[*VulnerabilityLocation]{ + OutputState: o.OutputState, + } +} + func (o VulnerabilityLocationPtrOutput) Elem() VulnerabilityLocationOutput { return o.ApplyT(func(v *VulnerabilityLocation) VulnerabilityLocation { if v != nil { @@ -20043,6 +22828,12 @@ func (o VulnerabilityLocationResponseOutput) ToVulnerabilityLocationResponseOutp return o } +func (o VulnerabilityLocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityLocationResponse] { + return pulumix.Output[VulnerabilityLocationResponse]{ + OutputState: o.OutputState, + } +} + // The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. func (o VulnerabilityLocationResponseOutput) CpeUri() pulumi.StringOutput { return o.ApplyT(func(v VulnerabilityLocationResponse) string { return v.CpeUri }).(pulumi.StringOutput) @@ -20095,6 +22886,12 @@ func (o VulnerabilityResponseOutput) ToVulnerabilityResponseOutputWithContext(ct return o } +func (o VulnerabilityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VulnerabilityResponse] { + return pulumix.Output[VulnerabilityResponse]{ + OutputState: o.OutputState, + } +} + // The CVSS score for this vulnerability. func (o VulnerabilityResponseOutput) CvssScore() pulumi.Float64Output { return o.ApplyT(func(v VulnerabilityResponse) float64 { return v.CvssScore }).(pulumi.Float64Output) @@ -20185,6 +22982,12 @@ func (i WindowsDetailArgs) ToWindowsDetailOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(WindowsDetailOutput) } +func (i WindowsDetailArgs) ToOutput(ctx context.Context) pulumix.Output[WindowsDetail] { + return pulumix.Output[WindowsDetail]{ + OutputState: i.ToWindowsDetailOutputWithContext(ctx).OutputState, + } +} + // WindowsDetailArrayInput is an input type that accepts WindowsDetailArray and WindowsDetailArrayOutput values. // You can construct a concrete instance of `WindowsDetailArrayInput` via: // @@ -20210,6 +23013,12 @@ func (i WindowsDetailArray) ToWindowsDetailArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(WindowsDetailArrayOutput) } +func (i WindowsDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]WindowsDetail] { + return pulumix.Output[[]WindowsDetail]{ + OutputState: i.ToWindowsDetailArrayOutputWithContext(ctx).OutputState, + } +} + type WindowsDetailOutput struct{ *pulumi.OutputState } func (WindowsDetailOutput) ElementType() reflect.Type { @@ -20224,6 +23033,12 @@ func (o WindowsDetailOutput) ToWindowsDetailOutputWithContext(ctx context.Contex return o } +func (o WindowsDetailOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsDetail] { + return pulumix.Output[WindowsDetail]{ + OutputState: o.OutputState, + } +} + // The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. func (o WindowsDetailOutput) CpeUri() pulumi.StringOutput { return o.ApplyT(func(v WindowsDetail) string { return v.CpeUri }).(pulumi.StringOutput) @@ -20258,6 +23073,12 @@ func (o WindowsDetailArrayOutput) ToWindowsDetailArrayOutputWithContext(ctx cont return o } +func (o WindowsDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WindowsDetail] { + return pulumix.Output[[]WindowsDetail]{ + OutputState: o.OutputState, + } +} + func (o WindowsDetailArrayOutput) Index(i pulumi.IntInput) WindowsDetailOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WindowsDetail { return vs[0].([]WindowsDetail)[vs[1].(int)] @@ -20289,6 +23110,12 @@ func (o WindowsDetailResponseOutput) ToWindowsDetailResponseOutputWithContext(ct return o } +func (o WindowsDetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsDetailResponse] { + return pulumix.Output[WindowsDetailResponse]{ + OutputState: o.OutputState, + } +} + // The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. func (o WindowsDetailResponseOutput) CpeUri() pulumi.StringOutput { return o.ApplyT(func(v WindowsDetailResponse) string { return v.CpeUri }).(pulumi.StringOutput) @@ -20323,6 +23150,12 @@ func (o WindowsDetailResponseArrayOutput) ToWindowsDetailResponseArrayOutputWith return o } +func (o WindowsDetailResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WindowsDetailResponse] { + return pulumix.Output[[]WindowsDetailResponse]{ + OutputState: o.OutputState, + } +} + func (o WindowsDetailResponseArrayOutput) Index(i pulumi.IntInput) WindowsDetailResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WindowsDetailResponse { return vs[0].([]WindowsDetailResponse)[vs[1].(int)] diff --git a/sdk/go/google/contentwarehouse/v1/document.go b/sdk/go/google/contentwarehouse/v1/document.go index 23c977c6f8..8158c1bccf 100644 --- a/sdk/go/google/contentwarehouse/v1/document.go +++ b/sdk/go/google/contentwarehouse/v1/document.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a document. @@ -225,6 +226,12 @@ func (i *Document) ToDocumentOutputWithContext(ctx context.Context) DocumentOutp return pulumi.ToOutputWithContext(ctx, i).(DocumentOutput) } +func (i *Document) ToOutput(ctx context.Context) pulumix.Output[*Document] { + return pulumix.Output[*Document]{ + OutputState: i.ToDocumentOutputWithContext(ctx).OutputState, + } +} + type DocumentOutput struct{ *pulumi.OutputState } func (DocumentOutput) ElementType() reflect.Type { @@ -239,6 +246,12 @@ func (o DocumentOutput) ToDocumentOutputWithContext(ctx context.Context) Documen return o } +func (o DocumentOutput) ToOutput(ctx context.Context) pulumix.Output[*Document] { + return pulumix.Output[*Document]{ + OutputState: o.OutputState, + } +} + // Document AI format to save the structured content, including OCR. func (o DocumentOutput) CloudAiDocument() GoogleCloudDocumentaiV1DocumentResponseOutput { return o.ApplyT(func(v *Document) GoogleCloudDocumentaiV1DocumentResponseOutput { return v.CloudAiDocument }).(GoogleCloudDocumentaiV1DocumentResponseOutput) diff --git a/sdk/go/google/contentwarehouse/v1/documentSchema.go b/sdk/go/google/contentwarehouse/v1/documentSchema.go index c6d7d48229..2e1a7b7d30 100644 --- a/sdk/go/google/contentwarehouse/v1/documentSchema.go +++ b/sdk/go/google/contentwarehouse/v1/documentSchema.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a document schema. @@ -135,6 +136,12 @@ func (i *DocumentSchema) ToDocumentSchemaOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DocumentSchemaOutput) } +func (i *DocumentSchema) ToOutput(ctx context.Context) pulumix.Output[*DocumentSchema] { + return pulumix.Output[*DocumentSchema]{ + OutputState: i.ToDocumentSchemaOutputWithContext(ctx).OutputState, + } +} + type DocumentSchemaOutput struct{ *pulumi.OutputState } func (DocumentSchemaOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DocumentSchemaOutput) ToDocumentSchemaOutputWithContext(ctx context.Cont return o } +func (o DocumentSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[*DocumentSchema] { + return pulumix.Output[*DocumentSchema]{ + OutputState: o.OutputState, + } +} + // The time when the document schema is created. func (o DocumentSchemaOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *DocumentSchema) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/contentwarehouse/v1/getDocument.go b/sdk/go/google/contentwarehouse/v1/getDocument.go index a1bbea680c..3e6bbb5840 100644 --- a/sdk/go/google/contentwarehouse/v1/getDocument.go +++ b/sdk/go/google/contentwarehouse/v1/getDocument.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a document. Returns NOT_FOUND if the document does not exist. @@ -108,6 +109,12 @@ func (o LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext(ctx return o } +func (o LookupDocumentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDocumentResult] { + return pulumix.Output[LookupDocumentResult]{ + OutputState: o.OutputState, + } +} + // Document AI format to save the structured content, including OCR. func (o LookupDocumentResultOutput) CloudAiDocument() GoogleCloudDocumentaiV1DocumentResponseOutput { return o.ApplyT(func(v LookupDocumentResult) GoogleCloudDocumentaiV1DocumentResponse { return v.CloudAiDocument }).(GoogleCloudDocumentaiV1DocumentResponseOutput) diff --git a/sdk/go/google/contentwarehouse/v1/getDocumentSchema.go b/sdk/go/google/contentwarehouse/v1/getDocumentSchema.go index 332cda1cea..4cf5765808 100644 --- a/sdk/go/google/contentwarehouse/v1/getDocumentSchema.go +++ b/sdk/go/google/contentwarehouse/v1/getDocumentSchema.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a document schema. Returns NOT_FOUND if the document schema does not exist. @@ -82,6 +83,12 @@ func (o LookupDocumentSchemaResultOutput) ToLookupDocumentSchemaResultOutputWith return o } +func (o LookupDocumentSchemaResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDocumentSchemaResult] { + return pulumix.Output[LookupDocumentSchemaResult]{ + OutputState: o.OutputState, + } +} + // The time when the document schema is created. func (o LookupDocumentSchemaResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupDocumentSchemaResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/contentwarehouse/v1/getRuleSet.go b/sdk/go/google/contentwarehouse/v1/getRuleSet.go index a228dfbab9..f9379abff9 100644 --- a/sdk/go/google/contentwarehouse/v1/getRuleSet.go +++ b/sdk/go/google/contentwarehouse/v1/getRuleSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist. @@ -76,6 +77,12 @@ func (o LookupRuleSetResultOutput) ToLookupRuleSetResultOutputWithContext(ctx co return o } +func (o LookupRuleSetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRuleSetResult] { + return pulumix.Output[LookupRuleSetResult]{ + OutputState: o.OutputState, + } +} + // Short description of the rule-set. func (o LookupRuleSetResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupRuleSetResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/contentwarehouse/v1/getSynonymSet.go b/sdk/go/google/contentwarehouse/v1/getSynonymSet.go index cd0dcf95b0..8ab885c79d 100644 --- a/sdk/go/google/contentwarehouse/v1/getSynonymSet.go +++ b/sdk/go/google/contentwarehouse/v1/getSynonymSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a SynonymSet for a particular context. Throws a NOT_FOUND exception if the Synonymset does not exist @@ -74,6 +75,12 @@ func (o LookupSynonymSetResultOutput) ToLookupSynonymSetResultOutputWithContext( return o } +func (o LookupSynonymSetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSynonymSetResult] { + return pulumix.Output[LookupSynonymSetResult]{ + OutputState: o.OutputState, + } +} + // This is a freeform field. Example contexts can be "sales," "engineering," "real estate," "accounting," etc. The context can be supplied during search requests. func (o LookupSynonymSetResultOutput) Context() pulumi.StringOutput { return o.ApplyT(func(v LookupSynonymSetResult) string { return v.Context }).(pulumi.StringOutput) diff --git a/sdk/go/google/contentwarehouse/v1/pulumiEnums.go b/sdk/go/google/contentwarehouse/v1/pulumiEnums.go index 67c297534b..bc14dffafd 100644 --- a/sdk/go/google/contentwarehouse/v1/pulumiEnums.go +++ b/sdk/go/google/contentwarehouse/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Indicates the category (image, audio, video etc.) of the original content. @@ -84,6 +85,12 @@ func (o DocumentContentCategoryOutput) ToDocumentContentCategoryPtrOutputWithCon }).(DocumentContentCategoryPtrOutput) } +func (o DocumentContentCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentContentCategory] { + return pulumix.Output[DocumentContentCategory]{ + OutputState: o.OutputState, + } +} + func (o DocumentContentCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o DocumentContentCategoryPtrOutput) ToDocumentContentCategoryPtrOutputWith return o } +func (o DocumentContentCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DocumentContentCategory] { + return pulumix.Output[*DocumentContentCategory]{ + OutputState: o.OutputState, + } +} + func (o DocumentContentCategoryPtrOutput) Elem() DocumentContentCategoryOutput { return o.ApplyT(func(v *DocumentContentCategory) DocumentContentCategory { if v != nil { @@ -181,6 +194,12 @@ func (in *documentContentCategoryPtr) ToDocumentContentCategoryPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(DocumentContentCategoryPtrOutput) } +func (in *documentContentCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*DocumentContentCategory] { + return pulumix.Output[*DocumentContentCategory]{ + OutputState: in.ToDocumentContentCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // This is used when DocAI was not used to load the document and parsing/ extracting is needed for the inline_raw_document. For example, if inline_raw_document is the byte representation of a PDF file, then this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF. type DocumentRawDocumentFileType string @@ -261,6 +280,12 @@ func (o DocumentRawDocumentFileTypeOutput) ToDocumentRawDocumentFileTypePtrOutpu }).(DocumentRawDocumentFileTypePtrOutput) } +func (o DocumentRawDocumentFileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentRawDocumentFileType] { + return pulumix.Output[DocumentRawDocumentFileType]{ + OutputState: o.OutputState, + } +} + func (o DocumentRawDocumentFileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -296,6 +321,12 @@ func (o DocumentRawDocumentFileTypePtrOutput) ToDocumentRawDocumentFileTypePtrOu return o } +func (o DocumentRawDocumentFileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DocumentRawDocumentFileType] { + return pulumix.Output[*DocumentRawDocumentFileType]{ + OutputState: o.OutputState, + } +} + func (o DocumentRawDocumentFileTypePtrOutput) Elem() DocumentRawDocumentFileTypeOutput { return o.ApplyT(func(v *DocumentRawDocumentFileType) DocumentRawDocumentFileType { if v != nil { @@ -358,6 +389,12 @@ func (in *documentRawDocumentFileTypePtr) ToDocumentRawDocumentFileTypePtrOutput return pulumi.ToOutputWithContext(ctx, in).(DocumentRawDocumentFileTypePtrOutput) } +func (in *documentRawDocumentFileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DocumentRawDocumentFileType] { + return pulumix.Output[*DocumentRawDocumentFileType]{ + OutputState: in.ToDocumentRawDocumentFileTypePtrOutputWithContext(ctx).OutputState, + } +} + // Identifies the type of operation. type GoogleCloudContentwarehouseV1AccessControlActionOperationType string @@ -432,6 +469,12 @@ func (o GoogleCloudContentwarehouseV1AccessControlActionOperationTypeOutput) ToG }).(GoogleCloudContentwarehouseV1AccessControlActionOperationTypePtrOutput) } +func (o GoogleCloudContentwarehouseV1AccessControlActionOperationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1AccessControlActionOperationType] { + return pulumix.Output[GoogleCloudContentwarehouseV1AccessControlActionOperationType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1AccessControlActionOperationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -467,6 +510,12 @@ func (o GoogleCloudContentwarehouseV1AccessControlActionOperationTypePtrOutput) return o } +func (o GoogleCloudContentwarehouseV1AccessControlActionOperationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1AccessControlActionOperationType] { + return pulumix.Output[*GoogleCloudContentwarehouseV1AccessControlActionOperationType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1AccessControlActionOperationTypePtrOutput) Elem() GoogleCloudContentwarehouseV1AccessControlActionOperationTypeOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1AccessControlActionOperationType) GoogleCloudContentwarehouseV1AccessControlActionOperationType { if v != nil { @@ -529,6 +578,12 @@ func (in *googleCloudContentwarehouseV1AccessControlActionOperationTypePtr) ToGo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudContentwarehouseV1AccessControlActionOperationTypePtrOutput) } +func (in *googleCloudContentwarehouseV1AccessControlActionOperationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1AccessControlActionOperationType] { + return pulumix.Output[*GoogleCloudContentwarehouseV1AccessControlActionOperationType]{ + OutputState: in.ToGoogleCloudContentwarehouseV1AccessControlActionOperationTypePtrOutputWithContext(ctx).OutputState, + } +} + // The retrieval importance of the property during search. type GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportance string @@ -609,6 +664,12 @@ func (o GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportanceOutput }).(GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportancePtrOutput) } +func (o GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportanceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportance] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportance]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportanceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -644,6 +705,12 @@ func (o GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportancePtrOut return o } +func (o GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportance] { + return pulumix.Output[*GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportance]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportancePtrOutput) Elem() GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportanceOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportance) GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportance { if v != nil { @@ -706,6 +773,12 @@ func (in *googleCloudContentwarehouseV1PropertyDefinitionRetrievalImportancePtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportancePtrOutput) } +func (in *googleCloudContentwarehouseV1PropertyDefinitionRetrievalImportancePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportance] { + return pulumix.Output[*GoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportance]{ + OutputState: in.ToGoogleCloudContentwarehouseV1PropertyDefinitionRetrievalImportancePtrOutputWithContext(ctx).OutputState, + } +} + // Identifies the trigger type for running the policy. type GoogleCloudContentwarehouseV1RuleTriggerType string @@ -778,6 +851,12 @@ func (o GoogleCloudContentwarehouseV1RuleTriggerTypeOutput) ToGoogleCloudContent }).(GoogleCloudContentwarehouseV1RuleTriggerTypePtrOutput) } +func (o GoogleCloudContentwarehouseV1RuleTriggerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1RuleTriggerType] { + return pulumix.Output[GoogleCloudContentwarehouseV1RuleTriggerType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1RuleTriggerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -813,6 +892,12 @@ func (o GoogleCloudContentwarehouseV1RuleTriggerTypePtrOutput) ToGoogleCloudCont return o } +func (o GoogleCloudContentwarehouseV1RuleTriggerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1RuleTriggerType] { + return pulumix.Output[*GoogleCloudContentwarehouseV1RuleTriggerType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1RuleTriggerTypePtrOutput) Elem() GoogleCloudContentwarehouseV1RuleTriggerTypeOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1RuleTriggerType) GoogleCloudContentwarehouseV1RuleTriggerType { if v != nil { @@ -875,6 +960,12 @@ func (in *googleCloudContentwarehouseV1RuleTriggerTypePtr) ToGoogleCloudContentw return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudContentwarehouseV1RuleTriggerTypePtrOutput) } +func (in *googleCloudContentwarehouseV1RuleTriggerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1RuleTriggerType] { + return pulumix.Output[*GoogleCloudContentwarehouseV1RuleTriggerType]{ + OutputState: in.ToGoogleCloudContentwarehouseV1RuleTriggerTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type for update. type GoogleCloudContentwarehouseV1UpdateOptionsUpdateType string @@ -977,6 +1068,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypeOutput) ToGoog }).(GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypePtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1012,6 +1109,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypePtrOutput) ToG return o } +func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypePtrOutput) Elem() GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypeOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType) GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType { if v != nil { @@ -1074,6 +1177,12 @@ func (in *googleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypePtr) ToGoogl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypePtrOutput) } +func (in *googleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutType]{ + OutputState: in.ToGoogleCloudDocumentaiV1DocumentPageAnchorPageRefLayoutTypePtrOutputWithContext(ctx).OutputState, + } +} + // Detected orientation for the Layout. type GoogleCloudDocumentaiV1DocumentPageLayoutOrientation string @@ -1150,6 +1259,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOutput) ToGoogleClou }).(GoogleCloudDocumentaiV1DocumentPageLayoutOrientationPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLayoutOrientation] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLayoutOrientation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1185,6 +1300,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageLayoutOrientationPtrOutput) ToGoogleC return o } +func (o GoogleCloudDocumentaiV1DocumentPageLayoutOrientationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageLayoutOrientation] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageLayoutOrientation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageLayoutOrientationPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentPageLayoutOrientationOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentPageLayoutOrientation) GoogleCloudDocumentaiV1DocumentPageLayoutOrientation { if v != nil { @@ -1247,6 +1368,12 @@ func (in *googleCloudDocumentaiV1DocumentPageLayoutOrientationPtr) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDocumentaiV1DocumentPageLayoutOrientationPtrOutput) } +func (in *googleCloudDocumentaiV1DocumentPageLayoutOrientationPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageLayoutOrientation] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageLayoutOrientation]{ + OutputState: in.ToGoogleCloudDocumentaiV1DocumentPageLayoutOrientationPtrOutputWithContext(ctx).OutputState, + } +} + // Detected break type. type GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType string @@ -1321,6 +1448,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypeOutput) ToGoogl }).(GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypePtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1356,6 +1489,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypePtrOutput) ToGo return o } +func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypePtrOutput) Elem() GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypeOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType) GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType { if v != nil { @@ -1418,6 +1557,12 @@ func (in *googleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypePtr) ToGoogle return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypePtrOutput) } +func (in *googleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType]{ + OutputState: in.ToGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of provenance operation. type GoogleCloudDocumentaiV1DocumentProvenanceType string @@ -1500,6 +1645,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenanceTypeOutput) ToGoogleCloudDocume }).(GoogleCloudDocumentaiV1DocumentProvenanceTypePtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentProvenanceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenanceType] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenanceType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentProvenanceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1535,6 +1686,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenanceTypePtrOutput) ToGoogleCloudDoc return o } +func (o GoogleCloudDocumentaiV1DocumentProvenanceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentProvenanceType] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentProvenanceType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentProvenanceTypePtrOutput) Elem() GoogleCloudDocumentaiV1DocumentProvenanceTypeOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentProvenanceType) GoogleCloudDocumentaiV1DocumentProvenanceType { if v != nil { @@ -1597,6 +1754,12 @@ func (in *googleCloudDocumentaiV1DocumentProvenanceTypePtr) ToGoogleCloudDocumen return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDocumentaiV1DocumentProvenanceTypePtrOutput) } +func (in *googleCloudDocumentaiV1DocumentProvenanceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentProvenanceType] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentProvenanceType]{ + OutputState: in.ToGoogleCloudDocumentaiV1DocumentProvenanceTypePtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -1671,6 +1834,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1706,6 +1875,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -1768,6 +1943,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*DocumentContentCategoryInput)(nil)).Elem(), DocumentContentCategory("CONTENT_CATEGORY_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*DocumentContentCategoryPtrInput)(nil)).Elem(), DocumentContentCategory("CONTENT_CATEGORY_UNSPECIFIED")) diff --git a/sdk/go/google/contentwarehouse/v1/pulumiTypes.go b/sdk/go/google/contentwarehouse/v1/pulumiTypes.go index e51d5a7a66..9e7e11f264 100644 --- a/sdk/go/google/contentwarehouse/v1/pulumiTypes.go +++ b/sdk/go/google/contentwarehouse/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudContentwarehouseV1AccessControlActionArgs) ToGoogleCloudConte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1AccessControlActionOutput) } +func (i GoogleCloudContentwarehouseV1AccessControlActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1AccessControlAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1AccessControlAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1AccessControlActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1AccessControlActionArgs) ToGoogleCloudContentwarehouseV1AccessControlActionPtrOutput() GoogleCloudContentwarehouseV1AccessControlActionPtrOutput { return i.ToGoogleCloudContentwarehouseV1AccessControlActionPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleCloudContentwarehouseV1AccessControlActionPtrType) ToGoogleCloudC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1AccessControlActionPtrOutput) } +func (i *googleCloudContentwarehouseV1AccessControlActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1AccessControlAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1AccessControlAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1AccessControlActionPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the action responsible for access control list management operations. type GoogleCloudContentwarehouseV1AccessControlActionOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleCloudContentwarehouseV1AccessControlActionOutput) ToGoogleCloudCon }).(GoogleCloudContentwarehouseV1AccessControlActionPtrOutput) } +func (o GoogleCloudContentwarehouseV1AccessControlActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1AccessControlAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1AccessControlAction]{ + OutputState: o.OutputState, + } +} + // Identifies the type of operation. func (o GoogleCloudContentwarehouseV1AccessControlActionOutput) OperationType() GoogleCloudContentwarehouseV1AccessControlActionOperationTypePtrOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1AccessControlAction) *GoogleCloudContentwarehouseV1AccessControlActionOperationType { @@ -144,6 +163,12 @@ func (o GoogleCloudContentwarehouseV1AccessControlActionPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudContentwarehouseV1AccessControlActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1AccessControlAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1AccessControlAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1AccessControlActionPtrOutput) Elem() GoogleCloudContentwarehouseV1AccessControlActionOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1AccessControlAction) GoogleCloudContentwarehouseV1AccessControlAction { if v != nil { @@ -197,6 +222,12 @@ func (o GoogleCloudContentwarehouseV1AccessControlActionResponseOutput) ToGoogle return o } +func (o GoogleCloudContentwarehouseV1AccessControlActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1AccessControlActionResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1AccessControlActionResponse]{ + OutputState: o.OutputState, + } +} + // Identifies the type of operation. func (o GoogleCloudContentwarehouseV1AccessControlActionResponseOutput) OperationType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1AccessControlActionResponse) string { return v.OperationType }).(pulumi.StringOutput) @@ -272,6 +303,12 @@ func (i GoogleCloudContentwarehouseV1ActionArgs) ToGoogleCloudContentwarehouseV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1ActionOutput) } +func (i GoogleCloudContentwarehouseV1ActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1Action] { + return pulumix.Output[GoogleCloudContentwarehouseV1Action]{ + OutputState: i.ToGoogleCloudContentwarehouseV1ActionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudContentwarehouseV1ActionArrayInput is an input type that accepts GoogleCloudContentwarehouseV1ActionArray and GoogleCloudContentwarehouseV1ActionArrayOutput values. // You can construct a concrete instance of `GoogleCloudContentwarehouseV1ActionArrayInput` via: // @@ -297,6 +334,12 @@ func (i GoogleCloudContentwarehouseV1ActionArray) ToGoogleCloudContentwarehouseV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1ActionArrayOutput) } +func (i GoogleCloudContentwarehouseV1ActionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1Action] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1Action]{ + OutputState: i.ToGoogleCloudContentwarehouseV1ActionArrayOutputWithContext(ctx).OutputState, + } +} + // Represents the action triggered by Rule Engine when the rule is true. type GoogleCloudContentwarehouseV1ActionOutput struct{ *pulumi.OutputState } @@ -312,6 +355,12 @@ func (o GoogleCloudContentwarehouseV1ActionOutput) ToGoogleCloudContentwarehouse return o } +func (o GoogleCloudContentwarehouseV1ActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1Action] { + return pulumix.Output[GoogleCloudContentwarehouseV1Action]{ + OutputState: o.OutputState, + } +} + // Action triggering access control operations. func (o GoogleCloudContentwarehouseV1ActionOutput) AccessControl() GoogleCloudContentwarehouseV1AccessControlActionPtrOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1Action) *GoogleCloudContentwarehouseV1AccessControlAction { @@ -380,6 +429,12 @@ func (o GoogleCloudContentwarehouseV1ActionArrayOutput) ToGoogleCloudContentware return o } +func (o GoogleCloudContentwarehouseV1ActionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1Action] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1Action]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1ActionArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1ActionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1Action { return vs[0].([]GoogleCloudContentwarehouseV1Action)[vs[1].(int)] @@ -421,6 +476,12 @@ func (o GoogleCloudContentwarehouseV1ActionResponseOutput) ToGoogleCloudContentw return o } +func (o GoogleCloudContentwarehouseV1ActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1ActionResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1ActionResponse]{ + OutputState: o.OutputState, + } +} + // Action triggering access control operations. func (o GoogleCloudContentwarehouseV1ActionResponseOutput) AccessControl() GoogleCloudContentwarehouseV1AccessControlActionResponseOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1ActionResponse) GoogleCloudContentwarehouseV1AccessControlActionResponse { @@ -489,6 +550,12 @@ func (o GoogleCloudContentwarehouseV1ActionResponseArrayOutput) ToGoogleCloudCon return o } +func (o GoogleCloudContentwarehouseV1ActionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1ActionResponse] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1ActionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1ActionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1ActionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1ActionResponse { return vs[0].([]GoogleCloudContentwarehouseV1ActionResponse)[vs[1].(int)] @@ -530,6 +597,12 @@ func (i GoogleCloudContentwarehouseV1AddToFolderActionArgs) ToGoogleCloudContent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1AddToFolderActionOutput) } +func (i GoogleCloudContentwarehouseV1AddToFolderActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1AddToFolderAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1AddToFolderAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1AddToFolderActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1AddToFolderActionArgs) ToGoogleCloudContentwarehouseV1AddToFolderActionPtrOutput() GoogleCloudContentwarehouseV1AddToFolderActionPtrOutput { return i.ToGoogleCloudContentwarehouseV1AddToFolderActionPtrOutputWithContext(context.Background()) } @@ -571,6 +644,12 @@ func (i *googleCloudContentwarehouseV1AddToFolderActionPtrType) ToGoogleCloudCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1AddToFolderActionPtrOutput) } +func (i *googleCloudContentwarehouseV1AddToFolderActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1AddToFolderAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1AddToFolderAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1AddToFolderActionPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the action responsible for adding document under a folder. type GoogleCloudContentwarehouseV1AddToFolderActionOutput struct{ *pulumi.OutputState } @@ -596,6 +675,12 @@ func (o GoogleCloudContentwarehouseV1AddToFolderActionOutput) ToGoogleCloudConte }).(GoogleCloudContentwarehouseV1AddToFolderActionPtrOutput) } +func (o GoogleCloudContentwarehouseV1AddToFolderActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1AddToFolderAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1AddToFolderAction]{ + OutputState: o.OutputState, + } +} + // Names of the folder under which new document is to be added. Format: projects/{project_number}/locations/{location}/documents/{document_id}. func (o GoogleCloudContentwarehouseV1AddToFolderActionOutput) Folders() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1AddToFolderAction) []string { return v.Folders }).(pulumi.StringArrayOutput) @@ -615,6 +700,12 @@ func (o GoogleCloudContentwarehouseV1AddToFolderActionPtrOutput) ToGoogleCloudCo return o } +func (o GoogleCloudContentwarehouseV1AddToFolderActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1AddToFolderAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1AddToFolderAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1AddToFolderActionPtrOutput) Elem() GoogleCloudContentwarehouseV1AddToFolderActionOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1AddToFolderAction) GoogleCloudContentwarehouseV1AddToFolderAction { if v != nil { @@ -656,6 +747,12 @@ func (o GoogleCloudContentwarehouseV1AddToFolderActionResponseOutput) ToGoogleCl return o } +func (o GoogleCloudContentwarehouseV1AddToFolderActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1AddToFolderActionResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1AddToFolderActionResponse]{ + OutputState: o.OutputState, + } +} + // Names of the folder under which new document is to be added. Format: projects/{project_number}/locations/{location}/documents/{document_id}. func (o GoogleCloudContentwarehouseV1AddToFolderActionResponseOutput) Folders() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1AddToFolderActionResponse) []string { return v.Folders }).(pulumi.StringArrayOutput) @@ -700,6 +797,12 @@ func (i GoogleCloudContentwarehouseV1CloudAIDocumentOptionArgs) ToGoogleCloudCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1CloudAIDocumentOptionOutput) } +func (i GoogleCloudContentwarehouseV1CloudAIDocumentOptionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1CloudAIDocumentOption] { + return pulumix.Output[GoogleCloudContentwarehouseV1CloudAIDocumentOption]{ + OutputState: i.ToGoogleCloudContentwarehouseV1CloudAIDocumentOptionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1CloudAIDocumentOptionArgs) ToGoogleCloudContentwarehouseV1CloudAIDocumentOptionPtrOutput() GoogleCloudContentwarehouseV1CloudAIDocumentOptionPtrOutput { return i.ToGoogleCloudContentwarehouseV1CloudAIDocumentOptionPtrOutputWithContext(context.Background()) } @@ -741,6 +844,12 @@ func (i *googleCloudContentwarehouseV1CloudAIDocumentOptionPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1CloudAIDocumentOptionPtrOutput) } +func (i *googleCloudContentwarehouseV1CloudAIDocumentOptionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1CloudAIDocumentOption] { + return pulumix.Output[*GoogleCloudContentwarehouseV1CloudAIDocumentOption]{ + OutputState: i.ToGoogleCloudContentwarehouseV1CloudAIDocumentOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Request Option for processing Cloud AI Document in CW Document. type GoogleCloudContentwarehouseV1CloudAIDocumentOptionOutput struct{ *pulumi.OutputState } @@ -766,6 +875,12 @@ func (o GoogleCloudContentwarehouseV1CloudAIDocumentOptionOutput) ToGoogleCloudC }).(GoogleCloudContentwarehouseV1CloudAIDocumentOptionPtrOutput) } +func (o GoogleCloudContentwarehouseV1CloudAIDocumentOptionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1CloudAIDocumentOption] { + return pulumix.Output[GoogleCloudContentwarehouseV1CloudAIDocumentOption]{ + OutputState: o.OutputState, + } +} + // If set, only selected entities will be converted to properties. func (o GoogleCloudContentwarehouseV1CloudAIDocumentOptionOutput) CustomizedEntitiesPropertiesConversions() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1CloudAIDocumentOption) map[string]string { @@ -792,6 +907,12 @@ func (o GoogleCloudContentwarehouseV1CloudAIDocumentOptionPtrOutput) ToGoogleClo return o } +func (o GoogleCloudContentwarehouseV1CloudAIDocumentOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1CloudAIDocumentOption] { + return pulumix.Output[*GoogleCloudContentwarehouseV1CloudAIDocumentOption]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1CloudAIDocumentOptionPtrOutput) Elem() GoogleCloudContentwarehouseV1CloudAIDocumentOptionOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1CloudAIDocumentOption) GoogleCloudContentwarehouseV1CloudAIDocumentOption { if v != nil { @@ -857,6 +978,12 @@ func (i GoogleCloudContentwarehouseV1DataUpdateActionArgs) ToGoogleCloudContentw return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1DataUpdateActionOutput) } +func (i GoogleCloudContentwarehouseV1DataUpdateActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DataUpdateAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1DataUpdateAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1DataUpdateActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1DataUpdateActionArgs) ToGoogleCloudContentwarehouseV1DataUpdateActionPtrOutput() GoogleCloudContentwarehouseV1DataUpdateActionPtrOutput { return i.ToGoogleCloudContentwarehouseV1DataUpdateActionPtrOutputWithContext(context.Background()) } @@ -898,6 +1025,12 @@ func (i *googleCloudContentwarehouseV1DataUpdateActionPtrType) ToGoogleCloudCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1DataUpdateActionPtrOutput) } +func (i *googleCloudContentwarehouseV1DataUpdateActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1DataUpdateAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1DataUpdateAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1DataUpdateActionPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the action responsible for properties update operations. type GoogleCloudContentwarehouseV1DataUpdateActionOutput struct{ *pulumi.OutputState } @@ -923,6 +1056,12 @@ func (o GoogleCloudContentwarehouseV1DataUpdateActionOutput) ToGoogleCloudConten }).(GoogleCloudContentwarehouseV1DataUpdateActionPtrOutput) } +func (o GoogleCloudContentwarehouseV1DataUpdateActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DataUpdateAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1DataUpdateAction]{ + OutputState: o.OutputState, + } +} + // Map of (K, V) -> (valid name of the field, new value of the field) E.g., ("age", "60") entry triggers update of field age with a value of 60. If the field is not present then new entry is added. During update action execution, value strings will be casted to appropriate types. func (o GoogleCloudContentwarehouseV1DataUpdateActionOutput) Entries() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1DataUpdateAction) map[string]string { return v.Entries }).(pulumi.StringMapOutput) @@ -942,6 +1081,12 @@ func (o GoogleCloudContentwarehouseV1DataUpdateActionPtrOutput) ToGoogleCloudCon return o } +func (o GoogleCloudContentwarehouseV1DataUpdateActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1DataUpdateAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1DataUpdateAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1DataUpdateActionPtrOutput) Elem() GoogleCloudContentwarehouseV1DataUpdateActionOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1DataUpdateAction) GoogleCloudContentwarehouseV1DataUpdateAction { if v != nil { @@ -983,6 +1128,12 @@ func (o GoogleCloudContentwarehouseV1DataUpdateActionResponseOutput) ToGoogleClo return o } +func (o GoogleCloudContentwarehouseV1DataUpdateActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DataUpdateActionResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1DataUpdateActionResponse]{ + OutputState: o.OutputState, + } +} + // Map of (K, V) -> (valid name of the field, new value of the field) E.g., ("age", "60") entry triggers update of field age with a value of 60. If the field is not present then new entry is added. During update action execution, value strings will be casted to appropriate types. func (o GoogleCloudContentwarehouseV1DataUpdateActionResponseOutput) Entries() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1DataUpdateActionResponse) map[string]string { return v.Entries }).(pulumi.StringMapOutput) @@ -1023,6 +1174,12 @@ func (i GoogleCloudContentwarehouseV1DataValidationActionArgs) ToGoogleCloudCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1DataValidationActionOutput) } +func (i GoogleCloudContentwarehouseV1DataValidationActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DataValidationAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1DataValidationAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1DataValidationActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1DataValidationActionArgs) ToGoogleCloudContentwarehouseV1DataValidationActionPtrOutput() GoogleCloudContentwarehouseV1DataValidationActionPtrOutput { return i.ToGoogleCloudContentwarehouseV1DataValidationActionPtrOutputWithContext(context.Background()) } @@ -1064,6 +1221,12 @@ func (i *googleCloudContentwarehouseV1DataValidationActionPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1DataValidationActionPtrOutput) } +func (i *googleCloudContentwarehouseV1DataValidationActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1DataValidationAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1DataValidationAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1DataValidationActionPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the action responsible for data validation operations. type GoogleCloudContentwarehouseV1DataValidationActionOutput struct{ *pulumi.OutputState } @@ -1089,6 +1252,12 @@ func (o GoogleCloudContentwarehouseV1DataValidationActionOutput) ToGoogleCloudCo }).(GoogleCloudContentwarehouseV1DataValidationActionPtrOutput) } +func (o GoogleCloudContentwarehouseV1DataValidationActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DataValidationAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1DataValidationAction]{ + OutputState: o.OutputState, + } +} + // Map of (K, V) -> (field, string condition to be evaluated on the field) E.g., ("age", "age > 18 && age < 60") entry triggers validation of field age with the given condition. Map entries will be ANDed during validation. func (o GoogleCloudContentwarehouseV1DataValidationActionOutput) Conditions() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1DataValidationAction) map[string]string { return v.Conditions }).(pulumi.StringMapOutput) @@ -1108,6 +1277,12 @@ func (o GoogleCloudContentwarehouseV1DataValidationActionPtrOutput) ToGoogleClou return o } +func (o GoogleCloudContentwarehouseV1DataValidationActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1DataValidationAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1DataValidationAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1DataValidationActionPtrOutput) Elem() GoogleCloudContentwarehouseV1DataValidationActionOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1DataValidationAction) GoogleCloudContentwarehouseV1DataValidationAction { if v != nil { @@ -1149,6 +1324,12 @@ func (o GoogleCloudContentwarehouseV1DataValidationActionResponseOutput) ToGoogl return o } +func (o GoogleCloudContentwarehouseV1DataValidationActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DataValidationActionResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1DataValidationActionResponse]{ + OutputState: o.OutputState, + } +} + // Map of (K, V) -> (field, string condition to be evaluated on the field) E.g., ("age", "age > 18 && age < 60") entry triggers validation of field age with the given condition. Map entries will be ANDed during validation. func (o GoogleCloudContentwarehouseV1DataValidationActionResponseOutput) Conditions() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1DataValidationActionResponse) map[string]string { @@ -1191,6 +1372,12 @@ func (i GoogleCloudContentwarehouseV1DateTimeArrayArgs) ToGoogleCloudContentware return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1DateTimeArrayOutput) } +func (i GoogleCloudContentwarehouseV1DateTimeArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DateTimeArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1DateTimeArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1DateTimeArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1DateTimeArrayArgs) ToGoogleCloudContentwarehouseV1DateTimeArrayPtrOutput() GoogleCloudContentwarehouseV1DateTimeArrayPtrOutput { return i.ToGoogleCloudContentwarehouseV1DateTimeArrayPtrOutputWithContext(context.Background()) } @@ -1232,6 +1419,12 @@ func (i *googleCloudContentwarehouseV1DateTimeArrayPtrType) ToGoogleCloudContent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1DateTimeArrayPtrOutput) } +func (i *googleCloudContentwarehouseV1DateTimeArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1DateTimeArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1DateTimeArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1DateTimeArrayPtrOutputWithContext(ctx).OutputState, + } +} + // DateTime values. type GoogleCloudContentwarehouseV1DateTimeArrayOutput struct{ *pulumi.OutputState } @@ -1257,6 +1450,12 @@ func (o GoogleCloudContentwarehouseV1DateTimeArrayOutput) ToGoogleCloudContentwa }).(GoogleCloudContentwarehouseV1DateTimeArrayPtrOutput) } +func (o GoogleCloudContentwarehouseV1DateTimeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DateTimeArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1DateTimeArray]{ + OutputState: o.OutputState, + } +} + // List of datetime values. Both OffsetDateTime and ZonedDateTime are supported. func (o GoogleCloudContentwarehouseV1DateTimeArrayOutput) Values() GoogleTypeDateTimeArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1DateTimeArray) []GoogleTypeDateTime { return v.Values }).(GoogleTypeDateTimeArrayOutput) @@ -1276,6 +1475,12 @@ func (o GoogleCloudContentwarehouseV1DateTimeArrayPtrOutput) ToGoogleCloudConten return o } +func (o GoogleCloudContentwarehouseV1DateTimeArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1DateTimeArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1DateTimeArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1DateTimeArrayPtrOutput) Elem() GoogleCloudContentwarehouseV1DateTimeArrayOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1DateTimeArray) GoogleCloudContentwarehouseV1DateTimeArray { if v != nil { @@ -1317,6 +1522,12 @@ func (o GoogleCloudContentwarehouseV1DateTimeArrayResponseOutput) ToGoogleCloudC return o } +func (o GoogleCloudContentwarehouseV1DateTimeArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DateTimeArrayResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1DateTimeArrayResponse]{ + OutputState: o.OutputState, + } +} + // List of datetime values. Both OffsetDateTime and ZonedDateTime are supported. func (o GoogleCloudContentwarehouseV1DateTimeArrayResponseOutput) Values() GoogleTypeDateTimeResponseArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1DateTimeArrayResponse) []GoogleTypeDateTimeResponse { @@ -1355,6 +1566,12 @@ func (i GoogleCloudContentwarehouseV1DateTimeTypeOptionsArgs) ToGoogleCloudConte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1DateTimeTypeOptionsOutput) } +func (i GoogleCloudContentwarehouseV1DateTimeTypeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DateTimeTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1DateTimeTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1DateTimeTypeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1DateTimeTypeOptionsArgs) ToGoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutput() GoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutput { return i.ToGoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutputWithContext(context.Background()) } @@ -1396,6 +1613,12 @@ func (i *googleCloudContentwarehouseV1DateTimeTypeOptionsPtrType) ToGoogleCloudC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutput) } +func (i *googleCloudContentwarehouseV1DateTimeTypeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1DateTimeTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1DateTimeTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Configurations for a date time property. type GoogleCloudContentwarehouseV1DateTimeTypeOptionsOutput struct{ *pulumi.OutputState } @@ -1421,6 +1644,12 @@ func (o GoogleCloudContentwarehouseV1DateTimeTypeOptionsOutput) ToGoogleCloudCon }).(GoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutput) } +func (o GoogleCloudContentwarehouseV1DateTimeTypeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DateTimeTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1DateTimeTypeOptions]{ + OutputState: o.OutputState, + } +} + type GoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutput) ElementType() reflect.Type { @@ -1435,6 +1664,12 @@ func (o GoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1DateTimeTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1DateTimeTypeOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutput) Elem() GoogleCloudContentwarehouseV1DateTimeTypeOptionsOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1DateTimeTypeOptions) GoogleCloudContentwarehouseV1DateTimeTypeOptions { if v != nil { @@ -1464,6 +1699,12 @@ func (o GoogleCloudContentwarehouseV1DateTimeTypeOptionsResponseOutput) ToGoogle return o } +func (o GoogleCloudContentwarehouseV1DateTimeTypeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DateTimeTypeOptionsResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1DateTimeTypeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Represents the action responsible for deleting the document. type GoogleCloudContentwarehouseV1DeleteDocumentAction struct { // Boolean field to select between hard vs soft delete options. Set 'true' for 'hard delete' and 'false' for 'soft delete'. @@ -1499,6 +1740,12 @@ func (i GoogleCloudContentwarehouseV1DeleteDocumentActionArgs) ToGoogleCloudCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1DeleteDocumentActionOutput) } +func (i GoogleCloudContentwarehouseV1DeleteDocumentActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DeleteDocumentAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1DeleteDocumentAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1DeleteDocumentActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1DeleteDocumentActionArgs) ToGoogleCloudContentwarehouseV1DeleteDocumentActionPtrOutput() GoogleCloudContentwarehouseV1DeleteDocumentActionPtrOutput { return i.ToGoogleCloudContentwarehouseV1DeleteDocumentActionPtrOutputWithContext(context.Background()) } @@ -1540,6 +1787,12 @@ func (i *googleCloudContentwarehouseV1DeleteDocumentActionPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1DeleteDocumentActionPtrOutput) } +func (i *googleCloudContentwarehouseV1DeleteDocumentActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1DeleteDocumentAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1DeleteDocumentAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1DeleteDocumentActionPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the action responsible for deleting the document. type GoogleCloudContentwarehouseV1DeleteDocumentActionOutput struct{ *pulumi.OutputState } @@ -1565,6 +1818,12 @@ func (o GoogleCloudContentwarehouseV1DeleteDocumentActionOutput) ToGoogleCloudCo }).(GoogleCloudContentwarehouseV1DeleteDocumentActionPtrOutput) } +func (o GoogleCloudContentwarehouseV1DeleteDocumentActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DeleteDocumentAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1DeleteDocumentAction]{ + OutputState: o.OutputState, + } +} + // Boolean field to select between hard vs soft delete options. Set 'true' for 'hard delete' and 'false' for 'soft delete'. func (o GoogleCloudContentwarehouseV1DeleteDocumentActionOutput) EnableHardDelete() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1DeleteDocumentAction) *bool { return v.EnableHardDelete }).(pulumi.BoolPtrOutput) @@ -1584,6 +1843,12 @@ func (o GoogleCloudContentwarehouseV1DeleteDocumentActionPtrOutput) ToGoogleClou return o } +func (o GoogleCloudContentwarehouseV1DeleteDocumentActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1DeleteDocumentAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1DeleteDocumentAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1DeleteDocumentActionPtrOutput) Elem() GoogleCloudContentwarehouseV1DeleteDocumentActionOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1DeleteDocumentAction) GoogleCloudContentwarehouseV1DeleteDocumentAction { if v != nil { @@ -1625,6 +1890,12 @@ func (o GoogleCloudContentwarehouseV1DeleteDocumentActionResponseOutput) ToGoogl return o } +func (o GoogleCloudContentwarehouseV1DeleteDocumentActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1DeleteDocumentActionResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1DeleteDocumentActionResponse]{ + OutputState: o.OutputState, + } +} + // Boolean field to select between hard vs soft delete options. Set 'true' for 'hard delete' and 'false' for 'soft delete'. func (o GoogleCloudContentwarehouseV1DeleteDocumentActionResponseOutput) EnableHardDelete() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1DeleteDocumentActionResponse) bool { return v.EnableHardDelete }).(pulumi.BoolOutput) @@ -1665,6 +1936,12 @@ func (i GoogleCloudContentwarehouseV1EnumArrayArgs) ToGoogleCloudContentwarehous return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1EnumArrayOutput) } +func (i GoogleCloudContentwarehouseV1EnumArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1EnumArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1EnumArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1EnumArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1EnumArrayArgs) ToGoogleCloudContentwarehouseV1EnumArrayPtrOutput() GoogleCloudContentwarehouseV1EnumArrayPtrOutput { return i.ToGoogleCloudContentwarehouseV1EnumArrayPtrOutputWithContext(context.Background()) } @@ -1706,6 +1983,12 @@ func (i *googleCloudContentwarehouseV1EnumArrayPtrType) ToGoogleCloudContentware return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1EnumArrayPtrOutput) } +func (i *googleCloudContentwarehouseV1EnumArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1EnumArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1EnumArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1EnumArrayPtrOutputWithContext(ctx).OutputState, + } +} + // Enum values. type GoogleCloudContentwarehouseV1EnumArrayOutput struct{ *pulumi.OutputState } @@ -1731,6 +2014,12 @@ func (o GoogleCloudContentwarehouseV1EnumArrayOutput) ToGoogleCloudContentwareho }).(GoogleCloudContentwarehouseV1EnumArrayPtrOutput) } +func (o GoogleCloudContentwarehouseV1EnumArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1EnumArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1EnumArray]{ + OutputState: o.OutputState, + } +} + // List of enum values. func (o GoogleCloudContentwarehouseV1EnumArrayOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1EnumArray) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -1750,6 +2039,12 @@ func (o GoogleCloudContentwarehouseV1EnumArrayPtrOutput) ToGoogleCloudContentwar return o } +func (o GoogleCloudContentwarehouseV1EnumArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1EnumArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1EnumArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1EnumArrayPtrOutput) Elem() GoogleCloudContentwarehouseV1EnumArrayOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1EnumArray) GoogleCloudContentwarehouseV1EnumArray { if v != nil { @@ -1791,6 +2086,12 @@ func (o GoogleCloudContentwarehouseV1EnumArrayResponseOutput) ToGoogleCloudConte return o } +func (o GoogleCloudContentwarehouseV1EnumArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1EnumArrayResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1EnumArrayResponse]{ + OutputState: o.OutputState, + } +} + // List of enum values. func (o GoogleCloudContentwarehouseV1EnumArrayResponseOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1EnumArrayResponse) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -1835,6 +2136,12 @@ func (i GoogleCloudContentwarehouseV1EnumTypeOptionsArgs) ToGoogleCloudContentwa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1EnumTypeOptionsOutput) } +func (i GoogleCloudContentwarehouseV1EnumTypeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1EnumTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1EnumTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1EnumTypeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1EnumTypeOptionsArgs) ToGoogleCloudContentwarehouseV1EnumTypeOptionsPtrOutput() GoogleCloudContentwarehouseV1EnumTypeOptionsPtrOutput { return i.ToGoogleCloudContentwarehouseV1EnumTypeOptionsPtrOutputWithContext(context.Background()) } @@ -1876,6 +2183,12 @@ func (i *googleCloudContentwarehouseV1EnumTypeOptionsPtrType) ToGoogleCloudConte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1EnumTypeOptionsPtrOutput) } +func (i *googleCloudContentwarehouseV1EnumTypeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1EnumTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1EnumTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1EnumTypeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Configurations for an enum/categorical property. type GoogleCloudContentwarehouseV1EnumTypeOptionsOutput struct{ *pulumi.OutputState } @@ -1901,6 +2214,12 @@ func (o GoogleCloudContentwarehouseV1EnumTypeOptionsOutput) ToGoogleCloudContent }).(GoogleCloudContentwarehouseV1EnumTypeOptionsPtrOutput) } +func (o GoogleCloudContentwarehouseV1EnumTypeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1EnumTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1EnumTypeOptions]{ + OutputState: o.OutputState, + } +} + // List of possible enum values. func (o GoogleCloudContentwarehouseV1EnumTypeOptionsOutput) PossibleValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1EnumTypeOptions) []string { return v.PossibleValues }).(pulumi.StringArrayOutput) @@ -1925,6 +2244,12 @@ func (o GoogleCloudContentwarehouseV1EnumTypeOptionsPtrOutput) ToGoogleCloudCont return o } +func (o GoogleCloudContentwarehouseV1EnumTypeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1EnumTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1EnumTypeOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1EnumTypeOptionsPtrOutput) Elem() GoogleCloudContentwarehouseV1EnumTypeOptionsOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1EnumTypeOptions) GoogleCloudContentwarehouseV1EnumTypeOptions { if v != nil { @@ -1978,6 +2303,12 @@ func (o GoogleCloudContentwarehouseV1EnumTypeOptionsResponseOutput) ToGoogleClou return o } +func (o GoogleCloudContentwarehouseV1EnumTypeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1EnumTypeOptionsResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1EnumTypeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // List of possible enum values. func (o GoogleCloudContentwarehouseV1EnumTypeOptionsResponseOutput) PossibleValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1EnumTypeOptionsResponse) []string { return v.PossibleValues }).(pulumi.StringArrayOutput) @@ -2023,6 +2354,12 @@ func (i GoogleCloudContentwarehouseV1FloatArrayArgs) ToGoogleCloudContentwarehou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1FloatArrayOutput) } +func (i GoogleCloudContentwarehouseV1FloatArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1FloatArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1FloatArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1FloatArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1FloatArrayArgs) ToGoogleCloudContentwarehouseV1FloatArrayPtrOutput() GoogleCloudContentwarehouseV1FloatArrayPtrOutput { return i.ToGoogleCloudContentwarehouseV1FloatArrayPtrOutputWithContext(context.Background()) } @@ -2064,6 +2401,12 @@ func (i *googleCloudContentwarehouseV1FloatArrayPtrType) ToGoogleCloudContentwar return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1FloatArrayPtrOutput) } +func (i *googleCloudContentwarehouseV1FloatArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1FloatArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1FloatArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1FloatArrayPtrOutputWithContext(ctx).OutputState, + } +} + // Float values. type GoogleCloudContentwarehouseV1FloatArrayOutput struct{ *pulumi.OutputState } @@ -2089,6 +2432,12 @@ func (o GoogleCloudContentwarehouseV1FloatArrayOutput) ToGoogleCloudContentwareh }).(GoogleCloudContentwarehouseV1FloatArrayPtrOutput) } +func (o GoogleCloudContentwarehouseV1FloatArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1FloatArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1FloatArray]{ + OutputState: o.OutputState, + } +} + // List of float values. func (o GoogleCloudContentwarehouseV1FloatArrayOutput) Values() pulumi.Float64ArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1FloatArray) []float64 { return v.Values }).(pulumi.Float64ArrayOutput) @@ -2108,6 +2457,12 @@ func (o GoogleCloudContentwarehouseV1FloatArrayPtrOutput) ToGoogleCloudContentwa return o } +func (o GoogleCloudContentwarehouseV1FloatArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1FloatArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1FloatArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1FloatArrayPtrOutput) Elem() GoogleCloudContentwarehouseV1FloatArrayOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1FloatArray) GoogleCloudContentwarehouseV1FloatArray { if v != nil { @@ -2149,6 +2504,12 @@ func (o GoogleCloudContentwarehouseV1FloatArrayResponseOutput) ToGoogleCloudCont return o } +func (o GoogleCloudContentwarehouseV1FloatArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1FloatArrayResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1FloatArrayResponse]{ + OutputState: o.OutputState, + } +} + // List of float values. func (o GoogleCloudContentwarehouseV1FloatArrayResponseOutput) Values() pulumi.Float64ArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1FloatArrayResponse) []float64 { return v.Values }).(pulumi.Float64ArrayOutput) @@ -2185,6 +2546,12 @@ func (i GoogleCloudContentwarehouseV1FloatTypeOptionsArgs) ToGoogleCloudContentw return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1FloatTypeOptionsOutput) } +func (i GoogleCloudContentwarehouseV1FloatTypeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1FloatTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1FloatTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1FloatTypeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1FloatTypeOptionsArgs) ToGoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutput() GoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutput { return i.ToGoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutputWithContext(context.Background()) } @@ -2226,6 +2593,12 @@ func (i *googleCloudContentwarehouseV1FloatTypeOptionsPtrType) ToGoogleCloudCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutput) } +func (i *googleCloudContentwarehouseV1FloatTypeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1FloatTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1FloatTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Configurations for a float property. type GoogleCloudContentwarehouseV1FloatTypeOptionsOutput struct{ *pulumi.OutputState } @@ -2251,6 +2624,12 @@ func (o GoogleCloudContentwarehouseV1FloatTypeOptionsOutput) ToGoogleCloudConten }).(GoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutput) } +func (o GoogleCloudContentwarehouseV1FloatTypeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1FloatTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1FloatTypeOptions]{ + OutputState: o.OutputState, + } +} + type GoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutput) ElementType() reflect.Type { @@ -2265,6 +2644,12 @@ func (o GoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutput) ToGoogleCloudCon return o } +func (o GoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1FloatTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1FloatTypeOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1FloatTypeOptionsPtrOutput) Elem() GoogleCloudContentwarehouseV1FloatTypeOptionsOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1FloatTypeOptions) GoogleCloudContentwarehouseV1FloatTypeOptions { if v != nil { @@ -2294,6 +2679,12 @@ func (o GoogleCloudContentwarehouseV1FloatTypeOptionsResponseOutput) ToGoogleClo return o } +func (o GoogleCloudContentwarehouseV1FloatTypeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1FloatTypeOptionsResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1FloatTypeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Integer values. type GoogleCloudContentwarehouseV1IntegerArray struct { // List of integer values. @@ -2329,6 +2720,12 @@ func (i GoogleCloudContentwarehouseV1IntegerArrayArgs) ToGoogleCloudContentwareh return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1IntegerArrayOutput) } +func (i GoogleCloudContentwarehouseV1IntegerArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1IntegerArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1IntegerArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1IntegerArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1IntegerArrayArgs) ToGoogleCloudContentwarehouseV1IntegerArrayPtrOutput() GoogleCloudContentwarehouseV1IntegerArrayPtrOutput { return i.ToGoogleCloudContentwarehouseV1IntegerArrayPtrOutputWithContext(context.Background()) } @@ -2370,6 +2767,12 @@ func (i *googleCloudContentwarehouseV1IntegerArrayPtrType) ToGoogleCloudContentw return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1IntegerArrayPtrOutput) } +func (i *googleCloudContentwarehouseV1IntegerArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1IntegerArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1IntegerArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1IntegerArrayPtrOutputWithContext(ctx).OutputState, + } +} + // Integer values. type GoogleCloudContentwarehouseV1IntegerArrayOutput struct{ *pulumi.OutputState } @@ -2395,6 +2798,12 @@ func (o GoogleCloudContentwarehouseV1IntegerArrayOutput) ToGoogleCloudContentwar }).(GoogleCloudContentwarehouseV1IntegerArrayPtrOutput) } +func (o GoogleCloudContentwarehouseV1IntegerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1IntegerArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1IntegerArray]{ + OutputState: o.OutputState, + } +} + // List of integer values. func (o GoogleCloudContentwarehouseV1IntegerArrayOutput) Values() pulumi.IntArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1IntegerArray) []int { return v.Values }).(pulumi.IntArrayOutput) @@ -2414,6 +2823,12 @@ func (o GoogleCloudContentwarehouseV1IntegerArrayPtrOutput) ToGoogleCloudContent return o } +func (o GoogleCloudContentwarehouseV1IntegerArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1IntegerArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1IntegerArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1IntegerArrayPtrOutput) Elem() GoogleCloudContentwarehouseV1IntegerArrayOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1IntegerArray) GoogleCloudContentwarehouseV1IntegerArray { if v != nil { @@ -2455,6 +2870,12 @@ func (o GoogleCloudContentwarehouseV1IntegerArrayResponseOutput) ToGoogleCloudCo return o } +func (o GoogleCloudContentwarehouseV1IntegerArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1IntegerArrayResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1IntegerArrayResponse]{ + OutputState: o.OutputState, + } +} + // List of integer values. func (o GoogleCloudContentwarehouseV1IntegerArrayResponseOutput) Values() pulumi.IntArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1IntegerArrayResponse) []int { return v.Values }).(pulumi.IntArrayOutput) @@ -2491,6 +2912,12 @@ func (i GoogleCloudContentwarehouseV1IntegerTypeOptionsArgs) ToGoogleCloudConten return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1IntegerTypeOptionsOutput) } +func (i GoogleCloudContentwarehouseV1IntegerTypeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1IntegerTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1IntegerTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1IntegerTypeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1IntegerTypeOptionsArgs) ToGoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutput() GoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutput { return i.ToGoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutputWithContext(context.Background()) } @@ -2532,6 +2959,12 @@ func (i *googleCloudContentwarehouseV1IntegerTypeOptionsPtrType) ToGoogleCloudCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutput) } +func (i *googleCloudContentwarehouseV1IntegerTypeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1IntegerTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1IntegerTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Configurations for an integer property. type GoogleCloudContentwarehouseV1IntegerTypeOptionsOutput struct{ *pulumi.OutputState } @@ -2557,6 +2990,12 @@ func (o GoogleCloudContentwarehouseV1IntegerTypeOptionsOutput) ToGoogleCloudCont }).(GoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutput) } +func (o GoogleCloudContentwarehouseV1IntegerTypeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1IntegerTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1IntegerTypeOptions]{ + OutputState: o.OutputState, + } +} + type GoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutput) ElementType() reflect.Type { @@ -2571,6 +3010,12 @@ func (o GoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutput) ToGoogleCloudC return o } +func (o GoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1IntegerTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1IntegerTypeOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1IntegerTypeOptionsPtrOutput) Elem() GoogleCloudContentwarehouseV1IntegerTypeOptionsOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1IntegerTypeOptions) GoogleCloudContentwarehouseV1IntegerTypeOptions { if v != nil { @@ -2600,6 +3045,12 @@ func (o GoogleCloudContentwarehouseV1IntegerTypeOptionsResponseOutput) ToGoogleC return o } +func (o GoogleCloudContentwarehouseV1IntegerTypeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1IntegerTypeOptionsResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1IntegerTypeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Map property value. Represents a structured entries of key value pairs, consisting of field names which map to dynamically typed values. type GoogleCloudContentwarehouseV1MapProperty struct { // Unordered map of dynamically typed values. @@ -2635,6 +3086,12 @@ func (i GoogleCloudContentwarehouseV1MapPropertyArgs) ToGoogleCloudContentwareho return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1MapPropertyOutput) } +func (i GoogleCloudContentwarehouseV1MapPropertyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1MapProperty] { + return pulumix.Output[GoogleCloudContentwarehouseV1MapProperty]{ + OutputState: i.ToGoogleCloudContentwarehouseV1MapPropertyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1MapPropertyArgs) ToGoogleCloudContentwarehouseV1MapPropertyPtrOutput() GoogleCloudContentwarehouseV1MapPropertyPtrOutput { return i.ToGoogleCloudContentwarehouseV1MapPropertyPtrOutputWithContext(context.Background()) } @@ -2676,6 +3133,12 @@ func (i *googleCloudContentwarehouseV1MapPropertyPtrType) ToGoogleCloudContentwa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1MapPropertyPtrOutput) } +func (i *googleCloudContentwarehouseV1MapPropertyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1MapProperty] { + return pulumix.Output[*GoogleCloudContentwarehouseV1MapProperty]{ + OutputState: i.ToGoogleCloudContentwarehouseV1MapPropertyPtrOutputWithContext(ctx).OutputState, + } +} + // Map property value. Represents a structured entries of key value pairs, consisting of field names which map to dynamically typed values. type GoogleCloudContentwarehouseV1MapPropertyOutput struct{ *pulumi.OutputState } @@ -2701,6 +3164,12 @@ func (o GoogleCloudContentwarehouseV1MapPropertyOutput) ToGoogleCloudContentware }).(GoogleCloudContentwarehouseV1MapPropertyPtrOutput) } +func (o GoogleCloudContentwarehouseV1MapPropertyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1MapProperty] { + return pulumix.Output[GoogleCloudContentwarehouseV1MapProperty]{ + OutputState: o.OutputState, + } +} + // Unordered map of dynamically typed values. func (o GoogleCloudContentwarehouseV1MapPropertyOutput) Fields() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1MapProperty) map[string]string { return v.Fields }).(pulumi.StringMapOutput) @@ -2720,6 +3189,12 @@ func (o GoogleCloudContentwarehouseV1MapPropertyPtrOutput) ToGoogleCloudContentw return o } +func (o GoogleCloudContentwarehouseV1MapPropertyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1MapProperty] { + return pulumix.Output[*GoogleCloudContentwarehouseV1MapProperty]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1MapPropertyPtrOutput) Elem() GoogleCloudContentwarehouseV1MapPropertyOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1MapProperty) GoogleCloudContentwarehouseV1MapProperty { if v != nil { @@ -2761,6 +3236,12 @@ func (o GoogleCloudContentwarehouseV1MapPropertyResponseOutput) ToGoogleCloudCon return o } +func (o GoogleCloudContentwarehouseV1MapPropertyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1MapPropertyResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1MapPropertyResponse]{ + OutputState: o.OutputState, + } +} + // Unordered map of dynamically typed values. func (o GoogleCloudContentwarehouseV1MapPropertyResponseOutput) Fields() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1MapPropertyResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput) @@ -2797,6 +3278,12 @@ func (i GoogleCloudContentwarehouseV1MapTypeOptionsArgs) ToGoogleCloudContentwar return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1MapTypeOptionsOutput) } +func (i GoogleCloudContentwarehouseV1MapTypeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1MapTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1MapTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1MapTypeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1MapTypeOptionsArgs) ToGoogleCloudContentwarehouseV1MapTypeOptionsPtrOutput() GoogleCloudContentwarehouseV1MapTypeOptionsPtrOutput { return i.ToGoogleCloudContentwarehouseV1MapTypeOptionsPtrOutputWithContext(context.Background()) } @@ -2838,6 +3325,12 @@ func (i *googleCloudContentwarehouseV1MapTypeOptionsPtrType) ToGoogleCloudConten return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1MapTypeOptionsPtrOutput) } +func (i *googleCloudContentwarehouseV1MapTypeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1MapTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1MapTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1MapTypeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Configurations for a Map property. type GoogleCloudContentwarehouseV1MapTypeOptionsOutput struct{ *pulumi.OutputState } @@ -2863,6 +3356,12 @@ func (o GoogleCloudContentwarehouseV1MapTypeOptionsOutput) ToGoogleCloudContentw }).(GoogleCloudContentwarehouseV1MapTypeOptionsPtrOutput) } +func (o GoogleCloudContentwarehouseV1MapTypeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1MapTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1MapTypeOptions]{ + OutputState: o.OutputState, + } +} + type GoogleCloudContentwarehouseV1MapTypeOptionsPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudContentwarehouseV1MapTypeOptionsPtrOutput) ElementType() reflect.Type { @@ -2877,6 +3376,12 @@ func (o GoogleCloudContentwarehouseV1MapTypeOptionsPtrOutput) ToGoogleCloudConte return o } +func (o GoogleCloudContentwarehouseV1MapTypeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1MapTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1MapTypeOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1MapTypeOptionsPtrOutput) Elem() GoogleCloudContentwarehouseV1MapTypeOptionsOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1MapTypeOptions) GoogleCloudContentwarehouseV1MapTypeOptions { if v != nil { @@ -2906,6 +3411,12 @@ func (o GoogleCloudContentwarehouseV1MapTypeOptionsResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudContentwarehouseV1MapTypeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1MapTypeOptionsResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1MapTypeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Options for merging updated fields. type GoogleCloudContentwarehouseV1MergeFieldsOptions struct { // When merging message fields, the default behavior is to merge the content of two message fields together. If you instead want to use the field from the source message to replace the corresponding field in the destination message, set this flag to true. When this flag is set, specified submessage fields that are missing in source will be cleared in destination. @@ -2981,6 +3492,12 @@ func (i GoogleCloudContentwarehouseV1PropertyArgs) ToGoogleCloudContentwarehouse return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PropertyOutput) } +func (i GoogleCloudContentwarehouseV1PropertyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1Property] { + return pulumix.Output[GoogleCloudContentwarehouseV1Property]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PropertyOutputWithContext(ctx).OutputState, + } +} + // Property of a document. type GoogleCloudContentwarehouseV1PropertyOutput struct{ *pulumi.OutputState } @@ -2996,6 +3513,12 @@ func (o GoogleCloudContentwarehouseV1PropertyOutput) ToGoogleCloudContentwarehou return o } +func (o GoogleCloudContentwarehouseV1PropertyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1Property] { + return pulumix.Output[GoogleCloudContentwarehouseV1Property]{ + OutputState: o.OutputState, + } +} + // Date time property values. It is not supported by CMEK compliant deployment. func (o GoogleCloudContentwarehouseV1PropertyOutput) DateTimeValues() GoogleCloudContentwarehouseV1DateTimeArrayPtrOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1Property) *GoogleCloudContentwarehouseV1DateTimeArray { @@ -3092,6 +3615,12 @@ func (i GoogleCloudContentwarehouseV1PropertyArrayArgs) ToGoogleCloudContentware return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PropertyArrayOutput) } +func (i GoogleCloudContentwarehouseV1PropertyArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PropertyArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1PropertyArrayArgs) ToGoogleCloudContentwarehouseV1PropertyArrayPtrOutput() GoogleCloudContentwarehouseV1PropertyArrayPtrOutput { return i.ToGoogleCloudContentwarehouseV1PropertyArrayPtrOutputWithContext(context.Background()) } @@ -3133,6 +3662,12 @@ func (i *googleCloudContentwarehouseV1PropertyArrayPtrType) ToGoogleCloudContent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PropertyArrayPtrOutput) } +func (i *googleCloudContentwarehouseV1PropertyArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1PropertyArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1PropertyArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PropertyArrayPtrOutputWithContext(ctx).OutputState, + } +} + // Property values. type GoogleCloudContentwarehouseV1PropertyArrayOutput struct{ *pulumi.OutputState } @@ -3158,6 +3693,12 @@ func (o GoogleCloudContentwarehouseV1PropertyArrayOutput) ToGoogleCloudContentwa }).(GoogleCloudContentwarehouseV1PropertyArrayPtrOutput) } +func (o GoogleCloudContentwarehouseV1PropertyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyArray]{ + OutputState: o.OutputState, + } +} + // List of property values. func (o GoogleCloudContentwarehouseV1PropertyArrayOutput) Properties() GoogleCloudContentwarehouseV1PropertyArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PropertyArray) []GoogleCloudContentwarehouseV1Property { @@ -3179,6 +3720,12 @@ func (o GoogleCloudContentwarehouseV1PropertyArrayPtrOutput) ToGoogleCloudConten return o } +func (o GoogleCloudContentwarehouseV1PropertyArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1PropertyArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1PropertyArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1PropertyArrayPtrOutput) Elem() GoogleCloudContentwarehouseV1PropertyArrayOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1PropertyArray) GoogleCloudContentwarehouseV1PropertyArray { if v != nil { @@ -3220,6 +3767,12 @@ func (o GoogleCloudContentwarehouseV1PropertyArrayResponseOutput) ToGoogleCloudC return o } +func (o GoogleCloudContentwarehouseV1PropertyArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyArrayResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyArrayResponse]{ + OutputState: o.OutputState, + } +} + // List of property values. func (o GoogleCloudContentwarehouseV1PropertyArrayResponseOutput) Properties() GoogleCloudContentwarehouseV1PropertyResponseArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PropertyArrayResponse) []GoogleCloudContentwarehouseV1PropertyResponse { @@ -3326,6 +3879,12 @@ func (i GoogleCloudContentwarehouseV1PropertyDefinitionArgs) ToGoogleCloudConten return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PropertyDefinitionOutput) } +func (i GoogleCloudContentwarehouseV1PropertyDefinitionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinition] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinition]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PropertyDefinitionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudContentwarehouseV1PropertyDefinitionArrayInput is an input type that accepts GoogleCloudContentwarehouseV1PropertyDefinitionArray and GoogleCloudContentwarehouseV1PropertyDefinitionArrayOutput values. // You can construct a concrete instance of `GoogleCloudContentwarehouseV1PropertyDefinitionArrayInput` via: // @@ -3351,6 +3910,12 @@ func (i GoogleCloudContentwarehouseV1PropertyDefinitionArray) ToGoogleCloudConte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PropertyDefinitionArrayOutput) } +func (i GoogleCloudContentwarehouseV1PropertyDefinitionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinition] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinition]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PropertyDefinitionArrayOutputWithContext(ctx).OutputState, + } +} + // Defines the metadata for a schema property. type GoogleCloudContentwarehouseV1PropertyDefinitionOutput struct{ *pulumi.OutputState } @@ -3366,6 +3931,12 @@ func (o GoogleCloudContentwarehouseV1PropertyDefinitionOutput) ToGoogleCloudCont return o } +func (o GoogleCloudContentwarehouseV1PropertyDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinition] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinition]{ + OutputState: o.OutputState, + } +} + // Date time property. It is not supported by CMEK compliant deployment. func (o GoogleCloudContentwarehouseV1PropertyDefinitionOutput) DateTimeTypeOptions() GoogleCloudContentwarehouseV1DateTimeTypeOptionsPtrOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PropertyDefinition) *GoogleCloudContentwarehouseV1DateTimeTypeOptions { @@ -3485,6 +4056,12 @@ func (o GoogleCloudContentwarehouseV1PropertyDefinitionArrayOutput) ToGoogleClou return o } +func (o GoogleCloudContentwarehouseV1PropertyDefinitionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinition] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1PropertyDefinitionArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1PropertyDefinitionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1PropertyDefinition { return vs[0].([]GoogleCloudContentwarehouseV1PropertyDefinition)[vs[1].(int)] @@ -3544,6 +4121,12 @@ func (o GoogleCloudContentwarehouseV1PropertyDefinitionResponseOutput) ToGoogleC return o } +func (o GoogleCloudContentwarehouseV1PropertyDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinitionResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // Date time property. It is not supported by CMEK compliant deployment. func (o GoogleCloudContentwarehouseV1PropertyDefinitionResponseOutput) DateTimeTypeOptions() GoogleCloudContentwarehouseV1DateTimeTypeOptionsResponseOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PropertyDefinitionResponse) GoogleCloudContentwarehouseV1DateTimeTypeOptionsResponse { @@ -3661,6 +4244,12 @@ func (o GoogleCloudContentwarehouseV1PropertyDefinitionResponseArrayOutput) ToGo return o } +func (o GoogleCloudContentwarehouseV1PropertyDefinitionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinitionResponse] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinitionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1PropertyDefinitionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1PropertyDefinitionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1PropertyDefinitionResponse { return vs[0].([]GoogleCloudContentwarehouseV1PropertyDefinitionResponse)[vs[1].(int)] @@ -3706,6 +4295,12 @@ func (i GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceOutput) } +func (i GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArrayInput is an input type that accepts GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArray and GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArrayOutput values. // You can construct a concrete instance of `GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArrayInput` via: // @@ -3731,6 +4326,12 @@ func (i GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArray) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArrayOutput) } +func (i GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArrayOutputWithContext(ctx).OutputState, + } +} + // The schema source information. type GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceOutput struct{ *pulumi.OutputState } @@ -3746,6 +4347,12 @@ func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceOutput) ToGoo return o } +func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource]{ + OutputState: o.OutputState, + } +} + // The schema name in the source. func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -3770,6 +4377,12 @@ func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArrayOutput) return o } +func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource { return vs[0].([]GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSource)[vs[1].(int)] @@ -3799,6 +4412,12 @@ func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponseOutpu return o } +func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponse]{ + OutputState: o.OutputState, + } +} + // The schema name in the source. func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponse) string { return v.Name }).(pulumi.StringOutput) @@ -3825,6 +4444,12 @@ func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponseArray return o } +func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponse] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponse { return vs[0].([]GoogleCloudContentwarehouseV1PropertyDefinitionSchemaSourceResponse)[vs[1].(int)] @@ -3868,6 +4493,12 @@ func (o GoogleCloudContentwarehouseV1PropertyResponseOutput) ToGoogleCloudConten return o } +func (o GoogleCloudContentwarehouseV1PropertyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyResponse]{ + OutputState: o.OutputState, + } +} + // Date time property values. It is not supported by CMEK compliant deployment. func (o GoogleCloudContentwarehouseV1PropertyResponseOutput) DateTimeValues() GoogleCloudContentwarehouseV1DateTimeArrayResponseOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PropertyResponse) GoogleCloudContentwarehouseV1DateTimeArrayResponse { @@ -3943,6 +4574,12 @@ func (o GoogleCloudContentwarehouseV1PropertyResponseArrayOutput) ToGoogleCloudC return o } +func (o GoogleCloudContentwarehouseV1PropertyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyResponse] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1PropertyResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1PropertyResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1PropertyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1PropertyResponse { return vs[0].([]GoogleCloudContentwarehouseV1PropertyResponse)[vs[1].(int)] @@ -3984,6 +4621,12 @@ func (i GoogleCloudContentwarehouseV1PropertyTypeOptionsArgs) ToGoogleCloudConte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PropertyTypeOptionsOutput) } +func (i GoogleCloudContentwarehouseV1PropertyTypeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PropertyTypeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1PropertyTypeOptionsArgs) ToGoogleCloudContentwarehouseV1PropertyTypeOptionsPtrOutput() GoogleCloudContentwarehouseV1PropertyTypeOptionsPtrOutput { return i.ToGoogleCloudContentwarehouseV1PropertyTypeOptionsPtrOutputWithContext(context.Background()) } @@ -4025,6 +4668,12 @@ func (i *googleCloudContentwarehouseV1PropertyTypeOptionsPtrType) ToGoogleCloudC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PropertyTypeOptionsPtrOutput) } +func (i *googleCloudContentwarehouseV1PropertyTypeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1PropertyTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1PropertyTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PropertyTypeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Configurations for a nested structured data property. type GoogleCloudContentwarehouseV1PropertyTypeOptionsOutput struct{ *pulumi.OutputState } @@ -4050,6 +4699,12 @@ func (o GoogleCloudContentwarehouseV1PropertyTypeOptionsOutput) ToGoogleCloudCon }).(GoogleCloudContentwarehouseV1PropertyTypeOptionsPtrOutput) } +func (o GoogleCloudContentwarehouseV1PropertyTypeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyTypeOptions]{ + OutputState: o.OutputState, + } +} + // List of property definitions. func (o GoogleCloudContentwarehouseV1PropertyTypeOptionsOutput) PropertyDefinitions() GoogleCloudContentwarehouseV1PropertyDefinitionArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PropertyTypeOptions) []GoogleCloudContentwarehouseV1PropertyDefinition { @@ -4071,6 +4726,12 @@ func (o GoogleCloudContentwarehouseV1PropertyTypeOptionsPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudContentwarehouseV1PropertyTypeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1PropertyTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1PropertyTypeOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1PropertyTypeOptionsPtrOutput) Elem() GoogleCloudContentwarehouseV1PropertyTypeOptionsOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1PropertyTypeOptions) GoogleCloudContentwarehouseV1PropertyTypeOptions { if v != nil { @@ -4112,6 +4773,12 @@ func (o GoogleCloudContentwarehouseV1PropertyTypeOptionsResponseOutput) ToGoogle return o } +func (o GoogleCloudContentwarehouseV1PropertyTypeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PropertyTypeOptionsResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1PropertyTypeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // List of property definitions. func (o GoogleCloudContentwarehouseV1PropertyTypeOptionsResponseOutput) PropertyDefinitions() GoogleCloudContentwarehouseV1PropertyDefinitionResponseArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PropertyTypeOptionsResponse) []GoogleCloudContentwarehouseV1PropertyDefinitionResponse { @@ -4158,6 +4825,12 @@ func (i GoogleCloudContentwarehouseV1PublishActionArgs) ToGoogleCloudContentware return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PublishActionOutput) } +func (i GoogleCloudContentwarehouseV1PublishActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PublishAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1PublishAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PublishActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1PublishActionArgs) ToGoogleCloudContentwarehouseV1PublishActionPtrOutput() GoogleCloudContentwarehouseV1PublishActionPtrOutput { return i.ToGoogleCloudContentwarehouseV1PublishActionPtrOutputWithContext(context.Background()) } @@ -4199,6 +4872,12 @@ func (i *googleCloudContentwarehouseV1PublishActionPtrType) ToGoogleCloudContent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1PublishActionPtrOutput) } +func (i *googleCloudContentwarehouseV1PublishActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1PublishAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1PublishAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1PublishActionPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the action responsible for publishing messages to a Pub/Sub topic. type GoogleCloudContentwarehouseV1PublishActionOutput struct{ *pulumi.OutputState } @@ -4224,6 +4903,12 @@ func (o GoogleCloudContentwarehouseV1PublishActionOutput) ToGoogleCloudContentwa }).(GoogleCloudContentwarehouseV1PublishActionPtrOutput) } +func (o GoogleCloudContentwarehouseV1PublishActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PublishAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1PublishAction]{ + OutputState: o.OutputState, + } +} + // Messages to be published. func (o GoogleCloudContentwarehouseV1PublishActionOutput) Messages() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PublishAction) []string { return v.Messages }).(pulumi.StringArrayOutput) @@ -4248,6 +4933,12 @@ func (o GoogleCloudContentwarehouseV1PublishActionPtrOutput) ToGoogleCloudConten return o } +func (o GoogleCloudContentwarehouseV1PublishActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1PublishAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1PublishAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1PublishActionPtrOutput) Elem() GoogleCloudContentwarehouseV1PublishActionOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1PublishAction) GoogleCloudContentwarehouseV1PublishAction { if v != nil { @@ -4301,6 +4992,12 @@ func (o GoogleCloudContentwarehouseV1PublishActionResponseOutput) ToGoogleCloudC return o } +func (o GoogleCloudContentwarehouseV1PublishActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1PublishActionResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1PublishActionResponse]{ + OutputState: o.OutputState, + } +} + // Messages to be published. func (o GoogleCloudContentwarehouseV1PublishActionResponseOutput) Messages() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1PublishActionResponse) []string { return v.Messages }).(pulumi.StringArrayOutput) @@ -4350,6 +5047,12 @@ func (i GoogleCloudContentwarehouseV1RemoveFromFolderActionArgs) ToGoogleCloudCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1RemoveFromFolderActionOutput) } +func (i GoogleCloudContentwarehouseV1RemoveFromFolderActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1RemoveFromFolderAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1RemoveFromFolderAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1RemoveFromFolderActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1RemoveFromFolderActionArgs) ToGoogleCloudContentwarehouseV1RemoveFromFolderActionPtrOutput() GoogleCloudContentwarehouseV1RemoveFromFolderActionPtrOutput { return i.ToGoogleCloudContentwarehouseV1RemoveFromFolderActionPtrOutputWithContext(context.Background()) } @@ -4391,6 +5094,12 @@ func (i *googleCloudContentwarehouseV1RemoveFromFolderActionPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1RemoveFromFolderActionPtrOutput) } +func (i *googleCloudContentwarehouseV1RemoveFromFolderActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1RemoveFromFolderAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1RemoveFromFolderAction]{ + OutputState: i.ToGoogleCloudContentwarehouseV1RemoveFromFolderActionPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the action responsible for remove a document from a specific folder. type GoogleCloudContentwarehouseV1RemoveFromFolderActionOutput struct{ *pulumi.OutputState } @@ -4416,6 +5125,12 @@ func (o GoogleCloudContentwarehouseV1RemoveFromFolderActionOutput) ToGoogleCloud }).(GoogleCloudContentwarehouseV1RemoveFromFolderActionPtrOutput) } +func (o GoogleCloudContentwarehouseV1RemoveFromFolderActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1RemoveFromFolderAction] { + return pulumix.Output[GoogleCloudContentwarehouseV1RemoveFromFolderAction]{ + OutputState: o.OutputState, + } +} + // Condition of the action to be executed. func (o GoogleCloudContentwarehouseV1RemoveFromFolderActionOutput) Condition() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1RemoveFromFolderAction) *string { return v.Condition }).(pulumi.StringPtrOutput) @@ -4440,6 +5155,12 @@ func (o GoogleCloudContentwarehouseV1RemoveFromFolderActionPtrOutput) ToGoogleCl return o } +func (o GoogleCloudContentwarehouseV1RemoveFromFolderActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1RemoveFromFolderAction] { + return pulumix.Output[*GoogleCloudContentwarehouseV1RemoveFromFolderAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1RemoveFromFolderActionPtrOutput) Elem() GoogleCloudContentwarehouseV1RemoveFromFolderActionOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1RemoveFromFolderAction) GoogleCloudContentwarehouseV1RemoveFromFolderAction { if v != nil { @@ -4493,6 +5214,12 @@ func (o GoogleCloudContentwarehouseV1RemoveFromFolderActionResponseOutput) ToGoo return o } +func (o GoogleCloudContentwarehouseV1RemoveFromFolderActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1RemoveFromFolderActionResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1RemoveFromFolderActionResponse]{ + OutputState: o.OutputState, + } +} + // Condition of the action to be executed. func (o GoogleCloudContentwarehouseV1RemoveFromFolderActionResponseOutput) Condition() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1RemoveFromFolderActionResponse) string { return v.Condition }).(pulumi.StringOutput) @@ -4538,6 +5265,12 @@ func (i GoogleCloudContentwarehouseV1RequestMetadataArgs) ToGoogleCloudContentwa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1RequestMetadataOutput) } +func (i GoogleCloudContentwarehouseV1RequestMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1RequestMetadata] { + return pulumix.Output[GoogleCloudContentwarehouseV1RequestMetadata]{ + OutputState: i.ToGoogleCloudContentwarehouseV1RequestMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1RequestMetadataArgs) ToGoogleCloudContentwarehouseV1RequestMetadataPtrOutput() GoogleCloudContentwarehouseV1RequestMetadataPtrOutput { return i.ToGoogleCloudContentwarehouseV1RequestMetadataPtrOutputWithContext(context.Background()) } @@ -4579,6 +5312,12 @@ func (i *googleCloudContentwarehouseV1RequestMetadataPtrType) ToGoogleCloudConte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1RequestMetadataPtrOutput) } +func (i *googleCloudContentwarehouseV1RequestMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1RequestMetadata] { + return pulumix.Output[*GoogleCloudContentwarehouseV1RequestMetadata]{ + OutputState: i.ToGoogleCloudContentwarehouseV1RequestMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Meta information is used to improve the performance of the service. type GoogleCloudContentwarehouseV1RequestMetadataOutput struct{ *pulumi.OutputState } @@ -4604,6 +5343,12 @@ func (o GoogleCloudContentwarehouseV1RequestMetadataOutput) ToGoogleCloudContent }).(GoogleCloudContentwarehouseV1RequestMetadataPtrOutput) } +func (o GoogleCloudContentwarehouseV1RequestMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1RequestMetadata] { + return pulumix.Output[GoogleCloudContentwarehouseV1RequestMetadata]{ + OutputState: o.OutputState, + } +} + // Provides user unique identification and groups information. func (o GoogleCloudContentwarehouseV1RequestMetadataOutput) UserInfo() GoogleCloudContentwarehouseV1UserInfoPtrOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1RequestMetadata) *GoogleCloudContentwarehouseV1UserInfo { @@ -4625,6 +5370,12 @@ func (o GoogleCloudContentwarehouseV1RequestMetadataPtrOutput) ToGoogleCloudCont return o } +func (o GoogleCloudContentwarehouseV1RequestMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1RequestMetadata] { + return pulumix.Output[*GoogleCloudContentwarehouseV1RequestMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1RequestMetadataPtrOutput) Elem() GoogleCloudContentwarehouseV1RequestMetadataOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1RequestMetadata) GoogleCloudContentwarehouseV1RequestMetadata { if v != nil { @@ -4696,6 +5447,12 @@ func (i GoogleCloudContentwarehouseV1RuleArgs) ToGoogleCloudContentwarehouseV1Ru return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1RuleOutput) } +func (i GoogleCloudContentwarehouseV1RuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1Rule] { + return pulumix.Output[GoogleCloudContentwarehouseV1Rule]{ + OutputState: i.ToGoogleCloudContentwarehouseV1RuleOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudContentwarehouseV1RuleArrayInput is an input type that accepts GoogleCloudContentwarehouseV1RuleArray and GoogleCloudContentwarehouseV1RuleArrayOutput values. // You can construct a concrete instance of `GoogleCloudContentwarehouseV1RuleArrayInput` via: // @@ -4721,6 +5478,12 @@ func (i GoogleCloudContentwarehouseV1RuleArray) ToGoogleCloudContentwarehouseV1R return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1RuleArrayOutput) } +func (i GoogleCloudContentwarehouseV1RuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1Rule] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1Rule]{ + OutputState: i.ToGoogleCloudContentwarehouseV1RuleArrayOutputWithContext(ctx).OutputState, + } +} + // Represents the rule for a content warehouse trigger. type GoogleCloudContentwarehouseV1RuleOutput struct{ *pulumi.OutputState } @@ -4736,6 +5499,12 @@ func (o GoogleCloudContentwarehouseV1RuleOutput) ToGoogleCloudContentwarehouseV1 return o } +func (o GoogleCloudContentwarehouseV1RuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1Rule] { + return pulumix.Output[GoogleCloudContentwarehouseV1Rule]{ + OutputState: o.OutputState, + } +} + // List of actions that are executed when the rule is satisfied. func (o GoogleCloudContentwarehouseV1RuleOutput) Actions() GoogleCloudContentwarehouseV1ActionArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1Rule) []GoogleCloudContentwarehouseV1Action { return v.Actions }).(GoogleCloudContentwarehouseV1ActionArrayOutput) @@ -4777,6 +5546,12 @@ func (o GoogleCloudContentwarehouseV1RuleArrayOutput) ToGoogleCloudContentwareho return o } +func (o GoogleCloudContentwarehouseV1RuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1Rule] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1Rule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1RuleArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1RuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1Rule { return vs[0].([]GoogleCloudContentwarehouseV1Rule)[vs[1].(int)] @@ -4812,6 +5587,12 @@ func (o GoogleCloudContentwarehouseV1RuleResponseOutput) ToGoogleCloudContentwar return o } +func (o GoogleCloudContentwarehouseV1RuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1RuleResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1RuleResponse]{ + OutputState: o.OutputState, + } +} + // List of actions that are executed when the rule is satisfied. func (o GoogleCloudContentwarehouseV1RuleResponseOutput) Actions() GoogleCloudContentwarehouseV1ActionResponseArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1RuleResponse) []GoogleCloudContentwarehouseV1ActionResponse { @@ -4853,6 +5634,12 @@ func (o GoogleCloudContentwarehouseV1RuleResponseArrayOutput) ToGoogleCloudConte return o } +func (o GoogleCloudContentwarehouseV1RuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1RuleResponse] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1RuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1RuleResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1RuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1RuleResponse { return vs[0].([]GoogleCloudContentwarehouseV1RuleResponse)[vs[1].(int)] @@ -4894,6 +5681,12 @@ func (i GoogleCloudContentwarehouseV1SynonymSetSynonymArgs) ToGoogleCloudContent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1SynonymSetSynonymOutput) } +func (i GoogleCloudContentwarehouseV1SynonymSetSynonymArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1SynonymSetSynonym] { + return pulumix.Output[GoogleCloudContentwarehouseV1SynonymSetSynonym]{ + OutputState: i.ToGoogleCloudContentwarehouseV1SynonymSetSynonymOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudContentwarehouseV1SynonymSetSynonymArrayInput is an input type that accepts GoogleCloudContentwarehouseV1SynonymSetSynonymArray and GoogleCloudContentwarehouseV1SynonymSetSynonymArrayOutput values. // You can construct a concrete instance of `GoogleCloudContentwarehouseV1SynonymSetSynonymArrayInput` via: // @@ -4919,6 +5712,12 @@ func (i GoogleCloudContentwarehouseV1SynonymSetSynonymArray) ToGoogleCloudConten return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1SynonymSetSynonymArrayOutput) } +func (i GoogleCloudContentwarehouseV1SynonymSetSynonymArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1SynonymSetSynonym] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1SynonymSetSynonym]{ + OutputState: i.ToGoogleCloudContentwarehouseV1SynonymSetSynonymArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a list of words given by the customer All these words are synonyms of each other. type GoogleCloudContentwarehouseV1SynonymSetSynonymOutput struct{ *pulumi.OutputState } @@ -4934,6 +5733,12 @@ func (o GoogleCloudContentwarehouseV1SynonymSetSynonymOutput) ToGoogleCloudConte return o } +func (o GoogleCloudContentwarehouseV1SynonymSetSynonymOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1SynonymSetSynonym] { + return pulumix.Output[GoogleCloudContentwarehouseV1SynonymSetSynonym]{ + OutputState: o.OutputState, + } +} + // For example: sale, invoice, bill, order func (o GoogleCloudContentwarehouseV1SynonymSetSynonymOutput) Words() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1SynonymSetSynonym) []string { return v.Words }).(pulumi.StringArrayOutput) @@ -4953,6 +5758,12 @@ func (o GoogleCloudContentwarehouseV1SynonymSetSynonymArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudContentwarehouseV1SynonymSetSynonymArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1SynonymSetSynonym] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1SynonymSetSynonym]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1SynonymSetSynonymArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1SynonymSetSynonymOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1SynonymSetSynonym { return vs[0].([]GoogleCloudContentwarehouseV1SynonymSetSynonym)[vs[1].(int)] @@ -4980,6 +5791,12 @@ func (o GoogleCloudContentwarehouseV1SynonymSetSynonymResponseOutput) ToGoogleCl return o } +func (o GoogleCloudContentwarehouseV1SynonymSetSynonymResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1SynonymSetSynonymResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1SynonymSetSynonymResponse]{ + OutputState: o.OutputState, + } +} + // For example: sale, invoice, bill, order func (o GoogleCloudContentwarehouseV1SynonymSetSynonymResponseOutput) Words() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1SynonymSetSynonymResponse) []string { return v.Words }).(pulumi.StringArrayOutput) @@ -4999,6 +5816,12 @@ func (o GoogleCloudContentwarehouseV1SynonymSetSynonymResponseArrayOutput) ToGoo return o } +func (o GoogleCloudContentwarehouseV1SynonymSetSynonymResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1SynonymSetSynonymResponse] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1SynonymSetSynonymResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1SynonymSetSynonymResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1SynonymSetSynonymResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1SynonymSetSynonymResponse { return vs[0].([]GoogleCloudContentwarehouseV1SynonymSetSynonymResponse)[vs[1].(int)] @@ -5040,6 +5863,12 @@ func (i GoogleCloudContentwarehouseV1TextArrayArgs) ToGoogleCloudContentwarehous return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1TextArrayOutput) } +func (i GoogleCloudContentwarehouseV1TextArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TextArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1TextArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1TextArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1TextArrayArgs) ToGoogleCloudContentwarehouseV1TextArrayPtrOutput() GoogleCloudContentwarehouseV1TextArrayPtrOutput { return i.ToGoogleCloudContentwarehouseV1TextArrayPtrOutputWithContext(context.Background()) } @@ -5081,6 +5910,12 @@ func (i *googleCloudContentwarehouseV1TextArrayPtrType) ToGoogleCloudContentware return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1TextArrayPtrOutput) } +func (i *googleCloudContentwarehouseV1TextArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1TextArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1TextArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1TextArrayPtrOutputWithContext(ctx).OutputState, + } +} + // String/text values. type GoogleCloudContentwarehouseV1TextArrayOutput struct{ *pulumi.OutputState } @@ -5106,6 +5941,12 @@ func (o GoogleCloudContentwarehouseV1TextArrayOutput) ToGoogleCloudContentwareho }).(GoogleCloudContentwarehouseV1TextArrayPtrOutput) } +func (o GoogleCloudContentwarehouseV1TextArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TextArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1TextArray]{ + OutputState: o.OutputState, + } +} + // List of text values. func (o GoogleCloudContentwarehouseV1TextArrayOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1TextArray) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -5125,6 +5966,12 @@ func (o GoogleCloudContentwarehouseV1TextArrayPtrOutput) ToGoogleCloudContentwar return o } +func (o GoogleCloudContentwarehouseV1TextArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1TextArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1TextArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1TextArrayPtrOutput) Elem() GoogleCloudContentwarehouseV1TextArrayOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1TextArray) GoogleCloudContentwarehouseV1TextArray { if v != nil { @@ -5166,6 +6013,12 @@ func (o GoogleCloudContentwarehouseV1TextArrayResponseOutput) ToGoogleCloudConte return o } +func (o GoogleCloudContentwarehouseV1TextArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TextArrayResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1TextArrayResponse]{ + OutputState: o.OutputState, + } +} + // List of text values. func (o GoogleCloudContentwarehouseV1TextArrayResponseOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1TextArrayResponse) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -5202,6 +6055,12 @@ func (i GoogleCloudContentwarehouseV1TextTypeOptionsArgs) ToGoogleCloudContentwa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1TextTypeOptionsOutput) } +func (i GoogleCloudContentwarehouseV1TextTypeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TextTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1TextTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1TextTypeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1TextTypeOptionsArgs) ToGoogleCloudContentwarehouseV1TextTypeOptionsPtrOutput() GoogleCloudContentwarehouseV1TextTypeOptionsPtrOutput { return i.ToGoogleCloudContentwarehouseV1TextTypeOptionsPtrOutputWithContext(context.Background()) } @@ -5243,6 +6102,12 @@ func (i *googleCloudContentwarehouseV1TextTypeOptionsPtrType) ToGoogleCloudConte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1TextTypeOptionsPtrOutput) } +func (i *googleCloudContentwarehouseV1TextTypeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1TextTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1TextTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1TextTypeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Configurations for a text property. type GoogleCloudContentwarehouseV1TextTypeOptionsOutput struct{ *pulumi.OutputState } @@ -5268,6 +6133,12 @@ func (o GoogleCloudContentwarehouseV1TextTypeOptionsOutput) ToGoogleCloudContent }).(GoogleCloudContentwarehouseV1TextTypeOptionsPtrOutput) } +func (o GoogleCloudContentwarehouseV1TextTypeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TextTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1TextTypeOptions]{ + OutputState: o.OutputState, + } +} + type GoogleCloudContentwarehouseV1TextTypeOptionsPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudContentwarehouseV1TextTypeOptionsPtrOutput) ElementType() reflect.Type { @@ -5282,6 +6153,12 @@ func (o GoogleCloudContentwarehouseV1TextTypeOptionsPtrOutput) ToGoogleCloudCont return o } +func (o GoogleCloudContentwarehouseV1TextTypeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1TextTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1TextTypeOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1TextTypeOptionsPtrOutput) Elem() GoogleCloudContentwarehouseV1TextTypeOptionsOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1TextTypeOptions) GoogleCloudContentwarehouseV1TextTypeOptions { if v != nil { @@ -5311,6 +6188,12 @@ func (o GoogleCloudContentwarehouseV1TextTypeOptionsResponseOutput) ToGoogleClou return o } +func (o GoogleCloudContentwarehouseV1TextTypeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TextTypeOptionsResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1TextTypeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Timestamp values. type GoogleCloudContentwarehouseV1TimestampArray struct { // List of timestamp values. @@ -5346,6 +6229,12 @@ func (i GoogleCloudContentwarehouseV1TimestampArrayArgs) ToGoogleCloudContentwar return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1TimestampArrayOutput) } +func (i GoogleCloudContentwarehouseV1TimestampArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TimestampArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1TimestampArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1TimestampArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1TimestampArrayArgs) ToGoogleCloudContentwarehouseV1TimestampArrayPtrOutput() GoogleCloudContentwarehouseV1TimestampArrayPtrOutput { return i.ToGoogleCloudContentwarehouseV1TimestampArrayPtrOutputWithContext(context.Background()) } @@ -5387,6 +6276,12 @@ func (i *googleCloudContentwarehouseV1TimestampArrayPtrType) ToGoogleCloudConten return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1TimestampArrayPtrOutput) } +func (i *googleCloudContentwarehouseV1TimestampArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1TimestampArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1TimestampArray]{ + OutputState: i.ToGoogleCloudContentwarehouseV1TimestampArrayPtrOutputWithContext(ctx).OutputState, + } +} + // Timestamp values. type GoogleCloudContentwarehouseV1TimestampArrayOutput struct{ *pulumi.OutputState } @@ -5412,6 +6307,12 @@ func (o GoogleCloudContentwarehouseV1TimestampArrayOutput) ToGoogleCloudContentw }).(GoogleCloudContentwarehouseV1TimestampArrayPtrOutput) } +func (o GoogleCloudContentwarehouseV1TimestampArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TimestampArray] { + return pulumix.Output[GoogleCloudContentwarehouseV1TimestampArray]{ + OutputState: o.OutputState, + } +} + // List of timestamp values. func (o GoogleCloudContentwarehouseV1TimestampArrayOutput) Values() GoogleCloudContentwarehouseV1TimestampValueArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1TimestampArray) []GoogleCloudContentwarehouseV1TimestampValue { @@ -5433,6 +6334,12 @@ func (o GoogleCloudContentwarehouseV1TimestampArrayPtrOutput) ToGoogleCloudConte return o } +func (o GoogleCloudContentwarehouseV1TimestampArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1TimestampArray] { + return pulumix.Output[*GoogleCloudContentwarehouseV1TimestampArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1TimestampArrayPtrOutput) Elem() GoogleCloudContentwarehouseV1TimestampArrayOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1TimestampArray) GoogleCloudContentwarehouseV1TimestampArray { if v != nil { @@ -5474,6 +6381,12 @@ func (o GoogleCloudContentwarehouseV1TimestampArrayResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudContentwarehouseV1TimestampArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TimestampArrayResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1TimestampArrayResponse]{ + OutputState: o.OutputState, + } +} + // List of timestamp values. func (o GoogleCloudContentwarehouseV1TimestampArrayResponseOutput) Values() GoogleCloudContentwarehouseV1TimestampValueResponseArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1TimestampArrayResponse) []GoogleCloudContentwarehouseV1TimestampValueResponse { @@ -5512,6 +6425,12 @@ func (i GoogleCloudContentwarehouseV1TimestampTypeOptionsArgs) ToGoogleCloudCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1TimestampTypeOptionsOutput) } +func (i GoogleCloudContentwarehouseV1TimestampTypeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TimestampTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1TimestampTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1TimestampTypeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1TimestampTypeOptionsArgs) ToGoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutput() GoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutput { return i.ToGoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutputWithContext(context.Background()) } @@ -5553,6 +6472,12 @@ func (i *googleCloudContentwarehouseV1TimestampTypeOptionsPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutput) } +func (i *googleCloudContentwarehouseV1TimestampTypeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1TimestampTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1TimestampTypeOptions]{ + OutputState: i.ToGoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Configurations for a timestamp property. type GoogleCloudContentwarehouseV1TimestampTypeOptionsOutput struct{ *pulumi.OutputState } @@ -5578,6 +6503,12 @@ func (o GoogleCloudContentwarehouseV1TimestampTypeOptionsOutput) ToGoogleCloudCo }).(GoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutput) } +func (o GoogleCloudContentwarehouseV1TimestampTypeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TimestampTypeOptions] { + return pulumix.Output[GoogleCloudContentwarehouseV1TimestampTypeOptions]{ + OutputState: o.OutputState, + } +} + type GoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutput) ElementType() reflect.Type { @@ -5592,6 +6523,12 @@ func (o GoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutput) ToGoogleClou return o } +func (o GoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1TimestampTypeOptions] { + return pulumix.Output[*GoogleCloudContentwarehouseV1TimestampTypeOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1TimestampTypeOptionsPtrOutput) Elem() GoogleCloudContentwarehouseV1TimestampTypeOptionsOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1TimestampTypeOptions) GoogleCloudContentwarehouseV1TimestampTypeOptions { if v != nil { @@ -5621,6 +6558,12 @@ func (o GoogleCloudContentwarehouseV1TimestampTypeOptionsResponseOutput) ToGoogl return o } +func (o GoogleCloudContentwarehouseV1TimestampTypeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TimestampTypeOptionsResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1TimestampTypeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Timestamp value type. type GoogleCloudContentwarehouseV1TimestampValue struct { // The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT. e.g. "2013-09-29T18:46:19Z" @@ -5660,6 +6603,12 @@ func (i GoogleCloudContentwarehouseV1TimestampValueArgs) ToGoogleCloudContentwar return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1TimestampValueOutput) } +func (i GoogleCloudContentwarehouseV1TimestampValueArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TimestampValue] { + return pulumix.Output[GoogleCloudContentwarehouseV1TimestampValue]{ + OutputState: i.ToGoogleCloudContentwarehouseV1TimestampValueOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudContentwarehouseV1TimestampValueArrayInput is an input type that accepts GoogleCloudContentwarehouseV1TimestampValueArray and GoogleCloudContentwarehouseV1TimestampValueArrayOutput values. // You can construct a concrete instance of `GoogleCloudContentwarehouseV1TimestampValueArrayInput` via: // @@ -5685,6 +6634,12 @@ func (i GoogleCloudContentwarehouseV1TimestampValueArray) ToGoogleCloudContentwa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1TimestampValueArrayOutput) } +func (i GoogleCloudContentwarehouseV1TimestampValueArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1TimestampValue] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1TimestampValue]{ + OutputState: i.ToGoogleCloudContentwarehouseV1TimestampValueArrayOutputWithContext(ctx).OutputState, + } +} + // Timestamp value type. type GoogleCloudContentwarehouseV1TimestampValueOutput struct{ *pulumi.OutputState } @@ -5700,6 +6655,12 @@ func (o GoogleCloudContentwarehouseV1TimestampValueOutput) ToGoogleCloudContentw return o } +func (o GoogleCloudContentwarehouseV1TimestampValueOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TimestampValue] { + return pulumix.Output[GoogleCloudContentwarehouseV1TimestampValue]{ + OutputState: o.OutputState, + } +} + // The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT. e.g. "2013-09-29T18:46:19Z" func (o GoogleCloudContentwarehouseV1TimestampValueOutput) TextValue() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1TimestampValue) *string { return v.TextValue }).(pulumi.StringPtrOutput) @@ -5724,6 +6685,12 @@ func (o GoogleCloudContentwarehouseV1TimestampValueArrayOutput) ToGoogleCloudCon return o } +func (o GoogleCloudContentwarehouseV1TimestampValueArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1TimestampValue] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1TimestampValue]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1TimestampValueArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1TimestampValueOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1TimestampValue { return vs[0].([]GoogleCloudContentwarehouseV1TimestampValue)[vs[1].(int)] @@ -5753,6 +6720,12 @@ func (o GoogleCloudContentwarehouseV1TimestampValueResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudContentwarehouseV1TimestampValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1TimestampValueResponse] { + return pulumix.Output[GoogleCloudContentwarehouseV1TimestampValueResponse]{ + OutputState: o.OutputState, + } +} + // The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT. e.g. "2013-09-29T18:46:19Z" func (o GoogleCloudContentwarehouseV1TimestampValueResponseOutput) TextValue() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1TimestampValueResponse) string { return v.TextValue }).(pulumi.StringOutput) @@ -5777,6 +6750,12 @@ func (o GoogleCloudContentwarehouseV1TimestampValueResponseArrayOutput) ToGoogle return o } +func (o GoogleCloudContentwarehouseV1TimestampValueResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudContentwarehouseV1TimestampValueResponse] { + return pulumix.Output[[]GoogleCloudContentwarehouseV1TimestampValueResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1TimestampValueResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudContentwarehouseV1TimestampValueResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudContentwarehouseV1TimestampValueResponse { return vs[0].([]GoogleCloudContentwarehouseV1TimestampValueResponse)[vs[1].(int)] @@ -5832,6 +6811,12 @@ func (i GoogleCloudContentwarehouseV1UserInfoArgs) ToGoogleCloudContentwarehouse return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1UserInfoOutput) } +func (i GoogleCloudContentwarehouseV1UserInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1UserInfo] { + return pulumix.Output[GoogleCloudContentwarehouseV1UserInfo]{ + OutputState: i.ToGoogleCloudContentwarehouseV1UserInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudContentwarehouseV1UserInfoArgs) ToGoogleCloudContentwarehouseV1UserInfoPtrOutput() GoogleCloudContentwarehouseV1UserInfoPtrOutput { return i.ToGoogleCloudContentwarehouseV1UserInfoPtrOutputWithContext(context.Background()) } @@ -5873,6 +6858,12 @@ func (i *googleCloudContentwarehouseV1UserInfoPtrType) ToGoogleCloudContentwareh return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudContentwarehouseV1UserInfoPtrOutput) } +func (i *googleCloudContentwarehouseV1UserInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1UserInfo] { + return pulumix.Output[*GoogleCloudContentwarehouseV1UserInfo]{ + OutputState: i.ToGoogleCloudContentwarehouseV1UserInfoPtrOutputWithContext(ctx).OutputState, + } +} + // The user information. type GoogleCloudContentwarehouseV1UserInfoOutput struct{ *pulumi.OutputState } @@ -5898,6 +6889,12 @@ func (o GoogleCloudContentwarehouseV1UserInfoOutput) ToGoogleCloudContentwarehou }).(GoogleCloudContentwarehouseV1UserInfoPtrOutput) } +func (o GoogleCloudContentwarehouseV1UserInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudContentwarehouseV1UserInfo] { + return pulumix.Output[GoogleCloudContentwarehouseV1UserInfo]{ + OutputState: o.OutputState, + } +} + // The unique group identifications which the user is belong to. The format is "group:yyyy@example.com"; func (o GoogleCloudContentwarehouseV1UserInfoOutput) GroupIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudContentwarehouseV1UserInfo) []string { return v.GroupIds }).(pulumi.StringArrayOutput) @@ -5922,6 +6919,12 @@ func (o GoogleCloudContentwarehouseV1UserInfoPtrOutput) ToGoogleCloudContentware return o } +func (o GoogleCloudContentwarehouseV1UserInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudContentwarehouseV1UserInfo] { + return pulumix.Output[*GoogleCloudContentwarehouseV1UserInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudContentwarehouseV1UserInfoPtrOutput) Elem() GoogleCloudContentwarehouseV1UserInfoOutput { return o.ApplyT(func(v *GoogleCloudContentwarehouseV1UserInfo) GoogleCloudContentwarehouseV1UserInfo { if v != nil { @@ -5995,6 +6998,12 @@ func (i GoogleCloudDocumentaiV1BarcodeArgs) ToGoogleCloudDocumentaiV1BarcodeOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1BarcodeOutput) } +func (i GoogleCloudDocumentaiV1BarcodeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1Barcode] { + return pulumix.Output[GoogleCloudDocumentaiV1Barcode]{ + OutputState: i.ToGoogleCloudDocumentaiV1BarcodeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1BarcodeArgs) ToGoogleCloudDocumentaiV1BarcodePtrOutput() GoogleCloudDocumentaiV1BarcodePtrOutput { return i.ToGoogleCloudDocumentaiV1BarcodePtrOutputWithContext(context.Background()) } @@ -6036,6 +7045,12 @@ func (i *googleCloudDocumentaiV1BarcodePtrType) ToGoogleCloudDocumentaiV1Barcode return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1BarcodePtrOutput) } +func (i *googleCloudDocumentaiV1BarcodePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1Barcode] { + return pulumix.Output[*GoogleCloudDocumentaiV1Barcode]{ + OutputState: i.ToGoogleCloudDocumentaiV1BarcodePtrOutputWithContext(ctx).OutputState, + } +} + // Encodes the detailed information of a barcode. type GoogleCloudDocumentaiV1BarcodeOutput struct{ *pulumi.OutputState } @@ -6061,6 +7076,12 @@ func (o GoogleCloudDocumentaiV1BarcodeOutput) ToGoogleCloudDocumentaiV1BarcodePt }).(GoogleCloudDocumentaiV1BarcodePtrOutput) } +func (o GoogleCloudDocumentaiV1BarcodeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1Barcode] { + return pulumix.Output[GoogleCloudDocumentaiV1Barcode]{ + OutputState: o.OutputState, + } +} + // Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1 DataBar code type. func (o GoogleCloudDocumentaiV1BarcodeOutput) Format() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1Barcode) *string { return v.Format }).(pulumi.StringPtrOutput) @@ -6090,6 +7111,12 @@ func (o GoogleCloudDocumentaiV1BarcodePtrOutput) ToGoogleCloudDocumentaiV1Barcod return o } +func (o GoogleCloudDocumentaiV1BarcodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1Barcode] { + return pulumix.Output[*GoogleCloudDocumentaiV1Barcode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1BarcodePtrOutput) Elem() GoogleCloudDocumentaiV1BarcodeOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1Barcode) GoogleCloudDocumentaiV1Barcode { if v != nil { @@ -6155,6 +7182,12 @@ func (o GoogleCloudDocumentaiV1BarcodeResponseOutput) ToGoogleCloudDocumentaiV1B return o } +func (o GoogleCloudDocumentaiV1BarcodeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1BarcodeResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1BarcodeResponse]{ + OutputState: o.OutputState, + } +} + // Format of a barcode. The supported formats are: - `CODE_128`: Code 128 type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`: Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. - `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type. - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. - `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1 DataBar code type. func (o GoogleCloudDocumentaiV1BarcodeResponseOutput) Format() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1BarcodeResponse) string { return v.Format }).(pulumi.StringOutput) @@ -6209,6 +7242,12 @@ func (i GoogleCloudDocumentaiV1BoundingPolyArgs) ToGoogleCloudDocumentaiV1Boundi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1BoundingPolyOutput) } +func (i GoogleCloudDocumentaiV1BoundingPolyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1BoundingPoly] { + return pulumix.Output[GoogleCloudDocumentaiV1BoundingPoly]{ + OutputState: i.ToGoogleCloudDocumentaiV1BoundingPolyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1BoundingPolyArgs) ToGoogleCloudDocumentaiV1BoundingPolyPtrOutput() GoogleCloudDocumentaiV1BoundingPolyPtrOutput { return i.ToGoogleCloudDocumentaiV1BoundingPolyPtrOutputWithContext(context.Background()) } @@ -6250,6 +7289,12 @@ func (i *googleCloudDocumentaiV1BoundingPolyPtrType) ToGoogleCloudDocumentaiV1Bo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1BoundingPolyPtrOutput) } +func (i *googleCloudDocumentaiV1BoundingPolyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1BoundingPoly] { + return pulumix.Output[*GoogleCloudDocumentaiV1BoundingPoly]{ + OutputState: i.ToGoogleCloudDocumentaiV1BoundingPolyPtrOutputWithContext(ctx).OutputState, + } +} + // A bounding polygon for the detected image annotation. type GoogleCloudDocumentaiV1BoundingPolyOutput struct{ *pulumi.OutputState } @@ -6275,6 +7320,12 @@ func (o GoogleCloudDocumentaiV1BoundingPolyOutput) ToGoogleCloudDocumentaiV1Boun }).(GoogleCloudDocumentaiV1BoundingPolyPtrOutput) } +func (o GoogleCloudDocumentaiV1BoundingPolyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1BoundingPoly] { + return pulumix.Output[GoogleCloudDocumentaiV1BoundingPoly]{ + OutputState: o.OutputState, + } +} + // The bounding polygon normalized vertices. func (o GoogleCloudDocumentaiV1BoundingPolyOutput) NormalizedVertices() GoogleCloudDocumentaiV1NormalizedVertexArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1BoundingPoly) []GoogleCloudDocumentaiV1NormalizedVertex { @@ -6301,6 +7352,12 @@ func (o GoogleCloudDocumentaiV1BoundingPolyPtrOutput) ToGoogleCloudDocumentaiV1B return o } +func (o GoogleCloudDocumentaiV1BoundingPolyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1BoundingPoly] { + return pulumix.Output[*GoogleCloudDocumentaiV1BoundingPoly]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1BoundingPolyPtrOutput) Elem() GoogleCloudDocumentaiV1BoundingPolyOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1BoundingPoly) GoogleCloudDocumentaiV1BoundingPoly { if v != nil { @@ -6354,6 +7411,12 @@ func (o GoogleCloudDocumentaiV1BoundingPolyResponseOutput) ToGoogleCloudDocument return o } +func (o GoogleCloudDocumentaiV1BoundingPolyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1BoundingPolyResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1BoundingPolyResponse]{ + OutputState: o.OutputState, + } +} + // The bounding polygon normalized vertices. func (o GoogleCloudDocumentaiV1BoundingPolyResponseOutput) NormalizedVertices() GoogleCloudDocumentaiV1NormalizedVertexResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1BoundingPolyResponse) []GoogleCloudDocumentaiV1NormalizedVertexResponse { @@ -6447,6 +7510,12 @@ func (i GoogleCloudDocumentaiV1DocumentArgs) ToGoogleCloudDocumentaiV1DocumentOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentOutput) } +func (i GoogleCloudDocumentaiV1DocumentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1Document] { + return pulumix.Output[GoogleCloudDocumentaiV1Document]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentArgs) ToGoogleCloudDocumentaiV1DocumentPtrOutput() GoogleCloudDocumentaiV1DocumentPtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentPtrOutputWithContext(context.Background()) } @@ -6488,6 +7557,12 @@ func (i *googleCloudDocumentaiV1DocumentPtrType) ToGoogleCloudDocumentaiV1Docume return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPtrOutput) } +func (i *googleCloudDocumentaiV1DocumentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1Document] { + return pulumix.Output[*GoogleCloudDocumentaiV1Document]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPtrOutputWithContext(ctx).OutputState, + } +} + // Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality. type GoogleCloudDocumentaiV1DocumentOutput struct{ *pulumi.OutputState } @@ -6513,6 +7588,12 @@ func (o GoogleCloudDocumentaiV1DocumentOutput) ToGoogleCloudDocumentaiV1Document }).(GoogleCloudDocumentaiV1DocumentPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1Document] { + return pulumix.Output[GoogleCloudDocumentaiV1Document]{ + OutputState: o.OutputState, + } +} + // Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. func (o GoogleCloudDocumentaiV1DocumentOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1Document) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -6591,6 +7672,12 @@ func (o GoogleCloudDocumentaiV1DocumentPtrOutput) ToGoogleCloudDocumentaiV1Docum return o } +func (o GoogleCloudDocumentaiV1DocumentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1Document] { + return pulumix.Output[*GoogleCloudDocumentaiV1Document]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1Document) GoogleCloudDocumentaiV1Document { if v != nil { @@ -6800,6 +7887,12 @@ func (i GoogleCloudDocumentaiV1DocumentEntityArgs) ToGoogleCloudDocumentaiV1Docu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentEntityOutput) } +func (i GoogleCloudDocumentaiV1DocumentEntityArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentEntity] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentEntity]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentEntityOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentEntityArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentEntityArray and GoogleCloudDocumentaiV1DocumentEntityArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentEntityArrayInput` via: // @@ -6825,6 +7918,12 @@ func (i GoogleCloudDocumentaiV1DocumentEntityArray) ToGoogleCloudDocumentaiV1Doc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentEntityArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentEntityArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntity] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntity]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentEntityArrayOutputWithContext(ctx).OutputState, + } +} + // An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location. type GoogleCloudDocumentaiV1DocumentEntityOutput struct{ *pulumi.OutputState } @@ -6840,6 +7939,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityOutput) ToGoogleCloudDocumentaiV1Do return o } +func (o GoogleCloudDocumentaiV1DocumentEntityOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentEntity] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentEntity]{ + OutputState: o.OutputState, + } +} + // Optional. Confidence of detected Schema entity. Range `[0, 1]`. func (o GoogleCloudDocumentaiV1DocumentEntityOutput) Confidence() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentEntity) *float64 { return v.Confidence }).(pulumi.Float64PtrOutput) @@ -6921,6 +8026,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityArrayOutput) ToGoogleCloudDocumenta return o } +func (o GoogleCloudDocumentaiV1DocumentEntityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntity] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntity]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentEntityArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentEntityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentEntity { return vs[0].([]GoogleCloudDocumentaiV1DocumentEntity)[vs[1].(int)] @@ -6990,6 +8101,12 @@ func (i GoogleCloudDocumentaiV1DocumentEntityNormalizedValueArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentEntityNormalizedValueOutput) } +func (i GoogleCloudDocumentaiV1DocumentEntityNormalizedValueArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityNormalizedValue] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityNormalizedValue]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentEntityNormalizedValueOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentEntityNormalizedValueArgs) ToGoogleCloudDocumentaiV1DocumentEntityNormalizedValuePtrOutput() GoogleCloudDocumentaiV1DocumentEntityNormalizedValuePtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentEntityNormalizedValuePtrOutputWithContext(context.Background()) } @@ -7031,6 +8148,12 @@ func (i *googleCloudDocumentaiV1DocumentEntityNormalizedValuePtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentEntityNormalizedValuePtrOutput) } +func (i *googleCloudDocumentaiV1DocumentEntityNormalizedValuePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentEntityNormalizedValue] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentEntityNormalizedValue]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentEntityNormalizedValuePtrOutputWithContext(ctx).OutputState, + } +} + // Parsed and normalized entity value. type GoogleCloudDocumentaiV1DocumentEntityNormalizedValueOutput struct{ *pulumi.OutputState } @@ -7056,6 +8179,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityNormalizedValueOutput) ToGoogleClou }).(GoogleCloudDocumentaiV1DocumentEntityNormalizedValuePtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentEntityNormalizedValueOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityNormalizedValue] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityNormalizedValue]{ + OutputState: o.OutputState, + } +} + // Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto func (o GoogleCloudDocumentaiV1DocumentEntityNormalizedValueOutput) AddressValue() GoogleTypePostalAddressPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentEntityNormalizedValue) *GoogleTypePostalAddress { @@ -7114,6 +8243,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityNormalizedValuePtrOutput) ToGoogleC return o } +func (o GoogleCloudDocumentaiV1DocumentEntityNormalizedValuePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentEntityNormalizedValue] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentEntityNormalizedValue]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentEntityNormalizedValuePtrOutput) Elem() GoogleCloudDocumentaiV1DocumentEntityNormalizedValueOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentEntityNormalizedValue) GoogleCloudDocumentaiV1DocumentEntityNormalizedValue { if v != nil { @@ -7239,6 +8374,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityNormalizedValueResponseOutput) ToGo return o } +func (o GoogleCloudDocumentaiV1DocumentEntityNormalizedValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityNormalizedValueResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityNormalizedValueResponse]{ + OutputState: o.OutputState, + } +} + // Postal address. See also: https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto func (o GoogleCloudDocumentaiV1DocumentEntityNormalizedValueResponseOutput) AddressValue() GoogleTypePostalAddressResponseOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentEntityNormalizedValueResponse) GoogleTypePostalAddressResponse { @@ -7330,6 +8471,12 @@ func (i GoogleCloudDocumentaiV1DocumentEntityRelationArgs) ToGoogleCloudDocument return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentEntityRelationOutput) } +func (i GoogleCloudDocumentaiV1DocumentEntityRelationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityRelation] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityRelation]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentEntityRelationOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentEntityRelationArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentEntityRelationArray and GoogleCloudDocumentaiV1DocumentEntityRelationArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentEntityRelationArrayInput` via: // @@ -7355,6 +8502,12 @@ func (i GoogleCloudDocumentaiV1DocumentEntityRelationArray) ToGoogleCloudDocumen return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentEntityRelationArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentEntityRelationArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntityRelation] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntityRelation]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentEntityRelationArrayOutputWithContext(ctx).OutputState, + } +} + // Relationship between Entities. type GoogleCloudDocumentaiV1DocumentEntityRelationOutput struct{ *pulumi.OutputState } @@ -7370,6 +8523,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityRelationOutput) ToGoogleCloudDocume return o } +func (o GoogleCloudDocumentaiV1DocumentEntityRelationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityRelation] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityRelation]{ + OutputState: o.OutputState, + } +} + // Object entity id. func (o GoogleCloudDocumentaiV1DocumentEntityRelationOutput) ObjectId() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentEntityRelation) *string { return v.ObjectId }).(pulumi.StringPtrOutput) @@ -7399,6 +8558,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityRelationArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDocumentaiV1DocumentEntityRelationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntityRelation] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntityRelation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentEntityRelationArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentEntityRelationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentEntityRelation { return vs[0].([]GoogleCloudDocumentaiV1DocumentEntityRelation)[vs[1].(int)] @@ -7430,6 +8595,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityRelationResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDocumentaiV1DocumentEntityRelationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityRelationResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityRelationResponse]{ + OutputState: o.OutputState, + } +} + // Object entity id. func (o GoogleCloudDocumentaiV1DocumentEntityRelationResponseOutput) ObjectId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentEntityRelationResponse) string { return v.ObjectId }).(pulumi.StringOutput) @@ -7459,6 +8630,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityRelationResponseArrayOutput) ToGoog return o } +func (o GoogleCloudDocumentaiV1DocumentEntityRelationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntityRelationResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntityRelationResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentEntityRelationResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentEntityRelationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentEntityRelationResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentEntityRelationResponse)[vs[1].(int)] @@ -7506,6 +8683,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityResponseOutput) ToGoogleCloudDocume return o } +func (o GoogleCloudDocumentaiV1DocumentEntityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentEntityResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Confidence of detected Schema entity. Range `[0, 1]`. func (o GoogleCloudDocumentaiV1DocumentEntityResponseOutput) Confidence() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentEntityResponse) float64 { return v.Confidence }).(pulumi.Float64Output) @@ -7582,6 +8765,12 @@ func (o GoogleCloudDocumentaiV1DocumentEntityResponseArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDocumentaiV1DocumentEntityResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntityResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentEntityResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentEntityResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentEntityResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentEntityResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentEntityResponse)[vs[1].(int)] @@ -7687,6 +8876,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageArgs) ToGoogleCloudDocumentaiV1Docume return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPage] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPage]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageArray and GoogleCloudDocumentaiV1DocumentPageArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageArrayInput` via: // @@ -7712,6 +8907,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageArray) ToGoogleCloudDocumentaiV1Docum return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPage] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPage]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageArrayOutputWithContext(ctx).OutputState, + } +} + // A page in a Document. type GoogleCloudDocumentaiV1DocumentPageOutput struct{ *pulumi.OutputState } @@ -7727,6 +8928,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageOutput) ToGoogleCloudDocumentaiV1Docu return o } +func (o GoogleCloudDocumentaiV1DocumentPageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPage] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPage]{ + OutputState: o.OutputState, + } +} + // A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation. func (o GoogleCloudDocumentaiV1DocumentPageOutput) Blocks() GoogleCloudDocumentaiV1DocumentPageBlockArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPage) []GoogleCloudDocumentaiV1DocumentPageBlock { @@ -7854,6 +9061,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageArrayOutput) ToGoogleCloudDocumentaiV return o } +func (o GoogleCloudDocumentaiV1DocumentPageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPage] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPage { return vs[0].([]GoogleCloudDocumentaiV1DocumentPage)[vs[1].(int)] @@ -7895,6 +9108,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageAnchorArgs) ToGoogleCloudDocumentaiV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageAnchorOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageAnchorArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchor] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchor]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageAnchorOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentPageAnchorArgs) ToGoogleCloudDocumentaiV1DocumentPageAnchorPtrOutput() GoogleCloudDocumentaiV1DocumentPageAnchorPtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentPageAnchorPtrOutputWithContext(context.Background()) } @@ -7936,6 +9155,12 @@ func (i *googleCloudDocumentaiV1DocumentPageAnchorPtrType) ToGoogleCloudDocument return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageAnchorPtrOutput) } +func (i *googleCloudDocumentaiV1DocumentPageAnchorPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageAnchor] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageAnchor]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageAnchorPtrOutputWithContext(ctx).OutputState, + } +} + // Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types. type GoogleCloudDocumentaiV1DocumentPageAnchorOutput struct{ *pulumi.OutputState } @@ -7961,6 +9186,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageAnchorOutput) ToGoogleCloudDocumentai }).(GoogleCloudDocumentaiV1DocumentPageAnchorPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentPageAnchorOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchor] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchor]{ + OutputState: o.OutputState, + } +} + // One or more references to visual page elements func (o GoogleCloudDocumentaiV1DocumentPageAnchorOutput) PageRefs() GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageAnchor) []GoogleCloudDocumentaiV1DocumentPageAnchorPageRef { @@ -7982,6 +9213,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageAnchorPtrOutput) ToGoogleCloudDocumen return o } +func (o GoogleCloudDocumentaiV1DocumentPageAnchorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageAnchor] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageAnchor]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageAnchorPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentPageAnchorOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentPageAnchor) GoogleCloudDocumentaiV1DocumentPageAnchor { if v != nil { @@ -8057,6 +9294,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArgs) ToGoogleCloudDocum return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageAnchorPageRefOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchorPageRef] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchorPageRef]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageAnchorPageRefOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArray and GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArrayInput` via: // @@ -8082,6 +9325,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArray) ToGoogleCloudDocu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageAnchorPageRef] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageAnchorPageRef]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageAnchorPageRefArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a weak reference to a page element within a document. type GoogleCloudDocumentaiV1DocumentPageAnchorPageRefOutput struct{ *pulumi.OutputState } @@ -8097,6 +9346,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefOutput) ToGoogleCloudDoc return o } +func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchorPageRef] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchorPageRef]{ + OutputState: o.OutputState, + } +} + // Optional. Identifies the bounding polygon of a layout element on the page. func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefOutput) BoundingPoly() GoogleCloudDocumentaiV1BoundingPolyPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageAnchorPageRef) *GoogleCloudDocumentaiV1BoundingPoly { @@ -8142,6 +9397,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageAnchorPageRef] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageAnchorPageRef]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageAnchorPageRefOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageAnchorPageRef { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageAnchorPageRef)[vs[1].(int)] @@ -8179,6 +9440,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponseOutput) ToGoogle return o } +func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Identifies the bounding polygon of a layout element on the page. func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponseOutput) BoundingPoly() GoogleCloudDocumentaiV1BoundingPolyResponseOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponse) GoogleCloudDocumentaiV1BoundingPolyResponse { @@ -8222,6 +9489,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponseArrayOutput) ToG return o } +func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponse)[vs[1].(int)] @@ -8249,6 +9522,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageAnchorResponseOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentPageAnchorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchorResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageAnchorResponse]{ + OutputState: o.OutputState, + } +} + // One or more references to visual page elements func (o GoogleCloudDocumentaiV1DocumentPageAnchorResponseOutput) PageRefs() GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageAnchorResponse) []GoogleCloudDocumentaiV1DocumentPageAnchorPageRefResponse { @@ -8299,6 +9578,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageBlockArgs) ToGoogleCloudDocumentaiV1D return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageBlockOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageBlockArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageBlock] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageBlock]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageBlockOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageBlockArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageBlockArray and GoogleCloudDocumentaiV1DocumentPageBlockArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageBlockArrayInput` via: // @@ -8324,6 +9609,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageBlockArray) ToGoogleCloudDocumentaiV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageBlockArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageBlockArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageBlock] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageBlock]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageBlockArrayOutputWithContext(ctx).OutputState, + } +} + // A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation. type GoogleCloudDocumentaiV1DocumentPageBlockOutput struct{ *pulumi.OutputState } @@ -8339,6 +9630,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageBlockOutput) ToGoogleCloudDocumentaiV return o } +func (o GoogleCloudDocumentaiV1DocumentPageBlockOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageBlock] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageBlock]{ + OutputState: o.OutputState, + } +} + // A list of detected languages together with confidence. func (o GoogleCloudDocumentaiV1DocumentPageBlockOutput) DetectedLanguages() GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageBlock) []GoogleCloudDocumentaiV1DocumentPageDetectedLanguage { @@ -8374,6 +9671,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageBlockArrayOutput) ToGoogleCloudDocume return o } +func (o GoogleCloudDocumentaiV1DocumentPageBlockArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageBlock] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageBlock]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageBlockArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageBlockOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageBlock { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageBlock)[vs[1].(int)] @@ -8405,6 +9708,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageBlockResponseOutput) ToGoogleCloudDoc return o } +func (o GoogleCloudDocumentaiV1DocumentPageBlockResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageBlockResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageBlockResponse]{ + OutputState: o.OutputState, + } +} + // A list of detected languages together with confidence. func (o GoogleCloudDocumentaiV1DocumentPageBlockResponseOutput) DetectedLanguages() GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageBlockResponse) []GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse { @@ -8440,6 +9749,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageBlockResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDocumentaiV1DocumentPageBlockResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageBlockResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageBlockResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageBlockResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageBlockResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageBlockResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageBlockResponse)[vs[1].(int)] @@ -8485,6 +9800,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArgs) ToGoogleCloudDoc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedBarcode] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedBarcode]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageDetectedBarcodeOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArray and GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArrayInput` via: // @@ -8510,6 +9831,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArray) ToGoogleCloudDo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedBarcode] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedBarcode]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArrayOutputWithContext(ctx).OutputState, + } +} + // A detected barcode. type GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeOutput struct{ *pulumi.OutputState } @@ -8525,6 +9852,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeOutput) ToGoogleCloudD return o } +func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedBarcode] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedBarcode]{ + OutputState: o.OutputState, + } +} + // Detailed barcode information of the DetectedBarcode. func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeOutput) Barcode() GoogleCloudDocumentaiV1BarcodePtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageDetectedBarcode) *GoogleCloudDocumentaiV1Barcode { @@ -8553,6 +9886,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArrayOutput) ToGoogleC return o } +func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedBarcode] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedBarcode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageDetectedBarcode { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageDetectedBarcode)[vs[1].(int)] @@ -8582,6 +9921,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponseOutput) ToGoog return o } +func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponse]{ + OutputState: o.OutputState, + } +} + // Detailed barcode information of the DetectedBarcode. func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponseOutput) Barcode() GoogleCloudDocumentaiV1BarcodeResponseOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponse) GoogleCloudDocumentaiV1BarcodeResponse { @@ -8610,6 +9955,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponseArrayOutput) T return o } +func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageDetectedBarcodeResponse)[vs[1].(int)] @@ -8655,6 +10006,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs) ToGoogleCloudDo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageDetectedLanguageOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray and GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayInput` via: // @@ -8680,6 +10037,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedLanguage]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutputWithContext(ctx).OutputState, + } +} + // Detected language for a structural component. type GoogleCloudDocumentaiV1DocumentPageDetectedLanguageOutput struct{ *pulumi.OutputState } @@ -8695,6 +10058,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageOutput) ToGoogleCloud return o } +func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedLanguage]{ + OutputState: o.OutputState, + } +} + // Confidence of detected language. Range `[0, 1]`. func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageOutput) Confidence() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageDetectedLanguage) *float64 { return v.Confidence }).(pulumi.Float64PtrOutput) @@ -8719,6 +10088,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutput) ToGoogle return o } +func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedLanguage] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedLanguage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageDetectedLanguageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageDetectedLanguage { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageDetectedLanguage)[vs[1].(int)] @@ -8748,6 +10123,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseOutput) ToGoo return o } +func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse]{ + OutputState: o.OutputState, + } +} + // Confidence of detected language. Range `[0, 1]`. func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseOutput) Confidence() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse) float64 { return v.Confidence }).(pulumi.Float64Output) @@ -8772,6 +10153,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseArrayOutput) return o } +func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse)[vs[1].(int)] @@ -8821,6 +10208,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageDimensionArgs) ToGoogleCloudDocumenta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageDimensionOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageDimensionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDimension] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDimension]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageDimensionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentPageDimensionArgs) ToGoogleCloudDocumentaiV1DocumentPageDimensionPtrOutput() GoogleCloudDocumentaiV1DocumentPageDimensionPtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentPageDimensionPtrOutputWithContext(context.Background()) } @@ -8862,6 +10255,12 @@ func (i *googleCloudDocumentaiV1DocumentPageDimensionPtrType) ToGoogleCloudDocum return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageDimensionPtrOutput) } +func (i *googleCloudDocumentaiV1DocumentPageDimensionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageDimension] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageDimension]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageDimensionPtrOutputWithContext(ctx).OutputState, + } +} + // Dimension for the page. type GoogleCloudDocumentaiV1DocumentPageDimensionOutput struct{ *pulumi.OutputState } @@ -8887,6 +10286,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDimensionOutput) ToGoogleCloudDocumen }).(GoogleCloudDocumentaiV1DocumentPageDimensionPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentPageDimensionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDimension] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDimension]{ + OutputState: o.OutputState, + } +} + // Page height. func (o GoogleCloudDocumentaiV1DocumentPageDimensionOutput) Height() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageDimension) *float64 { return v.Height }).(pulumi.Float64PtrOutput) @@ -8916,6 +10321,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDimensionPtrOutput) ToGoogleCloudDocu return o } +func (o GoogleCloudDocumentaiV1DocumentPageDimensionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageDimension] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageDimension]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageDimensionPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentPageDimensionOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentPageDimension) GoogleCloudDocumentaiV1DocumentPageDimension { if v != nil { @@ -8981,6 +10392,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageDimensionResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDocumentaiV1DocumentPageDimensionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDimensionResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageDimensionResponse]{ + OutputState: o.OutputState, + } +} + // Page height. func (o GoogleCloudDocumentaiV1DocumentPageDimensionResponseOutput) Height() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageDimensionResponse) float64 { return v.Height }).(pulumi.Float64Output) @@ -9059,6 +10476,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageFormFieldArgs) ToGoogleCloudDocumenta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageFormFieldOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageFormFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageFormField] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageFormField]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageFormFieldOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageFormFieldArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageFormFieldArray and GoogleCloudDocumentaiV1DocumentPageFormFieldArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageFormFieldArrayInput` via: // @@ -9084,6 +10507,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageFormFieldArray) ToGoogleCloudDocument return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageFormFieldArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageFormFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageFormField] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageFormField]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageFormFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A form field detected on the page. type GoogleCloudDocumentaiV1DocumentPageFormFieldOutput struct{ *pulumi.OutputState } @@ -9099,6 +10528,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageFormFieldOutput) ToGoogleCloudDocumen return o } +func (o GoogleCloudDocumentaiV1DocumentPageFormFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageFormField] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageFormField]{ + OutputState: o.OutputState, + } +} + // Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction. func (o GoogleCloudDocumentaiV1DocumentPageFormFieldOutput) CorrectedKeyText() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageFormField) *string { return v.CorrectedKeyText }).(pulumi.StringPtrOutput) @@ -9163,6 +10598,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageFormFieldArrayOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentPageFormFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageFormField] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageFormField]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageFormFieldArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageFormFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageFormField { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageFormField)[vs[1].(int)] @@ -9204,6 +10645,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageFormFieldResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDocumentaiV1DocumentPageFormFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageFormFieldResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageFormFieldResponse]{ + OutputState: o.OutputState, + } +} + // Created for Labeling UI to export key text. If corrections were made to the text identified by the `field_name.text_anchor`, this field will contain the correction. func (o GoogleCloudDocumentaiV1DocumentPageFormFieldResponseOutput) CorrectedKeyText() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageFormFieldResponse) string { return v.CorrectedKeyText }).(pulumi.StringOutput) @@ -9268,6 +10715,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageFormFieldResponseArrayOutput) ToGoogl return o } +func (o GoogleCloudDocumentaiV1DocumentPageFormFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageFormFieldResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageFormFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageFormFieldResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageFormFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageFormFieldResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageFormFieldResponse)[vs[1].(int)] @@ -9321,6 +10774,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageImageArgs) ToGoogleCloudDocumentaiV1D return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageImageOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageImageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImage] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImage]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageImageOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentPageImageArgs) ToGoogleCloudDocumentaiV1DocumentPageImagePtrOutput() GoogleCloudDocumentaiV1DocumentPageImagePtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentPageImagePtrOutputWithContext(context.Background()) } @@ -9362,6 +10821,12 @@ func (i *googleCloudDocumentaiV1DocumentPageImagePtrType) ToGoogleCloudDocumenta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageImagePtrOutput) } +func (i *googleCloudDocumentaiV1DocumentPageImagePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageImage] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageImage]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageImagePtrOutputWithContext(ctx).OutputState, + } +} + // Rendered image contents for this page. type GoogleCloudDocumentaiV1DocumentPageImageOutput struct{ *pulumi.OutputState } @@ -9387,6 +10852,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageImageOutput) ToGoogleCloudDocumentaiV }).(GoogleCloudDocumentaiV1DocumentPageImagePtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentPageImageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImage] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImage]{ + OutputState: o.OutputState, + } +} + // Raw byte content of the image. func (o GoogleCloudDocumentaiV1DocumentPageImageOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageImage) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -9421,6 +10892,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageImagePtrOutput) ToGoogleCloudDocument return o } +func (o GoogleCloudDocumentaiV1DocumentPageImagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageImage] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageImage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageImagePtrOutput) Elem() GoogleCloudDocumentaiV1DocumentPageImageOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentPageImage) GoogleCloudDocumentaiV1DocumentPageImage { if v != nil { @@ -9510,6 +10987,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageImageQualityScoresArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageImageQualityScoresOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageImageQualityScoresArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScores] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScores]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageImageQualityScoresOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentPageImageQualityScoresArgs) ToGoogleCloudDocumentaiV1DocumentPageImageQualityScoresPtrOutput() GoogleCloudDocumentaiV1DocumentPageImageQualityScoresPtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentPageImageQualityScoresPtrOutputWithContext(context.Background()) } @@ -9551,6 +11034,12 @@ func (i *googleCloudDocumentaiV1DocumentPageImageQualityScoresPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageImageQualityScoresPtrOutput) } +func (i *googleCloudDocumentaiV1DocumentPageImageQualityScoresPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageImageQualityScores] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageImageQualityScores]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageImageQualityScoresPtrOutputWithContext(ctx).OutputState, + } +} + // Image Quality Scores for the page image type GoogleCloudDocumentaiV1DocumentPageImageQualityScoresOutput struct{ *pulumi.OutputState } @@ -9576,6 +11065,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresOutput) ToGoogleClo }).(GoogleCloudDocumentaiV1DocumentPageImageQualityScoresPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScores] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScores]{ + OutputState: o.OutputState, + } +} + // A list of detected defects. func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresOutput) DetectedDefects() GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageImageQualityScores) []GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect { @@ -9602,6 +11097,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresPtrOutput) ToGoogle return o } +func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageImageQualityScores] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageImageQualityScores]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentPageImageQualityScoresOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentPageImageQualityScores) GoogleCloudDocumentaiV1DocumentPageImageQualityScores { if v != nil { @@ -9671,6 +11172,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArray and GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArrayInput` via: // @@ -9696,6 +11203,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArray return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArrayOutputWithContext(ctx).OutputState, + } +} + // Image Quality Defects type GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectOutput struct{ *pulumi.OutputState } @@ -9711,6 +11224,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectOutpu return o } +func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect]{ + OutputState: o.OutputState, + } +} + // Confidence of detected defect. Range `[0, 1]` where 1 indicates strong confidence of that the defect exists. func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectOutput) Confidence() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect) *float64 { @@ -9737,6 +11256,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArray return o } +func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect)[vs[1].(int)] @@ -9766,6 +11291,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectRespo return o } +func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponse]{ + OutputState: o.OutputState, + } +} + // Confidence of detected defect. Range `[0, 1]` where 1 indicates strong confidence of that the defect exists. func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponseOutput) Confidence() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponse) float64 { @@ -9794,6 +11325,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectRespo return o } +func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponse)[vs[1].(int)] @@ -9823,6 +11360,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresResponseOutput) ToG return o } +func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScoresResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageQualityScoresResponse]{ + OutputState: o.OutputState, + } +} + // A list of detected defects. func (o GoogleCloudDocumentaiV1DocumentPageImageQualityScoresResponseOutput) DetectedDefects() GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageImageQualityScoresResponse) []GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefectResponse { @@ -9862,6 +11405,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageImageResponseOutput) ToGoogleCloudDoc return o } +func (o GoogleCloudDocumentaiV1DocumentPageImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageImageResponse]{ + OutputState: o.OutputState, + } +} + // Raw byte content of the image. func (o GoogleCloudDocumentaiV1DocumentPageImageResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageImageResponse) string { return v.Content }).(pulumi.StringOutput) @@ -9929,6 +11478,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageLayoutArgs) ToGoogleCloudDocumentaiV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageLayoutOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageLayoutArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLayout] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLayout]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageLayoutOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentPageLayoutArgs) ToGoogleCloudDocumentaiV1DocumentPageLayoutPtrOutput() GoogleCloudDocumentaiV1DocumentPageLayoutPtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentPageLayoutPtrOutputWithContext(context.Background()) } @@ -9970,6 +11525,12 @@ func (i *googleCloudDocumentaiV1DocumentPageLayoutPtrType) ToGoogleCloudDocument return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageLayoutPtrOutput) } +func (i *googleCloudDocumentaiV1DocumentPageLayoutPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageLayout] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageLayout]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageLayoutPtrOutputWithContext(ctx).OutputState, + } +} + // Visual element describing a layout unit on a page. type GoogleCloudDocumentaiV1DocumentPageLayoutOutput struct{ *pulumi.OutputState } @@ -9995,6 +11556,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageLayoutOutput) ToGoogleCloudDocumentai }).(GoogleCloudDocumentaiV1DocumentPageLayoutPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentPageLayoutOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLayout] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLayout]{ + OutputState: o.OutputState, + } +} + // The bounding polygon for the Layout. func (o GoogleCloudDocumentaiV1DocumentPageLayoutOutput) BoundingPoly() GoogleCloudDocumentaiV1BoundingPolyPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageLayout) *GoogleCloudDocumentaiV1BoundingPoly { @@ -10035,6 +11602,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageLayoutPtrOutput) ToGoogleCloudDocumen return o } +func (o GoogleCloudDocumentaiV1DocumentPageLayoutPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageLayout] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageLayout]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageLayoutPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentPageLayoutOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentPageLayout) GoogleCloudDocumentaiV1DocumentPageLayout { if v != nil { @@ -10112,6 +11685,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageLayoutResponseOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentPageLayoutResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLayoutResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLayoutResponse]{ + OutputState: o.OutputState, + } +} + // The bounding polygon for the Layout. func (o GoogleCloudDocumentaiV1DocumentPageLayoutResponseOutput) BoundingPoly() GoogleCloudDocumentaiV1BoundingPolyResponseOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageLayoutResponse) GoogleCloudDocumentaiV1BoundingPolyResponse { @@ -10179,6 +11758,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageLineArgs) ToGoogleCloudDocumentaiV1Do return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageLineOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageLineArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLine] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLine]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageLineOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageLineArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageLineArray and GoogleCloudDocumentaiV1DocumentPageLineArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageLineArrayInput` via: // @@ -10204,6 +11789,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageLineArray) ToGoogleCloudDocumentaiV1D return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageLineArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageLineArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageLine] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageLine]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageLineArrayOutputWithContext(ctx).OutputState, + } +} + // A collection of tokens that a human would perceive as a line. Does not cross column boundaries, can be horizontal, vertical, etc. type GoogleCloudDocumentaiV1DocumentPageLineOutput struct{ *pulumi.OutputState } @@ -10219,6 +11810,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageLineOutput) ToGoogleCloudDocumentaiV1 return o } +func (o GoogleCloudDocumentaiV1DocumentPageLineOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLine] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLine]{ + OutputState: o.OutputState, + } +} + // A list of detected languages together with confidence. func (o GoogleCloudDocumentaiV1DocumentPageLineOutput) DetectedLanguages() GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageLine) []GoogleCloudDocumentaiV1DocumentPageDetectedLanguage { @@ -10254,6 +11851,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageLineArrayOutput) ToGoogleCloudDocumen return o } +func (o GoogleCloudDocumentaiV1DocumentPageLineArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageLine] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageLine]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageLineArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageLineOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageLine { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageLine)[vs[1].(int)] @@ -10285,6 +11888,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageLineResponseOutput) ToGoogleCloudDocu return o } +func (o GoogleCloudDocumentaiV1DocumentPageLineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLineResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageLineResponse]{ + OutputState: o.OutputState, + } +} + // A list of detected languages together with confidence. func (o GoogleCloudDocumentaiV1DocumentPageLineResponseOutput) DetectedLanguages() GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageLineResponse) []GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse { @@ -10320,6 +11929,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageLineResponseArrayOutput) ToGoogleClou return o } +func (o GoogleCloudDocumentaiV1DocumentPageLineResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageLineResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageLineResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageLineResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageLineResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageLineResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageLineResponse)[vs[1].(int)] @@ -10373,6 +11988,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageMatrixArgs) ToGoogleCloudDocumentaiV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageMatrixOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageMatrixArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageMatrix] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageMatrix]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageMatrixOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageMatrixArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageMatrixArray and GoogleCloudDocumentaiV1DocumentPageMatrixArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageMatrixArrayInput` via: // @@ -10398,6 +12019,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageMatrixArray) ToGoogleCloudDocumentaiV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageMatrixArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageMatrixArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageMatrix] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageMatrix]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageMatrixArrayOutputWithContext(ctx).OutputState, + } +} + // Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation. type GoogleCloudDocumentaiV1DocumentPageMatrixOutput struct{ *pulumi.OutputState } @@ -10413,6 +12040,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageMatrixOutput) ToGoogleCloudDocumentai return o } +func (o GoogleCloudDocumentaiV1DocumentPageMatrixOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageMatrix] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageMatrix]{ + OutputState: o.OutputState, + } +} + // Number of columns in the matrix. func (o GoogleCloudDocumentaiV1DocumentPageMatrixOutput) Cols() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageMatrix) *int { return v.Cols }).(pulumi.IntPtrOutput) @@ -10447,6 +12080,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageMatrixArrayOutput) ToGoogleCloudDocum return o } +func (o GoogleCloudDocumentaiV1DocumentPageMatrixArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageMatrix] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageMatrix]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageMatrixArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageMatrixOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageMatrix { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageMatrix)[vs[1].(int)] @@ -10480,6 +12119,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageMatrixResponseOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentPageMatrixResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageMatrixResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageMatrixResponse]{ + OutputState: o.OutputState, + } +} + // Number of columns in the matrix. func (o GoogleCloudDocumentaiV1DocumentPageMatrixResponseOutput) Cols() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageMatrixResponse) int { return v.Cols }).(pulumi.IntOutput) @@ -10514,6 +12159,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageMatrixResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDocumentaiV1DocumentPageMatrixResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageMatrixResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageMatrixResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageMatrixResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageMatrixResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageMatrixResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageMatrixResponse)[vs[1].(int)] @@ -10563,6 +12214,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageParagraphArgs) ToGoogleCloudDocumenta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageParagraphOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageParagraphArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageParagraph] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageParagraph]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageParagraphOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageParagraphArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageParagraphArray and GoogleCloudDocumentaiV1DocumentPageParagraphArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageParagraphArrayInput` via: // @@ -10588,6 +12245,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageParagraphArray) ToGoogleCloudDocument return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageParagraphArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageParagraphArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageParagraph] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageParagraph]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageParagraphArrayOutputWithContext(ctx).OutputState, + } +} + // A collection of lines that a human would perceive as a paragraph. type GoogleCloudDocumentaiV1DocumentPageParagraphOutput struct{ *pulumi.OutputState } @@ -10603,6 +12266,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageParagraphOutput) ToGoogleCloudDocumen return o } +func (o GoogleCloudDocumentaiV1DocumentPageParagraphOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageParagraph] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageParagraph]{ + OutputState: o.OutputState, + } +} + // A list of detected languages together with confidence. func (o GoogleCloudDocumentaiV1DocumentPageParagraphOutput) DetectedLanguages() GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageParagraph) []GoogleCloudDocumentaiV1DocumentPageDetectedLanguage { @@ -10638,6 +12307,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageParagraphArrayOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentPageParagraphArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageParagraph] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageParagraph]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageParagraphArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageParagraphOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageParagraph { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageParagraph)[vs[1].(int)] @@ -10669,6 +12344,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageParagraphResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDocumentaiV1DocumentPageParagraphResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageParagraphResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageParagraphResponse]{ + OutputState: o.OutputState, + } +} + // A list of detected languages together with confidence. func (o GoogleCloudDocumentaiV1DocumentPageParagraphResponseOutput) DetectedLanguages() GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageParagraphResponse) []GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse { @@ -10704,6 +12385,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageParagraphResponseArrayOutput) ToGoogl return o } +func (o GoogleCloudDocumentaiV1DocumentPageParagraphResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageParagraphResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageParagraphResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageParagraphResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageParagraphResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageParagraphResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageParagraphResponse)[vs[1].(int)] @@ -10763,6 +12450,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageResponseOutput) ToGoogleCloudDocument return o } +func (o GoogleCloudDocumentaiV1DocumentPageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageResponse]{ + OutputState: o.OutputState, + } +} + // A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation. func (o GoogleCloudDocumentaiV1DocumentPageResponseOutput) Blocks() GoogleCloudDocumentaiV1DocumentPageBlockResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageResponse) []GoogleCloudDocumentaiV1DocumentPageBlockResponse { @@ -10894,6 +12587,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageResponseArrayOutput) ToGoogleCloudDoc return o } +func (o GoogleCloudDocumentaiV1DocumentPageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageResponse)[vs[1].(int)] @@ -10939,6 +12638,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageSymbolArgs) ToGoogleCloudDocumentaiV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageSymbolOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageSymbolArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageSymbol] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageSymbol]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageSymbolOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageSymbolArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageSymbolArray and GoogleCloudDocumentaiV1DocumentPageSymbolArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageSymbolArrayInput` via: // @@ -10964,6 +12669,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageSymbolArray) ToGoogleCloudDocumentaiV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageSymbolArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageSymbolArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageSymbol] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageSymbol]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageSymbolArrayOutputWithContext(ctx).OutputState, + } +} + // A detected symbol. type GoogleCloudDocumentaiV1DocumentPageSymbolOutput struct{ *pulumi.OutputState } @@ -10979,6 +12690,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageSymbolOutput) ToGoogleCloudDocumentai return o } +func (o GoogleCloudDocumentaiV1DocumentPageSymbolOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageSymbol] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageSymbol]{ + OutputState: o.OutputState, + } +} + // A list of detected languages together with confidence. func (o GoogleCloudDocumentaiV1DocumentPageSymbolOutput) DetectedLanguages() GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageSymbol) []GoogleCloudDocumentaiV1DocumentPageDetectedLanguage { @@ -11007,6 +12724,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageSymbolArrayOutput) ToGoogleCloudDocum return o } +func (o GoogleCloudDocumentaiV1DocumentPageSymbolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageSymbol] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageSymbol]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageSymbolArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageSymbolOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageSymbol { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageSymbol)[vs[1].(int)] @@ -11036,6 +12759,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageSymbolResponseOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentPageSymbolResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageSymbolResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageSymbolResponse]{ + OutputState: o.OutputState, + } +} + // A list of detected languages together with confidence. func (o GoogleCloudDocumentaiV1DocumentPageSymbolResponseOutput) DetectedLanguages() GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageSymbolResponse) []GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse { @@ -11064,6 +12793,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageSymbolResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDocumentaiV1DocumentPageSymbolResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageSymbolResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageSymbolResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageSymbolResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageSymbolResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageSymbolResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageSymbolResponse)[vs[1].(int)] @@ -11121,6 +12856,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageTableArgs) ToGoogleCloudDocumentaiV1D return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTableOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageTableArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTable] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTable]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTableOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageTableArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageTableArray and GoogleCloudDocumentaiV1DocumentPageTableArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageTableArrayInput` via: // @@ -11146,6 +12887,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageTableArray) ToGoogleCloudDocumentaiV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTableArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageTableArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTable] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTable]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTableArrayOutputWithContext(ctx).OutputState, + } +} + // A table representation similar to HTML table structure. type GoogleCloudDocumentaiV1DocumentPageTableOutput struct{ *pulumi.OutputState } @@ -11161,6 +12908,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableOutput) ToGoogleCloudDocumentaiV return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTable] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTable]{ + OutputState: o.OutputState, + } +} + // Body rows of the table. func (o GoogleCloudDocumentaiV1DocumentPageTableOutput) BodyRows() GoogleCloudDocumentaiV1DocumentPageTableTableRowArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTable) []GoogleCloudDocumentaiV1DocumentPageTableTableRow { @@ -11210,6 +12963,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableArrayOutput) ToGoogleCloudDocume return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTable] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTable]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTableArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageTableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageTable { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageTable)[vs[1].(int)] @@ -11245,6 +13004,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableResponseOutput) ToGoogleCloudDoc return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableResponse]{ + OutputState: o.OutputState, + } +} + // Body rows of the table. func (o GoogleCloudDocumentaiV1DocumentPageTableResponseOutput) BodyRows() GoogleCloudDocumentaiV1DocumentPageTableTableRowResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTableResponse) []GoogleCloudDocumentaiV1DocumentPageTableTableRowResponse { @@ -11294,6 +13059,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTableResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageTableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageTableResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageTableResponse)[vs[1].(int)] @@ -11347,6 +13118,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageTableTableCellArgs) ToGoogleCloudDocu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTableTableCellOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageTableTableCellArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableCell] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableCell]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTableTableCellOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageTableTableCellArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageTableTableCellArray and GoogleCloudDocumentaiV1DocumentPageTableTableCellArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageTableTableCellArrayInput` via: // @@ -11372,6 +13149,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageTableTableCellArray) ToGoogleCloudDoc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTableTableCellArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageTableTableCellArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableCell] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableCell]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTableTableCellArrayOutputWithContext(ctx).OutputState, + } +} + // A cell representation inside the table. type GoogleCloudDocumentaiV1DocumentPageTableTableCellOutput struct{ *pulumi.OutputState } @@ -11387,6 +13170,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableCell] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableCell]{ + OutputState: o.OutputState, + } +} + // How many columns this cell spans. func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellOutput) ColSpan() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTableTableCell) *int { return v.ColSpan }).(pulumi.IntPtrOutput) @@ -11425,6 +13214,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableCell] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableCell]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageTableTableCellOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageTableTableCell { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageTableTableCell)[vs[1].(int)] @@ -11458,6 +13253,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellResponseOutput) ToGoogl return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableCellResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableCellResponse]{ + OutputState: o.OutputState, + } +} + // How many columns this cell spans. func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellResponseOutput) ColSpan() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTableTableCellResponse) int { return v.ColSpan }).(pulumi.IntOutput) @@ -11496,6 +13297,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellResponseArrayOutput) To return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableCellResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableCellResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTableTableCellResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageTableTableCellResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageTableTableCellResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageTableTableCellResponse)[vs[1].(int)] @@ -11537,6 +13344,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageTableTableRowArgs) ToGoogleCloudDocum return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTableTableRowOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageTableTableRowArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableRow] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableRow]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTableTableRowOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageTableTableRowArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageTableTableRowArray and GoogleCloudDocumentaiV1DocumentPageTableTableRowArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageTableTableRowArrayInput` via: // @@ -11562,6 +13375,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageTableTableRowArray) ToGoogleCloudDocu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTableTableRowArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageTableTableRowArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableRow] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableRow]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTableTableRowArrayOutputWithContext(ctx).OutputState, + } +} + // A row of table cells. type GoogleCloudDocumentaiV1DocumentPageTableTableRowOutput struct{ *pulumi.OutputState } @@ -11577,6 +13396,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowOutput) ToGoogleCloudDoc return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableRow] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableRow]{ + OutputState: o.OutputState, + } +} + // Cells that make up this row. func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowOutput) Cells() GoogleCloudDocumentaiV1DocumentPageTableTableCellArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTableTableRow) []GoogleCloudDocumentaiV1DocumentPageTableTableCell { @@ -11598,6 +13423,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableRow] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableRow]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageTableTableRowOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageTableTableRow { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageTableTableRow)[vs[1].(int)] @@ -11625,6 +13456,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowResponseOutput) ToGoogle return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableRowResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTableTableRowResponse]{ + OutputState: o.OutputState, + } +} + // Cells that make up this row. func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowResponseOutput) Cells() GoogleCloudDocumentaiV1DocumentPageTableTableCellResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTableTableRowResponse) []GoogleCloudDocumentaiV1DocumentPageTableTableCellResponse { @@ -11646,6 +13483,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowResponseArrayOutput) ToG return o } +func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableRowResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTableTableRowResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTableTableRowResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageTableTableRowResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageTableTableRowResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageTableTableRowResponse)[vs[1].(int)] @@ -11703,6 +13546,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageTokenArgs) ToGoogleCloudDocumentaiV1D return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTokenOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageTokenArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageToken] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageToken]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTokenOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageTokenArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageTokenArray and GoogleCloudDocumentaiV1DocumentPageTokenArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageTokenArrayInput` via: // @@ -11728,6 +13577,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageTokenArray) ToGoogleCloudDocumentaiV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTokenArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageTokenArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageToken] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageToken]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTokenArrayOutputWithContext(ctx).OutputState, + } +} + // A detected token. type GoogleCloudDocumentaiV1DocumentPageTokenOutput struct{ *pulumi.OutputState } @@ -11743,6 +13598,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenOutput) ToGoogleCloudDocumentaiV return o } +func (o GoogleCloudDocumentaiV1DocumentPageTokenOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageToken] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageToken]{ + OutputState: o.OutputState, + } +} + // Detected break at the end of a Token. func (o GoogleCloudDocumentaiV1DocumentPageTokenOutput) DetectedBreak() GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageToken) *GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak { @@ -11792,6 +13653,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenArrayOutput) ToGoogleCloudDocume return o } +func (o GoogleCloudDocumentaiV1DocumentPageTokenArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageToken] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageToken]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTokenArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageTokenOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageToken { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageToken)[vs[1].(int)] @@ -11833,6 +13700,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakArgs) ToGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrOutput() GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrOutputWithContext(context.Background()) } @@ -11874,6 +13747,12 @@ func (i *googleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrOutput) } +func (i *googleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrOutputWithContext(ctx).OutputState, + } +} + // Detected break at the end of a Token. type GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakOutput struct{ *pulumi.OutputState } @@ -11899,6 +13778,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakOutput) ToGoogleClo }).(GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak]{ + OutputState: o.OutputState, + } +} + // Detected break type. func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakOutput) Type() GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakTypePtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak) *GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakType { @@ -11920,6 +13805,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrOutput) ToGoogle return o } +func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak) GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak { if v != nil { @@ -11961,6 +13852,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakResponseOutput) ToG return o } +func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakResponse]{ + OutputState: o.OutputState, + } +} + // Detected break type. func (o GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakResponse) string { return v.Type }).(pulumi.StringOutput) @@ -11995,6 +13892,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenResponseOutput) ToGoogleCloudDoc return o } +func (o GoogleCloudDocumentaiV1DocumentPageTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenResponse]{ + OutputState: o.OutputState, + } +} + // Detected break at the end of a Token. func (o GoogleCloudDocumentaiV1DocumentPageTokenResponseOutput) DetectedBreak() GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakResponseOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTokenResponse) GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreakResponse { @@ -12044,6 +13947,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDocumentaiV1DocumentPageTokenResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTokenResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageTokenResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTokenResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageTokenResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageTokenResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageTokenResponse)[vs[1].(int)] @@ -12141,6 +14050,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoArgs) ToGoogleCloudDocu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTokenStyleInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoArgs) ToGoogleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrOutput() GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrOutputWithContext(context.Background()) } @@ -12182,6 +14097,12 @@ func (i *googleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrOutput) } +func (i *googleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Font and other text style attributes. type GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoOutput struct{ *pulumi.OutputState } @@ -12207,6 +14128,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoOutput) ToGoogleCloudDo }).(GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo]{ + OutputState: o.OutputState, + } +} + // Color of the background. func (o GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoOutput) BackgroundColor() GoogleTypeColorPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo) *GoogleTypeColor { return v.BackgroundColor }).(GoogleTypeColorPtrOutput) @@ -12296,6 +14223,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrOutput) ToGoogleClou return o } +func (o GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo) GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo { if v != nil { @@ -12505,6 +14438,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoResponseOutput) ToGoogl return o } +func (o GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoResponse]{ + OutputState: o.OutputState, + } +} + // Color of the background. func (o GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoResponseOutput) BackgroundColor() GoogleTypeColorResponseOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoResponse) GoogleTypeColorResponse { @@ -12627,6 +14566,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageVisualElementArgs) ToGoogleCloudDocum return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageVisualElementOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageVisualElementArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageVisualElement] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageVisualElement]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageVisualElementOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentPageVisualElementArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentPageVisualElementArray and GoogleCloudDocumentaiV1DocumentPageVisualElementArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentPageVisualElementArrayInput` via: // @@ -12652,6 +14597,12 @@ func (i GoogleCloudDocumentaiV1DocumentPageVisualElementArray) ToGoogleCloudDocu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentPageVisualElementArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentPageVisualElementArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageVisualElement] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageVisualElement]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentPageVisualElementArrayOutputWithContext(ctx).OutputState, + } +} + // Detected non-text visual elements e.g. checkbox, signature etc. on the page. type GoogleCloudDocumentaiV1DocumentPageVisualElementOutput struct{ *pulumi.OutputState } @@ -12667,6 +14618,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageVisualElementOutput) ToGoogleCloudDoc return o } +func (o GoogleCloudDocumentaiV1DocumentPageVisualElementOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageVisualElement] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageVisualElement]{ + OutputState: o.OutputState, + } +} + // A list of detected languages together with confidence. func (o GoogleCloudDocumentaiV1DocumentPageVisualElementOutput) DetectedLanguages() GoogleCloudDocumentaiV1DocumentPageDetectedLanguageArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageVisualElement) []GoogleCloudDocumentaiV1DocumentPageDetectedLanguage { @@ -12700,6 +14657,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageVisualElementArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDocumentaiV1DocumentPageVisualElementArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageVisualElement] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageVisualElement]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageVisualElementArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageVisualElementOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageVisualElement { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageVisualElement)[vs[1].(int)] @@ -12731,6 +14694,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageVisualElementResponseOutput) ToGoogle return o } +func (o GoogleCloudDocumentaiV1DocumentPageVisualElementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentPageVisualElementResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentPageVisualElementResponse]{ + OutputState: o.OutputState, + } +} + // A list of detected languages together with confidence. func (o GoogleCloudDocumentaiV1DocumentPageVisualElementResponseOutput) DetectedLanguages() GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentPageVisualElementResponse) []GoogleCloudDocumentaiV1DocumentPageDetectedLanguageResponse { @@ -12764,6 +14733,12 @@ func (o GoogleCloudDocumentaiV1DocumentPageVisualElementResponseArrayOutput) ToG return o } +func (o GoogleCloudDocumentaiV1DocumentPageVisualElementResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageVisualElementResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentPageVisualElementResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentPageVisualElementResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentPageVisualElementResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentPageVisualElementResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentPageVisualElementResponse)[vs[1].(int)] @@ -12817,6 +14792,12 @@ func (i GoogleCloudDocumentaiV1DocumentProvenanceArgs) ToGoogleCloudDocumentaiV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentProvenanceOutput) } +func (i GoogleCloudDocumentaiV1DocumentProvenanceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenance] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenance]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentProvenanceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentProvenanceArgs) ToGoogleCloudDocumentaiV1DocumentProvenancePtrOutput() GoogleCloudDocumentaiV1DocumentProvenancePtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentProvenancePtrOutputWithContext(context.Background()) } @@ -12858,6 +14839,12 @@ func (i *googleCloudDocumentaiV1DocumentProvenancePtrType) ToGoogleCloudDocument return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentProvenancePtrOutput) } +func (i *googleCloudDocumentaiV1DocumentProvenancePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentProvenance] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentProvenance]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentProvenancePtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentProvenanceArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentProvenanceArray and GoogleCloudDocumentaiV1DocumentProvenanceArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentProvenanceArrayInput` via: // @@ -12883,6 +14870,12 @@ func (i GoogleCloudDocumentaiV1DocumentProvenanceArray) ToGoogleCloudDocumentaiV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentProvenanceArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentProvenanceArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenance] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenance]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentProvenanceArrayOutputWithContext(ctx).OutputState, + } +} + // Structure to identify provenance relationships between annotations in different revisions. type GoogleCloudDocumentaiV1DocumentProvenanceOutput struct{ *pulumi.OutputState } @@ -12908,6 +14901,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenanceOutput) ToGoogleCloudDocumentai }).(GoogleCloudDocumentaiV1DocumentProvenancePtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentProvenanceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenance] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenance]{ + OutputState: o.OutputState, + } +} + // The Id of this operation. Needs to be unique within the scope of the revision. func (o GoogleCloudDocumentaiV1DocumentProvenanceOutput) Id() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentProvenance) *int { return v.Id }).(pulumi.IntPtrOutput) @@ -12946,6 +14945,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenancePtrOutput) ToGoogleCloudDocumen return o } +func (o GoogleCloudDocumentaiV1DocumentProvenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentProvenance] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentProvenance]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentProvenancePtrOutput) Elem() GoogleCloudDocumentaiV1DocumentProvenanceOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentProvenance) GoogleCloudDocumentaiV1DocumentProvenance { if v != nil { @@ -13010,6 +15015,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenanceArrayOutput) ToGoogleCloudDocum return o } +func (o GoogleCloudDocumentaiV1DocumentProvenanceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenance] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenance]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentProvenanceArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentProvenanceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentProvenance { return vs[0].([]GoogleCloudDocumentaiV1DocumentProvenance)[vs[1].(int)] @@ -13059,6 +15070,12 @@ func (i GoogleCloudDocumentaiV1DocumentProvenanceParentArgs) ToGoogleCloudDocume return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentProvenanceParentOutput) } +func (i GoogleCloudDocumentaiV1DocumentProvenanceParentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenanceParent] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenanceParent]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentProvenanceParentOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentProvenanceParentArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentProvenanceParentArray and GoogleCloudDocumentaiV1DocumentProvenanceParentArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentProvenanceParentArrayInput` via: // @@ -13084,6 +15101,12 @@ func (i GoogleCloudDocumentaiV1DocumentProvenanceParentArray) ToGoogleCloudDocum return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentProvenanceParentArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentProvenanceParentArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenanceParent] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenanceParent]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentProvenanceParentArrayOutputWithContext(ctx).OutputState, + } +} + // The parent element the current element is based on. Used for referencing/aligning, removal and replacement operations. type GoogleCloudDocumentaiV1DocumentProvenanceParentOutput struct{ *pulumi.OutputState } @@ -13099,6 +15122,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenanceParentOutput) ToGoogleCloudDocu return o } +func (o GoogleCloudDocumentaiV1DocumentProvenanceParentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenanceParent] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenanceParent]{ + OutputState: o.OutputState, + } +} + // The id of the parent provenance. func (o GoogleCloudDocumentaiV1DocumentProvenanceParentOutput) Id() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentProvenanceParent) *int { return v.Id }).(pulumi.IntPtrOutput) @@ -13128,6 +15157,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenanceParentArrayOutput) ToGoogleClou return o } +func (o GoogleCloudDocumentaiV1DocumentProvenanceParentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenanceParent] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenanceParent]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentProvenanceParentArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentProvenanceParentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentProvenanceParent { return vs[0].([]GoogleCloudDocumentaiV1DocumentProvenanceParent)[vs[1].(int)] @@ -13157,6 +15192,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenanceParentResponseOutput) ToGoogleC return o } +func (o GoogleCloudDocumentaiV1DocumentProvenanceParentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenanceParentResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenanceParentResponse]{ + OutputState: o.OutputState, + } +} + // The index of the parent item in the corresponding item list (eg. list of entities, properties within entities, etc.) in the parent revision. func (o GoogleCloudDocumentaiV1DocumentProvenanceParentResponseOutput) Index() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentProvenanceParentResponse) int { return v.Index }).(pulumi.IntOutput) @@ -13181,6 +15222,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenanceParentResponseArrayOutput) ToGo return o } +func (o GoogleCloudDocumentaiV1DocumentProvenanceParentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenanceParentResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenanceParentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentProvenanceParentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentProvenanceParentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentProvenanceParentResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentProvenanceParentResponse)[vs[1].(int)] @@ -13212,6 +15259,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenanceResponseOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentProvenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenanceResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentProvenanceResponse]{ + OutputState: o.OutputState, + } +} + // References to the original elements that are replaced. func (o GoogleCloudDocumentaiV1DocumentProvenanceResponseOutput) Parents() GoogleCloudDocumentaiV1DocumentProvenanceParentResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentProvenanceResponse) []GoogleCloudDocumentaiV1DocumentProvenanceParentResponse { @@ -13243,6 +15296,12 @@ func (o GoogleCloudDocumentaiV1DocumentProvenanceResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDocumentaiV1DocumentProvenanceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenanceResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentProvenanceResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentProvenanceResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentProvenanceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentProvenanceResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentProvenanceResponse)[vs[1].(int)] @@ -13292,6 +15351,12 @@ func (o GoogleCloudDocumentaiV1DocumentResponseOutput) ToGoogleCloudDocumentaiV1 return o } +func (o GoogleCloudDocumentaiV1DocumentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. func (o GoogleCloudDocumentaiV1DocumentResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentResponse) string { return v.Content }).(pulumi.StringOutput) @@ -13425,6 +15490,12 @@ func (i GoogleCloudDocumentaiV1DocumentRevisionArgs) ToGoogleCloudDocumentaiV1Do return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentRevisionOutput) } +func (i GoogleCloudDocumentaiV1DocumentRevisionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentRevision] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentRevision]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentRevisionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentRevisionArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentRevisionArray and GoogleCloudDocumentaiV1DocumentRevisionArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentRevisionArrayInput` via: // @@ -13450,6 +15521,12 @@ func (i GoogleCloudDocumentaiV1DocumentRevisionArray) ToGoogleCloudDocumentaiV1D return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentRevisionArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentRevisionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentRevision] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentRevision]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentRevisionArrayOutputWithContext(ctx).OutputState, + } +} + // Contains past or forward revisions of this document. type GoogleCloudDocumentaiV1DocumentRevisionOutput struct{ *pulumi.OutputState } @@ -13465,6 +15542,12 @@ func (o GoogleCloudDocumentaiV1DocumentRevisionOutput) ToGoogleCloudDocumentaiV1 return o } +func (o GoogleCloudDocumentaiV1DocumentRevisionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentRevision] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentRevision]{ + OutputState: o.OutputState, + } +} + // If the change was made by a person specify the name or id of that person. func (o GoogleCloudDocumentaiV1DocumentRevisionOutput) Agent() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentRevision) *string { return v.Agent }).(pulumi.StringPtrOutput) @@ -13516,6 +15599,12 @@ func (o GoogleCloudDocumentaiV1DocumentRevisionArrayOutput) ToGoogleCloudDocumen return o } +func (o GoogleCloudDocumentaiV1DocumentRevisionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentRevision] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentRevision]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentRevisionArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentRevisionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentRevision { return vs[0].([]GoogleCloudDocumentaiV1DocumentRevision)[vs[1].(int)] @@ -13561,6 +15650,12 @@ func (i GoogleCloudDocumentaiV1DocumentRevisionHumanReviewArgs) ToGoogleCloudDoc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentRevisionHumanReviewOutput) } +func (i GoogleCloudDocumentaiV1DocumentRevisionHumanReviewArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentRevisionHumanReview] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentRevisionHumanReview]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentRevisionHumanReviewOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentRevisionHumanReviewArgs) ToGoogleCloudDocumentaiV1DocumentRevisionHumanReviewPtrOutput() GoogleCloudDocumentaiV1DocumentRevisionHumanReviewPtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentRevisionHumanReviewPtrOutputWithContext(context.Background()) } @@ -13602,6 +15697,12 @@ func (i *googleCloudDocumentaiV1DocumentRevisionHumanReviewPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentRevisionHumanReviewPtrOutput) } +func (i *googleCloudDocumentaiV1DocumentRevisionHumanReviewPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentRevisionHumanReview] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentRevisionHumanReview]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentRevisionHumanReviewPtrOutputWithContext(ctx).OutputState, + } +} + // Human Review information of the document. type GoogleCloudDocumentaiV1DocumentRevisionHumanReviewOutput struct{ *pulumi.OutputState } @@ -13627,6 +15728,12 @@ func (o GoogleCloudDocumentaiV1DocumentRevisionHumanReviewOutput) ToGoogleCloudD }).(GoogleCloudDocumentaiV1DocumentRevisionHumanReviewPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentRevisionHumanReviewOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentRevisionHumanReview] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentRevisionHumanReview]{ + OutputState: o.OutputState, + } +} + // Human review state. e.g. `requested`, `succeeded`, `rejected`. func (o GoogleCloudDocumentaiV1DocumentRevisionHumanReviewOutput) State() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentRevisionHumanReview) *string { return v.State }).(pulumi.StringPtrOutput) @@ -13651,6 +15758,12 @@ func (o GoogleCloudDocumentaiV1DocumentRevisionHumanReviewPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDocumentaiV1DocumentRevisionHumanReviewPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentRevisionHumanReview] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentRevisionHumanReview]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentRevisionHumanReviewPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentRevisionHumanReviewOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentRevisionHumanReview) GoogleCloudDocumentaiV1DocumentRevisionHumanReview { if v != nil { @@ -13704,6 +15817,12 @@ func (o GoogleCloudDocumentaiV1DocumentRevisionHumanReviewResponseOutput) ToGoog return o } +func (o GoogleCloudDocumentaiV1DocumentRevisionHumanReviewResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentRevisionHumanReviewResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentRevisionHumanReviewResponse]{ + OutputState: o.OutputState, + } +} + // Human review state. e.g. `requested`, `succeeded`, `rejected`. func (o GoogleCloudDocumentaiV1DocumentRevisionHumanReviewResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentRevisionHumanReviewResponse) string { return v.State }).(pulumi.StringOutput) @@ -13745,6 +15864,12 @@ func (o GoogleCloudDocumentaiV1DocumentRevisionResponseOutput) ToGoogleCloudDocu return o } +func (o GoogleCloudDocumentaiV1DocumentRevisionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentRevisionResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentRevisionResponse]{ + OutputState: o.OutputState, + } +} + // If the change was made by a person specify the name or id of that person. func (o GoogleCloudDocumentaiV1DocumentRevisionResponseOutput) Agent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentRevisionResponse) string { return v.Agent }).(pulumi.StringOutput) @@ -13791,6 +15916,12 @@ func (o GoogleCloudDocumentaiV1DocumentRevisionResponseArrayOutput) ToGoogleClou return o } +func (o GoogleCloudDocumentaiV1DocumentRevisionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentRevisionResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentRevisionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentRevisionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentRevisionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentRevisionResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentRevisionResponse)[vs[1].(int)] @@ -13840,6 +15971,12 @@ func (i GoogleCloudDocumentaiV1DocumentShardInfoArgs) ToGoogleCloudDocumentaiV1D return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentShardInfoOutput) } +func (i GoogleCloudDocumentaiV1DocumentShardInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentShardInfo] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentShardInfo]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentShardInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentShardInfoArgs) ToGoogleCloudDocumentaiV1DocumentShardInfoPtrOutput() GoogleCloudDocumentaiV1DocumentShardInfoPtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentShardInfoPtrOutputWithContext(context.Background()) } @@ -13881,6 +16018,12 @@ func (i *googleCloudDocumentaiV1DocumentShardInfoPtrType) ToGoogleCloudDocumenta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentShardInfoPtrOutput) } +func (i *googleCloudDocumentaiV1DocumentShardInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentShardInfo] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentShardInfo]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentShardInfoPtrOutputWithContext(ctx).OutputState, + } +} + // For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is. type GoogleCloudDocumentaiV1DocumentShardInfoOutput struct{ *pulumi.OutputState } @@ -13906,6 +16049,12 @@ func (o GoogleCloudDocumentaiV1DocumentShardInfoOutput) ToGoogleCloudDocumentaiV }).(GoogleCloudDocumentaiV1DocumentShardInfoPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentShardInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentShardInfo] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentShardInfo]{ + OutputState: o.OutputState, + } +} + // Total number of shards. func (o GoogleCloudDocumentaiV1DocumentShardInfoOutput) ShardCount() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentShardInfo) *string { return v.ShardCount }).(pulumi.StringPtrOutput) @@ -13935,6 +16084,12 @@ func (o GoogleCloudDocumentaiV1DocumentShardInfoPtrOutput) ToGoogleCloudDocument return o } +func (o GoogleCloudDocumentaiV1DocumentShardInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentShardInfo] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentShardInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentShardInfoPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentShardInfoOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentShardInfo) GoogleCloudDocumentaiV1DocumentShardInfo { if v != nil { @@ -14000,6 +16155,12 @@ func (o GoogleCloudDocumentaiV1DocumentShardInfoResponseOutput) ToGoogleCloudDoc return o } +func (o GoogleCloudDocumentaiV1DocumentShardInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentShardInfoResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentShardInfoResponse]{ + OutputState: o.OutputState, + } +} + // Total number of shards. func (o GoogleCloudDocumentaiV1DocumentShardInfoResponseOutput) ShardCount() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentShardInfoResponse) string { return v.ShardCount }).(pulumi.StringOutput) @@ -14078,6 +16239,12 @@ func (i GoogleCloudDocumentaiV1DocumentStyleArgs) ToGoogleCloudDocumentaiV1Docum return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentStyleOutput) } +func (i GoogleCloudDocumentaiV1DocumentStyleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentStyle] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentStyle]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentStyleOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentStyleArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentStyleArray and GoogleCloudDocumentaiV1DocumentStyleArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentStyleArrayInput` via: // @@ -14103,6 +16270,12 @@ func (i GoogleCloudDocumentaiV1DocumentStyleArray) ToGoogleCloudDocumentaiV1Docu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentStyleArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentStyleArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentStyle] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentStyle]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentStyleArrayOutputWithContext(ctx).OutputState, + } +} + // Annotation for common text style attributes. This adheres to CSS conventions as much as possible. type GoogleCloudDocumentaiV1DocumentStyleOutput struct{ *pulumi.OutputState } @@ -14118,6 +16291,12 @@ func (o GoogleCloudDocumentaiV1DocumentStyleOutput) ToGoogleCloudDocumentaiV1Doc return o } +func (o GoogleCloudDocumentaiV1DocumentStyleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentStyle] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentStyle]{ + OutputState: o.OutputState, + } +} + // Text background color. func (o GoogleCloudDocumentaiV1DocumentStyleOutput) BackgroundColor() GoogleTypeColorPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentStyle) *GoogleTypeColor { return v.BackgroundColor }).(GoogleTypeColorPtrOutput) @@ -14176,6 +16355,12 @@ func (o GoogleCloudDocumentaiV1DocumentStyleArrayOutput) ToGoogleCloudDocumentai return o } +func (o GoogleCloudDocumentaiV1DocumentStyleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentStyle] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentStyle]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentStyleArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentStyleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentStyle { return vs[0].([]GoogleCloudDocumentaiV1DocumentStyle)[vs[1].(int)] @@ -14221,6 +16406,12 @@ func (i GoogleCloudDocumentaiV1DocumentStyleFontSizeArgs) ToGoogleCloudDocumenta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentStyleFontSizeOutput) } +func (i GoogleCloudDocumentaiV1DocumentStyleFontSizeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentStyleFontSize] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentStyleFontSize]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentStyleFontSizeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentStyleFontSizeArgs) ToGoogleCloudDocumentaiV1DocumentStyleFontSizePtrOutput() GoogleCloudDocumentaiV1DocumentStyleFontSizePtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentStyleFontSizePtrOutputWithContext(context.Background()) } @@ -14262,6 +16453,12 @@ func (i *googleCloudDocumentaiV1DocumentStyleFontSizePtrType) ToGoogleCloudDocum return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentStyleFontSizePtrOutput) } +func (i *googleCloudDocumentaiV1DocumentStyleFontSizePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentStyleFontSize] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentStyleFontSize]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentStyleFontSizePtrOutputWithContext(ctx).OutputState, + } +} + // Font size with unit. type GoogleCloudDocumentaiV1DocumentStyleFontSizeOutput struct{ *pulumi.OutputState } @@ -14287,6 +16484,12 @@ func (o GoogleCloudDocumentaiV1DocumentStyleFontSizeOutput) ToGoogleCloudDocumen }).(GoogleCloudDocumentaiV1DocumentStyleFontSizePtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentStyleFontSizeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentStyleFontSize] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentStyleFontSize]{ + OutputState: o.OutputState, + } +} + // Font size for the text. func (o GoogleCloudDocumentaiV1DocumentStyleFontSizeOutput) Size() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentStyleFontSize) *float64 { return v.Size }).(pulumi.Float64PtrOutput) @@ -14311,6 +16514,12 @@ func (o GoogleCloudDocumentaiV1DocumentStyleFontSizePtrOutput) ToGoogleCloudDocu return o } +func (o GoogleCloudDocumentaiV1DocumentStyleFontSizePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentStyleFontSize] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentStyleFontSize]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentStyleFontSizePtrOutput) Elem() GoogleCloudDocumentaiV1DocumentStyleFontSizeOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentStyleFontSize) GoogleCloudDocumentaiV1DocumentStyleFontSize { if v != nil { @@ -14364,6 +16573,12 @@ func (o GoogleCloudDocumentaiV1DocumentStyleFontSizeResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDocumentaiV1DocumentStyleFontSizeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentStyleFontSizeResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentStyleFontSizeResponse]{ + OutputState: o.OutputState, + } +} + // Font size for the text. func (o GoogleCloudDocumentaiV1DocumentStyleFontSizeResponseOutput) Size() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentStyleFontSizeResponse) float64 { return v.Size }).(pulumi.Float64Output) @@ -14409,6 +16624,12 @@ func (o GoogleCloudDocumentaiV1DocumentStyleResponseOutput) ToGoogleCloudDocumen return o } +func (o GoogleCloudDocumentaiV1DocumentStyleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentStyleResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentStyleResponse]{ + OutputState: o.OutputState, + } +} + // Text background color. func (o GoogleCloudDocumentaiV1DocumentStyleResponseOutput) BackgroundColor() GoogleTypeColorResponseOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentStyleResponse) GoogleTypeColorResponse { return v.BackgroundColor }).(GoogleTypeColorResponseOutput) @@ -14467,6 +16688,12 @@ func (o GoogleCloudDocumentaiV1DocumentStyleResponseArrayOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentStyleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentStyleResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentStyleResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentStyleResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentStyleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentStyleResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentStyleResponse)[vs[1].(int)] @@ -14512,6 +16739,12 @@ func (i GoogleCloudDocumentaiV1DocumentTextAnchorArgs) ToGoogleCloudDocumentaiV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentTextAnchorOutput) } +func (i GoogleCloudDocumentaiV1DocumentTextAnchorArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchor] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchor]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentTextAnchorOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDocumentaiV1DocumentTextAnchorArgs) ToGoogleCloudDocumentaiV1DocumentTextAnchorPtrOutput() GoogleCloudDocumentaiV1DocumentTextAnchorPtrOutput { return i.ToGoogleCloudDocumentaiV1DocumentTextAnchorPtrOutputWithContext(context.Background()) } @@ -14553,6 +16786,12 @@ func (i *googleCloudDocumentaiV1DocumentTextAnchorPtrType) ToGoogleCloudDocument return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentTextAnchorPtrOutput) } +func (i *googleCloudDocumentaiV1DocumentTextAnchorPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentTextAnchor] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentTextAnchor]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentTextAnchorPtrOutputWithContext(ctx).OutputState, + } +} + // Text reference indexing into the Document.text. type GoogleCloudDocumentaiV1DocumentTextAnchorOutput struct{ *pulumi.OutputState } @@ -14578,6 +16817,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextAnchorOutput) ToGoogleCloudDocumentai }).(GoogleCloudDocumentaiV1DocumentTextAnchorPtrOutput) } +func (o GoogleCloudDocumentaiV1DocumentTextAnchorOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchor] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchor]{ + OutputState: o.OutputState, + } +} + // Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields. func (o GoogleCloudDocumentaiV1DocumentTextAnchorOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentTextAnchor) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -14604,6 +16849,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextAnchorPtrOutput) ToGoogleCloudDocumen return o } +func (o GoogleCloudDocumentaiV1DocumentTextAnchorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDocumentaiV1DocumentTextAnchor] { + return pulumix.Output[*GoogleCloudDocumentaiV1DocumentTextAnchor]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentTextAnchorPtrOutput) Elem() GoogleCloudDocumentaiV1DocumentTextAnchorOutput { return o.ApplyT(func(v *GoogleCloudDocumentaiV1DocumentTextAnchor) GoogleCloudDocumentaiV1DocumentTextAnchor { if v != nil { @@ -14657,6 +16908,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextAnchorResponseOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentTextAnchorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchorResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchorResponse]{ + OutputState: o.OutputState, + } +} + // Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields. func (o GoogleCloudDocumentaiV1DocumentTextAnchorResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentTextAnchorResponse) string { return v.Content }).(pulumi.StringOutput) @@ -14708,6 +16965,12 @@ func (i GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentOutput) } +func (i GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray and GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArrayInput` via: // @@ -14733,6 +16996,12 @@ func (i GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArrayOutputWithContext(ctx).OutputState, + } +} + // A text segment in the Document.text. The indices may be out of bounds which indicate that the text extends into another document shard for large sharded documents. See ShardInfo.text_offset type GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentOutput struct{ *pulumi.OutputState } @@ -14748,6 +17017,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentOutput) ToGoogleClou return o } +func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment]{ + OutputState: o.OutputState, + } +} + // TextSegment half open end UTF-8 char index in the Document.text. func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentOutput) EndIndex() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment) *string { return v.EndIndex }).(pulumi.StringPtrOutput) @@ -14772,6 +17047,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArrayOutput) ToGoogl return o } +func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment { return vs[0].([]GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment)[vs[1].(int)] @@ -14801,6 +17082,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponseOutput) ToGo return o } +func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponse]{ + OutputState: o.OutputState, + } +} + // TextSegment half open end UTF-8 char index in the Document.text. func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponseOutput) EndIndex() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponse) string { return v.EndIndex }).(pulumi.StringOutput) @@ -14825,6 +17112,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponseArrayOutput) return o } +func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentTextAnchorTextSegmentResponse)[vs[1].(int)] @@ -14874,6 +17167,12 @@ func (i GoogleCloudDocumentaiV1DocumentTextChangeArgs) ToGoogleCloudDocumentaiV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentTextChangeOutput) } +func (i GoogleCloudDocumentaiV1DocumentTextChangeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentTextChange] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentTextChange]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentTextChangeOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1DocumentTextChangeArrayInput is an input type that accepts GoogleCloudDocumentaiV1DocumentTextChangeArray and GoogleCloudDocumentaiV1DocumentTextChangeArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1DocumentTextChangeArrayInput` via: // @@ -14899,6 +17198,12 @@ func (i GoogleCloudDocumentaiV1DocumentTextChangeArray) ToGoogleCloudDocumentaiV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1DocumentTextChangeArrayOutput) } +func (i GoogleCloudDocumentaiV1DocumentTextChangeArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextChange] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextChange]{ + OutputState: i.ToGoogleCloudDocumentaiV1DocumentTextChangeArrayOutputWithContext(ctx).OutputState, + } +} + // This message is used for text changes aka. OCR corrections. type GoogleCloudDocumentaiV1DocumentTextChangeOutput struct{ *pulumi.OutputState } @@ -14914,6 +17219,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextChangeOutput) ToGoogleCloudDocumentai return o } +func (o GoogleCloudDocumentaiV1DocumentTextChangeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentTextChange] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentTextChange]{ + OutputState: o.OutputState, + } +} + // The text that replaces the text identified in the `text_anchor`. func (o GoogleCloudDocumentaiV1DocumentTextChangeOutput) ChangedText() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentTextChange) *string { return v.ChangedText }).(pulumi.StringPtrOutput) @@ -14947,6 +17258,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextChangeArrayOutput) ToGoogleCloudDocum return o } +func (o GoogleCloudDocumentaiV1DocumentTextChangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextChange] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextChange]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentTextChangeArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentTextChangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentTextChange { return vs[0].([]GoogleCloudDocumentaiV1DocumentTextChange)[vs[1].(int)] @@ -14978,6 +17295,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextChangeResponseOutput) ToGoogleCloudDo return o } +func (o GoogleCloudDocumentaiV1DocumentTextChangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1DocumentTextChangeResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1DocumentTextChangeResponse]{ + OutputState: o.OutputState, + } +} + // The text that replaces the text identified in the `text_anchor`. func (o GoogleCloudDocumentaiV1DocumentTextChangeResponseOutput) ChangedText() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1DocumentTextChangeResponse) string { return v.ChangedText }).(pulumi.StringOutput) @@ -15011,6 +17334,12 @@ func (o GoogleCloudDocumentaiV1DocumentTextChangeResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDocumentaiV1DocumentTextChangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextChangeResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1DocumentTextChangeResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1DocumentTextChangeResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1DocumentTextChangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1DocumentTextChangeResponse { return vs[0].([]GoogleCloudDocumentaiV1DocumentTextChangeResponse)[vs[1].(int)] @@ -15056,6 +17385,12 @@ func (i GoogleCloudDocumentaiV1NormalizedVertexArgs) ToGoogleCloudDocumentaiV1No return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1NormalizedVertexOutput) } +func (i GoogleCloudDocumentaiV1NormalizedVertexArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1NormalizedVertex] { + return pulumix.Output[GoogleCloudDocumentaiV1NormalizedVertex]{ + OutputState: i.ToGoogleCloudDocumentaiV1NormalizedVertexOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1NormalizedVertexArrayInput is an input type that accepts GoogleCloudDocumentaiV1NormalizedVertexArray and GoogleCloudDocumentaiV1NormalizedVertexArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1NormalizedVertexArrayInput` via: // @@ -15081,6 +17416,12 @@ func (i GoogleCloudDocumentaiV1NormalizedVertexArray) ToGoogleCloudDocumentaiV1N return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1NormalizedVertexArrayOutput) } +func (i GoogleCloudDocumentaiV1NormalizedVertexArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1NormalizedVertex] { + return pulumix.Output[[]GoogleCloudDocumentaiV1NormalizedVertex]{ + OutputState: i.ToGoogleCloudDocumentaiV1NormalizedVertexArrayOutputWithContext(ctx).OutputState, + } +} + // A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1. type GoogleCloudDocumentaiV1NormalizedVertexOutput struct{ *pulumi.OutputState } @@ -15096,6 +17437,12 @@ func (o GoogleCloudDocumentaiV1NormalizedVertexOutput) ToGoogleCloudDocumentaiV1 return o } +func (o GoogleCloudDocumentaiV1NormalizedVertexOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1NormalizedVertex] { + return pulumix.Output[GoogleCloudDocumentaiV1NormalizedVertex]{ + OutputState: o.OutputState, + } +} + // X coordinate. func (o GoogleCloudDocumentaiV1NormalizedVertexOutput) X() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1NormalizedVertex) *float64 { return v.X }).(pulumi.Float64PtrOutput) @@ -15120,6 +17467,12 @@ func (o GoogleCloudDocumentaiV1NormalizedVertexArrayOutput) ToGoogleCloudDocumen return o } +func (o GoogleCloudDocumentaiV1NormalizedVertexArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1NormalizedVertex] { + return pulumix.Output[[]GoogleCloudDocumentaiV1NormalizedVertex]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1NormalizedVertexArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1NormalizedVertexOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1NormalizedVertex { return vs[0].([]GoogleCloudDocumentaiV1NormalizedVertex)[vs[1].(int)] @@ -15149,6 +17502,12 @@ func (o GoogleCloudDocumentaiV1NormalizedVertexResponseOutput) ToGoogleCloudDocu return o } +func (o GoogleCloudDocumentaiV1NormalizedVertexResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1NormalizedVertexResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1NormalizedVertexResponse]{ + OutputState: o.OutputState, + } +} + // X coordinate. func (o GoogleCloudDocumentaiV1NormalizedVertexResponseOutput) X() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDocumentaiV1NormalizedVertexResponse) float64 { return v.X }).(pulumi.Float64Output) @@ -15173,6 +17532,12 @@ func (o GoogleCloudDocumentaiV1NormalizedVertexResponseArrayOutput) ToGoogleClou return o } +func (o GoogleCloudDocumentaiV1NormalizedVertexResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1NormalizedVertexResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1NormalizedVertexResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1NormalizedVertexResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1NormalizedVertexResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1NormalizedVertexResponse { return vs[0].([]GoogleCloudDocumentaiV1NormalizedVertexResponse)[vs[1].(int)] @@ -15218,6 +17583,12 @@ func (i GoogleCloudDocumentaiV1VertexArgs) ToGoogleCloudDocumentaiV1VertexOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1VertexOutput) } +func (i GoogleCloudDocumentaiV1VertexArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1Vertex] { + return pulumix.Output[GoogleCloudDocumentaiV1Vertex]{ + OutputState: i.ToGoogleCloudDocumentaiV1VertexOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDocumentaiV1VertexArrayInput is an input type that accepts GoogleCloudDocumentaiV1VertexArray and GoogleCloudDocumentaiV1VertexArrayOutput values. // You can construct a concrete instance of `GoogleCloudDocumentaiV1VertexArrayInput` via: // @@ -15243,6 +17614,12 @@ func (i GoogleCloudDocumentaiV1VertexArray) ToGoogleCloudDocumentaiV1VertexArray return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDocumentaiV1VertexArrayOutput) } +func (i GoogleCloudDocumentaiV1VertexArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1Vertex] { + return pulumix.Output[[]GoogleCloudDocumentaiV1Vertex]{ + OutputState: i.ToGoogleCloudDocumentaiV1VertexArrayOutputWithContext(ctx).OutputState, + } +} + // A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image. type GoogleCloudDocumentaiV1VertexOutput struct{ *pulumi.OutputState } @@ -15258,6 +17635,12 @@ func (o GoogleCloudDocumentaiV1VertexOutput) ToGoogleCloudDocumentaiV1VertexOutp return o } +func (o GoogleCloudDocumentaiV1VertexOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1Vertex] { + return pulumix.Output[GoogleCloudDocumentaiV1Vertex]{ + OutputState: o.OutputState, + } +} + // X coordinate. func (o GoogleCloudDocumentaiV1VertexOutput) X() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1Vertex) *int { return v.X }).(pulumi.IntPtrOutput) @@ -15282,6 +17665,12 @@ func (o GoogleCloudDocumentaiV1VertexArrayOutput) ToGoogleCloudDocumentaiV1Verte return o } +func (o GoogleCloudDocumentaiV1VertexArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1Vertex] { + return pulumix.Output[[]GoogleCloudDocumentaiV1Vertex]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1VertexArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1VertexOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1Vertex { return vs[0].([]GoogleCloudDocumentaiV1Vertex)[vs[1].(int)] @@ -15311,6 +17700,12 @@ func (o GoogleCloudDocumentaiV1VertexResponseOutput) ToGoogleCloudDocumentaiV1Ve return o } +func (o GoogleCloudDocumentaiV1VertexResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDocumentaiV1VertexResponse] { + return pulumix.Output[GoogleCloudDocumentaiV1VertexResponse]{ + OutputState: o.OutputState, + } +} + // X coordinate. func (o GoogleCloudDocumentaiV1VertexResponseOutput) X() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDocumentaiV1VertexResponse) int { return v.X }).(pulumi.IntOutput) @@ -15335,6 +17730,12 @@ func (o GoogleCloudDocumentaiV1VertexResponseArrayOutput) ToGoogleCloudDocumenta return o } +func (o GoogleCloudDocumentaiV1VertexResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDocumentaiV1VertexResponse] { + return pulumix.Output[[]GoogleCloudDocumentaiV1VertexResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDocumentaiV1VertexResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDocumentaiV1VertexResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDocumentaiV1VertexResponse { return vs[0].([]GoogleCloudDocumentaiV1VertexResponse)[vs[1].(int)] @@ -15380,6 +17781,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -15405,6 +17812,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -15420,6 +17833,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -15444,6 +17863,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -15473,6 +17898,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -15497,6 +17928,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -15542,6 +17979,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -15567,6 +18010,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -15582,6 +18031,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -15606,6 +18061,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -15635,6 +18096,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -15659,6 +18126,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -15708,6 +18181,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -15733,6 +18212,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -15748,6 +18233,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() GoogleTypeExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *GoogleTypeExpr { return v.Condition }).(GoogleTypeExprPtrOutput) @@ -15777,6 +18268,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -15808,6 +18305,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() GoogleTypeExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) GoogleTypeExprResponse { return v.Condition }).(GoogleTypeExprResponseOutput) @@ -15837,6 +18340,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -15890,6 +18399,12 @@ func (i GoogleIamV1PolicyArgs) ToGoogleIamV1PolicyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1PolicyOutput) } +func (i GoogleIamV1PolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Policy] { + return pulumix.Output[GoogleIamV1Policy]{ + OutputState: i.ToGoogleIamV1PolicyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleIamV1PolicyArgs) ToGoogleIamV1PolicyPtrOutput() GoogleIamV1PolicyPtrOutput { return i.ToGoogleIamV1PolicyPtrOutputWithContext(context.Background()) } @@ -15931,6 +18446,12 @@ func (i *googleIamV1PolicyPtrType) ToGoogleIamV1PolicyPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1PolicyPtrOutput) } +func (i *googleIamV1PolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1Policy] { + return pulumix.Output[*GoogleIamV1Policy]{ + OutputState: i.ToGoogleIamV1PolicyPtrOutputWithContext(ctx).OutputState, + } +} + // An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). type GoogleIamV1PolicyOutput struct{ *pulumi.OutputState } @@ -15956,6 +18477,12 @@ func (o GoogleIamV1PolicyOutput) ToGoogleIamV1PolicyPtrOutputWithContext(ctx con }).(GoogleIamV1PolicyPtrOutput) } +func (o GoogleIamV1PolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Policy] { + return pulumix.Output[GoogleIamV1Policy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o GoogleIamV1PolicyOutput) AuditConfigs() GoogleIamV1AuditConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1Policy) []GoogleIamV1AuditConfig { return v.AuditConfigs }).(GoogleIamV1AuditConfigArrayOutput) @@ -15990,6 +18517,12 @@ func (o GoogleIamV1PolicyPtrOutput) ToGoogleIamV1PolicyPtrOutputWithContext(ctx return o } +func (o GoogleIamV1PolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1Policy] { + return pulumix.Output[*GoogleIamV1Policy]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1PolicyPtrOutput) Elem() GoogleIamV1PolicyOutput { return o.ApplyT(func(v *GoogleIamV1Policy) GoogleIamV1Policy { if v != nil { @@ -16067,6 +18600,12 @@ func (o GoogleIamV1PolicyResponseOutput) ToGoogleIamV1PolicyResponseOutputWithCo return o } +func (o GoogleIamV1PolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1PolicyResponse] { + return pulumix.Output[GoogleIamV1PolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o GoogleIamV1PolicyResponseOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1PolicyResponse) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) @@ -16130,6 +18669,12 @@ func (i GoogleRpcStatusArgs) ToGoogleRpcStatusOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GoogleRpcStatusOutput) } +func (i GoogleRpcStatusArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatus] { + return pulumix.Output[GoogleRpcStatus]{ + OutputState: i.ToGoogleRpcStatusOutputWithContext(ctx).OutputState, + } +} + func (i GoogleRpcStatusArgs) ToGoogleRpcStatusPtrOutput() GoogleRpcStatusPtrOutput { return i.ToGoogleRpcStatusPtrOutputWithContext(context.Background()) } @@ -16171,6 +18716,12 @@ func (i *googleRpcStatusPtrType) ToGoogleRpcStatusPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GoogleRpcStatusPtrOutput) } +func (i *googleRpcStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleRpcStatus] { + return pulumix.Output[*GoogleRpcStatus]{ + OutputState: i.ToGoogleRpcStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type GoogleRpcStatusOutput struct{ *pulumi.OutputState } @@ -16196,6 +18747,12 @@ func (o GoogleRpcStatusOutput) ToGoogleRpcStatusPtrOutputWithContext(ctx context }).(GoogleRpcStatusPtrOutput) } +func (o GoogleRpcStatusOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatus] { + return pulumix.Output[GoogleRpcStatus]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleRpcStatus) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -16225,6 +18782,12 @@ func (o GoogleRpcStatusPtrOutput) ToGoogleRpcStatusPtrOutputWithContext(ctx cont return o } +func (o GoogleRpcStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleRpcStatus] { + return pulumix.Output[*GoogleRpcStatus]{ + OutputState: o.OutputState, + } +} + func (o GoogleRpcStatusPtrOutput) Elem() GoogleRpcStatusOutput { return o.ApplyT(func(v *GoogleRpcStatus) GoogleRpcStatus { if v != nil { @@ -16290,6 +18853,12 @@ func (o GoogleRpcStatusResponseOutput) ToGoogleRpcStatusResponseOutputWithContex return o } +func (o GoogleRpcStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatusResponse] { + return pulumix.Output[GoogleRpcStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v GoogleRpcStatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -16352,6 +18921,12 @@ func (i GoogleTypeColorArgs) ToGoogleTypeColorOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeColorOutput) } +func (i GoogleTypeColorArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeColor] { + return pulumix.Output[GoogleTypeColor]{ + OutputState: i.ToGoogleTypeColorOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeColorArgs) ToGoogleTypeColorPtrOutput() GoogleTypeColorPtrOutput { return i.ToGoogleTypeColorPtrOutputWithContext(context.Background()) } @@ -16393,6 +18968,12 @@ func (i *googleTypeColorPtrType) ToGoogleTypeColorPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeColorPtrOutput) } +func (i *googleTypeColorPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeColor] { + return pulumix.Output[*GoogleTypeColor]{ + OutputState: i.ToGoogleTypeColorPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to/from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't carry information about the absolute color space that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most 1e-5. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(”); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(”); }; // ... type GoogleTypeColorOutput struct{ *pulumi.OutputState } @@ -16418,6 +18999,12 @@ func (o GoogleTypeColorOutput) ToGoogleTypeColorPtrOutputWithContext(ctx context }).(GoogleTypeColorPtrOutput) } +func (o GoogleTypeColorOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeColor] { + return pulumix.Output[GoogleTypeColor]{ + OutputState: o.OutputState, + } +} + // The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0). func (o GoogleTypeColorOutput) Alpha() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleTypeColor) *float64 { return v.Alpha }).(pulumi.Float64PtrOutput) @@ -16452,6 +19039,12 @@ func (o GoogleTypeColorPtrOutput) ToGoogleTypeColorPtrOutputWithContext(ctx cont return o } +func (o GoogleTypeColorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeColor] { + return pulumix.Output[*GoogleTypeColor]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeColorPtrOutput) Elem() GoogleTypeColorOutput { return o.ApplyT(func(v *GoogleTypeColor) GoogleTypeColor { if v != nil { @@ -16529,6 +19122,12 @@ func (o GoogleTypeColorResponseOutput) ToGoogleTypeColorResponseOutputWithContex return o } +func (o GoogleTypeColorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeColorResponse] { + return pulumix.Output[GoogleTypeColorResponse]{ + OutputState: o.OutputState, + } +} + // The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0). func (o GoogleTypeColorResponseOutput) Alpha() pulumi.Float64Output { return o.ApplyT(func(v GoogleTypeColorResponse) float64 { return v.Alpha }).(pulumi.Float64Output) @@ -16592,6 +19191,12 @@ func (i GoogleTypeDateArgs) ToGoogleTypeDateOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDateOutput) } +func (i GoogleTypeDateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDate] { + return pulumix.Output[GoogleTypeDate]{ + OutputState: i.ToGoogleTypeDateOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeDateArgs) ToGoogleTypeDatePtrOutput() GoogleTypeDatePtrOutput { return i.ToGoogleTypeDatePtrOutputWithContext(context.Background()) } @@ -16633,6 +19238,12 @@ func (i *googleTypeDatePtrType) ToGoogleTypeDatePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDatePtrOutput) } +func (i *googleTypeDatePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDate] { + return pulumix.Output[*GoogleTypeDate]{ + OutputState: i.ToGoogleTypeDatePtrOutputWithContext(ctx).OutputState, + } +} + // Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp type GoogleTypeDateOutput struct{ *pulumi.OutputState } @@ -16658,6 +19269,12 @@ func (o GoogleTypeDateOutput) ToGoogleTypeDatePtrOutputWithContext(ctx context.C }).(GoogleTypeDatePtrOutput) } +func (o GoogleTypeDateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDate] { + return pulumix.Output[GoogleTypeDate]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateOutput) Day() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleTypeDate) *int { return v.Day }).(pulumi.IntPtrOutput) @@ -16687,6 +19304,12 @@ func (o GoogleTypeDatePtrOutput) ToGoogleTypeDatePtrOutputWithContext(ctx contex return o } +func (o GoogleTypeDatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDate] { + return pulumix.Output[*GoogleTypeDate]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeDatePtrOutput) Elem() GoogleTypeDateOutput { return o.ApplyT(func(v *GoogleTypeDate) GoogleTypeDate { if v != nil { @@ -16752,6 +19375,12 @@ func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext( return o } +func (o GoogleTypeDateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDateResponse] { + return pulumix.Output[GoogleTypeDateResponse]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v GoogleTypeDateResponse) int { return v.Day }).(pulumi.IntOutput) @@ -16834,6 +19463,12 @@ func (i GoogleTypeDateTimeArgs) ToGoogleTypeDateTimeOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDateTimeOutput) } +func (i GoogleTypeDateTimeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDateTime] { + return pulumix.Output[GoogleTypeDateTime]{ + OutputState: i.ToGoogleTypeDateTimeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeDateTimeArgs) ToGoogleTypeDateTimePtrOutput() GoogleTypeDateTimePtrOutput { return i.ToGoogleTypeDateTimePtrOutputWithContext(context.Background()) } @@ -16875,6 +19510,12 @@ func (i *googleTypeDateTimePtrType) ToGoogleTypeDateTimePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDateTimePtrOutput) } +func (i *googleTypeDateTimePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDateTime] { + return pulumix.Output[*GoogleTypeDateTime]{ + OutputState: i.ToGoogleTypeDateTimePtrOutputWithContext(ctx).OutputState, + } +} + // GoogleTypeDateTimeArrayInput is an input type that accepts GoogleTypeDateTimeArray and GoogleTypeDateTimeArrayOutput values. // You can construct a concrete instance of `GoogleTypeDateTimeArrayInput` via: // @@ -16900,6 +19541,12 @@ func (i GoogleTypeDateTimeArray) ToGoogleTypeDateTimeArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDateTimeArrayOutput) } +func (i GoogleTypeDateTimeArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleTypeDateTime] { + return pulumix.Output[[]GoogleTypeDateTime]{ + OutputState: i.ToGoogleTypeDateTimeArrayOutputWithContext(ctx).OutputState, + } +} + // Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. type GoogleTypeDateTimeOutput struct{ *pulumi.OutputState } @@ -16925,6 +19572,12 @@ func (o GoogleTypeDateTimeOutput) ToGoogleTypeDateTimePtrOutputWithContext(ctx c }).(GoogleTypeDateTimePtrOutput) } +func (o GoogleTypeDateTimeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDateTime] { + return pulumix.Output[GoogleTypeDateTime]{ + OutputState: o.OutputState, + } +} + // Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day. func (o GoogleTypeDateTimeOutput) Day() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleTypeDateTime) *int { return v.Day }).(pulumi.IntPtrOutput) @@ -16984,6 +19637,12 @@ func (o GoogleTypeDateTimePtrOutput) ToGoogleTypeDateTimePtrOutputWithContext(ct return o } +func (o GoogleTypeDateTimePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDateTime] { + return pulumix.Output[*GoogleTypeDateTime]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeDateTimePtrOutput) Elem() GoogleTypeDateTimeOutput { return o.ApplyT(func(v *GoogleTypeDateTime) GoogleTypeDateTime { if v != nil { @@ -17098,6 +19757,12 @@ func (o GoogleTypeDateTimeArrayOutput) ToGoogleTypeDateTimeArrayOutputWithContex return o } +func (o GoogleTypeDateTimeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleTypeDateTime] { + return pulumix.Output[[]GoogleTypeDateTime]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeDateTimeArrayOutput) Index(i pulumi.IntInput) GoogleTypeDateTimeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleTypeDateTime { return vs[0].([]GoogleTypeDateTime)[vs[1].(int)] @@ -17141,6 +19806,12 @@ func (o GoogleTypeDateTimeResponseOutput) ToGoogleTypeDateTimeResponseOutputWith return o } +func (o GoogleTypeDateTimeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDateTimeResponse] { + return pulumix.Output[GoogleTypeDateTimeResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day. func (o GoogleTypeDateTimeResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v GoogleTypeDateTimeResponse) int { return v.Day }).(pulumi.IntOutput) @@ -17200,6 +19871,12 @@ func (o GoogleTypeDateTimeResponseArrayOutput) ToGoogleTypeDateTimeResponseArray return o } +func (o GoogleTypeDateTimeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleTypeDateTimeResponse] { + return pulumix.Output[[]GoogleTypeDateTimeResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeDateTimeResponseArrayOutput) Index(i pulumi.IntInput) GoogleTypeDateTimeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleTypeDateTimeResponse { return vs[0].([]GoogleTypeDateTimeResponse)[vs[1].(int)] @@ -17253,6 +19930,12 @@ func (i GoogleTypeExprArgs) ToGoogleTypeExprOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprOutput) } +func (i GoogleTypeExprArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeExprArgs) ToGoogleTypeExprPtrOutput() GoogleTypeExprPtrOutput { return i.ToGoogleTypeExprPtrOutputWithContext(context.Background()) } @@ -17294,6 +19977,12 @@ func (i *googleTypeExprPtrType) ToGoogleTypeExprPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprPtrOutput) } +func (i *googleTypeExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type GoogleTypeExprOutput struct{ *pulumi.OutputState } @@ -17319,6 +20008,12 @@ func (o GoogleTypeExprOutput) ToGoogleTypeExprPtrOutputWithContext(ctx context.C }).(GoogleTypeExprPtrOutput) } +func (o GoogleTypeExprOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeExpr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -17353,6 +20048,12 @@ func (o GoogleTypeExprPtrOutput) ToGoogleTypeExprPtrOutputWithContext(ctx contex return o } +func (o GoogleTypeExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeExprPtrOutput) Elem() GoogleTypeExprOutput { return o.ApplyT(func(v *GoogleTypeExpr) GoogleTypeExpr { if v != nil { @@ -17430,6 +20131,12 @@ func (o GoogleTypeExprResponseOutput) ToGoogleTypeExprResponseOutputWithContext( return o } +func (o GoogleTypeExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExprResponse] { + return pulumix.Output[GoogleTypeExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -17493,6 +20200,12 @@ func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeMoneyOutput) } +func (i GoogleTypeMoneyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoney] { + return pulumix.Output[GoogleTypeMoney]{ + OutputState: i.ToGoogleTypeMoneyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeMoneyArgs) ToGoogleTypeMoneyPtrOutput() GoogleTypeMoneyPtrOutput { return i.ToGoogleTypeMoneyPtrOutputWithContext(context.Background()) } @@ -17534,6 +20247,12 @@ func (i *googleTypeMoneyPtrType) ToGoogleTypeMoneyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeMoneyPtrOutput) } +func (i *googleTypeMoneyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeMoney] { + return pulumix.Output[*GoogleTypeMoney]{ + OutputState: i.ToGoogleTypeMoneyPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an amount of money with its currency type. type GoogleTypeMoneyOutput struct{ *pulumi.OutputState } @@ -17559,6 +20278,12 @@ func (o GoogleTypeMoneyOutput) ToGoogleTypeMoneyPtrOutputWithContext(ctx context }).(GoogleTypeMoneyPtrOutput) } +func (o GoogleTypeMoneyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoney] { + return pulumix.Output[GoogleTypeMoney]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o GoogleTypeMoneyOutput) CurrencyCode() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeMoney) *string { return v.CurrencyCode }).(pulumi.StringPtrOutput) @@ -17588,6 +20313,12 @@ func (o GoogleTypeMoneyPtrOutput) ToGoogleTypeMoneyPtrOutputWithContext(ctx cont return o } +func (o GoogleTypeMoneyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeMoney] { + return pulumix.Output[*GoogleTypeMoney]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeMoneyPtrOutput) Elem() GoogleTypeMoneyOutput { return o.ApplyT(func(v *GoogleTypeMoney) GoogleTypeMoney { if v != nil { @@ -17653,6 +20384,12 @@ func (o GoogleTypeMoneyResponseOutput) ToGoogleTypeMoneyResponseOutputWithContex return o } +func (o GoogleTypeMoneyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeMoneyResponse] { + return pulumix.Output[GoogleTypeMoneyResponse]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o GoogleTypeMoneyResponseOutput) CurrencyCode() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeMoneyResponse) string { return v.CurrencyCode }).(pulumi.StringOutput) @@ -17743,6 +20480,12 @@ func (i GoogleTypePostalAddressArgs) ToGoogleTypePostalAddressOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GoogleTypePostalAddressOutput) } +func (i GoogleTypePostalAddressArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypePostalAddress] { + return pulumix.Output[GoogleTypePostalAddress]{ + OutputState: i.ToGoogleTypePostalAddressOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypePostalAddressArgs) ToGoogleTypePostalAddressPtrOutput() GoogleTypePostalAddressPtrOutput { return i.ToGoogleTypePostalAddressPtrOutputWithContext(context.Background()) } @@ -17784,6 +20527,12 @@ func (i *googleTypePostalAddressPtrType) ToGoogleTypePostalAddressPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(GoogleTypePostalAddressPtrOutput) } +func (i *googleTypePostalAddressPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypePostalAddress] { + return pulumix.Output[*GoogleTypePostalAddress]{ + OutputState: i.ToGoogleTypePostalAddressPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 type GoogleTypePostalAddressOutput struct{ *pulumi.OutputState } @@ -17809,6 +20558,12 @@ func (o GoogleTypePostalAddressOutput) ToGoogleTypePostalAddressPtrOutputWithCon }).(GoogleTypePostalAddressPtrOutput) } +func (o GoogleTypePostalAddressOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypePostalAddress] { + return pulumix.Output[GoogleTypePostalAddress]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o GoogleTypePostalAddressOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleTypePostalAddress) []string { return v.AddressLines }).(pulumi.StringArrayOutput) @@ -17878,6 +20633,12 @@ func (o GoogleTypePostalAddressPtrOutput) ToGoogleTypePostalAddressPtrOutputWith return o } +func (o GoogleTypePostalAddressPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypePostalAddress] { + return pulumix.Output[*GoogleTypePostalAddress]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypePostalAddressPtrOutput) Elem() GoogleTypePostalAddressOutput { return o.ApplyT(func(v *GoogleTypePostalAddress) GoogleTypePostalAddress { if v != nil { @@ -18039,6 +20800,12 @@ func (o GoogleTypePostalAddressResponseOutput) ToGoogleTypePostalAddressResponse return o } +func (o GoogleTypePostalAddressResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypePostalAddressResponse] { + return pulumix.Output[GoogleTypePostalAddressResponse]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o GoogleTypePostalAddressResponseOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleTypePostalAddressResponse) []string { return v.AddressLines }).(pulumi.StringArrayOutput) @@ -18133,6 +20900,12 @@ func (i GoogleTypeTimeZoneArgs) ToGoogleTypeTimeZoneOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeTimeZoneOutput) } +func (i GoogleTypeTimeZoneArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeTimeZone] { + return pulumix.Output[GoogleTypeTimeZone]{ + OutputState: i.ToGoogleTypeTimeZoneOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeTimeZoneArgs) ToGoogleTypeTimeZonePtrOutput() GoogleTypeTimeZonePtrOutput { return i.ToGoogleTypeTimeZonePtrOutputWithContext(context.Background()) } @@ -18174,6 +20947,12 @@ func (i *googleTypeTimeZonePtrType) ToGoogleTypeTimeZonePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeTimeZonePtrOutput) } +func (i *googleTypeTimeZonePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeTimeZone] { + return pulumix.Output[*GoogleTypeTimeZone]{ + OutputState: i.ToGoogleTypeTimeZonePtrOutputWithContext(ctx).OutputState, + } +} + // Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). type GoogleTypeTimeZoneOutput struct{ *pulumi.OutputState } @@ -18199,6 +20978,12 @@ func (o GoogleTypeTimeZoneOutput) ToGoogleTypeTimeZonePtrOutputWithContext(ctx c }).(GoogleTypeTimeZonePtrOutput) } +func (o GoogleTypeTimeZoneOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeTimeZone] { + return pulumix.Output[GoogleTypeTimeZone]{ + OutputState: o.OutputState, + } +} + // IANA Time Zone Database time zone, e.g. "America/New_York". func (o GoogleTypeTimeZoneOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeTimeZone) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -18223,6 +21008,12 @@ func (o GoogleTypeTimeZonePtrOutput) ToGoogleTypeTimeZonePtrOutputWithContext(ct return o } +func (o GoogleTypeTimeZonePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeTimeZone] { + return pulumix.Output[*GoogleTypeTimeZone]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeTimeZonePtrOutput) Elem() GoogleTypeTimeZoneOutput { return o.ApplyT(func(v *GoogleTypeTimeZone) GoogleTypeTimeZone { if v != nil { @@ -18274,6 +21065,12 @@ func (o GoogleTypeTimeZoneResponseOutput) ToGoogleTypeTimeZoneResponseOutputWith return o } +func (o GoogleTypeTimeZoneResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeTimeZoneResponse] { + return pulumix.Output[GoogleTypeTimeZoneResponse]{ + OutputState: o.OutputState, + } +} + // Optional. IANA Time Zone Database version number, e.g. "2019a". func (o GoogleTypeTimeZoneResponseOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeTimeZoneResponse) string { return v.Version }).(pulumi.StringOutput) diff --git a/sdk/go/google/contentwarehouse/v1/ruleSet.go b/sdk/go/google/contentwarehouse/v1/ruleSet.go index 0466356856..4e625846b7 100644 --- a/sdk/go/google/contentwarehouse/v1/ruleSet.go +++ b/sdk/go/google/contentwarehouse/v1/ruleSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ruleset. @@ -121,6 +122,12 @@ func (i *RuleSet) ToRuleSetOutputWithContext(ctx context.Context) RuleSetOutput return pulumi.ToOutputWithContext(ctx, i).(RuleSetOutput) } +func (i *RuleSet) ToOutput(ctx context.Context) pulumix.Output[*RuleSet] { + return pulumix.Output[*RuleSet]{ + OutputState: i.ToRuleSetOutputWithContext(ctx).OutputState, + } +} + type RuleSetOutput struct{ *pulumi.OutputState } func (RuleSetOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o RuleSetOutput) ToRuleSetOutputWithContext(ctx context.Context) RuleSetOu return o } +func (o RuleSetOutput) ToOutput(ctx context.Context) pulumix.Output[*RuleSet] { + return pulumix.Output[*RuleSet]{ + OutputState: o.OutputState, + } +} + // Short description of the rule-set. func (o RuleSetOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *RuleSet) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/contentwarehouse/v1/synonymSet.go b/sdk/go/google/contentwarehouse/v1/synonymSet.go index 1a22c52c6d..713ad10452 100644 --- a/sdk/go/google/contentwarehouse/v1/synonymSet.go +++ b/sdk/go/google/contentwarehouse/v1/synonymSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a SynonymSet for a single context. Throws an ALREADY_EXISTS exception if a synonymset already exists for the context. @@ -115,6 +116,12 @@ func (i *SynonymSet) ToSynonymSetOutputWithContext(ctx context.Context) SynonymS return pulumi.ToOutputWithContext(ctx, i).(SynonymSetOutput) } +func (i *SynonymSet) ToOutput(ctx context.Context) pulumix.Output[*SynonymSet] { + return pulumix.Output[*SynonymSet]{ + OutputState: i.ToSynonymSetOutputWithContext(ctx).OutputState, + } +} + type SynonymSetOutput struct{ *pulumi.OutputState } func (SynonymSetOutput) ElementType() reflect.Type { @@ -129,6 +136,12 @@ func (o SynonymSetOutput) ToSynonymSetOutputWithContext(ctx context.Context) Syn return o } +func (o SynonymSetOutput) ToOutput(ctx context.Context) pulumix.Output[*SynonymSet] { + return pulumix.Output[*SynonymSet]{ + OutputState: o.OutputState, + } +} + // This is a freeform field. Example contexts can be "sales," "engineering," "real estate," "accounting," etc. The context can be supplied during search requests. func (o SynonymSetOutput) Context() pulumi.StringOutput { return o.ApplyT(func(v *SynonymSet) pulumi.StringOutput { return v.Context }).(pulumi.StringOutput) diff --git a/sdk/go/google/datacatalog/v1/entry.go b/sdk/go/google/datacatalog/v1/entry.go index 70d006c988..53ceaa1702 100644 --- a/sdk/go/google/datacatalog/v1/entry.go +++ b/sdk/go/google/datacatalog/v1/entry.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an entry. You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see [Data Catalog resource project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). An entry group can have a maximum of 100,000 entries. @@ -254,6 +255,12 @@ func (i *Entry) ToEntryOutputWithContext(ctx context.Context) EntryOutput { return pulumi.ToOutputWithContext(ctx, i).(EntryOutput) } +func (i *Entry) ToOutput(ctx context.Context) pulumix.Output[*Entry] { + return pulumix.Output[*Entry]{ + OutputState: i.ToEntryOutputWithContext(ctx).OutputState, + } +} + type EntryOutput struct{ *pulumi.OutputState } func (EntryOutput) ElementType() reflect.Type { @@ -268,6 +275,12 @@ func (o EntryOutput) ToEntryOutputWithContext(ctx context.Context) EntryOutput { return o } +func (o EntryOutput) ToOutput(ctx context.Context) pulumix.Output[*Entry] { + return pulumix.Output[*Entry]{ + OutputState: o.OutputState, + } +} + // Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name pattern. For more information, see [Introduction to partitioned tables] (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding). func (o EntryOutput) BigqueryDateShardedSpec() GoogleCloudDatacatalogV1BigQueryDateShardedSpecResponseOutput { return o.ApplyT(func(v *Entry) GoogleCloudDatacatalogV1BigQueryDateShardedSpecResponseOutput { diff --git a/sdk/go/google/datacatalog/v1/entryGroup.go b/sdk/go/google/datacatalog/v1/entryGroup.go index f287b4dd30..989660c133 100644 --- a/sdk/go/google/datacatalog/v1/entryGroup.go +++ b/sdk/go/google/datacatalog/v1/entryGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an entry group. An entry group contains logically related entries together with [Cloud Identity and Access Management](/data-catalog/docs/concepts/iam) policies. These policies specify users who can create, edit, and view entries within entry groups. Data Catalog automatically creates entry groups with names that start with the `@` symbol for the following resources: * BigQuery entries (`@bigquery`) * Pub/Sub topics (`@pubsub`) * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`) You can create your own entry groups for Cloud Storage fileset entries and custom entries together with the corresponding IAM policies. User-created entry groups can't contain the `@` symbol, it is reserved for automatically created groups. Entry groups, like entries, can be searched. A maximum of 10,000 entry groups may be created per organization across all locations. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see [Data Catalog resource project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). @@ -128,6 +129,12 @@ func (i *EntryGroup) ToEntryGroupOutputWithContext(ctx context.Context) EntryGro return pulumi.ToOutputWithContext(ctx, i).(EntryGroupOutput) } +func (i *EntryGroup) ToOutput(ctx context.Context) pulumix.Output[*EntryGroup] { + return pulumix.Output[*EntryGroup]{ + OutputState: i.ToEntryGroupOutputWithContext(ctx).OutputState, + } +} + type EntryGroupOutput struct{ *pulumi.OutputState } func (EntryGroupOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o EntryGroupOutput) ToEntryGroupOutputWithContext(ctx context.Context) Ent return o } +func (o EntryGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroup] { + return pulumix.Output[*EntryGroup]{ + OutputState: o.OutputState, + } +} + // Timestamps of the entry group. Default value is empty. func (o EntryGroupOutput) DataCatalogTimestamps() GoogleCloudDatacatalogV1SystemTimestampsResponseOutput { return o.ApplyT(func(v *EntryGroup) GoogleCloudDatacatalogV1SystemTimestampsResponseOutput { diff --git a/sdk/go/google/datacatalog/v1/entryGroupIamBinding.go b/sdk/go/google/datacatalog/v1/entryGroupIamBinding.go index f69e4d5b14..8469ccce1b 100644 --- a/sdk/go/google/datacatalog/v1/entryGroupIamBinding.go +++ b/sdk/go/google/datacatalog/v1/entryGroupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates - Entry groups Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -135,6 +136,12 @@ func (i *EntryGroupIamBinding) ToEntryGroupIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(EntryGroupIamBindingOutput) } +func (i *EntryGroupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamBinding] { + return pulumix.Output[*EntryGroupIamBinding]{ + OutputState: i.ToEntryGroupIamBindingOutputWithContext(ctx).OutputState, + } +} + type EntryGroupIamBindingOutput struct{ *pulumi.OutputState } func (EntryGroupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EntryGroupIamBindingOutput) ToEntryGroupIamBindingOutputWithContext(ctx return o } +func (o EntryGroupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamBinding] { + return pulumix.Output[*EntryGroupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EntryGroupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EntryGroupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1/entryGroupIamMember.go b/sdk/go/google/datacatalog/v1/entryGroupIamMember.go index 5b18072a95..7c0290d006 100644 --- a/sdk/go/google/datacatalog/v1/entryGroupIamMember.go +++ b/sdk/go/google/datacatalog/v1/entryGroupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates - Entry groups Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -135,6 +136,12 @@ func (i *EntryGroupIamMember) ToEntryGroupIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EntryGroupIamMemberOutput) } +func (i *EntryGroupIamMember) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamMember] { + return pulumix.Output[*EntryGroupIamMember]{ + OutputState: i.ToEntryGroupIamMemberOutputWithContext(ctx).OutputState, + } +} + type EntryGroupIamMemberOutput struct{ *pulumi.OutputState } func (EntryGroupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EntryGroupIamMemberOutput) ToEntryGroupIamMemberOutputWithContext(ctx co return o } +func (o EntryGroupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamMember] { + return pulumix.Output[*EntryGroupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EntryGroupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EntryGroupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1/entryGroupIamPolicy.go b/sdk/go/google/datacatalog/v1/entryGroupIamPolicy.go index d989baeb7b..f6565b74c6 100644 --- a/sdk/go/google/datacatalog/v1/entryGroupIamPolicy.go +++ b/sdk/go/google/datacatalog/v1/entryGroupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates - Entry groups Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -125,6 +126,12 @@ func (i *EntryGroupIamPolicy) ToEntryGroupIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EntryGroupIamPolicyOutput) } +func (i *EntryGroupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamPolicy] { + return pulumix.Output[*EntryGroupIamPolicy]{ + OutputState: i.ToEntryGroupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EntryGroupIamPolicyOutput struct{ *pulumi.OutputState } func (EntryGroupIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o EntryGroupIamPolicyOutput) ToEntryGroupIamPolicyOutputWithContext(ctx co return o } +func (o EntryGroupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamPolicy] { + return pulumix.Output[*EntryGroupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o EntryGroupIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *EntryGroupIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/getEntry.go b/sdk/go/google/datacatalog/v1/getEntry.go index 91837f0896..ff14c0e411 100644 --- a/sdk/go/google/datacatalog/v1/getEntry.go +++ b/sdk/go/google/datacatalog/v1/getEntry.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an entry. @@ -124,6 +125,12 @@ func (o LookupEntryResultOutput) ToLookupEntryResultOutputWithContext(ctx contex return o } +func (o LookupEntryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntryResult] { + return pulumix.Output[LookupEntryResult]{ + OutputState: o.OutputState, + } +} + // Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name pattern. For more information, see [Introduction to partitioned tables] (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding). func (o LookupEntryResultOutput) BigqueryDateShardedSpec() GoogleCloudDatacatalogV1BigQueryDateShardedSpecResponseOutput { return o.ApplyT(func(v LookupEntryResult) GoogleCloudDatacatalogV1BigQueryDateShardedSpecResponse { diff --git a/sdk/go/google/datacatalog/v1/getEntryGroup.go b/sdk/go/google/datacatalog/v1/getEntryGroup.go index 7bcd2f0231..73d85d6269 100644 --- a/sdk/go/google/datacatalog/v1/getEntryGroup.go +++ b/sdk/go/google/datacatalog/v1/getEntryGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an entry group. @@ -78,6 +79,12 @@ func (o LookupEntryGroupResultOutput) ToLookupEntryGroupResultOutputWithContext( return o } +func (o LookupEntryGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntryGroupResult] { + return pulumix.Output[LookupEntryGroupResult]{ + OutputState: o.OutputState, + } +} + // Timestamps of the entry group. Default value is empty. func (o LookupEntryGroupResultOutput) DataCatalogTimestamps() GoogleCloudDatacatalogV1SystemTimestampsResponseOutput { return o.ApplyT(func(v LookupEntryGroupResult) GoogleCloudDatacatalogV1SystemTimestampsResponse { diff --git a/sdk/go/google/datacatalog/v1/getEntryGroupIamPolicy.go b/sdk/go/google/datacatalog/v1/getEntryGroupIamPolicy.go index 41a289b829..83a6f1a273 100644 --- a/sdk/go/google/datacatalog/v1/getEntryGroupIamPolicy.go +++ b/sdk/go/google/datacatalog/v1/getEntryGroupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Tag templates - Entry groups Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. @@ -74,6 +75,12 @@ func (o LookupEntryGroupIamPolicyResultOutput) ToLookupEntryGroupIamPolicyResult return o } +func (o LookupEntryGroupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntryGroupIamPolicyResult] { + return pulumix.Output[LookupEntryGroupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupEntryGroupIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupEntryGroupIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/getPolicyTag.go b/sdk/go/google/datacatalog/v1/getPolicyTag.go index 71984d5379..b32efcf659 100644 --- a/sdk/go/google/datacatalog/v1/getPolicyTag.go +++ b/sdk/go/google/datacatalog/v1/getPolicyTag.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a policy tag. @@ -80,6 +81,12 @@ func (o LookupPolicyTagResultOutput) ToLookupPolicyTagResultOutputWithContext(ct return o } +func (o LookupPolicyTagResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPolicyTagResult] { + return pulumix.Output[LookupPolicyTagResult]{ + OutputState: o.OutputState, + } +} + // Resource names of child policy tags of this policy tag. func (o LookupPolicyTagResultOutput) ChildPolicyTags() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupPolicyTagResult) []string { return v.ChildPolicyTags }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/getTagTemplate.go b/sdk/go/google/datacatalog/v1/getTagTemplate.go index 1d547061f7..1153a1e3ba 100644 --- a/sdk/go/google/datacatalog/v1/getTagTemplate.go +++ b/sdk/go/google/datacatalog/v1/getTagTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a tag template. @@ -76,6 +77,12 @@ func (o LookupTagTemplateResultOutput) ToLookupTagTemplateResultOutputWithContex return o } +func (o LookupTagTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagTemplateResult] { + return pulumix.Output[LookupTagTemplateResult]{ + OutputState: o.OutputState, + } +} + // Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters. func (o LookupTagTemplateResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupTagTemplateResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/datacatalog/v1/getTagTemplateIamPolicy.go b/sdk/go/google/datacatalog/v1/getTagTemplateIamPolicy.go index ef4c8c3fca..7d311fd91d 100644 --- a/sdk/go/google/datacatalog/v1/getTagTemplateIamPolicy.go +++ b/sdk/go/google/datacatalog/v1/getTagTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Tag templates - Entry groups Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. @@ -74,6 +75,12 @@ func (o LookupTagTemplateIamPolicyResultOutput) ToLookupTagTemplateIamPolicyResu return o } +func (o LookupTagTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagTemplateIamPolicyResult] { + return pulumix.Output[LookupTagTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupTagTemplateIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupTagTemplateIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/getTaxonomy.go b/sdk/go/google/datacatalog/v1/getTaxonomy.go index bd863bbe11..5502dfbe48 100644 --- a/sdk/go/google/datacatalog/v1/getTaxonomy.go +++ b/sdk/go/google/datacatalog/v1/getTaxonomy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a taxonomy. @@ -82,6 +83,12 @@ func (o LookupTaxonomyResultOutput) ToLookupTaxonomyResultOutputWithContext(ctx return o } +func (o LookupTaxonomyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTaxonomyResult] { + return pulumix.Output[LookupTaxonomyResult]{ + OutputState: o.OutputState, + } +} + // Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. func (o LookupTaxonomyResultOutput) ActivatedPolicyTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupTaxonomyResult) []string { return v.ActivatedPolicyTypes }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/getTaxonomyIamPolicy.go b/sdk/go/google/datacatalog/v1/getTaxonomyIamPolicy.go index 11245f7f2c..ad765bd598 100644 --- a/sdk/go/google/datacatalog/v1/getTaxonomyIamPolicy.go +++ b/sdk/go/google/datacatalog/v1/getTaxonomyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy for a policy tag or a taxonomy. @@ -74,6 +75,12 @@ func (o LookupTaxonomyIamPolicyResultOutput) ToLookupTaxonomyIamPolicyResultOutp return o } +func (o LookupTaxonomyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTaxonomyIamPolicyResult] { + return pulumix.Output[LookupTaxonomyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupTaxonomyIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupTaxonomyIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/getTaxonomyPolicyTagIamPolicy.go b/sdk/go/google/datacatalog/v1/getTaxonomyPolicyTagIamPolicy.go index 95d887886b..f5ccb6b907 100644 --- a/sdk/go/google/datacatalog/v1/getTaxonomyPolicyTagIamPolicy.go +++ b/sdk/go/google/datacatalog/v1/getTaxonomyPolicyTagIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy for a policy tag or a taxonomy. @@ -76,6 +77,12 @@ func (o LookupTaxonomyPolicyTagIamPolicyResultOutput) ToLookupTaxonomyPolicyTagI return o } +func (o LookupTaxonomyPolicyTagIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTaxonomyPolicyTagIamPolicyResult] { + return pulumix.Output[LookupTaxonomyPolicyTagIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupTaxonomyPolicyTagIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupTaxonomyPolicyTagIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/policyTag.go b/sdk/go/google/datacatalog/v1/policyTag.go index 49ff87e263..71d80b9e9b 100644 --- a/sdk/go/google/datacatalog/v1/policyTag.go +++ b/sdk/go/google/datacatalog/v1/policyTag.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a policy tag in a taxonomy. @@ -131,6 +132,12 @@ func (i *PolicyTag) ToPolicyTagOutputWithContext(ctx context.Context) PolicyTagO return pulumi.ToOutputWithContext(ctx, i).(PolicyTagOutput) } +func (i *PolicyTag) ToOutput(ctx context.Context) pulumix.Output[*PolicyTag] { + return pulumix.Output[*PolicyTag]{ + OutputState: i.ToPolicyTagOutputWithContext(ctx).OutputState, + } +} + type PolicyTagOutput struct{ *pulumi.OutputState } func (PolicyTagOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o PolicyTagOutput) ToPolicyTagOutputWithContext(ctx context.Context) Polic return o } +func (o PolicyTagOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyTag] { + return pulumix.Output[*PolicyTag]{ + OutputState: o.OutputState, + } +} + // Resource names of child policy tags of this policy tag. func (o PolicyTagOutput) ChildPolicyTags() pulumi.StringArrayOutput { return o.ApplyT(func(v *PolicyTag) pulumi.StringArrayOutput { return v.ChildPolicyTags }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/pulumiEnums.go b/sdk/go/google/datacatalog/v1/pulumiEnums.go index 9827541820..6fc1c0b49d 100644 --- a/sdk/go/google/datacatalog/v1/pulumiEnums.go +++ b/sdk/go/google/datacatalog/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The type of the entry. Only used for entries with types listed in the `EntryType` enum. Currently, only `FILESET` enum value is allowed. All other entries created in Data Catalog must use the `user_specified_type`. @@ -108,6 +109,12 @@ func (o EntryTypeOutput) ToEntryTypePtrOutputWithContext(ctx context.Context) En }).(EntryTypePtrOutput) } +func (o EntryTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EntryType] { + return pulumix.Output[EntryType]{ + OutputState: o.OutputState, + } +} + func (o EntryTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -143,6 +150,12 @@ func (o EntryTypePtrOutput) ToEntryTypePtrOutputWithContext(ctx context.Context) return o } +func (o EntryTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryType] { + return pulumix.Output[*EntryType]{ + OutputState: o.OutputState, + } +} + func (o EntryTypePtrOutput) Elem() EntryTypeOutput { return o.ApplyT(func(v *EntryType) EntryType { if v != nil { @@ -205,6 +218,12 @@ func (in *entryTypePtr) ToEntryTypePtrOutputWithContext(ctx context.Context) Ent return pulumi.ToOutputWithContext(ctx, in).(EntryTypePtrOutput) } +func (in *entryTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EntryType] { + return pulumix.Output[*EntryType]{ + OutputState: in.ToEntryTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Most important inclusion of this column. type GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingType string @@ -281,6 +300,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingTypeOutput) ToGoogleC }).(GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingTypePtrOutput) } +func (o GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingType] { + return pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -316,6 +341,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingTypePtrOutput) ToGoog return o } +func (o GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingType] { + return pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingTypePtrOutput) Elem() GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingTypeOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingType) GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingType { if v != nil { @@ -378,6 +409,12 @@ func (in *googleCloudDatacatalogV1ColumnSchemaHighestIndexingTypePtr) ToGoogleCl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingTypePtrOutput) } +func (in *googleCloudDatacatalogV1ColumnSchemaHighestIndexingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingType] { + return pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaHighestIndexingType]{ + OutputState: in.ToGoogleCloudDatacatalogV1ColumnSchemaHighestIndexingTypePtrOutputWithContext(ctx).OutputState, + } +} + // Looker specific column type of this column. type GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecType string @@ -456,6 +493,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypeOutput) ToGoogle }).(GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypePtrOutput) } +func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecType] { + return pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -491,6 +534,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypePtrOutput) ToGoo return o } +func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecType] { + return pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypePtrOutput) Elem() GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypeOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecType) GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecType { if v != nil { @@ -553,6 +602,12 @@ func (in *googleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypePtr) ToGoogleC return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypePtrOutput) } +func (in *googleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecType] { + return pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecType]{ + OutputState: in.ToGoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of this view. type GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewType string @@ -625,6 +680,12 @@ func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypeOutput) }).(GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypePtrOutput) } +func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewType] { + return pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -660,6 +721,12 @@ func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypePtrOutp return o } +func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewType] { + return pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypePtrOutput) Elem() GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypeOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewType) GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewType { if v != nil { @@ -722,6 +789,12 @@ func (in *googleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypePtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypePtrOutput) } +func (in *googleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewType] { + return pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewType]{ + OutputState: in.ToGoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecViewTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of this table. type GoogleCloudDatacatalogV1DatabaseTableSpecType string @@ -794,6 +867,12 @@ func (o GoogleCloudDatacatalogV1DatabaseTableSpecTypeOutput) ToGoogleCloudDataca }).(GoogleCloudDatacatalogV1DatabaseTableSpecTypePtrOutput) } +func (o GoogleCloudDatacatalogV1DatabaseTableSpecTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecType] { + return pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1DatabaseTableSpecTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -829,6 +908,12 @@ func (o GoogleCloudDatacatalogV1DatabaseTableSpecTypePtrOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDatacatalogV1DatabaseTableSpecTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecType] { + return pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1DatabaseTableSpecTypePtrOutput) Elem() GoogleCloudDatacatalogV1DatabaseTableSpecTypeOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1DatabaseTableSpecType) GoogleCloudDatacatalogV1DatabaseTableSpecType { if v != nil { @@ -891,6 +976,12 @@ func (in *googleCloudDatacatalogV1DatabaseTableSpecTypePtr) ToGoogleCloudDatacat return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatacatalogV1DatabaseTableSpecTypePtrOutput) } +func (in *googleCloudDatacatalogV1DatabaseTableSpecTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecType] { + return pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecType]{ + OutputState: in.ToGoogleCloudDatacatalogV1DatabaseTableSpecTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies whether the argument is input or output. type GoogleCloudDatacatalogV1RoutineSpecArgumentMode string @@ -965,6 +1056,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecArgumentModeOutput) ToGoogleCloudData }).(GoogleCloudDatacatalogV1RoutineSpecArgumentModePtrOutput) } +func (o GoogleCloudDatacatalogV1RoutineSpecArgumentModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecArgumentMode] { + return pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecArgumentMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1RoutineSpecArgumentModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1000,6 +1097,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecArgumentModePtrOutput) ToGoogleCloudD return o } +func (o GoogleCloudDatacatalogV1RoutineSpecArgumentModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpecArgumentMode] { + return pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpecArgumentMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1RoutineSpecArgumentModePtrOutput) Elem() GoogleCloudDatacatalogV1RoutineSpecArgumentModeOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1RoutineSpecArgumentMode) GoogleCloudDatacatalogV1RoutineSpecArgumentMode { if v != nil { @@ -1062,6 +1165,12 @@ func (in *googleCloudDatacatalogV1RoutineSpecArgumentModePtr) ToGoogleCloudDatac return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatacatalogV1RoutineSpecArgumentModePtrOutput) } +func (in *googleCloudDatacatalogV1RoutineSpecArgumentModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpecArgumentMode] { + return pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpecArgumentMode]{ + OutputState: in.ToGoogleCloudDatacatalogV1RoutineSpecArgumentModePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the routine. type GoogleCloudDatacatalogV1RoutineSpecRoutineType string @@ -1134,6 +1243,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecRoutineTypeOutput) ToGoogleCloudDatac }).(GoogleCloudDatacatalogV1RoutineSpecRoutineTypePtrOutput) } +func (o GoogleCloudDatacatalogV1RoutineSpecRoutineTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecRoutineType] { + return pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecRoutineType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1RoutineSpecRoutineTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1169,6 +1284,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecRoutineTypePtrOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatacatalogV1RoutineSpecRoutineTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpecRoutineType] { + return pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpecRoutineType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1RoutineSpecRoutineTypePtrOutput) Elem() GoogleCloudDatacatalogV1RoutineSpecRoutineTypeOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1RoutineSpecRoutineType) GoogleCloudDatacatalogV1RoutineSpecRoutineType { if v != nil { @@ -1231,6 +1352,12 @@ func (in *googleCloudDatacatalogV1RoutineSpecRoutineTypePtr) ToGoogleCloudDataca return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatacatalogV1RoutineSpecRoutineTypePtrOutput) } +func (in *googleCloudDatacatalogV1RoutineSpecRoutineTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpecRoutineType] { + return pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpecRoutineType]{ + OutputState: in.ToGoogleCloudDatacatalogV1RoutineSpecRoutineTypePtrOutputWithContext(ctx).OutputState, + } +} + type TaxonomyActivatedPolicyTypesItem string const ( @@ -1300,6 +1427,12 @@ func (o TaxonomyActivatedPolicyTypesItemOutput) ToTaxonomyActivatedPolicyTypesIt }).(TaxonomyActivatedPolicyTypesItemPtrOutput) } +func (o TaxonomyActivatedPolicyTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[TaxonomyActivatedPolicyTypesItem] { + return pulumix.Output[TaxonomyActivatedPolicyTypesItem]{ + OutputState: o.OutputState, + } +} + func (o TaxonomyActivatedPolicyTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1335,6 +1468,12 @@ func (o TaxonomyActivatedPolicyTypesItemPtrOutput) ToTaxonomyActivatedPolicyType return o } +func (o TaxonomyActivatedPolicyTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyActivatedPolicyTypesItem] { + return pulumix.Output[*TaxonomyActivatedPolicyTypesItem]{ + OutputState: o.OutputState, + } +} + func (o TaxonomyActivatedPolicyTypesItemPtrOutput) Elem() TaxonomyActivatedPolicyTypesItemOutput { return o.ApplyT(func(v *TaxonomyActivatedPolicyTypesItem) TaxonomyActivatedPolicyTypesItem { if v != nil { @@ -1397,6 +1536,12 @@ func (in *taxonomyActivatedPolicyTypesItemPtr) ToTaxonomyActivatedPolicyTypesIte return pulumi.ToOutputWithContext(ctx, in).(TaxonomyActivatedPolicyTypesItemPtrOutput) } +func (in *taxonomyActivatedPolicyTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyActivatedPolicyTypesItem] { + return pulumix.Output[*TaxonomyActivatedPolicyTypesItem]{ + OutputState: in.ToTaxonomyActivatedPolicyTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // TaxonomyActivatedPolicyTypesItemArrayInput is an input type that accepts TaxonomyActivatedPolicyTypesItemArray and TaxonomyActivatedPolicyTypesItemArrayOutput values. // You can construct a concrete instance of `TaxonomyActivatedPolicyTypesItemArrayInput` via: // @@ -1422,6 +1567,12 @@ func (i TaxonomyActivatedPolicyTypesItemArray) ToTaxonomyActivatedPolicyTypesIte return pulumi.ToOutputWithContext(ctx, i).(TaxonomyActivatedPolicyTypesItemArrayOutput) } +func (i TaxonomyActivatedPolicyTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]TaxonomyActivatedPolicyTypesItem] { + return pulumix.Output[[]TaxonomyActivatedPolicyTypesItem]{ + OutputState: i.ToTaxonomyActivatedPolicyTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type TaxonomyActivatedPolicyTypesItemArrayOutput struct{ *pulumi.OutputState } func (TaxonomyActivatedPolicyTypesItemArrayOutput) ElementType() reflect.Type { @@ -1436,6 +1587,12 @@ func (o TaxonomyActivatedPolicyTypesItemArrayOutput) ToTaxonomyActivatedPolicyTy return o } +func (o TaxonomyActivatedPolicyTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TaxonomyActivatedPolicyTypesItem] { + return pulumix.Output[[]TaxonomyActivatedPolicyTypesItem]{ + OutputState: o.OutputState, + } +} + func (o TaxonomyActivatedPolicyTypesItemArrayOutput) Index(i pulumi.IntInput) TaxonomyActivatedPolicyTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TaxonomyActivatedPolicyTypesItem { return vs[0].([]TaxonomyActivatedPolicyTypesItem)[vs[1].(int)] diff --git a/sdk/go/google/datacatalog/v1/pulumiTypes.go b/sdk/go/google/datacatalog/v1/pulumiTypes.go index e67b3b473c..393b96a737 100644 --- a/sdk/go/google/datacatalog/v1/pulumiTypes.go +++ b/sdk/go/google/datacatalog/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -460,6 +527,12 @@ func (o GoogleCloudDatacatalogV1BigQueryConnectionSpecResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDatacatalogV1BigQueryConnectionSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1BigQueryConnectionSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1BigQueryConnectionSpecResponse]{ + OutputState: o.OutputState, + } +} + // Specification for the BigQuery connection to a Cloud SQL instance. func (o GoogleCloudDatacatalogV1BigQueryConnectionSpecResponseOutput) CloudSql() GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpecResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1BigQueryConnectionSpecResponse) GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpecResponse { @@ -504,6 +577,12 @@ func (o GoogleCloudDatacatalogV1BigQueryDateShardedSpecResponseOutput) ToGoogleC return o } +func (o GoogleCloudDatacatalogV1BigQueryDateShardedSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1BigQueryDateShardedSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1BigQueryDateShardedSpecResponse]{ + OutputState: o.OutputState, + } +} + // The Data Catalog resource name of the dataset entry the current table belongs to. For example: `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`. func (o GoogleCloudDatacatalogV1BigQueryDateShardedSpecResponseOutput) Dataset() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1BigQueryDateShardedSpecResponse) string { return v.Dataset }).(pulumi.StringOutput) @@ -559,6 +638,12 @@ func (i GoogleCloudDatacatalogV1BigQueryRoutineSpecArgs) ToGoogleCloudDatacatalo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1BigQueryRoutineSpecOutput) } +func (i GoogleCloudDatacatalogV1BigQueryRoutineSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1BigQueryRoutineSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1BigQueryRoutineSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1BigQueryRoutineSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1BigQueryRoutineSpecArgs) ToGoogleCloudDatacatalogV1BigQueryRoutineSpecPtrOutput() GoogleCloudDatacatalogV1BigQueryRoutineSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1BigQueryRoutineSpecPtrOutputWithContext(context.Background()) } @@ -600,6 +685,12 @@ func (i *googleCloudDatacatalogV1BigQueryRoutineSpecPtrType) ToGoogleCloudDataca return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1BigQueryRoutineSpecPtrOutput) } +func (i *googleCloudDatacatalogV1BigQueryRoutineSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1BigQueryRoutineSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1BigQueryRoutineSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1BigQueryRoutineSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Fields specific for BigQuery routines. type GoogleCloudDatacatalogV1BigQueryRoutineSpecOutput struct{ *pulumi.OutputState } @@ -625,6 +716,12 @@ func (o GoogleCloudDatacatalogV1BigQueryRoutineSpecOutput) ToGoogleCloudDatacata }).(GoogleCloudDatacatalogV1BigQueryRoutineSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1BigQueryRoutineSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1BigQueryRoutineSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1BigQueryRoutineSpec]{ + OutputState: o.OutputState, + } +} + // Paths of the imported libraries. func (o GoogleCloudDatacatalogV1BigQueryRoutineSpecOutput) ImportedLibraries() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1BigQueryRoutineSpec) []string { return v.ImportedLibraries }).(pulumi.StringArrayOutput) @@ -644,6 +741,12 @@ func (o GoogleCloudDatacatalogV1BigQueryRoutineSpecPtrOutput) ToGoogleCloudDatac return o } +func (o GoogleCloudDatacatalogV1BigQueryRoutineSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1BigQueryRoutineSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1BigQueryRoutineSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1BigQueryRoutineSpecPtrOutput) Elem() GoogleCloudDatacatalogV1BigQueryRoutineSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1BigQueryRoutineSpec) GoogleCloudDatacatalogV1BigQueryRoutineSpec { if v != nil { @@ -685,6 +788,12 @@ func (o GoogleCloudDatacatalogV1BigQueryRoutineSpecResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDatacatalogV1BigQueryRoutineSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1BigQueryRoutineSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1BigQueryRoutineSpecResponse]{ + OutputState: o.OutputState, + } +} + // Paths of the imported libraries. func (o GoogleCloudDatacatalogV1BigQueryRoutineSpecResponseOutput) ImportedLibraries() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1BigQueryRoutineSpecResponse) []string { return v.ImportedLibraries }).(pulumi.StringArrayOutput) @@ -715,6 +824,12 @@ func (o GoogleCloudDatacatalogV1BigQueryTableSpecResponseOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatacatalogV1BigQueryTableSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1BigQueryTableSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1BigQueryTableSpecResponse]{ + OutputState: o.OutputState, + } +} + // The table source type. func (o GoogleCloudDatacatalogV1BigQueryTableSpecResponseOutput) TableSourceType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1BigQueryTableSpecResponse) string { return v.TableSourceType }).(pulumi.StringOutput) @@ -773,6 +888,12 @@ func (i GoogleCloudDatacatalogV1BusinessContextArgs) ToGoogleCloudDatacatalogV1B return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1BusinessContextOutput) } +func (i GoogleCloudDatacatalogV1BusinessContextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1BusinessContext] { + return pulumix.Output[GoogleCloudDatacatalogV1BusinessContext]{ + OutputState: i.ToGoogleCloudDatacatalogV1BusinessContextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1BusinessContextArgs) ToGoogleCloudDatacatalogV1BusinessContextPtrOutput() GoogleCloudDatacatalogV1BusinessContextPtrOutput { return i.ToGoogleCloudDatacatalogV1BusinessContextPtrOutputWithContext(context.Background()) } @@ -814,6 +935,12 @@ func (i *googleCloudDatacatalogV1BusinessContextPtrType) ToGoogleCloudDatacatalo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1BusinessContextPtrOutput) } +func (i *googleCloudDatacatalogV1BusinessContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1BusinessContext] { + return pulumix.Output[*GoogleCloudDatacatalogV1BusinessContext]{ + OutputState: i.ToGoogleCloudDatacatalogV1BusinessContextPtrOutputWithContext(ctx).OutputState, + } +} + // Business Context of the entry. type GoogleCloudDatacatalogV1BusinessContextOutput struct{ *pulumi.OutputState } @@ -839,6 +966,12 @@ func (o GoogleCloudDatacatalogV1BusinessContextOutput) ToGoogleCloudDatacatalogV }).(GoogleCloudDatacatalogV1BusinessContextPtrOutput) } +func (o GoogleCloudDatacatalogV1BusinessContextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1BusinessContext] { + return pulumix.Output[GoogleCloudDatacatalogV1BusinessContext]{ + OutputState: o.OutputState, + } +} + // Contact people for the entry. func (o GoogleCloudDatacatalogV1BusinessContextOutput) Contacts() GoogleCloudDatacatalogV1ContactsPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1BusinessContext) *GoogleCloudDatacatalogV1Contacts { return v.Contacts }).(GoogleCloudDatacatalogV1ContactsPtrOutput) @@ -865,6 +998,12 @@ func (o GoogleCloudDatacatalogV1BusinessContextPtrOutput) ToGoogleCloudDatacatal return o } +func (o GoogleCloudDatacatalogV1BusinessContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1BusinessContext] { + return pulumix.Output[*GoogleCloudDatacatalogV1BusinessContext]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1BusinessContextPtrOutput) Elem() GoogleCloudDatacatalogV1BusinessContextOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1BusinessContext) GoogleCloudDatacatalogV1BusinessContext { if v != nil { @@ -918,6 +1057,12 @@ func (o GoogleCloudDatacatalogV1BusinessContextResponseOutput) ToGoogleCloudData return o } +func (o GoogleCloudDatacatalogV1BusinessContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1BusinessContextResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1BusinessContextResponse]{ + OutputState: o.OutputState, + } +} + // Contact people for the entry. func (o GoogleCloudDatacatalogV1BusinessContextResponseOutput) Contacts() GoogleCloudDatacatalogV1ContactsResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1BusinessContextResponse) GoogleCloudDatacatalogV1ContactsResponse { @@ -967,6 +1112,12 @@ func (i GoogleCloudDatacatalogV1CloudBigtableInstanceSpecArgs) ToGoogleCloudData return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1CloudBigtableInstanceSpecOutput) } +func (i GoogleCloudDatacatalogV1CloudBigtableInstanceSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1CloudBigtableInstanceSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1CloudBigtableInstanceSpecArgs) ToGoogleCloudDatacatalogV1CloudBigtableInstanceSpecPtrOutput() GoogleCloudDatacatalogV1CloudBigtableInstanceSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1CloudBigtableInstanceSpecPtrOutputWithContext(context.Background()) } @@ -1008,6 +1159,12 @@ func (i *googleCloudDatacatalogV1CloudBigtableInstanceSpecPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1CloudBigtableInstanceSpecPtrOutput) } +func (i *googleCloudDatacatalogV1CloudBigtableInstanceSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1CloudBigtableInstanceSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1CloudBigtableInstanceSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1CloudBigtableInstanceSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification that applies to Instance entries that are part of `CLOUD_BIGTABLE` system. (user_specified_type) type GoogleCloudDatacatalogV1CloudBigtableInstanceSpecOutput struct{ *pulumi.OutputState } @@ -1033,6 +1190,12 @@ func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecOutput) ToGoogleCloudDa }).(GoogleCloudDatacatalogV1CloudBigtableInstanceSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpec]{ + OutputState: o.OutputState, + } +} + // The list of clusters for the Instance. func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecOutput) CloudBigtableClusterSpecs() GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1CloudBigtableInstanceSpec) []GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec { @@ -1054,6 +1217,12 @@ func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecPtrOutput) ToGoogleClou return o } +func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1CloudBigtableInstanceSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1CloudBigtableInstanceSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecPtrOutput) Elem() GoogleCloudDatacatalogV1CloudBigtableInstanceSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1CloudBigtableInstanceSpec) GoogleCloudDatacatalogV1CloudBigtableInstanceSpec { if v != nil { @@ -1121,6 +1290,12 @@ func (i GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecOutput) } +func (i GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArrayInput is an input type that accepts GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArray and GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArrayOutput values. // You can construct a concrete instance of `GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArrayInput` via: // @@ -1146,6 +1321,12 @@ func (i GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArrayOutput) } +func (i GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec] { + return pulumix.Output[[]GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArrayOutputWithContext(ctx).OutputState, + } +} + // Spec that applies to clusters of an Instance of Cloud Bigtable. type GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecOutput struct{ *pulumi.OutputState } @@ -1161,6 +1342,12 @@ func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpe return o } +func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec]{ + OutputState: o.OutputState, + } +} + // Name of the cluster. func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec) *string { @@ -1203,6 +1390,12 @@ func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpe return o } +func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec] { + return pulumix.Output[[]GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec { return vs[0].([]GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec)[vs[1].(int)] @@ -1236,6 +1429,12 @@ func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpe return o } +func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponse]{ + OutputState: o.OutputState, + } +} + // Name of the cluster. func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponse) string { @@ -1278,6 +1477,12 @@ func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpe return o } +func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponse] { + return pulumix.Output[[]GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponse { return vs[0].([]GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponse)[vs[1].(int)] @@ -1305,6 +1510,12 @@ func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecResponseOutput) ToGoogl return o } +func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableInstanceSpecResponse]{ + OutputState: o.OutputState, + } +} + // The list of clusters for the Instance. func (o GoogleCloudDatacatalogV1CloudBigtableInstanceSpecResponseOutput) CloudBigtableClusterSpecs() GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1CloudBigtableInstanceSpecResponse) []GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpecResponse { @@ -1347,6 +1558,12 @@ func (i GoogleCloudDatacatalogV1CloudBigtableSystemSpecArgs) ToGoogleCloudDataca return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1CloudBigtableSystemSpecOutput) } +func (i GoogleCloudDatacatalogV1CloudBigtableSystemSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableSystemSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableSystemSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1CloudBigtableSystemSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1CloudBigtableSystemSpecArgs) ToGoogleCloudDatacatalogV1CloudBigtableSystemSpecPtrOutput() GoogleCloudDatacatalogV1CloudBigtableSystemSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1CloudBigtableSystemSpecPtrOutputWithContext(context.Background()) } @@ -1388,6 +1605,12 @@ func (i *googleCloudDatacatalogV1CloudBigtableSystemSpecPtrType) ToGoogleCloudDa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1CloudBigtableSystemSpecPtrOutput) } +func (i *googleCloudDatacatalogV1CloudBigtableSystemSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1CloudBigtableSystemSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1CloudBigtableSystemSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1CloudBigtableSystemSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification that applies to all entries that are part of `CLOUD_BIGTABLE` system (user_specified_type) type GoogleCloudDatacatalogV1CloudBigtableSystemSpecOutput struct{ *pulumi.OutputState } @@ -1413,6 +1636,12 @@ func (o GoogleCloudDatacatalogV1CloudBigtableSystemSpecOutput) ToGoogleCloudData }).(GoogleCloudDatacatalogV1CloudBigtableSystemSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1CloudBigtableSystemSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableSystemSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableSystemSpec]{ + OutputState: o.OutputState, + } +} + // Display name of the Instance. This is user specified and different from the resource name. func (o GoogleCloudDatacatalogV1CloudBigtableSystemSpecOutput) InstanceDisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1CloudBigtableSystemSpec) *string { return v.InstanceDisplayName }).(pulumi.StringPtrOutput) @@ -1432,6 +1661,12 @@ func (o GoogleCloudDatacatalogV1CloudBigtableSystemSpecPtrOutput) ToGoogleCloudD return o } +func (o GoogleCloudDatacatalogV1CloudBigtableSystemSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1CloudBigtableSystemSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1CloudBigtableSystemSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1CloudBigtableSystemSpecPtrOutput) Elem() GoogleCloudDatacatalogV1CloudBigtableSystemSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1CloudBigtableSystemSpec) GoogleCloudDatacatalogV1CloudBigtableSystemSpec { if v != nil { @@ -1473,6 +1708,12 @@ func (o GoogleCloudDatacatalogV1CloudBigtableSystemSpecResponseOutput) ToGoogleC return o } +func (o GoogleCloudDatacatalogV1CloudBigtableSystemSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableSystemSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1CloudBigtableSystemSpecResponse]{ + OutputState: o.OutputState, + } +} + // Display name of the Instance. This is user specified and different from the resource name. func (o GoogleCloudDatacatalogV1CloudBigtableSystemSpecResponseOutput) InstanceDisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1CloudBigtableSystemSpecResponse) string { return v.InstanceDisplayName }).(pulumi.StringOutput) @@ -1503,6 +1744,12 @@ func (o GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpecResponseOutput) To return o } +func (o GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpecResponse]{ + OutputState: o.OutputState, + } +} + // Database name. func (o GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpecResponseOutput) Database() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpecResponse) string { return v.Database }).(pulumi.StringOutput) @@ -1589,6 +1836,12 @@ func (i GoogleCloudDatacatalogV1ColumnSchemaArgs) ToGoogleCloudDatacatalogV1Colu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1ColumnSchemaOutput) } +func (i GoogleCloudDatacatalogV1ColumnSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ColumnSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1ColumnSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1ColumnSchemaOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDatacatalogV1ColumnSchemaArrayInput is an input type that accepts GoogleCloudDatacatalogV1ColumnSchemaArray and GoogleCloudDatacatalogV1ColumnSchemaArrayOutput values. // You can construct a concrete instance of `GoogleCloudDatacatalogV1ColumnSchemaArrayInput` via: // @@ -1614,6 +1867,12 @@ func (i GoogleCloudDatacatalogV1ColumnSchemaArray) ToGoogleCloudDatacatalogV1Col return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1ColumnSchemaArrayOutput) } +func (i GoogleCloudDatacatalogV1ColumnSchemaArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1ColumnSchema] { + return pulumix.Output[[]GoogleCloudDatacatalogV1ColumnSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1ColumnSchemaArrayOutputWithContext(ctx).OutputState, + } +} + // A column within a schema. Columns can be nested inside other columns. type GoogleCloudDatacatalogV1ColumnSchemaOutput struct{ *pulumi.OutputState } @@ -1629,6 +1888,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaOutput) ToGoogleCloudDatacatalogV1Co return o } +func (o GoogleCloudDatacatalogV1ColumnSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ColumnSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1ColumnSchema]{ + OutputState: o.OutputState, + } +} + // Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes. func (o GoogleCloudDatacatalogV1ColumnSchemaOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1ColumnSchema) string { return v.Column }).(pulumi.StringOutput) @@ -1699,6 +1964,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaArrayOutput) ToGoogleCloudDatacatalo return o } +func (o GoogleCloudDatacatalogV1ColumnSchemaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1ColumnSchema] { + return pulumix.Output[[]GoogleCloudDatacatalogV1ColumnSchema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ColumnSchemaArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1ColumnSchemaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1ColumnSchema { return vs[0].([]GoogleCloudDatacatalogV1ColumnSchema)[vs[1].(int)] @@ -1740,6 +2011,12 @@ func (i GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecOutput) } +func (i GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecArgs) ToGoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrOutput() GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrOutputWithContext(context.Background()) } @@ -1781,6 +2058,12 @@ func (i *googleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrOutput) } +func (i *googleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Column info specific to Looker System. type GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecOutput struct{ *pulumi.OutputState } @@ -1806,6 +2089,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecOutput) ToGoogleClou }).(GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec]{ + OutputState: o.OutputState, + } +} + // Looker specific column type of this column. func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecOutput) Type() GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecTypePtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec) *GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecType { @@ -1827,6 +2116,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrOutput) ToGoogleC return o } +func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecPtrOutput) Elem() GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec) GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec { if v != nil { @@ -1868,6 +2163,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecResponseOutput) ToGo return o } +func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecResponse]{ + OutputState: o.OutputState, + } +} + // Looker specific column type of this column. func (o GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpecResponse) string { return v.Type }).(pulumi.StringOutput) @@ -1912,6 +2213,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaResponseOutput) ToGoogleCloudDatacat return o } +func (o GoogleCloudDatacatalogV1ColumnSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1ColumnSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes. func (o GoogleCloudDatacatalogV1ColumnSchemaResponseOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1ColumnSchemaResponse) string { return v.Column }).(pulumi.StringOutput) @@ -1980,6 +2287,12 @@ func (o GoogleCloudDatacatalogV1ColumnSchemaResponseArrayOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatacatalogV1ColumnSchemaResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1ColumnSchemaResponse] { + return pulumix.Output[[]GoogleCloudDatacatalogV1ColumnSchemaResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ColumnSchemaResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1ColumnSchemaResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1ColumnSchemaResponse { return vs[0].([]GoogleCloudDatacatalogV1ColumnSchemaResponse)[vs[1].(int)] @@ -2021,6 +2334,12 @@ func (i GoogleCloudDatacatalogV1ContactsArgs) ToGoogleCloudDatacatalogV1Contacts return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1ContactsOutput) } +func (i GoogleCloudDatacatalogV1ContactsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1Contacts] { + return pulumix.Output[GoogleCloudDatacatalogV1Contacts]{ + OutputState: i.ToGoogleCloudDatacatalogV1ContactsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1ContactsArgs) ToGoogleCloudDatacatalogV1ContactsPtrOutput() GoogleCloudDatacatalogV1ContactsPtrOutput { return i.ToGoogleCloudDatacatalogV1ContactsPtrOutputWithContext(context.Background()) } @@ -2062,6 +2381,12 @@ func (i *googleCloudDatacatalogV1ContactsPtrType) ToGoogleCloudDatacatalogV1Cont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1ContactsPtrOutput) } +func (i *googleCloudDatacatalogV1ContactsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1Contacts] { + return pulumix.Output[*GoogleCloudDatacatalogV1Contacts]{ + OutputState: i.ToGoogleCloudDatacatalogV1ContactsPtrOutputWithContext(ctx).OutputState, + } +} + // Contact people for the entry. type GoogleCloudDatacatalogV1ContactsOutput struct{ *pulumi.OutputState } @@ -2087,6 +2412,12 @@ func (o GoogleCloudDatacatalogV1ContactsOutput) ToGoogleCloudDatacatalogV1Contac }).(GoogleCloudDatacatalogV1ContactsPtrOutput) } +func (o GoogleCloudDatacatalogV1ContactsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1Contacts] { + return pulumix.Output[GoogleCloudDatacatalogV1Contacts]{ + OutputState: o.OutputState, + } +} + // The list of contact people for the entry. func (o GoogleCloudDatacatalogV1ContactsOutput) People() GoogleCloudDatacatalogV1ContactsPersonArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1Contacts) []GoogleCloudDatacatalogV1ContactsPerson { return v.People }).(GoogleCloudDatacatalogV1ContactsPersonArrayOutput) @@ -2106,6 +2437,12 @@ func (o GoogleCloudDatacatalogV1ContactsPtrOutput) ToGoogleCloudDatacatalogV1Con return o } +func (o GoogleCloudDatacatalogV1ContactsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1Contacts] { + return pulumix.Output[*GoogleCloudDatacatalogV1Contacts]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ContactsPtrOutput) Elem() GoogleCloudDatacatalogV1ContactsOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1Contacts) GoogleCloudDatacatalogV1Contacts { if v != nil { @@ -2165,6 +2502,12 @@ func (i GoogleCloudDatacatalogV1ContactsPersonArgs) ToGoogleCloudDatacatalogV1Co return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1ContactsPersonOutput) } +func (i GoogleCloudDatacatalogV1ContactsPersonArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ContactsPerson] { + return pulumix.Output[GoogleCloudDatacatalogV1ContactsPerson]{ + OutputState: i.ToGoogleCloudDatacatalogV1ContactsPersonOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDatacatalogV1ContactsPersonArrayInput is an input type that accepts GoogleCloudDatacatalogV1ContactsPersonArray and GoogleCloudDatacatalogV1ContactsPersonArrayOutput values. // You can construct a concrete instance of `GoogleCloudDatacatalogV1ContactsPersonArrayInput` via: // @@ -2190,6 +2533,12 @@ func (i GoogleCloudDatacatalogV1ContactsPersonArray) ToGoogleCloudDatacatalogV1C return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1ContactsPersonArrayOutput) } +func (i GoogleCloudDatacatalogV1ContactsPersonArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1ContactsPerson] { + return pulumix.Output[[]GoogleCloudDatacatalogV1ContactsPerson]{ + OutputState: i.ToGoogleCloudDatacatalogV1ContactsPersonArrayOutputWithContext(ctx).OutputState, + } +} + // A contact person for the entry. type GoogleCloudDatacatalogV1ContactsPersonOutput struct{ *pulumi.OutputState } @@ -2205,6 +2554,12 @@ func (o GoogleCloudDatacatalogV1ContactsPersonOutput) ToGoogleCloudDatacatalogV1 return o } +func (o GoogleCloudDatacatalogV1ContactsPersonOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ContactsPerson] { + return pulumix.Output[GoogleCloudDatacatalogV1ContactsPerson]{ + OutputState: o.OutputState, + } +} + // Designation of the person, for example, Data Steward. func (o GoogleCloudDatacatalogV1ContactsPersonOutput) Designation() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1ContactsPerson) *string { return v.Designation }).(pulumi.StringPtrOutput) @@ -2229,6 +2584,12 @@ func (o GoogleCloudDatacatalogV1ContactsPersonArrayOutput) ToGoogleCloudDatacata return o } +func (o GoogleCloudDatacatalogV1ContactsPersonArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1ContactsPerson] { + return pulumix.Output[[]GoogleCloudDatacatalogV1ContactsPerson]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ContactsPersonArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1ContactsPersonOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1ContactsPerson { return vs[0].([]GoogleCloudDatacatalogV1ContactsPerson)[vs[1].(int)] @@ -2258,6 +2619,12 @@ func (o GoogleCloudDatacatalogV1ContactsPersonResponseOutput) ToGoogleCloudDatac return o } +func (o GoogleCloudDatacatalogV1ContactsPersonResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ContactsPersonResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1ContactsPersonResponse]{ + OutputState: o.OutputState, + } +} + // Designation of the person, for example, Data Steward. func (o GoogleCloudDatacatalogV1ContactsPersonResponseOutput) Designation() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1ContactsPersonResponse) string { return v.Designation }).(pulumi.StringOutput) @@ -2282,6 +2649,12 @@ func (o GoogleCloudDatacatalogV1ContactsPersonResponseArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudDatacatalogV1ContactsPersonResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1ContactsPersonResponse] { + return pulumix.Output[[]GoogleCloudDatacatalogV1ContactsPersonResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ContactsPersonResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1ContactsPersonResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1ContactsPersonResponse { return vs[0].([]GoogleCloudDatacatalogV1ContactsPersonResponse)[vs[1].(int)] @@ -2309,6 +2682,12 @@ func (o GoogleCloudDatacatalogV1ContactsResponseOutput) ToGoogleCloudDatacatalog return o } +func (o GoogleCloudDatacatalogV1ContactsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ContactsResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1ContactsResponse]{ + OutputState: o.OutputState, + } +} + // The list of contact people for the entry. func (o GoogleCloudDatacatalogV1ContactsResponseOutput) People() GoogleCloudDatacatalogV1ContactsPersonResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1ContactsResponse) []GoogleCloudDatacatalogV1ContactsPersonResponse { @@ -2347,6 +2726,12 @@ func (i GoogleCloudDatacatalogV1DataSourceConnectionSpecArgs) ToGoogleCloudDatac return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1DataSourceConnectionSpecOutput) } +func (i GoogleCloudDatacatalogV1DataSourceConnectionSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataSourceConnectionSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1DataSourceConnectionSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1DataSourceConnectionSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1DataSourceConnectionSpecArgs) ToGoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutput() GoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutputWithContext(context.Background()) } @@ -2388,6 +2773,12 @@ func (i *googleCloudDatacatalogV1DataSourceConnectionSpecPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutput) } +func (i *googleCloudDatacatalogV1DataSourceConnectionSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DataSourceConnectionSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1DataSourceConnectionSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification that applies to a data source connection. Valid only for entries with the `DATA_SOURCE_CONNECTION` type. Only one of internal specs can be set at the time, and cannot be changed later. type GoogleCloudDatacatalogV1DataSourceConnectionSpecOutput struct{ *pulumi.OutputState } @@ -2413,6 +2804,12 @@ func (o GoogleCloudDatacatalogV1DataSourceConnectionSpecOutput) ToGoogleCloudDat }).(GoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1DataSourceConnectionSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataSourceConnectionSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1DataSourceConnectionSpec]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutput) ElementType() reflect.Type { @@ -2427,6 +2824,12 @@ func (o GoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DataSourceConnectionSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1DataSourceConnectionSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1DataSourceConnectionSpecPtrOutput) Elem() GoogleCloudDatacatalogV1DataSourceConnectionSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1DataSourceConnectionSpec) GoogleCloudDatacatalogV1DataSourceConnectionSpec { if v != nil { @@ -2458,6 +2861,12 @@ func (o GoogleCloudDatacatalogV1DataSourceConnectionSpecResponseOutput) ToGoogle return o } +func (o GoogleCloudDatacatalogV1DataSourceConnectionSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataSourceConnectionSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1DataSourceConnectionSpecResponse]{ + OutputState: o.OutputState, + } +} + // Fields specific to BigQuery connections. func (o GoogleCloudDatacatalogV1DataSourceConnectionSpecResponseOutput) BigqueryConnectionSpec() GoogleCloudDatacatalogV1BigQueryConnectionSpecResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DataSourceConnectionSpecResponse) GoogleCloudDatacatalogV1BigQueryConnectionSpecResponse { @@ -2492,6 +2901,12 @@ func (o GoogleCloudDatacatalogV1DataSourceResponseOutput) ToGoogleCloudDatacatal return o } +func (o GoogleCloudDatacatalogV1DataSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataSourceResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1DataSourceResponse]{ + OutputState: o.OutputState, + } +} + // Full name of a resource as defined by the service. For example: `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}` func (o GoogleCloudDatacatalogV1DataSourceResponseOutput) Resource() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DataSourceResponse) string { return v.Resource }).(pulumi.StringOutput) @@ -2553,6 +2968,12 @@ func (i GoogleCloudDatacatalogV1DatabaseTableSpecArgs) ToGoogleCloudDatacatalogV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1DatabaseTableSpecOutput) } +func (i GoogleCloudDatacatalogV1DatabaseTableSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1DatabaseTableSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1DatabaseTableSpecArgs) ToGoogleCloudDatacatalogV1DatabaseTableSpecPtrOutput() GoogleCloudDatacatalogV1DatabaseTableSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1DatabaseTableSpecPtrOutputWithContext(context.Background()) } @@ -2594,6 +3015,12 @@ func (i *googleCloudDatacatalogV1DatabaseTableSpecPtrType) ToGoogleCloudDatacata return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1DatabaseTableSpecPtrOutput) } +func (i *googleCloudDatacatalogV1DatabaseTableSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1DatabaseTableSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification that applies to a table resource. Valid only for entries with the `TABLE` type. type GoogleCloudDatacatalogV1DatabaseTableSpecOutput struct{ *pulumi.OutputState } @@ -2619,6 +3046,12 @@ func (o GoogleCloudDatacatalogV1DatabaseTableSpecOutput) ToGoogleCloudDatacatalo }).(GoogleCloudDatacatalogV1DatabaseTableSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1DatabaseTableSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpec]{ + OutputState: o.OutputState, + } +} + // Spec what aplies to tables that are actually views. Not set for "real" tables. func (o GoogleCloudDatacatalogV1DatabaseTableSpecOutput) DatabaseViewSpec() GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DatabaseTableSpec) *GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec { @@ -2647,6 +3080,12 @@ func (o GoogleCloudDatacatalogV1DatabaseTableSpecPtrOutput) ToGoogleCloudDatacat return o } +func (o GoogleCloudDatacatalogV1DatabaseTableSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1DatabaseTableSpecPtrOutput) Elem() GoogleCloudDatacatalogV1DatabaseTableSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1DatabaseTableSpec) GoogleCloudDatacatalogV1DatabaseTableSpec { if v != nil { @@ -2720,6 +3159,12 @@ func (i GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecOutput) } +func (i GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecArgs) ToGoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrOutput() GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrOutputWithContext(context.Background()) } @@ -2761,6 +3206,12 @@ func (i *googleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrType) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrOutput) } +func (i *googleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification that applies to database view. type GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecOutput struct{ *pulumi.OutputState } @@ -2786,6 +3237,12 @@ func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecOutput) ToGoogl }).(GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec]{ + OutputState: o.OutputState, + } +} + // Name of a singular table this view reflects one to one. func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecOutput) BaseTable() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec) *string { return v.BaseTable }).(pulumi.StringPtrOutput) @@ -2817,6 +3274,12 @@ func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrOutput) ToGo return o } +func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecPtrOutput) Elem() GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec) GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec { if v != nil { @@ -2882,6 +3345,12 @@ func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecResponseOutput) return o } +func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecResponse]{ + OutputState: o.OutputState, + } +} + // Name of a singular table this view reflects one to one. func (o GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecResponseOutput) BaseTable() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecResponse) string { return v.BaseTable }).(pulumi.StringOutput) @@ -2922,6 +3391,12 @@ func (o GoogleCloudDatacatalogV1DatabaseTableSpecResponseOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatacatalogV1DatabaseTableSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1DatabaseTableSpecResponse]{ + OutputState: o.OutputState, + } +} + // Spec what aplies to tables that are actually views. Not set for "real" tables. func (o GoogleCloudDatacatalogV1DatabaseTableSpecResponseOutput) DatabaseViewSpec() GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DatabaseTableSpecResponse) GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpecResponse { @@ -2968,6 +3443,12 @@ func (o GoogleCloudDatacatalogV1DataplexExternalTableResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDatacatalogV1DataplexExternalTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataplexExternalTableResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1DataplexExternalTableResponse]{ + OutputState: o.OutputState, + } +} + // Name of the Data Catalog entry representing the external table. func (o GoogleCloudDatacatalogV1DataplexExternalTableResponseOutput) DataCatalogEntry() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DataplexExternalTableResponse) string { return v.DataCatalogEntry }).(pulumi.StringOutput) @@ -3002,6 +3483,12 @@ func (o GoogleCloudDatacatalogV1DataplexExternalTableResponseArrayOutput) ToGoog return o } +func (o GoogleCloudDatacatalogV1DataplexExternalTableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1DataplexExternalTableResponse] { + return pulumix.Output[[]GoogleCloudDatacatalogV1DataplexExternalTableResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1DataplexExternalTableResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1DataplexExternalTableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1DataplexExternalTableResponse { return vs[0].([]GoogleCloudDatacatalogV1DataplexExternalTableResponse)[vs[1].(int)] @@ -3043,6 +3530,12 @@ func (i GoogleCloudDatacatalogV1DataplexFilesetSpecArgs) ToGoogleCloudDatacatalo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1DataplexFilesetSpecOutput) } +func (i GoogleCloudDatacatalogV1DataplexFilesetSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataplexFilesetSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1DataplexFilesetSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1DataplexFilesetSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1DataplexFilesetSpecArgs) ToGoogleCloudDatacatalogV1DataplexFilesetSpecPtrOutput() GoogleCloudDatacatalogV1DataplexFilesetSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1DataplexFilesetSpecPtrOutputWithContext(context.Background()) } @@ -3084,6 +3577,12 @@ func (i *googleCloudDatacatalogV1DataplexFilesetSpecPtrType) ToGoogleCloudDataca return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1DataplexFilesetSpecPtrOutput) } +func (i *googleCloudDatacatalogV1DataplexFilesetSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DataplexFilesetSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1DataplexFilesetSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1DataplexFilesetSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Entry specyfication for a Dataplex fileset. type GoogleCloudDatacatalogV1DataplexFilesetSpecOutput struct{ *pulumi.OutputState } @@ -3109,6 +3608,12 @@ func (o GoogleCloudDatacatalogV1DataplexFilesetSpecOutput) ToGoogleCloudDatacata }).(GoogleCloudDatacatalogV1DataplexFilesetSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1DataplexFilesetSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataplexFilesetSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1DataplexFilesetSpec]{ + OutputState: o.OutputState, + } +} + // Common Dataplex fields. func (o GoogleCloudDatacatalogV1DataplexFilesetSpecOutput) DataplexSpec() GoogleCloudDatacatalogV1DataplexSpecPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DataplexFilesetSpec) *GoogleCloudDatacatalogV1DataplexSpec { @@ -3130,6 +3635,12 @@ func (o GoogleCloudDatacatalogV1DataplexFilesetSpecPtrOutput) ToGoogleCloudDatac return o } +func (o GoogleCloudDatacatalogV1DataplexFilesetSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DataplexFilesetSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1DataplexFilesetSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1DataplexFilesetSpecPtrOutput) Elem() GoogleCloudDatacatalogV1DataplexFilesetSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1DataplexFilesetSpec) GoogleCloudDatacatalogV1DataplexFilesetSpec { if v != nil { @@ -3171,6 +3682,12 @@ func (o GoogleCloudDatacatalogV1DataplexFilesetSpecResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDatacatalogV1DataplexFilesetSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataplexFilesetSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1DataplexFilesetSpecResponse]{ + OutputState: o.OutputState, + } +} + // Common Dataplex fields. func (o GoogleCloudDatacatalogV1DataplexFilesetSpecResponseOutput) DataplexSpec() GoogleCloudDatacatalogV1DataplexSpecResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DataplexFilesetSpecResponse) GoogleCloudDatacatalogV1DataplexSpecResponse { @@ -3225,6 +3742,12 @@ func (i GoogleCloudDatacatalogV1DataplexSpecArgs) ToGoogleCloudDatacatalogV1Data return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1DataplexSpecOutput) } +func (i GoogleCloudDatacatalogV1DataplexSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataplexSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1DataplexSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1DataplexSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1DataplexSpecArgs) ToGoogleCloudDatacatalogV1DataplexSpecPtrOutput() GoogleCloudDatacatalogV1DataplexSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1DataplexSpecPtrOutputWithContext(context.Background()) } @@ -3266,6 +3789,12 @@ func (i *googleCloudDatacatalogV1DataplexSpecPtrType) ToGoogleCloudDatacatalogV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1DataplexSpecPtrOutput) } +func (i *googleCloudDatacatalogV1DataplexSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DataplexSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1DataplexSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1DataplexSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Common Dataplex fields. type GoogleCloudDatacatalogV1DataplexSpecOutput struct{ *pulumi.OutputState } @@ -3291,6 +3820,12 @@ func (o GoogleCloudDatacatalogV1DataplexSpecOutput) ToGoogleCloudDatacatalogV1Da }).(GoogleCloudDatacatalogV1DataplexSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1DataplexSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataplexSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1DataplexSpec]{ + OutputState: o.OutputState, + } +} + // Fully qualified resource name of an asset in Dataplex, to which the underlying data source (Cloud Storage bucket or BigQuery dataset) of the entity is attached. func (o GoogleCloudDatacatalogV1DataplexSpecOutput) Asset() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DataplexSpec) *string { return v.Asset }).(pulumi.StringPtrOutput) @@ -3327,6 +3862,12 @@ func (o GoogleCloudDatacatalogV1DataplexSpecPtrOutput) ToGoogleCloudDatacatalogV return o } +func (o GoogleCloudDatacatalogV1DataplexSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1DataplexSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1DataplexSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1DataplexSpecPtrOutput) Elem() GoogleCloudDatacatalogV1DataplexSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1DataplexSpec) GoogleCloudDatacatalogV1DataplexSpec { if v != nil { @@ -3404,6 +3945,12 @@ func (o GoogleCloudDatacatalogV1DataplexSpecResponseOutput) ToGoogleCloudDatacat return o } +func (o GoogleCloudDatacatalogV1DataplexSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataplexSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1DataplexSpecResponse]{ + OutputState: o.OutputState, + } +} + // Fully qualified resource name of an asset in Dataplex, to which the underlying data source (Cloud Storage bucket or BigQuery dataset) of the entity is attached. func (o GoogleCloudDatacatalogV1DataplexSpecResponseOutput) Asset() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DataplexSpecResponse) string { return v.Asset }).(pulumi.StringOutput) @@ -3451,6 +3998,12 @@ func (o GoogleCloudDatacatalogV1DataplexTableSpecResponseOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatacatalogV1DataplexTableSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1DataplexTableSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1DataplexTableSpecResponse]{ + OutputState: o.OutputState, + } +} + // Common Dataplex fields. func (o GoogleCloudDatacatalogV1DataplexTableSpecResponseOutput) DataplexSpec() GoogleCloudDatacatalogV1DataplexSpecResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1DataplexTableSpecResponse) GoogleCloudDatacatalogV1DataplexSpecResponse { @@ -3505,6 +4058,12 @@ func (i GoogleCloudDatacatalogV1EntryOverviewArgs) ToGoogleCloudDatacatalogV1Ent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1EntryOverviewOutput) } +func (i GoogleCloudDatacatalogV1EntryOverviewArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1EntryOverview] { + return pulumix.Output[GoogleCloudDatacatalogV1EntryOverview]{ + OutputState: i.ToGoogleCloudDatacatalogV1EntryOverviewOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1EntryOverviewArgs) ToGoogleCloudDatacatalogV1EntryOverviewPtrOutput() GoogleCloudDatacatalogV1EntryOverviewPtrOutput { return i.ToGoogleCloudDatacatalogV1EntryOverviewPtrOutputWithContext(context.Background()) } @@ -3546,6 +4105,12 @@ func (i *googleCloudDatacatalogV1EntryOverviewPtrType) ToGoogleCloudDatacatalogV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1EntryOverviewPtrOutput) } +func (i *googleCloudDatacatalogV1EntryOverviewPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1EntryOverview] { + return pulumix.Output[*GoogleCloudDatacatalogV1EntryOverview]{ + OutputState: i.ToGoogleCloudDatacatalogV1EntryOverviewPtrOutputWithContext(ctx).OutputState, + } +} + // Entry overview fields for rich text descriptions of entries. type GoogleCloudDatacatalogV1EntryOverviewOutput struct{ *pulumi.OutputState } @@ -3571,6 +4136,12 @@ func (o GoogleCloudDatacatalogV1EntryOverviewOutput) ToGoogleCloudDatacatalogV1E }).(GoogleCloudDatacatalogV1EntryOverviewPtrOutput) } +func (o GoogleCloudDatacatalogV1EntryOverviewOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1EntryOverview] { + return pulumix.Output[GoogleCloudDatacatalogV1EntryOverview]{ + OutputState: o.OutputState, + } +} + // Entry overview with support for rich text. The overview must only contain Unicode characters, and should be formatted using HTML. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB. func (o GoogleCloudDatacatalogV1EntryOverviewOutput) Overview() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1EntryOverview) *string { return v.Overview }).(pulumi.StringPtrOutput) @@ -3590,6 +4161,12 @@ func (o GoogleCloudDatacatalogV1EntryOverviewPtrOutput) ToGoogleCloudDatacatalog return o } +func (o GoogleCloudDatacatalogV1EntryOverviewPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1EntryOverview] { + return pulumix.Output[*GoogleCloudDatacatalogV1EntryOverview]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1EntryOverviewPtrOutput) Elem() GoogleCloudDatacatalogV1EntryOverviewOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1EntryOverview) GoogleCloudDatacatalogV1EntryOverview { if v != nil { @@ -3631,6 +4208,12 @@ func (o GoogleCloudDatacatalogV1EntryOverviewResponseOutput) ToGoogleCloudDataca return o } +func (o GoogleCloudDatacatalogV1EntryOverviewResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1EntryOverviewResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1EntryOverviewResponse]{ + OutputState: o.OutputState, + } +} + // Entry overview with support for rich text. The overview must only contain Unicode characters, and should be formatted using HTML. The maximum length is 10 MiB as this value holds HTML descriptions including encoded images. The maximum length of the text without images is 100 KiB. func (o GoogleCloudDatacatalogV1EntryOverviewResponseOutput) Overview() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1EntryOverviewResponse) string { return v.Overview }).(pulumi.StringOutput) @@ -3671,6 +4254,12 @@ func (i GoogleCloudDatacatalogV1FilesetSpecArgs) ToGoogleCloudDatacatalogV1Files return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1FilesetSpecOutput) } +func (i GoogleCloudDatacatalogV1FilesetSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1FilesetSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1FilesetSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1FilesetSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1FilesetSpecArgs) ToGoogleCloudDatacatalogV1FilesetSpecPtrOutput() GoogleCloudDatacatalogV1FilesetSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1FilesetSpecPtrOutputWithContext(context.Background()) } @@ -3712,6 +4301,12 @@ func (i *googleCloudDatacatalogV1FilesetSpecPtrType) ToGoogleCloudDatacatalogV1F return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1FilesetSpecPtrOutput) } +func (i *googleCloudDatacatalogV1FilesetSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1FilesetSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1FilesetSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1FilesetSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification that applies to a fileset. Valid only for entries with the 'FILESET' type. type GoogleCloudDatacatalogV1FilesetSpecOutput struct{ *pulumi.OutputState } @@ -3737,6 +4332,12 @@ func (o GoogleCloudDatacatalogV1FilesetSpecOutput) ToGoogleCloudDatacatalogV1Fil }).(GoogleCloudDatacatalogV1FilesetSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1FilesetSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1FilesetSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1FilesetSpec]{ + OutputState: o.OutputState, + } +} + // Fields specific to a Dataplex fileset and present only in the Dataplex fileset entries. func (o GoogleCloudDatacatalogV1FilesetSpecOutput) DataplexFileset() GoogleCloudDatacatalogV1DataplexFilesetSpecPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1FilesetSpec) *GoogleCloudDatacatalogV1DataplexFilesetSpec { @@ -3758,6 +4359,12 @@ func (o GoogleCloudDatacatalogV1FilesetSpecPtrOutput) ToGoogleCloudDatacatalogV1 return o } +func (o GoogleCloudDatacatalogV1FilesetSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1FilesetSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1FilesetSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1FilesetSpecPtrOutput) Elem() GoogleCloudDatacatalogV1FilesetSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1FilesetSpec) GoogleCloudDatacatalogV1FilesetSpec { if v != nil { @@ -3799,6 +4406,12 @@ func (o GoogleCloudDatacatalogV1FilesetSpecResponseOutput) ToGoogleCloudDatacata return o } +func (o GoogleCloudDatacatalogV1FilesetSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1FilesetSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1FilesetSpecResponse]{ + OutputState: o.OutputState, + } +} + // Fields specific to a Dataplex fileset and present only in the Dataplex fileset entries. func (o GoogleCloudDatacatalogV1FilesetSpecResponseOutput) DataplexFileset() GoogleCloudDatacatalogV1DataplexFilesetSpecResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1FilesetSpecResponse) GoogleCloudDatacatalogV1DataplexFilesetSpecResponse { @@ -3831,6 +4444,12 @@ func (o GoogleCloudDatacatalogV1GcsFileSpecResponseOutput) ToGoogleCloudDatacata return o } +func (o GoogleCloudDatacatalogV1GcsFileSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1GcsFileSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1GcsFileSpecResponse]{ + OutputState: o.OutputState, + } +} + // Full file path. Example: `gs://bucket_name/a/b.txt`. func (o GoogleCloudDatacatalogV1GcsFileSpecResponseOutput) FilePath() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1GcsFileSpecResponse) string { return v.FilePath }).(pulumi.StringOutput) @@ -3862,6 +4481,12 @@ func (o GoogleCloudDatacatalogV1GcsFileSpecResponseArrayOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDatacatalogV1GcsFileSpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1GcsFileSpecResponse] { + return pulumix.Output[[]GoogleCloudDatacatalogV1GcsFileSpecResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1GcsFileSpecResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1GcsFileSpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1GcsFileSpecResponse { return vs[0].([]GoogleCloudDatacatalogV1GcsFileSpecResponse)[vs[1].(int)] @@ -3903,6 +4528,12 @@ func (i GoogleCloudDatacatalogV1GcsFilesetSpecArgs) ToGoogleCloudDatacatalogV1Gc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1GcsFilesetSpecOutput) } +func (i GoogleCloudDatacatalogV1GcsFilesetSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1GcsFilesetSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1GcsFilesetSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1GcsFilesetSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1GcsFilesetSpecArgs) ToGoogleCloudDatacatalogV1GcsFilesetSpecPtrOutput() GoogleCloudDatacatalogV1GcsFilesetSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1GcsFilesetSpecPtrOutputWithContext(context.Background()) } @@ -3944,6 +4575,12 @@ func (i *googleCloudDatacatalogV1GcsFilesetSpecPtrType) ToGoogleCloudDatacatalog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1GcsFilesetSpecPtrOutput) } +func (i *googleCloudDatacatalogV1GcsFilesetSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1GcsFilesetSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1GcsFilesetSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1GcsFilesetSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Describes a Cloud Storage fileset entry. type GoogleCloudDatacatalogV1GcsFilesetSpecOutput struct{ *pulumi.OutputState } @@ -3969,6 +4606,12 @@ func (o GoogleCloudDatacatalogV1GcsFilesetSpecOutput) ToGoogleCloudDatacatalogV1 }).(GoogleCloudDatacatalogV1GcsFilesetSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1GcsFilesetSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1GcsFilesetSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1GcsFilesetSpec]{ + OutputState: o.OutputState, + } +} + // Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g` func (o GoogleCloudDatacatalogV1GcsFilesetSpecOutput) FilePatterns() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1GcsFilesetSpec) []string { return v.FilePatterns }).(pulumi.StringArrayOutput) @@ -3988,6 +4631,12 @@ func (o GoogleCloudDatacatalogV1GcsFilesetSpecPtrOutput) ToGoogleCloudDatacatalo return o } +func (o GoogleCloudDatacatalogV1GcsFilesetSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1GcsFilesetSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1GcsFilesetSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1GcsFilesetSpecPtrOutput) Elem() GoogleCloudDatacatalogV1GcsFilesetSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1GcsFilesetSpec) GoogleCloudDatacatalogV1GcsFilesetSpec { if v != nil { @@ -4031,6 +4680,12 @@ func (o GoogleCloudDatacatalogV1GcsFilesetSpecResponseOutput) ToGoogleCloudDatac return o } +func (o GoogleCloudDatacatalogV1GcsFilesetSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1GcsFilesetSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1GcsFilesetSpecResponse]{ + OutputState: o.OutputState, + } +} + // Patterns to identify a set of files in Google Cloud Storage. For more information, see [Wildcard Names] (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). Note: Currently, bucket wildcards are not supported. Examples of valid `file_patterns`: * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to match complex sets of files, for example: `gs://bucket_name/[a-m]??.j*g` func (o GoogleCloudDatacatalogV1GcsFilesetSpecResponseOutput) FilePatterns() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1GcsFilesetSpecResponse) []string { return v.FilePatterns }).(pulumi.StringArrayOutput) @@ -4098,6 +4753,12 @@ func (i GoogleCloudDatacatalogV1LookerSystemSpecArgs) ToGoogleCloudDatacatalogV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1LookerSystemSpecOutput) } +func (i GoogleCloudDatacatalogV1LookerSystemSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1LookerSystemSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1LookerSystemSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1LookerSystemSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1LookerSystemSpecArgs) ToGoogleCloudDatacatalogV1LookerSystemSpecPtrOutput() GoogleCloudDatacatalogV1LookerSystemSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1LookerSystemSpecPtrOutputWithContext(context.Background()) } @@ -4139,6 +4800,12 @@ func (i *googleCloudDatacatalogV1LookerSystemSpecPtrType) ToGoogleCloudDatacatal return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1LookerSystemSpecPtrOutput) } +func (i *googleCloudDatacatalogV1LookerSystemSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1LookerSystemSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1LookerSystemSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1LookerSystemSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification that applies to entries that are part `LOOKER` system (user_specified_type) type GoogleCloudDatacatalogV1LookerSystemSpecOutput struct{ *pulumi.OutputState } @@ -4164,6 +4831,12 @@ func (o GoogleCloudDatacatalogV1LookerSystemSpecOutput) ToGoogleCloudDatacatalog }).(GoogleCloudDatacatalogV1LookerSystemSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1LookerSystemSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1LookerSystemSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1LookerSystemSpec]{ + OutputState: o.OutputState, + } +} + // Name of the parent Looker Instance. Empty if it does not exist. func (o GoogleCloudDatacatalogV1LookerSystemSpecOutput) ParentInstanceDisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1LookerSystemSpec) *string { return v.ParentInstanceDisplayName }).(pulumi.StringPtrOutput) @@ -4208,6 +4881,12 @@ func (o GoogleCloudDatacatalogV1LookerSystemSpecPtrOutput) ToGoogleCloudDatacata return o } +func (o GoogleCloudDatacatalogV1LookerSystemSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1LookerSystemSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1LookerSystemSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1LookerSystemSpecPtrOutput) Elem() GoogleCloudDatacatalogV1LookerSystemSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1LookerSystemSpec) GoogleCloudDatacatalogV1LookerSystemSpec { if v != nil { @@ -4309,6 +4988,12 @@ func (o GoogleCloudDatacatalogV1LookerSystemSpecResponseOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDatacatalogV1LookerSystemSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1LookerSystemSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1LookerSystemSpecResponse]{ + OutputState: o.OutputState, + } +} + // Name of the parent Looker Instance. Empty if it does not exist. func (o GoogleCloudDatacatalogV1LookerSystemSpecResponseOutput) ParentInstanceDisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1LookerSystemSpecResponse) string { return v.ParentInstanceDisplayName }).(pulumi.StringOutput) @@ -4362,6 +5047,12 @@ func (o GoogleCloudDatacatalogV1PersonalDetailsResponseOutput) ToGoogleCloudData return o } +func (o GoogleCloudDatacatalogV1PersonalDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PersonalDetailsResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1PersonalDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Set if the entry is starred; unset otherwise. func (o GoogleCloudDatacatalogV1PersonalDetailsResponseOutput) StarTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1PersonalDetailsResponse) string { return v.StarTime }).(pulumi.StringOutput) @@ -4427,6 +5118,12 @@ func (i GoogleCloudDatacatalogV1PhysicalSchemaArgs) ToGoogleCloudDatacatalogV1Ph return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaOutput) } +func (i GoogleCloudDatacatalogV1PhysicalSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1PhysicalSchemaArgs) ToGoogleCloudDatacatalogV1PhysicalSchemaPtrOutput() GoogleCloudDatacatalogV1PhysicalSchemaPtrOutput { return i.ToGoogleCloudDatacatalogV1PhysicalSchemaPtrOutputWithContext(context.Background()) } @@ -4468,6 +5165,12 @@ func (i *googleCloudDatacatalogV1PhysicalSchemaPtrType) ToGoogleCloudDatacatalog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaPtrOutput) } +func (i *googleCloudDatacatalogV1PhysicalSchemaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaPtrOutputWithContext(ctx).OutputState, + } +} + // Native schema used by a resource represented as an entry. Used by query engines for deserializing and parsing source data. type GoogleCloudDatacatalogV1PhysicalSchemaOutput struct{ *pulumi.OutputState } @@ -4493,6 +5196,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaOutput) ToGoogleCloudDatacatalogV1 }).(GoogleCloudDatacatalogV1PhysicalSchemaPtrOutput) } +func (o GoogleCloudDatacatalogV1PhysicalSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchema]{ + OutputState: o.OutputState, + } +} + // Schema in Avro JSON format. func (o GoogleCloudDatacatalogV1PhysicalSchemaOutput) Avro() GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1PhysicalSchema) *GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema { @@ -4549,6 +5258,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaPtrOutput) ToGoogleCloudDatacatalo return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1PhysicalSchemaPtrOutput) Elem() GoogleCloudDatacatalogV1PhysicalSchemaOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1PhysicalSchema) GoogleCloudDatacatalogV1PhysicalSchema { if v != nil { @@ -4654,6 +5369,12 @@ func (i GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaArgs) ToGoogleCloudDatac return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaOutput) } +func (i GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaArgs) ToGoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrOutput() GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrOutput { return i.ToGoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrOutputWithContext(context.Background()) } @@ -4695,6 +5416,12 @@ func (i *googleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrOutput) } +func (i *googleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrOutputWithContext(ctx).OutputState, + } +} + // Schema in Avro JSON format. type GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaOutput struct{ *pulumi.OutputState } @@ -4720,6 +5447,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaOutput) ToGoogleCloudDat }).(GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrOutput) } +func (o GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema]{ + OutputState: o.OutputState, + } +} + // JSON source of the Avro schema. func (o GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaOutput) Text() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema) *string { return v.Text }).(pulumi.StringPtrOutput) @@ -4739,6 +5472,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaPtrOutput) Elem() GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema) GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema { if v != nil { @@ -4780,6 +5519,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaResponseOutput) ToGoogle return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaResponse]{ + OutputState: o.OutputState, + } +} + // JSON source of the Avro schema. func (o GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaResponseOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaResponse) string { return v.Text }).(pulumi.StringOutput) @@ -4816,6 +5561,12 @@ func (i GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaArgs) ToGoogleCloudDataca return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaOutput) } +func (i GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaArgs) ToGoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutput() GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutput { return i.ToGoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutputWithContext(context.Background()) } @@ -4857,6 +5608,12 @@ func (i *googleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrType) ToGoogleCloudDa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutput) } +func (i *googleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutputWithContext(ctx).OutputState, + } +} + // Marks a CSV-encoded data source. type GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaOutput struct{ *pulumi.OutputState } @@ -4882,6 +5639,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaOutput) ToGoogleCloudData }).(GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutput) } +func (o GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutput) ElementType() reflect.Type { @@ -4896,6 +5659,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutput) ToGoogleCloudD return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaPtrOutput) Elem() GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema) GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema { if v != nil { @@ -4925,6 +5694,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaResponseOutput) ToGoogleC return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaCsvSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Marks an ORC-encoded data source. type GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema struct { } @@ -4956,6 +5731,12 @@ func (i GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaArgs) ToGoogleCloudDataca return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaOutput) } +func (i GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaArgs) ToGoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutput() GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutput { return i.ToGoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutputWithContext(context.Background()) } @@ -4997,6 +5778,12 @@ func (i *googleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrType) ToGoogleCloudDa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutput) } +func (i *googleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutputWithContext(ctx).OutputState, + } +} + // Marks an ORC-encoded data source. type GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaOutput struct{ *pulumi.OutputState } @@ -5022,6 +5809,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaOutput) ToGoogleCloudData }).(GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutput) } +func (o GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutput) ElementType() reflect.Type { @@ -5036,6 +5829,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutput) ToGoogleCloudD return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaPtrOutput) Elem() GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema) GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema { if v != nil { @@ -5065,6 +5864,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaResponseOutput) ToGoogleC return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaOrcSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Marks a Parquet-encoded data source. type GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema struct { } @@ -5096,6 +5901,12 @@ func (i GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaArgs) ToGoogleCloudDa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaOutput) } +func (i GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaArgs) ToGoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutput() GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutput { return i.ToGoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutputWithContext(context.Background()) } @@ -5137,6 +5948,12 @@ func (i *googleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutput) } +func (i *googleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutputWithContext(ctx).OutputState, + } +} + // Marks a Parquet-encoded data source. type GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaOutput struct{ *pulumi.OutputState } @@ -5162,6 +5979,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaOutput) ToGoogleCloud }).(GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutput) } +func (o GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutput) ElementType() reflect.Type { @@ -5176,6 +5999,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutput) ToGoogleCl return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaPtrOutput) Elem() GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema) GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema { if v != nil { @@ -5205,6 +6034,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaResponseOutput) ToGoo return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaParquetSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Schema in protocol buffer format. type GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema struct { // Protocol buffer source of the schema. @@ -5240,6 +6075,12 @@ func (i GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaOutput) } +func (i GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaArgs) ToGoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrOutput() GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrOutput { return i.ToGoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrOutputWithContext(context.Background()) } @@ -5281,6 +6122,12 @@ func (i *googleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrOutput) } +func (i *googleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrOutputWithContext(ctx).OutputState, + } +} + // Schema in protocol buffer format. type GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaOutput struct{ *pulumi.OutputState } @@ -5306,6 +6153,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaOutput) ToGoogleClou }).(GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrOutput) } +func (o GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema]{ + OutputState: o.OutputState, + } +} + // Protocol buffer source of the schema. func (o GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaOutput) Text() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema) *string { return v.Text }).(pulumi.StringPtrOutput) @@ -5325,6 +6178,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrOutput) ToGoogleC return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaPtrOutput) Elem() GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema) GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema { if v != nil { @@ -5366,6 +6225,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaResponseOutput) ToGo return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Protocol buffer source of the schema. func (o GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaResponseOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchemaResponse) string { return v.Text }).(pulumi.StringOutput) @@ -5402,6 +6267,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaResponseOutput) ToGoogleCloudDatac return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Schema in Avro JSON format. func (o GoogleCloudDatacatalogV1PhysicalSchemaResponseOutput) Avro() GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1PhysicalSchemaResponse) GoogleCloudDatacatalogV1PhysicalSchemaAvroSchemaResponse { @@ -5479,6 +6350,12 @@ func (i GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaArgs) ToGoogleCloudDat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaOutput) } +func (i GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaArgs) ToGoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrOutput() GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrOutput { return i.ToGoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrOutputWithContext(context.Background()) } @@ -5520,6 +6397,12 @@ func (i *googleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrOutput) } +func (i *googleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrOutputWithContext(ctx).OutputState, + } +} + // Schema in Thrift format. type GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaOutput struct{ *pulumi.OutputState } @@ -5545,6 +6428,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaOutput) ToGoogleCloudD }).(GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrOutput) } +func (o GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema]{ + OutputState: o.OutputState, + } +} + // Thrift IDL source of the schema. func (o GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaOutput) Text() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema) *string { return v.Text }).(pulumi.StringPtrOutput) @@ -5564,6 +6453,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema] { + return pulumix.Output[*GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaPtrOutput) Elem() GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema) GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema { if v != nil { @@ -5605,6 +6500,12 @@ func (o GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaResponseOutput) ToGoog return o } +func (o GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Thrift IDL source of the schema. func (o GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaResponseOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1PhysicalSchemaThriftSchemaResponse) string { return v.Text }).(pulumi.StringOutput) @@ -5665,6 +6566,12 @@ func (i GoogleCloudDatacatalogV1RoutineSpecArgs) ToGoogleCloudDatacatalogV1Routi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1RoutineSpecOutput) } +func (i GoogleCloudDatacatalogV1RoutineSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1RoutineSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1RoutineSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1RoutineSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1RoutineSpecArgs) ToGoogleCloudDatacatalogV1RoutineSpecPtrOutput() GoogleCloudDatacatalogV1RoutineSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1RoutineSpecPtrOutputWithContext(context.Background()) } @@ -5706,6 +6613,12 @@ func (i *googleCloudDatacatalogV1RoutineSpecPtrType) ToGoogleCloudDatacatalogV1R return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1RoutineSpecPtrOutput) } +func (i *googleCloudDatacatalogV1RoutineSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1RoutineSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification that applies to a routine. Valid only for entries with the `ROUTINE` type. type GoogleCloudDatacatalogV1RoutineSpecOutput struct{ *pulumi.OutputState } @@ -5731,6 +6644,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecOutput) ToGoogleCloudDatacatalogV1Rou }).(GoogleCloudDatacatalogV1RoutineSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1RoutineSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1RoutineSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1RoutineSpec]{ + OutputState: o.OutputState, + } +} + // Fields specific for BigQuery routines. func (o GoogleCloudDatacatalogV1RoutineSpecOutput) BigqueryRoutineSpec() GoogleCloudDatacatalogV1BigQueryRoutineSpecPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1RoutineSpec) *GoogleCloudDatacatalogV1BigQueryRoutineSpec { @@ -5781,6 +6700,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecPtrOutput) ToGoogleCloudDatacatalogV1 return o } +func (o GoogleCloudDatacatalogV1RoutineSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1RoutineSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1RoutineSpecPtrOutput) Elem() GoogleCloudDatacatalogV1RoutineSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1RoutineSpec) GoogleCloudDatacatalogV1RoutineSpec { if v != nil { @@ -5894,6 +6819,12 @@ func (i GoogleCloudDatacatalogV1RoutineSpecArgumentArgs) ToGoogleCloudDatacatalo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1RoutineSpecArgumentOutput) } +func (i GoogleCloudDatacatalogV1RoutineSpecArgumentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecArgument] { + return pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecArgument]{ + OutputState: i.ToGoogleCloudDatacatalogV1RoutineSpecArgumentOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDatacatalogV1RoutineSpecArgumentArrayInput is an input type that accepts GoogleCloudDatacatalogV1RoutineSpecArgumentArray and GoogleCloudDatacatalogV1RoutineSpecArgumentArrayOutput values. // You can construct a concrete instance of `GoogleCloudDatacatalogV1RoutineSpecArgumentArrayInput` via: // @@ -5919,6 +6850,12 @@ func (i GoogleCloudDatacatalogV1RoutineSpecArgumentArray) ToGoogleCloudDatacatal return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1RoutineSpecArgumentArrayOutput) } +func (i GoogleCloudDatacatalogV1RoutineSpecArgumentArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1RoutineSpecArgument] { + return pulumix.Output[[]GoogleCloudDatacatalogV1RoutineSpecArgument]{ + OutputState: i.ToGoogleCloudDatacatalogV1RoutineSpecArgumentArrayOutputWithContext(ctx).OutputState, + } +} + // Input or output argument of a function or stored procedure. type GoogleCloudDatacatalogV1RoutineSpecArgumentOutput struct{ *pulumi.OutputState } @@ -5934,6 +6871,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecArgumentOutput) ToGoogleCloudDatacata return o } +func (o GoogleCloudDatacatalogV1RoutineSpecArgumentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecArgument] { + return pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecArgument]{ + OutputState: o.OutputState, + } +} + // Specifies whether the argument is input or output. func (o GoogleCloudDatacatalogV1RoutineSpecArgumentOutput) Mode() GoogleCloudDatacatalogV1RoutineSpecArgumentModePtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1RoutineSpecArgument) *GoogleCloudDatacatalogV1RoutineSpecArgumentMode { @@ -5965,6 +6908,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecArgumentArrayOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDatacatalogV1RoutineSpecArgumentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1RoutineSpecArgument] { + return pulumix.Output[[]GoogleCloudDatacatalogV1RoutineSpecArgument]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1RoutineSpecArgumentArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1RoutineSpecArgumentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1RoutineSpecArgument { return vs[0].([]GoogleCloudDatacatalogV1RoutineSpecArgument)[vs[1].(int)] @@ -5996,6 +6945,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecArgumentResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDatacatalogV1RoutineSpecArgumentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecArgumentResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecArgumentResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether the argument is input or output. func (o GoogleCloudDatacatalogV1RoutineSpecArgumentResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1RoutineSpecArgumentResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -6025,6 +6980,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecArgumentResponseArrayOutput) ToGoogle return o } +func (o GoogleCloudDatacatalogV1RoutineSpecArgumentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1RoutineSpecArgumentResponse] { + return pulumix.Output[[]GoogleCloudDatacatalogV1RoutineSpecArgumentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1RoutineSpecArgumentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1RoutineSpecArgumentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1RoutineSpecArgumentResponse { return vs[0].([]GoogleCloudDatacatalogV1RoutineSpecArgumentResponse)[vs[1].(int)] @@ -6062,6 +7023,12 @@ func (o GoogleCloudDatacatalogV1RoutineSpecResponseOutput) ToGoogleCloudDatacata return o } +func (o GoogleCloudDatacatalogV1RoutineSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1RoutineSpecResponse]{ + OutputState: o.OutputState, + } +} + // Fields specific for BigQuery routines. func (o GoogleCloudDatacatalogV1RoutineSpecResponseOutput) BigqueryRoutineSpec() GoogleCloudDatacatalogV1BigQueryRoutineSpecResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1RoutineSpecResponse) GoogleCloudDatacatalogV1BigQueryRoutineSpecResponse { @@ -6131,6 +7098,12 @@ func (i GoogleCloudDatacatalogV1SchemaArgs) ToGoogleCloudDatacatalogV1SchemaOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1SchemaOutput) } +func (i GoogleCloudDatacatalogV1SchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1Schema] { + return pulumix.Output[GoogleCloudDatacatalogV1Schema]{ + OutputState: i.ToGoogleCloudDatacatalogV1SchemaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1SchemaArgs) ToGoogleCloudDatacatalogV1SchemaPtrOutput() GoogleCloudDatacatalogV1SchemaPtrOutput { return i.ToGoogleCloudDatacatalogV1SchemaPtrOutputWithContext(context.Background()) } @@ -6172,6 +7145,12 @@ func (i *googleCloudDatacatalogV1SchemaPtrType) ToGoogleCloudDatacatalogV1Schema return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1SchemaPtrOutput) } +func (i *googleCloudDatacatalogV1SchemaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1Schema] { + return pulumix.Output[*GoogleCloudDatacatalogV1Schema]{ + OutputState: i.ToGoogleCloudDatacatalogV1SchemaPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema. type GoogleCloudDatacatalogV1SchemaOutput struct{ *pulumi.OutputState } @@ -6197,6 +7176,12 @@ func (o GoogleCloudDatacatalogV1SchemaOutput) ToGoogleCloudDatacatalogV1SchemaPt }).(GoogleCloudDatacatalogV1SchemaPtrOutput) } +func (o GoogleCloudDatacatalogV1SchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1Schema] { + return pulumix.Output[GoogleCloudDatacatalogV1Schema]{ + OutputState: o.OutputState, + } +} + // The unified GoogleSQL-like schema of columns. The overall maximum number of columns and nested columns is 10,000. The maximum nested depth is 15 levels. func (o GoogleCloudDatacatalogV1SchemaOutput) Columns() GoogleCloudDatacatalogV1ColumnSchemaArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1Schema) []GoogleCloudDatacatalogV1ColumnSchema { return v.Columns }).(GoogleCloudDatacatalogV1ColumnSchemaArrayOutput) @@ -6216,6 +7201,12 @@ func (o GoogleCloudDatacatalogV1SchemaPtrOutput) ToGoogleCloudDatacatalogV1Schem return o } +func (o GoogleCloudDatacatalogV1SchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1Schema] { + return pulumix.Output[*GoogleCloudDatacatalogV1Schema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1SchemaPtrOutput) Elem() GoogleCloudDatacatalogV1SchemaOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1Schema) GoogleCloudDatacatalogV1Schema { if v != nil { @@ -6257,6 +7248,12 @@ func (o GoogleCloudDatacatalogV1SchemaResponseOutput) ToGoogleCloudDatacatalogV1 return o } +func (o GoogleCloudDatacatalogV1SchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1SchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1SchemaResponse]{ + OutputState: o.OutputState, + } +} + // The unified GoogleSQL-like schema of columns. The overall maximum number of columns and nested columns is 10,000. The maximum nested depth is 15 levels. func (o GoogleCloudDatacatalogV1SchemaResponseOutput) Columns() GoogleCloudDatacatalogV1ColumnSchemaResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1SchemaResponse) []GoogleCloudDatacatalogV1ColumnSchemaResponse { @@ -6299,6 +7296,12 @@ func (i GoogleCloudDatacatalogV1ServiceSpecArgs) ToGoogleCloudDatacatalogV1Servi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1ServiceSpecOutput) } +func (i GoogleCloudDatacatalogV1ServiceSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ServiceSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1ServiceSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1ServiceSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1ServiceSpecArgs) ToGoogleCloudDatacatalogV1ServiceSpecPtrOutput() GoogleCloudDatacatalogV1ServiceSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1ServiceSpecPtrOutputWithContext(context.Background()) } @@ -6340,6 +7343,12 @@ func (i *googleCloudDatacatalogV1ServiceSpecPtrType) ToGoogleCloudDatacatalogV1S return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1ServiceSpecPtrOutput) } +func (i *googleCloudDatacatalogV1ServiceSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1ServiceSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1ServiceSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1ServiceSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification that applies to a Service resource. Valid only for entries with the `SERVICE` type. type GoogleCloudDatacatalogV1ServiceSpecOutput struct{ *pulumi.OutputState } @@ -6365,6 +7374,12 @@ func (o GoogleCloudDatacatalogV1ServiceSpecOutput) ToGoogleCloudDatacatalogV1Ser }).(GoogleCloudDatacatalogV1ServiceSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1ServiceSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ServiceSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1ServiceSpec]{ + OutputState: o.OutputState, + } +} + // Specification that applies to Instance entries of `CLOUD_BIGTABLE` system. func (o GoogleCloudDatacatalogV1ServiceSpecOutput) CloudBigtableInstanceSpec() GoogleCloudDatacatalogV1CloudBigtableInstanceSpecPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1ServiceSpec) *GoogleCloudDatacatalogV1CloudBigtableInstanceSpec { @@ -6386,6 +7401,12 @@ func (o GoogleCloudDatacatalogV1ServiceSpecPtrOutput) ToGoogleCloudDatacatalogV1 return o } +func (o GoogleCloudDatacatalogV1ServiceSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1ServiceSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1ServiceSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1ServiceSpecPtrOutput) Elem() GoogleCloudDatacatalogV1ServiceSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1ServiceSpec) GoogleCloudDatacatalogV1ServiceSpec { if v != nil { @@ -6427,6 +7448,12 @@ func (o GoogleCloudDatacatalogV1ServiceSpecResponseOutput) ToGoogleCloudDatacata return o } +func (o GoogleCloudDatacatalogV1ServiceSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ServiceSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1ServiceSpecResponse]{ + OutputState: o.OutputState, + } +} + // Specification that applies to Instance entries of `CLOUD_BIGTABLE` system. func (o GoogleCloudDatacatalogV1ServiceSpecResponseOutput) CloudBigtableInstanceSpec() GoogleCloudDatacatalogV1CloudBigtableInstanceSpecResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1ServiceSpecResponse) GoogleCloudDatacatalogV1CloudBigtableInstanceSpecResponse { @@ -6477,6 +7504,12 @@ func (i GoogleCloudDatacatalogV1SqlDatabaseSystemSpecArgs) ToGoogleCloudDatacata return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1SqlDatabaseSystemSpecOutput) } +func (i GoogleCloudDatacatalogV1SqlDatabaseSystemSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1SqlDatabaseSystemSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1SqlDatabaseSystemSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1SqlDatabaseSystemSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1SqlDatabaseSystemSpecArgs) ToGoogleCloudDatacatalogV1SqlDatabaseSystemSpecPtrOutput() GoogleCloudDatacatalogV1SqlDatabaseSystemSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1SqlDatabaseSystemSpecPtrOutputWithContext(context.Background()) } @@ -6518,6 +7551,12 @@ func (i *googleCloudDatacatalogV1SqlDatabaseSystemSpecPtrType) ToGoogleCloudData return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1SqlDatabaseSystemSpecPtrOutput) } +func (i *googleCloudDatacatalogV1SqlDatabaseSystemSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1SqlDatabaseSystemSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1SqlDatabaseSystemSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1SqlDatabaseSystemSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification that applies to entries that are part `SQL_DATABASE` system (user_specified_type) type GoogleCloudDatacatalogV1SqlDatabaseSystemSpecOutput struct{ *pulumi.OutputState } @@ -6543,6 +7582,12 @@ func (o GoogleCloudDatacatalogV1SqlDatabaseSystemSpecOutput) ToGoogleCloudDataca }).(GoogleCloudDatacatalogV1SqlDatabaseSystemSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1SqlDatabaseSystemSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1SqlDatabaseSystemSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1SqlDatabaseSystemSpec]{ + OutputState: o.OutputState, + } +} + // Version of the database engine. func (o GoogleCloudDatacatalogV1SqlDatabaseSystemSpecOutput) DatabaseVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1SqlDatabaseSystemSpec) *string { return v.DatabaseVersion }).(pulumi.StringPtrOutput) @@ -6572,6 +7617,12 @@ func (o GoogleCloudDatacatalogV1SqlDatabaseSystemSpecPtrOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDatacatalogV1SqlDatabaseSystemSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1SqlDatabaseSystemSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1SqlDatabaseSystemSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1SqlDatabaseSystemSpecPtrOutput) Elem() GoogleCloudDatacatalogV1SqlDatabaseSystemSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1SqlDatabaseSystemSpec) GoogleCloudDatacatalogV1SqlDatabaseSystemSpec { if v != nil { @@ -6637,6 +7688,12 @@ func (o GoogleCloudDatacatalogV1SqlDatabaseSystemSpecResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDatacatalogV1SqlDatabaseSystemSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1SqlDatabaseSystemSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1SqlDatabaseSystemSpecResponse]{ + OutputState: o.OutputState, + } +} + // Version of the database engine. func (o GoogleCloudDatacatalogV1SqlDatabaseSystemSpecResponseOutput) DatabaseVersion() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1SqlDatabaseSystemSpecResponse) string { return v.DatabaseVersion }).(pulumi.StringOutput) @@ -6675,6 +7732,12 @@ func (o GoogleCloudDatacatalogV1StoragePropertiesResponseOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatacatalogV1StoragePropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1StoragePropertiesResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1StoragePropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Patterns to identify a set of files for this fileset. Examples of a valid `file_pattern`: * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir` and all subdirectories recursively * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` func (o GoogleCloudDatacatalogV1StoragePropertiesResponseOutput) FilePattern() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1StoragePropertiesResponse) []string { return v.FilePattern }).(pulumi.StringArrayOutput) @@ -6724,6 +7787,12 @@ func (i GoogleCloudDatacatalogV1SystemTimestampsArgs) ToGoogleCloudDatacatalogV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1SystemTimestampsOutput) } +func (i GoogleCloudDatacatalogV1SystemTimestampsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1SystemTimestamps] { + return pulumix.Output[GoogleCloudDatacatalogV1SystemTimestamps]{ + OutputState: i.ToGoogleCloudDatacatalogV1SystemTimestampsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1SystemTimestampsArgs) ToGoogleCloudDatacatalogV1SystemTimestampsPtrOutput() GoogleCloudDatacatalogV1SystemTimestampsPtrOutput { return i.ToGoogleCloudDatacatalogV1SystemTimestampsPtrOutputWithContext(context.Background()) } @@ -6765,6 +7834,12 @@ func (i *googleCloudDatacatalogV1SystemTimestampsPtrType) ToGoogleCloudDatacatal return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1SystemTimestampsPtrOutput) } +func (i *googleCloudDatacatalogV1SystemTimestampsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1SystemTimestamps] { + return pulumix.Output[*GoogleCloudDatacatalogV1SystemTimestamps]{ + OutputState: i.ToGoogleCloudDatacatalogV1SystemTimestampsPtrOutputWithContext(ctx).OutputState, + } +} + // Timestamps associated with this resource in a particular system. type GoogleCloudDatacatalogV1SystemTimestampsOutput struct{ *pulumi.OutputState } @@ -6790,6 +7865,12 @@ func (o GoogleCloudDatacatalogV1SystemTimestampsOutput) ToGoogleCloudDatacatalog }).(GoogleCloudDatacatalogV1SystemTimestampsPtrOutput) } +func (o GoogleCloudDatacatalogV1SystemTimestampsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1SystemTimestamps] { + return pulumix.Output[GoogleCloudDatacatalogV1SystemTimestamps]{ + OutputState: o.OutputState, + } +} + // Creation timestamp of the resource within the given system. func (o GoogleCloudDatacatalogV1SystemTimestampsOutput) CreateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1SystemTimestamps) *string { return v.CreateTime }).(pulumi.StringPtrOutput) @@ -6814,6 +7895,12 @@ func (o GoogleCloudDatacatalogV1SystemTimestampsPtrOutput) ToGoogleCloudDatacata return o } +func (o GoogleCloudDatacatalogV1SystemTimestampsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1SystemTimestamps] { + return pulumix.Output[*GoogleCloudDatacatalogV1SystemTimestamps]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1SystemTimestampsPtrOutput) Elem() GoogleCloudDatacatalogV1SystemTimestampsOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1SystemTimestamps) GoogleCloudDatacatalogV1SystemTimestamps { if v != nil { @@ -6869,6 +7956,12 @@ func (o GoogleCloudDatacatalogV1SystemTimestampsResponseOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDatacatalogV1SystemTimestampsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1SystemTimestampsResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1SystemTimestampsResponse]{ + OutputState: o.OutputState, + } +} + // Creation timestamp of the resource within the given system. func (o GoogleCloudDatacatalogV1SystemTimestampsResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1SystemTimestampsResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -6905,6 +7998,12 @@ func (o GoogleCloudDatacatalogV1TableSpecResponseOutput) ToGoogleCloudDatacatalo return o } +func (o GoogleCloudDatacatalogV1TableSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1TableSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1TableSpecResponse]{ + OutputState: o.OutputState, + } +} + // If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource name of the date-sharded grouped entry. For example: `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`. Otherwise, `grouped_entry` is empty. func (o GoogleCloudDatacatalogV1TableSpecResponseOutput) GroupedEntry() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1TableSpecResponse) string { return v.GroupedEntry }).(pulumi.StringOutput) @@ -6933,6 +8032,12 @@ func (o GoogleCloudDatacatalogV1TaxonomyServiceResponseOutput) ToGoogleCloudData return o } +func (o GoogleCloudDatacatalogV1TaxonomyServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1TaxonomyServiceResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1TaxonomyServiceResponse]{ + OutputState: o.OutputState, + } +} + // The service agent for the service. func (o GoogleCloudDatacatalogV1TaxonomyServiceResponseOutput) Identity() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1TaxonomyServiceResponse) string { return v.Identity }).(pulumi.StringOutput) @@ -6986,6 +8091,12 @@ func (i GoogleCloudDatacatalogV1UsageSignalArgs) ToGoogleCloudDatacatalogV1Usage return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1UsageSignalOutput) } +func (i GoogleCloudDatacatalogV1UsageSignalArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1UsageSignal] { + return pulumix.Output[GoogleCloudDatacatalogV1UsageSignal]{ + OutputState: i.ToGoogleCloudDatacatalogV1UsageSignalOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1UsageSignalArgs) ToGoogleCloudDatacatalogV1UsageSignalPtrOutput() GoogleCloudDatacatalogV1UsageSignalPtrOutput { return i.ToGoogleCloudDatacatalogV1UsageSignalPtrOutputWithContext(context.Background()) } @@ -7027,6 +8138,12 @@ func (i *googleCloudDatacatalogV1UsageSignalPtrType) ToGoogleCloudDatacatalogV1U return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1UsageSignalPtrOutput) } +func (i *googleCloudDatacatalogV1UsageSignalPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1UsageSignal] { + return pulumix.Output[*GoogleCloudDatacatalogV1UsageSignal]{ + OutputState: i.ToGoogleCloudDatacatalogV1UsageSignalPtrOutputWithContext(ctx).OutputState, + } +} + // The set of all usage signals that Data Catalog stores. Note: Usually, these signals are updated daily. In rare cases, an update may fail but will be performed again on the next day. type GoogleCloudDatacatalogV1UsageSignalOutput struct{ *pulumi.OutputState } @@ -7052,6 +8169,12 @@ func (o GoogleCloudDatacatalogV1UsageSignalOutput) ToGoogleCloudDatacatalogV1Usa }).(GoogleCloudDatacatalogV1UsageSignalPtrOutput) } +func (o GoogleCloudDatacatalogV1UsageSignalOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1UsageSignal] { + return pulumix.Output[GoogleCloudDatacatalogV1UsageSignal]{ + OutputState: o.OutputState, + } +} + // Common usage statistics over each of the predefined time ranges. Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`. func (o GoogleCloudDatacatalogV1UsageSignalOutput) CommonUsageWithinTimeRange() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1UsageSignal) map[string]string { return v.CommonUsageWithinTimeRange }).(pulumi.StringMapOutput) @@ -7081,6 +8204,12 @@ func (o GoogleCloudDatacatalogV1UsageSignalPtrOutput) ToGoogleCloudDatacatalogV1 return o } +func (o GoogleCloudDatacatalogV1UsageSignalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1UsageSignal] { + return pulumix.Output[*GoogleCloudDatacatalogV1UsageSignal]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1UsageSignalPtrOutput) Elem() GoogleCloudDatacatalogV1UsageSignalOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1UsageSignal) GoogleCloudDatacatalogV1UsageSignal { if v != nil { @@ -7148,6 +8277,12 @@ func (o GoogleCloudDatacatalogV1UsageSignalResponseOutput) ToGoogleCloudDatacata return o } +func (o GoogleCloudDatacatalogV1UsageSignalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1UsageSignalResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1UsageSignalResponse]{ + OutputState: o.OutputState, + } +} + // Common usage statistics over each of the predefined time ranges. Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`. func (o GoogleCloudDatacatalogV1UsageSignalResponseOutput) CommonUsageWithinTimeRange() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1UsageSignalResponse) map[string]string { @@ -7191,6 +8326,12 @@ func (o GoogleCloudDatacatalogV1ViewSpecResponseOutput) ToGoogleCloudDatacatalog return o } +func (o GoogleCloudDatacatalogV1ViewSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1ViewSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1ViewSpecResponse]{ + OutputState: o.OutputState, + } +} + // The query that defines the table view. func (o GoogleCloudDatacatalogV1ViewSpecResponseOutput) ViewQuery() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1ViewSpecResponse) string { return v.ViewQuery }).(pulumi.StringOutput) diff --git a/sdk/go/google/datacatalog/v1/tagTemplate.go b/sdk/go/google/datacatalog/v1/tagTemplate.go index 9886d93706..b4448d4f30 100644 --- a/sdk/go/google/datacatalog/v1/tagTemplate.go +++ b/sdk/go/google/datacatalog/v1/tagTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a tag template. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see [Data Catalog resource project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project). @@ -135,6 +136,12 @@ func (i *TagTemplate) ToTagTemplateOutputWithContext(ctx context.Context) TagTem return pulumi.ToOutputWithContext(ctx, i).(TagTemplateOutput) } +func (i *TagTemplate) ToOutput(ctx context.Context) pulumix.Output[*TagTemplate] { + return pulumix.Output[*TagTemplate]{ + OutputState: i.ToTagTemplateOutputWithContext(ctx).OutputState, + } +} + type TagTemplateOutput struct{ *pulumi.OutputState } func (TagTemplateOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TagTemplateOutput) ToTagTemplateOutputWithContext(ctx context.Context) T return o } +func (o TagTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*TagTemplate] { + return pulumix.Output[*TagTemplate]{ + OutputState: o.OutputState, + } +} + // Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters. func (o TagTemplateOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *TagTemplate) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/datacatalog/v1/tagTemplateIamBinding.go b/sdk/go/google/datacatalog/v1/tagTemplateIamBinding.go index 521cc068f3..9517d2210c 100644 --- a/sdk/go/google/datacatalog/v1/tagTemplateIamBinding.go +++ b/sdk/go/google/datacatalog/v1/tagTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates - Entry groups Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -135,6 +136,12 @@ func (i *TagTemplateIamBinding) ToTagTemplateIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(TagTemplateIamBindingOutput) } +func (i *TagTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamBinding] { + return pulumix.Output[*TagTemplateIamBinding]{ + OutputState: i.ToTagTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type TagTemplateIamBindingOutput struct{ *pulumi.OutputState } func (TagTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TagTemplateIamBindingOutput) ToTagTemplateIamBindingOutputWithContext(ct return o } +func (o TagTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamBinding] { + return pulumix.Output[*TagTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TagTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TagTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1/tagTemplateIamMember.go b/sdk/go/google/datacatalog/v1/tagTemplateIamMember.go index b1f0866964..01e4d16a93 100644 --- a/sdk/go/google/datacatalog/v1/tagTemplateIamMember.go +++ b/sdk/go/google/datacatalog/v1/tagTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates - Entry groups Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -135,6 +136,12 @@ func (i *TagTemplateIamMember) ToTagTemplateIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TagTemplateIamMemberOutput) } +func (i *TagTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamMember] { + return pulumix.Output[*TagTemplateIamMember]{ + OutputState: i.ToTagTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type TagTemplateIamMemberOutput struct{ *pulumi.OutputState } func (TagTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TagTemplateIamMemberOutput) ToTagTemplateIamMemberOutputWithContext(ctx return o } +func (o TagTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamMember] { + return pulumix.Output[*TagTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TagTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TagTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1/tagTemplateIamPolicy.go b/sdk/go/google/datacatalog/v1/tagTemplateIamPolicy.go index d89f3be32c..7aa0782972 100644 --- a/sdk/go/google/datacatalog/v1/tagTemplateIamPolicy.go +++ b/sdk/go/google/datacatalog/v1/tagTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates - Entry groups Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -125,6 +126,12 @@ func (i *TagTemplateIamPolicy) ToTagTemplateIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TagTemplateIamPolicyOutput) } +func (i *TagTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamPolicy] { + return pulumix.Output[*TagTemplateIamPolicy]{ + OutputState: i.ToTagTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TagTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (TagTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o TagTemplateIamPolicyOutput) ToTagTemplateIamPolicyOutputWithContext(ctx return o } +func (o TagTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamPolicy] { + return pulumix.Output[*TagTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o TagTemplateIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *TagTemplateIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/taxonomy.go b/sdk/go/google/datacatalog/v1/taxonomy.go index 85c19df83a..016fc6fb65 100644 --- a/sdk/go/google/datacatalog/v1/taxonomy.go +++ b/sdk/go/google/datacatalog/v1/taxonomy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a taxonomy in a specified project. The taxonomy is initially empty, that is, it doesn't contain policy tags. @@ -128,6 +129,12 @@ func (i *Taxonomy) ToTaxonomyOutputWithContext(ctx context.Context) TaxonomyOutp return pulumi.ToOutputWithContext(ctx, i).(TaxonomyOutput) } +func (i *Taxonomy) ToOutput(ctx context.Context) pulumix.Output[*Taxonomy] { + return pulumix.Output[*Taxonomy]{ + OutputState: i.ToTaxonomyOutputWithContext(ctx).OutputState, + } +} + type TaxonomyOutput struct{ *pulumi.OutputState } func (TaxonomyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o TaxonomyOutput) ToTaxonomyOutputWithContext(ctx context.Context) Taxonom return o } +func (o TaxonomyOutput) ToOutput(ctx context.Context) pulumix.Output[*Taxonomy] { + return pulumix.Output[*Taxonomy]{ + OutputState: o.OutputState, + } +} + // Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. func (o TaxonomyOutput) ActivatedPolicyTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v *Taxonomy) pulumi.StringArrayOutput { return v.ActivatedPolicyTypes }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/taxonomyIamBinding.go b/sdk/go/google/datacatalog/v1/taxonomyIamBinding.go index 38185bf13c..b66900ffed 100644 --- a/sdk/go/google/datacatalog/v1/taxonomyIamBinding.go +++ b/sdk/go/google/datacatalog/v1/taxonomyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a policy tag or a taxonomy. @@ -135,6 +136,12 @@ func (i *TaxonomyIamBinding) ToTaxonomyIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(TaxonomyIamBindingOutput) } +func (i *TaxonomyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamBinding] { + return pulumix.Output[*TaxonomyIamBinding]{ + OutputState: i.ToTaxonomyIamBindingOutputWithContext(ctx).OutputState, + } +} + type TaxonomyIamBindingOutput struct{ *pulumi.OutputState } func (TaxonomyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TaxonomyIamBindingOutput) ToTaxonomyIamBindingOutputWithContext(ctx cont return o } +func (o TaxonomyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamBinding] { + return pulumix.Output[*TaxonomyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TaxonomyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TaxonomyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1/taxonomyIamMember.go b/sdk/go/google/datacatalog/v1/taxonomyIamMember.go index 891b022624..dcf3360007 100644 --- a/sdk/go/google/datacatalog/v1/taxonomyIamMember.go +++ b/sdk/go/google/datacatalog/v1/taxonomyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a policy tag or a taxonomy. @@ -135,6 +136,12 @@ func (i *TaxonomyIamMember) ToTaxonomyIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(TaxonomyIamMemberOutput) } +func (i *TaxonomyIamMember) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamMember] { + return pulumix.Output[*TaxonomyIamMember]{ + OutputState: i.ToTaxonomyIamMemberOutputWithContext(ctx).OutputState, + } +} + type TaxonomyIamMemberOutput struct{ *pulumi.OutputState } func (TaxonomyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TaxonomyIamMemberOutput) ToTaxonomyIamMemberOutputWithContext(ctx contex return o } +func (o TaxonomyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamMember] { + return pulumix.Output[*TaxonomyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TaxonomyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TaxonomyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1/taxonomyIamPolicy.go b/sdk/go/google/datacatalog/v1/taxonomyIamPolicy.go index 42a11718d9..22421443e8 100644 --- a/sdk/go/google/datacatalog/v1/taxonomyIamPolicy.go +++ b/sdk/go/google/datacatalog/v1/taxonomyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a policy tag or a taxonomy. @@ -125,6 +126,12 @@ func (i *TaxonomyIamPolicy) ToTaxonomyIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(TaxonomyIamPolicyOutput) } +func (i *TaxonomyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamPolicy] { + return pulumix.Output[*TaxonomyIamPolicy]{ + OutputState: i.ToTaxonomyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TaxonomyIamPolicyOutput struct{ *pulumi.OutputState } func (TaxonomyIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o TaxonomyIamPolicyOutput) ToTaxonomyIamPolicyOutputWithContext(ctx contex return o } +func (o TaxonomyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamPolicy] { + return pulumix.Output[*TaxonomyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o TaxonomyIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *TaxonomyIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamBinding.go b/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamBinding.go index 5da3422a68..d10f2f38b2 100644 --- a/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamBinding.go +++ b/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a policy tag or a taxonomy. @@ -135,6 +136,12 @@ func (i *TaxonomyPolicyTagIamBinding) ToTaxonomyPolicyTagIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(TaxonomyPolicyTagIamBindingOutput) } +func (i *TaxonomyPolicyTagIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamBinding] { + return pulumix.Output[*TaxonomyPolicyTagIamBinding]{ + OutputState: i.ToTaxonomyPolicyTagIamBindingOutputWithContext(ctx).OutputState, + } +} + type TaxonomyPolicyTagIamBindingOutput struct{ *pulumi.OutputState } func (TaxonomyPolicyTagIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TaxonomyPolicyTagIamBindingOutput) ToTaxonomyPolicyTagIamBindingOutputWi return o } +func (o TaxonomyPolicyTagIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamBinding] { + return pulumix.Output[*TaxonomyPolicyTagIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TaxonomyPolicyTagIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TaxonomyPolicyTagIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamMember.go b/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamMember.go index 24bf6d98bb..189595661e 100644 --- a/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamMember.go +++ b/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a policy tag or a taxonomy. @@ -135,6 +136,12 @@ func (i *TaxonomyPolicyTagIamMember) ToTaxonomyPolicyTagIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(TaxonomyPolicyTagIamMemberOutput) } +func (i *TaxonomyPolicyTagIamMember) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamMember] { + return pulumix.Output[*TaxonomyPolicyTagIamMember]{ + OutputState: i.ToTaxonomyPolicyTagIamMemberOutputWithContext(ctx).OutputState, + } +} + type TaxonomyPolicyTagIamMemberOutput struct{ *pulumi.OutputState } func (TaxonomyPolicyTagIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TaxonomyPolicyTagIamMemberOutput) ToTaxonomyPolicyTagIamMemberOutputWith return o } +func (o TaxonomyPolicyTagIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamMember] { + return pulumix.Output[*TaxonomyPolicyTagIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TaxonomyPolicyTagIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TaxonomyPolicyTagIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamPolicy.go b/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamPolicy.go index aab13229d4..e410db83f0 100644 --- a/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamPolicy.go +++ b/sdk/go/google/datacatalog/v1/taxonomyPolicyTagIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a policy tag or a taxonomy. @@ -132,6 +133,12 @@ func (i *TaxonomyPolicyTagIamPolicy) ToTaxonomyPolicyTagIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(TaxonomyPolicyTagIamPolicyOutput) } +func (i *TaxonomyPolicyTagIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamPolicy] { + return pulumix.Output[*TaxonomyPolicyTagIamPolicy]{ + OutputState: i.ToTaxonomyPolicyTagIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TaxonomyPolicyTagIamPolicyOutput struct{ *pulumi.OutputState } func (TaxonomyPolicyTagIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o TaxonomyPolicyTagIamPolicyOutput) ToTaxonomyPolicyTagIamPolicyOutputWith return o } +func (o TaxonomyPolicyTagIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamPolicy] { + return pulumix.Output[*TaxonomyPolicyTagIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o TaxonomyPolicyTagIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *TaxonomyPolicyTagIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/entry.go b/sdk/go/google/datacatalog/v1beta1/entry.go index 767a1e3ffb..c2ecd4723c 100644 --- a/sdk/go/google/datacatalog/v1beta1/entry.go +++ b/sdk/go/google/datacatalog/v1beta1/entry.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an entry. Only entries of 'FILESET' type or user-specified type can be created. Users should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). A maximum of 100,000 entries may be created per entry group. @@ -184,6 +185,12 @@ func (i *Entry) ToEntryOutputWithContext(ctx context.Context) EntryOutput { return pulumi.ToOutputWithContext(ctx, i).(EntryOutput) } +func (i *Entry) ToOutput(ctx context.Context) pulumix.Output[*Entry] { + return pulumix.Output[*Entry]{ + OutputState: i.ToEntryOutputWithContext(ctx).OutputState, + } +} + type EntryOutput struct{ *pulumi.OutputState } func (EntryOutput) ElementType() reflect.Type { @@ -198,6 +205,12 @@ func (o EntryOutput) ToEntryOutputWithContext(ctx context.Context) EntryOutput { return o } +func (o EntryOutput) ToOutput(ctx context.Context) pulumix.Output[*Entry] { + return pulumix.Output[*Entry]{ + OutputState: o.OutputState, + } +} + // Specification for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding. func (o EntryOutput) BigqueryDateShardedSpec() GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecResponseOutput { return o.ApplyT(func(v *Entry) GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecResponseOutput { diff --git a/sdk/go/google/datacatalog/v1beta1/entryGroup.go b/sdk/go/google/datacatalog/v1beta1/entryGroup.go index 5ce42b80c8..7888dd5aee 100644 --- a/sdk/go/google/datacatalog/v1beta1/entryGroup.go +++ b/sdk/go/google/datacatalog/v1beta1/entryGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // A maximum of 10,000 entry groups may be created per organization across all locations. Users should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). @@ -128,6 +129,12 @@ func (i *EntryGroup) ToEntryGroupOutputWithContext(ctx context.Context) EntryGro return pulumi.ToOutputWithContext(ctx, i).(EntryGroupOutput) } +func (i *EntryGroup) ToOutput(ctx context.Context) pulumix.Output[*EntryGroup] { + return pulumix.Output[*EntryGroup]{ + OutputState: i.ToEntryGroupOutputWithContext(ctx).OutputState, + } +} + type EntryGroupOutput struct{ *pulumi.OutputState } func (EntryGroupOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o EntryGroupOutput) ToEntryGroupOutputWithContext(ctx context.Context) Ent return o } +func (o EntryGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroup] { + return pulumix.Output[*EntryGroup]{ + OutputState: o.OutputState, + } +} + // Timestamps about this EntryGroup. Default value is empty timestamps. func (o EntryGroupOutput) DataCatalogTimestamps() GoogleCloudDatacatalogV1beta1SystemTimestampsResponseOutput { return o.ApplyT(func(v *EntryGroup) GoogleCloudDatacatalogV1beta1SystemTimestampsResponseOutput { diff --git a/sdk/go/google/datacatalog/v1beta1/entryGroupIamBinding.go b/sdk/go/google/datacatalog/v1beta1/entryGroupIamBinding.go index 21ee41f8fa..c802dd02e1 100644 --- a/sdk/go/google/datacatalog/v1beta1/entryGroupIamBinding.go +++ b/sdk/go/google/datacatalog/v1beta1/entryGroupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -135,6 +136,12 @@ func (i *EntryGroupIamBinding) ToEntryGroupIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(EntryGroupIamBindingOutput) } +func (i *EntryGroupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamBinding] { + return pulumix.Output[*EntryGroupIamBinding]{ + OutputState: i.ToEntryGroupIamBindingOutputWithContext(ctx).OutputState, + } +} + type EntryGroupIamBindingOutput struct{ *pulumi.OutputState } func (EntryGroupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EntryGroupIamBindingOutput) ToEntryGroupIamBindingOutputWithContext(ctx return o } +func (o EntryGroupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamBinding] { + return pulumix.Output[*EntryGroupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EntryGroupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EntryGroupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/entryGroupIamMember.go b/sdk/go/google/datacatalog/v1beta1/entryGroupIamMember.go index a8d253f354..e1ac6c3e32 100644 --- a/sdk/go/google/datacatalog/v1beta1/entryGroupIamMember.go +++ b/sdk/go/google/datacatalog/v1beta1/entryGroupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -135,6 +136,12 @@ func (i *EntryGroupIamMember) ToEntryGroupIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EntryGroupIamMemberOutput) } +func (i *EntryGroupIamMember) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamMember] { + return pulumix.Output[*EntryGroupIamMember]{ + OutputState: i.ToEntryGroupIamMemberOutputWithContext(ctx).OutputState, + } +} + type EntryGroupIamMemberOutput struct{ *pulumi.OutputState } func (EntryGroupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EntryGroupIamMemberOutput) ToEntryGroupIamMemberOutputWithContext(ctx co return o } +func (o EntryGroupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamMember] { + return pulumix.Output[*EntryGroupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EntryGroupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EntryGroupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/entryGroupIamPolicy.go b/sdk/go/google/datacatalog/v1beta1/entryGroupIamPolicy.go index ec0046c35a..3f56d7011f 100644 --- a/sdk/go/google/datacatalog/v1beta1/entryGroupIamPolicy.go +++ b/sdk/go/google/datacatalog/v1beta1/entryGroupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -125,6 +126,12 @@ func (i *EntryGroupIamPolicy) ToEntryGroupIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EntryGroupIamPolicyOutput) } +func (i *EntryGroupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamPolicy] { + return pulumix.Output[*EntryGroupIamPolicy]{ + OutputState: i.ToEntryGroupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EntryGroupIamPolicyOutput struct{ *pulumi.OutputState } func (EntryGroupIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o EntryGroupIamPolicyOutput) ToEntryGroupIamPolicyOutputWithContext(ctx co return o } +func (o EntryGroupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamPolicy] { + return pulumix.Output[*EntryGroupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o EntryGroupIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *EntryGroupIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/getEntry.go b/sdk/go/google/datacatalog/v1beta1/getEntry.go index 1e63f490f7..e9049a5687 100644 --- a/sdk/go/google/datacatalog/v1beta1/getEntry.go +++ b/sdk/go/google/datacatalog/v1beta1/getEntry.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an entry. @@ -98,6 +99,12 @@ func (o LookupEntryResultOutput) ToLookupEntryResultOutputWithContext(ctx contex return o } +func (o LookupEntryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntryResult] { + return pulumix.Output[LookupEntryResult]{ + OutputState: o.OutputState, + } +} + // Specification for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding. func (o LookupEntryResultOutput) BigqueryDateShardedSpec() GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecResponseOutput { return o.ApplyT(func(v LookupEntryResult) GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecResponse { diff --git a/sdk/go/google/datacatalog/v1beta1/getEntryGroup.go b/sdk/go/google/datacatalog/v1beta1/getEntryGroup.go index 1cef96b76f..d723f55e13 100644 --- a/sdk/go/google/datacatalog/v1beta1/getEntryGroup.go +++ b/sdk/go/google/datacatalog/v1beta1/getEntryGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an EntryGroup. @@ -78,6 +79,12 @@ func (o LookupEntryGroupResultOutput) ToLookupEntryGroupResultOutputWithContext( return o } +func (o LookupEntryGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntryGroupResult] { + return pulumix.Output[LookupEntryGroupResult]{ + OutputState: o.OutputState, + } +} + // Timestamps about this EntryGroup. Default value is empty timestamps. func (o LookupEntryGroupResultOutput) DataCatalogTimestamps() GoogleCloudDatacatalogV1beta1SystemTimestampsResponseOutput { return o.ApplyT(func(v LookupEntryGroupResult) GoogleCloudDatacatalogV1beta1SystemTimestampsResponse { diff --git a/sdk/go/google/datacatalog/v1beta1/getEntryGroupIamPolicy.go b/sdk/go/google/datacatalog/v1beta1/getEntryGroupIamPolicy.go index 425415c54f..d97b01b12c 100644 --- a/sdk/go/google/datacatalog/v1beta1/getEntryGroupIamPolicy.go +++ b/sdk/go/google/datacatalog/v1beta1/getEntryGroupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. @@ -74,6 +75,12 @@ func (o LookupEntryGroupIamPolicyResultOutput) ToLookupEntryGroupIamPolicyResult return o } +func (o LookupEntryGroupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntryGroupIamPolicyResult] { + return pulumix.Output[LookupEntryGroupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupEntryGroupIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupEntryGroupIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/getPolicyTag.go b/sdk/go/google/datacatalog/v1beta1/getPolicyTag.go index 99084f13a9..0bce0cef9d 100644 --- a/sdk/go/google/datacatalog/v1beta1/getPolicyTag.go +++ b/sdk/go/google/datacatalog/v1beta1/getPolicyTag.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a policy tag. @@ -80,6 +81,12 @@ func (o LookupPolicyTagResultOutput) ToLookupPolicyTagResultOutputWithContext(ct return o } +func (o LookupPolicyTagResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPolicyTagResult] { + return pulumix.Output[LookupPolicyTagResult]{ + OutputState: o.OutputState, + } +} + // Resource names of child policy tags of this policy tag. func (o LookupPolicyTagResultOutput) ChildPolicyTags() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupPolicyTagResult) []string { return v.ChildPolicyTags }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/getTagTemplate.go b/sdk/go/google/datacatalog/v1beta1/getTagTemplate.go index 9df303da4a..1e4ab60970 100644 --- a/sdk/go/google/datacatalog/v1beta1/getTagTemplate.go +++ b/sdk/go/google/datacatalog/v1beta1/getTagTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a tag template. @@ -74,6 +75,12 @@ func (o LookupTagTemplateResultOutput) ToLookupTagTemplateResultOutputWithContex return o } +func (o LookupTagTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagTemplateResult] { + return pulumix.Output[LookupTagTemplateResult]{ + OutputState: o.OutputState, + } +} + // The display name for this template. Defaults to an empty string. func (o LookupTagTemplateResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupTagTemplateResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/getTagTemplateIamPolicy.go b/sdk/go/google/datacatalog/v1beta1/getTagTemplateIamPolicy.go index 0d9ec735ff..3ae779a057 100644 --- a/sdk/go/google/datacatalog/v1beta1/getTagTemplateIamPolicy.go +++ b/sdk/go/google/datacatalog/v1beta1/getTagTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. @@ -74,6 +75,12 @@ func (o LookupTagTemplateIamPolicyResultOutput) ToLookupTagTemplateIamPolicyResu return o } +func (o LookupTagTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTagTemplateIamPolicyResult] { + return pulumix.Output[LookupTagTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupTagTemplateIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupTagTemplateIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/getTaxonomy.go b/sdk/go/google/datacatalog/v1beta1/getTaxonomy.go index 9675ebc82d..cdaea38977 100644 --- a/sdk/go/google/datacatalog/v1beta1/getTaxonomy.go +++ b/sdk/go/google/datacatalog/v1beta1/getTaxonomy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a taxonomy. @@ -82,6 +83,12 @@ func (o LookupTaxonomyResultOutput) ToLookupTaxonomyResultOutputWithContext(ctx return o } +func (o LookupTaxonomyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTaxonomyResult] { + return pulumix.Output[LookupTaxonomyResult]{ + OutputState: o.OutputState, + } +} + // Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. func (o LookupTaxonomyResultOutput) ActivatedPolicyTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupTaxonomyResult) []string { return v.ActivatedPolicyTypes }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/getTaxonomyIamPolicy.go b/sdk/go/google/datacatalog/v1beta1/getTaxonomyIamPolicy.go index 02ae01867a..d732602943 100644 --- a/sdk/go/google/datacatalog/v1beta1/getTaxonomyIamPolicy.go +++ b/sdk/go/google/datacatalog/v1beta1/getTaxonomyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy for a taxonomy or a policy tag. @@ -74,6 +75,12 @@ func (o LookupTaxonomyIamPolicyResultOutput) ToLookupTaxonomyIamPolicyResultOutp return o } +func (o LookupTaxonomyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTaxonomyIamPolicyResult] { + return pulumix.Output[LookupTaxonomyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupTaxonomyIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupTaxonomyIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/getTaxonomyPolicyTagIamPolicy.go b/sdk/go/google/datacatalog/v1beta1/getTaxonomyPolicyTagIamPolicy.go index 191d29df6d..d71d79609d 100644 --- a/sdk/go/google/datacatalog/v1beta1/getTaxonomyPolicyTagIamPolicy.go +++ b/sdk/go/google/datacatalog/v1beta1/getTaxonomyPolicyTagIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy for a taxonomy or a policy tag. @@ -76,6 +77,12 @@ func (o LookupTaxonomyPolicyTagIamPolicyResultOutput) ToLookupTaxonomyPolicyTagI return o } +func (o LookupTaxonomyPolicyTagIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTaxonomyPolicyTagIamPolicyResult] { + return pulumix.Output[LookupTaxonomyPolicyTagIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupTaxonomyPolicyTagIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupTaxonomyPolicyTagIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/policyTag.go b/sdk/go/google/datacatalog/v1beta1/policyTag.go index 888e23d874..f3df1e11ec 100644 --- a/sdk/go/google/datacatalog/v1beta1/policyTag.go +++ b/sdk/go/google/datacatalog/v1beta1/policyTag.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a policy tag in the specified taxonomy. @@ -131,6 +132,12 @@ func (i *PolicyTag) ToPolicyTagOutputWithContext(ctx context.Context) PolicyTagO return pulumi.ToOutputWithContext(ctx, i).(PolicyTagOutput) } +func (i *PolicyTag) ToOutput(ctx context.Context) pulumix.Output[*PolicyTag] { + return pulumix.Output[*PolicyTag]{ + OutputState: i.ToPolicyTagOutputWithContext(ctx).OutputState, + } +} + type PolicyTagOutput struct{ *pulumi.OutputState } func (PolicyTagOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o PolicyTagOutput) ToPolicyTagOutputWithContext(ctx context.Context) Polic return o } +func (o PolicyTagOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyTag] { + return pulumix.Output[*PolicyTag]{ + OutputState: o.OutputState, + } +} + // Resource names of child policy tags of this policy tag. func (o PolicyTagOutput) ChildPolicyTags() pulumi.StringArrayOutput { return o.ApplyT(func(v *PolicyTag) pulumi.StringArrayOutput { return v.ChildPolicyTags }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/pulumiEnums.go b/sdk/go/google/datacatalog/v1beta1/pulumiEnums.go index 28588fd84c..d48b3c875e 100644 --- a/sdk/go/google/datacatalog/v1beta1/pulumiEnums.go +++ b/sdk/go/google/datacatalog/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The type of the entry. Only used for Entries with types in the EntryType enum. @@ -86,6 +87,12 @@ func (o EntryTypeOutput) ToEntryTypePtrOutputWithContext(ctx context.Context) En }).(EntryTypePtrOutput) } +func (o EntryTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EntryType] { + return pulumix.Output[EntryType]{ + OutputState: o.OutputState, + } +} + func (o EntryTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -121,6 +128,12 @@ func (o EntryTypePtrOutput) ToEntryTypePtrOutputWithContext(ctx context.Context) return o } +func (o EntryTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryType] { + return pulumix.Output[*EntryType]{ + OutputState: o.OutputState, + } +} + func (o EntryTypePtrOutput) Elem() EntryTypeOutput { return o.ApplyT(func(v *EntryType) EntryType { if v != nil { @@ -183,6 +196,12 @@ func (in *entryTypePtr) ToEntryTypePtrOutputWithContext(ctx context.Context) Ent return pulumi.ToOutputWithContext(ctx, in).(EntryTypePtrOutput) } +func (in *entryTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EntryType] { + return pulumix.Output[*EntryType]{ + OutputState: in.ToEntryTypePtrOutputWithContext(ctx).OutputState, + } +} + type TaxonomyActivatedPolicyTypesItem string const ( @@ -252,6 +271,12 @@ func (o TaxonomyActivatedPolicyTypesItemOutput) ToTaxonomyActivatedPolicyTypesIt }).(TaxonomyActivatedPolicyTypesItemPtrOutput) } +func (o TaxonomyActivatedPolicyTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[TaxonomyActivatedPolicyTypesItem] { + return pulumix.Output[TaxonomyActivatedPolicyTypesItem]{ + OutputState: o.OutputState, + } +} + func (o TaxonomyActivatedPolicyTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -287,6 +312,12 @@ func (o TaxonomyActivatedPolicyTypesItemPtrOutput) ToTaxonomyActivatedPolicyType return o } +func (o TaxonomyActivatedPolicyTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyActivatedPolicyTypesItem] { + return pulumix.Output[*TaxonomyActivatedPolicyTypesItem]{ + OutputState: o.OutputState, + } +} + func (o TaxonomyActivatedPolicyTypesItemPtrOutput) Elem() TaxonomyActivatedPolicyTypesItemOutput { return o.ApplyT(func(v *TaxonomyActivatedPolicyTypesItem) TaxonomyActivatedPolicyTypesItem { if v != nil { @@ -349,6 +380,12 @@ func (in *taxonomyActivatedPolicyTypesItemPtr) ToTaxonomyActivatedPolicyTypesIte return pulumi.ToOutputWithContext(ctx, in).(TaxonomyActivatedPolicyTypesItemPtrOutput) } +func (in *taxonomyActivatedPolicyTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyActivatedPolicyTypesItem] { + return pulumix.Output[*TaxonomyActivatedPolicyTypesItem]{ + OutputState: in.ToTaxonomyActivatedPolicyTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // TaxonomyActivatedPolicyTypesItemArrayInput is an input type that accepts TaxonomyActivatedPolicyTypesItemArray and TaxonomyActivatedPolicyTypesItemArrayOutput values. // You can construct a concrete instance of `TaxonomyActivatedPolicyTypesItemArrayInput` via: // @@ -374,6 +411,12 @@ func (i TaxonomyActivatedPolicyTypesItemArray) ToTaxonomyActivatedPolicyTypesIte return pulumi.ToOutputWithContext(ctx, i).(TaxonomyActivatedPolicyTypesItemArrayOutput) } +func (i TaxonomyActivatedPolicyTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]TaxonomyActivatedPolicyTypesItem] { + return pulumix.Output[[]TaxonomyActivatedPolicyTypesItem]{ + OutputState: i.ToTaxonomyActivatedPolicyTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type TaxonomyActivatedPolicyTypesItemArrayOutput struct{ *pulumi.OutputState } func (TaxonomyActivatedPolicyTypesItemArrayOutput) ElementType() reflect.Type { @@ -388,6 +431,12 @@ func (o TaxonomyActivatedPolicyTypesItemArrayOutput) ToTaxonomyActivatedPolicyTy return o } +func (o TaxonomyActivatedPolicyTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TaxonomyActivatedPolicyTypesItem] { + return pulumix.Output[[]TaxonomyActivatedPolicyTypesItem]{ + OutputState: o.OutputState, + } +} + func (o TaxonomyActivatedPolicyTypesItemArrayOutput) Index(i pulumi.IntInput) TaxonomyActivatedPolicyTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TaxonomyActivatedPolicyTypesItem { return vs[0].([]TaxonomyActivatedPolicyTypesItem)[vs[1].(int)] diff --git a/sdk/go/google/datacatalog/v1beta1/pulumiTypes.go b/sdk/go/google/datacatalog/v1beta1/pulumiTypes.go index c60c0db6e7..9ff558c7aa 100644 --- a/sdk/go/google/datacatalog/v1beta1/pulumiTypes.go +++ b/sdk/go/google/datacatalog/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -466,6 +533,12 @@ func (i GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecOutput) } +func (i GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecArgs) ToGoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutput() GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutputWithContext(context.Background()) } @@ -507,6 +580,12 @@ func (i *googleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutput) } +func (i *googleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding type GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecOutput struct{ *pulumi.OutputState } @@ -532,6 +611,12 @@ func (o GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecOutput) ToGoogleClou }).(GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutput) ElementType() reflect.Type { @@ -546,6 +631,12 @@ func (o GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutput) ToGoogleC return o } +func (o GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecPtrOutput) Elem() GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec) GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec { if v != nil { @@ -581,6 +672,12 @@ func (o GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecResponseOutput) ToGo return o } +func (o GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecResponse]{ + OutputState: o.OutputState, + } +} + // The Data Catalog resource name of the dataset entry the current table belongs to, for example, `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. func (o GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecResponseOutput) Dataset() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpecResponse) string { return v.Dataset }).(pulumi.StringOutput) @@ -635,6 +732,12 @@ func (i GoogleCloudDatacatalogV1beta1BigQueryTableSpecArgs) ToGoogleCloudDatacat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1BigQueryTableSpecOutput) } +func (i GoogleCloudDatacatalogV1beta1BigQueryTableSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryTableSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryTableSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1BigQueryTableSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1beta1BigQueryTableSpecArgs) ToGoogleCloudDatacatalogV1beta1BigQueryTableSpecPtrOutput() GoogleCloudDatacatalogV1beta1BigQueryTableSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1beta1BigQueryTableSpecPtrOutputWithContext(context.Background()) } @@ -676,6 +779,12 @@ func (i *googleCloudDatacatalogV1beta1BigQueryTableSpecPtrType) ToGoogleCloudDat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1BigQueryTableSpecPtrOutput) } +func (i *googleCloudDatacatalogV1beta1BigQueryTableSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1BigQueryTableSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1BigQueryTableSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1BigQueryTableSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Describes a BigQuery table. type GoogleCloudDatacatalogV1beta1BigQueryTableSpecOutput struct{ *pulumi.OutputState } @@ -701,6 +810,12 @@ func (o GoogleCloudDatacatalogV1beta1BigQueryTableSpecOutput) ToGoogleCloudDatac }).(GoogleCloudDatacatalogV1beta1BigQueryTableSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1beta1BigQueryTableSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryTableSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryTableSpec]{ + OutputState: o.OutputState, + } +} + // Spec of a BigQuery table. This field should only be populated if `table_source_type` is `BIGQUERY_TABLE`. func (o GoogleCloudDatacatalogV1beta1BigQueryTableSpecOutput) TableSpec() GoogleCloudDatacatalogV1beta1TableSpecPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1BigQueryTableSpec) *GoogleCloudDatacatalogV1beta1TableSpec { @@ -729,6 +844,12 @@ func (o GoogleCloudDatacatalogV1beta1BigQueryTableSpecPtrOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatacatalogV1beta1BigQueryTableSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1BigQueryTableSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1BigQueryTableSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1beta1BigQueryTableSpecPtrOutput) Elem() GoogleCloudDatacatalogV1beta1BigQueryTableSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1beta1BigQueryTableSpec) GoogleCloudDatacatalogV1beta1BigQueryTableSpec { if v != nil { @@ -784,6 +905,12 @@ func (o GoogleCloudDatacatalogV1beta1BigQueryTableSpecResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDatacatalogV1beta1BigQueryTableSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryTableSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1BigQueryTableSpecResponse]{ + OutputState: o.OutputState, + } +} + // The table source type. func (o GoogleCloudDatacatalogV1beta1BigQueryTableSpecResponseOutput) TableSourceType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1BigQueryTableSpecResponse) string { return v.TableSourceType }).(pulumi.StringOutput) @@ -854,6 +981,12 @@ func (i GoogleCloudDatacatalogV1beta1ColumnSchemaArgs) ToGoogleCloudDatacatalogV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1ColumnSchemaOutput) } +func (i GoogleCloudDatacatalogV1beta1ColumnSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1ColumnSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1ColumnSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1ColumnSchemaOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDatacatalogV1beta1ColumnSchemaArrayInput is an input type that accepts GoogleCloudDatacatalogV1beta1ColumnSchemaArray and GoogleCloudDatacatalogV1beta1ColumnSchemaArrayOutput values. // You can construct a concrete instance of `GoogleCloudDatacatalogV1beta1ColumnSchemaArrayInput` via: // @@ -879,6 +1012,12 @@ func (i GoogleCloudDatacatalogV1beta1ColumnSchemaArray) ToGoogleCloudDatacatalog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1ColumnSchemaArrayOutput) } +func (i GoogleCloudDatacatalogV1beta1ColumnSchemaArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1beta1ColumnSchema] { + return pulumix.Output[[]GoogleCloudDatacatalogV1beta1ColumnSchema]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1ColumnSchemaArrayOutputWithContext(ctx).OutputState, + } +} + // Representation of a column within a schema. Columns could be nested inside other columns. type GoogleCloudDatacatalogV1beta1ColumnSchemaOutput struct{ *pulumi.OutputState } @@ -894,6 +1033,12 @@ func (o GoogleCloudDatacatalogV1beta1ColumnSchemaOutput) ToGoogleCloudDatacatalo return o } +func (o GoogleCloudDatacatalogV1beta1ColumnSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1ColumnSchema] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1ColumnSchema]{ + OutputState: o.OutputState, + } +} + // Name of the column. func (o GoogleCloudDatacatalogV1beta1ColumnSchemaOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1ColumnSchema) string { return v.Column }).(pulumi.StringOutput) @@ -935,6 +1080,12 @@ func (o GoogleCloudDatacatalogV1beta1ColumnSchemaArrayOutput) ToGoogleCloudDatac return o } +func (o GoogleCloudDatacatalogV1beta1ColumnSchemaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1beta1ColumnSchema] { + return pulumix.Output[[]GoogleCloudDatacatalogV1beta1ColumnSchema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1beta1ColumnSchemaArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1beta1ColumnSchemaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1beta1ColumnSchema { return vs[0].([]GoogleCloudDatacatalogV1beta1ColumnSchema)[vs[1].(int)] @@ -970,6 +1121,12 @@ func (o GoogleCloudDatacatalogV1beta1ColumnSchemaResponseOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatacatalogV1beta1ColumnSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1ColumnSchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1ColumnSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Name of the column. func (o GoogleCloudDatacatalogV1beta1ColumnSchemaResponseOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1ColumnSchemaResponse) string { return v.Column }).(pulumi.StringOutput) @@ -1011,6 +1168,12 @@ func (o GoogleCloudDatacatalogV1beta1ColumnSchemaResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDatacatalogV1beta1ColumnSchemaResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1beta1ColumnSchemaResponse] { + return pulumix.Output[[]GoogleCloudDatacatalogV1beta1ColumnSchemaResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1beta1ColumnSchemaResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1beta1ColumnSchemaResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1beta1ColumnSchemaResponse { return vs[0].([]GoogleCloudDatacatalogV1beta1ColumnSchemaResponse)[vs[1].(int)] @@ -1042,6 +1205,12 @@ func (o GoogleCloudDatacatalogV1beta1GcsFileSpecResponseOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDatacatalogV1beta1GcsFileSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1GcsFileSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1GcsFileSpecResponse]{ + OutputState: o.OutputState, + } +} + // The full file path. Example: `gs://bucket_name/a/b.txt`. func (o GoogleCloudDatacatalogV1beta1GcsFileSpecResponseOutput) FilePath() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1GcsFileSpecResponse) string { return v.FilePath }).(pulumi.StringOutput) @@ -1073,6 +1242,12 @@ func (o GoogleCloudDatacatalogV1beta1GcsFileSpecResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDatacatalogV1beta1GcsFileSpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogV1beta1GcsFileSpecResponse] { + return pulumix.Output[[]GoogleCloudDatacatalogV1beta1GcsFileSpecResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1beta1GcsFileSpecResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogV1beta1GcsFileSpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogV1beta1GcsFileSpecResponse { return vs[0].([]GoogleCloudDatacatalogV1beta1GcsFileSpecResponse)[vs[1].(int)] @@ -1114,6 +1289,12 @@ func (i GoogleCloudDatacatalogV1beta1GcsFilesetSpecArgs) ToGoogleCloudDatacatalo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1GcsFilesetSpecOutput) } +func (i GoogleCloudDatacatalogV1beta1GcsFilesetSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1GcsFilesetSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1GcsFilesetSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1GcsFilesetSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1beta1GcsFilesetSpecArgs) ToGoogleCloudDatacatalogV1beta1GcsFilesetSpecPtrOutput() GoogleCloudDatacatalogV1beta1GcsFilesetSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1beta1GcsFilesetSpecPtrOutputWithContext(context.Background()) } @@ -1155,6 +1336,12 @@ func (i *googleCloudDatacatalogV1beta1GcsFilesetSpecPtrType) ToGoogleCloudDataca return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1GcsFilesetSpecPtrOutput) } +func (i *googleCloudDatacatalogV1beta1GcsFilesetSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1GcsFilesetSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1GcsFilesetSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1GcsFilesetSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Describes a Cloud Storage fileset entry. type GoogleCloudDatacatalogV1beta1GcsFilesetSpecOutput struct{ *pulumi.OutputState } @@ -1180,6 +1367,12 @@ func (o GoogleCloudDatacatalogV1beta1GcsFilesetSpecOutput) ToGoogleCloudDatacata }).(GoogleCloudDatacatalogV1beta1GcsFilesetSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1beta1GcsFilesetSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1GcsFilesetSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1GcsFilesetSpec]{ + OutputState: o.OutputState, + } +} + // Patterns to identify a set of files in Google Cloud Storage. See [Cloud Storage documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames) for more information. Note that bucket wildcards are currently not supported. Examples of valid file_patterns: * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir` directory. * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` spanning all subdirectories. * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to provide more powerful matches, for example: * `gs://bucket_name/[a-m]??.j*g` func (o GoogleCloudDatacatalogV1beta1GcsFilesetSpecOutput) FilePatterns() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1GcsFilesetSpec) []string { return v.FilePatterns }).(pulumi.StringArrayOutput) @@ -1199,6 +1392,12 @@ func (o GoogleCloudDatacatalogV1beta1GcsFilesetSpecPtrOutput) ToGoogleCloudDatac return o } +func (o GoogleCloudDatacatalogV1beta1GcsFilesetSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1GcsFilesetSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1GcsFilesetSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1beta1GcsFilesetSpecPtrOutput) Elem() GoogleCloudDatacatalogV1beta1GcsFilesetSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1beta1GcsFilesetSpec) GoogleCloudDatacatalogV1beta1GcsFilesetSpec { if v != nil { @@ -1242,6 +1441,12 @@ func (o GoogleCloudDatacatalogV1beta1GcsFilesetSpecResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDatacatalogV1beta1GcsFilesetSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1GcsFilesetSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1GcsFilesetSpecResponse]{ + OutputState: o.OutputState, + } +} + // Patterns to identify a set of files in Google Cloud Storage. See [Cloud Storage documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames) for more information. Note that bucket wildcards are currently not supported. Examples of valid file_patterns: * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir` directory. * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` spanning all subdirectories. * `gs://bucket_name/file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You can combine wildcards to provide more powerful matches, for example: * `gs://bucket_name/[a-m]??.j*g` func (o GoogleCloudDatacatalogV1beta1GcsFilesetSpecResponseOutput) FilePatterns() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1GcsFilesetSpecResponse) []string { return v.FilePatterns }).(pulumi.StringArrayOutput) @@ -1289,6 +1494,12 @@ func (i GoogleCloudDatacatalogV1beta1SchemaArgs) ToGoogleCloudDatacatalogV1beta1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1SchemaOutput) } +func (i GoogleCloudDatacatalogV1beta1SchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1Schema] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1Schema]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1SchemaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1beta1SchemaArgs) ToGoogleCloudDatacatalogV1beta1SchemaPtrOutput() GoogleCloudDatacatalogV1beta1SchemaPtrOutput { return i.ToGoogleCloudDatacatalogV1beta1SchemaPtrOutputWithContext(context.Background()) } @@ -1330,6 +1541,12 @@ func (i *googleCloudDatacatalogV1beta1SchemaPtrType) ToGoogleCloudDatacatalogV1b return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1SchemaPtrOutput) } +func (i *googleCloudDatacatalogV1beta1SchemaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1Schema] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1Schema]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1SchemaPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema). type GoogleCloudDatacatalogV1beta1SchemaOutput struct{ *pulumi.OutputState } @@ -1355,6 +1572,12 @@ func (o GoogleCloudDatacatalogV1beta1SchemaOutput) ToGoogleCloudDatacatalogV1bet }).(GoogleCloudDatacatalogV1beta1SchemaPtrOutput) } +func (o GoogleCloudDatacatalogV1beta1SchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1Schema] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1Schema]{ + OutputState: o.OutputState, + } +} + // Schema of columns. A maximum of 10,000 columns and sub-columns can be specified. func (o GoogleCloudDatacatalogV1beta1SchemaOutput) Columns() GoogleCloudDatacatalogV1beta1ColumnSchemaArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1Schema) []GoogleCloudDatacatalogV1beta1ColumnSchema { @@ -1376,6 +1599,12 @@ func (o GoogleCloudDatacatalogV1beta1SchemaPtrOutput) ToGoogleCloudDatacatalogV1 return o } +func (o GoogleCloudDatacatalogV1beta1SchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1Schema] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1Schema]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1beta1SchemaPtrOutput) Elem() GoogleCloudDatacatalogV1beta1SchemaOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1beta1Schema) GoogleCloudDatacatalogV1beta1Schema { if v != nil { @@ -1417,6 +1646,12 @@ func (o GoogleCloudDatacatalogV1beta1SchemaResponseOutput) ToGoogleCloudDatacata return o } +func (o GoogleCloudDatacatalogV1beta1SchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1SchemaResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1SchemaResponse]{ + OutputState: o.OutputState, + } +} + // Schema of columns. A maximum of 10,000 columns and sub-columns can be specified. func (o GoogleCloudDatacatalogV1beta1SchemaResponseOutput) Columns() GoogleCloudDatacatalogV1beta1ColumnSchemaResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1SchemaResponse) []GoogleCloudDatacatalogV1beta1ColumnSchemaResponse { @@ -1449,6 +1684,12 @@ func (o GoogleCloudDatacatalogV1beta1SystemTimestampsResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDatacatalogV1beta1SystemTimestampsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1SystemTimestampsResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1SystemTimestampsResponse]{ + OutputState: o.OutputState, + } +} + // The creation time of the resource within the given system. func (o GoogleCloudDatacatalogV1beta1SystemTimestampsResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1SystemTimestampsResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -1495,6 +1736,12 @@ func (i GoogleCloudDatacatalogV1beta1TableSpecArgs) ToGoogleCloudDatacatalogV1be return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1TableSpecOutput) } +func (i GoogleCloudDatacatalogV1beta1TableSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1TableSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1TableSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1TableSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1beta1TableSpecArgs) ToGoogleCloudDatacatalogV1beta1TableSpecPtrOutput() GoogleCloudDatacatalogV1beta1TableSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1beta1TableSpecPtrOutputWithContext(context.Background()) } @@ -1536,6 +1783,12 @@ func (i *googleCloudDatacatalogV1beta1TableSpecPtrType) ToGoogleCloudDatacatalog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1TableSpecPtrOutput) } +func (i *googleCloudDatacatalogV1beta1TableSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1TableSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1TableSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1TableSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Normal BigQuery table spec. type GoogleCloudDatacatalogV1beta1TableSpecOutput struct{ *pulumi.OutputState } @@ -1561,6 +1814,12 @@ func (o GoogleCloudDatacatalogV1beta1TableSpecOutput) ToGoogleCloudDatacatalogV1 }).(GoogleCloudDatacatalogV1beta1TableSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1beta1TableSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1TableSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1TableSpec]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDatacatalogV1beta1TableSpecPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDatacatalogV1beta1TableSpecPtrOutput) ElementType() reflect.Type { @@ -1575,6 +1834,12 @@ func (o GoogleCloudDatacatalogV1beta1TableSpecPtrOutput) ToGoogleCloudDatacatalo return o } +func (o GoogleCloudDatacatalogV1beta1TableSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1TableSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1TableSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1beta1TableSpecPtrOutput) Elem() GoogleCloudDatacatalogV1beta1TableSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1beta1TableSpec) GoogleCloudDatacatalogV1beta1TableSpec { if v != nil { @@ -1606,6 +1871,12 @@ func (o GoogleCloudDatacatalogV1beta1TableSpecResponseOutput) ToGoogleCloudDatac return o } +func (o GoogleCloudDatacatalogV1beta1TableSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1TableSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1TableSpecResponse]{ + OutputState: o.OutputState, + } +} + // If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of the date sharded grouped entry, for example, `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. Otherwise, `grouped_entry` is empty. func (o GoogleCloudDatacatalogV1beta1TableSpecResponseOutput) GroupedEntry() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1TableSpecResponse) string { return v.GroupedEntry }).(pulumi.StringOutput) @@ -1634,6 +1905,12 @@ func (o GoogleCloudDatacatalogV1beta1TaxonomyServiceResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDatacatalogV1beta1TaxonomyServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1TaxonomyServiceResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1TaxonomyServiceResponse]{ + OutputState: o.OutputState, + } +} + // The service agent for the service. func (o GoogleCloudDatacatalogV1beta1TaxonomyServiceResponseOutput) Identity() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1TaxonomyServiceResponse) string { return v.Identity }).(pulumi.StringOutput) @@ -1667,6 +1944,12 @@ func (o GoogleCloudDatacatalogV1beta1UsageSignalResponseOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDatacatalogV1beta1UsageSignalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1UsageSignalResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1UsageSignalResponse]{ + OutputState: o.OutputState, + } +} + // The timestamp of the end of the usage statistics duration. func (o GoogleCloudDatacatalogV1beta1UsageSignalResponseOutput) UpdateTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1UsageSignalResponse) string { return v.UpdateTime }).(pulumi.StringOutput) @@ -1710,6 +1993,12 @@ func (i GoogleCloudDatacatalogV1beta1ViewSpecArgs) ToGoogleCloudDatacatalogV1bet return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1ViewSpecOutput) } +func (i GoogleCloudDatacatalogV1beta1ViewSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1ViewSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1ViewSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1ViewSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogV1beta1ViewSpecArgs) ToGoogleCloudDatacatalogV1beta1ViewSpecPtrOutput() GoogleCloudDatacatalogV1beta1ViewSpecPtrOutput { return i.ToGoogleCloudDatacatalogV1beta1ViewSpecPtrOutputWithContext(context.Background()) } @@ -1751,6 +2040,12 @@ func (i *googleCloudDatacatalogV1beta1ViewSpecPtrType) ToGoogleCloudDatacatalogV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogV1beta1ViewSpecPtrOutput) } +func (i *googleCloudDatacatalogV1beta1ViewSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1ViewSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1ViewSpec]{ + OutputState: i.ToGoogleCloudDatacatalogV1beta1ViewSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Table view specification. type GoogleCloudDatacatalogV1beta1ViewSpecOutput struct{ *pulumi.OutputState } @@ -1776,6 +2071,12 @@ func (o GoogleCloudDatacatalogV1beta1ViewSpecOutput) ToGoogleCloudDatacatalogV1b }).(GoogleCloudDatacatalogV1beta1ViewSpecPtrOutput) } +func (o GoogleCloudDatacatalogV1beta1ViewSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1ViewSpec] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1ViewSpec]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDatacatalogV1beta1ViewSpecPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDatacatalogV1beta1ViewSpecPtrOutput) ElementType() reflect.Type { @@ -1790,6 +2091,12 @@ func (o GoogleCloudDatacatalogV1beta1ViewSpecPtrOutput) ToGoogleCloudDatacatalog return o } +func (o GoogleCloudDatacatalogV1beta1ViewSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogV1beta1ViewSpec] { + return pulumix.Output[*GoogleCloudDatacatalogV1beta1ViewSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogV1beta1ViewSpecPtrOutput) Elem() GoogleCloudDatacatalogV1beta1ViewSpecOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogV1beta1ViewSpec) GoogleCloudDatacatalogV1beta1ViewSpec { if v != nil { @@ -1821,6 +2128,12 @@ func (o GoogleCloudDatacatalogV1beta1ViewSpecResponseOutput) ToGoogleCloudDataca return o } +func (o GoogleCloudDatacatalogV1beta1ViewSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogV1beta1ViewSpecResponse] { + return pulumix.Output[GoogleCloudDatacatalogV1beta1ViewSpecResponse]{ + OutputState: o.OutputState, + } +} + // The query that defines the table view. func (o GoogleCloudDatacatalogV1beta1ViewSpecResponseOutput) ViewQuery() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogV1beta1ViewSpecResponse) string { return v.ViewQuery }).(pulumi.StringOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/tagTemplate.go b/sdk/go/google/datacatalog/v1beta1/tagTemplate.go index 988db6f069..a3dd3c5ad7 100644 --- a/sdk/go/google/datacatalog/v1beta1/tagTemplate.go +++ b/sdk/go/google/datacatalog/v1beta1/tagTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a tag template. The user should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). @@ -129,6 +130,12 @@ func (i *TagTemplate) ToTagTemplateOutputWithContext(ctx context.Context) TagTem return pulumi.ToOutputWithContext(ctx, i).(TagTemplateOutput) } +func (i *TagTemplate) ToOutput(ctx context.Context) pulumix.Output[*TagTemplate] { + return pulumix.Output[*TagTemplate]{ + OutputState: i.ToTagTemplateOutputWithContext(ctx).OutputState, + } +} + type TagTemplateOutput struct{ *pulumi.OutputState } func (TagTemplateOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o TagTemplateOutput) ToTagTemplateOutputWithContext(ctx context.Context) T return o } +func (o TagTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*TagTemplate] { + return pulumix.Output[*TagTemplate]{ + OutputState: o.OutputState, + } +} + // The display name for this template. Defaults to an empty string. func (o TagTemplateOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *TagTemplate) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/tagTemplateIamBinding.go b/sdk/go/google/datacatalog/v1beta1/tagTemplateIamBinding.go index d86768634e..9d5ab6eaa7 100644 --- a/sdk/go/google/datacatalog/v1beta1/tagTemplateIamBinding.go +++ b/sdk/go/google/datacatalog/v1beta1/tagTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -135,6 +136,12 @@ func (i *TagTemplateIamBinding) ToTagTemplateIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(TagTemplateIamBindingOutput) } +func (i *TagTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamBinding] { + return pulumix.Output[*TagTemplateIamBinding]{ + OutputState: i.ToTagTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type TagTemplateIamBindingOutput struct{ *pulumi.OutputState } func (TagTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TagTemplateIamBindingOutput) ToTagTemplateIamBindingOutputWithContext(ct return o } +func (o TagTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamBinding] { + return pulumix.Output[*TagTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TagTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TagTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/tagTemplateIamMember.go b/sdk/go/google/datacatalog/v1beta1/tagTemplateIamMember.go index 738b327742..82eb2018b0 100644 --- a/sdk/go/google/datacatalog/v1beta1/tagTemplateIamMember.go +++ b/sdk/go/google/datacatalog/v1beta1/tagTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -135,6 +136,12 @@ func (i *TagTemplateIamMember) ToTagTemplateIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TagTemplateIamMemberOutput) } +func (i *TagTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamMember] { + return pulumix.Output[*TagTemplateIamMember]{ + OutputState: i.ToTagTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type TagTemplateIamMemberOutput struct{ *pulumi.OutputState } func (TagTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TagTemplateIamMemberOutput) ToTagTemplateIamMemberOutputWithContext(ctx return o } +func (o TagTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamMember] { + return pulumix.Output[*TagTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TagTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TagTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/tagTemplateIamPolicy.go b/sdk/go/google/datacatalog/v1beta1/tagTemplateIamPolicy.go index fd55682b7a..a6ec93cbe8 100644 --- a/sdk/go/google/datacatalog/v1beta1/tagTemplateIamPolicy.go +++ b/sdk/go/google/datacatalog/v1beta1/tagTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. @@ -125,6 +126,12 @@ func (i *TagTemplateIamPolicy) ToTagTemplateIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TagTemplateIamPolicyOutput) } +func (i *TagTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamPolicy] { + return pulumix.Output[*TagTemplateIamPolicy]{ + OutputState: i.ToTagTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TagTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (TagTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o TagTemplateIamPolicyOutput) ToTagTemplateIamPolicyOutputWithContext(ctx return o } +func (o TagTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TagTemplateIamPolicy] { + return pulumix.Output[*TagTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o TagTemplateIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *TagTemplateIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/taxonomy.go b/sdk/go/google/datacatalog/v1beta1/taxonomy.go index 93d175dd40..a93b39be48 100644 --- a/sdk/go/google/datacatalog/v1beta1/taxonomy.go +++ b/sdk/go/google/datacatalog/v1beta1/taxonomy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a taxonomy in the specified project. @@ -128,6 +129,12 @@ func (i *Taxonomy) ToTaxonomyOutputWithContext(ctx context.Context) TaxonomyOutp return pulumi.ToOutputWithContext(ctx, i).(TaxonomyOutput) } +func (i *Taxonomy) ToOutput(ctx context.Context) pulumix.Output[*Taxonomy] { + return pulumix.Output[*Taxonomy]{ + OutputState: i.ToTaxonomyOutputWithContext(ctx).OutputState, + } +} + type TaxonomyOutput struct{ *pulumi.OutputState } func (TaxonomyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o TaxonomyOutput) ToTaxonomyOutputWithContext(ctx context.Context) Taxonom return o } +func (o TaxonomyOutput) ToOutput(ctx context.Context) pulumix.Output[*Taxonomy] { + return pulumix.Output[*Taxonomy]{ + OutputState: o.OutputState, + } +} + // Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. func (o TaxonomyOutput) ActivatedPolicyTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v *Taxonomy) pulumi.StringArrayOutput { return v.ActivatedPolicyTypes }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/taxonomyIamBinding.go b/sdk/go/google/datacatalog/v1beta1/taxonomyIamBinding.go index 5370b9dc29..721607e7f6 100644 --- a/sdk/go/google/datacatalog/v1beta1/taxonomyIamBinding.go +++ b/sdk/go/google/datacatalog/v1beta1/taxonomyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a taxonomy or a policy tag. @@ -135,6 +136,12 @@ func (i *TaxonomyIamBinding) ToTaxonomyIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(TaxonomyIamBindingOutput) } +func (i *TaxonomyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamBinding] { + return pulumix.Output[*TaxonomyIamBinding]{ + OutputState: i.ToTaxonomyIamBindingOutputWithContext(ctx).OutputState, + } +} + type TaxonomyIamBindingOutput struct{ *pulumi.OutputState } func (TaxonomyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TaxonomyIamBindingOutput) ToTaxonomyIamBindingOutputWithContext(ctx cont return o } +func (o TaxonomyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamBinding] { + return pulumix.Output[*TaxonomyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TaxonomyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TaxonomyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/taxonomyIamMember.go b/sdk/go/google/datacatalog/v1beta1/taxonomyIamMember.go index fafbd6a4c2..07e9903b9b 100644 --- a/sdk/go/google/datacatalog/v1beta1/taxonomyIamMember.go +++ b/sdk/go/google/datacatalog/v1beta1/taxonomyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a taxonomy or a policy tag. @@ -135,6 +136,12 @@ func (i *TaxonomyIamMember) ToTaxonomyIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(TaxonomyIamMemberOutput) } +func (i *TaxonomyIamMember) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamMember] { + return pulumix.Output[*TaxonomyIamMember]{ + OutputState: i.ToTaxonomyIamMemberOutputWithContext(ctx).OutputState, + } +} + type TaxonomyIamMemberOutput struct{ *pulumi.OutputState } func (TaxonomyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TaxonomyIamMemberOutput) ToTaxonomyIamMemberOutputWithContext(ctx contex return o } +func (o TaxonomyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamMember] { + return pulumix.Output[*TaxonomyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TaxonomyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TaxonomyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/taxonomyIamPolicy.go b/sdk/go/google/datacatalog/v1beta1/taxonomyIamPolicy.go index 90ed5aaa05..88eb765c85 100644 --- a/sdk/go/google/datacatalog/v1beta1/taxonomyIamPolicy.go +++ b/sdk/go/google/datacatalog/v1beta1/taxonomyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a taxonomy or a policy tag. @@ -125,6 +126,12 @@ func (i *TaxonomyIamPolicy) ToTaxonomyIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(TaxonomyIamPolicyOutput) } +func (i *TaxonomyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamPolicy] { + return pulumix.Output[*TaxonomyIamPolicy]{ + OutputState: i.ToTaxonomyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TaxonomyIamPolicyOutput struct{ *pulumi.OutputState } func (TaxonomyIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o TaxonomyIamPolicyOutput) ToTaxonomyIamPolicyOutputWithContext(ctx contex return o } +func (o TaxonomyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyIamPolicy] { + return pulumix.Output[*TaxonomyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o TaxonomyIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *TaxonomyIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamBinding.go b/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamBinding.go index aea7b4375e..cd5861192d 100644 --- a/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamBinding.go +++ b/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a taxonomy or a policy tag. @@ -135,6 +136,12 @@ func (i *TaxonomyPolicyTagIamBinding) ToTaxonomyPolicyTagIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(TaxonomyPolicyTagIamBindingOutput) } +func (i *TaxonomyPolicyTagIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamBinding] { + return pulumix.Output[*TaxonomyPolicyTagIamBinding]{ + OutputState: i.ToTaxonomyPolicyTagIamBindingOutputWithContext(ctx).OutputState, + } +} + type TaxonomyPolicyTagIamBindingOutput struct{ *pulumi.OutputState } func (TaxonomyPolicyTagIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TaxonomyPolicyTagIamBindingOutput) ToTaxonomyPolicyTagIamBindingOutputWi return o } +func (o TaxonomyPolicyTagIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamBinding] { + return pulumix.Output[*TaxonomyPolicyTagIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TaxonomyPolicyTagIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TaxonomyPolicyTagIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamMember.go b/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamMember.go index 5559ad8783..9b626c8a9b 100644 --- a/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamMember.go +++ b/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a taxonomy or a policy tag. @@ -135,6 +136,12 @@ func (i *TaxonomyPolicyTagIamMember) ToTaxonomyPolicyTagIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(TaxonomyPolicyTagIamMemberOutput) } +func (i *TaxonomyPolicyTagIamMember) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamMember] { + return pulumix.Output[*TaxonomyPolicyTagIamMember]{ + OutputState: i.ToTaxonomyPolicyTagIamMemberOutputWithContext(ctx).OutputState, + } +} + type TaxonomyPolicyTagIamMemberOutput struct{ *pulumi.OutputState } func (TaxonomyPolicyTagIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TaxonomyPolicyTagIamMemberOutput) ToTaxonomyPolicyTagIamMemberOutputWith return o } +func (o TaxonomyPolicyTagIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamMember] { + return pulumix.Output[*TaxonomyPolicyTagIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TaxonomyPolicyTagIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TaxonomyPolicyTagIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamPolicy.go b/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamPolicy.go index 4fa3a7d1ae..57c0e65147 100644 --- a/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamPolicy.go +++ b/sdk/go/google/datacatalog/v1beta1/taxonomyPolicyTagIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy for a taxonomy or a policy tag. @@ -132,6 +133,12 @@ func (i *TaxonomyPolicyTagIamPolicy) ToTaxonomyPolicyTagIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(TaxonomyPolicyTagIamPolicyOutput) } +func (i *TaxonomyPolicyTagIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamPolicy] { + return pulumix.Output[*TaxonomyPolicyTagIamPolicy]{ + OutputState: i.ToTaxonomyPolicyTagIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TaxonomyPolicyTagIamPolicyOutput struct{ *pulumi.OutputState } func (TaxonomyPolicyTagIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o TaxonomyPolicyTagIamPolicyOutput) ToTaxonomyPolicyTagIamPolicyOutputWith return o } +func (o TaxonomyPolicyTagIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TaxonomyPolicyTagIamPolicy] { + return pulumix.Output[*TaxonomyPolicyTagIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o TaxonomyPolicyTagIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *TaxonomyPolicyTagIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataflow/v1b3/getJob.go b/sdk/go/google/dataflow/v1b3/getJob.go index a96ed88839..c80801caa1 100644 --- a/sdk/go/google/dataflow/v1b3/getJob.go +++ b/sdk/go/google/dataflow/v1b3/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`. @@ -122,6 +123,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // The client's unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client's ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it. func (o LookupJobResultOutput) ClientRequestId() pulumi.StringOutput { return o.ApplyT(func(v LookupJobResult) string { return v.ClientRequestId }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataflow/v1b3/getTemplate.go b/sdk/go/google/dataflow/v1b3/getTemplate.go index 7652de6df7..a5cc8bbed8 100644 --- a/sdk/go/google/dataflow/v1b3/getTemplate.go +++ b/sdk/go/google/dataflow/v1b3/getTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get the template associated with a template. @@ -78,6 +79,12 @@ func (o LookupTemplateResultOutput) ToLookupTemplateResultOutputWithContext(ctx return o } +func (o LookupTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTemplateResult] { + return pulumix.Output[LookupTemplateResult]{ + OutputState: o.OutputState, + } +} + // The template metadata describing the template name, available parameters, etc. func (o LookupTemplateResultOutput) Metadata() TemplateMetadataResponseOutput { return o.ApplyT(func(v LookupTemplateResult) TemplateMetadataResponse { return v.Metadata }).(TemplateMetadataResponseOutput) diff --git a/sdk/go/google/dataflow/v1b3/job.go b/sdk/go/google/dataflow/v1b3/job.go index af90557cd1..01f24d24b3 100644 --- a/sdk/go/google/dataflow/v1b3/job.go +++ b/sdk/go/google/dataflow/v1b3/job.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Cloud Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`. Do not enter confidential information when you supply string values using the API. @@ -257,6 +258,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -271,6 +278,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // The client's unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client's ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it. func (o JobOutput) ClientRequestId() pulumi.StringOutput { return o.ApplyT(func(v *Job) pulumi.StringOutput { return v.ClientRequestId }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataflow/v1b3/pulumiEnums.go b/sdk/go/google/dataflow/v1b3/pulumiEnums.go index ec85233dc3..83142d8fe4 100644 --- a/sdk/go/google/dataflow/v1b3/pulumiEnums.go +++ b/sdk/go/google/dataflow/v1b3/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The algorithm to use for autoscaling. @@ -82,6 +83,12 @@ func (o AutoscalingSettingsAlgorithmOutput) ToAutoscalingSettingsAlgorithmPtrOut }).(AutoscalingSettingsAlgorithmPtrOutput) } +func (o AutoscalingSettingsAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingSettingsAlgorithm] { + return pulumix.Output[AutoscalingSettingsAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingSettingsAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o AutoscalingSettingsAlgorithmPtrOutput) ToAutoscalingSettingsAlgorithmPtr return o } +func (o AutoscalingSettingsAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingSettingsAlgorithm] { + return pulumix.Output[*AutoscalingSettingsAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingSettingsAlgorithmPtrOutput) Elem() AutoscalingSettingsAlgorithmOutput { return o.ApplyT(func(v *AutoscalingSettingsAlgorithm) AutoscalingSettingsAlgorithm { if v != nil { @@ -179,6 +192,12 @@ func (in *autoscalingSettingsAlgorithmPtr) ToAutoscalingSettingsAlgorithmPtrOutp return pulumi.ToOutputWithContext(ctx, in).(AutoscalingSettingsAlgorithmPtrOutput) } +func (in *autoscalingSettingsAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingSettingsAlgorithm] { + return pulumix.Output[*AutoscalingSettingsAlgorithm]{ + OutputState: in.ToAutoscalingSettingsAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // Which Flexible Resource Scheduling mode to run in. type EnvironmentFlexResourceSchedulingGoal string @@ -251,6 +270,12 @@ func (o EnvironmentFlexResourceSchedulingGoalOutput) ToEnvironmentFlexResourceSc }).(EnvironmentFlexResourceSchedulingGoalPtrOutput) } +func (o EnvironmentFlexResourceSchedulingGoalOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentFlexResourceSchedulingGoal] { + return pulumix.Output[EnvironmentFlexResourceSchedulingGoal]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentFlexResourceSchedulingGoalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o EnvironmentFlexResourceSchedulingGoalPtrOutput) ToEnvironmentFlexResourc return o } +func (o EnvironmentFlexResourceSchedulingGoalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentFlexResourceSchedulingGoal] { + return pulumix.Output[*EnvironmentFlexResourceSchedulingGoal]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentFlexResourceSchedulingGoalPtrOutput) Elem() EnvironmentFlexResourceSchedulingGoalOutput { return o.ApplyT(func(v *EnvironmentFlexResourceSchedulingGoal) EnvironmentFlexResourceSchedulingGoal { if v != nil { @@ -348,6 +379,12 @@ func (in *environmentFlexResourceSchedulingGoalPtr) ToEnvironmentFlexResourceSch return pulumi.ToOutputWithContext(ctx, in).(EnvironmentFlexResourceSchedulingGoalPtrOutput) } +func (in *environmentFlexResourceSchedulingGoalPtr) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentFlexResourceSchedulingGoal] { + return pulumix.Output[*EnvironmentFlexResourceSchedulingGoal]{ + OutputState: in.ToEnvironmentFlexResourceSchedulingGoalPtrOutputWithContext(ctx).OutputState, + } +} + // Executions stage states allow the same set of values as JobState. type ExecutionStageStateExecutionStageState string @@ -440,6 +477,12 @@ func (o ExecutionStageStateExecutionStageStateOutput) ToExecutionStageStateExecu }).(ExecutionStageStateExecutionStageStatePtrOutput) } +func (o ExecutionStageStateExecutionStageStateOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionStageStateExecutionStageState] { + return pulumix.Output[ExecutionStageStateExecutionStageState]{ + OutputState: o.OutputState, + } +} + func (o ExecutionStageStateExecutionStageStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -475,6 +518,12 @@ func (o ExecutionStageStateExecutionStageStatePtrOutput) ToExecutionStageStateEx return o } +func (o ExecutionStageStateExecutionStageStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecutionStageStateExecutionStageState] { + return pulumix.Output[*ExecutionStageStateExecutionStageState]{ + OutputState: o.OutputState, + } +} + func (o ExecutionStageStateExecutionStageStatePtrOutput) Elem() ExecutionStageStateExecutionStageStateOutput { return o.ApplyT(func(v *ExecutionStageStateExecutionStageState) ExecutionStageStateExecutionStageState { if v != nil { @@ -537,6 +586,12 @@ func (in *executionStageStateExecutionStageStatePtr) ToExecutionStageStateExecut return pulumi.ToOutputWithContext(ctx, in).(ExecutionStageStateExecutionStageStatePtrOutput) } +func (in *executionStageStateExecutionStageStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ExecutionStageStateExecutionStageState] { + return pulumix.Output[*ExecutionStageStateExecutionStageState]{ + OutputState: in.ToExecutionStageStateExecutionStageStatePtrOutputWithContext(ctx).OutputState, + } +} + // Type of transform this stage is executing. type ExecutionStageSummaryKind string @@ -621,6 +676,12 @@ func (o ExecutionStageSummaryKindOutput) ToExecutionStageSummaryKindPtrOutputWit }).(ExecutionStageSummaryKindPtrOutput) } +func (o ExecutionStageSummaryKindOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionStageSummaryKind] { + return pulumix.Output[ExecutionStageSummaryKind]{ + OutputState: o.OutputState, + } +} + func (o ExecutionStageSummaryKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -656,6 +717,12 @@ func (o ExecutionStageSummaryKindPtrOutput) ToExecutionStageSummaryKindPtrOutput return o } +func (o ExecutionStageSummaryKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecutionStageSummaryKind] { + return pulumix.Output[*ExecutionStageSummaryKind]{ + OutputState: o.OutputState, + } +} + func (o ExecutionStageSummaryKindPtrOutput) Elem() ExecutionStageSummaryKindOutput { return o.ApplyT(func(v *ExecutionStageSummaryKind) ExecutionStageSummaryKind { if v != nil { @@ -718,6 +785,12 @@ func (in *executionStageSummaryKindPtr) ToExecutionStageSummaryKindPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ExecutionStageSummaryKindPtrOutput) } +func (in *executionStageSummaryKindPtr) ToOutput(ctx context.Context) pulumix.Output[*ExecutionStageSummaryKind] { + return pulumix.Output[*ExecutionStageSummaryKind]{ + OutputState: in.ToExecutionStageSummaryKindPtrOutputWithContext(ctx).OutputState, + } +} + // The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it. type JobCurrentState string @@ -810,6 +883,12 @@ func (o JobCurrentStateOutput) ToJobCurrentStatePtrOutputWithContext(ctx context }).(JobCurrentStatePtrOutput) } +func (o JobCurrentStateOutput) ToOutput(ctx context.Context) pulumix.Output[JobCurrentState] { + return pulumix.Output[JobCurrentState]{ + OutputState: o.OutputState, + } +} + func (o JobCurrentStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -845,6 +924,12 @@ func (o JobCurrentStatePtrOutput) ToJobCurrentStatePtrOutputWithContext(ctx cont return o } +func (o JobCurrentStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobCurrentState] { + return pulumix.Output[*JobCurrentState]{ + OutputState: o.OutputState, + } +} + func (o JobCurrentStatePtrOutput) Elem() JobCurrentStateOutput { return o.ApplyT(func(v *JobCurrentState) JobCurrentState { if v != nil { @@ -907,6 +992,12 @@ func (in *jobCurrentStatePtr) ToJobCurrentStatePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(JobCurrentStatePtrOutput) } +func (in *jobCurrentStatePtr) ToOutput(ctx context.Context) pulumix.Output[*JobCurrentState] { + return pulumix.Output[*JobCurrentState]{ + OutputState: in.ToJobCurrentStatePtrOutputWithContext(ctx).OutputState, + } +} + // The job's requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job's requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state. type JobRequestedState string @@ -999,6 +1090,12 @@ func (o JobRequestedStateOutput) ToJobRequestedStatePtrOutputWithContext(ctx con }).(JobRequestedStatePtrOutput) } +func (o JobRequestedStateOutput) ToOutput(ctx context.Context) pulumix.Output[JobRequestedState] { + return pulumix.Output[JobRequestedState]{ + OutputState: o.OutputState, + } +} + func (o JobRequestedStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1034,6 +1131,12 @@ func (o JobRequestedStatePtrOutput) ToJobRequestedStatePtrOutputWithContext(ctx return o } +func (o JobRequestedStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobRequestedState] { + return pulumix.Output[*JobRequestedState]{ + OutputState: o.OutputState, + } +} + func (o JobRequestedStatePtrOutput) Elem() JobRequestedStateOutput { return o.ApplyT(func(v *JobRequestedState) JobRequestedState { if v != nil { @@ -1096,6 +1199,12 @@ func (in *jobRequestedStatePtr) ToJobRequestedStatePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(JobRequestedStatePtrOutput) } +func (in *jobRequestedStatePtr) ToOutput(ctx context.Context) pulumix.Output[*JobRequestedState] { + return pulumix.Output[*JobRequestedState]{ + OutputState: in.ToJobRequestedStatePtrOutputWithContext(ctx).OutputState, + } +} + // The type of Cloud Dataflow job. type JobType string @@ -1168,6 +1277,12 @@ func (o JobTypeOutput) ToJobTypePtrOutputWithContext(ctx context.Context) JobTyp }).(JobTypePtrOutput) } +func (o JobTypeOutput) ToOutput(ctx context.Context) pulumix.Output[JobType] { + return pulumix.Output[JobType]{ + OutputState: o.OutputState, + } +} + func (o JobTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1203,6 +1318,12 @@ func (o JobTypePtrOutput) ToJobTypePtrOutputWithContext(ctx context.Context) Job return o } +func (o JobTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobType] { + return pulumix.Output[*JobType]{ + OutputState: o.OutputState, + } +} + func (o JobTypePtrOutput) Elem() JobTypeOutput { return o.ApplyT(func(v *JobType) JobType { if v != nil { @@ -1265,6 +1386,12 @@ func (in *jobTypePtr) ToJobTypePtrOutputWithContext(ctx context.Context) JobType return pulumi.ToOutputWithContext(ctx, in).(JobTypePtrOutput) } +func (in *jobTypePtr) ToOutput(ctx context.Context) pulumix.Output[*JobType] { + return pulumix.Output[*JobType]{ + OutputState: in.ToJobTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Configuration for VM IPs. type RuntimeEnvironmentIpConfiguration string @@ -1337,6 +1464,12 @@ func (o RuntimeEnvironmentIpConfigurationOutput) ToRuntimeEnvironmentIpConfigura }).(RuntimeEnvironmentIpConfigurationPtrOutput) } +func (o RuntimeEnvironmentIpConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeEnvironmentIpConfiguration] { + return pulumix.Output[RuntimeEnvironmentIpConfiguration]{ + OutputState: o.OutputState, + } +} + func (o RuntimeEnvironmentIpConfigurationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1372,6 +1505,12 @@ func (o RuntimeEnvironmentIpConfigurationPtrOutput) ToRuntimeEnvironmentIpConfig return o } +func (o RuntimeEnvironmentIpConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeEnvironmentIpConfiguration] { + return pulumix.Output[*RuntimeEnvironmentIpConfiguration]{ + OutputState: o.OutputState, + } +} + func (o RuntimeEnvironmentIpConfigurationPtrOutput) Elem() RuntimeEnvironmentIpConfigurationOutput { return o.ApplyT(func(v *RuntimeEnvironmentIpConfiguration) RuntimeEnvironmentIpConfiguration { if v != nil { @@ -1434,6 +1573,12 @@ func (in *runtimeEnvironmentIpConfigurationPtr) ToRuntimeEnvironmentIpConfigurat return pulumi.ToOutputWithContext(ctx, in).(RuntimeEnvironmentIpConfigurationPtrOutput) } +func (in *runtimeEnvironmentIpConfigurationPtr) ToOutput(ctx context.Context) pulumix.Output[*RuntimeEnvironmentIpConfiguration] { + return pulumix.Output[*RuntimeEnvironmentIpConfiguration]{ + OutputState: in.ToRuntimeEnvironmentIpConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // The support status for this SDK version. type SdkVersionSdkSupportStatus string @@ -1510,6 +1655,12 @@ func (o SdkVersionSdkSupportStatusOutput) ToSdkVersionSdkSupportStatusPtrOutputW }).(SdkVersionSdkSupportStatusPtrOutput) } +func (o SdkVersionSdkSupportStatusOutput) ToOutput(ctx context.Context) pulumix.Output[SdkVersionSdkSupportStatus] { + return pulumix.Output[SdkVersionSdkSupportStatus]{ + OutputState: o.OutputState, + } +} + func (o SdkVersionSdkSupportStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1545,6 +1696,12 @@ func (o SdkVersionSdkSupportStatusPtrOutput) ToSdkVersionSdkSupportStatusPtrOutp return o } +func (o SdkVersionSdkSupportStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SdkVersionSdkSupportStatus] { + return pulumix.Output[*SdkVersionSdkSupportStatus]{ + OutputState: o.OutputState, + } +} + func (o SdkVersionSdkSupportStatusPtrOutput) Elem() SdkVersionSdkSupportStatusOutput { return o.ApplyT(func(v *SdkVersionSdkSupportStatus) SdkVersionSdkSupportStatus { if v != nil { @@ -1607,6 +1764,12 @@ func (in *sdkVersionSdkSupportStatusPtr) ToSdkVersionSdkSupportStatusPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(SdkVersionSdkSupportStatusPtrOutput) } +func (in *sdkVersionSdkSupportStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*SdkVersionSdkSupportStatus] { + return pulumix.Output[*SdkVersionSdkSupportStatus]{ + OutputState: in.ToSdkVersionSdkSupportStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Type of transform. type TransformSummaryKind string @@ -1691,6 +1854,12 @@ func (o TransformSummaryKindOutput) ToTransformSummaryKindPtrOutputWithContext(c }).(TransformSummaryKindPtrOutput) } +func (o TransformSummaryKindOutput) ToOutput(ctx context.Context) pulumix.Output[TransformSummaryKind] { + return pulumix.Output[TransformSummaryKind]{ + OutputState: o.OutputState, + } +} + func (o TransformSummaryKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1726,6 +1895,12 @@ func (o TransformSummaryKindPtrOutput) ToTransformSummaryKindPtrOutputWithContex return o } +func (o TransformSummaryKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TransformSummaryKind] { + return pulumix.Output[*TransformSummaryKind]{ + OutputState: o.OutputState, + } +} + func (o TransformSummaryKindPtrOutput) Elem() TransformSummaryKindOutput { return o.ApplyT(func(v *TransformSummaryKind) TransformSummaryKind { if v != nil { @@ -1788,6 +1963,12 @@ func (in *transformSummaryKindPtr) ToTransformSummaryKindPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(TransformSummaryKindPtrOutput) } +func (in *transformSummaryKindPtr) ToOutput(ctx context.Context) pulumix.Output[*TransformSummaryKind] { + return pulumix.Output[*TransformSummaryKind]{ + OutputState: in.ToTransformSummaryKindPtrOutputWithContext(ctx).OutputState, + } +} + // The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language. type WorkerPoolDefaultPackageSet string @@ -1862,6 +2043,12 @@ func (o WorkerPoolDefaultPackageSetOutput) ToWorkerPoolDefaultPackageSetPtrOutpu }).(WorkerPoolDefaultPackageSetPtrOutput) } +func (o WorkerPoolDefaultPackageSetOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerPoolDefaultPackageSet] { + return pulumix.Output[WorkerPoolDefaultPackageSet]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolDefaultPackageSetOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1897,6 +2084,12 @@ func (o WorkerPoolDefaultPackageSetPtrOutput) ToWorkerPoolDefaultPackageSetPtrOu return o } +func (o WorkerPoolDefaultPackageSetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerPoolDefaultPackageSet] { + return pulumix.Output[*WorkerPoolDefaultPackageSet]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolDefaultPackageSetPtrOutput) Elem() WorkerPoolDefaultPackageSetOutput { return o.ApplyT(func(v *WorkerPoolDefaultPackageSet) WorkerPoolDefaultPackageSet { if v != nil { @@ -1959,6 +2152,12 @@ func (in *workerPoolDefaultPackageSetPtr) ToWorkerPoolDefaultPackageSetPtrOutput return pulumi.ToOutputWithContext(ctx, in).(WorkerPoolDefaultPackageSetPtrOutput) } +func (in *workerPoolDefaultPackageSetPtr) ToOutput(ctx context.Context) pulumix.Output[*WorkerPoolDefaultPackageSet] { + return pulumix.Output[*WorkerPoolDefaultPackageSet]{ + OutputState: in.ToWorkerPoolDefaultPackageSetPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for VM IPs. type WorkerPoolIpConfiguration string @@ -2031,6 +2230,12 @@ func (o WorkerPoolIpConfigurationOutput) ToWorkerPoolIpConfigurationPtrOutputWit }).(WorkerPoolIpConfigurationPtrOutput) } +func (o WorkerPoolIpConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerPoolIpConfiguration] { + return pulumix.Output[WorkerPoolIpConfiguration]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolIpConfigurationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2066,6 +2271,12 @@ func (o WorkerPoolIpConfigurationPtrOutput) ToWorkerPoolIpConfigurationPtrOutput return o } +func (o WorkerPoolIpConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerPoolIpConfiguration] { + return pulumix.Output[*WorkerPoolIpConfiguration]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolIpConfigurationPtrOutput) Elem() WorkerPoolIpConfigurationOutput { return o.ApplyT(func(v *WorkerPoolIpConfiguration) WorkerPoolIpConfiguration { if v != nil { @@ -2128,6 +2339,12 @@ func (in *workerPoolIpConfigurationPtr) ToWorkerPoolIpConfigurationPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(WorkerPoolIpConfigurationPtrOutput) } +func (in *workerPoolIpConfigurationPtr) ToOutput(ctx context.Context) pulumix.Output[*WorkerPoolIpConfiguration] { + return pulumix.Output[*WorkerPoolIpConfiguration]{ + OutputState: in.ToWorkerPoolIpConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default. type WorkerPoolTeardownPolicy string @@ -2202,6 +2419,12 @@ func (o WorkerPoolTeardownPolicyOutput) ToWorkerPoolTeardownPolicyPtrOutputWithC }).(WorkerPoolTeardownPolicyPtrOutput) } +func (o WorkerPoolTeardownPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerPoolTeardownPolicy] { + return pulumix.Output[WorkerPoolTeardownPolicy]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolTeardownPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2237,6 +2460,12 @@ func (o WorkerPoolTeardownPolicyPtrOutput) ToWorkerPoolTeardownPolicyPtrOutputWi return o } +func (o WorkerPoolTeardownPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerPoolTeardownPolicy] { + return pulumix.Output[*WorkerPoolTeardownPolicy]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolTeardownPolicyPtrOutput) Elem() WorkerPoolTeardownPolicyOutput { return o.ApplyT(func(v *WorkerPoolTeardownPolicy) WorkerPoolTeardownPolicy { if v != nil { @@ -2299,6 +2528,12 @@ func (in *workerPoolTeardownPolicyPtr) ToWorkerPoolTeardownPolicyPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(WorkerPoolTeardownPolicyPtrOutput) } +func (in *workerPoolTeardownPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*WorkerPoolTeardownPolicy] { + return pulumix.Output[*WorkerPoolTeardownPolicy]{ + OutputState: in.ToWorkerPoolTeardownPolicyPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AutoscalingSettingsAlgorithmInput)(nil)).Elem(), AutoscalingSettingsAlgorithm("AUTOSCALING_ALGORITHM_UNKNOWN")) pulumi.RegisterInputType(reflect.TypeOf((*AutoscalingSettingsAlgorithmPtrInput)(nil)).Elem(), AutoscalingSettingsAlgorithm("AUTOSCALING_ALGORITHM_UNKNOWN")) diff --git a/sdk/go/google/dataflow/v1b3/pulumiTypes.go b/sdk/go/google/dataflow/v1b3/pulumiTypes.go index b28452b012..55ea2f0d96 100644 --- a/sdk/go/google/dataflow/v1b3/pulumiTypes.go +++ b/sdk/go/google/dataflow/v1b3/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AutoscalingSettingsArgs) ToAutoscalingSettingsOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AutoscalingSettingsOutput) } +func (i AutoscalingSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingSettings] { + return pulumix.Output[AutoscalingSettings]{ + OutputState: i.ToAutoscalingSettingsOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingSettingsArgs) ToAutoscalingSettingsPtrOutput() AutoscalingSettingsPtrOutput { return i.ToAutoscalingSettingsPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *autoscalingSettingsPtrType) ToAutoscalingSettingsPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(AutoscalingSettingsPtrOutput) } +func (i *autoscalingSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingSettings] { + return pulumix.Output[*AutoscalingSettings]{ + OutputState: i.ToAutoscalingSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for WorkerPool autoscaling. type AutoscalingSettingsOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AutoscalingSettingsOutput) ToAutoscalingSettingsPtrOutputWithContext(ctx }).(AutoscalingSettingsPtrOutput) } +func (o AutoscalingSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingSettings] { + return pulumix.Output[AutoscalingSettings]{ + OutputState: o.OutputState, + } +} + // The algorithm to use for autoscaling. func (o AutoscalingSettingsOutput) Algorithm() AutoscalingSettingsAlgorithmPtrOutput { return o.ApplyT(func(v AutoscalingSettings) *AutoscalingSettingsAlgorithm { return v.Algorithm }).(AutoscalingSettingsAlgorithmPtrOutput) @@ -142,6 +161,12 @@ func (o AutoscalingSettingsPtrOutput) ToAutoscalingSettingsPtrOutputWithContext( return o } +func (o AutoscalingSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingSettings] { + return pulumix.Output[*AutoscalingSettings]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingSettingsPtrOutput) Elem() AutoscalingSettingsOutput { return o.ApplyT(func(v *AutoscalingSettings) AutoscalingSettings { if v != nil { @@ -195,6 +220,12 @@ func (o AutoscalingSettingsResponseOutput) ToAutoscalingSettingsResponseOutputWi return o } +func (o AutoscalingSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingSettingsResponse] { + return pulumix.Output[AutoscalingSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The algorithm to use for autoscaling. func (o AutoscalingSettingsResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v AutoscalingSettingsResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -252,6 +283,12 @@ func (i BigQueryIODetailsArgs) ToBigQueryIODetailsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BigQueryIODetailsOutput) } +func (i BigQueryIODetailsArgs) ToOutput(ctx context.Context) pulumix.Output[BigQueryIODetails] { + return pulumix.Output[BigQueryIODetails]{ + OutputState: i.ToBigQueryIODetailsOutputWithContext(ctx).OutputState, + } +} + // BigQueryIODetailsArrayInput is an input type that accepts BigQueryIODetailsArray and BigQueryIODetailsArrayOutput values. // You can construct a concrete instance of `BigQueryIODetailsArrayInput` via: // @@ -277,6 +314,12 @@ func (i BigQueryIODetailsArray) ToBigQueryIODetailsArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(BigQueryIODetailsArrayOutput) } +func (i BigQueryIODetailsArray) ToOutput(ctx context.Context) pulumix.Output[[]BigQueryIODetails] { + return pulumix.Output[[]BigQueryIODetails]{ + OutputState: i.ToBigQueryIODetailsArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata for a BigQuery connector used by the job. type BigQueryIODetailsOutput struct{ *pulumi.OutputState } @@ -292,6 +335,12 @@ func (o BigQueryIODetailsOutput) ToBigQueryIODetailsOutputWithContext(ctx contex return o } +func (o BigQueryIODetailsOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryIODetails] { + return pulumix.Output[BigQueryIODetails]{ + OutputState: o.OutputState, + } +} + // Dataset accessed in the connection. func (o BigQueryIODetailsOutput) Dataset() pulumi.StringPtrOutput { return o.ApplyT(func(v BigQueryIODetails) *string { return v.Dataset }).(pulumi.StringPtrOutput) @@ -326,6 +375,12 @@ func (o BigQueryIODetailsArrayOutput) ToBigQueryIODetailsArrayOutputWithContext( return o } +func (o BigQueryIODetailsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BigQueryIODetails] { + return pulumix.Output[[]BigQueryIODetails]{ + OutputState: o.OutputState, + } +} + func (o BigQueryIODetailsArrayOutput) Index(i pulumi.IntInput) BigQueryIODetailsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BigQueryIODetails { return vs[0].([]BigQueryIODetails)[vs[1].(int)] @@ -359,6 +414,12 @@ func (o BigQueryIODetailsResponseOutput) ToBigQueryIODetailsResponseOutputWithCo return o } +func (o BigQueryIODetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryIODetailsResponse] { + return pulumix.Output[BigQueryIODetailsResponse]{ + OutputState: o.OutputState, + } +} + // Dataset accessed in the connection. func (o BigQueryIODetailsResponseOutput) Dataset() pulumi.StringOutput { return o.ApplyT(func(v BigQueryIODetailsResponse) string { return v.Dataset }).(pulumi.StringOutput) @@ -393,6 +454,12 @@ func (o BigQueryIODetailsResponseArrayOutput) ToBigQueryIODetailsResponseArrayOu return o } +func (o BigQueryIODetailsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BigQueryIODetailsResponse] { + return pulumix.Output[[]BigQueryIODetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o BigQueryIODetailsResponseArrayOutput) Index(i pulumi.IntInput) BigQueryIODetailsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BigQueryIODetailsResponse { return vs[0].([]BigQueryIODetailsResponse)[vs[1].(int)] @@ -442,6 +509,12 @@ func (i BigTableIODetailsArgs) ToBigTableIODetailsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BigTableIODetailsOutput) } +func (i BigTableIODetailsArgs) ToOutput(ctx context.Context) pulumix.Output[BigTableIODetails] { + return pulumix.Output[BigTableIODetails]{ + OutputState: i.ToBigTableIODetailsOutputWithContext(ctx).OutputState, + } +} + // BigTableIODetailsArrayInput is an input type that accepts BigTableIODetailsArray and BigTableIODetailsArrayOutput values. // You can construct a concrete instance of `BigTableIODetailsArrayInput` via: // @@ -467,6 +540,12 @@ func (i BigTableIODetailsArray) ToBigTableIODetailsArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(BigTableIODetailsArrayOutput) } +func (i BigTableIODetailsArray) ToOutput(ctx context.Context) pulumix.Output[[]BigTableIODetails] { + return pulumix.Output[[]BigTableIODetails]{ + OutputState: i.ToBigTableIODetailsArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata for a Cloud Bigtable connector used by the job. type BigTableIODetailsOutput struct{ *pulumi.OutputState } @@ -482,6 +561,12 @@ func (o BigTableIODetailsOutput) ToBigTableIODetailsOutputWithContext(ctx contex return o } +func (o BigTableIODetailsOutput) ToOutput(ctx context.Context) pulumix.Output[BigTableIODetails] { + return pulumix.Output[BigTableIODetails]{ + OutputState: o.OutputState, + } +} + // InstanceId accessed in the connection. func (o BigTableIODetailsOutput) InstanceId() pulumi.StringPtrOutput { return o.ApplyT(func(v BigTableIODetails) *string { return v.InstanceId }).(pulumi.StringPtrOutput) @@ -511,6 +596,12 @@ func (o BigTableIODetailsArrayOutput) ToBigTableIODetailsArrayOutputWithContext( return o } +func (o BigTableIODetailsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BigTableIODetails] { + return pulumix.Output[[]BigTableIODetails]{ + OutputState: o.OutputState, + } +} + func (o BigTableIODetailsArrayOutput) Index(i pulumi.IntInput) BigTableIODetailsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BigTableIODetails { return vs[0].([]BigTableIODetails)[vs[1].(int)] @@ -542,6 +633,12 @@ func (o BigTableIODetailsResponseOutput) ToBigTableIODetailsResponseOutputWithCo return o } +func (o BigTableIODetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigTableIODetailsResponse] { + return pulumix.Output[BigTableIODetailsResponse]{ + OutputState: o.OutputState, + } +} + // InstanceId accessed in the connection. func (o BigTableIODetailsResponseOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v BigTableIODetailsResponse) string { return v.InstanceId }).(pulumi.StringOutput) @@ -571,6 +668,12 @@ func (o BigTableIODetailsResponseArrayOutput) ToBigTableIODetailsResponseArrayOu return o } +func (o BigTableIODetailsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BigTableIODetailsResponse] { + return pulumix.Output[[]BigTableIODetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o BigTableIODetailsResponseArrayOutput) Index(i pulumi.IntInput) BigTableIODetailsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BigTableIODetailsResponse { return vs[0].([]BigTableIODetailsResponse)[vs[1].(int)] @@ -620,6 +723,12 @@ func (i ComponentSourceArgs) ToComponentSourceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ComponentSourceOutput) } +func (i ComponentSourceArgs) ToOutput(ctx context.Context) pulumix.Output[ComponentSource] { + return pulumix.Output[ComponentSource]{ + OutputState: i.ToComponentSourceOutputWithContext(ctx).OutputState, + } +} + // ComponentSourceArrayInput is an input type that accepts ComponentSourceArray and ComponentSourceArrayOutput values. // You can construct a concrete instance of `ComponentSourceArrayInput` via: // @@ -645,6 +754,12 @@ func (i ComponentSourceArray) ToComponentSourceArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ComponentSourceArrayOutput) } +func (i ComponentSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]ComponentSource] { + return pulumix.Output[[]ComponentSource]{ + OutputState: i.ToComponentSourceArrayOutputWithContext(ctx).OutputState, + } +} + // Description of an interstitial value between transforms in an execution stage. type ComponentSourceOutput struct{ *pulumi.OutputState } @@ -660,6 +775,12 @@ func (o ComponentSourceOutput) ToComponentSourceOutputWithContext(ctx context.Co return o } +func (o ComponentSourceOutput) ToOutput(ctx context.Context) pulumix.Output[ComponentSource] { + return pulumix.Output[ComponentSource]{ + OutputState: o.OutputState, + } +} + // Dataflow service generated name for this source. func (o ComponentSourceOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v ComponentSource) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -689,6 +810,12 @@ func (o ComponentSourceArrayOutput) ToComponentSourceArrayOutputWithContext(ctx return o } +func (o ComponentSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ComponentSource] { + return pulumix.Output[[]ComponentSource]{ + OutputState: o.OutputState, + } +} + func (o ComponentSourceArrayOutput) Index(i pulumi.IntInput) ComponentSourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ComponentSource { return vs[0].([]ComponentSource)[vs[1].(int)] @@ -720,6 +847,12 @@ func (o ComponentSourceResponseOutput) ToComponentSourceResponseOutputWithContex return o } +func (o ComponentSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComponentSourceResponse] { + return pulumix.Output[ComponentSourceResponse]{ + OutputState: o.OutputState, + } +} + // Dataflow service generated name for this source. func (o ComponentSourceResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v ComponentSourceResponse) string { return v.Name }).(pulumi.StringOutput) @@ -749,6 +882,12 @@ func (o ComponentSourceResponseArrayOutput) ToComponentSourceResponseArrayOutput return o } +func (o ComponentSourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ComponentSourceResponse] { + return pulumix.Output[[]ComponentSourceResponse]{ + OutputState: o.OutputState, + } +} + func (o ComponentSourceResponseArrayOutput) Index(i pulumi.IntInput) ComponentSourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ComponentSourceResponse { return vs[0].([]ComponentSourceResponse)[vs[1].(int)] @@ -798,6 +937,12 @@ func (i ComponentTransformArgs) ToComponentTransformOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ComponentTransformOutput) } +func (i ComponentTransformArgs) ToOutput(ctx context.Context) pulumix.Output[ComponentTransform] { + return pulumix.Output[ComponentTransform]{ + OutputState: i.ToComponentTransformOutputWithContext(ctx).OutputState, + } +} + // ComponentTransformArrayInput is an input type that accepts ComponentTransformArray and ComponentTransformArrayOutput values. // You can construct a concrete instance of `ComponentTransformArrayInput` via: // @@ -823,6 +968,12 @@ func (i ComponentTransformArray) ToComponentTransformArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ComponentTransformArrayOutput) } +func (i ComponentTransformArray) ToOutput(ctx context.Context) pulumix.Output[[]ComponentTransform] { + return pulumix.Output[[]ComponentTransform]{ + OutputState: i.ToComponentTransformArrayOutputWithContext(ctx).OutputState, + } +} + // Description of a transform executed as part of an execution stage. type ComponentTransformOutput struct{ *pulumi.OutputState } @@ -838,6 +989,12 @@ func (o ComponentTransformOutput) ToComponentTransformOutputWithContext(ctx cont return o } +func (o ComponentTransformOutput) ToOutput(ctx context.Context) pulumix.Output[ComponentTransform] { + return pulumix.Output[ComponentTransform]{ + OutputState: o.OutputState, + } +} + // Dataflow service generated name for this source. func (o ComponentTransformOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v ComponentTransform) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -867,6 +1024,12 @@ func (o ComponentTransformArrayOutput) ToComponentTransformArrayOutputWithContex return o } +func (o ComponentTransformArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ComponentTransform] { + return pulumix.Output[[]ComponentTransform]{ + OutputState: o.OutputState, + } +} + func (o ComponentTransformArrayOutput) Index(i pulumi.IntInput) ComponentTransformOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ComponentTransform { return vs[0].([]ComponentTransform)[vs[1].(int)] @@ -898,6 +1061,12 @@ func (o ComponentTransformResponseOutput) ToComponentTransformResponseOutputWith return o } +func (o ComponentTransformResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComponentTransformResponse] { + return pulumix.Output[ComponentTransformResponse]{ + OutputState: o.OutputState, + } +} + // Dataflow service generated name for this source. func (o ComponentTransformResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v ComponentTransformResponse) string { return v.Name }).(pulumi.StringOutput) @@ -927,6 +1096,12 @@ func (o ComponentTransformResponseArrayOutput) ToComponentTransformResponseArray return o } +func (o ComponentTransformResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ComponentTransformResponse] { + return pulumix.Output[[]ComponentTransformResponse]{ + OutputState: o.OutputState, + } +} + func (o ComponentTransformResponseArrayOutput) Index(i pulumi.IntInput) ComponentTransformResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ComponentTransformResponse { return vs[0].([]ComponentTransformResponse)[vs[1].(int)] @@ -972,6 +1147,12 @@ func (i DatastoreIODetailsArgs) ToDatastoreIODetailsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DatastoreIODetailsOutput) } +func (i DatastoreIODetailsArgs) ToOutput(ctx context.Context) pulumix.Output[DatastoreIODetails] { + return pulumix.Output[DatastoreIODetails]{ + OutputState: i.ToDatastoreIODetailsOutputWithContext(ctx).OutputState, + } +} + // DatastoreIODetailsArrayInput is an input type that accepts DatastoreIODetailsArray and DatastoreIODetailsArrayOutput values. // You can construct a concrete instance of `DatastoreIODetailsArrayInput` via: // @@ -997,6 +1178,12 @@ func (i DatastoreIODetailsArray) ToDatastoreIODetailsArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DatastoreIODetailsArrayOutput) } +func (i DatastoreIODetailsArray) ToOutput(ctx context.Context) pulumix.Output[[]DatastoreIODetails] { + return pulumix.Output[[]DatastoreIODetails]{ + OutputState: i.ToDatastoreIODetailsArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata for a Datastore connector used by the job. type DatastoreIODetailsOutput struct{ *pulumi.OutputState } @@ -1012,6 +1199,12 @@ func (o DatastoreIODetailsOutput) ToDatastoreIODetailsOutputWithContext(ctx cont return o } +func (o DatastoreIODetailsOutput) ToOutput(ctx context.Context) pulumix.Output[DatastoreIODetails] { + return pulumix.Output[DatastoreIODetails]{ + OutputState: o.OutputState, + } +} + // Namespace used in the connection. func (o DatastoreIODetailsOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v DatastoreIODetails) *string { return v.Namespace }).(pulumi.StringPtrOutput) @@ -1036,6 +1229,12 @@ func (o DatastoreIODetailsArrayOutput) ToDatastoreIODetailsArrayOutputWithContex return o } +func (o DatastoreIODetailsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatastoreIODetails] { + return pulumix.Output[[]DatastoreIODetails]{ + OutputState: o.OutputState, + } +} + func (o DatastoreIODetailsArrayOutput) Index(i pulumi.IntInput) DatastoreIODetailsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatastoreIODetails { return vs[0].([]DatastoreIODetails)[vs[1].(int)] @@ -1065,6 +1264,12 @@ func (o DatastoreIODetailsResponseOutput) ToDatastoreIODetailsResponseOutputWith return o } +func (o DatastoreIODetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatastoreIODetailsResponse] { + return pulumix.Output[DatastoreIODetailsResponse]{ + OutputState: o.OutputState, + } +} + // Namespace used in the connection. func (o DatastoreIODetailsResponseOutput) Namespace() pulumi.StringOutput { return o.ApplyT(func(v DatastoreIODetailsResponse) string { return v.Namespace }).(pulumi.StringOutput) @@ -1089,6 +1294,12 @@ func (o DatastoreIODetailsResponseArrayOutput) ToDatastoreIODetailsResponseArray return o } +func (o DatastoreIODetailsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatastoreIODetailsResponse] { + return pulumix.Output[[]DatastoreIODetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o DatastoreIODetailsResponseArrayOutput) Index(i pulumi.IntInput) DatastoreIODetailsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatastoreIODetailsResponse { return vs[0].([]DatastoreIODetailsResponse)[vs[1].(int)] @@ -1130,6 +1341,12 @@ func (i DebugOptionsArgs) ToDebugOptionsOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DebugOptionsOutput) } +func (i DebugOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[DebugOptions] { + return pulumix.Output[DebugOptions]{ + OutputState: i.ToDebugOptionsOutputWithContext(ctx).OutputState, + } +} + func (i DebugOptionsArgs) ToDebugOptionsPtrOutput() DebugOptionsPtrOutput { return i.ToDebugOptionsPtrOutputWithContext(context.Background()) } @@ -1171,6 +1388,12 @@ func (i *debugOptionsPtrType) ToDebugOptionsPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DebugOptionsPtrOutput) } +func (i *debugOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DebugOptions] { + return pulumix.Output[*DebugOptions]{ + OutputState: i.ToDebugOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes any options that have an effect on the debugging of pipelines. type DebugOptionsOutput struct{ *pulumi.OutputState } @@ -1196,6 +1419,12 @@ func (o DebugOptionsOutput) ToDebugOptionsPtrOutputWithContext(ctx context.Conte }).(DebugOptionsPtrOutput) } +func (o DebugOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[DebugOptions] { + return pulumix.Output[DebugOptions]{ + OutputState: o.OutputState, + } +} + // When true, enables the logging of the literal hot key to the user's Cloud Logging. func (o DebugOptionsOutput) EnableHotKeyLogging() pulumi.BoolPtrOutput { return o.ApplyT(func(v DebugOptions) *bool { return v.EnableHotKeyLogging }).(pulumi.BoolPtrOutput) @@ -1215,6 +1444,12 @@ func (o DebugOptionsPtrOutput) ToDebugOptionsPtrOutputWithContext(ctx context.Co return o } +func (o DebugOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DebugOptions] { + return pulumix.Output[*DebugOptions]{ + OutputState: o.OutputState, + } +} + func (o DebugOptionsPtrOutput) Elem() DebugOptionsOutput { return o.ApplyT(func(v *DebugOptions) DebugOptions { if v != nil { @@ -1256,6 +1491,12 @@ func (o DebugOptionsResponseOutput) ToDebugOptionsResponseOutputWithContext(ctx return o } +func (o DebugOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DebugOptionsResponse] { + return pulumix.Output[DebugOptionsResponse]{ + OutputState: o.OutputState, + } +} + // When true, enables the logging of the literal hot key to the user's Cloud Logging. func (o DebugOptionsResponseOutput) EnableHotKeyLogging() pulumi.BoolOutput { return o.ApplyT(func(v DebugOptionsResponse) bool { return v.EnableHotKeyLogging }).(pulumi.BoolOutput) @@ -1304,6 +1545,12 @@ func (i DiskArgs) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return pulumi.ToOutputWithContext(ctx, i).(DiskOutput) } +func (i DiskArgs) ToOutput(ctx context.Context) pulumix.Output[Disk] { + return pulumix.Output[Disk]{ + OutputState: i.ToDiskOutputWithContext(ctx).OutputState, + } +} + // DiskArrayInput is an input type that accepts DiskArray and DiskArrayOutput values. // You can construct a concrete instance of `DiskArrayInput` via: // @@ -1329,6 +1576,12 @@ func (i DiskArray) ToDiskArrayOutputWithContext(ctx context.Context) DiskArrayOu return pulumi.ToOutputWithContext(ctx, i).(DiskArrayOutput) } +func (i DiskArray) ToOutput(ctx context.Context) pulumix.Output[[]Disk] { + return pulumix.Output[[]Disk]{ + OutputState: i.ToDiskArrayOutputWithContext(ctx).OutputState, + } +} + // Describes the data disk used by a workflow job. type DiskOutput struct{ *pulumi.OutputState } @@ -1344,6 +1597,12 @@ func (o DiskOutput) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return o } +func (o DiskOutput) ToOutput(ctx context.Context) pulumix.Output[Disk] { + return pulumix.Output[Disk]{ + OutputState: o.OutputState, + } +} + // Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard func (o DiskOutput) DiskType() pulumi.StringPtrOutput { return o.ApplyT(func(v Disk) *string { return v.DiskType }).(pulumi.StringPtrOutput) @@ -1373,6 +1632,12 @@ func (o DiskArrayOutput) ToDiskArrayOutputWithContext(ctx context.Context) DiskA return o } +func (o DiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Disk] { + return pulumix.Output[[]Disk]{ + OutputState: o.OutputState, + } +} + func (o DiskArrayOutput) Index(i pulumi.IntInput) DiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Disk { return vs[0].([]Disk)[vs[1].(int)] @@ -1404,6 +1669,12 @@ func (o DiskResponseOutput) ToDiskResponseOutputWithContext(ctx context.Context) return o } +func (o DiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskResponse] { + return pulumix.Output[DiskResponse]{ + OutputState: o.OutputState, + } +} + // Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard func (o DiskResponseOutput) DiskType() pulumi.StringOutput { return o.ApplyT(func(v DiskResponse) string { return v.DiskType }).(pulumi.StringOutput) @@ -1433,6 +1704,12 @@ func (o DiskResponseArrayOutput) ToDiskResponseArrayOutputWithContext(ctx contex return o } +func (o DiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiskResponse] { + return pulumix.Output[[]DiskResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskResponseArrayOutput) Index(i pulumi.IntInput) DiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiskResponse { return vs[0].([]DiskResponse)[vs[1].(int)] @@ -1518,6 +1795,12 @@ func (i DisplayDataArgs) ToDisplayDataOutputWithContext(ctx context.Context) Dis return pulumi.ToOutputWithContext(ctx, i).(DisplayDataOutput) } +func (i DisplayDataArgs) ToOutput(ctx context.Context) pulumix.Output[DisplayData] { + return pulumix.Output[DisplayData]{ + OutputState: i.ToDisplayDataOutputWithContext(ctx).OutputState, + } +} + // DisplayDataArrayInput is an input type that accepts DisplayDataArray and DisplayDataArrayOutput values. // You can construct a concrete instance of `DisplayDataArrayInput` via: // @@ -1543,6 +1826,12 @@ func (i DisplayDataArray) ToDisplayDataArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DisplayDataArrayOutput) } +func (i DisplayDataArray) ToOutput(ctx context.Context) pulumix.Output[[]DisplayData] { + return pulumix.Output[[]DisplayData]{ + OutputState: i.ToDisplayDataArrayOutputWithContext(ctx).OutputState, + } +} + // Data provided with a pipeline or transform to provide descriptive info. type DisplayDataOutput struct{ *pulumi.OutputState } @@ -1558,6 +1847,12 @@ func (o DisplayDataOutput) ToDisplayDataOutputWithContext(ctx context.Context) D return o } +func (o DisplayDataOutput) ToOutput(ctx context.Context) pulumix.Output[DisplayData] { + return pulumix.Output[DisplayData]{ + OutputState: o.OutputState, + } +} + // Contains value if the data is of a boolean type. func (o DisplayDataOutput) BoolValue() pulumi.BoolPtrOutput { return o.ApplyT(func(v DisplayData) *bool { return v.BoolValue }).(pulumi.BoolPtrOutput) @@ -1632,6 +1927,12 @@ func (o DisplayDataArrayOutput) ToDisplayDataArrayOutputWithContext(ctx context. return o } +func (o DisplayDataArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DisplayData] { + return pulumix.Output[[]DisplayData]{ + OutputState: o.OutputState, + } +} + func (o DisplayDataArrayOutput) Index(i pulumi.IntInput) DisplayDataOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DisplayData { return vs[0].([]DisplayData)[vs[1].(int)] @@ -1681,6 +1982,12 @@ func (o DisplayDataResponseOutput) ToDisplayDataResponseOutputWithContext(ctx co return o } +func (o DisplayDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DisplayDataResponse] { + return pulumix.Output[DisplayDataResponse]{ + OutputState: o.OutputState, + } +} + // Contains value if the data is of a boolean type. func (o DisplayDataResponseOutput) BoolValue() pulumi.BoolOutput { return o.ApplyT(func(v DisplayDataResponse) bool { return v.BoolValue }).(pulumi.BoolOutput) @@ -1755,6 +2062,12 @@ func (o DisplayDataResponseArrayOutput) ToDisplayDataResponseArrayOutputWithCont return o } +func (o DisplayDataResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DisplayDataResponse] { + return pulumix.Output[[]DisplayDataResponse]{ + OutputState: o.OutputState, + } +} + func (o DisplayDataResponseArrayOutput) Index(i pulumi.IntInput) DisplayDataResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DisplayDataResponse { return vs[0].([]DisplayDataResponse)[vs[1].(int)] @@ -1856,6 +2169,12 @@ func (i EnvironmentArgs) ToEnvironmentOutputWithContext(ctx context.Context) Env return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i EnvironmentArgs) ToOutput(ctx context.Context) pulumix.Output[Environment] { + return pulumix.Output[Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + func (i EnvironmentArgs) ToEnvironmentPtrOutput() EnvironmentPtrOutput { return i.ToEnvironmentPtrOutputWithContext(context.Background()) } @@ -1897,6 +2216,12 @@ func (i *environmentPtrType) ToEnvironmentPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(EnvironmentPtrOutput) } +func (i *environmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the environment in which a Dataflow Job runs. type EnvironmentOutput struct{ *pulumi.OutputState } @@ -1922,6 +2247,12 @@ func (o EnvironmentOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context }).(EnvironmentPtrOutput) } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[Environment] { + return pulumix.Output[Environment]{ + OutputState: o.OutputState, + } +} + // The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com". func (o EnvironmentOutput) ClusterManagerApiService() pulumi.StringPtrOutput { return o.ApplyT(func(v Environment) *string { return v.ClusterManagerApiService }).(pulumi.StringPtrOutput) @@ -2016,6 +2347,12 @@ func (o EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext(ctx context.Cont return o } +func (o EnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentPtrOutput) Elem() EnvironmentOutput { return o.ApplyT(func(v *Environment) Environment { if v != nil { @@ -2239,6 +2576,12 @@ func (o EnvironmentResponseOutput) ToEnvironmentResponseOutputWithContext(ctx co return o } +func (o EnvironmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentResponse] { + return pulumix.Output[EnvironmentResponse]{ + OutputState: o.OutputState, + } +} + // The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com". func (o EnvironmentResponseOutput) ClusterManagerApiService() pulumi.StringOutput { return o.ApplyT(func(v EnvironmentResponse) string { return v.ClusterManagerApiService }).(pulumi.StringOutput) @@ -2367,6 +2710,12 @@ func (i ExecutionStageStateArgs) ToExecutionStageStateOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ExecutionStageStateOutput) } +func (i ExecutionStageStateArgs) ToOutput(ctx context.Context) pulumix.Output[ExecutionStageState] { + return pulumix.Output[ExecutionStageState]{ + OutputState: i.ToExecutionStageStateOutputWithContext(ctx).OutputState, + } +} + // ExecutionStageStateArrayInput is an input type that accepts ExecutionStageStateArray and ExecutionStageStateArrayOutput values. // You can construct a concrete instance of `ExecutionStageStateArrayInput` via: // @@ -2392,6 +2741,12 @@ func (i ExecutionStageStateArray) ToExecutionStageStateArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ExecutionStageStateArrayOutput) } +func (i ExecutionStageStateArray) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionStageState] { + return pulumix.Output[[]ExecutionStageState]{ + OutputState: i.ToExecutionStageStateArrayOutputWithContext(ctx).OutputState, + } +} + // A message describing the state of a particular execution stage. type ExecutionStageStateOutput struct{ *pulumi.OutputState } @@ -2407,6 +2762,12 @@ func (o ExecutionStageStateOutput) ToExecutionStageStateOutputWithContext(ctx co return o } +func (o ExecutionStageStateOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionStageState] { + return pulumix.Output[ExecutionStageState]{ + OutputState: o.OutputState, + } +} + // The time at which the stage transitioned to this state. func (o ExecutionStageStateOutput) CurrentStateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ExecutionStageState) *string { return v.CurrentStateTime }).(pulumi.StringPtrOutput) @@ -2436,6 +2797,12 @@ func (o ExecutionStageStateArrayOutput) ToExecutionStageStateArrayOutputWithCont return o } +func (o ExecutionStageStateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionStageState] { + return pulumix.Output[[]ExecutionStageState]{ + OutputState: o.OutputState, + } +} + func (o ExecutionStageStateArrayOutput) Index(i pulumi.IntInput) ExecutionStageStateOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExecutionStageState { return vs[0].([]ExecutionStageState)[vs[1].(int)] @@ -2467,6 +2834,12 @@ func (o ExecutionStageStateResponseOutput) ToExecutionStageStateResponseOutputWi return o } +func (o ExecutionStageStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionStageStateResponse] { + return pulumix.Output[ExecutionStageStateResponse]{ + OutputState: o.OutputState, + } +} + // The time at which the stage transitioned to this state. func (o ExecutionStageStateResponseOutput) CurrentStateTime() pulumi.StringOutput { return o.ApplyT(func(v ExecutionStageStateResponse) string { return v.CurrentStateTime }).(pulumi.StringOutput) @@ -2496,6 +2869,12 @@ func (o ExecutionStageStateResponseArrayOutput) ToExecutionStageStateResponseArr return o } +func (o ExecutionStageStateResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionStageStateResponse] { + return pulumix.Output[[]ExecutionStageStateResponse]{ + OutputState: o.OutputState, + } +} + func (o ExecutionStageStateResponseArrayOutput) Index(i pulumi.IntInput) ExecutionStageStateResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExecutionStageStateResponse { return vs[0].([]ExecutionStageStateResponse)[vs[1].(int)] @@ -2565,6 +2944,12 @@ func (i ExecutionStageSummaryArgs) ToExecutionStageSummaryOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ExecutionStageSummaryOutput) } +func (i ExecutionStageSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[ExecutionStageSummary] { + return pulumix.Output[ExecutionStageSummary]{ + OutputState: i.ToExecutionStageSummaryOutputWithContext(ctx).OutputState, + } +} + // ExecutionStageSummaryArrayInput is an input type that accepts ExecutionStageSummaryArray and ExecutionStageSummaryArrayOutput values. // You can construct a concrete instance of `ExecutionStageSummaryArrayInput` via: // @@ -2590,6 +2975,12 @@ func (i ExecutionStageSummaryArray) ToExecutionStageSummaryArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ExecutionStageSummaryArrayOutput) } +func (i ExecutionStageSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionStageSummary] { + return pulumix.Output[[]ExecutionStageSummary]{ + OutputState: i.ToExecutionStageSummaryArrayOutputWithContext(ctx).OutputState, + } +} + // Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning. type ExecutionStageSummaryOutput struct{ *pulumi.OutputState } @@ -2605,6 +2996,12 @@ func (o ExecutionStageSummaryOutput) ToExecutionStageSummaryOutputWithContext(ct return o } +func (o ExecutionStageSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionStageSummary] { + return pulumix.Output[ExecutionStageSummary]{ + OutputState: o.OutputState, + } +} + // Collections produced and consumed by component transforms of this stage. func (o ExecutionStageSummaryOutput) ComponentSource() ComponentSourceArrayOutput { return o.ApplyT(func(v ExecutionStageSummary) []ComponentSource { return v.ComponentSource }).(ComponentSourceArrayOutput) @@ -2659,6 +3056,12 @@ func (o ExecutionStageSummaryArrayOutput) ToExecutionStageSummaryArrayOutputWith return o } +func (o ExecutionStageSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionStageSummary] { + return pulumix.Output[[]ExecutionStageSummary]{ + OutputState: o.OutputState, + } +} + func (o ExecutionStageSummaryArrayOutput) Index(i pulumi.IntInput) ExecutionStageSummaryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExecutionStageSummary { return vs[0].([]ExecutionStageSummary)[vs[1].(int)] @@ -2698,6 +3101,12 @@ func (o ExecutionStageSummaryResponseOutput) ToExecutionStageSummaryResponseOutp return o } +func (o ExecutionStageSummaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionStageSummaryResponse] { + return pulumix.Output[ExecutionStageSummaryResponse]{ + OutputState: o.OutputState, + } +} + // Collections produced and consumed by component transforms of this stage. func (o ExecutionStageSummaryResponseOutput) ComponentSource() ComponentSourceResponseArrayOutput { return o.ApplyT(func(v ExecutionStageSummaryResponse) []ComponentSourceResponse { return v.ComponentSource }).(ComponentSourceResponseArrayOutput) @@ -2747,6 +3156,12 @@ func (o ExecutionStageSummaryResponseArrayOutput) ToExecutionStageSummaryRespons return o } +func (o ExecutionStageSummaryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionStageSummaryResponse] { + return pulumix.Output[[]ExecutionStageSummaryResponse]{ + OutputState: o.OutputState, + } +} + func (o ExecutionStageSummaryResponseArrayOutput) Index(i pulumi.IntInput) ExecutionStageSummaryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExecutionStageSummaryResponse { return vs[0].([]ExecutionStageSummaryResponse)[vs[1].(int)] @@ -2788,6 +3203,12 @@ func (i FileIODetailsArgs) ToFileIODetailsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FileIODetailsOutput) } +func (i FileIODetailsArgs) ToOutput(ctx context.Context) pulumix.Output[FileIODetails] { + return pulumix.Output[FileIODetails]{ + OutputState: i.ToFileIODetailsOutputWithContext(ctx).OutputState, + } +} + // FileIODetailsArrayInput is an input type that accepts FileIODetailsArray and FileIODetailsArrayOutput values. // You can construct a concrete instance of `FileIODetailsArrayInput` via: // @@ -2813,6 +3234,12 @@ func (i FileIODetailsArray) ToFileIODetailsArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(FileIODetailsArrayOutput) } +func (i FileIODetailsArray) ToOutput(ctx context.Context) pulumix.Output[[]FileIODetails] { + return pulumix.Output[[]FileIODetails]{ + OutputState: i.ToFileIODetailsArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata for a File connector used by the job. type FileIODetailsOutput struct{ *pulumi.OutputState } @@ -2828,6 +3255,12 @@ func (o FileIODetailsOutput) ToFileIODetailsOutputWithContext(ctx context.Contex return o } +func (o FileIODetailsOutput) ToOutput(ctx context.Context) pulumix.Output[FileIODetails] { + return pulumix.Output[FileIODetails]{ + OutputState: o.OutputState, + } +} + // File Pattern used to access files by the connector. func (o FileIODetailsOutput) FilePattern() pulumi.StringPtrOutput { return o.ApplyT(func(v FileIODetails) *string { return v.FilePattern }).(pulumi.StringPtrOutput) @@ -2847,6 +3280,12 @@ func (o FileIODetailsArrayOutput) ToFileIODetailsArrayOutputWithContext(ctx cont return o } +func (o FileIODetailsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileIODetails] { + return pulumix.Output[[]FileIODetails]{ + OutputState: o.OutputState, + } +} + func (o FileIODetailsArrayOutput) Index(i pulumi.IntInput) FileIODetailsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileIODetails { return vs[0].([]FileIODetails)[vs[1].(int)] @@ -2874,6 +3313,12 @@ func (o FileIODetailsResponseOutput) ToFileIODetailsResponseOutputWithContext(ct return o } +func (o FileIODetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileIODetailsResponse] { + return pulumix.Output[FileIODetailsResponse]{ + OutputState: o.OutputState, + } +} + // File Pattern used to access files by the connector. func (o FileIODetailsResponseOutput) FilePattern() pulumi.StringOutput { return o.ApplyT(func(v FileIODetailsResponse) string { return v.FilePattern }).(pulumi.StringOutput) @@ -2893,6 +3338,12 @@ func (o FileIODetailsResponseArrayOutput) ToFileIODetailsResponseArrayOutputWith return o } +func (o FileIODetailsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileIODetailsResponse] { + return pulumix.Output[[]FileIODetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o FileIODetailsResponseArrayOutput) Index(i pulumi.IntInput) FileIODetailsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileIODetailsResponse { return vs[0].([]FileIODetailsResponse)[vs[1].(int)] @@ -2934,6 +3385,12 @@ func (i JobExecutionInfoArgs) ToJobExecutionInfoOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(JobExecutionInfoOutput) } +func (i JobExecutionInfoArgs) ToOutput(ctx context.Context) pulumix.Output[JobExecutionInfo] { + return pulumix.Output[JobExecutionInfo]{ + OutputState: i.ToJobExecutionInfoOutputWithContext(ctx).OutputState, + } +} + func (i JobExecutionInfoArgs) ToJobExecutionInfoPtrOutput() JobExecutionInfoPtrOutput { return i.ToJobExecutionInfoPtrOutputWithContext(context.Background()) } @@ -2975,6 +3432,12 @@ func (i *jobExecutionInfoPtrType) ToJobExecutionInfoPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(JobExecutionInfoPtrOutput) } +func (i *jobExecutionInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*JobExecutionInfo] { + return pulumix.Output[*JobExecutionInfo]{ + OutputState: i.ToJobExecutionInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Additional information about how a Cloud Dataflow job will be executed that isn't contained in the submitted job. type JobExecutionInfoOutput struct{ *pulumi.OutputState } @@ -3000,6 +3463,12 @@ func (o JobExecutionInfoOutput) ToJobExecutionInfoPtrOutputWithContext(ctx conte }).(JobExecutionInfoPtrOutput) } +func (o JobExecutionInfoOutput) ToOutput(ctx context.Context) pulumix.Output[JobExecutionInfo] { + return pulumix.Output[JobExecutionInfo]{ + OutputState: o.OutputState, + } +} + // A mapping from each stage to the information about that stage. func (o JobExecutionInfoOutput) Stages() pulumi.StringMapOutput { return o.ApplyT(func(v JobExecutionInfo) map[string]string { return v.Stages }).(pulumi.StringMapOutput) @@ -3019,6 +3488,12 @@ func (o JobExecutionInfoPtrOutput) ToJobExecutionInfoPtrOutputWithContext(ctx co return o } +func (o JobExecutionInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobExecutionInfo] { + return pulumix.Output[*JobExecutionInfo]{ + OutputState: o.OutputState, + } +} + func (o JobExecutionInfoPtrOutput) Elem() JobExecutionInfoOutput { return o.ApplyT(func(v *JobExecutionInfo) JobExecutionInfo { if v != nil { @@ -3060,6 +3535,12 @@ func (o JobExecutionInfoResponseOutput) ToJobExecutionInfoResponseOutputWithCont return o } +func (o JobExecutionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobExecutionInfoResponse] { + return pulumix.Output[JobExecutionInfoResponse]{ + OutputState: o.OutputState, + } +} + // A mapping from each stage to the information about that stage. func (o JobExecutionInfoResponseOutput) Stages() pulumi.StringMapOutput { return o.ApplyT(func(v JobExecutionInfoResponse) map[string]string { return v.Stages }).(pulumi.StringMapOutput) @@ -3128,6 +3609,12 @@ func (i JobMetadataArgs) ToJobMetadataOutputWithContext(ctx context.Context) Job return pulumi.ToOutputWithContext(ctx, i).(JobMetadataOutput) } +func (i JobMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[JobMetadata] { + return pulumix.Output[JobMetadata]{ + OutputState: i.ToJobMetadataOutputWithContext(ctx).OutputState, + } +} + func (i JobMetadataArgs) ToJobMetadataPtrOutput() JobMetadataPtrOutput { return i.ToJobMetadataPtrOutputWithContext(context.Background()) } @@ -3169,6 +3656,12 @@ func (i *jobMetadataPtrType) ToJobMetadataPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(JobMetadataPtrOutput) } +func (i *jobMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*JobMetadata] { + return pulumix.Output[*JobMetadata]{ + OutputState: i.ToJobMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view. type JobMetadataOutput struct{ *pulumi.OutputState } @@ -3194,6 +3687,12 @@ func (o JobMetadataOutput) ToJobMetadataPtrOutputWithContext(ctx context.Context }).(JobMetadataPtrOutput) } +func (o JobMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[JobMetadata] { + return pulumix.Output[JobMetadata]{ + OutputState: o.OutputState, + } +} + // Identification of a Cloud Bigtable source used in the Dataflow job. func (o JobMetadataOutput) BigTableDetails() BigTableIODetailsArrayOutput { return o.ApplyT(func(v JobMetadata) []BigTableIODetails { return v.BigTableDetails }).(BigTableIODetailsArrayOutput) @@ -3248,6 +3747,12 @@ func (o JobMetadataPtrOutput) ToJobMetadataPtrOutputWithContext(ctx context.Cont return o } +func (o JobMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobMetadata] { + return pulumix.Output[*JobMetadata]{ + OutputState: o.OutputState, + } +} + func (o JobMetadataPtrOutput) Elem() JobMetadataOutput { return o.ApplyT(func(v *JobMetadata) JobMetadata { if v != nil { @@ -3373,6 +3878,12 @@ func (o JobMetadataResponseOutput) ToJobMetadataResponseOutputWithContext(ctx co return o } +func (o JobMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobMetadataResponse] { + return pulumix.Output[JobMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Identification of a Cloud Bigtable source used in the Dataflow job. func (o JobMetadataResponseOutput) BigTableDetails() BigTableIODetailsResponseArrayOutput { return o.ApplyT(func(v JobMetadataResponse) []BigTableIODetailsResponse { return v.BigTableDetails }).(BigTableIODetailsResponseArrayOutput) @@ -3452,6 +3963,12 @@ func (i PackageArgs) ToPackageOutputWithContext(ctx context.Context) PackageOutp return pulumi.ToOutputWithContext(ctx, i).(PackageOutput) } +func (i PackageArgs) ToOutput(ctx context.Context) pulumix.Output[Package] { + return pulumix.Output[Package]{ + OutputState: i.ToPackageOutputWithContext(ctx).OutputState, + } +} + // PackageArrayInput is an input type that accepts PackageArray and PackageArrayOutput values. // You can construct a concrete instance of `PackageArrayInput` via: // @@ -3477,6 +3994,12 @@ func (i PackageArray) ToPackageArrayOutputWithContext(ctx context.Context) Packa return pulumi.ToOutputWithContext(ctx, i).(PackageArrayOutput) } +func (i PackageArray) ToOutput(ctx context.Context) pulumix.Output[[]Package] { + return pulumix.Output[[]Package]{ + OutputState: i.ToPackageArrayOutputWithContext(ctx).OutputState, + } +} + // The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run. type PackageOutput struct{ *pulumi.OutputState } @@ -3492,6 +4015,12 @@ func (o PackageOutput) ToPackageOutputWithContext(ctx context.Context) PackageOu return o } +func (o PackageOutput) ToOutput(ctx context.Context) pulumix.Output[Package] { + return pulumix.Output[Package]{ + OutputState: o.OutputState, + } +} + // The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/ func (o PackageOutput) Location() pulumi.StringPtrOutput { return o.ApplyT(func(v Package) *string { return v.Location }).(pulumi.StringPtrOutput) @@ -3516,6 +4045,12 @@ func (o PackageArrayOutput) ToPackageArrayOutputWithContext(ctx context.Context) return o } +func (o PackageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Package] { + return pulumix.Output[[]Package]{ + OutputState: o.OutputState, + } +} + func (o PackageArrayOutput) Index(i pulumi.IntInput) PackageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Package { return vs[0].([]Package)[vs[1].(int)] @@ -3545,6 +4080,12 @@ func (o PackageResponseOutput) ToPackageResponseOutputWithContext(ctx context.Co return o } +func (o PackageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageResponse] { + return pulumix.Output[PackageResponse]{ + OutputState: o.OutputState, + } +} + // The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/ func (o PackageResponseOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v PackageResponse) string { return v.Location }).(pulumi.StringOutput) @@ -3569,6 +4110,12 @@ func (o PackageResponseArrayOutput) ToPackageResponseArrayOutputWithContext(ctx return o } +func (o PackageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PackageResponse] { + return pulumix.Output[[]PackageResponse]{ + OutputState: o.OutputState, + } +} + func (o PackageResponseArrayOutput) Index(i pulumi.IntInput) PackageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PackageResponse { return vs[0].([]PackageResponse)[vs[1].(int)] @@ -3614,6 +4161,12 @@ func (o ParameterMetadataResponseOutput) ToParameterMetadataResponseOutputWithCo return o } +func (o ParameterMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ParameterMetadataResponse] { + return pulumix.Output[ParameterMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Additional metadata for describing this parameter. func (o ParameterMetadataResponseOutput) CustomMetadata() pulumi.StringMapOutput { return o.ApplyT(func(v ParameterMetadataResponse) map[string]string { return v.CustomMetadata }).(pulumi.StringMapOutput) @@ -3678,6 +4231,12 @@ func (o ParameterMetadataResponseArrayOutput) ToParameterMetadataResponseArrayOu return o } +func (o ParameterMetadataResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ParameterMetadataResponse] { + return pulumix.Output[[]ParameterMetadataResponse]{ + OutputState: o.OutputState, + } +} + func (o ParameterMetadataResponseArrayOutput) Index(i pulumi.IntInput) ParameterMetadataResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ParameterMetadataResponse { return vs[0].([]ParameterMetadataResponse)[vs[1].(int)] @@ -3731,6 +4290,12 @@ func (i PipelineDescriptionArgs) ToPipelineDescriptionOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PipelineDescriptionOutput) } +func (i PipelineDescriptionArgs) ToOutput(ctx context.Context) pulumix.Output[PipelineDescription] { + return pulumix.Output[PipelineDescription]{ + OutputState: i.ToPipelineDescriptionOutputWithContext(ctx).OutputState, + } +} + func (i PipelineDescriptionArgs) ToPipelineDescriptionPtrOutput() PipelineDescriptionPtrOutput { return i.ToPipelineDescriptionPtrOutputWithContext(context.Background()) } @@ -3772,6 +4337,12 @@ func (i *pipelineDescriptionPtrType) ToPipelineDescriptionPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(PipelineDescriptionPtrOutput) } +func (i *pipelineDescriptionPtrType) ToOutput(ctx context.Context) pulumix.Output[*PipelineDescription] { + return pulumix.Output[*PipelineDescription]{ + OutputState: i.ToPipelineDescriptionPtrOutputWithContext(ctx).OutputState, + } +} + // A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics. type PipelineDescriptionOutput struct{ *pulumi.OutputState } @@ -3797,6 +4368,12 @@ func (o PipelineDescriptionOutput) ToPipelineDescriptionPtrOutputWithContext(ctx }).(PipelineDescriptionPtrOutput) } +func (o PipelineDescriptionOutput) ToOutput(ctx context.Context) pulumix.Output[PipelineDescription] { + return pulumix.Output[PipelineDescription]{ + OutputState: o.OutputState, + } +} + // Pipeline level display data. func (o PipelineDescriptionOutput) DisplayData() DisplayDataArrayOutput { return o.ApplyT(func(v PipelineDescription) []DisplayData { return v.DisplayData }).(DisplayDataArrayOutput) @@ -3831,6 +4408,12 @@ func (o PipelineDescriptionPtrOutput) ToPipelineDescriptionPtrOutputWithContext( return o } +func (o PipelineDescriptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PipelineDescription] { + return pulumix.Output[*PipelineDescription]{ + OutputState: o.OutputState, + } +} + func (o PipelineDescriptionPtrOutput) Elem() PipelineDescriptionOutput { return o.ApplyT(func(v *PipelineDescription) PipelineDescription { if v != nil { @@ -3908,6 +4491,12 @@ func (o PipelineDescriptionResponseOutput) ToPipelineDescriptionResponseOutputWi return o } +func (o PipelineDescriptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PipelineDescriptionResponse] { + return pulumix.Output[PipelineDescriptionResponse]{ + OutputState: o.OutputState, + } +} + // Pipeline level display data. func (o PipelineDescriptionResponseOutput) DisplayData() DisplayDataResponseArrayOutput { return o.ApplyT(func(v PipelineDescriptionResponse) []DisplayDataResponse { return v.DisplayData }).(DisplayDataResponseArrayOutput) @@ -3967,6 +4556,12 @@ func (i PubSubIODetailsArgs) ToPubSubIODetailsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PubSubIODetailsOutput) } +func (i PubSubIODetailsArgs) ToOutput(ctx context.Context) pulumix.Output[PubSubIODetails] { + return pulumix.Output[PubSubIODetails]{ + OutputState: i.ToPubSubIODetailsOutputWithContext(ctx).OutputState, + } +} + // PubSubIODetailsArrayInput is an input type that accepts PubSubIODetailsArray and PubSubIODetailsArrayOutput values. // You can construct a concrete instance of `PubSubIODetailsArrayInput` via: // @@ -3992,6 +4587,12 @@ func (i PubSubIODetailsArray) ToPubSubIODetailsArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(PubSubIODetailsArrayOutput) } +func (i PubSubIODetailsArray) ToOutput(ctx context.Context) pulumix.Output[[]PubSubIODetails] { + return pulumix.Output[[]PubSubIODetails]{ + OutputState: i.ToPubSubIODetailsArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata for a Pub/Sub connector used by the job. type PubSubIODetailsOutput struct{ *pulumi.OutputState } @@ -4007,6 +4608,12 @@ func (o PubSubIODetailsOutput) ToPubSubIODetailsOutputWithContext(ctx context.Co return o } +func (o PubSubIODetailsOutput) ToOutput(ctx context.Context) pulumix.Output[PubSubIODetails] { + return pulumix.Output[PubSubIODetails]{ + OutputState: o.OutputState, + } +} + // Subscription used in the connection. func (o PubSubIODetailsOutput) Subscription() pulumi.StringPtrOutput { return o.ApplyT(func(v PubSubIODetails) *string { return v.Subscription }).(pulumi.StringPtrOutput) @@ -4031,6 +4638,12 @@ func (o PubSubIODetailsArrayOutput) ToPubSubIODetailsArrayOutputWithContext(ctx return o } +func (o PubSubIODetailsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PubSubIODetails] { + return pulumix.Output[[]PubSubIODetails]{ + OutputState: o.OutputState, + } +} + func (o PubSubIODetailsArrayOutput) Index(i pulumi.IntInput) PubSubIODetailsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PubSubIODetails { return vs[0].([]PubSubIODetails)[vs[1].(int)] @@ -4060,6 +4673,12 @@ func (o PubSubIODetailsResponseOutput) ToPubSubIODetailsResponseOutputWithContex return o } +func (o PubSubIODetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubSubIODetailsResponse] { + return pulumix.Output[PubSubIODetailsResponse]{ + OutputState: o.OutputState, + } +} + // Subscription used in the connection. func (o PubSubIODetailsResponseOutput) Subscription() pulumi.StringOutput { return o.ApplyT(func(v PubSubIODetailsResponse) string { return v.Subscription }).(pulumi.StringOutput) @@ -4084,6 +4703,12 @@ func (o PubSubIODetailsResponseArrayOutput) ToPubSubIODetailsResponseArrayOutput return o } +func (o PubSubIODetailsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PubSubIODetailsResponse] { + return pulumix.Output[[]PubSubIODetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o PubSubIODetailsResponseArrayOutput) Index(i pulumi.IntInput) PubSubIODetailsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PubSubIODetailsResponse { return vs[0].([]PubSubIODetailsResponse)[vs[1].(int)] @@ -4185,6 +4810,12 @@ func (i RuntimeEnvironmentArgs) ToRuntimeEnvironmentOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RuntimeEnvironmentOutput) } +func (i RuntimeEnvironmentArgs) ToOutput(ctx context.Context) pulumix.Output[RuntimeEnvironment] { + return pulumix.Output[RuntimeEnvironment]{ + OutputState: i.ToRuntimeEnvironmentOutputWithContext(ctx).OutputState, + } +} + func (i RuntimeEnvironmentArgs) ToRuntimeEnvironmentPtrOutput() RuntimeEnvironmentPtrOutput { return i.ToRuntimeEnvironmentPtrOutputWithContext(context.Background()) } @@ -4226,6 +4857,12 @@ func (i *runtimeEnvironmentPtrType) ToRuntimeEnvironmentPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RuntimeEnvironmentPtrOutput) } +func (i *runtimeEnvironmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*RuntimeEnvironment] { + return pulumix.Output[*RuntimeEnvironment]{ + OutputState: i.ToRuntimeEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // The environment values to set at runtime. type RuntimeEnvironmentOutput struct{ *pulumi.OutputState } @@ -4251,6 +4888,12 @@ func (o RuntimeEnvironmentOutput) ToRuntimeEnvironmentPtrOutputWithContext(ctx c }).(RuntimeEnvironmentPtrOutput) } +func (o RuntimeEnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeEnvironment] { + return pulumix.Output[RuntimeEnvironment]{ + OutputState: o.OutputState, + } +} + // Optional. Additional experiment flags for the job, specified with the `--experiments` option. func (o RuntimeEnvironmentOutput) AdditionalExperiments() pulumi.StringArrayOutput { return o.ApplyT(func(v RuntimeEnvironment) []string { return v.AdditionalExperiments }).(pulumi.StringArrayOutput) @@ -4345,6 +4988,12 @@ func (o RuntimeEnvironmentPtrOutput) ToRuntimeEnvironmentPtrOutputWithContext(ct return o } +func (o RuntimeEnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeEnvironment] { + return pulumix.Output[*RuntimeEnvironment]{ + OutputState: o.OutputState, + } +} + func (o RuntimeEnvironmentPtrOutput) Elem() RuntimeEnvironmentOutput { return o.ApplyT(func(v *RuntimeEnvironment) RuntimeEnvironment { if v != nil { @@ -4538,6 +5187,12 @@ func (o RuntimeMetadataResponseOutput) ToRuntimeMetadataResponseOutputWithContex return o } +func (o RuntimeMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeMetadataResponse] { + return pulumix.Output[RuntimeMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The parameters for the template. func (o RuntimeMetadataResponseOutput) Parameters() ParameterMetadataResponseArrayOutput { return o.ApplyT(func(v RuntimeMetadataResponse) []ParameterMetadataResponse { return v.Parameters }).(ParameterMetadataResponseArrayOutput) @@ -4587,6 +5242,12 @@ func (i RuntimeUpdatableParamsArgs) ToRuntimeUpdatableParamsOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(RuntimeUpdatableParamsOutput) } +func (i RuntimeUpdatableParamsArgs) ToOutput(ctx context.Context) pulumix.Output[RuntimeUpdatableParams] { + return pulumix.Output[RuntimeUpdatableParams]{ + OutputState: i.ToRuntimeUpdatableParamsOutputWithContext(ctx).OutputState, + } +} + func (i RuntimeUpdatableParamsArgs) ToRuntimeUpdatableParamsPtrOutput() RuntimeUpdatableParamsPtrOutput { return i.ToRuntimeUpdatableParamsPtrOutputWithContext(context.Background()) } @@ -4628,6 +5289,12 @@ func (i *runtimeUpdatableParamsPtrType) ToRuntimeUpdatableParamsPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RuntimeUpdatableParamsPtrOutput) } +func (i *runtimeUpdatableParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*RuntimeUpdatableParams] { + return pulumix.Output[*RuntimeUpdatableParams]{ + OutputState: i.ToRuntimeUpdatableParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Additional job parameters that can only be updated during runtime using the projects.jobs.update method. These fields have no effect when specified during job creation. type RuntimeUpdatableParamsOutput struct{ *pulumi.OutputState } @@ -4653,6 +5320,12 @@ func (o RuntimeUpdatableParamsOutput) ToRuntimeUpdatableParamsPtrOutputWithConte }).(RuntimeUpdatableParamsPtrOutput) } +func (o RuntimeUpdatableParamsOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeUpdatableParams] { + return pulumix.Output[RuntimeUpdatableParams]{ + OutputState: o.OutputState, + } +} + // The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs. func (o RuntimeUpdatableParamsOutput) MaxNumWorkers() pulumi.IntPtrOutput { return o.ApplyT(func(v RuntimeUpdatableParams) *int { return v.MaxNumWorkers }).(pulumi.IntPtrOutput) @@ -4677,6 +5350,12 @@ func (o RuntimeUpdatableParamsPtrOutput) ToRuntimeUpdatableParamsPtrOutputWithCo return o } +func (o RuntimeUpdatableParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeUpdatableParams] { + return pulumix.Output[*RuntimeUpdatableParams]{ + OutputState: o.OutputState, + } +} + func (o RuntimeUpdatableParamsPtrOutput) Elem() RuntimeUpdatableParamsOutput { return o.ApplyT(func(v *RuntimeUpdatableParams) RuntimeUpdatableParams { if v != nil { @@ -4730,6 +5409,12 @@ func (o RuntimeUpdatableParamsResponseOutput) ToRuntimeUpdatableParamsResponseOu return o } +func (o RuntimeUpdatableParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeUpdatableParamsResponse] { + return pulumix.Output[RuntimeUpdatableParamsResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs. func (o RuntimeUpdatableParamsResponseOutput) MaxNumWorkers() pulumi.IntOutput { return o.ApplyT(func(v RuntimeUpdatableParamsResponse) int { return v.MaxNumWorkers }).(pulumi.IntOutput) @@ -4763,6 +5448,12 @@ func (o SDKInfoResponseOutput) ToSDKInfoResponseOutputWithContext(ctx context.Co return o } +func (o SDKInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SDKInfoResponse] { + return pulumix.Output[SDKInfoResponse]{ + OutputState: o.OutputState, + } +} + // The SDK Language. func (o SDKInfoResponseOutput) Language() pulumi.StringOutput { return o.ApplyT(func(v SDKInfoResponse) string { return v.Language }).(pulumi.StringOutput) @@ -4820,6 +5511,12 @@ func (i SdkHarnessContainerImageArgs) ToSdkHarnessContainerImageOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SdkHarnessContainerImageOutput) } +func (i SdkHarnessContainerImageArgs) ToOutput(ctx context.Context) pulumix.Output[SdkHarnessContainerImage] { + return pulumix.Output[SdkHarnessContainerImage]{ + OutputState: i.ToSdkHarnessContainerImageOutputWithContext(ctx).OutputState, + } +} + // SdkHarnessContainerImageArrayInput is an input type that accepts SdkHarnessContainerImageArray and SdkHarnessContainerImageArrayOutput values. // You can construct a concrete instance of `SdkHarnessContainerImageArrayInput` via: // @@ -4845,6 +5542,12 @@ func (i SdkHarnessContainerImageArray) ToSdkHarnessContainerImageArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(SdkHarnessContainerImageArrayOutput) } +func (i SdkHarnessContainerImageArray) ToOutput(ctx context.Context) pulumix.Output[[]SdkHarnessContainerImage] { + return pulumix.Output[[]SdkHarnessContainerImage]{ + OutputState: i.ToSdkHarnessContainerImageArrayOutputWithContext(ctx).OutputState, + } +} + // Defines an SDK harness container for executing Dataflow pipelines. type SdkHarnessContainerImageOutput struct{ *pulumi.OutputState } @@ -4860,6 +5563,12 @@ func (o SdkHarnessContainerImageOutput) ToSdkHarnessContainerImageOutputWithCont return o } +func (o SdkHarnessContainerImageOutput) ToOutput(ctx context.Context) pulumix.Output[SdkHarnessContainerImage] { + return pulumix.Output[SdkHarnessContainerImage]{ + OutputState: o.OutputState, + } +} + // The set of capabilities enumerated in the above Environment proto. See also [beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto) func (o SdkHarnessContainerImageOutput) Capabilities() pulumi.StringArrayOutput { return o.ApplyT(func(v SdkHarnessContainerImage) []string { return v.Capabilities }).(pulumi.StringArrayOutput) @@ -4894,6 +5603,12 @@ func (o SdkHarnessContainerImageArrayOutput) ToSdkHarnessContainerImageArrayOutp return o } +func (o SdkHarnessContainerImageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SdkHarnessContainerImage] { + return pulumix.Output[[]SdkHarnessContainerImage]{ + OutputState: o.OutputState, + } +} + func (o SdkHarnessContainerImageArrayOutput) Index(i pulumi.IntInput) SdkHarnessContainerImageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SdkHarnessContainerImage { return vs[0].([]SdkHarnessContainerImage)[vs[1].(int)] @@ -4927,6 +5642,12 @@ func (o SdkHarnessContainerImageResponseOutput) ToSdkHarnessContainerImageRespon return o } +func (o SdkHarnessContainerImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SdkHarnessContainerImageResponse] { + return pulumix.Output[SdkHarnessContainerImageResponse]{ + OutputState: o.OutputState, + } +} + // The set of capabilities enumerated in the above Environment proto. See also [beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto) func (o SdkHarnessContainerImageResponseOutput) Capabilities() pulumi.StringArrayOutput { return o.ApplyT(func(v SdkHarnessContainerImageResponse) []string { return v.Capabilities }).(pulumi.StringArrayOutput) @@ -4961,6 +5682,12 @@ func (o SdkHarnessContainerImageResponseArrayOutput) ToSdkHarnessContainerImageR return o } +func (o SdkHarnessContainerImageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SdkHarnessContainerImageResponse] { + return pulumix.Output[[]SdkHarnessContainerImageResponse]{ + OutputState: o.OutputState, + } +} + func (o SdkHarnessContainerImageResponseArrayOutput) Index(i pulumi.IntInput) SdkHarnessContainerImageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SdkHarnessContainerImageResponse { return vs[0].([]SdkHarnessContainerImageResponse)[vs[1].(int)] @@ -5010,6 +5737,12 @@ func (i SdkVersionArgs) ToSdkVersionOutputWithContext(ctx context.Context) SdkVe return pulumi.ToOutputWithContext(ctx, i).(SdkVersionOutput) } +func (i SdkVersionArgs) ToOutput(ctx context.Context) pulumix.Output[SdkVersion] { + return pulumix.Output[SdkVersion]{ + OutputState: i.ToSdkVersionOutputWithContext(ctx).OutputState, + } +} + func (i SdkVersionArgs) ToSdkVersionPtrOutput() SdkVersionPtrOutput { return i.ToSdkVersionPtrOutputWithContext(context.Background()) } @@ -5051,6 +5784,12 @@ func (i *sdkVersionPtrType) ToSdkVersionPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SdkVersionPtrOutput) } +func (i *sdkVersionPtrType) ToOutput(ctx context.Context) pulumix.Output[*SdkVersion] { + return pulumix.Output[*SdkVersion]{ + OutputState: i.ToSdkVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The version of the SDK used to run the job. type SdkVersionOutput struct{ *pulumi.OutputState } @@ -5076,6 +5815,12 @@ func (o SdkVersionOutput) ToSdkVersionPtrOutputWithContext(ctx context.Context) }).(SdkVersionPtrOutput) } +func (o SdkVersionOutput) ToOutput(ctx context.Context) pulumix.Output[SdkVersion] { + return pulumix.Output[SdkVersion]{ + OutputState: o.OutputState, + } +} + // The support status for this SDK version. func (o SdkVersionOutput) SdkSupportStatus() SdkVersionSdkSupportStatusPtrOutput { return o.ApplyT(func(v SdkVersion) *SdkVersionSdkSupportStatus { return v.SdkSupportStatus }).(SdkVersionSdkSupportStatusPtrOutput) @@ -5105,6 +5850,12 @@ func (o SdkVersionPtrOutput) ToSdkVersionPtrOutputWithContext(ctx context.Contex return o } +func (o SdkVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SdkVersion] { + return pulumix.Output[*SdkVersion]{ + OutputState: o.OutputState, + } +} + func (o SdkVersionPtrOutput) Elem() SdkVersionOutput { return o.ApplyT(func(v *SdkVersion) SdkVersion { if v != nil { @@ -5170,6 +5921,12 @@ func (o SdkVersionResponseOutput) ToSdkVersionResponseOutputWithContext(ctx cont return o } +func (o SdkVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SdkVersionResponse] { + return pulumix.Output[SdkVersionResponse]{ + OutputState: o.OutputState, + } +} + // The support status for this SDK version. func (o SdkVersionResponseOutput) SdkSupportStatus() pulumi.StringOutput { return o.ApplyT(func(v SdkVersionResponse) string { return v.SdkSupportStatus }).(pulumi.StringOutput) @@ -5228,6 +5985,12 @@ func (i SpannerIODetailsArgs) ToSpannerIODetailsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SpannerIODetailsOutput) } +func (i SpannerIODetailsArgs) ToOutput(ctx context.Context) pulumix.Output[SpannerIODetails] { + return pulumix.Output[SpannerIODetails]{ + OutputState: i.ToSpannerIODetailsOutputWithContext(ctx).OutputState, + } +} + // SpannerIODetailsArrayInput is an input type that accepts SpannerIODetailsArray and SpannerIODetailsArrayOutput values. // You can construct a concrete instance of `SpannerIODetailsArrayInput` via: // @@ -5253,6 +6016,12 @@ func (i SpannerIODetailsArray) ToSpannerIODetailsArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SpannerIODetailsArrayOutput) } +func (i SpannerIODetailsArray) ToOutput(ctx context.Context) pulumix.Output[[]SpannerIODetails] { + return pulumix.Output[[]SpannerIODetails]{ + OutputState: i.ToSpannerIODetailsArrayOutputWithContext(ctx).OutputState, + } +} + // Metadata for a Spanner connector used by the job. type SpannerIODetailsOutput struct{ *pulumi.OutputState } @@ -5268,6 +6037,12 @@ func (o SpannerIODetailsOutput) ToSpannerIODetailsOutputWithContext(ctx context. return o } +func (o SpannerIODetailsOutput) ToOutput(ctx context.Context) pulumix.Output[SpannerIODetails] { + return pulumix.Output[SpannerIODetails]{ + OutputState: o.OutputState, + } +} + // DatabaseId accessed in the connection. func (o SpannerIODetailsOutput) DatabaseId() pulumi.StringPtrOutput { return o.ApplyT(func(v SpannerIODetails) *string { return v.DatabaseId }).(pulumi.StringPtrOutput) @@ -5297,6 +6072,12 @@ func (o SpannerIODetailsArrayOutput) ToSpannerIODetailsArrayOutputWithContext(ct return o } +func (o SpannerIODetailsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SpannerIODetails] { + return pulumix.Output[[]SpannerIODetails]{ + OutputState: o.OutputState, + } +} + func (o SpannerIODetailsArrayOutput) Index(i pulumi.IntInput) SpannerIODetailsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SpannerIODetails { return vs[0].([]SpannerIODetails)[vs[1].(int)] @@ -5328,6 +6109,12 @@ func (o SpannerIODetailsResponseOutput) ToSpannerIODetailsResponseOutputWithCont return o } +func (o SpannerIODetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SpannerIODetailsResponse] { + return pulumix.Output[SpannerIODetailsResponse]{ + OutputState: o.OutputState, + } +} + // DatabaseId accessed in the connection. func (o SpannerIODetailsResponseOutput) DatabaseId() pulumi.StringOutput { return o.ApplyT(func(v SpannerIODetailsResponse) string { return v.DatabaseId }).(pulumi.StringOutput) @@ -5357,6 +6144,12 @@ func (o SpannerIODetailsResponseArrayOutput) ToSpannerIODetailsResponseArrayOutp return o } +func (o SpannerIODetailsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SpannerIODetailsResponse] { + return pulumix.Output[[]SpannerIODetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o SpannerIODetailsResponseArrayOutput) Index(i pulumi.IntInput) SpannerIODetailsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SpannerIODetailsResponse { return vs[0].([]SpannerIODetailsResponse)[vs[1].(int)] @@ -5410,6 +6203,12 @@ func (i StageSourceArgs) ToStageSourceOutputWithContext(ctx context.Context) Sta return pulumi.ToOutputWithContext(ctx, i).(StageSourceOutput) } +func (i StageSourceArgs) ToOutput(ctx context.Context) pulumix.Output[StageSource] { + return pulumix.Output[StageSource]{ + OutputState: i.ToStageSourceOutputWithContext(ctx).OutputState, + } +} + // StageSourceArrayInput is an input type that accepts StageSourceArray and StageSourceArrayOutput values. // You can construct a concrete instance of `StageSourceArrayInput` via: // @@ -5435,6 +6234,12 @@ func (i StageSourceArray) ToStageSourceArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(StageSourceArrayOutput) } +func (i StageSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]StageSource] { + return pulumix.Output[[]StageSource]{ + OutputState: i.ToStageSourceArrayOutputWithContext(ctx).OutputState, + } +} + // Description of an input or output of an execution stage. type StageSourceOutput struct{ *pulumi.OutputState } @@ -5450,6 +6255,12 @@ func (o StageSourceOutput) ToStageSourceOutputWithContext(ctx context.Context) S return o } +func (o StageSourceOutput) ToOutput(ctx context.Context) pulumix.Output[StageSource] { + return pulumix.Output[StageSource]{ + OutputState: o.OutputState, + } +} + // Dataflow service generated name for this source. func (o StageSourceOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v StageSource) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -5484,6 +6295,12 @@ func (o StageSourceArrayOutput) ToStageSourceArrayOutputWithContext(ctx context. return o } +func (o StageSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StageSource] { + return pulumix.Output[[]StageSource]{ + OutputState: o.OutputState, + } +} + func (o StageSourceArrayOutput) Index(i pulumi.IntInput) StageSourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StageSource { return vs[0].([]StageSource)[vs[1].(int)] @@ -5517,6 +6334,12 @@ func (o StageSourceResponseOutput) ToStageSourceResponseOutputWithContext(ctx co return o } +func (o StageSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StageSourceResponse] { + return pulumix.Output[StageSourceResponse]{ + OutputState: o.OutputState, + } +} + // Dataflow service generated name for this source. func (o StageSourceResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v StageSourceResponse) string { return v.Name }).(pulumi.StringOutput) @@ -5551,6 +6374,12 @@ func (o StageSourceResponseArrayOutput) ToStageSourceResponseArrayOutputWithCont return o } +func (o StageSourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StageSourceResponse] { + return pulumix.Output[[]StageSourceResponse]{ + OutputState: o.OutputState, + } +} + func (o StageSourceResponseArrayOutput) Index(i pulumi.IntInput) StageSourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StageSourceResponse { return vs[0].([]StageSourceResponse)[vs[1].(int)] @@ -5582,6 +6411,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -5640,6 +6475,12 @@ func (i StepArgs) ToStepOutputWithContext(ctx context.Context) StepOutput { return pulumi.ToOutputWithContext(ctx, i).(StepOutput) } +func (i StepArgs) ToOutput(ctx context.Context) pulumix.Output[Step] { + return pulumix.Output[Step]{ + OutputState: i.ToStepOutputWithContext(ctx).OutputState, + } +} + // StepArrayInput is an input type that accepts StepArray and StepArrayOutput values. // You can construct a concrete instance of `StepArrayInput` via: // @@ -5665,6 +6506,12 @@ func (i StepArray) ToStepArrayOutputWithContext(ctx context.Context) StepArrayOu return pulumi.ToOutputWithContext(ctx, i).(StepArrayOutput) } +func (i StepArray) ToOutput(ctx context.Context) pulumix.Output[[]Step] { + return pulumix.Output[[]Step]{ + OutputState: i.ToStepArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. **Note:** The properties of this object are not stable and might change. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce. type StepOutput struct{ *pulumi.OutputState } @@ -5680,6 +6527,12 @@ func (o StepOutput) ToStepOutputWithContext(ctx context.Context) StepOutput { return o } +func (o StepOutput) ToOutput(ctx context.Context) pulumix.Output[Step] { + return pulumix.Output[Step]{ + OutputState: o.OutputState, + } +} + // The kind of step in the Cloud Dataflow job. func (o StepOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v Step) *string { return v.Kind }).(pulumi.StringPtrOutput) @@ -5709,6 +6562,12 @@ func (o StepArrayOutput) ToStepArrayOutputWithContext(ctx context.Context) StepA return o } +func (o StepArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Step] { + return pulumix.Output[[]Step]{ + OutputState: o.OutputState, + } +} + func (o StepArrayOutput) Index(i pulumi.IntInput) StepOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Step { return vs[0].([]Step)[vs[1].(int)] @@ -5740,6 +6599,12 @@ func (o StepResponseOutput) ToStepResponseOutputWithContext(ctx context.Context) return o } +func (o StepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StepResponse] { + return pulumix.Output[StepResponse]{ + OutputState: o.OutputState, + } +} + // The kind of step in the Cloud Dataflow job. func (o StepResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v StepResponse) string { return v.Kind }).(pulumi.StringOutput) @@ -5769,6 +6634,12 @@ func (o StepResponseArrayOutput) ToStepResponseArrayOutputWithContext(ctx contex return o } +func (o StepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StepResponse] { + return pulumix.Output[[]StepResponse]{ + OutputState: o.OutputState, + } +} + func (o StepResponseArrayOutput) Index(i pulumi.IntInput) StepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StepResponse { return vs[0].([]StepResponse)[vs[1].(int)] @@ -5882,6 +6753,12 @@ func (i TaskRunnerSettingsArgs) ToTaskRunnerSettingsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(TaskRunnerSettingsOutput) } +func (i TaskRunnerSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[TaskRunnerSettings] { + return pulumix.Output[TaskRunnerSettings]{ + OutputState: i.ToTaskRunnerSettingsOutputWithContext(ctx).OutputState, + } +} + func (i TaskRunnerSettingsArgs) ToTaskRunnerSettingsPtrOutput() TaskRunnerSettingsPtrOutput { return i.ToTaskRunnerSettingsPtrOutputWithContext(context.Background()) } @@ -5923,6 +6800,12 @@ func (i *taskRunnerSettingsPtrType) ToTaskRunnerSettingsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(TaskRunnerSettingsPtrOutput) } +func (i *taskRunnerSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*TaskRunnerSettings] { + return pulumix.Output[*TaskRunnerSettings]{ + OutputState: i.ToTaskRunnerSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Taskrunner configuration settings. type TaskRunnerSettingsOutput struct{ *pulumi.OutputState } @@ -5948,6 +6831,12 @@ func (o TaskRunnerSettingsOutput) ToTaskRunnerSettingsPtrOutputWithContext(ctx c }).(TaskRunnerSettingsPtrOutput) } +func (o TaskRunnerSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[TaskRunnerSettings] { + return pulumix.Output[TaskRunnerSettings]{ + OutputState: o.OutputState, + } +} + // Whether to also send taskrunner log info to stderr. func (o TaskRunnerSettingsOutput) Alsologtostderr() pulumi.BoolPtrOutput { return o.ApplyT(func(v TaskRunnerSettings) *bool { return v.Alsologtostderr }).(pulumi.BoolPtrOutput) @@ -6057,6 +6946,12 @@ func (o TaskRunnerSettingsPtrOutput) ToTaskRunnerSettingsPtrOutputWithContext(ct return o } +func (o TaskRunnerSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TaskRunnerSettings] { + return pulumix.Output[*TaskRunnerSettings]{ + OutputState: o.OutputState, + } +} + func (o TaskRunnerSettingsPtrOutput) Elem() TaskRunnerSettingsOutput { return o.ApplyT(func(v *TaskRunnerSettings) TaskRunnerSettings { if v != nil { @@ -6314,6 +7209,12 @@ func (o TaskRunnerSettingsResponseOutput) ToTaskRunnerSettingsResponseOutputWith return o } +func (o TaskRunnerSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TaskRunnerSettingsResponse] { + return pulumix.Output[TaskRunnerSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Whether to also send taskrunner log info to stderr. func (o TaskRunnerSettingsResponseOutput) Alsologtostderr() pulumi.BoolOutput { return o.ApplyT(func(v TaskRunnerSettingsResponse) bool { return v.Alsologtostderr }).(pulumi.BoolOutput) @@ -6434,6 +7335,12 @@ func (o TemplateMetadataResponseOutput) ToTemplateMetadataResponseOutputWithCont return o } +func (o TemplateMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateMetadataResponse] { + return pulumix.Output[TemplateMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A description of the template. func (o TemplateMetadataResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v TemplateMetadataResponse) string { return v.Description }).(pulumi.StringOutput) @@ -6504,6 +7411,12 @@ func (i TransformSummaryArgs) ToTransformSummaryOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TransformSummaryOutput) } +func (i TransformSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[TransformSummary] { + return pulumix.Output[TransformSummary]{ + OutputState: i.ToTransformSummaryOutputWithContext(ctx).OutputState, + } +} + // TransformSummaryArrayInput is an input type that accepts TransformSummaryArray and TransformSummaryArrayOutput values. // You can construct a concrete instance of `TransformSummaryArrayInput` via: // @@ -6529,6 +7442,12 @@ func (i TransformSummaryArray) ToTransformSummaryArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TransformSummaryArrayOutput) } +func (i TransformSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]TransformSummary] { + return pulumix.Output[[]TransformSummary]{ + OutputState: i.ToTransformSummaryArrayOutputWithContext(ctx).OutputState, + } +} + // Description of the type, names/ids, and input/outputs for a transform. type TransformSummaryOutput struct{ *pulumi.OutputState } @@ -6544,6 +7463,12 @@ func (o TransformSummaryOutput) ToTransformSummaryOutputWithContext(ctx context. return o } +func (o TransformSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[TransformSummary] { + return pulumix.Output[TransformSummary]{ + OutputState: o.OutputState, + } +} + // Transform-specific display data. func (o TransformSummaryOutput) DisplayData() DisplayDataArrayOutput { return o.ApplyT(func(v TransformSummary) []DisplayData { return v.DisplayData }).(DisplayDataArrayOutput) @@ -6588,6 +7513,12 @@ func (o TransformSummaryArrayOutput) ToTransformSummaryArrayOutputWithContext(ct return o } +func (o TransformSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TransformSummary] { + return pulumix.Output[[]TransformSummary]{ + OutputState: o.OutputState, + } +} + func (o TransformSummaryArrayOutput) Index(i pulumi.IntInput) TransformSummaryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TransformSummary { return vs[0].([]TransformSummary)[vs[1].(int)] @@ -6623,6 +7554,12 @@ func (o TransformSummaryResponseOutput) ToTransformSummaryResponseOutputWithCont return o } +func (o TransformSummaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TransformSummaryResponse] { + return pulumix.Output[TransformSummaryResponse]{ + OutputState: o.OutputState, + } +} + // Transform-specific display data. func (o TransformSummaryResponseOutput) DisplayData() DisplayDataResponseArrayOutput { return o.ApplyT(func(v TransformSummaryResponse) []DisplayDataResponse { return v.DisplayData }).(DisplayDataResponseArrayOutput) @@ -6662,6 +7599,12 @@ func (o TransformSummaryResponseArrayOutput) ToTransformSummaryResponseArrayOutp return o } +func (o TransformSummaryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TransformSummaryResponse] { + return pulumix.Output[[]TransformSummaryResponse]{ + OutputState: o.OutputState, + } +} + func (o TransformSummaryResponseArrayOutput) Index(i pulumi.IntInput) TransformSummaryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TransformSummaryResponse { return vs[0].([]TransformSummaryResponse)[vs[1].(int)] @@ -6791,6 +7734,12 @@ func (i WorkerPoolArgs) ToWorkerPoolOutputWithContext(ctx context.Context) Worke return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolOutput) } +func (i WorkerPoolArgs) ToOutput(ctx context.Context) pulumix.Output[WorkerPool] { + return pulumix.Output[WorkerPool]{ + OutputState: i.ToWorkerPoolOutputWithContext(ctx).OutputState, + } +} + // WorkerPoolArrayInput is an input type that accepts WorkerPoolArray and WorkerPoolArrayOutput values. // You can construct a concrete instance of `WorkerPoolArrayInput` via: // @@ -6816,6 +7765,12 @@ func (i WorkerPoolArray) ToWorkerPoolArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolArrayOutput) } +func (i WorkerPoolArray) ToOutput(ctx context.Context) pulumix.Output[[]WorkerPool] { + return pulumix.Output[[]WorkerPool]{ + OutputState: i.ToWorkerPoolArrayOutputWithContext(ctx).OutputState, + } +} + // Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job. type WorkerPoolOutput struct{ *pulumi.OutputState } @@ -6831,6 +7786,12 @@ func (o WorkerPoolOutput) ToWorkerPoolOutputWithContext(ctx context.Context) Wor return o } +func (o WorkerPoolOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerPool] { + return pulumix.Output[WorkerPool]{ + OutputState: o.OutputState, + } +} + // Settings for autoscaling of this WorkerPool. func (o WorkerPoolOutput) AutoscalingSettings() AutoscalingSettingsPtrOutput { return o.ApplyT(func(v WorkerPool) *AutoscalingSettings { return v.AutoscalingSettings }).(AutoscalingSettingsPtrOutput) @@ -6957,6 +7918,12 @@ func (o WorkerPoolArrayOutput) ToWorkerPoolArrayOutputWithContext(ctx context.Co return o } +func (o WorkerPoolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WorkerPool] { + return pulumix.Output[[]WorkerPool]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolArrayOutput) Index(i pulumi.IntInput) WorkerPoolOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WorkerPool { return vs[0].([]WorkerPool)[vs[1].(int)] @@ -7028,6 +7995,12 @@ func (o WorkerPoolResponseOutput) ToWorkerPoolResponseOutputWithContext(ctx cont return o } +func (o WorkerPoolResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerPoolResponse] { + return pulumix.Output[WorkerPoolResponse]{ + OutputState: o.OutputState, + } +} + // Settings for autoscaling of this WorkerPool. func (o WorkerPoolResponseOutput) AutoscalingSettings() AutoscalingSettingsResponseOutput { return o.ApplyT(func(v WorkerPoolResponse) AutoscalingSettingsResponse { return v.AutoscalingSettings }).(AutoscalingSettingsResponseOutput) @@ -7154,6 +8127,12 @@ func (o WorkerPoolResponseArrayOutput) ToWorkerPoolResponseArrayOutputWithContex return o } +func (o WorkerPoolResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WorkerPoolResponse] { + return pulumix.Output[[]WorkerPoolResponse]{ + OutputState: o.OutputState, + } +} + func (o WorkerPoolResponseArrayOutput) Index(i pulumi.IntInput) WorkerPoolResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WorkerPoolResponse { return vs[0].([]WorkerPoolResponse)[vs[1].(int)] @@ -7215,6 +8194,12 @@ func (i WorkerSettingsArgs) ToWorkerSettingsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(WorkerSettingsOutput) } +func (i WorkerSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[WorkerSettings] { + return pulumix.Output[WorkerSettings]{ + OutputState: i.ToWorkerSettingsOutputWithContext(ctx).OutputState, + } +} + func (i WorkerSettingsArgs) ToWorkerSettingsPtrOutput() WorkerSettingsPtrOutput { return i.ToWorkerSettingsPtrOutputWithContext(context.Background()) } @@ -7256,6 +8241,12 @@ func (i *workerSettingsPtrType) ToWorkerSettingsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(WorkerSettingsPtrOutput) } +func (i *workerSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkerSettings] { + return pulumix.Output[*WorkerSettings]{ + OutputState: i.ToWorkerSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Provides data to pass through to the worker harness. type WorkerSettingsOutput struct{ *pulumi.OutputState } @@ -7281,6 +8272,12 @@ func (o WorkerSettingsOutput) ToWorkerSettingsPtrOutputWithContext(ctx context.C }).(WorkerSettingsPtrOutput) } +func (o WorkerSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerSettings] { + return pulumix.Output[WorkerSettings]{ + OutputState: o.OutputState, + } +} + // The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/" func (o WorkerSettingsOutput) BaseUrl() pulumi.StringPtrOutput { return o.ApplyT(func(v WorkerSettings) *string { return v.BaseUrl }).(pulumi.StringPtrOutput) @@ -7325,6 +8322,12 @@ func (o WorkerSettingsPtrOutput) ToWorkerSettingsPtrOutputWithContext(ctx contex return o } +func (o WorkerSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerSettings] { + return pulumix.Output[*WorkerSettings]{ + OutputState: o.OutputState, + } +} + func (o WorkerSettingsPtrOutput) Elem() WorkerSettingsOutput { return o.ApplyT(func(v *WorkerSettings) WorkerSettings { if v != nil { @@ -7426,6 +8429,12 @@ func (o WorkerSettingsResponseOutput) ToWorkerSettingsResponseOutputWithContext( return o } +func (o WorkerSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkerSettingsResponse] { + return pulumix.Output[WorkerSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/" func (o WorkerSettingsResponseOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v WorkerSettingsResponse) string { return v.BaseUrl }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataflow/v1b3/template.go b/sdk/go/google/dataflow/v1b3/template.go index a8f77519ec..a128a6745c 100644 --- a/sdk/go/google/dataflow/v1b3/template.go +++ b/sdk/go/google/dataflow/v1b3/template.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API. @@ -133,6 +134,12 @@ func (i *Template) ToTemplateOutputWithContext(ctx context.Context) TemplateOutp return pulumi.ToOutputWithContext(ctx, i).(TemplateOutput) } +func (i *Template) ToOutput(ctx context.Context) pulumix.Output[*Template] { + return pulumix.Output[*Template]{ + OutputState: i.ToTemplateOutputWithContext(ctx).OutputState, + } +} + type TemplateOutput struct{ *pulumi.OutputState } func (TemplateOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) Templat return o } +func (o TemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*Template] { + return pulumix.Output[*Template]{ + OutputState: o.OutputState, + } +} + func (o TemplateOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v *Template) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dataform/v1beta1/compilationResult.go b/sdk/go/google/dataform/v1beta1/compilationResult.go index 479fd87ac0..ee91b651e6 100644 --- a/sdk/go/google/dataform/v1beta1/compilationResult.go +++ b/sdk/go/google/dataform/v1beta1/compilationResult.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new CompilationResult in a given project and location. @@ -140,6 +141,12 @@ func (i *CompilationResult) ToCompilationResultOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(CompilationResultOutput) } +func (i *CompilationResult) ToOutput(ctx context.Context) pulumix.Output[*CompilationResult] { + return pulumix.Output[*CompilationResult]{ + OutputState: i.ToCompilationResultOutputWithContext(ctx).OutputState, + } +} + type CompilationResultOutput struct{ *pulumi.OutputState } func (CompilationResultOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o CompilationResultOutput) ToCompilationResultOutputWithContext(ctx contex return o } +func (o CompilationResultOutput) ToOutput(ctx context.Context) pulumix.Output[*CompilationResult] { + return pulumix.Output[*CompilationResult]{ + OutputState: o.OutputState, + } +} + // Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. func (o CompilationResultOutput) CodeCompilationConfig() CodeCompilationConfigResponseOutput { return o.ApplyT(func(v *CompilationResult) CodeCompilationConfigResponseOutput { return v.CodeCompilationConfig }).(CodeCompilationConfigResponseOutput) diff --git a/sdk/go/google/dataform/v1beta1/getCompilationResult.go b/sdk/go/google/dataform/v1beta1/getCompilationResult.go index ecc8abcce4..06a92d7cbf 100644 --- a/sdk/go/google/dataform/v1beta1/getCompilationResult.go +++ b/sdk/go/google/dataform/v1beta1/getCompilationResult.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches a single CompilationResult. @@ -86,6 +87,12 @@ func (o LookupCompilationResultResultOutput) ToLookupCompilationResultResultOutp return o } +func (o LookupCompilationResultResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCompilationResultResult] { + return pulumix.Output[LookupCompilationResultResult]{ + OutputState: o.OutputState, + } +} + // Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. func (o LookupCompilationResultResultOutput) CodeCompilationConfig() CodeCompilationConfigResponseOutput { return o.ApplyT(func(v LookupCompilationResultResult) CodeCompilationConfigResponse { return v.CodeCompilationConfig }).(CodeCompilationConfigResponseOutput) diff --git a/sdk/go/google/dataform/v1beta1/getReleaseConfig.go b/sdk/go/google/dataform/v1beta1/getReleaseConfig.go index 3f8e0d0759..f48f87f262 100644 --- a/sdk/go/google/dataform/v1beta1/getReleaseConfig.go +++ b/sdk/go/google/dataform/v1beta1/getReleaseConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches a single ReleaseConfig. @@ -84,6 +85,12 @@ func (o LookupReleaseConfigResultOutput) ToLookupReleaseConfigResultOutputWithCo return o } +func (o LookupReleaseConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReleaseConfigResult] { + return pulumix.Output[LookupReleaseConfigResult]{ + OutputState: o.OutputState, + } +} + // Optional. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. func (o LookupReleaseConfigResultOutput) CodeCompilationConfig() CodeCompilationConfigResponseOutput { return o.ApplyT(func(v LookupReleaseConfigResult) CodeCompilationConfigResponse { return v.CodeCompilationConfig }).(CodeCompilationConfigResponseOutput) diff --git a/sdk/go/google/dataform/v1beta1/getRepository.go b/sdk/go/google/dataform/v1beta1/getRepository.go index f3b2925bba..55d9d40a5b 100644 --- a/sdk/go/google/dataform/v1beta1/getRepository.go +++ b/sdk/go/google/dataform/v1beta1/getRepository.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches a single Repository. @@ -76,6 +77,12 @@ func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext( return o } +func (o LookupRepositoryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepositoryResult] { + return pulumix.Output[LookupRepositoryResult]{ + OutputState: o.OutputState, + } +} + // Optional. If set, configures this repository to be linked to a Git remote. func (o LookupRepositoryResultOutput) GitRemoteSettings() GitRemoteSettingsResponseOutput { return o.ApplyT(func(v LookupRepositoryResult) GitRemoteSettingsResponse { return v.GitRemoteSettings }).(GitRemoteSettingsResponseOutput) diff --git a/sdk/go/google/dataform/v1beta1/getRepositoryIamPolicy.go b/sdk/go/google/dataform/v1beta1/getRepositoryIamPolicy.go index 5890db76c5..97d112b585 100644 --- a/sdk/go/google/dataform/v1beta1/getRepositoryIamPolicy.go +++ b/sdk/go/google/dataform/v1beta1/getRepositoryIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupRepositoryIamPolicyResultOutput) ToLookupRepositoryIamPolicyResult return o } +func (o LookupRepositoryIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepositoryIamPolicyResult] { + return pulumix.Output[LookupRepositoryIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupRepositoryIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRepositoryIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataform/v1beta1/getRepositoryWorkspaceIamPolicy.go b/sdk/go/google/dataform/v1beta1/getRepositoryWorkspaceIamPolicy.go index 02a0eaac90..24271e32e1 100644 --- a/sdk/go/google/dataform/v1beta1/getRepositoryWorkspaceIamPolicy.go +++ b/sdk/go/google/dataform/v1beta1/getRepositoryWorkspaceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupRepositoryWorkspaceIamPolicyResultOutput) ToLookupRepositoryWorksp return o } +func (o LookupRepositoryWorkspaceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepositoryWorkspaceIamPolicyResult] { + return pulumix.Output[LookupRepositoryWorkspaceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupRepositoryWorkspaceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRepositoryWorkspaceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataform/v1beta1/getWorkflowConfig.go b/sdk/go/google/dataform/v1beta1/getWorkflowConfig.go index b97c095fef..c1f13e62d5 100644 --- a/sdk/go/google/dataform/v1beta1/getWorkflowConfig.go +++ b/sdk/go/google/dataform/v1beta1/getWorkflowConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches a single WorkflowConfig. @@ -82,6 +83,12 @@ func (o LookupWorkflowConfigResultOutput) ToLookupWorkflowConfigResultOutputWith return o } +func (o LookupWorkflowConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkflowConfigResult] { + return pulumix.Output[LookupWorkflowConfigResult]{ + OutputState: o.OutputState, + } +} + // Optional. Optional schedule (in cron format) for automatic execution of this workflow config. func (o LookupWorkflowConfigResultOutput) CronSchedule() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkflowConfigResult) string { return v.CronSchedule }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataform/v1beta1/getWorkflowInvocation.go b/sdk/go/google/dataform/v1beta1/getWorkflowInvocation.go index 03955229a0..0f0f04a983 100644 --- a/sdk/go/google/dataform/v1beta1/getWorkflowInvocation.go +++ b/sdk/go/google/dataform/v1beta1/getWorkflowInvocation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches a single WorkflowInvocation. @@ -82,6 +83,12 @@ func (o LookupWorkflowInvocationResultOutput) ToLookupWorkflowInvocationResultOu return o } +func (o LookupWorkflowInvocationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkflowInvocationResult] { + return pulumix.Output[LookupWorkflowInvocationResult]{ + OutputState: o.OutputState, + } +} + // Immutable. The name of the compilation result to compile. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. func (o LookupWorkflowInvocationResultOutput) CompilationResult() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkflowInvocationResult) string { return v.CompilationResult }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataform/v1beta1/getWorkspace.go b/sdk/go/google/dataform/v1beta1/getWorkspace.go index ca722f85a3..940f383d78 100644 --- a/sdk/go/google/dataform/v1beta1/getWorkspace.go +++ b/sdk/go/google/dataform/v1beta1/getWorkspace.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches a single Workspace. @@ -72,6 +73,12 @@ func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext(ct return o } +func (o LookupWorkspaceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkspaceResult] { + return pulumix.Output[LookupWorkspaceResult]{ + OutputState: o.OutputState, + } +} + // The workspace's name. func (o LookupWorkspaceResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkspaceResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataform/v1beta1/pulumiTypes.go b/sdk/go/google/dataform/v1beta1/pulumiTypes.go index 3dac15472b..fcacf3034d 100644 --- a/sdk/go/google/dataform/v1beta1/pulumiTypes.go +++ b/sdk/go/google/dataform/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -254,6 +291,12 @@ func (i CodeCompilationConfigArgs) ToCodeCompilationConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CodeCompilationConfigOutput) } +func (i CodeCompilationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CodeCompilationConfig] { + return pulumix.Output[CodeCompilationConfig]{ + OutputState: i.ToCodeCompilationConfigOutputWithContext(ctx).OutputState, + } +} + func (i CodeCompilationConfigArgs) ToCodeCompilationConfigPtrOutput() CodeCompilationConfigPtrOutput { return i.ToCodeCompilationConfigPtrOutputWithContext(context.Background()) } @@ -295,6 +338,12 @@ func (i *codeCompilationConfigPtrType) ToCodeCompilationConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(CodeCompilationConfigPtrOutput) } +func (i *codeCompilationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CodeCompilationConfig] { + return pulumix.Output[*CodeCompilationConfig]{ + OutputState: i.ToCodeCompilationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configures various aspects of Dataform code compilation. type CodeCompilationConfigOutput struct{ *pulumi.OutputState } @@ -320,6 +369,12 @@ func (o CodeCompilationConfigOutput) ToCodeCompilationConfigPtrOutputWithContext }).(CodeCompilationConfigPtrOutput) } +func (o CodeCompilationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CodeCompilationConfig] { + return pulumix.Output[CodeCompilationConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The default schema (BigQuery dataset ID) for assertions. func (o CodeCompilationConfigOutput) AssertionSchema() pulumi.StringPtrOutput { return o.ApplyT(func(v CodeCompilationConfig) *string { return v.AssertionSchema }).(pulumi.StringPtrOutput) @@ -374,6 +429,12 @@ func (o CodeCompilationConfigPtrOutput) ToCodeCompilationConfigPtrOutputWithCont return o } +func (o CodeCompilationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CodeCompilationConfig] { + return pulumix.Output[*CodeCompilationConfig]{ + OutputState: o.OutputState, + } +} + func (o CodeCompilationConfigPtrOutput) Elem() CodeCompilationConfigOutput { return o.ApplyT(func(v *CodeCompilationConfig) CodeCompilationConfig { if v != nil { @@ -499,6 +560,12 @@ func (o CodeCompilationConfigResponseOutput) ToCodeCompilationConfigResponseOutp return o } +func (o CodeCompilationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CodeCompilationConfigResponse] { + return pulumix.Output[CodeCompilationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The default schema (BigQuery dataset ID) for assertions. func (o CodeCompilationConfigResponseOutput) AssertionSchema() pulumi.StringOutput { return o.ApplyT(func(v CodeCompilationConfigResponse) string { return v.AssertionSchema }).(pulumi.StringOutput) @@ -566,6 +633,12 @@ func (o CompilationErrorResponseOutput) ToCompilationErrorResponseOutputWithCont return o } +func (o CompilationErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompilationErrorResponse] { + return pulumix.Output[CompilationErrorResponse]{ + OutputState: o.OutputState, + } +} + // The identifier of the action where this error occurred, if available. func (o CompilationErrorResponseOutput) ActionTarget() TargetResponseOutput { return o.ApplyT(func(v CompilationErrorResponse) TargetResponse { return v.ActionTarget }).(TargetResponseOutput) @@ -600,6 +673,12 @@ func (o CompilationErrorResponseArrayOutput) ToCompilationErrorResponseArrayOutp return o } +func (o CompilationErrorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CompilationErrorResponse] { + return pulumix.Output[[]CompilationErrorResponse]{ + OutputState: o.OutputState, + } +} + func (o CompilationErrorResponseArrayOutput) Index(i pulumi.IntInput) CompilationErrorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CompilationErrorResponse { return vs[0].([]CompilationErrorResponse)[vs[1].(int)] @@ -653,6 +732,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -694,6 +779,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -719,6 +810,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -753,6 +850,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -830,6 +933,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -893,6 +1002,12 @@ func (i GitRemoteSettingsArgs) ToGitRemoteSettingsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GitRemoteSettingsOutput) } +func (i GitRemoteSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GitRemoteSettings] { + return pulumix.Output[GitRemoteSettings]{ + OutputState: i.ToGitRemoteSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GitRemoteSettingsArgs) ToGitRemoteSettingsPtrOutput() GitRemoteSettingsPtrOutput { return i.ToGitRemoteSettingsPtrOutputWithContext(context.Background()) } @@ -934,6 +1049,12 @@ func (i *gitRemoteSettingsPtrType) ToGitRemoteSettingsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(GitRemoteSettingsPtrOutput) } +func (i *gitRemoteSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GitRemoteSettings] { + return pulumix.Output[*GitRemoteSettings]{ + OutputState: i.ToGitRemoteSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Controls Git remote configuration for a repository. type GitRemoteSettingsOutput struct{ *pulumi.OutputState } @@ -959,6 +1080,12 @@ func (o GitRemoteSettingsOutput) ToGitRemoteSettingsPtrOutputWithContext(ctx con }).(GitRemoteSettingsPtrOutput) } +func (o GitRemoteSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GitRemoteSettings] { + return pulumix.Output[GitRemoteSettings]{ + OutputState: o.OutputState, + } +} + // The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`. func (o GitRemoteSettingsOutput) AuthenticationTokenSecretVersion() pulumi.StringOutput { return o.ApplyT(func(v GitRemoteSettings) string { return v.AuthenticationTokenSecretVersion }).(pulumi.StringOutput) @@ -988,6 +1115,12 @@ func (o GitRemoteSettingsPtrOutput) ToGitRemoteSettingsPtrOutputWithContext(ctx return o } +func (o GitRemoteSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GitRemoteSettings] { + return pulumix.Output[*GitRemoteSettings]{ + OutputState: o.OutputState, + } +} + func (o GitRemoteSettingsPtrOutput) Elem() GitRemoteSettingsOutput { return o.ApplyT(func(v *GitRemoteSettings) GitRemoteSettings { if v != nil { @@ -1055,6 +1188,12 @@ func (o GitRemoteSettingsResponseOutput) ToGitRemoteSettingsResponseOutputWithCo return o } +func (o GitRemoteSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GitRemoteSettingsResponse] { + return pulumix.Output[GitRemoteSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`. func (o GitRemoteSettingsResponseOutput) AuthenticationTokenSecretVersion() pulumi.StringOutput { return o.ApplyT(func(v GitRemoteSettingsResponse) string { return v.AuthenticationTokenSecretVersion }).(pulumi.StringOutput) @@ -1098,6 +1237,12 @@ func (o IntervalResponseOutput) ToIntervalResponseOutputWithContext(ctx context. return o } +func (o IntervalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IntervalResponse] { + return pulumix.Output[IntervalResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. func (o IntervalResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v IntervalResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -1159,6 +1304,12 @@ func (i InvocationConfigArgs) ToInvocationConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(InvocationConfigOutput) } +func (i InvocationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InvocationConfig] { + return pulumix.Output[InvocationConfig]{ + OutputState: i.ToInvocationConfigOutputWithContext(ctx).OutputState, + } +} + func (i InvocationConfigArgs) ToInvocationConfigPtrOutput() InvocationConfigPtrOutput { return i.ToInvocationConfigPtrOutputWithContext(context.Background()) } @@ -1200,6 +1351,12 @@ func (i *invocationConfigPtrType) ToInvocationConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(InvocationConfigPtrOutput) } +func (i *invocationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InvocationConfig] { + return pulumix.Output[*InvocationConfig]{ + OutputState: i.ToInvocationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Includes various configuration options for a workflow invocation. If both `included_targets` and `included_tags` are unset, all actions will be included. type InvocationConfigOutput struct{ *pulumi.OutputState } @@ -1225,6 +1382,12 @@ func (o InvocationConfigOutput) ToInvocationConfigPtrOutputWithContext(ctx conte }).(InvocationConfigPtrOutput) } +func (o InvocationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InvocationConfig] { + return pulumix.Output[InvocationConfig]{ + OutputState: o.OutputState, + } +} + // Optional. When set to true, any incremental tables will be fully refreshed. func (o InvocationConfigOutput) FullyRefreshIncrementalTablesEnabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v InvocationConfig) *bool { return v.FullyRefreshIncrementalTablesEnabled }).(pulumi.BoolPtrOutput) @@ -1264,6 +1427,12 @@ func (o InvocationConfigPtrOutput) ToInvocationConfigPtrOutputWithContext(ctx co return o } +func (o InvocationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InvocationConfig] { + return pulumix.Output[*InvocationConfig]{ + OutputState: o.OutputState, + } +} + func (o InvocationConfigPtrOutput) Elem() InvocationConfigOutput { return o.ApplyT(func(v *InvocationConfig) InvocationConfig { if v != nil { @@ -1353,6 +1522,12 @@ func (o InvocationConfigResponseOutput) ToInvocationConfigResponseOutputWithCont return o } +func (o InvocationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InvocationConfigResponse] { + return pulumix.Output[InvocationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. When set to true, any incremental tables will be fully refreshed. func (o InvocationConfigResponseOutput) FullyRefreshIncrementalTablesEnabled() pulumi.BoolOutput { return o.ApplyT(func(v InvocationConfigResponse) bool { return v.FullyRefreshIncrementalTablesEnabled }).(pulumi.BoolOutput) @@ -1403,6 +1578,12 @@ func (o ScheduledExecutionRecordResponseOutput) ToScheduledExecutionRecordRespon return o } +func (o ScheduledExecutionRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduledExecutionRecordResponse] { + return pulumix.Output[ScheduledExecutionRecordResponse]{ + OutputState: o.OutputState, + } +} + // The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. func (o ScheduledExecutionRecordResponseOutput) ErrorStatus() StatusResponseOutput { return o.ApplyT(func(v ScheduledExecutionRecordResponse) StatusResponse { return v.ErrorStatus }).(StatusResponseOutput) @@ -1432,6 +1613,12 @@ func (o ScheduledExecutionRecordResponseArrayOutput) ToScheduledExecutionRecordR return o } +func (o ScheduledExecutionRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ScheduledExecutionRecordResponse] { + return pulumix.Output[[]ScheduledExecutionRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o ScheduledExecutionRecordResponseArrayOutput) Index(i pulumi.IntInput) ScheduledExecutionRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ScheduledExecutionRecordResponse { return vs[0].([]ScheduledExecutionRecordResponse)[vs[1].(int)] @@ -1463,6 +1650,12 @@ func (o ScheduledReleaseRecordResponseOutput) ToScheduledReleaseRecordResponseOu return o } +func (o ScheduledReleaseRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduledReleaseRecordResponse] { + return pulumix.Output[ScheduledReleaseRecordResponse]{ + OutputState: o.OutputState, + } +} + // The name of the created compilation result, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. func (o ScheduledReleaseRecordResponseOutput) CompilationResult() pulumi.StringOutput { return o.ApplyT(func(v ScheduledReleaseRecordResponse) string { return v.CompilationResult }).(pulumi.StringOutput) @@ -1492,6 +1685,12 @@ func (o ScheduledReleaseRecordResponseArrayOutput) ToScheduledReleaseRecordRespo return o } +func (o ScheduledReleaseRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ScheduledReleaseRecordResponse] { + return pulumix.Output[[]ScheduledReleaseRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o ScheduledReleaseRecordResponseArrayOutput) Index(i pulumi.IntInput) ScheduledReleaseRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ScheduledReleaseRecordResponse { return vs[0].([]ScheduledReleaseRecordResponse)[vs[1].(int)] @@ -1523,6 +1722,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -1581,6 +1786,12 @@ func (i TargetArgs) ToTargetOutputWithContext(ctx context.Context) TargetOutput return pulumi.ToOutputWithContext(ctx, i).(TargetOutput) } +func (i TargetArgs) ToOutput(ctx context.Context) pulumix.Output[Target] { + return pulumix.Output[Target]{ + OutputState: i.ToTargetOutputWithContext(ctx).OutputState, + } +} + // TargetArrayInput is an input type that accepts TargetArray and TargetArrayOutput values. // You can construct a concrete instance of `TargetArrayInput` via: // @@ -1606,6 +1817,12 @@ func (i TargetArray) ToTargetArrayOutputWithContext(ctx context.Context) TargetA return pulumi.ToOutputWithContext(ctx, i).(TargetArrayOutput) } +func (i TargetArray) ToOutput(ctx context.Context) pulumix.Output[[]Target] { + return pulumix.Output[[]Target]{ + OutputState: i.ToTargetArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an action identifier. If the action writes output, the output will be written to the referenced database object. type TargetOutput struct{ *pulumi.OutputState } @@ -1621,6 +1838,12 @@ func (o TargetOutput) ToTargetOutputWithContext(ctx context.Context) TargetOutpu return o } +func (o TargetOutput) ToOutput(ctx context.Context) pulumix.Output[Target] { + return pulumix.Output[Target]{ + OutputState: o.OutputState, + } +} + // The action's database (Google Cloud project ID) . func (o TargetOutput) Database() pulumi.StringPtrOutput { return o.ApplyT(func(v Target) *string { return v.Database }).(pulumi.StringPtrOutput) @@ -1650,6 +1873,12 @@ func (o TargetArrayOutput) ToTargetArrayOutputWithContext(ctx context.Context) T return o } +func (o TargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Target] { + return pulumix.Output[[]Target]{ + OutputState: o.OutputState, + } +} + func (o TargetArrayOutput) Index(i pulumi.IntInput) TargetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Target { return vs[0].([]Target)[vs[1].(int)] @@ -1681,6 +1910,12 @@ func (o TargetResponseOutput) ToTargetResponseOutputWithContext(ctx context.Cont return o } +func (o TargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TargetResponse] { + return pulumix.Output[TargetResponse]{ + OutputState: o.OutputState, + } +} + // The action's database (Google Cloud project ID) . func (o TargetResponseOutput) Database() pulumi.StringOutput { return o.ApplyT(func(v TargetResponse) string { return v.Database }).(pulumi.StringOutput) @@ -1710,6 +1945,12 @@ func (o TargetResponseArrayOutput) ToTargetResponseArrayOutputWithContext(ctx co return o } +func (o TargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TargetResponse] { + return pulumix.Output[[]TargetResponse]{ + OutputState: o.OutputState, + } +} + func (o TargetResponseArrayOutput) Index(i pulumi.IntInput) TargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TargetResponse { return vs[0].([]TargetResponse)[vs[1].(int)] @@ -1759,6 +2000,12 @@ func (i WorkspaceCompilationOverridesArgs) ToWorkspaceCompilationOverridesOutput return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCompilationOverridesOutput) } +func (i WorkspaceCompilationOverridesArgs) ToOutput(ctx context.Context) pulumix.Output[WorkspaceCompilationOverrides] { + return pulumix.Output[WorkspaceCompilationOverrides]{ + OutputState: i.ToWorkspaceCompilationOverridesOutputWithContext(ctx).OutputState, + } +} + func (i WorkspaceCompilationOverridesArgs) ToWorkspaceCompilationOverridesPtrOutput() WorkspaceCompilationOverridesPtrOutput { return i.ToWorkspaceCompilationOverridesPtrOutputWithContext(context.Background()) } @@ -1800,6 +2047,12 @@ func (i *workspaceCompilationOverridesPtrType) ToWorkspaceCompilationOverridesPt return pulumi.ToOutputWithContext(ctx, i).(WorkspaceCompilationOverridesPtrOutput) } +func (i *workspaceCompilationOverridesPtrType) ToOutput(ctx context.Context) pulumix.Output[*WorkspaceCompilationOverrides] { + return pulumix.Output[*WorkspaceCompilationOverrides]{ + OutputState: i.ToWorkspaceCompilationOverridesPtrOutputWithContext(ctx).OutputState, + } +} + // Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. type WorkspaceCompilationOverridesOutput struct{ *pulumi.OutputState } @@ -1825,6 +2078,12 @@ func (o WorkspaceCompilationOverridesOutput) ToWorkspaceCompilationOverridesPtrO }).(WorkspaceCompilationOverridesPtrOutput) } +func (o WorkspaceCompilationOverridesOutput) ToOutput(ctx context.Context) pulumix.Output[WorkspaceCompilationOverrides] { + return pulumix.Output[WorkspaceCompilationOverrides]{ + OutputState: o.OutputState, + } +} + // Optional. The default database (Google Cloud project ID). func (o WorkspaceCompilationOverridesOutput) DefaultDatabase() pulumi.StringPtrOutput { return o.ApplyT(func(v WorkspaceCompilationOverrides) *string { return v.DefaultDatabase }).(pulumi.StringPtrOutput) @@ -1854,6 +2113,12 @@ func (o WorkspaceCompilationOverridesPtrOutput) ToWorkspaceCompilationOverridesP return o } +func (o WorkspaceCompilationOverridesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkspaceCompilationOverrides] { + return pulumix.Output[*WorkspaceCompilationOverrides]{ + OutputState: o.OutputState, + } +} + func (o WorkspaceCompilationOverridesPtrOutput) Elem() WorkspaceCompilationOverridesOutput { return o.ApplyT(func(v *WorkspaceCompilationOverrides) WorkspaceCompilationOverrides { if v != nil { @@ -1919,6 +2184,12 @@ func (o WorkspaceCompilationOverridesResponseOutput) ToWorkspaceCompilationOverr return o } +func (o WorkspaceCompilationOverridesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkspaceCompilationOverridesResponse] { + return pulumix.Output[WorkspaceCompilationOverridesResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The default database (Google Cloud project ID). func (o WorkspaceCompilationOverridesResponseOutput) DefaultDatabase() pulumi.StringOutput { return o.ApplyT(func(v WorkspaceCompilationOverridesResponse) string { return v.DefaultDatabase }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataform/v1beta1/releaseConfig.go b/sdk/go/google/dataform/v1beta1/releaseConfig.go index 69051d68fa..3601aa107d 100644 --- a/sdk/go/google/dataform/v1beta1/releaseConfig.go +++ b/sdk/go/google/dataform/v1beta1/releaseConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ReleaseConfig in a given Repository. @@ -153,6 +154,12 @@ func (i *ReleaseConfig) ToReleaseConfigOutputWithContext(ctx context.Context) Re return pulumi.ToOutputWithContext(ctx, i).(ReleaseConfigOutput) } +func (i *ReleaseConfig) ToOutput(ctx context.Context) pulumix.Output[*ReleaseConfig] { + return pulumix.Output[*ReleaseConfig]{ + OutputState: i.ToReleaseConfigOutputWithContext(ctx).OutputState, + } +} + type ReleaseConfigOutput struct{ *pulumi.OutputState } func (ReleaseConfigOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o ReleaseConfigOutput) ToReleaseConfigOutputWithContext(ctx context.Contex return o } +func (o ReleaseConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ReleaseConfig] { + return pulumix.Output[*ReleaseConfig]{ + OutputState: o.OutputState, + } +} + // Optional. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json. func (o ReleaseConfigOutput) CodeCompilationConfig() CodeCompilationConfigResponseOutput { return o.ApplyT(func(v *ReleaseConfig) CodeCompilationConfigResponseOutput { return v.CodeCompilationConfig }).(CodeCompilationConfigResponseOutput) diff --git a/sdk/go/google/dataform/v1beta1/repository.go b/sdk/go/google/dataform/v1beta1/repository.go index 31cd4169f2..8b63a42d3a 100644 --- a/sdk/go/google/dataform/v1beta1/repository.go +++ b/sdk/go/google/dataform/v1beta1/repository.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Repository in a given project and location. @@ -129,6 +130,12 @@ func (i *Repository) ToRepositoryOutputWithContext(ctx context.Context) Reposito return pulumi.ToOutputWithContext(ctx, i).(RepositoryOutput) } +func (i *Repository) ToOutput(ctx context.Context) pulumix.Output[*Repository] { + return pulumix.Output[*Repository]{ + OutputState: i.ToRepositoryOutputWithContext(ctx).OutputState, + } +} + type RepositoryOutput struct{ *pulumi.OutputState } func (RepositoryOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) Rep return o } +func (o RepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[*Repository] { + return pulumix.Output[*Repository]{ + OutputState: o.OutputState, + } +} + // Optional. If set, configures this repository to be linked to a Git remote. func (o RepositoryOutput) GitRemoteSettings() GitRemoteSettingsResponseOutput { return o.ApplyT(func(v *Repository) GitRemoteSettingsResponseOutput { return v.GitRemoteSettings }).(GitRemoteSettingsResponseOutput) diff --git a/sdk/go/google/dataform/v1beta1/repositoryIamBinding.go b/sdk/go/google/dataform/v1beta1/repositoryIamBinding.go index 6bc9afaa37..a723a27eb2 100644 --- a/sdk/go/google/dataform/v1beta1/repositoryIamBinding.go +++ b/sdk/go/google/dataform/v1beta1/repositoryIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RepositoryIamBinding) ToRepositoryIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamBindingOutput) } +func (i *RepositoryIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamBinding] { + return pulumix.Output[*RepositoryIamBinding]{ + OutputState: i.ToRepositoryIamBindingOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamBindingOutput struct{ *pulumi.OutputState } func (RepositoryIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepositoryIamBindingOutput) ToRepositoryIamBindingOutputWithContext(ctx return o } +func (o RepositoryIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamBinding] { + return pulumix.Output[*RepositoryIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepositoryIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepositoryIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataform/v1beta1/repositoryIamMember.go b/sdk/go/google/dataform/v1beta1/repositoryIamMember.go index 895f37422f..35f1006461 100644 --- a/sdk/go/google/dataform/v1beta1/repositoryIamMember.go +++ b/sdk/go/google/dataform/v1beta1/repositoryIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RepositoryIamMember) ToRepositoryIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamMemberOutput) } +func (i *RepositoryIamMember) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamMember] { + return pulumix.Output[*RepositoryIamMember]{ + OutputState: i.ToRepositoryIamMemberOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamMemberOutput struct{ *pulumi.OutputState } func (RepositoryIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepositoryIamMemberOutput) ToRepositoryIamMemberOutputWithContext(ctx co return o } +func (o RepositoryIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamMember] { + return pulumix.Output[*RepositoryIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepositoryIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepositoryIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataform/v1beta1/repositoryIamPolicy.go b/sdk/go/google/dataform/v1beta1/repositoryIamPolicy.go index 70a9aad177..569daa7315 100644 --- a/sdk/go/google/dataform/v1beta1/repositoryIamPolicy.go +++ b/sdk/go/google/dataform/v1beta1/repositoryIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *RepositoryIamPolicy) ToRepositoryIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RepositoryIamPolicyOutput) } +func (i *RepositoryIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamPolicy] { + return pulumix.Output[*RepositoryIamPolicy]{ + OutputState: i.ToRepositoryIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RepositoryIamPolicyOutput struct{ *pulumi.OutputState } func (RepositoryIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o RepositoryIamPolicyOutput) ToRepositoryIamPolicyOutputWithContext(ctx co return o } +func (o RepositoryIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryIamPolicy] { + return pulumix.Output[*RepositoryIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o RepositoryIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RepositoryIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamBinding.go b/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamBinding.go index 2431b724d8..b9badd6ee4 100644 --- a/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamBinding.go +++ b/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RepositoryWorkspaceIamBinding) ToRepositoryWorkspaceIamBindingOutputWit return pulumi.ToOutputWithContext(ctx, i).(RepositoryWorkspaceIamBindingOutput) } +func (i *RepositoryWorkspaceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RepositoryWorkspaceIamBinding] { + return pulumix.Output[*RepositoryWorkspaceIamBinding]{ + OutputState: i.ToRepositoryWorkspaceIamBindingOutputWithContext(ctx).OutputState, + } +} + type RepositoryWorkspaceIamBindingOutput struct{ *pulumi.OutputState } func (RepositoryWorkspaceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepositoryWorkspaceIamBindingOutput) ToRepositoryWorkspaceIamBindingOutp return o } +func (o RepositoryWorkspaceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryWorkspaceIamBinding] { + return pulumix.Output[*RepositoryWorkspaceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepositoryWorkspaceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepositoryWorkspaceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamMember.go b/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamMember.go index 6dce29b358..c3eb2b8099 100644 --- a/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamMember.go +++ b/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RepositoryWorkspaceIamMember) ToRepositoryWorkspaceIamMemberOutputWithC return pulumi.ToOutputWithContext(ctx, i).(RepositoryWorkspaceIamMemberOutput) } +func (i *RepositoryWorkspaceIamMember) ToOutput(ctx context.Context) pulumix.Output[*RepositoryWorkspaceIamMember] { + return pulumix.Output[*RepositoryWorkspaceIamMember]{ + OutputState: i.ToRepositoryWorkspaceIamMemberOutputWithContext(ctx).OutputState, + } +} + type RepositoryWorkspaceIamMemberOutput struct{ *pulumi.OutputState } func (RepositoryWorkspaceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepositoryWorkspaceIamMemberOutput) ToRepositoryWorkspaceIamMemberOutput return o } +func (o RepositoryWorkspaceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryWorkspaceIamMember] { + return pulumix.Output[*RepositoryWorkspaceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepositoryWorkspaceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepositoryWorkspaceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamPolicy.go b/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamPolicy.go index 5e90564bab..4ac540262e 100644 --- a/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamPolicy.go +++ b/sdk/go/google/dataform/v1beta1/repositoryWorkspaceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -132,6 +133,12 @@ func (i *RepositoryWorkspaceIamPolicy) ToRepositoryWorkspaceIamPolicyOutputWithC return pulumi.ToOutputWithContext(ctx, i).(RepositoryWorkspaceIamPolicyOutput) } +func (i *RepositoryWorkspaceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RepositoryWorkspaceIamPolicy] { + return pulumix.Output[*RepositoryWorkspaceIamPolicy]{ + OutputState: i.ToRepositoryWorkspaceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RepositoryWorkspaceIamPolicyOutput struct{ *pulumi.OutputState } func (RepositoryWorkspaceIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o RepositoryWorkspaceIamPolicyOutput) ToRepositoryWorkspaceIamPolicyOutput return o } +func (o RepositoryWorkspaceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RepositoryWorkspaceIamPolicy] { + return pulumix.Output[*RepositoryWorkspaceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o RepositoryWorkspaceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RepositoryWorkspaceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataform/v1beta1/workflowConfig.go b/sdk/go/google/dataform/v1beta1/workflowConfig.go index d9405b371d..5a3fdfec1f 100644 --- a/sdk/go/google/dataform/v1beta1/workflowConfig.go +++ b/sdk/go/google/dataform/v1beta1/workflowConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new WorkflowConfig in a given Repository. @@ -147,6 +148,12 @@ func (i *WorkflowConfig) ToWorkflowConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(WorkflowConfigOutput) } +func (i *WorkflowConfig) ToOutput(ctx context.Context) pulumix.Output[*WorkflowConfig] { + return pulumix.Output[*WorkflowConfig]{ + OutputState: i.ToWorkflowConfigOutputWithContext(ctx).OutputState, + } +} + type WorkflowConfigOutput struct{ *pulumi.OutputState } func (WorkflowConfigOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o WorkflowConfigOutput) ToWorkflowConfigOutputWithContext(ctx context.Cont return o } +func (o WorkflowConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowConfig] { + return pulumix.Output[*WorkflowConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Optional schedule (in cron format) for automatic execution of this workflow config. func (o WorkflowConfigOutput) CronSchedule() pulumi.StringOutput { return o.ApplyT(func(v *WorkflowConfig) pulumi.StringOutput { return v.CronSchedule }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataform/v1beta1/workflowInvocation.go b/sdk/go/google/dataform/v1beta1/workflowInvocation.go index d546b94371..6b7c7ce237 100644 --- a/sdk/go/google/dataform/v1beta1/workflowInvocation.go +++ b/sdk/go/google/dataform/v1beta1/workflowInvocation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new WorkflowInvocation in a given Repository. @@ -130,6 +131,12 @@ func (i *WorkflowInvocation) ToWorkflowInvocationOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(WorkflowInvocationOutput) } +func (i *WorkflowInvocation) ToOutput(ctx context.Context) pulumix.Output[*WorkflowInvocation] { + return pulumix.Output[*WorkflowInvocation]{ + OutputState: i.ToWorkflowInvocationOutputWithContext(ctx).OutputState, + } +} + type WorkflowInvocationOutput struct{ *pulumi.OutputState } func (WorkflowInvocationOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o WorkflowInvocationOutput) ToWorkflowInvocationOutputWithContext(ctx cont return o } +func (o WorkflowInvocationOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowInvocation] { + return pulumix.Output[*WorkflowInvocation]{ + OutputState: o.OutputState, + } +} + // Immutable. The name of the compilation result to compile. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. func (o WorkflowInvocationOutput) CompilationResult() pulumi.StringOutput { return o.ApplyT(func(v *WorkflowInvocation) pulumi.StringOutput { return v.CompilationResult }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataform/v1beta1/workspace.go b/sdk/go/google/dataform/v1beta1/workspace.go index dde1ab051d..f0fc2b6f92 100644 --- a/sdk/go/google/dataform/v1beta1/workspace.go +++ b/sdk/go/google/dataform/v1beta1/workspace.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Workspace in a given Repository. @@ -118,6 +119,12 @@ func (i *Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceO return pulumi.ToOutputWithContext(ctx, i).(WorkspaceOutput) } +func (i *Workspace) ToOutput(ctx context.Context) pulumix.Output[*Workspace] { + return pulumix.Output[*Workspace]{ + OutputState: i.ToWorkspaceOutputWithContext(ctx).OutputState, + } +} + type WorkspaceOutput struct{ *pulumi.OutputState } func (WorkspaceOutput) ElementType() reflect.Type { @@ -132,6 +139,12 @@ func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) Works return o } +func (o WorkspaceOutput) ToOutput(ctx context.Context) pulumix.Output[*Workspace] { + return pulumix.Output[*Workspace]{ + OutputState: o.OutputState, + } +} + func (o WorkspaceOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v *Workspace) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) } diff --git a/sdk/go/google/datafusion/v1/getInstance.go b/sdk/go/google/datafusion/v1/getInstance.go index b56e466ab3..014222b4e4 100644 --- a/sdk/go/google/datafusion/v1/getInstance.go +++ b/sdk/go/google/datafusion/v1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Data Fusion instance. @@ -132,6 +133,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // List of accelerators enabled for this CDF instance. func (o LookupInstanceResultOutput) Accelerators() AcceleratorResponseArrayOutput { return o.ApplyT(func(v LookupInstanceResult) []AcceleratorResponse { return v.Accelerators }).(AcceleratorResponseArrayOutput) diff --git a/sdk/go/google/datafusion/v1/getInstanceIamPolicy.go b/sdk/go/google/datafusion/v1/getInstanceIamPolicy.go index 05d1d5bd1c..2841425152 100644 --- a/sdk/go/google/datafusion/v1/getInstanceIamPolicy.go +++ b/sdk/go/google/datafusion/v1/getInstanceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutp return o } +func (o LookupInstanceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceIamPolicyResult] { + return pulumix.Output[LookupInstanceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datafusion/v1/instance.go b/sdk/go/google/datafusion/v1/instance.go index 5d31213fc7..09c040e512 100644 --- a/sdk/go/google/datafusion/v1/instance.go +++ b/sdk/go/google/datafusion/v1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Data Fusion instance in the specified project and location. @@ -240,6 +241,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -254,6 +261,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // List of accelerators enabled for this CDF instance. func (o InstanceOutput) Accelerators() AcceleratorResponseArrayOutput { return o.ApplyT(func(v *Instance) AcceleratorResponseArrayOutput { return v.Accelerators }).(AcceleratorResponseArrayOutput) diff --git a/sdk/go/google/datafusion/v1/instanceIamBinding.go b/sdk/go/google/datafusion/v1/instanceIamBinding.go index 4b0ab8a1f5..ca3d419512 100644 --- a/sdk/go/google/datafusion/v1/instanceIamBinding.go +++ b/sdk/go/google/datafusion/v1/instanceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceIamBindingOutput) } +func (i *InstanceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: i.ToInstanceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx cont return o } +func (o InstanceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datafusion/v1/instanceIamMember.go b/sdk/go/google/datafusion/v1/instanceIamMember.go index 4da9e435ef..a6f88f3c92 100644 --- a/sdk/go/google/datafusion/v1/instanceIamMember.go +++ b/sdk/go/google/datafusion/v1/instanceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamMemberOutput) } +func (i *InstanceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: i.ToInstanceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx contex return o } +func (o InstanceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datafusion/v1/instanceIamPolicy.go b/sdk/go/google/datafusion/v1/instanceIamPolicy.go index 612e4f7046..438de825f5 100644 --- a/sdk/go/google/datafusion/v1/instanceIamPolicy.go +++ b/sdk/go/google/datafusion/v1/instanceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamPolicyOutput) } +func (i *InstanceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: i.ToInstanceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx contex return o } +func (o InstanceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datafusion/v1/pulumiEnums.go b/sdk/go/google/datafusion/v1/pulumiEnums.go index d9b46f3690..fadd4b6a32 100644 --- a/sdk/go/google/datafusion/v1/pulumiEnums.go +++ b/sdk/go/google/datafusion/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Instance type. type InstanceType string @@ -255,6 +274,12 @@ func (o InstanceTypeOutput) ToInstanceTypePtrOutputWithContext(ctx context.Conte }).(InstanceTypePtrOutput) } +func (o InstanceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceType] { + return pulumix.Output[InstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext(ctx context.Co return o } +func (o InstanceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceType] { + return pulumix.Output[*InstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceTypePtrOutput) Elem() InstanceTypeOutput { return o.ApplyT(func(v *InstanceType) InstanceType { if v != nil { @@ -352,6 +383,12 @@ func (in *instanceTypePtr) ToInstanceTypePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(InstanceTypePtrOutput) } +func (in *instanceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceType] { + return pulumix.Output[*InstanceType]{ + OutputState: in.ToInstanceTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/datafusion/v1/pulumiTypes.go b/sdk/go/google/datafusion/v1/pulumiTypes.go index 1b79ceaf18..a3f332636a 100644 --- a/sdk/go/google/datafusion/v1/pulumiTypes.go +++ b/sdk/go/google/datafusion/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -36,6 +37,12 @@ func (o AcceleratorResponseOutput) ToAcceleratorResponseOutputWithContext(ctx co return o } +func (o AcceleratorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorResponse] { + return pulumix.Output[AcceleratorResponse]{ + OutputState: o.OutputState, + } +} + // The type of an accelator for a CDF instance. func (o AcceleratorResponseOutput) AcceleratorType() pulumi.StringOutput { return o.ApplyT(func(v AcceleratorResponse) string { return v.AcceleratorType }).(pulumi.StringOutput) @@ -60,6 +67,12 @@ func (o AcceleratorResponseArrayOutput) ToAcceleratorResponseArrayOutputWithCont return o } +func (o AcceleratorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorResponse] { + return pulumix.Output[[]AcceleratorResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorResponse { return vs[0].([]AcceleratorResponse)[vs[1].(int)] @@ -105,6 +118,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -130,6 +149,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -145,6 +170,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -198,6 +235,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -222,6 +265,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -267,6 +316,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -292,6 +347,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -307,6 +368,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -360,6 +433,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -384,6 +463,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -433,6 +518,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -458,6 +549,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -473,6 +570,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -502,6 +605,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -533,6 +642,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -562,6 +677,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -603,6 +724,12 @@ func (i CryptoKeyConfigArgs) ToCryptoKeyConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CryptoKeyConfigOutput) } +func (i CryptoKeyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyConfig] { + return pulumix.Output[CryptoKeyConfig]{ + OutputState: i.ToCryptoKeyConfigOutputWithContext(ctx).OutputState, + } +} + func (i CryptoKeyConfigArgs) ToCryptoKeyConfigPtrOutput() CryptoKeyConfigPtrOutput { return i.ToCryptoKeyConfigPtrOutputWithContext(context.Background()) } @@ -644,6 +771,12 @@ func (i *cryptoKeyConfigPtrType) ToCryptoKeyConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CryptoKeyConfigPtrOutput) } +func (i *cryptoKeyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyConfig] { + return pulumix.Output[*CryptoKeyConfig]{ + OutputState: i.ToCryptoKeyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. type CryptoKeyConfigOutput struct{ *pulumi.OutputState } @@ -669,6 +802,12 @@ func (o CryptoKeyConfigOutput) ToCryptoKeyConfigPtrOutputWithContext(ctx context }).(CryptoKeyConfigPtrOutput) } +func (o CryptoKeyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyConfig] { + return pulumix.Output[CryptoKeyConfig]{ + OutputState: o.OutputState, + } +} + // The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. func (o CryptoKeyConfigOutput) KeyReference() pulumi.StringPtrOutput { return o.ApplyT(func(v CryptoKeyConfig) *string { return v.KeyReference }).(pulumi.StringPtrOutput) @@ -688,6 +827,12 @@ func (o CryptoKeyConfigPtrOutput) ToCryptoKeyConfigPtrOutputWithContext(ctx cont return o } +func (o CryptoKeyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyConfig] { + return pulumix.Output[*CryptoKeyConfig]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyConfigPtrOutput) Elem() CryptoKeyConfigOutput { return o.ApplyT(func(v *CryptoKeyConfig) CryptoKeyConfig { if v != nil { @@ -729,6 +874,12 @@ func (o CryptoKeyConfigResponseOutput) ToCryptoKeyConfigResponseOutputWithContex return o } +func (o CryptoKeyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyConfigResponse] { + return pulumix.Output[CryptoKeyConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. func (o CryptoKeyConfigResponseOutput) KeyReference() pulumi.StringOutput { return o.ApplyT(func(v CryptoKeyConfigResponse) string { return v.KeyReference }).(pulumi.StringOutput) @@ -773,6 +924,12 @@ func (i EventPublishConfigArgs) ToEventPublishConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(EventPublishConfigOutput) } +func (i EventPublishConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EventPublishConfig] { + return pulumix.Output[EventPublishConfig]{ + OutputState: i.ToEventPublishConfigOutputWithContext(ctx).OutputState, + } +} + func (i EventPublishConfigArgs) ToEventPublishConfigPtrOutput() EventPublishConfigPtrOutput { return i.ToEventPublishConfigPtrOutputWithContext(context.Background()) } @@ -814,6 +971,12 @@ func (i *eventPublishConfigPtrType) ToEventPublishConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(EventPublishConfigPtrOutput) } +func (i *eventPublishConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EventPublishConfig] { + return pulumix.Output[*EventPublishConfig]{ + OutputState: i.ToEventPublishConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Confirguration of PubSubEventWriter. type EventPublishConfigOutput struct{ *pulumi.OutputState } @@ -839,6 +1002,12 @@ func (o EventPublishConfigOutput) ToEventPublishConfigPtrOutputWithContext(ctx c }).(EventPublishConfigPtrOutput) } +func (o EventPublishConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EventPublishConfig] { + return pulumix.Output[EventPublishConfig]{ + OutputState: o.OutputState, + } +} + // Option to enable Event Publishing. func (o EventPublishConfigOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v EventPublishConfig) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -863,6 +1032,12 @@ func (o EventPublishConfigPtrOutput) ToEventPublishConfigPtrOutputWithContext(ct return o } +func (o EventPublishConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventPublishConfig] { + return pulumix.Output[*EventPublishConfig]{ + OutputState: o.OutputState, + } +} + func (o EventPublishConfigPtrOutput) Elem() EventPublishConfigOutput { return o.ApplyT(func(v *EventPublishConfig) EventPublishConfig { if v != nil { @@ -916,6 +1091,12 @@ func (o EventPublishConfigResponseOutput) ToEventPublishConfigResponseOutputWith return o } +func (o EventPublishConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventPublishConfigResponse] { + return pulumix.Output[EventPublishConfigResponse]{ + OutputState: o.OutputState, + } +} + // Option to enable Event Publishing. func (o EventPublishConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v EventPublishConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -973,6 +1154,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1014,6 +1201,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1039,6 +1232,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1073,6 +1272,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1150,6 +1355,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1209,6 +1420,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -1250,6 +1467,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Network configuration for a Data Fusion instance. These configurations are used for peering with the customer network. Configurations are optional when a public Data Fusion instance is to be created. However, providing these configurations allows several benefits, such as reduced network latency while accessing the customer resources from managed Data Fusion instance nodes, as well as access to the customer on-prem resources. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -1275,6 +1498,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the customer network. func (o NetworkConfigOutput) IpAllocation() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkConfig) *string { return v.IpAllocation }).(pulumi.StringPtrOutput) @@ -1299,6 +1528,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -1352,6 +1587,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the customer network. func (o NetworkConfigResponseOutput) IpAllocation() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfigResponse) string { return v.IpAllocation }).(pulumi.StringOutput) @@ -1389,6 +1630,12 @@ func (o VersionResponseOutput) ToVersionResponseOutputWithContext(ctx context.Co return o } +func (o VersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VersionResponse] { + return pulumix.Output[VersionResponse]{ + OutputState: o.OutputState, + } +} + // Represents a list of available feature names for a given version. func (o VersionResponseOutput) AvailableFeatures() pulumi.StringArrayOutput { return o.ApplyT(func(v VersionResponse) []string { return v.AvailableFeatures }).(pulumi.StringArrayOutput) @@ -1423,6 +1670,12 @@ func (o VersionResponseArrayOutput) ToVersionResponseArrayOutputWithContext(ctx return o } +func (o VersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VersionResponse] { + return pulumix.Output[[]VersionResponse]{ + OutputState: o.OutputState, + } +} + func (o VersionResponseArrayOutput) Index(i pulumi.IntInput) VersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VersionResponse { return vs[0].([]VersionResponse)[vs[1].(int)] diff --git a/sdk/go/google/datafusion/v1beta1/getInstance.go b/sdk/go/google/datafusion/v1beta1/getInstance.go index b84594c2d9..9e8ae7852a 100644 --- a/sdk/go/google/datafusion/v1beta1/getInstance.go +++ b/sdk/go/google/datafusion/v1beta1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Data Fusion instance. @@ -132,6 +133,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // List of accelerators enabled for this CDF instance. func (o LookupInstanceResultOutput) Accelerators() AcceleratorResponseArrayOutput { return o.ApplyT(func(v LookupInstanceResult) []AcceleratorResponse { return v.Accelerators }).(AcceleratorResponseArrayOutput) diff --git a/sdk/go/google/datafusion/v1beta1/getInstanceIamPolicy.go b/sdk/go/google/datafusion/v1beta1/getInstanceIamPolicy.go index d9cd7575ab..989985f9c9 100644 --- a/sdk/go/google/datafusion/v1beta1/getInstanceIamPolicy.go +++ b/sdk/go/google/datafusion/v1beta1/getInstanceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutp return o } +func (o LookupInstanceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceIamPolicyResult] { + return pulumix.Output[LookupInstanceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datafusion/v1beta1/getInstanceNamespaceIamPolicy.go b/sdk/go/google/datafusion/v1beta1/getInstanceNamespaceIamPolicy.go index a07981da48..dd51585d98 100644 --- a/sdk/go/google/datafusion/v1beta1/getInstanceNamespaceIamPolicy.go +++ b/sdk/go/google/datafusion/v1beta1/getInstanceNamespaceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupInstanceNamespaceIamPolicyResultOutput) ToLookupInstanceNamespaceI return o } +func (o LookupInstanceNamespaceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceNamespaceIamPolicyResult] { + return pulumix.Output[LookupInstanceNamespaceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInstanceNamespaceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInstanceNamespaceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datafusion/v1beta1/instance.go b/sdk/go/google/datafusion/v1beta1/instance.go index 30b2fff405..80ddd3c7e7 100644 --- a/sdk/go/google/datafusion/v1beta1/instance.go +++ b/sdk/go/google/datafusion/v1beta1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Data Fusion instance in the specified project and location. @@ -240,6 +241,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -254,6 +261,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // List of accelerators enabled for this CDF instance. func (o InstanceOutput) Accelerators() AcceleratorResponseArrayOutput { return o.ApplyT(func(v *Instance) AcceleratorResponseArrayOutput { return v.Accelerators }).(AcceleratorResponseArrayOutput) diff --git a/sdk/go/google/datafusion/v1beta1/instanceIamBinding.go b/sdk/go/google/datafusion/v1beta1/instanceIamBinding.go index 7ba97d7f57..c734daeacf 100644 --- a/sdk/go/google/datafusion/v1beta1/instanceIamBinding.go +++ b/sdk/go/google/datafusion/v1beta1/instanceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceIamBindingOutput) } +func (i *InstanceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: i.ToInstanceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx cont return o } +func (o InstanceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datafusion/v1beta1/instanceIamMember.go b/sdk/go/google/datafusion/v1beta1/instanceIamMember.go index b3898c45c4..73fa274468 100644 --- a/sdk/go/google/datafusion/v1beta1/instanceIamMember.go +++ b/sdk/go/google/datafusion/v1beta1/instanceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamMemberOutput) } +func (i *InstanceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: i.ToInstanceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx contex return o } +func (o InstanceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datafusion/v1beta1/instanceIamPolicy.go b/sdk/go/google/datafusion/v1beta1/instanceIamPolicy.go index 1bcc45f7a5..0c8485bd85 100644 --- a/sdk/go/google/datafusion/v1beta1/instanceIamPolicy.go +++ b/sdk/go/google/datafusion/v1beta1/instanceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamPolicyOutput) } +func (i *InstanceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: i.ToInstanceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx contex return o } +func (o InstanceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamBinding.go b/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamBinding.go index d317f75fdb..c9115f589b 100644 --- a/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamBinding.go +++ b/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceNamespaceIamBinding) ToInstanceNamespaceIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(InstanceNamespaceIamBindingOutput) } +func (i *InstanceNamespaceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceNamespaceIamBinding] { + return pulumix.Output[*InstanceNamespaceIamBinding]{ + OutputState: i.ToInstanceNamespaceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceNamespaceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceNamespaceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceNamespaceIamBindingOutput) ToInstanceNamespaceIamBindingOutputWi return o } +func (o InstanceNamespaceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceNamespaceIamBinding] { + return pulumix.Output[*InstanceNamespaceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceNamespaceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceNamespaceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamMember.go b/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamMember.go index 0ba5a6cc0c..2b0b022e21 100644 --- a/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamMember.go +++ b/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceNamespaceIamMember) ToInstanceNamespaceIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(InstanceNamespaceIamMemberOutput) } +func (i *InstanceNamespaceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceNamespaceIamMember] { + return pulumix.Output[*InstanceNamespaceIamMember]{ + OutputState: i.ToInstanceNamespaceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceNamespaceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceNamespaceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceNamespaceIamMemberOutput) ToInstanceNamespaceIamMemberOutputWith return o } +func (o InstanceNamespaceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceNamespaceIamMember] { + return pulumix.Output[*InstanceNamespaceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceNamespaceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceNamespaceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamPolicy.go b/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamPolicy.go index 5a2241746e..e043ed141d 100644 --- a/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamPolicy.go +++ b/sdk/go/google/datafusion/v1beta1/instanceNamespaceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *InstanceNamespaceIamPolicy) ToInstanceNamespaceIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(InstanceNamespaceIamPolicyOutput) } +func (i *InstanceNamespaceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceNamespaceIamPolicy] { + return pulumix.Output[*InstanceNamespaceIamPolicy]{ + OutputState: i.ToInstanceNamespaceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceNamespaceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceNamespaceIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o InstanceNamespaceIamPolicyOutput) ToInstanceNamespaceIamPolicyOutputWith return o } +func (o InstanceNamespaceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceNamespaceIamPolicy] { + return pulumix.Output[*InstanceNamespaceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InstanceNamespaceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InstanceNamespaceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datafusion/v1beta1/pulumiEnums.go b/sdk/go/google/datafusion/v1beta1/pulumiEnums.go index 65c81fd563..06af8c7d9b 100644 --- a/sdk/go/google/datafusion/v1beta1/pulumiEnums.go +++ b/sdk/go/google/datafusion/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Instance type. type InstanceType string @@ -255,6 +274,12 @@ func (o InstanceTypeOutput) ToInstanceTypePtrOutputWithContext(ctx context.Conte }).(InstanceTypePtrOutput) } +func (o InstanceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceType] { + return pulumix.Output[InstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext(ctx context.Co return o } +func (o InstanceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceType] { + return pulumix.Output[*InstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceTypePtrOutput) Elem() InstanceTypeOutput { return o.ApplyT(func(v *InstanceType) InstanceType { if v != nil { @@ -352,6 +383,12 @@ func (in *instanceTypePtr) ToInstanceTypePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(InstanceTypePtrOutput) } +func (in *instanceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceType] { + return pulumix.Output[*InstanceType]{ + OutputState: in.ToInstanceTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/datafusion/v1beta1/pulumiTypes.go b/sdk/go/google/datafusion/v1beta1/pulumiTypes.go index 620759cf61..8bbf3bd487 100644 --- a/sdk/go/google/datafusion/v1beta1/pulumiTypes.go +++ b/sdk/go/google/datafusion/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -36,6 +37,12 @@ func (o AcceleratorResponseOutput) ToAcceleratorResponseOutputWithContext(ctx co return o } +func (o AcceleratorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorResponse] { + return pulumix.Output[AcceleratorResponse]{ + OutputState: o.OutputState, + } +} + // The type of an accelator for a CDF instance. func (o AcceleratorResponseOutput) AcceleratorType() pulumi.StringOutput { return o.ApplyT(func(v AcceleratorResponse) string { return v.AcceleratorType }).(pulumi.StringOutput) @@ -60,6 +67,12 @@ func (o AcceleratorResponseArrayOutput) ToAcceleratorResponseArrayOutputWithCont return o } +func (o AcceleratorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorResponse] { + return pulumix.Output[[]AcceleratorResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorResponse { return vs[0].([]AcceleratorResponse)[vs[1].(int)] @@ -105,6 +118,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -130,6 +149,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -145,6 +170,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -198,6 +235,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -222,6 +265,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -267,6 +316,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -292,6 +347,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -307,6 +368,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -360,6 +433,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -384,6 +463,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -433,6 +518,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -458,6 +549,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -473,6 +570,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -502,6 +605,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -533,6 +642,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -562,6 +677,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -603,6 +724,12 @@ func (i CryptoKeyConfigArgs) ToCryptoKeyConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CryptoKeyConfigOutput) } +func (i CryptoKeyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyConfig] { + return pulumix.Output[CryptoKeyConfig]{ + OutputState: i.ToCryptoKeyConfigOutputWithContext(ctx).OutputState, + } +} + func (i CryptoKeyConfigArgs) ToCryptoKeyConfigPtrOutput() CryptoKeyConfigPtrOutput { return i.ToCryptoKeyConfigPtrOutputWithContext(context.Background()) } @@ -644,6 +771,12 @@ func (i *cryptoKeyConfigPtrType) ToCryptoKeyConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CryptoKeyConfigPtrOutput) } +func (i *cryptoKeyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyConfig] { + return pulumix.Output[*CryptoKeyConfig]{ + OutputState: i.ToCryptoKeyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. type CryptoKeyConfigOutput struct{ *pulumi.OutputState } @@ -669,6 +802,12 @@ func (o CryptoKeyConfigOutput) ToCryptoKeyConfigPtrOutputWithContext(ctx context }).(CryptoKeyConfigPtrOutput) } +func (o CryptoKeyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyConfig] { + return pulumix.Output[CryptoKeyConfig]{ + OutputState: o.OutputState, + } +} + // The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. func (o CryptoKeyConfigOutput) KeyReference() pulumi.StringPtrOutput { return o.ApplyT(func(v CryptoKeyConfig) *string { return v.KeyReference }).(pulumi.StringPtrOutput) @@ -688,6 +827,12 @@ func (o CryptoKeyConfigPtrOutput) ToCryptoKeyConfigPtrOutputWithContext(ctx cont return o } +func (o CryptoKeyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoKeyConfig] { + return pulumix.Output[*CryptoKeyConfig]{ + OutputState: o.OutputState, + } +} + func (o CryptoKeyConfigPtrOutput) Elem() CryptoKeyConfigOutput { return o.ApplyT(func(v *CryptoKeyConfig) CryptoKeyConfig { if v != nil { @@ -729,6 +874,12 @@ func (o CryptoKeyConfigResponseOutput) ToCryptoKeyConfigResponseOutputWithContex return o } +func (o CryptoKeyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoKeyConfigResponse] { + return pulumix.Output[CryptoKeyConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`. func (o CryptoKeyConfigResponseOutput) KeyReference() pulumi.StringOutput { return o.ApplyT(func(v CryptoKeyConfigResponse) string { return v.KeyReference }).(pulumi.StringOutput) @@ -773,6 +924,12 @@ func (i EventPublishConfigArgs) ToEventPublishConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(EventPublishConfigOutput) } +func (i EventPublishConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EventPublishConfig] { + return pulumix.Output[EventPublishConfig]{ + OutputState: i.ToEventPublishConfigOutputWithContext(ctx).OutputState, + } +} + func (i EventPublishConfigArgs) ToEventPublishConfigPtrOutput() EventPublishConfigPtrOutput { return i.ToEventPublishConfigPtrOutputWithContext(context.Background()) } @@ -814,6 +971,12 @@ func (i *eventPublishConfigPtrType) ToEventPublishConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(EventPublishConfigPtrOutput) } +func (i *eventPublishConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EventPublishConfig] { + return pulumix.Output[*EventPublishConfig]{ + OutputState: i.ToEventPublishConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Confirguration of PubSubEventWriter. type EventPublishConfigOutput struct{ *pulumi.OutputState } @@ -839,6 +1002,12 @@ func (o EventPublishConfigOutput) ToEventPublishConfigPtrOutputWithContext(ctx c }).(EventPublishConfigPtrOutput) } +func (o EventPublishConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EventPublishConfig] { + return pulumix.Output[EventPublishConfig]{ + OutputState: o.OutputState, + } +} + // Option to enable Event Publishing. func (o EventPublishConfigOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v EventPublishConfig) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -863,6 +1032,12 @@ func (o EventPublishConfigPtrOutput) ToEventPublishConfigPtrOutputWithContext(ct return o } +func (o EventPublishConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventPublishConfig] { + return pulumix.Output[*EventPublishConfig]{ + OutputState: o.OutputState, + } +} + func (o EventPublishConfigPtrOutput) Elem() EventPublishConfigOutput { return o.ApplyT(func(v *EventPublishConfig) EventPublishConfig { if v != nil { @@ -916,6 +1091,12 @@ func (o EventPublishConfigResponseOutput) ToEventPublishConfigResponseOutputWith return o } +func (o EventPublishConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventPublishConfigResponse] { + return pulumix.Output[EventPublishConfigResponse]{ + OutputState: o.OutputState, + } +} + // Option to enable Event Publishing. func (o EventPublishConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v EventPublishConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -973,6 +1154,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1014,6 +1201,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1039,6 +1232,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1073,6 +1272,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1150,6 +1355,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1209,6 +1420,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -1250,6 +1467,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Network configuration for a Data Fusion instance. These configurations are used for peering with the customer network. Configurations are optional when a public Data Fusion instance is to be created. However, providing these configurations allows several benefits, such as reduced network latency while accessing the customer resources from managed Data Fusion instance nodes, as well as access to the customer on-prem resources. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -1275,6 +1498,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network. func (o NetworkConfigOutput) IpAllocation() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkConfig) *string { return v.IpAllocation }).(pulumi.StringPtrOutput) @@ -1299,6 +1528,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -1352,6 +1587,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // The IP range in CIDR notation to use for the managed Data Fusion instance nodes. This range must not overlap with any other ranges used in the Data Fusion instance network. func (o NetworkConfigResponseOutput) IpAllocation() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfigResponse) string { return v.IpAllocation }).(pulumi.StringOutput) @@ -1389,6 +1630,12 @@ func (o VersionResponseOutput) ToVersionResponseOutputWithContext(ctx context.Co return o } +func (o VersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VersionResponse] { + return pulumix.Output[VersionResponse]{ + OutputState: o.OutputState, + } +} + // Represents a list of available feature names for a given version. func (o VersionResponseOutput) AvailableFeatures() pulumi.StringArrayOutput { return o.ApplyT(func(v VersionResponse) []string { return v.AvailableFeatures }).(pulumi.StringArrayOutput) @@ -1423,6 +1670,12 @@ func (o VersionResponseArrayOutput) ToVersionResponseArrayOutputWithContext(ctx return o } +func (o VersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VersionResponse] { + return pulumix.Output[[]VersionResponse]{ + OutputState: o.OutputState, + } +} + func (o VersionResponseArrayOutput) Index(i pulumi.IntInput) VersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VersionResponse { return vs[0].([]VersionResponse)[vs[1].(int)] diff --git a/sdk/go/google/datalabeling/v1beta1/annotationSpecSet.go b/sdk/go/google/datalabeling/v1beta1/annotationSpecSet.go index a62c01d56e..33e37f9f10 100644 --- a/sdk/go/google/datalabeling/v1beta1/annotationSpecSet.go +++ b/sdk/go/google/datalabeling/v1beta1/annotationSpecSet.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an annotation spec set by providing a set of labels. @@ -123,6 +124,12 @@ func (i *AnnotationSpecSet) ToAnnotationSpecSetOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AnnotationSpecSetOutput) } +func (i *AnnotationSpecSet) ToOutput(ctx context.Context) pulumix.Output[*AnnotationSpecSet] { + return pulumix.Output[*AnnotationSpecSet]{ + OutputState: i.ToAnnotationSpecSetOutputWithContext(ctx).OutputState, + } +} + type AnnotationSpecSetOutput struct{ *pulumi.OutputState } func (AnnotationSpecSetOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o AnnotationSpecSetOutput) ToAnnotationSpecSetOutputWithContext(ctx contex return o } +func (o AnnotationSpecSetOutput) ToOutput(ctx context.Context) pulumix.Output[*AnnotationSpecSet] { + return pulumix.Output[*AnnotationSpecSet]{ + OutputState: o.OutputState, + } +} + // The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task. func (o AnnotationSpecSetOutput) AnnotationSpecs() GoogleCloudDatalabelingV1beta1AnnotationSpecResponseArrayOutput { return o.ApplyT(func(v *AnnotationSpecSet) GoogleCloudDatalabelingV1beta1AnnotationSpecResponseArrayOutput { diff --git a/sdk/go/google/datalabeling/v1beta1/dataset.go b/sdk/go/google/datalabeling/v1beta1/dataset.go index d6aff89f94..ba729792e8 100644 --- a/sdk/go/google/datalabeling/v1beta1/dataset.go +++ b/sdk/go/google/datalabeling/v1beta1/dataset.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates dataset. If success return a Dataset resource. @@ -126,6 +127,12 @@ func (i *Dataset) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput return pulumi.ToOutputWithContext(ctx, i).(DatasetOutput) } +func (i *Dataset) ToOutput(ctx context.Context) pulumix.Output[*Dataset] { + return pulumix.Output[*Dataset]{ + OutputState: i.ToDatasetOutputWithContext(ctx).OutputState, + } +} + type DatasetOutput struct{ *pulumi.OutputState } func (DatasetOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o DatasetOutput) ToDatasetOutputWithContext(ctx context.Context) DatasetOu return o } +func (o DatasetOutput) ToOutput(ctx context.Context) pulumix.Output[*Dataset] { + return pulumix.Output[*Dataset]{ + OutputState: o.OutputState, + } +} + // The names of any related resources that are blocking changes to the dataset. func (o DatasetOutput) BlockingResources() pulumi.StringArrayOutput { return o.ApplyT(func(v *Dataset) pulumi.StringArrayOutput { return v.BlockingResources }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datalabeling/v1beta1/evaluationJob.go b/sdk/go/google/datalabeling/v1beta1/evaluationJob.go index a1e244f9a2..661d7a8a30 100644 --- a/sdk/go/google/datalabeling/v1beta1/evaluationJob.go +++ b/sdk/go/google/datalabeling/v1beta1/evaluationJob.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an evaluation job. @@ -157,6 +158,12 @@ func (i *EvaluationJob) ToEvaluationJobOutputWithContext(ctx context.Context) Ev return pulumi.ToOutputWithContext(ctx, i).(EvaluationJobOutput) } +func (i *EvaluationJob) ToOutput(ctx context.Context) pulumix.Output[*EvaluationJob] { + return pulumix.Output[*EvaluationJob]{ + OutputState: i.ToEvaluationJobOutputWithContext(ctx).OutputState, + } +} + type EvaluationJobOutput struct{ *pulumi.OutputState } func (EvaluationJobOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o EvaluationJobOutput) ToEvaluationJobOutputWithContext(ctx context.Contex return o } +func (o EvaluationJobOutput) ToOutput(ctx context.Context) pulumix.Output[*EvaluationJob] { + return pulumix.Output[*EvaluationJob]{ + OutputState: o.OutputState, + } +} + // Name of the AnnotationSpecSet describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format: "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}" func (o EvaluationJobOutput) AnnotationSpecSet() pulumi.StringOutput { return o.ApplyT(func(v *EvaluationJob) pulumi.StringOutput { return v.AnnotationSpecSet }).(pulumi.StringOutput) diff --git a/sdk/go/google/datalabeling/v1beta1/feedbackMessage.go b/sdk/go/google/datalabeling/v1beta1/feedbackMessage.go index cb16822304..34a82be2c9 100644 --- a/sdk/go/google/datalabeling/v1beta1/feedbackMessage.go +++ b/sdk/go/google/datalabeling/v1beta1/feedbackMessage.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a FeedbackMessage object. @@ -145,6 +146,12 @@ func (i *FeedbackMessage) ToFeedbackMessageOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FeedbackMessageOutput) } +func (i *FeedbackMessage) ToOutput(ctx context.Context) pulumix.Output[*FeedbackMessage] { + return pulumix.Output[*FeedbackMessage]{ + OutputState: i.ToFeedbackMessageOutputWithContext(ctx).OutputState, + } +} + type FeedbackMessageOutput struct{ *pulumi.OutputState } func (FeedbackMessageOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o FeedbackMessageOutput) ToFeedbackMessageOutputWithContext(ctx context.Co return o } +func (o FeedbackMessageOutput) ToOutput(ctx context.Context) pulumix.Output[*FeedbackMessage] { + return pulumix.Output[*FeedbackMessage]{ + OutputState: o.OutputState, + } +} + func (o FeedbackMessageOutput) AnnotatedDatasetId() pulumi.StringOutput { return o.ApplyT(func(v *FeedbackMessage) pulumi.StringOutput { return v.AnnotatedDatasetId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/datalabeling/v1beta1/getAnnotationSpecSet.go b/sdk/go/google/datalabeling/v1beta1/getAnnotationSpecSet.go index a61cda0d21..b927c0fac4 100644 --- a/sdk/go/google/datalabeling/v1beta1/getAnnotationSpecSet.go +++ b/sdk/go/google/datalabeling/v1beta1/getAnnotationSpecSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an annotation spec set by resource name. @@ -76,6 +77,12 @@ func (o LookupAnnotationSpecSetResultOutput) ToLookupAnnotationSpecSetResultOutp return o } +func (o LookupAnnotationSpecSetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAnnotationSpecSetResult] { + return pulumix.Output[LookupAnnotationSpecSetResult]{ + OutputState: o.OutputState, + } +} + // The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task. func (o LookupAnnotationSpecSetResultOutput) AnnotationSpecs() GoogleCloudDatalabelingV1beta1AnnotationSpecResponseArrayOutput { return o.ApplyT(func(v LookupAnnotationSpecSetResult) []GoogleCloudDatalabelingV1beta1AnnotationSpecResponse { diff --git a/sdk/go/google/datalabeling/v1beta1/getDataset.go b/sdk/go/google/datalabeling/v1beta1/getDataset.go index 33e7e55e9f..faf734c589 100644 --- a/sdk/go/google/datalabeling/v1beta1/getDataset.go +++ b/sdk/go/google/datalabeling/v1beta1/getDataset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets dataset by resource name. @@ -82,6 +83,12 @@ func (o LookupDatasetResultOutput) ToLookupDatasetResultOutputWithContext(ctx co return o } +func (o LookupDatasetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetResult] { + return pulumix.Output[LookupDatasetResult]{ + OutputState: o.OutputState, + } +} + // The names of any related resources that are blocking changes to the dataset. func (o LookupDatasetResultOutput) BlockingResources() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupDatasetResult) []string { return v.BlockingResources }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datalabeling/v1beta1/getEvaluationJob.go b/sdk/go/google/datalabeling/v1beta1/getEvaluationJob.go index 387170b0de..f973f9f6fe 100644 --- a/sdk/go/google/datalabeling/v1beta1/getEvaluationJob.go +++ b/sdk/go/google/datalabeling/v1beta1/getEvaluationJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an evaluation job by resource name. @@ -86,6 +87,12 @@ func (o LookupEvaluationJobResultOutput) ToLookupEvaluationJobResultOutputWithCo return o } +func (o LookupEvaluationJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEvaluationJobResult] { + return pulumix.Output[LookupEvaluationJobResult]{ + OutputState: o.OutputState, + } +} + // Name of the AnnotationSpecSet describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format: "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}" func (o LookupEvaluationJobResultOutput) AnnotationSpecSet() pulumi.StringOutput { return o.ApplyT(func(v LookupEvaluationJobResult) string { return v.AnnotationSpecSet }).(pulumi.StringOutput) diff --git a/sdk/go/google/datalabeling/v1beta1/getFeedbackMessage.go b/sdk/go/google/datalabeling/v1beta1/getFeedbackMessage.go index d6d4a944df..e623d27752 100644 --- a/sdk/go/google/datalabeling/v1beta1/getFeedbackMessage.go +++ b/sdk/go/google/datalabeling/v1beta1/getFeedbackMessage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a FeedbackMessage object. @@ -82,6 +83,12 @@ func (o LookupFeedbackMessageResultOutput) ToLookupFeedbackMessageResultOutputWi return o } +func (o LookupFeedbackMessageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFeedbackMessageResult] { + return pulumix.Output[LookupFeedbackMessageResult]{ + OutputState: o.OutputState, + } +} + // String content of the feedback. Maximum of 10000 characters. func (o LookupFeedbackMessageResultOutput) Body() pulumi.StringOutput { return o.ApplyT(func(v LookupFeedbackMessageResult) string { return v.Body }).(pulumi.StringOutput) diff --git a/sdk/go/google/datalabeling/v1beta1/getInstruction.go b/sdk/go/google/datalabeling/v1beta1/getInstruction.go index 8389203991..0a88561ce1 100644 --- a/sdk/go/google/datalabeling/v1beta1/getInstruction.go +++ b/sdk/go/google/datalabeling/v1beta1/getInstruction.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an instruction by resource name. @@ -86,6 +87,12 @@ func (o LookupInstructionResultOutput) ToLookupInstructionResultOutputWithContex return o } +func (o LookupInstructionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstructionResult] { + return pulumix.Output[LookupInstructionResult]{ + OutputState: o.OutputState, + } +} + // The names of any related resources that are blocking changes to the instruction. func (o LookupInstructionResultOutput) BlockingResources() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupInstructionResult) []string { return v.BlockingResources }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datalabeling/v1beta1/instruction.go b/sdk/go/google/datalabeling/v1beta1/instruction.go index 87657c5562..09e6542b00 100644 --- a/sdk/go/google/datalabeling/v1beta1/instruction.go +++ b/sdk/go/google/datalabeling/v1beta1/instruction.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instruction for how data should be labeled. @@ -145,6 +146,12 @@ func (i *Instruction) ToInstructionOutputWithContext(ctx context.Context) Instru return pulumi.ToOutputWithContext(ctx, i).(InstructionOutput) } +func (i *Instruction) ToOutput(ctx context.Context) pulumix.Output[*Instruction] { + return pulumix.Output[*Instruction]{ + OutputState: i.ToInstructionOutputWithContext(ctx).OutputState, + } +} + type InstructionOutput struct{ *pulumi.OutputState } func (InstructionOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o InstructionOutput) ToInstructionOutputWithContext(ctx context.Context) I return o } +func (o InstructionOutput) ToOutput(ctx context.Context) pulumix.Output[*Instruction] { + return pulumix.Output[*Instruction]{ + OutputState: o.OutputState, + } +} + // The names of any related resources that are blocking changes to the instruction. func (o InstructionOutput) BlockingResources() pulumi.StringArrayOutput { return o.ApplyT(func(v *Instruction) pulumi.StringArrayOutput { return v.BlockingResources }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/datalabeling/v1beta1/pulumiEnums.go b/sdk/go/google/datalabeling/v1beta1/pulumiEnums.go index 37d2ead494..ee117e53be 100644 --- a/sdk/go/google/datalabeling/v1beta1/pulumiEnums.go +++ b/sdk/go/google/datalabeling/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. The type of how to aggregate answers. @@ -83,6 +84,12 @@ func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregation }).(GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypePtrOutput) } +func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationType] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -118,6 +125,12 @@ func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregation return o } +func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationType] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypePtrOutput) Elem() GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypeOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationType) GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationType { if v != nil { @@ -180,6 +193,12 @@ func (in *googleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregati return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypePtrOutput) } +func (in *googleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationType] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationType]{ + OutputState: in.ToGoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob. type GoogleCloudDatalabelingV1beta1InputConfigAnnotationType string @@ -273,6 +292,12 @@ func (o GoogleCloudDatalabelingV1beta1InputConfigAnnotationTypeOutput) ToGoogleC }).(GoogleCloudDatalabelingV1beta1InputConfigAnnotationTypePtrOutput) } +func (o GoogleCloudDatalabelingV1beta1InputConfigAnnotationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1InputConfigAnnotationType] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1InputConfigAnnotationType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1InputConfigAnnotationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -308,6 +333,12 @@ func (o GoogleCloudDatalabelingV1beta1InputConfigAnnotationTypePtrOutput) ToGoog return o } +func (o GoogleCloudDatalabelingV1beta1InputConfigAnnotationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfigAnnotationType] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfigAnnotationType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1InputConfigAnnotationTypePtrOutput) Elem() GoogleCloudDatalabelingV1beta1InputConfigAnnotationTypeOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1InputConfigAnnotationType) GoogleCloudDatalabelingV1beta1InputConfigAnnotationType { if v != nil { @@ -370,6 +401,12 @@ func (in *googleCloudDatalabelingV1beta1InputConfigAnnotationTypePtr) ToGoogleCl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatalabelingV1beta1InputConfigAnnotationTypePtrOutput) } +func (in *googleCloudDatalabelingV1beta1InputConfigAnnotationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfigAnnotationType] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfigAnnotationType]{ + OutputState: in.ToGoogleCloudDatalabelingV1beta1InputConfigAnnotationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Data type must be specifed when user tries to import data. type GoogleCloudDatalabelingV1beta1InputConfigDataType string @@ -446,6 +483,12 @@ func (o GoogleCloudDatalabelingV1beta1InputConfigDataTypeOutput) ToGoogleCloudDa }).(GoogleCloudDatalabelingV1beta1InputConfigDataTypePtrOutput) } +func (o GoogleCloudDatalabelingV1beta1InputConfigDataTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1InputConfigDataType] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1InputConfigDataType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1InputConfigDataTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -481,6 +524,12 @@ func (o GoogleCloudDatalabelingV1beta1InputConfigDataTypePtrOutput) ToGoogleClou return o } +func (o GoogleCloudDatalabelingV1beta1InputConfigDataTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfigDataType] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfigDataType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1InputConfigDataTypePtrOutput) Elem() GoogleCloudDatalabelingV1beta1InputConfigDataTypeOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1InputConfigDataType) GoogleCloudDatalabelingV1beta1InputConfigDataType { if v != nil { @@ -543,6 +592,12 @@ func (in *googleCloudDatalabelingV1beta1InputConfigDataTypePtr) ToGoogleCloudDat return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatalabelingV1beta1InputConfigDataTypePtrOutput) } +func (in *googleCloudDatalabelingV1beta1InputConfigDataTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfigDataType] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfigDataType]{ + OutputState: in.ToGoogleCloudDatalabelingV1beta1InputConfigDataTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The data type of this instruction. type InstructionDataType string @@ -619,6 +674,12 @@ func (o InstructionDataTypeOutput) ToInstructionDataTypePtrOutputWithContext(ctx }).(InstructionDataTypePtrOutput) } +func (o InstructionDataTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstructionDataType] { + return pulumix.Output[InstructionDataType]{ + OutputState: o.OutputState, + } +} + func (o InstructionDataTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -654,6 +715,12 @@ func (o InstructionDataTypePtrOutput) ToInstructionDataTypePtrOutputWithContext( return o } +func (o InstructionDataTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstructionDataType] { + return pulumix.Output[*InstructionDataType]{ + OutputState: o.OutputState, + } +} + func (o InstructionDataTypePtrOutput) Elem() InstructionDataTypeOutput { return o.ApplyT(func(v *InstructionDataType) InstructionDataType { if v != nil { @@ -716,6 +783,12 @@ func (in *instructionDataTypePtr) ToInstructionDataTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(InstructionDataTypePtrOutput) } +func (in *instructionDataTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstructionDataType] { + return pulumix.Output[*InstructionDataType]{ + OutputState: in.ToInstructionDataTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypeInput)(nil)).Elem(), GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationType("STRING_AGGREGATION_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationTypePtrInput)(nil)).Elem(), GoogleCloudDatalabelingV1beta1ImageClassificationConfigAnswerAggregationType("STRING_AGGREGATION_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/datalabeling/v1beta1/pulumiTypes.go b/sdk/go/google/datalabeling/v1beta1/pulumiTypes.go index 86d8eb2d0c..3a2958d6e5 100644 --- a/sdk/go/google/datalabeling/v1beta1/pulumiTypes.go +++ b/sdk/go/google/datalabeling/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudDatalabelingV1beta1AnnotationSpecArgs) ToGoogleCloudDatalabel return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1AnnotationSpecOutput) } +func (i GoogleCloudDatalabelingV1beta1AnnotationSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1AnnotationSpec] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1AnnotationSpec]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1AnnotationSpecOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDatalabelingV1beta1AnnotationSpecArrayInput is an input type that accepts GoogleCloudDatalabelingV1beta1AnnotationSpecArray and GoogleCloudDatalabelingV1beta1AnnotationSpecArrayOutput values. // You can construct a concrete instance of `GoogleCloudDatalabelingV1beta1AnnotationSpecArrayInput` via: // @@ -77,6 +84,12 @@ func (i GoogleCloudDatalabelingV1beta1AnnotationSpecArray) ToGoogleCloudDatalabe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1AnnotationSpecArrayOutput) } +func (i GoogleCloudDatalabelingV1beta1AnnotationSpecArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatalabelingV1beta1AnnotationSpec] { + return pulumix.Output[[]GoogleCloudDatalabelingV1beta1AnnotationSpec]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1AnnotationSpecArrayOutputWithContext(ctx).OutputState, + } +} + // Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. type GoogleCloudDatalabelingV1beta1AnnotationSpecOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o GoogleCloudDatalabelingV1beta1AnnotationSpecOutput) ToGoogleCloudDatalab return o } +func (o GoogleCloudDatalabelingV1beta1AnnotationSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1AnnotationSpec] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1AnnotationSpec]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. func (o GoogleCloudDatalabelingV1beta1AnnotationSpecOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1AnnotationSpec) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -116,6 +135,12 @@ func (o GoogleCloudDatalabelingV1beta1AnnotationSpecArrayOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatalabelingV1beta1AnnotationSpecArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatalabelingV1beta1AnnotationSpec] { + return pulumix.Output[[]GoogleCloudDatalabelingV1beta1AnnotationSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1AnnotationSpecArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatalabelingV1beta1AnnotationSpecOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatalabelingV1beta1AnnotationSpec { return vs[0].([]GoogleCloudDatalabelingV1beta1AnnotationSpec)[vs[1].(int)] @@ -147,6 +172,12 @@ func (o GoogleCloudDatalabelingV1beta1AnnotationSpecResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDatalabelingV1beta1AnnotationSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1AnnotationSpecResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1AnnotationSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. func (o GoogleCloudDatalabelingV1beta1AnnotationSpecResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1AnnotationSpecResponse) string { return v.Description }).(pulumi.StringOutput) @@ -176,6 +207,12 @@ func (o GoogleCloudDatalabelingV1beta1AnnotationSpecResponseArrayOutput) ToGoogl return o } +func (o GoogleCloudDatalabelingV1beta1AnnotationSpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatalabelingV1beta1AnnotationSpecResponse] { + return pulumix.Output[[]GoogleCloudDatalabelingV1beta1AnnotationSpecResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1AnnotationSpecResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatalabelingV1beta1AnnotationSpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatalabelingV1beta1AnnotationSpecResponse { return vs[0].([]GoogleCloudDatalabelingV1beta1AnnotationSpecResponse)[vs[1].(int)] @@ -204,6 +241,12 @@ func (o GoogleCloudDatalabelingV1beta1AttemptResponseOutput) ToGoogleCloudDatala return o } +func (o GoogleCloudDatalabelingV1beta1AttemptResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1AttemptResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1AttemptResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1AttemptResponseOutput) AttemptTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1AttemptResponse) string { return v.AttemptTime }).(pulumi.StringOutput) } @@ -229,6 +272,12 @@ func (o GoogleCloudDatalabelingV1beta1AttemptResponseArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDatalabelingV1beta1AttemptResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatalabelingV1beta1AttemptResponse] { + return pulumix.Output[[]GoogleCloudDatalabelingV1beta1AttemptResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1AttemptResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatalabelingV1beta1AttemptResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatalabelingV1beta1AttemptResponse { return vs[0].([]GoogleCloudDatalabelingV1beta1AttemptResponse)[vs[1].(int)] @@ -270,6 +319,12 @@ func (i GoogleCloudDatalabelingV1beta1BigQuerySourceArgs) ToGoogleCloudDatalabel return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1BigQuerySourceOutput) } +func (i GoogleCloudDatalabelingV1beta1BigQuerySourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1BigQuerySource] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1BigQuerySource]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1BigQuerySourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1BigQuerySourceArgs) ToGoogleCloudDatalabelingV1beta1BigQuerySourcePtrOutput() GoogleCloudDatalabelingV1beta1BigQuerySourcePtrOutput { return i.ToGoogleCloudDatalabelingV1beta1BigQuerySourcePtrOutputWithContext(context.Background()) } @@ -311,6 +366,12 @@ func (i *googleCloudDatalabelingV1beta1BigQuerySourcePtrType) ToGoogleCloudDatal return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1BigQuerySourcePtrOutput) } +func (i *googleCloudDatalabelingV1beta1BigQuerySourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1BigQuerySource] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1BigQuerySource]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1BigQuerySourcePtrOutputWithContext(ctx).OutputState, + } +} + // The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version. type GoogleCloudDatalabelingV1beta1BigQuerySourceOutput struct{ *pulumi.OutputState } @@ -336,6 +397,12 @@ func (o GoogleCloudDatalabelingV1beta1BigQuerySourceOutput) ToGoogleCloudDatalab }).(GoogleCloudDatalabelingV1beta1BigQuerySourcePtrOutput) } +func (o GoogleCloudDatalabelingV1beta1BigQuerySourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1BigQuerySource] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1BigQuerySource]{ + OutputState: o.OutputState, + } +} + // BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the [correct schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" [Learn more](/ml-engine/docs/continuous-evaluation/create-job#table-schema). func (o GoogleCloudDatalabelingV1beta1BigQuerySourceOutput) InputUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1BigQuerySource) string { return v.InputUri }).(pulumi.StringOutput) @@ -355,6 +422,12 @@ func (o GoogleCloudDatalabelingV1beta1BigQuerySourcePtrOutput) ToGoogleCloudData return o } +func (o GoogleCloudDatalabelingV1beta1BigQuerySourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1BigQuerySource] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1BigQuerySource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1BigQuerySourcePtrOutput) Elem() GoogleCloudDatalabelingV1beta1BigQuerySourceOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1BigQuerySource) GoogleCloudDatalabelingV1beta1BigQuerySource { if v != nil { @@ -396,6 +469,12 @@ func (o GoogleCloudDatalabelingV1beta1BigQuerySourceResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDatalabelingV1beta1BigQuerySourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1BigQuerySourceResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1BigQuerySourceResponse]{ + OutputState: o.OutputState, + } +} + // BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the [correct schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" [Learn more](/ml-engine/docs/continuous-evaluation/create-job#table-schema). func (o GoogleCloudDatalabelingV1beta1BigQuerySourceResponseOutput) InputUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1BigQuerySourceResponse) string { return v.InputUri }).(pulumi.StringOutput) @@ -436,6 +515,12 @@ func (i GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsArgs) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsOutput) } +func (i GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsArgs) ToGoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrOutput() GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrOutputWithContext(context.Background()) } @@ -477,6 +562,12 @@ func (i *googleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrType) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrOutput) } +func (i *googleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options regarding evaluation between bounding boxes. type GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsOutput struct{ *pulumi.OutputState } @@ -502,6 +593,12 @@ func (o GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsOutput) ToGoog }).(GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions]{ + OutputState: o.OutputState, + } +} + // Minimum [intersection-over-union (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) required for 2 bounding boxes to be considered a match. This must be a number between 0 and 1. func (o GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsOutput) IouThreshold() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions) *float64 { return v.IouThreshold }).(pulumi.Float64PtrOutput) @@ -521,6 +618,12 @@ func (o GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrOutput) ToG return o } +func (o GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrOutput) Elem() GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions) GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions { if v != nil { @@ -562,6 +665,12 @@ func (o GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsResponseOutput return o } +func (o GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Minimum [intersection-over-union (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) required for 2 bounding boxes to be considered a match. This must be a number between 0 and 1. func (o GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsResponseOutput) IouThreshold() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsResponse) float64 { @@ -608,6 +717,12 @@ func (i GoogleCloudDatalabelingV1beta1BoundingPolyConfigArgs) ToGoogleCloudDatal return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1BoundingPolyConfigOutput) } +func (i GoogleCloudDatalabelingV1beta1BoundingPolyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingPolyConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingPolyConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1BoundingPolyConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1BoundingPolyConfigArgs) ToGoogleCloudDatalabelingV1beta1BoundingPolyConfigPtrOutput() GoogleCloudDatalabelingV1beta1BoundingPolyConfigPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1BoundingPolyConfigPtrOutputWithContext(context.Background()) } @@ -649,6 +764,12 @@ func (i *googleCloudDatalabelingV1beta1BoundingPolyConfigPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1BoundingPolyConfigPtrOutput) } +func (i *googleCloudDatalabelingV1beta1BoundingPolyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1BoundingPolyConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1BoundingPolyConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1BoundingPolyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config for image bounding poly (and bounding box) human labeling task. type GoogleCloudDatalabelingV1beta1BoundingPolyConfigOutput struct{ *pulumi.OutputState } @@ -674,6 +795,12 @@ func (o GoogleCloudDatalabelingV1beta1BoundingPolyConfigOutput) ToGoogleCloudDat }).(GoogleCloudDatalabelingV1beta1BoundingPolyConfigPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1BoundingPolyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingPolyConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingPolyConfig]{ + OutputState: o.OutputState, + } +} + // Annotation spec set resource name. func (o GoogleCloudDatalabelingV1beta1BoundingPolyConfigOutput) AnnotationSpecSet() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1BoundingPolyConfig) string { return v.AnnotationSpecSet }).(pulumi.StringOutput) @@ -698,6 +825,12 @@ func (o GoogleCloudDatalabelingV1beta1BoundingPolyConfigPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDatalabelingV1beta1BoundingPolyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1BoundingPolyConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1BoundingPolyConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1BoundingPolyConfigPtrOutput) Elem() GoogleCloudDatalabelingV1beta1BoundingPolyConfigOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1BoundingPolyConfig) GoogleCloudDatalabelingV1beta1BoundingPolyConfig { if v != nil { @@ -751,6 +884,12 @@ func (o GoogleCloudDatalabelingV1beta1BoundingPolyConfigResponseOutput) ToGoogle return o } +func (o GoogleCloudDatalabelingV1beta1BoundingPolyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingPolyConfigResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1BoundingPolyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Annotation spec set resource name. func (o GoogleCloudDatalabelingV1beta1BoundingPolyConfigResponseOutput) AnnotationSpecSet() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1BoundingPolyConfigResponse) string { return v.AnnotationSpecSet }).(pulumi.StringOutput) @@ -796,6 +935,12 @@ func (i GoogleCloudDatalabelingV1beta1ClassificationMetadataArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1ClassificationMetadataOutput) } +func (i GoogleCloudDatalabelingV1beta1ClassificationMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1ClassificationMetadata] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1ClassificationMetadata]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1ClassificationMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1ClassificationMetadataArgs) ToGoogleCloudDatalabelingV1beta1ClassificationMetadataPtrOutput() GoogleCloudDatalabelingV1beta1ClassificationMetadataPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1ClassificationMetadataPtrOutputWithContext(context.Background()) } @@ -837,6 +982,12 @@ func (i *googleCloudDatalabelingV1beta1ClassificationMetadataPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1ClassificationMetadataPtrOutput) } +func (i *googleCloudDatalabelingV1beta1ClassificationMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1ClassificationMetadata] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1ClassificationMetadata]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1ClassificationMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata for classification annotations. type GoogleCloudDatalabelingV1beta1ClassificationMetadataOutput struct{ *pulumi.OutputState } @@ -862,6 +1013,12 @@ func (o GoogleCloudDatalabelingV1beta1ClassificationMetadataOutput) ToGoogleClou }).(GoogleCloudDatalabelingV1beta1ClassificationMetadataPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1ClassificationMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1ClassificationMetadata] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1ClassificationMetadata]{ + OutputState: o.OutputState, + } +} + // Whether the classification task is multi-label or not. func (o GoogleCloudDatalabelingV1beta1ClassificationMetadataOutput) IsMultiLabel() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1ClassificationMetadata) *bool { return v.IsMultiLabel }).(pulumi.BoolPtrOutput) @@ -881,6 +1038,12 @@ func (o GoogleCloudDatalabelingV1beta1ClassificationMetadataPtrOutput) ToGoogleC return o } +func (o GoogleCloudDatalabelingV1beta1ClassificationMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1ClassificationMetadata] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1ClassificationMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1ClassificationMetadataPtrOutput) Elem() GoogleCloudDatalabelingV1beta1ClassificationMetadataOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1ClassificationMetadata) GoogleCloudDatalabelingV1beta1ClassificationMetadata { if v != nil { @@ -922,6 +1085,12 @@ func (o GoogleCloudDatalabelingV1beta1ClassificationMetadataResponseOutput) ToGo return o } +func (o GoogleCloudDatalabelingV1beta1ClassificationMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1ClassificationMetadataResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1ClassificationMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Whether the classification task is multi-label or not. func (o GoogleCloudDatalabelingV1beta1ClassificationMetadataResponseOutput) IsMultiLabel() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1ClassificationMetadataResponse) bool { return v.IsMultiLabel }).(pulumi.BoolOutput) @@ -962,6 +1131,12 @@ func (i GoogleCloudDatalabelingV1beta1CsvInstructionArgs) ToGoogleCloudDatalabel return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1CsvInstructionOutput) } +func (i GoogleCloudDatalabelingV1beta1CsvInstructionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1CsvInstruction] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1CsvInstruction]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1CsvInstructionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1CsvInstructionArgs) ToGoogleCloudDatalabelingV1beta1CsvInstructionPtrOutput() GoogleCloudDatalabelingV1beta1CsvInstructionPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1CsvInstructionPtrOutputWithContext(context.Background()) } @@ -1003,6 +1178,12 @@ func (i *googleCloudDatalabelingV1beta1CsvInstructionPtrType) ToGoogleCloudDatal return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1CsvInstructionPtrOutput) } +func (i *googleCloudDatalabelingV1beta1CsvInstructionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1CsvInstruction] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1CsvInstruction]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1CsvInstructionPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated: this instruction format is not supported any more. Instruction from a CSV file. type GoogleCloudDatalabelingV1beta1CsvInstructionOutput struct{ *pulumi.OutputState } @@ -1028,6 +1209,12 @@ func (o GoogleCloudDatalabelingV1beta1CsvInstructionOutput) ToGoogleCloudDatalab }).(GoogleCloudDatalabelingV1beta1CsvInstructionPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1CsvInstructionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1CsvInstruction] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1CsvInstruction]{ + OutputState: o.OutputState, + } +} + // CSV file for the instruction. Only gcs path is allowed. func (o GoogleCloudDatalabelingV1beta1CsvInstructionOutput) GcsFileUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1CsvInstruction) *string { return v.GcsFileUri }).(pulumi.StringPtrOutput) @@ -1047,6 +1234,12 @@ func (o GoogleCloudDatalabelingV1beta1CsvInstructionPtrOutput) ToGoogleCloudData return o } +func (o GoogleCloudDatalabelingV1beta1CsvInstructionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1CsvInstruction] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1CsvInstruction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1CsvInstructionPtrOutput) Elem() GoogleCloudDatalabelingV1beta1CsvInstructionOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1CsvInstruction) GoogleCloudDatalabelingV1beta1CsvInstruction { if v != nil { @@ -1088,6 +1281,12 @@ func (o GoogleCloudDatalabelingV1beta1CsvInstructionResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDatalabelingV1beta1CsvInstructionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1CsvInstructionResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1CsvInstructionResponse]{ + OutputState: o.OutputState, + } +} + // CSV file for the instruction. Only gcs path is allowed. func (o GoogleCloudDatalabelingV1beta1CsvInstructionResponseOutput) GcsFileUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1CsvInstructionResponse) string { return v.GcsFileUri }).(pulumi.StringOutput) @@ -1128,6 +1327,12 @@ func (i GoogleCloudDatalabelingV1beta1EvaluationConfigArgs) ToGoogleCloudDatalab return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1EvaluationConfigOutput) } +func (i GoogleCloudDatalabelingV1beta1EvaluationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1EvaluationConfigOutputWithContext(ctx).OutputState, + } +} + // Configuration details used for calculating evaluation metrics and creating an Evaluation. type GoogleCloudDatalabelingV1beta1EvaluationConfigOutput struct{ *pulumi.OutputState } @@ -1143,6 +1348,12 @@ func (o GoogleCloudDatalabelingV1beta1EvaluationConfigOutput) ToGoogleCloudDatal return o } +func (o GoogleCloudDatalabelingV1beta1EvaluationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationConfig]{ + OutputState: o.OutputState, + } +} + // Only specify this field if the related model performs image object detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate bounding boxes. func (o GoogleCloudDatalabelingV1beta1EvaluationConfigOutput) BoundingBoxEvaluationOptions() GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsPtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1EvaluationConfig) *GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions { @@ -1171,6 +1382,12 @@ func (o GoogleCloudDatalabelingV1beta1EvaluationConfigResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDatalabelingV1beta1EvaluationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationConfigResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Only specify this field if the related model performs image object detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate bounding boxes. func (o GoogleCloudDatalabelingV1beta1EvaluationConfigResponseOutput) BoundingBoxEvaluationOptions() GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsResponseOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1EvaluationConfigResponse) GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptionsResponse { @@ -1217,6 +1434,12 @@ func (i GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigOutput) } +func (i GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigArgs) ToGoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrOutput() GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrOutputWithContext(context.Background()) } @@ -1258,6 +1481,12 @@ func (i *googleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrOutput) } +func (i *googleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Provides details for how an evaluation job sends email alerts based on the results of a run. type GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigOutput struct{ *pulumi.OutputState } @@ -1283,6 +1512,12 @@ func (o GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigOutput) ToGoogleCl }).(GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig]{ + OutputState: o.OutputState, + } +} + // An email address to send alerts to. func (o GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig) string { return v.Email }).(pulumi.StringOutput) @@ -1309,6 +1544,12 @@ func (o GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrOutput) ToGoogl return o } +func (o GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigPtrOutput) Elem() GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig) GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig { if v != nil { @@ -1362,6 +1603,12 @@ func (o GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigResponseOutput) To return o } +func (o GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigResponse]{ + OutputState: o.OutputState, + } +} + // An email address to send alerts to. func (o GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfigResponse) string { return v.Email }).(pulumi.StringOutput) @@ -1445,6 +1692,12 @@ func (i GoogleCloudDatalabelingV1beta1EvaluationJobConfigArgs) ToGoogleCloudData return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1EvaluationJobConfigOutput) } +func (i GoogleCloudDatalabelingV1beta1EvaluationJobConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1EvaluationJobConfigOutputWithContext(ctx).OutputState, + } +} + // Configures specific details of how a continuous evaluation job works. Provide this configuration when you create an EvaluationJob. type GoogleCloudDatalabelingV1beta1EvaluationJobConfigOutput struct{ *pulumi.OutputState } @@ -1460,6 +1713,12 @@ func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobConfig]{ + OutputState: o.OutputState, + } +} + // Prediction keys that tell Data Labeling Service where to find the data for evaluation in your BigQuery table. When the service samples prediction input and output from your model version and saves it to BigQuery, the data gets stored as JSON strings in the BigQuery table. These keys tell Data Labeling Service how to parse the JSON. You can provide the following entries in this field: * `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`. * `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`. * `label_json_key`: the label key for prediction output. Required. * `label_score_json_key`: the score key for prediction output. Required. * `bounding_box_json_key`: the bounding box key for prediction output. Required if your model version perform image object detection. Learn [how to configure prediction keys](/ml-engine/docs/continuous-evaluation/create-job#prediction-keys). func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigOutput) BigqueryImportKeys() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1EvaluationJobConfig) map[string]string { @@ -1565,6 +1824,12 @@ func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponseOutput) ToGoogl return o } +func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponse]{ + OutputState: o.OutputState, + } +} + // Prediction keys that tell Data Labeling Service where to find the data for evaluation in your BigQuery table. When the service samples prediction input and output from your model version and saves it to BigQuery, the data gets stored as JSON strings in the BigQuery table. These keys tell Data Labeling Service how to parse the JSON. You can provide the following entries in this field: * `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`. * `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`. * `label_json_key`: the label key for prediction output. Required. * `label_score_json_key`: the score key for prediction output. Required. * `bounding_box_json_key`: the bounding box key for prediction output. Required if your model version perform image object detection. Learn [how to configure prediction keys](/ml-engine/docs/continuous-evaluation/create-job#prediction-keys). func (o GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponseOutput) BigqueryImportKeys() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1EvaluationJobConfigResponse) map[string]string { @@ -1672,6 +1937,12 @@ func (i GoogleCloudDatalabelingV1beta1GcsSourceArgs) ToGoogleCloudDatalabelingV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1GcsSourceOutput) } +func (i GoogleCloudDatalabelingV1beta1GcsSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1GcsSource] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1GcsSource]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1GcsSourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1GcsSourceArgs) ToGoogleCloudDatalabelingV1beta1GcsSourcePtrOutput() GoogleCloudDatalabelingV1beta1GcsSourcePtrOutput { return i.ToGoogleCloudDatalabelingV1beta1GcsSourcePtrOutputWithContext(context.Background()) } @@ -1713,6 +1984,12 @@ func (i *googleCloudDatalabelingV1beta1GcsSourcePtrType) ToGoogleCloudDatalabeli return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1GcsSourcePtrOutput) } +func (i *googleCloudDatalabelingV1beta1GcsSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1GcsSource] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1GcsSource]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1GcsSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Source of the Cloud Storage file to be imported. type GoogleCloudDatalabelingV1beta1GcsSourceOutput struct{ *pulumi.OutputState } @@ -1738,6 +2015,12 @@ func (o GoogleCloudDatalabelingV1beta1GcsSourceOutput) ToGoogleCloudDatalabeling }).(GoogleCloudDatalabelingV1beta1GcsSourcePtrOutput) } +func (o GoogleCloudDatalabelingV1beta1GcsSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1GcsSource] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1GcsSource]{ + OutputState: o.OutputState, + } +} + // The input URI of source file. This must be a Cloud Storage path (`gs://...`). func (o GoogleCloudDatalabelingV1beta1GcsSourceOutput) InputUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1GcsSource) string { return v.InputUri }).(pulumi.StringOutput) @@ -1762,6 +2045,12 @@ func (o GoogleCloudDatalabelingV1beta1GcsSourcePtrOutput) ToGoogleCloudDatalabel return o } +func (o GoogleCloudDatalabelingV1beta1GcsSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1GcsSource] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1GcsSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1GcsSourcePtrOutput) Elem() GoogleCloudDatalabelingV1beta1GcsSourceOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1GcsSource) GoogleCloudDatalabelingV1beta1GcsSource { if v != nil { @@ -1815,6 +2104,12 @@ func (o GoogleCloudDatalabelingV1beta1GcsSourceResponseOutput) ToGoogleCloudData return o } +func (o GoogleCloudDatalabelingV1beta1GcsSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1GcsSourceResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1GcsSourceResponse]{ + OutputState: o.OutputState, + } +} + // The input URI of source file. This must be a Cloud Storage path (`gs://...`). func (o GoogleCloudDatalabelingV1beta1GcsSourceResponseOutput) InputUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1GcsSourceResponse) string { return v.InputUri }).(pulumi.StringOutput) @@ -1892,6 +2187,12 @@ func (i GoogleCloudDatalabelingV1beta1HumanAnnotationConfigArgs) ToGoogleCloudDa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1HumanAnnotationConfigOutput) } +func (i GoogleCloudDatalabelingV1beta1HumanAnnotationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1HumanAnnotationConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1HumanAnnotationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1HumanAnnotationConfigArgs) ToGoogleCloudDatalabelingV1beta1HumanAnnotationConfigPtrOutput() GoogleCloudDatalabelingV1beta1HumanAnnotationConfigPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1HumanAnnotationConfigPtrOutputWithContext(context.Background()) } @@ -1933,6 +2234,12 @@ func (i *googleCloudDatalabelingV1beta1HumanAnnotationConfigPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1HumanAnnotationConfigPtrOutput) } +func (i *googleCloudDatalabelingV1beta1HumanAnnotationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1HumanAnnotationConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1HumanAnnotationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for how human labeling task should be done. type GoogleCloudDatalabelingV1beta1HumanAnnotationConfigOutput struct{ *pulumi.OutputState } @@ -1958,6 +2265,12 @@ func (o GoogleCloudDatalabelingV1beta1HumanAnnotationConfigOutput) ToGoogleCloud }).(GoogleCloudDatalabelingV1beta1HumanAnnotationConfigPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1HumanAnnotationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1HumanAnnotationConfig]{ + OutputState: o.OutputState, + } +} + // Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long. func (o GoogleCloudDatalabelingV1beta1HumanAnnotationConfigOutput) AnnotatedDatasetDescription() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1HumanAnnotationConfig) *string { @@ -2021,6 +2334,12 @@ func (o GoogleCloudDatalabelingV1beta1HumanAnnotationConfigPtrOutput) ToGoogleCl return o } +func (o GoogleCloudDatalabelingV1beta1HumanAnnotationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1HumanAnnotationConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1HumanAnnotationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1HumanAnnotationConfigPtrOutput) Elem() GoogleCloudDatalabelingV1beta1HumanAnnotationConfigOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1HumanAnnotationConfig) GoogleCloudDatalabelingV1beta1HumanAnnotationConfig { if v != nil { @@ -2158,6 +2477,12 @@ func (o GoogleCloudDatalabelingV1beta1HumanAnnotationConfigResponseOutput) ToGoo return o } +func (o GoogleCloudDatalabelingV1beta1HumanAnnotationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1HumanAnnotationConfigResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1HumanAnnotationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long. func (o GoogleCloudDatalabelingV1beta1HumanAnnotationConfigResponseOutput) AnnotatedDatasetDescription() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1HumanAnnotationConfigResponse) string { @@ -2252,6 +2577,12 @@ func (i GoogleCloudDatalabelingV1beta1ImageClassificationConfigArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1ImageClassificationConfigOutput) } +func (i GoogleCloudDatalabelingV1beta1ImageClassificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1ImageClassificationConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1ImageClassificationConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1ImageClassificationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1ImageClassificationConfigArgs) ToGoogleCloudDatalabelingV1beta1ImageClassificationConfigPtrOutput() GoogleCloudDatalabelingV1beta1ImageClassificationConfigPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1ImageClassificationConfigPtrOutputWithContext(context.Background()) } @@ -2293,6 +2624,12 @@ func (i *googleCloudDatalabelingV1beta1ImageClassificationConfigPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1ImageClassificationConfigPtrOutput) } +func (i *googleCloudDatalabelingV1beta1ImageClassificationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1ImageClassificationConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1ImageClassificationConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1ImageClassificationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config for image classification human labeling task. type GoogleCloudDatalabelingV1beta1ImageClassificationConfigOutput struct{ *pulumi.OutputState } @@ -2318,6 +2655,12 @@ func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigOutput) ToGoogleC }).(GoogleCloudDatalabelingV1beta1ImageClassificationConfigPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1ImageClassificationConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1ImageClassificationConfig]{ + OutputState: o.OutputState, + } +} + // Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one image. func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigOutput) AllowMultiLabel() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1ImageClassificationConfig) *bool { return v.AllowMultiLabel }).(pulumi.BoolPtrOutput) @@ -2349,6 +2692,12 @@ func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigPtrOutput) ToGoog return o } +func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1ImageClassificationConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1ImageClassificationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigPtrOutput) Elem() GoogleCloudDatalabelingV1beta1ImageClassificationConfigOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1ImageClassificationConfig) GoogleCloudDatalabelingV1beta1ImageClassificationConfig { if v != nil { @@ -2414,6 +2763,12 @@ func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigResponseOutput) T return o } +func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1ImageClassificationConfigResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1ImageClassificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one image. func (o GoogleCloudDatalabelingV1beta1ImageClassificationConfigResponseOutput) AllowMultiLabel() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1ImageClassificationConfigResponse) bool { return v.AllowMultiLabel }).(pulumi.BoolOutput) @@ -2488,6 +2843,12 @@ func (i GoogleCloudDatalabelingV1beta1InputConfigArgs) ToGoogleCloudDatalabeling return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1InputConfigOutput) } +func (i GoogleCloudDatalabelingV1beta1InputConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1InputConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1InputConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1InputConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1InputConfigArgs) ToGoogleCloudDatalabelingV1beta1InputConfigPtrOutput() GoogleCloudDatalabelingV1beta1InputConfigPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1InputConfigPtrOutputWithContext(context.Background()) } @@ -2529,6 +2890,12 @@ func (i *googleCloudDatalabelingV1beta1InputConfigPtrType) ToGoogleCloudDatalabe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1InputConfigPtrOutput) } +func (i *googleCloudDatalabelingV1beta1InputConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1InputConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration of input data, including data type, location, etc. type GoogleCloudDatalabelingV1beta1InputConfigOutput struct{ *pulumi.OutputState } @@ -2554,6 +2921,12 @@ func (o GoogleCloudDatalabelingV1beta1InputConfigOutput) ToGoogleCloudDatalabeli }).(GoogleCloudDatalabelingV1beta1InputConfigPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1InputConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1InputConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1InputConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob. func (o GoogleCloudDatalabelingV1beta1InputConfigOutput) AnnotationType() GoogleCloudDatalabelingV1beta1InputConfigAnnotationTypePtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1InputConfig) *GoogleCloudDatalabelingV1beta1InputConfigAnnotationType { @@ -2610,6 +2983,12 @@ func (o GoogleCloudDatalabelingV1beta1InputConfigPtrOutput) ToGoogleCloudDatalab return o } +func (o GoogleCloudDatalabelingV1beta1InputConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1InputConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1InputConfigPtrOutput) Elem() GoogleCloudDatalabelingV1beta1InputConfigOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1InputConfig) GoogleCloudDatalabelingV1beta1InputConfig { if v != nil { @@ -2711,6 +3090,12 @@ func (o GoogleCloudDatalabelingV1beta1InputConfigResponseOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDatalabelingV1beta1InputConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1InputConfigResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1InputConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob. func (o GoogleCloudDatalabelingV1beta1InputConfigResponseOutput) AnnotationType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1InputConfigResponse) string { return v.AnnotationType }).(pulumi.StringOutput) @@ -2763,6 +3148,12 @@ func (o GoogleCloudDatalabelingV1beta1InputConfigResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDatalabelingV1beta1InputConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatalabelingV1beta1InputConfigResponse] { + return pulumix.Output[[]GoogleCloudDatalabelingV1beta1InputConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1InputConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatalabelingV1beta1InputConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatalabelingV1beta1InputConfigResponse { return vs[0].([]GoogleCloudDatalabelingV1beta1InputConfigResponse)[vs[1].(int)] @@ -2800,6 +3191,12 @@ func (i GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataOutput) } +func (i GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataArgs) ToGoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutput() GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutputWithContext(context.Background()) } @@ -2841,6 +3238,12 @@ func (i *googleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutput) } +func (i *googleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata describing the feedback from the operator. type GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataOutput struct{ *pulumi.OutputState } @@ -2866,6 +3269,12 @@ func (o GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataOutput) ToGoogleCl }).(GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutput) ElementType() reflect.Type { @@ -2880,6 +3289,12 @@ func (o GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutput) ToGoogl return o } +func (o GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataPtrOutput) Elem() GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata) GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata { if v != nil { @@ -2909,6 +3324,12 @@ func (o GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataResponseOutput) To return o } +func (o GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Instruction from a PDF file. type GoogleCloudDatalabelingV1beta1PdfInstruction struct { // PDF file for the instruction. Only gcs path is allowed. @@ -2944,6 +3365,12 @@ func (i GoogleCloudDatalabelingV1beta1PdfInstructionArgs) ToGoogleCloudDatalabel return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1PdfInstructionOutput) } +func (i GoogleCloudDatalabelingV1beta1PdfInstructionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1PdfInstruction] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1PdfInstruction]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1PdfInstructionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1PdfInstructionArgs) ToGoogleCloudDatalabelingV1beta1PdfInstructionPtrOutput() GoogleCloudDatalabelingV1beta1PdfInstructionPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1PdfInstructionPtrOutputWithContext(context.Background()) } @@ -2985,6 +3412,12 @@ func (i *googleCloudDatalabelingV1beta1PdfInstructionPtrType) ToGoogleCloudDatal return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1PdfInstructionPtrOutput) } +func (i *googleCloudDatalabelingV1beta1PdfInstructionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1PdfInstruction] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1PdfInstruction]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1PdfInstructionPtrOutputWithContext(ctx).OutputState, + } +} + // Instruction from a PDF file. type GoogleCloudDatalabelingV1beta1PdfInstructionOutput struct{ *pulumi.OutputState } @@ -3010,6 +3443,12 @@ func (o GoogleCloudDatalabelingV1beta1PdfInstructionOutput) ToGoogleCloudDatalab }).(GoogleCloudDatalabelingV1beta1PdfInstructionPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1PdfInstructionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1PdfInstruction] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1PdfInstruction]{ + OutputState: o.OutputState, + } +} + // PDF file for the instruction. Only gcs path is allowed. func (o GoogleCloudDatalabelingV1beta1PdfInstructionOutput) GcsFileUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1PdfInstruction) *string { return v.GcsFileUri }).(pulumi.StringPtrOutput) @@ -3029,6 +3468,12 @@ func (o GoogleCloudDatalabelingV1beta1PdfInstructionPtrOutput) ToGoogleCloudData return o } +func (o GoogleCloudDatalabelingV1beta1PdfInstructionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1PdfInstruction] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1PdfInstruction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1PdfInstructionPtrOutput) Elem() GoogleCloudDatalabelingV1beta1PdfInstructionOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1PdfInstruction) GoogleCloudDatalabelingV1beta1PdfInstruction { if v != nil { @@ -3070,6 +3515,12 @@ func (o GoogleCloudDatalabelingV1beta1PdfInstructionResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDatalabelingV1beta1PdfInstructionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1PdfInstructionResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1PdfInstructionResponse]{ + OutputState: o.OutputState, + } +} + // PDF file for the instruction. Only gcs path is allowed. func (o GoogleCloudDatalabelingV1beta1PdfInstructionResponseOutput) GcsFileUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1PdfInstructionResponse) string { return v.GcsFileUri }).(pulumi.StringOutput) @@ -3106,6 +3557,12 @@ func (i GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataOutput) } +func (i GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataArgs) ToGoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutput() GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutputWithContext(context.Background()) } @@ -3147,6 +3604,12 @@ func (i *googleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutput) } +func (i *googleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata describing the feedback from the labeling task requester. type GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataOutput struct{ *pulumi.OutputState } @@ -3172,6 +3635,12 @@ func (o GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataOutput) ToGoogleC }).(GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutput) ElementType() reflect.Type { @@ -3186,6 +3655,12 @@ func (o GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutput) ToGoog return o } +func (o GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataPtrOutput) Elem() GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata) GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata { if v != nil { @@ -3215,6 +3690,12 @@ func (o GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataResponseOutput) T return o } +func (o GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Config for setting up sentiments. type GoogleCloudDatalabelingV1beta1SentimentConfig struct { // If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false. @@ -3250,6 +3731,12 @@ func (i GoogleCloudDatalabelingV1beta1SentimentConfigArgs) ToGoogleCloudDatalabe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1SentimentConfigOutput) } +func (i GoogleCloudDatalabelingV1beta1SentimentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1SentimentConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1SentimentConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1SentimentConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1SentimentConfigArgs) ToGoogleCloudDatalabelingV1beta1SentimentConfigPtrOutput() GoogleCloudDatalabelingV1beta1SentimentConfigPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1SentimentConfigPtrOutputWithContext(context.Background()) } @@ -3291,6 +3778,12 @@ func (i *googleCloudDatalabelingV1beta1SentimentConfigPtrType) ToGoogleCloudData return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1SentimentConfigPtrOutput) } +func (i *googleCloudDatalabelingV1beta1SentimentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1SentimentConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1SentimentConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1SentimentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config for setting up sentiments. type GoogleCloudDatalabelingV1beta1SentimentConfigOutput struct{ *pulumi.OutputState } @@ -3316,6 +3809,12 @@ func (o GoogleCloudDatalabelingV1beta1SentimentConfigOutput) ToGoogleCloudDatala }).(GoogleCloudDatalabelingV1beta1SentimentConfigPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1SentimentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1SentimentConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1SentimentConfig]{ + OutputState: o.OutputState, + } +} + // If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false. func (o GoogleCloudDatalabelingV1beta1SentimentConfigOutput) EnableLabelSentimentSelection() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1SentimentConfig) *bool { return v.EnableLabelSentimentSelection }).(pulumi.BoolPtrOutput) @@ -3335,6 +3834,12 @@ func (o GoogleCloudDatalabelingV1beta1SentimentConfigPtrOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDatalabelingV1beta1SentimentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1SentimentConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1SentimentConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1SentimentConfigPtrOutput) Elem() GoogleCloudDatalabelingV1beta1SentimentConfigOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1SentimentConfig) GoogleCloudDatalabelingV1beta1SentimentConfig { if v != nil { @@ -3376,6 +3881,12 @@ func (o GoogleCloudDatalabelingV1beta1SentimentConfigResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDatalabelingV1beta1SentimentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1SentimentConfigResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1SentimentConfigResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, contributors will have the option to select sentiment of the label they selected, to mark it as negative or positive label. Default is false. func (o GoogleCloudDatalabelingV1beta1SentimentConfigResponseOutput) EnableLabelSentimentSelection() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1SentimentConfigResponse) bool { @@ -3426,6 +3937,12 @@ func (i GoogleCloudDatalabelingV1beta1TextClassificationConfigArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1TextClassificationConfigOutput) } +func (i GoogleCloudDatalabelingV1beta1TextClassificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1TextClassificationConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1TextClassificationConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1TextClassificationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1TextClassificationConfigArgs) ToGoogleCloudDatalabelingV1beta1TextClassificationConfigPtrOutput() GoogleCloudDatalabelingV1beta1TextClassificationConfigPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1TextClassificationConfigPtrOutputWithContext(context.Background()) } @@ -3467,6 +3984,12 @@ func (i *googleCloudDatalabelingV1beta1TextClassificationConfigPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1TextClassificationConfigPtrOutput) } +func (i *googleCloudDatalabelingV1beta1TextClassificationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1TextClassificationConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1TextClassificationConfig]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1TextClassificationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config for text classification human labeling task. type GoogleCloudDatalabelingV1beta1TextClassificationConfigOutput struct{ *pulumi.OutputState } @@ -3492,6 +4015,12 @@ func (o GoogleCloudDatalabelingV1beta1TextClassificationConfigOutput) ToGoogleCl }).(GoogleCloudDatalabelingV1beta1TextClassificationConfigPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1TextClassificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1TextClassificationConfig] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1TextClassificationConfig]{ + OutputState: o.OutputState, + } +} + // Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment. func (o GoogleCloudDatalabelingV1beta1TextClassificationConfigOutput) AllowMultiLabel() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1TextClassificationConfig) *bool { return v.AllowMultiLabel }).(pulumi.BoolPtrOutput) @@ -3523,6 +4052,12 @@ func (o GoogleCloudDatalabelingV1beta1TextClassificationConfigPtrOutput) ToGoogl return o } +func (o GoogleCloudDatalabelingV1beta1TextClassificationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1TextClassificationConfig] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1TextClassificationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1TextClassificationConfigPtrOutput) Elem() GoogleCloudDatalabelingV1beta1TextClassificationConfigOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1TextClassificationConfig) GoogleCloudDatalabelingV1beta1TextClassificationConfig { if v != nil { @@ -3588,6 +4123,12 @@ func (o GoogleCloudDatalabelingV1beta1TextClassificationConfigResponseOutput) To return o } +func (o GoogleCloudDatalabelingV1beta1TextClassificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1TextClassificationConfigResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1TextClassificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment. func (o GoogleCloudDatalabelingV1beta1TextClassificationConfigResponseOutput) AllowMultiLabel() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1TextClassificationConfigResponse) bool { return v.AllowMultiLabel }).(pulumi.BoolOutput) @@ -3642,6 +4183,12 @@ func (i GoogleCloudDatalabelingV1beta1TextMetadataArgs) ToGoogleCloudDatalabelin return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1TextMetadataOutput) } +func (i GoogleCloudDatalabelingV1beta1TextMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1TextMetadata] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1TextMetadata]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1TextMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatalabelingV1beta1TextMetadataArgs) ToGoogleCloudDatalabelingV1beta1TextMetadataPtrOutput() GoogleCloudDatalabelingV1beta1TextMetadataPtrOutput { return i.ToGoogleCloudDatalabelingV1beta1TextMetadataPtrOutputWithContext(context.Background()) } @@ -3683,6 +4230,12 @@ func (i *googleCloudDatalabelingV1beta1TextMetadataPtrType) ToGoogleCloudDatalab return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatalabelingV1beta1TextMetadataPtrOutput) } +func (i *googleCloudDatalabelingV1beta1TextMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1TextMetadata] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1TextMetadata]{ + OutputState: i.ToGoogleCloudDatalabelingV1beta1TextMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata for the text. type GoogleCloudDatalabelingV1beta1TextMetadataOutput struct{ *pulumi.OutputState } @@ -3708,6 +4261,12 @@ func (o GoogleCloudDatalabelingV1beta1TextMetadataOutput) ToGoogleCloudDatalabel }).(GoogleCloudDatalabelingV1beta1TextMetadataPtrOutput) } +func (o GoogleCloudDatalabelingV1beta1TextMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1TextMetadata] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1TextMetadata]{ + OutputState: o.OutputState, + } +} + // The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. func (o GoogleCloudDatalabelingV1beta1TextMetadataOutput) LanguageCode() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1TextMetadata) *string { return v.LanguageCode }).(pulumi.StringPtrOutput) @@ -3727,6 +4286,12 @@ func (o GoogleCloudDatalabelingV1beta1TextMetadataPtrOutput) ToGoogleCloudDatala return o } +func (o GoogleCloudDatalabelingV1beta1TextMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatalabelingV1beta1TextMetadata] { + return pulumix.Output[*GoogleCloudDatalabelingV1beta1TextMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatalabelingV1beta1TextMetadataPtrOutput) Elem() GoogleCloudDatalabelingV1beta1TextMetadataOutput { return o.ApplyT(func(v *GoogleCloudDatalabelingV1beta1TextMetadata) GoogleCloudDatalabelingV1beta1TextMetadata { if v != nil { @@ -3768,6 +4333,12 @@ func (o GoogleCloudDatalabelingV1beta1TextMetadataResponseOutput) ToGoogleCloudD return o } +func (o GoogleCloudDatalabelingV1beta1TextMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatalabelingV1beta1TextMetadataResponse] { + return pulumix.Output[GoogleCloudDatalabelingV1beta1TextMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. func (o GoogleCloudDatalabelingV1beta1TextMetadataResponseOutput) LanguageCode() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatalabelingV1beta1TextMetadataResponse) string { return v.LanguageCode }).(pulumi.StringOutput) @@ -3798,6 +4369,12 @@ func (o GoogleRpcStatusResponseOutput) ToGoogleRpcStatusResponseOutputWithContex return o } +func (o GoogleRpcStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatusResponse] { + return pulumix.Output[GoogleRpcStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v GoogleRpcStatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -3827,6 +4404,12 @@ func (o GoogleRpcStatusResponseArrayOutput) ToGoogleRpcStatusResponseArrayOutput return o } +func (o GoogleRpcStatusResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleRpcStatusResponse] { + return pulumix.Output[[]GoogleRpcStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleRpcStatusResponseArrayOutput) Index(i pulumi.IntInput) GoogleRpcStatusResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleRpcStatusResponse { return vs[0].([]GoogleRpcStatusResponse)[vs[1].(int)] diff --git a/sdk/go/google/datalineage/v1/getLineageEvent.go b/sdk/go/google/datalineage/v1/getLineageEvent.go index 64898ecf59..6b2e8cf7bb 100644 --- a/sdk/go/google/datalineage/v1/getLineageEvent.go +++ b/sdk/go/google/datalineage/v1/getLineageEvent.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a specified lineage event. @@ -80,6 +81,12 @@ func (o LookupLineageEventResultOutput) ToLookupLineageEventResultOutputWithCont return o } +func (o LookupLineageEventResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLineageEventResult] { + return pulumix.Output[LookupLineageEventResult]{ + OutputState: o.OutputState, + } +} + // Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported. func (o LookupLineageEventResultOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v LookupLineageEventResult) string { return v.EndTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datalineage/v1/getProcess.go b/sdk/go/google/datalineage/v1/getProcess.go index 4bc18f5229..db253a5905 100644 --- a/sdk/go/google/datalineage/v1/getProcess.go +++ b/sdk/go/google/datalineage/v1/getProcess.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of the specified process. @@ -76,6 +77,12 @@ func (o LookupProcessResultOutput) ToLookupProcessResultOutputWithContext(ctx co return o } +func (o LookupProcessResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProcessResult] { + return pulumix.Output[LookupProcessResult]{ + OutputState: o.OutputState, + } +} + // Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process). Up to 100 attributes are allowed. func (o LookupProcessResultOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v LookupProcessResult) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/datalineage/v1/getRun.go b/sdk/go/google/datalineage/v1/getRun.go index 917240f929..1fa03c5486 100644 --- a/sdk/go/google/datalineage/v1/getRun.go +++ b/sdk/go/google/datalineage/v1/getRun.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of the specified run. @@ -82,6 +83,12 @@ func (o LookupRunResultOutput) ToLookupRunResultOutputWithContext(ctx context.Co return o } +func (o LookupRunResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRunResult] { + return pulumix.Output[LookupRunResult]{ + OutputState: o.OutputState, + } +} + // Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed. func (o LookupRunResultOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v LookupRunResult) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/datalineage/v1/lineageEvent.go b/sdk/go/google/datalineage/v1/lineageEvent.go index 57c3bc630e..d4298d5fa5 100644 --- a/sdk/go/google/datalineage/v1/lineageEvent.go +++ b/sdk/go/google/datalineage/v1/lineageEvent.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new lineage event. @@ -142,6 +143,12 @@ func (i *LineageEvent) ToLineageEventOutputWithContext(ctx context.Context) Line return pulumi.ToOutputWithContext(ctx, i).(LineageEventOutput) } +func (i *LineageEvent) ToOutput(ctx context.Context) pulumix.Output[*LineageEvent] { + return pulumix.Output[*LineageEvent]{ + OutputState: i.ToLineageEventOutputWithContext(ctx).OutputState, + } +} + type LineageEventOutput struct{ *pulumi.OutputState } func (LineageEventOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o LineageEventOutput) ToLineageEventOutputWithContext(ctx context.Context) return o } +func (o LineageEventOutput) ToOutput(ctx context.Context) pulumix.Output[*LineageEvent] { + return pulumix.Output[*LineageEvent]{ + OutputState: o.OutputState, + } +} + // Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported. func (o LineageEventOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v *LineageEvent) pulumi.StringOutput { return v.EndTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datalineage/v1/process.go b/sdk/go/google/datalineage/v1/process.go index 56b6ecd4d2..db70f3f06a 100644 --- a/sdk/go/google/datalineage/v1/process.go +++ b/sdk/go/google/datalineage/v1/process.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new process. @@ -127,6 +128,12 @@ func (i *Process) ToProcessOutputWithContext(ctx context.Context) ProcessOutput return pulumi.ToOutputWithContext(ctx, i).(ProcessOutput) } +func (i *Process) ToOutput(ctx context.Context) pulumix.Output[*Process] { + return pulumix.Output[*Process]{ + OutputState: i.ToProcessOutputWithContext(ctx).OutputState, + } +} + type ProcessOutput struct{ *pulumi.OutputState } func (ProcessOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o ProcessOutput) ToProcessOutputWithContext(ctx context.Context) ProcessOu return o } +func (o ProcessOutput) ToOutput(ctx context.Context) pulumix.Output[*Process] { + return pulumix.Output[*Process]{ + OutputState: o.OutputState, + } +} + // Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process). Up to 100 attributes are allowed. func (o ProcessOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v *Process) pulumi.StringMapOutput { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/datalineage/v1/pulumiEnums.go b/sdk/go/google/datalineage/v1/pulumiEnums.go index 26689390fd..9bb705f6e0 100644 --- a/sdk/go/google/datalineage/v1/pulumiEnums.go +++ b/sdk/go/google/datalineage/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Type of the source. Use of a source_type other than `CUSTOM` for process creation or updating is highly discouraged, and may be restricted in the future without notice. @@ -90,6 +91,12 @@ func (o GoogleCloudDatacatalogLineageV1OriginSourceTypeOutput) ToGoogleCloudData }).(GoogleCloudDatacatalogLineageV1OriginSourceTypePtrOutput) } +func (o GoogleCloudDatacatalogLineageV1OriginSourceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogLineageV1OriginSourceType] { + return pulumix.Output[GoogleCloudDatacatalogLineageV1OriginSourceType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogLineageV1OriginSourceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -125,6 +132,12 @@ func (o GoogleCloudDatacatalogLineageV1OriginSourceTypePtrOutput) ToGoogleCloudD return o } +func (o GoogleCloudDatacatalogLineageV1OriginSourceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogLineageV1OriginSourceType] { + return pulumix.Output[*GoogleCloudDatacatalogLineageV1OriginSourceType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogLineageV1OriginSourceTypePtrOutput) Elem() GoogleCloudDatacatalogLineageV1OriginSourceTypeOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogLineageV1OriginSourceType) GoogleCloudDatacatalogLineageV1OriginSourceType { if v != nil { @@ -187,6 +200,12 @@ func (in *googleCloudDatacatalogLineageV1OriginSourceTypePtr) ToGoogleCloudDatac return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatacatalogLineageV1OriginSourceTypePtrOutput) } +func (in *googleCloudDatacatalogLineageV1OriginSourceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogLineageV1OriginSourceType] { + return pulumix.Output[*GoogleCloudDatacatalogLineageV1OriginSourceType]{ + OutputState: in.ToGoogleCloudDatacatalogLineageV1OriginSourceTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The state of the run. type RunStateEnum string @@ -263,6 +282,12 @@ func (o RunStateEnumOutput) ToRunStateEnumPtrOutputWithContext(ctx context.Conte }).(RunStateEnumPtrOutput) } +func (o RunStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[RunStateEnum] { + return pulumix.Output[RunStateEnum]{ + OutputState: o.OutputState, + } +} + func (o RunStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -298,6 +323,12 @@ func (o RunStateEnumPtrOutput) ToRunStateEnumPtrOutputWithContext(ctx context.Co return o } +func (o RunStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RunStateEnum] { + return pulumix.Output[*RunStateEnum]{ + OutputState: o.OutputState, + } +} + func (o RunStateEnumPtrOutput) Elem() RunStateEnumOutput { return o.ApplyT(func(v *RunStateEnum) RunStateEnum { if v != nil { @@ -360,6 +391,12 @@ func (in *runStateEnumPtr) ToRunStateEnumPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(RunStateEnumPtrOutput) } +func (in *runStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*RunStateEnum] { + return pulumix.Output[*RunStateEnum]{ + OutputState: in.ToRunStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudDatacatalogLineageV1OriginSourceTypeInput)(nil)).Elem(), GoogleCloudDatacatalogLineageV1OriginSourceType("SOURCE_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudDatacatalogLineageV1OriginSourceTypePtrInput)(nil)).Elem(), GoogleCloudDatacatalogLineageV1OriginSourceType("SOURCE_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/datalineage/v1/pulumiTypes.go b/sdk/go/google/datalineage/v1/pulumiTypes.go index 42f5dea0d4..57ce1106b0 100644 --- a/sdk/go/google/datalineage/v1/pulumiTypes.go +++ b/sdk/go/google/datalineage/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i GoogleCloudDatacatalogLineageV1EntityReferenceArgs) ToGoogleCloudDatacat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogLineageV1EntityReferenceOutput) } +func (i GoogleCloudDatacatalogLineageV1EntityReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogLineageV1EntityReference] { + return pulumix.Output[GoogleCloudDatacatalogLineageV1EntityReference]{ + OutputState: i.ToGoogleCloudDatacatalogLineageV1EntityReferenceOutputWithContext(ctx).OutputState, + } +} + // The soft reference to everything you can attach a lineage event to. type GoogleCloudDatacatalogLineageV1EntityReferenceOutput struct{ *pulumi.OutputState } @@ -63,6 +70,12 @@ func (o GoogleCloudDatacatalogLineageV1EntityReferenceOutput) ToGoogleCloudDatac return o } +func (o GoogleCloudDatacatalogLineageV1EntityReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogLineageV1EntityReference] { + return pulumix.Output[GoogleCloudDatacatalogLineageV1EntityReference]{ + OutputState: o.OutputState, + } +} + // [Fully Qualified Name (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names) of the entity. func (o GoogleCloudDatacatalogLineageV1EntityReferenceOutput) FullyQualifiedName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogLineageV1EntityReference) string { return v.FullyQualifiedName }).(pulumi.StringOutput) @@ -89,6 +102,12 @@ func (o GoogleCloudDatacatalogLineageV1EntityReferenceResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDatacatalogLineageV1EntityReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogLineageV1EntityReferenceResponse] { + return pulumix.Output[GoogleCloudDatacatalogLineageV1EntityReferenceResponse]{ + OutputState: o.OutputState, + } +} + // [Fully Qualified Name (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names) of the entity. func (o GoogleCloudDatacatalogLineageV1EntityReferenceResponseOutput) FullyQualifiedName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogLineageV1EntityReferenceResponse) string { return v.FullyQualifiedName }).(pulumi.StringOutput) @@ -133,6 +152,12 @@ func (i GoogleCloudDatacatalogLineageV1EventLinkArgs) ToGoogleCloudDatacatalogLi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogLineageV1EventLinkOutput) } +func (i GoogleCloudDatacatalogLineageV1EventLinkArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogLineageV1EventLink] { + return pulumix.Output[GoogleCloudDatacatalogLineageV1EventLink]{ + OutputState: i.ToGoogleCloudDatacatalogLineageV1EventLinkOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDatacatalogLineageV1EventLinkArrayInput is an input type that accepts GoogleCloudDatacatalogLineageV1EventLinkArray and GoogleCloudDatacatalogLineageV1EventLinkArrayOutput values. // You can construct a concrete instance of `GoogleCloudDatacatalogLineageV1EventLinkArrayInput` via: // @@ -158,6 +183,12 @@ func (i GoogleCloudDatacatalogLineageV1EventLinkArray) ToGoogleCloudDatacatalogL return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogLineageV1EventLinkArrayOutput) } +func (i GoogleCloudDatacatalogLineageV1EventLinkArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogLineageV1EventLink] { + return pulumix.Output[[]GoogleCloudDatacatalogLineageV1EventLink]{ + OutputState: i.ToGoogleCloudDatacatalogLineageV1EventLinkArrayOutputWithContext(ctx).OutputState, + } +} + // A lineage between source and target entities. type GoogleCloudDatacatalogLineageV1EventLinkOutput struct{ *pulumi.OutputState } @@ -173,6 +204,12 @@ func (o GoogleCloudDatacatalogLineageV1EventLinkOutput) ToGoogleCloudDatacatalog return o } +func (o GoogleCloudDatacatalogLineageV1EventLinkOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogLineageV1EventLink] { + return pulumix.Output[GoogleCloudDatacatalogLineageV1EventLink]{ + OutputState: o.OutputState, + } +} + // Reference to the source entity func (o GoogleCloudDatacatalogLineageV1EventLinkOutput) Source() GoogleCloudDatacatalogLineageV1EntityReferenceOutput { return o.ApplyT(func(v GoogleCloudDatacatalogLineageV1EventLink) GoogleCloudDatacatalogLineageV1EntityReference { @@ -201,6 +238,12 @@ func (o GoogleCloudDatacatalogLineageV1EventLinkArrayOutput) ToGoogleCloudDataca return o } +func (o GoogleCloudDatacatalogLineageV1EventLinkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogLineageV1EventLink] { + return pulumix.Output[[]GoogleCloudDatacatalogLineageV1EventLink]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogLineageV1EventLinkArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogLineageV1EventLinkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogLineageV1EventLink { return vs[0].([]GoogleCloudDatacatalogLineageV1EventLink)[vs[1].(int)] @@ -230,6 +273,12 @@ func (o GoogleCloudDatacatalogLineageV1EventLinkResponseOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDatacatalogLineageV1EventLinkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogLineageV1EventLinkResponse] { + return pulumix.Output[GoogleCloudDatacatalogLineageV1EventLinkResponse]{ + OutputState: o.OutputState, + } +} + // Reference to the source entity func (o GoogleCloudDatacatalogLineageV1EventLinkResponseOutput) Source() GoogleCloudDatacatalogLineageV1EntityReferenceResponseOutput { return o.ApplyT(func(v GoogleCloudDatacatalogLineageV1EventLinkResponse) GoogleCloudDatacatalogLineageV1EntityReferenceResponse { @@ -258,6 +307,12 @@ func (o GoogleCloudDatacatalogLineageV1EventLinkResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDatacatalogLineageV1EventLinkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDatacatalogLineageV1EventLinkResponse] { + return pulumix.Output[[]GoogleCloudDatacatalogLineageV1EventLinkResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogLineageV1EventLinkResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDatacatalogLineageV1EventLinkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDatacatalogLineageV1EventLinkResponse { return vs[0].([]GoogleCloudDatacatalogLineageV1EventLinkResponse)[vs[1].(int)] @@ -303,6 +358,12 @@ func (i GoogleCloudDatacatalogLineageV1OriginArgs) ToGoogleCloudDatacatalogLinea return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogLineageV1OriginOutput) } +func (i GoogleCloudDatacatalogLineageV1OriginArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogLineageV1Origin] { + return pulumix.Output[GoogleCloudDatacatalogLineageV1Origin]{ + OutputState: i.ToGoogleCloudDatacatalogLineageV1OriginOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatacatalogLineageV1OriginArgs) ToGoogleCloudDatacatalogLineageV1OriginPtrOutput() GoogleCloudDatacatalogLineageV1OriginPtrOutput { return i.ToGoogleCloudDatacatalogLineageV1OriginPtrOutputWithContext(context.Background()) } @@ -344,6 +405,12 @@ func (i *googleCloudDatacatalogLineageV1OriginPtrType) ToGoogleCloudDatacatalogL return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatacatalogLineageV1OriginPtrOutput) } +func (i *googleCloudDatacatalogLineageV1OriginPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogLineageV1Origin] { + return pulumix.Output[*GoogleCloudDatacatalogLineageV1Origin]{ + OutputState: i.ToGoogleCloudDatacatalogLineageV1OriginPtrOutputWithContext(ctx).OutputState, + } +} + // Origin of a process. type GoogleCloudDatacatalogLineageV1OriginOutput struct{ *pulumi.OutputState } @@ -369,6 +436,12 @@ func (o GoogleCloudDatacatalogLineageV1OriginOutput) ToGoogleCloudDatacatalogLin }).(GoogleCloudDatacatalogLineageV1OriginPtrOutput) } +func (o GoogleCloudDatacatalogLineageV1OriginOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogLineageV1Origin] { + return pulumix.Output[GoogleCloudDatacatalogLineageV1Origin]{ + OutputState: o.OutputState, + } +} + // If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples: - `{source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}` - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` - `{source_type: CUSTOM, name: "myCustomIntegration"}` func (o GoogleCloudDatacatalogLineageV1OriginOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatacatalogLineageV1Origin) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -395,6 +468,12 @@ func (o GoogleCloudDatacatalogLineageV1OriginPtrOutput) ToGoogleCloudDatacatalog return o } +func (o GoogleCloudDatacatalogLineageV1OriginPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatacatalogLineageV1Origin] { + return pulumix.Output[*GoogleCloudDatacatalogLineageV1Origin]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatacatalogLineageV1OriginPtrOutput) Elem() GoogleCloudDatacatalogLineageV1OriginOutput { return o.ApplyT(func(v *GoogleCloudDatacatalogLineageV1Origin) GoogleCloudDatacatalogLineageV1Origin { if v != nil { @@ -448,6 +527,12 @@ func (o GoogleCloudDatacatalogLineageV1OriginResponseOutput) ToGoogleCloudDataca return o } +func (o GoogleCloudDatacatalogLineageV1OriginResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatacatalogLineageV1OriginResponse] { + return pulumix.Output[GoogleCloudDatacatalogLineageV1OriginResponse]{ + OutputState: o.OutputState, + } +} + // If the source_type isn't CUSTOM, the value of this field should be a GCP resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples: - `{source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}` - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` - `{source_type: CUSTOM, name: "myCustomIntegration"}` func (o GoogleCloudDatacatalogLineageV1OriginResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatacatalogLineageV1OriginResponse) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/datalineage/v1/run.go b/sdk/go/google/datalineage/v1/run.go index 6ef1121cba..6106de438a 100644 --- a/sdk/go/google/datalineage/v1/run.go +++ b/sdk/go/google/datalineage/v1/run.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new run. @@ -153,6 +154,12 @@ func (i *Run) ToRunOutputWithContext(ctx context.Context) RunOutput { return pulumi.ToOutputWithContext(ctx, i).(RunOutput) } +func (i *Run) ToOutput(ctx context.Context) pulumix.Output[*Run] { + return pulumix.Output[*Run]{ + OutputState: i.ToRunOutputWithContext(ctx).OutputState, + } +} + type RunOutput struct{ *pulumi.OutputState } func (RunOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o RunOutput) ToRunOutputWithContext(ctx context.Context) RunOutput { return o } +func (o RunOutput) ToOutput(ctx context.Context) pulumix.Output[*Run] { + return pulumix.Output[*Run]{ + OutputState: o.OutputState, + } +} + // Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run). Up to 100 attributes are allowed. func (o RunOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v *Run) pulumi.StringMapOutput { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/datamigration/v1/connectionProfile.go b/sdk/go/google/datamigration/v1/connectionProfile.go index 006a98f676..3934d6bd45 100644 --- a/sdk/go/google/datamigration/v1/connectionProfile.go +++ b/sdk/go/google/datamigration/v1/connectionProfile.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new connection profile in a given project and location. @@ -186,6 +187,12 @@ func (i *ConnectionProfile) ToConnectionProfileOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ConnectionProfileOutput) } +func (i *ConnectionProfile) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfile] { + return pulumix.Output[*ConnectionProfile]{ + OutputState: i.ToConnectionProfileOutputWithContext(ctx).OutputState, + } +} + type ConnectionProfileOutput struct{ *pulumi.OutputState } func (ConnectionProfileOutput) ElementType() reflect.Type { @@ -200,6 +207,12 @@ func (o ConnectionProfileOutput) ToConnectionProfileOutputWithContext(ctx contex return o } +func (o ConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfile] { + return pulumix.Output[*ConnectionProfile]{ + OutputState: o.OutputState, + } +} + // An AlloyDB cluster connection profile. func (o ConnectionProfileOutput) Alloydb() AlloyDbConnectionProfileResponseOutput { return o.ApplyT(func(v *ConnectionProfile) AlloyDbConnectionProfileResponseOutput { return v.Alloydb }).(AlloyDbConnectionProfileResponseOutput) diff --git a/sdk/go/google/datamigration/v1/connectionProfileIamBinding.go b/sdk/go/google/datamigration/v1/connectionProfileIamBinding.go index d848026f7f..ab8b755e9f 100644 --- a/sdk/go/google/datamigration/v1/connectionProfileIamBinding.go +++ b/sdk/go/google/datamigration/v1/connectionProfileIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionProfileIamBinding) ToConnectionProfileIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ConnectionProfileIamBindingOutput) } +func (i *ConnectionProfileIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamBinding] { + return pulumix.Output[*ConnectionProfileIamBinding]{ + OutputState: i.ToConnectionProfileIamBindingOutputWithContext(ctx).OutputState, + } +} + type ConnectionProfileIamBindingOutput struct{ *pulumi.OutputState } func (ConnectionProfileIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionProfileIamBindingOutput) ToConnectionProfileIamBindingOutputWi return o } +func (o ConnectionProfileIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamBinding] { + return pulumix.Output[*ConnectionProfileIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectionProfileIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectionProfileIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1/connectionProfileIamMember.go b/sdk/go/google/datamigration/v1/connectionProfileIamMember.go index 7698e5e891..40873034b1 100644 --- a/sdk/go/google/datamigration/v1/connectionProfileIamMember.go +++ b/sdk/go/google/datamigration/v1/connectionProfileIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionProfileIamMember) ToConnectionProfileIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ConnectionProfileIamMemberOutput) } +func (i *ConnectionProfileIamMember) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamMember] { + return pulumix.Output[*ConnectionProfileIamMember]{ + OutputState: i.ToConnectionProfileIamMemberOutputWithContext(ctx).OutputState, + } +} + type ConnectionProfileIamMemberOutput struct{ *pulumi.OutputState } func (ConnectionProfileIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionProfileIamMemberOutput) ToConnectionProfileIamMemberOutputWith return o } +func (o ConnectionProfileIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamMember] { + return pulumix.Output[*ConnectionProfileIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectionProfileIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectionProfileIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1/connectionProfileIamPolicy.go b/sdk/go/google/datamigration/v1/connectionProfileIamPolicy.go index 3fbd66a7fd..648ac36891 100644 --- a/sdk/go/google/datamigration/v1/connectionProfileIamPolicy.go +++ b/sdk/go/google/datamigration/v1/connectionProfileIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionProfileIamPolicy) ToConnectionProfileIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ConnectionProfileIamPolicyOutput) } +func (i *ConnectionProfileIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamPolicy] { + return pulumix.Output[*ConnectionProfileIamPolicy]{ + OutputState: i.ToConnectionProfileIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ConnectionProfileIamPolicyOutput struct{ *pulumi.OutputState } func (ConnectionProfileIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionProfileIamPolicyOutput) ToConnectionProfileIamPolicyOutputWith return o } +func (o ConnectionProfileIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamPolicy] { + return pulumix.Output[*ConnectionProfileIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ConnectionProfileIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ConnectionProfileIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1/conversionWorkspace.go b/sdk/go/google/datamigration/v1/conversionWorkspace.go index afb661c2cd..7528e415fa 100644 --- a/sdk/go/google/datamigration/v1/conversionWorkspace.go +++ b/sdk/go/google/datamigration/v1/conversionWorkspace.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new conversion workspace in a given project and location. @@ -160,6 +161,12 @@ func (i *ConversionWorkspace) ToConversionWorkspaceOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConversionWorkspaceOutput) } +func (i *ConversionWorkspace) ToOutput(ctx context.Context) pulumix.Output[*ConversionWorkspace] { + return pulumix.Output[*ConversionWorkspace]{ + OutputState: i.ToConversionWorkspaceOutputWithContext(ctx).OutputState, + } +} + type ConversionWorkspaceOutput struct{ *pulumi.OutputState } func (ConversionWorkspaceOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o ConversionWorkspaceOutput) ToConversionWorkspaceOutputWithContext(ctx co return o } +func (o ConversionWorkspaceOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversionWorkspace] { + return pulumix.Output[*ConversionWorkspace]{ + OutputState: o.OutputState, + } +} + // Required. The ID of the conversion workspace to create. func (o ConversionWorkspaceOutput) ConversionWorkspaceId() pulumi.StringOutput { return o.ApplyT(func(v *ConversionWorkspace) pulumi.StringOutput { return v.ConversionWorkspaceId }).(pulumi.StringOutput) diff --git a/sdk/go/google/datamigration/v1/conversionWorkspaceIamBinding.go b/sdk/go/google/datamigration/v1/conversionWorkspaceIamBinding.go index cfed4e8be8..6161cf9e30 100644 --- a/sdk/go/google/datamigration/v1/conversionWorkspaceIamBinding.go +++ b/sdk/go/google/datamigration/v1/conversionWorkspaceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConversionWorkspaceIamBinding) ToConversionWorkspaceIamBindingOutputWit return pulumi.ToOutputWithContext(ctx, i).(ConversionWorkspaceIamBindingOutput) } +func (i *ConversionWorkspaceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ConversionWorkspaceIamBinding] { + return pulumix.Output[*ConversionWorkspaceIamBinding]{ + OutputState: i.ToConversionWorkspaceIamBindingOutputWithContext(ctx).OutputState, + } +} + type ConversionWorkspaceIamBindingOutput struct{ *pulumi.OutputState } func (ConversionWorkspaceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConversionWorkspaceIamBindingOutput) ToConversionWorkspaceIamBindingOutp return o } +func (o ConversionWorkspaceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversionWorkspaceIamBinding] { + return pulumix.Output[*ConversionWorkspaceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConversionWorkspaceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConversionWorkspaceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1/conversionWorkspaceIamMember.go b/sdk/go/google/datamigration/v1/conversionWorkspaceIamMember.go index 80c8dbccca..7dcc57511d 100644 --- a/sdk/go/google/datamigration/v1/conversionWorkspaceIamMember.go +++ b/sdk/go/google/datamigration/v1/conversionWorkspaceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConversionWorkspaceIamMember) ToConversionWorkspaceIamMemberOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ConversionWorkspaceIamMemberOutput) } +func (i *ConversionWorkspaceIamMember) ToOutput(ctx context.Context) pulumix.Output[*ConversionWorkspaceIamMember] { + return pulumix.Output[*ConversionWorkspaceIamMember]{ + OutputState: i.ToConversionWorkspaceIamMemberOutputWithContext(ctx).OutputState, + } +} + type ConversionWorkspaceIamMemberOutput struct{ *pulumi.OutputState } func (ConversionWorkspaceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConversionWorkspaceIamMemberOutput) ToConversionWorkspaceIamMemberOutput return o } +func (o ConversionWorkspaceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversionWorkspaceIamMember] { + return pulumix.Output[*ConversionWorkspaceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConversionWorkspaceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConversionWorkspaceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1/conversionWorkspaceIamPolicy.go b/sdk/go/google/datamigration/v1/conversionWorkspaceIamPolicy.go index 71bfc1540a..4ddd916dac 100644 --- a/sdk/go/google/datamigration/v1/conversionWorkspaceIamPolicy.go +++ b/sdk/go/google/datamigration/v1/conversionWorkspaceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConversionWorkspaceIamPolicy) ToConversionWorkspaceIamPolicyOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ConversionWorkspaceIamPolicyOutput) } +func (i *ConversionWorkspaceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ConversionWorkspaceIamPolicy] { + return pulumix.Output[*ConversionWorkspaceIamPolicy]{ + OutputState: i.ToConversionWorkspaceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ConversionWorkspaceIamPolicyOutput struct{ *pulumi.OutputState } func (ConversionWorkspaceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConversionWorkspaceIamPolicyOutput) ToConversionWorkspaceIamPolicyOutput return o } +func (o ConversionWorkspaceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversionWorkspaceIamPolicy] { + return pulumix.Output[*ConversionWorkspaceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ConversionWorkspaceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ConversionWorkspaceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1/getConnectionProfile.go b/sdk/go/google/datamigration/v1/getConnectionProfile.go index d8d074d77c..5d08b64b21 100644 --- a/sdk/go/google/datamigration/v1/getConnectionProfile.go +++ b/sdk/go/google/datamigration/v1/getConnectionProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single connection profile. @@ -94,6 +95,12 @@ func (o LookupConnectionProfileResultOutput) ToLookupConnectionProfileResultOutp return o } +func (o LookupConnectionProfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionProfileResult] { + return pulumix.Output[LookupConnectionProfileResult]{ + OutputState: o.OutputState, + } +} + // An AlloyDB cluster connection profile. func (o LookupConnectionProfileResultOutput) Alloydb() AlloyDbConnectionProfileResponseOutput { return o.ApplyT(func(v LookupConnectionProfileResult) AlloyDbConnectionProfileResponse { return v.Alloydb }).(AlloyDbConnectionProfileResponseOutput) diff --git a/sdk/go/google/datamigration/v1/getConnectionProfileIamPolicy.go b/sdk/go/google/datamigration/v1/getConnectionProfileIamPolicy.go index 9d93cdc887..544290ac15 100644 --- a/sdk/go/google/datamigration/v1/getConnectionProfileIamPolicy.go +++ b/sdk/go/google/datamigration/v1/getConnectionProfileIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupConnectionProfileIamPolicyResultOutput) ToLookupConnectionProfileI return o } +func (o LookupConnectionProfileIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionProfileIamPolicyResult] { + return pulumix.Output[LookupConnectionProfileIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupConnectionProfileIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupConnectionProfileIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1/getConversionWorkspace.go b/sdk/go/google/datamigration/v1/getConversionWorkspace.go index 8a31c0e57d..486ff29c81 100644 --- a/sdk/go/google/datamigration/v1/getConversionWorkspace.go +++ b/sdk/go/google/datamigration/v1/getConversionWorkspace.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single conversion workspace. @@ -88,6 +89,12 @@ func (o LookupConversionWorkspaceResultOutput) ToLookupConversionWorkspaceResult return o } +func (o LookupConversionWorkspaceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConversionWorkspaceResult] { + return pulumix.Output[LookupConversionWorkspaceResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the workspace resource was created. func (o LookupConversionWorkspaceResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupConversionWorkspaceResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datamigration/v1/getConversionWorkspaceIamPolicy.go b/sdk/go/google/datamigration/v1/getConversionWorkspaceIamPolicy.go index bd249b1698..67fb4a74ab 100644 --- a/sdk/go/google/datamigration/v1/getConversionWorkspaceIamPolicy.go +++ b/sdk/go/google/datamigration/v1/getConversionWorkspaceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupConversionWorkspaceIamPolicyResultOutput) ToLookupConversionWorksp return o } +func (o LookupConversionWorkspaceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConversionWorkspaceIamPolicyResult] { + return pulumix.Output[LookupConversionWorkspaceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupConversionWorkspaceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupConversionWorkspaceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1/getMigrationJob.go b/sdk/go/google/datamigration/v1/getMigrationJob.go index 68c4d1f7ca..2241f9fc63 100644 --- a/sdk/go/google/datamigration/v1/getMigrationJob.go +++ b/sdk/go/google/datamigration/v1/getMigrationJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single migration job. @@ -114,6 +115,12 @@ func (o LookupMigrationJobResultOutput) ToLookupMigrationJobResultOutputWithCont return o } +func (o LookupMigrationJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMigrationJobResult] { + return pulumix.Output[LookupMigrationJobResult]{ + OutputState: o.OutputState, + } +} + // The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] func (o LookupMigrationJobResultOutput) CmekKeyName() pulumi.StringOutput { return o.ApplyT(func(v LookupMigrationJobResult) string { return v.CmekKeyName }).(pulumi.StringOutput) diff --git a/sdk/go/google/datamigration/v1/getMigrationJobIamPolicy.go b/sdk/go/google/datamigration/v1/getMigrationJobIamPolicy.go index 548291278f..e399d235c0 100644 --- a/sdk/go/google/datamigration/v1/getMigrationJobIamPolicy.go +++ b/sdk/go/google/datamigration/v1/getMigrationJobIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupMigrationJobIamPolicyResultOutput) ToLookupMigrationJobIamPolicyRe return o } +func (o LookupMigrationJobIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMigrationJobIamPolicyResult] { + return pulumix.Output[LookupMigrationJobIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMigrationJobIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMigrationJobIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1/getPrivateConnection.go b/sdk/go/google/datamigration/v1/getPrivateConnection.go index f4b58d1237..75db1510f1 100644 --- a/sdk/go/google/datamigration/v1/getPrivateConnection.go +++ b/sdk/go/google/datamigration/v1/getPrivateConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single private connection. @@ -84,6 +85,12 @@ func (o LookupPrivateConnectionResultOutput) ToLookupPrivateConnectionResultOutp return o } +func (o LookupPrivateConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPrivateConnectionResult] { + return pulumix.Output[LookupPrivateConnectionResult]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o LookupPrivateConnectionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupPrivateConnectionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datamigration/v1/getPrivateConnectionIamPolicy.go b/sdk/go/google/datamigration/v1/getPrivateConnectionIamPolicy.go index 70b7e287e2..3397550c73 100644 --- a/sdk/go/google/datamigration/v1/getPrivateConnectionIamPolicy.go +++ b/sdk/go/google/datamigration/v1/getPrivateConnectionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupPrivateConnectionIamPolicyResultOutput) ToLookupPrivateConnectionI return o } +func (o LookupPrivateConnectionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPrivateConnectionIamPolicyResult] { + return pulumix.Output[LookupPrivateConnectionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupPrivateConnectionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupPrivateConnectionIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1/migrationJob.go b/sdk/go/google/datamigration/v1/migrationJob.go index 044ebe416f..f14d85da98 100644 --- a/sdk/go/google/datamigration/v1/migrationJob.go +++ b/sdk/go/google/datamigration/v1/migrationJob.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new migration job in a given project and location. @@ -237,6 +238,12 @@ func (i *MigrationJob) ToMigrationJobOutputWithContext(ctx context.Context) Migr return pulumi.ToOutputWithContext(ctx, i).(MigrationJobOutput) } +func (i *MigrationJob) ToOutput(ctx context.Context) pulumix.Output[*MigrationJob] { + return pulumix.Output[*MigrationJob]{ + OutputState: i.ToMigrationJobOutputWithContext(ctx).OutputState, + } +} + type MigrationJobOutput struct{ *pulumi.OutputState } func (MigrationJobOutput) ElementType() reflect.Type { @@ -251,6 +258,12 @@ func (o MigrationJobOutput) ToMigrationJobOutputWithContext(ctx context.Context) return o } +func (o MigrationJobOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJob] { + return pulumix.Output[*MigrationJob]{ + OutputState: o.OutputState, + } +} + // The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] func (o MigrationJobOutput) CmekKeyName() pulumi.StringOutput { return o.ApplyT(func(v *MigrationJob) pulumi.StringOutput { return v.CmekKeyName }).(pulumi.StringOutput) diff --git a/sdk/go/google/datamigration/v1/migrationJobIamBinding.go b/sdk/go/google/datamigration/v1/migrationJobIamBinding.go index 689fa6d3e6..4f3716d9af 100644 --- a/sdk/go/google/datamigration/v1/migrationJobIamBinding.go +++ b/sdk/go/google/datamigration/v1/migrationJobIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MigrationJobIamBinding) ToMigrationJobIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MigrationJobIamBindingOutput) } +func (i *MigrationJobIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamBinding] { + return pulumix.Output[*MigrationJobIamBinding]{ + OutputState: i.ToMigrationJobIamBindingOutputWithContext(ctx).OutputState, + } +} + type MigrationJobIamBindingOutput struct{ *pulumi.OutputState } func (MigrationJobIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MigrationJobIamBindingOutput) ToMigrationJobIamBindingOutputWithContext( return o } +func (o MigrationJobIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamBinding] { + return pulumix.Output[*MigrationJobIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MigrationJobIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MigrationJobIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1/migrationJobIamMember.go b/sdk/go/google/datamigration/v1/migrationJobIamMember.go index e679fb7113..af22ba3612 100644 --- a/sdk/go/google/datamigration/v1/migrationJobIamMember.go +++ b/sdk/go/google/datamigration/v1/migrationJobIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MigrationJobIamMember) ToMigrationJobIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MigrationJobIamMemberOutput) } +func (i *MigrationJobIamMember) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamMember] { + return pulumix.Output[*MigrationJobIamMember]{ + OutputState: i.ToMigrationJobIamMemberOutputWithContext(ctx).OutputState, + } +} + type MigrationJobIamMemberOutput struct{ *pulumi.OutputState } func (MigrationJobIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MigrationJobIamMemberOutput) ToMigrationJobIamMemberOutputWithContext(ct return o } +func (o MigrationJobIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamMember] { + return pulumix.Output[*MigrationJobIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MigrationJobIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MigrationJobIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1/migrationJobIamPolicy.go b/sdk/go/google/datamigration/v1/migrationJobIamPolicy.go index 896a3ded05..943b85ba7a 100644 --- a/sdk/go/google/datamigration/v1/migrationJobIamPolicy.go +++ b/sdk/go/google/datamigration/v1/migrationJobIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MigrationJobIamPolicy) ToMigrationJobIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MigrationJobIamPolicyOutput) } +func (i *MigrationJobIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamPolicy] { + return pulumix.Output[*MigrationJobIamPolicy]{ + OutputState: i.ToMigrationJobIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MigrationJobIamPolicyOutput struct{ *pulumi.OutputState } func (MigrationJobIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MigrationJobIamPolicyOutput) ToMigrationJobIamPolicyOutputWithContext(ct return o } +func (o MigrationJobIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamPolicy] { + return pulumix.Output[*MigrationJobIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MigrationJobIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MigrationJobIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1/privateConnection.go b/sdk/go/google/datamigration/v1/privateConnection.go index 730af14339..5a9b0c46f5 100644 --- a/sdk/go/google/datamigration/v1/privateConnection.go +++ b/sdk/go/google/datamigration/v1/privateConnection.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new private connection in a given project and location. @@ -152,6 +153,12 @@ func (i *PrivateConnection) ToPrivateConnectionOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectionOutput) } +func (i *PrivateConnection) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnection] { + return pulumix.Output[*PrivateConnection]{ + OutputState: i.ToPrivateConnectionOutputWithContext(ctx).OutputState, + } +} + type PrivateConnectionOutput struct{ *pulumi.OutputState } func (PrivateConnectionOutput) ElementType() reflect.Type { @@ -166,6 +173,12 @@ func (o PrivateConnectionOutput) ToPrivateConnectionOutputWithContext(ctx contex return o } +func (o PrivateConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnection] { + return pulumix.Output[*PrivateConnection]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o PrivateConnectionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *PrivateConnection) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datamigration/v1/privateConnectionIamBinding.go b/sdk/go/google/datamigration/v1/privateConnectionIamBinding.go index 782e0b86ee..bf4636e48f 100644 --- a/sdk/go/google/datamigration/v1/privateConnectionIamBinding.go +++ b/sdk/go/google/datamigration/v1/privateConnectionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PrivateConnectionIamBinding) ToPrivateConnectionIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectionIamBindingOutput) } +func (i *PrivateConnectionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectionIamBinding] { + return pulumix.Output[*PrivateConnectionIamBinding]{ + OutputState: i.ToPrivateConnectionIamBindingOutputWithContext(ctx).OutputState, + } +} + type PrivateConnectionIamBindingOutput struct{ *pulumi.OutputState } func (PrivateConnectionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PrivateConnectionIamBindingOutput) ToPrivateConnectionIamBindingOutputWi return o } +func (o PrivateConnectionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectionIamBinding] { + return pulumix.Output[*PrivateConnectionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PrivateConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PrivateConnectionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1/privateConnectionIamMember.go b/sdk/go/google/datamigration/v1/privateConnectionIamMember.go index f741edc83b..cae1f5d280 100644 --- a/sdk/go/google/datamigration/v1/privateConnectionIamMember.go +++ b/sdk/go/google/datamigration/v1/privateConnectionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PrivateConnectionIamMember) ToPrivateConnectionIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectionIamMemberOutput) } +func (i *PrivateConnectionIamMember) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectionIamMember] { + return pulumix.Output[*PrivateConnectionIamMember]{ + OutputState: i.ToPrivateConnectionIamMemberOutputWithContext(ctx).OutputState, + } +} + type PrivateConnectionIamMemberOutput struct{ *pulumi.OutputState } func (PrivateConnectionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PrivateConnectionIamMemberOutput) ToPrivateConnectionIamMemberOutputWith return o } +func (o PrivateConnectionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectionIamMember] { + return pulumix.Output[*PrivateConnectionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PrivateConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PrivateConnectionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1/privateConnectionIamPolicy.go b/sdk/go/google/datamigration/v1/privateConnectionIamPolicy.go index 836571f4b4..8873b7edf8 100644 --- a/sdk/go/google/datamigration/v1/privateConnectionIamPolicy.go +++ b/sdk/go/google/datamigration/v1/privateConnectionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PrivateConnectionIamPolicy) ToPrivateConnectionIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectionIamPolicyOutput) } +func (i *PrivateConnectionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectionIamPolicy] { + return pulumix.Output[*PrivateConnectionIamPolicy]{ + OutputState: i.ToPrivateConnectionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type PrivateConnectionIamPolicyOutput struct{ *pulumi.OutputState } func (PrivateConnectionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PrivateConnectionIamPolicyOutput) ToPrivateConnectionIamPolicyOutputWith return o } +func (o PrivateConnectionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectionIamPolicy] { + return pulumix.Output[*PrivateConnectionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o PrivateConnectionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *PrivateConnectionIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1/pulumiEnums.go b/sdk/go/google/datamigration/v1/pulumiEnums.go index c6b38bf9a2..8d42313f66 100644 --- a/sdk/go/google/datamigration/v1/pulumiEnums.go +++ b/sdk/go/google/datamigration/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives. type CloudSqlSettingsActivationPolicy string @@ -253,6 +272,12 @@ func (o CloudSqlSettingsActivationPolicyOutput) ToCloudSqlSettingsActivationPoli }).(CloudSqlSettingsActivationPolicyPtrOutput) } +func (o CloudSqlSettingsActivationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettingsActivationPolicy] { + return pulumix.Output[CloudSqlSettingsActivationPolicy]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsActivationPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o CloudSqlSettingsActivationPolicyPtrOutput) ToCloudSqlSettingsActivationP return o } +func (o CloudSqlSettingsActivationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsActivationPolicy] { + return pulumix.Output[*CloudSqlSettingsActivationPolicy]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsActivationPolicyPtrOutput) Elem() CloudSqlSettingsActivationPolicyOutput { return o.ApplyT(func(v *CloudSqlSettingsActivationPolicy) CloudSqlSettingsActivationPolicy { if v != nil { @@ -350,6 +381,12 @@ func (in *cloudSqlSettingsActivationPolicyPtr) ToCloudSqlSettingsActivationPolic return pulumi.ToOutputWithContext(ctx, in).(CloudSqlSettingsActivationPolicyPtrOutput) } +func (in *cloudSqlSettingsActivationPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsActivationPolicy] { + return pulumix.Output[*CloudSqlSettingsActivationPolicy]{ + OutputState: in.ToCloudSqlSettingsActivationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available). type CloudSqlSettingsAvailabilityType string @@ -422,6 +459,12 @@ func (o CloudSqlSettingsAvailabilityTypeOutput) ToCloudSqlSettingsAvailabilityTy }).(CloudSqlSettingsAvailabilityTypePtrOutput) } +func (o CloudSqlSettingsAvailabilityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettingsAvailabilityType] { + return pulumix.Output[CloudSqlSettingsAvailabilityType]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsAvailabilityTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o CloudSqlSettingsAvailabilityTypePtrOutput) ToCloudSqlSettingsAvailabilit return o } +func (o CloudSqlSettingsAvailabilityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsAvailabilityType] { + return pulumix.Output[*CloudSqlSettingsAvailabilityType]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsAvailabilityTypePtrOutput) Elem() CloudSqlSettingsAvailabilityTypeOutput { return o.ApplyT(func(v *CloudSqlSettingsAvailabilityType) CloudSqlSettingsAvailabilityType { if v != nil { @@ -519,6 +568,12 @@ func (in *cloudSqlSettingsAvailabilityTypePtr) ToCloudSqlSettingsAvailabilityTyp return pulumi.ToOutputWithContext(ctx, in).(CloudSqlSettingsAvailabilityTypePtrOutput) } +func (in *cloudSqlSettingsAvailabilityTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsAvailabilityType] { + return pulumix.Output[*CloudSqlSettingsAvailabilityType]{ + OutputState: in.ToCloudSqlSettingsAvailabilityTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of storage: `PD_SSD` (default) or `PD_HDD`. type CloudSqlSettingsDataDiskType string @@ -591,6 +646,12 @@ func (o CloudSqlSettingsDataDiskTypeOutput) ToCloudSqlSettingsDataDiskTypePtrOut }).(CloudSqlSettingsDataDiskTypePtrOutput) } +func (o CloudSqlSettingsDataDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettingsDataDiskType] { + return pulumix.Output[CloudSqlSettingsDataDiskType]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsDataDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o CloudSqlSettingsDataDiskTypePtrOutput) ToCloudSqlSettingsDataDiskTypePtr return o } +func (o CloudSqlSettingsDataDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsDataDiskType] { + return pulumix.Output[*CloudSqlSettingsDataDiskType]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsDataDiskTypePtrOutput) Elem() CloudSqlSettingsDataDiskTypeOutput { return o.ApplyT(func(v *CloudSqlSettingsDataDiskType) CloudSqlSettingsDataDiskType { if v != nil { @@ -688,6 +755,12 @@ func (in *cloudSqlSettingsDataDiskTypePtr) ToCloudSqlSettingsDataDiskTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(CloudSqlSettingsDataDiskTypePtrOutput) } +func (in *cloudSqlSettingsDataDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsDataDiskType] { + return pulumix.Output[*CloudSqlSettingsDataDiskType]{ + OutputState: in.ToCloudSqlSettingsDataDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The database engine type and version. type CloudSqlSettingsDatabaseVersion string @@ -774,6 +847,12 @@ func (o CloudSqlSettingsDatabaseVersionOutput) ToCloudSqlSettingsDatabaseVersion }).(CloudSqlSettingsDatabaseVersionPtrOutput) } +func (o CloudSqlSettingsDatabaseVersionOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettingsDatabaseVersion] { + return pulumix.Output[CloudSqlSettingsDatabaseVersion]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsDatabaseVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -809,6 +888,12 @@ func (o CloudSqlSettingsDatabaseVersionPtrOutput) ToCloudSqlSettingsDatabaseVers return o } +func (o CloudSqlSettingsDatabaseVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsDatabaseVersion] { + return pulumix.Output[*CloudSqlSettingsDatabaseVersion]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsDatabaseVersionPtrOutput) Elem() CloudSqlSettingsDatabaseVersionOutput { return o.ApplyT(func(v *CloudSqlSettingsDatabaseVersion) CloudSqlSettingsDatabaseVersion { if v != nil { @@ -871,6 +956,12 @@ func (in *cloudSqlSettingsDatabaseVersionPtr) ToCloudSqlSettingsDatabaseVersionP return pulumi.ToOutputWithContext(ctx, in).(CloudSqlSettingsDatabaseVersionPtrOutput) } +func (in *cloudSqlSettingsDatabaseVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsDatabaseVersion] { + return pulumix.Output[*CloudSqlSettingsDatabaseVersion]{ + OutputState: in.ToCloudSqlSettingsDatabaseVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The database provider. type ConnectionProfileProvider string @@ -947,6 +1038,12 @@ func (o ConnectionProfileProviderOutput) ToConnectionProfileProviderPtrOutputWit }).(ConnectionProfileProviderPtrOutput) } +func (o ConnectionProfileProviderOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionProfileProvider] { + return pulumix.Output[ConnectionProfileProvider]{ + OutputState: o.OutputState, + } +} + func (o ConnectionProfileProviderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -982,6 +1079,12 @@ func (o ConnectionProfileProviderPtrOutput) ToConnectionProfileProviderPtrOutput return o } +func (o ConnectionProfileProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileProvider] { + return pulumix.Output[*ConnectionProfileProvider]{ + OutputState: o.OutputState, + } +} + func (o ConnectionProfileProviderPtrOutput) Elem() ConnectionProfileProviderOutput { return o.ApplyT(func(v *ConnectionProfileProvider) ConnectionProfileProvider { if v != nil { @@ -1044,6 +1147,12 @@ func (in *connectionProfileProviderPtr) ToConnectionProfileProviderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ConnectionProfileProviderPtrOutput) } +func (in *connectionProfileProviderPtr) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileProvider] { + return pulumix.Output[*ConnectionProfileProvider]{ + OutputState: in.ToConnectionProfileProviderPtrOutputWithContext(ctx).OutputState, + } +} + // The current connection profile state (e.g. DRAFT, READY, or FAILED). type ConnectionProfileStateEnum string @@ -1126,6 +1235,12 @@ func (o ConnectionProfileStateEnumOutput) ToConnectionProfileStateEnumPtrOutputW }).(ConnectionProfileStateEnumPtrOutput) } +func (o ConnectionProfileStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionProfileStateEnum] { + return pulumix.Output[ConnectionProfileStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ConnectionProfileStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1161,6 +1276,12 @@ func (o ConnectionProfileStateEnumPtrOutput) ToConnectionProfileStateEnumPtrOutp return o } +func (o ConnectionProfileStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileStateEnum] { + return pulumix.Output[*ConnectionProfileStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ConnectionProfileStateEnumPtrOutput) Elem() ConnectionProfileStateEnumOutput { return o.ApplyT(func(v *ConnectionProfileStateEnum) ConnectionProfileStateEnum { if v != nil { @@ -1223,6 +1344,12 @@ func (in *connectionProfileStateEnumPtr) ToConnectionProfileStateEnumPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(ConnectionProfileStateEnumPtrOutput) } +func (in *connectionProfileStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileStateEnum] { + return pulumix.Output[*ConnectionProfileStateEnum]{ + OutputState: in.ToConnectionProfileStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Engine type. type DatabaseEngineInfoEngine string @@ -1297,6 +1424,12 @@ func (o DatabaseEngineInfoEngineOutput) ToDatabaseEngineInfoEnginePtrOutputWithC }).(DatabaseEngineInfoEnginePtrOutput) } +func (o DatabaseEngineInfoEngineOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseEngineInfoEngine] { + return pulumix.Output[DatabaseEngineInfoEngine]{ + OutputState: o.OutputState, + } +} + func (o DatabaseEngineInfoEngineOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1332,6 +1465,12 @@ func (o DatabaseEngineInfoEnginePtrOutput) ToDatabaseEngineInfoEnginePtrOutputWi return o } +func (o DatabaseEngineInfoEnginePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseEngineInfoEngine] { + return pulumix.Output[*DatabaseEngineInfoEngine]{ + OutputState: o.OutputState, + } +} + func (o DatabaseEngineInfoEnginePtrOutput) Elem() DatabaseEngineInfoEngineOutput { return o.ApplyT(func(v *DatabaseEngineInfoEngine) DatabaseEngineInfoEngine { if v != nil { @@ -1394,6 +1533,12 @@ func (in *databaseEngineInfoEnginePtr) ToDatabaseEngineInfoEnginePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DatabaseEngineInfoEnginePtrOutput) } +func (in *databaseEngineInfoEnginePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseEngineInfoEngine] { + return pulumix.Output[*DatabaseEngineInfoEngine]{ + OutputState: in.ToDatabaseEngineInfoEnginePtrOutputWithContext(ctx).OutputState, + } +} + // The database engine. type DatabaseTypeEngine string @@ -1468,6 +1613,12 @@ func (o DatabaseTypeEngineOutput) ToDatabaseTypeEnginePtrOutputWithContext(ctx c }).(DatabaseTypeEnginePtrOutput) } +func (o DatabaseTypeEngineOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseTypeEngine] { + return pulumix.Output[DatabaseTypeEngine]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypeEngineOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1503,6 +1654,12 @@ func (o DatabaseTypeEnginePtrOutput) ToDatabaseTypeEnginePtrOutputWithContext(ct return o } +func (o DatabaseTypeEnginePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseTypeEngine] { + return pulumix.Output[*DatabaseTypeEngine]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypeEnginePtrOutput) Elem() DatabaseTypeEngineOutput { return o.ApplyT(func(v *DatabaseTypeEngine) DatabaseTypeEngine { if v != nil { @@ -1565,6 +1722,12 @@ func (in *databaseTypeEnginePtr) ToDatabaseTypeEnginePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(DatabaseTypeEnginePtrOutput) } +func (in *databaseTypeEnginePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseTypeEngine] { + return pulumix.Output[*DatabaseTypeEngine]{ + OutputState: in.ToDatabaseTypeEnginePtrOutputWithContext(ctx).OutputState, + } +} + // The database provider. type DatabaseTypeProvider string @@ -1641,6 +1804,12 @@ func (o DatabaseTypeProviderOutput) ToDatabaseTypeProviderPtrOutputWithContext(c }).(DatabaseTypeProviderPtrOutput) } +func (o DatabaseTypeProviderOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseTypeProvider] { + return pulumix.Output[DatabaseTypeProvider]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypeProviderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1676,6 +1845,12 @@ func (o DatabaseTypeProviderPtrOutput) ToDatabaseTypeProviderPtrOutputWithContex return o } +func (o DatabaseTypeProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseTypeProvider] { + return pulumix.Output[*DatabaseTypeProvider]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypeProviderPtrOutput) Elem() DatabaseTypeProviderOutput { return o.ApplyT(func(v *DatabaseTypeProvider) DatabaseTypeProvider { if v != nil { @@ -1738,6 +1913,12 @@ func (in *databaseTypeProviderPtr) ToDatabaseTypeProviderPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(DatabaseTypeProviderPtrOutput) } +func (in *databaseTypeProviderPtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseTypeProvider] { + return pulumix.Output[*DatabaseTypeProvider]{ + OutputState: in.ToDatabaseTypeProviderPtrOutputWithContext(ctx).OutputState, + } +} + // The current migration job state. type MigrationJobStateEnum string @@ -1836,6 +2017,12 @@ func (o MigrationJobStateEnumOutput) ToMigrationJobStateEnumPtrOutputWithContext }).(MigrationJobStateEnumPtrOutput) } +func (o MigrationJobStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[MigrationJobStateEnum] { + return pulumix.Output[MigrationJobStateEnum]{ + OutputState: o.OutputState, + } +} + func (o MigrationJobStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1871,6 +2058,12 @@ func (o MigrationJobStateEnumPtrOutput) ToMigrationJobStateEnumPtrOutputWithCont return o } +func (o MigrationJobStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobStateEnum] { + return pulumix.Output[*MigrationJobStateEnum]{ + OutputState: o.OutputState, + } +} + func (o MigrationJobStateEnumPtrOutput) Elem() MigrationJobStateEnumOutput { return o.ApplyT(func(v *MigrationJobStateEnum) MigrationJobStateEnum { if v != nil { @@ -1933,6 +2126,12 @@ func (in *migrationJobStateEnumPtr) ToMigrationJobStateEnumPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(MigrationJobStateEnumPtrOutput) } +func (in *migrationJobStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobStateEnum] { + return pulumix.Output[*MigrationJobStateEnum]{ + OutputState: in.ToMigrationJobStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The migration job type. type MigrationJobType string @@ -2005,6 +2204,12 @@ func (o MigrationJobTypeOutput) ToMigrationJobTypePtrOutputWithContext(ctx conte }).(MigrationJobTypePtrOutput) } +func (o MigrationJobTypeOutput) ToOutput(ctx context.Context) pulumix.Output[MigrationJobType] { + return pulumix.Output[MigrationJobType]{ + OutputState: o.OutputState, + } +} + func (o MigrationJobTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2040,6 +2245,12 @@ func (o MigrationJobTypePtrOutput) ToMigrationJobTypePtrOutputWithContext(ctx co return o } +func (o MigrationJobTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobType] { + return pulumix.Output[*MigrationJobType]{ + OutputState: o.OutputState, + } +} + func (o MigrationJobTypePtrOutput) Elem() MigrationJobTypeOutput { return o.ApplyT(func(v *MigrationJobType) MigrationJobType { if v != nil { @@ -2102,6 +2313,12 @@ func (in *migrationJobTypePtr) ToMigrationJobTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(MigrationJobTypePtrOutput) } +func (in *migrationJobTypePtr) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobType] { + return pulumix.Output[*MigrationJobType]{ + OutputState: in.ToMigrationJobTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/datamigration/v1/pulumiTypes.go b/sdk/go/google/datamigration/v1/pulumiTypes.go index 2894718e5b..bc54c48c46 100644 --- a/sdk/go/google/datamigration/v1/pulumiTypes.go +++ b/sdk/go/google/datamigration/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AlloyDbConnectionProfileArgs) ToAlloyDbConnectionProfileOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(AlloyDbConnectionProfileOutput) } +func (i AlloyDbConnectionProfileArgs) ToOutput(ctx context.Context) pulumix.Output[AlloyDbConnectionProfile] { + return pulumix.Output[AlloyDbConnectionProfile]{ + OutputState: i.ToAlloyDbConnectionProfileOutputWithContext(ctx).OutputState, + } +} + func (i AlloyDbConnectionProfileArgs) ToAlloyDbConnectionProfilePtrOutput() AlloyDbConnectionProfilePtrOutput { return i.ToAlloyDbConnectionProfilePtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *alloyDbConnectionProfilePtrType) ToAlloyDbConnectionProfilePtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(AlloyDbConnectionProfilePtrOutput) } +func (i *alloyDbConnectionProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*AlloyDbConnectionProfile] { + return pulumix.Output[*AlloyDbConnectionProfile]{ + OutputState: i.ToAlloyDbConnectionProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. type AlloyDbConnectionProfileOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AlloyDbConnectionProfileOutput) ToAlloyDbConnectionProfilePtrOutputWithC }).(AlloyDbConnectionProfilePtrOutput) } +func (o AlloyDbConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[AlloyDbConnectionProfile] { + return pulumix.Output[AlloyDbConnectionProfile]{ + OutputState: o.OutputState, + } +} + // The AlloyDB cluster ID that this connection profile is associated with. func (o AlloyDbConnectionProfileOutput) ClusterId() pulumi.StringOutput { return o.ApplyT(func(v AlloyDbConnectionProfile) string { return v.ClusterId }).(pulumi.StringOutput) @@ -142,6 +161,12 @@ func (o AlloyDbConnectionProfilePtrOutput) ToAlloyDbConnectionProfilePtrOutputWi return o } +func (o AlloyDbConnectionProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AlloyDbConnectionProfile] { + return pulumix.Output[*AlloyDbConnectionProfile]{ + OutputState: o.OutputState, + } +} + func (o AlloyDbConnectionProfilePtrOutput) Elem() AlloyDbConnectionProfileOutput { return o.ApplyT(func(v *AlloyDbConnectionProfile) AlloyDbConnectionProfile { if v != nil { @@ -195,6 +220,12 @@ func (o AlloyDbConnectionProfileResponseOutput) ToAlloyDbConnectionProfileRespon return o } +func (o AlloyDbConnectionProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AlloyDbConnectionProfileResponse] { + return pulumix.Output[AlloyDbConnectionProfileResponse]{ + OutputState: o.OutputState, + } +} + // The AlloyDB cluster ID that this connection profile is associated with. func (o AlloyDbConnectionProfileResponseOutput) ClusterId() pulumi.StringOutput { return o.ApplyT(func(v AlloyDbConnectionProfileResponse) string { return v.ClusterId }).(pulumi.StringOutput) @@ -254,6 +285,12 @@ func (i AlloyDbSettingsArgs) ToAlloyDbSettingsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AlloyDbSettingsOutput) } +func (i AlloyDbSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[AlloyDbSettings] { + return pulumix.Output[AlloyDbSettings]{ + OutputState: i.ToAlloyDbSettingsOutputWithContext(ctx).OutputState, + } +} + func (i AlloyDbSettingsArgs) ToAlloyDbSettingsPtrOutput() AlloyDbSettingsPtrOutput { return i.ToAlloyDbSettingsPtrOutputWithContext(context.Background()) } @@ -295,6 +332,12 @@ func (i *alloyDbSettingsPtrType) ToAlloyDbSettingsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AlloyDbSettingsPtrOutput) } +func (i *alloyDbSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AlloyDbSettings] { + return pulumix.Output[*AlloyDbSettings]{ + OutputState: i.ToAlloyDbSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for creating an AlloyDB cluster. type AlloyDbSettingsOutput struct{ *pulumi.OutputState } @@ -320,6 +363,12 @@ func (o AlloyDbSettingsOutput) ToAlloyDbSettingsPtrOutputWithContext(ctx context }).(AlloyDbSettingsPtrOutput) } +func (o AlloyDbSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[AlloyDbSettings] { + return pulumix.Output[AlloyDbSettings]{ + OutputState: o.OutputState, + } +} + // Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data. func (o AlloyDbSettingsOutput) EncryptionConfig() EncryptionConfigPtrOutput { return o.ApplyT(func(v AlloyDbSettings) *EncryptionConfig { return v.EncryptionConfig }).(EncryptionConfigPtrOutput) @@ -358,6 +407,12 @@ func (o AlloyDbSettingsPtrOutput) ToAlloyDbSettingsPtrOutputWithContext(ctx cont return o } +func (o AlloyDbSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AlloyDbSettings] { + return pulumix.Output[*AlloyDbSettings]{ + OutputState: o.OutputState, + } +} + func (o AlloyDbSettingsPtrOutput) Elem() AlloyDbSettingsOutput { return o.ApplyT(func(v *AlloyDbSettings) AlloyDbSettings { if v != nil { @@ -445,6 +500,12 @@ func (o AlloyDbSettingsResponseOutput) ToAlloyDbSettingsResponseOutputWithContex return o } +func (o AlloyDbSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AlloyDbSettingsResponse] { + return pulumix.Output[AlloyDbSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data. func (o AlloyDbSettingsResponseOutput) EncryptionConfig() EncryptionConfigResponseOutput { return o.ApplyT(func(v AlloyDbSettingsResponse) EncryptionConfigResponse { return v.EncryptionConfig }).(EncryptionConfigResponseOutput) @@ -508,6 +569,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -533,6 +600,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -548,6 +621,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -572,6 +651,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -601,6 +686,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -625,6 +716,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -670,6 +767,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -695,6 +798,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -710,6 +819,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -734,6 +849,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -763,6 +884,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -787,6 +914,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -836,6 +969,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -861,6 +1000,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -876,6 +1021,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -905,6 +1056,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -936,6 +1093,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -965,6 +1128,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1006,6 +1175,12 @@ func (i CloudSqlConnectionProfileArgs) ToCloudSqlConnectionProfileOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(CloudSqlConnectionProfileOutput) } +func (i CloudSqlConnectionProfileArgs) ToOutput(ctx context.Context) pulumix.Output[CloudSqlConnectionProfile] { + return pulumix.Output[CloudSqlConnectionProfile]{ + OutputState: i.ToCloudSqlConnectionProfileOutputWithContext(ctx).OutputState, + } +} + func (i CloudSqlConnectionProfileArgs) ToCloudSqlConnectionProfilePtrOutput() CloudSqlConnectionProfilePtrOutput { return i.ToCloudSqlConnectionProfilePtrOutputWithContext(context.Background()) } @@ -1047,6 +1222,12 @@ func (i *cloudSqlConnectionProfilePtrType) ToCloudSqlConnectionProfilePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(CloudSqlConnectionProfilePtrOutput) } +func (i *cloudSqlConnectionProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlConnectionProfile] { + return pulumix.Output[*CloudSqlConnectionProfile]{ + OutputState: i.ToCloudSqlConnectionProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance. type CloudSqlConnectionProfileOutput struct{ *pulumi.OutputState } @@ -1072,6 +1253,12 @@ func (o CloudSqlConnectionProfileOutput) ToCloudSqlConnectionProfilePtrOutputWit }).(CloudSqlConnectionProfilePtrOutput) } +func (o CloudSqlConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlConnectionProfile] { + return pulumix.Output[CloudSqlConnectionProfile]{ + OutputState: o.OutputState, + } +} + // Immutable. Metadata used to create the destination Cloud SQL database. func (o CloudSqlConnectionProfileOutput) Settings() CloudSqlSettingsPtrOutput { return o.ApplyT(func(v CloudSqlConnectionProfile) *CloudSqlSettings { return v.Settings }).(CloudSqlSettingsPtrOutput) @@ -1091,6 +1278,12 @@ func (o CloudSqlConnectionProfilePtrOutput) ToCloudSqlConnectionProfilePtrOutput return o } +func (o CloudSqlConnectionProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlConnectionProfile] { + return pulumix.Output[*CloudSqlConnectionProfile]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlConnectionProfilePtrOutput) Elem() CloudSqlConnectionProfileOutput { return o.ApplyT(func(v *CloudSqlConnectionProfile) CloudSqlConnectionProfile { if v != nil { @@ -1140,6 +1333,12 @@ func (o CloudSqlConnectionProfileResponseOutput) ToCloudSqlConnectionProfileResp return o } +func (o CloudSqlConnectionProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlConnectionProfileResponse] { + return pulumix.Output[CloudSqlConnectionProfileResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available). func (o CloudSqlConnectionProfileResponseOutput) AdditionalPublicIp() pulumi.StringOutput { return o.ApplyT(func(v CloudSqlConnectionProfileResponse) string { return v.AdditionalPublicIp }).(pulumi.StringOutput) @@ -1264,6 +1463,12 @@ func (i CloudSqlSettingsArgs) ToCloudSqlSettingsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(CloudSqlSettingsOutput) } +func (i CloudSqlSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettings] { + return pulumix.Output[CloudSqlSettings]{ + OutputState: i.ToCloudSqlSettingsOutputWithContext(ctx).OutputState, + } +} + func (i CloudSqlSettingsArgs) ToCloudSqlSettingsPtrOutput() CloudSqlSettingsPtrOutput { return i.ToCloudSqlSettingsPtrOutputWithContext(context.Background()) } @@ -1305,6 +1510,12 @@ func (i *cloudSqlSettingsPtrType) ToCloudSqlSettingsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(CloudSqlSettingsPtrOutput) } +func (i *cloudSqlSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettings] { + return pulumix.Output[*CloudSqlSettings]{ + OutputState: i.ToCloudSqlSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for creating a Cloud SQL database instance. type CloudSqlSettingsOutput struct{ *pulumi.OutputState } @@ -1330,6 +1541,12 @@ func (o CloudSqlSettingsOutput) ToCloudSqlSettingsPtrOutputWithContext(ctx conte }).(CloudSqlSettingsPtrOutput) } +func (o CloudSqlSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettings] { + return pulumix.Output[CloudSqlSettings]{ + OutputState: o.OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives. func (o CloudSqlSettingsOutput) ActivationPolicy() CloudSqlSettingsActivationPolicyPtrOutput { return o.ApplyT(func(v CloudSqlSettings) *CloudSqlSettingsActivationPolicy { return v.ActivationPolicy }).(CloudSqlSettingsActivationPolicyPtrOutput) @@ -1429,6 +1646,12 @@ func (o CloudSqlSettingsPtrOutput) ToCloudSqlSettingsPtrOutputWithContext(ctx co return o } +func (o CloudSqlSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettings] { + return pulumix.Output[*CloudSqlSettings]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsPtrOutput) Elem() CloudSqlSettingsOutput { return o.ApplyT(func(v *CloudSqlSettings) CloudSqlSettings { if v != nil { @@ -1664,6 +1887,12 @@ func (o CloudSqlSettingsResponseOutput) ToCloudSqlSettingsResponseOutputWithCont return o } +func (o CloudSqlSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettingsResponse] { + return pulumix.Output[CloudSqlSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives. func (o CloudSqlSettingsResponseOutput) ActivationPolicy() pulumi.StringOutput { return o.ApplyT(func(v CloudSqlSettingsResponse) string { return v.ActivationPolicy }).(pulumi.StringOutput) @@ -1793,6 +2022,12 @@ func (i ConversionWorkspaceInfoArgs) ToConversionWorkspaceInfoOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ConversionWorkspaceInfoOutput) } +func (i ConversionWorkspaceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ConversionWorkspaceInfo] { + return pulumix.Output[ConversionWorkspaceInfo]{ + OutputState: i.ToConversionWorkspaceInfoOutputWithContext(ctx).OutputState, + } +} + func (i ConversionWorkspaceInfoArgs) ToConversionWorkspaceInfoPtrOutput() ConversionWorkspaceInfoPtrOutput { return i.ToConversionWorkspaceInfoPtrOutputWithContext(context.Background()) } @@ -1834,6 +2069,12 @@ func (i *conversionWorkspaceInfoPtrType) ToConversionWorkspaceInfoPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ConversionWorkspaceInfoPtrOutput) } +func (i *conversionWorkspaceInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConversionWorkspaceInfo] { + return pulumix.Output[*ConversionWorkspaceInfo]{ + OutputState: i.ToConversionWorkspaceInfoPtrOutputWithContext(ctx).OutputState, + } +} + // A conversion workspace's version. type ConversionWorkspaceInfoOutput struct{ *pulumi.OutputState } @@ -1859,6 +2100,12 @@ func (o ConversionWorkspaceInfoOutput) ToConversionWorkspaceInfoPtrOutputWithCon }).(ConversionWorkspaceInfoPtrOutput) } +func (o ConversionWorkspaceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ConversionWorkspaceInfo] { + return pulumix.Output[ConversionWorkspaceInfo]{ + OutputState: o.OutputState, + } +} + // The commit ID of the conversion workspace. func (o ConversionWorkspaceInfoOutput) CommitId() pulumi.StringPtrOutput { return o.ApplyT(func(v ConversionWorkspaceInfo) *string { return v.CommitId }).(pulumi.StringPtrOutput) @@ -1883,6 +2130,12 @@ func (o ConversionWorkspaceInfoPtrOutput) ToConversionWorkspaceInfoPtrOutputWith return o } +func (o ConversionWorkspaceInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversionWorkspaceInfo] { + return pulumix.Output[*ConversionWorkspaceInfo]{ + OutputState: o.OutputState, + } +} + func (o ConversionWorkspaceInfoPtrOutput) Elem() ConversionWorkspaceInfoOutput { return o.ApplyT(func(v *ConversionWorkspaceInfo) ConversionWorkspaceInfo { if v != nil { @@ -1936,6 +2189,12 @@ func (o ConversionWorkspaceInfoResponseOutput) ToConversionWorkspaceInfoResponse return o } +func (o ConversionWorkspaceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConversionWorkspaceInfoResponse] { + return pulumix.Output[ConversionWorkspaceInfoResponse]{ + OutputState: o.OutputState, + } +} + // The commit ID of the conversion workspace. func (o ConversionWorkspaceInfoResponseOutput) CommitId() pulumi.StringOutput { return o.ApplyT(func(v ConversionWorkspaceInfoResponse) string { return v.CommitId }).(pulumi.StringOutput) @@ -1985,6 +2244,12 @@ func (i DatabaseEngineInfoArgs) ToDatabaseEngineInfoOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DatabaseEngineInfoOutput) } +func (i DatabaseEngineInfoArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseEngineInfo] { + return pulumix.Output[DatabaseEngineInfo]{ + OutputState: i.ToDatabaseEngineInfoOutputWithContext(ctx).OutputState, + } +} + // The type and version of a source or destination database. type DatabaseEngineInfoOutput struct{ *pulumi.OutputState } @@ -2000,6 +2265,12 @@ func (o DatabaseEngineInfoOutput) ToDatabaseEngineInfoOutputWithContext(ctx cont return o } +func (o DatabaseEngineInfoOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseEngineInfo] { + return pulumix.Output[DatabaseEngineInfo]{ + OutputState: o.OutputState, + } +} + // Engine type. func (o DatabaseEngineInfoOutput) Engine() DatabaseEngineInfoEngineOutput { return o.ApplyT(func(v DatabaseEngineInfo) DatabaseEngineInfoEngine { return v.Engine }).(DatabaseEngineInfoEngineOutput) @@ -2033,6 +2304,12 @@ func (o DatabaseEngineInfoResponseOutput) ToDatabaseEngineInfoResponseOutputWith return o } +func (o DatabaseEngineInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseEngineInfoResponse] { + return pulumix.Output[DatabaseEngineInfoResponse]{ + OutputState: o.OutputState, + } +} + // Engine type. func (o DatabaseEngineInfoResponseOutput) Engine() pulumi.StringOutput { return o.ApplyT(func(v DatabaseEngineInfoResponse) string { return v.Engine }).(pulumi.StringOutput) @@ -2082,6 +2359,12 @@ func (i DatabaseTypeArgs) ToDatabaseTypeOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DatabaseTypeOutput) } +func (i DatabaseTypeArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseType] { + return pulumix.Output[DatabaseType]{ + OutputState: i.ToDatabaseTypeOutputWithContext(ctx).OutputState, + } +} + func (i DatabaseTypeArgs) ToDatabaseTypePtrOutput() DatabaseTypePtrOutput { return i.ToDatabaseTypePtrOutputWithContext(context.Background()) } @@ -2123,6 +2406,12 @@ func (i *databaseTypePtrType) ToDatabaseTypePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DatabaseTypePtrOutput) } +func (i *databaseTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*DatabaseType] { + return pulumix.Output[*DatabaseType]{ + OutputState: i.ToDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // A message defining the database engine and provider. type DatabaseTypeOutput struct{ *pulumi.OutputState } @@ -2148,6 +2437,12 @@ func (o DatabaseTypeOutput) ToDatabaseTypePtrOutputWithContext(ctx context.Conte }).(DatabaseTypePtrOutput) } +func (o DatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseType] { + return pulumix.Output[DatabaseType]{ + OutputState: o.OutputState, + } +} + // The database engine. func (o DatabaseTypeOutput) Engine() DatabaseTypeEnginePtrOutput { return o.ApplyT(func(v DatabaseType) *DatabaseTypeEngine { return v.Engine }).(DatabaseTypeEnginePtrOutput) @@ -2172,6 +2467,12 @@ func (o DatabaseTypePtrOutput) ToDatabaseTypePtrOutputWithContext(ctx context.Co return o } +func (o DatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseType] { + return pulumix.Output[*DatabaseType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypePtrOutput) Elem() DatabaseTypeOutput { return o.ApplyT(func(v *DatabaseType) DatabaseType { if v != nil { @@ -2225,6 +2526,12 @@ func (o DatabaseTypeResponseOutput) ToDatabaseTypeResponseOutputWithContext(ctx return o } +func (o DatabaseTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseTypeResponse] { + return pulumix.Output[DatabaseTypeResponse]{ + OutputState: o.OutputState, + } +} + // The database engine. func (o DatabaseTypeResponseOutput) Engine() pulumi.StringOutput { return o.ApplyT(func(v DatabaseTypeResponse) string { return v.Engine }).(pulumi.StringOutput) @@ -2274,6 +2581,12 @@ func (i DumpFlagArgs) ToDumpFlagOutputWithContext(ctx context.Context) DumpFlagO return pulumi.ToOutputWithContext(ctx, i).(DumpFlagOutput) } +func (i DumpFlagArgs) ToOutput(ctx context.Context) pulumix.Output[DumpFlag] { + return pulumix.Output[DumpFlag]{ + OutputState: i.ToDumpFlagOutputWithContext(ctx).OutputState, + } +} + // DumpFlagArrayInput is an input type that accepts DumpFlagArray and DumpFlagArrayOutput values. // You can construct a concrete instance of `DumpFlagArrayInput` via: // @@ -2299,6 +2612,12 @@ func (i DumpFlagArray) ToDumpFlagArrayOutputWithContext(ctx context.Context) Dum return pulumi.ToOutputWithContext(ctx, i).(DumpFlagArrayOutput) } +func (i DumpFlagArray) ToOutput(ctx context.Context) pulumix.Output[[]DumpFlag] { + return pulumix.Output[[]DumpFlag]{ + OutputState: i.ToDumpFlagArrayOutputWithContext(ctx).OutputState, + } +} + // Dump flag definition. type DumpFlagOutput struct{ *pulumi.OutputState } @@ -2314,6 +2633,12 @@ func (o DumpFlagOutput) ToDumpFlagOutputWithContext(ctx context.Context) DumpFla return o } +func (o DumpFlagOutput) ToOutput(ctx context.Context) pulumix.Output[DumpFlag] { + return pulumix.Output[DumpFlag]{ + OutputState: o.OutputState, + } +} + // The name of the flag func (o DumpFlagOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v DumpFlag) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -2338,6 +2663,12 @@ func (o DumpFlagArrayOutput) ToDumpFlagArrayOutputWithContext(ctx context.Contex return o } +func (o DumpFlagArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DumpFlag] { + return pulumix.Output[[]DumpFlag]{ + OutputState: o.OutputState, + } +} + func (o DumpFlagArrayOutput) Index(i pulumi.IntInput) DumpFlagOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DumpFlag { return vs[0].([]DumpFlag)[vs[1].(int)] @@ -2367,6 +2698,12 @@ func (o DumpFlagResponseOutput) ToDumpFlagResponseOutputWithContext(ctx context. return o } +func (o DumpFlagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DumpFlagResponse] { + return pulumix.Output[DumpFlagResponse]{ + OutputState: o.OutputState, + } +} + // The name of the flag func (o DumpFlagResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v DumpFlagResponse) string { return v.Name }).(pulumi.StringOutput) @@ -2391,6 +2728,12 @@ func (o DumpFlagResponseArrayOutput) ToDumpFlagResponseArrayOutputWithContext(ct return o } +func (o DumpFlagResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DumpFlagResponse] { + return pulumix.Output[[]DumpFlagResponse]{ + OutputState: o.OutputState, + } +} + func (o DumpFlagResponseArrayOutput) Index(i pulumi.IntInput) DumpFlagResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DumpFlagResponse { return vs[0].([]DumpFlagResponse)[vs[1].(int)] @@ -2432,6 +2775,12 @@ func (i DumpFlagsArgs) ToDumpFlagsOutputWithContext(ctx context.Context) DumpFla return pulumi.ToOutputWithContext(ctx, i).(DumpFlagsOutput) } +func (i DumpFlagsArgs) ToOutput(ctx context.Context) pulumix.Output[DumpFlags] { + return pulumix.Output[DumpFlags]{ + OutputState: i.ToDumpFlagsOutputWithContext(ctx).OutputState, + } +} + func (i DumpFlagsArgs) ToDumpFlagsPtrOutput() DumpFlagsPtrOutput { return i.ToDumpFlagsPtrOutputWithContext(context.Background()) } @@ -2473,6 +2822,12 @@ func (i *dumpFlagsPtrType) ToDumpFlagsPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DumpFlagsPtrOutput) } +func (i *dumpFlagsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DumpFlags] { + return pulumix.Output[*DumpFlags]{ + OutputState: i.ToDumpFlagsPtrOutputWithContext(ctx).OutputState, + } +} + // Dump flags definition. type DumpFlagsOutput struct{ *pulumi.OutputState } @@ -2498,6 +2853,12 @@ func (o DumpFlagsOutput) ToDumpFlagsPtrOutputWithContext(ctx context.Context) Du }).(DumpFlagsPtrOutput) } +func (o DumpFlagsOutput) ToOutput(ctx context.Context) pulumix.Output[DumpFlags] { + return pulumix.Output[DumpFlags]{ + OutputState: o.OutputState, + } +} + // The flags for the initial dump. func (o DumpFlagsOutput) DumpFlags() DumpFlagArrayOutput { return o.ApplyT(func(v DumpFlags) []DumpFlag { return v.DumpFlags }).(DumpFlagArrayOutput) @@ -2517,6 +2878,12 @@ func (o DumpFlagsPtrOutput) ToDumpFlagsPtrOutputWithContext(ctx context.Context) return o } +func (o DumpFlagsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DumpFlags] { + return pulumix.Output[*DumpFlags]{ + OutputState: o.OutputState, + } +} + func (o DumpFlagsPtrOutput) Elem() DumpFlagsOutput { return o.ApplyT(func(v *DumpFlags) DumpFlags { if v != nil { @@ -2558,6 +2925,12 @@ func (o DumpFlagsResponseOutput) ToDumpFlagsResponseOutputWithContext(ctx contex return o } +func (o DumpFlagsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DumpFlagsResponse] { + return pulumix.Output[DumpFlagsResponse]{ + OutputState: o.OutputState, + } +} + // The flags for the initial dump. func (o DumpFlagsResponseOutput) DumpFlags() DumpFlagResponseArrayOutput { return o.ApplyT(func(v DumpFlagsResponse) []DumpFlagResponse { return v.DumpFlags }).(DumpFlagResponseArrayOutput) @@ -2598,6 +2971,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -2639,6 +3018,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // EncryptionConfig describes the encryption config of a cluster that is encrypted with a CMEK (customer-managed encryption key). type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -2664,6 +3049,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] func (o EncryptionConfigOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -2683,6 +3074,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -2724,6 +3121,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] func (o EncryptionConfigResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -2776,6 +3179,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -2817,6 +3226,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -2842,6 +3257,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2876,6 +3297,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -2953,6 +3380,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -3024,6 +3457,12 @@ func (i ForwardSshTunnelConnectivityArgs) ToForwardSshTunnelConnectivityOutputWi return pulumi.ToOutputWithContext(ctx, i).(ForwardSshTunnelConnectivityOutput) } +func (i ForwardSshTunnelConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[ForwardSshTunnelConnectivity] { + return pulumix.Output[ForwardSshTunnelConnectivity]{ + OutputState: i.ToForwardSshTunnelConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i ForwardSshTunnelConnectivityArgs) ToForwardSshTunnelConnectivityPtrOutput() ForwardSshTunnelConnectivityPtrOutput { return i.ToForwardSshTunnelConnectivityPtrOutputWithContext(context.Background()) } @@ -3065,6 +3504,12 @@ func (i *forwardSshTunnelConnectivityPtrType) ToForwardSshTunnelConnectivityPtrO return pulumi.ToOutputWithContext(ctx, i).(ForwardSshTunnelConnectivityPtrOutput) } +func (i *forwardSshTunnelConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ForwardSshTunnelConnectivity] { + return pulumix.Output[*ForwardSshTunnelConnectivity]{ + OutputState: i.ToForwardSshTunnelConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // Forward SSH Tunnel connectivity. type ForwardSshTunnelConnectivityOutput struct{ *pulumi.OutputState } @@ -3090,6 +3535,12 @@ func (o ForwardSshTunnelConnectivityOutput) ToForwardSshTunnelConnectivityPtrOut }).(ForwardSshTunnelConnectivityPtrOutput) } +func (o ForwardSshTunnelConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardSshTunnelConnectivity] { + return pulumix.Output[ForwardSshTunnelConnectivity]{ + OutputState: o.OutputState, + } +} + // Hostname for the SSH tunnel. func (o ForwardSshTunnelConnectivityOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v ForwardSshTunnelConnectivity) string { return v.Hostname }).(pulumi.StringOutput) @@ -3129,6 +3580,12 @@ func (o ForwardSshTunnelConnectivityPtrOutput) ToForwardSshTunnelConnectivityPtr return o } +func (o ForwardSshTunnelConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardSshTunnelConnectivity] { + return pulumix.Output[*ForwardSshTunnelConnectivity]{ + OutputState: o.OutputState, + } +} + func (o ForwardSshTunnelConnectivityPtrOutput) Elem() ForwardSshTunnelConnectivityOutput { return o.ApplyT(func(v *ForwardSshTunnelConnectivity) ForwardSshTunnelConnectivity { if v != nil { @@ -3218,6 +3675,12 @@ func (o ForwardSshTunnelConnectivityResponseOutput) ToForwardSshTunnelConnectivi return o } +func (o ForwardSshTunnelConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardSshTunnelConnectivityResponse] { + return pulumix.Output[ForwardSshTunnelConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // Hostname for the SSH tunnel. func (o ForwardSshTunnelConnectivityResponseOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v ForwardSshTunnelConnectivityResponse) string { return v.Hostname }).(pulumi.StringOutput) @@ -3278,6 +3741,12 @@ func (i MachineConfigArgs) ToMachineConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MachineConfigOutput) } +func (i MachineConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MachineConfig] { + return pulumix.Output[MachineConfig]{ + OutputState: i.ToMachineConfigOutputWithContext(ctx).OutputState, + } +} + func (i MachineConfigArgs) ToMachineConfigPtrOutput() MachineConfigPtrOutput { return i.ToMachineConfigPtrOutputWithContext(context.Background()) } @@ -3319,6 +3788,12 @@ func (i *machineConfigPtrType) ToMachineConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(MachineConfigPtrOutput) } +func (i *machineConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MachineConfig] { + return pulumix.Output[*MachineConfig]{ + OutputState: i.ToMachineConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MachineConfig describes the configuration of a machine. type MachineConfigOutput struct{ *pulumi.OutputState } @@ -3344,6 +3819,12 @@ func (o MachineConfigOutput) ToMachineConfigPtrOutputWithContext(ctx context.Con }).(MachineConfigPtrOutput) } +func (o MachineConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MachineConfig] { + return pulumix.Output[MachineConfig]{ + OutputState: o.OutputState, + } +} + // The number of CPU's in the VM instance. func (o MachineConfigOutput) CpuCount() pulumi.IntPtrOutput { return o.ApplyT(func(v MachineConfig) *int { return v.CpuCount }).(pulumi.IntPtrOutput) @@ -3363,6 +3844,12 @@ func (o MachineConfigPtrOutput) ToMachineConfigPtrOutputWithContext(ctx context. return o } +func (o MachineConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineConfig] { + return pulumix.Output[*MachineConfig]{ + OutputState: o.OutputState, + } +} + func (o MachineConfigPtrOutput) Elem() MachineConfigOutput { return o.ApplyT(func(v *MachineConfig) MachineConfig { if v != nil { @@ -3404,6 +3891,12 @@ func (o MachineConfigResponseOutput) ToMachineConfigResponseOutputWithContext(ct return o } +func (o MachineConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MachineConfigResponse] { + return pulumix.Output[MachineConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of CPU's in the VM instance. func (o MachineConfigResponseOutput) CpuCount() pulumi.IntOutput { return o.ApplyT(func(v MachineConfigResponse) int { return v.CpuCount }).(pulumi.IntOutput) @@ -3464,6 +3957,12 @@ func (i MySqlConnectionProfileArgs) ToMySqlConnectionProfileOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(MySqlConnectionProfileOutput) } +func (i MySqlConnectionProfileArgs) ToOutput(ctx context.Context) pulumix.Output[MySqlConnectionProfile] { + return pulumix.Output[MySqlConnectionProfile]{ + OutputState: i.ToMySqlConnectionProfileOutputWithContext(ctx).OutputState, + } +} + func (i MySqlConnectionProfileArgs) ToMySqlConnectionProfilePtrOutput() MySqlConnectionProfilePtrOutput { return i.ToMySqlConnectionProfilePtrOutputWithContext(context.Background()) } @@ -3505,6 +4004,12 @@ func (i *mySqlConnectionProfilePtrType) ToMySqlConnectionProfilePtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(MySqlConnectionProfilePtrOutput) } +func (i *mySqlConnectionProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*MySqlConnectionProfile] { + return pulumix.Output[*MySqlConnectionProfile]{ + OutputState: i.ToMySqlConnectionProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies connection parameters required specifically for MySQL databases. type MySqlConnectionProfileOutput struct{ *pulumi.OutputState } @@ -3530,6 +4035,12 @@ func (o MySqlConnectionProfileOutput) ToMySqlConnectionProfilePtrOutputWithConte }).(MySqlConnectionProfilePtrOutput) } +func (o MySqlConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[MySqlConnectionProfile] { + return pulumix.Output[MySqlConnectionProfile]{ + OutputState: o.OutputState, + } +} + // If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. func (o MySqlConnectionProfileOutput) CloudSqlId() pulumi.StringPtrOutput { return o.ApplyT(func(v MySqlConnectionProfile) *string { return v.CloudSqlId }).(pulumi.StringPtrOutput) @@ -3574,6 +4085,12 @@ func (o MySqlConnectionProfilePtrOutput) ToMySqlConnectionProfilePtrOutputWithCo return o } +func (o MySqlConnectionProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MySqlConnectionProfile] { + return pulumix.Output[*MySqlConnectionProfile]{ + OutputState: o.OutputState, + } +} + func (o MySqlConnectionProfilePtrOutput) Elem() MySqlConnectionProfileOutput { return o.ApplyT(func(v *MySqlConnectionProfile) MySqlConnectionProfile { if v != nil { @@ -3677,6 +4194,12 @@ func (o MySqlConnectionProfileResponseOutput) ToMySqlConnectionProfileResponseOu return o } +func (o MySqlConnectionProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MySqlConnectionProfileResponse] { + return pulumix.Output[MySqlConnectionProfileResponse]{ + OutputState: o.OutputState, + } +} + // If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. func (o MySqlConnectionProfileResponseOutput) CloudSqlId() pulumi.StringOutput { return o.ApplyT(func(v MySqlConnectionProfileResponse) string { return v.CloudSqlId }).(pulumi.StringOutput) @@ -3775,6 +4298,12 @@ func (i OracleConnectionProfileArgs) ToOracleConnectionProfileOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(OracleConnectionProfileOutput) } +func (i OracleConnectionProfileArgs) ToOutput(ctx context.Context) pulumix.Output[OracleConnectionProfile] { + return pulumix.Output[OracleConnectionProfile]{ + OutputState: i.ToOracleConnectionProfileOutputWithContext(ctx).OutputState, + } +} + func (i OracleConnectionProfileArgs) ToOracleConnectionProfilePtrOutput() OracleConnectionProfilePtrOutput { return i.ToOracleConnectionProfilePtrOutputWithContext(context.Background()) } @@ -3816,6 +4345,12 @@ func (i *oracleConnectionProfilePtrType) ToOracleConnectionProfilePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(OracleConnectionProfilePtrOutput) } +func (i *oracleConnectionProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*OracleConnectionProfile] { + return pulumix.Output[*OracleConnectionProfile]{ + OutputState: i.ToOracleConnectionProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies connection parameters required specifically for Oracle databases. type OracleConnectionProfileOutput struct{ *pulumi.OutputState } @@ -3841,6 +4376,12 @@ func (o OracleConnectionProfileOutput) ToOracleConnectionProfilePtrOutputWithCon }).(OracleConnectionProfilePtrOutput) } +func (o OracleConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[OracleConnectionProfile] { + return pulumix.Output[OracleConnectionProfile]{ + OutputState: o.OutputState, + } +} + // Database service for the Oracle connection. func (o OracleConnectionProfileOutput) DatabaseService() pulumi.StringOutput { return o.ApplyT(func(v OracleConnectionProfile) string { return v.DatabaseService }).(pulumi.StringOutput) @@ -3895,6 +4436,12 @@ func (o OracleConnectionProfilePtrOutput) ToOracleConnectionProfilePtrOutputWith return o } +func (o OracleConnectionProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OracleConnectionProfile] { + return pulumix.Output[*OracleConnectionProfile]{ + OutputState: o.OutputState, + } +} + func (o OracleConnectionProfilePtrOutput) Elem() OracleConnectionProfileOutput { return o.ApplyT(func(v *OracleConnectionProfile) OracleConnectionProfile { if v != nil { @@ -4022,6 +4569,12 @@ func (o OracleConnectionProfileResponseOutput) ToOracleConnectionProfileResponse return o } +func (o OracleConnectionProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleConnectionProfileResponse] { + return pulumix.Output[OracleConnectionProfileResponse]{ + OutputState: o.OutputState, + } +} + // Database service for the Oracle connection. func (o OracleConnectionProfileResponseOutput) DatabaseService() pulumi.StringOutput { return o.ApplyT(func(v OracleConnectionProfileResponse) string { return v.DatabaseService }).(pulumi.StringOutput) @@ -4134,6 +4687,12 @@ func (i PostgreSqlConnectionProfileArgs) ToPostgreSqlConnectionProfileOutputWith return pulumi.ToOutputWithContext(ctx, i).(PostgreSqlConnectionProfileOutput) } +func (i PostgreSqlConnectionProfileArgs) ToOutput(ctx context.Context) pulumix.Output[PostgreSqlConnectionProfile] { + return pulumix.Output[PostgreSqlConnectionProfile]{ + OutputState: i.ToPostgreSqlConnectionProfileOutputWithContext(ctx).OutputState, + } +} + func (i PostgreSqlConnectionProfileArgs) ToPostgreSqlConnectionProfilePtrOutput() PostgreSqlConnectionProfilePtrOutput { return i.ToPostgreSqlConnectionProfilePtrOutputWithContext(context.Background()) } @@ -4175,6 +4734,12 @@ func (i *postgreSqlConnectionProfilePtrType) ToPostgreSqlConnectionProfilePtrOut return pulumi.ToOutputWithContext(ctx, i).(PostgreSqlConnectionProfilePtrOutput) } +func (i *postgreSqlConnectionProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*PostgreSqlConnectionProfile] { + return pulumix.Output[*PostgreSqlConnectionProfile]{ + OutputState: i.ToPostgreSqlConnectionProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies connection parameters required specifically for PostgreSQL databases. type PostgreSqlConnectionProfileOutput struct{ *pulumi.OutputState } @@ -4200,6 +4765,12 @@ func (o PostgreSqlConnectionProfileOutput) ToPostgreSqlConnectionProfilePtrOutpu }).(PostgreSqlConnectionProfilePtrOutput) } +func (o PostgreSqlConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[PostgreSqlConnectionProfile] { + return pulumix.Output[PostgreSqlConnectionProfile]{ + OutputState: o.OutputState, + } +} + // If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. func (o PostgreSqlConnectionProfileOutput) CloudSqlId() pulumi.StringPtrOutput { return o.ApplyT(func(v PostgreSqlConnectionProfile) *string { return v.CloudSqlId }).(pulumi.StringPtrOutput) @@ -4256,6 +4827,12 @@ func (o PostgreSqlConnectionProfilePtrOutput) ToPostgreSqlConnectionProfilePtrOu return o } +func (o PostgreSqlConnectionProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PostgreSqlConnectionProfile] { + return pulumix.Output[*PostgreSqlConnectionProfile]{ + OutputState: o.OutputState, + } +} + func (o PostgreSqlConnectionProfilePtrOutput) Elem() PostgreSqlConnectionProfileOutput { return o.ApplyT(func(v *PostgreSqlConnectionProfile) PostgreSqlConnectionProfile { if v != nil { @@ -4385,6 +4962,12 @@ func (o PostgreSqlConnectionProfileResponseOutput) ToPostgreSqlConnectionProfile return o } +func (o PostgreSqlConnectionProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostgreSqlConnectionProfileResponse] { + return pulumix.Output[PostgreSqlConnectionProfileResponse]{ + OutputState: o.OutputState, + } +} + // If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. func (o PostgreSqlConnectionProfileResponseOutput) CloudSqlId() pulumi.StringOutput { return o.ApplyT(func(v PostgreSqlConnectionProfileResponse) string { return v.CloudSqlId }).(pulumi.StringOutput) @@ -4486,6 +5069,12 @@ func (i PrimaryInstanceSettingsArgs) ToPrimaryInstanceSettingsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(PrimaryInstanceSettingsOutput) } +func (i PrimaryInstanceSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[PrimaryInstanceSettings] { + return pulumix.Output[PrimaryInstanceSettings]{ + OutputState: i.ToPrimaryInstanceSettingsOutputWithContext(ctx).OutputState, + } +} + func (i PrimaryInstanceSettingsArgs) ToPrimaryInstanceSettingsPtrOutput() PrimaryInstanceSettingsPtrOutput { return i.ToPrimaryInstanceSettingsPtrOutputWithContext(context.Background()) } @@ -4527,6 +5116,12 @@ func (i *primaryInstanceSettingsPtrType) ToPrimaryInstanceSettingsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(PrimaryInstanceSettingsPtrOutput) } +func (i *primaryInstanceSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrimaryInstanceSettings] { + return pulumix.Output[*PrimaryInstanceSettings]{ + OutputState: i.ToPrimaryInstanceSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for the cluster's primary instance type PrimaryInstanceSettingsOutput struct{ *pulumi.OutputState } @@ -4552,6 +5147,12 @@ func (o PrimaryInstanceSettingsOutput) ToPrimaryInstanceSettingsPtrOutputWithCon }).(PrimaryInstanceSettingsPtrOutput) } +func (o PrimaryInstanceSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[PrimaryInstanceSettings] { + return pulumix.Output[PrimaryInstanceSettings]{ + OutputState: o.OutputState, + } +} + // Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used. func (o PrimaryInstanceSettingsOutput) DatabaseFlags() pulumi.StringMapOutput { return o.ApplyT(func(v PrimaryInstanceSettings) map[string]string { return v.DatabaseFlags }).(pulumi.StringMapOutput) @@ -4586,6 +5187,12 @@ func (o PrimaryInstanceSettingsPtrOutput) ToPrimaryInstanceSettingsPtrOutputWith return o } +func (o PrimaryInstanceSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrimaryInstanceSettings] { + return pulumix.Output[*PrimaryInstanceSettings]{ + OutputState: o.OutputState, + } +} + func (o PrimaryInstanceSettingsPtrOutput) Elem() PrimaryInstanceSettingsOutput { return o.ApplyT(func(v *PrimaryInstanceSettings) PrimaryInstanceSettings { if v != nil { @@ -4663,6 +5270,12 @@ func (o PrimaryInstanceSettingsResponseOutput) ToPrimaryInstanceSettingsResponse return o } +func (o PrimaryInstanceSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrimaryInstanceSettingsResponse] { + return pulumix.Output[PrimaryInstanceSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used. func (o PrimaryInstanceSettingsResponseOutput) DatabaseFlags() pulumi.StringMapOutput { return o.ApplyT(func(v PrimaryInstanceSettingsResponse) map[string]string { return v.DatabaseFlags }).(pulumi.StringMapOutput) @@ -4718,6 +5331,12 @@ func (i PrivateConnectivityArgs) ToPrivateConnectivityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectivityOutput) } +func (i PrivateConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateConnectivity] { + return pulumix.Output[PrivateConnectivity]{ + OutputState: i.ToPrivateConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i PrivateConnectivityArgs) ToPrivateConnectivityPtrOutput() PrivateConnectivityPtrOutput { return i.ToPrivateConnectivityPtrOutputWithContext(context.Background()) } @@ -4759,6 +5378,12 @@ func (i *privateConnectivityPtrType) ToPrivateConnectivityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectivityPtrOutput) } +func (i *privateConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectivity] { + return pulumix.Output[*PrivateConnectivity]{ + OutputState: i.ToPrivateConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // Private Connectivity. type PrivateConnectivityOutput struct{ *pulumi.OutputState } @@ -4784,6 +5409,12 @@ func (o PrivateConnectivityOutput) ToPrivateConnectivityPtrOutputWithContext(ctx }).(PrivateConnectivityPtrOutput) } +func (o PrivateConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateConnectivity] { + return pulumix.Output[PrivateConnectivity]{ + OutputState: o.OutputState, + } +} + // The resource name (URI) of the private connection. func (o PrivateConnectivityOutput) PrivateConnection() pulumi.StringOutput { return o.ApplyT(func(v PrivateConnectivity) string { return v.PrivateConnection }).(pulumi.StringOutput) @@ -4803,6 +5434,12 @@ func (o PrivateConnectivityPtrOutput) ToPrivateConnectivityPtrOutputWithContext( return o } +func (o PrivateConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectivity] { + return pulumix.Output[*PrivateConnectivity]{ + OutputState: o.OutputState, + } +} + func (o PrivateConnectivityPtrOutput) Elem() PrivateConnectivityOutput { return o.ApplyT(func(v *PrivateConnectivity) PrivateConnectivity { if v != nil { @@ -4844,6 +5481,12 @@ func (o PrivateConnectivityResponseOutput) ToPrivateConnectivityResponseOutputWi return o } +func (o PrivateConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateConnectivityResponse] { + return pulumix.Output[PrivateConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // The resource name (URI) of the private connection. func (o PrivateConnectivityResponseOutput) PrivateConnection() pulumi.StringOutput { return o.ApplyT(func(v PrivateConnectivityResponse) string { return v.PrivateConnection }).(pulumi.StringOutput) @@ -4884,6 +5527,12 @@ func (i PrivateServiceConnectConnectivityArgs) ToPrivateServiceConnectConnectivi return pulumi.ToOutputWithContext(ctx, i).(PrivateServiceConnectConnectivityOutput) } +func (i PrivateServiceConnectConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateServiceConnectConnectivity] { + return pulumix.Output[PrivateServiceConnectConnectivity]{ + OutputState: i.ToPrivateServiceConnectConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i PrivateServiceConnectConnectivityArgs) ToPrivateServiceConnectConnectivityPtrOutput() PrivateServiceConnectConnectivityPtrOutput { return i.ToPrivateServiceConnectConnectivityPtrOutputWithContext(context.Background()) } @@ -4925,6 +5574,12 @@ func (i *privateServiceConnectConnectivityPtrType) ToPrivateServiceConnectConnec return pulumi.ToOutputWithContext(ctx, i).(PrivateServiceConnectConnectivityPtrOutput) } +func (i *privateServiceConnectConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateServiceConnectConnectivity] { + return pulumix.Output[*PrivateServiceConnectConnectivity]{ + OutputState: i.ToPrivateServiceConnectConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // Private Service Connect connectivity (https://cloud.google.com/vpc/docs/private-service-connect#service-attachments) type PrivateServiceConnectConnectivityOutput struct{ *pulumi.OutputState } @@ -4950,6 +5605,12 @@ func (o PrivateServiceConnectConnectivityOutput) ToPrivateServiceConnectConnecti }).(PrivateServiceConnectConnectivityPtrOutput) } +func (o PrivateServiceConnectConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateServiceConnectConnectivity] { + return pulumix.Output[PrivateServiceConnectConnectivity]{ + OutputState: o.OutputState, + } +} + // A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name} func (o PrivateServiceConnectConnectivityOutput) ServiceAttachment() pulumi.StringOutput { return o.ApplyT(func(v PrivateServiceConnectConnectivity) string { return v.ServiceAttachment }).(pulumi.StringOutput) @@ -4969,6 +5630,12 @@ func (o PrivateServiceConnectConnectivityPtrOutput) ToPrivateServiceConnectConne return o } +func (o PrivateServiceConnectConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateServiceConnectConnectivity] { + return pulumix.Output[*PrivateServiceConnectConnectivity]{ + OutputState: o.OutputState, + } +} + func (o PrivateServiceConnectConnectivityPtrOutput) Elem() PrivateServiceConnectConnectivityOutput { return o.ApplyT(func(v *PrivateServiceConnectConnectivity) PrivateServiceConnectConnectivity { if v != nil { @@ -5010,6 +5677,12 @@ func (o PrivateServiceConnectConnectivityResponseOutput) ToPrivateServiceConnect return o } +func (o PrivateServiceConnectConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateServiceConnectConnectivityResponse] { + return pulumix.Output[PrivateServiceConnectConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name} func (o PrivateServiceConnectConnectivityResponseOutput) ServiceAttachment() pulumi.StringOutput { return o.ApplyT(func(v PrivateServiceConnectConnectivityResponse) string { return v.ServiceAttachment }).(pulumi.StringOutput) @@ -5062,6 +5735,12 @@ func (i ReverseSshConnectivityArgs) ToReverseSshConnectivityOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ReverseSshConnectivityOutput) } +func (i ReverseSshConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[ReverseSshConnectivity] { + return pulumix.Output[ReverseSshConnectivity]{ + OutputState: i.ToReverseSshConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i ReverseSshConnectivityArgs) ToReverseSshConnectivityPtrOutput() ReverseSshConnectivityPtrOutput { return i.ToReverseSshConnectivityPtrOutputWithContext(context.Background()) } @@ -5103,6 +5782,12 @@ func (i *reverseSshConnectivityPtrType) ToReverseSshConnectivityPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ReverseSshConnectivityPtrOutput) } +func (i *reverseSshConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReverseSshConnectivity] { + return pulumix.Output[*ReverseSshConnectivity]{ + OutputState: i.ToReverseSshConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC. type ReverseSshConnectivityOutput struct{ *pulumi.OutputState } @@ -5128,6 +5813,12 @@ func (o ReverseSshConnectivityOutput) ToReverseSshConnectivityPtrOutputWithConte }).(ReverseSshConnectivityPtrOutput) } +func (o ReverseSshConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[ReverseSshConnectivity] { + return pulumix.Output[ReverseSshConnectivity]{ + OutputState: o.OutputState, + } +} + // The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. func (o ReverseSshConnectivityOutput) Vm() pulumi.StringPtrOutput { return o.ApplyT(func(v ReverseSshConnectivity) *string { return v.Vm }).(pulumi.StringPtrOutput) @@ -5162,6 +5853,12 @@ func (o ReverseSshConnectivityPtrOutput) ToReverseSshConnectivityPtrOutputWithCo return o } +func (o ReverseSshConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReverseSshConnectivity] { + return pulumix.Output[*ReverseSshConnectivity]{ + OutputState: o.OutputState, + } +} + func (o ReverseSshConnectivityPtrOutput) Elem() ReverseSshConnectivityOutput { return o.ApplyT(func(v *ReverseSshConnectivity) ReverseSshConnectivity { if v != nil { @@ -5239,6 +5936,12 @@ func (o ReverseSshConnectivityResponseOutput) ToReverseSshConnectivityResponseOu return o } +func (o ReverseSshConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReverseSshConnectivityResponse] { + return pulumix.Output[ReverseSshConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. func (o ReverseSshConnectivityResponseOutput) Vm() pulumi.StringOutput { return o.ApplyT(func(v ReverseSshConnectivityResponse) string { return v.Vm }).(pulumi.StringOutput) @@ -5306,6 +6009,12 @@ func (i SqlAclEntryArgs) ToSqlAclEntryOutputWithContext(ctx context.Context) Sql return pulumi.ToOutputWithContext(ctx, i).(SqlAclEntryOutput) } +func (i SqlAclEntryArgs) ToOutput(ctx context.Context) pulumix.Output[SqlAclEntry] { + return pulumix.Output[SqlAclEntry]{ + OutputState: i.ToSqlAclEntryOutputWithContext(ctx).OutputState, + } +} + // SqlAclEntryArrayInput is an input type that accepts SqlAclEntryArray and SqlAclEntryArrayOutput values. // You can construct a concrete instance of `SqlAclEntryArrayInput` via: // @@ -5331,6 +6040,12 @@ func (i SqlAclEntryArray) ToSqlAclEntryArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SqlAclEntryArrayOutput) } +func (i SqlAclEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]SqlAclEntry] { + return pulumix.Output[[]SqlAclEntry]{ + OutputState: i.ToSqlAclEntryArrayOutputWithContext(ctx).OutputState, + } +} + // An entry for an Access Control list. type SqlAclEntryOutput struct{ *pulumi.OutputState } @@ -5346,6 +6061,12 @@ func (o SqlAclEntryOutput) ToSqlAclEntryOutputWithContext(ctx context.Context) S return o } +func (o SqlAclEntryOutput) ToOutput(ctx context.Context) pulumix.Output[SqlAclEntry] { + return pulumix.Output[SqlAclEntry]{ + OutputState: o.OutputState, + } +} + // The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`. func (o SqlAclEntryOutput) ExpireTime() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlAclEntry) *string { return v.ExpireTime }).(pulumi.StringPtrOutput) @@ -5380,6 +6101,12 @@ func (o SqlAclEntryArrayOutput) ToSqlAclEntryArrayOutputWithContext(ctx context. return o } +func (o SqlAclEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SqlAclEntry] { + return pulumix.Output[[]SqlAclEntry]{ + OutputState: o.OutputState, + } +} + func (o SqlAclEntryArrayOutput) Index(i pulumi.IntInput) SqlAclEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlAclEntry { return vs[0].([]SqlAclEntry)[vs[1].(int)] @@ -5413,6 +6140,12 @@ func (o SqlAclEntryResponseOutput) ToSqlAclEntryResponseOutputWithContext(ctx co return o } +func (o SqlAclEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlAclEntryResponse] { + return pulumix.Output[SqlAclEntryResponse]{ + OutputState: o.OutputState, + } +} + // The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`. func (o SqlAclEntryResponseOutput) ExpireTime() pulumi.StringOutput { return o.ApplyT(func(v SqlAclEntryResponse) string { return v.ExpireTime }).(pulumi.StringOutput) @@ -5447,6 +6180,12 @@ func (o SqlAclEntryResponseArrayOutput) ToSqlAclEntryResponseArrayOutputWithCont return o } +func (o SqlAclEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SqlAclEntryResponse] { + return pulumix.Output[[]SqlAclEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o SqlAclEntryResponseArrayOutput) Index(i pulumi.IntInput) SqlAclEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlAclEntryResponse { return vs[0].([]SqlAclEntryResponse)[vs[1].(int)] @@ -5504,6 +6243,12 @@ func (i SqlIpConfigArgs) ToSqlIpConfigOutputWithContext(ctx context.Context) Sql return pulumi.ToOutputWithContext(ctx, i).(SqlIpConfigOutput) } +func (i SqlIpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SqlIpConfig] { + return pulumix.Output[SqlIpConfig]{ + OutputState: i.ToSqlIpConfigOutputWithContext(ctx).OutputState, + } +} + func (i SqlIpConfigArgs) ToSqlIpConfigPtrOutput() SqlIpConfigPtrOutput { return i.ToSqlIpConfigPtrOutputWithContext(context.Background()) } @@ -5545,6 +6290,12 @@ func (i *sqlIpConfigPtrType) ToSqlIpConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SqlIpConfigPtrOutput) } +func (i *sqlIpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlIpConfig] { + return pulumix.Output[*SqlIpConfig]{ + OutputState: i.ToSqlIpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // IP Management configuration. type SqlIpConfigOutput struct{ *pulumi.OutputState } @@ -5570,6 +6321,12 @@ func (o SqlIpConfigOutput) ToSqlIpConfigPtrOutputWithContext(ctx context.Context }).(SqlIpConfigPtrOutput) } +func (o SqlIpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SqlIpConfig] { + return pulumix.Output[SqlIpConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant. func (o SqlIpConfigOutput) AllocatedIpRange() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlIpConfig) *string { return v.AllocatedIpRange }).(pulumi.StringPtrOutput) @@ -5609,6 +6366,12 @@ func (o SqlIpConfigPtrOutput) ToSqlIpConfigPtrOutputWithContext(ctx context.Cont return o } +func (o SqlIpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlIpConfig] { + return pulumix.Output[*SqlIpConfig]{ + OutputState: o.OutputState, + } +} + func (o SqlIpConfigPtrOutput) Elem() SqlIpConfigOutput { return o.ApplyT(func(v *SqlIpConfig) SqlIpConfig { if v != nil { @@ -5698,6 +6461,12 @@ func (o SqlIpConfigResponseOutput) ToSqlIpConfigResponseOutputWithContext(ctx co return o } +func (o SqlIpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlIpConfigResponse] { + return pulumix.Output[SqlIpConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant. func (o SqlIpConfigResponseOutput) AllocatedIpRange() pulumi.StringOutput { return o.ApplyT(func(v SqlIpConfigResponse) string { return v.AllocatedIpRange }).(pulumi.StringOutput) @@ -5766,6 +6535,12 @@ func (i SslConfigArgs) ToSslConfigOutputWithContext(ctx context.Context) SslConf return pulumi.ToOutputWithContext(ctx, i).(SslConfigOutput) } +func (i SslConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SslConfig] { + return pulumix.Output[SslConfig]{ + OutputState: i.ToSslConfigOutputWithContext(ctx).OutputState, + } +} + func (i SslConfigArgs) ToSslConfigPtrOutput() SslConfigPtrOutput { return i.ToSslConfigPtrOutputWithContext(context.Background()) } @@ -5807,6 +6582,12 @@ func (i *sslConfigPtrType) ToSslConfigPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SslConfigPtrOutput) } +func (i *sslConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SslConfig] { + return pulumix.Output[*SslConfig]{ + OutputState: i.ToSslConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SSL configuration information. type SslConfigOutput struct{ *pulumi.OutputState } @@ -5832,6 +6613,12 @@ func (o SslConfigOutput) ToSslConfigPtrOutputWithContext(ctx context.Context) Ss }).(SslConfigPtrOutput) } +func (o SslConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SslConfig] { + return pulumix.Output[SslConfig]{ + OutputState: o.OutputState, + } +} + // Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. func (o SslConfigOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v SslConfig) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -5861,6 +6648,12 @@ func (o SslConfigPtrOutput) ToSslConfigPtrOutputWithContext(ctx context.Context) return o } +func (o SslConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslConfig] { + return pulumix.Output[*SslConfig]{ + OutputState: o.OutputState, + } +} + func (o SslConfigPtrOutput) Elem() SslConfigOutput { return o.ApplyT(func(v *SslConfig) SslConfig { if v != nil { @@ -5928,6 +6721,12 @@ func (o SslConfigResponseOutput) ToSslConfigResponseOutputWithContext(ctx contex return o } +func (o SslConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslConfigResponse] { + return pulumix.Output[SslConfigResponse]{ + OutputState: o.OutputState, + } +} + // Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. func (o SslConfigResponseOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v SslConfigResponse) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -5979,6 +6778,12 @@ func (i StaticIpConnectivityArgs) ToStaticIpConnectivityOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(StaticIpConnectivityOutput) } +func (i StaticIpConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[StaticIpConnectivity] { + return pulumix.Output[StaticIpConnectivity]{ + OutputState: i.ToStaticIpConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i StaticIpConnectivityArgs) ToStaticIpConnectivityPtrOutput() StaticIpConnectivityPtrOutput { return i.ToStaticIpConnectivityPtrOutputWithContext(context.Background()) } @@ -6020,6 +6825,12 @@ func (i *staticIpConnectivityPtrType) ToStaticIpConnectivityPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(StaticIpConnectivityPtrOutput) } +func (i *staticIpConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*StaticIpConnectivity] { + return pulumix.Output[*StaticIpConnectivity]{ + OutputState: i.ToStaticIpConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // The source database will allow incoming connections from the public IP of the destination database. You can retrieve the public IP of the Cloud SQL instance from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required. type StaticIpConnectivityOutput struct{ *pulumi.OutputState } @@ -6045,6 +6856,12 @@ func (o StaticIpConnectivityOutput) ToStaticIpConnectivityPtrOutputWithContext(c }).(StaticIpConnectivityPtrOutput) } +func (o StaticIpConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[StaticIpConnectivity] { + return pulumix.Output[StaticIpConnectivity]{ + OutputState: o.OutputState, + } +} + type StaticIpConnectivityPtrOutput struct{ *pulumi.OutputState } func (StaticIpConnectivityPtrOutput) ElementType() reflect.Type { @@ -6059,6 +6876,12 @@ func (o StaticIpConnectivityPtrOutput) ToStaticIpConnectivityPtrOutputWithContex return o } +func (o StaticIpConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StaticIpConnectivity] { + return pulumix.Output[*StaticIpConnectivity]{ + OutputState: o.OutputState, + } +} + func (o StaticIpConnectivityPtrOutput) Elem() StaticIpConnectivityOutput { return o.ApplyT(func(v *StaticIpConnectivity) StaticIpConnectivity { if v != nil { @@ -6088,6 +6911,12 @@ func (o StaticIpConnectivityResponseOutput) ToStaticIpConnectivityResponseOutput return o } +func (o StaticIpConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StaticIpConnectivityResponse] { + return pulumix.Output[StaticIpConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // Static IP address connectivity configured on service project. type StaticServiceIpConnectivity struct { } @@ -6119,6 +6948,12 @@ func (i StaticServiceIpConnectivityArgs) ToStaticServiceIpConnectivityOutputWith return pulumi.ToOutputWithContext(ctx, i).(StaticServiceIpConnectivityOutput) } +func (i StaticServiceIpConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[StaticServiceIpConnectivity] { + return pulumix.Output[StaticServiceIpConnectivity]{ + OutputState: i.ToStaticServiceIpConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i StaticServiceIpConnectivityArgs) ToStaticServiceIpConnectivityPtrOutput() StaticServiceIpConnectivityPtrOutput { return i.ToStaticServiceIpConnectivityPtrOutputWithContext(context.Background()) } @@ -6160,6 +6995,12 @@ func (i *staticServiceIpConnectivityPtrType) ToStaticServiceIpConnectivityPtrOut return pulumi.ToOutputWithContext(ctx, i).(StaticServiceIpConnectivityPtrOutput) } +func (i *staticServiceIpConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*StaticServiceIpConnectivity] { + return pulumix.Output[*StaticServiceIpConnectivity]{ + OutputState: i.ToStaticServiceIpConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // Static IP address connectivity configured on service project. type StaticServiceIpConnectivityOutput struct{ *pulumi.OutputState } @@ -6185,6 +7026,12 @@ func (o StaticServiceIpConnectivityOutput) ToStaticServiceIpConnectivityPtrOutpu }).(StaticServiceIpConnectivityPtrOutput) } +func (o StaticServiceIpConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[StaticServiceIpConnectivity] { + return pulumix.Output[StaticServiceIpConnectivity]{ + OutputState: o.OutputState, + } +} + type StaticServiceIpConnectivityPtrOutput struct{ *pulumi.OutputState } func (StaticServiceIpConnectivityPtrOutput) ElementType() reflect.Type { @@ -6199,6 +7046,12 @@ func (o StaticServiceIpConnectivityPtrOutput) ToStaticServiceIpConnectivityPtrOu return o } +func (o StaticServiceIpConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StaticServiceIpConnectivity] { + return pulumix.Output[*StaticServiceIpConnectivity]{ + OutputState: o.OutputState, + } +} + func (o StaticServiceIpConnectivityPtrOutput) Elem() StaticServiceIpConnectivityOutput { return o.ApplyT(func(v *StaticServiceIpConnectivity) StaticServiceIpConnectivity { if v != nil { @@ -6228,6 +7081,12 @@ func (o StaticServiceIpConnectivityResponseOutput) ToStaticServiceIpConnectivity return o } +func (o StaticServiceIpConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StaticServiceIpConnectivityResponse] { + return pulumix.Output[StaticServiceIpConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type StatusResponse struct { // The status code, which should be an enum value of google.rpc.Code. @@ -6253,6 +7112,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -6307,6 +7172,12 @@ func (i UserPasswordArgs) ToUserPasswordOutputWithContext(ctx context.Context) U return pulumi.ToOutputWithContext(ctx, i).(UserPasswordOutput) } +func (i UserPasswordArgs) ToOutput(ctx context.Context) pulumix.Output[UserPassword] { + return pulumix.Output[UserPassword]{ + OutputState: i.ToUserPasswordOutputWithContext(ctx).OutputState, + } +} + func (i UserPasswordArgs) ToUserPasswordPtrOutput() UserPasswordPtrOutput { return i.ToUserPasswordPtrOutputWithContext(context.Background()) } @@ -6348,6 +7219,12 @@ func (i *userPasswordPtrType) ToUserPasswordPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(UserPasswordPtrOutput) } +func (i *userPasswordPtrType) ToOutput(ctx context.Context) pulumix.Output[*UserPassword] { + return pulumix.Output[*UserPassword]{ + OutputState: i.ToUserPasswordPtrOutputWithContext(ctx).OutputState, + } +} + // The username/password for a database user. Used for specifying initial users at cluster creation time. type UserPasswordOutput struct{ *pulumi.OutputState } @@ -6373,6 +7250,12 @@ func (o UserPasswordOutput) ToUserPasswordPtrOutputWithContext(ctx context.Conte }).(UserPasswordPtrOutput) } +func (o UserPasswordOutput) ToOutput(ctx context.Context) pulumix.Output[UserPassword] { + return pulumix.Output[UserPassword]{ + OutputState: o.OutputState, + } +} + // The initial password for the user. func (o UserPasswordOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v UserPassword) *string { return v.Password }).(pulumi.StringPtrOutput) @@ -6397,6 +7280,12 @@ func (o UserPasswordPtrOutput) ToUserPasswordPtrOutputWithContext(ctx context.Co return o } +func (o UserPasswordPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserPassword] { + return pulumix.Output[*UserPassword]{ + OutputState: o.OutputState, + } +} + func (o UserPasswordPtrOutput) Elem() UserPasswordOutput { return o.ApplyT(func(v *UserPassword) UserPassword { if v != nil { @@ -6452,6 +7341,12 @@ func (o UserPasswordResponseOutput) ToUserPasswordResponseOutputWithContext(ctx return o } +func (o UserPasswordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UserPasswordResponse] { + return pulumix.Output[UserPasswordResponse]{ + OutputState: o.OutputState, + } +} + // The initial password for the user. func (o UserPasswordResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v UserPasswordResponse) string { return v.Password }).(pulumi.StringOutput) @@ -6506,6 +7401,12 @@ func (i VpcPeeringConfigArgs) ToVpcPeeringConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(VpcPeeringConfigOutput) } +func (i VpcPeeringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConfig] { + return pulumix.Output[VpcPeeringConfig]{ + OutputState: i.ToVpcPeeringConfigOutputWithContext(ctx).OutputState, + } +} + func (i VpcPeeringConfigArgs) ToVpcPeeringConfigPtrOutput() VpcPeeringConfigPtrOutput { return i.ToVpcPeeringConfigPtrOutputWithContext(context.Background()) } @@ -6547,6 +7448,12 @@ func (i *vpcPeeringConfigPtrType) ToVpcPeeringConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(VpcPeeringConfigPtrOutput) } +func (i *vpcPeeringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VpcPeeringConfig] { + return pulumix.Output[*VpcPeeringConfig]{ + OutputState: i.ToVpcPeeringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The VPC peering configuration is used to create VPC peering with the consumer's VPC. type VpcPeeringConfigOutput struct{ *pulumi.OutputState } @@ -6572,6 +7479,12 @@ func (o VpcPeeringConfigOutput) ToVpcPeeringConfigPtrOutputWithContext(ctx conte }).(VpcPeeringConfigPtrOutput) } +func (o VpcPeeringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConfig] { + return pulumix.Output[VpcPeeringConfig]{ + OutputState: o.OutputState, + } +} + // A free subnet for peering. (CIDR of /29) func (o VpcPeeringConfigOutput) Subnet() pulumi.StringOutput { return o.ApplyT(func(v VpcPeeringConfig) string { return v.Subnet }).(pulumi.StringOutput) @@ -6596,6 +7509,12 @@ func (o VpcPeeringConfigPtrOutput) ToVpcPeeringConfigPtrOutputWithContext(ctx co return o } +func (o VpcPeeringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcPeeringConfig] { + return pulumix.Output[*VpcPeeringConfig]{ + OutputState: o.OutputState, + } +} + func (o VpcPeeringConfigPtrOutput) Elem() VpcPeeringConfigOutput { return o.ApplyT(func(v *VpcPeeringConfig) VpcPeeringConfig { if v != nil { @@ -6649,6 +7568,12 @@ func (o VpcPeeringConfigResponseOutput) ToVpcPeeringConfigResponseOutputWithCont return o } +func (o VpcPeeringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConfigResponse] { + return pulumix.Output[VpcPeeringConfigResponse]{ + OutputState: o.OutputState, + } +} + // A free subnet for peering. (CIDR of /29) func (o VpcPeeringConfigResponseOutput) Subnet() pulumi.StringOutput { return o.ApplyT(func(v VpcPeeringConfigResponse) string { return v.Subnet }).(pulumi.StringOutput) @@ -6694,6 +7619,12 @@ func (i VpcPeeringConnectivityArgs) ToVpcPeeringConnectivityOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(VpcPeeringConnectivityOutput) } +func (i VpcPeeringConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConnectivity] { + return pulumix.Output[VpcPeeringConnectivity]{ + OutputState: i.ToVpcPeeringConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i VpcPeeringConnectivityArgs) ToVpcPeeringConnectivityPtrOutput() VpcPeeringConnectivityPtrOutput { return i.ToVpcPeeringConnectivityPtrOutputWithContext(context.Background()) } @@ -6735,6 +7666,12 @@ func (i *vpcPeeringConnectivityPtrType) ToVpcPeeringConnectivityPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(VpcPeeringConnectivityPtrOutput) } +func (i *vpcPeeringConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*VpcPeeringConnectivity] { + return pulumix.Output[*VpcPeeringConnectivity]{ + OutputState: i.ToVpcPeeringConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC. type VpcPeeringConnectivityOutput struct{ *pulumi.OutputState } @@ -6760,6 +7697,12 @@ func (o VpcPeeringConnectivityOutput) ToVpcPeeringConnectivityPtrOutputWithConte }).(VpcPeeringConnectivityPtrOutput) } +func (o VpcPeeringConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConnectivity] { + return pulumix.Output[VpcPeeringConnectivity]{ + OutputState: o.OutputState, + } +} + // The name of the VPC network to peer with the Cloud SQL private network. func (o VpcPeeringConnectivityOutput) Vpc() pulumi.StringPtrOutput { return o.ApplyT(func(v VpcPeeringConnectivity) *string { return v.Vpc }).(pulumi.StringPtrOutput) @@ -6779,6 +7722,12 @@ func (o VpcPeeringConnectivityPtrOutput) ToVpcPeeringConnectivityPtrOutputWithCo return o } +func (o VpcPeeringConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcPeeringConnectivity] { + return pulumix.Output[*VpcPeeringConnectivity]{ + OutputState: o.OutputState, + } +} + func (o VpcPeeringConnectivityPtrOutput) Elem() VpcPeeringConnectivityOutput { return o.ApplyT(func(v *VpcPeeringConnectivity) VpcPeeringConnectivity { if v != nil { @@ -6820,6 +7769,12 @@ func (o VpcPeeringConnectivityResponseOutput) ToVpcPeeringConnectivityResponseOu return o } +func (o VpcPeeringConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConnectivityResponse] { + return pulumix.Output[VpcPeeringConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // The name of the VPC network to peer with the Cloud SQL private network. func (o VpcPeeringConnectivityResponseOutput) Vpc() pulumi.StringOutput { return o.ApplyT(func(v VpcPeeringConnectivityResponse) string { return v.Vpc }).(pulumi.StringOutput) diff --git a/sdk/go/google/datamigration/v1beta1/connectionProfile.go b/sdk/go/google/datamigration/v1beta1/connectionProfile.go index 01006f4d27..8102cb8fd9 100644 --- a/sdk/go/google/datamigration/v1beta1/connectionProfile.go +++ b/sdk/go/google/datamigration/v1beta1/connectionProfile.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new connection profile in a given project and location. @@ -162,6 +163,12 @@ func (i *ConnectionProfile) ToConnectionProfileOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ConnectionProfileOutput) } +func (i *ConnectionProfile) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfile] { + return pulumix.Output[*ConnectionProfile]{ + OutputState: i.ToConnectionProfileOutputWithContext(ctx).OutputState, + } +} + type ConnectionProfileOutput struct{ *pulumi.OutputState } func (ConnectionProfileOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o ConnectionProfileOutput) ToConnectionProfileOutputWithContext(ctx contex return o } +func (o ConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfile] { + return pulumix.Output[*ConnectionProfile]{ + OutputState: o.OutputState, + } +} + // A CloudSQL database connection profile. func (o ConnectionProfileOutput) Cloudsql() CloudSqlConnectionProfileResponseOutput { return o.ApplyT(func(v *ConnectionProfile) CloudSqlConnectionProfileResponseOutput { return v.Cloudsql }).(CloudSqlConnectionProfileResponseOutput) diff --git a/sdk/go/google/datamigration/v1beta1/connectionProfileIamBinding.go b/sdk/go/google/datamigration/v1beta1/connectionProfileIamBinding.go index f1b361e27f..fe90791fa4 100644 --- a/sdk/go/google/datamigration/v1beta1/connectionProfileIamBinding.go +++ b/sdk/go/google/datamigration/v1beta1/connectionProfileIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionProfileIamBinding) ToConnectionProfileIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ConnectionProfileIamBindingOutput) } +func (i *ConnectionProfileIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamBinding] { + return pulumix.Output[*ConnectionProfileIamBinding]{ + OutputState: i.ToConnectionProfileIamBindingOutputWithContext(ctx).OutputState, + } +} + type ConnectionProfileIamBindingOutput struct{ *pulumi.OutputState } func (ConnectionProfileIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionProfileIamBindingOutput) ToConnectionProfileIamBindingOutputWi return o } +func (o ConnectionProfileIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamBinding] { + return pulumix.Output[*ConnectionProfileIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectionProfileIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectionProfileIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1beta1/connectionProfileIamMember.go b/sdk/go/google/datamigration/v1beta1/connectionProfileIamMember.go index 1e32752a5a..3ed0cc6782 100644 --- a/sdk/go/google/datamigration/v1beta1/connectionProfileIamMember.go +++ b/sdk/go/google/datamigration/v1beta1/connectionProfileIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionProfileIamMember) ToConnectionProfileIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ConnectionProfileIamMemberOutput) } +func (i *ConnectionProfileIamMember) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamMember] { + return pulumix.Output[*ConnectionProfileIamMember]{ + OutputState: i.ToConnectionProfileIamMemberOutputWithContext(ctx).OutputState, + } +} + type ConnectionProfileIamMemberOutput struct{ *pulumi.OutputState } func (ConnectionProfileIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionProfileIamMemberOutput) ToConnectionProfileIamMemberOutputWith return o } +func (o ConnectionProfileIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamMember] { + return pulumix.Output[*ConnectionProfileIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectionProfileIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectionProfileIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1beta1/connectionProfileIamPolicy.go b/sdk/go/google/datamigration/v1beta1/connectionProfileIamPolicy.go index dabe60243d..025c9c6444 100644 --- a/sdk/go/google/datamigration/v1beta1/connectionProfileIamPolicy.go +++ b/sdk/go/google/datamigration/v1beta1/connectionProfileIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectionProfileIamPolicy) ToConnectionProfileIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ConnectionProfileIamPolicyOutput) } +func (i *ConnectionProfileIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamPolicy] { + return pulumix.Output[*ConnectionProfileIamPolicy]{ + OutputState: i.ToConnectionProfileIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ConnectionProfileIamPolicyOutput struct{ *pulumi.OutputState } func (ConnectionProfileIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectionProfileIamPolicyOutput) ToConnectionProfileIamPolicyOutputWith return o } +func (o ConnectionProfileIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileIamPolicy] { + return pulumix.Output[*ConnectionProfileIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ConnectionProfileIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ConnectionProfileIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1beta1/getConnectionProfile.go b/sdk/go/google/datamigration/v1beta1/getConnectionProfile.go index 523e91e50a..10f4ca7e46 100644 --- a/sdk/go/google/datamigration/v1beta1/getConnectionProfile.go +++ b/sdk/go/google/datamigration/v1beta1/getConnectionProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single connection profile. @@ -88,6 +89,12 @@ func (o LookupConnectionProfileResultOutput) ToLookupConnectionProfileResultOutp return o } +func (o LookupConnectionProfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionProfileResult] { + return pulumix.Output[LookupConnectionProfileResult]{ + OutputState: o.OutputState, + } +} + // A CloudSQL database connection profile. func (o LookupConnectionProfileResultOutput) Cloudsql() CloudSqlConnectionProfileResponseOutput { return o.ApplyT(func(v LookupConnectionProfileResult) CloudSqlConnectionProfileResponse { return v.Cloudsql }).(CloudSqlConnectionProfileResponseOutput) diff --git a/sdk/go/google/datamigration/v1beta1/getConnectionProfileIamPolicy.go b/sdk/go/google/datamigration/v1beta1/getConnectionProfileIamPolicy.go index 4d34391da3..b18b46ddd3 100644 --- a/sdk/go/google/datamigration/v1beta1/getConnectionProfileIamPolicy.go +++ b/sdk/go/google/datamigration/v1beta1/getConnectionProfileIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupConnectionProfileIamPolicyResultOutput) ToLookupConnectionProfileI return o } +func (o LookupConnectionProfileIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionProfileIamPolicyResult] { + return pulumix.Output[LookupConnectionProfileIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupConnectionProfileIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupConnectionProfileIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1beta1/getMigrationJob.go b/sdk/go/google/datamigration/v1beta1/getMigrationJob.go index ae134a855b..1efae6de71 100644 --- a/sdk/go/google/datamigration/v1beta1/getMigrationJob.go +++ b/sdk/go/google/datamigration/v1beta1/getMigrationJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single migration job. @@ -106,6 +107,12 @@ func (o LookupMigrationJobResultOutput) ToLookupMigrationJobResultOutputWithCont return o } +func (o LookupMigrationJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMigrationJobResult] { + return pulumix.Output[LookupMigrationJobResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". func (o LookupMigrationJobResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMigrationJobResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datamigration/v1beta1/getMigrationJobIamPolicy.go b/sdk/go/google/datamigration/v1beta1/getMigrationJobIamPolicy.go index 7df282590f..266f272cbd 100644 --- a/sdk/go/google/datamigration/v1beta1/getMigrationJobIamPolicy.go +++ b/sdk/go/google/datamigration/v1beta1/getMigrationJobIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupMigrationJobIamPolicyResultOutput) ToLookupMigrationJobIamPolicyRe return o } +func (o LookupMigrationJobIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMigrationJobIamPolicyResult] { + return pulumix.Output[LookupMigrationJobIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMigrationJobIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMigrationJobIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1beta1/migrationJob.go b/sdk/go/google/datamigration/v1beta1/migrationJob.go index aea9778e0f..1574da9c4d 100644 --- a/sdk/go/google/datamigration/v1beta1/migrationJob.go +++ b/sdk/go/google/datamigration/v1beta1/migrationJob.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new migration job in a given project and location. @@ -213,6 +214,12 @@ func (i *MigrationJob) ToMigrationJobOutputWithContext(ctx context.Context) Migr return pulumi.ToOutputWithContext(ctx, i).(MigrationJobOutput) } +func (i *MigrationJob) ToOutput(ctx context.Context) pulumix.Output[*MigrationJob] { + return pulumix.Output[*MigrationJob]{ + OutputState: i.ToMigrationJobOutputWithContext(ctx).OutputState, + } +} + type MigrationJobOutput struct{ *pulumi.OutputState } func (MigrationJobOutput) ElementType() reflect.Type { @@ -227,6 +234,12 @@ func (o MigrationJobOutput) ToMigrationJobOutputWithContext(ctx context.Context) return o } +func (o MigrationJobOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJob] { + return pulumix.Output[*MigrationJob]{ + OutputState: o.OutputState, + } +} + // The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". func (o MigrationJobOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *MigrationJob) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datamigration/v1beta1/migrationJobIamBinding.go b/sdk/go/google/datamigration/v1beta1/migrationJobIamBinding.go index 64ce2329d8..96cb0ca0e4 100644 --- a/sdk/go/google/datamigration/v1beta1/migrationJobIamBinding.go +++ b/sdk/go/google/datamigration/v1beta1/migrationJobIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MigrationJobIamBinding) ToMigrationJobIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MigrationJobIamBindingOutput) } +func (i *MigrationJobIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamBinding] { + return pulumix.Output[*MigrationJobIamBinding]{ + OutputState: i.ToMigrationJobIamBindingOutputWithContext(ctx).OutputState, + } +} + type MigrationJobIamBindingOutput struct{ *pulumi.OutputState } func (MigrationJobIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MigrationJobIamBindingOutput) ToMigrationJobIamBindingOutputWithContext( return o } +func (o MigrationJobIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamBinding] { + return pulumix.Output[*MigrationJobIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MigrationJobIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MigrationJobIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1beta1/migrationJobIamMember.go b/sdk/go/google/datamigration/v1beta1/migrationJobIamMember.go index 82f47151d3..a938aa3f9e 100644 --- a/sdk/go/google/datamigration/v1beta1/migrationJobIamMember.go +++ b/sdk/go/google/datamigration/v1beta1/migrationJobIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MigrationJobIamMember) ToMigrationJobIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MigrationJobIamMemberOutput) } +func (i *MigrationJobIamMember) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamMember] { + return pulumix.Output[*MigrationJobIamMember]{ + OutputState: i.ToMigrationJobIamMemberOutputWithContext(ctx).OutputState, + } +} + type MigrationJobIamMemberOutput struct{ *pulumi.OutputState } func (MigrationJobIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MigrationJobIamMemberOutput) ToMigrationJobIamMemberOutputWithContext(ct return o } +func (o MigrationJobIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamMember] { + return pulumix.Output[*MigrationJobIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MigrationJobIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MigrationJobIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/datamigration/v1beta1/migrationJobIamPolicy.go b/sdk/go/google/datamigration/v1beta1/migrationJobIamPolicy.go index da55264922..98ee2bd4f7 100644 --- a/sdk/go/google/datamigration/v1beta1/migrationJobIamPolicy.go +++ b/sdk/go/google/datamigration/v1beta1/migrationJobIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MigrationJobIamPolicy) ToMigrationJobIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MigrationJobIamPolicyOutput) } +func (i *MigrationJobIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamPolicy] { + return pulumix.Output[*MigrationJobIamPolicy]{ + OutputState: i.ToMigrationJobIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MigrationJobIamPolicyOutput struct{ *pulumi.OutputState } func (MigrationJobIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MigrationJobIamPolicyOutput) ToMigrationJobIamPolicyOutputWithContext(ct return o } +func (o MigrationJobIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobIamPolicy] { + return pulumix.Output[*MigrationJobIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MigrationJobIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MigrationJobIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/datamigration/v1beta1/pulumiEnums.go b/sdk/go/google/datamigration/v1beta1/pulumiEnums.go index 677b15aaf2..c4549e4754 100644 --- a/sdk/go/google/datamigration/v1beta1/pulumiEnums.go +++ b/sdk/go/google/datamigration/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives. type CloudSqlSettingsActivationPolicy string @@ -253,6 +272,12 @@ func (o CloudSqlSettingsActivationPolicyOutput) ToCloudSqlSettingsActivationPoli }).(CloudSqlSettingsActivationPolicyPtrOutput) } +func (o CloudSqlSettingsActivationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettingsActivationPolicy] { + return pulumix.Output[CloudSqlSettingsActivationPolicy]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsActivationPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o CloudSqlSettingsActivationPolicyPtrOutput) ToCloudSqlSettingsActivationP return o } +func (o CloudSqlSettingsActivationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsActivationPolicy] { + return pulumix.Output[*CloudSqlSettingsActivationPolicy]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsActivationPolicyPtrOutput) Elem() CloudSqlSettingsActivationPolicyOutput { return o.ApplyT(func(v *CloudSqlSettingsActivationPolicy) CloudSqlSettingsActivationPolicy { if v != nil { @@ -350,6 +381,12 @@ func (in *cloudSqlSettingsActivationPolicyPtr) ToCloudSqlSettingsActivationPolic return pulumi.ToOutputWithContext(ctx, in).(CloudSqlSettingsActivationPolicyPtrOutput) } +func (in *cloudSqlSettingsActivationPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsActivationPolicy] { + return pulumix.Output[*CloudSqlSettingsActivationPolicy]{ + OutputState: in.ToCloudSqlSettingsActivationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The type of storage: `PD_SSD` (default) or `PD_HDD`. type CloudSqlSettingsDataDiskType string @@ -422,6 +459,12 @@ func (o CloudSqlSettingsDataDiskTypeOutput) ToCloudSqlSettingsDataDiskTypePtrOut }).(CloudSqlSettingsDataDiskTypePtrOutput) } +func (o CloudSqlSettingsDataDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettingsDataDiskType] { + return pulumix.Output[CloudSqlSettingsDataDiskType]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsDataDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o CloudSqlSettingsDataDiskTypePtrOutput) ToCloudSqlSettingsDataDiskTypePtr return o } +func (o CloudSqlSettingsDataDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsDataDiskType] { + return pulumix.Output[*CloudSqlSettingsDataDiskType]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsDataDiskTypePtrOutput) Elem() CloudSqlSettingsDataDiskTypeOutput { return o.ApplyT(func(v *CloudSqlSettingsDataDiskType) CloudSqlSettingsDataDiskType { if v != nil { @@ -519,6 +568,12 @@ func (in *cloudSqlSettingsDataDiskTypePtr) ToCloudSqlSettingsDataDiskTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(CloudSqlSettingsDataDiskTypePtrOutput) } +func (in *cloudSqlSettingsDataDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsDataDiskType] { + return pulumix.Output[*CloudSqlSettingsDataDiskType]{ + OutputState: in.ToCloudSqlSettingsDataDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The database engine type and version. type CloudSqlSettingsDatabaseVersion string @@ -593,6 +648,12 @@ func (o CloudSqlSettingsDatabaseVersionOutput) ToCloudSqlSettingsDatabaseVersion }).(CloudSqlSettingsDatabaseVersionPtrOutput) } +func (o CloudSqlSettingsDatabaseVersionOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettingsDatabaseVersion] { + return pulumix.Output[CloudSqlSettingsDatabaseVersion]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsDatabaseVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -628,6 +689,12 @@ func (o CloudSqlSettingsDatabaseVersionPtrOutput) ToCloudSqlSettingsDatabaseVers return o } +func (o CloudSqlSettingsDatabaseVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsDatabaseVersion] { + return pulumix.Output[*CloudSqlSettingsDatabaseVersion]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsDatabaseVersionPtrOutput) Elem() CloudSqlSettingsDatabaseVersionOutput { return o.ApplyT(func(v *CloudSqlSettingsDatabaseVersion) CloudSqlSettingsDatabaseVersion { if v != nil { @@ -690,6 +757,12 @@ func (in *cloudSqlSettingsDatabaseVersionPtr) ToCloudSqlSettingsDatabaseVersionP return pulumi.ToOutputWithContext(ctx, in).(CloudSqlSettingsDatabaseVersionPtrOutput) } +func (in *cloudSqlSettingsDatabaseVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettingsDatabaseVersion] { + return pulumix.Output[*CloudSqlSettingsDatabaseVersion]{ + OutputState: in.ToCloudSqlSettingsDatabaseVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The database provider. type ConnectionProfileProvider string @@ -762,6 +835,12 @@ func (o ConnectionProfileProviderOutput) ToConnectionProfileProviderPtrOutputWit }).(ConnectionProfileProviderPtrOutput) } +func (o ConnectionProfileProviderOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionProfileProvider] { + return pulumix.Output[ConnectionProfileProvider]{ + OutputState: o.OutputState, + } +} + func (o ConnectionProfileProviderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -797,6 +876,12 @@ func (o ConnectionProfileProviderPtrOutput) ToConnectionProfileProviderPtrOutput return o } +func (o ConnectionProfileProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileProvider] { + return pulumix.Output[*ConnectionProfileProvider]{ + OutputState: o.OutputState, + } +} + func (o ConnectionProfileProviderPtrOutput) Elem() ConnectionProfileProviderOutput { return o.ApplyT(func(v *ConnectionProfileProvider) ConnectionProfileProvider { if v != nil { @@ -859,6 +944,12 @@ func (in *connectionProfileProviderPtr) ToConnectionProfileProviderPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ConnectionProfileProviderPtrOutput) } +func (in *connectionProfileProviderPtr) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileProvider] { + return pulumix.Output[*ConnectionProfileProvider]{ + OutputState: in.ToConnectionProfileProviderPtrOutputWithContext(ctx).OutputState, + } +} + // The current connection profile state (e.g. DRAFT, READY, or FAILED). type ConnectionProfileStateEnum string @@ -941,6 +1032,12 @@ func (o ConnectionProfileStateEnumOutput) ToConnectionProfileStateEnumPtrOutputW }).(ConnectionProfileStateEnumPtrOutput) } +func (o ConnectionProfileStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[ConnectionProfileStateEnum] { + return pulumix.Output[ConnectionProfileStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ConnectionProfileStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -976,6 +1073,12 @@ func (o ConnectionProfileStateEnumPtrOutput) ToConnectionProfileStateEnumPtrOutp return o } +func (o ConnectionProfileStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileStateEnum] { + return pulumix.Output[*ConnectionProfileStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ConnectionProfileStateEnumPtrOutput) Elem() ConnectionProfileStateEnumOutput { return o.ApplyT(func(v *ConnectionProfileStateEnum) ConnectionProfileStateEnum { if v != nil { @@ -1038,6 +1141,12 @@ func (in *connectionProfileStateEnumPtr) ToConnectionProfileStateEnumPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(ConnectionProfileStateEnumPtrOutput) } +func (in *connectionProfileStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfileStateEnum] { + return pulumix.Output[*ConnectionProfileStateEnum]{ + OutputState: in.ToConnectionProfileStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // The database engine. type DatabaseTypeEngine string @@ -1108,6 +1217,12 @@ func (o DatabaseTypeEngineOutput) ToDatabaseTypeEnginePtrOutputWithContext(ctx c }).(DatabaseTypeEnginePtrOutput) } +func (o DatabaseTypeEngineOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseTypeEngine] { + return pulumix.Output[DatabaseTypeEngine]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypeEngineOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1143,6 +1258,12 @@ func (o DatabaseTypeEnginePtrOutput) ToDatabaseTypeEnginePtrOutputWithContext(ct return o } +func (o DatabaseTypeEnginePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseTypeEngine] { + return pulumix.Output[*DatabaseTypeEngine]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypeEnginePtrOutput) Elem() DatabaseTypeEngineOutput { return o.ApplyT(func(v *DatabaseTypeEngine) DatabaseTypeEngine { if v != nil { @@ -1205,6 +1326,12 @@ func (in *databaseTypeEnginePtr) ToDatabaseTypeEnginePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(DatabaseTypeEnginePtrOutput) } +func (in *databaseTypeEnginePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseTypeEngine] { + return pulumix.Output[*DatabaseTypeEngine]{ + OutputState: in.ToDatabaseTypeEnginePtrOutputWithContext(ctx).OutputState, + } +} + // The database provider. type DatabaseTypeProvider string @@ -1277,6 +1404,12 @@ func (o DatabaseTypeProviderOutput) ToDatabaseTypeProviderPtrOutputWithContext(c }).(DatabaseTypeProviderPtrOutput) } +func (o DatabaseTypeProviderOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseTypeProvider] { + return pulumix.Output[DatabaseTypeProvider]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypeProviderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1312,6 +1445,12 @@ func (o DatabaseTypeProviderPtrOutput) ToDatabaseTypeProviderPtrOutputWithContex return o } +func (o DatabaseTypeProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseTypeProvider] { + return pulumix.Output[*DatabaseTypeProvider]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypeProviderPtrOutput) Elem() DatabaseTypeProviderOutput { return o.ApplyT(func(v *DatabaseTypeProvider) DatabaseTypeProvider { if v != nil { @@ -1374,6 +1513,12 @@ func (in *databaseTypeProviderPtr) ToDatabaseTypeProviderPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(DatabaseTypeProviderPtrOutput) } +func (in *databaseTypeProviderPtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseTypeProvider] { + return pulumix.Output[*DatabaseTypeProvider]{ + OutputState: in.ToDatabaseTypeProviderPtrOutputWithContext(ctx).OutputState, + } +} + // The current migration job state. type MigrationJobStateEnum string @@ -1472,6 +1617,12 @@ func (o MigrationJobStateEnumOutput) ToMigrationJobStateEnumPtrOutputWithContext }).(MigrationJobStateEnumPtrOutput) } +func (o MigrationJobStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[MigrationJobStateEnum] { + return pulumix.Output[MigrationJobStateEnum]{ + OutputState: o.OutputState, + } +} + func (o MigrationJobStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1507,6 +1658,12 @@ func (o MigrationJobStateEnumPtrOutput) ToMigrationJobStateEnumPtrOutputWithCont return o } +func (o MigrationJobStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobStateEnum] { + return pulumix.Output[*MigrationJobStateEnum]{ + OutputState: o.OutputState, + } +} + func (o MigrationJobStateEnumPtrOutput) Elem() MigrationJobStateEnumOutput { return o.ApplyT(func(v *MigrationJobStateEnum) MigrationJobStateEnum { if v != nil { @@ -1569,6 +1726,12 @@ func (in *migrationJobStateEnumPtr) ToMigrationJobStateEnumPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(MigrationJobStateEnumPtrOutput) } +func (in *migrationJobStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobStateEnum] { + return pulumix.Output[*MigrationJobStateEnum]{ + OutputState: in.ToMigrationJobStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The migration job type. type MigrationJobType string @@ -1641,6 +1804,12 @@ func (o MigrationJobTypeOutput) ToMigrationJobTypePtrOutputWithContext(ctx conte }).(MigrationJobTypePtrOutput) } +func (o MigrationJobTypeOutput) ToOutput(ctx context.Context) pulumix.Output[MigrationJobType] { + return pulumix.Output[MigrationJobType]{ + OutputState: o.OutputState, + } +} + func (o MigrationJobTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1676,6 +1845,12 @@ func (o MigrationJobTypePtrOutput) ToMigrationJobTypePtrOutputWithContext(ctx co return o } +func (o MigrationJobTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobType] { + return pulumix.Output[*MigrationJobType]{ + OutputState: o.OutputState, + } +} + func (o MigrationJobTypePtrOutput) Elem() MigrationJobTypeOutput { return o.ApplyT(func(v *MigrationJobType) MigrationJobType { if v != nil { @@ -1738,6 +1913,12 @@ func (in *migrationJobTypePtr) ToMigrationJobTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(MigrationJobTypePtrOutput) } +func (in *migrationJobTypePtr) ToOutput(ctx context.Context) pulumix.Output[*MigrationJobType] { + return pulumix.Output[*MigrationJobType]{ + OutputState: in.ToMigrationJobTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/datamigration/v1beta1/pulumiTypes.go b/sdk/go/google/datamigration/v1beta1/pulumiTypes.go index 6172ea7399..06dd774b06 100644 --- a/sdk/go/google/datamigration/v1beta1/pulumiTypes.go +++ b/sdk/go/google/datamigration/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -550,6 +659,12 @@ func (i CloudSqlConnectionProfileArgs) ToCloudSqlConnectionProfileOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(CloudSqlConnectionProfileOutput) } +func (i CloudSqlConnectionProfileArgs) ToOutput(ctx context.Context) pulumix.Output[CloudSqlConnectionProfile] { + return pulumix.Output[CloudSqlConnectionProfile]{ + OutputState: i.ToCloudSqlConnectionProfileOutputWithContext(ctx).OutputState, + } +} + func (i CloudSqlConnectionProfileArgs) ToCloudSqlConnectionProfilePtrOutput() CloudSqlConnectionProfilePtrOutput { return i.ToCloudSqlConnectionProfilePtrOutputWithContext(context.Background()) } @@ -591,6 +706,12 @@ func (i *cloudSqlConnectionProfilePtrType) ToCloudSqlConnectionProfilePtrOutputW return pulumi.ToOutputWithContext(ctx, i).(CloudSqlConnectionProfilePtrOutput) } +func (i *cloudSqlConnectionProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlConnectionProfile] { + return pulumix.Output[*CloudSqlConnectionProfile]{ + OutputState: i.ToCloudSqlConnectionProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance. type CloudSqlConnectionProfileOutput struct{ *pulumi.OutputState } @@ -616,6 +737,12 @@ func (o CloudSqlConnectionProfileOutput) ToCloudSqlConnectionProfilePtrOutputWit }).(CloudSqlConnectionProfilePtrOutput) } +func (o CloudSqlConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlConnectionProfile] { + return pulumix.Output[CloudSqlConnectionProfile]{ + OutputState: o.OutputState, + } +} + // Immutable. Metadata used to create the destination Cloud SQL database. func (o CloudSqlConnectionProfileOutput) Settings() CloudSqlSettingsPtrOutput { return o.ApplyT(func(v CloudSqlConnectionProfile) *CloudSqlSettings { return v.Settings }).(CloudSqlSettingsPtrOutput) @@ -635,6 +762,12 @@ func (o CloudSqlConnectionProfilePtrOutput) ToCloudSqlConnectionProfilePtrOutput return o } +func (o CloudSqlConnectionProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlConnectionProfile] { + return pulumix.Output[*CloudSqlConnectionProfile]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlConnectionProfilePtrOutput) Elem() CloudSqlConnectionProfileOutput { return o.ApplyT(func(v *CloudSqlConnectionProfile) CloudSqlConnectionProfile { if v != nil { @@ -682,6 +815,12 @@ func (o CloudSqlConnectionProfileResponseOutput) ToCloudSqlConnectionProfileResp return o } +func (o CloudSqlConnectionProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlConnectionProfileResponse] { + return pulumix.Output[CloudSqlConnectionProfileResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud SQL instance ID that this connection profile is associated with. func (o CloudSqlConnectionProfileResponseOutput) CloudSqlId() pulumi.StringOutput { return o.ApplyT(func(v CloudSqlConnectionProfileResponse) string { return v.CloudSqlId }).(pulumi.StringOutput) @@ -785,6 +924,12 @@ func (i CloudSqlSettingsArgs) ToCloudSqlSettingsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(CloudSqlSettingsOutput) } +func (i CloudSqlSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettings] { + return pulumix.Output[CloudSqlSettings]{ + OutputState: i.ToCloudSqlSettingsOutputWithContext(ctx).OutputState, + } +} + func (i CloudSqlSettingsArgs) ToCloudSqlSettingsPtrOutput() CloudSqlSettingsPtrOutput { return i.ToCloudSqlSettingsPtrOutputWithContext(context.Background()) } @@ -826,6 +971,12 @@ func (i *cloudSqlSettingsPtrType) ToCloudSqlSettingsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(CloudSqlSettingsPtrOutput) } +func (i *cloudSqlSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettings] { + return pulumix.Output[*CloudSqlSettings]{ + OutputState: i.ToCloudSqlSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for creating a Cloud SQL database instance. type CloudSqlSettingsOutput struct{ *pulumi.OutputState } @@ -851,6 +1002,12 @@ func (o CloudSqlSettingsOutput) ToCloudSqlSettingsPtrOutputWithContext(ctx conte }).(CloudSqlSettingsPtrOutput) } +func (o CloudSqlSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettings] { + return pulumix.Output[CloudSqlSettings]{ + OutputState: o.OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives. func (o CloudSqlSettingsOutput) ActivationPolicy() CloudSqlSettingsActivationPolicyPtrOutput { return o.ApplyT(func(v CloudSqlSettings) *CloudSqlSettingsActivationPolicy { return v.ActivationPolicy }).(CloudSqlSettingsActivationPolicyPtrOutput) @@ -930,6 +1087,12 @@ func (o CloudSqlSettingsPtrOutput) ToCloudSqlSettingsPtrOutputWithContext(ctx co return o } +func (o CloudSqlSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudSqlSettings] { + return pulumix.Output[*CloudSqlSettings]{ + OutputState: o.OutputState, + } +} + func (o CloudSqlSettingsPtrOutput) Elem() CloudSqlSettingsOutput { return o.ApplyT(func(v *CloudSqlSettings) CloudSqlSettings { if v != nil { @@ -1117,6 +1280,12 @@ func (o CloudSqlSettingsResponseOutput) ToCloudSqlSettingsResponseOutputWithCont return o } +func (o CloudSqlSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSqlSettingsResponse] { + return pulumix.Output[CloudSqlSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives. func (o CloudSqlSettingsResponseOutput) ActivationPolicy() pulumi.StringOutput { return o.ApplyT(func(v CloudSqlSettingsResponse) string { return v.ActivationPolicy }).(pulumi.StringOutput) @@ -1226,6 +1395,12 @@ func (i DatabaseTypeArgs) ToDatabaseTypeOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DatabaseTypeOutput) } +func (i DatabaseTypeArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseType] { + return pulumix.Output[DatabaseType]{ + OutputState: i.ToDatabaseTypeOutputWithContext(ctx).OutputState, + } +} + func (i DatabaseTypeArgs) ToDatabaseTypePtrOutput() DatabaseTypePtrOutput { return i.ToDatabaseTypePtrOutputWithContext(context.Background()) } @@ -1267,6 +1442,12 @@ func (i *databaseTypePtrType) ToDatabaseTypePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DatabaseTypePtrOutput) } +func (i *databaseTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*DatabaseType] { + return pulumix.Output[*DatabaseType]{ + OutputState: i.ToDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // A message defining the database engine and provider. type DatabaseTypeOutput struct{ *pulumi.OutputState } @@ -1292,6 +1473,12 @@ func (o DatabaseTypeOutput) ToDatabaseTypePtrOutputWithContext(ctx context.Conte }).(DatabaseTypePtrOutput) } +func (o DatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseType] { + return pulumix.Output[DatabaseType]{ + OutputState: o.OutputState, + } +} + // The database engine. func (o DatabaseTypeOutput) Engine() DatabaseTypeEnginePtrOutput { return o.ApplyT(func(v DatabaseType) *DatabaseTypeEngine { return v.Engine }).(DatabaseTypeEnginePtrOutput) @@ -1316,6 +1503,12 @@ func (o DatabaseTypePtrOutput) ToDatabaseTypePtrOutputWithContext(ctx context.Co return o } +func (o DatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseType] { + return pulumix.Output[*DatabaseType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypePtrOutput) Elem() DatabaseTypeOutput { return o.ApplyT(func(v *DatabaseType) DatabaseType { if v != nil { @@ -1369,6 +1562,12 @@ func (o DatabaseTypeResponseOutput) ToDatabaseTypeResponseOutputWithContext(ctx return o } +func (o DatabaseTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseTypeResponse] { + return pulumix.Output[DatabaseTypeResponse]{ + OutputState: o.OutputState, + } +} + // The database engine. func (o DatabaseTypeResponseOutput) Engine() pulumi.StringOutput { return o.ApplyT(func(v DatabaseTypeResponse) string { return v.Engine }).(pulumi.StringOutput) @@ -1426,6 +1625,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1467,6 +1672,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1492,6 +1703,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1526,6 +1743,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1603,6 +1826,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1678,6 +1907,12 @@ func (i MySqlConnectionProfileArgs) ToMySqlConnectionProfileOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(MySqlConnectionProfileOutput) } +func (i MySqlConnectionProfileArgs) ToOutput(ctx context.Context) pulumix.Output[MySqlConnectionProfile] { + return pulumix.Output[MySqlConnectionProfile]{ + OutputState: i.ToMySqlConnectionProfileOutputWithContext(ctx).OutputState, + } +} + func (i MySqlConnectionProfileArgs) ToMySqlConnectionProfilePtrOutput() MySqlConnectionProfilePtrOutput { return i.ToMySqlConnectionProfilePtrOutputWithContext(context.Background()) } @@ -1719,6 +1954,12 @@ func (i *mySqlConnectionProfilePtrType) ToMySqlConnectionProfilePtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(MySqlConnectionProfilePtrOutput) } +func (i *mySqlConnectionProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*MySqlConnectionProfile] { + return pulumix.Output[*MySqlConnectionProfile]{ + OutputState: i.ToMySqlConnectionProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies connection parameters required specifically for MySQL databases. type MySqlConnectionProfileOutput struct{ *pulumi.OutputState } @@ -1744,6 +1985,12 @@ func (o MySqlConnectionProfileOutput) ToMySqlConnectionProfilePtrOutputWithConte }).(MySqlConnectionProfilePtrOutput) } +func (o MySqlConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[MySqlConnectionProfile] { + return pulumix.Output[MySqlConnectionProfile]{ + OutputState: o.OutputState, + } +} + // If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. func (o MySqlConnectionProfileOutput) CloudSqlId() pulumi.StringPtrOutput { return o.ApplyT(func(v MySqlConnectionProfile) *string { return v.CloudSqlId }).(pulumi.StringPtrOutput) @@ -1788,6 +2035,12 @@ func (o MySqlConnectionProfilePtrOutput) ToMySqlConnectionProfilePtrOutputWithCo return o } +func (o MySqlConnectionProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MySqlConnectionProfile] { + return pulumix.Output[*MySqlConnectionProfile]{ + OutputState: o.OutputState, + } +} + func (o MySqlConnectionProfilePtrOutput) Elem() MySqlConnectionProfileOutput { return o.ApplyT(func(v *MySqlConnectionProfile) MySqlConnectionProfile { if v != nil { @@ -1891,6 +2144,12 @@ func (o MySqlConnectionProfileResponseOutput) ToMySqlConnectionProfileResponseOu return o } +func (o MySqlConnectionProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MySqlConnectionProfileResponse] { + return pulumix.Output[MySqlConnectionProfileResponse]{ + OutputState: o.OutputState, + } +} + // If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. func (o MySqlConnectionProfileResponseOutput) CloudSqlId() pulumi.StringOutput { return o.ApplyT(func(v MySqlConnectionProfileResponse) string { return v.CloudSqlId }).(pulumi.StringOutput) @@ -1973,6 +2232,12 @@ func (i ReverseSshConnectivityArgs) ToReverseSshConnectivityOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ReverseSshConnectivityOutput) } +func (i ReverseSshConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[ReverseSshConnectivity] { + return pulumix.Output[ReverseSshConnectivity]{ + OutputState: i.ToReverseSshConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i ReverseSshConnectivityArgs) ToReverseSshConnectivityPtrOutput() ReverseSshConnectivityPtrOutput { return i.ToReverseSshConnectivityPtrOutputWithContext(context.Background()) } @@ -2014,6 +2279,12 @@ func (i *reverseSshConnectivityPtrType) ToReverseSshConnectivityPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ReverseSshConnectivityPtrOutput) } +func (i *reverseSshConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReverseSshConnectivity] { + return pulumix.Output[*ReverseSshConnectivity]{ + OutputState: i.ToReverseSshConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1beta1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC. type ReverseSshConnectivityOutput struct{ *pulumi.OutputState } @@ -2039,6 +2310,12 @@ func (o ReverseSshConnectivityOutput) ToReverseSshConnectivityPtrOutputWithConte }).(ReverseSshConnectivityPtrOutput) } +func (o ReverseSshConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[ReverseSshConnectivity] { + return pulumix.Output[ReverseSshConnectivity]{ + OutputState: o.OutputState, + } +} + // The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. func (o ReverseSshConnectivityOutput) Vm() pulumi.StringPtrOutput { return o.ApplyT(func(v ReverseSshConnectivity) *string { return v.Vm }).(pulumi.StringPtrOutput) @@ -2073,6 +2350,12 @@ func (o ReverseSshConnectivityPtrOutput) ToReverseSshConnectivityPtrOutputWithCo return o } +func (o ReverseSshConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReverseSshConnectivity] { + return pulumix.Output[*ReverseSshConnectivity]{ + OutputState: o.OutputState, + } +} + func (o ReverseSshConnectivityPtrOutput) Elem() ReverseSshConnectivityOutput { return o.ApplyT(func(v *ReverseSshConnectivity) ReverseSshConnectivity { if v != nil { @@ -2150,6 +2433,12 @@ func (o ReverseSshConnectivityResponseOutput) ToReverseSshConnectivityResponseOu return o } +func (o ReverseSshConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReverseSshConnectivityResponse] { + return pulumix.Output[ReverseSshConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. func (o ReverseSshConnectivityResponseOutput) Vm() pulumi.StringOutput { return o.ApplyT(func(v ReverseSshConnectivityResponse) string { return v.Vm }).(pulumi.StringOutput) @@ -2217,6 +2506,12 @@ func (i SqlAclEntryArgs) ToSqlAclEntryOutputWithContext(ctx context.Context) Sql return pulumi.ToOutputWithContext(ctx, i).(SqlAclEntryOutput) } +func (i SqlAclEntryArgs) ToOutput(ctx context.Context) pulumix.Output[SqlAclEntry] { + return pulumix.Output[SqlAclEntry]{ + OutputState: i.ToSqlAclEntryOutputWithContext(ctx).OutputState, + } +} + // SqlAclEntryArrayInput is an input type that accepts SqlAclEntryArray and SqlAclEntryArrayOutput values. // You can construct a concrete instance of `SqlAclEntryArrayInput` via: // @@ -2242,6 +2537,12 @@ func (i SqlAclEntryArray) ToSqlAclEntryArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SqlAclEntryArrayOutput) } +func (i SqlAclEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]SqlAclEntry] { + return pulumix.Output[[]SqlAclEntry]{ + OutputState: i.ToSqlAclEntryArrayOutputWithContext(ctx).OutputState, + } +} + // An entry for an Access Control list. type SqlAclEntryOutput struct{ *pulumi.OutputState } @@ -2257,6 +2558,12 @@ func (o SqlAclEntryOutput) ToSqlAclEntryOutputWithContext(ctx context.Context) S return o } +func (o SqlAclEntryOutput) ToOutput(ctx context.Context) pulumix.Output[SqlAclEntry] { + return pulumix.Output[SqlAclEntry]{ + OutputState: o.OutputState, + } +} + // The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`. func (o SqlAclEntryOutput) ExpireTime() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlAclEntry) *string { return v.ExpireTime }).(pulumi.StringPtrOutput) @@ -2291,6 +2598,12 @@ func (o SqlAclEntryArrayOutput) ToSqlAclEntryArrayOutputWithContext(ctx context. return o } +func (o SqlAclEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SqlAclEntry] { + return pulumix.Output[[]SqlAclEntry]{ + OutputState: o.OutputState, + } +} + func (o SqlAclEntryArrayOutput) Index(i pulumi.IntInput) SqlAclEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlAclEntry { return vs[0].([]SqlAclEntry)[vs[1].(int)] @@ -2324,6 +2637,12 @@ func (o SqlAclEntryResponseOutput) ToSqlAclEntryResponseOutputWithContext(ctx co return o } +func (o SqlAclEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlAclEntryResponse] { + return pulumix.Output[SqlAclEntryResponse]{ + OutputState: o.OutputState, + } +} + // The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`. func (o SqlAclEntryResponseOutput) ExpireTime() pulumi.StringOutput { return o.ApplyT(func(v SqlAclEntryResponse) string { return v.ExpireTime }).(pulumi.StringOutput) @@ -2358,6 +2677,12 @@ func (o SqlAclEntryResponseArrayOutput) ToSqlAclEntryResponseArrayOutputWithCont return o } +func (o SqlAclEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SqlAclEntryResponse] { + return pulumix.Output[[]SqlAclEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o SqlAclEntryResponseArrayOutput) Index(i pulumi.IntInput) SqlAclEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SqlAclEntryResponse { return vs[0].([]SqlAclEntryResponse)[vs[1].(int)] @@ -2411,6 +2736,12 @@ func (i SqlIpConfigArgs) ToSqlIpConfigOutputWithContext(ctx context.Context) Sql return pulumi.ToOutputWithContext(ctx, i).(SqlIpConfigOutput) } +func (i SqlIpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SqlIpConfig] { + return pulumix.Output[SqlIpConfig]{ + OutputState: i.ToSqlIpConfigOutputWithContext(ctx).OutputState, + } +} + func (i SqlIpConfigArgs) ToSqlIpConfigPtrOutput() SqlIpConfigPtrOutput { return i.ToSqlIpConfigPtrOutputWithContext(context.Background()) } @@ -2452,6 +2783,12 @@ func (i *sqlIpConfigPtrType) ToSqlIpConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SqlIpConfigPtrOutput) } +func (i *sqlIpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlIpConfig] { + return pulumix.Output[*SqlIpConfig]{ + OutputState: i.ToSqlIpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // IP Management configuration. type SqlIpConfigOutput struct{ *pulumi.OutputState } @@ -2477,6 +2814,12 @@ func (o SqlIpConfigOutput) ToSqlIpConfigPtrOutputWithContext(ctx context.Context }).(SqlIpConfigPtrOutput) } +func (o SqlIpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SqlIpConfig] { + return pulumix.Output[SqlIpConfig]{ + OutputState: o.OutputState, + } +} + // The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as 'slash' notation (e.g. `192.168.100.0/24`). func (o SqlIpConfigOutput) AuthorizedNetworks() SqlAclEntryArrayOutput { return o.ApplyT(func(v SqlIpConfig) []SqlAclEntry { return v.AuthorizedNetworks }).(SqlAclEntryArrayOutput) @@ -2511,6 +2854,12 @@ func (o SqlIpConfigPtrOutput) ToSqlIpConfigPtrOutputWithContext(ctx context.Cont return o } +func (o SqlIpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlIpConfig] { + return pulumix.Output[*SqlIpConfig]{ + OutputState: o.OutputState, + } +} + func (o SqlIpConfigPtrOutput) Elem() SqlIpConfigOutput { return o.ApplyT(func(v *SqlIpConfig) SqlIpConfig { if v != nil { @@ -2588,6 +2937,12 @@ func (o SqlIpConfigResponseOutput) ToSqlIpConfigResponseOutputWithContext(ctx co return o } +func (o SqlIpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlIpConfigResponse] { + return pulumix.Output[SqlIpConfigResponse]{ + OutputState: o.OutputState, + } +} + // The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as 'slash' notation (e.g. `192.168.100.0/24`). func (o SqlIpConfigResponseOutput) AuthorizedNetworks() SqlAclEntryResponseArrayOutput { return o.ApplyT(func(v SqlIpConfigResponse) []SqlAclEntryResponse { return v.AuthorizedNetworks }).(SqlAclEntryResponseArrayOutput) @@ -2651,6 +3006,12 @@ func (i SslConfigArgs) ToSslConfigOutputWithContext(ctx context.Context) SslConf return pulumi.ToOutputWithContext(ctx, i).(SslConfigOutput) } +func (i SslConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SslConfig] { + return pulumix.Output[SslConfig]{ + OutputState: i.ToSslConfigOutputWithContext(ctx).OutputState, + } +} + func (i SslConfigArgs) ToSslConfigPtrOutput() SslConfigPtrOutput { return i.ToSslConfigPtrOutputWithContext(context.Background()) } @@ -2692,6 +3053,12 @@ func (i *sslConfigPtrType) ToSslConfigPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SslConfigPtrOutput) } +func (i *sslConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SslConfig] { + return pulumix.Output[*SslConfig]{ + OutputState: i.ToSslConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SSL configuration information. type SslConfigOutput struct{ *pulumi.OutputState } @@ -2717,6 +3084,12 @@ func (o SslConfigOutput) ToSslConfigPtrOutputWithContext(ctx context.Context) Ss }).(SslConfigPtrOutput) } +func (o SslConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SslConfig] { + return pulumix.Output[SslConfig]{ + OutputState: o.OutputState, + } +} + // Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. func (o SslConfigOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v SslConfig) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -2746,6 +3119,12 @@ func (o SslConfigPtrOutput) ToSslConfigPtrOutputWithContext(ctx context.Context) return o } +func (o SslConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslConfig] { + return pulumix.Output[*SslConfig]{ + OutputState: o.OutputState, + } +} + func (o SslConfigPtrOutput) Elem() SslConfigOutput { return o.ApplyT(func(v *SslConfig) SslConfig { if v != nil { @@ -2813,6 +3192,12 @@ func (o SslConfigResponseOutput) ToSslConfigResponseOutputWithContext(ctx contex return o } +func (o SslConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslConfigResponse] { + return pulumix.Output[SslConfigResponse]{ + OutputState: o.OutputState, + } +} + // Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. func (o SslConfigResponseOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v SslConfigResponse) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -2864,6 +3249,12 @@ func (i StaticIpConnectivityArgs) ToStaticIpConnectivityOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(StaticIpConnectivityOutput) } +func (i StaticIpConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[StaticIpConnectivity] { + return pulumix.Output[StaticIpConnectivity]{ + OutputState: i.ToStaticIpConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i StaticIpConnectivityArgs) ToStaticIpConnectivityPtrOutput() StaticIpConnectivityPtrOutput { return i.ToStaticIpConnectivityPtrOutputWithContext(context.Background()) } @@ -2905,6 +3296,12 @@ func (i *staticIpConnectivityPtrType) ToStaticIpConnectivityPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(StaticIpConnectivityPtrOutput) } +func (i *staticIpConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*StaticIpConnectivity] { + return pulumix.Output[*StaticIpConnectivity]{ + OutputState: i.ToStaticIpConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // The source database will allow incoming connections from the destination database's public IP. You can retrieve the Cloud SQL instance's public IP from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required. type StaticIpConnectivityOutput struct{ *pulumi.OutputState } @@ -2930,6 +3327,12 @@ func (o StaticIpConnectivityOutput) ToStaticIpConnectivityPtrOutputWithContext(c }).(StaticIpConnectivityPtrOutput) } +func (o StaticIpConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[StaticIpConnectivity] { + return pulumix.Output[StaticIpConnectivity]{ + OutputState: o.OutputState, + } +} + type StaticIpConnectivityPtrOutput struct{ *pulumi.OutputState } func (StaticIpConnectivityPtrOutput) ElementType() reflect.Type { @@ -2944,6 +3347,12 @@ func (o StaticIpConnectivityPtrOutput) ToStaticIpConnectivityPtrOutputWithContex return o } +func (o StaticIpConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StaticIpConnectivity] { + return pulumix.Output[*StaticIpConnectivity]{ + OutputState: o.OutputState, + } +} + func (o StaticIpConnectivityPtrOutput) Elem() StaticIpConnectivityOutput { return o.ApplyT(func(v *StaticIpConnectivity) StaticIpConnectivity { if v != nil { @@ -2973,6 +3382,12 @@ func (o StaticIpConnectivityResponseOutput) ToStaticIpConnectivityResponseOutput return o } +func (o StaticIpConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StaticIpConnectivityResponse] { + return pulumix.Output[StaticIpConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type StatusResponse struct { // The status code, which should be an enum value of google.rpc.Code. @@ -2998,6 +3413,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -3048,6 +3469,12 @@ func (i VpcPeeringConnectivityArgs) ToVpcPeeringConnectivityOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(VpcPeeringConnectivityOutput) } +func (i VpcPeeringConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConnectivity] { + return pulumix.Output[VpcPeeringConnectivity]{ + OutputState: i.ToVpcPeeringConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i VpcPeeringConnectivityArgs) ToVpcPeeringConnectivityPtrOutput() VpcPeeringConnectivityPtrOutput { return i.ToVpcPeeringConnectivityPtrOutputWithContext(context.Background()) } @@ -3089,6 +3516,12 @@ func (i *vpcPeeringConnectivityPtrType) ToVpcPeeringConnectivityPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(VpcPeeringConnectivityPtrOutput) } +func (i *vpcPeeringConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*VpcPeeringConnectivity] { + return pulumix.Output[*VpcPeeringConnectivity]{ + OutputState: i.ToVpcPeeringConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // The details of the VPC where the source database is located in Google Cloud. We will use this information to set up the VPC peering connection between Cloud SQL and this VPC. type VpcPeeringConnectivityOutput struct{ *pulumi.OutputState } @@ -3114,6 +3547,12 @@ func (o VpcPeeringConnectivityOutput) ToVpcPeeringConnectivityPtrOutputWithConte }).(VpcPeeringConnectivityPtrOutput) } +func (o VpcPeeringConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConnectivity] { + return pulumix.Output[VpcPeeringConnectivity]{ + OutputState: o.OutputState, + } +} + // The name of the VPC network to peer with the Cloud SQL private network. func (o VpcPeeringConnectivityOutput) Vpc() pulumi.StringPtrOutput { return o.ApplyT(func(v VpcPeeringConnectivity) *string { return v.Vpc }).(pulumi.StringPtrOutput) @@ -3133,6 +3572,12 @@ func (o VpcPeeringConnectivityPtrOutput) ToVpcPeeringConnectivityPtrOutputWithCo return o } +func (o VpcPeeringConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcPeeringConnectivity] { + return pulumix.Output[*VpcPeeringConnectivity]{ + OutputState: o.OutputState, + } +} + func (o VpcPeeringConnectivityPtrOutput) Elem() VpcPeeringConnectivityOutput { return o.ApplyT(func(v *VpcPeeringConnectivity) VpcPeeringConnectivity { if v != nil { @@ -3174,6 +3619,12 @@ func (o VpcPeeringConnectivityResponseOutput) ToVpcPeeringConnectivityResponseOu return o } +func (o VpcPeeringConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConnectivityResponse] { + return pulumix.Output[VpcPeeringConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // The name of the VPC network to peer with the Cloud SQL private network. func (o VpcPeeringConnectivityResponseOutput) Vpc() pulumi.StringOutput { return o.ApplyT(func(v VpcPeeringConnectivityResponse) string { return v.Vpc }).(pulumi.StringOutput) diff --git a/sdk/go/google/datapipelines/v1/getPipeline.go b/sdk/go/google/datapipelines/v1/getPipeline.go index 5a00f0e1ea..c1485c14e3 100644 --- a/sdk/go/google/datapipelines/v1/getPipeline.go +++ b/sdk/go/google/datapipelines/v1/getPipeline.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Looks up a single pipeline. Returns a "NOT_FOUND" error if no such pipeline exists. Returns a "FORBIDDEN" error if the caller doesn't have permission to access it. @@ -90,6 +91,12 @@ func (o LookupPipelineResultOutput) ToLookupPipelineResultOutputWithContext(ctx return o } +func (o LookupPipelineResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPipelineResult] { + return pulumix.Output[LookupPipelineResult]{ + OutputState: o.OutputState, + } +} + // Immutable. The timestamp when the pipeline was initially created. Set by the Data Pipelines service. func (o LookupPipelineResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupPipelineResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datapipelines/v1/pipeline.go b/sdk/go/google/datapipelines/v1/pipeline.go index a8da513826..c707bd5ad7 100644 --- a/sdk/go/google/datapipelines/v1/pipeline.go +++ b/sdk/go/google/datapipelines/v1/pipeline.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a pipeline. For a batch pipeline, you can pass scheduler information. Data Pipelines uses the scheduler information to create an internal scheduler that runs jobs periodically. If the internal scheduler is not configured, you can use RunPipeline to run jobs. @@ -161,6 +162,12 @@ func (i *Pipeline) ToPipelineOutputWithContext(ctx context.Context) PipelineOutp return pulumi.ToOutputWithContext(ctx, i).(PipelineOutput) } +func (i *Pipeline) ToOutput(ctx context.Context) pulumix.Output[*Pipeline] { + return pulumix.Output[*Pipeline]{ + OutputState: i.ToPipelineOutputWithContext(ctx).OutputState, + } +} + type PipelineOutput struct{ *pulumi.OutputState } func (PipelineOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o PipelineOutput) ToPipelineOutputWithContext(ctx context.Context) Pipelin return o } +func (o PipelineOutput) ToOutput(ctx context.Context) pulumix.Output[*Pipeline] { + return pulumix.Output[*Pipeline]{ + OutputState: o.OutputState, + } +} + // Immutable. The timestamp when the pipeline was initially created. Set by the Data Pipelines service. func (o PipelineOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Pipeline) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datapipelines/v1/pulumiEnums.go b/sdk/go/google/datapipelines/v1/pulumiEnums.go index 2eb91f9613..c213249915 100644 --- a/sdk/go/google/datapipelines/v1/pulumiEnums.go +++ b/sdk/go/google/datapipelines/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs @@ -82,6 +83,12 @@ func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalOutput }).(GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalPtrOutput) } +func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoal] { + return pulumix.Output[GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoal]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalPtrOut return o } +func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoal] { + return pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoal]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalPtrOutput) Elem() GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoal) GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoal { if v != nil { @@ -179,6 +192,12 @@ func (in *googleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalPtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalPtrOutput) } +func (in *googleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoal] { + return pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoal]{ + OutputState: in.ToGoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for VM IPs. type GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfiguration string @@ -251,6 +270,12 @@ func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationO }).(GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationPtrOutput) } +func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfiguration] { + return pulumix.Output[GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfiguration]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationP return o } +func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfiguration] { + return pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfiguration]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationPtrOutput) Elem() GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfiguration) GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfiguration { if v != nil { @@ -348,6 +379,12 @@ func (in *googleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfiguratio return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationPtrOutput) } +func (in *googleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfiguration] { + return pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfiguration]{ + OutputState: in.ToGoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentIpConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for VM IPs. type GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfiguration string @@ -420,6 +457,12 @@ func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationOutput) ToGoo }).(GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationPtrOutput) } +func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfiguration] { + return pulumix.Output[GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfiguration]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationPtrOutput) To return o } +func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfiguration] { + return pulumix.Output[*GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfiguration]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationPtrOutput) Elem() GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfiguration) GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfiguration { if v != nil { @@ -517,6 +566,12 @@ func (in *googleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationPtr) ToGoog return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationPtrOutput) } +func (in *googleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfiguration] { + return pulumix.Output[*GoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfiguration]{ + OutputState: in.ToGoogleCloudDatapipelinesV1RuntimeEnvironmentIpConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The state of the pipeline. When the pipeline is created, the state is set to 'PIPELINE_STATE_ACTIVE' by default. State changes can be requested by setting the state to stopping, paused, or resuming. State cannot be changed through UpdatePipeline requests. type PipelineStateEnum string @@ -595,6 +650,12 @@ func (o PipelineStateEnumOutput) ToPipelineStateEnumPtrOutputWithContext(ctx con }).(PipelineStateEnumPtrOutput) } +func (o PipelineStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[PipelineStateEnum] { + return pulumix.Output[PipelineStateEnum]{ + OutputState: o.OutputState, + } +} + func (o PipelineStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -630,6 +691,12 @@ func (o PipelineStateEnumPtrOutput) ToPipelineStateEnumPtrOutputWithContext(ctx return o } +func (o PipelineStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PipelineStateEnum] { + return pulumix.Output[*PipelineStateEnum]{ + OutputState: o.OutputState, + } +} + func (o PipelineStateEnumPtrOutput) Elem() PipelineStateEnumOutput { return o.ApplyT(func(v *PipelineStateEnum) PipelineStateEnum { if v != nil { @@ -692,6 +759,12 @@ func (in *pipelineStateEnumPtr) ToPipelineStateEnumPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(PipelineStateEnumPtrOutput) } +func (in *pipelineStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*PipelineStateEnum] { + return pulumix.Output[*PipelineStateEnum]{ + OutputState: in.ToPipelineStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of the pipeline. This field affects the scheduling of the pipeline and the type of metrics to show for the pipeline. type PipelineType string @@ -764,6 +837,12 @@ func (o PipelineTypeOutput) ToPipelineTypePtrOutputWithContext(ctx context.Conte }).(PipelineTypePtrOutput) } +func (o PipelineTypeOutput) ToOutput(ctx context.Context) pulumix.Output[PipelineType] { + return pulumix.Output[PipelineType]{ + OutputState: o.OutputState, + } +} + func (o PipelineTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -799,6 +878,12 @@ func (o PipelineTypePtrOutput) ToPipelineTypePtrOutputWithContext(ctx context.Co return o } +func (o PipelineTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PipelineType] { + return pulumix.Output[*PipelineType]{ + OutputState: o.OutputState, + } +} + func (o PipelineTypePtrOutput) Elem() PipelineTypeOutput { return o.ApplyT(func(v *PipelineType) PipelineType { if v != nil { @@ -861,6 +946,12 @@ func (in *pipelineTypePtr) ToPipelineTypePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(PipelineTypePtrOutput) } +func (in *pipelineTypePtr) ToOutput(ctx context.Context) pulumix.Output[*PipelineType] { + return pulumix.Output[*PipelineType]{ + OutputState: in.ToPipelineTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalInput)(nil)).Elem(), GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoal("FLEXRS_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoalPtrInput)(nil)).Elem(), GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentFlexrsGoal("FLEXRS_UNSPECIFIED")) diff --git a/sdk/go/google/datapipelines/v1/pulumiTypes.go b/sdk/go/google/datapipelines/v1/pulumiTypes.go index c94d4e17cf..7a046eca50 100644 --- a/sdk/go/google/datapipelines/v1/pulumiTypes.go +++ b/sdk/go/google/datapipelines/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -108,6 +109,12 @@ func (i GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentOutput) } +func (i GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment] { + return pulumix.Output[GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment]{ + OutputState: i.ToGoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentArgs) ToGoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrOutput() GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrOutput { return i.ToGoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrOutputWithContext(context.Background()) } @@ -149,6 +156,12 @@ func (i *googleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrOutput) } +func (i *googleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment] { + return pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment]{ + OutputState: i.ToGoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // The environment values to be set at runtime for a Flex Template. type GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentOutput struct{ *pulumi.OutputState } @@ -174,6 +187,12 @@ func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentOutput) ToGoogle }).(GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrOutput) } +func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment] { + return pulumix.Output[GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment]{ + OutputState: o.OutputState, + } +} + // Additional experiment flags for the job. func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentOutput) AdditionalExperiments() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment) []string { @@ -276,6 +295,12 @@ func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrOutput) ToGoo return o } +func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment] { + return pulumix.Output[*GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentPtrOutput) Elem() GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment) GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment { if v != nil { @@ -497,6 +522,12 @@ func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentResponseOutput) return o } +func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentResponse] { + return pulumix.Output[GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentResponse]{ + OutputState: o.OutputState, + } +} + // Additional experiment flags for the job. func (o GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentResponseOutput) AdditionalExperiments() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironmentResponse) []string { @@ -646,6 +677,12 @@ func (i GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterOutput) } +func (i GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter]{ + OutputState: i.ToGoogleCloudDatapipelinesV1LaunchFlexTemplateParameterOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterArgs) ToGoogleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrOutput() GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrOutput { return i.ToGoogleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrOutputWithContext(context.Background()) } @@ -687,6 +724,12 @@ func (i *googleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrOutput) } +func (i *googleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter] { + return pulumix.Output[*GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter]{ + OutputState: i.ToGoogleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrOutputWithContext(ctx).OutputState, + } +} + // Launch Flex Template parameter. type GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterOutput struct{ *pulumi.OutputState } @@ -712,6 +755,12 @@ func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterOutput) ToGoogleClo }).(GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrOutput) } +func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter]{ + OutputState: o.OutputState, + } +} + // Cloud Storage path to a file with a JSON-serialized ContainerSpec as content. func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterOutput) ContainerSpecGcsPath() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter) *string { return v.ContainerSpecGcsPath }).(pulumi.StringPtrOutput) @@ -767,6 +816,12 @@ func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrOutput) ToGoogle return o } +func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter] { + return pulumix.Output[*GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterPtrOutput) Elem() GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter) GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter { if v != nil { @@ -880,6 +935,12 @@ func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterResponseOutput) ToG return o } +func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterResponse] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Storage path to a file with a JSON-serialized ContainerSpec as content. func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterResponseOutput) ContainerSpecGcsPath() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterResponse) string { @@ -972,6 +1033,12 @@ func (i GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestArgs) ToGoogleCloudDa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestOutput) } +func (i GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest]{ + OutputState: i.ToGoogleCloudDatapipelinesV1LaunchFlexTemplateRequestOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestArgs) ToGoogleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrOutput() GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrOutput { return i.ToGoogleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrOutputWithContext(context.Background()) } @@ -1013,6 +1080,12 @@ func (i *googleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrOutput) } +func (i *googleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest] { + return pulumix.Output[*GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest]{ + OutputState: i.ToGoogleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrOutputWithContext(ctx).OutputState, + } +} + // A request to launch a Dataflow job from a Flex Template. type GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestOutput struct{ *pulumi.OutputState } @@ -1038,6 +1111,12 @@ func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestOutput) ToGoogleCloud }).(GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrOutput) } +func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest]{ + OutputState: o.OutputState, + } +} + // Parameter to launch a job from a Flex Template. func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestOutput) LaunchParameter() GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest) GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter { @@ -1074,6 +1153,12 @@ func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrOutput) ToGoogleCl return o } +func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest] { + return pulumix.Output[*GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrOutput) Elem() GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest) GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest { if v != nil { @@ -1151,6 +1236,12 @@ func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestResponseOutput) ToGoo return o } +func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestResponse] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestResponse]{ + OutputState: o.OutputState, + } +} + // Parameter to launch a job from a Flex Template. func (o GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestResponseOutput) LaunchParameter() GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterResponseOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestResponse) GoogleCloudDatapipelinesV1LaunchFlexTemplateParameterResponse { @@ -1224,6 +1315,12 @@ func (i GoogleCloudDatapipelinesV1LaunchTemplateParametersArgs) ToGoogleCloudDat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1LaunchTemplateParametersOutput) } +func (i GoogleCloudDatapipelinesV1LaunchTemplateParametersArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateParameters] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateParameters]{ + OutputState: i.ToGoogleCloudDatapipelinesV1LaunchTemplateParametersOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatapipelinesV1LaunchTemplateParametersArgs) ToGoogleCloudDatapipelinesV1LaunchTemplateParametersPtrOutput() GoogleCloudDatapipelinesV1LaunchTemplateParametersPtrOutput { return i.ToGoogleCloudDatapipelinesV1LaunchTemplateParametersPtrOutputWithContext(context.Background()) } @@ -1265,6 +1362,12 @@ func (i *googleCloudDatapipelinesV1LaunchTemplateParametersPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1LaunchTemplateParametersPtrOutput) } +func (i *googleCloudDatapipelinesV1LaunchTemplateParametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1LaunchTemplateParameters] { + return pulumix.Output[*GoogleCloudDatapipelinesV1LaunchTemplateParameters]{ + OutputState: i.ToGoogleCloudDatapipelinesV1LaunchTemplateParametersPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters to provide to the template being launched. type GoogleCloudDatapipelinesV1LaunchTemplateParametersOutput struct{ *pulumi.OutputState } @@ -1290,6 +1393,12 @@ func (o GoogleCloudDatapipelinesV1LaunchTemplateParametersOutput) ToGoogleCloudD }).(GoogleCloudDatapipelinesV1LaunchTemplateParametersPtrOutput) } +func (o GoogleCloudDatapipelinesV1LaunchTemplateParametersOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateParameters] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateParameters]{ + OutputState: o.OutputState, + } +} + // The runtime environment for the job. func (o GoogleCloudDatapipelinesV1LaunchTemplateParametersOutput) Environment() GoogleCloudDatapipelinesV1RuntimeEnvironmentPtrOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1LaunchTemplateParameters) *GoogleCloudDatapipelinesV1RuntimeEnvironment { @@ -1333,6 +1442,12 @@ func (o GoogleCloudDatapipelinesV1LaunchTemplateParametersPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDatapipelinesV1LaunchTemplateParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1LaunchTemplateParameters] { + return pulumix.Output[*GoogleCloudDatapipelinesV1LaunchTemplateParameters]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1LaunchTemplateParametersPtrOutput) Elem() GoogleCloudDatapipelinesV1LaunchTemplateParametersOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1LaunchTemplateParameters) GoogleCloudDatapipelinesV1LaunchTemplateParameters { if v != nil { @@ -1422,6 +1537,12 @@ func (o GoogleCloudDatapipelinesV1LaunchTemplateParametersResponseOutput) ToGoog return o } +func (o GoogleCloudDatapipelinesV1LaunchTemplateParametersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateParametersResponse] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateParametersResponse]{ + OutputState: o.OutputState, + } +} + // The runtime environment for the job. func (o GoogleCloudDatapipelinesV1LaunchTemplateParametersResponseOutput) Environment() GoogleCloudDatapipelinesV1RuntimeEnvironmentResponseOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1LaunchTemplateParametersResponse) GoogleCloudDatapipelinesV1RuntimeEnvironmentResponse { @@ -1504,6 +1625,12 @@ func (i GoogleCloudDatapipelinesV1LaunchTemplateRequestArgs) ToGoogleCloudDatapi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1LaunchTemplateRequestOutput) } +func (i GoogleCloudDatapipelinesV1LaunchTemplateRequestArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateRequest] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateRequest]{ + OutputState: i.ToGoogleCloudDatapipelinesV1LaunchTemplateRequestOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatapipelinesV1LaunchTemplateRequestArgs) ToGoogleCloudDatapipelinesV1LaunchTemplateRequestPtrOutput() GoogleCloudDatapipelinesV1LaunchTemplateRequestPtrOutput { return i.ToGoogleCloudDatapipelinesV1LaunchTemplateRequestPtrOutputWithContext(context.Background()) } @@ -1545,6 +1672,12 @@ func (i *googleCloudDatapipelinesV1LaunchTemplateRequestPtrType) ToGoogleCloudDa return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1LaunchTemplateRequestPtrOutput) } +func (i *googleCloudDatapipelinesV1LaunchTemplateRequestPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1LaunchTemplateRequest] { + return pulumix.Output[*GoogleCloudDatapipelinesV1LaunchTemplateRequest]{ + OutputState: i.ToGoogleCloudDatapipelinesV1LaunchTemplateRequestPtrOutputWithContext(ctx).OutputState, + } +} + // A request to launch a template. type GoogleCloudDatapipelinesV1LaunchTemplateRequestOutput struct{ *pulumi.OutputState } @@ -1570,6 +1703,12 @@ func (o GoogleCloudDatapipelinesV1LaunchTemplateRequestOutput) ToGoogleCloudData }).(GoogleCloudDatapipelinesV1LaunchTemplateRequestPtrOutput) } +func (o GoogleCloudDatapipelinesV1LaunchTemplateRequestOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateRequest] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateRequest]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with 'gs://'. func (o GoogleCloudDatapipelinesV1LaunchTemplateRequestOutput) GcsPath() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1LaunchTemplateRequest) *string { return v.GcsPath }).(pulumi.StringPtrOutput) @@ -1611,6 +1750,12 @@ func (o GoogleCloudDatapipelinesV1LaunchTemplateRequestPtrOutput) ToGoogleCloudD return o } +func (o GoogleCloudDatapipelinesV1LaunchTemplateRequestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1LaunchTemplateRequest] { + return pulumix.Output[*GoogleCloudDatapipelinesV1LaunchTemplateRequest]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1LaunchTemplateRequestPtrOutput) Elem() GoogleCloudDatapipelinesV1LaunchTemplateRequestOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1LaunchTemplateRequest) GoogleCloudDatapipelinesV1LaunchTemplateRequest { if v != nil { @@ -1700,6 +1845,12 @@ func (o GoogleCloudDatapipelinesV1LaunchTemplateRequestResponseOutput) ToGoogleC return o } +func (o GoogleCloudDatapipelinesV1LaunchTemplateRequestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateRequestResponse] { + return pulumix.Output[GoogleCloudDatapipelinesV1LaunchTemplateRequestResponse]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with 'gs://'. func (o GoogleCloudDatapipelinesV1LaunchTemplateRequestResponseOutput) GcsPath() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1LaunchTemplateRequestResponse) string { return v.GcsPath }).(pulumi.StringOutput) @@ -1822,6 +1973,12 @@ func (i GoogleCloudDatapipelinesV1RuntimeEnvironmentArgs) ToGoogleCloudDatapipel return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1RuntimeEnvironmentOutput) } +func (i GoogleCloudDatapipelinesV1RuntimeEnvironmentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1RuntimeEnvironment] { + return pulumix.Output[GoogleCloudDatapipelinesV1RuntimeEnvironment]{ + OutputState: i.ToGoogleCloudDatapipelinesV1RuntimeEnvironmentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatapipelinesV1RuntimeEnvironmentArgs) ToGoogleCloudDatapipelinesV1RuntimeEnvironmentPtrOutput() GoogleCloudDatapipelinesV1RuntimeEnvironmentPtrOutput { return i.ToGoogleCloudDatapipelinesV1RuntimeEnvironmentPtrOutputWithContext(context.Background()) } @@ -1863,6 +2020,12 @@ func (i *googleCloudDatapipelinesV1RuntimeEnvironmentPtrType) ToGoogleCloudDatap return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1RuntimeEnvironmentPtrOutput) } +func (i *googleCloudDatapipelinesV1RuntimeEnvironmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1RuntimeEnvironment] { + return pulumix.Output[*GoogleCloudDatapipelinesV1RuntimeEnvironment]{ + OutputState: i.ToGoogleCloudDatapipelinesV1RuntimeEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // The environment values to set at runtime. type GoogleCloudDatapipelinesV1RuntimeEnvironmentOutput struct{ *pulumi.OutputState } @@ -1888,6 +2051,12 @@ func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentOutput) ToGoogleCloudDatapip }).(GoogleCloudDatapipelinesV1RuntimeEnvironmentPtrOutput) } +func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1RuntimeEnvironment] { + return pulumix.Output[GoogleCloudDatapipelinesV1RuntimeEnvironment]{ + OutputState: o.OutputState, + } +} + // Additional experiment flags for the job. func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentOutput) AdditionalExperiments() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1RuntimeEnvironment) []string { return v.AdditionalExperiments }).(pulumi.StringArrayOutput) @@ -1984,6 +2153,12 @@ func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentPtrOutput) ToGoogleCloudData return o } +func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1RuntimeEnvironment] { + return pulumix.Output[*GoogleCloudDatapipelinesV1RuntimeEnvironment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentPtrOutput) Elem() GoogleCloudDatapipelinesV1RuntimeEnvironmentOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1RuntimeEnvironment) GoogleCloudDatapipelinesV1RuntimeEnvironment { if v != nil { @@ -2205,6 +2380,12 @@ func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1RuntimeEnvironmentResponse] { + return pulumix.Output[GoogleCloudDatapipelinesV1RuntimeEnvironmentResponse]{ + OutputState: o.OutputState, + } +} + // Additional experiment flags for the job. func (o GoogleCloudDatapipelinesV1RuntimeEnvironmentResponseOutput) AdditionalExperiments() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1RuntimeEnvironmentResponse) []string { return v.AdditionalExperiments }).(pulumi.StringArrayOutput) @@ -2326,6 +2507,12 @@ func (i GoogleCloudDatapipelinesV1ScheduleSpecArgs) ToGoogleCloudDatapipelinesV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1ScheduleSpecOutput) } +func (i GoogleCloudDatapipelinesV1ScheduleSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1ScheduleSpec] { + return pulumix.Output[GoogleCloudDatapipelinesV1ScheduleSpec]{ + OutputState: i.ToGoogleCloudDatapipelinesV1ScheduleSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatapipelinesV1ScheduleSpecArgs) ToGoogleCloudDatapipelinesV1ScheduleSpecPtrOutput() GoogleCloudDatapipelinesV1ScheduleSpecPtrOutput { return i.ToGoogleCloudDatapipelinesV1ScheduleSpecPtrOutputWithContext(context.Background()) } @@ -2367,6 +2554,12 @@ func (i *googleCloudDatapipelinesV1ScheduleSpecPtrType) ToGoogleCloudDatapipelin return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1ScheduleSpecPtrOutput) } +func (i *googleCloudDatapipelinesV1ScheduleSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1ScheduleSpec] { + return pulumix.Output[*GoogleCloudDatapipelinesV1ScheduleSpec]{ + OutputState: i.ToGoogleCloudDatapipelinesV1ScheduleSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Details of the schedule the pipeline runs on. type GoogleCloudDatapipelinesV1ScheduleSpecOutput struct{ *pulumi.OutputState } @@ -2392,6 +2585,12 @@ func (o GoogleCloudDatapipelinesV1ScheduleSpecOutput) ToGoogleCloudDatapipelines }).(GoogleCloudDatapipelinesV1ScheduleSpecPtrOutput) } +func (o GoogleCloudDatapipelinesV1ScheduleSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1ScheduleSpec] { + return pulumix.Output[GoogleCloudDatapipelinesV1ScheduleSpec]{ + OutputState: o.OutputState, + } +} + // Unix-cron format of the schedule. This information is retrieved from the linked Cloud Scheduler. func (o GoogleCloudDatapipelinesV1ScheduleSpecOutput) Schedule() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1ScheduleSpec) *string { return v.Schedule }).(pulumi.StringPtrOutput) @@ -2416,6 +2615,12 @@ func (o GoogleCloudDatapipelinesV1ScheduleSpecPtrOutput) ToGoogleCloudDatapipeli return o } +func (o GoogleCloudDatapipelinesV1ScheduleSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1ScheduleSpec] { + return pulumix.Output[*GoogleCloudDatapipelinesV1ScheduleSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1ScheduleSpecPtrOutput) Elem() GoogleCloudDatapipelinesV1ScheduleSpecOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1ScheduleSpec) GoogleCloudDatapipelinesV1ScheduleSpec { if v != nil { @@ -2471,6 +2676,12 @@ func (o GoogleCloudDatapipelinesV1ScheduleSpecResponseOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDatapipelinesV1ScheduleSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1ScheduleSpecResponse] { + return pulumix.Output[GoogleCloudDatapipelinesV1ScheduleSpecResponse]{ + OutputState: o.OutputState, + } +} + // When the next Scheduler job is going to run. func (o GoogleCloudDatapipelinesV1ScheduleSpecResponseOutput) NextJobTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1ScheduleSpecResponse) string { return v.NextJobTime }).(pulumi.StringOutput) @@ -2525,6 +2736,12 @@ func (i GoogleCloudDatapipelinesV1WorkloadArgs) ToGoogleCloudDatapipelinesV1Work return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1WorkloadOutput) } +func (i GoogleCloudDatapipelinesV1WorkloadArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1Workload] { + return pulumix.Output[GoogleCloudDatapipelinesV1Workload]{ + OutputState: i.ToGoogleCloudDatapipelinesV1WorkloadOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDatapipelinesV1WorkloadArgs) ToGoogleCloudDatapipelinesV1WorkloadPtrOutput() GoogleCloudDatapipelinesV1WorkloadPtrOutput { return i.ToGoogleCloudDatapipelinesV1WorkloadPtrOutputWithContext(context.Background()) } @@ -2566,6 +2783,12 @@ func (i *googleCloudDatapipelinesV1WorkloadPtrType) ToGoogleCloudDatapipelinesV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDatapipelinesV1WorkloadPtrOutput) } +func (i *googleCloudDatapipelinesV1WorkloadPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1Workload] { + return pulumix.Output[*GoogleCloudDatapipelinesV1Workload]{ + OutputState: i.ToGoogleCloudDatapipelinesV1WorkloadPtrOutputWithContext(ctx).OutputState, + } +} + // Workload details for creating the pipeline jobs. type GoogleCloudDatapipelinesV1WorkloadOutput struct{ *pulumi.OutputState } @@ -2591,6 +2814,12 @@ func (o GoogleCloudDatapipelinesV1WorkloadOutput) ToGoogleCloudDatapipelinesV1Wo }).(GoogleCloudDatapipelinesV1WorkloadPtrOutput) } +func (o GoogleCloudDatapipelinesV1WorkloadOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1Workload] { + return pulumix.Output[GoogleCloudDatapipelinesV1Workload]{ + OutputState: o.OutputState, + } +} + // Template information and additional parameters needed to launch a Dataflow job using the flex launch API. func (o GoogleCloudDatapipelinesV1WorkloadOutput) DataflowFlexTemplateRequest() GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestPtrOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1Workload) *GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest { @@ -2619,6 +2848,12 @@ func (o GoogleCloudDatapipelinesV1WorkloadPtrOutput) ToGoogleCloudDatapipelinesV return o } +func (o GoogleCloudDatapipelinesV1WorkloadPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDatapipelinesV1Workload] { + return pulumix.Output[*GoogleCloudDatapipelinesV1Workload]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDatapipelinesV1WorkloadPtrOutput) Elem() GoogleCloudDatapipelinesV1WorkloadOutput { return o.ApplyT(func(v *GoogleCloudDatapipelinesV1Workload) GoogleCloudDatapipelinesV1Workload { if v != nil { @@ -2672,6 +2907,12 @@ func (o GoogleCloudDatapipelinesV1WorkloadResponseOutput) ToGoogleCloudDatapipel return o } +func (o GoogleCloudDatapipelinesV1WorkloadResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDatapipelinesV1WorkloadResponse] { + return pulumix.Output[GoogleCloudDatapipelinesV1WorkloadResponse]{ + OutputState: o.OutputState, + } +} + // Template information and additional parameters needed to launch a Dataflow job using the flex launch API. func (o GoogleCloudDatapipelinesV1WorkloadResponseOutput) DataflowFlexTemplateRequest() GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestResponseOutput { return o.ApplyT(func(v GoogleCloudDatapipelinesV1WorkloadResponse) GoogleCloudDatapipelinesV1LaunchFlexTemplateRequestResponse { diff --git a/sdk/go/google/dataplex/v1/aspectTypeIamBinding.go b/sdk/go/google/dataplex/v1/aspectTypeIamBinding.go index 20288a2c4b..495e226fab 100644 --- a/sdk/go/google/dataplex/v1/aspectTypeIamBinding.go +++ b/sdk/go/google/dataplex/v1/aspectTypeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *AspectTypeIamBinding) ToAspectTypeIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AspectTypeIamBindingOutput) } +func (i *AspectTypeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AspectTypeIamBinding] { + return pulumix.Output[*AspectTypeIamBinding]{ + OutputState: i.ToAspectTypeIamBindingOutputWithContext(ctx).OutputState, + } +} + type AspectTypeIamBindingOutput struct{ *pulumi.OutputState } func (AspectTypeIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AspectTypeIamBindingOutput) ToAspectTypeIamBindingOutputWithContext(ctx return o } +func (o AspectTypeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AspectTypeIamBinding] { + return pulumix.Output[*AspectTypeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AspectTypeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AspectTypeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/aspectTypeIamMember.go b/sdk/go/google/dataplex/v1/aspectTypeIamMember.go index 2f67c292dc..edc62f79a7 100644 --- a/sdk/go/google/dataplex/v1/aspectTypeIamMember.go +++ b/sdk/go/google/dataplex/v1/aspectTypeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *AspectTypeIamMember) ToAspectTypeIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AspectTypeIamMemberOutput) } +func (i *AspectTypeIamMember) ToOutput(ctx context.Context) pulumix.Output[*AspectTypeIamMember] { + return pulumix.Output[*AspectTypeIamMember]{ + OutputState: i.ToAspectTypeIamMemberOutputWithContext(ctx).OutputState, + } +} + type AspectTypeIamMemberOutput struct{ *pulumi.OutputState } func (AspectTypeIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AspectTypeIamMemberOutput) ToAspectTypeIamMemberOutputWithContext(ctx co return o } +func (o AspectTypeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AspectTypeIamMember] { + return pulumix.Output[*AspectTypeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AspectTypeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AspectTypeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/aspectTypeIamPolicy.go b/sdk/go/google/dataplex/v1/aspectTypeIamPolicy.go index a061e64993..252b29b88c 100644 --- a/sdk/go/google/dataplex/v1/aspectTypeIamPolicy.go +++ b/sdk/go/google/dataplex/v1/aspectTypeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *AspectTypeIamPolicy) ToAspectTypeIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AspectTypeIamPolicyOutput) } +func (i *AspectTypeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AspectTypeIamPolicy] { + return pulumix.Output[*AspectTypeIamPolicy]{ + OutputState: i.ToAspectTypeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AspectTypeIamPolicyOutput struct{ *pulumi.OutputState } func (AspectTypeIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AspectTypeIamPolicyOutput) ToAspectTypeIamPolicyOutputWithContext(ctx co return o } +func (o AspectTypeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AspectTypeIamPolicy] { + return pulumix.Output[*AspectTypeIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AspectTypeIamPolicyOutput) AspectTypeId() pulumi.StringOutput { return o.ApplyT(func(v *AspectTypeIamPolicy) pulumi.StringOutput { return v.AspectTypeId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dataplex/v1/asset.go b/sdk/go/google/dataplex/v1/asset.go index ac39cff0be..13d71cc6c2 100644 --- a/sdk/go/google/dataplex/v1/asset.go +++ b/sdk/go/google/dataplex/v1/asset.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an asset resource. @@ -169,6 +170,12 @@ func (i *Asset) ToAssetOutputWithContext(ctx context.Context) AssetOutput { return pulumi.ToOutputWithContext(ctx, i).(AssetOutput) } +func (i *Asset) ToOutput(ctx context.Context) pulumix.Output[*Asset] { + return pulumix.Output[*Asset]{ + OutputState: i.ToAssetOutputWithContext(ctx).OutputState, + } +} + type AssetOutput struct{ *pulumi.OutputState } func (AssetOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o AssetOutput) ToAssetOutputWithContext(ctx context.Context) AssetOutput { return o } +func (o AssetOutput) ToOutput(ctx context.Context) pulumix.Output[*Asset] { + return pulumix.Output[*Asset]{ + OutputState: o.OutputState, + } +} + // Required. Asset identifier. This ID will be used to generate names such as table names when publishing metadata to Hive Metastore and BigQuery. * Must contain only lowercase letters, numbers and hyphens. * Must start with a letter. * Must end with a number or a letter. * Must be between 1-63 characters. * Must be unique within the zone. func (o AssetOutput) AssetId() pulumi.StringOutput { return o.ApplyT(func(v *Asset) pulumi.StringOutput { return v.AssetId }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/attribute.go b/sdk/go/google/dataplex/v1/attribute.go index 19b47c22a3..417afb0a69 100644 --- a/sdk/go/google/dataplex/v1/attribute.go +++ b/sdk/go/google/dataplex/v1/attribute.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a DataAttribute resource. @@ -168,6 +169,12 @@ func (i *Attribute) ToAttributeOutputWithContext(ctx context.Context) AttributeO return pulumi.ToOutputWithContext(ctx, i).(AttributeOutput) } +func (i *Attribute) ToOutput(ctx context.Context) pulumix.Output[*Attribute] { + return pulumix.Output[*Attribute]{ + OutputState: i.ToAttributeOutputWithContext(ctx).OutputState, + } +} + type AttributeOutput struct{ *pulumi.OutputState } func (AttributeOutput) ElementType() reflect.Type { @@ -182,6 +189,12 @@ func (o AttributeOutput) ToAttributeOutputWithContext(ctx context.Context) Attri return o } +func (o AttributeOutput) ToOutput(ctx context.Context) pulumix.Output[*Attribute] { + return pulumix.Output[*Attribute]{ + OutputState: o.OutputState, + } +} + // The number of child attributes present for this attribute. func (o AttributeOutput) AttributeCount() pulumi.IntOutput { return o.ApplyT(func(v *Attribute) pulumi.IntOutput { return v.AttributeCount }).(pulumi.IntOutput) diff --git a/sdk/go/google/dataplex/v1/content.go b/sdk/go/google/dataplex/v1/content.go index 5c5c82e2ff..cc6c971c62 100644 --- a/sdk/go/google/dataplex/v1/content.go +++ b/sdk/go/google/dataplex/v1/content.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a content. @@ -156,6 +157,12 @@ func (i *Content) ToContentOutputWithContext(ctx context.Context) ContentOutput return pulumi.ToOutputWithContext(ctx, i).(ContentOutput) } +func (i *Content) ToOutput(ctx context.Context) pulumix.Output[*Content] { + return pulumix.Output[*Content]{ + OutputState: i.ToContentOutputWithContext(ctx).OutputState, + } +} + type ContentOutput struct{ *pulumi.OutputState } func (ContentOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o ContentOutput) ToContentOutputWithContext(ctx context.Context) ContentOu return o } +func (o ContentOutput) ToOutput(ctx context.Context) pulumix.Output[*Content] { + return pulumix.Output[*Content]{ + OutputState: o.OutputState, + } +} + // Content creation time. func (o ContentOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Content) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/contentitem.go b/sdk/go/google/dataplex/v1/contentitem.go index fc611cbbcb..5728598651 100644 --- a/sdk/go/google/dataplex/v1/contentitem.go +++ b/sdk/go/google/dataplex/v1/contentitem.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a content. @@ -156,6 +157,12 @@ func (i *Contentitem) ToContentitemOutputWithContext(ctx context.Context) Conten return pulumi.ToOutputWithContext(ctx, i).(ContentitemOutput) } +func (i *Contentitem) ToOutput(ctx context.Context) pulumix.Output[*Contentitem] { + return pulumix.Output[*Contentitem]{ + OutputState: i.ToContentitemOutputWithContext(ctx).OutputState, + } +} + type ContentitemOutput struct{ *pulumi.OutputState } func (ContentitemOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o ContentitemOutput) ToContentitemOutputWithContext(ctx context.Context) C return o } +func (o ContentitemOutput) ToOutput(ctx context.Context) pulumix.Output[*Contentitem] { + return pulumix.Output[*Contentitem]{ + OutputState: o.OutputState, + } +} + // Content creation time. func (o ContentitemOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Contentitem) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/dataAttributeBinding.go b/sdk/go/google/dataplex/v1/dataAttributeBinding.go index 5aae7e3057..0f52b846be 100644 --- a/sdk/go/google/dataplex/v1/dataAttributeBinding.go +++ b/sdk/go/google/dataplex/v1/dataAttributeBinding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a DataAttributeBinding resource. @@ -159,6 +160,12 @@ func (i *DataAttributeBinding) ToDataAttributeBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DataAttributeBindingOutput) } +func (i *DataAttributeBinding) ToOutput(ctx context.Context) pulumix.Output[*DataAttributeBinding] { + return pulumix.Output[*DataAttributeBinding]{ + OutputState: i.ToDataAttributeBindingOutputWithContext(ctx).OutputState, + } +} + type DataAttributeBindingOutput struct{ *pulumi.OutputState } func (DataAttributeBindingOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o DataAttributeBindingOutput) ToDataAttributeBindingOutputWithContext(ctx return o } +func (o DataAttributeBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DataAttributeBinding] { + return pulumix.Output[*DataAttributeBinding]{ + OutputState: o.OutputState, + } +} + // Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id} func (o DataAttributeBindingOutput) Attributes() pulumi.StringArrayOutput { return o.ApplyT(func(v *DataAttributeBinding) pulumi.StringArrayOutput { return v.Attributes }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/dataplex/v1/dataAttributeBindingIamBinding.go b/sdk/go/google/dataplex/v1/dataAttributeBindingIamBinding.go index 5a6c475629..7c32d3b830 100644 --- a/sdk/go/google/dataplex/v1/dataAttributeBindingIamBinding.go +++ b/sdk/go/google/dataplex/v1/dataAttributeBindingIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *DataAttributeBindingIamBinding) ToDataAttributeBindingIamBindingOutputW return pulumi.ToOutputWithContext(ctx, i).(DataAttributeBindingIamBindingOutput) } +func (i *DataAttributeBindingIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DataAttributeBindingIamBinding] { + return pulumix.Output[*DataAttributeBindingIamBinding]{ + OutputState: i.ToDataAttributeBindingIamBindingOutputWithContext(ctx).OutputState, + } +} + type DataAttributeBindingIamBindingOutput struct{ *pulumi.OutputState } func (DataAttributeBindingIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o DataAttributeBindingIamBindingOutput) ToDataAttributeBindingIamBindingOu return o } +func (o DataAttributeBindingIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DataAttributeBindingIamBinding] { + return pulumix.Output[*DataAttributeBindingIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataAttributeBindingIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataAttributeBindingIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/dataAttributeBindingIamMember.go b/sdk/go/google/dataplex/v1/dataAttributeBindingIamMember.go index 7c2c419251..ea1ccf27da 100644 --- a/sdk/go/google/dataplex/v1/dataAttributeBindingIamMember.go +++ b/sdk/go/google/dataplex/v1/dataAttributeBindingIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *DataAttributeBindingIamMember) ToDataAttributeBindingIamMemberOutputWit return pulumi.ToOutputWithContext(ctx, i).(DataAttributeBindingIamMemberOutput) } +func (i *DataAttributeBindingIamMember) ToOutput(ctx context.Context) pulumix.Output[*DataAttributeBindingIamMember] { + return pulumix.Output[*DataAttributeBindingIamMember]{ + OutputState: i.ToDataAttributeBindingIamMemberOutputWithContext(ctx).OutputState, + } +} + type DataAttributeBindingIamMemberOutput struct{ *pulumi.OutputState } func (DataAttributeBindingIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o DataAttributeBindingIamMemberOutput) ToDataAttributeBindingIamMemberOutp return o } +func (o DataAttributeBindingIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DataAttributeBindingIamMember] { + return pulumix.Output[*DataAttributeBindingIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataAttributeBindingIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataAttributeBindingIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/dataAttributeBindingIamPolicy.go b/sdk/go/google/dataplex/v1/dataAttributeBindingIamPolicy.go index 22de4d5932..e65645dac6 100644 --- a/sdk/go/google/dataplex/v1/dataAttributeBindingIamPolicy.go +++ b/sdk/go/google/dataplex/v1/dataAttributeBindingIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *DataAttributeBindingIamPolicy) ToDataAttributeBindingIamPolicyOutputWit return pulumi.ToOutputWithContext(ctx, i).(DataAttributeBindingIamPolicyOutput) } +func (i *DataAttributeBindingIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DataAttributeBindingIamPolicy] { + return pulumix.Output[*DataAttributeBindingIamPolicy]{ + OutputState: i.ToDataAttributeBindingIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DataAttributeBindingIamPolicyOutput struct{ *pulumi.OutputState } func (DataAttributeBindingIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataAttributeBindingIamPolicyOutput) ToDataAttributeBindingIamPolicyOutp return o } +func (o DataAttributeBindingIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DataAttributeBindingIamPolicy] { + return pulumix.Output[*DataAttributeBindingIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DataAttributeBindingIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DataAttributeBindingIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { diff --git a/sdk/go/google/dataplex/v1/dataScan.go b/sdk/go/google/dataplex/v1/dataScan.go index 42157233b8..da7a373769 100644 --- a/sdk/go/google/dataplex/v1/dataScan.go +++ b/sdk/go/google/dataplex/v1/dataScan.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a DataScan resource. @@ -172,6 +173,12 @@ func (i *DataScan) ToDataScanOutputWithContext(ctx context.Context) DataScanOutp return pulumi.ToOutputWithContext(ctx, i).(DataScanOutput) } +func (i *DataScan) ToOutput(ctx context.Context) pulumix.Output[*DataScan] { + return pulumix.Output[*DataScan]{ + OutputState: i.ToDataScanOutputWithContext(ctx).OutputState, + } +} + type DataScanOutput struct{ *pulumi.OutputState } func (DataScanOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o DataScanOutput) ToDataScanOutputWithContext(ctx context.Context) DataSca return o } +func (o DataScanOutput) ToOutput(ctx context.Context) pulumix.Output[*DataScan] { + return pulumix.Output[*DataScan]{ + OutputState: o.OutputState, + } +} + // The time when the scan was created. func (o DataScanOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *DataScan) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/dataScanIamBinding.go b/sdk/go/google/dataplex/v1/dataScanIamBinding.go index ed20819a57..27ac8473aa 100644 --- a/sdk/go/google/dataplex/v1/dataScanIamBinding.go +++ b/sdk/go/google/dataplex/v1/dataScanIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *DataScanIamBinding) ToDataScanIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DataScanIamBindingOutput) } +func (i *DataScanIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DataScanIamBinding] { + return pulumix.Output[*DataScanIamBinding]{ + OutputState: i.ToDataScanIamBindingOutputWithContext(ctx).OutputState, + } +} + type DataScanIamBindingOutput struct{ *pulumi.OutputState } func (DataScanIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o DataScanIamBindingOutput) ToDataScanIamBindingOutputWithContext(ctx cont return o } +func (o DataScanIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DataScanIamBinding] { + return pulumix.Output[*DataScanIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataScanIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataScanIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/dataScanIamMember.go b/sdk/go/google/dataplex/v1/dataScanIamMember.go index 7f8cc18c84..9ca25b11eb 100644 --- a/sdk/go/google/dataplex/v1/dataScanIamMember.go +++ b/sdk/go/google/dataplex/v1/dataScanIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *DataScanIamMember) ToDataScanIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DataScanIamMemberOutput) } +func (i *DataScanIamMember) ToOutput(ctx context.Context) pulumix.Output[*DataScanIamMember] { + return pulumix.Output[*DataScanIamMember]{ + OutputState: i.ToDataScanIamMemberOutputWithContext(ctx).OutputState, + } +} + type DataScanIamMemberOutput struct{ *pulumi.OutputState } func (DataScanIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o DataScanIamMemberOutput) ToDataScanIamMemberOutputWithContext(ctx contex return o } +func (o DataScanIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DataScanIamMember] { + return pulumix.Output[*DataScanIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataScanIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataScanIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/dataScanIamPolicy.go b/sdk/go/google/dataplex/v1/dataScanIamPolicy.go index 187c01ce33..6a3df23558 100644 --- a/sdk/go/google/dataplex/v1/dataScanIamPolicy.go +++ b/sdk/go/google/dataplex/v1/dataScanIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *DataScanIamPolicy) ToDataScanIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DataScanIamPolicyOutput) } +func (i *DataScanIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DataScanIamPolicy] { + return pulumix.Output[*DataScanIamPolicy]{ + OutputState: i.ToDataScanIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DataScanIamPolicyOutput struct{ *pulumi.OutputState } func (DataScanIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataScanIamPolicyOutput) ToDataScanIamPolicyOutputWithContext(ctx contex return o } +func (o DataScanIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DataScanIamPolicy] { + return pulumix.Output[*DataScanIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DataScanIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DataScanIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/dataTaxonomy.go b/sdk/go/google/dataplex/v1/dataTaxonomy.go index 94e559cde1..5f15fa3dad 100644 --- a/sdk/go/google/dataplex/v1/dataTaxonomy.go +++ b/sdk/go/google/dataplex/v1/dataTaxonomy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a DataTaxonomy resource. @@ -143,6 +144,12 @@ func (i *DataTaxonomy) ToDataTaxonomyOutputWithContext(ctx context.Context) Data return pulumi.ToOutputWithContext(ctx, i).(DataTaxonomyOutput) } +func (i *DataTaxonomy) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomy] { + return pulumix.Output[*DataTaxonomy]{ + OutputState: i.ToDataTaxonomyOutputWithContext(ctx).OutputState, + } +} + type DataTaxonomyOutput struct{ *pulumi.OutputState } func (DataTaxonomyOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o DataTaxonomyOutput) ToDataTaxonomyOutputWithContext(ctx context.Context) return o } +func (o DataTaxonomyOutput) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomy] { + return pulumix.Output[*DataTaxonomy]{ + OutputState: o.OutputState, + } +} + // The number of attributes in the DataTaxonomy. func (o DataTaxonomyOutput) AttributeCount() pulumi.IntOutput { return o.ApplyT(func(v *DataTaxonomy) pulumi.IntOutput { return v.AttributeCount }).(pulumi.IntOutput) diff --git a/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamBinding.go b/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamBinding.go index 55d4977fc5..f97c565735 100644 --- a/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamBinding.go +++ b/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *DataTaxonomyAttributeIamBinding) ToDataTaxonomyAttributeIamBindingOutpu return pulumi.ToOutputWithContext(ctx, i).(DataTaxonomyAttributeIamBindingOutput) } +func (i *DataTaxonomyAttributeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyAttributeIamBinding] { + return pulumix.Output[*DataTaxonomyAttributeIamBinding]{ + OutputState: i.ToDataTaxonomyAttributeIamBindingOutputWithContext(ctx).OutputState, + } +} + type DataTaxonomyAttributeIamBindingOutput struct{ *pulumi.OutputState } func (DataTaxonomyAttributeIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o DataTaxonomyAttributeIamBindingOutput) ToDataTaxonomyAttributeIamBinding return o } +func (o DataTaxonomyAttributeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyAttributeIamBinding] { + return pulumix.Output[*DataTaxonomyAttributeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataTaxonomyAttributeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataTaxonomyAttributeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamMember.go b/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamMember.go index 4625f05e88..43110f9016 100644 --- a/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamMember.go +++ b/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *DataTaxonomyAttributeIamMember) ToDataTaxonomyAttributeIamMemberOutputW return pulumi.ToOutputWithContext(ctx, i).(DataTaxonomyAttributeIamMemberOutput) } +func (i *DataTaxonomyAttributeIamMember) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyAttributeIamMember] { + return pulumix.Output[*DataTaxonomyAttributeIamMember]{ + OutputState: i.ToDataTaxonomyAttributeIamMemberOutputWithContext(ctx).OutputState, + } +} + type DataTaxonomyAttributeIamMemberOutput struct{ *pulumi.OutputState } func (DataTaxonomyAttributeIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o DataTaxonomyAttributeIamMemberOutput) ToDataTaxonomyAttributeIamMemberOu return o } +func (o DataTaxonomyAttributeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyAttributeIamMember] { + return pulumix.Output[*DataTaxonomyAttributeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataTaxonomyAttributeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataTaxonomyAttributeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamPolicy.go b/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamPolicy.go index 7489c57d76..35b1672ea3 100644 --- a/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamPolicy.go +++ b/sdk/go/google/dataplex/v1/dataTaxonomyAttributeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -142,6 +143,12 @@ func (i *DataTaxonomyAttributeIamPolicy) ToDataTaxonomyAttributeIamPolicyOutputW return pulumi.ToOutputWithContext(ctx, i).(DataTaxonomyAttributeIamPolicyOutput) } +func (i *DataTaxonomyAttributeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyAttributeIamPolicy] { + return pulumix.Output[*DataTaxonomyAttributeIamPolicy]{ + OutputState: i.ToDataTaxonomyAttributeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DataTaxonomyAttributeIamPolicyOutput struct{ *pulumi.OutputState } func (DataTaxonomyAttributeIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DataTaxonomyAttributeIamPolicyOutput) ToDataTaxonomyAttributeIamPolicyOu return o } +func (o DataTaxonomyAttributeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyAttributeIamPolicy] { + return pulumix.Output[*DataTaxonomyAttributeIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o DataTaxonomyAttributeIamPolicyOutput) AttributeId() pulumi.StringOutput { return o.ApplyT(func(v *DataTaxonomyAttributeIamPolicy) pulumi.StringOutput { return v.AttributeId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dataplex/v1/dataTaxonomyIamBinding.go b/sdk/go/google/dataplex/v1/dataTaxonomyIamBinding.go index 4a1df1e30b..76c3a10270 100644 --- a/sdk/go/google/dataplex/v1/dataTaxonomyIamBinding.go +++ b/sdk/go/google/dataplex/v1/dataTaxonomyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *DataTaxonomyIamBinding) ToDataTaxonomyIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DataTaxonomyIamBindingOutput) } +func (i *DataTaxonomyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyIamBinding] { + return pulumix.Output[*DataTaxonomyIamBinding]{ + OutputState: i.ToDataTaxonomyIamBindingOutputWithContext(ctx).OutputState, + } +} + type DataTaxonomyIamBindingOutput struct{ *pulumi.OutputState } func (DataTaxonomyIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o DataTaxonomyIamBindingOutput) ToDataTaxonomyIamBindingOutputWithContext( return o } +func (o DataTaxonomyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyIamBinding] { + return pulumix.Output[*DataTaxonomyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataTaxonomyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataTaxonomyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/dataTaxonomyIamMember.go b/sdk/go/google/dataplex/v1/dataTaxonomyIamMember.go index adef184b6b..4c56e5fbea 100644 --- a/sdk/go/google/dataplex/v1/dataTaxonomyIamMember.go +++ b/sdk/go/google/dataplex/v1/dataTaxonomyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *DataTaxonomyIamMember) ToDataTaxonomyIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DataTaxonomyIamMemberOutput) } +func (i *DataTaxonomyIamMember) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyIamMember] { + return pulumix.Output[*DataTaxonomyIamMember]{ + OutputState: i.ToDataTaxonomyIamMemberOutputWithContext(ctx).OutputState, + } +} + type DataTaxonomyIamMemberOutput struct{ *pulumi.OutputState } func (DataTaxonomyIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o DataTaxonomyIamMemberOutput) ToDataTaxonomyIamMemberOutputWithContext(ct return o } +func (o DataTaxonomyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyIamMember] { + return pulumix.Output[*DataTaxonomyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DataTaxonomyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DataTaxonomyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/dataTaxonomyIamPolicy.go b/sdk/go/google/dataplex/v1/dataTaxonomyIamPolicy.go index fc44725842..ac87bcf280 100644 --- a/sdk/go/google/dataplex/v1/dataTaxonomyIamPolicy.go +++ b/sdk/go/google/dataplex/v1/dataTaxonomyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *DataTaxonomyIamPolicy) ToDataTaxonomyIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DataTaxonomyIamPolicyOutput) } +func (i *DataTaxonomyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyIamPolicy] { + return pulumix.Output[*DataTaxonomyIamPolicy]{ + OutputState: i.ToDataTaxonomyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DataTaxonomyIamPolicyOutput struct{ *pulumi.OutputState } func (DataTaxonomyIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DataTaxonomyIamPolicyOutput) ToDataTaxonomyIamPolicyOutputWithContext(ct return o } +func (o DataTaxonomyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DataTaxonomyIamPolicy] { + return pulumix.Output[*DataTaxonomyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DataTaxonomyIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DataTaxonomyIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/entity.go b/sdk/go/google/dataplex/v1/entity.go index e7701bd4a7..af21597e63 100644 --- a/sdk/go/google/dataplex/v1/entity.go +++ b/sdk/go/google/dataplex/v1/entity.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a metadata entity. @@ -209,6 +210,12 @@ func (i *Entity) ToEntityOutputWithContext(ctx context.Context) EntityOutput { return pulumi.ToOutputWithContext(ctx, i).(EntityOutput) } +func (i *Entity) ToOutput(ctx context.Context) pulumix.Output[*Entity] { + return pulumix.Output[*Entity]{ + OutputState: i.ToEntityOutputWithContext(ctx).OutputState, + } +} + type EntityOutput struct{ *pulumi.OutputState } func (EntityOutput) ElementType() reflect.Type { @@ -223,6 +230,12 @@ func (o EntityOutput) ToEntityOutputWithContext(ctx context.Context) EntityOutpu return o } +func (o EntityOutput) ToOutput(ctx context.Context) pulumix.Output[*Entity] { + return pulumix.Output[*Entity]{ + OutputState: o.OutputState, + } +} + // Identifies the access mechanism to the entity. Not user settable. func (o EntityOutput) Access() GoogleCloudDataplexV1StorageAccessResponseOutput { return o.ApplyT(func(v *Entity) GoogleCloudDataplexV1StorageAccessResponseOutput { return v.Access }).(GoogleCloudDataplexV1StorageAccessResponseOutput) diff --git a/sdk/go/google/dataplex/v1/entryGroupIamBinding.go b/sdk/go/google/dataplex/v1/entryGroupIamBinding.go index 0f2c79ef24..08bb36e247 100644 --- a/sdk/go/google/dataplex/v1/entryGroupIamBinding.go +++ b/sdk/go/google/dataplex/v1/entryGroupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *EntryGroupIamBinding) ToEntryGroupIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(EntryGroupIamBindingOutput) } +func (i *EntryGroupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamBinding] { + return pulumix.Output[*EntryGroupIamBinding]{ + OutputState: i.ToEntryGroupIamBindingOutputWithContext(ctx).OutputState, + } +} + type EntryGroupIamBindingOutput struct{ *pulumi.OutputState } func (EntryGroupIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o EntryGroupIamBindingOutput) ToEntryGroupIamBindingOutputWithContext(ctx return o } +func (o EntryGroupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamBinding] { + return pulumix.Output[*EntryGroupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EntryGroupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EntryGroupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/entryGroupIamMember.go b/sdk/go/google/dataplex/v1/entryGroupIamMember.go index d811b2a674..6041c59ebb 100644 --- a/sdk/go/google/dataplex/v1/entryGroupIamMember.go +++ b/sdk/go/google/dataplex/v1/entryGroupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *EntryGroupIamMember) ToEntryGroupIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EntryGroupIamMemberOutput) } +func (i *EntryGroupIamMember) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamMember] { + return pulumix.Output[*EntryGroupIamMember]{ + OutputState: i.ToEntryGroupIamMemberOutputWithContext(ctx).OutputState, + } +} + type EntryGroupIamMemberOutput struct{ *pulumi.OutputState } func (EntryGroupIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o EntryGroupIamMemberOutput) ToEntryGroupIamMemberOutputWithContext(ctx co return o } +func (o EntryGroupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamMember] { + return pulumix.Output[*EntryGroupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EntryGroupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EntryGroupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/entryGroupIamPolicy.go b/sdk/go/google/dataplex/v1/entryGroupIamPolicy.go index dedcf89ea4..3351c716c0 100644 --- a/sdk/go/google/dataplex/v1/entryGroupIamPolicy.go +++ b/sdk/go/google/dataplex/v1/entryGroupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *EntryGroupIamPolicy) ToEntryGroupIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EntryGroupIamPolicyOutput) } +func (i *EntryGroupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamPolicy] { + return pulumix.Output[*EntryGroupIamPolicy]{ + OutputState: i.ToEntryGroupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EntryGroupIamPolicyOutput struct{ *pulumi.OutputState } func (EntryGroupIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EntryGroupIamPolicyOutput) ToEntryGroupIamPolicyOutputWithContext(ctx co return o } +func (o EntryGroupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryGroupIamPolicy] { + return pulumix.Output[*EntryGroupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o EntryGroupIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *EntryGroupIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/entryTypeIamBinding.go b/sdk/go/google/dataplex/v1/entryTypeIamBinding.go index 7cbf14d672..18a1db4fbb 100644 --- a/sdk/go/google/dataplex/v1/entryTypeIamBinding.go +++ b/sdk/go/google/dataplex/v1/entryTypeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *EntryTypeIamBinding) ToEntryTypeIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EntryTypeIamBindingOutput) } +func (i *EntryTypeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EntryTypeIamBinding] { + return pulumix.Output[*EntryTypeIamBinding]{ + OutputState: i.ToEntryTypeIamBindingOutputWithContext(ctx).OutputState, + } +} + type EntryTypeIamBindingOutput struct{ *pulumi.OutputState } func (EntryTypeIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o EntryTypeIamBindingOutput) ToEntryTypeIamBindingOutputWithContext(ctx co return o } +func (o EntryTypeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryTypeIamBinding] { + return pulumix.Output[*EntryTypeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EntryTypeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EntryTypeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/entryTypeIamMember.go b/sdk/go/google/dataplex/v1/entryTypeIamMember.go index 6acece2dc0..d6371f350d 100644 --- a/sdk/go/google/dataplex/v1/entryTypeIamMember.go +++ b/sdk/go/google/dataplex/v1/entryTypeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *EntryTypeIamMember) ToEntryTypeIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(EntryTypeIamMemberOutput) } +func (i *EntryTypeIamMember) ToOutput(ctx context.Context) pulumix.Output[*EntryTypeIamMember] { + return pulumix.Output[*EntryTypeIamMember]{ + OutputState: i.ToEntryTypeIamMemberOutputWithContext(ctx).OutputState, + } +} + type EntryTypeIamMemberOutput struct{ *pulumi.OutputState } func (EntryTypeIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o EntryTypeIamMemberOutput) ToEntryTypeIamMemberOutputWithContext(ctx cont return o } +func (o EntryTypeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryTypeIamMember] { + return pulumix.Output[*EntryTypeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EntryTypeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EntryTypeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/entryTypeIamPolicy.go b/sdk/go/google/dataplex/v1/entryTypeIamPolicy.go index 9179435bab..8c2fdd4257 100644 --- a/sdk/go/google/dataplex/v1/entryTypeIamPolicy.go +++ b/sdk/go/google/dataplex/v1/entryTypeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *EntryTypeIamPolicy) ToEntryTypeIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(EntryTypeIamPolicyOutput) } +func (i *EntryTypeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EntryTypeIamPolicy] { + return pulumix.Output[*EntryTypeIamPolicy]{ + OutputState: i.ToEntryTypeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EntryTypeIamPolicyOutput struct{ *pulumi.OutputState } func (EntryTypeIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EntryTypeIamPolicyOutput) ToEntryTypeIamPolicyOutputWithContext(ctx cont return o } +func (o EntryTypeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EntryTypeIamPolicy] { + return pulumix.Output[*EntryTypeIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o EntryTypeIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *EntryTypeIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/environment.go b/sdk/go/google/dataplex/v1/environment.go index f44673bf4a..2c7dba7ebe 100644 --- a/sdk/go/google/dataplex/v1/environment.go +++ b/sdk/go/google/dataplex/v1/environment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an environment resource. @@ -163,6 +164,12 @@ func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) Enviro return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i *Environment) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + type EnvironmentOutput struct{ *pulumi.OutputState } func (EnvironmentOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) E return o } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + // Environment creation time. func (o EnvironmentOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Environment) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/getAspectTypeIamPolicy.go b/sdk/go/google/dataplex/v1/getAspectTypeIamPolicy.go index c10c48ded7..749fde553a 100644 --- a/sdk/go/google/dataplex/v1/getAspectTypeIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getAspectTypeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupAspectTypeIamPolicyResultOutput) ToLookupAspectTypeIamPolicyResult return o } +func (o LookupAspectTypeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAspectTypeIamPolicyResult] { + return pulumix.Output[LookupAspectTypeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAspectTypeIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAspectTypeIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getAsset.go b/sdk/go/google/dataplex/v1/getAsset.go index d99187a2e6..359d9620f0 100644 --- a/sdk/go/google/dataplex/v1/getAsset.go +++ b/sdk/go/google/dataplex/v1/getAsset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves an asset resource. @@ -98,6 +99,12 @@ func (o LookupAssetResultOutput) ToLookupAssetResultOutputWithContext(ctx contex return o } +func (o LookupAssetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAssetResult] { + return pulumix.Output[LookupAssetResult]{ + OutputState: o.OutputState, + } +} + // The time when the asset was created. func (o LookupAssetResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupAssetResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/getAttribute.go b/sdk/go/google/dataplex/v1/getAttribute.go index a17ecda80a..b92fe63069 100644 --- a/sdk/go/google/dataplex/v1/getAttribute.go +++ b/sdk/go/google/dataplex/v1/getAttribute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a Data Attribute resource. @@ -94,6 +95,12 @@ func (o LookupAttributeResultOutput) ToLookupAttributeResultOutputWithContext(ct return o } +func (o LookupAttributeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAttributeResult] { + return pulumix.Output[LookupAttributeResult]{ + OutputState: o.OutputState, + } +} + // The number of child attributes present for this attribute. func (o LookupAttributeResultOutput) AttributeCount() pulumi.IntOutput { return o.ApplyT(func(v LookupAttributeResult) int { return v.AttributeCount }).(pulumi.IntOutput) diff --git a/sdk/go/google/dataplex/v1/getContent.go b/sdk/go/google/dataplex/v1/getContent.go index 4bfb5cc8a4..e68a0b787f 100644 --- a/sdk/go/google/dataplex/v1/getContent.go +++ b/sdk/go/google/dataplex/v1/getContent.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a content resource. @@ -92,6 +93,12 @@ func (o LookupContentResultOutput) ToLookupContentResultOutputWithContext(ctx co return o } +func (o LookupContentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupContentResult] { + return pulumix.Output[LookupContentResult]{ + OutputState: o.OutputState, + } +} + // Content creation time. func (o LookupContentResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupContentResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/getContentitem.go b/sdk/go/google/dataplex/v1/getContentitem.go index cbe2f72759..38abb07845 100644 --- a/sdk/go/google/dataplex/v1/getContentitem.go +++ b/sdk/go/google/dataplex/v1/getContentitem.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a content resource. @@ -92,6 +93,12 @@ func (o LookupContentitemResultOutput) ToLookupContentitemResultOutputWithContex return o } +func (o LookupContentitemResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupContentitemResult] { + return pulumix.Output[LookupContentitemResult]{ + OutputState: o.OutputState, + } +} + // Content creation time. func (o LookupContentitemResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupContentitemResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/getDataAttributeBinding.go b/sdk/go/google/dataplex/v1/getDataAttributeBinding.go index 2555de4e74..e021f7bba4 100644 --- a/sdk/go/google/dataplex/v1/getDataAttributeBinding.go +++ b/sdk/go/google/dataplex/v1/getDataAttributeBinding.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a DataAttributeBinding resource. @@ -90,6 +91,12 @@ func (o LookupDataAttributeBindingResultOutput) ToLookupDataAttributeBindingResu return o } +func (o LookupDataAttributeBindingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataAttributeBindingResult] { + return pulumix.Output[LookupDataAttributeBindingResult]{ + OutputState: o.OutputState, + } +} + // Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id} func (o LookupDataAttributeBindingResultOutput) Attributes() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupDataAttributeBindingResult) []string { return v.Attributes }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getDataAttributeBindingIamPolicy.go b/sdk/go/google/dataplex/v1/getDataAttributeBindingIamPolicy.go index 9088e71e30..a9f546c450 100644 --- a/sdk/go/google/dataplex/v1/getDataAttributeBindingIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getDataAttributeBindingIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupDataAttributeBindingIamPolicyResultOutput) ToLookupDataAttributeBi return o } +func (o LookupDataAttributeBindingIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataAttributeBindingIamPolicyResult] { + return pulumix.Output[LookupDataAttributeBindingIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDataAttributeBindingIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDataAttributeBindingIamPolicyResult) []GoogleIamV1AuditConfigResponse { diff --git a/sdk/go/google/dataplex/v1/getDataScan.go b/sdk/go/google/dataplex/v1/getDataScan.go index 66b08b0bec..54e22e2720 100644 --- a/sdk/go/google/dataplex/v1/getDataScan.go +++ b/sdk/go/google/dataplex/v1/getDataScan.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a DataScan resource. @@ -102,6 +103,12 @@ func (o LookupDataScanResultOutput) ToLookupDataScanResultOutputWithContext(ctx return o } +func (o LookupDataScanResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataScanResult] { + return pulumix.Output[LookupDataScanResult]{ + OutputState: o.OutputState, + } +} + // The time when the scan was created. func (o LookupDataScanResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupDataScanResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/getDataScanIamPolicy.go b/sdk/go/google/dataplex/v1/getDataScanIamPolicy.go index 592c07a646..d72d8157ff 100644 --- a/sdk/go/google/dataplex/v1/getDataScanIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getDataScanIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupDataScanIamPolicyResultOutput) ToLookupDataScanIamPolicyResultOutp return o } +func (o LookupDataScanIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataScanIamPolicyResult] { + return pulumix.Output[LookupDataScanIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDataScanIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDataScanIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getDataTaxonomy.go b/sdk/go/google/dataplex/v1/getDataTaxonomy.go index f0fabf57ef..2647657ac7 100644 --- a/sdk/go/google/dataplex/v1/getDataTaxonomy.go +++ b/sdk/go/google/dataplex/v1/getDataTaxonomy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a DataTaxonomy resource. @@ -86,6 +87,12 @@ func (o LookupDataTaxonomyResultOutput) ToLookupDataTaxonomyResultOutputWithCont return o } +func (o LookupDataTaxonomyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataTaxonomyResult] { + return pulumix.Output[LookupDataTaxonomyResult]{ + OutputState: o.OutputState, + } +} + // The number of attributes in the DataTaxonomy. func (o LookupDataTaxonomyResultOutput) AttributeCount() pulumi.IntOutput { return o.ApplyT(func(v LookupDataTaxonomyResult) int { return v.AttributeCount }).(pulumi.IntOutput) diff --git a/sdk/go/google/dataplex/v1/getDataTaxonomyAttributeIamPolicy.go b/sdk/go/google/dataplex/v1/getDataTaxonomyAttributeIamPolicy.go index 0e84bdb145..06f14ece53 100644 --- a/sdk/go/google/dataplex/v1/getDataTaxonomyAttributeIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getDataTaxonomyAttributeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupDataTaxonomyAttributeIamPolicyResultOutput) ToLookupDataTaxonomyAt return o } +func (o LookupDataTaxonomyAttributeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataTaxonomyAttributeIamPolicyResult] { + return pulumix.Output[LookupDataTaxonomyAttributeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDataTaxonomyAttributeIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDataTaxonomyAttributeIamPolicyResult) []GoogleIamV1AuditConfigResponse { diff --git a/sdk/go/google/dataplex/v1/getDataTaxonomyIamPolicy.go b/sdk/go/google/dataplex/v1/getDataTaxonomyIamPolicy.go index 6efc842a53..77eda460fd 100644 --- a/sdk/go/google/dataplex/v1/getDataTaxonomyIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getDataTaxonomyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupDataTaxonomyIamPolicyResultOutput) ToLookupDataTaxonomyIamPolicyRe return o } +func (o LookupDataTaxonomyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDataTaxonomyIamPolicyResult] { + return pulumix.Output[LookupDataTaxonomyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDataTaxonomyIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDataTaxonomyIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getEntity.go b/sdk/go/google/dataplex/v1/getEntity.go index 5ef118cb41..279ed2e07b 100644 --- a/sdk/go/google/dataplex/v1/getEntity.go +++ b/sdk/go/google/dataplex/v1/getEntity.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a metadata entity. @@ -108,6 +109,12 @@ func (o LookupEntityResultOutput) ToLookupEntityResultOutputWithContext(ctx cont return o } +func (o LookupEntityResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntityResult] { + return pulumix.Output[LookupEntityResult]{ + OutputState: o.OutputState, + } +} + // Identifies the access mechanism to the entity. Not user settable. func (o LookupEntityResultOutput) Access() GoogleCloudDataplexV1StorageAccessResponseOutput { return o.ApplyT(func(v LookupEntityResult) GoogleCloudDataplexV1StorageAccessResponse { return v.Access }).(GoogleCloudDataplexV1StorageAccessResponseOutput) diff --git a/sdk/go/google/dataplex/v1/getEntryGroupIamPolicy.go b/sdk/go/google/dataplex/v1/getEntryGroupIamPolicy.go index f95236f720..c29cb13241 100644 --- a/sdk/go/google/dataplex/v1/getEntryGroupIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getEntryGroupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupEntryGroupIamPolicyResultOutput) ToLookupEntryGroupIamPolicyResult return o } +func (o LookupEntryGroupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntryGroupIamPolicyResult] { + return pulumix.Output[LookupEntryGroupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupEntryGroupIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupEntryGroupIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getEntryTypeIamPolicy.go b/sdk/go/google/dataplex/v1/getEntryTypeIamPolicy.go index 8cb2af5c7b..95a8439dbc 100644 --- a/sdk/go/google/dataplex/v1/getEntryTypeIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getEntryTypeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupEntryTypeIamPolicyResultOutput) ToLookupEntryTypeIamPolicyResultOu return o } +func (o LookupEntryTypeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntryTypeIamPolicyResult] { + return pulumix.Output[LookupEntryTypeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupEntryTypeIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupEntryTypeIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getEnvironment.go b/sdk/go/google/dataplex/v1/getEnvironment.go index 5b01515e0a..0d40044dbb 100644 --- a/sdk/go/google/dataplex/v1/getEnvironment.go +++ b/sdk/go/google/dataplex/v1/getEnvironment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get environment resource. @@ -94,6 +95,12 @@ func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContex return o } +func (o LookupEnvironmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentResult] { + return pulumix.Output[LookupEnvironmentResult]{ + OutputState: o.OutputState, + } +} + // Environment creation time. func (o LookupEnvironmentResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupEnvironmentResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/getLake.go b/sdk/go/google/dataplex/v1/getLake.go index 0647ac7813..271dbb0490 100644 --- a/sdk/go/google/dataplex/v1/getLake.go +++ b/sdk/go/google/dataplex/v1/getLake.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a lake resource. @@ -92,6 +93,12 @@ func (o LookupLakeResultOutput) ToLookupLakeResultOutputWithContext(ctx context. return o } +func (o LookupLakeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLakeResult] { + return pulumix.Output[LookupLakeResult]{ + OutputState: o.OutputState, + } +} + // Aggregated status of the underlying assets of the lake. func (o LookupLakeResultOutput) AssetStatus() GoogleCloudDataplexV1AssetStatusResponseOutput { return o.ApplyT(func(v LookupLakeResult) GoogleCloudDataplexV1AssetStatusResponse { return v.AssetStatus }).(GoogleCloudDataplexV1AssetStatusResponseOutput) diff --git a/sdk/go/google/dataplex/v1/getLakeAssetIamPolicy.go b/sdk/go/google/dataplex/v1/getLakeAssetIamPolicy.go index 6d58e60902..ab606bf5a5 100644 --- a/sdk/go/google/dataplex/v1/getLakeAssetIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getLakeAssetIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -82,6 +83,12 @@ func (o LookupLakeAssetIamPolicyResultOutput) ToLookupLakeAssetIamPolicyResultOu return o } +func (o LookupLakeAssetIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLakeAssetIamPolicyResult] { + return pulumix.Output[LookupLakeAssetIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLakeAssetIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLakeAssetIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getLakeContentIamPolicy.go b/sdk/go/google/dataplex/v1/getLakeContentIamPolicy.go index 0c5e321be3..afa3f9acd6 100644 --- a/sdk/go/google/dataplex/v1/getLakeContentIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getLakeContentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a contentitem resource. A NOT_FOUND error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.Caller must have Google IAM dataplex.content.getIamPolicy permission on the resource. @@ -80,6 +81,12 @@ func (o LookupLakeContentIamPolicyResultOutput) ToLookupLakeContentIamPolicyResu return o } +func (o LookupLakeContentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLakeContentIamPolicyResult] { + return pulumix.Output[LookupLakeContentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLakeContentIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLakeContentIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getLakeContentitemIamPolicy.go b/sdk/go/google/dataplex/v1/getLakeContentitemIamPolicy.go index cdf2452d83..647f9511bf 100644 --- a/sdk/go/google/dataplex/v1/getLakeContentitemIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getLakeContentitemIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a contentitem resource. A NOT_FOUND error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.Caller must have Google IAM dataplex.content.getIamPolicy permission on the resource. @@ -80,6 +81,12 @@ func (o LookupLakeContentitemIamPolicyResultOutput) ToLookupLakeContentitemIamPo return o } +func (o LookupLakeContentitemIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLakeContentitemIamPolicyResult] { + return pulumix.Output[LookupLakeContentitemIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLakeContentitemIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLakeContentitemIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getLakeEnvironmentIamPolicy.go b/sdk/go/google/dataplex/v1/getLakeEnvironmentIamPolicy.go index beb7fce100..ba7c61da1d 100644 --- a/sdk/go/google/dataplex/v1/getLakeEnvironmentIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getLakeEnvironmentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupLakeEnvironmentIamPolicyResultOutput) ToLookupLakeEnvironmentIamPo return o } +func (o LookupLakeEnvironmentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLakeEnvironmentIamPolicyResult] { + return pulumix.Output[LookupLakeEnvironmentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLakeEnvironmentIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLakeEnvironmentIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getLakeIamPolicy.go b/sdk/go/google/dataplex/v1/getLakeIamPolicy.go index 28b44de154..56f8233e91 100644 --- a/sdk/go/google/dataplex/v1/getLakeIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getLakeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupLakeIamPolicyResultOutput) ToLookupLakeIamPolicyResultOutputWithCo return o } +func (o LookupLakeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLakeIamPolicyResult] { + return pulumix.Output[LookupLakeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLakeIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLakeIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getLakeTaskIamPolicy.go b/sdk/go/google/dataplex/v1/getLakeTaskIamPolicy.go index d83433c254..88d201afce 100644 --- a/sdk/go/google/dataplex/v1/getLakeTaskIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getLakeTaskIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupLakeTaskIamPolicyResultOutput) ToLookupLakeTaskIamPolicyResultOutp return o } +func (o LookupLakeTaskIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLakeTaskIamPolicyResult] { + return pulumix.Output[LookupLakeTaskIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLakeTaskIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLakeTaskIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getLakeZoneIamPolicy.go b/sdk/go/google/dataplex/v1/getLakeZoneIamPolicy.go index 356ef467d8..071dfe1396 100644 --- a/sdk/go/google/dataplex/v1/getLakeZoneIamPolicy.go +++ b/sdk/go/google/dataplex/v1/getLakeZoneIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupLakeZoneIamPolicyResultOutput) ToLookupLakeZoneIamPolicyResultOutp return o } +func (o LookupLakeZoneIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLakeZoneIamPolicyResult] { + return pulumix.Output[LookupLakeZoneIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupLakeZoneIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupLakeZoneIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/getPartition.go b/sdk/go/google/dataplex/v1/getPartition.go index 6589b6f80c..128cf1bdd9 100644 --- a/sdk/go/google/dataplex/v1/getPartition.go +++ b/sdk/go/google/dataplex/v1/getPartition.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a metadata partition of an entity. @@ -82,6 +83,12 @@ func (o LookupPartitionResultOutput) ToLookupPartitionResultOutputWithContext(ct return o } +func (o LookupPartitionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPartitionResult] { + return pulumix.Output[LookupPartitionResult]{ + OutputState: o.OutputState, + } +} + // Optional. The etag for this partition. func (o LookupPartitionResultOutput) Etag() pulumi.StringOutput { return o.ApplyT(func(v LookupPartitionResult) string { return v.Etag }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/getTask.go b/sdk/go/google/dataplex/v1/getTask.go index f8a51bb539..916754a0d2 100644 --- a/sdk/go/google/dataplex/v1/getTask.go +++ b/sdk/go/google/dataplex/v1/getTask.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get task resource. @@ -96,6 +97,12 @@ func (o LookupTaskResultOutput) ToLookupTaskResultOutputWithContext(ctx context. return o } +func (o LookupTaskResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTaskResult] { + return pulumix.Output[LookupTaskResult]{ + OutputState: o.OutputState, + } +} + // The time when the task was created. func (o LookupTaskResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTaskResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/getZone.go b/sdk/go/google/dataplex/v1/getZone.go index 22a7caf5e6..aac90082d3 100644 --- a/sdk/go/google/dataplex/v1/getZone.go +++ b/sdk/go/google/dataplex/v1/getZone.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a zone resource. @@ -94,6 +95,12 @@ func (o LookupZoneResultOutput) ToLookupZoneResultOutputWithContext(ctx context. return o } +func (o LookupZoneResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupZoneResult] { + return pulumix.Output[LookupZoneResult]{ + OutputState: o.OutputState, + } +} + // Aggregated status of the underlying assets of the zone. func (o LookupZoneResultOutput) AssetStatus() GoogleCloudDataplexV1AssetStatusResponseOutput { return o.ApplyT(func(v LookupZoneResult) GoogleCloudDataplexV1AssetStatusResponse { return v.AssetStatus }).(GoogleCloudDataplexV1AssetStatusResponseOutput) diff --git a/sdk/go/google/dataplex/v1/lake.go b/sdk/go/google/dataplex/v1/lake.go index 4a0e27c273..3d95bd9dab 100644 --- a/sdk/go/google/dataplex/v1/lake.go +++ b/sdk/go/google/dataplex/v1/lake.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a lake resource. @@ -149,6 +150,12 @@ func (i *Lake) ToLakeOutputWithContext(ctx context.Context) LakeOutput { return pulumi.ToOutputWithContext(ctx, i).(LakeOutput) } +func (i *Lake) ToOutput(ctx context.Context) pulumix.Output[*Lake] { + return pulumix.Output[*Lake]{ + OutputState: i.ToLakeOutputWithContext(ctx).OutputState, + } +} + type LakeOutput struct{ *pulumi.OutputState } func (LakeOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o LakeOutput) ToLakeOutputWithContext(ctx context.Context) LakeOutput { return o } +func (o LakeOutput) ToOutput(ctx context.Context) pulumix.Output[*Lake] { + return pulumix.Output[*Lake]{ + OutputState: o.OutputState, + } +} + // Aggregated status of the underlying assets of the lake. func (o LakeOutput) AssetStatus() GoogleCloudDataplexV1AssetStatusResponseOutput { return o.ApplyT(func(v *Lake) GoogleCloudDataplexV1AssetStatusResponseOutput { return v.AssetStatus }).(GoogleCloudDataplexV1AssetStatusResponseOutput) diff --git a/sdk/go/google/dataplex/v1/lakeAssetIamBinding.go b/sdk/go/google/dataplex/v1/lakeAssetIamBinding.go index 2fa0f45389..7a830b6200 100644 --- a/sdk/go/google/dataplex/v1/lakeAssetIamBinding.go +++ b/sdk/go/google/dataplex/v1/lakeAssetIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *LakeAssetIamBinding) ToLakeAssetIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(LakeAssetIamBindingOutput) } +func (i *LakeAssetIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LakeAssetIamBinding] { + return pulumix.Output[*LakeAssetIamBinding]{ + OutputState: i.ToLakeAssetIamBindingOutputWithContext(ctx).OutputState, + } +} + type LakeAssetIamBindingOutput struct{ *pulumi.OutputState } func (LakeAssetIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeAssetIamBindingOutput) ToLakeAssetIamBindingOutputWithContext(ctx co return o } +func (o LakeAssetIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeAssetIamBinding] { + return pulumix.Output[*LakeAssetIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeAssetIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeAssetIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeAssetIamMember.go b/sdk/go/google/dataplex/v1/lakeAssetIamMember.go index 124c513479..d351cc8cfe 100644 --- a/sdk/go/google/dataplex/v1/lakeAssetIamMember.go +++ b/sdk/go/google/dataplex/v1/lakeAssetIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *LakeAssetIamMember) ToLakeAssetIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LakeAssetIamMemberOutput) } +func (i *LakeAssetIamMember) ToOutput(ctx context.Context) pulumix.Output[*LakeAssetIamMember] { + return pulumix.Output[*LakeAssetIamMember]{ + OutputState: i.ToLakeAssetIamMemberOutputWithContext(ctx).OutputState, + } +} + type LakeAssetIamMemberOutput struct{ *pulumi.OutputState } func (LakeAssetIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeAssetIamMemberOutput) ToLakeAssetIamMemberOutputWithContext(ctx cont return o } +func (o LakeAssetIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeAssetIamMember] { + return pulumix.Output[*LakeAssetIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeAssetIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeAssetIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeAssetIamPolicy.go b/sdk/go/google/dataplex/v1/lakeAssetIamPolicy.go index 7b038b3005..2b908a4269 100644 --- a/sdk/go/google/dataplex/v1/lakeAssetIamPolicy.go +++ b/sdk/go/google/dataplex/v1/lakeAssetIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -146,6 +147,12 @@ func (i *LakeAssetIamPolicy) ToLakeAssetIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LakeAssetIamPolicyOutput) } +func (i *LakeAssetIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LakeAssetIamPolicy] { + return pulumix.Output[*LakeAssetIamPolicy]{ + OutputState: i.ToLakeAssetIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LakeAssetIamPolicyOutput struct{ *pulumi.OutputState } func (LakeAssetIamPolicyOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o LakeAssetIamPolicyOutput) ToLakeAssetIamPolicyOutputWithContext(ctx cont return o } +func (o LakeAssetIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeAssetIamPolicy] { + return pulumix.Output[*LakeAssetIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o LakeAssetIamPolicyOutput) AssetId() pulumi.StringOutput { return o.ApplyT(func(v *LakeAssetIamPolicy) pulumi.StringOutput { return v.AssetId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dataplex/v1/lakeContentIamBinding.go b/sdk/go/google/dataplex/v1/lakeContentIamBinding.go index 8fa6bc9061..8d78960ec4 100644 --- a/sdk/go/google/dataplex/v1/lakeContentIamBinding.go +++ b/sdk/go/google/dataplex/v1/lakeContentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified contentitem resource. Replaces any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy permission on the resource. @@ -140,6 +141,12 @@ func (i *LakeContentIamBinding) ToLakeContentIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(LakeContentIamBindingOutput) } +func (i *LakeContentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LakeContentIamBinding] { + return pulumix.Output[*LakeContentIamBinding]{ + OutputState: i.ToLakeContentIamBindingOutputWithContext(ctx).OutputState, + } +} + type LakeContentIamBindingOutput struct{ *pulumi.OutputState } func (LakeContentIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeContentIamBindingOutput) ToLakeContentIamBindingOutputWithContext(ct return o } +func (o LakeContentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeContentIamBinding] { + return pulumix.Output[*LakeContentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeContentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeContentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeContentIamMember.go b/sdk/go/google/dataplex/v1/lakeContentIamMember.go index e7d7c2e2f5..7e3d018b79 100644 --- a/sdk/go/google/dataplex/v1/lakeContentIamMember.go +++ b/sdk/go/google/dataplex/v1/lakeContentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified contentitem resource. Replaces any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy permission on the resource. @@ -140,6 +141,12 @@ func (i *LakeContentIamMember) ToLakeContentIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(LakeContentIamMemberOutput) } +func (i *LakeContentIamMember) ToOutput(ctx context.Context) pulumix.Output[*LakeContentIamMember] { + return pulumix.Output[*LakeContentIamMember]{ + OutputState: i.ToLakeContentIamMemberOutputWithContext(ctx).OutputState, + } +} + type LakeContentIamMemberOutput struct{ *pulumi.OutputState } func (LakeContentIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeContentIamMemberOutput) ToLakeContentIamMemberOutputWithContext(ctx return o } +func (o LakeContentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeContentIamMember] { + return pulumix.Output[*LakeContentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeContentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeContentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeContentIamPolicy.go b/sdk/go/google/dataplex/v1/lakeContentIamPolicy.go index 2c207a09cc..4ec0cad694 100644 --- a/sdk/go/google/dataplex/v1/lakeContentIamPolicy.go +++ b/sdk/go/google/dataplex/v1/lakeContentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified contentitem resource. Replaces any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy permission on the resource. @@ -142,6 +143,12 @@ func (i *LakeContentIamPolicy) ToLakeContentIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(LakeContentIamPolicyOutput) } +func (i *LakeContentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LakeContentIamPolicy] { + return pulumix.Output[*LakeContentIamPolicy]{ + OutputState: i.ToLakeContentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LakeContentIamPolicyOutput struct{ *pulumi.OutputState } func (LakeContentIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o LakeContentIamPolicyOutput) ToLakeContentIamPolicyOutputWithContext(ctx return o } +func (o LakeContentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeContentIamPolicy] { + return pulumix.Output[*LakeContentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LakeContentIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *LakeContentIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/lakeContentitemIamBinding.go b/sdk/go/google/dataplex/v1/lakeContentitemIamBinding.go index 97690b81f6..e0408039d2 100644 --- a/sdk/go/google/dataplex/v1/lakeContentitemIamBinding.go +++ b/sdk/go/google/dataplex/v1/lakeContentitemIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified contentitem resource. Replaces any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy permission on the resource. @@ -140,6 +141,12 @@ func (i *LakeContentitemIamBinding) ToLakeContentitemIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(LakeContentitemIamBindingOutput) } +func (i *LakeContentitemIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LakeContentitemIamBinding] { + return pulumix.Output[*LakeContentitemIamBinding]{ + OutputState: i.ToLakeContentitemIamBindingOutputWithContext(ctx).OutputState, + } +} + type LakeContentitemIamBindingOutput struct{ *pulumi.OutputState } func (LakeContentitemIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeContentitemIamBindingOutput) ToLakeContentitemIamBindingOutputWithCo return o } +func (o LakeContentitemIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeContentitemIamBinding] { + return pulumix.Output[*LakeContentitemIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeContentitemIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeContentitemIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeContentitemIamMember.go b/sdk/go/google/dataplex/v1/lakeContentitemIamMember.go index fc2d0aa2eb..42071ec4b4 100644 --- a/sdk/go/google/dataplex/v1/lakeContentitemIamMember.go +++ b/sdk/go/google/dataplex/v1/lakeContentitemIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified contentitem resource. Replaces any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy permission on the resource. @@ -140,6 +141,12 @@ func (i *LakeContentitemIamMember) ToLakeContentitemIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(LakeContentitemIamMemberOutput) } +func (i *LakeContentitemIamMember) ToOutput(ctx context.Context) pulumix.Output[*LakeContentitemIamMember] { + return pulumix.Output[*LakeContentitemIamMember]{ + OutputState: i.ToLakeContentitemIamMemberOutputWithContext(ctx).OutputState, + } +} + type LakeContentitemIamMemberOutput struct{ *pulumi.OutputState } func (LakeContentitemIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeContentitemIamMemberOutput) ToLakeContentitemIamMemberOutputWithCont return o } +func (o LakeContentitemIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeContentitemIamMember] { + return pulumix.Output[*LakeContentitemIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeContentitemIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeContentitemIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeContentitemIamPolicy.go b/sdk/go/google/dataplex/v1/lakeContentitemIamPolicy.go index a2f9ffb586..f742ed4c99 100644 --- a/sdk/go/google/dataplex/v1/lakeContentitemIamPolicy.go +++ b/sdk/go/google/dataplex/v1/lakeContentitemIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified contentitem resource. Replaces any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy permission on the resource. @@ -142,6 +143,12 @@ func (i *LakeContentitemIamPolicy) ToLakeContentitemIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(LakeContentitemIamPolicyOutput) } +func (i *LakeContentitemIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LakeContentitemIamPolicy] { + return pulumix.Output[*LakeContentitemIamPolicy]{ + OutputState: i.ToLakeContentitemIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LakeContentitemIamPolicyOutput struct{ *pulumi.OutputState } func (LakeContentitemIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o LakeContentitemIamPolicyOutput) ToLakeContentitemIamPolicyOutputWithCont return o } +func (o LakeContentitemIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeContentitemIamPolicy] { + return pulumix.Output[*LakeContentitemIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LakeContentitemIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *LakeContentitemIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/lakeEnvironmentIamBinding.go b/sdk/go/google/dataplex/v1/lakeEnvironmentIamBinding.go index 06f1940694..4487f4e2eb 100644 --- a/sdk/go/google/dataplex/v1/lakeEnvironmentIamBinding.go +++ b/sdk/go/google/dataplex/v1/lakeEnvironmentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *LakeEnvironmentIamBinding) ToLakeEnvironmentIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(LakeEnvironmentIamBindingOutput) } +func (i *LakeEnvironmentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LakeEnvironmentIamBinding] { + return pulumix.Output[*LakeEnvironmentIamBinding]{ + OutputState: i.ToLakeEnvironmentIamBindingOutputWithContext(ctx).OutputState, + } +} + type LakeEnvironmentIamBindingOutput struct{ *pulumi.OutputState } func (LakeEnvironmentIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeEnvironmentIamBindingOutput) ToLakeEnvironmentIamBindingOutputWithCo return o } +func (o LakeEnvironmentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeEnvironmentIamBinding] { + return pulumix.Output[*LakeEnvironmentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeEnvironmentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeEnvironmentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeEnvironmentIamMember.go b/sdk/go/google/dataplex/v1/lakeEnvironmentIamMember.go index 4789d6f8c7..f42b68c87b 100644 --- a/sdk/go/google/dataplex/v1/lakeEnvironmentIamMember.go +++ b/sdk/go/google/dataplex/v1/lakeEnvironmentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *LakeEnvironmentIamMember) ToLakeEnvironmentIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(LakeEnvironmentIamMemberOutput) } +func (i *LakeEnvironmentIamMember) ToOutput(ctx context.Context) pulumix.Output[*LakeEnvironmentIamMember] { + return pulumix.Output[*LakeEnvironmentIamMember]{ + OutputState: i.ToLakeEnvironmentIamMemberOutputWithContext(ctx).OutputState, + } +} + type LakeEnvironmentIamMemberOutput struct{ *pulumi.OutputState } func (LakeEnvironmentIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeEnvironmentIamMemberOutput) ToLakeEnvironmentIamMemberOutputWithCont return o } +func (o LakeEnvironmentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeEnvironmentIamMember] { + return pulumix.Output[*LakeEnvironmentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeEnvironmentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeEnvironmentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeEnvironmentIamPolicy.go b/sdk/go/google/dataplex/v1/lakeEnvironmentIamPolicy.go index d53c6dce08..79bd4083fb 100644 --- a/sdk/go/google/dataplex/v1/lakeEnvironmentIamPolicy.go +++ b/sdk/go/google/dataplex/v1/lakeEnvironmentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -142,6 +143,12 @@ func (i *LakeEnvironmentIamPolicy) ToLakeEnvironmentIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(LakeEnvironmentIamPolicyOutput) } +func (i *LakeEnvironmentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LakeEnvironmentIamPolicy] { + return pulumix.Output[*LakeEnvironmentIamPolicy]{ + OutputState: i.ToLakeEnvironmentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LakeEnvironmentIamPolicyOutput struct{ *pulumi.OutputState } func (LakeEnvironmentIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o LakeEnvironmentIamPolicyOutput) ToLakeEnvironmentIamPolicyOutputWithCont return o } +func (o LakeEnvironmentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeEnvironmentIamPolicy] { + return pulumix.Output[*LakeEnvironmentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LakeEnvironmentIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *LakeEnvironmentIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/lakeIamBinding.go b/sdk/go/google/dataplex/v1/lakeIamBinding.go index e5216e27d8..f944a0fc67 100644 --- a/sdk/go/google/dataplex/v1/lakeIamBinding.go +++ b/sdk/go/google/dataplex/v1/lakeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *LakeIamBinding) ToLakeIamBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LakeIamBindingOutput) } +func (i *LakeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LakeIamBinding] { + return pulumix.Output[*LakeIamBinding]{ + OutputState: i.ToLakeIamBindingOutputWithContext(ctx).OutputState, + } +} + type LakeIamBindingOutput struct{ *pulumi.OutputState } func (LakeIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeIamBindingOutput) ToLakeIamBindingOutputWithContext(ctx context.Cont return o } +func (o LakeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeIamBinding] { + return pulumix.Output[*LakeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeIamMember.go b/sdk/go/google/dataplex/v1/lakeIamMember.go index 8caaa1176f..eccfb2f0dc 100644 --- a/sdk/go/google/dataplex/v1/lakeIamMember.go +++ b/sdk/go/google/dataplex/v1/lakeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *LakeIamMember) ToLakeIamMemberOutputWithContext(ctx context.Context) La return pulumi.ToOutputWithContext(ctx, i).(LakeIamMemberOutput) } +func (i *LakeIamMember) ToOutput(ctx context.Context) pulumix.Output[*LakeIamMember] { + return pulumix.Output[*LakeIamMember]{ + OutputState: i.ToLakeIamMemberOutputWithContext(ctx).OutputState, + } +} + type LakeIamMemberOutput struct{ *pulumi.OutputState } func (LakeIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeIamMemberOutput) ToLakeIamMemberOutputWithContext(ctx context.Contex return o } +func (o LakeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeIamMember] { + return pulumix.Output[*LakeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeIamPolicy.go b/sdk/go/google/dataplex/v1/lakeIamPolicy.go index efc48c55fd..48938c161b 100644 --- a/sdk/go/google/dataplex/v1/lakeIamPolicy.go +++ b/sdk/go/google/dataplex/v1/lakeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *LakeIamPolicy) ToLakeIamPolicyOutputWithContext(ctx context.Context) La return pulumi.ToOutputWithContext(ctx, i).(LakeIamPolicyOutput) } +func (i *LakeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LakeIamPolicy] { + return pulumix.Output[*LakeIamPolicy]{ + OutputState: i.ToLakeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LakeIamPolicyOutput struct{ *pulumi.OutputState } func (LakeIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o LakeIamPolicyOutput) ToLakeIamPolicyOutputWithContext(ctx context.Contex return o } +func (o LakeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeIamPolicy] { + return pulumix.Output[*LakeIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LakeIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *LakeIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/lakeTaskIamBinding.go b/sdk/go/google/dataplex/v1/lakeTaskIamBinding.go index 64ce4e61da..1564d6a41d 100644 --- a/sdk/go/google/dataplex/v1/lakeTaskIamBinding.go +++ b/sdk/go/google/dataplex/v1/lakeTaskIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *LakeTaskIamBinding) ToLakeTaskIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LakeTaskIamBindingOutput) } +func (i *LakeTaskIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LakeTaskIamBinding] { + return pulumix.Output[*LakeTaskIamBinding]{ + OutputState: i.ToLakeTaskIamBindingOutputWithContext(ctx).OutputState, + } +} + type LakeTaskIamBindingOutput struct{ *pulumi.OutputState } func (LakeTaskIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeTaskIamBindingOutput) ToLakeTaskIamBindingOutputWithContext(ctx cont return o } +func (o LakeTaskIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeTaskIamBinding] { + return pulumix.Output[*LakeTaskIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeTaskIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeTaskIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeTaskIamMember.go b/sdk/go/google/dataplex/v1/lakeTaskIamMember.go index 31adc1b54d..56b15e63c5 100644 --- a/sdk/go/google/dataplex/v1/lakeTaskIamMember.go +++ b/sdk/go/google/dataplex/v1/lakeTaskIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *LakeTaskIamMember) ToLakeTaskIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(LakeTaskIamMemberOutput) } +func (i *LakeTaskIamMember) ToOutput(ctx context.Context) pulumix.Output[*LakeTaskIamMember] { + return pulumix.Output[*LakeTaskIamMember]{ + OutputState: i.ToLakeTaskIamMemberOutputWithContext(ctx).OutputState, + } +} + type LakeTaskIamMemberOutput struct{ *pulumi.OutputState } func (LakeTaskIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeTaskIamMemberOutput) ToLakeTaskIamMemberOutputWithContext(ctx contex return o } +func (o LakeTaskIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeTaskIamMember] { + return pulumix.Output[*LakeTaskIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeTaskIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeTaskIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeTaskIamPolicy.go b/sdk/go/google/dataplex/v1/lakeTaskIamPolicy.go index d93e723a1a..9c822e99af 100644 --- a/sdk/go/google/dataplex/v1/lakeTaskIamPolicy.go +++ b/sdk/go/google/dataplex/v1/lakeTaskIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -142,6 +143,12 @@ func (i *LakeTaskIamPolicy) ToLakeTaskIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(LakeTaskIamPolicyOutput) } +func (i *LakeTaskIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LakeTaskIamPolicy] { + return pulumix.Output[*LakeTaskIamPolicy]{ + OutputState: i.ToLakeTaskIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LakeTaskIamPolicyOutput struct{ *pulumi.OutputState } func (LakeTaskIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o LakeTaskIamPolicyOutput) ToLakeTaskIamPolicyOutputWithContext(ctx contex return o } +func (o LakeTaskIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeTaskIamPolicy] { + return pulumix.Output[*LakeTaskIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LakeTaskIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *LakeTaskIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/lakeZoneIamBinding.go b/sdk/go/google/dataplex/v1/lakeZoneIamBinding.go index e33f209f35..f2cb60e87c 100644 --- a/sdk/go/google/dataplex/v1/lakeZoneIamBinding.go +++ b/sdk/go/google/dataplex/v1/lakeZoneIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *LakeZoneIamBinding) ToLakeZoneIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LakeZoneIamBindingOutput) } +func (i *LakeZoneIamBinding) ToOutput(ctx context.Context) pulumix.Output[*LakeZoneIamBinding] { + return pulumix.Output[*LakeZoneIamBinding]{ + OutputState: i.ToLakeZoneIamBindingOutputWithContext(ctx).OutputState, + } +} + type LakeZoneIamBindingOutput struct{ *pulumi.OutputState } func (LakeZoneIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeZoneIamBindingOutput) ToLakeZoneIamBindingOutputWithContext(ctx cont return o } +func (o LakeZoneIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeZoneIamBinding] { + return pulumix.Output[*LakeZoneIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeZoneIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeZoneIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeZoneIamMember.go b/sdk/go/google/dataplex/v1/lakeZoneIamMember.go index bcb94af612..48b1954a48 100644 --- a/sdk/go/google/dataplex/v1/lakeZoneIamMember.go +++ b/sdk/go/google/dataplex/v1/lakeZoneIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -140,6 +141,12 @@ func (i *LakeZoneIamMember) ToLakeZoneIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(LakeZoneIamMemberOutput) } +func (i *LakeZoneIamMember) ToOutput(ctx context.Context) pulumix.Output[*LakeZoneIamMember] { + return pulumix.Output[*LakeZoneIamMember]{ + OutputState: i.ToLakeZoneIamMemberOutputWithContext(ctx).OutputState, + } +} + type LakeZoneIamMemberOutput struct{ *pulumi.OutputState } func (LakeZoneIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o LakeZoneIamMemberOutput) ToLakeZoneIamMemberOutputWithContext(ctx contex return o } +func (o LakeZoneIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeZoneIamMember] { + return pulumix.Output[*LakeZoneIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o LakeZoneIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *LakeZoneIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataplex/v1/lakeZoneIamPolicy.go b/sdk/go/google/dataplex/v1/lakeZoneIamPolicy.go index b7c05cb72c..edae2d8336 100644 --- a/sdk/go/google/dataplex/v1/lakeZoneIamPolicy.go +++ b/sdk/go/google/dataplex/v1/lakeZoneIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -139,6 +140,12 @@ func (i *LakeZoneIamPolicy) ToLakeZoneIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(LakeZoneIamPolicyOutput) } +func (i *LakeZoneIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*LakeZoneIamPolicy] { + return pulumix.Output[*LakeZoneIamPolicy]{ + OutputState: i.ToLakeZoneIamPolicyOutputWithContext(ctx).OutputState, + } +} + type LakeZoneIamPolicyOutput struct{ *pulumi.OutputState } func (LakeZoneIamPolicyOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o LakeZoneIamPolicyOutput) ToLakeZoneIamPolicyOutputWithContext(ctx contex return o } +func (o LakeZoneIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*LakeZoneIamPolicy] { + return pulumix.Output[*LakeZoneIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LakeZoneIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *LakeZoneIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dataplex/v1/partition.go b/sdk/go/google/dataplex/v1/partition.go index 978829aac2..cbd84adb91 100644 --- a/sdk/go/google/dataplex/v1/partition.go +++ b/sdk/go/google/dataplex/v1/partition.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a metadata partition. @@ -136,6 +137,12 @@ func (i *Partition) ToPartitionOutputWithContext(ctx context.Context) PartitionO return pulumi.ToOutputWithContext(ctx, i).(PartitionOutput) } +func (i *Partition) ToOutput(ctx context.Context) pulumix.Output[*Partition] { + return pulumix.Output[*Partition]{ + OutputState: i.ToPartitionOutputWithContext(ctx).OutputState, + } +} + type PartitionOutput struct{ *pulumi.OutputState } func (PartitionOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o PartitionOutput) ToPartitionOutputWithContext(ctx context.Context) Parti return o } +func (o PartitionOutput) ToOutput(ctx context.Context) pulumix.Output[*Partition] { + return pulumix.Output[*Partition]{ + OutputState: o.OutputState, + } +} + func (o PartitionOutput) EntityId() pulumi.StringOutput { return o.ApplyT(func(v *Partition) pulumi.StringOutput { return v.EntityId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dataplex/v1/pulumiEnums.go b/sdk/go/google/dataplex/v1/pulumiEnums.go index 95129b5ec9..9c3bf55976 100644 --- a/sdk/go/google/dataplex/v1/pulumiEnums.go +++ b/sdk/go/google/dataplex/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. Immutable. Identifies the storage system of the entity data. @@ -82,6 +83,12 @@ func (o EntitySystemOutput) ToEntitySystemPtrOutputWithContext(ctx context.Conte }).(EntitySystemPtrOutput) } +func (o EntitySystemOutput) ToOutput(ctx context.Context) pulumix.Output[EntitySystem] { + return pulumix.Output[EntitySystem]{ + OutputState: o.OutputState, + } +} + func (o EntitySystemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o EntitySystemPtrOutput) ToEntitySystemPtrOutputWithContext(ctx context.Co return o } +func (o EntitySystemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntitySystem] { + return pulumix.Output[*EntitySystem]{ + OutputState: o.OutputState, + } +} + func (o EntitySystemPtrOutput) Elem() EntitySystemOutput { return o.ApplyT(func(v *EntitySystem) EntitySystem { if v != nil { @@ -179,6 +192,12 @@ func (in *entitySystemPtr) ToEntitySystemPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(EntitySystemPtrOutput) } +func (in *entitySystemPtr) ToOutput(ctx context.Context) pulumix.Output[*EntitySystem] { + return pulumix.Output[*EntitySystem]{ + OutputState: in.ToEntitySystemPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The type of entity. type EntityType string @@ -251,6 +270,12 @@ func (o EntityTypeOutput) ToEntityTypePtrOutputWithContext(ctx context.Context) }).(EntityTypePtrOutput) } +func (o EntityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EntityType] { + return pulumix.Output[EntityType]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o EntityTypePtrOutput) ToEntityTypePtrOutputWithContext(ctx context.Contex return o } +func (o EntityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityType] { + return pulumix.Output[*EntityType]{ + OutputState: o.OutputState, + } +} + func (o EntityTypePtrOutput) Elem() EntityTypeOutput { return o.ApplyT(func(v *EntityType) EntityType { if v != nil { @@ -348,6 +379,12 @@ func (in *entityTypePtr) ToEntityTypePtrOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, in).(EntityTypePtrOutput) } +func (in *entityTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EntityType] { + return pulumix.Output[*EntityType]{ + OutputState: in.ToEntityTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Determines how read permissions are handled for each asset and their associated tables. Only available to storage buckets assets. type GoogleCloudDataplexV1AssetResourceSpecReadAccessMode string @@ -420,6 +457,12 @@ func (o GoogleCloudDataplexV1AssetResourceSpecReadAccessModeOutput) ToGoogleClou }).(GoogleCloudDataplexV1AssetResourceSpecReadAccessModePtrOutput) } +func (o GoogleCloudDataplexV1AssetResourceSpecReadAccessModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetResourceSpecReadAccessMode] { + return pulumix.Output[GoogleCloudDataplexV1AssetResourceSpecReadAccessMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1AssetResourceSpecReadAccessModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o GoogleCloudDataplexV1AssetResourceSpecReadAccessModePtrOutput) ToGoogleC return o } +func (o GoogleCloudDataplexV1AssetResourceSpecReadAccessModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1AssetResourceSpecReadAccessMode] { + return pulumix.Output[*GoogleCloudDataplexV1AssetResourceSpecReadAccessMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1AssetResourceSpecReadAccessModePtrOutput) Elem() GoogleCloudDataplexV1AssetResourceSpecReadAccessModeOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1AssetResourceSpecReadAccessMode) GoogleCloudDataplexV1AssetResourceSpecReadAccessMode { if v != nil { @@ -517,6 +566,12 @@ func (in *googleCloudDataplexV1AssetResourceSpecReadAccessModePtr) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1AssetResourceSpecReadAccessModePtrOutput) } +func (in *googleCloudDataplexV1AssetResourceSpecReadAccessModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1AssetResourceSpecReadAccessMode] { + return pulumix.Output[*GoogleCloudDataplexV1AssetResourceSpecReadAccessMode]{ + OutputState: in.ToGoogleCloudDataplexV1AssetResourceSpecReadAccessModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. Type of resource. type GoogleCloudDataplexV1AssetResourceSpecType string @@ -589,6 +644,12 @@ func (o GoogleCloudDataplexV1AssetResourceSpecTypeOutput) ToGoogleCloudDataplexV }).(GoogleCloudDataplexV1AssetResourceSpecTypePtrOutput) } +func (o GoogleCloudDataplexV1AssetResourceSpecTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetResourceSpecType] { + return pulumix.Output[GoogleCloudDataplexV1AssetResourceSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1AssetResourceSpecTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -624,6 +685,12 @@ func (o GoogleCloudDataplexV1AssetResourceSpecTypePtrOutput) ToGoogleCloudDatapl return o } +func (o GoogleCloudDataplexV1AssetResourceSpecTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1AssetResourceSpecType] { + return pulumix.Output[*GoogleCloudDataplexV1AssetResourceSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1AssetResourceSpecTypePtrOutput) Elem() GoogleCloudDataplexV1AssetResourceSpecTypeOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1AssetResourceSpecType) GoogleCloudDataplexV1AssetResourceSpecType { if v != nil { @@ -686,6 +753,12 @@ func (in *googleCloudDataplexV1AssetResourceSpecTypePtr) ToGoogleCloudDataplexV1 return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1AssetResourceSpecTypePtrOutput) } +func (in *googleCloudDataplexV1AssetResourceSpecTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1AssetResourceSpecType] { + return pulumix.Output[*GoogleCloudDataplexV1AssetResourceSpecType]{ + OutputState: in.ToGoogleCloudDataplexV1AssetResourceSpecTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Kernel Type of the notebook. type GoogleCloudDataplexV1ContentNotebookKernelType string @@ -756,6 +829,12 @@ func (o GoogleCloudDataplexV1ContentNotebookKernelTypeOutput) ToGoogleCloudDatap }).(GoogleCloudDataplexV1ContentNotebookKernelTypePtrOutput) } +func (o GoogleCloudDataplexV1ContentNotebookKernelTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ContentNotebookKernelType] { + return pulumix.Output[GoogleCloudDataplexV1ContentNotebookKernelType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ContentNotebookKernelTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -791,6 +870,12 @@ func (o GoogleCloudDataplexV1ContentNotebookKernelTypePtrOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDataplexV1ContentNotebookKernelTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ContentNotebookKernelType] { + return pulumix.Output[*GoogleCloudDataplexV1ContentNotebookKernelType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ContentNotebookKernelTypePtrOutput) Elem() GoogleCloudDataplexV1ContentNotebookKernelTypeOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1ContentNotebookKernelType) GoogleCloudDataplexV1ContentNotebookKernelType { if v != nil { @@ -853,6 +938,12 @@ func (in *googleCloudDataplexV1ContentNotebookKernelTypePtr) ToGoogleCloudDatapl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1ContentNotebookKernelTypePtrOutput) } +func (in *googleCloudDataplexV1ContentNotebookKernelTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ContentNotebookKernelType] { + return pulumix.Output[*GoogleCloudDataplexV1ContentNotebookKernelType]{ + OutputState: in.ToGoogleCloudDataplexV1ContentNotebookKernelTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Query Engine to be used for the Sql Query. type GoogleCloudDataplexV1ContentSqlScriptEngine string @@ -923,6 +1014,12 @@ func (o GoogleCloudDataplexV1ContentSqlScriptEngineOutput) ToGoogleCloudDataplex }).(GoogleCloudDataplexV1ContentSqlScriptEnginePtrOutput) } +func (o GoogleCloudDataplexV1ContentSqlScriptEngineOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ContentSqlScriptEngine] { + return pulumix.Output[GoogleCloudDataplexV1ContentSqlScriptEngine]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ContentSqlScriptEngineOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -958,6 +1055,12 @@ func (o GoogleCloudDataplexV1ContentSqlScriptEnginePtrOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1ContentSqlScriptEnginePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ContentSqlScriptEngine] { + return pulumix.Output[*GoogleCloudDataplexV1ContentSqlScriptEngine]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ContentSqlScriptEnginePtrOutput) Elem() GoogleCloudDataplexV1ContentSqlScriptEngineOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1ContentSqlScriptEngine) GoogleCloudDataplexV1ContentSqlScriptEngine { if v != nil { @@ -1020,6 +1123,12 @@ func (in *googleCloudDataplexV1ContentSqlScriptEnginePtr) ToGoogleCloudDataplexV return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1ContentSqlScriptEnginePtrOutput) } +func (in *googleCloudDataplexV1ContentSqlScriptEnginePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ContentSqlScriptEngine] { + return pulumix.Output[*GoogleCloudDataplexV1ContentSqlScriptEngine]{ + OutputState: in.ToGoogleCloudDataplexV1ContentSqlScriptEnginePtrOutputWithContext(ctx).OutputState, + } +} + // The aggregate metric to evaluate. type GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatistic string @@ -1094,6 +1203,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticOu }).(GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticPtrOutput) } +func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatistic] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatistic]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1129,6 +1244,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticPt return o } +func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatistic] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatistic]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticPtrOutput) Elem() GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatistic) GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatistic { if v != nil { @@ -1191,6 +1312,12 @@ func (in *googleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatistic return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticPtrOutput) } +func (in *googleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatistic] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatistic]{ + OutputState: in.ToGoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationStatisticPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The type of field. type GoogleCloudDataplexV1SchemaPartitionFieldType string @@ -1289,6 +1416,12 @@ func (o GoogleCloudDataplexV1SchemaPartitionFieldTypeOutput) ToGoogleCloudDatapl }).(GoogleCloudDataplexV1SchemaPartitionFieldTypePtrOutput) } +func (o GoogleCloudDataplexV1SchemaPartitionFieldTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaPartitionFieldType] { + return pulumix.Output[GoogleCloudDataplexV1SchemaPartitionFieldType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaPartitionFieldTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1324,6 +1457,12 @@ func (o GoogleCloudDataplexV1SchemaPartitionFieldTypePtrOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDataplexV1SchemaPartitionFieldTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1SchemaPartitionFieldType] { + return pulumix.Output[*GoogleCloudDataplexV1SchemaPartitionFieldType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaPartitionFieldTypePtrOutput) Elem() GoogleCloudDataplexV1SchemaPartitionFieldTypeOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1SchemaPartitionFieldType) GoogleCloudDataplexV1SchemaPartitionFieldType { if v != nil { @@ -1386,6 +1525,12 @@ func (in *googleCloudDataplexV1SchemaPartitionFieldTypePtr) ToGoogleCloudDataple return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1SchemaPartitionFieldTypePtrOutput) } +func (in *googleCloudDataplexV1SchemaPartitionFieldTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1SchemaPartitionFieldType] { + return pulumix.Output[*GoogleCloudDataplexV1SchemaPartitionFieldType]{ + OutputState: in.ToGoogleCloudDataplexV1SchemaPartitionFieldTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The structure of paths containing partition data within the entity. type GoogleCloudDataplexV1SchemaPartitionStyle string @@ -1456,6 +1601,12 @@ func (o GoogleCloudDataplexV1SchemaPartitionStyleOutput) ToGoogleCloudDataplexV1 }).(GoogleCloudDataplexV1SchemaPartitionStylePtrOutput) } +func (o GoogleCloudDataplexV1SchemaPartitionStyleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaPartitionStyle] { + return pulumix.Output[GoogleCloudDataplexV1SchemaPartitionStyle]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaPartitionStyleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1491,6 +1642,12 @@ func (o GoogleCloudDataplexV1SchemaPartitionStylePtrOutput) ToGoogleCloudDataple return o } +func (o GoogleCloudDataplexV1SchemaPartitionStylePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1SchemaPartitionStyle] { + return pulumix.Output[*GoogleCloudDataplexV1SchemaPartitionStyle]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaPartitionStylePtrOutput) Elem() GoogleCloudDataplexV1SchemaPartitionStyleOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1SchemaPartitionStyle) GoogleCloudDataplexV1SchemaPartitionStyle { if v != nil { @@ -1553,6 +1710,12 @@ func (in *googleCloudDataplexV1SchemaPartitionStylePtr) ToGoogleCloudDataplexV1S return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1SchemaPartitionStylePtrOutput) } +func (in *googleCloudDataplexV1SchemaPartitionStylePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1SchemaPartitionStyle] { + return pulumix.Output[*GoogleCloudDataplexV1SchemaPartitionStyle]{ + OutputState: in.ToGoogleCloudDataplexV1SchemaPartitionStylePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Additional field semantics. type GoogleCloudDataplexV1SchemaSchemaFieldMode string @@ -1627,6 +1790,12 @@ func (o GoogleCloudDataplexV1SchemaSchemaFieldModeOutput) ToGoogleCloudDataplexV }).(GoogleCloudDataplexV1SchemaSchemaFieldModePtrOutput) } +func (o GoogleCloudDataplexV1SchemaSchemaFieldModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaSchemaFieldMode] { + return pulumix.Output[GoogleCloudDataplexV1SchemaSchemaFieldMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaSchemaFieldModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1662,6 +1831,12 @@ func (o GoogleCloudDataplexV1SchemaSchemaFieldModePtrOutput) ToGoogleCloudDatapl return o } +func (o GoogleCloudDataplexV1SchemaSchemaFieldModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1SchemaSchemaFieldMode] { + return pulumix.Output[*GoogleCloudDataplexV1SchemaSchemaFieldMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaSchemaFieldModePtrOutput) Elem() GoogleCloudDataplexV1SchemaSchemaFieldModeOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1SchemaSchemaFieldMode) GoogleCloudDataplexV1SchemaSchemaFieldMode { if v != nil { @@ -1724,6 +1899,12 @@ func (in *googleCloudDataplexV1SchemaSchemaFieldModePtr) ToGoogleCloudDataplexV1 return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1SchemaSchemaFieldModePtrOutput) } +func (in *googleCloudDataplexV1SchemaSchemaFieldModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1SchemaSchemaFieldMode] { + return pulumix.Output[*GoogleCloudDataplexV1SchemaSchemaFieldMode]{ + OutputState: in.ToGoogleCloudDataplexV1SchemaSchemaFieldModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of field. type GoogleCloudDataplexV1SchemaSchemaFieldType string @@ -1822,6 +2003,12 @@ func (o GoogleCloudDataplexV1SchemaSchemaFieldTypeOutput) ToGoogleCloudDataplexV }).(GoogleCloudDataplexV1SchemaSchemaFieldTypePtrOutput) } +func (o GoogleCloudDataplexV1SchemaSchemaFieldTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaSchemaFieldType] { + return pulumix.Output[GoogleCloudDataplexV1SchemaSchemaFieldType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaSchemaFieldTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1857,6 +2044,12 @@ func (o GoogleCloudDataplexV1SchemaSchemaFieldTypePtrOutput) ToGoogleCloudDatapl return o } +func (o GoogleCloudDataplexV1SchemaSchemaFieldTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1SchemaSchemaFieldType] { + return pulumix.Output[*GoogleCloudDataplexV1SchemaSchemaFieldType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaSchemaFieldTypePtrOutput) Elem() GoogleCloudDataplexV1SchemaSchemaFieldTypeOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1SchemaSchemaFieldType) GoogleCloudDataplexV1SchemaSchemaFieldType { if v != nil { @@ -1919,6 +2112,12 @@ func (in *googleCloudDataplexV1SchemaSchemaFieldTypePtr) ToGoogleCloudDataplexV1 return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1SchemaSchemaFieldTypePtrOutput) } +func (in *googleCloudDataplexV1SchemaSchemaFieldTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1SchemaSchemaFieldType] { + return pulumix.Output[*GoogleCloudDataplexV1SchemaSchemaFieldType]{ + OutputState: in.ToGoogleCloudDataplexV1SchemaSchemaFieldTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The compression type associated with the stored data. If unspecified, the data is uncompressed. type GoogleCloudDataplexV1StorageFormatCompressionFormat string @@ -1991,6 +2190,12 @@ func (o GoogleCloudDataplexV1StorageFormatCompressionFormatOutput) ToGoogleCloud }).(GoogleCloudDataplexV1StorageFormatCompressionFormatPtrOutput) } +func (o GoogleCloudDataplexV1StorageFormatCompressionFormatOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatCompressionFormat] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatCompressionFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1StorageFormatCompressionFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2026,6 +2231,12 @@ func (o GoogleCloudDataplexV1StorageFormatCompressionFormatPtrOutput) ToGoogleCl return o } +func (o GoogleCloudDataplexV1StorageFormatCompressionFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1StorageFormatCompressionFormat] { + return pulumix.Output[*GoogleCloudDataplexV1StorageFormatCompressionFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1StorageFormatCompressionFormatPtrOutput) Elem() GoogleCloudDataplexV1StorageFormatCompressionFormatOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1StorageFormatCompressionFormat) GoogleCloudDataplexV1StorageFormatCompressionFormat { if v != nil { @@ -2088,6 +2299,12 @@ func (in *googleCloudDataplexV1StorageFormatCompressionFormatPtr) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1StorageFormatCompressionFormatPtrOutput) } +func (in *googleCloudDataplexV1StorageFormatCompressionFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1StorageFormatCompressionFormat] { + return pulumix.Output[*GoogleCloudDataplexV1StorageFormatCompressionFormat]{ + OutputState: in.ToGoogleCloudDataplexV1StorageFormatCompressionFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. Trigger type of the user-specified Task. type GoogleCloudDataplexV1TaskTriggerSpecType string @@ -2160,6 +2377,12 @@ func (o GoogleCloudDataplexV1TaskTriggerSpecTypeOutput) ToGoogleCloudDataplexV1T }).(GoogleCloudDataplexV1TaskTriggerSpecTypePtrOutput) } +func (o GoogleCloudDataplexV1TaskTriggerSpecTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskTriggerSpecType] { + return pulumix.Output[GoogleCloudDataplexV1TaskTriggerSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TaskTriggerSpecTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2195,6 +2418,12 @@ func (o GoogleCloudDataplexV1TaskTriggerSpecTypePtrOutput) ToGoogleCloudDataplex return o } +func (o GoogleCloudDataplexV1TaskTriggerSpecTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskTriggerSpecType] { + return pulumix.Output[*GoogleCloudDataplexV1TaskTriggerSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TaskTriggerSpecTypePtrOutput) Elem() GoogleCloudDataplexV1TaskTriggerSpecTypeOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1TaskTriggerSpecType) GoogleCloudDataplexV1TaskTriggerSpecType { if v != nil { @@ -2257,6 +2486,12 @@ func (in *googleCloudDataplexV1TaskTriggerSpecTypePtr) ToGoogleCloudDataplexV1Ta return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1TaskTriggerSpecTypePtrOutput) } +func (in *googleCloudDataplexV1TaskTriggerSpecTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskTriggerSpecType] { + return pulumix.Output[*GoogleCloudDataplexV1TaskTriggerSpecType]{ + OutputState: in.ToGoogleCloudDataplexV1TaskTriggerSpecTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. type GoogleCloudDataplexV1ZoneResourceSpecLocationType string @@ -2329,6 +2564,12 @@ func (o GoogleCloudDataplexV1ZoneResourceSpecLocationTypeOutput) ToGoogleCloudDa }).(GoogleCloudDataplexV1ZoneResourceSpecLocationTypePtrOutput) } +func (o GoogleCloudDataplexV1ZoneResourceSpecLocationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneResourceSpecLocationType] { + return pulumix.Output[GoogleCloudDataplexV1ZoneResourceSpecLocationType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ZoneResourceSpecLocationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2364,6 +2605,12 @@ func (o GoogleCloudDataplexV1ZoneResourceSpecLocationTypePtrOutput) ToGoogleClou return o } +func (o GoogleCloudDataplexV1ZoneResourceSpecLocationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ZoneResourceSpecLocationType] { + return pulumix.Output[*GoogleCloudDataplexV1ZoneResourceSpecLocationType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ZoneResourceSpecLocationTypePtrOutput) Elem() GoogleCloudDataplexV1ZoneResourceSpecLocationTypeOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1ZoneResourceSpecLocationType) GoogleCloudDataplexV1ZoneResourceSpecLocationType { if v != nil { @@ -2426,6 +2673,12 @@ func (in *googleCloudDataplexV1ZoneResourceSpecLocationTypePtr) ToGoogleCloudDat return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDataplexV1ZoneResourceSpecLocationTypePtrOutput) } +func (in *googleCloudDataplexV1ZoneResourceSpecLocationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ZoneResourceSpecLocationType] { + return pulumix.Output[*GoogleCloudDataplexV1ZoneResourceSpecLocationType]{ + OutputState: in.ToGoogleCloudDataplexV1ZoneResourceSpecLocationTypePtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -2500,6 +2753,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2535,6 +2794,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -2597,6 +2862,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The type of the zone. type ZoneType string @@ -2669,6 +2940,12 @@ func (o ZoneTypeOutput) ToZoneTypePtrOutputWithContext(ctx context.Context) Zone }).(ZoneTypePtrOutput) } +func (o ZoneTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ZoneType] { + return pulumix.Output[ZoneType]{ + OutputState: o.OutputState, + } +} + func (o ZoneTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2704,6 +2981,12 @@ func (o ZoneTypePtrOutput) ToZoneTypePtrOutputWithContext(ctx context.Context) Z return o } +func (o ZoneTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ZoneType] { + return pulumix.Output[*ZoneType]{ + OutputState: o.OutputState, + } +} + func (o ZoneTypePtrOutput) Elem() ZoneTypeOutput { return o.ApplyT(func(v *ZoneType) ZoneType { if v != nil { @@ -2766,6 +3049,12 @@ func (in *zoneTypePtr) ToZoneTypePtrOutputWithContext(ctx context.Context) ZoneT return pulumi.ToOutputWithContext(ctx, in).(ZoneTypePtrOutput) } +func (in *zoneTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ZoneType] { + return pulumix.Output[*ZoneType]{ + OutputState: in.ToZoneTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*EntitySystemInput)(nil)).Elem(), EntitySystem("STORAGE_SYSTEM_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*EntitySystemPtrInput)(nil)).Elem(), EntitySystem("STORAGE_SYSTEM_UNSPECIFIED")) diff --git a/sdk/go/google/dataplex/v1/pulumiTypes.go b/sdk/go/google/dataplex/v1/pulumiTypes.go index 57dd3203d1..32af24a1c7 100644 --- a/sdk/go/google/dataplex/v1/pulumiTypes.go +++ b/sdk/go/google/dataplex/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -68,6 +69,12 @@ func (i GoogleCloudDataplexV1AssetDiscoverySpecArgs) ToGoogleCloudDataplexV1Asse return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1AssetDiscoverySpecOutput) } +func (i GoogleCloudDataplexV1AssetDiscoverySpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpec] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpec]{ + OutputState: i.ToGoogleCloudDataplexV1AssetDiscoverySpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1AssetDiscoverySpecArgs) ToGoogleCloudDataplexV1AssetDiscoverySpecPtrOutput() GoogleCloudDataplexV1AssetDiscoverySpecPtrOutput { return i.ToGoogleCloudDataplexV1AssetDiscoverySpecPtrOutputWithContext(context.Background()) } @@ -109,6 +116,12 @@ func (i *googleCloudDataplexV1AssetDiscoverySpecPtrType) ToGoogleCloudDataplexV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1AssetDiscoverySpecPtrOutput) } +func (i *googleCloudDataplexV1AssetDiscoverySpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpec] { + return pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpec]{ + OutputState: i.ToGoogleCloudDataplexV1AssetDiscoverySpecPtrOutputWithContext(ctx).OutputState, + } +} + // Settings to manage the metadata discovery and publishing for an asset. type GoogleCloudDataplexV1AssetDiscoverySpecOutput struct{ *pulumi.OutputState } @@ -134,6 +147,12 @@ func (o GoogleCloudDataplexV1AssetDiscoverySpecOutput) ToGoogleCloudDataplexV1As }).(GoogleCloudDataplexV1AssetDiscoverySpecPtrOutput) } +func (o GoogleCloudDataplexV1AssetDiscoverySpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpec] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpec]{ + OutputState: o.OutputState, + } +} + // Optional. Configuration for CSV data. func (o GoogleCloudDataplexV1AssetDiscoverySpecOutput) CsvOptions() GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetDiscoverySpec) *GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions { @@ -182,6 +201,12 @@ func (o GoogleCloudDataplexV1AssetDiscoverySpecPtrOutput) ToGoogleCloudDataplexV return o } +func (o GoogleCloudDataplexV1AssetDiscoverySpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpec] { + return pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1AssetDiscoverySpecPtrOutput) Elem() GoogleCloudDataplexV1AssetDiscoverySpecOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1AssetDiscoverySpec) GoogleCloudDataplexV1AssetDiscoverySpec { if v != nil { @@ -299,6 +324,12 @@ func (i GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsArgs) ToGoogleCloudData return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsOutput) } +func (i GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions]{ + OutputState: i.ToGoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsArgs) ToGoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrOutput() GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrOutput { return i.ToGoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrOutputWithContext(context.Background()) } @@ -340,6 +371,12 @@ func (i *googleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrOutput) } +func (i *googleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions] { + return pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions]{ + OutputState: i.ToGoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Describe CSV and similar semi-structured data formats. type GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsOutput struct{ *pulumi.OutputState } @@ -365,6 +402,12 @@ func (o GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsOutput) ToGoogleCloudDa }).(GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrOutput) } +func (o GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions]{ + OutputState: o.OutputState, + } +} + // Optional. The delimiter being used to separate values. This defaults to ','. func (o GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsOutput) Delimiter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions) *string { return v.Delimiter }).(pulumi.StringPtrOutput) @@ -399,6 +442,12 @@ func (o GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrOutput) ToGoogleClou return o } +func (o GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions] { + return pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsPtrOutput) Elem() GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions) GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions { if v != nil { @@ -476,6 +525,12 @@ func (o GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponseOutput) ToGoogl return o } +func (o GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The delimiter being used to separate values. This defaults to ','. func (o GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponseOutput) Delimiter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse) string { return v.Delimiter }).(pulumi.StringOutput) @@ -535,6 +590,12 @@ func (i GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsArgs) ToGoogleCloudDat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsOutput) } +func (i GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions]{ + OutputState: i.ToGoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsArgs) ToGoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrOutput() GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrOutput { return i.ToGoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrOutputWithContext(context.Background()) } @@ -576,6 +637,12 @@ func (i *googleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrOutput) } +func (i *googleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions] { + return pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions]{ + OutputState: i.ToGoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Describe JSON data format. type GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsOutput struct{ *pulumi.OutputState } @@ -601,6 +668,12 @@ func (o GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsOutput) ToGoogleCloudD }).(GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrOutput) } +func (o GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean). func (o GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsOutput) DisableTypeInference() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions) *bool { return v.DisableTypeInference }).(pulumi.BoolPtrOutput) @@ -625,6 +698,12 @@ func (o GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions] { + return pulumix.Output[*GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsPtrOutput) Elem() GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions) GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions { if v != nil { @@ -678,6 +757,12 @@ func (o GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsResponseOutput) ToGoog return o } +func (o GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsResponse] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean). func (o GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsResponseOutput) DisableTypeInference() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetDiscoverySpecJsonOptionsResponse) bool { return v.DisableTypeInference }).(pulumi.BoolOutput) @@ -719,6 +804,12 @@ func (o GoogleCloudDataplexV1AssetDiscoverySpecResponseOutput) ToGoogleCloudData return o } +func (o GoogleCloudDataplexV1AssetDiscoverySpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoverySpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Configuration for CSV data. func (o GoogleCloudDataplexV1AssetDiscoverySpecResponseOutput) CsvOptions() GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponseOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetDiscoverySpecResponse) GoogleCloudDataplexV1AssetDiscoverySpecCsvOptionsResponse { @@ -784,6 +875,12 @@ func (o GoogleCloudDataplexV1AssetDiscoveryStatusResponseOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDataplexV1AssetDiscoveryStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoveryStatusResponse] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoveryStatusResponse]{ + OutputState: o.OutputState, + } +} + // The duration of the last discovery run. func (o GoogleCloudDataplexV1AssetDiscoveryStatusResponseOutput) LastRunDuration() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetDiscoveryStatusResponse) string { return v.LastRunDuration }).(pulumi.StringOutput) @@ -843,6 +940,12 @@ func (o GoogleCloudDataplexV1AssetDiscoveryStatusStatsResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDataplexV1AssetDiscoveryStatusStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetDiscoveryStatusStatsResponse] { + return pulumix.Output[GoogleCloudDataplexV1AssetDiscoveryStatusStatsResponse]{ + OutputState: o.OutputState, + } +} + // The count of data items within the referenced resource. func (o GoogleCloudDataplexV1AssetDiscoveryStatusStatsResponseOutput) DataItems() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetDiscoveryStatusStatsResponse) string { return v.DataItems }).(pulumi.StringOutput) @@ -906,6 +1009,12 @@ func (i GoogleCloudDataplexV1AssetResourceSpecArgs) ToGoogleCloudDataplexV1Asset return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1AssetResourceSpecOutput) } +func (i GoogleCloudDataplexV1AssetResourceSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetResourceSpec] { + return pulumix.Output[GoogleCloudDataplexV1AssetResourceSpec]{ + OutputState: i.ToGoogleCloudDataplexV1AssetResourceSpecOutputWithContext(ctx).OutputState, + } +} + // Identifies the cloud resource that is referenced by this asset. type GoogleCloudDataplexV1AssetResourceSpecOutput struct{ *pulumi.OutputState } @@ -921,6 +1030,12 @@ func (o GoogleCloudDataplexV1AssetResourceSpecOutput) ToGoogleCloudDataplexV1Ass return o } +func (o GoogleCloudDataplexV1AssetResourceSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetResourceSpec] { + return pulumix.Output[GoogleCloudDataplexV1AssetResourceSpec]{ + OutputState: o.OutputState, + } +} + // Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id} projects/{project_number}/datasets/{dataset_id} func (o GoogleCloudDataplexV1AssetResourceSpecOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetResourceSpec) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -965,6 +1080,12 @@ func (o GoogleCloudDataplexV1AssetResourceSpecResponseOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1AssetResourceSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetResourceSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1AssetResourceSpecResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Relative name of the cloud resource that contains the data that is being managed within a lake. For example: projects/{project_number}/buckets/{bucket_id} projects/{project_number}/datasets/{dataset_id} func (o GoogleCloudDataplexV1AssetResourceSpecResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetResourceSpecResponse) string { return v.Name }).(pulumi.StringOutput) @@ -1007,6 +1128,12 @@ func (o GoogleCloudDataplexV1AssetResourceStatusResponseOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDataplexV1AssetResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetResourceStatusResponse] { + return pulumix.Output[GoogleCloudDataplexV1AssetResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Service account associated with the BigQuery Connection. func (o GoogleCloudDataplexV1AssetResourceStatusResponseOutput) ManagedAccessIdentity() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetResourceStatusResponse) string { return v.ManagedAccessIdentity }).(pulumi.StringOutput) @@ -1052,6 +1179,12 @@ func (o GoogleCloudDataplexV1AssetSecurityStatusResponseOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDataplexV1AssetSecurityStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetSecurityStatusResponse] { + return pulumix.Output[GoogleCloudDataplexV1AssetSecurityStatusResponse]{ + OutputState: o.OutputState, + } +} + // Additional information about the current state. func (o GoogleCloudDataplexV1AssetSecurityStatusResponseOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetSecurityStatusResponse) string { return v.Message }).(pulumi.StringOutput) @@ -1092,6 +1225,12 @@ func (o GoogleCloudDataplexV1AssetStatusResponseOutput) ToGoogleCloudDataplexV1A return o } +func (o GoogleCloudDataplexV1AssetStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1AssetStatusResponse] { + return pulumix.Output[GoogleCloudDataplexV1AssetStatusResponse]{ + OutputState: o.OutputState, + } +} + // Number of active assets. func (o GoogleCloudDataplexV1AssetStatusResponseOutput) ActiveAssets() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDataplexV1AssetStatusResponse) int { return v.ActiveAssets }).(pulumi.IntOutput) @@ -1142,6 +1281,12 @@ func (i GoogleCloudDataplexV1ContentNotebookArgs) ToGoogleCloudDataplexV1Content return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ContentNotebookOutput) } +func (i GoogleCloudDataplexV1ContentNotebookArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ContentNotebook] { + return pulumix.Output[GoogleCloudDataplexV1ContentNotebook]{ + OutputState: i.ToGoogleCloudDataplexV1ContentNotebookOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1ContentNotebookArgs) ToGoogleCloudDataplexV1ContentNotebookPtrOutput() GoogleCloudDataplexV1ContentNotebookPtrOutput { return i.ToGoogleCloudDataplexV1ContentNotebookPtrOutputWithContext(context.Background()) } @@ -1183,6 +1328,12 @@ func (i *googleCloudDataplexV1ContentNotebookPtrType) ToGoogleCloudDataplexV1Con return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ContentNotebookPtrOutput) } +func (i *googleCloudDataplexV1ContentNotebookPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ContentNotebook] { + return pulumix.Output[*GoogleCloudDataplexV1ContentNotebook]{ + OutputState: i.ToGoogleCloudDataplexV1ContentNotebookPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for Notebook content. type GoogleCloudDataplexV1ContentNotebookOutput struct{ *pulumi.OutputState } @@ -1208,6 +1359,12 @@ func (o GoogleCloudDataplexV1ContentNotebookOutput) ToGoogleCloudDataplexV1Conte }).(GoogleCloudDataplexV1ContentNotebookPtrOutput) } +func (o GoogleCloudDataplexV1ContentNotebookOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ContentNotebook] { + return pulumix.Output[GoogleCloudDataplexV1ContentNotebook]{ + OutputState: o.OutputState, + } +} + // Kernel Type of the notebook. func (o GoogleCloudDataplexV1ContentNotebookOutput) KernelType() GoogleCloudDataplexV1ContentNotebookKernelTypeOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ContentNotebook) GoogleCloudDataplexV1ContentNotebookKernelType { @@ -1229,6 +1386,12 @@ func (o GoogleCloudDataplexV1ContentNotebookPtrOutput) ToGoogleCloudDataplexV1Co return o } +func (o GoogleCloudDataplexV1ContentNotebookPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ContentNotebook] { + return pulumix.Output[*GoogleCloudDataplexV1ContentNotebook]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ContentNotebookPtrOutput) Elem() GoogleCloudDataplexV1ContentNotebookOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1ContentNotebook) GoogleCloudDataplexV1ContentNotebook { if v != nil { @@ -1270,6 +1433,12 @@ func (o GoogleCloudDataplexV1ContentNotebookResponseOutput) ToGoogleCloudDataple return o } +func (o GoogleCloudDataplexV1ContentNotebookResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ContentNotebookResponse] { + return pulumix.Output[GoogleCloudDataplexV1ContentNotebookResponse]{ + OutputState: o.OutputState, + } +} + // Kernel Type of the notebook. func (o GoogleCloudDataplexV1ContentNotebookResponseOutput) KernelType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ContentNotebookResponse) string { return v.KernelType }).(pulumi.StringOutput) @@ -1310,6 +1479,12 @@ func (i GoogleCloudDataplexV1ContentSqlScriptArgs) ToGoogleCloudDataplexV1Conten return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ContentSqlScriptOutput) } +func (i GoogleCloudDataplexV1ContentSqlScriptArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ContentSqlScript] { + return pulumix.Output[GoogleCloudDataplexV1ContentSqlScript]{ + OutputState: i.ToGoogleCloudDataplexV1ContentSqlScriptOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1ContentSqlScriptArgs) ToGoogleCloudDataplexV1ContentSqlScriptPtrOutput() GoogleCloudDataplexV1ContentSqlScriptPtrOutput { return i.ToGoogleCloudDataplexV1ContentSqlScriptPtrOutputWithContext(context.Background()) } @@ -1351,6 +1526,12 @@ func (i *googleCloudDataplexV1ContentSqlScriptPtrType) ToGoogleCloudDataplexV1Co return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ContentSqlScriptPtrOutput) } +func (i *googleCloudDataplexV1ContentSqlScriptPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ContentSqlScript] { + return pulumix.Output[*GoogleCloudDataplexV1ContentSqlScript]{ + OutputState: i.ToGoogleCloudDataplexV1ContentSqlScriptPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Sql Script content. type GoogleCloudDataplexV1ContentSqlScriptOutput struct{ *pulumi.OutputState } @@ -1376,6 +1557,12 @@ func (o GoogleCloudDataplexV1ContentSqlScriptOutput) ToGoogleCloudDataplexV1Cont }).(GoogleCloudDataplexV1ContentSqlScriptPtrOutput) } +func (o GoogleCloudDataplexV1ContentSqlScriptOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ContentSqlScript] { + return pulumix.Output[GoogleCloudDataplexV1ContentSqlScript]{ + OutputState: o.OutputState, + } +} + // Query Engine to be used for the Sql Query. func (o GoogleCloudDataplexV1ContentSqlScriptOutput) Engine() GoogleCloudDataplexV1ContentSqlScriptEngineOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ContentSqlScript) GoogleCloudDataplexV1ContentSqlScriptEngine { @@ -1397,6 +1584,12 @@ func (o GoogleCloudDataplexV1ContentSqlScriptPtrOutput) ToGoogleCloudDataplexV1C return o } +func (o GoogleCloudDataplexV1ContentSqlScriptPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ContentSqlScript] { + return pulumix.Output[*GoogleCloudDataplexV1ContentSqlScript]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ContentSqlScriptPtrOutput) Elem() GoogleCloudDataplexV1ContentSqlScriptOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1ContentSqlScript) GoogleCloudDataplexV1ContentSqlScript { if v != nil { @@ -1438,6 +1631,12 @@ func (o GoogleCloudDataplexV1ContentSqlScriptResponseOutput) ToGoogleCloudDatapl return o } +func (o GoogleCloudDataplexV1ContentSqlScriptResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ContentSqlScriptResponse] { + return pulumix.Output[GoogleCloudDataplexV1ContentSqlScriptResponse]{ + OutputState: o.OutputState, + } +} + // Query Engine to be used for the Sql Query. func (o GoogleCloudDataplexV1ContentSqlScriptResponseOutput) Engine() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ContentSqlScriptResponse) string { return v.Engine }).(pulumi.StringOutput) @@ -1478,6 +1677,12 @@ func (i GoogleCloudDataplexV1DataAccessSpecArgs) ToGoogleCloudDataplexV1DataAcce return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataAccessSpecOutput) } +func (i GoogleCloudDataplexV1DataAccessSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataAccessSpec] { + return pulumix.Output[GoogleCloudDataplexV1DataAccessSpec]{ + OutputState: i.ToGoogleCloudDataplexV1DataAccessSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataAccessSpecArgs) ToGoogleCloudDataplexV1DataAccessSpecPtrOutput() GoogleCloudDataplexV1DataAccessSpecPtrOutput { return i.ToGoogleCloudDataplexV1DataAccessSpecPtrOutputWithContext(context.Background()) } @@ -1519,6 +1724,12 @@ func (i *googleCloudDataplexV1DataAccessSpecPtrType) ToGoogleCloudDataplexV1Data return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataAccessSpecPtrOutput) } +func (i *googleCloudDataplexV1DataAccessSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataAccessSpec] { + return pulumix.Output[*GoogleCloudDataplexV1DataAccessSpec]{ + OutputState: i.ToGoogleCloudDataplexV1DataAccessSpecPtrOutputWithContext(ctx).OutputState, + } +} + // DataAccessSpec holds the access control configuration to be enforced on data stored within resources (eg: rows, columns in BigQuery Tables). When associated with data, the data is only accessible to principals explicitly granted access through the DataAccessSpec. Principals with access to the containing resource are not implicitly granted access. type GoogleCloudDataplexV1DataAccessSpecOutput struct{ *pulumi.OutputState } @@ -1544,6 +1755,12 @@ func (o GoogleCloudDataplexV1DataAccessSpecOutput) ToGoogleCloudDataplexV1DataAc }).(GoogleCloudDataplexV1DataAccessSpecPtrOutput) } +func (o GoogleCloudDataplexV1DataAccessSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataAccessSpec] { + return pulumix.Output[GoogleCloudDataplexV1DataAccessSpec]{ + OutputState: o.OutputState, + } +} + // Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources. func (o GoogleCloudDataplexV1DataAccessSpecOutput) Readers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataAccessSpec) []string { return v.Readers }).(pulumi.StringArrayOutput) @@ -1563,6 +1780,12 @@ func (o GoogleCloudDataplexV1DataAccessSpecPtrOutput) ToGoogleCloudDataplexV1Dat return o } +func (o GoogleCloudDataplexV1DataAccessSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataAccessSpec] { + return pulumix.Output[*GoogleCloudDataplexV1DataAccessSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataAccessSpecPtrOutput) Elem() GoogleCloudDataplexV1DataAccessSpecOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataAccessSpec) GoogleCloudDataplexV1DataAccessSpec { if v != nil { @@ -1604,6 +1827,12 @@ func (o GoogleCloudDataplexV1DataAccessSpecResponseOutput) ToGoogleCloudDataplex return o } +func (o GoogleCloudDataplexV1DataAccessSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataAccessSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataAccessSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources. func (o GoogleCloudDataplexV1DataAccessSpecResponseOutput) Readers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataAccessSpecResponse) []string { return v.Readers }).(pulumi.StringArrayOutput) @@ -1648,6 +1877,12 @@ func (i GoogleCloudDataplexV1DataAttributeBindingPathArgs) ToGoogleCloudDataplex return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataAttributeBindingPathOutput) } +func (i GoogleCloudDataplexV1DataAttributeBindingPathArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataAttributeBindingPath] { + return pulumix.Output[GoogleCloudDataplexV1DataAttributeBindingPath]{ + OutputState: i.ToGoogleCloudDataplexV1DataAttributeBindingPathOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDataplexV1DataAttributeBindingPathArrayInput is an input type that accepts GoogleCloudDataplexV1DataAttributeBindingPathArray and GoogleCloudDataplexV1DataAttributeBindingPathArrayOutput values. // You can construct a concrete instance of `GoogleCloudDataplexV1DataAttributeBindingPathArrayInput` via: // @@ -1673,6 +1908,12 @@ func (i GoogleCloudDataplexV1DataAttributeBindingPathArray) ToGoogleCloudDataple return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataAttributeBindingPathArrayOutput) } +func (i GoogleCloudDataplexV1DataAttributeBindingPathArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1DataAttributeBindingPath] { + return pulumix.Output[[]GoogleCloudDataplexV1DataAttributeBindingPath]{ + OutputState: i.ToGoogleCloudDataplexV1DataAttributeBindingPathArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a subresource of the given resource, and associated bindings with it. Currently supported subresources are column and partition schema fields within a table. type GoogleCloudDataplexV1DataAttributeBindingPathOutput struct{ *pulumi.OutputState } @@ -1688,6 +1929,12 @@ func (o GoogleCloudDataplexV1DataAttributeBindingPathOutput) ToGoogleCloudDatapl return o } +func (o GoogleCloudDataplexV1DataAttributeBindingPathOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataAttributeBindingPath] { + return pulumix.Output[GoogleCloudDataplexV1DataAttributeBindingPath]{ + OutputState: o.OutputState, + } +} + // Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id} func (o GoogleCloudDataplexV1DataAttributeBindingPathOutput) Attributes() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataAttributeBindingPath) []string { return v.Attributes }).(pulumi.StringArrayOutput) @@ -1712,6 +1959,12 @@ func (o GoogleCloudDataplexV1DataAttributeBindingPathArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDataplexV1DataAttributeBindingPathArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1DataAttributeBindingPath] { + return pulumix.Output[[]GoogleCloudDataplexV1DataAttributeBindingPath]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataAttributeBindingPathArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1DataAttributeBindingPathOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1DataAttributeBindingPath { return vs[0].([]GoogleCloudDataplexV1DataAttributeBindingPath)[vs[1].(int)] @@ -1741,6 +1994,12 @@ func (o GoogleCloudDataplexV1DataAttributeBindingPathResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDataplexV1DataAttributeBindingPathResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataAttributeBindingPathResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataAttributeBindingPathResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of attributes to be associated with the path of the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id} func (o GoogleCloudDataplexV1DataAttributeBindingPathResponseOutput) Attributes() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataAttributeBindingPathResponse) []string { return v.Attributes }).(pulumi.StringArrayOutput) @@ -1765,6 +2024,12 @@ func (o GoogleCloudDataplexV1DataAttributeBindingPathResponseArrayOutput) ToGoog return o } +func (o GoogleCloudDataplexV1DataAttributeBindingPathResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1DataAttributeBindingPathResponse] { + return pulumix.Output[[]GoogleCloudDataplexV1DataAttributeBindingPathResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataAttributeBindingPathResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1DataAttributeBindingPathResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1DataAttributeBindingPathResponse { return vs[0].([]GoogleCloudDataplexV1DataAttributeBindingPathResponse)[vs[1].(int)] @@ -1800,6 +2065,12 @@ func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleField return o } +func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfoResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfoResponse]{ + OutputState: o.OutputState, + } +} + // Average of non-null values in the scanned data. NaN, if the field has a NaN. func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfoResponseOutput) Average() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfoResponse) float64 { @@ -1864,6 +2135,12 @@ func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFiel return o } +func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfoResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfoResponse]{ + OutputState: o.OutputState, + } +} + // Average of non-null values in the scanned data. NaN, if the field has a NaN. func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfoResponseOutput) Average() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfoResponse) float64 { @@ -1930,6 +2207,12 @@ func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoResponseOut return o } +func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoResponse]{ + OutputState: o.OutputState, + } +} + // Ratio of rows with distinct values against total scanned rows. Not available for complex non-groupable field type RECORD and fields with REPEATABLE mode. func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoResponseOutput) DistinctRatio() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoResponse) float64 { @@ -1997,6 +2280,12 @@ func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringField return o } +func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfoResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfoResponse]{ + OutputState: o.OutputState, + } +} + // Average length of non-null values in the scanned data. func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfoResponseOutput) AverageLength() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfoResponse) float64 { @@ -2041,6 +2330,12 @@ func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueRe return o } +func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponse]{ + OutputState: o.OutputState, + } +} + // Count of the corresponding value in the scanned data. func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponseOutput) Count() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponse) string { @@ -2069,6 +2364,12 @@ func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueRe return o } +func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponse] { + return pulumix.Output[[]GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponse { return vs[0].([]GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValueResponse)[vs[1].(int)] @@ -2102,6 +2403,12 @@ func (o GoogleCloudDataplexV1DataProfileResultProfileFieldResponseOutput) ToGoog return o } +func (o GoogleCloudDataplexV1DataProfileResultProfileFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileFieldResponse]{ + OutputState: o.OutputState, + } +} + // The mode of the field. Possible values include: REQUIRED, if it is a required field. NULLABLE, if it is an optional field. REPEATED, if it is a repeated field. func (o GoogleCloudDataplexV1DataProfileResultProfileFieldResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataProfileResultProfileFieldResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -2138,6 +2445,12 @@ func (o GoogleCloudDataplexV1DataProfileResultProfileFieldResponseArrayOutput) T return o } +func (o GoogleCloudDataplexV1DataProfileResultProfileFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1DataProfileResultProfileFieldResponse] { + return pulumix.Output[[]GoogleCloudDataplexV1DataProfileResultProfileFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataProfileResultProfileFieldResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1DataProfileResultProfileFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1DataProfileResultProfileFieldResponse { return vs[0].([]GoogleCloudDataplexV1DataProfileResultProfileFieldResponse)[vs[1].(int)] @@ -2165,6 +2478,12 @@ func (o GoogleCloudDataplexV1DataProfileResultProfileResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDataplexV1DataProfileResultProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileResultProfileResponse]{ + OutputState: o.OutputState, + } +} + // List of fields with structural and profile information for each field. func (o GoogleCloudDataplexV1DataProfileResultProfileResponseOutput) Fields() GoogleCloudDataplexV1DataProfileResultProfileFieldResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataProfileResultProfileResponse) []GoogleCloudDataplexV1DataProfileResultProfileFieldResponse { @@ -2197,6 +2516,12 @@ func (o GoogleCloudDataplexV1DataProfileResultResponseOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1DataProfileResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileResultResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileResultResponse]{ + OutputState: o.OutputState, + } +} + // The profile information per field. func (o GoogleCloudDataplexV1DataProfileResultResponseOutput) Profile() GoogleCloudDataplexV1DataProfileResultProfileResponseOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataProfileResultResponse) GoogleCloudDataplexV1DataProfileResultProfileResponse { @@ -2255,6 +2580,12 @@ func (i GoogleCloudDataplexV1DataProfileSpecArgs) ToGoogleCloudDataplexV1DataPro return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataProfileSpecOutput) } +func (i GoogleCloudDataplexV1DataProfileSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileSpec] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileSpec]{ + OutputState: i.ToGoogleCloudDataplexV1DataProfileSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataProfileSpecArgs) ToGoogleCloudDataplexV1DataProfileSpecPtrOutput() GoogleCloudDataplexV1DataProfileSpecPtrOutput { return i.ToGoogleCloudDataplexV1DataProfileSpecPtrOutputWithContext(context.Background()) } @@ -2296,6 +2627,12 @@ func (i *googleCloudDataplexV1DataProfileSpecPtrType) ToGoogleCloudDataplexV1Dat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataProfileSpecPtrOutput) } +func (i *googleCloudDataplexV1DataProfileSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataProfileSpec] { + return pulumix.Output[*GoogleCloudDataplexV1DataProfileSpec]{ + OutputState: i.ToGoogleCloudDataplexV1DataProfileSpecPtrOutputWithContext(ctx).OutputState, + } +} + // DataProfileScan related setting. type GoogleCloudDataplexV1DataProfileSpecOutput struct{ *pulumi.OutputState } @@ -2321,6 +2658,12 @@ func (o GoogleCloudDataplexV1DataProfileSpecOutput) ToGoogleCloudDataplexV1DataP }).(GoogleCloudDataplexV1DataProfileSpecPtrOutput) } +func (o GoogleCloudDataplexV1DataProfileSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileSpec] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileSpec]{ + OutputState: o.OutputState, + } +} + // Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10 func (o GoogleCloudDataplexV1DataProfileSpecOutput) RowFilter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataProfileSpec) *string { return v.RowFilter }).(pulumi.StringPtrOutput) @@ -2345,6 +2688,12 @@ func (o GoogleCloudDataplexV1DataProfileSpecPtrOutput) ToGoogleCloudDataplexV1Da return o } +func (o GoogleCloudDataplexV1DataProfileSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataProfileSpec] { + return pulumix.Output[*GoogleCloudDataplexV1DataProfileSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataProfileSpecPtrOutput) Elem() GoogleCloudDataplexV1DataProfileSpecOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataProfileSpec) GoogleCloudDataplexV1DataProfileSpec { if v != nil { @@ -2398,6 +2747,12 @@ func (o GoogleCloudDataplexV1DataProfileSpecResponseOutput) ToGoogleCloudDataple return o } +func (o GoogleCloudDataplexV1DataProfileSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataProfileSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataProfileSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10 func (o GoogleCloudDataplexV1DataProfileSpecResponseOutput) RowFilter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataProfileSpecResponse) string { return v.RowFilter }).(pulumi.StringOutput) @@ -2429,6 +2784,12 @@ func (o GoogleCloudDataplexV1DataQualityDimensionResultResponseOutput) ToGoogleC return o } +func (o GoogleCloudDataplexV1DataQualityDimensionResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityDimensionResultResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityDimensionResultResponse]{ + OutputState: o.OutputState, + } +} + // Whether the dimension passed or failed. func (o GoogleCloudDataplexV1DataQualityDimensionResultResponseOutput) Passed() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityDimensionResultResponse) bool { return v.Passed }).(pulumi.BoolOutput) @@ -2448,6 +2809,12 @@ func (o GoogleCloudDataplexV1DataQualityDimensionResultResponseArrayOutput) ToGo return o } +func (o GoogleCloudDataplexV1DataQualityDimensionResultResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1DataQualityDimensionResultResponse] { + return pulumix.Output[[]GoogleCloudDataplexV1DataQualityDimensionResultResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityDimensionResultResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1DataQualityDimensionResultResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1DataQualityDimensionResultResponse { return vs[0].([]GoogleCloudDataplexV1DataQualityDimensionResultResponse)[vs[1].(int)] @@ -2483,6 +2850,12 @@ func (o GoogleCloudDataplexV1DataQualityResultResponseOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1DataQualityResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityResultResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityResultResponse]{ + OutputState: o.OutputState, + } +} + // A list of results at the dimension level. func (o GoogleCloudDataplexV1DataQualityResultResponseOutput) Dimensions() GoogleCloudDataplexV1DataQualityDimensionResultResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityResultResponse) []GoogleCloudDataplexV1DataQualityDimensionResultResponse { @@ -2593,6 +2966,12 @@ func (i GoogleCloudDataplexV1DataQualityRuleArgs) ToGoogleCloudDataplexV1DataQua return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleOutput) } +func (i GoogleCloudDataplexV1DataQualityRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRule] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRule]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDataplexV1DataQualityRuleArrayInput is an input type that accepts GoogleCloudDataplexV1DataQualityRuleArray and GoogleCloudDataplexV1DataQualityRuleArrayOutput values. // You can construct a concrete instance of `GoogleCloudDataplexV1DataQualityRuleArrayInput` via: // @@ -2618,6 +2997,12 @@ func (i GoogleCloudDataplexV1DataQualityRuleArray) ToGoogleCloudDataplexV1DataQu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleArrayOutput) } +func (i GoogleCloudDataplexV1DataQualityRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1DataQualityRule] { + return pulumix.Output[[]GoogleCloudDataplexV1DataQualityRule]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A rule captures data quality intent about a data source. type GoogleCloudDataplexV1DataQualityRuleOutput struct{ *pulumi.OutputState } @@ -2633,6 +3018,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleOutput) ToGoogleCloudDataplexV1DataQ return o } +func (o GoogleCloudDataplexV1DataQualityRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRule] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRule]{ + OutputState: o.OutputState, + } +} + // Optional. The unnested column which this rule is evaluated against. func (o GoogleCloudDataplexV1DataQualityRuleOutput) Column() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRule) *string { return v.Column }).(pulumi.StringPtrOutput) @@ -2723,6 +3114,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleArrayOutput) ToGoogleCloudDataplexV1 return o } +func (o GoogleCloudDataplexV1DataQualityRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1DataQualityRule] { + return pulumix.Output[[]GoogleCloudDataplexV1DataQualityRule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1DataQualityRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1DataQualityRule { return vs[0].([]GoogleCloudDataplexV1DataQualityRule)[vs[1].(int)] @@ -2760,6 +3157,12 @@ func (i GoogleCloudDataplexV1DataQualityRuleNonNullExpectationArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleNonNullExpectationOutput) } +func (i GoogleCloudDataplexV1DataQualityRuleNonNullExpectationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleNonNullExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleNonNullExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleNonNullExpectationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataQualityRuleNonNullExpectationArgs) ToGoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutput() GoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutput { return i.ToGoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutputWithContext(context.Background()) } @@ -2801,6 +3204,12 @@ func (i *googleCloudDataplexV1DataQualityRuleNonNullExpectationPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutput) } +func (i *googleCloudDataplexV1DataQualityRuleNonNullExpectationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleNonNullExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleNonNullExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutputWithContext(ctx).OutputState, + } +} + // Evaluates whether each column value is null. type GoogleCloudDataplexV1DataQualityRuleNonNullExpectationOutput struct{ *pulumi.OutputState } @@ -2826,6 +3235,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleNonNullExpectationOutput) ToGoogleCl }).(GoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutput) } +func (o GoogleCloudDataplexV1DataQualityRuleNonNullExpectationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleNonNullExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleNonNullExpectation]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutput) ElementType() reflect.Type { @@ -2840,6 +3255,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutput) ToGoogl return o } +func (o GoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleNonNullExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleNonNullExpectation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleNonNullExpectationPtrOutput) Elem() GoogleCloudDataplexV1DataQualityRuleNonNullExpectationOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataQualityRuleNonNullExpectation) GoogleCloudDataplexV1DataQualityRuleNonNullExpectation { if v != nil { @@ -2869,6 +3290,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleNonNullExpectationResponseOutput) To return o } +func (o GoogleCloudDataplexV1DataQualityRuleNonNullExpectationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleNonNullExpectationResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleNonNullExpectationResponse]{ + OutputState: o.OutputState, + } +} + // Evaluates whether each column value lies between a specified range. type GoogleCloudDataplexV1DataQualityRuleRangeExpectation struct { // Optional. The maximum column value allowed for a row to pass this validation. At least one of min_value and max_value need to be provided. @@ -2916,6 +3343,12 @@ func (i GoogleCloudDataplexV1DataQualityRuleRangeExpectationArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleRangeExpectationOutput) } +func (i GoogleCloudDataplexV1DataQualityRuleRangeExpectationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRangeExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRangeExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleRangeExpectationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataQualityRuleRangeExpectationArgs) ToGoogleCloudDataplexV1DataQualityRuleRangeExpectationPtrOutput() GoogleCloudDataplexV1DataQualityRuleRangeExpectationPtrOutput { return i.ToGoogleCloudDataplexV1DataQualityRuleRangeExpectationPtrOutputWithContext(context.Background()) } @@ -2957,6 +3390,12 @@ func (i *googleCloudDataplexV1DataQualityRuleRangeExpectationPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleRangeExpectationPtrOutput) } +func (i *googleCloudDataplexV1DataQualityRuleRangeExpectationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRangeExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRangeExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleRangeExpectationPtrOutputWithContext(ctx).OutputState, + } +} + // Evaluates whether each column value lies between a specified range. type GoogleCloudDataplexV1DataQualityRuleRangeExpectationOutput struct{ *pulumi.OutputState } @@ -2982,6 +3421,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleRangeExpectationOutput) ToGoogleClou }).(GoogleCloudDataplexV1DataQualityRuleRangeExpectationPtrOutput) } +func (o GoogleCloudDataplexV1DataQualityRuleRangeExpectationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRangeExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRangeExpectation]{ + OutputState: o.OutputState, + } +} + // Optional. The maximum column value allowed for a row to pass this validation. At least one of min_value and max_value need to be provided. func (o GoogleCloudDataplexV1DataQualityRuleRangeExpectationOutput) MaxValue() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleRangeExpectation) *string { return v.MaxValue }).(pulumi.StringPtrOutput) @@ -3016,6 +3461,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleRangeExpectationPtrOutput) ToGoogleC return o } +func (o GoogleCloudDataplexV1DataQualityRuleRangeExpectationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRangeExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRangeExpectation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleRangeExpectationPtrOutput) Elem() GoogleCloudDataplexV1DataQualityRuleRangeExpectationOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataQualityRuleRangeExpectation) GoogleCloudDataplexV1DataQualityRuleRangeExpectation { if v != nil { @@ -3093,6 +3544,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponseOutput) ToGo return o } +func (o GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The maximum column value allowed for a row to pass this validation. At least one of min_value and max_value need to be provided. func (o GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponseOutput) MaxValue() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponse) string { return v.MaxValue }).(pulumi.StringOutput) @@ -3148,6 +3605,12 @@ func (i GoogleCloudDataplexV1DataQualityRuleRegexExpectationArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleRegexExpectationOutput) } +func (i GoogleCloudDataplexV1DataQualityRuleRegexExpectationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRegexExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRegexExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleRegexExpectationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataQualityRuleRegexExpectationArgs) ToGoogleCloudDataplexV1DataQualityRuleRegexExpectationPtrOutput() GoogleCloudDataplexV1DataQualityRuleRegexExpectationPtrOutput { return i.ToGoogleCloudDataplexV1DataQualityRuleRegexExpectationPtrOutputWithContext(context.Background()) } @@ -3189,6 +3652,12 @@ func (i *googleCloudDataplexV1DataQualityRuleRegexExpectationPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleRegexExpectationPtrOutput) } +func (i *googleCloudDataplexV1DataQualityRuleRegexExpectationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRegexExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRegexExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleRegexExpectationPtrOutputWithContext(ctx).OutputState, + } +} + // Evaluates whether each column value matches a specified regex. type GoogleCloudDataplexV1DataQualityRuleRegexExpectationOutput struct{ *pulumi.OutputState } @@ -3214,6 +3683,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleRegexExpectationOutput) ToGoogleClou }).(GoogleCloudDataplexV1DataQualityRuleRegexExpectationPtrOutput) } +func (o GoogleCloudDataplexV1DataQualityRuleRegexExpectationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRegexExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRegexExpectation]{ + OutputState: o.OutputState, + } +} + // A regular expression the column value is expected to match. func (o GoogleCloudDataplexV1DataQualityRuleRegexExpectationOutput) Regex() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleRegexExpectation) *string { return v.Regex }).(pulumi.StringPtrOutput) @@ -3233,6 +3708,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleRegexExpectationPtrOutput) ToGoogleC return o } +func (o GoogleCloudDataplexV1DataQualityRuleRegexExpectationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRegexExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRegexExpectation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleRegexExpectationPtrOutput) Elem() GoogleCloudDataplexV1DataQualityRuleRegexExpectationOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataQualityRuleRegexExpectation) GoogleCloudDataplexV1DataQualityRuleRegexExpectation { if v != nil { @@ -3274,6 +3755,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleRegexExpectationResponseOutput) ToGo return o } +func (o GoogleCloudDataplexV1DataQualityRuleRegexExpectationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRegexExpectationResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRegexExpectationResponse]{ + OutputState: o.OutputState, + } +} + // A regular expression the column value is expected to match. func (o GoogleCloudDataplexV1DataQualityRuleRegexExpectationResponseOutput) Regex() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleRegexExpectationResponse) string { return v.Regex }).(pulumi.StringOutput) @@ -3322,6 +3809,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleResponseOutput) ToGoogleCloudDataple return o } +func (o GoogleCloudDataplexV1DataQualityRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The unnested column which this rule is evaluated against. func (o GoogleCloudDataplexV1DataQualityRuleResponseOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleResponse) string { return v.Column }).(pulumi.StringOutput) @@ -3412,6 +3905,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleResponseArrayOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDataplexV1DataQualityRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1DataQualityRuleResponse] { + return pulumix.Output[[]GoogleCloudDataplexV1DataQualityRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1DataQualityRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1DataQualityRuleResponse { return vs[0].([]GoogleCloudDataplexV1DataQualityRuleResponse)[vs[1].(int)] @@ -3451,6 +3950,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleResultResponseOutput) ToGoogleCloudD return o } +func (o GoogleCloudDataplexV1DataQualityRuleResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleResultResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleResultResponse]{ + OutputState: o.OutputState, + } +} + // The number of rows a rule was evaluated against. This field is only valid for ColumnMap type rules.Evaluated count can be configured to either include all rows (default) - with null rows automatically failing rule evaluation, or exclude null rows from the evaluated_count, by setting ignore_nulls = true. func (o GoogleCloudDataplexV1DataQualityRuleResultResponseOutput) EvaluatedCount() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleResultResponse) string { return v.EvaluatedCount }).(pulumi.StringOutput) @@ -3502,6 +4007,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleResultResponseArrayOutput) ToGoogleC return o } +func (o GoogleCloudDataplexV1DataQualityRuleResultResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1DataQualityRuleResultResponse] { + return pulumix.Output[[]GoogleCloudDataplexV1DataQualityRuleResultResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleResultResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1DataQualityRuleResultResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1DataQualityRuleResultResponse { return vs[0].([]GoogleCloudDataplexV1DataQualityRuleResultResponse)[vs[1].(int)] @@ -3543,6 +4054,12 @@ func (i GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationOutput) } +func (i GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleRowConditionExpectationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationArgs) ToGoogleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrOutput() GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrOutput { return i.ToGoogleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrOutputWithContext(context.Background()) } @@ -3584,6 +4101,12 @@ func (i *googleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrType) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrOutput) } +func (i *googleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrOutputWithContext(ctx).OutputState, + } +} + // Evaluates whether each row passes the specified condition.The SQL expression needs to use BigQuery standard SQL syntax and should produce a boolean value per row as the result.Example: col1 >= 0 AND col2 < 10 type GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationOutput struct{ *pulumi.OutputState } @@ -3609,6 +4132,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationOutput) ToGoo }).(GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrOutput) } +func (o GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation]{ + OutputState: o.OutputState, + } +} + // The SQL expression. func (o GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationOutput) SqlExpression() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation) *string { return v.SqlExpression }).(pulumi.StringPtrOutput) @@ -3628,6 +4157,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrOutput) To return o } +func (o GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationPtrOutput) Elem() GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation) GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation { if v != nil { @@ -3669,6 +4204,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationResponseOutpu return o } +func (o GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationResponse]{ + OutputState: o.OutputState, + } +} + // The SQL expression. func (o GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationResponseOutput) SqlExpression() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleRowConditionExpectationResponse) string { @@ -3711,6 +4252,12 @@ func (i GoogleCloudDataplexV1DataQualityRuleSetExpectationArgs) ToGoogleCloudDat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleSetExpectationOutput) } +func (i GoogleCloudDataplexV1DataQualityRuleSetExpectationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleSetExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleSetExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleSetExpectationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataQualityRuleSetExpectationArgs) ToGoogleCloudDataplexV1DataQualityRuleSetExpectationPtrOutput() GoogleCloudDataplexV1DataQualityRuleSetExpectationPtrOutput { return i.ToGoogleCloudDataplexV1DataQualityRuleSetExpectationPtrOutputWithContext(context.Background()) } @@ -3752,6 +4299,12 @@ func (i *googleCloudDataplexV1DataQualityRuleSetExpectationPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleSetExpectationPtrOutput) } +func (i *googleCloudDataplexV1DataQualityRuleSetExpectationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleSetExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleSetExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleSetExpectationPtrOutputWithContext(ctx).OutputState, + } +} + // Evaluates whether each column value is contained by a specified set. type GoogleCloudDataplexV1DataQualityRuleSetExpectationOutput struct{ *pulumi.OutputState } @@ -3777,6 +4330,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleSetExpectationOutput) ToGoogleCloudD }).(GoogleCloudDataplexV1DataQualityRuleSetExpectationPtrOutput) } +func (o GoogleCloudDataplexV1DataQualityRuleSetExpectationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleSetExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleSetExpectation]{ + OutputState: o.OutputState, + } +} + // Expected values for the column value. func (o GoogleCloudDataplexV1DataQualityRuleSetExpectationOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleSetExpectation) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -3796,6 +4355,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleSetExpectationPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDataplexV1DataQualityRuleSetExpectationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleSetExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleSetExpectation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleSetExpectationPtrOutput) Elem() GoogleCloudDataplexV1DataQualityRuleSetExpectationOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataQualityRuleSetExpectation) GoogleCloudDataplexV1DataQualityRuleSetExpectation { if v != nil { @@ -3837,6 +4402,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleSetExpectationResponseOutput) ToGoog return o } +func (o GoogleCloudDataplexV1DataQualityRuleSetExpectationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleSetExpectationResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleSetExpectationResponse]{ + OutputState: o.OutputState, + } +} + // Expected values for the column value. func (o GoogleCloudDataplexV1DataQualityRuleSetExpectationResponseOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleSetExpectationResponse) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -3893,6 +4464,12 @@ func (i GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationOutput) } +func (i GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationArgs) ToGoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrOutput() GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrOutput { return i.ToGoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrOutputWithContext(context.Background()) } @@ -3934,6 +4511,12 @@ func (i *googleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrType) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrOutput) } +func (i *googleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrOutputWithContext(ctx).OutputState, + } +} + // Evaluates whether the column aggregate statistic lies between a specified range. type GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationOutput struct{ *pulumi.OutputState } @@ -3959,6 +4542,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationOutput) ToG }).(GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrOutput) } +func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation]{ + OutputState: o.OutputState, + } +} + // The maximum column statistic value allowed for a row to pass this validation.At least one of min_value and max_value need to be provided. func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationOutput) MaxValue() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation) *string { return v.MaxValue }).(pulumi.StringPtrOutput) @@ -4000,6 +4589,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrOutput) return o } +func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationPtrOutput) Elem() GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation) GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation { if v != nil { @@ -4089,6 +4684,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponseOut return o } +func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponse]{ + OutputState: o.OutputState, + } +} + // The maximum column statistic value allowed for a row to pass this validation.At least one of min_value and max_value need to be provided. func (o GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponseOutput) MaxValue() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponse) string { @@ -4159,6 +4760,12 @@ func (i GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationOutput) } +func (i GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleTableConditionExpectationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationArgs) ToGoogleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrOutput() GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrOutput { return i.ToGoogleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrOutputWithContext(context.Background()) } @@ -4200,6 +4807,12 @@ func (i *googleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrType) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrOutput) } +func (i *googleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrOutputWithContext(ctx).OutputState, + } +} + // Evaluates whether the provided expression is true.The SQL expression needs to use BigQuery standard SQL syntax and should produce a scalar boolean result.Example: MIN(col1) >= 0 type GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationOutput struct{ *pulumi.OutputState } @@ -4225,6 +4838,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationOutput) ToG }).(GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrOutput) } +func (o GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation]{ + OutputState: o.OutputState, + } +} + // The SQL expression. func (o GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationOutput) SqlExpression() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation) *string { return v.SqlExpression }).(pulumi.StringPtrOutput) @@ -4244,6 +4863,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrOutput) return o } +func (o GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationPtrOutput) Elem() GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation) GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation { if v != nil { @@ -4285,6 +4910,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationResponseOut return o } +func (o GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationResponse]{ + OutputState: o.OutputState, + } +} + // The SQL expression. func (o GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationResponseOutput) SqlExpression() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualityRuleTableConditionExpectationResponse) string { @@ -4323,6 +4954,12 @@ func (i GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationOutput) } +func (i GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleUniquenessExpectationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationArgs) ToGoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutput() GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutput { return i.ToGoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutputWithContext(context.Background()) } @@ -4364,6 +5001,12 @@ func (i *googleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrType) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutput) } +func (i *googleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutputWithContext(ctx).OutputState, + } +} + // Evaluates whether the column has duplicates. type GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationOutput struct{ *pulumi.OutputState } @@ -4389,6 +5032,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationOutput) ToGoogl }).(GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutput) } +func (o GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutput) ElementType() reflect.Type { @@ -4403,6 +5052,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutput) ToGo return o } +func (o GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationPtrOutput) Elem() GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation) GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation { if v != nil { @@ -4432,6 +5087,12 @@ func (o GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationResponseOutput) return o } +func (o GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualityRuleUniquenessExpectationResponse]{ + OutputState: o.OutputState, + } +} + // DataQualityScan related setting. type GoogleCloudDataplexV1DataQualitySpec struct { // Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10 @@ -4475,6 +5136,12 @@ func (i GoogleCloudDataplexV1DataQualitySpecArgs) ToGoogleCloudDataplexV1DataQua return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualitySpecOutput) } +func (i GoogleCloudDataplexV1DataQualitySpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualitySpec] { + return pulumix.Output[GoogleCloudDataplexV1DataQualitySpec]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualitySpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataQualitySpecArgs) ToGoogleCloudDataplexV1DataQualitySpecPtrOutput() GoogleCloudDataplexV1DataQualitySpecPtrOutput { return i.ToGoogleCloudDataplexV1DataQualitySpecPtrOutputWithContext(context.Background()) } @@ -4516,6 +5183,12 @@ func (i *googleCloudDataplexV1DataQualitySpecPtrType) ToGoogleCloudDataplexV1Dat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataQualitySpecPtrOutput) } +func (i *googleCloudDataplexV1DataQualitySpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualitySpec] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualitySpec]{ + OutputState: i.ToGoogleCloudDataplexV1DataQualitySpecPtrOutputWithContext(ctx).OutputState, + } +} + // DataQualityScan related setting. type GoogleCloudDataplexV1DataQualitySpecOutput struct{ *pulumi.OutputState } @@ -4541,6 +5214,12 @@ func (o GoogleCloudDataplexV1DataQualitySpecOutput) ToGoogleCloudDataplexV1DataQ }).(GoogleCloudDataplexV1DataQualitySpecPtrOutput) } +func (o GoogleCloudDataplexV1DataQualitySpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualitySpec] { + return pulumix.Output[GoogleCloudDataplexV1DataQualitySpec]{ + OutputState: o.OutputState, + } +} + // Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10 func (o GoogleCloudDataplexV1DataQualitySpecOutput) RowFilter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualitySpec) *string { return v.RowFilter }).(pulumi.StringPtrOutput) @@ -4570,6 +5249,12 @@ func (o GoogleCloudDataplexV1DataQualitySpecPtrOutput) ToGoogleCloudDataplexV1Da return o } +func (o GoogleCloudDataplexV1DataQualitySpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataQualitySpec] { + return pulumix.Output[*GoogleCloudDataplexV1DataQualitySpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataQualitySpecPtrOutput) Elem() GoogleCloudDataplexV1DataQualitySpecOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataQualitySpec) GoogleCloudDataplexV1DataQualitySpec { if v != nil { @@ -4635,6 +5320,12 @@ func (o GoogleCloudDataplexV1DataQualitySpecResponseOutput) ToGoogleCloudDataple return o } +func (o GoogleCloudDataplexV1DataQualitySpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataQualitySpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataQualitySpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL syntax. Example: col1 >= 0 AND col2 < 10 func (o GoogleCloudDataplexV1DataQualitySpecResponseOutput) RowFilter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataQualitySpecResponse) string { return v.RowFilter }).(pulumi.StringOutput) @@ -4691,6 +5382,12 @@ func (i GoogleCloudDataplexV1DataScanExecutionSpecArgs) ToGoogleCloudDataplexV1D return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataScanExecutionSpecOutput) } +func (i GoogleCloudDataplexV1DataScanExecutionSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataScanExecutionSpec] { + return pulumix.Output[GoogleCloudDataplexV1DataScanExecutionSpec]{ + OutputState: i.ToGoogleCloudDataplexV1DataScanExecutionSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1DataScanExecutionSpecArgs) ToGoogleCloudDataplexV1DataScanExecutionSpecPtrOutput() GoogleCloudDataplexV1DataScanExecutionSpecPtrOutput { return i.ToGoogleCloudDataplexV1DataScanExecutionSpecPtrOutputWithContext(context.Background()) } @@ -4732,6 +5429,12 @@ func (i *googleCloudDataplexV1DataScanExecutionSpecPtrType) ToGoogleCloudDataple return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataScanExecutionSpecPtrOutput) } +func (i *googleCloudDataplexV1DataScanExecutionSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataScanExecutionSpec] { + return pulumix.Output[*GoogleCloudDataplexV1DataScanExecutionSpec]{ + OutputState: i.ToGoogleCloudDataplexV1DataScanExecutionSpecPtrOutputWithContext(ctx).OutputState, + } +} + // DataScan execution settings. type GoogleCloudDataplexV1DataScanExecutionSpecOutput struct{ *pulumi.OutputState } @@ -4757,6 +5460,12 @@ func (o GoogleCloudDataplexV1DataScanExecutionSpecOutput) ToGoogleCloudDataplexV }).(GoogleCloudDataplexV1DataScanExecutionSpecPtrOutput) } +func (o GoogleCloudDataplexV1DataScanExecutionSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataScanExecutionSpec] { + return pulumix.Output[GoogleCloudDataplexV1DataScanExecutionSpec]{ + OutputState: o.OutputState, + } +} + // Immutable. The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time.If not specified, a data scan will run for all data in the table. func (o GoogleCloudDataplexV1DataScanExecutionSpecOutput) Field() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataScanExecutionSpec) *string { return v.Field }).(pulumi.StringPtrOutput) @@ -4781,6 +5490,12 @@ func (o GoogleCloudDataplexV1DataScanExecutionSpecPtrOutput) ToGoogleCloudDatapl return o } +func (o GoogleCloudDataplexV1DataScanExecutionSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1DataScanExecutionSpec] { + return pulumix.Output[*GoogleCloudDataplexV1DataScanExecutionSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1DataScanExecutionSpecPtrOutput) Elem() GoogleCloudDataplexV1DataScanExecutionSpecOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1DataScanExecutionSpec) GoogleCloudDataplexV1DataScanExecutionSpec { if v != nil { @@ -4834,6 +5549,12 @@ func (o GoogleCloudDataplexV1DataScanExecutionSpecResponseOutput) ToGoogleCloudD return o } +func (o GoogleCloudDataplexV1DataScanExecutionSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataScanExecutionSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataScanExecutionSpecResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time.If not specified, a data scan will run for all data in the table. func (o GoogleCloudDataplexV1DataScanExecutionSpecResponseOutput) Field() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataScanExecutionSpecResponse) string { return v.Field }).(pulumi.StringOutput) @@ -4869,6 +5590,12 @@ func (o GoogleCloudDataplexV1DataScanExecutionStatusResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDataplexV1DataScanExecutionStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataScanExecutionStatusResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataScanExecutionStatusResponse]{ + OutputState: o.OutputState, + } +} + // The time when the latest DataScanJob ended. func (o GoogleCloudDataplexV1DataScanExecutionStatusResponseOutput) LatestJobEndTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataScanExecutionStatusResponse) string { return v.LatestJobEndTime }).(pulumi.StringOutput) @@ -4918,6 +5645,12 @@ func (i GoogleCloudDataplexV1DataSourceArgs) ToGoogleCloudDataplexV1DataSourceOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1DataSourceOutput) } +func (i GoogleCloudDataplexV1DataSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataSource] { + return pulumix.Output[GoogleCloudDataplexV1DataSource]{ + OutputState: i.ToGoogleCloudDataplexV1DataSourceOutputWithContext(ctx).OutputState, + } +} + // The data source for DataScan. type GoogleCloudDataplexV1DataSourceOutput struct{ *pulumi.OutputState } @@ -4933,6 +5666,12 @@ func (o GoogleCloudDataplexV1DataSourceOutput) ToGoogleCloudDataplexV1DataSource return o } +func (o GoogleCloudDataplexV1DataSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataSource] { + return pulumix.Output[GoogleCloudDataplexV1DataSource]{ + OutputState: o.OutputState, + } +} + // Immutable. The Dataplex entity that represents the data source (e.g. BigQuery table) for DataScan, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}. func (o GoogleCloudDataplexV1DataSourceOutput) Entity() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataSource) *string { return v.Entity }).(pulumi.StringPtrOutput) @@ -4966,6 +5705,12 @@ func (o GoogleCloudDataplexV1DataSourceResponseOutput) ToGoogleCloudDataplexV1Da return o } +func (o GoogleCloudDataplexV1DataSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1DataSourceResponse] { + return pulumix.Output[GoogleCloudDataplexV1DataSourceResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The Dataplex entity that represents the data source (e.g. BigQuery table) for DataScan, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}. func (o GoogleCloudDataplexV1DataSourceResponseOutput) Entity() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1DataSourceResponse) string { return v.Entity }).(pulumi.StringOutput) @@ -4999,6 +5744,12 @@ func (o GoogleCloudDataplexV1EntityCompatibilityStatusCompatibilityResponseOutpu return o } +func (o GoogleCloudDataplexV1EntityCompatibilityStatusCompatibilityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EntityCompatibilityStatusCompatibilityResponse] { + return pulumix.Output[GoogleCloudDataplexV1EntityCompatibilityStatusCompatibilityResponse]{ + OutputState: o.OutputState, + } +} + // Whether the entity is compatible and can be represented in the metadata store. func (o GoogleCloudDataplexV1EntityCompatibilityStatusCompatibilityResponseOutput) Compatible() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EntityCompatibilityStatusCompatibilityResponse) bool { return v.Compatible }).(pulumi.BoolOutput) @@ -5032,6 +5783,12 @@ func (o GoogleCloudDataplexV1EntityCompatibilityStatusResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDataplexV1EntityCompatibilityStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EntityCompatibilityStatusResponse] { + return pulumix.Output[GoogleCloudDataplexV1EntityCompatibilityStatusResponse]{ + OutputState: o.OutputState, + } +} + // Whether this entity is compatible with BigQuery. func (o GoogleCloudDataplexV1EntityCompatibilityStatusResponseOutput) Bigquery() GoogleCloudDataplexV1EntityCompatibilityStatusCompatibilityResponseOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EntityCompatibilityStatusResponse) GoogleCloudDataplexV1EntityCompatibilityStatusCompatibilityResponse { @@ -5069,6 +5826,12 @@ func (o GoogleCloudDataplexV1EnvironmentEndpointsResponseOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDataplexV1EnvironmentEndpointsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentEndpointsResponse] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentEndpointsResponse]{ + OutputState: o.OutputState, + } +} + // URI to serve notebook APIs func (o GoogleCloudDataplexV1EnvironmentEndpointsResponseOutput) Notebooks() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EnvironmentEndpointsResponse) string { return v.Notebooks }).(pulumi.StringOutput) @@ -5118,6 +5881,12 @@ func (i GoogleCloudDataplexV1EnvironmentInfrastructureSpecArgs) ToGoogleCloudDat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1EnvironmentInfrastructureSpecOutput) } +func (i GoogleCloudDataplexV1EnvironmentInfrastructureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpec] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpec]{ + OutputState: i.ToGoogleCloudDataplexV1EnvironmentInfrastructureSpecOutputWithContext(ctx).OutputState, + } +} + // Configuration for the underlying infrastructure used to run workloads. type GoogleCloudDataplexV1EnvironmentInfrastructureSpecOutput struct{ *pulumi.OutputState } @@ -5133,6 +5902,12 @@ func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecOutput) ToGoogleCloudD return o } +func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpec] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpec]{ + OutputState: o.OutputState, + } +} + // Optional. Compute resources needed for analyze interactive workloads. func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecOutput) Compute() GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EnvironmentInfrastructureSpec) *GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources { @@ -5190,6 +5965,12 @@ func (i GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesOutput) } +func (i GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources]{ + OutputState: i.ToGoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesArgs) ToGoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrOutput() GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrOutput { return i.ToGoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrOutputWithContext(context.Background()) } @@ -5231,6 +6012,12 @@ func (i *googleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrTy return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrOutput) } +func (i *googleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources] { + return pulumix.Output[*GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources]{ + OutputState: i.ToGoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrOutputWithContext(ctx).OutputState, + } +} + // Compute resources associated with the analyze interactive workloads. type GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesOutput struct{ *pulumi.OutputState } @@ -5256,6 +6043,12 @@ func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesOutput }).(GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrOutput) } +func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources]{ + OutputState: o.OutputState, + } +} + // Optional. Size in GB of the disk. Default is 100 GB. func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesOutput) DiskSizeGb() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources) *int { return v.DiskSizeGb }).(pulumi.IntPtrOutput) @@ -5285,6 +6078,12 @@ func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrOut return o } +func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources] { + return pulumix.Output[*GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesPtrOutput) Elem() GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources) GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResources { if v != nil { @@ -5350,6 +6149,12 @@ func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesRespon return o } +func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponse] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Size in GB of the disk. Default is 100 GB. func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponseOutput) DiskSizeGb() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponse) int { @@ -5418,6 +6223,12 @@ func (i GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeArgs) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeOutput) } +func (i GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime]{ + OutputState: i.ToGoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeOutputWithContext(ctx).OutputState, + } +} + // Software Runtime Configuration to run Analyze. type GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeOutput struct{ *pulumi.OutputState } @@ -5433,6 +6244,12 @@ func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeOutput) return o } +func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime]{ + OutputState: o.OutputState, + } +} + // Dataplex Image version. func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeOutput) ImageVersion() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime) string { return v.ImageVersion }).(pulumi.StringOutput) @@ -5486,6 +6303,12 @@ func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponse return o } +func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponse] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponse]{ + OutputState: o.OutputState, + } +} + // Dataplex Image version. func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponseOutput) ImageVersion() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntimeResponse) string { @@ -5537,6 +6360,12 @@ func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponseOutput) ToGoog return o } +func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Compute resources needed for analyze interactive workloads. func (o GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponseOutput) Compute() GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponseOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EnvironmentInfrastructureSpecResponse) GoogleCloudDataplexV1EnvironmentInfrastructureSpecComputeResourcesResponse { @@ -5590,6 +6419,12 @@ func (i GoogleCloudDataplexV1EnvironmentSessionSpecArgs) ToGoogleCloudDataplexV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1EnvironmentSessionSpecOutput) } +func (i GoogleCloudDataplexV1EnvironmentSessionSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentSessionSpec] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentSessionSpec]{ + OutputState: i.ToGoogleCloudDataplexV1EnvironmentSessionSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1EnvironmentSessionSpecArgs) ToGoogleCloudDataplexV1EnvironmentSessionSpecPtrOutput() GoogleCloudDataplexV1EnvironmentSessionSpecPtrOutput { return i.ToGoogleCloudDataplexV1EnvironmentSessionSpecPtrOutputWithContext(context.Background()) } @@ -5631,6 +6466,12 @@ func (i *googleCloudDataplexV1EnvironmentSessionSpecPtrType) ToGoogleCloudDatapl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1EnvironmentSessionSpecPtrOutput) } +func (i *googleCloudDataplexV1EnvironmentSessionSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1EnvironmentSessionSpec] { + return pulumix.Output[*GoogleCloudDataplexV1EnvironmentSessionSpec]{ + OutputState: i.ToGoogleCloudDataplexV1EnvironmentSessionSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for sessions created for this environment. type GoogleCloudDataplexV1EnvironmentSessionSpecOutput struct{ *pulumi.OutputState } @@ -5656,6 +6497,12 @@ func (o GoogleCloudDataplexV1EnvironmentSessionSpecOutput) ToGoogleCloudDataplex }).(GoogleCloudDataplexV1EnvironmentSessionSpecPtrOutput) } +func (o GoogleCloudDataplexV1EnvironmentSessionSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentSessionSpec] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentSessionSpec]{ + OutputState: o.OutputState, + } +} + // Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration. func (o GoogleCloudDataplexV1EnvironmentSessionSpecOutput) EnableFastStartup() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EnvironmentSessionSpec) *bool { return v.EnableFastStartup }).(pulumi.BoolPtrOutput) @@ -5680,6 +6527,12 @@ func (o GoogleCloudDataplexV1EnvironmentSessionSpecPtrOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1EnvironmentSessionSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1EnvironmentSessionSpec] { + return pulumix.Output[*GoogleCloudDataplexV1EnvironmentSessionSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1EnvironmentSessionSpecPtrOutput) Elem() GoogleCloudDataplexV1EnvironmentSessionSpecOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1EnvironmentSessionSpec) GoogleCloudDataplexV1EnvironmentSessionSpec { if v != nil { @@ -5733,6 +6586,12 @@ func (o GoogleCloudDataplexV1EnvironmentSessionSpecResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDataplexV1EnvironmentSessionSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentSessionSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentSessionSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If True, this causes sessions to be pre-created and available for faster startup to enable interactive exploration use-cases. This defaults to False to avoid additional billed charges. These can only be set to True for the environment with name set to "default", and with default configuration. func (o GoogleCloudDataplexV1EnvironmentSessionSpecResponseOutput) EnableFastStartup() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EnvironmentSessionSpecResponse) bool { return v.EnableFastStartup }).(pulumi.BoolOutput) @@ -5764,6 +6623,12 @@ func (o GoogleCloudDataplexV1EnvironmentSessionStatusResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDataplexV1EnvironmentSessionStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1EnvironmentSessionStatusResponse] { + return pulumix.Output[GoogleCloudDataplexV1EnvironmentSessionStatusResponse]{ + OutputState: o.OutputState, + } +} + // Queries over sessions to mark whether the environment is currently active or not func (o GoogleCloudDataplexV1EnvironmentSessionStatusResponseOutput) Active() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDataplexV1EnvironmentSessionStatusResponse) bool { return v.Active }).(pulumi.BoolOutput) @@ -5806,6 +6671,12 @@ func (o GoogleCloudDataplexV1JobResponseOutput) ToGoogleCloudDataplexV1JobRespon return o } +func (o GoogleCloudDataplexV1JobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1JobResponse] { + return pulumix.Output[GoogleCloudDataplexV1JobResponse]{ + OutputState: o.OutputState, + } +} + // The time when the job ended. func (o GoogleCloudDataplexV1JobResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1JobResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -5886,6 +6757,12 @@ func (i GoogleCloudDataplexV1LakeMetastoreArgs) ToGoogleCloudDataplexV1LakeMetas return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1LakeMetastoreOutput) } +func (i GoogleCloudDataplexV1LakeMetastoreArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1LakeMetastore] { + return pulumix.Output[GoogleCloudDataplexV1LakeMetastore]{ + OutputState: i.ToGoogleCloudDataplexV1LakeMetastoreOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1LakeMetastoreArgs) ToGoogleCloudDataplexV1LakeMetastorePtrOutput() GoogleCloudDataplexV1LakeMetastorePtrOutput { return i.ToGoogleCloudDataplexV1LakeMetastorePtrOutputWithContext(context.Background()) } @@ -5927,6 +6804,12 @@ func (i *googleCloudDataplexV1LakeMetastorePtrType) ToGoogleCloudDataplexV1LakeM return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1LakeMetastorePtrOutput) } +func (i *googleCloudDataplexV1LakeMetastorePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1LakeMetastore] { + return pulumix.Output[*GoogleCloudDataplexV1LakeMetastore]{ + OutputState: i.ToGoogleCloudDataplexV1LakeMetastorePtrOutputWithContext(ctx).OutputState, + } +} + // Settings to manage association of Dataproc Metastore with a lake. type GoogleCloudDataplexV1LakeMetastoreOutput struct{ *pulumi.OutputState } @@ -5952,6 +6835,12 @@ func (o GoogleCloudDataplexV1LakeMetastoreOutput) ToGoogleCloudDataplexV1LakeMet }).(GoogleCloudDataplexV1LakeMetastorePtrOutput) } +func (o GoogleCloudDataplexV1LakeMetastoreOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1LakeMetastore] { + return pulumix.Output[GoogleCloudDataplexV1LakeMetastore]{ + OutputState: o.OutputState, + } +} + // Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id} func (o GoogleCloudDataplexV1LakeMetastoreOutput) Service() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1LakeMetastore) *string { return v.Service }).(pulumi.StringPtrOutput) @@ -5971,6 +6860,12 @@ func (o GoogleCloudDataplexV1LakeMetastorePtrOutput) ToGoogleCloudDataplexV1Lake return o } +func (o GoogleCloudDataplexV1LakeMetastorePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1LakeMetastore] { + return pulumix.Output[*GoogleCloudDataplexV1LakeMetastore]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1LakeMetastorePtrOutput) Elem() GoogleCloudDataplexV1LakeMetastoreOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1LakeMetastore) GoogleCloudDataplexV1LakeMetastore { if v != nil { @@ -6012,6 +6907,12 @@ func (o GoogleCloudDataplexV1LakeMetastoreResponseOutput) ToGoogleCloudDataplexV return o } +func (o GoogleCloudDataplexV1LakeMetastoreResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1LakeMetastoreResponse] { + return pulumix.Output[GoogleCloudDataplexV1LakeMetastoreResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: projects/{project_id}/locations/{location_id}/services/{service_id} func (o GoogleCloudDataplexV1LakeMetastoreResponseOutput) Service() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1LakeMetastoreResponse) string { return v.Service }).(pulumi.StringOutput) @@ -6044,6 +6945,12 @@ func (o GoogleCloudDataplexV1LakeMetastoreStatusResponseOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDataplexV1LakeMetastoreStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1LakeMetastoreStatusResponse] { + return pulumix.Output[GoogleCloudDataplexV1LakeMetastoreStatusResponse]{ + OutputState: o.OutputState, + } +} + // The URI of the endpoint used to access the Metastore service. func (o GoogleCloudDataplexV1LakeMetastoreStatusResponseOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1LakeMetastoreStatusResponse) string { return v.Endpoint }).(pulumi.StringOutput) @@ -6107,6 +7014,12 @@ func (i GoogleCloudDataplexV1ResourceAccessSpecArgs) ToGoogleCloudDataplexV1Reso return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ResourceAccessSpecOutput) } +func (i GoogleCloudDataplexV1ResourceAccessSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ResourceAccessSpec] { + return pulumix.Output[GoogleCloudDataplexV1ResourceAccessSpec]{ + OutputState: i.ToGoogleCloudDataplexV1ResourceAccessSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1ResourceAccessSpecArgs) ToGoogleCloudDataplexV1ResourceAccessSpecPtrOutput() GoogleCloudDataplexV1ResourceAccessSpecPtrOutput { return i.ToGoogleCloudDataplexV1ResourceAccessSpecPtrOutputWithContext(context.Background()) } @@ -6148,6 +7061,12 @@ func (i *googleCloudDataplexV1ResourceAccessSpecPtrType) ToGoogleCloudDataplexV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ResourceAccessSpecPtrOutput) } +func (i *googleCloudDataplexV1ResourceAccessSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ResourceAccessSpec] { + return pulumix.Output[*GoogleCloudDataplexV1ResourceAccessSpec]{ + OutputState: i.ToGoogleCloudDataplexV1ResourceAccessSpecPtrOutputWithContext(ctx).OutputState, + } +} + // ResourceAccessSpec holds the access control configuration to be enforced on the resources, for example, Cloud Storage bucket, BigQuery dataset, BigQuery table. type GoogleCloudDataplexV1ResourceAccessSpecOutput struct{ *pulumi.OutputState } @@ -6173,6 +7092,12 @@ func (o GoogleCloudDataplexV1ResourceAccessSpecOutput) ToGoogleCloudDataplexV1Re }).(GoogleCloudDataplexV1ResourceAccessSpecPtrOutput) } +func (o GoogleCloudDataplexV1ResourceAccessSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ResourceAccessSpec] { + return pulumix.Output[GoogleCloudDataplexV1ResourceAccessSpec]{ + OutputState: o.OutputState, + } +} + // Optional. The set of principals to be granted owner role on the resource. func (o GoogleCloudDataplexV1ResourceAccessSpecOutput) Owners() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ResourceAccessSpec) []string { return v.Owners }).(pulumi.StringArrayOutput) @@ -6202,6 +7127,12 @@ func (o GoogleCloudDataplexV1ResourceAccessSpecPtrOutput) ToGoogleCloudDataplexV return o } +func (o GoogleCloudDataplexV1ResourceAccessSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ResourceAccessSpec] { + return pulumix.Output[*GoogleCloudDataplexV1ResourceAccessSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ResourceAccessSpecPtrOutput) Elem() GoogleCloudDataplexV1ResourceAccessSpecOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1ResourceAccessSpec) GoogleCloudDataplexV1ResourceAccessSpec { if v != nil { @@ -6267,6 +7198,12 @@ func (o GoogleCloudDataplexV1ResourceAccessSpecResponseOutput) ToGoogleCloudData return o } +func (o GoogleCloudDataplexV1ResourceAccessSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ResourceAccessSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1ResourceAccessSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The set of principals to be granted owner role on the resource. func (o GoogleCloudDataplexV1ResourceAccessSpecResponseOutput) Owners() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ResourceAccessSpecResponse) []string { return v.Owners }).(pulumi.StringArrayOutput) @@ -6307,6 +7244,12 @@ func (o GoogleCloudDataplexV1ScannedDataIncrementalFieldResponseOutput) ToGoogle return o } +func (o GoogleCloudDataplexV1ScannedDataIncrementalFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ScannedDataIncrementalFieldResponse] { + return pulumix.Output[GoogleCloudDataplexV1ScannedDataIncrementalFieldResponse]{ + OutputState: o.OutputState, + } +} + // Value that marks the end of the range. func (o GoogleCloudDataplexV1ScannedDataIncrementalFieldResponseOutput) End() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ScannedDataIncrementalFieldResponse) string { return v.End }).(pulumi.StringOutput) @@ -6343,6 +7286,12 @@ func (o GoogleCloudDataplexV1ScannedDataResponseOutput) ToGoogleCloudDataplexV1S return o } +func (o GoogleCloudDataplexV1ScannedDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ScannedDataResponse] { + return pulumix.Output[GoogleCloudDataplexV1ScannedDataResponse]{ + OutputState: o.OutputState, + } +} + // The range denoted by values of an incremental field func (o GoogleCloudDataplexV1ScannedDataResponseOutput) IncrementalField() GoogleCloudDataplexV1ScannedDataIncrementalFieldResponseOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ScannedDataResponse) GoogleCloudDataplexV1ScannedDataIncrementalFieldResponse { @@ -6397,6 +7346,12 @@ func (i GoogleCloudDataplexV1SchemaArgs) ToGoogleCloudDataplexV1SchemaOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1SchemaOutput) } +func (i GoogleCloudDataplexV1SchemaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1Schema] { + return pulumix.Output[GoogleCloudDataplexV1Schema]{ + OutputState: i.ToGoogleCloudDataplexV1SchemaOutputWithContext(ctx).OutputState, + } +} + // Schema information describing the structure and layout of the data. type GoogleCloudDataplexV1SchemaOutput struct{ *pulumi.OutputState } @@ -6412,6 +7367,12 @@ func (o GoogleCloudDataplexV1SchemaOutput) ToGoogleCloudDataplexV1SchemaOutputWi return o } +func (o GoogleCloudDataplexV1SchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1Schema] { + return pulumix.Output[GoogleCloudDataplexV1Schema]{ + OutputState: o.OutputState, + } +} + // Optional. The sequence of fields describing data in table entities. Note: BigQuery SchemaFields are immutable. func (o GoogleCloudDataplexV1SchemaOutput) Fields() GoogleCloudDataplexV1SchemaSchemaFieldArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1Schema) []GoogleCloudDataplexV1SchemaSchemaField { return v.Fields }).(GoogleCloudDataplexV1SchemaSchemaFieldArrayOutput) @@ -6475,6 +7436,12 @@ func (i GoogleCloudDataplexV1SchemaPartitionFieldArgs) ToGoogleCloudDataplexV1Sc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1SchemaPartitionFieldOutput) } +func (i GoogleCloudDataplexV1SchemaPartitionFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaPartitionField] { + return pulumix.Output[GoogleCloudDataplexV1SchemaPartitionField]{ + OutputState: i.ToGoogleCloudDataplexV1SchemaPartitionFieldOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDataplexV1SchemaPartitionFieldArrayInput is an input type that accepts GoogleCloudDataplexV1SchemaPartitionFieldArray and GoogleCloudDataplexV1SchemaPartitionFieldArrayOutput values. // You can construct a concrete instance of `GoogleCloudDataplexV1SchemaPartitionFieldArrayInput` via: // @@ -6500,6 +7467,12 @@ func (i GoogleCloudDataplexV1SchemaPartitionFieldArray) ToGoogleCloudDataplexV1S return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1SchemaPartitionFieldArrayOutput) } +func (i GoogleCloudDataplexV1SchemaPartitionFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1SchemaPartitionField] { + return pulumix.Output[[]GoogleCloudDataplexV1SchemaPartitionField]{ + OutputState: i.ToGoogleCloudDataplexV1SchemaPartitionFieldArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a key field within the entity's partition structure. You could have up to 20 partition fields, but only the first 10 partitions have the filtering ability due to performance consideration. Note: Partition fields are immutable. type GoogleCloudDataplexV1SchemaPartitionFieldOutput struct{ *pulumi.OutputState } @@ -6515,6 +7488,12 @@ func (o GoogleCloudDataplexV1SchemaPartitionFieldOutput) ToGoogleCloudDataplexV1 return o } +func (o GoogleCloudDataplexV1SchemaPartitionFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaPartitionField] { + return pulumix.Output[GoogleCloudDataplexV1SchemaPartitionField]{ + OutputState: o.OutputState, + } +} + // Partition field name must consist of letters, numbers, and underscores only, with a maximum of length of 256 characters, and must begin with a letter or underscore.. func (o GoogleCloudDataplexV1SchemaPartitionFieldOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1SchemaPartitionField) string { return v.Name }).(pulumi.StringOutput) @@ -6541,6 +7520,12 @@ func (o GoogleCloudDataplexV1SchemaPartitionFieldArrayOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1SchemaPartitionFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1SchemaPartitionField] { + return pulumix.Output[[]GoogleCloudDataplexV1SchemaPartitionField]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaPartitionFieldArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1SchemaPartitionFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1SchemaPartitionField { return vs[0].([]GoogleCloudDataplexV1SchemaPartitionField)[vs[1].(int)] @@ -6570,6 +7555,12 @@ func (o GoogleCloudDataplexV1SchemaPartitionFieldResponseOutput) ToGoogleCloudDa return o } +func (o GoogleCloudDataplexV1SchemaPartitionFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaPartitionFieldResponse] { + return pulumix.Output[GoogleCloudDataplexV1SchemaPartitionFieldResponse]{ + OutputState: o.OutputState, + } +} + // Partition field name must consist of letters, numbers, and underscores only, with a maximum of length of 256 characters, and must begin with a letter or underscore.. func (o GoogleCloudDataplexV1SchemaPartitionFieldResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1SchemaPartitionFieldResponse) string { return v.Name }).(pulumi.StringOutput) @@ -6594,6 +7585,12 @@ func (o GoogleCloudDataplexV1SchemaPartitionFieldResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDataplexV1SchemaPartitionFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1SchemaPartitionFieldResponse] { + return pulumix.Output[[]GoogleCloudDataplexV1SchemaPartitionFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaPartitionFieldResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1SchemaPartitionFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1SchemaPartitionFieldResponse { return vs[0].([]GoogleCloudDataplexV1SchemaPartitionFieldResponse)[vs[1].(int)] @@ -6627,6 +7624,12 @@ func (o GoogleCloudDataplexV1SchemaResponseOutput) ToGoogleCloudDataplexV1Schema return o } +func (o GoogleCloudDataplexV1SchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaResponse] { + return pulumix.Output[GoogleCloudDataplexV1SchemaResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The sequence of fields describing data in table entities. Note: BigQuery SchemaFields are immutable. func (o GoogleCloudDataplexV1SchemaResponseOutput) Fields() GoogleCloudDataplexV1SchemaSchemaFieldResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1SchemaResponse) []GoogleCloudDataplexV1SchemaSchemaFieldResponse { @@ -6702,6 +7705,12 @@ func (i GoogleCloudDataplexV1SchemaSchemaFieldArgs) ToGoogleCloudDataplexV1Schem return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1SchemaSchemaFieldOutput) } +func (i GoogleCloudDataplexV1SchemaSchemaFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaSchemaField] { + return pulumix.Output[GoogleCloudDataplexV1SchemaSchemaField]{ + OutputState: i.ToGoogleCloudDataplexV1SchemaSchemaFieldOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDataplexV1SchemaSchemaFieldArrayInput is an input type that accepts GoogleCloudDataplexV1SchemaSchemaFieldArray and GoogleCloudDataplexV1SchemaSchemaFieldArrayOutput values. // You can construct a concrete instance of `GoogleCloudDataplexV1SchemaSchemaFieldArrayInput` via: // @@ -6727,6 +7736,12 @@ func (i GoogleCloudDataplexV1SchemaSchemaFieldArray) ToGoogleCloudDataplexV1Sche return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1SchemaSchemaFieldArrayOutput) } +func (i GoogleCloudDataplexV1SchemaSchemaFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1SchemaSchemaField] { + return pulumix.Output[[]GoogleCloudDataplexV1SchemaSchemaField]{ + OutputState: i.ToGoogleCloudDataplexV1SchemaSchemaFieldArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a column field within a table schema. type GoogleCloudDataplexV1SchemaSchemaFieldOutput struct{ *pulumi.OutputState } @@ -6742,6 +7757,12 @@ func (o GoogleCloudDataplexV1SchemaSchemaFieldOutput) ToGoogleCloudDataplexV1Sch return o } +func (o GoogleCloudDataplexV1SchemaSchemaFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaSchemaField] { + return pulumix.Output[GoogleCloudDataplexV1SchemaSchemaField]{ + OutputState: o.OutputState, + } +} + // Optional. User friendly field description. Must be less than or equal to 1024 characters. func (o GoogleCloudDataplexV1SchemaSchemaFieldOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1SchemaSchemaField) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -6787,6 +7808,12 @@ func (o GoogleCloudDataplexV1SchemaSchemaFieldArrayOutput) ToGoogleCloudDataplex return o } +func (o GoogleCloudDataplexV1SchemaSchemaFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1SchemaSchemaField] { + return pulumix.Output[[]GoogleCloudDataplexV1SchemaSchemaField]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaSchemaFieldArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1SchemaSchemaFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1SchemaSchemaField { return vs[0].([]GoogleCloudDataplexV1SchemaSchemaField)[vs[1].(int)] @@ -6822,6 +7849,12 @@ func (o GoogleCloudDataplexV1SchemaSchemaFieldResponseOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1SchemaSchemaFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1SchemaSchemaFieldResponse] { + return pulumix.Output[GoogleCloudDataplexV1SchemaSchemaFieldResponse]{ + OutputState: o.OutputState, + } +} + // Optional. User friendly field description. Must be less than or equal to 1024 characters. func (o GoogleCloudDataplexV1SchemaSchemaFieldResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1SchemaSchemaFieldResponse) string { return v.Description }).(pulumi.StringOutput) @@ -6863,6 +7896,12 @@ func (o GoogleCloudDataplexV1SchemaSchemaFieldResponseArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudDataplexV1SchemaSchemaFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDataplexV1SchemaSchemaFieldResponse] { + return pulumix.Output[[]GoogleCloudDataplexV1SchemaSchemaFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1SchemaSchemaFieldResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDataplexV1SchemaSchemaFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDataplexV1SchemaSchemaFieldResponse { return vs[0].([]GoogleCloudDataplexV1SchemaSchemaFieldResponse)[vs[1].(int)] @@ -6890,6 +7929,12 @@ func (o GoogleCloudDataplexV1StorageAccessResponseOutput) ToGoogleCloudDataplexV return o } +func (o GoogleCloudDataplexV1StorageAccessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageAccessResponse] { + return pulumix.Output[GoogleCloudDataplexV1StorageAccessResponse]{ + OutputState: o.OutputState, + } +} + // Describes the read access mechanism of the data. Not user settable. func (o GoogleCloudDataplexV1StorageAccessResponseOutput) Read() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1StorageAccessResponse) string { return v.Read }).(pulumi.StringOutput) @@ -6946,6 +7991,12 @@ func (i GoogleCloudDataplexV1StorageFormatArgs) ToGoogleCloudDataplexV1StorageFo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1StorageFormatOutput) } +func (i GoogleCloudDataplexV1StorageFormatArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormat] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormat]{ + OutputState: i.ToGoogleCloudDataplexV1StorageFormatOutputWithContext(ctx).OutputState, + } +} + // Describes the format of the data within its storage location. type GoogleCloudDataplexV1StorageFormatOutput struct{ *pulumi.OutputState } @@ -6961,6 +8012,12 @@ func (o GoogleCloudDataplexV1StorageFormatOutput) ToGoogleCloudDataplexV1Storage return o } +func (o GoogleCloudDataplexV1StorageFormatOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormat] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormat]{ + OutputState: o.OutputState, + } +} + // Optional. The compression type associated with the stored data. If unspecified, the data is uncompressed. func (o GoogleCloudDataplexV1StorageFormatOutput) CompressionFormat() GoogleCloudDataplexV1StorageFormatCompressionFormatPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1StorageFormat) *GoogleCloudDataplexV1StorageFormatCompressionFormat { @@ -7039,6 +8096,12 @@ func (i GoogleCloudDataplexV1StorageFormatCsvOptionsArgs) ToGoogleCloudDataplexV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1StorageFormatCsvOptionsOutput) } +func (i GoogleCloudDataplexV1StorageFormatCsvOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatCsvOptions] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatCsvOptions]{ + OutputState: i.ToGoogleCloudDataplexV1StorageFormatCsvOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1StorageFormatCsvOptionsArgs) ToGoogleCloudDataplexV1StorageFormatCsvOptionsPtrOutput() GoogleCloudDataplexV1StorageFormatCsvOptionsPtrOutput { return i.ToGoogleCloudDataplexV1StorageFormatCsvOptionsPtrOutputWithContext(context.Background()) } @@ -7080,6 +8143,12 @@ func (i *googleCloudDataplexV1StorageFormatCsvOptionsPtrType) ToGoogleCloudDatap return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1StorageFormatCsvOptionsPtrOutput) } +func (i *googleCloudDataplexV1StorageFormatCsvOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1StorageFormatCsvOptions] { + return pulumix.Output[*GoogleCloudDataplexV1StorageFormatCsvOptions]{ + OutputState: i.ToGoogleCloudDataplexV1StorageFormatCsvOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes CSV and similar semi-structured data formats. type GoogleCloudDataplexV1StorageFormatCsvOptionsOutput struct{ *pulumi.OutputState } @@ -7105,6 +8174,12 @@ func (o GoogleCloudDataplexV1StorageFormatCsvOptionsOutput) ToGoogleCloudDataple }).(GoogleCloudDataplexV1StorageFormatCsvOptionsPtrOutput) } +func (o GoogleCloudDataplexV1StorageFormatCsvOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatCsvOptions] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatCsvOptions]{ + OutputState: o.OutputState, + } +} + // Optional. The delimiter used to separate values. Defaults to ','. func (o GoogleCloudDataplexV1StorageFormatCsvOptionsOutput) Delimiter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1StorageFormatCsvOptions) *string { return v.Delimiter }).(pulumi.StringPtrOutput) @@ -7139,6 +8214,12 @@ func (o GoogleCloudDataplexV1StorageFormatCsvOptionsPtrOutput) ToGoogleCloudData return o } +func (o GoogleCloudDataplexV1StorageFormatCsvOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1StorageFormatCsvOptions] { + return pulumix.Output[*GoogleCloudDataplexV1StorageFormatCsvOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1StorageFormatCsvOptionsPtrOutput) Elem() GoogleCloudDataplexV1StorageFormatCsvOptionsOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1StorageFormatCsvOptions) GoogleCloudDataplexV1StorageFormatCsvOptions { if v != nil { @@ -7216,6 +8297,12 @@ func (o GoogleCloudDataplexV1StorageFormatCsvOptionsResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDataplexV1StorageFormatCsvOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatCsvOptionsResponse] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatCsvOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The delimiter used to separate values. Defaults to ','. func (o GoogleCloudDataplexV1StorageFormatCsvOptionsResponseOutput) Delimiter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1StorageFormatCsvOptionsResponse) string { return v.Delimiter }).(pulumi.StringOutput) @@ -7271,6 +8358,12 @@ func (i GoogleCloudDataplexV1StorageFormatIcebergOptionsArgs) ToGoogleCloudDatap return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1StorageFormatIcebergOptionsOutput) } +func (i GoogleCloudDataplexV1StorageFormatIcebergOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatIcebergOptions] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatIcebergOptions]{ + OutputState: i.ToGoogleCloudDataplexV1StorageFormatIcebergOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1StorageFormatIcebergOptionsArgs) ToGoogleCloudDataplexV1StorageFormatIcebergOptionsPtrOutput() GoogleCloudDataplexV1StorageFormatIcebergOptionsPtrOutput { return i.ToGoogleCloudDataplexV1StorageFormatIcebergOptionsPtrOutputWithContext(context.Background()) } @@ -7312,6 +8405,12 @@ func (i *googleCloudDataplexV1StorageFormatIcebergOptionsPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1StorageFormatIcebergOptionsPtrOutput) } +func (i *googleCloudDataplexV1StorageFormatIcebergOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1StorageFormatIcebergOptions] { + return pulumix.Output[*GoogleCloudDataplexV1StorageFormatIcebergOptions]{ + OutputState: i.ToGoogleCloudDataplexV1StorageFormatIcebergOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes Iceberg data format. type GoogleCloudDataplexV1StorageFormatIcebergOptionsOutput struct{ *pulumi.OutputState } @@ -7337,6 +8436,12 @@ func (o GoogleCloudDataplexV1StorageFormatIcebergOptionsOutput) ToGoogleCloudDat }).(GoogleCloudDataplexV1StorageFormatIcebergOptionsPtrOutput) } +func (o GoogleCloudDataplexV1StorageFormatIcebergOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatIcebergOptions] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatIcebergOptions]{ + OutputState: o.OutputState, + } +} + // Optional. The location of where the iceberg metadata is present, must be within the table path func (o GoogleCloudDataplexV1StorageFormatIcebergOptionsOutput) MetadataLocation() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1StorageFormatIcebergOptions) *string { return v.MetadataLocation }).(pulumi.StringPtrOutput) @@ -7356,6 +8461,12 @@ func (o GoogleCloudDataplexV1StorageFormatIcebergOptionsPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDataplexV1StorageFormatIcebergOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1StorageFormatIcebergOptions] { + return pulumix.Output[*GoogleCloudDataplexV1StorageFormatIcebergOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1StorageFormatIcebergOptionsPtrOutput) Elem() GoogleCloudDataplexV1StorageFormatIcebergOptionsOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1StorageFormatIcebergOptions) GoogleCloudDataplexV1StorageFormatIcebergOptions { if v != nil { @@ -7397,6 +8508,12 @@ func (o GoogleCloudDataplexV1StorageFormatIcebergOptionsResponseOutput) ToGoogle return o } +func (o GoogleCloudDataplexV1StorageFormatIcebergOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatIcebergOptionsResponse] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatIcebergOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The location of where the iceberg metadata is present, must be within the table path func (o GoogleCloudDataplexV1StorageFormatIcebergOptionsResponseOutput) MetadataLocation() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1StorageFormatIcebergOptionsResponse) string { return v.MetadataLocation }).(pulumi.StringOutput) @@ -7437,6 +8554,12 @@ func (i GoogleCloudDataplexV1StorageFormatJsonOptionsArgs) ToGoogleCloudDataplex return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1StorageFormatJsonOptionsOutput) } +func (i GoogleCloudDataplexV1StorageFormatJsonOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatJsonOptions] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatJsonOptions]{ + OutputState: i.ToGoogleCloudDataplexV1StorageFormatJsonOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1StorageFormatJsonOptionsArgs) ToGoogleCloudDataplexV1StorageFormatJsonOptionsPtrOutput() GoogleCloudDataplexV1StorageFormatJsonOptionsPtrOutput { return i.ToGoogleCloudDataplexV1StorageFormatJsonOptionsPtrOutputWithContext(context.Background()) } @@ -7478,6 +8601,12 @@ func (i *googleCloudDataplexV1StorageFormatJsonOptionsPtrType) ToGoogleCloudData return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1StorageFormatJsonOptionsPtrOutput) } +func (i *googleCloudDataplexV1StorageFormatJsonOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1StorageFormatJsonOptions] { + return pulumix.Output[*GoogleCloudDataplexV1StorageFormatJsonOptions]{ + OutputState: i.ToGoogleCloudDataplexV1StorageFormatJsonOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes JSON data format. type GoogleCloudDataplexV1StorageFormatJsonOptionsOutput struct{ *pulumi.OutputState } @@ -7503,6 +8632,12 @@ func (o GoogleCloudDataplexV1StorageFormatJsonOptionsOutput) ToGoogleCloudDatapl }).(GoogleCloudDataplexV1StorageFormatJsonOptionsPtrOutput) } +func (o GoogleCloudDataplexV1StorageFormatJsonOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatJsonOptions] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatJsonOptions]{ + OutputState: o.OutputState, + } +} + // Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and "ISO-8859-1". Defaults to UTF-8 if not specified. func (o GoogleCloudDataplexV1StorageFormatJsonOptionsOutput) Encoding() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1StorageFormatJsonOptions) *string { return v.Encoding }).(pulumi.StringPtrOutput) @@ -7522,6 +8657,12 @@ func (o GoogleCloudDataplexV1StorageFormatJsonOptionsPtrOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDataplexV1StorageFormatJsonOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1StorageFormatJsonOptions] { + return pulumix.Output[*GoogleCloudDataplexV1StorageFormatJsonOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1StorageFormatJsonOptionsPtrOutput) Elem() GoogleCloudDataplexV1StorageFormatJsonOptionsOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1StorageFormatJsonOptions) GoogleCloudDataplexV1StorageFormatJsonOptions { if v != nil { @@ -7563,6 +8704,12 @@ func (o GoogleCloudDataplexV1StorageFormatJsonOptionsResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDataplexV1StorageFormatJsonOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatJsonOptionsResponse] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatJsonOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and "ISO-8859-1". Defaults to UTF-8 if not specified. func (o GoogleCloudDataplexV1StorageFormatJsonOptionsResponseOutput) Encoding() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1StorageFormatJsonOptionsResponse) string { return v.Encoding }).(pulumi.StringOutput) @@ -7599,6 +8746,12 @@ func (o GoogleCloudDataplexV1StorageFormatResponseOutput) ToGoogleCloudDataplexV return o } +func (o GoogleCloudDataplexV1StorageFormatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1StorageFormatResponse] { + return pulumix.Output[GoogleCloudDataplexV1StorageFormatResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The compression type associated with the stored data. If unspecified, the data is uncompressed. func (o GoogleCloudDataplexV1StorageFormatResponseOutput) CompressionFormat() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1StorageFormatResponse) string { return v.CompressionFormat }).(pulumi.StringOutput) @@ -7686,6 +8839,12 @@ func (i GoogleCloudDataplexV1TaskExecutionSpecArgs) ToGoogleCloudDataplexV1TaskE return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskExecutionSpecOutput) } +func (i GoogleCloudDataplexV1TaskExecutionSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskExecutionSpec] { + return pulumix.Output[GoogleCloudDataplexV1TaskExecutionSpec]{ + OutputState: i.ToGoogleCloudDataplexV1TaskExecutionSpecOutputWithContext(ctx).OutputState, + } +} + // Execution related settings, like retry and service_account. type GoogleCloudDataplexV1TaskExecutionSpecOutput struct{ *pulumi.OutputState } @@ -7701,6 +8860,12 @@ func (o GoogleCloudDataplexV1TaskExecutionSpecOutput) ToGoogleCloudDataplexV1Tas return o } +func (o GoogleCloudDataplexV1TaskExecutionSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskExecutionSpec] { + return pulumix.Output[GoogleCloudDataplexV1TaskExecutionSpec]{ + OutputState: o.OutputState, + } +} + // Optional. The arguments to pass to the task. The args can use placeholders of the format ${placeholder} as part of key/value string. These will be interpolated before passing the args to the driver. Currently supported placeholders: - ${task_id} - ${job_time} To pass positional args, set the key as TASK_ARGS. The value should be a comma-separated string of all the positional arguments. To use a delimiter other than comma, refer to https://cloud.google.com/sdk/gcloud/reference/topic/escaping. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument. func (o GoogleCloudDataplexV1TaskExecutionSpecOutput) Args() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskExecutionSpec) map[string]string { return v.Args }).(pulumi.StringMapOutput) @@ -7755,6 +8920,12 @@ func (o GoogleCloudDataplexV1TaskExecutionSpecResponseOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1TaskExecutionSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskExecutionSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1TaskExecutionSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The arguments to pass to the task. The args can use placeholders of the format ${placeholder} as part of key/value string. These will be interpolated before passing the args to the driver. Currently supported placeholders: - ${task_id} - ${job_time} To pass positional args, set the key as TASK_ARGS. The value should be a comma-separated string of all the positional arguments. To use a delimiter other than comma, refer to https://cloud.google.com/sdk/gcloud/reference/topic/escaping. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument. func (o GoogleCloudDataplexV1TaskExecutionSpecResponseOutput) Args() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskExecutionSpecResponse) map[string]string { return v.Args }).(pulumi.StringMapOutput) @@ -7803,6 +8974,12 @@ func (o GoogleCloudDataplexV1TaskExecutionStatusResponseOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDataplexV1TaskExecutionStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskExecutionStatusResponse] { + return pulumix.Output[GoogleCloudDataplexV1TaskExecutionStatusResponse]{ + OutputState: o.OutputState, + } +} + // latest job execution func (o GoogleCloudDataplexV1TaskExecutionStatusResponseOutput) LatestJob() GoogleCloudDataplexV1JobResponseOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskExecutionStatusResponse) GoogleCloudDataplexV1JobResponse { @@ -7858,6 +9035,12 @@ func (i GoogleCloudDataplexV1TaskInfrastructureSpecArgs) ToGoogleCloudDataplexV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskInfrastructureSpecOutput) } +func (i GoogleCloudDataplexV1TaskInfrastructureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpec] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpec]{ + OutputState: i.ToGoogleCloudDataplexV1TaskInfrastructureSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1TaskInfrastructureSpecArgs) ToGoogleCloudDataplexV1TaskInfrastructureSpecPtrOutput() GoogleCloudDataplexV1TaskInfrastructureSpecPtrOutput { return i.ToGoogleCloudDataplexV1TaskInfrastructureSpecPtrOutputWithContext(context.Background()) } @@ -7899,6 +9082,12 @@ func (i *googleCloudDataplexV1TaskInfrastructureSpecPtrType) ToGoogleCloudDatapl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskInfrastructureSpecPtrOutput) } +func (i *googleCloudDataplexV1TaskInfrastructureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpec] { + return pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpec]{ + OutputState: i.ToGoogleCloudDataplexV1TaskInfrastructureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the underlying infrastructure used to run workloads. type GoogleCloudDataplexV1TaskInfrastructureSpecOutput struct{ *pulumi.OutputState } @@ -7924,6 +9113,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecOutput) ToGoogleCloudDataplex }).(GoogleCloudDataplexV1TaskInfrastructureSpecPtrOutput) } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpec] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpec]{ + OutputState: o.OutputState, + } +} + // Compute resources needed for a Task when using Dataproc Serverless. func (o GoogleCloudDataplexV1TaskInfrastructureSpecOutput) Batch() GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskInfrastructureSpec) *GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources { @@ -7959,6 +9154,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecPtrOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpec] { + return pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TaskInfrastructureSpecPtrOutput) Elem() GoogleCloudDataplexV1TaskInfrastructureSpecOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1TaskInfrastructureSpec) GoogleCloudDataplexV1TaskInfrastructureSpec { if v != nil { @@ -8038,6 +9239,12 @@ func (i GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesArgs) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesOutput) } +func (i GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources]{ + OutputState: i.ToGoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesArgs) ToGoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrOutput() GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrOutput { return i.ToGoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrOutputWithContext(context.Background()) } @@ -8079,6 +9286,12 @@ func (i *googleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrType return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrOutput) } +func (i *googleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources] { + return pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources]{ + OutputState: i.ToGoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrOutputWithContext(ctx).OutputState, + } +} + // Batch compute resources associated with the task. type GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesOutput struct{ *pulumi.OutputState } @@ -8104,6 +9317,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesOutput) }).(GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrOutput) } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources]{ + OutputState: o.OutputState, + } +} + // Optional. Total number of job executors. Executor Count should be between 2 and 100. Default=2 func (o GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesOutput) ExecutorsCount() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources) *int { return v.ExecutorsCount }).(pulumi.IntPtrOutput) @@ -8130,6 +9349,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrOutpu return o } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources] { + return pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesPtrOutput) Elem() GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources) GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources { if v != nil { @@ -8183,6 +9408,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesResponse return o } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesResponse] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Total number of job executors. Executor Count should be between 2 and 100. Default=2 func (o GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesResponseOutput) ExecutorsCount() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesResponse) int { @@ -8244,6 +9475,12 @@ func (i GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeArgs) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeOutput) } +func (i GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime]{ + OutputState: i.ToGoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeArgs) ToGoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrOutput() GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrOutput { return i.ToGoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrOutputWithContext(context.Background()) } @@ -8285,6 +9522,12 @@ func (i *googleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrType return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrOutput) } +func (i *googleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime] { + return pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime]{ + OutputState: i.ToGoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrOutputWithContext(ctx).OutputState, + } +} + // Container Image Runtime Configuration used with Batch execution. type GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeOutput struct{ *pulumi.OutputState } @@ -8310,6 +9553,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeOutput) }).(GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrOutput) } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime]{ + OutputState: o.OutputState, + } +} + // Optional. Container image to use. func (o GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeOutput) Image() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime) *string { return v.Image }).(pulumi.StringPtrOutput) @@ -8348,6 +9597,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrOutpu return o } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime] { + return pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimePtrOutput) Elem() GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime) GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntime { if v != nil { @@ -8425,6 +9680,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeResponse return o } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeResponse] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Container image to use. func (o GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeResponseOutput) Image() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskInfrastructureSpecContainerImageRuntimeResponse) string { @@ -8478,6 +9739,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Compute resources needed for a Task when using Dataproc Serverless. func (o GoogleCloudDataplexV1TaskInfrastructureSpecResponseOutput) Batch() GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesResponseOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskInfrastructureSpecResponse) GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResourcesResponse { @@ -8542,6 +9809,12 @@ func (i GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkOutput) } +func (i GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork]{ + OutputState: i.ToGoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkArgs) ToGoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrOutput() GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrOutput { return i.ToGoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrOutputWithContext(context.Background()) } @@ -8583,6 +9856,12 @@ func (i *googleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrOutput) } +func (i *googleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork] { + return pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork]{ + OutputState: i.ToGoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud VPC Network used to run the infrastructure. type GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkOutput struct{ *pulumi.OutputState } @@ -8608,6 +9887,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkOutput) ToGoogleClo }).(GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrOutput) } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork]{ + OutputState: o.OutputState, + } +} + // Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used. func (o GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkOutput) Network() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork) *string { return v.Network }).(pulumi.StringPtrOutput) @@ -8637,6 +9922,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrOutput) ToGoogle return o } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork] { + return pulumix.Output[*GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkPtrOutput) Elem() GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork) GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetwork { if v != nil { @@ -8702,6 +9993,12 @@ func (o GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkResponseOutput) ToG return o } +func (o GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkResponse] { + return pulumix.Output[GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used. func (o GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkResponseOutput) Network() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskInfrastructureSpecVpcNetworkResponse) string { return v.Network }).(pulumi.StringOutput) @@ -8764,6 +10061,12 @@ func (i GoogleCloudDataplexV1TaskNotebookTaskConfigArgs) ToGoogleCloudDataplexV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskNotebookTaskConfigOutput) } +func (i GoogleCloudDataplexV1TaskNotebookTaskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskNotebookTaskConfig] { + return pulumix.Output[GoogleCloudDataplexV1TaskNotebookTaskConfig]{ + OutputState: i.ToGoogleCloudDataplexV1TaskNotebookTaskConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1TaskNotebookTaskConfigArgs) ToGoogleCloudDataplexV1TaskNotebookTaskConfigPtrOutput() GoogleCloudDataplexV1TaskNotebookTaskConfigPtrOutput { return i.ToGoogleCloudDataplexV1TaskNotebookTaskConfigPtrOutputWithContext(context.Background()) } @@ -8805,6 +10108,12 @@ func (i *googleCloudDataplexV1TaskNotebookTaskConfigPtrType) ToGoogleCloudDatapl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskNotebookTaskConfigPtrOutput) } +func (i *googleCloudDataplexV1TaskNotebookTaskConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskNotebookTaskConfig] { + return pulumix.Output[*GoogleCloudDataplexV1TaskNotebookTaskConfig]{ + OutputState: i.ToGoogleCloudDataplexV1TaskNotebookTaskConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config for running scheduled notebooks. type GoogleCloudDataplexV1TaskNotebookTaskConfigOutput struct{ *pulumi.OutputState } @@ -8830,6 +10139,12 @@ func (o GoogleCloudDataplexV1TaskNotebookTaskConfigOutput) ToGoogleCloudDataplex }).(GoogleCloudDataplexV1TaskNotebookTaskConfigPtrOutput) } +func (o GoogleCloudDataplexV1TaskNotebookTaskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskNotebookTaskConfig] { + return pulumix.Output[GoogleCloudDataplexV1TaskNotebookTaskConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o GoogleCloudDataplexV1TaskNotebookTaskConfigOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskNotebookTaskConfig) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -8866,6 +10181,12 @@ func (o GoogleCloudDataplexV1TaskNotebookTaskConfigPtrOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1TaskNotebookTaskConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskNotebookTaskConfig] { + return pulumix.Output[*GoogleCloudDataplexV1TaskNotebookTaskConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TaskNotebookTaskConfigPtrOutput) Elem() GoogleCloudDataplexV1TaskNotebookTaskConfigOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1TaskNotebookTaskConfig) GoogleCloudDataplexV1TaskNotebookTaskConfig { if v != nil { @@ -8943,6 +10264,12 @@ func (o GoogleCloudDataplexV1TaskNotebookTaskConfigResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDataplexV1TaskNotebookTaskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskNotebookTaskConfigResponse] { + return pulumix.Output[GoogleCloudDataplexV1TaskNotebookTaskConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o GoogleCloudDataplexV1TaskNotebookTaskConfigResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskNotebookTaskConfigResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -9028,6 +10355,12 @@ func (i GoogleCloudDataplexV1TaskSparkTaskConfigArgs) ToGoogleCloudDataplexV1Tas return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskSparkTaskConfigOutput) } +func (i GoogleCloudDataplexV1TaskSparkTaskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskSparkTaskConfig] { + return pulumix.Output[GoogleCloudDataplexV1TaskSparkTaskConfig]{ + OutputState: i.ToGoogleCloudDataplexV1TaskSparkTaskConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1TaskSparkTaskConfigArgs) ToGoogleCloudDataplexV1TaskSparkTaskConfigPtrOutput() GoogleCloudDataplexV1TaskSparkTaskConfigPtrOutput { return i.ToGoogleCloudDataplexV1TaskSparkTaskConfigPtrOutputWithContext(context.Background()) } @@ -9069,6 +10402,12 @@ func (i *googleCloudDataplexV1TaskSparkTaskConfigPtrType) ToGoogleCloudDataplexV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskSparkTaskConfigPtrOutput) } +func (i *googleCloudDataplexV1TaskSparkTaskConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskSparkTaskConfig] { + return pulumix.Output[*GoogleCloudDataplexV1TaskSparkTaskConfig]{ + OutputState: i.ToGoogleCloudDataplexV1TaskSparkTaskConfigPtrOutputWithContext(ctx).OutputState, + } +} + // User-specified config for running a Spark task. type GoogleCloudDataplexV1TaskSparkTaskConfigOutput struct{ *pulumi.OutputState } @@ -9094,6 +10433,12 @@ func (o GoogleCloudDataplexV1TaskSparkTaskConfigOutput) ToGoogleCloudDataplexV1T }).(GoogleCloudDataplexV1TaskSparkTaskConfigPtrOutput) } +func (o GoogleCloudDataplexV1TaskSparkTaskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskSparkTaskConfig] { + return pulumix.Output[GoogleCloudDataplexV1TaskSparkTaskConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o GoogleCloudDataplexV1TaskSparkTaskConfigOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskSparkTaskConfig) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -9150,6 +10495,12 @@ func (o GoogleCloudDataplexV1TaskSparkTaskConfigPtrOutput) ToGoogleCloudDataplex return o } +func (o GoogleCloudDataplexV1TaskSparkTaskConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TaskSparkTaskConfig] { + return pulumix.Output[*GoogleCloudDataplexV1TaskSparkTaskConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TaskSparkTaskConfigPtrOutput) Elem() GoogleCloudDataplexV1TaskSparkTaskConfigOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1TaskSparkTaskConfig) GoogleCloudDataplexV1TaskSparkTaskConfig { if v != nil { @@ -9275,6 +10626,12 @@ func (o GoogleCloudDataplexV1TaskSparkTaskConfigResponseOutput) ToGoogleCloudDat return o } +func (o GoogleCloudDataplexV1TaskSparkTaskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskSparkTaskConfigResponse] { + return pulumix.Output[GoogleCloudDataplexV1TaskSparkTaskConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o GoogleCloudDataplexV1TaskSparkTaskConfigResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskSparkTaskConfigResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -9368,6 +10725,12 @@ func (i GoogleCloudDataplexV1TaskTriggerSpecArgs) ToGoogleCloudDataplexV1TaskTri return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TaskTriggerSpecOutput) } +func (i GoogleCloudDataplexV1TaskTriggerSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskTriggerSpec] { + return pulumix.Output[GoogleCloudDataplexV1TaskTriggerSpec]{ + OutputState: i.ToGoogleCloudDataplexV1TaskTriggerSpecOutputWithContext(ctx).OutputState, + } +} + // Task scheduling and trigger settings. type GoogleCloudDataplexV1TaskTriggerSpecOutput struct{ *pulumi.OutputState } @@ -9383,6 +10746,12 @@ func (o GoogleCloudDataplexV1TaskTriggerSpecOutput) ToGoogleCloudDataplexV1TaskT return o } +func (o GoogleCloudDataplexV1TaskTriggerSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskTriggerSpec] { + return pulumix.Output[GoogleCloudDataplexV1TaskTriggerSpec]{ + OutputState: o.OutputState, + } +} + // Optional. Prevent the task from executing. This does not cancel already running tasks. It is intended to temporarily disable RECURRING tasks. func (o GoogleCloudDataplexV1TaskTriggerSpecOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskTriggerSpec) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -9437,6 +10806,12 @@ func (o GoogleCloudDataplexV1TaskTriggerSpecResponseOutput) ToGoogleCloudDataple return o } +func (o GoogleCloudDataplexV1TaskTriggerSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TaskTriggerSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1TaskTriggerSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Prevent the task from executing. This does not cancel already running tasks. It is intended to temporarily disable RECURRING tasks. func (o GoogleCloudDataplexV1TaskTriggerSpecResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TaskTriggerSpecResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -9501,6 +10876,12 @@ func (i GoogleCloudDataplexV1TriggerArgs) ToGoogleCloudDataplexV1TriggerOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TriggerOutput) } +func (i GoogleCloudDataplexV1TriggerArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1Trigger] { + return pulumix.Output[GoogleCloudDataplexV1Trigger]{ + OutputState: i.ToGoogleCloudDataplexV1TriggerOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1TriggerArgs) ToGoogleCloudDataplexV1TriggerPtrOutput() GoogleCloudDataplexV1TriggerPtrOutput { return i.ToGoogleCloudDataplexV1TriggerPtrOutputWithContext(context.Background()) } @@ -9542,6 +10923,12 @@ func (i *googleCloudDataplexV1TriggerPtrType) ToGoogleCloudDataplexV1TriggerPtrO return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TriggerPtrOutput) } +func (i *googleCloudDataplexV1TriggerPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1Trigger] { + return pulumix.Output[*GoogleCloudDataplexV1Trigger]{ + OutputState: i.ToGoogleCloudDataplexV1TriggerPtrOutputWithContext(ctx).OutputState, + } +} + // DataScan scheduling and trigger settings. type GoogleCloudDataplexV1TriggerOutput struct{ *pulumi.OutputState } @@ -9567,6 +10954,12 @@ func (o GoogleCloudDataplexV1TriggerOutput) ToGoogleCloudDataplexV1TriggerPtrOut }).(GoogleCloudDataplexV1TriggerPtrOutput) } +func (o GoogleCloudDataplexV1TriggerOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1Trigger] { + return pulumix.Output[GoogleCloudDataplexV1Trigger]{ + OutputState: o.OutputState, + } +} + // The scan runs once via RunDataScan API. func (o GoogleCloudDataplexV1TriggerOutput) OnDemand() GoogleCloudDataplexV1TriggerOnDemandPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1Trigger) *GoogleCloudDataplexV1TriggerOnDemand { return v.OnDemand }).(GoogleCloudDataplexV1TriggerOnDemandPtrOutput) @@ -9591,6 +10984,12 @@ func (o GoogleCloudDataplexV1TriggerPtrOutput) ToGoogleCloudDataplexV1TriggerPtr return o } +func (o GoogleCloudDataplexV1TriggerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1Trigger] { + return pulumix.Output[*GoogleCloudDataplexV1Trigger]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TriggerPtrOutput) Elem() GoogleCloudDataplexV1TriggerOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1Trigger) GoogleCloudDataplexV1Trigger { if v != nil { @@ -9652,6 +11051,12 @@ func (i GoogleCloudDataplexV1TriggerOnDemandArgs) ToGoogleCloudDataplexV1Trigger return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TriggerOnDemandOutput) } +func (i GoogleCloudDataplexV1TriggerOnDemandArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TriggerOnDemand] { + return pulumix.Output[GoogleCloudDataplexV1TriggerOnDemand]{ + OutputState: i.ToGoogleCloudDataplexV1TriggerOnDemandOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1TriggerOnDemandArgs) ToGoogleCloudDataplexV1TriggerOnDemandPtrOutput() GoogleCloudDataplexV1TriggerOnDemandPtrOutput { return i.ToGoogleCloudDataplexV1TriggerOnDemandPtrOutputWithContext(context.Background()) } @@ -9693,6 +11098,12 @@ func (i *googleCloudDataplexV1TriggerOnDemandPtrType) ToGoogleCloudDataplexV1Tri return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TriggerOnDemandPtrOutput) } +func (i *googleCloudDataplexV1TriggerOnDemandPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TriggerOnDemand] { + return pulumix.Output[*GoogleCloudDataplexV1TriggerOnDemand]{ + OutputState: i.ToGoogleCloudDataplexV1TriggerOnDemandPtrOutputWithContext(ctx).OutputState, + } +} + // The scan runs once via RunDataScan API. type GoogleCloudDataplexV1TriggerOnDemandOutput struct{ *pulumi.OutputState } @@ -9718,6 +11129,12 @@ func (o GoogleCloudDataplexV1TriggerOnDemandOutput) ToGoogleCloudDataplexV1Trigg }).(GoogleCloudDataplexV1TriggerOnDemandPtrOutput) } +func (o GoogleCloudDataplexV1TriggerOnDemandOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TriggerOnDemand] { + return pulumix.Output[GoogleCloudDataplexV1TriggerOnDemand]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDataplexV1TriggerOnDemandPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDataplexV1TriggerOnDemandPtrOutput) ElementType() reflect.Type { @@ -9732,6 +11149,12 @@ func (o GoogleCloudDataplexV1TriggerOnDemandPtrOutput) ToGoogleCloudDataplexV1Tr return o } +func (o GoogleCloudDataplexV1TriggerOnDemandPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TriggerOnDemand] { + return pulumix.Output[*GoogleCloudDataplexV1TriggerOnDemand]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TriggerOnDemandPtrOutput) Elem() GoogleCloudDataplexV1TriggerOnDemandOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1TriggerOnDemand) GoogleCloudDataplexV1TriggerOnDemand { if v != nil { @@ -9761,6 +11184,12 @@ func (o GoogleCloudDataplexV1TriggerOnDemandResponseOutput) ToGoogleCloudDataple return o } +func (o GoogleCloudDataplexV1TriggerOnDemandResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TriggerOnDemandResponse] { + return pulumix.Output[GoogleCloudDataplexV1TriggerOnDemandResponse]{ + OutputState: o.OutputState, + } +} + // DataScan scheduling and trigger settings. type GoogleCloudDataplexV1TriggerResponse struct { // The scan runs once via RunDataScan API. @@ -9784,6 +11213,12 @@ func (o GoogleCloudDataplexV1TriggerResponseOutput) ToGoogleCloudDataplexV1Trigg return o } +func (o GoogleCloudDataplexV1TriggerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TriggerResponse] { + return pulumix.Output[GoogleCloudDataplexV1TriggerResponse]{ + OutputState: o.OutputState, + } +} + // The scan runs once via RunDataScan API. func (o GoogleCloudDataplexV1TriggerResponseOutput) OnDemand() GoogleCloudDataplexV1TriggerOnDemandResponseOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TriggerResponse) GoogleCloudDataplexV1TriggerOnDemandResponse { @@ -9833,6 +11268,12 @@ func (i GoogleCloudDataplexV1TriggerScheduleArgs) ToGoogleCloudDataplexV1Trigger return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TriggerScheduleOutput) } +func (i GoogleCloudDataplexV1TriggerScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TriggerSchedule] { + return pulumix.Output[GoogleCloudDataplexV1TriggerSchedule]{ + OutputState: i.ToGoogleCloudDataplexV1TriggerScheduleOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1TriggerScheduleArgs) ToGoogleCloudDataplexV1TriggerSchedulePtrOutput() GoogleCloudDataplexV1TriggerSchedulePtrOutput { return i.ToGoogleCloudDataplexV1TriggerSchedulePtrOutputWithContext(context.Background()) } @@ -9874,6 +11315,12 @@ func (i *googleCloudDataplexV1TriggerSchedulePtrType) ToGoogleCloudDataplexV1Tri return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1TriggerSchedulePtrOutput) } +func (i *googleCloudDataplexV1TriggerSchedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TriggerSchedule] { + return pulumix.Output[*GoogleCloudDataplexV1TriggerSchedule]{ + OutputState: i.ToGoogleCloudDataplexV1TriggerSchedulePtrOutputWithContext(ctx).OutputState, + } +} + // The scan is scheduled to run periodically. type GoogleCloudDataplexV1TriggerScheduleOutput struct{ *pulumi.OutputState } @@ -9899,6 +11346,12 @@ func (o GoogleCloudDataplexV1TriggerScheduleOutput) ToGoogleCloudDataplexV1Trigg }).(GoogleCloudDataplexV1TriggerSchedulePtrOutput) } +func (o GoogleCloudDataplexV1TriggerScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TriggerSchedule] { + return pulumix.Output[GoogleCloudDataplexV1TriggerSchedule]{ + OutputState: o.OutputState, + } +} + // Cron (https://en.wikipedia.org/wiki/Cron) schedule for running scans periodically.To explicitly set a timezone in the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database (wikipedia (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)). For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.This field is required for Schedule scans. func (o GoogleCloudDataplexV1TriggerScheduleOutput) Cron() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TriggerSchedule) string { return v.Cron }).(pulumi.StringOutput) @@ -9918,6 +11371,12 @@ func (o GoogleCloudDataplexV1TriggerSchedulePtrOutput) ToGoogleCloudDataplexV1Tr return o } +func (o GoogleCloudDataplexV1TriggerSchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1TriggerSchedule] { + return pulumix.Output[*GoogleCloudDataplexV1TriggerSchedule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1TriggerSchedulePtrOutput) Elem() GoogleCloudDataplexV1TriggerScheduleOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1TriggerSchedule) GoogleCloudDataplexV1TriggerSchedule { if v != nil { @@ -9959,6 +11418,12 @@ func (o GoogleCloudDataplexV1TriggerScheduleResponseOutput) ToGoogleCloudDataple return o } +func (o GoogleCloudDataplexV1TriggerScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1TriggerScheduleResponse] { + return pulumix.Output[GoogleCloudDataplexV1TriggerScheduleResponse]{ + OutputState: o.OutputState, + } +} + // Cron (https://en.wikipedia.org/wiki/Cron) schedule for running scans periodically.To explicitly set a timezone in the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database (wikipedia (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)). For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.This field is required for Schedule scans. func (o GoogleCloudDataplexV1TriggerScheduleResponseOutput) Cron() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1TriggerScheduleResponse) string { return v.Cron }).(pulumi.StringOutput) @@ -10019,6 +11484,12 @@ func (i GoogleCloudDataplexV1ZoneDiscoverySpecArgs) ToGoogleCloudDataplexV1ZoneD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ZoneDiscoverySpecOutput) } +func (i GoogleCloudDataplexV1ZoneDiscoverySpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpec] { + return pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpec]{ + OutputState: i.ToGoogleCloudDataplexV1ZoneDiscoverySpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1ZoneDiscoverySpecArgs) ToGoogleCloudDataplexV1ZoneDiscoverySpecPtrOutput() GoogleCloudDataplexV1ZoneDiscoverySpecPtrOutput { return i.ToGoogleCloudDataplexV1ZoneDiscoverySpecPtrOutputWithContext(context.Background()) } @@ -10060,6 +11531,12 @@ func (i *googleCloudDataplexV1ZoneDiscoverySpecPtrType) ToGoogleCloudDataplexV1Z return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ZoneDiscoverySpecPtrOutput) } +func (i *googleCloudDataplexV1ZoneDiscoverySpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpec] { + return pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpec]{ + OutputState: i.ToGoogleCloudDataplexV1ZoneDiscoverySpecPtrOutputWithContext(ctx).OutputState, + } +} + // Settings to manage the metadata discovery and publishing in a zone. type GoogleCloudDataplexV1ZoneDiscoverySpecOutput struct{ *pulumi.OutputState } @@ -10085,6 +11562,12 @@ func (o GoogleCloudDataplexV1ZoneDiscoverySpecOutput) ToGoogleCloudDataplexV1Zon }).(GoogleCloudDataplexV1ZoneDiscoverySpecPtrOutput) } +func (o GoogleCloudDataplexV1ZoneDiscoverySpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpec] { + return pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpec]{ + OutputState: o.OutputState, + } +} + // Optional. Configuration for CSV data. func (o GoogleCloudDataplexV1ZoneDiscoverySpecOutput) CsvOptions() GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ZoneDiscoverySpec) *GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions { @@ -10133,6 +11616,12 @@ func (o GoogleCloudDataplexV1ZoneDiscoverySpecPtrOutput) ToGoogleCloudDataplexV1 return o } +func (o GoogleCloudDataplexV1ZoneDiscoverySpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpec] { + return pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ZoneDiscoverySpecPtrOutput) Elem() GoogleCloudDataplexV1ZoneDiscoverySpecOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1ZoneDiscoverySpec) GoogleCloudDataplexV1ZoneDiscoverySpec { if v != nil { @@ -10250,6 +11739,12 @@ func (i GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsArgs) ToGoogleCloudDatap return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsOutput) } +func (i GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions] { + return pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions]{ + OutputState: i.ToGoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsArgs) ToGoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrOutput() GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrOutput { return i.ToGoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrOutputWithContext(context.Background()) } @@ -10291,6 +11786,12 @@ func (i *googleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrOutput) } +func (i *googleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions] { + return pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions]{ + OutputState: i.ToGoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Describe CSV and similar semi-structured data formats. type GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsOutput struct{ *pulumi.OutputState } @@ -10316,6 +11817,12 @@ func (o GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsOutput) ToGoogleCloudDat }).(GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrOutput) } +func (o GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions] { + return pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions]{ + OutputState: o.OutputState, + } +} + // Optional. The delimiter being used to separate values. This defaults to ','. func (o GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsOutput) Delimiter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions) *string { return v.Delimiter }).(pulumi.StringPtrOutput) @@ -10350,6 +11857,12 @@ func (o GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions] { + return pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsPtrOutput) Elem() GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions) GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions { if v != nil { @@ -10427,6 +11940,12 @@ func (o GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsResponseOutput) ToGoogle return o } +func (o GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsResponse] { + return pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The delimiter being used to separate values. This defaults to ','. func (o GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsResponseOutput) Delimiter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsResponse) string { return v.Delimiter }).(pulumi.StringOutput) @@ -10486,6 +12005,12 @@ func (i GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsArgs) ToGoogleCloudData return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsOutput) } +func (i GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions] { + return pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions]{ + OutputState: i.ToGoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsArgs) ToGoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrOutput() GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrOutput { return i.ToGoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrOutputWithContext(context.Background()) } @@ -10527,6 +12052,12 @@ func (i *googleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrOutput) } +func (i *googleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions] { + return pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions]{ + OutputState: i.ToGoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Describe JSON data format. type GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsOutput struct{ *pulumi.OutputState } @@ -10552,6 +12083,12 @@ func (o GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsOutput) ToGoogleCloudDa }).(GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrOutput) } +func (o GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions] { + return pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean). func (o GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsOutput) DisableTypeInference() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions) *bool { return v.DisableTypeInference }).(pulumi.BoolPtrOutput) @@ -10576,6 +12113,12 @@ func (o GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrOutput) ToGoogleClou return o } +func (o GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions] { + return pulumix.Output[*GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsPtrOutput) Elem() GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsOutput { return o.ApplyT(func(v *GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions) GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions { if v != nil { @@ -10629,6 +12172,12 @@ func (o GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsResponseOutput) ToGoogl return o } +func (o GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsResponse] { + return pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean). func (o GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsResponseOutput) DisableTypeInference() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptionsResponse) bool { return v.DisableTypeInference }).(pulumi.BoolOutput) @@ -10670,6 +12219,12 @@ func (o GoogleCloudDataplexV1ZoneDiscoverySpecResponseOutput) ToGoogleCloudDatap return o } +func (o GoogleCloudDataplexV1ZoneDiscoverySpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1ZoneDiscoverySpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Configuration for CSV data. func (o GoogleCloudDataplexV1ZoneDiscoverySpecResponseOutput) CsvOptions() GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsResponseOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ZoneDiscoverySpecResponse) GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptionsResponse { @@ -10739,6 +12294,12 @@ func (i GoogleCloudDataplexV1ZoneResourceSpecArgs) ToGoogleCloudDataplexV1ZoneRe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDataplexV1ZoneResourceSpecOutput) } +func (i GoogleCloudDataplexV1ZoneResourceSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneResourceSpec] { + return pulumix.Output[GoogleCloudDataplexV1ZoneResourceSpec]{ + OutputState: i.ToGoogleCloudDataplexV1ZoneResourceSpecOutputWithContext(ctx).OutputState, + } +} + // Settings for resources attached as assets within a zone. type GoogleCloudDataplexV1ZoneResourceSpecOutput struct{ *pulumi.OutputState } @@ -10754,6 +12315,12 @@ func (o GoogleCloudDataplexV1ZoneResourceSpecOutput) ToGoogleCloudDataplexV1Zone return o } +func (o GoogleCloudDataplexV1ZoneResourceSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneResourceSpec] { + return pulumix.Output[GoogleCloudDataplexV1ZoneResourceSpec]{ + OutputState: o.OutputState, + } +} + // Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. func (o GoogleCloudDataplexV1ZoneResourceSpecOutput) LocationType() GoogleCloudDataplexV1ZoneResourceSpecLocationTypeOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ZoneResourceSpec) GoogleCloudDataplexV1ZoneResourceSpecLocationType { @@ -10782,6 +12349,12 @@ func (o GoogleCloudDataplexV1ZoneResourceSpecResponseOutput) ToGoogleCloudDatapl return o } +func (o GoogleCloudDataplexV1ZoneResourceSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDataplexV1ZoneResourceSpecResponse] { + return pulumix.Output[GoogleCloudDataplexV1ZoneResourceSpecResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. func (o GoogleCloudDataplexV1ZoneResourceSpecResponseOutput) LocationType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDataplexV1ZoneResourceSpecResponse) string { return v.LocationType }).(pulumi.StringOutput) @@ -10826,6 +12399,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -10851,6 +12430,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -10866,6 +12451,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -10890,6 +12481,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -10919,6 +12516,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -10943,6 +12546,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -10988,6 +12597,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -11013,6 +12628,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -11028,6 +12649,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -11052,6 +12679,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -11081,6 +12714,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -11105,6 +12744,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -11154,6 +12799,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -11179,6 +12830,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates members, or principals, with a role. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -11194,6 +12851,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() GoogleTypeExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *GoogleTypeExpr { return v.Condition }).(GoogleTypeExprPtrOutput) @@ -11223,6 +12886,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -11254,6 +12923,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() GoogleTypeExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) GoogleTypeExprResponse { return v.Condition }).(GoogleTypeExprResponseOutput) @@ -11283,6 +12958,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -11336,6 +13017,12 @@ func (i GoogleTypeExprArgs) ToGoogleTypeExprOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprOutput) } +func (i GoogleTypeExprArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeExprArgs) ToGoogleTypeExprPtrOutput() GoogleTypeExprPtrOutput { return i.ToGoogleTypeExprPtrOutputWithContext(context.Background()) } @@ -11377,6 +13064,12 @@ func (i *googleTypeExprPtrType) ToGoogleTypeExprPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprPtrOutput) } +func (i *googleTypeExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type GoogleTypeExprOutput struct{ *pulumi.OutputState } @@ -11402,6 +13095,12 @@ func (o GoogleTypeExprOutput) ToGoogleTypeExprPtrOutputWithContext(ctx context.C }).(GoogleTypeExprPtrOutput) } +func (o GoogleTypeExprOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeExpr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -11436,6 +13135,12 @@ func (o GoogleTypeExprPtrOutput) ToGoogleTypeExprPtrOutputWithContext(ctx contex return o } +func (o GoogleTypeExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeExprPtrOutput) Elem() GoogleTypeExprOutput { return o.ApplyT(func(v *GoogleTypeExpr) GoogleTypeExpr { if v != nil { @@ -11513,6 +13218,12 @@ func (o GoogleTypeExprResponseOutput) ToGoogleTypeExprResponseOutputWithContext( return o } +func (o GoogleTypeExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExprResponse] { + return pulumix.Output[GoogleTypeExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/task.go b/sdk/go/google/dataplex/v1/task.go index 005db65b19..4ebf7ba081 100644 --- a/sdk/go/google/dataplex/v1/task.go +++ b/sdk/go/google/dataplex/v1/task.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a task resource within a lake. @@ -176,6 +177,12 @@ func (i *Task) ToTaskOutputWithContext(ctx context.Context) TaskOutput { return pulumi.ToOutputWithContext(ctx, i).(TaskOutput) } +func (i *Task) ToOutput(ctx context.Context) pulumix.Output[*Task] { + return pulumix.Output[*Task]{ + OutputState: i.ToTaskOutputWithContext(ctx).OutputState, + } +} + type TaskOutput struct{ *pulumi.OutputState } func (TaskOutput) ElementType() reflect.Type { @@ -190,6 +197,12 @@ func (o TaskOutput) ToTaskOutputWithContext(ctx context.Context) TaskOutput { return o } +func (o TaskOutput) ToOutput(ctx context.Context) pulumix.Output[*Task] { + return pulumix.Output[*Task]{ + OutputState: o.OutputState, + } +} + // The time when the task was created. func (o TaskOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Task) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataplex/v1/zone.go b/sdk/go/google/dataplex/v1/zone.go index dabe9baf73..df1cf63b7b 100644 --- a/sdk/go/google/dataplex/v1/zone.go +++ b/sdk/go/google/dataplex/v1/zone.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a zone resource within a lake. @@ -170,6 +171,12 @@ func (i *Zone) ToZoneOutputWithContext(ctx context.Context) ZoneOutput { return pulumi.ToOutputWithContext(ctx, i).(ZoneOutput) } +func (i *Zone) ToOutput(ctx context.Context) pulumix.Output[*Zone] { + return pulumix.Output[*Zone]{ + OutputState: i.ToZoneOutputWithContext(ctx).OutputState, + } +} + type ZoneOutput struct{ *pulumi.OutputState } func (ZoneOutput) ElementType() reflect.Type { @@ -184,6 +191,12 @@ func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput { return o } +func (o ZoneOutput) ToOutput(ctx context.Context) pulumix.Output[*Zone] { + return pulumix.Output[*Zone]{ + OutputState: o.OutputState, + } +} + // Aggregated status of the underlying assets of the zone. func (o ZoneOutput) AssetStatus() GoogleCloudDataplexV1AssetStatusResponseOutput { return o.ApplyT(func(v *Zone) GoogleCloudDataplexV1AssetStatusResponseOutput { return v.AssetStatus }).(GoogleCloudDataplexV1AssetStatusResponseOutput) diff --git a/sdk/go/google/dataproc/v1/autoscalingPolicy.go b/sdk/go/google/dataproc/v1/autoscalingPolicy.go index ff318ffd79..5cfdaa3b65 100644 --- a/sdk/go/google/dataproc/v1/autoscalingPolicy.go +++ b/sdk/go/google/dataproc/v1/autoscalingPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates new autoscaling policy. @@ -132,6 +133,12 @@ func (i *AutoscalingPolicy) ToAutoscalingPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyOutput) } +func (i *AutoscalingPolicy) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicy] { + return pulumix.Output[*AutoscalingPolicy]{ + OutputState: i.ToAutoscalingPolicyOutputWithContext(ctx).OutputState, + } +} + type AutoscalingPolicyOutput struct{ *pulumi.OutputState } func (AutoscalingPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o AutoscalingPolicyOutput) ToAutoscalingPolicyOutputWithContext(ctx contex return o } +func (o AutoscalingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicy] { + return pulumix.Output[*AutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyOutput) BasicAlgorithm() BasicAutoscalingAlgorithmResponseOutput { return o.ApplyT(func(v *AutoscalingPolicy) BasicAutoscalingAlgorithmResponseOutput { return v.BasicAlgorithm }).(BasicAutoscalingAlgorithmResponseOutput) } diff --git a/sdk/go/google/dataproc/v1/autoscalingPolicyIamBinding.go b/sdk/go/google/dataproc/v1/autoscalingPolicyIamBinding.go index ceddab213a..a494f19bd3 100644 --- a/sdk/go/google/dataproc/v1/autoscalingPolicyIamBinding.go +++ b/sdk/go/google/dataproc/v1/autoscalingPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *AutoscalingPolicyIamBinding) ToAutoscalingPolicyIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyIamBindingOutput) } +func (i *AutoscalingPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamBinding] { + return pulumix.Output[*AutoscalingPolicyIamBinding]{ + OutputState: i.ToAutoscalingPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type AutoscalingPolicyIamBindingOutput struct{ *pulumi.OutputState } func (AutoscalingPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AutoscalingPolicyIamBindingOutput) ToAutoscalingPolicyIamBindingOutputWi return o } +func (o AutoscalingPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamBinding] { + return pulumix.Output[*AutoscalingPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AutoscalingPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AutoscalingPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/autoscalingPolicyIamMember.go b/sdk/go/google/dataproc/v1/autoscalingPolicyIamMember.go index 5ca216886a..b398612c34 100644 --- a/sdk/go/google/dataproc/v1/autoscalingPolicyIamMember.go +++ b/sdk/go/google/dataproc/v1/autoscalingPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *AutoscalingPolicyIamMember) ToAutoscalingPolicyIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyIamMemberOutput) } +func (i *AutoscalingPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamMember] { + return pulumix.Output[*AutoscalingPolicyIamMember]{ + OutputState: i.ToAutoscalingPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type AutoscalingPolicyIamMemberOutput struct{ *pulumi.OutputState } func (AutoscalingPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AutoscalingPolicyIamMemberOutput) ToAutoscalingPolicyIamMemberOutputWith return o } +func (o AutoscalingPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamMember] { + return pulumix.Output[*AutoscalingPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AutoscalingPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AutoscalingPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/autoscalingPolicyIamPolicy.go b/sdk/go/google/dataproc/v1/autoscalingPolicyIamPolicy.go index 577d05d1d1..3af62a0b7f 100644 --- a/sdk/go/google/dataproc/v1/autoscalingPolicyIamPolicy.go +++ b/sdk/go/google/dataproc/v1/autoscalingPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -125,6 +126,12 @@ func (i *AutoscalingPolicyIamPolicy) ToAutoscalingPolicyIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyIamPolicyOutput) } +func (i *AutoscalingPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamPolicy] { + return pulumix.Output[*AutoscalingPolicyIamPolicy]{ + OutputState: i.ToAutoscalingPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AutoscalingPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (AutoscalingPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o AutoscalingPolicyIamPolicyOutput) ToAutoscalingPolicyIamPolicyOutputWith return o } +func (o AutoscalingPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamPolicy] { + return pulumix.Output[*AutoscalingPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyIamPolicyOutput) AutoscalingPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *AutoscalingPolicyIamPolicy) pulumi.StringOutput { return v.AutoscalingPolicyId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dataproc/v1/batch.go b/sdk/go/google/dataproc/v1/batch.go index 27c8b31ddd..e1b5152a09 100644 --- a/sdk/go/google/dataproc/v1/batch.go +++ b/sdk/go/google/dataproc/v1/batch.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a batch workload that executes asynchronously. @@ -172,6 +173,12 @@ func (i *Batch) ToBatchOutputWithContext(ctx context.Context) BatchOutput { return pulumi.ToOutputWithContext(ctx, i).(BatchOutput) } +func (i *Batch) ToOutput(ctx context.Context) pulumix.Output[*Batch] { + return pulumix.Output[*Batch]{ + OutputState: i.ToBatchOutputWithContext(ctx).OutputState, + } +} + type BatchOutput struct{ *pulumi.OutputState } func (BatchOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o BatchOutput) ToBatchOutputWithContext(ctx context.Context) BatchOutput { return o } +func (o BatchOutput) ToOutput(ctx context.Context) pulumix.Output[*Batch] { + return pulumix.Output[*Batch]{ + OutputState: o.OutputState, + } +} + // Optional. The ID to use for the batch, which will become the final component of the batch's resource name.This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/. func (o BatchOutput) BatchId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Batch) pulumi.StringPtrOutput { return v.BatchId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/dataproc/v1/cluster.go b/sdk/go/google/dataproc/v1/cluster.go index 48bd3ef05d..f3e05328e7 100644 --- a/sdk/go/google/dataproc/v1/cluster.go +++ b/sdk/go/google/dataproc/v1/cluster.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). @@ -151,6 +152,12 @@ func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput return pulumi.ToOutputWithContext(ctx, i).(ClusterOutput) } +func (i *Cluster) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { + return pulumix.Output[*Cluster]{ + OutputState: i.ToClusterOutputWithContext(ctx).OutputState, + } +} + type ClusterOutput struct{ *pulumi.OutputState } func (ClusterOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOu return o } +func (o ClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { + return pulumix.Output[*Cluster]{ + OutputState: o.OutputState, + } +} + // Optional. Failure action when primary worker creation fails. func (o ClusterOutput) ActionOnFailedPrimaryWorkers() pulumi.StringPtrOutput { return o.ApplyT(func(v *Cluster) pulumi.StringPtrOutput { return v.ActionOnFailedPrimaryWorkers }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/dataproc/v1/getAutoscalingPolicy.go b/sdk/go/google/dataproc/v1/getAutoscalingPolicy.go index c2fd0e9218..9ae50be3dc 100644 --- a/sdk/go/google/dataproc/v1/getAutoscalingPolicy.go +++ b/sdk/go/google/dataproc/v1/getAutoscalingPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves autoscaling policy. @@ -77,6 +78,12 @@ func (o LookupAutoscalingPolicyResultOutput) ToLookupAutoscalingPolicyResultOutp return o } +func (o LookupAutoscalingPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAutoscalingPolicyResult] { + return pulumix.Output[LookupAutoscalingPolicyResult]{ + OutputState: o.OutputState, + } +} + func (o LookupAutoscalingPolicyResultOutput) BasicAlgorithm() BasicAutoscalingAlgorithmResponseOutput { return o.ApplyT(func(v LookupAutoscalingPolicyResult) BasicAutoscalingAlgorithmResponse { return v.BasicAlgorithm }).(BasicAutoscalingAlgorithmResponseOutput) } diff --git a/sdk/go/google/dataproc/v1/getAutoscalingPolicyIamPolicy.go b/sdk/go/google/dataproc/v1/getAutoscalingPolicyIamPolicy.go index b78407cb51..5b358a849e 100644 --- a/sdk/go/google/dataproc/v1/getAutoscalingPolicyIamPolicy.go +++ b/sdk/go/google/dataproc/v1/getAutoscalingPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupAutoscalingPolicyIamPolicyResultOutput) ToLookupAutoscalingPolicyI return o } +func (o LookupAutoscalingPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAutoscalingPolicyIamPolicyResult] { + return pulumix.Output[LookupAutoscalingPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o LookupAutoscalingPolicyIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupAutoscalingPolicyIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/getBatch.go b/sdk/go/google/dataproc/v1/getBatch.go index 5905ef4822..d3056b8d99 100644 --- a/sdk/go/google/dataproc/v1/getBatch.go +++ b/sdk/go/google/dataproc/v1/getBatch.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the batch workload resource representation. @@ -102,6 +103,12 @@ func (o LookupBatchResultOutput) ToLookupBatchResultOutputWithContext(ctx contex return o } +func (o LookupBatchResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBatchResult] { + return pulumix.Output[LookupBatchResult]{ + OutputState: o.OutputState, + } +} + // The time when the batch was created. func (o LookupBatchResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBatchResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataproc/v1/getCluster.go b/sdk/go/google/dataproc/v1/getCluster.go index 03e8cb9126..ae96f3ba6c 100644 --- a/sdk/go/google/dataproc/v1/getCluster.go +++ b/sdk/go/google/dataproc/v1/getCluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the resource representation for a cluster in a project. @@ -86,6 +87,12 @@ func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx co return o } +func (o LookupClusterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClusterResult] { + return pulumix.Output[LookupClusterResult]{ + OutputState: o.OutputState, + } +} + // The cluster name, which must be unique within a project. The name must start with a lowercase letter, and can contain up to 51 lowercase letters, numbers, and hyphens. It cannot end with a hyphen. The name of a deleted cluster can be reused. func (o LookupClusterResultOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v LookupClusterResult) string { return v.ClusterName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataproc/v1/getJob.go b/sdk/go/google/dataproc/v1/getJob.go index 8ce1acf5dc..40fe16ca19 100644 --- a/sdk/go/google/dataproc/v1/getJob.go +++ b/sdk/go/google/dataproc/v1/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the resource representation for a job in a project. @@ -110,6 +111,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled. func (o LookupJobResultOutput) Done() pulumi.BoolOutput { return o.ApplyT(func(v LookupJobResult) bool { return v.Done }).(pulumi.BoolOutput) diff --git a/sdk/go/google/dataproc/v1/getNodeGroup.go b/sdk/go/google/dataproc/v1/getNodeGroup.go index 4a7c6542d9..15fc672fd1 100644 --- a/sdk/go/google/dataproc/v1/getNodeGroup.go +++ b/sdk/go/google/dataproc/v1/getNodeGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the resource representation for a node group in a cluster. @@ -78,6 +79,12 @@ func (o LookupNodeGroupResultOutput) ToLookupNodeGroupResultOutputWithContext(ct return o } +func (o LookupNodeGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeGroupResult] { + return pulumix.Output[LookupNodeGroupResult]{ + OutputState: o.OutputState, + } +} + // Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labelsn. func (o LookupNodeGroupResultOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v LookupNodeGroupResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/dataproc/v1/getRegionAutoscalingPolicyIamPolicy.go b/sdk/go/google/dataproc/v1/getRegionAutoscalingPolicyIamPolicy.go index f1de6da024..7ba1cdd6fa 100644 --- a/sdk/go/google/dataproc/v1/getRegionAutoscalingPolicyIamPolicy.go +++ b/sdk/go/google/dataproc/v1/getRegionAutoscalingPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupRegionAutoscalingPolicyIamPolicyResultOutput) ToLookupRegionAutosc return o } +func (o LookupRegionAutoscalingPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionAutoscalingPolicyIamPolicyResult] { + return pulumix.Output[LookupRegionAutoscalingPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o LookupRegionAutoscalingPolicyIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegionAutoscalingPolicyIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/getRegionClusterIamPolicy.go b/sdk/go/google/dataproc/v1/getRegionClusterIamPolicy.go index 7d93ae89e8..2b7163c51b 100644 --- a/sdk/go/google/dataproc/v1/getRegionClusterIamPolicy.go +++ b/sdk/go/google/dataproc/v1/getRegionClusterIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupRegionClusterIamPolicyResultOutput) ToLookupRegionClusterIamPolicy return o } +func (o LookupRegionClusterIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionClusterIamPolicyResult] { + return pulumix.Output[LookupRegionClusterIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o LookupRegionClusterIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegionClusterIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/getRegionJobIamPolicy.go b/sdk/go/google/dataproc/v1/getRegionJobIamPolicy.go index a8d3fe6532..c17dde143e 100644 --- a/sdk/go/google/dataproc/v1/getRegionJobIamPolicy.go +++ b/sdk/go/google/dataproc/v1/getRegionJobIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupRegionJobIamPolicyResultOutput) ToLookupRegionJobIamPolicyResultOu return o } +func (o LookupRegionJobIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionJobIamPolicyResult] { + return pulumix.Output[LookupRegionJobIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o LookupRegionJobIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegionJobIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/getRegionOperationIamPolicy.go b/sdk/go/google/dataproc/v1/getRegionOperationIamPolicy.go index 34a5dbb5a4..a0f3f88bd1 100644 --- a/sdk/go/google/dataproc/v1/getRegionOperationIamPolicy.go +++ b/sdk/go/google/dataproc/v1/getRegionOperationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupRegionOperationIamPolicyResultOutput) ToLookupRegionOperationIamPo return o } +func (o LookupRegionOperationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionOperationIamPolicyResult] { + return pulumix.Output[LookupRegionOperationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o LookupRegionOperationIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegionOperationIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/getRegionWorkflowTemplateIamPolicy.go b/sdk/go/google/dataproc/v1/getRegionWorkflowTemplateIamPolicy.go index 459a9701a6..9dac7ec987 100644 --- a/sdk/go/google/dataproc/v1/getRegionWorkflowTemplateIamPolicy.go +++ b/sdk/go/google/dataproc/v1/getRegionWorkflowTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupRegionWorkflowTemplateIamPolicyResultOutput) ToLookupRegionWorkflo return o } +func (o LookupRegionWorkflowTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionWorkflowTemplateIamPolicyResult] { + return pulumix.Output[LookupRegionWorkflowTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o LookupRegionWorkflowTemplateIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegionWorkflowTemplateIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/getWorkflowTemplate.go b/sdk/go/google/dataproc/v1/getWorkflowTemplate.go index 3b9a28ebb2..6a6da63aab 100644 --- a/sdk/go/google/dataproc/v1/getWorkflowTemplate.go +++ b/sdk/go/google/dataproc/v1/getWorkflowTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter. @@ -88,6 +89,12 @@ func (o LookupWorkflowTemplateResultOutput) ToLookupWorkflowTemplateResultOutput return o } +func (o LookupWorkflowTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkflowTemplateResult] { + return pulumix.Output[LookupWorkflowTemplateResult]{ + OutputState: o.OutputState, + } +} + // The time template was created. func (o LookupWorkflowTemplateResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkflowTemplateResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataproc/v1/getWorkflowTemplateIamPolicy.go b/sdk/go/google/dataproc/v1/getWorkflowTemplateIamPolicy.go index c01ec069d8..da423a81bc 100644 --- a/sdk/go/google/dataproc/v1/getWorkflowTemplateIamPolicy.go +++ b/sdk/go/google/dataproc/v1/getWorkflowTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupWorkflowTemplateIamPolicyResultOutput) ToLookupWorkflowTemplateIam return o } +func (o LookupWorkflowTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkflowTemplateIamPolicyResult] { + return pulumix.Output[LookupWorkflowTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o LookupWorkflowTemplateIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupWorkflowTemplateIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/job.go b/sdk/go/google/dataproc/v1/job.go index 6fc20f0cd0..5ce0c189f6 100644 --- a/sdk/go/google/dataproc/v1/job.go +++ b/sdk/go/google/dataproc/v1/job.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Submits a job to a cluster. @@ -207,6 +208,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -221,6 +228,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled. func (o JobOutput) Done() pulumi.BoolOutput { return o.ApplyT(func(v *Job) pulumi.BoolOutput { return v.Done }).(pulumi.BoolOutput) diff --git a/sdk/go/google/dataproc/v1/nodeGroup.go b/sdk/go/google/dataproc/v1/nodeGroup.go index 28547f8e12..59f4f1cf22 100644 --- a/sdk/go/google/dataproc/v1/nodeGroup.go +++ b/sdk/go/google/dataproc/v1/nodeGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata). @@ -150,6 +151,12 @@ func (i *NodeGroup) ToNodeGroupOutputWithContext(ctx context.Context) NodeGroupO return pulumi.ToOutputWithContext(ctx, i).(NodeGroupOutput) } +func (i *NodeGroup) ToOutput(ctx context.Context) pulumix.Output[*NodeGroup] { + return pulumix.Output[*NodeGroup]{ + OutputState: i.ToNodeGroupOutputWithContext(ctx).OutputState, + } +} + type NodeGroupOutput struct{ *pulumi.OutputState } func (NodeGroupOutput) ElementType() reflect.Type { @@ -164,6 +171,12 @@ func (o NodeGroupOutput) ToNodeGroupOutputWithContext(ctx context.Context) NodeG return o } +func (o NodeGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroup] { + return pulumix.Output[*NodeGroup]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupOutput) ClusterId() pulumi.StringOutput { return o.ApplyT(func(v *NodeGroup) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dataproc/v1/pulumiEnums.go b/sdk/go/google/dataproc/v1/pulumiEnums.go index 2d5e3e83f7..c898c255e8 100644 --- a/sdk/go/google/dataproc/v1/pulumiEnums.go +++ b/sdk/go/google/dataproc/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. The type of IPv6 access for a cluster. @@ -84,6 +85,12 @@ func (o GceClusterConfigPrivateIpv6GoogleAccessOutput) ToGceClusterConfigPrivate }).(GceClusterConfigPrivateIpv6GoogleAccessPtrOutput) } +func (o GceClusterConfigPrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[GceClusterConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[GceClusterConfigPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o GceClusterConfigPrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o GceClusterConfigPrivateIpv6GoogleAccessPtrOutput) ToGceClusterConfigPriv return o } +func (o GceClusterConfigPrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GceClusterConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[*GceClusterConfigPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o GceClusterConfigPrivateIpv6GoogleAccessPtrOutput) Elem() GceClusterConfigPrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *GceClusterConfigPrivateIpv6GoogleAccess) GceClusterConfigPrivateIpv6GoogleAccess { if v != nil { @@ -181,6 +194,12 @@ func (in *gceClusterConfigPrivateIpv6GoogleAccessPtr) ToGceClusterConfigPrivateI return pulumi.ToOutputWithContext(ctx, in).(GceClusterConfigPrivateIpv6GoogleAccessPtrOutput) } +func (in *gceClusterConfigPrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*GceClusterConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[*GceClusterConfigPrivateIpv6GoogleAccess]{ + OutputState: in.ToGceClusterConfigPrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + type GkeNodePoolTargetRolesItem string const ( @@ -256,6 +275,12 @@ func (o GkeNodePoolTargetRolesItemOutput) ToGkeNodePoolTargetRolesItemPtrOutputW }).(GkeNodePoolTargetRolesItemPtrOutput) } +func (o GkeNodePoolTargetRolesItemOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolTargetRolesItem] { + return pulumix.Output[GkeNodePoolTargetRolesItem]{ + OutputState: o.OutputState, + } +} + func (o GkeNodePoolTargetRolesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -291,6 +316,12 @@ func (o GkeNodePoolTargetRolesItemPtrOutput) ToGkeNodePoolTargetRolesItemPtrOutp return o } +func (o GkeNodePoolTargetRolesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeNodePoolTargetRolesItem] { + return pulumix.Output[*GkeNodePoolTargetRolesItem]{ + OutputState: o.OutputState, + } +} + func (o GkeNodePoolTargetRolesItemPtrOutput) Elem() GkeNodePoolTargetRolesItemOutput { return o.ApplyT(func(v *GkeNodePoolTargetRolesItem) GkeNodePoolTargetRolesItem { if v != nil { @@ -353,6 +384,12 @@ func (in *gkeNodePoolTargetRolesItemPtr) ToGkeNodePoolTargetRolesItemPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(GkeNodePoolTargetRolesItemPtrOutput) } +func (in *gkeNodePoolTargetRolesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*GkeNodePoolTargetRolesItem] { + return pulumix.Output[*GkeNodePoolTargetRolesItem]{ + OutputState: in.ToGkeNodePoolTargetRolesItemPtrOutputWithContext(ctx).OutputState, + } +} + // GkeNodePoolTargetRolesItemArrayInput is an input type that accepts GkeNodePoolTargetRolesItemArray and GkeNodePoolTargetRolesItemArrayOutput values. // You can construct a concrete instance of `GkeNodePoolTargetRolesItemArrayInput` via: // @@ -378,6 +415,12 @@ func (i GkeNodePoolTargetRolesItemArray) ToGkeNodePoolTargetRolesItemArrayOutput return pulumi.ToOutputWithContext(ctx, i).(GkeNodePoolTargetRolesItemArrayOutput) } +func (i GkeNodePoolTargetRolesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GkeNodePoolTargetRolesItem] { + return pulumix.Output[[]GkeNodePoolTargetRolesItem]{ + OutputState: i.ToGkeNodePoolTargetRolesItemArrayOutputWithContext(ctx).OutputState, + } +} + type GkeNodePoolTargetRolesItemArrayOutput struct{ *pulumi.OutputState } func (GkeNodePoolTargetRolesItemArrayOutput) ElementType() reflect.Type { @@ -392,6 +435,12 @@ func (o GkeNodePoolTargetRolesItemArrayOutput) ToGkeNodePoolTargetRolesItemArray return o } +func (o GkeNodePoolTargetRolesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GkeNodePoolTargetRolesItem] { + return pulumix.Output[[]GkeNodePoolTargetRolesItem]{ + OutputState: o.OutputState, + } +} + func (o GkeNodePoolTargetRolesItemArrayOutput) Index(i pulumi.IntInput) GkeNodePoolTargetRolesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GkeNodePoolTargetRolesItem { return vs[0].([]GkeNodePoolTargetRolesItem)[vs[1].(int)] @@ -472,6 +521,12 @@ func (o InstanceGroupConfigPreemptibilityOutput) ToInstanceGroupConfigPreemptibi }).(InstanceGroupConfigPreemptibilityPtrOutput) } +func (o InstanceGroupConfigPreemptibilityOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupConfigPreemptibility] { + return pulumix.Output[InstanceGroupConfigPreemptibility]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupConfigPreemptibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -507,6 +562,12 @@ func (o InstanceGroupConfigPreemptibilityPtrOutput) ToInstanceGroupConfigPreempt return o } +func (o InstanceGroupConfigPreemptibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupConfigPreemptibility] { + return pulumix.Output[*InstanceGroupConfigPreemptibility]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupConfigPreemptibilityPtrOutput) Elem() InstanceGroupConfigPreemptibilityOutput { return o.ApplyT(func(v *InstanceGroupConfigPreemptibility) InstanceGroupConfigPreemptibility { if v != nil { @@ -569,6 +630,12 @@ func (in *instanceGroupConfigPreemptibilityPtr) ToInstanceGroupConfigPreemptibil return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupConfigPreemptibilityPtrOutput) } +func (in *instanceGroupConfigPreemptibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupConfigPreemptibility] { + return pulumix.Output[*InstanceGroupConfigPreemptibility]{ + OutputState: in.ToInstanceGroupConfigPreemptibilityPtrOutputWithContext(ctx).OutputState, + } +} + // Required. A standard set of metrics is collected unless metricOverrides are specified for the metric source (see Custom metrics (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) for more information). type MetricMetricSource string @@ -651,6 +718,12 @@ func (o MetricMetricSourceOutput) ToMetricMetricSourcePtrOutputWithContext(ctx c }).(MetricMetricSourcePtrOutput) } +func (o MetricMetricSourceOutput) ToOutput(ctx context.Context) pulumix.Output[MetricMetricSource] { + return pulumix.Output[MetricMetricSource]{ + OutputState: o.OutputState, + } +} + func (o MetricMetricSourceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -686,6 +759,12 @@ func (o MetricMetricSourcePtrOutput) ToMetricMetricSourcePtrOutputWithContext(ct return o } +func (o MetricMetricSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricMetricSource] { + return pulumix.Output[*MetricMetricSource]{ + OutputState: o.OutputState, + } +} + func (o MetricMetricSourcePtrOutput) Elem() MetricMetricSourceOutput { return o.ApplyT(func(v *MetricMetricSource) MetricMetricSource { if v != nil { @@ -748,6 +827,12 @@ func (in *metricMetricSourcePtr) ToMetricMetricSourcePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(MetricMetricSourcePtrOutput) } +func (in *metricMetricSourcePtr) ToOutput(ctx context.Context) pulumix.Output[*MetricMetricSource] { + return pulumix.Output[*MetricMetricSource]{ + OutputState: in.ToMetricMetricSourcePtrOutputWithContext(ctx).OutputState, + } +} + type NodeGroupRolesItem string const ( @@ -817,6 +902,12 @@ func (o NodeGroupRolesItemOutput) ToNodeGroupRolesItemPtrOutputWithContext(ctx c }).(NodeGroupRolesItemPtrOutput) } +func (o NodeGroupRolesItemOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupRolesItem] { + return pulumix.Output[NodeGroupRolesItem]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupRolesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -852,6 +943,12 @@ func (o NodeGroupRolesItemPtrOutput) ToNodeGroupRolesItemPtrOutputWithContext(ct return o } +func (o NodeGroupRolesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupRolesItem] { + return pulumix.Output[*NodeGroupRolesItem]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupRolesItemPtrOutput) Elem() NodeGroupRolesItemOutput { return o.ApplyT(func(v *NodeGroupRolesItem) NodeGroupRolesItem { if v != nil { @@ -914,6 +1011,12 @@ func (in *nodeGroupRolesItemPtr) ToNodeGroupRolesItemPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(NodeGroupRolesItemPtrOutput) } +func (in *nodeGroupRolesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupRolesItem] { + return pulumix.Output[*NodeGroupRolesItem]{ + OutputState: in.ToNodeGroupRolesItemPtrOutputWithContext(ctx).OutputState, + } +} + // NodeGroupRolesItemArrayInput is an input type that accepts NodeGroupRolesItemArray and NodeGroupRolesItemArrayOutput values. // You can construct a concrete instance of `NodeGroupRolesItemArrayInput` via: // @@ -939,6 +1042,12 @@ func (i NodeGroupRolesItemArray) ToNodeGroupRolesItemArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NodeGroupRolesItemArrayOutput) } +func (i NodeGroupRolesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]NodeGroupRolesItem] { + return pulumix.Output[[]NodeGroupRolesItem]{ + OutputState: i.ToNodeGroupRolesItemArrayOutputWithContext(ctx).OutputState, + } +} + type NodeGroupRolesItemArrayOutput struct{ *pulumi.OutputState } func (NodeGroupRolesItemArrayOutput) ElementType() reflect.Type { @@ -953,6 +1062,12 @@ func (o NodeGroupRolesItemArrayOutput) ToNodeGroupRolesItemArrayOutputWithContex return o } +func (o NodeGroupRolesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeGroupRolesItem] { + return pulumix.Output[[]NodeGroupRolesItem]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupRolesItemArrayOutput) Index(i pulumi.IntInput) NodeGroupRolesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeGroupRolesItem { return vs[0].([]NodeGroupRolesItem)[vs[1].(int)] @@ -1032,6 +1147,12 @@ func (o ReservationAffinityConsumeReservationTypeOutput) ToReservationAffinityCo }).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (o ReservationAffinityConsumeReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityConsumeReservationType] { + return pulumix.Output[ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1067,6 +1188,12 @@ func (o ReservationAffinityConsumeReservationTypePtrOutput) ToReservationAffinit return o } +func (o ReservationAffinityConsumeReservationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypePtrOutput) Elem() ReservationAffinityConsumeReservationTypeOutput { return o.ApplyT(func(v *ReservationAffinityConsumeReservationType) ReservationAffinityConsumeReservationType { if v != nil { @@ -1129,6 +1256,12 @@ func (in *reservationAffinityConsumeReservationTypePtr) ToReservationAffinityCon return pulumi.ToOutputWithContext(ctx, in).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (in *reservationAffinityConsumeReservationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: in.ToReservationAffinityConsumeReservationTypePtrOutputWithContext(ctx).OutputState, + } +} + type SoftwareConfigOptionalComponentsItem string const ( @@ -1224,6 +1357,12 @@ func (o SoftwareConfigOptionalComponentsItemOutput) ToSoftwareConfigOptionalComp }).(SoftwareConfigOptionalComponentsItemPtrOutput) } +func (o SoftwareConfigOptionalComponentsItemOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfigOptionalComponentsItem] { + return pulumix.Output[SoftwareConfigOptionalComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o SoftwareConfigOptionalComponentsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1259,6 +1398,12 @@ func (o SoftwareConfigOptionalComponentsItemPtrOutput) ToSoftwareConfigOptionalC return o } +func (o SoftwareConfigOptionalComponentsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfigOptionalComponentsItem] { + return pulumix.Output[*SoftwareConfigOptionalComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o SoftwareConfigOptionalComponentsItemPtrOutput) Elem() SoftwareConfigOptionalComponentsItemOutput { return o.ApplyT(func(v *SoftwareConfigOptionalComponentsItem) SoftwareConfigOptionalComponentsItem { if v != nil { @@ -1321,6 +1466,12 @@ func (in *softwareConfigOptionalComponentsItemPtr) ToSoftwareConfigOptionalCompo return pulumi.ToOutputWithContext(ctx, in).(SoftwareConfigOptionalComponentsItemPtrOutput) } +func (in *softwareConfigOptionalComponentsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfigOptionalComponentsItem] { + return pulumix.Output[*SoftwareConfigOptionalComponentsItem]{ + OutputState: in.ToSoftwareConfigOptionalComponentsItemPtrOutputWithContext(ctx).OutputState, + } +} + // SoftwareConfigOptionalComponentsItemArrayInput is an input type that accepts SoftwareConfigOptionalComponentsItemArray and SoftwareConfigOptionalComponentsItemArrayOutput values. // You can construct a concrete instance of `SoftwareConfigOptionalComponentsItemArrayInput` via: // @@ -1346,6 +1497,12 @@ func (i SoftwareConfigOptionalComponentsItemArray) ToSoftwareConfigOptionalCompo return pulumi.ToOutputWithContext(ctx, i).(SoftwareConfigOptionalComponentsItemArrayOutput) } +func (i SoftwareConfigOptionalComponentsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareConfigOptionalComponentsItem] { + return pulumix.Output[[]SoftwareConfigOptionalComponentsItem]{ + OutputState: i.ToSoftwareConfigOptionalComponentsItemArrayOutputWithContext(ctx).OutputState, + } +} + type SoftwareConfigOptionalComponentsItemArrayOutput struct{ *pulumi.OutputState } func (SoftwareConfigOptionalComponentsItemArrayOutput) ElementType() reflect.Type { @@ -1360,6 +1517,12 @@ func (o SoftwareConfigOptionalComponentsItemArrayOutput) ToSoftwareConfigOptiona return o } +func (o SoftwareConfigOptionalComponentsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareConfigOptionalComponentsItem] { + return pulumix.Output[[]SoftwareConfigOptionalComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o SoftwareConfigOptionalComponentsItemArrayOutput) Index(i pulumi.IntInput) SoftwareConfigOptionalComponentsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SoftwareConfigOptionalComponentsItem { return vs[0].([]SoftwareConfigOptionalComponentsItem)[vs[1].(int)] diff --git a/sdk/go/google/dataproc/v1/pulumiTypes.go b/sdk/go/google/dataproc/v1/pulumiTypes.go index 1b25fb2ff9..7213e6a009 100644 --- a/sdk/go/google/dataproc/v1/pulumiTypes.go +++ b/sdk/go/google/dataproc/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AcceleratorConfigArgs) ToAcceleratorConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigOutput) } +func (i AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + // AcceleratorConfigArrayInput is an input type that accepts AcceleratorConfigArray and AcceleratorConfigArrayOutput values. // You can construct a concrete instance of `AcceleratorConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AcceleratorConfigArray) ToAcceleratorConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigArrayOutput) } +func (i AcceleratorConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine (https://cloud.google.com/compute/docs/gpus/). type AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AcceleratorConfigOutput) ToAcceleratorConfigOutputWithContext(ctx contex return o } +func (o AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // The number of the accelerator cards of this type exposed to this instance. func (o AcceleratorConfigOutput) AcceleratorCount() pulumi.IntPtrOutput { return o.ApplyT(func(v AcceleratorConfig) *int { return v.AcceleratorCount }).(pulumi.IntPtrOutput) @@ -116,6 +135,12 @@ func (o AcceleratorConfigArrayOutput) ToAcceleratorConfigArrayOutputWithContext( return o } +func (o AcceleratorConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfig { return vs[0].([]AcceleratorConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AcceleratorConfigResponseOutput) ToAcceleratorConfigResponseOutputWithCo return o } +func (o AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigResponse] { + return pulumix.Output[AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of the accelerator cards of this type exposed to this instance. func (o AcceleratorConfigResponseOutput) AcceleratorCount() pulumi.IntOutput { return o.ApplyT(func(v AcceleratorConfigResponse) int { return v.AcceleratorCount }).(pulumi.IntOutput) @@ -169,6 +200,12 @@ func (o AcceleratorConfigResponseArrayOutput) ToAcceleratorConfigResponseArrayOu return o } +func (o AcceleratorConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfigResponse] { + return pulumix.Output[[]AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfigResponse { return vs[0].([]AcceleratorConfigResponse)[vs[1].(int)] @@ -210,6 +247,12 @@ func (i AutoscalingConfigArgs) ToAutoscalingConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AutoscalingConfigOutput) } +func (i AutoscalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingConfig] { + return pulumix.Output[AutoscalingConfig]{ + OutputState: i.ToAutoscalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingConfigArgs) ToAutoscalingConfigPtrOutput() AutoscalingConfigPtrOutput { return i.ToAutoscalingConfigPtrOutputWithContext(context.Background()) } @@ -251,6 +294,12 @@ func (i *autoscalingConfigPtrType) ToAutoscalingConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AutoscalingConfigPtrOutput) } +func (i *autoscalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingConfig] { + return pulumix.Output[*AutoscalingConfig]{ + OutputState: i.ToAutoscalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Autoscaling Policy config associated with the cluster. type AutoscalingConfigOutput struct{ *pulumi.OutputState } @@ -276,6 +325,12 @@ func (o AutoscalingConfigOutput) ToAutoscalingConfigPtrOutputWithContext(ctx con }).(AutoscalingConfigPtrOutput) } +func (o AutoscalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingConfig] { + return pulumix.Output[AutoscalingConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id] projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be in the same project and Dataproc region. func (o AutoscalingConfigOutput) PolicyUri() pulumi.StringPtrOutput { return o.ApplyT(func(v AutoscalingConfig) *string { return v.PolicyUri }).(pulumi.StringPtrOutput) @@ -295,6 +350,12 @@ func (o AutoscalingConfigPtrOutput) ToAutoscalingConfigPtrOutputWithContext(ctx return o } +func (o AutoscalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingConfig] { + return pulumix.Output[*AutoscalingConfig]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingConfigPtrOutput) Elem() AutoscalingConfigOutput { return o.ApplyT(func(v *AutoscalingConfig) AutoscalingConfig { if v != nil { @@ -336,6 +397,12 @@ func (o AutoscalingConfigResponseOutput) ToAutoscalingConfigResponseOutputWithCo return o } +func (o AutoscalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingConfigResponse] { + return pulumix.Output[AutoscalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id] projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be in the same project and Dataproc region. func (o AutoscalingConfigResponseOutput) PolicyUri() pulumi.StringOutput { return o.ApplyT(func(v AutoscalingConfigResponse) string { return v.PolicyUri }).(pulumi.StringOutput) @@ -380,6 +447,12 @@ func (i AuxiliaryNodeGroupArgs) ToAuxiliaryNodeGroupOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuxiliaryNodeGroupOutput) } +func (i AuxiliaryNodeGroupArgs) ToOutput(ctx context.Context) pulumix.Output[AuxiliaryNodeGroup] { + return pulumix.Output[AuxiliaryNodeGroup]{ + OutputState: i.ToAuxiliaryNodeGroupOutputWithContext(ctx).OutputState, + } +} + // AuxiliaryNodeGroupArrayInput is an input type that accepts AuxiliaryNodeGroupArray and AuxiliaryNodeGroupArrayOutput values. // You can construct a concrete instance of `AuxiliaryNodeGroupArrayInput` via: // @@ -405,6 +478,12 @@ func (i AuxiliaryNodeGroupArray) ToAuxiliaryNodeGroupArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AuxiliaryNodeGroupArrayOutput) } +func (i AuxiliaryNodeGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]AuxiliaryNodeGroup] { + return pulumix.Output[[]AuxiliaryNodeGroup]{ + OutputState: i.ToAuxiliaryNodeGroupArrayOutputWithContext(ctx).OutputState, + } +} + // Node group identification and configuration information. type AuxiliaryNodeGroupOutput struct{ *pulumi.OutputState } @@ -420,6 +499,12 @@ func (o AuxiliaryNodeGroupOutput) ToAuxiliaryNodeGroupOutputWithContext(ctx cont return o } +func (o AuxiliaryNodeGroupOutput) ToOutput(ctx context.Context) pulumix.Output[AuxiliaryNodeGroup] { + return pulumix.Output[AuxiliaryNodeGroup]{ + OutputState: o.OutputState, + } +} + // Node group configuration. func (o AuxiliaryNodeGroupOutput) NodeGroup() NodeGroupTypeOutput { return o.ApplyT(func(v AuxiliaryNodeGroup) NodeGroupType { return v.NodeGroup }).(NodeGroupTypeOutput) @@ -444,6 +529,12 @@ func (o AuxiliaryNodeGroupArrayOutput) ToAuxiliaryNodeGroupArrayOutputWithContex return o } +func (o AuxiliaryNodeGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuxiliaryNodeGroup] { + return pulumix.Output[[]AuxiliaryNodeGroup]{ + OutputState: o.OutputState, + } +} + func (o AuxiliaryNodeGroupArrayOutput) Index(i pulumi.IntInput) AuxiliaryNodeGroupOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuxiliaryNodeGroup { return vs[0].([]AuxiliaryNodeGroup)[vs[1].(int)] @@ -473,6 +564,12 @@ func (o AuxiliaryNodeGroupResponseOutput) ToAuxiliaryNodeGroupResponseOutputWith return o } +func (o AuxiliaryNodeGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuxiliaryNodeGroupResponse] { + return pulumix.Output[AuxiliaryNodeGroupResponse]{ + OutputState: o.OutputState, + } +} + // Node group configuration. func (o AuxiliaryNodeGroupResponseOutput) NodeGroup() NodeGroupResponseOutput { return o.ApplyT(func(v AuxiliaryNodeGroupResponse) NodeGroupResponse { return v.NodeGroup }).(NodeGroupResponseOutput) @@ -497,6 +594,12 @@ func (o AuxiliaryNodeGroupResponseArrayOutput) ToAuxiliaryNodeGroupResponseArray return o } +func (o AuxiliaryNodeGroupResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuxiliaryNodeGroupResponse] { + return pulumix.Output[[]AuxiliaryNodeGroupResponse]{ + OutputState: o.OutputState, + } +} + func (o AuxiliaryNodeGroupResponseArrayOutput) Index(i pulumi.IntInput) AuxiliaryNodeGroupResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuxiliaryNodeGroupResponse { return vs[0].([]AuxiliaryNodeGroupResponse)[vs[1].(int)] @@ -542,6 +645,12 @@ func (i AuxiliaryServicesConfigArgs) ToAuxiliaryServicesConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AuxiliaryServicesConfigOutput) } +func (i AuxiliaryServicesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuxiliaryServicesConfig] { + return pulumix.Output[AuxiliaryServicesConfig]{ + OutputState: i.ToAuxiliaryServicesConfigOutputWithContext(ctx).OutputState, + } +} + func (i AuxiliaryServicesConfigArgs) ToAuxiliaryServicesConfigPtrOutput() AuxiliaryServicesConfigPtrOutput { return i.ToAuxiliaryServicesConfigPtrOutputWithContext(context.Background()) } @@ -583,6 +692,12 @@ func (i *auxiliaryServicesConfigPtrType) ToAuxiliaryServicesConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AuxiliaryServicesConfigPtrOutput) } +func (i *auxiliaryServicesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuxiliaryServicesConfig] { + return pulumix.Output[*AuxiliaryServicesConfig]{ + OutputState: i.ToAuxiliaryServicesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Auxiliary services configuration for a Cluster. type AuxiliaryServicesConfigOutput struct{ *pulumi.OutputState } @@ -608,6 +723,12 @@ func (o AuxiliaryServicesConfigOutput) ToAuxiliaryServicesConfigPtrOutputWithCon }).(AuxiliaryServicesConfigPtrOutput) } +func (o AuxiliaryServicesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuxiliaryServicesConfig] { + return pulumix.Output[AuxiliaryServicesConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The Hive Metastore configuration for this workload. func (o AuxiliaryServicesConfigOutput) MetastoreConfig() MetastoreConfigPtrOutput { return o.ApplyT(func(v AuxiliaryServicesConfig) *MetastoreConfig { return v.MetastoreConfig }).(MetastoreConfigPtrOutput) @@ -632,6 +753,12 @@ func (o AuxiliaryServicesConfigPtrOutput) ToAuxiliaryServicesConfigPtrOutputWith return o } +func (o AuxiliaryServicesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuxiliaryServicesConfig] { + return pulumix.Output[*AuxiliaryServicesConfig]{ + OutputState: o.OutputState, + } +} + func (o AuxiliaryServicesConfigPtrOutput) Elem() AuxiliaryServicesConfigOutput { return o.ApplyT(func(v *AuxiliaryServicesConfig) AuxiliaryServicesConfig { if v != nil { @@ -685,6 +812,12 @@ func (o AuxiliaryServicesConfigResponseOutput) ToAuxiliaryServicesConfigResponse return o } +func (o AuxiliaryServicesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuxiliaryServicesConfigResponse] { + return pulumix.Output[AuxiliaryServicesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Hive Metastore configuration for this workload. func (o AuxiliaryServicesConfigResponseOutput) MetastoreConfig() MetastoreConfigResponseOutput { return o.ApplyT(func(v AuxiliaryServicesConfigResponse) MetastoreConfigResponse { return v.MetastoreConfig }).(MetastoreConfigResponseOutput) @@ -740,6 +873,12 @@ func (i BasicAutoscalingAlgorithmArgs) ToBasicAutoscalingAlgorithmOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(BasicAutoscalingAlgorithmOutput) } +func (i BasicAutoscalingAlgorithmArgs) ToOutput(ctx context.Context) pulumix.Output[BasicAutoscalingAlgorithm] { + return pulumix.Output[BasicAutoscalingAlgorithm]{ + OutputState: i.ToBasicAutoscalingAlgorithmOutputWithContext(ctx).OutputState, + } +} + func (i BasicAutoscalingAlgorithmArgs) ToBasicAutoscalingAlgorithmPtrOutput() BasicAutoscalingAlgorithmPtrOutput { return i.ToBasicAutoscalingAlgorithmPtrOutputWithContext(context.Background()) } @@ -781,6 +920,12 @@ func (i *basicAutoscalingAlgorithmPtrType) ToBasicAutoscalingAlgorithmPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(BasicAutoscalingAlgorithmPtrOutput) } +func (i *basicAutoscalingAlgorithmPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicAutoscalingAlgorithm] { + return pulumix.Output[*BasicAutoscalingAlgorithm]{ + OutputState: i.ToBasicAutoscalingAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // Basic algorithm for autoscaling. type BasicAutoscalingAlgorithmOutput struct{ *pulumi.OutputState } @@ -806,6 +951,12 @@ func (o BasicAutoscalingAlgorithmOutput) ToBasicAutoscalingAlgorithmPtrOutputWit }).(BasicAutoscalingAlgorithmPtrOutput) } +func (o BasicAutoscalingAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[BasicAutoscalingAlgorithm] { + return pulumix.Output[BasicAutoscalingAlgorithm]{ + OutputState: o.OutputState, + } +} + // Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.Bounds: 2m, 1d. Default: 2m. func (o BasicAutoscalingAlgorithmOutput) CooldownPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v BasicAutoscalingAlgorithm) *string { return v.CooldownPeriod }).(pulumi.StringPtrOutput) @@ -835,6 +986,12 @@ func (o BasicAutoscalingAlgorithmPtrOutput) ToBasicAutoscalingAlgorithmPtrOutput return o } +func (o BasicAutoscalingAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicAutoscalingAlgorithm] { + return pulumix.Output[*BasicAutoscalingAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o BasicAutoscalingAlgorithmPtrOutput) Elem() BasicAutoscalingAlgorithmOutput { return o.ApplyT(func(v *BasicAutoscalingAlgorithm) BasicAutoscalingAlgorithm { if v != nil { @@ -900,6 +1057,12 @@ func (o BasicAutoscalingAlgorithmResponseOutput) ToBasicAutoscalingAlgorithmResp return o } +func (o BasicAutoscalingAlgorithmResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicAutoscalingAlgorithmResponse] { + return pulumix.Output[BasicAutoscalingAlgorithmResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.Bounds: 2m, 1d. Default: 2m. func (o BasicAutoscalingAlgorithmResponseOutput) CooldownPeriod() pulumi.StringOutput { return o.ApplyT(func(v BasicAutoscalingAlgorithmResponse) string { return v.CooldownPeriod }).(pulumi.StringOutput) @@ -968,6 +1131,12 @@ func (i BasicYarnAutoscalingConfigArgs) ToBasicYarnAutoscalingConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(BasicYarnAutoscalingConfigOutput) } +func (i BasicYarnAutoscalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BasicYarnAutoscalingConfig] { + return pulumix.Output[BasicYarnAutoscalingConfig]{ + OutputState: i.ToBasicYarnAutoscalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i BasicYarnAutoscalingConfigArgs) ToBasicYarnAutoscalingConfigPtrOutput() BasicYarnAutoscalingConfigPtrOutput { return i.ToBasicYarnAutoscalingConfigPtrOutputWithContext(context.Background()) } @@ -1009,6 +1178,12 @@ func (i *basicYarnAutoscalingConfigPtrType) ToBasicYarnAutoscalingConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(BasicYarnAutoscalingConfigPtrOutput) } +func (i *basicYarnAutoscalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicYarnAutoscalingConfig] { + return pulumix.Output[*BasicYarnAutoscalingConfig]{ + OutputState: i.ToBasicYarnAutoscalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Basic autoscaling configurations for YARN. type BasicYarnAutoscalingConfigOutput struct{ *pulumi.OutputState } @@ -1034,6 +1209,12 @@ func (o BasicYarnAutoscalingConfigOutput) ToBasicYarnAutoscalingConfigPtrOutputW }).(BasicYarnAutoscalingConfigPtrOutput) } +func (o BasicYarnAutoscalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BasicYarnAutoscalingConfig] { + return pulumix.Output[BasicYarnAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + // Timeout for YARN graceful decommissioning of Node Managers. Specifies the duration to wait for jobs to complete before forcefully removing workers (and potentially interrupting jobs). Only applicable to downscaling operations.Bounds: 0s, 1d. func (o BasicYarnAutoscalingConfigOutput) GracefulDecommissionTimeout() pulumi.StringOutput { return o.ApplyT(func(v BasicYarnAutoscalingConfig) string { return v.GracefulDecommissionTimeout }).(pulumi.StringOutput) @@ -1073,6 +1254,12 @@ func (o BasicYarnAutoscalingConfigPtrOutput) ToBasicYarnAutoscalingConfigPtrOutp return o } +func (o BasicYarnAutoscalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicYarnAutoscalingConfig] { + return pulumix.Output[*BasicYarnAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + func (o BasicYarnAutoscalingConfigPtrOutput) Elem() BasicYarnAutoscalingConfigOutput { return o.ApplyT(func(v *BasicYarnAutoscalingConfig) BasicYarnAutoscalingConfig { if v != nil { @@ -1162,6 +1349,12 @@ func (o BasicYarnAutoscalingConfigResponseOutput) ToBasicYarnAutoscalingConfigRe return o } +func (o BasicYarnAutoscalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicYarnAutoscalingConfigResponse] { + return pulumix.Output[BasicYarnAutoscalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Timeout for YARN graceful decommissioning of Node Managers. Specifies the duration to wait for jobs to complete before forcefully removing workers (and potentially interrupting jobs). Only applicable to downscaling operations.Bounds: 0s, 1d. func (o BasicYarnAutoscalingConfigResponseOutput) GracefulDecommissionTimeout() pulumi.StringOutput { return o.ApplyT(func(v BasicYarnAutoscalingConfigResponse) string { return v.GracefulDecommissionTimeout }).(pulumi.StringOutput) @@ -1230,6 +1423,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -1255,6 +1454,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates members, or principals, with a role. type BindingOutput struct{ *pulumi.OutputState } @@ -1270,6 +1475,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -1299,6 +1510,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -1330,6 +1547,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1359,6 +1582,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1464,6 +1693,12 @@ func (i ClusterConfigArgs) ToClusterConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ClusterConfigOutput) } +func (i ClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterConfig] { + return pulumix.Output[ClusterConfig]{ + OutputState: i.ToClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i ClusterConfigArgs) ToClusterConfigPtrOutput() ClusterConfigPtrOutput { return i.ToClusterConfigPtrOutputWithContext(context.Background()) } @@ -1505,6 +1740,12 @@ func (i *clusterConfigPtrType) ToClusterConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ClusterConfigPtrOutput) } +func (i *clusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterConfig] { + return pulumix.Output[*ClusterConfig]{ + OutputState: i.ToClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The cluster config. type ClusterConfigOutput struct{ *pulumi.OutputState } @@ -1530,6 +1771,12 @@ func (o ClusterConfigOutput) ToClusterConfigPtrOutputWithContext(ctx context.Con }).(ClusterConfigPtrOutput) } +func (o ClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterConfig] { + return pulumix.Output[ClusterConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset. func (o ClusterConfigOutput) AutoscalingConfig() AutoscalingConfigPtrOutput { return o.ApplyT(func(v ClusterConfig) *AutoscalingConfig { return v.AutoscalingConfig }).(AutoscalingConfigPtrOutput) @@ -1629,6 +1876,12 @@ func (o ClusterConfigPtrOutput) ToClusterConfigPtrOutputWithContext(ctx context. return o } +func (o ClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterConfig] { + return pulumix.Output[*ClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o ClusterConfigPtrOutput) Elem() ClusterConfigOutput { return o.ApplyT(func(v *ClusterConfig) ClusterConfig { if v != nil { @@ -1862,6 +2115,12 @@ func (o ClusterConfigResponseOutput) ToClusterConfigResponseOutputWithContext(ct return o } +func (o ClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterConfigResponse] { + return pulumix.Output[ClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset. func (o ClusterConfigResponseOutput) AutoscalingConfig() AutoscalingConfigResponseOutput { return o.ApplyT(func(v ClusterConfigResponse) AutoscalingConfigResponse { return v.AutoscalingConfig }).(AutoscalingConfigResponseOutput) @@ -1970,6 +2229,12 @@ func (o ClusterMetricsResponseOutput) ToClusterMetricsResponseOutputWithContext( return o } +func (o ClusterMetricsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterMetricsResponse] { + return pulumix.Output[ClusterMetricsResponse]{ + OutputState: o.OutputState, + } +} + // The HDFS metrics. func (o ClusterMetricsResponseOutput) HdfsMetrics() pulumi.StringMapOutput { return o.ApplyT(func(v ClusterMetricsResponse) map[string]string { return v.HdfsMetrics }).(pulumi.StringMapOutput) @@ -2019,6 +2284,12 @@ func (i ClusterSelectorArgs) ToClusterSelectorOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ClusterSelectorOutput) } +func (i ClusterSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterSelector] { + return pulumix.Output[ClusterSelector]{ + OutputState: i.ToClusterSelectorOutputWithContext(ctx).OutputState, + } +} + func (i ClusterSelectorArgs) ToClusterSelectorPtrOutput() ClusterSelectorPtrOutput { return i.ToClusterSelectorPtrOutputWithContext(context.Background()) } @@ -2060,6 +2331,12 @@ func (i *clusterSelectorPtrType) ToClusterSelectorPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ClusterSelectorPtrOutput) } +func (i *clusterSelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterSelector] { + return pulumix.Output[*ClusterSelector]{ + OutputState: i.ToClusterSelectorPtrOutputWithContext(ctx).OutputState, + } +} + // A selector that chooses target cluster for jobs based on metadata. type ClusterSelectorOutput struct{ *pulumi.OutputState } @@ -2085,6 +2362,12 @@ func (o ClusterSelectorOutput) ToClusterSelectorPtrOutputWithContext(ctx context }).(ClusterSelectorPtrOutput) } +func (o ClusterSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterSelector] { + return pulumix.Output[ClusterSelector]{ + OutputState: o.OutputState, + } +} + // The cluster labels. Cluster must have all labels to match. func (o ClusterSelectorOutput) ClusterLabels() pulumi.StringMapOutput { return o.ApplyT(func(v ClusterSelector) map[string]string { return v.ClusterLabels }).(pulumi.StringMapOutput) @@ -2109,6 +2392,12 @@ func (o ClusterSelectorPtrOutput) ToClusterSelectorPtrOutputWithContext(ctx cont return o } +func (o ClusterSelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterSelector] { + return pulumix.Output[*ClusterSelector]{ + OutputState: o.OutputState, + } +} + func (o ClusterSelectorPtrOutput) Elem() ClusterSelectorOutput { return o.ApplyT(func(v *ClusterSelector) ClusterSelector { if v != nil { @@ -2162,6 +2451,12 @@ func (o ClusterSelectorResponseOutput) ToClusterSelectorResponseOutputWithContex return o } +func (o ClusterSelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterSelectorResponse] { + return pulumix.Output[ClusterSelectorResponse]{ + OutputState: o.OutputState, + } +} + // The cluster labels. Cluster must have all labels to match. func (o ClusterSelectorResponseOutput) ClusterLabels() pulumi.StringMapOutput { return o.ApplyT(func(v ClusterSelectorResponse) map[string]string { return v.ClusterLabels }).(pulumi.StringMapOutput) @@ -2199,6 +2494,12 @@ func (o ClusterStatusResponseOutput) ToClusterStatusResponseOutputWithContext(ct return o } +func (o ClusterStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterStatusResponse] { + return pulumix.Output[ClusterStatusResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Output only. Details of cluster's state. func (o ClusterStatusResponseOutput) Detail() pulumi.StringOutput { return o.ApplyT(func(v ClusterStatusResponse) string { return v.Detail }).(pulumi.StringOutput) @@ -2233,6 +2534,12 @@ func (o ClusterStatusResponseArrayOutput) ToClusterStatusResponseArrayOutputWith return o } +func (o ClusterStatusResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterStatusResponse] { + return pulumix.Output[[]ClusterStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o ClusterStatusResponseArrayOutput) Index(i pulumi.IntInput) ClusterStatusResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterStatusResponse { return vs[0].([]ClusterStatusResponse)[vs[1].(int)] @@ -2274,6 +2581,12 @@ func (i ConfidentialInstanceConfigArgs) ToConfidentialInstanceConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(ConfidentialInstanceConfigOutput) } +func (i ConfidentialInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfig] { + return pulumix.Output[ConfidentialInstanceConfig]{ + OutputState: i.ToConfidentialInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ConfidentialInstanceConfigArgs) ToConfidentialInstanceConfigPtrOutput() ConfidentialInstanceConfigPtrOutput { return i.ToConfidentialInstanceConfigPtrOutputWithContext(context.Background()) } @@ -2315,6 +2628,12 @@ func (i *confidentialInstanceConfigPtrType) ToConfidentialInstanceConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(ConfidentialInstanceConfigPtrOutput) } +func (i *confidentialInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialInstanceConfig] { + return pulumix.Output[*ConfidentialInstanceConfig]{ + OutputState: i.ToConfidentialInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/compute/confidential-vm/docs) type ConfidentialInstanceConfigOutput struct{ *pulumi.OutputState } @@ -2340,6 +2659,12 @@ func (o ConfidentialInstanceConfigOutput) ToConfidentialInstanceConfigPtrOutputW }).(ConfidentialInstanceConfigPtrOutput) } +func (o ConfidentialInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfig] { + return pulumix.Output[ConfidentialInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Defines whether the instance should have confidential compute enabled. func (o ConfidentialInstanceConfigOutput) EnableConfidentialCompute() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConfidentialInstanceConfig) *bool { return v.EnableConfidentialCompute }).(pulumi.BoolPtrOutput) @@ -2359,6 +2684,12 @@ func (o ConfidentialInstanceConfigPtrOutput) ToConfidentialInstanceConfigPtrOutp return o } +func (o ConfidentialInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfidentialInstanceConfig] { + return pulumix.Output[*ConfidentialInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ConfidentialInstanceConfigPtrOutput) Elem() ConfidentialInstanceConfigOutput { return o.ApplyT(func(v *ConfidentialInstanceConfig) ConfidentialInstanceConfig { if v != nil { @@ -2400,6 +2731,12 @@ func (o ConfidentialInstanceConfigResponseOutput) ToConfidentialInstanceConfigRe return o } +func (o ConfidentialInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfidentialInstanceConfigResponse] { + return pulumix.Output[ConfidentialInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Defines whether the instance should have confidential compute enabled. func (o ConfidentialInstanceConfigResponseOutput) EnableConfidentialCompute() pulumi.BoolOutput { return o.ApplyT(func(v ConfidentialInstanceConfigResponse) bool { return v.EnableConfidentialCompute }).(pulumi.BoolOutput) @@ -2440,6 +2777,12 @@ func (i DataprocMetricConfigArgs) ToDataprocMetricConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DataprocMetricConfigOutput) } +func (i DataprocMetricConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DataprocMetricConfig] { + return pulumix.Output[DataprocMetricConfig]{ + OutputState: i.ToDataprocMetricConfigOutputWithContext(ctx).OutputState, + } +} + func (i DataprocMetricConfigArgs) ToDataprocMetricConfigPtrOutput() DataprocMetricConfigPtrOutput { return i.ToDataprocMetricConfigPtrOutputWithContext(context.Background()) } @@ -2481,6 +2824,12 @@ func (i *dataprocMetricConfigPtrType) ToDataprocMetricConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DataprocMetricConfigPtrOutput) } +func (i *dataprocMetricConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DataprocMetricConfig] { + return pulumix.Output[*DataprocMetricConfig]{ + OutputState: i.ToDataprocMetricConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Dataproc metric config. type DataprocMetricConfigOutput struct{ *pulumi.OutputState } @@ -2506,6 +2855,12 @@ func (o DataprocMetricConfigOutput) ToDataprocMetricConfigPtrOutputWithContext(c }).(DataprocMetricConfigPtrOutput) } +func (o DataprocMetricConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DataprocMetricConfig] { + return pulumix.Output[DataprocMetricConfig]{ + OutputState: o.OutputState, + } +} + // Metrics sources to enable. func (o DataprocMetricConfigOutput) Metrics() MetricArrayOutput { return o.ApplyT(func(v DataprocMetricConfig) []Metric { return v.Metrics }).(MetricArrayOutput) @@ -2525,6 +2880,12 @@ func (o DataprocMetricConfigPtrOutput) ToDataprocMetricConfigPtrOutputWithContex return o } +func (o DataprocMetricConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataprocMetricConfig] { + return pulumix.Output[*DataprocMetricConfig]{ + OutputState: o.OutputState, + } +} + func (o DataprocMetricConfigPtrOutput) Elem() DataprocMetricConfigOutput { return o.ApplyT(func(v *DataprocMetricConfig) DataprocMetricConfig { if v != nil { @@ -2566,6 +2927,12 @@ func (o DataprocMetricConfigResponseOutput) ToDataprocMetricConfigResponseOutput return o } +func (o DataprocMetricConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataprocMetricConfigResponse] { + return pulumix.Output[DataprocMetricConfigResponse]{ + OutputState: o.OutputState, + } +} + // Metrics sources to enable. func (o DataprocMetricConfigResponseOutput) Metrics() MetricResponseArrayOutput { return o.ApplyT(func(v DataprocMetricConfigResponse) []MetricResponse { return v.Metrics }).(MetricResponseArrayOutput) @@ -2618,6 +2985,12 @@ func (i DiskConfigArgs) ToDiskConfigOutputWithContext(ctx context.Context) DiskC return pulumi.ToOutputWithContext(ctx, i).(DiskConfigOutput) } +func (i DiskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DiskConfig] { + return pulumix.Output[DiskConfig]{ + OutputState: i.ToDiskConfigOutputWithContext(ctx).OutputState, + } +} + func (i DiskConfigArgs) ToDiskConfigPtrOutput() DiskConfigPtrOutput { return i.ToDiskConfigPtrOutputWithContext(context.Background()) } @@ -2659,6 +3032,12 @@ func (i *diskConfigPtrType) ToDiskConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DiskConfigPtrOutput) } +func (i *diskConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskConfig] { + return pulumix.Output[*DiskConfig]{ + OutputState: i.ToDiskConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the config of disk options for a group of VM instances. type DiskConfigOutput struct{ *pulumi.OutputState } @@ -2684,6 +3063,12 @@ func (o DiskConfigOutput) ToDiskConfigPtrOutputWithContext(ctx context.Context) }).(DiskConfigPtrOutput) } +func (o DiskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DiskConfig] { + return pulumix.Output[DiskConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Size in GB of the boot disk (default is 500GB). func (o DiskConfigOutput) BootDiskSizeGb() pulumi.IntPtrOutput { return o.ApplyT(func(v DiskConfig) *int { return v.BootDiskSizeGb }).(pulumi.IntPtrOutput) @@ -2718,6 +3103,12 @@ func (o DiskConfigPtrOutput) ToDiskConfigPtrOutputWithContext(ctx context.Contex return o } +func (o DiskConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskConfig] { + return pulumix.Output[*DiskConfig]{ + OutputState: o.OutputState, + } +} + func (o DiskConfigPtrOutput) Elem() DiskConfigOutput { return o.ApplyT(func(v *DiskConfig) DiskConfig { if v != nil { @@ -2795,6 +3186,12 @@ func (o DiskConfigResponseOutput) ToDiskConfigResponseOutputWithContext(ctx cont return o } +func (o DiskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskConfigResponse] { + return pulumix.Output[DiskConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Size in GB of the boot disk (default is 500GB). func (o DiskConfigResponseOutput) BootDiskSizeGb() pulumi.IntOutput { return o.ApplyT(func(v DiskConfigResponse) int { return v.BootDiskSizeGb }).(pulumi.IntOutput) @@ -2854,6 +3251,12 @@ func (i DriverSchedulingConfigArgs) ToDriverSchedulingConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(DriverSchedulingConfigOutput) } +func (i DriverSchedulingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DriverSchedulingConfig] { + return pulumix.Output[DriverSchedulingConfig]{ + OutputState: i.ToDriverSchedulingConfigOutputWithContext(ctx).OutputState, + } +} + func (i DriverSchedulingConfigArgs) ToDriverSchedulingConfigPtrOutput() DriverSchedulingConfigPtrOutput { return i.ToDriverSchedulingConfigPtrOutputWithContext(context.Background()) } @@ -2895,6 +3298,12 @@ func (i *driverSchedulingConfigPtrType) ToDriverSchedulingConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(DriverSchedulingConfigPtrOutput) } +func (i *driverSchedulingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DriverSchedulingConfig] { + return pulumix.Output[*DriverSchedulingConfig]{ + OutputState: i.ToDriverSchedulingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Driver scheduling configuration. type DriverSchedulingConfigOutput struct{ *pulumi.OutputState } @@ -2920,6 +3329,12 @@ func (o DriverSchedulingConfigOutput) ToDriverSchedulingConfigPtrOutputWithConte }).(DriverSchedulingConfigPtrOutput) } +func (o DriverSchedulingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DriverSchedulingConfig] { + return pulumix.Output[DriverSchedulingConfig]{ + OutputState: o.OutputState, + } +} + // The amount of memory in MB the driver is requesting. func (o DriverSchedulingConfigOutput) MemoryMb() pulumi.IntOutput { return o.ApplyT(func(v DriverSchedulingConfig) int { return v.MemoryMb }).(pulumi.IntOutput) @@ -2944,6 +3359,12 @@ func (o DriverSchedulingConfigPtrOutput) ToDriverSchedulingConfigPtrOutputWithCo return o } +func (o DriverSchedulingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DriverSchedulingConfig] { + return pulumix.Output[*DriverSchedulingConfig]{ + OutputState: o.OutputState, + } +} + func (o DriverSchedulingConfigPtrOutput) Elem() DriverSchedulingConfigOutput { return o.ApplyT(func(v *DriverSchedulingConfig) DriverSchedulingConfig { if v != nil { @@ -2997,6 +3418,12 @@ func (o DriverSchedulingConfigResponseOutput) ToDriverSchedulingConfigResponseOu return o } +func (o DriverSchedulingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DriverSchedulingConfigResponse] { + return pulumix.Output[DriverSchedulingConfigResponse]{ + OutputState: o.OutputState, + } +} + // The amount of memory in MB the driver is requesting. func (o DriverSchedulingConfigResponseOutput) MemoryMb() pulumi.IntOutput { return o.ApplyT(func(v DriverSchedulingConfigResponse) int { return v.MemoryMb }).(pulumi.IntOutput) @@ -3046,6 +3473,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -3087,6 +3520,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Encryption settings for the cluster. type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -3112,6 +3551,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster. func (o EncryptionConfigOutput) GcePdKmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.GcePdKmsKeyName }).(pulumi.StringPtrOutput) @@ -3136,6 +3581,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -3189,6 +3640,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster. func (o EncryptionConfigResponseOutput) GcePdKmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.GcePdKmsKeyName }).(pulumi.StringOutput) @@ -3234,6 +3691,12 @@ func (i EndpointConfigArgs) ToEndpointConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(EndpointConfigOutput) } +func (i EndpointConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EndpointConfig] { + return pulumix.Output[EndpointConfig]{ + OutputState: i.ToEndpointConfigOutputWithContext(ctx).OutputState, + } +} + func (i EndpointConfigArgs) ToEndpointConfigPtrOutput() EndpointConfigPtrOutput { return i.ToEndpointConfigPtrOutputWithContext(context.Background()) } @@ -3275,6 +3738,12 @@ func (i *endpointConfigPtrType) ToEndpointConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EndpointConfigPtrOutput) } +func (i *endpointConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EndpointConfig] { + return pulumix.Output[*EndpointConfig]{ + OutputState: i.ToEndpointConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Endpoint config for this cluster type EndpointConfigOutput struct{ *pulumi.OutputState } @@ -3300,6 +3769,12 @@ func (o EndpointConfigOutput) ToEndpointConfigPtrOutputWithContext(ctx context.C }).(EndpointConfigPtrOutput) } +func (o EndpointConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointConfig] { + return pulumix.Output[EndpointConfig]{ + OutputState: o.OutputState, + } +} + // Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false. func (o EndpointConfigOutput) EnableHttpPortAccess() pulumi.BoolPtrOutput { return o.ApplyT(func(v EndpointConfig) *bool { return v.EnableHttpPortAccess }).(pulumi.BoolPtrOutput) @@ -3319,6 +3794,12 @@ func (o EndpointConfigPtrOutput) ToEndpointConfigPtrOutputWithContext(ctx contex return o } +func (o EndpointConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointConfig] { + return pulumix.Output[*EndpointConfig]{ + OutputState: o.OutputState, + } +} + func (o EndpointConfigPtrOutput) Elem() EndpointConfigOutput { return o.ApplyT(func(v *EndpointConfig) EndpointConfig { if v != nil { @@ -3362,6 +3843,12 @@ func (o EndpointConfigResponseOutput) ToEndpointConfigResponseOutputWithContext( return o } +func (o EndpointConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointConfigResponse] { + return pulumix.Output[EndpointConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false. func (o EndpointConfigResponseOutput) EnableHttpPortAccess() pulumi.BoolOutput { return o.ApplyT(func(v EndpointConfigResponse) bool { return v.EnableHttpPortAccess }).(pulumi.BoolOutput) @@ -3411,6 +3898,12 @@ func (i EnvironmentConfigArgs) ToEnvironmentConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(EnvironmentConfigOutput) } +func (i EnvironmentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfig] { + return pulumix.Output[EnvironmentConfig]{ + OutputState: i.ToEnvironmentConfigOutputWithContext(ctx).OutputState, + } +} + func (i EnvironmentConfigArgs) ToEnvironmentConfigPtrOutput() EnvironmentConfigPtrOutput { return i.ToEnvironmentConfigPtrOutputWithContext(context.Background()) } @@ -3452,6 +3945,12 @@ func (i *environmentConfigPtrType) ToEnvironmentConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(EnvironmentConfigPtrOutput) } +func (i *environmentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentConfig] { + return pulumix.Output[*EnvironmentConfig]{ + OutputState: i.ToEnvironmentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Environment configuration for a workload. type EnvironmentConfigOutput struct{ *pulumi.OutputState } @@ -3477,6 +3976,12 @@ func (o EnvironmentConfigOutput) ToEnvironmentConfigPtrOutputWithContext(ctx con }).(EnvironmentConfigPtrOutput) } +func (o EnvironmentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfig] { + return pulumix.Output[EnvironmentConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Execution configuration for a workload. func (o EnvironmentConfigOutput) ExecutionConfig() ExecutionConfigPtrOutput { return o.ApplyT(func(v EnvironmentConfig) *ExecutionConfig { return v.ExecutionConfig }).(ExecutionConfigPtrOutput) @@ -3501,6 +4006,12 @@ func (o EnvironmentConfigPtrOutput) ToEnvironmentConfigPtrOutputWithContext(ctx return o } +func (o EnvironmentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvironmentConfig] { + return pulumix.Output[*EnvironmentConfig]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentConfigPtrOutput) Elem() EnvironmentConfigOutput { return o.ApplyT(func(v *EnvironmentConfig) EnvironmentConfig { if v != nil { @@ -3554,6 +4065,12 @@ func (o EnvironmentConfigResponseOutput) ToEnvironmentConfigResponseOutputWithCo return o } +func (o EnvironmentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentConfigResponse] { + return pulumix.Output[EnvironmentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Execution configuration for a workload. func (o EnvironmentConfigResponseOutput) ExecutionConfig() ExecutionConfigResponseOutput { return o.ApplyT(func(v EnvironmentConfigResponse) ExecutionConfigResponse { return v.ExecutionConfig }).(ExecutionConfigResponseOutput) @@ -3627,6 +4144,12 @@ func (i ExecutionConfigArgs) ToExecutionConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ExecutionConfigOutput) } +func (i ExecutionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ExecutionConfig] { + return pulumix.Output[ExecutionConfig]{ + OutputState: i.ToExecutionConfigOutputWithContext(ctx).OutputState, + } +} + func (i ExecutionConfigArgs) ToExecutionConfigPtrOutput() ExecutionConfigPtrOutput { return i.ToExecutionConfigPtrOutputWithContext(context.Background()) } @@ -3668,6 +4191,12 @@ func (i *executionConfigPtrType) ToExecutionConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ExecutionConfigPtrOutput) } +func (i *executionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExecutionConfig] { + return pulumix.Output[*ExecutionConfig]{ + OutputState: i.ToExecutionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Execution configuration for a workload. type ExecutionConfigOutput struct{ *pulumi.OutputState } @@ -3693,6 +4222,12 @@ func (o ExecutionConfigOutput) ToExecutionConfigPtrOutputWithContext(ctx context }).(ExecutionConfigPtrOutput) } +func (o ExecutionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionConfig] { + return pulumix.Output[ExecutionConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceed, whichever occurs first. func (o ExecutionConfigOutput) IdleTtl() pulumi.StringPtrOutput { return o.ApplyT(func(v ExecutionConfig) *string { return v.IdleTtl }).(pulumi.StringPtrOutput) @@ -3747,6 +4282,12 @@ func (o ExecutionConfigPtrOutput) ToExecutionConfigPtrOutputWithContext(ctx cont return o } +func (o ExecutionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecutionConfig] { + return pulumix.Output[*ExecutionConfig]{ + OutputState: o.OutputState, + } +} + func (o ExecutionConfigPtrOutput) Elem() ExecutionConfigOutput { return o.ApplyT(func(v *ExecutionConfig) ExecutionConfig { if v != nil { @@ -3872,6 +4413,12 @@ func (o ExecutionConfigResponseOutput) ToExecutionConfigResponseOutputWithContex return o } +func (o ExecutionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionConfigResponse] { + return pulumix.Output[ExecutionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceed, whichever occurs first. func (o ExecutionConfigResponseOutput) IdleTtl() pulumi.StringOutput { return o.ApplyT(func(v ExecutionConfigResponse) string { return v.IdleTtl }).(pulumi.StringOutput) @@ -3959,6 +4506,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -4000,6 +4553,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -4025,6 +4584,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -4059,6 +4624,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -4136,6 +4707,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -4239,6 +4816,12 @@ func (i GceClusterConfigArgs) ToGceClusterConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GceClusterConfigOutput) } +func (i GceClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GceClusterConfig] { + return pulumix.Output[GceClusterConfig]{ + OutputState: i.ToGceClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i GceClusterConfigArgs) ToGceClusterConfigPtrOutput() GceClusterConfigPtrOutput { return i.ToGceClusterConfigPtrOutputWithContext(context.Background()) } @@ -4280,6 +4863,12 @@ func (i *gceClusterConfigPtrType) ToGceClusterConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GceClusterConfigPtrOutput) } +func (i *gceClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GceClusterConfig] { + return pulumix.Output[*GceClusterConfig]{ + OutputState: i.ToGceClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster. type GceClusterConfigOutput struct{ *pulumi.OutputState } @@ -4305,6 +4894,12 @@ func (o GceClusterConfigOutput) ToGceClusterConfigPtrOutputWithContext(ctx conte }).(GceClusterConfigPtrOutput) } +func (o GceClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GceClusterConfig] { + return pulumix.Output[GceClusterConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/compute/confidential-vm/docs). func (o GceClusterConfigOutput) ConfidentialInstanceConfig() ConfidentialInstanceConfigPtrOutput { return o.ApplyT(func(v GceClusterConfig) *ConfidentialInstanceConfig { return v.ConfidentialInstanceConfig }).(ConfidentialInstanceConfigPtrOutput) @@ -4384,6 +4979,12 @@ func (o GceClusterConfigPtrOutput) ToGceClusterConfigPtrOutputWithContext(ctx co return o } +func (o GceClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GceClusterConfig] { + return pulumix.Output[*GceClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o GceClusterConfigPtrOutput) Elem() GceClusterConfigOutput { return o.ApplyT(func(v *GceClusterConfig) GceClusterConfig { if v != nil { @@ -4569,6 +5170,12 @@ func (o GceClusterConfigResponseOutput) ToGceClusterConfigResponseOutputWithCont return o } +func (o GceClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GceClusterConfigResponse] { + return pulumix.Output[GceClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/compute/confidential-vm/docs). func (o GceClusterConfigResponseOutput) ConfidentialInstanceConfig() ConfidentialInstanceConfigResponseOutput { return o.ApplyT(func(v GceClusterConfigResponse) ConfidentialInstanceConfigResponse { @@ -4683,6 +5290,12 @@ func (i GkeClusterConfigArgs) ToGkeClusterConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GkeClusterConfigOutput) } +func (i GkeClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GkeClusterConfig] { + return pulumix.Output[GkeClusterConfig]{ + OutputState: i.ToGkeClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i GkeClusterConfigArgs) ToGkeClusterConfigPtrOutput() GkeClusterConfigPtrOutput { return i.ToGkeClusterConfigPtrOutputWithContext(context.Background()) } @@ -4724,6 +5337,12 @@ func (i *gkeClusterConfigPtrType) ToGkeClusterConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GkeClusterConfigPtrOutput) } +func (i *gkeClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeClusterConfig] { + return pulumix.Output[*GkeClusterConfig]{ + OutputState: i.ToGkeClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The cluster's GKE config. type GkeClusterConfigOutput struct{ *pulumi.OutputState } @@ -4749,6 +5368,12 @@ func (o GkeClusterConfigOutput) ToGkeClusterConfigPtrOutputWithContext(ctx conte }).(GkeClusterConfigPtrOutput) } +func (o GkeClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GkeClusterConfig] { + return pulumix.Output[GkeClusterConfig]{ + OutputState: o.OutputState, + } +} + // Optional. A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster (the GKE cluster can be zonal or regional). Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}' func (o GkeClusterConfigOutput) GkeClusterTarget() pulumi.StringPtrOutput { return o.ApplyT(func(v GkeClusterConfig) *string { return v.GkeClusterTarget }).(pulumi.StringPtrOutput) @@ -4780,6 +5405,12 @@ func (o GkeClusterConfigPtrOutput) ToGkeClusterConfigPtrOutputWithContext(ctx co return o } +func (o GkeClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeClusterConfig] { + return pulumix.Output[*GkeClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o GkeClusterConfigPtrOutput) Elem() GkeClusterConfigOutput { return o.ApplyT(func(v *GkeClusterConfig) GkeClusterConfig { if v != nil { @@ -4849,6 +5480,12 @@ func (o GkeClusterConfigResponseOutput) ToGkeClusterConfigResponseOutputWithCont return o } +func (o GkeClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeClusterConfigResponse] { + return pulumix.Output[GkeClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster (the GKE cluster can be zonal or regional). Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}' func (o GkeClusterConfigResponseOutput) GkeClusterTarget() pulumi.StringOutput { return o.ApplyT(func(v GkeClusterConfigResponse) string { return v.GkeClusterTarget }).(pulumi.StringOutput) @@ -4927,6 +5564,12 @@ func (i GkeNodeConfigArgs) ToGkeNodeConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GkeNodeConfigOutput) } +func (i GkeNodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GkeNodeConfig] { + return pulumix.Output[GkeNodeConfig]{ + OutputState: i.ToGkeNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i GkeNodeConfigArgs) ToGkeNodeConfigPtrOutput() GkeNodeConfigPtrOutput { return i.ToGkeNodeConfigPtrOutputWithContext(context.Background()) } @@ -4968,6 +5611,12 @@ func (i *gkeNodeConfigPtrType) ToGkeNodeConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(GkeNodeConfigPtrOutput) } +func (i *gkeNodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeNodeConfig] { + return pulumix.Output[*GkeNodeConfig]{ + OutputState: i.ToGkeNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters that describe cluster nodes. type GkeNodeConfigOutput struct{ *pulumi.OutputState } @@ -4993,6 +5642,12 @@ func (o GkeNodeConfigOutput) ToGkeNodeConfigPtrOutputWithContext(ctx context.Con }).(GkeNodeConfigPtrOutput) } +func (o GkeNodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodeConfig] { + return pulumix.Output[GkeNodeConfig]{ + OutputState: o.OutputState, + } +} + // Optional. A list of hardware accelerators (https://cloud.google.com/compute/docs/gpus) to attach to each node. func (o GkeNodeConfigOutput) Accelerators() GkeNodePoolAcceleratorConfigArrayOutput { return o.ApplyT(func(v GkeNodeConfig) []GkeNodePoolAcceleratorConfig { return v.Accelerators }).(GkeNodePoolAcceleratorConfigArrayOutput) @@ -5042,6 +5697,12 @@ func (o GkeNodeConfigPtrOutput) ToGkeNodeConfigPtrOutputWithContext(ctx context. return o } +func (o GkeNodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeNodeConfig] { + return pulumix.Output[*GkeNodeConfig]{ + OutputState: o.OutputState, + } +} + func (o GkeNodeConfigPtrOutput) Elem() GkeNodeConfigOutput { return o.ApplyT(func(v *GkeNodeConfig) GkeNodeConfig { if v != nil { @@ -5155,6 +5816,12 @@ func (o GkeNodeConfigResponseOutput) ToGkeNodeConfigResponseOutputWithContext(ct return o } +func (o GkeNodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodeConfigResponse] { + return pulumix.Output[GkeNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A list of hardware accelerators (https://cloud.google.com/compute/docs/gpus) to attach to each node. func (o GkeNodeConfigResponseOutput) Accelerators() GkeNodePoolAcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v GkeNodeConfigResponse) []GkeNodePoolAcceleratorConfigResponse { return v.Accelerators }).(GkeNodePoolAcceleratorConfigResponseArrayOutput) @@ -5233,6 +5900,12 @@ func (i GkeNodePoolAcceleratorConfigArgs) ToGkeNodePoolAcceleratorConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(GkeNodePoolAcceleratorConfigOutput) } +func (i GkeNodePoolAcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolAcceleratorConfig] { + return pulumix.Output[GkeNodePoolAcceleratorConfig]{ + OutputState: i.ToGkeNodePoolAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + // GkeNodePoolAcceleratorConfigArrayInput is an input type that accepts GkeNodePoolAcceleratorConfigArray and GkeNodePoolAcceleratorConfigArrayOutput values. // You can construct a concrete instance of `GkeNodePoolAcceleratorConfigArrayInput` via: // @@ -5258,6 +5931,12 @@ func (i GkeNodePoolAcceleratorConfigArray) ToGkeNodePoolAcceleratorConfigArrayOu return pulumi.ToOutputWithContext(ctx, i).(GkeNodePoolAcceleratorConfigArrayOutput) } +func (i GkeNodePoolAcceleratorConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GkeNodePoolAcceleratorConfig] { + return pulumix.Output[[]GkeNodePoolAcceleratorConfig]{ + OutputState: i.ToGkeNodePoolAcceleratorConfigArrayOutputWithContext(ctx).OutputState, + } +} + // A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request for a node pool. type GkeNodePoolAcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -5273,6 +5952,12 @@ func (o GkeNodePoolAcceleratorConfigOutput) ToGkeNodePoolAcceleratorConfigOutput return o } +func (o GkeNodePoolAcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolAcceleratorConfig] { + return pulumix.Output[GkeNodePoolAcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // The number of accelerator cards exposed to an instance. func (o GkeNodePoolAcceleratorConfigOutput) AcceleratorCount() pulumi.StringPtrOutput { return o.ApplyT(func(v GkeNodePoolAcceleratorConfig) *string { return v.AcceleratorCount }).(pulumi.StringPtrOutput) @@ -5302,6 +5987,12 @@ func (o GkeNodePoolAcceleratorConfigArrayOutput) ToGkeNodePoolAcceleratorConfigA return o } +func (o GkeNodePoolAcceleratorConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GkeNodePoolAcceleratorConfig] { + return pulumix.Output[[]GkeNodePoolAcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o GkeNodePoolAcceleratorConfigArrayOutput) Index(i pulumi.IntInput) GkeNodePoolAcceleratorConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GkeNodePoolAcceleratorConfig { return vs[0].([]GkeNodePoolAcceleratorConfig)[vs[1].(int)] @@ -5333,6 +6024,12 @@ func (o GkeNodePoolAcceleratorConfigResponseOutput) ToGkeNodePoolAcceleratorConf return o } +func (o GkeNodePoolAcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolAcceleratorConfigResponse] { + return pulumix.Output[GkeNodePoolAcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of accelerator cards exposed to an instance. func (o GkeNodePoolAcceleratorConfigResponseOutput) AcceleratorCount() pulumi.StringOutput { return o.ApplyT(func(v GkeNodePoolAcceleratorConfigResponse) string { return v.AcceleratorCount }).(pulumi.StringOutput) @@ -5362,6 +6059,12 @@ func (o GkeNodePoolAcceleratorConfigResponseArrayOutput) ToGkeNodePoolAccelerato return o } +func (o GkeNodePoolAcceleratorConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GkeNodePoolAcceleratorConfigResponse] { + return pulumix.Output[[]GkeNodePoolAcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GkeNodePoolAcceleratorConfigResponseArrayOutput) Index(i pulumi.IntInput) GkeNodePoolAcceleratorConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GkeNodePoolAcceleratorConfigResponse { return vs[0].([]GkeNodePoolAcceleratorConfigResponse)[vs[1].(int)] @@ -5407,6 +6110,12 @@ func (i GkeNodePoolAutoscalingConfigArgs) ToGkeNodePoolAutoscalingConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(GkeNodePoolAutoscalingConfigOutput) } +func (i GkeNodePoolAutoscalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolAutoscalingConfig] { + return pulumix.Output[GkeNodePoolAutoscalingConfig]{ + OutputState: i.ToGkeNodePoolAutoscalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GkeNodePoolAutoscalingConfigArgs) ToGkeNodePoolAutoscalingConfigPtrOutput() GkeNodePoolAutoscalingConfigPtrOutput { return i.ToGkeNodePoolAutoscalingConfigPtrOutputWithContext(context.Background()) } @@ -5448,6 +6157,12 @@ func (i *gkeNodePoolAutoscalingConfigPtrType) ToGkeNodePoolAutoscalingConfigPtrO return pulumi.ToOutputWithContext(ctx, i).(GkeNodePoolAutoscalingConfigPtrOutput) } +func (i *gkeNodePoolAutoscalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeNodePoolAutoscalingConfig] { + return pulumix.Output[*GkeNodePoolAutoscalingConfig]{ + OutputState: i.ToGkeNodePoolAutoscalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // GkeNodePoolAutoscaling contains information the cluster autoscaler needs to adjust the size of the node pool to the current cluster usage. type GkeNodePoolAutoscalingConfigOutput struct{ *pulumi.OutputState } @@ -5473,6 +6188,12 @@ func (o GkeNodePoolAutoscalingConfigOutput) ToGkeNodePoolAutoscalingConfigPtrOut }).(GkeNodePoolAutoscalingConfigPtrOutput) } +func (o GkeNodePoolAutoscalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolAutoscalingConfig] { + return pulumix.Output[GkeNodePoolAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + // The maximum number of nodes in the node pool. Must be >= min_node_count, and must be > 0. Note: Quota must be sufficient to scale up the cluster. func (o GkeNodePoolAutoscalingConfigOutput) MaxNodeCount() pulumi.IntPtrOutput { return o.ApplyT(func(v GkeNodePoolAutoscalingConfig) *int { return v.MaxNodeCount }).(pulumi.IntPtrOutput) @@ -5497,6 +6218,12 @@ func (o GkeNodePoolAutoscalingConfigPtrOutput) ToGkeNodePoolAutoscalingConfigPtr return o } +func (o GkeNodePoolAutoscalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeNodePoolAutoscalingConfig] { + return pulumix.Output[*GkeNodePoolAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + func (o GkeNodePoolAutoscalingConfigPtrOutput) Elem() GkeNodePoolAutoscalingConfigOutput { return o.ApplyT(func(v *GkeNodePoolAutoscalingConfig) GkeNodePoolAutoscalingConfig { if v != nil { @@ -5550,6 +6277,12 @@ func (o GkeNodePoolAutoscalingConfigResponseOutput) ToGkeNodePoolAutoscalingConf return o } +func (o GkeNodePoolAutoscalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolAutoscalingConfigResponse] { + return pulumix.Output[GkeNodePoolAutoscalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of nodes in the node pool. Must be >= min_node_count, and must be > 0. Note: Quota must be sufficient to scale up the cluster. func (o GkeNodePoolAutoscalingConfigResponseOutput) MaxNodeCount() pulumi.IntOutput { return o.ApplyT(func(v GkeNodePoolAutoscalingConfigResponse) int { return v.MaxNodeCount }).(pulumi.IntOutput) @@ -5603,6 +6336,12 @@ func (i GkeNodePoolConfigArgs) ToGkeNodePoolConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GkeNodePoolConfigOutput) } +func (i GkeNodePoolConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolConfig] { + return pulumix.Output[GkeNodePoolConfig]{ + OutputState: i.ToGkeNodePoolConfigOutputWithContext(ctx).OutputState, + } +} + func (i GkeNodePoolConfigArgs) ToGkeNodePoolConfigPtrOutput() GkeNodePoolConfigPtrOutput { return i.ToGkeNodePoolConfigPtrOutputWithContext(context.Background()) } @@ -5644,6 +6383,12 @@ func (i *gkeNodePoolConfigPtrType) ToGkeNodePoolConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(GkeNodePoolConfigPtrOutput) } +func (i *gkeNodePoolConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeNodePoolConfig] { + return pulumix.Output[*GkeNodePoolConfig]{ + OutputState: i.ToGkeNodePoolConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration of a GKE node pool used by a Dataproc-on-GKE cluster (https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster). type GkeNodePoolConfigOutput struct{ *pulumi.OutputState } @@ -5669,6 +6414,12 @@ func (o GkeNodePoolConfigOutput) ToGkeNodePoolConfigPtrOutputWithContext(ctx con }).(GkeNodePoolConfigPtrOutput) } +func (o GkeNodePoolConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolConfig] { + return pulumix.Output[GkeNodePoolConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present. func (o GkeNodePoolConfigOutput) Autoscaling() GkeNodePoolAutoscalingConfigPtrOutput { return o.ApplyT(func(v GkeNodePoolConfig) *GkeNodePoolAutoscalingConfig { return v.Autoscaling }).(GkeNodePoolAutoscalingConfigPtrOutput) @@ -5698,6 +6449,12 @@ func (o GkeNodePoolConfigPtrOutput) ToGkeNodePoolConfigPtrOutputWithContext(ctx return o } +func (o GkeNodePoolConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeNodePoolConfig] { + return pulumix.Output[*GkeNodePoolConfig]{ + OutputState: o.OutputState, + } +} + func (o GkeNodePoolConfigPtrOutput) Elem() GkeNodePoolConfigOutput { return o.ApplyT(func(v *GkeNodePoolConfig) GkeNodePoolConfig { if v != nil { @@ -5763,6 +6520,12 @@ func (o GkeNodePoolConfigResponseOutput) ToGkeNodePoolConfigResponseOutputWithCo return o } +func (o GkeNodePoolConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolConfigResponse] { + return pulumix.Output[GkeNodePoolConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present. func (o GkeNodePoolConfigResponseOutput) Autoscaling() GkeNodePoolAutoscalingConfigResponseOutput { return o.ApplyT(func(v GkeNodePoolConfigResponse) GkeNodePoolAutoscalingConfigResponse { return v.Autoscaling }).(GkeNodePoolAutoscalingConfigResponseOutput) @@ -5821,6 +6584,12 @@ func (i GkeNodePoolTargetArgs) ToGkeNodePoolTargetOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GkeNodePoolTargetOutput) } +func (i GkeNodePoolTargetArgs) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolTarget] { + return pulumix.Output[GkeNodePoolTarget]{ + OutputState: i.ToGkeNodePoolTargetOutputWithContext(ctx).OutputState, + } +} + // GkeNodePoolTargetArrayInput is an input type that accepts GkeNodePoolTargetArray and GkeNodePoolTargetArrayOutput values. // You can construct a concrete instance of `GkeNodePoolTargetArrayInput` via: // @@ -5846,6 +6615,12 @@ func (i GkeNodePoolTargetArray) ToGkeNodePoolTargetArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GkeNodePoolTargetArrayOutput) } +func (i GkeNodePoolTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]GkeNodePoolTarget] { + return pulumix.Output[[]GkeNodePoolTarget]{ + OutputState: i.ToGkeNodePoolTargetArrayOutputWithContext(ctx).OutputState, + } +} + // GKE node pools that Dataproc workloads run on. type GkeNodePoolTargetOutput struct{ *pulumi.OutputState } @@ -5861,6 +6636,12 @@ func (o GkeNodePoolTargetOutput) ToGkeNodePoolTargetOutputWithContext(ctx contex return o } +func (o GkeNodePoolTargetOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolTarget] { + return pulumix.Output[GkeNodePoolTarget]{ + OutputState: o.OutputState, + } +} + // The target GKE node pool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}' func (o GkeNodePoolTargetOutput) NodePool() pulumi.StringOutput { return o.ApplyT(func(v GkeNodePoolTarget) string { return v.NodePool }).(pulumi.StringOutput) @@ -5890,6 +6671,12 @@ func (o GkeNodePoolTargetArrayOutput) ToGkeNodePoolTargetArrayOutputWithContext( return o } +func (o GkeNodePoolTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GkeNodePoolTarget] { + return pulumix.Output[[]GkeNodePoolTarget]{ + OutputState: o.OutputState, + } +} + func (o GkeNodePoolTargetArrayOutput) Index(i pulumi.IntInput) GkeNodePoolTargetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GkeNodePoolTarget { return vs[0].([]GkeNodePoolTarget)[vs[1].(int)] @@ -5921,6 +6708,12 @@ func (o GkeNodePoolTargetResponseOutput) ToGkeNodePoolTargetResponseOutputWithCo return o } +func (o GkeNodePoolTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNodePoolTargetResponse] { + return pulumix.Output[GkeNodePoolTargetResponse]{ + OutputState: o.OutputState, + } +} + // The target GKE node pool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}' func (o GkeNodePoolTargetResponseOutput) NodePool() pulumi.StringOutput { return o.ApplyT(func(v GkeNodePoolTargetResponse) string { return v.NodePool }).(pulumi.StringOutput) @@ -5950,6 +6743,12 @@ func (o GkeNodePoolTargetResponseArrayOutput) ToGkeNodePoolTargetResponseArrayOu return o } +func (o GkeNodePoolTargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GkeNodePoolTargetResponse] { + return pulumix.Output[[]GkeNodePoolTargetResponse]{ + OutputState: o.OutputState, + } +} + func (o GkeNodePoolTargetResponseArrayOutput) Index(i pulumi.IntInput) GkeNodePoolTargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GkeNodePoolTargetResponse { return vs[0].([]GkeNodePoolTargetResponse)[vs[1].(int)] @@ -6019,6 +6818,12 @@ func (i HadoopJobArgs) ToHadoopJobOutputWithContext(ctx context.Context) HadoopJ return pulumi.ToOutputWithContext(ctx, i).(HadoopJobOutput) } +func (i HadoopJobArgs) ToOutput(ctx context.Context) pulumix.Output[HadoopJob] { + return pulumix.Output[HadoopJob]{ + OutputState: i.ToHadoopJobOutputWithContext(ctx).OutputState, + } +} + func (i HadoopJobArgs) ToHadoopJobPtrOutput() HadoopJobPtrOutput { return i.ToHadoopJobPtrOutputWithContext(context.Background()) } @@ -6060,6 +6865,12 @@ func (i *hadoopJobPtrType) ToHadoopJobPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(HadoopJobPtrOutput) } +func (i *hadoopJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*HadoopJob] { + return pulumix.Output[*HadoopJob]{ + OutputState: i.ToHadoopJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). type HadoopJobOutput struct{ *pulumi.OutputState } @@ -6085,6 +6896,12 @@ func (o HadoopJobOutput) ToHadoopJobPtrOutputWithContext(ctx context.Context) Ha }).(HadoopJobPtrOutput) } +func (o HadoopJobOutput) ToOutput(ctx context.Context) pulumix.Output[HadoopJob] { + return pulumix.Output[HadoopJob]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip. func (o HadoopJobOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v HadoopJob) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -6139,6 +6956,12 @@ func (o HadoopJobPtrOutput) ToHadoopJobPtrOutputWithContext(ctx context.Context) return o } +func (o HadoopJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HadoopJob] { + return pulumix.Output[*HadoopJob]{ + OutputState: o.OutputState, + } +} + func (o HadoopJobPtrOutput) Elem() HadoopJobOutput { return o.ApplyT(func(v *HadoopJob) HadoopJob { if v != nil { @@ -6264,6 +7087,12 @@ func (o HadoopJobResponseOutput) ToHadoopJobResponseOutputWithContext(ctx contex return o } +func (o HadoopJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HadoopJobResponse] { + return pulumix.Output[HadoopJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip. func (o HadoopJobResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v HadoopJobResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -6359,6 +7188,12 @@ func (i HiveJobArgs) ToHiveJobOutputWithContext(ctx context.Context) HiveJobOutp return pulumi.ToOutputWithContext(ctx, i).(HiveJobOutput) } +func (i HiveJobArgs) ToOutput(ctx context.Context) pulumix.Output[HiveJob] { + return pulumix.Output[HiveJob]{ + OutputState: i.ToHiveJobOutputWithContext(ctx).OutputState, + } +} + func (i HiveJobArgs) ToHiveJobPtrOutput() HiveJobPtrOutput { return i.ToHiveJobPtrOutputWithContext(context.Background()) } @@ -6400,6 +7235,12 @@ func (i *hiveJobPtrType) ToHiveJobPtrOutputWithContext(ctx context.Context) Hive return pulumi.ToOutputWithContext(ctx, i).(HiveJobPtrOutput) } +func (i *hiveJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*HiveJob] { + return pulumix.Output[*HiveJob]{ + OutputState: i.ToHiveJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on YARN. type HiveJobOutput struct{ *pulumi.OutputState } @@ -6425,6 +7266,12 @@ func (o HiveJobOutput) ToHiveJobPtrOutputWithContext(ctx context.Context) HiveJo }).(HiveJobPtrOutput) } +func (o HiveJobOutput) ToOutput(ctx context.Context) pulumix.Output[HiveJob] { + return pulumix.Output[HiveJob]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. func (o HiveJobOutput) ContinueOnFailure() pulumi.BoolPtrOutput { return o.ApplyT(func(v HiveJob) *bool { return v.ContinueOnFailure }).(pulumi.BoolPtrOutput) @@ -6469,6 +7316,12 @@ func (o HiveJobPtrOutput) ToHiveJobPtrOutputWithContext(ctx context.Context) Hiv return o } +func (o HiveJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HiveJob] { + return pulumix.Output[*HiveJob]{ + OutputState: o.OutputState, + } +} + func (o HiveJobPtrOutput) Elem() HiveJobOutput { return o.ApplyT(func(v *HiveJob) HiveJob { if v != nil { @@ -6570,6 +7423,12 @@ func (o HiveJobResponseOutput) ToHiveJobResponseOutputWithContext(ctx context.Co return o } +func (o HiveJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HiveJobResponse] { + return pulumix.Output[HiveJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. func (o HiveJobResponseOutput) ContinueOnFailure() pulumi.BoolOutput { return o.ApplyT(func(v HiveJobResponse) bool { return v.ContinueOnFailure }).(pulumi.BoolOutput) @@ -6635,6 +7494,12 @@ func (i IdentityConfigArgs) ToIdentityConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(IdentityConfigOutput) } +func (i IdentityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityConfig] { + return pulumix.Output[IdentityConfig]{ + OutputState: i.ToIdentityConfigOutputWithContext(ctx).OutputState, + } +} + func (i IdentityConfigArgs) ToIdentityConfigPtrOutput() IdentityConfigPtrOutput { return i.ToIdentityConfigPtrOutputWithContext(context.Background()) } @@ -6676,6 +7541,12 @@ func (i *identityConfigPtrType) ToIdentityConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(IdentityConfigPtrOutput) } +func (i *identityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityConfig] { + return pulumix.Output[*IdentityConfig]{ + OutputState: i.ToIdentityConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Identity related configuration, including service account based secure multi-tenancy user mappings. type IdentityConfigOutput struct{ *pulumi.OutputState } @@ -6701,6 +7572,12 @@ func (o IdentityConfigOutput) ToIdentityConfigPtrOutputWithContext(ctx context.C }).(IdentityConfigPtrOutput) } +func (o IdentityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityConfig] { + return pulumix.Output[IdentityConfig]{ + OutputState: o.OutputState, + } +} + // Map of user to service account. func (o IdentityConfigOutput) UserServiceAccountMapping() pulumi.StringMapOutput { return o.ApplyT(func(v IdentityConfig) map[string]string { return v.UserServiceAccountMapping }).(pulumi.StringMapOutput) @@ -6720,6 +7597,12 @@ func (o IdentityConfigPtrOutput) ToIdentityConfigPtrOutputWithContext(ctx contex return o } +func (o IdentityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityConfig] { + return pulumix.Output[*IdentityConfig]{ + OutputState: o.OutputState, + } +} + func (o IdentityConfigPtrOutput) Elem() IdentityConfigOutput { return o.ApplyT(func(v *IdentityConfig) IdentityConfig { if v != nil { @@ -6761,6 +7644,12 @@ func (o IdentityConfigResponseOutput) ToIdentityConfigResponseOutputWithContext( return o } +func (o IdentityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityConfigResponse] { + return pulumix.Output[IdentityConfigResponse]{ + OutputState: o.OutputState, + } +} + // Map of user to service account. func (o IdentityConfigResponseOutput) UserServiceAccountMapping() pulumi.StringMapOutput { return o.ApplyT(func(v IdentityConfigResponse) map[string]string { return v.UserServiceAccountMapping }).(pulumi.StringMapOutput) @@ -6809,6 +7698,12 @@ func (i InstanceGroupAutoscalingPolicyConfigArgs) ToInstanceGroupAutoscalingPoli return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupAutoscalingPolicyConfigOutput) } +func (i InstanceGroupAutoscalingPolicyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupAutoscalingPolicyConfig] { + return pulumix.Output[InstanceGroupAutoscalingPolicyConfig]{ + OutputState: i.ToInstanceGroupAutoscalingPolicyConfigOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupAutoscalingPolicyConfigArgs) ToInstanceGroupAutoscalingPolicyConfigPtrOutput() InstanceGroupAutoscalingPolicyConfigPtrOutput { return i.ToInstanceGroupAutoscalingPolicyConfigPtrOutputWithContext(context.Background()) } @@ -6850,6 +7745,12 @@ func (i *instanceGroupAutoscalingPolicyConfigPtrType) ToInstanceGroupAutoscaling return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupAutoscalingPolicyConfigPtrOutput) } +func (i *instanceGroupAutoscalingPolicyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupAutoscalingPolicyConfig] { + return pulumix.Output[*InstanceGroupAutoscalingPolicyConfig]{ + OutputState: i.ToInstanceGroupAutoscalingPolicyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the size bounds of an instance group, including its proportional size to other groups. type InstanceGroupAutoscalingPolicyConfigOutput struct{ *pulumi.OutputState } @@ -6875,6 +7776,12 @@ func (o InstanceGroupAutoscalingPolicyConfigOutput) ToInstanceGroupAutoscalingPo }).(InstanceGroupAutoscalingPolicyConfigPtrOutput) } +func (o InstanceGroupAutoscalingPolicyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupAutoscalingPolicyConfig] { + return pulumix.Output[InstanceGroupAutoscalingPolicyConfig]{ + OutputState: o.OutputState, + } +} + // Maximum number of instances for this group. Required for primary workers. Note that by default, clusters will not use secondary workers. Required for secondary workers if the minimum secondary instances is set.Primary workers - Bounds: [min_instances, ). Secondary workers - Bounds: [min_instances, ). Default: 0. func (o InstanceGroupAutoscalingPolicyConfigOutput) MaxInstances() pulumi.IntOutput { return o.ApplyT(func(v InstanceGroupAutoscalingPolicyConfig) int { return v.MaxInstances }).(pulumi.IntOutput) @@ -6904,6 +7811,12 @@ func (o InstanceGroupAutoscalingPolicyConfigPtrOutput) ToInstanceGroupAutoscalin return o } +func (o InstanceGroupAutoscalingPolicyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupAutoscalingPolicyConfig] { + return pulumix.Output[*InstanceGroupAutoscalingPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupAutoscalingPolicyConfigPtrOutput) Elem() InstanceGroupAutoscalingPolicyConfigOutput { return o.ApplyT(func(v *InstanceGroupAutoscalingPolicyConfig) InstanceGroupAutoscalingPolicyConfig { if v != nil { @@ -6969,6 +7882,12 @@ func (o InstanceGroupAutoscalingPolicyConfigResponseOutput) ToInstanceGroupAutos return o } +func (o InstanceGroupAutoscalingPolicyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupAutoscalingPolicyConfigResponse] { + return pulumix.Output[InstanceGroupAutoscalingPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Maximum number of instances for this group. Required for primary workers. Note that by default, clusters will not use secondary workers. Required for secondary workers if the minimum secondary instances is set.Primary workers - Bounds: [min_instances, ). Secondary workers - Bounds: [min_instances, ). Default: 0. func (o InstanceGroupAutoscalingPolicyConfigResponseOutput) MaxInstances() pulumi.IntOutput { return o.ApplyT(func(v InstanceGroupAutoscalingPolicyConfigResponse) int { return v.MaxInstances }).(pulumi.IntOutput) @@ -7043,6 +7962,12 @@ func (i InstanceGroupConfigArgs) ToInstanceGroupConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupConfigOutput) } +func (i InstanceGroupConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupConfig] { + return pulumix.Output[InstanceGroupConfig]{ + OutputState: i.ToInstanceGroupConfigOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupConfigArgs) ToInstanceGroupConfigPtrOutput() InstanceGroupConfigPtrOutput { return i.ToInstanceGroupConfigPtrOutputWithContext(context.Background()) } @@ -7084,6 +8009,12 @@ func (i *instanceGroupConfigPtrType) ToInstanceGroupConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupConfigPtrOutput) } +func (i *instanceGroupConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupConfig] { + return pulumix.Output[*InstanceGroupConfig]{ + OutputState: i.ToInstanceGroupConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The config settings for Compute Engine resources in an instance group, such as a master or worker group. type InstanceGroupConfigOutput struct{ *pulumi.OutputState } @@ -7109,6 +8040,12 @@ func (o InstanceGroupConfigOutput) ToInstanceGroupConfigPtrOutputWithContext(ctx }).(InstanceGroupConfigPtrOutput) } +func (o InstanceGroupConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupConfig] { + return pulumix.Output[InstanceGroupConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The Compute Engine accelerator configuration for these instances. func (o InstanceGroupConfigOutput) Accelerators() AcceleratorConfigArrayOutput { return o.ApplyT(func(v InstanceGroupConfig) []AcceleratorConfig { return v.Accelerators }).(AcceleratorConfigArrayOutput) @@ -7158,6 +8095,12 @@ func (o InstanceGroupConfigPtrOutput) ToInstanceGroupConfigPtrOutputWithContext( return o } +func (o InstanceGroupConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupConfig] { + return pulumix.Output[*InstanceGroupConfig]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupConfigPtrOutput) Elem() InstanceGroupConfigOutput { return o.ApplyT(func(v *InstanceGroupConfig) InstanceGroupConfig { if v != nil { @@ -7279,6 +8222,12 @@ func (o InstanceGroupConfigResponseOutput) ToInstanceGroupConfigResponseOutputWi return o } +func (o InstanceGroupConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupConfigResponse] { + return pulumix.Output[InstanceGroupConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Compute Engine accelerator configuration for these instances. func (o InstanceGroupConfigResponseOutput) Accelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v InstanceGroupConfigResponse) []AcceleratorConfigResponse { return v.Accelerators }).(AcceleratorConfigResponseArrayOutput) @@ -7361,6 +8310,12 @@ func (o InstanceReferenceResponseOutput) ToInstanceReferenceResponseOutputWithCo return o } +func (o InstanceReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceReferenceResponse] { + return pulumix.Output[InstanceReferenceResponse]{ + OutputState: o.OutputState, + } +} + // The unique identifier of the Compute Engine instance. func (o InstanceReferenceResponseOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v InstanceReferenceResponse) string { return v.InstanceId }).(pulumi.StringOutput) @@ -7395,6 +8350,12 @@ func (o InstanceReferenceResponseArrayOutput) ToInstanceReferenceResponseArrayOu return o } +func (o InstanceReferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceReferenceResponse] { + return pulumix.Output[[]InstanceReferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceReferenceResponseArrayOutput) Index(i pulumi.IntInput) InstanceReferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceReferenceResponse { return vs[0].([]InstanceReferenceResponse)[vs[1].(int)] @@ -7440,6 +8401,12 @@ func (i JobPlacementArgs) ToJobPlacementOutputWithContext(ctx context.Context) J return pulumi.ToOutputWithContext(ctx, i).(JobPlacementOutput) } +func (i JobPlacementArgs) ToOutput(ctx context.Context) pulumix.Output[JobPlacement] { + return pulumix.Output[JobPlacement]{ + OutputState: i.ToJobPlacementOutputWithContext(ctx).OutputState, + } +} + // Dataproc job config. type JobPlacementOutput struct{ *pulumi.OutputState } @@ -7455,6 +8422,12 @@ func (o JobPlacementOutput) ToJobPlacementOutputWithContext(ctx context.Context) return o } +func (o JobPlacementOutput) ToOutput(ctx context.Context) pulumix.Output[JobPlacement] { + return pulumix.Output[JobPlacement]{ + OutputState: o.OutputState, + } +} + // Optional. Cluster labels to identify a cluster where the job will be submitted. func (o JobPlacementOutput) ClusterLabels() pulumi.StringMapOutput { return o.ApplyT(func(v JobPlacement) map[string]string { return v.ClusterLabels }).(pulumi.StringMapOutput) @@ -7490,6 +8463,12 @@ func (o JobPlacementResponseOutput) ToJobPlacementResponseOutputWithContext(ctx return o } +func (o JobPlacementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobPlacementResponse] { + return pulumix.Output[JobPlacementResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Cluster labels to identify a cluster where the job will be submitted. func (o JobPlacementResponseOutput) ClusterLabels() pulumi.StringMapOutput { return o.ApplyT(func(v JobPlacementResponse) map[string]string { return v.ClusterLabels }).(pulumi.StringMapOutput) @@ -7544,6 +8523,12 @@ func (i JobReferenceArgs) ToJobReferenceOutputWithContext(ctx context.Context) J return pulumi.ToOutputWithContext(ctx, i).(JobReferenceOutput) } +func (i JobReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[JobReference] { + return pulumix.Output[JobReference]{ + OutputState: i.ToJobReferenceOutputWithContext(ctx).OutputState, + } +} + func (i JobReferenceArgs) ToJobReferencePtrOutput() JobReferencePtrOutput { return i.ToJobReferencePtrOutputWithContext(context.Background()) } @@ -7585,6 +8570,12 @@ func (i *jobReferencePtrType) ToJobReferencePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(JobReferencePtrOutput) } +func (i *jobReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*JobReference] { + return pulumix.Output[*JobReference]{ + OutputState: i.ToJobReferencePtrOutputWithContext(ctx).OutputState, + } +} + // Encapsulates the full scoping used to reference a job. type JobReferenceOutput struct{ *pulumi.OutputState } @@ -7610,6 +8601,12 @@ func (o JobReferenceOutput) ToJobReferencePtrOutputWithContext(ctx context.Conte }).(JobReferencePtrOutput) } +func (o JobReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[JobReference] { + return pulumix.Output[JobReference]{ + OutputState: o.OutputState, + } +} + // Optional. The job ID, which must be unique within the project.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server. func (o JobReferenceOutput) JobId() pulumi.StringPtrOutput { return o.ApplyT(func(v JobReference) *string { return v.JobId }).(pulumi.StringPtrOutput) @@ -7634,6 +8631,12 @@ func (o JobReferencePtrOutput) ToJobReferencePtrOutputWithContext(ctx context.Co return o } +func (o JobReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobReference] { + return pulumix.Output[*JobReference]{ + OutputState: o.OutputState, + } +} + func (o JobReferencePtrOutput) Elem() JobReferenceOutput { return o.ApplyT(func(v *JobReference) JobReference { if v != nil { @@ -7687,6 +8690,12 @@ func (o JobReferenceResponseOutput) ToJobReferenceResponseOutputWithContext(ctx return o } +func (o JobReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobReferenceResponse] { + return pulumix.Output[JobReferenceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The job ID, which must be unique within the project.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server. func (o JobReferenceResponseOutput) JobId() pulumi.StringOutput { return o.ApplyT(func(v JobReferenceResponse) string { return v.JobId }).(pulumi.StringOutput) @@ -7736,6 +8745,12 @@ func (i JobSchedulingArgs) ToJobSchedulingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(JobSchedulingOutput) } +func (i JobSchedulingArgs) ToOutput(ctx context.Context) pulumix.Output[JobScheduling] { + return pulumix.Output[JobScheduling]{ + OutputState: i.ToJobSchedulingOutputWithContext(ctx).OutputState, + } +} + func (i JobSchedulingArgs) ToJobSchedulingPtrOutput() JobSchedulingPtrOutput { return i.ToJobSchedulingPtrOutputWithContext(context.Background()) } @@ -7777,6 +8792,12 @@ func (i *jobSchedulingPtrType) ToJobSchedulingPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(JobSchedulingPtrOutput) } +func (i *jobSchedulingPtrType) ToOutput(ctx context.Context) pulumix.Output[*JobScheduling] { + return pulumix.Output[*JobScheduling]{ + OutputState: i.ToJobSchedulingPtrOutputWithContext(ctx).OutputState, + } +} + // Job scheduling options. type JobSchedulingOutput struct{ *pulumi.OutputState } @@ -7802,6 +8823,12 @@ func (o JobSchedulingOutput) ToJobSchedulingPtrOutputWithContext(ctx context.Con }).(JobSchedulingPtrOutput) } +func (o JobSchedulingOutput) ToOutput(ctx context.Context) pulumix.Output[JobScheduling] { + return pulumix.Output[JobScheduling]{ + OutputState: o.OutputState, + } +} + // Optional. Maximum number of times per hour a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed.A job may be reported as thrashing if the driver exits with a non-zero code four times within a 10-minute window.Maximum value is 10.Note: This restartable job option is not supported in Dataproc workflow templates (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template). func (o JobSchedulingOutput) MaxFailuresPerHour() pulumi.IntPtrOutput { return o.ApplyT(func(v JobScheduling) *int { return v.MaxFailuresPerHour }).(pulumi.IntPtrOutput) @@ -7826,6 +8853,12 @@ func (o JobSchedulingPtrOutput) ToJobSchedulingPtrOutputWithContext(ctx context. return o } +func (o JobSchedulingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobScheduling] { + return pulumix.Output[*JobScheduling]{ + OutputState: o.OutputState, + } +} + func (o JobSchedulingPtrOutput) Elem() JobSchedulingOutput { return o.ApplyT(func(v *JobScheduling) JobScheduling { if v != nil { @@ -7879,6 +8912,12 @@ func (o JobSchedulingResponseOutput) ToJobSchedulingResponseOutputWithContext(ct return o } +func (o JobSchedulingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobSchedulingResponse] { + return pulumix.Output[JobSchedulingResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Maximum number of times per hour a driver may be restarted as a result of driver exiting with non-zero code before job is reported failed.A job may be reported as thrashing if the driver exits with a non-zero code four times within a 10-minute window.Maximum value is 10.Note: This restartable job option is not supported in Dataproc workflow templates (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template). func (o JobSchedulingResponseOutput) MaxFailuresPerHour() pulumi.IntOutput { return o.ApplyT(func(v JobSchedulingResponse) int { return v.MaxFailuresPerHour }).(pulumi.IntOutput) @@ -7916,6 +8955,12 @@ func (o JobStatusResponseOutput) ToJobStatusResponseOutputWithContext(ctx contex return o } +func (o JobStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatusResponse] { + return pulumix.Output[JobStatusResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Output only. Job state details, such as an error description if the state is ERROR. func (o JobStatusResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v JobStatusResponse) string { return v.Details }).(pulumi.StringOutput) @@ -7950,6 +8995,12 @@ func (o JobStatusResponseArrayOutput) ToJobStatusResponseArrayOutputWithContext( return o } +func (o JobStatusResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobStatusResponse] { + return pulumix.Output[[]JobStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o JobStatusResponseArrayOutput) Index(i pulumi.IntInput) JobStatusResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobStatusResponse { return vs[0].([]JobStatusResponse)[vs[1].(int)] @@ -8047,6 +9098,12 @@ func (i KerberosConfigArgs) ToKerberosConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(KerberosConfigOutput) } +func (i KerberosConfigArgs) ToOutput(ctx context.Context) pulumix.Output[KerberosConfig] { + return pulumix.Output[KerberosConfig]{ + OutputState: i.ToKerberosConfigOutputWithContext(ctx).OutputState, + } +} + func (i KerberosConfigArgs) ToKerberosConfigPtrOutput() KerberosConfigPtrOutput { return i.ToKerberosConfigPtrOutputWithContext(context.Background()) } @@ -8088,6 +9145,12 @@ func (i *kerberosConfigPtrType) ToKerberosConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(KerberosConfigPtrOutput) } +func (i *kerberosConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*KerberosConfig] { + return pulumix.Output[*KerberosConfig]{ + OutputState: i.ToKerberosConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies Kerberos related configuration. type KerberosConfigOutput struct{ *pulumi.OutputState } @@ -8113,6 +9176,12 @@ func (o KerberosConfigOutput) ToKerberosConfigPtrOutputWithContext(ctx context.C }).(KerberosConfigPtrOutput) } +func (o KerberosConfigOutput) ToOutput(ctx context.Context) pulumix.Output[KerberosConfig] { + return pulumix.Output[KerberosConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship. func (o KerberosConfigOutput) CrossRealmTrustAdminServer() pulumi.StringPtrOutput { return o.ApplyT(func(v KerberosConfig) *string { return v.CrossRealmTrustAdminServer }).(pulumi.StringPtrOutput) @@ -8202,6 +9271,12 @@ func (o KerberosConfigPtrOutput) ToKerberosConfigPtrOutputWithContext(ctx contex return o } +func (o KerberosConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KerberosConfig] { + return pulumix.Output[*KerberosConfig]{ + OutputState: o.OutputState, + } +} + func (o KerberosConfigPtrOutput) Elem() KerberosConfigOutput { return o.ApplyT(func(v *KerberosConfig) KerberosConfig { if v != nil { @@ -8411,6 +9486,12 @@ func (o KerberosConfigResponseOutput) ToKerberosConfigResponseOutputWithContext( return o } +func (o KerberosConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KerberosConfigResponse] { + return pulumix.Output[KerberosConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship. func (o KerberosConfigResponseOutput) CrossRealmTrustAdminServer() pulumi.StringOutput { return o.ApplyT(func(v KerberosConfigResponse) string { return v.CrossRealmTrustAdminServer }).(pulumi.StringOutput) @@ -8529,6 +9610,12 @@ func (i KubernetesClusterConfigArgs) ToKubernetesClusterConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(KubernetesClusterConfigOutput) } +func (i KubernetesClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[KubernetesClusterConfig] { + return pulumix.Output[KubernetesClusterConfig]{ + OutputState: i.ToKubernetesClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i KubernetesClusterConfigArgs) ToKubernetesClusterConfigPtrOutput() KubernetesClusterConfigPtrOutput { return i.ToKubernetesClusterConfigPtrOutputWithContext(context.Background()) } @@ -8570,6 +9657,12 @@ func (i *kubernetesClusterConfigPtrType) ToKubernetesClusterConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(KubernetesClusterConfigPtrOutput) } +func (i *kubernetesClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*KubernetesClusterConfig] { + return pulumix.Output[*KubernetesClusterConfig]{ + OutputState: i.ToKubernetesClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for running the Dataproc cluster on Kubernetes. type KubernetesClusterConfigOutput struct{ *pulumi.OutputState } @@ -8595,6 +9688,12 @@ func (o KubernetesClusterConfigOutput) ToKubernetesClusterConfigPtrOutputWithCon }).(KubernetesClusterConfigPtrOutput) } +func (o KubernetesClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesClusterConfig] { + return pulumix.Output[KubernetesClusterConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for running the Dataproc cluster on GKE. func (o KubernetesClusterConfigOutput) GkeClusterConfig() GkeClusterConfigOutput { return o.ApplyT(func(v KubernetesClusterConfig) GkeClusterConfig { return v.GkeClusterConfig }).(GkeClusterConfigOutput) @@ -8624,6 +9723,12 @@ func (o KubernetesClusterConfigPtrOutput) ToKubernetesClusterConfigPtrOutputWith return o } +func (o KubernetesClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KubernetesClusterConfig] { + return pulumix.Output[*KubernetesClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o KubernetesClusterConfigPtrOutput) Elem() KubernetesClusterConfigOutput { return o.ApplyT(func(v *KubernetesClusterConfig) KubernetesClusterConfig { if v != nil { @@ -8689,6 +9794,12 @@ func (o KubernetesClusterConfigResponseOutput) ToKubernetesClusterConfigResponse return o } +func (o KubernetesClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesClusterConfigResponse] { + return pulumix.Output[KubernetesClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for running the Dataproc cluster on GKE. func (o KubernetesClusterConfigResponseOutput) GkeClusterConfig() GkeClusterConfigResponseOutput { return o.ApplyT(func(v KubernetesClusterConfigResponse) GkeClusterConfigResponse { return v.GkeClusterConfig }).(GkeClusterConfigResponseOutput) @@ -8745,6 +9856,12 @@ func (i KubernetesSoftwareConfigArgs) ToKubernetesSoftwareConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(KubernetesSoftwareConfigOutput) } +func (i KubernetesSoftwareConfigArgs) ToOutput(ctx context.Context) pulumix.Output[KubernetesSoftwareConfig] { + return pulumix.Output[KubernetesSoftwareConfig]{ + OutputState: i.ToKubernetesSoftwareConfigOutputWithContext(ctx).OutputState, + } +} + func (i KubernetesSoftwareConfigArgs) ToKubernetesSoftwareConfigPtrOutput() KubernetesSoftwareConfigPtrOutput { return i.ToKubernetesSoftwareConfigPtrOutputWithContext(context.Background()) } @@ -8786,6 +9903,12 @@ func (i *kubernetesSoftwareConfigPtrType) ToKubernetesSoftwareConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(KubernetesSoftwareConfigPtrOutput) } +func (i *kubernetesSoftwareConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*KubernetesSoftwareConfig] { + return pulumix.Output[*KubernetesSoftwareConfig]{ + OutputState: i.ToKubernetesSoftwareConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The software configuration for this Dataproc cluster running on Kubernetes. type KubernetesSoftwareConfigOutput struct{ *pulumi.OutputState } @@ -8811,6 +9934,12 @@ func (o KubernetesSoftwareConfigOutput) ToKubernetesSoftwareConfigPtrOutputWithC }).(KubernetesSoftwareConfigPtrOutput) } +func (o KubernetesSoftwareConfigOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesSoftwareConfig] { + return pulumix.Output[KubernetesSoftwareConfig]{ + OutputState: o.OutputState, + } +} + // The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified. func (o KubernetesSoftwareConfigOutput) ComponentVersion() pulumi.StringMapOutput { return o.ApplyT(func(v KubernetesSoftwareConfig) map[string]string { return v.ComponentVersion }).(pulumi.StringMapOutput) @@ -8835,6 +9964,12 @@ func (o KubernetesSoftwareConfigPtrOutput) ToKubernetesSoftwareConfigPtrOutputWi return o } +func (o KubernetesSoftwareConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KubernetesSoftwareConfig] { + return pulumix.Output[*KubernetesSoftwareConfig]{ + OutputState: o.OutputState, + } +} + func (o KubernetesSoftwareConfigPtrOutput) Elem() KubernetesSoftwareConfigOutput { return o.ApplyT(func(v *KubernetesSoftwareConfig) KubernetesSoftwareConfig { if v != nil { @@ -8888,6 +10023,12 @@ func (o KubernetesSoftwareConfigResponseOutput) ToKubernetesSoftwareConfigRespon return o } +func (o KubernetesSoftwareConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesSoftwareConfigResponse] { + return pulumix.Output[KubernetesSoftwareConfigResponse]{ + OutputState: o.OutputState, + } +} + // The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified. func (o KubernetesSoftwareConfigResponseOutput) ComponentVersion() pulumi.StringMapOutput { return o.ApplyT(func(v KubernetesSoftwareConfigResponse) map[string]string { return v.ComponentVersion }).(pulumi.StringMapOutput) @@ -8941,6 +10082,12 @@ func (i LifecycleConfigArgs) ToLifecycleConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(LifecycleConfigOutput) } +func (i LifecycleConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LifecycleConfig] { + return pulumix.Output[LifecycleConfig]{ + OutputState: i.ToLifecycleConfigOutputWithContext(ctx).OutputState, + } +} + func (i LifecycleConfigArgs) ToLifecycleConfigPtrOutput() LifecycleConfigPtrOutput { return i.ToLifecycleConfigPtrOutputWithContext(context.Background()) } @@ -8982,6 +10129,12 @@ func (i *lifecycleConfigPtrType) ToLifecycleConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(LifecycleConfigPtrOutput) } +func (i *lifecycleConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LifecycleConfig] { + return pulumix.Output[*LifecycleConfig]{ + OutputState: i.ToLifecycleConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the cluster auto-delete schedule configuration. type LifecycleConfigOutput struct{ *pulumi.OutputState } @@ -9007,6 +10160,12 @@ func (o LifecycleConfigOutput) ToLifecycleConfigPtrOutputWithContext(ctx context }).(LifecycleConfigPtrOutput) } +func (o LifecycleConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LifecycleConfig] { + return pulumix.Output[LifecycleConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)). func (o LifecycleConfigOutput) AutoDeleteTime() pulumi.StringPtrOutput { return o.ApplyT(func(v LifecycleConfig) *string { return v.AutoDeleteTime }).(pulumi.StringPtrOutput) @@ -9036,6 +10195,12 @@ func (o LifecycleConfigPtrOutput) ToLifecycleConfigPtrOutputWithContext(ctx cont return o } +func (o LifecycleConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LifecycleConfig] { + return pulumix.Output[*LifecycleConfig]{ + OutputState: o.OutputState, + } +} + func (o LifecycleConfigPtrOutput) Elem() LifecycleConfigOutput { return o.ApplyT(func(v *LifecycleConfig) LifecycleConfig { if v != nil { @@ -9103,6 +10268,12 @@ func (o LifecycleConfigResponseOutput) ToLifecycleConfigResponseOutputWithContex return o } +func (o LifecycleConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LifecycleConfigResponse] { + return pulumix.Output[LifecycleConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)). func (o LifecycleConfigResponseOutput) AutoDeleteTime() pulumi.StringOutput { return o.ApplyT(func(v LifecycleConfigResponse) string { return v.AutoDeleteTime }).(pulumi.StringOutput) @@ -9158,6 +10329,12 @@ func (i LoggingConfigArgs) ToLoggingConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigOutput) } +func (i LoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LoggingConfig] { + return pulumix.Output[LoggingConfig]{ + OutputState: i.ToLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i LoggingConfigArgs) ToLoggingConfigPtrOutput() LoggingConfigPtrOutput { return i.ToLoggingConfigPtrOutputWithContext(context.Background()) } @@ -9199,6 +10376,12 @@ func (i *loggingConfigPtrType) ToLoggingConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigPtrOutput) } +func (i *loggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfig] { + return pulumix.Output[*LoggingConfig]{ + OutputState: i.ToLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The runtime logging config of the job. type LoggingConfigOutput struct{ *pulumi.OutputState } @@ -9224,6 +10407,12 @@ func (o LoggingConfigOutput) ToLoggingConfigPtrOutputWithContext(ctx context.Con }).(LoggingConfigPtrOutput) } +func (o LoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfig] { + return pulumix.Output[LoggingConfig]{ + OutputState: o.OutputState, + } +} + // The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: - 'com.google = FATAL' - 'root = INFO' - 'org.apache = DEBUG' func (o LoggingConfigOutput) DriverLogLevels() pulumi.StringMapOutput { return o.ApplyT(func(v LoggingConfig) map[string]string { return v.DriverLogLevels }).(pulumi.StringMapOutput) @@ -9243,6 +10432,12 @@ func (o LoggingConfigPtrOutput) ToLoggingConfigPtrOutputWithContext(ctx context. return o } +func (o LoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfig] { + return pulumix.Output[*LoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigPtrOutput) Elem() LoggingConfigOutput { return o.ApplyT(func(v *LoggingConfig) LoggingConfig { if v != nil { @@ -9284,6 +10479,12 @@ func (o LoggingConfigResponseOutput) ToLoggingConfigResponseOutputWithContext(ct return o } +func (o LoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfigResponse] { + return pulumix.Output[LoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: - 'com.google = FATAL' - 'root = INFO' - 'org.apache = DEBUG' func (o LoggingConfigResponseOutput) DriverLogLevels() pulumi.StringMapOutput { return o.ApplyT(func(v LoggingConfigResponse) map[string]string { return v.DriverLogLevels }).(pulumi.StringMapOutput) @@ -9332,6 +10533,12 @@ func (i ManagedClusterArgs) ToManagedClusterOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ManagedClusterOutput) } +func (i ManagedClusterArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedCluster] { + return pulumix.Output[ManagedCluster]{ + OutputState: i.ToManagedClusterOutputWithContext(ctx).OutputState, + } +} + func (i ManagedClusterArgs) ToManagedClusterPtrOutput() ManagedClusterPtrOutput { return i.ToManagedClusterPtrOutputWithContext(context.Background()) } @@ -9373,6 +10580,12 @@ func (i *managedClusterPtrType) ToManagedClusterPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ManagedClusterPtrOutput) } +func (i *managedClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedCluster] { + return pulumix.Output[*ManagedCluster]{ + OutputState: i.ToManagedClusterPtrOutputWithContext(ctx).OutputState, + } +} + // Cluster that is managed by the workflow. type ManagedClusterOutput struct{ *pulumi.OutputState } @@ -9398,6 +10611,12 @@ func (o ManagedClusterOutput) ToManagedClusterPtrOutputWithContext(ctx context.C }).(ManagedClusterPtrOutput) } +func (o ManagedClusterOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedCluster] { + return pulumix.Output[ManagedCluster]{ + OutputState: o.OutputState, + } +} + // The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters. func (o ManagedClusterOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v ManagedCluster) string { return v.ClusterName }).(pulumi.StringOutput) @@ -9427,6 +10646,12 @@ func (o ManagedClusterPtrOutput) ToManagedClusterPtrOutputWithContext(ctx contex return o } +func (o ManagedClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedCluster] { + return pulumix.Output[*ManagedCluster]{ + OutputState: o.OutputState, + } +} + func (o ManagedClusterPtrOutput) Elem() ManagedClusterOutput { return o.ApplyT(func(v *ManagedCluster) ManagedCluster { if v != nil { @@ -9492,6 +10717,12 @@ func (o ManagedClusterResponseOutput) ToManagedClusterResponseOutputWithContext( return o } +func (o ManagedClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedClusterResponse] { + return pulumix.Output[ManagedClusterResponse]{ + OutputState: o.OutputState, + } +} + // The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters. func (o ManagedClusterResponseOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v ManagedClusterResponse) string { return v.ClusterName }).(pulumi.StringOutput) @@ -9530,6 +10761,12 @@ func (o ManagedGroupConfigResponseOutput) ToManagedGroupConfigResponseOutputWith return o } +func (o ManagedGroupConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedGroupConfigResponse] { + return pulumix.Output[ManagedGroupConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Instance Group Manager for this group. func (o ManagedGroupConfigResponseOutput) InstanceGroupManagerName() pulumi.StringOutput { return o.ApplyT(func(v ManagedGroupConfigResponse) string { return v.InstanceGroupManagerName }).(pulumi.StringOutput) @@ -9575,6 +10812,12 @@ func (i MetastoreConfigArgs) ToMetastoreConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(MetastoreConfigOutput) } +func (i MetastoreConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MetastoreConfig] { + return pulumix.Output[MetastoreConfig]{ + OutputState: i.ToMetastoreConfigOutputWithContext(ctx).OutputState, + } +} + func (i MetastoreConfigArgs) ToMetastoreConfigPtrOutput() MetastoreConfigPtrOutput { return i.ToMetastoreConfigPtrOutputWithContext(context.Background()) } @@ -9616,6 +10859,12 @@ func (i *metastoreConfigPtrType) ToMetastoreConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(MetastoreConfigPtrOutput) } +func (i *metastoreConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetastoreConfig] { + return pulumix.Output[*MetastoreConfig]{ + OutputState: i.ToMetastoreConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a Metastore configuration. type MetastoreConfigOutput struct{ *pulumi.OutputState } @@ -9641,6 +10890,12 @@ func (o MetastoreConfigOutput) ToMetastoreConfigPtrOutputWithContext(ctx context }).(MetastoreConfigPtrOutput) } +func (o MetastoreConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MetastoreConfig] { + return pulumix.Output[MetastoreConfig]{ + OutputState: o.OutputState, + } +} + // Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] func (o MetastoreConfigOutput) DataprocMetastoreService() pulumi.StringOutput { return o.ApplyT(func(v MetastoreConfig) string { return v.DataprocMetastoreService }).(pulumi.StringOutput) @@ -9660,6 +10915,12 @@ func (o MetastoreConfigPtrOutput) ToMetastoreConfigPtrOutputWithContext(ctx cont return o } +func (o MetastoreConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetastoreConfig] { + return pulumix.Output[*MetastoreConfig]{ + OutputState: o.OutputState, + } +} + func (o MetastoreConfigPtrOutput) Elem() MetastoreConfigOutput { return o.ApplyT(func(v *MetastoreConfig) MetastoreConfig { if v != nil { @@ -9701,6 +10962,12 @@ func (o MetastoreConfigResponseOutput) ToMetastoreConfigResponseOutputWithContex return o } +func (o MetastoreConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetastoreConfigResponse] { + return pulumix.Output[MetastoreConfigResponse]{ + OutputState: o.OutputState, + } +} + // Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] func (o MetastoreConfigResponseOutput) DataprocMetastoreService() pulumi.StringOutput { return o.ApplyT(func(v MetastoreConfigResponse) string { return v.DataprocMetastoreService }).(pulumi.StringOutput) @@ -9745,6 +11012,12 @@ func (i MetricArgs) ToMetricOutputWithContext(ctx context.Context) MetricOutput return pulumi.ToOutputWithContext(ctx, i).(MetricOutput) } +func (i MetricArgs) ToOutput(ctx context.Context) pulumix.Output[Metric] { + return pulumix.Output[Metric]{ + OutputState: i.ToMetricOutputWithContext(ctx).OutputState, + } +} + // MetricArrayInput is an input type that accepts MetricArray and MetricArrayOutput values. // You can construct a concrete instance of `MetricArrayInput` via: // @@ -9770,6 +11043,12 @@ func (i MetricArray) ToMetricArrayOutputWithContext(ctx context.Context) MetricA return pulumi.ToOutputWithContext(ctx, i).(MetricArrayOutput) } +func (i MetricArray) ToOutput(ctx context.Context) pulumix.Output[[]Metric] { + return pulumix.Output[[]Metric]{ + OutputState: i.ToMetricArrayOutputWithContext(ctx).OutputState, + } +} + // A Dataproc custom metric. type MetricOutput struct{ *pulumi.OutputState } @@ -9785,6 +11064,12 @@ func (o MetricOutput) ToMetricOutputWithContext(ctx context.Context) MetricOutpu return o } +func (o MetricOutput) ToOutput(ctx context.Context) pulumix.Output[Metric] { + return pulumix.Output[Metric]{ + OutputState: o.OutputState, + } +} + // Optional. Specify one or more Custom metrics (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) to collect for the metric course (for the SPARK metric source (any Spark metric (https://spark.apache.org/docs/latest/monitoring.html#metrics) can be specified).Provide metrics in the following format: METRIC_SOURCE: INSTANCE:GROUP:METRIC Use camelcase as appropriate.Examples: yarn:ResourceManager:QueueMetrics:AppsCompleted spark:driver:DAGScheduler:job.allJobs sparkHistoryServer:JVM:Memory:NonHeapMemoryUsage.committed hiveserver2:JVM:Memory:NonHeapMemoryUsage.used Notes: Only the specified overridden metrics are collected for the metric source. For example, if one or more spark:executive metrics are listed as metric overrides, other SPARK metrics are not collected. The collection of the metrics for other enabled custom metric sources is unaffected. For example, if both SPARK andd YARN metric sources are enabled, and overrides are provided for Spark metrics only, all YARN metrics are collected. func (o MetricOutput) MetricOverrides() pulumi.StringArrayOutput { return o.ApplyT(func(v Metric) []string { return v.MetricOverrides }).(pulumi.StringArrayOutput) @@ -9809,6 +11094,12 @@ func (o MetricArrayOutput) ToMetricArrayOutputWithContext(ctx context.Context) M return o } +func (o MetricArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Metric] { + return pulumix.Output[[]Metric]{ + OutputState: o.OutputState, + } +} + func (o MetricArrayOutput) Index(i pulumi.IntInput) MetricOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Metric { return vs[0].([]Metric)[vs[1].(int)] @@ -9838,6 +11129,12 @@ func (o MetricResponseOutput) ToMetricResponseOutputWithContext(ctx context.Cont return o } +func (o MetricResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetricResponse] { + return pulumix.Output[MetricResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specify one or more Custom metrics (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) to collect for the metric course (for the SPARK metric source (any Spark metric (https://spark.apache.org/docs/latest/monitoring.html#metrics) can be specified).Provide metrics in the following format: METRIC_SOURCE: INSTANCE:GROUP:METRIC Use camelcase as appropriate.Examples: yarn:ResourceManager:QueueMetrics:AppsCompleted spark:driver:DAGScheduler:job.allJobs sparkHistoryServer:JVM:Memory:NonHeapMemoryUsage.committed hiveserver2:JVM:Memory:NonHeapMemoryUsage.used Notes: Only the specified overridden metrics are collected for the metric source. For example, if one or more spark:executive metrics are listed as metric overrides, other SPARK metrics are not collected. The collection of the metrics for other enabled custom metric sources is unaffected. For example, if both SPARK andd YARN metric sources are enabled, and overrides are provided for Spark metrics only, all YARN metrics are collected. func (o MetricResponseOutput) MetricOverrides() pulumi.StringArrayOutput { return o.ApplyT(func(v MetricResponse) []string { return v.MetricOverrides }).(pulumi.StringArrayOutput) @@ -9862,6 +11159,12 @@ func (o MetricResponseArrayOutput) ToMetricResponseArrayOutputWithContext(ctx co return o } +func (o MetricResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetricResponse] { + return pulumix.Output[[]MetricResponse]{ + OutputState: o.OutputState, + } +} + func (o MetricResponseArrayOutput) Index(i pulumi.IntInput) MetricResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetricResponse { return vs[0].([]MetricResponse)[vs[1].(int)] @@ -9907,6 +11210,12 @@ func (i NamespacedGkeDeploymentTargetArgs) ToNamespacedGkeDeploymentTargetOutput return pulumi.ToOutputWithContext(ctx, i).(NamespacedGkeDeploymentTargetOutput) } +func (i NamespacedGkeDeploymentTargetArgs) ToOutput(ctx context.Context) pulumix.Output[NamespacedGkeDeploymentTarget] { + return pulumix.Output[NamespacedGkeDeploymentTarget]{ + OutputState: i.ToNamespacedGkeDeploymentTargetOutputWithContext(ctx).OutputState, + } +} + func (i NamespacedGkeDeploymentTargetArgs) ToNamespacedGkeDeploymentTargetPtrOutput() NamespacedGkeDeploymentTargetPtrOutput { return i.ToNamespacedGkeDeploymentTargetPtrOutputWithContext(context.Background()) } @@ -9948,6 +11257,12 @@ func (i *namespacedGkeDeploymentTargetPtrType) ToNamespacedGkeDeploymentTargetPt return pulumi.ToOutputWithContext(ctx, i).(NamespacedGkeDeploymentTargetPtrOutput) } +func (i *namespacedGkeDeploymentTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*NamespacedGkeDeploymentTarget] { + return pulumix.Output[*NamespacedGkeDeploymentTarget]{ + OutputState: i.ToNamespacedGkeDeploymentTargetPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. Used only for the deprecated beta. A full, namespace-isolated deployment target for an existing GKE cluster. type NamespacedGkeDeploymentTargetOutput struct{ *pulumi.OutputState } @@ -9973,6 +11288,12 @@ func (o NamespacedGkeDeploymentTargetOutput) ToNamespacedGkeDeploymentTargetPtrO }).(NamespacedGkeDeploymentTargetPtrOutput) } +func (o NamespacedGkeDeploymentTargetOutput) ToOutput(ctx context.Context) pulumix.Output[NamespacedGkeDeploymentTarget] { + return pulumix.Output[NamespacedGkeDeploymentTarget]{ + OutputState: o.OutputState, + } +} + // Optional. A namespace within the GKE cluster to deploy into. func (o NamespacedGkeDeploymentTargetOutput) ClusterNamespace() pulumi.StringPtrOutput { return o.ApplyT(func(v NamespacedGkeDeploymentTarget) *string { return v.ClusterNamespace }).(pulumi.StringPtrOutput) @@ -9997,6 +11318,12 @@ func (o NamespacedGkeDeploymentTargetPtrOutput) ToNamespacedGkeDeploymentTargetP return o } +func (o NamespacedGkeDeploymentTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespacedGkeDeploymentTarget] { + return pulumix.Output[*NamespacedGkeDeploymentTarget]{ + OutputState: o.OutputState, + } +} + func (o NamespacedGkeDeploymentTargetPtrOutput) Elem() NamespacedGkeDeploymentTargetOutput { return o.ApplyT(func(v *NamespacedGkeDeploymentTarget) NamespacedGkeDeploymentTarget { if v != nil { @@ -10050,6 +11377,12 @@ func (o NamespacedGkeDeploymentTargetResponseOutput) ToNamespacedGkeDeploymentTa return o } +func (o NamespacedGkeDeploymentTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NamespacedGkeDeploymentTargetResponse] { + return pulumix.Output[NamespacedGkeDeploymentTargetResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A namespace within the GKE cluster to deploy into. func (o NamespacedGkeDeploymentTargetResponseOutput) ClusterNamespace() pulumi.StringOutput { return o.ApplyT(func(v NamespacedGkeDeploymentTargetResponse) string { return v.ClusterNamespace }).(pulumi.StringOutput) @@ -10107,6 +11440,12 @@ func (i NodeGroupTypeArgs) ToNodeGroupTypeOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NodeGroupTypeOutput) } +func (i NodeGroupTypeArgs) ToOutput(ctx context.Context) pulumix.Output[NodeGroupType] { + return pulumix.Output[NodeGroupType]{ + OutputState: i.ToNodeGroupTypeOutputWithContext(ctx).OutputState, + } +} + // Dataproc Node Group. The Dataproc NodeGroup resource is not related to the Dataproc NodeGroupAffinity resource. type NodeGroupTypeOutput struct{ *pulumi.OutputState } @@ -10122,6 +11461,12 @@ func (o NodeGroupTypeOutput) ToNodeGroupTypeOutputWithContext(ctx context.Contex return o } +func (o NodeGroupTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupType] { + return pulumix.Output[NodeGroupType]{ + OutputState: o.OutputState, + } +} + // Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labelsn. func (o NodeGroupTypeOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v NodeGroupType) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -10177,6 +11522,12 @@ func (i NodeGroupAffinityArgs) ToNodeGroupAffinityOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(NodeGroupAffinityOutput) } +func (i NodeGroupAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAffinity] { + return pulumix.Output[NodeGroupAffinity]{ + OutputState: i.ToNodeGroupAffinityOutputWithContext(ctx).OutputState, + } +} + func (i NodeGroupAffinityArgs) ToNodeGroupAffinityPtrOutput() NodeGroupAffinityPtrOutput { return i.ToNodeGroupAffinityPtrOutputWithContext(context.Background()) } @@ -10218,6 +11569,12 @@ func (i *nodeGroupAffinityPtrType) ToNodeGroupAffinityPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NodeGroupAffinityPtrOutput) } +func (i *nodeGroupAffinityPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAffinity] { + return pulumix.Output[*NodeGroupAffinity]{ + OutputState: i.ToNodeGroupAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Node Group Affinity for clusters using sole-tenant node groups. The Dataproc NodeGroupAffinity resource is not related to the Dataproc NodeGroup resource. type NodeGroupAffinityOutput struct{ *pulumi.OutputState } @@ -10243,6 +11600,12 @@ func (o NodeGroupAffinityOutput) ToNodeGroupAffinityPtrOutputWithContext(ctx con }).(NodeGroupAffinityPtrOutput) } +func (o NodeGroupAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAffinity] { + return pulumix.Output[NodeGroupAffinity]{ + OutputState: o.OutputState, + } +} + // The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 node-group-1 func (o NodeGroupAffinityOutput) NodeGroupUri() pulumi.StringOutput { return o.ApplyT(func(v NodeGroupAffinity) string { return v.NodeGroupUri }).(pulumi.StringOutput) @@ -10262,6 +11625,12 @@ func (o NodeGroupAffinityPtrOutput) ToNodeGroupAffinityPtrOutputWithContext(ctx return o } +func (o NodeGroupAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAffinity] { + return pulumix.Output[*NodeGroupAffinity]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAffinityPtrOutput) Elem() NodeGroupAffinityOutput { return o.ApplyT(func(v *NodeGroupAffinity) NodeGroupAffinity { if v != nil { @@ -10303,6 +11672,12 @@ func (o NodeGroupAffinityResponseOutput) ToNodeGroupAffinityResponseOutputWithCo return o } +func (o NodeGroupAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAffinityResponse] { + return pulumix.Output[NodeGroupAffinityResponse]{ + OutputState: o.OutputState, + } +} + // The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 node-group-1 func (o NodeGroupAffinityResponseOutput) NodeGroupUri() pulumi.StringOutput { return o.ApplyT(func(v NodeGroupAffinityResponse) string { return v.NodeGroupUri }).(pulumi.StringOutput) @@ -10335,6 +11710,12 @@ func (o NodeGroupResponseOutput) ToNodeGroupResponseOutputWithContext(ctx contex return o } +func (o NodeGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupResponse] { + return pulumix.Output[NodeGroupResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labelsn. func (o NodeGroupResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v NodeGroupResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -10394,6 +11775,12 @@ func (i NodeInitializationActionArgs) ToNodeInitializationActionOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(NodeInitializationActionOutput) } +func (i NodeInitializationActionArgs) ToOutput(ctx context.Context) pulumix.Output[NodeInitializationAction] { + return pulumix.Output[NodeInitializationAction]{ + OutputState: i.ToNodeInitializationActionOutputWithContext(ctx).OutputState, + } +} + // NodeInitializationActionArrayInput is an input type that accepts NodeInitializationActionArray and NodeInitializationActionArrayOutput values. // You can construct a concrete instance of `NodeInitializationActionArrayInput` via: // @@ -10419,6 +11806,12 @@ func (i NodeInitializationActionArray) ToNodeInitializationActionArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(NodeInitializationActionArrayOutput) } +func (i NodeInitializationActionArray) ToOutput(ctx context.Context) pulumix.Output[[]NodeInitializationAction] { + return pulumix.Output[[]NodeInitializationAction]{ + OutputState: i.ToNodeInitializationActionArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies an executable to run on a fully configured node and a timeout period for executable completion. type NodeInitializationActionOutput struct{ *pulumi.OutputState } @@ -10434,6 +11827,12 @@ func (o NodeInitializationActionOutput) ToNodeInitializationActionOutputWithCont return o } +func (o NodeInitializationActionOutput) ToOutput(ctx context.Context) pulumix.Output[NodeInitializationAction] { + return pulumix.Output[NodeInitializationAction]{ + OutputState: o.OutputState, + } +} + // Cloud Storage URI of executable file. func (o NodeInitializationActionOutput) ExecutableFile() pulumi.StringOutput { return o.ApplyT(func(v NodeInitializationAction) string { return v.ExecutableFile }).(pulumi.StringOutput) @@ -10458,6 +11857,12 @@ func (o NodeInitializationActionArrayOutput) ToNodeInitializationActionArrayOutp return o } +func (o NodeInitializationActionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeInitializationAction] { + return pulumix.Output[[]NodeInitializationAction]{ + OutputState: o.OutputState, + } +} + func (o NodeInitializationActionArrayOutput) Index(i pulumi.IntInput) NodeInitializationActionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeInitializationAction { return vs[0].([]NodeInitializationAction)[vs[1].(int)] @@ -10487,6 +11892,12 @@ func (o NodeInitializationActionResponseOutput) ToNodeInitializationActionRespon return o } +func (o NodeInitializationActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeInitializationActionResponse] { + return pulumix.Output[NodeInitializationActionResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Storage URI of executable file. func (o NodeInitializationActionResponseOutput) ExecutableFile() pulumi.StringOutput { return o.ApplyT(func(v NodeInitializationActionResponse) string { return v.ExecutableFile }).(pulumi.StringOutput) @@ -10511,6 +11922,12 @@ func (o NodeInitializationActionResponseArrayOutput) ToNodeInitializationActionR return o } +func (o NodeInitializationActionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeInitializationActionResponse] { + return pulumix.Output[[]NodeInitializationActionResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeInitializationActionResponseArrayOutput) Index(i pulumi.IntInput) NodeInitializationActionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeInitializationActionResponse { return vs[0].([]NodeInitializationActionResponse)[vs[1].(int)] @@ -10600,6 +12017,12 @@ func (i OrderedJobArgs) ToOrderedJobOutputWithContext(ctx context.Context) Order return pulumi.ToOutputWithContext(ctx, i).(OrderedJobOutput) } +func (i OrderedJobArgs) ToOutput(ctx context.Context) pulumix.Output[OrderedJob] { + return pulumix.Output[OrderedJob]{ + OutputState: i.ToOrderedJobOutputWithContext(ctx).OutputState, + } +} + // OrderedJobArrayInput is an input type that accepts OrderedJobArray and OrderedJobArrayOutput values. // You can construct a concrete instance of `OrderedJobArrayInput` via: // @@ -10625,6 +12048,12 @@ func (i OrderedJobArray) ToOrderedJobArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OrderedJobArrayOutput) } +func (i OrderedJobArray) ToOutput(ctx context.Context) pulumix.Output[[]OrderedJob] { + return pulumix.Output[[]OrderedJob]{ + OutputState: i.ToOrderedJobArrayOutputWithContext(ctx).OutputState, + } +} + // A job executed by the workflow. type OrderedJobOutput struct{ *pulumi.OutputState } @@ -10640,6 +12069,12 @@ func (o OrderedJobOutput) ToOrderedJobOutputWithContext(ctx context.Context) Ord return o } +func (o OrderedJobOutput) ToOutput(ctx context.Context) pulumix.Output[OrderedJob] { + return pulumix.Output[OrderedJob]{ + OutputState: o.OutputState, + } +} + // Optional. Job is a Hadoop job. func (o OrderedJobOutput) HadoopJob() HadoopJobPtrOutput { return o.ApplyT(func(v OrderedJob) *HadoopJob { return v.HadoopJob }).(HadoopJobPtrOutput) @@ -10719,6 +12154,12 @@ func (o OrderedJobArrayOutput) ToOrderedJobArrayOutputWithContext(ctx context.Co return o } +func (o OrderedJobArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OrderedJob] { + return pulumix.Output[[]OrderedJob]{ + OutputState: o.OutputState, + } +} + func (o OrderedJobArrayOutput) Index(i pulumi.IntInput) OrderedJobOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OrderedJob { return vs[0].([]OrderedJob)[vs[1].(int)] @@ -10770,6 +12211,12 @@ func (o OrderedJobResponseOutput) ToOrderedJobResponseOutputWithContext(ctx cont return o } +func (o OrderedJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OrderedJobResponse] { + return pulumix.Output[OrderedJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Job is a Hadoop job. func (o OrderedJobResponseOutput) HadoopJob() HadoopJobResponseOutput { return o.ApplyT(func(v OrderedJobResponse) HadoopJobResponse { return v.HadoopJob }).(HadoopJobResponseOutput) @@ -10849,6 +12296,12 @@ func (o OrderedJobResponseArrayOutput) ToOrderedJobResponseArrayOutputWithContex return o } +func (o OrderedJobResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OrderedJobResponse] { + return pulumix.Output[[]OrderedJobResponse]{ + OutputState: o.OutputState, + } +} + func (o OrderedJobResponseArrayOutput) Index(i pulumi.IntInput) OrderedJobResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OrderedJobResponse { return vs[0].([]OrderedJobResponse)[vs[1].(int)] @@ -10894,6 +12347,12 @@ func (i ParameterValidationArgs) ToParameterValidationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ParameterValidationOutput) } +func (i ParameterValidationArgs) ToOutput(ctx context.Context) pulumix.Output[ParameterValidation] { + return pulumix.Output[ParameterValidation]{ + OutputState: i.ToParameterValidationOutputWithContext(ctx).OutputState, + } +} + func (i ParameterValidationArgs) ToParameterValidationPtrOutput() ParameterValidationPtrOutput { return i.ToParameterValidationPtrOutputWithContext(context.Background()) } @@ -10935,6 +12394,12 @@ func (i *parameterValidationPtrType) ToParameterValidationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ParameterValidationPtrOutput) } +func (i *parameterValidationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ParameterValidation] { + return pulumix.Output[*ParameterValidation]{ + OutputState: i.ToParameterValidationPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for parameter validation. type ParameterValidationOutput struct{ *pulumi.OutputState } @@ -10960,6 +12425,12 @@ func (o ParameterValidationOutput) ToParameterValidationPtrOutputWithContext(ctx }).(ParameterValidationPtrOutput) } +func (o ParameterValidationOutput) ToOutput(ctx context.Context) pulumix.Output[ParameterValidation] { + return pulumix.Output[ParameterValidation]{ + OutputState: o.OutputState, + } +} + // Validation based on regular expressions. func (o ParameterValidationOutput) Regex() RegexValidationPtrOutput { return o.ApplyT(func(v ParameterValidation) *RegexValidation { return v.Regex }).(RegexValidationPtrOutput) @@ -10984,6 +12455,12 @@ func (o ParameterValidationPtrOutput) ToParameterValidationPtrOutputWithContext( return o } +func (o ParameterValidationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParameterValidation] { + return pulumix.Output[*ParameterValidation]{ + OutputState: o.OutputState, + } +} + func (o ParameterValidationPtrOutput) Elem() ParameterValidationOutput { return o.ApplyT(func(v *ParameterValidation) ParameterValidation { if v != nil { @@ -11037,6 +12514,12 @@ func (o ParameterValidationResponseOutput) ToParameterValidationResponseOutputWi return o } +func (o ParameterValidationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ParameterValidationResponse] { + return pulumix.Output[ParameterValidationResponse]{ + OutputState: o.OutputState, + } +} + // Validation based on regular expressions. func (o ParameterValidationResponseOutput) Regex() RegexValidationResponseOutput { return o.ApplyT(func(v ParameterValidationResponse) RegexValidationResponse { return v.Regex }).(RegexValidationResponseOutput) @@ -11086,6 +12569,12 @@ func (i PeripheralsConfigArgs) ToPeripheralsConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PeripheralsConfigOutput) } +func (i PeripheralsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PeripheralsConfig] { + return pulumix.Output[PeripheralsConfig]{ + OutputState: i.ToPeripheralsConfigOutputWithContext(ctx).OutputState, + } +} + func (i PeripheralsConfigArgs) ToPeripheralsConfigPtrOutput() PeripheralsConfigPtrOutput { return i.ToPeripheralsConfigPtrOutputWithContext(context.Background()) } @@ -11127,6 +12616,12 @@ func (i *peripheralsConfigPtrType) ToPeripheralsConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PeripheralsConfigPtrOutput) } +func (i *peripheralsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PeripheralsConfig] { + return pulumix.Output[*PeripheralsConfig]{ + OutputState: i.ToPeripheralsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Auxiliary services configuration for a workload. type PeripheralsConfigOutput struct{ *pulumi.OutputState } @@ -11152,6 +12647,12 @@ func (o PeripheralsConfigOutput) ToPeripheralsConfigPtrOutputWithContext(ctx con }).(PeripheralsConfigPtrOutput) } +func (o PeripheralsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PeripheralsConfig] { + return pulumix.Output[PeripheralsConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id] func (o PeripheralsConfigOutput) MetastoreService() pulumi.StringPtrOutput { return o.ApplyT(func(v PeripheralsConfig) *string { return v.MetastoreService }).(pulumi.StringPtrOutput) @@ -11176,6 +12677,12 @@ func (o PeripheralsConfigPtrOutput) ToPeripheralsConfigPtrOutputWithContext(ctx return o } +func (o PeripheralsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PeripheralsConfig] { + return pulumix.Output[*PeripheralsConfig]{ + OutputState: o.OutputState, + } +} + func (o PeripheralsConfigPtrOutput) Elem() PeripheralsConfigOutput { return o.ApplyT(func(v *PeripheralsConfig) PeripheralsConfig { if v != nil { @@ -11229,6 +12736,12 @@ func (o PeripheralsConfigResponseOutput) ToPeripheralsConfigResponseOutputWithCo return o } +func (o PeripheralsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PeripheralsConfigResponse] { + return pulumix.Output[PeripheralsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id] func (o PeripheralsConfigResponseOutput) MetastoreService() pulumi.StringOutput { return o.ApplyT(func(v PeripheralsConfigResponse) string { return v.MetastoreService }).(pulumi.StringOutput) @@ -11298,6 +12811,12 @@ func (i PigJobArgs) ToPigJobOutputWithContext(ctx context.Context) PigJobOutput return pulumi.ToOutputWithContext(ctx, i).(PigJobOutput) } +func (i PigJobArgs) ToOutput(ctx context.Context) pulumix.Output[PigJob] { + return pulumix.Output[PigJob]{ + OutputState: i.ToPigJobOutputWithContext(ctx).OutputState, + } +} + func (i PigJobArgs) ToPigJobPtrOutput() PigJobPtrOutput { return i.ToPigJobPtrOutputWithContext(context.Background()) } @@ -11339,6 +12858,12 @@ func (i *pigJobPtrType) ToPigJobPtrOutputWithContext(ctx context.Context) PigJob return pulumi.ToOutputWithContext(ctx, i).(PigJobPtrOutput) } +func (i *pigJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*PigJob] { + return pulumix.Output[*PigJob]{ + OutputState: i.ToPigJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN. type PigJobOutput struct{ *pulumi.OutputState } @@ -11364,6 +12889,12 @@ func (o PigJobOutput) ToPigJobPtrOutputWithContext(ctx context.Context) PigJobPt }).(PigJobPtrOutput) } +func (o PigJobOutput) ToOutput(ctx context.Context) pulumix.Output[PigJob] { + return pulumix.Output[PigJob]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. func (o PigJobOutput) ContinueOnFailure() pulumi.BoolPtrOutput { return o.ApplyT(func(v PigJob) *bool { return v.ContinueOnFailure }).(pulumi.BoolPtrOutput) @@ -11413,6 +12944,12 @@ func (o PigJobPtrOutput) ToPigJobPtrOutputWithContext(ctx context.Context) PigJo return o } +func (o PigJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PigJob] { + return pulumix.Output[*PigJob]{ + OutputState: o.OutputState, + } +} + func (o PigJobPtrOutput) Elem() PigJobOutput { return o.ApplyT(func(v *PigJob) PigJob { if v != nil { @@ -11526,6 +13063,12 @@ func (o PigJobResponseOutput) ToPigJobResponseOutputWithContext(ctx context.Cont return o } +func (o PigJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PigJobResponse] { + return pulumix.Output[PigJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. func (o PigJobResponseOutput) ContinueOnFailure() pulumi.BoolOutput { return o.ApplyT(func(v PigJobResponse) bool { return v.ContinueOnFailure }).(pulumi.BoolOutput) @@ -11620,6 +13163,12 @@ func (i PrestoJobArgs) ToPrestoJobOutputWithContext(ctx context.Context) PrestoJ return pulumi.ToOutputWithContext(ctx, i).(PrestoJobOutput) } +func (i PrestoJobArgs) ToOutput(ctx context.Context) pulumix.Output[PrestoJob] { + return pulumix.Output[PrestoJob]{ + OutputState: i.ToPrestoJobOutputWithContext(ctx).OutputState, + } +} + func (i PrestoJobArgs) ToPrestoJobPtrOutput() PrestoJobPtrOutput { return i.ToPrestoJobPtrOutputWithContext(context.Background()) } @@ -11661,6 +13210,12 @@ func (i *prestoJobPtrType) ToPrestoJobPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PrestoJobPtrOutput) } +func (i *prestoJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrestoJob] { + return pulumix.Output[*PrestoJob]{ + OutputState: i.ToPrestoJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Presto (https://prestosql.io/) queries. IMPORTANT: The Dataproc Presto Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/presto) must be enabled when the cluster is created to submit a Presto job to the cluster. type PrestoJobOutput struct{ *pulumi.OutputState } @@ -11686,6 +13241,12 @@ func (o PrestoJobOutput) ToPrestoJobPtrOutputWithContext(ctx context.Context) Pr }).(PrestoJobPtrOutput) } +func (o PrestoJobOutput) ToOutput(ctx context.Context) pulumix.Output[PrestoJob] { + return pulumix.Output[PrestoJob]{ + OutputState: o.OutputState, + } +} + // Optional. Presto client tags to attach to this query func (o PrestoJobOutput) ClientTags() pulumi.StringArrayOutput { return o.ApplyT(func(v PrestoJob) []string { return v.ClientTags }).(pulumi.StringArrayOutput) @@ -11735,6 +13296,12 @@ func (o PrestoJobPtrOutput) ToPrestoJobPtrOutputWithContext(ctx context.Context) return o } +func (o PrestoJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrestoJob] { + return pulumix.Output[*PrestoJob]{ + OutputState: o.OutputState, + } +} + func (o PrestoJobPtrOutput) Elem() PrestoJobOutput { return o.ApplyT(func(v *PrestoJob) PrestoJob { if v != nil { @@ -11848,6 +13415,12 @@ func (o PrestoJobResponseOutput) ToPrestoJobResponseOutputWithContext(ctx contex return o } +func (o PrestoJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrestoJobResponse] { + return pulumix.Output[PrestoJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Presto client tags to attach to this query func (o PrestoJobResponseOutput) ClientTags() pulumi.StringArrayOutput { return o.ApplyT(func(v PrestoJobResponse) []string { return v.ClientTags }).(pulumi.StringArrayOutput) @@ -11938,6 +13511,12 @@ func (i PySparkBatchArgs) ToPySparkBatchOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PySparkBatchOutput) } +func (i PySparkBatchArgs) ToOutput(ctx context.Context) pulumix.Output[PySparkBatch] { + return pulumix.Output[PySparkBatch]{ + OutputState: i.ToPySparkBatchOutputWithContext(ctx).OutputState, + } +} + func (i PySparkBatchArgs) ToPySparkBatchPtrOutput() PySparkBatchPtrOutput { return i.ToPySparkBatchPtrOutputWithContext(context.Background()) } @@ -11979,6 +13558,12 @@ func (i *pySparkBatchPtrType) ToPySparkBatchPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PySparkBatchPtrOutput) } +func (i *pySparkBatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*PySparkBatch] { + return pulumix.Output[*PySparkBatch]{ + OutputState: i.ToPySparkBatchPtrOutputWithContext(ctx).OutputState, + } +} + // A configuration for running an Apache PySpark (https://spark.apache.org/docs/latest/api/python/getting_started/quickstart.html) batch workload. type PySparkBatchOutput struct{ *pulumi.OutputState } @@ -12004,6 +13589,12 @@ func (o PySparkBatchOutput) ToPySparkBatchPtrOutputWithContext(ctx context.Conte }).(PySparkBatchPtrOutput) } +func (o PySparkBatchOutput) ToOutput(ctx context.Context) pulumix.Output[PySparkBatch] { + return pulumix.Output[PySparkBatch]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o PySparkBatchOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v PySparkBatch) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -12048,6 +13639,12 @@ func (o PySparkBatchPtrOutput) ToPySparkBatchPtrOutputWithContext(ctx context.Co return o } +func (o PySparkBatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PySparkBatch] { + return pulumix.Output[*PySparkBatch]{ + OutputState: o.OutputState, + } +} + func (o PySparkBatchPtrOutput) Elem() PySparkBatchOutput { return o.ApplyT(func(v *PySparkBatch) PySparkBatch { if v != nil { @@ -12149,6 +13746,12 @@ func (o PySparkBatchResponseOutput) ToPySparkBatchResponseOutputWithContext(ctx return o } +func (o PySparkBatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PySparkBatchResponse] { + return pulumix.Output[PySparkBatchResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o PySparkBatchResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v PySparkBatchResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -12242,6 +13845,12 @@ func (i PySparkJobArgs) ToPySparkJobOutputWithContext(ctx context.Context) PySpa return pulumi.ToOutputWithContext(ctx, i).(PySparkJobOutput) } +func (i PySparkJobArgs) ToOutput(ctx context.Context) pulumix.Output[PySparkJob] { + return pulumix.Output[PySparkJob]{ + OutputState: i.ToPySparkJobOutputWithContext(ctx).OutputState, + } +} + func (i PySparkJobArgs) ToPySparkJobPtrOutput() PySparkJobPtrOutput { return i.ToPySparkJobPtrOutputWithContext(context.Background()) } @@ -12283,6 +13892,12 @@ func (i *pySparkJobPtrType) ToPySparkJobPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PySparkJobPtrOutput) } +func (i *pySparkJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*PySparkJob] { + return pulumix.Output[*PySparkJob]{ + OutputState: i.ToPySparkJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN. type PySparkJobOutput struct{ *pulumi.OutputState } @@ -12308,6 +13923,12 @@ func (o PySparkJobOutput) ToPySparkJobPtrOutputWithContext(ctx context.Context) }).(PySparkJobPtrOutput) } +func (o PySparkJobOutput) ToOutput(ctx context.Context) pulumix.Output[PySparkJob] { + return pulumix.Output[PySparkJob]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o PySparkJobOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v PySparkJob) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -12362,6 +13983,12 @@ func (o PySparkJobPtrOutput) ToPySparkJobPtrOutputWithContext(ctx context.Contex return o } +func (o PySparkJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PySparkJob] { + return pulumix.Output[*PySparkJob]{ + OutputState: o.OutputState, + } +} + func (o PySparkJobPtrOutput) Elem() PySparkJobOutput { return o.ApplyT(func(v *PySparkJob) PySparkJob { if v != nil { @@ -12487,6 +14114,12 @@ func (o PySparkJobResponseOutput) ToPySparkJobResponseOutputWithContext(ctx cont return o } +func (o PySparkJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PySparkJobResponse] { + return pulumix.Output[PySparkJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o PySparkJobResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v PySparkJobResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -12562,6 +14195,12 @@ func (i QueryListArgs) ToQueryListOutputWithContext(ctx context.Context) QueryLi return pulumi.ToOutputWithContext(ctx, i).(QueryListOutput) } +func (i QueryListArgs) ToOutput(ctx context.Context) pulumix.Output[QueryList] { + return pulumix.Output[QueryList]{ + OutputState: i.ToQueryListOutputWithContext(ctx).OutputState, + } +} + func (i QueryListArgs) ToQueryListPtrOutput() QueryListPtrOutput { return i.ToQueryListPtrOutputWithContext(context.Background()) } @@ -12603,6 +14242,12 @@ func (i *queryListPtrType) ToQueryListPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueryListPtrOutput) } +func (i *queryListPtrType) ToOutput(ctx context.Context) pulumix.Output[*QueryList] { + return pulumix.Output[*QueryList]{ + OutputState: i.ToQueryListPtrOutputWithContext(ctx).OutputState, + } +} + // A list of queries to run on a cluster. type QueryListOutput struct{ *pulumi.OutputState } @@ -12628,6 +14273,12 @@ func (o QueryListOutput) ToQueryListPtrOutputWithContext(ctx context.Context) Qu }).(QueryListPtrOutput) } +func (o QueryListOutput) ToOutput(ctx context.Context) pulumix.Output[QueryList] { + return pulumix.Output[QueryList]{ + OutputState: o.OutputState, + } +} + // The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: "hiveJob": { "queryList": { "queries": [ "query1", "query2", "query3;query4", ] } } func (o QueryListOutput) Queries() pulumi.StringArrayOutput { return o.ApplyT(func(v QueryList) []string { return v.Queries }).(pulumi.StringArrayOutput) @@ -12647,6 +14298,12 @@ func (o QueryListPtrOutput) ToQueryListPtrOutputWithContext(ctx context.Context) return o } +func (o QueryListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueryList] { + return pulumix.Output[*QueryList]{ + OutputState: o.OutputState, + } +} + func (o QueryListPtrOutput) Elem() QueryListOutput { return o.ApplyT(func(v *QueryList) QueryList { if v != nil { @@ -12688,6 +14345,12 @@ func (o QueryListResponseOutput) ToQueryListResponseOutputWithContext(ctx contex return o } +func (o QueryListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryListResponse] { + return pulumix.Output[QueryListResponse]{ + OutputState: o.OutputState, + } +} + // The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: "hiveJob": { "queryList": { "queries": [ "query1", "query2", "query3;query4", ] } } func (o QueryListResponseOutput) Queries() pulumi.StringArrayOutput { return o.ApplyT(func(v QueryListResponse) []string { return v.Queries }).(pulumi.StringArrayOutput) @@ -12728,6 +14391,12 @@ func (i RegexValidationArgs) ToRegexValidationOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(RegexValidationOutput) } +func (i RegexValidationArgs) ToOutput(ctx context.Context) pulumix.Output[RegexValidation] { + return pulumix.Output[RegexValidation]{ + OutputState: i.ToRegexValidationOutputWithContext(ctx).OutputState, + } +} + func (i RegexValidationArgs) ToRegexValidationPtrOutput() RegexValidationPtrOutput { return i.ToRegexValidationPtrOutputWithContext(context.Background()) } @@ -12769,6 +14438,12 @@ func (i *regexValidationPtrType) ToRegexValidationPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegexValidationPtrOutput) } +func (i *regexValidationPtrType) ToOutput(ctx context.Context) pulumix.Output[*RegexValidation] { + return pulumix.Output[*RegexValidation]{ + OutputState: i.ToRegexValidationPtrOutputWithContext(ctx).OutputState, + } +} + // Validation based on regular expressions. type RegexValidationOutput struct{ *pulumi.OutputState } @@ -12794,6 +14469,12 @@ func (o RegexValidationOutput) ToRegexValidationPtrOutputWithContext(ctx context }).(RegexValidationPtrOutput) } +func (o RegexValidationOutput) ToOutput(ctx context.Context) pulumix.Output[RegexValidation] { + return pulumix.Output[RegexValidation]{ + OutputState: o.OutputState, + } +} + // RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient). func (o RegexValidationOutput) Regexes() pulumi.StringArrayOutput { return o.ApplyT(func(v RegexValidation) []string { return v.Regexes }).(pulumi.StringArrayOutput) @@ -12813,6 +14494,12 @@ func (o RegexValidationPtrOutput) ToRegexValidationPtrOutputWithContext(ctx cont return o } +func (o RegexValidationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegexValidation] { + return pulumix.Output[*RegexValidation]{ + OutputState: o.OutputState, + } +} + func (o RegexValidationPtrOutput) Elem() RegexValidationOutput { return o.ApplyT(func(v *RegexValidation) RegexValidation { if v != nil { @@ -12854,6 +14541,12 @@ func (o RegexValidationResponseOutput) ToRegexValidationResponseOutputWithContex return o } +func (o RegexValidationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegexValidationResponse] { + return pulumix.Output[RegexValidationResponse]{ + OutputState: o.OutputState, + } +} + // RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient). func (o RegexValidationResponseOutput) Regexes() pulumi.StringArrayOutput { return o.ApplyT(func(v RegexValidationResponse) []string { return v.Regexes }).(pulumi.StringArrayOutput) @@ -12902,6 +14595,12 @@ func (i ReservationAffinityArgs) ToReservationAffinityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityOutput) } +func (i ReservationAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: i.ToReservationAffinityOutputWithContext(ctx).OutputState, + } +} + func (i ReservationAffinityArgs) ToReservationAffinityPtrOutput() ReservationAffinityPtrOutput { return i.ToReservationAffinityPtrOutputWithContext(context.Background()) } @@ -12943,6 +14642,12 @@ func (i *reservationAffinityPtrType) ToReservationAffinityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityPtrOutput) } +func (i *reservationAffinityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: i.ToReservationAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Reservation Affinity for consuming Zonal reservation. type ReservationAffinityOutput struct{ *pulumi.OutputState } @@ -12968,6 +14673,12 @@ func (o ReservationAffinityOutput) ToReservationAffinityPtrOutputWithContext(ctx }).(ReservationAffinityPtrOutput) } +func (o ReservationAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: o.OutputState, + } +} + // Optional. Type of reservation to consume func (o ReservationAffinityOutput) ConsumeReservationType() ReservationAffinityConsumeReservationTypePtrOutput { return o.ApplyT(func(v ReservationAffinity) *ReservationAffinityConsumeReservationType { @@ -12999,6 +14710,12 @@ func (o ReservationAffinityPtrOutput) ToReservationAffinityPtrOutputWithContext( return o } +func (o ReservationAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityPtrOutput) Elem() ReservationAffinityOutput { return o.ApplyT(func(v *ReservationAffinity) ReservationAffinity { if v != nil { @@ -13064,6 +14781,12 @@ func (o ReservationAffinityResponseOutput) ToReservationAffinityResponseOutputWi return o } +func (o ReservationAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityResponse] { + return pulumix.Output[ReservationAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Type of reservation to consume func (o ReservationAffinityResponseOutput) ConsumeReservationType() pulumi.StringOutput { return o.ApplyT(func(v ReservationAffinityResponse) string { return v.ConsumeReservationType }).(pulumi.StringOutput) @@ -13122,6 +14845,12 @@ func (i RuntimeConfigArgs) ToRuntimeConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RuntimeConfigOutput) } +func (i RuntimeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RuntimeConfig] { + return pulumix.Output[RuntimeConfig]{ + OutputState: i.ToRuntimeConfigOutputWithContext(ctx).OutputState, + } +} + func (i RuntimeConfigArgs) ToRuntimeConfigPtrOutput() RuntimeConfigPtrOutput { return i.ToRuntimeConfigPtrOutputWithContext(context.Background()) } @@ -13163,6 +14892,12 @@ func (i *runtimeConfigPtrType) ToRuntimeConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(RuntimeConfigPtrOutput) } +func (i *runtimeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RuntimeConfig] { + return pulumix.Output[*RuntimeConfig]{ + OutputState: i.ToRuntimeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Runtime configuration for a workload. type RuntimeConfigOutput struct{ *pulumi.OutputState } @@ -13188,6 +14923,12 @@ func (o RuntimeConfigOutput) ToRuntimeConfigPtrOutputWithContext(ctx context.Con }).(RuntimeConfigPtrOutput) } +func (o RuntimeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeConfig] { + return pulumix.Output[RuntimeConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used. func (o RuntimeConfigOutput) ContainerImage() pulumi.StringPtrOutput { return o.ApplyT(func(v RuntimeConfig) *string { return v.ContainerImage }).(pulumi.StringPtrOutput) @@ -13217,6 +14958,12 @@ func (o RuntimeConfigPtrOutput) ToRuntimeConfigPtrOutputWithContext(ctx context. return o } +func (o RuntimeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeConfig] { + return pulumix.Output[*RuntimeConfig]{ + OutputState: o.OutputState, + } +} + func (o RuntimeConfigPtrOutput) Elem() RuntimeConfigOutput { return o.ApplyT(func(v *RuntimeConfig) RuntimeConfig { if v != nil { @@ -13282,6 +15029,12 @@ func (o RuntimeConfigResponseOutput) ToRuntimeConfigResponseOutputWithContext(ct return o } +func (o RuntimeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeConfigResponse] { + return pulumix.Output[RuntimeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used. func (o RuntimeConfigResponseOutput) ContainerImage() pulumi.StringOutput { return o.ApplyT(func(v RuntimeConfigResponse) string { return v.ContainerImage }).(pulumi.StringOutput) @@ -13326,6 +15079,12 @@ func (o RuntimeInfoResponseOutput) ToRuntimeInfoResponseOutputWithContext(ctx co return o } +func (o RuntimeInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeInfoResponse] { + return pulumix.Output[RuntimeInfoResponse]{ + OutputState: o.OutputState, + } +} + // Approximate workload resource usage calculated after workload finishes (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). func (o RuntimeInfoResponseOutput) ApproximateUsage() UsageMetricsResponseOutput { return o.ApplyT(func(v RuntimeInfoResponse) UsageMetricsResponse { return v.ApproximateUsage }).(UsageMetricsResponseOutput) @@ -13390,6 +15149,12 @@ func (i SecurityConfigArgs) ToSecurityConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecurityConfigOutput) } +func (i SecurityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityConfig] { + return pulumix.Output[SecurityConfig]{ + OutputState: i.ToSecurityConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityConfigArgs) ToSecurityConfigPtrOutput() SecurityConfigPtrOutput { return i.ToSecurityConfigPtrOutputWithContext(context.Background()) } @@ -13431,6 +15196,12 @@ func (i *securityConfigPtrType) ToSecurityConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SecurityConfigPtrOutput) } +func (i *securityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityConfig] { + return pulumix.Output[*SecurityConfig]{ + OutputState: i.ToSecurityConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Security related configuration, including encryption, Kerberos, etc. type SecurityConfigOutput struct{ *pulumi.OutputState } @@ -13456,6 +15227,12 @@ func (o SecurityConfigOutput) ToSecurityConfigPtrOutputWithContext(ctx context.C }).(SecurityConfigPtrOutput) } +func (o SecurityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityConfig] { + return pulumix.Output[SecurityConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. func (o SecurityConfigOutput) IdentityConfig() IdentityConfigPtrOutput { return o.ApplyT(func(v SecurityConfig) *IdentityConfig { return v.IdentityConfig }).(IdentityConfigPtrOutput) @@ -13480,6 +15257,12 @@ func (o SecurityConfigPtrOutput) ToSecurityConfigPtrOutputWithContext(ctx contex return o } +func (o SecurityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityConfig] { + return pulumix.Output[*SecurityConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityConfigPtrOutput) Elem() SecurityConfigOutput { return o.ApplyT(func(v *SecurityConfig) SecurityConfig { if v != nil { @@ -13533,6 +15316,12 @@ func (o SecurityConfigResponseOutput) ToSecurityConfigResponseOutputWithContext( return o } +func (o SecurityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityConfigResponse] { + return pulumix.Output[SecurityConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Identity related configuration, including service account based secure multi-tenancy user mappings. func (o SecurityConfigResponseOutput) IdentityConfig() IdentityConfigResponseOutput { return o.ApplyT(func(v SecurityConfigResponse) IdentityConfigResponse { return v.IdentityConfig }).(IdentityConfigResponseOutput) @@ -13586,6 +15375,12 @@ func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigOutput) } +func (i ShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigPtrOutput() ShieldedInstanceConfigPtrOutput { return i.ToShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -13627,6 +15422,12 @@ func (i *shieldedInstanceConfigPtrType) ToShieldedInstanceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigPtrOutput) } +func (i *shieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Shielded Instance Config for clusters using Compute Engine Shielded VMs (https://cloud.google.com/security/shielded-cloud/shielded-vm). type ShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -13652,6 +15453,12 @@ func (o ShieldedInstanceConfigOutput) ToShieldedInstanceConfigPtrOutputWithConte }).(ShieldedInstanceConfigPtrOutput) } +func (o ShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Defines whether instances have integrity monitoring enabled. func (o ShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -13681,6 +15488,12 @@ func (o ShieldedInstanceConfigPtrOutput) ToShieldedInstanceConfigPtrOutputWithCo return o } +func (o ShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceConfigPtrOutput) Elem() ShieldedInstanceConfigOutput { return o.ApplyT(func(v *ShieldedInstanceConfig) ShieldedInstanceConfig { if v != nil { @@ -13746,6 +15559,12 @@ func (o ShieldedInstanceConfigResponseOutput) ToShieldedInstanceConfigResponseOu return o } +func (o ShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfigResponse] { + return pulumix.Output[ShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Defines whether instances have integrity monitoring enabled. func (o ShieldedInstanceConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -13804,6 +15623,12 @@ func (i SoftwareConfigArgs) ToSoftwareConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SoftwareConfigOutput) } +func (i SoftwareConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfig] { + return pulumix.Output[SoftwareConfig]{ + OutputState: i.ToSoftwareConfigOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareConfigArgs) ToSoftwareConfigPtrOutput() SoftwareConfigPtrOutput { return i.ToSoftwareConfigPtrOutputWithContext(context.Background()) } @@ -13845,6 +15670,12 @@ func (i *softwareConfigPtrType) ToSoftwareConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SoftwareConfigPtrOutput) } +func (i *softwareConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfig] { + return pulumix.Output[*SoftwareConfig]{ + OutputState: i.ToSoftwareConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the selection and config of software inside the cluster. type SoftwareConfigOutput struct{ *pulumi.OutputState } @@ -13870,6 +15701,12 @@ func (o SoftwareConfigOutput) ToSoftwareConfigPtrOutputWithContext(ctx context.C }).(SoftwareConfigPtrOutput) } +func (o SoftwareConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfig] { + return pulumix.Output[SoftwareConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions), such as "1.2" (including a subminor version, such as "1.2.29"), or the "preview" version (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version. func (o SoftwareConfigOutput) ImageVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v SoftwareConfig) *string { return v.ImageVersion }).(pulumi.StringPtrOutput) @@ -13899,6 +15736,12 @@ func (o SoftwareConfigPtrOutput) ToSoftwareConfigPtrOutputWithContext(ctx contex return o } +func (o SoftwareConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfig] { + return pulumix.Output[*SoftwareConfig]{ + OutputState: o.OutputState, + } +} + func (o SoftwareConfigPtrOutput) Elem() SoftwareConfigOutput { return o.ApplyT(func(v *SoftwareConfig) SoftwareConfig { if v != nil { @@ -13964,6 +15807,12 @@ func (o SoftwareConfigResponseOutput) ToSoftwareConfigResponseOutputWithContext( return o } +func (o SoftwareConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfigResponse] { + return pulumix.Output[SoftwareConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions), such as "1.2" (including a subminor version, such as "1.2.29"), or the "preview" version (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version. func (o SoftwareConfigResponseOutput) ImageVersion() pulumi.StringOutput { return o.ApplyT(func(v SoftwareConfigResponse) string { return v.ImageVersion }).(pulumi.StringOutput) @@ -14034,6 +15883,12 @@ func (i SparkBatchArgs) ToSparkBatchOutputWithContext(ctx context.Context) Spark return pulumi.ToOutputWithContext(ctx, i).(SparkBatchOutput) } +func (i SparkBatchArgs) ToOutput(ctx context.Context) pulumix.Output[SparkBatch] { + return pulumix.Output[SparkBatch]{ + OutputState: i.ToSparkBatchOutputWithContext(ctx).OutputState, + } +} + func (i SparkBatchArgs) ToSparkBatchPtrOutput() SparkBatchPtrOutput { return i.ToSparkBatchPtrOutputWithContext(context.Background()) } @@ -14075,6 +15930,12 @@ func (i *sparkBatchPtrType) ToSparkBatchPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SparkBatchPtrOutput) } +func (i *sparkBatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkBatch] { + return pulumix.Output[*SparkBatch]{ + OutputState: i.ToSparkBatchPtrOutputWithContext(ctx).OutputState, + } +} + // A configuration for running an Apache Spark (https://spark.apache.org/) batch workload. type SparkBatchOutput struct{ *pulumi.OutputState } @@ -14100,6 +15961,12 @@ func (o SparkBatchOutput) ToSparkBatchPtrOutputWithContext(ctx context.Context) }).(SparkBatchPtrOutput) } +func (o SparkBatchOutput) ToOutput(ctx context.Context) pulumix.Output[SparkBatch] { + return pulumix.Output[SparkBatch]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkBatchOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkBatch) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -14144,6 +16011,12 @@ func (o SparkBatchPtrOutput) ToSparkBatchPtrOutputWithContext(ctx context.Contex return o } +func (o SparkBatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkBatch] { + return pulumix.Output[*SparkBatch]{ + OutputState: o.OutputState, + } +} + func (o SparkBatchPtrOutput) Elem() SparkBatchOutput { return o.ApplyT(func(v *SparkBatch) SparkBatch { if v != nil { @@ -14245,6 +16118,12 @@ func (o SparkBatchResponseOutput) ToSparkBatchResponseOutputWithContext(ctx cont return o } +func (o SparkBatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkBatchResponse] { + return pulumix.Output[SparkBatchResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkBatchResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkBatchResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -14310,6 +16189,12 @@ func (i SparkHistoryServerConfigArgs) ToSparkHistoryServerConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SparkHistoryServerConfigOutput) } +func (i SparkHistoryServerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SparkHistoryServerConfig] { + return pulumix.Output[SparkHistoryServerConfig]{ + OutputState: i.ToSparkHistoryServerConfigOutputWithContext(ctx).OutputState, + } +} + func (i SparkHistoryServerConfigArgs) ToSparkHistoryServerConfigPtrOutput() SparkHistoryServerConfigPtrOutput { return i.ToSparkHistoryServerConfigPtrOutputWithContext(context.Background()) } @@ -14351,6 +16236,12 @@ func (i *sparkHistoryServerConfigPtrType) ToSparkHistoryServerConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(SparkHistoryServerConfigPtrOutput) } +func (i *sparkHistoryServerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkHistoryServerConfig] { + return pulumix.Output[*SparkHistoryServerConfig]{ + OutputState: i.ToSparkHistoryServerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Spark History Server configuration for the workload. type SparkHistoryServerConfigOutput struct{ *pulumi.OutputState } @@ -14376,6 +16267,12 @@ func (o SparkHistoryServerConfigOutput) ToSparkHistoryServerConfigPtrOutputWithC }).(SparkHistoryServerConfigPtrOutput) } +func (o SparkHistoryServerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SparkHistoryServerConfig] { + return pulumix.Output[SparkHistoryServerConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region]/clusters/[cluster_name] func (o SparkHistoryServerConfigOutput) DataprocCluster() pulumi.StringPtrOutput { return o.ApplyT(func(v SparkHistoryServerConfig) *string { return v.DataprocCluster }).(pulumi.StringPtrOutput) @@ -14395,6 +16292,12 @@ func (o SparkHistoryServerConfigPtrOutput) ToSparkHistoryServerConfigPtrOutputWi return o } +func (o SparkHistoryServerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkHistoryServerConfig] { + return pulumix.Output[*SparkHistoryServerConfig]{ + OutputState: o.OutputState, + } +} + func (o SparkHistoryServerConfigPtrOutput) Elem() SparkHistoryServerConfigOutput { return o.ApplyT(func(v *SparkHistoryServerConfig) SparkHistoryServerConfig { if v != nil { @@ -14436,6 +16339,12 @@ func (o SparkHistoryServerConfigResponseOutput) ToSparkHistoryServerConfigRespon return o } +func (o SparkHistoryServerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkHistoryServerConfigResponse] { + return pulumix.Output[SparkHistoryServerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region]/clusters/[cluster_name] func (o SparkHistoryServerConfigResponseOutput) DataprocCluster() pulumi.StringOutput { return o.ApplyT(func(v SparkHistoryServerConfigResponse) string { return v.DataprocCluster }).(pulumi.StringOutput) @@ -14504,6 +16413,12 @@ func (i SparkJobArgs) ToSparkJobOutputWithContext(ctx context.Context) SparkJobO return pulumi.ToOutputWithContext(ctx, i).(SparkJobOutput) } +func (i SparkJobArgs) ToOutput(ctx context.Context) pulumix.Output[SparkJob] { + return pulumix.Output[SparkJob]{ + OutputState: i.ToSparkJobOutputWithContext(ctx).OutputState, + } +} + func (i SparkJobArgs) ToSparkJobPtrOutput() SparkJobPtrOutput { return i.ToSparkJobPtrOutputWithContext(context.Background()) } @@ -14545,6 +16460,12 @@ func (i *sparkJobPtrType) ToSparkJobPtrOutputWithContext(ctx context.Context) Sp return pulumi.ToOutputWithContext(ctx, i).(SparkJobPtrOutput) } +func (i *sparkJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkJob] { + return pulumix.Output[*SparkJob]{ + OutputState: i.ToSparkJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache Spark (https://spark.apache.org/) applications on YARN. type SparkJobOutput struct{ *pulumi.OutputState } @@ -14570,6 +16491,12 @@ func (o SparkJobOutput) ToSparkJobPtrOutputWithContext(ctx context.Context) Spar }).(SparkJobPtrOutput) } +func (o SparkJobOutput) ToOutput(ctx context.Context) pulumix.Output[SparkJob] { + return pulumix.Output[SparkJob]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkJobOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkJob) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -14624,6 +16551,12 @@ func (o SparkJobPtrOutput) ToSparkJobPtrOutputWithContext(ctx context.Context) S return o } +func (o SparkJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkJob] { + return pulumix.Output[*SparkJob]{ + OutputState: o.OutputState, + } +} + func (o SparkJobPtrOutput) Elem() SparkJobOutput { return o.ApplyT(func(v *SparkJob) SparkJob { if v != nil { @@ -14749,6 +16682,12 @@ func (o SparkJobResponseOutput) ToSparkJobResponseOutputWithContext(ctx context. return o } +func (o SparkJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkJobResponse] { + return pulumix.Output[SparkJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkJobResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkJobResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -14836,6 +16775,12 @@ func (i SparkRBatchArgs) ToSparkRBatchOutputWithContext(ctx context.Context) Spa return pulumi.ToOutputWithContext(ctx, i).(SparkRBatchOutput) } +func (i SparkRBatchArgs) ToOutput(ctx context.Context) pulumix.Output[SparkRBatch] { + return pulumix.Output[SparkRBatch]{ + OutputState: i.ToSparkRBatchOutputWithContext(ctx).OutputState, + } +} + func (i SparkRBatchArgs) ToSparkRBatchPtrOutput() SparkRBatchPtrOutput { return i.ToSparkRBatchPtrOutputWithContext(context.Background()) } @@ -14877,6 +16822,12 @@ func (i *sparkRBatchPtrType) ToSparkRBatchPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SparkRBatchPtrOutput) } +func (i *sparkRBatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkRBatch] { + return pulumix.Output[*SparkRBatch]{ + OutputState: i.ToSparkRBatchPtrOutputWithContext(ctx).OutputState, + } +} + // A configuration for running an Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) batch workload. type SparkRBatchOutput struct{ *pulumi.OutputState } @@ -14902,6 +16853,12 @@ func (o SparkRBatchOutput) ToSparkRBatchPtrOutputWithContext(ctx context.Context }).(SparkRBatchPtrOutput) } +func (o SparkRBatchOutput) ToOutput(ctx context.Context) pulumix.Output[SparkRBatch] { + return pulumix.Output[SparkRBatch]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkRBatchOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkRBatch) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -14936,6 +16893,12 @@ func (o SparkRBatchPtrOutput) ToSparkRBatchPtrOutputWithContext(ctx context.Cont return o } +func (o SparkRBatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkRBatch] { + return pulumix.Output[*SparkRBatch]{ + OutputState: o.OutputState, + } +} + func (o SparkRBatchPtrOutput) Elem() SparkRBatchOutput { return o.ApplyT(func(v *SparkRBatch) SparkRBatch { if v != nil { @@ -15013,6 +16976,12 @@ func (o SparkRBatchResponseOutput) ToSparkRBatchResponseOutputWithContext(ctx co return o } +func (o SparkRBatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkRBatchResponse] { + return pulumix.Output[SparkRBatchResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkRBatchResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkRBatchResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -15088,6 +17057,12 @@ func (i SparkRJobArgs) ToSparkRJobOutputWithContext(ctx context.Context) SparkRJ return pulumi.ToOutputWithContext(ctx, i).(SparkRJobOutput) } +func (i SparkRJobArgs) ToOutput(ctx context.Context) pulumix.Output[SparkRJob] { + return pulumix.Output[SparkRJob]{ + OutputState: i.ToSparkRJobOutputWithContext(ctx).OutputState, + } +} + func (i SparkRJobArgs) ToSparkRJobPtrOutput() SparkRJobPtrOutput { return i.ToSparkRJobPtrOutputWithContext(context.Background()) } @@ -15129,6 +17104,12 @@ func (i *sparkRJobPtrType) ToSparkRJobPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SparkRJobPtrOutput) } +func (i *sparkRJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkRJob] { + return pulumix.Output[*SparkRJob]{ + OutputState: i.ToSparkRJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) applications on YARN. type SparkRJobOutput struct{ *pulumi.OutputState } @@ -15154,6 +17135,12 @@ func (o SparkRJobOutput) ToSparkRJobPtrOutputWithContext(ctx context.Context) Sp }).(SparkRJobPtrOutput) } +func (o SparkRJobOutput) ToOutput(ctx context.Context) pulumix.Output[SparkRJob] { + return pulumix.Output[SparkRJob]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkRJobOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkRJob) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -15198,6 +17185,12 @@ func (o SparkRJobPtrOutput) ToSparkRJobPtrOutputWithContext(ctx context.Context) return o } +func (o SparkRJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkRJob] { + return pulumix.Output[*SparkRJob]{ + OutputState: o.OutputState, + } +} + func (o SparkRJobPtrOutput) Elem() SparkRJobOutput { return o.ApplyT(func(v *SparkRJob) SparkRJob { if v != nil { @@ -15299,6 +17292,12 @@ func (o SparkRJobResponseOutput) ToSparkRJobResponseOutputWithContext(ctx contex return o } +func (o SparkRJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkRJobResponse] { + return pulumix.Output[SparkRJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkRJobResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkRJobResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -15372,6 +17371,12 @@ func (i SparkSqlBatchArgs) ToSparkSqlBatchOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SparkSqlBatchOutput) } +func (i SparkSqlBatchArgs) ToOutput(ctx context.Context) pulumix.Output[SparkSqlBatch] { + return pulumix.Output[SparkSqlBatch]{ + OutputState: i.ToSparkSqlBatchOutputWithContext(ctx).OutputState, + } +} + func (i SparkSqlBatchArgs) ToSparkSqlBatchPtrOutput() SparkSqlBatchPtrOutput { return i.ToSparkSqlBatchPtrOutputWithContext(context.Background()) } @@ -15413,6 +17418,12 @@ func (i *sparkSqlBatchPtrType) ToSparkSqlBatchPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SparkSqlBatchPtrOutput) } +func (i *sparkSqlBatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkSqlBatch] { + return pulumix.Output[*SparkSqlBatch]{ + OutputState: i.ToSparkSqlBatchPtrOutputWithContext(ctx).OutputState, + } +} + // A configuration for running Apache Spark SQL (https://spark.apache.org/sql/) queries as a batch workload. type SparkSqlBatchOutput struct{ *pulumi.OutputState } @@ -15438,6 +17449,12 @@ func (o SparkSqlBatchOutput) ToSparkSqlBatchPtrOutputWithContext(ctx context.Con }).(SparkSqlBatchPtrOutput) } +func (o SparkSqlBatchOutput) ToOutput(ctx context.Context) pulumix.Output[SparkSqlBatch] { + return pulumix.Output[SparkSqlBatch]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. func (o SparkSqlBatchOutput) JarFileUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkSqlBatch) []string { return v.JarFileUris }).(pulumi.StringArrayOutput) @@ -15467,6 +17484,12 @@ func (o SparkSqlBatchPtrOutput) ToSparkSqlBatchPtrOutputWithContext(ctx context. return o } +func (o SparkSqlBatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkSqlBatch] { + return pulumix.Output[*SparkSqlBatch]{ + OutputState: o.OutputState, + } +} + func (o SparkSqlBatchPtrOutput) Elem() SparkSqlBatchOutput { return o.ApplyT(func(v *SparkSqlBatch) SparkSqlBatch { if v != nil { @@ -15532,6 +17555,12 @@ func (o SparkSqlBatchResponseOutput) ToSparkSqlBatchResponseOutputWithContext(ct return o } +func (o SparkSqlBatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkSqlBatchResponse] { + return pulumix.Output[SparkSqlBatchResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. func (o SparkSqlBatchResponseOutput) JarFileUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkSqlBatchResponse) []string { return v.JarFileUris }).(pulumi.StringArrayOutput) @@ -15602,6 +17631,12 @@ func (i SparkSqlJobArgs) ToSparkSqlJobOutputWithContext(ctx context.Context) Spa return pulumi.ToOutputWithContext(ctx, i).(SparkSqlJobOutput) } +func (i SparkSqlJobArgs) ToOutput(ctx context.Context) pulumix.Output[SparkSqlJob] { + return pulumix.Output[SparkSqlJob]{ + OutputState: i.ToSparkSqlJobOutputWithContext(ctx).OutputState, + } +} + func (i SparkSqlJobArgs) ToSparkSqlJobPtrOutput() SparkSqlJobPtrOutput { return i.ToSparkSqlJobPtrOutputWithContext(context.Background()) } @@ -15643,6 +17678,12 @@ func (i *sparkSqlJobPtrType) ToSparkSqlJobPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SparkSqlJobPtrOutput) } +func (i *sparkSqlJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkSqlJob] { + return pulumix.Output[*SparkSqlJob]{ + OutputState: i.ToSparkSqlJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache Spark SQL (https://spark.apache.org/sql/) queries. type SparkSqlJobOutput struct{ *pulumi.OutputState } @@ -15668,6 +17709,12 @@ func (o SparkSqlJobOutput) ToSparkSqlJobPtrOutputWithContext(ctx context.Context }).(SparkSqlJobPtrOutput) } +func (o SparkSqlJobOutput) ToOutput(ctx context.Context) pulumix.Output[SparkSqlJob] { + return pulumix.Output[SparkSqlJob]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. func (o SparkSqlJobOutput) JarFileUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkSqlJob) []string { return v.JarFileUris }).(pulumi.StringArrayOutput) @@ -15712,6 +17759,12 @@ func (o SparkSqlJobPtrOutput) ToSparkSqlJobPtrOutputWithContext(ctx context.Cont return o } +func (o SparkSqlJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkSqlJob] { + return pulumix.Output[*SparkSqlJob]{ + OutputState: o.OutputState, + } +} + func (o SparkSqlJobPtrOutput) Elem() SparkSqlJobOutput { return o.ApplyT(func(v *SparkSqlJob) SparkSqlJob { if v != nil { @@ -15813,6 +17866,12 @@ func (o SparkSqlJobResponseOutput) ToSparkSqlJobResponseOutputWithContext(ctx co return o } +func (o SparkSqlJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkSqlJobResponse] { + return pulumix.Output[SparkSqlJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. func (o SparkSqlJobResponseOutput) JarFileUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkSqlJobResponse) []string { return v.JarFileUris }).(pulumi.StringArrayOutput) @@ -15894,6 +17953,12 @@ func (i SparkStandaloneAutoscalingConfigArgs) ToSparkStandaloneAutoscalingConfig return pulumi.ToOutputWithContext(ctx, i).(SparkStandaloneAutoscalingConfigOutput) } +func (i SparkStandaloneAutoscalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SparkStandaloneAutoscalingConfig] { + return pulumix.Output[SparkStandaloneAutoscalingConfig]{ + OutputState: i.ToSparkStandaloneAutoscalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i SparkStandaloneAutoscalingConfigArgs) ToSparkStandaloneAutoscalingConfigPtrOutput() SparkStandaloneAutoscalingConfigPtrOutput { return i.ToSparkStandaloneAutoscalingConfigPtrOutputWithContext(context.Background()) } @@ -15935,6 +18000,12 @@ func (i *sparkStandaloneAutoscalingConfigPtrType) ToSparkStandaloneAutoscalingCo return pulumi.ToOutputWithContext(ctx, i).(SparkStandaloneAutoscalingConfigPtrOutput) } +func (i *sparkStandaloneAutoscalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkStandaloneAutoscalingConfig] { + return pulumix.Output[*SparkStandaloneAutoscalingConfig]{ + OutputState: i.ToSparkStandaloneAutoscalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Basic autoscaling configurations for Spark Standalone. type SparkStandaloneAutoscalingConfigOutput struct{ *pulumi.OutputState } @@ -15960,6 +18031,12 @@ func (o SparkStandaloneAutoscalingConfigOutput) ToSparkStandaloneAutoscalingConf }).(SparkStandaloneAutoscalingConfigPtrOutput) } +func (o SparkStandaloneAutoscalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SparkStandaloneAutoscalingConfig] { + return pulumix.Output[SparkStandaloneAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + // Timeout for Spark graceful decommissioning of spark workers. Specifies the duration to wait for spark worker to complete spark decommissioning tasks before forcefully removing workers. Only applicable to downscaling operations.Bounds: 0s, 1d. func (o SparkStandaloneAutoscalingConfigOutput) GracefulDecommissionTimeout() pulumi.StringOutput { return o.ApplyT(func(v SparkStandaloneAutoscalingConfig) string { return v.GracefulDecommissionTimeout }).(pulumi.StringOutput) @@ -15999,6 +18076,12 @@ func (o SparkStandaloneAutoscalingConfigPtrOutput) ToSparkStandaloneAutoscalingC return o } +func (o SparkStandaloneAutoscalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkStandaloneAutoscalingConfig] { + return pulumix.Output[*SparkStandaloneAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + func (o SparkStandaloneAutoscalingConfigPtrOutput) Elem() SparkStandaloneAutoscalingConfigOutput { return o.ApplyT(func(v *SparkStandaloneAutoscalingConfig) SparkStandaloneAutoscalingConfig { if v != nil { @@ -16088,6 +18171,12 @@ func (o SparkStandaloneAutoscalingConfigResponseOutput) ToSparkStandaloneAutosca return o } +func (o SparkStandaloneAutoscalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkStandaloneAutoscalingConfigResponse] { + return pulumix.Output[SparkStandaloneAutoscalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Timeout for Spark graceful decommissioning of spark workers. Specifies the duration to wait for spark worker to complete spark decommissioning tasks before forcefully removing workers. Only applicable to downscaling operations.Bounds: 0s, 1d. func (o SparkStandaloneAutoscalingConfigResponseOutput) GracefulDecommissionTimeout() pulumi.StringOutput { return o.ApplyT(func(v SparkStandaloneAutoscalingConfigResponse) string { return v.GracefulDecommissionTimeout }).(pulumi.StringOutput) @@ -16138,6 +18227,12 @@ func (o StateHistoryResponseOutput) ToStateHistoryResponseOutputWithContext(ctx return o } +func (o StateHistoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StateHistoryResponse] { + return pulumix.Output[StateHistoryResponse]{ + OutputState: o.OutputState, + } +} + // The state of the batch at this point in history. func (o StateHistoryResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v StateHistoryResponse) string { return v.State }).(pulumi.StringOutput) @@ -16167,6 +18262,12 @@ func (o StateHistoryResponseArrayOutput) ToStateHistoryResponseArrayOutputWithCo return o } +func (o StateHistoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StateHistoryResponse] { + return pulumix.Output[[]StateHistoryResponse]{ + OutputState: o.OutputState, + } +} + func (o StateHistoryResponseArrayOutput) Index(i pulumi.IntInput) StateHistoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StateHistoryResponse { return vs[0].([]StateHistoryResponse)[vs[1].(int)] @@ -16220,6 +18321,12 @@ func (i TemplateParameterArgs) ToTemplateParameterOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TemplateParameterOutput) } +func (i TemplateParameterArgs) ToOutput(ctx context.Context) pulumix.Output[TemplateParameter] { + return pulumix.Output[TemplateParameter]{ + OutputState: i.ToTemplateParameterOutputWithContext(ctx).OutputState, + } +} + // TemplateParameterArrayInput is an input type that accepts TemplateParameterArray and TemplateParameterArrayOutput values. // You can construct a concrete instance of `TemplateParameterArrayInput` via: // @@ -16245,6 +18352,12 @@ func (i TemplateParameterArray) ToTemplateParameterArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(TemplateParameterArrayOutput) } +func (i TemplateParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]TemplateParameter] { + return pulumix.Output[[]TemplateParameter]{ + OutputState: i.ToTemplateParameterArrayOutputWithContext(ctx).OutputState, + } +} + // A configurable parameter that replaces one or more fields in the template. Parameterizable fields: - Labels - File uris - Job properties - Job arguments - Script variables - Main class (in HadoopJob and SparkJob) - Zone (in ClusterSelector) type TemplateParameterOutput struct{ *pulumi.OutputState } @@ -16260,6 +18373,12 @@ func (o TemplateParameterOutput) ToTemplateParameterOutputWithContext(ctx contex return o } +func (o TemplateParameterOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateParameter] { + return pulumix.Output[TemplateParameter]{ + OutputState: o.OutputState, + } +} + // Optional. Brief description of the parameter. Must not exceed 1024 characters. func (o TemplateParameterOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v TemplateParameter) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -16294,6 +18413,12 @@ func (o TemplateParameterArrayOutput) ToTemplateParameterArrayOutputWithContext( return o } +func (o TemplateParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TemplateParameter] { + return pulumix.Output[[]TemplateParameter]{ + OutputState: o.OutputState, + } +} + func (o TemplateParameterArrayOutput) Index(i pulumi.IntInput) TemplateParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TemplateParameter { return vs[0].([]TemplateParameter)[vs[1].(int)] @@ -16327,6 +18452,12 @@ func (o TemplateParameterResponseOutput) ToTemplateParameterResponseOutputWithCo return o } +func (o TemplateParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateParameterResponse] { + return pulumix.Output[TemplateParameterResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Brief description of the parameter. Must not exceed 1024 characters. func (o TemplateParameterResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v TemplateParameterResponse) string { return v.Description }).(pulumi.StringOutput) @@ -16361,6 +18492,12 @@ func (o TemplateParameterResponseArrayOutput) ToTemplateParameterResponseArrayOu return o } +func (o TemplateParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TemplateParameterResponse] { + return pulumix.Output[[]TemplateParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o TemplateParameterResponseArrayOutput) Index(i pulumi.IntInput) TemplateParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TemplateParameterResponse { return vs[0].([]TemplateParameterResponse)[vs[1].(int)] @@ -16426,6 +18563,12 @@ func (i TrinoJobArgs) ToTrinoJobOutputWithContext(ctx context.Context) TrinoJobO return pulumi.ToOutputWithContext(ctx, i).(TrinoJobOutput) } +func (i TrinoJobArgs) ToOutput(ctx context.Context) pulumix.Output[TrinoJob] { + return pulumix.Output[TrinoJob]{ + OutputState: i.ToTrinoJobOutputWithContext(ctx).OutputState, + } +} + func (i TrinoJobArgs) ToTrinoJobPtrOutput() TrinoJobPtrOutput { return i.ToTrinoJobPtrOutputWithContext(context.Background()) } @@ -16467,6 +18610,12 @@ func (i *trinoJobPtrType) ToTrinoJobPtrOutputWithContext(ctx context.Context) Tr return pulumi.ToOutputWithContext(ctx, i).(TrinoJobPtrOutput) } +func (i *trinoJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*TrinoJob] { + return pulumix.Output[*TrinoJob]{ + OutputState: i.ToTrinoJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/trino) must be enabled when the cluster is created to submit a Trino job to the cluster. type TrinoJobOutput struct{ *pulumi.OutputState } @@ -16492,6 +18641,12 @@ func (o TrinoJobOutput) ToTrinoJobPtrOutputWithContext(ctx context.Context) Trin }).(TrinoJobPtrOutput) } +func (o TrinoJobOutput) ToOutput(ctx context.Context) pulumix.Output[TrinoJob] { + return pulumix.Output[TrinoJob]{ + OutputState: o.OutputState, + } +} + // Optional. Trino client tags to attach to this query func (o TrinoJobOutput) ClientTags() pulumi.StringArrayOutput { return o.ApplyT(func(v TrinoJob) []string { return v.ClientTags }).(pulumi.StringArrayOutput) @@ -16541,6 +18696,12 @@ func (o TrinoJobPtrOutput) ToTrinoJobPtrOutputWithContext(ctx context.Context) T return o } +func (o TrinoJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TrinoJob] { + return pulumix.Output[*TrinoJob]{ + OutputState: o.OutputState, + } +} + func (o TrinoJobPtrOutput) Elem() TrinoJobOutput { return o.ApplyT(func(v *TrinoJob) TrinoJob { if v != nil { @@ -16654,6 +18815,12 @@ func (o TrinoJobResponseOutput) ToTrinoJobResponseOutputWithContext(ctx context. return o } +func (o TrinoJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TrinoJobResponse] { + return pulumix.Output[TrinoJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Trino client tags to attach to this query func (o TrinoJobResponseOutput) ClientTags() pulumi.StringArrayOutput { return o.ApplyT(func(v TrinoJobResponse) []string { return v.ClientTags }).(pulumi.StringArrayOutput) @@ -16712,6 +18879,12 @@ func (o UsageMetricsResponseOutput) ToUsageMetricsResponseOutputWithContext(ctx return o } +func (o UsageMetricsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UsageMetricsResponse] { + return pulumix.Output[UsageMetricsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). func (o UsageMetricsResponseOutput) MilliDcuSeconds() pulumi.StringOutput { return o.ApplyT(func(v UsageMetricsResponse) string { return v.MilliDcuSeconds }).(pulumi.StringOutput) @@ -16747,6 +18920,12 @@ func (o UsageSnapshotResponseOutput) ToUsageSnapshotResponseOutputWithContext(ct return o } +func (o UsageSnapshotResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UsageSnapshotResponse] { + return pulumix.Output[UsageSnapshotResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). func (o UsageSnapshotResponseOutput) MilliDcu() pulumi.StringOutput { return o.ApplyT(func(v UsageSnapshotResponse) string { return v.MilliDcu }).(pulumi.StringOutput) @@ -16797,6 +18976,12 @@ func (i ValueValidationArgs) ToValueValidationOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ValueValidationOutput) } +func (i ValueValidationArgs) ToOutput(ctx context.Context) pulumix.Output[ValueValidation] { + return pulumix.Output[ValueValidation]{ + OutputState: i.ToValueValidationOutputWithContext(ctx).OutputState, + } +} + func (i ValueValidationArgs) ToValueValidationPtrOutput() ValueValidationPtrOutput { return i.ToValueValidationPtrOutputWithContext(context.Background()) } @@ -16838,6 +19023,12 @@ func (i *valueValidationPtrType) ToValueValidationPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ValueValidationPtrOutput) } +func (i *valueValidationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ValueValidation] { + return pulumix.Output[*ValueValidation]{ + OutputState: i.ToValueValidationPtrOutputWithContext(ctx).OutputState, + } +} + // Validation based on a list of allowed values. type ValueValidationOutput struct{ *pulumi.OutputState } @@ -16863,6 +19054,12 @@ func (o ValueValidationOutput) ToValueValidationPtrOutputWithContext(ctx context }).(ValueValidationPtrOutput) } +func (o ValueValidationOutput) ToOutput(ctx context.Context) pulumix.Output[ValueValidation] { + return pulumix.Output[ValueValidation]{ + OutputState: o.OutputState, + } +} + // List of allowed values for the parameter. func (o ValueValidationOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v ValueValidation) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -16882,6 +19079,12 @@ func (o ValueValidationPtrOutput) ToValueValidationPtrOutputWithContext(ctx cont return o } +func (o ValueValidationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValueValidation] { + return pulumix.Output[*ValueValidation]{ + OutputState: o.OutputState, + } +} + func (o ValueValidationPtrOutput) Elem() ValueValidationOutput { return o.ApplyT(func(v *ValueValidation) ValueValidation { if v != nil { @@ -16923,6 +19126,12 @@ func (o ValueValidationResponseOutput) ToValueValidationResponseOutputWithContex return o } +func (o ValueValidationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValueValidationResponse] { + return pulumix.Output[ValueValidationResponse]{ + OutputState: o.OutputState, + } +} + // List of allowed values for the parameter. func (o ValueValidationResponseOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v ValueValidationResponse) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -16971,6 +19180,12 @@ func (i VirtualClusterConfigArgs) ToVirtualClusterConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(VirtualClusterConfigOutput) } +func (i VirtualClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VirtualClusterConfig] { + return pulumix.Output[VirtualClusterConfig]{ + OutputState: i.ToVirtualClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i VirtualClusterConfigArgs) ToVirtualClusterConfigPtrOutput() VirtualClusterConfigPtrOutput { return i.ToVirtualClusterConfigPtrOutputWithContext(context.Background()) } @@ -17012,6 +19227,12 @@ func (i *virtualClusterConfigPtrType) ToVirtualClusterConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(VirtualClusterConfigPtrOutput) } +func (i *virtualClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VirtualClusterConfig] { + return pulumix.Output[*VirtualClusterConfig]{ + OutputState: i.ToVirtualClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The Dataproc cluster config for a cluster that does not directly control the underlying compute resources, such as a Dataproc-on-GKE cluster (https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview). type VirtualClusterConfigOutput struct{ *pulumi.OutputState } @@ -17037,6 +19258,12 @@ func (o VirtualClusterConfigOutput) ToVirtualClusterConfigPtrOutputWithContext(c }).(VirtualClusterConfigPtrOutput) } +func (o VirtualClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualClusterConfig] { + return pulumix.Output[VirtualClusterConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Configuration of auxiliary services used by this cluster. func (o VirtualClusterConfigOutput) AuxiliaryServicesConfig() AuxiliaryServicesConfigPtrOutput { return o.ApplyT(func(v VirtualClusterConfig) *AuxiliaryServicesConfig { return v.AuxiliaryServicesConfig }).(AuxiliaryServicesConfigPtrOutput) @@ -17066,6 +19293,12 @@ func (o VirtualClusterConfigPtrOutput) ToVirtualClusterConfigPtrOutputWithContex return o } +func (o VirtualClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualClusterConfig] { + return pulumix.Output[*VirtualClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o VirtualClusterConfigPtrOutput) Elem() VirtualClusterConfigOutput { return o.ApplyT(func(v *VirtualClusterConfig) VirtualClusterConfig { if v != nil { @@ -17131,6 +19364,12 @@ func (o VirtualClusterConfigResponseOutput) ToVirtualClusterConfigResponseOutput return o } +func (o VirtualClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualClusterConfigResponse] { + return pulumix.Output[VirtualClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Configuration of auxiliary services used by this cluster. func (o VirtualClusterConfigResponseOutput) AuxiliaryServicesConfig() AuxiliaryServicesConfigResponseOutput { return o.ApplyT(func(v VirtualClusterConfigResponse) AuxiliaryServicesConfigResponse { return v.AuxiliaryServicesConfig }).(AuxiliaryServicesConfigResponseOutput) @@ -17185,6 +19424,12 @@ func (i WorkflowTemplatePlacementArgs) ToWorkflowTemplatePlacementOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(WorkflowTemplatePlacementOutput) } +func (i WorkflowTemplatePlacementArgs) ToOutput(ctx context.Context) pulumix.Output[WorkflowTemplatePlacement] { + return pulumix.Output[WorkflowTemplatePlacement]{ + OutputState: i.ToWorkflowTemplatePlacementOutputWithContext(ctx).OutputState, + } +} + // Specifies workflow execution target.Either managed_cluster or cluster_selector is required. type WorkflowTemplatePlacementOutput struct{ *pulumi.OutputState } @@ -17200,6 +19445,12 @@ func (o WorkflowTemplatePlacementOutput) ToWorkflowTemplatePlacementOutputWithCo return o } +func (o WorkflowTemplatePlacementOutput) ToOutput(ctx context.Context) pulumix.Output[WorkflowTemplatePlacement] { + return pulumix.Output[WorkflowTemplatePlacement]{ + OutputState: o.OutputState, + } +} + // Optional. A selector that chooses target cluster for jobs based on metadata.The selector is evaluated at the time each job is submitted. func (o WorkflowTemplatePlacementOutput) ClusterSelector() ClusterSelectorPtrOutput { return o.ApplyT(func(v WorkflowTemplatePlacement) *ClusterSelector { return v.ClusterSelector }).(ClusterSelectorPtrOutput) @@ -17233,6 +19484,12 @@ func (o WorkflowTemplatePlacementResponseOutput) ToWorkflowTemplatePlacementResp return o } +func (o WorkflowTemplatePlacementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkflowTemplatePlacementResponse] { + return pulumix.Output[WorkflowTemplatePlacementResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A selector that chooses target cluster for jobs based on metadata.The selector is evaluated at the time each job is submitted. func (o WorkflowTemplatePlacementResponseOutput) ClusterSelector() ClusterSelectorResponseOutput { return o.ApplyT(func(v WorkflowTemplatePlacementResponse) ClusterSelectorResponse { return v.ClusterSelector }).(ClusterSelectorResponseOutput) @@ -17270,6 +19527,12 @@ func (o YarnApplicationResponseOutput) ToYarnApplicationResponseOutputWithContex return o } +func (o YarnApplicationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[YarnApplicationResponse] { + return pulumix.Output[YarnApplicationResponse]{ + OutputState: o.OutputState, + } +} + // The application name. func (o YarnApplicationResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v YarnApplicationResponse) string { return v.Name }).(pulumi.StringOutput) @@ -17304,6 +19567,12 @@ func (o YarnApplicationResponseArrayOutput) ToYarnApplicationResponseArrayOutput return o } +func (o YarnApplicationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]YarnApplicationResponse] { + return pulumix.Output[[]YarnApplicationResponse]{ + OutputState: o.OutputState, + } +} + func (o YarnApplicationResponseArrayOutput) Index(i pulumi.IntInput) YarnApplicationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) YarnApplicationResponse { return vs[0].([]YarnApplicationResponse)[vs[1].(int)] diff --git a/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamBinding.go b/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamBinding.go index e3bb8bfa77..a67ce3cc6b 100644 --- a/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamBinding.go +++ b/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionAutoscalingPolicyIamBinding) ToRegionAutoscalingPolicyIamBindingO return pulumi.ToOutputWithContext(ctx, i).(RegionAutoscalingPolicyIamBindingOutput) } +func (i *RegionAutoscalingPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamBinding] { + return pulumix.Output[*RegionAutoscalingPolicyIamBinding]{ + OutputState: i.ToRegionAutoscalingPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionAutoscalingPolicyIamBindingOutput struct{ *pulumi.OutputState } func (RegionAutoscalingPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionAutoscalingPolicyIamBindingOutput) ToRegionAutoscalingPolicyIamBin return o } +func (o RegionAutoscalingPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamBinding] { + return pulumix.Output[*RegionAutoscalingPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionAutoscalingPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionAutoscalingPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamMember.go b/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamMember.go index 86ca413163..cfff4789cf 100644 --- a/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamMember.go +++ b/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionAutoscalingPolicyIamMember) ToRegionAutoscalingPolicyIamMemberOut return pulumi.ToOutputWithContext(ctx, i).(RegionAutoscalingPolicyIamMemberOutput) } +func (i *RegionAutoscalingPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamMember] { + return pulumix.Output[*RegionAutoscalingPolicyIamMember]{ + OutputState: i.ToRegionAutoscalingPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionAutoscalingPolicyIamMemberOutput struct{ *pulumi.OutputState } func (RegionAutoscalingPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionAutoscalingPolicyIamMemberOutput) ToRegionAutoscalingPolicyIamMemb return o } +func (o RegionAutoscalingPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamMember] { + return pulumix.Output[*RegionAutoscalingPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionAutoscalingPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionAutoscalingPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamPolicy.go b/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamPolicy.go index 2e74c3d0ab..49e276626e 100644 --- a/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamPolicy.go +++ b/sdk/go/google/dataproc/v1/regionAutoscalingPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -128,6 +129,12 @@ func (i *RegionAutoscalingPolicyIamPolicy) ToRegionAutoscalingPolicyIamPolicyOut return pulumi.ToOutputWithContext(ctx, i).(RegionAutoscalingPolicyIamPolicyOutput) } +func (i *RegionAutoscalingPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamPolicy] { + return pulumix.Output[*RegionAutoscalingPolicyIamPolicy]{ + OutputState: i.ToRegionAutoscalingPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionAutoscalingPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (RegionAutoscalingPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o RegionAutoscalingPolicyIamPolicyOutput) ToRegionAutoscalingPolicyIamPoli return o } +func (o RegionAutoscalingPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamPolicy] { + return pulumix.Output[*RegionAutoscalingPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionAutoscalingPolicyIamPolicyOutput) AutoscalingPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *RegionAutoscalingPolicyIamPolicy) pulumi.StringOutput { return v.AutoscalingPolicyId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dataproc/v1/regionClusterIamBinding.go b/sdk/go/google/dataproc/v1/regionClusterIamBinding.go index 23777f03c2..0c63bd9e78 100644 --- a/sdk/go/google/dataproc/v1/regionClusterIamBinding.go +++ b/sdk/go/google/dataproc/v1/regionClusterIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionClusterIamBinding) ToRegionClusterIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RegionClusterIamBindingOutput) } +func (i *RegionClusterIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamBinding] { + return pulumix.Output[*RegionClusterIamBinding]{ + OutputState: i.ToRegionClusterIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionClusterIamBindingOutput struct{ *pulumi.OutputState } func (RegionClusterIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionClusterIamBindingOutput) ToRegionClusterIamBindingOutputWithContex return o } +func (o RegionClusterIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamBinding] { + return pulumix.Output[*RegionClusterIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionClusterIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionClusterIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/regionClusterIamMember.go b/sdk/go/google/dataproc/v1/regionClusterIamMember.go index b33632aa4b..09676df721 100644 --- a/sdk/go/google/dataproc/v1/regionClusterIamMember.go +++ b/sdk/go/google/dataproc/v1/regionClusterIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionClusterIamMember) ToRegionClusterIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionClusterIamMemberOutput) } +func (i *RegionClusterIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamMember] { + return pulumix.Output[*RegionClusterIamMember]{ + OutputState: i.ToRegionClusterIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionClusterIamMemberOutput struct{ *pulumi.OutputState } func (RegionClusterIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionClusterIamMemberOutput) ToRegionClusterIamMemberOutputWithContext( return o } +func (o RegionClusterIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamMember] { + return pulumix.Output[*RegionClusterIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionClusterIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionClusterIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/regionClusterIamPolicy.go b/sdk/go/google/dataproc/v1/regionClusterIamPolicy.go index 10043c2b22..10426cccab 100644 --- a/sdk/go/google/dataproc/v1/regionClusterIamPolicy.go +++ b/sdk/go/google/dataproc/v1/regionClusterIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -128,6 +129,12 @@ func (i *RegionClusterIamPolicy) ToRegionClusterIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionClusterIamPolicyOutput) } +func (i *RegionClusterIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamPolicy] { + return pulumix.Output[*RegionClusterIamPolicy]{ + OutputState: i.ToRegionClusterIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionClusterIamPolicyOutput struct{ *pulumi.OutputState } func (RegionClusterIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o RegionClusterIamPolicyOutput) ToRegionClusterIamPolicyOutputWithContext( return o } +func (o RegionClusterIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamPolicy] { + return pulumix.Output[*RegionClusterIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o RegionClusterIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegionClusterIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/regionJobIamBinding.go b/sdk/go/google/dataproc/v1/regionJobIamBinding.go index d8986ef584..8dcddc1921 100644 --- a/sdk/go/google/dataproc/v1/regionJobIamBinding.go +++ b/sdk/go/google/dataproc/v1/regionJobIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionJobIamBinding) ToRegionJobIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RegionJobIamBindingOutput) } +func (i *RegionJobIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamBinding] { + return pulumix.Output[*RegionJobIamBinding]{ + OutputState: i.ToRegionJobIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionJobIamBindingOutput struct{ *pulumi.OutputState } func (RegionJobIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionJobIamBindingOutput) ToRegionJobIamBindingOutputWithContext(ctx co return o } +func (o RegionJobIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamBinding] { + return pulumix.Output[*RegionJobIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionJobIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionJobIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/regionJobIamMember.go b/sdk/go/google/dataproc/v1/regionJobIamMember.go index 8ab66fcfdf..97e88d3b71 100644 --- a/sdk/go/google/dataproc/v1/regionJobIamMember.go +++ b/sdk/go/google/dataproc/v1/regionJobIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionJobIamMember) ToRegionJobIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(RegionJobIamMemberOutput) } +func (i *RegionJobIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamMember] { + return pulumix.Output[*RegionJobIamMember]{ + OutputState: i.ToRegionJobIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionJobIamMemberOutput struct{ *pulumi.OutputState } func (RegionJobIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionJobIamMemberOutput) ToRegionJobIamMemberOutputWithContext(ctx cont return o } +func (o RegionJobIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamMember] { + return pulumix.Output[*RegionJobIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionJobIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionJobIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/regionJobIamPolicy.go b/sdk/go/google/dataproc/v1/regionJobIamPolicy.go index a82e7ae8a9..a589c64128 100644 --- a/sdk/go/google/dataproc/v1/regionJobIamPolicy.go +++ b/sdk/go/google/dataproc/v1/regionJobIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -128,6 +129,12 @@ func (i *RegionJobIamPolicy) ToRegionJobIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(RegionJobIamPolicyOutput) } +func (i *RegionJobIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamPolicy] { + return pulumix.Output[*RegionJobIamPolicy]{ + OutputState: i.ToRegionJobIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionJobIamPolicyOutput struct{ *pulumi.OutputState } func (RegionJobIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o RegionJobIamPolicyOutput) ToRegionJobIamPolicyOutputWithContext(ctx cont return o } +func (o RegionJobIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamPolicy] { + return pulumix.Output[*RegionJobIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o RegionJobIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegionJobIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/regionOperationIamBinding.go b/sdk/go/google/dataproc/v1/regionOperationIamBinding.go index c533ffbab9..0282db45d4 100644 --- a/sdk/go/google/dataproc/v1/regionOperationIamBinding.go +++ b/sdk/go/google/dataproc/v1/regionOperationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionOperationIamBinding) ToRegionOperationIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(RegionOperationIamBindingOutput) } +func (i *RegionOperationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamBinding] { + return pulumix.Output[*RegionOperationIamBinding]{ + OutputState: i.ToRegionOperationIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionOperationIamBindingOutput struct{ *pulumi.OutputState } func (RegionOperationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionOperationIamBindingOutput) ToRegionOperationIamBindingOutputWithCo return o } +func (o RegionOperationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamBinding] { + return pulumix.Output[*RegionOperationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionOperationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionOperationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/regionOperationIamMember.go b/sdk/go/google/dataproc/v1/regionOperationIamMember.go index 2083cae41d..d342623d19 100644 --- a/sdk/go/google/dataproc/v1/regionOperationIamMember.go +++ b/sdk/go/google/dataproc/v1/regionOperationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionOperationIamMember) ToRegionOperationIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RegionOperationIamMemberOutput) } +func (i *RegionOperationIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamMember] { + return pulumix.Output[*RegionOperationIamMember]{ + OutputState: i.ToRegionOperationIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionOperationIamMemberOutput struct{ *pulumi.OutputState } func (RegionOperationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionOperationIamMemberOutput) ToRegionOperationIamMemberOutputWithCont return o } +func (o RegionOperationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamMember] { + return pulumix.Output[*RegionOperationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionOperationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionOperationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/regionOperationIamPolicy.go b/sdk/go/google/dataproc/v1/regionOperationIamPolicy.go index a5addfea83..38f8edd926 100644 --- a/sdk/go/google/dataproc/v1/regionOperationIamPolicy.go +++ b/sdk/go/google/dataproc/v1/regionOperationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -128,6 +129,12 @@ func (i *RegionOperationIamPolicy) ToRegionOperationIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RegionOperationIamPolicyOutput) } +func (i *RegionOperationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamPolicy] { + return pulumix.Output[*RegionOperationIamPolicy]{ + OutputState: i.ToRegionOperationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionOperationIamPolicyOutput struct{ *pulumi.OutputState } func (RegionOperationIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o RegionOperationIamPolicyOutput) ToRegionOperationIamPolicyOutputWithCont return o } +func (o RegionOperationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamPolicy] { + return pulumix.Output[*RegionOperationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o RegionOperationIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegionOperationIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamBinding.go b/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamBinding.go index e27ce2c818..e5260e6f08 100644 --- a/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamBinding.go +++ b/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionWorkflowTemplateIamBinding) ToRegionWorkflowTemplateIamBindingOut return pulumi.ToOutputWithContext(ctx, i).(RegionWorkflowTemplateIamBindingOutput) } +func (i *RegionWorkflowTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamBinding] { + return pulumix.Output[*RegionWorkflowTemplateIamBinding]{ + OutputState: i.ToRegionWorkflowTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionWorkflowTemplateIamBindingOutput struct{ *pulumi.OutputState } func (RegionWorkflowTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionWorkflowTemplateIamBindingOutput) ToRegionWorkflowTemplateIamBindi return o } +func (o RegionWorkflowTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamBinding] { + return pulumix.Output[*RegionWorkflowTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionWorkflowTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionWorkflowTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamMember.go b/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamMember.go index 461df83ebd..0721def51a 100644 --- a/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamMember.go +++ b/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionWorkflowTemplateIamMember) ToRegionWorkflowTemplateIamMemberOutpu return pulumi.ToOutputWithContext(ctx, i).(RegionWorkflowTemplateIamMemberOutput) } +func (i *RegionWorkflowTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamMember] { + return pulumix.Output[*RegionWorkflowTemplateIamMember]{ + OutputState: i.ToRegionWorkflowTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionWorkflowTemplateIamMemberOutput struct{ *pulumi.OutputState } func (RegionWorkflowTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionWorkflowTemplateIamMemberOutput) ToRegionWorkflowTemplateIamMember return o } +func (o RegionWorkflowTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamMember] { + return pulumix.Output[*RegionWorkflowTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionWorkflowTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionWorkflowTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamPolicy.go b/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamPolicy.go index 2eb40361f9..75062d2ff2 100644 --- a/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamPolicy.go +++ b/sdk/go/google/dataproc/v1/regionWorkflowTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -128,6 +129,12 @@ func (i *RegionWorkflowTemplateIamPolicy) ToRegionWorkflowTemplateIamPolicyOutpu return pulumi.ToOutputWithContext(ctx, i).(RegionWorkflowTemplateIamPolicyOutput) } +func (i *RegionWorkflowTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamPolicy] { + return pulumix.Output[*RegionWorkflowTemplateIamPolicy]{ + OutputState: i.ToRegionWorkflowTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionWorkflowTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (RegionWorkflowTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o RegionWorkflowTemplateIamPolicyOutput) ToRegionWorkflowTemplateIamPolicy return o } +func (o RegionWorkflowTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamPolicy] { + return pulumix.Output[*RegionWorkflowTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o RegionWorkflowTemplateIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegionWorkflowTemplateIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1/workflowTemplate.go b/sdk/go/google/dataproc/v1/workflowTemplate.go index 81d7a9484b..9db67ebd7d 100644 --- a/sdk/go/google/dataproc/v1/workflowTemplate.go +++ b/sdk/go/google/dataproc/v1/workflowTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates new workflow template. @@ -149,6 +150,12 @@ func (i *WorkflowTemplate) ToWorkflowTemplateOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(WorkflowTemplateOutput) } +func (i *WorkflowTemplate) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplate] { + return pulumix.Output[*WorkflowTemplate]{ + OutputState: i.ToWorkflowTemplateOutputWithContext(ctx).OutputState, + } +} + type WorkflowTemplateOutput struct{ *pulumi.OutputState } func (WorkflowTemplateOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o WorkflowTemplateOutput) ToWorkflowTemplateOutputWithContext(ctx context. return o } +func (o WorkflowTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplate] { + return pulumix.Output[*WorkflowTemplate]{ + OutputState: o.OutputState, + } +} + // The time template was created. func (o WorkflowTemplateOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *WorkflowTemplate) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataproc/v1/workflowTemplateIamBinding.go b/sdk/go/google/dataproc/v1/workflowTemplateIamBinding.go index 4545ca5398..ee619d3f17 100644 --- a/sdk/go/google/dataproc/v1/workflowTemplateIamBinding.go +++ b/sdk/go/google/dataproc/v1/workflowTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *WorkflowTemplateIamBinding) ToWorkflowTemplateIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(WorkflowTemplateIamBindingOutput) } +func (i *WorkflowTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamBinding] { + return pulumix.Output[*WorkflowTemplateIamBinding]{ + OutputState: i.ToWorkflowTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type WorkflowTemplateIamBindingOutput struct{ *pulumi.OutputState } func (WorkflowTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o WorkflowTemplateIamBindingOutput) ToWorkflowTemplateIamBindingOutputWith return o } +func (o WorkflowTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamBinding] { + return pulumix.Output[*WorkflowTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o WorkflowTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *WorkflowTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/workflowTemplateIamMember.go b/sdk/go/google/dataproc/v1/workflowTemplateIamMember.go index 3bc81100a8..61192f4147 100644 --- a/sdk/go/google/dataproc/v1/workflowTemplateIamMember.go +++ b/sdk/go/google/dataproc/v1/workflowTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *WorkflowTemplateIamMember) ToWorkflowTemplateIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(WorkflowTemplateIamMemberOutput) } +func (i *WorkflowTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamMember] { + return pulumix.Output[*WorkflowTemplateIamMember]{ + OutputState: i.ToWorkflowTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type WorkflowTemplateIamMemberOutput struct{ *pulumi.OutputState } func (WorkflowTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o WorkflowTemplateIamMemberOutput) ToWorkflowTemplateIamMemberOutputWithCo return o } +func (o WorkflowTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamMember] { + return pulumix.Output[*WorkflowTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o WorkflowTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *WorkflowTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1/workflowTemplateIamPolicy.go b/sdk/go/google/dataproc/v1/workflowTemplateIamPolicy.go index 703a9de694..8bfd8850a9 100644 --- a/sdk/go/google/dataproc/v1/workflowTemplateIamPolicy.go +++ b/sdk/go/google/dataproc/v1/workflowTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -125,6 +126,12 @@ func (i *WorkflowTemplateIamPolicy) ToWorkflowTemplateIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(WorkflowTemplateIamPolicyOutput) } +func (i *WorkflowTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamPolicy] { + return pulumix.Output[*WorkflowTemplateIamPolicy]{ + OutputState: i.ToWorkflowTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type WorkflowTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (WorkflowTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o WorkflowTemplateIamPolicyOutput) ToWorkflowTemplateIamPolicyOutputWithCo return o } +func (o WorkflowTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamPolicy] { + return pulumix.Output[*WorkflowTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy. func (o WorkflowTemplateIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *WorkflowTemplateIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/autoscalingPolicy.go b/sdk/go/google/dataproc/v1beta2/autoscalingPolicy.go index 949ac65ff8..ef018c5c92 100644 --- a/sdk/go/google/dataproc/v1beta2/autoscalingPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/autoscalingPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates new autoscaling policy. @@ -126,6 +127,12 @@ func (i *AutoscalingPolicy) ToAutoscalingPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyOutput) } +func (i *AutoscalingPolicy) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicy] { + return pulumix.Output[*AutoscalingPolicy]{ + OutputState: i.ToAutoscalingPolicyOutputWithContext(ctx).OutputState, + } +} + type AutoscalingPolicyOutput struct{ *pulumi.OutputState } func (AutoscalingPolicyOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o AutoscalingPolicyOutput) ToAutoscalingPolicyOutputWithContext(ctx contex return o } +func (o AutoscalingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicy] { + return pulumix.Output[*AutoscalingPolicy]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyOutput) BasicAlgorithm() BasicAutoscalingAlgorithmResponseOutput { return o.ApplyT(func(v *AutoscalingPolicy) BasicAutoscalingAlgorithmResponseOutput { return v.BasicAlgorithm }).(BasicAutoscalingAlgorithmResponseOutput) } diff --git a/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamBinding.go b/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamBinding.go index c019b8b933..417da0ba15 100644 --- a/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamBinding.go +++ b/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *AutoscalingPolicyIamBinding) ToAutoscalingPolicyIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyIamBindingOutput) } +func (i *AutoscalingPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamBinding] { + return pulumix.Output[*AutoscalingPolicyIamBinding]{ + OutputState: i.ToAutoscalingPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type AutoscalingPolicyIamBindingOutput struct{ *pulumi.OutputState } func (AutoscalingPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AutoscalingPolicyIamBindingOutput) ToAutoscalingPolicyIamBindingOutputWi return o } +func (o AutoscalingPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamBinding] { + return pulumix.Output[*AutoscalingPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AutoscalingPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AutoscalingPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamMember.go b/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamMember.go index ecd197edfd..c71cfcf5ee 100644 --- a/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamMember.go +++ b/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *AutoscalingPolicyIamMember) ToAutoscalingPolicyIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyIamMemberOutput) } +func (i *AutoscalingPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamMember] { + return pulumix.Output[*AutoscalingPolicyIamMember]{ + OutputState: i.ToAutoscalingPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type AutoscalingPolicyIamMemberOutput struct{ *pulumi.OutputState } func (AutoscalingPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AutoscalingPolicyIamMemberOutput) ToAutoscalingPolicyIamMemberOutputWith return o } +func (o AutoscalingPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamMember] { + return pulumix.Output[*AutoscalingPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AutoscalingPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AutoscalingPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamPolicy.go b/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamPolicy.go index ff0ddeeb38..51403ee48d 100644 --- a/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/autoscalingPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -125,6 +126,12 @@ func (i *AutoscalingPolicyIamPolicy) ToAutoscalingPolicyIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(AutoscalingPolicyIamPolicyOutput) } +func (i *AutoscalingPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamPolicy] { + return pulumix.Output[*AutoscalingPolicyIamPolicy]{ + OutputState: i.ToAutoscalingPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AutoscalingPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (AutoscalingPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o AutoscalingPolicyIamPolicyOutput) ToAutoscalingPolicyIamPolicyOutputWith return o } +func (o AutoscalingPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingPolicyIamPolicy] { + return pulumix.Output[*AutoscalingPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingPolicyIamPolicyOutput) AutoscalingPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *AutoscalingPolicyIamPolicy) pulumi.StringOutput { return v.AutoscalingPolicyId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dataproc/v1beta2/cluster.go b/sdk/go/google/dataproc/v1beta2/cluster.go index 7904328ed7..2fb4f9398b 100644 --- a/sdk/go/google/dataproc/v1beta2/cluster.go +++ b/sdk/go/google/dataproc/v1beta2/cluster.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). @@ -142,6 +143,12 @@ func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput return pulumi.ToOutputWithContext(ctx, i).(ClusterOutput) } +func (i *Cluster) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { + return pulumix.Output[*Cluster]{ + OutputState: i.ToClusterOutputWithContext(ctx).OutputState, + } +} + type ClusterOutput struct{ *pulumi.OutputState } func (ClusterOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOu return o } +func (o ClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { + return pulumix.Output[*Cluster]{ + OutputState: o.OutputState, + } +} + // The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused. func (o ClusterOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.ClusterName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataproc/v1beta2/getAutoscalingPolicy.go b/sdk/go/google/dataproc/v1beta2/getAutoscalingPolicy.go index fc7527d5d6..7f099119e6 100644 --- a/sdk/go/google/dataproc/v1beta2/getAutoscalingPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/getAutoscalingPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves autoscaling policy. @@ -75,6 +76,12 @@ func (o LookupAutoscalingPolicyResultOutput) ToLookupAutoscalingPolicyResultOutp return o } +func (o LookupAutoscalingPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAutoscalingPolicyResult] { + return pulumix.Output[LookupAutoscalingPolicyResult]{ + OutputState: o.OutputState, + } +} + func (o LookupAutoscalingPolicyResultOutput) BasicAlgorithm() BasicAutoscalingAlgorithmResponseOutput { return o.ApplyT(func(v LookupAutoscalingPolicyResult) BasicAutoscalingAlgorithmResponse { return v.BasicAlgorithm }).(BasicAutoscalingAlgorithmResponseOutput) } diff --git a/sdk/go/google/dataproc/v1beta2/getAutoscalingPolicyIamPolicy.go b/sdk/go/google/dataproc/v1beta2/getAutoscalingPolicyIamPolicy.go index 5a92e996a1..83f174d338 100644 --- a/sdk/go/google/dataproc/v1beta2/getAutoscalingPolicyIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/getAutoscalingPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupAutoscalingPolicyIamPolicyResultOutput) ToLookupAutoscalingPolicyI return o } +func (o LookupAutoscalingPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAutoscalingPolicyIamPolicyResult] { + return pulumix.Output[LookupAutoscalingPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o LookupAutoscalingPolicyIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupAutoscalingPolicyIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/getCluster.go b/sdk/go/google/dataproc/v1beta2/getCluster.go index 6818f8654c..da0fde0838 100644 --- a/sdk/go/google/dataproc/v1beta2/getCluster.go +++ b/sdk/go/google/dataproc/v1beta2/getCluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the resource representation for a cluster in a project. @@ -84,6 +85,12 @@ func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx co return o } +func (o LookupClusterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClusterResult] { + return pulumix.Output[LookupClusterResult]{ + OutputState: o.OutputState, + } +} + // The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused. func (o LookupClusterResultOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v LookupClusterResult) string { return v.ClusterName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataproc/v1beta2/getJob.go b/sdk/go/google/dataproc/v1beta2/getJob.go index 31e0e2c9e5..6c8067477c 100644 --- a/sdk/go/google/dataproc/v1beta2/getJob.go +++ b/sdk/go/google/dataproc/v1beta2/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the resource representation for a job in a project. @@ -108,6 +109,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled. func (o LookupJobResultOutput) Done() pulumi.BoolOutput { return o.ApplyT(func(v LookupJobResult) bool { return v.Done }).(pulumi.BoolOutput) diff --git a/sdk/go/google/dataproc/v1beta2/getRegionAutoscalingPolicyIamPolicy.go b/sdk/go/google/dataproc/v1beta2/getRegionAutoscalingPolicyIamPolicy.go index 65f4c94e06..b5862d61fc 100644 --- a/sdk/go/google/dataproc/v1beta2/getRegionAutoscalingPolicyIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/getRegionAutoscalingPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupRegionAutoscalingPolicyIamPolicyResultOutput) ToLookupRegionAutosc return o } +func (o LookupRegionAutoscalingPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionAutoscalingPolicyIamPolicyResult] { + return pulumix.Output[LookupRegionAutoscalingPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o LookupRegionAutoscalingPolicyIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegionAutoscalingPolicyIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/getRegionClusterIamPolicy.go b/sdk/go/google/dataproc/v1beta2/getRegionClusterIamPolicy.go index 6a0e9a4c83..7e09812e63 100644 --- a/sdk/go/google/dataproc/v1beta2/getRegionClusterIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/getRegionClusterIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupRegionClusterIamPolicyResultOutput) ToLookupRegionClusterIamPolicy return o } +func (o LookupRegionClusterIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionClusterIamPolicyResult] { + return pulumix.Output[LookupRegionClusterIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o LookupRegionClusterIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegionClusterIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/getRegionJobIamPolicy.go b/sdk/go/google/dataproc/v1beta2/getRegionJobIamPolicy.go index 7eb19b006f..d036a02640 100644 --- a/sdk/go/google/dataproc/v1beta2/getRegionJobIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/getRegionJobIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupRegionJobIamPolicyResultOutput) ToLookupRegionJobIamPolicyResultOu return o } +func (o LookupRegionJobIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionJobIamPolicyResult] { + return pulumix.Output[LookupRegionJobIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o LookupRegionJobIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegionJobIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/getRegionOperationIamPolicy.go b/sdk/go/google/dataproc/v1beta2/getRegionOperationIamPolicy.go index c6caff1254..4af1d1036e 100644 --- a/sdk/go/google/dataproc/v1beta2/getRegionOperationIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/getRegionOperationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupRegionOperationIamPolicyResultOutput) ToLookupRegionOperationIamPo return o } +func (o LookupRegionOperationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionOperationIamPolicyResult] { + return pulumix.Output[LookupRegionOperationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o LookupRegionOperationIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegionOperationIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/getRegionWorkflowTemplateIamPolicy.go b/sdk/go/google/dataproc/v1beta2/getRegionWorkflowTemplateIamPolicy.go index 3a00604576..419107d1c5 100644 --- a/sdk/go/google/dataproc/v1beta2/getRegionWorkflowTemplateIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/getRegionWorkflowTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupRegionWorkflowTemplateIamPolicyResultOutput) ToLookupRegionWorkflo return o } +func (o LookupRegionWorkflowTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegionWorkflowTemplateIamPolicyResult] { + return pulumix.Output[LookupRegionWorkflowTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o LookupRegionWorkflowTemplateIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegionWorkflowTemplateIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/getWorkflowTemplate.go b/sdk/go/google/dataproc/v1beta2/getWorkflowTemplate.go index 5b0d4016b5..d26a9a5bd2 100644 --- a/sdk/go/google/dataproc/v1beta2/getWorkflowTemplate.go +++ b/sdk/go/google/dataproc/v1beta2/getWorkflowTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter. @@ -88,6 +89,12 @@ func (o LookupWorkflowTemplateResultOutput) ToLookupWorkflowTemplateResultOutput return o } +func (o LookupWorkflowTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkflowTemplateResult] { + return pulumix.Output[LookupWorkflowTemplateResult]{ + OutputState: o.OutputState, + } +} + // The time template was created. func (o LookupWorkflowTemplateResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkflowTemplateResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataproc/v1beta2/getWorkflowTemplateIamPolicy.go b/sdk/go/google/dataproc/v1beta2/getWorkflowTemplateIamPolicy.go index 835ba7630b..d07476c6ad 100644 --- a/sdk/go/google/dataproc/v1beta2/getWorkflowTemplateIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/getWorkflowTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupWorkflowTemplateIamPolicyResultOutput) ToLookupWorkflowTemplateIam return o } +func (o LookupWorkflowTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkflowTemplateIamPolicyResult] { + return pulumix.Output[LookupWorkflowTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o LookupWorkflowTemplateIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupWorkflowTemplateIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/job.go b/sdk/go/google/dataproc/v1beta2/job.go index a12973e6a9..05f74d2adb 100644 --- a/sdk/go/google/dataproc/v1beta2/job.go +++ b/sdk/go/google/dataproc/v1beta2/job.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Submits a job to a cluster. @@ -197,6 +198,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -211,6 +218,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled. func (o JobOutput) Done() pulumi.BoolOutput { return o.ApplyT(func(v *Job) pulumi.BoolOutput { return v.Done }).(pulumi.BoolOutput) diff --git a/sdk/go/google/dataproc/v1beta2/pulumiEnums.go b/sdk/go/google/dataproc/v1beta2/pulumiEnums.go index 041e505322..b1ef94a947 100644 --- a/sdk/go/google/dataproc/v1beta2/pulumiEnums.go +++ b/sdk/go/google/dataproc/v1beta2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. The type of IPv6 access for a cluster. @@ -84,6 +85,12 @@ func (o GceClusterConfigPrivateIpv6GoogleAccessOutput) ToGceClusterConfigPrivate }).(GceClusterConfigPrivateIpv6GoogleAccessPtrOutput) } +func (o GceClusterConfigPrivateIpv6GoogleAccessOutput) ToOutput(ctx context.Context) pulumix.Output[GceClusterConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[GceClusterConfigPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o GceClusterConfigPrivateIpv6GoogleAccessOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o GceClusterConfigPrivateIpv6GoogleAccessPtrOutput) ToGceClusterConfigPriv return o } +func (o GceClusterConfigPrivateIpv6GoogleAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GceClusterConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[*GceClusterConfigPrivateIpv6GoogleAccess]{ + OutputState: o.OutputState, + } +} + func (o GceClusterConfigPrivateIpv6GoogleAccessPtrOutput) Elem() GceClusterConfigPrivateIpv6GoogleAccessOutput { return o.ApplyT(func(v *GceClusterConfigPrivateIpv6GoogleAccess) GceClusterConfigPrivateIpv6GoogleAccess { if v != nil { @@ -181,6 +194,12 @@ func (in *gceClusterConfigPrivateIpv6GoogleAccessPtr) ToGceClusterConfigPrivateI return pulumi.ToOutputWithContext(ctx, in).(GceClusterConfigPrivateIpv6GoogleAccessPtrOutput) } +func (in *gceClusterConfigPrivateIpv6GoogleAccessPtr) ToOutput(ctx context.Context) pulumix.Output[*GceClusterConfigPrivateIpv6GoogleAccess] { + return pulumix.Output[*GceClusterConfigPrivateIpv6GoogleAccess]{ + OutputState: in.ToGceClusterConfigPrivateIpv6GoogleAccessPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Specifies the preemptibility of the instance group.The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed.The default value for secondary instances is PREEMPTIBLE. type InstanceGroupConfigPreemptibility string @@ -253,6 +272,12 @@ func (o InstanceGroupConfigPreemptibilityOutput) ToInstanceGroupConfigPreemptibi }).(InstanceGroupConfigPreemptibilityPtrOutput) } +func (o InstanceGroupConfigPreemptibilityOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupConfigPreemptibility] { + return pulumix.Output[InstanceGroupConfigPreemptibility]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupConfigPreemptibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o InstanceGroupConfigPreemptibilityPtrOutput) ToInstanceGroupConfigPreempt return o } +func (o InstanceGroupConfigPreemptibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupConfigPreemptibility] { + return pulumix.Output[*InstanceGroupConfigPreemptibility]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupConfigPreemptibilityPtrOutput) Elem() InstanceGroupConfigPreemptibilityOutput { return o.ApplyT(func(v *InstanceGroupConfigPreemptibility) InstanceGroupConfigPreemptibility { if v != nil { @@ -350,6 +381,12 @@ func (in *instanceGroupConfigPreemptibilityPtr) ToInstanceGroupConfigPreemptibil return pulumi.ToOutputWithContext(ctx, in).(InstanceGroupConfigPreemptibilityPtrOutput) } +func (in *instanceGroupConfigPreemptibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupConfigPreemptibility] { + return pulumix.Output[*InstanceGroupConfigPreemptibility]{ + OutputState: in.ToInstanceGroupConfigPreemptibilityPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Type of reservation to consume type ReservationAffinityConsumeReservationType string @@ -423,6 +460,12 @@ func (o ReservationAffinityConsumeReservationTypeOutput) ToReservationAffinityCo }).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (o ReservationAffinityConsumeReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityConsumeReservationType] { + return pulumix.Output[ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -458,6 +501,12 @@ func (o ReservationAffinityConsumeReservationTypePtrOutput) ToReservationAffinit return o } +func (o ReservationAffinityConsumeReservationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypePtrOutput) Elem() ReservationAffinityConsumeReservationTypeOutput { return o.ApplyT(func(v *ReservationAffinityConsumeReservationType) ReservationAffinityConsumeReservationType { if v != nil { @@ -520,6 +569,12 @@ func (in *reservationAffinityConsumeReservationTypePtr) ToReservationAffinityCon return pulumi.ToOutputWithContext(ctx, in).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (in *reservationAffinityConsumeReservationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: in.ToReservationAffinityConsumeReservationTypePtrOutputWithContext(ctx).OutputState, + } +} + type SoftwareConfigOptionalComponentsItem string const ( @@ -613,6 +668,12 @@ func (o SoftwareConfigOptionalComponentsItemOutput) ToSoftwareConfigOptionalComp }).(SoftwareConfigOptionalComponentsItemPtrOutput) } +func (o SoftwareConfigOptionalComponentsItemOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfigOptionalComponentsItem] { + return pulumix.Output[SoftwareConfigOptionalComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o SoftwareConfigOptionalComponentsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -648,6 +709,12 @@ func (o SoftwareConfigOptionalComponentsItemPtrOutput) ToSoftwareConfigOptionalC return o } +func (o SoftwareConfigOptionalComponentsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfigOptionalComponentsItem] { + return pulumix.Output[*SoftwareConfigOptionalComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o SoftwareConfigOptionalComponentsItemPtrOutput) Elem() SoftwareConfigOptionalComponentsItemOutput { return o.ApplyT(func(v *SoftwareConfigOptionalComponentsItem) SoftwareConfigOptionalComponentsItem { if v != nil { @@ -710,6 +777,12 @@ func (in *softwareConfigOptionalComponentsItemPtr) ToSoftwareConfigOptionalCompo return pulumi.ToOutputWithContext(ctx, in).(SoftwareConfigOptionalComponentsItemPtrOutput) } +func (in *softwareConfigOptionalComponentsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfigOptionalComponentsItem] { + return pulumix.Output[*SoftwareConfigOptionalComponentsItem]{ + OutputState: in.ToSoftwareConfigOptionalComponentsItemPtrOutputWithContext(ctx).OutputState, + } +} + // SoftwareConfigOptionalComponentsItemArrayInput is an input type that accepts SoftwareConfigOptionalComponentsItemArray and SoftwareConfigOptionalComponentsItemArrayOutput values. // You can construct a concrete instance of `SoftwareConfigOptionalComponentsItemArrayInput` via: // @@ -735,6 +808,12 @@ func (i SoftwareConfigOptionalComponentsItemArray) ToSoftwareConfigOptionalCompo return pulumi.ToOutputWithContext(ctx, i).(SoftwareConfigOptionalComponentsItemArrayOutput) } +func (i SoftwareConfigOptionalComponentsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareConfigOptionalComponentsItem] { + return pulumix.Output[[]SoftwareConfigOptionalComponentsItem]{ + OutputState: i.ToSoftwareConfigOptionalComponentsItemArrayOutputWithContext(ctx).OutputState, + } +} + type SoftwareConfigOptionalComponentsItemArrayOutput struct{ *pulumi.OutputState } func (SoftwareConfigOptionalComponentsItemArrayOutput) ElementType() reflect.Type { @@ -749,6 +828,12 @@ func (o SoftwareConfigOptionalComponentsItemArrayOutput) ToSoftwareConfigOptiona return o } +func (o SoftwareConfigOptionalComponentsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareConfigOptionalComponentsItem] { + return pulumix.Output[[]SoftwareConfigOptionalComponentsItem]{ + OutputState: o.OutputState, + } +} + func (o SoftwareConfigOptionalComponentsItemArrayOutput) Index(i pulumi.IntInput) SoftwareConfigOptionalComponentsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SoftwareConfigOptionalComponentsItem { return vs[0].([]SoftwareConfigOptionalComponentsItem)[vs[1].(int)] diff --git a/sdk/go/google/dataproc/v1beta2/pulumiTypes.go b/sdk/go/google/dataproc/v1beta2/pulumiTypes.go index eb142da960..a56e8234d9 100644 --- a/sdk/go/google/dataproc/v1beta2/pulumiTypes.go +++ b/sdk/go/google/dataproc/v1beta2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AcceleratorConfigArgs) ToAcceleratorConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigOutput) } +func (i AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + // AcceleratorConfigArrayInput is an input type that accepts AcceleratorConfigArray and AcceleratorConfigArrayOutput values. // You can construct a concrete instance of `AcceleratorConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AcceleratorConfigArray) ToAcceleratorConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigArrayOutput) } +func (i AcceleratorConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine (https://cloud.google.com/compute/docs/gpus/)). type AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AcceleratorConfigOutput) ToAcceleratorConfigOutputWithContext(ctx contex return o } +func (o AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // The number of the accelerator cards of this type exposed to this instance. func (o AcceleratorConfigOutput) AcceleratorCount() pulumi.IntPtrOutput { return o.ApplyT(func(v AcceleratorConfig) *int { return v.AcceleratorCount }).(pulumi.IntPtrOutput) @@ -116,6 +135,12 @@ func (o AcceleratorConfigArrayOutput) ToAcceleratorConfigArrayOutputWithContext( return o } +func (o AcceleratorConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfig] { + return pulumix.Output[[]AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfig { return vs[0].([]AcceleratorConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AcceleratorConfigResponseOutput) ToAcceleratorConfigResponseOutputWithCo return o } +func (o AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigResponse] { + return pulumix.Output[AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of the accelerator cards of this type exposed to this instance. func (o AcceleratorConfigResponseOutput) AcceleratorCount() pulumi.IntOutput { return o.ApplyT(func(v AcceleratorConfigResponse) int { return v.AcceleratorCount }).(pulumi.IntOutput) @@ -169,6 +200,12 @@ func (o AcceleratorConfigResponseArrayOutput) ToAcceleratorConfigResponseArrayOu return o } +func (o AcceleratorConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorConfigResponse] { + return pulumix.Output[[]AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorConfigResponse { return vs[0].([]AcceleratorConfigResponse)[vs[1].(int)] @@ -210,6 +247,12 @@ func (i AutoscalingConfigArgs) ToAutoscalingConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AutoscalingConfigOutput) } +func (i AutoscalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AutoscalingConfig] { + return pulumix.Output[AutoscalingConfig]{ + OutputState: i.ToAutoscalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i AutoscalingConfigArgs) ToAutoscalingConfigPtrOutput() AutoscalingConfigPtrOutput { return i.ToAutoscalingConfigPtrOutputWithContext(context.Background()) } @@ -251,6 +294,12 @@ func (i *autoscalingConfigPtrType) ToAutoscalingConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AutoscalingConfigPtrOutput) } +func (i *autoscalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingConfig] { + return pulumix.Output[*AutoscalingConfig]{ + OutputState: i.ToAutoscalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Autoscaling Policy config associated with the cluster. type AutoscalingConfigOutput struct{ *pulumi.OutputState } @@ -276,6 +325,12 @@ func (o AutoscalingConfigOutput) ToAutoscalingConfigPtrOutputWithContext(ctx con }).(AutoscalingConfigPtrOutput) } +func (o AutoscalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingConfig] { + return pulumix.Output[AutoscalingConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id] projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be in the same project and Dataproc region. func (o AutoscalingConfigOutput) PolicyUri() pulumi.StringPtrOutput { return o.ApplyT(func(v AutoscalingConfig) *string { return v.PolicyUri }).(pulumi.StringPtrOutput) @@ -295,6 +350,12 @@ func (o AutoscalingConfigPtrOutput) ToAutoscalingConfigPtrOutputWithContext(ctx return o } +func (o AutoscalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutoscalingConfig] { + return pulumix.Output[*AutoscalingConfig]{ + OutputState: o.OutputState, + } +} + func (o AutoscalingConfigPtrOutput) Elem() AutoscalingConfigOutput { return o.ApplyT(func(v *AutoscalingConfig) AutoscalingConfig { if v != nil { @@ -336,6 +397,12 @@ func (o AutoscalingConfigResponseOutput) ToAutoscalingConfigResponseOutputWithCo return o } +func (o AutoscalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutoscalingConfigResponse] { + return pulumix.Output[AutoscalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id] projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be in the same project and Dataproc region. func (o AutoscalingConfigResponseOutput) PolicyUri() pulumi.StringOutput { return o.ApplyT(func(v AutoscalingConfigResponse) string { return v.PolicyUri }).(pulumi.StringOutput) @@ -380,6 +447,12 @@ func (i BasicAutoscalingAlgorithmArgs) ToBasicAutoscalingAlgorithmOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(BasicAutoscalingAlgorithmOutput) } +func (i BasicAutoscalingAlgorithmArgs) ToOutput(ctx context.Context) pulumix.Output[BasicAutoscalingAlgorithm] { + return pulumix.Output[BasicAutoscalingAlgorithm]{ + OutputState: i.ToBasicAutoscalingAlgorithmOutputWithContext(ctx).OutputState, + } +} + func (i BasicAutoscalingAlgorithmArgs) ToBasicAutoscalingAlgorithmPtrOutput() BasicAutoscalingAlgorithmPtrOutput { return i.ToBasicAutoscalingAlgorithmPtrOutputWithContext(context.Background()) } @@ -421,6 +494,12 @@ func (i *basicAutoscalingAlgorithmPtrType) ToBasicAutoscalingAlgorithmPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(BasicAutoscalingAlgorithmPtrOutput) } +func (i *basicAutoscalingAlgorithmPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicAutoscalingAlgorithm] { + return pulumix.Output[*BasicAutoscalingAlgorithm]{ + OutputState: i.ToBasicAutoscalingAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // Basic algorithm for autoscaling. type BasicAutoscalingAlgorithmOutput struct{ *pulumi.OutputState } @@ -446,6 +525,12 @@ func (o BasicAutoscalingAlgorithmOutput) ToBasicAutoscalingAlgorithmPtrOutputWit }).(BasicAutoscalingAlgorithmPtrOutput) } +func (o BasicAutoscalingAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[BasicAutoscalingAlgorithm] { + return pulumix.Output[BasicAutoscalingAlgorithm]{ + OutputState: o.OutputState, + } +} + // Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.Bounds: 2m, 1d. Default: 2m. func (o BasicAutoscalingAlgorithmOutput) CooldownPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v BasicAutoscalingAlgorithm) *string { return v.CooldownPeriod }).(pulumi.StringPtrOutput) @@ -470,6 +555,12 @@ func (o BasicAutoscalingAlgorithmPtrOutput) ToBasicAutoscalingAlgorithmPtrOutput return o } +func (o BasicAutoscalingAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicAutoscalingAlgorithm] { + return pulumix.Output[*BasicAutoscalingAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o BasicAutoscalingAlgorithmPtrOutput) Elem() BasicAutoscalingAlgorithmOutput { return o.ApplyT(func(v *BasicAutoscalingAlgorithm) BasicAutoscalingAlgorithm { if v != nil { @@ -523,6 +614,12 @@ func (o BasicAutoscalingAlgorithmResponseOutput) ToBasicAutoscalingAlgorithmResp return o } +func (o BasicAutoscalingAlgorithmResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicAutoscalingAlgorithmResponse] { + return pulumix.Output[BasicAutoscalingAlgorithmResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.Bounds: 2m, 1d. Default: 2m. func (o BasicAutoscalingAlgorithmResponseOutput) CooldownPeriod() pulumi.StringOutput { return o.ApplyT(func(v BasicAutoscalingAlgorithmResponse) string { return v.CooldownPeriod }).(pulumi.StringOutput) @@ -584,6 +681,12 @@ func (i BasicYarnAutoscalingConfigArgs) ToBasicYarnAutoscalingConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(BasicYarnAutoscalingConfigOutput) } +func (i BasicYarnAutoscalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BasicYarnAutoscalingConfig] { + return pulumix.Output[BasicYarnAutoscalingConfig]{ + OutputState: i.ToBasicYarnAutoscalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i BasicYarnAutoscalingConfigArgs) ToBasicYarnAutoscalingConfigPtrOutput() BasicYarnAutoscalingConfigPtrOutput { return i.ToBasicYarnAutoscalingConfigPtrOutputWithContext(context.Background()) } @@ -625,6 +728,12 @@ func (i *basicYarnAutoscalingConfigPtrType) ToBasicYarnAutoscalingConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(BasicYarnAutoscalingConfigPtrOutput) } +func (i *basicYarnAutoscalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicYarnAutoscalingConfig] { + return pulumix.Output[*BasicYarnAutoscalingConfig]{ + OutputState: i.ToBasicYarnAutoscalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Basic autoscaling configurations for YARN. type BasicYarnAutoscalingConfigOutput struct{ *pulumi.OutputState } @@ -650,6 +759,12 @@ func (o BasicYarnAutoscalingConfigOutput) ToBasicYarnAutoscalingConfigPtrOutputW }).(BasicYarnAutoscalingConfigPtrOutput) } +func (o BasicYarnAutoscalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BasicYarnAutoscalingConfig] { + return pulumix.Output[BasicYarnAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + // Timeout for YARN graceful decommissioning of Node Managers. Specifies the duration to wait for jobs to complete before forcefully removing workers (and potentially interrupting jobs). Only applicable to downscaling operations.Bounds: 0s, 1d. func (o BasicYarnAutoscalingConfigOutput) GracefulDecommissionTimeout() pulumi.StringOutput { return o.ApplyT(func(v BasicYarnAutoscalingConfig) string { return v.GracefulDecommissionTimeout }).(pulumi.StringOutput) @@ -689,6 +804,12 @@ func (o BasicYarnAutoscalingConfigPtrOutput) ToBasicYarnAutoscalingConfigPtrOutp return o } +func (o BasicYarnAutoscalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicYarnAutoscalingConfig] { + return pulumix.Output[*BasicYarnAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + func (o BasicYarnAutoscalingConfigPtrOutput) Elem() BasicYarnAutoscalingConfigOutput { return o.ApplyT(func(v *BasicYarnAutoscalingConfig) BasicYarnAutoscalingConfig { if v != nil { @@ -778,6 +899,12 @@ func (o BasicYarnAutoscalingConfigResponseOutput) ToBasicYarnAutoscalingConfigRe return o } +func (o BasicYarnAutoscalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicYarnAutoscalingConfigResponse] { + return pulumix.Output[BasicYarnAutoscalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Timeout for YARN graceful decommissioning of Node Managers. Specifies the duration to wait for jobs to complete before forcefully removing workers (and potentially interrupting jobs). Only applicable to downscaling operations.Bounds: 0s, 1d. func (o BasicYarnAutoscalingConfigResponseOutput) GracefulDecommissionTimeout() pulumi.StringOutput { return o.ApplyT(func(v BasicYarnAutoscalingConfigResponse) string { return v.GracefulDecommissionTimeout }).(pulumi.StringOutput) @@ -846,6 +973,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -871,6 +1004,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates members with a role. type BindingOutput struct{ *pulumi.OutputState } @@ -886,6 +1025,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -915,6 +1060,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -946,6 +1097,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -975,6 +1132,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1072,6 +1235,12 @@ func (i ClusterConfigArgs) ToClusterConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ClusterConfigOutput) } +func (i ClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterConfig] { + return pulumix.Output[ClusterConfig]{ + OutputState: i.ToClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i ClusterConfigArgs) ToClusterConfigPtrOutput() ClusterConfigPtrOutput { return i.ToClusterConfigPtrOutputWithContext(context.Background()) } @@ -1113,6 +1282,12 @@ func (i *clusterConfigPtrType) ToClusterConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ClusterConfigPtrOutput) } +func (i *clusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterConfig] { + return pulumix.Output[*ClusterConfig]{ + OutputState: i.ToClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The cluster config. type ClusterConfigOutput struct{ *pulumi.OutputState } @@ -1138,6 +1313,12 @@ func (o ClusterConfigOutput) ToClusterConfigPtrOutputWithContext(ctx context.Con }).(ClusterConfigPtrOutput) } +func (o ClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterConfig] { + return pulumix.Output[ClusterConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset. func (o ClusterConfigOutput) AutoscalingConfig() AutoscalingConfigPtrOutput { return o.ApplyT(func(v ClusterConfig) *AutoscalingConfig { return v.AutoscalingConfig }).(AutoscalingConfigPtrOutput) @@ -1227,6 +1408,12 @@ func (o ClusterConfigPtrOutput) ToClusterConfigPtrOutputWithContext(ctx context. return o } +func (o ClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterConfig] { + return pulumix.Output[*ClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o ClusterConfigPtrOutput) Elem() ClusterConfigOutput { return o.ApplyT(func(v *ClusterConfig) ClusterConfig { if v != nil { @@ -1436,6 +1623,12 @@ func (o ClusterConfigResponseOutput) ToClusterConfigResponseOutputWithContext(ct return o } +func (o ClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterConfigResponse] { + return pulumix.Output[ClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset. func (o ClusterConfigResponseOutput) AutoscalingConfig() AutoscalingConfigResponseOutput { return o.ApplyT(func(v ClusterConfigResponse) AutoscalingConfigResponse { return v.AutoscalingConfig }).(AutoscalingConfigResponseOutput) @@ -1534,6 +1727,12 @@ func (o ClusterMetricsResponseOutput) ToClusterMetricsResponseOutputWithContext( return o } +func (o ClusterMetricsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterMetricsResponse] { + return pulumix.Output[ClusterMetricsResponse]{ + OutputState: o.OutputState, + } +} + // The HDFS metrics. func (o ClusterMetricsResponseOutput) HdfsMetrics() pulumi.StringMapOutput { return o.ApplyT(func(v ClusterMetricsResponse) map[string]string { return v.HdfsMetrics }).(pulumi.StringMapOutput) @@ -1583,6 +1782,12 @@ func (i ClusterSelectorArgs) ToClusterSelectorOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ClusterSelectorOutput) } +func (i ClusterSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterSelector] { + return pulumix.Output[ClusterSelector]{ + OutputState: i.ToClusterSelectorOutputWithContext(ctx).OutputState, + } +} + func (i ClusterSelectorArgs) ToClusterSelectorPtrOutput() ClusterSelectorPtrOutput { return i.ToClusterSelectorPtrOutputWithContext(context.Background()) } @@ -1624,6 +1829,12 @@ func (i *clusterSelectorPtrType) ToClusterSelectorPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ClusterSelectorPtrOutput) } +func (i *clusterSelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterSelector] { + return pulumix.Output[*ClusterSelector]{ + OutputState: i.ToClusterSelectorPtrOutputWithContext(ctx).OutputState, + } +} + // A selector that chooses target cluster for jobs based on metadata. type ClusterSelectorOutput struct{ *pulumi.OutputState } @@ -1649,6 +1860,12 @@ func (o ClusterSelectorOutput) ToClusterSelectorPtrOutputWithContext(ctx context }).(ClusterSelectorPtrOutput) } +func (o ClusterSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterSelector] { + return pulumix.Output[ClusterSelector]{ + OutputState: o.OutputState, + } +} + // The cluster labels. Cluster must have all labels to match. func (o ClusterSelectorOutput) ClusterLabels() pulumi.StringMapOutput { return o.ApplyT(func(v ClusterSelector) map[string]string { return v.ClusterLabels }).(pulumi.StringMapOutput) @@ -1673,6 +1890,12 @@ func (o ClusterSelectorPtrOutput) ToClusterSelectorPtrOutputWithContext(ctx cont return o } +func (o ClusterSelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterSelector] { + return pulumix.Output[*ClusterSelector]{ + OutputState: o.OutputState, + } +} + func (o ClusterSelectorPtrOutput) Elem() ClusterSelectorOutput { return o.ApplyT(func(v *ClusterSelector) ClusterSelector { if v != nil { @@ -1726,6 +1949,12 @@ func (o ClusterSelectorResponseOutput) ToClusterSelectorResponseOutputWithContex return o } +func (o ClusterSelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterSelectorResponse] { + return pulumix.Output[ClusterSelectorResponse]{ + OutputState: o.OutputState, + } +} + // The cluster labels. Cluster must have all labels to match. func (o ClusterSelectorResponseOutput) ClusterLabels() pulumi.StringMapOutput { return o.ApplyT(func(v ClusterSelectorResponse) map[string]string { return v.ClusterLabels }).(pulumi.StringMapOutput) @@ -1763,6 +1992,12 @@ func (o ClusterStatusResponseOutput) ToClusterStatusResponseOutputWithContext(ct return o } +func (o ClusterStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterStatusResponse] { + return pulumix.Output[ClusterStatusResponse]{ + OutputState: o.OutputState, + } +} + // Optional details of cluster's state. func (o ClusterStatusResponseOutput) Detail() pulumi.StringOutput { return o.ApplyT(func(v ClusterStatusResponse) string { return v.Detail }).(pulumi.StringOutput) @@ -1797,6 +2032,12 @@ func (o ClusterStatusResponseArrayOutput) ToClusterStatusResponseArrayOutputWith return o } +func (o ClusterStatusResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterStatusResponse] { + return pulumix.Output[[]ClusterStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o ClusterStatusResponseArrayOutput) Index(i pulumi.IntInput) ClusterStatusResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterStatusResponse { return vs[0].([]ClusterStatusResponse)[vs[1].(int)] @@ -1846,6 +2087,12 @@ func (i DiskConfigArgs) ToDiskConfigOutputWithContext(ctx context.Context) DiskC return pulumi.ToOutputWithContext(ctx, i).(DiskConfigOutput) } +func (i DiskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DiskConfig] { + return pulumix.Output[DiskConfig]{ + OutputState: i.ToDiskConfigOutputWithContext(ctx).OutputState, + } +} + func (i DiskConfigArgs) ToDiskConfigPtrOutput() DiskConfigPtrOutput { return i.ToDiskConfigPtrOutputWithContext(context.Background()) } @@ -1887,6 +2134,12 @@ func (i *diskConfigPtrType) ToDiskConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DiskConfigPtrOutput) } +func (i *diskConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskConfig] { + return pulumix.Output[*DiskConfig]{ + OutputState: i.ToDiskConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the config of disk options for a group of VM instances. type DiskConfigOutput struct{ *pulumi.OutputState } @@ -1912,6 +2165,12 @@ func (o DiskConfigOutput) ToDiskConfigPtrOutputWithContext(ctx context.Context) }).(DiskConfigPtrOutput) } +func (o DiskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DiskConfig] { + return pulumix.Output[DiskConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Size in GB of the boot disk (default is 500GB). func (o DiskConfigOutput) BootDiskSizeGb() pulumi.IntPtrOutput { return o.ApplyT(func(v DiskConfig) *int { return v.BootDiskSizeGb }).(pulumi.IntPtrOutput) @@ -1941,6 +2200,12 @@ func (o DiskConfigPtrOutput) ToDiskConfigPtrOutputWithContext(ctx context.Contex return o } +func (o DiskConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskConfig] { + return pulumix.Output[*DiskConfig]{ + OutputState: o.OutputState, + } +} + func (o DiskConfigPtrOutput) Elem() DiskConfigOutput { return o.ApplyT(func(v *DiskConfig) DiskConfig { if v != nil { @@ -2006,6 +2271,12 @@ func (o DiskConfigResponseOutput) ToDiskConfigResponseOutputWithContext(ctx cont return o } +func (o DiskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskConfigResponse] { + return pulumix.Output[DiskConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Size in GB of the boot disk (default is 500GB). func (o DiskConfigResponseOutput) BootDiskSizeGb() pulumi.IntOutput { return o.ApplyT(func(v DiskConfigResponse) int { return v.BootDiskSizeGb }).(pulumi.IntOutput) @@ -2056,6 +2327,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -2097,6 +2374,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Encryption settings for the cluster. type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -2122,6 +2405,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster. func (o EncryptionConfigOutput) GcePdKmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.GcePdKmsKeyName }).(pulumi.StringPtrOutput) @@ -2141,6 +2430,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -2182,6 +2477,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster. func (o EncryptionConfigResponseOutput) GcePdKmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.GcePdKmsKeyName }).(pulumi.StringOutput) @@ -2222,6 +2523,12 @@ func (i EndpointConfigArgs) ToEndpointConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(EndpointConfigOutput) } +func (i EndpointConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EndpointConfig] { + return pulumix.Output[EndpointConfig]{ + OutputState: i.ToEndpointConfigOutputWithContext(ctx).OutputState, + } +} + func (i EndpointConfigArgs) ToEndpointConfigPtrOutput() EndpointConfigPtrOutput { return i.ToEndpointConfigPtrOutputWithContext(context.Background()) } @@ -2263,6 +2570,12 @@ func (i *endpointConfigPtrType) ToEndpointConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(EndpointConfigPtrOutput) } +func (i *endpointConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EndpointConfig] { + return pulumix.Output[*EndpointConfig]{ + OutputState: i.ToEndpointConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Endpoint config for this cluster type EndpointConfigOutput struct{ *pulumi.OutputState } @@ -2288,6 +2601,12 @@ func (o EndpointConfigOutput) ToEndpointConfigPtrOutputWithContext(ctx context.C }).(EndpointConfigPtrOutput) } +func (o EndpointConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointConfig] { + return pulumix.Output[EndpointConfig]{ + OutputState: o.OutputState, + } +} + // Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false. func (o EndpointConfigOutput) EnableHttpPortAccess() pulumi.BoolPtrOutput { return o.ApplyT(func(v EndpointConfig) *bool { return v.EnableHttpPortAccess }).(pulumi.BoolPtrOutput) @@ -2307,6 +2626,12 @@ func (o EndpointConfigPtrOutput) ToEndpointConfigPtrOutputWithContext(ctx contex return o } +func (o EndpointConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointConfig] { + return pulumix.Output[*EndpointConfig]{ + OutputState: o.OutputState, + } +} + func (o EndpointConfigPtrOutput) Elem() EndpointConfigOutput { return o.ApplyT(func(v *EndpointConfig) EndpointConfig { if v != nil { @@ -2350,6 +2675,12 @@ func (o EndpointConfigResponseOutput) ToEndpointConfigResponseOutputWithContext( return o } +func (o EndpointConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointConfigResponse] { + return pulumix.Output[EndpointConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false. func (o EndpointConfigResponseOutput) EnableHttpPortAccess() pulumi.BoolOutput { return o.ApplyT(func(v EndpointConfigResponse) bool { return v.EnableHttpPortAccess }).(pulumi.BoolOutput) @@ -2407,6 +2738,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -2448,6 +2785,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -2473,6 +2816,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2507,6 +2856,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -2584,6 +2939,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2683,6 +3044,12 @@ func (i GceClusterConfigArgs) ToGceClusterConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GceClusterConfigOutput) } +func (i GceClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GceClusterConfig] { + return pulumix.Output[GceClusterConfig]{ + OutputState: i.ToGceClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i GceClusterConfigArgs) ToGceClusterConfigPtrOutput() GceClusterConfigPtrOutput { return i.ToGceClusterConfigPtrOutputWithContext(context.Background()) } @@ -2724,6 +3091,12 @@ func (i *gceClusterConfigPtrType) ToGceClusterConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GceClusterConfigPtrOutput) } +func (i *gceClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GceClusterConfig] { + return pulumix.Output[*GceClusterConfig]{ + OutputState: i.ToGceClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster. type GceClusterConfigOutput struct{ *pulumi.OutputState } @@ -2749,6 +3122,12 @@ func (o GceClusterConfigOutput) ToGceClusterConfigPtrOutputWithContext(ctx conte }).(GceClusterConfigPtrOutput) } +func (o GceClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GceClusterConfig] { + return pulumix.Output[GceClusterConfig]{ + OutputState: o.OutputState, + } +} + // Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses. func (o GceClusterConfigOutput) InternalIpOnly() pulumi.BoolPtrOutput { return o.ApplyT(func(v GceClusterConfig) *bool { return v.InternalIpOnly }).(pulumi.BoolPtrOutput) @@ -2823,6 +3202,12 @@ func (o GceClusterConfigPtrOutput) ToGceClusterConfigPtrOutputWithContext(ctx co return o } +func (o GceClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GceClusterConfig] { + return pulumix.Output[*GceClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o GceClusterConfigPtrOutput) Elem() GceClusterConfigOutput { return o.ApplyT(func(v *GceClusterConfig) GceClusterConfig { if v != nil { @@ -2996,6 +3381,12 @@ func (o GceClusterConfigResponseOutput) ToGceClusterConfigResponseOutputWithCont return o } +func (o GceClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GceClusterConfigResponse] { + return pulumix.Output[GceClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses. func (o GceClusterConfigResponseOutput) InternalIpOnly() pulumi.BoolOutput { return o.ApplyT(func(v GceClusterConfigResponse) bool { return v.InternalIpOnly }).(pulumi.BoolOutput) @@ -3091,6 +3482,12 @@ func (i GkeClusterConfigArgs) ToGkeClusterConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GkeClusterConfigOutput) } +func (i GkeClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GkeClusterConfig] { + return pulumix.Output[GkeClusterConfig]{ + OutputState: i.ToGkeClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i GkeClusterConfigArgs) ToGkeClusterConfigPtrOutput() GkeClusterConfigPtrOutput { return i.ToGkeClusterConfigPtrOutputWithContext(context.Background()) } @@ -3132,6 +3529,12 @@ func (i *gkeClusterConfigPtrType) ToGkeClusterConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GkeClusterConfigPtrOutput) } +func (i *gkeClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeClusterConfig] { + return pulumix.Output[*GkeClusterConfig]{ + OutputState: i.ToGkeClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The GKE config for this cluster. type GkeClusterConfigOutput struct{ *pulumi.OutputState } @@ -3157,6 +3560,12 @@ func (o GkeClusterConfigOutput) ToGkeClusterConfigPtrOutputWithContext(ctx conte }).(GkeClusterConfigPtrOutput) } +func (o GkeClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GkeClusterConfig] { + return pulumix.Output[GkeClusterConfig]{ + OutputState: o.OutputState, + } +} + // Optional. A target for the deployment. func (o GkeClusterConfigOutput) NamespacedGkeDeploymentTarget() NamespacedGkeDeploymentTargetPtrOutput { return o.ApplyT(func(v GkeClusterConfig) *NamespacedGkeDeploymentTarget { return v.NamespacedGkeDeploymentTarget }).(NamespacedGkeDeploymentTargetPtrOutput) @@ -3176,6 +3585,12 @@ func (o GkeClusterConfigPtrOutput) ToGkeClusterConfigPtrOutputWithContext(ctx co return o } +func (o GkeClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeClusterConfig] { + return pulumix.Output[*GkeClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o GkeClusterConfigPtrOutput) Elem() GkeClusterConfigOutput { return o.ApplyT(func(v *GkeClusterConfig) GkeClusterConfig { if v != nil { @@ -3217,6 +3632,12 @@ func (o GkeClusterConfigResponseOutput) ToGkeClusterConfigResponseOutputWithCont return o } +func (o GkeClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeClusterConfigResponse] { + return pulumix.Output[GkeClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A target for the deployment. func (o GkeClusterConfigResponseOutput) NamespacedGkeDeploymentTarget() NamespacedGkeDeploymentTargetResponseOutput { return o.ApplyT(func(v GkeClusterConfigResponse) NamespacedGkeDeploymentTargetResponse { @@ -3287,6 +3708,12 @@ func (i HadoopJobArgs) ToHadoopJobOutputWithContext(ctx context.Context) HadoopJ return pulumi.ToOutputWithContext(ctx, i).(HadoopJobOutput) } +func (i HadoopJobArgs) ToOutput(ctx context.Context) pulumix.Output[HadoopJob] { + return pulumix.Output[HadoopJob]{ + OutputState: i.ToHadoopJobOutputWithContext(ctx).OutputState, + } +} + func (i HadoopJobArgs) ToHadoopJobPtrOutput() HadoopJobPtrOutput { return i.ToHadoopJobPtrOutputWithContext(context.Background()) } @@ -3328,6 +3755,12 @@ func (i *hadoopJobPtrType) ToHadoopJobPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(HadoopJobPtrOutput) } +func (i *hadoopJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*HadoopJob] { + return pulumix.Output[*HadoopJob]{ + OutputState: i.ToHadoopJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). type HadoopJobOutput struct{ *pulumi.OutputState } @@ -3353,6 +3786,12 @@ func (o HadoopJobOutput) ToHadoopJobPtrOutputWithContext(ctx context.Context) Ha }).(HadoopJobPtrOutput) } +func (o HadoopJobOutput) ToOutput(ctx context.Context) pulumix.Output[HadoopJob] { + return pulumix.Output[HadoopJob]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip. func (o HadoopJobOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v HadoopJob) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -3407,6 +3846,12 @@ func (o HadoopJobPtrOutput) ToHadoopJobPtrOutputWithContext(ctx context.Context) return o } +func (o HadoopJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HadoopJob] { + return pulumix.Output[*HadoopJob]{ + OutputState: o.OutputState, + } +} + func (o HadoopJobPtrOutput) Elem() HadoopJobOutput { return o.ApplyT(func(v *HadoopJob) HadoopJob { if v != nil { @@ -3532,6 +3977,12 @@ func (o HadoopJobResponseOutput) ToHadoopJobResponseOutputWithContext(ctx contex return o } +func (o HadoopJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HadoopJobResponse] { + return pulumix.Output[HadoopJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip. func (o HadoopJobResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v HadoopJobResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -3627,6 +4078,12 @@ func (i HiveJobArgs) ToHiveJobOutputWithContext(ctx context.Context) HiveJobOutp return pulumi.ToOutputWithContext(ctx, i).(HiveJobOutput) } +func (i HiveJobArgs) ToOutput(ctx context.Context) pulumix.Output[HiveJob] { + return pulumix.Output[HiveJob]{ + OutputState: i.ToHiveJobOutputWithContext(ctx).OutputState, + } +} + func (i HiveJobArgs) ToHiveJobPtrOutput() HiveJobPtrOutput { return i.ToHiveJobPtrOutputWithContext(context.Background()) } @@ -3668,6 +4125,12 @@ func (i *hiveJobPtrType) ToHiveJobPtrOutputWithContext(ctx context.Context) Hive return pulumi.ToOutputWithContext(ctx, i).(HiveJobPtrOutput) } +func (i *hiveJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*HiveJob] { + return pulumix.Output[*HiveJob]{ + OutputState: i.ToHiveJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on YARN. type HiveJobOutput struct{ *pulumi.OutputState } @@ -3693,6 +4156,12 @@ func (o HiveJobOutput) ToHiveJobPtrOutputWithContext(ctx context.Context) HiveJo }).(HiveJobPtrOutput) } +func (o HiveJobOutput) ToOutput(ctx context.Context) pulumix.Output[HiveJob] { + return pulumix.Output[HiveJob]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. func (o HiveJobOutput) ContinueOnFailure() pulumi.BoolPtrOutput { return o.ApplyT(func(v HiveJob) *bool { return v.ContinueOnFailure }).(pulumi.BoolPtrOutput) @@ -3737,6 +4206,12 @@ func (o HiveJobPtrOutput) ToHiveJobPtrOutputWithContext(ctx context.Context) Hiv return o } +func (o HiveJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HiveJob] { + return pulumix.Output[*HiveJob]{ + OutputState: o.OutputState, + } +} + func (o HiveJobPtrOutput) Elem() HiveJobOutput { return o.ApplyT(func(v *HiveJob) HiveJob { if v != nil { @@ -3838,6 +4313,12 @@ func (o HiveJobResponseOutput) ToHiveJobResponseOutputWithContext(ctx context.Co return o } +func (o HiveJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HiveJobResponse] { + return pulumix.Output[HiveJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. func (o HiveJobResponseOutput) ContinueOnFailure() pulumi.BoolOutput { return o.ApplyT(func(v HiveJobResponse) bool { return v.ContinueOnFailure }).(pulumi.BoolOutput) @@ -3911,6 +4392,12 @@ func (i InstanceGroupAutoscalingPolicyConfigArgs) ToInstanceGroupAutoscalingPoli return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupAutoscalingPolicyConfigOutput) } +func (i InstanceGroupAutoscalingPolicyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupAutoscalingPolicyConfig] { + return pulumix.Output[InstanceGroupAutoscalingPolicyConfig]{ + OutputState: i.ToInstanceGroupAutoscalingPolicyConfigOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupAutoscalingPolicyConfigArgs) ToInstanceGroupAutoscalingPolicyConfigPtrOutput() InstanceGroupAutoscalingPolicyConfigPtrOutput { return i.ToInstanceGroupAutoscalingPolicyConfigPtrOutputWithContext(context.Background()) } @@ -3952,6 +4439,12 @@ func (i *instanceGroupAutoscalingPolicyConfigPtrType) ToInstanceGroupAutoscaling return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupAutoscalingPolicyConfigPtrOutput) } +func (i *instanceGroupAutoscalingPolicyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupAutoscalingPolicyConfig] { + return pulumix.Output[*InstanceGroupAutoscalingPolicyConfig]{ + OutputState: i.ToInstanceGroupAutoscalingPolicyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the size bounds of an instance group, including its proportional size to other groups. type InstanceGroupAutoscalingPolicyConfigOutput struct{ *pulumi.OutputState } @@ -3977,6 +4470,12 @@ func (o InstanceGroupAutoscalingPolicyConfigOutput) ToInstanceGroupAutoscalingPo }).(InstanceGroupAutoscalingPolicyConfigPtrOutput) } +func (o InstanceGroupAutoscalingPolicyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupAutoscalingPolicyConfig] { + return pulumix.Output[InstanceGroupAutoscalingPolicyConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Maximum number of instances for this group. Required for primary workers. Note that by default, clusters will not use secondary workers. Required for secondary workers if the minimum secondary instances is set.Primary workers - Bounds: [min_instances, ). Required. Secondary workers - Bounds: [min_instances, ). Default: 0. func (o InstanceGroupAutoscalingPolicyConfigOutput) MaxInstances() pulumi.IntPtrOutput { return o.ApplyT(func(v InstanceGroupAutoscalingPolicyConfig) *int { return v.MaxInstances }).(pulumi.IntPtrOutput) @@ -4006,6 +4505,12 @@ func (o InstanceGroupAutoscalingPolicyConfigPtrOutput) ToInstanceGroupAutoscalin return o } +func (o InstanceGroupAutoscalingPolicyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupAutoscalingPolicyConfig] { + return pulumix.Output[*InstanceGroupAutoscalingPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupAutoscalingPolicyConfigPtrOutput) Elem() InstanceGroupAutoscalingPolicyConfigOutput { return o.ApplyT(func(v *InstanceGroupAutoscalingPolicyConfig) InstanceGroupAutoscalingPolicyConfig { if v != nil { @@ -4071,6 +4576,12 @@ func (o InstanceGroupAutoscalingPolicyConfigResponseOutput) ToInstanceGroupAutos return o } +func (o InstanceGroupAutoscalingPolicyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupAutoscalingPolicyConfigResponse] { + return pulumix.Output[InstanceGroupAutoscalingPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Maximum number of instances for this group. Required for primary workers. Note that by default, clusters will not use secondary workers. Required for secondary workers if the minimum secondary instances is set.Primary workers - Bounds: [min_instances, ). Required. Secondary workers - Bounds: [min_instances, ). Default: 0. func (o InstanceGroupAutoscalingPolicyConfigResponseOutput) MaxInstances() pulumi.IntOutput { return o.ApplyT(func(v InstanceGroupAutoscalingPolicyConfigResponse) int { return v.MaxInstances }).(pulumi.IntOutput) @@ -4145,6 +4656,12 @@ func (i InstanceGroupConfigArgs) ToInstanceGroupConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupConfigOutput) } +func (i InstanceGroupConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupConfig] { + return pulumix.Output[InstanceGroupConfig]{ + OutputState: i.ToInstanceGroupConfigOutputWithContext(ctx).OutputState, + } +} + func (i InstanceGroupConfigArgs) ToInstanceGroupConfigPtrOutput() InstanceGroupConfigPtrOutput { return i.ToInstanceGroupConfigPtrOutputWithContext(context.Background()) } @@ -4186,6 +4703,12 @@ func (i *instanceGroupConfigPtrType) ToInstanceGroupConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(InstanceGroupConfigPtrOutput) } +func (i *instanceGroupConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupConfig] { + return pulumix.Output[*InstanceGroupConfig]{ + OutputState: i.ToInstanceGroupConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The config settings for Compute Engine resources in an instance group, such as a master or worker group. type InstanceGroupConfigOutput struct{ *pulumi.OutputState } @@ -4211,6 +4734,12 @@ func (o InstanceGroupConfigOutput) ToInstanceGroupConfigPtrOutputWithContext(ctx }).(InstanceGroupConfigPtrOutput) } +func (o InstanceGroupConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupConfig] { + return pulumix.Output[InstanceGroupConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The Compute Engine accelerator configuration for these instances. func (o InstanceGroupConfigOutput) Accelerators() AcceleratorConfigArrayOutput { return o.ApplyT(func(v InstanceGroupConfig) []AcceleratorConfig { return v.Accelerators }).(AcceleratorConfigArrayOutput) @@ -4260,6 +4789,12 @@ func (o InstanceGroupConfigPtrOutput) ToInstanceGroupConfigPtrOutputWithContext( return o } +func (o InstanceGroupConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceGroupConfig] { + return pulumix.Output[*InstanceGroupConfig]{ + OutputState: o.OutputState, + } +} + func (o InstanceGroupConfigPtrOutput) Elem() InstanceGroupConfigOutput { return o.ApplyT(func(v *InstanceGroupConfig) InstanceGroupConfig { if v != nil { @@ -4381,6 +4916,12 @@ func (o InstanceGroupConfigResponseOutput) ToInstanceGroupConfigResponseOutputWi return o } +func (o InstanceGroupConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceGroupConfigResponse] { + return pulumix.Output[InstanceGroupConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Compute Engine accelerator configuration for these instances. func (o InstanceGroupConfigResponseOutput) Accelerators() AcceleratorConfigResponseArrayOutput { return o.ApplyT(func(v InstanceGroupConfigResponse) []AcceleratorConfigResponse { return v.Accelerators }).(AcceleratorConfigResponseArrayOutput) @@ -4461,6 +5002,12 @@ func (o InstanceReferenceResponseOutput) ToInstanceReferenceResponseOutputWithCo return o } +func (o InstanceReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceReferenceResponse] { + return pulumix.Output[InstanceReferenceResponse]{ + OutputState: o.OutputState, + } +} + // The unique identifier of the Compute Engine instance. func (o InstanceReferenceResponseOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v InstanceReferenceResponse) string { return v.InstanceId }).(pulumi.StringOutput) @@ -4490,6 +5037,12 @@ func (o InstanceReferenceResponseArrayOutput) ToInstanceReferenceResponseArrayOu return o } +func (o InstanceReferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceReferenceResponse] { + return pulumix.Output[[]InstanceReferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceReferenceResponseArrayOutput) Index(i pulumi.IntInput) InstanceReferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceReferenceResponse { return vs[0].([]InstanceReferenceResponse)[vs[1].(int)] @@ -4535,6 +5088,12 @@ func (i JobPlacementArgs) ToJobPlacementOutputWithContext(ctx context.Context) J return pulumi.ToOutputWithContext(ctx, i).(JobPlacementOutput) } +func (i JobPlacementArgs) ToOutput(ctx context.Context) pulumix.Output[JobPlacement] { + return pulumix.Output[JobPlacement]{ + OutputState: i.ToJobPlacementOutputWithContext(ctx).OutputState, + } +} + // Dataproc job config. type JobPlacementOutput struct{ *pulumi.OutputState } @@ -4550,6 +5109,12 @@ func (o JobPlacementOutput) ToJobPlacementOutputWithContext(ctx context.Context) return o } +func (o JobPlacementOutput) ToOutput(ctx context.Context) pulumix.Output[JobPlacement] { + return pulumix.Output[JobPlacement]{ + OutputState: o.OutputState, + } +} + // Optional. Cluster labels to identify a cluster where the job will be submitted. func (o JobPlacementOutput) ClusterLabels() pulumi.StringMapOutput { return o.ApplyT(func(v JobPlacement) map[string]string { return v.ClusterLabels }).(pulumi.StringMapOutput) @@ -4585,6 +5150,12 @@ func (o JobPlacementResponseOutput) ToJobPlacementResponseOutputWithContext(ctx return o } +func (o JobPlacementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobPlacementResponse] { + return pulumix.Output[JobPlacementResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Cluster labels to identify a cluster where the job will be submitted. func (o JobPlacementResponseOutput) ClusterLabels() pulumi.StringMapOutput { return o.ApplyT(func(v JobPlacementResponse) map[string]string { return v.ClusterLabels }).(pulumi.StringMapOutput) @@ -4639,6 +5210,12 @@ func (i JobReferenceArgs) ToJobReferenceOutputWithContext(ctx context.Context) J return pulumi.ToOutputWithContext(ctx, i).(JobReferenceOutput) } +func (i JobReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[JobReference] { + return pulumix.Output[JobReference]{ + OutputState: i.ToJobReferenceOutputWithContext(ctx).OutputState, + } +} + func (i JobReferenceArgs) ToJobReferencePtrOutput() JobReferencePtrOutput { return i.ToJobReferencePtrOutputWithContext(context.Background()) } @@ -4680,6 +5257,12 @@ func (i *jobReferencePtrType) ToJobReferencePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(JobReferencePtrOutput) } +func (i *jobReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*JobReference] { + return pulumix.Output[*JobReference]{ + OutputState: i.ToJobReferencePtrOutputWithContext(ctx).OutputState, + } +} + // Encapsulates the full scoping used to reference a job. type JobReferenceOutput struct{ *pulumi.OutputState } @@ -4705,6 +5288,12 @@ func (o JobReferenceOutput) ToJobReferencePtrOutputWithContext(ctx context.Conte }).(JobReferencePtrOutput) } +func (o JobReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[JobReference] { + return pulumix.Output[JobReference]{ + OutputState: o.OutputState, + } +} + // Optional. The job ID, which must be unique within the project. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server. func (o JobReferenceOutput) JobId() pulumi.StringPtrOutput { return o.ApplyT(func(v JobReference) *string { return v.JobId }).(pulumi.StringPtrOutput) @@ -4729,6 +5318,12 @@ func (o JobReferencePtrOutput) ToJobReferencePtrOutputWithContext(ctx context.Co return o } +func (o JobReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobReference] { + return pulumix.Output[*JobReference]{ + OutputState: o.OutputState, + } +} + func (o JobReferencePtrOutput) Elem() JobReferenceOutput { return o.ApplyT(func(v *JobReference) JobReference { if v != nil { @@ -4782,6 +5377,12 @@ func (o JobReferenceResponseOutput) ToJobReferenceResponseOutputWithContext(ctx return o } +func (o JobReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobReferenceResponse] { + return pulumix.Output[JobReferenceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The job ID, which must be unique within the project. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server. func (o JobReferenceResponseOutput) JobId() pulumi.StringOutput { return o.ApplyT(func(v JobReferenceResponse) string { return v.JobId }).(pulumi.StringOutput) @@ -4831,6 +5432,12 @@ func (i JobSchedulingArgs) ToJobSchedulingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(JobSchedulingOutput) } +func (i JobSchedulingArgs) ToOutput(ctx context.Context) pulumix.Output[JobScheduling] { + return pulumix.Output[JobScheduling]{ + OutputState: i.ToJobSchedulingOutputWithContext(ctx).OutputState, + } +} + func (i JobSchedulingArgs) ToJobSchedulingPtrOutput() JobSchedulingPtrOutput { return i.ToJobSchedulingPtrOutputWithContext(context.Background()) } @@ -4872,6 +5479,12 @@ func (i *jobSchedulingPtrType) ToJobSchedulingPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(JobSchedulingPtrOutput) } +func (i *jobSchedulingPtrType) ToOutput(ctx context.Context) pulumix.Output[*JobScheduling] { + return pulumix.Output[*JobScheduling]{ + OutputState: i.ToJobSchedulingPtrOutputWithContext(ctx).OutputState, + } +} + // Job scheduling options. type JobSchedulingOutput struct{ *pulumi.OutputState } @@ -4897,6 +5510,12 @@ func (o JobSchedulingOutput) ToJobSchedulingPtrOutputWithContext(ctx context.Con }).(JobSchedulingPtrOutput) } +func (o JobSchedulingOutput) ToOutput(ctx context.Context) pulumix.Output[JobScheduling] { + return pulumix.Output[JobScheduling]{ + OutputState: o.OutputState, + } +} + // Optional. Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10. func (o JobSchedulingOutput) MaxFailuresPerHour() pulumi.IntPtrOutput { return o.ApplyT(func(v JobScheduling) *int { return v.MaxFailuresPerHour }).(pulumi.IntPtrOutput) @@ -4921,6 +5540,12 @@ func (o JobSchedulingPtrOutput) ToJobSchedulingPtrOutputWithContext(ctx context. return o } +func (o JobSchedulingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobScheduling] { + return pulumix.Output[*JobScheduling]{ + OutputState: o.OutputState, + } +} + func (o JobSchedulingPtrOutput) Elem() JobSchedulingOutput { return o.ApplyT(func(v *JobScheduling) JobScheduling { if v != nil { @@ -4974,6 +5599,12 @@ func (o JobSchedulingResponseOutput) ToJobSchedulingResponseOutputWithContext(ct return o } +func (o JobSchedulingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobSchedulingResponse] { + return pulumix.Output[JobSchedulingResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10. func (o JobSchedulingResponseOutput) MaxFailuresPerHour() pulumi.IntOutput { return o.ApplyT(func(v JobSchedulingResponse) int { return v.MaxFailuresPerHour }).(pulumi.IntOutput) @@ -5011,6 +5642,12 @@ func (o JobStatusResponseOutput) ToJobStatusResponseOutputWithContext(ctx contex return o } +func (o JobStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatusResponse] { + return pulumix.Output[JobStatusResponse]{ + OutputState: o.OutputState, + } +} + // Optional Job state details, such as an error description if the state is ERROR. func (o JobStatusResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v JobStatusResponse) string { return v.Details }).(pulumi.StringOutput) @@ -5045,6 +5682,12 @@ func (o JobStatusResponseArrayOutput) ToJobStatusResponseArrayOutputWithContext( return o } +func (o JobStatusResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobStatusResponse] { + return pulumix.Output[[]JobStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o JobStatusResponseArrayOutput) Index(i pulumi.IntInput) JobStatusResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobStatusResponse { return vs[0].([]JobStatusResponse)[vs[1].(int)] @@ -5142,6 +5785,12 @@ func (i KerberosConfigArgs) ToKerberosConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(KerberosConfigOutput) } +func (i KerberosConfigArgs) ToOutput(ctx context.Context) pulumix.Output[KerberosConfig] { + return pulumix.Output[KerberosConfig]{ + OutputState: i.ToKerberosConfigOutputWithContext(ctx).OutputState, + } +} + func (i KerberosConfigArgs) ToKerberosConfigPtrOutput() KerberosConfigPtrOutput { return i.ToKerberosConfigPtrOutputWithContext(context.Background()) } @@ -5183,6 +5832,12 @@ func (i *kerberosConfigPtrType) ToKerberosConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(KerberosConfigPtrOutput) } +func (i *kerberosConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*KerberosConfig] { + return pulumix.Output[*KerberosConfig]{ + OutputState: i.ToKerberosConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies Kerberos related configuration. type KerberosConfigOutput struct{ *pulumi.OutputState } @@ -5208,6 +5863,12 @@ func (o KerberosConfigOutput) ToKerberosConfigPtrOutputWithContext(ctx context.C }).(KerberosConfigPtrOutput) } +func (o KerberosConfigOutput) ToOutput(ctx context.Context) pulumix.Output[KerberosConfig] { + return pulumix.Output[KerberosConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship. func (o KerberosConfigOutput) CrossRealmTrustAdminServer() pulumi.StringPtrOutput { return o.ApplyT(func(v KerberosConfig) *string { return v.CrossRealmTrustAdminServer }).(pulumi.StringPtrOutput) @@ -5297,6 +5958,12 @@ func (o KerberosConfigPtrOutput) ToKerberosConfigPtrOutputWithContext(ctx contex return o } +func (o KerberosConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KerberosConfig] { + return pulumix.Output[*KerberosConfig]{ + OutputState: o.OutputState, + } +} + func (o KerberosConfigPtrOutput) Elem() KerberosConfigOutput { return o.ApplyT(func(v *KerberosConfig) KerberosConfig { if v != nil { @@ -5506,6 +6173,12 @@ func (o KerberosConfigResponseOutput) ToKerberosConfigResponseOutputWithContext( return o } +func (o KerberosConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KerberosConfigResponse] { + return pulumix.Output[KerberosConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship. func (o KerberosConfigResponseOutput) CrossRealmTrustAdminServer() pulumi.StringOutput { return o.ApplyT(func(v KerberosConfigResponse) string { return v.CrossRealmTrustAdminServer }).(pulumi.StringOutput) @@ -5624,6 +6297,12 @@ func (i LifecycleConfigArgs) ToLifecycleConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(LifecycleConfigOutput) } +func (i LifecycleConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LifecycleConfig] { + return pulumix.Output[LifecycleConfig]{ + OutputState: i.ToLifecycleConfigOutputWithContext(ctx).OutputState, + } +} + func (i LifecycleConfigArgs) ToLifecycleConfigPtrOutput() LifecycleConfigPtrOutput { return i.ToLifecycleConfigPtrOutputWithContext(context.Background()) } @@ -5665,6 +6344,12 @@ func (i *lifecycleConfigPtrType) ToLifecycleConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(LifecycleConfigPtrOutput) } +func (i *lifecycleConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LifecycleConfig] { + return pulumix.Output[*LifecycleConfig]{ + OutputState: i.ToLifecycleConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the cluster auto-delete schedule configuration. type LifecycleConfigOutput struct{ *pulumi.OutputState } @@ -5690,6 +6375,12 @@ func (o LifecycleConfigOutput) ToLifecycleConfigPtrOutputWithContext(ctx context }).(LifecycleConfigPtrOutput) } +func (o LifecycleConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LifecycleConfig] { + return pulumix.Output[LifecycleConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The time when cluster will be auto-deleted. (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)). func (o LifecycleConfigOutput) AutoDeleteTime() pulumi.StringPtrOutput { return o.ApplyT(func(v LifecycleConfig) *string { return v.AutoDeleteTime }).(pulumi.StringPtrOutput) @@ -5719,6 +6410,12 @@ func (o LifecycleConfigPtrOutput) ToLifecycleConfigPtrOutputWithContext(ctx cont return o } +func (o LifecycleConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LifecycleConfig] { + return pulumix.Output[*LifecycleConfig]{ + OutputState: o.OutputState, + } +} + func (o LifecycleConfigPtrOutput) Elem() LifecycleConfigOutput { return o.ApplyT(func(v *LifecycleConfig) LifecycleConfig { if v != nil { @@ -5786,6 +6483,12 @@ func (o LifecycleConfigResponseOutput) ToLifecycleConfigResponseOutputWithContex return o } +func (o LifecycleConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LifecycleConfigResponse] { + return pulumix.Output[LifecycleConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The time when cluster will be auto-deleted. (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)). func (o LifecycleConfigResponseOutput) AutoDeleteTime() pulumi.StringOutput { return o.ApplyT(func(v LifecycleConfigResponse) string { return v.AutoDeleteTime }).(pulumi.StringOutput) @@ -5841,6 +6544,12 @@ func (i LoggingConfigArgs) ToLoggingConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigOutput) } +func (i LoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LoggingConfig] { + return pulumix.Output[LoggingConfig]{ + OutputState: i.ToLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i LoggingConfigArgs) ToLoggingConfigPtrOutput() LoggingConfigPtrOutput { return i.ToLoggingConfigPtrOutputWithContext(context.Background()) } @@ -5882,6 +6591,12 @@ func (i *loggingConfigPtrType) ToLoggingConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigPtrOutput) } +func (i *loggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfig] { + return pulumix.Output[*LoggingConfig]{ + OutputState: i.ToLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The runtime logging config of the job. type LoggingConfigOutput struct{ *pulumi.OutputState } @@ -5907,6 +6622,12 @@ func (o LoggingConfigOutput) ToLoggingConfigPtrOutputWithContext(ctx context.Con }).(LoggingConfigPtrOutput) } +func (o LoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfig] { + return pulumix.Output[LoggingConfig]{ + OutputState: o.OutputState, + } +} + // The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG' func (o LoggingConfigOutput) DriverLogLevels() pulumi.StringMapOutput { return o.ApplyT(func(v LoggingConfig) map[string]string { return v.DriverLogLevels }).(pulumi.StringMapOutput) @@ -5926,6 +6647,12 @@ func (o LoggingConfigPtrOutput) ToLoggingConfigPtrOutputWithContext(ctx context. return o } +func (o LoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfig] { + return pulumix.Output[*LoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigPtrOutput) Elem() LoggingConfigOutput { return o.ApplyT(func(v *LoggingConfig) LoggingConfig { if v != nil { @@ -5967,6 +6694,12 @@ func (o LoggingConfigResponseOutput) ToLoggingConfigResponseOutputWithContext(ct return o } +func (o LoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfigResponse] { + return pulumix.Output[LoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG' func (o LoggingConfigResponseOutput) DriverLogLevels() pulumi.StringMapOutput { return o.ApplyT(func(v LoggingConfigResponse) map[string]string { return v.DriverLogLevels }).(pulumi.StringMapOutput) @@ -6015,6 +6748,12 @@ func (i ManagedClusterArgs) ToManagedClusterOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ManagedClusterOutput) } +func (i ManagedClusterArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedCluster] { + return pulumix.Output[ManagedCluster]{ + OutputState: i.ToManagedClusterOutputWithContext(ctx).OutputState, + } +} + func (i ManagedClusterArgs) ToManagedClusterPtrOutput() ManagedClusterPtrOutput { return i.ToManagedClusterPtrOutputWithContext(context.Background()) } @@ -6056,6 +6795,12 @@ func (i *managedClusterPtrType) ToManagedClusterPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ManagedClusterPtrOutput) } +func (i *managedClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedCluster] { + return pulumix.Output[*ManagedCluster]{ + OutputState: i.ToManagedClusterPtrOutputWithContext(ctx).OutputState, + } +} + // Cluster that is managed by the workflow. type ManagedClusterOutput struct{ *pulumi.OutputState } @@ -6081,6 +6826,12 @@ func (o ManagedClusterOutput) ToManagedClusterPtrOutputWithContext(ctx context.C }).(ManagedClusterPtrOutput) } +func (o ManagedClusterOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedCluster] { + return pulumix.Output[ManagedCluster]{ + OutputState: o.OutputState, + } +} + // The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters. func (o ManagedClusterOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v ManagedCluster) string { return v.ClusterName }).(pulumi.StringOutput) @@ -6110,6 +6861,12 @@ func (o ManagedClusterPtrOutput) ToManagedClusterPtrOutputWithContext(ctx contex return o } +func (o ManagedClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedCluster] { + return pulumix.Output[*ManagedCluster]{ + OutputState: o.OutputState, + } +} + func (o ManagedClusterPtrOutput) Elem() ManagedClusterOutput { return o.ApplyT(func(v *ManagedCluster) ManagedCluster { if v != nil { @@ -6175,6 +6932,12 @@ func (o ManagedClusterResponseOutput) ToManagedClusterResponseOutputWithContext( return o } +func (o ManagedClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedClusterResponse] { + return pulumix.Output[ManagedClusterResponse]{ + OutputState: o.OutputState, + } +} + // The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters. func (o ManagedClusterResponseOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v ManagedClusterResponse) string { return v.ClusterName }).(pulumi.StringOutput) @@ -6213,6 +6976,12 @@ func (o ManagedGroupConfigResponseOutput) ToManagedGroupConfigResponseOutputWith return o } +func (o ManagedGroupConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedGroupConfigResponse] { + return pulumix.Output[ManagedGroupConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Instance Group Manager for this group. func (o ManagedGroupConfigResponseOutput) InstanceGroupManagerName() pulumi.StringOutput { return o.ApplyT(func(v ManagedGroupConfigResponse) string { return v.InstanceGroupManagerName }).(pulumi.StringOutput) @@ -6258,6 +7027,12 @@ func (i MetastoreConfigArgs) ToMetastoreConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(MetastoreConfigOutput) } +func (i MetastoreConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MetastoreConfig] { + return pulumix.Output[MetastoreConfig]{ + OutputState: i.ToMetastoreConfigOutputWithContext(ctx).OutputState, + } +} + func (i MetastoreConfigArgs) ToMetastoreConfigPtrOutput() MetastoreConfigPtrOutput { return i.ToMetastoreConfigPtrOutputWithContext(context.Background()) } @@ -6299,6 +7074,12 @@ func (i *metastoreConfigPtrType) ToMetastoreConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(MetastoreConfigPtrOutput) } +func (i *metastoreConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetastoreConfig] { + return pulumix.Output[*MetastoreConfig]{ + OutputState: i.ToMetastoreConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a Metastore configuration. type MetastoreConfigOutput struct{ *pulumi.OutputState } @@ -6324,6 +7105,12 @@ func (o MetastoreConfigOutput) ToMetastoreConfigPtrOutputWithContext(ctx context }).(MetastoreConfigPtrOutput) } +func (o MetastoreConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MetastoreConfig] { + return pulumix.Output[MetastoreConfig]{ + OutputState: o.OutputState, + } +} + // Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] func (o MetastoreConfigOutput) DataprocMetastoreService() pulumi.StringOutput { return o.ApplyT(func(v MetastoreConfig) string { return v.DataprocMetastoreService }).(pulumi.StringOutput) @@ -6343,6 +7130,12 @@ func (o MetastoreConfigPtrOutput) ToMetastoreConfigPtrOutputWithContext(ctx cont return o } +func (o MetastoreConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetastoreConfig] { + return pulumix.Output[*MetastoreConfig]{ + OutputState: o.OutputState, + } +} + func (o MetastoreConfigPtrOutput) Elem() MetastoreConfigOutput { return o.ApplyT(func(v *MetastoreConfig) MetastoreConfig { if v != nil { @@ -6384,6 +7177,12 @@ func (o MetastoreConfigResponseOutput) ToMetastoreConfigResponseOutputWithContex return o } +func (o MetastoreConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetastoreConfigResponse] { + return pulumix.Output[MetastoreConfigResponse]{ + OutputState: o.OutputState, + } +} + // Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name] func (o MetastoreConfigResponseOutput) DataprocMetastoreService() pulumi.StringOutput { return o.ApplyT(func(v MetastoreConfigResponse) string { return v.DataprocMetastoreService }).(pulumi.StringOutput) @@ -6428,6 +7227,12 @@ func (i NamespacedGkeDeploymentTargetArgs) ToNamespacedGkeDeploymentTargetOutput return pulumi.ToOutputWithContext(ctx, i).(NamespacedGkeDeploymentTargetOutput) } +func (i NamespacedGkeDeploymentTargetArgs) ToOutput(ctx context.Context) pulumix.Output[NamespacedGkeDeploymentTarget] { + return pulumix.Output[NamespacedGkeDeploymentTarget]{ + OutputState: i.ToNamespacedGkeDeploymentTargetOutputWithContext(ctx).OutputState, + } +} + func (i NamespacedGkeDeploymentTargetArgs) ToNamespacedGkeDeploymentTargetPtrOutput() NamespacedGkeDeploymentTargetPtrOutput { return i.ToNamespacedGkeDeploymentTargetPtrOutputWithContext(context.Background()) } @@ -6469,6 +7274,12 @@ func (i *namespacedGkeDeploymentTargetPtrType) ToNamespacedGkeDeploymentTargetPt return pulumi.ToOutputWithContext(ctx, i).(NamespacedGkeDeploymentTargetPtrOutput) } +func (i *namespacedGkeDeploymentTargetPtrType) ToOutput(ctx context.Context) pulumix.Output[*NamespacedGkeDeploymentTarget] { + return pulumix.Output[*NamespacedGkeDeploymentTarget]{ + OutputState: i.ToNamespacedGkeDeploymentTargetPtrOutputWithContext(ctx).OutputState, + } +} + // A full, namespace-isolated deployment target for an existing GKE cluster. type NamespacedGkeDeploymentTargetOutput struct{ *pulumi.OutputState } @@ -6494,6 +7305,12 @@ func (o NamespacedGkeDeploymentTargetOutput) ToNamespacedGkeDeploymentTargetPtrO }).(NamespacedGkeDeploymentTargetPtrOutput) } +func (o NamespacedGkeDeploymentTargetOutput) ToOutput(ctx context.Context) pulumix.Output[NamespacedGkeDeploymentTarget] { + return pulumix.Output[NamespacedGkeDeploymentTarget]{ + OutputState: o.OutputState, + } +} + // Optional. A namespace within the GKE cluster to deploy into. func (o NamespacedGkeDeploymentTargetOutput) ClusterNamespace() pulumi.StringPtrOutput { return o.ApplyT(func(v NamespacedGkeDeploymentTarget) *string { return v.ClusterNamespace }).(pulumi.StringPtrOutput) @@ -6518,6 +7335,12 @@ func (o NamespacedGkeDeploymentTargetPtrOutput) ToNamespacedGkeDeploymentTargetP return o } +func (o NamespacedGkeDeploymentTargetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespacedGkeDeploymentTarget] { + return pulumix.Output[*NamespacedGkeDeploymentTarget]{ + OutputState: o.OutputState, + } +} + func (o NamespacedGkeDeploymentTargetPtrOutput) Elem() NamespacedGkeDeploymentTargetOutput { return o.ApplyT(func(v *NamespacedGkeDeploymentTarget) NamespacedGkeDeploymentTarget { if v != nil { @@ -6571,6 +7394,12 @@ func (o NamespacedGkeDeploymentTargetResponseOutput) ToNamespacedGkeDeploymentTa return o } +func (o NamespacedGkeDeploymentTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NamespacedGkeDeploymentTargetResponse] { + return pulumix.Output[NamespacedGkeDeploymentTargetResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A namespace within the GKE cluster to deploy into. func (o NamespacedGkeDeploymentTargetResponseOutput) ClusterNamespace() pulumi.StringOutput { return o.ApplyT(func(v NamespacedGkeDeploymentTargetResponse) string { return v.ClusterNamespace }).(pulumi.StringOutput) @@ -6616,6 +7445,12 @@ func (i NodeGroupAffinityArgs) ToNodeGroupAffinityOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(NodeGroupAffinityOutput) } +func (i NodeGroupAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAffinity] { + return pulumix.Output[NodeGroupAffinity]{ + OutputState: i.ToNodeGroupAffinityOutputWithContext(ctx).OutputState, + } +} + func (i NodeGroupAffinityArgs) ToNodeGroupAffinityPtrOutput() NodeGroupAffinityPtrOutput { return i.ToNodeGroupAffinityPtrOutputWithContext(context.Background()) } @@ -6657,6 +7492,12 @@ func (i *nodeGroupAffinityPtrType) ToNodeGroupAffinityPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(NodeGroupAffinityPtrOutput) } +func (i *nodeGroupAffinityPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAffinity] { + return pulumix.Output[*NodeGroupAffinity]{ + OutputState: i.ToNodeGroupAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Node Group Affinity for clusters using sole-tenant node groups. type NodeGroupAffinityOutput struct{ *pulumi.OutputState } @@ -6682,6 +7523,12 @@ func (o NodeGroupAffinityOutput) ToNodeGroupAffinityPtrOutputWithContext(ctx con }).(NodeGroupAffinityPtrOutput) } +func (o NodeGroupAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAffinity] { + return pulumix.Output[NodeGroupAffinity]{ + OutputState: o.OutputState, + } +} + // The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1 projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1 node-group-1 func (o NodeGroupAffinityOutput) NodeGroupUri() pulumi.StringOutput { return o.ApplyT(func(v NodeGroupAffinity) string { return v.NodeGroupUri }).(pulumi.StringOutput) @@ -6701,6 +7548,12 @@ func (o NodeGroupAffinityPtrOutput) ToNodeGroupAffinityPtrOutputWithContext(ctx return o } +func (o NodeGroupAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeGroupAffinity] { + return pulumix.Output[*NodeGroupAffinity]{ + OutputState: o.OutputState, + } +} + func (o NodeGroupAffinityPtrOutput) Elem() NodeGroupAffinityOutput { return o.ApplyT(func(v *NodeGroupAffinity) NodeGroupAffinity { if v != nil { @@ -6742,6 +7595,12 @@ func (o NodeGroupAffinityResponseOutput) ToNodeGroupAffinityResponseOutputWithCo return o } +func (o NodeGroupAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeGroupAffinityResponse] { + return pulumix.Output[NodeGroupAffinityResponse]{ + OutputState: o.OutputState, + } +} + // The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1 projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1 node-group-1 func (o NodeGroupAffinityResponseOutput) NodeGroupUri() pulumi.StringOutput { return o.ApplyT(func(v NodeGroupAffinityResponse) string { return v.NodeGroupUri }).(pulumi.StringOutput) @@ -6786,6 +7645,12 @@ func (i NodeInitializationActionArgs) ToNodeInitializationActionOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(NodeInitializationActionOutput) } +func (i NodeInitializationActionArgs) ToOutput(ctx context.Context) pulumix.Output[NodeInitializationAction] { + return pulumix.Output[NodeInitializationAction]{ + OutputState: i.ToNodeInitializationActionOutputWithContext(ctx).OutputState, + } +} + // NodeInitializationActionArrayInput is an input type that accepts NodeInitializationActionArray and NodeInitializationActionArrayOutput values. // You can construct a concrete instance of `NodeInitializationActionArrayInput` via: // @@ -6811,6 +7676,12 @@ func (i NodeInitializationActionArray) ToNodeInitializationActionArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(NodeInitializationActionArrayOutput) } +func (i NodeInitializationActionArray) ToOutput(ctx context.Context) pulumix.Output[[]NodeInitializationAction] { + return pulumix.Output[[]NodeInitializationAction]{ + OutputState: i.ToNodeInitializationActionArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies an executable to run on a fully configured node and a timeout period for executable completion. type NodeInitializationActionOutput struct{ *pulumi.OutputState } @@ -6826,6 +7697,12 @@ func (o NodeInitializationActionOutput) ToNodeInitializationActionOutputWithCont return o } +func (o NodeInitializationActionOutput) ToOutput(ctx context.Context) pulumix.Output[NodeInitializationAction] { + return pulumix.Output[NodeInitializationAction]{ + OutputState: o.OutputState, + } +} + // Cloud Storage URI of executable file. func (o NodeInitializationActionOutput) ExecutableFile() pulumi.StringOutput { return o.ApplyT(func(v NodeInitializationAction) string { return v.ExecutableFile }).(pulumi.StringOutput) @@ -6850,6 +7727,12 @@ func (o NodeInitializationActionArrayOutput) ToNodeInitializationActionArrayOutp return o } +func (o NodeInitializationActionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeInitializationAction] { + return pulumix.Output[[]NodeInitializationAction]{ + OutputState: o.OutputState, + } +} + func (o NodeInitializationActionArrayOutput) Index(i pulumi.IntInput) NodeInitializationActionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeInitializationAction { return vs[0].([]NodeInitializationAction)[vs[1].(int)] @@ -6879,6 +7762,12 @@ func (o NodeInitializationActionResponseOutput) ToNodeInitializationActionRespon return o } +func (o NodeInitializationActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeInitializationActionResponse] { + return pulumix.Output[NodeInitializationActionResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Storage URI of executable file. func (o NodeInitializationActionResponseOutput) ExecutableFile() pulumi.StringOutput { return o.ApplyT(func(v NodeInitializationActionResponse) string { return v.ExecutableFile }).(pulumi.StringOutput) @@ -6903,6 +7792,12 @@ func (o NodeInitializationActionResponseArrayOutput) ToNodeInitializationActionR return o } +func (o NodeInitializationActionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeInitializationActionResponse] { + return pulumix.Output[[]NodeInitializationActionResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeInitializationActionResponseArrayOutput) Index(i pulumi.IntInput) NodeInitializationActionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeInitializationActionResponse { return vs[0].([]NodeInitializationActionResponse)[vs[1].(int)] @@ -6988,6 +7883,12 @@ func (i OrderedJobArgs) ToOrderedJobOutputWithContext(ctx context.Context) Order return pulumi.ToOutputWithContext(ctx, i).(OrderedJobOutput) } +func (i OrderedJobArgs) ToOutput(ctx context.Context) pulumix.Output[OrderedJob] { + return pulumix.Output[OrderedJob]{ + OutputState: i.ToOrderedJobOutputWithContext(ctx).OutputState, + } +} + // OrderedJobArrayInput is an input type that accepts OrderedJobArray and OrderedJobArrayOutput values. // You can construct a concrete instance of `OrderedJobArrayInput` via: // @@ -7013,6 +7914,12 @@ func (i OrderedJobArray) ToOrderedJobArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OrderedJobArrayOutput) } +func (i OrderedJobArray) ToOutput(ctx context.Context) pulumix.Output[[]OrderedJob] { + return pulumix.Output[[]OrderedJob]{ + OutputState: i.ToOrderedJobArrayOutputWithContext(ctx).OutputState, + } +} + // A job executed by the workflow. type OrderedJobOutput struct{ *pulumi.OutputState } @@ -7028,6 +7935,12 @@ func (o OrderedJobOutput) ToOrderedJobOutputWithContext(ctx context.Context) Ord return o } +func (o OrderedJobOutput) ToOutput(ctx context.Context) pulumix.Output[OrderedJob] { + return pulumix.Output[OrderedJob]{ + OutputState: o.OutputState, + } +} + // Optional. Job is a Hadoop job. func (o OrderedJobOutput) HadoopJob() HadoopJobPtrOutput { return o.ApplyT(func(v OrderedJob) *HadoopJob { return v.HadoopJob }).(HadoopJobPtrOutput) @@ -7102,6 +8015,12 @@ func (o OrderedJobArrayOutput) ToOrderedJobArrayOutputWithContext(ctx context.Co return o } +func (o OrderedJobArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OrderedJob] { + return pulumix.Output[[]OrderedJob]{ + OutputState: o.OutputState, + } +} + func (o OrderedJobArrayOutput) Index(i pulumi.IntInput) OrderedJobOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OrderedJob { return vs[0].([]OrderedJob)[vs[1].(int)] @@ -7151,6 +8070,12 @@ func (o OrderedJobResponseOutput) ToOrderedJobResponseOutputWithContext(ctx cont return o } +func (o OrderedJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OrderedJobResponse] { + return pulumix.Output[OrderedJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Job is a Hadoop job. func (o OrderedJobResponseOutput) HadoopJob() HadoopJobResponseOutput { return o.ApplyT(func(v OrderedJobResponse) HadoopJobResponse { return v.HadoopJob }).(HadoopJobResponseOutput) @@ -7225,6 +8150,12 @@ func (o OrderedJobResponseArrayOutput) ToOrderedJobResponseArrayOutputWithContex return o } +func (o OrderedJobResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OrderedJobResponse] { + return pulumix.Output[[]OrderedJobResponse]{ + OutputState: o.OutputState, + } +} + func (o OrderedJobResponseArrayOutput) Index(i pulumi.IntInput) OrderedJobResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OrderedJobResponse { return vs[0].([]OrderedJobResponse)[vs[1].(int)] @@ -7270,6 +8201,12 @@ func (i ParameterValidationArgs) ToParameterValidationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ParameterValidationOutput) } +func (i ParameterValidationArgs) ToOutput(ctx context.Context) pulumix.Output[ParameterValidation] { + return pulumix.Output[ParameterValidation]{ + OutputState: i.ToParameterValidationOutputWithContext(ctx).OutputState, + } +} + func (i ParameterValidationArgs) ToParameterValidationPtrOutput() ParameterValidationPtrOutput { return i.ToParameterValidationPtrOutputWithContext(context.Background()) } @@ -7311,6 +8248,12 @@ func (i *parameterValidationPtrType) ToParameterValidationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ParameterValidationPtrOutput) } +func (i *parameterValidationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ParameterValidation] { + return pulumix.Output[*ParameterValidation]{ + OutputState: i.ToParameterValidationPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for parameter validation. type ParameterValidationOutput struct{ *pulumi.OutputState } @@ -7336,6 +8279,12 @@ func (o ParameterValidationOutput) ToParameterValidationPtrOutputWithContext(ctx }).(ParameterValidationPtrOutput) } +func (o ParameterValidationOutput) ToOutput(ctx context.Context) pulumix.Output[ParameterValidation] { + return pulumix.Output[ParameterValidation]{ + OutputState: o.OutputState, + } +} + // Validation based on regular expressions. func (o ParameterValidationOutput) Regex() RegexValidationPtrOutput { return o.ApplyT(func(v ParameterValidation) *RegexValidation { return v.Regex }).(RegexValidationPtrOutput) @@ -7360,6 +8309,12 @@ func (o ParameterValidationPtrOutput) ToParameterValidationPtrOutputWithContext( return o } +func (o ParameterValidationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParameterValidation] { + return pulumix.Output[*ParameterValidation]{ + OutputState: o.OutputState, + } +} + func (o ParameterValidationPtrOutput) Elem() ParameterValidationOutput { return o.ApplyT(func(v *ParameterValidation) ParameterValidation { if v != nil { @@ -7413,6 +8368,12 @@ func (o ParameterValidationResponseOutput) ToParameterValidationResponseOutputWi return o } +func (o ParameterValidationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ParameterValidationResponse] { + return pulumix.Output[ParameterValidationResponse]{ + OutputState: o.OutputState, + } +} + // Validation based on regular expressions. func (o ParameterValidationResponseOutput) Regex() RegexValidationResponseOutput { return o.ApplyT(func(v ParameterValidationResponse) RegexValidationResponse { return v.Regex }).(RegexValidationResponseOutput) @@ -7482,6 +8443,12 @@ func (i PigJobArgs) ToPigJobOutputWithContext(ctx context.Context) PigJobOutput return pulumi.ToOutputWithContext(ctx, i).(PigJobOutput) } +func (i PigJobArgs) ToOutput(ctx context.Context) pulumix.Output[PigJob] { + return pulumix.Output[PigJob]{ + OutputState: i.ToPigJobOutputWithContext(ctx).OutputState, + } +} + func (i PigJobArgs) ToPigJobPtrOutput() PigJobPtrOutput { return i.ToPigJobPtrOutputWithContext(context.Background()) } @@ -7523,6 +8490,12 @@ func (i *pigJobPtrType) ToPigJobPtrOutputWithContext(ctx context.Context) PigJob return pulumi.ToOutputWithContext(ctx, i).(PigJobPtrOutput) } +func (i *pigJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*PigJob] { + return pulumix.Output[*PigJob]{ + OutputState: i.ToPigJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN. type PigJobOutput struct{ *pulumi.OutputState } @@ -7548,6 +8521,12 @@ func (o PigJobOutput) ToPigJobPtrOutputWithContext(ctx context.Context) PigJobPt }).(PigJobPtrOutput) } +func (o PigJobOutput) ToOutput(ctx context.Context) pulumix.Output[PigJob] { + return pulumix.Output[PigJob]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. func (o PigJobOutput) ContinueOnFailure() pulumi.BoolPtrOutput { return o.ApplyT(func(v PigJob) *bool { return v.ContinueOnFailure }).(pulumi.BoolPtrOutput) @@ -7597,6 +8576,12 @@ func (o PigJobPtrOutput) ToPigJobPtrOutputWithContext(ctx context.Context) PigJo return o } +func (o PigJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PigJob] { + return pulumix.Output[*PigJob]{ + OutputState: o.OutputState, + } +} + func (o PigJobPtrOutput) Elem() PigJobOutput { return o.ApplyT(func(v *PigJob) PigJob { if v != nil { @@ -7710,6 +8695,12 @@ func (o PigJobResponseOutput) ToPigJobResponseOutputWithContext(ctx context.Cont return o } +func (o PigJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PigJobResponse] { + return pulumix.Output[PigJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. func (o PigJobResponseOutput) ContinueOnFailure() pulumi.BoolOutput { return o.ApplyT(func(v PigJobResponse) bool { return v.ContinueOnFailure }).(pulumi.BoolOutput) @@ -7804,6 +8795,12 @@ func (i PrestoJobArgs) ToPrestoJobOutputWithContext(ctx context.Context) PrestoJ return pulumi.ToOutputWithContext(ctx, i).(PrestoJobOutput) } +func (i PrestoJobArgs) ToOutput(ctx context.Context) pulumix.Output[PrestoJob] { + return pulumix.Output[PrestoJob]{ + OutputState: i.ToPrestoJobOutputWithContext(ctx).OutputState, + } +} + func (i PrestoJobArgs) ToPrestoJobPtrOutput() PrestoJobPtrOutput { return i.ToPrestoJobPtrOutputWithContext(context.Background()) } @@ -7845,6 +8842,12 @@ func (i *prestoJobPtrType) ToPrestoJobPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PrestoJobPtrOutput) } +func (i *prestoJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrestoJob] { + return pulumix.Output[*PrestoJob]{ + OutputState: i.ToPrestoJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Presto (https://prestosql.io/) queries. IMPORTANT: The Dataproc Presto Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/presto) must be enabled when the cluster is created to submit a Presto job to the cluster. type PrestoJobOutput struct{ *pulumi.OutputState } @@ -7870,6 +8873,12 @@ func (o PrestoJobOutput) ToPrestoJobPtrOutputWithContext(ctx context.Context) Pr }).(PrestoJobPtrOutput) } +func (o PrestoJobOutput) ToOutput(ctx context.Context) pulumix.Output[PrestoJob] { + return pulumix.Output[PrestoJob]{ + OutputState: o.OutputState, + } +} + // Optional. Presto client tags to attach to this query func (o PrestoJobOutput) ClientTags() pulumi.StringArrayOutput { return o.ApplyT(func(v PrestoJob) []string { return v.ClientTags }).(pulumi.StringArrayOutput) @@ -7919,6 +8928,12 @@ func (o PrestoJobPtrOutput) ToPrestoJobPtrOutputWithContext(ctx context.Context) return o } +func (o PrestoJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrestoJob] { + return pulumix.Output[*PrestoJob]{ + OutputState: o.OutputState, + } +} + func (o PrestoJobPtrOutput) Elem() PrestoJobOutput { return o.ApplyT(func(v *PrestoJob) PrestoJob { if v != nil { @@ -8032,6 +9047,12 @@ func (o PrestoJobResponseOutput) ToPrestoJobResponseOutputWithContext(ctx contex return o } +func (o PrestoJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrestoJobResponse] { + return pulumix.Output[PrestoJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Presto client tags to attach to this query func (o PrestoJobResponseOutput) ClientTags() pulumi.StringArrayOutput { return o.ApplyT(func(v PrestoJobResponse) []string { return v.ClientTags }).(pulumi.StringArrayOutput) @@ -8130,6 +9151,12 @@ func (i PySparkJobArgs) ToPySparkJobOutputWithContext(ctx context.Context) PySpa return pulumi.ToOutputWithContext(ctx, i).(PySparkJobOutput) } +func (i PySparkJobArgs) ToOutput(ctx context.Context) pulumix.Output[PySparkJob] { + return pulumix.Output[PySparkJob]{ + OutputState: i.ToPySparkJobOutputWithContext(ctx).OutputState, + } +} + func (i PySparkJobArgs) ToPySparkJobPtrOutput() PySparkJobPtrOutput { return i.ToPySparkJobPtrOutputWithContext(context.Background()) } @@ -8171,6 +9198,12 @@ func (i *pySparkJobPtrType) ToPySparkJobPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PySparkJobPtrOutput) } +func (i *pySparkJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*PySparkJob] { + return pulumix.Output[*PySparkJob]{ + OutputState: i.ToPySparkJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN. type PySparkJobOutput struct{ *pulumi.OutputState } @@ -8196,6 +9229,12 @@ func (o PySparkJobOutput) ToPySparkJobPtrOutputWithContext(ctx context.Context) }).(PySparkJobPtrOutput) } +func (o PySparkJobOutput) ToOutput(ctx context.Context) pulumix.Output[PySparkJob] { + return pulumix.Output[PySparkJob]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o PySparkJobOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v PySparkJob) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -8250,6 +9289,12 @@ func (o PySparkJobPtrOutput) ToPySparkJobPtrOutputWithContext(ctx context.Contex return o } +func (o PySparkJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PySparkJob] { + return pulumix.Output[*PySparkJob]{ + OutputState: o.OutputState, + } +} + func (o PySparkJobPtrOutput) Elem() PySparkJobOutput { return o.ApplyT(func(v *PySparkJob) PySparkJob { if v != nil { @@ -8375,6 +9420,12 @@ func (o PySparkJobResponseOutput) ToPySparkJobResponseOutputWithContext(ctx cont return o } +func (o PySparkJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PySparkJobResponse] { + return pulumix.Output[PySparkJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o PySparkJobResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v PySparkJobResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -8450,6 +9501,12 @@ func (i QueryListArgs) ToQueryListOutputWithContext(ctx context.Context) QueryLi return pulumi.ToOutputWithContext(ctx, i).(QueryListOutput) } +func (i QueryListArgs) ToOutput(ctx context.Context) pulumix.Output[QueryList] { + return pulumix.Output[QueryList]{ + OutputState: i.ToQueryListOutputWithContext(ctx).OutputState, + } +} + func (i QueryListArgs) ToQueryListPtrOutput() QueryListPtrOutput { return i.ToQueryListPtrOutputWithContext(context.Background()) } @@ -8491,6 +9548,12 @@ func (i *queryListPtrType) ToQueryListPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueryListPtrOutput) } +func (i *queryListPtrType) ToOutput(ctx context.Context) pulumix.Output[*QueryList] { + return pulumix.Output[*QueryList]{ + OutputState: i.ToQueryListPtrOutputWithContext(ctx).OutputState, + } +} + // A list of queries to run on a cluster. type QueryListOutput struct{ *pulumi.OutputState } @@ -8516,6 +9579,12 @@ func (o QueryListOutput) ToQueryListPtrOutputWithContext(ctx context.Context) Qu }).(QueryListPtrOutput) } +func (o QueryListOutput) ToOutput(ctx context.Context) pulumix.Output[QueryList] { + return pulumix.Output[QueryList]{ + OutputState: o.OutputState, + } +} + // The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: "hiveJob": { "queryList": { "queries": [ "query1", "query2", "query3;query4", ] } } func (o QueryListOutput) Queries() pulumi.StringArrayOutput { return o.ApplyT(func(v QueryList) []string { return v.Queries }).(pulumi.StringArrayOutput) @@ -8535,6 +9604,12 @@ func (o QueryListPtrOutput) ToQueryListPtrOutputWithContext(ctx context.Context) return o } +func (o QueryListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueryList] { + return pulumix.Output[*QueryList]{ + OutputState: o.OutputState, + } +} + func (o QueryListPtrOutput) Elem() QueryListOutput { return o.ApplyT(func(v *QueryList) QueryList { if v != nil { @@ -8576,6 +9651,12 @@ func (o QueryListResponseOutput) ToQueryListResponseOutputWithContext(ctx contex return o } +func (o QueryListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueryListResponse] { + return pulumix.Output[QueryListResponse]{ + OutputState: o.OutputState, + } +} + // The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: "hiveJob": { "queryList": { "queries": [ "query1", "query2", "query3;query4", ] } } func (o QueryListResponseOutput) Queries() pulumi.StringArrayOutput { return o.ApplyT(func(v QueryListResponse) []string { return v.Queries }).(pulumi.StringArrayOutput) @@ -8616,6 +9697,12 @@ func (i RegexValidationArgs) ToRegexValidationOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(RegexValidationOutput) } +func (i RegexValidationArgs) ToOutput(ctx context.Context) pulumix.Output[RegexValidation] { + return pulumix.Output[RegexValidation]{ + OutputState: i.ToRegexValidationOutputWithContext(ctx).OutputState, + } +} + func (i RegexValidationArgs) ToRegexValidationPtrOutput() RegexValidationPtrOutput { return i.ToRegexValidationPtrOutputWithContext(context.Background()) } @@ -8657,6 +9744,12 @@ func (i *regexValidationPtrType) ToRegexValidationPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RegexValidationPtrOutput) } +func (i *regexValidationPtrType) ToOutput(ctx context.Context) pulumix.Output[*RegexValidation] { + return pulumix.Output[*RegexValidation]{ + OutputState: i.ToRegexValidationPtrOutputWithContext(ctx).OutputState, + } +} + // Validation based on regular expressions. type RegexValidationOutput struct{ *pulumi.OutputState } @@ -8682,6 +9775,12 @@ func (o RegexValidationOutput) ToRegexValidationPtrOutputWithContext(ctx context }).(RegexValidationPtrOutput) } +func (o RegexValidationOutput) ToOutput(ctx context.Context) pulumix.Output[RegexValidation] { + return pulumix.Output[RegexValidation]{ + OutputState: o.OutputState, + } +} + // RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient). func (o RegexValidationOutput) Regexes() pulumi.StringArrayOutput { return o.ApplyT(func(v RegexValidation) []string { return v.Regexes }).(pulumi.StringArrayOutput) @@ -8701,6 +9800,12 @@ func (o RegexValidationPtrOutput) ToRegexValidationPtrOutputWithContext(ctx cont return o } +func (o RegexValidationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegexValidation] { + return pulumix.Output[*RegexValidation]{ + OutputState: o.OutputState, + } +} + func (o RegexValidationPtrOutput) Elem() RegexValidationOutput { return o.ApplyT(func(v *RegexValidation) RegexValidation { if v != nil { @@ -8742,6 +9847,12 @@ func (o RegexValidationResponseOutput) ToRegexValidationResponseOutputWithContex return o } +func (o RegexValidationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegexValidationResponse] { + return pulumix.Output[RegexValidationResponse]{ + OutputState: o.OutputState, + } +} + // RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient). func (o RegexValidationResponseOutput) Regexes() pulumi.StringArrayOutput { return o.ApplyT(func(v RegexValidationResponse) []string { return v.Regexes }).(pulumi.StringArrayOutput) @@ -8790,6 +9901,12 @@ func (i ReservationAffinityArgs) ToReservationAffinityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityOutput) } +func (i ReservationAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: i.ToReservationAffinityOutputWithContext(ctx).OutputState, + } +} + func (i ReservationAffinityArgs) ToReservationAffinityPtrOutput() ReservationAffinityPtrOutput { return i.ToReservationAffinityPtrOutputWithContext(context.Background()) } @@ -8831,6 +9948,12 @@ func (i *reservationAffinityPtrType) ToReservationAffinityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityPtrOutput) } +func (i *reservationAffinityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: i.ToReservationAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Reservation Affinity for consuming Zonal reservation. type ReservationAffinityOutput struct{ *pulumi.OutputState } @@ -8856,6 +9979,12 @@ func (o ReservationAffinityOutput) ToReservationAffinityPtrOutputWithContext(ctx }).(ReservationAffinityPtrOutput) } +func (o ReservationAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: o.OutputState, + } +} + // Optional. Type of reservation to consume func (o ReservationAffinityOutput) ConsumeReservationType() ReservationAffinityConsumeReservationTypePtrOutput { return o.ApplyT(func(v ReservationAffinity) *ReservationAffinityConsumeReservationType { @@ -8887,6 +10016,12 @@ func (o ReservationAffinityPtrOutput) ToReservationAffinityPtrOutputWithContext( return o } +func (o ReservationAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityPtrOutput) Elem() ReservationAffinityOutput { return o.ApplyT(func(v *ReservationAffinity) ReservationAffinity { if v != nil { @@ -8952,6 +10087,12 @@ func (o ReservationAffinityResponseOutput) ToReservationAffinityResponseOutputWi return o } +func (o ReservationAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityResponse] { + return pulumix.Output[ReservationAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Type of reservation to consume func (o ReservationAffinityResponseOutput) ConsumeReservationType() pulumi.StringOutput { return o.ApplyT(func(v ReservationAffinityResponse) string { return v.ConsumeReservationType }).(pulumi.StringOutput) @@ -9002,6 +10143,12 @@ func (i SecurityConfigArgs) ToSecurityConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecurityConfigOutput) } +func (i SecurityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityConfig] { + return pulumix.Output[SecurityConfig]{ + OutputState: i.ToSecurityConfigOutputWithContext(ctx).OutputState, + } +} + func (i SecurityConfigArgs) ToSecurityConfigPtrOutput() SecurityConfigPtrOutput { return i.ToSecurityConfigPtrOutputWithContext(context.Background()) } @@ -9043,6 +10190,12 @@ func (i *securityConfigPtrType) ToSecurityConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SecurityConfigPtrOutput) } +func (i *securityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityConfig] { + return pulumix.Output[*SecurityConfig]{ + OutputState: i.ToSecurityConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Security related configuration, including encryption, Kerberos, etc. type SecurityConfigOutput struct{ *pulumi.OutputState } @@ -9068,6 +10221,12 @@ func (o SecurityConfigOutput) ToSecurityConfigPtrOutputWithContext(ctx context.C }).(SecurityConfigPtrOutput) } +func (o SecurityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityConfig] { + return pulumix.Output[SecurityConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Kerberos related configuration. func (o SecurityConfigOutput) KerberosConfig() KerberosConfigPtrOutput { return o.ApplyT(func(v SecurityConfig) *KerberosConfig { return v.KerberosConfig }).(KerberosConfigPtrOutput) @@ -9087,6 +10246,12 @@ func (o SecurityConfigPtrOutput) ToSecurityConfigPtrOutputWithContext(ctx contex return o } +func (o SecurityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityConfig] { + return pulumix.Output[*SecurityConfig]{ + OutputState: o.OutputState, + } +} + func (o SecurityConfigPtrOutput) Elem() SecurityConfigOutput { return o.ApplyT(func(v *SecurityConfig) SecurityConfig { if v != nil { @@ -9128,6 +10293,12 @@ func (o SecurityConfigResponseOutput) ToSecurityConfigResponseOutputWithContext( return o } +func (o SecurityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityConfigResponse] { + return pulumix.Output[SecurityConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Kerberos related configuration. func (o SecurityConfigResponseOutput) KerberosConfig() KerberosConfigResponseOutput { return o.ApplyT(func(v SecurityConfigResponse) KerberosConfigResponse { return v.KerberosConfig }).(KerberosConfigResponseOutput) @@ -9176,6 +10347,12 @@ func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigOutput) } +func (i ShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigPtrOutput() ShieldedInstanceConfigPtrOutput { return i.ToShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -9217,6 +10394,12 @@ func (i *shieldedInstanceConfigPtrType) ToShieldedInstanceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigPtrOutput) } +func (i *shieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Shielded Instance Config for clusters using Compute Engine Shielded VMs (https://cloud.google.com/security/shielded-cloud/shielded-vm). type ShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -9242,6 +10425,12 @@ func (o ShieldedInstanceConfigOutput) ToShieldedInstanceConfigPtrOutputWithConte }).(ShieldedInstanceConfigPtrOutput) } +func (o ShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Defines whether instances have integrity monitoring enabled. func (o ShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -9271,6 +10460,12 @@ func (o ShieldedInstanceConfigPtrOutput) ToShieldedInstanceConfigPtrOutputWithCo return o } +func (o ShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceConfigPtrOutput) Elem() ShieldedInstanceConfigOutput { return o.ApplyT(func(v *ShieldedInstanceConfig) ShieldedInstanceConfig { if v != nil { @@ -9336,6 +10531,12 @@ func (o ShieldedInstanceConfigResponseOutput) ToShieldedInstanceConfigResponseOu return o } +func (o ShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfigResponse] { + return pulumix.Output[ShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Defines whether instances have integrity monitoring enabled. func (o ShieldedInstanceConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -9394,6 +10595,12 @@ func (i SoftwareConfigArgs) ToSoftwareConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SoftwareConfigOutput) } +func (i SoftwareConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfig] { + return pulumix.Output[SoftwareConfig]{ + OutputState: i.ToSoftwareConfigOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareConfigArgs) ToSoftwareConfigPtrOutput() SoftwareConfigPtrOutput { return i.ToSoftwareConfigPtrOutputWithContext(context.Background()) } @@ -9435,6 +10642,12 @@ func (i *softwareConfigPtrType) ToSoftwareConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SoftwareConfigPtrOutput) } +func (i *softwareConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfig] { + return pulumix.Output[*SoftwareConfig]{ + OutputState: i.ToSoftwareConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the selection and config of software inside the cluster. type SoftwareConfigOutput struct{ *pulumi.OutputState } @@ -9460,6 +10673,12 @@ func (o SoftwareConfigOutput) ToSoftwareConfigPtrOutputWithContext(ctx context.C }).(SoftwareConfigPtrOutput) } +func (o SoftwareConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfig] { + return pulumix.Output[SoftwareConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions), such as "1.2" (including a subminor version, such as "1.2.29"), or the "preview" version (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version. func (o SoftwareConfigOutput) ImageVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v SoftwareConfig) *string { return v.ImageVersion }).(pulumi.StringPtrOutput) @@ -9489,6 +10708,12 @@ func (o SoftwareConfigPtrOutput) ToSoftwareConfigPtrOutputWithContext(ctx contex return o } +func (o SoftwareConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareConfig] { + return pulumix.Output[*SoftwareConfig]{ + OutputState: o.OutputState, + } +} + func (o SoftwareConfigPtrOutput) Elem() SoftwareConfigOutput { return o.ApplyT(func(v *SoftwareConfig) SoftwareConfig { if v != nil { @@ -9554,6 +10779,12 @@ func (o SoftwareConfigResponseOutput) ToSoftwareConfigResponseOutputWithContext( return o } +func (o SoftwareConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareConfigResponse] { + return pulumix.Output[SoftwareConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions), such as "1.2" (including a subminor version, such as "1.2.29"), or the "preview" version (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version. func (o SoftwareConfigResponseOutput) ImageVersion() pulumi.StringOutput { return o.ApplyT(func(v SoftwareConfigResponse) string { return v.ImageVersion }).(pulumi.StringOutput) @@ -9632,6 +10863,12 @@ func (i SparkJobArgs) ToSparkJobOutputWithContext(ctx context.Context) SparkJobO return pulumi.ToOutputWithContext(ctx, i).(SparkJobOutput) } +func (i SparkJobArgs) ToOutput(ctx context.Context) pulumix.Output[SparkJob] { + return pulumix.Output[SparkJob]{ + OutputState: i.ToSparkJobOutputWithContext(ctx).OutputState, + } +} + func (i SparkJobArgs) ToSparkJobPtrOutput() SparkJobPtrOutput { return i.ToSparkJobPtrOutputWithContext(context.Background()) } @@ -9673,6 +10910,12 @@ func (i *sparkJobPtrType) ToSparkJobPtrOutputWithContext(ctx context.Context) Sp return pulumi.ToOutputWithContext(ctx, i).(SparkJobPtrOutput) } +func (i *sparkJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkJob] { + return pulumix.Output[*SparkJob]{ + OutputState: i.ToSparkJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache Spark (http://spark.apache.org/) applications on YARN. The specification of the main method to call to drive the job. Specify either the jar file that contains the main class or the main class name. To pass both a main jar and a main class in that jar, add the jar to CommonJob.jar_file_uris, and then specify the main class name in main_class. type SparkJobOutput struct{ *pulumi.OutputState } @@ -9698,6 +10941,12 @@ func (o SparkJobOutput) ToSparkJobPtrOutputWithContext(ctx context.Context) Spar }).(SparkJobPtrOutput) } +func (o SparkJobOutput) ToOutput(ctx context.Context) pulumix.Output[SparkJob] { + return pulumix.Output[SparkJob]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkJobOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkJob) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -9752,6 +11001,12 @@ func (o SparkJobPtrOutput) ToSparkJobPtrOutputWithContext(ctx context.Context) S return o } +func (o SparkJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkJob] { + return pulumix.Output[*SparkJob]{ + OutputState: o.OutputState, + } +} + func (o SparkJobPtrOutput) Elem() SparkJobOutput { return o.ApplyT(func(v *SparkJob) SparkJob { if v != nil { @@ -9877,6 +11132,12 @@ func (o SparkJobResponseOutput) ToSparkJobResponseOutputWithContext(ctx context. return o } +func (o SparkJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkJobResponse] { + return pulumix.Output[SparkJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkJobResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkJobResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -9972,6 +11233,12 @@ func (i SparkRJobArgs) ToSparkRJobOutputWithContext(ctx context.Context) SparkRJ return pulumi.ToOutputWithContext(ctx, i).(SparkRJobOutput) } +func (i SparkRJobArgs) ToOutput(ctx context.Context) pulumix.Output[SparkRJob] { + return pulumix.Output[SparkRJob]{ + OutputState: i.ToSparkRJobOutputWithContext(ctx).OutputState, + } +} + func (i SparkRJobArgs) ToSparkRJobPtrOutput() SparkRJobPtrOutput { return i.ToSparkRJobPtrOutputWithContext(context.Background()) } @@ -10013,6 +11280,12 @@ func (i *sparkRJobPtrType) ToSparkRJobPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SparkRJobPtrOutput) } +func (i *sparkRJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkRJob] { + return pulumix.Output[*SparkRJob]{ + OutputState: i.ToSparkRJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) applications on YARN. type SparkRJobOutput struct{ *pulumi.OutputState } @@ -10038,6 +11311,12 @@ func (o SparkRJobOutput) ToSparkRJobPtrOutputWithContext(ctx context.Context) Sp }).(SparkRJobPtrOutput) } +func (o SparkRJobOutput) ToOutput(ctx context.Context) pulumix.Output[SparkRJob] { + return pulumix.Output[SparkRJob]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkRJobOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkRJob) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -10082,6 +11361,12 @@ func (o SparkRJobPtrOutput) ToSparkRJobPtrOutputWithContext(ctx context.Context) return o } +func (o SparkRJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkRJob] { + return pulumix.Output[*SparkRJob]{ + OutputState: o.OutputState, + } +} + func (o SparkRJobPtrOutput) Elem() SparkRJobOutput { return o.ApplyT(func(v *SparkRJob) SparkRJob { if v != nil { @@ -10183,6 +11468,12 @@ func (o SparkRJobResponseOutput) ToSparkRJobResponseOutputWithContext(ctx contex return o } +func (o SparkRJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkRJobResponse] { + return pulumix.Output[SparkRJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. func (o SparkRJobResponseOutput) ArchiveUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkRJobResponse) []string { return v.ArchiveUris }).(pulumi.StringArrayOutput) @@ -10268,6 +11559,12 @@ func (i SparkSqlJobArgs) ToSparkSqlJobOutputWithContext(ctx context.Context) Spa return pulumi.ToOutputWithContext(ctx, i).(SparkSqlJobOutput) } +func (i SparkSqlJobArgs) ToOutput(ctx context.Context) pulumix.Output[SparkSqlJob] { + return pulumix.Output[SparkSqlJob]{ + OutputState: i.ToSparkSqlJobOutputWithContext(ctx).OutputState, + } +} + func (i SparkSqlJobArgs) ToSparkSqlJobPtrOutput() SparkSqlJobPtrOutput { return i.ToSparkSqlJobPtrOutputWithContext(context.Background()) } @@ -10309,6 +11606,12 @@ func (i *sparkSqlJobPtrType) ToSparkSqlJobPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SparkSqlJobPtrOutput) } +func (i *sparkSqlJobPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkSqlJob] { + return pulumix.Output[*SparkSqlJob]{ + OutputState: i.ToSparkSqlJobPtrOutputWithContext(ctx).OutputState, + } +} + // A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/) queries. type SparkSqlJobOutput struct{ *pulumi.OutputState } @@ -10334,6 +11637,12 @@ func (o SparkSqlJobOutput) ToSparkSqlJobPtrOutputWithContext(ctx context.Context }).(SparkSqlJobPtrOutput) } +func (o SparkSqlJobOutput) ToOutput(ctx context.Context) pulumix.Output[SparkSqlJob] { + return pulumix.Output[SparkSqlJob]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. func (o SparkSqlJobOutput) JarFileUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkSqlJob) []string { return v.JarFileUris }).(pulumi.StringArrayOutput) @@ -10378,6 +11687,12 @@ func (o SparkSqlJobPtrOutput) ToSparkSqlJobPtrOutputWithContext(ctx context.Cont return o } +func (o SparkSqlJobPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkSqlJob] { + return pulumix.Output[*SparkSqlJob]{ + OutputState: o.OutputState, + } +} + func (o SparkSqlJobPtrOutput) Elem() SparkSqlJobOutput { return o.ApplyT(func(v *SparkSqlJob) SparkSqlJob { if v != nil { @@ -10479,6 +11794,12 @@ func (o SparkSqlJobResponseOutput) ToSparkSqlJobResponseOutputWithContext(ctx co return o } +func (o SparkSqlJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkSqlJobResponse] { + return pulumix.Output[SparkSqlJobResponse]{ + OutputState: o.OutputState, + } +} + // Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. func (o SparkSqlJobResponseOutput) JarFileUris() pulumi.StringArrayOutput { return o.ApplyT(func(v SparkSqlJobResponse) []string { return v.JarFileUris }).(pulumi.StringArrayOutput) @@ -10556,6 +11877,12 @@ func (i TemplateParameterArgs) ToTemplateParameterOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TemplateParameterOutput) } +func (i TemplateParameterArgs) ToOutput(ctx context.Context) pulumix.Output[TemplateParameter] { + return pulumix.Output[TemplateParameter]{ + OutputState: i.ToTemplateParameterOutputWithContext(ctx).OutputState, + } +} + // TemplateParameterArrayInput is an input type that accepts TemplateParameterArray and TemplateParameterArrayOutput values. // You can construct a concrete instance of `TemplateParameterArrayInput` via: // @@ -10581,6 +11908,12 @@ func (i TemplateParameterArray) ToTemplateParameterArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(TemplateParameterArrayOutput) } +func (i TemplateParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]TemplateParameter] { + return pulumix.Output[[]TemplateParameter]{ + OutputState: i.ToTemplateParameterArrayOutputWithContext(ctx).OutputState, + } +} + // A configurable parameter that replaces one or more fields in the template. Parameterizable fields: - Labels - File uris - Job properties - Job arguments - Script variables - Main class (in HadoopJob and SparkJob) - Zone (in ClusterSelector) type TemplateParameterOutput struct{ *pulumi.OutputState } @@ -10596,6 +11929,12 @@ func (o TemplateParameterOutput) ToTemplateParameterOutputWithContext(ctx contex return o } +func (o TemplateParameterOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateParameter] { + return pulumix.Output[TemplateParameter]{ + OutputState: o.OutputState, + } +} + // Optional. Brief description of the parameter. Must not exceed 1024 characters. func (o TemplateParameterOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v TemplateParameter) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -10630,6 +11969,12 @@ func (o TemplateParameterArrayOutput) ToTemplateParameterArrayOutputWithContext( return o } +func (o TemplateParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TemplateParameter] { + return pulumix.Output[[]TemplateParameter]{ + OutputState: o.OutputState, + } +} + func (o TemplateParameterArrayOutput) Index(i pulumi.IntInput) TemplateParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TemplateParameter { return vs[0].([]TemplateParameter)[vs[1].(int)] @@ -10663,6 +12008,12 @@ func (o TemplateParameterResponseOutput) ToTemplateParameterResponseOutputWithCo return o } +func (o TemplateParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateParameterResponse] { + return pulumix.Output[TemplateParameterResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Brief description of the parameter. Must not exceed 1024 characters. func (o TemplateParameterResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v TemplateParameterResponse) string { return v.Description }).(pulumi.StringOutput) @@ -10697,6 +12048,12 @@ func (o TemplateParameterResponseArrayOutput) ToTemplateParameterResponseArrayOu return o } +func (o TemplateParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TemplateParameterResponse] { + return pulumix.Output[[]TemplateParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o TemplateParameterResponseArrayOutput) Index(i pulumi.IntInput) TemplateParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TemplateParameterResponse { return vs[0].([]TemplateParameterResponse)[vs[1].(int)] @@ -10738,6 +12095,12 @@ func (i ValueValidationArgs) ToValueValidationOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ValueValidationOutput) } +func (i ValueValidationArgs) ToOutput(ctx context.Context) pulumix.Output[ValueValidation] { + return pulumix.Output[ValueValidation]{ + OutputState: i.ToValueValidationOutputWithContext(ctx).OutputState, + } +} + func (i ValueValidationArgs) ToValueValidationPtrOutput() ValueValidationPtrOutput { return i.ToValueValidationPtrOutputWithContext(context.Background()) } @@ -10779,6 +12142,12 @@ func (i *valueValidationPtrType) ToValueValidationPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ValueValidationPtrOutput) } +func (i *valueValidationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ValueValidation] { + return pulumix.Output[*ValueValidation]{ + OutputState: i.ToValueValidationPtrOutputWithContext(ctx).OutputState, + } +} + // Validation based on a list of allowed values. type ValueValidationOutput struct{ *pulumi.OutputState } @@ -10804,6 +12173,12 @@ func (o ValueValidationOutput) ToValueValidationPtrOutputWithContext(ctx context }).(ValueValidationPtrOutput) } +func (o ValueValidationOutput) ToOutput(ctx context.Context) pulumix.Output[ValueValidation] { + return pulumix.Output[ValueValidation]{ + OutputState: o.OutputState, + } +} + // List of allowed values for the parameter. func (o ValueValidationOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v ValueValidation) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -10823,6 +12198,12 @@ func (o ValueValidationPtrOutput) ToValueValidationPtrOutputWithContext(ctx cont return o } +func (o ValueValidationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValueValidation] { + return pulumix.Output[*ValueValidation]{ + OutputState: o.OutputState, + } +} + func (o ValueValidationPtrOutput) Elem() ValueValidationOutput { return o.ApplyT(func(v *ValueValidation) ValueValidation { if v != nil { @@ -10864,6 +12245,12 @@ func (o ValueValidationResponseOutput) ToValueValidationResponseOutputWithContex return o } +func (o ValueValidationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValueValidationResponse] { + return pulumix.Output[ValueValidationResponse]{ + OutputState: o.OutputState, + } +} + // List of allowed values for the parameter. func (o ValueValidationResponseOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v ValueValidationResponse) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -10908,6 +12295,12 @@ func (i WorkflowTemplatePlacementArgs) ToWorkflowTemplatePlacementOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(WorkflowTemplatePlacementOutput) } +func (i WorkflowTemplatePlacementArgs) ToOutput(ctx context.Context) pulumix.Output[WorkflowTemplatePlacement] { + return pulumix.Output[WorkflowTemplatePlacement]{ + OutputState: i.ToWorkflowTemplatePlacementOutputWithContext(ctx).OutputState, + } +} + // Specifies workflow execution target.Either managed_cluster or cluster_selector is required. type WorkflowTemplatePlacementOutput struct{ *pulumi.OutputState } @@ -10923,6 +12316,12 @@ func (o WorkflowTemplatePlacementOutput) ToWorkflowTemplatePlacementOutputWithCo return o } +func (o WorkflowTemplatePlacementOutput) ToOutput(ctx context.Context) pulumix.Output[WorkflowTemplatePlacement] { + return pulumix.Output[WorkflowTemplatePlacement]{ + OutputState: o.OutputState, + } +} + // Optional. A selector that chooses target cluster for jobs based on metadata.The selector is evaluated at the time each job is submitted. func (o WorkflowTemplatePlacementOutput) ClusterSelector() ClusterSelectorPtrOutput { return o.ApplyT(func(v WorkflowTemplatePlacement) *ClusterSelector { return v.ClusterSelector }).(ClusterSelectorPtrOutput) @@ -10956,6 +12355,12 @@ func (o WorkflowTemplatePlacementResponseOutput) ToWorkflowTemplatePlacementResp return o } +func (o WorkflowTemplatePlacementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkflowTemplatePlacementResponse] { + return pulumix.Output[WorkflowTemplatePlacementResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A selector that chooses target cluster for jobs based on metadata.The selector is evaluated at the time each job is submitted. func (o WorkflowTemplatePlacementResponseOutput) ClusterSelector() ClusterSelectorResponseOutput { return o.ApplyT(func(v WorkflowTemplatePlacementResponse) ClusterSelectorResponse { return v.ClusterSelector }).(ClusterSelectorResponseOutput) @@ -10993,6 +12398,12 @@ func (o YarnApplicationResponseOutput) ToYarnApplicationResponseOutputWithContex return o } +func (o YarnApplicationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[YarnApplicationResponse] { + return pulumix.Output[YarnApplicationResponse]{ + OutputState: o.OutputState, + } +} + // The application name. func (o YarnApplicationResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v YarnApplicationResponse) string { return v.Name }).(pulumi.StringOutput) @@ -11027,6 +12438,12 @@ func (o YarnApplicationResponseArrayOutput) ToYarnApplicationResponseArrayOutput return o } +func (o YarnApplicationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]YarnApplicationResponse] { + return pulumix.Output[[]YarnApplicationResponse]{ + OutputState: o.OutputState, + } +} + func (o YarnApplicationResponseArrayOutput) Index(i pulumi.IntInput) YarnApplicationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) YarnApplicationResponse { return vs[0].([]YarnApplicationResponse)[vs[1].(int)] diff --git a/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamBinding.go b/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamBinding.go index 3d68ece34a..fff4d537fc 100644 --- a/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamBinding.go +++ b/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionAutoscalingPolicyIamBinding) ToRegionAutoscalingPolicyIamBindingO return pulumi.ToOutputWithContext(ctx, i).(RegionAutoscalingPolicyIamBindingOutput) } +func (i *RegionAutoscalingPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamBinding] { + return pulumix.Output[*RegionAutoscalingPolicyIamBinding]{ + OutputState: i.ToRegionAutoscalingPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionAutoscalingPolicyIamBindingOutput struct{ *pulumi.OutputState } func (RegionAutoscalingPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionAutoscalingPolicyIamBindingOutput) ToRegionAutoscalingPolicyIamBin return o } +func (o RegionAutoscalingPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamBinding] { + return pulumix.Output[*RegionAutoscalingPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionAutoscalingPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionAutoscalingPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamMember.go b/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamMember.go index 63f6738492..7081b0bd32 100644 --- a/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamMember.go +++ b/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionAutoscalingPolicyIamMember) ToRegionAutoscalingPolicyIamMemberOut return pulumi.ToOutputWithContext(ctx, i).(RegionAutoscalingPolicyIamMemberOutput) } +func (i *RegionAutoscalingPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamMember] { + return pulumix.Output[*RegionAutoscalingPolicyIamMember]{ + OutputState: i.ToRegionAutoscalingPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionAutoscalingPolicyIamMemberOutput struct{ *pulumi.OutputState } func (RegionAutoscalingPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionAutoscalingPolicyIamMemberOutput) ToRegionAutoscalingPolicyIamMemb return o } +func (o RegionAutoscalingPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamMember] { + return pulumix.Output[*RegionAutoscalingPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionAutoscalingPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionAutoscalingPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamPolicy.go b/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamPolicy.go index a0e5bdb3a7..26a2bb9e6a 100644 --- a/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/regionAutoscalingPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -128,6 +129,12 @@ func (i *RegionAutoscalingPolicyIamPolicy) ToRegionAutoscalingPolicyIamPolicyOut return pulumi.ToOutputWithContext(ctx, i).(RegionAutoscalingPolicyIamPolicyOutput) } +func (i *RegionAutoscalingPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamPolicy] { + return pulumix.Output[*RegionAutoscalingPolicyIamPolicy]{ + OutputState: i.ToRegionAutoscalingPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionAutoscalingPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (RegionAutoscalingPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o RegionAutoscalingPolicyIamPolicyOutput) ToRegionAutoscalingPolicyIamPoli return o } +func (o RegionAutoscalingPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionAutoscalingPolicyIamPolicy] { + return pulumix.Output[*RegionAutoscalingPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o RegionAutoscalingPolicyIamPolicyOutput) AutoscalingPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *RegionAutoscalingPolicyIamPolicy) pulumi.StringOutput { return v.AutoscalingPolicyId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dataproc/v1beta2/regionClusterIamBinding.go b/sdk/go/google/dataproc/v1beta2/regionClusterIamBinding.go index eb91d5e765..8108a1b9a2 100644 --- a/sdk/go/google/dataproc/v1beta2/regionClusterIamBinding.go +++ b/sdk/go/google/dataproc/v1beta2/regionClusterIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionClusterIamBinding) ToRegionClusterIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RegionClusterIamBindingOutput) } +func (i *RegionClusterIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamBinding] { + return pulumix.Output[*RegionClusterIamBinding]{ + OutputState: i.ToRegionClusterIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionClusterIamBindingOutput struct{ *pulumi.OutputState } func (RegionClusterIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionClusterIamBindingOutput) ToRegionClusterIamBindingOutputWithContex return o } +func (o RegionClusterIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamBinding] { + return pulumix.Output[*RegionClusterIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionClusterIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionClusterIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionClusterIamMember.go b/sdk/go/google/dataproc/v1beta2/regionClusterIamMember.go index 984cbf0c5d..5a03f6442b 100644 --- a/sdk/go/google/dataproc/v1beta2/regionClusterIamMember.go +++ b/sdk/go/google/dataproc/v1beta2/regionClusterIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionClusterIamMember) ToRegionClusterIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionClusterIamMemberOutput) } +func (i *RegionClusterIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamMember] { + return pulumix.Output[*RegionClusterIamMember]{ + OutputState: i.ToRegionClusterIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionClusterIamMemberOutput struct{ *pulumi.OutputState } func (RegionClusterIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionClusterIamMemberOutput) ToRegionClusterIamMemberOutputWithContext( return o } +func (o RegionClusterIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamMember] { + return pulumix.Output[*RegionClusterIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionClusterIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionClusterIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionClusterIamPolicy.go b/sdk/go/google/dataproc/v1beta2/regionClusterIamPolicy.go index ff3e72e1ac..7618aeee7f 100644 --- a/sdk/go/google/dataproc/v1beta2/regionClusterIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/regionClusterIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -128,6 +129,12 @@ func (i *RegionClusterIamPolicy) ToRegionClusterIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionClusterIamPolicyOutput) } +func (i *RegionClusterIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamPolicy] { + return pulumix.Output[*RegionClusterIamPolicy]{ + OutputState: i.ToRegionClusterIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionClusterIamPolicyOutput struct{ *pulumi.OutputState } func (RegionClusterIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o RegionClusterIamPolicyOutput) ToRegionClusterIamPolicyOutputWithContext( return o } +func (o RegionClusterIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionClusterIamPolicy] { + return pulumix.Output[*RegionClusterIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o RegionClusterIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegionClusterIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionJobIamBinding.go b/sdk/go/google/dataproc/v1beta2/regionJobIamBinding.go index 083cb4224b..83f91b6ea2 100644 --- a/sdk/go/google/dataproc/v1beta2/regionJobIamBinding.go +++ b/sdk/go/google/dataproc/v1beta2/regionJobIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionJobIamBinding) ToRegionJobIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(RegionJobIamBindingOutput) } +func (i *RegionJobIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamBinding] { + return pulumix.Output[*RegionJobIamBinding]{ + OutputState: i.ToRegionJobIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionJobIamBindingOutput struct{ *pulumi.OutputState } func (RegionJobIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionJobIamBindingOutput) ToRegionJobIamBindingOutputWithContext(ctx co return o } +func (o RegionJobIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamBinding] { + return pulumix.Output[*RegionJobIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionJobIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionJobIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionJobIamMember.go b/sdk/go/google/dataproc/v1beta2/regionJobIamMember.go index 7377cd4fb9..9f089e8b15 100644 --- a/sdk/go/google/dataproc/v1beta2/regionJobIamMember.go +++ b/sdk/go/google/dataproc/v1beta2/regionJobIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionJobIamMember) ToRegionJobIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(RegionJobIamMemberOutput) } +func (i *RegionJobIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamMember] { + return pulumix.Output[*RegionJobIamMember]{ + OutputState: i.ToRegionJobIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionJobIamMemberOutput struct{ *pulumi.OutputState } func (RegionJobIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionJobIamMemberOutput) ToRegionJobIamMemberOutputWithContext(ctx cont return o } +func (o RegionJobIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamMember] { + return pulumix.Output[*RegionJobIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionJobIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionJobIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionJobIamPolicy.go b/sdk/go/google/dataproc/v1beta2/regionJobIamPolicy.go index 41ac2a11f4..9b5869c5f7 100644 --- a/sdk/go/google/dataproc/v1beta2/regionJobIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/regionJobIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -128,6 +129,12 @@ func (i *RegionJobIamPolicy) ToRegionJobIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(RegionJobIamPolicyOutput) } +func (i *RegionJobIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamPolicy] { + return pulumix.Output[*RegionJobIamPolicy]{ + OutputState: i.ToRegionJobIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionJobIamPolicyOutput struct{ *pulumi.OutputState } func (RegionJobIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o RegionJobIamPolicyOutput) ToRegionJobIamPolicyOutputWithContext(ctx cont return o } +func (o RegionJobIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionJobIamPolicy] { + return pulumix.Output[*RegionJobIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o RegionJobIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegionJobIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionOperationIamBinding.go b/sdk/go/google/dataproc/v1beta2/regionOperationIamBinding.go index c900ad88ea..d8dbfb0837 100644 --- a/sdk/go/google/dataproc/v1beta2/regionOperationIamBinding.go +++ b/sdk/go/google/dataproc/v1beta2/regionOperationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionOperationIamBinding) ToRegionOperationIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(RegionOperationIamBindingOutput) } +func (i *RegionOperationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamBinding] { + return pulumix.Output[*RegionOperationIamBinding]{ + OutputState: i.ToRegionOperationIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionOperationIamBindingOutput struct{ *pulumi.OutputState } func (RegionOperationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionOperationIamBindingOutput) ToRegionOperationIamBindingOutputWithCo return o } +func (o RegionOperationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamBinding] { + return pulumix.Output[*RegionOperationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionOperationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionOperationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionOperationIamMember.go b/sdk/go/google/dataproc/v1beta2/regionOperationIamMember.go index 93ff785ba4..fae081409b 100644 --- a/sdk/go/google/dataproc/v1beta2/regionOperationIamMember.go +++ b/sdk/go/google/dataproc/v1beta2/regionOperationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionOperationIamMember) ToRegionOperationIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RegionOperationIamMemberOutput) } +func (i *RegionOperationIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamMember] { + return pulumix.Output[*RegionOperationIamMember]{ + OutputState: i.ToRegionOperationIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionOperationIamMemberOutput struct{ *pulumi.OutputState } func (RegionOperationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionOperationIamMemberOutput) ToRegionOperationIamMemberOutputWithCont return o } +func (o RegionOperationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamMember] { + return pulumix.Output[*RegionOperationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionOperationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionOperationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionOperationIamPolicy.go b/sdk/go/google/dataproc/v1beta2/regionOperationIamPolicy.go index 6c17dc11a1..de6bf353af 100644 --- a/sdk/go/google/dataproc/v1beta2/regionOperationIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/regionOperationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -128,6 +129,12 @@ func (i *RegionOperationIamPolicy) ToRegionOperationIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RegionOperationIamPolicyOutput) } +func (i *RegionOperationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamPolicy] { + return pulumix.Output[*RegionOperationIamPolicy]{ + OutputState: i.ToRegionOperationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionOperationIamPolicyOutput struct{ *pulumi.OutputState } func (RegionOperationIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o RegionOperationIamPolicyOutput) ToRegionOperationIamPolicyOutputWithCont return o } +func (o RegionOperationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionOperationIamPolicy] { + return pulumix.Output[*RegionOperationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o RegionOperationIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegionOperationIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamBinding.go b/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamBinding.go index 01e3d54416..5528876a6d 100644 --- a/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamBinding.go +++ b/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionWorkflowTemplateIamBinding) ToRegionWorkflowTemplateIamBindingOut return pulumi.ToOutputWithContext(ctx, i).(RegionWorkflowTemplateIamBindingOutput) } +func (i *RegionWorkflowTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamBinding] { + return pulumix.Output[*RegionWorkflowTemplateIamBinding]{ + OutputState: i.ToRegionWorkflowTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegionWorkflowTemplateIamBindingOutput struct{ *pulumi.OutputState } func (RegionWorkflowTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionWorkflowTemplateIamBindingOutput) ToRegionWorkflowTemplateIamBindi return o } +func (o RegionWorkflowTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamBinding] { + return pulumix.Output[*RegionWorkflowTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionWorkflowTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionWorkflowTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamMember.go b/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamMember.go index f666af625d..49739318b2 100644 --- a/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamMember.go +++ b/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *RegionWorkflowTemplateIamMember) ToRegionWorkflowTemplateIamMemberOutpu return pulumi.ToOutputWithContext(ctx, i).(RegionWorkflowTemplateIamMemberOutput) } +func (i *RegionWorkflowTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamMember] { + return pulumix.Output[*RegionWorkflowTemplateIamMember]{ + OutputState: i.ToRegionWorkflowTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegionWorkflowTemplateIamMemberOutput struct{ *pulumi.OutputState } func (RegionWorkflowTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegionWorkflowTemplateIamMemberOutput) ToRegionWorkflowTemplateIamMember return o } +func (o RegionWorkflowTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamMember] { + return pulumix.Output[*RegionWorkflowTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegionWorkflowTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegionWorkflowTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamPolicy.go b/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamPolicy.go index adb52557bb..6796bd70c9 100644 --- a/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/regionWorkflowTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -128,6 +129,12 @@ func (i *RegionWorkflowTemplateIamPolicy) ToRegionWorkflowTemplateIamPolicyOutpu return pulumi.ToOutputWithContext(ctx, i).(RegionWorkflowTemplateIamPolicyOutput) } +func (i *RegionWorkflowTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamPolicy] { + return pulumix.Output[*RegionWorkflowTemplateIamPolicy]{ + OutputState: i.ToRegionWorkflowTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegionWorkflowTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (RegionWorkflowTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o RegionWorkflowTemplateIamPolicyOutput) ToRegionWorkflowTemplateIamPolicy return o } +func (o RegionWorkflowTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionWorkflowTemplateIamPolicy] { + return pulumix.Output[*RegionWorkflowTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o RegionWorkflowTemplateIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegionWorkflowTemplateIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/dataproc/v1beta2/workflowTemplate.go b/sdk/go/google/dataproc/v1beta2/workflowTemplate.go index ccb60bdbe9..3a015fc000 100644 --- a/sdk/go/google/dataproc/v1beta2/workflowTemplate.go +++ b/sdk/go/google/dataproc/v1beta2/workflowTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates new workflow template. @@ -154,6 +155,12 @@ func (i *WorkflowTemplate) ToWorkflowTemplateOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(WorkflowTemplateOutput) } +func (i *WorkflowTemplate) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplate] { + return pulumix.Output[*WorkflowTemplate]{ + OutputState: i.ToWorkflowTemplateOutputWithContext(ctx).OutputState, + } +} + type WorkflowTemplateOutput struct{ *pulumi.OutputState } func (WorkflowTemplateOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o WorkflowTemplateOutput) ToWorkflowTemplateOutputWithContext(ctx context. return o } +func (o WorkflowTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplate] { + return pulumix.Output[*WorkflowTemplate]{ + OutputState: o.OutputState, + } +} + // The time template was created. func (o WorkflowTemplateOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *WorkflowTemplate) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dataproc/v1beta2/workflowTemplateIamBinding.go b/sdk/go/google/dataproc/v1beta2/workflowTemplateIamBinding.go index 05f9c5d43e..24b79cae71 100644 --- a/sdk/go/google/dataproc/v1beta2/workflowTemplateIamBinding.go +++ b/sdk/go/google/dataproc/v1beta2/workflowTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *WorkflowTemplateIamBinding) ToWorkflowTemplateIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(WorkflowTemplateIamBindingOutput) } +func (i *WorkflowTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamBinding] { + return pulumix.Output[*WorkflowTemplateIamBinding]{ + OutputState: i.ToWorkflowTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type WorkflowTemplateIamBindingOutput struct{ *pulumi.OutputState } func (WorkflowTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o WorkflowTemplateIamBindingOutput) ToWorkflowTemplateIamBindingOutputWith return o } +func (o WorkflowTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamBinding] { + return pulumix.Output[*WorkflowTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o WorkflowTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *WorkflowTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/workflowTemplateIamMember.go b/sdk/go/google/dataproc/v1beta2/workflowTemplateIamMember.go index 7ddf5fd12f..03634bab07 100644 --- a/sdk/go/google/dataproc/v1beta2/workflowTemplateIamMember.go +++ b/sdk/go/google/dataproc/v1beta2/workflowTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *WorkflowTemplateIamMember) ToWorkflowTemplateIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(WorkflowTemplateIamMemberOutput) } +func (i *WorkflowTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamMember] { + return pulumix.Output[*WorkflowTemplateIamMember]{ + OutputState: i.ToWorkflowTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type WorkflowTemplateIamMemberOutput struct{ *pulumi.OutputState } func (WorkflowTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o WorkflowTemplateIamMemberOutput) ToWorkflowTemplateIamMemberOutputWithCo return o } +func (o WorkflowTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamMember] { + return pulumix.Output[*WorkflowTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o WorkflowTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *WorkflowTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dataproc/v1beta2/workflowTemplateIamPolicy.go b/sdk/go/google/dataproc/v1beta2/workflowTemplateIamPolicy.go index 1bc350a639..4918b79c6a 100644 --- a/sdk/go/google/dataproc/v1beta2/workflowTemplateIamPolicy.go +++ b/sdk/go/google/dataproc/v1beta2/workflowTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -125,6 +126,12 @@ func (i *WorkflowTemplateIamPolicy) ToWorkflowTemplateIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(WorkflowTemplateIamPolicyOutput) } +func (i *WorkflowTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamPolicy] { + return pulumix.Output[*WorkflowTemplateIamPolicy]{ + OutputState: i.ToWorkflowTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type WorkflowTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (WorkflowTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o WorkflowTemplateIamPolicyOutput) ToWorkflowTemplateIamPolicyOutputWithCo return o } +func (o WorkflowTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowTemplateIamPolicy] { + return pulumix.Output[*WorkflowTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of members to a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one member. func (o WorkflowTemplateIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *WorkflowTemplateIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/datastore/v1/getIndex.go b/sdk/go/google/datastore/v1/getIndex.go index b1423297b1..6d4f092d4f 100644 --- a/sdk/go/google/datastore/v1/getIndex.go +++ b/sdk/go/google/datastore/v1/getIndex.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an index. @@ -78,6 +79,12 @@ func (o LookupIndexResultOutput) ToLookupIndexResultOutputWithContext(ctx contex return o } +func (o LookupIndexResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIndexResult] { + return pulumix.Output[LookupIndexResult]{ + OutputState: o.OutputState, + } +} + // The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED. func (o LookupIndexResultOutput) Ancestor() pulumi.StringOutput { return o.ApplyT(func(v LookupIndexResult) string { return v.Ancestor }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastore/v1/index.go b/sdk/go/google/datastore/v1/index.go index 8dddab832b..b608c3cf1a 100644 --- a/sdk/go/google/datastore/v1/index.go +++ b/sdk/go/google/datastore/v1/index.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates the specified index. A newly created index's initial state is `CREATING`. On completion of the returned google.longrunning.Operation, the state will be `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. During index creation, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, removing the index with delete, then re-creating the index with create. Indexes with a single property cannot be created. @@ -126,6 +127,12 @@ func (i *Index) ToIndexOutputWithContext(ctx context.Context) IndexOutput { return pulumi.ToOutputWithContext(ctx, i).(IndexOutput) } +func (i *Index) ToOutput(ctx context.Context) pulumix.Output[*Index] { + return pulumix.Output[*Index]{ + OutputState: i.ToIndexOutputWithContext(ctx).OutputState, + } +} + type IndexOutput struct{ *pulumi.OutputState } func (IndexOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o IndexOutput) ToIndexOutputWithContext(ctx context.Context) IndexOutput { return o } +func (o IndexOutput) ToOutput(ctx context.Context) pulumix.Output[*Index] { + return pulumix.Output[*Index]{ + OutputState: o.OutputState, + } +} + // The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED. func (o IndexOutput) Ancestor() pulumi.StringOutput { return o.ApplyT(func(v *Index) pulumi.StringOutput { return v.Ancestor }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastore/v1/pulumiEnums.go b/sdk/go/google/datastore/v1/pulumiEnums.go index 1e7b50c4a9..ca85aed473 100644 --- a/sdk/go/google/datastore/v1/pulumiEnums.go +++ b/sdk/go/google/datastore/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED. @@ -82,6 +83,12 @@ func (o GoogleDatastoreAdminV1IndexedPropertyDirectionOutput) ToGoogleDatastoreA }).(GoogleDatastoreAdminV1IndexedPropertyDirectionPtrOutput) } +func (o GoogleDatastoreAdminV1IndexedPropertyDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDatastoreAdminV1IndexedPropertyDirection] { + return pulumix.Output[GoogleDatastoreAdminV1IndexedPropertyDirection]{ + OutputState: o.OutputState, + } +} + func (o GoogleDatastoreAdminV1IndexedPropertyDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o GoogleDatastoreAdminV1IndexedPropertyDirectionPtrOutput) ToGoogleDatasto return o } +func (o GoogleDatastoreAdminV1IndexedPropertyDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDatastoreAdminV1IndexedPropertyDirection] { + return pulumix.Output[*GoogleDatastoreAdminV1IndexedPropertyDirection]{ + OutputState: o.OutputState, + } +} + func (o GoogleDatastoreAdminV1IndexedPropertyDirectionPtrOutput) Elem() GoogleDatastoreAdminV1IndexedPropertyDirectionOutput { return o.ApplyT(func(v *GoogleDatastoreAdminV1IndexedPropertyDirection) GoogleDatastoreAdminV1IndexedPropertyDirection { if v != nil { @@ -179,6 +192,12 @@ func (in *googleDatastoreAdminV1IndexedPropertyDirectionPtr) ToGoogleDatastoreAd return pulumi.ToOutputWithContext(ctx, in).(GoogleDatastoreAdminV1IndexedPropertyDirectionPtrOutput) } +func (in *googleDatastoreAdminV1IndexedPropertyDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleDatastoreAdminV1IndexedPropertyDirection] { + return pulumix.Output[*GoogleDatastoreAdminV1IndexedPropertyDirection]{ + OutputState: in.ToGoogleDatastoreAdminV1IndexedPropertyDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED. type IndexAncestor string @@ -251,6 +270,12 @@ func (o IndexAncestorOutput) ToIndexAncestorPtrOutputWithContext(ctx context.Con }).(IndexAncestorPtrOutput) } +func (o IndexAncestorOutput) ToOutput(ctx context.Context) pulumix.Output[IndexAncestor] { + return pulumix.Output[IndexAncestor]{ + OutputState: o.OutputState, + } +} + func (o IndexAncestorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o IndexAncestorPtrOutput) ToIndexAncestorPtrOutputWithContext(ctx context. return o } +func (o IndexAncestorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IndexAncestor] { + return pulumix.Output[*IndexAncestor]{ + OutputState: o.OutputState, + } +} + func (o IndexAncestorPtrOutput) Elem() IndexAncestorOutput { return o.ApplyT(func(v *IndexAncestor) IndexAncestor { if v != nil { @@ -348,6 +379,12 @@ func (in *indexAncestorPtr) ToIndexAncestorPtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(IndexAncestorPtrOutput) } +func (in *indexAncestorPtr) ToOutput(ctx context.Context) pulumix.Output[*IndexAncestor] { + return pulumix.Output[*IndexAncestor]{ + OutputState: in.ToIndexAncestorPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleDatastoreAdminV1IndexedPropertyDirectionInput)(nil)).Elem(), GoogleDatastoreAdminV1IndexedPropertyDirection("DIRECTION_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleDatastoreAdminV1IndexedPropertyDirectionPtrInput)(nil)).Elem(), GoogleDatastoreAdminV1IndexedPropertyDirection("DIRECTION_UNSPECIFIED")) diff --git a/sdk/go/google/datastore/v1/pulumiTypes.go b/sdk/go/google/datastore/v1/pulumiTypes.go index eee1fe78f2..4374093ee0 100644 --- a/sdk/go/google/datastore/v1/pulumiTypes.go +++ b/sdk/go/google/datastore/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleDatastoreAdminV1IndexedPropertyArgs) ToGoogleDatastoreAdminV1Index return pulumi.ToOutputWithContext(ctx, i).(GoogleDatastoreAdminV1IndexedPropertyOutput) } +func (i GoogleDatastoreAdminV1IndexedPropertyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDatastoreAdminV1IndexedProperty] { + return pulumix.Output[GoogleDatastoreAdminV1IndexedProperty]{ + OutputState: i.ToGoogleDatastoreAdminV1IndexedPropertyOutputWithContext(ctx).OutputState, + } +} + // GoogleDatastoreAdminV1IndexedPropertyArrayInput is an input type that accepts GoogleDatastoreAdminV1IndexedPropertyArray and GoogleDatastoreAdminV1IndexedPropertyArrayOutput values. // You can construct a concrete instance of `GoogleDatastoreAdminV1IndexedPropertyArrayInput` via: // @@ -77,6 +84,12 @@ func (i GoogleDatastoreAdminV1IndexedPropertyArray) ToGoogleDatastoreAdminV1Inde return pulumi.ToOutputWithContext(ctx, i).(GoogleDatastoreAdminV1IndexedPropertyArrayOutput) } +func (i GoogleDatastoreAdminV1IndexedPropertyArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleDatastoreAdminV1IndexedProperty] { + return pulumix.Output[[]GoogleDatastoreAdminV1IndexedProperty]{ + OutputState: i.ToGoogleDatastoreAdminV1IndexedPropertyArrayOutputWithContext(ctx).OutputState, + } +} + // A property of an index. type GoogleDatastoreAdminV1IndexedPropertyOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o GoogleDatastoreAdminV1IndexedPropertyOutput) ToGoogleDatastoreAdminV1Ind return o } +func (o GoogleDatastoreAdminV1IndexedPropertyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDatastoreAdminV1IndexedProperty] { + return pulumix.Output[GoogleDatastoreAdminV1IndexedProperty]{ + OutputState: o.OutputState, + } +} + // The indexed property's direction. Must not be DIRECTION_UNSPECIFIED. func (o GoogleDatastoreAdminV1IndexedPropertyOutput) Direction() GoogleDatastoreAdminV1IndexedPropertyDirectionOutput { return o.ApplyT(func(v GoogleDatastoreAdminV1IndexedProperty) GoogleDatastoreAdminV1IndexedPropertyDirection { @@ -118,6 +137,12 @@ func (o GoogleDatastoreAdminV1IndexedPropertyArrayOutput) ToGoogleDatastoreAdmin return o } +func (o GoogleDatastoreAdminV1IndexedPropertyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleDatastoreAdminV1IndexedProperty] { + return pulumix.Output[[]GoogleDatastoreAdminV1IndexedProperty]{ + OutputState: o.OutputState, + } +} + func (o GoogleDatastoreAdminV1IndexedPropertyArrayOutput) Index(i pulumi.IntInput) GoogleDatastoreAdminV1IndexedPropertyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleDatastoreAdminV1IndexedProperty { return vs[0].([]GoogleDatastoreAdminV1IndexedProperty)[vs[1].(int)] @@ -147,6 +172,12 @@ func (o GoogleDatastoreAdminV1IndexedPropertyResponseOutput) ToGoogleDatastoreAd return o } +func (o GoogleDatastoreAdminV1IndexedPropertyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDatastoreAdminV1IndexedPropertyResponse] { + return pulumix.Output[GoogleDatastoreAdminV1IndexedPropertyResponse]{ + OutputState: o.OutputState, + } +} + // The indexed property's direction. Must not be DIRECTION_UNSPECIFIED. func (o GoogleDatastoreAdminV1IndexedPropertyResponseOutput) Direction() pulumi.StringOutput { return o.ApplyT(func(v GoogleDatastoreAdminV1IndexedPropertyResponse) string { return v.Direction }).(pulumi.StringOutput) @@ -171,6 +202,12 @@ func (o GoogleDatastoreAdminV1IndexedPropertyResponseArrayOutput) ToGoogleDatast return o } +func (o GoogleDatastoreAdminV1IndexedPropertyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleDatastoreAdminV1IndexedPropertyResponse] { + return pulumix.Output[[]GoogleDatastoreAdminV1IndexedPropertyResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleDatastoreAdminV1IndexedPropertyResponseArrayOutput) Index(i pulumi.IntInput) GoogleDatastoreAdminV1IndexedPropertyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleDatastoreAdminV1IndexedPropertyResponse { return vs[0].([]GoogleDatastoreAdminV1IndexedPropertyResponse)[vs[1].(int)] diff --git a/sdk/go/google/datastream/v1/connectionProfile.go b/sdk/go/google/datastream/v1/connectionProfile.go index e6bd5e59d5..eda76dd945 100644 --- a/sdk/go/google/datastream/v1/connectionProfile.go +++ b/sdk/go/google/datastream/v1/connectionProfile.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to create a connection profile in a project and location. @@ -190,6 +191,12 @@ func (i *ConnectionProfile) ToConnectionProfileOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ConnectionProfileOutput) } +func (i *ConnectionProfile) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfile] { + return pulumix.Output[*ConnectionProfile]{ + OutputState: i.ToConnectionProfileOutputWithContext(ctx).OutputState, + } +} + type ConnectionProfileOutput struct{ *pulumi.OutputState } func (ConnectionProfileOutput) ElementType() reflect.Type { @@ -204,6 +211,12 @@ func (o ConnectionProfileOutput) ToConnectionProfileOutputWithContext(ctx contex return o } +func (o ConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfile] { + return pulumix.Output[*ConnectionProfile]{ + OutputState: o.OutputState, + } +} + // BigQuery Connection Profile configuration. func (o ConnectionProfileOutput) BigqueryProfile() BigQueryProfileResponseOutput { return o.ApplyT(func(v *ConnectionProfile) BigQueryProfileResponseOutput { return v.BigqueryProfile }).(BigQueryProfileResponseOutput) diff --git a/sdk/go/google/datastream/v1/getConnectionProfile.go b/sdk/go/google/datastream/v1/getConnectionProfile.go index effce838c5..3dcc2acbff 100644 --- a/sdk/go/google/datastream/v1/getConnectionProfile.go +++ b/sdk/go/google/datastream/v1/getConnectionProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to get details about a connection profile. @@ -94,6 +95,12 @@ func (o LookupConnectionProfileResultOutput) ToLookupConnectionProfileResultOutp return o } +func (o LookupConnectionProfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionProfileResult] { + return pulumix.Output[LookupConnectionProfileResult]{ + OutputState: o.OutputState, + } +} + // BigQuery Connection Profile configuration. func (o LookupConnectionProfileResultOutput) BigqueryProfile() BigQueryProfileResponseOutput { return o.ApplyT(func(v LookupConnectionProfileResult) BigQueryProfileResponse { return v.BigqueryProfile }).(BigQueryProfileResponseOutput) diff --git a/sdk/go/google/datastream/v1/getPrivateConnection.go b/sdk/go/google/datastream/v1/getPrivateConnection.go index cf6f65669f..03632d4c10 100644 --- a/sdk/go/google/datastream/v1/getPrivateConnection.go +++ b/sdk/go/google/datastream/v1/getPrivateConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to get details about a private connectivity configuration. @@ -84,6 +85,12 @@ func (o LookupPrivateConnectionResultOutput) ToLookupPrivateConnectionResultOutp return o } +func (o LookupPrivateConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPrivateConnectionResult] { + return pulumix.Output[LookupPrivateConnectionResult]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o LookupPrivateConnectionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupPrivateConnectionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1/getRoute.go b/sdk/go/google/datastream/v1/getRoute.go index 5185523a72..8fe4b6af32 100644 --- a/sdk/go/google/datastream/v1/getRoute.go +++ b/sdk/go/google/datastream/v1/getRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to get details about a route. @@ -84,6 +85,12 @@ func (o LookupRouteResultOutput) ToLookupRouteResultOutputWithContext(ctx contex return o } +func (o LookupRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRouteResult] { + return pulumix.Output[LookupRouteResult]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o LookupRouteResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupRouteResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1/getStream.go b/sdk/go/google/datastream/v1/getStream.go index 0299eb54f1..34fd48c79e 100644 --- a/sdk/go/google/datastream/v1/getStream.go +++ b/sdk/go/google/datastream/v1/getStream.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to get details about a stream. @@ -92,6 +93,12 @@ func (o LookupStreamResultOutput) ToLookupStreamResultOutputWithContext(ctx cont return o } +func (o LookupStreamResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupStreamResult] { + return pulumix.Output[LookupStreamResult]{ + OutputState: o.OutputState, + } +} + // Automatically backfill objects included in the stream source configuration. Specific objects can be excluded. func (o LookupStreamResultOutput) BackfillAll() BackfillAllStrategyResponseOutput { return o.ApplyT(func(v LookupStreamResult) BackfillAllStrategyResponse { return v.BackfillAll }).(BackfillAllStrategyResponseOutput) diff --git a/sdk/go/google/datastream/v1/privateConnection.go b/sdk/go/google/datastream/v1/privateConnection.go index ee4ee2a5a9..fa81fb3d26 100644 --- a/sdk/go/google/datastream/v1/privateConnection.go +++ b/sdk/go/google/datastream/v1/privateConnection.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to create a private connectivity configuration. @@ -152,6 +153,12 @@ func (i *PrivateConnection) ToPrivateConnectionOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectionOutput) } +func (i *PrivateConnection) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnection] { + return pulumix.Output[*PrivateConnection]{ + OutputState: i.ToPrivateConnectionOutputWithContext(ctx).OutputState, + } +} + type PrivateConnectionOutput struct{ *pulumi.OutputState } func (PrivateConnectionOutput) ElementType() reflect.Type { @@ -166,6 +173,12 @@ func (o PrivateConnectionOutput) ToPrivateConnectionOutputWithContext(ctx contex return o } +func (o PrivateConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnection] { + return pulumix.Output[*PrivateConnection]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o PrivateConnectionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *PrivateConnection) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1/pulumiEnums.go b/sdk/go/google/datastream/v1/pulumiEnums.go index 352436f8b4..cb9a978de7 100644 --- a/sdk/go/google/datastream/v1/pulumiEnums.go +++ b/sdk/go/google/datastream/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Compression of the loaded JSON file. @@ -82,6 +83,12 @@ func (o JsonFileFormatCompressionOutput) ToJsonFileFormatCompressionPtrOutputWit }).(JsonFileFormatCompressionPtrOutput) } +func (o JsonFileFormatCompressionOutput) ToOutput(ctx context.Context) pulumix.Output[JsonFileFormatCompression] { + return pulumix.Output[JsonFileFormatCompression]{ + OutputState: o.OutputState, + } +} + func (o JsonFileFormatCompressionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o JsonFileFormatCompressionPtrOutput) ToJsonFileFormatCompressionPtrOutput return o } +func (o JsonFileFormatCompressionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormatCompression] { + return pulumix.Output[*JsonFileFormatCompression]{ + OutputState: o.OutputState, + } +} + func (o JsonFileFormatCompressionPtrOutput) Elem() JsonFileFormatCompressionOutput { return o.ApplyT(func(v *JsonFileFormatCompression) JsonFileFormatCompression { if v != nil { @@ -179,6 +192,12 @@ func (in *jsonFileFormatCompressionPtr) ToJsonFileFormatCompressionPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(JsonFileFormatCompressionPtrOutput) } +func (in *jsonFileFormatCompressionPtr) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormatCompression] { + return pulumix.Output[*JsonFileFormatCompression]{ + OutputState: in.ToJsonFileFormatCompressionPtrOutputWithContext(ctx).OutputState, + } +} + // The schema file format along JSON data files. type JsonFileFormatSchemaFileFormat string @@ -251,6 +270,12 @@ func (o JsonFileFormatSchemaFileFormatOutput) ToJsonFileFormatSchemaFileFormatPt }).(JsonFileFormatSchemaFileFormatPtrOutput) } +func (o JsonFileFormatSchemaFileFormatOutput) ToOutput(ctx context.Context) pulumix.Output[JsonFileFormatSchemaFileFormat] { + return pulumix.Output[JsonFileFormatSchemaFileFormat]{ + OutputState: o.OutputState, + } +} + func (o JsonFileFormatSchemaFileFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o JsonFileFormatSchemaFileFormatPtrOutput) ToJsonFileFormatSchemaFileForma return o } +func (o JsonFileFormatSchemaFileFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormatSchemaFileFormat] { + return pulumix.Output[*JsonFileFormatSchemaFileFormat]{ + OutputState: o.OutputState, + } +} + func (o JsonFileFormatSchemaFileFormatPtrOutput) Elem() JsonFileFormatSchemaFileFormatOutput { return o.ApplyT(func(v *JsonFileFormatSchemaFileFormat) JsonFileFormatSchemaFileFormat { if v != nil { @@ -348,6 +379,12 @@ func (in *jsonFileFormatSchemaFileFormatPtr) ToJsonFileFormatSchemaFileFormatPtr return pulumi.ToOutputWithContext(ctx, in).(JsonFileFormatSchemaFileFormatPtrOutput) } +func (in *jsonFileFormatSchemaFileFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormatSchemaFileFormat] { + return pulumix.Output[*JsonFileFormatSchemaFileFormat]{ + OutputState: in.ToJsonFileFormatSchemaFileFormatPtrOutputWithContext(ctx).OutputState, + } +} + // The state of the stream. type StreamStateEnum string @@ -432,6 +469,12 @@ func (o StreamStateEnumOutput) ToStreamStateEnumPtrOutputWithContext(ctx context }).(StreamStateEnumPtrOutput) } +func (o StreamStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[StreamStateEnum] { + return pulumix.Output[StreamStateEnum]{ + OutputState: o.OutputState, + } +} + func (o StreamStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -467,6 +510,12 @@ func (o StreamStateEnumPtrOutput) ToStreamStateEnumPtrOutputWithContext(ctx cont return o } +func (o StreamStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StreamStateEnum] { + return pulumix.Output[*StreamStateEnum]{ + OutputState: o.OutputState, + } +} + func (o StreamStateEnumPtrOutput) Elem() StreamStateEnumOutput { return o.ApplyT(func(v *StreamStateEnum) StreamStateEnum { if v != nil { @@ -529,6 +578,12 @@ func (in *streamStateEnumPtr) ToStreamStateEnumPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(StreamStateEnumPtrOutput) } +func (in *streamStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*StreamStateEnum] { + return pulumix.Output[*StreamStateEnum]{ + OutputState: in.ToStreamStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*JsonFileFormatCompressionInput)(nil)).Elem(), JsonFileFormatCompression("JSON_COMPRESSION_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*JsonFileFormatCompressionPtrInput)(nil)).Elem(), JsonFileFormatCompression("JSON_COMPRESSION_UNSPECIFIED")) diff --git a/sdk/go/google/datastream/v1/pulumiTypes.go b/sdk/go/google/datastream/v1/pulumiTypes.go index 85d9f4cc2b..b8c6a7229a 100644 --- a/sdk/go/google/datastream/v1/pulumiTypes.go +++ b/sdk/go/google/datastream/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -44,6 +45,12 @@ func (i AvroFileFormatArgs) ToAvroFileFormatOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AvroFileFormatOutput) } +func (i AvroFileFormatArgs) ToOutput(ctx context.Context) pulumix.Output[AvroFileFormat] { + return pulumix.Output[AvroFileFormat]{ + OutputState: i.ToAvroFileFormatOutputWithContext(ctx).OutputState, + } +} + func (i AvroFileFormatArgs) ToAvroFileFormatPtrOutput() AvroFileFormatPtrOutput { return i.ToAvroFileFormatPtrOutputWithContext(context.Background()) } @@ -85,6 +92,12 @@ func (i *avroFileFormatPtrType) ToAvroFileFormatPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AvroFileFormatPtrOutput) } +func (i *avroFileFormatPtrType) ToOutput(ctx context.Context) pulumix.Output[*AvroFileFormat] { + return pulumix.Output[*AvroFileFormat]{ + OutputState: i.ToAvroFileFormatPtrOutputWithContext(ctx).OutputState, + } +} + // AVRO file format configuration. type AvroFileFormatOutput struct{ *pulumi.OutputState } @@ -110,6 +123,12 @@ func (o AvroFileFormatOutput) ToAvroFileFormatPtrOutputWithContext(ctx context.C }).(AvroFileFormatPtrOutput) } +func (o AvroFileFormatOutput) ToOutput(ctx context.Context) pulumix.Output[AvroFileFormat] { + return pulumix.Output[AvroFileFormat]{ + OutputState: o.OutputState, + } +} + type AvroFileFormatPtrOutput struct{ *pulumi.OutputState } func (AvroFileFormatPtrOutput) ElementType() reflect.Type { @@ -124,6 +143,12 @@ func (o AvroFileFormatPtrOutput) ToAvroFileFormatPtrOutputWithContext(ctx contex return o } +func (o AvroFileFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AvroFileFormat] { + return pulumix.Output[*AvroFileFormat]{ + OutputState: o.OutputState, + } +} + func (o AvroFileFormatPtrOutput) Elem() AvroFileFormatOutput { return o.ApplyT(func(v *AvroFileFormat) AvroFileFormat { if v != nil { @@ -153,6 +178,12 @@ func (o AvroFileFormatResponseOutput) ToAvroFileFormatResponseOutputWithContext( return o } +func (o AvroFileFormatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AvroFileFormatResponse] { + return pulumix.Output[AvroFileFormatResponse]{ + OutputState: o.OutputState, + } +} + // Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded. type BackfillAllStrategy struct { // MySQL data source objects to avoid backfilling. @@ -196,6 +227,12 @@ func (i BackfillAllStrategyArgs) ToBackfillAllStrategyOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BackfillAllStrategyOutput) } +func (i BackfillAllStrategyArgs) ToOutput(ctx context.Context) pulumix.Output[BackfillAllStrategy] { + return pulumix.Output[BackfillAllStrategy]{ + OutputState: i.ToBackfillAllStrategyOutputWithContext(ctx).OutputState, + } +} + func (i BackfillAllStrategyArgs) ToBackfillAllStrategyPtrOutput() BackfillAllStrategyPtrOutput { return i.ToBackfillAllStrategyPtrOutputWithContext(context.Background()) } @@ -237,6 +274,12 @@ func (i *backfillAllStrategyPtrType) ToBackfillAllStrategyPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BackfillAllStrategyPtrOutput) } +func (i *backfillAllStrategyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackfillAllStrategy] { + return pulumix.Output[*BackfillAllStrategy]{ + OutputState: i.ToBackfillAllStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded. type BackfillAllStrategyOutput struct{ *pulumi.OutputState } @@ -262,6 +305,12 @@ func (o BackfillAllStrategyOutput) ToBackfillAllStrategyPtrOutputWithContext(ctx }).(BackfillAllStrategyPtrOutput) } +func (o BackfillAllStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[BackfillAllStrategy] { + return pulumix.Output[BackfillAllStrategy]{ + OutputState: o.OutputState, + } +} + // MySQL data source objects to avoid backfilling. func (o BackfillAllStrategyOutput) MysqlExcludedObjects() MysqlRdbmsPtrOutput { return o.ApplyT(func(v BackfillAllStrategy) *MysqlRdbms { return v.MysqlExcludedObjects }).(MysqlRdbmsPtrOutput) @@ -291,6 +340,12 @@ func (o BackfillAllStrategyPtrOutput) ToBackfillAllStrategyPtrOutputWithContext( return o } +func (o BackfillAllStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackfillAllStrategy] { + return pulumix.Output[*BackfillAllStrategy]{ + OutputState: o.OutputState, + } +} + func (o BackfillAllStrategyPtrOutput) Elem() BackfillAllStrategyOutput { return o.ApplyT(func(v *BackfillAllStrategy) BackfillAllStrategy { if v != nil { @@ -356,6 +411,12 @@ func (o BackfillAllStrategyResponseOutput) ToBackfillAllStrategyResponseOutputWi return o } +func (o BackfillAllStrategyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackfillAllStrategyResponse] { + return pulumix.Output[BackfillAllStrategyResponse]{ + OutputState: o.OutputState, + } +} + // MySQL data source objects to avoid backfilling. func (o BackfillAllStrategyResponseOutput) MysqlExcludedObjects() MysqlRdbmsResponseOutput { return o.ApplyT(func(v BackfillAllStrategyResponse) MysqlRdbmsResponse { return v.MysqlExcludedObjects }).(MysqlRdbmsResponseOutput) @@ -402,6 +463,12 @@ func (i BackfillNoneStrategyArgs) ToBackfillNoneStrategyOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(BackfillNoneStrategyOutput) } +func (i BackfillNoneStrategyArgs) ToOutput(ctx context.Context) pulumix.Output[BackfillNoneStrategy] { + return pulumix.Output[BackfillNoneStrategy]{ + OutputState: i.ToBackfillNoneStrategyOutputWithContext(ctx).OutputState, + } +} + func (i BackfillNoneStrategyArgs) ToBackfillNoneStrategyPtrOutput() BackfillNoneStrategyPtrOutput { return i.ToBackfillNoneStrategyPtrOutputWithContext(context.Background()) } @@ -443,6 +510,12 @@ func (i *backfillNoneStrategyPtrType) ToBackfillNoneStrategyPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(BackfillNoneStrategyPtrOutput) } +func (i *backfillNoneStrategyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackfillNoneStrategy] { + return pulumix.Output[*BackfillNoneStrategy]{ + OutputState: i.ToBackfillNoneStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Backfill strategy to disable automatic backfill for the Stream's objects. type BackfillNoneStrategyOutput struct{ *pulumi.OutputState } @@ -468,6 +541,12 @@ func (o BackfillNoneStrategyOutput) ToBackfillNoneStrategyPtrOutputWithContext(c }).(BackfillNoneStrategyPtrOutput) } +func (o BackfillNoneStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[BackfillNoneStrategy] { + return pulumix.Output[BackfillNoneStrategy]{ + OutputState: o.OutputState, + } +} + type BackfillNoneStrategyPtrOutput struct{ *pulumi.OutputState } func (BackfillNoneStrategyPtrOutput) ElementType() reflect.Type { @@ -482,6 +561,12 @@ func (o BackfillNoneStrategyPtrOutput) ToBackfillNoneStrategyPtrOutputWithContex return o } +func (o BackfillNoneStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackfillNoneStrategy] { + return pulumix.Output[*BackfillNoneStrategy]{ + OutputState: o.OutputState, + } +} + func (o BackfillNoneStrategyPtrOutput) Elem() BackfillNoneStrategyOutput { return o.ApplyT(func(v *BackfillNoneStrategy) BackfillNoneStrategy { if v != nil { @@ -511,6 +596,12 @@ func (o BackfillNoneStrategyResponseOutput) ToBackfillNoneStrategyResponseOutput return o } +func (o BackfillNoneStrategyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackfillNoneStrategyResponse] { + return pulumix.Output[BackfillNoneStrategyResponse]{ + OutputState: o.OutputState, + } +} + // BigQuery destination configuration type BigQueryDestinationConfig struct { // The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost. @@ -554,6 +645,12 @@ func (i BigQueryDestinationConfigArgs) ToBigQueryDestinationConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(BigQueryDestinationConfigOutput) } +func (i BigQueryDestinationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BigQueryDestinationConfig] { + return pulumix.Output[BigQueryDestinationConfig]{ + OutputState: i.ToBigQueryDestinationConfigOutputWithContext(ctx).OutputState, + } +} + func (i BigQueryDestinationConfigArgs) ToBigQueryDestinationConfigPtrOutput() BigQueryDestinationConfigPtrOutput { return i.ToBigQueryDestinationConfigPtrOutputWithContext(context.Background()) } @@ -595,6 +692,12 @@ func (i *bigQueryDestinationConfigPtrType) ToBigQueryDestinationConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(BigQueryDestinationConfigPtrOutput) } +func (i *bigQueryDestinationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BigQueryDestinationConfig] { + return pulumix.Output[*BigQueryDestinationConfig]{ + OutputState: i.ToBigQueryDestinationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BigQuery destination configuration type BigQueryDestinationConfigOutput struct{ *pulumi.OutputState } @@ -620,6 +723,12 @@ func (o BigQueryDestinationConfigOutput) ToBigQueryDestinationConfigPtrOutputWit }).(BigQueryDestinationConfigPtrOutput) } +func (o BigQueryDestinationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDestinationConfig] { + return pulumix.Output[BigQueryDestinationConfig]{ + OutputState: o.OutputState, + } +} + // The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost. func (o BigQueryDestinationConfigOutput) DataFreshness() pulumi.StringPtrOutput { return o.ApplyT(func(v BigQueryDestinationConfig) *string { return v.DataFreshness }).(pulumi.StringPtrOutput) @@ -649,6 +758,12 @@ func (o BigQueryDestinationConfigPtrOutput) ToBigQueryDestinationConfigPtrOutput return o } +func (o BigQueryDestinationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BigQueryDestinationConfig] { + return pulumix.Output[*BigQueryDestinationConfig]{ + OutputState: o.OutputState, + } +} + func (o BigQueryDestinationConfigPtrOutput) Elem() BigQueryDestinationConfigOutput { return o.ApplyT(func(v *BigQueryDestinationConfig) BigQueryDestinationConfig { if v != nil { @@ -714,6 +829,12 @@ func (o BigQueryDestinationConfigResponseOutput) ToBigQueryDestinationConfigResp return o } +func (o BigQueryDestinationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDestinationConfigResponse] { + return pulumix.Output[BigQueryDestinationConfigResponse]{ + OutputState: o.OutputState, + } +} + // The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost. func (o BigQueryDestinationConfigResponseOutput) DataFreshness() pulumi.StringOutput { return o.ApplyT(func(v BigQueryDestinationConfigResponse) string { return v.DataFreshness }).(pulumi.StringOutput) @@ -762,6 +883,12 @@ func (i BigQueryProfileArgs) ToBigQueryProfileOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BigQueryProfileOutput) } +func (i BigQueryProfileArgs) ToOutput(ctx context.Context) pulumix.Output[BigQueryProfile] { + return pulumix.Output[BigQueryProfile]{ + OutputState: i.ToBigQueryProfileOutputWithContext(ctx).OutputState, + } +} + func (i BigQueryProfileArgs) ToBigQueryProfilePtrOutput() BigQueryProfilePtrOutput { return i.ToBigQueryProfilePtrOutputWithContext(context.Background()) } @@ -803,6 +930,12 @@ func (i *bigQueryProfilePtrType) ToBigQueryProfilePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BigQueryProfilePtrOutput) } +func (i *bigQueryProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*BigQueryProfile] { + return pulumix.Output[*BigQueryProfile]{ + OutputState: i.ToBigQueryProfilePtrOutputWithContext(ctx).OutputState, + } +} + // BigQuery warehouse profile. type BigQueryProfileOutput struct{ *pulumi.OutputState } @@ -828,6 +961,12 @@ func (o BigQueryProfileOutput) ToBigQueryProfilePtrOutputWithContext(ctx context }).(BigQueryProfilePtrOutput) } +func (o BigQueryProfileOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryProfile] { + return pulumix.Output[BigQueryProfile]{ + OutputState: o.OutputState, + } +} + type BigQueryProfilePtrOutput struct{ *pulumi.OutputState } func (BigQueryProfilePtrOutput) ElementType() reflect.Type { @@ -842,6 +981,12 @@ func (o BigQueryProfilePtrOutput) ToBigQueryProfilePtrOutputWithContext(ctx cont return o } +func (o BigQueryProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BigQueryProfile] { + return pulumix.Output[*BigQueryProfile]{ + OutputState: o.OutputState, + } +} + func (o BigQueryProfilePtrOutput) Elem() BigQueryProfileOutput { return o.ApplyT(func(v *BigQueryProfile) BigQueryProfile { if v != nil { @@ -871,6 +1016,12 @@ func (o BigQueryProfileResponseOutput) ToBigQueryProfileResponseOutputWithContex return o } +func (o BigQueryProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryProfileResponse] { + return pulumix.Output[BigQueryProfileResponse]{ + OutputState: o.OutputState, + } +} + // Dataset template used for dynamic dataset creation. type DatasetTemplate struct { // If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. _. @@ -914,6 +1065,12 @@ func (i DatasetTemplateArgs) ToDatasetTemplateOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DatasetTemplateOutput) } +func (i DatasetTemplateArgs) ToOutput(ctx context.Context) pulumix.Output[DatasetTemplate] { + return pulumix.Output[DatasetTemplate]{ + OutputState: i.ToDatasetTemplateOutputWithContext(ctx).OutputState, + } +} + func (i DatasetTemplateArgs) ToDatasetTemplatePtrOutput() DatasetTemplatePtrOutput { return i.ToDatasetTemplatePtrOutputWithContext(context.Background()) } @@ -955,6 +1112,12 @@ func (i *datasetTemplatePtrType) ToDatasetTemplatePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DatasetTemplatePtrOutput) } +func (i *datasetTemplatePtrType) ToOutput(ctx context.Context) pulumix.Output[*DatasetTemplate] { + return pulumix.Output[*DatasetTemplate]{ + OutputState: i.ToDatasetTemplatePtrOutputWithContext(ctx).OutputState, + } +} + // Dataset template used for dynamic dataset creation. type DatasetTemplateOutput struct{ *pulumi.OutputState } @@ -980,6 +1143,12 @@ func (o DatasetTemplateOutput) ToDatasetTemplatePtrOutputWithContext(ctx context }).(DatasetTemplatePtrOutput) } +func (o DatasetTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetTemplate] { + return pulumix.Output[DatasetTemplate]{ + OutputState: o.OutputState, + } +} + // If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. _. func (o DatasetTemplateOutput) DatasetIdPrefix() pulumi.StringPtrOutput { return o.ApplyT(func(v DatasetTemplate) *string { return v.DatasetIdPrefix }).(pulumi.StringPtrOutput) @@ -1009,6 +1178,12 @@ func (o DatasetTemplatePtrOutput) ToDatasetTemplatePtrOutputWithContext(ctx cont return o } +func (o DatasetTemplatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetTemplate] { + return pulumix.Output[*DatasetTemplate]{ + OutputState: o.OutputState, + } +} + func (o DatasetTemplatePtrOutput) Elem() DatasetTemplateOutput { return o.ApplyT(func(v *DatasetTemplate) DatasetTemplate { if v != nil { @@ -1074,6 +1249,12 @@ func (o DatasetTemplateResponseOutput) ToDatasetTemplateResponseOutputWithContex return o } +func (o DatasetTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatasetTemplateResponse] { + return pulumix.Output[DatasetTemplateResponse]{ + OutputState: o.OutputState, + } +} + // If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. _. func (o DatasetTemplateResponseOutput) DatasetIdPrefix() pulumi.StringOutput { return o.ApplyT(func(v DatasetTemplateResponse) string { return v.DatasetIdPrefix }).(pulumi.StringOutput) @@ -1132,6 +1313,12 @@ func (i DestinationConfigArgs) ToDestinationConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DestinationConfigOutput) } +func (i DestinationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DestinationConfig] { + return pulumix.Output[DestinationConfig]{ + OutputState: i.ToDestinationConfigOutputWithContext(ctx).OutputState, + } +} + // The configuration of the stream destination. type DestinationConfigOutput struct{ *pulumi.OutputState } @@ -1147,6 +1334,12 @@ func (o DestinationConfigOutput) ToDestinationConfigOutputWithContext(ctx contex return o } +func (o DestinationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationConfig] { + return pulumix.Output[DestinationConfig]{ + OutputState: o.OutputState, + } +} + // BigQuery destination configuration. func (o DestinationConfigOutput) BigqueryDestinationConfig() BigQueryDestinationConfigPtrOutput { return o.ApplyT(func(v DestinationConfig) *BigQueryDestinationConfig { return v.BigqueryDestinationConfig }).(BigQueryDestinationConfigPtrOutput) @@ -1187,6 +1380,12 @@ func (o DestinationConfigResponseOutput) ToDestinationConfigResponseOutputWithCo return o } +func (o DestinationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationConfigResponse] { + return pulumix.Output[DestinationConfigResponse]{ + OutputState: o.OutputState, + } +} + // BigQuery destination configuration. func (o DestinationConfigResponseOutput) BigqueryDestinationConfig() BigQueryDestinationConfigResponseOutput { return o.ApplyT(func(v DestinationConfigResponse) BigQueryDestinationConfigResponse { @@ -1235,6 +1434,12 @@ func (i DropLargeObjectsArgs) ToDropLargeObjectsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DropLargeObjectsOutput) } +func (i DropLargeObjectsArgs) ToOutput(ctx context.Context) pulumix.Output[DropLargeObjects] { + return pulumix.Output[DropLargeObjects]{ + OutputState: i.ToDropLargeObjectsOutputWithContext(ctx).OutputState, + } +} + func (i DropLargeObjectsArgs) ToDropLargeObjectsPtrOutput() DropLargeObjectsPtrOutput { return i.ToDropLargeObjectsPtrOutputWithContext(context.Background()) } @@ -1276,6 +1481,12 @@ func (i *dropLargeObjectsPtrType) ToDropLargeObjectsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DropLargeObjectsPtrOutput) } +func (i *dropLargeObjectsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DropLargeObjects] { + return pulumix.Output[*DropLargeObjects]{ + OutputState: i.ToDropLargeObjectsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration to drop large object values. type DropLargeObjectsOutput struct{ *pulumi.OutputState } @@ -1301,6 +1512,12 @@ func (o DropLargeObjectsOutput) ToDropLargeObjectsPtrOutputWithContext(ctx conte }).(DropLargeObjectsPtrOutput) } +func (o DropLargeObjectsOutput) ToOutput(ctx context.Context) pulumix.Output[DropLargeObjects] { + return pulumix.Output[DropLargeObjects]{ + OutputState: o.OutputState, + } +} + type DropLargeObjectsPtrOutput struct{ *pulumi.OutputState } func (DropLargeObjectsPtrOutput) ElementType() reflect.Type { @@ -1315,6 +1532,12 @@ func (o DropLargeObjectsPtrOutput) ToDropLargeObjectsPtrOutputWithContext(ctx co return o } +func (o DropLargeObjectsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DropLargeObjects] { + return pulumix.Output[*DropLargeObjects]{ + OutputState: o.OutputState, + } +} + func (o DropLargeObjectsPtrOutput) Elem() DropLargeObjectsOutput { return o.ApplyT(func(v *DropLargeObjects) DropLargeObjects { if v != nil { @@ -1344,6 +1567,12 @@ func (o DropLargeObjectsResponseOutput) ToDropLargeObjectsResponseOutputWithCont return o } +func (o DropLargeObjectsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DropLargeObjectsResponse] { + return pulumix.Output[DropLargeObjectsResponse]{ + OutputState: o.OutputState, + } +} + // Represent a user-facing Error. type ErrorResponse struct { // Additional information about the error. @@ -1373,6 +1602,12 @@ func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Contex return o } +func (o ErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorResponse] { + return pulumix.Output[ErrorResponse]{ + OutputState: o.OutputState, + } +} + // Additional information about the error. func (o ErrorResponseOutput) Details() pulumi.StringMapOutput { return o.ApplyT(func(v ErrorResponse) map[string]string { return v.Details }).(pulumi.StringMapOutput) @@ -1412,6 +1647,12 @@ func (o ErrorResponseArrayOutput) ToErrorResponseArrayOutputWithContext(ctx cont return o } +func (o ErrorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ErrorResponse] { + return pulumix.Output[[]ErrorResponse]{ + OutputState: o.OutputState, + } +} + func (o ErrorResponseArrayOutput) Index(i pulumi.IntInput) ErrorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ErrorResponse { return vs[0].([]ErrorResponse)[vs[1].(int)] @@ -1469,6 +1710,12 @@ func (i ForwardSshTunnelConnectivityArgs) ToForwardSshTunnelConnectivityOutputWi return pulumi.ToOutputWithContext(ctx, i).(ForwardSshTunnelConnectivityOutput) } +func (i ForwardSshTunnelConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[ForwardSshTunnelConnectivity] { + return pulumix.Output[ForwardSshTunnelConnectivity]{ + OutputState: i.ToForwardSshTunnelConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i ForwardSshTunnelConnectivityArgs) ToForwardSshTunnelConnectivityPtrOutput() ForwardSshTunnelConnectivityPtrOutput { return i.ToForwardSshTunnelConnectivityPtrOutputWithContext(context.Background()) } @@ -1510,6 +1757,12 @@ func (i *forwardSshTunnelConnectivityPtrType) ToForwardSshTunnelConnectivityPtrO return pulumi.ToOutputWithContext(ctx, i).(ForwardSshTunnelConnectivityPtrOutput) } +func (i *forwardSshTunnelConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ForwardSshTunnelConnectivity] { + return pulumix.Output[*ForwardSshTunnelConnectivity]{ + OutputState: i.ToForwardSshTunnelConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // Forward SSH Tunnel connectivity. type ForwardSshTunnelConnectivityOutput struct{ *pulumi.OutputState } @@ -1535,6 +1788,12 @@ func (o ForwardSshTunnelConnectivityOutput) ToForwardSshTunnelConnectivityPtrOut }).(ForwardSshTunnelConnectivityPtrOutput) } +func (o ForwardSshTunnelConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardSshTunnelConnectivity] { + return pulumix.Output[ForwardSshTunnelConnectivity]{ + OutputState: o.OutputState, + } +} + // Hostname for the SSH tunnel. func (o ForwardSshTunnelConnectivityOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v ForwardSshTunnelConnectivity) string { return v.Hostname }).(pulumi.StringOutput) @@ -1574,6 +1833,12 @@ func (o ForwardSshTunnelConnectivityPtrOutput) ToForwardSshTunnelConnectivityPtr return o } +func (o ForwardSshTunnelConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardSshTunnelConnectivity] { + return pulumix.Output[*ForwardSshTunnelConnectivity]{ + OutputState: o.OutputState, + } +} + func (o ForwardSshTunnelConnectivityPtrOutput) Elem() ForwardSshTunnelConnectivityOutput { return o.ApplyT(func(v *ForwardSshTunnelConnectivity) ForwardSshTunnelConnectivity { if v != nil { @@ -1663,6 +1928,12 @@ func (o ForwardSshTunnelConnectivityResponseOutput) ToForwardSshTunnelConnectivi return o } +func (o ForwardSshTunnelConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardSshTunnelConnectivityResponse] { + return pulumix.Output[ForwardSshTunnelConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // Hostname for the SSH tunnel. func (o ForwardSshTunnelConnectivityResponseOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v ForwardSshTunnelConnectivityResponse) string { return v.Hostname }).(pulumi.StringOutput) @@ -1739,6 +2010,12 @@ func (i GcsDestinationConfigArgs) ToGcsDestinationConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GcsDestinationConfigOutput) } +func (i GcsDestinationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GcsDestinationConfig] { + return pulumix.Output[GcsDestinationConfig]{ + OutputState: i.ToGcsDestinationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GcsDestinationConfigArgs) ToGcsDestinationConfigPtrOutput() GcsDestinationConfigPtrOutput { return i.ToGcsDestinationConfigPtrOutputWithContext(context.Background()) } @@ -1780,6 +2057,12 @@ func (i *gcsDestinationConfigPtrType) ToGcsDestinationConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(GcsDestinationConfigPtrOutput) } +func (i *gcsDestinationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcsDestinationConfig] { + return pulumix.Output[*GcsDestinationConfig]{ + OutputState: i.ToGcsDestinationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Google Cloud Storage destination configuration type GcsDestinationConfigOutput struct{ *pulumi.OutputState } @@ -1805,6 +2088,12 @@ func (o GcsDestinationConfigOutput) ToGcsDestinationConfigPtrOutputWithContext(c }).(GcsDestinationConfigPtrOutput) } +func (o GcsDestinationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GcsDestinationConfig] { + return pulumix.Output[GcsDestinationConfig]{ + OutputState: o.OutputState, + } +} + // AVRO file format configuration. func (o GcsDestinationConfigOutput) AvroFileFormat() AvroFileFormatPtrOutput { return o.ApplyT(func(v GcsDestinationConfig) *AvroFileFormat { return v.AvroFileFormat }).(AvroFileFormatPtrOutput) @@ -1844,6 +2133,12 @@ func (o GcsDestinationConfigPtrOutput) ToGcsDestinationConfigPtrOutputWithContex return o } +func (o GcsDestinationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcsDestinationConfig] { + return pulumix.Output[*GcsDestinationConfig]{ + OutputState: o.OutputState, + } +} + func (o GcsDestinationConfigPtrOutput) Elem() GcsDestinationConfigOutput { return o.ApplyT(func(v *GcsDestinationConfig) GcsDestinationConfig { if v != nil { @@ -1933,6 +2228,12 @@ func (o GcsDestinationConfigResponseOutput) ToGcsDestinationConfigResponseOutput return o } +func (o GcsDestinationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcsDestinationConfigResponse] { + return pulumix.Output[GcsDestinationConfigResponse]{ + OutputState: o.OutputState, + } +} + // AVRO file format configuration. func (o GcsDestinationConfigResponseOutput) AvroFileFormat() AvroFileFormatResponseOutput { return o.ApplyT(func(v GcsDestinationConfigResponse) AvroFileFormatResponse { return v.AvroFileFormat }).(AvroFileFormatResponseOutput) @@ -1997,6 +2298,12 @@ func (i GcsProfileArgs) ToGcsProfileOutputWithContext(ctx context.Context) GcsPr return pulumi.ToOutputWithContext(ctx, i).(GcsProfileOutput) } +func (i GcsProfileArgs) ToOutput(ctx context.Context) pulumix.Output[GcsProfile] { + return pulumix.Output[GcsProfile]{ + OutputState: i.ToGcsProfileOutputWithContext(ctx).OutputState, + } +} + func (i GcsProfileArgs) ToGcsProfilePtrOutput() GcsProfilePtrOutput { return i.ToGcsProfilePtrOutputWithContext(context.Background()) } @@ -2038,6 +2345,12 @@ func (i *gcsProfilePtrType) ToGcsProfilePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GcsProfilePtrOutput) } +func (i *gcsProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*GcsProfile] { + return pulumix.Output[*GcsProfile]{ + OutputState: i.ToGcsProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Storage bucket profile. type GcsProfileOutput struct{ *pulumi.OutputState } @@ -2063,6 +2376,12 @@ func (o GcsProfileOutput) ToGcsProfilePtrOutputWithContext(ctx context.Context) }).(GcsProfilePtrOutput) } +func (o GcsProfileOutput) ToOutput(ctx context.Context) pulumix.Output[GcsProfile] { + return pulumix.Output[GcsProfile]{ + OutputState: o.OutputState, + } +} + // The Cloud Storage bucket name. func (o GcsProfileOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v GcsProfile) string { return v.Bucket }).(pulumi.StringOutput) @@ -2087,6 +2406,12 @@ func (o GcsProfilePtrOutput) ToGcsProfilePtrOutputWithContext(ctx context.Contex return o } +func (o GcsProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcsProfile] { + return pulumix.Output[*GcsProfile]{ + OutputState: o.OutputState, + } +} + func (o GcsProfilePtrOutput) Elem() GcsProfileOutput { return o.ApplyT(func(v *GcsProfile) GcsProfile { if v != nil { @@ -2140,6 +2465,12 @@ func (o GcsProfileResponseOutput) ToGcsProfileResponseOutputWithContext(ctx cont return o } +func (o GcsProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcsProfileResponse] { + return pulumix.Output[GcsProfileResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud Storage bucket name. func (o GcsProfileResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v GcsProfileResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -2189,6 +2520,12 @@ func (i JsonFileFormatArgs) ToJsonFileFormatOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(JsonFileFormatOutput) } +func (i JsonFileFormatArgs) ToOutput(ctx context.Context) pulumix.Output[JsonFileFormat] { + return pulumix.Output[JsonFileFormat]{ + OutputState: i.ToJsonFileFormatOutputWithContext(ctx).OutputState, + } +} + func (i JsonFileFormatArgs) ToJsonFileFormatPtrOutput() JsonFileFormatPtrOutput { return i.ToJsonFileFormatPtrOutputWithContext(context.Background()) } @@ -2230,6 +2567,12 @@ func (i *jsonFileFormatPtrType) ToJsonFileFormatPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(JsonFileFormatPtrOutput) } +func (i *jsonFileFormatPtrType) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormat] { + return pulumix.Output[*JsonFileFormat]{ + OutputState: i.ToJsonFileFormatPtrOutputWithContext(ctx).OutputState, + } +} + // JSON file format configuration. type JsonFileFormatOutput struct{ *pulumi.OutputState } @@ -2255,6 +2598,12 @@ func (o JsonFileFormatOutput) ToJsonFileFormatPtrOutputWithContext(ctx context.C }).(JsonFileFormatPtrOutput) } +func (o JsonFileFormatOutput) ToOutput(ctx context.Context) pulumix.Output[JsonFileFormat] { + return pulumix.Output[JsonFileFormat]{ + OutputState: o.OutputState, + } +} + // Compression of the loaded JSON file. func (o JsonFileFormatOutput) Compression() JsonFileFormatCompressionPtrOutput { return o.ApplyT(func(v JsonFileFormat) *JsonFileFormatCompression { return v.Compression }).(JsonFileFormatCompressionPtrOutput) @@ -2279,6 +2628,12 @@ func (o JsonFileFormatPtrOutput) ToJsonFileFormatPtrOutputWithContext(ctx contex return o } +func (o JsonFileFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormat] { + return pulumix.Output[*JsonFileFormat]{ + OutputState: o.OutputState, + } +} + func (o JsonFileFormatPtrOutput) Elem() JsonFileFormatOutput { return o.ApplyT(func(v *JsonFileFormat) JsonFileFormat { if v != nil { @@ -2332,6 +2687,12 @@ func (o JsonFileFormatResponseOutput) ToJsonFileFormatResponseOutputWithContext( return o } +func (o JsonFileFormatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JsonFileFormatResponse] { + return pulumix.Output[JsonFileFormatResponse]{ + OutputState: o.OutputState, + } +} + // Compression of the loaded JSON file. func (o JsonFileFormatResponseOutput) Compression() pulumi.StringOutput { return o.ApplyT(func(v JsonFileFormatResponse) string { return v.Compression }).(pulumi.StringOutput) @@ -2401,6 +2762,12 @@ func (i MysqlColumnArgs) ToMysqlColumnOutputWithContext(ctx context.Context) Mys return pulumi.ToOutputWithContext(ctx, i).(MysqlColumnOutput) } +func (i MysqlColumnArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlColumn] { + return pulumix.Output[MysqlColumn]{ + OutputState: i.ToMysqlColumnOutputWithContext(ctx).OutputState, + } +} + // MysqlColumnArrayInput is an input type that accepts MysqlColumnArray and MysqlColumnArrayOutput values. // You can construct a concrete instance of `MysqlColumnArrayInput` via: // @@ -2426,6 +2793,12 @@ func (i MysqlColumnArray) ToMysqlColumnArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MysqlColumnArrayOutput) } +func (i MysqlColumnArray) ToOutput(ctx context.Context) pulumix.Output[[]MysqlColumn] { + return pulumix.Output[[]MysqlColumn]{ + OutputState: i.ToMysqlColumnArrayOutputWithContext(ctx).OutputState, + } +} + // MySQL Column. type MysqlColumnOutput struct{ *pulumi.OutputState } @@ -2441,6 +2814,12 @@ func (o MysqlColumnOutput) ToMysqlColumnOutputWithContext(ctx context.Context) M return o } +func (o MysqlColumnOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlColumn] { + return pulumix.Output[MysqlColumn]{ + OutputState: o.OutputState, + } +} + // Column collation. func (o MysqlColumnOutput) Collation() pulumi.StringPtrOutput { return o.ApplyT(func(v MysqlColumn) *string { return v.Collation }).(pulumi.StringPtrOutput) @@ -2490,6 +2869,12 @@ func (o MysqlColumnArrayOutput) ToMysqlColumnArrayOutputWithContext(ctx context. return o } +func (o MysqlColumnArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlColumn] { + return pulumix.Output[[]MysqlColumn]{ + OutputState: o.OutputState, + } +} + func (o MysqlColumnArrayOutput) Index(i pulumi.IntInput) MysqlColumnOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlColumn { return vs[0].([]MysqlColumn)[vs[1].(int)] @@ -2529,6 +2914,12 @@ func (o MysqlColumnResponseOutput) ToMysqlColumnResponseOutputWithContext(ctx co return o } +func (o MysqlColumnResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlColumnResponse] { + return pulumix.Output[MysqlColumnResponse]{ + OutputState: o.OutputState, + } +} + // Column collation. func (o MysqlColumnResponseOutput) Collation() pulumi.StringOutput { return o.ApplyT(func(v MysqlColumnResponse) string { return v.Collation }).(pulumi.StringOutput) @@ -2578,6 +2969,12 @@ func (o MysqlColumnResponseArrayOutput) ToMysqlColumnResponseArrayOutputWithCont return o } +func (o MysqlColumnResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlColumnResponse] { + return pulumix.Output[[]MysqlColumnResponse]{ + OutputState: o.OutputState, + } +} + func (o MysqlColumnResponseArrayOutput) Index(i pulumi.IntInput) MysqlColumnResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlColumnResponse { return vs[0].([]MysqlColumnResponse)[vs[1].(int)] @@ -2623,6 +3020,12 @@ func (i MysqlDatabaseArgs) ToMysqlDatabaseOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MysqlDatabaseOutput) } +func (i MysqlDatabaseArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlDatabase] { + return pulumix.Output[MysqlDatabase]{ + OutputState: i.ToMysqlDatabaseOutputWithContext(ctx).OutputState, + } +} + // MysqlDatabaseArrayInput is an input type that accepts MysqlDatabaseArray and MysqlDatabaseArrayOutput values. // You can construct a concrete instance of `MysqlDatabaseArrayInput` via: // @@ -2648,6 +3051,12 @@ func (i MysqlDatabaseArray) ToMysqlDatabaseArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MysqlDatabaseArrayOutput) } +func (i MysqlDatabaseArray) ToOutput(ctx context.Context) pulumix.Output[[]MysqlDatabase] { + return pulumix.Output[[]MysqlDatabase]{ + OutputState: i.ToMysqlDatabaseArrayOutputWithContext(ctx).OutputState, + } +} + // MySQL database. type MysqlDatabaseOutput struct{ *pulumi.OutputState } @@ -2663,6 +3072,12 @@ func (o MysqlDatabaseOutput) ToMysqlDatabaseOutputWithContext(ctx context.Contex return o } +func (o MysqlDatabaseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlDatabase] { + return pulumix.Output[MysqlDatabase]{ + OutputState: o.OutputState, + } +} + // Database name. func (o MysqlDatabaseOutput) Database() pulumi.StringPtrOutput { return o.ApplyT(func(v MysqlDatabase) *string { return v.Database }).(pulumi.StringPtrOutput) @@ -2687,6 +3102,12 @@ func (o MysqlDatabaseArrayOutput) ToMysqlDatabaseArrayOutputWithContext(ctx cont return o } +func (o MysqlDatabaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlDatabase] { + return pulumix.Output[[]MysqlDatabase]{ + OutputState: o.OutputState, + } +} + func (o MysqlDatabaseArrayOutput) Index(i pulumi.IntInput) MysqlDatabaseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlDatabase { return vs[0].([]MysqlDatabase)[vs[1].(int)] @@ -2716,6 +3137,12 @@ func (o MysqlDatabaseResponseOutput) ToMysqlDatabaseResponseOutputWithContext(ct return o } +func (o MysqlDatabaseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlDatabaseResponse] { + return pulumix.Output[MysqlDatabaseResponse]{ + OutputState: o.OutputState, + } +} + // Database name. func (o MysqlDatabaseResponseOutput) Database() pulumi.StringOutput { return o.ApplyT(func(v MysqlDatabaseResponse) string { return v.Database }).(pulumi.StringOutput) @@ -2740,6 +3167,12 @@ func (o MysqlDatabaseResponseArrayOutput) ToMysqlDatabaseResponseArrayOutputWith return o } +func (o MysqlDatabaseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlDatabaseResponse] { + return pulumix.Output[[]MysqlDatabaseResponse]{ + OutputState: o.OutputState, + } +} + func (o MysqlDatabaseResponseArrayOutput) Index(i pulumi.IntInput) MysqlDatabaseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlDatabaseResponse { return vs[0].([]MysqlDatabaseResponse)[vs[1].(int)] @@ -2797,6 +3230,12 @@ func (i MysqlProfileArgs) ToMysqlProfileOutputWithContext(ctx context.Context) M return pulumi.ToOutputWithContext(ctx, i).(MysqlProfileOutput) } +func (i MysqlProfileArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlProfile] { + return pulumix.Output[MysqlProfile]{ + OutputState: i.ToMysqlProfileOutputWithContext(ctx).OutputState, + } +} + func (i MysqlProfileArgs) ToMysqlProfilePtrOutput() MysqlProfilePtrOutput { return i.ToMysqlProfilePtrOutputWithContext(context.Background()) } @@ -2838,6 +3277,12 @@ func (i *mysqlProfilePtrType) ToMysqlProfilePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(MysqlProfilePtrOutput) } +func (i *mysqlProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*MysqlProfile] { + return pulumix.Output[*MysqlProfile]{ + OutputState: i.ToMysqlProfilePtrOutputWithContext(ctx).OutputState, + } +} + // MySQL database profile. type MysqlProfileOutput struct{ *pulumi.OutputState } @@ -2863,6 +3308,12 @@ func (o MysqlProfileOutput) ToMysqlProfilePtrOutputWithContext(ctx context.Conte }).(MysqlProfilePtrOutput) } +func (o MysqlProfileOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlProfile] { + return pulumix.Output[MysqlProfile]{ + OutputState: o.OutputState, + } +} + // Hostname for the MySQL connection. func (o MysqlProfileOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v MysqlProfile) string { return v.Hostname }).(pulumi.StringOutput) @@ -2902,6 +3353,12 @@ func (o MysqlProfilePtrOutput) ToMysqlProfilePtrOutputWithContext(ctx context.Co return o } +func (o MysqlProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MysqlProfile] { + return pulumix.Output[*MysqlProfile]{ + OutputState: o.OutputState, + } +} + func (o MysqlProfilePtrOutput) Elem() MysqlProfileOutput { return o.ApplyT(func(v *MysqlProfile) MysqlProfile { if v != nil { @@ -2991,6 +3448,12 @@ func (o MysqlProfileResponseOutput) ToMysqlProfileResponseOutputWithContext(ctx return o } +func (o MysqlProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlProfileResponse] { + return pulumix.Output[MysqlProfileResponse]{ + OutputState: o.OutputState, + } +} + // Hostname for the MySQL connection. func (o MysqlProfileResponseOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v MysqlProfileResponse) string { return v.Hostname }).(pulumi.StringOutput) @@ -3051,6 +3514,12 @@ func (i MysqlRdbmsArgs) ToMysqlRdbmsOutputWithContext(ctx context.Context) Mysql return pulumi.ToOutputWithContext(ctx, i).(MysqlRdbmsOutput) } +func (i MysqlRdbmsArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlRdbms] { + return pulumix.Output[MysqlRdbms]{ + OutputState: i.ToMysqlRdbmsOutputWithContext(ctx).OutputState, + } +} + func (i MysqlRdbmsArgs) ToMysqlRdbmsPtrOutput() MysqlRdbmsPtrOutput { return i.ToMysqlRdbmsPtrOutputWithContext(context.Background()) } @@ -3092,6 +3561,12 @@ func (i *mysqlRdbmsPtrType) ToMysqlRdbmsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(MysqlRdbmsPtrOutput) } +func (i *mysqlRdbmsPtrType) ToOutput(ctx context.Context) pulumix.Output[*MysqlRdbms] { + return pulumix.Output[*MysqlRdbms]{ + OutputState: i.ToMysqlRdbmsPtrOutputWithContext(ctx).OutputState, + } +} + // MySQL database structure type MysqlRdbmsOutput struct{ *pulumi.OutputState } @@ -3117,6 +3592,12 @@ func (o MysqlRdbmsOutput) ToMysqlRdbmsPtrOutputWithContext(ctx context.Context) }).(MysqlRdbmsPtrOutput) } +func (o MysqlRdbmsOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlRdbms] { + return pulumix.Output[MysqlRdbms]{ + OutputState: o.OutputState, + } +} + // Mysql databases on the server func (o MysqlRdbmsOutput) MysqlDatabases() MysqlDatabaseArrayOutput { return o.ApplyT(func(v MysqlRdbms) []MysqlDatabase { return v.MysqlDatabases }).(MysqlDatabaseArrayOutput) @@ -3136,6 +3617,12 @@ func (o MysqlRdbmsPtrOutput) ToMysqlRdbmsPtrOutputWithContext(ctx context.Contex return o } +func (o MysqlRdbmsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MysqlRdbms] { + return pulumix.Output[*MysqlRdbms]{ + OutputState: o.OutputState, + } +} + func (o MysqlRdbmsPtrOutput) Elem() MysqlRdbmsOutput { return o.ApplyT(func(v *MysqlRdbms) MysqlRdbms { if v != nil { @@ -3177,6 +3664,12 @@ func (o MysqlRdbmsResponseOutput) ToMysqlRdbmsResponseOutputWithContext(ctx cont return o } +func (o MysqlRdbmsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlRdbmsResponse] { + return pulumix.Output[MysqlRdbmsResponse]{ + OutputState: o.OutputState, + } +} + // Mysql databases on the server func (o MysqlRdbmsResponseOutput) MysqlDatabases() MysqlDatabaseResponseArrayOutput { return o.ApplyT(func(v MysqlRdbmsResponse) []MysqlDatabaseResponse { return v.MysqlDatabases }).(MysqlDatabaseResponseArrayOutput) @@ -3229,6 +3722,12 @@ func (i MysqlSourceConfigArgs) ToMysqlSourceConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MysqlSourceConfigOutput) } +func (i MysqlSourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlSourceConfig] { + return pulumix.Output[MysqlSourceConfig]{ + OutputState: i.ToMysqlSourceConfigOutputWithContext(ctx).OutputState, + } +} + func (i MysqlSourceConfigArgs) ToMysqlSourceConfigPtrOutput() MysqlSourceConfigPtrOutput { return i.ToMysqlSourceConfigPtrOutputWithContext(context.Background()) } @@ -3270,6 +3769,12 @@ func (i *mysqlSourceConfigPtrType) ToMysqlSourceConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MysqlSourceConfigPtrOutput) } +func (i *mysqlSourceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MysqlSourceConfig] { + return pulumix.Output[*MysqlSourceConfig]{ + OutputState: i.ToMysqlSourceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MySQL source configuration type MysqlSourceConfigOutput struct{ *pulumi.OutputState } @@ -3295,6 +3800,12 @@ func (o MysqlSourceConfigOutput) ToMysqlSourceConfigPtrOutputWithContext(ctx con }).(MysqlSourceConfigPtrOutput) } +func (o MysqlSourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlSourceConfig] { + return pulumix.Output[MysqlSourceConfig]{ + OutputState: o.OutputState, + } +} + // MySQL objects to exclude from the stream. func (o MysqlSourceConfigOutput) ExcludeObjects() MysqlRdbmsPtrOutput { return o.ApplyT(func(v MysqlSourceConfig) *MysqlRdbms { return v.ExcludeObjects }).(MysqlRdbmsPtrOutput) @@ -3329,6 +3840,12 @@ func (o MysqlSourceConfigPtrOutput) ToMysqlSourceConfigPtrOutputWithContext(ctx return o } +func (o MysqlSourceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MysqlSourceConfig] { + return pulumix.Output[*MysqlSourceConfig]{ + OutputState: o.OutputState, + } +} + func (o MysqlSourceConfigPtrOutput) Elem() MysqlSourceConfigOutput { return o.ApplyT(func(v *MysqlSourceConfig) MysqlSourceConfig { if v != nil { @@ -3406,6 +3923,12 @@ func (o MysqlSourceConfigResponseOutput) ToMysqlSourceConfigResponseOutputWithCo return o } +func (o MysqlSourceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlSourceConfigResponse] { + return pulumix.Output[MysqlSourceConfigResponse]{ + OutputState: o.OutputState, + } +} + // MySQL objects to exclude from the stream. func (o MysqlSourceConfigResponseOutput) ExcludeObjects() MysqlRdbmsResponseOutput { return o.ApplyT(func(v MysqlSourceConfigResponse) MysqlRdbmsResponse { return v.ExcludeObjects }).(MysqlRdbmsResponseOutput) @@ -3469,6 +3992,12 @@ func (i MysqlSslConfigArgs) ToMysqlSslConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MysqlSslConfigOutput) } +func (i MysqlSslConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlSslConfig] { + return pulumix.Output[MysqlSslConfig]{ + OutputState: i.ToMysqlSslConfigOutputWithContext(ctx).OutputState, + } +} + func (i MysqlSslConfigArgs) ToMysqlSslConfigPtrOutput() MysqlSslConfigPtrOutput { return i.ToMysqlSslConfigPtrOutputWithContext(context.Background()) } @@ -3510,6 +4039,12 @@ func (i *mysqlSslConfigPtrType) ToMysqlSslConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MysqlSslConfigPtrOutput) } +func (i *mysqlSslConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MysqlSslConfig] { + return pulumix.Output[*MysqlSslConfig]{ + OutputState: i.ToMysqlSslConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MySQL SSL configuration information. type MysqlSslConfigOutput struct{ *pulumi.OutputState } @@ -3535,6 +4070,12 @@ func (o MysqlSslConfigOutput) ToMysqlSslConfigPtrOutputWithContext(ctx context.C }).(MysqlSslConfigPtrOutput) } +func (o MysqlSslConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlSslConfig] { + return pulumix.Output[MysqlSslConfig]{ + OutputState: o.OutputState, + } +} + // Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. func (o MysqlSslConfigOutput) CaCertificate() pulumi.StringPtrOutput { return o.ApplyT(func(v MysqlSslConfig) *string { return v.CaCertificate }).(pulumi.StringPtrOutput) @@ -3564,6 +4105,12 @@ func (o MysqlSslConfigPtrOutput) ToMysqlSslConfigPtrOutputWithContext(ctx contex return o } +func (o MysqlSslConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MysqlSslConfig] { + return pulumix.Output[*MysqlSslConfig]{ + OutputState: o.OutputState, + } +} + func (o MysqlSslConfigPtrOutput) Elem() MysqlSslConfigOutput { return o.ApplyT(func(v *MysqlSslConfig) MysqlSslConfig { if v != nil { @@ -3635,6 +4182,12 @@ func (o MysqlSslConfigResponseOutput) ToMysqlSslConfigResponseOutputWithContext( return o } +func (o MysqlSslConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlSslConfigResponse] { + return pulumix.Output[MysqlSslConfigResponse]{ + OutputState: o.OutputState, + } +} + // Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. func (o MysqlSslConfigResponseOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v MysqlSslConfigResponse) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -3704,6 +4257,12 @@ func (i MysqlTableArgs) ToMysqlTableOutputWithContext(ctx context.Context) Mysql return pulumi.ToOutputWithContext(ctx, i).(MysqlTableOutput) } +func (i MysqlTableArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlTable] { + return pulumix.Output[MysqlTable]{ + OutputState: i.ToMysqlTableOutputWithContext(ctx).OutputState, + } +} + // MysqlTableArrayInput is an input type that accepts MysqlTableArray and MysqlTableArrayOutput values. // You can construct a concrete instance of `MysqlTableArrayInput` via: // @@ -3729,6 +4288,12 @@ func (i MysqlTableArray) ToMysqlTableArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MysqlTableArrayOutput) } +func (i MysqlTableArray) ToOutput(ctx context.Context) pulumix.Output[[]MysqlTable] { + return pulumix.Output[[]MysqlTable]{ + OutputState: i.ToMysqlTableArrayOutputWithContext(ctx).OutputState, + } +} + // MySQL table. type MysqlTableOutput struct{ *pulumi.OutputState } @@ -3744,6 +4309,12 @@ func (o MysqlTableOutput) ToMysqlTableOutputWithContext(ctx context.Context) Mys return o } +func (o MysqlTableOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlTable] { + return pulumix.Output[MysqlTable]{ + OutputState: o.OutputState, + } +} + // MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything. func (o MysqlTableOutput) MysqlColumns() MysqlColumnArrayOutput { return o.ApplyT(func(v MysqlTable) []MysqlColumn { return v.MysqlColumns }).(MysqlColumnArrayOutput) @@ -3768,6 +4339,12 @@ func (o MysqlTableArrayOutput) ToMysqlTableArrayOutputWithContext(ctx context.Co return o } +func (o MysqlTableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlTable] { + return pulumix.Output[[]MysqlTable]{ + OutputState: o.OutputState, + } +} + func (o MysqlTableArrayOutput) Index(i pulumi.IntInput) MysqlTableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlTable { return vs[0].([]MysqlTable)[vs[1].(int)] @@ -3797,6 +4374,12 @@ func (o MysqlTableResponseOutput) ToMysqlTableResponseOutputWithContext(ctx cont return o } +func (o MysqlTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlTableResponse] { + return pulumix.Output[MysqlTableResponse]{ + OutputState: o.OutputState, + } +} + // MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything. func (o MysqlTableResponseOutput) MysqlColumns() MysqlColumnResponseArrayOutput { return o.ApplyT(func(v MysqlTableResponse) []MysqlColumnResponse { return v.MysqlColumns }).(MysqlColumnResponseArrayOutput) @@ -3821,6 +4404,12 @@ func (o MysqlTableResponseArrayOutput) ToMysqlTableResponseArrayOutputWithContex return o } +func (o MysqlTableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlTableResponse] { + return pulumix.Output[[]MysqlTableResponse]{ + OutputState: o.OutputState, + } +} + func (o MysqlTableResponseArrayOutput) Index(i pulumi.IntInput) MysqlTableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlTableResponse { return vs[0].([]MysqlTableResponse)[vs[1].(int)] @@ -3894,6 +4483,12 @@ func (i OracleColumnArgs) ToOracleColumnOutputWithContext(ctx context.Context) O return pulumi.ToOutputWithContext(ctx, i).(OracleColumnOutput) } +func (i OracleColumnArgs) ToOutput(ctx context.Context) pulumix.Output[OracleColumn] { + return pulumix.Output[OracleColumn]{ + OutputState: i.ToOracleColumnOutputWithContext(ctx).OutputState, + } +} + // OracleColumnArrayInput is an input type that accepts OracleColumnArray and OracleColumnArrayOutput values. // You can construct a concrete instance of `OracleColumnArrayInput` via: // @@ -3919,6 +4514,12 @@ func (i OracleColumnArray) ToOracleColumnArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OracleColumnArrayOutput) } +func (i OracleColumnArray) ToOutput(ctx context.Context) pulumix.Output[[]OracleColumn] { + return pulumix.Output[[]OracleColumn]{ + OutputState: i.ToOracleColumnArrayOutputWithContext(ctx).OutputState, + } +} + // Oracle Column. type OracleColumnOutput struct{ *pulumi.OutputState } @@ -3934,6 +4535,12 @@ func (o OracleColumnOutput) ToOracleColumnOutputWithContext(ctx context.Context) return o } +func (o OracleColumnOutput) ToOutput(ctx context.Context) pulumix.Output[OracleColumn] { + return pulumix.Output[OracleColumn]{ + OutputState: o.OutputState, + } +} + // Column name. func (o OracleColumnOutput) Column() pulumi.StringPtrOutput { return o.ApplyT(func(v OracleColumn) *string { return v.Column }).(pulumi.StringPtrOutput) @@ -3993,6 +4600,12 @@ func (o OracleColumnArrayOutput) ToOracleColumnArrayOutputWithContext(ctx contex return o } +func (o OracleColumnArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleColumn] { + return pulumix.Output[[]OracleColumn]{ + OutputState: o.OutputState, + } +} + func (o OracleColumnArrayOutput) Index(i pulumi.IntInput) OracleColumnOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleColumn { return vs[0].([]OracleColumn)[vs[1].(int)] @@ -4036,6 +4649,12 @@ func (o OracleColumnResponseOutput) ToOracleColumnResponseOutputWithContext(ctx return o } +func (o OracleColumnResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleColumnResponse] { + return pulumix.Output[OracleColumnResponse]{ + OutputState: o.OutputState, + } +} + // Column name. func (o OracleColumnResponseOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v OracleColumnResponse) string { return v.Column }).(pulumi.StringOutput) @@ -4095,6 +4714,12 @@ func (o OracleColumnResponseArrayOutput) ToOracleColumnResponseArrayOutputWithCo return o } +func (o OracleColumnResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleColumnResponse] { + return pulumix.Output[[]OracleColumnResponse]{ + OutputState: o.OutputState, + } +} + func (o OracleColumnResponseArrayOutput) Index(i pulumi.IntInput) OracleColumnResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleColumnResponse { return vs[0].([]OracleColumnResponse)[vs[1].(int)] @@ -4156,6 +4781,12 @@ func (i OracleProfileArgs) ToOracleProfileOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OracleProfileOutput) } +func (i OracleProfileArgs) ToOutput(ctx context.Context) pulumix.Output[OracleProfile] { + return pulumix.Output[OracleProfile]{ + OutputState: i.ToOracleProfileOutputWithContext(ctx).OutputState, + } +} + func (i OracleProfileArgs) ToOracleProfilePtrOutput() OracleProfilePtrOutput { return i.ToOracleProfilePtrOutputWithContext(context.Background()) } @@ -4197,6 +4828,12 @@ func (i *oracleProfilePtrType) ToOracleProfilePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OracleProfilePtrOutput) } +func (i *oracleProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*OracleProfile] { + return pulumix.Output[*OracleProfile]{ + OutputState: i.ToOracleProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Oracle database profile. type OracleProfileOutput struct{ *pulumi.OutputState } @@ -4222,6 +4859,12 @@ func (o OracleProfileOutput) ToOracleProfilePtrOutputWithContext(ctx context.Con }).(OracleProfilePtrOutput) } +func (o OracleProfileOutput) ToOutput(ctx context.Context) pulumix.Output[OracleProfile] { + return pulumix.Output[OracleProfile]{ + OutputState: o.OutputState, + } +} + // Connection string attributes func (o OracleProfileOutput) ConnectionAttributes() pulumi.StringMapOutput { return o.ApplyT(func(v OracleProfile) map[string]string { return v.ConnectionAttributes }).(pulumi.StringMapOutput) @@ -4266,6 +4909,12 @@ func (o OracleProfilePtrOutput) ToOracleProfilePtrOutputWithContext(ctx context. return o } +func (o OracleProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OracleProfile] { + return pulumix.Output[*OracleProfile]{ + OutputState: o.OutputState, + } +} + func (o OracleProfilePtrOutput) Elem() OracleProfileOutput { return o.ApplyT(func(v *OracleProfile) OracleProfile { if v != nil { @@ -4367,6 +5016,12 @@ func (o OracleProfileResponseOutput) ToOracleProfileResponseOutputWithContext(ct return o } +func (o OracleProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleProfileResponse] { + return pulumix.Output[OracleProfileResponse]{ + OutputState: o.OutputState, + } +} + // Connection string attributes func (o OracleProfileResponseOutput) ConnectionAttributes() pulumi.StringMapOutput { return o.ApplyT(func(v OracleProfileResponse) map[string]string { return v.ConnectionAttributes }).(pulumi.StringMapOutput) @@ -4432,6 +5087,12 @@ func (i OracleRdbmsArgs) ToOracleRdbmsOutputWithContext(ctx context.Context) Ora return pulumi.ToOutputWithContext(ctx, i).(OracleRdbmsOutput) } +func (i OracleRdbmsArgs) ToOutput(ctx context.Context) pulumix.Output[OracleRdbms] { + return pulumix.Output[OracleRdbms]{ + OutputState: i.ToOracleRdbmsOutputWithContext(ctx).OutputState, + } +} + func (i OracleRdbmsArgs) ToOracleRdbmsPtrOutput() OracleRdbmsPtrOutput { return i.ToOracleRdbmsPtrOutputWithContext(context.Background()) } @@ -4473,6 +5134,12 @@ func (i *oracleRdbmsPtrType) ToOracleRdbmsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(OracleRdbmsPtrOutput) } +func (i *oracleRdbmsPtrType) ToOutput(ctx context.Context) pulumix.Output[*OracleRdbms] { + return pulumix.Output[*OracleRdbms]{ + OutputState: i.ToOracleRdbmsPtrOutputWithContext(ctx).OutputState, + } +} + // Oracle database structure. type OracleRdbmsOutput struct{ *pulumi.OutputState } @@ -4498,6 +5165,12 @@ func (o OracleRdbmsOutput) ToOracleRdbmsPtrOutputWithContext(ctx context.Context }).(OracleRdbmsPtrOutput) } +func (o OracleRdbmsOutput) ToOutput(ctx context.Context) pulumix.Output[OracleRdbms] { + return pulumix.Output[OracleRdbms]{ + OutputState: o.OutputState, + } +} + // Oracle schemas/databases in the database server. func (o OracleRdbmsOutput) OracleSchemas() OracleSchemaArrayOutput { return o.ApplyT(func(v OracleRdbms) []OracleSchema { return v.OracleSchemas }).(OracleSchemaArrayOutput) @@ -4517,6 +5190,12 @@ func (o OracleRdbmsPtrOutput) ToOracleRdbmsPtrOutputWithContext(ctx context.Cont return o } +func (o OracleRdbmsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OracleRdbms] { + return pulumix.Output[*OracleRdbms]{ + OutputState: o.OutputState, + } +} + func (o OracleRdbmsPtrOutput) Elem() OracleRdbmsOutput { return o.ApplyT(func(v *OracleRdbms) OracleRdbms { if v != nil { @@ -4558,6 +5237,12 @@ func (o OracleRdbmsResponseOutput) ToOracleRdbmsResponseOutputWithContext(ctx co return o } +func (o OracleRdbmsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleRdbmsResponse] { + return pulumix.Output[OracleRdbmsResponse]{ + OutputState: o.OutputState, + } +} + // Oracle schemas/databases in the database server. func (o OracleRdbmsResponseOutput) OracleSchemas() OracleSchemaResponseArrayOutput { return o.ApplyT(func(v OracleRdbmsResponse) []OracleSchemaResponse { return v.OracleSchemas }).(OracleSchemaResponseArrayOutput) @@ -4602,6 +5287,12 @@ func (i OracleSchemaArgs) ToOracleSchemaOutputWithContext(ctx context.Context) O return pulumi.ToOutputWithContext(ctx, i).(OracleSchemaOutput) } +func (i OracleSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[OracleSchema] { + return pulumix.Output[OracleSchema]{ + OutputState: i.ToOracleSchemaOutputWithContext(ctx).OutputState, + } +} + // OracleSchemaArrayInput is an input type that accepts OracleSchemaArray and OracleSchemaArrayOutput values. // You can construct a concrete instance of `OracleSchemaArrayInput` via: // @@ -4627,6 +5318,12 @@ func (i OracleSchemaArray) ToOracleSchemaArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OracleSchemaArrayOutput) } +func (i OracleSchemaArray) ToOutput(ctx context.Context) pulumix.Output[[]OracleSchema] { + return pulumix.Output[[]OracleSchema]{ + OutputState: i.ToOracleSchemaArrayOutputWithContext(ctx).OutputState, + } +} + // Oracle schema. type OracleSchemaOutput struct{ *pulumi.OutputState } @@ -4642,6 +5339,12 @@ func (o OracleSchemaOutput) ToOracleSchemaOutputWithContext(ctx context.Context) return o } +func (o OracleSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[OracleSchema] { + return pulumix.Output[OracleSchema]{ + OutputState: o.OutputState, + } +} + // Tables in the schema. func (o OracleSchemaOutput) OracleTables() OracleTableArrayOutput { return o.ApplyT(func(v OracleSchema) []OracleTable { return v.OracleTables }).(OracleTableArrayOutput) @@ -4666,6 +5369,12 @@ func (o OracleSchemaArrayOutput) ToOracleSchemaArrayOutputWithContext(ctx contex return o } +func (o OracleSchemaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleSchema] { + return pulumix.Output[[]OracleSchema]{ + OutputState: o.OutputState, + } +} + func (o OracleSchemaArrayOutput) Index(i pulumi.IntInput) OracleSchemaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleSchema { return vs[0].([]OracleSchema)[vs[1].(int)] @@ -4695,6 +5404,12 @@ func (o OracleSchemaResponseOutput) ToOracleSchemaResponseOutputWithContext(ctx return o } +func (o OracleSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleSchemaResponse] { + return pulumix.Output[OracleSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Tables in the schema. func (o OracleSchemaResponseOutput) OracleTables() OracleTableResponseArrayOutput { return o.ApplyT(func(v OracleSchemaResponse) []OracleTableResponse { return v.OracleTables }).(OracleTableResponseArrayOutput) @@ -4719,6 +5434,12 @@ func (o OracleSchemaResponseArrayOutput) ToOracleSchemaResponseArrayOutputWithCo return o } +func (o OracleSchemaResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleSchemaResponse] { + return pulumix.Output[[]OracleSchemaResponse]{ + OutputState: o.OutputState, + } +} + func (o OracleSchemaResponseArrayOutput) Index(i pulumi.IntInput) OracleSchemaResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleSchemaResponse { return vs[0].([]OracleSchemaResponse)[vs[1].(int)] @@ -4780,6 +5501,12 @@ func (i OracleSourceConfigArgs) ToOracleSourceConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(OracleSourceConfigOutput) } +func (i OracleSourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[OracleSourceConfig] { + return pulumix.Output[OracleSourceConfig]{ + OutputState: i.ToOracleSourceConfigOutputWithContext(ctx).OutputState, + } +} + func (i OracleSourceConfigArgs) ToOracleSourceConfigPtrOutput() OracleSourceConfigPtrOutput { return i.ToOracleSourceConfigPtrOutputWithContext(context.Background()) } @@ -4821,6 +5548,12 @@ func (i *oracleSourceConfigPtrType) ToOracleSourceConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(OracleSourceConfigPtrOutput) } +func (i *oracleSourceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*OracleSourceConfig] { + return pulumix.Output[*OracleSourceConfig]{ + OutputState: i.ToOracleSourceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Oracle data source configuration type OracleSourceConfigOutput struct{ *pulumi.OutputState } @@ -4846,6 +5579,12 @@ func (o OracleSourceConfigOutput) ToOracleSourceConfigPtrOutputWithContext(ctx c }).(OracleSourceConfigPtrOutput) } +func (o OracleSourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[OracleSourceConfig] { + return pulumix.Output[OracleSourceConfig]{ + OutputState: o.OutputState, + } +} + // Drop large object values. func (o OracleSourceConfigOutput) DropLargeObjects() DropLargeObjectsPtrOutput { return o.ApplyT(func(v OracleSourceConfig) *DropLargeObjects { return v.DropLargeObjects }).(DropLargeObjectsPtrOutput) @@ -4890,6 +5629,12 @@ func (o OracleSourceConfigPtrOutput) ToOracleSourceConfigPtrOutputWithContext(ct return o } +func (o OracleSourceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OracleSourceConfig] { + return pulumix.Output[*OracleSourceConfig]{ + OutputState: o.OutputState, + } +} + func (o OracleSourceConfigPtrOutput) Elem() OracleSourceConfigOutput { return o.ApplyT(func(v *OracleSourceConfig) OracleSourceConfig { if v != nil { @@ -4991,6 +5736,12 @@ func (o OracleSourceConfigResponseOutput) ToOracleSourceConfigResponseOutputWith return o } +func (o OracleSourceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleSourceConfigResponse] { + return pulumix.Output[OracleSourceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Drop large object values. func (o OracleSourceConfigResponseOutput) DropLargeObjects() DropLargeObjectsResponseOutput { return o.ApplyT(func(v OracleSourceConfigResponse) DropLargeObjectsResponse { return v.DropLargeObjects }).(DropLargeObjectsResponseOutput) @@ -5060,6 +5811,12 @@ func (i OracleTableArgs) ToOracleTableOutputWithContext(ctx context.Context) Ora return pulumi.ToOutputWithContext(ctx, i).(OracleTableOutput) } +func (i OracleTableArgs) ToOutput(ctx context.Context) pulumix.Output[OracleTable] { + return pulumix.Output[OracleTable]{ + OutputState: i.ToOracleTableOutputWithContext(ctx).OutputState, + } +} + // OracleTableArrayInput is an input type that accepts OracleTableArray and OracleTableArrayOutput values. // You can construct a concrete instance of `OracleTableArrayInput` via: // @@ -5085,6 +5842,12 @@ func (i OracleTableArray) ToOracleTableArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(OracleTableArrayOutput) } +func (i OracleTableArray) ToOutput(ctx context.Context) pulumix.Output[[]OracleTable] { + return pulumix.Output[[]OracleTable]{ + OutputState: i.ToOracleTableArrayOutputWithContext(ctx).OutputState, + } +} + // Oracle table. type OracleTableOutput struct{ *pulumi.OutputState } @@ -5100,6 +5863,12 @@ func (o OracleTableOutput) ToOracleTableOutputWithContext(ctx context.Context) O return o } +func (o OracleTableOutput) ToOutput(ctx context.Context) pulumix.Output[OracleTable] { + return pulumix.Output[OracleTable]{ + OutputState: o.OutputState, + } +} + // Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything. func (o OracleTableOutput) OracleColumns() OracleColumnArrayOutput { return o.ApplyT(func(v OracleTable) []OracleColumn { return v.OracleColumns }).(OracleColumnArrayOutput) @@ -5124,6 +5893,12 @@ func (o OracleTableArrayOutput) ToOracleTableArrayOutputWithContext(ctx context. return o } +func (o OracleTableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleTable] { + return pulumix.Output[[]OracleTable]{ + OutputState: o.OutputState, + } +} + func (o OracleTableArrayOutput) Index(i pulumi.IntInput) OracleTableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleTable { return vs[0].([]OracleTable)[vs[1].(int)] @@ -5153,6 +5928,12 @@ func (o OracleTableResponseOutput) ToOracleTableResponseOutputWithContext(ctx co return o } +func (o OracleTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleTableResponse] { + return pulumix.Output[OracleTableResponse]{ + OutputState: o.OutputState, + } +} + // Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything. func (o OracleTableResponseOutput) OracleColumns() OracleColumnResponseArrayOutput { return o.ApplyT(func(v OracleTableResponse) []OracleColumnResponse { return v.OracleColumns }).(OracleColumnResponseArrayOutput) @@ -5177,6 +5958,12 @@ func (o OracleTableResponseArrayOutput) ToOracleTableResponseArrayOutputWithCont return o } +func (o OracleTableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleTableResponse] { + return pulumix.Output[[]OracleTableResponse]{ + OutputState: o.OutputState, + } +} + func (o OracleTableResponseArrayOutput) Index(i pulumi.IntInput) OracleTableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleTableResponse { return vs[0].([]OracleTableResponse)[vs[1].(int)] @@ -5246,6 +6033,12 @@ func (i PostgresqlColumnArgs) ToPostgresqlColumnOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(PostgresqlColumnOutput) } +func (i PostgresqlColumnArgs) ToOutput(ctx context.Context) pulumix.Output[PostgresqlColumn] { + return pulumix.Output[PostgresqlColumn]{ + OutputState: i.ToPostgresqlColumnOutputWithContext(ctx).OutputState, + } +} + // PostgresqlColumnArrayInput is an input type that accepts PostgresqlColumnArray and PostgresqlColumnArrayOutput values. // You can construct a concrete instance of `PostgresqlColumnArrayInput` via: // @@ -5271,6 +6064,12 @@ func (i PostgresqlColumnArray) ToPostgresqlColumnArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PostgresqlColumnArrayOutput) } +func (i PostgresqlColumnArray) ToOutput(ctx context.Context) pulumix.Output[[]PostgresqlColumn] { + return pulumix.Output[[]PostgresqlColumn]{ + OutputState: i.ToPostgresqlColumnArrayOutputWithContext(ctx).OutputState, + } +} + // PostgreSQL Column. type PostgresqlColumnOutput struct{ *pulumi.OutputState } @@ -5286,6 +6085,12 @@ func (o PostgresqlColumnOutput) ToPostgresqlColumnOutputWithContext(ctx context. return o } +func (o PostgresqlColumnOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlColumn] { + return pulumix.Output[PostgresqlColumn]{ + OutputState: o.OutputState, + } +} + // Column name. func (o PostgresqlColumnOutput) Column() pulumi.StringPtrOutput { return o.ApplyT(func(v PostgresqlColumn) *string { return v.Column }).(pulumi.StringPtrOutput) @@ -5340,6 +6145,12 @@ func (o PostgresqlColumnArrayOutput) ToPostgresqlColumnArrayOutputWithContext(ct return o } +func (o PostgresqlColumnArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PostgresqlColumn] { + return pulumix.Output[[]PostgresqlColumn]{ + OutputState: o.OutputState, + } +} + func (o PostgresqlColumnArrayOutput) Index(i pulumi.IntInput) PostgresqlColumnOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PostgresqlColumn { return vs[0].([]PostgresqlColumn)[vs[1].(int)] @@ -5381,6 +6192,12 @@ func (o PostgresqlColumnResponseOutput) ToPostgresqlColumnResponseOutputWithCont return o } +func (o PostgresqlColumnResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlColumnResponse] { + return pulumix.Output[PostgresqlColumnResponse]{ + OutputState: o.OutputState, + } +} + // Column name. func (o PostgresqlColumnResponseOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v PostgresqlColumnResponse) string { return v.Column }).(pulumi.StringOutput) @@ -5435,6 +6252,12 @@ func (o PostgresqlColumnResponseArrayOutput) ToPostgresqlColumnResponseArrayOutp return o } +func (o PostgresqlColumnResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PostgresqlColumnResponse] { + return pulumix.Output[[]PostgresqlColumnResponse]{ + OutputState: o.OutputState, + } +} + func (o PostgresqlColumnResponseArrayOutput) Index(i pulumi.IntInput) PostgresqlColumnResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PostgresqlColumnResponse { return vs[0].([]PostgresqlColumnResponse)[vs[1].(int)] @@ -5492,6 +6315,12 @@ func (i PostgresqlProfileArgs) ToPostgresqlProfileOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PostgresqlProfileOutput) } +func (i PostgresqlProfileArgs) ToOutput(ctx context.Context) pulumix.Output[PostgresqlProfile] { + return pulumix.Output[PostgresqlProfile]{ + OutputState: i.ToPostgresqlProfileOutputWithContext(ctx).OutputState, + } +} + func (i PostgresqlProfileArgs) ToPostgresqlProfilePtrOutput() PostgresqlProfilePtrOutput { return i.ToPostgresqlProfilePtrOutputWithContext(context.Background()) } @@ -5533,6 +6362,12 @@ func (i *postgresqlProfilePtrType) ToPostgresqlProfilePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PostgresqlProfilePtrOutput) } +func (i *postgresqlProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*PostgresqlProfile] { + return pulumix.Output[*PostgresqlProfile]{ + OutputState: i.ToPostgresqlProfilePtrOutputWithContext(ctx).OutputState, + } +} + // PostgreSQL database profile. type PostgresqlProfileOutput struct{ *pulumi.OutputState } @@ -5558,6 +6393,12 @@ func (o PostgresqlProfileOutput) ToPostgresqlProfilePtrOutputWithContext(ctx con }).(PostgresqlProfilePtrOutput) } +func (o PostgresqlProfileOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlProfile] { + return pulumix.Output[PostgresqlProfile]{ + OutputState: o.OutputState, + } +} + // Database for the PostgreSQL connection. func (o PostgresqlProfileOutput) Database() pulumi.StringOutput { return o.ApplyT(func(v PostgresqlProfile) string { return v.Database }).(pulumi.StringOutput) @@ -5597,6 +6438,12 @@ func (o PostgresqlProfilePtrOutput) ToPostgresqlProfilePtrOutputWithContext(ctx return o } +func (o PostgresqlProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PostgresqlProfile] { + return pulumix.Output[*PostgresqlProfile]{ + OutputState: o.OutputState, + } +} + func (o PostgresqlProfilePtrOutput) Elem() PostgresqlProfileOutput { return o.ApplyT(func(v *PostgresqlProfile) PostgresqlProfile { if v != nil { @@ -5686,6 +6533,12 @@ func (o PostgresqlProfileResponseOutput) ToPostgresqlProfileResponseOutputWithCo return o } +func (o PostgresqlProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlProfileResponse] { + return pulumix.Output[PostgresqlProfileResponse]{ + OutputState: o.OutputState, + } +} + // Database for the PostgreSQL connection. func (o PostgresqlProfileResponseOutput) Database() pulumi.StringOutput { return o.ApplyT(func(v PostgresqlProfileResponse) string { return v.Database }).(pulumi.StringOutput) @@ -5746,6 +6599,12 @@ func (i PostgresqlRdbmsArgs) ToPostgresqlRdbmsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PostgresqlRdbmsOutput) } +func (i PostgresqlRdbmsArgs) ToOutput(ctx context.Context) pulumix.Output[PostgresqlRdbms] { + return pulumix.Output[PostgresqlRdbms]{ + OutputState: i.ToPostgresqlRdbmsOutputWithContext(ctx).OutputState, + } +} + func (i PostgresqlRdbmsArgs) ToPostgresqlRdbmsPtrOutput() PostgresqlRdbmsPtrOutput { return i.ToPostgresqlRdbmsPtrOutputWithContext(context.Background()) } @@ -5787,6 +6646,12 @@ func (i *postgresqlRdbmsPtrType) ToPostgresqlRdbmsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(PostgresqlRdbmsPtrOutput) } +func (i *postgresqlRdbmsPtrType) ToOutput(ctx context.Context) pulumix.Output[*PostgresqlRdbms] { + return pulumix.Output[*PostgresqlRdbms]{ + OutputState: i.ToPostgresqlRdbmsPtrOutputWithContext(ctx).OutputState, + } +} + // PostgreSQL database structure. type PostgresqlRdbmsOutput struct{ *pulumi.OutputState } @@ -5812,6 +6677,12 @@ func (o PostgresqlRdbmsOutput) ToPostgresqlRdbmsPtrOutputWithContext(ctx context }).(PostgresqlRdbmsPtrOutput) } +func (o PostgresqlRdbmsOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlRdbms] { + return pulumix.Output[PostgresqlRdbms]{ + OutputState: o.OutputState, + } +} + // PostgreSQL schemas in the database server. func (o PostgresqlRdbmsOutput) PostgresqlSchemas() PostgresqlSchemaArrayOutput { return o.ApplyT(func(v PostgresqlRdbms) []PostgresqlSchema { return v.PostgresqlSchemas }).(PostgresqlSchemaArrayOutput) @@ -5831,6 +6702,12 @@ func (o PostgresqlRdbmsPtrOutput) ToPostgresqlRdbmsPtrOutputWithContext(ctx cont return o } +func (o PostgresqlRdbmsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PostgresqlRdbms] { + return pulumix.Output[*PostgresqlRdbms]{ + OutputState: o.OutputState, + } +} + func (o PostgresqlRdbmsPtrOutput) Elem() PostgresqlRdbmsOutput { return o.ApplyT(func(v *PostgresqlRdbms) PostgresqlRdbms { if v != nil { @@ -5872,6 +6749,12 @@ func (o PostgresqlRdbmsResponseOutput) ToPostgresqlRdbmsResponseOutputWithContex return o } +func (o PostgresqlRdbmsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlRdbmsResponse] { + return pulumix.Output[PostgresqlRdbmsResponse]{ + OutputState: o.OutputState, + } +} + // PostgreSQL schemas in the database server. func (o PostgresqlRdbmsResponseOutput) PostgresqlSchemas() PostgresqlSchemaResponseArrayOutput { return o.ApplyT(func(v PostgresqlRdbmsResponse) []PostgresqlSchemaResponse { return v.PostgresqlSchemas }).(PostgresqlSchemaResponseArrayOutput) @@ -5916,6 +6799,12 @@ func (i PostgresqlSchemaArgs) ToPostgresqlSchemaOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(PostgresqlSchemaOutput) } +func (i PostgresqlSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[PostgresqlSchema] { + return pulumix.Output[PostgresqlSchema]{ + OutputState: i.ToPostgresqlSchemaOutputWithContext(ctx).OutputState, + } +} + // PostgresqlSchemaArrayInput is an input type that accepts PostgresqlSchemaArray and PostgresqlSchemaArrayOutput values. // You can construct a concrete instance of `PostgresqlSchemaArrayInput` via: // @@ -5941,6 +6830,12 @@ func (i PostgresqlSchemaArray) ToPostgresqlSchemaArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PostgresqlSchemaArrayOutput) } +func (i PostgresqlSchemaArray) ToOutput(ctx context.Context) pulumix.Output[[]PostgresqlSchema] { + return pulumix.Output[[]PostgresqlSchema]{ + OutputState: i.ToPostgresqlSchemaArrayOutputWithContext(ctx).OutputState, + } +} + // PostgreSQL schema. type PostgresqlSchemaOutput struct{ *pulumi.OutputState } @@ -5956,6 +6851,12 @@ func (o PostgresqlSchemaOutput) ToPostgresqlSchemaOutputWithContext(ctx context. return o } +func (o PostgresqlSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlSchema] { + return pulumix.Output[PostgresqlSchema]{ + OutputState: o.OutputState, + } +} + // Tables in the schema. func (o PostgresqlSchemaOutput) PostgresqlTables() PostgresqlTableArrayOutput { return o.ApplyT(func(v PostgresqlSchema) []PostgresqlTable { return v.PostgresqlTables }).(PostgresqlTableArrayOutput) @@ -5980,6 +6881,12 @@ func (o PostgresqlSchemaArrayOutput) ToPostgresqlSchemaArrayOutputWithContext(ct return o } +func (o PostgresqlSchemaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PostgresqlSchema] { + return pulumix.Output[[]PostgresqlSchema]{ + OutputState: o.OutputState, + } +} + func (o PostgresqlSchemaArrayOutput) Index(i pulumi.IntInput) PostgresqlSchemaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PostgresqlSchema { return vs[0].([]PostgresqlSchema)[vs[1].(int)] @@ -6009,6 +6916,12 @@ func (o PostgresqlSchemaResponseOutput) ToPostgresqlSchemaResponseOutputWithCont return o } +func (o PostgresqlSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlSchemaResponse] { + return pulumix.Output[PostgresqlSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Tables in the schema. func (o PostgresqlSchemaResponseOutput) PostgresqlTables() PostgresqlTableResponseArrayOutput { return o.ApplyT(func(v PostgresqlSchemaResponse) []PostgresqlTableResponse { return v.PostgresqlTables }).(PostgresqlTableResponseArrayOutput) @@ -6033,6 +6946,12 @@ func (o PostgresqlSchemaResponseArrayOutput) ToPostgresqlSchemaResponseArrayOutp return o } +func (o PostgresqlSchemaResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PostgresqlSchemaResponse] { + return pulumix.Output[[]PostgresqlSchemaResponse]{ + OutputState: o.OutputState, + } +} + func (o PostgresqlSchemaResponseArrayOutput) Index(i pulumi.IntInput) PostgresqlSchemaResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PostgresqlSchemaResponse { return vs[0].([]PostgresqlSchemaResponse)[vs[1].(int)] @@ -6090,6 +7009,12 @@ func (i PostgresqlSourceConfigArgs) ToPostgresqlSourceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(PostgresqlSourceConfigOutput) } +func (i PostgresqlSourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PostgresqlSourceConfig] { + return pulumix.Output[PostgresqlSourceConfig]{ + OutputState: i.ToPostgresqlSourceConfigOutputWithContext(ctx).OutputState, + } +} + func (i PostgresqlSourceConfigArgs) ToPostgresqlSourceConfigPtrOutput() PostgresqlSourceConfigPtrOutput { return i.ToPostgresqlSourceConfigPtrOutputWithContext(context.Background()) } @@ -6131,6 +7056,12 @@ func (i *postgresqlSourceConfigPtrType) ToPostgresqlSourceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(PostgresqlSourceConfigPtrOutput) } +func (i *postgresqlSourceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PostgresqlSourceConfig] { + return pulumix.Output[*PostgresqlSourceConfig]{ + OutputState: i.ToPostgresqlSourceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // PostgreSQL data source configuration type PostgresqlSourceConfigOutput struct{ *pulumi.OutputState } @@ -6156,6 +7087,12 @@ func (o PostgresqlSourceConfigOutput) ToPostgresqlSourceConfigPtrOutputWithConte }).(PostgresqlSourceConfigPtrOutput) } +func (o PostgresqlSourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlSourceConfig] { + return pulumix.Output[PostgresqlSourceConfig]{ + OutputState: o.OutputState, + } +} + // PostgreSQL objects to exclude from the stream. func (o PostgresqlSourceConfigOutput) ExcludeObjects() PostgresqlRdbmsPtrOutput { return o.ApplyT(func(v PostgresqlSourceConfig) *PostgresqlRdbms { return v.ExcludeObjects }).(PostgresqlRdbmsPtrOutput) @@ -6195,6 +7132,12 @@ func (o PostgresqlSourceConfigPtrOutput) ToPostgresqlSourceConfigPtrOutputWithCo return o } +func (o PostgresqlSourceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PostgresqlSourceConfig] { + return pulumix.Output[*PostgresqlSourceConfig]{ + OutputState: o.OutputState, + } +} + func (o PostgresqlSourceConfigPtrOutput) Elem() PostgresqlSourceConfigOutput { return o.ApplyT(func(v *PostgresqlSourceConfig) PostgresqlSourceConfig { if v != nil { @@ -6284,6 +7227,12 @@ func (o PostgresqlSourceConfigResponseOutput) ToPostgresqlSourceConfigResponseOu return o } +func (o PostgresqlSourceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlSourceConfigResponse] { + return pulumix.Output[PostgresqlSourceConfigResponse]{ + OutputState: o.OutputState, + } +} + // PostgreSQL objects to exclude from the stream. func (o PostgresqlSourceConfigResponseOutput) ExcludeObjects() PostgresqlRdbmsResponseOutput { return o.ApplyT(func(v PostgresqlSourceConfigResponse) PostgresqlRdbmsResponse { return v.ExcludeObjects }).(PostgresqlRdbmsResponseOutput) @@ -6348,6 +7297,12 @@ func (i PostgresqlTableArgs) ToPostgresqlTableOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PostgresqlTableOutput) } +func (i PostgresqlTableArgs) ToOutput(ctx context.Context) pulumix.Output[PostgresqlTable] { + return pulumix.Output[PostgresqlTable]{ + OutputState: i.ToPostgresqlTableOutputWithContext(ctx).OutputState, + } +} + // PostgresqlTableArrayInput is an input type that accepts PostgresqlTableArray and PostgresqlTableArrayOutput values. // You can construct a concrete instance of `PostgresqlTableArrayInput` via: // @@ -6373,6 +7328,12 @@ func (i PostgresqlTableArray) ToPostgresqlTableArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(PostgresqlTableArrayOutput) } +func (i PostgresqlTableArray) ToOutput(ctx context.Context) pulumix.Output[[]PostgresqlTable] { + return pulumix.Output[[]PostgresqlTable]{ + OutputState: i.ToPostgresqlTableArrayOutputWithContext(ctx).OutputState, + } +} + // PostgreSQL table. type PostgresqlTableOutput struct{ *pulumi.OutputState } @@ -6388,6 +7349,12 @@ func (o PostgresqlTableOutput) ToPostgresqlTableOutputWithContext(ctx context.Co return o } +func (o PostgresqlTableOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlTable] { + return pulumix.Output[PostgresqlTable]{ + OutputState: o.OutputState, + } +} + // PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything. func (o PostgresqlTableOutput) PostgresqlColumns() PostgresqlColumnArrayOutput { return o.ApplyT(func(v PostgresqlTable) []PostgresqlColumn { return v.PostgresqlColumns }).(PostgresqlColumnArrayOutput) @@ -6412,6 +7379,12 @@ func (o PostgresqlTableArrayOutput) ToPostgresqlTableArrayOutputWithContext(ctx return o } +func (o PostgresqlTableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PostgresqlTable] { + return pulumix.Output[[]PostgresqlTable]{ + OutputState: o.OutputState, + } +} + func (o PostgresqlTableArrayOutput) Index(i pulumi.IntInput) PostgresqlTableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PostgresqlTable { return vs[0].([]PostgresqlTable)[vs[1].(int)] @@ -6441,6 +7414,12 @@ func (o PostgresqlTableResponseOutput) ToPostgresqlTableResponseOutputWithContex return o } +func (o PostgresqlTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostgresqlTableResponse] { + return pulumix.Output[PostgresqlTableResponse]{ + OutputState: o.OutputState, + } +} + // PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything. func (o PostgresqlTableResponseOutput) PostgresqlColumns() PostgresqlColumnResponseArrayOutput { return o.ApplyT(func(v PostgresqlTableResponse) []PostgresqlColumnResponse { return v.PostgresqlColumns }).(PostgresqlColumnResponseArrayOutput) @@ -6465,6 +7444,12 @@ func (o PostgresqlTableResponseArrayOutput) ToPostgresqlTableResponseArrayOutput return o } +func (o PostgresqlTableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PostgresqlTableResponse] { + return pulumix.Output[[]PostgresqlTableResponse]{ + OutputState: o.OutputState, + } +} + func (o PostgresqlTableResponseArrayOutput) Index(i pulumi.IntInput) PostgresqlTableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PostgresqlTableResponse { return vs[0].([]PostgresqlTableResponse)[vs[1].(int)] @@ -6506,6 +7491,12 @@ func (i PrivateConnectivityArgs) ToPrivateConnectivityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectivityOutput) } +func (i PrivateConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateConnectivity] { + return pulumix.Output[PrivateConnectivity]{ + OutputState: i.ToPrivateConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i PrivateConnectivityArgs) ToPrivateConnectivityPtrOutput() PrivateConnectivityPtrOutput { return i.ToPrivateConnectivityPtrOutputWithContext(context.Background()) } @@ -6547,6 +7538,12 @@ func (i *privateConnectivityPtrType) ToPrivateConnectivityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectivityPtrOutput) } +func (i *privateConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectivity] { + return pulumix.Output[*PrivateConnectivity]{ + OutputState: i.ToPrivateConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // Private Connectivity type PrivateConnectivityOutput struct{ *pulumi.OutputState } @@ -6572,6 +7569,12 @@ func (o PrivateConnectivityOutput) ToPrivateConnectivityPtrOutputWithContext(ctx }).(PrivateConnectivityPtrOutput) } +func (o PrivateConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateConnectivity] { + return pulumix.Output[PrivateConnectivity]{ + OutputState: o.OutputState, + } +} + // A reference to a private connection resource. Format: `projects/{project}/locations/{location}/privateConnections/{name}` func (o PrivateConnectivityOutput) PrivateConnection() pulumi.StringOutput { return o.ApplyT(func(v PrivateConnectivity) string { return v.PrivateConnection }).(pulumi.StringOutput) @@ -6591,6 +7594,12 @@ func (o PrivateConnectivityPtrOutput) ToPrivateConnectivityPtrOutputWithContext( return o } +func (o PrivateConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectivity] { + return pulumix.Output[*PrivateConnectivity]{ + OutputState: o.OutputState, + } +} + func (o PrivateConnectivityPtrOutput) Elem() PrivateConnectivityOutput { return o.ApplyT(func(v *PrivateConnectivity) PrivateConnectivity { if v != nil { @@ -6632,6 +7641,12 @@ func (o PrivateConnectivityResponseOutput) ToPrivateConnectivityResponseOutputWi return o } +func (o PrivateConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateConnectivityResponse] { + return pulumix.Output[PrivateConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // A reference to a private connection resource. Format: `projects/{project}/locations/{location}/privateConnections/{name}` func (o PrivateConnectivityResponseOutput) PrivateConnection() pulumi.StringOutput { return o.ApplyT(func(v PrivateConnectivityResponse) string { return v.PrivateConnection }).(pulumi.StringOutput) @@ -6672,6 +7687,12 @@ func (i SingleTargetDatasetArgs) ToSingleTargetDatasetOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SingleTargetDatasetOutput) } +func (i SingleTargetDatasetArgs) ToOutput(ctx context.Context) pulumix.Output[SingleTargetDataset] { + return pulumix.Output[SingleTargetDataset]{ + OutputState: i.ToSingleTargetDatasetOutputWithContext(ctx).OutputState, + } +} + func (i SingleTargetDatasetArgs) ToSingleTargetDatasetPtrOutput() SingleTargetDatasetPtrOutput { return i.ToSingleTargetDatasetPtrOutputWithContext(context.Background()) } @@ -6713,6 +7734,12 @@ func (i *singleTargetDatasetPtrType) ToSingleTargetDatasetPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(SingleTargetDatasetPtrOutput) } +func (i *singleTargetDatasetPtrType) ToOutput(ctx context.Context) pulumix.Output[*SingleTargetDataset] { + return pulumix.Output[*SingleTargetDataset]{ + OutputState: i.ToSingleTargetDatasetPtrOutputWithContext(ctx).OutputState, + } +} + // A single target dataset to which all data will be streamed. type SingleTargetDatasetOutput struct{ *pulumi.OutputState } @@ -6738,6 +7765,12 @@ func (o SingleTargetDatasetOutput) ToSingleTargetDatasetPtrOutputWithContext(ctx }).(SingleTargetDatasetPtrOutput) } +func (o SingleTargetDatasetOutput) ToOutput(ctx context.Context) pulumix.Output[SingleTargetDataset] { + return pulumix.Output[SingleTargetDataset]{ + OutputState: o.OutputState, + } +} + // The dataset ID of the target dataset. func (o SingleTargetDatasetOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v SingleTargetDataset) *string { return v.DatasetId }).(pulumi.StringPtrOutput) @@ -6757,6 +7790,12 @@ func (o SingleTargetDatasetPtrOutput) ToSingleTargetDatasetPtrOutputWithContext( return o } +func (o SingleTargetDatasetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SingleTargetDataset] { + return pulumix.Output[*SingleTargetDataset]{ + OutputState: o.OutputState, + } +} + func (o SingleTargetDatasetPtrOutput) Elem() SingleTargetDatasetOutput { return o.ApplyT(func(v *SingleTargetDataset) SingleTargetDataset { if v != nil { @@ -6798,6 +7837,12 @@ func (o SingleTargetDatasetResponseOutput) ToSingleTargetDatasetResponseOutputWi return o } +func (o SingleTargetDatasetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SingleTargetDatasetResponse] { + return pulumix.Output[SingleTargetDatasetResponse]{ + OutputState: o.OutputState, + } +} + // The dataset ID of the target dataset. func (o SingleTargetDatasetResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v SingleTargetDatasetResponse) string { return v.DatasetId }).(pulumi.StringOutput) @@ -6850,6 +7895,12 @@ func (i SourceConfigArgs) ToSourceConfigOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SourceConfigOutput) } +func (i SourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SourceConfig] { + return pulumix.Output[SourceConfig]{ + OutputState: i.ToSourceConfigOutputWithContext(ctx).OutputState, + } +} + // The configuration of the stream source. type SourceConfigOutput struct{ *pulumi.OutputState } @@ -6865,6 +7916,12 @@ func (o SourceConfigOutput) ToSourceConfigOutputWithContext(ctx context.Context) return o } +func (o SourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SourceConfig] { + return pulumix.Output[SourceConfig]{ + OutputState: o.OutputState, + } +} + // MySQL data source configuration. func (o SourceConfigOutput) MysqlSourceConfig() MysqlSourceConfigPtrOutput { return o.ApplyT(func(v SourceConfig) *MysqlSourceConfig { return v.MysqlSourceConfig }).(MysqlSourceConfigPtrOutput) @@ -6912,6 +7969,12 @@ func (o SourceConfigResponseOutput) ToSourceConfigResponseOutputWithContext(ctx return o } +func (o SourceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceConfigResponse] { + return pulumix.Output[SourceConfigResponse]{ + OutputState: o.OutputState, + } +} + // MySQL data source configuration. func (o SourceConfigResponseOutput) MysqlSourceConfig() MysqlSourceConfigResponseOutput { return o.ApplyT(func(v SourceConfigResponse) MysqlSourceConfigResponse { return v.MysqlSourceConfig }).(MysqlSourceConfigResponseOutput) @@ -6967,6 +8030,12 @@ func (i SourceHierarchyDatasetsArgs) ToSourceHierarchyDatasetsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SourceHierarchyDatasetsOutput) } +func (i SourceHierarchyDatasetsArgs) ToOutput(ctx context.Context) pulumix.Output[SourceHierarchyDatasets] { + return pulumix.Output[SourceHierarchyDatasets]{ + OutputState: i.ToSourceHierarchyDatasetsOutputWithContext(ctx).OutputState, + } +} + func (i SourceHierarchyDatasetsArgs) ToSourceHierarchyDatasetsPtrOutput() SourceHierarchyDatasetsPtrOutput { return i.ToSourceHierarchyDatasetsPtrOutputWithContext(context.Background()) } @@ -7008,6 +8077,12 @@ func (i *sourceHierarchyDatasetsPtrType) ToSourceHierarchyDatasetsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(SourceHierarchyDatasetsPtrOutput) } +func (i *sourceHierarchyDatasetsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SourceHierarchyDatasets] { + return pulumix.Output[*SourceHierarchyDatasets]{ + OutputState: i.ToSourceHierarchyDatasetsPtrOutputWithContext(ctx).OutputState, + } +} + // Destination datasets are created so that hierarchy of the destination data objects matches the source hierarchy. type SourceHierarchyDatasetsOutput struct{ *pulumi.OutputState } @@ -7033,6 +8108,12 @@ func (o SourceHierarchyDatasetsOutput) ToSourceHierarchyDatasetsPtrOutputWithCon }).(SourceHierarchyDatasetsPtrOutput) } +func (o SourceHierarchyDatasetsOutput) ToOutput(ctx context.Context) pulumix.Output[SourceHierarchyDatasets] { + return pulumix.Output[SourceHierarchyDatasets]{ + OutputState: o.OutputState, + } +} + // The dataset template to use for dynamic dataset creation. func (o SourceHierarchyDatasetsOutput) DatasetTemplate() DatasetTemplatePtrOutput { return o.ApplyT(func(v SourceHierarchyDatasets) *DatasetTemplate { return v.DatasetTemplate }).(DatasetTemplatePtrOutput) @@ -7052,6 +8133,12 @@ func (o SourceHierarchyDatasetsPtrOutput) ToSourceHierarchyDatasetsPtrOutputWith return o } +func (o SourceHierarchyDatasetsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceHierarchyDatasets] { + return pulumix.Output[*SourceHierarchyDatasets]{ + OutputState: o.OutputState, + } +} + func (o SourceHierarchyDatasetsPtrOutput) Elem() SourceHierarchyDatasetsOutput { return o.ApplyT(func(v *SourceHierarchyDatasets) SourceHierarchyDatasets { if v != nil { @@ -7093,6 +8180,12 @@ func (o SourceHierarchyDatasetsResponseOutput) ToSourceHierarchyDatasetsResponse return o } +func (o SourceHierarchyDatasetsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceHierarchyDatasetsResponse] { + return pulumix.Output[SourceHierarchyDatasetsResponse]{ + OutputState: o.OutputState, + } +} + // The dataset template to use for dynamic dataset creation. func (o SourceHierarchyDatasetsResponseOutput) DatasetTemplate() DatasetTemplateResponseOutput { return o.ApplyT(func(v SourceHierarchyDatasetsResponse) DatasetTemplateResponse { return v.DatasetTemplate }).(DatasetTemplateResponseOutput) @@ -7129,6 +8222,12 @@ func (i StaticServiceIpConnectivityArgs) ToStaticServiceIpConnectivityOutputWith return pulumi.ToOutputWithContext(ctx, i).(StaticServiceIpConnectivityOutput) } +func (i StaticServiceIpConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[StaticServiceIpConnectivity] { + return pulumix.Output[StaticServiceIpConnectivity]{ + OutputState: i.ToStaticServiceIpConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i StaticServiceIpConnectivityArgs) ToStaticServiceIpConnectivityPtrOutput() StaticServiceIpConnectivityPtrOutput { return i.ToStaticServiceIpConnectivityPtrOutputWithContext(context.Background()) } @@ -7170,6 +8269,12 @@ func (i *staticServiceIpConnectivityPtrType) ToStaticServiceIpConnectivityPtrOut return pulumi.ToOutputWithContext(ctx, i).(StaticServiceIpConnectivityPtrOutput) } +func (i *staticServiceIpConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*StaticServiceIpConnectivity] { + return pulumix.Output[*StaticServiceIpConnectivity]{ + OutputState: i.ToStaticServiceIpConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile. type StaticServiceIpConnectivityOutput struct{ *pulumi.OutputState } @@ -7195,6 +8300,12 @@ func (o StaticServiceIpConnectivityOutput) ToStaticServiceIpConnectivityPtrOutpu }).(StaticServiceIpConnectivityPtrOutput) } +func (o StaticServiceIpConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[StaticServiceIpConnectivity] { + return pulumix.Output[StaticServiceIpConnectivity]{ + OutputState: o.OutputState, + } +} + type StaticServiceIpConnectivityPtrOutput struct{ *pulumi.OutputState } func (StaticServiceIpConnectivityPtrOutput) ElementType() reflect.Type { @@ -7209,6 +8320,12 @@ func (o StaticServiceIpConnectivityPtrOutput) ToStaticServiceIpConnectivityPtrOu return o } +func (o StaticServiceIpConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StaticServiceIpConnectivity] { + return pulumix.Output[*StaticServiceIpConnectivity]{ + OutputState: o.OutputState, + } +} + func (o StaticServiceIpConnectivityPtrOutput) Elem() StaticServiceIpConnectivityOutput { return o.ApplyT(func(v *StaticServiceIpConnectivity) StaticServiceIpConnectivity { if v != nil { @@ -7238,6 +8355,12 @@ func (o StaticServiceIpConnectivityResponseOutput) ToStaticServiceIpConnectivity return o } +func (o StaticServiceIpConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StaticServiceIpConnectivityResponse] { + return pulumix.Output[StaticServiceIpConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // Configuration to stream large object values. type StreamLargeObjects struct { } @@ -7269,6 +8392,12 @@ func (i StreamLargeObjectsArgs) ToStreamLargeObjectsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(StreamLargeObjectsOutput) } +func (i StreamLargeObjectsArgs) ToOutput(ctx context.Context) pulumix.Output[StreamLargeObjects] { + return pulumix.Output[StreamLargeObjects]{ + OutputState: i.ToStreamLargeObjectsOutputWithContext(ctx).OutputState, + } +} + func (i StreamLargeObjectsArgs) ToStreamLargeObjectsPtrOutput() StreamLargeObjectsPtrOutput { return i.ToStreamLargeObjectsPtrOutputWithContext(context.Background()) } @@ -7310,6 +8439,12 @@ func (i *streamLargeObjectsPtrType) ToStreamLargeObjectsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(StreamLargeObjectsPtrOutput) } +func (i *streamLargeObjectsPtrType) ToOutput(ctx context.Context) pulumix.Output[*StreamLargeObjects] { + return pulumix.Output[*StreamLargeObjects]{ + OutputState: i.ToStreamLargeObjectsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration to stream large object values. type StreamLargeObjectsOutput struct{ *pulumi.OutputState } @@ -7335,6 +8470,12 @@ func (o StreamLargeObjectsOutput) ToStreamLargeObjectsPtrOutputWithContext(ctx c }).(StreamLargeObjectsPtrOutput) } +func (o StreamLargeObjectsOutput) ToOutput(ctx context.Context) pulumix.Output[StreamLargeObjects] { + return pulumix.Output[StreamLargeObjects]{ + OutputState: o.OutputState, + } +} + type StreamLargeObjectsPtrOutput struct{ *pulumi.OutputState } func (StreamLargeObjectsPtrOutput) ElementType() reflect.Type { @@ -7349,6 +8490,12 @@ func (o StreamLargeObjectsPtrOutput) ToStreamLargeObjectsPtrOutputWithContext(ct return o } +func (o StreamLargeObjectsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StreamLargeObjects] { + return pulumix.Output[*StreamLargeObjects]{ + OutputState: o.OutputState, + } +} + func (o StreamLargeObjectsPtrOutput) Elem() StreamLargeObjectsOutput { return o.ApplyT(func(v *StreamLargeObjects) StreamLargeObjects { if v != nil { @@ -7378,6 +8525,12 @@ func (o StreamLargeObjectsResponseOutput) ToStreamLargeObjectsResponseOutputWith return o } +func (o StreamLargeObjectsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StreamLargeObjectsResponse] { + return pulumix.Output[StreamLargeObjectsResponse]{ + OutputState: o.OutputState, + } +} + // The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC. type VpcPeeringConfig struct { // A free subnet for peering. (CIDR of /29) @@ -7417,6 +8570,12 @@ func (i VpcPeeringConfigArgs) ToVpcPeeringConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(VpcPeeringConfigOutput) } +func (i VpcPeeringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConfig] { + return pulumix.Output[VpcPeeringConfig]{ + OutputState: i.ToVpcPeeringConfigOutputWithContext(ctx).OutputState, + } +} + func (i VpcPeeringConfigArgs) ToVpcPeeringConfigPtrOutput() VpcPeeringConfigPtrOutput { return i.ToVpcPeeringConfigPtrOutputWithContext(context.Background()) } @@ -7458,6 +8617,12 @@ func (i *vpcPeeringConfigPtrType) ToVpcPeeringConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(VpcPeeringConfigPtrOutput) } +func (i *vpcPeeringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VpcPeeringConfig] { + return pulumix.Output[*VpcPeeringConfig]{ + OutputState: i.ToVpcPeeringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC. type VpcPeeringConfigOutput struct{ *pulumi.OutputState } @@ -7483,6 +8648,12 @@ func (o VpcPeeringConfigOutput) ToVpcPeeringConfigPtrOutputWithContext(ctx conte }).(VpcPeeringConfigPtrOutput) } +func (o VpcPeeringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConfig] { + return pulumix.Output[VpcPeeringConfig]{ + OutputState: o.OutputState, + } +} + // A free subnet for peering. (CIDR of /29) func (o VpcPeeringConfigOutput) Subnet() pulumi.StringOutput { return o.ApplyT(func(v VpcPeeringConfig) string { return v.Subnet }).(pulumi.StringOutput) @@ -7507,6 +8678,12 @@ func (o VpcPeeringConfigPtrOutput) ToVpcPeeringConfigPtrOutputWithContext(ctx co return o } +func (o VpcPeeringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcPeeringConfig] { + return pulumix.Output[*VpcPeeringConfig]{ + OutputState: o.OutputState, + } +} + func (o VpcPeeringConfigPtrOutput) Elem() VpcPeeringConfigOutput { return o.ApplyT(func(v *VpcPeeringConfig) VpcPeeringConfig { if v != nil { @@ -7560,6 +8737,12 @@ func (o VpcPeeringConfigResponseOutput) ToVpcPeeringConfigResponseOutputWithCont return o } +func (o VpcPeeringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConfigResponse] { + return pulumix.Output[VpcPeeringConfigResponse]{ + OutputState: o.OutputState, + } +} + // A free subnet for peering. (CIDR of /29) func (o VpcPeeringConfigResponseOutput) Subnet() pulumi.StringOutput { return o.ApplyT(func(v VpcPeeringConfigResponse) string { return v.Subnet }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1/route.go b/sdk/go/google/datastream/v1/route.go index 10da287b77..dbeb057cea 100644 --- a/sdk/go/google/datastream/v1/route.go +++ b/sdk/go/google/datastream/v1/route.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to create a route for a private connectivity configuration in a project and location. @@ -158,6 +159,12 @@ func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput { return pulumi.ToOutputWithContext(ctx, i).(RouteOutput) } +func (i *Route) ToOutput(ctx context.Context) pulumix.Output[*Route] { + return pulumix.Output[*Route]{ + OutputState: i.ToRouteOutputWithContext(ctx).OutputState, + } +} + type RouteOutput struct{ *pulumi.OutputState } func (RouteOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput { return o } +func (o RouteOutput) ToOutput(ctx context.Context) pulumix.Output[*Route] { + return pulumix.Output[*Route]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o RouteOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1/stream.go b/sdk/go/google/datastream/v1/stream.go index c409759bbb..105c2451c0 100644 --- a/sdk/go/google/datastream/v1/stream.go +++ b/sdk/go/google/datastream/v1/stream.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to create a stream. @@ -186,6 +187,12 @@ func (i *Stream) ToStreamOutputWithContext(ctx context.Context) StreamOutput { return pulumi.ToOutputWithContext(ctx, i).(StreamOutput) } +func (i *Stream) ToOutput(ctx context.Context) pulumix.Output[*Stream] { + return pulumix.Output[*Stream]{ + OutputState: i.ToStreamOutputWithContext(ctx).OutputState, + } +} + type StreamOutput struct{ *pulumi.OutputState } func (StreamOutput) ElementType() reflect.Type { @@ -200,6 +207,12 @@ func (o StreamOutput) ToStreamOutputWithContext(ctx context.Context) StreamOutpu return o } +func (o StreamOutput) ToOutput(ctx context.Context) pulumix.Output[*Stream] { + return pulumix.Output[*Stream]{ + OutputState: o.OutputState, + } +} + // Automatically backfill objects included in the stream source configuration. Specific objects can be excluded. func (o StreamOutput) BackfillAll() BackfillAllStrategyResponseOutput { return o.ApplyT(func(v *Stream) BackfillAllStrategyResponseOutput { return v.BackfillAll }).(BackfillAllStrategyResponseOutput) diff --git a/sdk/go/google/datastream/v1alpha1/connectionProfile.go b/sdk/go/google/datastream/v1alpha1/connectionProfile.go index 4d1210a78f..68819b2841 100644 --- a/sdk/go/google/datastream/v1alpha1/connectionProfile.go +++ b/sdk/go/google/datastream/v1alpha1/connectionProfile.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to create a connection profile in a project and location. @@ -178,6 +179,12 @@ func (i *ConnectionProfile) ToConnectionProfileOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ConnectionProfileOutput) } +func (i *ConnectionProfile) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfile] { + return pulumix.Output[*ConnectionProfile]{ + OutputState: i.ToConnectionProfileOutputWithContext(ctx).OutputState, + } +} + type ConnectionProfileOutput struct{ *pulumi.OutputState } func (ConnectionProfileOutput) ElementType() reflect.Type { @@ -192,6 +199,12 @@ func (o ConnectionProfileOutput) ToConnectionProfileOutputWithContext(ctx contex return o } +func (o ConnectionProfileOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectionProfile] { + return pulumix.Output[*ConnectionProfile]{ + OutputState: o.OutputState, + } +} + // Required. The connection profile identifier. func (o ConnectionProfileOutput) ConnectionProfileId() pulumi.StringOutput { return o.ApplyT(func(v *ConnectionProfile) pulumi.StringOutput { return v.ConnectionProfileId }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1alpha1/getConnectionProfile.go b/sdk/go/google/datastream/v1alpha1/getConnectionProfile.go index 90ce41bbe1..8f8340767e 100644 --- a/sdk/go/google/datastream/v1alpha1/getConnectionProfile.go +++ b/sdk/go/google/datastream/v1alpha1/getConnectionProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to get details about a connection profile. @@ -92,6 +93,12 @@ func (o LookupConnectionProfileResultOutput) ToLookupConnectionProfileResultOutp return o } +func (o LookupConnectionProfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectionProfileResult] { + return pulumix.Output[LookupConnectionProfileResult]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o LookupConnectionProfileResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionProfileResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1alpha1/getPrivateConnection.go b/sdk/go/google/datastream/v1alpha1/getPrivateConnection.go index 8785844a98..87b0b993e6 100644 --- a/sdk/go/google/datastream/v1alpha1/getPrivateConnection.go +++ b/sdk/go/google/datastream/v1alpha1/getPrivateConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to get details about a private connectivity configuration. @@ -84,6 +85,12 @@ func (o LookupPrivateConnectionResultOutput) ToLookupPrivateConnectionResultOutp return o } +func (o LookupPrivateConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPrivateConnectionResult] { + return pulumix.Output[LookupPrivateConnectionResult]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o LookupPrivateConnectionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupPrivateConnectionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1alpha1/getRoute.go b/sdk/go/google/datastream/v1alpha1/getRoute.go index 73209340a9..4605fdd5e9 100644 --- a/sdk/go/google/datastream/v1alpha1/getRoute.go +++ b/sdk/go/google/datastream/v1alpha1/getRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to get details about a route. @@ -84,6 +85,12 @@ func (o LookupRouteResultOutput) ToLookupRouteResultOutputWithContext(ctx contex return o } +func (o LookupRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRouteResult] { + return pulumix.Output[LookupRouteResult]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o LookupRouteResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupRouteResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1alpha1/getStream.go b/sdk/go/google/datastream/v1alpha1/getStream.go index 8d57e68c0c..b09343d7d4 100644 --- a/sdk/go/google/datastream/v1alpha1/getStream.go +++ b/sdk/go/google/datastream/v1alpha1/getStream.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to get details about a stream. @@ -92,6 +93,12 @@ func (o LookupStreamResultOutput) ToLookupStreamResultOutputWithContext(ctx cont return o } +func (o LookupStreamResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupStreamResult] { + return pulumix.Output[LookupStreamResult]{ + OutputState: o.OutputState, + } +} + // Automatically backfill objects included in the stream source configuration. Specific objects can be excluded. func (o LookupStreamResultOutput) BackfillAll() BackfillAllStrategyResponseOutput { return o.ApplyT(func(v LookupStreamResult) BackfillAllStrategyResponse { return v.BackfillAll }).(BackfillAllStrategyResponseOutput) diff --git a/sdk/go/google/datastream/v1alpha1/privateConnection.go b/sdk/go/google/datastream/v1alpha1/privateConnection.go index d7dfcced38..b0ffd380ac 100644 --- a/sdk/go/google/datastream/v1alpha1/privateConnection.go +++ b/sdk/go/google/datastream/v1alpha1/privateConnection.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to create a private connectivity configuration. @@ -146,6 +147,12 @@ func (i *PrivateConnection) ToPrivateConnectionOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectionOutput) } +func (i *PrivateConnection) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnection] { + return pulumix.Output[*PrivateConnection]{ + OutputState: i.ToPrivateConnectionOutputWithContext(ctx).OutputState, + } +} + type PrivateConnectionOutput struct{ *pulumi.OutputState } func (PrivateConnectionOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o PrivateConnectionOutput) ToPrivateConnectionOutputWithContext(ctx contex return o } +func (o PrivateConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnection] { + return pulumix.Output[*PrivateConnection]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o PrivateConnectionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *PrivateConnection) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1alpha1/pulumiEnums.go b/sdk/go/google/datastream/v1alpha1/pulumiEnums.go index 807ec182d7..e4aaf88efc 100644 --- a/sdk/go/google/datastream/v1alpha1/pulumiEnums.go +++ b/sdk/go/google/datastream/v1alpha1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // File format that data should be written in. Deprecated field (b/169501737) - use file_format instead. @@ -80,6 +81,12 @@ func (o GcsDestinationConfigGcsFileFormatOutput) ToGcsDestinationConfigGcsFileFo }).(GcsDestinationConfigGcsFileFormatPtrOutput) } +func (o GcsDestinationConfigGcsFileFormatOutput) ToOutput(ctx context.Context) pulumix.Output[GcsDestinationConfigGcsFileFormat] { + return pulumix.Output[GcsDestinationConfigGcsFileFormat]{ + OutputState: o.OutputState, + } +} + func (o GcsDestinationConfigGcsFileFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o GcsDestinationConfigGcsFileFormatPtrOutput) ToGcsDestinationConfigGcsFil return o } +func (o GcsDestinationConfigGcsFileFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcsDestinationConfigGcsFileFormat] { + return pulumix.Output[*GcsDestinationConfigGcsFileFormat]{ + OutputState: o.OutputState, + } +} + func (o GcsDestinationConfigGcsFileFormatPtrOutput) Elem() GcsDestinationConfigGcsFileFormatOutput { return o.ApplyT(func(v *GcsDestinationConfigGcsFileFormat) GcsDestinationConfigGcsFileFormat { if v != nil { @@ -177,6 +190,12 @@ func (in *gcsDestinationConfigGcsFileFormatPtr) ToGcsDestinationConfigGcsFileFor return pulumi.ToOutputWithContext(ctx, in).(GcsDestinationConfigGcsFileFormatPtrOutput) } +func (in *gcsDestinationConfigGcsFileFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*GcsDestinationConfigGcsFileFormat] { + return pulumix.Output[*GcsDestinationConfigGcsFileFormat]{ + OutputState: in.ToGcsDestinationConfigGcsFileFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Compression of the loaded JSON file. type JsonFileFormatCompression string @@ -249,6 +268,12 @@ func (o JsonFileFormatCompressionOutput) ToJsonFileFormatCompressionPtrOutputWit }).(JsonFileFormatCompressionPtrOutput) } +func (o JsonFileFormatCompressionOutput) ToOutput(ctx context.Context) pulumix.Output[JsonFileFormatCompression] { + return pulumix.Output[JsonFileFormatCompression]{ + OutputState: o.OutputState, + } +} + func (o JsonFileFormatCompressionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o JsonFileFormatCompressionPtrOutput) ToJsonFileFormatCompressionPtrOutput return o } +func (o JsonFileFormatCompressionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormatCompression] { + return pulumix.Output[*JsonFileFormatCompression]{ + OutputState: o.OutputState, + } +} + func (o JsonFileFormatCompressionPtrOutput) Elem() JsonFileFormatCompressionOutput { return o.ApplyT(func(v *JsonFileFormatCompression) JsonFileFormatCompression { if v != nil { @@ -346,6 +377,12 @@ func (in *jsonFileFormatCompressionPtr) ToJsonFileFormatCompressionPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(JsonFileFormatCompressionPtrOutput) } +func (in *jsonFileFormatCompressionPtr) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormatCompression] { + return pulumix.Output[*JsonFileFormatCompression]{ + OutputState: in.ToJsonFileFormatCompressionPtrOutputWithContext(ctx).OutputState, + } +} + // The schema file format along JSON data files. type JsonFileFormatSchemaFileFormat string @@ -418,6 +455,12 @@ func (o JsonFileFormatSchemaFileFormatOutput) ToJsonFileFormatSchemaFileFormatPt }).(JsonFileFormatSchemaFileFormatPtrOutput) } +func (o JsonFileFormatSchemaFileFormatOutput) ToOutput(ctx context.Context) pulumix.Output[JsonFileFormatSchemaFileFormat] { + return pulumix.Output[JsonFileFormatSchemaFileFormat]{ + OutputState: o.OutputState, + } +} + func (o JsonFileFormatSchemaFileFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -453,6 +496,12 @@ func (o JsonFileFormatSchemaFileFormatPtrOutput) ToJsonFileFormatSchemaFileForma return o } +func (o JsonFileFormatSchemaFileFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormatSchemaFileFormat] { + return pulumix.Output[*JsonFileFormatSchemaFileFormat]{ + OutputState: o.OutputState, + } +} + func (o JsonFileFormatSchemaFileFormatPtrOutput) Elem() JsonFileFormatSchemaFileFormatOutput { return o.ApplyT(func(v *JsonFileFormatSchemaFileFormat) JsonFileFormatSchemaFileFormat { if v != nil { @@ -515,6 +564,12 @@ func (in *jsonFileFormatSchemaFileFormatPtr) ToJsonFileFormatSchemaFileFormatPtr return pulumi.ToOutputWithContext(ctx, in).(JsonFileFormatSchemaFileFormatPtrOutput) } +func (in *jsonFileFormatSchemaFileFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormatSchemaFileFormat] { + return pulumix.Output[*JsonFileFormatSchemaFileFormat]{ + OutputState: in.ToJsonFileFormatSchemaFileFormatPtrOutputWithContext(ctx).OutputState, + } +} + // The state of the stream. type StreamStateEnum string @@ -599,6 +654,12 @@ func (o StreamStateEnumOutput) ToStreamStateEnumPtrOutputWithContext(ctx context }).(StreamStateEnumPtrOutput) } +func (o StreamStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[StreamStateEnum] { + return pulumix.Output[StreamStateEnum]{ + OutputState: o.OutputState, + } +} + func (o StreamStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -634,6 +695,12 @@ func (o StreamStateEnumPtrOutput) ToStreamStateEnumPtrOutputWithContext(ctx cont return o } +func (o StreamStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StreamStateEnum] { + return pulumix.Output[*StreamStateEnum]{ + OutputState: o.OutputState, + } +} + func (o StreamStateEnumPtrOutput) Elem() StreamStateEnumOutput { return o.ApplyT(func(v *StreamStateEnum) StreamStateEnum { if v != nil { @@ -696,6 +763,12 @@ func (in *streamStateEnumPtr) ToStreamStateEnumPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(StreamStateEnumPtrOutput) } +func (in *streamStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*StreamStateEnum] { + return pulumix.Output[*StreamStateEnum]{ + OutputState: in.ToStreamStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GcsDestinationConfigGcsFileFormatInput)(nil)).Elem(), GcsDestinationConfigGcsFileFormat("GCS_FILE_FORMAT_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GcsDestinationConfigGcsFileFormatPtrInput)(nil)).Elem(), GcsDestinationConfigGcsFileFormat("GCS_FILE_FORMAT_UNSPECIFIED")) diff --git a/sdk/go/google/datastream/v1alpha1/pulumiTypes.go b/sdk/go/google/datastream/v1alpha1/pulumiTypes.go index e52a867876..e00c92684b 100644 --- a/sdk/go/google/datastream/v1alpha1/pulumiTypes.go +++ b/sdk/go/google/datastream/v1alpha1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -44,6 +45,12 @@ func (i AvroFileFormatArgs) ToAvroFileFormatOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AvroFileFormatOutput) } +func (i AvroFileFormatArgs) ToOutput(ctx context.Context) pulumix.Output[AvroFileFormat] { + return pulumix.Output[AvroFileFormat]{ + OutputState: i.ToAvroFileFormatOutputWithContext(ctx).OutputState, + } +} + func (i AvroFileFormatArgs) ToAvroFileFormatPtrOutput() AvroFileFormatPtrOutput { return i.ToAvroFileFormatPtrOutputWithContext(context.Background()) } @@ -85,6 +92,12 @@ func (i *avroFileFormatPtrType) ToAvroFileFormatPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AvroFileFormatPtrOutput) } +func (i *avroFileFormatPtrType) ToOutput(ctx context.Context) pulumix.Output[*AvroFileFormat] { + return pulumix.Output[*AvroFileFormat]{ + OutputState: i.ToAvroFileFormatPtrOutputWithContext(ctx).OutputState, + } +} + // AVRO file format configuration. type AvroFileFormatOutput struct{ *pulumi.OutputState } @@ -110,6 +123,12 @@ func (o AvroFileFormatOutput) ToAvroFileFormatPtrOutputWithContext(ctx context.C }).(AvroFileFormatPtrOutput) } +func (o AvroFileFormatOutput) ToOutput(ctx context.Context) pulumix.Output[AvroFileFormat] { + return pulumix.Output[AvroFileFormat]{ + OutputState: o.OutputState, + } +} + type AvroFileFormatPtrOutput struct{ *pulumi.OutputState } func (AvroFileFormatPtrOutput) ElementType() reflect.Type { @@ -124,6 +143,12 @@ func (o AvroFileFormatPtrOutput) ToAvroFileFormatPtrOutputWithContext(ctx contex return o } +func (o AvroFileFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AvroFileFormat] { + return pulumix.Output[*AvroFileFormat]{ + OutputState: o.OutputState, + } +} + func (o AvroFileFormatPtrOutput) Elem() AvroFileFormatOutput { return o.ApplyT(func(v *AvroFileFormat) AvroFileFormat { if v != nil { @@ -153,6 +178,12 @@ func (o AvroFileFormatResponseOutput) ToAvroFileFormatResponseOutputWithContext( return o } +func (o AvroFileFormatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AvroFileFormatResponse] { + return pulumix.Output[AvroFileFormatResponse]{ + OutputState: o.OutputState, + } +} + // Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded. type BackfillAllStrategy struct { // MySQL data source objects to avoid backfilling. @@ -192,6 +223,12 @@ func (i BackfillAllStrategyArgs) ToBackfillAllStrategyOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BackfillAllStrategyOutput) } +func (i BackfillAllStrategyArgs) ToOutput(ctx context.Context) pulumix.Output[BackfillAllStrategy] { + return pulumix.Output[BackfillAllStrategy]{ + OutputState: i.ToBackfillAllStrategyOutputWithContext(ctx).OutputState, + } +} + func (i BackfillAllStrategyArgs) ToBackfillAllStrategyPtrOutput() BackfillAllStrategyPtrOutput { return i.ToBackfillAllStrategyPtrOutputWithContext(context.Background()) } @@ -233,6 +270,12 @@ func (i *backfillAllStrategyPtrType) ToBackfillAllStrategyPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BackfillAllStrategyPtrOutput) } +func (i *backfillAllStrategyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackfillAllStrategy] { + return pulumix.Output[*BackfillAllStrategy]{ + OutputState: i.ToBackfillAllStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Backfill strategy to automatically backfill the Stream's objects. Specific objects can be excluded. type BackfillAllStrategyOutput struct{ *pulumi.OutputState } @@ -258,6 +301,12 @@ func (o BackfillAllStrategyOutput) ToBackfillAllStrategyPtrOutputWithContext(ctx }).(BackfillAllStrategyPtrOutput) } +func (o BackfillAllStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[BackfillAllStrategy] { + return pulumix.Output[BackfillAllStrategy]{ + OutputState: o.OutputState, + } +} + // MySQL data source objects to avoid backfilling. func (o BackfillAllStrategyOutput) MysqlExcludedObjects() MysqlRdbmsPtrOutput { return o.ApplyT(func(v BackfillAllStrategy) *MysqlRdbms { return v.MysqlExcludedObjects }).(MysqlRdbmsPtrOutput) @@ -282,6 +331,12 @@ func (o BackfillAllStrategyPtrOutput) ToBackfillAllStrategyPtrOutputWithContext( return o } +func (o BackfillAllStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackfillAllStrategy] { + return pulumix.Output[*BackfillAllStrategy]{ + OutputState: o.OutputState, + } +} + func (o BackfillAllStrategyPtrOutput) Elem() BackfillAllStrategyOutput { return o.ApplyT(func(v *BackfillAllStrategy) BackfillAllStrategy { if v != nil { @@ -335,6 +390,12 @@ func (o BackfillAllStrategyResponseOutput) ToBackfillAllStrategyResponseOutputWi return o } +func (o BackfillAllStrategyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackfillAllStrategyResponse] { + return pulumix.Output[BackfillAllStrategyResponse]{ + OutputState: o.OutputState, + } +} + // MySQL data source objects to avoid backfilling. func (o BackfillAllStrategyResponseOutput) MysqlExcludedObjects() MysqlRdbmsResponseOutput { return o.ApplyT(func(v BackfillAllStrategyResponse) MysqlRdbmsResponse { return v.MysqlExcludedObjects }).(MysqlRdbmsResponseOutput) @@ -376,6 +437,12 @@ func (i BackfillNoneStrategyArgs) ToBackfillNoneStrategyOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(BackfillNoneStrategyOutput) } +func (i BackfillNoneStrategyArgs) ToOutput(ctx context.Context) pulumix.Output[BackfillNoneStrategy] { + return pulumix.Output[BackfillNoneStrategy]{ + OutputState: i.ToBackfillNoneStrategyOutputWithContext(ctx).OutputState, + } +} + func (i BackfillNoneStrategyArgs) ToBackfillNoneStrategyPtrOutput() BackfillNoneStrategyPtrOutput { return i.ToBackfillNoneStrategyPtrOutputWithContext(context.Background()) } @@ -417,6 +484,12 @@ func (i *backfillNoneStrategyPtrType) ToBackfillNoneStrategyPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(BackfillNoneStrategyPtrOutput) } +func (i *backfillNoneStrategyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackfillNoneStrategy] { + return pulumix.Output[*BackfillNoneStrategy]{ + OutputState: i.ToBackfillNoneStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Backfill strategy to disable automatic backfill for the Stream's objects. type BackfillNoneStrategyOutput struct{ *pulumi.OutputState } @@ -442,6 +515,12 @@ func (o BackfillNoneStrategyOutput) ToBackfillNoneStrategyPtrOutputWithContext(c }).(BackfillNoneStrategyPtrOutput) } +func (o BackfillNoneStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[BackfillNoneStrategy] { + return pulumix.Output[BackfillNoneStrategy]{ + OutputState: o.OutputState, + } +} + type BackfillNoneStrategyPtrOutput struct{ *pulumi.OutputState } func (BackfillNoneStrategyPtrOutput) ElementType() reflect.Type { @@ -456,6 +535,12 @@ func (o BackfillNoneStrategyPtrOutput) ToBackfillNoneStrategyPtrOutputWithContex return o } +func (o BackfillNoneStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackfillNoneStrategy] { + return pulumix.Output[*BackfillNoneStrategy]{ + OutputState: o.OutputState, + } +} + func (o BackfillNoneStrategyPtrOutput) Elem() BackfillNoneStrategyOutput { return o.ApplyT(func(v *BackfillNoneStrategy) BackfillNoneStrategy { if v != nil { @@ -485,6 +570,12 @@ func (o BackfillNoneStrategyResponseOutput) ToBackfillNoneStrategyResponseOutput return o } +func (o BackfillNoneStrategyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackfillNoneStrategyResponse] { + return pulumix.Output[BackfillNoneStrategyResponse]{ + OutputState: o.OutputState, + } +} + // The configuration of the stream destination. type DestinationConfig struct { // Destination connection profile identifier. @@ -524,6 +615,12 @@ func (i DestinationConfigArgs) ToDestinationConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DestinationConfigOutput) } +func (i DestinationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DestinationConfig] { + return pulumix.Output[DestinationConfig]{ + OutputState: i.ToDestinationConfigOutputWithContext(ctx).OutputState, + } +} + // The configuration of the stream destination. type DestinationConfigOutput struct{ *pulumi.OutputState } @@ -539,6 +636,12 @@ func (o DestinationConfigOutput) ToDestinationConfigOutputWithContext(ctx contex return o } +func (o DestinationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationConfig] { + return pulumix.Output[DestinationConfig]{ + OutputState: o.OutputState, + } +} + // Destination connection profile identifier. func (o DestinationConfigOutput) DestinationConnectionProfileName() pulumi.StringOutput { return o.ApplyT(func(v DestinationConfig) string { return v.DestinationConnectionProfileName }).(pulumi.StringOutput) @@ -572,6 +675,12 @@ func (o DestinationConfigResponseOutput) ToDestinationConfigResponseOutputWithCo return o } +func (o DestinationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationConfigResponse] { + return pulumix.Output[DestinationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Destination connection profile identifier. func (o DestinationConfigResponseOutput) DestinationConnectionProfileName() pulumi.StringOutput { return o.ApplyT(func(v DestinationConfigResponse) string { return v.DestinationConnectionProfileName }).(pulumi.StringOutput) @@ -613,6 +722,12 @@ func (i DropLargeObjectsArgs) ToDropLargeObjectsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DropLargeObjectsOutput) } +func (i DropLargeObjectsArgs) ToOutput(ctx context.Context) pulumix.Output[DropLargeObjects] { + return pulumix.Output[DropLargeObjects]{ + OutputState: i.ToDropLargeObjectsOutputWithContext(ctx).OutputState, + } +} + func (i DropLargeObjectsArgs) ToDropLargeObjectsPtrOutput() DropLargeObjectsPtrOutput { return i.ToDropLargeObjectsPtrOutputWithContext(context.Background()) } @@ -654,6 +769,12 @@ func (i *dropLargeObjectsPtrType) ToDropLargeObjectsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DropLargeObjectsPtrOutput) } +func (i *dropLargeObjectsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DropLargeObjects] { + return pulumix.Output[*DropLargeObjects]{ + OutputState: i.ToDropLargeObjectsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration to drop large object values. type DropLargeObjectsOutput struct{ *pulumi.OutputState } @@ -679,6 +800,12 @@ func (o DropLargeObjectsOutput) ToDropLargeObjectsPtrOutputWithContext(ctx conte }).(DropLargeObjectsPtrOutput) } +func (o DropLargeObjectsOutput) ToOutput(ctx context.Context) pulumix.Output[DropLargeObjects] { + return pulumix.Output[DropLargeObjects]{ + OutputState: o.OutputState, + } +} + type DropLargeObjectsPtrOutput struct{ *pulumi.OutputState } func (DropLargeObjectsPtrOutput) ElementType() reflect.Type { @@ -693,6 +820,12 @@ func (o DropLargeObjectsPtrOutput) ToDropLargeObjectsPtrOutputWithContext(ctx co return o } +func (o DropLargeObjectsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DropLargeObjects] { + return pulumix.Output[*DropLargeObjects]{ + OutputState: o.OutputState, + } +} + func (o DropLargeObjectsPtrOutput) Elem() DropLargeObjectsOutput { return o.ApplyT(func(v *DropLargeObjects) DropLargeObjects { if v != nil { @@ -722,6 +855,12 @@ func (o DropLargeObjectsResponseOutput) ToDropLargeObjectsResponseOutputWithCont return o } +func (o DropLargeObjectsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DropLargeObjectsResponse] { + return pulumix.Output[DropLargeObjectsResponse]{ + OutputState: o.OutputState, + } +} + // Represent a user-facing Error. type ErrorResponse struct { // Additional information about the error. @@ -751,6 +890,12 @@ func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Contex return o } +func (o ErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorResponse] { + return pulumix.Output[ErrorResponse]{ + OutputState: o.OutputState, + } +} + // Additional information about the error. func (o ErrorResponseOutput) Details() pulumi.StringMapOutput { return o.ApplyT(func(v ErrorResponse) map[string]string { return v.Details }).(pulumi.StringMapOutput) @@ -790,6 +935,12 @@ func (o ErrorResponseArrayOutput) ToErrorResponseArrayOutputWithContext(ctx cont return o } +func (o ErrorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ErrorResponse] { + return pulumix.Output[[]ErrorResponse]{ + OutputState: o.OutputState, + } +} + func (o ErrorResponseArrayOutput) Index(i pulumi.IntInput) ErrorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ErrorResponse { return vs[0].([]ErrorResponse)[vs[1].(int)] @@ -847,6 +998,12 @@ func (i ForwardSshTunnelConnectivityArgs) ToForwardSshTunnelConnectivityOutputWi return pulumi.ToOutputWithContext(ctx, i).(ForwardSshTunnelConnectivityOutput) } +func (i ForwardSshTunnelConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[ForwardSshTunnelConnectivity] { + return pulumix.Output[ForwardSshTunnelConnectivity]{ + OutputState: i.ToForwardSshTunnelConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i ForwardSshTunnelConnectivityArgs) ToForwardSshTunnelConnectivityPtrOutput() ForwardSshTunnelConnectivityPtrOutput { return i.ToForwardSshTunnelConnectivityPtrOutputWithContext(context.Background()) } @@ -888,6 +1045,12 @@ func (i *forwardSshTunnelConnectivityPtrType) ToForwardSshTunnelConnectivityPtrO return pulumi.ToOutputWithContext(ctx, i).(ForwardSshTunnelConnectivityPtrOutput) } +func (i *forwardSshTunnelConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ForwardSshTunnelConnectivity] { + return pulumix.Output[*ForwardSshTunnelConnectivity]{ + OutputState: i.ToForwardSshTunnelConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // Forward SSH Tunnel connectivity. type ForwardSshTunnelConnectivityOutput struct{ *pulumi.OutputState } @@ -913,6 +1076,12 @@ func (o ForwardSshTunnelConnectivityOutput) ToForwardSshTunnelConnectivityPtrOut }).(ForwardSshTunnelConnectivityPtrOutput) } +func (o ForwardSshTunnelConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardSshTunnelConnectivity] { + return pulumix.Output[ForwardSshTunnelConnectivity]{ + OutputState: o.OutputState, + } +} + // Hostname for the SSH tunnel. func (o ForwardSshTunnelConnectivityOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v ForwardSshTunnelConnectivity) string { return v.Hostname }).(pulumi.StringOutput) @@ -952,6 +1121,12 @@ func (o ForwardSshTunnelConnectivityPtrOutput) ToForwardSshTunnelConnectivityPtr return o } +func (o ForwardSshTunnelConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForwardSshTunnelConnectivity] { + return pulumix.Output[*ForwardSshTunnelConnectivity]{ + OutputState: o.OutputState, + } +} + func (o ForwardSshTunnelConnectivityPtrOutput) Elem() ForwardSshTunnelConnectivityOutput { return o.ApplyT(func(v *ForwardSshTunnelConnectivity) ForwardSshTunnelConnectivity { if v != nil { @@ -1041,6 +1216,12 @@ func (o ForwardSshTunnelConnectivityResponseOutput) ToForwardSshTunnelConnectivi return o } +func (o ForwardSshTunnelConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardSshTunnelConnectivityResponse] { + return pulumix.Output[ForwardSshTunnelConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // Hostname for the SSH tunnel. func (o ForwardSshTunnelConnectivityResponseOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v ForwardSshTunnelConnectivityResponse) string { return v.Hostname }).(pulumi.StringOutput) @@ -1125,6 +1306,12 @@ func (i GcsDestinationConfigArgs) ToGcsDestinationConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GcsDestinationConfigOutput) } +func (i GcsDestinationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GcsDestinationConfig] { + return pulumix.Output[GcsDestinationConfig]{ + OutputState: i.ToGcsDestinationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GcsDestinationConfigArgs) ToGcsDestinationConfigPtrOutput() GcsDestinationConfigPtrOutput { return i.ToGcsDestinationConfigPtrOutputWithContext(context.Background()) } @@ -1166,6 +1353,12 @@ func (i *gcsDestinationConfigPtrType) ToGcsDestinationConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(GcsDestinationConfigPtrOutput) } +func (i *gcsDestinationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcsDestinationConfig] { + return pulumix.Output[*GcsDestinationConfig]{ + OutputState: i.ToGcsDestinationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Google Cloud Storage destination configuration type GcsDestinationConfigOutput struct{ *pulumi.OutputState } @@ -1191,6 +1384,12 @@ func (o GcsDestinationConfigOutput) ToGcsDestinationConfigPtrOutputWithContext(c }).(GcsDestinationConfigPtrOutput) } +func (o GcsDestinationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GcsDestinationConfig] { + return pulumix.Output[GcsDestinationConfig]{ + OutputState: o.OutputState, + } +} + // AVRO file format configuration. func (o GcsDestinationConfigOutput) AvroFileFormat() AvroFileFormatPtrOutput { return o.ApplyT(func(v GcsDestinationConfig) *AvroFileFormat { return v.AvroFileFormat }).(AvroFileFormatPtrOutput) @@ -1237,6 +1436,12 @@ func (o GcsDestinationConfigPtrOutput) ToGcsDestinationConfigPtrOutputWithContex return o } +func (o GcsDestinationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcsDestinationConfig] { + return pulumix.Output[*GcsDestinationConfig]{ + OutputState: o.OutputState, + } +} + func (o GcsDestinationConfigPtrOutput) Elem() GcsDestinationConfigOutput { return o.ApplyT(func(v *GcsDestinationConfig) GcsDestinationConfig { if v != nil { @@ -1342,6 +1547,12 @@ func (o GcsDestinationConfigResponseOutput) ToGcsDestinationConfigResponseOutput return o } +func (o GcsDestinationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcsDestinationConfigResponse] { + return pulumix.Output[GcsDestinationConfigResponse]{ + OutputState: o.OutputState, + } +} + // AVRO file format configuration. func (o GcsDestinationConfigResponseOutput) AvroFileFormat() AvroFileFormatResponseOutput { return o.ApplyT(func(v GcsDestinationConfigResponse) AvroFileFormatResponse { return v.AvroFileFormat }).(AvroFileFormatResponseOutput) @@ -1413,6 +1624,12 @@ func (i GcsProfileArgs) ToGcsProfileOutputWithContext(ctx context.Context) GcsPr return pulumi.ToOutputWithContext(ctx, i).(GcsProfileOutput) } +func (i GcsProfileArgs) ToOutput(ctx context.Context) pulumix.Output[GcsProfile] { + return pulumix.Output[GcsProfile]{ + OutputState: i.ToGcsProfileOutputWithContext(ctx).OutputState, + } +} + func (i GcsProfileArgs) ToGcsProfilePtrOutput() GcsProfilePtrOutput { return i.ToGcsProfilePtrOutputWithContext(context.Background()) } @@ -1454,6 +1671,12 @@ func (i *gcsProfilePtrType) ToGcsProfilePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GcsProfilePtrOutput) } +func (i *gcsProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*GcsProfile] { + return pulumix.Output[*GcsProfile]{ + OutputState: i.ToGcsProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Storage bucket profile. type GcsProfileOutput struct{ *pulumi.OutputState } @@ -1479,6 +1702,12 @@ func (o GcsProfileOutput) ToGcsProfilePtrOutputWithContext(ctx context.Context) }).(GcsProfilePtrOutput) } +func (o GcsProfileOutput) ToOutput(ctx context.Context) pulumix.Output[GcsProfile] { + return pulumix.Output[GcsProfile]{ + OutputState: o.OutputState, + } +} + // The full project and resource path for Cloud Storage bucket including the name. func (o GcsProfileOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v GcsProfile) string { return v.BucketName }).(pulumi.StringOutput) @@ -1503,6 +1732,12 @@ func (o GcsProfilePtrOutput) ToGcsProfilePtrOutputWithContext(ctx context.Contex return o } +func (o GcsProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcsProfile] { + return pulumix.Output[*GcsProfile]{ + OutputState: o.OutputState, + } +} + func (o GcsProfilePtrOutput) Elem() GcsProfileOutput { return o.ApplyT(func(v *GcsProfile) GcsProfile { if v != nil { @@ -1556,6 +1791,12 @@ func (o GcsProfileResponseOutput) ToGcsProfileResponseOutputWithContext(ctx cont return o } +func (o GcsProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcsProfileResponse] { + return pulumix.Output[GcsProfileResponse]{ + OutputState: o.OutputState, + } +} + // The full project and resource path for Cloud Storage bucket including the name. func (o GcsProfileResponseOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v GcsProfileResponse) string { return v.BucketName }).(pulumi.StringOutput) @@ -1605,6 +1846,12 @@ func (i JsonFileFormatArgs) ToJsonFileFormatOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(JsonFileFormatOutput) } +func (i JsonFileFormatArgs) ToOutput(ctx context.Context) pulumix.Output[JsonFileFormat] { + return pulumix.Output[JsonFileFormat]{ + OutputState: i.ToJsonFileFormatOutputWithContext(ctx).OutputState, + } +} + func (i JsonFileFormatArgs) ToJsonFileFormatPtrOutput() JsonFileFormatPtrOutput { return i.ToJsonFileFormatPtrOutputWithContext(context.Background()) } @@ -1646,6 +1893,12 @@ func (i *jsonFileFormatPtrType) ToJsonFileFormatPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(JsonFileFormatPtrOutput) } +func (i *jsonFileFormatPtrType) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormat] { + return pulumix.Output[*JsonFileFormat]{ + OutputState: i.ToJsonFileFormatPtrOutputWithContext(ctx).OutputState, + } +} + // JSON file format configuration. type JsonFileFormatOutput struct{ *pulumi.OutputState } @@ -1671,6 +1924,12 @@ func (o JsonFileFormatOutput) ToJsonFileFormatPtrOutputWithContext(ctx context.C }).(JsonFileFormatPtrOutput) } +func (o JsonFileFormatOutput) ToOutput(ctx context.Context) pulumix.Output[JsonFileFormat] { + return pulumix.Output[JsonFileFormat]{ + OutputState: o.OutputState, + } +} + // Compression of the loaded JSON file. func (o JsonFileFormatOutput) Compression() JsonFileFormatCompressionPtrOutput { return o.ApplyT(func(v JsonFileFormat) *JsonFileFormatCompression { return v.Compression }).(JsonFileFormatCompressionPtrOutput) @@ -1695,6 +1954,12 @@ func (o JsonFileFormatPtrOutput) ToJsonFileFormatPtrOutputWithContext(ctx contex return o } +func (o JsonFileFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JsonFileFormat] { + return pulumix.Output[*JsonFileFormat]{ + OutputState: o.OutputState, + } +} + func (o JsonFileFormatPtrOutput) Elem() JsonFileFormatOutput { return o.ApplyT(func(v *JsonFileFormat) JsonFileFormat { if v != nil { @@ -1748,6 +2013,12 @@ func (o JsonFileFormatResponseOutput) ToJsonFileFormatResponseOutputWithContext( return o } +func (o JsonFileFormatResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JsonFileFormatResponse] { + return pulumix.Output[JsonFileFormatResponse]{ + OutputState: o.OutputState, + } +} + // Compression of the loaded JSON file. func (o JsonFileFormatResponseOutput) Compression() pulumi.StringOutput { return o.ApplyT(func(v JsonFileFormatResponse) string { return v.Compression }).(pulumi.StringOutput) @@ -1817,6 +2088,12 @@ func (i MysqlColumnArgs) ToMysqlColumnOutputWithContext(ctx context.Context) Mys return pulumi.ToOutputWithContext(ctx, i).(MysqlColumnOutput) } +func (i MysqlColumnArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlColumn] { + return pulumix.Output[MysqlColumn]{ + OutputState: i.ToMysqlColumnOutputWithContext(ctx).OutputState, + } +} + // MysqlColumnArrayInput is an input type that accepts MysqlColumnArray and MysqlColumnArrayOutput values. // You can construct a concrete instance of `MysqlColumnArrayInput` via: // @@ -1842,6 +2119,12 @@ func (i MysqlColumnArray) ToMysqlColumnArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MysqlColumnArrayOutput) } +func (i MysqlColumnArray) ToOutput(ctx context.Context) pulumix.Output[[]MysqlColumn] { + return pulumix.Output[[]MysqlColumn]{ + OutputState: i.ToMysqlColumnArrayOutputWithContext(ctx).OutputState, + } +} + // MySQL Column. type MysqlColumnOutput struct{ *pulumi.OutputState } @@ -1857,6 +2140,12 @@ func (o MysqlColumnOutput) ToMysqlColumnOutputWithContext(ctx context.Context) M return o } +func (o MysqlColumnOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlColumn] { + return pulumix.Output[MysqlColumn]{ + OutputState: o.OutputState, + } +} + // Column collation. func (o MysqlColumnOutput) Collation() pulumi.StringPtrOutput { return o.ApplyT(func(v MysqlColumn) *string { return v.Collation }).(pulumi.StringPtrOutput) @@ -1906,6 +2195,12 @@ func (o MysqlColumnArrayOutput) ToMysqlColumnArrayOutputWithContext(ctx context. return o } +func (o MysqlColumnArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlColumn] { + return pulumix.Output[[]MysqlColumn]{ + OutputState: o.OutputState, + } +} + func (o MysqlColumnArrayOutput) Index(i pulumi.IntInput) MysqlColumnOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlColumn { return vs[0].([]MysqlColumn)[vs[1].(int)] @@ -1945,6 +2240,12 @@ func (o MysqlColumnResponseOutput) ToMysqlColumnResponseOutputWithContext(ctx co return o } +func (o MysqlColumnResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlColumnResponse] { + return pulumix.Output[MysqlColumnResponse]{ + OutputState: o.OutputState, + } +} + // Column collation. func (o MysqlColumnResponseOutput) Collation() pulumi.StringOutput { return o.ApplyT(func(v MysqlColumnResponse) string { return v.Collation }).(pulumi.StringOutput) @@ -1994,6 +2295,12 @@ func (o MysqlColumnResponseArrayOutput) ToMysqlColumnResponseArrayOutputWithCont return o } +func (o MysqlColumnResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlColumnResponse] { + return pulumix.Output[[]MysqlColumnResponse]{ + OutputState: o.OutputState, + } +} + func (o MysqlColumnResponseArrayOutput) Index(i pulumi.IntInput) MysqlColumnResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlColumnResponse { return vs[0].([]MysqlColumnResponse)[vs[1].(int)] @@ -2039,6 +2346,12 @@ func (i MysqlDatabaseArgs) ToMysqlDatabaseOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MysqlDatabaseOutput) } +func (i MysqlDatabaseArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlDatabase] { + return pulumix.Output[MysqlDatabase]{ + OutputState: i.ToMysqlDatabaseOutputWithContext(ctx).OutputState, + } +} + // MysqlDatabaseArrayInput is an input type that accepts MysqlDatabaseArray and MysqlDatabaseArrayOutput values. // You can construct a concrete instance of `MysqlDatabaseArrayInput` via: // @@ -2064,6 +2377,12 @@ func (i MysqlDatabaseArray) ToMysqlDatabaseArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MysqlDatabaseArrayOutput) } +func (i MysqlDatabaseArray) ToOutput(ctx context.Context) pulumix.Output[[]MysqlDatabase] { + return pulumix.Output[[]MysqlDatabase]{ + OutputState: i.ToMysqlDatabaseArrayOutputWithContext(ctx).OutputState, + } +} + // MySQL database. type MysqlDatabaseOutput struct{ *pulumi.OutputState } @@ -2079,6 +2398,12 @@ func (o MysqlDatabaseOutput) ToMysqlDatabaseOutputWithContext(ctx context.Contex return o } +func (o MysqlDatabaseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlDatabase] { + return pulumix.Output[MysqlDatabase]{ + OutputState: o.OutputState, + } +} + // Database name. func (o MysqlDatabaseOutput) DatabaseName() pulumi.StringPtrOutput { return o.ApplyT(func(v MysqlDatabase) *string { return v.DatabaseName }).(pulumi.StringPtrOutput) @@ -2103,6 +2428,12 @@ func (o MysqlDatabaseArrayOutput) ToMysqlDatabaseArrayOutputWithContext(ctx cont return o } +func (o MysqlDatabaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlDatabase] { + return pulumix.Output[[]MysqlDatabase]{ + OutputState: o.OutputState, + } +} + func (o MysqlDatabaseArrayOutput) Index(i pulumi.IntInput) MysqlDatabaseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlDatabase { return vs[0].([]MysqlDatabase)[vs[1].(int)] @@ -2132,6 +2463,12 @@ func (o MysqlDatabaseResponseOutput) ToMysqlDatabaseResponseOutputWithContext(ct return o } +func (o MysqlDatabaseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlDatabaseResponse] { + return pulumix.Output[MysqlDatabaseResponse]{ + OutputState: o.OutputState, + } +} + // Database name. func (o MysqlDatabaseResponseOutput) DatabaseName() pulumi.StringOutput { return o.ApplyT(func(v MysqlDatabaseResponse) string { return v.DatabaseName }).(pulumi.StringOutput) @@ -2156,6 +2493,12 @@ func (o MysqlDatabaseResponseArrayOutput) ToMysqlDatabaseResponseArrayOutputWith return o } +func (o MysqlDatabaseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlDatabaseResponse] { + return pulumix.Output[[]MysqlDatabaseResponse]{ + OutputState: o.OutputState, + } +} + func (o MysqlDatabaseResponseArrayOutput) Index(i pulumi.IntInput) MysqlDatabaseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlDatabaseResponse { return vs[0].([]MysqlDatabaseResponse)[vs[1].(int)] @@ -2213,6 +2556,12 @@ func (i MysqlProfileArgs) ToMysqlProfileOutputWithContext(ctx context.Context) M return pulumi.ToOutputWithContext(ctx, i).(MysqlProfileOutput) } +func (i MysqlProfileArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlProfile] { + return pulumix.Output[MysqlProfile]{ + OutputState: i.ToMysqlProfileOutputWithContext(ctx).OutputState, + } +} + func (i MysqlProfileArgs) ToMysqlProfilePtrOutput() MysqlProfilePtrOutput { return i.ToMysqlProfilePtrOutputWithContext(context.Background()) } @@ -2254,6 +2603,12 @@ func (i *mysqlProfilePtrType) ToMysqlProfilePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(MysqlProfilePtrOutput) } +func (i *mysqlProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*MysqlProfile] { + return pulumix.Output[*MysqlProfile]{ + OutputState: i.ToMysqlProfilePtrOutputWithContext(ctx).OutputState, + } +} + // MySQL database profile. type MysqlProfileOutput struct{ *pulumi.OutputState } @@ -2279,6 +2634,12 @@ func (o MysqlProfileOutput) ToMysqlProfilePtrOutputWithContext(ctx context.Conte }).(MysqlProfilePtrOutput) } +func (o MysqlProfileOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlProfile] { + return pulumix.Output[MysqlProfile]{ + OutputState: o.OutputState, + } +} + // Hostname for the MySQL connection. func (o MysqlProfileOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v MysqlProfile) string { return v.Hostname }).(pulumi.StringOutput) @@ -2318,6 +2679,12 @@ func (o MysqlProfilePtrOutput) ToMysqlProfilePtrOutputWithContext(ctx context.Co return o } +func (o MysqlProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MysqlProfile] { + return pulumix.Output[*MysqlProfile]{ + OutputState: o.OutputState, + } +} + func (o MysqlProfilePtrOutput) Elem() MysqlProfileOutput { return o.ApplyT(func(v *MysqlProfile) MysqlProfile { if v != nil { @@ -2407,6 +2774,12 @@ func (o MysqlProfileResponseOutput) ToMysqlProfileResponseOutputWithContext(ctx return o } +func (o MysqlProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlProfileResponse] { + return pulumix.Output[MysqlProfileResponse]{ + OutputState: o.OutputState, + } +} + // Hostname for the MySQL connection. func (o MysqlProfileResponseOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v MysqlProfileResponse) string { return v.Hostname }).(pulumi.StringOutput) @@ -2467,6 +2840,12 @@ func (i MysqlRdbmsArgs) ToMysqlRdbmsOutputWithContext(ctx context.Context) Mysql return pulumi.ToOutputWithContext(ctx, i).(MysqlRdbmsOutput) } +func (i MysqlRdbmsArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlRdbms] { + return pulumix.Output[MysqlRdbms]{ + OutputState: i.ToMysqlRdbmsOutputWithContext(ctx).OutputState, + } +} + func (i MysqlRdbmsArgs) ToMysqlRdbmsPtrOutput() MysqlRdbmsPtrOutput { return i.ToMysqlRdbmsPtrOutputWithContext(context.Background()) } @@ -2508,6 +2887,12 @@ func (i *mysqlRdbmsPtrType) ToMysqlRdbmsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(MysqlRdbmsPtrOutput) } +func (i *mysqlRdbmsPtrType) ToOutput(ctx context.Context) pulumix.Output[*MysqlRdbms] { + return pulumix.Output[*MysqlRdbms]{ + OutputState: i.ToMysqlRdbmsPtrOutputWithContext(ctx).OutputState, + } +} + // MySQL database structure type MysqlRdbmsOutput struct{ *pulumi.OutputState } @@ -2533,6 +2918,12 @@ func (o MysqlRdbmsOutput) ToMysqlRdbmsPtrOutputWithContext(ctx context.Context) }).(MysqlRdbmsPtrOutput) } +func (o MysqlRdbmsOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlRdbms] { + return pulumix.Output[MysqlRdbms]{ + OutputState: o.OutputState, + } +} + // Mysql databases on the server func (o MysqlRdbmsOutput) MysqlDatabases() MysqlDatabaseArrayOutput { return o.ApplyT(func(v MysqlRdbms) []MysqlDatabase { return v.MysqlDatabases }).(MysqlDatabaseArrayOutput) @@ -2552,6 +2943,12 @@ func (o MysqlRdbmsPtrOutput) ToMysqlRdbmsPtrOutputWithContext(ctx context.Contex return o } +func (o MysqlRdbmsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MysqlRdbms] { + return pulumix.Output[*MysqlRdbms]{ + OutputState: o.OutputState, + } +} + func (o MysqlRdbmsPtrOutput) Elem() MysqlRdbmsOutput { return o.ApplyT(func(v *MysqlRdbms) MysqlRdbms { if v != nil { @@ -2593,6 +2990,12 @@ func (o MysqlRdbmsResponseOutput) ToMysqlRdbmsResponseOutputWithContext(ctx cont return o } +func (o MysqlRdbmsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlRdbmsResponse] { + return pulumix.Output[MysqlRdbmsResponse]{ + OutputState: o.OutputState, + } +} + // Mysql databases on the server func (o MysqlRdbmsResponseOutput) MysqlDatabases() MysqlDatabaseResponseArrayOutput { return o.ApplyT(func(v MysqlRdbmsResponse) []MysqlDatabaseResponse { return v.MysqlDatabases }).(MysqlDatabaseResponseArrayOutput) @@ -2637,6 +3040,12 @@ func (i MysqlSourceConfigArgs) ToMysqlSourceConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MysqlSourceConfigOutput) } +func (i MysqlSourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlSourceConfig] { + return pulumix.Output[MysqlSourceConfig]{ + OutputState: i.ToMysqlSourceConfigOutputWithContext(ctx).OutputState, + } +} + func (i MysqlSourceConfigArgs) ToMysqlSourceConfigPtrOutput() MysqlSourceConfigPtrOutput { return i.ToMysqlSourceConfigPtrOutputWithContext(context.Background()) } @@ -2678,6 +3087,12 @@ func (i *mysqlSourceConfigPtrType) ToMysqlSourceConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MysqlSourceConfigPtrOutput) } +func (i *mysqlSourceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MysqlSourceConfig] { + return pulumix.Output[*MysqlSourceConfig]{ + OutputState: i.ToMysqlSourceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MySQL source configuration type MysqlSourceConfigOutput struct{ *pulumi.OutputState } @@ -2703,6 +3118,12 @@ func (o MysqlSourceConfigOutput) ToMysqlSourceConfigPtrOutputWithContext(ctx con }).(MysqlSourceConfigPtrOutput) } +func (o MysqlSourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlSourceConfig] { + return pulumix.Output[MysqlSourceConfig]{ + OutputState: o.OutputState, + } +} + // MySQL objects to retrieve from the source. func (o MysqlSourceConfigOutput) Allowlist() MysqlRdbmsPtrOutput { return o.ApplyT(func(v MysqlSourceConfig) *MysqlRdbms { return v.Allowlist }).(MysqlRdbmsPtrOutput) @@ -2727,6 +3148,12 @@ func (o MysqlSourceConfigPtrOutput) ToMysqlSourceConfigPtrOutputWithContext(ctx return o } +func (o MysqlSourceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MysqlSourceConfig] { + return pulumix.Output[*MysqlSourceConfig]{ + OutputState: o.OutputState, + } +} + func (o MysqlSourceConfigPtrOutput) Elem() MysqlSourceConfigOutput { return o.ApplyT(func(v *MysqlSourceConfig) MysqlSourceConfig { if v != nil { @@ -2780,6 +3207,12 @@ func (o MysqlSourceConfigResponseOutput) ToMysqlSourceConfigResponseOutputWithCo return o } +func (o MysqlSourceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlSourceConfigResponse] { + return pulumix.Output[MysqlSourceConfigResponse]{ + OutputState: o.OutputState, + } +} + // MySQL objects to retrieve from the source. func (o MysqlSourceConfigResponseOutput) Allowlist() MysqlRdbmsResponseOutput { return o.ApplyT(func(v MysqlSourceConfigResponse) MysqlRdbmsResponse { return v.Allowlist }).(MysqlRdbmsResponseOutput) @@ -2833,6 +3266,12 @@ func (i MysqlSslConfigArgs) ToMysqlSslConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MysqlSslConfigOutput) } +func (i MysqlSslConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlSslConfig] { + return pulumix.Output[MysqlSslConfig]{ + OutputState: i.ToMysqlSslConfigOutputWithContext(ctx).OutputState, + } +} + func (i MysqlSslConfigArgs) ToMysqlSslConfigPtrOutput() MysqlSslConfigPtrOutput { return i.ToMysqlSslConfigPtrOutputWithContext(context.Background()) } @@ -2874,6 +3313,12 @@ func (i *mysqlSslConfigPtrType) ToMysqlSslConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MysqlSslConfigPtrOutput) } +func (i *mysqlSslConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MysqlSslConfig] { + return pulumix.Output[*MysqlSslConfig]{ + OutputState: i.ToMysqlSslConfigPtrOutputWithContext(ctx).OutputState, + } +} + // MySQL SSL configuration information. type MysqlSslConfigOutput struct{ *pulumi.OutputState } @@ -2899,6 +3344,12 @@ func (o MysqlSslConfigOutput) ToMysqlSslConfigPtrOutputWithContext(ctx context.C }).(MysqlSslConfigPtrOutput) } +func (o MysqlSslConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlSslConfig] { + return pulumix.Output[MysqlSslConfig]{ + OutputState: o.OutputState, + } +} + // Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. func (o MysqlSslConfigOutput) CaCertificate() pulumi.StringPtrOutput { return o.ApplyT(func(v MysqlSslConfig) *string { return v.CaCertificate }).(pulumi.StringPtrOutput) @@ -2928,6 +3379,12 @@ func (o MysqlSslConfigPtrOutput) ToMysqlSslConfigPtrOutputWithContext(ctx contex return o } +func (o MysqlSslConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MysqlSslConfig] { + return pulumix.Output[*MysqlSslConfig]{ + OutputState: o.OutputState, + } +} + func (o MysqlSslConfigPtrOutput) Elem() MysqlSslConfigOutput { return o.ApplyT(func(v *MysqlSslConfig) MysqlSslConfig { if v != nil { @@ -2999,6 +3456,12 @@ func (o MysqlSslConfigResponseOutput) ToMysqlSslConfigResponseOutputWithContext( return o } +func (o MysqlSslConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlSslConfigResponse] { + return pulumix.Output[MysqlSslConfigResponse]{ + OutputState: o.OutputState, + } +} + // Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. func (o MysqlSslConfigResponseOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v MysqlSslConfigResponse) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -3068,6 +3531,12 @@ func (i MysqlTableArgs) ToMysqlTableOutputWithContext(ctx context.Context) Mysql return pulumi.ToOutputWithContext(ctx, i).(MysqlTableOutput) } +func (i MysqlTableArgs) ToOutput(ctx context.Context) pulumix.Output[MysqlTable] { + return pulumix.Output[MysqlTable]{ + OutputState: i.ToMysqlTableOutputWithContext(ctx).OutputState, + } +} + // MysqlTableArrayInput is an input type that accepts MysqlTableArray and MysqlTableArrayOutput values. // You can construct a concrete instance of `MysqlTableArrayInput` via: // @@ -3093,6 +3562,12 @@ func (i MysqlTableArray) ToMysqlTableArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MysqlTableArrayOutput) } +func (i MysqlTableArray) ToOutput(ctx context.Context) pulumix.Output[[]MysqlTable] { + return pulumix.Output[[]MysqlTable]{ + OutputState: i.ToMysqlTableArrayOutputWithContext(ctx).OutputState, + } +} + // MySQL table. type MysqlTableOutput struct{ *pulumi.OutputState } @@ -3108,6 +3583,12 @@ func (o MysqlTableOutput) ToMysqlTableOutputWithContext(ctx context.Context) Mys return o } +func (o MysqlTableOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlTable] { + return pulumix.Output[MysqlTable]{ + OutputState: o.OutputState, + } +} + // MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything. func (o MysqlTableOutput) MysqlColumns() MysqlColumnArrayOutput { return o.ApplyT(func(v MysqlTable) []MysqlColumn { return v.MysqlColumns }).(MysqlColumnArrayOutput) @@ -3132,6 +3613,12 @@ func (o MysqlTableArrayOutput) ToMysqlTableArrayOutputWithContext(ctx context.Co return o } +func (o MysqlTableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlTable] { + return pulumix.Output[[]MysqlTable]{ + OutputState: o.OutputState, + } +} + func (o MysqlTableArrayOutput) Index(i pulumi.IntInput) MysqlTableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlTable { return vs[0].([]MysqlTable)[vs[1].(int)] @@ -3161,6 +3648,12 @@ func (o MysqlTableResponseOutput) ToMysqlTableResponseOutputWithContext(ctx cont return o } +func (o MysqlTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MysqlTableResponse] { + return pulumix.Output[MysqlTableResponse]{ + OutputState: o.OutputState, + } +} + // MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything. func (o MysqlTableResponseOutput) MysqlColumns() MysqlColumnResponseArrayOutput { return o.ApplyT(func(v MysqlTableResponse) []MysqlColumnResponse { return v.MysqlColumns }).(MysqlColumnResponseArrayOutput) @@ -3185,6 +3678,12 @@ func (o MysqlTableResponseArrayOutput) ToMysqlTableResponseArrayOutputWithContex return o } +func (o MysqlTableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MysqlTableResponse] { + return pulumix.Output[[]MysqlTableResponse]{ + OutputState: o.OutputState, + } +} + func (o MysqlTableResponseArrayOutput) Index(i pulumi.IntInput) MysqlTableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlTableResponse { return vs[0].([]MysqlTableResponse)[vs[1].(int)] @@ -3222,6 +3721,12 @@ func (i NoConnectivitySettingsArgs) ToNoConnectivitySettingsOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(NoConnectivitySettingsOutput) } +func (i NoConnectivitySettingsArgs) ToOutput(ctx context.Context) pulumix.Output[NoConnectivitySettings] { + return pulumix.Output[NoConnectivitySettings]{ + OutputState: i.ToNoConnectivitySettingsOutputWithContext(ctx).OutputState, + } +} + func (i NoConnectivitySettingsArgs) ToNoConnectivitySettingsPtrOutput() NoConnectivitySettingsPtrOutput { return i.ToNoConnectivitySettingsPtrOutputWithContext(context.Background()) } @@ -3263,6 +3768,12 @@ func (i *noConnectivitySettingsPtrType) ToNoConnectivitySettingsPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(NoConnectivitySettingsPtrOutput) } +func (i *noConnectivitySettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NoConnectivitySettings] { + return pulumix.Output[*NoConnectivitySettings]{ + OutputState: i.ToNoConnectivitySettingsPtrOutputWithContext(ctx).OutputState, + } +} + // No connectivity settings. type NoConnectivitySettingsOutput struct{ *pulumi.OutputState } @@ -3288,6 +3799,12 @@ func (o NoConnectivitySettingsOutput) ToNoConnectivitySettingsPtrOutputWithConte }).(NoConnectivitySettingsPtrOutput) } +func (o NoConnectivitySettingsOutput) ToOutput(ctx context.Context) pulumix.Output[NoConnectivitySettings] { + return pulumix.Output[NoConnectivitySettings]{ + OutputState: o.OutputState, + } +} + type NoConnectivitySettingsPtrOutput struct{ *pulumi.OutputState } func (NoConnectivitySettingsPtrOutput) ElementType() reflect.Type { @@ -3302,6 +3819,12 @@ func (o NoConnectivitySettingsPtrOutput) ToNoConnectivitySettingsPtrOutputWithCo return o } +func (o NoConnectivitySettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NoConnectivitySettings] { + return pulumix.Output[*NoConnectivitySettings]{ + OutputState: o.OutputState, + } +} + func (o NoConnectivitySettingsPtrOutput) Elem() NoConnectivitySettingsOutput { return o.ApplyT(func(v *NoConnectivitySettings) NoConnectivitySettings { if v != nil { @@ -3331,6 +3854,12 @@ func (o NoConnectivitySettingsResponseOutput) ToNoConnectivitySettingsResponseOu return o } +func (o NoConnectivitySettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NoConnectivitySettingsResponse] { + return pulumix.Output[NoConnectivitySettingsResponse]{ + OutputState: o.OutputState, + } +} + // Oracle Column. type OracleColumn struct { // Column name. @@ -3398,6 +3927,12 @@ func (i OracleColumnArgs) ToOracleColumnOutputWithContext(ctx context.Context) O return pulumi.ToOutputWithContext(ctx, i).(OracleColumnOutput) } +func (i OracleColumnArgs) ToOutput(ctx context.Context) pulumix.Output[OracleColumn] { + return pulumix.Output[OracleColumn]{ + OutputState: i.ToOracleColumnOutputWithContext(ctx).OutputState, + } +} + // OracleColumnArrayInput is an input type that accepts OracleColumnArray and OracleColumnArrayOutput values. // You can construct a concrete instance of `OracleColumnArrayInput` via: // @@ -3423,6 +3958,12 @@ func (i OracleColumnArray) ToOracleColumnArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OracleColumnArrayOutput) } +func (i OracleColumnArray) ToOutput(ctx context.Context) pulumix.Output[[]OracleColumn] { + return pulumix.Output[[]OracleColumn]{ + OutputState: i.ToOracleColumnArrayOutputWithContext(ctx).OutputState, + } +} + // Oracle Column. type OracleColumnOutput struct{ *pulumi.OutputState } @@ -3438,6 +3979,12 @@ func (o OracleColumnOutput) ToOracleColumnOutputWithContext(ctx context.Context) return o } +func (o OracleColumnOutput) ToOutput(ctx context.Context) pulumix.Output[OracleColumn] { + return pulumix.Output[OracleColumn]{ + OutputState: o.OutputState, + } +} + // Column name. func (o OracleColumnOutput) ColumnName() pulumi.StringPtrOutput { return o.ApplyT(func(v OracleColumn) *string { return v.ColumnName }).(pulumi.StringPtrOutput) @@ -3497,6 +4044,12 @@ func (o OracleColumnArrayOutput) ToOracleColumnArrayOutputWithContext(ctx contex return o } +func (o OracleColumnArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleColumn] { + return pulumix.Output[[]OracleColumn]{ + OutputState: o.OutputState, + } +} + func (o OracleColumnArrayOutput) Index(i pulumi.IntInput) OracleColumnOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleColumn { return vs[0].([]OracleColumn)[vs[1].(int)] @@ -3540,6 +4093,12 @@ func (o OracleColumnResponseOutput) ToOracleColumnResponseOutputWithContext(ctx return o } +func (o OracleColumnResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleColumnResponse] { + return pulumix.Output[OracleColumnResponse]{ + OutputState: o.OutputState, + } +} + // Column name. func (o OracleColumnResponseOutput) ColumnName() pulumi.StringOutput { return o.ApplyT(func(v OracleColumnResponse) string { return v.ColumnName }).(pulumi.StringOutput) @@ -3599,6 +4158,12 @@ func (o OracleColumnResponseArrayOutput) ToOracleColumnResponseArrayOutputWithCo return o } +func (o OracleColumnResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleColumnResponse] { + return pulumix.Output[[]OracleColumnResponse]{ + OutputState: o.OutputState, + } +} + func (o OracleColumnResponseArrayOutput) Index(i pulumi.IntInput) OracleColumnResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleColumnResponse { return vs[0].([]OracleColumnResponse)[vs[1].(int)] @@ -3660,6 +4225,12 @@ func (i OracleProfileArgs) ToOracleProfileOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OracleProfileOutput) } +func (i OracleProfileArgs) ToOutput(ctx context.Context) pulumix.Output[OracleProfile] { + return pulumix.Output[OracleProfile]{ + OutputState: i.ToOracleProfileOutputWithContext(ctx).OutputState, + } +} + func (i OracleProfileArgs) ToOracleProfilePtrOutput() OracleProfilePtrOutput { return i.ToOracleProfilePtrOutputWithContext(context.Background()) } @@ -3701,6 +4272,12 @@ func (i *oracleProfilePtrType) ToOracleProfilePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OracleProfilePtrOutput) } +func (i *oracleProfilePtrType) ToOutput(ctx context.Context) pulumix.Output[*OracleProfile] { + return pulumix.Output[*OracleProfile]{ + OutputState: i.ToOracleProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Oracle database profile. type OracleProfileOutput struct{ *pulumi.OutputState } @@ -3726,6 +4303,12 @@ func (o OracleProfileOutput) ToOracleProfilePtrOutputWithContext(ctx context.Con }).(OracleProfilePtrOutput) } +func (o OracleProfileOutput) ToOutput(ctx context.Context) pulumix.Output[OracleProfile] { + return pulumix.Output[OracleProfile]{ + OutputState: o.OutputState, + } +} + // Connection string attributes func (o OracleProfileOutput) ConnectionAttributes() pulumi.StringMapOutput { return o.ApplyT(func(v OracleProfile) map[string]string { return v.ConnectionAttributes }).(pulumi.StringMapOutput) @@ -3770,6 +4353,12 @@ func (o OracleProfilePtrOutput) ToOracleProfilePtrOutputWithContext(ctx context. return o } +func (o OracleProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OracleProfile] { + return pulumix.Output[*OracleProfile]{ + OutputState: o.OutputState, + } +} + func (o OracleProfilePtrOutput) Elem() OracleProfileOutput { return o.ApplyT(func(v *OracleProfile) OracleProfile { if v != nil { @@ -3871,6 +4460,12 @@ func (o OracleProfileResponseOutput) ToOracleProfileResponseOutputWithContext(ct return o } +func (o OracleProfileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleProfileResponse] { + return pulumix.Output[OracleProfileResponse]{ + OutputState: o.OutputState, + } +} + // Connection string attributes func (o OracleProfileResponseOutput) ConnectionAttributes() pulumi.StringMapOutput { return o.ApplyT(func(v OracleProfileResponse) map[string]string { return v.ConnectionAttributes }).(pulumi.StringMapOutput) @@ -3936,6 +4531,12 @@ func (i OracleRdbmsArgs) ToOracleRdbmsOutputWithContext(ctx context.Context) Ora return pulumi.ToOutputWithContext(ctx, i).(OracleRdbmsOutput) } +func (i OracleRdbmsArgs) ToOutput(ctx context.Context) pulumix.Output[OracleRdbms] { + return pulumix.Output[OracleRdbms]{ + OutputState: i.ToOracleRdbmsOutputWithContext(ctx).OutputState, + } +} + func (i OracleRdbmsArgs) ToOracleRdbmsPtrOutput() OracleRdbmsPtrOutput { return i.ToOracleRdbmsPtrOutputWithContext(context.Background()) } @@ -3977,6 +4578,12 @@ func (i *oracleRdbmsPtrType) ToOracleRdbmsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(OracleRdbmsPtrOutput) } +func (i *oracleRdbmsPtrType) ToOutput(ctx context.Context) pulumix.Output[*OracleRdbms] { + return pulumix.Output[*OracleRdbms]{ + OutputState: i.ToOracleRdbmsPtrOutputWithContext(ctx).OutputState, + } +} + // Oracle database structure. type OracleRdbmsOutput struct{ *pulumi.OutputState } @@ -4002,6 +4609,12 @@ func (o OracleRdbmsOutput) ToOracleRdbmsPtrOutputWithContext(ctx context.Context }).(OracleRdbmsPtrOutput) } +func (o OracleRdbmsOutput) ToOutput(ctx context.Context) pulumix.Output[OracleRdbms] { + return pulumix.Output[OracleRdbms]{ + OutputState: o.OutputState, + } +} + // Oracle schemas/databases in the database server. func (o OracleRdbmsOutput) OracleSchemas() OracleSchemaArrayOutput { return o.ApplyT(func(v OracleRdbms) []OracleSchema { return v.OracleSchemas }).(OracleSchemaArrayOutput) @@ -4021,6 +4634,12 @@ func (o OracleRdbmsPtrOutput) ToOracleRdbmsPtrOutputWithContext(ctx context.Cont return o } +func (o OracleRdbmsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OracleRdbms] { + return pulumix.Output[*OracleRdbms]{ + OutputState: o.OutputState, + } +} + func (o OracleRdbmsPtrOutput) Elem() OracleRdbmsOutput { return o.ApplyT(func(v *OracleRdbms) OracleRdbms { if v != nil { @@ -4062,6 +4681,12 @@ func (o OracleRdbmsResponseOutput) ToOracleRdbmsResponseOutputWithContext(ctx co return o } +func (o OracleRdbmsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleRdbmsResponse] { + return pulumix.Output[OracleRdbmsResponse]{ + OutputState: o.OutputState, + } +} + // Oracle schemas/databases in the database server. func (o OracleRdbmsResponseOutput) OracleSchemas() OracleSchemaResponseArrayOutput { return o.ApplyT(func(v OracleRdbmsResponse) []OracleSchemaResponse { return v.OracleSchemas }).(OracleSchemaResponseArrayOutput) @@ -4106,6 +4731,12 @@ func (i OracleSchemaArgs) ToOracleSchemaOutputWithContext(ctx context.Context) O return pulumi.ToOutputWithContext(ctx, i).(OracleSchemaOutput) } +func (i OracleSchemaArgs) ToOutput(ctx context.Context) pulumix.Output[OracleSchema] { + return pulumix.Output[OracleSchema]{ + OutputState: i.ToOracleSchemaOutputWithContext(ctx).OutputState, + } +} + // OracleSchemaArrayInput is an input type that accepts OracleSchemaArray and OracleSchemaArrayOutput values. // You can construct a concrete instance of `OracleSchemaArrayInput` via: // @@ -4131,6 +4762,12 @@ func (i OracleSchemaArray) ToOracleSchemaArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OracleSchemaArrayOutput) } +func (i OracleSchemaArray) ToOutput(ctx context.Context) pulumix.Output[[]OracleSchema] { + return pulumix.Output[[]OracleSchema]{ + OutputState: i.ToOracleSchemaArrayOutputWithContext(ctx).OutputState, + } +} + // Oracle schema. type OracleSchemaOutput struct{ *pulumi.OutputState } @@ -4146,6 +4783,12 @@ func (o OracleSchemaOutput) ToOracleSchemaOutputWithContext(ctx context.Context) return o } +func (o OracleSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[OracleSchema] { + return pulumix.Output[OracleSchema]{ + OutputState: o.OutputState, + } +} + // Tables in the schema. func (o OracleSchemaOutput) OracleTables() OracleTableArrayOutput { return o.ApplyT(func(v OracleSchema) []OracleTable { return v.OracleTables }).(OracleTableArrayOutput) @@ -4170,6 +4813,12 @@ func (o OracleSchemaArrayOutput) ToOracleSchemaArrayOutputWithContext(ctx contex return o } +func (o OracleSchemaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleSchema] { + return pulumix.Output[[]OracleSchema]{ + OutputState: o.OutputState, + } +} + func (o OracleSchemaArrayOutput) Index(i pulumi.IntInput) OracleSchemaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleSchema { return vs[0].([]OracleSchema)[vs[1].(int)] @@ -4199,6 +4848,12 @@ func (o OracleSchemaResponseOutput) ToOracleSchemaResponseOutputWithContext(ctx return o } +func (o OracleSchemaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleSchemaResponse] { + return pulumix.Output[OracleSchemaResponse]{ + OutputState: o.OutputState, + } +} + // Tables in the schema. func (o OracleSchemaResponseOutput) OracleTables() OracleTableResponseArrayOutput { return o.ApplyT(func(v OracleSchemaResponse) []OracleTableResponse { return v.OracleTables }).(OracleTableResponseArrayOutput) @@ -4223,6 +4878,12 @@ func (o OracleSchemaResponseArrayOutput) ToOracleSchemaResponseArrayOutputWithCo return o } +func (o OracleSchemaResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleSchemaResponse] { + return pulumix.Output[[]OracleSchemaResponse]{ + OutputState: o.OutputState, + } +} + func (o OracleSchemaResponseArrayOutput) Index(i pulumi.IntInput) OracleSchemaResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleSchemaResponse { return vs[0].([]OracleSchemaResponse)[vs[1].(int)] @@ -4272,6 +4933,12 @@ func (i OracleSourceConfigArgs) ToOracleSourceConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(OracleSourceConfigOutput) } +func (i OracleSourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[OracleSourceConfig] { + return pulumix.Output[OracleSourceConfig]{ + OutputState: i.ToOracleSourceConfigOutputWithContext(ctx).OutputState, + } +} + func (i OracleSourceConfigArgs) ToOracleSourceConfigPtrOutput() OracleSourceConfigPtrOutput { return i.ToOracleSourceConfigPtrOutputWithContext(context.Background()) } @@ -4313,6 +4980,12 @@ func (i *oracleSourceConfigPtrType) ToOracleSourceConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(OracleSourceConfigPtrOutput) } +func (i *oracleSourceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*OracleSourceConfig] { + return pulumix.Output[*OracleSourceConfig]{ + OutputState: i.ToOracleSourceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Oracle data source configuration type OracleSourceConfigOutput struct{ *pulumi.OutputState } @@ -4338,6 +5011,12 @@ func (o OracleSourceConfigOutput) ToOracleSourceConfigPtrOutputWithContext(ctx c }).(OracleSourceConfigPtrOutput) } +func (o OracleSourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[OracleSourceConfig] { + return pulumix.Output[OracleSourceConfig]{ + OutputState: o.OutputState, + } +} + // Oracle objects to include in the stream. func (o OracleSourceConfigOutput) Allowlist() OracleRdbmsPtrOutput { return o.ApplyT(func(v OracleSourceConfig) *OracleRdbms { return v.Allowlist }).(OracleRdbmsPtrOutput) @@ -4367,6 +5046,12 @@ func (o OracleSourceConfigPtrOutput) ToOracleSourceConfigPtrOutputWithContext(ct return o } +func (o OracleSourceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OracleSourceConfig] { + return pulumix.Output[*OracleSourceConfig]{ + OutputState: o.OutputState, + } +} + func (o OracleSourceConfigPtrOutput) Elem() OracleSourceConfigOutput { return o.ApplyT(func(v *OracleSourceConfig) OracleSourceConfig { if v != nil { @@ -4432,6 +5117,12 @@ func (o OracleSourceConfigResponseOutput) ToOracleSourceConfigResponseOutputWith return o } +func (o OracleSourceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleSourceConfigResponse] { + return pulumix.Output[OracleSourceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Oracle objects to include in the stream. func (o OracleSourceConfigResponseOutput) Allowlist() OracleRdbmsResponseOutput { return o.ApplyT(func(v OracleSourceConfigResponse) OracleRdbmsResponse { return v.Allowlist }).(OracleRdbmsResponseOutput) @@ -4486,6 +5177,12 @@ func (i OracleTableArgs) ToOracleTableOutputWithContext(ctx context.Context) Ora return pulumi.ToOutputWithContext(ctx, i).(OracleTableOutput) } +func (i OracleTableArgs) ToOutput(ctx context.Context) pulumix.Output[OracleTable] { + return pulumix.Output[OracleTable]{ + OutputState: i.ToOracleTableOutputWithContext(ctx).OutputState, + } +} + // OracleTableArrayInput is an input type that accepts OracleTableArray and OracleTableArrayOutput values. // You can construct a concrete instance of `OracleTableArrayInput` via: // @@ -4511,6 +5208,12 @@ func (i OracleTableArray) ToOracleTableArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(OracleTableArrayOutput) } +func (i OracleTableArray) ToOutput(ctx context.Context) pulumix.Output[[]OracleTable] { + return pulumix.Output[[]OracleTable]{ + OutputState: i.ToOracleTableArrayOutputWithContext(ctx).OutputState, + } +} + // Oracle table. type OracleTableOutput struct{ *pulumi.OutputState } @@ -4526,6 +5229,12 @@ func (o OracleTableOutput) ToOracleTableOutputWithContext(ctx context.Context) O return o } +func (o OracleTableOutput) ToOutput(ctx context.Context) pulumix.Output[OracleTable] { + return pulumix.Output[OracleTable]{ + OutputState: o.OutputState, + } +} + // Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything. func (o OracleTableOutput) OracleColumns() OracleColumnArrayOutput { return o.ApplyT(func(v OracleTable) []OracleColumn { return v.OracleColumns }).(OracleColumnArrayOutput) @@ -4550,6 +5259,12 @@ func (o OracleTableArrayOutput) ToOracleTableArrayOutputWithContext(ctx context. return o } +func (o OracleTableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleTable] { + return pulumix.Output[[]OracleTable]{ + OutputState: o.OutputState, + } +} + func (o OracleTableArrayOutput) Index(i pulumi.IntInput) OracleTableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleTable { return vs[0].([]OracleTable)[vs[1].(int)] @@ -4579,6 +5294,12 @@ func (o OracleTableResponseOutput) ToOracleTableResponseOutputWithContext(ctx co return o } +func (o OracleTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OracleTableResponse] { + return pulumix.Output[OracleTableResponse]{ + OutputState: o.OutputState, + } +} + // Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything. func (o OracleTableResponseOutput) OracleColumns() OracleColumnResponseArrayOutput { return o.ApplyT(func(v OracleTableResponse) []OracleColumnResponse { return v.OracleColumns }).(OracleColumnResponseArrayOutput) @@ -4603,6 +5324,12 @@ func (o OracleTableResponseArrayOutput) ToOracleTableResponseArrayOutputWithCont return o } +func (o OracleTableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OracleTableResponse] { + return pulumix.Output[[]OracleTableResponse]{ + OutputState: o.OutputState, + } +} + func (o OracleTableResponseArrayOutput) Index(i pulumi.IntInput) OracleTableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OracleTableResponse { return vs[0].([]OracleTableResponse)[vs[1].(int)] @@ -4642,6 +5369,12 @@ func (i PrivateConnectivityArgs) ToPrivateConnectivityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectivityOutput) } +func (i PrivateConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateConnectivity] { + return pulumix.Output[PrivateConnectivity]{ + OutputState: i.ToPrivateConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i PrivateConnectivityArgs) ToPrivateConnectivityPtrOutput() PrivateConnectivityPtrOutput { return i.ToPrivateConnectivityPtrOutputWithContext(context.Background()) } @@ -4683,6 +5416,12 @@ func (i *privateConnectivityPtrType) ToPrivateConnectivityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(PrivateConnectivityPtrOutput) } +func (i *privateConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectivity] { + return pulumix.Output[*PrivateConnectivity]{ + OutputState: i.ToPrivateConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // Private Connectivity type PrivateConnectivityOutput struct{ *pulumi.OutputState } @@ -4708,6 +5447,12 @@ func (o PrivateConnectivityOutput) ToPrivateConnectivityPtrOutputWithContext(ctx }).(PrivateConnectivityPtrOutput) } +func (o PrivateConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateConnectivity] { + return pulumix.Output[PrivateConnectivity]{ + OutputState: o.OutputState, + } +} + func (o PrivateConnectivityOutput) PrivateConnectionName() pulumi.StringPtrOutput { return o.ApplyT(func(v PrivateConnectivity) *string { return v.PrivateConnectionName }).(pulumi.StringPtrOutput) } @@ -4726,6 +5471,12 @@ func (o PrivateConnectivityPtrOutput) ToPrivateConnectivityPtrOutputWithContext( return o } +func (o PrivateConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateConnectivity] { + return pulumix.Output[*PrivateConnectivity]{ + OutputState: o.OutputState, + } +} + func (o PrivateConnectivityPtrOutput) Elem() PrivateConnectivityOutput { return o.ApplyT(func(v *PrivateConnectivity) PrivateConnectivity { if v != nil { @@ -4765,6 +5516,12 @@ func (o PrivateConnectivityResponseOutput) ToPrivateConnectivityResponseOutputWi return o } +func (o PrivateConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateConnectivityResponse] { + return pulumix.Output[PrivateConnectivityResponse]{ + OutputState: o.OutputState, + } +} + func (o PrivateConnectivityResponseOutput) PrivateConnectionName() pulumi.StringOutput { return o.ApplyT(func(v PrivateConnectivityResponse) string { return v.PrivateConnectionName }).(pulumi.StringOutput) } @@ -4812,6 +5569,12 @@ func (i SourceConfigArgs) ToSourceConfigOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SourceConfigOutput) } +func (i SourceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SourceConfig] { + return pulumix.Output[SourceConfig]{ + OutputState: i.ToSourceConfigOutputWithContext(ctx).OutputState, + } +} + // The configuration of the stream source. type SourceConfigOutput struct{ *pulumi.OutputState } @@ -4827,6 +5590,12 @@ func (o SourceConfigOutput) ToSourceConfigOutputWithContext(ctx context.Context) return o } +func (o SourceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SourceConfig] { + return pulumix.Output[SourceConfig]{ + OutputState: o.OutputState, + } +} + // MySQL data source configuration func (o SourceConfigOutput) MysqlSourceConfig() MysqlSourceConfigPtrOutput { return o.ApplyT(func(v SourceConfig) *MysqlSourceConfig { return v.MysqlSourceConfig }).(MysqlSourceConfigPtrOutput) @@ -4867,6 +5636,12 @@ func (o SourceConfigResponseOutput) ToSourceConfigResponseOutputWithContext(ctx return o } +func (o SourceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceConfigResponse] { + return pulumix.Output[SourceConfigResponse]{ + OutputState: o.OutputState, + } +} + // MySQL data source configuration func (o SourceConfigResponseOutput) MysqlSourceConfig() MysqlSourceConfigResponseOutput { return o.ApplyT(func(v SourceConfigResponse) MysqlSourceConfigResponse { return v.MysqlSourceConfig }).(MysqlSourceConfigResponseOutput) @@ -4913,6 +5688,12 @@ func (i StaticServiceIpConnectivityArgs) ToStaticServiceIpConnectivityOutputWith return pulumi.ToOutputWithContext(ctx, i).(StaticServiceIpConnectivityOutput) } +func (i StaticServiceIpConnectivityArgs) ToOutput(ctx context.Context) pulumix.Output[StaticServiceIpConnectivity] { + return pulumix.Output[StaticServiceIpConnectivity]{ + OutputState: i.ToStaticServiceIpConnectivityOutputWithContext(ctx).OutputState, + } +} + func (i StaticServiceIpConnectivityArgs) ToStaticServiceIpConnectivityPtrOutput() StaticServiceIpConnectivityPtrOutput { return i.ToStaticServiceIpConnectivityPtrOutputWithContext(context.Background()) } @@ -4954,6 +5735,12 @@ func (i *staticServiceIpConnectivityPtrType) ToStaticServiceIpConnectivityPtrOut return pulumi.ToOutputWithContext(ctx, i).(StaticServiceIpConnectivityPtrOutput) } +func (i *staticServiceIpConnectivityPtrType) ToOutput(ctx context.Context) pulumix.Output[*StaticServiceIpConnectivity] { + return pulumix.Output[*StaticServiceIpConnectivity]{ + OutputState: i.ToStaticServiceIpConnectivityPtrOutputWithContext(ctx).OutputState, + } +} + // Static IP address connectivity. type StaticServiceIpConnectivityOutput struct{ *pulumi.OutputState } @@ -4979,6 +5766,12 @@ func (o StaticServiceIpConnectivityOutput) ToStaticServiceIpConnectivityPtrOutpu }).(StaticServiceIpConnectivityPtrOutput) } +func (o StaticServiceIpConnectivityOutput) ToOutput(ctx context.Context) pulumix.Output[StaticServiceIpConnectivity] { + return pulumix.Output[StaticServiceIpConnectivity]{ + OutputState: o.OutputState, + } +} + type StaticServiceIpConnectivityPtrOutput struct{ *pulumi.OutputState } func (StaticServiceIpConnectivityPtrOutput) ElementType() reflect.Type { @@ -4993,6 +5786,12 @@ func (o StaticServiceIpConnectivityPtrOutput) ToStaticServiceIpConnectivityPtrOu return o } +func (o StaticServiceIpConnectivityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StaticServiceIpConnectivity] { + return pulumix.Output[*StaticServiceIpConnectivity]{ + OutputState: o.OutputState, + } +} + func (o StaticServiceIpConnectivityPtrOutput) Elem() StaticServiceIpConnectivityOutput { return o.ApplyT(func(v *StaticServiceIpConnectivity) StaticServiceIpConnectivity { if v != nil { @@ -5022,6 +5821,12 @@ func (o StaticServiceIpConnectivityResponseOutput) ToStaticServiceIpConnectivity return o } +func (o StaticServiceIpConnectivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StaticServiceIpConnectivityResponse] { + return pulumix.Output[StaticServiceIpConnectivityResponse]{ + OutputState: o.OutputState, + } +} + // The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC. type VpcPeeringConfig struct { // A free subnet for peering. (CIDR of /29) @@ -5061,6 +5866,12 @@ func (i VpcPeeringConfigArgs) ToVpcPeeringConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(VpcPeeringConfigOutput) } +func (i VpcPeeringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConfig] { + return pulumix.Output[VpcPeeringConfig]{ + OutputState: i.ToVpcPeeringConfigOutputWithContext(ctx).OutputState, + } +} + func (i VpcPeeringConfigArgs) ToVpcPeeringConfigPtrOutput() VpcPeeringConfigPtrOutput { return i.ToVpcPeeringConfigPtrOutputWithContext(context.Background()) } @@ -5102,6 +5913,12 @@ func (i *vpcPeeringConfigPtrType) ToVpcPeeringConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(VpcPeeringConfigPtrOutput) } +func (i *vpcPeeringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VpcPeeringConfig] { + return pulumix.Output[*VpcPeeringConfig]{ + OutputState: i.ToVpcPeeringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC. type VpcPeeringConfigOutput struct{ *pulumi.OutputState } @@ -5127,6 +5944,12 @@ func (o VpcPeeringConfigOutput) ToVpcPeeringConfigPtrOutputWithContext(ctx conte }).(VpcPeeringConfigPtrOutput) } +func (o VpcPeeringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConfig] { + return pulumix.Output[VpcPeeringConfig]{ + OutputState: o.OutputState, + } +} + // A free subnet for peering. (CIDR of /29) func (o VpcPeeringConfigOutput) Subnet() pulumi.StringOutput { return o.ApplyT(func(v VpcPeeringConfig) string { return v.Subnet }).(pulumi.StringOutput) @@ -5151,6 +5974,12 @@ func (o VpcPeeringConfigPtrOutput) ToVpcPeeringConfigPtrOutputWithContext(ctx co return o } +func (o VpcPeeringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VpcPeeringConfig] { + return pulumix.Output[*VpcPeeringConfig]{ + OutputState: o.OutputState, + } +} + func (o VpcPeeringConfigPtrOutput) Elem() VpcPeeringConfigOutput { return o.ApplyT(func(v *VpcPeeringConfig) VpcPeeringConfig { if v != nil { @@ -5204,6 +6033,12 @@ func (o VpcPeeringConfigResponseOutput) ToVpcPeeringConfigResponseOutputWithCont return o } +func (o VpcPeeringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcPeeringConfigResponse] { + return pulumix.Output[VpcPeeringConfigResponse]{ + OutputState: o.OutputState, + } +} + // A free subnet for peering. (CIDR of /29) func (o VpcPeeringConfigResponseOutput) Subnet() pulumi.StringOutput { return o.ApplyT(func(v VpcPeeringConfigResponse) string { return v.Subnet }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1alpha1/route.go b/sdk/go/google/datastream/v1alpha1/route.go index c6d3f26b06..6f9a5a62e9 100644 --- a/sdk/go/google/datastream/v1alpha1/route.go +++ b/sdk/go/google/datastream/v1alpha1/route.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to create a route for a private connectivity in a project and location. @@ -158,6 +159,12 @@ func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput { return pulumi.ToOutputWithContext(ctx, i).(RouteOutput) } +func (i *Route) ToOutput(ctx context.Context) pulumix.Output[*Route] { + return pulumix.Output[*Route]{ + OutputState: i.ToRouteOutputWithContext(ctx).OutputState, + } +} + type RouteOutput struct{ *pulumi.OutputState } func (RouteOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput { return o } +func (o RouteOutput) ToOutput(ctx context.Context) pulumix.Output[*Route] { + return pulumix.Output[*Route]{ + OutputState: o.OutputState, + } +} + // The create time of the resource. func (o RouteOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/datastream/v1alpha1/stream.go b/sdk/go/google/datastream/v1alpha1/stream.go index a7273b84de..be0295c8e0 100644 --- a/sdk/go/google/datastream/v1alpha1/stream.go +++ b/sdk/go/google/datastream/v1alpha1/stream.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Use this method to create a stream. @@ -186,6 +187,12 @@ func (i *Stream) ToStreamOutputWithContext(ctx context.Context) StreamOutput { return pulumi.ToOutputWithContext(ctx, i).(StreamOutput) } +func (i *Stream) ToOutput(ctx context.Context) pulumix.Output[*Stream] { + return pulumix.Output[*Stream]{ + OutputState: i.ToStreamOutputWithContext(ctx).OutputState, + } +} + type StreamOutput struct{ *pulumi.OutputState } func (StreamOutput) ElementType() reflect.Type { @@ -200,6 +207,12 @@ func (o StreamOutput) ToStreamOutputWithContext(ctx context.Context) StreamOutpu return o } +func (o StreamOutput) ToOutput(ctx context.Context) pulumix.Output[*Stream] { + return pulumix.Output[*Stream]{ + OutputState: o.OutputState, + } +} + // Automatically backfill objects included in the stream source configuration. Specific objects can be excluded. func (o StreamOutput) BackfillAll() BackfillAllStrategyResponseOutput { return o.ApplyT(func(v *Stream) BackfillAllStrategyResponseOutput { return v.BackfillAll }).(BackfillAllStrategyResponseOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/compositeType.go b/sdk/go/google/deploymentmanager/alpha/compositeType.go index dc56ea3f24..7dcd421a90 100644 --- a/sdk/go/google/deploymentmanager/alpha/compositeType.go +++ b/sdk/go/google/deploymentmanager/alpha/compositeType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a composite type. @@ -126,6 +127,12 @@ func (i *CompositeType) ToCompositeTypeOutputWithContext(ctx context.Context) Co return pulumi.ToOutputWithContext(ctx, i).(CompositeTypeOutput) } +func (i *CompositeType) ToOutput(ctx context.Context) pulumix.Output[*CompositeType] { + return pulumix.Output[*CompositeType]{ + OutputState: i.ToCompositeTypeOutputWithContext(ctx).OutputState, + } +} + type CompositeTypeOutput struct{ *pulumi.OutputState } func (CompositeTypeOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o CompositeTypeOutput) ToCompositeTypeOutputWithContext(ctx context.Contex return o } +func (o CompositeTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*CompositeType] { + return pulumix.Output[*CompositeType]{ + OutputState: o.OutputState, + } +} + // An optional textual description of the resource; provided by the client when the resource is created. func (o CompositeTypeOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *CompositeType) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/deployment.go b/sdk/go/google/deploymentmanager/alpha/deployment.go index 724c130370..758e9c7e75 100644 --- a/sdk/go/google/deploymentmanager/alpha/deployment.go +++ b/sdk/go/google/deploymentmanager/alpha/deployment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a deployment and all of the resources described by the deployment manifest. @@ -153,6 +154,12 @@ func (i *Deployment) ToDeploymentOutputWithContext(ctx context.Context) Deployme return pulumi.ToOutputWithContext(ctx, i).(DeploymentOutput) } +func (i *Deployment) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: i.ToDeploymentOutputWithContext(ctx).OutputState, + } +} + type DeploymentOutput struct{ *pulumi.OutputState } func (DeploymentOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) Dep return o } +func (o DeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: o.OutputState, + } +} + // Sets the policy to use for creating new resources. func (o DeploymentOutput) CreatePolicy() pulumi.StringPtrOutput { return o.ApplyT(func(v *Deployment) pulumi.StringPtrOutput { return v.CreatePolicy }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/deploymentIamBinding.go b/sdk/go/google/deploymentmanager/alpha/deploymentIamBinding.go index 226a6c1e71..2564becfa1 100644 --- a/sdk/go/google/deploymentmanager/alpha/deploymentIamBinding.go +++ b/sdk/go/google/deploymentmanager/alpha/deploymentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DeploymentIamBinding) ToDeploymentIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DeploymentIamBindingOutput) } +func (i *DeploymentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamBinding] { + return pulumix.Output[*DeploymentIamBinding]{ + OutputState: i.ToDeploymentIamBindingOutputWithContext(ctx).OutputState, + } +} + type DeploymentIamBindingOutput struct{ *pulumi.OutputState } func (DeploymentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DeploymentIamBindingOutput) ToDeploymentIamBindingOutputWithContext(ctx return o } +func (o DeploymentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamBinding] { + return pulumix.Output[*DeploymentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DeploymentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DeploymentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/deploymentIamMember.go b/sdk/go/google/deploymentmanager/alpha/deploymentIamMember.go index 17d1935e69..7c2537f5df 100644 --- a/sdk/go/google/deploymentmanager/alpha/deploymentIamMember.go +++ b/sdk/go/google/deploymentmanager/alpha/deploymentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DeploymentIamMember) ToDeploymentIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DeploymentIamMemberOutput) } +func (i *DeploymentIamMember) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamMember] { + return pulumix.Output[*DeploymentIamMember]{ + OutputState: i.ToDeploymentIamMemberOutputWithContext(ctx).OutputState, + } +} + type DeploymentIamMemberOutput struct{ *pulumi.OutputState } func (DeploymentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DeploymentIamMemberOutput) ToDeploymentIamMemberOutputWithContext(ctx co return o } +func (o DeploymentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamMember] { + return pulumix.Output[*DeploymentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DeploymentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DeploymentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/deploymentIamPolicy.go b/sdk/go/google/deploymentmanager/alpha/deploymentIamPolicy.go index a4058ef772..3b86c7140d 100644 --- a/sdk/go/google/deploymentmanager/alpha/deploymentIamPolicy.go +++ b/sdk/go/google/deploymentmanager/alpha/deploymentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -127,6 +128,12 @@ func (i *DeploymentIamPolicy) ToDeploymentIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DeploymentIamPolicyOutput) } +func (i *DeploymentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamPolicy] { + return pulumix.Output[*DeploymentIamPolicy]{ + OutputState: i.ToDeploymentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DeploymentIamPolicyOutput struct{ *pulumi.OutputState } func (DeploymentIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o DeploymentIamPolicyOutput) ToDeploymentIamPolicyOutputWithContext(ctx co return o } +func (o DeploymentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamPolicy] { + return pulumix.Output[*DeploymentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DeploymentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DeploymentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/getCompositeType.go b/sdk/go/google/deploymentmanager/alpha/getCompositeType.go index b1162d616e..06eb975a98 100644 --- a/sdk/go/google/deploymentmanager/alpha/getCompositeType.go +++ b/sdk/go/google/deploymentmanager/alpha/getCompositeType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a specific composite type. @@ -81,6 +82,12 @@ func (o LookupCompositeTypeResultOutput) ToLookupCompositeTypeResultOutputWithCo return o } +func (o LookupCompositeTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCompositeTypeResult] { + return pulumix.Output[LookupCompositeTypeResult]{ + OutputState: o.OutputState, + } +} + // An optional textual description of the resource; provided by the client when the resource is created. func (o LookupCompositeTypeResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupCompositeTypeResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/getDeployment.go b/sdk/go/google/deploymentmanager/alpha/getDeployment.go index 3393769bd3..91b2978ceb 100644 --- a/sdk/go/google/deploymentmanager/alpha/getDeployment.go +++ b/sdk/go/google/deploymentmanager/alpha/getDeployment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a specific deployment. @@ -92,6 +93,12 @@ func (o LookupDeploymentResultOutput) ToLookupDeploymentResultOutputWithContext( return o } +func (o LookupDeploymentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeploymentResult] { + return pulumix.Output[LookupDeploymentResult]{ + OutputState: o.OutputState, + } +} + // User provided default credential for the deployment. func (o LookupDeploymentResultOutput) Credential() CredentialResponseOutput { return o.ApplyT(func(v LookupDeploymentResult) CredentialResponse { return v.Credential }).(CredentialResponseOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/getDeploymentIamPolicy.go b/sdk/go/google/deploymentmanager/alpha/getDeploymentIamPolicy.go index b3db9f5b19..a65846e0cf 100644 --- a/sdk/go/google/deploymentmanager/alpha/getDeploymentIamPolicy.go +++ b/sdk/go/google/deploymentmanager/alpha/getDeploymentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -76,6 +77,12 @@ func (o LookupDeploymentIamPolicyResultOutput) ToLookupDeploymentIamPolicyResult return o } +func (o LookupDeploymentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeploymentIamPolicyResult] { + return pulumix.Output[LookupDeploymentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDeploymentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDeploymentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/getTypeProvider.go b/sdk/go/google/deploymentmanager/alpha/getTypeProvider.go index 3c69746ed3..8a731beb39 100644 --- a/sdk/go/google/deploymentmanager/alpha/getTypeProvider.go +++ b/sdk/go/google/deploymentmanager/alpha/getTypeProvider.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a specific type provider. @@ -88,6 +89,12 @@ func (o LookupTypeProviderResultOutput) ToLookupTypeProviderResultOutputWithCont return o } +func (o LookupTypeProviderResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTypeProviderResult] { + return pulumix.Output[LookupTypeProviderResult]{ + OutputState: o.OutputState, + } +} + // Allows resource handling overrides for specific collections func (o LookupTypeProviderResultOutput) CollectionOverrides() CollectionOverrideResponseArrayOutput { return o.ApplyT(func(v LookupTypeProviderResult) []CollectionOverrideResponse { return v.CollectionOverrides }).(CollectionOverrideResponseArrayOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/pulumiEnums.go b/sdk/go/google/deploymentmanager/alpha/pulumiEnums.go index da1d67f3b4..625a99a5ab 100644 --- a/sdk/go/google/deploymentmanager/alpha/pulumiEnums.go +++ b/sdk/go/google/deploymentmanager/alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + type CompositeTypeStatus string const ( @@ -263,6 +282,12 @@ func (o DiagnosticLevelOutput) ToDiagnosticLevelPtrOutputWithContext(ctx context }).(DiagnosticLevelPtrOutput) } +func (o DiagnosticLevelOutput) ToOutput(ctx context.Context) pulumix.Output[DiagnosticLevel] { + return pulumix.Output[DiagnosticLevel]{ + OutputState: o.OutputState, + } +} + func (o DiagnosticLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -298,6 +323,12 @@ func (o DiagnosticLevelPtrOutput) ToDiagnosticLevelPtrOutputWithContext(ctx cont return o } +func (o DiagnosticLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiagnosticLevel] { + return pulumix.Output[*DiagnosticLevel]{ + OutputState: o.OutputState, + } +} + func (o DiagnosticLevelPtrOutput) Elem() DiagnosticLevelOutput { return o.ApplyT(func(v *DiagnosticLevel) DiagnosticLevel { if v != nil { @@ -360,6 +391,12 @@ func (in *diagnosticLevelPtr) ToDiagnosticLevelPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(DiagnosticLevelPtrOutput) } +func (in *diagnosticLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*DiagnosticLevel] { + return pulumix.Output[*DiagnosticLevel]{ + OutputState: in.ToDiagnosticLevelPtrOutputWithContext(ctx).OutputState, + } +} + // The location where this mapping applies. type InputMappingLocation string @@ -431,6 +468,12 @@ func (o InputMappingLocationOutput) ToInputMappingLocationPtrOutputWithContext(c }).(InputMappingLocationPtrOutput) } +func (o InputMappingLocationOutput) ToOutput(ctx context.Context) pulumix.Output[InputMappingLocation] { + return pulumix.Output[InputMappingLocation]{ + OutputState: o.OutputState, + } +} + func (o InputMappingLocationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -466,6 +509,12 @@ func (o InputMappingLocationPtrOutput) ToInputMappingLocationPtrOutputWithContex return o } +func (o InputMappingLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InputMappingLocation] { + return pulumix.Output[*InputMappingLocation]{ + OutputState: o.OutputState, + } +} + func (o InputMappingLocationPtrOutput) Elem() InputMappingLocationOutput { return o.ApplyT(func(v *InputMappingLocation) InputMappingLocation { if v != nil { @@ -528,6 +577,12 @@ func (in *inputMappingLocationPtr) ToInputMappingLocationPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InputMappingLocationPtrOutput) } +func (in *inputMappingLocationPtr) ToOutput(ctx context.Context) pulumix.Output[*InputMappingLocation] { + return pulumix.Output[*InputMappingLocation]{ + OutputState: in.ToInputMappingLocationPtrOutputWithContext(ctx).OutputState, + } +} + // Which interpreter (python or jinja) should be used during expansion. type TemplateContentsInterpreter string @@ -597,6 +652,12 @@ func (o TemplateContentsInterpreterOutput) ToTemplateContentsInterpreterPtrOutpu }).(TemplateContentsInterpreterPtrOutput) } +func (o TemplateContentsInterpreterOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateContentsInterpreter] { + return pulumix.Output[TemplateContentsInterpreter]{ + OutputState: o.OutputState, + } +} + func (o TemplateContentsInterpreterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -632,6 +693,12 @@ func (o TemplateContentsInterpreterPtrOutput) ToTemplateContentsInterpreterPtrOu return o } +func (o TemplateContentsInterpreterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TemplateContentsInterpreter] { + return pulumix.Output[*TemplateContentsInterpreter]{ + OutputState: o.OutputState, + } +} + func (o TemplateContentsInterpreterPtrOutput) Elem() TemplateContentsInterpreterOutput { return o.ApplyT(func(v *TemplateContentsInterpreter) TemplateContentsInterpreter { if v != nil { @@ -694,6 +761,12 @@ func (in *templateContentsInterpreterPtr) ToTemplateContentsInterpreterPtrOutput return pulumi.ToOutputWithContext(ctx, in).(TemplateContentsInterpreterPtrOutput) } +func (in *templateContentsInterpreterPtr) ToOutput(ctx context.Context) pulumix.Output[*TemplateContentsInterpreter] { + return pulumix.Output[*TemplateContentsInterpreter]{ + OutputState: in.ToTemplateContentsInterpreterPtrOutputWithContext(ctx).OutputState, + } +} + // Customize how deployment manager will validate the resource against schema errors. type ValidationOptionsSchemaValidation string @@ -767,6 +840,12 @@ func (o ValidationOptionsSchemaValidationOutput) ToValidationOptionsSchemaValida }).(ValidationOptionsSchemaValidationPtrOutput) } +func (o ValidationOptionsSchemaValidationOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationOptionsSchemaValidation] { + return pulumix.Output[ValidationOptionsSchemaValidation]{ + OutputState: o.OutputState, + } +} + func (o ValidationOptionsSchemaValidationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -802,6 +881,12 @@ func (o ValidationOptionsSchemaValidationPtrOutput) ToValidationOptionsSchemaVal return o } +func (o ValidationOptionsSchemaValidationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptionsSchemaValidation] { + return pulumix.Output[*ValidationOptionsSchemaValidation]{ + OutputState: o.OutputState, + } +} + func (o ValidationOptionsSchemaValidationPtrOutput) Elem() ValidationOptionsSchemaValidationOutput { return o.ApplyT(func(v *ValidationOptionsSchemaValidation) ValidationOptionsSchemaValidation { if v != nil { @@ -864,6 +949,12 @@ func (in *validationOptionsSchemaValidationPtr) ToValidationOptionsSchemaValidat return pulumi.ToOutputWithContext(ctx, in).(ValidationOptionsSchemaValidationPtrOutput) } +func (in *validationOptionsSchemaValidationPtr) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptionsSchemaValidation] { + return pulumix.Output[*ValidationOptionsSchemaValidation]{ + OutputState: in.ToValidationOptionsSchemaValidationPtrOutputWithContext(ctx).OutputState, + } +} + // Specify what to do with extra properties when executing a request. type ValidationOptionsUndeclaredProperties string @@ -941,6 +1032,12 @@ func (o ValidationOptionsUndeclaredPropertiesOutput) ToValidationOptionsUndeclar }).(ValidationOptionsUndeclaredPropertiesPtrOutput) } +func (o ValidationOptionsUndeclaredPropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationOptionsUndeclaredProperties] { + return pulumix.Output[ValidationOptionsUndeclaredProperties]{ + OutputState: o.OutputState, + } +} + func (o ValidationOptionsUndeclaredPropertiesOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -976,6 +1073,12 @@ func (o ValidationOptionsUndeclaredPropertiesPtrOutput) ToValidationOptionsUndec return o } +func (o ValidationOptionsUndeclaredPropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptionsUndeclaredProperties] { + return pulumix.Output[*ValidationOptionsUndeclaredProperties]{ + OutputState: o.OutputState, + } +} + func (o ValidationOptionsUndeclaredPropertiesPtrOutput) Elem() ValidationOptionsUndeclaredPropertiesOutput { return o.ApplyT(func(v *ValidationOptionsUndeclaredProperties) ValidationOptionsUndeclaredProperties { if v != nil { @@ -1038,6 +1141,12 @@ func (in *validationOptionsUndeclaredPropertiesPtr) ToValidationOptionsUndeclare return pulumi.ToOutputWithContext(ctx, in).(ValidationOptionsUndeclaredPropertiesPtrOutput) } +func (in *validationOptionsUndeclaredPropertiesPtr) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptionsUndeclaredProperties] { + return pulumix.Output[*ValidationOptionsUndeclaredProperties]{ + OutputState: in.ToValidationOptionsUndeclaredPropertiesPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/deploymentmanager/alpha/pulumiTypes.go b/sdk/go/google/deploymentmanager/alpha/pulumiTypes.go index e8998ad9cf..230d5cf0df 100644 --- a/sdk/go/google/deploymentmanager/alpha/pulumiTypes.go +++ b/sdk/go/google/deploymentmanager/alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AsyncOptionsArgs) ToAsyncOptionsOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AsyncOptionsOutput) } +func (i AsyncOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[AsyncOptions] { + return pulumix.Output[AsyncOptions]{ + OutputState: i.ToAsyncOptionsOutputWithContext(ctx).OutputState, + } +} + // AsyncOptionsArrayInput is an input type that accepts AsyncOptionsArray and AsyncOptionsArrayOutput values. // You can construct a concrete instance of `AsyncOptionsArrayInput` via: // @@ -77,6 +84,12 @@ func (i AsyncOptionsArray) ToAsyncOptionsArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AsyncOptionsArrayOutput) } +func (i AsyncOptionsArray) ToOutput(ctx context.Context) pulumix.Output[[]AsyncOptions] { + return pulumix.Output[[]AsyncOptions]{ + OutputState: i.ToAsyncOptionsArrayOutputWithContext(ctx).OutputState, + } +} + // Async options that determine when a resource should finish. type AsyncOptionsOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AsyncOptionsOutput) ToAsyncOptionsOutputWithContext(ctx context.Context) return o } +func (o AsyncOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[AsyncOptions] { + return pulumix.Output[AsyncOptions]{ + OutputState: o.OutputState, + } +} + // Method regex where this policy will apply. func (o AsyncOptionsOutput) MethodMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v AsyncOptions) *string { return v.MethodMatch }).(pulumi.StringPtrOutput) @@ -116,6 +135,12 @@ func (o AsyncOptionsArrayOutput) ToAsyncOptionsArrayOutputWithContext(ctx contex return o } +func (o AsyncOptionsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AsyncOptions] { + return pulumix.Output[[]AsyncOptions]{ + OutputState: o.OutputState, + } +} + func (o AsyncOptionsArrayOutput) Index(i pulumi.IntInput) AsyncOptionsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AsyncOptions { return vs[0].([]AsyncOptions)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AsyncOptionsResponseOutput) ToAsyncOptionsResponseOutputWithContext(ctx return o } +func (o AsyncOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AsyncOptionsResponse] { + return pulumix.Output[AsyncOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Method regex where this policy will apply. func (o AsyncOptionsResponseOutput) MethodMatch() pulumi.StringOutput { return o.ApplyT(func(v AsyncOptionsResponse) string { return v.MethodMatch }).(pulumi.StringOutput) @@ -169,6 +200,12 @@ func (o AsyncOptionsResponseArrayOutput) ToAsyncOptionsResponseArrayOutputWithCo return o } +func (o AsyncOptionsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AsyncOptionsResponse] { + return pulumix.Output[[]AsyncOptionsResponse]{ + OutputState: o.OutputState, + } +} + func (o AsyncOptionsResponseArrayOutput) Index(i pulumi.IntInput) AsyncOptionsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AsyncOptionsResponse { return vs[0].([]AsyncOptionsResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -278,6 +333,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -331,6 +398,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -376,6 +449,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -401,6 +480,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -416,6 +501,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -440,6 +531,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -469,6 +566,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -493,6 +596,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -534,6 +643,12 @@ func (i BasicAuthArgs) ToBasicAuthOutputWithContext(ctx context.Context) BasicAu return pulumi.ToOutputWithContext(ctx, i).(BasicAuthOutput) } +func (i BasicAuthArgs) ToOutput(ctx context.Context) pulumix.Output[BasicAuth] { + return pulumix.Output[BasicAuth]{ + OutputState: i.ToBasicAuthOutputWithContext(ctx).OutputState, + } +} + func (i BasicAuthArgs) ToBasicAuthPtrOutput() BasicAuthPtrOutput { return i.ToBasicAuthPtrOutputWithContext(context.Background()) } @@ -575,6 +690,12 @@ func (i *basicAuthPtrType) ToBasicAuthPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BasicAuthPtrOutput) } +func (i *basicAuthPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicAuth] { + return pulumix.Output[*BasicAuth]{ + OutputState: i.ToBasicAuthPtrOutputWithContext(ctx).OutputState, + } +} + // Basic Auth used as a credential. type BasicAuthOutput struct{ *pulumi.OutputState } @@ -600,6 +721,12 @@ func (o BasicAuthOutput) ToBasicAuthPtrOutputWithContext(ctx context.Context) Ba }).(BasicAuthPtrOutput) } +func (o BasicAuthOutput) ToOutput(ctx context.Context) pulumix.Output[BasicAuth] { + return pulumix.Output[BasicAuth]{ + OutputState: o.OutputState, + } +} + func (o BasicAuthOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v BasicAuth) *string { return v.Password }).(pulumi.StringPtrOutput) } @@ -622,6 +749,12 @@ func (o BasicAuthPtrOutput) ToBasicAuthPtrOutputWithContext(ctx context.Context) return o } +func (o BasicAuthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicAuth] { + return pulumix.Output[*BasicAuth]{ + OutputState: o.OutputState, + } +} + func (o BasicAuthPtrOutput) Elem() BasicAuthOutput { return o.ApplyT(func(v *BasicAuth) BasicAuth { if v != nil { @@ -671,6 +804,12 @@ func (o BasicAuthResponseOutput) ToBasicAuthResponseOutputWithContext(ctx contex return o } +func (o BasicAuthResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicAuthResponse] { + return pulumix.Output[BasicAuthResponse]{ + OutputState: o.OutputState, + } +} + func (o BasicAuthResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v BasicAuthResponse) string { return v.Password }).(pulumi.StringOutput) } @@ -722,6 +861,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -747,6 +892,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -762,6 +913,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -791,6 +948,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -822,6 +985,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -851,6 +1020,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -900,6 +1075,12 @@ func (i CollectionOverrideArgs) ToCollectionOverrideOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CollectionOverrideOutput) } +func (i CollectionOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[CollectionOverride] { + return pulumix.Output[CollectionOverride]{ + OutputState: i.ToCollectionOverrideOutputWithContext(ctx).OutputState, + } +} + // CollectionOverrideArrayInput is an input type that accepts CollectionOverrideArray and CollectionOverrideArrayOutput values. // You can construct a concrete instance of `CollectionOverrideArrayInput` via: // @@ -925,6 +1106,12 @@ func (i CollectionOverrideArray) ToCollectionOverrideArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CollectionOverrideArrayOutput) } +func (i CollectionOverrideArray) ToOutput(ctx context.Context) pulumix.Output[[]CollectionOverride] { + return pulumix.Output[[]CollectionOverride]{ + OutputState: i.ToCollectionOverrideArrayOutputWithContext(ctx).OutputState, + } +} + // CollectionOverride allows resource handling overrides for specific resources within a BaseType type CollectionOverrideOutput struct{ *pulumi.OutputState } @@ -940,6 +1127,12 @@ func (o CollectionOverrideOutput) ToCollectionOverrideOutputWithContext(ctx cont return o } +func (o CollectionOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[CollectionOverride] { + return pulumix.Output[CollectionOverride]{ + OutputState: o.OutputState, + } +} + // The collection that identifies this resource within its service. func (o CollectionOverrideOutput) Collection() pulumi.StringPtrOutput { return o.ApplyT(func(v CollectionOverride) *string { return v.Collection }).(pulumi.StringPtrOutput) @@ -969,6 +1162,12 @@ func (o CollectionOverrideArrayOutput) ToCollectionOverrideArrayOutputWithContex return o } +func (o CollectionOverrideArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CollectionOverride] { + return pulumix.Output[[]CollectionOverride]{ + OutputState: o.OutputState, + } +} + func (o CollectionOverrideArrayOutput) Index(i pulumi.IntInput) CollectionOverrideOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CollectionOverride { return vs[0].([]CollectionOverride)[vs[1].(int)] @@ -1000,6 +1199,12 @@ func (o CollectionOverrideResponseOutput) ToCollectionOverrideResponseOutputWith return o } +func (o CollectionOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CollectionOverrideResponse] { + return pulumix.Output[CollectionOverrideResponse]{ + OutputState: o.OutputState, + } +} + // The collection that identifies this resource within its service. func (o CollectionOverrideResponseOutput) Collection() pulumi.StringOutput { return o.ApplyT(func(v CollectionOverrideResponse) string { return v.Collection }).(pulumi.StringOutput) @@ -1029,6 +1234,12 @@ func (o CollectionOverrideResponseArrayOutput) ToCollectionOverrideResponseArray return o } +func (o CollectionOverrideResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CollectionOverrideResponse] { + return pulumix.Output[[]CollectionOverrideResponse]{ + OutputState: o.OutputState, + } +} + func (o CollectionOverrideResponseArrayOutput) Index(i pulumi.IntInput) CollectionOverrideResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CollectionOverrideResponse { return vs[0].([]CollectionOverrideResponse)[vs[1].(int)] @@ -1074,6 +1285,12 @@ func (i CompositeTypeLabelEntryArgs) ToCompositeTypeLabelEntryOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(CompositeTypeLabelEntryOutput) } +func (i CompositeTypeLabelEntryArgs) ToOutput(ctx context.Context) pulumix.Output[CompositeTypeLabelEntry] { + return pulumix.Output[CompositeTypeLabelEntry]{ + OutputState: i.ToCompositeTypeLabelEntryOutputWithContext(ctx).OutputState, + } +} + // CompositeTypeLabelEntryArrayInput is an input type that accepts CompositeTypeLabelEntryArray and CompositeTypeLabelEntryArrayOutput values. // You can construct a concrete instance of `CompositeTypeLabelEntryArrayInput` via: // @@ -1099,6 +1316,12 @@ func (i CompositeTypeLabelEntryArray) ToCompositeTypeLabelEntryArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(CompositeTypeLabelEntryArrayOutput) } +func (i CompositeTypeLabelEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]CompositeTypeLabelEntry] { + return pulumix.Output[[]CompositeTypeLabelEntry]{ + OutputState: i.ToCompositeTypeLabelEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Label object for CompositeTypes type CompositeTypeLabelEntryOutput struct{ *pulumi.OutputState } @@ -1114,6 +1337,12 @@ func (o CompositeTypeLabelEntryOutput) ToCompositeTypeLabelEntryOutputWithContex return o } +func (o CompositeTypeLabelEntryOutput) ToOutput(ctx context.Context) pulumix.Output[CompositeTypeLabelEntry] { + return pulumix.Output[CompositeTypeLabelEntry]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o CompositeTypeLabelEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v CompositeTypeLabelEntry) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -1138,6 +1367,12 @@ func (o CompositeTypeLabelEntryArrayOutput) ToCompositeTypeLabelEntryArrayOutput return o } +func (o CompositeTypeLabelEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CompositeTypeLabelEntry] { + return pulumix.Output[[]CompositeTypeLabelEntry]{ + OutputState: o.OutputState, + } +} + func (o CompositeTypeLabelEntryArrayOutput) Index(i pulumi.IntInput) CompositeTypeLabelEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CompositeTypeLabelEntry { return vs[0].([]CompositeTypeLabelEntry)[vs[1].(int)] @@ -1167,6 +1402,12 @@ func (o CompositeTypeLabelEntryResponseOutput) ToCompositeTypeLabelEntryResponse return o } +func (o CompositeTypeLabelEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompositeTypeLabelEntryResponse] { + return pulumix.Output[CompositeTypeLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o CompositeTypeLabelEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v CompositeTypeLabelEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1191,6 +1432,12 @@ func (o CompositeTypeLabelEntryResponseArrayOutput) ToCompositeTypeLabelEntryRes return o } +func (o CompositeTypeLabelEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CompositeTypeLabelEntryResponse] { + return pulumix.Output[[]CompositeTypeLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o CompositeTypeLabelEntryResponseArrayOutput) Index(i pulumi.IntInput) CompositeTypeLabelEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CompositeTypeLabelEntryResponse { return vs[0].([]CompositeTypeLabelEntryResponse)[vs[1].(int)] @@ -1230,6 +1477,12 @@ func (i ConfigFileArgs) ToConfigFileOutputWithContext(ctx context.Context) Confi return pulumi.ToOutputWithContext(ctx, i).(ConfigFileOutput) } +func (i ConfigFileArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigFile] { + return pulumix.Output[ConfigFile]{ + OutputState: i.ToConfigFileOutputWithContext(ctx).OutputState, + } +} + func (i ConfigFileArgs) ToConfigFilePtrOutput() ConfigFilePtrOutput { return i.ToConfigFilePtrOutputWithContext(context.Background()) } @@ -1271,6 +1524,12 @@ func (i *configFilePtrType) ToConfigFilePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ConfigFilePtrOutput) } +func (i *configFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfigFile] { + return pulumix.Output[*ConfigFile]{ + OutputState: i.ToConfigFilePtrOutputWithContext(ctx).OutputState, + } +} + type ConfigFileOutput struct{ *pulumi.OutputState } func (ConfigFileOutput) ElementType() reflect.Type { @@ -1295,6 +1554,12 @@ func (o ConfigFileOutput) ToConfigFilePtrOutputWithContext(ctx context.Context) }).(ConfigFilePtrOutput) } +func (o ConfigFileOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigFile] { + return pulumix.Output[ConfigFile]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ConfigFileOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v ConfigFile) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -1314,6 +1579,12 @@ func (o ConfigFilePtrOutput) ToConfigFilePtrOutputWithContext(ctx context.Contex return o } +func (o ConfigFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigFile] { + return pulumix.Output[*ConfigFile]{ + OutputState: o.OutputState, + } +} + func (o ConfigFilePtrOutput) Elem() ConfigFileOutput { return o.ApplyT(func(v *ConfigFile) ConfigFile { if v != nil { @@ -1353,6 +1624,12 @@ func (o ConfigFileResponseOutput) ToConfigFileResponseOutputWithContext(ctx cont return o } +func (o ConfigFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigFileResponse] { + return pulumix.Output[ConfigFileResponse]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ConfigFileResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v ConfigFileResponse) string { return v.Content }).(pulumi.StringOutput) @@ -1401,6 +1678,12 @@ func (i CredentialArgs) ToCredentialOutputWithContext(ctx context.Context) Crede return pulumi.ToOutputWithContext(ctx, i).(CredentialOutput) } +func (i CredentialArgs) ToOutput(ctx context.Context) pulumix.Output[Credential] { + return pulumix.Output[Credential]{ + OutputState: i.ToCredentialOutputWithContext(ctx).OutputState, + } +} + func (i CredentialArgs) ToCredentialPtrOutput() CredentialPtrOutput { return i.ToCredentialPtrOutputWithContext(context.Background()) } @@ -1442,6 +1725,12 @@ func (i *credentialPtrType) ToCredentialPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(CredentialPtrOutput) } +func (i *credentialPtrType) ToOutput(ctx context.Context) pulumix.Output[*Credential] { + return pulumix.Output[*Credential]{ + OutputState: i.ToCredentialPtrOutputWithContext(ctx).OutputState, + } +} + // The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted. type CredentialOutput struct{ *pulumi.OutputState } @@ -1467,6 +1756,12 @@ func (o CredentialOutput) ToCredentialPtrOutputWithContext(ctx context.Context) }).(CredentialPtrOutput) } +func (o CredentialOutput) ToOutput(ctx context.Context) pulumix.Output[Credential] { + return pulumix.Output[Credential]{ + OutputState: o.OutputState, + } +} + // Basic Auth Credential, only used by TypeProvider. func (o CredentialOutput) BasicAuth() BasicAuthPtrOutput { return o.ApplyT(func(v Credential) *BasicAuth { return v.BasicAuth }).(BasicAuthPtrOutput) @@ -1496,6 +1791,12 @@ func (o CredentialPtrOutput) ToCredentialPtrOutputWithContext(ctx context.Contex return o } +func (o CredentialPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Credential] { + return pulumix.Output[*Credential]{ + OutputState: o.OutputState, + } +} + func (o CredentialPtrOutput) Elem() CredentialOutput { return o.ApplyT(func(v *Credential) Credential { if v != nil { @@ -1561,6 +1862,12 @@ func (o CredentialResponseOutput) ToCredentialResponseOutputWithContext(ctx cont return o } +func (o CredentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CredentialResponse] { + return pulumix.Output[CredentialResponse]{ + OutputState: o.OutputState, + } +} + // Basic Auth Credential, only used by TypeProvider. func (o CredentialResponseOutput) BasicAuth() BasicAuthResponseOutput { return o.ApplyT(func(v CredentialResponse) BasicAuthResponse { return v.BasicAuth }).(BasicAuthResponseOutput) @@ -1615,6 +1922,12 @@ func (i DeploymentLabelEntryArgs) ToDeploymentLabelEntryOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DeploymentLabelEntryOutput) } +func (i DeploymentLabelEntryArgs) ToOutput(ctx context.Context) pulumix.Output[DeploymentLabelEntry] { + return pulumix.Output[DeploymentLabelEntry]{ + OutputState: i.ToDeploymentLabelEntryOutputWithContext(ctx).OutputState, + } +} + // DeploymentLabelEntryArrayInput is an input type that accepts DeploymentLabelEntryArray and DeploymentLabelEntryArrayOutput values. // You can construct a concrete instance of `DeploymentLabelEntryArrayInput` via: // @@ -1640,6 +1953,12 @@ func (i DeploymentLabelEntryArray) ToDeploymentLabelEntryArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(DeploymentLabelEntryArrayOutput) } +func (i DeploymentLabelEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentLabelEntry] { + return pulumix.Output[[]DeploymentLabelEntry]{ + OutputState: i.ToDeploymentLabelEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Label object for Deployments type DeploymentLabelEntryOutput struct{ *pulumi.OutputState } @@ -1655,6 +1974,12 @@ func (o DeploymentLabelEntryOutput) ToDeploymentLabelEntryOutputWithContext(ctx return o } +func (o DeploymentLabelEntryOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentLabelEntry] { + return pulumix.Output[DeploymentLabelEntry]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o DeploymentLabelEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentLabelEntry) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -1679,6 +2004,12 @@ func (o DeploymentLabelEntryArrayOutput) ToDeploymentLabelEntryArrayOutputWithCo return o } +func (o DeploymentLabelEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentLabelEntry] { + return pulumix.Output[[]DeploymentLabelEntry]{ + OutputState: o.OutputState, + } +} + func (o DeploymentLabelEntryArrayOutput) Index(i pulumi.IntInput) DeploymentLabelEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentLabelEntry { return vs[0].([]DeploymentLabelEntry)[vs[1].(int)] @@ -1708,6 +2039,12 @@ func (o DeploymentLabelEntryResponseOutput) ToDeploymentLabelEntryResponseOutput return o } +func (o DeploymentLabelEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentLabelEntryResponse] { + return pulumix.Output[DeploymentLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o DeploymentLabelEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v DeploymentLabelEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1732,6 +2069,12 @@ func (o DeploymentLabelEntryResponseArrayOutput) ToDeploymentLabelEntryResponseA return o } +func (o DeploymentLabelEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentLabelEntryResponse] { + return pulumix.Output[[]DeploymentLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o DeploymentLabelEntryResponseArrayOutput) Index(i pulumi.IntInput) DeploymentLabelEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentLabelEntryResponse { return vs[0].([]DeploymentLabelEntryResponse)[vs[1].(int)] @@ -1761,6 +2104,12 @@ func (o DeploymentOutputEntryResponseOutput) ToDeploymentOutputEntryResponseOutp return o } +func (o DeploymentOutputEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentOutputEntryResponse] { + return pulumix.Output[DeploymentOutputEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the output func (o DeploymentOutputEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v DeploymentOutputEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1785,6 +2134,12 @@ func (o DeploymentOutputEntryResponseArrayOutput) ToDeploymentOutputEntryRespons return o } +func (o DeploymentOutputEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentOutputEntryResponse] { + return pulumix.Output[[]DeploymentOutputEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o DeploymentOutputEntryResponseArrayOutput) Index(i pulumi.IntInput) DeploymentOutputEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentOutputEntryResponse { return vs[0].([]DeploymentOutputEntryResponse)[vs[1].(int)] @@ -1814,6 +2169,12 @@ func (o DeploymentUpdateLabelEntryResponseOutput) ToDeploymentUpdateLabelEntryRe return o } +func (o DeploymentUpdateLabelEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentUpdateLabelEntryResponse] { + return pulumix.Output[DeploymentUpdateLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o DeploymentUpdateLabelEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v DeploymentUpdateLabelEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1838,6 +2199,12 @@ func (o DeploymentUpdateLabelEntryResponseArrayOutput) ToDeploymentUpdateLabelEn return o } +func (o DeploymentUpdateLabelEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentUpdateLabelEntryResponse] { + return pulumix.Output[[]DeploymentUpdateLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o DeploymentUpdateLabelEntryResponseArrayOutput) Index(i pulumi.IntInput) DeploymentUpdateLabelEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentUpdateLabelEntryResponse { return vs[0].([]DeploymentUpdateLabelEntryResponse)[vs[1].(int)] @@ -1869,6 +2236,12 @@ func (o DeploymentUpdateResponseOutput) ToDeploymentUpdateResponseOutputWithCont return o } +func (o DeploymentUpdateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentUpdateResponse] { + return pulumix.Output[DeploymentUpdateResponse]{ + OutputState: o.OutputState, + } +} + // The user-provided default credential to use when deploying this preview. func (o DeploymentUpdateResponseOutput) Credential() CredentialResponseOutput { return o.ApplyT(func(v DeploymentUpdateResponse) CredentialResponse { return v.Credential }).(CredentialResponseOutput) @@ -1926,6 +2299,12 @@ func (i DiagnosticArgs) ToDiagnosticOutputWithContext(ctx context.Context) Diagn return pulumi.ToOutputWithContext(ctx, i).(DiagnosticOutput) } +func (i DiagnosticArgs) ToOutput(ctx context.Context) pulumix.Output[Diagnostic] { + return pulumix.Output[Diagnostic]{ + OutputState: i.ToDiagnosticOutputWithContext(ctx).OutputState, + } +} + // DiagnosticArrayInput is an input type that accepts DiagnosticArray and DiagnosticArrayOutput values. // You can construct a concrete instance of `DiagnosticArrayInput` via: // @@ -1951,6 +2330,12 @@ func (i DiagnosticArray) ToDiagnosticArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DiagnosticArrayOutput) } +func (i DiagnosticArray) ToOutput(ctx context.Context) pulumix.Output[[]Diagnostic] { + return pulumix.Output[[]Diagnostic]{ + OutputState: i.ToDiagnosticArrayOutputWithContext(ctx).OutputState, + } +} + type DiagnosticOutput struct{ *pulumi.OutputState } func (DiagnosticOutput) ElementType() reflect.Type { @@ -1965,6 +2350,12 @@ func (o DiagnosticOutput) ToDiagnosticOutputWithContext(ctx context.Context) Dia return o } +func (o DiagnosticOutput) ToOutput(ctx context.Context) pulumix.Output[Diagnostic] { + return pulumix.Output[Diagnostic]{ + OutputState: o.OutputState, + } +} + // JsonPath expression on the resource that if non empty, indicates that this field needs to be extracted as a diagnostic. func (o DiagnosticOutput) Field() pulumi.StringPtrOutput { return o.ApplyT(func(v Diagnostic) *string { return v.Field }).(pulumi.StringPtrOutput) @@ -1989,6 +2380,12 @@ func (o DiagnosticArrayOutput) ToDiagnosticArrayOutputWithContext(ctx context.Co return o } +func (o DiagnosticArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Diagnostic] { + return pulumix.Output[[]Diagnostic]{ + OutputState: o.OutputState, + } +} + func (o DiagnosticArrayOutput) Index(i pulumi.IntInput) DiagnosticOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Diagnostic { return vs[0].([]Diagnostic)[vs[1].(int)] @@ -2016,6 +2413,12 @@ func (o DiagnosticResponseOutput) ToDiagnosticResponseOutputWithContext(ctx cont return o } +func (o DiagnosticResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiagnosticResponse] { + return pulumix.Output[DiagnosticResponse]{ + OutputState: o.OutputState, + } +} + // JsonPath expression on the resource that if non empty, indicates that this field needs to be extracted as a diagnostic. func (o DiagnosticResponseOutput) Field() pulumi.StringOutput { return o.ApplyT(func(v DiagnosticResponse) string { return v.Field }).(pulumi.StringOutput) @@ -2040,6 +2443,12 @@ func (o DiagnosticResponseArrayOutput) ToDiagnosticResponseArrayOutputWithContex return o } +func (o DiagnosticResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiagnosticResponse] { + return pulumix.Output[[]DiagnosticResponse]{ + OutputState: o.OutputState, + } +} + func (o DiagnosticResponseArrayOutput) Index(i pulumi.IntInput) DiagnosticResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiagnosticResponse { return vs[0].([]DiagnosticResponse)[vs[1].(int)] @@ -2093,6 +2502,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -2134,6 +2549,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -2159,6 +2580,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2193,6 +2620,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -2270,6 +2703,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2327,6 +2766,12 @@ func (i ImportFileArgs) ToImportFileOutputWithContext(ctx context.Context) Impor return pulumi.ToOutputWithContext(ctx, i).(ImportFileOutput) } +func (i ImportFileArgs) ToOutput(ctx context.Context) pulumix.Output[ImportFile] { + return pulumix.Output[ImportFile]{ + OutputState: i.ToImportFileOutputWithContext(ctx).OutputState, + } +} + // ImportFileArrayInput is an input type that accepts ImportFileArray and ImportFileArrayOutput values. // You can construct a concrete instance of `ImportFileArrayInput` via: // @@ -2352,6 +2797,12 @@ func (i ImportFileArray) ToImportFileArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImportFileArrayOutput) } +func (i ImportFileArray) ToOutput(ctx context.Context) pulumix.Output[[]ImportFile] { + return pulumix.Output[[]ImportFile]{ + OutputState: i.ToImportFileArrayOutputWithContext(ctx).OutputState, + } +} + type ImportFileOutput struct{ *pulumi.OutputState } func (ImportFileOutput) ElementType() reflect.Type { @@ -2366,6 +2817,12 @@ func (o ImportFileOutput) ToImportFileOutputWithContext(ctx context.Context) Imp return o } +func (o ImportFileOutput) ToOutput(ctx context.Context) pulumix.Output[ImportFile] { + return pulumix.Output[ImportFile]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ImportFileOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v ImportFile) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -2390,6 +2847,12 @@ func (o ImportFileArrayOutput) ToImportFileArrayOutputWithContext(ctx context.Co return o } +func (o ImportFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ImportFile] { + return pulumix.Output[[]ImportFile]{ + OutputState: o.OutputState, + } +} + func (o ImportFileArrayOutput) Index(i pulumi.IntInput) ImportFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImportFile { return vs[0].([]ImportFile)[vs[1].(int)] @@ -2417,6 +2880,12 @@ func (o ImportFileResponseOutput) ToImportFileResponseOutputWithContext(ctx cont return o } +func (o ImportFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImportFileResponse] { + return pulumix.Output[ImportFileResponse]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ImportFileResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v ImportFileResponse) string { return v.Content }).(pulumi.StringOutput) @@ -2441,6 +2910,12 @@ func (o ImportFileResponseArrayOutput) ToImportFileResponseArrayOutputWithContex return o } +func (o ImportFileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ImportFileResponse] { + return pulumix.Output[[]ImportFileResponse]{ + OutputState: o.OutputState, + } +} + func (o ImportFileResponseArrayOutput) Index(i pulumi.IntInput) ImportFileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImportFileResponse { return vs[0].([]ImportFileResponse)[vs[1].(int)] @@ -2494,6 +2969,12 @@ func (i InputMappingArgs) ToInputMappingOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(InputMappingOutput) } +func (i InputMappingArgs) ToOutput(ctx context.Context) pulumix.Output[InputMapping] { + return pulumix.Output[InputMapping]{ + OutputState: i.ToInputMappingOutputWithContext(ctx).OutputState, + } +} + // InputMappingArrayInput is an input type that accepts InputMappingArray and InputMappingArrayOutput values. // You can construct a concrete instance of `InputMappingArrayInput` via: // @@ -2519,6 +3000,12 @@ func (i InputMappingArray) ToInputMappingArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(InputMappingArrayOutput) } +func (i InputMappingArray) ToOutput(ctx context.Context) pulumix.Output[[]InputMapping] { + return pulumix.Output[[]InputMapping]{ + OutputState: i.ToInputMappingArrayOutputWithContext(ctx).OutputState, + } +} + // InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API. type InputMappingOutput struct{ *pulumi.OutputState } @@ -2534,6 +3021,12 @@ func (o InputMappingOutput) ToInputMappingOutputWithContext(ctx context.Context) return o } +func (o InputMappingOutput) ToOutput(ctx context.Context) pulumix.Output[InputMapping] { + return pulumix.Output[InputMapping]{ + OutputState: o.OutputState, + } +} + // The name of the field that is going to be injected. func (o InputMappingOutput) FieldName() pulumi.StringPtrOutput { return o.ApplyT(func(v InputMapping) *string { return v.FieldName }).(pulumi.StringPtrOutput) @@ -2568,6 +3061,12 @@ func (o InputMappingArrayOutput) ToInputMappingArrayOutputWithContext(ctx contex return o } +func (o InputMappingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InputMapping] { + return pulumix.Output[[]InputMapping]{ + OutputState: o.OutputState, + } +} + func (o InputMappingArrayOutput) Index(i pulumi.IntInput) InputMappingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InputMapping { return vs[0].([]InputMapping)[vs[1].(int)] @@ -2601,6 +3100,12 @@ func (o InputMappingResponseOutput) ToInputMappingResponseOutputWithContext(ctx return o } +func (o InputMappingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InputMappingResponse] { + return pulumix.Output[InputMappingResponse]{ + OutputState: o.OutputState, + } +} + // The name of the field that is going to be injected. func (o InputMappingResponseOutput) FieldName() pulumi.StringOutput { return o.ApplyT(func(v InputMappingResponse) string { return v.FieldName }).(pulumi.StringOutput) @@ -2635,6 +3140,12 @@ func (o InputMappingResponseArrayOutput) ToInputMappingResponseArrayOutputWithCo return o } +func (o InputMappingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InputMappingResponse] { + return pulumix.Output[[]InputMappingResponse]{ + OutputState: o.OutputState, + } +} + func (o InputMappingResponseArrayOutput) Index(i pulumi.IntInput) InputMappingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InputMappingResponse { return vs[0].([]InputMappingResponse)[vs[1].(int)] @@ -2692,6 +3203,12 @@ func (i MethodMapArgs) ToMethodMapOutputWithContext(ctx context.Context) MethodM return pulumi.ToOutputWithContext(ctx, i).(MethodMapOutput) } +func (i MethodMapArgs) ToOutput(ctx context.Context) pulumix.Output[MethodMap] { + return pulumix.Output[MethodMap]{ + OutputState: i.ToMethodMapOutputWithContext(ctx).OutputState, + } +} + func (i MethodMapArgs) ToMethodMapPtrOutput() MethodMapPtrOutput { return i.ToMethodMapPtrOutputWithContext(context.Background()) } @@ -2733,6 +3250,12 @@ func (i *methodMapPtrType) ToMethodMapPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MethodMapPtrOutput) } +func (i *methodMapPtrType) ToOutput(ctx context.Context) pulumix.Output[*MethodMap] { + return pulumix.Output[*MethodMap]{ + OutputState: i.ToMethodMapPtrOutputWithContext(ctx).OutputState, + } +} + // Deployment Manager will call these methods during the events of creation/deletion/update/get/setIamPolicy type MethodMapOutput struct{ *pulumi.OutputState } @@ -2758,6 +3281,12 @@ func (o MethodMapOutput) ToMethodMapPtrOutputWithContext(ctx context.Context) Me }).(MethodMapPtrOutput) } +func (o MethodMapOutput) ToOutput(ctx context.Context) pulumix.Output[MethodMap] { + return pulumix.Output[MethodMap]{ + OutputState: o.OutputState, + } +} + // The action identifier for the create method to be used for this collection func (o MethodMapOutput) Create() pulumi.StringPtrOutput { return o.ApplyT(func(v MethodMap) *string { return v.Create }).(pulumi.StringPtrOutput) @@ -2797,6 +3326,12 @@ func (o MethodMapPtrOutput) ToMethodMapPtrOutputWithContext(ctx context.Context) return o } +func (o MethodMapPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MethodMap] { + return pulumix.Output[*MethodMap]{ + OutputState: o.OutputState, + } +} + func (o MethodMapPtrOutput) Elem() MethodMapOutput { return o.ApplyT(func(v *MethodMap) MethodMap { if v != nil { @@ -2886,6 +3421,12 @@ func (o MethodMapResponseOutput) ToMethodMapResponseOutputWithContext(ctx contex return o } +func (o MethodMapResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MethodMapResponse] { + return pulumix.Output[MethodMapResponse]{ + OutputState: o.OutputState, + } +} + // The action identifier for the create method to be used for this collection func (o MethodMapResponseOutput) Create() pulumi.StringOutput { return o.ApplyT(func(v MethodMapResponse) string { return v.Create }).(pulumi.StringOutput) @@ -2934,6 +3475,12 @@ func (o OperationErrorErrorsItemResponseOutput) ToOperationErrorErrorsItemRespon return o } +func (o OperationErrorErrorsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationErrorErrorsItemResponse] { + return pulumix.Output[OperationErrorErrorsItemResponse]{ + OutputState: o.OutputState, + } +} + // The error type identifier for this error. func (o OperationErrorErrorsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v OperationErrorErrorsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -2963,6 +3510,12 @@ func (o OperationErrorErrorsItemResponseArrayOutput) ToOperationErrorErrorsItemR return o } +func (o OperationErrorErrorsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OperationErrorErrorsItemResponse] { + return pulumix.Output[[]OperationErrorErrorsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o OperationErrorErrorsItemResponseArrayOutput) Index(i pulumi.IntInput) OperationErrorErrorsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OperationErrorErrorsItemResponse { return vs[0].([]OperationErrorErrorsItemResponse)[vs[1].(int)] @@ -2990,6 +3543,12 @@ func (o OperationErrorResponseOutput) ToOperationErrorResponseOutputWithContext( return o } +func (o OperationErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationErrorResponse] { + return pulumix.Output[OperationErrorResponse]{ + OutputState: o.OutputState, + } +} + // The array of errors encountered while processing this operation. func (o OperationErrorResponseOutput) Errors() OperationErrorErrorsItemResponseArrayOutput { return o.ApplyT(func(v OperationErrorResponse) []OperationErrorErrorsItemResponse { return v.Errors }).(OperationErrorErrorsItemResponseArrayOutput) @@ -3062,6 +3621,12 @@ func (o OperationResponseOutput) ToOperationResponseOutputWithContext(ctx contex return o } +func (o OperationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationResponse] { + return pulumix.Output[OperationResponse]{ + OutputState: o.OutputState, + } +} + // The value of `requestId` if you provided it in the request. Not present otherwise. func (o OperationResponseOutput) ClientOperationId() pulumi.StringOutput { return o.ApplyT(func(v OperationResponse) string { return v.ClientOperationId }).(pulumi.StringOutput) @@ -3200,6 +3765,12 @@ func (o OperationWarningsItemDataItemResponseOutput) ToOperationWarningsItemData return o } +func (o OperationWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationWarningsItemDataItemResponse] { + return pulumix.Output[OperationWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o OperationWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v OperationWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -3224,6 +3795,12 @@ func (o OperationWarningsItemDataItemResponseArrayOutput) ToOperationWarningsIte return o } +func (o OperationWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OperationWarningsItemDataItemResponse] { + return pulumix.Output[[]OperationWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o OperationWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) OperationWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OperationWarningsItemDataItemResponse { return vs[0].([]OperationWarningsItemDataItemResponse)[vs[1].(int)] @@ -3253,6 +3830,12 @@ func (o OperationWarningsItemResponseOutput) ToOperationWarningsItemResponseOutp return o } +func (o OperationWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationWarningsItemResponse] { + return pulumix.Output[OperationWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o OperationWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v OperationWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -3282,6 +3865,12 @@ func (o OperationWarningsItemResponseArrayOutput) ToOperationWarningsItemRespons return o } +func (o OperationWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OperationWarningsItemResponse] { + return pulumix.Output[[]OperationWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o OperationWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) OperationWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OperationWarningsItemResponse { return vs[0].([]OperationWarningsItemResponse)[vs[1].(int)] @@ -3335,6 +3924,12 @@ func (i OptionsArgs) ToOptionsOutputWithContext(ctx context.Context) OptionsOutp return pulumi.ToOutputWithContext(ctx, i).(OptionsOutput) } +func (i OptionsArgs) ToOutput(ctx context.Context) pulumix.Output[Options] { + return pulumix.Output[Options]{ + OutputState: i.ToOptionsOutputWithContext(ctx).OutputState, + } +} + func (i OptionsArgs) ToOptionsPtrOutput() OptionsPtrOutput { return i.ToOptionsPtrOutputWithContext(context.Background()) } @@ -3376,6 +3971,12 @@ func (i *optionsPtrType) ToOptionsPtrOutputWithContext(ctx context.Context) Opti return pulumi.ToOutputWithContext(ctx, i).(OptionsPtrOutput) } +func (i *optionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Options] { + return pulumix.Output[*Options]{ + OutputState: i.ToOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options allows customized resource handling by Deployment Manager. type OptionsOutput struct{ *pulumi.OutputState } @@ -3401,6 +4002,12 @@ func (o OptionsOutput) ToOptionsPtrOutputWithContext(ctx context.Context) Option }).(OptionsPtrOutput) } +func (o OptionsOutput) ToOutput(ctx context.Context) pulumix.Output[Options] { + return pulumix.Output[Options]{ + OutputState: o.OutputState, + } +} + // Options regarding how to thread async requests. func (o OptionsOutput) AsyncOptions() AsyncOptionsArrayOutput { return o.ApplyT(func(v Options) []AsyncOptions { return v.AsyncOptions }).(AsyncOptionsArrayOutput) @@ -3435,6 +4042,12 @@ func (o OptionsPtrOutput) ToOptionsPtrOutputWithContext(ctx context.Context) Opt return o } +func (o OptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Options] { + return pulumix.Output[*Options]{ + OutputState: o.OutputState, + } +} + func (o OptionsPtrOutput) Elem() OptionsOutput { return o.ApplyT(func(v *Options) Options { if v != nil { @@ -3512,6 +4125,12 @@ func (o OptionsResponseOutput) ToOptionsResponseOutputWithContext(ctx context.Co return o } +func (o OptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OptionsResponse] { + return pulumix.Output[OptionsResponse]{ + OutputState: o.OutputState, + } +} + // Options regarding how to thread async requests. func (o OptionsResponseOutput) AsyncOptions() AsyncOptionsResponseArrayOutput { return o.ApplyT(func(v OptionsResponse) []AsyncOptionsResponse { return v.AsyncOptions }).(AsyncOptionsResponseArrayOutput) @@ -3581,6 +4200,12 @@ func (i PollingOptionsArgs) ToPollingOptionsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(PollingOptionsOutput) } +func (i PollingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[PollingOptions] { + return pulumix.Output[PollingOptions]{ + OutputState: i.ToPollingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i PollingOptionsArgs) ToPollingOptionsPtrOutput() PollingOptionsPtrOutput { return i.ToPollingOptionsPtrOutputWithContext(context.Background()) } @@ -3622,6 +4247,12 @@ func (i *pollingOptionsPtrType) ToPollingOptionsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(PollingOptionsPtrOutput) } +func (i *pollingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*PollingOptions] { + return pulumix.Output[*PollingOptions]{ + OutputState: i.ToPollingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type PollingOptionsOutput struct{ *pulumi.OutputState } func (PollingOptionsOutput) ElementType() reflect.Type { @@ -3646,6 +4277,12 @@ func (o PollingOptionsOutput) ToPollingOptionsPtrOutputWithContext(ctx context.C }).(PollingOptionsPtrOutput) } +func (o PollingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[PollingOptions] { + return pulumix.Output[PollingOptions]{ + OutputState: o.OutputState, + } +} + // An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user. func (o PollingOptionsOutput) Diagnostics() DiagnosticArrayOutput { return o.ApplyT(func(v PollingOptions) []Diagnostic { return v.Diagnostics }).(DiagnosticArrayOutput) @@ -3685,6 +4322,12 @@ func (o PollingOptionsPtrOutput) ToPollingOptionsPtrOutputWithContext(ctx contex return o } +func (o PollingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PollingOptions] { + return pulumix.Output[*PollingOptions]{ + OutputState: o.OutputState, + } +} + func (o PollingOptionsPtrOutput) Elem() PollingOptionsOutput { return o.ApplyT(func(v *PollingOptions) PollingOptions { if v != nil { @@ -3772,6 +4415,12 @@ func (o PollingOptionsResponseOutput) ToPollingOptionsResponseOutputWithContext( return o } +func (o PollingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PollingOptionsResponse] { + return pulumix.Output[PollingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user. func (o PollingOptionsResponseOutput) Diagnostics() DiagnosticResponseArrayOutput { return o.ApplyT(func(v PollingOptionsResponse) []DiagnosticResponse { return v.Diagnostics }).(DiagnosticResponseArrayOutput) @@ -3832,6 +4481,12 @@ func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) } +func (i ServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: i.ToServiceAccountOutputWithContext(ctx).OutputState, + } +} + func (i ServiceAccountArgs) ToServiceAccountPtrOutput() ServiceAccountPtrOutput { return i.ToServiceAccountPtrOutputWithContext(context.Background()) } @@ -3873,6 +4528,12 @@ func (i *serviceAccountPtrType) ToServiceAccountPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountPtrOutput) } +func (i *serviceAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: i.ToServiceAccountPtrOutputWithContext(ctx).OutputState, + } +} + // Service Account used as a credential. type ServiceAccountOutput struct{ *pulumi.OutputState } @@ -3898,6 +4559,12 @@ func (o ServiceAccountOutput) ToServiceAccountPtrOutputWithContext(ctx context.C }).(ServiceAccountPtrOutput) } +func (o ServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: o.OutputState, + } +} + // The IAM service account email address like test@myproject.iam.gserviceaccount.com func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) @@ -3917,6 +4584,12 @@ func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext(ctx contex return o } +func (o ServiceAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountPtrOutput) Elem() ServiceAccountOutput { return o.ApplyT(func(v *ServiceAccount) ServiceAccount { if v != nil { @@ -3958,6 +4631,12 @@ func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext( return o } +func (o ServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccountResponse] { + return pulumix.Output[ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // The IAM service account email address like test@myproject.iam.gserviceaccount.com func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ServiceAccountResponse) string { return v.Email }).(pulumi.StringOutput) @@ -4000,6 +4679,12 @@ func (i TargetConfigurationArgs) ToTargetConfigurationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TargetConfigurationOutput) } +func (i TargetConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[TargetConfiguration] { + return pulumix.Output[TargetConfiguration]{ + OutputState: i.ToTargetConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i TargetConfigurationArgs) ToTargetConfigurationPtrOutput() TargetConfigurationPtrOutput { return i.ToTargetConfigurationPtrOutputWithContext(context.Background()) } @@ -4041,6 +4726,12 @@ func (i *targetConfigurationPtrType) ToTargetConfigurationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(TargetConfigurationPtrOutput) } +func (i *targetConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*TargetConfiguration] { + return pulumix.Output[*TargetConfiguration]{ + OutputState: i.ToTargetConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + type TargetConfigurationOutput struct{ *pulumi.OutputState } func (TargetConfigurationOutput) ElementType() reflect.Type { @@ -4065,6 +4756,12 @@ func (o TargetConfigurationOutput) ToTargetConfigurationPtrOutputWithContext(ctx }).(TargetConfigurationPtrOutput) } +func (o TargetConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[TargetConfiguration] { + return pulumix.Output[TargetConfiguration]{ + OutputState: o.OutputState, + } +} + // The configuration to use for this deployment. func (o TargetConfigurationOutput) Config() ConfigFilePtrOutput { return o.ApplyT(func(v TargetConfiguration) *ConfigFile { return v.Config }).(ConfigFilePtrOutput) @@ -4089,6 +4786,12 @@ func (o TargetConfigurationPtrOutput) ToTargetConfigurationPtrOutputWithContext( return o } +func (o TargetConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetConfiguration] { + return pulumix.Output[*TargetConfiguration]{ + OutputState: o.OutputState, + } +} + func (o TargetConfigurationPtrOutput) Elem() TargetConfigurationOutput { return o.ApplyT(func(v *TargetConfiguration) TargetConfiguration { if v != nil { @@ -4140,6 +4843,12 @@ func (o TargetConfigurationResponseOutput) ToTargetConfigurationResponseOutputWi return o } +func (o TargetConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TargetConfigurationResponse] { + return pulumix.Output[TargetConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // The configuration to use for this deployment. func (o TargetConfigurationResponseOutput) Config() ConfigFileResponseOutput { return o.ApplyT(func(v TargetConfigurationResponse) ConfigFileResponse { return v.Config }).(ConfigFileResponseOutput) @@ -4201,6 +4910,12 @@ func (i TemplateContentsArgs) ToTemplateContentsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TemplateContentsOutput) } +func (i TemplateContentsArgs) ToOutput(ctx context.Context) pulumix.Output[TemplateContents] { + return pulumix.Output[TemplateContents]{ + OutputState: i.ToTemplateContentsOutputWithContext(ctx).OutputState, + } +} + func (i TemplateContentsArgs) ToTemplateContentsPtrOutput() TemplateContentsPtrOutput { return i.ToTemplateContentsPtrOutputWithContext(context.Background()) } @@ -4242,6 +4957,12 @@ func (i *templateContentsPtrType) ToTemplateContentsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(TemplateContentsPtrOutput) } +func (i *templateContentsPtrType) ToOutput(ctx context.Context) pulumix.Output[*TemplateContents] { + return pulumix.Output[*TemplateContents]{ + OutputState: i.ToTemplateContentsPtrOutputWithContext(ctx).OutputState, + } +} + // Files that make up the template contents of a template type. type TemplateContentsOutput struct{ *pulumi.OutputState } @@ -4267,6 +4988,12 @@ func (o TemplateContentsOutput) ToTemplateContentsPtrOutputWithContext(ctx conte }).(TemplateContentsPtrOutput) } +func (o TemplateContentsOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateContents] { + return pulumix.Output[TemplateContents]{ + OutputState: o.OutputState, + } +} + // Import files referenced by the main template. func (o TemplateContentsOutput) Imports() ImportFileArrayOutput { return o.ApplyT(func(v TemplateContents) []ImportFile { return v.Imports }).(ImportFileArrayOutput) @@ -4306,6 +5033,12 @@ func (o TemplateContentsPtrOutput) ToTemplateContentsPtrOutputWithContext(ctx co return o } +func (o TemplateContentsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TemplateContents] { + return pulumix.Output[*TemplateContents]{ + OutputState: o.OutputState, + } +} + func (o TemplateContentsPtrOutput) Elem() TemplateContentsOutput { return o.ApplyT(func(v *TemplateContents) TemplateContents { if v != nil { @@ -4395,6 +5128,12 @@ func (o TemplateContentsResponseOutput) ToTemplateContentsResponseOutputWithCont return o } +func (o TemplateContentsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateContentsResponse] { + return pulumix.Output[TemplateContentsResponse]{ + OutputState: o.OutputState, + } +} + // Import files referenced by the main template. func (o TemplateContentsResponseOutput) Imports() ImportFileResponseArrayOutput { return o.ApplyT(func(v TemplateContentsResponse) []ImportFileResponse { return v.Imports }).(ImportFileResponseArrayOutput) @@ -4459,6 +5198,12 @@ func (i TypeProviderLabelEntryArgs) ToTypeProviderLabelEntryOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(TypeProviderLabelEntryOutput) } +func (i TypeProviderLabelEntryArgs) ToOutput(ctx context.Context) pulumix.Output[TypeProviderLabelEntry] { + return pulumix.Output[TypeProviderLabelEntry]{ + OutputState: i.ToTypeProviderLabelEntryOutputWithContext(ctx).OutputState, + } +} + // TypeProviderLabelEntryArrayInput is an input type that accepts TypeProviderLabelEntryArray and TypeProviderLabelEntryArrayOutput values. // You can construct a concrete instance of `TypeProviderLabelEntryArrayInput` via: // @@ -4484,6 +5229,12 @@ func (i TypeProviderLabelEntryArray) ToTypeProviderLabelEntryArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(TypeProviderLabelEntryArrayOutput) } +func (i TypeProviderLabelEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]TypeProviderLabelEntry] { + return pulumix.Output[[]TypeProviderLabelEntry]{ + OutputState: i.ToTypeProviderLabelEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Label object for TypeProviders type TypeProviderLabelEntryOutput struct{ *pulumi.OutputState } @@ -4499,6 +5250,12 @@ func (o TypeProviderLabelEntryOutput) ToTypeProviderLabelEntryOutputWithContext( return o } +func (o TypeProviderLabelEntryOutput) ToOutput(ctx context.Context) pulumix.Output[TypeProviderLabelEntry] { + return pulumix.Output[TypeProviderLabelEntry]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o TypeProviderLabelEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v TypeProviderLabelEntry) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -4523,6 +5280,12 @@ func (o TypeProviderLabelEntryArrayOutput) ToTypeProviderLabelEntryArrayOutputWi return o } +func (o TypeProviderLabelEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TypeProviderLabelEntry] { + return pulumix.Output[[]TypeProviderLabelEntry]{ + OutputState: o.OutputState, + } +} + func (o TypeProviderLabelEntryArrayOutput) Index(i pulumi.IntInput) TypeProviderLabelEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TypeProviderLabelEntry { return vs[0].([]TypeProviderLabelEntry)[vs[1].(int)] @@ -4552,6 +5315,12 @@ func (o TypeProviderLabelEntryResponseOutput) ToTypeProviderLabelEntryResponseOu return o } +func (o TypeProviderLabelEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TypeProviderLabelEntryResponse] { + return pulumix.Output[TypeProviderLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o TypeProviderLabelEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v TypeProviderLabelEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -4576,6 +5345,12 @@ func (o TypeProviderLabelEntryResponseArrayOutput) ToTypeProviderLabelEntryRespo return o } +func (o TypeProviderLabelEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TypeProviderLabelEntryResponse] { + return pulumix.Output[[]TypeProviderLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o TypeProviderLabelEntryResponseArrayOutput) Index(i pulumi.IntInput) TypeProviderLabelEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TypeProviderLabelEntryResponse { return vs[0].([]TypeProviderLabelEntryResponse)[vs[1].(int)] @@ -4621,6 +5396,12 @@ func (i ValidationOptionsArgs) ToValidationOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ValidationOptionsOutput) } +func (i ValidationOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ValidationOptions] { + return pulumix.Output[ValidationOptions]{ + OutputState: i.ToValidationOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ValidationOptionsArgs) ToValidationOptionsPtrOutput() ValidationOptionsPtrOutput { return i.ToValidationOptionsPtrOutputWithContext(context.Background()) } @@ -4662,6 +5443,12 @@ func (i *validationOptionsPtrType) ToValidationOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ValidationOptionsPtrOutput) } +func (i *validationOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptions] { + return pulumix.Output[*ValidationOptions]{ + OutputState: i.ToValidationOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options for how to validate and process properties on a resource. type ValidationOptionsOutput struct{ *pulumi.OutputState } @@ -4687,6 +5474,12 @@ func (o ValidationOptionsOutput) ToValidationOptionsPtrOutputWithContext(ctx con }).(ValidationOptionsPtrOutput) } +func (o ValidationOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationOptions] { + return pulumix.Output[ValidationOptions]{ + OutputState: o.OutputState, + } +} + // Customize how deployment manager will validate the resource against schema errors. func (o ValidationOptionsOutput) SchemaValidation() ValidationOptionsSchemaValidationPtrOutput { return o.ApplyT(func(v ValidationOptions) *ValidationOptionsSchemaValidation { return v.SchemaValidation }).(ValidationOptionsSchemaValidationPtrOutput) @@ -4711,6 +5504,12 @@ func (o ValidationOptionsPtrOutput) ToValidationOptionsPtrOutputWithContext(ctx return o } +func (o ValidationOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptions] { + return pulumix.Output[*ValidationOptions]{ + OutputState: o.OutputState, + } +} + func (o ValidationOptionsPtrOutput) Elem() ValidationOptionsOutput { return o.ApplyT(func(v *ValidationOptions) ValidationOptions { if v != nil { @@ -4764,6 +5563,12 @@ func (o ValidationOptionsResponseOutput) ToValidationOptionsResponseOutputWithCo return o } +func (o ValidationOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationOptionsResponse] { + return pulumix.Output[ValidationOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Customize how deployment manager will validate the resource against schema errors. func (o ValidationOptionsResponseOutput) SchemaValidation() pulumi.StringOutput { return o.ApplyT(func(v ValidationOptionsResponse) string { return v.SchemaValidation }).(pulumi.StringOutput) diff --git a/sdk/go/google/deploymentmanager/alpha/typeProvider.go b/sdk/go/google/deploymentmanager/alpha/typeProvider.go index 6cfeff8bb4..e190ef86fb 100644 --- a/sdk/go/google/deploymentmanager/alpha/typeProvider.go +++ b/sdk/go/google/deploymentmanager/alpha/typeProvider.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a type provider. @@ -147,6 +148,12 @@ func (i *TypeProvider) ToTypeProviderOutputWithContext(ctx context.Context) Type return pulumi.ToOutputWithContext(ctx, i).(TypeProviderOutput) } +func (i *TypeProvider) ToOutput(ctx context.Context) pulumix.Output[*TypeProvider] { + return pulumix.Output[*TypeProvider]{ + OutputState: i.ToTypeProviderOutputWithContext(ctx).OutputState, + } +} + type TypeProviderOutput struct{ *pulumi.OutputState } func (TypeProviderOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o TypeProviderOutput) ToTypeProviderOutputWithContext(ctx context.Context) return o } +func (o TypeProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*TypeProvider] { + return pulumix.Output[*TypeProvider]{ + OutputState: o.OutputState, + } +} + // Allows resource handling overrides for specific collections func (o TypeProviderOutput) CollectionOverrides() CollectionOverrideResponseArrayOutput { return o.ApplyT(func(v *TypeProvider) CollectionOverrideResponseArrayOutput { return v.CollectionOverrides }).(CollectionOverrideResponseArrayOutput) diff --git a/sdk/go/google/deploymentmanager/v2/deployment.go b/sdk/go/google/deploymentmanager/v2/deployment.go index d1a36ef8a8..2f2c3f2201 100644 --- a/sdk/go/google/deploymentmanager/v2/deployment.go +++ b/sdk/go/google/deploymentmanager/v2/deployment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a deployment and all of the resources described by the deployment manifest. @@ -145,6 +146,12 @@ func (i *Deployment) ToDeploymentOutputWithContext(ctx context.Context) Deployme return pulumi.ToOutputWithContext(ctx, i).(DeploymentOutput) } +func (i *Deployment) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: i.ToDeploymentOutputWithContext(ctx).OutputState, + } +} + type DeploymentOutput struct{ *pulumi.OutputState } func (DeploymentOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) Dep return o } +func (o DeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: o.OutputState, + } +} + // Sets the policy to use for creating new resources. func (o DeploymentOutput) CreatePolicy() pulumi.StringPtrOutput { return o.ApplyT(func(v *Deployment) pulumi.StringPtrOutput { return v.CreatePolicy }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/deploymentmanager/v2/deploymentIamBinding.go b/sdk/go/google/deploymentmanager/v2/deploymentIamBinding.go index 81141b5f7c..2b4b70de8c 100644 --- a/sdk/go/google/deploymentmanager/v2/deploymentIamBinding.go +++ b/sdk/go/google/deploymentmanager/v2/deploymentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DeploymentIamBinding) ToDeploymentIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DeploymentIamBindingOutput) } +func (i *DeploymentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamBinding] { + return pulumix.Output[*DeploymentIamBinding]{ + OutputState: i.ToDeploymentIamBindingOutputWithContext(ctx).OutputState, + } +} + type DeploymentIamBindingOutput struct{ *pulumi.OutputState } func (DeploymentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DeploymentIamBindingOutput) ToDeploymentIamBindingOutputWithContext(ctx return o } +func (o DeploymentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamBinding] { + return pulumix.Output[*DeploymentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DeploymentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DeploymentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/deploymentmanager/v2/deploymentIamMember.go b/sdk/go/google/deploymentmanager/v2/deploymentIamMember.go index 0ba9bad862..26d477b52e 100644 --- a/sdk/go/google/deploymentmanager/v2/deploymentIamMember.go +++ b/sdk/go/google/deploymentmanager/v2/deploymentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DeploymentIamMember) ToDeploymentIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DeploymentIamMemberOutput) } +func (i *DeploymentIamMember) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamMember] { + return pulumix.Output[*DeploymentIamMember]{ + OutputState: i.ToDeploymentIamMemberOutputWithContext(ctx).OutputState, + } +} + type DeploymentIamMemberOutput struct{ *pulumi.OutputState } func (DeploymentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DeploymentIamMemberOutput) ToDeploymentIamMemberOutputWithContext(ctx co return o } +func (o DeploymentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamMember] { + return pulumix.Output[*DeploymentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DeploymentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DeploymentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/deploymentmanager/v2/deploymentIamPolicy.go b/sdk/go/google/deploymentmanager/v2/deploymentIamPolicy.go index 4c42b8f5c0..b2c0a6b3fd 100644 --- a/sdk/go/google/deploymentmanager/v2/deploymentIamPolicy.go +++ b/sdk/go/google/deploymentmanager/v2/deploymentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -127,6 +128,12 @@ func (i *DeploymentIamPolicy) ToDeploymentIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DeploymentIamPolicyOutput) } +func (i *DeploymentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamPolicy] { + return pulumix.Output[*DeploymentIamPolicy]{ + OutputState: i.ToDeploymentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DeploymentIamPolicyOutput struct{ *pulumi.OutputState } func (DeploymentIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o DeploymentIamPolicyOutput) ToDeploymentIamPolicyOutputWithContext(ctx co return o } +func (o DeploymentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamPolicy] { + return pulumix.Output[*DeploymentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DeploymentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DeploymentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/deploymentmanager/v2/getDeployment.go b/sdk/go/google/deploymentmanager/v2/getDeployment.go index 046e0ce3e8..a16b482567 100644 --- a/sdk/go/google/deploymentmanager/v2/getDeployment.go +++ b/sdk/go/google/deploymentmanager/v2/getDeployment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a specific deployment. @@ -88,6 +89,12 @@ func (o LookupDeploymentResultOutput) ToLookupDeploymentResultOutputWithContext( return o } +func (o LookupDeploymentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeploymentResult] { + return pulumix.Output[LookupDeploymentResult]{ + OutputState: o.OutputState, + } +} + // An optional user-provided description of the deployment. func (o LookupDeploymentResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupDeploymentResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/deploymentmanager/v2/getDeploymentIamPolicy.go b/sdk/go/google/deploymentmanager/v2/getDeploymentIamPolicy.go index c9302a7a84..919073b5f3 100644 --- a/sdk/go/google/deploymentmanager/v2/getDeploymentIamPolicy.go +++ b/sdk/go/google/deploymentmanager/v2/getDeploymentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -76,6 +77,12 @@ func (o LookupDeploymentIamPolicyResultOutput) ToLookupDeploymentIamPolicyResult return o } +func (o LookupDeploymentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeploymentIamPolicyResult] { + return pulumix.Output[LookupDeploymentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDeploymentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDeploymentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/deploymentmanager/v2/pulumiEnums.go b/sdk/go/google/deploymentmanager/v2/pulumiEnums.go index fddbeb2f82..9cf570f7ed 100644 --- a/sdk/go/google/deploymentmanager/v2/pulumiEnums.go +++ b/sdk/go/google/deploymentmanager/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/deploymentmanager/v2/pulumiTypes.go b/sdk/go/google/deploymentmanager/v2/pulumiTypes.go index c250caef01..ae1e8ade1b 100644 --- a/sdk/go/google/deploymentmanager/v2/pulumiTypes.go +++ b/sdk/go/google/deploymentmanager/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -548,6 +657,12 @@ func (i ConfigFileArgs) ToConfigFileOutputWithContext(ctx context.Context) Confi return pulumi.ToOutputWithContext(ctx, i).(ConfigFileOutput) } +func (i ConfigFileArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigFile] { + return pulumix.Output[ConfigFile]{ + OutputState: i.ToConfigFileOutputWithContext(ctx).OutputState, + } +} + func (i ConfigFileArgs) ToConfigFilePtrOutput() ConfigFilePtrOutput { return i.ToConfigFilePtrOutputWithContext(context.Background()) } @@ -589,6 +704,12 @@ func (i *configFilePtrType) ToConfigFilePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ConfigFilePtrOutput) } +func (i *configFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfigFile] { + return pulumix.Output[*ConfigFile]{ + OutputState: i.ToConfigFilePtrOutputWithContext(ctx).OutputState, + } +} + type ConfigFileOutput struct{ *pulumi.OutputState } func (ConfigFileOutput) ElementType() reflect.Type { @@ -613,6 +734,12 @@ func (o ConfigFileOutput) ToConfigFilePtrOutputWithContext(ctx context.Context) }).(ConfigFilePtrOutput) } +func (o ConfigFileOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigFile] { + return pulumix.Output[ConfigFile]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ConfigFileOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v ConfigFile) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -632,6 +759,12 @@ func (o ConfigFilePtrOutput) ToConfigFilePtrOutputWithContext(ctx context.Contex return o } +func (o ConfigFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigFile] { + return pulumix.Output[*ConfigFile]{ + OutputState: o.OutputState, + } +} + func (o ConfigFilePtrOutput) Elem() ConfigFileOutput { return o.ApplyT(func(v *ConfigFile) ConfigFile { if v != nil { @@ -671,6 +804,12 @@ func (o ConfigFileResponseOutput) ToConfigFileResponseOutputWithContext(ctx cont return o } +func (o ConfigFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigFileResponse] { + return pulumix.Output[ConfigFileResponse]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ConfigFileResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v ConfigFileResponse) string { return v.Content }).(pulumi.StringOutput) @@ -715,6 +854,12 @@ func (i DeploymentLabelEntryArgs) ToDeploymentLabelEntryOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DeploymentLabelEntryOutput) } +func (i DeploymentLabelEntryArgs) ToOutput(ctx context.Context) pulumix.Output[DeploymentLabelEntry] { + return pulumix.Output[DeploymentLabelEntry]{ + OutputState: i.ToDeploymentLabelEntryOutputWithContext(ctx).OutputState, + } +} + // DeploymentLabelEntryArrayInput is an input type that accepts DeploymentLabelEntryArray and DeploymentLabelEntryArrayOutput values. // You can construct a concrete instance of `DeploymentLabelEntryArrayInput` via: // @@ -740,6 +885,12 @@ func (i DeploymentLabelEntryArray) ToDeploymentLabelEntryArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(DeploymentLabelEntryArrayOutput) } +func (i DeploymentLabelEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentLabelEntry] { + return pulumix.Output[[]DeploymentLabelEntry]{ + OutputState: i.ToDeploymentLabelEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Label object for Deployments type DeploymentLabelEntryOutput struct{ *pulumi.OutputState } @@ -755,6 +906,12 @@ func (o DeploymentLabelEntryOutput) ToDeploymentLabelEntryOutputWithContext(ctx return o } +func (o DeploymentLabelEntryOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentLabelEntry] { + return pulumix.Output[DeploymentLabelEntry]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o DeploymentLabelEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentLabelEntry) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -779,6 +936,12 @@ func (o DeploymentLabelEntryArrayOutput) ToDeploymentLabelEntryArrayOutputWithCo return o } +func (o DeploymentLabelEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentLabelEntry] { + return pulumix.Output[[]DeploymentLabelEntry]{ + OutputState: o.OutputState, + } +} + func (o DeploymentLabelEntryArrayOutput) Index(i pulumi.IntInput) DeploymentLabelEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentLabelEntry { return vs[0].([]DeploymentLabelEntry)[vs[1].(int)] @@ -808,6 +971,12 @@ func (o DeploymentLabelEntryResponseOutput) ToDeploymentLabelEntryResponseOutput return o } +func (o DeploymentLabelEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentLabelEntryResponse] { + return pulumix.Output[DeploymentLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o DeploymentLabelEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v DeploymentLabelEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -832,6 +1001,12 @@ func (o DeploymentLabelEntryResponseArrayOutput) ToDeploymentLabelEntryResponseA return o } +func (o DeploymentLabelEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentLabelEntryResponse] { + return pulumix.Output[[]DeploymentLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o DeploymentLabelEntryResponseArrayOutput) Index(i pulumi.IntInput) DeploymentLabelEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentLabelEntryResponse { return vs[0].([]DeploymentLabelEntryResponse)[vs[1].(int)] @@ -861,6 +1036,12 @@ func (o DeploymentUpdateLabelEntryResponseOutput) ToDeploymentUpdateLabelEntryRe return o } +func (o DeploymentUpdateLabelEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentUpdateLabelEntryResponse] { + return pulumix.Output[DeploymentUpdateLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o DeploymentUpdateLabelEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v DeploymentUpdateLabelEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -885,6 +1066,12 @@ func (o DeploymentUpdateLabelEntryResponseArrayOutput) ToDeploymentUpdateLabelEn return o } +func (o DeploymentUpdateLabelEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentUpdateLabelEntryResponse] { + return pulumix.Output[[]DeploymentUpdateLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o DeploymentUpdateLabelEntryResponseArrayOutput) Index(i pulumi.IntInput) DeploymentUpdateLabelEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentUpdateLabelEntryResponse { return vs[0].([]DeploymentUpdateLabelEntryResponse)[vs[1].(int)] @@ -914,6 +1101,12 @@ func (o DeploymentUpdateResponseOutput) ToDeploymentUpdateResponseOutputWithCont return o } +func (o DeploymentUpdateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentUpdateResponse] { + return pulumix.Output[DeploymentUpdateResponse]{ + OutputState: o.OutputState, + } +} + // An optional user-provided description of the deployment after the current update has been applied. func (o DeploymentUpdateResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v DeploymentUpdateResponse) string { return v.Description }).(pulumi.StringOutput) @@ -976,6 +1169,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1017,6 +1216,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1042,6 +1247,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1076,6 +1287,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1153,6 +1370,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1210,6 +1433,12 @@ func (i ImportFileArgs) ToImportFileOutputWithContext(ctx context.Context) Impor return pulumi.ToOutputWithContext(ctx, i).(ImportFileOutput) } +func (i ImportFileArgs) ToOutput(ctx context.Context) pulumix.Output[ImportFile] { + return pulumix.Output[ImportFile]{ + OutputState: i.ToImportFileOutputWithContext(ctx).OutputState, + } +} + // ImportFileArrayInput is an input type that accepts ImportFileArray and ImportFileArrayOutput values. // You can construct a concrete instance of `ImportFileArrayInput` via: // @@ -1235,6 +1464,12 @@ func (i ImportFileArray) ToImportFileArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImportFileArrayOutput) } +func (i ImportFileArray) ToOutput(ctx context.Context) pulumix.Output[[]ImportFile] { + return pulumix.Output[[]ImportFile]{ + OutputState: i.ToImportFileArrayOutputWithContext(ctx).OutputState, + } +} + type ImportFileOutput struct{ *pulumi.OutputState } func (ImportFileOutput) ElementType() reflect.Type { @@ -1249,6 +1484,12 @@ func (o ImportFileOutput) ToImportFileOutputWithContext(ctx context.Context) Imp return o } +func (o ImportFileOutput) ToOutput(ctx context.Context) pulumix.Output[ImportFile] { + return pulumix.Output[ImportFile]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ImportFileOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v ImportFile) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -1273,6 +1514,12 @@ func (o ImportFileArrayOutput) ToImportFileArrayOutputWithContext(ctx context.Co return o } +func (o ImportFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ImportFile] { + return pulumix.Output[[]ImportFile]{ + OutputState: o.OutputState, + } +} + func (o ImportFileArrayOutput) Index(i pulumi.IntInput) ImportFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImportFile { return vs[0].([]ImportFile)[vs[1].(int)] @@ -1300,6 +1547,12 @@ func (o ImportFileResponseOutput) ToImportFileResponseOutputWithContext(ctx cont return o } +func (o ImportFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImportFileResponse] { + return pulumix.Output[ImportFileResponse]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ImportFileResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v ImportFileResponse) string { return v.Content }).(pulumi.StringOutput) @@ -1324,6 +1577,12 @@ func (o ImportFileResponseArrayOutput) ToImportFileResponseArrayOutputWithContex return o } +func (o ImportFileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ImportFileResponse] { + return pulumix.Output[[]ImportFileResponse]{ + OutputState: o.OutputState, + } +} + func (o ImportFileResponseArrayOutput) Index(i pulumi.IntInput) ImportFileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImportFileResponse { return vs[0].([]ImportFileResponse)[vs[1].(int)] @@ -1353,6 +1612,12 @@ func (o OperationErrorErrorsItemResponseOutput) ToOperationErrorErrorsItemRespon return o } +func (o OperationErrorErrorsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationErrorErrorsItemResponse] { + return pulumix.Output[OperationErrorErrorsItemResponse]{ + OutputState: o.OutputState, + } +} + // The error type identifier for this error. func (o OperationErrorErrorsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v OperationErrorErrorsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -1382,6 +1647,12 @@ func (o OperationErrorErrorsItemResponseArrayOutput) ToOperationErrorErrorsItemR return o } +func (o OperationErrorErrorsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OperationErrorErrorsItemResponse] { + return pulumix.Output[[]OperationErrorErrorsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o OperationErrorErrorsItemResponseArrayOutput) Index(i pulumi.IntInput) OperationErrorErrorsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OperationErrorErrorsItemResponse { return vs[0].([]OperationErrorErrorsItemResponse)[vs[1].(int)] @@ -1409,6 +1680,12 @@ func (o OperationErrorResponseOutput) ToOperationErrorResponseOutputWithContext( return o } +func (o OperationErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationErrorResponse] { + return pulumix.Output[OperationErrorResponse]{ + OutputState: o.OutputState, + } +} + // The array of errors encountered while processing this operation. func (o OperationErrorResponseOutput) Errors() OperationErrorErrorsItemResponseArrayOutput { return o.ApplyT(func(v OperationErrorResponse) []OperationErrorErrorsItemResponse { return v.Errors }).(OperationErrorErrorsItemResponseArrayOutput) @@ -1481,6 +1758,12 @@ func (o OperationResponseOutput) ToOperationResponseOutputWithContext(ctx contex return o } +func (o OperationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationResponse] { + return pulumix.Output[OperationResponse]{ + OutputState: o.OutputState, + } +} + // The value of `requestId` if you provided it in the request. Not present otherwise. func (o OperationResponseOutput) ClientOperationId() pulumi.StringOutput { return o.ApplyT(func(v OperationResponse) string { return v.ClientOperationId }).(pulumi.StringOutput) @@ -1619,6 +1902,12 @@ func (o OperationWarningsItemDataItemResponseOutput) ToOperationWarningsItemData return o } +func (o OperationWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationWarningsItemDataItemResponse] { + return pulumix.Output[OperationWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o OperationWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v OperationWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1643,6 +1932,12 @@ func (o OperationWarningsItemDataItemResponseArrayOutput) ToOperationWarningsIte return o } +func (o OperationWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OperationWarningsItemDataItemResponse] { + return pulumix.Output[[]OperationWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o OperationWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) OperationWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OperationWarningsItemDataItemResponse { return vs[0].([]OperationWarningsItemDataItemResponse)[vs[1].(int)] @@ -1672,6 +1967,12 @@ func (o OperationWarningsItemResponseOutput) ToOperationWarningsItemResponseOutp return o } +func (o OperationWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationWarningsItemResponse] { + return pulumix.Output[OperationWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o OperationWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v OperationWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -1701,6 +2002,12 @@ func (o OperationWarningsItemResponseArrayOutput) ToOperationWarningsItemRespons return o } +func (o OperationWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OperationWarningsItemResponse] { + return pulumix.Output[[]OperationWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o OperationWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) OperationWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OperationWarningsItemResponse { return vs[0].([]OperationWarningsItemResponse)[vs[1].(int)] @@ -1744,6 +2051,12 @@ func (i TargetConfigurationArgs) ToTargetConfigurationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TargetConfigurationOutput) } +func (i TargetConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[TargetConfiguration] { + return pulumix.Output[TargetConfiguration]{ + OutputState: i.ToTargetConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i TargetConfigurationArgs) ToTargetConfigurationPtrOutput() TargetConfigurationPtrOutput { return i.ToTargetConfigurationPtrOutputWithContext(context.Background()) } @@ -1785,6 +2098,12 @@ func (i *targetConfigurationPtrType) ToTargetConfigurationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(TargetConfigurationPtrOutput) } +func (i *targetConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*TargetConfiguration] { + return pulumix.Output[*TargetConfiguration]{ + OutputState: i.ToTargetConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + type TargetConfigurationOutput struct{ *pulumi.OutputState } func (TargetConfigurationOutput) ElementType() reflect.Type { @@ -1809,6 +2128,12 @@ func (o TargetConfigurationOutput) ToTargetConfigurationPtrOutputWithContext(ctx }).(TargetConfigurationPtrOutput) } +func (o TargetConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[TargetConfiguration] { + return pulumix.Output[TargetConfiguration]{ + OutputState: o.OutputState, + } +} + // The configuration to use for this deployment. func (o TargetConfigurationOutput) Config() ConfigFilePtrOutput { return o.ApplyT(func(v TargetConfiguration) *ConfigFile { return v.Config }).(ConfigFilePtrOutput) @@ -1833,6 +2158,12 @@ func (o TargetConfigurationPtrOutput) ToTargetConfigurationPtrOutputWithContext( return o } +func (o TargetConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetConfiguration] { + return pulumix.Output[*TargetConfiguration]{ + OutputState: o.OutputState, + } +} + func (o TargetConfigurationPtrOutput) Elem() TargetConfigurationOutput { return o.ApplyT(func(v *TargetConfiguration) TargetConfiguration { if v != nil { @@ -1884,6 +2215,12 @@ func (o TargetConfigurationResponseOutput) ToTargetConfigurationResponseOutputWi return o } +func (o TargetConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TargetConfigurationResponse] { + return pulumix.Output[TargetConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // The configuration to use for this deployment. func (o TargetConfigurationResponseOutput) Config() ConfigFileResponseOutput { return o.ApplyT(func(v TargetConfigurationResponse) ConfigFileResponse { return v.Config }).(ConfigFileResponseOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/compositeType.go b/sdk/go/google/deploymentmanager/v2beta/compositeType.go index d580dc400b..8ae87da1c5 100644 --- a/sdk/go/google/deploymentmanager/v2beta/compositeType.go +++ b/sdk/go/google/deploymentmanager/v2beta/compositeType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a composite type. @@ -126,6 +127,12 @@ func (i *CompositeType) ToCompositeTypeOutputWithContext(ctx context.Context) Co return pulumi.ToOutputWithContext(ctx, i).(CompositeTypeOutput) } +func (i *CompositeType) ToOutput(ctx context.Context) pulumix.Output[*CompositeType] { + return pulumix.Output[*CompositeType]{ + OutputState: i.ToCompositeTypeOutputWithContext(ctx).OutputState, + } +} + type CompositeTypeOutput struct{ *pulumi.OutputState } func (CompositeTypeOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o CompositeTypeOutput) ToCompositeTypeOutputWithContext(ctx context.Contex return o } +func (o CompositeTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*CompositeType] { + return pulumix.Output[*CompositeType]{ + OutputState: o.OutputState, + } +} + // An optional textual description of the resource; provided by the client when the resource is created. func (o CompositeTypeOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *CompositeType) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/deployment.go b/sdk/go/google/deploymentmanager/v2beta/deployment.go index 956a28be4e..7607a2c08c 100644 --- a/sdk/go/google/deploymentmanager/v2beta/deployment.go +++ b/sdk/go/google/deploymentmanager/v2beta/deployment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a deployment and all of the resources described by the deployment manifest. @@ -145,6 +146,12 @@ func (i *Deployment) ToDeploymentOutputWithContext(ctx context.Context) Deployme return pulumi.ToOutputWithContext(ctx, i).(DeploymentOutput) } +func (i *Deployment) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: i.ToDeploymentOutputWithContext(ctx).OutputState, + } +} + type DeploymentOutput struct{ *pulumi.OutputState } func (DeploymentOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) Dep return o } +func (o DeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[*Deployment] { + return pulumix.Output[*Deployment]{ + OutputState: o.OutputState, + } +} + // Sets the policy to use for creating new resources. func (o DeploymentOutput) CreatePolicy() pulumi.StringPtrOutput { return o.ApplyT(func(v *Deployment) pulumi.StringPtrOutput { return v.CreatePolicy }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/deploymentIamBinding.go b/sdk/go/google/deploymentmanager/v2beta/deploymentIamBinding.go index 61b784e729..76ab9b0d22 100644 --- a/sdk/go/google/deploymentmanager/v2beta/deploymentIamBinding.go +++ b/sdk/go/google/deploymentmanager/v2beta/deploymentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DeploymentIamBinding) ToDeploymentIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DeploymentIamBindingOutput) } +func (i *DeploymentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamBinding] { + return pulumix.Output[*DeploymentIamBinding]{ + OutputState: i.ToDeploymentIamBindingOutputWithContext(ctx).OutputState, + } +} + type DeploymentIamBindingOutput struct{ *pulumi.OutputState } func (DeploymentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DeploymentIamBindingOutput) ToDeploymentIamBindingOutputWithContext(ctx return o } +func (o DeploymentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamBinding] { + return pulumix.Output[*DeploymentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DeploymentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DeploymentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/deploymentIamMember.go b/sdk/go/google/deploymentmanager/v2beta/deploymentIamMember.go index 113d78c758..de6d727177 100644 --- a/sdk/go/google/deploymentmanager/v2beta/deploymentIamMember.go +++ b/sdk/go/google/deploymentmanager/v2beta/deploymentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *DeploymentIamMember) ToDeploymentIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DeploymentIamMemberOutput) } +func (i *DeploymentIamMember) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamMember] { + return pulumix.Output[*DeploymentIamMember]{ + OutputState: i.ToDeploymentIamMemberOutputWithContext(ctx).OutputState, + } +} + type DeploymentIamMemberOutput struct{ *pulumi.OutputState } func (DeploymentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DeploymentIamMemberOutput) ToDeploymentIamMemberOutputWithContext(ctx co return o } +func (o DeploymentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamMember] { + return pulumix.Output[*DeploymentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DeploymentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DeploymentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/deploymentIamPolicy.go b/sdk/go/google/deploymentmanager/v2beta/deploymentIamPolicy.go index da29c2d37e..40d24ce934 100644 --- a/sdk/go/google/deploymentmanager/v2beta/deploymentIamPolicy.go +++ b/sdk/go/google/deploymentmanager/v2beta/deploymentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -127,6 +128,12 @@ func (i *DeploymentIamPolicy) ToDeploymentIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DeploymentIamPolicyOutput) } +func (i *DeploymentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamPolicy] { + return pulumix.Output[*DeploymentIamPolicy]{ + OutputState: i.ToDeploymentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DeploymentIamPolicyOutput struct{ *pulumi.OutputState } func (DeploymentIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o DeploymentIamPolicyOutput) ToDeploymentIamPolicyOutputWithContext(ctx co return o } +func (o DeploymentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DeploymentIamPolicy] { + return pulumix.Output[*DeploymentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DeploymentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DeploymentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/getCompositeType.go b/sdk/go/google/deploymentmanager/v2beta/getCompositeType.go index c8393c8444..4c9ad6b47a 100644 --- a/sdk/go/google/deploymentmanager/v2beta/getCompositeType.go +++ b/sdk/go/google/deploymentmanager/v2beta/getCompositeType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a specific composite type. @@ -81,6 +82,12 @@ func (o LookupCompositeTypeResultOutput) ToLookupCompositeTypeResultOutputWithCo return o } +func (o LookupCompositeTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCompositeTypeResult] { + return pulumix.Output[LookupCompositeTypeResult]{ + OutputState: o.OutputState, + } +} + // An optional textual description of the resource; provided by the client when the resource is created. func (o LookupCompositeTypeResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupCompositeTypeResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/getDeployment.go b/sdk/go/google/deploymentmanager/v2beta/getDeployment.go index 76a10ae74b..8875c6e41d 100644 --- a/sdk/go/google/deploymentmanager/v2beta/getDeployment.go +++ b/sdk/go/google/deploymentmanager/v2beta/getDeployment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a specific deployment. @@ -88,6 +89,12 @@ func (o LookupDeploymentResultOutput) ToLookupDeploymentResultOutputWithContext( return o } +func (o LookupDeploymentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeploymentResult] { + return pulumix.Output[LookupDeploymentResult]{ + OutputState: o.OutputState, + } +} + // An optional user-provided description of the deployment. func (o LookupDeploymentResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupDeploymentResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/getDeploymentIamPolicy.go b/sdk/go/google/deploymentmanager/v2beta/getDeploymentIamPolicy.go index bce368878d..9578369c85 100644 --- a/sdk/go/google/deploymentmanager/v2beta/getDeploymentIamPolicy.go +++ b/sdk/go/google/deploymentmanager/v2beta/getDeploymentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. May be empty if no such policy or resource exists. @@ -76,6 +77,12 @@ func (o LookupDeploymentIamPolicyResultOutput) ToLookupDeploymentIamPolicyResult return o } +func (o LookupDeploymentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeploymentIamPolicyResult] { + return pulumix.Output[LookupDeploymentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDeploymentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDeploymentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/getTypeProvider.go b/sdk/go/google/deploymentmanager/v2beta/getTypeProvider.go index 9d87375dfc..67f0b3a060 100644 --- a/sdk/go/google/deploymentmanager/v2beta/getTypeProvider.go +++ b/sdk/go/google/deploymentmanager/v2beta/getTypeProvider.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a specific type provider. @@ -88,6 +89,12 @@ func (o LookupTypeProviderResultOutput) ToLookupTypeProviderResultOutputWithCont return o } +func (o LookupTypeProviderResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTypeProviderResult] { + return pulumix.Output[LookupTypeProviderResult]{ + OutputState: o.OutputState, + } +} + // Allows resource handling overrides for specific collections func (o LookupTypeProviderResultOutput) CollectionOverrides() CollectionOverrideResponseArrayOutput { return o.ApplyT(func(v LookupTypeProviderResult) []CollectionOverrideResponse { return v.CollectionOverrides }).(CollectionOverrideResponseArrayOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/pulumiEnums.go b/sdk/go/google/deploymentmanager/v2beta/pulumiEnums.go index 8e74c58585..7b8d8889e2 100644 --- a/sdk/go/google/deploymentmanager/v2beta/pulumiEnums.go +++ b/sdk/go/google/deploymentmanager/v2beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + type CompositeTypeStatus string const ( @@ -263,6 +282,12 @@ func (o DiagnosticLevelOutput) ToDiagnosticLevelPtrOutputWithContext(ctx context }).(DiagnosticLevelPtrOutput) } +func (o DiagnosticLevelOutput) ToOutput(ctx context.Context) pulumix.Output[DiagnosticLevel] { + return pulumix.Output[DiagnosticLevel]{ + OutputState: o.OutputState, + } +} + func (o DiagnosticLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -298,6 +323,12 @@ func (o DiagnosticLevelPtrOutput) ToDiagnosticLevelPtrOutputWithContext(ctx cont return o } +func (o DiagnosticLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiagnosticLevel] { + return pulumix.Output[*DiagnosticLevel]{ + OutputState: o.OutputState, + } +} + func (o DiagnosticLevelPtrOutput) Elem() DiagnosticLevelOutput { return o.ApplyT(func(v *DiagnosticLevel) DiagnosticLevel { if v != nil { @@ -360,6 +391,12 @@ func (in *diagnosticLevelPtr) ToDiagnosticLevelPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(DiagnosticLevelPtrOutput) } +func (in *diagnosticLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*DiagnosticLevel] { + return pulumix.Output[*DiagnosticLevel]{ + OutputState: in.ToDiagnosticLevelPtrOutputWithContext(ctx).OutputState, + } +} + // The location where this mapping applies. type InputMappingLocation string @@ -431,6 +468,12 @@ func (o InputMappingLocationOutput) ToInputMappingLocationPtrOutputWithContext(c }).(InputMappingLocationPtrOutput) } +func (o InputMappingLocationOutput) ToOutput(ctx context.Context) pulumix.Output[InputMappingLocation] { + return pulumix.Output[InputMappingLocation]{ + OutputState: o.OutputState, + } +} + func (o InputMappingLocationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -466,6 +509,12 @@ func (o InputMappingLocationPtrOutput) ToInputMappingLocationPtrOutputWithContex return o } +func (o InputMappingLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InputMappingLocation] { + return pulumix.Output[*InputMappingLocation]{ + OutputState: o.OutputState, + } +} + func (o InputMappingLocationPtrOutput) Elem() InputMappingLocationOutput { return o.ApplyT(func(v *InputMappingLocation) InputMappingLocation { if v != nil { @@ -528,6 +577,12 @@ func (in *inputMappingLocationPtr) ToInputMappingLocationPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InputMappingLocationPtrOutput) } +func (in *inputMappingLocationPtr) ToOutput(ctx context.Context) pulumix.Output[*InputMappingLocation] { + return pulumix.Output[*InputMappingLocation]{ + OutputState: in.ToInputMappingLocationPtrOutputWithContext(ctx).OutputState, + } +} + // Which interpreter (python or jinja) should be used during expansion. type TemplateContentsInterpreter string @@ -597,6 +652,12 @@ func (o TemplateContentsInterpreterOutput) ToTemplateContentsInterpreterPtrOutpu }).(TemplateContentsInterpreterPtrOutput) } +func (o TemplateContentsInterpreterOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateContentsInterpreter] { + return pulumix.Output[TemplateContentsInterpreter]{ + OutputState: o.OutputState, + } +} + func (o TemplateContentsInterpreterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -632,6 +693,12 @@ func (o TemplateContentsInterpreterPtrOutput) ToTemplateContentsInterpreterPtrOu return o } +func (o TemplateContentsInterpreterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TemplateContentsInterpreter] { + return pulumix.Output[*TemplateContentsInterpreter]{ + OutputState: o.OutputState, + } +} + func (o TemplateContentsInterpreterPtrOutput) Elem() TemplateContentsInterpreterOutput { return o.ApplyT(func(v *TemplateContentsInterpreter) TemplateContentsInterpreter { if v != nil { @@ -694,6 +761,12 @@ func (in *templateContentsInterpreterPtr) ToTemplateContentsInterpreterPtrOutput return pulumi.ToOutputWithContext(ctx, in).(TemplateContentsInterpreterPtrOutput) } +func (in *templateContentsInterpreterPtr) ToOutput(ctx context.Context) pulumix.Output[*TemplateContentsInterpreter] { + return pulumix.Output[*TemplateContentsInterpreter]{ + OutputState: in.ToTemplateContentsInterpreterPtrOutputWithContext(ctx).OutputState, + } +} + // Customize how deployment manager will validate the resource against schema errors. type ValidationOptionsSchemaValidation string @@ -767,6 +840,12 @@ func (o ValidationOptionsSchemaValidationOutput) ToValidationOptionsSchemaValida }).(ValidationOptionsSchemaValidationPtrOutput) } +func (o ValidationOptionsSchemaValidationOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationOptionsSchemaValidation] { + return pulumix.Output[ValidationOptionsSchemaValidation]{ + OutputState: o.OutputState, + } +} + func (o ValidationOptionsSchemaValidationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -802,6 +881,12 @@ func (o ValidationOptionsSchemaValidationPtrOutput) ToValidationOptionsSchemaVal return o } +func (o ValidationOptionsSchemaValidationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptionsSchemaValidation] { + return pulumix.Output[*ValidationOptionsSchemaValidation]{ + OutputState: o.OutputState, + } +} + func (o ValidationOptionsSchemaValidationPtrOutput) Elem() ValidationOptionsSchemaValidationOutput { return o.ApplyT(func(v *ValidationOptionsSchemaValidation) ValidationOptionsSchemaValidation { if v != nil { @@ -864,6 +949,12 @@ func (in *validationOptionsSchemaValidationPtr) ToValidationOptionsSchemaValidat return pulumi.ToOutputWithContext(ctx, in).(ValidationOptionsSchemaValidationPtrOutput) } +func (in *validationOptionsSchemaValidationPtr) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptionsSchemaValidation] { + return pulumix.Output[*ValidationOptionsSchemaValidation]{ + OutputState: in.ToValidationOptionsSchemaValidationPtrOutputWithContext(ctx).OutputState, + } +} + // Specify what to do with extra properties when executing a request. type ValidationOptionsUndeclaredProperties string @@ -941,6 +1032,12 @@ func (o ValidationOptionsUndeclaredPropertiesOutput) ToValidationOptionsUndeclar }).(ValidationOptionsUndeclaredPropertiesPtrOutput) } +func (o ValidationOptionsUndeclaredPropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationOptionsUndeclaredProperties] { + return pulumix.Output[ValidationOptionsUndeclaredProperties]{ + OutputState: o.OutputState, + } +} + func (o ValidationOptionsUndeclaredPropertiesOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -976,6 +1073,12 @@ func (o ValidationOptionsUndeclaredPropertiesPtrOutput) ToValidationOptionsUndec return o } +func (o ValidationOptionsUndeclaredPropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptionsUndeclaredProperties] { + return pulumix.Output[*ValidationOptionsUndeclaredProperties]{ + OutputState: o.OutputState, + } +} + func (o ValidationOptionsUndeclaredPropertiesPtrOutput) Elem() ValidationOptionsUndeclaredPropertiesOutput { return o.ApplyT(func(v *ValidationOptionsUndeclaredProperties) ValidationOptionsUndeclaredProperties { if v != nil { @@ -1038,6 +1141,12 @@ func (in *validationOptionsUndeclaredPropertiesPtr) ToValidationOptionsUndeclare return pulumi.ToOutputWithContext(ctx, in).(ValidationOptionsUndeclaredPropertiesPtrOutput) } +func (in *validationOptionsUndeclaredPropertiesPtr) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptionsUndeclaredProperties] { + return pulumix.Output[*ValidationOptionsUndeclaredProperties]{ + OutputState: in.ToValidationOptionsUndeclaredPropertiesPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/deploymentmanager/v2beta/pulumiTypes.go b/sdk/go/google/deploymentmanager/v2beta/pulumiTypes.go index 08e787cae6..57f78d90d8 100644 --- a/sdk/go/google/deploymentmanager/v2beta/pulumiTypes.go +++ b/sdk/go/google/deploymentmanager/v2beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AsyncOptionsArgs) ToAsyncOptionsOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AsyncOptionsOutput) } +func (i AsyncOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[AsyncOptions] { + return pulumix.Output[AsyncOptions]{ + OutputState: i.ToAsyncOptionsOutputWithContext(ctx).OutputState, + } +} + // AsyncOptionsArrayInput is an input type that accepts AsyncOptionsArray and AsyncOptionsArrayOutput values. // You can construct a concrete instance of `AsyncOptionsArrayInput` via: // @@ -77,6 +84,12 @@ func (i AsyncOptionsArray) ToAsyncOptionsArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AsyncOptionsArrayOutput) } +func (i AsyncOptionsArray) ToOutput(ctx context.Context) pulumix.Output[[]AsyncOptions] { + return pulumix.Output[[]AsyncOptions]{ + OutputState: i.ToAsyncOptionsArrayOutputWithContext(ctx).OutputState, + } +} + // Async options that determine when a resource should finish. type AsyncOptionsOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AsyncOptionsOutput) ToAsyncOptionsOutputWithContext(ctx context.Context) return o } +func (o AsyncOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[AsyncOptions] { + return pulumix.Output[AsyncOptions]{ + OutputState: o.OutputState, + } +} + // Method regex where this policy will apply. func (o AsyncOptionsOutput) MethodMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v AsyncOptions) *string { return v.MethodMatch }).(pulumi.StringPtrOutput) @@ -116,6 +135,12 @@ func (o AsyncOptionsArrayOutput) ToAsyncOptionsArrayOutputWithContext(ctx contex return o } +func (o AsyncOptionsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AsyncOptions] { + return pulumix.Output[[]AsyncOptions]{ + OutputState: o.OutputState, + } +} + func (o AsyncOptionsArrayOutput) Index(i pulumi.IntInput) AsyncOptionsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AsyncOptions { return vs[0].([]AsyncOptions)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AsyncOptionsResponseOutput) ToAsyncOptionsResponseOutputWithContext(ctx return o } +func (o AsyncOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AsyncOptionsResponse] { + return pulumix.Output[AsyncOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Method regex where this policy will apply. func (o AsyncOptionsResponseOutput) MethodMatch() pulumi.StringOutput { return o.ApplyT(func(v AsyncOptionsResponse) string { return v.MethodMatch }).(pulumi.StringOutput) @@ -169,6 +200,12 @@ func (o AsyncOptionsResponseArrayOutput) ToAsyncOptionsResponseArrayOutputWithCo return o } +func (o AsyncOptionsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AsyncOptionsResponse] { + return pulumix.Output[[]AsyncOptionsResponse]{ + OutputState: o.OutputState, + } +} + func (o AsyncOptionsResponseArrayOutput) Index(i pulumi.IntInput) AsyncOptionsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AsyncOptionsResponse { return vs[0].([]AsyncOptionsResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -278,6 +333,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -331,6 +398,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -376,6 +449,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -401,6 +480,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -416,6 +501,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -440,6 +531,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -469,6 +566,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -493,6 +596,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -534,6 +643,12 @@ func (i BasicAuthArgs) ToBasicAuthOutputWithContext(ctx context.Context) BasicAu return pulumi.ToOutputWithContext(ctx, i).(BasicAuthOutput) } +func (i BasicAuthArgs) ToOutput(ctx context.Context) pulumix.Output[BasicAuth] { + return pulumix.Output[BasicAuth]{ + OutputState: i.ToBasicAuthOutputWithContext(ctx).OutputState, + } +} + func (i BasicAuthArgs) ToBasicAuthPtrOutput() BasicAuthPtrOutput { return i.ToBasicAuthPtrOutputWithContext(context.Background()) } @@ -575,6 +690,12 @@ func (i *basicAuthPtrType) ToBasicAuthPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BasicAuthPtrOutput) } +func (i *basicAuthPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicAuth] { + return pulumix.Output[*BasicAuth]{ + OutputState: i.ToBasicAuthPtrOutputWithContext(ctx).OutputState, + } +} + // Basic Auth used as a credential. type BasicAuthOutput struct{ *pulumi.OutputState } @@ -600,6 +721,12 @@ func (o BasicAuthOutput) ToBasicAuthPtrOutputWithContext(ctx context.Context) Ba }).(BasicAuthPtrOutput) } +func (o BasicAuthOutput) ToOutput(ctx context.Context) pulumix.Output[BasicAuth] { + return pulumix.Output[BasicAuth]{ + OutputState: o.OutputState, + } +} + func (o BasicAuthOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v BasicAuth) *string { return v.Password }).(pulumi.StringPtrOutput) } @@ -622,6 +749,12 @@ func (o BasicAuthPtrOutput) ToBasicAuthPtrOutputWithContext(ctx context.Context) return o } +func (o BasicAuthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicAuth] { + return pulumix.Output[*BasicAuth]{ + OutputState: o.OutputState, + } +} + func (o BasicAuthPtrOutput) Elem() BasicAuthOutput { return o.ApplyT(func(v *BasicAuth) BasicAuth { if v != nil { @@ -671,6 +804,12 @@ func (o BasicAuthResponseOutput) ToBasicAuthResponseOutputWithContext(ctx contex return o } +func (o BasicAuthResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicAuthResponse] { + return pulumix.Output[BasicAuthResponse]{ + OutputState: o.OutputState, + } +} + func (o BasicAuthResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v BasicAuthResponse) string { return v.Password }).(pulumi.StringOutput) } @@ -722,6 +861,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -747,6 +892,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -762,6 +913,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -791,6 +948,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -822,6 +985,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -851,6 +1020,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -896,6 +1071,12 @@ func (i CollectionOverrideArgs) ToCollectionOverrideOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CollectionOverrideOutput) } +func (i CollectionOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[CollectionOverride] { + return pulumix.Output[CollectionOverride]{ + OutputState: i.ToCollectionOverrideOutputWithContext(ctx).OutputState, + } +} + // CollectionOverrideArrayInput is an input type that accepts CollectionOverrideArray and CollectionOverrideArrayOutput values. // You can construct a concrete instance of `CollectionOverrideArrayInput` via: // @@ -921,6 +1102,12 @@ func (i CollectionOverrideArray) ToCollectionOverrideArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CollectionOverrideArrayOutput) } +func (i CollectionOverrideArray) ToOutput(ctx context.Context) pulumix.Output[[]CollectionOverride] { + return pulumix.Output[[]CollectionOverride]{ + OutputState: i.ToCollectionOverrideArrayOutputWithContext(ctx).OutputState, + } +} + // CollectionOverride allows resource handling overrides for specific resources within a BaseType type CollectionOverrideOutput struct{ *pulumi.OutputState } @@ -936,6 +1123,12 @@ func (o CollectionOverrideOutput) ToCollectionOverrideOutputWithContext(ctx cont return o } +func (o CollectionOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[CollectionOverride] { + return pulumix.Output[CollectionOverride]{ + OutputState: o.OutputState, + } +} + // The collection that identifies this resource within its service. func (o CollectionOverrideOutput) Collection() pulumi.StringPtrOutput { return o.ApplyT(func(v CollectionOverride) *string { return v.Collection }).(pulumi.StringPtrOutput) @@ -960,6 +1153,12 @@ func (o CollectionOverrideArrayOutput) ToCollectionOverrideArrayOutputWithContex return o } +func (o CollectionOverrideArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CollectionOverride] { + return pulumix.Output[[]CollectionOverride]{ + OutputState: o.OutputState, + } +} + func (o CollectionOverrideArrayOutput) Index(i pulumi.IntInput) CollectionOverrideOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CollectionOverride { return vs[0].([]CollectionOverride)[vs[1].(int)] @@ -989,6 +1188,12 @@ func (o CollectionOverrideResponseOutput) ToCollectionOverrideResponseOutputWith return o } +func (o CollectionOverrideResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CollectionOverrideResponse] { + return pulumix.Output[CollectionOverrideResponse]{ + OutputState: o.OutputState, + } +} + // The collection that identifies this resource within its service. func (o CollectionOverrideResponseOutput) Collection() pulumi.StringOutput { return o.ApplyT(func(v CollectionOverrideResponse) string { return v.Collection }).(pulumi.StringOutput) @@ -1013,6 +1218,12 @@ func (o CollectionOverrideResponseArrayOutput) ToCollectionOverrideResponseArray return o } +func (o CollectionOverrideResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CollectionOverrideResponse] { + return pulumix.Output[[]CollectionOverrideResponse]{ + OutputState: o.OutputState, + } +} + func (o CollectionOverrideResponseArrayOutput) Index(i pulumi.IntInput) CollectionOverrideResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CollectionOverrideResponse { return vs[0].([]CollectionOverrideResponse)[vs[1].(int)] @@ -1058,6 +1269,12 @@ func (i CompositeTypeLabelEntryArgs) ToCompositeTypeLabelEntryOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(CompositeTypeLabelEntryOutput) } +func (i CompositeTypeLabelEntryArgs) ToOutput(ctx context.Context) pulumix.Output[CompositeTypeLabelEntry] { + return pulumix.Output[CompositeTypeLabelEntry]{ + OutputState: i.ToCompositeTypeLabelEntryOutputWithContext(ctx).OutputState, + } +} + // CompositeTypeLabelEntryArrayInput is an input type that accepts CompositeTypeLabelEntryArray and CompositeTypeLabelEntryArrayOutput values. // You can construct a concrete instance of `CompositeTypeLabelEntryArrayInput` via: // @@ -1083,6 +1300,12 @@ func (i CompositeTypeLabelEntryArray) ToCompositeTypeLabelEntryArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(CompositeTypeLabelEntryArrayOutput) } +func (i CompositeTypeLabelEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]CompositeTypeLabelEntry] { + return pulumix.Output[[]CompositeTypeLabelEntry]{ + OutputState: i.ToCompositeTypeLabelEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Label object for CompositeTypes type CompositeTypeLabelEntryOutput struct{ *pulumi.OutputState } @@ -1098,6 +1321,12 @@ func (o CompositeTypeLabelEntryOutput) ToCompositeTypeLabelEntryOutputWithContex return o } +func (o CompositeTypeLabelEntryOutput) ToOutput(ctx context.Context) pulumix.Output[CompositeTypeLabelEntry] { + return pulumix.Output[CompositeTypeLabelEntry]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o CompositeTypeLabelEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v CompositeTypeLabelEntry) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -1122,6 +1351,12 @@ func (o CompositeTypeLabelEntryArrayOutput) ToCompositeTypeLabelEntryArrayOutput return o } +func (o CompositeTypeLabelEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CompositeTypeLabelEntry] { + return pulumix.Output[[]CompositeTypeLabelEntry]{ + OutputState: o.OutputState, + } +} + func (o CompositeTypeLabelEntryArrayOutput) Index(i pulumi.IntInput) CompositeTypeLabelEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CompositeTypeLabelEntry { return vs[0].([]CompositeTypeLabelEntry)[vs[1].(int)] @@ -1151,6 +1386,12 @@ func (o CompositeTypeLabelEntryResponseOutput) ToCompositeTypeLabelEntryResponse return o } +func (o CompositeTypeLabelEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompositeTypeLabelEntryResponse] { + return pulumix.Output[CompositeTypeLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o CompositeTypeLabelEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v CompositeTypeLabelEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1175,6 +1416,12 @@ func (o CompositeTypeLabelEntryResponseArrayOutput) ToCompositeTypeLabelEntryRes return o } +func (o CompositeTypeLabelEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CompositeTypeLabelEntryResponse] { + return pulumix.Output[[]CompositeTypeLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o CompositeTypeLabelEntryResponseArrayOutput) Index(i pulumi.IntInput) CompositeTypeLabelEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CompositeTypeLabelEntryResponse { return vs[0].([]CompositeTypeLabelEntryResponse)[vs[1].(int)] @@ -1214,6 +1461,12 @@ func (i ConfigFileArgs) ToConfigFileOutputWithContext(ctx context.Context) Confi return pulumi.ToOutputWithContext(ctx, i).(ConfigFileOutput) } +func (i ConfigFileArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigFile] { + return pulumix.Output[ConfigFile]{ + OutputState: i.ToConfigFileOutputWithContext(ctx).OutputState, + } +} + func (i ConfigFileArgs) ToConfigFilePtrOutput() ConfigFilePtrOutput { return i.ToConfigFilePtrOutputWithContext(context.Background()) } @@ -1255,6 +1508,12 @@ func (i *configFilePtrType) ToConfigFilePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ConfigFilePtrOutput) } +func (i *configFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfigFile] { + return pulumix.Output[*ConfigFile]{ + OutputState: i.ToConfigFilePtrOutputWithContext(ctx).OutputState, + } +} + type ConfigFileOutput struct{ *pulumi.OutputState } func (ConfigFileOutput) ElementType() reflect.Type { @@ -1279,6 +1538,12 @@ func (o ConfigFileOutput) ToConfigFilePtrOutputWithContext(ctx context.Context) }).(ConfigFilePtrOutput) } +func (o ConfigFileOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigFile] { + return pulumix.Output[ConfigFile]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ConfigFileOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v ConfigFile) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -1298,6 +1563,12 @@ func (o ConfigFilePtrOutput) ToConfigFilePtrOutputWithContext(ctx context.Contex return o } +func (o ConfigFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigFile] { + return pulumix.Output[*ConfigFile]{ + OutputState: o.OutputState, + } +} + func (o ConfigFilePtrOutput) Elem() ConfigFileOutput { return o.ApplyT(func(v *ConfigFile) ConfigFile { if v != nil { @@ -1337,6 +1608,12 @@ func (o ConfigFileResponseOutput) ToConfigFileResponseOutputWithContext(ctx cont return o } +func (o ConfigFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigFileResponse] { + return pulumix.Output[ConfigFileResponse]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ConfigFileResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v ConfigFileResponse) string { return v.Content }).(pulumi.StringOutput) @@ -1385,6 +1662,12 @@ func (i CredentialArgs) ToCredentialOutputWithContext(ctx context.Context) Crede return pulumi.ToOutputWithContext(ctx, i).(CredentialOutput) } +func (i CredentialArgs) ToOutput(ctx context.Context) pulumix.Output[Credential] { + return pulumix.Output[Credential]{ + OutputState: i.ToCredentialOutputWithContext(ctx).OutputState, + } +} + func (i CredentialArgs) ToCredentialPtrOutput() CredentialPtrOutput { return i.ToCredentialPtrOutputWithContext(context.Background()) } @@ -1426,6 +1709,12 @@ func (i *credentialPtrType) ToCredentialPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(CredentialPtrOutput) } +func (i *credentialPtrType) ToOutput(ctx context.Context) pulumix.Output[*Credential] { + return pulumix.Output[*Credential]{ + OutputState: i.ToCredentialPtrOutputWithContext(ctx).OutputState, + } +} + // The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted. type CredentialOutput struct{ *pulumi.OutputState } @@ -1451,6 +1740,12 @@ func (o CredentialOutput) ToCredentialPtrOutputWithContext(ctx context.Context) }).(CredentialPtrOutput) } +func (o CredentialOutput) ToOutput(ctx context.Context) pulumix.Output[Credential] { + return pulumix.Output[Credential]{ + OutputState: o.OutputState, + } +} + // Basic Auth Credential, only used by TypeProvider. func (o CredentialOutput) BasicAuth() BasicAuthPtrOutput { return o.ApplyT(func(v Credential) *BasicAuth { return v.BasicAuth }).(BasicAuthPtrOutput) @@ -1480,6 +1775,12 @@ func (o CredentialPtrOutput) ToCredentialPtrOutputWithContext(ctx context.Contex return o } +func (o CredentialPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Credential] { + return pulumix.Output[*Credential]{ + OutputState: o.OutputState, + } +} + func (o CredentialPtrOutput) Elem() CredentialOutput { return o.ApplyT(func(v *Credential) Credential { if v != nil { @@ -1545,6 +1846,12 @@ func (o CredentialResponseOutput) ToCredentialResponseOutputWithContext(ctx cont return o } +func (o CredentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CredentialResponse] { + return pulumix.Output[CredentialResponse]{ + OutputState: o.OutputState, + } +} + // Basic Auth Credential, only used by TypeProvider. func (o CredentialResponseOutput) BasicAuth() BasicAuthResponseOutput { return o.ApplyT(func(v CredentialResponse) BasicAuthResponse { return v.BasicAuth }).(BasicAuthResponseOutput) @@ -1599,6 +1906,12 @@ func (i DeploymentLabelEntryArgs) ToDeploymentLabelEntryOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DeploymentLabelEntryOutput) } +func (i DeploymentLabelEntryArgs) ToOutput(ctx context.Context) pulumix.Output[DeploymentLabelEntry] { + return pulumix.Output[DeploymentLabelEntry]{ + OutputState: i.ToDeploymentLabelEntryOutputWithContext(ctx).OutputState, + } +} + // DeploymentLabelEntryArrayInput is an input type that accepts DeploymentLabelEntryArray and DeploymentLabelEntryArrayOutput values. // You can construct a concrete instance of `DeploymentLabelEntryArrayInput` via: // @@ -1624,6 +1937,12 @@ func (i DeploymentLabelEntryArray) ToDeploymentLabelEntryArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(DeploymentLabelEntryArrayOutput) } +func (i DeploymentLabelEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentLabelEntry] { + return pulumix.Output[[]DeploymentLabelEntry]{ + OutputState: i.ToDeploymentLabelEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Label object for Deployments type DeploymentLabelEntryOutput struct{ *pulumi.OutputState } @@ -1639,6 +1958,12 @@ func (o DeploymentLabelEntryOutput) ToDeploymentLabelEntryOutputWithContext(ctx return o } +func (o DeploymentLabelEntryOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentLabelEntry] { + return pulumix.Output[DeploymentLabelEntry]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o DeploymentLabelEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentLabelEntry) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -1663,6 +1988,12 @@ func (o DeploymentLabelEntryArrayOutput) ToDeploymentLabelEntryArrayOutputWithCo return o } +func (o DeploymentLabelEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentLabelEntry] { + return pulumix.Output[[]DeploymentLabelEntry]{ + OutputState: o.OutputState, + } +} + func (o DeploymentLabelEntryArrayOutput) Index(i pulumi.IntInput) DeploymentLabelEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentLabelEntry { return vs[0].([]DeploymentLabelEntry)[vs[1].(int)] @@ -1692,6 +2023,12 @@ func (o DeploymentLabelEntryResponseOutput) ToDeploymentLabelEntryResponseOutput return o } +func (o DeploymentLabelEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentLabelEntryResponse] { + return pulumix.Output[DeploymentLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o DeploymentLabelEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v DeploymentLabelEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1716,6 +2053,12 @@ func (o DeploymentLabelEntryResponseArrayOutput) ToDeploymentLabelEntryResponseA return o } +func (o DeploymentLabelEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentLabelEntryResponse] { + return pulumix.Output[[]DeploymentLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o DeploymentLabelEntryResponseArrayOutput) Index(i pulumi.IntInput) DeploymentLabelEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentLabelEntryResponse { return vs[0].([]DeploymentLabelEntryResponse)[vs[1].(int)] @@ -1745,6 +2088,12 @@ func (o DeploymentUpdateLabelEntryResponseOutput) ToDeploymentUpdateLabelEntryRe return o } +func (o DeploymentUpdateLabelEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentUpdateLabelEntryResponse] { + return pulumix.Output[DeploymentUpdateLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o DeploymentUpdateLabelEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v DeploymentUpdateLabelEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1769,6 +2118,12 @@ func (o DeploymentUpdateLabelEntryResponseArrayOutput) ToDeploymentUpdateLabelEn return o } +func (o DeploymentUpdateLabelEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeploymentUpdateLabelEntryResponse] { + return pulumix.Output[[]DeploymentUpdateLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o DeploymentUpdateLabelEntryResponseArrayOutput) Index(i pulumi.IntInput) DeploymentUpdateLabelEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeploymentUpdateLabelEntryResponse { return vs[0].([]DeploymentUpdateLabelEntryResponse)[vs[1].(int)] @@ -1798,6 +2153,12 @@ func (o DeploymentUpdateResponseOutput) ToDeploymentUpdateResponseOutputWithCont return o } +func (o DeploymentUpdateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeploymentUpdateResponse] { + return pulumix.Output[DeploymentUpdateResponse]{ + OutputState: o.OutputState, + } +} + // An optional user-provided description of the deployment after the current update has been applied. func (o DeploymentUpdateResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v DeploymentUpdateResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1850,6 +2211,12 @@ func (i DiagnosticArgs) ToDiagnosticOutputWithContext(ctx context.Context) Diagn return pulumi.ToOutputWithContext(ctx, i).(DiagnosticOutput) } +func (i DiagnosticArgs) ToOutput(ctx context.Context) pulumix.Output[Diagnostic] { + return pulumix.Output[Diagnostic]{ + OutputState: i.ToDiagnosticOutputWithContext(ctx).OutputState, + } +} + // DiagnosticArrayInput is an input type that accepts DiagnosticArray and DiagnosticArrayOutput values. // You can construct a concrete instance of `DiagnosticArrayInput` via: // @@ -1875,6 +2242,12 @@ func (i DiagnosticArray) ToDiagnosticArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DiagnosticArrayOutput) } +func (i DiagnosticArray) ToOutput(ctx context.Context) pulumix.Output[[]Diagnostic] { + return pulumix.Output[[]Diagnostic]{ + OutputState: i.ToDiagnosticArrayOutputWithContext(ctx).OutputState, + } +} + type DiagnosticOutput struct{ *pulumi.OutputState } func (DiagnosticOutput) ElementType() reflect.Type { @@ -1889,6 +2262,12 @@ func (o DiagnosticOutput) ToDiagnosticOutputWithContext(ctx context.Context) Dia return o } +func (o DiagnosticOutput) ToOutput(ctx context.Context) pulumix.Output[Diagnostic] { + return pulumix.Output[Diagnostic]{ + OutputState: o.OutputState, + } +} + // JsonPath expression on the resource that if non empty, indicates that this field needs to be extracted as a diagnostic. func (o DiagnosticOutput) Field() pulumi.StringPtrOutput { return o.ApplyT(func(v Diagnostic) *string { return v.Field }).(pulumi.StringPtrOutput) @@ -1913,6 +2292,12 @@ func (o DiagnosticArrayOutput) ToDiagnosticArrayOutputWithContext(ctx context.Co return o } +func (o DiagnosticArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Diagnostic] { + return pulumix.Output[[]Diagnostic]{ + OutputState: o.OutputState, + } +} + func (o DiagnosticArrayOutput) Index(i pulumi.IntInput) DiagnosticOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Diagnostic { return vs[0].([]Diagnostic)[vs[1].(int)] @@ -1940,6 +2325,12 @@ func (o DiagnosticResponseOutput) ToDiagnosticResponseOutputWithContext(ctx cont return o } +func (o DiagnosticResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiagnosticResponse] { + return pulumix.Output[DiagnosticResponse]{ + OutputState: o.OutputState, + } +} + // JsonPath expression on the resource that if non empty, indicates that this field needs to be extracted as a diagnostic. func (o DiagnosticResponseOutput) Field() pulumi.StringOutput { return o.ApplyT(func(v DiagnosticResponse) string { return v.Field }).(pulumi.StringOutput) @@ -1964,6 +2355,12 @@ func (o DiagnosticResponseArrayOutput) ToDiagnosticResponseArrayOutputWithContex return o } +func (o DiagnosticResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiagnosticResponse] { + return pulumix.Output[[]DiagnosticResponse]{ + OutputState: o.OutputState, + } +} + func (o DiagnosticResponseArrayOutput) Index(i pulumi.IntInput) DiagnosticResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiagnosticResponse { return vs[0].([]DiagnosticResponse)[vs[1].(int)] @@ -2017,6 +2414,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -2058,6 +2461,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -2083,6 +2492,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2117,6 +2532,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -2194,6 +2615,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2251,6 +2678,12 @@ func (i ImportFileArgs) ToImportFileOutputWithContext(ctx context.Context) Impor return pulumi.ToOutputWithContext(ctx, i).(ImportFileOutput) } +func (i ImportFileArgs) ToOutput(ctx context.Context) pulumix.Output[ImportFile] { + return pulumix.Output[ImportFile]{ + OutputState: i.ToImportFileOutputWithContext(ctx).OutputState, + } +} + // ImportFileArrayInput is an input type that accepts ImportFileArray and ImportFileArrayOutput values. // You can construct a concrete instance of `ImportFileArrayInput` via: // @@ -2276,6 +2709,12 @@ func (i ImportFileArray) ToImportFileArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImportFileArrayOutput) } +func (i ImportFileArray) ToOutput(ctx context.Context) pulumix.Output[[]ImportFile] { + return pulumix.Output[[]ImportFile]{ + OutputState: i.ToImportFileArrayOutputWithContext(ctx).OutputState, + } +} + type ImportFileOutput struct{ *pulumi.OutputState } func (ImportFileOutput) ElementType() reflect.Type { @@ -2290,6 +2729,12 @@ func (o ImportFileOutput) ToImportFileOutputWithContext(ctx context.Context) Imp return o } +func (o ImportFileOutput) ToOutput(ctx context.Context) pulumix.Output[ImportFile] { + return pulumix.Output[ImportFile]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ImportFileOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v ImportFile) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -2314,6 +2759,12 @@ func (o ImportFileArrayOutput) ToImportFileArrayOutputWithContext(ctx context.Co return o } +func (o ImportFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ImportFile] { + return pulumix.Output[[]ImportFile]{ + OutputState: o.OutputState, + } +} + func (o ImportFileArrayOutput) Index(i pulumi.IntInput) ImportFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImportFile { return vs[0].([]ImportFile)[vs[1].(int)] @@ -2341,6 +2792,12 @@ func (o ImportFileResponseOutput) ToImportFileResponseOutputWithContext(ctx cont return o } +func (o ImportFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImportFileResponse] { + return pulumix.Output[ImportFileResponse]{ + OutputState: o.OutputState, + } +} + // The contents of the file. func (o ImportFileResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v ImportFileResponse) string { return v.Content }).(pulumi.StringOutput) @@ -2365,6 +2822,12 @@ func (o ImportFileResponseArrayOutput) ToImportFileResponseArrayOutputWithContex return o } +func (o ImportFileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ImportFileResponse] { + return pulumix.Output[[]ImportFileResponse]{ + OutputState: o.OutputState, + } +} + func (o ImportFileResponseArrayOutput) Index(i pulumi.IntInput) ImportFileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImportFileResponse { return vs[0].([]ImportFileResponse)[vs[1].(int)] @@ -2418,6 +2881,12 @@ func (i InputMappingArgs) ToInputMappingOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(InputMappingOutput) } +func (i InputMappingArgs) ToOutput(ctx context.Context) pulumix.Output[InputMapping] { + return pulumix.Output[InputMapping]{ + OutputState: i.ToInputMappingOutputWithContext(ctx).OutputState, + } +} + // InputMappingArrayInput is an input type that accepts InputMappingArray and InputMappingArrayOutput values. // You can construct a concrete instance of `InputMappingArrayInput` via: // @@ -2443,6 +2912,12 @@ func (i InputMappingArray) ToInputMappingArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(InputMappingArrayOutput) } +func (i InputMappingArray) ToOutput(ctx context.Context) pulumix.Output[[]InputMapping] { + return pulumix.Output[[]InputMapping]{ + OutputState: i.ToInputMappingArrayOutputWithContext(ctx).OutputState, + } +} + // InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API. type InputMappingOutput struct{ *pulumi.OutputState } @@ -2458,6 +2933,12 @@ func (o InputMappingOutput) ToInputMappingOutputWithContext(ctx context.Context) return o } +func (o InputMappingOutput) ToOutput(ctx context.Context) pulumix.Output[InputMapping] { + return pulumix.Output[InputMapping]{ + OutputState: o.OutputState, + } +} + // The name of the field that is going to be injected. func (o InputMappingOutput) FieldName() pulumi.StringPtrOutput { return o.ApplyT(func(v InputMapping) *string { return v.FieldName }).(pulumi.StringPtrOutput) @@ -2492,6 +2973,12 @@ func (o InputMappingArrayOutput) ToInputMappingArrayOutputWithContext(ctx contex return o } +func (o InputMappingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InputMapping] { + return pulumix.Output[[]InputMapping]{ + OutputState: o.OutputState, + } +} + func (o InputMappingArrayOutput) Index(i pulumi.IntInput) InputMappingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InputMapping { return vs[0].([]InputMapping)[vs[1].(int)] @@ -2525,6 +3012,12 @@ func (o InputMappingResponseOutput) ToInputMappingResponseOutputWithContext(ctx return o } +func (o InputMappingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InputMappingResponse] { + return pulumix.Output[InputMappingResponse]{ + OutputState: o.OutputState, + } +} + // The name of the field that is going to be injected. func (o InputMappingResponseOutput) FieldName() pulumi.StringOutput { return o.ApplyT(func(v InputMappingResponse) string { return v.FieldName }).(pulumi.StringOutput) @@ -2559,6 +3052,12 @@ func (o InputMappingResponseArrayOutput) ToInputMappingResponseArrayOutputWithCo return o } +func (o InputMappingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InputMappingResponse] { + return pulumix.Output[[]InputMappingResponse]{ + OutputState: o.OutputState, + } +} + func (o InputMappingResponseArrayOutput) Index(i pulumi.IntInput) InputMappingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InputMappingResponse { return vs[0].([]InputMappingResponse)[vs[1].(int)] @@ -2588,6 +3087,12 @@ func (o OperationErrorErrorsItemResponseOutput) ToOperationErrorErrorsItemRespon return o } +func (o OperationErrorErrorsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationErrorErrorsItemResponse] { + return pulumix.Output[OperationErrorErrorsItemResponse]{ + OutputState: o.OutputState, + } +} + // The error type identifier for this error. func (o OperationErrorErrorsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v OperationErrorErrorsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -2617,6 +3122,12 @@ func (o OperationErrorErrorsItemResponseArrayOutput) ToOperationErrorErrorsItemR return o } +func (o OperationErrorErrorsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OperationErrorErrorsItemResponse] { + return pulumix.Output[[]OperationErrorErrorsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o OperationErrorErrorsItemResponseArrayOutput) Index(i pulumi.IntInput) OperationErrorErrorsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OperationErrorErrorsItemResponse { return vs[0].([]OperationErrorErrorsItemResponse)[vs[1].(int)] @@ -2644,6 +3155,12 @@ func (o OperationErrorResponseOutput) ToOperationErrorResponseOutputWithContext( return o } +func (o OperationErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationErrorResponse] { + return pulumix.Output[OperationErrorResponse]{ + OutputState: o.OutputState, + } +} + // The array of errors encountered while processing this operation. func (o OperationErrorResponseOutput) Errors() OperationErrorErrorsItemResponseArrayOutput { return o.ApplyT(func(v OperationErrorResponse) []OperationErrorErrorsItemResponse { return v.Errors }).(OperationErrorErrorsItemResponseArrayOutput) @@ -2716,6 +3233,12 @@ func (o OperationResponseOutput) ToOperationResponseOutputWithContext(ctx contex return o } +func (o OperationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationResponse] { + return pulumix.Output[OperationResponse]{ + OutputState: o.OutputState, + } +} + // The value of `requestId` if you provided it in the request. Not present otherwise. func (o OperationResponseOutput) ClientOperationId() pulumi.StringOutput { return o.ApplyT(func(v OperationResponse) string { return v.ClientOperationId }).(pulumi.StringOutput) @@ -2854,6 +3377,12 @@ func (o OperationWarningsItemDataItemResponseOutput) ToOperationWarningsItemData return o } +func (o OperationWarningsItemDataItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationWarningsItemDataItemResponse] { + return pulumix.Output[OperationWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + // A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). func (o OperationWarningsItemDataItemResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v OperationWarningsItemDataItemResponse) string { return v.Key }).(pulumi.StringOutput) @@ -2878,6 +3407,12 @@ func (o OperationWarningsItemDataItemResponseArrayOutput) ToOperationWarningsIte return o } +func (o OperationWarningsItemDataItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OperationWarningsItemDataItemResponse] { + return pulumix.Output[[]OperationWarningsItemDataItemResponse]{ + OutputState: o.OutputState, + } +} + func (o OperationWarningsItemDataItemResponseArrayOutput) Index(i pulumi.IntInput) OperationWarningsItemDataItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OperationWarningsItemDataItemResponse { return vs[0].([]OperationWarningsItemDataItemResponse)[vs[1].(int)] @@ -2907,6 +3442,12 @@ func (o OperationWarningsItemResponseOutput) ToOperationWarningsItemResponseOutp return o } +func (o OperationWarningsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationWarningsItemResponse] { + return pulumix.Output[OperationWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + // A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. func (o OperationWarningsItemResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v OperationWarningsItemResponse) string { return v.Code }).(pulumi.StringOutput) @@ -2936,6 +3477,12 @@ func (o OperationWarningsItemResponseArrayOutput) ToOperationWarningsItemRespons return o } +func (o OperationWarningsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OperationWarningsItemResponse] { + return pulumix.Output[[]OperationWarningsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o OperationWarningsItemResponseArrayOutput) Index(i pulumi.IntInput) OperationWarningsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OperationWarningsItemResponse { return vs[0].([]OperationWarningsItemResponse)[vs[1].(int)] @@ -2989,6 +3536,12 @@ func (i OptionsArgs) ToOptionsOutputWithContext(ctx context.Context) OptionsOutp return pulumi.ToOutputWithContext(ctx, i).(OptionsOutput) } +func (i OptionsArgs) ToOutput(ctx context.Context) pulumix.Output[Options] { + return pulumix.Output[Options]{ + OutputState: i.ToOptionsOutputWithContext(ctx).OutputState, + } +} + func (i OptionsArgs) ToOptionsPtrOutput() OptionsPtrOutput { return i.ToOptionsPtrOutputWithContext(context.Background()) } @@ -3030,6 +3583,12 @@ func (i *optionsPtrType) ToOptionsPtrOutputWithContext(ctx context.Context) Opti return pulumi.ToOutputWithContext(ctx, i).(OptionsPtrOutput) } +func (i *optionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Options] { + return pulumix.Output[*Options]{ + OutputState: i.ToOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options allows customized resource handling by Deployment Manager. type OptionsOutput struct{ *pulumi.OutputState } @@ -3055,6 +3614,12 @@ func (o OptionsOutput) ToOptionsPtrOutputWithContext(ctx context.Context) Option }).(OptionsPtrOutput) } +func (o OptionsOutput) ToOutput(ctx context.Context) pulumix.Output[Options] { + return pulumix.Output[Options]{ + OutputState: o.OutputState, + } +} + // Options regarding how to thread async requests. func (o OptionsOutput) AsyncOptions() AsyncOptionsArrayOutput { return o.ApplyT(func(v Options) []AsyncOptions { return v.AsyncOptions }).(AsyncOptionsArrayOutput) @@ -3089,6 +3654,12 @@ func (o OptionsPtrOutput) ToOptionsPtrOutputWithContext(ctx context.Context) Opt return o } +func (o OptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Options] { + return pulumix.Output[*Options]{ + OutputState: o.OutputState, + } +} + func (o OptionsPtrOutput) Elem() OptionsOutput { return o.ApplyT(func(v *Options) Options { if v != nil { @@ -3166,6 +3737,12 @@ func (o OptionsResponseOutput) ToOptionsResponseOutputWithContext(ctx context.Co return o } +func (o OptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OptionsResponse] { + return pulumix.Output[OptionsResponse]{ + OutputState: o.OutputState, + } +} + // Options regarding how to thread async requests. func (o OptionsResponseOutput) AsyncOptions() AsyncOptionsResponseArrayOutput { return o.ApplyT(func(v OptionsResponse) []AsyncOptionsResponse { return v.AsyncOptions }).(AsyncOptionsResponseArrayOutput) @@ -3235,6 +3812,12 @@ func (i PollingOptionsArgs) ToPollingOptionsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(PollingOptionsOutput) } +func (i PollingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[PollingOptions] { + return pulumix.Output[PollingOptions]{ + OutputState: i.ToPollingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i PollingOptionsArgs) ToPollingOptionsPtrOutput() PollingOptionsPtrOutput { return i.ToPollingOptionsPtrOutputWithContext(context.Background()) } @@ -3276,6 +3859,12 @@ func (i *pollingOptionsPtrType) ToPollingOptionsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(PollingOptionsPtrOutput) } +func (i *pollingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*PollingOptions] { + return pulumix.Output[*PollingOptions]{ + OutputState: i.ToPollingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + type PollingOptionsOutput struct{ *pulumi.OutputState } func (PollingOptionsOutput) ElementType() reflect.Type { @@ -3300,6 +3889,12 @@ func (o PollingOptionsOutput) ToPollingOptionsPtrOutputWithContext(ctx context.C }).(PollingOptionsPtrOutput) } +func (o PollingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[PollingOptions] { + return pulumix.Output[PollingOptions]{ + OutputState: o.OutputState, + } +} + // An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user. func (o PollingOptionsOutput) Diagnostics() DiagnosticArrayOutput { return o.ApplyT(func(v PollingOptions) []Diagnostic { return v.Diagnostics }).(DiagnosticArrayOutput) @@ -3339,6 +3934,12 @@ func (o PollingOptionsPtrOutput) ToPollingOptionsPtrOutputWithContext(ctx contex return o } +func (o PollingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PollingOptions] { + return pulumix.Output[*PollingOptions]{ + OutputState: o.OutputState, + } +} + func (o PollingOptionsPtrOutput) Elem() PollingOptionsOutput { return o.ApplyT(func(v *PollingOptions) PollingOptions { if v != nil { @@ -3426,6 +4027,12 @@ func (o PollingOptionsResponseOutput) ToPollingOptionsResponseOutputWithContext( return o } +func (o PollingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PollingOptionsResponse] { + return pulumix.Output[PollingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user. func (o PollingOptionsResponseOutput) Diagnostics() DiagnosticResponseArrayOutput { return o.ApplyT(func(v PollingOptionsResponse) []DiagnosticResponse { return v.Diagnostics }).(DiagnosticResponseArrayOutput) @@ -3486,6 +4093,12 @@ func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) } +func (i ServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: i.ToServiceAccountOutputWithContext(ctx).OutputState, + } +} + func (i ServiceAccountArgs) ToServiceAccountPtrOutput() ServiceAccountPtrOutput { return i.ToServiceAccountPtrOutputWithContext(context.Background()) } @@ -3527,6 +4140,12 @@ func (i *serviceAccountPtrType) ToServiceAccountPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountPtrOutput) } +func (i *serviceAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: i.ToServiceAccountPtrOutputWithContext(ctx).OutputState, + } +} + // Service Account used as a credential. type ServiceAccountOutput struct{ *pulumi.OutputState } @@ -3552,6 +4171,12 @@ func (o ServiceAccountOutput) ToServiceAccountPtrOutputWithContext(ctx context.C }).(ServiceAccountPtrOutput) } +func (o ServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: o.OutputState, + } +} + // The IAM service account email address like test@myproject.iam.gserviceaccount.com func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) @@ -3571,6 +4196,12 @@ func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext(ctx contex return o } +func (o ServiceAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountPtrOutput) Elem() ServiceAccountOutput { return o.ApplyT(func(v *ServiceAccount) ServiceAccount { if v != nil { @@ -3612,6 +4243,12 @@ func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext( return o } +func (o ServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccountResponse] { + return pulumix.Output[ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // The IAM service account email address like test@myproject.iam.gserviceaccount.com func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ServiceAccountResponse) string { return v.Email }).(pulumi.StringOutput) @@ -3654,6 +4291,12 @@ func (i TargetConfigurationArgs) ToTargetConfigurationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TargetConfigurationOutput) } +func (i TargetConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[TargetConfiguration] { + return pulumix.Output[TargetConfiguration]{ + OutputState: i.ToTargetConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i TargetConfigurationArgs) ToTargetConfigurationPtrOutput() TargetConfigurationPtrOutput { return i.ToTargetConfigurationPtrOutputWithContext(context.Background()) } @@ -3695,6 +4338,12 @@ func (i *targetConfigurationPtrType) ToTargetConfigurationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(TargetConfigurationPtrOutput) } +func (i *targetConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*TargetConfiguration] { + return pulumix.Output[*TargetConfiguration]{ + OutputState: i.ToTargetConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + type TargetConfigurationOutput struct{ *pulumi.OutputState } func (TargetConfigurationOutput) ElementType() reflect.Type { @@ -3719,6 +4368,12 @@ func (o TargetConfigurationOutput) ToTargetConfigurationPtrOutputWithContext(ctx }).(TargetConfigurationPtrOutput) } +func (o TargetConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[TargetConfiguration] { + return pulumix.Output[TargetConfiguration]{ + OutputState: o.OutputState, + } +} + // The configuration to use for this deployment. func (o TargetConfigurationOutput) Config() ConfigFilePtrOutput { return o.ApplyT(func(v TargetConfiguration) *ConfigFile { return v.Config }).(ConfigFilePtrOutput) @@ -3743,6 +4398,12 @@ func (o TargetConfigurationPtrOutput) ToTargetConfigurationPtrOutputWithContext( return o } +func (o TargetConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetConfiguration] { + return pulumix.Output[*TargetConfiguration]{ + OutputState: o.OutputState, + } +} + func (o TargetConfigurationPtrOutput) Elem() TargetConfigurationOutput { return o.ApplyT(func(v *TargetConfiguration) TargetConfiguration { if v != nil { @@ -3794,6 +4455,12 @@ func (o TargetConfigurationResponseOutput) ToTargetConfigurationResponseOutputWi return o } +func (o TargetConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TargetConfigurationResponse] { + return pulumix.Output[TargetConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // The configuration to use for this deployment. func (o TargetConfigurationResponseOutput) Config() ConfigFileResponseOutput { return o.ApplyT(func(v TargetConfigurationResponse) ConfigFileResponse { return v.Config }).(ConfigFileResponseOutput) @@ -3855,6 +4522,12 @@ func (i TemplateContentsArgs) ToTemplateContentsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TemplateContentsOutput) } +func (i TemplateContentsArgs) ToOutput(ctx context.Context) pulumix.Output[TemplateContents] { + return pulumix.Output[TemplateContents]{ + OutputState: i.ToTemplateContentsOutputWithContext(ctx).OutputState, + } +} + func (i TemplateContentsArgs) ToTemplateContentsPtrOutput() TemplateContentsPtrOutput { return i.ToTemplateContentsPtrOutputWithContext(context.Background()) } @@ -3896,6 +4569,12 @@ func (i *templateContentsPtrType) ToTemplateContentsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(TemplateContentsPtrOutput) } +func (i *templateContentsPtrType) ToOutput(ctx context.Context) pulumix.Output[*TemplateContents] { + return pulumix.Output[*TemplateContents]{ + OutputState: i.ToTemplateContentsPtrOutputWithContext(ctx).OutputState, + } +} + // Files that make up the template contents of a template type. type TemplateContentsOutput struct{ *pulumi.OutputState } @@ -3921,6 +4600,12 @@ func (o TemplateContentsOutput) ToTemplateContentsPtrOutputWithContext(ctx conte }).(TemplateContentsPtrOutput) } +func (o TemplateContentsOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateContents] { + return pulumix.Output[TemplateContents]{ + OutputState: o.OutputState, + } +} + // Import files referenced by the main template. func (o TemplateContentsOutput) Imports() ImportFileArrayOutput { return o.ApplyT(func(v TemplateContents) []ImportFile { return v.Imports }).(ImportFileArrayOutput) @@ -3960,6 +4645,12 @@ func (o TemplateContentsPtrOutput) ToTemplateContentsPtrOutputWithContext(ctx co return o } +func (o TemplateContentsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TemplateContents] { + return pulumix.Output[*TemplateContents]{ + OutputState: o.OutputState, + } +} + func (o TemplateContentsPtrOutput) Elem() TemplateContentsOutput { return o.ApplyT(func(v *TemplateContents) TemplateContents { if v != nil { @@ -4049,6 +4740,12 @@ func (o TemplateContentsResponseOutput) ToTemplateContentsResponseOutputWithCont return o } +func (o TemplateContentsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TemplateContentsResponse] { + return pulumix.Output[TemplateContentsResponse]{ + OutputState: o.OutputState, + } +} + // Import files referenced by the main template. func (o TemplateContentsResponseOutput) Imports() ImportFileResponseArrayOutput { return o.ApplyT(func(v TemplateContentsResponse) []ImportFileResponse { return v.Imports }).(ImportFileResponseArrayOutput) @@ -4113,6 +4810,12 @@ func (i TypeProviderLabelEntryArgs) ToTypeProviderLabelEntryOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(TypeProviderLabelEntryOutput) } +func (i TypeProviderLabelEntryArgs) ToOutput(ctx context.Context) pulumix.Output[TypeProviderLabelEntry] { + return pulumix.Output[TypeProviderLabelEntry]{ + OutputState: i.ToTypeProviderLabelEntryOutputWithContext(ctx).OutputState, + } +} + // TypeProviderLabelEntryArrayInput is an input type that accepts TypeProviderLabelEntryArray and TypeProviderLabelEntryArrayOutput values. // You can construct a concrete instance of `TypeProviderLabelEntryArrayInput` via: // @@ -4138,6 +4841,12 @@ func (i TypeProviderLabelEntryArray) ToTypeProviderLabelEntryArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(TypeProviderLabelEntryArrayOutput) } +func (i TypeProviderLabelEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]TypeProviderLabelEntry] { + return pulumix.Output[[]TypeProviderLabelEntry]{ + OutputState: i.ToTypeProviderLabelEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Label object for TypeProviders type TypeProviderLabelEntryOutput struct{ *pulumi.OutputState } @@ -4153,6 +4862,12 @@ func (o TypeProviderLabelEntryOutput) ToTypeProviderLabelEntryOutputWithContext( return o } +func (o TypeProviderLabelEntryOutput) ToOutput(ctx context.Context) pulumix.Output[TypeProviderLabelEntry] { + return pulumix.Output[TypeProviderLabelEntry]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o TypeProviderLabelEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v TypeProviderLabelEntry) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -4177,6 +4892,12 @@ func (o TypeProviderLabelEntryArrayOutput) ToTypeProviderLabelEntryArrayOutputWi return o } +func (o TypeProviderLabelEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TypeProviderLabelEntry] { + return pulumix.Output[[]TypeProviderLabelEntry]{ + OutputState: o.OutputState, + } +} + func (o TypeProviderLabelEntryArrayOutput) Index(i pulumi.IntInput) TypeProviderLabelEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TypeProviderLabelEntry { return vs[0].([]TypeProviderLabelEntry)[vs[1].(int)] @@ -4206,6 +4927,12 @@ func (o TypeProviderLabelEntryResponseOutput) ToTypeProviderLabelEntryResponseOu return o } +func (o TypeProviderLabelEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TypeProviderLabelEntryResponse] { + return pulumix.Output[TypeProviderLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the label func (o TypeProviderLabelEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v TypeProviderLabelEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -4230,6 +4957,12 @@ func (o TypeProviderLabelEntryResponseArrayOutput) ToTypeProviderLabelEntryRespo return o } +func (o TypeProviderLabelEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TypeProviderLabelEntryResponse] { + return pulumix.Output[[]TypeProviderLabelEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o TypeProviderLabelEntryResponseArrayOutput) Index(i pulumi.IntInput) TypeProviderLabelEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TypeProviderLabelEntryResponse { return vs[0].([]TypeProviderLabelEntryResponse)[vs[1].(int)] @@ -4275,6 +5008,12 @@ func (i ValidationOptionsArgs) ToValidationOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ValidationOptionsOutput) } +func (i ValidationOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ValidationOptions] { + return pulumix.Output[ValidationOptions]{ + OutputState: i.ToValidationOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ValidationOptionsArgs) ToValidationOptionsPtrOutput() ValidationOptionsPtrOutput { return i.ToValidationOptionsPtrOutputWithContext(context.Background()) } @@ -4316,6 +5055,12 @@ func (i *validationOptionsPtrType) ToValidationOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ValidationOptionsPtrOutput) } +func (i *validationOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptions] { + return pulumix.Output[*ValidationOptions]{ + OutputState: i.ToValidationOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options for how to validate and process properties on a resource. type ValidationOptionsOutput struct{ *pulumi.OutputState } @@ -4341,6 +5086,12 @@ func (o ValidationOptionsOutput) ToValidationOptionsPtrOutputWithContext(ctx con }).(ValidationOptionsPtrOutput) } +func (o ValidationOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationOptions] { + return pulumix.Output[ValidationOptions]{ + OutputState: o.OutputState, + } +} + // Customize how deployment manager will validate the resource against schema errors. func (o ValidationOptionsOutput) SchemaValidation() ValidationOptionsSchemaValidationPtrOutput { return o.ApplyT(func(v ValidationOptions) *ValidationOptionsSchemaValidation { return v.SchemaValidation }).(ValidationOptionsSchemaValidationPtrOutput) @@ -4365,6 +5116,12 @@ func (o ValidationOptionsPtrOutput) ToValidationOptionsPtrOutputWithContext(ctx return o } +func (o ValidationOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidationOptions] { + return pulumix.Output[*ValidationOptions]{ + OutputState: o.OutputState, + } +} + func (o ValidationOptionsPtrOutput) Elem() ValidationOptionsOutput { return o.ApplyT(func(v *ValidationOptions) ValidationOptions { if v != nil { @@ -4418,6 +5175,12 @@ func (o ValidationOptionsResponseOutput) ToValidationOptionsResponseOutputWithCo return o } +func (o ValidationOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationOptionsResponse] { + return pulumix.Output[ValidationOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Customize how deployment manager will validate the resource against schema errors. func (o ValidationOptionsResponseOutput) SchemaValidation() pulumi.StringOutput { return o.ApplyT(func(v ValidationOptionsResponse) string { return v.SchemaValidation }).(pulumi.StringOutput) diff --git a/sdk/go/google/deploymentmanager/v2beta/typeProvider.go b/sdk/go/google/deploymentmanager/v2beta/typeProvider.go index 3f95a2f619..25afe484ac 100644 --- a/sdk/go/google/deploymentmanager/v2beta/typeProvider.go +++ b/sdk/go/google/deploymentmanager/v2beta/typeProvider.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a type provider. @@ -147,6 +148,12 @@ func (i *TypeProvider) ToTypeProviderOutputWithContext(ctx context.Context) Type return pulumi.ToOutputWithContext(ctx, i).(TypeProviderOutput) } +func (i *TypeProvider) ToOutput(ctx context.Context) pulumix.Output[*TypeProvider] { + return pulumix.Output[*TypeProvider]{ + OutputState: i.ToTypeProviderOutputWithContext(ctx).OutputState, + } +} + type TypeProviderOutput struct{ *pulumi.OutputState } func (TypeProviderOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o TypeProviderOutput) ToTypeProviderOutputWithContext(ctx context.Context) return o } +func (o TypeProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*TypeProvider] { + return pulumix.Output[*TypeProvider]{ + OutputState: o.OutputState, + } +} + // Allows resource handling overrides for specific collections func (o TypeProviderOutput) CollectionOverrides() CollectionOverrideResponseArrayOutput { return o.ApplyT(func(v *TypeProvider) CollectionOverrideResponseArrayOutput { return v.CollectionOverrides }).(CollectionOverrideResponseArrayOutput) diff --git a/sdk/go/google/dialogflow/v2/context.go b/sdk/go/google/dialogflow/v2/context.go index 1f31a71d6f..683def9047 100644 --- a/sdk/go/google/dialogflow/v2/context.go +++ b/sdk/go/google/dialogflow/v2/context.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a context. If the specified context already exists, overrides the context. @@ -141,6 +142,12 @@ func (i *Context) ToContextOutputWithContext(ctx context.Context) ContextOutput return pulumi.ToOutputWithContext(ctx, i).(ContextOutput) } +func (i *Context) ToOutput(ctx context.Context) pulumix.Output[*Context] { + return pulumix.Output[*Context]{ + OutputState: i.ToContextOutputWithContext(ctx).OutputState, + } +} + type ContextOutput struct{ *pulumi.OutputState } func (ContextOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o ContextOutput) ToContextOutputWithContext(ctx context.Context) ContextOu return o } +func (o ContextOutput) ToOutput(ctx context.Context) pulumix.Output[*Context] { + return pulumix.Output[*Context]{ + OutputState: o.OutputState, + } +} + func (o ContextOutput) EnvironmentId() pulumi.StringOutput { return o.ApplyT(func(v *Context) pulumi.StringOutput { return v.EnvironmentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v2/conversation.go b/sdk/go/google/dialogflow/v2/conversation.go index 8eeeb5c4ec..6f4736a67f 100644 --- a/sdk/go/google/dialogflow/v2/conversation.go +++ b/sdk/go/google/dialogflow/v2/conversation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage. @@ -132,6 +133,12 @@ func (i *Conversation) ToConversationOutputWithContext(ctx context.Context) Conv return pulumi.ToOutputWithContext(ctx, i).(ConversationOutput) } +func (i *Conversation) ToOutput(ctx context.Context) pulumix.Output[*Conversation] { + return pulumix.Output[*Conversation]{ + OutputState: i.ToConversationOutputWithContext(ctx).OutputState, + } +} + type ConversationOutput struct{ *pulumi.OutputState } func (ConversationOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o ConversationOutput) ToConversationOutputWithContext(ctx context.Context) return o } +func (o ConversationOutput) ToOutput(ctx context.Context) pulumix.Output[*Conversation] { + return pulumix.Output[*Conversation]{ + OutputState: o.OutputState, + } +} + // Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula "a-zA-Z*" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness. func (o ConversationOutput) ConversationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Conversation) pulumi.StringPtrOutput { return v.ConversationId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/dialogflow/v2/conversationDataset.go b/sdk/go/google/dialogflow/v2/conversationDataset.go index b56e101201..ed50a6d180 100644 --- a/sdk/go/google/dialogflow/v2/conversationDataset.go +++ b/sdk/go/google/dialogflow/v2/conversationDataset.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new conversation dataset. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateConversationDatasetOperationMetadata - `response`: ConversationDataset @@ -124,6 +125,12 @@ func (i *ConversationDataset) ToConversationDatasetOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConversationDatasetOutput) } +func (i *ConversationDataset) ToOutput(ctx context.Context) pulumix.Output[*ConversationDataset] { + return pulumix.Output[*ConversationDataset]{ + OutputState: i.ToConversationDatasetOutputWithContext(ctx).OutputState, + } +} + type ConversationDatasetOutput struct{ *pulumi.OutputState } func (ConversationDatasetOutput) ElementType() reflect.Type { @@ -138,6 +145,12 @@ func (o ConversationDatasetOutput) ToConversationDatasetOutputWithContext(ctx co return o } +func (o ConversationDatasetOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversationDataset] { + return pulumix.Output[*ConversationDataset]{ + OutputState: o.OutputState, + } +} + // The number of conversations this conversation dataset contains. func (o ConversationDatasetOutput) ConversationCount() pulumi.StringOutput { return o.ApplyT(func(v *ConversationDataset) pulumi.StringOutput { return v.ConversationCount }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/conversationModel.go b/sdk/go/google/dialogflow/v2/conversationModel.go index bd869efb75..60f0ef49f3 100644 --- a/sdk/go/google/dialogflow/v2/conversationModel.go +++ b/sdk/go/google/dialogflow/v2/conversationModel.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateConversationModelOperationMetadata - `response`: ConversationModel @@ -144,6 +145,12 @@ func (i *ConversationModel) ToConversationModelOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ConversationModelOutput) } +func (i *ConversationModel) ToOutput(ctx context.Context) pulumix.Output[*ConversationModel] { + return pulumix.Output[*ConversationModel]{ + OutputState: i.ToConversationModelOutputWithContext(ctx).OutputState, + } +} + type ConversationModelOutput struct{ *pulumi.OutputState } func (ConversationModelOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o ConversationModelOutput) ToConversationModelOutputWithContext(ctx contex return o } +func (o ConversationModelOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversationModel] { + return pulumix.Output[*ConversationModel]{ + OutputState: o.OutputState, + } +} + // Metadata for article suggestion models. func (o ConversationModelOutput) ArticleSuggestionModelMetadata() GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponseOutput { return o.ApplyT(func(v *ConversationModel) GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponseOutput { diff --git a/sdk/go/google/dialogflow/v2/conversationProfile.go b/sdk/go/google/dialogflow/v2/conversationProfile.go index 10e9c6746b..e43a98b77d 100644 --- a/sdk/go/google/dialogflow/v2/conversationProfile.go +++ b/sdk/go/google/dialogflow/v2/conversationProfile.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a conversation profile in the specified project. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API. @@ -183,6 +184,12 @@ func (i *ConversationProfile) ToConversationProfileOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConversationProfileOutput) } +func (i *ConversationProfile) ToOutput(ctx context.Context) pulumix.Output[*ConversationProfile] { + return pulumix.Output[*ConversationProfile]{ + OutputState: i.ToConversationProfileOutputWithContext(ctx).OutputState, + } +} + type ConversationProfileOutput struct{ *pulumi.OutputState } func (ConversationProfileOutput) ElementType() reflect.Type { @@ -197,6 +204,12 @@ func (o ConversationProfileOutput) ToConversationProfileOutputWithContext(ctx co return o } +func (o ConversationProfileOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversationProfile] { + return pulumix.Output[*ConversationProfile]{ + OutputState: o.OutputState, + } +} + // Configuration for an automated agent to use with this profile. func (o ConversationProfileOutput) AutomatedAgentConfig() GoogleCloudDialogflowV2AutomatedAgentConfigResponseOutput { return o.ApplyT(func(v *ConversationProfile) GoogleCloudDialogflowV2AutomatedAgentConfigResponseOutput { diff --git a/sdk/go/google/dialogflow/v2/document.go b/sdk/go/google/dialogflow/v2/document.go index 8062663279..aa309494f0 100644 --- a/sdk/go/google/dialogflow/v2/document.go +++ b/sdk/go/google/dialogflow/v2/document.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document @@ -166,6 +167,12 @@ func (i *Document) ToDocumentOutputWithContext(ctx context.Context) DocumentOutp return pulumi.ToOutputWithContext(ctx, i).(DocumentOutput) } +func (i *Document) ToOutput(ctx context.Context) pulumix.Output[*Document] { + return pulumix.Output[*Document]{ + OutputState: i.ToDocumentOutputWithContext(ctx).OutputState, + } +} + type DocumentOutput struct{ *pulumi.OutputState } func (DocumentOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o DocumentOutput) ToDocumentOutputWithContext(ctx context.Context) Documen return o } +func (o DocumentOutput) ToOutput(ctx context.Context) pulumix.Output[*Document] { + return pulumix.Output[*Document]{ + OutputState: o.OutputState, + } +} + // The URI where the file content is located. For documents stored in Google Cloud Storage, these URIs must have the form `gs:///`. NOTE: External URLs must correspond to public webpages, i.e., they must be indexed by Google Search. In particular, URLs for showing documents in Google Cloud Storage (i.e. the URL in your browser) are not supported. Instead use the `gs://` format URI described above. func (o DocumentOutput) ContentUri() pulumi.StringOutput { return o.ApplyT(func(v *Document) pulumi.StringOutput { return v.ContentUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/entityType.go b/sdk/go/google/dialogflow/v2/entityType.go index 8f8104acf1..98d5fa34a5 100644 --- a/sdk/go/google/dialogflow/v2/entityType.go +++ b/sdk/go/google/dialogflow/v2/entityType.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). @@ -147,6 +148,12 @@ func (i *EntityType) ToEntityTypeOutputWithContext(ctx context.Context) EntityTy return pulumi.ToOutputWithContext(ctx, i).(EntityTypeOutput) } +func (i *EntityType) ToOutput(ctx context.Context) pulumix.Output[*EntityType] { + return pulumix.Output[*EntityType]{ + OutputState: i.ToEntityTypeOutputWithContext(ctx).OutputState, + } +} + type EntityTypeOutput struct{ *pulumi.OutputState } func (EntityTypeOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o EntityTypeOutput) ToEntityTypeOutputWithContext(ctx context.Context) Ent return o } +func (o EntityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityType] { + return pulumix.Output[*EntityType]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates whether the entity type can be automatically expanded. func (o EntityTypeOutput) AutoExpansionMode() pulumi.StringOutput { return o.ApplyT(func(v *EntityType) pulumi.StringOutput { return v.AutoExpansionMode }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/environment.go b/sdk/go/google/dialogflow/v2/environment.go index a15d276ca5..d277feafb0 100644 --- a/sdk/go/google/dialogflow/v2/environment.go +++ b/sdk/go/google/dialogflow/v2/environment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an agent environment. @@ -139,6 +140,12 @@ func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) Enviro return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i *Environment) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + type EnvironmentOutput struct{ *pulumi.OutputState } func (EnvironmentOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) E return o } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + // Optional. The agent version loaded into this environment. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/` func (o EnvironmentOutput) AgentVersion() pulumi.StringOutput { return o.ApplyT(func(v *Environment) pulumi.StringOutput { return v.AgentVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/evaluation.go b/sdk/go/google/dialogflow/v2/evaluation.go index 5d93ba66bf..224cc60cdf 100644 --- a/sdk/go/google/dialogflow/v2/evaluation.go +++ b/sdk/go/google/dialogflow/v2/evaluation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates evaluation of a conversation model. @@ -131,6 +132,12 @@ func (i *Evaluation) ToEvaluationOutputWithContext(ctx context.Context) Evaluati return pulumi.ToOutputWithContext(ctx, i).(EvaluationOutput) } +func (i *Evaluation) ToOutput(ctx context.Context) pulumix.Output[*Evaluation] { + return pulumix.Output[*Evaluation]{ + OutputState: i.ToEvaluationOutputWithContext(ctx).OutputState, + } +} + type EvaluationOutput struct{ *pulumi.OutputState } func (EvaluationOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o EvaluationOutput) ToEvaluationOutputWithContext(ctx context.Context) Eva return o } +func (o EvaluationOutput) ToOutput(ctx context.Context) pulumix.Output[*Evaluation] { + return pulumix.Output[*Evaluation]{ + OutputState: o.OutputState, + } +} + func (o EvaluationOutput) ConversationModelId() pulumi.StringOutput { return o.ApplyT(func(v *Evaluation) pulumi.StringOutput { return v.ConversationModelId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v2/getContext.go b/sdk/go/google/dialogflow/v2/getContext.go index 42db047d91..d600e5be7d 100644 --- a/sdk/go/google/dialogflow/v2/getContext.go +++ b/sdk/go/google/dialogflow/v2/getContext.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified context. @@ -80,6 +81,12 @@ func (o LookupContextResultOutput) ToLookupContextResultOutputWithContext(ctx co return o } +func (o LookupContextResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupContextResult] { + return pulumix.Output[LookupContextResult]{ + OutputState: o.OutputState, + } +} + // Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries. func (o LookupContextResultOutput) LifespanCount() pulumi.IntOutput { return o.ApplyT(func(v LookupContextResult) int { return v.LifespanCount }).(pulumi.IntOutput) diff --git a/sdk/go/google/dialogflow/v2/getConversation.go b/sdk/go/google/dialogflow/v2/getConversation.go index 9971e6378f..e222f06349 100644 --- a/sdk/go/google/dialogflow/v2/getConversation.go +++ b/sdk/go/google/dialogflow/v2/getConversation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specific conversation. @@ -82,6 +83,12 @@ func (o LookupConversationResultOutput) ToLookupConversationResultOutputWithCont return o } +func (o LookupConversationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConversationResult] { + return pulumix.Output[LookupConversationResult]{ + OutputState: o.OutputState, + } +} + // The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: `projects//locations//conversationProfiles/`. func (o LookupConversationResultOutput) ConversationProfile() pulumi.StringOutput { return o.ApplyT(func(v LookupConversationResult) string { return v.ConversationProfile }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/getConversationDataset.go b/sdk/go/google/dialogflow/v2/getConversationDataset.go index 50618fa7f8..463489096c 100644 --- a/sdk/go/google/dialogflow/v2/getConversationDataset.go +++ b/sdk/go/google/dialogflow/v2/getConversationDataset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified conversation dataset. @@ -82,6 +83,12 @@ func (o LookupConversationDatasetResultOutput) ToLookupConversationDatasetResult return o } +func (o LookupConversationDatasetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConversationDatasetResult] { + return pulumix.Output[LookupConversationDatasetResult]{ + OutputState: o.OutputState, + } +} + // The number of conversations this conversation dataset contains. func (o LookupConversationDatasetResultOutput) ConversationCount() pulumi.StringOutput { return o.ApplyT(func(v LookupConversationDatasetResult) string { return v.ConversationCount }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/getConversationModel.go b/sdk/go/google/dialogflow/v2/getConversationModel.go index 7bef5e3f23..a3baf5257f 100644 --- a/sdk/go/google/dialogflow/v2/getConversationModel.go +++ b/sdk/go/google/dialogflow/v2/getConversationModel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets conversation model. @@ -84,6 +85,12 @@ func (o LookupConversationModelResultOutput) ToLookupConversationModelResultOutp return o } +func (o LookupConversationModelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConversationModelResult] { + return pulumix.Output[LookupConversationModelResult]{ + OutputState: o.OutputState, + } +} + // Metadata for article suggestion models. func (o LookupConversationModelResultOutput) ArticleSuggestionModelMetadata() GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponseOutput { return o.ApplyT(func(v LookupConversationModelResult) GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse { diff --git a/sdk/go/google/dialogflow/v2/getConversationProfile.go b/sdk/go/google/dialogflow/v2/getConversationProfile.go index a24e439280..38c4da3b56 100644 --- a/sdk/go/google/dialogflow/v2/getConversationProfile.go +++ b/sdk/go/google/dialogflow/v2/getConversationProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified conversation profile. @@ -98,6 +99,12 @@ func (o LookupConversationProfileResultOutput) ToLookupConversationProfileResult return o } +func (o LookupConversationProfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConversationProfileResult] { + return pulumix.Output[LookupConversationProfileResult]{ + OutputState: o.OutputState, + } +} + // Configuration for an automated agent to use with this profile. func (o LookupConversationProfileResultOutput) AutomatedAgentConfig() GoogleCloudDialogflowV2AutomatedAgentConfigResponseOutput { return o.ApplyT(func(v LookupConversationProfileResult) GoogleCloudDialogflowV2AutomatedAgentConfigResponse { diff --git a/sdk/go/google/dialogflow/v2/getDocument.go b/sdk/go/google/dialogflow/v2/getDocument.go index 0b54ec30b9..64979ad2bc 100644 --- a/sdk/go/google/dialogflow/v2/getDocument.go +++ b/sdk/go/google/dialogflow/v2/getDocument.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified document. @@ -90,6 +91,12 @@ func (o LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext(ctx return o } +func (o LookupDocumentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDocumentResult] { + return pulumix.Output[LookupDocumentResult]{ + OutputState: o.OutputState, + } +} + // The URI where the file content is located. For documents stored in Google Cloud Storage, these URIs must have the form `gs:///`. NOTE: External URLs must correspond to public webpages, i.e., they must be indexed by Google Search. In particular, URLs for showing documents in Google Cloud Storage (i.e. the URL in your browser) are not supported. Instead use the `gs://` format URI described above. func (o LookupDocumentResultOutput) ContentUri() pulumi.StringOutput { return o.ApplyT(func(v LookupDocumentResult) string { return v.ContentUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/getEntityType.go b/sdk/go/google/dialogflow/v2/getEntityType.go index 03a95d88a5..1e1c1ef96b 100644 --- a/sdk/go/google/dialogflow/v2/getEntityType.go +++ b/sdk/go/google/dialogflow/v2/getEntityType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified entity type. @@ -82,6 +83,12 @@ func (o LookupEntityTypeResultOutput) ToLookupEntityTypeResultOutputWithContext( return o } +func (o LookupEntityTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntityTypeResult] { + return pulumix.Output[LookupEntityTypeResult]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates whether the entity type can be automatically expanded. func (o LookupEntityTypeResultOutput) AutoExpansionMode() pulumi.StringOutput { return o.ApplyT(func(v LookupEntityTypeResult) string { return v.AutoExpansionMode }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/getEnvironment.go b/sdk/go/google/dialogflow/v2/getEnvironment.go index c4b0e5840f..40f00633cf 100644 --- a/sdk/go/google/dialogflow/v2/getEnvironment.go +++ b/sdk/go/google/dialogflow/v2/getEnvironment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified agent environment. @@ -82,6 +83,12 @@ func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContex return o } +func (o LookupEnvironmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentResult] { + return pulumix.Output[LookupEnvironmentResult]{ + OutputState: o.OutputState, + } +} + // Optional. The agent version loaded into this environment. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/` func (o LookupEnvironmentResultOutput) AgentVersion() pulumi.StringOutput { return o.ApplyT(func(v LookupEnvironmentResult) string { return v.AgentVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/getEvaluation.go b/sdk/go/google/dialogflow/v2/getEvaluation.go index 7a7bee7552..3a7e5695ba 100644 --- a/sdk/go/google/dialogflow/v2/getEvaluation.go +++ b/sdk/go/google/dialogflow/v2/getEvaluation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an evaluation of conversation model. @@ -82,6 +83,12 @@ func (o LookupEvaluationResultOutput) ToLookupEvaluationResultOutputWithContext( return o } +func (o LookupEvaluationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEvaluationResult] { + return pulumix.Output[LookupEvaluationResult]{ + OutputState: o.OutputState, + } +} + // Creation time of this model. func (o LookupEvaluationResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupEvaluationResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/getIntent.go b/sdk/go/google/dialogflow/v2/getIntent.go index 9b004776f7..5a3827e325 100644 --- a/sdk/go/google/dialogflow/v2/getIntent.go +++ b/sdk/go/google/dialogflow/v2/getIntent.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified intent. @@ -112,6 +113,12 @@ func (o LookupIntentResultOutput) ToLookupIntentResultOutputWithContext(ctx cont return o } +func (o LookupIntentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIntentResult] { + return pulumix.Output[LookupIntentResult]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces. func (o LookupIntentResultOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v LookupIntentResult) string { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/getKnowledgeBase.go b/sdk/go/google/dialogflow/v2/getKnowledgeBase.go index 30a3f7a2ec..0a58298449 100644 --- a/sdk/go/google/dialogflow/v2/getKnowledgeBase.go +++ b/sdk/go/google/dialogflow/v2/getKnowledgeBase.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified knowledge base. @@ -74,6 +75,12 @@ func (o LookupKnowledgeBaseResultOutput) ToLookupKnowledgeBaseResultOutputWithCo return o } +func (o LookupKnowledgeBaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupKnowledgeBaseResult] { + return pulumix.Output[LookupKnowledgeBaseResult]{ + OutputState: o.OutputState, + } +} + // The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails. func (o LookupKnowledgeBaseResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupKnowledgeBaseResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/getParticipant.go b/sdk/go/google/dialogflow/v2/getParticipant.go index a1de875c36..562b5704ef 100644 --- a/sdk/go/google/dialogflow/v2/getParticipant.go +++ b/sdk/go/google/dialogflow/v2/getParticipant.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a conversation participant. @@ -80,6 +81,12 @@ func (o LookupParticipantResultOutput) ToLookupParticipantResultOutputWithContex return o } +func (o LookupParticipantResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupParticipantResult] { + return pulumix.Output[LookupParticipantResult]{ + OutputState: o.OutputState, + } +} + // Optional. Key-value filters on the metadata of documents returned by article suggestion. If specified, article suggestion only returns suggested documents that match all filters in their Document.metadata. Multiple values for a metadata key should be concatenated by comma. For example, filters to match all documents that have 'US' or 'CA' in their market metadata values and 'agent' in their user metadata values will be ```documents_metadata_filters { key: "market" value: "US,CA" } documents_metadata_filters { key: "user" value: "agent" }``` func (o LookupParticipantResultOutput) DocumentsMetadataFilters() pulumi.StringMapOutput { return o.ApplyT(func(v LookupParticipantResult) map[string]string { return v.DocumentsMetadataFilters }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/dialogflow/v2/getSessionEntityType.go b/sdk/go/google/dialogflow/v2/getSessionEntityType.go index 8772e62c28..de073e26e9 100644 --- a/sdk/go/google/dialogflow/v2/getSessionEntityType.go +++ b/sdk/go/google/dialogflow/v2/getSessionEntityType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. @@ -80,6 +81,12 @@ func (o LookupSessionEntityTypeResultOutput) ToLookupSessionEntityTypeResultOutp return o } +func (o LookupSessionEntityTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSessionEntityTypeResult] { + return pulumix.Output[LookupSessionEntityTypeResult]{ + OutputState: o.OutputState, + } +} + // The collection of entities associated with this session entity type. func (o LookupSessionEntityTypeResultOutput) Entities() GoogleCloudDialogflowV2EntityTypeEntityResponseArrayOutput { return o.ApplyT(func(v LookupSessionEntityTypeResult) []GoogleCloudDialogflowV2EntityTypeEntityResponse { diff --git a/sdk/go/google/dialogflow/v2/getVersion.go b/sdk/go/google/dialogflow/v2/getVersion.go index 7008add21d..98fec5078e 100644 --- a/sdk/go/google/dialogflow/v2/getVersion.go +++ b/sdk/go/google/dialogflow/v2/getVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified agent version. @@ -78,6 +79,12 @@ func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx co return o } +func (o LookupVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionResult] { + return pulumix.Output[LookupVersionResult]{ + OutputState: o.OutputState, + } +} + // The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods. func (o LookupVersionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupVersionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/intent.go b/sdk/go/google/dialogflow/v2/intent.go index f4426bfbcd..68b06b63e6 100644 --- a/sdk/go/google/dialogflow/v2/intent.go +++ b/sdk/go/google/dialogflow/v2/intent.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). @@ -226,6 +227,12 @@ func (i *Intent) ToIntentOutputWithContext(ctx context.Context) IntentOutput { return pulumi.ToOutputWithContext(ctx, i).(IntentOutput) } +func (i *Intent) ToOutput(ctx context.Context) pulumix.Output[*Intent] { + return pulumix.Output[*Intent]{ + OutputState: i.ToIntentOutputWithContext(ctx).OutputState, + } +} + type IntentOutput struct{ *pulumi.OutputState } func (IntentOutput) ElementType() reflect.Type { @@ -240,6 +247,12 @@ func (o IntentOutput) ToIntentOutputWithContext(ctx context.Context) IntentOutpu return o } +func (o IntentOutput) ToOutput(ctx context.Context) pulumix.Output[*Intent] { + return pulumix.Output[*Intent]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces. func (o IntentOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v *Intent) pulumi.StringOutput { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/knowledgeBase.go b/sdk/go/google/dialogflow/v2/knowledgeBase.go index b60198e2a0..ec1b0a305d 100644 --- a/sdk/go/google/dialogflow/v2/knowledgeBase.go +++ b/sdk/go/google/dialogflow/v2/knowledgeBase.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a knowledge base. @@ -119,6 +120,12 @@ func (i *KnowledgeBase) ToKnowledgeBaseOutputWithContext(ctx context.Context) Kn return pulumi.ToOutputWithContext(ctx, i).(KnowledgeBaseOutput) } +func (i *KnowledgeBase) ToOutput(ctx context.Context) pulumix.Output[*KnowledgeBase] { + return pulumix.Output[*KnowledgeBase]{ + OutputState: i.ToKnowledgeBaseOutputWithContext(ctx).OutputState, + } +} + type KnowledgeBaseOutput struct{ *pulumi.OutputState } func (KnowledgeBaseOutput) ElementType() reflect.Type { @@ -133,6 +140,12 @@ func (o KnowledgeBaseOutput) ToKnowledgeBaseOutputWithContext(ctx context.Contex return o } +func (o KnowledgeBaseOutput) ToOutput(ctx context.Context) pulumix.Output[*KnowledgeBase] { + return pulumix.Output[*KnowledgeBase]{ + OutputState: o.OutputState, + } +} + // The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails. func (o KnowledgeBaseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *KnowledgeBase) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2/participant.go b/sdk/go/google/dialogflow/v2/participant.go index 7a4b0b5f32..d8ed0aee17 100644 --- a/sdk/go/google/dialogflow/v2/participant.go +++ b/sdk/go/google/dialogflow/v2/participant.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new participant in a conversation. @@ -137,6 +138,12 @@ func (i *Participant) ToParticipantOutputWithContext(ctx context.Context) Partic return pulumi.ToOutputWithContext(ctx, i).(ParticipantOutput) } +func (i *Participant) ToOutput(ctx context.Context) pulumix.Output[*Participant] { + return pulumix.Output[*Participant]{ + OutputState: i.ToParticipantOutputWithContext(ctx).OutputState, + } +} + type ParticipantOutput struct{ *pulumi.OutputState } func (ParticipantOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ParticipantOutput) ToParticipantOutputWithContext(ctx context.Context) P return o } +func (o ParticipantOutput) ToOutput(ctx context.Context) pulumix.Output[*Participant] { + return pulumix.Output[*Participant]{ + OutputState: o.OutputState, + } +} + func (o ParticipantOutput) ConversationId() pulumi.StringOutput { return o.ApplyT(func(v *Participant) pulumi.StringOutput { return v.ConversationId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v2/pulumiEnums.go b/sdk/go/google/dialogflow/v2/pulumiEnums.go index 531d8afebd..38e63d97c0 100644 --- a/sdk/go/google/dialogflow/v2/pulumiEnums.go +++ b/sdk/go/google/dialogflow/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE. @@ -82,6 +83,12 @@ func (o ConversationConversationStageOutput) ToConversationConversationStagePtrO }).(ConversationConversationStagePtrOutput) } +func (o ConversationConversationStageOutput) ToOutput(ctx context.Context) pulumix.Output[ConversationConversationStage] { + return pulumix.Output[ConversationConversationStage]{ + OutputState: o.OutputState, + } +} + func (o ConversationConversationStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o ConversationConversationStagePtrOutput) ToConversationConversationStageP return o } +func (o ConversationConversationStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversationConversationStage] { + return pulumix.Output[*ConversationConversationStage]{ + OutputState: o.OutputState, + } +} + func (o ConversationConversationStagePtrOutput) Elem() ConversationConversationStageOutput { return o.ApplyT(func(v *ConversationConversationStage) ConversationConversationStage { if v != nil { @@ -179,6 +192,12 @@ func (in *conversationConversationStagePtr) ToConversationConversationStagePtrOu return pulumi.ToOutputWithContext(ctx, in).(ConversationConversationStagePtrOutput) } +func (in *conversationConversationStagePtr) ToOutput(ctx context.Context) pulumix.Output[*ConversationConversationStage] { + return pulumix.Output[*ConversationConversationStage]{ + OutputState: in.ToConversationConversationStagePtrOutputWithContext(ctx).OutputState, + } +} + type DocumentKnowledgeTypesItem string const ( @@ -254,6 +273,12 @@ func (o DocumentKnowledgeTypesItemOutput) ToDocumentKnowledgeTypesItemPtrOutputW }).(DocumentKnowledgeTypesItemPtrOutput) } +func (o DocumentKnowledgeTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentKnowledgeTypesItem] { + return pulumix.Output[DocumentKnowledgeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DocumentKnowledgeTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -289,6 +314,12 @@ func (o DocumentKnowledgeTypesItemPtrOutput) ToDocumentKnowledgeTypesItemPtrOutp return o } +func (o DocumentKnowledgeTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DocumentKnowledgeTypesItem] { + return pulumix.Output[*DocumentKnowledgeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DocumentKnowledgeTypesItemPtrOutput) Elem() DocumentKnowledgeTypesItemOutput { return o.ApplyT(func(v *DocumentKnowledgeTypesItem) DocumentKnowledgeTypesItem { if v != nil { @@ -351,6 +382,12 @@ func (in *documentKnowledgeTypesItemPtr) ToDocumentKnowledgeTypesItemPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(DocumentKnowledgeTypesItemPtrOutput) } +func (in *documentKnowledgeTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*DocumentKnowledgeTypesItem] { + return pulumix.Output[*DocumentKnowledgeTypesItem]{ + OutputState: in.ToDocumentKnowledgeTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // DocumentKnowledgeTypesItemArrayInput is an input type that accepts DocumentKnowledgeTypesItemArray and DocumentKnowledgeTypesItemArrayOutput values. // You can construct a concrete instance of `DocumentKnowledgeTypesItemArrayInput` via: // @@ -376,6 +413,12 @@ func (i DocumentKnowledgeTypesItemArray) ToDocumentKnowledgeTypesItemArrayOutput return pulumi.ToOutputWithContext(ctx, i).(DocumentKnowledgeTypesItemArrayOutput) } +func (i DocumentKnowledgeTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]DocumentKnowledgeTypesItem] { + return pulumix.Output[[]DocumentKnowledgeTypesItem]{ + OutputState: i.ToDocumentKnowledgeTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type DocumentKnowledgeTypesItemArrayOutput struct{ *pulumi.OutputState } func (DocumentKnowledgeTypesItemArrayOutput) ElementType() reflect.Type { @@ -390,6 +433,12 @@ func (o DocumentKnowledgeTypesItemArrayOutput) ToDocumentKnowledgeTypesItemArray return o } +func (o DocumentKnowledgeTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DocumentKnowledgeTypesItem] { + return pulumix.Output[[]DocumentKnowledgeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DocumentKnowledgeTypesItemArrayOutput) Index(i pulumi.IntInput) DocumentKnowledgeTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DocumentKnowledgeTypesItem { return vs[0].([]DocumentKnowledgeTypesItem)[vs[1].(int)] @@ -466,6 +515,12 @@ func (o EntityTypeAutoExpansionModeOutput) ToEntityTypeAutoExpansionModePtrOutpu }).(EntityTypeAutoExpansionModePtrOutput) } +func (o EntityTypeAutoExpansionModeOutput) ToOutput(ctx context.Context) pulumix.Output[EntityTypeAutoExpansionMode] { + return pulumix.Output[EntityTypeAutoExpansionMode]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeAutoExpansionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -501,6 +556,12 @@ func (o EntityTypeAutoExpansionModePtrOutput) ToEntityTypeAutoExpansionModePtrOu return o } +func (o EntityTypeAutoExpansionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeAutoExpansionMode] { + return pulumix.Output[*EntityTypeAutoExpansionMode]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeAutoExpansionModePtrOutput) Elem() EntityTypeAutoExpansionModeOutput { return o.ApplyT(func(v *EntityTypeAutoExpansionMode) EntityTypeAutoExpansionMode { if v != nil { @@ -563,6 +624,12 @@ func (in *entityTypeAutoExpansionModePtr) ToEntityTypeAutoExpansionModePtrOutput return pulumi.ToOutputWithContext(ctx, in).(EntityTypeAutoExpansionModePtrOutput) } +func (in *entityTypeAutoExpansionModePtr) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeAutoExpansionMode] { + return pulumix.Output[*EntityTypeAutoExpansionMode]{ + OutputState: in.ToEntityTypeAutoExpansionModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Indicates the kind of entity type. type EntityTypeKind string @@ -637,6 +704,12 @@ func (o EntityTypeKindOutput) ToEntityTypeKindPtrOutputWithContext(ctx context.C }).(EntityTypeKindPtrOutput) } +func (o EntityTypeKindOutput) ToOutput(ctx context.Context) pulumix.Output[EntityTypeKind] { + return pulumix.Output[EntityTypeKind]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -672,6 +745,12 @@ func (o EntityTypeKindPtrOutput) ToEntityTypeKindPtrOutputWithContext(ctx contex return o } +func (o EntityTypeKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeKind] { + return pulumix.Output[*EntityTypeKind]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeKindPtrOutput) Elem() EntityTypeKindOutput { return o.ApplyT(func(v *EntityTypeKind) EntityTypeKind { if v != nil { @@ -734,6 +813,12 @@ func (in *entityTypeKindPtr) ToEntityTypeKindPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(EntityTypeKindPtrOutput) } +func (in *entityTypeKindPtr) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeKind] { + return pulumix.Output[*EntityTypeKind]{ + OutputState: in.ToEntityTypeKindPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Type of the article suggestion model. If not provided, model_type is used. type GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType string @@ -806,6 +891,12 @@ func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypeOu }).(GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypePtrOutput) } +func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType] { + return pulumix.Output[GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -841,6 +932,12 @@ func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypePt return o } +func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType] { + return pulumix.Output[*GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypePtrOutput) Elem() GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType) GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType { if v != nil { @@ -903,6 +1000,12 @@ func (in *googleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypePtrOutput) } +func (in *googleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType] { + return pulumix.Output[*GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType]{ + OutputState: in.ToGoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the feature that enabled for fulfillment. type GoogleCloudDialogflowV2FulfillmentFeatureType string @@ -973,6 +1076,12 @@ func (o GoogleCloudDialogflowV2FulfillmentFeatureTypeOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowV2FulfillmentFeatureTypePtrOutput) } +func (o GoogleCloudDialogflowV2FulfillmentFeatureTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2FulfillmentFeatureType] { + return pulumix.Output[GoogleCloudDialogflowV2FulfillmentFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2FulfillmentFeatureTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1008,6 +1117,12 @@ func (o GoogleCloudDialogflowV2FulfillmentFeatureTypePtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2FulfillmentFeatureTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2FulfillmentFeatureType] { + return pulumix.Output[*GoogleCloudDialogflowV2FulfillmentFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2FulfillmentFeatureTypePtrOutput) Elem() GoogleCloudDialogflowV2FulfillmentFeatureTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2FulfillmentFeatureType) GoogleCloudDialogflowV2FulfillmentFeatureType { if v != nil { @@ -1070,6 +1185,12 @@ func (in *googleCloudDialogflowV2FulfillmentFeatureTypePtr) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2FulfillmentFeatureTypePtrOutput) } +func (in *googleCloudDialogflowV2FulfillmentFeatureTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2FulfillmentFeatureType] { + return pulumix.Output[*GoogleCloudDialogflowV2FulfillmentFeatureType]{ + OutputState: in.ToGoogleCloudDialogflowV2FulfillmentFeatureTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser. type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint string @@ -1142,6 +1263,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard }).(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1177,6 +1304,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard return o } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint) GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint { if v != nil { @@ -1239,6 +1372,12 @@ func (in *googleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtrOutput) } +func (in *googleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint]{ + OutputState: in.ToGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Settings for displaying the image. Applies to every image in items. type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions string @@ -1315,6 +1454,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOption }).(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptionsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1350,6 +1495,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOption return o } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptionsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions) GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions { if v != nil { @@ -1412,6 +1563,12 @@ func (in *googleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOpti return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutput) } +func (in *googleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptionsPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions]{ + OutputState: in.ToGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Defines text alignment for all cells in this column. type GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignment string @@ -1486,6 +1643,12 @@ func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentO }).(GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignment] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1521,6 +1684,12 @@ func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentP return o } +func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignment] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignment) GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignment { if v != nil { @@ -1583,6 +1752,12 @@ func (in *googleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmen return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentPtrOutput) } +func (in *googleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignment] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignment]{ + OutputState: in.ToGoogleCloudDialogflowV2IntentMessageColumnPropertiesHorizontalAlignmentPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. What type of media is the content (ie "audio"). type GoogleCloudDialogflowV2IntentMessageMediaContentMediaType string @@ -1653,6 +1828,12 @@ func (o GoogleCloudDialogflowV2IntentMessageMediaContentMediaTypeOutput) ToGoogl }).(GoogleCloudDialogflowV2IntentMessageMediaContentMediaTypePtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageMediaContentMediaTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContentMediaType] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContentMediaType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageMediaContentMediaTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1688,6 +1869,12 @@ func (o GoogleCloudDialogflowV2IntentMessageMediaContentMediaTypePtrOutput) ToGo return o } +func (o GoogleCloudDialogflowV2IntentMessageMediaContentMediaTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageMediaContentMediaType] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageMediaContentMediaType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageMediaContentMediaTypePtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageMediaContentMediaTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageMediaContentMediaType) GoogleCloudDialogflowV2IntentMessageMediaContentMediaType { if v != nil { @@ -1750,6 +1937,12 @@ func (in *googleCloudDialogflowV2IntentMessageMediaContentMediaTypePtr) ToGoogle return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2IntentMessageMediaContentMediaTypePtrOutput) } +func (in *googleCloudDialogflowV2IntentMessageMediaContentMediaTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageMediaContentMediaType] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageMediaContentMediaType]{ + OutputState: in.ToGoogleCloudDialogflowV2IntentMessageMediaContentMediaTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The platform that this message is intended for. type GoogleCloudDialogflowV2IntentMessagePlatform string @@ -1836,6 +2029,12 @@ func (o GoogleCloudDialogflowV2IntentMessagePlatformOutput) ToGoogleCloudDialogf }).(GoogleCloudDialogflowV2IntentMessagePlatformPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessagePlatformOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessagePlatform] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessagePlatform]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessagePlatformOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1871,6 +2070,12 @@ func (o GoogleCloudDialogflowV2IntentMessagePlatformPtrOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowV2IntentMessagePlatformPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessagePlatform] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessagePlatform]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessagePlatformPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessagePlatformOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessagePlatform) GoogleCloudDialogflowV2IntentMessagePlatform { if v != nil { @@ -1933,6 +2138,12 @@ func (in *googleCloudDialogflowV2IntentMessagePlatformPtr) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2IntentMessagePlatformPtrOutput) } +func (in *googleCloudDialogflowV2IntentMessagePlatformPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessagePlatform] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessagePlatform]{ + OutputState: in.ToGoogleCloudDialogflowV2IntentMessagePlatformPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of the training phrase. type GoogleCloudDialogflowV2IntentTrainingPhraseType string @@ -2005,6 +2216,12 @@ func (o GoogleCloudDialogflowV2IntentTrainingPhraseTypeOutput) ToGoogleCloudDial }).(GoogleCloudDialogflowV2IntentTrainingPhraseTypePtrOutput) } +func (o GoogleCloudDialogflowV2IntentTrainingPhraseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhraseType] { + return pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhraseType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentTrainingPhraseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2040,6 +2257,12 @@ func (o GoogleCloudDialogflowV2IntentTrainingPhraseTypePtrOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowV2IntentTrainingPhraseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentTrainingPhraseType] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentTrainingPhraseType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentTrainingPhraseTypePtrOutput) Elem() GoogleCloudDialogflowV2IntentTrainingPhraseTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentTrainingPhraseType) GoogleCloudDialogflowV2IntentTrainingPhraseType { if v != nil { @@ -2102,6 +2325,12 @@ func (in *googleCloudDialogflowV2IntentTrainingPhraseTypePtr) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2IntentTrainingPhraseTypePtrOutput) } +func (in *googleCloudDialogflowV2IntentTrainingPhraseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentTrainingPhraseType] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentTrainingPhraseType]{ + OutputState: in.ToGoogleCloudDialogflowV2IntentTrainingPhraseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Format of message. type GoogleCloudDialogflowV2NotificationConfigMessageFormat string @@ -2174,6 +2403,12 @@ func (o GoogleCloudDialogflowV2NotificationConfigMessageFormatOutput) ToGoogleCl }).(GoogleCloudDialogflowV2NotificationConfigMessageFormatPtrOutput) } +func (o GoogleCloudDialogflowV2NotificationConfigMessageFormatOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2NotificationConfigMessageFormat] { + return pulumix.Output[GoogleCloudDialogflowV2NotificationConfigMessageFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2NotificationConfigMessageFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2209,6 +2444,12 @@ func (o GoogleCloudDialogflowV2NotificationConfigMessageFormatPtrOutput) ToGoogl return o } +func (o GoogleCloudDialogflowV2NotificationConfigMessageFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2NotificationConfigMessageFormat] { + return pulumix.Output[*GoogleCloudDialogflowV2NotificationConfigMessageFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2NotificationConfigMessageFormatPtrOutput) Elem() GoogleCloudDialogflowV2NotificationConfigMessageFormatOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2NotificationConfigMessageFormat) GoogleCloudDialogflowV2NotificationConfigMessageFormat { if v != nil { @@ -2271,6 +2512,12 @@ func (in *googleCloudDialogflowV2NotificationConfigMessageFormatPtr) ToGoogleClo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2NotificationConfigMessageFormatPtrOutput) } +func (in *googleCloudDialogflowV2NotificationConfigMessageFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2NotificationConfigMessageFormat] { + return pulumix.Output[*GoogleCloudDialogflowV2NotificationConfigMessageFormat]{ + OutputState: in.ToGoogleCloudDialogflowV2NotificationConfigMessageFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Type of the smart reply model. If not provided, model_type is used. type GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType string @@ -2343,6 +2590,12 @@ func (o GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypeOutput) T }).(GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypePtrOutput) } +func (o GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType] { + return pulumix.Output[GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2378,6 +2631,12 @@ func (o GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypePtrOutput return o } +func (o GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType] { + return pulumix.Output[*GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypePtrOutput) Elem() GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType) GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType { if v != nil { @@ -2440,6 +2699,12 @@ func (in *googleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypePtr) To return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypePtrOutput) } +func (in *googleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType] { + return pulumix.Output[*GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType]{ + OutputState: in.ToGoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypePtrOutputWithContext(ctx).OutputState, + } +} + // The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. type GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant string @@ -2514,6 +2779,12 @@ func (o GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantOutput) ToGoo }).(GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantPtrOutput) } +func (o GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant] { + return pulumix.Output[GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2549,6 +2820,12 @@ func (o GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantPtrOutput) To return o } +func (o GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant] { + return pulumix.Output[*GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantPtrOutput) Elem() GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant) GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant { if v != nil { @@ -2611,6 +2888,12 @@ func (in *googleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantPtr) ToGoog return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantPtrOutput) } +func (in *googleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant] { + return pulumix.Output[*GoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariant]{ + OutputState: in.ToGoogleCloudDialogflowV2SpeechToTextConfigSpeechModelVariantPtrOutputWithContext(ctx).OutputState, + } +} + // Type of Human Agent Assistant API feature to request. type GoogleCloudDialogflowV2SuggestionFeatureType string @@ -2685,6 +2968,12 @@ func (o GoogleCloudDialogflowV2SuggestionFeatureTypeOutput) ToGoogleCloudDialogf }).(GoogleCloudDialogflowV2SuggestionFeatureTypePtrOutput) } +func (o GoogleCloudDialogflowV2SuggestionFeatureTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SuggestionFeatureType] { + return pulumix.Output[GoogleCloudDialogflowV2SuggestionFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SuggestionFeatureTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2720,6 +3009,12 @@ func (o GoogleCloudDialogflowV2SuggestionFeatureTypePtrOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowV2SuggestionFeatureTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SuggestionFeatureType] { + return pulumix.Output[*GoogleCloudDialogflowV2SuggestionFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SuggestionFeatureTypePtrOutput) Elem() GoogleCloudDialogflowV2SuggestionFeatureTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2SuggestionFeatureType) GoogleCloudDialogflowV2SuggestionFeatureType { if v != nil { @@ -2782,6 +3077,12 @@ func (in *googleCloudDialogflowV2SuggestionFeatureTypePtr) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2SuggestionFeatureTypePtrOutput) } +func (in *googleCloudDialogflowV2SuggestionFeatureTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SuggestionFeatureType] { + return pulumix.Output[*GoogleCloudDialogflowV2SuggestionFeatureType]{ + OutputState: in.ToGoogleCloudDialogflowV2SuggestionFeatureTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Audio encoding of the synthesized audio content. type GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding string @@ -2860,6 +3161,12 @@ func (o GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingOutput) To }).(GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingPtrOutput) } +func (o GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding] { + return pulumix.Output[GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2895,6 +3202,12 @@ func (o GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingPtrOutput) return o } +func (o GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding] { + return pulumix.Output[*GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingPtrOutput) Elem() GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding) GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding { if v != nil { @@ -2957,6 +3270,12 @@ func (in *googleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingPtr) ToG return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingPtrOutput) } +func (in *googleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding] { + return pulumix.Output[*GoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncoding]{ + OutputState: in.ToGoogleCloudDialogflowV2TextToSpeechSettingsOutputAudioEncodingPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement. If a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a different gender rather than failing the request. type GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender string @@ -3031,6 +3350,12 @@ func (o GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGenderOutput) ToGoogleClo }).(GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGenderPtrOutput) } +func (o GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGenderOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender] { + return pulumix.Output[GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGenderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3066,6 +3391,12 @@ func (o GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGenderPtrOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGenderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender] { + return pulumix.Output[*GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGenderPtrOutput) Elem() GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGenderOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender) GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender { if v != nil { @@ -3128,6 +3459,12 @@ func (in *googleCloudDialogflowV2VoiceSelectionParamsSsmlGenderPtr) ToGoogleClou return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGenderPtrOutput) } +func (in *googleCloudDialogflowV2VoiceSelectionParamsSsmlGenderPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender] { + return pulumix.Output[*GoogleCloudDialogflowV2VoiceSelectionParamsSsmlGender]{ + OutputState: in.ToGoogleCloudDialogflowV2VoiceSelectionParamsSsmlGenderPtrOutputWithContext(ctx).OutputState, + } +} + type IntentDefaultResponsePlatformsItem string const ( @@ -3213,6 +3550,12 @@ func (o IntentDefaultResponsePlatformsItemOutput) ToIntentDefaultResponsePlatfor }).(IntentDefaultResponsePlatformsItemPtrOutput) } +func (o IntentDefaultResponsePlatformsItemOutput) ToOutput(ctx context.Context) pulumix.Output[IntentDefaultResponsePlatformsItem] { + return pulumix.Output[IntentDefaultResponsePlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o IntentDefaultResponsePlatformsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3248,6 +3591,12 @@ func (o IntentDefaultResponsePlatformsItemPtrOutput) ToIntentDefaultResponsePlat return o } +func (o IntentDefaultResponsePlatformsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IntentDefaultResponsePlatformsItem] { + return pulumix.Output[*IntentDefaultResponsePlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o IntentDefaultResponsePlatformsItemPtrOutput) Elem() IntentDefaultResponsePlatformsItemOutput { return o.ApplyT(func(v *IntentDefaultResponsePlatformsItem) IntentDefaultResponsePlatformsItem { if v != nil { @@ -3310,6 +3659,12 @@ func (in *intentDefaultResponsePlatformsItemPtr) ToIntentDefaultResponsePlatform return pulumi.ToOutputWithContext(ctx, in).(IntentDefaultResponsePlatformsItemPtrOutput) } +func (in *intentDefaultResponsePlatformsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*IntentDefaultResponsePlatformsItem] { + return pulumix.Output[*IntentDefaultResponsePlatformsItem]{ + OutputState: in.ToIntentDefaultResponsePlatformsItemPtrOutputWithContext(ctx).OutputState, + } +} + // IntentDefaultResponsePlatformsItemArrayInput is an input type that accepts IntentDefaultResponsePlatformsItemArray and IntentDefaultResponsePlatformsItemArrayOutput values. // You can construct a concrete instance of `IntentDefaultResponsePlatformsItemArrayInput` via: // @@ -3335,6 +3690,12 @@ func (i IntentDefaultResponsePlatformsItemArray) ToIntentDefaultResponsePlatform return pulumi.ToOutputWithContext(ctx, i).(IntentDefaultResponsePlatformsItemArrayOutput) } +func (i IntentDefaultResponsePlatformsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]IntentDefaultResponsePlatformsItem] { + return pulumix.Output[[]IntentDefaultResponsePlatformsItem]{ + OutputState: i.ToIntentDefaultResponsePlatformsItemArrayOutputWithContext(ctx).OutputState, + } +} + type IntentDefaultResponsePlatformsItemArrayOutput struct{ *pulumi.OutputState } func (IntentDefaultResponsePlatformsItemArrayOutput) ElementType() reflect.Type { @@ -3349,6 +3710,12 @@ func (o IntentDefaultResponsePlatformsItemArrayOutput) ToIntentDefaultResponsePl return o } +func (o IntentDefaultResponsePlatformsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IntentDefaultResponsePlatformsItem] { + return pulumix.Output[[]IntentDefaultResponsePlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o IntentDefaultResponsePlatformsItemArrayOutput) Index(i pulumi.IntInput) IntentDefaultResponsePlatformsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IntentDefaultResponsePlatformsItem { return vs[0].([]IntentDefaultResponsePlatformsItem)[vs[1].(int)] @@ -3427,6 +3794,12 @@ func (o IntentWebhookStateOutput) ToIntentWebhookStatePtrOutputWithContext(ctx c }).(IntentWebhookStatePtrOutput) } +func (o IntentWebhookStateOutput) ToOutput(ctx context.Context) pulumix.Output[IntentWebhookState] { + return pulumix.Output[IntentWebhookState]{ + OutputState: o.OutputState, + } +} + func (o IntentWebhookStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3462,6 +3835,12 @@ func (o IntentWebhookStatePtrOutput) ToIntentWebhookStatePtrOutputWithContext(ct return o } +func (o IntentWebhookStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IntentWebhookState] { + return pulumix.Output[*IntentWebhookState]{ + OutputState: o.OutputState, + } +} + func (o IntentWebhookStatePtrOutput) Elem() IntentWebhookStateOutput { return o.ApplyT(func(v *IntentWebhookState) IntentWebhookState { if v != nil { @@ -3524,6 +3903,12 @@ func (in *intentWebhookStatePtr) ToIntentWebhookStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(IntentWebhookStatePtrOutput) } +func (in *intentWebhookStatePtr) ToOutput(ctx context.Context) pulumix.Output[*IntentWebhookState] { + return pulumix.Output[*IntentWebhookState]{ + OutputState: in.ToIntentWebhookStatePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable. type ParticipantRole string @@ -3598,6 +3983,12 @@ func (o ParticipantRoleOutput) ToParticipantRolePtrOutputWithContext(ctx context }).(ParticipantRolePtrOutput) } +func (o ParticipantRoleOutput) ToOutput(ctx context.Context) pulumix.Output[ParticipantRole] { + return pulumix.Output[ParticipantRole]{ + OutputState: o.OutputState, + } +} + func (o ParticipantRoleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3633,6 +4024,12 @@ func (o ParticipantRolePtrOutput) ToParticipantRolePtrOutputWithContext(ctx cont return o } +func (o ParticipantRolePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParticipantRole] { + return pulumix.Output[*ParticipantRole]{ + OutputState: o.OutputState, + } +} + func (o ParticipantRolePtrOutput) Elem() ParticipantRoleOutput { return o.ApplyT(func(v *ParticipantRole) ParticipantRole { if v != nil { @@ -3695,6 +4092,12 @@ func (in *participantRolePtr) ToParticipantRolePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(ParticipantRolePtrOutput) } +func (in *participantRolePtr) ToOutput(ctx context.Context) pulumix.Output[*ParticipantRole] { + return pulumix.Output[*ParticipantRole]{ + OutputState: in.ToParticipantRolePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Indicates whether the additional data should override or supplement the custom entity type definition. type SessionEntityTypeEntityOverrideMode string @@ -3767,6 +4170,12 @@ func (o SessionEntityTypeEntityOverrideModeOutput) ToSessionEntityTypeEntityOver }).(SessionEntityTypeEntityOverrideModePtrOutput) } +func (o SessionEntityTypeEntityOverrideModeOutput) ToOutput(ctx context.Context) pulumix.Output[SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[SessionEntityTypeEntityOverrideMode]{ + OutputState: o.OutputState, + } +} + func (o SessionEntityTypeEntityOverrideModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3802,6 +4211,12 @@ func (o SessionEntityTypeEntityOverrideModePtrOutput) ToSessionEntityTypeEntityO return o } +func (o SessionEntityTypeEntityOverrideModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[*SessionEntityTypeEntityOverrideMode]{ + OutputState: o.OutputState, + } +} + func (o SessionEntityTypeEntityOverrideModePtrOutput) Elem() SessionEntityTypeEntityOverrideModeOutput { return o.ApplyT(func(v *SessionEntityTypeEntityOverrideMode) SessionEntityTypeEntityOverrideMode { if v != nil { @@ -3864,6 +4279,12 @@ func (in *sessionEntityTypeEntityOverrideModePtr) ToSessionEntityTypeEntityOverr return pulumi.ToOutputWithContext(ctx, in).(SessionEntityTypeEntityOverrideModePtrOutput) } +func (in *sessionEntityTypeEntityOverrideModePtr) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[*SessionEntityTypeEntityOverrideMode]{ + OutputState: in.ToSessionEntityTypeEntityOverrideModePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConversationConversationStageInput)(nil)).Elem(), ConversationConversationStage("CONVERSATION_STAGE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ConversationConversationStagePtrInput)(nil)).Elem(), ConversationConversationStage("CONVERSATION_STAGE_UNSPECIFIED")) diff --git a/sdk/go/google/dialogflow/v2/pulumiTypes.go b/sdk/go/google/dialogflow/v2/pulumiTypes.go index 1268c45711..7ae6b206b5 100644 --- a/sdk/go/google/dialogflow/v2/pulumiTypes.go +++ b/sdk/go/google/dialogflow/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i GoogleCloudDialogflowV2ArticleSuggestionModelMetadataArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2ArticleSuggestionModelMetadataOutput) } +func (i GoogleCloudDialogflowV2ArticleSuggestionModelMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2ArticleSuggestionModelMetadata] { + return pulumix.Output[GoogleCloudDialogflowV2ArticleSuggestionModelMetadata]{ + OutputState: i.ToGoogleCloudDialogflowV2ArticleSuggestionModelMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2ArticleSuggestionModelMetadataArgs) ToGoogleCloudDialogflowV2ArticleSuggestionModelMetadataPtrOutput() GoogleCloudDialogflowV2ArticleSuggestionModelMetadataPtrOutput { return i.ToGoogleCloudDialogflowV2ArticleSuggestionModelMetadataPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *googleCloudDialogflowV2ArticleSuggestionModelMetadataPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2ArticleSuggestionModelMetadataPtrOutput) } +func (i *googleCloudDialogflowV2ArticleSuggestionModelMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2ArticleSuggestionModelMetadata] { + return pulumix.Output[*GoogleCloudDialogflowV2ArticleSuggestionModelMetadata]{ + OutputState: i.ToGoogleCloudDialogflowV2ArticleSuggestionModelMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata for article suggestion models. type GoogleCloudDialogflowV2ArticleSuggestionModelMetadataOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataOutput) ToGoogleClo }).(GoogleCloudDialogflowV2ArticleSuggestionModelMetadataPtrOutput) } +func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2ArticleSuggestionModelMetadata] { + return pulumix.Output[GoogleCloudDialogflowV2ArticleSuggestionModelMetadata]{ + OutputState: o.OutputState, + } +} + // Optional. Type of the article suggestion model. If not provided, model_type is used. func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataOutput) TrainingModelType() GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypePtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2ArticleSuggestionModelMetadata) *GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType { @@ -135,6 +154,12 @@ func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataPtrOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2ArticleSuggestionModelMetadata] { + return pulumix.Output[*GoogleCloudDialogflowV2ArticleSuggestionModelMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataPtrOutput) Elem() GoogleCloudDialogflowV2ArticleSuggestionModelMetadataOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2ArticleSuggestionModelMetadata) GoogleCloudDialogflowV2ArticleSuggestionModelMetadata { if v != nil { @@ -176,6 +201,12 @@ func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponseOutput) ToG return o } +func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse] { + return pulumix.Output[GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Type of the article suggestion model. If not provided, model_type is used. func (o GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponseOutput) TrainingModelType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse) string { @@ -218,6 +249,12 @@ func (i GoogleCloudDialogflowV2AutomatedAgentConfigArgs) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2AutomatedAgentConfigOutput) } +func (i GoogleCloudDialogflowV2AutomatedAgentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2AutomatedAgentConfig] { + return pulumix.Output[GoogleCloudDialogflowV2AutomatedAgentConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2AutomatedAgentConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2AutomatedAgentConfigArgs) ToGoogleCloudDialogflowV2AutomatedAgentConfigPtrOutput() GoogleCloudDialogflowV2AutomatedAgentConfigPtrOutput { return i.ToGoogleCloudDialogflowV2AutomatedAgentConfigPtrOutputWithContext(context.Background()) } @@ -259,6 +296,12 @@ func (i *googleCloudDialogflowV2AutomatedAgentConfigPtrType) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2AutomatedAgentConfigPtrOutput) } +func (i *googleCloudDialogflowV2AutomatedAgentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2AutomatedAgentConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2AutomatedAgentConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2AutomatedAgentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the Automated Agent to connect to a conversation. type GoogleCloudDialogflowV2AutomatedAgentConfigOutput struct{ *pulumi.OutputState } @@ -284,6 +327,12 @@ func (o GoogleCloudDialogflowV2AutomatedAgentConfigOutput) ToGoogleCloudDialogfl }).(GoogleCloudDialogflowV2AutomatedAgentConfigPtrOutput) } +func (o GoogleCloudDialogflowV2AutomatedAgentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2AutomatedAgentConfig] { + return pulumix.Output[GoogleCloudDialogflowV2AutomatedAgentConfig]{ + OutputState: o.OutputState, + } +} + // ID of the Dialogflow agent environment to use. This project needs to either be the same project as the conversation or you need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API Service Agent` role in this project. - For ES agents, use format: `projects//locations//agent/environments/`. If environment is not specified, the default `draft` environment is used. Refer to [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest) for more details. - For CX agents, use format `projects//locations//agents//environments/`. If environment is not specified, the default `draft` environment is used. func (o GoogleCloudDialogflowV2AutomatedAgentConfigOutput) Agent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2AutomatedAgentConfig) string { return v.Agent }).(pulumi.StringOutput) @@ -303,6 +352,12 @@ func (o GoogleCloudDialogflowV2AutomatedAgentConfigPtrOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowV2AutomatedAgentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2AutomatedAgentConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2AutomatedAgentConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2AutomatedAgentConfigPtrOutput) Elem() GoogleCloudDialogflowV2AutomatedAgentConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2AutomatedAgentConfig) GoogleCloudDialogflowV2AutomatedAgentConfig { if v != nil { @@ -344,6 +399,12 @@ func (o GoogleCloudDialogflowV2AutomatedAgentConfigResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2AutomatedAgentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2AutomatedAgentConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2AutomatedAgentConfigResponse]{ + OutputState: o.OutputState, + } +} + // ID of the Dialogflow agent environment to use. This project needs to either be the same project as the conversation or you need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API Service Agent` role in this project. - For ES agents, use format: `projects//locations//agent/environments/`. If environment is not specified, the default `draft` environment is used. Refer to [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest) for more details. - For CX agents, use format `projects//locations//agents//environments/`. If environment is not specified, the default `draft` environment is used. func (o GoogleCloudDialogflowV2AutomatedAgentConfigResponseOutput) Agent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2AutomatedAgentConfigResponse) string { return v.Agent }).(pulumi.StringOutput) @@ -392,6 +453,12 @@ func (i GoogleCloudDialogflowV2ContextArgs) ToGoogleCloudDialogflowV2ContextOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2ContextOutput) } +func (i GoogleCloudDialogflowV2ContextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2Context] { + return pulumix.Output[GoogleCloudDialogflowV2Context]{ + OutputState: i.ToGoogleCloudDialogflowV2ContextOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2ContextArrayInput is an input type that accepts GoogleCloudDialogflowV2ContextArray and GoogleCloudDialogflowV2ContextArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2ContextArrayInput` via: // @@ -417,6 +484,12 @@ func (i GoogleCloudDialogflowV2ContextArray) ToGoogleCloudDialogflowV2ContextArr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2ContextArrayOutput) } +func (i GoogleCloudDialogflowV2ContextArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2Context] { + return pulumix.Output[[]GoogleCloudDialogflowV2Context]{ + OutputState: i.ToGoogleCloudDialogflowV2ContextArrayOutputWithContext(ctx).OutputState, + } +} + // Dialogflow contexts are similar to natural language context. If a person says to you "they are orange", you need context in order to understand what "they" is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview). type GoogleCloudDialogflowV2ContextOutput struct{ *pulumi.OutputState } @@ -432,6 +505,12 @@ func (o GoogleCloudDialogflowV2ContextOutput) ToGoogleCloudDialogflowV2ContextOu return o } +func (o GoogleCloudDialogflowV2ContextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2Context] { + return pulumix.Output[GoogleCloudDialogflowV2Context]{ + OutputState: o.OutputState, + } +} + // Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries. func (o GoogleCloudDialogflowV2ContextOutput) LifespanCount() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2Context) *int { return v.LifespanCount }).(pulumi.IntPtrOutput) @@ -461,6 +540,12 @@ func (o GoogleCloudDialogflowV2ContextArrayOutput) ToGoogleCloudDialogflowV2Cont return o } +func (o GoogleCloudDialogflowV2ContextArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2Context] { + return pulumix.Output[[]GoogleCloudDialogflowV2Context]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2ContextArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2ContextOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2Context { return vs[0].([]GoogleCloudDialogflowV2Context)[vs[1].(int)] @@ -492,6 +577,12 @@ func (o GoogleCloudDialogflowV2ContextResponseOutput) ToGoogleCloudDialogflowV2C return o } +func (o GoogleCloudDialogflowV2ContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2ContextResponse] { + return pulumix.Output[GoogleCloudDialogflowV2ContextResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries. func (o GoogleCloudDialogflowV2ContextResponseOutput) LifespanCount() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2ContextResponse) int { return v.LifespanCount }).(pulumi.IntOutput) @@ -521,6 +612,12 @@ func (o GoogleCloudDialogflowV2ContextResponseArrayOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowV2ContextResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2ContextResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2ContextResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2ContextResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2ContextResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2ContextResponse { return vs[0].([]GoogleCloudDialogflowV2ContextResponse)[vs[1].(int)] @@ -548,6 +645,12 @@ func (o GoogleCloudDialogflowV2ConversationInfoResponseOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowV2ConversationInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2ConversationInfoResponse] { + return pulumix.Output[GoogleCloudDialogflowV2ConversationInfoResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The language code of the conversation data within this dataset. See https://cloud.google.com/apis/design/standard_fields for more information. Supports all UTF-8 languages. func (o GoogleCloudDialogflowV2ConversationInfoResponseOutput) LanguageCode() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2ConversationInfoResponse) string { return v.LanguageCode }).(pulumi.StringOutput) @@ -574,6 +677,12 @@ func (o GoogleCloudDialogflowV2ConversationPhoneNumberResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2ConversationPhoneNumberResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2ConversationPhoneNumberResponse] { + return pulumix.Output[GoogleCloudDialogflowV2ConversationPhoneNumberResponse]{ + OutputState: o.OutputState, + } +} + // The phone number to connect to this conversation. func (o GoogleCloudDialogflowV2ConversationPhoneNumberResponseOutput) PhoneNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2ConversationPhoneNumberResponse) string { return v.PhoneNumber }).(pulumi.StringOutput) @@ -602,6 +711,12 @@ func (o GoogleCloudDialogflowV2DocumentReloadStatusResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2DocumentReloadStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2DocumentReloadStatusResponse] { + return pulumix.Output[GoogleCloudDialogflowV2DocumentReloadStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status of a reload attempt or the initial load. func (o GoogleCloudDialogflowV2DocumentReloadStatusResponseOutput) Status() GoogleRpcStatusResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2DocumentReloadStatusResponse) GoogleRpcStatusResponse { return v.Status }).(GoogleRpcStatusResponseOutput) @@ -651,6 +766,12 @@ func (i GoogleCloudDialogflowV2EntityTypeEntityArgs) ToGoogleCloudDialogflowV2En return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2EntityTypeEntityOutput) } +func (i GoogleCloudDialogflowV2EntityTypeEntityArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EntityTypeEntity] { + return pulumix.Output[GoogleCloudDialogflowV2EntityTypeEntity]{ + OutputState: i.ToGoogleCloudDialogflowV2EntityTypeEntityOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2EntityTypeEntityArrayInput is an input type that accepts GoogleCloudDialogflowV2EntityTypeEntityArray and GoogleCloudDialogflowV2EntityTypeEntityArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2EntityTypeEntityArrayInput` via: // @@ -676,6 +797,12 @@ func (i GoogleCloudDialogflowV2EntityTypeEntityArray) ToGoogleCloudDialogflowV2E return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2EntityTypeEntityArrayOutput) } +func (i GoogleCloudDialogflowV2EntityTypeEntityArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2EntityTypeEntity] { + return pulumix.Output[[]GoogleCloudDialogflowV2EntityTypeEntity]{ + OutputState: i.ToGoogleCloudDialogflowV2EntityTypeEntityArrayOutputWithContext(ctx).OutputState, + } +} + // An **entity entry** for an associated entity type. type GoogleCloudDialogflowV2EntityTypeEntityOutput struct{ *pulumi.OutputState } @@ -691,6 +818,12 @@ func (o GoogleCloudDialogflowV2EntityTypeEntityOutput) ToGoogleCloudDialogflowV2 return o } +func (o GoogleCloudDialogflowV2EntityTypeEntityOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EntityTypeEntity] { + return pulumix.Output[GoogleCloudDialogflowV2EntityTypeEntity]{ + OutputState: o.OutputState, + } +} + // A collection of value synonyms. For example, if the entity type is *vegetable*, and `value` is *scallions*, a synonym could be *green onions*. For `KIND_LIST` entity types: * This collection must contain exactly one synonym equal to `value`. func (o GoogleCloudDialogflowV2EntityTypeEntityOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2EntityTypeEntity) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -715,6 +848,12 @@ func (o GoogleCloudDialogflowV2EntityTypeEntityArrayOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowV2EntityTypeEntityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2EntityTypeEntity] { + return pulumix.Output[[]GoogleCloudDialogflowV2EntityTypeEntity]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2EntityTypeEntityArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2EntityTypeEntityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2EntityTypeEntity { return vs[0].([]GoogleCloudDialogflowV2EntityTypeEntity)[vs[1].(int)] @@ -744,6 +883,12 @@ func (o GoogleCloudDialogflowV2EntityTypeEntityResponseOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowV2EntityTypeEntityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EntityTypeEntityResponse] { + return pulumix.Output[GoogleCloudDialogflowV2EntityTypeEntityResponse]{ + OutputState: o.OutputState, + } +} + // A collection of value synonyms. For example, if the entity type is *vegetable*, and `value` is *scallions*, a synonym could be *green onions*. For `KIND_LIST` entity types: * This collection must contain exactly one synonym equal to `value`. func (o GoogleCloudDialogflowV2EntityTypeEntityResponseOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2EntityTypeEntityResponse) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -768,6 +913,12 @@ func (o GoogleCloudDialogflowV2EntityTypeEntityResponseArrayOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowV2EntityTypeEntityResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2EntityTypeEntityResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2EntityTypeEntityResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2EntityTypeEntityResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2EntityTypeEntityResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2EntityTypeEntityResponse { return vs[0].([]GoogleCloudDialogflowV2EntityTypeEntityResponse)[vs[1].(int)] @@ -817,6 +968,12 @@ func (i GoogleCloudDialogflowV2EvaluationConfigArgs) ToGoogleCloudDialogflowV2Ev return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2EvaluationConfigOutput) } +func (i GoogleCloudDialogflowV2EvaluationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EvaluationConfig] { + return pulumix.Output[GoogleCloudDialogflowV2EvaluationConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2EvaluationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2EvaluationConfigArgs) ToGoogleCloudDialogflowV2EvaluationConfigPtrOutput() GoogleCloudDialogflowV2EvaluationConfigPtrOutput { return i.ToGoogleCloudDialogflowV2EvaluationConfigPtrOutputWithContext(context.Background()) } @@ -858,6 +1015,12 @@ func (i *googleCloudDialogflowV2EvaluationConfigPtrType) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2EvaluationConfigPtrOutput) } +func (i *googleCloudDialogflowV2EvaluationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2EvaluationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for model evaluation. type GoogleCloudDialogflowV2EvaluationConfigOutput struct{ *pulumi.OutputState } @@ -883,6 +1046,12 @@ func (o GoogleCloudDialogflowV2EvaluationConfigOutput) ToGoogleCloudDialogflowV2 }).(GoogleCloudDialogflowV2EvaluationConfigPtrOutput) } +func (o GoogleCloudDialogflowV2EvaluationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EvaluationConfig] { + return pulumix.Output[GoogleCloudDialogflowV2EvaluationConfig]{ + OutputState: o.OutputState, + } +} + // Datasets used for evaluation. func (o GoogleCloudDialogflowV2EvaluationConfigOutput) Datasets() GoogleCloudDialogflowV2InputDatasetArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2EvaluationConfig) []GoogleCloudDialogflowV2InputDataset { @@ -918,6 +1087,12 @@ func (o GoogleCloudDialogflowV2EvaluationConfigPtrOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowV2EvaluationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2EvaluationConfigPtrOutput) Elem() GoogleCloudDialogflowV2EvaluationConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2EvaluationConfig) GoogleCloudDialogflowV2EvaluationConfig { if v != nil { @@ -983,6 +1158,12 @@ func (o GoogleCloudDialogflowV2EvaluationConfigResponseOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowV2EvaluationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Datasets used for evaluation. func (o GoogleCloudDialogflowV2EvaluationConfigResponseOutput) Datasets() GoogleCloudDialogflowV2InputDatasetResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2EvaluationConfigResponse) []GoogleCloudDialogflowV2InputDatasetResponse { @@ -1043,6 +1224,12 @@ func (i GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigOutput) } +func (i GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig] { + return pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigArgs) ToGoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrOutput() GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrOutput { return i.ToGoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrOutputWithContext(context.Background()) } @@ -1084,6 +1271,12 @@ func (i *googleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrType) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrOutput) } +func (i *googleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Smart compose specific configuration for evaluation job. type GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigOutput struct{ *pulumi.OutputState } @@ -1109,6 +1302,12 @@ func (o GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigOutput) ToGoogl }).(GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrOutput) } +func (o GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig] { + return pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig]{ + OutputState: o.OutputState, + } +} + // The allowlist document resource name. Format: `projects//knowledgeBases//documents/`. Only used for smart compose model. func (o GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigOutput) AllowlistDocument() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig) *string { return v.AllowlistDocument }).(pulumi.StringPtrOutput) @@ -1133,6 +1332,12 @@ func (o GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrOutput) ToGo return o } +func (o GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigPtrOutput) Elem() GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig) GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig { if v != nil { @@ -1186,6 +1391,12 @@ func (o GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigResponseOutput) return o } +func (o GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigResponse]{ + OutputState: o.OutputState, + } +} + // The allowlist document resource name. Format: `projects//knowledgeBases//documents/`. Only used for smart compose model. func (o GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigResponseOutput) AllowlistDocument() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigResponse) string { @@ -1237,6 +1448,12 @@ func (i GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigOutput) } +func (i GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig] { + return pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigArgs) ToGoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrOutput() GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrOutput { return i.ToGoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrOutputWithContext(context.Background()) } @@ -1278,6 +1495,12 @@ func (i *googleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrOutput) } +func (i *googleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Smart reply specific configuration for evaluation job. type GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigOutput struct{ *pulumi.OutputState } @@ -1303,6 +1526,12 @@ func (o GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigOutput) ToGoogleC }).(GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrOutput) } +func (o GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig] { + return pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig]{ + OutputState: o.OutputState, + } +} + // The allowlist document resource name. Format: `projects//knowledgeBases//documents/`. Only used for smart reply model. func (o GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigOutput) AllowlistDocument() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig) *string { return v.AllowlistDocument }).(pulumi.StringPtrOutput) @@ -1327,6 +1556,12 @@ func (o GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigPtrOutput) Elem() GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig) GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig { if v != nil { @@ -1380,6 +1615,12 @@ func (o GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigResponseOutput) T return o } +func (o GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigResponse]{ + OutputState: o.OutputState, + } +} + // The allowlist document resource name. Format: `projects//knowledgeBases//documents/`. Only used for smart reply model. func (o GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigResponseOutput) AllowlistDocument() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigResponse) string { @@ -1443,6 +1684,12 @@ func (i GoogleCloudDialogflowV2FulfillmentArgs) ToGoogleCloudDialogflowV2Fulfill return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2FulfillmentOutput) } +func (i GoogleCloudDialogflowV2FulfillmentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2Fulfillment] { + return pulumix.Output[GoogleCloudDialogflowV2Fulfillment]{ + OutputState: i.ToGoogleCloudDialogflowV2FulfillmentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2FulfillmentArgs) ToGoogleCloudDialogflowV2FulfillmentPtrOutput() GoogleCloudDialogflowV2FulfillmentPtrOutput { return i.ToGoogleCloudDialogflowV2FulfillmentPtrOutputWithContext(context.Background()) } @@ -1484,6 +1731,12 @@ func (i *googleCloudDialogflowV2FulfillmentPtrType) ToGoogleCloudDialogflowV2Ful return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2FulfillmentPtrOutput) } +func (i *googleCloudDialogflowV2FulfillmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2Fulfillment] { + return pulumix.Output[*GoogleCloudDialogflowV2Fulfillment]{ + OutputState: i.ToGoogleCloudDialogflowV2FulfillmentPtrOutputWithContext(ctx).OutputState, + } +} + // By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday. For more information, see the [fulfillment guide](https://cloud.google.com/dialogflow/docs/fulfillment-overview). type GoogleCloudDialogflowV2FulfillmentOutput struct{ *pulumi.OutputState } @@ -1509,6 +1762,12 @@ func (o GoogleCloudDialogflowV2FulfillmentOutput) ToGoogleCloudDialogflowV2Fulfi }).(GoogleCloudDialogflowV2FulfillmentPtrOutput) } +func (o GoogleCloudDialogflowV2FulfillmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2Fulfillment] { + return pulumix.Output[GoogleCloudDialogflowV2Fulfillment]{ + OutputState: o.OutputState, + } +} + // Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment. func (o GoogleCloudDialogflowV2FulfillmentOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2Fulfillment) *string { return v.DisplayName }).(pulumi.StringPtrOutput) @@ -1552,6 +1811,12 @@ func (o GoogleCloudDialogflowV2FulfillmentPtrOutput) ToGoogleCloudDialogflowV2Fu return o } +func (o GoogleCloudDialogflowV2FulfillmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2Fulfillment] { + return pulumix.Output[*GoogleCloudDialogflowV2Fulfillment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2FulfillmentPtrOutput) Elem() GoogleCloudDialogflowV2FulfillmentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2Fulfillment) GoogleCloudDialogflowV2Fulfillment { if v != nil { @@ -1647,6 +1912,12 @@ func (i GoogleCloudDialogflowV2FulfillmentFeatureArgs) ToGoogleCloudDialogflowV2 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2FulfillmentFeatureOutput) } +func (i GoogleCloudDialogflowV2FulfillmentFeatureArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2FulfillmentFeature] { + return pulumix.Output[GoogleCloudDialogflowV2FulfillmentFeature]{ + OutputState: i.ToGoogleCloudDialogflowV2FulfillmentFeatureOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2FulfillmentFeatureArrayInput is an input type that accepts GoogleCloudDialogflowV2FulfillmentFeatureArray and GoogleCloudDialogflowV2FulfillmentFeatureArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2FulfillmentFeatureArrayInput` via: // @@ -1672,6 +1943,12 @@ func (i GoogleCloudDialogflowV2FulfillmentFeatureArray) ToGoogleCloudDialogflowV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2FulfillmentFeatureArrayOutput) } +func (i GoogleCloudDialogflowV2FulfillmentFeatureArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2FulfillmentFeature] { + return pulumix.Output[[]GoogleCloudDialogflowV2FulfillmentFeature]{ + OutputState: i.ToGoogleCloudDialogflowV2FulfillmentFeatureArrayOutputWithContext(ctx).OutputState, + } +} + // Whether fulfillment is enabled for the specific feature. type GoogleCloudDialogflowV2FulfillmentFeatureOutput struct{ *pulumi.OutputState } @@ -1687,6 +1964,12 @@ func (o GoogleCloudDialogflowV2FulfillmentFeatureOutput) ToGoogleCloudDialogflow return o } +func (o GoogleCloudDialogflowV2FulfillmentFeatureOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2FulfillmentFeature] { + return pulumix.Output[GoogleCloudDialogflowV2FulfillmentFeature]{ + OutputState: o.OutputState, + } +} + // The type of the feature that enabled for fulfillment. func (o GoogleCloudDialogflowV2FulfillmentFeatureOutput) Type() GoogleCloudDialogflowV2FulfillmentFeatureTypePtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2FulfillmentFeature) *GoogleCloudDialogflowV2FulfillmentFeatureType { @@ -1708,6 +1991,12 @@ func (o GoogleCloudDialogflowV2FulfillmentFeatureArrayOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowV2FulfillmentFeatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2FulfillmentFeature] { + return pulumix.Output[[]GoogleCloudDialogflowV2FulfillmentFeature]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2FulfillmentFeatureArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2FulfillmentFeatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2FulfillmentFeature { return vs[0].([]GoogleCloudDialogflowV2FulfillmentFeature)[vs[1].(int)] @@ -1735,6 +2024,12 @@ func (o GoogleCloudDialogflowV2FulfillmentFeatureResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2FulfillmentFeatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2FulfillmentFeatureResponse] { + return pulumix.Output[GoogleCloudDialogflowV2FulfillmentFeatureResponse]{ + OutputState: o.OutputState, + } +} + // The type of the feature that enabled for fulfillment. func (o GoogleCloudDialogflowV2FulfillmentFeatureResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2FulfillmentFeatureResponse) string { return v.Type }).(pulumi.StringOutput) @@ -1754,6 +2049,12 @@ func (o GoogleCloudDialogflowV2FulfillmentFeatureResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2FulfillmentFeatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2FulfillmentFeatureResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2FulfillmentFeatureResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2FulfillmentFeatureResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2FulfillmentFeatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2FulfillmentFeatureResponse { return vs[0].([]GoogleCloudDialogflowV2FulfillmentFeatureResponse)[vs[1].(int)] @@ -1811,6 +2112,12 @@ func (i GoogleCloudDialogflowV2FulfillmentGenericWebServiceArgs) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2FulfillmentGenericWebServiceOutput) } +func (i GoogleCloudDialogflowV2FulfillmentGenericWebServiceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2FulfillmentGenericWebService] { + return pulumix.Output[GoogleCloudDialogflowV2FulfillmentGenericWebService]{ + OutputState: i.ToGoogleCloudDialogflowV2FulfillmentGenericWebServiceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2FulfillmentGenericWebServiceArgs) ToGoogleCloudDialogflowV2FulfillmentGenericWebServicePtrOutput() GoogleCloudDialogflowV2FulfillmentGenericWebServicePtrOutput { return i.ToGoogleCloudDialogflowV2FulfillmentGenericWebServicePtrOutputWithContext(context.Background()) } @@ -1852,6 +2159,12 @@ func (i *googleCloudDialogflowV2FulfillmentGenericWebServicePtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2FulfillmentGenericWebServicePtrOutput) } +func (i *googleCloudDialogflowV2FulfillmentGenericWebServicePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2FulfillmentGenericWebService] { + return pulumix.Output[*GoogleCloudDialogflowV2FulfillmentGenericWebService]{ + OutputState: i.ToGoogleCloudDialogflowV2FulfillmentGenericWebServicePtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers. More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure. type GoogleCloudDialogflowV2FulfillmentGenericWebServiceOutput struct{ *pulumi.OutputState } @@ -1877,6 +2190,12 @@ func (o GoogleCloudDialogflowV2FulfillmentGenericWebServiceOutput) ToGoogleCloud }).(GoogleCloudDialogflowV2FulfillmentGenericWebServicePtrOutput) } +func (o GoogleCloudDialogflowV2FulfillmentGenericWebServiceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2FulfillmentGenericWebService] { + return pulumix.Output[GoogleCloudDialogflowV2FulfillmentGenericWebService]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now. func (o GoogleCloudDialogflowV2FulfillmentGenericWebServiceOutput) IsCloudFunction() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2FulfillmentGenericWebService) *bool { return v.IsCloudFunction }).(pulumi.BoolPtrOutput) @@ -1916,6 +2235,12 @@ func (o GoogleCloudDialogflowV2FulfillmentGenericWebServicePtrOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2FulfillmentGenericWebServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2FulfillmentGenericWebService] { + return pulumix.Output[*GoogleCloudDialogflowV2FulfillmentGenericWebService]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2FulfillmentGenericWebServicePtrOutput) Elem() GoogleCloudDialogflowV2FulfillmentGenericWebServiceOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2FulfillmentGenericWebService) GoogleCloudDialogflowV2FulfillmentGenericWebService { if v != nil { @@ -2005,6 +2330,12 @@ func (o GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponseOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse] { + return pulumix.Output[GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now. func (o GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponseOutput) IsCloudFunction() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse) bool { return v.IsCloudFunction }).(pulumi.BoolOutput) @@ -2061,6 +2392,12 @@ func (o GoogleCloudDialogflowV2FulfillmentResponseOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowV2FulfillmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2FulfillmentResponse] { + return pulumix.Output[GoogleCloudDialogflowV2FulfillmentResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment. func (o GoogleCloudDialogflowV2FulfillmentResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2FulfillmentResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2111,6 +2448,12 @@ func (o GoogleCloudDialogflowV2GcsSourcesResponseOutput) ToGoogleCloudDialogflow return o } +func (o GoogleCloudDialogflowV2GcsSourcesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2GcsSourcesResponse] { + return pulumix.Output[GoogleCloudDialogflowV2GcsSourcesResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. func (o GoogleCloudDialogflowV2GcsSourcesResponseOutput) Uris() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2GcsSourcesResponse) []string { return v.Uris }).(pulumi.StringArrayOutput) @@ -2163,6 +2506,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigArgs) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigPtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigPtrOutputWithContext(context.Background()) } @@ -2204,6 +2553,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the Human Agent Assist to connect to a conversation. type GoogleCloudDialogflowV2HumanAgentAssistantConfigOutput struct{ *pulumi.OutputState } @@ -2229,6 +2584,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigOutput) ToGoogleCloudDia }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for agent assistance of end user participant. Currently, this feature is not general available, please contact Google to get access. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigOutput) EndUserSuggestionConfig() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfig) *GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig { @@ -2271,6 +2632,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfig) GoogleCloudDialogflowV2HumanAgentAssistantConfig { if v != nil { @@ -2360,6 +2727,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigPtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigPtrOutputWithContext(context.Background()) } @@ -2401,6 +2774,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION. type GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigOutput struct{ *pulumi.OutputState } @@ -2426,6 +2805,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigO }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig]{ + OutputState: o.OutputState, + } +} + // Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default) Summarization baseline model: - 1.0 func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigOutput) BaselineModelVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig) *string { @@ -2454,6 +2839,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigP return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig) GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig { if v != nil { @@ -2507,6 +2898,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigR return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigResponse]{ + OutputState: o.OutputState, + } +} + // Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default) Summarization baseline model: - 1.0 func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigResponseOutput) BaselineModelVersion() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigResponse) string { @@ -2556,6 +2953,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigPtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigPtrOutputWithContext(context.Background()) } @@ -2597,6 +3000,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config to process conversation. type GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigOutput struct{ *pulumi.OutputState } @@ -2622,6 +3031,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfi }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig]{ + OutputState: o.OutputState, + } +} + // Number of recent non-small-talk sentences to use as context for article and FAQ suggestion func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigOutput) RecentSentencesCount() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig) *int { @@ -2643,6 +3058,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfi return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig) GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig { if v != nil { @@ -2684,6 +3105,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfi return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigResponse]{ + OutputState: o.OutputState, + } +} + // Number of recent non-small-talk sentences to use as context for article and FAQ suggestion func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigResponseOutput) RecentSentencesCount() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfigResponse) int { @@ -2730,6 +3157,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigArg return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPtrOutputWithContext(context.Background()) } @@ -2771,6 +3204,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for analyses to run on each conversation message. type GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigOutput struct{ *pulumi.OutputState } @@ -2796,6 +3235,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigOut }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig]{ + OutputState: o.OutputState, + } +} + // Enable entity extraction in conversation messages on [agent assist stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). If unspecified, defaults to false. Currently, this feature is not general available, please contact Google to get access. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigOutput) EnableEntityExtraction() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig) *bool { @@ -2824,6 +3269,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPtr return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig) GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig { if v != nil { @@ -2877,6 +3328,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigRes return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigResponse]{ + OutputState: o.OutputState, + } +} + // Enable entity extraction in conversation messages on [agent assist stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). If unspecified, defaults to false. Currently, this feature is not general available, please contact Google to get access. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigResponseOutput) EnableEntityExtraction() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigResponse) bool { @@ -2918,6 +3375,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigResponseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for agent assistance of end user participant. Currently, this feature is not general available, please contact Google to get access. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigResponseOutput) EndUserSuggestionConfig() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigResponse) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigResponse { @@ -2985,6 +3448,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigArgs) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrOutputWithContext(context.Background()) } @@ -3026,6 +3495,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrType return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Detail human agent assistant config. type GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigOutput struct{ *pulumi.OutputState } @@ -3051,6 +3526,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigOutput) }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig]{ + OutputState: o.OutputState, + } +} + // Configuration of different suggestion features. One feature can have only one config. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigOutput) FeatureConfigs() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig) []GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig { @@ -3079,6 +3560,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrOutpu return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig { if v != nil { @@ -3132,6 +3619,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigResponse return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration of different suggestion features. One feature can have only one config. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigResponseOutput) FeatureConfigs() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfigResponse) []GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponse { @@ -3201,6 +3694,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArrayInput is an input type that accepts GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArray and GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArrayInput` via: // @@ -3226,6 +3725,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig] { + return pulumix.Output[[]GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Config for suggestion features. type GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigOutput struct{ *pulumi.OutputState } @@ -3241,6 +3746,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigO return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig]{ + OutputState: o.OutputState, + } +} + // Configs of custom conversation model. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigOutput) ConversationModelConfig() GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig) *GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig { @@ -3297,6 +3808,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigA return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig] { + return pulumix.Output[[]GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig { return vs[0].([]GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig)[vs[1].(int)] @@ -3334,6 +3851,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigR return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configs of custom conversation model. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponseOutput) ConversationModelConfig() GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponse) GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfigResponse { @@ -3390,6 +3913,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigR return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponse { return vs[0].([]GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfigResponse)[vs[1].(int)] @@ -3451,6 +3980,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigArg return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPtrOutputWithContext(context.Background()) } @@ -3492,6 +4027,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config for suggestion query. type GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigOutput struct{ *pulumi.OutputState } @@ -3517,6 +4058,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigOut }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig]{ + OutputState: o.OutputState, + } +} + // Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it defaults to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigOutput) ConfidenceThreshold() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig) *float64 { @@ -3573,6 +4120,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPtr return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig { if v != nil { @@ -3686,6 +4239,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutputWithContext(context.Background()) } @@ -3727,6 +4286,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings that determine how to filter recent conversation context when generating suggestions. type GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutput struct{ *pulumi.OutputState } @@ -3752,6 +4317,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigCon }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]{ + OutputState: o.OutputState, + } +} + // If set to true, the last message from virtual agent (hand off message) and the message before it (trigger message of hand off) are dropped. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutput) DropHandoffMessages() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings) *bool { @@ -3787,6 +4358,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigCon return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings { if v != nil { @@ -3852,6 +4429,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigCon return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, the last message from virtual agent (hand off message) and the message before it (trigger message of hand off) are dropped. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponseOutput) DropHandoffMessages() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponse) bool { @@ -3908,6 +4491,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutputWithContext(context.Background()) } @@ -3949,6 +4538,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutputWithContext(ctx).OutputState, + } +} + // Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST. type GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutput struct{ *pulumi.OutputState } @@ -3974,6 +4569,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDia }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]{ + OutputState: o.OutputState, + } +} + // The name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: `projects//locations//agent`. When multiple agents are allowed in the same Dialogflow project. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutput) Agent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource) string { @@ -3995,6 +4596,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDia return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource { if v != nil { @@ -4036,6 +4643,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDia return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponse]{ + OutputState: o.OutputState, + } +} + // The name of a Dialogflow virtual agent used for end user side intent detection and suggestion. Format: `projects//locations//agent`. When multiple agents are allowed in the same Dialogflow project. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponseOutput) Agent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponse) string { @@ -4078,6 +4691,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDoc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutputWithContext(context.Background()) } @@ -4119,6 +4738,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutputWithContext(ctx).OutputState, + } +} + // Document source settings. Supported features: SMART_REPLY, SMART_COMPOSE. type GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutput struct{ *pulumi.OutputState } @@ -4144,6 +4769,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDoc }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource]{ + OutputState: o.OutputState, + } +} + // Knowledge documents to query from. Format: `projects//locations//knowledgeBases//documents/`. Currently, at most 5 documents are supported. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutput) Documents() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource) []string { @@ -4165,6 +4796,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDoc return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource { if v != nil { @@ -4206,6 +4843,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDoc return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponse]{ + OutputState: o.OutputState, + } +} + // Knowledge documents to query from. Format: `projects//locations//knowledgeBases//documents/`. Currently, at most 5 documents are supported. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponseOutput) Documents() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponse) []string { @@ -4248,6 +4891,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKno return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutputWithContext(context.Background()) } @@ -4289,6 +4938,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKn return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutputWithContext(ctx).OutputState, + } +} + // Knowledge base source settings. Supported features: ARTICLE_SUGGESTION, FAQ. type GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutput struct{ *pulumi.OutputState } @@ -4314,6 +4969,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKno }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource]{ + OutputState: o.OutputState, + } +} + // Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, at most 5 knowledge bases are supported. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutput) KnowledgeBases() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource) []string { @@ -4335,6 +4996,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKno return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource { if v != nil { @@ -4376,6 +5043,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKno return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse]{ + OutputState: o.OutputState, + } +} + // Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, at most 5 knowledge bases are supported. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponseOutput) KnowledgeBases() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse) []string { @@ -4414,6 +5087,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigRes return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigResponse]{ + OutputState: o.OutputState, + } +} + // Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it defaults to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigResponseOutput) ConfidenceThreshold() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigResponse) float64 { @@ -4495,6 +5174,12 @@ func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSetting return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsOutput) } +func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsArgs) ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutputWithContext(context.Background()) } @@ -4536,6 +5221,12 @@ func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettin return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings of suggestion trigger. type GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsOutput struct{ *pulumi.OutputState } @@ -4561,6 +5252,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSetting }).(GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings]{ + OutputState: o.OutputState, + } +} + // Do not trigger if last utterance is small talk. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsOutput) NoSmalltalk() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings) *bool { @@ -4589,6 +5286,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSetting return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings) GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings { if v != nil { @@ -4642,6 +5345,12 @@ func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSetting return o } +func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Do not trigger if last utterance is small talk. func (o GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsResponseOutput) NoSmalltalk() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettingsResponse) bool { @@ -4695,6 +5404,12 @@ func (i GoogleCloudDialogflowV2HumanAgentHandoffConfigArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentHandoffConfigOutput) } +func (i GoogleCloudDialogflowV2HumanAgentHandoffConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentHandoffConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentHandoffConfigArgs) ToGoogleCloudDialogflowV2HumanAgentHandoffConfigPtrOutput() GoogleCloudDialogflowV2HumanAgentHandoffConfigPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentHandoffConfigPtrOutputWithContext(context.Background()) } @@ -4736,6 +5451,12 @@ func (i *googleCloudDialogflowV2HumanAgentHandoffConfigPtrType) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentHandoffConfigPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentHandoffConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentHandoffConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation. Currently, this feature is not general available, please contact Google to get access. type GoogleCloudDialogflowV2HumanAgentHandoffConfigOutput struct{ *pulumi.OutputState } @@ -4761,6 +5482,12 @@ func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigOutput) ToGoogleCloudDialo }).(GoogleCloudDialogflowV2HumanAgentHandoffConfigPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfig]{ + OutputState: o.OutputState, + } +} + // Uses LivePerson (https://www.liveperson.com). func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigOutput) LivePersonConfig() GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentHandoffConfig) *GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig { @@ -4789,6 +5516,12 @@ func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigPtrOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentHandoffConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentHandoffConfig) GoogleCloudDialogflowV2HumanAgentHandoffConfig { if v != nil { @@ -4854,6 +5587,12 @@ func (i GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigArgs) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigOutput) } +func (i GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigArgs) ToGoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrOutput() GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrOutputWithContext(context.Background()) } @@ -4895,6 +5634,12 @@ func (i *googleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrType) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration specific to LivePerson (https://www.liveperson.com). type GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigOutput struct{ *pulumi.OutputState } @@ -4920,6 +5665,12 @@ func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigOutput) To }).(GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig]{ + OutputState: o.OutputState, + } +} + // Account number of the LivePerson account to connect. This is the account number you input at the login page. func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigOutput) AccountNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig) string { return v.AccountNumber }).(pulumi.StringOutput) @@ -4939,6 +5690,12 @@ func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrOutput) return o } +func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig) GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig { if v != nil { @@ -4980,6 +5737,12 @@ func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigResponseOu return o } +func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigResponse]{ + OutputState: o.OutputState, + } +} + // Account number of the LivePerson account to connect. This is the account number you input at the login page. func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigResponseOutput) AccountNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigResponse) string { @@ -5010,6 +5773,12 @@ func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigResponse]{ + OutputState: o.OutputState, + } +} + // Uses LivePerson (https://www.liveperson.com). func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigResponseOutput) LivePersonConfig() GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentHandoffConfigResponse) GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfigResponse { @@ -5071,6 +5840,12 @@ func (i GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigOutput) } +func (i GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigArgs) ToGoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput() GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput { return i.ToGoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutputWithContext(context.Background()) } @@ -5112,6 +5887,12 @@ func (i *googleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput) } +func (i *googleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration specific to Salesforce Live Agent. type GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigOutput struct{ *pulumi.OutputState } @@ -5137,6 +5918,12 @@ func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigO }).(GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput) } +func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig]{ + OutputState: o.OutputState, + } +} + // Live Agent chat button ID. func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigOutput) ButtonId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig) string { @@ -5179,6 +5966,12 @@ func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigP return o } +func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput) Elem() GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig) GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig { if v != nil { @@ -5256,6 +6049,12 @@ func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigR return o } +func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Live Agent chat button ID. func (o GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigResponseOutput) ButtonId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigResponse) string { @@ -5305,6 +6104,12 @@ func (o GoogleCloudDialogflowV2InputConfigResponseOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowV2InputConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2InputConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2InputConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud Storage URI has the form gs:////agent*.json. Wildcards are allowed and will be expanded into all matched JSON files, which will be read as one conversation per file. func (o GoogleCloudDialogflowV2InputConfigResponseOutput) GcsSource() GoogleCloudDialogflowV2GcsSourcesResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2InputConfigResponse) GoogleCloudDialogflowV2GcsSourcesResponse { @@ -5347,6 +6152,12 @@ func (i GoogleCloudDialogflowV2InputDatasetArgs) ToGoogleCloudDialogflowV2InputD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2InputDatasetOutput) } +func (i GoogleCloudDialogflowV2InputDatasetArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2InputDataset] { + return pulumix.Output[GoogleCloudDialogflowV2InputDataset]{ + OutputState: i.ToGoogleCloudDialogflowV2InputDatasetOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2InputDatasetArrayInput is an input type that accepts GoogleCloudDialogflowV2InputDatasetArray and GoogleCloudDialogflowV2InputDatasetArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2InputDatasetArrayInput` via: // @@ -5372,6 +6183,12 @@ func (i GoogleCloudDialogflowV2InputDatasetArray) ToGoogleCloudDialogflowV2Input return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2InputDatasetArrayOutput) } +func (i GoogleCloudDialogflowV2InputDatasetArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2InputDataset] { + return pulumix.Output[[]GoogleCloudDialogflowV2InputDataset]{ + OutputState: i.ToGoogleCloudDialogflowV2InputDatasetArrayOutputWithContext(ctx).OutputState, + } +} + // InputDataset used to create model or do evaluation. NextID:5 type GoogleCloudDialogflowV2InputDatasetOutput struct{ *pulumi.OutputState } @@ -5387,6 +6204,12 @@ func (o GoogleCloudDialogflowV2InputDatasetOutput) ToGoogleCloudDialogflowV2Inpu return o } +func (o GoogleCloudDialogflowV2InputDatasetOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2InputDataset] { + return pulumix.Output[GoogleCloudDialogflowV2InputDataset]{ + OutputState: o.OutputState, + } +} + // ConversationDataset resource name. Format: `projects//locations//conversationDatasets/` func (o GoogleCloudDialogflowV2InputDatasetOutput) Dataset() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2InputDataset) string { return v.Dataset }).(pulumi.StringOutput) @@ -5406,6 +6229,12 @@ func (o GoogleCloudDialogflowV2InputDatasetArrayOutput) ToGoogleCloudDialogflowV return o } +func (o GoogleCloudDialogflowV2InputDatasetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2InputDataset] { + return pulumix.Output[[]GoogleCloudDialogflowV2InputDataset]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2InputDatasetArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2InputDatasetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2InputDataset { return vs[0].([]GoogleCloudDialogflowV2InputDataset)[vs[1].(int)] @@ -5433,6 +6262,12 @@ func (o GoogleCloudDialogflowV2InputDatasetResponseOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowV2InputDatasetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2InputDatasetResponse] { + return pulumix.Output[GoogleCloudDialogflowV2InputDatasetResponse]{ + OutputState: o.OutputState, + } +} + // ConversationDataset resource name. Format: `projects//locations//conversationDatasets/` func (o GoogleCloudDialogflowV2InputDatasetResponseOutput) Dataset() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2InputDatasetResponse) string { return v.Dataset }).(pulumi.StringOutput) @@ -5452,6 +6287,12 @@ func (o GoogleCloudDialogflowV2InputDatasetResponseArrayOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2InputDatasetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2InputDatasetResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2InputDatasetResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2InputDatasetResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2InputDatasetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2InputDatasetResponse { return vs[0].([]GoogleCloudDialogflowV2InputDatasetResponse)[vs[1].(int)] @@ -5481,6 +6322,12 @@ func (o GoogleCloudDialogflowV2IntentFollowupIntentInfoResponseOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowV2IntentFollowupIntentInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse]{ + OutputState: o.OutputState, + } +} + // The unique identifier of the followup intent. Format: `projects//agent/intents/`. func (o GoogleCloudDialogflowV2IntentFollowupIntentInfoResponseOutput) FollowupIntentName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse) string { return v.FollowupIntentName }).(pulumi.StringOutput) @@ -5507,6 +6354,12 @@ func (o GoogleCloudDialogflowV2IntentFollowupIntentInfoResponseArrayOutput) ToGo return o } +func (o GoogleCloudDialogflowV2IntentFollowupIntentInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentFollowupIntentInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentFollowupIntentInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse { return vs[0].([]GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse)[vs[1].(int)] @@ -5604,6 +6457,12 @@ func (i GoogleCloudDialogflowV2IntentMessageArgs) ToGoogleCloudDialogflowV2Inten return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageOutput) } +func (i GoogleCloudDialogflowV2IntentMessageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessage] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessage]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageArray and GoogleCloudDialogflowV2IntentMessageArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageArrayInput` via: // @@ -5629,6 +6488,12 @@ func (i GoogleCloudDialogflowV2IntentMessageArray) ToGoogleCloudDialogflowV2Inte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessage] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessage]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageArrayOutputWithContext(ctx).OutputState, + } +} + // A rich response message. Corresponds to the intent `Response` field in the Dialogflow console. For more information, see [Rich response messages](https://cloud.google.com/dialogflow/docs/intents-rich-messages). type GoogleCloudDialogflowV2IntentMessageOutput struct{ *pulumi.OutputState } @@ -5644,6 +6509,12 @@ func (o GoogleCloudDialogflowV2IntentMessageOutput) ToGoogleCloudDialogflowV2Int return o } +func (o GoogleCloudDialogflowV2IntentMessageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessage] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessage]{ + OutputState: o.OutputState, + } +} + // The basic card response for Actions on Google. func (o GoogleCloudDialogflowV2IntentMessageOutput) BasicCard() GoogleCloudDialogflowV2IntentMessageBasicCardPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessage) *GoogleCloudDialogflowV2IntentMessageBasicCard { @@ -5757,6 +6628,12 @@ func (o GoogleCloudDialogflowV2IntentMessageArrayOutput) ToGoogleCloudDialogflow return o } +func (o GoogleCloudDialogflowV2IntentMessageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessage] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessage { return vs[0].([]GoogleCloudDialogflowV2IntentMessage)[vs[1].(int)] @@ -5814,6 +6691,12 @@ func (i GoogleCloudDialogflowV2IntentMessageBasicCardArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageBasicCardOutput) } +func (i GoogleCloudDialogflowV2IntentMessageBasicCardArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCard] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCard]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageBasicCardOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageBasicCardArgs) ToGoogleCloudDialogflowV2IntentMessageBasicCardPtrOutput() GoogleCloudDialogflowV2IntentMessageBasicCardPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageBasicCardPtrOutputWithContext(context.Background()) } @@ -5855,6 +6738,12 @@ func (i *googleCloudDialogflowV2IntentMessageBasicCardPtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageBasicCardPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageBasicCardPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBasicCard] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBasicCard]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageBasicCardPtrOutputWithContext(ctx).OutputState, + } +} + // The basic card message. Useful for displaying information. type GoogleCloudDialogflowV2IntentMessageBasicCardOutput struct{ *pulumi.OutputState } @@ -5880,6 +6769,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBasicCardOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowV2IntentMessageBasicCardPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageBasicCardOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCard] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCard]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of card buttons. func (o GoogleCloudDialogflowV2IntentMessageBasicCardOutput) Buttons() GoogleCloudDialogflowV2IntentMessageBasicCardButtonArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBasicCard) []GoogleCloudDialogflowV2IntentMessageBasicCardButton { @@ -5923,6 +6818,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBasicCardPtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2IntentMessageBasicCardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBasicCard] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBasicCard]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageBasicCardPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageBasicCardOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageBasicCard) GoogleCloudDialogflowV2IntentMessageBasicCard { if v != nil { @@ -6022,6 +6923,12 @@ func (i GoogleCloudDialogflowV2IntentMessageBasicCardButtonArgs) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageBasicCardButtonOutput) } +func (i GoogleCloudDialogflowV2IntentMessageBasicCardButtonArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButton] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButton]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageBasicCardButtonOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageBasicCardButtonArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageBasicCardButtonArray and GoogleCloudDialogflowV2IntentMessageBasicCardButtonArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageBasicCardButtonArrayInput` via: // @@ -6047,6 +6954,12 @@ func (i GoogleCloudDialogflowV2IntentMessageBasicCardButtonArray) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageBasicCardButtonArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageBasicCardButtonArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBasicCardButton] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBasicCardButton]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageBasicCardButtonArrayOutputWithContext(ctx).OutputState, + } +} + // The button object that appears at the bottom of a card. type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOutput struct{ *pulumi.OutputState } @@ -6062,6 +6975,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButton] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButton]{ + OutputState: o.OutputState, + } +} + // Action to take when a user taps on the button. func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonOutput) OpenUriAction() GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBasicCardButton) GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction { @@ -6088,6 +7007,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonArrayOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBasicCardButton] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBasicCardButton]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageBasicCardButtonOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageBasicCardButton { return vs[0].([]GoogleCloudDialogflowV2IntentMessageBasicCardButton)[vs[1].(int)] @@ -6129,6 +7054,12 @@ func (i GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionArgs) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionOutput) } +func (i GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionOutputWithContext(ctx).OutputState, + } +} + // Opens the given URI. type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionOutput struct{ *pulumi.OutputState } @@ -6144,6 +7075,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionOutput) return o } +func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction]{ + OutputState: o.OutputState, + } +} + // The HTTP or HTTPS scheme URI. func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) string { return v.Uri }).(pulumi.StringOutput) @@ -6170,6 +7107,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionResponse return o } +func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP or HTTPS scheme URI. func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionResponse) string { return v.Uri }).(pulumi.StringOutput) @@ -6198,6 +7141,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponseOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse]{ + OutputState: o.OutputState, + } +} + // Action to take when a user taps on the button. func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponseOutput) OpenUriAction() GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse) GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriActionResponse { @@ -6224,6 +7173,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponseArrayOutput) return o } +func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse)[vs[1].(int)] @@ -6259,6 +7214,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBasicCardResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2IntentMessageBasicCardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBasicCardResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of card buttons. func (o GoogleCloudDialogflowV2IntentMessageBasicCardResponseOutput) Buttons() GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBasicCardResponse) []GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse { @@ -6327,6 +7288,12 @@ func (i GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardOutput) } +func (i GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardArgs) ToGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrOutput() GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrOutputWithContext(context.Background()) } @@ -6368,6 +7335,12 @@ func (i *googleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrOutputWithContext(ctx).OutputState, + } +} + // Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardOutput struct{ *pulumi.OutputState } @@ -6393,6 +7366,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardOutput) ToGoogleCl }).(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard]{ + OutputState: o.OutputState, + } +} + // Optional. Settings for displaying the image. Applies to every image in items. func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardOutput) ImageDisplayOptions() GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardImageDisplayOptions { @@ -6421,6 +7400,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrOutput) ToGoogl return o } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard { if v != nil { @@ -6502,6 +7487,12 @@ func (i GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutput) } +func (i GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemArray and GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayInput` via: // @@ -6527,6 +7518,12 @@ func (i GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayOutputWithContext(ctx).OutputState, + } +} + // Browsing carousel tile type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutput struct{ *pulumi.OutputState } @@ -6542,6 +7539,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard return o } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the carousel item. Maximum of four lines of text. func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) *string { @@ -6591,6 +7594,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard return o } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem { return vs[0].([]GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem)[vs[1].(int)] @@ -6636,6 +7645,12 @@ func (i GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionOutput) } +func (i GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionOutputWithContext(ctx).OutputState, + } +} + // Actions on Google action to open a given url. type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionOutput struct{ *pulumi.OutputState } @@ -6651,6 +7666,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard return o } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction]{ + OutputState: o.OutputState, + } +} + // URL func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) string { @@ -6688,6 +7709,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard return o } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionResponse]{ + OutputState: o.OutputState, + } +} + // URL func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionResponseOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionResponse) string { @@ -6731,6 +7758,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard return o } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the carousel item. Maximum of four lines of text. func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse) string { @@ -6780,6 +7813,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCard return o } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse)[vs[1].(int)] @@ -6809,6 +7848,12 @@ func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardResponseOutput) To return o } +func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Settings for displaying the image. Applies to every image in items. func (o GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardResponseOutput) ImageDisplayOptions() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardResponse) string { @@ -6870,6 +7915,12 @@ func (i GoogleCloudDialogflowV2IntentMessageCardArgs) ToGoogleCloudDialogflowV2I return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageCardOutput) } +func (i GoogleCloudDialogflowV2IntentMessageCardArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCard] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCard]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageCardOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageCardArgs) ToGoogleCloudDialogflowV2IntentMessageCardPtrOutput() GoogleCloudDialogflowV2IntentMessageCardPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageCardPtrOutputWithContext(context.Background()) } @@ -6911,6 +7962,12 @@ func (i *googleCloudDialogflowV2IntentMessageCardPtrType) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageCardPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageCardPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageCard] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageCard]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageCardPtrOutputWithContext(ctx).OutputState, + } +} + // The card response message. type GoogleCloudDialogflowV2IntentMessageCardOutput struct{ *pulumi.OutputState } @@ -6936,6 +7993,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCardOutput) ToGoogleCloudDialogflowV }).(GoogleCloudDialogflowV2IntentMessageCardPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageCardOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCard] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCard]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of card buttons. func (o GoogleCloudDialogflowV2IntentMessageCardOutput) Buttons() GoogleCloudDialogflowV2IntentMessageCardButtonArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageCard) []GoogleCloudDialogflowV2IntentMessageCardButton { @@ -6972,6 +8035,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCardPtrOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowV2IntentMessageCardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageCard] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageCard]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageCardPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageCardOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageCard) GoogleCloudDialogflowV2IntentMessageCard { if v != nil { @@ -7061,6 +8130,12 @@ func (i GoogleCloudDialogflowV2IntentMessageCardButtonArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageCardButtonOutput) } +func (i GoogleCloudDialogflowV2IntentMessageCardButtonArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCardButton] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCardButton]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageCardButtonOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageCardButtonArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageCardButtonArray and GoogleCloudDialogflowV2IntentMessageCardButtonArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageCardButtonArrayInput` via: // @@ -7086,6 +8161,12 @@ func (i GoogleCloudDialogflowV2IntentMessageCardButtonArray) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageCardButtonArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageCardButtonArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCardButton] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCardButton]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageCardButtonArrayOutputWithContext(ctx).OutputState, + } +} + // Contains information about a button. type GoogleCloudDialogflowV2IntentMessageCardButtonOutput struct{ *pulumi.OutputState } @@ -7101,6 +8182,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCardButtonOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowV2IntentMessageCardButtonOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCardButton] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCardButton]{ + OutputState: o.OutputState, + } +} + // Optional. The text to send back to the Dialogflow API or a URI to open. func (o GoogleCloudDialogflowV2IntentMessageCardButtonOutput) Postback() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageCardButton) *string { return v.Postback }).(pulumi.StringPtrOutput) @@ -7125,6 +8212,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCardButtonArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2IntentMessageCardButtonArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCardButton] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCardButton]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageCardButtonArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageCardButtonOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageCardButton { return vs[0].([]GoogleCloudDialogflowV2IntentMessageCardButton)[vs[1].(int)] @@ -7154,6 +8247,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCardButtonResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2IntentMessageCardButtonResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCardButtonResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCardButtonResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The text to send back to the Dialogflow API or a URI to open. func (o GoogleCloudDialogflowV2IntentMessageCardButtonResponseOutput) Postback() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageCardButtonResponse) string { return v.Postback }).(pulumi.StringOutput) @@ -7178,6 +8277,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCardButtonResponseArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2IntentMessageCardButtonResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCardButtonResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCardButtonResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageCardButtonResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageCardButtonResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageCardButtonResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageCardButtonResponse)[vs[1].(int)] @@ -7211,6 +8316,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCardResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2IntentMessageCardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCardResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCardResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of card buttons. func (o GoogleCloudDialogflowV2IntentMessageCardResponseOutput) Buttons() GoogleCloudDialogflowV2IntentMessageCardButtonResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageCardResponse) []GoogleCloudDialogflowV2IntentMessageCardButtonResponse { @@ -7268,6 +8379,12 @@ func (i GoogleCloudDialogflowV2IntentMessageCarouselSelectArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageCarouselSelectOutput) } +func (i GoogleCloudDialogflowV2IntentMessageCarouselSelectArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelect] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelect]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageCarouselSelectOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageCarouselSelectArgs) ToGoogleCloudDialogflowV2IntentMessageCarouselSelectPtrOutput() GoogleCloudDialogflowV2IntentMessageCarouselSelectPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageCarouselSelectPtrOutputWithContext(context.Background()) } @@ -7309,6 +8426,12 @@ func (i *googleCloudDialogflowV2IntentMessageCarouselSelectPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageCarouselSelectPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageCarouselSelectPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageCarouselSelect] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageCarouselSelect]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageCarouselSelectPtrOutputWithContext(ctx).OutputState, + } +} + // The card for presenting a carousel of options to select from. type GoogleCloudDialogflowV2IntentMessageCarouselSelectOutput struct{ *pulumi.OutputState } @@ -7334,6 +8457,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectOutput) ToGoogleCloudD }).(GoogleCloudDialogflowV2IntentMessageCarouselSelectPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelect] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelect]{ + OutputState: o.OutputState, + } +} + // Carousel items. func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectOutput) Items() GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageCarouselSelect) []GoogleCloudDialogflowV2IntentMessageCarouselSelectItem { @@ -7355,6 +8484,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageCarouselSelect] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageCarouselSelect]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageCarouselSelectOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageCarouselSelect) GoogleCloudDialogflowV2IntentMessageCarouselSelect { if v != nil { @@ -7422,6 +8557,12 @@ func (i GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageCarouselSelectItemOutput) } +func (i GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelectItem] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelectItem]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageCarouselSelectItemOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArray and GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArrayInput` via: // @@ -7447,6 +8588,12 @@ func (i GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArray) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCarouselSelectItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCarouselSelectItem]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageCarouselSelectItemArrayOutputWithContext(ctx).OutputState, + } +} + // An item in the carousel. type GoogleCloudDialogflowV2IntentMessageCarouselSelectItemOutput struct{ *pulumi.OutputState } @@ -7462,6 +8609,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelectItem] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelectItem]{ + OutputState: o.OutputState, + } +} + // Optional. The body text of the card. func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -7500,6 +8653,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCarouselSelectItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCarouselSelectItem]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageCarouselSelectItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageCarouselSelectItem { return vs[0].([]GoogleCloudDialogflowV2IntentMessageCarouselSelectItem)[vs[1].(int)] @@ -7533,6 +8692,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponseOutput) To return o } +func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The body text of the card. func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponse) string { return v.Description }).(pulumi.StringOutput) @@ -7571,6 +8736,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponseArrayOutpu return o } +func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponse)[vs[1].(int)] @@ -7598,6 +8769,12 @@ func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelectResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageCarouselSelectResponse]{ + OutputState: o.OutputState, + } +} + // Carousel items. func (o GoogleCloudDialogflowV2IntentMessageCarouselSelectResponseOutput) Items() GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageCarouselSelectResponse) []GoogleCloudDialogflowV2IntentMessageCarouselSelectItemResponse { @@ -7644,6 +8821,12 @@ func (i GoogleCloudDialogflowV2IntentMessageColumnPropertiesArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageColumnPropertiesOutput) } +func (i GoogleCloudDialogflowV2IntentMessageColumnPropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageColumnProperties] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageColumnProperties]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageColumnPropertiesOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageColumnPropertiesArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageColumnPropertiesArray and GoogleCloudDialogflowV2IntentMessageColumnPropertiesArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageColumnPropertiesArrayInput` via: // @@ -7669,6 +8852,12 @@ func (i GoogleCloudDialogflowV2IntentMessageColumnPropertiesArray) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageColumnPropertiesArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageColumnPropertiesArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageColumnProperties] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageColumnProperties]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageColumnPropertiesArrayOutputWithContext(ctx).OutputState, + } +} + // Column properties for TableCard. type GoogleCloudDialogflowV2IntentMessageColumnPropertiesOutput struct{ *pulumi.OutputState } @@ -7684,6 +8873,12 @@ func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageColumnProperties] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageColumnProperties]{ + OutputState: o.OutputState, + } +} + // Column heading. func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesOutput) Header() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageColumnProperties) string { return v.Header }).(pulumi.StringOutput) @@ -7710,6 +8905,12 @@ func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesArrayOutput) ToGoogl return o } +func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageColumnProperties] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageColumnProperties]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageColumnPropertiesOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageColumnProperties { return vs[0].([]GoogleCloudDialogflowV2IntentMessageColumnProperties)[vs[1].(int)] @@ -7739,6 +8940,12 @@ func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponseOutput) ToGo return o } +func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Column heading. func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponseOutput) Header() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponse) string { return v.Header }).(pulumi.StringOutput) @@ -7765,6 +8972,12 @@ func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponseArrayOutput) return o } +func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponse)[vs[1].(int)] @@ -7810,6 +9023,12 @@ func (i GoogleCloudDialogflowV2IntentMessageImageArgs) ToGoogleCloudDialogflowV2 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageImageOutput) } +func (i GoogleCloudDialogflowV2IntentMessageImageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageImage] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageImage]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageImageOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageImageArgs) ToGoogleCloudDialogflowV2IntentMessageImagePtrOutput() GoogleCloudDialogflowV2IntentMessageImagePtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageImagePtrOutputWithContext(context.Background()) } @@ -7851,6 +9070,12 @@ func (i *googleCloudDialogflowV2IntentMessageImagePtrType) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageImagePtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageImagePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageImage] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageImage]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageImagePtrOutputWithContext(ctx).OutputState, + } +} + // The image response message. type GoogleCloudDialogflowV2IntentMessageImageOutput struct{ *pulumi.OutputState } @@ -7876,6 +9101,12 @@ func (o GoogleCloudDialogflowV2IntentMessageImageOutput) ToGoogleCloudDialogflow }).(GoogleCloudDialogflowV2IntentMessageImagePtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageImageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageImage] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageImage]{ + OutputState: o.OutputState, + } +} + // Optional. A text description of the image to be used for accessibility, e.g., screen readers. func (o GoogleCloudDialogflowV2IntentMessageImageOutput) AccessibilityText() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageImage) *string { return v.AccessibilityText }).(pulumi.StringPtrOutput) @@ -7900,6 +9131,12 @@ func (o GoogleCloudDialogflowV2IntentMessageImagePtrOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowV2IntentMessageImagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageImage] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageImage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageImagePtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageImageOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageImage) GoogleCloudDialogflowV2IntentMessageImage { if v != nil { @@ -7953,6 +9190,12 @@ func (o GoogleCloudDialogflowV2IntentMessageImageResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2IntentMessageImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageImageResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageImageResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A text description of the image to be used for accessibility, e.g., screen readers. func (o GoogleCloudDialogflowV2IntentMessageImageResponseOutput) AccessibilityText() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageImageResponse) string { return v.AccessibilityText }).(pulumi.StringOutput) @@ -8002,6 +9245,12 @@ func (i GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionOutput) } +func (i GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageLinkOutSuggestionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionArgs) ToGoogleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrOutput() GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrOutputWithContext(context.Background()) } @@ -8043,6 +9292,12 @@ func (i *googleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrOutputWithContext(ctx).OutputState, + } +} + // The suggestion chip message that allows the user to jump out to the app or website associated with this agent. type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionOutput struct{ *pulumi.OutputState } @@ -8068,6 +9323,12 @@ func (o GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionOutput) ToGoogleClo }).(GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion]{ + OutputState: o.OutputState, + } +} + // The name of the app or site this chip is linking to. func (o GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionOutput) DestinationName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) string { return v.DestinationName }).(pulumi.StringOutput) @@ -8092,6 +9353,12 @@ func (o GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion { if v != nil { @@ -8145,6 +9412,12 @@ func (o GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionResponseOutput) ToG return o } +func (o GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the app or site this chip is linking to. func (o GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionResponseOutput) DestinationName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageLinkOutSuggestionResponse) string { return v.DestinationName }).(pulumi.StringOutput) @@ -8198,6 +9471,12 @@ func (i GoogleCloudDialogflowV2IntentMessageListSelectArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageListSelectOutput) } +func (i GoogleCloudDialogflowV2IntentMessageListSelectArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelect] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelect]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageListSelectOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageListSelectArgs) ToGoogleCloudDialogflowV2IntentMessageListSelectPtrOutput() GoogleCloudDialogflowV2IntentMessageListSelectPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageListSelectPtrOutputWithContext(context.Background()) } @@ -8239,6 +9518,12 @@ func (i *googleCloudDialogflowV2IntentMessageListSelectPtrType) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageListSelectPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageListSelectPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageListSelect] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageListSelect]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageListSelectPtrOutputWithContext(ctx).OutputState, + } +} + // The card for presenting a list of options to select from. type GoogleCloudDialogflowV2IntentMessageListSelectOutput struct{ *pulumi.OutputState } @@ -8264,6 +9549,12 @@ func (o GoogleCloudDialogflowV2IntentMessageListSelectOutput) ToGoogleCloudDialo }).(GoogleCloudDialogflowV2IntentMessageListSelectPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageListSelectOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelect] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelect]{ + OutputState: o.OutputState, + } +} + // List items. func (o GoogleCloudDialogflowV2IntentMessageListSelectOutput) Items() GoogleCloudDialogflowV2IntentMessageListSelectItemArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageListSelect) []GoogleCloudDialogflowV2IntentMessageListSelectItem { @@ -8295,6 +9586,12 @@ func (o GoogleCloudDialogflowV2IntentMessageListSelectPtrOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2IntentMessageListSelectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageListSelect] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageListSelect]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageListSelectPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageListSelectOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageListSelect) GoogleCloudDialogflowV2IntentMessageListSelect { if v != nil { @@ -8382,6 +9679,12 @@ func (i GoogleCloudDialogflowV2IntentMessageListSelectItemArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageListSelectItemOutput) } +func (i GoogleCloudDialogflowV2IntentMessageListSelectItemArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelectItem] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelectItem]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageListSelectItemOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageListSelectItemArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageListSelectItemArray and GoogleCloudDialogflowV2IntentMessageListSelectItemArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageListSelectItemArrayInput` via: // @@ -8407,6 +9710,12 @@ func (i GoogleCloudDialogflowV2IntentMessageListSelectItemArray) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageListSelectItemArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageListSelectItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageListSelectItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageListSelectItem]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageListSelectItemArrayOutputWithContext(ctx).OutputState, + } +} + // An item in the list. type GoogleCloudDialogflowV2IntentMessageListSelectItemOutput struct{ *pulumi.OutputState } @@ -8422,6 +9731,12 @@ func (o GoogleCloudDialogflowV2IntentMessageListSelectItemOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowV2IntentMessageListSelectItemOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelectItem] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelectItem]{ + OutputState: o.OutputState, + } +} + // Optional. The main text describing the item. func (o GoogleCloudDialogflowV2IntentMessageListSelectItemOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageListSelectItem) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -8460,6 +9775,12 @@ func (o GoogleCloudDialogflowV2IntentMessageListSelectItemArrayOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowV2IntentMessageListSelectItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageListSelectItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageListSelectItem]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageListSelectItemArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageListSelectItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageListSelectItem { return vs[0].([]GoogleCloudDialogflowV2IntentMessageListSelectItem)[vs[1].(int)] @@ -8493,6 +9814,12 @@ func (o GoogleCloudDialogflowV2IntentMessageListSelectItemResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2IntentMessageListSelectItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelectItemResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelectItemResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The main text describing the item. func (o GoogleCloudDialogflowV2IntentMessageListSelectItemResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageListSelectItemResponse) string { return v.Description }).(pulumi.StringOutput) @@ -8531,6 +9858,12 @@ func (o GoogleCloudDialogflowV2IntentMessageListSelectItemResponseArrayOutput) T return o } +func (o GoogleCloudDialogflowV2IntentMessageListSelectItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageListSelectItemResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageListSelectItemResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageListSelectItemResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageListSelectItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageListSelectItemResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageListSelectItemResponse)[vs[1].(int)] @@ -8562,6 +9895,12 @@ func (o GoogleCloudDialogflowV2IntentMessageListSelectResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2IntentMessageListSelectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelectResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageListSelectResponse]{ + OutputState: o.OutputState, + } +} + // List items. func (o GoogleCloudDialogflowV2IntentMessageListSelectResponseOutput) Items() GoogleCloudDialogflowV2IntentMessageListSelectItemResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageListSelectResponse) []GoogleCloudDialogflowV2IntentMessageListSelectItemResponse { @@ -8618,6 +9957,12 @@ func (i GoogleCloudDialogflowV2IntentMessageMediaContentArgs) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageMediaContentOutput) } +func (i GoogleCloudDialogflowV2IntentMessageMediaContentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContent] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContent]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageMediaContentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageMediaContentArgs) ToGoogleCloudDialogflowV2IntentMessageMediaContentPtrOutput() GoogleCloudDialogflowV2IntentMessageMediaContentPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageMediaContentPtrOutputWithContext(context.Background()) } @@ -8659,6 +10004,12 @@ func (i *googleCloudDialogflowV2IntentMessageMediaContentPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageMediaContentPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageMediaContentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageMediaContent] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageMediaContent]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageMediaContentPtrOutputWithContext(ctx).OutputState, + } +} + // The media content card for Actions on Google. type GoogleCloudDialogflowV2IntentMessageMediaContentOutput struct{ *pulumi.OutputState } @@ -8684,6 +10035,12 @@ func (o GoogleCloudDialogflowV2IntentMessageMediaContentOutput) ToGoogleCloudDia }).(GoogleCloudDialogflowV2IntentMessageMediaContentPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageMediaContentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContent] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContent]{ + OutputState: o.OutputState, + } +} + // List of media objects. func (o GoogleCloudDialogflowV2IntentMessageMediaContentOutput) MediaObjects() GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageMediaContent) []GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject { @@ -8712,6 +10069,12 @@ func (o GoogleCloudDialogflowV2IntentMessageMediaContentPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2IntentMessageMediaContentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageMediaContent] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageMediaContent]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageMediaContentPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageMediaContentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageMediaContent) GoogleCloudDialogflowV2IntentMessageMediaContent { if v != nil { @@ -8765,6 +10128,12 @@ func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContentResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContentResponse]{ + OutputState: o.OutputState, + } +} + // List of media objects. func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseOutput) MediaObjects() GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageMediaContentResponse) []GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponse { @@ -8828,6 +10197,12 @@ func (i GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectOutput) } +func (i GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArray and GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArrayInput` via: // @@ -8853,6 +10228,12 @@ func (i GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArray return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArrayOutputWithContext(ctx).OutputState, + } +} + // Response media object for media content card. type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectOutput struct{ *pulumi.OutputState } @@ -8868,6 +10249,12 @@ func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectOutpu return o } +func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject]{ + OutputState: o.OutputState, + } +} + // Url where the media is stored. func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectOutput) ContentUrl() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) string { @@ -8915,6 +10302,12 @@ func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArray return o } +func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject { return vs[0].([]GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject)[vs[1].(int)] @@ -8950,6 +10343,12 @@ func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectRespo return o } +func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponse]{ + OutputState: o.OutputState, + } +} + // Url where the media is stored. func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponseOutput) ContentUrl() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponse) string { @@ -8999,6 +10398,12 @@ func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectRespo return o } +func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObjectResponse)[vs[1].(int)] @@ -9044,6 +10449,12 @@ func (i GoogleCloudDialogflowV2IntentMessageQuickRepliesArgs) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageQuickRepliesOutput) } +func (i GoogleCloudDialogflowV2IntentMessageQuickRepliesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageQuickReplies] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageQuickReplies]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageQuickRepliesOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageQuickRepliesArgs) ToGoogleCloudDialogflowV2IntentMessageQuickRepliesPtrOutput() GoogleCloudDialogflowV2IntentMessageQuickRepliesPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageQuickRepliesPtrOutputWithContext(context.Background()) } @@ -9085,6 +10496,12 @@ func (i *googleCloudDialogflowV2IntentMessageQuickRepliesPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageQuickRepliesPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageQuickRepliesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageQuickReplies] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageQuickReplies]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageQuickRepliesPtrOutputWithContext(ctx).OutputState, + } +} + // The quick replies response message. type GoogleCloudDialogflowV2IntentMessageQuickRepliesOutput struct{ *pulumi.OutputState } @@ -9110,6 +10527,12 @@ func (o GoogleCloudDialogflowV2IntentMessageQuickRepliesOutput) ToGoogleCloudDia }).(GoogleCloudDialogflowV2IntentMessageQuickRepliesPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageQuickRepliesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageQuickReplies] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageQuickReplies]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of quick replies. func (o GoogleCloudDialogflowV2IntentMessageQuickRepliesOutput) QuickReplies() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageQuickReplies) []string { return v.QuickReplies }).(pulumi.StringArrayOutput) @@ -9134,6 +10557,12 @@ func (o GoogleCloudDialogflowV2IntentMessageQuickRepliesPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2IntentMessageQuickRepliesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageQuickReplies] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageQuickReplies]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageQuickRepliesPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageQuickRepliesOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageQuickReplies) GoogleCloudDialogflowV2IntentMessageQuickReplies { if v != nil { @@ -9187,6 +10616,12 @@ func (o GoogleCloudDialogflowV2IntentMessageQuickRepliesResponseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2IntentMessageQuickRepliesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageQuickRepliesResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageQuickRepliesResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of quick replies. func (o GoogleCloudDialogflowV2IntentMessageQuickRepliesResponseOutput) QuickReplies() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageQuickRepliesResponse) []string { return v.QuickReplies }).(pulumi.StringArrayOutput) @@ -9246,6 +10681,12 @@ func (o GoogleCloudDialogflowV2IntentMessageResponseOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowV2IntentMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageResponse]{ + OutputState: o.OutputState, + } +} + // The basic card response for Actions on Google. func (o GoogleCloudDialogflowV2IntentMessageResponseOutput) BasicCard() GoogleCloudDialogflowV2IntentMessageBasicCardResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageResponse) GoogleCloudDialogflowV2IntentMessageBasicCardResponse { @@ -9361,6 +10802,12 @@ func (o GoogleCloudDialogflowV2IntentMessageResponseArrayOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2IntentMessageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageResponse)[vs[1].(int)] @@ -9406,6 +10853,12 @@ func (i GoogleCloudDialogflowV2IntentMessageSelectItemInfoArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageSelectItemInfoOutput) } +func (i GoogleCloudDialogflowV2IntentMessageSelectItemInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSelectItemInfo] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSelectItemInfo]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageSelectItemInfoOutputWithContext(ctx).OutputState, + } +} + // Additional info about the select item for when it is triggered in a dialog. type GoogleCloudDialogflowV2IntentMessageSelectItemInfoOutput struct{ *pulumi.OutputState } @@ -9421,6 +10874,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSelectItemInfoOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowV2IntentMessageSelectItemInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSelectItemInfo] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSelectItemInfo]{ + OutputState: o.OutputState, + } +} + // A unique key that will be sent back to the agent if this response is given. func (o GoogleCloudDialogflowV2IntentMessageSelectItemInfoOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageSelectItemInfo) string { return v.Key }).(pulumi.StringOutput) @@ -9454,6 +10913,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSelectItemInfoResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2IntentMessageSelectItemInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSelectItemInfoResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSelectItemInfoResponse]{ + OutputState: o.OutputState, + } +} + // A unique key that will be sent back to the agent if this response is given. func (o GoogleCloudDialogflowV2IntentMessageSelectItemInfoResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageSelectItemInfoResponse) string { return v.Key }).(pulumi.StringOutput) @@ -9507,6 +10972,12 @@ func (i GoogleCloudDialogflowV2IntentMessageSimpleResponseArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageSimpleResponseOutput) } +func (i GoogleCloudDialogflowV2IntentMessageSimpleResponseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponse]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageSimpleResponseOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageSimpleResponseArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageSimpleResponseArray and GoogleCloudDialogflowV2IntentMessageSimpleResponseArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageSimpleResponseArrayInput` via: // @@ -9532,6 +11003,12 @@ func (i GoogleCloudDialogflowV2IntentMessageSimpleResponseArray) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageSimpleResponseArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageSimpleResponseArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSimpleResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSimpleResponse]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageSimpleResponseArrayOutputWithContext(ctx).OutputState, + } +} + // The simple response message containing speech or text. type GoogleCloudDialogflowV2IntentMessageSimpleResponseOutput struct{ *pulumi.OutputState } @@ -9547,6 +11024,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The text to display. func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseOutput) DisplayText() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageSimpleResponse) *string { return v.DisplayText }).(pulumi.StringPtrOutput) @@ -9576,6 +11059,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseArrayOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSimpleResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSimpleResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageSimpleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageSimpleResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageSimpleResponse)[vs[1].(int)] @@ -9607,6 +11096,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponseResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponseResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The text to display. func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseResponseOutput) DisplayText() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageSimpleResponseResponse) string { return v.DisplayText }).(pulumi.StringOutput) @@ -9636,6 +11131,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseResponseArrayOutput) T return o } +func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSimpleResponseResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSimpleResponseResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageSimpleResponseResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageSimpleResponseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageSimpleResponseResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageSimpleResponseResponse)[vs[1].(int)] @@ -9677,6 +11178,12 @@ func (i GoogleCloudDialogflowV2IntentMessageSimpleResponsesArgs) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageSimpleResponsesOutput) } +func (i GoogleCloudDialogflowV2IntentMessageSimpleResponsesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponses] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponses]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageSimpleResponsesOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageSimpleResponsesArgs) ToGoogleCloudDialogflowV2IntentMessageSimpleResponsesPtrOutput() GoogleCloudDialogflowV2IntentMessageSimpleResponsesPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageSimpleResponsesPtrOutputWithContext(context.Background()) } @@ -9718,6 +11225,12 @@ func (i *googleCloudDialogflowV2IntentMessageSimpleResponsesPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageSimpleResponsesPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageSimpleResponsesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageSimpleResponses] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageSimpleResponses]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageSimpleResponsesPtrOutputWithContext(ctx).OutputState, + } +} + // The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. type GoogleCloudDialogflowV2IntentMessageSimpleResponsesOutput struct{ *pulumi.OutputState } @@ -9743,6 +11256,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSimpleResponsesOutput) ToGoogleCloud }).(GoogleCloudDialogflowV2IntentMessageSimpleResponsesPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageSimpleResponsesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponses] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponses]{ + OutputState: o.OutputState, + } +} + // The list of simple responses. func (o GoogleCloudDialogflowV2IntentMessageSimpleResponsesOutput) SimpleResponses() GoogleCloudDialogflowV2IntentMessageSimpleResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageSimpleResponses) []GoogleCloudDialogflowV2IntentMessageSimpleResponse { @@ -9764,6 +11283,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSimpleResponsesPtrOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2IntentMessageSimpleResponsesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageSimpleResponses] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageSimpleResponses]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageSimpleResponsesPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageSimpleResponsesOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageSimpleResponses) GoogleCloudDialogflowV2IntentMessageSimpleResponses { if v != nil { @@ -9805,6 +11330,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSimpleResponsesResponseOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2IntentMessageSimpleResponsesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponsesResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSimpleResponsesResponse]{ + OutputState: o.OutputState, + } +} + // The list of simple responses. func (o GoogleCloudDialogflowV2IntentMessageSimpleResponsesResponseOutput) SimpleResponses() GoogleCloudDialogflowV2IntentMessageSimpleResponseResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageSimpleResponsesResponse) []GoogleCloudDialogflowV2IntentMessageSimpleResponseResponse { @@ -9847,6 +11378,12 @@ func (i GoogleCloudDialogflowV2IntentMessageSuggestionArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageSuggestionOutput) } +func (i GoogleCloudDialogflowV2IntentMessageSuggestionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestion] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestion]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageSuggestionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageSuggestionArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageSuggestionArray and GoogleCloudDialogflowV2IntentMessageSuggestionArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageSuggestionArrayInput` via: // @@ -9872,6 +11409,12 @@ func (i GoogleCloudDialogflowV2IntentMessageSuggestionArray) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageSuggestionArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageSuggestionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSuggestion] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSuggestion]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageSuggestionArrayOutputWithContext(ctx).OutputState, + } +} + // The suggestion chip message that the user can tap to quickly post a reply to the conversation. type GoogleCloudDialogflowV2IntentMessageSuggestionOutput struct{ *pulumi.OutputState } @@ -9887,6 +11430,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSuggestionOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowV2IntentMessageSuggestionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestion] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestion]{ + OutputState: o.OutputState, + } +} + // The text shown the in the suggestion chip. func (o GoogleCloudDialogflowV2IntentMessageSuggestionOutput) Title() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageSuggestion) string { return v.Title }).(pulumi.StringOutput) @@ -9906,6 +11455,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSuggestionArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2IntentMessageSuggestionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSuggestion] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSuggestion]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageSuggestionArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageSuggestionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageSuggestion { return vs[0].([]GoogleCloudDialogflowV2IntentMessageSuggestion)[vs[1].(int)] @@ -9933,6 +11488,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSuggestionResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2IntentMessageSuggestionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestionResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestionResponse]{ + OutputState: o.OutputState, + } +} + // The text shown the in the suggestion chip. func (o GoogleCloudDialogflowV2IntentMessageSuggestionResponseOutput) Title() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageSuggestionResponse) string { return v.Title }).(pulumi.StringOutput) @@ -9952,6 +11513,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSuggestionResponseArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2IntentMessageSuggestionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSuggestionResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageSuggestionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageSuggestionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageSuggestionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageSuggestionResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageSuggestionResponse)[vs[1].(int)] @@ -9993,6 +11560,12 @@ func (i GoogleCloudDialogflowV2IntentMessageSuggestionsArgs) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageSuggestionsOutput) } +func (i GoogleCloudDialogflowV2IntentMessageSuggestionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestions] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestions]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageSuggestionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageSuggestionsArgs) ToGoogleCloudDialogflowV2IntentMessageSuggestionsPtrOutput() GoogleCloudDialogflowV2IntentMessageSuggestionsPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageSuggestionsPtrOutputWithContext(context.Background()) } @@ -10034,6 +11607,12 @@ func (i *googleCloudDialogflowV2IntentMessageSuggestionsPtrType) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageSuggestionsPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageSuggestionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageSuggestions] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageSuggestions]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageSuggestionsPtrOutputWithContext(ctx).OutputState, + } +} + // The collection of suggestions. type GoogleCloudDialogflowV2IntentMessageSuggestionsOutput struct{ *pulumi.OutputState } @@ -10059,6 +11638,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSuggestionsOutput) ToGoogleCloudDial }).(GoogleCloudDialogflowV2IntentMessageSuggestionsPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageSuggestionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestions] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestions]{ + OutputState: o.OutputState, + } +} + // The list of suggested replies. func (o GoogleCloudDialogflowV2IntentMessageSuggestionsOutput) Suggestions() GoogleCloudDialogflowV2IntentMessageSuggestionArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageSuggestions) []GoogleCloudDialogflowV2IntentMessageSuggestion { @@ -10080,6 +11665,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSuggestionsPtrOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowV2IntentMessageSuggestionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageSuggestions] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageSuggestions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageSuggestionsPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageSuggestionsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageSuggestions) GoogleCloudDialogflowV2IntentMessageSuggestions { if v != nil { @@ -10121,6 +11712,12 @@ func (o GoogleCloudDialogflowV2IntentMessageSuggestionsResponseOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowV2IntentMessageSuggestionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestionsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageSuggestionsResponse]{ + OutputState: o.OutputState, + } +} + // The list of suggested replies. func (o GoogleCloudDialogflowV2IntentMessageSuggestionsResponseOutput) Suggestions() GoogleCloudDialogflowV2IntentMessageSuggestionResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageSuggestionsResponse) []GoogleCloudDialogflowV2IntentMessageSuggestionResponse { @@ -10183,6 +11780,12 @@ func (i GoogleCloudDialogflowV2IntentMessageTableCardArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageTableCardOutput) } +func (i GoogleCloudDialogflowV2IntentMessageTableCardArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCard] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCard]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageTableCardOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageTableCardArgs) ToGoogleCloudDialogflowV2IntentMessageTableCardPtrOutput() GoogleCloudDialogflowV2IntentMessageTableCardPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageTableCardPtrOutputWithContext(context.Background()) } @@ -10224,6 +11827,12 @@ func (i *googleCloudDialogflowV2IntentMessageTableCardPtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageTableCardPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageTableCardPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageTableCard] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageTableCard]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageTableCardPtrOutputWithContext(ctx).OutputState, + } +} + // Table card for Actions on Google. type GoogleCloudDialogflowV2IntentMessageTableCardOutput struct{ *pulumi.OutputState } @@ -10249,6 +11858,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowV2IntentMessageTableCardPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageTableCardOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCard] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCard]{ + OutputState: o.OutputState, + } +} + // Optional. List of buttons for the card. func (o GoogleCloudDialogflowV2IntentMessageTableCardOutput) Buttons() GoogleCloudDialogflowV2IntentMessageBasicCardButtonArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageTableCard) []GoogleCloudDialogflowV2IntentMessageBasicCardButton { @@ -10301,6 +11916,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardPtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2IntentMessageTableCardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageTableCard] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageTableCard]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageTableCardPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageTableCardOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageTableCard) GoogleCloudDialogflowV2IntentMessageTableCard { if v != nil { @@ -10406,6 +12027,12 @@ func (i GoogleCloudDialogflowV2IntentMessageTableCardCellArgs) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageTableCardCellOutput) } +func (i GoogleCloudDialogflowV2IntentMessageTableCardCellArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardCell] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardCell]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageTableCardCellOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageTableCardCellArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageTableCardCellArray and GoogleCloudDialogflowV2IntentMessageTableCardCellArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageTableCardCellArrayInput` via: // @@ -10431,6 +12058,12 @@ func (i GoogleCloudDialogflowV2IntentMessageTableCardCellArray) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageTableCardCellArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageTableCardCellArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardCell] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardCell]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageTableCardCellArrayOutputWithContext(ctx).OutputState, + } +} + // Cell of TableCardRow. type GoogleCloudDialogflowV2IntentMessageTableCardCellOutput struct{ *pulumi.OutputState } @@ -10446,6 +12079,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardCellOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2IntentMessageTableCardCellOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardCell] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardCell]{ + OutputState: o.OutputState, + } +} + // Text in this cell. func (o GoogleCloudDialogflowV2IntentMessageTableCardCellOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageTableCardCell) string { return v.Text }).(pulumi.StringOutput) @@ -10465,6 +12104,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardCellArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2IntentMessageTableCardCellArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardCell] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardCell]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageTableCardCellArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageTableCardCellOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageTableCardCell { return vs[0].([]GoogleCloudDialogflowV2IntentMessageTableCardCell)[vs[1].(int)] @@ -10492,6 +12137,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardCellResponseOutput) ToGoogl return o } +func (o GoogleCloudDialogflowV2IntentMessageTableCardCellResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardCellResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardCellResponse]{ + OutputState: o.OutputState, + } +} + // Text in this cell. func (o GoogleCloudDialogflowV2IntentMessageTableCardCellResponseOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageTableCardCellResponse) string { return v.Text }).(pulumi.StringOutput) @@ -10511,6 +12162,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardCellResponseArrayOutput) To return o } +func (o GoogleCloudDialogflowV2IntentMessageTableCardCellResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardCellResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardCellResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageTableCardCellResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageTableCardCellResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageTableCardCellResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageTableCardCellResponse)[vs[1].(int)] @@ -10548,6 +12205,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2IntentMessageTableCardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of buttons for the card. func (o GoogleCloudDialogflowV2IntentMessageTableCardResponseOutput) Buttons() GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageTableCardResponse) []GoogleCloudDialogflowV2IntentMessageBasicCardButtonResponse { @@ -10625,6 +12288,12 @@ func (i GoogleCloudDialogflowV2IntentMessageTableCardRowArgs) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageTableCardRowOutput) } +func (i GoogleCloudDialogflowV2IntentMessageTableCardRowArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardRow] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardRow]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageTableCardRowOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentMessageTableCardRowArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentMessageTableCardRowArray and GoogleCloudDialogflowV2IntentMessageTableCardRowArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentMessageTableCardRowArrayInput` via: // @@ -10650,6 +12319,12 @@ func (i GoogleCloudDialogflowV2IntentMessageTableCardRowArray) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageTableCardRowArrayOutput) } +func (i GoogleCloudDialogflowV2IntentMessageTableCardRowArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardRow] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardRow]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageTableCardRowArrayOutputWithContext(ctx).OutputState, + } +} + // Row of TableCard. type GoogleCloudDialogflowV2IntentMessageTableCardRowOutput struct{ *pulumi.OutputState } @@ -10665,6 +12340,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardRowOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2IntentMessageTableCardRowOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardRow] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardRow]{ + OutputState: o.OutputState, + } +} + // Optional. List of cells that make up this row. func (o GoogleCloudDialogflowV2IntentMessageTableCardRowOutput) Cells() GoogleCloudDialogflowV2IntentMessageTableCardCellArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageTableCardRow) []GoogleCloudDialogflowV2IntentMessageTableCardCell { @@ -10691,6 +12372,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardRowArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2IntentMessageTableCardRowArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardRow] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardRow]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageTableCardRowArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageTableCardRowOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageTableCardRow { return vs[0].([]GoogleCloudDialogflowV2IntentMessageTableCardRow)[vs[1].(int)] @@ -10720,6 +12407,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardRowResponseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2IntentMessageTableCardRowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardRowResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageTableCardRowResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of cells that make up this row. func (o GoogleCloudDialogflowV2IntentMessageTableCardRowResponseOutput) Cells() GoogleCloudDialogflowV2IntentMessageTableCardCellResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageTableCardRowResponse) []GoogleCloudDialogflowV2IntentMessageTableCardCellResponse { @@ -10746,6 +12439,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTableCardRowResponseArrayOutput) ToG return o } +func (o GoogleCloudDialogflowV2IntentMessageTableCardRowResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardRowResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentMessageTableCardRowResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageTableCardRowResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentMessageTableCardRowResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentMessageTableCardRowResponse { return vs[0].([]GoogleCloudDialogflowV2IntentMessageTableCardRowResponse)[vs[1].(int)] @@ -10787,6 +12486,12 @@ func (i GoogleCloudDialogflowV2IntentMessageTextArgs) ToGoogleCloudDialogflowV2I return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageTextOutput) } +func (i GoogleCloudDialogflowV2IntentMessageTextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageText] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageText]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageTextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2IntentMessageTextArgs) ToGoogleCloudDialogflowV2IntentMessageTextPtrOutput() GoogleCloudDialogflowV2IntentMessageTextPtrOutput { return i.ToGoogleCloudDialogflowV2IntentMessageTextPtrOutputWithContext(context.Background()) } @@ -10828,6 +12533,12 @@ func (i *googleCloudDialogflowV2IntentMessageTextPtrType) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentMessageTextPtrOutput) } +func (i *googleCloudDialogflowV2IntentMessageTextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageText] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageText]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentMessageTextPtrOutputWithContext(ctx).OutputState, + } +} + // The text response message. type GoogleCloudDialogflowV2IntentMessageTextOutput struct{ *pulumi.OutputState } @@ -10853,6 +12564,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTextOutput) ToGoogleCloudDialogflowV }).(GoogleCloudDialogflowV2IntentMessageTextPtrOutput) } +func (o GoogleCloudDialogflowV2IntentMessageTextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageText] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageText]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of the agent's responses. func (o GoogleCloudDialogflowV2IntentMessageTextOutput) Text() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageText) []string { return v.Text }).(pulumi.StringArrayOutput) @@ -10872,6 +12589,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTextPtrOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowV2IntentMessageTextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2IntentMessageText] { + return pulumix.Output[*GoogleCloudDialogflowV2IntentMessageText]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentMessageTextPtrOutput) Elem() GoogleCloudDialogflowV2IntentMessageTextOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2IntentMessageText) GoogleCloudDialogflowV2IntentMessageText { if v != nil { @@ -10913,6 +12636,12 @@ func (o GoogleCloudDialogflowV2IntentMessageTextResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2IntentMessageTextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentMessageTextResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentMessageTextResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of the agent's responses. func (o GoogleCloudDialogflowV2IntentMessageTextResponseOutput) Text() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentMessageTextResponse) []string { return v.Text }).(pulumi.StringArrayOutput) @@ -10981,6 +12710,12 @@ func (i GoogleCloudDialogflowV2IntentParameterArgs) ToGoogleCloudDialogflowV2Int return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentParameterOutput) } +func (i GoogleCloudDialogflowV2IntentParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentParameter] { + return pulumix.Output[GoogleCloudDialogflowV2IntentParameter]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentParameterOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentParameterArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentParameterArray and GoogleCloudDialogflowV2IntentParameterArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentParameterArrayInput` via: // @@ -11006,6 +12741,12 @@ func (i GoogleCloudDialogflowV2IntentParameterArray) ToGoogleCloudDialogflowV2In return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentParameterArrayOutput) } +func (i GoogleCloudDialogflowV2IntentParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentParameter] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentParameter]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Represents intent parameters. type GoogleCloudDialogflowV2IntentParameterOutput struct{ *pulumi.OutputState } @@ -11021,6 +12762,12 @@ func (o GoogleCloudDialogflowV2IntentParameterOutput) ToGoogleCloudDialogflowV2I return o } +func (o GoogleCloudDialogflowV2IntentParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentParameter] { + return pulumix.Output[GoogleCloudDialogflowV2IntentParameter]{ + OutputState: o.OutputState, + } +} + // Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`. func (o GoogleCloudDialogflowV2IntentParameterOutput) DefaultValue() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentParameter) *string { return v.DefaultValue }).(pulumi.StringPtrOutput) @@ -11075,6 +12822,12 @@ func (o GoogleCloudDialogflowV2IntentParameterArrayOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowV2IntentParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentParameter] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentParameter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentParameterArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentParameter { return vs[0].([]GoogleCloudDialogflowV2IntentParameter)[vs[1].(int)] @@ -11116,6 +12869,12 @@ func (o GoogleCloudDialogflowV2IntentParameterResponseOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowV2IntentParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentParameterResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentParameterResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`. func (o GoogleCloudDialogflowV2IntentParameterResponseOutput) DefaultValue() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentParameterResponse) string { return v.DefaultValue }).(pulumi.StringOutput) @@ -11170,6 +12929,12 @@ func (o GoogleCloudDialogflowV2IntentParameterResponseArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2IntentParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentParameterResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentParameterResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentParameterResponse { return vs[0].([]GoogleCloudDialogflowV2IntentParameterResponse)[vs[1].(int)] @@ -11219,6 +12984,12 @@ func (i GoogleCloudDialogflowV2IntentTrainingPhraseArgs) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentTrainingPhraseOutput) } +func (i GoogleCloudDialogflowV2IntentTrainingPhraseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhrase] { + return pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhrase]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentTrainingPhraseOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentTrainingPhraseArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentTrainingPhraseArray and GoogleCloudDialogflowV2IntentTrainingPhraseArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentTrainingPhraseArrayInput` via: // @@ -11244,6 +13015,12 @@ func (i GoogleCloudDialogflowV2IntentTrainingPhraseArray) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentTrainingPhraseArrayOutput) } +func (i GoogleCloudDialogflowV2IntentTrainingPhraseArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhrase]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentTrainingPhraseArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an example that the agent is trained on. type GoogleCloudDialogflowV2IntentTrainingPhraseOutput struct{ *pulumi.OutputState } @@ -11259,6 +13036,12 @@ func (o GoogleCloudDialogflowV2IntentTrainingPhraseOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowV2IntentTrainingPhraseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhrase] { + return pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhrase]{ + OutputState: o.OutputState, + } +} + // The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all set. func (o GoogleCloudDialogflowV2IntentTrainingPhraseOutput) Parts() GoogleCloudDialogflowV2IntentTrainingPhrasePartArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentTrainingPhrase) []GoogleCloudDialogflowV2IntentTrainingPhrasePart { @@ -11292,6 +13075,12 @@ func (o GoogleCloudDialogflowV2IntentTrainingPhraseArrayOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2IntentTrainingPhraseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhrase]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentTrainingPhraseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentTrainingPhraseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentTrainingPhrase { return vs[0].([]GoogleCloudDialogflowV2IntentTrainingPhrase)[vs[1].(int)] @@ -11345,6 +13134,12 @@ func (i GoogleCloudDialogflowV2IntentTrainingPhrasePartArgs) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentTrainingPhrasePartOutput) } +func (i GoogleCloudDialogflowV2IntentTrainingPhrasePartArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhrasePart] { + return pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhrasePart]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentTrainingPhrasePartOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2IntentTrainingPhrasePartArrayInput is an input type that accepts GoogleCloudDialogflowV2IntentTrainingPhrasePartArray and GoogleCloudDialogflowV2IntentTrainingPhrasePartArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2IntentTrainingPhrasePartArrayInput` via: // @@ -11370,6 +13165,12 @@ func (i GoogleCloudDialogflowV2IntentTrainingPhrasePartArray) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2IntentTrainingPhrasePartArrayOutput) } +func (i GoogleCloudDialogflowV2IntentTrainingPhrasePartArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhrasePart] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhrasePart]{ + OutputState: i.ToGoogleCloudDialogflowV2IntentTrainingPhrasePartArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a part of a training phrase. type GoogleCloudDialogflowV2IntentTrainingPhrasePartOutput struct{ *pulumi.OutputState } @@ -11385,6 +13186,12 @@ func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhrasePart] { + return pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhrasePart]{ + OutputState: o.OutputState, + } +} + // Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase. func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartOutput) Alias() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentTrainingPhrasePart) *string { return v.Alias }).(pulumi.StringPtrOutput) @@ -11419,6 +13226,12 @@ func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartArrayOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhrasePart] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhrasePart]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentTrainingPhrasePartOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentTrainingPhrasePart { return vs[0].([]GoogleCloudDialogflowV2IntentTrainingPhrasePart)[vs[1].(int)] @@ -11452,6 +13265,12 @@ func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartResponseOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase. func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartResponseOutput) Alias() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse) string { return v.Alias }).(pulumi.StringOutput) @@ -11486,6 +13305,12 @@ func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartResponseArrayOutput) ToGo return o } +func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentTrainingPhrasePartResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentTrainingPhrasePartResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse { return vs[0].([]GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse)[vs[1].(int)] @@ -11519,6 +13344,12 @@ func (o GoogleCloudDialogflowV2IntentTrainingPhraseResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2IntentTrainingPhraseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhraseResponse] { + return pulumix.Output[GoogleCloudDialogflowV2IntentTrainingPhraseResponse]{ + OutputState: o.OutputState, + } +} + // The unique identifier of this training phrase. func (o GoogleCloudDialogflowV2IntentTrainingPhraseResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2IntentTrainingPhraseResponse) string { return v.Name }).(pulumi.StringOutput) @@ -11555,6 +13386,12 @@ func (o GoogleCloudDialogflowV2IntentTrainingPhraseResponseArrayOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2IntentTrainingPhraseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhraseResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2IntentTrainingPhraseResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2IntentTrainingPhraseResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2IntentTrainingPhraseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2IntentTrainingPhraseResponse { return vs[0].([]GoogleCloudDialogflowV2IntentTrainingPhraseResponse)[vs[1].(int)] @@ -11596,6 +13433,12 @@ func (i GoogleCloudDialogflowV2LoggingConfigArgs) ToGoogleCloudDialogflowV2Loggi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2LoggingConfigOutput) } +func (i GoogleCloudDialogflowV2LoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2LoggingConfig] { + return pulumix.Output[GoogleCloudDialogflowV2LoggingConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2LoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2LoggingConfigArgs) ToGoogleCloudDialogflowV2LoggingConfigPtrOutput() GoogleCloudDialogflowV2LoggingConfigPtrOutput { return i.ToGoogleCloudDialogflowV2LoggingConfigPtrOutputWithContext(context.Background()) } @@ -11637,6 +13480,12 @@ func (i *googleCloudDialogflowV2LoggingConfigPtrType) ToGoogleCloudDialogflowV2L return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2LoggingConfigPtrOutput) } +func (i *googleCloudDialogflowV2LoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2LoggingConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2LoggingConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2LoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines logging behavior for conversation lifecycle events. type GoogleCloudDialogflowV2LoggingConfigOutput struct{ *pulumi.OutputState } @@ -11662,6 +13511,12 @@ func (o GoogleCloudDialogflowV2LoggingConfigOutput) ToGoogleCloudDialogflowV2Log }).(GoogleCloudDialogflowV2LoggingConfigPtrOutput) } +func (o GoogleCloudDialogflowV2LoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2LoggingConfig] { + return pulumix.Output[GoogleCloudDialogflowV2LoggingConfig]{ + OutputState: o.OutputState, + } +} + // Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos. func (o GoogleCloudDialogflowV2LoggingConfigOutput) EnableStackdriverLogging() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2LoggingConfig) *bool { return v.EnableStackdriverLogging }).(pulumi.BoolPtrOutput) @@ -11681,6 +13536,12 @@ func (o GoogleCloudDialogflowV2LoggingConfigPtrOutput) ToGoogleCloudDialogflowV2 return o } +func (o GoogleCloudDialogflowV2LoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2LoggingConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2LoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2LoggingConfigPtrOutput) Elem() GoogleCloudDialogflowV2LoggingConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2LoggingConfig) GoogleCloudDialogflowV2LoggingConfig { if v != nil { @@ -11722,6 +13583,12 @@ func (o GoogleCloudDialogflowV2LoggingConfigResponseOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowV2LoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2LoggingConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2LoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos. func (o GoogleCloudDialogflowV2LoggingConfigResponseOutput) EnableStackdriverLogging() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2LoggingConfigResponse) bool { return v.EnableStackdriverLogging }).(pulumi.BoolOutput) @@ -11766,6 +13633,12 @@ func (i GoogleCloudDialogflowV2NotificationConfigArgs) ToGoogleCloudDialogflowV2 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2NotificationConfigOutput) } +func (i GoogleCloudDialogflowV2NotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2NotificationConfig] { + return pulumix.Output[GoogleCloudDialogflowV2NotificationConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2NotificationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2NotificationConfigArgs) ToGoogleCloudDialogflowV2NotificationConfigPtrOutput() GoogleCloudDialogflowV2NotificationConfigPtrOutput { return i.ToGoogleCloudDialogflowV2NotificationConfigPtrOutputWithContext(context.Background()) } @@ -11807,6 +13680,12 @@ func (i *googleCloudDialogflowV2NotificationConfigPtrType) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2NotificationConfigPtrOutput) } +func (i *googleCloudDialogflowV2NotificationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2NotificationConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2NotificationConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2NotificationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines notification behavior. type GoogleCloudDialogflowV2NotificationConfigOutput struct{ *pulumi.OutputState } @@ -11832,6 +13711,12 @@ func (o GoogleCloudDialogflowV2NotificationConfigOutput) ToGoogleCloudDialogflow }).(GoogleCloudDialogflowV2NotificationConfigPtrOutput) } +func (o GoogleCloudDialogflowV2NotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2NotificationConfig] { + return pulumix.Output[GoogleCloudDialogflowV2NotificationConfig]{ + OutputState: o.OutputState, + } +} + // Format of message. func (o GoogleCloudDialogflowV2NotificationConfigOutput) MessageFormat() GoogleCloudDialogflowV2NotificationConfigMessageFormatPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2NotificationConfig) *GoogleCloudDialogflowV2NotificationConfigMessageFormat { @@ -11858,6 +13743,12 @@ func (o GoogleCloudDialogflowV2NotificationConfigPtrOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowV2NotificationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2NotificationConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2NotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2NotificationConfigPtrOutput) Elem() GoogleCloudDialogflowV2NotificationConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2NotificationConfig) GoogleCloudDialogflowV2NotificationConfig { if v != nil { @@ -11911,6 +13802,12 @@ func (o GoogleCloudDialogflowV2NotificationConfigResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2NotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2NotificationConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Format of message. func (o GoogleCloudDialogflowV2NotificationConfigResponseOutput) MessageFormat() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2NotificationConfigResponse) string { return v.MessageFormat }).(pulumi.StringOutput) @@ -11946,6 +13843,12 @@ func (o GoogleCloudDialogflowV2SmartReplyMetricsResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2SmartReplyMetricsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SmartReplyMetricsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2SmartReplyMetricsResponse]{ + OutputState: o.OutputState, + } +} + // Percentage of target participant messages in the evaluation dataset for which similar messages have appeared at least once in the allowlist. Should be [0, 1]. func (o GoogleCloudDialogflowV2SmartReplyMetricsResponseOutput) AllowlistCoverage() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDialogflowV2SmartReplyMetricsResponse) float64 { return v.AllowlistCoverage }).(pulumi.Float64Output) @@ -11986,6 +13889,12 @@ func (o GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponseOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse]{ + OutputState: o.OutputState, + } +} + // Number of retrieved smart replies. For example, when `n` is 3, this evaluation contains metrics for when Dialogflow retrieves 3 smart replies with the model. func (o GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponseOutput) N() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse) int { return v.N }).(pulumi.IntOutput) @@ -12010,6 +13919,12 @@ func (o GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponseArrayOutput) return o } +func (o GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse { return vs[0].([]GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse)[vs[1].(int)] @@ -12051,6 +13966,12 @@ func (i GoogleCloudDialogflowV2SmartReplyModelMetadataArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2SmartReplyModelMetadataOutput) } +func (i GoogleCloudDialogflowV2SmartReplyModelMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SmartReplyModelMetadata] { + return pulumix.Output[GoogleCloudDialogflowV2SmartReplyModelMetadata]{ + OutputState: i.ToGoogleCloudDialogflowV2SmartReplyModelMetadataOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2SmartReplyModelMetadataArgs) ToGoogleCloudDialogflowV2SmartReplyModelMetadataPtrOutput() GoogleCloudDialogflowV2SmartReplyModelMetadataPtrOutput { return i.ToGoogleCloudDialogflowV2SmartReplyModelMetadataPtrOutputWithContext(context.Background()) } @@ -12092,6 +14013,12 @@ func (i *googleCloudDialogflowV2SmartReplyModelMetadataPtrType) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2SmartReplyModelMetadataPtrOutput) } +func (i *googleCloudDialogflowV2SmartReplyModelMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SmartReplyModelMetadata] { + return pulumix.Output[*GoogleCloudDialogflowV2SmartReplyModelMetadata]{ + OutputState: i.ToGoogleCloudDialogflowV2SmartReplyModelMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata for smart reply models. type GoogleCloudDialogflowV2SmartReplyModelMetadataOutput struct{ *pulumi.OutputState } @@ -12117,6 +14044,12 @@ func (o GoogleCloudDialogflowV2SmartReplyModelMetadataOutput) ToGoogleCloudDialo }).(GoogleCloudDialogflowV2SmartReplyModelMetadataPtrOutput) } +func (o GoogleCloudDialogflowV2SmartReplyModelMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SmartReplyModelMetadata] { + return pulumix.Output[GoogleCloudDialogflowV2SmartReplyModelMetadata]{ + OutputState: o.OutputState, + } +} + // Optional. Type of the smart reply model. If not provided, model_type is used. func (o GoogleCloudDialogflowV2SmartReplyModelMetadataOutput) TrainingModelType() GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypePtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2SmartReplyModelMetadata) *GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType { @@ -12138,6 +14071,12 @@ func (o GoogleCloudDialogflowV2SmartReplyModelMetadataPtrOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2SmartReplyModelMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SmartReplyModelMetadata] { + return pulumix.Output[*GoogleCloudDialogflowV2SmartReplyModelMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SmartReplyModelMetadataPtrOutput) Elem() GoogleCloudDialogflowV2SmartReplyModelMetadataOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2SmartReplyModelMetadata) GoogleCloudDialogflowV2SmartReplyModelMetadata { if v != nil { @@ -12179,6 +14118,12 @@ func (o GoogleCloudDialogflowV2SmartReplyModelMetadataResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2SmartReplyModelMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SmartReplyModelMetadataResponse] { + return pulumix.Output[GoogleCloudDialogflowV2SmartReplyModelMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Type of the smart reply model. If not provided, model_type is used. func (o GoogleCloudDialogflowV2SmartReplyModelMetadataResponseOutput) TrainingModelType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2SmartReplyModelMetadataResponse) string { return v.TrainingModelType }).(pulumi.StringOutput) @@ -12223,6 +14168,12 @@ func (i GoogleCloudDialogflowV2SpeechToTextConfigArgs) ToGoogleCloudDialogflowV2 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2SpeechToTextConfigOutput) } +func (i GoogleCloudDialogflowV2SpeechToTextConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SpeechToTextConfig] { + return pulumix.Output[GoogleCloudDialogflowV2SpeechToTextConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2SpeechToTextConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2SpeechToTextConfigArgs) ToGoogleCloudDialogflowV2SpeechToTextConfigPtrOutput() GoogleCloudDialogflowV2SpeechToTextConfigPtrOutput { return i.ToGoogleCloudDialogflowV2SpeechToTextConfigPtrOutputWithContext(context.Background()) } @@ -12264,6 +14215,12 @@ func (i *googleCloudDialogflowV2SpeechToTextConfigPtrType) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2SpeechToTextConfigPtrOutput) } +func (i *googleCloudDialogflowV2SpeechToTextConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SpeechToTextConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2SpeechToTextConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2SpeechToTextConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configures speech transcription for ConversationProfile. type GoogleCloudDialogflowV2SpeechToTextConfigOutput struct{ *pulumi.OutputState } @@ -12289,6 +14246,12 @@ func (o GoogleCloudDialogflowV2SpeechToTextConfigOutput) ToGoogleCloudDialogflow }).(GoogleCloudDialogflowV2SpeechToTextConfigPtrOutput) } +func (o GoogleCloudDialogflowV2SpeechToTextConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SpeechToTextConfig] { + return pulumix.Output[GoogleCloudDialogflowV2SpeechToTextConfig]{ + OutputState: o.OutputState, + } +} + // Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. func (o GoogleCloudDialogflowV2SpeechToTextConfigOutput) Model() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2SpeechToTextConfig) *string { return v.Model }).(pulumi.StringPtrOutput) @@ -12315,6 +14278,12 @@ func (o GoogleCloudDialogflowV2SpeechToTextConfigPtrOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowV2SpeechToTextConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SpeechToTextConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2SpeechToTextConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SpeechToTextConfigPtrOutput) Elem() GoogleCloudDialogflowV2SpeechToTextConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2SpeechToTextConfig) GoogleCloudDialogflowV2SpeechToTextConfig { if v != nil { @@ -12368,6 +14337,12 @@ func (o GoogleCloudDialogflowV2SpeechToTextConfigResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2SpeechToTextConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SpeechToTextConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2SpeechToTextConfigResponse]{ + OutputState: o.OutputState, + } +} + // Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. func (o GoogleCloudDialogflowV2SpeechToTextConfigResponseOutput) Model() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2SpeechToTextConfigResponse) string { return v.Model }).(pulumi.StringOutput) @@ -12413,6 +14388,12 @@ func (i GoogleCloudDialogflowV2SuggestionFeatureArgs) ToGoogleCloudDialogflowV2S return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2SuggestionFeatureOutput) } +func (i GoogleCloudDialogflowV2SuggestionFeatureArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SuggestionFeature] { + return pulumix.Output[GoogleCloudDialogflowV2SuggestionFeature]{ + OutputState: i.ToGoogleCloudDialogflowV2SuggestionFeatureOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2SuggestionFeatureArgs) ToGoogleCloudDialogflowV2SuggestionFeaturePtrOutput() GoogleCloudDialogflowV2SuggestionFeaturePtrOutput { return i.ToGoogleCloudDialogflowV2SuggestionFeaturePtrOutputWithContext(context.Background()) } @@ -12454,6 +14435,12 @@ func (i *googleCloudDialogflowV2SuggestionFeaturePtrType) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2SuggestionFeaturePtrOutput) } +func (i *googleCloudDialogflowV2SuggestionFeaturePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SuggestionFeature] { + return pulumix.Output[*GoogleCloudDialogflowV2SuggestionFeature]{ + OutputState: i.ToGoogleCloudDialogflowV2SuggestionFeaturePtrOutputWithContext(ctx).OutputState, + } +} + // The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type. Multiple `Feature` objects can be specified in the `features` list. type GoogleCloudDialogflowV2SuggestionFeatureOutput struct{ *pulumi.OutputState } @@ -12479,6 +14466,12 @@ func (o GoogleCloudDialogflowV2SuggestionFeatureOutput) ToGoogleCloudDialogflowV }).(GoogleCloudDialogflowV2SuggestionFeaturePtrOutput) } +func (o GoogleCloudDialogflowV2SuggestionFeatureOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SuggestionFeature] { + return pulumix.Output[GoogleCloudDialogflowV2SuggestionFeature]{ + OutputState: o.OutputState, + } +} + // Type of Human Agent Assistant API feature to request. func (o GoogleCloudDialogflowV2SuggestionFeatureOutput) Type() GoogleCloudDialogflowV2SuggestionFeatureTypePtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2SuggestionFeature) *GoogleCloudDialogflowV2SuggestionFeatureType { @@ -12500,6 +14493,12 @@ func (o GoogleCloudDialogflowV2SuggestionFeaturePtrOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowV2SuggestionFeaturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SuggestionFeature] { + return pulumix.Output[*GoogleCloudDialogflowV2SuggestionFeature]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SuggestionFeaturePtrOutput) Elem() GoogleCloudDialogflowV2SuggestionFeatureOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2SuggestionFeature) GoogleCloudDialogflowV2SuggestionFeature { if v != nil { @@ -12541,6 +14540,12 @@ func (o GoogleCloudDialogflowV2SuggestionFeatureResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2SuggestionFeatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SuggestionFeatureResponse] { + return pulumix.Output[GoogleCloudDialogflowV2SuggestionFeatureResponse]{ + OutputState: o.OutputState, + } +} + // Type of Human Agent Assistant API feature to request. func (o GoogleCloudDialogflowV2SuggestionFeatureResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2SuggestionFeatureResponse) string { return v.Type }).(pulumi.StringOutput) @@ -12597,6 +14602,12 @@ func (i GoogleCloudDialogflowV2SynthesizeSpeechConfigArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2SynthesizeSpeechConfigOutput) } +func (i GoogleCloudDialogflowV2SynthesizeSpeechConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SynthesizeSpeechConfig] { + return pulumix.Output[GoogleCloudDialogflowV2SynthesizeSpeechConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2SynthesizeSpeechConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2SynthesizeSpeechConfigArgs) ToGoogleCloudDialogflowV2SynthesizeSpeechConfigPtrOutput() GoogleCloudDialogflowV2SynthesizeSpeechConfigPtrOutput { return i.ToGoogleCloudDialogflowV2SynthesizeSpeechConfigPtrOutputWithContext(context.Background()) } @@ -12638,6 +14649,12 @@ func (i *googleCloudDialogflowV2SynthesizeSpeechConfigPtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2SynthesizeSpeechConfigPtrOutput) } +func (i *googleCloudDialogflowV2SynthesizeSpeechConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SynthesizeSpeechConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2SynthesizeSpeechConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2SynthesizeSpeechConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of how speech should be synthesized. type GoogleCloudDialogflowV2SynthesizeSpeechConfigOutput struct{ *pulumi.OutputState } @@ -12663,6 +14680,12 @@ func (o GoogleCloudDialogflowV2SynthesizeSpeechConfigOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowV2SynthesizeSpeechConfigPtrOutput) } +func (o GoogleCloudDialogflowV2SynthesizeSpeechConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SynthesizeSpeechConfig] { + return pulumix.Output[GoogleCloudDialogflowV2SynthesizeSpeechConfig]{ + OutputState: o.OutputState, + } +} + // Optional. An identifier which selects 'audio effects' profiles that are applied on (post synthesized) text to speech. Effects are applied on top of each other in the order they are given. func (o GoogleCloudDialogflowV2SynthesizeSpeechConfigOutput) EffectsProfileId() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2SynthesizeSpeechConfig) []string { return v.EffectsProfileId }).(pulumi.StringArrayOutput) @@ -12704,6 +14727,12 @@ func (o GoogleCloudDialogflowV2SynthesizeSpeechConfigPtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2SynthesizeSpeechConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2SynthesizeSpeechConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2SynthesizeSpeechConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2SynthesizeSpeechConfigPtrOutput) Elem() GoogleCloudDialogflowV2SynthesizeSpeechConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2SynthesizeSpeechConfig) GoogleCloudDialogflowV2SynthesizeSpeechConfig { if v != nil { @@ -12793,6 +14822,12 @@ func (o GoogleCloudDialogflowV2SynthesizeSpeechConfigResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2SynthesizeSpeechConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2SynthesizeSpeechConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2SynthesizeSpeechConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. An identifier which selects 'audio effects' profiles that are applied on (post synthesized) text to speech. Effects are applied on top of each other in the order they are given. func (o GoogleCloudDialogflowV2SynthesizeSpeechConfigResponseOutput) EffectsProfileId() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2SynthesizeSpeechConfigResponse) []string { return v.EffectsProfileId }).(pulumi.StringArrayOutput) @@ -12867,6 +14902,12 @@ func (i GoogleCloudDialogflowV2TextToSpeechSettingsArgs) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2TextToSpeechSettingsOutput) } +func (i GoogleCloudDialogflowV2TextToSpeechSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2TextToSpeechSettings] { + return pulumix.Output[GoogleCloudDialogflowV2TextToSpeechSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2TextToSpeechSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2TextToSpeechSettingsArgs) ToGoogleCloudDialogflowV2TextToSpeechSettingsPtrOutput() GoogleCloudDialogflowV2TextToSpeechSettingsPtrOutput { return i.ToGoogleCloudDialogflowV2TextToSpeechSettingsPtrOutputWithContext(context.Background()) } @@ -12908,6 +14949,12 @@ func (i *googleCloudDialogflowV2TextToSpeechSettingsPtrType) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2TextToSpeechSettingsPtrOutput) } +func (i *googleCloudDialogflowV2TextToSpeechSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2TextToSpeechSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2TextToSpeechSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2TextToSpeechSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Instructs the speech synthesizer on how to generate the output audio content. type GoogleCloudDialogflowV2TextToSpeechSettingsOutput struct{ *pulumi.OutputState } @@ -12933,6 +14980,12 @@ func (o GoogleCloudDialogflowV2TextToSpeechSettingsOutput) ToGoogleCloudDialogfl }).(GoogleCloudDialogflowV2TextToSpeechSettingsPtrOutput) } +func (o GoogleCloudDialogflowV2TextToSpeechSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2TextToSpeechSettings] { + return pulumix.Output[GoogleCloudDialogflowV2TextToSpeechSettings]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained. func (o GoogleCloudDialogflowV2TextToSpeechSettingsOutput) EnableTextToSpeech() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2TextToSpeechSettings) *bool { return v.EnableTextToSpeech }).(pulumi.BoolPtrOutput) @@ -12971,6 +15024,12 @@ func (o GoogleCloudDialogflowV2TextToSpeechSettingsPtrOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowV2TextToSpeechSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2TextToSpeechSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2TextToSpeechSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2TextToSpeechSettingsPtrOutput) Elem() GoogleCloudDialogflowV2TextToSpeechSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2TextToSpeechSettings) GoogleCloudDialogflowV2TextToSpeechSettings { if v != nil { @@ -13048,6 +15107,12 @@ func (o GoogleCloudDialogflowV2TextToSpeechSettingsResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2TextToSpeechSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2TextToSpeechSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2TextToSpeechSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained. func (o GoogleCloudDialogflowV2TextToSpeechSettingsResponseOutput) EnableTextToSpeech() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2TextToSpeechSettingsResponse) bool { return v.EnableTextToSpeech }).(pulumi.BoolOutput) @@ -13109,6 +15174,12 @@ func (i GoogleCloudDialogflowV2VoiceSelectionParamsArgs) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2VoiceSelectionParamsOutput) } +func (i GoogleCloudDialogflowV2VoiceSelectionParamsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2VoiceSelectionParams] { + return pulumix.Output[GoogleCloudDialogflowV2VoiceSelectionParams]{ + OutputState: i.ToGoogleCloudDialogflowV2VoiceSelectionParamsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2VoiceSelectionParamsArgs) ToGoogleCloudDialogflowV2VoiceSelectionParamsPtrOutput() GoogleCloudDialogflowV2VoiceSelectionParamsPtrOutput { return i.ToGoogleCloudDialogflowV2VoiceSelectionParamsPtrOutputWithContext(context.Background()) } @@ -13150,6 +15221,12 @@ func (i *googleCloudDialogflowV2VoiceSelectionParamsPtrType) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2VoiceSelectionParamsPtrOutput) } +func (i *googleCloudDialogflowV2VoiceSelectionParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2VoiceSelectionParams] { + return pulumix.Output[*GoogleCloudDialogflowV2VoiceSelectionParams]{ + OutputState: i.ToGoogleCloudDialogflowV2VoiceSelectionParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Description of which voice to use for speech synthesis. type GoogleCloudDialogflowV2VoiceSelectionParamsOutput struct{ *pulumi.OutputState } @@ -13175,6 +15252,12 @@ func (o GoogleCloudDialogflowV2VoiceSelectionParamsOutput) ToGoogleCloudDialogfl }).(GoogleCloudDialogflowV2VoiceSelectionParamsPtrOutput) } +func (o GoogleCloudDialogflowV2VoiceSelectionParamsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2VoiceSelectionParams] { + return pulumix.Output[GoogleCloudDialogflowV2VoiceSelectionParams]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender. func (o GoogleCloudDialogflowV2VoiceSelectionParamsOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2VoiceSelectionParams) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -13201,6 +15284,12 @@ func (o GoogleCloudDialogflowV2VoiceSelectionParamsPtrOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowV2VoiceSelectionParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2VoiceSelectionParams] { + return pulumix.Output[*GoogleCloudDialogflowV2VoiceSelectionParams]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2VoiceSelectionParamsPtrOutput) Elem() GoogleCloudDialogflowV2VoiceSelectionParamsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2VoiceSelectionParams) GoogleCloudDialogflowV2VoiceSelectionParams { if v != nil { @@ -13254,6 +15343,12 @@ func (o GoogleCloudDialogflowV2VoiceSelectionParamsResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2VoiceSelectionParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2VoiceSelectionParamsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2VoiceSelectionParamsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender. func (o GoogleCloudDialogflowV2VoiceSelectionParamsResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2VoiceSelectionParamsResponse) string { return v.Name }).(pulumi.StringOutput) @@ -13289,6 +15384,12 @@ func (o GoogleRpcStatusResponseOutput) ToGoogleRpcStatusResponseOutputWithContex return o } +func (o GoogleRpcStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatusResponse] { + return pulumix.Output[GoogleRpcStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v GoogleRpcStatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/dialogflow/v2/sessionEntityType.go b/sdk/go/google/dialogflow/v2/sessionEntityType.go index 4850bc262c..a68c1a155a 100644 --- a/sdk/go/google/dialogflow/v2/sessionEntityType.go +++ b/sdk/go/google/dialogflow/v2/sessionEntityType.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. @@ -147,6 +148,12 @@ func (i *SessionEntityType) ToSessionEntityTypeOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SessionEntityTypeOutput) } +func (i *SessionEntityType) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityType] { + return pulumix.Output[*SessionEntityType]{ + OutputState: i.ToSessionEntityTypeOutputWithContext(ctx).OutputState, + } +} + type SessionEntityTypeOutput struct{ *pulumi.OutputState } func (SessionEntityTypeOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o SessionEntityTypeOutput) ToSessionEntityTypeOutputWithContext(ctx contex return o } +func (o SessionEntityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityType] { + return pulumix.Output[*SessionEntityType]{ + OutputState: o.OutputState, + } +} + // The collection of entities associated with this session entity type. func (o SessionEntityTypeOutput) Entities() GoogleCloudDialogflowV2EntityTypeEntityResponseArrayOutput { return o.ApplyT(func(v *SessionEntityType) GoogleCloudDialogflowV2EntityTypeEntityResponseArrayOutput { diff --git a/sdk/go/google/dialogflow/v2/version.go b/sdk/go/google/dialogflow/v2/version.go index edb025a2f5..25499794b9 100644 --- a/sdk/go/google/dialogflow/v2/version.go +++ b/sdk/go/google/dialogflow/v2/version.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an agent version. The new version points to the agent instance in the "default" environment. @@ -112,6 +113,12 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -126,6 +133,12 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + // The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods. func (o VersionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Version) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/context.go b/sdk/go/google/dialogflow/v2beta1/context.go index 1496d750c7..36b44ac984 100644 --- a/sdk/go/google/dialogflow/v2beta1/context.go +++ b/sdk/go/google/dialogflow/v2beta1/context.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a context. If the specified context already exists, overrides the context. @@ -141,6 +142,12 @@ func (i *Context) ToContextOutputWithContext(ctx context.Context) ContextOutput return pulumi.ToOutputWithContext(ctx, i).(ContextOutput) } +func (i *Context) ToOutput(ctx context.Context) pulumix.Output[*Context] { + return pulumix.Output[*Context]{ + OutputState: i.ToContextOutputWithContext(ctx).OutputState, + } +} + type ContextOutput struct{ *pulumi.OutputState } func (ContextOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o ContextOutput) ToContextOutputWithContext(ctx context.Context) ContextOu return o } +func (o ContextOutput) ToOutput(ctx context.Context) pulumix.Output[*Context] { + return pulumix.Output[*Context]{ + OutputState: o.OutputState, + } +} + func (o ContextOutput) EnvironmentId() pulumi.StringOutput { return o.ApplyT(func(v *Context) pulumi.StringOutput { return v.EnvironmentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v2beta1/conversation.go b/sdk/go/google/dialogflow/v2beta1/conversation.go index a56168b47d..437950e9ee 100644 --- a/sdk/go/google/dialogflow/v2beta1/conversation.go +++ b/sdk/go/google/dialogflow/v2beta1/conversation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage. @@ -132,6 +133,12 @@ func (i *Conversation) ToConversationOutputWithContext(ctx context.Context) Conv return pulumi.ToOutputWithContext(ctx, i).(ConversationOutput) } +func (i *Conversation) ToOutput(ctx context.Context) pulumix.Output[*Conversation] { + return pulumix.Output[*Conversation]{ + OutputState: i.ToConversationOutputWithContext(ctx).OutputState, + } +} + type ConversationOutput struct{ *pulumi.OutputState } func (ConversationOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o ConversationOutput) ToConversationOutputWithContext(ctx context.Context) return o } +func (o ConversationOutput) ToOutput(ctx context.Context) pulumix.Output[*Conversation] { + return pulumix.Output[*Conversation]{ + OutputState: o.OutputState, + } +} + // Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula "a-zA-Z*" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness. func (o ConversationOutput) ConversationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Conversation) pulumi.StringPtrOutput { return v.ConversationId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/conversationProfile.go b/sdk/go/google/dialogflow/v2beta1/conversationProfile.go index 08f21fd8f5..627683e4e7 100644 --- a/sdk/go/google/dialogflow/v2beta1/conversationProfile.go +++ b/sdk/go/google/dialogflow/v2beta1/conversationProfile.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a conversation profile in the specified project. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API. @@ -183,6 +184,12 @@ func (i *ConversationProfile) ToConversationProfileOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ConversationProfileOutput) } +func (i *ConversationProfile) ToOutput(ctx context.Context) pulumix.Output[*ConversationProfile] { + return pulumix.Output[*ConversationProfile]{ + OutputState: i.ToConversationProfileOutputWithContext(ctx).OutputState, + } +} + type ConversationProfileOutput struct{ *pulumi.OutputState } func (ConversationProfileOutput) ElementType() reflect.Type { @@ -197,6 +204,12 @@ func (o ConversationProfileOutput) ToConversationProfileOutputWithContext(ctx co return o } +func (o ConversationProfileOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversationProfile] { + return pulumix.Output[*ConversationProfile]{ + OutputState: o.OutputState, + } +} + // Configuration for an automated agent to use with this profile. func (o ConversationProfileOutput) AutomatedAgentConfig() GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponseOutput { return o.ApplyT(func(v *ConversationProfile) GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponseOutput { diff --git a/sdk/go/google/dialogflow/v2beta1/document.go b/sdk/go/google/dialogflow/v2beta1/document.go index fecad79d1e..c2ad320b7d 100644 --- a/sdk/go/google/dialogflow/v2beta1/document.go +++ b/sdk/go/google/dialogflow/v2beta1/document.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`. @@ -178,6 +179,12 @@ func (i *Document) ToDocumentOutputWithContext(ctx context.Context) DocumentOutp return pulumi.ToOutputWithContext(ctx, i).(DocumentOutput) } +func (i *Document) ToOutput(ctx context.Context) pulumix.Output[*Document] { + return pulumix.Output[*Document]{ + OutputState: i.ToDocumentOutputWithContext(ctx).OutputState, + } +} + type DocumentOutput struct{ *pulumi.OutputState } func (DocumentOutput) ElementType() reflect.Type { @@ -192,6 +199,12 @@ func (o DocumentOutput) ToDocumentOutputWithContext(ctx context.Context) Documen return o } +func (o DocumentOutput) ToOutput(ctx context.Context) pulumix.Output[*Document] { + return pulumix.Output[*Document]{ + OutputState: o.OutputState, + } +} + // The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types. Note: This field is in the process of being deprecated, please use raw_content instead. func (o DocumentOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v *Document) pulumi.StringOutput { return v.Content }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/entityType.go b/sdk/go/google/dialogflow/v2beta1/entityType.go index 9695d84240..ac18b50ea5 100644 --- a/sdk/go/google/dialogflow/v2beta1/entityType.go +++ b/sdk/go/google/dialogflow/v2beta1/entityType.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). @@ -147,6 +148,12 @@ func (i *EntityType) ToEntityTypeOutputWithContext(ctx context.Context) EntityTy return pulumi.ToOutputWithContext(ctx, i).(EntityTypeOutput) } +func (i *EntityType) ToOutput(ctx context.Context) pulumix.Output[*EntityType] { + return pulumix.Output[*EntityType]{ + OutputState: i.ToEntityTypeOutputWithContext(ctx).OutputState, + } +} + type EntityTypeOutput struct{ *pulumi.OutputState } func (EntityTypeOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o EntityTypeOutput) ToEntityTypeOutputWithContext(ctx context.Context) Ent return o } +func (o EntityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityType] { + return pulumix.Output[*EntityType]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates whether the entity type can be automatically expanded. func (o EntityTypeOutput) AutoExpansionMode() pulumi.StringOutput { return o.ApplyT(func(v *EntityType) pulumi.StringOutput { return v.AutoExpansionMode }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/environment.go b/sdk/go/google/dialogflow/v2beta1/environment.go index d3672c8f1c..28e189fe21 100644 --- a/sdk/go/google/dialogflow/v2beta1/environment.go +++ b/sdk/go/google/dialogflow/v2beta1/environment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an agent environment. @@ -139,6 +140,12 @@ func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) Enviro return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i *Environment) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + type EnvironmentOutput struct{ *pulumi.OutputState } func (EnvironmentOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) E return o } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + // Optional. The agent version loaded into this environment. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/` func (o EnvironmentOutput) AgentVersion() pulumi.StringOutput { return o.ApplyT(func(v *Environment) pulumi.StringOutput { return v.AgentVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/getContext.go b/sdk/go/google/dialogflow/v2beta1/getContext.go index 367505cbe2..71b2454272 100644 --- a/sdk/go/google/dialogflow/v2beta1/getContext.go +++ b/sdk/go/google/dialogflow/v2beta1/getContext.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified context. @@ -80,6 +81,12 @@ func (o LookupContextResultOutput) ToLookupContextResultOutputWithContext(ctx co return o } +func (o LookupContextResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupContextResult] { + return pulumix.Output[LookupContextResult]{ + OutputState: o.OutputState, + } +} + // Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries. func (o LookupContextResultOutput) LifespanCount() pulumi.IntOutput { return o.ApplyT(func(v LookupContextResult) int { return v.LifespanCount }).(pulumi.IntOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/getConversation.go b/sdk/go/google/dialogflow/v2beta1/getConversation.go index a993b16df0..dbf66e09d9 100644 --- a/sdk/go/google/dialogflow/v2beta1/getConversation.go +++ b/sdk/go/google/dialogflow/v2beta1/getConversation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specific conversation. @@ -82,6 +83,12 @@ func (o LookupConversationResultOutput) ToLookupConversationResultOutputWithCont return o } +func (o LookupConversationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConversationResult] { + return pulumix.Output[LookupConversationResult]{ + OutputState: o.OutputState, + } +} + // The Conversation Profile to be used to configure this Conversation. This field cannot be updated. Format: `projects//locations//conversationProfiles/`. func (o LookupConversationResultOutput) ConversationProfile() pulumi.StringOutput { return o.ApplyT(func(v LookupConversationResult) string { return v.ConversationProfile }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/getConversationProfile.go b/sdk/go/google/dialogflow/v2beta1/getConversationProfile.go index a4d784115e..dbd494b457 100644 --- a/sdk/go/google/dialogflow/v2beta1/getConversationProfile.go +++ b/sdk/go/google/dialogflow/v2beta1/getConversationProfile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified conversation profile. @@ -98,6 +99,12 @@ func (o LookupConversationProfileResultOutput) ToLookupConversationProfileResult return o } +func (o LookupConversationProfileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConversationProfileResult] { + return pulumix.Output[LookupConversationProfileResult]{ + OutputState: o.OutputState, + } +} + // Configuration for an automated agent to use with this profile. func (o LookupConversationProfileResultOutput) AutomatedAgentConfig() GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponseOutput { return o.ApplyT(func(v LookupConversationProfileResult) GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponse { diff --git a/sdk/go/google/dialogflow/v2beta1/getDocument.go b/sdk/go/google/dialogflow/v2beta1/getDocument.go index 1620bf6f88..b611591aaf 100644 --- a/sdk/go/google/dialogflow/v2beta1/getDocument.go +++ b/sdk/go/google/dialogflow/v2beta1/getDocument.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified document. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`. @@ -92,6 +93,12 @@ func (o LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext(ctx return o } +func (o LookupDocumentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDocumentResult] { + return pulumix.Output[LookupDocumentResult]{ + OutputState: o.OutputState, + } +} + // The raw content of the document. This field is only permitted for EXTRACTIVE_QA and FAQ knowledge types. Note: This field is in the process of being deprecated, please use raw_content instead. func (o LookupDocumentResultOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v LookupDocumentResult) string { return v.Content }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/getEntityType.go b/sdk/go/google/dialogflow/v2beta1/getEntityType.go index 58ecade38c..5914c55ee3 100644 --- a/sdk/go/google/dialogflow/v2beta1/getEntityType.go +++ b/sdk/go/google/dialogflow/v2beta1/getEntityType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified entity type. @@ -82,6 +83,12 @@ func (o LookupEntityTypeResultOutput) ToLookupEntityTypeResultOutputWithContext( return o } +func (o LookupEntityTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntityTypeResult] { + return pulumix.Output[LookupEntityTypeResult]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates whether the entity type can be automatically expanded. func (o LookupEntityTypeResultOutput) AutoExpansionMode() pulumi.StringOutput { return o.ApplyT(func(v LookupEntityTypeResult) string { return v.AutoExpansionMode }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/getEnvironment.go b/sdk/go/google/dialogflow/v2beta1/getEnvironment.go index f329acc54f..fba91073d4 100644 --- a/sdk/go/google/dialogflow/v2beta1/getEnvironment.go +++ b/sdk/go/google/dialogflow/v2beta1/getEnvironment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified agent environment. @@ -82,6 +83,12 @@ func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContex return o } +func (o LookupEnvironmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentResult] { + return pulumix.Output[LookupEnvironmentResult]{ + OutputState: o.OutputState, + } +} + // Optional. The agent version loaded into this environment. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/` func (o LookupEnvironmentResultOutput) AgentVersion() pulumi.StringOutput { return o.ApplyT(func(v LookupEnvironmentResult) string { return v.AgentVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/getIntent.go b/sdk/go/google/dialogflow/v2beta1/getIntent.go index e7c379364d..5ce4ae74c1 100644 --- a/sdk/go/google/dialogflow/v2beta1/getIntent.go +++ b/sdk/go/google/dialogflow/v2beta1/getIntent.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified intent. @@ -116,6 +117,12 @@ func (o LookupIntentResultOutput) ToLookupIntentResultOutputWithContext(ctx cont return o } +func (o LookupIntentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIntentResult] { + return pulumix.Output[LookupIntentResult]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces. func (o LookupIntentResultOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v LookupIntentResult) string { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/getKnowledgeBase.go b/sdk/go/google/dialogflow/v2beta1/getKnowledgeBase.go index 815eb9fcf0..1135a886f8 100644 --- a/sdk/go/google/dialogflow/v2beta1/getKnowledgeBase.go +++ b/sdk/go/google/dialogflow/v2beta1/getKnowledgeBase.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`. @@ -74,6 +75,12 @@ func (o LookupKnowledgeBaseResultOutput) ToLookupKnowledgeBaseResultOutputWithCo return o } +func (o LookupKnowledgeBaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupKnowledgeBaseResult] { + return pulumix.Output[LookupKnowledgeBaseResult]{ + OutputState: o.OutputState, + } +} + // The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails. func (o LookupKnowledgeBaseResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupKnowledgeBaseResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/getParticipant.go b/sdk/go/google/dialogflow/v2beta1/getParticipant.go index ec660579b9..66e4f6459f 100644 --- a/sdk/go/google/dialogflow/v2beta1/getParticipant.go +++ b/sdk/go/google/dialogflow/v2beta1/getParticipant.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a conversation participant. @@ -78,6 +79,12 @@ func (o LookupParticipantResultOutput) ToLookupParticipantResultOutputWithContex return o } +func (o LookupParticipantResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupParticipantResult] { + return pulumix.Output[LookupParticipantResult]{ + OutputState: o.OutputState, + } +} + // Optional. Key-value filters on the metadata of documents returned by article suggestion. If specified, article suggestion only returns suggested documents that match all filters in their Document.metadata. Multiple values for a metadata key should be concatenated by comma. For example, filters to match all documents that have 'US' or 'CA' in their market metadata values and 'agent' in their user metadata values will be ```documents_metadata_filters { key: "market" value: "US,CA" } documents_metadata_filters { key: "user" value: "agent" }``` func (o LookupParticipantResultOutput) DocumentsMetadataFilters() pulumi.StringMapOutput { return o.ApplyT(func(v LookupParticipantResult) map[string]string { return v.DocumentsMetadataFilters }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/getSessionEntityType.go b/sdk/go/google/dialogflow/v2beta1/getSessionEntityType.go index c21b1e30d8..7abcc96699 100644 --- a/sdk/go/google/dialogflow/v2beta1/getSessionEntityType.go +++ b/sdk/go/google/dialogflow/v2beta1/getSessionEntityType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. @@ -80,6 +81,12 @@ func (o LookupSessionEntityTypeResultOutput) ToLookupSessionEntityTypeResultOutp return o } +func (o LookupSessionEntityTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSessionEntityTypeResult] { + return pulumix.Output[LookupSessionEntityTypeResult]{ + OutputState: o.OutputState, + } +} + // The collection of entities associated with this session entity type. func (o LookupSessionEntityTypeResultOutput) Entities() GoogleCloudDialogflowV2beta1EntityTypeEntityResponseArrayOutput { return o.ApplyT(func(v LookupSessionEntityTypeResult) []GoogleCloudDialogflowV2beta1EntityTypeEntityResponse { diff --git a/sdk/go/google/dialogflow/v2beta1/getVersion.go b/sdk/go/google/dialogflow/v2beta1/getVersion.go index 1a9794622e..e163afbaa4 100644 --- a/sdk/go/google/dialogflow/v2beta1/getVersion.go +++ b/sdk/go/google/dialogflow/v2beta1/getVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified agent version. @@ -78,6 +79,12 @@ func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx co return o } +func (o LookupVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionResult] { + return pulumix.Output[LookupVersionResult]{ + OutputState: o.OutputState, + } +} + // The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods. func (o LookupVersionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupVersionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/intent.go b/sdk/go/google/dialogflow/v2beta1/intent.go index c8b62751ca..fb1ef42255 100644 --- a/sdk/go/google/dialogflow/v2beta1/intent.go +++ b/sdk/go/google/dialogflow/v2beta1/intent.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). @@ -238,6 +239,12 @@ func (i *Intent) ToIntentOutputWithContext(ctx context.Context) IntentOutput { return pulumi.ToOutputWithContext(ctx, i).(IntentOutput) } +func (i *Intent) ToOutput(ctx context.Context) pulumix.Output[*Intent] { + return pulumix.Output[*Intent]{ + OutputState: i.ToIntentOutputWithContext(ctx).OutputState, + } +} + type IntentOutput struct{ *pulumi.OutputState } func (IntentOutput) ElementType() reflect.Type { @@ -252,6 +259,12 @@ func (o IntentOutput) ToIntentOutputWithContext(ctx context.Context) IntentOutpu return o } +func (o IntentOutput) ToOutput(ctx context.Context) pulumix.Output[*Intent] { + return pulumix.Output[*Intent]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces. func (o IntentOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v *Intent) pulumi.StringOutput { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/knowledgeBase.go b/sdk/go/google/dialogflow/v2beta1/knowledgeBase.go index 78bc3e70f9..350b6e5f0b 100644 --- a/sdk/go/google/dialogflow/v2beta1/knowledgeBase.go +++ b/sdk/go/google/dialogflow/v2beta1/knowledgeBase.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`. @@ -119,6 +120,12 @@ func (i *KnowledgeBase) ToKnowledgeBaseOutputWithContext(ctx context.Context) Kn return pulumi.ToOutputWithContext(ctx, i).(KnowledgeBaseOutput) } +func (i *KnowledgeBase) ToOutput(ctx context.Context) pulumix.Output[*KnowledgeBase] { + return pulumix.Output[*KnowledgeBase]{ + OutputState: i.ToKnowledgeBaseOutputWithContext(ctx).OutputState, + } +} + type KnowledgeBaseOutput struct{ *pulumi.OutputState } func (KnowledgeBaseOutput) ElementType() reflect.Type { @@ -133,6 +140,12 @@ func (o KnowledgeBaseOutput) ToKnowledgeBaseOutputWithContext(ctx context.Contex return o } +func (o KnowledgeBaseOutput) ToOutput(ctx context.Context) pulumix.Output[*KnowledgeBase] { + return pulumix.Output[*KnowledgeBase]{ + OutputState: o.OutputState, + } +} + // The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails. func (o KnowledgeBaseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *KnowledgeBase) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/participant.go b/sdk/go/google/dialogflow/v2beta1/participant.go index fa7376aa93..e6b3422e68 100644 --- a/sdk/go/google/dialogflow/v2beta1/participant.go +++ b/sdk/go/google/dialogflow/v2beta1/participant.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new participant in a conversation. @@ -131,6 +132,12 @@ func (i *Participant) ToParticipantOutputWithContext(ctx context.Context) Partic return pulumi.ToOutputWithContext(ctx, i).(ParticipantOutput) } +func (i *Participant) ToOutput(ctx context.Context) pulumix.Output[*Participant] { + return pulumix.Output[*Participant]{ + OutputState: i.ToParticipantOutputWithContext(ctx).OutputState, + } +} + type ParticipantOutput struct{ *pulumi.OutputState } func (ParticipantOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ParticipantOutput) ToParticipantOutputWithContext(ctx context.Context) P return o } +func (o ParticipantOutput) ToOutput(ctx context.Context) pulumix.Output[*Participant] { + return pulumix.Output[*Participant]{ + OutputState: o.OutputState, + } +} + func (o ParticipantOutput) ConversationId() pulumi.StringOutput { return o.ApplyT(func(v *Participant) pulumi.StringOutput { return v.ConversationId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v2beta1/pulumiEnums.go b/sdk/go/google/dialogflow/v2beta1/pulumiEnums.go index 018b1fc3a2..a6de7b564f 100644 --- a/sdk/go/google/dialogflow/v2beta1/pulumiEnums.go +++ b/sdk/go/google/dialogflow/v2beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE. @@ -82,6 +83,12 @@ func (o ConversationConversationStageOutput) ToConversationConversationStagePtrO }).(ConversationConversationStagePtrOutput) } +func (o ConversationConversationStageOutput) ToOutput(ctx context.Context) pulumix.Output[ConversationConversationStage] { + return pulumix.Output[ConversationConversationStage]{ + OutputState: o.OutputState, + } +} + func (o ConversationConversationStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o ConversationConversationStagePtrOutput) ToConversationConversationStageP return o } +func (o ConversationConversationStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConversationConversationStage] { + return pulumix.Output[*ConversationConversationStage]{ + OutputState: o.OutputState, + } +} + func (o ConversationConversationStagePtrOutput) Elem() ConversationConversationStageOutput { return o.ApplyT(func(v *ConversationConversationStage) ConversationConversationStage { if v != nil { @@ -179,6 +192,12 @@ func (in *conversationConversationStagePtr) ToConversationConversationStagePtrOu return pulumi.ToOutputWithContext(ctx, in).(ConversationConversationStagePtrOutput) } +func (in *conversationConversationStagePtr) ToOutput(ctx context.Context) pulumix.Output[*ConversationConversationStage] { + return pulumix.Output[*ConversationConversationStage]{ + OutputState: in.ToConversationConversationStagePtrOutputWithContext(ctx).OutputState, + } +} + type DocumentKnowledgeTypesItem string const ( @@ -256,6 +275,12 @@ func (o DocumentKnowledgeTypesItemOutput) ToDocumentKnowledgeTypesItemPtrOutputW }).(DocumentKnowledgeTypesItemPtrOutput) } +func (o DocumentKnowledgeTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentKnowledgeTypesItem] { + return pulumix.Output[DocumentKnowledgeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DocumentKnowledgeTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -291,6 +316,12 @@ func (o DocumentKnowledgeTypesItemPtrOutput) ToDocumentKnowledgeTypesItemPtrOutp return o } +func (o DocumentKnowledgeTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DocumentKnowledgeTypesItem] { + return pulumix.Output[*DocumentKnowledgeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DocumentKnowledgeTypesItemPtrOutput) Elem() DocumentKnowledgeTypesItemOutput { return o.ApplyT(func(v *DocumentKnowledgeTypesItem) DocumentKnowledgeTypesItem { if v != nil { @@ -353,6 +384,12 @@ func (in *documentKnowledgeTypesItemPtr) ToDocumentKnowledgeTypesItemPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(DocumentKnowledgeTypesItemPtrOutput) } +func (in *documentKnowledgeTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*DocumentKnowledgeTypesItem] { + return pulumix.Output[*DocumentKnowledgeTypesItem]{ + OutputState: in.ToDocumentKnowledgeTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // DocumentKnowledgeTypesItemArrayInput is an input type that accepts DocumentKnowledgeTypesItemArray and DocumentKnowledgeTypesItemArrayOutput values. // You can construct a concrete instance of `DocumentKnowledgeTypesItemArrayInput` via: // @@ -378,6 +415,12 @@ func (i DocumentKnowledgeTypesItemArray) ToDocumentKnowledgeTypesItemArrayOutput return pulumi.ToOutputWithContext(ctx, i).(DocumentKnowledgeTypesItemArrayOutput) } +func (i DocumentKnowledgeTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]DocumentKnowledgeTypesItem] { + return pulumix.Output[[]DocumentKnowledgeTypesItem]{ + OutputState: i.ToDocumentKnowledgeTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type DocumentKnowledgeTypesItemArrayOutput struct{ *pulumi.OutputState } func (DocumentKnowledgeTypesItemArrayOutput) ElementType() reflect.Type { @@ -392,6 +435,12 @@ func (o DocumentKnowledgeTypesItemArrayOutput) ToDocumentKnowledgeTypesItemArray return o } +func (o DocumentKnowledgeTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DocumentKnowledgeTypesItem] { + return pulumix.Output[[]DocumentKnowledgeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o DocumentKnowledgeTypesItemArrayOutput) Index(i pulumi.IntInput) DocumentKnowledgeTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DocumentKnowledgeTypesItem { return vs[0].([]DocumentKnowledgeTypesItem)[vs[1].(int)] @@ -468,6 +517,12 @@ func (o EntityTypeAutoExpansionModeOutput) ToEntityTypeAutoExpansionModePtrOutpu }).(EntityTypeAutoExpansionModePtrOutput) } +func (o EntityTypeAutoExpansionModeOutput) ToOutput(ctx context.Context) pulumix.Output[EntityTypeAutoExpansionMode] { + return pulumix.Output[EntityTypeAutoExpansionMode]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeAutoExpansionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -503,6 +558,12 @@ func (o EntityTypeAutoExpansionModePtrOutput) ToEntityTypeAutoExpansionModePtrOu return o } +func (o EntityTypeAutoExpansionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeAutoExpansionMode] { + return pulumix.Output[*EntityTypeAutoExpansionMode]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeAutoExpansionModePtrOutput) Elem() EntityTypeAutoExpansionModeOutput { return o.ApplyT(func(v *EntityTypeAutoExpansionMode) EntityTypeAutoExpansionMode { if v != nil { @@ -565,6 +626,12 @@ func (in *entityTypeAutoExpansionModePtr) ToEntityTypeAutoExpansionModePtrOutput return pulumi.ToOutputWithContext(ctx, in).(EntityTypeAutoExpansionModePtrOutput) } +func (in *entityTypeAutoExpansionModePtr) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeAutoExpansionMode] { + return pulumix.Output[*EntityTypeAutoExpansionMode]{ + OutputState: in.ToEntityTypeAutoExpansionModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Indicates the kind of entity type. type EntityTypeKind string @@ -639,6 +706,12 @@ func (o EntityTypeKindOutput) ToEntityTypeKindPtrOutputWithContext(ctx context.C }).(EntityTypeKindPtrOutput) } +func (o EntityTypeKindOutput) ToOutput(ctx context.Context) pulumix.Output[EntityTypeKind] { + return pulumix.Output[EntityTypeKind]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -674,6 +747,12 @@ func (o EntityTypeKindPtrOutput) ToEntityTypeKindPtrOutputWithContext(ctx contex return o } +func (o EntityTypeKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeKind] { + return pulumix.Output[*EntityTypeKind]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeKindPtrOutput) Elem() EntityTypeKindOutput { return o.ApplyT(func(v *EntityTypeKind) EntityTypeKind { if v != nil { @@ -736,6 +815,12 @@ func (in *entityTypeKindPtr) ToEntityTypeKindPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(EntityTypeKindPtrOutput) } +func (in *entityTypeKindPtr) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeKind] { + return pulumix.Output[*EntityTypeKind]{ + OutputState: in.ToEntityTypeKindPtrOutputWithContext(ctx).OutputState, + } +} + // The type of the feature that enabled for fulfillment. type GoogleCloudDialogflowV2beta1FulfillmentFeatureType string @@ -806,6 +891,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureTypeOutput) ToGoogleCloudD }).(GoogleCloudDialogflowV2beta1FulfillmentFeatureTypePtrOutput) } +func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentFeatureType] { + return pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -841,6 +932,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureTypePtrOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1FulfillmentFeatureType] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1FulfillmentFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureTypePtrOutput) Elem() GoogleCloudDialogflowV2beta1FulfillmentFeatureTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1FulfillmentFeatureType) GoogleCloudDialogflowV2beta1FulfillmentFeatureType { if v != nil { @@ -903,6 +1000,12 @@ func (in *googleCloudDialogflowV2beta1FulfillmentFeatureTypePtr) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1FulfillmentFeatureTypePtrOutput) } +func (in *googleCloudDialogflowV2beta1FulfillmentFeatureTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1FulfillmentFeatureType] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1FulfillmentFeatureType]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1FulfillmentFeatureTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser. type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint string @@ -975,6 +1078,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse }).(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1010,6 +1119,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint) GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint { if v != nil { @@ -1072,6 +1187,12 @@ func (in *googleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtrOutput) } +func (in *googleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHintPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Settings for displaying the image. Applies to every image in items. type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions string @@ -1148,6 +1269,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayO }).(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptionsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1183,6 +1310,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayO return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptionsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions) GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions { if v != nil { @@ -1245,6 +1378,12 @@ func (in *googleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDispla return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutput) } +func (in *googleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptionsPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Defines text alignment for all cells in this column. type GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment string @@ -1319,6 +1458,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlign }).(GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignmentPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignmentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1354,6 +1499,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlign return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignmentPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignmentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment) GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment { if v != nil { @@ -1416,6 +1567,12 @@ func (in *googleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAli return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignmentPtrOutput) } +func (in *googleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignmentPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignmentPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. What type of media is the content (ie "audio"). type GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType string @@ -1486,6 +1643,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypeOutput) To }).(GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypePtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1521,6 +1684,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypePtrOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypePtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType) GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType { if v != nil { @@ -1583,6 +1752,12 @@ func (in *googleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypePtr) ToG return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypePtrOutput) } +func (in *googleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The platform that this message is intended for. type GoogleCloudDialogflowV2beta1IntentMessagePlatform string @@ -1671,6 +1846,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessagePlatformOutput) ToGoogleCloudDi }).(GoogleCloudDialogflowV2beta1IntentMessagePlatformPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessagePlatformOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessagePlatform] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessagePlatform]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessagePlatformOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1706,6 +1887,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessagePlatformPtrOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowV2beta1IntentMessagePlatformPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessagePlatform] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessagePlatform]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessagePlatformPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessagePlatformOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessagePlatform) GoogleCloudDialogflowV2beta1IntentMessagePlatform { if v != nil { @@ -1768,6 +1955,12 @@ func (in *googleCloudDialogflowV2beta1IntentMessagePlatformPtr) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1IntentMessagePlatformPtrOutput) } +func (in *googleCloudDialogflowV2beta1IntentMessagePlatformPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessagePlatform] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessagePlatform]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1IntentMessagePlatformPtrOutputWithContext(ctx).OutputState, + } +} + // Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored. type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight string @@ -1842,6 +2035,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightOut }).(GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1877,6 +2076,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightPtr return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight) GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight { if v != nil { @@ -1939,6 +2144,12 @@ func (in *googleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightP return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightPtrOutput) } +func (in *googleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeightPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The width of the cards in the carousel. type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth string @@ -2011,6 +2222,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthOutput) }).(GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2046,6 +2263,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthPtrOutp return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth) GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth { if v != nil { @@ -2108,6 +2331,12 @@ func (in *googleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthPtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthPtrOutput) } +func (in *googleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidthPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Orientation of the card. type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation string @@ -2180,6 +2409,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientatio }).(GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientationPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2215,6 +2450,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientatio return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientationPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientationOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation) GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation { if v != nil { @@ -2277,6 +2518,12 @@ func (in *googleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientat return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientationPtrOutput) } +func (in *googleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientationPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientationPtrOutputWithContext(ctx).OutputState, + } +} + // Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout. type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment string @@ -2349,6 +2596,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImage }).(GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignmentPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignmentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2384,6 +2637,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImage return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignmentPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignmentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment) GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment { if v != nil { @@ -2446,6 +2705,12 @@ func (in *googleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailIma return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignmentPtrOutput) } +func (in *googleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignmentPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignmentPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of the training phrase. type GoogleCloudDialogflowV2beta1IntentTrainingPhraseType string @@ -2518,6 +2783,12 @@ func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseTypeOutput) ToGoogleClou }).(GoogleCloudDialogflowV2beta1IntentTrainingPhraseTypePtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhraseType] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhraseType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2553,6 +2824,12 @@ func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseTypePtrOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentTrainingPhraseType] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentTrainingPhraseType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseTypePtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentTrainingPhraseTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentTrainingPhraseType) GoogleCloudDialogflowV2beta1IntentTrainingPhraseType { if v != nil { @@ -2615,6 +2892,12 @@ func (in *googleCloudDialogflowV2beta1IntentTrainingPhraseTypePtr) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1IntentTrainingPhraseTypePtrOutput) } +func (in *googleCloudDialogflowV2beta1IntentTrainingPhraseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentTrainingPhraseType] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentTrainingPhraseType]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1IntentTrainingPhraseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Format of message. type GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat string @@ -2687,6 +2970,12 @@ func (o GoogleCloudDialogflowV2beta1NotificationConfigMessageFormatOutput) ToGoo }).(GoogleCloudDialogflowV2beta1NotificationConfigMessageFormatPtrOutput) } +func (o GoogleCloudDialogflowV2beta1NotificationConfigMessageFormatOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat] { + return pulumix.Output[GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1NotificationConfigMessageFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2722,6 +3011,12 @@ func (o GoogleCloudDialogflowV2beta1NotificationConfigMessageFormatPtrOutput) To return o } +func (o GoogleCloudDialogflowV2beta1NotificationConfigMessageFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1NotificationConfigMessageFormatPtrOutput) Elem() GoogleCloudDialogflowV2beta1NotificationConfigMessageFormatOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat) GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat { if v != nil { @@ -2784,6 +3079,12 @@ func (in *googleCloudDialogflowV2beta1NotificationConfigMessageFormatPtr) ToGoog return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1NotificationConfigMessageFormatPtrOutput) } +func (in *googleCloudDialogflowV2beta1NotificationConfigMessageFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1NotificationConfigMessageFormatPtrOutputWithContext(ctx).OutputState, + } +} + // The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. type GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant string @@ -2858,6 +3159,12 @@ func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantOutput) }).(GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantPtrOutput) } +func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2893,6 +3200,12 @@ func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantPtrOutpu return o } +func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantPtrOutput) Elem() GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant) GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant { if v != nil { @@ -2955,6 +3268,12 @@ func (in *googleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantPtr) T return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantPtrOutput) } +func (in *googleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariantPtrOutputWithContext(ctx).OutputState, + } +} + // Type of Human Agent Assistant API feature to request. type GoogleCloudDialogflowV2beta1SuggestionFeatureType string @@ -3031,6 +3350,12 @@ func (o GoogleCloudDialogflowV2beta1SuggestionFeatureTypeOutput) ToGoogleCloudDi }).(GoogleCloudDialogflowV2beta1SuggestionFeatureTypePtrOutput) } +func (o GoogleCloudDialogflowV2beta1SuggestionFeatureTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SuggestionFeatureType] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SuggestionFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1SuggestionFeatureTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3066,6 +3391,12 @@ func (o GoogleCloudDialogflowV2beta1SuggestionFeatureTypePtrOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowV2beta1SuggestionFeatureTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1SuggestionFeatureType] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1SuggestionFeatureType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1SuggestionFeatureTypePtrOutput) Elem() GoogleCloudDialogflowV2beta1SuggestionFeatureTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1SuggestionFeatureType) GoogleCloudDialogflowV2beta1SuggestionFeatureType { if v != nil { @@ -3128,6 +3459,12 @@ func (in *googleCloudDialogflowV2beta1SuggestionFeatureTypePtr) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1SuggestionFeatureTypePtrOutput) } +func (in *googleCloudDialogflowV2beta1SuggestionFeatureTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1SuggestionFeatureType] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1SuggestionFeatureType]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1SuggestionFeatureTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Audio encoding of the synthesized audio content. type GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding string @@ -3206,6 +3543,12 @@ func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingOutpu }).(GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingPtrOutput) } +func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding] { + return pulumix.Output[GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3241,6 +3584,12 @@ func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingPtrOu return o } +func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingPtrOutput) Elem() GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding) GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding { if v != nil { @@ -3303,6 +3652,12 @@ func (in *googleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingPtr return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingPtrOutput) } +func (in *googleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncodingPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement. If a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a different gender rather than failing the request. type GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender string @@ -3377,6 +3732,12 @@ func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderOutput) ToGoog }).(GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderPtrOutput) } +func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender] { + return pulumix.Output[GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3412,6 +3773,12 @@ func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderPtrOutput) ToG return o } +func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderPtrOutput) Elem() GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender) GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender { if v != nil { @@ -3474,6 +3841,12 @@ func (in *googleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderPtr) ToGoogl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderPtrOutput) } +func (in *googleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender]{ + OutputState: in.ToGoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGenderPtrOutputWithContext(ctx).OutputState, + } +} + type IntentDefaultResponsePlatformsItem string const ( @@ -3561,6 +3934,12 @@ func (o IntentDefaultResponsePlatformsItemOutput) ToIntentDefaultResponsePlatfor }).(IntentDefaultResponsePlatformsItemPtrOutput) } +func (o IntentDefaultResponsePlatformsItemOutput) ToOutput(ctx context.Context) pulumix.Output[IntentDefaultResponsePlatformsItem] { + return pulumix.Output[IntentDefaultResponsePlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o IntentDefaultResponsePlatformsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3596,6 +3975,12 @@ func (o IntentDefaultResponsePlatformsItemPtrOutput) ToIntentDefaultResponsePlat return o } +func (o IntentDefaultResponsePlatformsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IntentDefaultResponsePlatformsItem] { + return pulumix.Output[*IntentDefaultResponsePlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o IntentDefaultResponsePlatformsItemPtrOutput) Elem() IntentDefaultResponsePlatformsItemOutput { return o.ApplyT(func(v *IntentDefaultResponsePlatformsItem) IntentDefaultResponsePlatformsItem { if v != nil { @@ -3658,6 +4043,12 @@ func (in *intentDefaultResponsePlatformsItemPtr) ToIntentDefaultResponsePlatform return pulumi.ToOutputWithContext(ctx, in).(IntentDefaultResponsePlatformsItemPtrOutput) } +func (in *intentDefaultResponsePlatformsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*IntentDefaultResponsePlatformsItem] { + return pulumix.Output[*IntentDefaultResponsePlatformsItem]{ + OutputState: in.ToIntentDefaultResponsePlatformsItemPtrOutputWithContext(ctx).OutputState, + } +} + // IntentDefaultResponsePlatformsItemArrayInput is an input type that accepts IntentDefaultResponsePlatformsItemArray and IntentDefaultResponsePlatformsItemArrayOutput values. // You can construct a concrete instance of `IntentDefaultResponsePlatformsItemArrayInput` via: // @@ -3683,6 +4074,12 @@ func (i IntentDefaultResponsePlatformsItemArray) ToIntentDefaultResponsePlatform return pulumi.ToOutputWithContext(ctx, i).(IntentDefaultResponsePlatformsItemArrayOutput) } +func (i IntentDefaultResponsePlatformsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]IntentDefaultResponsePlatformsItem] { + return pulumix.Output[[]IntentDefaultResponsePlatformsItem]{ + OutputState: i.ToIntentDefaultResponsePlatformsItemArrayOutputWithContext(ctx).OutputState, + } +} + type IntentDefaultResponsePlatformsItemArrayOutput struct{ *pulumi.OutputState } func (IntentDefaultResponsePlatformsItemArrayOutput) ElementType() reflect.Type { @@ -3697,6 +4094,12 @@ func (o IntentDefaultResponsePlatformsItemArrayOutput) ToIntentDefaultResponsePl return o } +func (o IntentDefaultResponsePlatformsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IntentDefaultResponsePlatformsItem] { + return pulumix.Output[[]IntentDefaultResponsePlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o IntentDefaultResponsePlatformsItemArrayOutput) Index(i pulumi.IntInput) IntentDefaultResponsePlatformsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IntentDefaultResponsePlatformsItem { return vs[0].([]IntentDefaultResponsePlatformsItem)[vs[1].(int)] @@ -3775,6 +4178,12 @@ func (o IntentWebhookStateOutput) ToIntentWebhookStatePtrOutputWithContext(ctx c }).(IntentWebhookStatePtrOutput) } +func (o IntentWebhookStateOutput) ToOutput(ctx context.Context) pulumix.Output[IntentWebhookState] { + return pulumix.Output[IntentWebhookState]{ + OutputState: o.OutputState, + } +} + func (o IntentWebhookStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3810,6 +4219,12 @@ func (o IntentWebhookStatePtrOutput) ToIntentWebhookStatePtrOutputWithContext(ct return o } +func (o IntentWebhookStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IntentWebhookState] { + return pulumix.Output[*IntentWebhookState]{ + OutputState: o.OutputState, + } +} + func (o IntentWebhookStatePtrOutput) Elem() IntentWebhookStateOutput { return o.ApplyT(func(v *IntentWebhookState) IntentWebhookState { if v != nil { @@ -3872,6 +4287,12 @@ func (in *intentWebhookStatePtr) ToIntentWebhookStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(IntentWebhookStatePtrOutput) } +func (in *intentWebhookStatePtr) ToOutput(ctx context.Context) pulumix.Output[*IntentWebhookState] { + return pulumix.Output[*IntentWebhookState]{ + OutputState: in.ToIntentWebhookStatePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable. type ParticipantRole string @@ -3946,6 +4367,12 @@ func (o ParticipantRoleOutput) ToParticipantRolePtrOutputWithContext(ctx context }).(ParticipantRolePtrOutput) } +func (o ParticipantRoleOutput) ToOutput(ctx context.Context) pulumix.Output[ParticipantRole] { + return pulumix.Output[ParticipantRole]{ + OutputState: o.OutputState, + } +} + func (o ParticipantRoleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3981,6 +4408,12 @@ func (o ParticipantRolePtrOutput) ToParticipantRolePtrOutputWithContext(ctx cont return o } +func (o ParticipantRolePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParticipantRole] { + return pulumix.Output[*ParticipantRole]{ + OutputState: o.OutputState, + } +} + func (o ParticipantRolePtrOutput) Elem() ParticipantRoleOutput { return o.ApplyT(func(v *ParticipantRole) ParticipantRole { if v != nil { @@ -4043,6 +4476,12 @@ func (in *participantRolePtr) ToParticipantRolePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(ParticipantRolePtrOutput) } +func (in *participantRolePtr) ToOutput(ctx context.Context) pulumix.Output[*ParticipantRole] { + return pulumix.Output[*ParticipantRole]{ + OutputState: in.ToParticipantRolePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Indicates whether the additional data should override or supplement the custom entity type definition. type SessionEntityTypeEntityOverrideMode string @@ -4115,6 +4554,12 @@ func (o SessionEntityTypeEntityOverrideModeOutput) ToSessionEntityTypeEntityOver }).(SessionEntityTypeEntityOverrideModePtrOutput) } +func (o SessionEntityTypeEntityOverrideModeOutput) ToOutput(ctx context.Context) pulumix.Output[SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[SessionEntityTypeEntityOverrideMode]{ + OutputState: o.OutputState, + } +} + func (o SessionEntityTypeEntityOverrideModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4150,6 +4595,12 @@ func (o SessionEntityTypeEntityOverrideModePtrOutput) ToSessionEntityTypeEntityO return o } +func (o SessionEntityTypeEntityOverrideModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[*SessionEntityTypeEntityOverrideMode]{ + OutputState: o.OutputState, + } +} + func (o SessionEntityTypeEntityOverrideModePtrOutput) Elem() SessionEntityTypeEntityOverrideModeOutput { return o.ApplyT(func(v *SessionEntityTypeEntityOverrideMode) SessionEntityTypeEntityOverrideMode { if v != nil { @@ -4212,6 +4663,12 @@ func (in *sessionEntityTypeEntityOverrideModePtr) ToSessionEntityTypeEntityOverr return pulumi.ToOutputWithContext(ctx, in).(SessionEntityTypeEntityOverrideModePtrOutput) } +func (in *sessionEntityTypeEntityOverrideModePtr) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[*SessionEntityTypeEntityOverrideMode]{ + OutputState: in.ToSessionEntityTypeEntityOverrideModePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConversationConversationStageInput)(nil)).Elem(), ConversationConversationStage("CONVERSATION_STAGE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ConversationConversationStagePtrInput)(nil)).Elem(), ConversationConversationStage("CONVERSATION_STAGE_UNSPECIFIED")) diff --git a/sdk/go/google/dialogflow/v2beta1/pulumiTypes.go b/sdk/go/google/dialogflow/v2beta1/pulumiTypes.go index 0eaeb7da48..2273e478da 100644 --- a/sdk/go/google/dialogflow/v2beta1/pulumiTypes.go +++ b/sdk/go/google/dialogflow/v2beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i GoogleCloudDialogflowV2beta1AutomatedAgentConfigArgs) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1AutomatedAgentConfigOutput) } +func (i GoogleCloudDialogflowV2beta1AutomatedAgentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1AutomatedAgentConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1AutomatedAgentConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1AutomatedAgentConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1AutomatedAgentConfigArgs) ToGoogleCloudDialogflowV2beta1AutomatedAgentConfigPtrOutput() GoogleCloudDialogflowV2beta1AutomatedAgentConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1AutomatedAgentConfigPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *googleCloudDialogflowV2beta1AutomatedAgentConfigPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1AutomatedAgentConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1AutomatedAgentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1AutomatedAgentConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1AutomatedAgentConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1AutomatedAgentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the Automated Agent to connect to a conversation. type GoogleCloudDialogflowV2beta1AutomatedAgentConfigOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o GoogleCloudDialogflowV2beta1AutomatedAgentConfigOutput) ToGoogleCloudDia }).(GoogleCloudDialogflowV2beta1AutomatedAgentConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1AutomatedAgentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1AutomatedAgentConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1AutomatedAgentConfig]{ + OutputState: o.OutputState, + } +} + // ID of the Dialogflow agent environment to use. This project needs to either be the same project as the conversation or you need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API Service Agent` role in this project. - For ES agents, use format: `projects//locations//agent/environments/`. If environment is not specified, the default `draft` environment is used. Refer to [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2beta1#google.cloud.dialogflow.v2beta1.DetectIntentRequest) for more details. - For CX agents, use format `projects//locations//agents//environments/`. If environment is not specified, the default `draft` environment is used. func (o GoogleCloudDialogflowV2beta1AutomatedAgentConfigOutput) Agent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1AutomatedAgentConfig) string { return v.Agent }).(pulumi.StringOutput) @@ -133,6 +152,12 @@ func (o GoogleCloudDialogflowV2beta1AutomatedAgentConfigPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2beta1AutomatedAgentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1AutomatedAgentConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1AutomatedAgentConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1AutomatedAgentConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1AutomatedAgentConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1AutomatedAgentConfig) GoogleCloudDialogflowV2beta1AutomatedAgentConfig { if v != nil { @@ -174,6 +199,12 @@ func (o GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponse]{ + OutputState: o.OutputState, + } +} + // ID of the Dialogflow agent environment to use. This project needs to either be the same project as the conversation or you need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API Service Agent` role in this project. - For ES agents, use format: `projects//locations//agent/environments/`. If environment is not specified, the default `draft` environment is used. Refer to [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2beta1#google.cloud.dialogflow.v2beta1.DetectIntentRequest) for more details. - For CX agents, use format `projects//locations//agents//environments/`. If environment is not specified, the default `draft` environment is used. func (o GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponseOutput) Agent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponse) string { return v.Agent }).(pulumi.StringOutput) @@ -222,6 +253,12 @@ func (i GoogleCloudDialogflowV2beta1ContextArgs) ToGoogleCloudDialogflowV2beta1C return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1ContextOutput) } +func (i GoogleCloudDialogflowV2beta1ContextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1Context] { + return pulumix.Output[GoogleCloudDialogflowV2beta1Context]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1ContextOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1ContextArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1ContextArray and GoogleCloudDialogflowV2beta1ContextArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1ContextArrayInput` via: // @@ -247,6 +284,12 @@ func (i GoogleCloudDialogflowV2beta1ContextArray) ToGoogleCloudDialogflowV2beta1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1ContextArrayOutput) } +func (i GoogleCloudDialogflowV2beta1ContextArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1Context] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1Context]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1ContextArrayOutputWithContext(ctx).OutputState, + } +} + // Dialogflow contexts are similar to natural language context. If a person says to you "they are orange", you need context in order to understand what "they" is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview). type GoogleCloudDialogflowV2beta1ContextOutput struct{ *pulumi.OutputState } @@ -262,6 +305,12 @@ func (o GoogleCloudDialogflowV2beta1ContextOutput) ToGoogleCloudDialogflowV2beta return o } +func (o GoogleCloudDialogflowV2beta1ContextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1Context] { + return pulumix.Output[GoogleCloudDialogflowV2beta1Context]{ + OutputState: o.OutputState, + } +} + // Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries. func (o GoogleCloudDialogflowV2beta1ContextOutput) LifespanCount() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1Context) *int { return v.LifespanCount }).(pulumi.IntPtrOutput) @@ -291,6 +340,12 @@ func (o GoogleCloudDialogflowV2beta1ContextArrayOutput) ToGoogleCloudDialogflowV return o } +func (o GoogleCloudDialogflowV2beta1ContextArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1Context] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1Context]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1ContextArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1ContextOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1Context { return vs[0].([]GoogleCloudDialogflowV2beta1Context)[vs[1].(int)] @@ -322,6 +377,12 @@ func (o GoogleCloudDialogflowV2beta1ContextResponseOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowV2beta1ContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1ContextResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1ContextResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries. func (o GoogleCloudDialogflowV2beta1ContextResponseOutput) LifespanCount() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1ContextResponse) int { return v.LifespanCount }).(pulumi.IntOutput) @@ -351,6 +412,12 @@ func (o GoogleCloudDialogflowV2beta1ContextResponseArrayOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2beta1ContextResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1ContextResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1ContextResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1ContextResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1ContextResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1ContextResponse { return vs[0].([]GoogleCloudDialogflowV2beta1ContextResponse)[vs[1].(int)] @@ -378,6 +445,12 @@ func (o GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponseOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponse]{ + OutputState: o.OutputState, + } +} + // The phone number to connect to this conversation. func (o GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponseOutput) PhoneNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1ConversationPhoneNumberResponse) string { return v.PhoneNumber }).(pulumi.StringOutput) @@ -406,6 +479,12 @@ func (o GoogleCloudDialogflowV2beta1DocumentReloadStatusResponseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1DocumentReloadStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1DocumentReloadStatusResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1DocumentReloadStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status of a reload attempt or the initial load. func (o GoogleCloudDialogflowV2beta1DocumentReloadStatusResponseOutput) Status() GoogleRpcStatusResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1DocumentReloadStatusResponse) GoogleRpcStatusResponse { @@ -457,6 +536,12 @@ func (i GoogleCloudDialogflowV2beta1EntityTypeEntityArgs) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1EntityTypeEntityOutput) } +func (i GoogleCloudDialogflowV2beta1EntityTypeEntityArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1EntityTypeEntity] { + return pulumix.Output[GoogleCloudDialogflowV2beta1EntityTypeEntity]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1EntityTypeEntityOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1EntityTypeEntityArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1EntityTypeEntityArray and GoogleCloudDialogflowV2beta1EntityTypeEntityArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1EntityTypeEntityArrayInput` via: // @@ -482,6 +567,12 @@ func (i GoogleCloudDialogflowV2beta1EntityTypeEntityArray) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1EntityTypeEntityArrayOutput) } +func (i GoogleCloudDialogflowV2beta1EntityTypeEntityArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1EntityTypeEntity] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1EntityTypeEntity]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1EntityTypeEntityArrayOutputWithContext(ctx).OutputState, + } +} + // An **entity entry** for an associated entity type. type GoogleCloudDialogflowV2beta1EntityTypeEntityOutput struct{ *pulumi.OutputState } @@ -497,6 +588,12 @@ func (o GoogleCloudDialogflowV2beta1EntityTypeEntityOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowV2beta1EntityTypeEntityOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1EntityTypeEntity] { + return pulumix.Output[GoogleCloudDialogflowV2beta1EntityTypeEntity]{ + OutputState: o.OutputState, + } +} + // A collection of value synonyms. For example, if the entity type is *vegetable*, and `value` is *scallions*, a synonym could be *green onions*. For `KIND_LIST` entity types: * This collection must contain exactly one synonym equal to `value`. func (o GoogleCloudDialogflowV2beta1EntityTypeEntityOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1EntityTypeEntity) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -521,6 +618,12 @@ func (o GoogleCloudDialogflowV2beta1EntityTypeEntityArrayOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2beta1EntityTypeEntityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1EntityTypeEntity] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1EntityTypeEntity]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1EntityTypeEntityArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1EntityTypeEntityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1EntityTypeEntity { return vs[0].([]GoogleCloudDialogflowV2beta1EntityTypeEntity)[vs[1].(int)] @@ -550,6 +653,12 @@ func (o GoogleCloudDialogflowV2beta1EntityTypeEntityResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowV2beta1EntityTypeEntityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1EntityTypeEntityResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1EntityTypeEntityResponse]{ + OutputState: o.OutputState, + } +} + // A collection of value synonyms. For example, if the entity type is *vegetable*, and `value` is *scallions*, a synonym could be *green onions*. For `KIND_LIST` entity types: * This collection must contain exactly one synonym equal to `value`. func (o GoogleCloudDialogflowV2beta1EntityTypeEntityResponseOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1EntityTypeEntityResponse) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -574,6 +683,12 @@ func (o GoogleCloudDialogflowV2beta1EntityTypeEntityResponseArrayOutput) ToGoogl return o } +func (o GoogleCloudDialogflowV2beta1EntityTypeEntityResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1EntityTypeEntityResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1EntityTypeEntityResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1EntityTypeEntityResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1EntityTypeEntityResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1EntityTypeEntityResponse { return vs[0].([]GoogleCloudDialogflowV2beta1EntityTypeEntityResponse)[vs[1].(int)] @@ -631,6 +746,12 @@ func (i GoogleCloudDialogflowV2beta1FulfillmentArgs) ToGoogleCloudDialogflowV2be return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1FulfillmentOutput) } +func (i GoogleCloudDialogflowV2beta1FulfillmentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1Fulfillment] { + return pulumix.Output[GoogleCloudDialogflowV2beta1Fulfillment]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1FulfillmentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1FulfillmentArgs) ToGoogleCloudDialogflowV2beta1FulfillmentPtrOutput() GoogleCloudDialogflowV2beta1FulfillmentPtrOutput { return i.ToGoogleCloudDialogflowV2beta1FulfillmentPtrOutputWithContext(context.Background()) } @@ -672,6 +793,12 @@ func (i *googleCloudDialogflowV2beta1FulfillmentPtrType) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1FulfillmentPtrOutput) } +func (i *googleCloudDialogflowV2beta1FulfillmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1Fulfillment] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1Fulfillment]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1FulfillmentPtrOutputWithContext(ctx).OutputState, + } +} + // By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday. For more information, see the [fulfillment guide](https://cloud.google.com/dialogflow/docs/fulfillment-overview). type GoogleCloudDialogflowV2beta1FulfillmentOutput struct{ *pulumi.OutputState } @@ -697,6 +824,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentOutput) ToGoogleCloudDialogflowV2 }).(GoogleCloudDialogflowV2beta1FulfillmentPtrOutput) } +func (o GoogleCloudDialogflowV2beta1FulfillmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1Fulfillment] { + return pulumix.Output[GoogleCloudDialogflowV2beta1Fulfillment]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment. func (o GoogleCloudDialogflowV2beta1FulfillmentOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1Fulfillment) *string { return v.DisplayName }).(pulumi.StringPtrOutput) @@ -740,6 +873,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentPtrOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowV2beta1FulfillmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1Fulfillment] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1Fulfillment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1FulfillmentPtrOutput) Elem() GoogleCloudDialogflowV2beta1FulfillmentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1Fulfillment) GoogleCloudDialogflowV2beta1Fulfillment { if v != nil { @@ -835,6 +974,12 @@ func (i GoogleCloudDialogflowV2beta1FulfillmentFeatureArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1FulfillmentFeatureOutput) } +func (i GoogleCloudDialogflowV2beta1FulfillmentFeatureArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentFeature] { + return pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentFeature]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1FulfillmentFeatureOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1FulfillmentFeatureArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1FulfillmentFeatureArray and GoogleCloudDialogflowV2beta1FulfillmentFeatureArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1FulfillmentFeatureArrayInput` via: // @@ -860,6 +1005,12 @@ func (i GoogleCloudDialogflowV2beta1FulfillmentFeatureArray) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1FulfillmentFeatureArrayOutput) } +func (i GoogleCloudDialogflowV2beta1FulfillmentFeatureArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1FulfillmentFeature] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1FulfillmentFeature]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1FulfillmentFeatureArrayOutputWithContext(ctx).OutputState, + } +} + // Whether fulfillment is enabled for the specific feature. type GoogleCloudDialogflowV2beta1FulfillmentFeatureOutput struct{ *pulumi.OutputState } @@ -875,6 +1026,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentFeature] { + return pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentFeature]{ + OutputState: o.OutputState, + } +} + // The type of the feature that enabled for fulfillment. func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureOutput) Type() GoogleCloudDialogflowV2beta1FulfillmentFeatureTypePtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1FulfillmentFeature) *GoogleCloudDialogflowV2beta1FulfillmentFeatureType { @@ -896,6 +1053,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1FulfillmentFeature] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1FulfillmentFeature]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1FulfillmentFeatureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1FulfillmentFeature { return vs[0].([]GoogleCloudDialogflowV2beta1FulfillmentFeature)[vs[1].(int)] @@ -923,6 +1086,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentFeatureResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentFeatureResponse]{ + OutputState: o.OutputState, + } +} + // The type of the feature that enabled for fulfillment. func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1FulfillmentFeatureResponse) string { return v.Type }).(pulumi.StringOutput) @@ -942,6 +1111,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureResponseArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1FulfillmentFeatureResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1FulfillmentFeatureResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1FulfillmentFeatureResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1FulfillmentFeatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1FulfillmentFeatureResponse { return vs[0].([]GoogleCloudDialogflowV2beta1FulfillmentFeatureResponse)[vs[1].(int)] @@ -999,6 +1174,12 @@ func (i GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceOutput) } +func (i GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentGenericWebService] { + return pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentGenericWebService]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceArgs) ToGoogleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrOutput() GoogleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrOutput { return i.ToGoogleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrOutputWithContext(context.Background()) } @@ -1040,6 +1221,12 @@ func (i *googleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrOutput) } +func (i *googleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1FulfillmentGenericWebService] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1FulfillmentGenericWebService]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers. More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure. type GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceOutput struct{ *pulumi.OutputState } @@ -1065,6 +1252,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceOutput) ToGoogle }).(GoogleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrOutput) } +func (o GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentGenericWebService] { + return pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentGenericWebService]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now. func (o GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceOutput) IsCloudFunction() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1FulfillmentGenericWebService) *bool { return v.IsCloudFunction }).(pulumi.BoolPtrOutput) @@ -1106,6 +1299,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1FulfillmentGenericWebService] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1FulfillmentGenericWebService]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1FulfillmentGenericWebServicePtrOutput) Elem() GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1FulfillmentGenericWebService) GoogleCloudDialogflowV2beta1FulfillmentGenericWebService { if v != nil { @@ -1195,6 +1394,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponseOutput) return o } +func (o GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false. is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now. func (o GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponseOutput) IsCloudFunction() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1FulfillmentGenericWebServiceResponse) bool { @@ -1253,6 +1458,12 @@ func (o GoogleCloudDialogflowV2beta1FulfillmentResponseOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowV2beta1FulfillmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1FulfillmentResponse]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment. func (o GoogleCloudDialogflowV2beta1FulfillmentResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1FulfillmentResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -1329,6 +1540,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrOutputWithContext(context.Background()) } @@ -1370,6 +1587,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the Human Agent Assistant to connect to a conversation. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigOutput struct{ *pulumi.OutputState } @@ -1395,6 +1618,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigOutput) ToGoogleClo }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for agent assistance of end user participant. Currently, this feature is not general available, please contact Google to get access. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigOutput) EndUserSuggestionConfig() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig) *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig { @@ -1437,6 +1666,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig { if v != nil { @@ -1526,6 +1761,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigPtrOutputWithContext(context.Background()) } @@ -1567,6 +1808,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigOutput struct{ *pulumi.OutputState } @@ -1592,6 +1839,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelCo }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig]{ + OutputState: o.OutputState, + } +} + // Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default) Summarization baseline model: - 1.0 func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigOutput) BaselineModelVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig) *string { @@ -1620,6 +1873,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelCo return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig { if v != nil { @@ -1673,6 +1932,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelCo return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigResponse]{ + OutputState: o.OutputState, + } +} + // Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default) Summarization baseline model: - 1.0 func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigResponseOutput) BaselineModelVersion() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigResponse) string { @@ -1722,6 +1987,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcess return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigPtrOutputWithContext(context.Background()) } @@ -1763,6 +2034,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProces return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config to process conversation. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigOutput struct{ *pulumi.OutputState } @@ -1788,6 +2065,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcess }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig]{ + OutputState: o.OutputState, + } +} + // Number of recent non-small-talk sentences to use as context for article and FAQ suggestion func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigOutput) RecentSentencesCount() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig) *int { @@ -1809,6 +2092,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcess return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig { if v != nil { @@ -1850,6 +2139,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcess return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigResponse]{ + OutputState: o.OutputState, + } +} + // Number of recent non-small-talk sentences to use as context for article and FAQ suggestion func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigResponseOutput) RecentSentencesCount() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfigResponse) int { @@ -1896,6 +2191,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigPtrOutputWithContext(context.Background()) } @@ -1937,6 +2238,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for analyses to run on each conversation message. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigOutput struct{ *pulumi.OutputState } @@ -1962,6 +2269,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConf }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig]{ + OutputState: o.OutputState, + } +} + // Enable entity extraction in conversation messages on [agent assist stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). If unspecified, defaults to false. Currently, this feature is not general available, please contact Google to get access. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigOutput) EnableEntityExtraction() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig) *bool { @@ -1990,6 +2303,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig { if v != nil { @@ -2043,6 +2362,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigResponse]{ + OutputState: o.OutputState, + } +} + // Enable entity extraction in conversation messages on [agent assist stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). If unspecified, defaults to false. Currently, this feature is not general available, please contact Google to get access. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigResponseOutput) EnableEntityExtraction() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfigResponse) bool { @@ -2084,6 +2409,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigResponseOutput) ToG return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for agent assistance of end user participant. Currently, this feature is not general available, please contact Google to get access. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigResponseOutput) EndUserSuggestionConfig() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigResponse) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigResponse { @@ -2151,6 +2482,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigArg return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtrOutputWithContext(context.Background()) } @@ -2192,6 +2529,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Detail human agent assistant config. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigOutput struct{ *pulumi.OutputState } @@ -2217,6 +2560,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigOut }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig]{ + OutputState: o.OutputState, + } +} + // Configuration of different suggestion features. One feature can have only one config. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigOutput) FeatureConfigs() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig) []GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig { @@ -2245,6 +2594,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtr return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig { if v != nil { @@ -2298,6 +2653,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigRes return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration of different suggestion features. One feature can have only one config. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigResponseOutput) FeatureConfigs() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfigResponse) []GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponse { @@ -2367,6 +2728,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArray and GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArrayInput` via: // @@ -2392,6 +2759,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Config for suggestion features. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigOutput struct{ *pulumi.OutputState } @@ -2407,6 +2780,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureCo return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig]{ + OutputState: o.OutputState, + } +} + // Configs of custom conversation model. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigOutput) ConversationModelConfig() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig) *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig { @@ -2463,6 +2842,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureCo return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig { return vs[0].([]GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig)[vs[1].(int)] @@ -2500,6 +2885,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureCo return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configs of custom conversation model. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponseOutput) ConversationModelConfig() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponse) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfigResponse { @@ -2556,6 +2947,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureCo return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponse { return vs[0].([]GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfigResponse)[vs[1].(int)] @@ -2617,6 +3014,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigPtrOutputWithContext(context.Background()) } @@ -2658,6 +3061,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config for suggestion query. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigOutput struct{ *pulumi.OutputState } @@ -2683,6 +3092,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig]{ + OutputState: o.OutputState, + } +} + // Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it is default to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigOutput) ConfidenceThreshold() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig) *float64 { @@ -2739,6 +3154,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig { if v != nil { @@ -2852,6 +3273,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutputWithContext(context.Background()) } @@ -2893,6 +3320,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings that determine how to filter recent conversation context when generating suggestions. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutput struct{ *pulumi.OutputState } @@ -2918,6 +3351,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]{ + OutputState: o.OutputState, + } +} + // If set to true, the last message from virtual agent (hand off message) and the message before it (trigger message of hand off) are dropped. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutput) DropHandoffMessages() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings) *bool { @@ -2953,6 +3392,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings { if v != nil { @@ -3018,6 +3463,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, the last message from virtual agent (hand off message) and the message before it (trigger message of hand off) are dropped. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponseOutput) DropHandoffMessages() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponse) bool { @@ -3074,6 +3525,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutputWithContext(context.Background()) } @@ -3115,6 +3572,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutputWithContext(ctx).OutputState, + } +} + // Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutput struct{ *pulumi.OutputState } @@ -3140,6 +3603,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]{ + OutputState: o.OutputState, + } +} + // The name of a dialogflow virtual agent used for end user side intent detection and suggestion. Format: `projects//locations//agent`. When multiple agents are allowed in the same Dialogflow project. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutput) Agent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource) string { @@ -3161,6 +3630,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourcePtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource { if v != nil { @@ -3202,6 +3677,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponse]{ + OutputState: o.OutputState, + } +} + // The name of a dialogflow virtual agent used for end user side intent detection and suggestion. Format: `projects//locations//agent`. When multiple agents are allowed in the same Dialogflow project. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponseOutput) Agent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceResponse) string { @@ -3244,6 +3725,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutputWithContext(context.Background()) } @@ -3285,6 +3772,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutputWithContext(ctx).OutputState, + } +} + // Document source settings. Supported features: SMART_REPLY, SMART_COMPOSE. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutput struct{ *pulumi.OutputState } @@ -3310,6 +3803,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource]{ + OutputState: o.OutputState, + } +} + // Knowledge documents to query from. Format: `projects//locations//knowledgeBases//documents/`. Currently, only one document is supported. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutput) Documents() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource) []string { @@ -3331,6 +3830,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourcePtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource { if v != nil { @@ -3372,6 +3877,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponse]{ + OutputState: o.OutputState, + } +} + // Knowledge documents to query from. Format: `projects//locations//knowledgeBases//documents/`. Currently, only one document is supported. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponseOutput) Documents() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySourceResponse) []string { @@ -3414,6 +3925,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutputWithContext(context.Background()) } @@ -3455,6 +3972,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutputWithContext(ctx).OutputState, + } +} + // Knowledge base source settings. Supported features: ARTICLE_SUGGESTION, FAQ. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutput struct{ *pulumi.OutputState } @@ -3480,6 +4003,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource]{ + OutputState: o.OutputState, + } +} + // Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, only one knowledge base is supported. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutput) KnowledgeBases() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource) []string { @@ -3501,6 +4030,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourcePtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource { if v != nil { @@ -3542,6 +4077,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse]{ + OutputState: o.OutputState, + } +} + // Knowledge bases to query. Format: `projects//locations//knowledgeBases/`. Currently, only one knowledge base is supported. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponseOutput) KnowledgeBases() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySourceResponse) []string { @@ -3580,6 +4121,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConf return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigResponse]{ + OutputState: o.OutputState, + } +} + // Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it is default to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigResponseOutput) ConfidenceThreshold() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigResponse) float64 { @@ -3661,6 +4208,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsArgs) ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutputWithContext(context.Background()) } @@ -3702,6 +4255,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerS return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings of suggestion trigger. type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsOutput struct{ *pulumi.OutputState } @@ -3727,6 +4286,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSe }).(GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings]{ + OutputState: o.OutputState, + } +} + // Do not trigger if last utterance is small talk. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsOutput) NoSmallTalk() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings) *bool { @@ -3755,6 +4320,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSe return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings) GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings { if v != nil { @@ -3808,6 +4379,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSe return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Do not trigger if last utterance is small talk. func (o GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsResponseOutput) NoSmallTalk() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettingsResponse) bool { @@ -3861,6 +4438,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigArgs) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigArgs) ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrOutputWithContext(context.Background()) } @@ -3902,6 +4485,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation. Currently, this feature is not general available, please contact Google to get access. type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigOutput struct{ *pulumi.OutputState } @@ -3927,6 +4516,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigOutput) ToGoogleCloud }).(GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig]{ + OutputState: o.OutputState, + } +} + // Uses LivePerson (https://www.liveperson.com). func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigOutput) LivePersonConfig() GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig) *GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig { @@ -3955,6 +4550,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig) GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig { if v != nil { @@ -4020,6 +4621,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigArgs) ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrOutputWithContext(context.Background()) } @@ -4061,6 +4668,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrT return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration specific to LivePerson (https://www.liveperson.com). type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigOutput struct{ *pulumi.OutputState } @@ -4086,6 +4699,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigOutpu }).(GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig]{ + OutputState: o.OutputState, + } +} + // Account number of the LivePerson account to connect. This is the account number you input at the login page. func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigOutput) AccountNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig) string { @@ -4107,6 +4726,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrOu return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig) GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig { if v != nil { @@ -4148,6 +4773,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigRespo return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigResponse]{ + OutputState: o.OutputState, + } +} + // Account number of the LivePerson account to connect. This is the account number you input at the login page. func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigResponseOutput) AccountNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigResponse) string { @@ -4178,6 +4809,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigResponseOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigResponse]{ + OutputState: o.OutputState, + } +} + // Uses LivePerson (https://www.liveperson.com). func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigResponseOutput) LivePersonConfig() GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigResponse) GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfigResponse { @@ -4239,6 +4876,12 @@ func (i GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigOutput) } +func (i GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigArgs) ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput() GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutputWithContext(context.Background()) } @@ -4280,6 +4923,12 @@ func (i *googleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration specific to Salesforce Live Agent. type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigOutput struct{ *pulumi.OutputState } @@ -4305,6 +4954,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentCo }).(GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig]{ + OutputState: o.OutputState, + } +} + // Live Agent chat button ID. func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigOutput) ButtonId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig) string { @@ -4347,6 +5002,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentCo return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig) GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig { if v != nil { @@ -4424,6 +5085,12 @@ func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentCo return o } +func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Live Agent chat button ID. func (o GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigResponseOutput) ButtonId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfigResponse) string { @@ -4475,6 +5142,12 @@ func (o GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponseOutput) ToGo return o } +func (o GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponse]{ + OutputState: o.OutputState, + } +} + // The unique identifier of the followup intent. Format: `projects//agent/intents/`. func (o GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponseOutput) FollowupIntentName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponse) string { @@ -4503,6 +5176,12 @@ func (o GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponseArrayOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentFollowupIntentInfoResponse)[vs[1].(int)] @@ -4624,6 +5303,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageArgs) ToGoogleCloudDialogflowV2 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessage] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessage]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageArray and GoogleCloudDialogflowV2beta1IntentMessageArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageArrayInput` via: // @@ -4649,6 +5334,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageArray) ToGoogleCloudDialogflowV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessage] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessage]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageArrayOutputWithContext(ctx).OutputState, + } +} + // Corresponds to the `Response` field in the Dialogflow console. type GoogleCloudDialogflowV2beta1IntentMessageOutput struct{ *pulumi.OutputState } @@ -4664,6 +5355,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageOutput) ToGoogleCloudDialogflow return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessage] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessage]{ + OutputState: o.OutputState, + } +} + // Displays a basic card for Actions on Google. func (o GoogleCloudDialogflowV2beta1IntentMessageOutput) BasicCard() GoogleCloudDialogflowV2beta1IntentMessageBasicCardPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessage) *GoogleCloudDialogflowV2beta1IntentMessageBasicCard { @@ -4823,6 +5520,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageArrayOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessage] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessage { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessage)[vs[1].(int)] @@ -4880,6 +5583,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageBasicCardArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageBasicCardOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageBasicCardArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageBasicCardOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageBasicCardArgs) ToGoogleCloudDialogflowV2beta1IntentMessageBasicCardPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageBasicCardPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageBasicCardPtrOutputWithContext(context.Background()) } @@ -4921,6 +5630,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageBasicCardPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageBasicCardPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageBasicCardPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBasicCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBasicCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageBasicCardPtrOutputWithContext(ctx).OutputState, + } +} + // The basic card message. Useful for displaying information. type GoogleCloudDialogflowV2beta1IntentMessageBasicCardOutput struct{ *pulumi.OutputState } @@ -4946,6 +5661,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardOutput) ToGoogleCloudD }).(GoogleCloudDialogflowV2beta1IntentMessageBasicCardPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCard]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of card buttons. func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardOutput) Buttons() GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBasicCard) []GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton { @@ -4989,6 +5710,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBasicCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBasicCard]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageBasicCardOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) GoogleCloudDialogflowV2beta1IntentMessageBasicCard { if v != nil { @@ -5088,6 +5815,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArray and GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArrayInput` via: // @@ -5113,6 +5846,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArray) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArrayOutputWithContext(ctx).OutputState, + } +} + // The button object that appears at the bottom of a card. type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOutput struct{ *pulumi.OutputState } @@ -5128,6 +5867,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton]{ + OutputState: o.OutputState, + } +} + // Action to take when a user taps on the button. func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOutput) OpenUriAction() GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction { @@ -5154,6 +5899,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArrayOutput) ToG return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton)[vs[1].(int)] @@ -5195,6 +5946,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionArg return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionOutputWithContext(ctx).OutputState, + } +} + // Opens the given URI. type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionOutput struct{ *pulumi.OutputState } @@ -5210,6 +5967,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionOut return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction]{ + OutputState: o.OutputState, + } +} + // The HTTP or HTTPS scheme URI. func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) string { return v.Uri }).(pulumi.StringOutput) @@ -5236,6 +5999,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionRes return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP or HTTPS scheme URI. func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionResponse) string { @@ -5266,6 +6035,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponseOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse]{ + OutputState: o.OutputState, + } +} + // Action to take when a user taps on the button. func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponseOutput) OpenUriAction() GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse) GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriActionResponse { @@ -5292,6 +6067,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponseArrayOut return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse)[vs[1].(int)] @@ -5327,6 +6108,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of card buttons. func (o GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponseOutput) Buttons() GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponse) []GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse { @@ -5395,6 +6182,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardArgs) ToGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrOutputWithContext(context.Background()) } @@ -5436,6 +6229,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrType) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrOutputWithContext(ctx).OutputState, + } +} + // Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardOutput struct{ *pulumi.OutputState } @@ -5461,6 +6260,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardOutput) ToGoo }).(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard]{ + OutputState: o.OutputState, + } +} + // Optional. Settings for displaying the image. Applies to every image in items. func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardOutput) ImageDisplayOptions() GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptionsPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions { @@ -5489,6 +6294,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrOutput) To return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard { if v != nil { @@ -5570,6 +6381,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemArray and GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayInput` via: // @@ -5595,6 +6412,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayOutputWithContext(ctx).OutputState, + } +} + // Browsing carousel tile type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutput struct{ *pulumi.OutputState } @@ -5610,6 +6433,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the carousel item. Maximum of four lines of text. func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) *string { @@ -5659,6 +6488,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem)[vs[1].(int)] @@ -5704,6 +6539,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionOutputWithContext(ctx).OutputState, + } +} + // Actions on Google action to open a given url. type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionOutput struct{ *pulumi.OutputState } @@ -5719,6 +6560,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction]{ + OutputState: o.OutputState, + } +} + // URL func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) string { @@ -5756,6 +6603,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionResponse]{ + OutputState: o.OutputState, + } +} + // URL func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionResponseOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionResponse) string { @@ -5799,6 +6652,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the carousel item. Maximum of four lines of text. func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse) string { @@ -5848,6 +6707,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouse return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemResponse)[vs[1].(int)] @@ -5877,6 +6742,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardResponseOutpu return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Settings for displaying the image. Applies to every image in items. func (o GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardResponseOutput) ImageDisplayOptions() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardResponse) string { @@ -5938,6 +6809,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageCardArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageCardOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageCardArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageCardOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageCardArgs) ToGoogleCloudDialogflowV2beta1IntentMessageCardPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageCardPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageCardPtrOutputWithContext(context.Background()) } @@ -5979,6 +6856,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageCardPtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageCardPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageCardPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageCardPtrOutputWithContext(ctx).OutputState, + } +} + // The card response message. type GoogleCloudDialogflowV2beta1IntentMessageCardOutput struct{ *pulumi.OutputState } @@ -6004,6 +6887,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCardOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowV2beta1IntentMessageCardPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageCardOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCard]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of card buttons. func (o GoogleCloudDialogflowV2beta1IntentMessageCardOutput) Buttons() GoogleCloudDialogflowV2beta1IntentMessageCardButtonArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageCard) []GoogleCloudDialogflowV2beta1IntentMessageCardButton { @@ -6040,6 +6929,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCardPtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageCard]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageCardPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageCardOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageCard) GoogleCloudDialogflowV2beta1IntentMessageCard { if v != nil { @@ -6129,6 +7024,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageCardButtonArgs) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageCardButtonOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageCardButtonArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCardButton] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCardButton]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageCardButtonOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageCardButtonArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageCardButtonArray and GoogleCloudDialogflowV2beta1IntentMessageCardButtonArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageCardButtonArrayInput` via: // @@ -6154,6 +7055,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageCardButtonArray) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageCardButtonArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageCardButtonArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCardButton] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCardButton]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageCardButtonArrayOutputWithContext(ctx).OutputState, + } +} + // Optional. Contains information about a button. type GoogleCloudDialogflowV2beta1IntentMessageCardButtonOutput struct{ *pulumi.OutputState } @@ -6169,6 +7076,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCardButton] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCardButton]{ + OutputState: o.OutputState, + } +} + // Optional. The text to send back to the Dialogflow API or a URI to open. func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonOutput) Postback() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageCardButton) *string { return v.Postback }).(pulumi.StringPtrOutput) @@ -6193,6 +7106,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonArrayOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCardButton] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCardButton]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageCardButtonOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageCardButton { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageCardButton)[vs[1].(int)] @@ -6222,6 +7141,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponseOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The text to send back to the Dialogflow API or a URI to open. func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponseOutput) Postback() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponse) string { return v.Postback }).(pulumi.StringOutput) @@ -6246,6 +7171,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponseArrayOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponse)[vs[1].(int)] @@ -6279,6 +7210,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCardResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCardResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCardResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of card buttons. func (o GoogleCloudDialogflowV2beta1IntentMessageCardResponseOutput) Buttons() GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageCardResponse) []GoogleCloudDialogflowV2beta1IntentMessageCardButtonResponse { @@ -6336,6 +7273,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectArgs) ToGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrOutputWithContext(context.Background()) } @@ -6377,6 +7320,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrOutputWithContext(ctx).OutputState, + } +} + // The card for presenting a carousel of options to select from. type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectOutput struct{ *pulumi.OutputState } @@ -6402,6 +7351,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectOutput) ToGoogleC }).(GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect]{ + OutputState: o.OutputState, + } +} + // Carousel items. func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectOutput) Items() GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) []GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem { @@ -6423,6 +7378,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect { if v != nil { @@ -6490,6 +7451,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArray and GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArrayInput` via: // @@ -6515,6 +7482,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArray) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArrayOutputWithContext(ctx).OutputState, + } +} + // An item in the carousel. type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemOutput struct{ *pulumi.OutputState } @@ -6530,6 +7503,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem]{ + OutputState: o.OutputState, + } +} + // Optional. The body text of the card. func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -6568,6 +7547,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArrayOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem)[vs[1].(int)] @@ -6601,6 +7586,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponseOutpu return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The body text of the card. func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponse) string { @@ -6641,6 +7632,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponseArray return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponse)[vs[1].(int)] @@ -6668,6 +7665,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectResponseOutput) T return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectResponse]{ + OutputState: o.OutputState, + } +} + // Carousel items. func (o GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectResponseOutput) Items() GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectResponse) []GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItemResponse { @@ -6714,6 +7717,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageColumnProperties] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageColumnProperties]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArray and GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArrayInput` via: // @@ -6739,6 +7748,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArray) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageColumnProperties] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageColumnProperties]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArrayOutputWithContext(ctx).OutputState, + } +} + // Column properties for TableCard. type GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesOutput struct{ *pulumi.OutputState } @@ -6754,6 +7769,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesOutput) ToGoogl return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageColumnProperties] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageColumnProperties]{ + OutputState: o.OutputState, + } +} + // Column heading. func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesOutput) Header() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) string { return v.Header }).(pulumi.StringOutput) @@ -6780,6 +7801,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArrayOutput) To return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageColumnProperties] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageColumnProperties]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageColumnProperties { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageColumnProperties)[vs[1].(int)] @@ -6809,6 +7836,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponseOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponse]{ + OutputState: o.OutputState, + } +} + // Column heading. func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponseOutput) Header() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponse) string { return v.Header }).(pulumi.StringOutput) @@ -6835,6 +7868,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponseArrayOu return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesResponse)[vs[1].(int)] @@ -6880,6 +7919,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageImageArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageImageOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageImageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageImage] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageImage]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageImageOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageImageArgs) ToGoogleCloudDialogflowV2beta1IntentMessageImagePtrOutput() GoogleCloudDialogflowV2beta1IntentMessageImagePtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageImagePtrOutputWithContext(context.Background()) } @@ -6921,6 +7966,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageImagePtrType) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageImagePtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageImagePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageImage] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageImage]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageImagePtrOutputWithContext(ctx).OutputState, + } +} + // The image response message. type GoogleCloudDialogflowV2beta1IntentMessageImageOutput struct{ *pulumi.OutputState } @@ -6946,6 +7997,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageImageOutput) ToGoogleCloudDialo }).(GoogleCloudDialogflowV2beta1IntentMessageImagePtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageImageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageImage] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageImage]{ + OutputState: o.OutputState, + } +} + // A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect. func (o GoogleCloudDialogflowV2beta1IntentMessageImageOutput) AccessibilityText() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageImage) *string { return v.AccessibilityText }).(pulumi.StringPtrOutput) @@ -6970,6 +8027,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageImagePtrOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageImagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageImage] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageImage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageImagePtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageImageOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageImage) GoogleCloudDialogflowV2beta1IntentMessageImage { if v != nil { @@ -7023,6 +8086,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageImageResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageImageResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageImageResponse]{ + OutputState: o.OutputState, + } +} + // A text description of the image to be used for accessibility, e.g., screen readers. Required if image_uri is set for CarouselSelect. func (o GoogleCloudDialogflowV2beta1IntentMessageImageResponseOutput) AccessibilityText() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageImageResponse) string { return v.AccessibilityText }).(pulumi.StringOutput) @@ -7072,6 +8141,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionArgs) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionArgs) ToGoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrOutputWithContext(context.Background()) } @@ -7113,6 +8188,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrType) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrOutputWithContext(ctx).OutputState, + } +} + // The suggestion chip message that allows the user to jump out to the app or website associated with this agent. type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionOutput struct{ *pulumi.OutputState } @@ -7138,6 +8219,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionOutput) ToGoog }).(GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion]{ + OutputState: o.OutputState, + } +} + // The name of the app or site this chip is linking to. func (o GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionOutput) DestinationName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) string { return v.DestinationName }).(pulumi.StringOutput) @@ -7162,6 +8249,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrOutput) ToG return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion { if v != nil { @@ -7215,6 +8308,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionResponseOutput return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the app or site this chip is linking to. func (o GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionResponseOutput) DestinationName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestionResponse) string { @@ -7270,6 +8369,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageListSelectArgs) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageListSelectOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageListSelectArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelect] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelect]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageListSelectOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageListSelectArgs) ToGoogleCloudDialogflowV2beta1IntentMessageListSelectPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageListSelectPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageListSelectPtrOutputWithContext(context.Background()) } @@ -7311,6 +8416,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageListSelectPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageListSelectPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageListSelectPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageListSelect] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageListSelect]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageListSelectPtrOutputWithContext(ctx).OutputState, + } +} + // The card for presenting a list of options to select from. type GoogleCloudDialogflowV2beta1IntentMessageListSelectOutput struct{ *pulumi.OutputState } @@ -7336,6 +8447,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectOutput) ToGoogleCloud }).(GoogleCloudDialogflowV2beta1IntentMessageListSelectPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelect] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelect]{ + OutputState: o.OutputState, + } +} + // List items. func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectOutput) Items() GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageListSelect) []GoogleCloudDialogflowV2beta1IntentMessageListSelectItem { @@ -7367,6 +8484,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectPtrOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageListSelect] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageListSelect]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageListSelectOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageListSelect) GoogleCloudDialogflowV2beta1IntentMessageListSelect { if v != nil { @@ -7454,6 +8577,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageListSelectItemOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelectItem] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelectItem]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageListSelectItemOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArray and GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArrayInput` via: // @@ -7479,6 +8608,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArray) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageListSelectItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageListSelectItem]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageListSelectItemArrayOutputWithContext(ctx).OutputState, + } +} + // An item in the list. type GoogleCloudDialogflowV2beta1IntentMessageListSelectItemOutput struct{ *pulumi.OutputState } @@ -7494,6 +8629,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelectItem] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelectItem]{ + OutputState: o.OutputState, + } +} + // Optional. The main text describing the item. func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -7532,6 +8673,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArrayOutput) ToGo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageListSelectItem] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageListSelectItem]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageListSelectItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageListSelectItem { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageListSelectItem)[vs[1].(int)] @@ -7565,6 +8712,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponseOutput) T return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The main text describing the item. func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponse) string { return v.Description }).(pulumi.StringOutput) @@ -7603,6 +8756,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponseArrayOutp return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponse)[vs[1].(int)] @@ -7634,6 +8793,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectResponseOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelectResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageListSelectResponse]{ + OutputState: o.OutputState, + } +} + // List items. func (o GoogleCloudDialogflowV2beta1IntentMessageListSelectResponseOutput) Items() GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageListSelectResponse) []GoogleCloudDialogflowV2beta1IntentMessageListSelectItemResponse { @@ -7690,6 +8855,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageMediaContentArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageMediaContentOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageMediaContentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContent] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContent]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageMediaContentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageMediaContentArgs) ToGoogleCloudDialogflowV2beta1IntentMessageMediaContentPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageMediaContentPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageMediaContentPtrOutputWithContext(context.Background()) } @@ -7731,6 +8902,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageMediaContentPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageMediaContentPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageMediaContentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageMediaContent] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageMediaContent]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageMediaContentPtrOutputWithContext(ctx).OutputState, + } +} + // The media content card for Actions on Google. type GoogleCloudDialogflowV2beta1IntentMessageMediaContentOutput struct{ *pulumi.OutputState } @@ -7756,6 +8933,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentOutput) ToGoogleClo }).(GoogleCloudDialogflowV2beta1IntentMessageMediaContentPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContent] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContent]{ + OutputState: o.OutputState, + } +} + // List of media objects. func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentOutput) MediaObjects() GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageMediaContent) []GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject { @@ -7784,6 +8967,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentPtrOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageMediaContent] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageMediaContent]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageMediaContentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) GoogleCloudDialogflowV2beta1IntentMessageMediaContent { if v != nil { @@ -7837,6 +9026,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseOutput) ToG return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponse]{ + OutputState: o.OutputState, + } +} + // List of media objects. func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseOutput) MediaObjects() GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponse) []GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponse { @@ -7900,6 +9095,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArray and GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArrayInput` via: // @@ -7925,6 +9126,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArrayOutputWithContext(ctx).OutputState, + } +} + // Response media object for media content card. type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectOutput struct{ *pulumi.OutputState } @@ -7940,6 +9147,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject]{ + OutputState: o.OutputState, + } +} + // Url where the media is stored. func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectOutput) ContentUrl() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) string { @@ -7987,6 +9200,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject)[vs[1].(int)] @@ -8022,6 +9241,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponse]{ + OutputState: o.OutputState, + } +} + // Url where the media is stored. func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponseOutput) ContentUrl() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponse) string { @@ -8071,6 +9296,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObjectResponse)[vs[1].(int)] @@ -8116,6 +9347,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageQuickReplies] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageQuickReplies]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageQuickRepliesOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesArgs) ToGoogleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrOutputWithContext(context.Background()) } @@ -8157,6 +9394,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageQuickReplies] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageQuickReplies]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrOutputWithContext(ctx).OutputState, + } +} + // The quick replies response message. type GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesOutput struct{ *pulumi.OutputState } @@ -8182,6 +9425,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesOutput) ToGoogleClo }).(GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageQuickReplies] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageQuickReplies]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of quick replies. func (o GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesOutput) QuickReplies() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) []string { return v.QuickReplies }).(pulumi.StringArrayOutput) @@ -8206,6 +9455,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageQuickReplies] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageQuickReplies]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) GoogleCloudDialogflowV2beta1IntentMessageQuickReplies { if v != nil { @@ -8259,6 +9514,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesResponseOutput) ToG return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of quick replies. func (o GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesResponseOutput) QuickReplies() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageQuickRepliesResponse) []string { return v.QuickReplies }).(pulumi.StringArrayOutput) @@ -8316,6 +9577,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArgs) ToGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrOutputWithContext(context.Background()) } @@ -8357,6 +9624,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArray and GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArrayInput` via: // @@ -8382,6 +9655,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArray) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArrayOutputWithContext(ctx).OutputState, + } +} + // Rich Business Messaging (RBM) Card content type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentOutput struct{ *pulumi.OutputState } @@ -8407,6 +9686,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentOutput) ToGoogleC }).(GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -8445,6 +9730,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent { if v != nil { @@ -8509,6 +9800,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArrayOutput) ToGo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent)[vs[1].(int)] @@ -8558,6 +9855,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaArgs) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaArgs) ToGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrOutputWithContext(context.Background()) } @@ -8599,6 +9902,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrType) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrOutputWithContext(ctx).OutputState, + } +} + // Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg' * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaOutput struct{ *pulumi.OutputState } @@ -8624,6 +9933,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaOutput) T }).(GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia]{ + OutputState: o.OutputState, + } +} + // Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaOutput) FileUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) string { return v.FileUri }).(pulumi.StringOutput) @@ -8655,6 +9970,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrOutput return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia { if v != nil { @@ -8720,6 +10041,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaResponseO return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaResponse]{ + OutputState: o.OutputState, + } +} + // Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaResponseOutput) FileUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaResponse) string { @@ -8768,6 +10095,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponseOutput) T return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponse) string { return v.Description }).(pulumi.StringOutput) @@ -8806,6 +10139,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponseArrayOutp return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponse)[vs[1].(int)] @@ -8851,6 +10190,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardArgs) ToGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrOutputWithContext(context.Background()) } @@ -8892,6 +10237,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrOutputWithContext(ctx).OutputState, + } +} + // Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead. type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardOutput struct{ *pulumi.OutputState } @@ -8917,6 +10268,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardOutput) ToGoogle }).(GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard]{ + OutputState: o.OutputState, + } +} + // The cards in the carousel. A carousel must have at least 2 cards and at most 10. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardOutput) CardContents() GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) []GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent { @@ -8945,6 +10302,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard { if v != nil { @@ -8998,6 +10361,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardResponseOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardResponse]{ + OutputState: o.OutputState, + } +} + // The cards in the carousel. A carousel must have at least 2 cards and at most 10. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardResponseOutput) CardContents() GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardResponse) []GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponse { @@ -9053,6 +10422,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardArgs) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardArgs) ToGoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrOutputWithContext(context.Background()) } @@ -9094,6 +10469,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrType) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrOutputWithContext(ctx).OutputState, + } +} + // Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout. type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardOutput struct{ *pulumi.OutputState } @@ -9119,6 +10500,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardOutput) ToGoog }).(GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard]{ + OutputState: o.OutputState, + } +} + // Card content. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardOutput) CardContent() GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent { @@ -9154,6 +10541,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrOutput) ToG return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard { if v != nil { @@ -9219,6 +10612,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardResponseOutput return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardResponse]{ + OutputState: o.OutputState, + } +} + // Card content. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardResponseOutput) CardContent() GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardResponse) GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentResponse { @@ -9291,6 +10690,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionArgs) ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrOutputWithContext(context.Background()) } @@ -9332,6 +10737,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrType) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrOutputWithContext(ctx).OutputState, + } +} + // Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionOutput struct{ *pulumi.OutputState } @@ -9357,6 +10768,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionOutput) ToGoo }).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction]{ + OutputState: o.OutputState, + } +} + // Suggested client side action: Dial a phone number func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionOutput) Dial() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial { @@ -9402,6 +10819,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrOutput) To return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction { if v != nil { @@ -9497,6 +10920,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialArgs) ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialPtrOutputWithContext(context.Background()) } @@ -9538,6 +10967,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggested return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialPtrOutputWithContext(ctx).OutputState, + } +} + // Opens the user's default dialer app with the specified phone number but does not dial automatically. type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialOutput struct{ *pulumi.OutputState } @@ -9563,6 +10998,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA }).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]{ + OutputState: o.OutputState, + } +} + // The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialOutput) PhoneNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) string { @@ -9584,6 +11025,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial { if v != nil { @@ -9625,6 +11072,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialResponse]{ + OutputState: o.OutputState, + } +} + // The phone number to fill in the default dialer app. This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialResponseOutput) PhoneNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialResponse) string { @@ -9667,6 +11120,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriArgs) ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriPtrOutputWithContext(context.Background()) } @@ -9708,6 +11167,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggested return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriPtrOutputWithContext(ctx).OutputState, + } +} + // Opens the user's default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI. type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriOutput struct{ *pulumi.OutputState } @@ -9733,6 +11198,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA }).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri]{ + OutputState: o.OutputState, + } +} + // The uri to open on the user device func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) string { @@ -9754,6 +11225,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri { if v != nil { @@ -9795,6 +11272,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriResponse]{ + OutputState: o.OutputState, + } +} + // The uri to open on the user device func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUriResponse) string { @@ -9833,6 +11316,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationArgs) ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrOutputWithContext(context.Background()) } @@ -9874,6 +11363,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggested return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrOutputWithContext(ctx).OutputState, + } +} + // Opens the device's location chooser so the user can pick a location to send back to the agent. type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationOutput struct{ *pulumi.OutputState } @@ -9899,6 +11394,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA }).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]{ + OutputState: o.OutputState, + } +} + type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrOutput) ElementType() reflect.Type { @@ -9913,6 +11414,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation { if v != nil { @@ -9942,6 +11449,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedA return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocationResponse]{ + OutputState: o.OutputState, + } +} + // Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card. type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionResponse struct { // Suggested client side action: Dial a phone number @@ -9971,6 +11484,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionResponseOutpu return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionResponse]{ + OutputState: o.OutputState, + } +} + // Suggested client side action: Dial a phone number func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionResponseOutput) Dial() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionResponse) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDialResponse { @@ -10043,6 +11562,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyArgs) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyArgs) ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrOutputWithContext(context.Background()) } @@ -10084,6 +11609,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrType) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrOutputWithContext(ctx).OutputState, + } +} + // Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response. type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyOutput struct{ *pulumi.OutputState } @@ -10109,6 +11640,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyOutput) ToGoog }).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply]{ + OutputState: o.OutputState, + } +} + // Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyOutput) PostbackData() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) *string { return v.PostbackData }).(pulumi.StringPtrOutput) @@ -10133,6 +11670,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrOutput) ToG return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply { if v != nil { @@ -10186,6 +11729,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyResponseOutput return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyResponse]{ + OutputState: o.OutputState, + } +} + // Opaque payload that the Dialogflow receives in a user event when the user taps the suggested reply. This data will be also forwarded to webhook to allow performing custom business logic. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyResponseOutput) PostbackData() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReplyResponse) string { @@ -10237,6 +11786,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArray and GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArrayInput` via: // @@ -10262,6 +11817,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArray) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArrayOutputWithContext(ctx).OutputState, + } +} + // Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri). type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionOutput struct{ *pulumi.OutputState } @@ -10277,6 +11838,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion]{ + OutputState: o.OutputState, + } +} + // Predefined client side actions that user can choose func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionOutput) Action() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction { @@ -10305,6 +11872,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion)[vs[1].(int)] @@ -10334,6 +11907,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponseOutput) To return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponse]{ + OutputState: o.OutputState, + } +} + // Predefined client side actions that user can choose func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponseOutput) Action() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponse) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionResponse { @@ -10362,6 +11941,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponseArrayOutpu return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponse)[vs[1].(int)] @@ -10407,6 +11992,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageRbmTextArgs) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmTextOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageRbmTextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmText] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmText]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmTextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageRbmTextArgs) ToGoogleCloudDialogflowV2beta1IntentMessageRbmTextPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageRbmTextPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmTextPtrOutputWithContext(context.Background()) } @@ -10448,6 +12039,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageRbmTextPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageRbmTextPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageRbmTextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmText] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmText]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageRbmTextPtrOutputWithContext(ctx).OutputState, + } +} + // Rich Business Messaging (RBM) text response with suggestions. type GoogleCloudDialogflowV2beta1IntentMessageRbmTextOutput struct{ *pulumi.OutputState } @@ -10473,6 +12070,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmTextOutput) ToGoogleCloudDia }).(GoogleCloudDialogflowV2beta1IntentMessageRbmTextPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmTextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmText] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmText]{ + OutputState: o.OutputState, + } +} + // Optional. One or more suggestions to show to the user. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmTextOutput) RbmSuggestion() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmText) []GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion { @@ -10499,6 +12102,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmTextPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmTextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmText] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageRbmText]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageRbmTextPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageRbmTextOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageRbmText) GoogleCloudDialogflowV2beta1IntentMessageRbmText { if v != nil { @@ -10552,6 +12161,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageRbmTextResponseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageRbmTextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmTextResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageRbmTextResponse]{ + OutputState: o.OutputState, + } +} + // Optional. One or more suggestions to show to the user. func (o GoogleCloudDialogflowV2beta1IntentMessageRbmTextResponseOutput) RbmSuggestion() GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageRbmTextResponse) []GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestionResponse { @@ -10625,6 +12240,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageResponse]{ + OutputState: o.OutputState, + } +} + // Displays a basic card for Actions on Google. func (o GoogleCloudDialogflowV2beta1IntentMessageResponseOutput) BasicCard() GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageResponse) GoogleCloudDialogflowV2beta1IntentMessageBasicCardResponse { @@ -10782,6 +12403,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageResponse)[vs[1].(int)] @@ -10827,6 +12454,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoOutputWithContext(ctx).OutputState, + } +} + // Additional info about the select item for when it is triggered in a dialog. type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoOutput struct{ *pulumi.OutputState } @@ -10842,6 +12475,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo]{ + OutputState: o.OutputState, + } +} + // A unique key that will be sent back to the agent if this response is given. func (o GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) string { return v.Key }).(pulumi.StringOutput) @@ -10875,6 +12514,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoResponseOutput) T return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoResponse]{ + OutputState: o.OutputState, + } +} + // A unique key that will be sent back to the agent if this response is given. func (o GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfoResponse) string { return v.Key }).(pulumi.StringOutput) @@ -10928,6 +12573,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageSimpleResponseOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArray and GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArrayInput` via: // @@ -10953,6 +12604,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArray) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArrayOutputWithContext(ctx).OutputState, + } +} + // The simple response message containing speech or text. type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseOutput struct{ *pulumi.OutputState } @@ -10968,6 +12625,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The text to display. func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseOutput) DisplayText() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) *string { return v.DisplayText }).(pulumi.StringPtrOutput) @@ -10997,6 +12660,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArrayOutput) ToGo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse)[vs[1].(int)] @@ -11028,6 +12697,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponseOutput) T return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The text to display. func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponseOutput) DisplayText() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse) string { return v.DisplayText }).(pulumi.StringOutput) @@ -11057,6 +12732,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponseArrayOutp return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse)[vs[1].(int)] @@ -11098,6 +12779,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesArgs) ToGoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrOutputWithContext(context.Background()) } @@ -11139,6 +12826,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrOutputWithContext(ctx).OutputState, + } +} + // The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`. type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesOutput struct{ *pulumi.OutputState } @@ -11164,6 +12857,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesOutput) ToGoogle }).(GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses]{ + OutputState: o.OutputState, + } +} + // The list of simple responses. func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesOutput) SimpleResponses() GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) []GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse { @@ -11185,6 +12884,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses { if v != nil { @@ -11226,6 +12931,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesResponseOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesResponse]{ + OutputState: o.OutputState, + } +} + // The list of simple responses. func (o GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesResponseOutput) SimpleResponses() GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageSimpleResponsesResponse) []GoogleCloudDialogflowV2beta1IntentMessageSimpleResponseResponse { @@ -11268,6 +12979,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageSuggestionArgs) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageSuggestionOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageSuggestionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestion] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestion]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageSuggestionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageSuggestionArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageSuggestionArray and GoogleCloudDialogflowV2beta1IntentMessageSuggestionArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageSuggestionArrayInput` via: // @@ -11293,6 +13010,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageSuggestionArray) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageSuggestionArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageSuggestionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSuggestion] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSuggestion]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageSuggestionArrayOutputWithContext(ctx).OutputState, + } +} + // The suggestion chip message that the user can tap to quickly post a reply to the conversation. type GoogleCloudDialogflowV2beta1IntentMessageSuggestionOutput struct{ *pulumi.OutputState } @@ -11308,6 +13031,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestion] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestion]{ + OutputState: o.OutputState, + } +} + // The text shown the in the suggestion chip. func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionOutput) Title() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageSuggestion) string { return v.Title }).(pulumi.StringOutput) @@ -11327,6 +13056,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionArrayOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSuggestion] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSuggestion]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageSuggestionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageSuggestion { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageSuggestion)[vs[1].(int)] @@ -11354,6 +13089,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponseOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponse]{ + OutputState: o.OutputState, + } +} + // The text shown the in the suggestion chip. func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponseOutput) Title() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponse) string { return v.Title }).(pulumi.StringOutput) @@ -11373,6 +13114,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponseArrayOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponse)[vs[1].(int)] @@ -11414,6 +13161,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageSuggestionsArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageSuggestionsOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageSuggestionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestions] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestions]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageSuggestionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageSuggestionsArgs) ToGoogleCloudDialogflowV2beta1IntentMessageSuggestionsPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageSuggestionsPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageSuggestionsPtrOutputWithContext(context.Background()) } @@ -11455,6 +13208,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageSuggestionsPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageSuggestionsPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageSuggestionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageSuggestions] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageSuggestions]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageSuggestionsPtrOutputWithContext(ctx).OutputState, + } +} + // The collection of suggestions. type GoogleCloudDialogflowV2beta1IntentMessageSuggestionsOutput struct{ *pulumi.OutputState } @@ -11480,6 +13239,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionsOutput) ToGoogleClou }).(GoogleCloudDialogflowV2beta1IntentMessageSuggestionsPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestions] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestions]{ + OutputState: o.OutputState, + } +} + // The list of suggested replies. func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionsOutput) Suggestions() GoogleCloudDialogflowV2beta1IntentMessageSuggestionArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageSuggestions) []GoogleCloudDialogflowV2beta1IntentMessageSuggestion { @@ -11501,6 +13266,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionsPtrOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageSuggestions] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageSuggestions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionsPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageSuggestionsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) GoogleCloudDialogflowV2beta1IntentMessageSuggestions { if v != nil { @@ -11542,6 +13313,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionsResponseOutput) ToGo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestionsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageSuggestionsResponse]{ + OutputState: o.OutputState, + } +} + // The list of suggested replies. func (o GoogleCloudDialogflowV2beta1IntentMessageSuggestionsResponseOutput) Suggestions() GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageSuggestionsResponse) []GoogleCloudDialogflowV2beta1IntentMessageSuggestionResponse { @@ -11604,6 +13381,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTableCardOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTableCardOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardArgs) ToGoogleCloudDialogflowV2beta1IntentMessageTableCardPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageTableCardPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageTableCardPtrOutputWithContext(context.Background()) } @@ -11645,6 +13428,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageTableCardPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTableCardPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageTableCardPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTableCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTableCard]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTableCardPtrOutputWithContext(ctx).OutputState, + } +} + // Table card for Actions on Google. type GoogleCloudDialogflowV2beta1IntentMessageTableCardOutput struct{ *pulumi.OutputState } @@ -11670,6 +13459,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardOutput) ToGoogleCloudD }).(GoogleCloudDialogflowV2beta1IntentMessageTableCardPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCard] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCard]{ + OutputState: o.OutputState, + } +} + // Optional. List of buttons for the card. func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardOutput) Buttons() GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTableCard) []GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton { @@ -11722,6 +13517,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTableCard] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTableCard]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageTableCardOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageTableCard) GoogleCloudDialogflowV2beta1IntentMessageTableCard { if v != nil { @@ -11827,6 +13628,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTableCardCellOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardCell] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardCell]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTableCardCellOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArray and GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArrayInput` via: // @@ -11852,6 +13659,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArray) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardCell] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardCell]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTableCardCellArrayOutputWithContext(ctx).OutputState, + } +} + // Cell of TableCardRow. type GoogleCloudDialogflowV2beta1IntentMessageTableCardCellOutput struct{ *pulumi.OutputState } @@ -11867,6 +13680,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardCell] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardCell]{ + OutputState: o.OutputState, + } +} + // Text in this cell. func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) string { return v.Text }).(pulumi.StringOutput) @@ -11886,6 +13705,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardCell] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardCell]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageTableCardCellOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageTableCardCell { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageTableCardCell)[vs[1].(int)] @@ -11913,6 +13738,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponseOutput) To return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponse]{ + OutputState: o.OutputState, + } +} + // Text in this cell. func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponseOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponse) string { return v.Text }).(pulumi.StringOutput) @@ -11932,6 +13763,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponseArrayOutpu return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponse)[vs[1].(int)] @@ -11969,6 +13806,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of buttons for the card. func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardResponseOutput) Buttons() GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTableCardResponse) []GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonResponse { @@ -12046,6 +13889,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTableCardRowOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardRow] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardRow]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTableCardRowOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArray and GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArrayInput` via: // @@ -12071,6 +13920,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArray) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardRow] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardRow]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTableCardRowArrayOutputWithContext(ctx).OutputState, + } +} + // Row of TableCard. type GoogleCloudDialogflowV2beta1IntentMessageTableCardRowOutput struct{ *pulumi.OutputState } @@ -12086,6 +13941,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardRow] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardRow]{ + OutputState: o.OutputState, + } +} + // Optional. List of cells that make up this row. func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowOutput) Cells() GoogleCloudDialogflowV2beta1IntentMessageTableCardCellArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) []GoogleCloudDialogflowV2beta1IntentMessageTableCardCell { @@ -12112,6 +13973,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArrayOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardRow] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardRow]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageTableCardRowOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageTableCardRow { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageTableCardRow)[vs[1].(int)] @@ -12141,6 +14008,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponseOutput) ToG return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of cells that make up this row. func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponseOutput) Cells() GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponse) []GoogleCloudDialogflowV2beta1IntentMessageTableCardCellResponse { @@ -12167,6 +14040,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponseArrayOutput return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentMessageTableCardRowResponse)[vs[1].(int)] @@ -12208,6 +14087,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioArgs) ToGoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrOutputWithContext(context.Background()) } @@ -12249,6 +14134,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrType) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrOutputWithContext(ctx).OutputState, + } +} + // Plays audio from a file in Telephony Gateway. type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioOutput struct{ *pulumi.OutputState } @@ -12274,6 +14165,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioOutput) ToGoo }).(GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio]{ + OutputState: o.OutputState, + } +} + // URI to a Google Cloud Storage object containing the audio to play, e.g., "gs://bucket/object". The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default when enabling the Dialogflow V2 API. For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML. func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioOutput) AudioUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) string { return v.AudioUri }).(pulumi.StringOutput) @@ -12293,6 +14190,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrOutput) To return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio { if v != nil { @@ -12334,6 +14237,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioResponseOutpu return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioResponse]{ + OutputState: o.OutputState, + } +} + // URI to a Google Cloud Storage object containing the audio to play, e.g., "gs://bucket/object". The object must contain a single channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account where is the number of the Telephony Gateway project (usually the same as the Dialogflow agent project). If the Google Cloud Storage bucket is in the Telephony Gateway project, this permission is added by default when enabling the Dialogflow V2 API. For audio from other sources, consider using the `TelephonySynthesizeSpeech` message with SSML. func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioResponseOutput) AudioUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudioResponse) string { return v.AudioUri }).(pulumi.StringOutput) @@ -12378,6 +14287,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechArgs) ToGoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrOutputWithContext(context.Background()) } @@ -12419,6 +14334,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrTy return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrOutputWithContext(ctx).OutputState, + } +} + // Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config. type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechOutput struct{ *pulumi.OutputState } @@ -12444,6 +14365,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechOutput }).(GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech]{ + OutputState: o.OutputState, + } +} + // The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml). func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechOutput) Ssml() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) *string { return v.Ssml }).(pulumi.StringPtrOutput) @@ -12468,6 +14395,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrOut return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech { if v != nil { @@ -12521,6 +14454,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechRespon return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechResponse]{ + OutputState: o.OutputState, + } +} + // The SSML to be synthesized. For more information, see [SSML](https://developers.google.com/actions/reference/ssml). func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechResponseOutput) Ssml() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeechResponse) string { @@ -12570,6 +14509,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallArgs) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallArgs) ToGoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrOutputWithContext(context.Background()) } @@ -12611,6 +14556,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrType) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrOutputWithContext(ctx).OutputState, + } +} + // Transfers the call in Telephony Gateway. type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallOutput struct{ *pulumi.OutputState } @@ -12636,6 +14587,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallOutput) To }).(GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall]{ + OutputState: o.OutputState, + } +} + // The phone number to transfer the call to in [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently only allow transferring to US numbers (+1xxxyyyzzzz). func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallOutput) PhoneNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) string { return v.PhoneNumber }).(pulumi.StringOutput) @@ -12655,6 +14612,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall { if v != nil { @@ -12696,6 +14659,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallResponseOu return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallResponse]{ + OutputState: o.OutputState, + } +} + // The phone number to transfer the call to in [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently only allow transferring to US numbers (+1xxxyyyzzzz). func (o GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallResponseOutput) PhoneNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCallResponse) string { @@ -12738,6 +14707,12 @@ func (i GoogleCloudDialogflowV2beta1IntentMessageTextArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTextOutput) } +func (i GoogleCloudDialogflowV2beta1IntentMessageTextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageText] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageText]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1IntentMessageTextArgs) ToGoogleCloudDialogflowV2beta1IntentMessageTextPtrOutput() GoogleCloudDialogflowV2beta1IntentMessageTextPtrOutput { return i.ToGoogleCloudDialogflowV2beta1IntentMessageTextPtrOutputWithContext(context.Background()) } @@ -12779,6 +14754,12 @@ func (i *googleCloudDialogflowV2beta1IntentMessageTextPtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentMessageTextPtrOutput) } +func (i *googleCloudDialogflowV2beta1IntentMessageTextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageText] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageText]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentMessageTextPtrOutputWithContext(ctx).OutputState, + } +} + // The text response message. type GoogleCloudDialogflowV2beta1IntentMessageTextOutput struct{ *pulumi.OutputState } @@ -12804,6 +14785,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTextOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowV2beta1IntentMessageTextPtrOutput) } +func (o GoogleCloudDialogflowV2beta1IntentMessageTextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageText] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageText]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of the agent's responses. func (o GoogleCloudDialogflowV2beta1IntentMessageTextOutput) Text() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageText) []string { return v.Text }).(pulumi.StringArrayOutput) @@ -12823,6 +14810,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTextPtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageText] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1IntentMessageText]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentMessageTextPtrOutput) Elem() GoogleCloudDialogflowV2beta1IntentMessageTextOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1IntentMessageText) GoogleCloudDialogflowV2beta1IntentMessageText { if v != nil { @@ -12864,6 +14857,12 @@ func (o GoogleCloudDialogflowV2beta1IntentMessageTextResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2beta1IntentMessageTextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTextResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentMessageTextResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The collection of the agent's responses. func (o GoogleCloudDialogflowV2beta1IntentMessageTextResponseOutput) Text() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentMessageTextResponse) []string { return v.Text }).(pulumi.StringArrayOutput) @@ -12932,6 +14931,12 @@ func (i GoogleCloudDialogflowV2beta1IntentParameterArgs) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentParameterOutput) } +func (i GoogleCloudDialogflowV2beta1IntentParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentParameter] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentParameter]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentParameterOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentParameterArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentParameterArray and GoogleCloudDialogflowV2beta1IntentParameterArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentParameterArrayInput` via: // @@ -12957,6 +14962,12 @@ func (i GoogleCloudDialogflowV2beta1IntentParameterArray) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentParameterArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentParameter] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentParameter]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Represents intent parameters. type GoogleCloudDialogflowV2beta1IntentParameterOutput struct{ *pulumi.OutputState } @@ -12972,6 +14983,12 @@ func (o GoogleCloudDialogflowV2beta1IntentParameterOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowV2beta1IntentParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentParameter] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentParameter]{ + OutputState: o.OutputState, + } +} + // Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`. func (o GoogleCloudDialogflowV2beta1IntentParameterOutput) DefaultValue() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentParameter) *string { return v.DefaultValue }).(pulumi.StringPtrOutput) @@ -13026,6 +15043,12 @@ func (o GoogleCloudDialogflowV2beta1IntentParameterArrayOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2beta1IntentParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentParameter] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentParameter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentParameterArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentParameter { return vs[0].([]GoogleCloudDialogflowV2beta1IntentParameter)[vs[1].(int)] @@ -13067,6 +15090,12 @@ func (o GoogleCloudDialogflowV2beta1IntentParameterResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2beta1IntentParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentParameterResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentParameterResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The default value to use when the `value` yields an empty result. Default values can be extracted from contexts by using the following syntax: `#context_name.parameter_name`. func (o GoogleCloudDialogflowV2beta1IntentParameterResponseOutput) DefaultValue() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentParameterResponse) string { return v.DefaultValue }).(pulumi.StringOutput) @@ -13121,6 +15150,12 @@ func (o GoogleCloudDialogflowV2beta1IntentParameterResponseArrayOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1IntentParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentParameterResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentParameterResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentParameterResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentParameterResponse)[vs[1].(int)] @@ -13170,6 +15205,12 @@ func (i GoogleCloudDialogflowV2beta1IntentTrainingPhraseArgs) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentTrainingPhraseOutput) } +func (i GoogleCloudDialogflowV2beta1IntentTrainingPhraseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhrase] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhrase]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentTrainingPhraseOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentTrainingPhraseArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentTrainingPhraseArray and GoogleCloudDialogflowV2beta1IntentTrainingPhraseArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentTrainingPhraseArrayInput` via: // @@ -13195,6 +15236,12 @@ func (i GoogleCloudDialogflowV2beta1IntentTrainingPhraseArray) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentTrainingPhraseArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentTrainingPhraseArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhrase]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentTrainingPhraseArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an example that the agent is trained on. type GoogleCloudDialogflowV2beta1IntentTrainingPhraseOutput struct{ *pulumi.OutputState } @@ -13210,6 +15257,12 @@ func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhrase] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhrase]{ + OutputState: o.OutputState, + } +} + // The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `entity_type`, `alias`, and `user_defined` fields are all set. func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseOutput) Parts() GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentTrainingPhrase) []GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart { @@ -13243,6 +15296,12 @@ func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhrase]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentTrainingPhraseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentTrainingPhrase { return vs[0].([]GoogleCloudDialogflowV2beta1IntentTrainingPhrase)[vs[1].(int)] @@ -13296,6 +15355,12 @@ func (i GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartOutput) } +func (i GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentTrainingPhrasePartOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArrayInput is an input type that accepts GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArray and GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArrayInput` via: // @@ -13321,6 +15386,12 @@ func (i GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArray) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArrayOutput) } +func (i GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a part of a training phrase. type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartOutput struct{ *pulumi.OutputState } @@ -13336,6 +15407,12 @@ func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart]{ + OutputState: o.OutputState, + } +} + // Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase. func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartOutput) Alias() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) *string { return v.Alias }).(pulumi.StringPtrOutput) @@ -13370,6 +15447,12 @@ func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArrayOutput) ToGoogl return o } +func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart { return vs[0].([]GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart)[vs[1].(int)] @@ -13403,6 +15486,12 @@ func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponseOutput) ToGo return o } +func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase. func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponseOutput) Alias() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponse) string { return v.Alias }).(pulumi.StringOutput) @@ -13437,6 +15526,12 @@ func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponseArrayOutput) return o } +func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentTrainingPhrasePartResponse)[vs[1].(int)] @@ -13470,6 +15565,12 @@ func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponse]{ + OutputState: o.OutputState, + } +} + // The unique identifier of this training phrase. func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponse) string { return v.Name }).(pulumi.StringOutput) @@ -13506,6 +15607,12 @@ func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponseArrayOutput) ToG return o } +func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponse] { + return pulumix.Output[[]GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponse { return vs[0].([]GoogleCloudDialogflowV2beta1IntentTrainingPhraseResponse)[vs[1].(int)] @@ -13547,6 +15654,12 @@ func (i GoogleCloudDialogflowV2beta1LoggingConfigArgs) ToGoogleCloudDialogflowV2 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1LoggingConfigOutput) } +func (i GoogleCloudDialogflowV2beta1LoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1LoggingConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1LoggingConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1LoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1LoggingConfigArgs) ToGoogleCloudDialogflowV2beta1LoggingConfigPtrOutput() GoogleCloudDialogflowV2beta1LoggingConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1LoggingConfigPtrOutputWithContext(context.Background()) } @@ -13588,6 +15701,12 @@ func (i *googleCloudDialogflowV2beta1LoggingConfigPtrType) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1LoggingConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1LoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1LoggingConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1LoggingConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1LoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines logging behavior for conversation lifecycle events. type GoogleCloudDialogflowV2beta1LoggingConfigOutput struct{ *pulumi.OutputState } @@ -13613,6 +15732,12 @@ func (o GoogleCloudDialogflowV2beta1LoggingConfigOutput) ToGoogleCloudDialogflow }).(GoogleCloudDialogflowV2beta1LoggingConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1LoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1LoggingConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1LoggingConfig]{ + OutputState: o.OutputState, + } +} + // Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos. func (o GoogleCloudDialogflowV2beta1LoggingConfigOutput) EnableStackdriverLogging() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1LoggingConfig) *bool { return v.EnableStackdriverLogging }).(pulumi.BoolPtrOutput) @@ -13632,6 +15757,12 @@ func (o GoogleCloudDialogflowV2beta1LoggingConfigPtrOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowV2beta1LoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1LoggingConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1LoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1LoggingConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1LoggingConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1LoggingConfig) GoogleCloudDialogflowV2beta1LoggingConfig { if v != nil { @@ -13673,6 +15804,12 @@ func (o GoogleCloudDialogflowV2beta1LoggingConfigResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2beta1LoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1LoggingConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1LoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to log conversation events like CONVERSATION_STARTED to Stackdriver in the conversation project as JSON format ConversationEvent protos. func (o GoogleCloudDialogflowV2beta1LoggingConfigResponseOutput) EnableStackdriverLogging() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1LoggingConfigResponse) bool { return v.EnableStackdriverLogging }).(pulumi.BoolOutput) @@ -13717,6 +15854,12 @@ func (i GoogleCloudDialogflowV2beta1NotificationConfigArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1NotificationConfigOutput) } +func (i GoogleCloudDialogflowV2beta1NotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1NotificationConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1NotificationConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1NotificationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1NotificationConfigArgs) ToGoogleCloudDialogflowV2beta1NotificationConfigPtrOutput() GoogleCloudDialogflowV2beta1NotificationConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1NotificationConfigPtrOutputWithContext(context.Background()) } @@ -13758,6 +15901,12 @@ func (i *googleCloudDialogflowV2beta1NotificationConfigPtrType) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1NotificationConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1NotificationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1NotificationConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1NotificationConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1NotificationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines notification behavior. type GoogleCloudDialogflowV2beta1NotificationConfigOutput struct{ *pulumi.OutputState } @@ -13783,6 +15932,12 @@ func (o GoogleCloudDialogflowV2beta1NotificationConfigOutput) ToGoogleCloudDialo }).(GoogleCloudDialogflowV2beta1NotificationConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1NotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1NotificationConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1NotificationConfig]{ + OutputState: o.OutputState, + } +} + // Format of message. func (o GoogleCloudDialogflowV2beta1NotificationConfigOutput) MessageFormat() GoogleCloudDialogflowV2beta1NotificationConfigMessageFormatPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1NotificationConfig) *GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat { @@ -13809,6 +15964,12 @@ func (o GoogleCloudDialogflowV2beta1NotificationConfigPtrOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2beta1NotificationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1NotificationConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1NotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1NotificationConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1NotificationConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1NotificationConfig) GoogleCloudDialogflowV2beta1NotificationConfig { if v != nil { @@ -13862,6 +16023,12 @@ func (o GoogleCloudDialogflowV2beta1NotificationConfigResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2beta1NotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1NotificationConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Format of message. func (o GoogleCloudDialogflowV2beta1NotificationConfigResponseOutput) MessageFormat() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1NotificationConfigResponse) string { return v.MessageFormat }).(pulumi.StringOutput) @@ -13911,6 +16078,12 @@ func (i GoogleCloudDialogflowV2beta1SpeechToTextConfigArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1SpeechToTextConfigOutput) } +func (i GoogleCloudDialogflowV2beta1SpeechToTextConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SpeechToTextConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SpeechToTextConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1SpeechToTextConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1SpeechToTextConfigArgs) ToGoogleCloudDialogflowV2beta1SpeechToTextConfigPtrOutput() GoogleCloudDialogflowV2beta1SpeechToTextConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1SpeechToTextConfigPtrOutputWithContext(context.Background()) } @@ -13952,6 +16125,12 @@ func (i *googleCloudDialogflowV2beta1SpeechToTextConfigPtrType) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1SpeechToTextConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1SpeechToTextConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1SpeechToTextConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1SpeechToTextConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1SpeechToTextConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configures speech transcription for ConversationProfile. type GoogleCloudDialogflowV2beta1SpeechToTextConfigOutput struct{ *pulumi.OutputState } @@ -13977,6 +16156,12 @@ func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigOutput) ToGoogleCloudDialo }).(GoogleCloudDialogflowV2beta1SpeechToTextConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SpeechToTextConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SpeechToTextConfig]{ + OutputState: o.OutputState, + } +} + // Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigOutput) Model() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1SpeechToTextConfig) *string { return v.Model }).(pulumi.StringPtrOutput) @@ -14003,6 +16188,12 @@ func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigPtrOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1SpeechToTextConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1SpeechToTextConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1SpeechToTextConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1SpeechToTextConfig) GoogleCloudDialogflowV2beta1SpeechToTextConfig { if v != nil { @@ -14056,6 +16247,12 @@ func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SpeechToTextConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SpeechToTextConfigResponse]{ + OutputState: o.OutputState, + } +} + // Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then a default model is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. func (o GoogleCloudDialogflowV2beta1SpeechToTextConfigResponseOutput) Model() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1SpeechToTextConfigResponse) string { return v.Model }).(pulumi.StringOutput) @@ -14101,6 +16298,12 @@ func (i GoogleCloudDialogflowV2beta1SuggestionFeatureArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1SuggestionFeatureOutput) } +func (i GoogleCloudDialogflowV2beta1SuggestionFeatureArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SuggestionFeature] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SuggestionFeature]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1SuggestionFeatureOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1SuggestionFeatureArgs) ToGoogleCloudDialogflowV2beta1SuggestionFeaturePtrOutput() GoogleCloudDialogflowV2beta1SuggestionFeaturePtrOutput { return i.ToGoogleCloudDialogflowV2beta1SuggestionFeaturePtrOutputWithContext(context.Background()) } @@ -14142,6 +16345,12 @@ func (i *googleCloudDialogflowV2beta1SuggestionFeaturePtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1SuggestionFeaturePtrOutput) } +func (i *googleCloudDialogflowV2beta1SuggestionFeaturePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1SuggestionFeature] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1SuggestionFeature]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1SuggestionFeaturePtrOutputWithContext(ctx).OutputState, + } +} + // The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type. Multiple `Feature` objects can be specified in the `features` list. type GoogleCloudDialogflowV2beta1SuggestionFeatureOutput struct{ *pulumi.OutputState } @@ -14167,6 +16376,12 @@ func (o GoogleCloudDialogflowV2beta1SuggestionFeatureOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowV2beta1SuggestionFeaturePtrOutput) } +func (o GoogleCloudDialogflowV2beta1SuggestionFeatureOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SuggestionFeature] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SuggestionFeature]{ + OutputState: o.OutputState, + } +} + // Type of Human Agent Assistant API feature to request. func (o GoogleCloudDialogflowV2beta1SuggestionFeatureOutput) Type() GoogleCloudDialogflowV2beta1SuggestionFeatureTypePtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1SuggestionFeature) *GoogleCloudDialogflowV2beta1SuggestionFeatureType { @@ -14188,6 +16403,12 @@ func (o GoogleCloudDialogflowV2beta1SuggestionFeaturePtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowV2beta1SuggestionFeaturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1SuggestionFeature] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1SuggestionFeature]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1SuggestionFeaturePtrOutput) Elem() GoogleCloudDialogflowV2beta1SuggestionFeatureOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1SuggestionFeature) GoogleCloudDialogflowV2beta1SuggestionFeature { if v != nil { @@ -14229,6 +16450,12 @@ func (o GoogleCloudDialogflowV2beta1SuggestionFeatureResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2beta1SuggestionFeatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SuggestionFeatureResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SuggestionFeatureResponse]{ + OutputState: o.OutputState, + } +} + // Type of Human Agent Assistant API feature to request. func (o GoogleCloudDialogflowV2beta1SuggestionFeatureResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1SuggestionFeatureResponse) string { return v.Type }).(pulumi.StringOutput) @@ -14285,6 +16512,12 @@ func (i GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigOutput) } +func (i GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1SynthesizeSpeechConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigArgs) ToGoogleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrOutput() GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrOutput { return i.ToGoogleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrOutputWithContext(context.Background()) } @@ -14326,6 +16559,12 @@ func (i *googleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrOutput) } +func (i *googleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of how speech should be synthesized. type GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigOutput struct{ *pulumi.OutputState } @@ -14351,6 +16590,12 @@ func (o GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigOutput) ToGoogleCloudD }).(GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrOutput) } +func (o GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig]{ + OutputState: o.OutputState, + } +} + // Optional. An identifier which selects 'audio effects' profiles that are applied on (post synthesized) text to speech. Effects are applied on top of each other in the order they are given. func (o GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigOutput) EffectsProfileId() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig) []string { return v.EffectsProfileId }).(pulumi.StringArrayOutput) @@ -14392,6 +16637,12 @@ func (o GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigPtrOutput) Elem() GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig) GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig { if v != nil { @@ -14481,6 +16732,12 @@ func (o GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. An identifier which selects 'audio effects' profiles that are applied on (post synthesized) text to speech. Effects are applied on top of each other in the order they are given. func (o GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigResponseOutput) EffectsProfileId() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigResponse) []string { return v.EffectsProfileId }).(pulumi.StringArrayOutput) @@ -14555,6 +16812,12 @@ func (i GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutput) } +func (i GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1TextToSpeechSettings] { + return pulumix.Output[GoogleCloudDialogflowV2beta1TextToSpeechSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1TextToSpeechSettingsArgs) ToGoogleCloudDialogflowV2beta1TextToSpeechSettingsPtrOutput() GoogleCloudDialogflowV2beta1TextToSpeechSettingsPtrOutput { return i.ToGoogleCloudDialogflowV2beta1TextToSpeechSettingsPtrOutputWithContext(context.Background()) } @@ -14596,6 +16859,12 @@ func (i *googleCloudDialogflowV2beta1TextToSpeechSettingsPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1TextToSpeechSettingsPtrOutput) } +func (i *googleCloudDialogflowV2beta1TextToSpeechSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1TextToSpeechSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1TextToSpeechSettings]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1TextToSpeechSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Instructs the speech synthesizer on how to generate the output audio content. type GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutput struct{ *pulumi.OutputState } @@ -14621,6 +16890,12 @@ func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutput) ToGoogleCloudDia }).(GoogleCloudDialogflowV2beta1TextToSpeechSettingsPtrOutput) } +func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1TextToSpeechSettings] { + return pulumix.Output[GoogleCloudDialogflowV2beta1TextToSpeechSettings]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained. func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutput) EnableTextToSpeech() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1TextToSpeechSettings) *bool { return v.EnableTextToSpeech }).(pulumi.BoolPtrOutput) @@ -14659,6 +16934,12 @@ func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1TextToSpeechSettings] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1TextToSpeechSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsPtrOutput) Elem() GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1TextToSpeechSettings) GoogleCloudDialogflowV2beta1TextToSpeechSettings { if v != nil { @@ -14736,6 +17017,12 @@ func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained. func (o GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponseOutput) EnableTextToSpeech() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1TextToSpeechSettingsResponse) bool { return v.EnableTextToSpeech }).(pulumi.BoolOutput) @@ -14797,6 +17084,12 @@ func (i GoogleCloudDialogflowV2beta1VoiceSelectionParamsArgs) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1VoiceSelectionParamsOutput) } +func (i GoogleCloudDialogflowV2beta1VoiceSelectionParamsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1VoiceSelectionParams] { + return pulumix.Output[GoogleCloudDialogflowV2beta1VoiceSelectionParams]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1VoiceSelectionParamsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowV2beta1VoiceSelectionParamsArgs) ToGoogleCloudDialogflowV2beta1VoiceSelectionParamsPtrOutput() GoogleCloudDialogflowV2beta1VoiceSelectionParamsPtrOutput { return i.ToGoogleCloudDialogflowV2beta1VoiceSelectionParamsPtrOutputWithContext(context.Background()) } @@ -14838,6 +17131,12 @@ func (i *googleCloudDialogflowV2beta1VoiceSelectionParamsPtrType) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowV2beta1VoiceSelectionParamsPtrOutput) } +func (i *googleCloudDialogflowV2beta1VoiceSelectionParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1VoiceSelectionParams] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1VoiceSelectionParams]{ + OutputState: i.ToGoogleCloudDialogflowV2beta1VoiceSelectionParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Description of which voice to use for speech synthesis. type GoogleCloudDialogflowV2beta1VoiceSelectionParamsOutput struct{ *pulumi.OutputState } @@ -14863,6 +17162,12 @@ func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsOutput) ToGoogleCloudDia }).(GoogleCloudDialogflowV2beta1VoiceSelectionParamsPtrOutput) } +func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1VoiceSelectionParams] { + return pulumix.Output[GoogleCloudDialogflowV2beta1VoiceSelectionParams]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender. For the list of available voices, please refer to [Supported voices and languages](https://cloud.google.com/text-to-speech/docs/voices). func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1VoiceSelectionParams) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -14889,6 +17194,12 @@ func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowV2beta1VoiceSelectionParams] { + return pulumix.Output[*GoogleCloudDialogflowV2beta1VoiceSelectionParams]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsPtrOutput) Elem() GoogleCloudDialogflowV2beta1VoiceSelectionParamsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowV2beta1VoiceSelectionParams) GoogleCloudDialogflowV2beta1VoiceSelectionParams { if v != nil { @@ -14942,6 +17253,12 @@ func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsResponseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowV2beta1VoiceSelectionParamsResponse] { + return pulumix.Output[GoogleCloudDialogflowV2beta1VoiceSelectionParamsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and ssml_gender. For the list of available voices, please refer to [Supported voices and languages](https://cloud.google.com/text-to-speech/docs/voices). func (o GoogleCloudDialogflowV2beta1VoiceSelectionParamsResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowV2beta1VoiceSelectionParamsResponse) string { return v.Name }).(pulumi.StringOutput) @@ -14977,6 +17294,12 @@ func (o GoogleRpcStatusResponseOutput) ToGoogleRpcStatusResponseOutputWithContex return o } +func (o GoogleRpcStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatusResponse] { + return pulumix.Output[GoogleRpcStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v GoogleRpcStatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/dialogflow/v2beta1/sessionEntityType.go b/sdk/go/google/dialogflow/v2beta1/sessionEntityType.go index 99c7b69517..41f08bbd64 100644 --- a/sdk/go/google/dialogflow/v2beta1/sessionEntityType.go +++ b/sdk/go/google/dialogflow/v2beta1/sessionEntityType.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. @@ -147,6 +148,12 @@ func (i *SessionEntityType) ToSessionEntityTypeOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SessionEntityTypeOutput) } +func (i *SessionEntityType) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityType] { + return pulumix.Output[*SessionEntityType]{ + OutputState: i.ToSessionEntityTypeOutputWithContext(ctx).OutputState, + } +} + type SessionEntityTypeOutput struct{ *pulumi.OutputState } func (SessionEntityTypeOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o SessionEntityTypeOutput) ToSessionEntityTypeOutputWithContext(ctx contex return o } +func (o SessionEntityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityType] { + return pulumix.Output[*SessionEntityType]{ + OutputState: o.OutputState, + } +} + // The collection of entities associated with this session entity type. func (o SessionEntityTypeOutput) Entities() GoogleCloudDialogflowV2beta1EntityTypeEntityResponseArrayOutput { return o.ApplyT(func(v *SessionEntityType) GoogleCloudDialogflowV2beta1EntityTypeEntityResponseArrayOutput { diff --git a/sdk/go/google/dialogflow/v2beta1/version.go b/sdk/go/google/dialogflow/v2beta1/version.go index 5d3310af1c..30e2fa5104 100644 --- a/sdk/go/google/dialogflow/v2beta1/version.go +++ b/sdk/go/google/dialogflow/v2beta1/version.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an agent version. The new version points to the agent instance in the "default" environment. @@ -112,6 +113,12 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -126,6 +133,12 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + // The creation time of this version. This field is read-only, i.e., it cannot be set by create and update methods. func (o VersionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Version) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3/agent.go b/sdk/go/google/dialogflow/v3/agent.go index 7d94e5dc60..8ce3b90cec 100644 --- a/sdk/go/google/dialogflow/v3/agent.go +++ b/sdk/go/google/dialogflow/v3/agent.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an agent in the specified location. Note: You should always train flows prior to sending them queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). @@ -197,6 +198,12 @@ func (i *Agent) ToAgentOutputWithContext(ctx context.Context) AgentOutput { return pulumi.ToOutputWithContext(ctx, i).(AgentOutput) } +func (i *Agent) ToOutput(ctx context.Context) pulumix.Output[*Agent] { + return pulumix.Output[*Agent]{ + OutputState: i.ToAgentOutputWithContext(ctx).OutputState, + } +} + type AgentOutput struct{ *pulumi.OutputState } func (AgentOutput) ElementType() reflect.Type { @@ -211,6 +218,12 @@ func (o AgentOutput) ToAgentOutputWithContext(ctx context.Context) AgentOutput { return o } +func (o AgentOutput) ToOutput(ctx context.Context) pulumix.Output[*Agent] { + return pulumix.Output[*Agent]{ + OutputState: o.OutputState, + } +} + // Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level. func (o AgentOutput) AdvancedSettings() GoogleCloudDialogflowCxV3AdvancedSettingsResponseOutput { return o.ApplyT(func(v *Agent) GoogleCloudDialogflowCxV3AdvancedSettingsResponseOutput { return v.AdvancedSettings }).(GoogleCloudDialogflowCxV3AdvancedSettingsResponseOutput) diff --git a/sdk/go/google/dialogflow/v3/entityType.go b/sdk/go/google/dialogflow/v3/entityType.go index 6d69cb8850..8c7a708a1d 100644 --- a/sdk/go/google/dialogflow/v3/entityType.go +++ b/sdk/go/google/dialogflow/v3/entityType.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an entity type in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). @@ -165,6 +166,12 @@ func (i *EntityType) ToEntityTypeOutputWithContext(ctx context.Context) EntityTy return pulumi.ToOutputWithContext(ctx, i).(EntityTypeOutput) } +func (i *EntityType) ToOutput(ctx context.Context) pulumix.Output[*EntityType] { + return pulumix.Output[*EntityType]{ + OutputState: i.ToEntityTypeOutputWithContext(ctx).OutputState, + } +} + type EntityTypeOutput struct{ *pulumi.OutputState } func (EntityTypeOutput) ElementType() reflect.Type { @@ -179,6 +186,12 @@ func (o EntityTypeOutput) ToEntityTypeOutputWithContext(ctx context.Context) Ent return o } +func (o EntityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityType] { + return pulumix.Output[*EntityType]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *EntityType) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3/environment.go b/sdk/go/google/dialogflow/v3/environment.go index b1f8bab1cd..10e21c3313 100644 --- a/sdk/go/google/dialogflow/v3/environment.go +++ b/sdk/go/google/dialogflow/v3/environment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Environment in the specified Agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: Environment @@ -146,6 +147,12 @@ func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) Enviro return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i *Environment) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + type EnvironmentOutput struct{ *pulumi.OutputState } func (EnvironmentOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) E return o } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Environment) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3/experiment.go b/sdk/go/google/dialogflow/v3/experiment.go index d450623a51..08f186c803 100644 --- a/sdk/go/google/dialogflow/v3/experiment.go +++ b/sdk/go/google/dialogflow/v3/experiment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Experiment in the specified Environment. @@ -205,6 +206,12 @@ func (i *Experiment) ToExperimentOutputWithContext(ctx context.Context) Experime return pulumi.ToOutputWithContext(ctx, i).(ExperimentOutput) } +func (i *Experiment) ToOutput(ctx context.Context) pulumix.Output[*Experiment] { + return pulumix.Output[*Experiment]{ + OutputState: i.ToExperimentOutputWithContext(ctx).OutputState, + } +} + type ExperimentOutput struct{ *pulumi.OutputState } func (ExperimentOutput) ElementType() reflect.Type { @@ -219,6 +226,12 @@ func (o ExperimentOutput) ToExperimentOutputWithContext(ctx context.Context) Exp return o } +func (o ExperimentOutput) ToOutput(ctx context.Context) pulumix.Output[*Experiment] { + return pulumix.Output[*Experiment]{ + OutputState: o.OutputState, + } +} + func (o ExperimentOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Experiment) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3/flow.go b/sdk/go/google/dialogflow/v3/flow.go index 1125877e7f..b8dc14f412 100644 --- a/sdk/go/google/dialogflow/v3/flow.go +++ b/sdk/go/google/dialogflow/v3/flow.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a flow in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). @@ -156,6 +157,12 @@ func (i *Flow) ToFlowOutputWithContext(ctx context.Context) FlowOutput { return pulumi.ToOutputWithContext(ctx, i).(FlowOutput) } +func (i *Flow) ToOutput(ctx context.Context) pulumix.Output[*Flow] { + return pulumix.Output[*Flow]{ + OutputState: i.ToFlowOutputWithContext(ctx).OutputState, + } +} + type FlowOutput struct{ *pulumi.OutputState } func (FlowOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o FlowOutput) ToFlowOutputWithContext(ctx context.Context) FlowOutput { return o } +func (o FlowOutput) ToOutput(ctx context.Context) pulumix.Output[*Flow] { + return pulumix.Output[*Flow]{ + OutputState: o.OutputState, + } +} + func (o FlowOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Flow) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3/getAgent.go b/sdk/go/google/dialogflow/v3/getAgent.go index 1e1bffb280..7c77b0d13c 100644 --- a/sdk/go/google/dialogflow/v3/getAgent.go +++ b/sdk/go/google/dialogflow/v3/getAgent.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified agent. @@ -98,6 +99,12 @@ func (o LookupAgentResultOutput) ToLookupAgentResultOutputWithContext(ctx contex return o } +func (o LookupAgentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAgentResult] { + return pulumix.Output[LookupAgentResult]{ + OutputState: o.OutputState, + } +} + // Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level. func (o LookupAgentResultOutput) AdvancedSettings() GoogleCloudDialogflowCxV3AdvancedSettingsResponseOutput { return o.ApplyT(func(v LookupAgentResult) GoogleCloudDialogflowCxV3AdvancedSettingsResponse { return v.AdvancedSettings }).(GoogleCloudDialogflowCxV3AdvancedSettingsResponseOutput) diff --git a/sdk/go/google/dialogflow/v3/getEntityType.go b/sdk/go/google/dialogflow/v3/getEntityType.go index d6aacdf4b5..9cda5422c8 100644 --- a/sdk/go/google/dialogflow/v3/getEntityType.go +++ b/sdk/go/google/dialogflow/v3/getEntityType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified entity type. @@ -88,6 +89,12 @@ func (o LookupEntityTypeResultOutput) ToLookupEntityTypeResultOutputWithContext( return o } +func (o LookupEntityTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntityTypeResult] { + return pulumix.Output[LookupEntityTypeResult]{ + OutputState: o.OutputState, + } +} + // Indicates whether the entity type can be automatically expanded. func (o LookupEntityTypeResultOutput) AutoExpansionMode() pulumi.StringOutput { return o.ApplyT(func(v LookupEntityTypeResult) string { return v.AutoExpansionMode }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3/getEnvironment.go b/sdk/go/google/dialogflow/v3/getEnvironment.go index e447329692..5eea1c525d 100644 --- a/sdk/go/google/dialogflow/v3/getEnvironment.go +++ b/sdk/go/google/dialogflow/v3/getEnvironment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified Environment. @@ -84,6 +85,12 @@ func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContex return o } +func (o LookupEnvironmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentResult] { + return pulumix.Output[LookupEnvironmentResult]{ + OutputState: o.OutputState, + } +} + // The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected. func (o LookupEnvironmentResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupEnvironmentResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3/getExperiment.go b/sdk/go/google/dialogflow/v3/getExperiment.go index 21b57b81cb..e2d08d1b84 100644 --- a/sdk/go/google/dialogflow/v3/getExperiment.go +++ b/sdk/go/google/dialogflow/v3/getExperiment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified Experiment. @@ -102,6 +103,12 @@ func (o LookupExperimentResultOutput) ToLookupExperimentResultOutputWithContext( return o } +func (o LookupExperimentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExperimentResult] { + return pulumix.Output[LookupExperimentResult]{ + OutputState: o.OutputState, + } +} + // Creation time of this experiment. func (o LookupExperimentResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupExperimentResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3/getFlow.go b/sdk/go/google/dialogflow/v3/getFlow.go index 37dc934ee3..95a9549457 100644 --- a/sdk/go/google/dialogflow/v3/getFlow.go +++ b/sdk/go/google/dialogflow/v3/getFlow.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified flow. @@ -86,6 +87,12 @@ func (o LookupFlowResultOutput) ToLookupFlowResultOutputWithContext(ctx context. return o } +func (o LookupFlowResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFlowResult] { + return pulumix.Output[LookupFlowResult]{ + OutputState: o.OutputState, + } +} + // The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. func (o LookupFlowResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupFlowResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3/getIntent.go b/sdk/go/google/dialogflow/v3/getIntent.go index 8123aad797..0d088325aa 100644 --- a/sdk/go/google/dialogflow/v3/getIntent.go +++ b/sdk/go/google/dialogflow/v3/getIntent.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified intent. @@ -88,6 +89,12 @@ func (o LookupIntentResultOutput) ToLookupIntentResultOutputWithContext(ctx cont return o } +func (o LookupIntentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIntentResult] { + return pulumix.Output[LookupIntentResult]{ + OutputState: o.OutputState, + } +} + // Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters. func (o LookupIntentResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupIntentResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3/getPage.go b/sdk/go/google/dialogflow/v3/getPage.go index e7932dd950..b46b45c489 100644 --- a/sdk/go/google/dialogflow/v3/getPage.go +++ b/sdk/go/google/dialogflow/v3/getPage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified page. @@ -88,6 +89,12 @@ func (o LookupPageResultOutput) ToLookupPageResultOutputWithContext(ctx context. return o } +func (o LookupPageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPageResult] { + return pulumix.Output[LookupPageResult]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the page, unique within the flow. func (o LookupPageResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupPageResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3/getSecuritySetting.go b/sdk/go/google/dialogflow/v3/getSecuritySetting.go index 0ac77413e5..b7e67404bc 100644 --- a/sdk/go/google/dialogflow/v3/getSecuritySetting.go +++ b/sdk/go/google/dialogflow/v3/getSecuritySetting.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified SecuritySettings. The returned settings may be stale by up to 1 minute. @@ -88,6 +89,12 @@ func (o LookupSecuritySettingResultOutput) ToLookupSecuritySettingResultOutputWi return o } +func (o LookupSecuritySettingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecuritySettingResult] { + return pulumix.Output[LookupSecuritySettingResult]{ + OutputState: o.OutputState, + } +} + // Controls audio export settings for post-conversation analytics when ingesting audio to conversations via Participants.AnalyzeContent or Participants.StreamingAnalyzeContent. If retention_strategy is set to REMOVE_AFTER_CONVERSATION or audio_export_settings.gcs_bucket is empty, audio export is disabled. If audio export is enabled, audio is recorded and saved to audio_export_settings.gcs_bucket, subject to retention policy of audio_export_settings.gcs_bucket. This setting won't effect audio input for implicit sessions via Sessions.DetectIntent or Sessions.StreamingDetectIntent. func (o LookupSecuritySettingResultOutput) AudioExportSettings() GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsResponseOutput { return o.ApplyT(func(v LookupSecuritySettingResult) GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsResponse { diff --git a/sdk/go/google/dialogflow/v3/getSessionEntityType.go b/sdk/go/google/dialogflow/v3/getSessionEntityType.go index 23b094502f..61f2a83aba 100644 --- a/sdk/go/google/dialogflow/v3/getSessionEntityType.go +++ b/sdk/go/google/dialogflow/v3/getSessionEntityType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified session entity type. @@ -80,6 +81,12 @@ func (o LookupSessionEntityTypeResultOutput) ToLookupSessionEntityTypeResultOutp return o } +func (o LookupSessionEntityTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSessionEntityTypeResult] { + return pulumix.Output[LookupSessionEntityTypeResult]{ + OutputState: o.OutputState, + } +} + // The collection of entities to override or supplement the custom entity type. func (o LookupSessionEntityTypeResultOutput) Entities() GoogleCloudDialogflowCxV3EntityTypeEntityResponseArrayOutput { return o.ApplyT(func(v LookupSessionEntityTypeResult) []GoogleCloudDialogflowCxV3EntityTypeEntityResponse { diff --git a/sdk/go/google/dialogflow/v3/getTestCase.go b/sdk/go/google/dialogflow/v3/getTestCase.go index d8ae1d30f3..d11a389662 100644 --- a/sdk/go/google/dialogflow/v3/getTestCase.go +++ b/sdk/go/google/dialogflow/v3/getTestCase.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a test case. @@ -86,6 +87,12 @@ func (o LookupTestCaseResultOutput) ToLookupTestCaseResultOutputWithContext(ctx return o } +func (o LookupTestCaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTestCaseResult] { + return pulumix.Output[LookupTestCaseResult]{ + OutputState: o.OutputState, + } +} + // When the test was created. func (o LookupTestCaseResultOutput) CreationTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTestCaseResult) string { return v.CreationTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3/getTransitionRouteGroup.go b/sdk/go/google/dialogflow/v3/getTransitionRouteGroup.go index d4f0d0ee1d..0c64e824e2 100644 --- a/sdk/go/google/dialogflow/v3/getTransitionRouteGroup.go +++ b/sdk/go/google/dialogflow/v3/getTransitionRouteGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified TransitionRouteGroup. @@ -80,6 +81,12 @@ func (o LookupTransitionRouteGroupResultOutput) ToLookupTransitionRouteGroupResu return o } +func (o LookupTransitionRouteGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTransitionRouteGroupResult] { + return pulumix.Output[LookupTransitionRouteGroupResult]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters. func (o LookupTransitionRouteGroupResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupTransitionRouteGroupResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3/getVersion.go b/sdk/go/google/dialogflow/v3/getVersion.go index 640301a18b..2dbe9c847e 100644 --- a/sdk/go/google/dialogflow/v3/getVersion.go +++ b/sdk/go/google/dialogflow/v3/getVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified Version. @@ -84,6 +85,12 @@ func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx co return o } +func (o LookupVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionResult] { + return pulumix.Output[LookupVersionResult]{ + OutputState: o.OutputState, + } +} + // Create time of the version. func (o LookupVersionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupVersionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3/getWebhook.go b/sdk/go/google/dialogflow/v3/getWebhook.go index 780db704d5..66d67e67ca 100644 --- a/sdk/go/google/dialogflow/v3/getWebhook.go +++ b/sdk/go/google/dialogflow/v3/getWebhook.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified webhook. @@ -82,6 +83,12 @@ func (o LookupWebhookResultOutput) ToLookupWebhookResultOutputWithContext(ctx co return o } +func (o LookupWebhookResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWebhookResult] { + return pulumix.Output[LookupWebhookResult]{ + OutputState: o.OutputState, + } +} + // Indicates whether the webhook is disabled. func (o LookupWebhookResultOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupWebhookResult) bool { return v.Disabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/dialogflow/v3/intent.go b/sdk/go/google/dialogflow/v3/intent.go index 4cbbcb7cec..8318b53d48 100644 --- a/sdk/go/google/dialogflow/v3/intent.go +++ b/sdk/go/google/dialogflow/v3/intent.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). @@ -162,6 +163,12 @@ func (i *Intent) ToIntentOutputWithContext(ctx context.Context) IntentOutput { return pulumi.ToOutputWithContext(ctx, i).(IntentOutput) } +func (i *Intent) ToOutput(ctx context.Context) pulumix.Output[*Intent] { + return pulumix.Output[*Intent]{ + OutputState: i.ToIntentOutputWithContext(ctx).OutputState, + } +} + type IntentOutput struct{ *pulumi.OutputState } func (IntentOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o IntentOutput) ToIntentOutputWithContext(ctx context.Context) IntentOutpu return o } +func (o IntentOutput) ToOutput(ctx context.Context) pulumix.Output[*Intent] { + return pulumix.Output[*Intent]{ + OutputState: o.OutputState, + } +} + func (o IntentOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Intent) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3/page.go b/sdk/go/google/dialogflow/v3/page.go index 02ec3a667c..f0a2f6e952 100644 --- a/sdk/go/google/dialogflow/v3/page.go +++ b/sdk/go/google/dialogflow/v3/page.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a page in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). @@ -163,6 +164,12 @@ func (i *Page) ToPageOutputWithContext(ctx context.Context) PageOutput { return pulumi.ToOutputWithContext(ctx, i).(PageOutput) } +func (i *Page) ToOutput(ctx context.Context) pulumix.Output[*Page] { + return pulumix.Output[*Page]{ + OutputState: i.ToPageOutputWithContext(ctx).OutputState, + } +} + type PageOutput struct{ *pulumi.OutputState } func (PageOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o PageOutput) ToPageOutputWithContext(ctx context.Context) PageOutput { return o } +func (o PageOutput) ToOutput(ctx context.Context) pulumix.Output[*Page] { + return pulumix.Output[*Page]{ + OutputState: o.OutputState, + } +} + func (o PageOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Page) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3/pulumiEnums.go b/sdk/go/google/dialogflow/v3/pulumiEnums.go index 28ef0ec5b8..07bb7ae1a7 100644 --- a/sdk/go/google/dialogflow/v3/pulumiEnums.go +++ b/sdk/go/google/dialogflow/v3/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Indicates whether the entity type can be automatically expanded. @@ -80,6 +81,12 @@ func (o EntityTypeAutoExpansionModeOutput) ToEntityTypeAutoExpansionModePtrOutpu }).(EntityTypeAutoExpansionModePtrOutput) } +func (o EntityTypeAutoExpansionModeOutput) ToOutput(ctx context.Context) pulumix.Output[EntityTypeAutoExpansionMode] { + return pulumix.Output[EntityTypeAutoExpansionMode]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeAutoExpansionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o EntityTypeAutoExpansionModePtrOutput) ToEntityTypeAutoExpansionModePtrOu return o } +func (o EntityTypeAutoExpansionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeAutoExpansionMode] { + return pulumix.Output[*EntityTypeAutoExpansionMode]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeAutoExpansionModePtrOutput) Elem() EntityTypeAutoExpansionModeOutput { return o.ApplyT(func(v *EntityTypeAutoExpansionMode) EntityTypeAutoExpansionMode { if v != nil { @@ -177,6 +190,12 @@ func (in *entityTypeAutoExpansionModePtr) ToEntityTypeAutoExpansionModePtrOutput return pulumi.ToOutputWithContext(ctx, in).(EntityTypeAutoExpansionModePtrOutput) } +func (in *entityTypeAutoExpansionModePtr) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeAutoExpansionMode] { + return pulumix.Output[*EntityTypeAutoExpansionMode]{ + OutputState: in.ToEntityTypeAutoExpansionModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Indicates the kind of entity type. type EntityTypeKind string @@ -251,6 +270,12 @@ func (o EntityTypeKindOutput) ToEntityTypeKindPtrOutputWithContext(ctx context.C }).(EntityTypeKindPtrOutput) } +func (o EntityTypeKindOutput) ToOutput(ctx context.Context) pulumix.Output[EntityTypeKind] { + return pulumix.Output[EntityTypeKind]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o EntityTypeKindPtrOutput) ToEntityTypeKindPtrOutputWithContext(ctx contex return o } +func (o EntityTypeKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeKind] { + return pulumix.Output[*EntityTypeKind]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeKindPtrOutput) Elem() EntityTypeKindOutput { return o.ApplyT(func(v *EntityTypeKind) EntityTypeKind { if v != nil { @@ -348,6 +379,12 @@ func (in *entityTypeKindPtr) ToEntityTypeKindPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(EntityTypeKindPtrOutput) } +func (in *entityTypeKindPtr) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeKind] { + return pulumix.Output[*EntityTypeKind]{ + OutputState: in.ToEntityTypeKindPtrOutputWithContext(ctx).OutputState, + } +} + // The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or RUNNING->DONE. type ExperimentStateEnum string @@ -424,6 +461,12 @@ func (o ExperimentStateEnumOutput) ToExperimentStateEnumPtrOutputWithContext(ctx }).(ExperimentStateEnumPtrOutput) } +func (o ExperimentStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[ExperimentStateEnum] { + return pulumix.Output[ExperimentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ExperimentStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -459,6 +502,12 @@ func (o ExperimentStateEnumPtrOutput) ToExperimentStateEnumPtrOutputWithContext( return o } +func (o ExperimentStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExperimentStateEnum] { + return pulumix.Output[*ExperimentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ExperimentStateEnumPtrOutput) Elem() ExperimentStateEnumOutput { return o.ApplyT(func(v *ExperimentStateEnum) ExperimentStateEnum { if v != nil { @@ -521,6 +570,12 @@ func (in *experimentStateEnumPtr) ToExperimentStateEnumPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ExperimentStateEnumPtrOutput) } +func (in *experimentStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*ExperimentStateEnum] { + return pulumix.Output[*ExperimentStateEnum]{ + OutputState: in.ToExperimentStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Count-based metric type. Only one of type or count_type is specified in each Metric. type GoogleCloudDialogflowCxV3ExperimentResultMetricCountType string @@ -595,6 +650,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultMetricCountTypeOutput) ToGoogle }).(GoogleCloudDialogflowCxV3ExperimentResultMetricCountTypePtrOutput) } +func (o GoogleCloudDialogflowCxV3ExperimentResultMetricCountTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultMetricCountType] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultMetricCountType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentResultMetricCountTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -630,6 +691,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultMetricCountTypePtrOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultMetricCountTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultMetricCountType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultMetricCountType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentResultMetricCountTypePtrOutput) Elem() GoogleCloudDialogflowCxV3ExperimentResultMetricCountTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ExperimentResultMetricCountType) GoogleCloudDialogflowCxV3ExperimentResultMetricCountType { if v != nil { @@ -692,6 +759,12 @@ func (in *googleCloudDialogflowCxV3ExperimentResultMetricCountTypePtr) ToGoogleC return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3ExperimentResultMetricCountTypePtrOutput) } +func (in *googleCloudDialogflowCxV3ExperimentResultMetricCountTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultMetricCountType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultMetricCountType]{ + OutputState: in.ToGoogleCloudDialogflowCxV3ExperimentResultMetricCountTypePtrOutputWithContext(ctx).OutputState, + } +} + // Ratio-based metric type. Only one of type or count_type is specified in each Metric. type GoogleCloudDialogflowCxV3ExperimentResultMetricType string @@ -770,6 +843,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultMetricTypeOutput) ToGoogleCloud }).(GoogleCloudDialogflowCxV3ExperimentResultMetricTypePtrOutput) } +func (o GoogleCloudDialogflowCxV3ExperimentResultMetricTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultMetricType] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultMetricType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentResultMetricTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -805,6 +884,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultMetricTypePtrOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultMetricTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultMetricType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultMetricType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentResultMetricTypePtrOutput) Elem() GoogleCloudDialogflowCxV3ExperimentResultMetricTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ExperimentResultMetricType) GoogleCloudDialogflowCxV3ExperimentResultMetricType { if v != nil { @@ -867,6 +952,12 @@ func (in *googleCloudDialogflowCxV3ExperimentResultMetricTypePtr) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3ExperimentResultMetricTypePtrOutput) } +func (in *googleCloudDialogflowCxV3ExperimentResultMetricTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultMetricType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultMetricType]{ + OutputState: in.ToGoogleCloudDialogflowCxV3ExperimentResultMetricTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Audio encoding of the audio content to process. type GoogleCloudDialogflowCxV3InputAudioConfigAudioEncoding string @@ -949,6 +1040,12 @@ func (o GoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingOutput) ToGoogleCl }).(GoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingPtrOutput) } +func (o GoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3InputAudioConfigAudioEncoding] { + return pulumix.Output[GoogleCloudDialogflowCxV3InputAudioConfigAudioEncoding]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -984,6 +1081,12 @@ func (o GoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingPtrOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfigAudioEncoding] { + return pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfigAudioEncoding]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingPtrOutput) Elem() GoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3InputAudioConfigAudioEncoding) GoogleCloudDialogflowCxV3InputAudioConfigAudioEncoding { if v != nil { @@ -1046,6 +1149,12 @@ func (in *googleCloudDialogflowCxV3InputAudioConfigAudioEncodingPtr) ToGoogleClo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingPtrOutput) } +func (in *googleCloudDialogflowCxV3InputAudioConfigAudioEncodingPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfigAudioEncoding] { + return pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfigAudioEncoding]{ + OutputState: in.ToGoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Which variant of the Speech model to use. type GoogleCloudDialogflowCxV3InputAudioConfigModelVariant string @@ -1120,6 +1229,12 @@ func (o GoogleCloudDialogflowCxV3InputAudioConfigModelVariantOutput) ToGoogleClo }).(GoogleCloudDialogflowCxV3InputAudioConfigModelVariantPtrOutput) } +func (o GoogleCloudDialogflowCxV3InputAudioConfigModelVariantOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3InputAudioConfigModelVariant] { + return pulumix.Output[GoogleCloudDialogflowCxV3InputAudioConfigModelVariant]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3InputAudioConfigModelVariantOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1155,6 +1270,12 @@ func (o GoogleCloudDialogflowCxV3InputAudioConfigModelVariantPtrOutput) ToGoogle return o } +func (o GoogleCloudDialogflowCxV3InputAudioConfigModelVariantPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfigModelVariant] { + return pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfigModelVariant]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3InputAudioConfigModelVariantPtrOutput) Elem() GoogleCloudDialogflowCxV3InputAudioConfigModelVariantOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3InputAudioConfigModelVariant) GoogleCloudDialogflowCxV3InputAudioConfigModelVariant { if v != nil { @@ -1217,6 +1338,12 @@ func (in *googleCloudDialogflowCxV3InputAudioConfigModelVariantPtr) ToGoogleClou return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3InputAudioConfigModelVariantPtrOutput) } +func (in *googleCloudDialogflowCxV3InputAudioConfigModelVariantPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfigModelVariant] { + return pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfigModelVariant]{ + OutputState: in.ToGoogleCloudDialogflowCxV3InputAudioConfigModelVariantPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates NLU model training mode. type GoogleCloudDialogflowCxV3NluSettingsModelTrainingMode string @@ -1289,6 +1416,12 @@ func (o GoogleCloudDialogflowCxV3NluSettingsModelTrainingModeOutput) ToGoogleClo }).(GoogleCloudDialogflowCxV3NluSettingsModelTrainingModePtrOutput) } +func (o GoogleCloudDialogflowCxV3NluSettingsModelTrainingModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3NluSettingsModelTrainingMode] { + return pulumix.Output[GoogleCloudDialogflowCxV3NluSettingsModelTrainingMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3NluSettingsModelTrainingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1324,6 +1457,12 @@ func (o GoogleCloudDialogflowCxV3NluSettingsModelTrainingModePtrOutput) ToGoogle return o } +func (o GoogleCloudDialogflowCxV3NluSettingsModelTrainingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3NluSettingsModelTrainingMode] { + return pulumix.Output[*GoogleCloudDialogflowCxV3NluSettingsModelTrainingMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3NluSettingsModelTrainingModePtrOutput) Elem() GoogleCloudDialogflowCxV3NluSettingsModelTrainingModeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3NluSettingsModelTrainingMode) GoogleCloudDialogflowCxV3NluSettingsModelTrainingMode { if v != nil { @@ -1386,6 +1525,12 @@ func (in *googleCloudDialogflowCxV3NluSettingsModelTrainingModePtr) ToGoogleClou return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3NluSettingsModelTrainingModePtrOutput) } +func (in *googleCloudDialogflowCxV3NluSettingsModelTrainingModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3NluSettingsModelTrainingMode] { + return pulumix.Output[*GoogleCloudDialogflowCxV3NluSettingsModelTrainingMode]{ + OutputState: in.ToGoogleCloudDialogflowCxV3NluSettingsModelTrainingModePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the type of NLU model. type GoogleCloudDialogflowCxV3NluSettingsModelType string @@ -1458,6 +1603,12 @@ func (o GoogleCloudDialogflowCxV3NluSettingsModelTypeOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowCxV3NluSettingsModelTypePtrOutput) } +func (o GoogleCloudDialogflowCxV3NluSettingsModelTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3NluSettingsModelType] { + return pulumix.Output[GoogleCloudDialogflowCxV3NluSettingsModelType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3NluSettingsModelTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1493,6 +1644,12 @@ func (o GoogleCloudDialogflowCxV3NluSettingsModelTypePtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3NluSettingsModelTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3NluSettingsModelType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3NluSettingsModelType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3NluSettingsModelTypePtrOutput) Elem() GoogleCloudDialogflowCxV3NluSettingsModelTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3NluSettingsModelType) GoogleCloudDialogflowCxV3NluSettingsModelType { if v != nil { @@ -1555,6 +1712,12 @@ func (in *googleCloudDialogflowCxV3NluSettingsModelTypePtr) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3NluSettingsModelTypePtrOutput) } +func (in *googleCloudDialogflowCxV3NluSettingsModelTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3NluSettingsModelType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3NluSettingsModelType]{ + OutputState: in.ToGoogleCloudDialogflowCxV3NluSettingsModelTypePtrOutputWithContext(ctx).OutputState, + } +} + // File format for exported audio file. Currently only in telephony recordings. type GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormat string @@ -1629,6 +1792,12 @@ func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatO }).(GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatPtrOutput) } +func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormat] { + return pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1664,6 +1833,12 @@ func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatP return o } +func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormat] { + return pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatPtrOutput) Elem() GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormat) GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormat { if v != nil { @@ -1726,6 +1901,12 @@ func (in *googleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioForma return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatPtrOutput) } +func (in *googleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormat] { + return pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormat]{ + OutputState: in.ToGoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsAudioFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Whether the test case passed in the agent environment. type GoogleCloudDialogflowCxV3TestCaseResultTestResult string @@ -1798,6 +1979,12 @@ func (o GoogleCloudDialogflowCxV3TestCaseResultTestResultOutput) ToGoogleCloudDi }).(GoogleCloudDialogflowCxV3TestCaseResultTestResultPtrOutput) } +func (o GoogleCloudDialogflowCxV3TestCaseResultTestResultOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TestCaseResultTestResult] { + return pulumix.Output[GoogleCloudDialogflowCxV3TestCaseResultTestResult]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3TestCaseResultTestResultOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1833,6 +2020,12 @@ func (o GoogleCloudDialogflowCxV3TestCaseResultTestResultPtrOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3TestCaseResultTestResultPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3TestCaseResultTestResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3TestCaseResultTestResult]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3TestCaseResultTestResultPtrOutput) Elem() GoogleCloudDialogflowCxV3TestCaseResultTestResultOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3TestCaseResultTestResult) GoogleCloudDialogflowCxV3TestCaseResultTestResult { if v != nil { @@ -1895,6 +2088,12 @@ func (in *googleCloudDialogflowCxV3TestCaseResultTestResultPtr) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3TestCaseResultTestResultPtrOutput) } +func (in *googleCloudDialogflowCxV3TestCaseResultTestResultPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3TestCaseResultTestResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3TestCaseResultTestResult]{ + OutputState: in.ToGoogleCloudDialogflowCxV3TestCaseResultTestResultPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST. type GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod string @@ -1977,6 +2176,12 @@ func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodOutput) ToGoo }).(GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodPtrOutput) } +func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod] { + return pulumix.Output[GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2012,6 +2217,12 @@ func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodPtrOutput) To return o } +func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod] { + return pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodPtrOutput) Elem() GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod) GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod { if v != nil { @@ -2074,6 +2285,12 @@ func (in *googleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodPtr) ToGoog return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodPtrOutput) } +func (in *googleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod] { + return pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod]{ + OutputState: in.ToGoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Type of the webhook. type GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType string @@ -2146,6 +2363,12 @@ func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypeOutput) ToGo }).(GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypePtrOutput) } +func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType] { + return pulumix.Output[GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2181,6 +2404,12 @@ func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypePtrOutput) T return o } +func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypePtrOutput) Elem() GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType) GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType { if v != nil { @@ -2243,6 +2472,12 @@ func (in *googleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypePtr) ToGoo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypePtrOutput) } +func (in *googleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType]{ + OutputState: in.ToGoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookTypePtrOutputWithContext(ctx).OutputState, + } +} + type SecuritySettingPurgeDataTypesItem string const ( @@ -2312,6 +2547,12 @@ func (o SecuritySettingPurgeDataTypesItemOutput) ToSecuritySettingPurgeDataTypes }).(SecuritySettingPurgeDataTypesItemPtrOutput) } +func (o SecuritySettingPurgeDataTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettingPurgeDataTypesItem] { + return pulumix.Output[SecuritySettingPurgeDataTypesItem]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingPurgeDataTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2347,6 +2588,12 @@ func (o SecuritySettingPurgeDataTypesItemPtrOutput) ToSecuritySettingPurgeDataTy return o } +func (o SecuritySettingPurgeDataTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingPurgeDataTypesItem] { + return pulumix.Output[*SecuritySettingPurgeDataTypesItem]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingPurgeDataTypesItemPtrOutput) Elem() SecuritySettingPurgeDataTypesItemOutput { return o.ApplyT(func(v *SecuritySettingPurgeDataTypesItem) SecuritySettingPurgeDataTypesItem { if v != nil { @@ -2409,6 +2656,12 @@ func (in *securitySettingPurgeDataTypesItemPtr) ToSecuritySettingPurgeDataTypesI return pulumi.ToOutputWithContext(ctx, in).(SecuritySettingPurgeDataTypesItemPtrOutput) } +func (in *securitySettingPurgeDataTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingPurgeDataTypesItem] { + return pulumix.Output[*SecuritySettingPurgeDataTypesItem]{ + OutputState: in.ToSecuritySettingPurgeDataTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // SecuritySettingPurgeDataTypesItemArrayInput is an input type that accepts SecuritySettingPurgeDataTypesItemArray and SecuritySettingPurgeDataTypesItemArrayOutput values. // You can construct a concrete instance of `SecuritySettingPurgeDataTypesItemArrayInput` via: // @@ -2434,6 +2687,12 @@ func (i SecuritySettingPurgeDataTypesItemArray) ToSecuritySettingPurgeDataTypesI return pulumi.ToOutputWithContext(ctx, i).(SecuritySettingPurgeDataTypesItemArrayOutput) } +func (i SecuritySettingPurgeDataTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]SecuritySettingPurgeDataTypesItem] { + return pulumix.Output[[]SecuritySettingPurgeDataTypesItem]{ + OutputState: i.ToSecuritySettingPurgeDataTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type SecuritySettingPurgeDataTypesItemArrayOutput struct{ *pulumi.OutputState } func (SecuritySettingPurgeDataTypesItemArrayOutput) ElementType() reflect.Type { @@ -2448,6 +2707,12 @@ func (o SecuritySettingPurgeDataTypesItemArrayOutput) ToSecuritySettingPurgeData return o } +func (o SecuritySettingPurgeDataTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecuritySettingPurgeDataTypesItem] { + return pulumix.Output[[]SecuritySettingPurgeDataTypesItem]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingPurgeDataTypesItemArrayOutput) Index(i pulumi.IntInput) SecuritySettingPurgeDataTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecuritySettingPurgeDataTypesItem { return vs[0].([]SecuritySettingPurgeDataTypesItem)[vs[1].(int)] @@ -2524,6 +2789,12 @@ func (o SecuritySettingRedactionScopeOutput) ToSecuritySettingRedactionScopePtrO }).(SecuritySettingRedactionScopePtrOutput) } +func (o SecuritySettingRedactionScopeOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettingRedactionScope] { + return pulumix.Output[SecuritySettingRedactionScope]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingRedactionScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2559,6 +2830,12 @@ func (o SecuritySettingRedactionScopePtrOutput) ToSecuritySettingRedactionScopeP return o } +func (o SecuritySettingRedactionScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingRedactionScope] { + return pulumix.Output[*SecuritySettingRedactionScope]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingRedactionScopePtrOutput) Elem() SecuritySettingRedactionScopeOutput { return o.ApplyT(func(v *SecuritySettingRedactionScope) SecuritySettingRedactionScope { if v != nil { @@ -2621,6 +2898,12 @@ func (in *securitySettingRedactionScopePtr) ToSecuritySettingRedactionScopePtrOu return pulumi.ToOutputWithContext(ctx, in).(SecuritySettingRedactionScopePtrOutput) } +func (in *securitySettingRedactionScopePtr) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingRedactionScope] { + return pulumix.Output[*SecuritySettingRedactionScope]{ + OutputState: in.ToSecuritySettingRedactionScopePtrOutputWithContext(ctx).OutputState, + } +} + // Strategy that defines how we do redaction. type SecuritySettingRedactionStrategy string @@ -2691,6 +2974,12 @@ func (o SecuritySettingRedactionStrategyOutput) ToSecuritySettingRedactionStrate }).(SecuritySettingRedactionStrategyPtrOutput) } +func (o SecuritySettingRedactionStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettingRedactionStrategy] { + return pulumix.Output[SecuritySettingRedactionStrategy]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingRedactionStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2726,6 +3015,12 @@ func (o SecuritySettingRedactionStrategyPtrOutput) ToSecuritySettingRedactionStr return o } +func (o SecuritySettingRedactionStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingRedactionStrategy] { + return pulumix.Output[*SecuritySettingRedactionStrategy]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingRedactionStrategyPtrOutput) Elem() SecuritySettingRedactionStrategyOutput { return o.ApplyT(func(v *SecuritySettingRedactionStrategy) SecuritySettingRedactionStrategy { if v != nil { @@ -2788,6 +3083,12 @@ func (in *securitySettingRedactionStrategyPtr) ToSecuritySettingRedactionStrateg return pulumi.ToOutputWithContext(ctx, in).(SecuritySettingRedactionStrategyPtrOutput) } +func (in *securitySettingRedactionStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingRedactionStrategy] { + return pulumix.Output[*SecuritySettingRedactionStrategy]{ + OutputState: in.ToSecuritySettingRedactionStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Indicates whether the additional data should override or supplement the custom entity type definition. type SessionEntityTypeEntityOverrideMode string @@ -2860,6 +3161,12 @@ func (o SessionEntityTypeEntityOverrideModeOutput) ToSessionEntityTypeEntityOver }).(SessionEntityTypeEntityOverrideModePtrOutput) } +func (o SessionEntityTypeEntityOverrideModeOutput) ToOutput(ctx context.Context) pulumix.Output[SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[SessionEntityTypeEntityOverrideMode]{ + OutputState: o.OutputState, + } +} + func (o SessionEntityTypeEntityOverrideModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2895,6 +3202,12 @@ func (o SessionEntityTypeEntityOverrideModePtrOutput) ToSessionEntityTypeEntityO return o } +func (o SessionEntityTypeEntityOverrideModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[*SessionEntityTypeEntityOverrideMode]{ + OutputState: o.OutputState, + } +} + func (o SessionEntityTypeEntityOverrideModePtrOutput) Elem() SessionEntityTypeEntityOverrideModeOutput { return o.ApplyT(func(v *SessionEntityTypeEntityOverrideMode) SessionEntityTypeEntityOverrideMode { if v != nil { @@ -2957,6 +3270,12 @@ func (in *sessionEntityTypeEntityOverrideModePtr) ToSessionEntityTypeEntityOverr return pulumi.ToOutputWithContext(ctx, in).(SessionEntityTypeEntityOverrideModePtrOutput) } +func (in *sessionEntityTypeEntityOverrideModePtr) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[*SessionEntityTypeEntityOverrideMode]{ + OutputState: in.ToSessionEntityTypeEntityOverrideModePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*EntityTypeAutoExpansionModeInput)(nil)).Elem(), EntityTypeAutoExpansionMode("AUTO_EXPANSION_MODE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*EntityTypeAutoExpansionModePtrInput)(nil)).Elem(), EntityTypeAutoExpansionMode("AUTO_EXPANSION_MODE_UNSPECIFIED")) diff --git a/sdk/go/google/dialogflow/v3/pulumiTypes.go b/sdk/go/google/dialogflow/v3/pulumiTypes.go index 8319db11c6..9fe0b770c2 100644 --- a/sdk/go/google/dialogflow/v3/pulumiTypes.go +++ b/sdk/go/google/dialogflow/v3/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudDialogflowCxV3AdvancedSettingsArgs) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3AdvancedSettingsOutput) } +func (i GoogleCloudDialogflowCxV3AdvancedSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3AdvancedSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3AdvancedSettingsArgs) ToGoogleCloudDialogflowCxV3AdvancedSettingsPtrOutput() GoogleCloudDialogflowCxV3AdvancedSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3AdvancedSettingsPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleCloudDialogflowCxV3AdvancedSettingsPtrType) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3AdvancedSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3AdvancedSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3AdvancedSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3AdvancedSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3AdvancedSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. type GoogleCloudDialogflowCxV3AdvancedSettingsOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleCloudDialogflowCxV3AdvancedSettingsOutput) ToGoogleCloudDialogflow }).(GoogleCloudDialogflowCxV3AdvancedSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3AdvancedSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettings]{ + OutputState: o.OutputState, + } +} + // If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level func (o GoogleCloudDialogflowCxV3AdvancedSettingsOutput) AudioExportGcsDestination() GoogleCloudDialogflowCxV3GcsDestinationPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3AdvancedSettings) *GoogleCloudDialogflowCxV3GcsDestination { @@ -146,6 +165,12 @@ func (o GoogleCloudDialogflowCxV3AdvancedSettingsPtrOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowCxV3AdvancedSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3AdvancedSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3AdvancedSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3AdvancedSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3AdvancedSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3AdvancedSettings) GoogleCloudDialogflowCxV3AdvancedSettings { if v != nil { @@ -215,6 +240,12 @@ func (i GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsOutput) } +func (i GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsArgs) ToGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrOutput() GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrOutputWithContext(context.Background()) } @@ -256,6 +287,12 @@ func (i *googleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Define behaviors on logging. type GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsOutput struct{ *pulumi.OutputState } @@ -281,6 +318,12 @@ func (o GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsOutput) ToGoogle }).(GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]{ + OutputState: o.OutputState, + } +} + // If true, DF Interaction logging is currently enabled. func (o GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsOutput) EnableInteractionLogging() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings) *bool { @@ -309,6 +352,12 @@ func (o GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings) GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings { if v != nil { @@ -362,6 +411,12 @@ func (o GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsResponseOutput) return o } +func (o GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsResponse]{ + OutputState: o.OutputState, + } +} + // If true, DF Interaction logging is currently enabled. func (o GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsResponseOutput) EnableInteractionLogging() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettingsResponse) bool { @@ -399,6 +454,12 @@ func (o GoogleCloudDialogflowCxV3AdvancedSettingsResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3AdvancedSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3AdvancedSettingsResponse]{ + OutputState: o.OutputState, + } +} + // If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level func (o GoogleCloudDialogflowCxV3AdvancedSettingsResponseOutput) AudioExportGcsDestination() GoogleCloudDialogflowCxV3GcsDestinationResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3AdvancedSettingsResponse) GoogleCloudDialogflowCxV3GcsDestinationResponse { @@ -452,6 +513,12 @@ func (i GoogleCloudDialogflowCxV3AudioInputArgs) ToGoogleCloudDialogflowCxV3Audi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3AudioInputOutput) } +func (i GoogleCloudDialogflowCxV3AudioInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3AudioInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3AudioInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3AudioInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3AudioInputArgs) ToGoogleCloudDialogflowCxV3AudioInputPtrOutput() GoogleCloudDialogflowCxV3AudioInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3AudioInputPtrOutputWithContext(context.Background()) } @@ -493,6 +560,12 @@ func (i *googleCloudDialogflowCxV3AudioInputPtrType) ToGoogleCloudDialogflowCxV3 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3AudioInputPtrOutput) } +func (i *googleCloudDialogflowCxV3AudioInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3AudioInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3AudioInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3AudioInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the natural speech audio to be processed. type GoogleCloudDialogflowCxV3AudioInputOutput struct{ *pulumi.OutputState } @@ -518,6 +591,12 @@ func (o GoogleCloudDialogflowCxV3AudioInputOutput) ToGoogleCloudDialogflowCxV3Au }).(GoogleCloudDialogflowCxV3AudioInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3AudioInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3AudioInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3AudioInput]{ + OutputState: o.OutputState, + } +} + // The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests. func (o GoogleCloudDialogflowCxV3AudioInputOutput) Audio() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3AudioInput) *string { return v.Audio }).(pulumi.StringPtrOutput) @@ -542,6 +621,12 @@ func (o GoogleCloudDialogflowCxV3AudioInputPtrOutput) ToGoogleCloudDialogflowCxV return o } +func (o GoogleCloudDialogflowCxV3AudioInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3AudioInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3AudioInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3AudioInputPtrOutput) Elem() GoogleCloudDialogflowCxV3AudioInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3AudioInput) GoogleCloudDialogflowCxV3AudioInput { if v != nil { @@ -595,6 +680,12 @@ func (o GoogleCloudDialogflowCxV3AudioInputResponseOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3AudioInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3AudioInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3AudioInputResponse]{ + OutputState: o.OutputState, + } +} + // The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests. func (o GoogleCloudDialogflowCxV3AudioInputResponseOutput) Audio() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3AudioInputResponse) string { return v.Audio }).(pulumi.StringOutput) @@ -646,6 +737,12 @@ func (i GoogleCloudDialogflowCxV3ConversationTurnArgs) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ConversationTurnOutput) } +func (i GoogleCloudDialogflowCxV3ConversationTurnArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurn] { + return pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurn]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ConversationTurnOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3ConversationTurnArrayInput is an input type that accepts GoogleCloudDialogflowCxV3ConversationTurnArray and GoogleCloudDialogflowCxV3ConversationTurnArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3ConversationTurnArrayInput` via: // @@ -671,6 +768,12 @@ func (i GoogleCloudDialogflowCxV3ConversationTurnArray) ToGoogleCloudDialogflowC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ConversationTurnArrayOutput) } +func (i GoogleCloudDialogflowCxV3ConversationTurnArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ConversationTurn] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ConversationTurn]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ConversationTurnArrayOutputWithContext(ctx).OutputState, + } +} + // One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response. type GoogleCloudDialogflowCxV3ConversationTurnOutput struct{ *pulumi.OutputState } @@ -686,6 +789,12 @@ func (o GoogleCloudDialogflowCxV3ConversationTurnOutput) ToGoogleCloudDialogflow return o } +func (o GoogleCloudDialogflowCxV3ConversationTurnOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurn] { + return pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurn]{ + OutputState: o.OutputState, + } +} + // The user input. func (o GoogleCloudDialogflowCxV3ConversationTurnOutput) UserInput() GoogleCloudDialogflowCxV3ConversationTurnUserInputPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ConversationTurn) *GoogleCloudDialogflowCxV3ConversationTurnUserInput { @@ -714,6 +823,12 @@ func (o GoogleCloudDialogflowCxV3ConversationTurnArrayOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowCxV3ConversationTurnArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ConversationTurn] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ConversationTurn]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ConversationTurnArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ConversationTurnOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ConversationTurn { return vs[0].([]GoogleCloudDialogflowCxV3ConversationTurn)[vs[1].(int)] @@ -743,6 +858,12 @@ func (o GoogleCloudDialogflowCxV3ConversationTurnResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3ConversationTurnResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnResponse]{ + OutputState: o.OutputState, + } +} + // The user input. func (o GoogleCloudDialogflowCxV3ConversationTurnResponseOutput) UserInput() GoogleCloudDialogflowCxV3ConversationTurnUserInputResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ConversationTurnResponse) GoogleCloudDialogflowCxV3ConversationTurnUserInputResponse { @@ -771,6 +892,12 @@ func (o GoogleCloudDialogflowCxV3ConversationTurnResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3ConversationTurnResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ConversationTurnResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ConversationTurnResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ConversationTurnResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ConversationTurnResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ConversationTurnResponse { return vs[0].([]GoogleCloudDialogflowCxV3ConversationTurnResponse)[vs[1].(int)] @@ -824,6 +951,12 @@ func (i GoogleCloudDialogflowCxV3ConversationTurnUserInputArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ConversationTurnUserInputOutput) } +func (i GoogleCloudDialogflowCxV3ConversationTurnUserInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnUserInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnUserInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ConversationTurnUserInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ConversationTurnUserInputArgs) ToGoogleCloudDialogflowCxV3ConversationTurnUserInputPtrOutput() GoogleCloudDialogflowCxV3ConversationTurnUserInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3ConversationTurnUserInputPtrOutputWithContext(context.Background()) } @@ -865,6 +998,12 @@ func (i *googleCloudDialogflowCxV3ConversationTurnUserInputPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ConversationTurnUserInputPtrOutput) } +func (i *googleCloudDialogflowCxV3ConversationTurnUserInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ConversationTurnUserInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ConversationTurnUserInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ConversationTurnUserInputPtrOutputWithContext(ctx).OutputState, + } +} + // The input from the human user. type GoogleCloudDialogflowCxV3ConversationTurnUserInputOutput struct{ *pulumi.OutputState } @@ -890,6 +1029,12 @@ func (o GoogleCloudDialogflowCxV3ConversationTurnUserInputOutput) ToGoogleCloudD }).(GoogleCloudDialogflowCxV3ConversationTurnUserInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3ConversationTurnUserInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnUserInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnUserInput]{ + OutputState: o.OutputState, + } +} + // Whether sentiment analysis is enabled. func (o GoogleCloudDialogflowCxV3ConversationTurnUserInputOutput) EnableSentimentAnalysis() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ConversationTurnUserInput) *bool { return v.EnableSentimentAnalysis }).(pulumi.BoolPtrOutput) @@ -928,6 +1073,12 @@ func (o GoogleCloudDialogflowCxV3ConversationTurnUserInputPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3ConversationTurnUserInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ConversationTurnUserInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ConversationTurnUserInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ConversationTurnUserInputPtrOutput) Elem() GoogleCloudDialogflowCxV3ConversationTurnUserInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ConversationTurnUserInput) GoogleCloudDialogflowCxV3ConversationTurnUserInput { if v != nil { @@ -1005,6 +1156,12 @@ func (o GoogleCloudDialogflowCxV3ConversationTurnUserInputResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3ConversationTurnUserInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnUserInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnUserInputResponse]{ + OutputState: o.OutputState, + } +} + // Whether sentiment analysis is enabled. func (o GoogleCloudDialogflowCxV3ConversationTurnUserInputResponseOutput) EnableSentimentAnalysis() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ConversationTurnUserInputResponse) bool { @@ -1086,6 +1243,12 @@ func (i GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputOutput) } +func (i GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput] { + return pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputArgs) ToGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrOutput() GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrOutput { return i.ToGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrOutputWithContext(context.Background()) } @@ -1127,6 +1290,12 @@ func (i *googleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrType) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrOutput) } +func (i *googleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrOutputWithContext(ctx).OutputState, + } +} + // The output from the virtual agent. type GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputOutput struct{ *pulumi.OutputState } @@ -1152,6 +1321,12 @@ func (o GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputOutput) ToGoo }).(GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrOutput) } +func (o GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput] { + return pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput]{ + OutputState: o.OutputState, + } +} + // The Page on which the utterance was spoken. Only name and displayName will be set. func (o GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputOutput) CurrentPage() GoogleCloudDialogflowCxV3PagePtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput) *GoogleCloudDialogflowCxV3Page { @@ -1206,6 +1381,12 @@ func (o GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrOutput) To return o } +func (o GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputPtrOutput) Elem() GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput) GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput { if v != nil { @@ -1309,6 +1490,12 @@ func (o GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputResponseOutpu return o } +func (o GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputResponse]{ + OutputState: o.OutputState, + } +} + // The Page on which the utterance was spoken. Only name and displayName will be set. func (o GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputResponseOutput) CurrentPage() GoogleCloudDialogflowCxV3PageResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutputResponse) GoogleCloudDialogflowCxV3PageResponse { @@ -1397,6 +1584,12 @@ func (i GoogleCloudDialogflowCxV3DtmfInputArgs) ToGoogleCloudDialogflowCxV3DtmfI return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3DtmfInputOutput) } +func (i GoogleCloudDialogflowCxV3DtmfInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3DtmfInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3DtmfInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3DtmfInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3DtmfInputArgs) ToGoogleCloudDialogflowCxV3DtmfInputPtrOutput() GoogleCloudDialogflowCxV3DtmfInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3DtmfInputPtrOutputWithContext(context.Background()) } @@ -1438,6 +1631,12 @@ func (i *googleCloudDialogflowCxV3DtmfInputPtrType) ToGoogleCloudDialogflowCxV3D return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3DtmfInputPtrOutput) } +func (i *googleCloudDialogflowCxV3DtmfInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3DtmfInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3DtmfInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3DtmfInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the input for dtmf event. type GoogleCloudDialogflowCxV3DtmfInputOutput struct{ *pulumi.OutputState } @@ -1463,6 +1662,12 @@ func (o GoogleCloudDialogflowCxV3DtmfInputOutput) ToGoogleCloudDialogflowCxV3Dtm }).(GoogleCloudDialogflowCxV3DtmfInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3DtmfInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3DtmfInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3DtmfInput]{ + OutputState: o.OutputState, + } +} + // The dtmf digits. func (o GoogleCloudDialogflowCxV3DtmfInputOutput) Digits() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3DtmfInput) *string { return v.Digits }).(pulumi.StringPtrOutput) @@ -1487,6 +1692,12 @@ func (o GoogleCloudDialogflowCxV3DtmfInputPtrOutput) ToGoogleCloudDialogflowCxV3 return o } +func (o GoogleCloudDialogflowCxV3DtmfInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3DtmfInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3DtmfInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3DtmfInputPtrOutput) Elem() GoogleCloudDialogflowCxV3DtmfInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3DtmfInput) GoogleCloudDialogflowCxV3DtmfInput { if v != nil { @@ -1540,6 +1751,12 @@ func (o GoogleCloudDialogflowCxV3DtmfInputResponseOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3DtmfInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3DtmfInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3DtmfInputResponse]{ + OutputState: o.OutputState, + } +} + // The dtmf digits. func (o GoogleCloudDialogflowCxV3DtmfInputResponseOutput) Digits() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3DtmfInputResponse) string { return v.Digits }).(pulumi.StringOutput) @@ -1589,6 +1806,12 @@ func (i GoogleCloudDialogflowCxV3EntityTypeEntityArgs) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EntityTypeEntityOutput) } +func (i GoogleCloudDialogflowCxV3EntityTypeEntityArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeEntity] { + return pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeEntity]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EntityTypeEntityOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3EntityTypeEntityArrayInput is an input type that accepts GoogleCloudDialogflowCxV3EntityTypeEntityArray and GoogleCloudDialogflowCxV3EntityTypeEntityArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3EntityTypeEntityArrayInput` via: // @@ -1614,6 +1837,12 @@ func (i GoogleCloudDialogflowCxV3EntityTypeEntityArray) ToGoogleCloudDialogflowC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EntityTypeEntityArrayOutput) } +func (i GoogleCloudDialogflowCxV3EntityTypeEntityArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeEntity] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeEntity]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EntityTypeEntityArrayOutputWithContext(ctx).OutputState, + } +} + // An **entity entry** for an associated entity type. type GoogleCloudDialogflowCxV3EntityTypeEntityOutput struct{ *pulumi.OutputState } @@ -1629,6 +1858,12 @@ func (o GoogleCloudDialogflowCxV3EntityTypeEntityOutput) ToGoogleCloudDialogflow return o } +func (o GoogleCloudDialogflowCxV3EntityTypeEntityOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeEntity] { + return pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeEntity]{ + OutputState: o.OutputState, + } +} + // A collection of value synonyms. For example, if the entity type is *vegetable*, and `value` is *scallions*, a synonym could be *green onions*. For `KIND_LIST` entity types: * This collection must contain exactly one synonym equal to `value`. func (o GoogleCloudDialogflowCxV3EntityTypeEntityOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EntityTypeEntity) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -1653,6 +1888,12 @@ func (o GoogleCloudDialogflowCxV3EntityTypeEntityArrayOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowCxV3EntityTypeEntityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeEntity] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeEntity]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EntityTypeEntityArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3EntityTypeEntityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3EntityTypeEntity { return vs[0].([]GoogleCloudDialogflowCxV3EntityTypeEntity)[vs[1].(int)] @@ -1682,6 +1923,12 @@ func (o GoogleCloudDialogflowCxV3EntityTypeEntityResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3EntityTypeEntityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeEntityResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeEntityResponse]{ + OutputState: o.OutputState, + } +} + // A collection of value synonyms. For example, if the entity type is *vegetable*, and `value` is *scallions*, a synonym could be *green onions*. For `KIND_LIST` entity types: * This collection must contain exactly one synonym equal to `value`. func (o GoogleCloudDialogflowCxV3EntityTypeEntityResponseOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EntityTypeEntityResponse) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -1706,6 +1953,12 @@ func (o GoogleCloudDialogflowCxV3EntityTypeEntityResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3EntityTypeEntityResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeEntityResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeEntityResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EntityTypeEntityResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3EntityTypeEntityResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3EntityTypeEntityResponse { return vs[0].([]GoogleCloudDialogflowCxV3EntityTypeEntityResponse)[vs[1].(int)] @@ -1747,6 +2000,12 @@ func (i GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArgs) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseOutput) } +func (i GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase] { + return pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EntityTypeExcludedPhraseOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArrayInput is an input type that accepts GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArray and GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArrayInput` via: // @@ -1772,6 +2031,12 @@ func (i GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArray) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArrayOutput) } +func (i GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArrayOutputWithContext(ctx).OutputState, + } +} + // An excluded entity phrase that should not be matched. type GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseOutput struct{ *pulumi.OutputState } @@ -1787,6 +2052,12 @@ func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase] { + return pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase]{ + OutputState: o.OutputState, + } +} + // The word or phrase to be excluded. func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase) string { return v.Value }).(pulumi.StringOutput) @@ -1806,6 +2077,12 @@ func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase { return vs[0].([]GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase)[vs[1].(int)] @@ -1833,6 +2110,12 @@ func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponseOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponse]{ + OutputState: o.OutputState, + } +} + // The word or phrase to be excluded. func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponseOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponse) string { return v.Value }).(pulumi.StringOutput) @@ -1852,6 +2135,12 @@ func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponseArrayOutput) To return o } +func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponse { return vs[0].([]GoogleCloudDialogflowCxV3EntityTypeExcludedPhraseResponse)[vs[1].(int)] @@ -1901,6 +2190,12 @@ func (i GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigOutput) } +func (i GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EnvironmentTestCasesConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs) ToGoogleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrOutput() GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrOutputWithContext(context.Background()) } @@ -1942,6 +2237,12 @@ func (i *googleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for continuous tests. type GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigOutput struct{ *pulumi.OutputState } @@ -1967,6 +2268,12 @@ func (o GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigOutput) ToGoogleCloud }).(GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig]{ + OutputState: o.OutputState, + } +} + // Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day. func (o GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigOutput) EnableContinuousRun() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig) *bool { return v.EnableContinuousRun }).(pulumi.BoolPtrOutput) @@ -1996,6 +2303,12 @@ func (o GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig) GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig { if v != nil { @@ -2061,6 +2374,12 @@ func (o GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigResponseOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day. func (o GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigResponseOutput) EnableContinuousRun() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigResponse) bool { return v.EnableContinuousRun }).(pulumi.BoolOutput) @@ -2113,6 +2432,12 @@ func (i GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EnvironmentVersionConfigOutput) } +func (i GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentVersionConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentVersionConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EnvironmentVersionConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3EnvironmentVersionConfigArrayInput is an input type that accepts GoogleCloudDialogflowCxV3EnvironmentVersionConfigArray and GoogleCloudDialogflowCxV3EnvironmentVersionConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3EnvironmentVersionConfigArrayInput` via: // @@ -2138,6 +2463,12 @@ func (i GoogleCloudDialogflowCxV3EnvironmentVersionConfigArray) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EnvironmentVersionConfigArrayOutput) } +func (i GoogleCloudDialogflowCxV3EnvironmentVersionConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EnvironmentVersionConfig] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EnvironmentVersionConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EnvironmentVersionConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for the version. type GoogleCloudDialogflowCxV3EnvironmentVersionConfigOutput struct{ *pulumi.OutputState } @@ -2153,6 +2484,12 @@ func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentVersionConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentVersionConfig]{ + OutputState: o.OutputState, + } +} + // Format: projects//locations//agents//flows//versions/. func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EnvironmentVersionConfig) string { return v.Version }).(pulumi.StringOutput) @@ -2172,6 +2509,12 @@ func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EnvironmentVersionConfig] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EnvironmentVersionConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3EnvironmentVersionConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3EnvironmentVersionConfig { return vs[0].([]GoogleCloudDialogflowCxV3EnvironmentVersionConfig)[vs[1].(int)] @@ -2199,6 +2542,12 @@ func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponseOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Format: projects//locations//agents//flows//versions/. func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponseOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponse) string { return v.Version }).(pulumi.StringOutput) @@ -2218,6 +2567,12 @@ func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponseArrayOutput) To return o } +func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponse { return vs[0].([]GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponse)[vs[1].(int)] @@ -2259,6 +2614,12 @@ func (i GoogleCloudDialogflowCxV3EnvironmentWebhookConfigArgs) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EnvironmentWebhookConfigOutput) } +func (i GoogleCloudDialogflowCxV3EnvironmentWebhookConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentWebhookConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentWebhookConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EnvironmentWebhookConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3EnvironmentWebhookConfigArgs) ToGoogleCloudDialogflowCxV3EnvironmentWebhookConfigPtrOutput() GoogleCloudDialogflowCxV3EnvironmentWebhookConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3EnvironmentWebhookConfigPtrOutputWithContext(context.Background()) } @@ -2300,6 +2661,12 @@ func (i *googleCloudDialogflowCxV3EnvironmentWebhookConfigPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EnvironmentWebhookConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3EnvironmentWebhookConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3EnvironmentWebhookConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3EnvironmentWebhookConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EnvironmentWebhookConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for webhooks. type GoogleCloudDialogflowCxV3EnvironmentWebhookConfigOutput struct{ *pulumi.OutputState } @@ -2325,6 +2692,12 @@ func (o GoogleCloudDialogflowCxV3EnvironmentWebhookConfigOutput) ToGoogleCloudDi }).(GoogleCloudDialogflowCxV3EnvironmentWebhookConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3EnvironmentWebhookConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentWebhookConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentWebhookConfig]{ + OutputState: o.OutputState, + } +} + // The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in `generic_web_service` and `service_directory`. func (o GoogleCloudDialogflowCxV3EnvironmentWebhookConfigOutput) WebhookOverrides() GoogleCloudDialogflowCxV3WebhookArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EnvironmentWebhookConfig) []GoogleCloudDialogflowCxV3Webhook { @@ -2346,6 +2719,12 @@ func (o GoogleCloudDialogflowCxV3EnvironmentWebhookConfigPtrOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3EnvironmentWebhookConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3EnvironmentWebhookConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3EnvironmentWebhookConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EnvironmentWebhookConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3EnvironmentWebhookConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3EnvironmentWebhookConfig) GoogleCloudDialogflowCxV3EnvironmentWebhookConfig { if v != nil { @@ -2387,6 +2766,12 @@ func (o GoogleCloudDialogflowCxV3EnvironmentWebhookConfigResponseOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3EnvironmentWebhookConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentWebhookConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3EnvironmentWebhookConfigResponse]{ + OutputState: o.OutputState, + } +} + // The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in `generic_web_service` and `service_directory`. func (o GoogleCloudDialogflowCxV3EnvironmentWebhookConfigResponseOutput) WebhookOverrides() GoogleCloudDialogflowCxV3WebhookResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EnvironmentWebhookConfigResponse) []GoogleCloudDialogflowCxV3WebhookResponse { @@ -2441,6 +2826,12 @@ func (i GoogleCloudDialogflowCxV3EventHandlerArgs) ToGoogleCloudDialogflowCxV3Ev return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EventHandlerOutput) } +func (i GoogleCloudDialogflowCxV3EventHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EventHandler] { + return pulumix.Output[GoogleCloudDialogflowCxV3EventHandler]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EventHandlerOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3EventHandlerArrayInput is an input type that accepts GoogleCloudDialogflowCxV3EventHandlerArray and GoogleCloudDialogflowCxV3EventHandlerArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3EventHandlerArrayInput` via: // @@ -2466,6 +2857,12 @@ func (i GoogleCloudDialogflowCxV3EventHandlerArray) ToGoogleCloudDialogflowCxV3E return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EventHandlerArrayOutput) } +func (i GoogleCloudDialogflowCxV3EventHandlerArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EventHandler] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EventHandler]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EventHandlerArrayOutputWithContext(ctx).OutputState, + } +} + // An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow. type GoogleCloudDialogflowCxV3EventHandlerOutput struct{ *pulumi.OutputState } @@ -2481,6 +2878,12 @@ func (o GoogleCloudDialogflowCxV3EventHandlerOutput) ToGoogleCloudDialogflowCxV3 return o } +func (o GoogleCloudDialogflowCxV3EventHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EventHandler] { + return pulumix.Output[GoogleCloudDialogflowCxV3EventHandler]{ + OutputState: o.OutputState, + } +} + // The name of the event to handle. func (o GoogleCloudDialogflowCxV3EventHandlerOutput) Event() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EventHandler) string { return v.Event }).(pulumi.StringOutput) @@ -2517,6 +2920,12 @@ func (o GoogleCloudDialogflowCxV3EventHandlerArrayOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3EventHandlerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EventHandler] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EventHandler]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EventHandlerArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3EventHandlerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3EventHandler { return vs[0].([]GoogleCloudDialogflowCxV3EventHandler)[vs[1].(int)] @@ -2552,6 +2961,12 @@ func (o GoogleCloudDialogflowCxV3EventHandlerResponseOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3EventHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EventHandlerResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3EventHandlerResponse]{ + OutputState: o.OutputState, + } +} + // The name of the event to handle. func (o GoogleCloudDialogflowCxV3EventHandlerResponseOutput) Event() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EventHandlerResponse) string { return v.Event }).(pulumi.StringOutput) @@ -2593,6 +3008,12 @@ func (o GoogleCloudDialogflowCxV3EventHandlerResponseArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3EventHandlerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3EventHandlerResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3EventHandlerResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EventHandlerResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3EventHandlerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3EventHandlerResponse { return vs[0].([]GoogleCloudDialogflowCxV3EventHandlerResponse)[vs[1].(int)] @@ -2634,6 +3055,12 @@ func (i GoogleCloudDialogflowCxV3EventInputArgs) ToGoogleCloudDialogflowCxV3Even return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EventInputOutput) } +func (i GoogleCloudDialogflowCxV3EventInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EventInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3EventInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EventInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3EventInputArgs) ToGoogleCloudDialogflowCxV3EventInputPtrOutput() GoogleCloudDialogflowCxV3EventInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3EventInputPtrOutputWithContext(context.Background()) } @@ -2675,6 +3102,12 @@ func (i *googleCloudDialogflowCxV3EventInputPtrType) ToGoogleCloudDialogflowCxV3 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3EventInputPtrOutput) } +func (i *googleCloudDialogflowCxV3EventInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3EventInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3EventInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3EventInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the event to trigger. type GoogleCloudDialogflowCxV3EventInputOutput struct{ *pulumi.OutputState } @@ -2700,6 +3133,12 @@ func (o GoogleCloudDialogflowCxV3EventInputOutput) ToGoogleCloudDialogflowCxV3Ev }).(GoogleCloudDialogflowCxV3EventInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3EventInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EventInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3EventInput]{ + OutputState: o.OutputState, + } +} + // Name of the event. func (o GoogleCloudDialogflowCxV3EventInputOutput) Event() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EventInput) *string { return v.Event }).(pulumi.StringPtrOutput) @@ -2719,6 +3158,12 @@ func (o GoogleCloudDialogflowCxV3EventInputPtrOutput) ToGoogleCloudDialogflowCxV return o } +func (o GoogleCloudDialogflowCxV3EventInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3EventInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3EventInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3EventInputPtrOutput) Elem() GoogleCloudDialogflowCxV3EventInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3EventInput) GoogleCloudDialogflowCxV3EventInput { if v != nil { @@ -2760,6 +3205,12 @@ func (o GoogleCloudDialogflowCxV3EventInputResponseOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3EventInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3EventInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3EventInputResponse]{ + OutputState: o.OutputState, + } +} + // Name of the event. func (o GoogleCloudDialogflowCxV3EventInputResponseOutput) Event() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3EventInputResponse) string { return v.Event }).(pulumi.StringOutput) @@ -2804,6 +3255,12 @@ func (i GoogleCloudDialogflowCxV3ExperimentDefinitionArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ExperimentDefinitionOutput) } +func (i GoogleCloudDialogflowCxV3ExperimentDefinitionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentDefinition] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentDefinition]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ExperimentDefinitionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ExperimentDefinitionArgs) ToGoogleCloudDialogflowCxV3ExperimentDefinitionPtrOutput() GoogleCloudDialogflowCxV3ExperimentDefinitionPtrOutput { return i.ToGoogleCloudDialogflowCxV3ExperimentDefinitionPtrOutputWithContext(context.Background()) } @@ -2845,6 +3302,12 @@ func (i *googleCloudDialogflowCxV3ExperimentDefinitionPtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ExperimentDefinitionPtrOutput) } +func (i *googleCloudDialogflowCxV3ExperimentDefinitionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentDefinition] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentDefinition]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ExperimentDefinitionPtrOutputWithContext(ctx).OutputState, + } +} + // Definition of the experiment. type GoogleCloudDialogflowCxV3ExperimentDefinitionOutput struct{ *pulumi.OutputState } @@ -2870,6 +3333,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentDefinitionOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowCxV3ExperimentDefinitionPtrOutput) } +func (o GoogleCloudDialogflowCxV3ExperimentDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentDefinition] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentDefinition]{ + OutputState: o.OutputState, + } +} + // The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. "query_input.language_code=en" See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). func (o GoogleCloudDialogflowCxV3ExperimentDefinitionOutput) Condition() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ExperimentDefinition) *string { return v.Condition }).(pulumi.StringPtrOutput) @@ -2896,6 +3365,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentDefinitionPtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3ExperimentDefinitionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentDefinition] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentDefinition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentDefinitionPtrOutput) Elem() GoogleCloudDialogflowCxV3ExperimentDefinitionOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ExperimentDefinition) GoogleCloudDialogflowCxV3ExperimentDefinition { if v != nil { @@ -2949,6 +3424,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentDefinitionResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3ExperimentDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentDefinitionResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. "query_input.language_code=en" See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). func (o GoogleCloudDialogflowCxV3ExperimentDefinitionResponseOutput) Condition() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ExperimentDefinitionResponse) string { return v.Condition }).(pulumi.StringOutput) @@ -3000,6 +3481,12 @@ func (i GoogleCloudDialogflowCxV3ExperimentResultArgs) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ExperimentResultOutput) } +func (i GoogleCloudDialogflowCxV3ExperimentResultArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResult] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResult]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ExperimentResultOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ExperimentResultArgs) ToGoogleCloudDialogflowCxV3ExperimentResultPtrOutput() GoogleCloudDialogflowCxV3ExperimentResultPtrOutput { return i.ToGoogleCloudDialogflowCxV3ExperimentResultPtrOutputWithContext(context.Background()) } @@ -3041,6 +3528,12 @@ func (i *googleCloudDialogflowCxV3ExperimentResultPtrType) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ExperimentResultPtrOutput) } +func (i *googleCloudDialogflowCxV3ExperimentResultPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResult]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ExperimentResultPtrOutputWithContext(ctx).OutputState, + } +} + // The inference result which includes an objective metric to optimize and the confidence interval. type GoogleCloudDialogflowCxV3ExperimentResultOutput struct{ *pulumi.OutputState } @@ -3066,6 +3559,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultOutput) ToGoogleCloudDialogflow }).(GoogleCloudDialogflowCxV3ExperimentResultPtrOutput) } +func (o GoogleCloudDialogflowCxV3ExperimentResultOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResult] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResult]{ + OutputState: o.OutputState, + } +} + // The last time the experiment's stats data was updated. Will have default value if stats have never been computed for this experiment. func (o GoogleCloudDialogflowCxV3ExperimentResultOutput) LastUpdateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ExperimentResult) *string { return v.LastUpdateTime }).(pulumi.StringPtrOutput) @@ -3092,6 +3591,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultPtrOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResult]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentResultPtrOutput) Elem() GoogleCloudDialogflowCxV3ExperimentResultOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ExperimentResult) GoogleCloudDialogflowCxV3ExperimentResult { if v != nil { @@ -3169,6 +3674,12 @@ func (i GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalOutput) } +func (i GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalArgs) ToGoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrOutput() GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrOutput { return i.ToGoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrOutputWithContext(context.Background()) } @@ -3210,6 +3721,12 @@ func (i *googleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrType) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrOutput) } +func (i *googleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // A confidence interval is a range of possible values for the experiment objective you are trying to measure. type GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalOutput struct{ *pulumi.OutputState } @@ -3235,6 +3752,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalOutput) ToGoo }).(GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrOutput) } +func (o GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval]{ + OutputState: o.OutputState, + } +} + // The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval. func (o GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalOutput) ConfidenceLevel() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval) *float64 { return v.ConfidenceLevel }).(pulumi.Float64PtrOutput) @@ -3269,6 +3792,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrOutput) To return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrOutput) Elem() GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval) GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval { if v != nil { @@ -3346,6 +3875,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponseOutpu return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse]{ + OutputState: o.OutputState, + } +} + // The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval. func (o GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponseOutput) ConfidenceLevel() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse) float64 { @@ -3423,6 +3958,12 @@ func (i GoogleCloudDialogflowCxV3ExperimentResultMetricArgs) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ExperimentResultMetricOutput) } +func (i GoogleCloudDialogflowCxV3ExperimentResultMetricArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultMetric] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultMetric]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ExperimentResultMetricOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3ExperimentResultMetricArrayInput is an input type that accepts GoogleCloudDialogflowCxV3ExperimentResultMetricArray and GoogleCloudDialogflowCxV3ExperimentResultMetricArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3ExperimentResultMetricArrayInput` via: // @@ -3448,6 +3989,12 @@ func (i GoogleCloudDialogflowCxV3ExperimentResultMetricArray) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ExperimentResultMetricArrayOutput) } +func (i GoogleCloudDialogflowCxV3ExperimentResultMetricArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultMetric] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultMetric]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ExperimentResultMetricArrayOutputWithContext(ctx).OutputState, + } +} + // Metric and corresponding confidence intervals. type GoogleCloudDialogflowCxV3ExperimentResultMetricOutput struct{ *pulumi.OutputState } @@ -3463,6 +4010,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultMetricOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultMetricOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultMetric] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultMetric]{ + OutputState: o.OutputState, + } +} + // The probability that the treatment is better than all other treatments in the experiment func (o GoogleCloudDialogflowCxV3ExperimentResultMetricOutput) ConfidenceInterval() GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ExperimentResultMetric) *GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval { @@ -3508,6 +4061,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultMetricArrayOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultMetricArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultMetric] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultMetric]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentResultMetricArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ExperimentResultMetricOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ExperimentResultMetric { return vs[0].([]GoogleCloudDialogflowCxV3ExperimentResultMetric)[vs[1].(int)] @@ -3543,6 +4102,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultMetricResponseOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultMetricResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultMetricResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultMetricResponse]{ + OutputState: o.OutputState, + } +} + // The probability that the treatment is better than all other treatments in the experiment func (o GoogleCloudDialogflowCxV3ExperimentResultMetricResponseOutput) ConfidenceInterval() GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ExperimentResultMetricResponse) GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse { @@ -3584,6 +4149,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultMetricResponseArrayOutput) ToGo return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultMetricResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultMetricResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultMetricResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentResultMetricResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ExperimentResultMetricResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ExperimentResultMetricResponse { return vs[0].([]GoogleCloudDialogflowCxV3ExperimentResultMetricResponse)[vs[1].(int)] @@ -3613,6 +4184,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultResponse]{ + OutputState: o.OutputState, + } +} + // The last time the experiment's stats data was updated. Will have default value if stats have never been computed for this experiment. func (o GoogleCloudDialogflowCxV3ExperimentResultResponseOutput) LastUpdateTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ExperimentResultResponse) string { return v.LastUpdateTime }).(pulumi.StringOutput) @@ -3668,6 +4245,12 @@ func (i GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsOutput) } +func (i GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ExperimentResultVersionMetricsOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArrayInput is an input type that accepts GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArray and GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArrayInput` via: // @@ -3693,6 +4276,12 @@ func (i GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArray) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArrayOutput) } +func (i GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArrayOutputWithContext(ctx).OutputState, + } +} + // Version variant and associated metrics. type GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsOutput struct{ *pulumi.OutputState } @@ -3708,6 +4297,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics]{ + OutputState: o.OutputState, + } +} + // The metrics and corresponding confidence intervals in the inference result. func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsOutput) Metrics() GoogleCloudDialogflowCxV3ExperimentResultMetricArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics) []GoogleCloudDialogflowCxV3ExperimentResultMetric { @@ -3739,6 +4334,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArrayOutput) ToGo return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics { return vs[0].([]GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics)[vs[1].(int)] @@ -3770,6 +4371,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponseOutput) T return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponse]{ + OutputState: o.OutputState, + } +} + // The metrics and corresponding confidence intervals in the inference result. func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponseOutput) Metrics() GoogleCloudDialogflowCxV3ExperimentResultMetricResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponse) []GoogleCloudDialogflowCxV3ExperimentResultMetricResponse { @@ -3801,6 +4408,12 @@ func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponseArrayOutp return o } +func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponse { return vs[0].([]GoogleCloudDialogflowCxV3ExperimentResultVersionMetricsResponse)[vs[1].(int)] @@ -3842,6 +4455,12 @@ func (i GoogleCloudDialogflowCxV3FormArgs) ToGoogleCloudDialogflowCxV3FormOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FormOutput) } +func (i GoogleCloudDialogflowCxV3FormArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3Form] { + return pulumix.Output[GoogleCloudDialogflowCxV3Form]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FormOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3FormArgs) ToGoogleCloudDialogflowCxV3FormPtrOutput() GoogleCloudDialogflowCxV3FormPtrOutput { return i.ToGoogleCloudDialogflowCxV3FormPtrOutputWithContext(context.Background()) } @@ -3883,6 +4502,12 @@ func (i *googleCloudDialogflowCxV3FormPtrType) ToGoogleCloudDialogflowCxV3FormPt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FormPtrOutput) } +func (i *googleCloudDialogflowCxV3FormPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3Form] { + return pulumix.Output[*GoogleCloudDialogflowCxV3Form]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FormPtrOutputWithContext(ctx).OutputState, + } +} + // A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session. type GoogleCloudDialogflowCxV3FormOutput struct{ *pulumi.OutputState } @@ -3908,6 +4533,12 @@ func (o GoogleCloudDialogflowCxV3FormOutput) ToGoogleCloudDialogflowCxV3FormPtrO }).(GoogleCloudDialogflowCxV3FormPtrOutput) } +func (o GoogleCloudDialogflowCxV3FormOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3Form] { + return pulumix.Output[GoogleCloudDialogflowCxV3Form]{ + OutputState: o.OutputState, + } +} + // Parameters to collect from the user. func (o GoogleCloudDialogflowCxV3FormOutput) Parameters() GoogleCloudDialogflowCxV3FormParameterArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3Form) []GoogleCloudDialogflowCxV3FormParameter { return v.Parameters }).(GoogleCloudDialogflowCxV3FormParameterArrayOutput) @@ -3927,6 +4558,12 @@ func (o GoogleCloudDialogflowCxV3FormPtrOutput) ToGoogleCloudDialogflowCxV3FormP return o } +func (o GoogleCloudDialogflowCxV3FormPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3Form] { + return pulumix.Output[*GoogleCloudDialogflowCxV3Form]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FormPtrOutput) Elem() GoogleCloudDialogflowCxV3FormOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3Form) GoogleCloudDialogflowCxV3Form { if v != nil { @@ -4006,6 +4643,12 @@ func (i GoogleCloudDialogflowCxV3FormParameterArgs) ToGoogleCloudDialogflowCxV3F return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FormParameterOutput) } +func (i GoogleCloudDialogflowCxV3FormParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FormParameter] { + return pulumix.Output[GoogleCloudDialogflowCxV3FormParameter]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FormParameterOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3FormParameterArrayInput is an input type that accepts GoogleCloudDialogflowCxV3FormParameterArray and GoogleCloudDialogflowCxV3FormParameterArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3FormParameterArrayInput` via: // @@ -4031,6 +4674,12 @@ func (i GoogleCloudDialogflowCxV3FormParameterArray) ToGoogleCloudDialogflowCxV3 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FormParameterArrayOutput) } +func (i GoogleCloudDialogflowCxV3FormParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FormParameter] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FormParameter]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FormParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a form parameter. type GoogleCloudDialogflowCxV3FormParameterOutput struct{ *pulumi.OutputState } @@ -4046,6 +4695,12 @@ func (o GoogleCloudDialogflowCxV3FormParameterOutput) ToGoogleCloudDialogflowCxV return o } +func (o GoogleCloudDialogflowCxV3FormParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FormParameter] { + return pulumix.Output[GoogleCloudDialogflowCxV3FormParameter]{ + OutputState: o.OutputState, + } +} + // The default value of an optional parameter. If the parameter is required, the default value will be ignored. func (o GoogleCloudDialogflowCxV3FormParameterOutput) DefaultValue() pulumi.AnyOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FormParameter) interface{} { return v.DefaultValue }).(pulumi.AnyOutput) @@ -4097,6 +4752,12 @@ func (o GoogleCloudDialogflowCxV3FormParameterArrayOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3FormParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FormParameter] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FormParameter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FormParameterArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3FormParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3FormParameter { return vs[0].([]GoogleCloudDialogflowCxV3FormParameter)[vs[1].(int)] @@ -4142,6 +4803,12 @@ func (i GoogleCloudDialogflowCxV3FormParameterFillBehaviorArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FormParameterFillBehaviorOutput) } +func (i GoogleCloudDialogflowCxV3FormParameterFillBehaviorArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FormParameterFillBehavior] { + return pulumix.Output[GoogleCloudDialogflowCxV3FormParameterFillBehavior]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FormParameterFillBehaviorOutputWithContext(ctx).OutputState, + } +} + // Configuration for how the filling of a parameter should be handled. type GoogleCloudDialogflowCxV3FormParameterFillBehaviorOutput struct{ *pulumi.OutputState } @@ -4157,6 +4824,12 @@ func (o GoogleCloudDialogflowCxV3FormParameterFillBehaviorOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3FormParameterFillBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FormParameterFillBehavior] { + return pulumix.Output[GoogleCloudDialogflowCxV3FormParameterFillBehavior]{ + OutputState: o.OutputState, + } +} + // The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter. func (o GoogleCloudDialogflowCxV3FormParameterFillBehaviorOutput) InitialPromptFulfillment() GoogleCloudDialogflowCxV3FulfillmentOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FormParameterFillBehavior) GoogleCloudDialogflowCxV3Fulfillment { @@ -4194,6 +4867,12 @@ func (o GoogleCloudDialogflowCxV3FormParameterFillBehaviorResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3FormParameterFillBehaviorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FormParameterFillBehaviorResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3FormParameterFillBehaviorResponse]{ + OutputState: o.OutputState, + } +} + // The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter. func (o GoogleCloudDialogflowCxV3FormParameterFillBehaviorResponseOutput) InitialPromptFulfillment() GoogleCloudDialogflowCxV3FulfillmentResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FormParameterFillBehaviorResponse) GoogleCloudDialogflowCxV3FulfillmentResponse { @@ -4241,6 +4920,12 @@ func (o GoogleCloudDialogflowCxV3FormParameterResponseOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowCxV3FormParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FormParameterResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3FormParameterResponse]{ + OutputState: o.OutputState, + } +} + // The default value of an optional parameter. If the parameter is required, the default value will be ignored. func (o GoogleCloudDialogflowCxV3FormParameterResponseOutput) DefaultValue() pulumi.AnyOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FormParameterResponse) interface{} { return v.DefaultValue }).(pulumi.AnyOutput) @@ -4292,6 +4977,12 @@ func (o GoogleCloudDialogflowCxV3FormParameterResponseArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowCxV3FormParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FormParameterResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FormParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FormParameterResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3FormParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3FormParameterResponse { return vs[0].([]GoogleCloudDialogflowCxV3FormParameterResponse)[vs[1].(int)] @@ -4319,6 +5010,12 @@ func (o GoogleCloudDialogflowCxV3FormResponseOutput) ToGoogleCloudDialogflowCxV3 return o } +func (o GoogleCloudDialogflowCxV3FormResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FormResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3FormResponse]{ + OutputState: o.OutputState, + } +} + // Parameters to collect from the user. func (o GoogleCloudDialogflowCxV3FormResponseOutput) Parameters() GoogleCloudDialogflowCxV3FormParameterResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FormResponse) []GoogleCloudDialogflowCxV3FormParameterResponse { @@ -4381,6 +5078,12 @@ func (i GoogleCloudDialogflowCxV3FulfillmentArgs) ToGoogleCloudDialogflowCxV3Ful return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentOutput) } +func (i GoogleCloudDialogflowCxV3FulfillmentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3Fulfillment] { + return pulumix.Output[GoogleCloudDialogflowCxV3Fulfillment]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3FulfillmentArgs) ToGoogleCloudDialogflowCxV3FulfillmentPtrOutput() GoogleCloudDialogflowCxV3FulfillmentPtrOutput { return i.ToGoogleCloudDialogflowCxV3FulfillmentPtrOutputWithContext(context.Background()) } @@ -4422,6 +5125,12 @@ func (i *googleCloudDialogflowCxV3FulfillmentPtrType) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentPtrOutput) } +func (i *googleCloudDialogflowCxV3FulfillmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3Fulfillment] { + return pulumix.Output[*GoogleCloudDialogflowCxV3Fulfillment]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentPtrOutputWithContext(ctx).OutputState, + } +} + // A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both. type GoogleCloudDialogflowCxV3FulfillmentOutput struct{ *pulumi.OutputState } @@ -4447,6 +5156,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentOutput) ToGoogleCloudDialogflowCxV3F }).(GoogleCloudDialogflowCxV3FulfillmentPtrOutput) } +func (o GoogleCloudDialogflowCxV3FulfillmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3Fulfillment] { + return pulumix.Output[GoogleCloudDialogflowCxV3Fulfillment]{ + OutputState: o.OutputState, + } +} + // Conditional cases for this fulfillment. func (o GoogleCloudDialogflowCxV3FulfillmentOutput) ConditionalCases() GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3Fulfillment) []GoogleCloudDialogflowCxV3FulfillmentConditionalCases { @@ -4497,6 +5212,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentPtrOutput) ToGoogleCloudDialogflowCx return o } +func (o GoogleCloudDialogflowCxV3FulfillmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3Fulfillment] { + return pulumix.Output[*GoogleCloudDialogflowCxV3Fulfillment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FulfillmentPtrOutput) Elem() GoogleCloudDialogflowCxV3FulfillmentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3Fulfillment) GoogleCloudDialogflowCxV3Fulfillment { if v != nil { @@ -4602,6 +5323,12 @@ func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentConditionalCasesOutput) } +func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCases] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCases]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentConditionalCasesOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArgs) ToGoogleCloudDialogflowCxV3FulfillmentConditionalCasesPtrOutput() GoogleCloudDialogflowCxV3FulfillmentConditionalCasesPtrOutput { return i.ToGoogleCloudDialogflowCxV3FulfillmentConditionalCasesPtrOutputWithContext(context.Background()) } @@ -4643,6 +5370,12 @@ func (i *googleCloudDialogflowCxV3FulfillmentConditionalCasesPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentConditionalCasesPtrOutput) } +func (i *googleCloudDialogflowCxV3FulfillmentConditionalCasesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3FulfillmentConditionalCases] { + return pulumix.Output[*GoogleCloudDialogflowCxV3FulfillmentConditionalCases]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentConditionalCasesPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArrayInput is an input type that accepts GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArray and GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArrayInput` via: // @@ -4668,6 +5401,12 @@ func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArray) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArrayOutput) } +func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCases] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCases]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentConditionalCasesArrayOutputWithContext(ctx).OutputState, + } +} + // A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesOutput struct{ *pulumi.OutputState } @@ -4693,6 +5432,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesOutput) ToGoogleClou }).(GoogleCloudDialogflowCxV3FulfillmentConditionalCasesPtrOutput) } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCases] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCases]{ + OutputState: o.OutputState, + } +} + // A list of cascading if-else conditions. func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesOutput) Cases() GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FulfillmentConditionalCases) []GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase { @@ -4714,6 +5459,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesPtrOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3FulfillmentConditionalCases] { + return pulumix.Output[*GoogleCloudDialogflowCxV3FulfillmentConditionalCases]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesPtrOutput) Elem() GoogleCloudDialogflowCxV3FulfillmentConditionalCasesOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3FulfillmentConditionalCases) GoogleCloudDialogflowCxV3FulfillmentConditionalCases { if v != nil { @@ -4748,6 +5499,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArrayOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCases] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCases]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3FulfillmentConditionalCases { return vs[0].([]GoogleCloudDialogflowCxV3FulfillmentConditionalCases)[vs[1].(int)] @@ -4793,6 +5550,12 @@ func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseOutput) } +func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArrayInput is an input type that accepts GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArray and GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArrayInput` via: // @@ -4818,6 +5581,12 @@ func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArray) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArrayOutput) } +func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArrayOutputWithContext(ctx).OutputState, + } +} + // Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively. type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseOutput struct{ *pulumi.OutputState } @@ -4833,6 +5602,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseOutput) ToGoogle return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase]{ + OutputState: o.OutputState, + } +} + // A list of case content. func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseOutput) CaseContent() GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase) []GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent { @@ -4859,6 +5634,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArrayOutput) ToG return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase { return vs[0].([]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase)[vs[1].(int)] @@ -4904,6 +5685,12 @@ func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentOutput) } +func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArrayInput is an input type that accepts GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArray and GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArrayInput` via: // @@ -4929,6 +5716,12 @@ func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArray return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArrayOutput) } +func (i GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArrayOutputWithContext(ctx).OutputState, + } +} + // The list of messages or conditional cases to activate for this case. type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentOutput struct{ *pulumi.OutputState } @@ -4944,6 +5737,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentOutpu return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent]{ + OutputState: o.OutputState, + } +} + // Additional cases to be evaluated. func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentOutput) AdditionalCases() GoogleCloudDialogflowCxV3FulfillmentConditionalCasesPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent) *GoogleCloudDialogflowCxV3FulfillmentConditionalCases { @@ -4972,6 +5771,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArray return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent { return vs[0].([]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent)[vs[1].(int)] @@ -5001,6 +5806,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentRespo return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponse]{ + OutputState: o.OutputState, + } +} + // Additional cases to be evaluated. func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponseOutput) AdditionalCases() GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponse) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponse { @@ -5029,6 +5840,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentRespo return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponse { return vs[0].([]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponse)[vs[1].(int)] @@ -5058,6 +5875,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponseOutput) return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponse]{ + OutputState: o.OutputState, + } +} + // A list of case content. func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponseOutput) CaseContent() GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponse) []GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContentResponse { @@ -5084,6 +5907,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponseArrayOut return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponse { return vs[0].([]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponse)[vs[1].(int)] @@ -5111,6 +5940,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponseOutput) ToGo return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponse]{ + OutputState: o.OutputState, + } +} + // A list of cascading if-else conditions. func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponseOutput) Cases() GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponse) []GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseResponse { @@ -5132,6 +5967,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponseArrayOutput) return o } +func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponse { return vs[0].([]GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponse)[vs[1].(int)] @@ -5169,6 +6010,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentResponseOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowCxV3FulfillmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentResponse]{ + OutputState: o.OutputState, + } +} + // Conditional cases for this fulfillment. func (o GoogleCloudDialogflowCxV3FulfillmentResponseOutput) ConditionalCases() GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FulfillmentResponse) []GoogleCloudDialogflowCxV3FulfillmentConditionalCasesResponse { @@ -5244,6 +6091,12 @@ func (i GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentSetParameterActionOutput) } +func (i GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentSetParameterAction] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentSetParameterAction]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentSetParameterActionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArrayInput is an input type that accepts GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArray and GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArrayInput` via: // @@ -5269,6 +6122,12 @@ func (i GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArray) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArrayOutput) } +func (i GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentSetParameterAction] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentSetParameterAction]{ + OutputState: i.ToGoogleCloudDialogflowCxV3FulfillmentSetParameterActionArrayOutputWithContext(ctx).OutputState, + } +} + // Setting a parameter value. type GoogleCloudDialogflowCxV3FulfillmentSetParameterActionOutput struct{ *pulumi.OutputState } @@ -5284,6 +6143,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentSetParameterAction] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentSetParameterAction]{ + OutputState: o.OutputState, + } +} + // Display name of the parameter. func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionOutput) Parameter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) *string { return v.Parameter }).(pulumi.StringPtrOutput) @@ -5308,6 +6173,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentSetParameterAction] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentSetParameterAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3FulfillmentSetParameterActionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3FulfillmentSetParameterAction { return vs[0].([]GoogleCloudDialogflowCxV3FulfillmentSetParameterAction)[vs[1].(int)] @@ -5337,6 +6208,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponseOutput) To return o } +func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponse]{ + OutputState: o.OutputState, + } +} + // Display name of the parameter. func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponseOutput) Parameter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponse) string { return v.Parameter }).(pulumi.StringOutput) @@ -5361,6 +6238,12 @@ func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponseArrayOutpu return o } +func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponse { return vs[0].([]GoogleCloudDialogflowCxV3FulfillmentSetParameterActionResponse)[vs[1].(int)] @@ -5402,6 +6285,12 @@ func (i GoogleCloudDialogflowCxV3GcsDestinationArgs) ToGoogleCloudDialogflowCxV3 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3GcsDestinationOutput) } +func (i GoogleCloudDialogflowCxV3GcsDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3GcsDestination] { + return pulumix.Output[GoogleCloudDialogflowCxV3GcsDestination]{ + OutputState: i.ToGoogleCloudDialogflowCxV3GcsDestinationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3GcsDestinationArgs) ToGoogleCloudDialogflowCxV3GcsDestinationPtrOutput() GoogleCloudDialogflowCxV3GcsDestinationPtrOutput { return i.ToGoogleCloudDialogflowCxV3GcsDestinationPtrOutputWithContext(context.Background()) } @@ -5443,6 +6332,12 @@ func (i *googleCloudDialogflowCxV3GcsDestinationPtrType) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3GcsDestinationPtrOutput) } +func (i *googleCloudDialogflowCxV3GcsDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3GcsDestination] { + return pulumix.Output[*GoogleCloudDialogflowCxV3GcsDestination]{ + OutputState: i.ToGoogleCloudDialogflowCxV3GcsDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow. type GoogleCloudDialogflowCxV3GcsDestinationOutput struct{ *pulumi.OutputState } @@ -5468,6 +6363,12 @@ func (o GoogleCloudDialogflowCxV3GcsDestinationOutput) ToGoogleCloudDialogflowCx }).(GoogleCloudDialogflowCxV3GcsDestinationPtrOutput) } +func (o GoogleCloudDialogflowCxV3GcsDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3GcsDestination] { + return pulumix.Output[GoogleCloudDialogflowCxV3GcsDestination]{ + OutputState: o.OutputState, + } +} + // The Google Cloud Storage URI for the exported objects. A URI is of the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation. func (o GoogleCloudDialogflowCxV3GcsDestinationOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3GcsDestination) string { return v.Uri }).(pulumi.StringOutput) @@ -5487,6 +6388,12 @@ func (o GoogleCloudDialogflowCxV3GcsDestinationPtrOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3GcsDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3GcsDestination] { + return pulumix.Output[*GoogleCloudDialogflowCxV3GcsDestination]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3GcsDestinationPtrOutput) Elem() GoogleCloudDialogflowCxV3GcsDestinationOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3GcsDestination) GoogleCloudDialogflowCxV3GcsDestination { if v != nil { @@ -5528,6 +6435,12 @@ func (o GoogleCloudDialogflowCxV3GcsDestinationResponseOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowCxV3GcsDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3GcsDestinationResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3GcsDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The Google Cloud Storage URI for the exported objects. A URI is of the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation. func (o GoogleCloudDialogflowCxV3GcsDestinationResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3GcsDestinationResponse) string { return v.Uri }).(pulumi.StringOutput) @@ -5592,6 +6505,12 @@ func (i GoogleCloudDialogflowCxV3InputAudioConfigArgs) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3InputAudioConfigOutput) } +func (i GoogleCloudDialogflowCxV3InputAudioConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3InputAudioConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3InputAudioConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3InputAudioConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3InputAudioConfigArgs) ToGoogleCloudDialogflowCxV3InputAudioConfigPtrOutput() GoogleCloudDialogflowCxV3InputAudioConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3InputAudioConfigPtrOutputWithContext(context.Background()) } @@ -5633,6 +6552,12 @@ func (i *googleCloudDialogflowCxV3InputAudioConfigPtrType) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3InputAudioConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3InputAudioConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3InputAudioConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Instructs the speech recognizer on how to process the audio content. type GoogleCloudDialogflowCxV3InputAudioConfigOutput struct{ *pulumi.OutputState } @@ -5658,6 +6583,12 @@ func (o GoogleCloudDialogflowCxV3InputAudioConfigOutput) ToGoogleCloudDialogflow }).(GoogleCloudDialogflowCxV3InputAudioConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3InputAudioConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3InputAudioConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3InputAudioConfig]{ + OutputState: o.OutputState, + } +} + // Audio encoding of the audio content to process. func (o GoogleCloudDialogflowCxV3InputAudioConfigOutput) AudioEncoding() GoogleCloudDialogflowCxV3InputAudioConfigAudioEncodingOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3InputAudioConfig) GoogleCloudDialogflowCxV3InputAudioConfigAudioEncoding { @@ -5711,6 +6642,12 @@ func (o GoogleCloudDialogflowCxV3InputAudioConfigPtrOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowCxV3InputAudioConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3InputAudioConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3InputAudioConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3InputAudioConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3InputAudioConfig) GoogleCloudDialogflowCxV3InputAudioConfig { if v != nil { @@ -5824,6 +6761,12 @@ func (o GoogleCloudDialogflowCxV3InputAudioConfigResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3InputAudioConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3InputAudioConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3InputAudioConfigResponse]{ + OutputState: o.OutputState, + } +} + // Audio encoding of the audio content to process. func (o GoogleCloudDialogflowCxV3InputAudioConfigResponseOutput) AudioEncoding() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3InputAudioConfigResponse) string { return v.AudioEncoding }).(pulumi.StringOutput) @@ -5922,6 +6865,12 @@ func (i GoogleCloudDialogflowCxV3IntentArgs) ToGoogleCloudDialogflowCxV3IntentOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3IntentOutput) } +func (i GoogleCloudDialogflowCxV3IntentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3Intent] { + return pulumix.Output[GoogleCloudDialogflowCxV3Intent]{ + OutputState: i.ToGoogleCloudDialogflowCxV3IntentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3IntentArgs) ToGoogleCloudDialogflowCxV3IntentPtrOutput() GoogleCloudDialogflowCxV3IntentPtrOutput { return i.ToGoogleCloudDialogflowCxV3IntentPtrOutputWithContext(context.Background()) } @@ -5963,6 +6912,12 @@ func (i *googleCloudDialogflowCxV3IntentPtrType) ToGoogleCloudDialogflowCxV3Inte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3IntentPtrOutput) } +func (i *googleCloudDialogflowCxV3IntentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3Intent] { + return pulumix.Output[*GoogleCloudDialogflowCxV3Intent]{ + OutputState: i.ToGoogleCloudDialogflowCxV3IntentPtrOutputWithContext(ctx).OutputState, + } +} + // An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent. type GoogleCloudDialogflowCxV3IntentOutput struct{ *pulumi.OutputState } @@ -5988,6 +6943,12 @@ func (o GoogleCloudDialogflowCxV3IntentOutput) ToGoogleCloudDialogflowCxV3Intent }).(GoogleCloudDialogflowCxV3IntentPtrOutput) } +func (o GoogleCloudDialogflowCxV3IntentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3Intent] { + return pulumix.Output[GoogleCloudDialogflowCxV3Intent]{ + OutputState: o.OutputState, + } +} + // Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters. func (o GoogleCloudDialogflowCxV3IntentOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3Intent) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -6046,6 +7007,12 @@ func (o GoogleCloudDialogflowCxV3IntentPtrOutput) ToGoogleCloudDialogflowCxV3Int return o } +func (o GoogleCloudDialogflowCxV3IntentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3Intent] { + return pulumix.Output[*GoogleCloudDialogflowCxV3Intent]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3IntentPtrOutput) Elem() GoogleCloudDialogflowCxV3IntentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3Intent) GoogleCloudDialogflowCxV3Intent { if v != nil { @@ -6171,6 +7138,12 @@ func (i GoogleCloudDialogflowCxV3IntentInputTypeArgs) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3IntentInputTypeOutput) } +func (i GoogleCloudDialogflowCxV3IntentInputTypeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentInputType] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentInputType]{ + OutputState: i.ToGoogleCloudDialogflowCxV3IntentInputTypeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3IntentInputTypeArgs) ToGoogleCloudDialogflowCxV3IntentInputTypePtrOutput() GoogleCloudDialogflowCxV3IntentInputTypePtrOutput { return i.ToGoogleCloudDialogflowCxV3IntentInputTypePtrOutputWithContext(context.Background()) } @@ -6212,6 +7185,12 @@ func (i *googleCloudDialogflowCxV3IntentInputTypePtrType) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3IntentInputTypePtrOutput) } +func (i *googleCloudDialogflowCxV3IntentInputTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3IntentInputType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3IntentInputType]{ + OutputState: i.ToGoogleCloudDialogflowCxV3IntentInputTypePtrOutputWithContext(ctx).OutputState, + } +} + // Represents the intent to trigger programmatically rather than as a result of natural language processing. type GoogleCloudDialogflowCxV3IntentInputTypeOutput struct{ *pulumi.OutputState } @@ -6237,6 +7216,12 @@ func (o GoogleCloudDialogflowCxV3IntentInputTypeOutput) ToGoogleCloudDialogflowC }).(GoogleCloudDialogflowCxV3IntentInputTypePtrOutput) } +func (o GoogleCloudDialogflowCxV3IntentInputTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentInputType] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentInputType]{ + OutputState: o.OutputState, + } +} + // The unique identifier of the intent. Format: `projects//locations//agents//intents/`. func (o GoogleCloudDialogflowCxV3IntentInputTypeOutput) Intent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3IntentInputType) string { return v.Intent }).(pulumi.StringOutput) @@ -6256,6 +7241,12 @@ func (o GoogleCloudDialogflowCxV3IntentInputTypePtrOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3IntentInputTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3IntentInputType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3IntentInputType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3IntentInputTypePtrOutput) Elem() GoogleCloudDialogflowCxV3IntentInputTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3IntentInputType) GoogleCloudDialogflowCxV3IntentInputType { if v != nil { @@ -6297,6 +7288,12 @@ func (o GoogleCloudDialogflowCxV3IntentInputResponseOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowCxV3IntentInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentInputResponse]{ + OutputState: o.OutputState, + } +} + // The unique identifier of the intent. Format: `projects//locations//agents//intents/`. func (o GoogleCloudDialogflowCxV3IntentInputResponseOutput) Intent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3IntentInputResponse) string { return v.Intent }).(pulumi.StringOutput) @@ -6349,6 +7346,12 @@ func (i GoogleCloudDialogflowCxV3IntentParameterArgs) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3IntentParameterOutput) } +func (i GoogleCloudDialogflowCxV3IntentParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentParameter] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentParameter]{ + OutputState: i.ToGoogleCloudDialogflowCxV3IntentParameterOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3IntentParameterArrayInput is an input type that accepts GoogleCloudDialogflowCxV3IntentParameterArray and GoogleCloudDialogflowCxV3IntentParameterArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3IntentParameterArrayInput` via: // @@ -6374,6 +7377,12 @@ func (i GoogleCloudDialogflowCxV3IntentParameterArray) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3IntentParameterArrayOutput) } +func (i GoogleCloudDialogflowCxV3IntentParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3IntentParameter] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3IntentParameter]{ + OutputState: i.ToGoogleCloudDialogflowCxV3IntentParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an intent parameter. type GoogleCloudDialogflowCxV3IntentParameterOutput struct{ *pulumi.OutputState } @@ -6389,6 +7398,12 @@ func (o GoogleCloudDialogflowCxV3IntentParameterOutput) ToGoogleCloudDialogflowC return o } +func (o GoogleCloudDialogflowCxV3IntentParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentParameter] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentParameter]{ + OutputState: o.OutputState, + } +} + // The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types. func (o GoogleCloudDialogflowCxV3IntentParameterOutput) EntityType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3IntentParameter) string { return v.EntityType }).(pulumi.StringOutput) @@ -6423,6 +7438,12 @@ func (o GoogleCloudDialogflowCxV3IntentParameterArrayOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3IntentParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3IntentParameter] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3IntentParameter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3IntentParameterArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3IntentParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3IntentParameter { return vs[0].([]GoogleCloudDialogflowCxV3IntentParameter)[vs[1].(int)] @@ -6454,6 +7475,12 @@ func (o GoogleCloudDialogflowCxV3IntentParameterResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3IntentParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentParameterResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentParameterResponse]{ + OutputState: o.OutputState, + } +} + // The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types. func (o GoogleCloudDialogflowCxV3IntentParameterResponseOutput) EntityType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3IntentParameterResponse) string { return v.EntityType }).(pulumi.StringOutput) @@ -6483,6 +7510,12 @@ func (o GoogleCloudDialogflowCxV3IntentParameterResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3IntentParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3IntentParameterResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3IntentParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3IntentParameterResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3IntentParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3IntentParameterResponse { return vs[0].([]GoogleCloudDialogflowCxV3IntentParameterResponse)[vs[1].(int)] @@ -6524,6 +7557,12 @@ func (o GoogleCloudDialogflowCxV3IntentResponseOutput) ToGoogleCloudDialogflowCx return o } +func (o GoogleCloudDialogflowCxV3IntentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentResponse]{ + OutputState: o.OutputState, + } +} + // Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters. func (o GoogleCloudDialogflowCxV3IntentResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3IntentResponse) string { return v.Description }).(pulumi.StringOutput) @@ -6607,6 +7646,12 @@ func (i GoogleCloudDialogflowCxV3IntentTrainingPhraseArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3IntentTrainingPhraseOutput) } +func (i GoogleCloudDialogflowCxV3IntentTrainingPhraseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhrase] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhrase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3IntentTrainingPhraseOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3IntentTrainingPhraseArrayInput is an input type that accepts GoogleCloudDialogflowCxV3IntentTrainingPhraseArray and GoogleCloudDialogflowCxV3IntentTrainingPhraseArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3IntentTrainingPhraseArrayInput` via: // @@ -6632,6 +7677,12 @@ func (i GoogleCloudDialogflowCxV3IntentTrainingPhraseArray) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3IntentTrainingPhraseArrayOutput) } +func (i GoogleCloudDialogflowCxV3IntentTrainingPhraseArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhrase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3IntentTrainingPhraseArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an example that the agent is trained on to identify the intent. type GoogleCloudDialogflowCxV3IntentTrainingPhraseOutput struct{ *pulumi.OutputState } @@ -6647,6 +7698,12 @@ func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhrase] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhrase]{ + OutputState: o.OutputState, + } +} + // The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set. func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseOutput) Parts() GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3IntentTrainingPhrase) []GoogleCloudDialogflowCxV3IntentTrainingPhrasePart { @@ -6673,6 +7730,12 @@ func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhrase]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3IntentTrainingPhraseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3IntentTrainingPhrase { return vs[0].([]GoogleCloudDialogflowCxV3IntentTrainingPhrase)[vs[1].(int)] @@ -6718,6 +7781,12 @@ func (i GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArgs) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3IntentTrainingPhrasePartOutput) } +func (i GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhrasePart] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhrasePart]{ + OutputState: i.ToGoogleCloudDialogflowCxV3IntentTrainingPhrasePartOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArrayInput is an input type that accepts GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArray and GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArrayInput` via: // @@ -6743,6 +7812,12 @@ func (i GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArray) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArrayOutput) } +func (i GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhrasePart] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhrasePart]{ + OutputState: i.ToGoogleCloudDialogflowCxV3IntentTrainingPhrasePartArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a part of a training phrase. type GoogleCloudDialogflowCxV3IntentTrainingPhrasePartOutput struct{ *pulumi.OutputState } @@ -6758,6 +7833,12 @@ func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhrasePart] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhrasePart]{ + OutputState: o.OutputState, + } +} + // The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase. func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartOutput) ParameterId() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3IntentTrainingPhrasePart) *string { return v.ParameterId }).(pulumi.StringPtrOutput) @@ -6782,6 +7863,12 @@ func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhrasePart] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhrasePart]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3IntentTrainingPhrasePartOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3IntentTrainingPhrasePart { return vs[0].([]GoogleCloudDialogflowCxV3IntentTrainingPhrasePart)[vs[1].(int)] @@ -6811,6 +7898,12 @@ func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponseOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponse]{ + OutputState: o.OutputState, + } +} + // The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase. func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponseOutput) ParameterId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponse) string { return v.ParameterId }).(pulumi.StringOutput) @@ -6835,6 +7928,12 @@ func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponseArrayOutput) To return o } +func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponse { return vs[0].([]GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponse)[vs[1].(int)] @@ -6864,6 +7963,12 @@ func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse]{ + OutputState: o.OutputState, + } +} + // The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set. func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseResponseOutput) Parts() GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse) []GoogleCloudDialogflowCxV3IntentTrainingPhrasePartResponse { @@ -6890,6 +7995,12 @@ func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseResponseArrayOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3IntentTrainingPhraseResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3IntentTrainingPhraseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse { return vs[0].([]GoogleCloudDialogflowCxV3IntentTrainingPhraseResponse)[vs[1].(int)] @@ -6939,6 +8050,12 @@ func (i GoogleCloudDialogflowCxV3NluSettingsArgs) ToGoogleCloudDialogflowCxV3Nlu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3NluSettingsOutput) } +func (i GoogleCloudDialogflowCxV3NluSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3NluSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3NluSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3NluSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3NluSettingsArgs) ToGoogleCloudDialogflowCxV3NluSettingsPtrOutput() GoogleCloudDialogflowCxV3NluSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3NluSettingsPtrOutputWithContext(context.Background()) } @@ -6980,6 +8097,12 @@ func (i *googleCloudDialogflowCxV3NluSettingsPtrType) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3NluSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3NluSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3NluSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3NluSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3NluSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings related to NLU. type GoogleCloudDialogflowCxV3NluSettingsOutput struct{ *pulumi.OutputState } @@ -7005,6 +8128,12 @@ func (o GoogleCloudDialogflowCxV3NluSettingsOutput) ToGoogleCloudDialogflowCxV3N }).(GoogleCloudDialogflowCxV3NluSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3NluSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3NluSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3NluSettings]{ + OutputState: o.OutputState, + } +} + // To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used. func (o GoogleCloudDialogflowCxV3NluSettingsOutput) ClassificationThreshold() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3NluSettings) *float64 { return v.ClassificationThreshold }).(pulumi.Float64PtrOutput) @@ -7038,6 +8167,12 @@ func (o GoogleCloudDialogflowCxV3NluSettingsPtrOutput) ToGoogleCloudDialogflowCx return o } +func (o GoogleCloudDialogflowCxV3NluSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3NluSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3NluSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3NluSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3NluSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3NluSettings) GoogleCloudDialogflowCxV3NluSettings { if v != nil { @@ -7103,6 +8238,12 @@ func (o GoogleCloudDialogflowCxV3NluSettingsResponseOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowCxV3NluSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3NluSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3NluSettingsResponse]{ + OutputState: o.OutputState, + } +} + // To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used. func (o GoogleCloudDialogflowCxV3NluSettingsResponseOutput) ClassificationThreshold() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDialogflowCxV3NluSettingsResponse) float64 { return v.ClassificationThreshold }).(pulumi.Float64Output) @@ -7177,6 +8318,12 @@ func (i GoogleCloudDialogflowCxV3PageArgs) ToGoogleCloudDialogflowCxV3PageOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3PageOutput) } +func (i GoogleCloudDialogflowCxV3PageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3Page] { + return pulumix.Output[GoogleCloudDialogflowCxV3Page]{ + OutputState: i.ToGoogleCloudDialogflowCxV3PageOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3PageArgs) ToGoogleCloudDialogflowCxV3PagePtrOutput() GoogleCloudDialogflowCxV3PagePtrOutput { return i.ToGoogleCloudDialogflowCxV3PagePtrOutputWithContext(context.Background()) } @@ -7218,6 +8365,12 @@ func (i *googleCloudDialogflowCxV3PagePtrType) ToGoogleCloudDialogflowCxV3PagePt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3PagePtrOutput) } +func (i *googleCloudDialogflowCxV3PagePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3Page] { + return pulumix.Output[*GoogleCloudDialogflowCxV3Page]{ + OutputState: i.ToGoogleCloudDialogflowCxV3PagePtrOutputWithContext(ctx).OutputState, + } +} + // A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). type GoogleCloudDialogflowCxV3PageOutput struct{ *pulumi.OutputState } @@ -7243,6 +8396,12 @@ func (o GoogleCloudDialogflowCxV3PageOutput) ToGoogleCloudDialogflowCxV3PagePtrO }).(GoogleCloudDialogflowCxV3PagePtrOutput) } +func (o GoogleCloudDialogflowCxV3PageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3Page] { + return pulumix.Output[GoogleCloudDialogflowCxV3Page]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the page, unique within the flow. func (o GoogleCloudDialogflowCxV3PageOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3Page) string { return v.DisplayName }).(pulumi.StringOutput) @@ -7294,6 +8453,12 @@ func (o GoogleCloudDialogflowCxV3PagePtrOutput) ToGoogleCloudDialogflowCxV3PageP return o } +func (o GoogleCloudDialogflowCxV3PagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3Page] { + return pulumix.Output[*GoogleCloudDialogflowCxV3Page]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3PagePtrOutput) Elem() GoogleCloudDialogflowCxV3PageOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3Page) GoogleCloudDialogflowCxV3Page { if v != nil { @@ -7407,6 +8572,12 @@ func (o GoogleCloudDialogflowCxV3PageResponseOutput) ToGoogleCloudDialogflowCxV3 return o } +func (o GoogleCloudDialogflowCxV3PageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3PageResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3PageResponse]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the page, unique within the flow. func (o GoogleCloudDialogflowCxV3PageResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3PageResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -7503,6 +8674,12 @@ func (i GoogleCloudDialogflowCxV3QueryInputArgs) ToGoogleCloudDialogflowCxV3Quer return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3QueryInputOutput) } +func (i GoogleCloudDialogflowCxV3QueryInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3QueryInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3QueryInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3QueryInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3QueryInputArgs) ToGoogleCloudDialogflowCxV3QueryInputPtrOutput() GoogleCloudDialogflowCxV3QueryInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3QueryInputPtrOutputWithContext(context.Background()) } @@ -7544,6 +8721,12 @@ func (i *googleCloudDialogflowCxV3QueryInputPtrType) ToGoogleCloudDialogflowCxV3 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3QueryInputPtrOutput) } +func (i *googleCloudDialogflowCxV3QueryInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3QueryInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3QueryInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3QueryInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. 5. DTMF digits to invoke an intent and fill in parameter value. type GoogleCloudDialogflowCxV3QueryInputOutput struct{ *pulumi.OutputState } @@ -7569,6 +8752,12 @@ func (o GoogleCloudDialogflowCxV3QueryInputOutput) ToGoogleCloudDialogflowCxV3Qu }).(GoogleCloudDialogflowCxV3QueryInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3QueryInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3QueryInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3QueryInput]{ + OutputState: o.OutputState, + } +} + // The natural language speech audio to be processed. func (o GoogleCloudDialogflowCxV3QueryInputOutput) Audio() GoogleCloudDialogflowCxV3AudioInputPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3QueryInput) *GoogleCloudDialogflowCxV3AudioInput { return v.Audio }).(GoogleCloudDialogflowCxV3AudioInputPtrOutput) @@ -7613,6 +8802,12 @@ func (o GoogleCloudDialogflowCxV3QueryInputPtrOutput) ToGoogleCloudDialogflowCxV return o } +func (o GoogleCloudDialogflowCxV3QueryInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3QueryInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3QueryInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3QueryInputPtrOutput) Elem() GoogleCloudDialogflowCxV3QueryInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3QueryInput) GoogleCloudDialogflowCxV3QueryInput { if v != nil { @@ -7714,6 +8909,12 @@ func (o GoogleCloudDialogflowCxV3QueryInputResponseOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3QueryInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3QueryInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3QueryInputResponse]{ + OutputState: o.OutputState, + } +} + // The natural language speech audio to be processed. func (o GoogleCloudDialogflowCxV3QueryInputResponseOutput) Audio() GoogleCloudDialogflowCxV3AudioInputResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3QueryInputResponse) GoogleCloudDialogflowCxV3AudioInputResponse { @@ -7817,6 +9018,12 @@ func (i GoogleCloudDialogflowCxV3ResponseMessageArgs) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageOutput) } +func (i GoogleCloudDialogflowCxV3ResponseMessageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessage] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessage]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ResponseMessageArgs) ToGoogleCloudDialogflowCxV3ResponseMessagePtrOutput() GoogleCloudDialogflowCxV3ResponseMessagePtrOutput { return i.ToGoogleCloudDialogflowCxV3ResponseMessagePtrOutputWithContext(context.Background()) } @@ -7858,6 +9065,12 @@ func (i *googleCloudDialogflowCxV3ResponseMessagePtrType) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessagePtrOutput) } +func (i *googleCloudDialogflowCxV3ResponseMessagePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessage] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessage]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessagePtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3ResponseMessageArrayInput is an input type that accepts GoogleCloudDialogflowCxV3ResponseMessageArray and GoogleCloudDialogflowCxV3ResponseMessageArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3ResponseMessageArrayInput` via: // @@ -7883,6 +9096,12 @@ func (i GoogleCloudDialogflowCxV3ResponseMessageArray) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageArrayOutput) } +func (i GoogleCloudDialogflowCxV3ResponseMessageArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessage] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessage]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard. type GoogleCloudDialogflowCxV3ResponseMessageOutput struct{ *pulumi.OutputState } @@ -7908,6 +9127,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageOutput) ToGoogleCloudDialogflowC }).(GoogleCloudDialogflowCxV3ResponseMessagePtrOutput) } +func (o GoogleCloudDialogflowCxV3ResponseMessageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessage] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessage]{ + OutputState: o.OutputState, + } +} + // The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned. func (o GoogleCloudDialogflowCxV3ResponseMessageOutput) Channel() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessage) *string { return v.Channel }).(pulumi.StringPtrOutput) @@ -7974,6 +9199,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessagePtrOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3ResponseMessagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessage] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessagePtrOutput) Elem() GoogleCloudDialogflowCxV3ResponseMessageOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ResponseMessage) GoogleCloudDialogflowCxV3ResponseMessage { if v != nil { @@ -8078,6 +9309,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageArrayOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessage] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessageArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ResponseMessageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ResponseMessage { return vs[0].([]GoogleCloudDialogflowCxV3ResponseMessage)[vs[1].(int)] @@ -8119,6 +9356,12 @@ func (i GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessOutput) } +func (i GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageConversationSuccessOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessArgs) ToGoogleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrOutput() GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrOutput { return i.ToGoogleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrOutputWithContext(context.Background()) } @@ -8160,6 +9403,12 @@ func (i *googleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrType) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrOutput) } +func (i *googleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue. type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessOutput struct{ *pulumi.OutputState } @@ -8185,6 +9434,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessOutput) ToGoo }).(GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrOutput) } +func (o GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess]{ + OutputState: o.OutputState, + } +} + // Custom metadata. Dialogflow doesn't impose any structure on this. func (o GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessOutput) Metadata() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) map[string]string { @@ -8206,6 +9461,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrOutput) To return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessPtrOutput) Elem() GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess { if v != nil { @@ -8247,6 +9508,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessResponseOutpu return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessResponse]{ + OutputState: o.OutputState, + } +} + // Custom metadata. Dialogflow doesn't impose any structure on this. func (o GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessResponseOutput) Metadata() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageConversationSuccessResponse) map[string]string { @@ -8273,6 +9540,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageEndInteractionResponseOutput) To return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageEndInteractionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageEndInteractionResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageEndInteractionResponse]{ + OutputState: o.OutputState, + } +} + // Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { // Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this. @@ -8308,6 +9581,12 @@ func (i GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffOutput) } +func (i GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffArgs) ToGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrOutput() GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrOutput { return i.ToGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrOutputWithContext(context.Background()) } @@ -8349,6 +9628,12 @@ func (i *googleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrOutput) } +func (i *googleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffOutput struct{ *pulumi.OutputState } @@ -8374,6 +9659,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffOutput) ToGoogle }).(GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrOutput) } +func (o GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff]{ + OutputState: o.OutputState, + } +} + // Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this. func (o GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffOutput) Metadata() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) map[string]string { return v.Metadata }).(pulumi.StringMapOutput) @@ -8393,6 +9684,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffPtrOutput) Elem() GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff { if v != nil { @@ -8434,6 +9731,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffResponseOutput) return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffResponse]{ + OutputState: o.OutputState, + } +} + // Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this. func (o GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffResponseOutput) Metadata() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoffResponse) map[string]string { @@ -8462,6 +9765,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageMixedAudioResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageMixedAudioResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageMixedAudioResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageMixedAudioResponse]{ + OutputState: o.OutputState, + } +} + // Segments this audio response is composed of. func (o GoogleCloudDialogflowCxV3ResponseMessageMixedAudioResponseOutput) Segments() GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageMixedAudioResponse) []GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponse { @@ -8494,6 +9803,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponseOutput) return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponse]{ + OutputState: o.OutputState, + } +} + // Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request. func (o GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponseOutput) AllowPlaybackInterruption() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponse) bool { @@ -8525,6 +9840,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponseArrayOu return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponse { return vs[0].([]GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegmentResponse)[vs[1].(int)] @@ -8570,6 +9891,12 @@ func (i GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextOutput) } +func (i GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextArgs) ToGoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrOutput() GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrOutput { return i.ToGoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrOutputWithContext(context.Background()) } @@ -8611,6 +9938,12 @@ func (i *googleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrOutput) } +func (i *googleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrOutputWithContext(ctx).OutputState, + } +} + // A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextOutput struct{ *pulumi.OutputState } @@ -8636,6 +9969,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextOutput) ToGoogleC }).(GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrOutput) } +func (o GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText]{ + OutputState: o.OutputState, + } +} + // The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml). func (o GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextOutput) Ssml() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) *string { return v.Ssml }).(pulumi.StringPtrOutput) @@ -8660,6 +9999,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextPtrOutput) Elem() GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText { if v != nil { @@ -8715,6 +10060,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextResponseOutput) T return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextResponse]{ + OutputState: o.OutputState, + } +} + // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. func (o GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextResponseOutput) AllowPlaybackInterruption() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageOutputAudioTextResponse) bool { @@ -8767,6 +10118,12 @@ func (i GoogleCloudDialogflowCxV3ResponseMessagePlayAudioArgs) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessagePlayAudioOutput) } +func (i GoogleCloudDialogflowCxV3ResponseMessagePlayAudioArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessagePlayAudio] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessagePlayAudioOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ResponseMessagePlayAudioArgs) ToGoogleCloudDialogflowCxV3ResponseMessagePlayAudioPtrOutput() GoogleCloudDialogflowCxV3ResponseMessagePlayAudioPtrOutput { return i.ToGoogleCloudDialogflowCxV3ResponseMessagePlayAudioPtrOutputWithContext(context.Background()) } @@ -8808,6 +10165,12 @@ func (i *googleCloudDialogflowCxV3ResponseMessagePlayAudioPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessagePlayAudioPtrOutput) } +func (i *googleCloudDialogflowCxV3ResponseMessagePlayAudioPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessagePlayAudio] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessagePlayAudioPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies an audio clip to be played by the client as part of the response. type GoogleCloudDialogflowCxV3ResponseMessagePlayAudioOutput struct{ *pulumi.OutputState } @@ -8833,6 +10196,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessagePlayAudioOutput) ToGoogleCloudDi }).(GoogleCloudDialogflowCxV3ResponseMessagePlayAudioPtrOutput) } +func (o GoogleCloudDialogflowCxV3ResponseMessagePlayAudioOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessagePlayAudio] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]{ + OutputState: o.OutputState, + } +} + // URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it. func (o GoogleCloudDialogflowCxV3ResponseMessagePlayAudioOutput) AudioUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) string { return v.AudioUri }).(pulumi.StringOutput) @@ -8852,6 +10221,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessagePlayAudioPtrOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3ResponseMessagePlayAudioPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessagePlayAudio] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessagePlayAudio]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessagePlayAudioPtrOutput) Elem() GoogleCloudDialogflowCxV3ResponseMessagePlayAudioOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) GoogleCloudDialogflowCxV3ResponseMessagePlayAudio { if v != nil { @@ -8895,6 +10270,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessagePlayAudioResponseOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3ResponseMessagePlayAudioResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessagePlayAudioResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessagePlayAudioResponse]{ + OutputState: o.OutputState, + } +} + // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. func (o GoogleCloudDialogflowCxV3ResponseMessagePlayAudioResponseOutput) AllowPlaybackInterruption() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessagePlayAudioResponse) bool { @@ -8946,6 +10327,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageResponse]{ + OutputState: o.OutputState, + } +} + // The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned. func (o GoogleCloudDialogflowCxV3ResponseMessageResponseOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageResponse) string { return v.Channel }).(pulumi.StringOutput) @@ -9026,6 +10413,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessageResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ResponseMessageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ResponseMessageResponse { return vs[0].([]GoogleCloudDialogflowCxV3ResponseMessageResponse)[vs[1].(int)] @@ -9067,6 +10460,12 @@ func (i GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallOutput) } +func (i GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallArgs) ToGoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrOutput() GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrOutput { return i.ToGoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrOutputWithContext(context.Background()) } @@ -9108,6 +10507,12 @@ func (i *googleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrType) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrOutput) } +func (i *googleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. type GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallOutput struct{ *pulumi.OutputState } @@ -9133,6 +10538,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallOutput) ToG }).(GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrOutput) } +func (o GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall]{ + OutputState: o.OutputState, + } +} + // Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/wiki/E.164). func (o GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallOutput) PhoneNumber() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall) *string { return v.PhoneNumber }).(pulumi.StringPtrOutput) @@ -9152,6 +10563,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrOutput) return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallPtrOutput) Elem() GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall) GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall { if v != nil { @@ -9193,6 +10610,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallResponseOut return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallResponse]{ + OutputState: o.OutputState, + } +} + // Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/wiki/E.164). func (o GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallResponseOutput) PhoneNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCallResponse) string { @@ -9235,6 +10658,12 @@ func (i GoogleCloudDialogflowCxV3ResponseMessageTextArgs) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageTextOutput) } +func (i GoogleCloudDialogflowCxV3ResponseMessageTextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageText] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageText]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageTextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3ResponseMessageTextArgs) ToGoogleCloudDialogflowCxV3ResponseMessageTextPtrOutput() GoogleCloudDialogflowCxV3ResponseMessageTextPtrOutput { return i.ToGoogleCloudDialogflowCxV3ResponseMessageTextPtrOutputWithContext(context.Background()) } @@ -9276,6 +10705,12 @@ func (i *googleCloudDialogflowCxV3ResponseMessageTextPtrType) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageTextPtrOutput) } +func (i *googleCloudDialogflowCxV3ResponseMessageTextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageText] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageText]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageTextPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3ResponseMessageTextArrayInput is an input type that accepts GoogleCloudDialogflowCxV3ResponseMessageTextArray and GoogleCloudDialogflowCxV3ResponseMessageTextArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3ResponseMessageTextArrayInput` via: // @@ -9301,6 +10736,12 @@ func (i GoogleCloudDialogflowCxV3ResponseMessageTextArray) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3ResponseMessageTextArrayOutput) } +func (i GoogleCloudDialogflowCxV3ResponseMessageTextArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessageText] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessageText]{ + OutputState: i.ToGoogleCloudDialogflowCxV3ResponseMessageTextArrayOutputWithContext(ctx).OutputState, + } +} + // The text response message. type GoogleCloudDialogflowCxV3ResponseMessageTextOutput struct{ *pulumi.OutputState } @@ -9326,6 +10767,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageTextOutput) ToGoogleCloudDialogf }).(GoogleCloudDialogflowCxV3ResponseMessageTextPtrOutput) } +func (o GoogleCloudDialogflowCxV3ResponseMessageTextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageText] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageText]{ + OutputState: o.OutputState, + } +} + // A collection of text responses. func (o GoogleCloudDialogflowCxV3ResponseMessageTextOutput) Text() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageText) []string { return v.Text }).(pulumi.StringArrayOutput) @@ -9345,6 +10792,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageTextPtrOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageTextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageText] { + return pulumix.Output[*GoogleCloudDialogflowCxV3ResponseMessageText]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessageTextPtrOutput) Elem() GoogleCloudDialogflowCxV3ResponseMessageTextOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3ResponseMessageText) GoogleCloudDialogflowCxV3ResponseMessageText { if v != nil { @@ -9379,6 +10832,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageTextArrayOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageTextArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessageText] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessageText]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessageTextArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ResponseMessageTextOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ResponseMessageText { return vs[0].([]GoogleCloudDialogflowCxV3ResponseMessageText)[vs[1].(int)] @@ -9408,6 +10867,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageTextResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageTextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageTextResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3ResponseMessageTextResponse]{ + OutputState: o.OutputState, + } +} + // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. func (o GoogleCloudDialogflowCxV3ResponseMessageTextResponseOutput) AllowPlaybackInterruption() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3ResponseMessageTextResponse) bool { return v.AllowPlaybackInterruption }).(pulumi.BoolOutput) @@ -9432,6 +10897,12 @@ func (o GoogleCloudDialogflowCxV3ResponseMessageTextResponseArrayOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3ResponseMessageTextResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessageTextResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3ResponseMessageTextResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3ResponseMessageTextResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3ResponseMessageTextResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3ResponseMessageTextResponse { return vs[0].([]GoogleCloudDialogflowCxV3ResponseMessageTextResponse)[vs[1].(int)] @@ -9481,6 +10952,12 @@ func (i GoogleCloudDialogflowCxV3RolloutConfigArgs) ToGoogleCloudDialogflowCxV3R return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3RolloutConfigOutput) } +func (i GoogleCloudDialogflowCxV3RolloutConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3RolloutConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3RolloutConfigArgs) ToGoogleCloudDialogflowCxV3RolloutConfigPtrOutput() GoogleCloudDialogflowCxV3RolloutConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3RolloutConfigPtrOutputWithContext(context.Background()) } @@ -9522,6 +10999,12 @@ func (i *googleCloudDialogflowCxV3RolloutConfigPtrType) ToGoogleCloudDialogflowC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3RolloutConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3RolloutConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3RolloutConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3RolloutConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3RolloutConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for auto rollout. type GoogleCloudDialogflowCxV3RolloutConfigOutput struct{ *pulumi.OutputState } @@ -9547,6 +11030,12 @@ func (o GoogleCloudDialogflowCxV3RolloutConfigOutput) ToGoogleCloudDialogflowCxV }).(GoogleCloudDialogflowCxV3RolloutConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3RolloutConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfig]{ + OutputState: o.OutputState, + } +} + // The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. "containment_rate < 10% OR average_turn_count < 3". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). func (o GoogleCloudDialogflowCxV3RolloutConfigOutput) FailureCondition() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3RolloutConfig) *string { return v.FailureCondition }).(pulumi.StringPtrOutput) @@ -9578,6 +11067,12 @@ func (o GoogleCloudDialogflowCxV3RolloutConfigPtrOutput) ToGoogleCloudDialogflow return o } +func (o GoogleCloudDialogflowCxV3RolloutConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3RolloutConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3RolloutConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3RolloutConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3RolloutConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3RolloutConfig) GoogleCloudDialogflowCxV3RolloutConfig { if v != nil { @@ -9643,6 +11138,12 @@ func (o GoogleCloudDialogflowCxV3RolloutConfigResponseOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowCxV3RolloutConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfigResponse]{ + OutputState: o.OutputState, + } +} + // The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. "containment_rate < 10% OR average_turn_count < 3". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). func (o GoogleCloudDialogflowCxV3RolloutConfigResponseOutput) FailureCondition() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3RolloutConfigResponse) string { return v.FailureCondition }).(pulumi.StringOutput) @@ -9703,6 +11204,12 @@ func (i GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArgs) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3RolloutConfigRolloutStepOutput) } +func (i GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfigRolloutStep] { + return pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfigRolloutStep]{ + OutputState: i.ToGoogleCloudDialogflowCxV3RolloutConfigRolloutStepOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArrayInput is an input type that accepts GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArray and GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArrayInput` via: // @@ -9728,6 +11235,12 @@ func (i GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArray) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArrayOutput) } +func (i GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3RolloutConfigRolloutStep] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3RolloutConfigRolloutStep]{ + OutputState: i.ToGoogleCloudDialogflowCxV3RolloutConfigRolloutStepArrayOutputWithContext(ctx).OutputState, + } +} + // A single rollout step with specified traffic allocation. type GoogleCloudDialogflowCxV3RolloutConfigRolloutStepOutput struct{ *pulumi.OutputState } @@ -9743,6 +11256,12 @@ func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfigRolloutStep] { + return pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfigRolloutStep]{ + OutputState: o.OutputState, + } +} + // The name of the rollout step; func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3RolloutConfigRolloutStep) *string { return v.DisplayName }).(pulumi.StringPtrOutput) @@ -9772,6 +11291,12 @@ func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3RolloutConfigRolloutStep] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3RolloutConfigRolloutStep]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3RolloutConfigRolloutStepOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3RolloutConfigRolloutStep { return vs[0].([]GoogleCloudDialogflowCxV3RolloutConfigRolloutStep)[vs[1].(int)] @@ -9803,6 +11328,12 @@ func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponseOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponse]{ + OutputState: o.OutputState, + } +} + // The name of the rollout step; func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -9832,6 +11363,12 @@ func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponseArrayOutput) To return o } +func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponse { return vs[0].([]GoogleCloudDialogflowCxV3RolloutConfigRolloutStepResponse)[vs[1].(int)] @@ -9881,6 +11418,12 @@ func (i GoogleCloudDialogflowCxV3RolloutStateArgs) ToGoogleCloudDialogflowCxV3Ro return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3RolloutStateOutput) } +func (i GoogleCloudDialogflowCxV3RolloutStateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3RolloutState] { + return pulumix.Output[GoogleCloudDialogflowCxV3RolloutState]{ + OutputState: i.ToGoogleCloudDialogflowCxV3RolloutStateOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3RolloutStateArgs) ToGoogleCloudDialogflowCxV3RolloutStatePtrOutput() GoogleCloudDialogflowCxV3RolloutStatePtrOutput { return i.ToGoogleCloudDialogflowCxV3RolloutStatePtrOutputWithContext(context.Background()) } @@ -9922,6 +11465,12 @@ func (i *googleCloudDialogflowCxV3RolloutStatePtrType) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3RolloutStatePtrOutput) } +func (i *googleCloudDialogflowCxV3RolloutStatePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3RolloutState] { + return pulumix.Output[*GoogleCloudDialogflowCxV3RolloutState]{ + OutputState: i.ToGoogleCloudDialogflowCxV3RolloutStatePtrOutputWithContext(ctx).OutputState, + } +} + // State of the auto-rollout process. type GoogleCloudDialogflowCxV3RolloutStateOutput struct{ *pulumi.OutputState } @@ -9947,6 +11496,12 @@ func (o GoogleCloudDialogflowCxV3RolloutStateOutput) ToGoogleCloudDialogflowCxV3 }).(GoogleCloudDialogflowCxV3RolloutStatePtrOutput) } +func (o GoogleCloudDialogflowCxV3RolloutStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3RolloutState] { + return pulumix.Output[GoogleCloudDialogflowCxV3RolloutState]{ + OutputState: o.OutputState, + } +} + // Start time of the current step. func (o GoogleCloudDialogflowCxV3RolloutStateOutput) StartTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3RolloutState) *string { return v.StartTime }).(pulumi.StringPtrOutput) @@ -9976,6 +11531,12 @@ func (o GoogleCloudDialogflowCxV3RolloutStatePtrOutput) ToGoogleCloudDialogflowC return o } +func (o GoogleCloudDialogflowCxV3RolloutStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3RolloutState] { + return pulumix.Output[*GoogleCloudDialogflowCxV3RolloutState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3RolloutStatePtrOutput) Elem() GoogleCloudDialogflowCxV3RolloutStateOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3RolloutState) GoogleCloudDialogflowCxV3RolloutState { if v != nil { @@ -10041,6 +11602,12 @@ func (o GoogleCloudDialogflowCxV3RolloutStateResponseOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3RolloutStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3RolloutStateResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3RolloutStateResponse]{ + OutputState: o.OutputState, + } +} + // Start time of the current step. func (o GoogleCloudDialogflowCxV3RolloutStateResponseOutput) StartTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3RolloutStateResponse) string { return v.StartTime }).(pulumi.StringOutput) @@ -10103,6 +11670,12 @@ func (i GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsArgs) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsOutput) } +func (i GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsArgs) ToGoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrOutput() GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrOutputWithContext(context.Background()) } @@ -10144,6 +11717,12 @@ func (i *googleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrType) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for exporting audio. type GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsOutput struct{ *pulumi.OutputState } @@ -10169,6 +11748,12 @@ func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsOutput) ToGo }).(GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings]{ + OutputState: o.OutputState, + } +} + // Filename pattern for exported audio. func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsOutput) AudioExportPattern() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings) *string { @@ -10209,6 +11794,12 @@ func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrOutput) T return o } +func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings) GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings { if v != nil { @@ -10286,6 +11877,12 @@ func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsResponseOutp return o } +func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Filename pattern for exported audio. func (o GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsResponseOutput) AudioExportPattern() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsResponse) string { @@ -10349,6 +11946,12 @@ func (i GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsArgs) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsOutput) } +func (i GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsArgs) ToGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrOutput() GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrOutputWithContext(context.Background()) } @@ -10390,6 +11993,12 @@ func (i *googleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrType) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for exporting conversations to [Insights](https://cloud.google.com/contact-center/insights/docs). type GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsOutput struct{ *pulumi.OutputState } @@ -10415,6 +12024,12 @@ func (o GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsOutput) T }).(GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings]{ + OutputState: o.OutputState, + } +} + // If enabled, we will automatically exports conversations to Insights and Insights runs its analyzers. func (o GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsOutput) EnableInsightsExport() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings) *bool { @@ -10436,6 +12051,12 @@ func (o GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrOutput return o } +func (o GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings) GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings { if v != nil { @@ -10477,6 +12098,12 @@ func (o GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsResponseO return o } +func (o GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsResponse]{ + OutputState: o.OutputState, + } +} + // If enabled, we will automatically exports conversations to Insights and Insights runs its analyzers. func (o GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsResponseOutput) EnableInsightsExport() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettingsResponse) bool { @@ -10519,6 +12146,12 @@ func (i GoogleCloudDialogflowCxV3SpeechToTextSettingsArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3SpeechToTextSettingsOutput) } +func (i GoogleCloudDialogflowCxV3SpeechToTextSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3SpeechToTextSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3SpeechToTextSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3SpeechToTextSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3SpeechToTextSettingsArgs) ToGoogleCloudDialogflowCxV3SpeechToTextSettingsPtrOutput() GoogleCloudDialogflowCxV3SpeechToTextSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3SpeechToTextSettingsPtrOutputWithContext(context.Background()) } @@ -10560,6 +12193,12 @@ func (i *googleCloudDialogflowCxV3SpeechToTextSettingsPtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3SpeechToTextSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3SpeechToTextSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3SpeechToTextSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3SpeechToTextSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3SpeechToTextSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings related to speech recognition. type GoogleCloudDialogflowCxV3SpeechToTextSettingsOutput struct{ *pulumi.OutputState } @@ -10585,6 +12224,12 @@ func (o GoogleCloudDialogflowCxV3SpeechToTextSettingsOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowCxV3SpeechToTextSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3SpeechToTextSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3SpeechToTextSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3SpeechToTextSettings]{ + OutputState: o.OutputState, + } +} + // Whether to use speech adaptation for speech recognition. func (o GoogleCloudDialogflowCxV3SpeechToTextSettingsOutput) EnableSpeechAdaptation() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3SpeechToTextSettings) *bool { return v.EnableSpeechAdaptation }).(pulumi.BoolPtrOutput) @@ -10604,6 +12249,12 @@ func (o GoogleCloudDialogflowCxV3SpeechToTextSettingsPtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3SpeechToTextSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3SpeechToTextSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3SpeechToTextSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3SpeechToTextSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3SpeechToTextSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3SpeechToTextSettings) GoogleCloudDialogflowCxV3SpeechToTextSettings { if v != nil { @@ -10645,6 +12296,12 @@ func (o GoogleCloudDialogflowCxV3SpeechToTextSettingsResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3SpeechToTextSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3SpeechToTextSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3SpeechToTextSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Whether to use speech adaptation for speech recognition. func (o GoogleCloudDialogflowCxV3SpeechToTextSettingsResponseOutput) EnableSpeechAdaptation() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3SpeechToTextSettingsResponse) bool { return v.EnableSpeechAdaptation }).(pulumi.BoolOutput) @@ -10701,6 +12358,12 @@ func (i GoogleCloudDialogflowCxV3TestCaseResultArgs) ToGoogleCloudDialogflowCxV3 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3TestCaseResultOutput) } +func (i GoogleCloudDialogflowCxV3TestCaseResultArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TestCaseResult] { + return pulumix.Output[GoogleCloudDialogflowCxV3TestCaseResult]{ + OutputState: i.ToGoogleCloudDialogflowCxV3TestCaseResultOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3TestCaseResultArgs) ToGoogleCloudDialogflowCxV3TestCaseResultPtrOutput() GoogleCloudDialogflowCxV3TestCaseResultPtrOutput { return i.ToGoogleCloudDialogflowCxV3TestCaseResultPtrOutputWithContext(context.Background()) } @@ -10742,6 +12405,12 @@ func (i *googleCloudDialogflowCxV3TestCaseResultPtrType) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3TestCaseResultPtrOutput) } +func (i *googleCloudDialogflowCxV3TestCaseResultPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3TestCaseResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3TestCaseResult]{ + OutputState: i.ToGoogleCloudDialogflowCxV3TestCaseResultPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a result from running a test case in an agent environment. type GoogleCloudDialogflowCxV3TestCaseResultOutput struct{ *pulumi.OutputState } @@ -10767,6 +12436,12 @@ func (o GoogleCloudDialogflowCxV3TestCaseResultOutput) ToGoogleCloudDialogflowCx }).(GoogleCloudDialogflowCxV3TestCaseResultPtrOutput) } +func (o GoogleCloudDialogflowCxV3TestCaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TestCaseResult] { + return pulumix.Output[GoogleCloudDialogflowCxV3TestCaseResult]{ + OutputState: o.OutputState, + } +} + // The conversation turns uttered during the test case replay in chronological order. func (o GoogleCloudDialogflowCxV3TestCaseResultOutput) ConversationTurns() GoogleCloudDialogflowCxV3ConversationTurnArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TestCaseResult) []GoogleCloudDialogflowCxV3ConversationTurn { @@ -10810,6 +12485,12 @@ func (o GoogleCloudDialogflowCxV3TestCaseResultPtrOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3TestCaseResultPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3TestCaseResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3TestCaseResult]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3TestCaseResultPtrOutput) Elem() GoogleCloudDialogflowCxV3TestCaseResultOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3TestCaseResult) GoogleCloudDialogflowCxV3TestCaseResult { if v != nil { @@ -10899,6 +12580,12 @@ func (o GoogleCloudDialogflowCxV3TestCaseResultResponseOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowCxV3TestCaseResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TestCaseResultResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3TestCaseResultResponse]{ + OutputState: o.OutputState, + } +} + // The conversation turns uttered during the test case replay in chronological order. func (o GoogleCloudDialogflowCxV3TestCaseResultResponseOutput) ConversationTurns() GoogleCloudDialogflowCxV3ConversationTurnResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TestCaseResultResponse) []GoogleCloudDialogflowCxV3ConversationTurnResponse { @@ -10969,6 +12656,12 @@ func (i GoogleCloudDialogflowCxV3TestConfigArgs) ToGoogleCloudDialogflowCxV3Test return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3TestConfigOutput) } +func (i GoogleCloudDialogflowCxV3TestConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TestConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3TestConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3TestConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3TestConfigArgs) ToGoogleCloudDialogflowCxV3TestConfigPtrOutput() GoogleCloudDialogflowCxV3TestConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3TestConfigPtrOutputWithContext(context.Background()) } @@ -11010,6 +12703,12 @@ func (i *googleCloudDialogflowCxV3TestConfigPtrType) ToGoogleCloudDialogflowCxV3 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3TestConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3TestConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3TestConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3TestConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3TestConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents configurations for a test case. type GoogleCloudDialogflowCxV3TestConfigOutput struct{ *pulumi.OutputState } @@ -11035,6 +12734,12 @@ func (o GoogleCloudDialogflowCxV3TestConfigOutput) ToGoogleCloudDialogflowCxV3Te }).(GoogleCloudDialogflowCxV3TestConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3TestConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TestConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3TestConfig]{ + OutputState: o.OutputState, + } +} + // Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. func (o GoogleCloudDialogflowCxV3TestConfigOutput) Flow() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TestConfig) *string { return v.Flow }).(pulumi.StringPtrOutput) @@ -11064,6 +12769,12 @@ func (o GoogleCloudDialogflowCxV3TestConfigPtrOutput) ToGoogleCloudDialogflowCxV return o } +func (o GoogleCloudDialogflowCxV3TestConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3TestConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3TestConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3TestConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3TestConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3TestConfig) GoogleCloudDialogflowCxV3TestConfig { if v != nil { @@ -11129,6 +12840,12 @@ func (o GoogleCloudDialogflowCxV3TestConfigResponseOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3TestConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TestConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3TestConfigResponse]{ + OutputState: o.OutputState, + } +} + // Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. func (o GoogleCloudDialogflowCxV3TestConfigResponseOutput) Flow() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TestConfigResponse) string { return v.Flow }).(pulumi.StringOutput) @@ -11167,6 +12884,12 @@ func (o GoogleCloudDialogflowCxV3TestRunDifferenceResponseOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3TestRunDifferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TestRunDifferenceResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3TestRunDifferenceResponse]{ + OutputState: o.OutputState, + } +} + // A description of the diff, showing the actual output vs expected output. func (o GoogleCloudDialogflowCxV3TestRunDifferenceResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TestRunDifferenceResponse) string { return v.Description }).(pulumi.StringOutput) @@ -11191,6 +12914,12 @@ func (o GoogleCloudDialogflowCxV3TestRunDifferenceResponseArrayOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowCxV3TestRunDifferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3TestRunDifferenceResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3TestRunDifferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3TestRunDifferenceResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3TestRunDifferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3TestRunDifferenceResponse { return vs[0].([]GoogleCloudDialogflowCxV3TestRunDifferenceResponse)[vs[1].(int)] @@ -11232,6 +12961,12 @@ func (i GoogleCloudDialogflowCxV3TextInputArgs) ToGoogleCloudDialogflowCxV3TextI return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3TextInputOutput) } +func (i GoogleCloudDialogflowCxV3TextInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TextInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3TextInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3TextInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3TextInputArgs) ToGoogleCloudDialogflowCxV3TextInputPtrOutput() GoogleCloudDialogflowCxV3TextInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3TextInputPtrOutputWithContext(context.Background()) } @@ -11273,6 +13008,12 @@ func (i *googleCloudDialogflowCxV3TextInputPtrType) ToGoogleCloudDialogflowCxV3T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3TextInputPtrOutput) } +func (i *googleCloudDialogflowCxV3TextInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3TextInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3TextInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3TextInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the natural language text to be processed. type GoogleCloudDialogflowCxV3TextInputOutput struct{ *pulumi.OutputState } @@ -11298,6 +13039,12 @@ func (o GoogleCloudDialogflowCxV3TextInputOutput) ToGoogleCloudDialogflowCxV3Tex }).(GoogleCloudDialogflowCxV3TextInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3TextInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TextInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3TextInput]{ + OutputState: o.OutputState, + } +} + // The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters. func (o GoogleCloudDialogflowCxV3TextInputOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TextInput) string { return v.Text }).(pulumi.StringOutput) @@ -11317,6 +13064,12 @@ func (o GoogleCloudDialogflowCxV3TextInputPtrOutput) ToGoogleCloudDialogflowCxV3 return o } +func (o GoogleCloudDialogflowCxV3TextInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3TextInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3TextInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3TextInputPtrOutput) Elem() GoogleCloudDialogflowCxV3TextInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3TextInput) GoogleCloudDialogflowCxV3TextInput { if v != nil { @@ -11358,6 +13111,12 @@ func (o GoogleCloudDialogflowCxV3TextInputResponseOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3TextInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TextInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3TextInputResponse]{ + OutputState: o.OutputState, + } +} + // The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters. func (o GoogleCloudDialogflowCxV3TextInputResponseOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TextInputResponse) string { return v.Text }).(pulumi.StringOutput) @@ -11398,6 +13157,12 @@ func (i GoogleCloudDialogflowCxV3TextToSpeechSettingsArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3TextToSpeechSettingsOutput) } +func (i GoogleCloudDialogflowCxV3TextToSpeechSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TextToSpeechSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3TextToSpeechSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3TextToSpeechSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3TextToSpeechSettingsArgs) ToGoogleCloudDialogflowCxV3TextToSpeechSettingsPtrOutput() GoogleCloudDialogflowCxV3TextToSpeechSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3TextToSpeechSettingsPtrOutputWithContext(context.Background()) } @@ -11439,6 +13204,12 @@ func (i *googleCloudDialogflowCxV3TextToSpeechSettingsPtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3TextToSpeechSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3TextToSpeechSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3TextToSpeechSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3TextToSpeechSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3TextToSpeechSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings related to speech synthesizing. type GoogleCloudDialogflowCxV3TextToSpeechSettingsOutput struct{ *pulumi.OutputState } @@ -11464,6 +13235,12 @@ func (o GoogleCloudDialogflowCxV3TextToSpeechSettingsOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowCxV3TextToSpeechSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3TextToSpeechSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TextToSpeechSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3TextToSpeechSettings]{ + OutputState: o.OutputState, + } +} + // Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig. These settings affect: - The synthesize configuration used in [phone gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway). - You no longer need to specify OutputAudioConfig.synthesize_speech_config when invoking API calls. Your agent will use the pre-configured options for speech synthesizing. func (o GoogleCloudDialogflowCxV3TextToSpeechSettingsOutput) SynthesizeSpeechConfigs() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TextToSpeechSettings) map[string]string { @@ -11485,6 +13262,12 @@ func (o GoogleCloudDialogflowCxV3TextToSpeechSettingsPtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3TextToSpeechSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3TextToSpeechSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3TextToSpeechSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3TextToSpeechSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3TextToSpeechSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3TextToSpeechSettings) GoogleCloudDialogflowCxV3TextToSpeechSettings { if v != nil { @@ -11526,6 +13309,12 @@ func (o GoogleCloudDialogflowCxV3TextToSpeechSettingsResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3TextToSpeechSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TextToSpeechSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3TextToSpeechSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig. These settings affect: - The synthesize configuration used in [phone gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway). - You no longer need to specify OutputAudioConfig.synthesize_speech_config when invoking API calls. Your agent will use the pre-configured options for speech synthesizing. func (o GoogleCloudDialogflowCxV3TextToSpeechSettingsResponseOutput) SynthesizeSpeechConfigs() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TextToSpeechSettingsResponse) map[string]string { @@ -11584,6 +13373,12 @@ func (i GoogleCloudDialogflowCxV3TransitionRouteArgs) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3TransitionRouteOutput) } +func (i GoogleCloudDialogflowCxV3TransitionRouteArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TransitionRoute] { + return pulumix.Output[GoogleCloudDialogflowCxV3TransitionRoute]{ + OutputState: i.ToGoogleCloudDialogflowCxV3TransitionRouteOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3TransitionRouteArrayInput is an input type that accepts GoogleCloudDialogflowCxV3TransitionRouteArray and GoogleCloudDialogflowCxV3TransitionRouteArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3TransitionRouteArrayInput` via: // @@ -11609,6 +13404,12 @@ func (i GoogleCloudDialogflowCxV3TransitionRouteArray) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3TransitionRouteArrayOutput) } +func (i GoogleCloudDialogflowCxV3TransitionRouteArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3TransitionRoute] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3TransitionRoute]{ + OutputState: i.ToGoogleCloudDialogflowCxV3TransitionRouteArrayOutputWithContext(ctx).OutputState, + } +} + // A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow. type GoogleCloudDialogflowCxV3TransitionRouteOutput struct{ *pulumi.OutputState } @@ -11624,6 +13425,12 @@ func (o GoogleCloudDialogflowCxV3TransitionRouteOutput) ToGoogleCloudDialogflowC return o } +func (o GoogleCloudDialogflowCxV3TransitionRouteOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TransitionRoute] { + return pulumix.Output[GoogleCloudDialogflowCxV3TransitionRoute]{ + OutputState: o.OutputState, + } +} + // The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled. func (o GoogleCloudDialogflowCxV3TransitionRouteOutput) Condition() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TransitionRoute) *string { return v.Condition }).(pulumi.StringPtrOutput) @@ -11665,6 +13472,12 @@ func (o GoogleCloudDialogflowCxV3TransitionRouteArrayOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3TransitionRouteArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3TransitionRoute] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3TransitionRoute]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3TransitionRouteArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3TransitionRouteOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3TransitionRoute { return vs[0].([]GoogleCloudDialogflowCxV3TransitionRoute)[vs[1].(int)] @@ -11702,6 +13515,12 @@ func (o GoogleCloudDialogflowCxV3TransitionRouteResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3TransitionRouteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3TransitionRouteResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3TransitionRouteResponse]{ + OutputState: o.OutputState, + } +} + // The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled. func (o GoogleCloudDialogflowCxV3TransitionRouteResponseOutput) Condition() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3TransitionRouteResponse) string { return v.Condition }).(pulumi.StringOutput) @@ -11748,6 +13567,12 @@ func (o GoogleCloudDialogflowCxV3TransitionRouteResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3TransitionRouteResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3TransitionRouteResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3TransitionRouteResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3TransitionRouteResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3TransitionRouteResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3TransitionRouteResponse { return vs[0].([]GoogleCloudDialogflowCxV3TransitionRouteResponse)[vs[1].(int)] @@ -11793,6 +13618,12 @@ func (i GoogleCloudDialogflowCxV3VariantsHistoryArgs) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3VariantsHistoryOutput) } +func (i GoogleCloudDialogflowCxV3VariantsHistoryArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3VariantsHistory] { + return pulumix.Output[GoogleCloudDialogflowCxV3VariantsHistory]{ + OutputState: i.ToGoogleCloudDialogflowCxV3VariantsHistoryOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3VariantsHistoryArrayInput is an input type that accepts GoogleCloudDialogflowCxV3VariantsHistoryArray and GoogleCloudDialogflowCxV3VariantsHistoryArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3VariantsHistoryArrayInput` via: // @@ -11818,6 +13649,12 @@ func (i GoogleCloudDialogflowCxV3VariantsHistoryArray) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3VariantsHistoryArrayOutput) } +func (i GoogleCloudDialogflowCxV3VariantsHistoryArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3VariantsHistory] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3VariantsHistory]{ + OutputState: i.ToGoogleCloudDialogflowCxV3VariantsHistoryArrayOutputWithContext(ctx).OutputState, + } +} + // The history of variants update. type GoogleCloudDialogflowCxV3VariantsHistoryOutput struct{ *pulumi.OutputState } @@ -11833,6 +13670,12 @@ func (o GoogleCloudDialogflowCxV3VariantsHistoryOutput) ToGoogleCloudDialogflowC return o } +func (o GoogleCloudDialogflowCxV3VariantsHistoryOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3VariantsHistory] { + return pulumix.Output[GoogleCloudDialogflowCxV3VariantsHistory]{ + OutputState: o.OutputState, + } +} + // Update time of the variants. func (o GoogleCloudDialogflowCxV3VariantsHistoryOutput) UpdateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3VariantsHistory) *string { return v.UpdateTime }).(pulumi.StringPtrOutput) @@ -11859,6 +13702,12 @@ func (o GoogleCloudDialogflowCxV3VariantsHistoryArrayOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3VariantsHistoryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3VariantsHistory] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3VariantsHistory]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3VariantsHistoryArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3VariantsHistoryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3VariantsHistory { return vs[0].([]GoogleCloudDialogflowCxV3VariantsHistory)[vs[1].(int)] @@ -11888,6 +13737,12 @@ func (o GoogleCloudDialogflowCxV3VariantsHistoryResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3VariantsHistoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3VariantsHistoryResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3VariantsHistoryResponse]{ + OutputState: o.OutputState, + } +} + // Update time of the variants. func (o GoogleCloudDialogflowCxV3VariantsHistoryResponseOutput) UpdateTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3VariantsHistoryResponse) string { return v.UpdateTime }).(pulumi.StringOutput) @@ -11914,6 +13769,12 @@ func (o GoogleCloudDialogflowCxV3VariantsHistoryResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3VariantsHistoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3VariantsHistoryResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3VariantsHistoryResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3VariantsHistoryResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3VariantsHistoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3VariantsHistoryResponse { return vs[0].([]GoogleCloudDialogflowCxV3VariantsHistoryResponse)[vs[1].(int)] @@ -11955,6 +13816,12 @@ func (i GoogleCloudDialogflowCxV3VersionVariantsArgs) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3VersionVariantsOutput) } +func (i GoogleCloudDialogflowCxV3VersionVariantsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3VersionVariants] { + return pulumix.Output[GoogleCloudDialogflowCxV3VersionVariants]{ + OutputState: i.ToGoogleCloudDialogflowCxV3VersionVariantsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3VersionVariantsArgs) ToGoogleCloudDialogflowCxV3VersionVariantsPtrOutput() GoogleCloudDialogflowCxV3VersionVariantsPtrOutput { return i.ToGoogleCloudDialogflowCxV3VersionVariantsPtrOutputWithContext(context.Background()) } @@ -11996,6 +13863,12 @@ func (i *googleCloudDialogflowCxV3VersionVariantsPtrType) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3VersionVariantsPtrOutput) } +func (i *googleCloudDialogflowCxV3VersionVariantsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3VersionVariants] { + return pulumix.Output[*GoogleCloudDialogflowCxV3VersionVariants]{ + OutputState: i.ToGoogleCloudDialogflowCxV3VersionVariantsPtrOutputWithContext(ctx).OutputState, + } +} + // A list of flow version variants. type GoogleCloudDialogflowCxV3VersionVariantsOutput struct{ *pulumi.OutputState } @@ -12021,6 +13894,12 @@ func (o GoogleCloudDialogflowCxV3VersionVariantsOutput) ToGoogleCloudDialogflowC }).(GoogleCloudDialogflowCxV3VersionVariantsPtrOutput) } +func (o GoogleCloudDialogflowCxV3VersionVariantsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3VersionVariants] { + return pulumix.Output[GoogleCloudDialogflowCxV3VersionVariants]{ + OutputState: o.OutputState, + } +} + // A list of flow version variants. func (o GoogleCloudDialogflowCxV3VersionVariantsOutput) Variants() GoogleCloudDialogflowCxV3VersionVariantsVariantArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3VersionVariants) []GoogleCloudDialogflowCxV3VersionVariantsVariant { @@ -12042,6 +13921,12 @@ func (o GoogleCloudDialogflowCxV3VersionVariantsPtrOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3VersionVariantsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3VersionVariants] { + return pulumix.Output[*GoogleCloudDialogflowCxV3VersionVariants]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3VersionVariantsPtrOutput) Elem() GoogleCloudDialogflowCxV3VersionVariantsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3VersionVariants) GoogleCloudDialogflowCxV3VersionVariants { if v != nil { @@ -12083,6 +13968,12 @@ func (o GoogleCloudDialogflowCxV3VersionVariantsResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3VersionVariantsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3VersionVariantsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3VersionVariantsResponse]{ + OutputState: o.OutputState, + } +} + // A list of flow version variants. func (o GoogleCloudDialogflowCxV3VersionVariantsResponseOutput) Variants() GoogleCloudDialogflowCxV3VersionVariantsVariantResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3VersionVariantsResponse) []GoogleCloudDialogflowCxV3VersionVariantsVariantResponse { @@ -12133,6 +14024,12 @@ func (i GoogleCloudDialogflowCxV3VersionVariantsVariantArgs) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3VersionVariantsVariantOutput) } +func (i GoogleCloudDialogflowCxV3VersionVariantsVariantArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3VersionVariantsVariant] { + return pulumix.Output[GoogleCloudDialogflowCxV3VersionVariantsVariant]{ + OutputState: i.ToGoogleCloudDialogflowCxV3VersionVariantsVariantOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3VersionVariantsVariantArrayInput is an input type that accepts GoogleCloudDialogflowCxV3VersionVariantsVariantArray and GoogleCloudDialogflowCxV3VersionVariantsVariantArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3VersionVariantsVariantArrayInput` via: // @@ -12158,6 +14055,12 @@ func (i GoogleCloudDialogflowCxV3VersionVariantsVariantArray) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3VersionVariantsVariantArrayOutput) } +func (i GoogleCloudDialogflowCxV3VersionVariantsVariantArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3VersionVariantsVariant] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3VersionVariantsVariant]{ + OutputState: i.ToGoogleCloudDialogflowCxV3VersionVariantsVariantArrayOutputWithContext(ctx).OutputState, + } +} + // A single flow version with specified traffic allocation. type GoogleCloudDialogflowCxV3VersionVariantsVariantOutput struct{ *pulumi.OutputState } @@ -12173,6 +14076,12 @@ func (o GoogleCloudDialogflowCxV3VersionVariantsVariantOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowCxV3VersionVariantsVariantOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3VersionVariantsVariant] { + return pulumix.Output[GoogleCloudDialogflowCxV3VersionVariantsVariant]{ + OutputState: o.OutputState, + } +} + // Whether the variant is for the control group. func (o GoogleCloudDialogflowCxV3VersionVariantsVariantOutput) IsControlGroup() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3VersionVariantsVariant) *bool { return v.IsControlGroup }).(pulumi.BoolPtrOutput) @@ -12202,6 +14111,12 @@ func (o GoogleCloudDialogflowCxV3VersionVariantsVariantArrayOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3VersionVariantsVariantArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3VersionVariantsVariant] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3VersionVariantsVariant]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3VersionVariantsVariantArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3VersionVariantsVariantOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3VersionVariantsVariant { return vs[0].([]GoogleCloudDialogflowCxV3VersionVariantsVariant)[vs[1].(int)] @@ -12233,6 +14148,12 @@ func (o GoogleCloudDialogflowCxV3VersionVariantsVariantResponseOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowCxV3VersionVariantsVariantResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3VersionVariantsVariantResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3VersionVariantsVariantResponse]{ + OutputState: o.OutputState, + } +} + // Whether the variant is for the control group. func (o GoogleCloudDialogflowCxV3VersionVariantsVariantResponseOutput) IsControlGroup() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3VersionVariantsVariantResponse) bool { return v.IsControlGroup }).(pulumi.BoolOutput) @@ -12262,6 +14183,12 @@ func (o GoogleCloudDialogflowCxV3VersionVariantsVariantResponseArrayOutput) ToGo return o } +func (o GoogleCloudDialogflowCxV3VersionVariantsVariantResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3VersionVariantsVariantResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3VersionVariantsVariantResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3VersionVariantsVariantResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3VersionVariantsVariantResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3VersionVariantsVariantResponse { return vs[0].([]GoogleCloudDialogflowCxV3VersionVariantsVariantResponse)[vs[1].(int)] @@ -12323,6 +14250,12 @@ func (i GoogleCloudDialogflowCxV3WebhookArgs) ToGoogleCloudDialogflowCxV3Webhook return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3WebhookOutput) } +func (i GoogleCloudDialogflowCxV3WebhookArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3Webhook] { + return pulumix.Output[GoogleCloudDialogflowCxV3Webhook]{ + OutputState: i.ToGoogleCloudDialogflowCxV3WebhookOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3WebhookArrayInput is an input type that accepts GoogleCloudDialogflowCxV3WebhookArray and GoogleCloudDialogflowCxV3WebhookArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3WebhookArrayInput` via: // @@ -12348,6 +14281,12 @@ func (i GoogleCloudDialogflowCxV3WebhookArray) ToGoogleCloudDialogflowCxV3Webhoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3WebhookArrayOutput) } +func (i GoogleCloudDialogflowCxV3WebhookArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3Webhook] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3Webhook]{ + OutputState: i.ToGoogleCloudDialogflowCxV3WebhookArrayOutputWithContext(ctx).OutputState, + } +} + // Webhooks host the developer's business logic. During a session, webhooks allow the developer to use the data extracted by Dialogflow's natural language processing to generate dynamic responses, validate collected data, or trigger actions on the backend. type GoogleCloudDialogflowCxV3WebhookOutput struct{ *pulumi.OutputState } @@ -12363,6 +14302,12 @@ func (o GoogleCloudDialogflowCxV3WebhookOutput) ToGoogleCloudDialogflowCxV3Webho return o } +func (o GoogleCloudDialogflowCxV3WebhookOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3Webhook] { + return pulumix.Output[GoogleCloudDialogflowCxV3Webhook]{ + OutputState: o.OutputState, + } +} + // Indicates whether the webhook is disabled. func (o GoogleCloudDialogflowCxV3WebhookOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3Webhook) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -12411,6 +14356,12 @@ func (o GoogleCloudDialogflowCxV3WebhookArrayOutput) ToGoogleCloudDialogflowCxV3 return o } +func (o GoogleCloudDialogflowCxV3WebhookArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3Webhook] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3Webhook]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3WebhookArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3WebhookOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3Webhook { return vs[0].([]GoogleCloudDialogflowCxV3Webhook)[vs[1].(int)] @@ -12484,6 +14435,12 @@ func (i GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3WebhookGenericWebServiceOutput) } +func (i GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3WebhookGenericWebService] { + return pulumix.Output[GoogleCloudDialogflowCxV3WebhookGenericWebService]{ + OutputState: i.ToGoogleCloudDialogflowCxV3WebhookGenericWebServiceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs) ToGoogleCloudDialogflowCxV3WebhookGenericWebServicePtrOutput() GoogleCloudDialogflowCxV3WebhookGenericWebServicePtrOutput { return i.ToGoogleCloudDialogflowCxV3WebhookGenericWebServicePtrOutputWithContext(context.Background()) } @@ -12525,6 +14482,12 @@ func (i *googleCloudDialogflowCxV3WebhookGenericWebServicePtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3WebhookGenericWebServicePtrOutput) } +func (i *googleCloudDialogflowCxV3WebhookGenericWebServicePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebService] { + return pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebService]{ + OutputState: i.ToGoogleCloudDialogflowCxV3WebhookGenericWebServicePtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration for a generic web service. type GoogleCloudDialogflowCxV3WebhookGenericWebServiceOutput struct{ *pulumi.OutputState } @@ -12550,6 +14513,12 @@ func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceOutput) ToGoogleCloudDi }).(GoogleCloudDialogflowCxV3WebhookGenericWebServicePtrOutput) } +func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3WebhookGenericWebService] { + return pulumix.Output[GoogleCloudDialogflowCxV3WebhookGenericWebService]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, ```openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")``` func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceOutput) AllowedCaCerts() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3WebhookGenericWebService) []string { return v.AllowedCaCerts }).(pulumi.StringArrayOutput) @@ -12613,6 +14582,12 @@ func (o GoogleCloudDialogflowCxV3WebhookGenericWebServicePtrOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3WebhookGenericWebServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebService] { + return pulumix.Output[*GoogleCloudDialogflowCxV3WebhookGenericWebService]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3WebhookGenericWebServicePtrOutput) Elem() GoogleCloudDialogflowCxV3WebhookGenericWebServiceOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3WebhookGenericWebService) GoogleCloudDialogflowCxV3WebhookGenericWebService { if v != nil { @@ -12750,6 +14725,12 @@ func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponseOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, ```openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")``` func (o GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponseOutput) AllowedCaCerts() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse) []string { return v.AllowedCaCerts }).(pulumi.StringArrayOutput) @@ -12830,6 +14811,12 @@ func (o GoogleCloudDialogflowCxV3WebhookResponseOutput) ToGoogleCloudDialogflowC return o } +func (o GoogleCloudDialogflowCxV3WebhookResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3WebhookResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3WebhookResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether the webhook is disabled. func (o GoogleCloudDialogflowCxV3WebhookResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3WebhookResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -12878,6 +14865,12 @@ func (o GoogleCloudDialogflowCxV3WebhookResponseArrayOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3WebhookResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3WebhookResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3WebhookResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3WebhookResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3WebhookResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3WebhookResponse { return vs[0].([]GoogleCloudDialogflowCxV3WebhookResponse)[vs[1].(int)] @@ -12923,6 +14916,12 @@ func (i GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigOutput) } +func (i GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigArgs) ToGoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrOutput() GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrOutputWithContext(context.Background()) } @@ -12964,6 +14963,12 @@ func (i *googleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration for a [Service Directory](https://cloud.google.com/service-directory) service. type GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigOutput struct{ *pulumi.OutputState } @@ -12989,6 +14994,12 @@ func (o GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigOutput) ToGoogleCl }).(GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig]{ + OutputState: o.OutputState, + } +} + // Generic Service configuration of this webhook. func (o GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigOutput) GenericWebService() GoogleCloudDialogflowCxV3WebhookGenericWebServicePtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig) *GoogleCloudDialogflowCxV3WebhookGenericWebService { @@ -13015,6 +15026,12 @@ func (o GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig) GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig { if v != nil { @@ -13068,6 +15085,12 @@ func (o GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponseOutput) To return o } +func (o GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // Generic Service configuration of this webhook. func (o GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponseOutput) GenericWebService() GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfigResponse) GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse { @@ -13123,6 +15146,12 @@ func (i GoogleRpcStatusArgs) ToGoogleRpcStatusOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GoogleRpcStatusOutput) } +func (i GoogleRpcStatusArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatus] { + return pulumix.Output[GoogleRpcStatus]{ + OutputState: i.ToGoogleRpcStatusOutputWithContext(ctx).OutputState, + } +} + func (i GoogleRpcStatusArgs) ToGoogleRpcStatusPtrOutput() GoogleRpcStatusPtrOutput { return i.ToGoogleRpcStatusPtrOutputWithContext(context.Background()) } @@ -13164,6 +15193,12 @@ func (i *googleRpcStatusPtrType) ToGoogleRpcStatusPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GoogleRpcStatusPtrOutput) } +func (i *googleRpcStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleRpcStatus] { + return pulumix.Output[*GoogleRpcStatus]{ + OutputState: i.ToGoogleRpcStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type GoogleRpcStatusOutput struct{ *pulumi.OutputState } @@ -13189,6 +15224,12 @@ func (o GoogleRpcStatusOutput) ToGoogleRpcStatusPtrOutputWithContext(ctx context }).(GoogleRpcStatusPtrOutput) } +func (o GoogleRpcStatusOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatus] { + return pulumix.Output[GoogleRpcStatus]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleRpcStatus) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -13218,6 +15259,12 @@ func (o GoogleRpcStatusPtrOutput) ToGoogleRpcStatusPtrOutputWithContext(ctx cont return o } +func (o GoogleRpcStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleRpcStatus] { + return pulumix.Output[*GoogleRpcStatus]{ + OutputState: o.OutputState, + } +} + func (o GoogleRpcStatusPtrOutput) Elem() GoogleRpcStatusOutput { return o.ApplyT(func(v *GoogleRpcStatus) GoogleRpcStatus { if v != nil { @@ -13283,6 +15330,12 @@ func (o GoogleRpcStatusResponseOutput) ToGoogleRpcStatusResponseOutputWithContex return o } +func (o GoogleRpcStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatusResponse] { + return pulumix.Output[GoogleRpcStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v GoogleRpcStatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/dialogflow/v3/securitySetting.go b/sdk/go/google/dialogflow/v3/securitySetting.go index 386c87d73f..72f22e6aa3 100644 --- a/sdk/go/google/dialogflow/v3/securitySetting.go +++ b/sdk/go/google/dialogflow/v3/securitySetting.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create security settings in the specified location. @@ -161,6 +162,12 @@ func (i *SecuritySetting) ToSecuritySettingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SecuritySettingOutput) } +func (i *SecuritySetting) ToOutput(ctx context.Context) pulumix.Output[*SecuritySetting] { + return pulumix.Output[*SecuritySetting]{ + OutputState: i.ToSecuritySettingOutputWithContext(ctx).OutputState, + } +} + type SecuritySettingOutput struct{ *pulumi.OutputState } func (SecuritySettingOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o SecuritySettingOutput) ToSecuritySettingOutputWithContext(ctx context.Co return o } +func (o SecuritySettingOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySetting] { + return pulumix.Output[*SecuritySetting]{ + OutputState: o.OutputState, + } +} + // Controls audio export settings for post-conversation analytics when ingesting audio to conversations via Participants.AnalyzeContent or Participants.StreamingAnalyzeContent. If retention_strategy is set to REMOVE_AFTER_CONVERSATION or audio_export_settings.gcs_bucket is empty, audio export is disabled. If audio export is enabled, audio is recorded and saved to audio_export_settings.gcs_bucket, subject to retention policy of audio_export_settings.gcs_bucket. This setting won't effect audio input for implicit sessions via Sessions.DetectIntent or Sessions.StreamingDetectIntent. func (o SecuritySettingOutput) AudioExportSettings() GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsResponseOutput { return o.ApplyT(func(v *SecuritySetting) GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettingsResponseOutput { diff --git a/sdk/go/google/dialogflow/v3/sessionEntityType.go b/sdk/go/google/dialogflow/v3/sessionEntityType.go index 5fd9aa7e41..3078d04f4e 100644 --- a/sdk/go/google/dialogflow/v3/sessionEntityType.go +++ b/sdk/go/google/dialogflow/v3/sessionEntityType.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a session entity type. @@ -143,6 +144,12 @@ func (i *SessionEntityType) ToSessionEntityTypeOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SessionEntityTypeOutput) } +func (i *SessionEntityType) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityType] { + return pulumix.Output[*SessionEntityType]{ + OutputState: i.ToSessionEntityTypeOutputWithContext(ctx).OutputState, + } +} + type SessionEntityTypeOutput struct{ *pulumi.OutputState } func (SessionEntityTypeOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o SessionEntityTypeOutput) ToSessionEntityTypeOutputWithContext(ctx contex return o } +func (o SessionEntityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityType] { + return pulumix.Output[*SessionEntityType]{ + OutputState: o.OutputState, + } +} + func (o SessionEntityTypeOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *SessionEntityType) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3/testCase.go b/sdk/go/google/dialogflow/v3/testCase.go index 256ab3e67a..38be027561 100644 --- a/sdk/go/google/dialogflow/v3/testCase.go +++ b/sdk/go/google/dialogflow/v3/testCase.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a test case for the given agent. @@ -154,6 +155,12 @@ func (i *TestCase) ToTestCaseOutputWithContext(ctx context.Context) TestCaseOutp return pulumi.ToOutputWithContext(ctx, i).(TestCaseOutput) } +func (i *TestCase) ToOutput(ctx context.Context) pulumix.Output[*TestCase] { + return pulumix.Output[*TestCase]{ + OutputState: i.ToTestCaseOutputWithContext(ctx).OutputState, + } +} + type TestCaseOutput struct{ *pulumi.OutputState } func (TestCaseOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o TestCaseOutput) ToTestCaseOutputWithContext(ctx context.Context) TestCas return o } +func (o TestCaseOutput) ToOutput(ctx context.Context) pulumix.Output[*TestCase] { + return pulumix.Output[*TestCase]{ + OutputState: o.OutputState, + } +} + func (o TestCaseOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *TestCase) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3/transitionRouteGroup.go b/sdk/go/google/dialogflow/v3/transitionRouteGroup.go index 4e213b19df..76b9fc0786 100644 --- a/sdk/go/google/dialogflow/v3/transitionRouteGroup.go +++ b/sdk/go/google/dialogflow/v3/transitionRouteGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). @@ -139,6 +140,12 @@ func (i *TransitionRouteGroup) ToTransitionRouteGroupOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TransitionRouteGroupOutput) } +func (i *TransitionRouteGroup) ToOutput(ctx context.Context) pulumix.Output[*TransitionRouteGroup] { + return pulumix.Output[*TransitionRouteGroup]{ + OutputState: i.ToTransitionRouteGroupOutputWithContext(ctx).OutputState, + } +} + type TransitionRouteGroupOutput struct{ *pulumi.OutputState } func (TransitionRouteGroupOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o TransitionRouteGroupOutput) ToTransitionRouteGroupOutputWithContext(ctx return o } +func (o TransitionRouteGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*TransitionRouteGroup] { + return pulumix.Output[*TransitionRouteGroup]{ + OutputState: o.OutputState, + } +} + func (o TransitionRouteGroupOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *TransitionRouteGroup) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3/version.go b/sdk/go/google/dialogflow/v3/version.go index 69b6c613c0..dbdf6edcd5 100644 --- a/sdk/go/google/dialogflow/v3/version.go +++ b/sdk/go/google/dialogflow/v3/version.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Version in the specified Flow. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateVersionOperationMetadata - `response`: Version @@ -139,6 +140,12 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + func (o VersionOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Version) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3/webhook.go b/sdk/go/google/dialogflow/v3/webhook.go index 72af52a69a..7ebadb6425 100644 --- a/sdk/go/google/dialogflow/v3/webhook.go +++ b/sdk/go/google/dialogflow/v3/webhook.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a webhook in the specified agent. @@ -144,6 +145,12 @@ func (i *Webhook) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput return pulumi.ToOutputWithContext(ctx, i).(WebhookOutput) } +func (i *Webhook) ToOutput(ctx context.Context) pulumix.Output[*Webhook] { + return pulumix.Output[*Webhook]{ + OutputState: i.ToWebhookOutputWithContext(ctx).OutputState, + } +} + type WebhookOutput struct{ *pulumi.OutputState } func (WebhookOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOu return o } +func (o WebhookOutput) ToOutput(ctx context.Context) pulumix.Output[*Webhook] { + return pulumix.Output[*Webhook]{ + OutputState: o.OutputState, + } +} + func (o WebhookOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Webhook) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/agent.go b/sdk/go/google/dialogflow/v3beta1/agent.go index 815adfa308..1f1fe54852 100644 --- a/sdk/go/google/dialogflow/v3beta1/agent.go +++ b/sdk/go/google/dialogflow/v3beta1/agent.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an agent in the specified location. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). @@ -197,6 +198,12 @@ func (i *Agent) ToAgentOutputWithContext(ctx context.Context) AgentOutput { return pulumi.ToOutputWithContext(ctx, i).(AgentOutput) } +func (i *Agent) ToOutput(ctx context.Context) pulumix.Output[*Agent] { + return pulumix.Output[*Agent]{ + OutputState: i.ToAgentOutputWithContext(ctx).OutputState, + } +} + type AgentOutput struct{ *pulumi.OutputState } func (AgentOutput) ElementType() reflect.Type { @@ -211,6 +218,12 @@ func (o AgentOutput) ToAgentOutputWithContext(ctx context.Context) AgentOutput { return o } +func (o AgentOutput) ToOutput(ctx context.Context) pulumix.Output[*Agent] { + return pulumix.Output[*Agent]{ + OutputState: o.OutputState, + } +} + // Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level. func (o AgentOutput) AdvancedSettings() GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponseOutput { return o.ApplyT(func(v *Agent) GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponseOutput { return v.AdvancedSettings }).(GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponseOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/entityType.go b/sdk/go/google/dialogflow/v3beta1/entityType.go index 1c68c72de0..e7ff468693 100644 --- a/sdk/go/google/dialogflow/v3beta1/entityType.go +++ b/sdk/go/google/dialogflow/v3beta1/entityType.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an entity type in the specified agent. @@ -165,6 +166,12 @@ func (i *EntityType) ToEntityTypeOutputWithContext(ctx context.Context) EntityTy return pulumi.ToOutputWithContext(ctx, i).(EntityTypeOutput) } +func (i *EntityType) ToOutput(ctx context.Context) pulumix.Output[*EntityType] { + return pulumix.Output[*EntityType]{ + OutputState: i.ToEntityTypeOutputWithContext(ctx).OutputState, + } +} + type EntityTypeOutput struct{ *pulumi.OutputState } func (EntityTypeOutput) ElementType() reflect.Type { @@ -179,6 +186,12 @@ func (o EntityTypeOutput) ToEntityTypeOutputWithContext(ctx context.Context) Ent return o } +func (o EntityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityType] { + return pulumix.Output[*EntityType]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *EntityType) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/environment.go b/sdk/go/google/dialogflow/v3beta1/environment.go index c8bfae0daa..ad93b4a62e 100644 --- a/sdk/go/google/dialogflow/v3beta1/environment.go +++ b/sdk/go/google/dialogflow/v3beta1/environment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Environment in the specified Agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: Environment @@ -146,6 +147,12 @@ func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) Enviro return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i *Environment) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + type EnvironmentOutput struct{ *pulumi.OutputState } func (EnvironmentOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) E return o } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Environment) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/experiment.go b/sdk/go/google/dialogflow/v3beta1/experiment.go index 63ee9b656c..8bafcbc152 100644 --- a/sdk/go/google/dialogflow/v3beta1/experiment.go +++ b/sdk/go/google/dialogflow/v3beta1/experiment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Experiment in the specified Environment. @@ -205,6 +206,12 @@ func (i *Experiment) ToExperimentOutputWithContext(ctx context.Context) Experime return pulumi.ToOutputWithContext(ctx, i).(ExperimentOutput) } +func (i *Experiment) ToOutput(ctx context.Context) pulumix.Output[*Experiment] { + return pulumix.Output[*Experiment]{ + OutputState: i.ToExperimentOutputWithContext(ctx).OutputState, + } +} + type ExperimentOutput struct{ *pulumi.OutputState } func (ExperimentOutput) ElementType() reflect.Type { @@ -219,6 +226,12 @@ func (o ExperimentOutput) ToExperimentOutputWithContext(ctx context.Context) Exp return o } +func (o ExperimentOutput) ToOutput(ctx context.Context) pulumix.Output[*Experiment] { + return pulumix.Output[*Experiment]{ + OutputState: o.OutputState, + } +} + func (o ExperimentOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Experiment) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/flow.go b/sdk/go/google/dialogflow/v3beta1/flow.go index bfe76ccb18..229d4ee09d 100644 --- a/sdk/go/google/dialogflow/v3beta1/flow.go +++ b/sdk/go/google/dialogflow/v3beta1/flow.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a flow in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). @@ -156,6 +157,12 @@ func (i *Flow) ToFlowOutputWithContext(ctx context.Context) FlowOutput { return pulumi.ToOutputWithContext(ctx, i).(FlowOutput) } +func (i *Flow) ToOutput(ctx context.Context) pulumix.Output[*Flow] { + return pulumix.Output[*Flow]{ + OutputState: i.ToFlowOutputWithContext(ctx).OutputState, + } +} + type FlowOutput struct{ *pulumi.OutputState } func (FlowOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o FlowOutput) ToFlowOutputWithContext(ctx context.Context) FlowOutput { return o } +func (o FlowOutput) ToOutput(ctx context.Context) pulumix.Output[*Flow] { + return pulumix.Output[*Flow]{ + OutputState: o.OutputState, + } +} + func (o FlowOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Flow) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/getAgent.go b/sdk/go/google/dialogflow/v3beta1/getAgent.go index 57a7629970..e94062cac3 100644 --- a/sdk/go/google/dialogflow/v3beta1/getAgent.go +++ b/sdk/go/google/dialogflow/v3beta1/getAgent.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified agent. @@ -98,6 +99,12 @@ func (o LookupAgentResultOutput) ToLookupAgentResultOutputWithContext(ctx contex return o } +func (o LookupAgentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAgentResult] { + return pulumix.Output[LookupAgentResult]{ + OutputState: o.OutputState, + } +} + // Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level. func (o LookupAgentResultOutput) AdvancedSettings() GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponseOutput { return o.ApplyT(func(v LookupAgentResult) GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponse { diff --git a/sdk/go/google/dialogflow/v3beta1/getEntityType.go b/sdk/go/google/dialogflow/v3beta1/getEntityType.go index 30c6943ecc..8314218d3e 100644 --- a/sdk/go/google/dialogflow/v3beta1/getEntityType.go +++ b/sdk/go/google/dialogflow/v3beta1/getEntityType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified entity type. @@ -88,6 +89,12 @@ func (o LookupEntityTypeResultOutput) ToLookupEntityTypeResultOutputWithContext( return o } +func (o LookupEntityTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntityTypeResult] { + return pulumix.Output[LookupEntityTypeResult]{ + OutputState: o.OutputState, + } +} + // Indicates whether the entity type can be automatically expanded. func (o LookupEntityTypeResultOutput) AutoExpansionMode() pulumi.StringOutput { return o.ApplyT(func(v LookupEntityTypeResult) string { return v.AutoExpansionMode }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/getEnvironment.go b/sdk/go/google/dialogflow/v3beta1/getEnvironment.go index 1aa58b8aa7..2b615e76dc 100644 --- a/sdk/go/google/dialogflow/v3beta1/getEnvironment.go +++ b/sdk/go/google/dialogflow/v3beta1/getEnvironment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified Environment. @@ -84,6 +85,12 @@ func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContex return o } +func (o LookupEnvironmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentResult] { + return pulumix.Output[LookupEnvironmentResult]{ + OutputState: o.OutputState, + } +} + // The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected. func (o LookupEnvironmentResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupEnvironmentResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/getExperiment.go b/sdk/go/google/dialogflow/v3beta1/getExperiment.go index b81e189ec2..67b4948e75 100644 --- a/sdk/go/google/dialogflow/v3beta1/getExperiment.go +++ b/sdk/go/google/dialogflow/v3beta1/getExperiment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified Experiment. @@ -102,6 +103,12 @@ func (o LookupExperimentResultOutput) ToLookupExperimentResultOutputWithContext( return o } +func (o LookupExperimentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExperimentResult] { + return pulumix.Output[LookupExperimentResult]{ + OutputState: o.OutputState, + } +} + // Creation time of this experiment. func (o LookupExperimentResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupExperimentResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/getFlow.go b/sdk/go/google/dialogflow/v3beta1/getFlow.go index 996af09ca7..dfa1ef4453 100644 --- a/sdk/go/google/dialogflow/v3beta1/getFlow.go +++ b/sdk/go/google/dialogflow/v3beta1/getFlow.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified flow. @@ -86,6 +87,12 @@ func (o LookupFlowResultOutput) ToLookupFlowResultOutputWithContext(ctx context. return o } +func (o LookupFlowResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFlowResult] { + return pulumix.Output[LookupFlowResult]{ + OutputState: o.OutputState, + } +} + // The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. func (o LookupFlowResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupFlowResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/getIntent.go b/sdk/go/google/dialogflow/v3beta1/getIntent.go index f5580bdadf..18eaab8ba2 100644 --- a/sdk/go/google/dialogflow/v3beta1/getIntent.go +++ b/sdk/go/google/dialogflow/v3beta1/getIntent.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified intent. @@ -88,6 +89,12 @@ func (o LookupIntentResultOutput) ToLookupIntentResultOutputWithContext(ctx cont return o } +func (o LookupIntentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIntentResult] { + return pulumix.Output[LookupIntentResult]{ + OutputState: o.OutputState, + } +} + // Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters. func (o LookupIntentResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupIntentResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/getPage.go b/sdk/go/google/dialogflow/v3beta1/getPage.go index cc4206a056..5d4d9e3188 100644 --- a/sdk/go/google/dialogflow/v3beta1/getPage.go +++ b/sdk/go/google/dialogflow/v3beta1/getPage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified page. @@ -88,6 +89,12 @@ func (o LookupPageResultOutput) ToLookupPageResultOutputWithContext(ctx context. return o } +func (o LookupPageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPageResult] { + return pulumix.Output[LookupPageResult]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the page, unique within the flow. func (o LookupPageResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupPageResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/getSecuritySetting.go b/sdk/go/google/dialogflow/v3beta1/getSecuritySetting.go index 388e0479db..5c15337533 100644 --- a/sdk/go/google/dialogflow/v3beta1/getSecuritySetting.go +++ b/sdk/go/google/dialogflow/v3beta1/getSecuritySetting.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified SecuritySettings. The returned settings may be stale by up to 1 minute. @@ -88,6 +89,12 @@ func (o LookupSecuritySettingResultOutput) ToLookupSecuritySettingResultOutputWi return o } +func (o LookupSecuritySettingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecuritySettingResult] { + return pulumix.Output[LookupSecuritySettingResult]{ + OutputState: o.OutputState, + } +} + // Controls audio export settings for post-conversation analytics when ingesting audio to conversations via Participants.AnalyzeContent or Participants.StreamingAnalyzeContent. If retention_strategy is set to REMOVE_AFTER_CONVERSATION or audio_export_settings.gcs_bucket is empty, audio export is disabled. If audio export is enabled, audio is recorded and saved to audio_export_settings.gcs_bucket, subject to retention policy of audio_export_settings.gcs_bucket. This setting won't effect audio input for implicit sessions via Sessions.DetectIntent or Sessions.StreamingDetectIntent. func (o LookupSecuritySettingResultOutput) AudioExportSettings() GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsResponseOutput { return o.ApplyT(func(v LookupSecuritySettingResult) GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsResponse { diff --git a/sdk/go/google/dialogflow/v3beta1/getSessionEntityType.go b/sdk/go/google/dialogflow/v3beta1/getSessionEntityType.go index 36b2a75763..fc2391245e 100644 --- a/sdk/go/google/dialogflow/v3beta1/getSessionEntityType.go +++ b/sdk/go/google/dialogflow/v3beta1/getSessionEntityType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified session entity type. @@ -80,6 +81,12 @@ func (o LookupSessionEntityTypeResultOutput) ToLookupSessionEntityTypeResultOutp return o } +func (o LookupSessionEntityTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSessionEntityTypeResult] { + return pulumix.Output[LookupSessionEntityTypeResult]{ + OutputState: o.OutputState, + } +} + // The collection of entities to override or supplement the custom entity type. func (o LookupSessionEntityTypeResultOutput) Entities() GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponseArrayOutput { return o.ApplyT(func(v LookupSessionEntityTypeResult) []GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponse { diff --git a/sdk/go/google/dialogflow/v3beta1/getTestCase.go b/sdk/go/google/dialogflow/v3beta1/getTestCase.go index 6089b15a4b..71f352b11e 100644 --- a/sdk/go/google/dialogflow/v3beta1/getTestCase.go +++ b/sdk/go/google/dialogflow/v3beta1/getTestCase.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a test case. @@ -86,6 +87,12 @@ func (o LookupTestCaseResultOutput) ToLookupTestCaseResultOutputWithContext(ctx return o } +func (o LookupTestCaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTestCaseResult] { + return pulumix.Output[LookupTestCaseResult]{ + OutputState: o.OutputState, + } +} + // When the test was created. func (o LookupTestCaseResultOutput) CreationTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTestCaseResult) string { return v.CreationTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/getTransitionRouteGroup.go b/sdk/go/google/dialogflow/v3beta1/getTransitionRouteGroup.go index 605854b262..cb3407c18e 100644 --- a/sdk/go/google/dialogflow/v3beta1/getTransitionRouteGroup.go +++ b/sdk/go/google/dialogflow/v3beta1/getTransitionRouteGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified TransitionRouteGroup. @@ -80,6 +81,12 @@ func (o LookupTransitionRouteGroupResultOutput) ToLookupTransitionRouteGroupResu return o } +func (o LookupTransitionRouteGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTransitionRouteGroupResult] { + return pulumix.Output[LookupTransitionRouteGroupResult]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the transition route group, unique within the flow. The display name can be no longer than 30 characters. func (o LookupTransitionRouteGroupResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupTransitionRouteGroupResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/getVersion.go b/sdk/go/google/dialogflow/v3beta1/getVersion.go index 1e057e09e1..263e7f30ad 100644 --- a/sdk/go/google/dialogflow/v3beta1/getVersion.go +++ b/sdk/go/google/dialogflow/v3beta1/getVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified Version. @@ -84,6 +85,12 @@ func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx co return o } +func (o LookupVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionResult] { + return pulumix.Output[LookupVersionResult]{ + OutputState: o.OutputState, + } +} + // Create time of the version. func (o LookupVersionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupVersionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/getWebhook.go b/sdk/go/google/dialogflow/v3beta1/getWebhook.go index 5134b2b494..a8820d9c72 100644 --- a/sdk/go/google/dialogflow/v3beta1/getWebhook.go +++ b/sdk/go/google/dialogflow/v3beta1/getWebhook.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified webhook. @@ -82,6 +83,12 @@ func (o LookupWebhookResultOutput) ToLookupWebhookResultOutputWithContext(ctx co return o } +func (o LookupWebhookResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWebhookResult] { + return pulumix.Output[LookupWebhookResult]{ + OutputState: o.OutputState, + } +} + // Indicates whether the webhook is disabled. func (o LookupWebhookResultOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupWebhookResult) bool { return v.Disabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/intent.go b/sdk/go/google/dialogflow/v3beta1/intent.go index 87e695ea48..181fe24eae 100644 --- a/sdk/go/google/dialogflow/v3beta1/intent.go +++ b/sdk/go/google/dialogflow/v3beta1/intent.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). @@ -162,6 +163,12 @@ func (i *Intent) ToIntentOutputWithContext(ctx context.Context) IntentOutput { return pulumi.ToOutputWithContext(ctx, i).(IntentOutput) } +func (i *Intent) ToOutput(ctx context.Context) pulumix.Output[*Intent] { + return pulumix.Output[*Intent]{ + OutputState: i.ToIntentOutputWithContext(ctx).OutputState, + } +} + type IntentOutput struct{ *pulumi.OutputState } func (IntentOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o IntentOutput) ToIntentOutputWithContext(ctx context.Context) IntentOutpu return o } +func (o IntentOutput) ToOutput(ctx context.Context) pulumix.Output[*Intent] { + return pulumix.Output[*Intent]{ + OutputState: o.OutputState, + } +} + func (o IntentOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Intent) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/page.go b/sdk/go/google/dialogflow/v3beta1/page.go index ab71bf7823..3889164009 100644 --- a/sdk/go/google/dialogflow/v3beta1/page.go +++ b/sdk/go/google/dialogflow/v3beta1/page.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a page in the specified flow. @@ -163,6 +164,12 @@ func (i *Page) ToPageOutputWithContext(ctx context.Context) PageOutput { return pulumi.ToOutputWithContext(ctx, i).(PageOutput) } +func (i *Page) ToOutput(ctx context.Context) pulumix.Output[*Page] { + return pulumix.Output[*Page]{ + OutputState: i.ToPageOutputWithContext(ctx).OutputState, + } +} + type PageOutput struct{ *pulumi.OutputState } func (PageOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o PageOutput) ToPageOutputWithContext(ctx context.Context) PageOutput { return o } +func (o PageOutput) ToOutput(ctx context.Context) pulumix.Output[*Page] { + return pulumix.Output[*Page]{ + OutputState: o.OutputState, + } +} + func (o PageOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Page) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/pulumiEnums.go b/sdk/go/google/dialogflow/v3beta1/pulumiEnums.go index e10afa0b91..97f095ff2e 100644 --- a/sdk/go/google/dialogflow/v3beta1/pulumiEnums.go +++ b/sdk/go/google/dialogflow/v3beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Indicates whether the entity type can be automatically expanded. @@ -80,6 +81,12 @@ func (o EntityTypeAutoExpansionModeOutput) ToEntityTypeAutoExpansionModePtrOutpu }).(EntityTypeAutoExpansionModePtrOutput) } +func (o EntityTypeAutoExpansionModeOutput) ToOutput(ctx context.Context) pulumix.Output[EntityTypeAutoExpansionMode] { + return pulumix.Output[EntityTypeAutoExpansionMode]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeAutoExpansionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o EntityTypeAutoExpansionModePtrOutput) ToEntityTypeAutoExpansionModePtrOu return o } +func (o EntityTypeAutoExpansionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeAutoExpansionMode] { + return pulumix.Output[*EntityTypeAutoExpansionMode]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeAutoExpansionModePtrOutput) Elem() EntityTypeAutoExpansionModeOutput { return o.ApplyT(func(v *EntityTypeAutoExpansionMode) EntityTypeAutoExpansionMode { if v != nil { @@ -177,6 +190,12 @@ func (in *entityTypeAutoExpansionModePtr) ToEntityTypeAutoExpansionModePtrOutput return pulumi.ToOutputWithContext(ctx, in).(EntityTypeAutoExpansionModePtrOutput) } +func (in *entityTypeAutoExpansionModePtr) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeAutoExpansionMode] { + return pulumix.Output[*EntityTypeAutoExpansionMode]{ + OutputState: in.ToEntityTypeAutoExpansionModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Indicates the kind of entity type. type EntityTypeKind string @@ -251,6 +270,12 @@ func (o EntityTypeKindOutput) ToEntityTypeKindPtrOutputWithContext(ctx context.C }).(EntityTypeKindPtrOutput) } +func (o EntityTypeKindOutput) ToOutput(ctx context.Context) pulumix.Output[EntityTypeKind] { + return pulumix.Output[EntityTypeKind]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o EntityTypeKindPtrOutput) ToEntityTypeKindPtrOutputWithContext(ctx contex return o } +func (o EntityTypeKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeKind] { + return pulumix.Output[*EntityTypeKind]{ + OutputState: o.OutputState, + } +} + func (o EntityTypeKindPtrOutput) Elem() EntityTypeKindOutput { return o.ApplyT(func(v *EntityTypeKind) EntityTypeKind { if v != nil { @@ -348,6 +379,12 @@ func (in *entityTypeKindPtr) ToEntityTypeKindPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(EntityTypeKindPtrOutput) } +func (in *entityTypeKindPtr) ToOutput(ctx context.Context) pulumix.Output[*EntityTypeKind] { + return pulumix.Output[*EntityTypeKind]{ + OutputState: in.ToEntityTypeKindPtrOutputWithContext(ctx).OutputState, + } +} + // The current state of the experiment. Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or RUNNING->DONE. type ExperimentStateEnum string @@ -424,6 +461,12 @@ func (o ExperimentStateEnumOutput) ToExperimentStateEnumPtrOutputWithContext(ctx }).(ExperimentStateEnumPtrOutput) } +func (o ExperimentStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[ExperimentStateEnum] { + return pulumix.Output[ExperimentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ExperimentStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -459,6 +502,12 @@ func (o ExperimentStateEnumPtrOutput) ToExperimentStateEnumPtrOutputWithContext( return o } +func (o ExperimentStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExperimentStateEnum] { + return pulumix.Output[*ExperimentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ExperimentStateEnumPtrOutput) Elem() ExperimentStateEnumOutput { return o.ApplyT(func(v *ExperimentStateEnum) ExperimentStateEnum { if v != nil { @@ -521,6 +570,12 @@ func (in *experimentStateEnumPtr) ToExperimentStateEnumPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ExperimentStateEnumPtrOutput) } +func (in *experimentStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*ExperimentStateEnum] { + return pulumix.Output[*ExperimentStateEnum]{ + OutputState: in.ToExperimentStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Count-based metric type. Only one of type or count_type is specified in each Metric. type GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountType string @@ -595,6 +650,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypeOutput) ToG }).(GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypePtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountType] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -630,6 +691,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypePtrOutput) return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypePtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountType) GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountType { if v != nil { @@ -692,6 +759,12 @@ func (in *googleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypePtr) ToGo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypePtrOutput) } +func (in *googleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountType]{ + OutputState: in.ToGoogleCloudDialogflowCxV3beta1ExperimentResultMetricCountTypePtrOutputWithContext(ctx).OutputState, + } +} + // Ratio-based metric type. Only one of type or count_type is specified in each Metric. type GoogleCloudDialogflowCxV3beta1ExperimentResultMetricType string @@ -770,6 +843,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricTypeOutput) ToGoogle }).(GoogleCloudDialogflowCxV3beta1ExperimentResultMetricTypePtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultMetricType] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultMetricType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -805,6 +884,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricTypePtrOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultMetricType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultMetricType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricTypePtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ExperimentResultMetricTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ExperimentResultMetricType) GoogleCloudDialogflowCxV3beta1ExperimentResultMetricType { if v != nil { @@ -867,6 +952,12 @@ func (in *googleCloudDialogflowCxV3beta1ExperimentResultMetricTypePtr) ToGoogleC return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3beta1ExperimentResultMetricTypePtrOutput) } +func (in *googleCloudDialogflowCxV3beta1ExperimentResultMetricTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultMetricType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultMetricType]{ + OutputState: in.ToGoogleCloudDialogflowCxV3beta1ExperimentResultMetricTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Audio encoding of the audio content to process. type GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncoding string @@ -949,6 +1040,12 @@ func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingOutput) ToGoo }).(GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncoding] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncoding]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -984,6 +1081,12 @@ func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingPtrOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncoding] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncoding]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncoding) GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncoding { if v != nil { @@ -1046,6 +1149,12 @@ func (in *googleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingPtr) ToGoog return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingPtrOutput) } +func (in *googleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncoding] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncoding]{ + OutputState: in.ToGoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Which variant of the Speech model to use. type GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariant string @@ -1120,6 +1229,12 @@ func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariantOutput) ToGoog }).(GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariantPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariantOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariant] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariant]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariantOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1155,6 +1270,12 @@ func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariantPtrOutput) ToG return o } +func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariantPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariant] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariant]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariantPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariantOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariant) GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariant { if v != nil { @@ -1217,6 +1338,12 @@ func (in *googleCloudDialogflowCxV3beta1InputAudioConfigModelVariantPtr) ToGoogl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariantPtrOutput) } +func (in *googleCloudDialogflowCxV3beta1InputAudioConfigModelVariantPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariant] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariant]{ + OutputState: in.ToGoogleCloudDialogflowCxV3beta1InputAudioConfigModelVariantPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates NLU model training mode. type GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingMode string @@ -1289,6 +1416,12 @@ func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingModeOutput) ToGoog }).(GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingModePtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingMode] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1324,6 +1457,12 @@ func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingModePtrOutput) ToG return o } +func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingMode] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingModePtrOutput) Elem() GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingModeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingMode) GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingMode { if v != nil { @@ -1386,6 +1525,12 @@ func (in *googleCloudDialogflowCxV3beta1NluSettingsModelTrainingModePtr) ToGoogl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingModePtrOutput) } +func (in *googleCloudDialogflowCxV3beta1NluSettingsModelTrainingModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingMode] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingMode]{ + OutputState: in.ToGoogleCloudDialogflowCxV3beta1NluSettingsModelTrainingModePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the type of NLU model. type GoogleCloudDialogflowCxV3beta1NluSettingsModelType string @@ -1458,6 +1603,12 @@ func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTypeOutput) ToGoogleCloudD }).(GoogleCloudDialogflowCxV3beta1NluSettingsModelTypePtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1NluSettingsModelType] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1NluSettingsModelType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1493,6 +1644,12 @@ func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTypePtrOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettingsModelType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettingsModelType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1NluSettingsModelTypePtrOutput) Elem() GoogleCloudDialogflowCxV3beta1NluSettingsModelTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1NluSettingsModelType) GoogleCloudDialogflowCxV3beta1NluSettingsModelType { if v != nil { @@ -1555,6 +1712,12 @@ func (in *googleCloudDialogflowCxV3beta1NluSettingsModelTypePtr) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3beta1NluSettingsModelTypePtrOutput) } +func (in *googleCloudDialogflowCxV3beta1NluSettingsModelTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettingsModelType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettingsModelType]{ + OutputState: in.ToGoogleCloudDialogflowCxV3beta1NluSettingsModelTypePtrOutputWithContext(ctx).OutputState, + } +} + // File format for exported audio file. Currently only in telephony recordings. type GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormat string @@ -1629,6 +1792,12 @@ func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFo }).(GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormatPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormatOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormat] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1664,6 +1833,12 @@ func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFo return o } +func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormat] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormatPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormatOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormat) GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormat { if v != nil { @@ -1726,6 +1901,12 @@ func (in *googleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudio return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormatPtrOutput) } +func (in *googleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormat] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormat]{ + OutputState: in.ToGoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsAudioFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Whether the test case passed in the agent environment. type GoogleCloudDialogflowCxV3beta1TestCaseResultTestResult string @@ -1798,6 +1979,12 @@ func (o GoogleCloudDialogflowCxV3beta1TestCaseResultTestResultOutput) ToGoogleCl }).(GoogleCloudDialogflowCxV3beta1TestCaseResultTestResultPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1TestCaseResultTestResultOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TestCaseResultTestResult] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TestCaseResultTestResult]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1TestCaseResultTestResultOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1833,6 +2020,12 @@ func (o GoogleCloudDialogflowCxV3beta1TestCaseResultTestResultPtrOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3beta1TestCaseResultTestResultPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestCaseResultTestResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestCaseResultTestResult]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1TestCaseResultTestResultPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1TestCaseResultTestResultOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1TestCaseResultTestResult) GoogleCloudDialogflowCxV3beta1TestCaseResultTestResult { if v != nil { @@ -1895,6 +2088,12 @@ func (in *googleCloudDialogflowCxV3beta1TestCaseResultTestResultPtr) ToGoogleClo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3beta1TestCaseResultTestResultPtrOutput) } +func (in *googleCloudDialogflowCxV3beta1TestCaseResultTestResultPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestCaseResultTestResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestCaseResultTestResult]{ + OutputState: in.ToGoogleCloudDialogflowCxV3beta1TestCaseResultTestResultPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST. type GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod string @@ -1977,6 +2176,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodOutput) }).(GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2012,6 +2217,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPtrOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod) GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod { if v != nil { @@ -2074,6 +2285,12 @@ func (in *googleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPtr) T return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPtrOutput) } +func (in *googleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod]{ + OutputState: in.ToGoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Type of the webhook. type GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType string @@ -2146,6 +2363,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeOutput) }).(GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypePtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2181,6 +2404,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypePtrOutp return o } +func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypePtrOutput) Elem() GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType) GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType { if v != nil { @@ -2243,6 +2472,12 @@ func (in *googleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypePtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypePtrOutput) } +func (in *googleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType]{ + OutputState: in.ToGoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookTypePtrOutputWithContext(ctx).OutputState, + } +} + type SecuritySettingPurgeDataTypesItem string const ( @@ -2312,6 +2547,12 @@ func (o SecuritySettingPurgeDataTypesItemOutput) ToSecuritySettingPurgeDataTypes }).(SecuritySettingPurgeDataTypesItemPtrOutput) } +func (o SecuritySettingPurgeDataTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettingPurgeDataTypesItem] { + return pulumix.Output[SecuritySettingPurgeDataTypesItem]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingPurgeDataTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2347,6 +2588,12 @@ func (o SecuritySettingPurgeDataTypesItemPtrOutput) ToSecuritySettingPurgeDataTy return o } +func (o SecuritySettingPurgeDataTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingPurgeDataTypesItem] { + return pulumix.Output[*SecuritySettingPurgeDataTypesItem]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingPurgeDataTypesItemPtrOutput) Elem() SecuritySettingPurgeDataTypesItemOutput { return o.ApplyT(func(v *SecuritySettingPurgeDataTypesItem) SecuritySettingPurgeDataTypesItem { if v != nil { @@ -2409,6 +2656,12 @@ func (in *securitySettingPurgeDataTypesItemPtr) ToSecuritySettingPurgeDataTypesI return pulumi.ToOutputWithContext(ctx, in).(SecuritySettingPurgeDataTypesItemPtrOutput) } +func (in *securitySettingPurgeDataTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingPurgeDataTypesItem] { + return pulumix.Output[*SecuritySettingPurgeDataTypesItem]{ + OutputState: in.ToSecuritySettingPurgeDataTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // SecuritySettingPurgeDataTypesItemArrayInput is an input type that accepts SecuritySettingPurgeDataTypesItemArray and SecuritySettingPurgeDataTypesItemArrayOutput values. // You can construct a concrete instance of `SecuritySettingPurgeDataTypesItemArrayInput` via: // @@ -2434,6 +2687,12 @@ func (i SecuritySettingPurgeDataTypesItemArray) ToSecuritySettingPurgeDataTypesI return pulumi.ToOutputWithContext(ctx, i).(SecuritySettingPurgeDataTypesItemArrayOutput) } +func (i SecuritySettingPurgeDataTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]SecuritySettingPurgeDataTypesItem] { + return pulumix.Output[[]SecuritySettingPurgeDataTypesItem]{ + OutputState: i.ToSecuritySettingPurgeDataTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type SecuritySettingPurgeDataTypesItemArrayOutput struct{ *pulumi.OutputState } func (SecuritySettingPurgeDataTypesItemArrayOutput) ElementType() reflect.Type { @@ -2448,6 +2707,12 @@ func (o SecuritySettingPurgeDataTypesItemArrayOutput) ToSecuritySettingPurgeData return o } +func (o SecuritySettingPurgeDataTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecuritySettingPurgeDataTypesItem] { + return pulumix.Output[[]SecuritySettingPurgeDataTypesItem]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingPurgeDataTypesItemArrayOutput) Index(i pulumi.IntInput) SecuritySettingPurgeDataTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecuritySettingPurgeDataTypesItem { return vs[0].([]SecuritySettingPurgeDataTypesItem)[vs[1].(int)] @@ -2524,6 +2789,12 @@ func (o SecuritySettingRedactionScopeOutput) ToSecuritySettingRedactionScopePtrO }).(SecuritySettingRedactionScopePtrOutput) } +func (o SecuritySettingRedactionScopeOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettingRedactionScope] { + return pulumix.Output[SecuritySettingRedactionScope]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingRedactionScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2559,6 +2830,12 @@ func (o SecuritySettingRedactionScopePtrOutput) ToSecuritySettingRedactionScopeP return o } +func (o SecuritySettingRedactionScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingRedactionScope] { + return pulumix.Output[*SecuritySettingRedactionScope]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingRedactionScopePtrOutput) Elem() SecuritySettingRedactionScopeOutput { return o.ApplyT(func(v *SecuritySettingRedactionScope) SecuritySettingRedactionScope { if v != nil { @@ -2621,6 +2898,12 @@ func (in *securitySettingRedactionScopePtr) ToSecuritySettingRedactionScopePtrOu return pulumi.ToOutputWithContext(ctx, in).(SecuritySettingRedactionScopePtrOutput) } +func (in *securitySettingRedactionScopePtr) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingRedactionScope] { + return pulumix.Output[*SecuritySettingRedactionScope]{ + OutputState: in.ToSecuritySettingRedactionScopePtrOutputWithContext(ctx).OutputState, + } +} + // Strategy that defines how we do redaction. type SecuritySettingRedactionStrategy string @@ -2691,6 +2974,12 @@ func (o SecuritySettingRedactionStrategyOutput) ToSecuritySettingRedactionStrate }).(SecuritySettingRedactionStrategyPtrOutput) } +func (o SecuritySettingRedactionStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[SecuritySettingRedactionStrategy] { + return pulumix.Output[SecuritySettingRedactionStrategy]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingRedactionStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2726,6 +3015,12 @@ func (o SecuritySettingRedactionStrategyPtrOutput) ToSecuritySettingRedactionStr return o } +func (o SecuritySettingRedactionStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingRedactionStrategy] { + return pulumix.Output[*SecuritySettingRedactionStrategy]{ + OutputState: o.OutputState, + } +} + func (o SecuritySettingRedactionStrategyPtrOutput) Elem() SecuritySettingRedactionStrategyOutput { return o.ApplyT(func(v *SecuritySettingRedactionStrategy) SecuritySettingRedactionStrategy { if v != nil { @@ -2788,6 +3083,12 @@ func (in *securitySettingRedactionStrategyPtr) ToSecuritySettingRedactionStrateg return pulumi.ToOutputWithContext(ctx, in).(SecuritySettingRedactionStrategyPtrOutput) } +func (in *securitySettingRedactionStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*SecuritySettingRedactionStrategy] { + return pulumix.Output[*SecuritySettingRedactionStrategy]{ + OutputState: in.ToSecuritySettingRedactionStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Indicates whether the additional data should override or supplement the custom entity type definition. type SessionEntityTypeEntityOverrideMode string @@ -2860,6 +3161,12 @@ func (o SessionEntityTypeEntityOverrideModeOutput) ToSessionEntityTypeEntityOver }).(SessionEntityTypeEntityOverrideModePtrOutput) } +func (o SessionEntityTypeEntityOverrideModeOutput) ToOutput(ctx context.Context) pulumix.Output[SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[SessionEntityTypeEntityOverrideMode]{ + OutputState: o.OutputState, + } +} + func (o SessionEntityTypeEntityOverrideModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2895,6 +3202,12 @@ func (o SessionEntityTypeEntityOverrideModePtrOutput) ToSessionEntityTypeEntityO return o } +func (o SessionEntityTypeEntityOverrideModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[*SessionEntityTypeEntityOverrideMode]{ + OutputState: o.OutputState, + } +} + func (o SessionEntityTypeEntityOverrideModePtrOutput) Elem() SessionEntityTypeEntityOverrideModeOutput { return o.ApplyT(func(v *SessionEntityTypeEntityOverrideMode) SessionEntityTypeEntityOverrideMode { if v != nil { @@ -2957,6 +3270,12 @@ func (in *sessionEntityTypeEntityOverrideModePtr) ToSessionEntityTypeEntityOverr return pulumi.ToOutputWithContext(ctx, in).(SessionEntityTypeEntityOverrideModePtrOutput) } +func (in *sessionEntityTypeEntityOverrideModePtr) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityTypeEntityOverrideMode] { + return pulumix.Output[*SessionEntityTypeEntityOverrideMode]{ + OutputState: in.ToSessionEntityTypeEntityOverrideModePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*EntityTypeAutoExpansionModeInput)(nil)).Elem(), EntityTypeAutoExpansionMode("AUTO_EXPANSION_MODE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*EntityTypeAutoExpansionModePtrInput)(nil)).Elem(), EntityTypeAutoExpansionMode("AUTO_EXPANSION_MODE_UNSPECIFIED")) diff --git a/sdk/go/google/dialogflow/v3beta1/pulumiTypes.go b/sdk/go/google/dialogflow/v3beta1/pulumiTypes.go index c9554207a5..f82998cc18 100644 --- a/sdk/go/google/dialogflow/v3beta1/pulumiTypes.go +++ b/sdk/go/google/dialogflow/v3beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudDialogflowCxV3beta1AdvancedSettingsArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1AdvancedSettingsOutput) } +func (i GoogleCloudDialogflowCxV3beta1AdvancedSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1AdvancedSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1AdvancedSettingsArgs) ToGoogleCloudDialogflowCxV3beta1AdvancedSettingsPtrOutput() GoogleCloudDialogflowCxV3beta1AdvancedSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1AdvancedSettingsPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleCloudDialogflowCxV3beta1AdvancedSettingsPtrType) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1AdvancedSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1AdvancedSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1AdvancedSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1AdvancedSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1AdvancedSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. type GoogleCloudDialogflowCxV3beta1AdvancedSettingsOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsOutput) ToGoogleCloudDialo }).(GoogleCloudDialogflowCxV3beta1AdvancedSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettings]{ + OutputState: o.OutputState, + } +} + // If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsOutput) AudioExportGcsDestination() GoogleCloudDialogflowCxV3beta1GcsDestinationPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1AdvancedSettings) *GoogleCloudDialogflowCxV3beta1GcsDestination { @@ -146,6 +165,12 @@ func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsPtrOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1AdvancedSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1AdvancedSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1AdvancedSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1AdvancedSettings) GoogleCloudDialogflowCxV3beta1AdvancedSettings { if v != nil { @@ -215,6 +240,12 @@ func (i GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsOutput) } +func (i GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsArgs) ToGoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrOutput() GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrOutputWithContext(context.Background()) } @@ -256,6 +287,12 @@ func (i *googleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrType) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Define behaviors on logging. type GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsOutput struct{ *pulumi.OutputState } @@ -281,6 +318,12 @@ func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsOutput) ToG }).(GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]{ + OutputState: o.OutputState, + } +} + // If true, DF Interaction logging is currently enabled. func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsOutput) EnableInteractionLogging() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings) *bool { @@ -309,6 +352,12 @@ func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrOutput) return o } +func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings) GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings { if v != nil { @@ -362,6 +411,12 @@ func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsResponseOut return o } +func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsResponse]{ + OutputState: o.OutputState, + } +} + // If true, DF Interaction logging is currently enabled. func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsResponseOutput) EnableInteractionLogging() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettingsResponse) bool { @@ -399,6 +454,12 @@ func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponse]{ + OutputState: o.OutputState, + } +} + // If present, incoming audio is exported by Dialogflow to the configured Google Cloud Storage destination. Exposed at the following levels: - Agent level - Flow level func (o GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponseOutput) AudioExportGcsDestination() GoogleCloudDialogflowCxV3beta1GcsDestinationResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponse) GoogleCloudDialogflowCxV3beta1GcsDestinationResponse { @@ -452,6 +513,12 @@ func (i GoogleCloudDialogflowCxV3beta1AudioInputArgs) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1AudioInputOutput) } +func (i GoogleCloudDialogflowCxV3beta1AudioInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1AudioInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1AudioInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1AudioInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1AudioInputArgs) ToGoogleCloudDialogflowCxV3beta1AudioInputPtrOutput() GoogleCloudDialogflowCxV3beta1AudioInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1AudioInputPtrOutputWithContext(context.Background()) } @@ -493,6 +560,12 @@ func (i *googleCloudDialogflowCxV3beta1AudioInputPtrType) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1AudioInputPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1AudioInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1AudioInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1AudioInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1AudioInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the natural speech audio to be processed. type GoogleCloudDialogflowCxV3beta1AudioInputOutput struct{ *pulumi.OutputState } @@ -518,6 +591,12 @@ func (o GoogleCloudDialogflowCxV3beta1AudioInputOutput) ToGoogleCloudDialogflowC }).(GoogleCloudDialogflowCxV3beta1AudioInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1AudioInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1AudioInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1AudioInput]{ + OutputState: o.OutputState, + } +} + // The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests. func (o GoogleCloudDialogflowCxV3beta1AudioInputOutput) Audio() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1AudioInput) *string { return v.Audio }).(pulumi.StringPtrOutput) @@ -544,6 +623,12 @@ func (o GoogleCloudDialogflowCxV3beta1AudioInputPtrOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3beta1AudioInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1AudioInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1AudioInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1AudioInputPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1AudioInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1AudioInput) GoogleCloudDialogflowCxV3beta1AudioInput { if v != nil { @@ -597,6 +682,12 @@ func (o GoogleCloudDialogflowCxV3beta1AudioInputResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3beta1AudioInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1AudioInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1AudioInputResponse]{ + OutputState: o.OutputState, + } +} + // The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests. func (o GoogleCloudDialogflowCxV3beta1AudioInputResponseOutput) Audio() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1AudioInputResponse) string { return v.Audio }).(pulumi.StringOutput) @@ -648,6 +739,12 @@ func (i GoogleCloudDialogflowCxV3beta1ConversationTurnArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ConversationTurnOutput) } +func (i GoogleCloudDialogflowCxV3beta1ConversationTurnArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurn] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurn]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ConversationTurnOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1ConversationTurnArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1ConversationTurnArray and GoogleCloudDialogflowCxV3beta1ConversationTurnArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1ConversationTurnArrayInput` via: // @@ -673,6 +770,12 @@ func (i GoogleCloudDialogflowCxV3beta1ConversationTurnArray) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ConversationTurnArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1ConversationTurnArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ConversationTurn] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ConversationTurn]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ConversationTurnArrayOutputWithContext(ctx).OutputState, + } +} + // One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response. type GoogleCloudDialogflowCxV3beta1ConversationTurnOutput struct{ *pulumi.OutputState } @@ -688,6 +791,12 @@ func (o GoogleCloudDialogflowCxV3beta1ConversationTurnOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowCxV3beta1ConversationTurnOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurn] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurn]{ + OutputState: o.OutputState, + } +} + // The user input. func (o GoogleCloudDialogflowCxV3beta1ConversationTurnOutput) UserInput() GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ConversationTurn) *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput { @@ -716,6 +825,12 @@ func (o GoogleCloudDialogflowCxV3beta1ConversationTurnArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowCxV3beta1ConversationTurnArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ConversationTurn] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ConversationTurn]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ConversationTurnArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ConversationTurnOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ConversationTurn { return vs[0].([]GoogleCloudDialogflowCxV3beta1ConversationTurn)[vs[1].(int)] @@ -745,6 +860,12 @@ func (o GoogleCloudDialogflowCxV3beta1ConversationTurnResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3beta1ConversationTurnResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnResponse]{ + OutputState: o.OutputState, + } +} + // The user input. func (o GoogleCloudDialogflowCxV3beta1ConversationTurnResponseOutput) UserInput() GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ConversationTurnResponse) GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputResponse { @@ -773,6 +894,12 @@ func (o GoogleCloudDialogflowCxV3beta1ConversationTurnResponseArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3beta1ConversationTurnResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ConversationTurnResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ConversationTurnResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ConversationTurnResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ConversationTurnResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ConversationTurnResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1ConversationTurnResponse)[vs[1].(int)] @@ -826,6 +953,12 @@ func (i GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputOutput) } +func (i GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ConversationTurnUserInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputArgs) ToGoogleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrOutput() GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrOutputWithContext(context.Background()) } @@ -867,6 +1000,12 @@ func (i *googleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrOutputWithContext(ctx).OutputState, + } +} + // The input from the human user. type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputOutput struct{ *pulumi.OutputState } @@ -892,6 +1031,12 @@ func (o GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputOutput) ToGoogleC }).(GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput]{ + OutputState: o.OutputState, + } +} + // Whether sentiment analysis is enabled. func (o GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputOutput) EnableSentimentAnalysis() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput) *bool { @@ -932,6 +1077,12 @@ func (o GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput) GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput { if v != nil { @@ -1009,6 +1160,12 @@ func (o GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputResponseOutput) T return o } +func (o GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputResponse]{ + OutputState: o.OutputState, + } +} + // Whether sentiment analysis is enabled. func (o GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputResponseOutput) EnableSentimentAnalysis() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ConversationTurnUserInputResponse) bool { @@ -1092,6 +1249,12 @@ func (i GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputArgs) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputOutput) } +func (i GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputArgs) ToGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrOutput() GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrOutputWithContext(context.Background()) } @@ -1133,6 +1296,12 @@ func (i *googleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrType return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrOutputWithContext(ctx).OutputState, + } +} + // The output from the virtual agent. type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputOutput struct{ *pulumi.OutputState } @@ -1158,6 +1327,12 @@ func (o GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputOutput) }).(GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput]{ + OutputState: o.OutputState, + } +} + // The Page on which the utterance was spoken. Only name and displayName will be set. func (o GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputOutput) CurrentPage() GoogleCloudDialogflowCxV3beta1PagePtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput) *GoogleCloudDialogflowCxV3beta1Page { @@ -1214,6 +1389,12 @@ func (o GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput) GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput { if v != nil { @@ -1317,6 +1498,12 @@ func (o GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputResponse return o } +func (o GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputResponse]{ + OutputState: o.OutputState, + } +} + // The Page on which the utterance was spoken. Only name and displayName will be set. func (o GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputResponseOutput) CurrentPage() GoogleCloudDialogflowCxV3beta1PageResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutputResponse) GoogleCloudDialogflowCxV3beta1PageResponse { @@ -1405,6 +1592,12 @@ func (i GoogleCloudDialogflowCxV3beta1DtmfInputArgs) ToGoogleCloudDialogflowCxV3 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1DtmfInputOutput) } +func (i GoogleCloudDialogflowCxV3beta1DtmfInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1DtmfInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1DtmfInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1DtmfInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1DtmfInputArgs) ToGoogleCloudDialogflowCxV3beta1DtmfInputPtrOutput() GoogleCloudDialogflowCxV3beta1DtmfInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1DtmfInputPtrOutputWithContext(context.Background()) } @@ -1446,6 +1639,12 @@ func (i *googleCloudDialogflowCxV3beta1DtmfInputPtrType) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1DtmfInputPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1DtmfInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1DtmfInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1DtmfInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1DtmfInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the input for dtmf event. type GoogleCloudDialogflowCxV3beta1DtmfInputOutput struct{ *pulumi.OutputState } @@ -1471,6 +1670,12 @@ func (o GoogleCloudDialogflowCxV3beta1DtmfInputOutput) ToGoogleCloudDialogflowCx }).(GoogleCloudDialogflowCxV3beta1DtmfInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1DtmfInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1DtmfInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1DtmfInput]{ + OutputState: o.OutputState, + } +} + // The dtmf digits. func (o GoogleCloudDialogflowCxV3beta1DtmfInputOutput) Digits() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1DtmfInput) *string { return v.Digits }).(pulumi.StringPtrOutput) @@ -1495,6 +1700,12 @@ func (o GoogleCloudDialogflowCxV3beta1DtmfInputPtrOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3beta1DtmfInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1DtmfInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1DtmfInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1DtmfInputPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1DtmfInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1DtmfInput) GoogleCloudDialogflowCxV3beta1DtmfInput { if v != nil { @@ -1548,6 +1759,12 @@ func (o GoogleCloudDialogflowCxV3beta1DtmfInputResponseOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowCxV3beta1DtmfInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1DtmfInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1DtmfInputResponse]{ + OutputState: o.OutputState, + } +} + // The dtmf digits. func (o GoogleCloudDialogflowCxV3beta1DtmfInputResponseOutput) Digits() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1DtmfInputResponse) string { return v.Digits }).(pulumi.StringOutput) @@ -1597,6 +1814,12 @@ func (i GoogleCloudDialogflowCxV3beta1EntityTypeEntityArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EntityTypeEntityOutput) } +func (i GoogleCloudDialogflowCxV3beta1EntityTypeEntityArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeEntity] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeEntity]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EntityTypeEntityOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1EntityTypeEntityArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1EntityTypeEntityArray and GoogleCloudDialogflowCxV3beta1EntityTypeEntityArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1EntityTypeEntityArrayInput` via: // @@ -1622,6 +1845,12 @@ func (i GoogleCloudDialogflowCxV3beta1EntityTypeEntityArray) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EntityTypeEntityArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1EntityTypeEntityArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeEntity] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeEntity]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EntityTypeEntityArrayOutputWithContext(ctx).OutputState, + } +} + // An **entity entry** for an associated entity type. type GoogleCloudDialogflowCxV3beta1EntityTypeEntityOutput struct{ *pulumi.OutputState } @@ -1637,6 +1866,12 @@ func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeEntity] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeEntity]{ + OutputState: o.OutputState, + } +} + // A collection of value synonyms. For example, if the entity type is *vegetable*, and `value` is *scallions*, a synonym could be *green onions*. For `KIND_LIST` entity types: * This collection must contain exactly one synonym equal to `value`. func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EntityTypeEntity) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -1661,6 +1896,12 @@ func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeEntity] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeEntity]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1EntityTypeEntityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1EntityTypeEntity { return vs[0].([]GoogleCloudDialogflowCxV3beta1EntityTypeEntity)[vs[1].(int)] @@ -1690,6 +1931,12 @@ func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponse]{ + OutputState: o.OutputState, + } +} + // A collection of value synonyms. For example, if the entity type is *vegetable*, and `value` is *scallions*, a synonym could be *green onions*. For `KIND_LIST` entity types: * This collection must contain exactly one synonym equal to `value`. func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponseOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponse) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -1714,6 +1961,12 @@ func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponseArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1EntityTypeEntityResponse)[vs[1].(int)] @@ -1755,6 +2008,12 @@ func (i GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseOutput) } +func (i GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArray and GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArrayInput` via: // @@ -1780,6 +2039,12 @@ func (i GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArray) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArrayOutputWithContext(ctx).OutputState, + } +} + // An excluded entity phrase that should not be matched. type GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseOutput struct{ *pulumi.OutputState } @@ -1795,6 +2060,12 @@ func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase]{ + OutputState: o.OutputState, + } +} + // The word or phrase to be excluded. func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase) string { return v.Value }).(pulumi.StringOutput) @@ -1814,6 +2085,12 @@ func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase { return vs[0].([]GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase)[vs[1].(int)] @@ -1841,6 +2118,12 @@ func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponseOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponse]{ + OutputState: o.OutputState, + } +} + // The word or phrase to be excluded. func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponseOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponse) string { return v.Value }).(pulumi.StringOutput) @@ -1860,6 +2143,12 @@ func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponseArrayOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhraseResponse)[vs[1].(int)] @@ -1909,6 +2198,12 @@ func (i GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigOutput) } +func (i GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigArgs) ToGoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrOutput() GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrOutputWithContext(context.Background()) } @@ -1950,6 +2245,12 @@ func (i *googleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for continuous tests. type GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigOutput struct{ *pulumi.OutputState } @@ -1975,6 +2276,12 @@ func (o GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigOutput) ToGoogle }).(GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]{ + OutputState: o.OutputState, + } +} + // Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day. func (o GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigOutput) EnableContinuousRun() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig) *bool { return v.EnableContinuousRun }).(pulumi.BoolPtrOutput) @@ -2006,6 +2313,12 @@ func (o GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig) GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig { if v != nil { @@ -2071,6 +2384,12 @@ func (o GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigResponseOutput) return o } +func (o GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day. func (o GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigResponseOutput) EnableContinuousRun() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfigResponse) bool { @@ -2125,6 +2444,12 @@ func (i GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigOutput) } +func (i GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArray and GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArrayInput` via: // @@ -2150,6 +2475,12 @@ func (i GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArray) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for the version. type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigOutput struct{ *pulumi.OutputState } @@ -2165,6 +2496,12 @@ func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig]{ + OutputState: o.OutputState, + } +} + // Format: projects//locations//agents//flows//versions/. func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig) string { return v.Version }).(pulumi.StringOutput) @@ -2184,6 +2521,12 @@ func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig { return vs[0].([]GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig)[vs[1].(int)] @@ -2211,6 +2554,12 @@ func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponseOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Format: projects//locations//agents//flows//versions/. func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponseOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponse) string { return v.Version }).(pulumi.StringOutput) @@ -2230,6 +2579,12 @@ func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponseArrayOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfigResponse)[vs[1].(int)] @@ -2271,6 +2626,12 @@ func (i GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigOutput) } +func (i GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigArgs) ToGoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrOutput() GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrOutputWithContext(context.Background()) } @@ -2312,6 +2673,12 @@ func (i *googleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for webhooks. type GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigOutput struct{ *pulumi.OutputState } @@ -2337,6 +2704,12 @@ func (o GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigOutput) ToGoogleCl }).(GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig]{ + OutputState: o.OutputState, + } +} + // The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in `generic_web_service` and `service_directory`. func (o GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigOutput) WebhookOverrides() GoogleCloudDialogflowCxV3beta1WebhookArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig) []GoogleCloudDialogflowCxV3beta1Webhook { @@ -2358,6 +2731,12 @@ func (o GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig) GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig { if v != nil { @@ -2399,6 +2778,12 @@ func (o GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigResponseOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigResponse]{ + OutputState: o.OutputState, + } +} + // The list of webhooks to override for the agent environment. The webhook must exist in the agent. You can override fields in `generic_web_service` and `service_directory`. func (o GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigResponseOutput) WebhookOverrides() GoogleCloudDialogflowCxV3beta1WebhookResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfigResponse) []GoogleCloudDialogflowCxV3beta1WebhookResponse { @@ -2453,6 +2838,12 @@ func (i GoogleCloudDialogflowCxV3beta1EventHandlerArgs) ToGoogleCloudDialogflowC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EventHandlerOutput) } +func (i GoogleCloudDialogflowCxV3beta1EventHandlerArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EventHandler] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EventHandler]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EventHandlerOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1EventHandlerArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1EventHandlerArray and GoogleCloudDialogflowCxV3beta1EventHandlerArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1EventHandlerArrayInput` via: // @@ -2478,6 +2869,12 @@ func (i GoogleCloudDialogflowCxV3beta1EventHandlerArray) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EventHandlerArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1EventHandlerArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EventHandler] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EventHandler]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EventHandlerArrayOutputWithContext(ctx).OutputState, + } +} + // An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow. type GoogleCloudDialogflowCxV3beta1EventHandlerOutput struct{ *pulumi.OutputState } @@ -2493,6 +2890,12 @@ func (o GoogleCloudDialogflowCxV3beta1EventHandlerOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3beta1EventHandlerOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EventHandler] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EventHandler]{ + OutputState: o.OutputState, + } +} + // The name of the event to handle. func (o GoogleCloudDialogflowCxV3beta1EventHandlerOutput) Event() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EventHandler) string { return v.Event }).(pulumi.StringOutput) @@ -2529,6 +2932,12 @@ func (o GoogleCloudDialogflowCxV3beta1EventHandlerArrayOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowCxV3beta1EventHandlerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EventHandler] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EventHandler]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EventHandlerArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1EventHandlerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1EventHandler { return vs[0].([]GoogleCloudDialogflowCxV3beta1EventHandler)[vs[1].(int)] @@ -2564,6 +2973,12 @@ func (o GoogleCloudDialogflowCxV3beta1EventHandlerResponseOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3beta1EventHandlerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EventHandlerResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EventHandlerResponse]{ + OutputState: o.OutputState, + } +} + // The name of the event to handle. func (o GoogleCloudDialogflowCxV3beta1EventHandlerResponseOutput) Event() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EventHandlerResponse) string { return v.Event }).(pulumi.StringOutput) @@ -2605,6 +3020,12 @@ func (o GoogleCloudDialogflowCxV3beta1EventHandlerResponseArrayOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowCxV3beta1EventHandlerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EventHandlerResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1EventHandlerResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EventHandlerResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1EventHandlerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1EventHandlerResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1EventHandlerResponse)[vs[1].(int)] @@ -2646,6 +3067,12 @@ func (i GoogleCloudDialogflowCxV3beta1EventInputArgs) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EventInputOutput) } +func (i GoogleCloudDialogflowCxV3beta1EventInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EventInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EventInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EventInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1EventInputArgs) ToGoogleCloudDialogflowCxV3beta1EventInputPtrOutput() GoogleCloudDialogflowCxV3beta1EventInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1EventInputPtrOutputWithContext(context.Background()) } @@ -2687,6 +3114,12 @@ func (i *googleCloudDialogflowCxV3beta1EventInputPtrType) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1EventInputPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1EventInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1EventInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1EventInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1EventInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the event to trigger. type GoogleCloudDialogflowCxV3beta1EventInputOutput struct{ *pulumi.OutputState } @@ -2712,6 +3145,12 @@ func (o GoogleCloudDialogflowCxV3beta1EventInputOutput) ToGoogleCloudDialogflowC }).(GoogleCloudDialogflowCxV3beta1EventInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1EventInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EventInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EventInput]{ + OutputState: o.OutputState, + } +} + // Name of the event. func (o GoogleCloudDialogflowCxV3beta1EventInputOutput) Event() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EventInput) *string { return v.Event }).(pulumi.StringPtrOutput) @@ -2731,6 +3170,12 @@ func (o GoogleCloudDialogflowCxV3beta1EventInputPtrOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3beta1EventInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1EventInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1EventInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1EventInputPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1EventInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1EventInput) GoogleCloudDialogflowCxV3beta1EventInput { if v != nil { @@ -2772,6 +3217,12 @@ func (o GoogleCloudDialogflowCxV3beta1EventInputResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3beta1EventInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1EventInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1EventInputResponse]{ + OutputState: o.OutputState, + } +} + // Name of the event. func (o GoogleCloudDialogflowCxV3beta1EventInputResponseOutput) Event() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1EventInputResponse) string { return v.Event }).(pulumi.StringOutput) @@ -2816,6 +3267,12 @@ func (i GoogleCloudDialogflowCxV3beta1ExperimentDefinitionArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ExperimentDefinitionOutput) } +func (i GoogleCloudDialogflowCxV3beta1ExperimentDefinitionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentDefinition] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentDefinition]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ExperimentDefinitionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ExperimentDefinitionArgs) ToGoogleCloudDialogflowCxV3beta1ExperimentDefinitionPtrOutput() GoogleCloudDialogflowCxV3beta1ExperimentDefinitionPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ExperimentDefinitionPtrOutputWithContext(context.Background()) } @@ -2857,6 +3314,12 @@ func (i *googleCloudDialogflowCxV3beta1ExperimentDefinitionPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ExperimentDefinitionPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ExperimentDefinitionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentDefinition] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentDefinition]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ExperimentDefinitionPtrOutputWithContext(ctx).OutputState, + } +} + // Definition of the experiment. type GoogleCloudDialogflowCxV3beta1ExperimentDefinitionOutput struct{ *pulumi.OutputState } @@ -2882,6 +3345,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentDefinitionOutput) ToGoogleCloudD }).(GoogleCloudDialogflowCxV3beta1ExperimentDefinitionPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ExperimentDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentDefinition] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentDefinition]{ + OutputState: o.OutputState, + } +} + // The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. "query_input.language_code=en" See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). func (o GoogleCloudDialogflowCxV3beta1ExperimentDefinitionOutput) Condition() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ExperimentDefinition) *string { return v.Condition }).(pulumi.StringPtrOutput) @@ -2908,6 +3377,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentDefinitionPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentDefinitionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentDefinition] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentDefinition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentDefinitionPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ExperimentDefinitionOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ExperimentDefinition) GoogleCloudDialogflowCxV3beta1ExperimentDefinition { if v != nil { @@ -2961,6 +3436,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentDefinitionResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentDefinitionResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. "query_input.language_code=en" See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). func (o GoogleCloudDialogflowCxV3beta1ExperimentDefinitionResponseOutput) Condition() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ExperimentDefinitionResponse) string { return v.Condition }).(pulumi.StringOutput) @@ -3012,6 +3493,12 @@ func (i GoogleCloudDialogflowCxV3beta1ExperimentResultArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ExperimentResultOutput) } +func (i GoogleCloudDialogflowCxV3beta1ExperimentResultArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResult] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResult]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ExperimentResultOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ExperimentResultArgs) ToGoogleCloudDialogflowCxV3beta1ExperimentResultPtrOutput() GoogleCloudDialogflowCxV3beta1ExperimentResultPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ExperimentResultPtrOutputWithContext(context.Background()) } @@ -3053,6 +3540,12 @@ func (i *googleCloudDialogflowCxV3beta1ExperimentResultPtrType) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ExperimentResultPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ExperimentResultPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResult]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ExperimentResultPtrOutputWithContext(ctx).OutputState, + } +} + // The inference result which includes an objective metric to optimize and the confidence interval. type GoogleCloudDialogflowCxV3beta1ExperimentResultOutput struct{ *pulumi.OutputState } @@ -3078,6 +3571,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultOutput) ToGoogleCloudDialo }).(GoogleCloudDialogflowCxV3beta1ExperimentResultPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResult] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResult]{ + OutputState: o.OutputState, + } +} + // The last time the experiment's stats data was updated. Will have default value if stats have never been computed for this experiment. func (o GoogleCloudDialogflowCxV3beta1ExperimentResultOutput) LastUpdateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ExperimentResult) *string { return v.LastUpdateTime }).(pulumi.StringPtrOutput) @@ -3104,6 +3603,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultPtrOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResult]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentResultPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ExperimentResultOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ExperimentResult) GoogleCloudDialogflowCxV3beta1ExperimentResult { if v != nil { @@ -3181,6 +3686,12 @@ func (i GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalArgs) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalOutput) } +func (i GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalArgs) ToGoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrOutput() GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrOutputWithContext(context.Background()) } @@ -3222,6 +3733,12 @@ func (i *googleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrType return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // A confidence interval is a range of possible values for the experiment objective you are trying to measure. type GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalOutput struct{ *pulumi.OutputState } @@ -3247,6 +3764,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalOutput) }).(GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval]{ + OutputState: o.OutputState, + } +} + // The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval. func (o GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalOutput) ConfidenceLevel() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval) *float64 { @@ -3283,6 +3806,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval) GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval { if v != nil { @@ -3360,6 +3889,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalResponse return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalResponse]{ + OutputState: o.OutputState, + } +} + // The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval. func (o GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalResponseOutput) ConfidenceLevel() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalResponse) float64 { @@ -3439,6 +3974,12 @@ func (i GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ExperimentResultMetricOutput) } +func (i GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultMetric] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultMetric]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ExperimentResultMetricOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArray and GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArrayInput` via: // @@ -3464,6 +4005,12 @@ func (i GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArray) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultMetric] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultMetric]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ExperimentResultMetricArrayOutputWithContext(ctx).OutputState, + } +} + // Metric and corresponding confidence intervals. type GoogleCloudDialogflowCxV3beta1ExperimentResultMetricOutput struct{ *pulumi.OutputState } @@ -3479,6 +4026,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultMetric] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultMetric]{ + OutputState: o.OutputState, + } +} + // The probability that the treatment is better than all other treatments in the experiment func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricOutput) ConfidenceInterval() GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ExperimentResultMetric) *GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval { @@ -3524,6 +4077,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArrayOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultMetric] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultMetric]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ExperimentResultMetricOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ExperimentResultMetric { return vs[0].([]GoogleCloudDialogflowCxV3beta1ExperimentResultMetric)[vs[1].(int)] @@ -3559,6 +4118,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponseOutput) ToGo return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponse]{ + OutputState: o.OutputState, + } +} + // The probability that the treatment is better than all other treatments in the experiment func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponseOutput) ConfidenceInterval() GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponse) GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceIntervalResponse { @@ -3600,6 +4165,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponseArrayOutput) return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponse)[vs[1].(int)] @@ -3629,6 +4200,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultResponse]{ + OutputState: o.OutputState, + } +} + // The last time the experiment's stats data was updated. Will have default value if stats have never been computed for this experiment. func (o GoogleCloudDialogflowCxV3beta1ExperimentResultResponseOutput) LastUpdateTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ExperimentResultResponse) string { return v.LastUpdateTime }).(pulumi.StringOutput) @@ -3684,6 +4261,12 @@ func (i GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArgs) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsOutput) } +func (i GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArray and GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArrayInput` via: // @@ -3709,6 +4292,12 @@ func (i GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArray) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArrayOutputWithContext(ctx).OutputState, + } +} + // Version variant and associated metrics. type GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsOutput struct{ *pulumi.OutputState } @@ -3724,6 +4313,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsOutput) ToGo return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics]{ + OutputState: o.OutputState, + } +} + // The metrics and corresponding confidence intervals in the inference result. func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsOutput) Metrics() GoogleCloudDialogflowCxV3beta1ExperimentResultMetricArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics) []GoogleCloudDialogflowCxV3beta1ExperimentResultMetric { @@ -3755,6 +4350,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArrayOutput) return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics { return vs[0].([]GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics)[vs[1].(int)] @@ -3786,6 +4387,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponseOutp return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse]{ + OutputState: o.OutputState, + } +} + // The metrics and corresponding confidence intervals in the inference result. func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponseOutput) Metrics() GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse) []GoogleCloudDialogflowCxV3beta1ExperimentResultMetricResponse { @@ -3819,6 +4426,12 @@ func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponseArra return o } +func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetricsResponse)[vs[1].(int)] @@ -3860,6 +4473,12 @@ func (i GoogleCloudDialogflowCxV3beta1FormArgs) ToGoogleCloudDialogflowCxV3beta1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FormOutput) } +func (i GoogleCloudDialogflowCxV3beta1FormArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1Form] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1Form]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FormOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1FormArgs) ToGoogleCloudDialogflowCxV3beta1FormPtrOutput() GoogleCloudDialogflowCxV3beta1FormPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1FormPtrOutputWithContext(context.Background()) } @@ -3901,6 +4520,12 @@ func (i *googleCloudDialogflowCxV3beta1FormPtrType) ToGoogleCloudDialogflowCxV3b return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FormPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1FormPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1Form] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1Form]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FormPtrOutputWithContext(ctx).OutputState, + } +} + // A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session. type GoogleCloudDialogflowCxV3beta1FormOutput struct{ *pulumi.OutputState } @@ -3926,6 +4551,12 @@ func (o GoogleCloudDialogflowCxV3beta1FormOutput) ToGoogleCloudDialogflowCxV3bet }).(GoogleCloudDialogflowCxV3beta1FormPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1FormOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1Form] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1Form]{ + OutputState: o.OutputState, + } +} + // Parameters to collect from the user. func (o GoogleCloudDialogflowCxV3beta1FormOutput) Parameters() GoogleCloudDialogflowCxV3beta1FormParameterArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1Form) []GoogleCloudDialogflowCxV3beta1FormParameter { @@ -3947,6 +4578,12 @@ func (o GoogleCloudDialogflowCxV3beta1FormPtrOutput) ToGoogleCloudDialogflowCxV3 return o } +func (o GoogleCloudDialogflowCxV3beta1FormPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1Form] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1Form]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FormPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1FormOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1Form) GoogleCloudDialogflowCxV3beta1Form { if v != nil { @@ -4026,6 +4663,12 @@ func (i GoogleCloudDialogflowCxV3beta1FormParameterArgs) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FormParameterOutput) } +func (i GoogleCloudDialogflowCxV3beta1FormParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameter] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameter]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FormParameterOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1FormParameterArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1FormParameterArray and GoogleCloudDialogflowCxV3beta1FormParameterArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1FormParameterArrayInput` via: // @@ -4051,6 +4694,12 @@ func (i GoogleCloudDialogflowCxV3beta1FormParameterArray) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FormParameterArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1FormParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FormParameter] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FormParameter]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FormParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a form parameter. type GoogleCloudDialogflowCxV3beta1FormParameterOutput struct{ *pulumi.OutputState } @@ -4066,6 +4715,12 @@ func (o GoogleCloudDialogflowCxV3beta1FormParameterOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3beta1FormParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameter] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameter]{ + OutputState: o.OutputState, + } +} + // The default value of an optional parameter. If the parameter is required, the default value will be ignored. func (o GoogleCloudDialogflowCxV3beta1FormParameterOutput) DefaultValue() pulumi.AnyOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FormParameter) interface{} { return v.DefaultValue }).(pulumi.AnyOutput) @@ -4117,6 +4772,12 @@ func (o GoogleCloudDialogflowCxV3beta1FormParameterArrayOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3beta1FormParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FormParameter] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FormParameter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FormParameterArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1FormParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1FormParameter { return vs[0].([]GoogleCloudDialogflowCxV3beta1FormParameter)[vs[1].(int)] @@ -4162,6 +4823,12 @@ func (i GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorOutput) } +func (i GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorOutputWithContext(ctx).OutputState, + } +} + // Configuration for how the filling of a parameter should be handled. type GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorOutput struct{ *pulumi.OutputState } @@ -4177,6 +4844,12 @@ func (o GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior]{ + OutputState: o.OutputState, + } +} + // The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter. func (o GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorOutput) InitialPromptFulfillment() GoogleCloudDialogflowCxV3beta1FulfillmentOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) GoogleCloudDialogflowCxV3beta1Fulfillment { @@ -4214,6 +4887,12 @@ func (o GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorResponseOutput) T return o } +func (o GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorResponse]{ + OutputState: o.OutputState, + } +} + // The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter. func (o GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorResponseOutput) InitialPromptFulfillment() GoogleCloudDialogflowCxV3beta1FulfillmentResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FormParameterFillBehaviorResponse) GoogleCloudDialogflowCxV3beta1FulfillmentResponse { @@ -4261,6 +4940,12 @@ func (o GoogleCloudDialogflowCxV3beta1FormParameterResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowCxV3beta1FormParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameterResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FormParameterResponse]{ + OutputState: o.OutputState, + } +} + // The default value of an optional parameter. If the parameter is required, the default value will be ignored. func (o GoogleCloudDialogflowCxV3beta1FormParameterResponseOutput) DefaultValue() pulumi.AnyOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FormParameterResponse) interface{} { return v.DefaultValue }).(pulumi.AnyOutput) @@ -4312,6 +4997,12 @@ func (o GoogleCloudDialogflowCxV3beta1FormParameterResponseArrayOutput) ToGoogle return o } +func (o GoogleCloudDialogflowCxV3beta1FormParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FormParameterResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FormParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FormParameterResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1FormParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1FormParameterResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1FormParameterResponse)[vs[1].(int)] @@ -4339,6 +5030,12 @@ func (o GoogleCloudDialogflowCxV3beta1FormResponseOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3beta1FormResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FormResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FormResponse]{ + OutputState: o.OutputState, + } +} + // Parameters to collect from the user. func (o GoogleCloudDialogflowCxV3beta1FormResponseOutput) Parameters() GoogleCloudDialogflowCxV3beta1FormParameterResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FormResponse) []GoogleCloudDialogflowCxV3beta1FormParameterResponse { @@ -4401,6 +5098,12 @@ func (i GoogleCloudDialogflowCxV3beta1FulfillmentArgs) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentOutput) } +func (i GoogleCloudDialogflowCxV3beta1FulfillmentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1Fulfillment] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1Fulfillment]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1FulfillmentArgs) ToGoogleCloudDialogflowCxV3beta1FulfillmentPtrOutput() GoogleCloudDialogflowCxV3beta1FulfillmentPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1FulfillmentPtrOutputWithContext(context.Background()) } @@ -4442,6 +5145,12 @@ func (i *googleCloudDialogflowCxV3beta1FulfillmentPtrType) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1FulfillmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1Fulfillment] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1Fulfillment]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentPtrOutputWithContext(ctx).OutputState, + } +} + // A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both. type GoogleCloudDialogflowCxV3beta1FulfillmentOutput struct{ *pulumi.OutputState } @@ -4467,6 +5176,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentOutput) ToGoogleCloudDialogflow }).(GoogleCloudDialogflowCxV3beta1FulfillmentPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1Fulfillment] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1Fulfillment]{ + OutputState: o.OutputState, + } +} + // Conditional cases for this fulfillment. func (o GoogleCloudDialogflowCxV3beta1FulfillmentOutput) ConditionalCases() GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1Fulfillment) []GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases { @@ -4517,6 +5232,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentPtrOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1Fulfillment] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1Fulfillment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FulfillmentPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1FulfillmentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1Fulfillment) GoogleCloudDialogflowCxV3beta1Fulfillment { if v != nil { @@ -4622,6 +5343,12 @@ func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesOutput) } +func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArgs) ToGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrOutput() GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrOutputWithContext(context.Background()) } @@ -4663,6 +5390,12 @@ func (i *googleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrType) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArray and GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArrayInput` via: // @@ -4688,6 +5421,12 @@ func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArray) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArrayOutputWithContext(ctx).OutputState, + } +} + // A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored. type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesOutput struct{ *pulumi.OutputState } @@ -4713,6 +5452,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesOutput) ToGoogl }).(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases]{ + OutputState: o.OutputState, + } +} + // A list of cascading if-else conditions. func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesOutput) Cases() GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) []GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase { @@ -4734,6 +5479,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrOutput) ToGo return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases { if v != nil { @@ -4768,6 +5519,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArrayOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases { return vs[0].([]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases)[vs[1].(int)] @@ -4813,6 +5570,12 @@ func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseOutput) } +func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArray and GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArrayInput` via: // @@ -4838,6 +5601,12 @@ func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArray) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArrayOutputWithContext(ctx).OutputState, + } +} + // Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively. type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseOutput struct{ *pulumi.OutputState } @@ -4853,6 +5622,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseOutput) ToG return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase]{ + OutputState: o.OutputState, + } +} + // A list of case content. func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseOutput) CaseContent() GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) []GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent { @@ -4879,6 +5654,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArrayOutput return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase { return vs[0].([]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase)[vs[1].(int)] @@ -4924,6 +5705,12 @@ func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentOutput) } +func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArray and GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArrayInput` via: // @@ -4949,6 +5736,12 @@ func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArrayOutputWithContext(ctx).OutputState, + } +} + // The list of messages or conditional cases to activate for this case. type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentOutput struct{ *pulumi.OutputState } @@ -4964,6 +5757,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent]{ + OutputState: o.OutputState, + } +} + // Additional cases to be evaluated. func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentOutput) AdditionalCases() GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases { @@ -4992,6 +5791,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent { return vs[0].([]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent)[vs[1].(int)] @@ -5021,6 +5826,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponse]{ + OutputState: o.OutputState, + } +} + // Additional cases to be evaluated. func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponseOutput) AdditionalCases() GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponse) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponse { @@ -5049,6 +5860,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponse)[vs[1].(int)] @@ -5078,6 +5895,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponseOut return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponse]{ + OutputState: o.OutputState, + } +} + // A list of case content. func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponseOutput) CaseContent() GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponse) []GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContentResponse { @@ -5106,6 +5929,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponseArr return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponse)[vs[1].(int)] @@ -5133,6 +5962,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponseOutput) return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponse]{ + OutputState: o.OutputState, + } +} + // A list of cascading if-else conditions. func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponseOutput) Cases() GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponse) []GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseResponse { @@ -5154,6 +5989,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponseArrayOu return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponse)[vs[1].(int)] @@ -5191,6 +6032,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentResponse]{ + OutputState: o.OutputState, + } +} + // Conditional cases for this fulfillment. func (o GoogleCloudDialogflowCxV3beta1FulfillmentResponseOutput) ConditionalCases() GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FulfillmentResponse) []GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesResponse { @@ -5266,6 +6113,12 @@ func (i GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionOutput) } +func (i GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArray and GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArrayInput` via: // @@ -5291,6 +6144,12 @@ func (i GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArray) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArrayOutputWithContext(ctx).OutputState, + } +} + // Setting a parameter value. type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionOutput struct{ *pulumi.OutputState } @@ -5306,6 +6165,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction]{ + OutputState: o.OutputState, + } +} + // Display name of the parameter. func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionOutput) Parameter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) *string { return v.Parameter }).(pulumi.StringPtrOutput) @@ -5330,6 +6195,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArrayOutput) return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction { return vs[0].([]GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction)[vs[1].(int)] @@ -5359,6 +6230,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponseOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponse]{ + OutputState: o.OutputState, + } +} + // Display name of the parameter. func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponseOutput) Parameter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponse) string { return v.Parameter }).(pulumi.StringOutput) @@ -5385,6 +6262,12 @@ func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponseArray return o } +func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterActionResponse)[vs[1].(int)] @@ -5426,6 +6309,12 @@ func (i GoogleCloudDialogflowCxV3beta1GcsDestinationArgs) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1GcsDestinationOutput) } +func (i GoogleCloudDialogflowCxV3beta1GcsDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1GcsDestination] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1GcsDestination]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1GcsDestinationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1GcsDestinationArgs) ToGoogleCloudDialogflowCxV3beta1GcsDestinationPtrOutput() GoogleCloudDialogflowCxV3beta1GcsDestinationPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1GcsDestinationPtrOutputWithContext(context.Background()) } @@ -5467,6 +6356,12 @@ func (i *googleCloudDialogflowCxV3beta1GcsDestinationPtrType) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1GcsDestinationPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1GcsDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1GcsDestination] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1GcsDestination]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1GcsDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow. type GoogleCloudDialogflowCxV3beta1GcsDestinationOutput struct{ *pulumi.OutputState } @@ -5492,6 +6387,12 @@ func (o GoogleCloudDialogflowCxV3beta1GcsDestinationOutput) ToGoogleCloudDialogf }).(GoogleCloudDialogflowCxV3beta1GcsDestinationPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1GcsDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1GcsDestination] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1GcsDestination]{ + OutputState: o.OutputState, + } +} + // The Google Cloud Storage URI for the exported objects. A URI is of the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation. func (o GoogleCloudDialogflowCxV3beta1GcsDestinationOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1GcsDestination) string { return v.Uri }).(pulumi.StringOutput) @@ -5511,6 +6412,12 @@ func (o GoogleCloudDialogflowCxV3beta1GcsDestinationPtrOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowCxV3beta1GcsDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1GcsDestination] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1GcsDestination]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1GcsDestinationPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1GcsDestinationOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1GcsDestination) GoogleCloudDialogflowCxV3beta1GcsDestination { if v != nil { @@ -5552,6 +6459,12 @@ func (o GoogleCloudDialogflowCxV3beta1GcsDestinationResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3beta1GcsDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1GcsDestinationResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1GcsDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The Google Cloud Storage URI for the exported objects. A URI is of the form: `gs://bucket/object-name-or-prefix` Whether a full object name, or just a prefix, its usage depends on the Dialogflow operation. func (o GoogleCloudDialogflowCxV3beta1GcsDestinationResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1GcsDestinationResponse) string { return v.Uri }).(pulumi.StringOutput) @@ -5616,6 +6529,12 @@ func (i GoogleCloudDialogflowCxV3beta1InputAudioConfigArgs) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1InputAudioConfigOutput) } +func (i GoogleCloudDialogflowCxV3beta1InputAudioConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1InputAudioConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1InputAudioConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1InputAudioConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1InputAudioConfigArgs) ToGoogleCloudDialogflowCxV3beta1InputAudioConfigPtrOutput() GoogleCloudDialogflowCxV3beta1InputAudioConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1InputAudioConfigPtrOutputWithContext(context.Background()) } @@ -5657,6 +6576,12 @@ func (i *googleCloudDialogflowCxV3beta1InputAudioConfigPtrType) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1InputAudioConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1InputAudioConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1InputAudioConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Instructs the speech recognizer on how to process the audio content. type GoogleCloudDialogflowCxV3beta1InputAudioConfigOutput struct{ *pulumi.OutputState } @@ -5682,6 +6607,12 @@ func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigOutput) ToGoogleCloudDialo }).(GoogleCloudDialogflowCxV3beta1InputAudioConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1InputAudioConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1InputAudioConfig]{ + OutputState: o.OutputState, + } +} + // Audio encoding of the audio content to process. func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigOutput) AudioEncoding() GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncodingOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1InputAudioConfig) GoogleCloudDialogflowCxV3beta1InputAudioConfigAudioEncoding { @@ -5735,6 +6666,12 @@ func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigPtrOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1InputAudioConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1InputAudioConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1InputAudioConfig) GoogleCloudDialogflowCxV3beta1InputAudioConfig { if v != nil { @@ -5848,6 +6785,12 @@ func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigResponseOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1InputAudioConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1InputAudioConfigResponse]{ + OutputState: o.OutputState, + } +} + // Audio encoding of the audio content to process. func (o GoogleCloudDialogflowCxV3beta1InputAudioConfigResponseOutput) AudioEncoding() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1InputAudioConfigResponse) string { return v.AudioEncoding }).(pulumi.StringOutput) @@ -5946,6 +6889,12 @@ func (i GoogleCloudDialogflowCxV3beta1IntentArgs) ToGoogleCloudDialogflowCxV3bet return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1IntentOutput) } +func (i GoogleCloudDialogflowCxV3beta1IntentArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1Intent] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1Intent]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1IntentOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1IntentArgs) ToGoogleCloudDialogflowCxV3beta1IntentPtrOutput() GoogleCloudDialogflowCxV3beta1IntentPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1IntentPtrOutputWithContext(context.Background()) } @@ -5987,6 +6936,12 @@ func (i *googleCloudDialogflowCxV3beta1IntentPtrType) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1IntentPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1IntentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1Intent] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1Intent]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1IntentPtrOutputWithContext(ctx).OutputState, + } +} + // An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent. type GoogleCloudDialogflowCxV3beta1IntentOutput struct{ *pulumi.OutputState } @@ -6012,6 +6967,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentOutput) ToGoogleCloudDialogflowCxV3b }).(GoogleCloudDialogflowCxV3beta1IntentPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1IntentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1Intent] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1Intent]{ + OutputState: o.OutputState, + } +} + // Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters. func (o GoogleCloudDialogflowCxV3beta1IntentOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1Intent) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -6070,6 +7031,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentPtrOutput) ToGoogleCloudDialogflowCx return o } +func (o GoogleCloudDialogflowCxV3beta1IntentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1Intent] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1Intent]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1IntentPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1IntentOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1Intent) GoogleCloudDialogflowCxV3beta1Intent { if v != nil { @@ -6195,6 +7162,12 @@ func (i GoogleCloudDialogflowCxV3beta1IntentInputTypeArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1IntentInputTypeOutput) } +func (i GoogleCloudDialogflowCxV3beta1IntentInputTypeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentInputType] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentInputType]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1IntentInputTypeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1IntentInputTypeArgs) ToGoogleCloudDialogflowCxV3beta1IntentInputTypePtrOutput() GoogleCloudDialogflowCxV3beta1IntentInputTypePtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1IntentInputTypePtrOutputWithContext(context.Background()) } @@ -6236,6 +7209,12 @@ func (i *googleCloudDialogflowCxV3beta1IntentInputTypePtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1IntentInputTypePtrOutput) } +func (i *googleCloudDialogflowCxV3beta1IntentInputTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1IntentInputType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1IntentInputType]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1IntentInputTypePtrOutputWithContext(ctx).OutputState, + } +} + // Represents the intent to trigger programmatically rather than as a result of natural language processing. type GoogleCloudDialogflowCxV3beta1IntentInputTypeOutput struct{ *pulumi.OutputState } @@ -6261,6 +7240,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentInputTypeOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowCxV3beta1IntentInputTypePtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1IntentInputTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentInputType] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentInputType]{ + OutputState: o.OutputState, + } +} + // The unique identifier of the intent. Format: `projects//locations//agents//intents/`. func (o GoogleCloudDialogflowCxV3beta1IntentInputTypeOutput) Intent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1IntentInputType) string { return v.Intent }).(pulumi.StringOutput) @@ -6280,6 +7265,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentInputTypePtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3beta1IntentInputTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1IntentInputType] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1IntentInputType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1IntentInputTypePtrOutput) Elem() GoogleCloudDialogflowCxV3beta1IntentInputTypeOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1IntentInputType) GoogleCloudDialogflowCxV3beta1IntentInputType { if v != nil { @@ -6321,6 +7312,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentInputResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3beta1IntentInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentInputResponse]{ + OutputState: o.OutputState, + } +} + // The unique identifier of the intent. Format: `projects//locations//agents//intents/`. func (o GoogleCloudDialogflowCxV3beta1IntentInputResponseOutput) Intent() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1IntentInputResponse) string { return v.Intent }).(pulumi.StringOutput) @@ -6373,6 +7370,12 @@ func (i GoogleCloudDialogflowCxV3beta1IntentParameterArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1IntentParameterOutput) } +func (i GoogleCloudDialogflowCxV3beta1IntentParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentParameter] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentParameter]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1IntentParameterOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1IntentParameterArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1IntentParameterArray and GoogleCloudDialogflowCxV3beta1IntentParameterArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1IntentParameterArrayInput` via: // @@ -6398,6 +7401,12 @@ func (i GoogleCloudDialogflowCxV3beta1IntentParameterArray) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1IntentParameterArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1IntentParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentParameter] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentParameter]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1IntentParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an intent parameter. type GoogleCloudDialogflowCxV3beta1IntentParameterOutput struct{ *pulumi.OutputState } @@ -6413,6 +7422,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentParameterOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3beta1IntentParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentParameter] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentParameter]{ + OutputState: o.OutputState, + } +} + // The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types. func (o GoogleCloudDialogflowCxV3beta1IntentParameterOutput) EntityType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1IntentParameter) string { return v.EntityType }).(pulumi.StringOutput) @@ -6447,6 +7462,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentParameterArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3beta1IntentParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentParameter] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentParameter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1IntentParameterArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1IntentParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1IntentParameter { return vs[0].([]GoogleCloudDialogflowCxV3beta1IntentParameter)[vs[1].(int)] @@ -6478,6 +7499,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentParameterResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3beta1IntentParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentParameterResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentParameterResponse]{ + OutputState: o.OutputState, + } +} + // The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types. func (o GoogleCloudDialogflowCxV3beta1IntentParameterResponseOutput) EntityType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1IntentParameterResponse) string { return v.EntityType }).(pulumi.StringOutput) @@ -6507,6 +7534,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentParameterResponseArrayOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3beta1IntentParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentParameterResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1IntentParameterResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1IntentParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1IntentParameterResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1IntentParameterResponse)[vs[1].(int)] @@ -6548,6 +7581,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentResponseOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowCxV3beta1IntentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentResponse]{ + OutputState: o.OutputState, + } +} + // Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters. func (o GoogleCloudDialogflowCxV3beta1IntentResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1IntentResponse) string { return v.Description }).(pulumi.StringOutput) @@ -6631,6 +7670,12 @@ func (i GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseOutput) } +func (i GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1IntentTrainingPhraseOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArray and GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArrayInput` via: // @@ -6656,6 +7701,12 @@ func (i GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArray) ToGoogleCloudDi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an example that the agent is trained on to identify the intent. type GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseOutput struct{ *pulumi.OutputState } @@ -6671,6 +7722,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase]{ + OutputState: o.OutputState, + } +} + // The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set. func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseOutput) Parts() GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) []GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart { @@ -6697,6 +7754,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArrayOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase { return vs[0].([]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase)[vs[1].(int)] @@ -6742,6 +7805,12 @@ func (i GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartOutput) } +func (i GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArray and GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArrayInput` via: // @@ -6767,6 +7836,12 @@ func (i GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArray) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a part of a training phrase. type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartOutput struct{ *pulumi.OutputState } @@ -6782,6 +7857,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart]{ + OutputState: o.OutputState, + } +} + // The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase. func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartOutput) ParameterId() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) *string { return v.ParameterId }).(pulumi.StringPtrOutput) @@ -6806,6 +7887,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart { return vs[0].([]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart)[vs[1].(int)] @@ -6835,6 +7922,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponseOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse]{ + OutputState: o.OutputState, + } +} + // The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase. func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponseOutput) ParameterId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse) string { return v.ParameterId }).(pulumi.StringOutput) @@ -6859,6 +7952,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponseArrayOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse)[vs[1].(int)] @@ -6888,6 +7987,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponse]{ + OutputState: o.OutputState, + } +} + // The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set. func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponseOutput) Parts() GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponse) []GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePartResponse { @@ -6914,6 +8019,12 @@ func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponseArrayOutput) T return o } +func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1IntentTrainingPhraseResponse)[vs[1].(int)] @@ -6963,6 +8074,12 @@ func (i GoogleCloudDialogflowCxV3beta1NluSettingsArgs) ToGoogleCloudDialogflowCx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1NluSettingsOutput) } +func (i GoogleCloudDialogflowCxV3beta1NluSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1NluSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1NluSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1NluSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1NluSettingsArgs) ToGoogleCloudDialogflowCxV3beta1NluSettingsPtrOutput() GoogleCloudDialogflowCxV3beta1NluSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1NluSettingsPtrOutputWithContext(context.Background()) } @@ -7004,6 +8121,12 @@ func (i *googleCloudDialogflowCxV3beta1NluSettingsPtrType) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1NluSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1NluSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1NluSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings related to NLU. type GoogleCloudDialogflowCxV3beta1NluSettingsOutput struct{ *pulumi.OutputState } @@ -7029,6 +8152,12 @@ func (o GoogleCloudDialogflowCxV3beta1NluSettingsOutput) ToGoogleCloudDialogflow }).(GoogleCloudDialogflowCxV3beta1NluSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1NluSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1NluSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1NluSettings]{ + OutputState: o.OutputState, + } +} + // To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used. func (o GoogleCloudDialogflowCxV3beta1NluSettingsOutput) ClassificationThreshold() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1NluSettings) *float64 { return v.ClassificationThreshold }).(pulumi.Float64PtrOutput) @@ -7062,6 +8191,12 @@ func (o GoogleCloudDialogflowCxV3beta1NluSettingsPtrOutput) ToGoogleCloudDialogf return o } +func (o GoogleCloudDialogflowCxV3beta1NluSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1NluSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1NluSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1NluSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1NluSettings) GoogleCloudDialogflowCxV3beta1NluSettings { if v != nil { @@ -7127,6 +8262,12 @@ func (o GoogleCloudDialogflowCxV3beta1NluSettingsResponseOutput) ToGoogleCloudDi return o } +func (o GoogleCloudDialogflowCxV3beta1NluSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1NluSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1NluSettingsResponse]{ + OutputState: o.OutputState, + } +} + // To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used. func (o GoogleCloudDialogflowCxV3beta1NluSettingsResponseOutput) ClassificationThreshold() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1NluSettingsResponse) float64 { return v.ClassificationThreshold }).(pulumi.Float64Output) @@ -7201,6 +8342,12 @@ func (i GoogleCloudDialogflowCxV3beta1PageArgs) ToGoogleCloudDialogflowCxV3beta1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1PageOutput) } +func (i GoogleCloudDialogflowCxV3beta1PageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1Page] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1Page]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1PageOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1PageArgs) ToGoogleCloudDialogflowCxV3beta1PagePtrOutput() GoogleCloudDialogflowCxV3beta1PagePtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1PagePtrOutputWithContext(context.Background()) } @@ -7242,6 +8389,12 @@ func (i *googleCloudDialogflowCxV3beta1PagePtrType) ToGoogleCloudDialogflowCxV3b return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1PagePtrOutput) } +func (i *googleCloudDialogflowCxV3beta1PagePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1Page] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1Page]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1PagePtrOutputWithContext(ctx).OutputState, + } +} + // A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). type GoogleCloudDialogflowCxV3beta1PageOutput struct{ *pulumi.OutputState } @@ -7267,6 +8420,12 @@ func (o GoogleCloudDialogflowCxV3beta1PageOutput) ToGoogleCloudDialogflowCxV3bet }).(GoogleCloudDialogflowCxV3beta1PagePtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1PageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1Page] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1Page]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the page, unique within the flow. func (o GoogleCloudDialogflowCxV3beta1PageOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1Page) string { return v.DisplayName }).(pulumi.StringOutput) @@ -7322,6 +8481,12 @@ func (o GoogleCloudDialogflowCxV3beta1PagePtrOutput) ToGoogleCloudDialogflowCxV3 return o } +func (o GoogleCloudDialogflowCxV3beta1PagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1Page] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1Page]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1PagePtrOutput) Elem() GoogleCloudDialogflowCxV3beta1PageOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1Page) GoogleCloudDialogflowCxV3beta1Page { if v != nil { @@ -7435,6 +8600,12 @@ func (o GoogleCloudDialogflowCxV3beta1PageResponseOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3beta1PageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1PageResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1PageResponse]{ + OutputState: o.OutputState, + } +} + // The human-readable name of the page, unique within the flow. func (o GoogleCloudDialogflowCxV3beta1PageResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1PageResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -7533,6 +8704,12 @@ func (i GoogleCloudDialogflowCxV3beta1QueryInputArgs) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1QueryInputOutput) } +func (i GoogleCloudDialogflowCxV3beta1QueryInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1QueryInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1QueryInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1QueryInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1QueryInputArgs) ToGoogleCloudDialogflowCxV3beta1QueryInputPtrOutput() GoogleCloudDialogflowCxV3beta1QueryInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1QueryInputPtrOutputWithContext(context.Background()) } @@ -7574,6 +8751,12 @@ func (i *googleCloudDialogflowCxV3beta1QueryInputPtrType) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1QueryInputPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1QueryInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1QueryInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1QueryInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1QueryInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. 5. DTMF digits to invoke an intent and fill in parameter value. type GoogleCloudDialogflowCxV3beta1QueryInputOutput struct{ *pulumi.OutputState } @@ -7599,6 +8782,12 @@ func (o GoogleCloudDialogflowCxV3beta1QueryInputOutput) ToGoogleCloudDialogflowC }).(GoogleCloudDialogflowCxV3beta1QueryInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1QueryInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1QueryInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1QueryInput]{ + OutputState: o.OutputState, + } +} + // The natural language speech audio to be processed. func (o GoogleCloudDialogflowCxV3beta1QueryInputOutput) Audio() GoogleCloudDialogflowCxV3beta1AudioInputPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1QueryInput) *GoogleCloudDialogflowCxV3beta1AudioInput { @@ -7653,6 +8842,12 @@ func (o GoogleCloudDialogflowCxV3beta1QueryInputPtrOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3beta1QueryInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1QueryInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1QueryInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1QueryInputPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1QueryInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1QueryInput) GoogleCloudDialogflowCxV3beta1QueryInput { if v != nil { @@ -7754,6 +8949,12 @@ func (o GoogleCloudDialogflowCxV3beta1QueryInputResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3beta1QueryInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1QueryInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1QueryInputResponse]{ + OutputState: o.OutputState, + } +} + // The natural language speech audio to be processed. func (o GoogleCloudDialogflowCxV3beta1QueryInputResponseOutput) Audio() GoogleCloudDialogflowCxV3beta1AudioInputResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1QueryInputResponse) GoogleCloudDialogflowCxV3beta1AudioInputResponse { @@ -7857,6 +9058,12 @@ func (i GoogleCloudDialogflowCxV3beta1ResponseMessageArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageOutput) } +func (i GoogleCloudDialogflowCxV3beta1ResponseMessageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessage] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessage]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ResponseMessageArgs) ToGoogleCloudDialogflowCxV3beta1ResponseMessagePtrOutput() GoogleCloudDialogflowCxV3beta1ResponseMessagePtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ResponseMessagePtrOutputWithContext(context.Background()) } @@ -7898,6 +9105,12 @@ func (i *googleCloudDialogflowCxV3beta1ResponseMessagePtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessagePtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ResponseMessagePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessage] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessage]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessagePtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1ResponseMessageArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1ResponseMessageArray and GoogleCloudDialogflowCxV3beta1ResponseMessageArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1ResponseMessageArrayInput` via: // @@ -7923,6 +9136,12 @@ func (i GoogleCloudDialogflowCxV3beta1ResponseMessageArray) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1ResponseMessageArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessage] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessage]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard. type GoogleCloudDialogflowCxV3beta1ResponseMessageOutput struct{ *pulumi.OutputState } @@ -7948,6 +9167,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowCxV3beta1ResponseMessagePtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessage] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessage]{ + OutputState: o.OutputState, + } +} + // The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutput) Channel() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessage) *string { return v.Channel }).(pulumi.StringPtrOutput) @@ -8014,6 +9239,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessage] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ResponseMessageOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ResponseMessage) GoogleCloudDialogflowCxV3beta1ResponseMessage { if v != nil { @@ -8118,6 +9349,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessage] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessageArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ResponseMessageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ResponseMessage { return vs[0].([]GoogleCloudDialogflowCxV3beta1ResponseMessage)[vs[1].(int)] @@ -8159,6 +9396,12 @@ func (i GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessArgs) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessOutput) } +func (i GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessArgs) ToGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrOutput() GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrOutputWithContext(context.Background()) } @@ -8200,6 +9443,12 @@ func (i *googleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrType return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue. type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessOutput struct{ *pulumi.OutputState } @@ -8225,6 +9474,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessOutput) }).(GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess]{ + OutputState: o.OutputState, + } +} + // Custom metadata. Dialogflow doesn't impose any structure on this. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessOutput) Metadata() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) map[string]string { @@ -8246,6 +9501,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess { if v != nil { @@ -8287,6 +9548,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessResponse return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessResponse]{ + OutputState: o.OutputState, + } +} + // Custom metadata. Dialogflow doesn't impose any structure on this. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessResponseOutput) Metadata() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccessResponse) map[string]string { @@ -8313,6 +9580,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteractionResponseOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteractionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteractionResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteractionResponse]{ + OutputState: o.OutputState, + } +} + // Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { // Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this. @@ -8348,6 +9621,12 @@ func (i GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffOutput) } +func (i GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffArgs) ToGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrOutput() GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrOutputWithContext(context.Background()) } @@ -8389,6 +9668,12 @@ func (i *googleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrType) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffOutput struct{ *pulumi.OutputState } @@ -8414,6 +9699,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffOutput) ToG }).(GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff]{ + OutputState: o.OutputState, + } +} + // Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffOutput) Metadata() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) map[string]string { @@ -8435,6 +9726,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrOutput) return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff { if v != nil { @@ -8476,6 +9773,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffResponseOut return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffResponse]{ + OutputState: o.OutputState, + } +} + // Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffResponseOutput) Metadata() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoffResponse) map[string]string { @@ -8504,6 +9807,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioResponseOutput) T return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioResponse]{ + OutputState: o.OutputState, + } +} + // Segments this audio response is composed of. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioResponseOutput) Segments() GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioResponse) []GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponse { @@ -8536,6 +9845,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponseOu return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponse]{ + OutputState: o.OutputState, + } +} + // Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponseOutput) AllowPlaybackInterruption() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponse) bool { @@ -8567,6 +9882,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponseAr return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegmentResponse)[vs[1].(int)] @@ -8612,6 +9933,12 @@ func (i GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextArgs) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextOutput) } +func (i GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextArgs) ToGoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrOutput() GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrOutputWithContext(context.Background()) } @@ -8653,6 +9980,12 @@ func (i *googleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrType) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrOutputWithContext(ctx).OutputState, + } +} + // A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message. type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextOutput struct{ *pulumi.OutputState } @@ -8678,6 +10011,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextOutput) ToGo }).(GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText]{ + OutputState: o.OutputState, + } +} + // The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml). func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextOutput) Ssml() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) *string { return v.Ssml }).(pulumi.StringPtrOutput) @@ -8702,6 +10041,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrOutput) T return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText { if v != nil { @@ -8757,6 +10102,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextResponseOutp return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextResponse]{ + OutputState: o.OutputState, + } +} + // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextResponseOutput) AllowPlaybackInterruption() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioTextResponse) bool { @@ -8809,6 +10160,12 @@ func (i GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioOutput) } +func (i GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioArgs) ToGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrOutput() GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrOutputWithContext(context.Background()) } @@ -8850,6 +10207,12 @@ func (i *googleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies an audio clip to be played by the client as part of the response. type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioOutput struct{ *pulumi.OutputState } @@ -8875,6 +10238,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioOutput) ToGoogleCl }).(GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]{ + OutputState: o.OutputState, + } +} + // URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it. func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioOutput) AudioUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) string { return v.AudioUri }).(pulumi.StringOutput) @@ -8894,6 +10263,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio { if v != nil { @@ -8937,6 +10312,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioResponseOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioResponse]{ + OutputState: o.OutputState, + } +} + // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. func (o GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioResponseOutput) AllowPlaybackInterruption() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudioResponse) bool { @@ -8988,6 +10369,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageResponse]{ + OutputState: o.OutputState, + } +} + // The channel which the response is associated with. Clients can specify the channel via QueryParameters.channel, and only associated channel response will be returned. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageResponseOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageResponse) string { return v.Channel }).(pulumi.StringOutput) @@ -9068,6 +10455,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageResponseArrayOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessageResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ResponseMessageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ResponseMessageResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1ResponseMessageResponse)[vs[1].(int)] @@ -9109,6 +10502,12 @@ func (i GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallOutput) } +func (i GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallArgs) ToGoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrOutput() GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrOutputWithContext(context.Background()) } @@ -9150,6 +10549,12 @@ func (i *googleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrTy return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. type GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallOutput struct{ *pulumi.OutputState } @@ -9175,6 +10580,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallOutput }).(GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall]{ + OutputState: o.OutputState, + } +} + // Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/wiki/E.164). func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallOutput) PhoneNumber() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall) *string { @@ -9196,6 +10607,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrOut return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall) GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall { if v != nil { @@ -9237,6 +10654,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallRespon return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallResponse]{ + OutputState: o.OutputState, + } +} + // Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/wiki/E.164). func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallResponseOutput) PhoneNumber() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCallResponse) string { @@ -9279,6 +10702,12 @@ func (i GoogleCloudDialogflowCxV3beta1ResponseMessageTextArgs) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageTextOutput) } +func (i GoogleCloudDialogflowCxV3beta1ResponseMessageTextArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageText] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageText]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageTextOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1ResponseMessageTextArgs) ToGoogleCloudDialogflowCxV3beta1ResponseMessageTextPtrOutput() GoogleCloudDialogflowCxV3beta1ResponseMessageTextPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageTextPtrOutputWithContext(context.Background()) } @@ -9320,6 +10749,12 @@ func (i *googleCloudDialogflowCxV3beta1ResponseMessageTextPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageTextPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1ResponseMessageTextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageText] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageText]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageTextPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1ResponseMessageTextArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1ResponseMessageTextArray and GoogleCloudDialogflowCxV3beta1ResponseMessageTextArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1ResponseMessageTextArrayInput` via: // @@ -9345,6 +10780,12 @@ func (i GoogleCloudDialogflowCxV3beta1ResponseMessageTextArray) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1ResponseMessageTextArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1ResponseMessageTextArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessageText] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessageText]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1ResponseMessageTextArrayOutputWithContext(ctx).OutputState, + } +} + // The text response message. type GoogleCloudDialogflowCxV3beta1ResponseMessageTextOutput struct{ *pulumi.OutputState } @@ -9370,6 +10811,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextOutput) ToGoogleCloudDi }).(GoogleCloudDialogflowCxV3beta1ResponseMessageTextPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageText] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageText]{ + OutputState: o.OutputState, + } +} + // A collection of text responses. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextOutput) Text() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageText) []string { return v.Text }).(pulumi.StringArrayOutput) @@ -9389,6 +10836,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextPtrOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageText] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1ResponseMessageText]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1ResponseMessageTextOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1ResponseMessageText) GoogleCloudDialogflowCxV3beta1ResponseMessageText { if v != nil { @@ -9423,6 +10876,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextArrayOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessageText] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessageText]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ResponseMessageTextOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ResponseMessageText { return vs[0].([]GoogleCloudDialogflowCxV3beta1ResponseMessageText)[vs[1].(int)] @@ -9452,6 +10911,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponseOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponse]{ + OutputState: o.OutputState, + } +} + // Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request. func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponseOutput) AllowPlaybackInterruption() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponse) bool { @@ -9478,6 +10943,12 @@ func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponseArrayOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1ResponseMessageTextResponse)[vs[1].(int)] @@ -9527,6 +10998,12 @@ func (i GoogleCloudDialogflowCxV3beta1RolloutConfigArgs) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1RolloutConfigOutput) } +func (i GoogleCloudDialogflowCxV3beta1RolloutConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1RolloutConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1RolloutConfigArgs) ToGoogleCloudDialogflowCxV3beta1RolloutConfigPtrOutput() GoogleCloudDialogflowCxV3beta1RolloutConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1RolloutConfigPtrOutputWithContext(context.Background()) } @@ -9568,6 +11045,12 @@ func (i *googleCloudDialogflowCxV3beta1RolloutConfigPtrType) ToGoogleCloudDialog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1RolloutConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1RolloutConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1RolloutConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1RolloutConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1RolloutConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for auto rollout. type GoogleCloudDialogflowCxV3beta1RolloutConfigOutput struct{ *pulumi.OutputState } @@ -9593,6 +11076,12 @@ func (o GoogleCloudDialogflowCxV3beta1RolloutConfigOutput) ToGoogleCloudDialogfl }).(GoogleCloudDialogflowCxV3beta1RolloutConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1RolloutConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfig]{ + OutputState: o.OutputState, + } +} + // The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. "containment_rate < 10% OR average_turn_count < 3". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). func (o GoogleCloudDialogflowCxV3beta1RolloutConfigOutput) FailureCondition() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1RolloutConfig) *string { return v.FailureCondition }).(pulumi.StringPtrOutput) @@ -9624,6 +11113,12 @@ func (o GoogleCloudDialogflowCxV3beta1RolloutConfigPtrOutput) ToGoogleCloudDialo return o } +func (o GoogleCloudDialogflowCxV3beta1RolloutConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1RolloutConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1RolloutConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1RolloutConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1RolloutConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1RolloutConfig) GoogleCloudDialogflowCxV3beta1RolloutConfig { if v != nil { @@ -9689,6 +11184,12 @@ func (o GoogleCloudDialogflowCxV3beta1RolloutConfigResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudDialogflowCxV3beta1RolloutConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfigResponse]{ + OutputState: o.OutputState, + } +} + // The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. "containment_rate < 10% OR average_turn_count < 3". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). func (o GoogleCloudDialogflowCxV3beta1RolloutConfigResponseOutput) FailureCondition() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1RolloutConfigResponse) string { return v.FailureCondition }).(pulumi.StringOutput) @@ -9749,6 +11250,12 @@ func (i GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepOutput) } +func (i GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArray and GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArrayInput` via: // @@ -9774,6 +11281,12 @@ func (i GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArray) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArrayOutputWithContext(ctx).OutputState, + } +} + // A single rollout step with specified traffic allocation. type GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepOutput struct{ *pulumi.OutputState } @@ -9789,6 +11302,12 @@ func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepOutput) ToGoogleCl return o } +func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep]{ + OutputState: o.OutputState, + } +} + // The name of the rollout step; func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep) *string { return v.DisplayName }).(pulumi.StringPtrOutput) @@ -9818,6 +11337,12 @@ func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArrayOutput) ToGoo return o } +func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep { return vs[0].([]GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep)[vs[1].(int)] @@ -9849,6 +11374,12 @@ func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponseOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponse]{ + OutputState: o.OutputState, + } +} + // The name of the rollout step; func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -9878,6 +11409,12 @@ func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponseArrayOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStepResponse)[vs[1].(int)] @@ -9927,6 +11464,12 @@ func (i GoogleCloudDialogflowCxV3beta1RolloutStateArgs) ToGoogleCloudDialogflowC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1RolloutStateOutput) } +func (i GoogleCloudDialogflowCxV3beta1RolloutStateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutState] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutState]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1RolloutStateOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1RolloutStateArgs) ToGoogleCloudDialogflowCxV3beta1RolloutStatePtrOutput() GoogleCloudDialogflowCxV3beta1RolloutStatePtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1RolloutStatePtrOutputWithContext(context.Background()) } @@ -9968,6 +11511,12 @@ func (i *googleCloudDialogflowCxV3beta1RolloutStatePtrType) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1RolloutStatePtrOutput) } +func (i *googleCloudDialogflowCxV3beta1RolloutStatePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1RolloutState] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1RolloutState]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1RolloutStatePtrOutputWithContext(ctx).OutputState, + } +} + // State of the auto-rollout process. type GoogleCloudDialogflowCxV3beta1RolloutStateOutput struct{ *pulumi.OutputState } @@ -9993,6 +11542,12 @@ func (o GoogleCloudDialogflowCxV3beta1RolloutStateOutput) ToGoogleCloudDialogflo }).(GoogleCloudDialogflowCxV3beta1RolloutStatePtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1RolloutStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutState] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutState]{ + OutputState: o.OutputState, + } +} + // Start time of the current step. func (o GoogleCloudDialogflowCxV3beta1RolloutStateOutput) StartTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1RolloutState) *string { return v.StartTime }).(pulumi.StringPtrOutput) @@ -10022,6 +11577,12 @@ func (o GoogleCloudDialogflowCxV3beta1RolloutStatePtrOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3beta1RolloutStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1RolloutState] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1RolloutState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1RolloutStatePtrOutput) Elem() GoogleCloudDialogflowCxV3beta1RolloutStateOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1RolloutState) GoogleCloudDialogflowCxV3beta1RolloutState { if v != nil { @@ -10087,6 +11648,12 @@ func (o GoogleCloudDialogflowCxV3beta1RolloutStateResponseOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3beta1RolloutStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutStateResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1RolloutStateResponse]{ + OutputState: o.OutputState, + } +} + // Start time of the current step. func (o GoogleCloudDialogflowCxV3beta1RolloutStateResponseOutput) StartTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1RolloutStateResponse) string { return v.StartTime }).(pulumi.StringOutput) @@ -10149,6 +11716,12 @@ func (i GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsArgs) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsOutput) } +func (i GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsArgs) ToGoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrOutput() GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrOutputWithContext(context.Background()) } @@ -10190,6 +11763,12 @@ func (i *googleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrTyp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for exporting audio. type GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsOutput struct{ *pulumi.OutputState } @@ -10215,6 +11794,12 @@ func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsOutput) }).(GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings]{ + OutputState: o.OutputState, + } +} + // Filename pattern for exported audio. func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsOutput) AudioExportPattern() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings) *string { @@ -10255,6 +11840,12 @@ func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrOutp return o } +func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings) GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings { if v != nil { @@ -10332,6 +11923,12 @@ func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsRespons return o } +func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Filename pattern for exported audio. func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsResponseOutput) AudioExportPattern() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsResponse) string { @@ -10395,6 +11992,12 @@ func (i GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsArgs return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsOutput) } +func (i GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsArgs) ToGoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtrOutput() GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtrOutputWithContext(context.Background()) } @@ -10436,6 +12039,12 @@ func (i *googleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for exporting conversations to [Insights](https://cloud.google.com/contact-center/insights/docs). type GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsOutput struct{ *pulumi.OutputState } @@ -10461,6 +12070,12 @@ func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsOutp }).(GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings]{ + OutputState: o.OutputState, + } +} + // If enabled, we will automatically exports conversations to Insights and Insights runs its analyzers. func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsOutput) EnableInsightsExport() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings) *bool { @@ -10482,6 +12097,12 @@ func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtrO return o } +func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings) GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings { if v != nil { @@ -10523,6 +12144,12 @@ func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsResp return o } +func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsResponse]{ + OutputState: o.OutputState, + } +} + // If enabled, we will automatically exports conversations to Insights and Insights runs its analyzers. func (o GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsResponseOutput) EnableInsightsExport() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettingsResponse) bool { @@ -10565,6 +12192,12 @@ func (i GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsOutput) } +func (i GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1SpeechToTextSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1SpeechToTextSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1SpeechToTextSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsArgs) ToGoogleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrOutput() GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrOutputWithContext(context.Background()) } @@ -10606,6 +12239,12 @@ func (i *googleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1SpeechToTextSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1SpeechToTextSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings related to speech recognition. type GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsOutput struct{ *pulumi.OutputState } @@ -10631,6 +12270,12 @@ func (o GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsOutput) ToGoogleCloudD }).(GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1SpeechToTextSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1SpeechToTextSettings]{ + OutputState: o.OutputState, + } +} + // Whether to use speech adaptation for speech recognition. func (o GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsOutput) EnableSpeechAdaptation() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1SpeechToTextSettings) *bool { return v.EnableSpeechAdaptation }).(pulumi.BoolPtrOutput) @@ -10650,6 +12295,12 @@ func (o GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1SpeechToTextSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1SpeechToTextSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings) GoogleCloudDialogflowCxV3beta1SpeechToTextSettings { if v != nil { @@ -10691,6 +12342,12 @@ func (o GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Whether to use speech adaptation for speech recognition. func (o GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsResponseOutput) EnableSpeechAdaptation() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsResponse) bool { @@ -10749,6 +12406,12 @@ func (i GoogleCloudDialogflowCxV3beta1TestCaseResultArgs) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1TestCaseResultOutput) } +func (i GoogleCloudDialogflowCxV3beta1TestCaseResultArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TestCaseResult] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TestCaseResult]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1TestCaseResultOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1TestCaseResultArgs) ToGoogleCloudDialogflowCxV3beta1TestCaseResultPtrOutput() GoogleCloudDialogflowCxV3beta1TestCaseResultPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1TestCaseResultPtrOutputWithContext(context.Background()) } @@ -10790,6 +12453,12 @@ func (i *googleCloudDialogflowCxV3beta1TestCaseResultPtrType) ToGoogleCloudDialo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1TestCaseResultPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1TestCaseResultPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestCaseResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestCaseResult]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1TestCaseResultPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a result from running a test case in an agent environment. type GoogleCloudDialogflowCxV3beta1TestCaseResultOutput struct{ *pulumi.OutputState } @@ -10815,6 +12484,12 @@ func (o GoogleCloudDialogflowCxV3beta1TestCaseResultOutput) ToGoogleCloudDialogf }).(GoogleCloudDialogflowCxV3beta1TestCaseResultPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1TestCaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TestCaseResult] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TestCaseResult]{ + OutputState: o.OutputState, + } +} + // The conversation turns uttered during the test case replay in chronological order. func (o GoogleCloudDialogflowCxV3beta1TestCaseResultOutput) ConversationTurns() GoogleCloudDialogflowCxV3beta1ConversationTurnArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TestCaseResult) []GoogleCloudDialogflowCxV3beta1ConversationTurn { @@ -10858,6 +12533,12 @@ func (o GoogleCloudDialogflowCxV3beta1TestCaseResultPtrOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowCxV3beta1TestCaseResultPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestCaseResult] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestCaseResult]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1TestCaseResultPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1TestCaseResultOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1TestCaseResult) GoogleCloudDialogflowCxV3beta1TestCaseResult { if v != nil { @@ -10947,6 +12628,12 @@ func (o GoogleCloudDialogflowCxV3beta1TestCaseResultResponseOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3beta1TestCaseResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TestCaseResultResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TestCaseResultResponse]{ + OutputState: o.OutputState, + } +} + // The conversation turns uttered during the test case replay in chronological order. func (o GoogleCloudDialogflowCxV3beta1TestCaseResultResponseOutput) ConversationTurns() GoogleCloudDialogflowCxV3beta1ConversationTurnResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TestCaseResultResponse) []GoogleCloudDialogflowCxV3beta1ConversationTurnResponse { @@ -11017,6 +12704,12 @@ func (i GoogleCloudDialogflowCxV3beta1TestConfigArgs) ToGoogleCloudDialogflowCxV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1TestConfigOutput) } +func (i GoogleCloudDialogflowCxV3beta1TestConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TestConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TestConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1TestConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1TestConfigArgs) ToGoogleCloudDialogflowCxV3beta1TestConfigPtrOutput() GoogleCloudDialogflowCxV3beta1TestConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1TestConfigPtrOutputWithContext(context.Background()) } @@ -11058,6 +12751,12 @@ func (i *googleCloudDialogflowCxV3beta1TestConfigPtrType) ToGoogleCloudDialogflo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1TestConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1TestConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1TestConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents configurations for a test case. type GoogleCloudDialogflowCxV3beta1TestConfigOutput struct{ *pulumi.OutputState } @@ -11083,6 +12782,12 @@ func (o GoogleCloudDialogflowCxV3beta1TestConfigOutput) ToGoogleCloudDialogflowC }).(GoogleCloudDialogflowCxV3beta1TestConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1TestConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TestConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TestConfig]{ + OutputState: o.OutputState, + } +} + // Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. func (o GoogleCloudDialogflowCxV3beta1TestConfigOutput) Flow() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TestConfig) *string { return v.Flow }).(pulumi.StringPtrOutput) @@ -11112,6 +12817,12 @@ func (o GoogleCloudDialogflowCxV3beta1TestConfigPtrOutput) ToGoogleCloudDialogfl return o } +func (o GoogleCloudDialogflowCxV3beta1TestConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1TestConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1TestConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1TestConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1TestConfig) GoogleCloudDialogflowCxV3beta1TestConfig { if v != nil { @@ -11177,6 +12888,12 @@ func (o GoogleCloudDialogflowCxV3beta1TestConfigResponseOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3beta1TestConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TestConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TestConfigResponse]{ + OutputState: o.OutputState, + } +} + // Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. func (o GoogleCloudDialogflowCxV3beta1TestConfigResponseOutput) Flow() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TestConfigResponse) string { return v.Flow }).(pulumi.StringOutput) @@ -11215,6 +12932,12 @@ func (o GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponseOutput) ToGoogleC return o } +func (o GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponse]{ + OutputState: o.OutputState, + } +} + // A description of the diff, showing the actual output vs expected output. func (o GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponse) string { return v.Description }).(pulumi.StringOutput) @@ -11239,6 +12962,12 @@ func (o GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponseArrayOutput) ToGo return o } +func (o GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1TestRunDifferenceResponse)[vs[1].(int)] @@ -11280,6 +13009,12 @@ func (i GoogleCloudDialogflowCxV3beta1TextInputArgs) ToGoogleCloudDialogflowCxV3 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1TextInputOutput) } +func (i GoogleCloudDialogflowCxV3beta1TextInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TextInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TextInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1TextInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1TextInputArgs) ToGoogleCloudDialogflowCxV3beta1TextInputPtrOutput() GoogleCloudDialogflowCxV3beta1TextInputPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1TextInputPtrOutputWithContext(context.Background()) } @@ -11321,6 +13056,12 @@ func (i *googleCloudDialogflowCxV3beta1TextInputPtrType) ToGoogleCloudDialogflow return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1TextInputPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1TextInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1TextInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1TextInput]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1TextInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the natural language text to be processed. type GoogleCloudDialogflowCxV3beta1TextInputOutput struct{ *pulumi.OutputState } @@ -11346,6 +13087,12 @@ func (o GoogleCloudDialogflowCxV3beta1TextInputOutput) ToGoogleCloudDialogflowCx }).(GoogleCloudDialogflowCxV3beta1TextInputPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1TextInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TextInput] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TextInput]{ + OutputState: o.OutputState, + } +} + // The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters. func (o GoogleCloudDialogflowCxV3beta1TextInputOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TextInput) string { return v.Text }).(pulumi.StringOutput) @@ -11365,6 +13112,12 @@ func (o GoogleCloudDialogflowCxV3beta1TextInputPtrOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3beta1TextInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1TextInput] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1TextInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1TextInputPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1TextInputOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1TextInput) GoogleCloudDialogflowCxV3beta1TextInput { if v != nil { @@ -11406,6 +13159,12 @@ func (o GoogleCloudDialogflowCxV3beta1TextInputResponseOutput) ToGoogleCloudDial return o } +func (o GoogleCloudDialogflowCxV3beta1TextInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TextInputResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TextInputResponse]{ + OutputState: o.OutputState, + } +} + // The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters. func (o GoogleCloudDialogflowCxV3beta1TextInputResponseOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TextInputResponse) string { return v.Text }).(pulumi.StringOutput) @@ -11446,6 +13205,12 @@ func (i GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsArgs) ToGoogleCloudDia return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsOutput) } +func (i GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TextToSpeechSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TextToSpeechSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1TextToSpeechSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsArgs) ToGoogleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrOutput() GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrOutputWithContext(context.Background()) } @@ -11487,6 +13252,12 @@ func (i *googleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1TextToSpeechSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1TextToSpeechSettings]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings related to speech synthesizing. type GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsOutput struct{ *pulumi.OutputState } @@ -11512,6 +13283,12 @@ func (o GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsOutput) ToGoogleCloudD }).(GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TextToSpeechSettings] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TextToSpeechSettings]{ + OutputState: o.OutputState, + } +} + // Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig. These settings affect: - The synthesize configuration used in [phone gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway). - You no longer need to specify OutputAudioConfig.synthesize_speech_config when invoking API calls. Your agent will use the pre-configured options for speech synthesizing. func (o GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsOutput) SynthesizeSpeechConfigs() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TextToSpeechSettings) map[string]string { @@ -11533,6 +13310,12 @@ func (o GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1TextToSpeechSettings] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1TextToSpeechSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1TextToSpeechSettings) GoogleCloudDialogflowCxV3beta1TextToSpeechSettings { if v != nil { @@ -11574,6 +13357,12 @@ func (o GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsResponseOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig. These settings affect: - The synthesize configuration used in [phone gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway). - You no longer need to specify OutputAudioConfig.synthesize_speech_config when invoking API calls. Your agent will use the pre-configured options for speech synthesizing. func (o GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsResponseOutput) SynthesizeSpeechConfigs() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsResponse) map[string]string { @@ -11632,6 +13421,12 @@ func (i GoogleCloudDialogflowCxV3beta1TransitionRouteArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1TransitionRouteOutput) } +func (i GoogleCloudDialogflowCxV3beta1TransitionRouteArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TransitionRoute] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TransitionRoute]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1TransitionRouteOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1TransitionRouteArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1TransitionRouteArray and GoogleCloudDialogflowCxV3beta1TransitionRouteArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1TransitionRouteArrayInput` via: // @@ -11657,6 +13452,12 @@ func (i GoogleCloudDialogflowCxV3beta1TransitionRouteArray) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1TransitionRouteArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1TransitionRouteArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1TransitionRoute] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1TransitionRoute]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1TransitionRouteArrayOutputWithContext(ctx).OutputState, + } +} + // A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow. type GoogleCloudDialogflowCxV3beta1TransitionRouteOutput struct{ *pulumi.OutputState } @@ -11672,6 +13473,12 @@ func (o GoogleCloudDialogflowCxV3beta1TransitionRouteOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3beta1TransitionRouteOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TransitionRoute] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TransitionRoute]{ + OutputState: o.OutputState, + } +} + // The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled. func (o GoogleCloudDialogflowCxV3beta1TransitionRouteOutput) Condition() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TransitionRoute) *string { return v.Condition }).(pulumi.StringPtrOutput) @@ -11713,6 +13520,12 @@ func (o GoogleCloudDialogflowCxV3beta1TransitionRouteArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3beta1TransitionRouteArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1TransitionRoute] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1TransitionRoute]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1TransitionRouteArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1TransitionRouteOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1TransitionRoute { return vs[0].([]GoogleCloudDialogflowCxV3beta1TransitionRoute)[vs[1].(int)] @@ -11750,6 +13563,12 @@ func (o GoogleCloudDialogflowCxV3beta1TransitionRouteResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3beta1TransitionRouteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1TransitionRouteResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1TransitionRouteResponse]{ + OutputState: o.OutputState, + } +} + // The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled. func (o GoogleCloudDialogflowCxV3beta1TransitionRouteResponseOutput) Condition() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1TransitionRouteResponse) string { return v.Condition }).(pulumi.StringOutput) @@ -11796,6 +13615,12 @@ func (o GoogleCloudDialogflowCxV3beta1TransitionRouteResponseArrayOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3beta1TransitionRouteResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1TransitionRouteResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1TransitionRouteResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1TransitionRouteResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1TransitionRouteResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1TransitionRouteResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1TransitionRouteResponse)[vs[1].(int)] @@ -11841,6 +13666,12 @@ func (i GoogleCloudDialogflowCxV3beta1VariantsHistoryArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1VariantsHistoryOutput) } +func (i GoogleCloudDialogflowCxV3beta1VariantsHistoryArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1VariantsHistory] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1VariantsHistory]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1VariantsHistoryOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1VariantsHistoryArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1VariantsHistoryArray and GoogleCloudDialogflowCxV3beta1VariantsHistoryArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1VariantsHistoryArrayInput` via: // @@ -11866,6 +13697,12 @@ func (i GoogleCloudDialogflowCxV3beta1VariantsHistoryArray) ToGoogleCloudDialogf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1VariantsHistoryArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1VariantsHistoryArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VariantsHistory] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VariantsHistory]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1VariantsHistoryArrayOutputWithContext(ctx).OutputState, + } +} + // The history of variants update. type GoogleCloudDialogflowCxV3beta1VariantsHistoryOutput struct{ *pulumi.OutputState } @@ -11881,6 +13718,12 @@ func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1VariantsHistory] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1VariantsHistory]{ + OutputState: o.OutputState, + } +} + // Update time of the variants. func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryOutput) UpdateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1VariantsHistory) *string { return v.UpdateTime }).(pulumi.StringPtrOutput) @@ -11907,6 +13750,12 @@ func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VariantsHistory] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VariantsHistory]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1VariantsHistoryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1VariantsHistory { return vs[0].([]GoogleCloudDialogflowCxV3beta1VariantsHistory)[vs[1].(int)] @@ -11936,6 +13785,12 @@ func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1VariantsHistoryResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1VariantsHistoryResponse]{ + OutputState: o.OutputState, + } +} + // Update time of the variants. func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryResponseOutput) UpdateTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1VariantsHistoryResponse) string { return v.UpdateTime }).(pulumi.StringOutput) @@ -11962,6 +13817,12 @@ func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryResponseArrayOutput) ToGoog return o } +func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VariantsHistoryResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VariantsHistoryResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1VariantsHistoryResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1VariantsHistoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1VariantsHistoryResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1VariantsHistoryResponse)[vs[1].(int)] @@ -12003,6 +13864,12 @@ func (i GoogleCloudDialogflowCxV3beta1VersionVariantsArgs) ToGoogleCloudDialogfl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1VersionVariantsOutput) } +func (i GoogleCloudDialogflowCxV3beta1VersionVariantsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariants] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariants]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1VersionVariantsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1VersionVariantsArgs) ToGoogleCloudDialogflowCxV3beta1VersionVariantsPtrOutput() GoogleCloudDialogflowCxV3beta1VersionVariantsPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1VersionVariantsPtrOutputWithContext(context.Background()) } @@ -12044,6 +13911,12 @@ func (i *googleCloudDialogflowCxV3beta1VersionVariantsPtrType) ToGoogleCloudDial return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1VersionVariantsPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1VersionVariantsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1VersionVariants] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1VersionVariants]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1VersionVariantsPtrOutputWithContext(ctx).OutputState, + } +} + // A list of flow version variants. type GoogleCloudDialogflowCxV3beta1VersionVariantsOutput struct{ *pulumi.OutputState } @@ -12069,6 +13942,12 @@ func (o GoogleCloudDialogflowCxV3beta1VersionVariantsOutput) ToGoogleCloudDialog }).(GoogleCloudDialogflowCxV3beta1VersionVariantsPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1VersionVariantsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariants] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariants]{ + OutputState: o.OutputState, + } +} + // A list of flow version variants. func (o GoogleCloudDialogflowCxV3beta1VersionVariantsOutput) Variants() GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1VersionVariants) []GoogleCloudDialogflowCxV3beta1VersionVariantsVariant { @@ -12090,6 +13969,12 @@ func (o GoogleCloudDialogflowCxV3beta1VersionVariantsPtrOutput) ToGoogleCloudDia return o } +func (o GoogleCloudDialogflowCxV3beta1VersionVariantsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1VersionVariants] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1VersionVariants]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1VersionVariantsPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1VersionVariantsOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1VersionVariants) GoogleCloudDialogflowCxV3beta1VersionVariants { if v != nil { @@ -12131,6 +14016,12 @@ func (o GoogleCloudDialogflowCxV3beta1VersionVariantsResponseOutput) ToGoogleClo return o } +func (o GoogleCloudDialogflowCxV3beta1VersionVariantsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariantsResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariantsResponse]{ + OutputState: o.OutputState, + } +} + // A list of flow version variants. func (o GoogleCloudDialogflowCxV3beta1VersionVariantsResponseOutput) Variants() GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponseArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1VersionVariantsResponse) []GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponse { @@ -12181,6 +14072,12 @@ func (i GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArgs) ToGoogleCloudD return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1VersionVariantsVariantOutput) } +func (i GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariantsVariant] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariantsVariant]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1VersionVariantsVariantOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArray and GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArrayInput` via: // @@ -12206,6 +14103,12 @@ func (i GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArray) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VersionVariantsVariant] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VersionVariantsVariant]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1VersionVariantsVariantArrayOutputWithContext(ctx).OutputState, + } +} + // A single flow version with specified traffic allocation. type GoogleCloudDialogflowCxV3beta1VersionVariantsVariantOutput struct{ *pulumi.OutputState } @@ -12221,6 +14124,12 @@ func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantOutput) ToGoogleClou return o } +func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariantsVariant] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariantsVariant]{ + OutputState: o.OutputState, + } +} + // Whether the variant is for the control group. func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantOutput) IsControlGroup() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1VersionVariantsVariant) *bool { return v.IsControlGroup }).(pulumi.BoolPtrOutput) @@ -12250,6 +14159,12 @@ func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArrayOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VersionVariantsVariant] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VersionVariantsVariant]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1VersionVariantsVariantOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1VersionVariantsVariant { return vs[0].([]GoogleCloudDialogflowCxV3beta1VersionVariantsVariant)[vs[1].(int)] @@ -12281,6 +14196,12 @@ func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponseOutput) ToGo return o } +func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponse]{ + OutputState: o.OutputState, + } +} + // Whether the variant is for the control group. func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponseOutput) IsControlGroup() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponse) bool { return v.IsControlGroup }).(pulumi.BoolOutput) @@ -12312,6 +14233,12 @@ func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponseArrayOutput) return o } +func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1VersionVariantsVariantResponse)[vs[1].(int)] @@ -12373,6 +14300,12 @@ func (i GoogleCloudDialogflowCxV3beta1WebhookArgs) ToGoogleCloudDialogflowCxV3be return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1WebhookOutput) } +func (i GoogleCloudDialogflowCxV3beta1WebhookArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1Webhook] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1Webhook]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1WebhookOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudDialogflowCxV3beta1WebhookArrayInput is an input type that accepts GoogleCloudDialogflowCxV3beta1WebhookArray and GoogleCloudDialogflowCxV3beta1WebhookArrayOutput values. // You can construct a concrete instance of `GoogleCloudDialogflowCxV3beta1WebhookArrayInput` via: // @@ -12398,6 +14331,12 @@ func (i GoogleCloudDialogflowCxV3beta1WebhookArray) ToGoogleCloudDialogflowCxV3b return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1WebhookArrayOutput) } +func (i GoogleCloudDialogflowCxV3beta1WebhookArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1Webhook] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1Webhook]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1WebhookArrayOutputWithContext(ctx).OutputState, + } +} + // Webhooks host the developer's business logic. During a session, webhooks allow the developer to use the data extracted by Dialogflow's natural language processing to generate dynamic responses, validate collected data, or trigger actions on the backend. type GoogleCloudDialogflowCxV3beta1WebhookOutput struct{ *pulumi.OutputState } @@ -12413,6 +14352,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookOutput) ToGoogleCloudDialogflowCxV3 return o } +func (o GoogleCloudDialogflowCxV3beta1WebhookOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1Webhook] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1Webhook]{ + OutputState: o.OutputState, + } +} + // Indicates whether the webhook is disabled. func (o GoogleCloudDialogflowCxV3beta1WebhookOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1Webhook) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -12461,6 +14406,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookArrayOutput) ToGoogleCloudDialogflo return o } +func (o GoogleCloudDialogflowCxV3beta1WebhookArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1Webhook] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1Webhook]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1WebhookArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1WebhookOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1Webhook { return vs[0].([]GoogleCloudDialogflowCxV3beta1Webhook)[vs[1].(int)] @@ -12534,6 +14485,12 @@ func (i GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOutput) } +func (i GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookGenericWebService] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceArgs) ToGoogleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrOutput() GoogleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrOutputWithContext(context.Background()) } @@ -12575,6 +14532,12 @@ func (i *googleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrOutput) } +func (i *googleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebService] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration for a generic web service. type GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOutput struct{ *pulumi.OutputState } @@ -12600,6 +14563,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOutput) ToGoogleCl }).(GoogleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookGenericWebService] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, ```openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")``` func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOutput) AllowedCaCerts() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1WebhookGenericWebService) []string { return v.AllowedCaCerts }).(pulumi.StringArrayOutput) @@ -12667,6 +14636,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrOutput) ToGoogl return o } +func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebService] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookGenericWebService]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrOutput) Elem() GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService) GoogleCloudDialogflowCxV3beta1WebhookGenericWebService { if v != nil { @@ -12804,6 +14779,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponseOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, ```openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")``` func (o GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponseOutput) AllowedCaCerts() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse) []string { @@ -12886,6 +14867,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookResponseOutput) ToGoogleCloudDialog return o } +func (o GoogleCloudDialogflowCxV3beta1WebhookResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether the webhook is disabled. func (o GoogleCloudDialogflowCxV3beta1WebhookResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1WebhookResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -12934,6 +14921,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookResponseArrayOutput) ToGoogleCloudD return o } +func (o GoogleCloudDialogflowCxV3beta1WebhookResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudDialogflowCxV3beta1WebhookResponse] { + return pulumix.Output[[]GoogleCloudDialogflowCxV3beta1WebhookResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1WebhookResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudDialogflowCxV3beta1WebhookResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudDialogflowCxV3beta1WebhookResponse { return vs[0].([]GoogleCloudDialogflowCxV3beta1WebhookResponse)[vs[1].(int)] @@ -12979,6 +14972,12 @@ func (i GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigOutput) } +func (i GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigArgs) ToGoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrOutput() GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrOutput { return i.ToGoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrOutputWithContext(context.Background()) } @@ -13020,6 +15019,12 @@ func (i *googleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrType) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrOutput) } +func (i *googleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig]{ + OutputState: i.ToGoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration for a [Service Directory](https://cloud.google.com/service-directory) service. type GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigOutput struct{ *pulumi.OutputState } @@ -13045,6 +15050,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigOutput) ToGoo }).(GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrOutput) } +func (o GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig]{ + OutputState: o.OutputState, + } +} + // Generic Service configuration of this webhook. func (o GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigOutput) GenericWebService() GoogleCloudDialogflowCxV3beta1WebhookGenericWebServicePtrOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig) *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService { @@ -13071,6 +15082,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrOutput) To return o } +func (o GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig] { + return pulumix.Output[*GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigPtrOutput) Elem() GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigOutput { return o.ApplyT(func(v *GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig) GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig { if v != nil { @@ -13124,6 +15141,12 @@ func (o GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponseOutpu return o } +func (o GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse] { + return pulumix.Output[GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // Generic Service configuration of this webhook. func (o GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponseOutput) GenericWebService() GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponseOutput { return o.ApplyT(func(v GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse) GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse { @@ -13179,6 +15202,12 @@ func (i GoogleRpcStatusArgs) ToGoogleRpcStatusOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GoogleRpcStatusOutput) } +func (i GoogleRpcStatusArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatus] { + return pulumix.Output[GoogleRpcStatus]{ + OutputState: i.ToGoogleRpcStatusOutputWithContext(ctx).OutputState, + } +} + func (i GoogleRpcStatusArgs) ToGoogleRpcStatusPtrOutput() GoogleRpcStatusPtrOutput { return i.ToGoogleRpcStatusPtrOutputWithContext(context.Background()) } @@ -13220,6 +15249,12 @@ func (i *googleRpcStatusPtrType) ToGoogleRpcStatusPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GoogleRpcStatusPtrOutput) } +func (i *googleRpcStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleRpcStatus] { + return pulumix.Output[*GoogleRpcStatus]{ + OutputState: i.ToGoogleRpcStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type GoogleRpcStatusOutput struct{ *pulumi.OutputState } @@ -13245,6 +15280,12 @@ func (o GoogleRpcStatusOutput) ToGoogleRpcStatusPtrOutputWithContext(ctx context }).(GoogleRpcStatusPtrOutput) } +func (o GoogleRpcStatusOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatus] { + return pulumix.Output[GoogleRpcStatus]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleRpcStatus) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -13274,6 +15315,12 @@ func (o GoogleRpcStatusPtrOutput) ToGoogleRpcStatusPtrOutputWithContext(ctx cont return o } +func (o GoogleRpcStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleRpcStatus] { + return pulumix.Output[*GoogleRpcStatus]{ + OutputState: o.OutputState, + } +} + func (o GoogleRpcStatusPtrOutput) Elem() GoogleRpcStatusOutput { return o.ApplyT(func(v *GoogleRpcStatus) GoogleRpcStatus { if v != nil { @@ -13339,6 +15386,12 @@ func (o GoogleRpcStatusResponseOutput) ToGoogleRpcStatusResponseOutputWithContex return o } +func (o GoogleRpcStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatusResponse] { + return pulumix.Output[GoogleRpcStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v GoogleRpcStatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/dialogflow/v3beta1/securitySetting.go b/sdk/go/google/dialogflow/v3beta1/securitySetting.go index 6c5e727cc7..1c728a1ac5 100644 --- a/sdk/go/google/dialogflow/v3beta1/securitySetting.go +++ b/sdk/go/google/dialogflow/v3beta1/securitySetting.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create security settings in the specified location. @@ -161,6 +162,12 @@ func (i *SecuritySetting) ToSecuritySettingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SecuritySettingOutput) } +func (i *SecuritySetting) ToOutput(ctx context.Context) pulumix.Output[*SecuritySetting] { + return pulumix.Output[*SecuritySetting]{ + OutputState: i.ToSecuritySettingOutputWithContext(ctx).OutputState, + } +} + type SecuritySettingOutput struct{ *pulumi.OutputState } func (SecuritySettingOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o SecuritySettingOutput) ToSecuritySettingOutputWithContext(ctx context.Co return o } +func (o SecuritySettingOutput) ToOutput(ctx context.Context) pulumix.Output[*SecuritySetting] { + return pulumix.Output[*SecuritySetting]{ + OutputState: o.OutputState, + } +} + // Controls audio export settings for post-conversation analytics when ingesting audio to conversations via Participants.AnalyzeContent or Participants.StreamingAnalyzeContent. If retention_strategy is set to REMOVE_AFTER_CONVERSATION or audio_export_settings.gcs_bucket is empty, audio export is disabled. If audio export is enabled, audio is recorded and saved to audio_export_settings.gcs_bucket, subject to retention policy of audio_export_settings.gcs_bucket. This setting won't effect audio input for implicit sessions via Sessions.DetectIntent or Sessions.StreamingDetectIntent. func (o SecuritySettingOutput) AudioExportSettings() GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsResponseOutput { return o.ApplyT(func(v *SecuritySetting) GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettingsResponseOutput { diff --git a/sdk/go/google/dialogflow/v3beta1/sessionEntityType.go b/sdk/go/google/dialogflow/v3beta1/sessionEntityType.go index f261f6216e..8c57f5d3fc 100644 --- a/sdk/go/google/dialogflow/v3beta1/sessionEntityType.go +++ b/sdk/go/google/dialogflow/v3beta1/sessionEntityType.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a session entity type. @@ -143,6 +144,12 @@ func (i *SessionEntityType) ToSessionEntityTypeOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SessionEntityTypeOutput) } +func (i *SessionEntityType) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityType] { + return pulumix.Output[*SessionEntityType]{ + OutputState: i.ToSessionEntityTypeOutputWithContext(ctx).OutputState, + } +} + type SessionEntityTypeOutput struct{ *pulumi.OutputState } func (SessionEntityTypeOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o SessionEntityTypeOutput) ToSessionEntityTypeOutputWithContext(ctx contex return o } +func (o SessionEntityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*SessionEntityType] { + return pulumix.Output[*SessionEntityType]{ + OutputState: o.OutputState, + } +} + func (o SessionEntityTypeOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *SessionEntityType) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/testCase.go b/sdk/go/google/dialogflow/v3beta1/testCase.go index cf677b540b..e623654a02 100644 --- a/sdk/go/google/dialogflow/v3beta1/testCase.go +++ b/sdk/go/google/dialogflow/v3beta1/testCase.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a test case for the given agent. @@ -154,6 +155,12 @@ func (i *TestCase) ToTestCaseOutputWithContext(ctx context.Context) TestCaseOutp return pulumi.ToOutputWithContext(ctx, i).(TestCaseOutput) } +func (i *TestCase) ToOutput(ctx context.Context) pulumix.Output[*TestCase] { + return pulumix.Output[*TestCase]{ + OutputState: i.ToTestCaseOutputWithContext(ctx).OutputState, + } +} + type TestCaseOutput struct{ *pulumi.OutputState } func (TestCaseOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o TestCaseOutput) ToTestCaseOutputWithContext(ctx context.Context) TestCas return o } +func (o TestCaseOutput) ToOutput(ctx context.Context) pulumix.Output[*TestCase] { + return pulumix.Output[*TestCase]{ + OutputState: o.OutputState, + } +} + func (o TestCaseOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *TestCase) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/transitionRouteGroup.go b/sdk/go/google/dialogflow/v3beta1/transitionRouteGroup.go index ba195852d4..277ad3f10a 100644 --- a/sdk/go/google/dialogflow/v3beta1/transitionRouteGroup.go +++ b/sdk/go/google/dialogflow/v3beta1/transitionRouteGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an TransitionRouteGroup in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). @@ -139,6 +140,12 @@ func (i *TransitionRouteGroup) ToTransitionRouteGroupOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TransitionRouteGroupOutput) } +func (i *TransitionRouteGroup) ToOutput(ctx context.Context) pulumix.Output[*TransitionRouteGroup] { + return pulumix.Output[*TransitionRouteGroup]{ + OutputState: i.ToTransitionRouteGroupOutputWithContext(ctx).OutputState, + } +} + type TransitionRouteGroupOutput struct{ *pulumi.OutputState } func (TransitionRouteGroupOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o TransitionRouteGroupOutput) ToTransitionRouteGroupOutputWithContext(ctx return o } +func (o TransitionRouteGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*TransitionRouteGroup] { + return pulumix.Output[*TransitionRouteGroup]{ + OutputState: o.OutputState, + } +} + func (o TransitionRouteGroupOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *TransitionRouteGroup) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/version.go b/sdk/go/google/dialogflow/v3beta1/version.go index 7e6e4a03f4..ad353b179c 100644 --- a/sdk/go/google/dialogflow/v3beta1/version.go +++ b/sdk/go/google/dialogflow/v3beta1/version.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Version in the specified Flow. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateVersionOperationMetadata - `response`: Version @@ -139,6 +140,12 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + func (o VersionOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Version) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dialogflow/v3beta1/webhook.go b/sdk/go/google/dialogflow/v3beta1/webhook.go index efbfb16a90..10270d2ecb 100644 --- a/sdk/go/google/dialogflow/v3beta1/webhook.go +++ b/sdk/go/google/dialogflow/v3beta1/webhook.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a webhook in the specified agent. @@ -144,6 +145,12 @@ func (i *Webhook) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput return pulumi.ToOutputWithContext(ctx, i).(WebhookOutput) } +func (i *Webhook) ToOutput(ctx context.Context) pulumix.Output[*Webhook] { + return pulumix.Output[*Webhook]{ + OutputState: i.ToWebhookOutputWithContext(ctx).OutputState, + } +} + type WebhookOutput struct{ *pulumi.OutputState } func (WebhookOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOu return o } +func (o WebhookOutput) ToOutput(ctx context.Context) pulumix.Output[*Webhook] { + return pulumix.Output[*Webhook]{ + OutputState: o.OutputState, + } +} + func (o WebhookOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *Webhook) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/discoveryengine/v1alpha/document.go b/sdk/go/google/discoveryengine/v1alpha/document.go index 9b3d3bd5ea..e35e020b2c 100644 --- a/sdk/go/google/discoveryengine/v1alpha/document.go +++ b/sdk/go/google/discoveryengine/v1alpha/document.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Document. @@ -163,6 +164,12 @@ func (i *Document) ToDocumentOutputWithContext(ctx context.Context) DocumentOutp return pulumi.ToOutputWithContext(ctx, i).(DocumentOutput) } +func (i *Document) ToOutput(ctx context.Context) pulumix.Output[*Document] { + return pulumix.Output[*Document]{ + OutputState: i.ToDocumentOutputWithContext(ctx).OutputState, + } +} + type DocumentOutput struct{ *pulumi.OutputState } func (DocumentOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o DocumentOutput) ToDocumentOutputWithContext(ctx context.Context) Documen return o } +func (o DocumentOutput) ToOutput(ctx context.Context) pulumix.Output[*Document] { + return pulumix.Output[*Document]{ + OutputState: o.OutputState, + } +} + func (o DocumentOutput) BranchId() pulumi.StringOutput { return o.ApplyT(func(v *Document) pulumi.StringOutput { return v.BranchId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/discoveryengine/v1alpha/getDocument.go b/sdk/go/google/discoveryengine/v1alpha/getDocument.go index 8b7e91b42a..8baaaf04dd 100644 --- a/sdk/go/google/discoveryengine/v1alpha/getDocument.go +++ b/sdk/go/google/discoveryengine/v1alpha/getDocument.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Document. @@ -84,6 +85,12 @@ func (o LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext(ctx return o } +func (o LookupDocumentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDocumentResult] { + return pulumix.Output[LookupDocumentResult]{ + OutputState: o.OutputState, + } +} + // The JSON string representation of the document. It should conform to the registered Schema.schema or an `INVALID_ARGUMENT` error is thrown. func (o LookupDocumentResultOutput) JsonData() pulumi.StringOutput { return o.ApplyT(func(v LookupDocumentResult) string { return v.JsonData }).(pulumi.StringOutput) diff --git a/sdk/go/google/discoveryengine/v1beta/document.go b/sdk/go/google/discoveryengine/v1beta/document.go index 975e5f2fa8..e9029b6d6c 100644 --- a/sdk/go/google/discoveryengine/v1beta/document.go +++ b/sdk/go/google/discoveryengine/v1beta/document.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Document. @@ -163,6 +164,12 @@ func (i *Document) ToDocumentOutputWithContext(ctx context.Context) DocumentOutp return pulumi.ToOutputWithContext(ctx, i).(DocumentOutput) } +func (i *Document) ToOutput(ctx context.Context) pulumix.Output[*Document] { + return pulumix.Output[*Document]{ + OutputState: i.ToDocumentOutputWithContext(ctx).OutputState, + } +} + type DocumentOutput struct{ *pulumi.OutputState } func (DocumentOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o DocumentOutput) ToDocumentOutputWithContext(ctx context.Context) Documen return o } +func (o DocumentOutput) ToOutput(ctx context.Context) pulumix.Output[*Document] { + return pulumix.Output[*Document]{ + OutputState: o.OutputState, + } +} + func (o DocumentOutput) BranchId() pulumi.StringOutput { return o.ApplyT(func(v *Document) pulumi.StringOutput { return v.BranchId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/discoveryengine/v1beta/getDocument.go b/sdk/go/google/discoveryengine/v1beta/getDocument.go index 6c64c0cb23..aac6bb3477 100644 --- a/sdk/go/google/discoveryengine/v1beta/getDocument.go +++ b/sdk/go/google/discoveryengine/v1beta/getDocument.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Document. @@ -84,6 +85,12 @@ func (o LookupDocumentResultOutput) ToLookupDocumentResultOutputWithContext(ctx return o } +func (o LookupDocumentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDocumentResult] { + return pulumix.Output[LookupDocumentResult]{ + OutputState: o.OutputState, + } +} + // The JSON string representation of the document. It should conform to the registered Schema.schema or an `INVALID_ARGUMENT` error is thrown. func (o LookupDocumentResultOutput) JsonData() pulumi.StringOutput { return o.ApplyT(func(v LookupDocumentResult) string { return v.JsonData }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/deidentifyTemplate.go b/sdk/go/google/dlp/v2/deidentifyTemplate.go index b51b3674c8..713d5b9d2b 100644 --- a/sdk/go/google/dlp/v2/deidentifyTemplate.go +++ b/sdk/go/google/dlp/v2/deidentifyTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. @@ -132,6 +133,12 @@ func (i *DeidentifyTemplate) ToDeidentifyTemplateOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DeidentifyTemplateOutput) } +func (i *DeidentifyTemplate) ToOutput(ctx context.Context) pulumix.Output[*DeidentifyTemplate] { + return pulumix.Output[*DeidentifyTemplate]{ + OutputState: i.ToDeidentifyTemplateOutputWithContext(ctx).OutputState, + } +} + type DeidentifyTemplateOutput struct{ *pulumi.OutputState } func (DeidentifyTemplateOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o DeidentifyTemplateOutput) ToDeidentifyTemplateOutputWithContext(ctx cont return o } +func (o DeidentifyTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*DeidentifyTemplate] { + return pulumix.Output[*DeidentifyTemplate]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of an inspectTemplate. func (o DeidentifyTemplateOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *DeidentifyTemplate) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/dlpJob.go b/sdk/go/google/dlp/v2/dlpJob.go index e15e1e40e9..be88eb03a2 100644 --- a/sdk/go/google/dlp/v2/dlpJob.go +++ b/sdk/go/google/dlp/v2/dlpJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. @@ -138,6 +139,12 @@ func (i *DlpJob) ToDlpJobOutputWithContext(ctx context.Context) DlpJobOutput { return pulumi.ToOutputWithContext(ctx, i).(DlpJobOutput) } +func (i *DlpJob) ToOutput(ctx context.Context) pulumix.Output[*DlpJob] { + return pulumix.Output[*DlpJob]{ + OutputState: i.ToDlpJobOutputWithContext(ctx).OutputState, + } +} + type DlpJobOutput struct{ *pulumi.OutputState } func (DlpJobOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o DlpJobOutput) ToDlpJobOutputWithContext(ctx context.Context) DlpJobOutpu return o } +func (o DlpJobOutput) ToOutput(ctx context.Context) pulumix.Output[*DlpJob] { + return pulumix.Output[*DlpJob]{ + OutputState: o.OutputState, + } +} + // Events that should occur after the job has completed. func (o DlpJobOutput) ActionDetails() GooglePrivacyDlpV2ActionDetailsResponseArrayOutput { return o.ApplyT(func(v *DlpJob) GooglePrivacyDlpV2ActionDetailsResponseArrayOutput { return v.ActionDetails }).(GooglePrivacyDlpV2ActionDetailsResponseArrayOutput) diff --git a/sdk/go/google/dlp/v2/getDeidentifyTemplate.go b/sdk/go/google/dlp/v2/getDeidentifyTemplate.go index 7d8cc67021..8073fd0e8e 100644 --- a/sdk/go/google/dlp/v2/getDeidentifyTemplate.go +++ b/sdk/go/google/dlp/v2/getDeidentifyTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. @@ -80,6 +81,12 @@ func (o LookupDeidentifyTemplateResultOutput) ToLookupDeidentifyTemplateResultOu return o } +func (o LookupDeidentifyTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDeidentifyTemplateResult] { + return pulumix.Output[LookupDeidentifyTemplateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of an inspectTemplate. func (o LookupDeidentifyTemplateResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupDeidentifyTemplateResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/getDlpJob.go b/sdk/go/google/dlp/v2/getDlpJob.go index e754e69195..70338cf60a 100644 --- a/sdk/go/google/dlp/v2/getDlpJob.go +++ b/sdk/go/google/dlp/v2/getDlpJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the latest state of a long-running DlpJob. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. @@ -90,6 +91,12 @@ func (o LookupDlpJobResultOutput) ToLookupDlpJobResultOutputWithContext(ctx cont return o } +func (o LookupDlpJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDlpJobResult] { + return pulumix.Output[LookupDlpJobResult]{ + OutputState: o.OutputState, + } +} + // Events that should occur after the job has completed. func (o LookupDlpJobResultOutput) ActionDetails() GooglePrivacyDlpV2ActionDetailsResponseArrayOutput { return o.ApplyT(func(v LookupDlpJobResult) []GooglePrivacyDlpV2ActionDetailsResponse { return v.ActionDetails }).(GooglePrivacyDlpV2ActionDetailsResponseArrayOutput) diff --git a/sdk/go/google/dlp/v2/getInspectTemplate.go b/sdk/go/google/dlp/v2/getInspectTemplate.go index 852a280548..b42bfcb42d 100644 --- a/sdk/go/google/dlp/v2/getInspectTemplate.go +++ b/sdk/go/google/dlp/v2/getInspectTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. @@ -80,6 +81,12 @@ func (o LookupInspectTemplateResultOutput) ToLookupInspectTemplateResultOutputWi return o } +func (o LookupInspectTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInspectTemplateResult] { + return pulumix.Output[LookupInspectTemplateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of an inspectTemplate. func (o LookupInspectTemplateResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupInspectTemplateResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/getJobTrigger.go b/sdk/go/google/dlp/v2/getJobTrigger.go index 0bfa1b0a3a..3873955abb 100644 --- a/sdk/go/google/dlp/v2/getJobTrigger.go +++ b/sdk/go/google/dlp/v2/getJobTrigger.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. @@ -88,6 +89,12 @@ func (o LookupJobTriggerResultOutput) ToLookupJobTriggerResultOutputWithContext( return o } +func (o LookupJobTriggerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobTriggerResult] { + return pulumix.Output[LookupJobTriggerResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of a triggeredJob. func (o LookupJobTriggerResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupJobTriggerResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/getOrganizationInspectTemplate.go b/sdk/go/google/dlp/v2/getOrganizationInspectTemplate.go index 1cd8302a95..6a2c15ae8c 100644 --- a/sdk/go/google/dlp/v2/getOrganizationInspectTemplate.go +++ b/sdk/go/google/dlp/v2/getOrganizationInspectTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more. @@ -80,6 +81,12 @@ func (o LookupOrganizationInspectTemplateResultOutput) ToLookupOrganizationInspe return o } +func (o LookupOrganizationInspectTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationInspectTemplateResult] { + return pulumix.Output[LookupOrganizationInspectTemplateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of an inspectTemplate. func (o LookupOrganizationInspectTemplateResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationInspectTemplateResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/getOrganizationJobTrigger.go b/sdk/go/google/dlp/v2/getOrganizationJobTrigger.go index fe25ece45d..bfe5dd05c5 100644 --- a/sdk/go/google/dlp/v2/getOrganizationJobTrigger.go +++ b/sdk/go/google/dlp/v2/getOrganizationJobTrigger.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. @@ -88,6 +89,12 @@ func (o LookupOrganizationJobTriggerResultOutput) ToLookupOrganizationJobTrigger return o } +func (o LookupOrganizationJobTriggerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationJobTriggerResult] { + return pulumix.Output[LookupOrganizationJobTriggerResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of a triggeredJob. func (o LookupOrganizationJobTriggerResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationJobTriggerResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/getOrganizationsDeidentifyTemplate.go b/sdk/go/google/dlp/v2/getOrganizationsDeidentifyTemplate.go index 7281652994..1b673c19b5 100644 --- a/sdk/go/google/dlp/v2/getOrganizationsDeidentifyTemplate.go +++ b/sdk/go/google/dlp/v2/getOrganizationsDeidentifyTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. @@ -80,6 +81,12 @@ func (o LookupOrganizationsDeidentifyTemplateResultOutput) ToLookupOrganizations return o } +func (o LookupOrganizationsDeidentifyTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationsDeidentifyTemplateResult] { + return pulumix.Output[LookupOrganizationsDeidentifyTemplateResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of an inspectTemplate. func (o LookupOrganizationsDeidentifyTemplateResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationsDeidentifyTemplateResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/getStoredInfoType.go b/sdk/go/google/dlp/v2/getStoredInfoType.go index 9b89001227..c4b151d098 100644 --- a/sdk/go/google/dlp/v2/getStoredInfoType.go +++ b/sdk/go/google/dlp/v2/getStoredInfoType.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. @@ -74,6 +75,12 @@ func (o LookupStoredInfoTypeResultOutput) ToLookupStoredInfoTypeResultOutputWith return o } +func (o LookupStoredInfoTypeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupStoredInfoTypeResult] { + return pulumix.Output[LookupStoredInfoTypeResult]{ + OutputState: o.OutputState, + } +} + // Current version of the stored info type. func (o LookupStoredInfoTypeResultOutput) CurrentVersion() GooglePrivacyDlpV2StoredInfoTypeVersionResponseOutput { return o.ApplyT(func(v LookupStoredInfoTypeResult) GooglePrivacyDlpV2StoredInfoTypeVersionResponse { diff --git a/sdk/go/google/dlp/v2/inspectTemplate.go b/sdk/go/google/dlp/v2/inspectTemplate.go index 32141ccfa8..95374b656d 100644 --- a/sdk/go/google/dlp/v2/inspectTemplate.go +++ b/sdk/go/google/dlp/v2/inspectTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. @@ -132,6 +133,12 @@ func (i *InspectTemplate) ToInspectTemplateOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(InspectTemplateOutput) } +func (i *InspectTemplate) ToOutput(ctx context.Context) pulumix.Output[*InspectTemplate] { + return pulumix.Output[*InspectTemplate]{ + OutputState: i.ToInspectTemplateOutputWithContext(ctx).OutputState, + } +} + type InspectTemplateOutput struct{ *pulumi.OutputState } func (InspectTemplateOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o InspectTemplateOutput) ToInspectTemplateOutputWithContext(ctx context.Co return o } +func (o InspectTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*InspectTemplate] { + return pulumix.Output[*InspectTemplate]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of an inspectTemplate. func (o InspectTemplateOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *InspectTemplate) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/jobTrigger.go b/sdk/go/google/dlp/v2/jobTrigger.go index fab28c7a5d..05acc8386d 100644 --- a/sdk/go/google/dlp/v2/jobTrigger.go +++ b/sdk/go/google/dlp/v2/jobTrigger.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. @@ -155,6 +156,12 @@ func (i *JobTrigger) ToJobTriggerOutputWithContext(ctx context.Context) JobTrigg return pulumi.ToOutputWithContext(ctx, i).(JobTriggerOutput) } +func (i *JobTrigger) ToOutput(ctx context.Context) pulumix.Output[*JobTrigger] { + return pulumix.Output[*JobTrigger]{ + OutputState: i.ToJobTriggerOutputWithContext(ctx).OutputState, + } +} + type JobTriggerOutput struct{ *pulumi.OutputState } func (JobTriggerOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o JobTriggerOutput) ToJobTriggerOutputWithContext(ctx context.Context) Job return o } +func (o JobTriggerOutput) ToOutput(ctx context.Context) pulumix.Output[*JobTrigger] { + return pulumix.Output[*JobTrigger]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of a triggeredJob. func (o JobTriggerOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *JobTrigger) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/organizationInspectTemplate.go b/sdk/go/google/dlp/v2/organizationInspectTemplate.go index facce31ee3..fcd0fd4718 100644 --- a/sdk/go/google/dlp/v2/organizationInspectTemplate.go +++ b/sdk/go/google/dlp/v2/organizationInspectTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. @@ -136,6 +137,12 @@ func (i *OrganizationInspectTemplate) ToOrganizationInspectTemplateOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(OrganizationInspectTemplateOutput) } +func (i *OrganizationInspectTemplate) ToOutput(ctx context.Context) pulumix.Output[*OrganizationInspectTemplate] { + return pulumix.Output[*OrganizationInspectTemplate]{ + OutputState: i.ToOrganizationInspectTemplateOutputWithContext(ctx).OutputState, + } +} + type OrganizationInspectTemplateOutput struct{ *pulumi.OutputState } func (OrganizationInspectTemplateOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o OrganizationInspectTemplateOutput) ToOrganizationInspectTemplateOutputWi return o } +func (o OrganizationInspectTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationInspectTemplate] { + return pulumix.Output[*OrganizationInspectTemplate]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of an inspectTemplate. func (o OrganizationInspectTemplateOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationInspectTemplate) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/organizationJobTrigger.go b/sdk/go/google/dlp/v2/organizationJobTrigger.go index b14402392b..f7d1f81bcc 100644 --- a/sdk/go/google/dlp/v2/organizationJobTrigger.go +++ b/sdk/go/google/dlp/v2/organizationJobTrigger.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. @@ -159,6 +160,12 @@ func (i *OrganizationJobTrigger) ToOrganizationJobTriggerOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(OrganizationJobTriggerOutput) } +func (i *OrganizationJobTrigger) ToOutput(ctx context.Context) pulumix.Output[*OrganizationJobTrigger] { + return pulumix.Output[*OrganizationJobTrigger]{ + OutputState: i.ToOrganizationJobTriggerOutputWithContext(ctx).OutputState, + } +} + type OrganizationJobTriggerOutput struct{ *pulumi.OutputState } func (OrganizationJobTriggerOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o OrganizationJobTriggerOutput) ToOrganizationJobTriggerOutputWithContext( return o } +func (o OrganizationJobTriggerOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationJobTrigger] { + return pulumix.Output[*OrganizationJobTrigger]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of a triggeredJob. func (o OrganizationJobTriggerOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationJobTrigger) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/organizationsDeidentifyTemplate.go b/sdk/go/google/dlp/v2/organizationsDeidentifyTemplate.go index e24487d009..0131d5b344 100644 --- a/sdk/go/google/dlp/v2/organizationsDeidentifyTemplate.go +++ b/sdk/go/google/dlp/v2/organizationsDeidentifyTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. @@ -136,6 +137,12 @@ func (i *OrganizationsDeidentifyTemplate) ToOrganizationsDeidentifyTemplateOutpu return pulumi.ToOutputWithContext(ctx, i).(OrganizationsDeidentifyTemplateOutput) } +func (i *OrganizationsDeidentifyTemplate) ToOutput(ctx context.Context) pulumix.Output[*OrganizationsDeidentifyTemplate] { + return pulumix.Output[*OrganizationsDeidentifyTemplate]{ + OutputState: i.ToOrganizationsDeidentifyTemplateOutputWithContext(ctx).OutputState, + } +} + type OrganizationsDeidentifyTemplateOutput struct{ *pulumi.OutputState } func (OrganizationsDeidentifyTemplateOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o OrganizationsDeidentifyTemplateOutput) ToOrganizationsDeidentifyTemplate return o } +func (o OrganizationsDeidentifyTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationsDeidentifyTemplate] { + return pulumix.Output[*OrganizationsDeidentifyTemplate]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of an inspectTemplate. func (o OrganizationsDeidentifyTemplateOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationsDeidentifyTemplate) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/dlp/v2/pulumiEnums.go b/sdk/go/google/dlp/v2/pulumiEnums.go index eef78b3283..7adb2ddd0d 100644 --- a/sdk/go/google/dlp/v2/pulumiEnums.go +++ b/sdk/go/google/dlp/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type GooglePrivacyDlpV2BigQueryOptionsSampleMethod string @@ -80,6 +81,12 @@ func (o GooglePrivacyDlpV2BigQueryOptionsSampleMethodOutput) ToGooglePrivacyDlpV }).(GooglePrivacyDlpV2BigQueryOptionsSampleMethodPtrOutput) } +func (o GooglePrivacyDlpV2BigQueryOptionsSampleMethodOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BigQueryOptionsSampleMethod] { + return pulumix.Output[GooglePrivacyDlpV2BigQueryOptionsSampleMethod]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2BigQueryOptionsSampleMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o GooglePrivacyDlpV2BigQueryOptionsSampleMethodPtrOutput) ToGooglePrivacyD return o } +func (o GooglePrivacyDlpV2BigQueryOptionsSampleMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2BigQueryOptionsSampleMethod] { + return pulumix.Output[*GooglePrivacyDlpV2BigQueryOptionsSampleMethod]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2BigQueryOptionsSampleMethodPtrOutput) Elem() GooglePrivacyDlpV2BigQueryOptionsSampleMethodOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2BigQueryOptionsSampleMethod) GooglePrivacyDlpV2BigQueryOptionsSampleMethod { if v != nil { @@ -177,6 +190,12 @@ func (in *googlePrivacyDlpV2BigQueryOptionsSampleMethodPtr) ToGooglePrivacyDlpV2 return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2BigQueryOptionsSampleMethodPtrOutput) } +func (in *googlePrivacyDlpV2BigQueryOptionsSampleMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2BigQueryOptionsSampleMethod] { + return pulumix.Output[*GooglePrivacyDlpV2BigQueryOptionsSampleMethod]{ + OutputState: in.ToGooglePrivacyDlpV2BigQueryOptionsSampleMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Common characters to not transform when masking. Useful to avoid removing punctuation. type GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore string @@ -255,6 +274,12 @@ func (o GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnoreOutput) ToGoogleP }).(GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnorePtrOutput) } +func (o GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnoreOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore] { + return pulumix.Output[GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnoreOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnorePtrOutput) ToGoog return o } +func (o GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnorePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore] { + return pulumix.Output[*GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnorePtrOutput) Elem() GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnoreOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore) GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore { if v != nil { @@ -352,6 +383,12 @@ func (in *googlePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnorePtr) ToGooglePr return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnorePtrOutput) } +func (in *googlePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnorePtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore] { + return pulumix.Output[*GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore]{ + OutputState: in.ToGooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnorePtrOutputWithContext(ctx).OutputState, + } +} + type GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem string const ( @@ -439,6 +476,12 @@ func (o GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemOutput) ToGooglePrivac }).(GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemPtrOutput) } +func (o GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -474,6 +517,12 @@ func (o GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemPtrOutput) ToGooglePri return o } +func (o GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemPtrOutput) Elem() GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem) GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem { if v != nil { @@ -536,6 +585,12 @@ func (in *googlePrivacyDlpV2CloudStorageOptionsFileTypesItemPtr) ToGooglePrivacy return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemPtrOutput) } +func (in *googlePrivacyDlpV2CloudStorageOptionsFileTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem]{ + OutputState: in.ToGooglePrivacyDlpV2CloudStorageOptionsFileTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArrayInput is an input type that accepts GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArray and GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArrayInput` via: // @@ -561,6 +616,12 @@ func (i GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArray) ToGooglePrivacy return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArrayOutput) } +func (i GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem] { + return pulumix.Output[[]GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem]{ + OutputState: i.ToGooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArrayOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArrayOutput) ElementType() reflect.Type { @@ -575,6 +636,12 @@ func (o GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArrayOutput) ToGoogleP return o } +func (o GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem] { + return pulumix.Output[[]GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2CloudStorageOptionsFileTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem { return vs[0].([]GooglePrivacyDlpV2CloudStorageOptionsFileTypesItem)[vs[1].(int)] @@ -651,6 +718,12 @@ func (o GooglePrivacyDlpV2CloudStorageOptionsSampleMethodOutput) ToGooglePrivacy }).(GooglePrivacyDlpV2CloudStorageOptionsSampleMethodPtrOutput) } +func (o GooglePrivacyDlpV2CloudStorageOptionsSampleMethodOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageOptionsSampleMethod] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageOptionsSampleMethod]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CloudStorageOptionsSampleMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -686,6 +759,12 @@ func (o GooglePrivacyDlpV2CloudStorageOptionsSampleMethodPtrOutput) ToGooglePriv return o } +func (o GooglePrivacyDlpV2CloudStorageOptionsSampleMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptionsSampleMethod] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptionsSampleMethod]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CloudStorageOptionsSampleMethodPtrOutput) Elem() GooglePrivacyDlpV2CloudStorageOptionsSampleMethodOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CloudStorageOptionsSampleMethod) GooglePrivacyDlpV2CloudStorageOptionsSampleMethod { if v != nil { @@ -748,6 +827,12 @@ func (in *googlePrivacyDlpV2CloudStorageOptionsSampleMethodPtr) ToGooglePrivacyD return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2CloudStorageOptionsSampleMethodPtrOutput) } +func (in *googlePrivacyDlpV2CloudStorageOptionsSampleMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptionsSampleMethod] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptionsSampleMethod]{ + OutputState: in.ToGooglePrivacyDlpV2CloudStorageOptionsSampleMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Operator used to compare the field or infoType to the value. type GooglePrivacyDlpV2ConditionOperator string @@ -830,6 +915,12 @@ func (o GooglePrivacyDlpV2ConditionOperatorOutput) ToGooglePrivacyDlpV2Condition }).(GooglePrivacyDlpV2ConditionOperatorPtrOutput) } +func (o GooglePrivacyDlpV2ConditionOperatorOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ConditionOperator] { + return pulumix.Output[GooglePrivacyDlpV2ConditionOperator]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ConditionOperatorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -865,6 +956,12 @@ func (o GooglePrivacyDlpV2ConditionOperatorPtrOutput) ToGooglePrivacyDlpV2Condit return o } +func (o GooglePrivacyDlpV2ConditionOperatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ConditionOperator] { + return pulumix.Output[*GooglePrivacyDlpV2ConditionOperator]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ConditionOperatorPtrOutput) Elem() GooglePrivacyDlpV2ConditionOperatorOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ConditionOperator) GooglePrivacyDlpV2ConditionOperator { if v != nil { @@ -927,6 +1024,12 @@ func (in *googlePrivacyDlpV2ConditionOperatorPtr) ToGooglePrivacyDlpV2ConditionO return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2ConditionOperatorPtrOutput) } +func (in *googlePrivacyDlpV2ConditionOperatorPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ConditionOperator] { + return pulumix.Output[*GooglePrivacyDlpV2ConditionOperator]{ + OutputState: in.ToGooglePrivacyDlpV2ConditionOperatorPtrOutputWithContext(ctx).OutputState, + } +} + // Common alphabets. type GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet string @@ -1003,6 +1106,12 @@ func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetOutput) ToGoogl }).(GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetPtrOutput) } +func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet] { + return pulumix.Output[GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1038,6 +1147,12 @@ func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetPtrOutput) ToGo return o } +func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet] { + return pulumix.Output[*GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetPtrOutput) Elem() GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet) GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet { if v != nil { @@ -1100,6 +1215,12 @@ func (in *googlePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetPtr) ToGoogle return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetPtrOutput) } +func (in *googlePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet] { + return pulumix.Output[*GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet]{ + OutputState: in.ToGooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetPtrOutputWithContext(ctx).OutputState, + } +} + // If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching. type GooglePrivacyDlpV2CustomInfoTypeExclusionType string @@ -1170,6 +1291,12 @@ func (o GooglePrivacyDlpV2CustomInfoTypeExclusionTypeOutput) ToGooglePrivacyDlpV }).(GooglePrivacyDlpV2CustomInfoTypeExclusionTypePtrOutput) } +func (o GooglePrivacyDlpV2CustomInfoTypeExclusionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CustomInfoTypeExclusionType] { + return pulumix.Output[GooglePrivacyDlpV2CustomInfoTypeExclusionType]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CustomInfoTypeExclusionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1205,6 +1332,12 @@ func (o GooglePrivacyDlpV2CustomInfoTypeExclusionTypePtrOutput) ToGooglePrivacyD return o } +func (o GooglePrivacyDlpV2CustomInfoTypeExclusionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CustomInfoTypeExclusionType] { + return pulumix.Output[*GooglePrivacyDlpV2CustomInfoTypeExclusionType]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CustomInfoTypeExclusionTypePtrOutput) Elem() GooglePrivacyDlpV2CustomInfoTypeExclusionTypeOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CustomInfoTypeExclusionType) GooglePrivacyDlpV2CustomInfoTypeExclusionType { if v != nil { @@ -1267,6 +1400,12 @@ func (in *googlePrivacyDlpV2CustomInfoTypeExclusionTypePtr) ToGooglePrivacyDlpV2 return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2CustomInfoTypeExclusionTypePtrOutput) } +func (in *googlePrivacyDlpV2CustomInfoTypeExclusionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CustomInfoTypeExclusionType] { + return pulumix.Output[*GooglePrivacyDlpV2CustomInfoTypeExclusionType]{ + OutputState: in.ToGooglePrivacyDlpV2CustomInfoTypeExclusionTypePtrOutputWithContext(ctx).OutputState, + } +} + // Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to `VERY_LIKELY` if not specified. type GooglePrivacyDlpV2CustomInfoTypeLikelihood string @@ -1345,6 +1484,12 @@ func (o GooglePrivacyDlpV2CustomInfoTypeLikelihoodOutput) ToGooglePrivacyDlpV2Cu }).(GooglePrivacyDlpV2CustomInfoTypeLikelihoodPtrOutput) } +func (o GooglePrivacyDlpV2CustomInfoTypeLikelihoodOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CustomInfoTypeLikelihood] { + return pulumix.Output[GooglePrivacyDlpV2CustomInfoTypeLikelihood]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CustomInfoTypeLikelihoodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1380,6 +1525,12 @@ func (o GooglePrivacyDlpV2CustomInfoTypeLikelihoodPtrOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2CustomInfoTypeLikelihoodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CustomInfoTypeLikelihood] { + return pulumix.Output[*GooglePrivacyDlpV2CustomInfoTypeLikelihood]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CustomInfoTypeLikelihoodPtrOutput) Elem() GooglePrivacyDlpV2CustomInfoTypeLikelihoodOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CustomInfoTypeLikelihood) GooglePrivacyDlpV2CustomInfoTypeLikelihood { if v != nil { @@ -1442,6 +1593,12 @@ func (in *googlePrivacyDlpV2CustomInfoTypeLikelihoodPtr) ToGooglePrivacyDlpV2Cus return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2CustomInfoTypeLikelihoodPtrOutput) } +func (in *googlePrivacyDlpV2CustomInfoTypeLikelihoodPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CustomInfoTypeLikelihood] { + return pulumix.Output[*GooglePrivacyDlpV2CustomInfoTypeLikelihood]{ + OutputState: in.ToGooglePrivacyDlpV2CustomInfoTypeLikelihoodPtrOutputWithContext(ctx).OutputState, + } +} + type GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem string const ( @@ -1529,6 +1686,12 @@ func (o GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemOutput) ToGooglePriv }).(GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemPtrOutput) } +func (o GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem] { + return pulumix.Output[GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1564,6 +1727,12 @@ func (o GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemPtrOutput) ToGoogleP return o } +func (o GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem] { + return pulumix.Output[*GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemPtrOutput) Elem() GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem) GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem { if v != nil { @@ -1626,6 +1795,12 @@ func (in *googlePrivacyDlpV2DeidentifyFileTypesToTransformItemPtr) ToGooglePriva return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemPtrOutput) } +func (in *googlePrivacyDlpV2DeidentifyFileTypesToTransformItemPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem] { + return pulumix.Output[*GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem]{ + OutputState: in.ToGooglePrivacyDlpV2DeidentifyFileTypesToTransformItemPtrOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArrayInput is an input type that accepts GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArray and GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArrayInput` via: // @@ -1651,6 +1826,12 @@ func (i GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArray) ToGooglePriva return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArrayOutput) } +func (i GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem] { + return pulumix.Output[[]GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem]{ + OutputState: i.ToGooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArrayOutputWithContext(ctx).OutputState, + } +} + type GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArrayOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArrayOutput) ElementType() reflect.Type { @@ -1665,6 +1846,12 @@ func (o GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArrayOutput) ToGoogl return o } +func (o GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem] { + return pulumix.Output[[]GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2DeidentifyFileTypesToTransformItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem { return vs[0].([]GooglePrivacyDlpV2DeidentifyFileTypesToTransformItem)[vs[1].(int)] @@ -1745,6 +1932,12 @@ func (o GooglePrivacyDlpV2ExclusionRuleMatchingTypeOutput) ToGooglePrivacyDlpV2E }).(GooglePrivacyDlpV2ExclusionRuleMatchingTypePtrOutput) } +func (o GooglePrivacyDlpV2ExclusionRuleMatchingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExclusionRuleMatchingType] { + return pulumix.Output[GooglePrivacyDlpV2ExclusionRuleMatchingType]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ExclusionRuleMatchingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1780,6 +1973,12 @@ func (o GooglePrivacyDlpV2ExclusionRuleMatchingTypePtrOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2ExclusionRuleMatchingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ExclusionRuleMatchingType] { + return pulumix.Output[*GooglePrivacyDlpV2ExclusionRuleMatchingType]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ExclusionRuleMatchingTypePtrOutput) Elem() GooglePrivacyDlpV2ExclusionRuleMatchingTypeOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ExclusionRuleMatchingType) GooglePrivacyDlpV2ExclusionRuleMatchingType { if v != nil { @@ -1842,6 +2041,12 @@ func (in *googlePrivacyDlpV2ExclusionRuleMatchingTypePtr) ToGooglePrivacyDlpV2Ex return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2ExclusionRuleMatchingTypePtrOutput) } +func (in *googlePrivacyDlpV2ExclusionRuleMatchingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ExclusionRuleMatchingType] { + return pulumix.Output[*GooglePrivacyDlpV2ExclusionRuleMatchingType]{ + OutputState: in.ToGooglePrivacyDlpV2ExclusionRuleMatchingTypePtrOutputWithContext(ctx).OutputState, + } +} + // The operator to apply to the result of conditions. Default and currently only supported value is `AND`. type GooglePrivacyDlpV2ExpressionsLogicalOperator string @@ -1912,6 +2117,12 @@ func (o GooglePrivacyDlpV2ExpressionsLogicalOperatorOutput) ToGooglePrivacyDlpV2 }).(GooglePrivacyDlpV2ExpressionsLogicalOperatorPtrOutput) } +func (o GooglePrivacyDlpV2ExpressionsLogicalOperatorOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExpressionsLogicalOperator] { + return pulumix.Output[GooglePrivacyDlpV2ExpressionsLogicalOperator]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ExpressionsLogicalOperatorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1947,6 +2158,12 @@ func (o GooglePrivacyDlpV2ExpressionsLogicalOperatorPtrOutput) ToGooglePrivacyDl return o } +func (o GooglePrivacyDlpV2ExpressionsLogicalOperatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ExpressionsLogicalOperator] { + return pulumix.Output[*GooglePrivacyDlpV2ExpressionsLogicalOperator]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ExpressionsLogicalOperatorPtrOutput) Elem() GooglePrivacyDlpV2ExpressionsLogicalOperatorOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ExpressionsLogicalOperator) GooglePrivacyDlpV2ExpressionsLogicalOperator { if v != nil { @@ -2009,6 +2226,12 @@ func (in *googlePrivacyDlpV2ExpressionsLogicalOperatorPtr) ToGooglePrivacyDlpV2E return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2ExpressionsLogicalOperatorPtrOutput) } +func (in *googlePrivacyDlpV2ExpressionsLogicalOperatorPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ExpressionsLogicalOperator] { + return pulumix.Output[*GooglePrivacyDlpV2ExpressionsLogicalOperator]{ + OutputState: in.ToGooglePrivacyDlpV2ExpressionsLogicalOperatorPtrOutputWithContext(ctx).OutputState, + } +} + type GooglePrivacyDlpV2InspectConfigContentOptionsItem string const ( @@ -2080,6 +2303,12 @@ func (o GooglePrivacyDlpV2InspectConfigContentOptionsItemOutput) ToGooglePrivacy }).(GooglePrivacyDlpV2InspectConfigContentOptionsItemPtrOutput) } +func (o GooglePrivacyDlpV2InspectConfigContentOptionsItemOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectConfigContentOptionsItem] { + return pulumix.Output[GooglePrivacyDlpV2InspectConfigContentOptionsItem]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectConfigContentOptionsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2115,6 +2344,12 @@ func (o GooglePrivacyDlpV2InspectConfigContentOptionsItemPtrOutput) ToGooglePriv return o } +func (o GooglePrivacyDlpV2InspectConfigContentOptionsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InspectConfigContentOptionsItem] { + return pulumix.Output[*GooglePrivacyDlpV2InspectConfigContentOptionsItem]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectConfigContentOptionsItemPtrOutput) Elem() GooglePrivacyDlpV2InspectConfigContentOptionsItemOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2InspectConfigContentOptionsItem) GooglePrivacyDlpV2InspectConfigContentOptionsItem { if v != nil { @@ -2177,6 +2412,12 @@ func (in *googlePrivacyDlpV2InspectConfigContentOptionsItemPtr) ToGooglePrivacyD return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2InspectConfigContentOptionsItemPtrOutput) } +func (in *googlePrivacyDlpV2InspectConfigContentOptionsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InspectConfigContentOptionsItem] { + return pulumix.Output[*GooglePrivacyDlpV2InspectConfigContentOptionsItem]{ + OutputState: in.ToGooglePrivacyDlpV2InspectConfigContentOptionsItemPtrOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2InspectConfigContentOptionsItemArrayInput is an input type that accepts GooglePrivacyDlpV2InspectConfigContentOptionsItemArray and GooglePrivacyDlpV2InspectConfigContentOptionsItemArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2InspectConfigContentOptionsItemArrayInput` via: // @@ -2202,6 +2443,12 @@ func (i GooglePrivacyDlpV2InspectConfigContentOptionsItemArray) ToGooglePrivacyD return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InspectConfigContentOptionsItemArrayOutput) } +func (i GooglePrivacyDlpV2InspectConfigContentOptionsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InspectConfigContentOptionsItem] { + return pulumix.Output[[]GooglePrivacyDlpV2InspectConfigContentOptionsItem]{ + OutputState: i.ToGooglePrivacyDlpV2InspectConfigContentOptionsItemArrayOutputWithContext(ctx).OutputState, + } +} + type GooglePrivacyDlpV2InspectConfigContentOptionsItemArrayOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2InspectConfigContentOptionsItemArrayOutput) ElementType() reflect.Type { @@ -2216,6 +2463,12 @@ func (o GooglePrivacyDlpV2InspectConfigContentOptionsItemArrayOutput) ToGooglePr return o } +func (o GooglePrivacyDlpV2InspectConfigContentOptionsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InspectConfigContentOptionsItem] { + return pulumix.Output[[]GooglePrivacyDlpV2InspectConfigContentOptionsItem]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectConfigContentOptionsItemArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InspectConfigContentOptionsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InspectConfigContentOptionsItem { return vs[0].([]GooglePrivacyDlpV2InspectConfigContentOptionsItem)[vs[1].(int)] @@ -2300,6 +2553,12 @@ func (o GooglePrivacyDlpV2InspectConfigMinLikelihoodOutput) ToGooglePrivacyDlpV2 }).(GooglePrivacyDlpV2InspectConfigMinLikelihoodPtrOutput) } +func (o GooglePrivacyDlpV2InspectConfigMinLikelihoodOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectConfigMinLikelihood] { + return pulumix.Output[GooglePrivacyDlpV2InspectConfigMinLikelihood]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectConfigMinLikelihoodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2335,6 +2594,12 @@ func (o GooglePrivacyDlpV2InspectConfigMinLikelihoodPtrOutput) ToGooglePrivacyDl return o } +func (o GooglePrivacyDlpV2InspectConfigMinLikelihoodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InspectConfigMinLikelihood] { + return pulumix.Output[*GooglePrivacyDlpV2InspectConfigMinLikelihood]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectConfigMinLikelihoodPtrOutput) Elem() GooglePrivacyDlpV2InspectConfigMinLikelihoodOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2InspectConfigMinLikelihood) GooglePrivacyDlpV2InspectConfigMinLikelihood { if v != nil { @@ -2397,6 +2662,12 @@ func (in *googlePrivacyDlpV2InspectConfigMinLikelihoodPtr) ToGooglePrivacyDlpV2I return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2InspectConfigMinLikelihoodPtrOutput) } +func (in *googlePrivacyDlpV2InspectConfigMinLikelihoodPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InspectConfigMinLikelihood] { + return pulumix.Output[*GooglePrivacyDlpV2InspectConfigMinLikelihood]{ + OutputState: in.ToGooglePrivacyDlpV2InspectConfigMinLikelihoodPtrOutputWithContext(ctx).OutputState, + } +} + // Set the likelihood of a finding to a fixed value. type GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood string @@ -2475,6 +2746,12 @@ func (o GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodOutput) ToGooglePri }).(GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodPtrOutput) } +func (o GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood] { + return pulumix.Output[GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2510,6 +2787,12 @@ func (o GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodPtrOutput) ToGoogle return o } +func (o GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood] { + return pulumix.Output[*GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodPtrOutput) Elem() GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood) GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood { if v != nil { @@ -2572,6 +2855,12 @@ func (in *googlePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodPtr) ToGooglePriv return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodPtrOutput) } +func (in *googlePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood] { + return pulumix.Output[*GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood]{ + OutputState: in.ToGooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodPtrOutputWithContext(ctx).OutputState, + } +} + // Schema used for writing the findings for Inspect jobs. This field is only used for Inspect and must be unspecified for Risk jobs. Columns are derived from the `Finding` object. If appending to an existing table, any columns from the predefined schema that are missing will be added. No columns in the existing table will be deleted. If unspecified, then all available columns will be used for a new table or an (existing) table with no schema, and no changes will be made to an existing table that has a schema. Only for use with external storage. type GooglePrivacyDlpV2OutputStorageConfigOutputSchema string @@ -2650,6 +2939,12 @@ func (o GooglePrivacyDlpV2OutputStorageConfigOutputSchemaOutput) ToGooglePrivacy }).(GooglePrivacyDlpV2OutputStorageConfigOutputSchemaPtrOutput) } +func (o GooglePrivacyDlpV2OutputStorageConfigOutputSchemaOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2OutputStorageConfigOutputSchema] { + return pulumix.Output[GooglePrivacyDlpV2OutputStorageConfigOutputSchema]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2OutputStorageConfigOutputSchemaOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2685,6 +2980,12 @@ func (o GooglePrivacyDlpV2OutputStorageConfigOutputSchemaPtrOutput) ToGooglePriv return o } +func (o GooglePrivacyDlpV2OutputStorageConfigOutputSchemaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2OutputStorageConfigOutputSchema] { + return pulumix.Output[*GooglePrivacyDlpV2OutputStorageConfigOutputSchema]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2OutputStorageConfigOutputSchemaPtrOutput) Elem() GooglePrivacyDlpV2OutputStorageConfigOutputSchemaOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2OutputStorageConfigOutputSchema) GooglePrivacyDlpV2OutputStorageConfigOutputSchema { if v != nil { @@ -2747,6 +3048,12 @@ func (in *googlePrivacyDlpV2OutputStorageConfigOutputSchemaPtr) ToGooglePrivacyD return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2OutputStorageConfigOutputSchemaPtrOutput) } +func (in *googlePrivacyDlpV2OutputStorageConfigOutputSchemaPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2OutputStorageConfigOutputSchema] { + return pulumix.Output[*GooglePrivacyDlpV2OutputStorageConfigOutputSchema]{ + OutputState: in.ToGooglePrivacyDlpV2OutputStorageConfigOutputSchemaPtrOutputWithContext(ctx).OutputState, + } +} + // The sensitivity score applied to the resource. type GooglePrivacyDlpV2SensitivityScoreScore string @@ -2821,6 +3128,12 @@ func (o GooglePrivacyDlpV2SensitivityScoreScoreOutput) ToGooglePrivacyDlpV2Sensi }).(GooglePrivacyDlpV2SensitivityScoreScorePtrOutput) } +func (o GooglePrivacyDlpV2SensitivityScoreScoreOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SensitivityScoreScore] { + return pulumix.Output[GooglePrivacyDlpV2SensitivityScoreScore]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2SensitivityScoreScoreOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2856,6 +3169,12 @@ func (o GooglePrivacyDlpV2SensitivityScoreScorePtrOutput) ToGooglePrivacyDlpV2Se return o } +func (o GooglePrivacyDlpV2SensitivityScoreScorePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2SensitivityScoreScore] { + return pulumix.Output[*GooglePrivacyDlpV2SensitivityScoreScore]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2SensitivityScoreScorePtrOutput) Elem() GooglePrivacyDlpV2SensitivityScoreScoreOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2SensitivityScoreScore) GooglePrivacyDlpV2SensitivityScoreScore { if v != nil { @@ -2918,6 +3237,12 @@ func (in *googlePrivacyDlpV2SensitivityScoreScorePtr) ToGooglePrivacyDlpV2Sensit return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2SensitivityScoreScorePtrOutput) } +func (in *googlePrivacyDlpV2SensitivityScoreScorePtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2SensitivityScoreScore] { + return pulumix.Output[*GooglePrivacyDlpV2SensitivityScoreScore]{ + OutputState: in.ToGooglePrivacyDlpV2SensitivityScoreScorePtrOutputWithContext(ctx).OutputState, + } +} + // The part of the time to keep. type GooglePrivacyDlpV2TimePartConfigPartToExtract string @@ -2998,6 +3323,12 @@ func (o GooglePrivacyDlpV2TimePartConfigPartToExtractOutput) ToGooglePrivacyDlpV }).(GooglePrivacyDlpV2TimePartConfigPartToExtractPtrOutput) } +func (o GooglePrivacyDlpV2TimePartConfigPartToExtractOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TimePartConfigPartToExtract] { + return pulumix.Output[GooglePrivacyDlpV2TimePartConfigPartToExtract]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TimePartConfigPartToExtractOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3033,6 +3364,12 @@ func (o GooglePrivacyDlpV2TimePartConfigPartToExtractPtrOutput) ToGooglePrivacyD return o } +func (o GooglePrivacyDlpV2TimePartConfigPartToExtractPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TimePartConfigPartToExtract] { + return pulumix.Output[*GooglePrivacyDlpV2TimePartConfigPartToExtract]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TimePartConfigPartToExtractPtrOutput) Elem() GooglePrivacyDlpV2TimePartConfigPartToExtractOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2TimePartConfigPartToExtract) GooglePrivacyDlpV2TimePartConfigPartToExtract { if v != nil { @@ -3095,6 +3432,12 @@ func (in *googlePrivacyDlpV2TimePartConfigPartToExtractPtr) ToGooglePrivacyDlpV2 return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2TimePartConfigPartToExtractPtrOutput) } +func (in *googlePrivacyDlpV2TimePartConfigPartToExtractPtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TimePartConfigPartToExtract] { + return pulumix.Output[*GooglePrivacyDlpV2TimePartConfigPartToExtract]{ + OutputState: in.ToGooglePrivacyDlpV2TimePartConfigPartToExtractPtrOutputWithContext(ctx).OutputState, + } +} + // day of week type GooglePrivacyDlpV2ValueDayOfWeekValue string @@ -3177,6 +3520,12 @@ func (o GooglePrivacyDlpV2ValueDayOfWeekValueOutput) ToGooglePrivacyDlpV2ValueDa }).(GooglePrivacyDlpV2ValueDayOfWeekValuePtrOutput) } +func (o GooglePrivacyDlpV2ValueDayOfWeekValueOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ValueDayOfWeekValue] { + return pulumix.Output[GooglePrivacyDlpV2ValueDayOfWeekValue]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ValueDayOfWeekValueOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3212,6 +3561,12 @@ func (o GooglePrivacyDlpV2ValueDayOfWeekValuePtrOutput) ToGooglePrivacyDlpV2Valu return o } +func (o GooglePrivacyDlpV2ValueDayOfWeekValuePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ValueDayOfWeekValue] { + return pulumix.Output[*GooglePrivacyDlpV2ValueDayOfWeekValue]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ValueDayOfWeekValuePtrOutput) Elem() GooglePrivacyDlpV2ValueDayOfWeekValueOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ValueDayOfWeekValue) GooglePrivacyDlpV2ValueDayOfWeekValue { if v != nil { @@ -3274,6 +3629,12 @@ func (in *googlePrivacyDlpV2ValueDayOfWeekValuePtr) ToGooglePrivacyDlpV2ValueDay return pulumi.ToOutputWithContext(ctx, in).(GooglePrivacyDlpV2ValueDayOfWeekValuePtrOutput) } +func (in *googlePrivacyDlpV2ValueDayOfWeekValuePtr) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ValueDayOfWeekValue] { + return pulumix.Output[*GooglePrivacyDlpV2ValueDayOfWeekValue]{ + OutputState: in.ToGooglePrivacyDlpV2ValueDayOfWeekValuePtrOutputWithContext(ctx).OutputState, + } +} + // Required. A status for this trigger. type JobTriggerStatus string @@ -3348,6 +3709,12 @@ func (o JobTriggerStatusOutput) ToJobTriggerStatusPtrOutputWithContext(ctx conte }).(JobTriggerStatusPtrOutput) } +func (o JobTriggerStatusOutput) ToOutput(ctx context.Context) pulumix.Output[JobTriggerStatus] { + return pulumix.Output[JobTriggerStatus]{ + OutputState: o.OutputState, + } +} + func (o JobTriggerStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3383,6 +3750,12 @@ func (o JobTriggerStatusPtrOutput) ToJobTriggerStatusPtrOutputWithContext(ctx co return o } +func (o JobTriggerStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobTriggerStatus] { + return pulumix.Output[*JobTriggerStatus]{ + OutputState: o.OutputState, + } +} + func (o JobTriggerStatusPtrOutput) Elem() JobTriggerStatusOutput { return o.ApplyT(func(v *JobTriggerStatus) JobTriggerStatus { if v != nil { @@ -3445,6 +3818,12 @@ func (in *jobTriggerStatusPtr) ToJobTriggerStatusPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(JobTriggerStatusPtrOutput) } +func (in *jobTriggerStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*JobTriggerStatus] { + return pulumix.Output[*JobTriggerStatus]{ + OutputState: in.ToJobTriggerStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Required. A status for this trigger. type OrganizationJobTriggerStatus string @@ -3519,6 +3898,12 @@ func (o OrganizationJobTriggerStatusOutput) ToOrganizationJobTriggerStatusPtrOut }).(OrganizationJobTriggerStatusPtrOutput) } +func (o OrganizationJobTriggerStatusOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationJobTriggerStatus] { + return pulumix.Output[OrganizationJobTriggerStatus]{ + OutputState: o.OutputState, + } +} + func (o OrganizationJobTriggerStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3554,6 +3939,12 @@ func (o OrganizationJobTriggerStatusPtrOutput) ToOrganizationJobTriggerStatusPtr return o } +func (o OrganizationJobTriggerStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationJobTriggerStatus] { + return pulumix.Output[*OrganizationJobTriggerStatus]{ + OutputState: o.OutputState, + } +} + func (o OrganizationJobTriggerStatusPtrOutput) Elem() OrganizationJobTriggerStatusOutput { return o.ApplyT(func(v *OrganizationJobTriggerStatus) OrganizationJobTriggerStatus { if v != nil { @@ -3616,6 +4007,12 @@ func (in *organizationJobTriggerStatusPtr) ToOrganizationJobTriggerStatusPtrOutp return pulumi.ToOutputWithContext(ctx, in).(OrganizationJobTriggerStatusPtrOutput) } +func (in *organizationJobTriggerStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationJobTriggerStatus] { + return pulumix.Output[*OrganizationJobTriggerStatus]{ + OutputState: in.ToOrganizationJobTriggerStatusPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GooglePrivacyDlpV2BigQueryOptionsSampleMethodInput)(nil)).Elem(), GooglePrivacyDlpV2BigQueryOptionsSampleMethod("SAMPLE_METHOD_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GooglePrivacyDlpV2BigQueryOptionsSampleMethodPtrInput)(nil)).Elem(), GooglePrivacyDlpV2BigQueryOptionsSampleMethod("SAMPLE_METHOD_UNSPECIFIED")) diff --git a/sdk/go/google/dlp/v2/pulumiTypes.go b/sdk/go/google/dlp/v2/pulumiTypes.go index e4a342eb85..02dfa82681 100644 --- a/sdk/go/google/dlp/v2/pulumiTypes.go +++ b/sdk/go/google/dlp/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -72,6 +73,12 @@ func (i GooglePrivacyDlpV2ActionArgs) ToGooglePrivacyDlpV2ActionOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ActionOutput) } +func (i GooglePrivacyDlpV2ActionArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Action] { + return pulumix.Output[GooglePrivacyDlpV2Action]{ + OutputState: i.ToGooglePrivacyDlpV2ActionOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2ActionArrayInput is an input type that accepts GooglePrivacyDlpV2ActionArray and GooglePrivacyDlpV2ActionArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2ActionArrayInput` via: // @@ -97,6 +104,12 @@ func (i GooglePrivacyDlpV2ActionArray) ToGooglePrivacyDlpV2ActionArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ActionArrayOutput) } +func (i GooglePrivacyDlpV2ActionArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2Action] { + return pulumix.Output[[]GooglePrivacyDlpV2Action]{ + OutputState: i.ToGooglePrivacyDlpV2ActionArrayOutputWithContext(ctx).OutputState, + } +} + // A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more. type GooglePrivacyDlpV2ActionOutput struct{ *pulumi.OutputState } @@ -112,6 +125,12 @@ func (o GooglePrivacyDlpV2ActionOutput) ToGooglePrivacyDlpV2ActionOutputWithCont return o } +func (o GooglePrivacyDlpV2ActionOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Action] { + return pulumix.Output[GooglePrivacyDlpV2Action]{ + OutputState: o.OutputState, + } +} + // Create a de-identified copy of the input data. func (o GooglePrivacyDlpV2ActionOutput) Deidentify() GooglePrivacyDlpV2DeidentifyPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Action) *GooglePrivacyDlpV2Deidentify { return v.Deidentify }).(GooglePrivacyDlpV2DeidentifyPtrOutput) @@ -169,6 +188,12 @@ func (o GooglePrivacyDlpV2ActionArrayOutput) ToGooglePrivacyDlpV2ActionArrayOutp return o } +func (o GooglePrivacyDlpV2ActionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2Action] { + return pulumix.Output[[]GooglePrivacyDlpV2Action]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ActionArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2ActionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2Action { return vs[0].([]GooglePrivacyDlpV2Action)[vs[1].(int)] @@ -196,6 +221,12 @@ func (o GooglePrivacyDlpV2ActionDetailsResponseOutput) ToGooglePrivacyDlpV2Actio return o } +func (o GooglePrivacyDlpV2ActionDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ActionDetailsResponse] { + return pulumix.Output[GooglePrivacyDlpV2ActionDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Outcome of a de-identification action. func (o GooglePrivacyDlpV2ActionDetailsResponseOutput) DeidentifyDetails() GooglePrivacyDlpV2DeidentifyDataSourceDetailsResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ActionDetailsResponse) GooglePrivacyDlpV2DeidentifyDataSourceDetailsResponse { @@ -217,6 +248,12 @@ func (o GooglePrivacyDlpV2ActionDetailsResponseArrayOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2ActionDetailsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2ActionDetailsResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2ActionDetailsResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ActionDetailsResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2ActionDetailsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2ActionDetailsResponse { return vs[0].([]GooglePrivacyDlpV2ActionDetailsResponse)[vs[1].(int)] @@ -256,6 +293,12 @@ func (o GooglePrivacyDlpV2ActionResponseOutput) ToGooglePrivacyDlpV2ActionRespon return o } +func (o GooglePrivacyDlpV2ActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ActionResponse] { + return pulumix.Output[GooglePrivacyDlpV2ActionResponse]{ + OutputState: o.OutputState, + } +} + // Create a de-identified copy of the input data. func (o GooglePrivacyDlpV2ActionResponseOutput) Deidentify() GooglePrivacyDlpV2DeidentifyResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ActionResponse) GooglePrivacyDlpV2DeidentifyResponse { return v.Deidentify }).(GooglePrivacyDlpV2DeidentifyResponseOutput) @@ -313,6 +356,12 @@ func (o GooglePrivacyDlpV2ActionResponseArrayOutput) ToGooglePrivacyDlpV2ActionR return o } +func (o GooglePrivacyDlpV2ActionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2ActionResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2ActionResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ActionResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2ActionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2ActionResponse { return vs[0].([]GooglePrivacyDlpV2ActionResponse)[vs[1].(int)] @@ -350,6 +399,12 @@ func (i GooglePrivacyDlpV2AllInfoTypesArgs) ToGooglePrivacyDlpV2AllInfoTypesOutp return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2AllInfoTypesOutput) } +func (i GooglePrivacyDlpV2AllInfoTypesArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2AllInfoTypes] { + return pulumix.Output[GooglePrivacyDlpV2AllInfoTypes]{ + OutputState: i.ToGooglePrivacyDlpV2AllInfoTypesOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2AllInfoTypesArgs) ToGooglePrivacyDlpV2AllInfoTypesPtrOutput() GooglePrivacyDlpV2AllInfoTypesPtrOutput { return i.ToGooglePrivacyDlpV2AllInfoTypesPtrOutputWithContext(context.Background()) } @@ -391,6 +446,12 @@ func (i *googlePrivacyDlpV2AllInfoTypesPtrType) ToGooglePrivacyDlpV2AllInfoTypes return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2AllInfoTypesPtrOutput) } +func (i *googlePrivacyDlpV2AllInfoTypesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2AllInfoTypes] { + return pulumix.Output[*GooglePrivacyDlpV2AllInfoTypes]{ + OutputState: i.ToGooglePrivacyDlpV2AllInfoTypesPtrOutputWithContext(ctx).OutputState, + } +} + // Apply transformation to all findings. type GooglePrivacyDlpV2AllInfoTypesOutput struct{ *pulumi.OutputState } @@ -416,6 +477,12 @@ func (o GooglePrivacyDlpV2AllInfoTypesOutput) ToGooglePrivacyDlpV2AllInfoTypesPt }).(GooglePrivacyDlpV2AllInfoTypesPtrOutput) } +func (o GooglePrivacyDlpV2AllInfoTypesOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2AllInfoTypes] { + return pulumix.Output[GooglePrivacyDlpV2AllInfoTypes]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2AllInfoTypesPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2AllInfoTypesPtrOutput) ElementType() reflect.Type { @@ -430,6 +497,12 @@ func (o GooglePrivacyDlpV2AllInfoTypesPtrOutput) ToGooglePrivacyDlpV2AllInfoType return o } +func (o GooglePrivacyDlpV2AllInfoTypesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2AllInfoTypes] { + return pulumix.Output[*GooglePrivacyDlpV2AllInfoTypes]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2AllInfoTypesPtrOutput) Elem() GooglePrivacyDlpV2AllInfoTypesOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2AllInfoTypes) GooglePrivacyDlpV2AllInfoTypes { if v != nil { @@ -459,6 +532,12 @@ func (o GooglePrivacyDlpV2AllInfoTypesResponseOutput) ToGooglePrivacyDlpV2AllInf return o } +func (o GooglePrivacyDlpV2AllInfoTypesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2AllInfoTypesResponse] { + return pulumix.Output[GooglePrivacyDlpV2AllInfoTypesResponse]{ + OutputState: o.OutputState, + } +} + // Apply to all text. type GooglePrivacyDlpV2AllText struct { } @@ -490,6 +569,12 @@ func (i GooglePrivacyDlpV2AllTextArgs) ToGooglePrivacyDlpV2AllTextOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2AllTextOutput) } +func (i GooglePrivacyDlpV2AllTextArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2AllText] { + return pulumix.Output[GooglePrivacyDlpV2AllText]{ + OutputState: i.ToGooglePrivacyDlpV2AllTextOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2AllTextArgs) ToGooglePrivacyDlpV2AllTextPtrOutput() GooglePrivacyDlpV2AllTextPtrOutput { return i.ToGooglePrivacyDlpV2AllTextPtrOutputWithContext(context.Background()) } @@ -531,6 +616,12 @@ func (i *googlePrivacyDlpV2AllTextPtrType) ToGooglePrivacyDlpV2AllTextPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2AllTextPtrOutput) } +func (i *googlePrivacyDlpV2AllTextPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2AllText] { + return pulumix.Output[*GooglePrivacyDlpV2AllText]{ + OutputState: i.ToGooglePrivacyDlpV2AllTextPtrOutputWithContext(ctx).OutputState, + } +} + // Apply to all text. type GooglePrivacyDlpV2AllTextOutput struct{ *pulumi.OutputState } @@ -556,6 +647,12 @@ func (o GooglePrivacyDlpV2AllTextOutput) ToGooglePrivacyDlpV2AllTextPtrOutputWit }).(GooglePrivacyDlpV2AllTextPtrOutput) } +func (o GooglePrivacyDlpV2AllTextOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2AllText] { + return pulumix.Output[GooglePrivacyDlpV2AllText]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2AllTextPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2AllTextPtrOutput) ElementType() reflect.Type { @@ -570,6 +667,12 @@ func (o GooglePrivacyDlpV2AllTextPtrOutput) ToGooglePrivacyDlpV2AllTextPtrOutput return o } +func (o GooglePrivacyDlpV2AllTextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2AllText] { + return pulumix.Output[*GooglePrivacyDlpV2AllText]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2AllTextPtrOutput) Elem() GooglePrivacyDlpV2AllTextOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2AllText) GooglePrivacyDlpV2AllText { if v != nil { @@ -599,6 +702,12 @@ func (o GooglePrivacyDlpV2AllTextResponseOutput) ToGooglePrivacyDlpV2AllTextResp return o } +func (o GooglePrivacyDlpV2AllTextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2AllTextResponse] { + return pulumix.Output[GooglePrivacyDlpV2AllTextResponse]{ + OutputState: o.OutputState, + } +} + // Result of a risk analysis operation request. type GooglePrivacyDlpV2AnalyzeDataSourceRiskDetailsResponse struct { // Categorical stats result @@ -636,6 +745,12 @@ func (o GooglePrivacyDlpV2AnalyzeDataSourceRiskDetailsResponseOutput) ToGooglePr return o } +func (o GooglePrivacyDlpV2AnalyzeDataSourceRiskDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2AnalyzeDataSourceRiskDetailsResponse] { + return pulumix.Output[GooglePrivacyDlpV2AnalyzeDataSourceRiskDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Categorical stats result func (o GooglePrivacyDlpV2AnalyzeDataSourceRiskDetailsResponseOutput) CategoricalStatsResult() GooglePrivacyDlpV2CategoricalStatsResultResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2AnalyzeDataSourceRiskDetailsResponse) GooglePrivacyDlpV2CategoricalStatsResultResponse { @@ -742,6 +857,12 @@ func (i GooglePrivacyDlpV2AuxiliaryTableArgs) ToGooglePrivacyDlpV2AuxiliaryTable return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2AuxiliaryTableOutput) } +func (i GooglePrivacyDlpV2AuxiliaryTableArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2AuxiliaryTable] { + return pulumix.Output[GooglePrivacyDlpV2AuxiliaryTable]{ + OutputState: i.ToGooglePrivacyDlpV2AuxiliaryTableOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2AuxiliaryTableArrayInput is an input type that accepts GooglePrivacyDlpV2AuxiliaryTableArray and GooglePrivacyDlpV2AuxiliaryTableArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2AuxiliaryTableArrayInput` via: // @@ -767,6 +888,12 @@ func (i GooglePrivacyDlpV2AuxiliaryTableArray) ToGooglePrivacyDlpV2AuxiliaryTabl return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2AuxiliaryTableArrayOutput) } +func (i GooglePrivacyDlpV2AuxiliaryTableArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2AuxiliaryTable] { + return pulumix.Output[[]GooglePrivacyDlpV2AuxiliaryTable]{ + OutputState: i.ToGooglePrivacyDlpV2AuxiliaryTableArrayOutputWithContext(ctx).OutputState, + } +} + // An auxiliary table contains statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable). type GooglePrivacyDlpV2AuxiliaryTableOutput struct{ *pulumi.OutputState } @@ -782,6 +909,12 @@ func (o GooglePrivacyDlpV2AuxiliaryTableOutput) ToGooglePrivacyDlpV2AuxiliaryTab return o } +func (o GooglePrivacyDlpV2AuxiliaryTableOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2AuxiliaryTable] { + return pulumix.Output[GooglePrivacyDlpV2AuxiliaryTable]{ + OutputState: o.OutputState, + } +} + // Quasi-identifier columns. func (o GooglePrivacyDlpV2AuxiliaryTableOutput) QuasiIds() GooglePrivacyDlpV2QuasiIdFieldArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2AuxiliaryTable) []GooglePrivacyDlpV2QuasiIdField { return v.QuasiIds }).(GooglePrivacyDlpV2QuasiIdFieldArrayOutput) @@ -811,6 +944,12 @@ func (o GooglePrivacyDlpV2AuxiliaryTableArrayOutput) ToGooglePrivacyDlpV2Auxilia return o } +func (o GooglePrivacyDlpV2AuxiliaryTableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2AuxiliaryTable] { + return pulumix.Output[[]GooglePrivacyDlpV2AuxiliaryTable]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2AuxiliaryTableArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2AuxiliaryTableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2AuxiliaryTable { return vs[0].([]GooglePrivacyDlpV2AuxiliaryTable)[vs[1].(int)] @@ -842,6 +981,12 @@ func (o GooglePrivacyDlpV2AuxiliaryTableResponseOutput) ToGooglePrivacyDlpV2Auxi return o } +func (o GooglePrivacyDlpV2AuxiliaryTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2AuxiliaryTableResponse] { + return pulumix.Output[GooglePrivacyDlpV2AuxiliaryTableResponse]{ + OutputState: o.OutputState, + } +} + // Quasi-identifier columns. func (o GooglePrivacyDlpV2AuxiliaryTableResponseOutput) QuasiIds() GooglePrivacyDlpV2QuasiIdFieldResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2AuxiliaryTableResponse) []GooglePrivacyDlpV2QuasiIdFieldResponse { @@ -877,6 +1022,12 @@ func (o GooglePrivacyDlpV2AuxiliaryTableResponseArrayOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2AuxiliaryTableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2AuxiliaryTableResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2AuxiliaryTableResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2AuxiliaryTableResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2AuxiliaryTableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2AuxiliaryTableResponse { return vs[0].([]GooglePrivacyDlpV2AuxiliaryTableResponse)[vs[1].(int)] @@ -922,6 +1073,12 @@ func (i GooglePrivacyDlpV2BigQueryFieldArgs) ToGooglePrivacyDlpV2BigQueryFieldOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2BigQueryFieldOutput) } +func (i GooglePrivacyDlpV2BigQueryFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BigQueryField] { + return pulumix.Output[GooglePrivacyDlpV2BigQueryField]{ + OutputState: i.ToGooglePrivacyDlpV2BigQueryFieldOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2BigQueryFieldArgs) ToGooglePrivacyDlpV2BigQueryFieldPtrOutput() GooglePrivacyDlpV2BigQueryFieldPtrOutput { return i.ToGooglePrivacyDlpV2BigQueryFieldPtrOutputWithContext(context.Background()) } @@ -963,6 +1120,12 @@ func (i *googlePrivacyDlpV2BigQueryFieldPtrType) ToGooglePrivacyDlpV2BigQueryFie return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2BigQueryFieldPtrOutput) } +func (i *googlePrivacyDlpV2BigQueryFieldPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2BigQueryField] { + return pulumix.Output[*GooglePrivacyDlpV2BigQueryField]{ + OutputState: i.ToGooglePrivacyDlpV2BigQueryFieldPtrOutputWithContext(ctx).OutputState, + } +} + // Message defining a field of a BigQuery table. type GooglePrivacyDlpV2BigQueryFieldOutput struct{ *pulumi.OutputState } @@ -988,6 +1151,12 @@ func (o GooglePrivacyDlpV2BigQueryFieldOutput) ToGooglePrivacyDlpV2BigQueryField }).(GooglePrivacyDlpV2BigQueryFieldPtrOutput) } +func (o GooglePrivacyDlpV2BigQueryFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BigQueryField] { + return pulumix.Output[GooglePrivacyDlpV2BigQueryField]{ + OutputState: o.OutputState, + } +} + // Designated field in the BigQuery table. func (o GooglePrivacyDlpV2BigQueryFieldOutput) Field() GooglePrivacyDlpV2FieldIdPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2BigQueryField) *GooglePrivacyDlpV2FieldId { return v.Field }).(GooglePrivacyDlpV2FieldIdPtrOutput) @@ -1012,6 +1181,12 @@ func (o GooglePrivacyDlpV2BigQueryFieldPtrOutput) ToGooglePrivacyDlpV2BigQueryFi return o } +func (o GooglePrivacyDlpV2BigQueryFieldPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2BigQueryField] { + return pulumix.Output[*GooglePrivacyDlpV2BigQueryField]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2BigQueryFieldPtrOutput) Elem() GooglePrivacyDlpV2BigQueryFieldOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2BigQueryField) GooglePrivacyDlpV2BigQueryField { if v != nil { @@ -1065,6 +1240,12 @@ func (o GooglePrivacyDlpV2BigQueryFieldResponseOutput) ToGooglePrivacyDlpV2BigQu return o } +func (o GooglePrivacyDlpV2BigQueryFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BigQueryFieldResponse] { + return pulumix.Output[GooglePrivacyDlpV2BigQueryFieldResponse]{ + OutputState: o.OutputState, + } +} + // Designated field in the BigQuery table. func (o GooglePrivacyDlpV2BigQueryFieldResponseOutput) Field() GooglePrivacyDlpV2FieldIdResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2BigQueryFieldResponse) GooglePrivacyDlpV2FieldIdResponse { return v.Field }).(GooglePrivacyDlpV2FieldIdResponseOutput) @@ -1134,6 +1315,12 @@ func (i GooglePrivacyDlpV2BigQueryOptionsArgs) ToGooglePrivacyDlpV2BigQueryOptio return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2BigQueryOptionsOutput) } +func (i GooglePrivacyDlpV2BigQueryOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BigQueryOptions] { + return pulumix.Output[GooglePrivacyDlpV2BigQueryOptions]{ + OutputState: i.ToGooglePrivacyDlpV2BigQueryOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2BigQueryOptionsArgs) ToGooglePrivacyDlpV2BigQueryOptionsPtrOutput() GooglePrivacyDlpV2BigQueryOptionsPtrOutput { return i.ToGooglePrivacyDlpV2BigQueryOptionsPtrOutputWithContext(context.Background()) } @@ -1175,6 +1362,12 @@ func (i *googlePrivacyDlpV2BigQueryOptionsPtrType) ToGooglePrivacyDlpV2BigQueryO return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2BigQueryOptionsPtrOutput) } +func (i *googlePrivacyDlpV2BigQueryOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2BigQueryOptions] { + return pulumix.Output[*GooglePrivacyDlpV2BigQueryOptions]{ + OutputState: i.ToGooglePrivacyDlpV2BigQueryOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options defining BigQuery table and row identifiers. type GooglePrivacyDlpV2BigQueryOptionsOutput struct{ *pulumi.OutputState } @@ -1200,6 +1393,12 @@ func (o GooglePrivacyDlpV2BigQueryOptionsOutput) ToGooglePrivacyDlpV2BigQueryOpt }).(GooglePrivacyDlpV2BigQueryOptionsPtrOutput) } +func (o GooglePrivacyDlpV2BigQueryOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BigQueryOptions] { + return pulumix.Output[GooglePrivacyDlpV2BigQueryOptions]{ + OutputState: o.OutputState, + } +} + // References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. func (o GooglePrivacyDlpV2BigQueryOptionsOutput) ExcludedFields() GooglePrivacyDlpV2FieldIdArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2BigQueryOptions) []GooglePrivacyDlpV2FieldId { return v.ExcludedFields }).(GooglePrivacyDlpV2FieldIdArrayOutput) @@ -1250,6 +1449,12 @@ func (o GooglePrivacyDlpV2BigQueryOptionsPtrOutput) ToGooglePrivacyDlpV2BigQuery return o } +func (o GooglePrivacyDlpV2BigQueryOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2BigQueryOptions] { + return pulumix.Output[*GooglePrivacyDlpV2BigQueryOptions]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2BigQueryOptionsPtrOutput) Elem() GooglePrivacyDlpV2BigQueryOptionsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2BigQueryOptions) GooglePrivacyDlpV2BigQueryOptions { if v != nil { @@ -1361,6 +1566,12 @@ func (o GooglePrivacyDlpV2BigQueryOptionsResponseOutput) ToGooglePrivacyDlpV2Big return o } +func (o GooglePrivacyDlpV2BigQueryOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BigQueryOptionsResponse] { + return pulumix.Output[GooglePrivacyDlpV2BigQueryOptionsResponse]{ + OutputState: o.OutputState, + } +} + // References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. func (o GooglePrivacyDlpV2BigQueryOptionsResponseOutput) ExcludedFields() GooglePrivacyDlpV2FieldIdResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2BigQueryOptionsResponse) []GooglePrivacyDlpV2FieldIdResponse { @@ -1446,6 +1657,12 @@ func (i GooglePrivacyDlpV2BigQueryTableArgs) ToGooglePrivacyDlpV2BigQueryTableOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2BigQueryTableOutput) } +func (i GooglePrivacyDlpV2BigQueryTableArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BigQueryTable] { + return pulumix.Output[GooglePrivacyDlpV2BigQueryTable]{ + OutputState: i.ToGooglePrivacyDlpV2BigQueryTableOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2BigQueryTableArgs) ToGooglePrivacyDlpV2BigQueryTablePtrOutput() GooglePrivacyDlpV2BigQueryTablePtrOutput { return i.ToGooglePrivacyDlpV2BigQueryTablePtrOutputWithContext(context.Background()) } @@ -1487,6 +1704,12 @@ func (i *googlePrivacyDlpV2BigQueryTablePtrType) ToGooglePrivacyDlpV2BigQueryTab return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2BigQueryTablePtrOutput) } +func (i *googlePrivacyDlpV2BigQueryTablePtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2BigQueryTable] { + return pulumix.Output[*GooglePrivacyDlpV2BigQueryTable]{ + OutputState: i.ToGooglePrivacyDlpV2BigQueryTablePtrOutputWithContext(ctx).OutputState, + } +} + // Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: `:.` or `..`. type GooglePrivacyDlpV2BigQueryTableOutput struct{ *pulumi.OutputState } @@ -1512,6 +1735,12 @@ func (o GooglePrivacyDlpV2BigQueryTableOutput) ToGooglePrivacyDlpV2BigQueryTable }).(GooglePrivacyDlpV2BigQueryTablePtrOutput) } +func (o GooglePrivacyDlpV2BigQueryTableOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BigQueryTable] { + return pulumix.Output[GooglePrivacyDlpV2BigQueryTable]{ + OutputState: o.OutputState, + } +} + // Dataset ID of the table. func (o GooglePrivacyDlpV2BigQueryTableOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2BigQueryTable) *string { return v.DatasetId }).(pulumi.StringPtrOutput) @@ -1541,6 +1770,12 @@ func (o GooglePrivacyDlpV2BigQueryTablePtrOutput) ToGooglePrivacyDlpV2BigQueryTa return o } +func (o GooglePrivacyDlpV2BigQueryTablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2BigQueryTable] { + return pulumix.Output[*GooglePrivacyDlpV2BigQueryTable]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2BigQueryTablePtrOutput) Elem() GooglePrivacyDlpV2BigQueryTableOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2BigQueryTable) GooglePrivacyDlpV2BigQueryTable { if v != nil { @@ -1606,6 +1841,12 @@ func (o GooglePrivacyDlpV2BigQueryTableResponseOutput) ToGooglePrivacyDlpV2BigQu return o } +func (o GooglePrivacyDlpV2BigQueryTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BigQueryTableResponse] { + return pulumix.Output[GooglePrivacyDlpV2BigQueryTableResponse]{ + OutputState: o.OutputState, + } +} + // Dataset ID of the table. func (o GooglePrivacyDlpV2BigQueryTableResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2BigQueryTableResponse) string { return v.DatasetId }).(pulumi.StringOutput) @@ -1664,6 +1905,12 @@ func (i GooglePrivacyDlpV2BucketArgs) ToGooglePrivacyDlpV2BucketOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2BucketOutput) } +func (i GooglePrivacyDlpV2BucketArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Bucket] { + return pulumix.Output[GooglePrivacyDlpV2Bucket]{ + OutputState: i.ToGooglePrivacyDlpV2BucketOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2BucketArrayInput is an input type that accepts GooglePrivacyDlpV2BucketArray and GooglePrivacyDlpV2BucketArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2BucketArrayInput` via: // @@ -1689,6 +1936,12 @@ func (i GooglePrivacyDlpV2BucketArray) ToGooglePrivacyDlpV2BucketArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2BucketArrayOutput) } +func (i GooglePrivacyDlpV2BucketArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2Bucket] { + return pulumix.Output[[]GooglePrivacyDlpV2Bucket]{ + OutputState: i.ToGooglePrivacyDlpV2BucketArrayOutputWithContext(ctx).OutputState, + } +} + // Bucket is represented as a range, along with replacement values. type GooglePrivacyDlpV2BucketOutput struct{ *pulumi.OutputState } @@ -1704,6 +1957,12 @@ func (o GooglePrivacyDlpV2BucketOutput) ToGooglePrivacyDlpV2BucketOutputWithCont return o } +func (o GooglePrivacyDlpV2BucketOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Bucket] { + return pulumix.Output[GooglePrivacyDlpV2Bucket]{ + OutputState: o.OutputState, + } +} + // Upper bound of the range, exclusive; type must match min. func (o GooglePrivacyDlpV2BucketOutput) Max() GooglePrivacyDlpV2ValuePtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Bucket) *GooglePrivacyDlpV2Value { return v.Max }).(GooglePrivacyDlpV2ValuePtrOutput) @@ -1733,6 +1992,12 @@ func (o GooglePrivacyDlpV2BucketArrayOutput) ToGooglePrivacyDlpV2BucketArrayOutp return o } +func (o GooglePrivacyDlpV2BucketArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2Bucket] { + return pulumix.Output[[]GooglePrivacyDlpV2Bucket]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2BucketArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2BucketOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2Bucket { return vs[0].([]GooglePrivacyDlpV2Bucket)[vs[1].(int)] @@ -1764,6 +2029,12 @@ func (o GooglePrivacyDlpV2BucketResponseOutput) ToGooglePrivacyDlpV2BucketRespon return o } +func (o GooglePrivacyDlpV2BucketResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BucketResponse] { + return pulumix.Output[GooglePrivacyDlpV2BucketResponse]{ + OutputState: o.OutputState, + } +} + // Upper bound of the range, exclusive; type must match min. func (o GooglePrivacyDlpV2BucketResponseOutput) Max() GooglePrivacyDlpV2ValueResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2BucketResponse) GooglePrivacyDlpV2ValueResponse { return v.Max }).(GooglePrivacyDlpV2ValueResponseOutput) @@ -1793,6 +2064,12 @@ func (o GooglePrivacyDlpV2BucketResponseArrayOutput) ToGooglePrivacyDlpV2BucketR return o } +func (o GooglePrivacyDlpV2BucketResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2BucketResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2BucketResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2BucketResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2BucketResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2BucketResponse { return vs[0].([]GooglePrivacyDlpV2BucketResponse)[vs[1].(int)] @@ -1834,6 +2111,12 @@ func (i GooglePrivacyDlpV2BucketingConfigArgs) ToGooglePrivacyDlpV2BucketingConf return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2BucketingConfigOutput) } +func (i GooglePrivacyDlpV2BucketingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BucketingConfig] { + return pulumix.Output[GooglePrivacyDlpV2BucketingConfig]{ + OutputState: i.ToGooglePrivacyDlpV2BucketingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2BucketingConfigArgs) ToGooglePrivacyDlpV2BucketingConfigPtrOutput() GooglePrivacyDlpV2BucketingConfigPtrOutput { return i.ToGooglePrivacyDlpV2BucketingConfigPtrOutputWithContext(context.Background()) } @@ -1875,6 +2158,12 @@ func (i *googlePrivacyDlpV2BucketingConfigPtrType) ToGooglePrivacyDlpV2Bucketing return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2BucketingConfigPtrOutput) } +func (i *googlePrivacyDlpV2BucketingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2BucketingConfig] { + return pulumix.Output[*GooglePrivacyDlpV2BucketingConfig]{ + OutputState: i.ToGooglePrivacyDlpV2BucketingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Generalization function that buckets values based on ranges. The ranges and replacement values are dynamically provided by the user for custom behavior, such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of type: number, long, string, timestamp. If the bound `Value` type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. type GooglePrivacyDlpV2BucketingConfigOutput struct{ *pulumi.OutputState } @@ -1900,6 +2189,12 @@ func (o GooglePrivacyDlpV2BucketingConfigOutput) ToGooglePrivacyDlpV2BucketingCo }).(GooglePrivacyDlpV2BucketingConfigPtrOutput) } +func (o GooglePrivacyDlpV2BucketingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BucketingConfig] { + return pulumix.Output[GooglePrivacyDlpV2BucketingConfig]{ + OutputState: o.OutputState, + } +} + // Set of buckets. Ranges must be non-overlapping. func (o GooglePrivacyDlpV2BucketingConfigOutput) Buckets() GooglePrivacyDlpV2BucketArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2BucketingConfig) []GooglePrivacyDlpV2Bucket { return v.Buckets }).(GooglePrivacyDlpV2BucketArrayOutput) @@ -1919,6 +2214,12 @@ func (o GooglePrivacyDlpV2BucketingConfigPtrOutput) ToGooglePrivacyDlpV2Bucketin return o } +func (o GooglePrivacyDlpV2BucketingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2BucketingConfig] { + return pulumix.Output[*GooglePrivacyDlpV2BucketingConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2BucketingConfigPtrOutput) Elem() GooglePrivacyDlpV2BucketingConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2BucketingConfig) GooglePrivacyDlpV2BucketingConfig { if v != nil { @@ -1960,6 +2261,12 @@ func (o GooglePrivacyDlpV2BucketingConfigResponseOutput) ToGooglePrivacyDlpV2Buc return o } +func (o GooglePrivacyDlpV2BucketingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2BucketingConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2BucketingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Set of buckets. Ranges must be non-overlapping. func (o GooglePrivacyDlpV2BucketingConfigResponseOutput) Buckets() GooglePrivacyDlpV2BucketResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2BucketingConfigResponse) []GooglePrivacyDlpV2BucketResponse { return v.Buckets }).(GooglePrivacyDlpV2BucketResponseArrayOutput) @@ -2000,6 +2307,12 @@ func (i GooglePrivacyDlpV2CategoricalStatsConfigArgs) ToGooglePrivacyDlpV2Catego return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CategoricalStatsConfigOutput) } +func (i GooglePrivacyDlpV2CategoricalStatsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CategoricalStatsConfig] { + return pulumix.Output[GooglePrivacyDlpV2CategoricalStatsConfig]{ + OutputState: i.ToGooglePrivacyDlpV2CategoricalStatsConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2CategoricalStatsConfigArgs) ToGooglePrivacyDlpV2CategoricalStatsConfigPtrOutput() GooglePrivacyDlpV2CategoricalStatsConfigPtrOutput { return i.ToGooglePrivacyDlpV2CategoricalStatsConfigPtrOutputWithContext(context.Background()) } @@ -2041,6 +2354,12 @@ func (i *googlePrivacyDlpV2CategoricalStatsConfigPtrType) ToGooglePrivacyDlpV2Ca return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CategoricalStatsConfigPtrOutput) } +func (i *googlePrivacyDlpV2CategoricalStatsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CategoricalStatsConfig] { + return pulumix.Output[*GooglePrivacyDlpV2CategoricalStatsConfig]{ + OutputState: i.ToGooglePrivacyDlpV2CategoricalStatsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Compute numerical stats over an individual column, including number of distinct values and value count distribution. type GooglePrivacyDlpV2CategoricalStatsConfigOutput struct{ *pulumi.OutputState } @@ -2066,6 +2385,12 @@ func (o GooglePrivacyDlpV2CategoricalStatsConfigOutput) ToGooglePrivacyDlpV2Cate }).(GooglePrivacyDlpV2CategoricalStatsConfigPtrOutput) } +func (o GooglePrivacyDlpV2CategoricalStatsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CategoricalStatsConfig] { + return pulumix.Output[GooglePrivacyDlpV2CategoricalStatsConfig]{ + OutputState: o.OutputState, + } +} + // Field to compute categorical stats on. All column types are supported except for arrays and structs. However, it may be more informative to use NumericalStats when the field type is supported, depending on the data. func (o GooglePrivacyDlpV2CategoricalStatsConfigOutput) Field() GooglePrivacyDlpV2FieldIdPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CategoricalStatsConfig) *GooglePrivacyDlpV2FieldId { return v.Field }).(GooglePrivacyDlpV2FieldIdPtrOutput) @@ -2085,6 +2410,12 @@ func (o GooglePrivacyDlpV2CategoricalStatsConfigPtrOutput) ToGooglePrivacyDlpV2C return o } +func (o GooglePrivacyDlpV2CategoricalStatsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CategoricalStatsConfig] { + return pulumix.Output[*GooglePrivacyDlpV2CategoricalStatsConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CategoricalStatsConfigPtrOutput) Elem() GooglePrivacyDlpV2CategoricalStatsConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CategoricalStatsConfig) GooglePrivacyDlpV2CategoricalStatsConfig { if v != nil { @@ -2126,6 +2457,12 @@ func (o GooglePrivacyDlpV2CategoricalStatsConfigResponseOutput) ToGooglePrivacyD return o } +func (o GooglePrivacyDlpV2CategoricalStatsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CategoricalStatsConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2CategoricalStatsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Field to compute categorical stats on. All column types are supported except for arrays and structs. However, it may be more informative to use NumericalStats when the field type is supported, depending on the data. func (o GooglePrivacyDlpV2CategoricalStatsConfigResponseOutput) Field() GooglePrivacyDlpV2FieldIdResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CategoricalStatsConfigResponse) GooglePrivacyDlpV2FieldIdResponse { @@ -2162,6 +2499,12 @@ func (o GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponseOutput) ToGoogl return o } +func (o GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponse] { + return pulumix.Output[GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponse]{ + OutputState: o.OutputState, + } +} + // Total number of values in this bucket. func (o GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponseOutput) BucketSize() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponse) string { return v.BucketSize }).(pulumi.StringOutput) @@ -2207,6 +2550,12 @@ func (o GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponseArrayOutput) To return o } +func (o GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponse { return vs[0].([]GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponse)[vs[1].(int)] @@ -2234,6 +2583,12 @@ func (o GooglePrivacyDlpV2CategoricalStatsResultResponseOutput) ToGooglePrivacyD return o } +func (o GooglePrivacyDlpV2CategoricalStatsResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CategoricalStatsResultResponse] { + return pulumix.Output[GooglePrivacyDlpV2CategoricalStatsResultResponse]{ + OutputState: o.OutputState, + } +} + // Histogram of value frequencies in the column. func (o GooglePrivacyDlpV2CategoricalStatsResultResponseOutput) ValueFrequencyHistogramBuckets() GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CategoricalStatsResultResponse) []GooglePrivacyDlpV2CategoricalStatsHistogramBucketResponse { @@ -2288,6 +2643,12 @@ func (i GooglePrivacyDlpV2CharacterMaskConfigArgs) ToGooglePrivacyDlpV2Character return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CharacterMaskConfigOutput) } +func (i GooglePrivacyDlpV2CharacterMaskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CharacterMaskConfig] { + return pulumix.Output[GooglePrivacyDlpV2CharacterMaskConfig]{ + OutputState: i.ToGooglePrivacyDlpV2CharacterMaskConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2CharacterMaskConfigArgs) ToGooglePrivacyDlpV2CharacterMaskConfigPtrOutput() GooglePrivacyDlpV2CharacterMaskConfigPtrOutput { return i.ToGooglePrivacyDlpV2CharacterMaskConfigPtrOutputWithContext(context.Background()) } @@ -2329,6 +2690,12 @@ func (i *googlePrivacyDlpV2CharacterMaskConfigPtrType) ToGooglePrivacyDlpV2Chara return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CharacterMaskConfigPtrOutput) } +func (i *googlePrivacyDlpV2CharacterMaskConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CharacterMaskConfig] { + return pulumix.Output[*GooglePrivacyDlpV2CharacterMaskConfig]{ + OutputState: i.ToGooglePrivacyDlpV2CharacterMaskConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Partially mask a string by replacing a given number of characters with a fixed character. Masking can start from the beginning or end of the string. This can be used on data of any type (numbers, longs, and so on) and when de-identifying structured data we'll attempt to preserve the original data's type. (This allows you to take a long like 123 and modify it to a string like **3. type GooglePrivacyDlpV2CharacterMaskConfigOutput struct{ *pulumi.OutputState } @@ -2354,6 +2721,12 @@ func (o GooglePrivacyDlpV2CharacterMaskConfigOutput) ToGooglePrivacyDlpV2Charact }).(GooglePrivacyDlpV2CharacterMaskConfigPtrOutput) } +func (o GooglePrivacyDlpV2CharacterMaskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CharacterMaskConfig] { + return pulumix.Output[GooglePrivacyDlpV2CharacterMaskConfig]{ + OutputState: o.OutputState, + } +} + // When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is `555-555-5555` and you instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP returns `***-**5-5555`. func (o GooglePrivacyDlpV2CharacterMaskConfigOutput) CharactersToIgnore() GooglePrivacyDlpV2CharsToIgnoreArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CharacterMaskConfig) []GooglePrivacyDlpV2CharsToIgnore { @@ -2390,6 +2763,12 @@ func (o GooglePrivacyDlpV2CharacterMaskConfigPtrOutput) ToGooglePrivacyDlpV2Char return o } +func (o GooglePrivacyDlpV2CharacterMaskConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CharacterMaskConfig] { + return pulumix.Output[*GooglePrivacyDlpV2CharacterMaskConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CharacterMaskConfigPtrOutput) Elem() GooglePrivacyDlpV2CharacterMaskConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CharacterMaskConfig) GooglePrivacyDlpV2CharacterMaskConfig { if v != nil { @@ -2467,6 +2846,12 @@ func (o GooglePrivacyDlpV2CharacterMaskConfigResponseOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2CharacterMaskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CharacterMaskConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2CharacterMaskConfigResponse]{ + OutputState: o.OutputState, + } +} + // When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is `555-555-5555` and you instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP returns `***-**5-5555`. func (o GooglePrivacyDlpV2CharacterMaskConfigResponseOutput) CharactersToIgnore() GooglePrivacyDlpV2CharsToIgnoreResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CharacterMaskConfigResponse) []GooglePrivacyDlpV2CharsToIgnoreResponse { @@ -2528,6 +2913,12 @@ func (i GooglePrivacyDlpV2CharsToIgnoreArgs) ToGooglePrivacyDlpV2CharsToIgnoreOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CharsToIgnoreOutput) } +func (i GooglePrivacyDlpV2CharsToIgnoreArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CharsToIgnore] { + return pulumix.Output[GooglePrivacyDlpV2CharsToIgnore]{ + OutputState: i.ToGooglePrivacyDlpV2CharsToIgnoreOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2CharsToIgnoreArrayInput is an input type that accepts GooglePrivacyDlpV2CharsToIgnoreArray and GooglePrivacyDlpV2CharsToIgnoreArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2CharsToIgnoreArrayInput` via: // @@ -2553,6 +2944,12 @@ func (i GooglePrivacyDlpV2CharsToIgnoreArray) ToGooglePrivacyDlpV2CharsToIgnoreA return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CharsToIgnoreArrayOutput) } +func (i GooglePrivacyDlpV2CharsToIgnoreArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2CharsToIgnore] { + return pulumix.Output[[]GooglePrivacyDlpV2CharsToIgnore]{ + OutputState: i.ToGooglePrivacyDlpV2CharsToIgnoreArrayOutputWithContext(ctx).OutputState, + } +} + // Characters to skip when doing deidentification of a value. These will be left alone and skipped. type GooglePrivacyDlpV2CharsToIgnoreOutput struct{ *pulumi.OutputState } @@ -2568,6 +2965,12 @@ func (o GooglePrivacyDlpV2CharsToIgnoreOutput) ToGooglePrivacyDlpV2CharsToIgnore return o } +func (o GooglePrivacyDlpV2CharsToIgnoreOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CharsToIgnore] { + return pulumix.Output[GooglePrivacyDlpV2CharsToIgnore]{ + OutputState: o.OutputState, + } +} + // Characters to not transform when masking. func (o GooglePrivacyDlpV2CharsToIgnoreOutput) CharactersToSkip() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CharsToIgnore) *string { return v.CharactersToSkip }).(pulumi.StringPtrOutput) @@ -2594,6 +2997,12 @@ func (o GooglePrivacyDlpV2CharsToIgnoreArrayOutput) ToGooglePrivacyDlpV2CharsToI return o } +func (o GooglePrivacyDlpV2CharsToIgnoreArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2CharsToIgnore] { + return pulumix.Output[[]GooglePrivacyDlpV2CharsToIgnore]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CharsToIgnoreArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2CharsToIgnoreOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2CharsToIgnore { return vs[0].([]GooglePrivacyDlpV2CharsToIgnore)[vs[1].(int)] @@ -2623,6 +3032,12 @@ func (o GooglePrivacyDlpV2CharsToIgnoreResponseOutput) ToGooglePrivacyDlpV2Chars return o } +func (o GooglePrivacyDlpV2CharsToIgnoreResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CharsToIgnoreResponse] { + return pulumix.Output[GooglePrivacyDlpV2CharsToIgnoreResponse]{ + OutputState: o.OutputState, + } +} + // Characters to not transform when masking. func (o GooglePrivacyDlpV2CharsToIgnoreResponseOutput) CharactersToSkip() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CharsToIgnoreResponse) string { return v.CharactersToSkip }).(pulumi.StringOutput) @@ -2647,6 +3062,12 @@ func (o GooglePrivacyDlpV2CharsToIgnoreResponseArrayOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2CharsToIgnoreResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2CharsToIgnoreResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2CharsToIgnoreResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CharsToIgnoreResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2CharsToIgnoreResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2CharsToIgnoreResponse { return vs[0].([]GooglePrivacyDlpV2CharsToIgnoreResponse)[vs[1].(int)] @@ -2688,6 +3109,12 @@ func (i GooglePrivacyDlpV2CloudStorageFileSetArgs) ToGooglePrivacyDlpV2CloudStor return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CloudStorageFileSetOutput) } +func (i GooglePrivacyDlpV2CloudStorageFileSetArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageFileSet] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageFileSet]{ + OutputState: i.ToGooglePrivacyDlpV2CloudStorageFileSetOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2CloudStorageFileSetArgs) ToGooglePrivacyDlpV2CloudStorageFileSetPtrOutput() GooglePrivacyDlpV2CloudStorageFileSetPtrOutput { return i.ToGooglePrivacyDlpV2CloudStorageFileSetPtrOutputWithContext(context.Background()) } @@ -2729,6 +3156,12 @@ func (i *googlePrivacyDlpV2CloudStorageFileSetPtrType) ToGooglePrivacyDlpV2Cloud return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CloudStorageFileSetPtrOutput) } +func (i *googlePrivacyDlpV2CloudStorageFileSetPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStorageFileSet] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStorageFileSet]{ + OutputState: i.ToGooglePrivacyDlpV2CloudStorageFileSetPtrOutputWithContext(ctx).OutputState, + } +} + // Message representing a set of files in Cloud Storage. type GooglePrivacyDlpV2CloudStorageFileSetOutput struct{ *pulumi.OutputState } @@ -2754,6 +3187,12 @@ func (o GooglePrivacyDlpV2CloudStorageFileSetOutput) ToGooglePrivacyDlpV2CloudSt }).(GooglePrivacyDlpV2CloudStorageFileSetPtrOutput) } +func (o GooglePrivacyDlpV2CloudStorageFileSetOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageFileSet] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageFileSet]{ + OutputState: o.OutputState, + } +} + // The url, in the format `gs:///`. Trailing wildcard in the path is allowed. func (o GooglePrivacyDlpV2CloudStorageFileSetOutput) Url() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CloudStorageFileSet) *string { return v.Url }).(pulumi.StringPtrOutput) @@ -2773,6 +3212,12 @@ func (o GooglePrivacyDlpV2CloudStorageFileSetPtrOutput) ToGooglePrivacyDlpV2Clou return o } +func (o GooglePrivacyDlpV2CloudStorageFileSetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStorageFileSet] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStorageFileSet]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CloudStorageFileSetPtrOutput) Elem() GooglePrivacyDlpV2CloudStorageFileSetOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CloudStorageFileSet) GooglePrivacyDlpV2CloudStorageFileSet { if v != nil { @@ -2814,6 +3259,12 @@ func (o GooglePrivacyDlpV2CloudStorageFileSetResponseOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2CloudStorageFileSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageFileSetResponse] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageFileSetResponse]{ + OutputState: o.OutputState, + } +} + // The url, in the format `gs:///`. Trailing wildcard in the path is allowed. func (o GooglePrivacyDlpV2CloudStorageFileSetResponseOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CloudStorageFileSetResponse) string { return v.Url }).(pulumi.StringOutput) @@ -2872,6 +3323,12 @@ func (i GooglePrivacyDlpV2CloudStorageOptionsArgs) ToGooglePrivacyDlpV2CloudStor return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CloudStorageOptionsOutput) } +func (i GooglePrivacyDlpV2CloudStorageOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageOptions] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageOptions]{ + OutputState: i.ToGooglePrivacyDlpV2CloudStorageOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2CloudStorageOptionsArgs) ToGooglePrivacyDlpV2CloudStorageOptionsPtrOutput() GooglePrivacyDlpV2CloudStorageOptionsPtrOutput { return i.ToGooglePrivacyDlpV2CloudStorageOptionsPtrOutputWithContext(context.Background()) } @@ -2913,6 +3370,12 @@ func (i *googlePrivacyDlpV2CloudStorageOptionsPtrType) ToGooglePrivacyDlpV2Cloud return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CloudStorageOptionsPtrOutput) } +func (i *googlePrivacyDlpV2CloudStorageOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptions] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptions]{ + OutputState: i.ToGooglePrivacyDlpV2CloudStorageOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options defining a file or a set of files within a Cloud Storage bucket. type GooglePrivacyDlpV2CloudStorageOptionsOutput struct{ *pulumi.OutputState } @@ -2938,6 +3401,12 @@ func (o GooglePrivacyDlpV2CloudStorageOptionsOutput) ToGooglePrivacyDlpV2CloudSt }).(GooglePrivacyDlpV2CloudStorageOptionsPtrOutput) } +func (o GooglePrivacyDlpV2CloudStorageOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageOptions] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageOptions]{ + OutputState: o.OutputState, + } +} + // Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. Cannot be set if de-identification is requested. func (o GooglePrivacyDlpV2CloudStorageOptionsOutput) BytesLimitPerFile() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CloudStorageOptions) *string { return v.BytesLimitPerFile }).(pulumi.StringPtrOutput) @@ -2985,6 +3454,12 @@ func (o GooglePrivacyDlpV2CloudStorageOptionsPtrOutput) ToGooglePrivacyDlpV2Clou return o } +func (o GooglePrivacyDlpV2CloudStorageOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptions] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStorageOptions]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CloudStorageOptionsPtrOutput) Elem() GooglePrivacyDlpV2CloudStorageOptionsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CloudStorageOptions) GooglePrivacyDlpV2CloudStorageOptions { if v != nil { @@ -3084,6 +3559,12 @@ func (o GooglePrivacyDlpV2CloudStorageOptionsResponseOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2CloudStorageOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageOptionsResponse] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Max number of bytes to scan from a file. If a scanned file's size is bigger than this value then the rest of the bytes are omitted. Only one of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. Cannot be set if de-identification is requested. func (o GooglePrivacyDlpV2CloudStorageOptionsResponseOutput) BytesLimitPerFile() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CloudStorageOptionsResponse) string { return v.BytesLimitPerFile }).(pulumi.StringOutput) @@ -3150,6 +3631,12 @@ func (i GooglePrivacyDlpV2CloudStoragePathArgs) ToGooglePrivacyDlpV2CloudStorage return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CloudStoragePathOutput) } +func (i GooglePrivacyDlpV2CloudStoragePathArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStoragePath] { + return pulumix.Output[GooglePrivacyDlpV2CloudStoragePath]{ + OutputState: i.ToGooglePrivacyDlpV2CloudStoragePathOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2CloudStoragePathArgs) ToGooglePrivacyDlpV2CloudStoragePathPtrOutput() GooglePrivacyDlpV2CloudStoragePathPtrOutput { return i.ToGooglePrivacyDlpV2CloudStoragePathPtrOutputWithContext(context.Background()) } @@ -3191,6 +3678,12 @@ func (i *googlePrivacyDlpV2CloudStoragePathPtrType) ToGooglePrivacyDlpV2CloudSto return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CloudStoragePathPtrOutput) } +func (i *googlePrivacyDlpV2CloudStoragePathPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStoragePath] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStoragePath]{ + OutputState: i.ToGooglePrivacyDlpV2CloudStoragePathPtrOutputWithContext(ctx).OutputState, + } +} + // Message representing a single file or path in Cloud Storage. type GooglePrivacyDlpV2CloudStoragePathOutput struct{ *pulumi.OutputState } @@ -3216,6 +3709,12 @@ func (o GooglePrivacyDlpV2CloudStoragePathOutput) ToGooglePrivacyDlpV2CloudStora }).(GooglePrivacyDlpV2CloudStoragePathPtrOutput) } +func (o GooglePrivacyDlpV2CloudStoragePathOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStoragePath] { + return pulumix.Output[GooglePrivacyDlpV2CloudStoragePath]{ + OutputState: o.OutputState, + } +} + // A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt func (o GooglePrivacyDlpV2CloudStoragePathOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CloudStoragePath) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -3235,6 +3734,12 @@ func (o GooglePrivacyDlpV2CloudStoragePathPtrOutput) ToGooglePrivacyDlpV2CloudSt return o } +func (o GooglePrivacyDlpV2CloudStoragePathPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStoragePath] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStoragePath]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CloudStoragePathPtrOutput) Elem() GooglePrivacyDlpV2CloudStoragePathOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CloudStoragePath) GooglePrivacyDlpV2CloudStoragePath { if v != nil { @@ -3276,6 +3781,12 @@ func (o GooglePrivacyDlpV2CloudStoragePathResponseOutput) ToGooglePrivacyDlpV2Cl return o } +func (o GooglePrivacyDlpV2CloudStoragePathResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStoragePathResponse] { + return pulumix.Output[GooglePrivacyDlpV2CloudStoragePathResponse]{ + OutputState: o.OutputState, + } +} + // A url representing a file or path (no wildcards) in Cloud Storage. Example: gs://[BUCKET_NAME]/dictionary.txt func (o GooglePrivacyDlpV2CloudStoragePathResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CloudStoragePathResponse) string { return v.Path }).(pulumi.StringOutput) @@ -3324,6 +3835,12 @@ func (i GooglePrivacyDlpV2CloudStorageRegexFileSetArgs) ToGooglePrivacyDlpV2Clou return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CloudStorageRegexFileSetOutput) } +func (i GooglePrivacyDlpV2CloudStorageRegexFileSetArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageRegexFileSet] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageRegexFileSet]{ + OutputState: i.ToGooglePrivacyDlpV2CloudStorageRegexFileSetOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2CloudStorageRegexFileSetArgs) ToGooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutput() GooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutput { return i.ToGooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutputWithContext(context.Background()) } @@ -3365,6 +3882,12 @@ func (i *googlePrivacyDlpV2CloudStorageRegexFileSetPtrType) ToGooglePrivacyDlpV2 return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutput) } +func (i *googlePrivacyDlpV2CloudStorageRegexFileSetPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStorageRegexFileSet] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStorageRegexFileSet]{ + OutputState: i.ToGooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutputWithContext(ctx).OutputState, + } +} + // Message representing a set of files in a Cloud Storage bucket. Regular expressions are used to allow fine-grained control over which files in the bucket to include. Included files are those that match at least one item in `include_regex` and do not match any items in `exclude_regex`. Note that a file that matches items from both lists will _not_ be included. For a match to occur, the entire file path (i.e., everything in the url after the bucket name) must match the regular expression. For example, given the input `{bucket_name: "mybucket", include_regex: ["directory1/.*"], exclude_regex: ["directory1/excluded.*"]}`: * `gs://mybucket/directory1/myfile` will be included * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches across `/`) * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the full path doesn't match any items in `include_regex`) * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path matches an item in `exclude_regex`) If `include_regex` is left empty, it will match all files by default (this is equivalent to setting `include_regex: [".*"]`). Some other common use cases: * `{bucket_name: "mybucket", exclude_regex: [".*\.pdf"]}` will include all files in `mybucket` except for .pdf files * `{bucket_name: "mybucket", include_regex: ["directory/[^/]+"]}` will include all files directly under `gs://mybucket/directory/`, without matching across `/` type GooglePrivacyDlpV2CloudStorageRegexFileSetOutput struct{ *pulumi.OutputState } @@ -3390,6 +3913,12 @@ func (o GooglePrivacyDlpV2CloudStorageRegexFileSetOutput) ToGooglePrivacyDlpV2Cl }).(GooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutput) } +func (o GooglePrivacyDlpV2CloudStorageRegexFileSetOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageRegexFileSet] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageRegexFileSet]{ + OutputState: o.OutputState, + } +} + // The name of a Cloud Storage bucket. Required. func (o GooglePrivacyDlpV2CloudStorageRegexFileSetOutput) BucketName() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CloudStorageRegexFileSet) *string { return v.BucketName }).(pulumi.StringPtrOutput) @@ -3419,6 +3948,12 @@ func (o GooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CloudStorageRegexFileSet] { + return pulumix.Output[*GooglePrivacyDlpV2CloudStorageRegexFileSet]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutput) Elem() GooglePrivacyDlpV2CloudStorageRegexFileSetOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CloudStorageRegexFileSet) GooglePrivacyDlpV2CloudStorageRegexFileSet { if v != nil { @@ -3484,6 +4019,12 @@ func (o GooglePrivacyDlpV2CloudStorageRegexFileSetResponseOutput) ToGooglePrivac return o } +func (o GooglePrivacyDlpV2CloudStorageRegexFileSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CloudStorageRegexFileSetResponse] { + return pulumix.Output[GooglePrivacyDlpV2CloudStorageRegexFileSetResponse]{ + OutputState: o.OutputState, + } +} + // The name of a Cloud Storage bucket. Required. func (o GooglePrivacyDlpV2CloudStorageRegexFileSetResponseOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CloudStorageRegexFileSetResponse) string { return v.BucketName }).(pulumi.StringOutput) @@ -3542,6 +4083,12 @@ func (i GooglePrivacyDlpV2ColorArgs) ToGooglePrivacyDlpV2ColorOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ColorOutput) } +func (i GooglePrivacyDlpV2ColorArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Color] { + return pulumix.Output[GooglePrivacyDlpV2Color]{ + OutputState: i.ToGooglePrivacyDlpV2ColorOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ColorArgs) ToGooglePrivacyDlpV2ColorPtrOutput() GooglePrivacyDlpV2ColorPtrOutput { return i.ToGooglePrivacyDlpV2ColorPtrOutputWithContext(context.Background()) } @@ -3583,6 +4130,12 @@ func (i *googlePrivacyDlpV2ColorPtrType) ToGooglePrivacyDlpV2ColorPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ColorPtrOutput) } +func (i *googlePrivacyDlpV2ColorPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Color] { + return pulumix.Output[*GooglePrivacyDlpV2Color]{ + OutputState: i.ToGooglePrivacyDlpV2ColorPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a color in the RGB color space. type GooglePrivacyDlpV2ColorOutput struct{ *pulumi.OutputState } @@ -3608,6 +4161,12 @@ func (o GooglePrivacyDlpV2ColorOutput) ToGooglePrivacyDlpV2ColorPtrOutputWithCon }).(GooglePrivacyDlpV2ColorPtrOutput) } +func (o GooglePrivacyDlpV2ColorOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Color] { + return pulumix.Output[GooglePrivacyDlpV2Color]{ + OutputState: o.OutputState, + } +} + // The amount of blue in the color as a value in the interval [0, 1]. func (o GooglePrivacyDlpV2ColorOutput) Blue() pulumi.Float64PtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Color) *float64 { return v.Blue }).(pulumi.Float64PtrOutput) @@ -3637,6 +4196,12 @@ func (o GooglePrivacyDlpV2ColorPtrOutput) ToGooglePrivacyDlpV2ColorPtrOutputWith return o } +func (o GooglePrivacyDlpV2ColorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Color] { + return pulumix.Output[*GooglePrivacyDlpV2Color]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ColorPtrOutput) Elem() GooglePrivacyDlpV2ColorOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2Color) GooglePrivacyDlpV2Color { if v != nil { @@ -3702,6 +4267,12 @@ func (o GooglePrivacyDlpV2ColorResponseOutput) ToGooglePrivacyDlpV2ColorResponse return o } +func (o GooglePrivacyDlpV2ColorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ColorResponse] { + return pulumix.Output[GooglePrivacyDlpV2ColorResponse]{ + OutputState: o.OutputState, + } +} + // The amount of blue in the color as a value in the interval [0, 1]. func (o GooglePrivacyDlpV2ColorResponseOutput) Blue() pulumi.Float64Output { return o.ApplyT(func(v GooglePrivacyDlpV2ColorResponse) float64 { return v.Blue }).(pulumi.Float64Output) @@ -3760,6 +4331,12 @@ func (i GooglePrivacyDlpV2ConditionArgs) ToGooglePrivacyDlpV2ConditionOutputWith return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ConditionOutput) } +func (i GooglePrivacyDlpV2ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Condition] { + return pulumix.Output[GooglePrivacyDlpV2Condition]{ + OutputState: i.ToGooglePrivacyDlpV2ConditionOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2ConditionArrayInput is an input type that accepts GooglePrivacyDlpV2ConditionArray and GooglePrivacyDlpV2ConditionArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2ConditionArrayInput` via: // @@ -3785,6 +4362,12 @@ func (i GooglePrivacyDlpV2ConditionArray) ToGooglePrivacyDlpV2ConditionArrayOutp return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ConditionArrayOutput) } +func (i GooglePrivacyDlpV2ConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2Condition] { + return pulumix.Output[[]GooglePrivacyDlpV2Condition]{ + OutputState: i.ToGooglePrivacyDlpV2ConditionArrayOutputWithContext(ctx).OutputState, + } +} + // The field type of `value` and `field` do not need to match to be considered equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A `value` of type: - `string` can be compared against all other types - `boolean` can only be compared against other booleans - `integer` can be compared against doubles or a string if the string value can be parsed as an integer. - `double` can be compared against integers or a string if the string can be parsed as a double. - `Timestamp` can be compared against strings in RFC 3339 date string format. - `TimeOfDay` can be compared against timestamps and strings in the format of 'HH:mm:ss'. If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false. type GooglePrivacyDlpV2ConditionOutput struct{ *pulumi.OutputState } @@ -3800,6 +4383,12 @@ func (o GooglePrivacyDlpV2ConditionOutput) ToGooglePrivacyDlpV2ConditionOutputWi return o } +func (o GooglePrivacyDlpV2ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Condition] { + return pulumix.Output[GooglePrivacyDlpV2Condition]{ + OutputState: o.OutputState, + } +} + // Field within the record this condition is evaluated against. func (o GooglePrivacyDlpV2ConditionOutput) Field() GooglePrivacyDlpV2FieldIdOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Condition) GooglePrivacyDlpV2FieldId { return v.Field }).(GooglePrivacyDlpV2FieldIdOutput) @@ -3829,6 +4418,12 @@ func (o GooglePrivacyDlpV2ConditionArrayOutput) ToGooglePrivacyDlpV2ConditionArr return o } +func (o GooglePrivacyDlpV2ConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2Condition] { + return pulumix.Output[[]GooglePrivacyDlpV2Condition]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ConditionArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2ConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2Condition { return vs[0].([]GooglePrivacyDlpV2Condition)[vs[1].(int)] @@ -3860,6 +4455,12 @@ func (o GooglePrivacyDlpV2ConditionResponseOutput) ToGooglePrivacyDlpV2Condition return o } +func (o GooglePrivacyDlpV2ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ConditionResponse] { + return pulumix.Output[GooglePrivacyDlpV2ConditionResponse]{ + OutputState: o.OutputState, + } +} + // Field within the record this condition is evaluated against. func (o GooglePrivacyDlpV2ConditionResponseOutput) Field() GooglePrivacyDlpV2FieldIdResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ConditionResponse) GooglePrivacyDlpV2FieldIdResponse { return v.Field }).(GooglePrivacyDlpV2FieldIdResponseOutput) @@ -3889,6 +4490,12 @@ func (o GooglePrivacyDlpV2ConditionResponseArrayOutput) ToGooglePrivacyDlpV2Cond return o } +func (o GooglePrivacyDlpV2ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2ConditionResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ConditionResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2ConditionResponse { return vs[0].([]GooglePrivacyDlpV2ConditionResponse)[vs[1].(int)] @@ -3930,6 +4537,12 @@ func (i GooglePrivacyDlpV2ConditionsArgs) ToGooglePrivacyDlpV2ConditionsOutputWi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ConditionsOutput) } +func (i GooglePrivacyDlpV2ConditionsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Conditions] { + return pulumix.Output[GooglePrivacyDlpV2Conditions]{ + OutputState: i.ToGooglePrivacyDlpV2ConditionsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ConditionsArgs) ToGooglePrivacyDlpV2ConditionsPtrOutput() GooglePrivacyDlpV2ConditionsPtrOutput { return i.ToGooglePrivacyDlpV2ConditionsPtrOutputWithContext(context.Background()) } @@ -3971,6 +4584,12 @@ func (i *googlePrivacyDlpV2ConditionsPtrType) ToGooglePrivacyDlpV2ConditionsPtrO return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ConditionsPtrOutput) } +func (i *googlePrivacyDlpV2ConditionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Conditions] { + return pulumix.Output[*GooglePrivacyDlpV2Conditions]{ + OutputState: i.ToGooglePrivacyDlpV2ConditionsPtrOutputWithContext(ctx).OutputState, + } +} + // A collection of conditions. type GooglePrivacyDlpV2ConditionsOutput struct{ *pulumi.OutputState } @@ -3996,6 +4615,12 @@ func (o GooglePrivacyDlpV2ConditionsOutput) ToGooglePrivacyDlpV2ConditionsPtrOut }).(GooglePrivacyDlpV2ConditionsPtrOutput) } +func (o GooglePrivacyDlpV2ConditionsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Conditions] { + return pulumix.Output[GooglePrivacyDlpV2Conditions]{ + OutputState: o.OutputState, + } +} + // A collection of conditions. func (o GooglePrivacyDlpV2ConditionsOutput) Conditions() GooglePrivacyDlpV2ConditionArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Conditions) []GooglePrivacyDlpV2Condition { return v.Conditions }).(GooglePrivacyDlpV2ConditionArrayOutput) @@ -4015,6 +4640,12 @@ func (o GooglePrivacyDlpV2ConditionsPtrOutput) ToGooglePrivacyDlpV2ConditionsPtr return o } +func (o GooglePrivacyDlpV2ConditionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Conditions] { + return pulumix.Output[*GooglePrivacyDlpV2Conditions]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ConditionsPtrOutput) Elem() GooglePrivacyDlpV2ConditionsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2Conditions) GooglePrivacyDlpV2Conditions { if v != nil { @@ -4056,6 +4687,12 @@ func (o GooglePrivacyDlpV2ConditionsResponseOutput) ToGooglePrivacyDlpV2Conditio return o } +func (o GooglePrivacyDlpV2ConditionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ConditionsResponse] { + return pulumix.Output[GooglePrivacyDlpV2ConditionsResponse]{ + OutputState: o.OutputState, + } +} + // A collection of conditions. func (o GooglePrivacyDlpV2ConditionsResponseOutput) Conditions() GooglePrivacyDlpV2ConditionResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ConditionsResponse) []GooglePrivacyDlpV2ConditionResponse { @@ -4106,6 +4743,12 @@ func (i GooglePrivacyDlpV2CryptoDeterministicConfigArgs) ToGooglePrivacyDlpV2Cry return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CryptoDeterministicConfigOutput) } +func (i GooglePrivacyDlpV2CryptoDeterministicConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoDeterministicConfig] { + return pulumix.Output[GooglePrivacyDlpV2CryptoDeterministicConfig]{ + OutputState: i.ToGooglePrivacyDlpV2CryptoDeterministicConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2CryptoDeterministicConfigArgs) ToGooglePrivacyDlpV2CryptoDeterministicConfigPtrOutput() GooglePrivacyDlpV2CryptoDeterministicConfigPtrOutput { return i.ToGooglePrivacyDlpV2CryptoDeterministicConfigPtrOutputWithContext(context.Background()) } @@ -4147,6 +4790,12 @@ func (i *googlePrivacyDlpV2CryptoDeterministicConfigPtrType) ToGooglePrivacyDlpV return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CryptoDeterministicConfigPtrOutput) } +func (i *googlePrivacyDlpV2CryptoDeterministicConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CryptoDeterministicConfig] { + return pulumix.Output[*GooglePrivacyDlpV2CryptoDeterministicConfig]{ + OutputState: i.ToGooglePrivacyDlpV2CryptoDeterministicConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Pseudonymization method that generates deterministic encryption for the given input. Outputs a base64 encoded representation of the encrypted output. Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297. type GooglePrivacyDlpV2CryptoDeterministicConfigOutput struct{ *pulumi.OutputState } @@ -4172,6 +4821,12 @@ func (o GooglePrivacyDlpV2CryptoDeterministicConfigOutput) ToGooglePrivacyDlpV2C }).(GooglePrivacyDlpV2CryptoDeterministicConfigPtrOutput) } +func (o GooglePrivacyDlpV2CryptoDeterministicConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoDeterministicConfig] { + return pulumix.Output[GooglePrivacyDlpV2CryptoDeterministicConfig]{ + OutputState: o.OutputState, + } +} + // A context may be used for higher security and maintaining referential integrity such that the same identifier in two different contexts will be given a distinct surrogate. The context is appended to plaintext value being encrypted. On decryption the provided context is validated against the value used during encryption. If a context was provided during encryption, same context must be provided during decryption as well. If the context is not set, plaintext would be used as is for encryption. If the context is set but: 1. there is no record present when transforming a given value or 2. the field is not present when transforming a given value, plaintext would be used as is for encryption. Note that case (1) is expected when an `InfoTypeTransformation` is applied to both structured and unstructured `ContentItem`s. func (o GooglePrivacyDlpV2CryptoDeterministicConfigOutput) Context() GooglePrivacyDlpV2FieldIdPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CryptoDeterministicConfig) *GooglePrivacyDlpV2FieldId { return v.Context }).(GooglePrivacyDlpV2FieldIdPtrOutput) @@ -4203,6 +4858,12 @@ func (o GooglePrivacyDlpV2CryptoDeterministicConfigPtrOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2CryptoDeterministicConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CryptoDeterministicConfig] { + return pulumix.Output[*GooglePrivacyDlpV2CryptoDeterministicConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CryptoDeterministicConfigPtrOutput) Elem() GooglePrivacyDlpV2CryptoDeterministicConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CryptoDeterministicConfig) GooglePrivacyDlpV2CryptoDeterministicConfig { if v != nil { @@ -4268,6 +4929,12 @@ func (o GooglePrivacyDlpV2CryptoDeterministicConfigResponseOutput) ToGooglePriva return o } +func (o GooglePrivacyDlpV2CryptoDeterministicConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoDeterministicConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2CryptoDeterministicConfigResponse]{ + OutputState: o.OutputState, + } +} + // A context may be used for higher security and maintaining referential integrity such that the same identifier in two different contexts will be given a distinct surrogate. The context is appended to plaintext value being encrypted. On decryption the provided context is validated against the value used during encryption. If a context was provided during encryption, same context must be provided during decryption as well. If the context is not set, plaintext would be used as is for encryption. If the context is set but: 1. there is no record present when transforming a given value or 2. the field is not present when transforming a given value, plaintext would be used as is for encryption. Note that case (1) is expected when an `InfoTypeTransformation` is applied to both structured and unstructured `ContentItem`s. func (o GooglePrivacyDlpV2CryptoDeterministicConfigResponseOutput) Context() GooglePrivacyDlpV2FieldIdResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CryptoDeterministicConfigResponse) GooglePrivacyDlpV2FieldIdResponse { @@ -4324,6 +4991,12 @@ func (i GooglePrivacyDlpV2CryptoHashConfigArgs) ToGooglePrivacyDlpV2CryptoHashCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CryptoHashConfigOutput) } +func (i GooglePrivacyDlpV2CryptoHashConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoHashConfig] { + return pulumix.Output[GooglePrivacyDlpV2CryptoHashConfig]{ + OutputState: i.ToGooglePrivacyDlpV2CryptoHashConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2CryptoHashConfigArgs) ToGooglePrivacyDlpV2CryptoHashConfigPtrOutput() GooglePrivacyDlpV2CryptoHashConfigPtrOutput { return i.ToGooglePrivacyDlpV2CryptoHashConfigPtrOutputWithContext(context.Background()) } @@ -4365,6 +5038,12 @@ func (i *googlePrivacyDlpV2CryptoHashConfigPtrType) ToGooglePrivacyDlpV2CryptoHa return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CryptoHashConfigPtrOutput) } +func (i *googlePrivacyDlpV2CryptoHashConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CryptoHashConfig] { + return pulumix.Output[*GooglePrivacyDlpV2CryptoHashConfig]{ + OutputState: i.ToGooglePrivacyDlpV2CryptoHashConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64 encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and integer values can be hashed. See https://cloud.google.com/dlp/docs/pseudonymization to learn more. type GooglePrivacyDlpV2CryptoHashConfigOutput struct{ *pulumi.OutputState } @@ -4390,6 +5069,12 @@ func (o GooglePrivacyDlpV2CryptoHashConfigOutput) ToGooglePrivacyDlpV2CryptoHash }).(GooglePrivacyDlpV2CryptoHashConfigPtrOutput) } +func (o GooglePrivacyDlpV2CryptoHashConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoHashConfig] { + return pulumix.Output[GooglePrivacyDlpV2CryptoHashConfig]{ + OutputState: o.OutputState, + } +} + // The key used by the hash function. func (o GooglePrivacyDlpV2CryptoHashConfigOutput) CryptoKey() GooglePrivacyDlpV2CryptoKeyPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CryptoHashConfig) *GooglePrivacyDlpV2CryptoKey { return v.CryptoKey }).(GooglePrivacyDlpV2CryptoKeyPtrOutput) @@ -4409,6 +5094,12 @@ func (o GooglePrivacyDlpV2CryptoHashConfigPtrOutput) ToGooglePrivacyDlpV2CryptoH return o } +func (o GooglePrivacyDlpV2CryptoHashConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CryptoHashConfig] { + return pulumix.Output[*GooglePrivacyDlpV2CryptoHashConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CryptoHashConfigPtrOutput) Elem() GooglePrivacyDlpV2CryptoHashConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CryptoHashConfig) GooglePrivacyDlpV2CryptoHashConfig { if v != nil { @@ -4450,6 +5141,12 @@ func (o GooglePrivacyDlpV2CryptoHashConfigResponseOutput) ToGooglePrivacyDlpV2Cr return o } +func (o GooglePrivacyDlpV2CryptoHashConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoHashConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2CryptoHashConfigResponse]{ + OutputState: o.OutputState, + } +} + // The key used by the hash function. func (o GooglePrivacyDlpV2CryptoHashConfigResponseOutput) CryptoKey() GooglePrivacyDlpV2CryptoKeyResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CryptoHashConfigResponse) GooglePrivacyDlpV2CryptoKeyResponse { @@ -4500,6 +5197,12 @@ func (i GooglePrivacyDlpV2CryptoKeyArgs) ToGooglePrivacyDlpV2CryptoKeyOutputWith return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CryptoKeyOutput) } +func (i GooglePrivacyDlpV2CryptoKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoKey] { + return pulumix.Output[GooglePrivacyDlpV2CryptoKey]{ + OutputState: i.ToGooglePrivacyDlpV2CryptoKeyOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2CryptoKeyArgs) ToGooglePrivacyDlpV2CryptoKeyPtrOutput() GooglePrivacyDlpV2CryptoKeyPtrOutput { return i.ToGooglePrivacyDlpV2CryptoKeyPtrOutputWithContext(context.Background()) } @@ -4541,6 +5244,12 @@ func (i *googlePrivacyDlpV2CryptoKeyPtrType) ToGooglePrivacyDlpV2CryptoKeyPtrOut return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CryptoKeyPtrOutput) } +func (i *googlePrivacyDlpV2CryptoKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CryptoKey] { + return pulumix.Output[*GooglePrivacyDlpV2CryptoKey]{ + OutputState: i.ToGooglePrivacyDlpV2CryptoKeyPtrOutputWithContext(ctx).OutputState, + } +} + // This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK. type GooglePrivacyDlpV2CryptoKeyOutput struct{ *pulumi.OutputState } @@ -4566,6 +5275,12 @@ func (o GooglePrivacyDlpV2CryptoKeyOutput) ToGooglePrivacyDlpV2CryptoKeyPtrOutpu }).(GooglePrivacyDlpV2CryptoKeyPtrOutput) } +func (o GooglePrivacyDlpV2CryptoKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoKey] { + return pulumix.Output[GooglePrivacyDlpV2CryptoKey]{ + OutputState: o.OutputState, + } +} + // Key wrapped using Cloud KMS func (o GooglePrivacyDlpV2CryptoKeyOutput) KmsWrapped() GooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CryptoKey) *GooglePrivacyDlpV2KmsWrappedCryptoKey { return v.KmsWrapped }).(GooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutput) @@ -4595,6 +5310,12 @@ func (o GooglePrivacyDlpV2CryptoKeyPtrOutput) ToGooglePrivacyDlpV2CryptoKeyPtrOu return o } +func (o GooglePrivacyDlpV2CryptoKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CryptoKey] { + return pulumix.Output[*GooglePrivacyDlpV2CryptoKey]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CryptoKeyPtrOutput) Elem() GooglePrivacyDlpV2CryptoKeyOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CryptoKey) GooglePrivacyDlpV2CryptoKey { if v != nil { @@ -4660,6 +5381,12 @@ func (o GooglePrivacyDlpV2CryptoKeyResponseOutput) ToGooglePrivacyDlpV2CryptoKey return o } +func (o GooglePrivacyDlpV2CryptoKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoKeyResponse] { + return pulumix.Output[GooglePrivacyDlpV2CryptoKeyResponse]{ + OutputState: o.OutputState, + } +} + // Key wrapped using Cloud KMS func (o GooglePrivacyDlpV2CryptoKeyResponseOutput) KmsWrapped() GooglePrivacyDlpV2KmsWrappedCryptoKeyResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CryptoKeyResponse) GooglePrivacyDlpV2KmsWrappedCryptoKeyResponse { @@ -4736,6 +5463,12 @@ func (i GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs) ToGooglePrivacyDlpV2Cry return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigOutput) } +func (i GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig] { + return pulumix.Output[GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig]{ + OutputState: i.ToGooglePrivacyDlpV2CryptoReplaceFfxFpeConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigArgs) ToGooglePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrOutput() GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrOutput { return i.ToGooglePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrOutputWithContext(context.Background()) } @@ -4777,6 +5510,12 @@ func (i *googlePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrType) ToGooglePrivacyDlpV return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrOutput) } +func (i *googlePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig] { + return pulumix.Output[*GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig]{ + OutputState: i.ToGooglePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Replaces an identifier with a surrogate using Format Preserving Encryption (FPE) with the FFX mode of operation; however when used in the `ReidentifyContent` API method, it serves the opposite function by reversing the surrogate back into the original identifier. The identifier must be encoded as ASCII. For a given crypto key and context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn more. Note: We recommend using CryptoDeterministicConfig for all use cases which do not require preserving the input alphabet space and size, plus warrant referential integrity. type GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigOutput struct{ *pulumi.OutputState } @@ -4802,6 +5541,12 @@ func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigOutput) ToGooglePrivacyDlpV2C }).(GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrOutput) } +func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig] { + return pulumix.Output[GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig]{ + OutputState: o.OutputState, + } +} + // Common alphabets. func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigOutput) CommonAlphabet() GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabetPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig) *GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet { @@ -4850,6 +5595,12 @@ func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig] { + return pulumix.Output[*GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigPtrOutput) Elem() GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig) GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig { if v != nil { @@ -4951,6 +5702,12 @@ func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigResponseOutput) ToGooglePriva return o } +func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Common alphabets. func (o GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigResponseOutput) CommonAlphabet() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigResponse) string { return v.CommonAlphabet }).(pulumi.StringOutput) @@ -5054,6 +5811,12 @@ func (i GooglePrivacyDlpV2CustomInfoTypeArgs) ToGooglePrivacyDlpV2CustomInfoType return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CustomInfoTypeOutput) } +func (i GooglePrivacyDlpV2CustomInfoTypeArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CustomInfoType] { + return pulumix.Output[GooglePrivacyDlpV2CustomInfoType]{ + OutputState: i.ToGooglePrivacyDlpV2CustomInfoTypeOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2CustomInfoTypeArrayInput is an input type that accepts GooglePrivacyDlpV2CustomInfoTypeArray and GooglePrivacyDlpV2CustomInfoTypeArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2CustomInfoTypeArrayInput` via: // @@ -5079,6 +5842,12 @@ func (i GooglePrivacyDlpV2CustomInfoTypeArray) ToGooglePrivacyDlpV2CustomInfoTyp return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2CustomInfoTypeArrayOutput) } +func (i GooglePrivacyDlpV2CustomInfoTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2CustomInfoType] { + return pulumix.Output[[]GooglePrivacyDlpV2CustomInfoType]{ + OutputState: i.ToGooglePrivacyDlpV2CustomInfoTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question. type GooglePrivacyDlpV2CustomInfoTypeOutput struct{ *pulumi.OutputState } @@ -5094,6 +5863,12 @@ func (o GooglePrivacyDlpV2CustomInfoTypeOutput) ToGooglePrivacyDlpV2CustomInfoTy return o } +func (o GooglePrivacyDlpV2CustomInfoTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CustomInfoType] { + return pulumix.Output[GooglePrivacyDlpV2CustomInfoType]{ + OutputState: o.OutputState, + } +} + // Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType. func (o GooglePrivacyDlpV2CustomInfoTypeOutput) DetectionRules() GooglePrivacyDlpV2DetectionRuleArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CustomInfoType) []GooglePrivacyDlpV2DetectionRule { return v.DetectionRules }).(GooglePrivacyDlpV2DetectionRuleArrayOutput) @@ -5159,6 +5934,12 @@ func (o GooglePrivacyDlpV2CustomInfoTypeArrayOutput) ToGooglePrivacyDlpV2CustomI return o } +func (o GooglePrivacyDlpV2CustomInfoTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2CustomInfoType] { + return pulumix.Output[[]GooglePrivacyDlpV2CustomInfoType]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CustomInfoTypeArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2CustomInfoTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2CustomInfoType { return vs[0].([]GooglePrivacyDlpV2CustomInfoType)[vs[1].(int)] @@ -5202,6 +5983,12 @@ func (o GooglePrivacyDlpV2CustomInfoTypeResponseOutput) ToGooglePrivacyDlpV2Cust return o } +func (o GooglePrivacyDlpV2CustomInfoTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2CustomInfoTypeResponse] { + return pulumix.Output[GooglePrivacyDlpV2CustomInfoTypeResponse]{ + OutputState: o.OutputState, + } +} + // Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the `surrogate_type` CustomInfoType. func (o GooglePrivacyDlpV2CustomInfoTypeResponseOutput) DetectionRules() GooglePrivacyDlpV2DetectionRuleResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2CustomInfoTypeResponse) []GooglePrivacyDlpV2DetectionRuleResponse { @@ -5271,6 +6058,12 @@ func (o GooglePrivacyDlpV2CustomInfoTypeResponseArrayOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2CustomInfoTypeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2CustomInfoTypeResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2CustomInfoTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2CustomInfoTypeResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2CustomInfoTypeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2CustomInfoTypeResponse { return vs[0].([]GooglePrivacyDlpV2CustomInfoTypeResponse)[vs[1].(int)] @@ -5316,6 +6109,12 @@ func (i GooglePrivacyDlpV2DatastoreOptionsArgs) ToGooglePrivacyDlpV2DatastoreOpt return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DatastoreOptionsOutput) } +func (i GooglePrivacyDlpV2DatastoreOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DatastoreOptions] { + return pulumix.Output[GooglePrivacyDlpV2DatastoreOptions]{ + OutputState: i.ToGooglePrivacyDlpV2DatastoreOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2DatastoreOptionsArgs) ToGooglePrivacyDlpV2DatastoreOptionsPtrOutput() GooglePrivacyDlpV2DatastoreOptionsPtrOutput { return i.ToGooglePrivacyDlpV2DatastoreOptionsPtrOutputWithContext(context.Background()) } @@ -5357,6 +6156,12 @@ func (i *googlePrivacyDlpV2DatastoreOptionsPtrType) ToGooglePrivacyDlpV2Datastor return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DatastoreOptionsPtrOutput) } +func (i *googlePrivacyDlpV2DatastoreOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2DatastoreOptions] { + return pulumix.Output[*GooglePrivacyDlpV2DatastoreOptions]{ + OutputState: i.ToGooglePrivacyDlpV2DatastoreOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options defining a data set within Google Cloud Datastore. type GooglePrivacyDlpV2DatastoreOptionsOutput struct{ *pulumi.OutputState } @@ -5382,6 +6187,12 @@ func (o GooglePrivacyDlpV2DatastoreOptionsOutput) ToGooglePrivacyDlpV2DatastoreO }).(GooglePrivacyDlpV2DatastoreOptionsPtrOutput) } +func (o GooglePrivacyDlpV2DatastoreOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DatastoreOptions] { + return pulumix.Output[GooglePrivacyDlpV2DatastoreOptions]{ + OutputState: o.OutputState, + } +} + // The kind to process. func (o GooglePrivacyDlpV2DatastoreOptionsOutput) Kind() GooglePrivacyDlpV2KindExpressionPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DatastoreOptions) *GooglePrivacyDlpV2KindExpression { return v.Kind }).(GooglePrivacyDlpV2KindExpressionPtrOutput) @@ -5406,6 +6217,12 @@ func (o GooglePrivacyDlpV2DatastoreOptionsPtrOutput) ToGooglePrivacyDlpV2Datasto return o } +func (o GooglePrivacyDlpV2DatastoreOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2DatastoreOptions] { + return pulumix.Output[*GooglePrivacyDlpV2DatastoreOptions]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DatastoreOptionsPtrOutput) Elem() GooglePrivacyDlpV2DatastoreOptionsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2DatastoreOptions) GooglePrivacyDlpV2DatastoreOptions { if v != nil { @@ -5459,6 +6276,12 @@ func (o GooglePrivacyDlpV2DatastoreOptionsResponseOutput) ToGooglePrivacyDlpV2Da return o } +func (o GooglePrivacyDlpV2DatastoreOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DatastoreOptionsResponse] { + return pulumix.Output[GooglePrivacyDlpV2DatastoreOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The kind to process. func (o GooglePrivacyDlpV2DatastoreOptionsResponseOutput) Kind() GooglePrivacyDlpV2KindExpressionResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DatastoreOptionsResponse) GooglePrivacyDlpV2KindExpressionResponse { @@ -5520,6 +6343,12 @@ func (i GooglePrivacyDlpV2DateShiftConfigArgs) ToGooglePrivacyDlpV2DateShiftConf return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DateShiftConfigOutput) } +func (i GooglePrivacyDlpV2DateShiftConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DateShiftConfig] { + return pulumix.Output[GooglePrivacyDlpV2DateShiftConfig]{ + OutputState: i.ToGooglePrivacyDlpV2DateShiftConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2DateShiftConfigArgs) ToGooglePrivacyDlpV2DateShiftConfigPtrOutput() GooglePrivacyDlpV2DateShiftConfigPtrOutput { return i.ToGooglePrivacyDlpV2DateShiftConfigPtrOutputWithContext(context.Background()) } @@ -5561,6 +6390,12 @@ func (i *googlePrivacyDlpV2DateShiftConfigPtrType) ToGooglePrivacyDlpV2DateShift return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DateShiftConfigPtrOutput) } +func (i *googlePrivacyDlpV2DateShiftConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2DateShiftConfig] { + return pulumix.Output[*GooglePrivacyDlpV2DateShiftConfig]{ + OutputState: i.ToGooglePrivacyDlpV2DateShiftConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Shifts dates by random number of days, with option to be consistent for the same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting to learn more. type GooglePrivacyDlpV2DateShiftConfigOutput struct{ *pulumi.OutputState } @@ -5586,6 +6421,12 @@ func (o GooglePrivacyDlpV2DateShiftConfigOutput) ToGooglePrivacyDlpV2DateShiftCo }).(GooglePrivacyDlpV2DateShiftConfigPtrOutput) } +func (o GooglePrivacyDlpV2DateShiftConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DateShiftConfig] { + return pulumix.Output[GooglePrivacyDlpV2DateShiftConfig]{ + OutputState: o.OutputState, + } +} + // Points to the field that contains the context, for example, an entity id. If set, must also set cryptoKey. If set, shift will be consistent for the given context. func (o GooglePrivacyDlpV2DateShiftConfigOutput) Context() GooglePrivacyDlpV2FieldIdPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DateShiftConfig) *GooglePrivacyDlpV2FieldId { return v.Context }).(GooglePrivacyDlpV2FieldIdPtrOutput) @@ -5620,6 +6461,12 @@ func (o GooglePrivacyDlpV2DateShiftConfigPtrOutput) ToGooglePrivacyDlpV2DateShif return o } +func (o GooglePrivacyDlpV2DateShiftConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2DateShiftConfig] { + return pulumix.Output[*GooglePrivacyDlpV2DateShiftConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DateShiftConfigPtrOutput) Elem() GooglePrivacyDlpV2DateShiftConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2DateShiftConfig) GooglePrivacyDlpV2DateShiftConfig { if v != nil { @@ -5697,6 +6544,12 @@ func (o GooglePrivacyDlpV2DateShiftConfigResponseOutput) ToGooglePrivacyDlpV2Dat return o } +func (o GooglePrivacyDlpV2DateShiftConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DateShiftConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2DateShiftConfigResponse]{ + OutputState: o.OutputState, + } +} + // Points to the field that contains the context, for example, an entity id. If set, must also set cryptoKey. If set, shift will be consistent for the given context. func (o GooglePrivacyDlpV2DateShiftConfigResponseOutput) Context() GooglePrivacyDlpV2FieldIdResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DateShiftConfigResponse) GooglePrivacyDlpV2FieldIdResponse { return v.Context }).(GooglePrivacyDlpV2FieldIdResponseOutput) @@ -5766,6 +6619,12 @@ func (i GooglePrivacyDlpV2DeidentifyArgs) ToGooglePrivacyDlpV2DeidentifyOutputWi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DeidentifyOutput) } +func (i GooglePrivacyDlpV2DeidentifyArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Deidentify] { + return pulumix.Output[GooglePrivacyDlpV2Deidentify]{ + OutputState: i.ToGooglePrivacyDlpV2DeidentifyOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2DeidentifyArgs) ToGooglePrivacyDlpV2DeidentifyPtrOutput() GooglePrivacyDlpV2DeidentifyPtrOutput { return i.ToGooglePrivacyDlpV2DeidentifyPtrOutputWithContext(context.Background()) } @@ -5807,6 +6666,12 @@ func (i *googlePrivacyDlpV2DeidentifyPtrType) ToGooglePrivacyDlpV2DeidentifyPtrO return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DeidentifyPtrOutput) } +func (i *googlePrivacyDlpV2DeidentifyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Deidentify] { + return pulumix.Output[*GooglePrivacyDlpV2Deidentify]{ + OutputState: i.ToGooglePrivacyDlpV2DeidentifyPtrOutputWithContext(ctx).OutputState, + } +} + // Create a de-identified copy of the requested table or files. A TransformationDetail will be created for each transformation. If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big_query_output.deidentified_failure_output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table. Compatible with: Inspect type GooglePrivacyDlpV2DeidentifyOutput struct{ *pulumi.OutputState } @@ -5832,6 +6697,12 @@ func (o GooglePrivacyDlpV2DeidentifyOutput) ToGooglePrivacyDlpV2DeidentifyPtrOut }).(GooglePrivacyDlpV2DeidentifyPtrOutput) } +func (o GooglePrivacyDlpV2DeidentifyOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Deidentify] { + return pulumix.Output[GooglePrivacyDlpV2Deidentify]{ + OutputState: o.OutputState, + } +} + // User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket func (o GooglePrivacyDlpV2DeidentifyOutput) CloudStorageOutput() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Deidentify) string { return v.CloudStorageOutput }).(pulumi.StringOutput) @@ -5872,6 +6743,12 @@ func (o GooglePrivacyDlpV2DeidentifyPtrOutput) ToGooglePrivacyDlpV2DeidentifyPtr return o } +func (o GooglePrivacyDlpV2DeidentifyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Deidentify] { + return pulumix.Output[*GooglePrivacyDlpV2Deidentify]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DeidentifyPtrOutput) Elem() GooglePrivacyDlpV2DeidentifyOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2Deidentify) GooglePrivacyDlpV2Deidentify { if v != nil { @@ -5969,6 +6846,12 @@ func (i GooglePrivacyDlpV2DeidentifyConfigArgs) ToGooglePrivacyDlpV2DeidentifyCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DeidentifyConfigOutput) } +func (i GooglePrivacyDlpV2DeidentifyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeidentifyConfig] { + return pulumix.Output[GooglePrivacyDlpV2DeidentifyConfig]{ + OutputState: i.ToGooglePrivacyDlpV2DeidentifyConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2DeidentifyConfigArgs) ToGooglePrivacyDlpV2DeidentifyConfigPtrOutput() GooglePrivacyDlpV2DeidentifyConfigPtrOutput { return i.ToGooglePrivacyDlpV2DeidentifyConfigPtrOutputWithContext(context.Background()) } @@ -6010,6 +6893,12 @@ func (i *googlePrivacyDlpV2DeidentifyConfigPtrType) ToGooglePrivacyDlpV2Deidenti return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DeidentifyConfigPtrOutput) } +func (i *googlePrivacyDlpV2DeidentifyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2DeidentifyConfig] { + return pulumix.Output[*GooglePrivacyDlpV2DeidentifyConfig]{ + OutputState: i.ToGooglePrivacyDlpV2DeidentifyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration that controls how the data will change. type GooglePrivacyDlpV2DeidentifyConfigOutput struct{ *pulumi.OutputState } @@ -6035,6 +6924,12 @@ func (o GooglePrivacyDlpV2DeidentifyConfigOutput) ToGooglePrivacyDlpV2Deidentify }).(GooglePrivacyDlpV2DeidentifyConfigPtrOutput) } +func (o GooglePrivacyDlpV2DeidentifyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeidentifyConfig] { + return pulumix.Output[GooglePrivacyDlpV2DeidentifyConfig]{ + OutputState: o.OutputState, + } +} + // Treat the dataset as an image and redact. func (o GooglePrivacyDlpV2DeidentifyConfigOutput) ImageTransformations() GooglePrivacyDlpV2ImageTransformationsPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DeidentifyConfig) *GooglePrivacyDlpV2ImageTransformations { @@ -6077,6 +6972,12 @@ func (o GooglePrivacyDlpV2DeidentifyConfigPtrOutput) ToGooglePrivacyDlpV2Deident return o } +func (o GooglePrivacyDlpV2DeidentifyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2DeidentifyConfig] { + return pulumix.Output[*GooglePrivacyDlpV2DeidentifyConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DeidentifyConfigPtrOutput) Elem() GooglePrivacyDlpV2DeidentifyConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2DeidentifyConfig) GooglePrivacyDlpV2DeidentifyConfig { if v != nil { @@ -6154,6 +7055,12 @@ func (o GooglePrivacyDlpV2DeidentifyConfigResponseOutput) ToGooglePrivacyDlpV2De return o } +func (o GooglePrivacyDlpV2DeidentifyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeidentifyConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2DeidentifyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Treat the dataset as an image and redact. func (o GooglePrivacyDlpV2DeidentifyConfigResponseOutput) ImageTransformations() GooglePrivacyDlpV2ImageTransformationsResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DeidentifyConfigResponse) GooglePrivacyDlpV2ImageTransformationsResponse { @@ -6205,6 +7112,12 @@ func (o GooglePrivacyDlpV2DeidentifyDataSourceDetailsResponseOutput) ToGooglePri return o } +func (o GooglePrivacyDlpV2DeidentifyDataSourceDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeidentifyDataSourceDetailsResponse] { + return pulumix.Output[GooglePrivacyDlpV2DeidentifyDataSourceDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Stats about the de-identification operation. func (o GooglePrivacyDlpV2DeidentifyDataSourceDetailsResponseOutput) DeidentifyStats() GooglePrivacyDlpV2DeidentifyDataSourceStatsResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DeidentifyDataSourceDetailsResponse) GooglePrivacyDlpV2DeidentifyDataSourceStatsResponse { @@ -6244,6 +7157,12 @@ func (o GooglePrivacyDlpV2DeidentifyDataSourceStatsResponseOutput) ToGooglePriva return o } +func (o GooglePrivacyDlpV2DeidentifyDataSourceStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeidentifyDataSourceStatsResponse] { + return pulumix.Output[GooglePrivacyDlpV2DeidentifyDataSourceStatsResponse]{ + OutputState: o.OutputState, + } +} + // Number of successfully applied transformations. func (o GooglePrivacyDlpV2DeidentifyDataSourceStatsResponseOutput) TransformationCount() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DeidentifyDataSourceStatsResponse) string { return v.TransformationCount }).(pulumi.StringOutput) @@ -6286,6 +7205,12 @@ func (o GooglePrivacyDlpV2DeidentifyResponseOutput) ToGooglePrivacyDlpV2Deidenti return o } +func (o GooglePrivacyDlpV2DeidentifyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeidentifyResponse] { + return pulumix.Output[GooglePrivacyDlpV2DeidentifyResponse]{ + OutputState: o.OutputState, + } +} + // User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket func (o GooglePrivacyDlpV2DeidentifyResponseOutput) CloudStorageOutput() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DeidentifyResponse) string { return v.CloudStorageOutput }).(pulumi.StringOutput) @@ -6341,6 +7266,12 @@ func (o GooglePrivacyDlpV2DeidentifyTemplateResponseOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2DeidentifyTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeidentifyTemplateResponse] { + return pulumix.Output[GooglePrivacyDlpV2DeidentifyTemplateResponse]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of an inspectTemplate. func (o GooglePrivacyDlpV2DeidentifyTemplateResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DeidentifyTemplateResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -6416,6 +7347,12 @@ func (i GooglePrivacyDlpV2DeltaPresenceEstimationConfigArgs) ToGooglePrivacyDlpV return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DeltaPresenceEstimationConfigOutput) } +func (i GooglePrivacyDlpV2DeltaPresenceEstimationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationConfig] { + return pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationConfig]{ + OutputState: i.ToGooglePrivacyDlpV2DeltaPresenceEstimationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2DeltaPresenceEstimationConfigArgs) ToGooglePrivacyDlpV2DeltaPresenceEstimationConfigPtrOutput() GooglePrivacyDlpV2DeltaPresenceEstimationConfigPtrOutput { return i.ToGooglePrivacyDlpV2DeltaPresenceEstimationConfigPtrOutputWithContext(context.Background()) } @@ -6457,6 +7394,12 @@ func (i *googlePrivacyDlpV2DeltaPresenceEstimationConfigPtrType) ToGooglePrivacy return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DeltaPresenceEstimationConfigPtrOutput) } +func (i *googlePrivacyDlpV2DeltaPresenceEstimationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2DeltaPresenceEstimationConfig] { + return pulumix.Output[*GooglePrivacyDlpV2DeltaPresenceEstimationConfig]{ + OutputState: i.ToGooglePrivacyDlpV2DeltaPresenceEstimationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // δ-presence metric, used to estimate how likely it is for an attacker to figure out that one given individual appears in a de-identified dataset. Similarly to the k-map metric, we cannot compute δ-presence exactly without knowing the attack dataset, so we use a statistical model instead. type GooglePrivacyDlpV2DeltaPresenceEstimationConfigOutput struct{ *pulumi.OutputState } @@ -6482,6 +7425,12 @@ func (o GooglePrivacyDlpV2DeltaPresenceEstimationConfigOutput) ToGooglePrivacyDl }).(GooglePrivacyDlpV2DeltaPresenceEstimationConfigPtrOutput) } +func (o GooglePrivacyDlpV2DeltaPresenceEstimationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationConfig] { + return pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationConfig]{ + OutputState: o.OutputState, + } +} + // Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table. func (o GooglePrivacyDlpV2DeltaPresenceEstimationConfigOutput) AuxiliaryTables() GooglePrivacyDlpV2StatisticalTableArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DeltaPresenceEstimationConfig) []GooglePrivacyDlpV2StatisticalTable { @@ -6513,6 +7462,12 @@ func (o GooglePrivacyDlpV2DeltaPresenceEstimationConfigPtrOutput) ToGooglePrivac return o } +func (o GooglePrivacyDlpV2DeltaPresenceEstimationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2DeltaPresenceEstimationConfig] { + return pulumix.Output[*GooglePrivacyDlpV2DeltaPresenceEstimationConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DeltaPresenceEstimationConfigPtrOutput) Elem() GooglePrivacyDlpV2DeltaPresenceEstimationConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2DeltaPresenceEstimationConfig) GooglePrivacyDlpV2DeltaPresenceEstimationConfig { if v != nil { @@ -6578,6 +7533,12 @@ func (o GooglePrivacyDlpV2DeltaPresenceEstimationConfigResponseOutput) ToGoogleP return o } +func (o GooglePrivacyDlpV2DeltaPresenceEstimationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table. func (o GooglePrivacyDlpV2DeltaPresenceEstimationConfigResponseOutput) AuxiliaryTables() GooglePrivacyDlpV2StatisticalTableResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DeltaPresenceEstimationConfigResponse) []GooglePrivacyDlpV2StatisticalTableResponse { @@ -6626,6 +7587,12 @@ func (o GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponseOutput) return o } +func (o GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponse] { + return pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponse]{ + OutputState: o.OutputState, + } +} + // Number of records within these probability bounds. func (o GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponseOutput) BucketSize() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponse) string { return v.BucketSize }).(pulumi.StringOutput) @@ -6673,6 +7640,12 @@ func (o GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponseArrayOut return o } +func (o GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponse { return vs[0].([]GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponse)[vs[1].(int)] @@ -6702,6 +7675,12 @@ func (o GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponseOutput) To return o } +func (o GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponse] { + return pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponse]{ + OutputState: o.OutputState, + } +} + // The estimated probability that a given individual sharing these quasi-identifier values is in the dataset. This value, typically called δ, is the ratio between the number of records in the dataset with these quasi-identifier values, and the total number of individuals (inside *and* outside the dataset) with these quasi-identifier values. For example, if there are 15 individuals in the dataset who share the same quasi-identifier values, and an estimated 100 people in the entire population with these values, then δ is 0.15. func (o GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponseOutput) EstimatedProbability() pulumi.Float64Output { return o.ApplyT(func(v GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponse) float64 { @@ -6730,6 +7709,12 @@ func (o GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponseArrayOutpu return o } +func (o GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponse { return vs[0].([]GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValuesResponse)[vs[1].(int)] @@ -6757,6 +7742,12 @@ func (o GooglePrivacyDlpV2DeltaPresenceEstimationResultResponseOutput) ToGoogleP return o } +func (o GooglePrivacyDlpV2DeltaPresenceEstimationResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationResultResponse] { + return pulumix.Output[GooglePrivacyDlpV2DeltaPresenceEstimationResultResponse]{ + OutputState: o.OutputState, + } +} + // The intervals [min_probability, max_probability) do not overlap. If a value doesn't correspond to any such interval, the associated frequency is zero. For example, the following records: {min_probability: 0, max_probability: 0.1, frequency: 17} {min_probability: 0.2, max_probability: 0.3, frequency: 42} {min_probability: 0.3, max_probability: 0.4, frequency: 99} mean that there are no record with an estimated probability in [0.1, 0.2) nor larger or equal to 0.4. func (o GooglePrivacyDlpV2DeltaPresenceEstimationResultResponseOutput) DeltaPresenceEstimationHistogram() GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DeltaPresenceEstimationResultResponse) []GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucketResponse { @@ -6799,6 +7790,12 @@ func (i GooglePrivacyDlpV2DetectionRuleArgs) ToGooglePrivacyDlpV2DetectionRuleOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DetectionRuleOutput) } +func (i GooglePrivacyDlpV2DetectionRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DetectionRule] { + return pulumix.Output[GooglePrivacyDlpV2DetectionRule]{ + OutputState: i.ToGooglePrivacyDlpV2DetectionRuleOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2DetectionRuleArrayInput is an input type that accepts GooglePrivacyDlpV2DetectionRuleArray and GooglePrivacyDlpV2DetectionRuleArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2DetectionRuleArrayInput` via: // @@ -6824,6 +7821,12 @@ func (i GooglePrivacyDlpV2DetectionRuleArray) ToGooglePrivacyDlpV2DetectionRuleA return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DetectionRuleArrayOutput) } +func (i GooglePrivacyDlpV2DetectionRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2DetectionRule] { + return pulumix.Output[[]GooglePrivacyDlpV2DetectionRule]{ + OutputState: i.ToGooglePrivacyDlpV2DetectionRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Deprecated; use `InspectionRuleSet` instead. Rule for modifying a `CustomInfoType` to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the `surrogate_type` custom infoType. type GooglePrivacyDlpV2DetectionRuleOutput struct{ *pulumi.OutputState } @@ -6839,6 +7842,12 @@ func (o GooglePrivacyDlpV2DetectionRuleOutput) ToGooglePrivacyDlpV2DetectionRule return o } +func (o GooglePrivacyDlpV2DetectionRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DetectionRule] { + return pulumix.Output[GooglePrivacyDlpV2DetectionRule]{ + OutputState: o.OutputState, + } +} + // Hotword-based detection rule. func (o GooglePrivacyDlpV2DetectionRuleOutput) HotwordRule() GooglePrivacyDlpV2HotwordRulePtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DetectionRule) *GooglePrivacyDlpV2HotwordRule { return v.HotwordRule }).(GooglePrivacyDlpV2HotwordRulePtrOutput) @@ -6858,6 +7867,12 @@ func (o GooglePrivacyDlpV2DetectionRuleArrayOutput) ToGooglePrivacyDlpV2Detectio return o } +func (o GooglePrivacyDlpV2DetectionRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2DetectionRule] { + return pulumix.Output[[]GooglePrivacyDlpV2DetectionRule]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DetectionRuleArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2DetectionRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2DetectionRule { return vs[0].([]GooglePrivacyDlpV2DetectionRule)[vs[1].(int)] @@ -6885,6 +7900,12 @@ func (o GooglePrivacyDlpV2DetectionRuleResponseOutput) ToGooglePrivacyDlpV2Detec return o } +func (o GooglePrivacyDlpV2DetectionRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DetectionRuleResponse] { + return pulumix.Output[GooglePrivacyDlpV2DetectionRuleResponse]{ + OutputState: o.OutputState, + } +} + // Hotword-based detection rule. func (o GooglePrivacyDlpV2DetectionRuleResponseOutput) HotwordRule() GooglePrivacyDlpV2HotwordRuleResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DetectionRuleResponse) GooglePrivacyDlpV2HotwordRuleResponse { @@ -6906,6 +7927,12 @@ func (o GooglePrivacyDlpV2DetectionRuleResponseArrayOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2DetectionRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2DetectionRuleResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2DetectionRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DetectionRuleResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2DetectionRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2DetectionRuleResponse { return vs[0].([]GooglePrivacyDlpV2DetectionRuleResponse)[vs[1].(int)] @@ -6951,6 +7978,12 @@ func (i GooglePrivacyDlpV2DictionaryArgs) ToGooglePrivacyDlpV2DictionaryOutputWi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DictionaryOutput) } +func (i GooglePrivacyDlpV2DictionaryArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Dictionary] { + return pulumix.Output[GooglePrivacyDlpV2Dictionary]{ + OutputState: i.ToGooglePrivacyDlpV2DictionaryOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2DictionaryArgs) ToGooglePrivacyDlpV2DictionaryPtrOutput() GooglePrivacyDlpV2DictionaryPtrOutput { return i.ToGooglePrivacyDlpV2DictionaryPtrOutputWithContext(context.Background()) } @@ -6992,6 +8025,12 @@ func (i *googlePrivacyDlpV2DictionaryPtrType) ToGooglePrivacyDlpV2DictionaryPtrO return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2DictionaryPtrOutput) } +func (i *googlePrivacyDlpV2DictionaryPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Dictionary] { + return pulumix.Output[*GooglePrivacyDlpV2Dictionary]{ + OutputState: i.ToGooglePrivacyDlpV2DictionaryPtrOutputWithContext(ctx).OutputState, + } +} + // Custom information type based on a dictionary of words or phrases. This can be used to match sensitive information specific to the data, such as a list of employee IDs or job titles. Dictionary words are case-insensitive and all characters other than letters and digits in the unicode [Basic Multilingual Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane) will be replaced with whitespace when scanning for matches, so the dictionary phrase "Sam Johnson" will match all three phrases "sam johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters surrounding any match must be of a different type than the adjacent characters within the word, so letters must be next to non-letters and digits next to non-digits. For example, the dictionary word "jen" will match the first three letters of the text "jen123" but will return no matches for "jennifer". Dictionary words containing a large number of characters that are not letters or digits may result in unexpected findings because such characters are treated as whitespace. The [limits](https://cloud.google.com/dlp/limits) page contains details about the size limits of dictionaries. For dictionaries that do not fit within these constraints, consider using `LargeCustomDictionaryConfig` in the `StoredInfoType` API. type GooglePrivacyDlpV2DictionaryOutput struct{ *pulumi.OutputState } @@ -7017,6 +8056,12 @@ func (o GooglePrivacyDlpV2DictionaryOutput) ToGooglePrivacyDlpV2DictionaryPtrOut }).(GooglePrivacyDlpV2DictionaryPtrOutput) } +func (o GooglePrivacyDlpV2DictionaryOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Dictionary] { + return pulumix.Output[GooglePrivacyDlpV2Dictionary]{ + OutputState: o.OutputState, + } +} + // Newline-delimited file of words in Cloud Storage. Only a single file is accepted. func (o GooglePrivacyDlpV2DictionaryOutput) CloudStoragePath() GooglePrivacyDlpV2CloudStoragePathPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Dictionary) *GooglePrivacyDlpV2CloudStoragePath { return v.CloudStoragePath }).(GooglePrivacyDlpV2CloudStoragePathPtrOutput) @@ -7041,6 +8086,12 @@ func (o GooglePrivacyDlpV2DictionaryPtrOutput) ToGooglePrivacyDlpV2DictionaryPtr return o } +func (o GooglePrivacyDlpV2DictionaryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Dictionary] { + return pulumix.Output[*GooglePrivacyDlpV2Dictionary]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2DictionaryPtrOutput) Elem() GooglePrivacyDlpV2DictionaryOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2Dictionary) GooglePrivacyDlpV2Dictionary { if v != nil { @@ -7094,6 +8145,12 @@ func (o GooglePrivacyDlpV2DictionaryResponseOutput) ToGooglePrivacyDlpV2Dictiona return o } +func (o GooglePrivacyDlpV2DictionaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2DictionaryResponse] { + return pulumix.Output[GooglePrivacyDlpV2DictionaryResponse]{ + OutputState: o.OutputState, + } +} + // Newline-delimited file of words in Cloud Storage. Only a single file is accepted. func (o GooglePrivacyDlpV2DictionaryResponseOutput) CloudStoragePath() GooglePrivacyDlpV2CloudStoragePathResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2DictionaryResponse) GooglePrivacyDlpV2CloudStoragePathResponse { @@ -7141,6 +8198,12 @@ func (i GooglePrivacyDlpV2EntityIdArgs) ToGooglePrivacyDlpV2EntityIdOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2EntityIdOutput) } +func (i GooglePrivacyDlpV2EntityIdArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2EntityId] { + return pulumix.Output[GooglePrivacyDlpV2EntityId]{ + OutputState: i.ToGooglePrivacyDlpV2EntityIdOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2EntityIdArgs) ToGooglePrivacyDlpV2EntityIdPtrOutput() GooglePrivacyDlpV2EntityIdPtrOutput { return i.ToGooglePrivacyDlpV2EntityIdPtrOutputWithContext(context.Background()) } @@ -7182,6 +8245,12 @@ func (i *googlePrivacyDlpV2EntityIdPtrType) ToGooglePrivacyDlpV2EntityIdPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2EntityIdPtrOutput) } +func (i *googlePrivacyDlpV2EntityIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2EntityId] { + return pulumix.Output[*GooglePrivacyDlpV2EntityId]{ + OutputState: i.ToGooglePrivacyDlpV2EntityIdPtrOutputWithContext(ctx).OutputState, + } +} + // An entity in a dataset is a field or set of fields that correspond to a single person. For example, in medical records the `EntityId` might be a patient identifier, or for financial records it might be an account identifier. This message is used when generalizations or analysis must take into account that multiple rows correspond to the same entity. type GooglePrivacyDlpV2EntityIdOutput struct{ *pulumi.OutputState } @@ -7207,6 +8276,12 @@ func (o GooglePrivacyDlpV2EntityIdOutput) ToGooglePrivacyDlpV2EntityIdPtrOutputW }).(GooglePrivacyDlpV2EntityIdPtrOutput) } +func (o GooglePrivacyDlpV2EntityIdOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2EntityId] { + return pulumix.Output[GooglePrivacyDlpV2EntityId]{ + OutputState: o.OutputState, + } +} + // Composite key indicating which field contains the entity identifier. func (o GooglePrivacyDlpV2EntityIdOutput) Field() GooglePrivacyDlpV2FieldIdPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2EntityId) *GooglePrivacyDlpV2FieldId { return v.Field }).(GooglePrivacyDlpV2FieldIdPtrOutput) @@ -7226,6 +8301,12 @@ func (o GooglePrivacyDlpV2EntityIdPtrOutput) ToGooglePrivacyDlpV2EntityIdPtrOutp return o } +func (o GooglePrivacyDlpV2EntityIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2EntityId] { + return pulumix.Output[*GooglePrivacyDlpV2EntityId]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2EntityIdPtrOutput) Elem() GooglePrivacyDlpV2EntityIdOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2EntityId) GooglePrivacyDlpV2EntityId { if v != nil { @@ -7267,6 +8348,12 @@ func (o GooglePrivacyDlpV2EntityIdResponseOutput) ToGooglePrivacyDlpV2EntityIdRe return o } +func (o GooglePrivacyDlpV2EntityIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2EntityIdResponse] { + return pulumix.Output[GooglePrivacyDlpV2EntityIdResponse]{ + OutputState: o.OutputState, + } +} + // Composite key indicating which field contains the entity identifier. func (o GooglePrivacyDlpV2EntityIdResponseOutput) Field() GooglePrivacyDlpV2FieldIdResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2EntityIdResponse) GooglePrivacyDlpV2FieldIdResponse { return v.Field }).(GooglePrivacyDlpV2FieldIdResponseOutput) @@ -7295,6 +8382,12 @@ func (o GooglePrivacyDlpV2ErrorResponseOutput) ToGooglePrivacyDlpV2ErrorResponse return o } +func (o GooglePrivacyDlpV2ErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ErrorResponse] { + return pulumix.Output[GooglePrivacyDlpV2ErrorResponse]{ + OutputState: o.OutputState, + } +} + // Detailed error codes and messages. func (o GooglePrivacyDlpV2ErrorResponseOutput) Details() GoogleRpcStatusResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ErrorResponse) GoogleRpcStatusResponse { return v.Details }).(GoogleRpcStatusResponseOutput) @@ -7319,6 +8412,12 @@ func (o GooglePrivacyDlpV2ErrorResponseArrayOutput) ToGooglePrivacyDlpV2ErrorRes return o } +func (o GooglePrivacyDlpV2ErrorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2ErrorResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2ErrorResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ErrorResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2ErrorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2ErrorResponse { return vs[0].([]GooglePrivacyDlpV2ErrorResponse)[vs[1].(int)] @@ -7364,6 +8463,12 @@ func (i GooglePrivacyDlpV2ExcludeByHotwordArgs) ToGooglePrivacyDlpV2ExcludeByHot return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ExcludeByHotwordOutput) } +func (i GooglePrivacyDlpV2ExcludeByHotwordArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExcludeByHotword] { + return pulumix.Output[GooglePrivacyDlpV2ExcludeByHotword]{ + OutputState: i.ToGooglePrivacyDlpV2ExcludeByHotwordOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ExcludeByHotwordArgs) ToGooglePrivacyDlpV2ExcludeByHotwordPtrOutput() GooglePrivacyDlpV2ExcludeByHotwordPtrOutput { return i.ToGooglePrivacyDlpV2ExcludeByHotwordPtrOutputWithContext(context.Background()) } @@ -7405,6 +8510,12 @@ func (i *googlePrivacyDlpV2ExcludeByHotwordPtrType) ToGooglePrivacyDlpV2ExcludeB return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ExcludeByHotwordPtrOutput) } +func (i *googlePrivacyDlpV2ExcludeByHotwordPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ExcludeByHotword] { + return pulumix.Output[*GooglePrivacyDlpV2ExcludeByHotword]{ + OutputState: i.ToGooglePrivacyDlpV2ExcludeByHotwordPtrOutputWithContext(ctx).OutputState, + } +} + // The rule to exclude findings based on a hotword. For record inspection of tables, column names are considered hotwords. An example of this is to exclude a finding if it belongs to a BigQuery column that matches a specific pattern. type GooglePrivacyDlpV2ExcludeByHotwordOutput struct{ *pulumi.OutputState } @@ -7430,6 +8541,12 @@ func (o GooglePrivacyDlpV2ExcludeByHotwordOutput) ToGooglePrivacyDlpV2ExcludeByH }).(GooglePrivacyDlpV2ExcludeByHotwordPtrOutput) } +func (o GooglePrivacyDlpV2ExcludeByHotwordOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExcludeByHotword] { + return pulumix.Output[GooglePrivacyDlpV2ExcludeByHotword]{ + OutputState: o.OutputState, + } +} + // Regular expression pattern defining what qualifies as a hotword. func (o GooglePrivacyDlpV2ExcludeByHotwordOutput) HotwordRegex() GooglePrivacyDlpV2RegexPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ExcludeByHotword) *GooglePrivacyDlpV2Regex { return v.HotwordRegex }).(GooglePrivacyDlpV2RegexPtrOutput) @@ -7454,6 +8571,12 @@ func (o GooglePrivacyDlpV2ExcludeByHotwordPtrOutput) ToGooglePrivacyDlpV2Exclude return o } +func (o GooglePrivacyDlpV2ExcludeByHotwordPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ExcludeByHotword] { + return pulumix.Output[*GooglePrivacyDlpV2ExcludeByHotword]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ExcludeByHotwordPtrOutput) Elem() GooglePrivacyDlpV2ExcludeByHotwordOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ExcludeByHotword) GooglePrivacyDlpV2ExcludeByHotword { if v != nil { @@ -7507,6 +8630,12 @@ func (o GooglePrivacyDlpV2ExcludeByHotwordResponseOutput) ToGooglePrivacyDlpV2Ex return o } +func (o GooglePrivacyDlpV2ExcludeByHotwordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExcludeByHotwordResponse] { + return pulumix.Output[GooglePrivacyDlpV2ExcludeByHotwordResponse]{ + OutputState: o.OutputState, + } +} + // Regular expression pattern defining what qualifies as a hotword. func (o GooglePrivacyDlpV2ExcludeByHotwordResponseOutput) HotwordRegex() GooglePrivacyDlpV2RegexResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ExcludeByHotwordResponse) GooglePrivacyDlpV2RegexResponse { @@ -7556,6 +8685,12 @@ func (i GooglePrivacyDlpV2ExcludeInfoTypesArgs) ToGooglePrivacyDlpV2ExcludeInfoT return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ExcludeInfoTypesOutput) } +func (i GooglePrivacyDlpV2ExcludeInfoTypesArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExcludeInfoTypes] { + return pulumix.Output[GooglePrivacyDlpV2ExcludeInfoTypes]{ + OutputState: i.ToGooglePrivacyDlpV2ExcludeInfoTypesOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ExcludeInfoTypesArgs) ToGooglePrivacyDlpV2ExcludeInfoTypesPtrOutput() GooglePrivacyDlpV2ExcludeInfoTypesPtrOutput { return i.ToGooglePrivacyDlpV2ExcludeInfoTypesPtrOutputWithContext(context.Background()) } @@ -7597,6 +8732,12 @@ func (i *googlePrivacyDlpV2ExcludeInfoTypesPtrType) ToGooglePrivacyDlpV2ExcludeI return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ExcludeInfoTypesPtrOutput) } +func (i *googlePrivacyDlpV2ExcludeInfoTypesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ExcludeInfoTypes] { + return pulumix.Output[*GooglePrivacyDlpV2ExcludeInfoTypes]{ + OutputState: i.ToGooglePrivacyDlpV2ExcludeInfoTypesPtrOutputWithContext(ctx).OutputState, + } +} + // List of excluded infoTypes. type GooglePrivacyDlpV2ExcludeInfoTypesOutput struct{ *pulumi.OutputState } @@ -7622,6 +8763,12 @@ func (o GooglePrivacyDlpV2ExcludeInfoTypesOutput) ToGooglePrivacyDlpV2ExcludeInf }).(GooglePrivacyDlpV2ExcludeInfoTypesPtrOutput) } +func (o GooglePrivacyDlpV2ExcludeInfoTypesOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExcludeInfoTypes] { + return pulumix.Output[GooglePrivacyDlpV2ExcludeInfoTypes]{ + OutputState: o.OutputState, + } +} + // InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list. For example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"`and`exclusion_rule`containing`exclude_info_types.info_types` with "EMAIL_ADDRESS" the phone number findings are dropped if they overlap with EMAIL_ADDRESS finding. That leads to "555-222-2222@example.org" to generate only a single finding, namely email address. func (o GooglePrivacyDlpV2ExcludeInfoTypesOutput) InfoTypes() GooglePrivacyDlpV2InfoTypeArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ExcludeInfoTypes) []GooglePrivacyDlpV2InfoType { return v.InfoTypes }).(GooglePrivacyDlpV2InfoTypeArrayOutput) @@ -7641,6 +8788,12 @@ func (o GooglePrivacyDlpV2ExcludeInfoTypesPtrOutput) ToGooglePrivacyDlpV2Exclude return o } +func (o GooglePrivacyDlpV2ExcludeInfoTypesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ExcludeInfoTypes] { + return pulumix.Output[*GooglePrivacyDlpV2ExcludeInfoTypes]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ExcludeInfoTypesPtrOutput) Elem() GooglePrivacyDlpV2ExcludeInfoTypesOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ExcludeInfoTypes) GooglePrivacyDlpV2ExcludeInfoTypes { if v != nil { @@ -7682,6 +8835,12 @@ func (o GooglePrivacyDlpV2ExcludeInfoTypesResponseOutput) ToGooglePrivacyDlpV2Ex return o } +func (o GooglePrivacyDlpV2ExcludeInfoTypesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExcludeInfoTypesResponse] { + return pulumix.Output[GooglePrivacyDlpV2ExcludeInfoTypesResponse]{ + OutputState: o.OutputState, + } +} + // InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list. For example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"`and`exclusion_rule`containing`exclude_info_types.info_types` with "EMAIL_ADDRESS" the phone number findings are dropped if they overlap with EMAIL_ADDRESS finding. That leads to "555-222-2222@example.org" to generate only a single finding, namely email address. func (o GooglePrivacyDlpV2ExcludeInfoTypesResponseOutput) InfoTypes() GooglePrivacyDlpV2InfoTypeResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ExcludeInfoTypesResponse) []GooglePrivacyDlpV2InfoTypeResponse { @@ -7740,6 +8899,12 @@ func (i GooglePrivacyDlpV2ExclusionRuleArgs) ToGooglePrivacyDlpV2ExclusionRuleOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ExclusionRuleOutput) } +func (i GooglePrivacyDlpV2ExclusionRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExclusionRule] { + return pulumix.Output[GooglePrivacyDlpV2ExclusionRule]{ + OutputState: i.ToGooglePrivacyDlpV2ExclusionRuleOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ExclusionRuleArgs) ToGooglePrivacyDlpV2ExclusionRulePtrOutput() GooglePrivacyDlpV2ExclusionRulePtrOutput { return i.ToGooglePrivacyDlpV2ExclusionRulePtrOutputWithContext(context.Background()) } @@ -7781,6 +8946,12 @@ func (i *googlePrivacyDlpV2ExclusionRulePtrType) ToGooglePrivacyDlpV2ExclusionRu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ExclusionRulePtrOutput) } +func (i *googlePrivacyDlpV2ExclusionRulePtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ExclusionRule] { + return pulumix.Output[*GooglePrivacyDlpV2ExclusionRule]{ + OutputState: i.ToGooglePrivacyDlpV2ExclusionRulePtrOutputWithContext(ctx).OutputState, + } +} + // The rule that specifies conditions when findings of infoTypes specified in `InspectionRuleSet` are removed from results. type GooglePrivacyDlpV2ExclusionRuleOutput struct{ *pulumi.OutputState } @@ -7806,6 +8977,12 @@ func (o GooglePrivacyDlpV2ExclusionRuleOutput) ToGooglePrivacyDlpV2ExclusionRule }).(GooglePrivacyDlpV2ExclusionRulePtrOutput) } +func (o GooglePrivacyDlpV2ExclusionRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExclusionRule] { + return pulumix.Output[GooglePrivacyDlpV2ExclusionRule]{ + OutputState: o.OutputState, + } +} + // Dictionary which defines the rule. func (o GooglePrivacyDlpV2ExclusionRuleOutput) Dictionary() GooglePrivacyDlpV2DictionaryPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ExclusionRule) *GooglePrivacyDlpV2Dictionary { return v.Dictionary }).(GooglePrivacyDlpV2DictionaryPtrOutput) @@ -7847,6 +9024,12 @@ func (o GooglePrivacyDlpV2ExclusionRulePtrOutput) ToGooglePrivacyDlpV2ExclusionR return o } +func (o GooglePrivacyDlpV2ExclusionRulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ExclusionRule] { + return pulumix.Output[*GooglePrivacyDlpV2ExclusionRule]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ExclusionRulePtrOutput) Elem() GooglePrivacyDlpV2ExclusionRuleOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ExclusionRule) GooglePrivacyDlpV2ExclusionRule { if v != nil { @@ -7936,6 +9119,12 @@ func (o GooglePrivacyDlpV2ExclusionRuleResponseOutput) ToGooglePrivacyDlpV2Exclu return o } +func (o GooglePrivacyDlpV2ExclusionRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExclusionRuleResponse] { + return pulumix.Output[GooglePrivacyDlpV2ExclusionRuleResponse]{ + OutputState: o.OutputState, + } +} + // Dictionary which defines the rule. func (o GooglePrivacyDlpV2ExclusionRuleResponseOutput) Dictionary() GooglePrivacyDlpV2DictionaryResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ExclusionRuleResponse) GooglePrivacyDlpV2DictionaryResponse { @@ -8006,6 +9195,12 @@ func (i GooglePrivacyDlpV2ExpressionsArgs) ToGooglePrivacyDlpV2ExpressionsOutput return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ExpressionsOutput) } +func (i GooglePrivacyDlpV2ExpressionsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Expressions] { + return pulumix.Output[GooglePrivacyDlpV2Expressions]{ + OutputState: i.ToGooglePrivacyDlpV2ExpressionsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ExpressionsArgs) ToGooglePrivacyDlpV2ExpressionsPtrOutput() GooglePrivacyDlpV2ExpressionsPtrOutput { return i.ToGooglePrivacyDlpV2ExpressionsPtrOutputWithContext(context.Background()) } @@ -8047,6 +9242,12 @@ func (i *googlePrivacyDlpV2ExpressionsPtrType) ToGooglePrivacyDlpV2ExpressionsPt return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ExpressionsPtrOutput) } +func (i *googlePrivacyDlpV2ExpressionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Expressions] { + return pulumix.Output[*GooglePrivacyDlpV2Expressions]{ + OutputState: i.ToGooglePrivacyDlpV2ExpressionsPtrOutputWithContext(ctx).OutputState, + } +} + // An expression, consisting of an operator and conditions. type GooglePrivacyDlpV2ExpressionsOutput struct{ *pulumi.OutputState } @@ -8072,6 +9273,12 @@ func (o GooglePrivacyDlpV2ExpressionsOutput) ToGooglePrivacyDlpV2ExpressionsPtrO }).(GooglePrivacyDlpV2ExpressionsPtrOutput) } +func (o GooglePrivacyDlpV2ExpressionsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Expressions] { + return pulumix.Output[GooglePrivacyDlpV2Expressions]{ + OutputState: o.OutputState, + } +} + // Conditions to apply to the expression. func (o GooglePrivacyDlpV2ExpressionsOutput) Conditions() GooglePrivacyDlpV2ConditionsPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Expressions) *GooglePrivacyDlpV2Conditions { return v.Conditions }).(GooglePrivacyDlpV2ConditionsPtrOutput) @@ -8098,6 +9305,12 @@ func (o GooglePrivacyDlpV2ExpressionsPtrOutput) ToGooglePrivacyDlpV2ExpressionsP return o } +func (o GooglePrivacyDlpV2ExpressionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Expressions] { + return pulumix.Output[*GooglePrivacyDlpV2Expressions]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ExpressionsPtrOutput) Elem() GooglePrivacyDlpV2ExpressionsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2Expressions) GooglePrivacyDlpV2Expressions { if v != nil { @@ -8151,6 +9364,12 @@ func (o GooglePrivacyDlpV2ExpressionsResponseOutput) ToGooglePrivacyDlpV2Express return o } +func (o GooglePrivacyDlpV2ExpressionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ExpressionsResponse] { + return pulumix.Output[GooglePrivacyDlpV2ExpressionsResponse]{ + OutputState: o.OutputState, + } +} + // Conditions to apply to the expression. func (o GooglePrivacyDlpV2ExpressionsResponseOutput) Conditions() GooglePrivacyDlpV2ConditionsResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ExpressionsResponse) GooglePrivacyDlpV2ConditionsResponse { @@ -8198,6 +9417,12 @@ func (i GooglePrivacyDlpV2FieldIdArgs) ToGooglePrivacyDlpV2FieldIdOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FieldIdOutput) } +func (i GooglePrivacyDlpV2FieldIdArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FieldId] { + return pulumix.Output[GooglePrivacyDlpV2FieldId]{ + OutputState: i.ToGooglePrivacyDlpV2FieldIdOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2FieldIdArgs) ToGooglePrivacyDlpV2FieldIdPtrOutput() GooglePrivacyDlpV2FieldIdPtrOutput { return i.ToGooglePrivacyDlpV2FieldIdPtrOutputWithContext(context.Background()) } @@ -8239,6 +9464,12 @@ func (i *googlePrivacyDlpV2FieldIdPtrType) ToGooglePrivacyDlpV2FieldIdPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FieldIdPtrOutput) } +func (i *googlePrivacyDlpV2FieldIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2FieldId] { + return pulumix.Output[*GooglePrivacyDlpV2FieldId]{ + OutputState: i.ToGooglePrivacyDlpV2FieldIdPtrOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2FieldIdArrayInput is an input type that accepts GooglePrivacyDlpV2FieldIdArray and GooglePrivacyDlpV2FieldIdArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2FieldIdArrayInput` via: // @@ -8264,6 +9495,12 @@ func (i GooglePrivacyDlpV2FieldIdArray) ToGooglePrivacyDlpV2FieldIdArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FieldIdArrayOutput) } +func (i GooglePrivacyDlpV2FieldIdArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2FieldId] { + return pulumix.Output[[]GooglePrivacyDlpV2FieldId]{ + OutputState: i.ToGooglePrivacyDlpV2FieldIdArrayOutputWithContext(ctx).OutputState, + } +} + // General identifier of a data field in a storage service. type GooglePrivacyDlpV2FieldIdOutput struct{ *pulumi.OutputState } @@ -8289,6 +9526,12 @@ func (o GooglePrivacyDlpV2FieldIdOutput) ToGooglePrivacyDlpV2FieldIdPtrOutputWit }).(GooglePrivacyDlpV2FieldIdPtrOutput) } +func (o GooglePrivacyDlpV2FieldIdOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FieldId] { + return pulumix.Output[GooglePrivacyDlpV2FieldId]{ + OutputState: o.OutputState, + } +} + // Name describing the field. func (o GooglePrivacyDlpV2FieldIdOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2FieldId) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -8308,6 +9551,12 @@ func (o GooglePrivacyDlpV2FieldIdPtrOutput) ToGooglePrivacyDlpV2FieldIdPtrOutput return o } +func (o GooglePrivacyDlpV2FieldIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2FieldId] { + return pulumix.Output[*GooglePrivacyDlpV2FieldId]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2FieldIdPtrOutput) Elem() GooglePrivacyDlpV2FieldIdOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2FieldId) GooglePrivacyDlpV2FieldId { if v != nil { @@ -8342,6 +9591,12 @@ func (o GooglePrivacyDlpV2FieldIdArrayOutput) ToGooglePrivacyDlpV2FieldIdArrayOu return o } +func (o GooglePrivacyDlpV2FieldIdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2FieldId] { + return pulumix.Output[[]GooglePrivacyDlpV2FieldId]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2FieldIdArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2FieldIdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2FieldId { return vs[0].([]GooglePrivacyDlpV2FieldId)[vs[1].(int)] @@ -8369,6 +9624,12 @@ func (o GooglePrivacyDlpV2FieldIdResponseOutput) ToGooglePrivacyDlpV2FieldIdResp return o } +func (o GooglePrivacyDlpV2FieldIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FieldIdResponse] { + return pulumix.Output[GooglePrivacyDlpV2FieldIdResponse]{ + OutputState: o.OutputState, + } +} + // Name describing the field. func (o GooglePrivacyDlpV2FieldIdResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2FieldIdResponse) string { return v.Name }).(pulumi.StringOutput) @@ -8388,6 +9649,12 @@ func (o GooglePrivacyDlpV2FieldIdResponseArrayOutput) ToGooglePrivacyDlpV2FieldI return o } +func (o GooglePrivacyDlpV2FieldIdResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2FieldIdResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2FieldIdResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2FieldIdResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2FieldIdResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2FieldIdResponse { return vs[0].([]GooglePrivacyDlpV2FieldIdResponse)[vs[1].(int)] @@ -8441,6 +9708,12 @@ func (i GooglePrivacyDlpV2FieldTransformationArgs) ToGooglePrivacyDlpV2FieldTran return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FieldTransformationOutput) } +func (i GooglePrivacyDlpV2FieldTransformationArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FieldTransformation] { + return pulumix.Output[GooglePrivacyDlpV2FieldTransformation]{ + OutputState: i.ToGooglePrivacyDlpV2FieldTransformationOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2FieldTransformationArrayInput is an input type that accepts GooglePrivacyDlpV2FieldTransformationArray and GooglePrivacyDlpV2FieldTransformationArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2FieldTransformationArrayInput` via: // @@ -8466,6 +9739,12 @@ func (i GooglePrivacyDlpV2FieldTransformationArray) ToGooglePrivacyDlpV2FieldTra return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FieldTransformationArrayOutput) } +func (i GooglePrivacyDlpV2FieldTransformationArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2FieldTransformation] { + return pulumix.Output[[]GooglePrivacyDlpV2FieldTransformation]{ + OutputState: i.ToGooglePrivacyDlpV2FieldTransformationArrayOutputWithContext(ctx).OutputState, + } +} + // The transformation to apply to the field. type GooglePrivacyDlpV2FieldTransformationOutput struct{ *pulumi.OutputState } @@ -8481,6 +9760,12 @@ func (o GooglePrivacyDlpV2FieldTransformationOutput) ToGooglePrivacyDlpV2FieldTr return o } +func (o GooglePrivacyDlpV2FieldTransformationOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FieldTransformation] { + return pulumix.Output[GooglePrivacyDlpV2FieldTransformation]{ + OutputState: o.OutputState, + } +} + // Only apply the transformation if the condition evaluates to true for the given `RecordCondition`. The conditions are allowed to reference fields that are not used in the actual transformation. Example Use Cases: - Apply a different bucket transformation to an age column if the zip code column for the same record is within a specific range. - Redact a field if the date of birth field is greater than 85. func (o GooglePrivacyDlpV2FieldTransformationOutput) Condition() GooglePrivacyDlpV2RecordConditionPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2FieldTransformation) *GooglePrivacyDlpV2RecordCondition { return v.Condition }).(GooglePrivacyDlpV2RecordConditionPtrOutput) @@ -8519,6 +9804,12 @@ func (o GooglePrivacyDlpV2FieldTransformationArrayOutput) ToGooglePrivacyDlpV2Fi return o } +func (o GooglePrivacyDlpV2FieldTransformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2FieldTransformation] { + return pulumix.Output[[]GooglePrivacyDlpV2FieldTransformation]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2FieldTransformationArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2FieldTransformationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2FieldTransformation { return vs[0].([]GooglePrivacyDlpV2FieldTransformation)[vs[1].(int)] @@ -8552,6 +9843,12 @@ func (o GooglePrivacyDlpV2FieldTransformationResponseOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2FieldTransformationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FieldTransformationResponse] { + return pulumix.Output[GooglePrivacyDlpV2FieldTransformationResponse]{ + OutputState: o.OutputState, + } +} + // Only apply the transformation if the condition evaluates to true for the given `RecordCondition`. The conditions are allowed to reference fields that are not used in the actual transformation. Example Use Cases: - Apply a different bucket transformation to an age column if the zip code column for the same record is within a specific range. - Redact a field if the date of birth field is greater than 85. func (o GooglePrivacyDlpV2FieldTransformationResponseOutput) Condition() GooglePrivacyDlpV2RecordConditionResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2FieldTransformationResponse) GooglePrivacyDlpV2RecordConditionResponse { @@ -8594,6 +9891,12 @@ func (o GooglePrivacyDlpV2FieldTransformationResponseArrayOutput) ToGooglePrivac return o } +func (o GooglePrivacyDlpV2FieldTransformationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2FieldTransformationResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2FieldTransformationResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2FieldTransformationResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2FieldTransformationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2FieldTransformationResponse { return vs[0].([]GooglePrivacyDlpV2FieldTransformationResponse)[vs[1].(int)] @@ -8639,6 +9942,12 @@ func (i GooglePrivacyDlpV2FileSetArgs) ToGooglePrivacyDlpV2FileSetOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FileSetOutput) } +func (i GooglePrivacyDlpV2FileSetArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FileSet] { + return pulumix.Output[GooglePrivacyDlpV2FileSet]{ + OutputState: i.ToGooglePrivacyDlpV2FileSetOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2FileSetArgs) ToGooglePrivacyDlpV2FileSetPtrOutput() GooglePrivacyDlpV2FileSetPtrOutput { return i.ToGooglePrivacyDlpV2FileSetPtrOutputWithContext(context.Background()) } @@ -8680,6 +9989,12 @@ func (i *googlePrivacyDlpV2FileSetPtrType) ToGooglePrivacyDlpV2FileSetPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FileSetPtrOutput) } +func (i *googlePrivacyDlpV2FileSetPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2FileSet] { + return pulumix.Output[*GooglePrivacyDlpV2FileSet]{ + OutputState: i.ToGooglePrivacyDlpV2FileSetPtrOutputWithContext(ctx).OutputState, + } +} + // Set of files to scan. type GooglePrivacyDlpV2FileSetOutput struct{ *pulumi.OutputState } @@ -8705,6 +10020,12 @@ func (o GooglePrivacyDlpV2FileSetOutput) ToGooglePrivacyDlpV2FileSetPtrOutputWit }).(GooglePrivacyDlpV2FileSetPtrOutput) } +func (o GooglePrivacyDlpV2FileSetOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FileSet] { + return pulumix.Output[GooglePrivacyDlpV2FileSet]{ + OutputState: o.OutputState, + } +} + // The regex-filtered set of files to scan. Exactly one of `url` or `regex_file_set` must be set. func (o GooglePrivacyDlpV2FileSetOutput) RegexFileSet() GooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2FileSet) *GooglePrivacyDlpV2CloudStorageRegexFileSet { return v.RegexFileSet }).(GooglePrivacyDlpV2CloudStorageRegexFileSetPtrOutput) @@ -8729,6 +10050,12 @@ func (o GooglePrivacyDlpV2FileSetPtrOutput) ToGooglePrivacyDlpV2FileSetPtrOutput return o } +func (o GooglePrivacyDlpV2FileSetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2FileSet] { + return pulumix.Output[*GooglePrivacyDlpV2FileSet]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2FileSetPtrOutput) Elem() GooglePrivacyDlpV2FileSetOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2FileSet) GooglePrivacyDlpV2FileSet { if v != nil { @@ -8782,6 +10109,12 @@ func (o GooglePrivacyDlpV2FileSetResponseOutput) ToGooglePrivacyDlpV2FileSetResp return o } +func (o GooglePrivacyDlpV2FileSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FileSetResponse] { + return pulumix.Output[GooglePrivacyDlpV2FileSetResponse]{ + OutputState: o.OutputState, + } +} + // The regex-filtered set of files to scan. Exactly one of `url` or `regex_file_set` must be set. func (o GooglePrivacyDlpV2FileSetResponseOutput) RegexFileSet() GooglePrivacyDlpV2CloudStorageRegexFileSetResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2FileSetResponse) GooglePrivacyDlpV2CloudStorageRegexFileSetResponse { @@ -8837,6 +10170,12 @@ func (i GooglePrivacyDlpV2FindingLimitsArgs) ToGooglePrivacyDlpV2FindingLimitsOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FindingLimitsOutput) } +func (i GooglePrivacyDlpV2FindingLimitsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FindingLimits] { + return pulumix.Output[GooglePrivacyDlpV2FindingLimits]{ + OutputState: i.ToGooglePrivacyDlpV2FindingLimitsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2FindingLimitsArgs) ToGooglePrivacyDlpV2FindingLimitsPtrOutput() GooglePrivacyDlpV2FindingLimitsPtrOutput { return i.ToGooglePrivacyDlpV2FindingLimitsPtrOutputWithContext(context.Background()) } @@ -8878,6 +10217,12 @@ func (i *googlePrivacyDlpV2FindingLimitsPtrType) ToGooglePrivacyDlpV2FindingLimi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FindingLimitsPtrOutput) } +func (i *googlePrivacyDlpV2FindingLimitsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2FindingLimits] { + return pulumix.Output[*GooglePrivacyDlpV2FindingLimits]{ + OutputState: i.ToGooglePrivacyDlpV2FindingLimitsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration to control the number of findings returned for inspection. This is not used for de-identification or data profiling. When redacting sensitive data from images, finding limits don't apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in RedactImage requests. Otherwise, Cloud DLP returns an error. type GooglePrivacyDlpV2FindingLimitsOutput struct{ *pulumi.OutputState } @@ -8903,6 +10248,12 @@ func (o GooglePrivacyDlpV2FindingLimitsOutput) ToGooglePrivacyDlpV2FindingLimits }).(GooglePrivacyDlpV2FindingLimitsPtrOutput) } +func (o GooglePrivacyDlpV2FindingLimitsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FindingLimits] { + return pulumix.Output[GooglePrivacyDlpV2FindingLimits]{ + OutputState: o.OutputState, + } +} + // Configuration of findings limit given for specified infoTypes. func (o GooglePrivacyDlpV2FindingLimitsOutput) MaxFindingsPerInfoType() GooglePrivacyDlpV2InfoTypeLimitArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2FindingLimits) []GooglePrivacyDlpV2InfoTypeLimit { @@ -8934,6 +10285,12 @@ func (o GooglePrivacyDlpV2FindingLimitsPtrOutput) ToGooglePrivacyDlpV2FindingLim return o } +func (o GooglePrivacyDlpV2FindingLimitsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2FindingLimits] { + return pulumix.Output[*GooglePrivacyDlpV2FindingLimits]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2FindingLimitsPtrOutput) Elem() GooglePrivacyDlpV2FindingLimitsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2FindingLimits) GooglePrivacyDlpV2FindingLimits { if v != nil { @@ -8999,6 +10356,12 @@ func (o GooglePrivacyDlpV2FindingLimitsResponseOutput) ToGooglePrivacyDlpV2Findi return o } +func (o GooglePrivacyDlpV2FindingLimitsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FindingLimitsResponse] { + return pulumix.Output[GooglePrivacyDlpV2FindingLimitsResponse]{ + OutputState: o.OutputState, + } +} + // Configuration of findings limit given for specified infoTypes. func (o GooglePrivacyDlpV2FindingLimitsResponseOutput) MaxFindingsPerInfoType() GooglePrivacyDlpV2InfoTypeLimitResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2FindingLimitsResponse) []GooglePrivacyDlpV2InfoTypeLimitResponse { @@ -9059,6 +10422,12 @@ func (i GooglePrivacyDlpV2FixedSizeBucketingConfigArgs) ToGooglePrivacyDlpV2Fixe return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FixedSizeBucketingConfigOutput) } +func (i GooglePrivacyDlpV2FixedSizeBucketingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FixedSizeBucketingConfig] { + return pulumix.Output[GooglePrivacyDlpV2FixedSizeBucketingConfig]{ + OutputState: i.ToGooglePrivacyDlpV2FixedSizeBucketingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2FixedSizeBucketingConfigArgs) ToGooglePrivacyDlpV2FixedSizeBucketingConfigPtrOutput() GooglePrivacyDlpV2FixedSizeBucketingConfigPtrOutput { return i.ToGooglePrivacyDlpV2FixedSizeBucketingConfigPtrOutputWithContext(context.Background()) } @@ -9100,6 +10469,12 @@ func (i *googlePrivacyDlpV2FixedSizeBucketingConfigPtrType) ToGooglePrivacyDlpV2 return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2FixedSizeBucketingConfigPtrOutput) } +func (i *googlePrivacyDlpV2FixedSizeBucketingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2FixedSizeBucketingConfig] { + return pulumix.Output[*GooglePrivacyDlpV2FixedSizeBucketingConfig]{ + OutputState: i.ToGooglePrivacyDlpV2FixedSizeBucketingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Buckets values based on fixed size ranges. The Bucketing transformation can provide all of this functionality, but requires more configuration. This message is provided as a convenience to the user for simple bucketing strategies. The transformed value will be a hyphenated string of {lower_bound}-{upper_bound}. For example, if lower_bound = 10 and upper_bound = 20, all values that are within this bucket will be replaced with "10-20". This can be used on data of type: double, long. If the bound Value type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. type GooglePrivacyDlpV2FixedSizeBucketingConfigOutput struct{ *pulumi.OutputState } @@ -9125,6 +10500,12 @@ func (o GooglePrivacyDlpV2FixedSizeBucketingConfigOutput) ToGooglePrivacyDlpV2Fi }).(GooglePrivacyDlpV2FixedSizeBucketingConfigPtrOutput) } +func (o GooglePrivacyDlpV2FixedSizeBucketingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FixedSizeBucketingConfig] { + return pulumix.Output[GooglePrivacyDlpV2FixedSizeBucketingConfig]{ + OutputState: o.OutputState, + } +} + // Size of each bucket (except for minimum and maximum buckets). So if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. func (o GooglePrivacyDlpV2FixedSizeBucketingConfigOutput) BucketSize() pulumi.Float64Output { return o.ApplyT(func(v GooglePrivacyDlpV2FixedSizeBucketingConfig) float64 { return v.BucketSize }).(pulumi.Float64Output) @@ -9154,6 +10535,12 @@ func (o GooglePrivacyDlpV2FixedSizeBucketingConfigPtrOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2FixedSizeBucketingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2FixedSizeBucketingConfig] { + return pulumix.Output[*GooglePrivacyDlpV2FixedSizeBucketingConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2FixedSizeBucketingConfigPtrOutput) Elem() GooglePrivacyDlpV2FixedSizeBucketingConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2FixedSizeBucketingConfig) GooglePrivacyDlpV2FixedSizeBucketingConfig { if v != nil { @@ -9219,6 +10606,12 @@ func (o GooglePrivacyDlpV2FixedSizeBucketingConfigResponseOutput) ToGooglePrivac return o } +func (o GooglePrivacyDlpV2FixedSizeBucketingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2FixedSizeBucketingConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2FixedSizeBucketingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Size of each bucket (except for minimum and maximum buckets). So if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. func (o GooglePrivacyDlpV2FixedSizeBucketingConfigResponseOutput) BucketSize() pulumi.Float64Output { return o.ApplyT(func(v GooglePrivacyDlpV2FixedSizeBucketingConfigResponse) float64 { return v.BucketSize }).(pulumi.Float64Output) @@ -9281,6 +10674,12 @@ func (i GooglePrivacyDlpV2HotwordRuleArgs) ToGooglePrivacyDlpV2HotwordRuleOutput return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2HotwordRuleOutput) } +func (i GooglePrivacyDlpV2HotwordRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2HotwordRule] { + return pulumix.Output[GooglePrivacyDlpV2HotwordRule]{ + OutputState: i.ToGooglePrivacyDlpV2HotwordRuleOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2HotwordRuleArgs) ToGooglePrivacyDlpV2HotwordRulePtrOutput() GooglePrivacyDlpV2HotwordRulePtrOutput { return i.ToGooglePrivacyDlpV2HotwordRulePtrOutputWithContext(context.Background()) } @@ -9322,6 +10721,12 @@ func (i *googlePrivacyDlpV2HotwordRulePtrType) ToGooglePrivacyDlpV2HotwordRulePt return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2HotwordRulePtrOutput) } +func (i *googlePrivacyDlpV2HotwordRulePtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2HotwordRule] { + return pulumix.Output[*GooglePrivacyDlpV2HotwordRule]{ + OutputState: i.ToGooglePrivacyDlpV2HotwordRulePtrOutputWithContext(ctx).OutputState, + } +} + // The rule that adjusts the likelihood of findings within a certain proximity of hotwords. type GooglePrivacyDlpV2HotwordRuleOutput struct{ *pulumi.OutputState } @@ -9347,6 +10752,12 @@ func (o GooglePrivacyDlpV2HotwordRuleOutput) ToGooglePrivacyDlpV2HotwordRulePtrO }).(GooglePrivacyDlpV2HotwordRulePtrOutput) } +func (o GooglePrivacyDlpV2HotwordRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2HotwordRule] { + return pulumix.Output[GooglePrivacyDlpV2HotwordRule]{ + OutputState: o.OutputState, + } +} + // Regular expression pattern defining what qualifies as a hotword. func (o GooglePrivacyDlpV2HotwordRuleOutput) HotwordRegex() GooglePrivacyDlpV2RegexPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2HotwordRule) *GooglePrivacyDlpV2Regex { return v.HotwordRegex }).(GooglePrivacyDlpV2RegexPtrOutput) @@ -9378,6 +10789,12 @@ func (o GooglePrivacyDlpV2HotwordRulePtrOutput) ToGooglePrivacyDlpV2HotwordRuleP return o } +func (o GooglePrivacyDlpV2HotwordRulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2HotwordRule] { + return pulumix.Output[*GooglePrivacyDlpV2HotwordRule]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2HotwordRulePtrOutput) Elem() GooglePrivacyDlpV2HotwordRuleOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2HotwordRule) GooglePrivacyDlpV2HotwordRule { if v != nil { @@ -9443,6 +10860,12 @@ func (o GooglePrivacyDlpV2HotwordRuleResponseOutput) ToGooglePrivacyDlpV2Hotword return o } +func (o GooglePrivacyDlpV2HotwordRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2HotwordRuleResponse] { + return pulumix.Output[GooglePrivacyDlpV2HotwordRuleResponse]{ + OutputState: o.OutputState, + } +} + // Regular expression pattern defining what qualifies as a hotword. func (o GooglePrivacyDlpV2HotwordRuleResponseOutput) HotwordRegex() GooglePrivacyDlpV2RegexResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2HotwordRuleResponse) GooglePrivacyDlpV2RegexResponse { return v.HotwordRegex }).(GooglePrivacyDlpV2RegexResponseOutput) @@ -9485,6 +10908,12 @@ func (o GooglePrivacyDlpV2HybridInspectStatisticsResponseOutput) ToGooglePrivacy return o } +func (o GooglePrivacyDlpV2HybridInspectStatisticsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2HybridInspectStatisticsResponse] { + return pulumix.Output[GooglePrivacyDlpV2HybridInspectStatisticsResponse]{ + OutputState: o.OutputState, + } +} + // The number of hybrid inspection requests aborted because the job ran out of quota or was ended before they could be processed. func (o GooglePrivacyDlpV2HybridInspectStatisticsResponseOutput) AbortedCount() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2HybridInspectStatisticsResponse) string { return v.AbortedCount }).(pulumi.StringOutput) @@ -9547,6 +10976,12 @@ func (i GooglePrivacyDlpV2HybridOptionsArgs) ToGooglePrivacyDlpV2HybridOptionsOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2HybridOptionsOutput) } +func (i GooglePrivacyDlpV2HybridOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2HybridOptions] { + return pulumix.Output[GooglePrivacyDlpV2HybridOptions]{ + OutputState: i.ToGooglePrivacyDlpV2HybridOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2HybridOptionsArgs) ToGooglePrivacyDlpV2HybridOptionsPtrOutput() GooglePrivacyDlpV2HybridOptionsPtrOutput { return i.ToGooglePrivacyDlpV2HybridOptionsPtrOutputWithContext(context.Background()) } @@ -9588,6 +11023,12 @@ func (i *googlePrivacyDlpV2HybridOptionsPtrType) ToGooglePrivacyDlpV2HybridOptio return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2HybridOptionsPtrOutput) } +func (i *googlePrivacyDlpV2HybridOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2HybridOptions] { + return pulumix.Output[*GooglePrivacyDlpV2HybridOptions]{ + OutputState: i.ToGooglePrivacyDlpV2HybridOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration to control jobs where the content being inspected is outside of Google Cloud Platform. type GooglePrivacyDlpV2HybridOptionsOutput struct{ *pulumi.OutputState } @@ -9613,6 +11054,12 @@ func (o GooglePrivacyDlpV2HybridOptionsOutput) ToGooglePrivacyDlpV2HybridOptions }).(GooglePrivacyDlpV2HybridOptionsPtrOutput) } +func (o GooglePrivacyDlpV2HybridOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2HybridOptions] { + return pulumix.Output[GooglePrivacyDlpV2HybridOptions]{ + OutputState: o.OutputState, + } +} + // A short description of where the data is coming from. Will be stored once in the job. 256 max length. func (o GooglePrivacyDlpV2HybridOptionsOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2HybridOptions) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -9647,6 +11094,12 @@ func (o GooglePrivacyDlpV2HybridOptionsPtrOutput) ToGooglePrivacyDlpV2HybridOpti return o } +func (o GooglePrivacyDlpV2HybridOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2HybridOptions] { + return pulumix.Output[*GooglePrivacyDlpV2HybridOptions]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2HybridOptionsPtrOutput) Elem() GooglePrivacyDlpV2HybridOptionsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2HybridOptions) GooglePrivacyDlpV2HybridOptions { if v != nil { @@ -9724,6 +11177,12 @@ func (o GooglePrivacyDlpV2HybridOptionsResponseOutput) ToGooglePrivacyDlpV2Hybri return o } +func (o GooglePrivacyDlpV2HybridOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2HybridOptionsResponse] { + return pulumix.Output[GooglePrivacyDlpV2HybridOptionsResponse]{ + OutputState: o.OutputState, + } +} + // A short description of where the data is coming from. Will be stored once in the job. 256 max length. func (o GooglePrivacyDlpV2HybridOptionsResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2HybridOptionsResponse) string { return v.Description }).(pulumi.StringOutput) @@ -9793,6 +11252,12 @@ func (i GooglePrivacyDlpV2ImageTransformationArgs) ToGooglePrivacyDlpV2ImageTran return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ImageTransformationOutput) } +func (i GooglePrivacyDlpV2ImageTransformationArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ImageTransformation] { + return pulumix.Output[GooglePrivacyDlpV2ImageTransformation]{ + OutputState: i.ToGooglePrivacyDlpV2ImageTransformationOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2ImageTransformationArrayInput is an input type that accepts GooglePrivacyDlpV2ImageTransformationArray and GooglePrivacyDlpV2ImageTransformationArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2ImageTransformationArrayInput` via: // @@ -9818,6 +11283,12 @@ func (i GooglePrivacyDlpV2ImageTransformationArray) ToGooglePrivacyDlpV2ImageTra return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ImageTransformationArrayOutput) } +func (i GooglePrivacyDlpV2ImageTransformationArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2ImageTransformation] { + return pulumix.Output[[]GooglePrivacyDlpV2ImageTransformation]{ + OutputState: i.ToGooglePrivacyDlpV2ImageTransformationArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for determining how redaction of images should occur. type GooglePrivacyDlpV2ImageTransformationOutput struct{ *pulumi.OutputState } @@ -9833,6 +11304,12 @@ func (o GooglePrivacyDlpV2ImageTransformationOutput) ToGooglePrivacyDlpV2ImageTr return o } +func (o GooglePrivacyDlpV2ImageTransformationOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ImageTransformation] { + return pulumix.Output[GooglePrivacyDlpV2ImageTransformation]{ + OutputState: o.OutputState, + } +} + // Apply transformation to all findings not specified in other ImageTransformation's selected_info_types. Only one instance is allowed within the ImageTransformations message. func (o GooglePrivacyDlpV2ImageTransformationOutput) AllInfoTypes() GooglePrivacyDlpV2AllInfoTypesPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ImageTransformation) *GooglePrivacyDlpV2AllInfoTypes { return v.AllInfoTypes }).(GooglePrivacyDlpV2AllInfoTypesPtrOutput) @@ -9869,6 +11346,12 @@ func (o GooglePrivacyDlpV2ImageTransformationArrayOutput) ToGooglePrivacyDlpV2Im return o } +func (o GooglePrivacyDlpV2ImageTransformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2ImageTransformation] { + return pulumix.Output[[]GooglePrivacyDlpV2ImageTransformation]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ImageTransformationArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2ImageTransformationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2ImageTransformation { return vs[0].([]GooglePrivacyDlpV2ImageTransformation)[vs[1].(int)] @@ -9902,6 +11385,12 @@ func (o GooglePrivacyDlpV2ImageTransformationResponseOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2ImageTransformationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ImageTransformationResponse] { + return pulumix.Output[GooglePrivacyDlpV2ImageTransformationResponse]{ + OutputState: o.OutputState, + } +} + // Apply transformation to all findings not specified in other ImageTransformation's selected_info_types. Only one instance is allowed within the ImageTransformations message. func (o GooglePrivacyDlpV2ImageTransformationResponseOutput) AllInfoTypes() GooglePrivacyDlpV2AllInfoTypesResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ImageTransformationResponse) GooglePrivacyDlpV2AllInfoTypesResponse { @@ -9944,6 +11433,12 @@ func (o GooglePrivacyDlpV2ImageTransformationResponseArrayOutput) ToGooglePrivac return o } +func (o GooglePrivacyDlpV2ImageTransformationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2ImageTransformationResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2ImageTransformationResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ImageTransformationResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2ImageTransformationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2ImageTransformationResponse { return vs[0].([]GooglePrivacyDlpV2ImageTransformationResponse)[vs[1].(int)] @@ -9983,6 +11478,12 @@ func (i GooglePrivacyDlpV2ImageTransformationsArgs) ToGooglePrivacyDlpV2ImageTra return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ImageTransformationsOutput) } +func (i GooglePrivacyDlpV2ImageTransformationsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ImageTransformations] { + return pulumix.Output[GooglePrivacyDlpV2ImageTransformations]{ + OutputState: i.ToGooglePrivacyDlpV2ImageTransformationsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ImageTransformationsArgs) ToGooglePrivacyDlpV2ImageTransformationsPtrOutput() GooglePrivacyDlpV2ImageTransformationsPtrOutput { return i.ToGooglePrivacyDlpV2ImageTransformationsPtrOutputWithContext(context.Background()) } @@ -10024,6 +11525,12 @@ func (i *googlePrivacyDlpV2ImageTransformationsPtrType) ToGooglePrivacyDlpV2Imag return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ImageTransformationsPtrOutput) } +func (i *googlePrivacyDlpV2ImageTransformationsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ImageTransformations] { + return pulumix.Output[*GooglePrivacyDlpV2ImageTransformations]{ + OutputState: i.ToGooglePrivacyDlpV2ImageTransformationsPtrOutputWithContext(ctx).OutputState, + } +} + // A type of transformation that is applied over images. type GooglePrivacyDlpV2ImageTransformationsOutput struct{ *pulumi.OutputState } @@ -10049,6 +11556,12 @@ func (o GooglePrivacyDlpV2ImageTransformationsOutput) ToGooglePrivacyDlpV2ImageT }).(GooglePrivacyDlpV2ImageTransformationsPtrOutput) } +func (o GooglePrivacyDlpV2ImageTransformationsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ImageTransformations] { + return pulumix.Output[GooglePrivacyDlpV2ImageTransformations]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ImageTransformationsOutput) Transforms() GooglePrivacyDlpV2ImageTransformationArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ImageTransformations) []GooglePrivacyDlpV2ImageTransformation { return v.Transforms @@ -10069,6 +11582,12 @@ func (o GooglePrivacyDlpV2ImageTransformationsPtrOutput) ToGooglePrivacyDlpV2Ima return o } +func (o GooglePrivacyDlpV2ImageTransformationsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ImageTransformations] { + return pulumix.Output[*GooglePrivacyDlpV2ImageTransformations]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ImageTransformationsPtrOutput) Elem() GooglePrivacyDlpV2ImageTransformationsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ImageTransformations) GooglePrivacyDlpV2ImageTransformations { if v != nil { @@ -10108,6 +11627,12 @@ func (o GooglePrivacyDlpV2ImageTransformationsResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2ImageTransformationsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ImageTransformationsResponse] { + return pulumix.Output[GooglePrivacyDlpV2ImageTransformationsResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ImageTransformationsResponseOutput) Transforms() GooglePrivacyDlpV2ImageTransformationResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ImageTransformationsResponse) []GooglePrivacyDlpV2ImageTransformationResponse { return v.Transforms @@ -10157,6 +11682,12 @@ func (i GooglePrivacyDlpV2InfoTypeArgs) ToGooglePrivacyDlpV2InfoTypeOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InfoTypeOutput) } +func (i GooglePrivacyDlpV2InfoTypeArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoType] { + return pulumix.Output[GooglePrivacyDlpV2InfoType]{ + OutputState: i.ToGooglePrivacyDlpV2InfoTypeOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2InfoTypeArgs) ToGooglePrivacyDlpV2InfoTypePtrOutput() GooglePrivacyDlpV2InfoTypePtrOutput { return i.ToGooglePrivacyDlpV2InfoTypePtrOutputWithContext(context.Background()) } @@ -10198,6 +11729,12 @@ func (i *googlePrivacyDlpV2InfoTypePtrType) ToGooglePrivacyDlpV2InfoTypePtrOutpu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InfoTypePtrOutput) } +func (i *googlePrivacyDlpV2InfoTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InfoType] { + return pulumix.Output[*GooglePrivacyDlpV2InfoType]{ + OutputState: i.ToGooglePrivacyDlpV2InfoTypePtrOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2InfoTypeArrayInput is an input type that accepts GooglePrivacyDlpV2InfoTypeArray and GooglePrivacyDlpV2InfoTypeArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2InfoTypeArrayInput` via: // @@ -10223,6 +11760,12 @@ func (i GooglePrivacyDlpV2InfoTypeArray) ToGooglePrivacyDlpV2InfoTypeArrayOutput return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InfoTypeArrayOutput) } +func (i GooglePrivacyDlpV2InfoTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InfoType] { + return pulumix.Output[[]GooglePrivacyDlpV2InfoType]{ + OutputState: i.ToGooglePrivacyDlpV2InfoTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Type of information detected by the API. type GooglePrivacyDlpV2InfoTypeOutput struct{ *pulumi.OutputState } @@ -10248,6 +11791,12 @@ func (o GooglePrivacyDlpV2InfoTypeOutput) ToGooglePrivacyDlpV2InfoTypePtrOutputW }).(GooglePrivacyDlpV2InfoTypePtrOutput) } +func (o GooglePrivacyDlpV2InfoTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoType] { + return pulumix.Output[GooglePrivacyDlpV2InfoType]{ + OutputState: o.OutputState, + } +} + // Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`. func (o GooglePrivacyDlpV2InfoTypeOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InfoType) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -10277,6 +11826,12 @@ func (o GooglePrivacyDlpV2InfoTypePtrOutput) ToGooglePrivacyDlpV2InfoTypePtrOutp return o } +func (o GooglePrivacyDlpV2InfoTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InfoType] { + return pulumix.Output[*GooglePrivacyDlpV2InfoType]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InfoTypePtrOutput) Elem() GooglePrivacyDlpV2InfoTypeOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2InfoType) GooglePrivacyDlpV2InfoType { if v != nil { @@ -10331,6 +11886,12 @@ func (o GooglePrivacyDlpV2InfoTypeArrayOutput) ToGooglePrivacyDlpV2InfoTypeArray return o } +func (o GooglePrivacyDlpV2InfoTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InfoType] { + return pulumix.Output[[]GooglePrivacyDlpV2InfoType]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InfoTypeArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InfoTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InfoType { return vs[0].([]GooglePrivacyDlpV2InfoType)[vs[1].(int)] @@ -10376,6 +11937,12 @@ func (i GooglePrivacyDlpV2InfoTypeLimitArgs) ToGooglePrivacyDlpV2InfoTypeLimitOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InfoTypeLimitOutput) } +func (i GooglePrivacyDlpV2InfoTypeLimitArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeLimit] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeLimit]{ + OutputState: i.ToGooglePrivacyDlpV2InfoTypeLimitOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2InfoTypeLimitArrayInput is an input type that accepts GooglePrivacyDlpV2InfoTypeLimitArray and GooglePrivacyDlpV2InfoTypeLimitArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2InfoTypeLimitArrayInput` via: // @@ -10401,6 +11968,12 @@ func (i GooglePrivacyDlpV2InfoTypeLimitArray) ToGooglePrivacyDlpV2InfoTypeLimitA return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InfoTypeLimitArrayOutput) } +func (i GooglePrivacyDlpV2InfoTypeLimitArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InfoTypeLimit] { + return pulumix.Output[[]GooglePrivacyDlpV2InfoTypeLimit]{ + OutputState: i.ToGooglePrivacyDlpV2InfoTypeLimitArrayOutputWithContext(ctx).OutputState, + } +} + // Max findings configuration per infoType, per content item or long running DlpJob. type GooglePrivacyDlpV2InfoTypeLimitOutput struct{ *pulumi.OutputState } @@ -10416,6 +11989,12 @@ func (o GooglePrivacyDlpV2InfoTypeLimitOutput) ToGooglePrivacyDlpV2InfoTypeLimit return o } +func (o GooglePrivacyDlpV2InfoTypeLimitOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeLimit] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeLimit]{ + OutputState: o.OutputState, + } +} + // Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit. func (o GooglePrivacyDlpV2InfoTypeLimitOutput) InfoType() GooglePrivacyDlpV2InfoTypePtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InfoTypeLimit) *GooglePrivacyDlpV2InfoType { return v.InfoType }).(GooglePrivacyDlpV2InfoTypePtrOutput) @@ -10440,6 +12019,12 @@ func (o GooglePrivacyDlpV2InfoTypeLimitArrayOutput) ToGooglePrivacyDlpV2InfoType return o } +func (o GooglePrivacyDlpV2InfoTypeLimitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InfoTypeLimit] { + return pulumix.Output[[]GooglePrivacyDlpV2InfoTypeLimit]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InfoTypeLimitArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InfoTypeLimitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InfoTypeLimit { return vs[0].([]GooglePrivacyDlpV2InfoTypeLimit)[vs[1].(int)] @@ -10469,6 +12054,12 @@ func (o GooglePrivacyDlpV2InfoTypeLimitResponseOutput) ToGooglePrivacyDlpV2InfoT return o } +func (o GooglePrivacyDlpV2InfoTypeLimitResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeLimitResponse] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeLimitResponse]{ + OutputState: o.OutputState, + } +} + // Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit. func (o GooglePrivacyDlpV2InfoTypeLimitResponseOutput) InfoType() GooglePrivacyDlpV2InfoTypeResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InfoTypeLimitResponse) GooglePrivacyDlpV2InfoTypeResponse { return v.InfoType }).(GooglePrivacyDlpV2InfoTypeResponseOutput) @@ -10493,6 +12084,12 @@ func (o GooglePrivacyDlpV2InfoTypeLimitResponseArrayOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2InfoTypeLimitResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InfoTypeLimitResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2InfoTypeLimitResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InfoTypeLimitResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InfoTypeLimitResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InfoTypeLimitResponse { return vs[0].([]GooglePrivacyDlpV2InfoTypeLimitResponse)[vs[1].(int)] @@ -10524,6 +12121,12 @@ func (o GooglePrivacyDlpV2InfoTypeResponseOutput) ToGooglePrivacyDlpV2InfoTypeRe return o } +func (o GooglePrivacyDlpV2InfoTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeResponse] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeResponse]{ + OutputState: o.OutputState, + } +} + // Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64}`. func (o GooglePrivacyDlpV2InfoTypeResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InfoTypeResponse) string { return v.Name }).(pulumi.StringOutput) @@ -10555,6 +12158,12 @@ func (o GooglePrivacyDlpV2InfoTypeResponseArrayOutput) ToGooglePrivacyDlpV2InfoT return o } +func (o GooglePrivacyDlpV2InfoTypeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InfoTypeResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2InfoTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InfoTypeResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InfoTypeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InfoTypeResponse { return vs[0].([]GooglePrivacyDlpV2InfoTypeResponse)[vs[1].(int)] @@ -10584,6 +12193,12 @@ func (o GooglePrivacyDlpV2InfoTypeStatsResponseOutput) ToGooglePrivacyDlpV2InfoT return o } +func (o GooglePrivacyDlpV2InfoTypeStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeStatsResponse] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeStatsResponse]{ + OutputState: o.OutputState, + } +} + // Number of findings for this infoType. func (o GooglePrivacyDlpV2InfoTypeStatsResponseOutput) Count() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InfoTypeStatsResponse) string { return v.Count }).(pulumi.StringOutput) @@ -10608,6 +12223,12 @@ func (o GooglePrivacyDlpV2InfoTypeStatsResponseArrayOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2InfoTypeStatsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InfoTypeStatsResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2InfoTypeStatsResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InfoTypeStatsResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InfoTypeStatsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InfoTypeStatsResponse { return vs[0].([]GooglePrivacyDlpV2InfoTypeStatsResponse)[vs[1].(int)] @@ -10653,6 +12274,12 @@ func (i GooglePrivacyDlpV2InfoTypeTransformationArgs) ToGooglePrivacyDlpV2InfoTy return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InfoTypeTransformationOutput) } +func (i GooglePrivacyDlpV2InfoTypeTransformationArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformation] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformation]{ + OutputState: i.ToGooglePrivacyDlpV2InfoTypeTransformationOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2InfoTypeTransformationArrayInput is an input type that accepts GooglePrivacyDlpV2InfoTypeTransformationArray and GooglePrivacyDlpV2InfoTypeTransformationArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2InfoTypeTransformationArrayInput` via: // @@ -10678,6 +12305,12 @@ func (i GooglePrivacyDlpV2InfoTypeTransformationArray) ToGooglePrivacyDlpV2InfoT return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InfoTypeTransformationArrayOutput) } +func (i GooglePrivacyDlpV2InfoTypeTransformationArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InfoTypeTransformation] { + return pulumix.Output[[]GooglePrivacyDlpV2InfoTypeTransformation]{ + OutputState: i.ToGooglePrivacyDlpV2InfoTypeTransformationArrayOutputWithContext(ctx).OutputState, + } +} + // A transformation to apply to text that is identified as a specific info_type. type GooglePrivacyDlpV2InfoTypeTransformationOutput struct{ *pulumi.OutputState } @@ -10693,6 +12326,12 @@ func (o GooglePrivacyDlpV2InfoTypeTransformationOutput) ToGooglePrivacyDlpV2Info return o } +func (o GooglePrivacyDlpV2InfoTypeTransformationOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformation] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformation]{ + OutputState: o.OutputState, + } +} + // InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`. func (o GooglePrivacyDlpV2InfoTypeTransformationOutput) InfoTypes() GooglePrivacyDlpV2InfoTypeArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InfoTypeTransformation) []GooglePrivacyDlpV2InfoType { return v.InfoTypes }).(GooglePrivacyDlpV2InfoTypeArrayOutput) @@ -10719,6 +12358,12 @@ func (o GooglePrivacyDlpV2InfoTypeTransformationArrayOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2InfoTypeTransformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InfoTypeTransformation] { + return pulumix.Output[[]GooglePrivacyDlpV2InfoTypeTransformation]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InfoTypeTransformationArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InfoTypeTransformationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InfoTypeTransformation { return vs[0].([]GooglePrivacyDlpV2InfoTypeTransformation)[vs[1].(int)] @@ -10748,6 +12393,12 @@ func (o GooglePrivacyDlpV2InfoTypeTransformationResponseOutput) ToGooglePrivacyD return o } +func (o GooglePrivacyDlpV2InfoTypeTransformationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformationResponse] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformationResponse]{ + OutputState: o.OutputState, + } +} + // InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`. func (o GooglePrivacyDlpV2InfoTypeTransformationResponseOutput) InfoTypes() GooglePrivacyDlpV2InfoTypeResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InfoTypeTransformationResponse) []GooglePrivacyDlpV2InfoTypeResponse { @@ -10776,6 +12427,12 @@ func (o GooglePrivacyDlpV2InfoTypeTransformationResponseArrayOutput) ToGooglePri return o } +func (o GooglePrivacyDlpV2InfoTypeTransformationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InfoTypeTransformationResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2InfoTypeTransformationResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InfoTypeTransformationResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InfoTypeTransformationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InfoTypeTransformationResponse { return vs[0].([]GooglePrivacyDlpV2InfoTypeTransformationResponse)[vs[1].(int)] @@ -10817,6 +12474,12 @@ func (i GooglePrivacyDlpV2InfoTypeTransformationsArgs) ToGooglePrivacyDlpV2InfoT return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InfoTypeTransformationsOutput) } +func (i GooglePrivacyDlpV2InfoTypeTransformationsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformations] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformations]{ + OutputState: i.ToGooglePrivacyDlpV2InfoTypeTransformationsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2InfoTypeTransformationsArgs) ToGooglePrivacyDlpV2InfoTypeTransformationsPtrOutput() GooglePrivacyDlpV2InfoTypeTransformationsPtrOutput { return i.ToGooglePrivacyDlpV2InfoTypeTransformationsPtrOutputWithContext(context.Background()) } @@ -10858,6 +12521,12 @@ func (i *googlePrivacyDlpV2InfoTypeTransformationsPtrType) ToGooglePrivacyDlpV2I return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InfoTypeTransformationsPtrOutput) } +func (i *googlePrivacyDlpV2InfoTypeTransformationsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InfoTypeTransformations] { + return pulumix.Output[*GooglePrivacyDlpV2InfoTypeTransformations]{ + OutputState: i.ToGooglePrivacyDlpV2InfoTypeTransformationsPtrOutputWithContext(ctx).OutputState, + } +} + // A type of transformation that will scan unstructured text and apply various `PrimitiveTransformation`s to each finding, where the transformation is applied to only values that were identified as a specific info_type. type GooglePrivacyDlpV2InfoTypeTransformationsOutput struct{ *pulumi.OutputState } @@ -10883,6 +12552,12 @@ func (o GooglePrivacyDlpV2InfoTypeTransformationsOutput) ToGooglePrivacyDlpV2Inf }).(GooglePrivacyDlpV2InfoTypeTransformationsPtrOutput) } +func (o GooglePrivacyDlpV2InfoTypeTransformationsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformations] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformations]{ + OutputState: o.OutputState, + } +} + // Transformation for each infoType. Cannot specify more than one for a given infoType. func (o GooglePrivacyDlpV2InfoTypeTransformationsOutput) Transformations() GooglePrivacyDlpV2InfoTypeTransformationArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InfoTypeTransformations) []GooglePrivacyDlpV2InfoTypeTransformation { @@ -10904,6 +12579,12 @@ func (o GooglePrivacyDlpV2InfoTypeTransformationsPtrOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2InfoTypeTransformationsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InfoTypeTransformations] { + return pulumix.Output[*GooglePrivacyDlpV2InfoTypeTransformations]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InfoTypeTransformationsPtrOutput) Elem() GooglePrivacyDlpV2InfoTypeTransformationsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2InfoTypeTransformations) GooglePrivacyDlpV2InfoTypeTransformations { if v != nil { @@ -10945,6 +12626,12 @@ func (o GooglePrivacyDlpV2InfoTypeTransformationsResponseOutput) ToGooglePrivacy return o } +func (o GooglePrivacyDlpV2InfoTypeTransformationsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformationsResponse] { + return pulumix.Output[GooglePrivacyDlpV2InfoTypeTransformationsResponse]{ + OutputState: o.OutputState, + } +} + // Transformation for each infoType. Cannot specify more than one for a given infoType. func (o GooglePrivacyDlpV2InfoTypeTransformationsResponseOutput) Transformations() GooglePrivacyDlpV2InfoTypeTransformationResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InfoTypeTransformationsResponse) []GooglePrivacyDlpV2InfoTypeTransformationResponse { @@ -11019,6 +12706,12 @@ func (i GooglePrivacyDlpV2InspectConfigArgs) ToGooglePrivacyDlpV2InspectConfigOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InspectConfigOutput) } +func (i GooglePrivacyDlpV2InspectConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectConfig] { + return pulumix.Output[GooglePrivacyDlpV2InspectConfig]{ + OutputState: i.ToGooglePrivacyDlpV2InspectConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2InspectConfigArgs) ToGooglePrivacyDlpV2InspectConfigPtrOutput() GooglePrivacyDlpV2InspectConfigPtrOutput { return i.ToGooglePrivacyDlpV2InspectConfigPtrOutputWithContext(context.Background()) } @@ -11060,6 +12753,12 @@ func (i *googlePrivacyDlpV2InspectConfigPtrType) ToGooglePrivacyDlpV2InspectConf return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InspectConfigPtrOutput) } +func (i *googlePrivacyDlpV2InspectConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InspectConfig] { + return pulumix.Output[*GooglePrivacyDlpV2InspectConfig]{ + OutputState: i.ToGooglePrivacyDlpV2InspectConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used. type GooglePrivacyDlpV2InspectConfigOutput struct{ *pulumi.OutputState } @@ -11085,6 +12784,12 @@ func (o GooglePrivacyDlpV2InspectConfigOutput) ToGooglePrivacyDlpV2InspectConfig }).(GooglePrivacyDlpV2InspectConfigPtrOutput) } +func (o GooglePrivacyDlpV2InspectConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectConfig] { + return pulumix.Output[GooglePrivacyDlpV2InspectConfig]{ + OutputState: o.OutputState, + } +} + // Deprecated and unused. // // Deprecated: Deprecated and unused. @@ -11145,6 +12850,12 @@ func (o GooglePrivacyDlpV2InspectConfigPtrOutput) ToGooglePrivacyDlpV2InspectCon return o } +func (o GooglePrivacyDlpV2InspectConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InspectConfig] { + return pulumix.Output[*GooglePrivacyDlpV2InspectConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectConfigPtrOutput) Elem() GooglePrivacyDlpV2InspectConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2InspectConfig) GooglePrivacyDlpV2InspectConfig { if v != nil { @@ -11274,6 +12985,12 @@ func (o GooglePrivacyDlpV2InspectConfigResponseOutput) ToGooglePrivacyDlpV2Inspe return o } +func (o GooglePrivacyDlpV2InspectConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2InspectConfigResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated and unused. // // Deprecated: Deprecated and unused. @@ -11347,6 +13064,12 @@ func (o GooglePrivacyDlpV2InspectDataSourceDetailsResponseOutput) ToGooglePrivac return o } +func (o GooglePrivacyDlpV2InspectDataSourceDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectDataSourceDetailsResponse] { + return pulumix.Output[GooglePrivacyDlpV2InspectDataSourceDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The configuration used for this job. func (o GooglePrivacyDlpV2InspectDataSourceDetailsResponseOutput) RequestedOptions() GooglePrivacyDlpV2RequestedOptionsResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InspectDataSourceDetailsResponse) GooglePrivacyDlpV2RequestedOptionsResponse { @@ -11408,6 +13131,12 @@ func (i GooglePrivacyDlpV2InspectJobConfigArgs) ToGooglePrivacyDlpV2InspectJobCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InspectJobConfigOutput) } +func (i GooglePrivacyDlpV2InspectJobConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectJobConfig] { + return pulumix.Output[GooglePrivacyDlpV2InspectJobConfig]{ + OutputState: i.ToGooglePrivacyDlpV2InspectJobConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2InspectJobConfigArgs) ToGooglePrivacyDlpV2InspectJobConfigPtrOutput() GooglePrivacyDlpV2InspectJobConfigPtrOutput { return i.ToGooglePrivacyDlpV2InspectJobConfigPtrOutputWithContext(context.Background()) } @@ -11449,6 +13178,12 @@ func (i *googlePrivacyDlpV2InspectJobConfigPtrType) ToGooglePrivacyDlpV2InspectJ return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InspectJobConfigPtrOutput) } +func (i *googlePrivacyDlpV2InspectJobConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InspectJobConfig] { + return pulumix.Output[*GooglePrivacyDlpV2InspectJobConfig]{ + OutputState: i.ToGooglePrivacyDlpV2InspectJobConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Controls what and how to inspect for findings. type GooglePrivacyDlpV2InspectJobConfigOutput struct{ *pulumi.OutputState } @@ -11474,6 +13209,12 @@ func (o GooglePrivacyDlpV2InspectJobConfigOutput) ToGooglePrivacyDlpV2InspectJob }).(GooglePrivacyDlpV2InspectJobConfigPtrOutput) } +func (o GooglePrivacyDlpV2InspectJobConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectJobConfig] { + return pulumix.Output[GooglePrivacyDlpV2InspectJobConfig]{ + OutputState: o.OutputState, + } +} + // Actions to execute at the completion of the job. func (o GooglePrivacyDlpV2InspectJobConfigOutput) Actions() GooglePrivacyDlpV2ActionArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InspectJobConfig) []GooglePrivacyDlpV2Action { return v.Actions }).(GooglePrivacyDlpV2ActionArrayOutput) @@ -11508,6 +13249,12 @@ func (o GooglePrivacyDlpV2InspectJobConfigPtrOutput) ToGooglePrivacyDlpV2Inspect return o } +func (o GooglePrivacyDlpV2InspectJobConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2InspectJobConfig] { + return pulumix.Output[*GooglePrivacyDlpV2InspectJobConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectJobConfigPtrOutput) Elem() GooglePrivacyDlpV2InspectJobConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2InspectJobConfig) GooglePrivacyDlpV2InspectJobConfig { if v != nil { @@ -11585,6 +13332,12 @@ func (o GooglePrivacyDlpV2InspectJobConfigResponseOutput) ToGooglePrivacyDlpV2In return o } +func (o GooglePrivacyDlpV2InspectJobConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectJobConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2InspectJobConfigResponse]{ + OutputState: o.OutputState, + } +} + // Actions to execute at the completion of the job. func (o GooglePrivacyDlpV2InspectJobConfigResponseOutput) Actions() GooglePrivacyDlpV2ActionResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InspectJobConfigResponse) []GooglePrivacyDlpV2ActionResponse { @@ -11642,6 +13395,12 @@ func (o GooglePrivacyDlpV2InspectTemplateResponseOutput) ToGooglePrivacyDlpV2Ins return o } +func (o GooglePrivacyDlpV2InspectTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectTemplateResponse] { + return pulumix.Output[GooglePrivacyDlpV2InspectTemplateResponse]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of an inspectTemplate. func (o GooglePrivacyDlpV2InspectTemplateResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InspectTemplateResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -11713,6 +13472,12 @@ func (i GooglePrivacyDlpV2InspectionRuleArgs) ToGooglePrivacyDlpV2InspectionRule return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InspectionRuleOutput) } +func (i GooglePrivacyDlpV2InspectionRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectionRule] { + return pulumix.Output[GooglePrivacyDlpV2InspectionRule]{ + OutputState: i.ToGooglePrivacyDlpV2InspectionRuleOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2InspectionRuleArrayInput is an input type that accepts GooglePrivacyDlpV2InspectionRuleArray and GooglePrivacyDlpV2InspectionRuleArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2InspectionRuleArrayInput` via: // @@ -11738,6 +13503,12 @@ func (i GooglePrivacyDlpV2InspectionRuleArray) ToGooglePrivacyDlpV2InspectionRul return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InspectionRuleArrayOutput) } +func (i GooglePrivacyDlpV2InspectionRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InspectionRule] { + return pulumix.Output[[]GooglePrivacyDlpV2InspectionRule]{ + OutputState: i.ToGooglePrivacyDlpV2InspectionRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A single inspection rule to be applied to infoTypes, specified in `InspectionRuleSet`. type GooglePrivacyDlpV2InspectionRuleOutput struct{ *pulumi.OutputState } @@ -11753,6 +13524,12 @@ func (o GooglePrivacyDlpV2InspectionRuleOutput) ToGooglePrivacyDlpV2InspectionRu return o } +func (o GooglePrivacyDlpV2InspectionRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectionRule] { + return pulumix.Output[GooglePrivacyDlpV2InspectionRule]{ + OutputState: o.OutputState, + } +} + // Exclusion rule. func (o GooglePrivacyDlpV2InspectionRuleOutput) ExclusionRule() GooglePrivacyDlpV2ExclusionRulePtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InspectionRule) *GooglePrivacyDlpV2ExclusionRule { return v.ExclusionRule }).(GooglePrivacyDlpV2ExclusionRulePtrOutput) @@ -11777,6 +13554,12 @@ func (o GooglePrivacyDlpV2InspectionRuleArrayOutput) ToGooglePrivacyDlpV2Inspect return o } +func (o GooglePrivacyDlpV2InspectionRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InspectionRule] { + return pulumix.Output[[]GooglePrivacyDlpV2InspectionRule]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectionRuleArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InspectionRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InspectionRule { return vs[0].([]GooglePrivacyDlpV2InspectionRule)[vs[1].(int)] @@ -11806,6 +13589,12 @@ func (o GooglePrivacyDlpV2InspectionRuleResponseOutput) ToGooglePrivacyDlpV2Insp return o } +func (o GooglePrivacyDlpV2InspectionRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectionRuleResponse] { + return pulumix.Output[GooglePrivacyDlpV2InspectionRuleResponse]{ + OutputState: o.OutputState, + } +} + // Exclusion rule. func (o GooglePrivacyDlpV2InspectionRuleResponseOutput) ExclusionRule() GooglePrivacyDlpV2ExclusionRuleResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InspectionRuleResponse) GooglePrivacyDlpV2ExclusionRuleResponse { @@ -11834,6 +13623,12 @@ func (o GooglePrivacyDlpV2InspectionRuleResponseArrayOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2InspectionRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InspectionRuleResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2InspectionRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectionRuleResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InspectionRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InspectionRuleResponse { return vs[0].([]GooglePrivacyDlpV2InspectionRuleResponse)[vs[1].(int)] @@ -11879,6 +13674,12 @@ func (i GooglePrivacyDlpV2InspectionRuleSetArgs) ToGooglePrivacyDlpV2InspectionR return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InspectionRuleSetOutput) } +func (i GooglePrivacyDlpV2InspectionRuleSetArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectionRuleSet] { + return pulumix.Output[GooglePrivacyDlpV2InspectionRuleSet]{ + OutputState: i.ToGooglePrivacyDlpV2InspectionRuleSetOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2InspectionRuleSetArrayInput is an input type that accepts GooglePrivacyDlpV2InspectionRuleSetArray and GooglePrivacyDlpV2InspectionRuleSetArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2InspectionRuleSetArrayInput` via: // @@ -11904,6 +13705,12 @@ func (i GooglePrivacyDlpV2InspectionRuleSetArray) ToGooglePrivacyDlpV2Inspection return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2InspectionRuleSetArrayOutput) } +func (i GooglePrivacyDlpV2InspectionRuleSetArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InspectionRuleSet] { + return pulumix.Output[[]GooglePrivacyDlpV2InspectionRuleSet]{ + OutputState: i.ToGooglePrivacyDlpV2InspectionRuleSetArrayOutputWithContext(ctx).OutputState, + } +} + // Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set. type GooglePrivacyDlpV2InspectionRuleSetOutput struct{ *pulumi.OutputState } @@ -11919,6 +13726,12 @@ func (o GooglePrivacyDlpV2InspectionRuleSetOutput) ToGooglePrivacyDlpV2Inspectio return o } +func (o GooglePrivacyDlpV2InspectionRuleSetOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectionRuleSet] { + return pulumix.Output[GooglePrivacyDlpV2InspectionRuleSet]{ + OutputState: o.OutputState, + } +} + // List of infoTypes this rule set is applied to. func (o GooglePrivacyDlpV2InspectionRuleSetOutput) InfoTypes() GooglePrivacyDlpV2InfoTypeArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InspectionRuleSet) []GooglePrivacyDlpV2InfoType { return v.InfoTypes }).(GooglePrivacyDlpV2InfoTypeArrayOutput) @@ -11943,6 +13756,12 @@ func (o GooglePrivacyDlpV2InspectionRuleSetArrayOutput) ToGooglePrivacyDlpV2Insp return o } +func (o GooglePrivacyDlpV2InspectionRuleSetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InspectionRuleSet] { + return pulumix.Output[[]GooglePrivacyDlpV2InspectionRuleSet]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectionRuleSetArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InspectionRuleSetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InspectionRuleSet { return vs[0].([]GooglePrivacyDlpV2InspectionRuleSet)[vs[1].(int)] @@ -11972,6 +13791,12 @@ func (o GooglePrivacyDlpV2InspectionRuleSetResponseOutput) ToGooglePrivacyDlpV2I return o } +func (o GooglePrivacyDlpV2InspectionRuleSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2InspectionRuleSetResponse] { + return pulumix.Output[GooglePrivacyDlpV2InspectionRuleSetResponse]{ + OutputState: o.OutputState, + } +} + // List of infoTypes this rule set is applied to. func (o GooglePrivacyDlpV2InspectionRuleSetResponseOutput) InfoTypes() GooglePrivacyDlpV2InfoTypeResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2InspectionRuleSetResponse) []GooglePrivacyDlpV2InfoTypeResponse { @@ -12000,6 +13825,12 @@ func (o GooglePrivacyDlpV2InspectionRuleSetResponseArrayOutput) ToGooglePrivacyD return o } +func (o GooglePrivacyDlpV2InspectionRuleSetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2InspectionRuleSetResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2InspectionRuleSetResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2InspectionRuleSetResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2InspectionRuleSetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2InspectionRuleSetResponse { return vs[0].([]GooglePrivacyDlpV2InspectionRuleSetResponse)[vs[1].(int)] @@ -12037,6 +13868,12 @@ func (i GooglePrivacyDlpV2JobNotificationEmailsArgs) ToGooglePrivacyDlpV2JobNoti return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2JobNotificationEmailsOutput) } +func (i GooglePrivacyDlpV2JobNotificationEmailsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2JobNotificationEmails] { + return pulumix.Output[GooglePrivacyDlpV2JobNotificationEmails]{ + OutputState: i.ToGooglePrivacyDlpV2JobNotificationEmailsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2JobNotificationEmailsArgs) ToGooglePrivacyDlpV2JobNotificationEmailsPtrOutput() GooglePrivacyDlpV2JobNotificationEmailsPtrOutput { return i.ToGooglePrivacyDlpV2JobNotificationEmailsPtrOutputWithContext(context.Background()) } @@ -12078,6 +13915,12 @@ func (i *googlePrivacyDlpV2JobNotificationEmailsPtrType) ToGooglePrivacyDlpV2Job return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2JobNotificationEmailsPtrOutput) } +func (i *googlePrivacyDlpV2JobNotificationEmailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2JobNotificationEmails] { + return pulumix.Output[*GooglePrivacyDlpV2JobNotificationEmails]{ + OutputState: i.ToGooglePrivacyDlpV2JobNotificationEmailsPtrOutputWithContext(ctx).OutputState, + } +} + // Sends an email when the job completes. The email goes to IAM project owners and technical [Essential Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). type GooglePrivacyDlpV2JobNotificationEmailsOutput struct{ *pulumi.OutputState } @@ -12103,6 +13946,12 @@ func (o GooglePrivacyDlpV2JobNotificationEmailsOutput) ToGooglePrivacyDlpV2JobNo }).(GooglePrivacyDlpV2JobNotificationEmailsPtrOutput) } +func (o GooglePrivacyDlpV2JobNotificationEmailsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2JobNotificationEmails] { + return pulumix.Output[GooglePrivacyDlpV2JobNotificationEmails]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2JobNotificationEmailsPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2JobNotificationEmailsPtrOutput) ElementType() reflect.Type { @@ -12117,6 +13966,12 @@ func (o GooglePrivacyDlpV2JobNotificationEmailsPtrOutput) ToGooglePrivacyDlpV2Jo return o } +func (o GooglePrivacyDlpV2JobNotificationEmailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2JobNotificationEmails] { + return pulumix.Output[*GooglePrivacyDlpV2JobNotificationEmails]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2JobNotificationEmailsPtrOutput) Elem() GooglePrivacyDlpV2JobNotificationEmailsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2JobNotificationEmails) GooglePrivacyDlpV2JobNotificationEmails { if v != nil { @@ -12146,6 +14001,12 @@ func (o GooglePrivacyDlpV2JobNotificationEmailsResponseOutput) ToGooglePrivacyDl return o } +func (o GooglePrivacyDlpV2JobNotificationEmailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2JobNotificationEmailsResponse] { + return pulumix.Output[GooglePrivacyDlpV2JobNotificationEmailsResponse]{ + OutputState: o.OutputState, + } +} + // k-anonymity metric, used for analysis of reidentification risk. type GooglePrivacyDlpV2KAnonymityConfig struct { // Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored. @@ -12185,6 +14046,12 @@ func (i GooglePrivacyDlpV2KAnonymityConfigArgs) ToGooglePrivacyDlpV2KAnonymityCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2KAnonymityConfigOutput) } +func (i GooglePrivacyDlpV2KAnonymityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KAnonymityConfig] { + return pulumix.Output[GooglePrivacyDlpV2KAnonymityConfig]{ + OutputState: i.ToGooglePrivacyDlpV2KAnonymityConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2KAnonymityConfigArgs) ToGooglePrivacyDlpV2KAnonymityConfigPtrOutput() GooglePrivacyDlpV2KAnonymityConfigPtrOutput { return i.ToGooglePrivacyDlpV2KAnonymityConfigPtrOutputWithContext(context.Background()) } @@ -12226,6 +14093,12 @@ func (i *googlePrivacyDlpV2KAnonymityConfigPtrType) ToGooglePrivacyDlpV2KAnonymi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2KAnonymityConfigPtrOutput) } +func (i *googlePrivacyDlpV2KAnonymityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2KAnonymityConfig] { + return pulumix.Output[*GooglePrivacyDlpV2KAnonymityConfig]{ + OutputState: i.ToGooglePrivacyDlpV2KAnonymityConfigPtrOutputWithContext(ctx).OutputState, + } +} + // k-anonymity metric, used for analysis of reidentification risk. type GooglePrivacyDlpV2KAnonymityConfigOutput struct{ *pulumi.OutputState } @@ -12251,6 +14124,12 @@ func (o GooglePrivacyDlpV2KAnonymityConfigOutput) ToGooglePrivacyDlpV2KAnonymity }).(GooglePrivacyDlpV2KAnonymityConfigPtrOutput) } +func (o GooglePrivacyDlpV2KAnonymityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KAnonymityConfig] { + return pulumix.Output[GooglePrivacyDlpV2KAnonymityConfig]{ + OutputState: o.OutputState, + } +} + // Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored. func (o GooglePrivacyDlpV2KAnonymityConfigOutput) EntityId() GooglePrivacyDlpV2EntityIdPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KAnonymityConfig) *GooglePrivacyDlpV2EntityId { return v.EntityId }).(GooglePrivacyDlpV2EntityIdPtrOutput) @@ -12275,6 +14154,12 @@ func (o GooglePrivacyDlpV2KAnonymityConfigPtrOutput) ToGooglePrivacyDlpV2KAnonym return o } +func (o GooglePrivacyDlpV2KAnonymityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2KAnonymityConfig] { + return pulumix.Output[*GooglePrivacyDlpV2KAnonymityConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2KAnonymityConfigPtrOutput) Elem() GooglePrivacyDlpV2KAnonymityConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2KAnonymityConfig) GooglePrivacyDlpV2KAnonymityConfig { if v != nil { @@ -12328,6 +14213,12 @@ func (o GooglePrivacyDlpV2KAnonymityConfigResponseOutput) ToGooglePrivacyDlpV2KA return o } +func (o GooglePrivacyDlpV2KAnonymityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KAnonymityConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2KAnonymityConfigResponse]{ + OutputState: o.OutputState, + } +} + // Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored. func (o GooglePrivacyDlpV2KAnonymityConfigResponseOutput) EntityId() GooglePrivacyDlpV2EntityIdResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KAnonymityConfigResponse) GooglePrivacyDlpV2EntityIdResponse { @@ -12365,6 +14256,12 @@ func (o GooglePrivacyDlpV2KAnonymityEquivalenceClassResponseOutput) ToGooglePriv return o } +func (o GooglePrivacyDlpV2KAnonymityEquivalenceClassResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KAnonymityEquivalenceClassResponse] { + return pulumix.Output[GooglePrivacyDlpV2KAnonymityEquivalenceClassResponse]{ + OutputState: o.OutputState, + } +} + // Size of the equivalence class, for example number of rows with the above set of values. func (o GooglePrivacyDlpV2KAnonymityEquivalenceClassResponseOutput) EquivalenceClassSize() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KAnonymityEquivalenceClassResponse) string { return v.EquivalenceClassSize }).(pulumi.StringOutput) @@ -12391,6 +14288,12 @@ func (o GooglePrivacyDlpV2KAnonymityEquivalenceClassResponseArrayOutput) ToGoogl return o } +func (o GooglePrivacyDlpV2KAnonymityEquivalenceClassResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2KAnonymityEquivalenceClassResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2KAnonymityEquivalenceClassResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2KAnonymityEquivalenceClassResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2KAnonymityEquivalenceClassResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2KAnonymityEquivalenceClassResponse { return vs[0].([]GooglePrivacyDlpV2KAnonymityEquivalenceClassResponse)[vs[1].(int)] @@ -12426,6 +14329,12 @@ func (o GooglePrivacyDlpV2KAnonymityHistogramBucketResponseOutput) ToGooglePriva return o } +func (o GooglePrivacyDlpV2KAnonymityHistogramBucketResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KAnonymityHistogramBucketResponse] { + return pulumix.Output[GooglePrivacyDlpV2KAnonymityHistogramBucketResponse]{ + OutputState: o.OutputState, + } +} + // Total number of equivalence classes in this bucket. func (o GooglePrivacyDlpV2KAnonymityHistogramBucketResponseOutput) BucketSize() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KAnonymityHistogramBucketResponse) string { return v.BucketSize }).(pulumi.StringOutput) @@ -12471,6 +14380,12 @@ func (o GooglePrivacyDlpV2KAnonymityHistogramBucketResponseArrayOutput) ToGoogle return o } +func (o GooglePrivacyDlpV2KAnonymityHistogramBucketResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2KAnonymityHistogramBucketResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2KAnonymityHistogramBucketResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2KAnonymityHistogramBucketResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2KAnonymityHistogramBucketResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2KAnonymityHistogramBucketResponse { return vs[0].([]GooglePrivacyDlpV2KAnonymityHistogramBucketResponse)[vs[1].(int)] @@ -12498,6 +14413,12 @@ func (o GooglePrivacyDlpV2KAnonymityResultResponseOutput) ToGooglePrivacyDlpV2KA return o } +func (o GooglePrivacyDlpV2KAnonymityResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KAnonymityResultResponse] { + return pulumix.Output[GooglePrivacyDlpV2KAnonymityResultResponse]{ + OutputState: o.OutputState, + } +} + // Histogram of k-anonymity equivalence classes. func (o GooglePrivacyDlpV2KAnonymityResultResponseOutput) EquivalenceClassHistogramBuckets() GooglePrivacyDlpV2KAnonymityHistogramBucketResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KAnonymityResultResponse) []GooglePrivacyDlpV2KAnonymityHistogramBucketResponse { @@ -12548,6 +14469,12 @@ func (i GooglePrivacyDlpV2KMapEstimationConfigArgs) ToGooglePrivacyDlpV2KMapEsti return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2KMapEstimationConfigOutput) } +func (i GooglePrivacyDlpV2KMapEstimationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KMapEstimationConfig] { + return pulumix.Output[GooglePrivacyDlpV2KMapEstimationConfig]{ + OutputState: i.ToGooglePrivacyDlpV2KMapEstimationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2KMapEstimationConfigArgs) ToGooglePrivacyDlpV2KMapEstimationConfigPtrOutput() GooglePrivacyDlpV2KMapEstimationConfigPtrOutput { return i.ToGooglePrivacyDlpV2KMapEstimationConfigPtrOutputWithContext(context.Background()) } @@ -12589,6 +14516,12 @@ func (i *googlePrivacyDlpV2KMapEstimationConfigPtrType) ToGooglePrivacyDlpV2KMap return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2KMapEstimationConfigPtrOutput) } +func (i *googlePrivacyDlpV2KMapEstimationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2KMapEstimationConfig] { + return pulumix.Output[*GooglePrivacyDlpV2KMapEstimationConfig]{ + OutputState: i.ToGooglePrivacyDlpV2KMapEstimationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Reidentifiability metric. This corresponds to a risk model similar to what is called "journalist risk" in the literature, except the attack dataset is statistically modeled instead of being perfectly known. This can be done using publicly available data (like the US Census), or using a custom statistical model (indicated as one or several BigQuery tables), or by extrapolating from the distribution of values in the input dataset. type GooglePrivacyDlpV2KMapEstimationConfigOutput struct{ *pulumi.OutputState } @@ -12614,6 +14547,12 @@ func (o GooglePrivacyDlpV2KMapEstimationConfigOutput) ToGooglePrivacyDlpV2KMapEs }).(GooglePrivacyDlpV2KMapEstimationConfigPtrOutput) } +func (o GooglePrivacyDlpV2KMapEstimationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KMapEstimationConfig] { + return pulumix.Output[GooglePrivacyDlpV2KMapEstimationConfig]{ + OutputState: o.OutputState, + } +} + // Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers column must appear in exactly one column of one auxiliary table. func (o GooglePrivacyDlpV2KMapEstimationConfigOutput) AuxiliaryTables() GooglePrivacyDlpV2AuxiliaryTableArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KMapEstimationConfig) []GooglePrivacyDlpV2AuxiliaryTable { @@ -12645,6 +14584,12 @@ func (o GooglePrivacyDlpV2KMapEstimationConfigPtrOutput) ToGooglePrivacyDlpV2KMa return o } +func (o GooglePrivacyDlpV2KMapEstimationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2KMapEstimationConfig] { + return pulumix.Output[*GooglePrivacyDlpV2KMapEstimationConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2KMapEstimationConfigPtrOutput) Elem() GooglePrivacyDlpV2KMapEstimationConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2KMapEstimationConfig) GooglePrivacyDlpV2KMapEstimationConfig { if v != nil { @@ -12710,6 +14655,12 @@ func (o GooglePrivacyDlpV2KMapEstimationConfigResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2KMapEstimationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KMapEstimationConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2KMapEstimationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers column must appear in exactly one column of one auxiliary table. func (o GooglePrivacyDlpV2KMapEstimationConfigResponseOutput) AuxiliaryTables() GooglePrivacyDlpV2AuxiliaryTableResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KMapEstimationConfigResponse) []GooglePrivacyDlpV2AuxiliaryTableResponse { @@ -12758,6 +14709,12 @@ func (o GooglePrivacyDlpV2KMapEstimationHistogramBucketResponseOutput) ToGoogleP return o } +func (o GooglePrivacyDlpV2KMapEstimationHistogramBucketResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KMapEstimationHistogramBucketResponse] { + return pulumix.Output[GooglePrivacyDlpV2KMapEstimationHistogramBucketResponse]{ + OutputState: o.OutputState, + } +} + // Number of records within these anonymity bounds. func (o GooglePrivacyDlpV2KMapEstimationHistogramBucketResponseOutput) BucketSize() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KMapEstimationHistogramBucketResponse) string { return v.BucketSize }).(pulumi.StringOutput) @@ -12799,6 +14756,12 @@ func (o GooglePrivacyDlpV2KMapEstimationHistogramBucketResponseArrayOutput) ToGo return o } +func (o GooglePrivacyDlpV2KMapEstimationHistogramBucketResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2KMapEstimationHistogramBucketResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2KMapEstimationHistogramBucketResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2KMapEstimationHistogramBucketResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2KMapEstimationHistogramBucketResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2KMapEstimationHistogramBucketResponse { return vs[0].([]GooglePrivacyDlpV2KMapEstimationHistogramBucketResponse)[vs[1].(int)] @@ -12828,6 +14791,12 @@ func (o GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponseOutput) ToGooglePri return o } +func (o GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponse] { + return pulumix.Output[GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponse]{ + OutputState: o.OutputState, + } +} + // The estimated anonymity for these quasi-identifier values. func (o GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponseOutput) EstimatedAnonymity() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponse) string { return v.EstimatedAnonymity }).(pulumi.StringOutput) @@ -12854,6 +14823,12 @@ func (o GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponseArrayOutput) ToGoog return o } +func (o GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponse { return vs[0].([]GooglePrivacyDlpV2KMapEstimationQuasiIdValuesResponse)[vs[1].(int)] @@ -12881,6 +14856,12 @@ func (o GooglePrivacyDlpV2KMapEstimationResultResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2KMapEstimationResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KMapEstimationResultResponse] { + return pulumix.Output[GooglePrivacyDlpV2KMapEstimationResultResponse]{ + OutputState: o.OutputState, + } +} + // The intervals [min_anonymity, max_anonymity] do not overlap. If a value doesn't correspond to any such interval, the associated frequency is zero. For example, the following records: {min_anonymity: 1, max_anonymity: 1, frequency: 17} {min_anonymity: 2, max_anonymity: 3, frequency: 42} {min_anonymity: 5, max_anonymity: 10, frequency: 99} mean that there are no record with an estimated anonymity of 4, 5, or larger than 10. func (o GooglePrivacyDlpV2KMapEstimationResultResponseOutput) KMapEstimationHistogram() GooglePrivacyDlpV2KMapEstimationHistogramBucketResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KMapEstimationResultResponse) []GooglePrivacyDlpV2KMapEstimationHistogramBucketResponse { @@ -12923,6 +14904,12 @@ func (i GooglePrivacyDlpV2KindExpressionArgs) ToGooglePrivacyDlpV2KindExpression return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2KindExpressionOutput) } +func (i GooglePrivacyDlpV2KindExpressionArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KindExpression] { + return pulumix.Output[GooglePrivacyDlpV2KindExpression]{ + OutputState: i.ToGooglePrivacyDlpV2KindExpressionOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2KindExpressionArgs) ToGooglePrivacyDlpV2KindExpressionPtrOutput() GooglePrivacyDlpV2KindExpressionPtrOutput { return i.ToGooglePrivacyDlpV2KindExpressionPtrOutputWithContext(context.Background()) } @@ -12964,6 +14951,12 @@ func (i *googlePrivacyDlpV2KindExpressionPtrType) ToGooglePrivacyDlpV2KindExpres return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2KindExpressionPtrOutput) } +func (i *googlePrivacyDlpV2KindExpressionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2KindExpression] { + return pulumix.Output[*GooglePrivacyDlpV2KindExpression]{ + OutputState: i.ToGooglePrivacyDlpV2KindExpressionPtrOutputWithContext(ctx).OutputState, + } +} + // A representation of a Datastore kind. type GooglePrivacyDlpV2KindExpressionOutput struct{ *pulumi.OutputState } @@ -12989,6 +14982,12 @@ func (o GooglePrivacyDlpV2KindExpressionOutput) ToGooglePrivacyDlpV2KindExpressi }).(GooglePrivacyDlpV2KindExpressionPtrOutput) } +func (o GooglePrivacyDlpV2KindExpressionOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KindExpression] { + return pulumix.Output[GooglePrivacyDlpV2KindExpression]{ + OutputState: o.OutputState, + } +} + // The name of the kind. func (o GooglePrivacyDlpV2KindExpressionOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KindExpression) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -13008,6 +15007,12 @@ func (o GooglePrivacyDlpV2KindExpressionPtrOutput) ToGooglePrivacyDlpV2KindExpre return o } +func (o GooglePrivacyDlpV2KindExpressionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2KindExpression] { + return pulumix.Output[*GooglePrivacyDlpV2KindExpression]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2KindExpressionPtrOutput) Elem() GooglePrivacyDlpV2KindExpressionOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2KindExpression) GooglePrivacyDlpV2KindExpression { if v != nil { @@ -13049,6 +15054,12 @@ func (o GooglePrivacyDlpV2KindExpressionResponseOutput) ToGooglePrivacyDlpV2Kind return o } +func (o GooglePrivacyDlpV2KindExpressionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KindExpressionResponse] { + return pulumix.Output[GooglePrivacyDlpV2KindExpressionResponse]{ + OutputState: o.OutputState, + } +} + // The name of the kind. func (o GooglePrivacyDlpV2KindExpressionResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KindExpressionResponse) string { return v.Name }).(pulumi.StringOutput) @@ -13093,6 +15104,12 @@ func (i GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs) ToGooglePrivacyDlpV2KmsWrappe return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2KmsWrappedCryptoKeyOutput) } +func (i GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KmsWrappedCryptoKey] { + return pulumix.Output[GooglePrivacyDlpV2KmsWrappedCryptoKey]{ + OutputState: i.ToGooglePrivacyDlpV2KmsWrappedCryptoKeyOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2KmsWrappedCryptoKeyArgs) ToGooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutput() GooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutput { return i.ToGooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutputWithContext(context.Background()) } @@ -13134,6 +15151,12 @@ func (i *googlePrivacyDlpV2KmsWrappedCryptoKeyPtrType) ToGooglePrivacyDlpV2KmsWr return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutput) } +func (i *googlePrivacyDlpV2KmsWrappedCryptoKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2KmsWrappedCryptoKey] { + return pulumix.Output[*GooglePrivacyDlpV2KmsWrappedCryptoKey]{ + OutputState: i.ToGooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a KMS-wrapped crypto key: dlp.kms.encrypt For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). Note: When you use Cloud KMS for cryptographic operations, [charges apply](https://cloud.google.com/kms/pricing). type GooglePrivacyDlpV2KmsWrappedCryptoKeyOutput struct{ *pulumi.OutputState } @@ -13159,6 +15182,12 @@ func (o GooglePrivacyDlpV2KmsWrappedCryptoKeyOutput) ToGooglePrivacyDlpV2KmsWrap }).(GooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutput) } +func (o GooglePrivacyDlpV2KmsWrappedCryptoKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KmsWrappedCryptoKey] { + return pulumix.Output[GooglePrivacyDlpV2KmsWrappedCryptoKey]{ + OutputState: o.OutputState, + } +} + // The resource name of the KMS CryptoKey to use for unwrapping. func (o GooglePrivacyDlpV2KmsWrappedCryptoKeyOutput) CryptoKeyName() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KmsWrappedCryptoKey) string { return v.CryptoKeyName }).(pulumi.StringOutput) @@ -13183,6 +15212,12 @@ func (o GooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutput) ToGooglePrivacyDlpV2KmsW return o } +func (o GooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2KmsWrappedCryptoKey] { + return pulumix.Output[*GooglePrivacyDlpV2KmsWrappedCryptoKey]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2KmsWrappedCryptoKeyPtrOutput) Elem() GooglePrivacyDlpV2KmsWrappedCryptoKeyOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2KmsWrappedCryptoKey) GooglePrivacyDlpV2KmsWrappedCryptoKey { if v != nil { @@ -13236,6 +15271,12 @@ func (o GooglePrivacyDlpV2KmsWrappedCryptoKeyResponseOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2KmsWrappedCryptoKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2KmsWrappedCryptoKeyResponse] { + return pulumix.Output[GooglePrivacyDlpV2KmsWrappedCryptoKeyResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the KMS CryptoKey to use for unwrapping. func (o GooglePrivacyDlpV2KmsWrappedCryptoKeyResponseOutput) CryptoKeyName() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2KmsWrappedCryptoKeyResponse) string { return v.CryptoKeyName }).(pulumi.StringOutput) @@ -13285,6 +15326,12 @@ func (i GooglePrivacyDlpV2LDiversityConfigArgs) ToGooglePrivacyDlpV2LDiversityCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2LDiversityConfigOutput) } +func (i GooglePrivacyDlpV2LDiversityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LDiversityConfig] { + return pulumix.Output[GooglePrivacyDlpV2LDiversityConfig]{ + OutputState: i.ToGooglePrivacyDlpV2LDiversityConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2LDiversityConfigArgs) ToGooglePrivacyDlpV2LDiversityConfigPtrOutput() GooglePrivacyDlpV2LDiversityConfigPtrOutput { return i.ToGooglePrivacyDlpV2LDiversityConfigPtrOutputWithContext(context.Background()) } @@ -13326,6 +15373,12 @@ func (i *googlePrivacyDlpV2LDiversityConfigPtrType) ToGooglePrivacyDlpV2LDiversi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2LDiversityConfigPtrOutput) } +func (i *googlePrivacyDlpV2LDiversityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2LDiversityConfig] { + return pulumix.Output[*GooglePrivacyDlpV2LDiversityConfig]{ + OutputState: i.ToGooglePrivacyDlpV2LDiversityConfigPtrOutputWithContext(ctx).OutputState, + } +} + // l-diversity metric, used for analysis of reidentification risk. type GooglePrivacyDlpV2LDiversityConfigOutput struct{ *pulumi.OutputState } @@ -13351,6 +15404,12 @@ func (o GooglePrivacyDlpV2LDiversityConfigOutput) ToGooglePrivacyDlpV2LDiversity }).(GooglePrivacyDlpV2LDiversityConfigPtrOutput) } +func (o GooglePrivacyDlpV2LDiversityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LDiversityConfig] { + return pulumix.Output[GooglePrivacyDlpV2LDiversityConfig]{ + OutputState: o.OutputState, + } +} + // Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key. func (o GooglePrivacyDlpV2LDiversityConfigOutput) QuasiIds() GooglePrivacyDlpV2FieldIdArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2LDiversityConfig) []GooglePrivacyDlpV2FieldId { return v.QuasiIds }).(GooglePrivacyDlpV2FieldIdArrayOutput) @@ -13375,6 +15434,12 @@ func (o GooglePrivacyDlpV2LDiversityConfigPtrOutput) ToGooglePrivacyDlpV2LDivers return o } +func (o GooglePrivacyDlpV2LDiversityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2LDiversityConfig] { + return pulumix.Output[*GooglePrivacyDlpV2LDiversityConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2LDiversityConfigPtrOutput) Elem() GooglePrivacyDlpV2LDiversityConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2LDiversityConfig) GooglePrivacyDlpV2LDiversityConfig { if v != nil { @@ -13428,6 +15493,12 @@ func (o GooglePrivacyDlpV2LDiversityConfigResponseOutput) ToGooglePrivacyDlpV2LD return o } +func (o GooglePrivacyDlpV2LDiversityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LDiversityConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2LDiversityConfigResponse]{ + OutputState: o.OutputState, + } +} + // Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key. func (o GooglePrivacyDlpV2LDiversityConfigResponseOutput) QuasiIds() GooglePrivacyDlpV2FieldIdResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2LDiversityConfigResponse) []GooglePrivacyDlpV2FieldIdResponse { @@ -13469,6 +15540,12 @@ func (o GooglePrivacyDlpV2LDiversityEquivalenceClassResponseOutput) ToGooglePriv return o } +func (o GooglePrivacyDlpV2LDiversityEquivalenceClassResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LDiversityEquivalenceClassResponse] { + return pulumix.Output[GooglePrivacyDlpV2LDiversityEquivalenceClassResponse]{ + OutputState: o.OutputState, + } +} + // Size of the k-anonymity equivalence class. func (o GooglePrivacyDlpV2LDiversityEquivalenceClassResponseOutput) EquivalenceClassSize() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2LDiversityEquivalenceClassResponse) string { return v.EquivalenceClassSize }).(pulumi.StringOutput) @@ -13509,6 +15586,12 @@ func (o GooglePrivacyDlpV2LDiversityEquivalenceClassResponseArrayOutput) ToGoogl return o } +func (o GooglePrivacyDlpV2LDiversityEquivalenceClassResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2LDiversityEquivalenceClassResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2LDiversityEquivalenceClassResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2LDiversityEquivalenceClassResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2LDiversityEquivalenceClassResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2LDiversityEquivalenceClassResponse { return vs[0].([]GooglePrivacyDlpV2LDiversityEquivalenceClassResponse)[vs[1].(int)] @@ -13544,6 +15627,12 @@ func (o GooglePrivacyDlpV2LDiversityHistogramBucketResponseOutput) ToGooglePriva return o } +func (o GooglePrivacyDlpV2LDiversityHistogramBucketResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LDiversityHistogramBucketResponse] { + return pulumix.Output[GooglePrivacyDlpV2LDiversityHistogramBucketResponse]{ + OutputState: o.OutputState, + } +} + // Total number of equivalence classes in this bucket. func (o GooglePrivacyDlpV2LDiversityHistogramBucketResponseOutput) BucketSize() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2LDiversityHistogramBucketResponse) string { return v.BucketSize }).(pulumi.StringOutput) @@ -13589,6 +15678,12 @@ func (o GooglePrivacyDlpV2LDiversityHistogramBucketResponseArrayOutput) ToGoogle return o } +func (o GooglePrivacyDlpV2LDiversityHistogramBucketResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2LDiversityHistogramBucketResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2LDiversityHistogramBucketResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2LDiversityHistogramBucketResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2LDiversityHistogramBucketResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2LDiversityHistogramBucketResponse { return vs[0].([]GooglePrivacyDlpV2LDiversityHistogramBucketResponse)[vs[1].(int)] @@ -13616,6 +15711,12 @@ func (o GooglePrivacyDlpV2LDiversityResultResponseOutput) ToGooglePrivacyDlpV2LD return o } +func (o GooglePrivacyDlpV2LDiversityResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LDiversityResultResponse] { + return pulumix.Output[GooglePrivacyDlpV2LDiversityResultResponse]{ + OutputState: o.OutputState, + } +} + // Histogram of l-diversity equivalence class sensitive value frequencies. func (o GooglePrivacyDlpV2LDiversityResultResponseOutput) SensitiveValueFrequencyHistogramBuckets() GooglePrivacyDlpV2LDiversityHistogramBucketResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2LDiversityResultResponse) []GooglePrivacyDlpV2LDiversityHistogramBucketResponse { @@ -13666,6 +15767,12 @@ func (i GooglePrivacyDlpV2LargeCustomDictionaryConfigArgs) ToGooglePrivacyDlpV2L return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2LargeCustomDictionaryConfigOutput) } +func (i GooglePrivacyDlpV2LargeCustomDictionaryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LargeCustomDictionaryConfig] { + return pulumix.Output[GooglePrivacyDlpV2LargeCustomDictionaryConfig]{ + OutputState: i.ToGooglePrivacyDlpV2LargeCustomDictionaryConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2LargeCustomDictionaryConfigArgs) ToGooglePrivacyDlpV2LargeCustomDictionaryConfigPtrOutput() GooglePrivacyDlpV2LargeCustomDictionaryConfigPtrOutput { return i.ToGooglePrivacyDlpV2LargeCustomDictionaryConfigPtrOutputWithContext(context.Background()) } @@ -13707,6 +15814,12 @@ func (i *googlePrivacyDlpV2LargeCustomDictionaryConfigPtrType) ToGooglePrivacyDl return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2LargeCustomDictionaryConfigPtrOutput) } +func (i *googlePrivacyDlpV2LargeCustomDictionaryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2LargeCustomDictionaryConfig] { + return pulumix.Output[*GooglePrivacyDlpV2LargeCustomDictionaryConfig]{ + OutputState: i.ToGooglePrivacyDlpV2LargeCustomDictionaryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the [limits](https://cloud.google.com/dlp/limits) page. The artifacts of dictionary creation are stored in the specified Cloud Storage location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries that satisfy the size requirements. type GooglePrivacyDlpV2LargeCustomDictionaryConfigOutput struct{ *pulumi.OutputState } @@ -13732,6 +15845,12 @@ func (o GooglePrivacyDlpV2LargeCustomDictionaryConfigOutput) ToGooglePrivacyDlpV }).(GooglePrivacyDlpV2LargeCustomDictionaryConfigPtrOutput) } +func (o GooglePrivacyDlpV2LargeCustomDictionaryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LargeCustomDictionaryConfig] { + return pulumix.Output[GooglePrivacyDlpV2LargeCustomDictionaryConfig]{ + OutputState: o.OutputState, + } +} + // Field in a BigQuery table where each cell represents a dictionary phrase. func (o GooglePrivacyDlpV2LargeCustomDictionaryConfigOutput) BigQueryField() GooglePrivacyDlpV2BigQueryFieldPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2LargeCustomDictionaryConfig) *GooglePrivacyDlpV2BigQueryField { @@ -13767,6 +15886,12 @@ func (o GooglePrivacyDlpV2LargeCustomDictionaryConfigPtrOutput) ToGooglePrivacyD return o } +func (o GooglePrivacyDlpV2LargeCustomDictionaryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2LargeCustomDictionaryConfig] { + return pulumix.Output[*GooglePrivacyDlpV2LargeCustomDictionaryConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2LargeCustomDictionaryConfigPtrOutput) Elem() GooglePrivacyDlpV2LargeCustomDictionaryConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2LargeCustomDictionaryConfig) GooglePrivacyDlpV2LargeCustomDictionaryConfig { if v != nil { @@ -13832,6 +15957,12 @@ func (o GooglePrivacyDlpV2LargeCustomDictionaryConfigResponseOutput) ToGooglePri return o } +func (o GooglePrivacyDlpV2LargeCustomDictionaryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LargeCustomDictionaryConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2LargeCustomDictionaryConfigResponse]{ + OutputState: o.OutputState, + } +} + // Field in a BigQuery table where each cell represents a dictionary phrase. func (o GooglePrivacyDlpV2LargeCustomDictionaryConfigResponseOutput) BigQueryField() GooglePrivacyDlpV2BigQueryFieldResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2LargeCustomDictionaryConfigResponse) GooglePrivacyDlpV2BigQueryFieldResponse { @@ -13874,6 +16005,12 @@ func (o GooglePrivacyDlpV2LargeCustomDictionaryStatsResponseOutput) ToGooglePriv return o } +func (o GooglePrivacyDlpV2LargeCustomDictionaryStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LargeCustomDictionaryStatsResponse] { + return pulumix.Output[GooglePrivacyDlpV2LargeCustomDictionaryStatsResponse]{ + OutputState: o.OutputState, + } +} + // Approximate number of distinct phrases in the dictionary. func (o GooglePrivacyDlpV2LargeCustomDictionaryStatsResponseOutput) ApproxNumPhrases() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2LargeCustomDictionaryStatsResponse) string { return v.ApproxNumPhrases }).(pulumi.StringOutput) @@ -13910,6 +16047,12 @@ func (i GooglePrivacyDlpV2LeaveUntransformedArgs) ToGooglePrivacyDlpV2LeaveUntra return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2LeaveUntransformedOutput) } +func (i GooglePrivacyDlpV2LeaveUntransformedArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LeaveUntransformed] { + return pulumix.Output[GooglePrivacyDlpV2LeaveUntransformed]{ + OutputState: i.ToGooglePrivacyDlpV2LeaveUntransformedOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2LeaveUntransformedArgs) ToGooglePrivacyDlpV2LeaveUntransformedPtrOutput() GooglePrivacyDlpV2LeaveUntransformedPtrOutput { return i.ToGooglePrivacyDlpV2LeaveUntransformedPtrOutputWithContext(context.Background()) } @@ -13951,6 +16094,12 @@ func (i *googlePrivacyDlpV2LeaveUntransformedPtrType) ToGooglePrivacyDlpV2LeaveU return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2LeaveUntransformedPtrOutput) } +func (i *googlePrivacyDlpV2LeaveUntransformedPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2LeaveUntransformed] { + return pulumix.Output[*GooglePrivacyDlpV2LeaveUntransformed]{ + OutputState: i.ToGooglePrivacyDlpV2LeaveUntransformedPtrOutputWithContext(ctx).OutputState, + } +} + // Skips the data without modifying it if the requested transformation would cause an error. For example, if a `DateShift` transformation were applied an an IP address, this mode would leave the IP address unchanged in the response. type GooglePrivacyDlpV2LeaveUntransformedOutput struct{ *pulumi.OutputState } @@ -13976,6 +16125,12 @@ func (o GooglePrivacyDlpV2LeaveUntransformedOutput) ToGooglePrivacyDlpV2LeaveUnt }).(GooglePrivacyDlpV2LeaveUntransformedPtrOutput) } +func (o GooglePrivacyDlpV2LeaveUntransformedOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LeaveUntransformed] { + return pulumix.Output[GooglePrivacyDlpV2LeaveUntransformed]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2LeaveUntransformedPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2LeaveUntransformedPtrOutput) ElementType() reflect.Type { @@ -13990,6 +16145,12 @@ func (o GooglePrivacyDlpV2LeaveUntransformedPtrOutput) ToGooglePrivacyDlpV2Leave return o } +func (o GooglePrivacyDlpV2LeaveUntransformedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2LeaveUntransformed] { + return pulumix.Output[*GooglePrivacyDlpV2LeaveUntransformed]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2LeaveUntransformedPtrOutput) Elem() GooglePrivacyDlpV2LeaveUntransformedOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2LeaveUntransformed) GooglePrivacyDlpV2LeaveUntransformed { if v != nil { @@ -14019,6 +16180,12 @@ func (o GooglePrivacyDlpV2LeaveUntransformedResponseOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2LeaveUntransformedResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LeaveUntransformedResponse] { + return pulumix.Output[GooglePrivacyDlpV2LeaveUntransformedResponse]{ + OutputState: o.OutputState, + } +} + // Message for specifying an adjustment to the likelihood of a finding as part of a detection rule. type GooglePrivacyDlpV2LikelihoodAdjustment struct { // Set the likelihood of a finding to a fixed value. @@ -14058,6 +16225,12 @@ func (i GooglePrivacyDlpV2LikelihoodAdjustmentArgs) ToGooglePrivacyDlpV2Likeliho return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2LikelihoodAdjustmentOutput) } +func (i GooglePrivacyDlpV2LikelihoodAdjustmentArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LikelihoodAdjustment] { + return pulumix.Output[GooglePrivacyDlpV2LikelihoodAdjustment]{ + OutputState: i.ToGooglePrivacyDlpV2LikelihoodAdjustmentOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2LikelihoodAdjustmentArgs) ToGooglePrivacyDlpV2LikelihoodAdjustmentPtrOutput() GooglePrivacyDlpV2LikelihoodAdjustmentPtrOutput { return i.ToGooglePrivacyDlpV2LikelihoodAdjustmentPtrOutputWithContext(context.Background()) } @@ -14099,6 +16272,12 @@ func (i *googlePrivacyDlpV2LikelihoodAdjustmentPtrType) ToGooglePrivacyDlpV2Like return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2LikelihoodAdjustmentPtrOutput) } +func (i *googlePrivacyDlpV2LikelihoodAdjustmentPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2LikelihoodAdjustment] { + return pulumix.Output[*GooglePrivacyDlpV2LikelihoodAdjustment]{ + OutputState: i.ToGooglePrivacyDlpV2LikelihoodAdjustmentPtrOutputWithContext(ctx).OutputState, + } +} + // Message for specifying an adjustment to the likelihood of a finding as part of a detection rule. type GooglePrivacyDlpV2LikelihoodAdjustmentOutput struct{ *pulumi.OutputState } @@ -14124,6 +16303,12 @@ func (o GooglePrivacyDlpV2LikelihoodAdjustmentOutput) ToGooglePrivacyDlpV2Likeli }).(GooglePrivacyDlpV2LikelihoodAdjustmentPtrOutput) } +func (o GooglePrivacyDlpV2LikelihoodAdjustmentOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LikelihoodAdjustment] { + return pulumix.Output[GooglePrivacyDlpV2LikelihoodAdjustment]{ + OutputState: o.OutputState, + } +} + // Set the likelihood of a finding to a fixed value. func (o GooglePrivacyDlpV2LikelihoodAdjustmentOutput) FixedLikelihood() GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihoodPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2LikelihoodAdjustment) *GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood { @@ -14150,6 +16335,12 @@ func (o GooglePrivacyDlpV2LikelihoodAdjustmentPtrOutput) ToGooglePrivacyDlpV2Lik return o } +func (o GooglePrivacyDlpV2LikelihoodAdjustmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2LikelihoodAdjustment] { + return pulumix.Output[*GooglePrivacyDlpV2LikelihoodAdjustment]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2LikelihoodAdjustmentPtrOutput) Elem() GooglePrivacyDlpV2LikelihoodAdjustmentOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2LikelihoodAdjustment) GooglePrivacyDlpV2LikelihoodAdjustment { if v != nil { @@ -14203,6 +16394,12 @@ func (o GooglePrivacyDlpV2LikelihoodAdjustmentResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2LikelihoodAdjustmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2LikelihoodAdjustmentResponse] { + return pulumix.Output[GooglePrivacyDlpV2LikelihoodAdjustmentResponse]{ + OutputState: o.OutputState, + } +} + // Set the likelihood of a finding to a fixed value. func (o GooglePrivacyDlpV2LikelihoodAdjustmentResponseOutput) FixedLikelihood() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2LikelihoodAdjustmentResponse) string { return v.FixedLikelihood }).(pulumi.StringOutput) @@ -14244,6 +16441,12 @@ func (i GooglePrivacyDlpV2ManualArgs) ToGooglePrivacyDlpV2ManualOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ManualOutput) } +func (i GooglePrivacyDlpV2ManualArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Manual] { + return pulumix.Output[GooglePrivacyDlpV2Manual]{ + OutputState: i.ToGooglePrivacyDlpV2ManualOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ManualArgs) ToGooglePrivacyDlpV2ManualPtrOutput() GooglePrivacyDlpV2ManualPtrOutput { return i.ToGooglePrivacyDlpV2ManualPtrOutputWithContext(context.Background()) } @@ -14285,6 +16488,12 @@ func (i *googlePrivacyDlpV2ManualPtrType) ToGooglePrivacyDlpV2ManualPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ManualPtrOutput) } +func (i *googlePrivacyDlpV2ManualPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Manual] { + return pulumix.Output[*GooglePrivacyDlpV2Manual]{ + OutputState: i.ToGooglePrivacyDlpV2ManualPtrOutputWithContext(ctx).OutputState, + } +} + // Job trigger option for hybrid jobs. Jobs must be manually created and finished. type GooglePrivacyDlpV2ManualOutput struct{ *pulumi.OutputState } @@ -14310,6 +16519,12 @@ func (o GooglePrivacyDlpV2ManualOutput) ToGooglePrivacyDlpV2ManualPtrOutputWithC }).(GooglePrivacyDlpV2ManualPtrOutput) } +func (o GooglePrivacyDlpV2ManualOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Manual] { + return pulumix.Output[GooglePrivacyDlpV2Manual]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2ManualPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2ManualPtrOutput) ElementType() reflect.Type { @@ -14324,6 +16539,12 @@ func (o GooglePrivacyDlpV2ManualPtrOutput) ToGooglePrivacyDlpV2ManualPtrOutputWi return o } +func (o GooglePrivacyDlpV2ManualPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Manual] { + return pulumix.Output[*GooglePrivacyDlpV2Manual]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ManualPtrOutput) Elem() GooglePrivacyDlpV2ManualOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2Manual) GooglePrivacyDlpV2Manual { if v != nil { @@ -14353,6 +16574,12 @@ func (o GooglePrivacyDlpV2ManualResponseOutput) ToGooglePrivacyDlpV2ManualRespon return o } +func (o GooglePrivacyDlpV2ManualResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ManualResponse] { + return pulumix.Output[GooglePrivacyDlpV2ManualResponse]{ + OutputState: o.OutputState, + } +} + // Compute numerical stats over an individual column, including min, max, and quantiles. type GooglePrivacyDlpV2NumericalStatsConfig struct { // Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time. @@ -14388,6 +16615,12 @@ func (i GooglePrivacyDlpV2NumericalStatsConfigArgs) ToGooglePrivacyDlpV2Numerica return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2NumericalStatsConfigOutput) } +func (i GooglePrivacyDlpV2NumericalStatsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2NumericalStatsConfig] { + return pulumix.Output[GooglePrivacyDlpV2NumericalStatsConfig]{ + OutputState: i.ToGooglePrivacyDlpV2NumericalStatsConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2NumericalStatsConfigArgs) ToGooglePrivacyDlpV2NumericalStatsConfigPtrOutput() GooglePrivacyDlpV2NumericalStatsConfigPtrOutput { return i.ToGooglePrivacyDlpV2NumericalStatsConfigPtrOutputWithContext(context.Background()) } @@ -14429,6 +16662,12 @@ func (i *googlePrivacyDlpV2NumericalStatsConfigPtrType) ToGooglePrivacyDlpV2Nume return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2NumericalStatsConfigPtrOutput) } +func (i *googlePrivacyDlpV2NumericalStatsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2NumericalStatsConfig] { + return pulumix.Output[*GooglePrivacyDlpV2NumericalStatsConfig]{ + OutputState: i.ToGooglePrivacyDlpV2NumericalStatsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Compute numerical stats over an individual column, including min, max, and quantiles. type GooglePrivacyDlpV2NumericalStatsConfigOutput struct{ *pulumi.OutputState } @@ -14454,6 +16693,12 @@ func (o GooglePrivacyDlpV2NumericalStatsConfigOutput) ToGooglePrivacyDlpV2Numeri }).(GooglePrivacyDlpV2NumericalStatsConfigPtrOutput) } +func (o GooglePrivacyDlpV2NumericalStatsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2NumericalStatsConfig] { + return pulumix.Output[GooglePrivacyDlpV2NumericalStatsConfig]{ + OutputState: o.OutputState, + } +} + // Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time. func (o GooglePrivacyDlpV2NumericalStatsConfigOutput) Field() GooglePrivacyDlpV2FieldIdPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2NumericalStatsConfig) *GooglePrivacyDlpV2FieldId { return v.Field }).(GooglePrivacyDlpV2FieldIdPtrOutput) @@ -14473,6 +16718,12 @@ func (o GooglePrivacyDlpV2NumericalStatsConfigPtrOutput) ToGooglePrivacyDlpV2Num return o } +func (o GooglePrivacyDlpV2NumericalStatsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2NumericalStatsConfig] { + return pulumix.Output[*GooglePrivacyDlpV2NumericalStatsConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2NumericalStatsConfigPtrOutput) Elem() GooglePrivacyDlpV2NumericalStatsConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2NumericalStatsConfig) GooglePrivacyDlpV2NumericalStatsConfig { if v != nil { @@ -14514,6 +16765,12 @@ func (o GooglePrivacyDlpV2NumericalStatsConfigResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2NumericalStatsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2NumericalStatsConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2NumericalStatsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time. func (o GooglePrivacyDlpV2NumericalStatsConfigResponseOutput) Field() GooglePrivacyDlpV2FieldIdResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2NumericalStatsConfigResponse) GooglePrivacyDlpV2FieldIdResponse { @@ -14546,6 +16803,12 @@ func (o GooglePrivacyDlpV2NumericalStatsResultResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2NumericalStatsResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2NumericalStatsResultResponse] { + return pulumix.Output[GooglePrivacyDlpV2NumericalStatsResultResponse]{ + OutputState: o.OutputState, + } +} + // Maximum value appearing in the column. func (o GooglePrivacyDlpV2NumericalStatsResultResponseOutput) MaxValue() GooglePrivacyDlpV2ValueResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2NumericalStatsResultResponse) GooglePrivacyDlpV2ValueResponse { @@ -14606,6 +16869,12 @@ func (i GooglePrivacyDlpV2OutputStorageConfigArgs) ToGooglePrivacyDlpV2OutputSto return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2OutputStorageConfigOutput) } +func (i GooglePrivacyDlpV2OutputStorageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2OutputStorageConfig] { + return pulumix.Output[GooglePrivacyDlpV2OutputStorageConfig]{ + OutputState: i.ToGooglePrivacyDlpV2OutputStorageConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2OutputStorageConfigArgs) ToGooglePrivacyDlpV2OutputStorageConfigPtrOutput() GooglePrivacyDlpV2OutputStorageConfigPtrOutput { return i.ToGooglePrivacyDlpV2OutputStorageConfigPtrOutputWithContext(context.Background()) } @@ -14647,6 +16916,12 @@ func (i *googlePrivacyDlpV2OutputStorageConfigPtrType) ToGooglePrivacyDlpV2Outpu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2OutputStorageConfigPtrOutput) } +func (i *googlePrivacyDlpV2OutputStorageConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2OutputStorageConfig] { + return pulumix.Output[*GooglePrivacyDlpV2OutputStorageConfig]{ + OutputState: i.ToGooglePrivacyDlpV2OutputStorageConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud repository for storing output. type GooglePrivacyDlpV2OutputStorageConfigOutput struct{ *pulumi.OutputState } @@ -14672,6 +16947,12 @@ func (o GooglePrivacyDlpV2OutputStorageConfigOutput) ToGooglePrivacyDlpV2OutputS }).(GooglePrivacyDlpV2OutputStorageConfigPtrOutput) } +func (o GooglePrivacyDlpV2OutputStorageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2OutputStorageConfig] { + return pulumix.Output[GooglePrivacyDlpV2OutputStorageConfig]{ + OutputState: o.OutputState, + } +} + // Schema used for writing the findings for Inspect jobs. This field is only used for Inspect and must be unspecified for Risk jobs. Columns are derived from the `Finding` object. If appending to an existing table, any columns from the predefined schema that are missing will be added. No columns in the existing table will be deleted. If unspecified, then all available columns will be used for a new table or an (existing) table with no schema, and no changes will be made to an existing table that has a schema. Only for use with external storage. func (o GooglePrivacyDlpV2OutputStorageConfigOutput) OutputSchema() GooglePrivacyDlpV2OutputStorageConfigOutputSchemaPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2OutputStorageConfig) *GooglePrivacyDlpV2OutputStorageConfigOutputSchema { @@ -14698,6 +16979,12 @@ func (o GooglePrivacyDlpV2OutputStorageConfigPtrOutput) ToGooglePrivacyDlpV2Outp return o } +func (o GooglePrivacyDlpV2OutputStorageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2OutputStorageConfig] { + return pulumix.Output[*GooglePrivacyDlpV2OutputStorageConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2OutputStorageConfigPtrOutput) Elem() GooglePrivacyDlpV2OutputStorageConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2OutputStorageConfig) GooglePrivacyDlpV2OutputStorageConfig { if v != nil { @@ -14751,6 +17038,12 @@ func (o GooglePrivacyDlpV2OutputStorageConfigResponseOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2OutputStorageConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2OutputStorageConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2OutputStorageConfigResponse]{ + OutputState: o.OutputState, + } +} + // Schema used for writing the findings for Inspect jobs. This field is only used for Inspect and must be unspecified for Risk jobs. Columns are derived from the `Finding` object. If appending to an existing table, any columns from the predefined schema that are missing will be added. No columns in the existing table will be deleted. If unspecified, then all available columns will be used for a new table or an (existing) table with no schema, and no changes will be made to an existing table that has a schema. Only for use with external storage. func (o GooglePrivacyDlpV2OutputStorageConfigResponseOutput) OutputSchema() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2OutputStorageConfigResponse) string { return v.OutputSchema }).(pulumi.StringOutput) @@ -14802,6 +17095,12 @@ func (i GooglePrivacyDlpV2PartitionIdArgs) ToGooglePrivacyDlpV2PartitionIdOutput return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PartitionIdOutput) } +func (i GooglePrivacyDlpV2PartitionIdArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PartitionId] { + return pulumix.Output[GooglePrivacyDlpV2PartitionId]{ + OutputState: i.ToGooglePrivacyDlpV2PartitionIdOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2PartitionIdArgs) ToGooglePrivacyDlpV2PartitionIdPtrOutput() GooglePrivacyDlpV2PartitionIdPtrOutput { return i.ToGooglePrivacyDlpV2PartitionIdPtrOutputWithContext(context.Background()) } @@ -14843,6 +17142,12 @@ func (i *googlePrivacyDlpV2PartitionIdPtrType) ToGooglePrivacyDlpV2PartitionIdPt return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PartitionIdPtrOutput) } +func (i *googlePrivacyDlpV2PartitionIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PartitionId] { + return pulumix.Output[*GooglePrivacyDlpV2PartitionId]{ + OutputState: i.ToGooglePrivacyDlpV2PartitionIdPtrOutputWithContext(ctx).OutputState, + } +} + // Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID. type GooglePrivacyDlpV2PartitionIdOutput struct{ *pulumi.OutputState } @@ -14868,6 +17173,12 @@ func (o GooglePrivacyDlpV2PartitionIdOutput) ToGooglePrivacyDlpV2PartitionIdPtrO }).(GooglePrivacyDlpV2PartitionIdPtrOutput) } +func (o GooglePrivacyDlpV2PartitionIdOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PartitionId] { + return pulumix.Output[GooglePrivacyDlpV2PartitionId]{ + OutputState: o.OutputState, + } +} + // If not empty, the ID of the namespace to which the entities belong. func (o GooglePrivacyDlpV2PartitionIdOutput) NamespaceId() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2PartitionId) *string { return v.NamespaceId }).(pulumi.StringPtrOutput) @@ -14892,6 +17203,12 @@ func (o GooglePrivacyDlpV2PartitionIdPtrOutput) ToGooglePrivacyDlpV2PartitionIdP return o } +func (o GooglePrivacyDlpV2PartitionIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PartitionId] { + return pulumix.Output[*GooglePrivacyDlpV2PartitionId]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2PartitionIdPtrOutput) Elem() GooglePrivacyDlpV2PartitionIdOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2PartitionId) GooglePrivacyDlpV2PartitionId { if v != nil { @@ -14945,6 +17262,12 @@ func (o GooglePrivacyDlpV2PartitionIdResponseOutput) ToGooglePrivacyDlpV2Partiti return o } +func (o GooglePrivacyDlpV2PartitionIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PartitionIdResponse] { + return pulumix.Output[GooglePrivacyDlpV2PartitionIdResponse]{ + OutputState: o.OutputState, + } +} + // If not empty, the ID of the namespace to which the entities belong. func (o GooglePrivacyDlpV2PartitionIdResponseOutput) NamespaceId() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2PartitionIdResponse) string { return v.NamespaceId }).(pulumi.StringOutput) @@ -15034,6 +17357,12 @@ func (i GooglePrivacyDlpV2PrimitiveTransformationArgs) ToGooglePrivacyDlpV2Primi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PrimitiveTransformationOutput) } +func (i GooglePrivacyDlpV2PrimitiveTransformationArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PrimitiveTransformation] { + return pulumix.Output[GooglePrivacyDlpV2PrimitiveTransformation]{ + OutputState: i.ToGooglePrivacyDlpV2PrimitiveTransformationOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2PrimitiveTransformationArgs) ToGooglePrivacyDlpV2PrimitiveTransformationPtrOutput() GooglePrivacyDlpV2PrimitiveTransformationPtrOutput { return i.ToGooglePrivacyDlpV2PrimitiveTransformationPtrOutputWithContext(context.Background()) } @@ -15075,6 +17404,12 @@ func (i *googlePrivacyDlpV2PrimitiveTransformationPtrType) ToGooglePrivacyDlpV2P return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PrimitiveTransformationPtrOutput) } +func (i *googlePrivacyDlpV2PrimitiveTransformationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PrimitiveTransformation] { + return pulumix.Output[*GooglePrivacyDlpV2PrimitiveTransformation]{ + OutputState: i.ToGooglePrivacyDlpV2PrimitiveTransformationPtrOutputWithContext(ctx).OutputState, + } +} + // A rule for transforming a value. type GooglePrivacyDlpV2PrimitiveTransformationOutput struct{ *pulumi.OutputState } @@ -15100,6 +17435,12 @@ func (o GooglePrivacyDlpV2PrimitiveTransformationOutput) ToGooglePrivacyDlpV2Pri }).(GooglePrivacyDlpV2PrimitiveTransformationPtrOutput) } +func (o GooglePrivacyDlpV2PrimitiveTransformationOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PrimitiveTransformation] { + return pulumix.Output[GooglePrivacyDlpV2PrimitiveTransformation]{ + OutputState: o.OutputState, + } +} + // Bucketing func (o GooglePrivacyDlpV2PrimitiveTransformationOutput) BucketingConfig() GooglePrivacyDlpV2BucketingConfigPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2PrimitiveTransformation) *GooglePrivacyDlpV2BucketingConfig { @@ -15198,6 +17539,12 @@ func (o GooglePrivacyDlpV2PrimitiveTransformationPtrOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2PrimitiveTransformationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PrimitiveTransformation] { + return pulumix.Output[*GooglePrivacyDlpV2PrimitiveTransformation]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2PrimitiveTransformationPtrOutput) Elem() GooglePrivacyDlpV2PrimitiveTransformationOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2PrimitiveTransformation) GooglePrivacyDlpV2PrimitiveTransformation { if v != nil { @@ -15371,6 +17718,12 @@ func (o GooglePrivacyDlpV2PrimitiveTransformationResponseOutput) ToGooglePrivacy return o } +func (o GooglePrivacyDlpV2PrimitiveTransformationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PrimitiveTransformationResponse] { + return pulumix.Output[GooglePrivacyDlpV2PrimitiveTransformationResponse]{ + OutputState: o.OutputState, + } +} + // Bucketing func (o GooglePrivacyDlpV2PrimitiveTransformationResponseOutput) BucketingConfig() GooglePrivacyDlpV2BucketingConfigResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2PrimitiveTransformationResponse) GooglePrivacyDlpV2BucketingConfigResponse { @@ -15510,6 +17863,12 @@ func (i GooglePrivacyDlpV2PrivacyMetricArgs) ToGooglePrivacyDlpV2PrivacyMetricOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PrivacyMetricOutput) } +func (i GooglePrivacyDlpV2PrivacyMetricArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PrivacyMetric] { + return pulumix.Output[GooglePrivacyDlpV2PrivacyMetric]{ + OutputState: i.ToGooglePrivacyDlpV2PrivacyMetricOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2PrivacyMetricArgs) ToGooglePrivacyDlpV2PrivacyMetricPtrOutput() GooglePrivacyDlpV2PrivacyMetricPtrOutput { return i.ToGooglePrivacyDlpV2PrivacyMetricPtrOutputWithContext(context.Background()) } @@ -15551,6 +17910,12 @@ func (i *googlePrivacyDlpV2PrivacyMetricPtrType) ToGooglePrivacyDlpV2PrivacyMetr return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PrivacyMetricPtrOutput) } +func (i *googlePrivacyDlpV2PrivacyMetricPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PrivacyMetric] { + return pulumix.Output[*GooglePrivacyDlpV2PrivacyMetric]{ + OutputState: i.ToGooglePrivacyDlpV2PrivacyMetricPtrOutputWithContext(ctx).OutputState, + } +} + // Privacy metric to compute for reidentification risk analysis. type GooglePrivacyDlpV2PrivacyMetricOutput struct{ *pulumi.OutputState } @@ -15576,6 +17941,12 @@ func (o GooglePrivacyDlpV2PrivacyMetricOutput) ToGooglePrivacyDlpV2PrivacyMetric }).(GooglePrivacyDlpV2PrivacyMetricPtrOutput) } +func (o GooglePrivacyDlpV2PrivacyMetricOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PrivacyMetric] { + return pulumix.Output[GooglePrivacyDlpV2PrivacyMetric]{ + OutputState: o.OutputState, + } +} + // Categorical stats func (o GooglePrivacyDlpV2PrivacyMetricOutput) CategoricalStatsConfig() GooglePrivacyDlpV2CategoricalStatsConfigPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2PrivacyMetric) *GooglePrivacyDlpV2CategoricalStatsConfig { @@ -15628,6 +17999,12 @@ func (o GooglePrivacyDlpV2PrivacyMetricPtrOutput) ToGooglePrivacyDlpV2PrivacyMet return o } +func (o GooglePrivacyDlpV2PrivacyMetricPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PrivacyMetric] { + return pulumix.Output[*GooglePrivacyDlpV2PrivacyMetric]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2PrivacyMetricPtrOutput) Elem() GooglePrivacyDlpV2PrivacyMetricOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2PrivacyMetric) GooglePrivacyDlpV2PrivacyMetric { if v != nil { @@ -15729,6 +18106,12 @@ func (o GooglePrivacyDlpV2PrivacyMetricResponseOutput) ToGooglePrivacyDlpV2Priva return o } +func (o GooglePrivacyDlpV2PrivacyMetricResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PrivacyMetricResponse] { + return pulumix.Output[GooglePrivacyDlpV2PrivacyMetricResponse]{ + OutputState: o.OutputState, + } +} + // Categorical stats func (o GooglePrivacyDlpV2PrivacyMetricResponseOutput) CategoricalStatsConfig() GooglePrivacyDlpV2CategoricalStatsConfigResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2PrivacyMetricResponse) GooglePrivacyDlpV2CategoricalStatsConfigResponse { @@ -15810,6 +18193,12 @@ func (i GooglePrivacyDlpV2ProximityArgs) ToGooglePrivacyDlpV2ProximityOutputWith return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ProximityOutput) } +func (i GooglePrivacyDlpV2ProximityArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Proximity] { + return pulumix.Output[GooglePrivacyDlpV2Proximity]{ + OutputState: i.ToGooglePrivacyDlpV2ProximityOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ProximityArgs) ToGooglePrivacyDlpV2ProximityPtrOutput() GooglePrivacyDlpV2ProximityPtrOutput { return i.ToGooglePrivacyDlpV2ProximityPtrOutputWithContext(context.Background()) } @@ -15851,6 +18240,12 @@ func (i *googlePrivacyDlpV2ProximityPtrType) ToGooglePrivacyDlpV2ProximityPtrOut return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ProximityPtrOutput) } +func (i *googlePrivacyDlpV2ProximityPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Proximity] { + return pulumix.Output[*GooglePrivacyDlpV2Proximity]{ + OutputState: i.ToGooglePrivacyDlpV2ProximityPtrOutputWithContext(ctx).OutputState, + } +} + // Message for specifying a window around a finding to apply a detection rule. type GooglePrivacyDlpV2ProximityOutput struct{ *pulumi.OutputState } @@ -15876,6 +18271,12 @@ func (o GooglePrivacyDlpV2ProximityOutput) ToGooglePrivacyDlpV2ProximityPtrOutpu }).(GooglePrivacyDlpV2ProximityPtrOutput) } +func (o GooglePrivacyDlpV2ProximityOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Proximity] { + return pulumix.Output[GooglePrivacyDlpV2Proximity]{ + OutputState: o.OutputState, + } +} + // Number of characters after the finding to consider. func (o GooglePrivacyDlpV2ProximityOutput) WindowAfter() pulumi.IntPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Proximity) *int { return v.WindowAfter }).(pulumi.IntPtrOutput) @@ -15900,6 +18301,12 @@ func (o GooglePrivacyDlpV2ProximityPtrOutput) ToGooglePrivacyDlpV2ProximityPtrOu return o } +func (o GooglePrivacyDlpV2ProximityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Proximity] { + return pulumix.Output[*GooglePrivacyDlpV2Proximity]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ProximityPtrOutput) Elem() GooglePrivacyDlpV2ProximityOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2Proximity) GooglePrivacyDlpV2Proximity { if v != nil { @@ -15953,6 +18360,12 @@ func (o GooglePrivacyDlpV2ProximityResponseOutput) ToGooglePrivacyDlpV2Proximity return o } +func (o GooglePrivacyDlpV2ProximityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ProximityResponse] { + return pulumix.Output[GooglePrivacyDlpV2ProximityResponse]{ + OutputState: o.OutputState, + } +} + // Number of characters after the finding to consider. func (o GooglePrivacyDlpV2ProximityResponseOutput) WindowAfter() pulumi.IntOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ProximityResponse) int { return v.WindowAfter }).(pulumi.IntOutput) @@ -15994,6 +18407,12 @@ func (i GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogArgs) ToGooglePrivacy return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogOutput) } +func (i GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog] { + return pulumix.Output[GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog]{ + OutputState: i.ToGooglePrivacyDlpV2PublishFindingsToCloudDataCatalogOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogArgs) ToGooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutput() GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutput { return i.ToGooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutputWithContext(context.Background()) } @@ -16035,6 +18454,12 @@ func (i *googlePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrType) ToGooglePri return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutput) } +func (i *googlePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog] { + return pulumix.Output[*GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog]{ + OutputState: i.ToGooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutputWithContext(ctx).OutputState, + } +} + // Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag templates are applied to the resource that Cloud DLP scanned. Data Catalog tag templates are stored in the same project and region where the BigQuery table exists. For Cloud DLP to create and apply the tag template, the Cloud DLP service agent must have the `roles/datacatalog.tagTemplateOwner` permission on the project. The tag template contains fields summarizing the results of the DlpJob. Any field values previously written by another DlpJob are deleted. InfoType naming patterns are strictly enforced when using this feature. Findings are persisted in Data Catalog storage and are governed by service-specific policies for Data Catalog. For more information, see [Service Specific Terms](https://cloud.google.com/terms/service-terms). Only a single instance of this action can be specified. This action is allowed only if all resources being scanned are BigQuery tables. Compatible with: Inspect type GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogOutput struct{ *pulumi.OutputState } @@ -16060,6 +18485,12 @@ func (o GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogOutput) ToGooglePriva }).(GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutput) } +func (o GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog] { + return pulumix.Output[GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutput) ElementType() reflect.Type { @@ -16074,6 +18505,12 @@ func (o GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutput) ToGooglePr return o } +func (o GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog] { + return pulumix.Output[*GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogPtrOutput) Elem() GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog) GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog { if v != nil { @@ -16103,6 +18540,12 @@ func (o GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogResponseOutput) ToGoo return o } +func (o GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogResponse] { + return pulumix.Output[GooglePrivacyDlpV2PublishFindingsToCloudDataCatalogResponse]{ + OutputState: o.OutputState, + } +} + // Publish the result summary of a DlpJob to [Security Command Center](https://cloud.google.com/security-command-center). This action is available for only projects that belong to an organization. This action publishes the count of finding instances and their infoTypes. The summary of findings are persisted in Security Command Center and are governed by [service-specific policies for Security Command Center](https://cloud.google.com/terms/service-terms). Only a single instance of this action can be specified. Compatible with: Inspect type GooglePrivacyDlpV2PublishSummaryToCscc struct { } @@ -16134,6 +18577,12 @@ func (i GooglePrivacyDlpV2PublishSummaryToCsccArgs) ToGooglePrivacyDlpV2PublishS return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PublishSummaryToCsccOutput) } +func (i GooglePrivacyDlpV2PublishSummaryToCsccArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishSummaryToCscc] { + return pulumix.Output[GooglePrivacyDlpV2PublishSummaryToCscc]{ + OutputState: i.ToGooglePrivacyDlpV2PublishSummaryToCsccOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2PublishSummaryToCsccArgs) ToGooglePrivacyDlpV2PublishSummaryToCsccPtrOutput() GooglePrivacyDlpV2PublishSummaryToCsccPtrOutput { return i.ToGooglePrivacyDlpV2PublishSummaryToCsccPtrOutputWithContext(context.Background()) } @@ -16175,6 +18624,12 @@ func (i *googlePrivacyDlpV2PublishSummaryToCsccPtrType) ToGooglePrivacyDlpV2Publ return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PublishSummaryToCsccPtrOutput) } +func (i *googlePrivacyDlpV2PublishSummaryToCsccPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PublishSummaryToCscc] { + return pulumix.Output[*GooglePrivacyDlpV2PublishSummaryToCscc]{ + OutputState: i.ToGooglePrivacyDlpV2PublishSummaryToCsccPtrOutputWithContext(ctx).OutputState, + } +} + // Publish the result summary of a DlpJob to [Security Command Center](https://cloud.google.com/security-command-center). This action is available for only projects that belong to an organization. This action publishes the count of finding instances and their infoTypes. The summary of findings are persisted in Security Command Center and are governed by [service-specific policies for Security Command Center](https://cloud.google.com/terms/service-terms). Only a single instance of this action can be specified. Compatible with: Inspect type GooglePrivacyDlpV2PublishSummaryToCsccOutput struct{ *pulumi.OutputState } @@ -16200,6 +18655,12 @@ func (o GooglePrivacyDlpV2PublishSummaryToCsccOutput) ToGooglePrivacyDlpV2Publis }).(GooglePrivacyDlpV2PublishSummaryToCsccPtrOutput) } +func (o GooglePrivacyDlpV2PublishSummaryToCsccOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishSummaryToCscc] { + return pulumix.Output[GooglePrivacyDlpV2PublishSummaryToCscc]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2PublishSummaryToCsccPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2PublishSummaryToCsccPtrOutput) ElementType() reflect.Type { @@ -16214,6 +18675,12 @@ func (o GooglePrivacyDlpV2PublishSummaryToCsccPtrOutput) ToGooglePrivacyDlpV2Pub return o } +func (o GooglePrivacyDlpV2PublishSummaryToCsccPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PublishSummaryToCscc] { + return pulumix.Output[*GooglePrivacyDlpV2PublishSummaryToCscc]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2PublishSummaryToCsccPtrOutput) Elem() GooglePrivacyDlpV2PublishSummaryToCsccOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2PublishSummaryToCscc) GooglePrivacyDlpV2PublishSummaryToCscc { if v != nil { @@ -16243,6 +18710,12 @@ func (o GooglePrivacyDlpV2PublishSummaryToCsccResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2PublishSummaryToCsccResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishSummaryToCsccResponse] { + return pulumix.Output[GooglePrivacyDlpV2PublishSummaryToCsccResponse]{ + OutputState: o.OutputState, + } +} + // Publish a message into a given Pub/Sub topic when DlpJob has completed. The message contains a single field, `DlpJobName`, which is equal to the finished job's [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk type GooglePrivacyDlpV2PublishToPubSub struct { // Cloud Pub/Sub topic to send notifications to. The topic must have given publishing access rights to the DLP API service account executing the long running DlpJob sending the notifications. Format is projects/{project}/topics/{topic}. @@ -16278,6 +18751,12 @@ func (i GooglePrivacyDlpV2PublishToPubSubArgs) ToGooglePrivacyDlpV2PublishToPubS return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PublishToPubSubOutput) } +func (i GooglePrivacyDlpV2PublishToPubSubArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishToPubSub] { + return pulumix.Output[GooglePrivacyDlpV2PublishToPubSub]{ + OutputState: i.ToGooglePrivacyDlpV2PublishToPubSubOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2PublishToPubSubArgs) ToGooglePrivacyDlpV2PublishToPubSubPtrOutput() GooglePrivacyDlpV2PublishToPubSubPtrOutput { return i.ToGooglePrivacyDlpV2PublishToPubSubPtrOutputWithContext(context.Background()) } @@ -16319,6 +18798,12 @@ func (i *googlePrivacyDlpV2PublishToPubSubPtrType) ToGooglePrivacyDlpV2PublishTo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PublishToPubSubPtrOutput) } +func (i *googlePrivacyDlpV2PublishToPubSubPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PublishToPubSub] { + return pulumix.Output[*GooglePrivacyDlpV2PublishToPubSub]{ + OutputState: i.ToGooglePrivacyDlpV2PublishToPubSubPtrOutputWithContext(ctx).OutputState, + } +} + // Publish a message into a given Pub/Sub topic when DlpJob has completed. The message contains a single field, `DlpJobName`, which is equal to the finished job's [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk type GooglePrivacyDlpV2PublishToPubSubOutput struct{ *pulumi.OutputState } @@ -16344,6 +18829,12 @@ func (o GooglePrivacyDlpV2PublishToPubSubOutput) ToGooglePrivacyDlpV2PublishToPu }).(GooglePrivacyDlpV2PublishToPubSubPtrOutput) } +func (o GooglePrivacyDlpV2PublishToPubSubOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishToPubSub] { + return pulumix.Output[GooglePrivacyDlpV2PublishToPubSub]{ + OutputState: o.OutputState, + } +} + // Cloud Pub/Sub topic to send notifications to. The topic must have given publishing access rights to the DLP API service account executing the long running DlpJob sending the notifications. Format is projects/{project}/topics/{topic}. func (o GooglePrivacyDlpV2PublishToPubSubOutput) Topic() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2PublishToPubSub) *string { return v.Topic }).(pulumi.StringPtrOutput) @@ -16363,6 +18854,12 @@ func (o GooglePrivacyDlpV2PublishToPubSubPtrOutput) ToGooglePrivacyDlpV2PublishT return o } +func (o GooglePrivacyDlpV2PublishToPubSubPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PublishToPubSub] { + return pulumix.Output[*GooglePrivacyDlpV2PublishToPubSub]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2PublishToPubSubPtrOutput) Elem() GooglePrivacyDlpV2PublishToPubSubOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2PublishToPubSub) GooglePrivacyDlpV2PublishToPubSub { if v != nil { @@ -16404,6 +18901,12 @@ func (o GooglePrivacyDlpV2PublishToPubSubResponseOutput) ToGooglePrivacyDlpV2Pub return o } +func (o GooglePrivacyDlpV2PublishToPubSubResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishToPubSubResponse] { + return pulumix.Output[GooglePrivacyDlpV2PublishToPubSubResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Pub/Sub topic to send notifications to. The topic must have given publishing access rights to the DLP API service account executing the long running DlpJob sending the notifications. Format is projects/{project}/topics/{topic}. func (o GooglePrivacyDlpV2PublishToPubSubResponseOutput) Topic() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2PublishToPubSubResponse) string { return v.Topic }).(pulumi.StringOutput) @@ -16440,6 +18943,12 @@ func (i GooglePrivacyDlpV2PublishToStackdriverArgs) ToGooglePrivacyDlpV2PublishT return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PublishToStackdriverOutput) } +func (i GooglePrivacyDlpV2PublishToStackdriverArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishToStackdriver] { + return pulumix.Output[GooglePrivacyDlpV2PublishToStackdriver]{ + OutputState: i.ToGooglePrivacyDlpV2PublishToStackdriverOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2PublishToStackdriverArgs) ToGooglePrivacyDlpV2PublishToStackdriverPtrOutput() GooglePrivacyDlpV2PublishToStackdriverPtrOutput { return i.ToGooglePrivacyDlpV2PublishToStackdriverPtrOutputWithContext(context.Background()) } @@ -16481,6 +18990,12 @@ func (i *googlePrivacyDlpV2PublishToStackdriverPtrType) ToGooglePrivacyDlpV2Publ return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2PublishToStackdriverPtrOutput) } +func (i *googlePrivacyDlpV2PublishToStackdriverPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PublishToStackdriver] { + return pulumix.Output[*GooglePrivacyDlpV2PublishToStackdriver]{ + OutputState: i.ToGooglePrivacyDlpV2PublishToStackdriverPtrOutputWithContext(ctx).OutputState, + } +} + // Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish a metric to stack driver on each infotype requested and how many findings were found for it. CustomDetectors will be bucketed as 'Custom' under the Stackdriver label 'info_type'. type GooglePrivacyDlpV2PublishToStackdriverOutput struct{ *pulumi.OutputState } @@ -16506,6 +19021,12 @@ func (o GooglePrivacyDlpV2PublishToStackdriverOutput) ToGooglePrivacyDlpV2Publis }).(GooglePrivacyDlpV2PublishToStackdriverPtrOutput) } +func (o GooglePrivacyDlpV2PublishToStackdriverOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishToStackdriver] { + return pulumix.Output[GooglePrivacyDlpV2PublishToStackdriver]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2PublishToStackdriverPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2PublishToStackdriverPtrOutput) ElementType() reflect.Type { @@ -16520,6 +19041,12 @@ func (o GooglePrivacyDlpV2PublishToStackdriverPtrOutput) ToGooglePrivacyDlpV2Pub return o } +func (o GooglePrivacyDlpV2PublishToStackdriverPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2PublishToStackdriver] { + return pulumix.Output[*GooglePrivacyDlpV2PublishToStackdriver]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2PublishToStackdriverPtrOutput) Elem() GooglePrivacyDlpV2PublishToStackdriverOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2PublishToStackdriver) GooglePrivacyDlpV2PublishToStackdriver { if v != nil { @@ -16549,6 +19076,12 @@ func (o GooglePrivacyDlpV2PublishToStackdriverResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2PublishToStackdriverResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2PublishToStackdriverResponse] { + return pulumix.Output[GooglePrivacyDlpV2PublishToStackdriverResponse]{ + OutputState: o.OutputState, + } +} + // A column with a semantic tag attached. type GooglePrivacyDlpV2QuasiId struct { // A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below). @@ -16596,6 +19129,12 @@ func (i GooglePrivacyDlpV2QuasiIdArgs) ToGooglePrivacyDlpV2QuasiIdOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2QuasiIdOutput) } +func (i GooglePrivacyDlpV2QuasiIdArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2QuasiId] { + return pulumix.Output[GooglePrivacyDlpV2QuasiId]{ + OutputState: i.ToGooglePrivacyDlpV2QuasiIdOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2QuasiIdArrayInput is an input type that accepts GooglePrivacyDlpV2QuasiIdArray and GooglePrivacyDlpV2QuasiIdArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2QuasiIdArrayInput` via: // @@ -16621,6 +19160,12 @@ func (i GooglePrivacyDlpV2QuasiIdArray) ToGooglePrivacyDlpV2QuasiIdArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2QuasiIdArrayOutput) } +func (i GooglePrivacyDlpV2QuasiIdArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2QuasiId] { + return pulumix.Output[[]GooglePrivacyDlpV2QuasiId]{ + OutputState: i.ToGooglePrivacyDlpV2QuasiIdArrayOutputWithContext(ctx).OutputState, + } +} + // A column with a semantic tag attached. type GooglePrivacyDlpV2QuasiIdOutput struct{ *pulumi.OutputState } @@ -16636,6 +19181,12 @@ func (o GooglePrivacyDlpV2QuasiIdOutput) ToGooglePrivacyDlpV2QuasiIdOutputWithCo return o } +func (o GooglePrivacyDlpV2QuasiIdOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2QuasiId] { + return pulumix.Output[GooglePrivacyDlpV2QuasiId]{ + OutputState: o.OutputState, + } +} + // A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below). func (o GooglePrivacyDlpV2QuasiIdOutput) CustomTag() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2QuasiId) *string { return v.CustomTag }).(pulumi.StringPtrOutput) @@ -16670,6 +19221,12 @@ func (o GooglePrivacyDlpV2QuasiIdArrayOutput) ToGooglePrivacyDlpV2QuasiIdArrayOu return o } +func (o GooglePrivacyDlpV2QuasiIdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2QuasiId] { + return pulumix.Output[[]GooglePrivacyDlpV2QuasiId]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2QuasiIdArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2QuasiIdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2QuasiId { return vs[0].([]GooglePrivacyDlpV2QuasiId)[vs[1].(int)] @@ -16715,6 +19272,12 @@ func (i GooglePrivacyDlpV2QuasiIdFieldArgs) ToGooglePrivacyDlpV2QuasiIdFieldOutp return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2QuasiIdFieldOutput) } +func (i GooglePrivacyDlpV2QuasiIdFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2QuasiIdField] { + return pulumix.Output[GooglePrivacyDlpV2QuasiIdField]{ + OutputState: i.ToGooglePrivacyDlpV2QuasiIdFieldOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2QuasiIdFieldArrayInput is an input type that accepts GooglePrivacyDlpV2QuasiIdFieldArray and GooglePrivacyDlpV2QuasiIdFieldArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2QuasiIdFieldArrayInput` via: // @@ -16740,6 +19303,12 @@ func (i GooglePrivacyDlpV2QuasiIdFieldArray) ToGooglePrivacyDlpV2QuasiIdFieldArr return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2QuasiIdFieldArrayOutput) } +func (i GooglePrivacyDlpV2QuasiIdFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2QuasiIdField] { + return pulumix.Output[[]GooglePrivacyDlpV2QuasiIdField]{ + OutputState: i.ToGooglePrivacyDlpV2QuasiIdFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model. type GooglePrivacyDlpV2QuasiIdFieldOutput struct{ *pulumi.OutputState } @@ -16755,6 +19324,12 @@ func (o GooglePrivacyDlpV2QuasiIdFieldOutput) ToGooglePrivacyDlpV2QuasiIdFieldOu return o } +func (o GooglePrivacyDlpV2QuasiIdFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2QuasiIdField] { + return pulumix.Output[GooglePrivacyDlpV2QuasiIdField]{ + OutputState: o.OutputState, + } +} + // A auxiliary field. func (o GooglePrivacyDlpV2QuasiIdFieldOutput) CustomTag() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2QuasiIdField) *string { return v.CustomTag }).(pulumi.StringPtrOutput) @@ -16779,6 +19354,12 @@ func (o GooglePrivacyDlpV2QuasiIdFieldArrayOutput) ToGooglePrivacyDlpV2QuasiIdFi return o } +func (o GooglePrivacyDlpV2QuasiIdFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2QuasiIdField] { + return pulumix.Output[[]GooglePrivacyDlpV2QuasiIdField]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2QuasiIdFieldArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2QuasiIdFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2QuasiIdField { return vs[0].([]GooglePrivacyDlpV2QuasiIdField)[vs[1].(int)] @@ -16808,6 +19389,12 @@ func (o GooglePrivacyDlpV2QuasiIdFieldResponseOutput) ToGooglePrivacyDlpV2QuasiI return o } +func (o GooglePrivacyDlpV2QuasiIdFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2QuasiIdFieldResponse] { + return pulumix.Output[GooglePrivacyDlpV2QuasiIdFieldResponse]{ + OutputState: o.OutputState, + } +} + // A auxiliary field. func (o GooglePrivacyDlpV2QuasiIdFieldResponseOutput) CustomTag() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2QuasiIdFieldResponse) string { return v.CustomTag }).(pulumi.StringOutput) @@ -16832,6 +19419,12 @@ func (o GooglePrivacyDlpV2QuasiIdFieldResponseArrayOutput) ToGooglePrivacyDlpV2Q return o } +func (o GooglePrivacyDlpV2QuasiIdFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2QuasiIdFieldResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2QuasiIdFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2QuasiIdFieldResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2QuasiIdFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2QuasiIdFieldResponse { return vs[0].([]GooglePrivacyDlpV2QuasiIdFieldResponse)[vs[1].(int)] @@ -16865,6 +19458,12 @@ func (o GooglePrivacyDlpV2QuasiIdResponseOutput) ToGooglePrivacyDlpV2QuasiIdResp return o } +func (o GooglePrivacyDlpV2QuasiIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2QuasiIdResponse] { + return pulumix.Output[GooglePrivacyDlpV2QuasiIdResponse]{ + OutputState: o.OutputState, + } +} + // A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below). func (o GooglePrivacyDlpV2QuasiIdResponseOutput) CustomTag() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2QuasiIdResponse) string { return v.CustomTag }).(pulumi.StringOutput) @@ -16899,6 +19498,12 @@ func (o GooglePrivacyDlpV2QuasiIdResponseArrayOutput) ToGooglePrivacyDlpV2QuasiI return o } +func (o GooglePrivacyDlpV2QuasiIdResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2QuasiIdResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2QuasiIdResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2QuasiIdResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2QuasiIdResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2QuasiIdResponse { return vs[0].([]GooglePrivacyDlpV2QuasiIdResponse)[vs[1].(int)] @@ -16944,6 +19549,12 @@ func (i GooglePrivacyDlpV2QuasiIdentifierFieldArgs) ToGooglePrivacyDlpV2QuasiIde return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2QuasiIdentifierFieldOutput) } +func (i GooglePrivacyDlpV2QuasiIdentifierFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2QuasiIdentifierField] { + return pulumix.Output[GooglePrivacyDlpV2QuasiIdentifierField]{ + OutputState: i.ToGooglePrivacyDlpV2QuasiIdentifierFieldOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2QuasiIdentifierFieldArrayInput is an input type that accepts GooglePrivacyDlpV2QuasiIdentifierFieldArray and GooglePrivacyDlpV2QuasiIdentifierFieldArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2QuasiIdentifierFieldArrayInput` via: // @@ -16969,6 +19580,12 @@ func (i GooglePrivacyDlpV2QuasiIdentifierFieldArray) ToGooglePrivacyDlpV2QuasiId return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2QuasiIdentifierFieldArrayOutput) } +func (i GooglePrivacyDlpV2QuasiIdentifierFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2QuasiIdentifierField] { + return pulumix.Output[[]GooglePrivacyDlpV2QuasiIdentifierField]{ + OutputState: i.ToGooglePrivacyDlpV2QuasiIdentifierFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model. type GooglePrivacyDlpV2QuasiIdentifierFieldOutput struct{ *pulumi.OutputState } @@ -16984,6 +19601,12 @@ func (o GooglePrivacyDlpV2QuasiIdentifierFieldOutput) ToGooglePrivacyDlpV2QuasiI return o } +func (o GooglePrivacyDlpV2QuasiIdentifierFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2QuasiIdentifierField] { + return pulumix.Output[GooglePrivacyDlpV2QuasiIdentifierField]{ + OutputState: o.OutputState, + } +} + // A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below). func (o GooglePrivacyDlpV2QuasiIdentifierFieldOutput) CustomTag() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2QuasiIdentifierField) *string { return v.CustomTag }).(pulumi.StringPtrOutput) @@ -17008,6 +19631,12 @@ func (o GooglePrivacyDlpV2QuasiIdentifierFieldArrayOutput) ToGooglePrivacyDlpV2Q return o } +func (o GooglePrivacyDlpV2QuasiIdentifierFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2QuasiIdentifierField] { + return pulumix.Output[[]GooglePrivacyDlpV2QuasiIdentifierField]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2QuasiIdentifierFieldArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2QuasiIdentifierFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2QuasiIdentifierField { return vs[0].([]GooglePrivacyDlpV2QuasiIdentifierField)[vs[1].(int)] @@ -17037,6 +19666,12 @@ func (o GooglePrivacyDlpV2QuasiIdentifierFieldResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2QuasiIdentifierFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2QuasiIdentifierFieldResponse] { + return pulumix.Output[GooglePrivacyDlpV2QuasiIdentifierFieldResponse]{ + OutputState: o.OutputState, + } +} + // A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below). func (o GooglePrivacyDlpV2QuasiIdentifierFieldResponseOutput) CustomTag() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2QuasiIdentifierFieldResponse) string { return v.CustomTag }).(pulumi.StringOutput) @@ -17063,6 +19698,12 @@ func (o GooglePrivacyDlpV2QuasiIdentifierFieldResponseArrayOutput) ToGooglePriva return o } +func (o GooglePrivacyDlpV2QuasiIdentifierFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2QuasiIdentifierFieldResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2QuasiIdentifierFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2QuasiIdentifierFieldResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2QuasiIdentifierFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2QuasiIdentifierFieldResponse { return vs[0].([]GooglePrivacyDlpV2QuasiIdentifierFieldResponse)[vs[1].(int)] @@ -17104,6 +19745,12 @@ func (i GooglePrivacyDlpV2RecordConditionArgs) ToGooglePrivacyDlpV2RecordConditi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RecordConditionOutput) } +func (i GooglePrivacyDlpV2RecordConditionArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RecordCondition] { + return pulumix.Output[GooglePrivacyDlpV2RecordCondition]{ + OutputState: i.ToGooglePrivacyDlpV2RecordConditionOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2RecordConditionArgs) ToGooglePrivacyDlpV2RecordConditionPtrOutput() GooglePrivacyDlpV2RecordConditionPtrOutput { return i.ToGooglePrivacyDlpV2RecordConditionPtrOutputWithContext(context.Background()) } @@ -17145,6 +19792,12 @@ func (i *googlePrivacyDlpV2RecordConditionPtrType) ToGooglePrivacyDlpV2RecordCon return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RecordConditionPtrOutput) } +func (i *googlePrivacyDlpV2RecordConditionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2RecordCondition] { + return pulumix.Output[*GooglePrivacyDlpV2RecordCondition]{ + OutputState: i.ToGooglePrivacyDlpV2RecordConditionPtrOutputWithContext(ctx).OutputState, + } +} + // A condition for determining whether a transformation should be applied to a field. type GooglePrivacyDlpV2RecordConditionOutput struct{ *pulumi.OutputState } @@ -17170,6 +19823,12 @@ func (o GooglePrivacyDlpV2RecordConditionOutput) ToGooglePrivacyDlpV2RecordCondi }).(GooglePrivacyDlpV2RecordConditionPtrOutput) } +func (o GooglePrivacyDlpV2RecordConditionOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RecordCondition] { + return pulumix.Output[GooglePrivacyDlpV2RecordCondition]{ + OutputState: o.OutputState, + } +} + // An expression. func (o GooglePrivacyDlpV2RecordConditionOutput) Expressions() GooglePrivacyDlpV2ExpressionsPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RecordCondition) *GooglePrivacyDlpV2Expressions { return v.Expressions }).(GooglePrivacyDlpV2ExpressionsPtrOutput) @@ -17189,6 +19848,12 @@ func (o GooglePrivacyDlpV2RecordConditionPtrOutput) ToGooglePrivacyDlpV2RecordCo return o } +func (o GooglePrivacyDlpV2RecordConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2RecordCondition] { + return pulumix.Output[*GooglePrivacyDlpV2RecordCondition]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2RecordConditionPtrOutput) Elem() GooglePrivacyDlpV2RecordConditionOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2RecordCondition) GooglePrivacyDlpV2RecordCondition { if v != nil { @@ -17230,6 +19895,12 @@ func (o GooglePrivacyDlpV2RecordConditionResponseOutput) ToGooglePrivacyDlpV2Rec return o } +func (o GooglePrivacyDlpV2RecordConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RecordConditionResponse] { + return pulumix.Output[GooglePrivacyDlpV2RecordConditionResponse]{ + OutputState: o.OutputState, + } +} + // An expression. func (o GooglePrivacyDlpV2RecordConditionResponseOutput) Expressions() GooglePrivacyDlpV2ExpressionsResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RecordConditionResponse) GooglePrivacyDlpV2ExpressionsResponse { @@ -17272,6 +19943,12 @@ func (i GooglePrivacyDlpV2RecordSuppressionArgs) ToGooglePrivacyDlpV2RecordSuppr return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RecordSuppressionOutput) } +func (i GooglePrivacyDlpV2RecordSuppressionArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RecordSuppression] { + return pulumix.Output[GooglePrivacyDlpV2RecordSuppression]{ + OutputState: i.ToGooglePrivacyDlpV2RecordSuppressionOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2RecordSuppressionArrayInput is an input type that accepts GooglePrivacyDlpV2RecordSuppressionArray and GooglePrivacyDlpV2RecordSuppressionArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2RecordSuppressionArrayInput` via: // @@ -17297,6 +19974,12 @@ func (i GooglePrivacyDlpV2RecordSuppressionArray) ToGooglePrivacyDlpV2RecordSupp return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RecordSuppressionArrayOutput) } +func (i GooglePrivacyDlpV2RecordSuppressionArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2RecordSuppression] { + return pulumix.Output[[]GooglePrivacyDlpV2RecordSuppression]{ + OutputState: i.ToGooglePrivacyDlpV2RecordSuppressionArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration to suppress records whose suppression conditions evaluate to true. type GooglePrivacyDlpV2RecordSuppressionOutput struct{ *pulumi.OutputState } @@ -17312,6 +19995,12 @@ func (o GooglePrivacyDlpV2RecordSuppressionOutput) ToGooglePrivacyDlpV2RecordSup return o } +func (o GooglePrivacyDlpV2RecordSuppressionOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RecordSuppression] { + return pulumix.Output[GooglePrivacyDlpV2RecordSuppression]{ + OutputState: o.OutputState, + } +} + // A condition that when it evaluates to true will result in the record being evaluated to be suppressed from the transformed content. func (o GooglePrivacyDlpV2RecordSuppressionOutput) Condition() GooglePrivacyDlpV2RecordConditionPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RecordSuppression) *GooglePrivacyDlpV2RecordCondition { return v.Condition }).(GooglePrivacyDlpV2RecordConditionPtrOutput) @@ -17331,6 +20020,12 @@ func (o GooglePrivacyDlpV2RecordSuppressionArrayOutput) ToGooglePrivacyDlpV2Reco return o } +func (o GooglePrivacyDlpV2RecordSuppressionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2RecordSuppression] { + return pulumix.Output[[]GooglePrivacyDlpV2RecordSuppression]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2RecordSuppressionArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2RecordSuppressionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2RecordSuppression { return vs[0].([]GooglePrivacyDlpV2RecordSuppression)[vs[1].(int)] @@ -17358,6 +20053,12 @@ func (o GooglePrivacyDlpV2RecordSuppressionResponseOutput) ToGooglePrivacyDlpV2R return o } +func (o GooglePrivacyDlpV2RecordSuppressionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RecordSuppressionResponse] { + return pulumix.Output[GooglePrivacyDlpV2RecordSuppressionResponse]{ + OutputState: o.OutputState, + } +} + // A condition that when it evaluates to true will result in the record being evaluated to be suppressed from the transformed content. func (o GooglePrivacyDlpV2RecordSuppressionResponseOutput) Condition() GooglePrivacyDlpV2RecordConditionResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RecordSuppressionResponse) GooglePrivacyDlpV2RecordConditionResponse { @@ -17379,6 +20080,12 @@ func (o GooglePrivacyDlpV2RecordSuppressionResponseArrayOutput) ToGooglePrivacyD return o } +func (o GooglePrivacyDlpV2RecordSuppressionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2RecordSuppressionResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2RecordSuppressionResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2RecordSuppressionResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2RecordSuppressionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2RecordSuppressionResponse { return vs[0].([]GooglePrivacyDlpV2RecordSuppressionResponse)[vs[1].(int)] @@ -17424,6 +20131,12 @@ func (i GooglePrivacyDlpV2RecordTransformationsArgs) ToGooglePrivacyDlpV2RecordT return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RecordTransformationsOutput) } +func (i GooglePrivacyDlpV2RecordTransformationsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RecordTransformations] { + return pulumix.Output[GooglePrivacyDlpV2RecordTransformations]{ + OutputState: i.ToGooglePrivacyDlpV2RecordTransformationsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2RecordTransformationsArgs) ToGooglePrivacyDlpV2RecordTransformationsPtrOutput() GooglePrivacyDlpV2RecordTransformationsPtrOutput { return i.ToGooglePrivacyDlpV2RecordTransformationsPtrOutputWithContext(context.Background()) } @@ -17465,6 +20178,12 @@ func (i *googlePrivacyDlpV2RecordTransformationsPtrType) ToGooglePrivacyDlpV2Rec return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RecordTransformationsPtrOutput) } +func (i *googlePrivacyDlpV2RecordTransformationsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2RecordTransformations] { + return pulumix.Output[*GooglePrivacyDlpV2RecordTransformations]{ + OutputState: i.ToGooglePrivacyDlpV2RecordTransformationsPtrOutputWithContext(ctx).OutputState, + } +} + // A type of transformation that is applied over structured data such as a table. type GooglePrivacyDlpV2RecordTransformationsOutput struct{ *pulumi.OutputState } @@ -17490,6 +20209,12 @@ func (o GooglePrivacyDlpV2RecordTransformationsOutput) ToGooglePrivacyDlpV2Recor }).(GooglePrivacyDlpV2RecordTransformationsPtrOutput) } +func (o GooglePrivacyDlpV2RecordTransformationsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RecordTransformations] { + return pulumix.Output[GooglePrivacyDlpV2RecordTransformations]{ + OutputState: o.OutputState, + } +} + // Transform the record by applying various field transformations. func (o GooglePrivacyDlpV2RecordTransformationsOutput) FieldTransformations() GooglePrivacyDlpV2FieldTransformationArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RecordTransformations) []GooglePrivacyDlpV2FieldTransformation { @@ -17518,6 +20243,12 @@ func (o GooglePrivacyDlpV2RecordTransformationsPtrOutput) ToGooglePrivacyDlpV2Re return o } +func (o GooglePrivacyDlpV2RecordTransformationsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2RecordTransformations] { + return pulumix.Output[*GooglePrivacyDlpV2RecordTransformations]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2RecordTransformationsPtrOutput) Elem() GooglePrivacyDlpV2RecordTransformationsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2RecordTransformations) GooglePrivacyDlpV2RecordTransformations { if v != nil { @@ -17571,6 +20302,12 @@ func (o GooglePrivacyDlpV2RecordTransformationsResponseOutput) ToGooglePrivacyDl return o } +func (o GooglePrivacyDlpV2RecordTransformationsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RecordTransformationsResponse] { + return pulumix.Output[GooglePrivacyDlpV2RecordTransformationsResponse]{ + OutputState: o.OutputState, + } +} + // Transform the record by applying various field transformations. func (o GooglePrivacyDlpV2RecordTransformationsResponseOutput) FieldTransformations() GooglePrivacyDlpV2FieldTransformationResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RecordTransformationsResponse) []GooglePrivacyDlpV2FieldTransformationResponse { @@ -17616,6 +20353,12 @@ func (i GooglePrivacyDlpV2RedactConfigArgs) ToGooglePrivacyDlpV2RedactConfigOutp return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RedactConfigOutput) } +func (i GooglePrivacyDlpV2RedactConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RedactConfig] { + return pulumix.Output[GooglePrivacyDlpV2RedactConfig]{ + OutputState: i.ToGooglePrivacyDlpV2RedactConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2RedactConfigArgs) ToGooglePrivacyDlpV2RedactConfigPtrOutput() GooglePrivacyDlpV2RedactConfigPtrOutput { return i.ToGooglePrivacyDlpV2RedactConfigPtrOutputWithContext(context.Background()) } @@ -17657,6 +20400,12 @@ func (i *googlePrivacyDlpV2RedactConfigPtrType) ToGooglePrivacyDlpV2RedactConfig return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RedactConfigPtrOutput) } +func (i *googlePrivacyDlpV2RedactConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2RedactConfig] { + return pulumix.Output[*GooglePrivacyDlpV2RedactConfig]{ + OutputState: i.ToGooglePrivacyDlpV2RedactConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Redact a given value. For example, if used with an `InfoTypeTransformation` transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the output would be 'My phone number is '. type GooglePrivacyDlpV2RedactConfigOutput struct{ *pulumi.OutputState } @@ -17682,6 +20431,12 @@ func (o GooglePrivacyDlpV2RedactConfigOutput) ToGooglePrivacyDlpV2RedactConfigPt }).(GooglePrivacyDlpV2RedactConfigPtrOutput) } +func (o GooglePrivacyDlpV2RedactConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RedactConfig] { + return pulumix.Output[GooglePrivacyDlpV2RedactConfig]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2RedactConfigPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2RedactConfigPtrOutput) ElementType() reflect.Type { @@ -17696,6 +20451,12 @@ func (o GooglePrivacyDlpV2RedactConfigPtrOutput) ToGooglePrivacyDlpV2RedactConfi return o } +func (o GooglePrivacyDlpV2RedactConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2RedactConfig] { + return pulumix.Output[*GooglePrivacyDlpV2RedactConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2RedactConfigPtrOutput) Elem() GooglePrivacyDlpV2RedactConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2RedactConfig) GooglePrivacyDlpV2RedactConfig { if v != nil { @@ -17725,6 +20486,12 @@ func (o GooglePrivacyDlpV2RedactConfigResponseOutput) ToGooglePrivacyDlpV2Redact return o } +func (o GooglePrivacyDlpV2RedactConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RedactConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2RedactConfigResponse]{ + OutputState: o.OutputState, + } +} + // Message defining a custom regular expression. type GooglePrivacyDlpV2Regex struct { // The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included. @@ -17764,6 +20531,12 @@ func (i GooglePrivacyDlpV2RegexArgs) ToGooglePrivacyDlpV2RegexOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RegexOutput) } +func (i GooglePrivacyDlpV2RegexArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Regex] { + return pulumix.Output[GooglePrivacyDlpV2Regex]{ + OutputState: i.ToGooglePrivacyDlpV2RegexOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2RegexArgs) ToGooglePrivacyDlpV2RegexPtrOutput() GooglePrivacyDlpV2RegexPtrOutput { return i.ToGooglePrivacyDlpV2RegexPtrOutputWithContext(context.Background()) } @@ -17805,6 +20578,12 @@ func (i *googlePrivacyDlpV2RegexPtrType) ToGooglePrivacyDlpV2RegexPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RegexPtrOutput) } +func (i *googlePrivacyDlpV2RegexPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Regex] { + return pulumix.Output[*GooglePrivacyDlpV2Regex]{ + OutputState: i.ToGooglePrivacyDlpV2RegexPtrOutputWithContext(ctx).OutputState, + } +} + // Message defining a custom regular expression. type GooglePrivacyDlpV2RegexOutput struct{ *pulumi.OutputState } @@ -17830,6 +20609,12 @@ func (o GooglePrivacyDlpV2RegexOutput) ToGooglePrivacyDlpV2RegexPtrOutputWithCon }).(GooglePrivacyDlpV2RegexPtrOutput) } +func (o GooglePrivacyDlpV2RegexOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Regex] { + return pulumix.Output[GooglePrivacyDlpV2Regex]{ + OutputState: o.OutputState, + } +} + // The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included. func (o GooglePrivacyDlpV2RegexOutput) GroupIndexes() pulumi.IntArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Regex) []int { return v.GroupIndexes }).(pulumi.IntArrayOutput) @@ -17854,6 +20639,12 @@ func (o GooglePrivacyDlpV2RegexPtrOutput) ToGooglePrivacyDlpV2RegexPtrOutputWith return o } +func (o GooglePrivacyDlpV2RegexPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Regex] { + return pulumix.Output[*GooglePrivacyDlpV2Regex]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2RegexPtrOutput) Elem() GooglePrivacyDlpV2RegexOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2Regex) GooglePrivacyDlpV2Regex { if v != nil { @@ -17907,6 +20698,12 @@ func (o GooglePrivacyDlpV2RegexResponseOutput) ToGooglePrivacyDlpV2RegexResponse return o } +func (o GooglePrivacyDlpV2RegexResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RegexResponse] { + return pulumix.Output[GooglePrivacyDlpV2RegexResponse]{ + OutputState: o.OutputState, + } +} + // The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included. func (o GooglePrivacyDlpV2RegexResponseOutput) GroupIndexes() pulumi.IntArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RegexResponse) []int { return v.GroupIndexes }).(pulumi.IntArrayOutput) @@ -17952,6 +20749,12 @@ func (i GooglePrivacyDlpV2ReplaceDictionaryConfigArgs) ToGooglePrivacyDlpV2Repla return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ReplaceDictionaryConfigOutput) } +func (i GooglePrivacyDlpV2ReplaceDictionaryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ReplaceDictionaryConfig] { + return pulumix.Output[GooglePrivacyDlpV2ReplaceDictionaryConfig]{ + OutputState: i.ToGooglePrivacyDlpV2ReplaceDictionaryConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ReplaceDictionaryConfigArgs) ToGooglePrivacyDlpV2ReplaceDictionaryConfigPtrOutput() GooglePrivacyDlpV2ReplaceDictionaryConfigPtrOutput { return i.ToGooglePrivacyDlpV2ReplaceDictionaryConfigPtrOutputWithContext(context.Background()) } @@ -17993,6 +20796,12 @@ func (i *googlePrivacyDlpV2ReplaceDictionaryConfigPtrType) ToGooglePrivacyDlpV2R return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ReplaceDictionaryConfigPtrOutput) } +func (i *googlePrivacyDlpV2ReplaceDictionaryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ReplaceDictionaryConfig] { + return pulumix.Output[*GooglePrivacyDlpV2ReplaceDictionaryConfig]{ + OutputState: i.ToGooglePrivacyDlpV2ReplaceDictionaryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Replace each input value with a value randomly selected from the dictionary. type GooglePrivacyDlpV2ReplaceDictionaryConfigOutput struct{ *pulumi.OutputState } @@ -18018,6 +20827,12 @@ func (o GooglePrivacyDlpV2ReplaceDictionaryConfigOutput) ToGooglePrivacyDlpV2Rep }).(GooglePrivacyDlpV2ReplaceDictionaryConfigPtrOutput) } +func (o GooglePrivacyDlpV2ReplaceDictionaryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ReplaceDictionaryConfig] { + return pulumix.Output[GooglePrivacyDlpV2ReplaceDictionaryConfig]{ + OutputState: o.OutputState, + } +} + // A list of words to select from for random replacement. The [limits](https://cloud.google.com/dlp/limits) page contains details about the size limits of dictionaries. func (o GooglePrivacyDlpV2ReplaceDictionaryConfigOutput) WordList() GooglePrivacyDlpV2WordListPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ReplaceDictionaryConfig) *GooglePrivacyDlpV2WordList { return v.WordList }).(GooglePrivacyDlpV2WordListPtrOutput) @@ -18037,6 +20852,12 @@ func (o GooglePrivacyDlpV2ReplaceDictionaryConfigPtrOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2ReplaceDictionaryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ReplaceDictionaryConfig] { + return pulumix.Output[*GooglePrivacyDlpV2ReplaceDictionaryConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ReplaceDictionaryConfigPtrOutput) Elem() GooglePrivacyDlpV2ReplaceDictionaryConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ReplaceDictionaryConfig) GooglePrivacyDlpV2ReplaceDictionaryConfig { if v != nil { @@ -18078,6 +20899,12 @@ func (o GooglePrivacyDlpV2ReplaceDictionaryConfigResponseOutput) ToGooglePrivacy return o } +func (o GooglePrivacyDlpV2ReplaceDictionaryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ReplaceDictionaryConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2ReplaceDictionaryConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of words to select from for random replacement. The [limits](https://cloud.google.com/dlp/limits) page contains details about the size limits of dictionaries. func (o GooglePrivacyDlpV2ReplaceDictionaryConfigResponseOutput) WordList() GooglePrivacyDlpV2WordListResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ReplaceDictionaryConfigResponse) GooglePrivacyDlpV2WordListResponse { @@ -18120,6 +20947,12 @@ func (i GooglePrivacyDlpV2ReplaceValueConfigArgs) ToGooglePrivacyDlpV2ReplaceVal return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ReplaceValueConfigOutput) } +func (i GooglePrivacyDlpV2ReplaceValueConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ReplaceValueConfig] { + return pulumix.Output[GooglePrivacyDlpV2ReplaceValueConfig]{ + OutputState: i.ToGooglePrivacyDlpV2ReplaceValueConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ReplaceValueConfigArgs) ToGooglePrivacyDlpV2ReplaceValueConfigPtrOutput() GooglePrivacyDlpV2ReplaceValueConfigPtrOutput { return i.ToGooglePrivacyDlpV2ReplaceValueConfigPtrOutputWithContext(context.Background()) } @@ -18161,6 +20994,12 @@ func (i *googlePrivacyDlpV2ReplaceValueConfigPtrType) ToGooglePrivacyDlpV2Replac return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ReplaceValueConfigPtrOutput) } +func (i *googlePrivacyDlpV2ReplaceValueConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ReplaceValueConfig] { + return pulumix.Output[*GooglePrivacyDlpV2ReplaceValueConfig]{ + OutputState: i.ToGooglePrivacyDlpV2ReplaceValueConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Replace each input value with a given `Value`. type GooglePrivacyDlpV2ReplaceValueConfigOutput struct{ *pulumi.OutputState } @@ -18186,6 +21025,12 @@ func (o GooglePrivacyDlpV2ReplaceValueConfigOutput) ToGooglePrivacyDlpV2ReplaceV }).(GooglePrivacyDlpV2ReplaceValueConfigPtrOutput) } +func (o GooglePrivacyDlpV2ReplaceValueConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ReplaceValueConfig] { + return pulumix.Output[GooglePrivacyDlpV2ReplaceValueConfig]{ + OutputState: o.OutputState, + } +} + // Value to replace it with. func (o GooglePrivacyDlpV2ReplaceValueConfigOutput) NewValue() GooglePrivacyDlpV2ValuePtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ReplaceValueConfig) *GooglePrivacyDlpV2Value { return v.NewValue }).(GooglePrivacyDlpV2ValuePtrOutput) @@ -18205,6 +21050,12 @@ func (o GooglePrivacyDlpV2ReplaceValueConfigPtrOutput) ToGooglePrivacyDlpV2Repla return o } +func (o GooglePrivacyDlpV2ReplaceValueConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ReplaceValueConfig] { + return pulumix.Output[*GooglePrivacyDlpV2ReplaceValueConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ReplaceValueConfigPtrOutput) Elem() GooglePrivacyDlpV2ReplaceValueConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ReplaceValueConfig) GooglePrivacyDlpV2ReplaceValueConfig { if v != nil { @@ -18246,6 +21097,12 @@ func (o GooglePrivacyDlpV2ReplaceValueConfigResponseOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2ReplaceValueConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ReplaceValueConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2ReplaceValueConfigResponse]{ + OutputState: o.OutputState, + } +} + // Value to replace it with. func (o GooglePrivacyDlpV2ReplaceValueConfigResponseOutput) NewValue() GooglePrivacyDlpV2ValueResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ReplaceValueConfigResponse) GooglePrivacyDlpV2ValueResponse { @@ -18284,6 +21141,12 @@ func (i GooglePrivacyDlpV2ReplaceWithInfoTypeConfigArgs) ToGooglePrivacyDlpV2Rep return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ReplaceWithInfoTypeConfigOutput) } +func (i GooglePrivacyDlpV2ReplaceWithInfoTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ReplaceWithInfoTypeConfig] { + return pulumix.Output[GooglePrivacyDlpV2ReplaceWithInfoTypeConfig]{ + OutputState: i.ToGooglePrivacyDlpV2ReplaceWithInfoTypeConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ReplaceWithInfoTypeConfigArgs) ToGooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutput() GooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutput { return i.ToGooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutputWithContext(context.Background()) } @@ -18325,6 +21188,12 @@ func (i *googlePrivacyDlpV2ReplaceWithInfoTypeConfigPtrType) ToGooglePrivacyDlpV return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutput) } +func (i *googlePrivacyDlpV2ReplaceWithInfoTypeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ReplaceWithInfoTypeConfig] { + return pulumix.Output[*GooglePrivacyDlpV2ReplaceWithInfoTypeConfig]{ + OutputState: i.ToGooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Replace each matching finding with the name of the info_type. type GooglePrivacyDlpV2ReplaceWithInfoTypeConfigOutput struct{ *pulumi.OutputState } @@ -18350,6 +21219,12 @@ func (o GooglePrivacyDlpV2ReplaceWithInfoTypeConfigOutput) ToGooglePrivacyDlpV2R }).(GooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutput) } +func (o GooglePrivacyDlpV2ReplaceWithInfoTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ReplaceWithInfoTypeConfig] { + return pulumix.Output[GooglePrivacyDlpV2ReplaceWithInfoTypeConfig]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutput) ElementType() reflect.Type { @@ -18364,6 +21239,12 @@ func (o GooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ReplaceWithInfoTypeConfig] { + return pulumix.Output[*GooglePrivacyDlpV2ReplaceWithInfoTypeConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ReplaceWithInfoTypeConfigPtrOutput) Elem() GooglePrivacyDlpV2ReplaceWithInfoTypeConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ReplaceWithInfoTypeConfig) GooglePrivacyDlpV2ReplaceWithInfoTypeConfig { if v != nil { @@ -18393,6 +21274,12 @@ func (o GooglePrivacyDlpV2ReplaceWithInfoTypeConfigResponseOutput) ToGooglePriva return o } +func (o GooglePrivacyDlpV2ReplaceWithInfoTypeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ReplaceWithInfoTypeConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2ReplaceWithInfoTypeConfigResponse]{ + OutputState: o.OutputState, + } +} + // De-id options. type GooglePrivacyDlpV2RequestedDeidentifyOptionsResponse struct { // Snapshot of the state of the `DeidentifyTemplate` from the Deidentify action at the time this job was run. @@ -18418,6 +21305,12 @@ func (o GooglePrivacyDlpV2RequestedDeidentifyOptionsResponseOutput) ToGooglePriv return o } +func (o GooglePrivacyDlpV2RequestedDeidentifyOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RequestedDeidentifyOptionsResponse] { + return pulumix.Output[GooglePrivacyDlpV2RequestedDeidentifyOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Snapshot of the state of the `DeidentifyTemplate` from the Deidentify action at the time this job was run. func (o GooglePrivacyDlpV2RequestedDeidentifyOptionsResponseOutput) SnapshotDeidentifyTemplate() GooglePrivacyDlpV2DeidentifyTemplateResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RequestedDeidentifyOptionsResponse) GooglePrivacyDlpV2DeidentifyTemplateResponse { @@ -18462,6 +21355,12 @@ func (o GooglePrivacyDlpV2RequestedOptionsResponseOutput) ToGooglePrivacyDlpV2Re return o } +func (o GooglePrivacyDlpV2RequestedOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RequestedOptionsResponse] { + return pulumix.Output[GooglePrivacyDlpV2RequestedOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Inspect config. func (o GooglePrivacyDlpV2RequestedOptionsResponseOutput) JobConfig() GooglePrivacyDlpV2InspectJobConfigResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RequestedOptionsResponse) GooglePrivacyDlpV2InspectJobConfigResponse { @@ -18497,6 +21396,12 @@ func (o GooglePrivacyDlpV2RequestedRiskAnalysisOptionsResponseOutput) ToGooglePr return o } +func (o GooglePrivacyDlpV2RequestedRiskAnalysisOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RequestedRiskAnalysisOptionsResponse] { + return pulumix.Output[GooglePrivacyDlpV2RequestedRiskAnalysisOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The job config for the risk job. func (o GooglePrivacyDlpV2RequestedRiskAnalysisOptionsResponseOutput) JobConfig() GooglePrivacyDlpV2RiskAnalysisJobConfigResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RequestedRiskAnalysisOptionsResponse) GooglePrivacyDlpV2RiskAnalysisJobConfigResponse { @@ -18531,6 +21436,12 @@ func (o GooglePrivacyDlpV2ResultResponseOutput) ToGooglePrivacyDlpV2ResultRespon return o } +func (o GooglePrivacyDlpV2ResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ResultResponse] { + return pulumix.Output[GooglePrivacyDlpV2ResultResponse]{ + OutputState: o.OutputState, + } +} + // Statistics related to the processing of hybrid inspect. func (o GooglePrivacyDlpV2ResultResponseOutput) HybridStats() GooglePrivacyDlpV2HybridInspectStatisticsResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ResultResponse) GooglePrivacyDlpV2HybridInspectStatisticsResponse { @@ -18598,6 +21509,12 @@ func (i GooglePrivacyDlpV2RiskAnalysisJobConfigArgs) ToGooglePrivacyDlpV2RiskAna return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RiskAnalysisJobConfigOutput) } +func (i GooglePrivacyDlpV2RiskAnalysisJobConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RiskAnalysisJobConfig] { + return pulumix.Output[GooglePrivacyDlpV2RiskAnalysisJobConfig]{ + OutputState: i.ToGooglePrivacyDlpV2RiskAnalysisJobConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2RiskAnalysisJobConfigArgs) ToGooglePrivacyDlpV2RiskAnalysisJobConfigPtrOutput() GooglePrivacyDlpV2RiskAnalysisJobConfigPtrOutput { return i.ToGooglePrivacyDlpV2RiskAnalysisJobConfigPtrOutputWithContext(context.Background()) } @@ -18639,6 +21556,12 @@ func (i *googlePrivacyDlpV2RiskAnalysisJobConfigPtrType) ToGooglePrivacyDlpV2Ris return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2RiskAnalysisJobConfigPtrOutput) } +func (i *googlePrivacyDlpV2RiskAnalysisJobConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2RiskAnalysisJobConfig] { + return pulumix.Output[*GooglePrivacyDlpV2RiskAnalysisJobConfig]{ + OutputState: i.ToGooglePrivacyDlpV2RiskAnalysisJobConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a risk analysis job. See https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more. type GooglePrivacyDlpV2RiskAnalysisJobConfigOutput struct{ *pulumi.OutputState } @@ -18664,6 +21587,12 @@ func (o GooglePrivacyDlpV2RiskAnalysisJobConfigOutput) ToGooglePrivacyDlpV2RiskA }).(GooglePrivacyDlpV2RiskAnalysisJobConfigPtrOutput) } +func (o GooglePrivacyDlpV2RiskAnalysisJobConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RiskAnalysisJobConfig] { + return pulumix.Output[GooglePrivacyDlpV2RiskAnalysisJobConfig]{ + OutputState: o.OutputState, + } +} + // Actions to execute at the completion of the job. Are executed in the order provided. func (o GooglePrivacyDlpV2RiskAnalysisJobConfigOutput) Actions() GooglePrivacyDlpV2ActionArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RiskAnalysisJobConfig) []GooglePrivacyDlpV2Action { return v.Actions }).(GooglePrivacyDlpV2ActionArrayOutput) @@ -18695,6 +21624,12 @@ func (o GooglePrivacyDlpV2RiskAnalysisJobConfigPtrOutput) ToGooglePrivacyDlpV2Ri return o } +func (o GooglePrivacyDlpV2RiskAnalysisJobConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2RiskAnalysisJobConfig] { + return pulumix.Output[*GooglePrivacyDlpV2RiskAnalysisJobConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2RiskAnalysisJobConfigPtrOutput) Elem() GooglePrivacyDlpV2RiskAnalysisJobConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2RiskAnalysisJobConfig) GooglePrivacyDlpV2RiskAnalysisJobConfig { if v != nil { @@ -18760,6 +21695,12 @@ func (o GooglePrivacyDlpV2RiskAnalysisJobConfigResponseOutput) ToGooglePrivacyDl return o } +func (o GooglePrivacyDlpV2RiskAnalysisJobConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2RiskAnalysisJobConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2RiskAnalysisJobConfigResponse]{ + OutputState: o.OutputState, + } +} + // Actions to execute at the completion of the job. Are executed in the order provided. func (o GooglePrivacyDlpV2RiskAnalysisJobConfigResponseOutput) Actions() GooglePrivacyDlpV2ActionResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2RiskAnalysisJobConfigResponse) []GooglePrivacyDlpV2ActionResponse { @@ -18816,6 +21757,12 @@ func (i GooglePrivacyDlpV2SaveFindingsArgs) ToGooglePrivacyDlpV2SaveFindingsOutp return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2SaveFindingsOutput) } +func (i GooglePrivacyDlpV2SaveFindingsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SaveFindings] { + return pulumix.Output[GooglePrivacyDlpV2SaveFindings]{ + OutputState: i.ToGooglePrivacyDlpV2SaveFindingsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2SaveFindingsArgs) ToGooglePrivacyDlpV2SaveFindingsPtrOutput() GooglePrivacyDlpV2SaveFindingsPtrOutput { return i.ToGooglePrivacyDlpV2SaveFindingsPtrOutputWithContext(context.Background()) } @@ -18857,6 +21804,12 @@ func (i *googlePrivacyDlpV2SaveFindingsPtrType) ToGooglePrivacyDlpV2SaveFindings return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2SaveFindingsPtrOutput) } +func (i *googlePrivacyDlpV2SaveFindingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2SaveFindings] { + return pulumix.Output[*GooglePrivacyDlpV2SaveFindings]{ + OutputState: i.ToGooglePrivacyDlpV2SaveFindingsPtrOutputWithContext(ctx).OutputState, + } +} + // If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk type GooglePrivacyDlpV2SaveFindingsOutput struct{ *pulumi.OutputState } @@ -18882,6 +21835,12 @@ func (o GooglePrivacyDlpV2SaveFindingsOutput) ToGooglePrivacyDlpV2SaveFindingsPt }).(GooglePrivacyDlpV2SaveFindingsPtrOutput) } +func (o GooglePrivacyDlpV2SaveFindingsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SaveFindings] { + return pulumix.Output[GooglePrivacyDlpV2SaveFindings]{ + OutputState: o.OutputState, + } +} + // Location to store findings outside of DLP. func (o GooglePrivacyDlpV2SaveFindingsOutput) OutputConfig() GooglePrivacyDlpV2OutputStorageConfigPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2SaveFindings) *GooglePrivacyDlpV2OutputStorageConfig { return v.OutputConfig }).(GooglePrivacyDlpV2OutputStorageConfigPtrOutput) @@ -18901,6 +21860,12 @@ func (o GooglePrivacyDlpV2SaveFindingsPtrOutput) ToGooglePrivacyDlpV2SaveFinding return o } +func (o GooglePrivacyDlpV2SaveFindingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2SaveFindings] { + return pulumix.Output[*GooglePrivacyDlpV2SaveFindings]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2SaveFindingsPtrOutput) Elem() GooglePrivacyDlpV2SaveFindingsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2SaveFindings) GooglePrivacyDlpV2SaveFindings { if v != nil { @@ -18942,6 +21907,12 @@ func (o GooglePrivacyDlpV2SaveFindingsResponseOutput) ToGooglePrivacyDlpV2SaveFi return o } +func (o GooglePrivacyDlpV2SaveFindingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SaveFindingsResponse] { + return pulumix.Output[GooglePrivacyDlpV2SaveFindingsResponse]{ + OutputState: o.OutputState, + } +} + // Location to store findings outside of DLP. func (o GooglePrivacyDlpV2SaveFindingsResponseOutput) OutputConfig() GooglePrivacyDlpV2OutputStorageConfigResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2SaveFindingsResponse) GooglePrivacyDlpV2OutputStorageConfigResponse { @@ -18984,6 +21955,12 @@ func (i GooglePrivacyDlpV2ScheduleArgs) ToGooglePrivacyDlpV2ScheduleOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ScheduleOutput) } +func (i GooglePrivacyDlpV2ScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Schedule] { + return pulumix.Output[GooglePrivacyDlpV2Schedule]{ + OutputState: i.ToGooglePrivacyDlpV2ScheduleOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ScheduleArgs) ToGooglePrivacyDlpV2SchedulePtrOutput() GooglePrivacyDlpV2SchedulePtrOutput { return i.ToGooglePrivacyDlpV2SchedulePtrOutputWithContext(context.Background()) } @@ -19025,6 +22002,12 @@ func (i *googlePrivacyDlpV2SchedulePtrType) ToGooglePrivacyDlpV2SchedulePtrOutpu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2SchedulePtrOutput) } +func (i *googlePrivacyDlpV2SchedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Schedule] { + return pulumix.Output[*GooglePrivacyDlpV2Schedule]{ + OutputState: i.ToGooglePrivacyDlpV2SchedulePtrOutputWithContext(ctx).OutputState, + } +} + // Schedule for inspect job triggers. type GooglePrivacyDlpV2ScheduleOutput struct{ *pulumi.OutputState } @@ -19050,6 +22033,12 @@ func (o GooglePrivacyDlpV2ScheduleOutput) ToGooglePrivacyDlpV2SchedulePtrOutputW }).(GooglePrivacyDlpV2SchedulePtrOutput) } +func (o GooglePrivacyDlpV2ScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Schedule] { + return pulumix.Output[GooglePrivacyDlpV2Schedule]{ + OutputState: o.OutputState, + } +} + // With this option a job is started on a regular periodic basis. For example: every day (86400 seconds). A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs. This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days. func (o GooglePrivacyDlpV2ScheduleOutput) RecurrencePeriodDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Schedule) *string { return v.RecurrencePeriodDuration }).(pulumi.StringPtrOutput) @@ -19069,6 +22058,12 @@ func (o GooglePrivacyDlpV2SchedulePtrOutput) ToGooglePrivacyDlpV2SchedulePtrOutp return o } +func (o GooglePrivacyDlpV2SchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Schedule] { + return pulumix.Output[*GooglePrivacyDlpV2Schedule]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2SchedulePtrOutput) Elem() GooglePrivacyDlpV2ScheduleOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2Schedule) GooglePrivacyDlpV2Schedule { if v != nil { @@ -19110,6 +22105,12 @@ func (o GooglePrivacyDlpV2ScheduleResponseOutput) ToGooglePrivacyDlpV2ScheduleRe return o } +func (o GooglePrivacyDlpV2ScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ScheduleResponse] { + return pulumix.Output[GooglePrivacyDlpV2ScheduleResponse]{ + OutputState: o.OutputState, + } +} + // With this option a job is started on a regular periodic basis. For example: every day (86400 seconds). A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs. This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days. func (o GooglePrivacyDlpV2ScheduleResponseOutput) RecurrencePeriodDuration() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ScheduleResponse) string { return v.RecurrencePeriodDuration }).(pulumi.StringOutput) @@ -19150,6 +22151,12 @@ func (i GooglePrivacyDlpV2SelectedInfoTypesArgs) ToGooglePrivacyDlpV2SelectedInf return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2SelectedInfoTypesOutput) } +func (i GooglePrivacyDlpV2SelectedInfoTypesArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SelectedInfoTypes] { + return pulumix.Output[GooglePrivacyDlpV2SelectedInfoTypes]{ + OutputState: i.ToGooglePrivacyDlpV2SelectedInfoTypesOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2SelectedInfoTypesArgs) ToGooglePrivacyDlpV2SelectedInfoTypesPtrOutput() GooglePrivacyDlpV2SelectedInfoTypesPtrOutput { return i.ToGooglePrivacyDlpV2SelectedInfoTypesPtrOutputWithContext(context.Background()) } @@ -19191,6 +22198,12 @@ func (i *googlePrivacyDlpV2SelectedInfoTypesPtrType) ToGooglePrivacyDlpV2Selecte return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2SelectedInfoTypesPtrOutput) } +func (i *googlePrivacyDlpV2SelectedInfoTypesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2SelectedInfoTypes] { + return pulumix.Output[*GooglePrivacyDlpV2SelectedInfoTypes]{ + OutputState: i.ToGooglePrivacyDlpV2SelectedInfoTypesPtrOutputWithContext(ctx).OutputState, + } +} + // Apply transformation to the selected info_types. type GooglePrivacyDlpV2SelectedInfoTypesOutput struct{ *pulumi.OutputState } @@ -19216,6 +22229,12 @@ func (o GooglePrivacyDlpV2SelectedInfoTypesOutput) ToGooglePrivacyDlpV2SelectedI }).(GooglePrivacyDlpV2SelectedInfoTypesPtrOutput) } +func (o GooglePrivacyDlpV2SelectedInfoTypesOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SelectedInfoTypes] { + return pulumix.Output[GooglePrivacyDlpV2SelectedInfoTypes]{ + OutputState: o.OutputState, + } +} + // InfoTypes to apply the transformation to. Required. Provided InfoType must be unique within the ImageTransformations message. func (o GooglePrivacyDlpV2SelectedInfoTypesOutput) InfoTypes() GooglePrivacyDlpV2InfoTypeArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2SelectedInfoTypes) []GooglePrivacyDlpV2InfoType { return v.InfoTypes }).(GooglePrivacyDlpV2InfoTypeArrayOutput) @@ -19235,6 +22254,12 @@ func (o GooglePrivacyDlpV2SelectedInfoTypesPtrOutput) ToGooglePrivacyDlpV2Select return o } +func (o GooglePrivacyDlpV2SelectedInfoTypesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2SelectedInfoTypes] { + return pulumix.Output[*GooglePrivacyDlpV2SelectedInfoTypes]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2SelectedInfoTypesPtrOutput) Elem() GooglePrivacyDlpV2SelectedInfoTypesOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2SelectedInfoTypes) GooglePrivacyDlpV2SelectedInfoTypes { if v != nil { @@ -19276,6 +22301,12 @@ func (o GooglePrivacyDlpV2SelectedInfoTypesResponseOutput) ToGooglePrivacyDlpV2S return o } +func (o GooglePrivacyDlpV2SelectedInfoTypesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SelectedInfoTypesResponse] { + return pulumix.Output[GooglePrivacyDlpV2SelectedInfoTypesResponse]{ + OutputState: o.OutputState, + } +} + // InfoTypes to apply the transformation to. Required. Provided InfoType must be unique within the ImageTransformations message. func (o GooglePrivacyDlpV2SelectedInfoTypesResponseOutput) InfoTypes() GooglePrivacyDlpV2InfoTypeResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2SelectedInfoTypesResponse) []GooglePrivacyDlpV2InfoTypeResponse { @@ -19318,6 +22349,12 @@ func (i GooglePrivacyDlpV2SensitivityScoreArgs) ToGooglePrivacyDlpV2SensitivityS return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2SensitivityScoreOutput) } +func (i GooglePrivacyDlpV2SensitivityScoreArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SensitivityScore] { + return pulumix.Output[GooglePrivacyDlpV2SensitivityScore]{ + OutputState: i.ToGooglePrivacyDlpV2SensitivityScoreOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2SensitivityScoreArgs) ToGooglePrivacyDlpV2SensitivityScorePtrOutput() GooglePrivacyDlpV2SensitivityScorePtrOutput { return i.ToGooglePrivacyDlpV2SensitivityScorePtrOutputWithContext(context.Background()) } @@ -19359,6 +22396,12 @@ func (i *googlePrivacyDlpV2SensitivityScorePtrType) ToGooglePrivacyDlpV2Sensitiv return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2SensitivityScorePtrOutput) } +func (i *googlePrivacyDlpV2SensitivityScorePtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2SensitivityScore] { + return pulumix.Output[*GooglePrivacyDlpV2SensitivityScore]{ + OutputState: i.ToGooglePrivacyDlpV2SensitivityScorePtrOutputWithContext(ctx).OutputState, + } +} + // Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. type GooglePrivacyDlpV2SensitivityScoreOutput struct{ *pulumi.OutputState } @@ -19384,6 +22427,12 @@ func (o GooglePrivacyDlpV2SensitivityScoreOutput) ToGooglePrivacyDlpV2Sensitivit }).(GooglePrivacyDlpV2SensitivityScorePtrOutput) } +func (o GooglePrivacyDlpV2SensitivityScoreOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SensitivityScore] { + return pulumix.Output[GooglePrivacyDlpV2SensitivityScore]{ + OutputState: o.OutputState, + } +} + // The sensitivity score applied to the resource. func (o GooglePrivacyDlpV2SensitivityScoreOutput) Score() GooglePrivacyDlpV2SensitivityScoreScorePtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2SensitivityScore) *GooglePrivacyDlpV2SensitivityScoreScore { return v.Score }).(GooglePrivacyDlpV2SensitivityScoreScorePtrOutput) @@ -19403,6 +22452,12 @@ func (o GooglePrivacyDlpV2SensitivityScorePtrOutput) ToGooglePrivacyDlpV2Sensiti return o } +func (o GooglePrivacyDlpV2SensitivityScorePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2SensitivityScore] { + return pulumix.Output[*GooglePrivacyDlpV2SensitivityScore]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2SensitivityScorePtrOutput) Elem() GooglePrivacyDlpV2SensitivityScoreOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2SensitivityScore) GooglePrivacyDlpV2SensitivityScore { if v != nil { @@ -19444,6 +22499,12 @@ func (o GooglePrivacyDlpV2SensitivityScoreResponseOutput) ToGooglePrivacyDlpV2Se return o } +func (o GooglePrivacyDlpV2SensitivityScoreResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SensitivityScoreResponse] { + return pulumix.Output[GooglePrivacyDlpV2SensitivityScoreResponse]{ + OutputState: o.OutputState, + } +} + // The sensitivity score applied to the resource. func (o GooglePrivacyDlpV2SensitivityScoreResponseOutput) Score() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2SensitivityScoreResponse) string { return v.Score }).(pulumi.StringOutput) @@ -19492,6 +22553,12 @@ func (i GooglePrivacyDlpV2StatisticalTableArgs) ToGooglePrivacyDlpV2StatisticalT return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2StatisticalTableOutput) } +func (i GooglePrivacyDlpV2StatisticalTableArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StatisticalTable] { + return pulumix.Output[GooglePrivacyDlpV2StatisticalTable]{ + OutputState: i.ToGooglePrivacyDlpV2StatisticalTableOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2StatisticalTableArrayInput is an input type that accepts GooglePrivacyDlpV2StatisticalTableArray and GooglePrivacyDlpV2StatisticalTableArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2StatisticalTableArrayInput` via: // @@ -19517,6 +22584,12 @@ func (i GooglePrivacyDlpV2StatisticalTableArray) ToGooglePrivacyDlpV2Statistical return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2StatisticalTableArrayOutput) } +func (i GooglePrivacyDlpV2StatisticalTableArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2StatisticalTable] { + return pulumix.Output[[]GooglePrivacyDlpV2StatisticalTable]{ + OutputState: i.ToGooglePrivacyDlpV2StatisticalTableArrayOutputWithContext(ctx).OutputState, + } +} + // An auxiliary table containing statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable). type GooglePrivacyDlpV2StatisticalTableOutput struct{ *pulumi.OutputState } @@ -19532,6 +22605,12 @@ func (o GooglePrivacyDlpV2StatisticalTableOutput) ToGooglePrivacyDlpV2Statistica return o } +func (o GooglePrivacyDlpV2StatisticalTableOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StatisticalTable] { + return pulumix.Output[GooglePrivacyDlpV2StatisticalTable]{ + OutputState: o.OutputState, + } +} + // Quasi-identifier columns. func (o GooglePrivacyDlpV2StatisticalTableOutput) QuasiIds() GooglePrivacyDlpV2QuasiIdentifierFieldArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2StatisticalTable) []GooglePrivacyDlpV2QuasiIdentifierField { return v.QuasiIds }).(GooglePrivacyDlpV2QuasiIdentifierFieldArrayOutput) @@ -19561,6 +22640,12 @@ func (o GooglePrivacyDlpV2StatisticalTableArrayOutput) ToGooglePrivacyDlpV2Stati return o } +func (o GooglePrivacyDlpV2StatisticalTableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2StatisticalTable] { + return pulumix.Output[[]GooglePrivacyDlpV2StatisticalTable]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2StatisticalTableArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2StatisticalTableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2StatisticalTable { return vs[0].([]GooglePrivacyDlpV2StatisticalTable)[vs[1].(int)] @@ -19592,6 +22677,12 @@ func (o GooglePrivacyDlpV2StatisticalTableResponseOutput) ToGooglePrivacyDlpV2St return o } +func (o GooglePrivacyDlpV2StatisticalTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StatisticalTableResponse] { + return pulumix.Output[GooglePrivacyDlpV2StatisticalTableResponse]{ + OutputState: o.OutputState, + } +} + // Quasi-identifier columns. func (o GooglePrivacyDlpV2StatisticalTableResponseOutput) QuasiIds() GooglePrivacyDlpV2QuasiIdentifierFieldResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2StatisticalTableResponse) []GooglePrivacyDlpV2QuasiIdentifierFieldResponse { @@ -19627,6 +22718,12 @@ func (o GooglePrivacyDlpV2StatisticalTableResponseArrayOutput) ToGooglePrivacyDl return o } +func (o GooglePrivacyDlpV2StatisticalTableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2StatisticalTableResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2StatisticalTableResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2StatisticalTableResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2StatisticalTableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2StatisticalTableResponse { return vs[0].([]GooglePrivacyDlpV2StatisticalTableResponse)[vs[1].(int)] @@ -19682,6 +22779,12 @@ func (i GooglePrivacyDlpV2StorageConfigArgs) ToGooglePrivacyDlpV2StorageConfigOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2StorageConfigOutput) } +func (i GooglePrivacyDlpV2StorageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StorageConfig] { + return pulumix.Output[GooglePrivacyDlpV2StorageConfig]{ + OutputState: i.ToGooglePrivacyDlpV2StorageConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2StorageConfigArgs) ToGooglePrivacyDlpV2StorageConfigPtrOutput() GooglePrivacyDlpV2StorageConfigPtrOutput { return i.ToGooglePrivacyDlpV2StorageConfigPtrOutputWithContext(context.Background()) } @@ -19723,6 +22826,12 @@ func (i *googlePrivacyDlpV2StorageConfigPtrType) ToGooglePrivacyDlpV2StorageConf return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2StorageConfigPtrOutput) } +func (i *googlePrivacyDlpV2StorageConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2StorageConfig] { + return pulumix.Output[*GooglePrivacyDlpV2StorageConfig]{ + OutputState: i.ToGooglePrivacyDlpV2StorageConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Shared message indicating Cloud storage type. type GooglePrivacyDlpV2StorageConfigOutput struct{ *pulumi.OutputState } @@ -19748,6 +22857,12 @@ func (o GooglePrivacyDlpV2StorageConfigOutput) ToGooglePrivacyDlpV2StorageConfig }).(GooglePrivacyDlpV2StorageConfigPtrOutput) } +func (o GooglePrivacyDlpV2StorageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StorageConfig] { + return pulumix.Output[GooglePrivacyDlpV2StorageConfig]{ + OutputState: o.OutputState, + } +} + // BigQuery options. func (o GooglePrivacyDlpV2StorageConfigOutput) BigQueryOptions() GooglePrivacyDlpV2BigQueryOptionsPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2StorageConfig) *GooglePrivacyDlpV2BigQueryOptions { return v.BigQueryOptions }).(GooglePrivacyDlpV2BigQueryOptionsPtrOutput) @@ -19788,6 +22903,12 @@ func (o GooglePrivacyDlpV2StorageConfigPtrOutput) ToGooglePrivacyDlpV2StorageCon return o } +func (o GooglePrivacyDlpV2StorageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2StorageConfig] { + return pulumix.Output[*GooglePrivacyDlpV2StorageConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2StorageConfigPtrOutput) Elem() GooglePrivacyDlpV2StorageConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2StorageConfig) GooglePrivacyDlpV2StorageConfig { if v != nil { @@ -19875,6 +22996,12 @@ func (o GooglePrivacyDlpV2StorageConfigResponseOutput) ToGooglePrivacyDlpV2Stora return o } +func (o GooglePrivacyDlpV2StorageConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StorageConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2StorageConfigResponse]{ + OutputState: o.OutputState, + } +} + // BigQuery options. func (o GooglePrivacyDlpV2StorageConfigResponseOutput) BigQueryOptions() GooglePrivacyDlpV2BigQueryOptionsResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2StorageConfigResponse) GooglePrivacyDlpV2BigQueryOptionsResponse { @@ -19960,6 +23087,12 @@ func (i GooglePrivacyDlpV2StoredInfoTypeConfigArgs) ToGooglePrivacyDlpV2StoredIn return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2StoredInfoTypeConfigOutput) } +func (i GooglePrivacyDlpV2StoredInfoTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StoredInfoTypeConfig] { + return pulumix.Output[GooglePrivacyDlpV2StoredInfoTypeConfig]{ + OutputState: i.ToGooglePrivacyDlpV2StoredInfoTypeConfigOutputWithContext(ctx).OutputState, + } +} + // Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https://cloud.google.com/dlp/docs/creating-custom-infotypes. type GooglePrivacyDlpV2StoredInfoTypeConfigOutput struct{ *pulumi.OutputState } @@ -19975,6 +23108,12 @@ func (o GooglePrivacyDlpV2StoredInfoTypeConfigOutput) ToGooglePrivacyDlpV2Stored return o } +func (o GooglePrivacyDlpV2StoredInfoTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StoredInfoTypeConfig] { + return pulumix.Output[GooglePrivacyDlpV2StoredInfoTypeConfig]{ + OutputState: o.OutputState, + } +} + // Description of the StoredInfoType (max 256 characters). func (o GooglePrivacyDlpV2StoredInfoTypeConfigOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2StoredInfoTypeConfig) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -20031,6 +23170,12 @@ func (o GooglePrivacyDlpV2StoredInfoTypeConfigResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2StoredInfoTypeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StoredInfoTypeConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2StoredInfoTypeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Description of the StoredInfoType (max 256 characters). func (o GooglePrivacyDlpV2StoredInfoTypeConfigResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2StoredInfoTypeConfigResponse) string { return v.Description }).(pulumi.StringOutput) @@ -20081,6 +23226,12 @@ func (o GooglePrivacyDlpV2StoredInfoTypeStatsResponseOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2StoredInfoTypeStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StoredInfoTypeStatsResponse] { + return pulumix.Output[GooglePrivacyDlpV2StoredInfoTypeStatsResponse]{ + OutputState: o.OutputState, + } +} + // StoredInfoType where findings are defined by a dictionary of phrases. func (o GooglePrivacyDlpV2StoredInfoTypeStatsResponseOutput) LargeCustomDictionary() GooglePrivacyDlpV2LargeCustomDictionaryStatsResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2StoredInfoTypeStatsResponse) GooglePrivacyDlpV2LargeCustomDictionaryStatsResponse { @@ -20117,6 +23268,12 @@ func (o GooglePrivacyDlpV2StoredInfoTypeVersionResponseOutput) ToGooglePrivacyDl return o } +func (o GooglePrivacyDlpV2StoredInfoTypeVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StoredInfoTypeVersionResponse] { + return pulumix.Output[GooglePrivacyDlpV2StoredInfoTypeVersionResponse]{ + OutputState: o.OutputState, + } +} + // StoredInfoType configuration. func (o GooglePrivacyDlpV2StoredInfoTypeVersionResponseOutput) Config() GooglePrivacyDlpV2StoredInfoTypeConfigResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2StoredInfoTypeVersionResponse) GooglePrivacyDlpV2StoredInfoTypeConfigResponse { @@ -20162,6 +23319,12 @@ func (o GooglePrivacyDlpV2StoredInfoTypeVersionResponseArrayOutput) ToGooglePriv return o } +func (o GooglePrivacyDlpV2StoredInfoTypeVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2StoredInfoTypeVersionResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2StoredInfoTypeVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2StoredInfoTypeVersionResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2StoredInfoTypeVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2StoredInfoTypeVersionResponse { return vs[0].([]GooglePrivacyDlpV2StoredInfoTypeVersionResponse)[vs[1].(int)] @@ -20207,6 +23370,12 @@ func (i GooglePrivacyDlpV2StoredTypeArgs) ToGooglePrivacyDlpV2StoredTypeOutputWi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2StoredTypeOutput) } +func (i GooglePrivacyDlpV2StoredTypeArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StoredType] { + return pulumix.Output[GooglePrivacyDlpV2StoredType]{ + OutputState: i.ToGooglePrivacyDlpV2StoredTypeOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2StoredTypeArgs) ToGooglePrivacyDlpV2StoredTypePtrOutput() GooglePrivacyDlpV2StoredTypePtrOutput { return i.ToGooglePrivacyDlpV2StoredTypePtrOutputWithContext(context.Background()) } @@ -20248,6 +23417,12 @@ func (i *googlePrivacyDlpV2StoredTypePtrType) ToGooglePrivacyDlpV2StoredTypePtrO return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2StoredTypePtrOutput) } +func (i *googlePrivacyDlpV2StoredTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2StoredType] { + return pulumix.Output[*GooglePrivacyDlpV2StoredType]{ + OutputState: i.ToGooglePrivacyDlpV2StoredTypePtrOutputWithContext(ctx).OutputState, + } +} + // A reference to a StoredInfoType to use with scanning. type GooglePrivacyDlpV2StoredTypeOutput struct{ *pulumi.OutputState } @@ -20273,6 +23448,12 @@ func (o GooglePrivacyDlpV2StoredTypeOutput) ToGooglePrivacyDlpV2StoredTypePtrOut }).(GooglePrivacyDlpV2StoredTypePtrOutput) } +func (o GooglePrivacyDlpV2StoredTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StoredType] { + return pulumix.Output[GooglePrivacyDlpV2StoredType]{ + OutputState: o.OutputState, + } +} + // Timestamp indicating when the version of the `StoredInfoType` used for inspection was created. Output-only field, populated by the system. func (o GooglePrivacyDlpV2StoredTypeOutput) CreateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2StoredType) *string { return v.CreateTime }).(pulumi.StringPtrOutput) @@ -20297,6 +23478,12 @@ func (o GooglePrivacyDlpV2StoredTypePtrOutput) ToGooglePrivacyDlpV2StoredTypePtr return o } +func (o GooglePrivacyDlpV2StoredTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2StoredType] { + return pulumix.Output[*GooglePrivacyDlpV2StoredType]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2StoredTypePtrOutput) Elem() GooglePrivacyDlpV2StoredTypeOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2StoredType) GooglePrivacyDlpV2StoredType { if v != nil { @@ -20350,6 +23537,12 @@ func (o GooglePrivacyDlpV2StoredTypeResponseOutput) ToGooglePrivacyDlpV2StoredTy return o } +func (o GooglePrivacyDlpV2StoredTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2StoredTypeResponse] { + return pulumix.Output[GooglePrivacyDlpV2StoredTypeResponse]{ + OutputState: o.OutputState, + } +} + // Timestamp indicating when the version of the `StoredInfoType` used for inspection was created. Output-only field, populated by the system. func (o GooglePrivacyDlpV2StoredTypeResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2StoredTypeResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -20391,6 +23584,12 @@ func (i GooglePrivacyDlpV2SurrogateTypeArgs) ToGooglePrivacyDlpV2SurrogateTypeOu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2SurrogateTypeOutput) } +func (i GooglePrivacyDlpV2SurrogateTypeArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SurrogateType] { + return pulumix.Output[GooglePrivacyDlpV2SurrogateType]{ + OutputState: i.ToGooglePrivacyDlpV2SurrogateTypeOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2SurrogateTypeArgs) ToGooglePrivacyDlpV2SurrogateTypePtrOutput() GooglePrivacyDlpV2SurrogateTypePtrOutput { return i.ToGooglePrivacyDlpV2SurrogateTypePtrOutputWithContext(context.Background()) } @@ -20432,6 +23631,12 @@ func (i *googlePrivacyDlpV2SurrogateTypePtrType) ToGooglePrivacyDlpV2SurrogateTy return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2SurrogateTypePtrOutput) } +func (i *googlePrivacyDlpV2SurrogateTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2SurrogateType] { + return pulumix.Output[*GooglePrivacyDlpV2SurrogateType]{ + OutputState: i.ToGooglePrivacyDlpV2SurrogateTypePtrOutputWithContext(ctx).OutputState, + } +} + // Message for detecting output from deidentification transformations such as [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). These types of transformations are those that perform pseudonymization, thereby producing a "surrogate" as output. This should be used in conjunction with a field on the transformation such as `surrogate_info_type`. This CustomInfoType does not support the use of `detection_rules`. type GooglePrivacyDlpV2SurrogateTypeOutput struct{ *pulumi.OutputState } @@ -20457,6 +23662,12 @@ func (o GooglePrivacyDlpV2SurrogateTypeOutput) ToGooglePrivacyDlpV2SurrogateType }).(GooglePrivacyDlpV2SurrogateTypePtrOutput) } +func (o GooglePrivacyDlpV2SurrogateTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SurrogateType] { + return pulumix.Output[GooglePrivacyDlpV2SurrogateType]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2SurrogateTypePtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2SurrogateTypePtrOutput) ElementType() reflect.Type { @@ -20471,6 +23682,12 @@ func (o GooglePrivacyDlpV2SurrogateTypePtrOutput) ToGooglePrivacyDlpV2SurrogateT return o } +func (o GooglePrivacyDlpV2SurrogateTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2SurrogateType] { + return pulumix.Output[*GooglePrivacyDlpV2SurrogateType]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2SurrogateTypePtrOutput) Elem() GooglePrivacyDlpV2SurrogateTypeOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2SurrogateType) GooglePrivacyDlpV2SurrogateType { if v != nil { @@ -20500,6 +23717,12 @@ func (o GooglePrivacyDlpV2SurrogateTypeResponseOutput) ToGooglePrivacyDlpV2Surro return o } +func (o GooglePrivacyDlpV2SurrogateTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2SurrogateTypeResponse] { + return pulumix.Output[GooglePrivacyDlpV2SurrogateTypeResponse]{ + OutputState: o.OutputState, + } +} + // Instructions regarding the table content being inspected. type GooglePrivacyDlpV2TableOptions struct { // The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. @@ -20535,6 +23758,12 @@ func (i GooglePrivacyDlpV2TableOptionsArgs) ToGooglePrivacyDlpV2TableOptionsOutp return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TableOptionsOutput) } +func (i GooglePrivacyDlpV2TableOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TableOptions] { + return pulumix.Output[GooglePrivacyDlpV2TableOptions]{ + OutputState: i.ToGooglePrivacyDlpV2TableOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2TableOptionsArgs) ToGooglePrivacyDlpV2TableOptionsPtrOutput() GooglePrivacyDlpV2TableOptionsPtrOutput { return i.ToGooglePrivacyDlpV2TableOptionsPtrOutputWithContext(context.Background()) } @@ -20576,6 +23805,12 @@ func (i *googlePrivacyDlpV2TableOptionsPtrType) ToGooglePrivacyDlpV2TableOptions return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TableOptionsPtrOutput) } +func (i *googlePrivacyDlpV2TableOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TableOptions] { + return pulumix.Output[*GooglePrivacyDlpV2TableOptions]{ + OutputState: i.ToGooglePrivacyDlpV2TableOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Instructions regarding the table content being inspected. type GooglePrivacyDlpV2TableOptionsOutput struct{ *pulumi.OutputState } @@ -20601,6 +23836,12 @@ func (o GooglePrivacyDlpV2TableOptionsOutput) ToGooglePrivacyDlpV2TableOptionsPt }).(GooglePrivacyDlpV2TableOptionsPtrOutput) } +func (o GooglePrivacyDlpV2TableOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TableOptions] { + return pulumix.Output[GooglePrivacyDlpV2TableOptions]{ + OutputState: o.OutputState, + } +} + // The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. func (o GooglePrivacyDlpV2TableOptionsOutput) IdentifyingFields() GooglePrivacyDlpV2FieldIdArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TableOptions) []GooglePrivacyDlpV2FieldId { return v.IdentifyingFields }).(GooglePrivacyDlpV2FieldIdArrayOutput) @@ -20620,6 +23861,12 @@ func (o GooglePrivacyDlpV2TableOptionsPtrOutput) ToGooglePrivacyDlpV2TableOption return o } +func (o GooglePrivacyDlpV2TableOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TableOptions] { + return pulumix.Output[*GooglePrivacyDlpV2TableOptions]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TableOptionsPtrOutput) Elem() GooglePrivacyDlpV2TableOptionsOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2TableOptions) GooglePrivacyDlpV2TableOptions { if v != nil { @@ -20661,6 +23908,12 @@ func (o GooglePrivacyDlpV2TableOptionsResponseOutput) ToGooglePrivacyDlpV2TableO return o } +func (o GooglePrivacyDlpV2TableOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TableOptionsResponse] { + return pulumix.Output[GooglePrivacyDlpV2TableOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The columns that are the primary keys for table objects included in ContentItem. A copy of this cell's value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. func (o GooglePrivacyDlpV2TableOptionsResponseOutput) IdentifyingFields() GooglePrivacyDlpV2FieldIdResponseArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TableOptionsResponse) []GooglePrivacyDlpV2FieldIdResponse { @@ -20715,6 +23968,12 @@ func (i GooglePrivacyDlpV2TaggedFieldArgs) ToGooglePrivacyDlpV2TaggedFieldOutput return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TaggedFieldOutput) } +func (i GooglePrivacyDlpV2TaggedFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TaggedField] { + return pulumix.Output[GooglePrivacyDlpV2TaggedField]{ + OutputState: i.ToGooglePrivacyDlpV2TaggedFieldOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2TaggedFieldArrayInput is an input type that accepts GooglePrivacyDlpV2TaggedFieldArray and GooglePrivacyDlpV2TaggedFieldArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2TaggedFieldArrayInput` via: // @@ -20740,6 +23999,12 @@ func (i GooglePrivacyDlpV2TaggedFieldArray) ToGooglePrivacyDlpV2TaggedFieldArray return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TaggedFieldArrayOutput) } +func (i GooglePrivacyDlpV2TaggedFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2TaggedField] { + return pulumix.Output[[]GooglePrivacyDlpV2TaggedField]{ + OutputState: i.ToGooglePrivacyDlpV2TaggedFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A column with a semantic tag attached. type GooglePrivacyDlpV2TaggedFieldOutput struct{ *pulumi.OutputState } @@ -20755,6 +24020,12 @@ func (o GooglePrivacyDlpV2TaggedFieldOutput) ToGooglePrivacyDlpV2TaggedFieldOutp return o } +func (o GooglePrivacyDlpV2TaggedFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TaggedField] { + return pulumix.Output[GooglePrivacyDlpV2TaggedField]{ + OutputState: o.OutputState, + } +} + // A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below). func (o GooglePrivacyDlpV2TaggedFieldOutput) CustomTag() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TaggedField) *string { return v.CustomTag }).(pulumi.StringPtrOutput) @@ -20789,6 +24060,12 @@ func (o GooglePrivacyDlpV2TaggedFieldArrayOutput) ToGooglePrivacyDlpV2TaggedFiel return o } +func (o GooglePrivacyDlpV2TaggedFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2TaggedField] { + return pulumix.Output[[]GooglePrivacyDlpV2TaggedField]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TaggedFieldArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2TaggedFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2TaggedField { return vs[0].([]GooglePrivacyDlpV2TaggedField)[vs[1].(int)] @@ -20822,6 +24099,12 @@ func (o GooglePrivacyDlpV2TaggedFieldResponseOutput) ToGooglePrivacyDlpV2TaggedF return o } +func (o GooglePrivacyDlpV2TaggedFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TaggedFieldResponse] { + return pulumix.Output[GooglePrivacyDlpV2TaggedFieldResponse]{ + OutputState: o.OutputState, + } +} + // A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below). func (o GooglePrivacyDlpV2TaggedFieldResponseOutput) CustomTag() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TaggedFieldResponse) string { return v.CustomTag }).(pulumi.StringOutput) @@ -20856,6 +24139,12 @@ func (o GooglePrivacyDlpV2TaggedFieldResponseArrayOutput) ToGooglePrivacyDlpV2Ta return o } +func (o GooglePrivacyDlpV2TaggedFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2TaggedFieldResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2TaggedFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TaggedFieldResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2TaggedFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2TaggedFieldResponse { return vs[0].([]GooglePrivacyDlpV2TaggedFieldResponse)[vs[1].(int)] @@ -20893,6 +24182,12 @@ func (i GooglePrivacyDlpV2ThrowErrorArgs) ToGooglePrivacyDlpV2ThrowErrorOutputWi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ThrowErrorOutput) } +func (i GooglePrivacyDlpV2ThrowErrorArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ThrowError] { + return pulumix.Output[GooglePrivacyDlpV2ThrowError]{ + OutputState: i.ToGooglePrivacyDlpV2ThrowErrorOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ThrowErrorArgs) ToGooglePrivacyDlpV2ThrowErrorPtrOutput() GooglePrivacyDlpV2ThrowErrorPtrOutput { return i.ToGooglePrivacyDlpV2ThrowErrorPtrOutputWithContext(context.Background()) } @@ -20934,6 +24229,12 @@ func (i *googlePrivacyDlpV2ThrowErrorPtrType) ToGooglePrivacyDlpV2ThrowErrorPtrO return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ThrowErrorPtrOutput) } +func (i *googlePrivacyDlpV2ThrowErrorPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ThrowError] { + return pulumix.Output[*GooglePrivacyDlpV2ThrowError]{ + OutputState: i.ToGooglePrivacyDlpV2ThrowErrorPtrOutputWithContext(ctx).OutputState, + } +} + // Throw an error and fail the request when a transformation error occurs. type GooglePrivacyDlpV2ThrowErrorOutput struct{ *pulumi.OutputState } @@ -20959,6 +24260,12 @@ func (o GooglePrivacyDlpV2ThrowErrorOutput) ToGooglePrivacyDlpV2ThrowErrorPtrOut }).(GooglePrivacyDlpV2ThrowErrorPtrOutput) } +func (o GooglePrivacyDlpV2ThrowErrorOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ThrowError] { + return pulumix.Output[GooglePrivacyDlpV2ThrowError]{ + OutputState: o.OutputState, + } +} + type GooglePrivacyDlpV2ThrowErrorPtrOutput struct{ *pulumi.OutputState } func (GooglePrivacyDlpV2ThrowErrorPtrOutput) ElementType() reflect.Type { @@ -20973,6 +24280,12 @@ func (o GooglePrivacyDlpV2ThrowErrorPtrOutput) ToGooglePrivacyDlpV2ThrowErrorPtr return o } +func (o GooglePrivacyDlpV2ThrowErrorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2ThrowError] { + return pulumix.Output[*GooglePrivacyDlpV2ThrowError]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ThrowErrorPtrOutput) Elem() GooglePrivacyDlpV2ThrowErrorOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2ThrowError) GooglePrivacyDlpV2ThrowError { if v != nil { @@ -21002,6 +24315,12 @@ func (o GooglePrivacyDlpV2ThrowErrorResponseOutput) ToGooglePrivacyDlpV2ThrowErr return o } +func (o GooglePrivacyDlpV2ThrowErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ThrowErrorResponse] { + return pulumix.Output[GooglePrivacyDlpV2ThrowErrorResponse]{ + OutputState: o.OutputState, + } +} + // For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a portion of the value. type GooglePrivacyDlpV2TimePartConfig struct { // The part of the time to keep. @@ -21037,6 +24356,12 @@ func (i GooglePrivacyDlpV2TimePartConfigArgs) ToGooglePrivacyDlpV2TimePartConfig return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TimePartConfigOutput) } +func (i GooglePrivacyDlpV2TimePartConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TimePartConfig] { + return pulumix.Output[GooglePrivacyDlpV2TimePartConfig]{ + OutputState: i.ToGooglePrivacyDlpV2TimePartConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2TimePartConfigArgs) ToGooglePrivacyDlpV2TimePartConfigPtrOutput() GooglePrivacyDlpV2TimePartConfigPtrOutput { return i.ToGooglePrivacyDlpV2TimePartConfigPtrOutputWithContext(context.Background()) } @@ -21078,6 +24403,12 @@ func (i *googlePrivacyDlpV2TimePartConfigPtrType) ToGooglePrivacyDlpV2TimePartCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TimePartConfigPtrOutput) } +func (i *googlePrivacyDlpV2TimePartConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TimePartConfig] { + return pulumix.Output[*GooglePrivacyDlpV2TimePartConfig]{ + OutputState: i.ToGooglePrivacyDlpV2TimePartConfigPtrOutputWithContext(ctx).OutputState, + } +} + // For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a portion of the value. type GooglePrivacyDlpV2TimePartConfigOutput struct{ *pulumi.OutputState } @@ -21103,6 +24434,12 @@ func (o GooglePrivacyDlpV2TimePartConfigOutput) ToGooglePrivacyDlpV2TimePartConf }).(GooglePrivacyDlpV2TimePartConfigPtrOutput) } +func (o GooglePrivacyDlpV2TimePartConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TimePartConfig] { + return pulumix.Output[GooglePrivacyDlpV2TimePartConfig]{ + OutputState: o.OutputState, + } +} + // The part of the time to keep. func (o GooglePrivacyDlpV2TimePartConfigOutput) PartToExtract() GooglePrivacyDlpV2TimePartConfigPartToExtractPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TimePartConfig) *GooglePrivacyDlpV2TimePartConfigPartToExtract { @@ -21124,6 +24461,12 @@ func (o GooglePrivacyDlpV2TimePartConfigPtrOutput) ToGooglePrivacyDlpV2TimePartC return o } +func (o GooglePrivacyDlpV2TimePartConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TimePartConfig] { + return pulumix.Output[*GooglePrivacyDlpV2TimePartConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TimePartConfigPtrOutput) Elem() GooglePrivacyDlpV2TimePartConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2TimePartConfig) GooglePrivacyDlpV2TimePartConfig { if v != nil { @@ -21165,6 +24508,12 @@ func (o GooglePrivacyDlpV2TimePartConfigResponseOutput) ToGooglePrivacyDlpV2Time return o } +func (o GooglePrivacyDlpV2TimePartConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TimePartConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2TimePartConfigResponse]{ + OutputState: o.OutputState, + } +} + // The part of the time to keep. func (o GooglePrivacyDlpV2TimePartConfigResponseOutput) PartToExtract() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TimePartConfigResponse) string { return v.PartToExtract }).(pulumi.StringOutput) @@ -21217,6 +24566,12 @@ func (i GooglePrivacyDlpV2TimespanConfigArgs) ToGooglePrivacyDlpV2TimespanConfig return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TimespanConfigOutput) } +func (i GooglePrivacyDlpV2TimespanConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TimespanConfig] { + return pulumix.Output[GooglePrivacyDlpV2TimespanConfig]{ + OutputState: i.ToGooglePrivacyDlpV2TimespanConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2TimespanConfigArgs) ToGooglePrivacyDlpV2TimespanConfigPtrOutput() GooglePrivacyDlpV2TimespanConfigPtrOutput { return i.ToGooglePrivacyDlpV2TimespanConfigPtrOutputWithContext(context.Background()) } @@ -21258,6 +24613,12 @@ func (i *googlePrivacyDlpV2TimespanConfigPtrType) ToGooglePrivacyDlpV2TimespanCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TimespanConfigPtrOutput) } +func (i *googlePrivacyDlpV2TimespanConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TimespanConfig] { + return pulumix.Output[*GooglePrivacyDlpV2TimespanConfig]{ + OutputState: i.ToGooglePrivacyDlpV2TimespanConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Cloud Storage and BigQuery. type GooglePrivacyDlpV2TimespanConfigOutput struct{ *pulumi.OutputState } @@ -21283,6 +24644,12 @@ func (o GooglePrivacyDlpV2TimespanConfigOutput) ToGooglePrivacyDlpV2TimespanConf }).(GooglePrivacyDlpV2TimespanConfigPtrOutput) } +func (o GooglePrivacyDlpV2TimespanConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TimespanConfig] { + return pulumix.Output[GooglePrivacyDlpV2TimespanConfig]{ + OutputState: o.OutputState, + } +} + // When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end_time used in the last run of the JobTrigger. func (o GooglePrivacyDlpV2TimespanConfigOutput) EnableAutoPopulationOfTimespanConfig() pulumi.BoolPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TimespanConfig) *bool { return v.EnableAutoPopulationOfTimespanConfig }).(pulumi.BoolPtrOutput) @@ -21317,6 +24684,12 @@ func (o GooglePrivacyDlpV2TimespanConfigPtrOutput) ToGooglePrivacyDlpV2TimespanC return o } +func (o GooglePrivacyDlpV2TimespanConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TimespanConfig] { + return pulumix.Output[*GooglePrivacyDlpV2TimespanConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TimespanConfigPtrOutput) Elem() GooglePrivacyDlpV2TimespanConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2TimespanConfig) GooglePrivacyDlpV2TimespanConfig { if v != nil { @@ -21394,6 +24767,12 @@ func (o GooglePrivacyDlpV2TimespanConfigResponseOutput) ToGooglePrivacyDlpV2Time return o } +func (o GooglePrivacyDlpV2TimespanConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TimespanConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2TimespanConfigResponse]{ + OutputState: o.OutputState, + } +} + // When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end_time used in the last run of the JobTrigger. func (o GooglePrivacyDlpV2TimespanConfigResponseOutput) EnableAutoPopulationOfTimespanConfig() pulumi.BoolOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TimespanConfigResponse) bool { return v.EnableAutoPopulationOfTimespanConfig }).(pulumi.BoolOutput) @@ -21459,6 +24838,12 @@ func (i GooglePrivacyDlpV2TransformationConfigArgs) ToGooglePrivacyDlpV2Transfor return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TransformationConfigOutput) } +func (i GooglePrivacyDlpV2TransformationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransformationConfig] { + return pulumix.Output[GooglePrivacyDlpV2TransformationConfig]{ + OutputState: i.ToGooglePrivacyDlpV2TransformationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2TransformationConfigArgs) ToGooglePrivacyDlpV2TransformationConfigPtrOutput() GooglePrivacyDlpV2TransformationConfigPtrOutput { return i.ToGooglePrivacyDlpV2TransformationConfigPtrOutputWithContext(context.Background()) } @@ -21500,6 +24885,12 @@ func (i *googlePrivacyDlpV2TransformationConfigPtrType) ToGooglePrivacyDlpV2Tran return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TransformationConfigPtrOutput) } +func (i *googlePrivacyDlpV2TransformationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TransformationConfig] { + return pulumix.Output[*GooglePrivacyDlpV2TransformationConfig]{ + OutputState: i.ToGooglePrivacyDlpV2TransformationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // User specified templates and configs for how to deidentify structured, unstructures, and image files. User must provide either a unstructured deidentify template or at least one redact image config. type GooglePrivacyDlpV2TransformationConfigOutput struct{ *pulumi.OutputState } @@ -21525,6 +24916,12 @@ func (o GooglePrivacyDlpV2TransformationConfigOutput) ToGooglePrivacyDlpV2Transf }).(GooglePrivacyDlpV2TransformationConfigPtrOutput) } +func (o GooglePrivacyDlpV2TransformationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransformationConfig] { + return pulumix.Output[GooglePrivacyDlpV2TransformationConfig]{ + OutputState: o.OutputState, + } +} + // De-identify template. If this template is specified, it will serve as the default de-identify template. This template cannot contain `record_transformations` since it can be used for unstructured content such as free-form text files. If this template is not set, a default `ReplaceWithInfoTypeConfig` will be used to de-identify unstructured content. func (o GooglePrivacyDlpV2TransformationConfigOutput) DeidentifyTemplate() pulumi.StringPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TransformationConfig) *string { return v.DeidentifyTemplate }).(pulumi.StringPtrOutput) @@ -21554,6 +24951,12 @@ func (o GooglePrivacyDlpV2TransformationConfigPtrOutput) ToGooglePrivacyDlpV2Tra return o } +func (o GooglePrivacyDlpV2TransformationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TransformationConfig] { + return pulumix.Output[*GooglePrivacyDlpV2TransformationConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TransformationConfigPtrOutput) Elem() GooglePrivacyDlpV2TransformationConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2TransformationConfig) GooglePrivacyDlpV2TransformationConfig { if v != nil { @@ -21619,6 +25022,12 @@ func (o GooglePrivacyDlpV2TransformationConfigResponseOutput) ToGooglePrivacyDlp return o } +func (o GooglePrivacyDlpV2TransformationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransformationConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2TransformationConfigResponse]{ + OutputState: o.OutputState, + } +} + // De-identify template. If this template is specified, it will serve as the default de-identify template. This template cannot contain `record_transformations` since it can be used for unstructured content such as free-form text files. If this template is not set, a default `ReplaceWithInfoTypeConfig` will be used to de-identify unstructured content. func (o GooglePrivacyDlpV2TransformationConfigResponseOutput) DeidentifyTemplate() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TransformationConfigResponse) string { return v.DeidentifyTemplate }).(pulumi.StringOutput) @@ -21669,6 +25078,12 @@ func (i GooglePrivacyDlpV2TransformationDetailsStorageConfigArgs) ToGooglePrivac return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TransformationDetailsStorageConfigOutput) } +func (i GooglePrivacyDlpV2TransformationDetailsStorageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransformationDetailsStorageConfig] { + return pulumix.Output[GooglePrivacyDlpV2TransformationDetailsStorageConfig]{ + OutputState: i.ToGooglePrivacyDlpV2TransformationDetailsStorageConfigOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2TransformationDetailsStorageConfigArgs) ToGooglePrivacyDlpV2TransformationDetailsStorageConfigPtrOutput() GooglePrivacyDlpV2TransformationDetailsStorageConfigPtrOutput { return i.ToGooglePrivacyDlpV2TransformationDetailsStorageConfigPtrOutputWithContext(context.Background()) } @@ -21710,6 +25125,12 @@ func (i *googlePrivacyDlpV2TransformationDetailsStorageConfigPtrType) ToGooglePr return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TransformationDetailsStorageConfigPtrOutput) } +func (i *googlePrivacyDlpV2TransformationDetailsStorageConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TransformationDetailsStorageConfig] { + return pulumix.Output[*GooglePrivacyDlpV2TransformationDetailsStorageConfig]{ + OutputState: i.ToGooglePrivacyDlpV2TransformationDetailsStorageConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Config for storing transformation details. type GooglePrivacyDlpV2TransformationDetailsStorageConfigOutput struct{ *pulumi.OutputState } @@ -21735,6 +25156,12 @@ func (o GooglePrivacyDlpV2TransformationDetailsStorageConfigOutput) ToGooglePriv }).(GooglePrivacyDlpV2TransformationDetailsStorageConfigPtrOutput) } +func (o GooglePrivacyDlpV2TransformationDetailsStorageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransformationDetailsStorageConfig] { + return pulumix.Output[GooglePrivacyDlpV2TransformationDetailsStorageConfig]{ + OutputState: o.OutputState, + } +} + // The BigQuery table in which to store the output. This may be an existing table or in a new table in an existing dataset. If table_id is not set a new one will be generated for you with the following format: dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used for generating the date details. func (o GooglePrivacyDlpV2TransformationDetailsStorageConfigOutput) Table() GooglePrivacyDlpV2BigQueryTablePtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TransformationDetailsStorageConfig) *GooglePrivacyDlpV2BigQueryTable { @@ -21756,6 +25183,12 @@ func (o GooglePrivacyDlpV2TransformationDetailsStorageConfigPtrOutput) ToGoogleP return o } +func (o GooglePrivacyDlpV2TransformationDetailsStorageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TransformationDetailsStorageConfig] { + return pulumix.Output[*GooglePrivacyDlpV2TransformationDetailsStorageConfig]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TransformationDetailsStorageConfigPtrOutput) Elem() GooglePrivacyDlpV2TransformationDetailsStorageConfigOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2TransformationDetailsStorageConfig) GooglePrivacyDlpV2TransformationDetailsStorageConfig { if v != nil { @@ -21797,6 +25230,12 @@ func (o GooglePrivacyDlpV2TransformationDetailsStorageConfigResponseOutput) ToGo return o } +func (o GooglePrivacyDlpV2TransformationDetailsStorageConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransformationDetailsStorageConfigResponse] { + return pulumix.Output[GooglePrivacyDlpV2TransformationDetailsStorageConfigResponse]{ + OutputState: o.OutputState, + } +} + // The BigQuery table in which to store the output. This may be an existing table or in a new table in an existing dataset. If table_id is not set a new one will be generated for you with the following format: dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used for generating the date details. func (o GooglePrivacyDlpV2TransformationDetailsStorageConfigResponseOutput) Table() GooglePrivacyDlpV2BigQueryTableResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TransformationDetailsStorageConfigResponse) GooglePrivacyDlpV2BigQueryTableResponse { @@ -21843,6 +25282,12 @@ func (i GooglePrivacyDlpV2TransformationErrorHandlingArgs) ToGooglePrivacyDlpV2T return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TransformationErrorHandlingOutput) } +func (i GooglePrivacyDlpV2TransformationErrorHandlingArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransformationErrorHandling] { + return pulumix.Output[GooglePrivacyDlpV2TransformationErrorHandling]{ + OutputState: i.ToGooglePrivacyDlpV2TransformationErrorHandlingOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2TransformationErrorHandlingArgs) ToGooglePrivacyDlpV2TransformationErrorHandlingPtrOutput() GooglePrivacyDlpV2TransformationErrorHandlingPtrOutput { return i.ToGooglePrivacyDlpV2TransformationErrorHandlingPtrOutputWithContext(context.Background()) } @@ -21884,6 +25329,12 @@ func (i *googlePrivacyDlpV2TransformationErrorHandlingPtrType) ToGooglePrivacyDl return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TransformationErrorHandlingPtrOutput) } +func (i *googlePrivacyDlpV2TransformationErrorHandlingPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TransformationErrorHandling] { + return pulumix.Output[*GooglePrivacyDlpV2TransformationErrorHandling]{ + OutputState: i.ToGooglePrivacyDlpV2TransformationErrorHandlingPtrOutputWithContext(ctx).OutputState, + } +} + // How to handle transformation errors during de-identification. A transformation error occurs when the requested transformation is incompatible with the data. For example, trying to de-identify an IP address using a `DateShift` transformation would result in a transformation error, since date info cannot be extracted from an IP address. Information about any incompatible transformations, and how they were handled, is returned in the response as part of the `TransformationOverviews`. type GooglePrivacyDlpV2TransformationErrorHandlingOutput struct{ *pulumi.OutputState } @@ -21909,6 +25360,12 @@ func (o GooglePrivacyDlpV2TransformationErrorHandlingOutput) ToGooglePrivacyDlpV }).(GooglePrivacyDlpV2TransformationErrorHandlingPtrOutput) } +func (o GooglePrivacyDlpV2TransformationErrorHandlingOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransformationErrorHandling] { + return pulumix.Output[GooglePrivacyDlpV2TransformationErrorHandling]{ + OutputState: o.OutputState, + } +} + // Ignore errors func (o GooglePrivacyDlpV2TransformationErrorHandlingOutput) LeaveUntransformed() GooglePrivacyDlpV2LeaveUntransformedPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TransformationErrorHandling) *GooglePrivacyDlpV2LeaveUntransformed { @@ -21937,6 +25394,12 @@ func (o GooglePrivacyDlpV2TransformationErrorHandlingPtrOutput) ToGooglePrivacyD return o } +func (o GooglePrivacyDlpV2TransformationErrorHandlingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TransformationErrorHandling] { + return pulumix.Output[*GooglePrivacyDlpV2TransformationErrorHandling]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TransformationErrorHandlingPtrOutput) Elem() GooglePrivacyDlpV2TransformationErrorHandlingOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2TransformationErrorHandling) GooglePrivacyDlpV2TransformationErrorHandling { if v != nil { @@ -21990,6 +25453,12 @@ func (o GooglePrivacyDlpV2TransformationErrorHandlingResponseOutput) ToGooglePri return o } +func (o GooglePrivacyDlpV2TransformationErrorHandlingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransformationErrorHandlingResponse] { + return pulumix.Output[GooglePrivacyDlpV2TransformationErrorHandlingResponse]{ + OutputState: o.OutputState, + } +} + // Ignore errors func (o GooglePrivacyDlpV2TransformationErrorHandlingResponseOutput) LeaveUntransformed() GooglePrivacyDlpV2LeaveUntransformedResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TransformationErrorHandlingResponse) GooglePrivacyDlpV2LeaveUntransformedResponse { @@ -22039,6 +25508,12 @@ func (i GooglePrivacyDlpV2TransientCryptoKeyArgs) ToGooglePrivacyDlpV2TransientC return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TransientCryptoKeyOutput) } +func (i GooglePrivacyDlpV2TransientCryptoKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransientCryptoKey] { + return pulumix.Output[GooglePrivacyDlpV2TransientCryptoKey]{ + OutputState: i.ToGooglePrivacyDlpV2TransientCryptoKeyOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2TransientCryptoKeyArgs) ToGooglePrivacyDlpV2TransientCryptoKeyPtrOutput() GooglePrivacyDlpV2TransientCryptoKeyPtrOutput { return i.ToGooglePrivacyDlpV2TransientCryptoKeyPtrOutputWithContext(context.Background()) } @@ -22080,6 +25555,12 @@ func (i *googlePrivacyDlpV2TransientCryptoKeyPtrType) ToGooglePrivacyDlpV2Transi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TransientCryptoKeyPtrOutput) } +func (i *googlePrivacyDlpV2TransientCryptoKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TransientCryptoKey] { + return pulumix.Output[*GooglePrivacyDlpV2TransientCryptoKey]{ + OutputState: i.ToGooglePrivacyDlpV2TransientCryptoKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Use this to have a random data crypto key generated. It will be discarded after the request finishes. type GooglePrivacyDlpV2TransientCryptoKeyOutput struct{ *pulumi.OutputState } @@ -22105,6 +25586,12 @@ func (o GooglePrivacyDlpV2TransientCryptoKeyOutput) ToGooglePrivacyDlpV2Transien }).(GooglePrivacyDlpV2TransientCryptoKeyPtrOutput) } +func (o GooglePrivacyDlpV2TransientCryptoKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransientCryptoKey] { + return pulumix.Output[GooglePrivacyDlpV2TransientCryptoKey]{ + OutputState: o.OutputState, + } +} + // Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate `TransientCryptoKey` protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated). func (o GooglePrivacyDlpV2TransientCryptoKeyOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TransientCryptoKey) string { return v.Name }).(pulumi.StringOutput) @@ -22124,6 +25611,12 @@ func (o GooglePrivacyDlpV2TransientCryptoKeyPtrOutput) ToGooglePrivacyDlpV2Trans return o } +func (o GooglePrivacyDlpV2TransientCryptoKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2TransientCryptoKey] { + return pulumix.Output[*GooglePrivacyDlpV2TransientCryptoKey]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TransientCryptoKeyPtrOutput) Elem() GooglePrivacyDlpV2TransientCryptoKeyOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2TransientCryptoKey) GooglePrivacyDlpV2TransientCryptoKey { if v != nil { @@ -22165,6 +25658,12 @@ func (o GooglePrivacyDlpV2TransientCryptoKeyResponseOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2TransientCryptoKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TransientCryptoKeyResponse] { + return pulumix.Output[GooglePrivacyDlpV2TransientCryptoKeyResponse]{ + OutputState: o.OutputState, + } +} + // Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate `TransientCryptoKey` protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated). func (o GooglePrivacyDlpV2TransientCryptoKeyResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TransientCryptoKeyResponse) string { return v.Name }).(pulumi.StringOutput) @@ -22209,6 +25708,12 @@ func (i GooglePrivacyDlpV2TriggerArgs) ToGooglePrivacyDlpV2TriggerOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TriggerOutput) } +func (i GooglePrivacyDlpV2TriggerArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Trigger] { + return pulumix.Output[GooglePrivacyDlpV2Trigger]{ + OutputState: i.ToGooglePrivacyDlpV2TriggerOutputWithContext(ctx).OutputState, + } +} + // GooglePrivacyDlpV2TriggerArrayInput is an input type that accepts GooglePrivacyDlpV2TriggerArray and GooglePrivacyDlpV2TriggerArrayOutput values. // You can construct a concrete instance of `GooglePrivacyDlpV2TriggerArrayInput` via: // @@ -22234,6 +25739,12 @@ func (i GooglePrivacyDlpV2TriggerArray) ToGooglePrivacyDlpV2TriggerArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2TriggerArrayOutput) } +func (i GooglePrivacyDlpV2TriggerArray) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2Trigger] { + return pulumix.Output[[]GooglePrivacyDlpV2Trigger]{ + OutputState: i.ToGooglePrivacyDlpV2TriggerArrayOutputWithContext(ctx).OutputState, + } +} + // What event needs to occur for a new job to be started. type GooglePrivacyDlpV2TriggerOutput struct{ *pulumi.OutputState } @@ -22249,6 +25760,12 @@ func (o GooglePrivacyDlpV2TriggerOutput) ToGooglePrivacyDlpV2TriggerOutputWithCo return o } +func (o GooglePrivacyDlpV2TriggerOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Trigger] { + return pulumix.Output[GooglePrivacyDlpV2Trigger]{ + OutputState: o.OutputState, + } +} + // For use with hybrid jobs. Jobs must be manually created and finished. func (o GooglePrivacyDlpV2TriggerOutput) Manual() GooglePrivacyDlpV2ManualPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Trigger) *GooglePrivacyDlpV2Manual { return v.Manual }).(GooglePrivacyDlpV2ManualPtrOutput) @@ -22273,6 +25790,12 @@ func (o GooglePrivacyDlpV2TriggerArrayOutput) ToGooglePrivacyDlpV2TriggerArrayOu return o } +func (o GooglePrivacyDlpV2TriggerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2Trigger] { + return pulumix.Output[[]GooglePrivacyDlpV2Trigger]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TriggerArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2TriggerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2Trigger { return vs[0].([]GooglePrivacyDlpV2Trigger)[vs[1].(int)] @@ -22302,6 +25825,12 @@ func (o GooglePrivacyDlpV2TriggerResponseOutput) ToGooglePrivacyDlpV2TriggerResp return o } +func (o GooglePrivacyDlpV2TriggerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2TriggerResponse] { + return pulumix.Output[GooglePrivacyDlpV2TriggerResponse]{ + OutputState: o.OutputState, + } +} + // For use with hybrid jobs. Jobs must be manually created and finished. func (o GooglePrivacyDlpV2TriggerResponseOutput) Manual() GooglePrivacyDlpV2ManualResponseOutput { return o.ApplyT(func(v GooglePrivacyDlpV2TriggerResponse) GooglePrivacyDlpV2ManualResponse { return v.Manual }).(GooglePrivacyDlpV2ManualResponseOutput) @@ -22326,6 +25855,12 @@ func (o GooglePrivacyDlpV2TriggerResponseArrayOutput) ToGooglePrivacyDlpV2Trigge return o } +func (o GooglePrivacyDlpV2TriggerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2TriggerResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2TriggerResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2TriggerResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2TriggerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2TriggerResponse { return vs[0].([]GooglePrivacyDlpV2TriggerResponse)[vs[1].(int)] @@ -22367,6 +25902,12 @@ func (i GooglePrivacyDlpV2UnwrappedCryptoKeyArgs) ToGooglePrivacyDlpV2UnwrappedC return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2UnwrappedCryptoKeyOutput) } +func (i GooglePrivacyDlpV2UnwrappedCryptoKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2UnwrappedCryptoKey] { + return pulumix.Output[GooglePrivacyDlpV2UnwrappedCryptoKey]{ + OutputState: i.ToGooglePrivacyDlpV2UnwrappedCryptoKeyOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2UnwrappedCryptoKeyArgs) ToGooglePrivacyDlpV2UnwrappedCryptoKeyPtrOutput() GooglePrivacyDlpV2UnwrappedCryptoKeyPtrOutput { return i.ToGooglePrivacyDlpV2UnwrappedCryptoKeyPtrOutputWithContext(context.Background()) } @@ -22408,6 +25949,12 @@ func (i *googlePrivacyDlpV2UnwrappedCryptoKeyPtrType) ToGooglePrivacyDlpV2Unwrap return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2UnwrappedCryptoKeyPtrOutput) } +func (i *googlePrivacyDlpV2UnwrappedCryptoKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2UnwrappedCryptoKey] { + return pulumix.Output[*GooglePrivacyDlpV2UnwrappedCryptoKey]{ + OutputState: i.ToGooglePrivacyDlpV2UnwrappedCryptoKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible. type GooglePrivacyDlpV2UnwrappedCryptoKeyOutput struct{ *pulumi.OutputState } @@ -22433,6 +25980,12 @@ func (o GooglePrivacyDlpV2UnwrappedCryptoKeyOutput) ToGooglePrivacyDlpV2Unwrappe }).(GooglePrivacyDlpV2UnwrappedCryptoKeyPtrOutput) } +func (o GooglePrivacyDlpV2UnwrappedCryptoKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2UnwrappedCryptoKey] { + return pulumix.Output[GooglePrivacyDlpV2UnwrappedCryptoKey]{ + OutputState: o.OutputState, + } +} + // A 128/192/256 bit key. func (o GooglePrivacyDlpV2UnwrappedCryptoKeyOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2UnwrappedCryptoKey) string { return v.Key }).(pulumi.StringOutput) @@ -22452,6 +26005,12 @@ func (o GooglePrivacyDlpV2UnwrappedCryptoKeyPtrOutput) ToGooglePrivacyDlpV2Unwra return o } +func (o GooglePrivacyDlpV2UnwrappedCryptoKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2UnwrappedCryptoKey] { + return pulumix.Output[*GooglePrivacyDlpV2UnwrappedCryptoKey]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2UnwrappedCryptoKeyPtrOutput) Elem() GooglePrivacyDlpV2UnwrappedCryptoKeyOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2UnwrappedCryptoKey) GooglePrivacyDlpV2UnwrappedCryptoKey { if v != nil { @@ -22493,6 +26052,12 @@ func (o GooglePrivacyDlpV2UnwrappedCryptoKeyResponseOutput) ToGooglePrivacyDlpV2 return o } +func (o GooglePrivacyDlpV2UnwrappedCryptoKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2UnwrappedCryptoKeyResponse] { + return pulumix.Output[GooglePrivacyDlpV2UnwrappedCryptoKeyResponse]{ + OutputState: o.OutputState, + } +} + // A 128/192/256 bit key. func (o GooglePrivacyDlpV2UnwrappedCryptoKeyResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2UnwrappedCryptoKeyResponse) string { return v.Key }).(pulumi.StringOutput) @@ -22561,6 +26126,12 @@ func (i GooglePrivacyDlpV2ValueArgs) ToGooglePrivacyDlpV2ValueOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ValueOutput) } +func (i GooglePrivacyDlpV2ValueArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Value] { + return pulumix.Output[GooglePrivacyDlpV2Value]{ + OutputState: i.ToGooglePrivacyDlpV2ValueOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2ValueArgs) ToGooglePrivacyDlpV2ValuePtrOutput() GooglePrivacyDlpV2ValuePtrOutput { return i.ToGooglePrivacyDlpV2ValuePtrOutputWithContext(context.Background()) } @@ -22602,6 +26173,12 @@ func (i *googlePrivacyDlpV2ValuePtrType) ToGooglePrivacyDlpV2ValuePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2ValuePtrOutput) } +func (i *googlePrivacyDlpV2ValuePtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Value] { + return pulumix.Output[*GooglePrivacyDlpV2Value]{ + OutputState: i.ToGooglePrivacyDlpV2ValuePtrOutputWithContext(ctx).OutputState, + } +} + // Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data. type GooglePrivacyDlpV2ValueOutput struct{ *pulumi.OutputState } @@ -22627,6 +26204,12 @@ func (o GooglePrivacyDlpV2ValueOutput) ToGooglePrivacyDlpV2ValuePtrOutputWithCon }).(GooglePrivacyDlpV2ValuePtrOutput) } +func (o GooglePrivacyDlpV2ValueOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2Value] { + return pulumix.Output[GooglePrivacyDlpV2Value]{ + OutputState: o.OutputState, + } +} + // boolean func (o GooglePrivacyDlpV2ValueOutput) BooleanValue() pulumi.BoolPtrOutput { return o.ApplyT(func(v GooglePrivacyDlpV2Value) *bool { return v.BooleanValue }).(pulumi.BoolPtrOutput) @@ -22681,6 +26264,12 @@ func (o GooglePrivacyDlpV2ValuePtrOutput) ToGooglePrivacyDlpV2ValuePtrOutputWith return o } +func (o GooglePrivacyDlpV2ValuePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2Value] { + return pulumix.Output[*GooglePrivacyDlpV2Value]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ValuePtrOutput) Elem() GooglePrivacyDlpV2ValueOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2Value) GooglePrivacyDlpV2Value { if v != nil { @@ -22794,6 +26383,12 @@ func (o GooglePrivacyDlpV2ValueFrequencyResponseOutput) ToGooglePrivacyDlpV2Valu return o } +func (o GooglePrivacyDlpV2ValueFrequencyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ValueFrequencyResponse] { + return pulumix.Output[GooglePrivacyDlpV2ValueFrequencyResponse]{ + OutputState: o.OutputState, + } +} + // How many times the value is contained in the field. func (o GooglePrivacyDlpV2ValueFrequencyResponseOutput) Count() pulumi.StringOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ValueFrequencyResponse) string { return v.Count }).(pulumi.StringOutput) @@ -22818,6 +26413,12 @@ func (o GooglePrivacyDlpV2ValueFrequencyResponseArrayOutput) ToGooglePrivacyDlpV return o } +func (o GooglePrivacyDlpV2ValueFrequencyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2ValueFrequencyResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2ValueFrequencyResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ValueFrequencyResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2ValueFrequencyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2ValueFrequencyResponse { return vs[0].([]GooglePrivacyDlpV2ValueFrequencyResponse)[vs[1].(int)] @@ -22859,6 +26460,12 @@ func (o GooglePrivacyDlpV2ValueResponseOutput) ToGooglePrivacyDlpV2ValueResponse return o } +func (o GooglePrivacyDlpV2ValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2ValueResponse] { + return pulumix.Output[GooglePrivacyDlpV2ValueResponse]{ + OutputState: o.OutputState, + } +} + // boolean func (o GooglePrivacyDlpV2ValueResponseOutput) BooleanValue() pulumi.BoolOutput { return o.ApplyT(func(v GooglePrivacyDlpV2ValueResponse) bool { return v.BooleanValue }).(pulumi.BoolOutput) @@ -22913,6 +26520,12 @@ func (o GooglePrivacyDlpV2ValueResponseArrayOutput) ToGooglePrivacyDlpV2ValueRes return o } +func (o GooglePrivacyDlpV2ValueResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GooglePrivacyDlpV2ValueResponse] { + return pulumix.Output[[]GooglePrivacyDlpV2ValueResponse]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2ValueResponseArrayOutput) Index(i pulumi.IntInput) GooglePrivacyDlpV2ValueResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GooglePrivacyDlpV2ValueResponse { return vs[0].([]GooglePrivacyDlpV2ValueResponse)[vs[1].(int)] @@ -22954,6 +26567,12 @@ func (i GooglePrivacyDlpV2WordListArgs) ToGooglePrivacyDlpV2WordListOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2WordListOutput) } +func (i GooglePrivacyDlpV2WordListArgs) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2WordList] { + return pulumix.Output[GooglePrivacyDlpV2WordList]{ + OutputState: i.ToGooglePrivacyDlpV2WordListOutputWithContext(ctx).OutputState, + } +} + func (i GooglePrivacyDlpV2WordListArgs) ToGooglePrivacyDlpV2WordListPtrOutput() GooglePrivacyDlpV2WordListPtrOutput { return i.ToGooglePrivacyDlpV2WordListPtrOutputWithContext(context.Background()) } @@ -22995,6 +26614,12 @@ func (i *googlePrivacyDlpV2WordListPtrType) ToGooglePrivacyDlpV2WordListPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(GooglePrivacyDlpV2WordListPtrOutput) } +func (i *googlePrivacyDlpV2WordListPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2WordList] { + return pulumix.Output[*GooglePrivacyDlpV2WordList]{ + OutputState: i.ToGooglePrivacyDlpV2WordListPtrOutputWithContext(ctx).OutputState, + } +} + // Message defining a list of words or phrases to search for in the data. type GooglePrivacyDlpV2WordListOutput struct{ *pulumi.OutputState } @@ -23020,6 +26645,12 @@ func (o GooglePrivacyDlpV2WordListOutput) ToGooglePrivacyDlpV2WordListPtrOutputW }).(GooglePrivacyDlpV2WordListPtrOutput) } +func (o GooglePrivacyDlpV2WordListOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2WordList] { + return pulumix.Output[GooglePrivacyDlpV2WordList]{ + OutputState: o.OutputState, + } +} + // Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required] func (o GooglePrivacyDlpV2WordListOutput) Words() pulumi.StringArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2WordList) []string { return v.Words }).(pulumi.StringArrayOutput) @@ -23039,6 +26670,12 @@ func (o GooglePrivacyDlpV2WordListPtrOutput) ToGooglePrivacyDlpV2WordListPtrOutp return o } +func (o GooglePrivacyDlpV2WordListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooglePrivacyDlpV2WordList] { + return pulumix.Output[*GooglePrivacyDlpV2WordList]{ + OutputState: o.OutputState, + } +} + func (o GooglePrivacyDlpV2WordListPtrOutput) Elem() GooglePrivacyDlpV2WordListOutput { return o.ApplyT(func(v *GooglePrivacyDlpV2WordList) GooglePrivacyDlpV2WordList { if v != nil { @@ -23080,6 +26717,12 @@ func (o GooglePrivacyDlpV2WordListResponseOutput) ToGooglePrivacyDlpV2WordListRe return o } +func (o GooglePrivacyDlpV2WordListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooglePrivacyDlpV2WordListResponse] { + return pulumix.Output[GooglePrivacyDlpV2WordListResponse]{ + OutputState: o.OutputState, + } +} + // Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required] func (o GooglePrivacyDlpV2WordListResponseOutput) Words() pulumi.StringArrayOutput { return o.ApplyT(func(v GooglePrivacyDlpV2WordListResponse) []string { return v.Words }).(pulumi.StringArrayOutput) @@ -23116,6 +26759,12 @@ func (i GoogleProtobufEmptyArgs) ToGoogleProtobufEmptyOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GoogleProtobufEmptyOutput) } +func (i GoogleProtobufEmptyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleProtobufEmpty] { + return pulumix.Output[GoogleProtobufEmpty]{ + OutputState: i.ToGoogleProtobufEmptyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleProtobufEmptyArgs) ToGoogleProtobufEmptyPtrOutput() GoogleProtobufEmptyPtrOutput { return i.ToGoogleProtobufEmptyPtrOutputWithContext(context.Background()) } @@ -23157,6 +26806,12 @@ func (i *googleProtobufEmptyPtrType) ToGoogleProtobufEmptyPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(GoogleProtobufEmptyPtrOutput) } +func (i *googleProtobufEmptyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleProtobufEmpty] { + return pulumix.Output[*GoogleProtobufEmpty]{ + OutputState: i.ToGoogleProtobufEmptyPtrOutputWithContext(ctx).OutputState, + } +} + // A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } type GoogleProtobufEmptyOutput struct{ *pulumi.OutputState } @@ -23182,6 +26837,12 @@ func (o GoogleProtobufEmptyOutput) ToGoogleProtobufEmptyPtrOutputWithContext(ctx }).(GoogleProtobufEmptyPtrOutput) } +func (o GoogleProtobufEmptyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleProtobufEmpty] { + return pulumix.Output[GoogleProtobufEmpty]{ + OutputState: o.OutputState, + } +} + type GoogleProtobufEmptyPtrOutput struct{ *pulumi.OutputState } func (GoogleProtobufEmptyPtrOutput) ElementType() reflect.Type { @@ -23196,6 +26857,12 @@ func (o GoogleProtobufEmptyPtrOutput) ToGoogleProtobufEmptyPtrOutputWithContext( return o } +func (o GoogleProtobufEmptyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleProtobufEmpty] { + return pulumix.Output[*GoogleProtobufEmpty]{ + OutputState: o.OutputState, + } +} + func (o GoogleProtobufEmptyPtrOutput) Elem() GoogleProtobufEmptyOutput { return o.ApplyT(func(v *GoogleProtobufEmpty) GoogleProtobufEmpty { if v != nil { @@ -23225,6 +26892,12 @@ func (o GoogleProtobufEmptyResponseOutput) ToGoogleProtobufEmptyResponseOutputWi return o } +func (o GoogleProtobufEmptyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleProtobufEmptyResponse] { + return pulumix.Output[GoogleProtobufEmptyResponse]{ + OutputState: o.OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type GoogleRpcStatusResponse struct { // The status code, which should be an enum value of google.rpc.Code. @@ -23250,6 +26923,12 @@ func (o GoogleRpcStatusResponseOutput) ToGoogleRpcStatusResponseOutputWithContex return o } +func (o GoogleRpcStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatusResponse] { + return pulumix.Output[GoogleRpcStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v GoogleRpcStatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -23308,6 +26987,12 @@ func (i GoogleTypeDateArgs) ToGoogleTypeDateOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDateOutput) } +func (i GoogleTypeDateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDate] { + return pulumix.Output[GoogleTypeDate]{ + OutputState: i.ToGoogleTypeDateOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeDateArgs) ToGoogleTypeDatePtrOutput() GoogleTypeDatePtrOutput { return i.ToGoogleTypeDatePtrOutputWithContext(context.Background()) } @@ -23349,6 +27034,12 @@ func (i *googleTypeDatePtrType) ToGoogleTypeDatePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeDatePtrOutput) } +func (i *googleTypeDatePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDate] { + return pulumix.Output[*GoogleTypeDate]{ + OutputState: i.ToGoogleTypeDatePtrOutputWithContext(ctx).OutputState, + } +} + // Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp type GoogleTypeDateOutput struct{ *pulumi.OutputState } @@ -23374,6 +27065,12 @@ func (o GoogleTypeDateOutput) ToGoogleTypeDatePtrOutputWithContext(ctx context.C }).(GoogleTypeDatePtrOutput) } +func (o GoogleTypeDateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDate] { + return pulumix.Output[GoogleTypeDate]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateOutput) Day() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleTypeDate) *int { return v.Day }).(pulumi.IntPtrOutput) @@ -23403,6 +27100,12 @@ func (o GoogleTypeDatePtrOutput) ToGoogleTypeDatePtrOutputWithContext(ctx contex return o } +func (o GoogleTypeDatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeDate] { + return pulumix.Output[*GoogleTypeDate]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeDatePtrOutput) Elem() GoogleTypeDateOutput { return o.ApplyT(func(v *GoogleTypeDate) GoogleTypeDate { if v != nil { @@ -23468,6 +27171,12 @@ func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext( return o } +func (o GoogleTypeDateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDateResponse] { + return pulumix.Output[GoogleTypeDateResponse]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v GoogleTypeDateResponse) int { return v.Day }).(pulumi.IntOutput) @@ -23530,6 +27239,12 @@ func (i GoogleTypeTimeOfDayArgs) ToGoogleTypeTimeOfDayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeTimeOfDayOutput) } +func (i GoogleTypeTimeOfDayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeTimeOfDay] { + return pulumix.Output[GoogleTypeTimeOfDay]{ + OutputState: i.ToGoogleTypeTimeOfDayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeTimeOfDayArgs) ToGoogleTypeTimeOfDayPtrOutput() GoogleTypeTimeOfDayPtrOutput { return i.ToGoogleTypeTimeOfDayPtrOutputWithContext(context.Background()) } @@ -23571,6 +27286,12 @@ func (i *googleTypeTimeOfDayPtrType) ToGoogleTypeTimeOfDayPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeTimeOfDayPtrOutput) } +func (i *googleTypeTimeOfDayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeTimeOfDay] { + return pulumix.Output[*GoogleTypeTimeOfDay]{ + OutputState: i.ToGoogleTypeTimeOfDayPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. type GoogleTypeTimeOfDayOutput struct{ *pulumi.OutputState } @@ -23596,6 +27317,12 @@ func (o GoogleTypeTimeOfDayOutput) ToGoogleTypeTimeOfDayPtrOutputWithContext(ctx }).(GoogleTypeTimeOfDayPtrOutput) } +func (o GoogleTypeTimeOfDayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeTimeOfDay] { + return pulumix.Output[GoogleTypeTimeOfDay]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o GoogleTypeTimeOfDayOutput) Hours() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleTypeTimeOfDay) *int { return v.Hours }).(pulumi.IntPtrOutput) @@ -23630,6 +27357,12 @@ func (o GoogleTypeTimeOfDayPtrOutput) ToGoogleTypeTimeOfDayPtrOutputWithContext( return o } +func (o GoogleTypeTimeOfDayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeTimeOfDay] { + return pulumix.Output[*GoogleTypeTimeOfDay]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeTimeOfDayPtrOutput) Elem() GoogleTypeTimeOfDayOutput { return o.ApplyT(func(v *GoogleTypeTimeOfDay) GoogleTypeTimeOfDay { if v != nil { @@ -23707,6 +27440,12 @@ func (o GoogleTypeTimeOfDayResponseOutput) ToGoogleTypeTimeOfDayResponseOutputWi return o } +func (o GoogleTypeTimeOfDayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeTimeOfDayResponse] { + return pulumix.Output[GoogleTypeTimeOfDayResponse]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o GoogleTypeTimeOfDayResponseOutput) Hours() pulumi.IntOutput { return o.ApplyT(func(v GoogleTypeTimeOfDayResponse) int { return v.Hours }).(pulumi.IntOutput) diff --git a/sdk/go/google/dlp/v2/storedInfoType.go b/sdk/go/google/dlp/v2/storedInfoType.go index 63c6c2b218..7afcc2b381 100644 --- a/sdk/go/google/dlp/v2/storedInfoType.go +++ b/sdk/go/google/dlp/v2/storedInfoType.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more. @@ -122,6 +123,12 @@ func (i *StoredInfoType) ToStoredInfoTypeOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(StoredInfoTypeOutput) } +func (i *StoredInfoType) ToOutput(ctx context.Context) pulumix.Output[*StoredInfoType] { + return pulumix.Output[*StoredInfoType]{ + OutputState: i.ToStoredInfoTypeOutputWithContext(ctx).OutputState, + } +} + type StoredInfoTypeOutput struct{ *pulumi.OutputState } func (StoredInfoTypeOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o StoredInfoTypeOutput) ToStoredInfoTypeOutputWithContext(ctx context.Cont return o } +func (o StoredInfoTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*StoredInfoType] { + return pulumix.Output[*StoredInfoType]{ + OutputState: o.OutputState, + } +} + // Current version of the stored info type. func (o StoredInfoTypeOutput) CurrentVersion() GooglePrivacyDlpV2StoredInfoTypeVersionResponseOutput { return o.ApplyT(func(v *StoredInfoType) GooglePrivacyDlpV2StoredInfoTypeVersionResponseOutput { return v.CurrentVersion }).(GooglePrivacyDlpV2StoredInfoTypeVersionResponseOutput) diff --git a/sdk/go/google/dns/v1/change.go b/sdk/go/google/dns/v1/change.go index 49189bc1f5..44765e6ccc 100644 --- a/sdk/go/google/dns/v1/change.go +++ b/sdk/go/google/dns/v1/change.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Atomically updates the ResourceRecordSet collection. @@ -135,6 +136,12 @@ func (i *Change) ToChangeOutputWithContext(ctx context.Context) ChangeOutput { return pulumi.ToOutputWithContext(ctx, i).(ChangeOutput) } +func (i *Change) ToOutput(ctx context.Context) pulumix.Output[*Change] { + return pulumix.Output[*Change]{ + OutputState: i.ToChangeOutputWithContext(ctx).OutputState, + } +} + type ChangeOutput struct{ *pulumi.OutputState } func (ChangeOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ChangeOutput) ToChangeOutputWithContext(ctx context.Context) ChangeOutpu return o } +func (o ChangeOutput) ToOutput(ctx context.Context) pulumix.Output[*Change] { + return pulumix.Output[*Change]{ + OutputState: o.OutputState, + } +} + // Which ResourceRecordSets to add? func (o ChangeOutput) Additions() ResourceRecordSetResponseArrayOutput { return o.ApplyT(func(v *Change) ResourceRecordSetResponseArrayOutput { return v.Additions }).(ResourceRecordSetResponseArrayOutput) diff --git a/sdk/go/google/dns/v1/getChange.go b/sdk/go/google/dns/v1/getChange.go index bebc72ad97..e67f4ea55e 100644 --- a/sdk/go/google/dns/v1/getChange.go +++ b/sdk/go/google/dns/v1/getChange.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing Change. @@ -81,6 +82,12 @@ func (o LookupChangeResultOutput) ToLookupChangeResultOutputWithContext(ctx cont return o } +func (o LookupChangeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupChangeResult] { + return pulumix.Output[LookupChangeResult]{ + OutputState: o.OutputState, + } +} + // Which ResourceRecordSets to add? func (o LookupChangeResultOutput) Additions() ResourceRecordSetResponseArrayOutput { return o.ApplyT(func(v LookupChangeResult) []ResourceRecordSetResponse { return v.Additions }).(ResourceRecordSetResponseArrayOutput) diff --git a/sdk/go/google/dns/v1/getManagedZone.go b/sdk/go/google/dns/v1/getManagedZone.go index f100111ed9..459b421c7c 100644 --- a/sdk/go/google/dns/v1/getManagedZone.go +++ b/sdk/go/google/dns/v1/getManagedZone.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing ManagedZone. @@ -98,6 +99,12 @@ func (o LookupManagedZoneResultOutput) ToLookupManagedZoneResultOutputWithContex return o } +func (o LookupManagedZoneResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupManagedZoneResult] { + return pulumix.Output[LookupManagedZoneResult]{ + OutputState: o.OutputState, + } +} + func (o LookupManagedZoneResultOutput) CloudLoggingConfig() ManagedZoneCloudLoggingConfigResponseOutput { return o.ApplyT(func(v LookupManagedZoneResult) ManagedZoneCloudLoggingConfigResponse { return v.CloudLoggingConfig }).(ManagedZoneCloudLoggingConfigResponseOutput) } diff --git a/sdk/go/google/dns/v1/getManagedZoneIamPolicy.go b/sdk/go/google/dns/v1/getManagedZoneIamPolicy.go index e46dc93a0f..4e9a4ab062 100644 --- a/sdk/go/google/dns/v1/getManagedZoneIamPolicy.go +++ b/sdk/go/google/dns/v1/getManagedZoneIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupManagedZoneIamPolicyResultOutput) ToLookupManagedZoneIamPolicyResu return o } +func (o LookupManagedZoneIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupManagedZoneIamPolicyResult] { + return pulumix.Output[LookupManagedZoneIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupManagedZoneIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupManagedZoneIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dns/v1/getPolicy.go b/sdk/go/google/dns/v1/getPolicy.go index 72037ee330..8c888490b1 100644 --- a/sdk/go/google/dns/v1/getPolicy.go +++ b/sdk/go/google/dns/v1/getPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing Policy. @@ -81,6 +82,12 @@ func (o LookupPolicyResultOutput) ToLookupPolicyResultOutputWithContext(ctx cont return o } +func (o LookupPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPolicyResult] { + return pulumix.Output[LookupPolicyResult]{ + OutputState: o.OutputState, + } +} + // Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified. func (o LookupPolicyResultOutput) AlternativeNameServerConfig() PolicyAlternativeNameServerConfigResponseOutput { return o.ApplyT(func(v LookupPolicyResult) PolicyAlternativeNameServerConfigResponse { diff --git a/sdk/go/google/dns/v1/getResourceRecordSet.go b/sdk/go/google/dns/v1/getResourceRecordSet.go index 3d745e23a0..628f457896 100644 --- a/sdk/go/google/dns/v1/getResourceRecordSet.go +++ b/sdk/go/google/dns/v1/getResourceRecordSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing ResourceRecordSet. @@ -85,6 +86,12 @@ func (o LookupResourceRecordSetResultOutput) ToLookupResourceRecordSetResultOutp return o } +func (o LookupResourceRecordSetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResourceRecordSetResult] { + return pulumix.Output[LookupResourceRecordSetResult]{ + OutputState: o.OutputState, + } +} + func (o LookupResourceRecordSetResultOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v LookupResourceRecordSetResult) string { return v.Kind }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dns/v1/getResponsePolicy.go b/sdk/go/google/dns/v1/getResponsePolicy.go index 0f22a18559..337b2f169c 100644 --- a/sdk/go/google/dns/v1/getResponsePolicy.go +++ b/sdk/go/google/dns/v1/getResponsePolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing Response Policy. @@ -79,6 +80,12 @@ func (o GetResponsePolicyResultOutput) ToGetResponsePolicyResultOutputWithContex return o } +func (o GetResponsePolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetResponsePolicyResult] { + return pulumix.Output[GetResponsePolicyResult]{ + OutputState: o.OutputState, + } +} + // User-provided description for this Response Policy. func (o GetResponsePolicyResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GetResponsePolicyResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/dns/v1/getResponsePolicyRule.go b/sdk/go/google/dns/v1/getResponsePolicyRule.go index 92f03ecd26..bab05a3745 100644 --- a/sdk/go/google/dns/v1/getResponsePolicyRule.go +++ b/sdk/go/google/dns/v1/getResponsePolicyRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing Response Policy Rule. @@ -79,6 +80,12 @@ func (o GetResponsePolicyRuleResultOutput) ToGetResponsePolicyRuleResultOutputWi return o } +func (o GetResponsePolicyRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetResponsePolicyRuleResult] { + return pulumix.Output[GetResponsePolicyRuleResult]{ + OutputState: o.OutputState, + } +} + // Answer this query with a behavior rather than DNS data. func (o GetResponsePolicyRuleResultOutput) Behavior() pulumi.StringOutput { return o.ApplyT(func(v GetResponsePolicyRuleResult) string { return v.Behavior }).(pulumi.StringOutput) diff --git a/sdk/go/google/dns/v1/managedZone.go b/sdk/go/google/dns/v1/managedZone.go index 41ddbe3441..e283ac5d3c 100644 --- a/sdk/go/google/dns/v1/managedZone.go +++ b/sdk/go/google/dns/v1/managedZone.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ManagedZone. @@ -185,6 +186,12 @@ func (i *ManagedZone) ToManagedZoneOutputWithContext(ctx context.Context) Manage return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneOutput) } +func (i *ManagedZone) ToOutput(ctx context.Context) pulumix.Output[*ManagedZone] { + return pulumix.Output[*ManagedZone]{ + OutputState: i.ToManagedZoneOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneOutput struct{ *pulumi.OutputState } func (ManagedZoneOutput) ElementType() reflect.Type { @@ -199,6 +206,12 @@ func (o ManagedZoneOutput) ToManagedZoneOutputWithContext(ctx context.Context) M return o } +func (o ManagedZoneOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZone] { + return pulumix.Output[*ManagedZone]{ + OutputState: o.OutputState, + } +} + // For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. func (o ManagedZoneOutput) ClientOperationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *ManagedZone) pulumi.StringPtrOutput { return v.ClientOperationId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/dns/v1/managedZoneIamBinding.go b/sdk/go/google/dns/v1/managedZoneIamBinding.go index 854c629a2b..87cdf729a3 100644 --- a/sdk/go/google/dns/v1/managedZoneIamBinding.go +++ b/sdk/go/google/dns/v1/managedZoneIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ManagedZoneIamBinding) ToManagedZoneIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneIamBindingOutput) } +func (i *ManagedZoneIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamBinding] { + return pulumix.Output[*ManagedZoneIamBinding]{ + OutputState: i.ToManagedZoneIamBindingOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneIamBindingOutput struct{ *pulumi.OutputState } func (ManagedZoneIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ManagedZoneIamBindingOutput) ToManagedZoneIamBindingOutputWithContext(ct return o } +func (o ManagedZoneIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamBinding] { + return pulumix.Output[*ManagedZoneIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ManagedZoneIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ManagedZoneIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dns/v1/managedZoneIamMember.go b/sdk/go/google/dns/v1/managedZoneIamMember.go index fa7d97003a..4f8f9944f3 100644 --- a/sdk/go/google/dns/v1/managedZoneIamMember.go +++ b/sdk/go/google/dns/v1/managedZoneIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ManagedZoneIamMember) ToManagedZoneIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneIamMemberOutput) } +func (i *ManagedZoneIamMember) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamMember] { + return pulumix.Output[*ManagedZoneIamMember]{ + OutputState: i.ToManagedZoneIamMemberOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneIamMemberOutput struct{ *pulumi.OutputState } func (ManagedZoneIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ManagedZoneIamMemberOutput) ToManagedZoneIamMemberOutputWithContext(ctx return o } +func (o ManagedZoneIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamMember] { + return pulumix.Output[*ManagedZoneIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ManagedZoneIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ManagedZoneIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dns/v1/managedZoneIamPolicy.go b/sdk/go/google/dns/v1/managedZoneIamPolicy.go index fcc6f9211e..2502709a17 100644 --- a/sdk/go/google/dns/v1/managedZoneIamPolicy.go +++ b/sdk/go/google/dns/v1/managedZoneIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -131,6 +132,12 @@ func (i *ManagedZoneIamPolicy) ToManagedZoneIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneIamPolicyOutput) } +func (i *ManagedZoneIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamPolicy] { + return pulumix.Output[*ManagedZoneIamPolicy]{ + OutputState: i.ToManagedZoneIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneIamPolicyOutput struct{ *pulumi.OutputState } func (ManagedZoneIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ManagedZoneIamPolicyOutput) ToManagedZoneIamPolicyOutputWithContext(ctx return o } +func (o ManagedZoneIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamPolicy] { + return pulumix.Output[*ManagedZoneIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ManagedZoneIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ManagedZoneIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dns/v1/policy.go b/sdk/go/google/dns/v1/policy.go index 5e9dccbe0f..0971bf7c42 100644 --- a/sdk/go/google/dns/v1/policy.go +++ b/sdk/go/google/dns/v1/policy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Policy. @@ -138,6 +139,12 @@ func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput { return pulumi.ToOutputWithContext(ctx, i).(PolicyOutput) } +func (i *Policy) ToOutput(ctx context.Context) pulumix.Output[*Policy] { + return pulumix.Output[*Policy]{ + OutputState: i.ToPolicyOutputWithContext(ctx).OutputState, + } +} + type PolicyOutput struct{ *pulumi.OutputState } func (PolicyOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutpu return o } +func (o PolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*Policy] { + return pulumix.Output[*Policy]{ + OutputState: o.OutputState, + } +} + // Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified. func (o PolicyOutput) AlternativeNameServerConfig() PolicyAlternativeNameServerConfigResponseOutput { return o.ApplyT(func(v *Policy) PolicyAlternativeNameServerConfigResponseOutput { return v.AlternativeNameServerConfig }).(PolicyAlternativeNameServerConfigResponseOutput) diff --git a/sdk/go/google/dns/v1/pulumiEnums.go b/sdk/go/google/dns/v1/pulumiEnums.go index 63a222bb99..e633dc7d58 100644 --- a/sdk/go/google/dns/v1/pulumiEnums.go +++ b/sdk/go/google/dns/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // String mnemonic specifying the DNSSEC algorithm of this key. @@ -81,6 +82,12 @@ func (o DnsKeySpecAlgorithmOutput) ToDnsKeySpecAlgorithmPtrOutputWithContext(ctx }).(DnsKeySpecAlgorithmPtrOutput) } +func (o DnsKeySpecAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[DnsKeySpecAlgorithm] { + return pulumix.Output[DnsKeySpecAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -116,6 +123,12 @@ func (o DnsKeySpecAlgorithmPtrOutput) ToDnsKeySpecAlgorithmPtrOutputWithContext( return o } +func (o DnsKeySpecAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DnsKeySpecAlgorithm] { + return pulumix.Output[*DnsKeySpecAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecAlgorithmPtrOutput) Elem() DnsKeySpecAlgorithmOutput { return o.ApplyT(func(v *DnsKeySpecAlgorithm) DnsKeySpecAlgorithm { if v != nil { @@ -178,6 +191,12 @@ func (in *dnsKeySpecAlgorithmPtr) ToDnsKeySpecAlgorithmPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(DnsKeySpecAlgorithmPtrOutput) } +func (in *dnsKeySpecAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*DnsKeySpecAlgorithm] { + return pulumix.Output[*DnsKeySpecAlgorithm]{ + OutputState: in.ToDnsKeySpecAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. type DnsKeySpecKeyType string @@ -246,6 +265,12 @@ func (o DnsKeySpecKeyTypeOutput) ToDnsKeySpecKeyTypePtrOutputWithContext(ctx con }).(DnsKeySpecKeyTypePtrOutput) } +func (o DnsKeySpecKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DnsKeySpecKeyType] { + return pulumix.Output[DnsKeySpecKeyType]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecKeyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -281,6 +306,12 @@ func (o DnsKeySpecKeyTypePtrOutput) ToDnsKeySpecKeyTypePtrOutputWithContext(ctx return o } +func (o DnsKeySpecKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DnsKeySpecKeyType] { + return pulumix.Output[*DnsKeySpecKeyType]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecKeyTypePtrOutput) Elem() DnsKeySpecKeyTypeOutput { return o.ApplyT(func(v *DnsKeySpecKeyType) DnsKeySpecKeyType { if v != nil { @@ -343,6 +374,12 @@ func (in *dnsKeySpecKeyTypePtr) ToDnsKeySpecKeyTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(DnsKeySpecKeyTypePtrOutput) } +func (in *dnsKeySpecKeyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DnsKeySpecKeyType] { + return pulumix.Output[*DnsKeySpecKeyType]{ + OutputState: in.ToDnsKeySpecKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -417,6 +454,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -452,6 +495,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -514,6 +563,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. type ManagedZoneDnsSecConfigNonExistence string @@ -582,6 +637,12 @@ func (o ManagedZoneDnsSecConfigNonExistenceOutput) ToManagedZoneDnsSecConfigNonE }).(ManagedZoneDnsSecConfigNonExistencePtrOutput) } +func (o ManagedZoneDnsSecConfigNonExistenceOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneDnsSecConfigNonExistence] { + return pulumix.Output[ManagedZoneDnsSecConfigNonExistence]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneDnsSecConfigNonExistenceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -617,6 +678,12 @@ func (o ManagedZoneDnsSecConfigNonExistencePtrOutput) ToManagedZoneDnsSecConfigN return o } +func (o ManagedZoneDnsSecConfigNonExistencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfigNonExistence] { + return pulumix.Output[*ManagedZoneDnsSecConfigNonExistence]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneDnsSecConfigNonExistencePtrOutput) Elem() ManagedZoneDnsSecConfigNonExistenceOutput { return o.ApplyT(func(v *ManagedZoneDnsSecConfigNonExistence) ManagedZoneDnsSecConfigNonExistence { if v != nil { @@ -679,6 +746,12 @@ func (in *managedZoneDnsSecConfigNonExistencePtr) ToManagedZoneDnsSecConfigNonEx return pulumi.ToOutputWithContext(ctx, in).(ManagedZoneDnsSecConfigNonExistencePtrOutput) } +func (in *managedZoneDnsSecConfigNonExistencePtr) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfigNonExistence] { + return pulumix.Output[*ManagedZoneDnsSecConfigNonExistence]{ + OutputState: in.ToManagedZoneDnsSecConfigNonExistencePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies whether DNSSEC is enabled, and what mode it is in. type ManagedZoneDnsSecConfigState string @@ -751,6 +824,12 @@ func (o ManagedZoneDnsSecConfigStateOutput) ToManagedZoneDnsSecConfigStatePtrOut }).(ManagedZoneDnsSecConfigStatePtrOutput) } +func (o ManagedZoneDnsSecConfigStateOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneDnsSecConfigState] { + return pulumix.Output[ManagedZoneDnsSecConfigState]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneDnsSecConfigStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -786,6 +865,12 @@ func (o ManagedZoneDnsSecConfigStatePtrOutput) ToManagedZoneDnsSecConfigStatePtr return o } +func (o ManagedZoneDnsSecConfigStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfigState] { + return pulumix.Output[*ManagedZoneDnsSecConfigState]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneDnsSecConfigStatePtrOutput) Elem() ManagedZoneDnsSecConfigStateOutput { return o.ApplyT(func(v *ManagedZoneDnsSecConfigState) ManagedZoneDnsSecConfigState { if v != nil { @@ -848,6 +933,12 @@ func (in *managedZoneDnsSecConfigStatePtr) ToManagedZoneDnsSecConfigStatePtrOutp return pulumi.ToOutputWithContext(ctx, in).(ManagedZoneDnsSecConfigStatePtrOutput) } +func (in *managedZoneDnsSecConfigStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfigState] { + return pulumix.Output[*ManagedZoneDnsSecConfigState]{ + OutputState: in.ToManagedZoneDnsSecConfigStatePtrOutputWithContext(ctx).OutputState, + } +} + // Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. type ManagedZoneForwardingConfigNameServerTargetForwardingPath string @@ -918,6 +1009,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathOutput) ToManag }).(ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput) } +func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfigNameServerTargetForwardingPath] { + return pulumix.Output[ManagedZoneForwardingConfigNameServerTargetForwardingPath]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -953,6 +1050,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput) ToMa return o } +func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneForwardingConfigNameServerTargetForwardingPath] { + return pulumix.Output[*ManagedZoneForwardingConfigNameServerTargetForwardingPath]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput) Elem() ManagedZoneForwardingConfigNameServerTargetForwardingPathOutput { return o.ApplyT(func(v *ManagedZoneForwardingConfigNameServerTargetForwardingPath) ManagedZoneForwardingConfigNameServerTargetForwardingPath { if v != nil { @@ -1015,6 +1118,12 @@ func (in *managedZoneForwardingConfigNameServerTargetForwardingPathPtr) ToManage return pulumi.ToOutputWithContext(ctx, in).(ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput) } +func (in *managedZoneForwardingConfigNameServerTargetForwardingPathPtr) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneForwardingConfigNameServerTargetForwardingPath] { + return pulumix.Output[*ManagedZoneForwardingConfigNameServerTargetForwardingPath]{ + OutputState: in.ToManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutputWithContext(ctx).OutputState, + } +} + // The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. type ManagedZoneVisibility string @@ -1083,6 +1192,12 @@ func (o ManagedZoneVisibilityOutput) ToManagedZoneVisibilityPtrOutputWithContext }).(ManagedZoneVisibilityPtrOutput) } +func (o ManagedZoneVisibilityOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneVisibility] { + return pulumix.Output[ManagedZoneVisibility]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneVisibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1118,6 +1233,12 @@ func (o ManagedZoneVisibilityPtrOutput) ToManagedZoneVisibilityPtrOutputWithCont return o } +func (o ManagedZoneVisibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneVisibility] { + return pulumix.Output[*ManagedZoneVisibility]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneVisibilityPtrOutput) Elem() ManagedZoneVisibilityOutput { return o.ApplyT(func(v *ManagedZoneVisibility) ManagedZoneVisibility { if v != nil { @@ -1180,6 +1301,12 @@ func (in *managedZoneVisibilityPtr) ToManagedZoneVisibilityPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ManagedZoneVisibilityPtrOutput) } +func (in *managedZoneVisibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneVisibility] { + return pulumix.Output[*ManagedZoneVisibility]{ + OutputState: in.ToManagedZoneVisibilityPtrOutputWithContext(ctx).OutputState, + } +} + // Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. type PolicyAlternativeNameServerConfigTargetNameServerForwardingPath string @@ -1250,6 +1377,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathOutput) T }).(PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput) } +func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServerForwardingPath] { + return pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServerForwardingPath]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1285,6 +1418,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput return o } +func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyAlternativeNameServerConfigTargetNameServerForwardingPath] { + return pulumix.Output[*PolicyAlternativeNameServerConfigTargetNameServerForwardingPath]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput) Elem() PolicyAlternativeNameServerConfigTargetNameServerForwardingPathOutput { return o.ApplyT(func(v *PolicyAlternativeNameServerConfigTargetNameServerForwardingPath) PolicyAlternativeNameServerConfigTargetNameServerForwardingPath { if v != nil { @@ -1347,6 +1486,12 @@ func (in *policyAlternativeNameServerConfigTargetNameServerForwardingPathPtr) To return pulumi.ToOutputWithContext(ctx, in).(PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput) } +func (in *policyAlternativeNameServerConfigTargetNameServerForwardingPathPtr) ToOutput(ctx context.Context) pulumix.Output[*PolicyAlternativeNameServerConfigTargetNameServerForwardingPath] { + return pulumix.Output[*PolicyAlternativeNameServerConfigTargetNameServerForwardingPath]{ + OutputState: in.ToPolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutputWithContext(ctx).OutputState, + } +} + type RRSetRoutingPolicyLoadBalancerTargetIpProtocol string const ( @@ -1415,6 +1560,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolOutput) ToRRSetRoutingPoli }).(RRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutput) } +func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetIpProtocol] { + return pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1450,6 +1601,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutput) ToRRSetRoutingP return o } +func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetIpProtocol] { + return pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutput) Elem() RRSetRoutingPolicyLoadBalancerTargetIpProtocolOutput { return o.ApplyT(func(v *RRSetRoutingPolicyLoadBalancerTargetIpProtocol) RRSetRoutingPolicyLoadBalancerTargetIpProtocol { if v != nil { @@ -1512,6 +1669,12 @@ func (in *rrsetRoutingPolicyLoadBalancerTargetIpProtocolPtr) ToRRSetRoutingPolic return pulumi.ToOutputWithContext(ctx, in).(RRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutput) } +func (in *rrsetRoutingPolicyLoadBalancerTargetIpProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetIpProtocol] { + return pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetIpProtocol]{ + OutputState: in.ToRRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The type of Load Balancer specified by this target. Must match the configuration of the Load Balancer located at the LoadBalancerTarget's IP address/port and region. type RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType string @@ -1580,6 +1743,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypeOutput) ToRRSetRouti }).(RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutput) } +func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType] { + return pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1615,6 +1784,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutput) ToRRSetRo return o } +func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType] { + return pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutput) Elem() RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypeOutput { return o.ApplyT(func(v *RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType) RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType { if v != nil { @@ -1677,6 +1852,12 @@ func (in *rrsetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtr) ToRRSetRoutin return pulumi.ToOutputWithContext(ctx, in).(RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutput) } +func (in *rrsetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType] { + return pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType]{ + OutputState: in.ToRRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutputWithContext(ctx).OutputState, + } +} + // Answer this query with a behavior rather than DNS data. type ResponsePolicyRuleBehavior string diff --git a/sdk/go/google/dns/v1/pulumiTypes.go b/sdk/go/google/dns/v1/pulumiTypes.go index 7bb86cd9e8..f8ff977cbe 100644 --- a/sdk/go/google/dns/v1/pulumiTypes.go +++ b/sdk/go/google/dns/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -58,6 +59,12 @@ func (i DnsKeySpecArgs) ToDnsKeySpecOutputWithContext(ctx context.Context) DnsKe return pulumi.ToOutputWithContext(ctx, i).(DnsKeySpecOutput) } +func (i DnsKeySpecArgs) ToOutput(ctx context.Context) pulumix.Output[DnsKeySpec] { + return pulumix.Output[DnsKeySpec]{ + OutputState: i.ToDnsKeySpecOutputWithContext(ctx).OutputState, + } +} + // DnsKeySpecArrayInput is an input type that accepts DnsKeySpecArray and DnsKeySpecArrayOutput values. // You can construct a concrete instance of `DnsKeySpecArrayInput` via: // @@ -83,6 +90,12 @@ func (i DnsKeySpecArray) ToDnsKeySpecArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DnsKeySpecArrayOutput) } +func (i DnsKeySpecArray) ToOutput(ctx context.Context) pulumix.Output[[]DnsKeySpec] { + return pulumix.Output[[]DnsKeySpec]{ + OutputState: i.ToDnsKeySpecArrayOutputWithContext(ctx).OutputState, + } +} + // Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. type DnsKeySpecOutput struct{ *pulumi.OutputState } @@ -98,6 +111,12 @@ func (o DnsKeySpecOutput) ToDnsKeySpecOutputWithContext(ctx context.Context) Dns return o } +func (o DnsKeySpecOutput) ToOutput(ctx context.Context) pulumix.Output[DnsKeySpec] { + return pulumix.Output[DnsKeySpec]{ + OutputState: o.OutputState, + } +} + // String mnemonic specifying the DNSSEC algorithm of this key. func (o DnsKeySpecOutput) Algorithm() DnsKeySpecAlgorithmPtrOutput { return o.ApplyT(func(v DnsKeySpec) *DnsKeySpecAlgorithm { return v.Algorithm }).(DnsKeySpecAlgorithmPtrOutput) @@ -131,6 +150,12 @@ func (o DnsKeySpecArrayOutput) ToDnsKeySpecArrayOutputWithContext(ctx context.Co return o } +func (o DnsKeySpecArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DnsKeySpec] { + return pulumix.Output[[]DnsKeySpec]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecArrayOutput) Index(i pulumi.IntInput) DnsKeySpecOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DnsKeySpec { return vs[0].([]DnsKeySpec)[vs[1].(int)] @@ -163,6 +188,12 @@ func (o DnsKeySpecResponseOutput) ToDnsKeySpecResponseOutputWithContext(ctx cont return o } +func (o DnsKeySpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DnsKeySpecResponse] { + return pulumix.Output[DnsKeySpecResponse]{ + OutputState: o.OutputState, + } +} + // String mnemonic specifying the DNSSEC algorithm of this key. func (o DnsKeySpecResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v DnsKeySpecResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -196,6 +227,12 @@ func (o DnsKeySpecResponseArrayOutput) ToDnsKeySpecResponseArrayOutputWithContex return o } +func (o DnsKeySpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DnsKeySpecResponse] { + return pulumix.Output[[]DnsKeySpecResponse]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecResponseArrayOutput) Index(i pulumi.IntInput) DnsKeySpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DnsKeySpecResponse { return vs[0].([]DnsKeySpecResponse)[vs[1].(int)] @@ -249,6 +286,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -290,6 +333,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -315,6 +364,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -349,6 +404,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -426,6 +487,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -485,6 +552,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -510,6 +583,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -525,6 +604,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -549,6 +634,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -578,6 +669,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -602,6 +699,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -647,6 +750,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -672,6 +781,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -687,6 +802,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -711,6 +832,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -740,6 +867,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -764,6 +897,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -813,6 +952,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -838,6 +983,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -853,6 +1004,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -882,6 +1039,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -913,6 +1076,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -942,6 +1111,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -985,6 +1160,12 @@ func (i ManagedZoneCloudLoggingConfigArgs) ToManagedZoneCloudLoggingConfigOutput return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneCloudLoggingConfigOutput) } +func (i ManagedZoneCloudLoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneCloudLoggingConfig] { + return pulumix.Output[ManagedZoneCloudLoggingConfig]{ + OutputState: i.ToManagedZoneCloudLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneCloudLoggingConfigArgs) ToManagedZoneCloudLoggingConfigPtrOutput() ManagedZoneCloudLoggingConfigPtrOutput { return i.ToManagedZoneCloudLoggingConfigPtrOutputWithContext(context.Background()) } @@ -1026,6 +1207,12 @@ func (i *managedZoneCloudLoggingConfigPtrType) ToManagedZoneCloudLoggingConfigPt return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneCloudLoggingConfigPtrOutput) } +func (i *managedZoneCloudLoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneCloudLoggingConfig] { + return pulumix.Output[*ManagedZoneCloudLoggingConfig]{ + OutputState: i.ToManagedZoneCloudLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Logging configurations for publicly visible zones. type ManagedZoneCloudLoggingConfigOutput struct{ *pulumi.OutputState } @@ -1051,6 +1238,12 @@ func (o ManagedZoneCloudLoggingConfigOutput) ToManagedZoneCloudLoggingConfigPtrO }).(ManagedZoneCloudLoggingConfigPtrOutput) } +func (o ManagedZoneCloudLoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneCloudLoggingConfig] { + return pulumix.Output[ManagedZoneCloudLoggingConfig]{ + OutputState: o.OutputState, + } +} + // If set, enable query logging for this ManagedZone. False by default, making logging opt-in. func (o ManagedZoneCloudLoggingConfigOutput) EnableLogging() pulumi.BoolPtrOutput { return o.ApplyT(func(v ManagedZoneCloudLoggingConfig) *bool { return v.EnableLogging }).(pulumi.BoolPtrOutput) @@ -1074,6 +1267,12 @@ func (o ManagedZoneCloudLoggingConfigPtrOutput) ToManagedZoneCloudLoggingConfigP return o } +func (o ManagedZoneCloudLoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneCloudLoggingConfig] { + return pulumix.Output[*ManagedZoneCloudLoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneCloudLoggingConfigPtrOutput) Elem() ManagedZoneCloudLoggingConfigOutput { return o.ApplyT(func(v *ManagedZoneCloudLoggingConfig) ManagedZoneCloudLoggingConfig { if v != nil { @@ -1125,6 +1324,12 @@ func (o ManagedZoneCloudLoggingConfigResponseOutput) ToManagedZoneCloudLoggingCo return o } +func (o ManagedZoneCloudLoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneCloudLoggingConfigResponse] { + return pulumix.Output[ManagedZoneCloudLoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // If set, enable query logging for this ManagedZone. False by default, making logging opt-in. func (o ManagedZoneCloudLoggingConfigResponseOutput) EnableLogging() pulumi.BoolOutput { return o.ApplyT(func(v ManagedZoneCloudLoggingConfigResponse) bool { return v.EnableLogging }).(pulumi.BoolOutput) @@ -1177,6 +1382,12 @@ func (i ManagedZoneDnsSecConfigArgs) ToManagedZoneDnsSecConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneDnsSecConfigOutput) } +func (i ManagedZoneDnsSecConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneDnsSecConfig] { + return pulumix.Output[ManagedZoneDnsSecConfig]{ + OutputState: i.ToManagedZoneDnsSecConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneDnsSecConfigArgs) ToManagedZoneDnsSecConfigPtrOutput() ManagedZoneDnsSecConfigPtrOutput { return i.ToManagedZoneDnsSecConfigPtrOutputWithContext(context.Background()) } @@ -1218,6 +1429,12 @@ func (i *managedZoneDnsSecConfigPtrType) ToManagedZoneDnsSecConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneDnsSecConfigPtrOutput) } +func (i *managedZoneDnsSecConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfig] { + return pulumix.Output[*ManagedZoneDnsSecConfig]{ + OutputState: i.ToManagedZoneDnsSecConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneDnsSecConfigOutput struct{ *pulumi.OutputState } func (ManagedZoneDnsSecConfigOutput) ElementType() reflect.Type { @@ -1242,6 +1459,12 @@ func (o ManagedZoneDnsSecConfigOutput) ToManagedZoneDnsSecConfigPtrOutputWithCon }).(ManagedZoneDnsSecConfigPtrOutput) } +func (o ManagedZoneDnsSecConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneDnsSecConfig] { + return pulumix.Output[ManagedZoneDnsSecConfig]{ + OutputState: o.OutputState, + } +} + // Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. func (o ManagedZoneDnsSecConfigOutput) DefaultKeySpecs() DnsKeySpecArrayOutput { return o.ApplyT(func(v ManagedZoneDnsSecConfig) []DnsKeySpec { return v.DefaultKeySpecs }).(DnsKeySpecArrayOutput) @@ -1275,6 +1498,12 @@ func (o ManagedZoneDnsSecConfigPtrOutput) ToManagedZoneDnsSecConfigPtrOutputWith return o } +func (o ManagedZoneDnsSecConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfig] { + return pulumix.Output[*ManagedZoneDnsSecConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneDnsSecConfigPtrOutput) Elem() ManagedZoneDnsSecConfigOutput { return o.ApplyT(func(v *ManagedZoneDnsSecConfig) ManagedZoneDnsSecConfig { if v != nil { @@ -1348,6 +1577,12 @@ func (o ManagedZoneDnsSecConfigResponseOutput) ToManagedZoneDnsSecConfigResponse return o } +func (o ManagedZoneDnsSecConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneDnsSecConfigResponse] { + return pulumix.Output[ManagedZoneDnsSecConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. func (o ManagedZoneDnsSecConfigResponseOutput) DefaultKeySpecs() DnsKeySpecResponseArrayOutput { return o.ApplyT(func(v ManagedZoneDnsSecConfigResponse) []DnsKeySpecResponse { return v.DefaultKeySpecs }).(DnsKeySpecResponseArrayOutput) @@ -1402,6 +1637,12 @@ func (i ManagedZoneForwardingConfigArgs) ToManagedZoneForwardingConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneForwardingConfigOutput) } +func (i ManagedZoneForwardingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfig] { + return pulumix.Output[ManagedZoneForwardingConfig]{ + OutputState: i.ToManagedZoneForwardingConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneForwardingConfigArgs) ToManagedZoneForwardingConfigPtrOutput() ManagedZoneForwardingConfigPtrOutput { return i.ToManagedZoneForwardingConfigPtrOutputWithContext(context.Background()) } @@ -1443,6 +1684,12 @@ func (i *managedZoneForwardingConfigPtrType) ToManagedZoneForwardingConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneForwardingConfigPtrOutput) } +func (i *managedZoneForwardingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneForwardingConfig] { + return pulumix.Output[*ManagedZoneForwardingConfig]{ + OutputState: i.ToManagedZoneForwardingConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneForwardingConfigOutput struct{ *pulumi.OutputState } func (ManagedZoneForwardingConfigOutput) ElementType() reflect.Type { @@ -1467,6 +1714,12 @@ func (o ManagedZoneForwardingConfigOutput) ToManagedZoneForwardingConfigPtrOutpu }).(ManagedZoneForwardingConfigPtrOutput) } +func (o ManagedZoneForwardingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfig] { + return pulumix.Output[ManagedZoneForwardingConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZoneForwardingConfig) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -1492,6 +1745,12 @@ func (o ManagedZoneForwardingConfigPtrOutput) ToManagedZoneForwardingConfigPtrOu return o } +func (o ManagedZoneForwardingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneForwardingConfig] { + return pulumix.Output[*ManagedZoneForwardingConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigPtrOutput) Elem() ManagedZoneForwardingConfigOutput { return o.ApplyT(func(v *ManagedZoneForwardingConfig) ManagedZoneForwardingConfig { if v != nil { @@ -1564,6 +1823,12 @@ func (i ManagedZoneForwardingConfigNameServerTargetArgs) ToManagedZoneForwarding return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneForwardingConfigNameServerTargetOutput) } +func (i ManagedZoneForwardingConfigNameServerTargetArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfigNameServerTarget] { + return pulumix.Output[ManagedZoneForwardingConfigNameServerTarget]{ + OutputState: i.ToManagedZoneForwardingConfigNameServerTargetOutputWithContext(ctx).OutputState, + } +} + // ManagedZoneForwardingConfigNameServerTargetArrayInput is an input type that accepts ManagedZoneForwardingConfigNameServerTargetArray and ManagedZoneForwardingConfigNameServerTargetArrayOutput values. // You can construct a concrete instance of `ManagedZoneForwardingConfigNameServerTargetArrayInput` via: // @@ -1589,6 +1854,12 @@ func (i ManagedZoneForwardingConfigNameServerTargetArray) ToManagedZoneForwardin return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneForwardingConfigNameServerTargetArrayOutput) } +func (i ManagedZoneForwardingConfigNameServerTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZoneForwardingConfigNameServerTarget] { + return pulumix.Output[[]ManagedZoneForwardingConfigNameServerTarget]{ + OutputState: i.ToManagedZoneForwardingConfigNameServerTargetArrayOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneForwardingConfigNameServerTargetOutput struct{ *pulumi.OutputState } func (ManagedZoneForwardingConfigNameServerTargetOutput) ElementType() reflect.Type { @@ -1603,6 +1874,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetOutput) ToManagedZoneForwardi return o } +func (o ManagedZoneForwardingConfigNameServerTargetOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfigNameServerTarget] { + return pulumix.Output[ManagedZoneForwardingConfigNameServerTarget]{ + OutputState: o.OutputState, + } +} + // Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. func (o ManagedZoneForwardingConfigNameServerTargetOutput) ForwardingPath() ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput { return o.ApplyT(func(v ManagedZoneForwardingConfigNameServerTarget) *ManagedZoneForwardingConfigNameServerTargetForwardingPath { @@ -1638,6 +1915,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetArrayOutput) ToManagedZoneFor return o } +func (o ManagedZoneForwardingConfigNameServerTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZoneForwardingConfigNameServerTarget] { + return pulumix.Output[[]ManagedZoneForwardingConfigNameServerTarget]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigNameServerTargetArrayOutput) Index(i pulumi.IntInput) ManagedZoneForwardingConfigNameServerTargetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZoneForwardingConfigNameServerTarget { return vs[0].([]ManagedZoneForwardingConfigNameServerTarget)[vs[1].(int)] @@ -1668,6 +1951,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetResponseOutput) ToManagedZone return o } +func (o ManagedZoneForwardingConfigNameServerTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfigNameServerTargetResponse] { + return pulumix.Output[ManagedZoneForwardingConfigNameServerTargetResponse]{ + OutputState: o.OutputState, + } +} + // Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. func (o ManagedZoneForwardingConfigNameServerTargetResponseOutput) ForwardingPath() pulumi.StringOutput { return o.ApplyT(func(v ManagedZoneForwardingConfigNameServerTargetResponse) string { return v.ForwardingPath }).(pulumi.StringOutput) @@ -1701,6 +1990,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetResponseArrayOutput) ToManage return o } +func (o ManagedZoneForwardingConfigNameServerTargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZoneForwardingConfigNameServerTargetResponse] { + return pulumix.Output[[]ManagedZoneForwardingConfigNameServerTargetResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigNameServerTargetResponseArrayOutput) Index(i pulumi.IntInput) ManagedZoneForwardingConfigNameServerTargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZoneForwardingConfigNameServerTargetResponse { return vs[0].([]ManagedZoneForwardingConfigNameServerTargetResponse)[vs[1].(int)] @@ -1727,6 +2022,12 @@ func (o ManagedZoneForwardingConfigResponseOutput) ToManagedZoneForwardingConfig return o } +func (o ManagedZoneForwardingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfigResponse] { + return pulumix.Output[ManagedZoneForwardingConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ManagedZoneForwardingConfigResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -1773,6 +2074,12 @@ func (i ManagedZonePeeringConfigArgs) ToManagedZonePeeringConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePeeringConfigOutput) } +func (i ManagedZonePeeringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfig] { + return pulumix.Output[ManagedZonePeeringConfig]{ + OutputState: i.ToManagedZonePeeringConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZonePeeringConfigArgs) ToManagedZonePeeringConfigPtrOutput() ManagedZonePeeringConfigPtrOutput { return i.ToManagedZonePeeringConfigPtrOutputWithContext(context.Background()) } @@ -1814,6 +2121,12 @@ func (i *managedZonePeeringConfigPtrType) ToManagedZonePeeringConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePeeringConfigPtrOutput) } +func (i *managedZonePeeringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePeeringConfig] { + return pulumix.Output[*ManagedZonePeeringConfig]{ + OutputState: i.ToManagedZonePeeringConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZonePeeringConfigOutput struct{ *pulumi.OutputState } func (ManagedZonePeeringConfigOutput) ElementType() reflect.Type { @@ -1838,6 +2151,12 @@ func (o ManagedZonePeeringConfigOutput) ToManagedZonePeeringConfigPtrOutputWithC }).(ManagedZonePeeringConfigPtrOutput) } +func (o ManagedZonePeeringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfig] { + return pulumix.Output[ManagedZonePeeringConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePeeringConfigOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZonePeeringConfig) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -1861,6 +2180,12 @@ func (o ManagedZonePeeringConfigPtrOutput) ToManagedZonePeeringConfigPtrOutputWi return o } +func (o ManagedZonePeeringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePeeringConfig] { + return pulumix.Output[*ManagedZonePeeringConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePeeringConfigPtrOutput) Elem() ManagedZonePeeringConfigOutput { return o.ApplyT(func(v *ManagedZonePeeringConfig) ManagedZonePeeringConfig { if v != nil { @@ -1910,6 +2235,12 @@ func (o ManagedZonePeeringConfigResponseOutput) ToManagedZonePeeringConfigRespon return o } +func (o ManagedZonePeeringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfigResponse] { + return pulumix.Output[ManagedZonePeeringConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePeeringConfigResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ManagedZonePeeringConfigResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -1960,6 +2291,12 @@ func (i ManagedZonePeeringConfigTargetNetworkArgs) ToManagedZonePeeringConfigTar return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePeeringConfigTargetNetworkOutput) } +func (i ManagedZonePeeringConfigTargetNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfigTargetNetwork] { + return pulumix.Output[ManagedZonePeeringConfigTargetNetwork]{ + OutputState: i.ToManagedZonePeeringConfigTargetNetworkOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZonePeeringConfigTargetNetworkArgs) ToManagedZonePeeringConfigTargetNetworkPtrOutput() ManagedZonePeeringConfigTargetNetworkPtrOutput { return i.ToManagedZonePeeringConfigTargetNetworkPtrOutputWithContext(context.Background()) } @@ -2001,6 +2338,12 @@ func (i *managedZonePeeringConfigTargetNetworkPtrType) ToManagedZonePeeringConfi return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePeeringConfigTargetNetworkPtrOutput) } +func (i *managedZonePeeringConfigTargetNetworkPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePeeringConfigTargetNetwork] { + return pulumix.Output[*ManagedZonePeeringConfigTargetNetwork]{ + OutputState: i.ToManagedZonePeeringConfigTargetNetworkPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZonePeeringConfigTargetNetworkOutput struct{ *pulumi.OutputState } func (ManagedZonePeeringConfigTargetNetworkOutput) ElementType() reflect.Type { @@ -2025,6 +2368,12 @@ func (o ManagedZonePeeringConfigTargetNetworkOutput) ToManagedZonePeeringConfigT }).(ManagedZonePeeringConfigTargetNetworkPtrOutput) } +func (o ManagedZonePeeringConfigTargetNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfigTargetNetwork] { + return pulumix.Output[ManagedZonePeeringConfigTargetNetwork]{ + OutputState: o.OutputState, + } +} + // The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. func (o ManagedZonePeeringConfigTargetNetworkOutput) DeactivateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZonePeeringConfigTargetNetwork) *string { return v.DeactivateTime }).(pulumi.StringPtrOutput) @@ -2053,6 +2402,12 @@ func (o ManagedZonePeeringConfigTargetNetworkPtrOutput) ToManagedZonePeeringConf return o } +func (o ManagedZonePeeringConfigTargetNetworkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePeeringConfigTargetNetwork] { + return pulumix.Output[*ManagedZonePeeringConfigTargetNetwork]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePeeringConfigTargetNetworkPtrOutput) Elem() ManagedZonePeeringConfigTargetNetworkOutput { return o.ApplyT(func(v *ManagedZonePeeringConfigTargetNetwork) ManagedZonePeeringConfigTargetNetwork { if v != nil { @@ -2114,6 +2469,12 @@ func (o ManagedZonePeeringConfigTargetNetworkResponseOutput) ToManagedZonePeerin return o } +func (o ManagedZonePeeringConfigTargetNetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfigTargetNetworkResponse] { + return pulumix.Output[ManagedZonePeeringConfigTargetNetworkResponse]{ + OutputState: o.OutputState, + } +} + // The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. func (o ManagedZonePeeringConfigTargetNetworkResponseOutput) DeactivateTime() pulumi.StringOutput { return o.ApplyT(func(v ManagedZonePeeringConfigTargetNetworkResponse) string { return v.DeactivateTime }).(pulumi.StringOutput) @@ -2167,6 +2528,12 @@ func (i ManagedZonePrivateVisibilityConfigArgs) ToManagedZonePrivateVisibilityCo return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigOutput) } +func (i ManagedZonePrivateVisibilityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfig] { + return pulumix.Output[ManagedZonePrivateVisibilityConfig]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZonePrivateVisibilityConfigArgs) ToManagedZonePrivateVisibilityConfigPtrOutput() ManagedZonePrivateVisibilityConfigPtrOutput { return i.ToManagedZonePrivateVisibilityConfigPtrOutputWithContext(context.Background()) } @@ -2208,6 +2575,12 @@ func (i *managedZonePrivateVisibilityConfigPtrType) ToManagedZonePrivateVisibili return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigPtrOutput) } +func (i *managedZonePrivateVisibilityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePrivateVisibilityConfig] { + return pulumix.Output[*ManagedZonePrivateVisibilityConfig]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZonePrivateVisibilityConfigOutput struct{ *pulumi.OutputState } func (ManagedZonePrivateVisibilityConfigOutput) ElementType() reflect.Type { @@ -2232,6 +2605,12 @@ func (o ManagedZonePrivateVisibilityConfigOutput) ToManagedZonePrivateVisibility }).(ManagedZonePrivateVisibilityConfigPtrOutput) } +func (o ManagedZonePrivateVisibilityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfig] { + return pulumix.Output[ManagedZonePrivateVisibilityConfig]{ + OutputState: o.OutputState, + } +} + // The list of Google Kubernetes Engine clusters that can see this zone. func (o ManagedZonePrivateVisibilityConfigOutput) GkeClusters() ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfig) []ManagedZonePrivateVisibilityConfigGKECluster { @@ -2264,6 +2643,12 @@ func (o ManagedZonePrivateVisibilityConfigPtrOutput) ToManagedZonePrivateVisibil return o } +func (o ManagedZonePrivateVisibilityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePrivateVisibilityConfig] { + return pulumix.Output[*ManagedZonePrivateVisibilityConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigPtrOutput) Elem() ManagedZonePrivateVisibilityConfigOutput { return o.ApplyT(func(v *ManagedZonePrivateVisibilityConfig) ManagedZonePrivateVisibilityConfig { if v != nil { @@ -2338,6 +2723,12 @@ func (i ManagedZonePrivateVisibilityConfigGKEClusterArgs) ToManagedZonePrivateVi return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigGKEClusterOutput) } +func (i ManagedZonePrivateVisibilityConfigGKEClusterArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigGKECluster] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigGKECluster]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigGKEClusterOutputWithContext(ctx).OutputState, + } +} + // ManagedZonePrivateVisibilityConfigGKEClusterArrayInput is an input type that accepts ManagedZonePrivateVisibilityConfigGKEClusterArray and ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput values. // You can construct a concrete instance of `ManagedZonePrivateVisibilityConfigGKEClusterArrayInput` via: // @@ -2363,6 +2754,12 @@ func (i ManagedZonePrivateVisibilityConfigGKEClusterArray) ToManagedZonePrivateV return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput) } +func (i ManagedZonePrivateVisibilityConfigGKEClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKECluster] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKECluster]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigGKEClusterArrayOutputWithContext(ctx).OutputState, + } +} + type ManagedZonePrivateVisibilityConfigGKEClusterOutput struct{ *pulumi.OutputState } func (ManagedZonePrivateVisibilityConfigGKEClusterOutput) ElementType() reflect.Type { @@ -2377,6 +2774,12 @@ func (o ManagedZonePrivateVisibilityConfigGKEClusterOutput) ToManagedZonePrivate return o } +func (o ManagedZonePrivateVisibilityConfigGKEClusterOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigGKECluster] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigGKECluster]{ + OutputState: o.OutputState, + } +} + // The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get func (o ManagedZonePrivateVisibilityConfigGKEClusterOutput) GkeClusterName() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfigGKECluster) *string { return v.GkeClusterName }).(pulumi.StringPtrOutput) @@ -2400,6 +2803,12 @@ func (o ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput) ToManagedZonePr return o } +func (o ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKECluster] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKECluster]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput) Index(i pulumi.IntInput) ManagedZonePrivateVisibilityConfigGKEClusterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZonePrivateVisibilityConfigGKECluster { return vs[0].([]ManagedZonePrivateVisibilityConfigGKECluster)[vs[1].(int)] @@ -2426,6 +2835,12 @@ func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseOutput) ToManagedZon return o } +func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigGKEClusterResponse] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigGKEClusterResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseOutput) GkeClusterName() pulumi.StringOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfigGKEClusterResponse) string { return v.GkeClusterName }).(pulumi.StringOutput) @@ -2449,6 +2864,12 @@ func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseArrayOutput) ToManag return o } +func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKEClusterResponse] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKEClusterResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseArrayOutput) Index(i pulumi.IntInput) ManagedZonePrivateVisibilityConfigGKEClusterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZonePrivateVisibilityConfigGKEClusterResponse { return vs[0].([]ManagedZonePrivateVisibilityConfigGKEClusterResponse)[vs[1].(int)] @@ -2490,6 +2911,12 @@ func (i ManagedZonePrivateVisibilityConfigNetworkArgs) ToManagedZonePrivateVisib return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigNetworkOutput) } +func (i ManagedZonePrivateVisibilityConfigNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigNetwork] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigNetwork]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigNetworkOutputWithContext(ctx).OutputState, + } +} + // ManagedZonePrivateVisibilityConfigNetworkArrayInput is an input type that accepts ManagedZonePrivateVisibilityConfigNetworkArray and ManagedZonePrivateVisibilityConfigNetworkArrayOutput values. // You can construct a concrete instance of `ManagedZonePrivateVisibilityConfigNetworkArrayInput` via: // @@ -2515,6 +2942,12 @@ func (i ManagedZonePrivateVisibilityConfigNetworkArray) ToManagedZonePrivateVisi return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigNetworkArrayOutput) } +func (i ManagedZonePrivateVisibilityConfigNetworkArray) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetwork] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetwork]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigNetworkArrayOutputWithContext(ctx).OutputState, + } +} + type ManagedZonePrivateVisibilityConfigNetworkOutput struct{ *pulumi.OutputState } func (ManagedZonePrivateVisibilityConfigNetworkOutput) ElementType() reflect.Type { @@ -2529,6 +2962,12 @@ func (o ManagedZonePrivateVisibilityConfigNetworkOutput) ToManagedZonePrivateVis return o } +func (o ManagedZonePrivateVisibilityConfigNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigNetwork] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigNetwork]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigNetworkOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfigNetwork) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -2552,6 +2991,12 @@ func (o ManagedZonePrivateVisibilityConfigNetworkArrayOutput) ToManagedZonePriva return o } +func (o ManagedZonePrivateVisibilityConfigNetworkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetwork] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetwork]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigNetworkArrayOutput) Index(i pulumi.IntInput) ManagedZonePrivateVisibilityConfigNetworkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZonePrivateVisibilityConfigNetwork { return vs[0].([]ManagedZonePrivateVisibilityConfigNetwork)[vs[1].(int)] @@ -2578,6 +3023,12 @@ func (o ManagedZonePrivateVisibilityConfigNetworkResponseOutput) ToManagedZonePr return o } +func (o ManagedZonePrivateVisibilityConfigNetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigNetworkResponse] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigNetworkResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfigNetworkResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -2601,6 +3052,12 @@ func (o ManagedZonePrivateVisibilityConfigNetworkResponseArrayOutput) ToManagedZ return o } +func (o ManagedZonePrivateVisibilityConfigNetworkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetworkResponse] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigNetworkResponseArrayOutput) Index(i pulumi.IntInput) ManagedZonePrivateVisibilityConfigNetworkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZonePrivateVisibilityConfigNetworkResponse { return vs[0].([]ManagedZonePrivateVisibilityConfigNetworkResponse)[vs[1].(int)] @@ -2629,6 +3086,12 @@ func (o ManagedZonePrivateVisibilityConfigResponseOutput) ToManagedZonePrivateVi return o } +func (o ManagedZonePrivateVisibilityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigResponse] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigResponse]{ + OutputState: o.OutputState, + } +} + // The list of Google Kubernetes Engine clusters that can see this zone. func (o ManagedZonePrivateVisibilityConfigResponseOutput) GkeClusters() ManagedZonePrivateVisibilityConfigGKEClusterResponseArrayOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfigResponse) []ManagedZonePrivateVisibilityConfigGKEClusterResponse { @@ -2678,6 +3141,12 @@ func (i ManagedZoneReverseLookupConfigArgs) ToManagedZoneReverseLookupConfigOutp return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneReverseLookupConfigOutput) } +func (i ManagedZoneReverseLookupConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneReverseLookupConfig] { + return pulumix.Output[ManagedZoneReverseLookupConfig]{ + OutputState: i.ToManagedZoneReverseLookupConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneReverseLookupConfigArgs) ToManagedZoneReverseLookupConfigPtrOutput() ManagedZoneReverseLookupConfigPtrOutput { return i.ToManagedZoneReverseLookupConfigPtrOutputWithContext(context.Background()) } @@ -2719,6 +3188,12 @@ func (i *managedZoneReverseLookupConfigPtrType) ToManagedZoneReverseLookupConfig return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneReverseLookupConfigPtrOutput) } +func (i *managedZoneReverseLookupConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneReverseLookupConfig] { + return pulumix.Output[*ManagedZoneReverseLookupConfig]{ + OutputState: i.ToManagedZoneReverseLookupConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneReverseLookupConfigOutput struct{ *pulumi.OutputState } func (ManagedZoneReverseLookupConfigOutput) ElementType() reflect.Type { @@ -2743,6 +3218,12 @@ func (o ManagedZoneReverseLookupConfigOutput) ToManagedZoneReverseLookupConfigPt }).(ManagedZoneReverseLookupConfigPtrOutput) } +func (o ManagedZoneReverseLookupConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneReverseLookupConfig] { + return pulumix.Output[ManagedZoneReverseLookupConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneReverseLookupConfigOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZoneReverseLookupConfig) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -2761,6 +3242,12 @@ func (o ManagedZoneReverseLookupConfigPtrOutput) ToManagedZoneReverseLookupConfi return o } +func (o ManagedZoneReverseLookupConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneReverseLookupConfig] { + return pulumix.Output[*ManagedZoneReverseLookupConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneReverseLookupConfigPtrOutput) Elem() ManagedZoneReverseLookupConfigOutput { return o.ApplyT(func(v *ManagedZoneReverseLookupConfig) ManagedZoneReverseLookupConfig { if v != nil { @@ -2798,6 +3285,12 @@ func (o ManagedZoneReverseLookupConfigResponseOutput) ToManagedZoneReverseLookup return o } +func (o ManagedZoneReverseLookupConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneReverseLookupConfigResponse] { + return pulumix.Output[ManagedZoneReverseLookupConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneReverseLookupConfigResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ManagedZoneReverseLookupConfigResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -2839,6 +3332,12 @@ func (i ManagedZoneServiceDirectoryConfigArgs) ToManagedZoneServiceDirectoryConf return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneServiceDirectoryConfigOutput) } +func (i ManagedZoneServiceDirectoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfig] { + return pulumix.Output[ManagedZoneServiceDirectoryConfig]{ + OutputState: i.ToManagedZoneServiceDirectoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneServiceDirectoryConfigArgs) ToManagedZoneServiceDirectoryConfigPtrOutput() ManagedZoneServiceDirectoryConfigPtrOutput { return i.ToManagedZoneServiceDirectoryConfigPtrOutputWithContext(context.Background()) } @@ -2880,6 +3379,12 @@ func (i *managedZoneServiceDirectoryConfigPtrType) ToManagedZoneServiceDirectory return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneServiceDirectoryConfigPtrOutput) } +func (i *managedZoneServiceDirectoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneServiceDirectoryConfig] { + return pulumix.Output[*ManagedZoneServiceDirectoryConfig]{ + OutputState: i.ToManagedZoneServiceDirectoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information about Service Directory-backed zones. type ManagedZoneServiceDirectoryConfigOutput struct{ *pulumi.OutputState } @@ -2905,6 +3410,12 @@ func (o ManagedZoneServiceDirectoryConfigOutput) ToManagedZoneServiceDirectoryCo }).(ManagedZoneServiceDirectoryConfigPtrOutput) } +func (o ManagedZoneServiceDirectoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfig] { + return pulumix.Output[ManagedZoneServiceDirectoryConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneServiceDirectoryConfigOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZoneServiceDirectoryConfig) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -2930,6 +3441,12 @@ func (o ManagedZoneServiceDirectoryConfigPtrOutput) ToManagedZoneServiceDirector return o } +func (o ManagedZoneServiceDirectoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneServiceDirectoryConfig] { + return pulumix.Output[*ManagedZoneServiceDirectoryConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneServiceDirectoryConfigPtrOutput) Elem() ManagedZoneServiceDirectoryConfigOutput { return o.ApplyT(func(v *ManagedZoneServiceDirectoryConfig) ManagedZoneServiceDirectoryConfig { if v != nil { @@ -2998,6 +3515,12 @@ func (i ManagedZoneServiceDirectoryConfigNamespaceArgs) ToManagedZoneServiceDire return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneServiceDirectoryConfigNamespaceOutput) } +func (i ManagedZoneServiceDirectoryConfigNamespaceArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfigNamespace] { + return pulumix.Output[ManagedZoneServiceDirectoryConfigNamespace]{ + OutputState: i.ToManagedZoneServiceDirectoryConfigNamespaceOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneServiceDirectoryConfigNamespaceArgs) ToManagedZoneServiceDirectoryConfigNamespacePtrOutput() ManagedZoneServiceDirectoryConfigNamespacePtrOutput { return i.ToManagedZoneServiceDirectoryConfigNamespacePtrOutputWithContext(context.Background()) } @@ -3039,6 +3562,12 @@ func (i *managedZoneServiceDirectoryConfigNamespacePtrType) ToManagedZoneService return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneServiceDirectoryConfigNamespacePtrOutput) } +func (i *managedZoneServiceDirectoryConfigNamespacePtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneServiceDirectoryConfigNamespace] { + return pulumix.Output[*ManagedZoneServiceDirectoryConfigNamespace]{ + OutputState: i.ToManagedZoneServiceDirectoryConfigNamespacePtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneServiceDirectoryConfigNamespaceOutput struct{ *pulumi.OutputState } func (ManagedZoneServiceDirectoryConfigNamespaceOutput) ElementType() reflect.Type { @@ -3063,6 +3592,12 @@ func (o ManagedZoneServiceDirectoryConfigNamespaceOutput) ToManagedZoneServiceDi }).(ManagedZoneServiceDirectoryConfigNamespacePtrOutput) } +func (o ManagedZoneServiceDirectoryConfigNamespaceOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfigNamespace] { + return pulumix.Output[ManagedZoneServiceDirectoryConfigNamespace]{ + OutputState: o.OutputState, + } +} + // The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. func (o ManagedZoneServiceDirectoryConfigNamespaceOutput) DeletionTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZoneServiceDirectoryConfigNamespace) *string { return v.DeletionTime }).(pulumi.StringPtrOutput) @@ -3091,6 +3626,12 @@ func (o ManagedZoneServiceDirectoryConfigNamespacePtrOutput) ToManagedZoneServic return o } +func (o ManagedZoneServiceDirectoryConfigNamespacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneServiceDirectoryConfigNamespace] { + return pulumix.Output[*ManagedZoneServiceDirectoryConfigNamespace]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneServiceDirectoryConfigNamespacePtrOutput) Elem() ManagedZoneServiceDirectoryConfigNamespaceOutput { return o.ApplyT(func(v *ManagedZoneServiceDirectoryConfigNamespace) ManagedZoneServiceDirectoryConfigNamespace { if v != nil { @@ -3152,6 +3693,12 @@ func (o ManagedZoneServiceDirectoryConfigNamespaceResponseOutput) ToManagedZoneS return o } +func (o ManagedZoneServiceDirectoryConfigNamespaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfigNamespaceResponse] { + return pulumix.Output[ManagedZoneServiceDirectoryConfigNamespaceResponse]{ + OutputState: o.OutputState, + } +} + // The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. func (o ManagedZoneServiceDirectoryConfigNamespaceResponseOutput) DeletionTime() pulumi.StringOutput { return o.ApplyT(func(v ManagedZoneServiceDirectoryConfigNamespaceResponse) string { return v.DeletionTime }).(pulumi.StringOutput) @@ -3188,6 +3735,12 @@ func (o ManagedZoneServiceDirectoryConfigResponseOutput) ToManagedZoneServiceDir return o } +func (o ManagedZoneServiceDirectoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfigResponse] { + return pulumix.Output[ManagedZoneServiceDirectoryConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneServiceDirectoryConfigResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ManagedZoneServiceDirectoryConfigResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -3234,6 +3787,12 @@ func (i PolicyAlternativeNameServerConfigArgs) ToPolicyAlternativeNameServerConf return pulumi.ToOutputWithContext(ctx, i).(PolicyAlternativeNameServerConfigOutput) } +func (i PolicyAlternativeNameServerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfig] { + return pulumix.Output[PolicyAlternativeNameServerConfig]{ + OutputState: i.ToPolicyAlternativeNameServerConfigOutputWithContext(ctx).OutputState, + } +} + func (i PolicyAlternativeNameServerConfigArgs) ToPolicyAlternativeNameServerConfigPtrOutput() PolicyAlternativeNameServerConfigPtrOutput { return i.ToPolicyAlternativeNameServerConfigPtrOutputWithContext(context.Background()) } @@ -3275,6 +3834,12 @@ func (i *policyAlternativeNameServerConfigPtrType) ToPolicyAlternativeNameServer return pulumi.ToOutputWithContext(ctx, i).(PolicyAlternativeNameServerConfigPtrOutput) } +func (i *policyAlternativeNameServerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PolicyAlternativeNameServerConfig] { + return pulumix.Output[*PolicyAlternativeNameServerConfig]{ + OutputState: i.ToPolicyAlternativeNameServerConfigPtrOutputWithContext(ctx).OutputState, + } +} + type PolicyAlternativeNameServerConfigOutput struct{ *pulumi.OutputState } func (PolicyAlternativeNameServerConfigOutput) ElementType() reflect.Type { @@ -3299,6 +3864,12 @@ func (o PolicyAlternativeNameServerConfigOutput) ToPolicyAlternativeNameServerCo }).(PolicyAlternativeNameServerConfigPtrOutput) } +func (o PolicyAlternativeNameServerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfig] { + return pulumix.Output[PolicyAlternativeNameServerConfig]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v PolicyAlternativeNameServerConfig) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -3324,6 +3895,12 @@ func (o PolicyAlternativeNameServerConfigPtrOutput) ToPolicyAlternativeNameServe return o } +func (o PolicyAlternativeNameServerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyAlternativeNameServerConfig] { + return pulumix.Output[*PolicyAlternativeNameServerConfig]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigPtrOutput) Elem() PolicyAlternativeNameServerConfigOutput { return o.ApplyT(func(v *PolicyAlternativeNameServerConfig) PolicyAlternativeNameServerConfig { if v != nil { @@ -3373,6 +3950,12 @@ func (o PolicyAlternativeNameServerConfigResponseOutput) ToPolicyAlternativeName return o } +func (o PolicyAlternativeNameServerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfigResponse] { + return pulumix.Output[PolicyAlternativeNameServerConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v PolicyAlternativeNameServerConfigResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -3427,6 +4010,12 @@ func (i PolicyAlternativeNameServerConfigTargetNameServerArgs) ToPolicyAlternati return pulumi.ToOutputWithContext(ctx, i).(PolicyAlternativeNameServerConfigTargetNameServerOutput) } +func (i PolicyAlternativeNameServerConfigTargetNameServerArgs) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServer] { + return pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServer]{ + OutputState: i.ToPolicyAlternativeNameServerConfigTargetNameServerOutputWithContext(ctx).OutputState, + } +} + // PolicyAlternativeNameServerConfigTargetNameServerArrayInput is an input type that accepts PolicyAlternativeNameServerConfigTargetNameServerArray and PolicyAlternativeNameServerConfigTargetNameServerArrayOutput values. // You can construct a concrete instance of `PolicyAlternativeNameServerConfigTargetNameServerArrayInput` via: // @@ -3452,6 +4041,12 @@ func (i PolicyAlternativeNameServerConfigTargetNameServerArray) ToPolicyAlternat return pulumi.ToOutputWithContext(ctx, i).(PolicyAlternativeNameServerConfigTargetNameServerArrayOutput) } +func (i PolicyAlternativeNameServerConfigTargetNameServerArray) ToOutput(ctx context.Context) pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServer] { + return pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServer]{ + OutputState: i.ToPolicyAlternativeNameServerConfigTargetNameServerArrayOutputWithContext(ctx).OutputState, + } +} + type PolicyAlternativeNameServerConfigTargetNameServerOutput struct{ *pulumi.OutputState } func (PolicyAlternativeNameServerConfigTargetNameServerOutput) ElementType() reflect.Type { @@ -3466,6 +4061,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerOutput) ToPolicyAlterna return o } +func (o PolicyAlternativeNameServerConfigTargetNameServerOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServer] { + return pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServer]{ + OutputState: o.OutputState, + } +} + // Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. func (o PolicyAlternativeNameServerConfigTargetNameServerOutput) ForwardingPath() PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput { return o.ApplyT(func(v PolicyAlternativeNameServerConfigTargetNameServer) *PolicyAlternativeNameServerConfigTargetNameServerForwardingPath { @@ -3501,6 +4102,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerArrayOutput) ToPolicyAl return o } +func (o PolicyAlternativeNameServerConfigTargetNameServerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServer] { + return pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServer]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigTargetNameServerArrayOutput) Index(i pulumi.IntInput) PolicyAlternativeNameServerConfigTargetNameServerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PolicyAlternativeNameServerConfigTargetNameServer { return vs[0].([]PolicyAlternativeNameServerConfigTargetNameServer)[vs[1].(int)] @@ -3531,6 +4138,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerResponseOutput) ToPolic return o } +func (o PolicyAlternativeNameServerConfigTargetNameServerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServerResponse] { + return pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServerResponse]{ + OutputState: o.OutputState, + } +} + // Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. func (o PolicyAlternativeNameServerConfigTargetNameServerResponseOutput) ForwardingPath() pulumi.StringOutput { return o.ApplyT(func(v PolicyAlternativeNameServerConfigTargetNameServerResponse) string { return v.ForwardingPath }).(pulumi.StringOutput) @@ -3564,6 +4177,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerResponseArrayOutput) To return o } +func (o PolicyAlternativeNameServerConfigTargetNameServerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServerResponse] { + return pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServerResponse]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigTargetNameServerResponseArrayOutput) Index(i pulumi.IntInput) PolicyAlternativeNameServerConfigTargetNameServerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PolicyAlternativeNameServerConfigTargetNameServerResponse { return vs[0].([]PolicyAlternativeNameServerConfigTargetNameServerResponse)[vs[1].(int)] @@ -3605,6 +4224,12 @@ func (i PolicyNetworkArgs) ToPolicyNetworkOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PolicyNetworkOutput) } +func (i PolicyNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[PolicyNetwork] { + return pulumix.Output[PolicyNetwork]{ + OutputState: i.ToPolicyNetworkOutputWithContext(ctx).OutputState, + } +} + // PolicyNetworkArrayInput is an input type that accepts PolicyNetworkArray and PolicyNetworkArrayOutput values. // You can construct a concrete instance of `PolicyNetworkArrayInput` via: // @@ -3630,6 +4255,12 @@ func (i PolicyNetworkArray) ToPolicyNetworkArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(PolicyNetworkArrayOutput) } +func (i PolicyNetworkArray) ToOutput(ctx context.Context) pulumix.Output[[]PolicyNetwork] { + return pulumix.Output[[]PolicyNetwork]{ + OutputState: i.ToPolicyNetworkArrayOutputWithContext(ctx).OutputState, + } +} + type PolicyNetworkOutput struct{ *pulumi.OutputState } func (PolicyNetworkOutput) ElementType() reflect.Type { @@ -3644,6 +4275,12 @@ func (o PolicyNetworkOutput) ToPolicyNetworkOutputWithContext(ctx context.Contex return o } +func (o PolicyNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyNetwork] { + return pulumix.Output[PolicyNetwork]{ + OutputState: o.OutputState, + } +} + func (o PolicyNetworkOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v PolicyNetwork) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -3667,6 +4304,12 @@ func (o PolicyNetworkArrayOutput) ToPolicyNetworkArrayOutputWithContext(ctx cont return o } +func (o PolicyNetworkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PolicyNetwork] { + return pulumix.Output[[]PolicyNetwork]{ + OutputState: o.OutputState, + } +} + func (o PolicyNetworkArrayOutput) Index(i pulumi.IntInput) PolicyNetworkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PolicyNetwork { return vs[0].([]PolicyNetwork)[vs[1].(int)] @@ -3693,6 +4336,12 @@ func (o PolicyNetworkResponseOutput) ToPolicyNetworkResponseOutputWithContext(ct return o } +func (o PolicyNetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyNetworkResponse] { + return pulumix.Output[PolicyNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o PolicyNetworkResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v PolicyNetworkResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -3716,6 +4365,12 @@ func (o PolicyNetworkResponseArrayOutput) ToPolicyNetworkResponseArrayOutputWith return o } +func (o PolicyNetworkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PolicyNetworkResponse] { + return pulumix.Output[[]PolicyNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o PolicyNetworkResponseArrayOutput) Index(i pulumi.IntInput) PolicyNetworkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PolicyNetworkResponse { return vs[0].([]PolicyNetworkResponse)[vs[1].(int)] @@ -3761,6 +4416,12 @@ func (i RRSetRoutingPolicyArgs) ToRRSetRoutingPolicyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyOutput) } +func (i RRSetRoutingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicy] { + return pulumix.Output[RRSetRoutingPolicy]{ + OutputState: i.ToRRSetRoutingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RRSetRoutingPolicyArgs) ToRRSetRoutingPolicyPtrOutput() RRSetRoutingPolicyPtrOutput { return i.ToRRSetRoutingPolicyPtrOutputWithContext(context.Background()) } @@ -3802,6 +4463,12 @@ func (i *rrsetRoutingPolicyPtrType) ToRRSetRoutingPolicyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyPtrOutput) } +func (i *rrsetRoutingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicy] { + return pulumix.Output[*RRSetRoutingPolicy]{ + OutputState: i.ToRRSetRoutingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. type RRSetRoutingPolicyOutput struct{ *pulumi.OutputState } @@ -3827,6 +4494,12 @@ func (o RRSetRoutingPolicyOutput) ToRRSetRoutingPolicyPtrOutputWithContext(ctx c }).(RRSetRoutingPolicyPtrOutput) } +func (o RRSetRoutingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicy] { + return pulumix.Output[RRSetRoutingPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyOutput) Geo() RRSetRoutingPolicyGeoPolicyPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicy) *RRSetRoutingPolicyGeoPolicy { return v.Geo }).(RRSetRoutingPolicyGeoPolicyPtrOutput) } @@ -3857,6 +4530,12 @@ func (o RRSetRoutingPolicyPtrOutput) ToRRSetRoutingPolicyPtrOutputWithContext(ct return o } +func (o RRSetRoutingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicy] { + return pulumix.Output[*RRSetRoutingPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyPtrOutput) Elem() RRSetRoutingPolicyOutput { return o.ApplyT(func(v *RRSetRoutingPolicy) RRSetRoutingPolicy { if v != nil { @@ -3944,6 +4623,12 @@ func (i RRSetRoutingPolicyGeoPolicyArgs) ToRRSetRoutingPolicyGeoPolicyOutputWith return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyGeoPolicyOutput) } +func (i RRSetRoutingPolicyGeoPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicy] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicy]{ + OutputState: i.ToRRSetRoutingPolicyGeoPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RRSetRoutingPolicyGeoPolicyArgs) ToRRSetRoutingPolicyGeoPolicyPtrOutput() RRSetRoutingPolicyGeoPolicyPtrOutput { return i.ToRRSetRoutingPolicyGeoPolicyPtrOutputWithContext(context.Background()) } @@ -3985,6 +4670,12 @@ func (i *rrsetRoutingPolicyGeoPolicyPtrType) ToRRSetRoutingPolicyGeoPolicyPtrOut return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyGeoPolicyPtrOutput) } +func (i *rrsetRoutingPolicyGeoPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyGeoPolicy] { + return pulumix.Output[*RRSetRoutingPolicyGeoPolicy]{ + OutputState: i.ToRRSetRoutingPolicyGeoPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user. type RRSetRoutingPolicyGeoPolicyOutput struct{ *pulumi.OutputState } @@ -4010,6 +4701,12 @@ func (o RRSetRoutingPolicyGeoPolicyOutput) ToRRSetRoutingPolicyGeoPolicyPtrOutpu }).(RRSetRoutingPolicyGeoPolicyPtrOutput) } +func (o RRSetRoutingPolicyGeoPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicy] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicy]{ + OutputState: o.OutputState, + } +} + // Without fencing, if health check fails for all configured items in the current geo bucket, we'll failover to the next nearest geo bucket. With fencing, if health check is enabled, as long as some targets in the current geo bucket are healthy, we'll return only the healthy targets. However, if they're all unhealthy, we won't failover to the next nearest bucket, we'll simply return all the items in the current bucket even though they're unhealthy. func (o RRSetRoutingPolicyGeoPolicyOutput) EnableFencing() pulumi.BoolPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicyGeoPolicy) *bool { return v.EnableFencing }).(pulumi.BoolPtrOutput) @@ -4038,6 +4735,12 @@ func (o RRSetRoutingPolicyGeoPolicyPtrOutput) ToRRSetRoutingPolicyGeoPolicyPtrOu return o } +func (o RRSetRoutingPolicyGeoPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyGeoPolicy] { + return pulumix.Output[*RRSetRoutingPolicyGeoPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyGeoPolicyPtrOutput) Elem() RRSetRoutingPolicyGeoPolicyOutput { return o.ApplyT(func(v *RRSetRoutingPolicyGeoPolicy) RRSetRoutingPolicyGeoPolicy { if v != nil { @@ -4124,6 +4827,12 @@ func (i RRSetRoutingPolicyGeoPolicyGeoPolicyItemArgs) ToRRSetRoutingPolicyGeoPol return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput) } +func (i RRSetRoutingPolicyGeoPolicyGeoPolicyItemArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItem] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItem]{ + OutputState: i.ToRRSetRoutingPolicyGeoPolicyGeoPolicyItemOutputWithContext(ctx).OutputState, + } +} + // RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayInput is an input type that accepts RRSetRoutingPolicyGeoPolicyGeoPolicyItemArray and RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutput values. // You can construct a concrete instance of `RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayInput` via: // @@ -4149,6 +4858,12 @@ func (i RRSetRoutingPolicyGeoPolicyGeoPolicyItemArray) ToRRSetRoutingPolicyGeoPo return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutput) } +func (i RRSetRoutingPolicyGeoPolicyGeoPolicyItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItem] { + return pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItem]{ + OutputState: i.ToRRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutputWithContext(ctx).OutputState, + } +} + // ResourceRecordSet data for one geo location. type RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput struct{ *pulumi.OutputState } @@ -4164,6 +4879,12 @@ func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput) ToRRSetRoutingPolicyGeoP return o } +func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItem] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItem]{ + OutputState: o.OutputState, + } +} + // For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with rrdata within this item. func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput) HealthCheckedTargets() RRSetRoutingPolicyHealthCheckTargetsPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicyGeoPolicyGeoPolicyItem) *RRSetRoutingPolicyHealthCheckTargets { @@ -4203,6 +4924,12 @@ func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutput) ToRRSetRoutingPolic return o } +func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItem] { + return pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItem]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyGeoPolicyGeoPolicyItem { return vs[0].([]RRSetRoutingPolicyGeoPolicyGeoPolicyItem)[vs[1].(int)] @@ -4236,6 +4963,12 @@ func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseOutput) ToRRSetRoutingPo return o } +func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse]{ + OutputState: o.OutputState, + } +} + // For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with rrdata within this item. func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseOutput) HealthCheckedTargets() RRSetRoutingPolicyHealthCheckTargetsResponseOutput { return o.ApplyT(func(v RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse) RRSetRoutingPolicyHealthCheckTargetsResponse { @@ -4275,6 +5008,12 @@ func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseArrayOutput) ToRRSetRout return o } +func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse] { + return pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse { return vs[0].([]RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse)[vs[1].(int)] @@ -4305,6 +5044,12 @@ func (o RRSetRoutingPolicyGeoPolicyResponseOutput) ToRRSetRoutingPolicyGeoPolicy return o } +func (o RRSetRoutingPolicyGeoPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicyResponse] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Without fencing, if health check fails for all configured items in the current geo bucket, we'll failover to the next nearest geo bucket. With fencing, if health check is enabled, as long as some targets in the current geo bucket are healthy, we'll return only the healthy targets. However, if they're all unhealthy, we won't failover to the next nearest bucket, we'll simply return all the items in the current bucket even though they're unhealthy. func (o RRSetRoutingPolicyGeoPolicyResponseOutput) EnableFencing() pulumi.BoolOutput { return o.ApplyT(func(v RRSetRoutingPolicyGeoPolicyResponse) bool { return v.EnableFencing }).(pulumi.BoolOutput) @@ -4354,6 +5099,12 @@ func (i RRSetRoutingPolicyHealthCheckTargetsArgs) ToRRSetRoutingPolicyHealthChec return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyHealthCheckTargetsOutput) } +func (i RRSetRoutingPolicyHealthCheckTargetsArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyHealthCheckTargets] { + return pulumix.Output[RRSetRoutingPolicyHealthCheckTargets]{ + OutputState: i.ToRRSetRoutingPolicyHealthCheckTargetsOutputWithContext(ctx).OutputState, + } +} + func (i RRSetRoutingPolicyHealthCheckTargetsArgs) ToRRSetRoutingPolicyHealthCheckTargetsPtrOutput() RRSetRoutingPolicyHealthCheckTargetsPtrOutput { return i.ToRRSetRoutingPolicyHealthCheckTargetsPtrOutputWithContext(context.Background()) } @@ -4395,6 +5146,12 @@ func (i *rrsetRoutingPolicyHealthCheckTargetsPtrType) ToRRSetRoutingPolicyHealth return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyHealthCheckTargetsPtrOutput) } +func (i *rrsetRoutingPolicyHealthCheckTargetsPtrType) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyHealthCheckTargets] { + return pulumix.Output[*RRSetRoutingPolicyHealthCheckTargets]{ + OutputState: i.ToRRSetRoutingPolicyHealthCheckTargetsPtrOutputWithContext(ctx).OutputState, + } +} + // HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. type RRSetRoutingPolicyHealthCheckTargetsOutput struct{ *pulumi.OutputState } @@ -4420,6 +5177,12 @@ func (o RRSetRoutingPolicyHealthCheckTargetsOutput) ToRRSetRoutingPolicyHealthCh }).(RRSetRoutingPolicyHealthCheckTargetsPtrOutput) } +func (o RRSetRoutingPolicyHealthCheckTargetsOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyHealthCheckTargets] { + return pulumix.Output[RRSetRoutingPolicyHealthCheckTargets]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyHealthCheckTargetsOutput) InternalLoadBalancers() RRSetRoutingPolicyLoadBalancerTargetArrayOutput { return o.ApplyT(func(v RRSetRoutingPolicyHealthCheckTargets) []RRSetRoutingPolicyLoadBalancerTarget { return v.InternalLoadBalancers @@ -4440,6 +5203,12 @@ func (o RRSetRoutingPolicyHealthCheckTargetsPtrOutput) ToRRSetRoutingPolicyHealt return o } +func (o RRSetRoutingPolicyHealthCheckTargetsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyHealthCheckTargets] { + return pulumix.Output[*RRSetRoutingPolicyHealthCheckTargets]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyHealthCheckTargetsPtrOutput) Elem() RRSetRoutingPolicyHealthCheckTargetsOutput { return o.ApplyT(func(v *RRSetRoutingPolicyHealthCheckTargets) RRSetRoutingPolicyHealthCheckTargets { if v != nil { @@ -4479,6 +5248,12 @@ func (o RRSetRoutingPolicyHealthCheckTargetsResponseOutput) ToRRSetRoutingPolicy return o } +func (o RRSetRoutingPolicyHealthCheckTargetsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyHealthCheckTargetsResponse] { + return pulumix.Output[RRSetRoutingPolicyHealthCheckTargetsResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyHealthCheckTargetsResponseOutput) InternalLoadBalancers() RRSetRoutingPolicyLoadBalancerTargetResponseArrayOutput { return o.ApplyT(func(v RRSetRoutingPolicyHealthCheckTargetsResponse) []RRSetRoutingPolicyLoadBalancerTargetResponse { return v.InternalLoadBalancers @@ -4542,6 +5317,12 @@ func (i RRSetRoutingPolicyLoadBalancerTargetArgs) ToRRSetRoutingPolicyLoadBalanc return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyLoadBalancerTargetOutput) } +func (i RRSetRoutingPolicyLoadBalancerTargetArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyLoadBalancerTarget] { + return pulumix.Output[RRSetRoutingPolicyLoadBalancerTarget]{ + OutputState: i.ToRRSetRoutingPolicyLoadBalancerTargetOutputWithContext(ctx).OutputState, + } +} + // RRSetRoutingPolicyLoadBalancerTargetArrayInput is an input type that accepts RRSetRoutingPolicyLoadBalancerTargetArray and RRSetRoutingPolicyLoadBalancerTargetArrayOutput values. // You can construct a concrete instance of `RRSetRoutingPolicyLoadBalancerTargetArrayInput` via: // @@ -4567,6 +5348,12 @@ func (i RRSetRoutingPolicyLoadBalancerTargetArray) ToRRSetRoutingPolicyLoadBalan return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyLoadBalancerTargetArrayOutput) } +func (i RRSetRoutingPolicyLoadBalancerTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTarget] { + return pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTarget]{ + OutputState: i.ToRRSetRoutingPolicyLoadBalancerTargetArrayOutputWithContext(ctx).OutputState, + } +} + type RRSetRoutingPolicyLoadBalancerTargetOutput struct{ *pulumi.OutputState } func (RRSetRoutingPolicyLoadBalancerTargetOutput) ElementType() reflect.Type { @@ -4581,6 +5368,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetOutput) ToRRSetRoutingPolicyLoadBala return o } +func (o RRSetRoutingPolicyLoadBalancerTargetOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyLoadBalancerTarget] { + return pulumix.Output[RRSetRoutingPolicyLoadBalancerTarget]{ + OutputState: o.OutputState, + } +} + // The frontend IP address of the Load Balancer to health check. func (o RRSetRoutingPolicyLoadBalancerTargetOutput) IpAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicyLoadBalancerTarget) *string { return v.IpAddress }).(pulumi.StringPtrOutput) @@ -4637,6 +5430,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetArrayOutput) ToRRSetRoutingPolicyLoa return o } +func (o RRSetRoutingPolicyLoadBalancerTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTarget] { + return pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTarget]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyLoadBalancerTargetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyLoadBalancerTarget { return vs[0].([]RRSetRoutingPolicyLoadBalancerTarget)[vs[1].(int)] @@ -4674,6 +5473,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetResponseOutput) ToRRSetRoutingPolicy return o } +func (o RRSetRoutingPolicyLoadBalancerTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetResponse] { + return pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetResponse]{ + OutputState: o.OutputState, + } +} + // The frontend IP address of the Load Balancer to health check. func (o RRSetRoutingPolicyLoadBalancerTargetResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v RRSetRoutingPolicyLoadBalancerTargetResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -4726,6 +5531,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetResponseArrayOutput) ToRRSetRoutingP return o } +func (o RRSetRoutingPolicyLoadBalancerTargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTargetResponse] { + return pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTargetResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetResponseArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyLoadBalancerTargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyLoadBalancerTargetResponse { return vs[0].([]RRSetRoutingPolicyLoadBalancerTargetResponse)[vs[1].(int)] @@ -4775,6 +5586,12 @@ func (i RRSetRoutingPolicyPrimaryBackupPolicyArgs) ToRRSetRoutingPolicyPrimaryBa return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyPrimaryBackupPolicyOutput) } +func (i RRSetRoutingPolicyPrimaryBackupPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicy] { + return pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicy]{ + OutputState: i.ToRRSetRoutingPolicyPrimaryBackupPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RRSetRoutingPolicyPrimaryBackupPolicyArgs) ToRRSetRoutingPolicyPrimaryBackupPolicyPtrOutput() RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput { return i.ToRRSetRoutingPolicyPrimaryBackupPolicyPtrOutputWithContext(context.Background()) } @@ -4816,6 +5633,12 @@ func (i *rrsetRoutingPolicyPrimaryBackupPolicyPtrType) ToRRSetRoutingPolicyPrima return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput) } +func (i *rrsetRoutingPolicyPrimaryBackupPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyPrimaryBackupPolicy] { + return pulumix.Output[*RRSetRoutingPolicyPrimaryBackupPolicy]{ + OutputState: i.ToRRSetRoutingPolicyPrimaryBackupPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy. type RRSetRoutingPolicyPrimaryBackupPolicyOutput struct{ *pulumi.OutputState } @@ -4841,6 +5664,12 @@ func (o RRSetRoutingPolicyPrimaryBackupPolicyOutput) ToRRSetRoutingPolicyPrimary }).(RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput) } +func (o RRSetRoutingPolicyPrimaryBackupPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicy] { + return pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicy]{ + OutputState: o.OutputState, + } +} + // Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to BACKUP, this policy essentially becomes a geo routing policy. func (o RRSetRoutingPolicyPrimaryBackupPolicyOutput) BackupGeoTargets() RRSetRoutingPolicyGeoPolicyPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicyPrimaryBackupPolicy) *RRSetRoutingPolicyGeoPolicy { return v.BackupGeoTargets }).(RRSetRoutingPolicyGeoPolicyPtrOutput) @@ -4875,6 +5704,12 @@ func (o RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput) ToRRSetRoutingPolicyPrim return o } +func (o RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyPrimaryBackupPolicy] { + return pulumix.Output[*RRSetRoutingPolicyPrimaryBackupPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput) Elem() RRSetRoutingPolicyPrimaryBackupPolicyOutput { return o.ApplyT(func(v *RRSetRoutingPolicyPrimaryBackupPolicy) RRSetRoutingPolicyPrimaryBackupPolicy { if v != nil { @@ -4948,6 +5783,12 @@ func (o RRSetRoutingPolicyPrimaryBackupPolicyResponseOutput) ToRRSetRoutingPolic return o } +func (o RRSetRoutingPolicyPrimaryBackupPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicyResponse] { + return pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to BACKUP, this policy essentially becomes a geo routing policy. func (o RRSetRoutingPolicyPrimaryBackupPolicyResponseOutput) BackupGeoTargets() RRSetRoutingPolicyGeoPolicyResponseOutput { return o.ApplyT(func(v RRSetRoutingPolicyPrimaryBackupPolicyResponse) RRSetRoutingPolicyGeoPolicyResponse { @@ -4993,6 +5834,12 @@ func (o RRSetRoutingPolicyResponseOutput) ToRRSetRoutingPolicyResponseOutputWith return o } +func (o RRSetRoutingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyResponse] { + return pulumix.Output[RRSetRoutingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyResponseOutput) Geo() RRSetRoutingPolicyGeoPolicyResponseOutput { return o.ApplyT(func(v RRSetRoutingPolicyResponse) RRSetRoutingPolicyGeoPolicyResponse { return v.Geo }).(RRSetRoutingPolicyGeoPolicyResponseOutput) } @@ -5046,6 +5893,12 @@ func (i RRSetRoutingPolicyWrrPolicyArgs) ToRRSetRoutingPolicyWrrPolicyOutputWith return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyWrrPolicyOutput) } +func (i RRSetRoutingPolicyWrrPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicy] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicy]{ + OutputState: i.ToRRSetRoutingPolicyWrrPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RRSetRoutingPolicyWrrPolicyArgs) ToRRSetRoutingPolicyWrrPolicyPtrOutput() RRSetRoutingPolicyWrrPolicyPtrOutput { return i.ToRRSetRoutingPolicyWrrPolicyPtrOutputWithContext(context.Background()) } @@ -5087,6 +5940,12 @@ func (i *rrsetRoutingPolicyWrrPolicyPtrType) ToRRSetRoutingPolicyWrrPolicyPtrOut return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyWrrPolicyPtrOutput) } +func (i *rrsetRoutingPolicyWrrPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyWrrPolicy] { + return pulumix.Output[*RRSetRoutingPolicyWrrPolicy]{ + OutputState: i.ToRRSetRoutingPolicyWrrPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion. type RRSetRoutingPolicyWrrPolicyOutput struct{ *pulumi.OutputState } @@ -5112,6 +5971,12 @@ func (o RRSetRoutingPolicyWrrPolicyOutput) ToRRSetRoutingPolicyWrrPolicyPtrOutpu }).(RRSetRoutingPolicyWrrPolicyPtrOutput) } +func (o RRSetRoutingPolicyWrrPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicy] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyWrrPolicyOutput) Items() RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput { return o.ApplyT(func(v RRSetRoutingPolicyWrrPolicy) []RRSetRoutingPolicyWrrPolicyWrrPolicyItem { return v.Items }).(RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput) } @@ -5134,6 +5999,12 @@ func (o RRSetRoutingPolicyWrrPolicyPtrOutput) ToRRSetRoutingPolicyWrrPolicyPtrOu return o } +func (o RRSetRoutingPolicyWrrPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyWrrPolicy] { + return pulumix.Output[*RRSetRoutingPolicyWrrPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyWrrPolicyPtrOutput) Elem() RRSetRoutingPolicyWrrPolicyOutput { return o.ApplyT(func(v *RRSetRoutingPolicyWrrPolicy) RRSetRoutingPolicyWrrPolicy { if v != nil { @@ -5183,6 +6054,12 @@ func (o RRSetRoutingPolicyWrrPolicyResponseOutput) ToRRSetRoutingPolicyWrrPolicy return o } +func (o RRSetRoutingPolicyWrrPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicyResponse] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyWrrPolicyResponseOutput) Items() RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseArrayOutput { return o.ApplyT(func(v RRSetRoutingPolicyWrrPolicyResponse) []RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse { return v.Items @@ -5240,6 +6117,12 @@ func (i RRSetRoutingPolicyWrrPolicyWrrPolicyItemArgs) ToRRSetRoutingPolicyWrrPol return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput) } +func (i RRSetRoutingPolicyWrrPolicyWrrPolicyItemArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItem] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItem]{ + OutputState: i.ToRRSetRoutingPolicyWrrPolicyWrrPolicyItemOutputWithContext(ctx).OutputState, + } +} + // RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayInput is an input type that accepts RRSetRoutingPolicyWrrPolicyWrrPolicyItemArray and RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput values. // You can construct a concrete instance of `RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayInput` via: // @@ -5265,6 +6148,12 @@ func (i RRSetRoutingPolicyWrrPolicyWrrPolicyItemArray) ToRRSetRoutingPolicyWrrPo return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput) } +func (i RRSetRoutingPolicyWrrPolicyWrrPolicyItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItem] { + return pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItem]{ + OutputState: i.ToRRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutputWithContext(ctx).OutputState, + } +} + // A routing block which contains the routing information for one WRR item. type RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput struct{ *pulumi.OutputState } @@ -5280,6 +6169,12 @@ func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput) ToRRSetRoutingPolicyWrrP return o } +func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItem] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItem]{ + OutputState: o.OutputState, + } +} + // endpoints that need to be health checked before making the routing decision. The unhealthy endpoints will be omitted from the result. If all endpoints within a buckete are unhealthy, we'll choose a different bucket (sampled w.r.t. its weight) for responding. Note that if DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set. func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput) HealthCheckedTargets() RRSetRoutingPolicyHealthCheckTargetsPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicyWrrPolicyWrrPolicyItem) *RRSetRoutingPolicyHealthCheckTargets { @@ -5319,6 +6214,12 @@ func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput) ToRRSetRoutingPolic return o } +func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItem] { + return pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItem]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyWrrPolicyWrrPolicyItem { return vs[0].([]RRSetRoutingPolicyWrrPolicyWrrPolicyItem)[vs[1].(int)] @@ -5352,6 +6253,12 @@ func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseOutput) ToRRSetRoutingPo return o } +func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse]{ + OutputState: o.OutputState, + } +} + // endpoints that need to be health checked before making the routing decision. The unhealthy endpoints will be omitted from the result. If all endpoints within a buckete are unhealthy, we'll choose a different bucket (sampled w.r.t. its weight) for responding. Note that if DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set. func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseOutput) HealthCheckedTargets() RRSetRoutingPolicyHealthCheckTargetsResponseOutput { return o.ApplyT(func(v RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse) RRSetRoutingPolicyHealthCheckTargetsResponse { @@ -5391,6 +6298,12 @@ func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseArrayOutput) ToRRSetRout return o } +func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse] { + return pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse { return vs[0].([]RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse)[vs[1].(int)] @@ -5454,6 +6367,12 @@ func (i ResourceRecordSetTypeArgs) ToResourceRecordSetTypeOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourceRecordSetTypeOutput) } +func (i ResourceRecordSetTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceRecordSetType] { + return pulumix.Output[ResourceRecordSetType]{ + OutputState: i.ToResourceRecordSetTypeOutputWithContext(ctx).OutputState, + } +} + // ResourceRecordSetTypeArrayInput is an input type that accepts ResourceRecordSetTypeArray and ResourceRecordSetTypeArrayOutput values. // You can construct a concrete instance of `ResourceRecordSetTypeArrayInput` via: // @@ -5479,6 +6398,12 @@ func (i ResourceRecordSetTypeArray) ToResourceRecordSetTypeArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ResourceRecordSetTypeArrayOutput) } +func (i ResourceRecordSetTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourceRecordSetType] { + return pulumix.Output[[]ResourceRecordSetType]{ + OutputState: i.ToResourceRecordSetTypeArrayOutputWithContext(ctx).OutputState, + } +} + // A unit of data that is returned by the DNS servers. type ResourceRecordSetTypeOutput struct{ *pulumi.OutputState } @@ -5494,6 +6419,12 @@ func (o ResourceRecordSetTypeOutput) ToResourceRecordSetTypeOutputWithContext(ct return o } +func (o ResourceRecordSetTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceRecordSetType] { + return pulumix.Output[ResourceRecordSetType]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordSetTypeOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceRecordSetType) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -5542,6 +6473,12 @@ func (o ResourceRecordSetTypeArrayOutput) ToResourceRecordSetTypeArrayOutputWith return o } +func (o ResourceRecordSetTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceRecordSetType] { + return pulumix.Output[[]ResourceRecordSetType]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordSetTypeArrayOutput) Index(i pulumi.IntInput) ResourceRecordSetTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceRecordSetType { return vs[0].([]ResourceRecordSetType)[vs[1].(int)] @@ -5580,6 +6517,12 @@ func (o ResourceRecordSetResponseOutput) ToResourceRecordSetResponseOutputWithCo return o } +func (o ResourceRecordSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceRecordSetResponse] { + return pulumix.Output[ResourceRecordSetResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordSetResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ResourceRecordSetResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -5628,6 +6571,12 @@ func (o ResourceRecordSetResponseArrayOutput) ToResourceRecordSetResponseArrayOu return o } +func (o ResourceRecordSetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceRecordSetResponse] { + return pulumix.Output[[]ResourceRecordSetResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordSetResponseArrayOutput) Index(i pulumi.IntInput) ResourceRecordSetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceRecordSetResponse { return vs[0].([]ResourceRecordSetResponse)[vs[1].(int)] @@ -5660,6 +6609,12 @@ func (o ResponsePolicyGKEClusterResponseOutput) ToResponsePolicyGKEClusterRespon return o } +func (o ResponsePolicyGKEClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyGKEClusterResponse] { + return pulumix.Output[ResponsePolicyGKEClusterResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get func (o ResponsePolicyGKEClusterResponseOutput) GkeClusterName() pulumi.StringOutput { return o.ApplyT(func(v ResponsePolicyGKEClusterResponse) string { return v.GkeClusterName }).(pulumi.StringOutput) @@ -5683,6 +6638,12 @@ func (o ResponsePolicyGKEClusterResponseArrayOutput) ToResponsePolicyGKEClusterR return o } +func (o ResponsePolicyGKEClusterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResponsePolicyGKEClusterResponse] { + return pulumix.Output[[]ResponsePolicyGKEClusterResponse]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyGKEClusterResponseArrayOutput) Index(i pulumi.IntInput) ResponsePolicyGKEClusterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponsePolicyGKEClusterResponse { return vs[0].([]ResponsePolicyGKEClusterResponse)[vs[1].(int)] @@ -5715,6 +6676,12 @@ func (o ResponsePolicyNetworkResponseOutput) ToResponsePolicyNetworkResponseOutp return o } +func (o ResponsePolicyNetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyNetworkResponse] { + return pulumix.Output[ResponsePolicyNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyNetworkResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ResponsePolicyNetworkResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -5738,6 +6705,12 @@ func (o ResponsePolicyNetworkResponseArrayOutput) ToResponsePolicyNetworkRespons return o } +func (o ResponsePolicyNetworkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResponsePolicyNetworkResponse] { + return pulumix.Output[[]ResponsePolicyNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyNetworkResponseArrayOutput) Index(i pulumi.IntInput) ResponsePolicyNetworkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponsePolicyNetworkResponse { return vs[0].([]ResponsePolicyNetworkResponse)[vs[1].(int)] @@ -5768,6 +6741,12 @@ func (o ResponsePolicyRuleLocalDataResponseOutput) ToResponsePolicyRuleLocalData return o } +func (o ResponsePolicyRuleLocalDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyRuleLocalDataResponse] { + return pulumix.Output[ResponsePolicyRuleLocalDataResponse]{ + OutputState: o.OutputState, + } +} + // All resource record sets for this selector, one per resource record type. The name must match the dns_name. func (o ResponsePolicyRuleLocalDataResponseOutput) LocalDatas() ResourceRecordSetResponseArrayOutput { return o.ApplyT(func(v ResponsePolicyRuleLocalDataResponse) []ResourceRecordSetResponse { return v.LocalDatas }).(ResourceRecordSetResponseArrayOutput) diff --git a/sdk/go/google/dns/v1/resourceRecordSet.go b/sdk/go/google/dns/v1/resourceRecordSet.go index aa9e4f9524..8a1966e2ea 100644 --- a/sdk/go/google/dns/v1/resourceRecordSet.go +++ b/sdk/go/google/dns/v1/resourceRecordSet.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ResourceRecordSet. @@ -146,6 +147,12 @@ func (i *ResourceRecordSet) ToResourceRecordSetOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ResourceRecordSetOutput) } +func (i *ResourceRecordSet) ToOutput(ctx context.Context) pulumix.Output[*ResourceRecordSet] { + return pulumix.Output[*ResourceRecordSet]{ + OutputState: i.ToResourceRecordSetOutputWithContext(ctx).OutputState, + } +} + type ResourceRecordSetOutput struct{ *pulumi.OutputState } func (ResourceRecordSetOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o ResourceRecordSetOutput) ToResourceRecordSetOutputWithContext(ctx contex return o } +func (o ResourceRecordSetOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceRecordSet] { + return pulumix.Output[*ResourceRecordSet]{ + OutputState: o.OutputState, + } +} + // For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. func (o ResourceRecordSetOutput) ClientOperationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *ResourceRecordSet) pulumi.StringPtrOutput { return v.ClientOperationId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/dns/v1beta2/change.go b/sdk/go/google/dns/v1beta2/change.go index 0f0cb79eb3..5c865ca169 100644 --- a/sdk/go/google/dns/v1beta2/change.go +++ b/sdk/go/google/dns/v1beta2/change.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Atomically updates the ResourceRecordSet collection. @@ -135,6 +136,12 @@ func (i *Change) ToChangeOutputWithContext(ctx context.Context) ChangeOutput { return pulumi.ToOutputWithContext(ctx, i).(ChangeOutput) } +func (i *Change) ToOutput(ctx context.Context) pulumix.Output[*Change] { + return pulumix.Output[*Change]{ + OutputState: i.ToChangeOutputWithContext(ctx).OutputState, + } +} + type ChangeOutput struct{ *pulumi.OutputState } func (ChangeOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ChangeOutput) ToChangeOutputWithContext(ctx context.Context) ChangeOutpu return o } +func (o ChangeOutput) ToOutput(ctx context.Context) pulumix.Output[*Change] { + return pulumix.Output[*Change]{ + OutputState: o.OutputState, + } +} + // Which ResourceRecordSets to add? func (o ChangeOutput) Additions() ResourceRecordSetResponseArrayOutput { return o.ApplyT(func(v *Change) ResourceRecordSetResponseArrayOutput { return v.Additions }).(ResourceRecordSetResponseArrayOutput) diff --git a/sdk/go/google/dns/v1beta2/getChange.go b/sdk/go/google/dns/v1beta2/getChange.go index a970edc16e..c4038e7854 100644 --- a/sdk/go/google/dns/v1beta2/getChange.go +++ b/sdk/go/google/dns/v1beta2/getChange.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing Change. @@ -81,6 +82,12 @@ func (o LookupChangeResultOutput) ToLookupChangeResultOutputWithContext(ctx cont return o } +func (o LookupChangeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupChangeResult] { + return pulumix.Output[LookupChangeResult]{ + OutputState: o.OutputState, + } +} + // Which ResourceRecordSets to add? func (o LookupChangeResultOutput) Additions() ResourceRecordSetResponseArrayOutput { return o.ApplyT(func(v LookupChangeResult) []ResourceRecordSetResponse { return v.Additions }).(ResourceRecordSetResponseArrayOutput) diff --git a/sdk/go/google/dns/v1beta2/getManagedZone.go b/sdk/go/google/dns/v1beta2/getManagedZone.go index 78d4b64728..3f5226390e 100644 --- a/sdk/go/google/dns/v1beta2/getManagedZone.go +++ b/sdk/go/google/dns/v1beta2/getManagedZone.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing ManagedZone. @@ -98,6 +99,12 @@ func (o LookupManagedZoneResultOutput) ToLookupManagedZoneResultOutputWithContex return o } +func (o LookupManagedZoneResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupManagedZoneResult] { + return pulumix.Output[LookupManagedZoneResult]{ + OutputState: o.OutputState, + } +} + func (o LookupManagedZoneResultOutput) CloudLoggingConfig() ManagedZoneCloudLoggingConfigResponseOutput { return o.ApplyT(func(v LookupManagedZoneResult) ManagedZoneCloudLoggingConfigResponse { return v.CloudLoggingConfig }).(ManagedZoneCloudLoggingConfigResponseOutput) } diff --git a/sdk/go/google/dns/v1beta2/getManagedZoneIamPolicy.go b/sdk/go/google/dns/v1beta2/getManagedZoneIamPolicy.go index 7eae1b96b8..c862795083 100644 --- a/sdk/go/google/dns/v1beta2/getManagedZoneIamPolicy.go +++ b/sdk/go/google/dns/v1beta2/getManagedZoneIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupManagedZoneIamPolicyResultOutput) ToLookupManagedZoneIamPolicyResu return o } +func (o LookupManagedZoneIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupManagedZoneIamPolicyResult] { + return pulumix.Output[LookupManagedZoneIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupManagedZoneIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupManagedZoneIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dns/v1beta2/getPolicy.go b/sdk/go/google/dns/v1beta2/getPolicy.go index a68f9d184a..cebbd2d2cf 100644 --- a/sdk/go/google/dns/v1beta2/getPolicy.go +++ b/sdk/go/google/dns/v1beta2/getPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing Policy. @@ -81,6 +82,12 @@ func (o LookupPolicyResultOutput) ToLookupPolicyResultOutputWithContext(ctx cont return o } +func (o LookupPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPolicyResult] { + return pulumix.Output[LookupPolicyResult]{ + OutputState: o.OutputState, + } +} + // Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified. func (o LookupPolicyResultOutput) AlternativeNameServerConfig() PolicyAlternativeNameServerConfigResponseOutput { return o.ApplyT(func(v LookupPolicyResult) PolicyAlternativeNameServerConfigResponse { diff --git a/sdk/go/google/dns/v1beta2/getResourceRecordSet.go b/sdk/go/google/dns/v1beta2/getResourceRecordSet.go index 7a653618d9..2f7d475db4 100644 --- a/sdk/go/google/dns/v1beta2/getResourceRecordSet.go +++ b/sdk/go/google/dns/v1beta2/getResourceRecordSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing ResourceRecordSet. @@ -85,6 +86,12 @@ func (o LookupResourceRecordSetResultOutput) ToLookupResourceRecordSetResultOutp return o } +func (o LookupResourceRecordSetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResourceRecordSetResult] { + return pulumix.Output[LookupResourceRecordSetResult]{ + OutputState: o.OutputState, + } +} + func (o LookupResourceRecordSetResultOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v LookupResourceRecordSetResult) string { return v.Kind }).(pulumi.StringOutput) } diff --git a/sdk/go/google/dns/v1beta2/getResponsePolicy.go b/sdk/go/google/dns/v1beta2/getResponsePolicy.go index 089509e272..011c3af012 100644 --- a/sdk/go/google/dns/v1beta2/getResponsePolicy.go +++ b/sdk/go/google/dns/v1beta2/getResponsePolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing Response Policy. @@ -79,6 +80,12 @@ func (o LookupResponsePolicyResultOutput) ToLookupResponsePolicyResultOutputWith return o } +func (o LookupResponsePolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResponsePolicyResult] { + return pulumix.Output[LookupResponsePolicyResult]{ + OutputState: o.OutputState, + } +} + // User-provided description for this Response Policy. func (o LookupResponsePolicyResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupResponsePolicyResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/dns/v1beta2/getResponsePolicyRule.go b/sdk/go/google/dns/v1beta2/getResponsePolicyRule.go index 46384e1896..de34b54efe 100644 --- a/sdk/go/google/dns/v1beta2/getResponsePolicyRule.go +++ b/sdk/go/google/dns/v1beta2/getResponsePolicyRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches the representation of an existing Response Policy Rule. @@ -79,6 +80,12 @@ func (o LookupResponsePolicyRuleResultOutput) ToLookupResponsePolicyRuleResultOu return o } +func (o LookupResponsePolicyRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupResponsePolicyRuleResult] { + return pulumix.Output[LookupResponsePolicyRuleResult]{ + OutputState: o.OutputState, + } +} + // Answer this query with a behavior rather than DNS data. func (o LookupResponsePolicyRuleResultOutput) Behavior() pulumi.StringOutput { return o.ApplyT(func(v LookupResponsePolicyRuleResult) string { return v.Behavior }).(pulumi.StringOutput) diff --git a/sdk/go/google/dns/v1beta2/managedZone.go b/sdk/go/google/dns/v1beta2/managedZone.go index 16d36a3f7c..b816b2fc39 100644 --- a/sdk/go/google/dns/v1beta2/managedZone.go +++ b/sdk/go/google/dns/v1beta2/managedZone.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ManagedZone. @@ -185,6 +186,12 @@ func (i *ManagedZone) ToManagedZoneOutputWithContext(ctx context.Context) Manage return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneOutput) } +func (i *ManagedZone) ToOutput(ctx context.Context) pulumix.Output[*ManagedZone] { + return pulumix.Output[*ManagedZone]{ + OutputState: i.ToManagedZoneOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneOutput struct{ *pulumi.OutputState } func (ManagedZoneOutput) ElementType() reflect.Type { @@ -199,6 +206,12 @@ func (o ManagedZoneOutput) ToManagedZoneOutputWithContext(ctx context.Context) M return o } +func (o ManagedZoneOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZone] { + return pulumix.Output[*ManagedZone]{ + OutputState: o.OutputState, + } +} + // For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. func (o ManagedZoneOutput) ClientOperationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *ManagedZone) pulumi.StringPtrOutput { return v.ClientOperationId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/dns/v1beta2/managedZoneIamBinding.go b/sdk/go/google/dns/v1beta2/managedZoneIamBinding.go index f14a2ad0fd..8171601827 100644 --- a/sdk/go/google/dns/v1beta2/managedZoneIamBinding.go +++ b/sdk/go/google/dns/v1beta2/managedZoneIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ManagedZoneIamBinding) ToManagedZoneIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneIamBindingOutput) } +func (i *ManagedZoneIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamBinding] { + return pulumix.Output[*ManagedZoneIamBinding]{ + OutputState: i.ToManagedZoneIamBindingOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneIamBindingOutput struct{ *pulumi.OutputState } func (ManagedZoneIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ManagedZoneIamBindingOutput) ToManagedZoneIamBindingOutputWithContext(ct return o } +func (o ManagedZoneIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamBinding] { + return pulumix.Output[*ManagedZoneIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ManagedZoneIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ManagedZoneIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dns/v1beta2/managedZoneIamMember.go b/sdk/go/google/dns/v1beta2/managedZoneIamMember.go index 8b1f9f2868..58c96360c3 100644 --- a/sdk/go/google/dns/v1beta2/managedZoneIamMember.go +++ b/sdk/go/google/dns/v1beta2/managedZoneIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ManagedZoneIamMember) ToManagedZoneIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneIamMemberOutput) } +func (i *ManagedZoneIamMember) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamMember] { + return pulumix.Output[*ManagedZoneIamMember]{ + OutputState: i.ToManagedZoneIamMemberOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneIamMemberOutput struct{ *pulumi.OutputState } func (ManagedZoneIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ManagedZoneIamMemberOutput) ToManagedZoneIamMemberOutputWithContext(ctx return o } +func (o ManagedZoneIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamMember] { + return pulumix.Output[*ManagedZoneIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ManagedZoneIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ManagedZoneIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/dns/v1beta2/managedZoneIamPolicy.go b/sdk/go/google/dns/v1beta2/managedZoneIamPolicy.go index 88465cf099..a97495b5f9 100644 --- a/sdk/go/google/dns/v1beta2/managedZoneIamPolicy.go +++ b/sdk/go/google/dns/v1beta2/managedZoneIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -131,6 +132,12 @@ func (i *ManagedZoneIamPolicy) ToManagedZoneIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneIamPolicyOutput) } +func (i *ManagedZoneIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamPolicy] { + return pulumix.Output[*ManagedZoneIamPolicy]{ + OutputState: i.ToManagedZoneIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneIamPolicyOutput struct{ *pulumi.OutputState } func (ManagedZoneIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ManagedZoneIamPolicyOutput) ToManagedZoneIamPolicyOutputWithContext(ctx return o } +func (o ManagedZoneIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneIamPolicy] { + return pulumix.Output[*ManagedZoneIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ManagedZoneIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ManagedZoneIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/dns/v1beta2/policy.go b/sdk/go/google/dns/v1beta2/policy.go index 170ffbc405..7a421692f9 100644 --- a/sdk/go/google/dns/v1beta2/policy.go +++ b/sdk/go/google/dns/v1beta2/policy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Policy. @@ -138,6 +139,12 @@ func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput { return pulumi.ToOutputWithContext(ctx, i).(PolicyOutput) } +func (i *Policy) ToOutput(ctx context.Context) pulumix.Output[*Policy] { + return pulumix.Output[*Policy]{ + OutputState: i.ToPolicyOutputWithContext(ctx).OutputState, + } +} + type PolicyOutput struct{ *pulumi.OutputState } func (PolicyOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutpu return o } +func (o PolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*Policy] { + return pulumix.Output[*Policy]{ + OutputState: o.OutputState, + } +} + // Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified. func (o PolicyOutput) AlternativeNameServerConfig() PolicyAlternativeNameServerConfigResponseOutput { return o.ApplyT(func(v *Policy) PolicyAlternativeNameServerConfigResponseOutput { return v.AlternativeNameServerConfig }).(PolicyAlternativeNameServerConfigResponseOutput) diff --git a/sdk/go/google/dns/v1beta2/pulumiEnums.go b/sdk/go/google/dns/v1beta2/pulumiEnums.go index 3b12098b54..a66a2619e4 100644 --- a/sdk/go/google/dns/v1beta2/pulumiEnums.go +++ b/sdk/go/google/dns/v1beta2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // String mnemonic specifying the DNSSEC algorithm of this key. @@ -81,6 +82,12 @@ func (o DnsKeySpecAlgorithmOutput) ToDnsKeySpecAlgorithmPtrOutputWithContext(ctx }).(DnsKeySpecAlgorithmPtrOutput) } +func (o DnsKeySpecAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[DnsKeySpecAlgorithm] { + return pulumix.Output[DnsKeySpecAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -116,6 +123,12 @@ func (o DnsKeySpecAlgorithmPtrOutput) ToDnsKeySpecAlgorithmPtrOutputWithContext( return o } +func (o DnsKeySpecAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DnsKeySpecAlgorithm] { + return pulumix.Output[*DnsKeySpecAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecAlgorithmPtrOutput) Elem() DnsKeySpecAlgorithmOutput { return o.ApplyT(func(v *DnsKeySpecAlgorithm) DnsKeySpecAlgorithm { if v != nil { @@ -178,6 +191,12 @@ func (in *dnsKeySpecAlgorithmPtr) ToDnsKeySpecAlgorithmPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(DnsKeySpecAlgorithmPtrOutput) } +func (in *dnsKeySpecAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*DnsKeySpecAlgorithm] { + return pulumix.Output[*DnsKeySpecAlgorithm]{ + OutputState: in.ToDnsKeySpecAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. type DnsKeySpecKeyType string @@ -246,6 +265,12 @@ func (o DnsKeySpecKeyTypeOutput) ToDnsKeySpecKeyTypePtrOutputWithContext(ctx con }).(DnsKeySpecKeyTypePtrOutput) } +func (o DnsKeySpecKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DnsKeySpecKeyType] { + return pulumix.Output[DnsKeySpecKeyType]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecKeyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -281,6 +306,12 @@ func (o DnsKeySpecKeyTypePtrOutput) ToDnsKeySpecKeyTypePtrOutputWithContext(ctx return o } +func (o DnsKeySpecKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DnsKeySpecKeyType] { + return pulumix.Output[*DnsKeySpecKeyType]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecKeyTypePtrOutput) Elem() DnsKeySpecKeyTypeOutput { return o.ApplyT(func(v *DnsKeySpecKeyType) DnsKeySpecKeyType { if v != nil { @@ -343,6 +374,12 @@ func (in *dnsKeySpecKeyTypePtr) ToDnsKeySpecKeyTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(DnsKeySpecKeyTypePtrOutput) } +func (in *dnsKeySpecKeyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DnsKeySpecKeyType] { + return pulumix.Output[*DnsKeySpecKeyType]{ + OutputState: in.ToDnsKeySpecKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -417,6 +454,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -452,6 +495,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -514,6 +563,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. type ManagedZoneDnsSecConfigNonExistence string @@ -582,6 +637,12 @@ func (o ManagedZoneDnsSecConfigNonExistenceOutput) ToManagedZoneDnsSecConfigNonE }).(ManagedZoneDnsSecConfigNonExistencePtrOutput) } +func (o ManagedZoneDnsSecConfigNonExistenceOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneDnsSecConfigNonExistence] { + return pulumix.Output[ManagedZoneDnsSecConfigNonExistence]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneDnsSecConfigNonExistenceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -617,6 +678,12 @@ func (o ManagedZoneDnsSecConfigNonExistencePtrOutput) ToManagedZoneDnsSecConfigN return o } +func (o ManagedZoneDnsSecConfigNonExistencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfigNonExistence] { + return pulumix.Output[*ManagedZoneDnsSecConfigNonExistence]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneDnsSecConfigNonExistencePtrOutput) Elem() ManagedZoneDnsSecConfigNonExistenceOutput { return o.ApplyT(func(v *ManagedZoneDnsSecConfigNonExistence) ManagedZoneDnsSecConfigNonExistence { if v != nil { @@ -679,6 +746,12 @@ func (in *managedZoneDnsSecConfigNonExistencePtr) ToManagedZoneDnsSecConfigNonEx return pulumi.ToOutputWithContext(ctx, in).(ManagedZoneDnsSecConfigNonExistencePtrOutput) } +func (in *managedZoneDnsSecConfigNonExistencePtr) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfigNonExistence] { + return pulumix.Output[*ManagedZoneDnsSecConfigNonExistence]{ + OutputState: in.ToManagedZoneDnsSecConfigNonExistencePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies whether DNSSEC is enabled, and what mode it is in. type ManagedZoneDnsSecConfigState string @@ -751,6 +824,12 @@ func (o ManagedZoneDnsSecConfigStateOutput) ToManagedZoneDnsSecConfigStatePtrOut }).(ManagedZoneDnsSecConfigStatePtrOutput) } +func (o ManagedZoneDnsSecConfigStateOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneDnsSecConfigState] { + return pulumix.Output[ManagedZoneDnsSecConfigState]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneDnsSecConfigStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -786,6 +865,12 @@ func (o ManagedZoneDnsSecConfigStatePtrOutput) ToManagedZoneDnsSecConfigStatePtr return o } +func (o ManagedZoneDnsSecConfigStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfigState] { + return pulumix.Output[*ManagedZoneDnsSecConfigState]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneDnsSecConfigStatePtrOutput) Elem() ManagedZoneDnsSecConfigStateOutput { return o.ApplyT(func(v *ManagedZoneDnsSecConfigState) ManagedZoneDnsSecConfigState { if v != nil { @@ -848,6 +933,12 @@ func (in *managedZoneDnsSecConfigStatePtr) ToManagedZoneDnsSecConfigStatePtrOutp return pulumi.ToOutputWithContext(ctx, in).(ManagedZoneDnsSecConfigStatePtrOutput) } +func (in *managedZoneDnsSecConfigStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfigState] { + return pulumix.Output[*ManagedZoneDnsSecConfigState]{ + OutputState: in.ToManagedZoneDnsSecConfigStatePtrOutputWithContext(ctx).OutputState, + } +} + // Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. type ManagedZoneForwardingConfigNameServerTargetForwardingPath string @@ -918,6 +1009,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathOutput) ToManag }).(ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput) } +func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfigNameServerTargetForwardingPath] { + return pulumix.Output[ManagedZoneForwardingConfigNameServerTargetForwardingPath]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -953,6 +1050,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput) ToMa return o } +func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneForwardingConfigNameServerTargetForwardingPath] { + return pulumix.Output[*ManagedZoneForwardingConfigNameServerTargetForwardingPath]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput) Elem() ManagedZoneForwardingConfigNameServerTargetForwardingPathOutput { return o.ApplyT(func(v *ManagedZoneForwardingConfigNameServerTargetForwardingPath) ManagedZoneForwardingConfigNameServerTargetForwardingPath { if v != nil { @@ -1015,6 +1118,12 @@ func (in *managedZoneForwardingConfigNameServerTargetForwardingPathPtr) ToManage return pulumi.ToOutputWithContext(ctx, in).(ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput) } +func (in *managedZoneForwardingConfigNameServerTargetForwardingPathPtr) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneForwardingConfigNameServerTargetForwardingPath] { + return pulumix.Output[*ManagedZoneForwardingConfigNameServerTargetForwardingPath]{ + OutputState: in.ToManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutputWithContext(ctx).OutputState, + } +} + // The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. type ManagedZoneVisibility string @@ -1083,6 +1192,12 @@ func (o ManagedZoneVisibilityOutput) ToManagedZoneVisibilityPtrOutputWithContext }).(ManagedZoneVisibilityPtrOutput) } +func (o ManagedZoneVisibilityOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneVisibility] { + return pulumix.Output[ManagedZoneVisibility]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneVisibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1118,6 +1233,12 @@ func (o ManagedZoneVisibilityPtrOutput) ToManagedZoneVisibilityPtrOutputWithCont return o } +func (o ManagedZoneVisibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneVisibility] { + return pulumix.Output[*ManagedZoneVisibility]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneVisibilityPtrOutput) Elem() ManagedZoneVisibilityOutput { return o.ApplyT(func(v *ManagedZoneVisibility) ManagedZoneVisibility { if v != nil { @@ -1180,6 +1301,12 @@ func (in *managedZoneVisibilityPtr) ToManagedZoneVisibilityPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ManagedZoneVisibilityPtrOutput) } +func (in *managedZoneVisibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneVisibility] { + return pulumix.Output[*ManagedZoneVisibility]{ + OutputState: in.ToManagedZoneVisibilityPtrOutputWithContext(ctx).OutputState, + } +} + // Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. type PolicyAlternativeNameServerConfigTargetNameServerForwardingPath string @@ -1250,6 +1377,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathOutput) T }).(PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput) } +func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServerForwardingPath] { + return pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServerForwardingPath]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1285,6 +1418,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput return o } +func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyAlternativeNameServerConfigTargetNameServerForwardingPath] { + return pulumix.Output[*PolicyAlternativeNameServerConfigTargetNameServerForwardingPath]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput) Elem() PolicyAlternativeNameServerConfigTargetNameServerForwardingPathOutput { return o.ApplyT(func(v *PolicyAlternativeNameServerConfigTargetNameServerForwardingPath) PolicyAlternativeNameServerConfigTargetNameServerForwardingPath { if v != nil { @@ -1347,6 +1486,12 @@ func (in *policyAlternativeNameServerConfigTargetNameServerForwardingPathPtr) To return pulumi.ToOutputWithContext(ctx, in).(PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput) } +func (in *policyAlternativeNameServerConfigTargetNameServerForwardingPathPtr) ToOutput(ctx context.Context) pulumix.Output[*PolicyAlternativeNameServerConfigTargetNameServerForwardingPath] { + return pulumix.Output[*PolicyAlternativeNameServerConfigTargetNameServerForwardingPath]{ + OutputState: in.ToPolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutputWithContext(ctx).OutputState, + } +} + type RRSetRoutingPolicyLoadBalancerTargetIpProtocol string const ( @@ -1415,6 +1560,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolOutput) ToRRSetRoutingPoli }).(RRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutput) } +func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetIpProtocol] { + return pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1450,6 +1601,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutput) ToRRSetRoutingP return o } +func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetIpProtocol] { + return pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetIpProtocol]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutput) Elem() RRSetRoutingPolicyLoadBalancerTargetIpProtocolOutput { return o.ApplyT(func(v *RRSetRoutingPolicyLoadBalancerTargetIpProtocol) RRSetRoutingPolicyLoadBalancerTargetIpProtocol { if v != nil { @@ -1512,6 +1669,12 @@ func (in *rrsetRoutingPolicyLoadBalancerTargetIpProtocolPtr) ToRRSetRoutingPolic return pulumi.ToOutputWithContext(ctx, in).(RRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutput) } +func (in *rrsetRoutingPolicyLoadBalancerTargetIpProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetIpProtocol] { + return pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetIpProtocol]{ + OutputState: in.ToRRSetRoutingPolicyLoadBalancerTargetIpProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The type of Load Balancer specified by this target. Must match the configuration of the Load Balancer located at the LoadBalancerTarget's IP address/port and region. type RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType string @@ -1580,6 +1743,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypeOutput) ToRRSetRouti }).(RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutput) } +func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType] { + return pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1615,6 +1784,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutput) ToRRSetRo return o } +func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType] { + return pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutput) Elem() RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypeOutput { return o.ApplyT(func(v *RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType) RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType { if v != nil { @@ -1677,6 +1852,12 @@ func (in *rrsetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtr) ToRRSetRoutin return pulumi.ToOutputWithContext(ctx, in).(RRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutput) } +func (in *rrsetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType] { + return pulumix.Output[*RRSetRoutingPolicyLoadBalancerTargetLoadBalancerType]{ + OutputState: in.ToRRSetRoutingPolicyLoadBalancerTargetLoadBalancerTypePtrOutputWithContext(ctx).OutputState, + } +} + // Answer this query with a behavior rather than DNS data. type ResponsePolicyRuleBehavior string @@ -1746,6 +1927,12 @@ func (o ResponsePolicyRuleBehaviorOutput) ToResponsePolicyRuleBehaviorPtrOutputW }).(ResponsePolicyRuleBehaviorPtrOutput) } +func (o ResponsePolicyRuleBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyRuleBehavior] { + return pulumix.Output[ResponsePolicyRuleBehavior]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyRuleBehaviorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1781,6 +1968,12 @@ func (o ResponsePolicyRuleBehaviorPtrOutput) ToResponsePolicyRuleBehaviorPtrOutp return o } +func (o ResponsePolicyRuleBehaviorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResponsePolicyRuleBehavior] { + return pulumix.Output[*ResponsePolicyRuleBehavior]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyRuleBehaviorPtrOutput) Elem() ResponsePolicyRuleBehaviorOutput { return o.ApplyT(func(v *ResponsePolicyRuleBehavior) ResponsePolicyRuleBehavior { if v != nil { @@ -1843,6 +2036,12 @@ func (in *responsePolicyRuleBehaviorPtr) ToResponsePolicyRuleBehaviorPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(ResponsePolicyRuleBehaviorPtrOutput) } +func (in *responsePolicyRuleBehaviorPtr) ToOutput(ctx context.Context) pulumix.Output[*ResponsePolicyRuleBehavior] { + return pulumix.Output[*ResponsePolicyRuleBehavior]{ + OutputState: in.ToResponsePolicyRuleBehaviorPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*DnsKeySpecAlgorithmInput)(nil)).Elem(), DnsKeySpecAlgorithm("rsasha1")) pulumi.RegisterInputType(reflect.TypeOf((*DnsKeySpecAlgorithmPtrInput)(nil)).Elem(), DnsKeySpecAlgorithm("rsasha1")) diff --git a/sdk/go/google/dns/v1beta2/pulumiTypes.go b/sdk/go/google/dns/v1beta2/pulumiTypes.go index 35923277e9..acfcdddf9f 100644 --- a/sdk/go/google/dns/v1beta2/pulumiTypes.go +++ b/sdk/go/google/dns/v1beta2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -58,6 +59,12 @@ func (i DnsKeySpecArgs) ToDnsKeySpecOutputWithContext(ctx context.Context) DnsKe return pulumi.ToOutputWithContext(ctx, i).(DnsKeySpecOutput) } +func (i DnsKeySpecArgs) ToOutput(ctx context.Context) pulumix.Output[DnsKeySpec] { + return pulumix.Output[DnsKeySpec]{ + OutputState: i.ToDnsKeySpecOutputWithContext(ctx).OutputState, + } +} + // DnsKeySpecArrayInput is an input type that accepts DnsKeySpecArray and DnsKeySpecArrayOutput values. // You can construct a concrete instance of `DnsKeySpecArrayInput` via: // @@ -83,6 +90,12 @@ func (i DnsKeySpecArray) ToDnsKeySpecArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DnsKeySpecArrayOutput) } +func (i DnsKeySpecArray) ToOutput(ctx context.Context) pulumix.Output[[]DnsKeySpec] { + return pulumix.Output[[]DnsKeySpec]{ + OutputState: i.ToDnsKeySpecArrayOutputWithContext(ctx).OutputState, + } +} + // Parameters for DnsKey key generation. Used for generating initial keys for a new ManagedZone and as default when adding a new DnsKey. type DnsKeySpecOutput struct{ *pulumi.OutputState } @@ -98,6 +111,12 @@ func (o DnsKeySpecOutput) ToDnsKeySpecOutputWithContext(ctx context.Context) Dns return o } +func (o DnsKeySpecOutput) ToOutput(ctx context.Context) pulumix.Output[DnsKeySpec] { + return pulumix.Output[DnsKeySpec]{ + OutputState: o.OutputState, + } +} + // String mnemonic specifying the DNSSEC algorithm of this key. func (o DnsKeySpecOutput) Algorithm() DnsKeySpecAlgorithmPtrOutput { return o.ApplyT(func(v DnsKeySpec) *DnsKeySpecAlgorithm { return v.Algorithm }).(DnsKeySpecAlgorithmPtrOutput) @@ -131,6 +150,12 @@ func (o DnsKeySpecArrayOutput) ToDnsKeySpecArrayOutputWithContext(ctx context.Co return o } +func (o DnsKeySpecArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DnsKeySpec] { + return pulumix.Output[[]DnsKeySpec]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecArrayOutput) Index(i pulumi.IntInput) DnsKeySpecOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DnsKeySpec { return vs[0].([]DnsKeySpec)[vs[1].(int)] @@ -163,6 +188,12 @@ func (o DnsKeySpecResponseOutput) ToDnsKeySpecResponseOutputWithContext(ctx cont return o } +func (o DnsKeySpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DnsKeySpecResponse] { + return pulumix.Output[DnsKeySpecResponse]{ + OutputState: o.OutputState, + } +} + // String mnemonic specifying the DNSSEC algorithm of this key. func (o DnsKeySpecResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v DnsKeySpecResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -196,6 +227,12 @@ func (o DnsKeySpecResponseArrayOutput) ToDnsKeySpecResponseArrayOutputWithContex return o } +func (o DnsKeySpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DnsKeySpecResponse] { + return pulumix.Output[[]DnsKeySpecResponse]{ + OutputState: o.OutputState, + } +} + func (o DnsKeySpecResponseArrayOutput) Index(i pulumi.IntInput) DnsKeySpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DnsKeySpecResponse { return vs[0].([]DnsKeySpecResponse)[vs[1].(int)] @@ -249,6 +286,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -290,6 +333,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -315,6 +364,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -349,6 +404,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -426,6 +487,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -485,6 +552,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -510,6 +583,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -525,6 +604,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -549,6 +634,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -578,6 +669,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -602,6 +699,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -647,6 +750,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -672,6 +781,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -687,6 +802,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -711,6 +832,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -740,6 +867,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -764,6 +897,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -813,6 +952,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -838,6 +983,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -853,6 +1004,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -882,6 +1039,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -913,6 +1076,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -942,6 +1111,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -985,6 +1160,12 @@ func (i ManagedZoneCloudLoggingConfigArgs) ToManagedZoneCloudLoggingConfigOutput return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneCloudLoggingConfigOutput) } +func (i ManagedZoneCloudLoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneCloudLoggingConfig] { + return pulumix.Output[ManagedZoneCloudLoggingConfig]{ + OutputState: i.ToManagedZoneCloudLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneCloudLoggingConfigArgs) ToManagedZoneCloudLoggingConfigPtrOutput() ManagedZoneCloudLoggingConfigPtrOutput { return i.ToManagedZoneCloudLoggingConfigPtrOutputWithContext(context.Background()) } @@ -1026,6 +1207,12 @@ func (i *managedZoneCloudLoggingConfigPtrType) ToManagedZoneCloudLoggingConfigPt return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneCloudLoggingConfigPtrOutput) } +func (i *managedZoneCloudLoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneCloudLoggingConfig] { + return pulumix.Output[*ManagedZoneCloudLoggingConfig]{ + OutputState: i.ToManagedZoneCloudLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Logging configurations for publicly visible zones. type ManagedZoneCloudLoggingConfigOutput struct{ *pulumi.OutputState } @@ -1051,6 +1238,12 @@ func (o ManagedZoneCloudLoggingConfigOutput) ToManagedZoneCloudLoggingConfigPtrO }).(ManagedZoneCloudLoggingConfigPtrOutput) } +func (o ManagedZoneCloudLoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneCloudLoggingConfig] { + return pulumix.Output[ManagedZoneCloudLoggingConfig]{ + OutputState: o.OutputState, + } +} + // If set, enable query logging for this ManagedZone. False by default, making logging opt-in. func (o ManagedZoneCloudLoggingConfigOutput) EnableLogging() pulumi.BoolPtrOutput { return o.ApplyT(func(v ManagedZoneCloudLoggingConfig) *bool { return v.EnableLogging }).(pulumi.BoolPtrOutput) @@ -1074,6 +1267,12 @@ func (o ManagedZoneCloudLoggingConfigPtrOutput) ToManagedZoneCloudLoggingConfigP return o } +func (o ManagedZoneCloudLoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneCloudLoggingConfig] { + return pulumix.Output[*ManagedZoneCloudLoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneCloudLoggingConfigPtrOutput) Elem() ManagedZoneCloudLoggingConfigOutput { return o.ApplyT(func(v *ManagedZoneCloudLoggingConfig) ManagedZoneCloudLoggingConfig { if v != nil { @@ -1125,6 +1324,12 @@ func (o ManagedZoneCloudLoggingConfigResponseOutput) ToManagedZoneCloudLoggingCo return o } +func (o ManagedZoneCloudLoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneCloudLoggingConfigResponse] { + return pulumix.Output[ManagedZoneCloudLoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // If set, enable query logging for this ManagedZone. False by default, making logging opt-in. func (o ManagedZoneCloudLoggingConfigResponseOutput) EnableLogging() pulumi.BoolOutput { return o.ApplyT(func(v ManagedZoneCloudLoggingConfigResponse) bool { return v.EnableLogging }).(pulumi.BoolOutput) @@ -1177,6 +1382,12 @@ func (i ManagedZoneDnsSecConfigArgs) ToManagedZoneDnsSecConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneDnsSecConfigOutput) } +func (i ManagedZoneDnsSecConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneDnsSecConfig] { + return pulumix.Output[ManagedZoneDnsSecConfig]{ + OutputState: i.ToManagedZoneDnsSecConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneDnsSecConfigArgs) ToManagedZoneDnsSecConfigPtrOutput() ManagedZoneDnsSecConfigPtrOutput { return i.ToManagedZoneDnsSecConfigPtrOutputWithContext(context.Background()) } @@ -1218,6 +1429,12 @@ func (i *managedZoneDnsSecConfigPtrType) ToManagedZoneDnsSecConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneDnsSecConfigPtrOutput) } +func (i *managedZoneDnsSecConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfig] { + return pulumix.Output[*ManagedZoneDnsSecConfig]{ + OutputState: i.ToManagedZoneDnsSecConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneDnsSecConfigOutput struct{ *pulumi.OutputState } func (ManagedZoneDnsSecConfigOutput) ElementType() reflect.Type { @@ -1242,6 +1459,12 @@ func (o ManagedZoneDnsSecConfigOutput) ToManagedZoneDnsSecConfigPtrOutputWithCon }).(ManagedZoneDnsSecConfigPtrOutput) } +func (o ManagedZoneDnsSecConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneDnsSecConfig] { + return pulumix.Output[ManagedZoneDnsSecConfig]{ + OutputState: o.OutputState, + } +} + // Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. func (o ManagedZoneDnsSecConfigOutput) DefaultKeySpecs() DnsKeySpecArrayOutput { return o.ApplyT(func(v ManagedZoneDnsSecConfig) []DnsKeySpec { return v.DefaultKeySpecs }).(DnsKeySpecArrayOutput) @@ -1275,6 +1498,12 @@ func (o ManagedZoneDnsSecConfigPtrOutput) ToManagedZoneDnsSecConfigPtrOutputWith return o } +func (o ManagedZoneDnsSecConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneDnsSecConfig] { + return pulumix.Output[*ManagedZoneDnsSecConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneDnsSecConfigPtrOutput) Elem() ManagedZoneDnsSecConfigOutput { return o.ApplyT(func(v *ManagedZoneDnsSecConfig) ManagedZoneDnsSecConfig { if v != nil { @@ -1348,6 +1577,12 @@ func (o ManagedZoneDnsSecConfigResponseOutput) ToManagedZoneDnsSecConfigResponse return o } +func (o ManagedZoneDnsSecConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneDnsSecConfigResponse] { + return pulumix.Output[ManagedZoneDnsSecConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies parameters for generating initial DnsKeys for this ManagedZone. Can only be changed while the state is OFF. func (o ManagedZoneDnsSecConfigResponseOutput) DefaultKeySpecs() DnsKeySpecResponseArrayOutput { return o.ApplyT(func(v ManagedZoneDnsSecConfigResponse) []DnsKeySpecResponse { return v.DefaultKeySpecs }).(DnsKeySpecResponseArrayOutput) @@ -1402,6 +1637,12 @@ func (i ManagedZoneForwardingConfigArgs) ToManagedZoneForwardingConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneForwardingConfigOutput) } +func (i ManagedZoneForwardingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfig] { + return pulumix.Output[ManagedZoneForwardingConfig]{ + OutputState: i.ToManagedZoneForwardingConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneForwardingConfigArgs) ToManagedZoneForwardingConfigPtrOutput() ManagedZoneForwardingConfigPtrOutput { return i.ToManagedZoneForwardingConfigPtrOutputWithContext(context.Background()) } @@ -1443,6 +1684,12 @@ func (i *managedZoneForwardingConfigPtrType) ToManagedZoneForwardingConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneForwardingConfigPtrOutput) } +func (i *managedZoneForwardingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneForwardingConfig] { + return pulumix.Output[*ManagedZoneForwardingConfig]{ + OutputState: i.ToManagedZoneForwardingConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneForwardingConfigOutput struct{ *pulumi.OutputState } func (ManagedZoneForwardingConfigOutput) ElementType() reflect.Type { @@ -1467,6 +1714,12 @@ func (o ManagedZoneForwardingConfigOutput) ToManagedZoneForwardingConfigPtrOutpu }).(ManagedZoneForwardingConfigPtrOutput) } +func (o ManagedZoneForwardingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfig] { + return pulumix.Output[ManagedZoneForwardingConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZoneForwardingConfig) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -1492,6 +1745,12 @@ func (o ManagedZoneForwardingConfigPtrOutput) ToManagedZoneForwardingConfigPtrOu return o } +func (o ManagedZoneForwardingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneForwardingConfig] { + return pulumix.Output[*ManagedZoneForwardingConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigPtrOutput) Elem() ManagedZoneForwardingConfigOutput { return o.ApplyT(func(v *ManagedZoneForwardingConfig) ManagedZoneForwardingConfig { if v != nil { @@ -1564,6 +1823,12 @@ func (i ManagedZoneForwardingConfigNameServerTargetArgs) ToManagedZoneForwarding return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneForwardingConfigNameServerTargetOutput) } +func (i ManagedZoneForwardingConfigNameServerTargetArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfigNameServerTarget] { + return pulumix.Output[ManagedZoneForwardingConfigNameServerTarget]{ + OutputState: i.ToManagedZoneForwardingConfigNameServerTargetOutputWithContext(ctx).OutputState, + } +} + // ManagedZoneForwardingConfigNameServerTargetArrayInput is an input type that accepts ManagedZoneForwardingConfigNameServerTargetArray and ManagedZoneForwardingConfigNameServerTargetArrayOutput values. // You can construct a concrete instance of `ManagedZoneForwardingConfigNameServerTargetArrayInput` via: // @@ -1589,6 +1854,12 @@ func (i ManagedZoneForwardingConfigNameServerTargetArray) ToManagedZoneForwardin return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneForwardingConfigNameServerTargetArrayOutput) } +func (i ManagedZoneForwardingConfigNameServerTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZoneForwardingConfigNameServerTarget] { + return pulumix.Output[[]ManagedZoneForwardingConfigNameServerTarget]{ + OutputState: i.ToManagedZoneForwardingConfigNameServerTargetArrayOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneForwardingConfigNameServerTargetOutput struct{ *pulumi.OutputState } func (ManagedZoneForwardingConfigNameServerTargetOutput) ElementType() reflect.Type { @@ -1603,6 +1874,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetOutput) ToManagedZoneForwardi return o } +func (o ManagedZoneForwardingConfigNameServerTargetOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfigNameServerTarget] { + return pulumix.Output[ManagedZoneForwardingConfigNameServerTarget]{ + OutputState: o.OutputState, + } +} + // Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. func (o ManagedZoneForwardingConfigNameServerTargetOutput) ForwardingPath() ManagedZoneForwardingConfigNameServerTargetForwardingPathPtrOutput { return o.ApplyT(func(v ManagedZoneForwardingConfigNameServerTarget) *ManagedZoneForwardingConfigNameServerTargetForwardingPath { @@ -1638,6 +1915,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetArrayOutput) ToManagedZoneFor return o } +func (o ManagedZoneForwardingConfigNameServerTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZoneForwardingConfigNameServerTarget] { + return pulumix.Output[[]ManagedZoneForwardingConfigNameServerTarget]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigNameServerTargetArrayOutput) Index(i pulumi.IntInput) ManagedZoneForwardingConfigNameServerTargetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZoneForwardingConfigNameServerTarget { return vs[0].([]ManagedZoneForwardingConfigNameServerTarget)[vs[1].(int)] @@ -1668,6 +1951,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetResponseOutput) ToManagedZone return o } +func (o ManagedZoneForwardingConfigNameServerTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfigNameServerTargetResponse] { + return pulumix.Output[ManagedZoneForwardingConfigNameServerTargetResponse]{ + OutputState: o.OutputState, + } +} + // Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. func (o ManagedZoneForwardingConfigNameServerTargetResponseOutput) ForwardingPath() pulumi.StringOutput { return o.ApplyT(func(v ManagedZoneForwardingConfigNameServerTargetResponse) string { return v.ForwardingPath }).(pulumi.StringOutput) @@ -1701,6 +1990,12 @@ func (o ManagedZoneForwardingConfigNameServerTargetResponseArrayOutput) ToManage return o } +func (o ManagedZoneForwardingConfigNameServerTargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZoneForwardingConfigNameServerTargetResponse] { + return pulumix.Output[[]ManagedZoneForwardingConfigNameServerTargetResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigNameServerTargetResponseArrayOutput) Index(i pulumi.IntInput) ManagedZoneForwardingConfigNameServerTargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZoneForwardingConfigNameServerTargetResponse { return vs[0].([]ManagedZoneForwardingConfigNameServerTargetResponse)[vs[1].(int)] @@ -1727,6 +2022,12 @@ func (o ManagedZoneForwardingConfigResponseOutput) ToManagedZoneForwardingConfig return o } +func (o ManagedZoneForwardingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneForwardingConfigResponse] { + return pulumix.Output[ManagedZoneForwardingConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneForwardingConfigResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ManagedZoneForwardingConfigResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -1773,6 +2074,12 @@ func (i ManagedZonePeeringConfigArgs) ToManagedZonePeeringConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePeeringConfigOutput) } +func (i ManagedZonePeeringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfig] { + return pulumix.Output[ManagedZonePeeringConfig]{ + OutputState: i.ToManagedZonePeeringConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZonePeeringConfigArgs) ToManagedZonePeeringConfigPtrOutput() ManagedZonePeeringConfigPtrOutput { return i.ToManagedZonePeeringConfigPtrOutputWithContext(context.Background()) } @@ -1814,6 +2121,12 @@ func (i *managedZonePeeringConfigPtrType) ToManagedZonePeeringConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePeeringConfigPtrOutput) } +func (i *managedZonePeeringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePeeringConfig] { + return pulumix.Output[*ManagedZonePeeringConfig]{ + OutputState: i.ToManagedZonePeeringConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZonePeeringConfigOutput struct{ *pulumi.OutputState } func (ManagedZonePeeringConfigOutput) ElementType() reflect.Type { @@ -1838,6 +2151,12 @@ func (o ManagedZonePeeringConfigOutput) ToManagedZonePeeringConfigPtrOutputWithC }).(ManagedZonePeeringConfigPtrOutput) } +func (o ManagedZonePeeringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfig] { + return pulumix.Output[ManagedZonePeeringConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePeeringConfigOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZonePeeringConfig) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -1861,6 +2180,12 @@ func (o ManagedZonePeeringConfigPtrOutput) ToManagedZonePeeringConfigPtrOutputWi return o } +func (o ManagedZonePeeringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePeeringConfig] { + return pulumix.Output[*ManagedZonePeeringConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePeeringConfigPtrOutput) Elem() ManagedZonePeeringConfigOutput { return o.ApplyT(func(v *ManagedZonePeeringConfig) ManagedZonePeeringConfig { if v != nil { @@ -1910,6 +2235,12 @@ func (o ManagedZonePeeringConfigResponseOutput) ToManagedZonePeeringConfigRespon return o } +func (o ManagedZonePeeringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfigResponse] { + return pulumix.Output[ManagedZonePeeringConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePeeringConfigResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ManagedZonePeeringConfigResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -1960,6 +2291,12 @@ func (i ManagedZonePeeringConfigTargetNetworkArgs) ToManagedZonePeeringConfigTar return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePeeringConfigTargetNetworkOutput) } +func (i ManagedZonePeeringConfigTargetNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfigTargetNetwork] { + return pulumix.Output[ManagedZonePeeringConfigTargetNetwork]{ + OutputState: i.ToManagedZonePeeringConfigTargetNetworkOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZonePeeringConfigTargetNetworkArgs) ToManagedZonePeeringConfigTargetNetworkPtrOutput() ManagedZonePeeringConfigTargetNetworkPtrOutput { return i.ToManagedZonePeeringConfigTargetNetworkPtrOutputWithContext(context.Background()) } @@ -2001,6 +2338,12 @@ func (i *managedZonePeeringConfigTargetNetworkPtrType) ToManagedZonePeeringConfi return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePeeringConfigTargetNetworkPtrOutput) } +func (i *managedZonePeeringConfigTargetNetworkPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePeeringConfigTargetNetwork] { + return pulumix.Output[*ManagedZonePeeringConfigTargetNetwork]{ + OutputState: i.ToManagedZonePeeringConfigTargetNetworkPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZonePeeringConfigTargetNetworkOutput struct{ *pulumi.OutputState } func (ManagedZonePeeringConfigTargetNetworkOutput) ElementType() reflect.Type { @@ -2025,6 +2368,12 @@ func (o ManagedZonePeeringConfigTargetNetworkOutput) ToManagedZonePeeringConfigT }).(ManagedZonePeeringConfigTargetNetworkPtrOutput) } +func (o ManagedZonePeeringConfigTargetNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfigTargetNetwork] { + return pulumix.Output[ManagedZonePeeringConfigTargetNetwork]{ + OutputState: o.OutputState, + } +} + // The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. func (o ManagedZonePeeringConfigTargetNetworkOutput) DeactivateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZonePeeringConfigTargetNetwork) *string { return v.DeactivateTime }).(pulumi.StringPtrOutput) @@ -2053,6 +2402,12 @@ func (o ManagedZonePeeringConfigTargetNetworkPtrOutput) ToManagedZonePeeringConf return o } +func (o ManagedZonePeeringConfigTargetNetworkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePeeringConfigTargetNetwork] { + return pulumix.Output[*ManagedZonePeeringConfigTargetNetwork]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePeeringConfigTargetNetworkPtrOutput) Elem() ManagedZonePeeringConfigTargetNetworkOutput { return o.ApplyT(func(v *ManagedZonePeeringConfigTargetNetwork) ManagedZonePeeringConfigTargetNetwork { if v != nil { @@ -2114,6 +2469,12 @@ func (o ManagedZonePeeringConfigTargetNetworkResponseOutput) ToManagedZonePeerin return o } +func (o ManagedZonePeeringConfigTargetNetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePeeringConfigTargetNetworkResponse] { + return pulumix.Output[ManagedZonePeeringConfigTargetNetworkResponse]{ + OutputState: o.OutputState, + } +} + // The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. func (o ManagedZonePeeringConfigTargetNetworkResponseOutput) DeactivateTime() pulumi.StringOutput { return o.ApplyT(func(v ManagedZonePeeringConfigTargetNetworkResponse) string { return v.DeactivateTime }).(pulumi.StringOutput) @@ -2167,6 +2528,12 @@ func (i ManagedZonePrivateVisibilityConfigArgs) ToManagedZonePrivateVisibilityCo return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigOutput) } +func (i ManagedZonePrivateVisibilityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfig] { + return pulumix.Output[ManagedZonePrivateVisibilityConfig]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZonePrivateVisibilityConfigArgs) ToManagedZonePrivateVisibilityConfigPtrOutput() ManagedZonePrivateVisibilityConfigPtrOutput { return i.ToManagedZonePrivateVisibilityConfigPtrOutputWithContext(context.Background()) } @@ -2208,6 +2575,12 @@ func (i *managedZonePrivateVisibilityConfigPtrType) ToManagedZonePrivateVisibili return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigPtrOutput) } +func (i *managedZonePrivateVisibilityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePrivateVisibilityConfig] { + return pulumix.Output[*ManagedZonePrivateVisibilityConfig]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZonePrivateVisibilityConfigOutput struct{ *pulumi.OutputState } func (ManagedZonePrivateVisibilityConfigOutput) ElementType() reflect.Type { @@ -2232,6 +2605,12 @@ func (o ManagedZonePrivateVisibilityConfigOutput) ToManagedZonePrivateVisibility }).(ManagedZonePrivateVisibilityConfigPtrOutput) } +func (o ManagedZonePrivateVisibilityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfig] { + return pulumix.Output[ManagedZonePrivateVisibilityConfig]{ + OutputState: o.OutputState, + } +} + // The list of Google Kubernetes Engine clusters that can see this zone. func (o ManagedZonePrivateVisibilityConfigOutput) GkeClusters() ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfig) []ManagedZonePrivateVisibilityConfigGKECluster { @@ -2264,6 +2643,12 @@ func (o ManagedZonePrivateVisibilityConfigPtrOutput) ToManagedZonePrivateVisibil return o } +func (o ManagedZonePrivateVisibilityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZonePrivateVisibilityConfig] { + return pulumix.Output[*ManagedZonePrivateVisibilityConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigPtrOutput) Elem() ManagedZonePrivateVisibilityConfigOutput { return o.ApplyT(func(v *ManagedZonePrivateVisibilityConfig) ManagedZonePrivateVisibilityConfig { if v != nil { @@ -2338,6 +2723,12 @@ func (i ManagedZonePrivateVisibilityConfigGKEClusterArgs) ToManagedZonePrivateVi return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigGKEClusterOutput) } +func (i ManagedZonePrivateVisibilityConfigGKEClusterArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigGKECluster] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigGKECluster]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigGKEClusterOutputWithContext(ctx).OutputState, + } +} + // ManagedZonePrivateVisibilityConfigGKEClusterArrayInput is an input type that accepts ManagedZonePrivateVisibilityConfigGKEClusterArray and ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput values. // You can construct a concrete instance of `ManagedZonePrivateVisibilityConfigGKEClusterArrayInput` via: // @@ -2363,6 +2754,12 @@ func (i ManagedZonePrivateVisibilityConfigGKEClusterArray) ToManagedZonePrivateV return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput) } +func (i ManagedZonePrivateVisibilityConfigGKEClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKECluster] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKECluster]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigGKEClusterArrayOutputWithContext(ctx).OutputState, + } +} + type ManagedZonePrivateVisibilityConfigGKEClusterOutput struct{ *pulumi.OutputState } func (ManagedZonePrivateVisibilityConfigGKEClusterOutput) ElementType() reflect.Type { @@ -2377,6 +2774,12 @@ func (o ManagedZonePrivateVisibilityConfigGKEClusterOutput) ToManagedZonePrivate return o } +func (o ManagedZonePrivateVisibilityConfigGKEClusterOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigGKECluster] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigGKECluster]{ + OutputState: o.OutputState, + } +} + // The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get func (o ManagedZonePrivateVisibilityConfigGKEClusterOutput) GkeClusterName() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfigGKECluster) *string { return v.GkeClusterName }).(pulumi.StringPtrOutput) @@ -2400,6 +2803,12 @@ func (o ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput) ToManagedZonePr return o } +func (o ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKECluster] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKECluster]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigGKEClusterArrayOutput) Index(i pulumi.IntInput) ManagedZonePrivateVisibilityConfigGKEClusterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZonePrivateVisibilityConfigGKECluster { return vs[0].([]ManagedZonePrivateVisibilityConfigGKECluster)[vs[1].(int)] @@ -2426,6 +2835,12 @@ func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseOutput) ToManagedZon return o } +func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigGKEClusterResponse] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigGKEClusterResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseOutput) GkeClusterName() pulumi.StringOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfigGKEClusterResponse) string { return v.GkeClusterName }).(pulumi.StringOutput) @@ -2449,6 +2864,12 @@ func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseArrayOutput) ToManag return o } +func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKEClusterResponse] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigGKEClusterResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigGKEClusterResponseArrayOutput) Index(i pulumi.IntInput) ManagedZonePrivateVisibilityConfigGKEClusterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZonePrivateVisibilityConfigGKEClusterResponse { return vs[0].([]ManagedZonePrivateVisibilityConfigGKEClusterResponse)[vs[1].(int)] @@ -2490,6 +2911,12 @@ func (i ManagedZonePrivateVisibilityConfigNetworkArgs) ToManagedZonePrivateVisib return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigNetworkOutput) } +func (i ManagedZonePrivateVisibilityConfigNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigNetwork] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigNetwork]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigNetworkOutputWithContext(ctx).OutputState, + } +} + // ManagedZonePrivateVisibilityConfigNetworkArrayInput is an input type that accepts ManagedZonePrivateVisibilityConfigNetworkArray and ManagedZonePrivateVisibilityConfigNetworkArrayOutput values. // You can construct a concrete instance of `ManagedZonePrivateVisibilityConfigNetworkArrayInput` via: // @@ -2515,6 +2942,12 @@ func (i ManagedZonePrivateVisibilityConfigNetworkArray) ToManagedZonePrivateVisi return pulumi.ToOutputWithContext(ctx, i).(ManagedZonePrivateVisibilityConfigNetworkArrayOutput) } +func (i ManagedZonePrivateVisibilityConfigNetworkArray) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetwork] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetwork]{ + OutputState: i.ToManagedZonePrivateVisibilityConfigNetworkArrayOutputWithContext(ctx).OutputState, + } +} + type ManagedZonePrivateVisibilityConfigNetworkOutput struct{ *pulumi.OutputState } func (ManagedZonePrivateVisibilityConfigNetworkOutput) ElementType() reflect.Type { @@ -2529,6 +2962,12 @@ func (o ManagedZonePrivateVisibilityConfigNetworkOutput) ToManagedZonePrivateVis return o } +func (o ManagedZonePrivateVisibilityConfigNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigNetwork] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigNetwork]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigNetworkOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfigNetwork) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -2552,6 +2991,12 @@ func (o ManagedZonePrivateVisibilityConfigNetworkArrayOutput) ToManagedZonePriva return o } +func (o ManagedZonePrivateVisibilityConfigNetworkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetwork] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetwork]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigNetworkArrayOutput) Index(i pulumi.IntInput) ManagedZonePrivateVisibilityConfigNetworkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZonePrivateVisibilityConfigNetwork { return vs[0].([]ManagedZonePrivateVisibilityConfigNetwork)[vs[1].(int)] @@ -2578,6 +3023,12 @@ func (o ManagedZonePrivateVisibilityConfigNetworkResponseOutput) ToManagedZonePr return o } +func (o ManagedZonePrivateVisibilityConfigNetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigNetworkResponse] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigNetworkResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfigNetworkResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -2601,6 +3052,12 @@ func (o ManagedZonePrivateVisibilityConfigNetworkResponseArrayOutput) ToManagedZ return o } +func (o ManagedZonePrivateVisibilityConfigNetworkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetworkResponse] { + return pulumix.Output[[]ManagedZonePrivateVisibilityConfigNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZonePrivateVisibilityConfigNetworkResponseArrayOutput) Index(i pulumi.IntInput) ManagedZonePrivateVisibilityConfigNetworkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedZonePrivateVisibilityConfigNetworkResponse { return vs[0].([]ManagedZonePrivateVisibilityConfigNetworkResponse)[vs[1].(int)] @@ -2629,6 +3086,12 @@ func (o ManagedZonePrivateVisibilityConfigResponseOutput) ToManagedZonePrivateVi return o } +func (o ManagedZonePrivateVisibilityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZonePrivateVisibilityConfigResponse] { + return pulumix.Output[ManagedZonePrivateVisibilityConfigResponse]{ + OutputState: o.OutputState, + } +} + // The list of Google Kubernetes Engine clusters that can see this zone. func (o ManagedZonePrivateVisibilityConfigResponseOutput) GkeClusters() ManagedZonePrivateVisibilityConfigGKEClusterResponseArrayOutput { return o.ApplyT(func(v ManagedZonePrivateVisibilityConfigResponse) []ManagedZonePrivateVisibilityConfigGKEClusterResponse { @@ -2678,6 +3141,12 @@ func (i ManagedZoneReverseLookupConfigArgs) ToManagedZoneReverseLookupConfigOutp return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneReverseLookupConfigOutput) } +func (i ManagedZoneReverseLookupConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneReverseLookupConfig] { + return pulumix.Output[ManagedZoneReverseLookupConfig]{ + OutputState: i.ToManagedZoneReverseLookupConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneReverseLookupConfigArgs) ToManagedZoneReverseLookupConfigPtrOutput() ManagedZoneReverseLookupConfigPtrOutput { return i.ToManagedZoneReverseLookupConfigPtrOutputWithContext(context.Background()) } @@ -2719,6 +3188,12 @@ func (i *managedZoneReverseLookupConfigPtrType) ToManagedZoneReverseLookupConfig return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneReverseLookupConfigPtrOutput) } +func (i *managedZoneReverseLookupConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneReverseLookupConfig] { + return pulumix.Output[*ManagedZoneReverseLookupConfig]{ + OutputState: i.ToManagedZoneReverseLookupConfigPtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneReverseLookupConfigOutput struct{ *pulumi.OutputState } func (ManagedZoneReverseLookupConfigOutput) ElementType() reflect.Type { @@ -2743,6 +3218,12 @@ func (o ManagedZoneReverseLookupConfigOutput) ToManagedZoneReverseLookupConfigPt }).(ManagedZoneReverseLookupConfigPtrOutput) } +func (o ManagedZoneReverseLookupConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneReverseLookupConfig] { + return pulumix.Output[ManagedZoneReverseLookupConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneReverseLookupConfigOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZoneReverseLookupConfig) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -2761,6 +3242,12 @@ func (o ManagedZoneReverseLookupConfigPtrOutput) ToManagedZoneReverseLookupConfi return o } +func (o ManagedZoneReverseLookupConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneReverseLookupConfig] { + return pulumix.Output[*ManagedZoneReverseLookupConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneReverseLookupConfigPtrOutput) Elem() ManagedZoneReverseLookupConfigOutput { return o.ApplyT(func(v *ManagedZoneReverseLookupConfig) ManagedZoneReverseLookupConfig { if v != nil { @@ -2798,6 +3285,12 @@ func (o ManagedZoneReverseLookupConfigResponseOutput) ToManagedZoneReverseLookup return o } +func (o ManagedZoneReverseLookupConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneReverseLookupConfigResponse] { + return pulumix.Output[ManagedZoneReverseLookupConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneReverseLookupConfigResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ManagedZoneReverseLookupConfigResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -2839,6 +3332,12 @@ func (i ManagedZoneServiceDirectoryConfigArgs) ToManagedZoneServiceDirectoryConf return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneServiceDirectoryConfigOutput) } +func (i ManagedZoneServiceDirectoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfig] { + return pulumix.Output[ManagedZoneServiceDirectoryConfig]{ + OutputState: i.ToManagedZoneServiceDirectoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneServiceDirectoryConfigArgs) ToManagedZoneServiceDirectoryConfigPtrOutput() ManagedZoneServiceDirectoryConfigPtrOutput { return i.ToManagedZoneServiceDirectoryConfigPtrOutputWithContext(context.Background()) } @@ -2880,6 +3379,12 @@ func (i *managedZoneServiceDirectoryConfigPtrType) ToManagedZoneServiceDirectory return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneServiceDirectoryConfigPtrOutput) } +func (i *managedZoneServiceDirectoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneServiceDirectoryConfig] { + return pulumix.Output[*ManagedZoneServiceDirectoryConfig]{ + OutputState: i.ToManagedZoneServiceDirectoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information about Service Directory-backed zones. type ManagedZoneServiceDirectoryConfigOutput struct{ *pulumi.OutputState } @@ -2905,6 +3410,12 @@ func (o ManagedZoneServiceDirectoryConfigOutput) ToManagedZoneServiceDirectoryCo }).(ManagedZoneServiceDirectoryConfigPtrOutput) } +func (o ManagedZoneServiceDirectoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfig] { + return pulumix.Output[ManagedZoneServiceDirectoryConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneServiceDirectoryConfigOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZoneServiceDirectoryConfig) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -2930,6 +3441,12 @@ func (o ManagedZoneServiceDirectoryConfigPtrOutput) ToManagedZoneServiceDirector return o } +func (o ManagedZoneServiceDirectoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneServiceDirectoryConfig] { + return pulumix.Output[*ManagedZoneServiceDirectoryConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneServiceDirectoryConfigPtrOutput) Elem() ManagedZoneServiceDirectoryConfigOutput { return o.ApplyT(func(v *ManagedZoneServiceDirectoryConfig) ManagedZoneServiceDirectoryConfig { if v != nil { @@ -2998,6 +3515,12 @@ func (i ManagedZoneServiceDirectoryConfigNamespaceArgs) ToManagedZoneServiceDire return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneServiceDirectoryConfigNamespaceOutput) } +func (i ManagedZoneServiceDirectoryConfigNamespaceArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfigNamespace] { + return pulumix.Output[ManagedZoneServiceDirectoryConfigNamespace]{ + OutputState: i.ToManagedZoneServiceDirectoryConfigNamespaceOutputWithContext(ctx).OutputState, + } +} + func (i ManagedZoneServiceDirectoryConfigNamespaceArgs) ToManagedZoneServiceDirectoryConfigNamespacePtrOutput() ManagedZoneServiceDirectoryConfigNamespacePtrOutput { return i.ToManagedZoneServiceDirectoryConfigNamespacePtrOutputWithContext(context.Background()) } @@ -3039,6 +3562,12 @@ func (i *managedZoneServiceDirectoryConfigNamespacePtrType) ToManagedZoneService return pulumi.ToOutputWithContext(ctx, i).(ManagedZoneServiceDirectoryConfigNamespacePtrOutput) } +func (i *managedZoneServiceDirectoryConfigNamespacePtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneServiceDirectoryConfigNamespace] { + return pulumix.Output[*ManagedZoneServiceDirectoryConfigNamespace]{ + OutputState: i.ToManagedZoneServiceDirectoryConfigNamespacePtrOutputWithContext(ctx).OutputState, + } +} + type ManagedZoneServiceDirectoryConfigNamespaceOutput struct{ *pulumi.OutputState } func (ManagedZoneServiceDirectoryConfigNamespaceOutput) ElementType() reflect.Type { @@ -3063,6 +3592,12 @@ func (o ManagedZoneServiceDirectoryConfigNamespaceOutput) ToManagedZoneServiceDi }).(ManagedZoneServiceDirectoryConfigNamespacePtrOutput) } +func (o ManagedZoneServiceDirectoryConfigNamespaceOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfigNamespace] { + return pulumix.Output[ManagedZoneServiceDirectoryConfigNamespace]{ + OutputState: o.OutputState, + } +} + // The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. func (o ManagedZoneServiceDirectoryConfigNamespaceOutput) DeletionTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedZoneServiceDirectoryConfigNamespace) *string { return v.DeletionTime }).(pulumi.StringPtrOutput) @@ -3091,6 +3626,12 @@ func (o ManagedZoneServiceDirectoryConfigNamespacePtrOutput) ToManagedZoneServic return o } +func (o ManagedZoneServiceDirectoryConfigNamespacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedZoneServiceDirectoryConfigNamespace] { + return pulumix.Output[*ManagedZoneServiceDirectoryConfigNamespace]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneServiceDirectoryConfigNamespacePtrOutput) Elem() ManagedZoneServiceDirectoryConfigNamespaceOutput { return o.ApplyT(func(v *ManagedZoneServiceDirectoryConfigNamespace) ManagedZoneServiceDirectoryConfigNamespace { if v != nil { @@ -3152,6 +3693,12 @@ func (o ManagedZoneServiceDirectoryConfigNamespaceResponseOutput) ToManagedZoneS return o } +func (o ManagedZoneServiceDirectoryConfigNamespaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfigNamespaceResponse] { + return pulumix.Output[ManagedZoneServiceDirectoryConfigNamespaceResponse]{ + OutputState: o.OutputState, + } +} + // The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. func (o ManagedZoneServiceDirectoryConfigNamespaceResponseOutput) DeletionTime() pulumi.StringOutput { return o.ApplyT(func(v ManagedZoneServiceDirectoryConfigNamespaceResponse) string { return v.DeletionTime }).(pulumi.StringOutput) @@ -3188,6 +3735,12 @@ func (o ManagedZoneServiceDirectoryConfigResponseOutput) ToManagedZoneServiceDir return o } +func (o ManagedZoneServiceDirectoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedZoneServiceDirectoryConfigResponse] { + return pulumix.Output[ManagedZoneServiceDirectoryConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ManagedZoneServiceDirectoryConfigResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ManagedZoneServiceDirectoryConfigResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -3234,6 +3787,12 @@ func (i PolicyAlternativeNameServerConfigArgs) ToPolicyAlternativeNameServerConf return pulumi.ToOutputWithContext(ctx, i).(PolicyAlternativeNameServerConfigOutput) } +func (i PolicyAlternativeNameServerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfig] { + return pulumix.Output[PolicyAlternativeNameServerConfig]{ + OutputState: i.ToPolicyAlternativeNameServerConfigOutputWithContext(ctx).OutputState, + } +} + func (i PolicyAlternativeNameServerConfigArgs) ToPolicyAlternativeNameServerConfigPtrOutput() PolicyAlternativeNameServerConfigPtrOutput { return i.ToPolicyAlternativeNameServerConfigPtrOutputWithContext(context.Background()) } @@ -3275,6 +3834,12 @@ func (i *policyAlternativeNameServerConfigPtrType) ToPolicyAlternativeNameServer return pulumi.ToOutputWithContext(ctx, i).(PolicyAlternativeNameServerConfigPtrOutput) } +func (i *policyAlternativeNameServerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PolicyAlternativeNameServerConfig] { + return pulumix.Output[*PolicyAlternativeNameServerConfig]{ + OutputState: i.ToPolicyAlternativeNameServerConfigPtrOutputWithContext(ctx).OutputState, + } +} + type PolicyAlternativeNameServerConfigOutput struct{ *pulumi.OutputState } func (PolicyAlternativeNameServerConfigOutput) ElementType() reflect.Type { @@ -3299,6 +3864,12 @@ func (o PolicyAlternativeNameServerConfigOutput) ToPolicyAlternativeNameServerCo }).(PolicyAlternativeNameServerConfigPtrOutput) } +func (o PolicyAlternativeNameServerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfig] { + return pulumix.Output[PolicyAlternativeNameServerConfig]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v PolicyAlternativeNameServerConfig) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -3324,6 +3895,12 @@ func (o PolicyAlternativeNameServerConfigPtrOutput) ToPolicyAlternativeNameServe return o } +func (o PolicyAlternativeNameServerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyAlternativeNameServerConfig] { + return pulumix.Output[*PolicyAlternativeNameServerConfig]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigPtrOutput) Elem() PolicyAlternativeNameServerConfigOutput { return o.ApplyT(func(v *PolicyAlternativeNameServerConfig) PolicyAlternativeNameServerConfig { if v != nil { @@ -3373,6 +3950,12 @@ func (o PolicyAlternativeNameServerConfigResponseOutput) ToPolicyAlternativeName return o } +func (o PolicyAlternativeNameServerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfigResponse] { + return pulumix.Output[PolicyAlternativeNameServerConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v PolicyAlternativeNameServerConfigResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -3427,6 +4010,12 @@ func (i PolicyAlternativeNameServerConfigTargetNameServerArgs) ToPolicyAlternati return pulumi.ToOutputWithContext(ctx, i).(PolicyAlternativeNameServerConfigTargetNameServerOutput) } +func (i PolicyAlternativeNameServerConfigTargetNameServerArgs) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServer] { + return pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServer]{ + OutputState: i.ToPolicyAlternativeNameServerConfigTargetNameServerOutputWithContext(ctx).OutputState, + } +} + // PolicyAlternativeNameServerConfigTargetNameServerArrayInput is an input type that accepts PolicyAlternativeNameServerConfigTargetNameServerArray and PolicyAlternativeNameServerConfigTargetNameServerArrayOutput values. // You can construct a concrete instance of `PolicyAlternativeNameServerConfigTargetNameServerArrayInput` via: // @@ -3452,6 +4041,12 @@ func (i PolicyAlternativeNameServerConfigTargetNameServerArray) ToPolicyAlternat return pulumi.ToOutputWithContext(ctx, i).(PolicyAlternativeNameServerConfigTargetNameServerArrayOutput) } +func (i PolicyAlternativeNameServerConfigTargetNameServerArray) ToOutput(ctx context.Context) pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServer] { + return pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServer]{ + OutputState: i.ToPolicyAlternativeNameServerConfigTargetNameServerArrayOutputWithContext(ctx).OutputState, + } +} + type PolicyAlternativeNameServerConfigTargetNameServerOutput struct{ *pulumi.OutputState } func (PolicyAlternativeNameServerConfigTargetNameServerOutput) ElementType() reflect.Type { @@ -3466,6 +4061,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerOutput) ToPolicyAlterna return o } +func (o PolicyAlternativeNameServerConfigTargetNameServerOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServer] { + return pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServer]{ + OutputState: o.OutputState, + } +} + // Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. func (o PolicyAlternativeNameServerConfigTargetNameServerOutput) ForwardingPath() PolicyAlternativeNameServerConfigTargetNameServerForwardingPathPtrOutput { return o.ApplyT(func(v PolicyAlternativeNameServerConfigTargetNameServer) *PolicyAlternativeNameServerConfigTargetNameServerForwardingPath { @@ -3501,6 +4102,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerArrayOutput) ToPolicyAl return o } +func (o PolicyAlternativeNameServerConfigTargetNameServerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServer] { + return pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServer]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigTargetNameServerArrayOutput) Index(i pulumi.IntInput) PolicyAlternativeNameServerConfigTargetNameServerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PolicyAlternativeNameServerConfigTargetNameServer { return vs[0].([]PolicyAlternativeNameServerConfigTargetNameServer)[vs[1].(int)] @@ -3531,6 +4138,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerResponseOutput) ToPolic return o } +func (o PolicyAlternativeNameServerConfigTargetNameServerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServerResponse] { + return pulumix.Output[PolicyAlternativeNameServerConfigTargetNameServerResponse]{ + OutputState: o.OutputState, + } +} + // Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. func (o PolicyAlternativeNameServerConfigTargetNameServerResponseOutput) ForwardingPath() pulumi.StringOutput { return o.ApplyT(func(v PolicyAlternativeNameServerConfigTargetNameServerResponse) string { return v.ForwardingPath }).(pulumi.StringOutput) @@ -3564,6 +4177,12 @@ func (o PolicyAlternativeNameServerConfigTargetNameServerResponseArrayOutput) To return o } +func (o PolicyAlternativeNameServerConfigTargetNameServerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServerResponse] { + return pulumix.Output[[]PolicyAlternativeNameServerConfigTargetNameServerResponse]{ + OutputState: o.OutputState, + } +} + func (o PolicyAlternativeNameServerConfigTargetNameServerResponseArrayOutput) Index(i pulumi.IntInput) PolicyAlternativeNameServerConfigTargetNameServerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PolicyAlternativeNameServerConfigTargetNameServerResponse { return vs[0].([]PolicyAlternativeNameServerConfigTargetNameServerResponse)[vs[1].(int)] @@ -3605,6 +4224,12 @@ func (i PolicyNetworkArgs) ToPolicyNetworkOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PolicyNetworkOutput) } +func (i PolicyNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[PolicyNetwork] { + return pulumix.Output[PolicyNetwork]{ + OutputState: i.ToPolicyNetworkOutputWithContext(ctx).OutputState, + } +} + // PolicyNetworkArrayInput is an input type that accepts PolicyNetworkArray and PolicyNetworkArrayOutput values. // You can construct a concrete instance of `PolicyNetworkArrayInput` via: // @@ -3630,6 +4255,12 @@ func (i PolicyNetworkArray) ToPolicyNetworkArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(PolicyNetworkArrayOutput) } +func (i PolicyNetworkArray) ToOutput(ctx context.Context) pulumix.Output[[]PolicyNetwork] { + return pulumix.Output[[]PolicyNetwork]{ + OutputState: i.ToPolicyNetworkArrayOutputWithContext(ctx).OutputState, + } +} + type PolicyNetworkOutput struct{ *pulumi.OutputState } func (PolicyNetworkOutput) ElementType() reflect.Type { @@ -3644,6 +4275,12 @@ func (o PolicyNetworkOutput) ToPolicyNetworkOutputWithContext(ctx context.Contex return o } +func (o PolicyNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyNetwork] { + return pulumix.Output[PolicyNetwork]{ + OutputState: o.OutputState, + } +} + func (o PolicyNetworkOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v PolicyNetwork) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -3667,6 +4304,12 @@ func (o PolicyNetworkArrayOutput) ToPolicyNetworkArrayOutputWithContext(ctx cont return o } +func (o PolicyNetworkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PolicyNetwork] { + return pulumix.Output[[]PolicyNetwork]{ + OutputState: o.OutputState, + } +} + func (o PolicyNetworkArrayOutput) Index(i pulumi.IntInput) PolicyNetworkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PolicyNetwork { return vs[0].([]PolicyNetwork)[vs[1].(int)] @@ -3693,6 +4336,12 @@ func (o PolicyNetworkResponseOutput) ToPolicyNetworkResponseOutputWithContext(ct return o } +func (o PolicyNetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PolicyNetworkResponse] { + return pulumix.Output[PolicyNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o PolicyNetworkResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v PolicyNetworkResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -3716,6 +4365,12 @@ func (o PolicyNetworkResponseArrayOutput) ToPolicyNetworkResponseArrayOutputWith return o } +func (o PolicyNetworkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PolicyNetworkResponse] { + return pulumix.Output[[]PolicyNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o PolicyNetworkResponseArrayOutput) Index(i pulumi.IntInput) PolicyNetworkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PolicyNetworkResponse { return vs[0].([]PolicyNetworkResponse)[vs[1].(int)] @@ -3765,6 +4420,12 @@ func (i RRSetRoutingPolicyArgs) ToRRSetRoutingPolicyOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyOutput) } +func (i RRSetRoutingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicy] { + return pulumix.Output[RRSetRoutingPolicy]{ + OutputState: i.ToRRSetRoutingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RRSetRoutingPolicyArgs) ToRRSetRoutingPolicyPtrOutput() RRSetRoutingPolicyPtrOutput { return i.ToRRSetRoutingPolicyPtrOutputWithContext(context.Background()) } @@ -3806,6 +4467,12 @@ func (i *rrsetRoutingPolicyPtrType) ToRRSetRoutingPolicyPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyPtrOutput) } +func (i *rrsetRoutingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicy] { + return pulumix.Output[*RRSetRoutingPolicy]{ + OutputState: i.ToRRSetRoutingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection. type RRSetRoutingPolicyOutput struct{ *pulumi.OutputState } @@ -3831,6 +4498,12 @@ func (o RRSetRoutingPolicyOutput) ToRRSetRoutingPolicyPtrOutputWithContext(ctx c }).(RRSetRoutingPolicyPtrOutput) } +func (o RRSetRoutingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicy] { + return pulumix.Output[RRSetRoutingPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyOutput) Geo() RRSetRoutingPolicyGeoPolicyPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicy) *RRSetRoutingPolicyGeoPolicy { return v.Geo }).(RRSetRoutingPolicyGeoPolicyPtrOutput) } @@ -3869,6 +4542,12 @@ func (o RRSetRoutingPolicyPtrOutput) ToRRSetRoutingPolicyPtrOutputWithContext(ct return o } +func (o RRSetRoutingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicy] { + return pulumix.Output[*RRSetRoutingPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyPtrOutput) Elem() RRSetRoutingPolicyOutput { return o.ApplyT(func(v *RRSetRoutingPolicy) RRSetRoutingPolicy { if v != nil { @@ -3974,6 +4653,12 @@ func (i RRSetRoutingPolicyGeoPolicyArgs) ToRRSetRoutingPolicyGeoPolicyOutputWith return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyGeoPolicyOutput) } +func (i RRSetRoutingPolicyGeoPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicy] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicy]{ + OutputState: i.ToRRSetRoutingPolicyGeoPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RRSetRoutingPolicyGeoPolicyArgs) ToRRSetRoutingPolicyGeoPolicyPtrOutput() RRSetRoutingPolicyGeoPolicyPtrOutput { return i.ToRRSetRoutingPolicyGeoPolicyPtrOutputWithContext(context.Background()) } @@ -4015,6 +4700,12 @@ func (i *rrsetRoutingPolicyGeoPolicyPtrType) ToRRSetRoutingPolicyGeoPolicyPtrOut return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyGeoPolicyPtrOutput) } +func (i *rrsetRoutingPolicyGeoPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyGeoPolicy] { + return pulumix.Output[*RRSetRoutingPolicyGeoPolicy]{ + OutputState: i.ToRRSetRoutingPolicyGeoPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user. type RRSetRoutingPolicyGeoPolicyOutput struct{ *pulumi.OutputState } @@ -4040,6 +4731,12 @@ func (o RRSetRoutingPolicyGeoPolicyOutput) ToRRSetRoutingPolicyGeoPolicyPtrOutpu }).(RRSetRoutingPolicyGeoPolicyPtrOutput) } +func (o RRSetRoutingPolicyGeoPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicy] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicy]{ + OutputState: o.OutputState, + } +} + // Without fencing, if health check fails for all configured items in the current geo bucket, we'll failover to the next nearest geo bucket. With fencing, if health check is enabled, as long as some targets in the current geo bucket are healthy, we'll return only the healthy targets. However, if they're all unhealthy, we won't failover to the next nearest bucket, we'll simply return all the items in the current bucket even though they're unhealthy. func (o RRSetRoutingPolicyGeoPolicyOutput) EnableFencing() pulumi.BoolPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicyGeoPolicy) *bool { return v.EnableFencing }).(pulumi.BoolPtrOutput) @@ -4068,6 +4765,12 @@ func (o RRSetRoutingPolicyGeoPolicyPtrOutput) ToRRSetRoutingPolicyGeoPolicyPtrOu return o } +func (o RRSetRoutingPolicyGeoPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyGeoPolicy] { + return pulumix.Output[*RRSetRoutingPolicyGeoPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyGeoPolicyPtrOutput) Elem() RRSetRoutingPolicyGeoPolicyOutput { return o.ApplyT(func(v *RRSetRoutingPolicyGeoPolicy) RRSetRoutingPolicyGeoPolicy { if v != nil { @@ -4154,6 +4857,12 @@ func (i RRSetRoutingPolicyGeoPolicyGeoPolicyItemArgs) ToRRSetRoutingPolicyGeoPol return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput) } +func (i RRSetRoutingPolicyGeoPolicyGeoPolicyItemArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItem] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItem]{ + OutputState: i.ToRRSetRoutingPolicyGeoPolicyGeoPolicyItemOutputWithContext(ctx).OutputState, + } +} + // RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayInput is an input type that accepts RRSetRoutingPolicyGeoPolicyGeoPolicyItemArray and RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutput values. // You can construct a concrete instance of `RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayInput` via: // @@ -4179,6 +4888,12 @@ func (i RRSetRoutingPolicyGeoPolicyGeoPolicyItemArray) ToRRSetRoutingPolicyGeoPo return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutput) } +func (i RRSetRoutingPolicyGeoPolicyGeoPolicyItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItem] { + return pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItem]{ + OutputState: i.ToRRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutputWithContext(ctx).OutputState, + } +} + // ResourceRecordSet data for one geo location. type RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput struct{ *pulumi.OutputState } @@ -4194,6 +4909,12 @@ func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput) ToRRSetRoutingPolicyGeoP return o } +func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItem] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItem]{ + OutputState: o.OutputState, + } +} + // For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with rrdata within this item. func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput) HealthCheckedTargets() RRSetRoutingPolicyHealthCheckTargetsPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicyGeoPolicyGeoPolicyItem) *RRSetRoutingPolicyHealthCheckTargets { @@ -4233,6 +4954,12 @@ func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutput) ToRRSetRoutingPolic return o } +func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItem] { + return pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItem]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyGeoPolicyGeoPolicyItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyGeoPolicyGeoPolicyItem { return vs[0].([]RRSetRoutingPolicyGeoPolicyGeoPolicyItem)[vs[1].(int)] @@ -4266,6 +4993,12 @@ func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseOutput) ToRRSetRoutingPo return o } +func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse]{ + OutputState: o.OutputState, + } +} + // For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with rrdata within this item. func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseOutput) HealthCheckedTargets() RRSetRoutingPolicyHealthCheckTargetsResponseOutput { return o.ApplyT(func(v RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse) RRSetRoutingPolicyHealthCheckTargetsResponse { @@ -4305,6 +5038,12 @@ func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseArrayOutput) ToRRSetRout return o } +func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse] { + return pulumix.Output[[]RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse { return vs[0].([]RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse)[vs[1].(int)] @@ -4335,6 +5074,12 @@ func (o RRSetRoutingPolicyGeoPolicyResponseOutput) ToRRSetRoutingPolicyGeoPolicy return o } +func (o RRSetRoutingPolicyGeoPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyGeoPolicyResponse] { + return pulumix.Output[RRSetRoutingPolicyGeoPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Without fencing, if health check fails for all configured items in the current geo bucket, we'll failover to the next nearest geo bucket. With fencing, if health check is enabled, as long as some targets in the current geo bucket are healthy, we'll return only the healthy targets. However, if they're all unhealthy, we won't failover to the next nearest bucket, we'll simply return all the items in the current bucket even though they're unhealthy. func (o RRSetRoutingPolicyGeoPolicyResponseOutput) EnableFencing() pulumi.BoolOutput { return o.ApplyT(func(v RRSetRoutingPolicyGeoPolicyResponse) bool { return v.EnableFencing }).(pulumi.BoolOutput) @@ -4384,6 +5129,12 @@ func (i RRSetRoutingPolicyHealthCheckTargetsArgs) ToRRSetRoutingPolicyHealthChec return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyHealthCheckTargetsOutput) } +func (i RRSetRoutingPolicyHealthCheckTargetsArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyHealthCheckTargets] { + return pulumix.Output[RRSetRoutingPolicyHealthCheckTargets]{ + OutputState: i.ToRRSetRoutingPolicyHealthCheckTargetsOutputWithContext(ctx).OutputState, + } +} + func (i RRSetRoutingPolicyHealthCheckTargetsArgs) ToRRSetRoutingPolicyHealthCheckTargetsPtrOutput() RRSetRoutingPolicyHealthCheckTargetsPtrOutput { return i.ToRRSetRoutingPolicyHealthCheckTargetsPtrOutputWithContext(context.Background()) } @@ -4425,6 +5176,12 @@ func (i *rrsetRoutingPolicyHealthCheckTargetsPtrType) ToRRSetRoutingPolicyHealth return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyHealthCheckTargetsPtrOutput) } +func (i *rrsetRoutingPolicyHealthCheckTargetsPtrType) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyHealthCheckTargets] { + return pulumix.Output[*RRSetRoutingPolicyHealthCheckTargets]{ + OutputState: i.ToRRSetRoutingPolicyHealthCheckTargetsPtrOutputWithContext(ctx).OutputState, + } +} + // HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. type RRSetRoutingPolicyHealthCheckTargetsOutput struct{ *pulumi.OutputState } @@ -4450,6 +5207,12 @@ func (o RRSetRoutingPolicyHealthCheckTargetsOutput) ToRRSetRoutingPolicyHealthCh }).(RRSetRoutingPolicyHealthCheckTargetsPtrOutput) } +func (o RRSetRoutingPolicyHealthCheckTargetsOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyHealthCheckTargets] { + return pulumix.Output[RRSetRoutingPolicyHealthCheckTargets]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyHealthCheckTargetsOutput) InternalLoadBalancers() RRSetRoutingPolicyLoadBalancerTargetArrayOutput { return o.ApplyT(func(v RRSetRoutingPolicyHealthCheckTargets) []RRSetRoutingPolicyLoadBalancerTarget { return v.InternalLoadBalancers @@ -4470,6 +5233,12 @@ func (o RRSetRoutingPolicyHealthCheckTargetsPtrOutput) ToRRSetRoutingPolicyHealt return o } +func (o RRSetRoutingPolicyHealthCheckTargetsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyHealthCheckTargets] { + return pulumix.Output[*RRSetRoutingPolicyHealthCheckTargets]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyHealthCheckTargetsPtrOutput) Elem() RRSetRoutingPolicyHealthCheckTargetsOutput { return o.ApplyT(func(v *RRSetRoutingPolicyHealthCheckTargets) RRSetRoutingPolicyHealthCheckTargets { if v != nil { @@ -4509,6 +5278,12 @@ func (o RRSetRoutingPolicyHealthCheckTargetsResponseOutput) ToRRSetRoutingPolicy return o } +func (o RRSetRoutingPolicyHealthCheckTargetsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyHealthCheckTargetsResponse] { + return pulumix.Output[RRSetRoutingPolicyHealthCheckTargetsResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyHealthCheckTargetsResponseOutput) InternalLoadBalancers() RRSetRoutingPolicyLoadBalancerTargetResponseArrayOutput { return o.ApplyT(func(v RRSetRoutingPolicyHealthCheckTargetsResponse) []RRSetRoutingPolicyLoadBalancerTargetResponse { return v.InternalLoadBalancers @@ -4572,6 +5347,12 @@ func (i RRSetRoutingPolicyLoadBalancerTargetArgs) ToRRSetRoutingPolicyLoadBalanc return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyLoadBalancerTargetOutput) } +func (i RRSetRoutingPolicyLoadBalancerTargetArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyLoadBalancerTarget] { + return pulumix.Output[RRSetRoutingPolicyLoadBalancerTarget]{ + OutputState: i.ToRRSetRoutingPolicyLoadBalancerTargetOutputWithContext(ctx).OutputState, + } +} + // RRSetRoutingPolicyLoadBalancerTargetArrayInput is an input type that accepts RRSetRoutingPolicyLoadBalancerTargetArray and RRSetRoutingPolicyLoadBalancerTargetArrayOutput values. // You can construct a concrete instance of `RRSetRoutingPolicyLoadBalancerTargetArrayInput` via: // @@ -4597,6 +5378,12 @@ func (i RRSetRoutingPolicyLoadBalancerTargetArray) ToRRSetRoutingPolicyLoadBalan return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyLoadBalancerTargetArrayOutput) } +func (i RRSetRoutingPolicyLoadBalancerTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTarget] { + return pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTarget]{ + OutputState: i.ToRRSetRoutingPolicyLoadBalancerTargetArrayOutputWithContext(ctx).OutputState, + } +} + type RRSetRoutingPolicyLoadBalancerTargetOutput struct{ *pulumi.OutputState } func (RRSetRoutingPolicyLoadBalancerTargetOutput) ElementType() reflect.Type { @@ -4611,6 +5398,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetOutput) ToRRSetRoutingPolicyLoadBala return o } +func (o RRSetRoutingPolicyLoadBalancerTargetOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyLoadBalancerTarget] { + return pulumix.Output[RRSetRoutingPolicyLoadBalancerTarget]{ + OutputState: o.OutputState, + } +} + // The frontend IP address of the Load Balancer to health check. func (o RRSetRoutingPolicyLoadBalancerTargetOutput) IpAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicyLoadBalancerTarget) *string { return v.IpAddress }).(pulumi.StringPtrOutput) @@ -4667,6 +5460,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetArrayOutput) ToRRSetRoutingPolicyLoa return o } +func (o RRSetRoutingPolicyLoadBalancerTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTarget] { + return pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTarget]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyLoadBalancerTargetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyLoadBalancerTarget { return vs[0].([]RRSetRoutingPolicyLoadBalancerTarget)[vs[1].(int)] @@ -4704,6 +5503,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetResponseOutput) ToRRSetRoutingPolicy return o } +func (o RRSetRoutingPolicyLoadBalancerTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetResponse] { + return pulumix.Output[RRSetRoutingPolicyLoadBalancerTargetResponse]{ + OutputState: o.OutputState, + } +} + // The frontend IP address of the Load Balancer to health check. func (o RRSetRoutingPolicyLoadBalancerTargetResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v RRSetRoutingPolicyLoadBalancerTargetResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -4756,6 +5561,12 @@ func (o RRSetRoutingPolicyLoadBalancerTargetResponseArrayOutput) ToRRSetRoutingP return o } +func (o RRSetRoutingPolicyLoadBalancerTargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTargetResponse] { + return pulumix.Output[[]RRSetRoutingPolicyLoadBalancerTargetResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyLoadBalancerTargetResponseArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyLoadBalancerTargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyLoadBalancerTargetResponse { return vs[0].([]RRSetRoutingPolicyLoadBalancerTargetResponse)[vs[1].(int)] @@ -4805,6 +5616,12 @@ func (i RRSetRoutingPolicyPrimaryBackupPolicyArgs) ToRRSetRoutingPolicyPrimaryBa return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyPrimaryBackupPolicyOutput) } +func (i RRSetRoutingPolicyPrimaryBackupPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicy] { + return pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicy]{ + OutputState: i.ToRRSetRoutingPolicyPrimaryBackupPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RRSetRoutingPolicyPrimaryBackupPolicyArgs) ToRRSetRoutingPolicyPrimaryBackupPolicyPtrOutput() RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput { return i.ToRRSetRoutingPolicyPrimaryBackupPolicyPtrOutputWithContext(context.Background()) } @@ -4846,6 +5663,12 @@ func (i *rrsetRoutingPolicyPrimaryBackupPolicyPtrType) ToRRSetRoutingPolicyPrima return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput) } +func (i *rrsetRoutingPolicyPrimaryBackupPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyPrimaryBackupPolicy] { + return pulumix.Output[*RRSetRoutingPolicyPrimaryBackupPolicy]{ + OutputState: i.ToRRSetRoutingPolicyPrimaryBackupPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy. type RRSetRoutingPolicyPrimaryBackupPolicyOutput struct{ *pulumi.OutputState } @@ -4871,6 +5694,12 @@ func (o RRSetRoutingPolicyPrimaryBackupPolicyOutput) ToRRSetRoutingPolicyPrimary }).(RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput) } +func (o RRSetRoutingPolicyPrimaryBackupPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicy] { + return pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicy]{ + OutputState: o.OutputState, + } +} + // Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to BACKUP, this policy essentially becomes a geo routing policy. func (o RRSetRoutingPolicyPrimaryBackupPolicyOutput) BackupGeoTargets() RRSetRoutingPolicyGeoPolicyPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicyPrimaryBackupPolicy) *RRSetRoutingPolicyGeoPolicy { return v.BackupGeoTargets }).(RRSetRoutingPolicyGeoPolicyPtrOutput) @@ -4905,6 +5734,12 @@ func (o RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput) ToRRSetRoutingPolicyPrim return o } +func (o RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyPrimaryBackupPolicy] { + return pulumix.Output[*RRSetRoutingPolicyPrimaryBackupPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyPrimaryBackupPolicyPtrOutput) Elem() RRSetRoutingPolicyPrimaryBackupPolicyOutput { return o.ApplyT(func(v *RRSetRoutingPolicyPrimaryBackupPolicy) RRSetRoutingPolicyPrimaryBackupPolicy { if v != nil { @@ -4978,6 +5813,12 @@ func (o RRSetRoutingPolicyPrimaryBackupPolicyResponseOutput) ToRRSetRoutingPolic return o } +func (o RRSetRoutingPolicyPrimaryBackupPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicyResponse] { + return pulumix.Output[RRSetRoutingPolicyPrimaryBackupPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to BACKUP, this policy essentially becomes a geo routing policy. func (o RRSetRoutingPolicyPrimaryBackupPolicyResponseOutput) BackupGeoTargets() RRSetRoutingPolicyGeoPolicyResponseOutput { return o.ApplyT(func(v RRSetRoutingPolicyPrimaryBackupPolicyResponse) RRSetRoutingPolicyGeoPolicyResponse { @@ -5025,6 +5866,12 @@ func (o RRSetRoutingPolicyResponseOutput) ToRRSetRoutingPolicyResponseOutputWith return o } +func (o RRSetRoutingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyResponse] { + return pulumix.Output[RRSetRoutingPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyResponseOutput) Geo() RRSetRoutingPolicyGeoPolicyResponseOutput { return o.ApplyT(func(v RRSetRoutingPolicyResponse) RRSetRoutingPolicyGeoPolicyResponse { return v.Geo }).(RRSetRoutingPolicyGeoPolicyResponseOutput) } @@ -5086,6 +5933,12 @@ func (i RRSetRoutingPolicyWrrPolicyArgs) ToRRSetRoutingPolicyWrrPolicyOutputWith return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyWrrPolicyOutput) } +func (i RRSetRoutingPolicyWrrPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicy] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicy]{ + OutputState: i.ToRRSetRoutingPolicyWrrPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RRSetRoutingPolicyWrrPolicyArgs) ToRRSetRoutingPolicyWrrPolicyPtrOutput() RRSetRoutingPolicyWrrPolicyPtrOutput { return i.ToRRSetRoutingPolicyWrrPolicyPtrOutputWithContext(context.Background()) } @@ -5127,6 +5980,12 @@ func (i *rrsetRoutingPolicyWrrPolicyPtrType) ToRRSetRoutingPolicyWrrPolicyPtrOut return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyWrrPolicyPtrOutput) } +func (i *rrsetRoutingPolicyWrrPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyWrrPolicy] { + return pulumix.Output[*RRSetRoutingPolicyWrrPolicy]{ + OutputState: i.ToRRSetRoutingPolicyWrrPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion. type RRSetRoutingPolicyWrrPolicyOutput struct{ *pulumi.OutputState } @@ -5152,6 +6011,12 @@ func (o RRSetRoutingPolicyWrrPolicyOutput) ToRRSetRoutingPolicyWrrPolicyPtrOutpu }).(RRSetRoutingPolicyWrrPolicyPtrOutput) } +func (o RRSetRoutingPolicyWrrPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicy] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyWrrPolicyOutput) Items() RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput { return o.ApplyT(func(v RRSetRoutingPolicyWrrPolicy) []RRSetRoutingPolicyWrrPolicyWrrPolicyItem { return v.Items }).(RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput) } @@ -5174,6 +6039,12 @@ func (o RRSetRoutingPolicyWrrPolicyPtrOutput) ToRRSetRoutingPolicyWrrPolicyPtrOu return o } +func (o RRSetRoutingPolicyWrrPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RRSetRoutingPolicyWrrPolicy] { + return pulumix.Output[*RRSetRoutingPolicyWrrPolicy]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyWrrPolicyPtrOutput) Elem() RRSetRoutingPolicyWrrPolicyOutput { return o.ApplyT(func(v *RRSetRoutingPolicyWrrPolicy) RRSetRoutingPolicyWrrPolicy { if v != nil { @@ -5223,6 +6094,12 @@ func (o RRSetRoutingPolicyWrrPolicyResponseOutput) ToRRSetRoutingPolicyWrrPolicy return o } +func (o RRSetRoutingPolicyWrrPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicyResponse] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyWrrPolicyResponseOutput) Items() RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseArrayOutput { return o.ApplyT(func(v RRSetRoutingPolicyWrrPolicyResponse) []RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse { return v.Items @@ -5280,6 +6157,12 @@ func (i RRSetRoutingPolicyWrrPolicyWrrPolicyItemArgs) ToRRSetRoutingPolicyWrrPol return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput) } +func (i RRSetRoutingPolicyWrrPolicyWrrPolicyItemArgs) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItem] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItem]{ + OutputState: i.ToRRSetRoutingPolicyWrrPolicyWrrPolicyItemOutputWithContext(ctx).OutputState, + } +} + // RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayInput is an input type that accepts RRSetRoutingPolicyWrrPolicyWrrPolicyItemArray and RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput values. // You can construct a concrete instance of `RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayInput` via: // @@ -5305,6 +6188,12 @@ func (i RRSetRoutingPolicyWrrPolicyWrrPolicyItemArray) ToRRSetRoutingPolicyWrrPo return pulumi.ToOutputWithContext(ctx, i).(RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput) } +func (i RRSetRoutingPolicyWrrPolicyWrrPolicyItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItem] { + return pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItem]{ + OutputState: i.ToRRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutputWithContext(ctx).OutputState, + } +} + // A routing block which contains the routing information for one WRR item. type RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput struct{ *pulumi.OutputState } @@ -5320,6 +6209,12 @@ func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput) ToRRSetRoutingPolicyWrrP return o } +func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItem] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItem]{ + OutputState: o.OutputState, + } +} + // endpoints that need to be health checked before making the routing decision. The unhealthy endpoints will be omitted from the result. If all endpoints within a buckete are unhealthy, we'll choose a different bucket (sampled w.r.t. its weight) for responding. Note that if DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set. func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput) HealthCheckedTargets() RRSetRoutingPolicyHealthCheckTargetsPtrOutput { return o.ApplyT(func(v RRSetRoutingPolicyWrrPolicyWrrPolicyItem) *RRSetRoutingPolicyHealthCheckTargets { @@ -5359,6 +6254,12 @@ func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput) ToRRSetRoutingPolic return o } +func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItem] { + return pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItem]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyWrrPolicyWrrPolicyItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyWrrPolicyWrrPolicyItem { return vs[0].([]RRSetRoutingPolicyWrrPolicyWrrPolicyItem)[vs[1].(int)] @@ -5392,6 +6293,12 @@ func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseOutput) ToRRSetRoutingPo return o } +func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse] { + return pulumix.Output[RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse]{ + OutputState: o.OutputState, + } +} + // endpoints that need to be health checked before making the routing decision. The unhealthy endpoints will be omitted from the result. If all endpoints within a buckete are unhealthy, we'll choose a different bucket (sampled w.r.t. its weight) for responding. Note that if DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set. func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseOutput) HealthCheckedTargets() RRSetRoutingPolicyHealthCheckTargetsResponseOutput { return o.ApplyT(func(v RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse) RRSetRoutingPolicyHealthCheckTargetsResponse { @@ -5431,6 +6338,12 @@ func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseArrayOutput) ToRRSetRout return o } +func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse] { + return pulumix.Output[[]RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse]{ + OutputState: o.OutputState, + } +} + func (o RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseArrayOutput) Index(i pulumi.IntInput) RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse { return vs[0].([]RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse)[vs[1].(int)] @@ -5494,6 +6407,12 @@ func (i ResourceRecordSetTypeArgs) ToResourceRecordSetTypeOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourceRecordSetTypeOutput) } +func (i ResourceRecordSetTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceRecordSetType] { + return pulumix.Output[ResourceRecordSetType]{ + OutputState: i.ToResourceRecordSetTypeOutputWithContext(ctx).OutputState, + } +} + // ResourceRecordSetTypeArrayInput is an input type that accepts ResourceRecordSetTypeArray and ResourceRecordSetTypeArrayOutput values. // You can construct a concrete instance of `ResourceRecordSetTypeArrayInput` via: // @@ -5519,6 +6438,12 @@ func (i ResourceRecordSetTypeArray) ToResourceRecordSetTypeArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ResourceRecordSetTypeArrayOutput) } +func (i ResourceRecordSetTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]ResourceRecordSetType] { + return pulumix.Output[[]ResourceRecordSetType]{ + OutputState: i.ToResourceRecordSetTypeArrayOutputWithContext(ctx).OutputState, + } +} + // A unit of data that is returned by the DNS servers. type ResourceRecordSetTypeOutput struct{ *pulumi.OutputState } @@ -5534,6 +6459,12 @@ func (o ResourceRecordSetTypeOutput) ToResourceRecordSetTypeOutputWithContext(ct return o } +func (o ResourceRecordSetTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceRecordSetType] { + return pulumix.Output[ResourceRecordSetType]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordSetTypeOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceRecordSetType) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -5582,6 +6513,12 @@ func (o ResourceRecordSetTypeArrayOutput) ToResourceRecordSetTypeArrayOutputWith return o } +func (o ResourceRecordSetTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceRecordSetType] { + return pulumix.Output[[]ResourceRecordSetType]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordSetTypeArrayOutput) Index(i pulumi.IntInput) ResourceRecordSetTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceRecordSetType { return vs[0].([]ResourceRecordSetType)[vs[1].(int)] @@ -5620,6 +6557,12 @@ func (o ResourceRecordSetResponseOutput) ToResourceRecordSetResponseOutputWithCo return o } +func (o ResourceRecordSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceRecordSetResponse] { + return pulumix.Output[ResourceRecordSetResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordSetResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ResourceRecordSetResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -5668,6 +6611,12 @@ func (o ResourceRecordSetResponseArrayOutput) ToResourceRecordSetResponseArrayOu return o } +func (o ResourceRecordSetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceRecordSetResponse] { + return pulumix.Output[[]ResourceRecordSetResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordSetResponseArrayOutput) Index(i pulumi.IntInput) ResourceRecordSetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceRecordSetResponse { return vs[0].([]ResourceRecordSetResponse)[vs[1].(int)] @@ -5709,6 +6658,12 @@ func (i ResponsePolicyGKEClusterArgs) ToResponsePolicyGKEClusterOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ResponsePolicyGKEClusterOutput) } +func (i ResponsePolicyGKEClusterArgs) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyGKECluster] { + return pulumix.Output[ResponsePolicyGKECluster]{ + OutputState: i.ToResponsePolicyGKEClusterOutputWithContext(ctx).OutputState, + } +} + // ResponsePolicyGKEClusterArrayInput is an input type that accepts ResponsePolicyGKEClusterArray and ResponsePolicyGKEClusterArrayOutput values. // You can construct a concrete instance of `ResponsePolicyGKEClusterArrayInput` via: // @@ -5734,6 +6689,12 @@ func (i ResponsePolicyGKEClusterArray) ToResponsePolicyGKEClusterArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(ResponsePolicyGKEClusterArrayOutput) } +func (i ResponsePolicyGKEClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]ResponsePolicyGKECluster] { + return pulumix.Output[[]ResponsePolicyGKECluster]{ + OutputState: i.ToResponsePolicyGKEClusterArrayOutputWithContext(ctx).OutputState, + } +} + type ResponsePolicyGKEClusterOutput struct{ *pulumi.OutputState } func (ResponsePolicyGKEClusterOutput) ElementType() reflect.Type { @@ -5748,6 +6709,12 @@ func (o ResponsePolicyGKEClusterOutput) ToResponsePolicyGKEClusterOutputWithCont return o } +func (o ResponsePolicyGKEClusterOutput) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyGKECluster] { + return pulumix.Output[ResponsePolicyGKECluster]{ + OutputState: o.OutputState, + } +} + // The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get func (o ResponsePolicyGKEClusterOutput) GkeClusterName() pulumi.StringPtrOutput { return o.ApplyT(func(v ResponsePolicyGKECluster) *string { return v.GkeClusterName }).(pulumi.StringPtrOutput) @@ -5771,6 +6738,12 @@ func (o ResponsePolicyGKEClusterArrayOutput) ToResponsePolicyGKEClusterArrayOutp return o } +func (o ResponsePolicyGKEClusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResponsePolicyGKECluster] { + return pulumix.Output[[]ResponsePolicyGKECluster]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyGKEClusterArrayOutput) Index(i pulumi.IntInput) ResponsePolicyGKEClusterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponsePolicyGKECluster { return vs[0].([]ResponsePolicyGKECluster)[vs[1].(int)] @@ -5797,6 +6770,12 @@ func (o ResponsePolicyGKEClusterResponseOutput) ToResponsePolicyGKEClusterRespon return o } +func (o ResponsePolicyGKEClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyGKEClusterResponse] { + return pulumix.Output[ResponsePolicyGKEClusterResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get func (o ResponsePolicyGKEClusterResponseOutput) GkeClusterName() pulumi.StringOutput { return o.ApplyT(func(v ResponsePolicyGKEClusterResponse) string { return v.GkeClusterName }).(pulumi.StringOutput) @@ -5820,6 +6799,12 @@ func (o ResponsePolicyGKEClusterResponseArrayOutput) ToResponsePolicyGKEClusterR return o } +func (o ResponsePolicyGKEClusterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResponsePolicyGKEClusterResponse] { + return pulumix.Output[[]ResponsePolicyGKEClusterResponse]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyGKEClusterResponseArrayOutput) Index(i pulumi.IntInput) ResponsePolicyGKEClusterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponsePolicyGKEClusterResponse { return vs[0].([]ResponsePolicyGKEClusterResponse)[vs[1].(int)] @@ -5861,6 +6846,12 @@ func (i ResponsePolicyNetworkArgs) ToResponsePolicyNetworkOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResponsePolicyNetworkOutput) } +func (i ResponsePolicyNetworkArgs) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyNetwork] { + return pulumix.Output[ResponsePolicyNetwork]{ + OutputState: i.ToResponsePolicyNetworkOutputWithContext(ctx).OutputState, + } +} + // ResponsePolicyNetworkArrayInput is an input type that accepts ResponsePolicyNetworkArray and ResponsePolicyNetworkArrayOutput values. // You can construct a concrete instance of `ResponsePolicyNetworkArrayInput` via: // @@ -5886,6 +6877,12 @@ func (i ResponsePolicyNetworkArray) ToResponsePolicyNetworkArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ResponsePolicyNetworkArrayOutput) } +func (i ResponsePolicyNetworkArray) ToOutput(ctx context.Context) pulumix.Output[[]ResponsePolicyNetwork] { + return pulumix.Output[[]ResponsePolicyNetwork]{ + OutputState: i.ToResponsePolicyNetworkArrayOutputWithContext(ctx).OutputState, + } +} + type ResponsePolicyNetworkOutput struct{ *pulumi.OutputState } func (ResponsePolicyNetworkOutput) ElementType() reflect.Type { @@ -5900,6 +6897,12 @@ func (o ResponsePolicyNetworkOutput) ToResponsePolicyNetworkOutputWithContext(ct return o } +func (o ResponsePolicyNetworkOutput) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyNetwork] { + return pulumix.Output[ResponsePolicyNetwork]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyNetworkOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v ResponsePolicyNetwork) *string { return v.Kind }).(pulumi.StringPtrOutput) } @@ -5923,6 +6926,12 @@ func (o ResponsePolicyNetworkArrayOutput) ToResponsePolicyNetworkArrayOutputWith return o } +func (o ResponsePolicyNetworkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResponsePolicyNetwork] { + return pulumix.Output[[]ResponsePolicyNetwork]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyNetworkArrayOutput) Index(i pulumi.IntInput) ResponsePolicyNetworkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponsePolicyNetwork { return vs[0].([]ResponsePolicyNetwork)[vs[1].(int)] @@ -5949,6 +6958,12 @@ func (o ResponsePolicyNetworkResponseOutput) ToResponsePolicyNetworkResponseOutp return o } +func (o ResponsePolicyNetworkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyNetworkResponse] { + return pulumix.Output[ResponsePolicyNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyNetworkResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v ResponsePolicyNetworkResponse) string { return v.Kind }).(pulumi.StringOutput) } @@ -5972,6 +6987,12 @@ func (o ResponsePolicyNetworkResponseArrayOutput) ToResponsePolicyNetworkRespons return o } +func (o ResponsePolicyNetworkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResponsePolicyNetworkResponse] { + return pulumix.Output[[]ResponsePolicyNetworkResponse]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyNetworkResponseArrayOutput) Index(i pulumi.IntInput) ResponsePolicyNetworkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponsePolicyNetworkResponse { return vs[0].([]ResponsePolicyNetworkResponse)[vs[1].(int)] @@ -6011,6 +7032,12 @@ func (i ResponsePolicyRuleLocalDataArgs) ToResponsePolicyRuleLocalDataOutputWith return pulumi.ToOutputWithContext(ctx, i).(ResponsePolicyRuleLocalDataOutput) } +func (i ResponsePolicyRuleLocalDataArgs) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyRuleLocalData] { + return pulumix.Output[ResponsePolicyRuleLocalData]{ + OutputState: i.ToResponsePolicyRuleLocalDataOutputWithContext(ctx).OutputState, + } +} + func (i ResponsePolicyRuleLocalDataArgs) ToResponsePolicyRuleLocalDataPtrOutput() ResponsePolicyRuleLocalDataPtrOutput { return i.ToResponsePolicyRuleLocalDataPtrOutputWithContext(context.Background()) } @@ -6052,6 +7079,12 @@ func (i *responsePolicyRuleLocalDataPtrType) ToResponsePolicyRuleLocalDataPtrOut return pulumi.ToOutputWithContext(ctx, i).(ResponsePolicyRuleLocalDataPtrOutput) } +func (i *responsePolicyRuleLocalDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResponsePolicyRuleLocalData] { + return pulumix.Output[*ResponsePolicyRuleLocalData]{ + OutputState: i.ToResponsePolicyRuleLocalDataPtrOutputWithContext(ctx).OutputState, + } +} + type ResponsePolicyRuleLocalDataOutput struct{ *pulumi.OutputState } func (ResponsePolicyRuleLocalDataOutput) ElementType() reflect.Type { @@ -6076,6 +7109,12 @@ func (o ResponsePolicyRuleLocalDataOutput) ToResponsePolicyRuleLocalDataPtrOutpu }).(ResponsePolicyRuleLocalDataPtrOutput) } +func (o ResponsePolicyRuleLocalDataOutput) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyRuleLocalData] { + return pulumix.Output[ResponsePolicyRuleLocalData]{ + OutputState: o.OutputState, + } +} + // All resource record sets for this selector, one per resource record type. The name must match the dns_name. func (o ResponsePolicyRuleLocalDataOutput) LocalDatas() ResourceRecordSetTypeArrayOutput { return o.ApplyT(func(v ResponsePolicyRuleLocalData) []ResourceRecordSetType { return v.LocalDatas }).(ResourceRecordSetTypeArrayOutput) @@ -6095,6 +7134,12 @@ func (o ResponsePolicyRuleLocalDataPtrOutput) ToResponsePolicyRuleLocalDataPtrOu return o } +func (o ResponsePolicyRuleLocalDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResponsePolicyRuleLocalData] { + return pulumix.Output[*ResponsePolicyRuleLocalData]{ + OutputState: o.OutputState, + } +} + func (o ResponsePolicyRuleLocalDataPtrOutput) Elem() ResponsePolicyRuleLocalDataOutput { return o.ApplyT(func(v *ResponsePolicyRuleLocalData) ResponsePolicyRuleLocalData { if v != nil { @@ -6134,6 +7179,12 @@ func (o ResponsePolicyRuleLocalDataResponseOutput) ToResponsePolicyRuleLocalData return o } +func (o ResponsePolicyRuleLocalDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResponsePolicyRuleLocalDataResponse] { + return pulumix.Output[ResponsePolicyRuleLocalDataResponse]{ + OutputState: o.OutputState, + } +} + // All resource record sets for this selector, one per resource record type. The name must match the dns_name. func (o ResponsePolicyRuleLocalDataResponseOutput) LocalDatas() ResourceRecordSetResponseArrayOutput { return o.ApplyT(func(v ResponsePolicyRuleLocalDataResponse) []ResourceRecordSetResponse { return v.LocalDatas }).(ResourceRecordSetResponseArrayOutput) diff --git a/sdk/go/google/dns/v1beta2/resourceRecordSet.go b/sdk/go/google/dns/v1beta2/resourceRecordSet.go index cc723f11f0..f25d148e28 100644 --- a/sdk/go/google/dns/v1beta2/resourceRecordSet.go +++ b/sdk/go/google/dns/v1beta2/resourceRecordSet.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ResourceRecordSet. @@ -146,6 +147,12 @@ func (i *ResourceRecordSet) ToResourceRecordSetOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ResourceRecordSetOutput) } +func (i *ResourceRecordSet) ToOutput(ctx context.Context) pulumix.Output[*ResourceRecordSet] { + return pulumix.Output[*ResourceRecordSet]{ + OutputState: i.ToResourceRecordSetOutputWithContext(ctx).OutputState, + } +} + type ResourceRecordSetOutput struct{ *pulumi.OutputState } func (ResourceRecordSetOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o ResourceRecordSetOutput) ToResourceRecordSetOutputWithContext(ctx contex return o } +func (o ResourceRecordSetOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceRecordSet] { + return pulumix.Output[*ResourceRecordSet]{ + OutputState: o.OutputState, + } +} + // For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. func (o ResourceRecordSetOutput) ClientOperationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *ResourceRecordSet) pulumi.StringPtrOutput { return v.ClientOperationId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/dns/v1beta2/responsePolicy.go b/sdk/go/google/dns/v1beta2/responsePolicy.go index 01d6627a71..fcb5ada00f 100644 --- a/sdk/go/google/dns/v1beta2/responsePolicy.go +++ b/sdk/go/google/dns/v1beta2/responsePolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Response Policy @@ -133,6 +134,12 @@ func (i *ResponsePolicy) ToResponsePolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ResponsePolicyOutput) } +func (i *ResponsePolicy) ToOutput(ctx context.Context) pulumix.Output[*ResponsePolicy] { + return pulumix.Output[*ResponsePolicy]{ + OutputState: i.ToResponsePolicyOutputWithContext(ctx).OutputState, + } +} + type ResponsePolicyOutput struct{ *pulumi.OutputState } func (ResponsePolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o ResponsePolicyOutput) ToResponsePolicyOutputWithContext(ctx context.Cont return o } +func (o ResponsePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ResponsePolicy] { + return pulumix.Output[*ResponsePolicy]{ + OutputState: o.OutputState, + } +} + // For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. func (o ResponsePolicyOutput) ClientOperationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *ResponsePolicy) pulumi.StringPtrOutput { return v.ClientOperationId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/dns/v1beta2/responsePolicyRule.go b/sdk/go/google/dns/v1beta2/responsePolicyRule.go index ac9a790b4a..61c1a868d2 100644 --- a/sdk/go/google/dns/v1beta2/responsePolicyRule.go +++ b/sdk/go/google/dns/v1beta2/responsePolicyRule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Response Policy Rule. @@ -135,6 +136,12 @@ func (i *ResponsePolicyRule) ToResponsePolicyRuleOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ResponsePolicyRuleOutput) } +func (i *ResponsePolicyRule) ToOutput(ctx context.Context) pulumix.Output[*ResponsePolicyRule] { + return pulumix.Output[*ResponsePolicyRule]{ + OutputState: i.ToResponsePolicyRuleOutputWithContext(ctx).OutputState, + } +} + type ResponsePolicyRuleOutput struct{ *pulumi.OutputState } func (ResponsePolicyRuleOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ResponsePolicyRuleOutput) ToResponsePolicyRuleOutputWithContext(ctx cont return o } +func (o ResponsePolicyRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*ResponsePolicyRule] { + return pulumix.Output[*ResponsePolicyRule]{ + OutputState: o.OutputState, + } +} + // Answer this query with a behavior rather than DNS data. func (o ResponsePolicyRuleOutput) Behavior() pulumi.StringOutput { return o.ApplyT(func(v *ResponsePolicyRule) pulumi.StringOutput { return v.Behavior }).(pulumi.StringOutput) diff --git a/sdk/go/google/documentai/v1/getProcessor.go b/sdk/go/google/documentai/v1/getProcessor.go index cb57e2b2fe..a5e474a4a7 100644 --- a/sdk/go/google/documentai/v1/getProcessor.go +++ b/sdk/go/google/documentai/v1/getProcessor.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a processor detail. @@ -84,6 +85,12 @@ func (o LookupProcessorResultOutput) ToLookupProcessorResultOutputWithContext(ct return o } +func (o LookupProcessorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProcessorResult] { + return pulumix.Output[LookupProcessorResult]{ + OutputState: o.OutputState, + } +} + // The time the processor was created. func (o LookupProcessorResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupProcessorResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/documentai/v1/processor.go b/sdk/go/google/documentai/v1/processor.go index c96687ef4a..6fc332f65a 100644 --- a/sdk/go/google/documentai/v1/processor.go +++ b/sdk/go/google/documentai/v1/processor.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a processor from the ProcessorType provided. The processor will be at `ENABLED` state by default after its creation. @@ -134,6 +135,12 @@ func (i *Processor) ToProcessorOutputWithContext(ctx context.Context) ProcessorO return pulumi.ToOutputWithContext(ctx, i).(ProcessorOutput) } +func (i *Processor) ToOutput(ctx context.Context) pulumix.Output[*Processor] { + return pulumix.Output[*Processor]{ + OutputState: i.ToProcessorOutputWithContext(ctx).OutputState, + } +} + type ProcessorOutput struct{ *pulumi.OutputState } func (ProcessorOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o ProcessorOutput) ToProcessorOutputWithContext(ctx context.Context) Proce return o } +func (o ProcessorOutput) ToOutput(ctx context.Context) pulumix.Output[*Processor] { + return pulumix.Output[*Processor]{ + OutputState: o.OutputState, + } +} + // The time the processor was created. func (o ProcessorOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Processor) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/documentai/v1beta3/getProcessor.go b/sdk/go/google/documentai/v1beta3/getProcessor.go index 45df98fa6b..2e8e28331b 100644 --- a/sdk/go/google/documentai/v1beta3/getProcessor.go +++ b/sdk/go/google/documentai/v1beta3/getProcessor.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a processor detail. @@ -84,6 +85,12 @@ func (o LookupProcessorResultOutput) ToLookupProcessorResultOutputWithContext(ct return o } +func (o LookupProcessorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProcessorResult] { + return pulumix.Output[LookupProcessorResult]{ + OutputState: o.OutputState, + } +} + // The time the processor was created. func (o LookupProcessorResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupProcessorResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/documentai/v1beta3/processor.go b/sdk/go/google/documentai/v1beta3/processor.go index 8c7fab9ccb..65b40d8fae 100644 --- a/sdk/go/google/documentai/v1beta3/processor.go +++ b/sdk/go/google/documentai/v1beta3/processor.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a processor from the ProcessorType provided. The processor will be at `ENABLED` state by default after its creation. @@ -134,6 +135,12 @@ func (i *Processor) ToProcessorOutputWithContext(ctx context.Context) ProcessorO return pulumi.ToOutputWithContext(ctx, i).(ProcessorOutput) } +func (i *Processor) ToOutput(ctx context.Context) pulumix.Output[*Processor] { + return pulumix.Output[*Processor]{ + OutputState: i.ToProcessorOutputWithContext(ctx).OutputState, + } +} + type ProcessorOutput struct{ *pulumi.OutputState } func (ProcessorOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o ProcessorOutput) ToProcessorOutputWithContext(ctx context.Context) Proce return o } +func (o ProcessorOutput) ToOutput(ctx context.Context) pulumix.Output[*Processor] { + return pulumix.Output[*Processor]{ + OutputState: o.OutputState, + } +} + // The time the processor was created. func (o ProcessorOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Processor) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/domains/v1/getRegistration.go b/sdk/go/google/domains/v1/getRegistration.go index 5e25581cfa..295c9627c1 100644 --- a/sdk/go/google/domains/v1/getRegistration.go +++ b/sdk/go/google/domains/v1/getRegistration.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a `Registration` resource. @@ -96,6 +97,12 @@ func (o LookupRegistrationResultOutput) ToLookupRegistrationResultOutputWithCont return o } +func (o LookupRegistrationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegistrationResult] { + return pulumix.Output[LookupRegistrationResult]{ + OutputState: o.OutputState, + } +} + // Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method. func (o LookupRegistrationResultOutput) ContactSettings() ContactSettingsResponseOutput { return o.ApplyT(func(v LookupRegistrationResult) ContactSettingsResponse { return v.ContactSettings }).(ContactSettingsResponseOutput) diff --git a/sdk/go/google/domains/v1/getRegistrationIamPolicy.go b/sdk/go/google/domains/v1/getRegistrationIamPolicy.go index b09c6d2518..05c6f84fce 100644 --- a/sdk/go/google/domains/v1/getRegistrationIamPolicy.go +++ b/sdk/go/google/domains/v1/getRegistrationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupRegistrationIamPolicyResultOutput) ToLookupRegistrationIamPolicyRe return o } +func (o LookupRegistrationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegistrationIamPolicyResult] { + return pulumix.Output[LookupRegistrationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegistrationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegistrationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/domains/v1/pulumiEnums.go b/sdk/go/google/domains/v1/pulumiEnums.go index b1d8f29cff..4c919c0396 100644 --- a/sdk/go/google/domains/v1/pulumiEnums.go +++ b/sdk/go/google/domains/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Privacy setting for the contacts associated with the `Registration`. type ContactSettingsPrivacy string @@ -255,6 +274,12 @@ func (o ContactSettingsPrivacyOutput) ToContactSettingsPrivacyPtrOutputWithConte }).(ContactSettingsPrivacyPtrOutput) } +func (o ContactSettingsPrivacyOutput) ToOutput(ctx context.Context) pulumix.Output[ContactSettingsPrivacy] { + return pulumix.Output[ContactSettingsPrivacy]{ + OutputState: o.OutputState, + } +} + func (o ContactSettingsPrivacyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o ContactSettingsPrivacyPtrOutput) ToContactSettingsPrivacyPtrOutputWithCo return o } +func (o ContactSettingsPrivacyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ContactSettingsPrivacy] { + return pulumix.Output[*ContactSettingsPrivacy]{ + OutputState: o.OutputState, + } +} + func (o ContactSettingsPrivacyPtrOutput) Elem() ContactSettingsPrivacyOutput { return o.ApplyT(func(v *ContactSettingsPrivacy) ContactSettingsPrivacy { if v != nil { @@ -352,6 +383,12 @@ func (in *contactSettingsPrivacyPtr) ToContactSettingsPrivacyPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ContactSettingsPrivacyPtrOutput) } +func (in *contactSettingsPrivacyPtr) ToOutput(ctx context.Context) pulumix.Output[*ContactSettingsPrivacy] { + return pulumix.Output[*ContactSettingsPrivacy]{ + OutputState: in.ToContactSettingsPrivacyPtrOutputWithContext(ctx).OutputState, + } +} + // The algorithm used to generate the referenced DNSKEY. type DsRecordAlgorithm string @@ -454,6 +491,12 @@ func (o DsRecordAlgorithmOutput) ToDsRecordAlgorithmPtrOutputWithContext(ctx con }).(DsRecordAlgorithmPtrOutput) } +func (o DsRecordAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecordAlgorithm] { + return pulumix.Output[DsRecordAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o DsRecordAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -489,6 +532,12 @@ func (o DsRecordAlgorithmPtrOutput) ToDsRecordAlgorithmPtrOutputWithContext(ctx return o } +func (o DsRecordAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DsRecordAlgorithm] { + return pulumix.Output[*DsRecordAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o DsRecordAlgorithmPtrOutput) Elem() DsRecordAlgorithmOutput { return o.ApplyT(func(v *DsRecordAlgorithm) DsRecordAlgorithm { if v != nil { @@ -551,6 +600,12 @@ func (in *dsRecordAlgorithmPtr) ToDsRecordAlgorithmPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(DsRecordAlgorithmPtrOutput) } +func (in *dsRecordAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*DsRecordAlgorithm] { + return pulumix.Output[*DsRecordAlgorithm]{ + OutputState: in.ToDsRecordAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // The hash function used to generate the digest of the referenced DNSKEY. type DsRecordDigestType string @@ -627,6 +682,12 @@ func (o DsRecordDigestTypeOutput) ToDsRecordDigestTypePtrOutputWithContext(ctx c }).(DsRecordDigestTypePtrOutput) } +func (o DsRecordDigestTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecordDigestType] { + return pulumix.Output[DsRecordDigestType]{ + OutputState: o.OutputState, + } +} + func (o DsRecordDigestTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -662,6 +723,12 @@ func (o DsRecordDigestTypePtrOutput) ToDsRecordDigestTypePtrOutputWithContext(ct return o } +func (o DsRecordDigestTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DsRecordDigestType] { + return pulumix.Output[*DsRecordDigestType]{ + OutputState: o.OutputState, + } +} + func (o DsRecordDigestTypePtrOutput) Elem() DsRecordDigestTypeOutput { return o.ApplyT(func(v *DsRecordDigestType) DsRecordDigestType { if v != nil { @@ -724,6 +791,12 @@ func (in *dsRecordDigestTypePtr) ToDsRecordDigestTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(DsRecordDigestTypePtrOutput) } +func (in *dsRecordDigestTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DsRecordDigestType] { + return pulumix.Output[*DsRecordDigestType]{ + OutputState: in.ToDsRecordDigestTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC. type GoogleDomainsDnsDsState string @@ -796,6 +869,12 @@ func (o GoogleDomainsDnsDsStateOutput) ToGoogleDomainsDnsDsStatePtrOutputWithCon }).(GoogleDomainsDnsDsStatePtrOutput) } +func (o GoogleDomainsDnsDsStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDnsDsState] { + return pulumix.Output[GoogleDomainsDnsDsState]{ + OutputState: o.OutputState, + } +} + func (o GoogleDomainsDnsDsStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -831,6 +910,12 @@ func (o GoogleDomainsDnsDsStatePtrOutput) ToGoogleDomainsDnsDsStatePtrOutputWith return o } +func (o GoogleDomainsDnsDsStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDnsDsState] { + return pulumix.Output[*GoogleDomainsDnsDsState]{ + OutputState: o.OutputState, + } +} + func (o GoogleDomainsDnsDsStatePtrOutput) Elem() GoogleDomainsDnsDsStateOutput { return o.ApplyT(func(v *GoogleDomainsDnsDsState) GoogleDomainsDnsDsState { if v != nil { @@ -893,6 +978,12 @@ func (in *googleDomainsDnsDsStatePtr) ToGoogleDomainsDnsDsStatePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(GoogleDomainsDnsDsStatePtrOutput) } +func (in *googleDomainsDnsDsStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDnsDsState] { + return pulumix.Output[*GoogleDomainsDnsDsState]{ + OutputState: in.ToGoogleDomainsDnsDsStatePtrOutputWithContext(ctx).OutputState, + } +} + // Controls whether the domain can be transferred to another registrar. type ManagementSettingsTransferLockState string @@ -965,6 +1056,12 @@ func (o ManagementSettingsTransferLockStateOutput) ToManagementSettingsTransferL }).(ManagementSettingsTransferLockStatePtrOutput) } +func (o ManagementSettingsTransferLockStateOutput) ToOutput(ctx context.Context) pulumix.Output[ManagementSettingsTransferLockState] { + return pulumix.Output[ManagementSettingsTransferLockState]{ + OutputState: o.OutputState, + } +} + func (o ManagementSettingsTransferLockStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1000,6 +1097,12 @@ func (o ManagementSettingsTransferLockStatePtrOutput) ToManagementSettingsTransf return o } +func (o ManagementSettingsTransferLockStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettingsTransferLockState] { + return pulumix.Output[*ManagementSettingsTransferLockState]{ + OutputState: o.OutputState, + } +} + func (o ManagementSettingsTransferLockStatePtrOutput) Elem() ManagementSettingsTransferLockStateOutput { return o.ApplyT(func(v *ManagementSettingsTransferLockState) ManagementSettingsTransferLockState { if v != nil { @@ -1062,6 +1165,12 @@ func (in *managementSettingsTransferLockStatePtr) ToManagementSettingsTransferLo return pulumi.ToOutputWithContext(ctx, in).(ManagementSettingsTransferLockStatePtrOutput) } +func (in *managementSettingsTransferLockStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettingsTransferLockState] { + return pulumix.Output[*ManagementSettingsTransferLockState]{ + OutputState: in.ToManagementSettingsTransferLockStatePtrOutputWithContext(ctx).OutputState, + } +} + type RegistrationContactNoticesItem string const ( @@ -1131,6 +1240,12 @@ func (o RegistrationContactNoticesItemOutput) ToRegistrationContactNoticesItemPt }).(RegistrationContactNoticesItemPtrOutput) } +func (o RegistrationContactNoticesItemOutput) ToOutput(ctx context.Context) pulumix.Output[RegistrationContactNoticesItem] { + return pulumix.Output[RegistrationContactNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationContactNoticesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1166,6 +1281,12 @@ func (o RegistrationContactNoticesItemPtrOutput) ToRegistrationContactNoticesIte return o } +func (o RegistrationContactNoticesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationContactNoticesItem] { + return pulumix.Output[*RegistrationContactNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationContactNoticesItemPtrOutput) Elem() RegistrationContactNoticesItemOutput { return o.ApplyT(func(v *RegistrationContactNoticesItem) RegistrationContactNoticesItem { if v != nil { @@ -1228,6 +1349,12 @@ func (in *registrationContactNoticesItemPtr) ToRegistrationContactNoticesItemPtr return pulumi.ToOutputWithContext(ctx, in).(RegistrationContactNoticesItemPtrOutput) } +func (in *registrationContactNoticesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RegistrationContactNoticesItem] { + return pulumix.Output[*RegistrationContactNoticesItem]{ + OutputState: in.ToRegistrationContactNoticesItemPtrOutputWithContext(ctx).OutputState, + } +} + // RegistrationContactNoticesItemArrayInput is an input type that accepts RegistrationContactNoticesItemArray and RegistrationContactNoticesItemArrayOutput values. // You can construct a concrete instance of `RegistrationContactNoticesItemArrayInput` via: // @@ -1253,6 +1380,12 @@ func (i RegistrationContactNoticesItemArray) ToRegistrationContactNoticesItemArr return pulumi.ToOutputWithContext(ctx, i).(RegistrationContactNoticesItemArrayOutput) } +func (i RegistrationContactNoticesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationContactNoticesItem] { + return pulumix.Output[[]RegistrationContactNoticesItem]{ + OutputState: i.ToRegistrationContactNoticesItemArrayOutputWithContext(ctx).OutputState, + } +} + type RegistrationContactNoticesItemArrayOutput struct{ *pulumi.OutputState } func (RegistrationContactNoticesItemArrayOutput) ElementType() reflect.Type { @@ -1267,6 +1400,12 @@ func (o RegistrationContactNoticesItemArrayOutput) ToRegistrationContactNoticesI return o } +func (o RegistrationContactNoticesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationContactNoticesItem] { + return pulumix.Output[[]RegistrationContactNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationContactNoticesItemArrayOutput) Index(i pulumi.IntInput) RegistrationContactNoticesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistrationContactNoticesItem { return vs[0].([]RegistrationContactNoticesItem)[vs[1].(int)] @@ -1342,6 +1481,12 @@ func (o RegistrationDomainNoticesItemOutput) ToRegistrationDomainNoticesItemPtrO }).(RegistrationDomainNoticesItemPtrOutput) } +func (o RegistrationDomainNoticesItemOutput) ToOutput(ctx context.Context) pulumix.Output[RegistrationDomainNoticesItem] { + return pulumix.Output[RegistrationDomainNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationDomainNoticesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1377,6 +1522,12 @@ func (o RegistrationDomainNoticesItemPtrOutput) ToRegistrationDomainNoticesItemP return o } +func (o RegistrationDomainNoticesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationDomainNoticesItem] { + return pulumix.Output[*RegistrationDomainNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationDomainNoticesItemPtrOutput) Elem() RegistrationDomainNoticesItemOutput { return o.ApplyT(func(v *RegistrationDomainNoticesItem) RegistrationDomainNoticesItem { if v != nil { @@ -1439,6 +1590,12 @@ func (in *registrationDomainNoticesItemPtr) ToRegistrationDomainNoticesItemPtrOu return pulumi.ToOutputWithContext(ctx, in).(RegistrationDomainNoticesItemPtrOutput) } +func (in *registrationDomainNoticesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RegistrationDomainNoticesItem] { + return pulumix.Output[*RegistrationDomainNoticesItem]{ + OutputState: in.ToRegistrationDomainNoticesItemPtrOutputWithContext(ctx).OutputState, + } +} + // RegistrationDomainNoticesItemArrayInput is an input type that accepts RegistrationDomainNoticesItemArray and RegistrationDomainNoticesItemArrayOutput values. // You can construct a concrete instance of `RegistrationDomainNoticesItemArrayInput` via: // @@ -1464,6 +1621,12 @@ func (i RegistrationDomainNoticesItemArray) ToRegistrationDomainNoticesItemArray return pulumi.ToOutputWithContext(ctx, i).(RegistrationDomainNoticesItemArrayOutput) } +func (i RegistrationDomainNoticesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationDomainNoticesItem] { + return pulumix.Output[[]RegistrationDomainNoticesItem]{ + OutputState: i.ToRegistrationDomainNoticesItemArrayOutputWithContext(ctx).OutputState, + } +} + type RegistrationDomainNoticesItemArrayOutput struct{ *pulumi.OutputState } func (RegistrationDomainNoticesItemArrayOutput) ElementType() reflect.Type { @@ -1478,6 +1641,12 @@ func (o RegistrationDomainNoticesItemArrayOutput) ToRegistrationDomainNoticesIte return o } +func (o RegistrationDomainNoticesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationDomainNoticesItem] { + return pulumix.Output[[]RegistrationDomainNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationDomainNoticesItemArrayOutput) Index(i pulumi.IntInput) RegistrationDomainNoticesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistrationDomainNoticesItem { return vs[0].([]RegistrationDomainNoticesItem)[vs[1].(int)] diff --git a/sdk/go/google/domains/v1/pulumiTypes.go b/sdk/go/google/domains/v1/pulumiTypes.go index e283b38faf..5cb252557d 100644 --- a/sdk/go/google/domains/v1/pulumiTypes.go +++ b/sdk/go/google/domains/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ContactArgs) ToContactOutputWithContext(ctx context.Context) ContactOutp return pulumi.ToOutputWithContext(ctx, i).(ContactOutput) } +func (i ContactArgs) ToOutput(ctx context.Context) pulumix.Output[Contact] { + return pulumix.Output[Contact]{ + OutputState: i.ToContactOutputWithContext(ctx).OutputState, + } +} + // Details required for a contact associated with a `Registration`. type ContactOutput struct{ *pulumi.OutputState } @@ -577,6 +692,12 @@ func (o ContactOutput) ToContactOutputWithContext(ctx context.Context) ContactOu return o } +func (o ContactOutput) ToOutput(ctx context.Context) pulumix.Output[Contact] { + return pulumix.Output[Contact]{ + OutputState: o.OutputState, + } +} + // Email address of the contact. func (o ContactOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v Contact) string { return v.Email }).(pulumi.StringOutput) @@ -624,6 +745,12 @@ func (o ContactResponseOutput) ToContactResponseOutputWithContext(ctx context.Co return o } +func (o ContactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContactResponse] { + return pulumix.Output[ContactResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the contact. func (o ContactResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ContactResponse) string { return v.Email }).(pulumi.StringOutput) @@ -691,6 +818,12 @@ func (i ContactSettingsArgs) ToContactSettingsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ContactSettingsOutput) } +func (i ContactSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ContactSettings] { + return pulumix.Output[ContactSettings]{ + OutputState: i.ToContactSettingsOutputWithContext(ctx).OutputState, + } +} + // Defines the contact information associated with a `Registration`. [ICANN](https://icann.org/) requires all domain names to have associated contact information. The `registrant_contact` is considered the domain's legal owner, and often the other contacts are identical. type ContactSettingsOutput struct{ *pulumi.OutputState } @@ -706,6 +839,12 @@ func (o ContactSettingsOutput) ToContactSettingsOutputWithContext(ctx context.Co return o } +func (o ContactSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ContactSettings] { + return pulumix.Output[ContactSettings]{ + OutputState: o.OutputState, + } +} + // The administrative contact for the `Registration`. func (o ContactSettingsOutput) AdminContact() ContactOutput { return o.ApplyT(func(v ContactSettings) Contact { return v.AdminContact }).(ContactOutput) @@ -753,6 +892,12 @@ func (o ContactSettingsResponseOutput) ToContactSettingsResponseOutputWithContex return o } +func (o ContactSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContactSettingsResponse] { + return pulumix.Output[ContactSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The administrative contact for the `Registration`. func (o ContactSettingsResponseOutput) AdminContact() ContactResponseOutput { return o.ApplyT(func(v ContactSettingsResponse) ContactResponse { return v.AdminContact }).(ContactResponseOutput) @@ -812,6 +957,12 @@ func (i CustomDnsArgs) ToCustomDnsOutputWithContext(ctx context.Context) CustomD return pulumi.ToOutputWithContext(ctx, i).(CustomDnsOutput) } +func (i CustomDnsArgs) ToOutput(ctx context.Context) pulumix.Output[CustomDns] { + return pulumix.Output[CustomDns]{ + OutputState: i.ToCustomDnsOutputWithContext(ctx).OutputState, + } +} + func (i CustomDnsArgs) ToCustomDnsPtrOutput() CustomDnsPtrOutput { return i.ToCustomDnsPtrOutputWithContext(context.Background()) } @@ -853,6 +1004,12 @@ func (i *customDnsPtrType) ToCustomDnsPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(CustomDnsPtrOutput) } +func (i *customDnsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomDns] { + return pulumix.Output[*CustomDns]{ + OutputState: i.ToCustomDnsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for an arbitrary DNS provider. type CustomDnsOutput struct{ *pulumi.OutputState } @@ -878,6 +1035,12 @@ func (o CustomDnsOutput) ToCustomDnsPtrOutputWithContext(ctx context.Context) Cu }).(CustomDnsPtrOutput) } +func (o CustomDnsOutput) ToOutput(ctx context.Context) pulumix.Output[CustomDns] { + return pulumix.Output[CustomDns]{ + OutputState: o.OutputState, + } +} + // The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled. func (o CustomDnsOutput) DsRecords() DsRecordArrayOutput { return o.ApplyT(func(v CustomDns) []DsRecord { return v.DsRecords }).(DsRecordArrayOutput) @@ -902,6 +1065,12 @@ func (o CustomDnsPtrOutput) ToCustomDnsPtrOutputWithContext(ctx context.Context) return o } +func (o CustomDnsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomDns] { + return pulumix.Output[*CustomDns]{ + OutputState: o.OutputState, + } +} + func (o CustomDnsPtrOutput) Elem() CustomDnsOutput { return o.ApplyT(func(v *CustomDns) CustomDns { if v != nil { @@ -955,6 +1124,12 @@ func (o CustomDnsResponseOutput) ToCustomDnsResponseOutputWithContext(ctx contex return o } +func (o CustomDnsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomDnsResponse] { + return pulumix.Output[CustomDnsResponse]{ + OutputState: o.OutputState, + } +} + // The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled. func (o CustomDnsResponseOutput) DsRecords() DsRecordResponseArrayOutput { return o.ApplyT(func(v CustomDnsResponse) []DsRecordResponse { return v.DsRecords }).(DsRecordResponseArrayOutput) @@ -1008,6 +1183,12 @@ func (i DnsSettingsArgs) ToDnsSettingsOutputWithContext(ctx context.Context) Dns return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsOutput) } +func (i DnsSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[DnsSettings] { + return pulumix.Output[DnsSettings]{ + OutputState: i.ToDnsSettingsOutputWithContext(ctx).OutputState, + } +} + func (i DnsSettingsArgs) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput { return i.ToDnsSettingsPtrOutputWithContext(context.Background()) } @@ -1049,6 +1230,12 @@ func (i *dnsSettingsPtrType) ToDnsSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsPtrOutput) } +func (i *dnsSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DnsSettings] { + return pulumix.Output[*DnsSettings]{ + OutputState: i.ToDnsSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the DNS configuration of a `Registration`, including name servers, DNSSEC, and glue records. type DnsSettingsOutput struct{ *pulumi.OutputState } @@ -1074,6 +1261,12 @@ func (o DnsSettingsOutput) ToDnsSettingsPtrOutputWithContext(ctx context.Context }).(DnsSettingsPtrOutput) } +func (o DnsSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[DnsSettings] { + return pulumix.Output[DnsSettings]{ + OutputState: o.OutputState, + } +} + // An arbitrary DNS provider identified by its name servers. func (o DnsSettingsOutput) CustomDns() CustomDnsPtrOutput { return o.ApplyT(func(v DnsSettings) *CustomDns { return v.CustomDns }).(CustomDnsPtrOutput) @@ -1103,6 +1296,12 @@ func (o DnsSettingsPtrOutput) ToDnsSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o DnsSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DnsSettings] { + return pulumix.Output[*DnsSettings]{ + OutputState: o.OutputState, + } +} + func (o DnsSettingsPtrOutput) Elem() DnsSettingsOutput { return o.ApplyT(func(v *DnsSettings) DnsSettings { if v != nil { @@ -1168,6 +1367,12 @@ func (o DnsSettingsResponseOutput) ToDnsSettingsResponseOutputWithContext(ctx co return o } +func (o DnsSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DnsSettingsResponse] { + return pulumix.Output[DnsSettingsResponse]{ + OutputState: o.OutputState, + } +} + // An arbitrary DNS provider identified by its name servers. func (o DnsSettingsResponseOutput) CustomDns() CustomDnsResponseOutput { return o.ApplyT(func(v DnsSettingsResponse) CustomDnsResponse { return v.CustomDns }).(CustomDnsResponseOutput) @@ -1230,6 +1435,12 @@ func (i DsRecordArgs) ToDsRecordOutputWithContext(ctx context.Context) DsRecordO return pulumi.ToOutputWithContext(ctx, i).(DsRecordOutput) } +func (i DsRecordArgs) ToOutput(ctx context.Context) pulumix.Output[DsRecord] { + return pulumix.Output[DsRecord]{ + OutputState: i.ToDsRecordOutputWithContext(ctx).OutputState, + } +} + // DsRecordArrayInput is an input type that accepts DsRecordArray and DsRecordArrayOutput values. // You can construct a concrete instance of `DsRecordArrayInput` via: // @@ -1255,6 +1466,12 @@ func (i DsRecordArray) ToDsRecordArrayOutputWithContext(ctx context.Context) DsR return pulumi.ToOutputWithContext(ctx, i).(DsRecordArrayOutput) } +func (i DsRecordArray) ToOutput(ctx context.Context) pulumix.Output[[]DsRecord] { + return pulumix.Output[[]DsRecord]{ + OutputState: i.ToDsRecordArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone. type DsRecordOutput struct{ *pulumi.OutputState } @@ -1270,6 +1487,12 @@ func (o DsRecordOutput) ToDsRecordOutputWithContext(ctx context.Context) DsRecor return o } +func (o DsRecordOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecord] { + return pulumix.Output[DsRecord]{ + OutputState: o.OutputState, + } +} + // The algorithm used to generate the referenced DNSKEY. func (o DsRecordOutput) Algorithm() DsRecordAlgorithmPtrOutput { return o.ApplyT(func(v DsRecord) *DsRecordAlgorithm { return v.Algorithm }).(DsRecordAlgorithmPtrOutput) @@ -1304,6 +1527,12 @@ func (o DsRecordArrayOutput) ToDsRecordArrayOutputWithContext(ctx context.Contex return o } +func (o DsRecordArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DsRecord] { + return pulumix.Output[[]DsRecord]{ + OutputState: o.OutputState, + } +} + func (o DsRecordArrayOutput) Index(i pulumi.IntInput) DsRecordOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DsRecord { return vs[0].([]DsRecord)[vs[1].(int)] @@ -1337,6 +1566,12 @@ func (o DsRecordResponseOutput) ToDsRecordResponseOutputWithContext(ctx context. return o } +func (o DsRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecordResponse] { + return pulumix.Output[DsRecordResponse]{ + OutputState: o.OutputState, + } +} + // The algorithm used to generate the referenced DNSKEY. func (o DsRecordResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v DsRecordResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -1371,6 +1606,12 @@ func (o DsRecordResponseArrayOutput) ToDsRecordResponseArrayOutputWithContext(ct return o } +func (o DsRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DsRecordResponse] { + return pulumix.Output[[]DsRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o DsRecordResponseArrayOutput) Index(i pulumi.IntInput) DsRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DsRecordResponse { return vs[0].([]DsRecordResponse)[vs[1].(int)] @@ -1424,6 +1665,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1465,6 +1712,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1490,6 +1743,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1524,6 +1783,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1601,6 +1866,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1664,6 +1935,12 @@ func (i GlueRecordArgs) ToGlueRecordOutputWithContext(ctx context.Context) GlueR return pulumi.ToOutputWithContext(ctx, i).(GlueRecordOutput) } +func (i GlueRecordArgs) ToOutput(ctx context.Context) pulumix.Output[GlueRecord] { + return pulumix.Output[GlueRecord]{ + OutputState: i.ToGlueRecordOutputWithContext(ctx).OutputState, + } +} + // GlueRecordArrayInput is an input type that accepts GlueRecordArray and GlueRecordArrayOutput values. // You can construct a concrete instance of `GlueRecordArrayInput` via: // @@ -1689,6 +1966,12 @@ func (i GlueRecordArray) ToGlueRecordArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GlueRecordArrayOutput) } +func (i GlueRecordArray) ToOutput(ctx context.Context) pulumix.Output[[]GlueRecord] { + return pulumix.Output[[]GlueRecord]{ + OutputState: i.ToGlueRecordArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a host on your domain that is a DNS name server for your domain and/or other domains. Glue records are a way of making the IP address of a name server known, even when it serves DNS queries for its parent domain. For example, when `ns.example.com` is a name server for `example.com`, the host `ns.example.com` must have a glue record to break the circular DNS reference. type GlueRecordOutput struct{ *pulumi.OutputState } @@ -1704,6 +1987,12 @@ func (o GlueRecordOutput) ToGlueRecordOutputWithContext(ctx context.Context) Glu return o } +func (o GlueRecordOutput) ToOutput(ctx context.Context) pulumix.Output[GlueRecord] { + return pulumix.Output[GlueRecord]{ + OutputState: o.OutputState, + } +} + // Domain name of the host in Punycode format. func (o GlueRecordOutput) HostName() pulumi.StringOutput { return o.ApplyT(func(v GlueRecord) string { return v.HostName }).(pulumi.StringOutput) @@ -1733,6 +2022,12 @@ func (o GlueRecordArrayOutput) ToGlueRecordArrayOutputWithContext(ctx context.Co return o } +func (o GlueRecordArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GlueRecord] { + return pulumix.Output[[]GlueRecord]{ + OutputState: o.OutputState, + } +} + func (o GlueRecordArrayOutput) Index(i pulumi.IntInput) GlueRecordOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GlueRecord { return vs[0].([]GlueRecord)[vs[1].(int)] @@ -1764,6 +2059,12 @@ func (o GlueRecordResponseOutput) ToGlueRecordResponseOutputWithContext(ctx cont return o } +func (o GlueRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GlueRecordResponse] { + return pulumix.Output[GlueRecordResponse]{ + OutputState: o.OutputState, + } +} + // Domain name of the host in Punycode format. func (o GlueRecordResponseOutput) HostName() pulumi.StringOutput { return o.ApplyT(func(v GlueRecordResponse) string { return v.HostName }).(pulumi.StringOutput) @@ -1793,6 +2094,12 @@ func (o GlueRecordResponseArrayOutput) ToGlueRecordResponseArrayOutputWithContex return o } +func (o GlueRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GlueRecordResponse] { + return pulumix.Output[[]GlueRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o GlueRecordResponseArrayOutput) Index(i pulumi.IntInput) GlueRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GlueRecordResponse { return vs[0].([]GlueRecordResponse)[vs[1].(int)] @@ -1834,6 +2141,12 @@ func (i GoogleDomainsDnsArgs) ToGoogleDomainsDnsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GoogleDomainsDnsOutput) } +func (i GoogleDomainsDnsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDns] { + return pulumix.Output[GoogleDomainsDns]{ + OutputState: i.ToGoogleDomainsDnsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDomainsDnsArgs) ToGoogleDomainsDnsPtrOutput() GoogleDomainsDnsPtrOutput { return i.ToGoogleDomainsDnsPtrOutputWithContext(context.Background()) } @@ -1875,6 +2188,12 @@ func (i *googleDomainsDnsPtrType) ToGoogleDomainsDnsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GoogleDomainsDnsPtrOutput) } +func (i *googleDomainsDnsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDns] { + return pulumix.Output[*GoogleDomainsDns]{ + OutputState: i.ToGoogleDomainsDnsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for using the free DNS zone provided by Google Domains as a `Registration`'s `dns_provider`. You cannot configure the DNS zone itself using the API. To configure the DNS zone, go to [Google Domains](https://domains.google/). type GoogleDomainsDnsOutput struct{ *pulumi.OutputState } @@ -1900,6 +2219,12 @@ func (o GoogleDomainsDnsOutput) ToGoogleDomainsDnsPtrOutputWithContext(ctx conte }).(GoogleDomainsDnsPtrOutput) } +func (o GoogleDomainsDnsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDns] { + return pulumix.Output[GoogleDomainsDns]{ + OutputState: o.OutputState, + } +} + // The state of DS records for this domain. Used to enable or disable automatic DNSSEC. func (o GoogleDomainsDnsOutput) DsState() GoogleDomainsDnsDsStateOutput { return o.ApplyT(func(v GoogleDomainsDns) GoogleDomainsDnsDsState { return v.DsState }).(GoogleDomainsDnsDsStateOutput) @@ -1919,6 +2244,12 @@ func (o GoogleDomainsDnsPtrOutput) ToGoogleDomainsDnsPtrOutputWithContext(ctx co return o } +func (o GoogleDomainsDnsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDns] { + return pulumix.Output[*GoogleDomainsDns]{ + OutputState: o.OutputState, + } +} + func (o GoogleDomainsDnsPtrOutput) Elem() GoogleDomainsDnsOutput { return o.ApplyT(func(v *GoogleDomainsDns) GoogleDomainsDns { if v != nil { @@ -1964,6 +2295,12 @@ func (o GoogleDomainsDnsResponseOutput) ToGoogleDomainsDnsResponseOutputWithCont return o } +func (o GoogleDomainsDnsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDnsResponse] { + return pulumix.Output[GoogleDomainsDnsResponse]{ + OutputState: o.OutputState, + } +} + // The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty. func (o GoogleDomainsDnsResponseOutput) DsRecords() DsRecordResponseArrayOutput { return o.ApplyT(func(v GoogleDomainsDnsResponse) []DsRecordResponse { return v.DsRecords }).(DsRecordResponseArrayOutput) @@ -2014,6 +2351,12 @@ func (i ManagementSettingsArgs) ToManagementSettingsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ManagementSettingsOutput) } +func (i ManagementSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ManagementSettings] { + return pulumix.Output[ManagementSettings]{ + OutputState: i.ToManagementSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ManagementSettingsArgs) ToManagementSettingsPtrOutput() ManagementSettingsPtrOutput { return i.ToManagementSettingsPtrOutputWithContext(context.Background()) } @@ -2055,6 +2398,12 @@ func (i *managementSettingsPtrType) ToManagementSettingsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ManagementSettingsPtrOutput) } +func (i *managementSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettings] { + return pulumix.Output[*ManagementSettings]{ + OutputState: i.ToManagementSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Defines renewal, billing, and transfer settings for a `Registration`. type ManagementSettingsOutput struct{ *pulumi.OutputState } @@ -2080,6 +2429,12 @@ func (o ManagementSettingsOutput) ToManagementSettingsPtrOutputWithContext(ctx c }).(ManagementSettingsPtrOutput) } +func (o ManagementSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ManagementSettings] { + return pulumix.Output[ManagementSettings]{ + OutputState: o.OutputState, + } +} + // Controls whether the domain can be transferred to another registrar. func (o ManagementSettingsOutput) TransferLockState() ManagementSettingsTransferLockStatePtrOutput { return o.ApplyT(func(v ManagementSettings) *ManagementSettingsTransferLockState { return v.TransferLockState }).(ManagementSettingsTransferLockStatePtrOutput) @@ -2099,6 +2454,12 @@ func (o ManagementSettingsPtrOutput) ToManagementSettingsPtrOutputWithContext(ct return o } +func (o ManagementSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettings] { + return pulumix.Output[*ManagementSettings]{ + OutputState: o.OutputState, + } +} + func (o ManagementSettingsPtrOutput) Elem() ManagementSettingsOutput { return o.ApplyT(func(v *ManagementSettings) ManagementSettings { if v != nil { @@ -2142,6 +2503,12 @@ func (o ManagementSettingsResponseOutput) ToManagementSettingsResponseOutputWith return o } +func (o ManagementSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagementSettingsResponse] { + return pulumix.Output[ManagementSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The renewal method for this `Registration`. func (o ManagementSettingsResponseOutput) RenewalMethod() pulumi.StringOutput { return o.ApplyT(func(v ManagementSettingsResponse) string { return v.RenewalMethod }).(pulumi.StringOutput) @@ -2195,6 +2562,12 @@ func (i MoneyArgs) ToMoneyOutputWithContext(ctx context.Context) MoneyOutput { return pulumi.ToOutputWithContext(ctx, i).(MoneyOutput) } +func (i MoneyArgs) ToOutput(ctx context.Context) pulumix.Output[Money] { + return pulumix.Output[Money]{ + OutputState: i.ToMoneyOutputWithContext(ctx).OutputState, + } +} + // Represents an amount of money with its currency type. type MoneyOutput struct{ *pulumi.OutputState } @@ -2210,6 +2583,12 @@ func (o MoneyOutput) ToMoneyOutputWithContext(ctx context.Context) MoneyOutput { return o } +func (o MoneyOutput) ToOutput(ctx context.Context) pulumix.Output[Money] { + return pulumix.Output[Money]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o MoneyOutput) CurrencyCode() pulumi.StringPtrOutput { return o.ApplyT(func(v Money) *string { return v.CurrencyCode }).(pulumi.StringPtrOutput) @@ -2300,6 +2679,12 @@ func (i PostalAddressArgs) ToPostalAddressOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PostalAddressOutput) } +func (i PostalAddressArgs) ToOutput(ctx context.Context) pulumix.Output[PostalAddress] { + return pulumix.Output[PostalAddress]{ + OutputState: i.ToPostalAddressOutputWithContext(ctx).OutputState, + } +} + // Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 type PostalAddressOutput struct{ *pulumi.OutputState } @@ -2315,6 +2700,12 @@ func (o PostalAddressOutput) ToPostalAddressOutputWithContext(ctx context.Contex return o } +func (o PostalAddressOutput) ToOutput(ctx context.Context) pulumix.Output[PostalAddress] { + return pulumix.Output[PostalAddress]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o PostalAddressOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v PostalAddress) []string { return v.AddressLines }).(pulumi.StringArrayOutput) @@ -2411,6 +2802,12 @@ func (o PostalAddressResponseOutput) ToPostalAddressResponseOutputWithContext(ct return o } +func (o PostalAddressResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostalAddressResponse] { + return pulumix.Output[PostalAddressResponse]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o PostalAddressResponseOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v PostalAddressResponse) []string { return v.AddressLines }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/domains/v1/registration.go b/sdk/go/google/domains/v1/registration.go index 201aa48cd7..4dd5049332 100644 --- a/sdk/go/google/domains/v1/registration.go +++ b/sdk/go/google/domains/v1/registration.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Registers a new domain name and creates a corresponding `Registration` resource. Call `RetrieveRegisterParameters` first to check availability of the domain name and determine parameters like price that are needed to build a call to this method. A successful call creates a `Registration` resource in state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes, indicating that the domain was successfully registered. If the resource ends up in state `REGISTRATION_FAILED`, it indicates that the domain was not registered successfully, and you can safely delete the resource and retry registration. @@ -172,6 +173,12 @@ func (i *Registration) ToRegistrationOutputWithContext(ctx context.Context) Regi return pulumi.ToOutputWithContext(ctx, i).(RegistrationOutput) } +func (i *Registration) ToOutput(ctx context.Context) pulumix.Output[*Registration] { + return pulumix.Output[*Registration]{ + OutputState: i.ToRegistrationOutputWithContext(ctx).OutputState, + } +} + type RegistrationOutput struct{ *pulumi.OutputState } func (RegistrationOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o RegistrationOutput) ToRegistrationOutputWithContext(ctx context.Context) return o } +func (o RegistrationOutput) ToOutput(ctx context.Context) pulumix.Output[*Registration] { + return pulumix.Output[*Registration]{ + OutputState: o.OutputState, + } +} + // Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method. func (o RegistrationOutput) ContactSettings() ContactSettingsResponseOutput { return o.ApplyT(func(v *Registration) ContactSettingsResponseOutput { return v.ContactSettings }).(ContactSettingsResponseOutput) diff --git a/sdk/go/google/domains/v1/registrationIamBinding.go b/sdk/go/google/domains/v1/registrationIamBinding.go index f3328020e6..3e943bd0a0 100644 --- a/sdk/go/google/domains/v1/registrationIamBinding.go +++ b/sdk/go/google/domains/v1/registrationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RegistrationIamBinding) ToRegistrationIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegistrationIamBindingOutput) } +func (i *RegistrationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamBinding] { + return pulumix.Output[*RegistrationIamBinding]{ + OutputState: i.ToRegistrationIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegistrationIamBindingOutput struct{ *pulumi.OutputState } func (RegistrationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationIamBindingOutput) ToRegistrationIamBindingOutputWithContext( return o } +func (o RegistrationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamBinding] { + return pulumix.Output[*RegistrationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistrationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistrationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/domains/v1/registrationIamMember.go b/sdk/go/google/domains/v1/registrationIamMember.go index e2eb389318..c6e953a503 100644 --- a/sdk/go/google/domains/v1/registrationIamMember.go +++ b/sdk/go/google/domains/v1/registrationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RegistrationIamMember) ToRegistrationIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegistrationIamMemberOutput) } +func (i *RegistrationIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamMember] { + return pulumix.Output[*RegistrationIamMember]{ + OutputState: i.ToRegistrationIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegistrationIamMemberOutput struct{ *pulumi.OutputState } func (RegistrationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationIamMemberOutput) ToRegistrationIamMemberOutputWithContext(ct return o } +func (o RegistrationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamMember] { + return pulumix.Output[*RegistrationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistrationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistrationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/domains/v1/registrationIamPolicy.go b/sdk/go/google/domains/v1/registrationIamPolicy.go index 88ad118e83..5077f40a03 100644 --- a/sdk/go/google/domains/v1/registrationIamPolicy.go +++ b/sdk/go/google/domains/v1/registrationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RegistrationIamPolicy) ToRegistrationIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegistrationIamPolicyOutput) } +func (i *RegistrationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamPolicy] { + return pulumix.Output[*RegistrationIamPolicy]{ + OutputState: i.ToRegistrationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegistrationIamPolicyOutput struct{ *pulumi.OutputState } func (RegistrationIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationIamPolicyOutput) ToRegistrationIamPolicyOutputWithContext(ct return o } +func (o RegistrationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamPolicy] { + return pulumix.Output[*RegistrationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegistrationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegistrationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/domains/v1alpha2/getRegistration.go b/sdk/go/google/domains/v1alpha2/getRegistration.go index 0f06536262..a1af58ecda 100644 --- a/sdk/go/google/domains/v1alpha2/getRegistration.go +++ b/sdk/go/google/domains/v1alpha2/getRegistration.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a `Registration` resource. @@ -96,6 +97,12 @@ func (o LookupRegistrationResultOutput) ToLookupRegistrationResultOutputWithCont return o } +func (o LookupRegistrationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegistrationResult] { + return pulumix.Output[LookupRegistrationResult]{ + OutputState: o.OutputState, + } +} + // Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method. func (o LookupRegistrationResultOutput) ContactSettings() ContactSettingsResponseOutput { return o.ApplyT(func(v LookupRegistrationResult) ContactSettingsResponse { return v.ContactSettings }).(ContactSettingsResponseOutput) diff --git a/sdk/go/google/domains/v1alpha2/getRegistrationIamPolicy.go b/sdk/go/google/domains/v1alpha2/getRegistrationIamPolicy.go index a1fd9b08ad..58bce44a73 100644 --- a/sdk/go/google/domains/v1alpha2/getRegistrationIamPolicy.go +++ b/sdk/go/google/domains/v1alpha2/getRegistrationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupRegistrationIamPolicyResultOutput) ToLookupRegistrationIamPolicyRe return o } +func (o LookupRegistrationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegistrationIamPolicyResult] { + return pulumix.Output[LookupRegistrationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegistrationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegistrationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/domains/v1alpha2/pulumiEnums.go b/sdk/go/google/domains/v1alpha2/pulumiEnums.go index 0b77159ace..3af312a20d 100644 --- a/sdk/go/google/domains/v1alpha2/pulumiEnums.go +++ b/sdk/go/google/domains/v1alpha2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Privacy setting for the contacts associated with the `Registration`. type ContactSettingsPrivacy string @@ -255,6 +274,12 @@ func (o ContactSettingsPrivacyOutput) ToContactSettingsPrivacyPtrOutputWithConte }).(ContactSettingsPrivacyPtrOutput) } +func (o ContactSettingsPrivacyOutput) ToOutput(ctx context.Context) pulumix.Output[ContactSettingsPrivacy] { + return pulumix.Output[ContactSettingsPrivacy]{ + OutputState: o.OutputState, + } +} + func (o ContactSettingsPrivacyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o ContactSettingsPrivacyPtrOutput) ToContactSettingsPrivacyPtrOutputWithCo return o } +func (o ContactSettingsPrivacyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ContactSettingsPrivacy] { + return pulumix.Output[*ContactSettingsPrivacy]{ + OutputState: o.OutputState, + } +} + func (o ContactSettingsPrivacyPtrOutput) Elem() ContactSettingsPrivacyOutput { return o.ApplyT(func(v *ContactSettingsPrivacy) ContactSettingsPrivacy { if v != nil { @@ -352,6 +383,12 @@ func (in *contactSettingsPrivacyPtr) ToContactSettingsPrivacyPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ContactSettingsPrivacyPtrOutput) } +func (in *contactSettingsPrivacyPtr) ToOutput(ctx context.Context) pulumix.Output[*ContactSettingsPrivacy] { + return pulumix.Output[*ContactSettingsPrivacy]{ + OutputState: in.ToContactSettingsPrivacyPtrOutputWithContext(ctx).OutputState, + } +} + // The algorithm used to generate the referenced DNSKEY. type DsRecordAlgorithm string @@ -454,6 +491,12 @@ func (o DsRecordAlgorithmOutput) ToDsRecordAlgorithmPtrOutputWithContext(ctx con }).(DsRecordAlgorithmPtrOutput) } +func (o DsRecordAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecordAlgorithm] { + return pulumix.Output[DsRecordAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o DsRecordAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -489,6 +532,12 @@ func (o DsRecordAlgorithmPtrOutput) ToDsRecordAlgorithmPtrOutputWithContext(ctx return o } +func (o DsRecordAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DsRecordAlgorithm] { + return pulumix.Output[*DsRecordAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o DsRecordAlgorithmPtrOutput) Elem() DsRecordAlgorithmOutput { return o.ApplyT(func(v *DsRecordAlgorithm) DsRecordAlgorithm { if v != nil { @@ -551,6 +600,12 @@ func (in *dsRecordAlgorithmPtr) ToDsRecordAlgorithmPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(DsRecordAlgorithmPtrOutput) } +func (in *dsRecordAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*DsRecordAlgorithm] { + return pulumix.Output[*DsRecordAlgorithm]{ + OutputState: in.ToDsRecordAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // The hash function used to generate the digest of the referenced DNSKEY. type DsRecordDigestType string @@ -627,6 +682,12 @@ func (o DsRecordDigestTypeOutput) ToDsRecordDigestTypePtrOutputWithContext(ctx c }).(DsRecordDigestTypePtrOutput) } +func (o DsRecordDigestTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecordDigestType] { + return pulumix.Output[DsRecordDigestType]{ + OutputState: o.OutputState, + } +} + func (o DsRecordDigestTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -662,6 +723,12 @@ func (o DsRecordDigestTypePtrOutput) ToDsRecordDigestTypePtrOutputWithContext(ct return o } +func (o DsRecordDigestTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DsRecordDigestType] { + return pulumix.Output[*DsRecordDigestType]{ + OutputState: o.OutputState, + } +} + func (o DsRecordDigestTypePtrOutput) Elem() DsRecordDigestTypeOutput { return o.ApplyT(func(v *DsRecordDigestType) DsRecordDigestType { if v != nil { @@ -724,6 +791,12 @@ func (in *dsRecordDigestTypePtr) ToDsRecordDigestTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(DsRecordDigestTypePtrOutput) } +func (in *dsRecordDigestTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DsRecordDigestType] { + return pulumix.Output[*DsRecordDigestType]{ + OutputState: in.ToDsRecordDigestTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC. type GoogleDomainsDnsDsState string @@ -796,6 +869,12 @@ func (o GoogleDomainsDnsDsStateOutput) ToGoogleDomainsDnsDsStatePtrOutputWithCon }).(GoogleDomainsDnsDsStatePtrOutput) } +func (o GoogleDomainsDnsDsStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDnsDsState] { + return pulumix.Output[GoogleDomainsDnsDsState]{ + OutputState: o.OutputState, + } +} + func (o GoogleDomainsDnsDsStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -831,6 +910,12 @@ func (o GoogleDomainsDnsDsStatePtrOutput) ToGoogleDomainsDnsDsStatePtrOutputWith return o } +func (o GoogleDomainsDnsDsStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDnsDsState] { + return pulumix.Output[*GoogleDomainsDnsDsState]{ + OutputState: o.OutputState, + } +} + func (o GoogleDomainsDnsDsStatePtrOutput) Elem() GoogleDomainsDnsDsStateOutput { return o.ApplyT(func(v *GoogleDomainsDnsDsState) GoogleDomainsDnsDsState { if v != nil { @@ -893,6 +978,12 @@ func (in *googleDomainsDnsDsStatePtr) ToGoogleDomainsDnsDsStatePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(GoogleDomainsDnsDsStatePtrOutput) } +func (in *googleDomainsDnsDsStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDnsDsState] { + return pulumix.Output[*GoogleDomainsDnsDsState]{ + OutputState: in.ToGoogleDomainsDnsDsStatePtrOutputWithContext(ctx).OutputState, + } +} + // Controls whether the domain can be transferred to another registrar. type ManagementSettingsTransferLockState string @@ -965,6 +1056,12 @@ func (o ManagementSettingsTransferLockStateOutput) ToManagementSettingsTransferL }).(ManagementSettingsTransferLockStatePtrOutput) } +func (o ManagementSettingsTransferLockStateOutput) ToOutput(ctx context.Context) pulumix.Output[ManagementSettingsTransferLockState] { + return pulumix.Output[ManagementSettingsTransferLockState]{ + OutputState: o.OutputState, + } +} + func (o ManagementSettingsTransferLockStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1000,6 +1097,12 @@ func (o ManagementSettingsTransferLockStatePtrOutput) ToManagementSettingsTransf return o } +func (o ManagementSettingsTransferLockStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettingsTransferLockState] { + return pulumix.Output[*ManagementSettingsTransferLockState]{ + OutputState: o.OutputState, + } +} + func (o ManagementSettingsTransferLockStatePtrOutput) Elem() ManagementSettingsTransferLockStateOutput { return o.ApplyT(func(v *ManagementSettingsTransferLockState) ManagementSettingsTransferLockState { if v != nil { @@ -1062,6 +1165,12 @@ func (in *managementSettingsTransferLockStatePtr) ToManagementSettingsTransferLo return pulumi.ToOutputWithContext(ctx, in).(ManagementSettingsTransferLockStatePtrOutput) } +func (in *managementSettingsTransferLockStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettingsTransferLockState] { + return pulumix.Output[*ManagementSettingsTransferLockState]{ + OutputState: in.ToManagementSettingsTransferLockStatePtrOutputWithContext(ctx).OutputState, + } +} + type RegistrationContactNoticesItem string const ( @@ -1131,6 +1240,12 @@ func (o RegistrationContactNoticesItemOutput) ToRegistrationContactNoticesItemPt }).(RegistrationContactNoticesItemPtrOutput) } +func (o RegistrationContactNoticesItemOutput) ToOutput(ctx context.Context) pulumix.Output[RegistrationContactNoticesItem] { + return pulumix.Output[RegistrationContactNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationContactNoticesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1166,6 +1281,12 @@ func (o RegistrationContactNoticesItemPtrOutput) ToRegistrationContactNoticesIte return o } +func (o RegistrationContactNoticesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationContactNoticesItem] { + return pulumix.Output[*RegistrationContactNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationContactNoticesItemPtrOutput) Elem() RegistrationContactNoticesItemOutput { return o.ApplyT(func(v *RegistrationContactNoticesItem) RegistrationContactNoticesItem { if v != nil { @@ -1228,6 +1349,12 @@ func (in *registrationContactNoticesItemPtr) ToRegistrationContactNoticesItemPtr return pulumi.ToOutputWithContext(ctx, in).(RegistrationContactNoticesItemPtrOutput) } +func (in *registrationContactNoticesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RegistrationContactNoticesItem] { + return pulumix.Output[*RegistrationContactNoticesItem]{ + OutputState: in.ToRegistrationContactNoticesItemPtrOutputWithContext(ctx).OutputState, + } +} + // RegistrationContactNoticesItemArrayInput is an input type that accepts RegistrationContactNoticesItemArray and RegistrationContactNoticesItemArrayOutput values. // You can construct a concrete instance of `RegistrationContactNoticesItemArrayInput` via: // @@ -1253,6 +1380,12 @@ func (i RegistrationContactNoticesItemArray) ToRegistrationContactNoticesItemArr return pulumi.ToOutputWithContext(ctx, i).(RegistrationContactNoticesItemArrayOutput) } +func (i RegistrationContactNoticesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationContactNoticesItem] { + return pulumix.Output[[]RegistrationContactNoticesItem]{ + OutputState: i.ToRegistrationContactNoticesItemArrayOutputWithContext(ctx).OutputState, + } +} + type RegistrationContactNoticesItemArrayOutput struct{ *pulumi.OutputState } func (RegistrationContactNoticesItemArrayOutput) ElementType() reflect.Type { @@ -1267,6 +1400,12 @@ func (o RegistrationContactNoticesItemArrayOutput) ToRegistrationContactNoticesI return o } +func (o RegistrationContactNoticesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationContactNoticesItem] { + return pulumix.Output[[]RegistrationContactNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationContactNoticesItemArrayOutput) Index(i pulumi.IntInput) RegistrationContactNoticesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistrationContactNoticesItem { return vs[0].([]RegistrationContactNoticesItem)[vs[1].(int)] @@ -1342,6 +1481,12 @@ func (o RegistrationDomainNoticesItemOutput) ToRegistrationDomainNoticesItemPtrO }).(RegistrationDomainNoticesItemPtrOutput) } +func (o RegistrationDomainNoticesItemOutput) ToOutput(ctx context.Context) pulumix.Output[RegistrationDomainNoticesItem] { + return pulumix.Output[RegistrationDomainNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationDomainNoticesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1377,6 +1522,12 @@ func (o RegistrationDomainNoticesItemPtrOutput) ToRegistrationDomainNoticesItemP return o } +func (o RegistrationDomainNoticesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationDomainNoticesItem] { + return pulumix.Output[*RegistrationDomainNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationDomainNoticesItemPtrOutput) Elem() RegistrationDomainNoticesItemOutput { return o.ApplyT(func(v *RegistrationDomainNoticesItem) RegistrationDomainNoticesItem { if v != nil { @@ -1439,6 +1590,12 @@ func (in *registrationDomainNoticesItemPtr) ToRegistrationDomainNoticesItemPtrOu return pulumi.ToOutputWithContext(ctx, in).(RegistrationDomainNoticesItemPtrOutput) } +func (in *registrationDomainNoticesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RegistrationDomainNoticesItem] { + return pulumix.Output[*RegistrationDomainNoticesItem]{ + OutputState: in.ToRegistrationDomainNoticesItemPtrOutputWithContext(ctx).OutputState, + } +} + // RegistrationDomainNoticesItemArrayInput is an input type that accepts RegistrationDomainNoticesItemArray and RegistrationDomainNoticesItemArrayOutput values. // You can construct a concrete instance of `RegistrationDomainNoticesItemArrayInput` via: // @@ -1464,6 +1621,12 @@ func (i RegistrationDomainNoticesItemArray) ToRegistrationDomainNoticesItemArray return pulumi.ToOutputWithContext(ctx, i).(RegistrationDomainNoticesItemArrayOutput) } +func (i RegistrationDomainNoticesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationDomainNoticesItem] { + return pulumix.Output[[]RegistrationDomainNoticesItem]{ + OutputState: i.ToRegistrationDomainNoticesItemArrayOutputWithContext(ctx).OutputState, + } +} + type RegistrationDomainNoticesItemArrayOutput struct{ *pulumi.OutputState } func (RegistrationDomainNoticesItemArrayOutput) ElementType() reflect.Type { @@ -1478,6 +1641,12 @@ func (o RegistrationDomainNoticesItemArrayOutput) ToRegistrationDomainNoticesIte return o } +func (o RegistrationDomainNoticesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationDomainNoticesItem] { + return pulumix.Output[[]RegistrationDomainNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationDomainNoticesItemArrayOutput) Index(i pulumi.IntInput) RegistrationDomainNoticesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistrationDomainNoticesItem { return vs[0].([]RegistrationDomainNoticesItem)[vs[1].(int)] diff --git a/sdk/go/google/domains/v1alpha2/pulumiTypes.go b/sdk/go/google/domains/v1alpha2/pulumiTypes.go index 81d0d8d9e2..b2dfdc069d 100644 --- a/sdk/go/google/domains/v1alpha2/pulumiTypes.go +++ b/sdk/go/google/domains/v1alpha2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ContactArgs) ToContactOutputWithContext(ctx context.Context) ContactOutp return pulumi.ToOutputWithContext(ctx, i).(ContactOutput) } +func (i ContactArgs) ToOutput(ctx context.Context) pulumix.Output[Contact] { + return pulumix.Output[Contact]{ + OutputState: i.ToContactOutputWithContext(ctx).OutputState, + } +} + // Details required for a contact associated with a `Registration`. type ContactOutput struct{ *pulumi.OutputState } @@ -577,6 +692,12 @@ func (o ContactOutput) ToContactOutputWithContext(ctx context.Context) ContactOu return o } +func (o ContactOutput) ToOutput(ctx context.Context) pulumix.Output[Contact] { + return pulumix.Output[Contact]{ + OutputState: o.OutputState, + } +} + // Email address of the contact. func (o ContactOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v Contact) string { return v.Email }).(pulumi.StringOutput) @@ -624,6 +745,12 @@ func (o ContactResponseOutput) ToContactResponseOutputWithContext(ctx context.Co return o } +func (o ContactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContactResponse] { + return pulumix.Output[ContactResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the contact. func (o ContactResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ContactResponse) string { return v.Email }).(pulumi.StringOutput) @@ -691,6 +818,12 @@ func (i ContactSettingsArgs) ToContactSettingsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ContactSettingsOutput) } +func (i ContactSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ContactSettings] { + return pulumix.Output[ContactSettings]{ + OutputState: i.ToContactSettingsOutputWithContext(ctx).OutputState, + } +} + // Defines the contact information associated with a `Registration`. [ICANN](https://icann.org/) requires all domain names to have associated contact information. The `registrant_contact` is considered the domain's legal owner, and often the other contacts are identical. type ContactSettingsOutput struct{ *pulumi.OutputState } @@ -706,6 +839,12 @@ func (o ContactSettingsOutput) ToContactSettingsOutputWithContext(ctx context.Co return o } +func (o ContactSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ContactSettings] { + return pulumix.Output[ContactSettings]{ + OutputState: o.OutputState, + } +} + // The administrative contact for the `Registration`. func (o ContactSettingsOutput) AdminContact() ContactOutput { return o.ApplyT(func(v ContactSettings) Contact { return v.AdminContact }).(ContactOutput) @@ -753,6 +892,12 @@ func (o ContactSettingsResponseOutput) ToContactSettingsResponseOutputWithContex return o } +func (o ContactSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContactSettingsResponse] { + return pulumix.Output[ContactSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The administrative contact for the `Registration`. func (o ContactSettingsResponseOutput) AdminContact() ContactResponseOutput { return o.ApplyT(func(v ContactSettingsResponse) ContactResponse { return v.AdminContact }).(ContactResponseOutput) @@ -812,6 +957,12 @@ func (i CustomDnsArgs) ToCustomDnsOutputWithContext(ctx context.Context) CustomD return pulumi.ToOutputWithContext(ctx, i).(CustomDnsOutput) } +func (i CustomDnsArgs) ToOutput(ctx context.Context) pulumix.Output[CustomDns] { + return pulumix.Output[CustomDns]{ + OutputState: i.ToCustomDnsOutputWithContext(ctx).OutputState, + } +} + func (i CustomDnsArgs) ToCustomDnsPtrOutput() CustomDnsPtrOutput { return i.ToCustomDnsPtrOutputWithContext(context.Background()) } @@ -853,6 +1004,12 @@ func (i *customDnsPtrType) ToCustomDnsPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(CustomDnsPtrOutput) } +func (i *customDnsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomDns] { + return pulumix.Output[*CustomDns]{ + OutputState: i.ToCustomDnsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for an arbitrary DNS provider. type CustomDnsOutput struct{ *pulumi.OutputState } @@ -878,6 +1035,12 @@ func (o CustomDnsOutput) ToCustomDnsPtrOutputWithContext(ctx context.Context) Cu }).(CustomDnsPtrOutput) } +func (o CustomDnsOutput) ToOutput(ctx context.Context) pulumix.Output[CustomDns] { + return pulumix.Output[CustomDns]{ + OutputState: o.OutputState, + } +} + // The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled. func (o CustomDnsOutput) DsRecords() DsRecordArrayOutput { return o.ApplyT(func(v CustomDns) []DsRecord { return v.DsRecords }).(DsRecordArrayOutput) @@ -902,6 +1065,12 @@ func (o CustomDnsPtrOutput) ToCustomDnsPtrOutputWithContext(ctx context.Context) return o } +func (o CustomDnsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomDns] { + return pulumix.Output[*CustomDns]{ + OutputState: o.OutputState, + } +} + func (o CustomDnsPtrOutput) Elem() CustomDnsOutput { return o.ApplyT(func(v *CustomDns) CustomDns { if v != nil { @@ -955,6 +1124,12 @@ func (o CustomDnsResponseOutput) ToCustomDnsResponseOutputWithContext(ctx contex return o } +func (o CustomDnsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomDnsResponse] { + return pulumix.Output[CustomDnsResponse]{ + OutputState: o.OutputState, + } +} + // The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled. func (o CustomDnsResponseOutput) DsRecords() DsRecordResponseArrayOutput { return o.ApplyT(func(v CustomDnsResponse) []DsRecordResponse { return v.DsRecords }).(DsRecordResponseArrayOutput) @@ -1008,6 +1183,12 @@ func (i DnsSettingsArgs) ToDnsSettingsOutputWithContext(ctx context.Context) Dns return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsOutput) } +func (i DnsSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[DnsSettings] { + return pulumix.Output[DnsSettings]{ + OutputState: i.ToDnsSettingsOutputWithContext(ctx).OutputState, + } +} + func (i DnsSettingsArgs) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput { return i.ToDnsSettingsPtrOutputWithContext(context.Background()) } @@ -1049,6 +1230,12 @@ func (i *dnsSettingsPtrType) ToDnsSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsPtrOutput) } +func (i *dnsSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DnsSettings] { + return pulumix.Output[*DnsSettings]{ + OutputState: i.ToDnsSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the DNS configuration of a `Registration`, including name servers, DNSSEC, and glue records. type DnsSettingsOutput struct{ *pulumi.OutputState } @@ -1074,6 +1261,12 @@ func (o DnsSettingsOutput) ToDnsSettingsPtrOutputWithContext(ctx context.Context }).(DnsSettingsPtrOutput) } +func (o DnsSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[DnsSettings] { + return pulumix.Output[DnsSettings]{ + OutputState: o.OutputState, + } +} + // An arbitrary DNS provider identified by its name servers. func (o DnsSettingsOutput) CustomDns() CustomDnsPtrOutput { return o.ApplyT(func(v DnsSettings) *CustomDns { return v.CustomDns }).(CustomDnsPtrOutput) @@ -1103,6 +1296,12 @@ func (o DnsSettingsPtrOutput) ToDnsSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o DnsSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DnsSettings] { + return pulumix.Output[*DnsSettings]{ + OutputState: o.OutputState, + } +} + func (o DnsSettingsPtrOutput) Elem() DnsSettingsOutput { return o.ApplyT(func(v *DnsSettings) DnsSettings { if v != nil { @@ -1168,6 +1367,12 @@ func (o DnsSettingsResponseOutput) ToDnsSettingsResponseOutputWithContext(ctx co return o } +func (o DnsSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DnsSettingsResponse] { + return pulumix.Output[DnsSettingsResponse]{ + OutputState: o.OutputState, + } +} + // An arbitrary DNS provider identified by its name servers. func (o DnsSettingsResponseOutput) CustomDns() CustomDnsResponseOutput { return o.ApplyT(func(v DnsSettingsResponse) CustomDnsResponse { return v.CustomDns }).(CustomDnsResponseOutput) @@ -1230,6 +1435,12 @@ func (i DsRecordArgs) ToDsRecordOutputWithContext(ctx context.Context) DsRecordO return pulumi.ToOutputWithContext(ctx, i).(DsRecordOutput) } +func (i DsRecordArgs) ToOutput(ctx context.Context) pulumix.Output[DsRecord] { + return pulumix.Output[DsRecord]{ + OutputState: i.ToDsRecordOutputWithContext(ctx).OutputState, + } +} + // DsRecordArrayInput is an input type that accepts DsRecordArray and DsRecordArrayOutput values. // You can construct a concrete instance of `DsRecordArrayInput` via: // @@ -1255,6 +1466,12 @@ func (i DsRecordArray) ToDsRecordArrayOutputWithContext(ctx context.Context) DsR return pulumi.ToOutputWithContext(ctx, i).(DsRecordArrayOutput) } +func (i DsRecordArray) ToOutput(ctx context.Context) pulumix.Output[[]DsRecord] { + return pulumix.Output[[]DsRecord]{ + OutputState: i.ToDsRecordArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone. type DsRecordOutput struct{ *pulumi.OutputState } @@ -1270,6 +1487,12 @@ func (o DsRecordOutput) ToDsRecordOutputWithContext(ctx context.Context) DsRecor return o } +func (o DsRecordOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecord] { + return pulumix.Output[DsRecord]{ + OutputState: o.OutputState, + } +} + // The algorithm used to generate the referenced DNSKEY. func (o DsRecordOutput) Algorithm() DsRecordAlgorithmPtrOutput { return o.ApplyT(func(v DsRecord) *DsRecordAlgorithm { return v.Algorithm }).(DsRecordAlgorithmPtrOutput) @@ -1304,6 +1527,12 @@ func (o DsRecordArrayOutput) ToDsRecordArrayOutputWithContext(ctx context.Contex return o } +func (o DsRecordArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DsRecord] { + return pulumix.Output[[]DsRecord]{ + OutputState: o.OutputState, + } +} + func (o DsRecordArrayOutput) Index(i pulumi.IntInput) DsRecordOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DsRecord { return vs[0].([]DsRecord)[vs[1].(int)] @@ -1337,6 +1566,12 @@ func (o DsRecordResponseOutput) ToDsRecordResponseOutputWithContext(ctx context. return o } +func (o DsRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecordResponse] { + return pulumix.Output[DsRecordResponse]{ + OutputState: o.OutputState, + } +} + // The algorithm used to generate the referenced DNSKEY. func (o DsRecordResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v DsRecordResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -1371,6 +1606,12 @@ func (o DsRecordResponseArrayOutput) ToDsRecordResponseArrayOutputWithContext(ct return o } +func (o DsRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DsRecordResponse] { + return pulumix.Output[[]DsRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o DsRecordResponseArrayOutput) Index(i pulumi.IntInput) DsRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DsRecordResponse { return vs[0].([]DsRecordResponse)[vs[1].(int)] @@ -1424,6 +1665,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1465,6 +1712,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1490,6 +1743,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1524,6 +1783,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1601,6 +1866,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1664,6 +1935,12 @@ func (i GlueRecordArgs) ToGlueRecordOutputWithContext(ctx context.Context) GlueR return pulumi.ToOutputWithContext(ctx, i).(GlueRecordOutput) } +func (i GlueRecordArgs) ToOutput(ctx context.Context) pulumix.Output[GlueRecord] { + return pulumix.Output[GlueRecord]{ + OutputState: i.ToGlueRecordOutputWithContext(ctx).OutputState, + } +} + // GlueRecordArrayInput is an input type that accepts GlueRecordArray and GlueRecordArrayOutput values. // You can construct a concrete instance of `GlueRecordArrayInput` via: // @@ -1689,6 +1966,12 @@ func (i GlueRecordArray) ToGlueRecordArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GlueRecordArrayOutput) } +func (i GlueRecordArray) ToOutput(ctx context.Context) pulumix.Output[[]GlueRecord] { + return pulumix.Output[[]GlueRecord]{ + OutputState: i.ToGlueRecordArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a host on your domain that is a DNS name server for your domain and/or other domains. Glue records are a way of making the IP address of a name server known, even when it serves DNS queries for its parent domain. For example, when `ns.example.com` is a name server for `example.com`, the host `ns.example.com` must have a glue record to break the circular DNS reference. type GlueRecordOutput struct{ *pulumi.OutputState } @@ -1704,6 +1987,12 @@ func (o GlueRecordOutput) ToGlueRecordOutputWithContext(ctx context.Context) Glu return o } +func (o GlueRecordOutput) ToOutput(ctx context.Context) pulumix.Output[GlueRecord] { + return pulumix.Output[GlueRecord]{ + OutputState: o.OutputState, + } +} + // Domain name of the host in Punycode format. func (o GlueRecordOutput) HostName() pulumi.StringOutput { return o.ApplyT(func(v GlueRecord) string { return v.HostName }).(pulumi.StringOutput) @@ -1733,6 +2022,12 @@ func (o GlueRecordArrayOutput) ToGlueRecordArrayOutputWithContext(ctx context.Co return o } +func (o GlueRecordArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GlueRecord] { + return pulumix.Output[[]GlueRecord]{ + OutputState: o.OutputState, + } +} + func (o GlueRecordArrayOutput) Index(i pulumi.IntInput) GlueRecordOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GlueRecord { return vs[0].([]GlueRecord)[vs[1].(int)] @@ -1764,6 +2059,12 @@ func (o GlueRecordResponseOutput) ToGlueRecordResponseOutputWithContext(ctx cont return o } +func (o GlueRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GlueRecordResponse] { + return pulumix.Output[GlueRecordResponse]{ + OutputState: o.OutputState, + } +} + // Domain name of the host in Punycode format. func (o GlueRecordResponseOutput) HostName() pulumi.StringOutput { return o.ApplyT(func(v GlueRecordResponse) string { return v.HostName }).(pulumi.StringOutput) @@ -1793,6 +2094,12 @@ func (o GlueRecordResponseArrayOutput) ToGlueRecordResponseArrayOutputWithContex return o } +func (o GlueRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GlueRecordResponse] { + return pulumix.Output[[]GlueRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o GlueRecordResponseArrayOutput) Index(i pulumi.IntInput) GlueRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GlueRecordResponse { return vs[0].([]GlueRecordResponse)[vs[1].(int)] @@ -1834,6 +2141,12 @@ func (i GoogleDomainsDnsArgs) ToGoogleDomainsDnsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GoogleDomainsDnsOutput) } +func (i GoogleDomainsDnsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDns] { + return pulumix.Output[GoogleDomainsDns]{ + OutputState: i.ToGoogleDomainsDnsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDomainsDnsArgs) ToGoogleDomainsDnsPtrOutput() GoogleDomainsDnsPtrOutput { return i.ToGoogleDomainsDnsPtrOutputWithContext(context.Background()) } @@ -1875,6 +2188,12 @@ func (i *googleDomainsDnsPtrType) ToGoogleDomainsDnsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GoogleDomainsDnsPtrOutput) } +func (i *googleDomainsDnsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDns] { + return pulumix.Output[*GoogleDomainsDns]{ + OutputState: i.ToGoogleDomainsDnsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for using the free DNS zone provided by Google Domains as a `Registration`'s `dns_provider`. You cannot configure the DNS zone itself using the API. To configure the DNS zone, go to [Google Domains](https://domains.google/). type GoogleDomainsDnsOutput struct{ *pulumi.OutputState } @@ -1900,6 +2219,12 @@ func (o GoogleDomainsDnsOutput) ToGoogleDomainsDnsPtrOutputWithContext(ctx conte }).(GoogleDomainsDnsPtrOutput) } +func (o GoogleDomainsDnsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDns] { + return pulumix.Output[GoogleDomainsDns]{ + OutputState: o.OutputState, + } +} + // The state of DS records for this domain. Used to enable or disable automatic DNSSEC. func (o GoogleDomainsDnsOutput) DsState() GoogleDomainsDnsDsStateOutput { return o.ApplyT(func(v GoogleDomainsDns) GoogleDomainsDnsDsState { return v.DsState }).(GoogleDomainsDnsDsStateOutput) @@ -1919,6 +2244,12 @@ func (o GoogleDomainsDnsPtrOutput) ToGoogleDomainsDnsPtrOutputWithContext(ctx co return o } +func (o GoogleDomainsDnsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDns] { + return pulumix.Output[*GoogleDomainsDns]{ + OutputState: o.OutputState, + } +} + func (o GoogleDomainsDnsPtrOutput) Elem() GoogleDomainsDnsOutput { return o.ApplyT(func(v *GoogleDomainsDns) GoogleDomainsDns { if v != nil { @@ -1964,6 +2295,12 @@ func (o GoogleDomainsDnsResponseOutput) ToGoogleDomainsDnsResponseOutputWithCont return o } +func (o GoogleDomainsDnsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDnsResponse] { + return pulumix.Output[GoogleDomainsDnsResponse]{ + OutputState: o.OutputState, + } +} + // The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty. func (o GoogleDomainsDnsResponseOutput) DsRecords() DsRecordResponseArrayOutput { return o.ApplyT(func(v GoogleDomainsDnsResponse) []DsRecordResponse { return v.DsRecords }).(DsRecordResponseArrayOutput) @@ -2014,6 +2351,12 @@ func (i ManagementSettingsArgs) ToManagementSettingsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ManagementSettingsOutput) } +func (i ManagementSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ManagementSettings] { + return pulumix.Output[ManagementSettings]{ + OutputState: i.ToManagementSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ManagementSettingsArgs) ToManagementSettingsPtrOutput() ManagementSettingsPtrOutput { return i.ToManagementSettingsPtrOutputWithContext(context.Background()) } @@ -2055,6 +2398,12 @@ func (i *managementSettingsPtrType) ToManagementSettingsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ManagementSettingsPtrOutput) } +func (i *managementSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettings] { + return pulumix.Output[*ManagementSettings]{ + OutputState: i.ToManagementSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Defines renewal, billing, and transfer settings for a `Registration`. type ManagementSettingsOutput struct{ *pulumi.OutputState } @@ -2080,6 +2429,12 @@ func (o ManagementSettingsOutput) ToManagementSettingsPtrOutputWithContext(ctx c }).(ManagementSettingsPtrOutput) } +func (o ManagementSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ManagementSettings] { + return pulumix.Output[ManagementSettings]{ + OutputState: o.OutputState, + } +} + // Controls whether the domain can be transferred to another registrar. func (o ManagementSettingsOutput) TransferLockState() ManagementSettingsTransferLockStatePtrOutput { return o.ApplyT(func(v ManagementSettings) *ManagementSettingsTransferLockState { return v.TransferLockState }).(ManagementSettingsTransferLockStatePtrOutput) @@ -2099,6 +2454,12 @@ func (o ManagementSettingsPtrOutput) ToManagementSettingsPtrOutputWithContext(ct return o } +func (o ManagementSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettings] { + return pulumix.Output[*ManagementSettings]{ + OutputState: o.OutputState, + } +} + func (o ManagementSettingsPtrOutput) Elem() ManagementSettingsOutput { return o.ApplyT(func(v *ManagementSettings) ManagementSettings { if v != nil { @@ -2142,6 +2503,12 @@ func (o ManagementSettingsResponseOutput) ToManagementSettingsResponseOutputWith return o } +func (o ManagementSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagementSettingsResponse] { + return pulumix.Output[ManagementSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The renewal method for this `Registration`. func (o ManagementSettingsResponseOutput) RenewalMethod() pulumi.StringOutput { return o.ApplyT(func(v ManagementSettingsResponse) string { return v.RenewalMethod }).(pulumi.StringOutput) @@ -2195,6 +2562,12 @@ func (i MoneyArgs) ToMoneyOutputWithContext(ctx context.Context) MoneyOutput { return pulumi.ToOutputWithContext(ctx, i).(MoneyOutput) } +func (i MoneyArgs) ToOutput(ctx context.Context) pulumix.Output[Money] { + return pulumix.Output[Money]{ + OutputState: i.ToMoneyOutputWithContext(ctx).OutputState, + } +} + // Represents an amount of money with its currency type. type MoneyOutput struct{ *pulumi.OutputState } @@ -2210,6 +2583,12 @@ func (o MoneyOutput) ToMoneyOutputWithContext(ctx context.Context) MoneyOutput { return o } +func (o MoneyOutput) ToOutput(ctx context.Context) pulumix.Output[Money] { + return pulumix.Output[Money]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o MoneyOutput) CurrencyCode() pulumi.StringPtrOutput { return o.ApplyT(func(v Money) *string { return v.CurrencyCode }).(pulumi.StringPtrOutput) @@ -2300,6 +2679,12 @@ func (i PostalAddressArgs) ToPostalAddressOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PostalAddressOutput) } +func (i PostalAddressArgs) ToOutput(ctx context.Context) pulumix.Output[PostalAddress] { + return pulumix.Output[PostalAddress]{ + OutputState: i.ToPostalAddressOutputWithContext(ctx).OutputState, + } +} + // Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 type PostalAddressOutput struct{ *pulumi.OutputState } @@ -2315,6 +2700,12 @@ func (o PostalAddressOutput) ToPostalAddressOutputWithContext(ctx context.Contex return o } +func (o PostalAddressOutput) ToOutput(ctx context.Context) pulumix.Output[PostalAddress] { + return pulumix.Output[PostalAddress]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o PostalAddressOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v PostalAddress) []string { return v.AddressLines }).(pulumi.StringArrayOutput) @@ -2411,6 +2802,12 @@ func (o PostalAddressResponseOutput) ToPostalAddressResponseOutputWithContext(ct return o } +func (o PostalAddressResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostalAddressResponse] { + return pulumix.Output[PostalAddressResponse]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o PostalAddressResponseOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v PostalAddressResponse) []string { return v.AddressLines }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/domains/v1alpha2/registration.go b/sdk/go/google/domains/v1alpha2/registration.go index 323b0b0c7b..808803a023 100644 --- a/sdk/go/google/domains/v1alpha2/registration.go +++ b/sdk/go/google/domains/v1alpha2/registration.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Registers a new domain name and creates a corresponding `Registration` resource. Call `RetrieveRegisterParameters` first to check availability of the domain name and determine parameters like price that are needed to build a call to this method. A successful call creates a `Registration` resource in state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes, indicating that the domain was successfully registered. If the resource ends up in state `REGISTRATION_FAILED`, it indicates that the domain was not registered successfully, and you can safely delete the resource and retry registration. @@ -172,6 +173,12 @@ func (i *Registration) ToRegistrationOutputWithContext(ctx context.Context) Regi return pulumi.ToOutputWithContext(ctx, i).(RegistrationOutput) } +func (i *Registration) ToOutput(ctx context.Context) pulumix.Output[*Registration] { + return pulumix.Output[*Registration]{ + OutputState: i.ToRegistrationOutputWithContext(ctx).OutputState, + } +} + type RegistrationOutput struct{ *pulumi.OutputState } func (RegistrationOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o RegistrationOutput) ToRegistrationOutputWithContext(ctx context.Context) return o } +func (o RegistrationOutput) ToOutput(ctx context.Context) pulumix.Output[*Registration] { + return pulumix.Output[*Registration]{ + OutputState: o.OutputState, + } +} + // Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method. func (o RegistrationOutput) ContactSettings() ContactSettingsResponseOutput { return o.ApplyT(func(v *Registration) ContactSettingsResponseOutput { return v.ContactSettings }).(ContactSettingsResponseOutput) diff --git a/sdk/go/google/domains/v1alpha2/registrationIamBinding.go b/sdk/go/google/domains/v1alpha2/registrationIamBinding.go index 5354c50b81..fde6c65c7d 100644 --- a/sdk/go/google/domains/v1alpha2/registrationIamBinding.go +++ b/sdk/go/google/domains/v1alpha2/registrationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RegistrationIamBinding) ToRegistrationIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegistrationIamBindingOutput) } +func (i *RegistrationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamBinding] { + return pulumix.Output[*RegistrationIamBinding]{ + OutputState: i.ToRegistrationIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegistrationIamBindingOutput struct{ *pulumi.OutputState } func (RegistrationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationIamBindingOutput) ToRegistrationIamBindingOutputWithContext( return o } +func (o RegistrationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamBinding] { + return pulumix.Output[*RegistrationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistrationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistrationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/domains/v1alpha2/registrationIamMember.go b/sdk/go/google/domains/v1alpha2/registrationIamMember.go index 84b4d57c7b..37a8669b2a 100644 --- a/sdk/go/google/domains/v1alpha2/registrationIamMember.go +++ b/sdk/go/google/domains/v1alpha2/registrationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RegistrationIamMember) ToRegistrationIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegistrationIamMemberOutput) } +func (i *RegistrationIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamMember] { + return pulumix.Output[*RegistrationIamMember]{ + OutputState: i.ToRegistrationIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegistrationIamMemberOutput struct{ *pulumi.OutputState } func (RegistrationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationIamMemberOutput) ToRegistrationIamMemberOutputWithContext(ct return o } +func (o RegistrationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamMember] { + return pulumix.Output[*RegistrationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistrationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistrationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/domains/v1alpha2/registrationIamPolicy.go b/sdk/go/google/domains/v1alpha2/registrationIamPolicy.go index 5c72c5e2d9..0dcf946d52 100644 --- a/sdk/go/google/domains/v1alpha2/registrationIamPolicy.go +++ b/sdk/go/google/domains/v1alpha2/registrationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RegistrationIamPolicy) ToRegistrationIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegistrationIamPolicyOutput) } +func (i *RegistrationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamPolicy] { + return pulumix.Output[*RegistrationIamPolicy]{ + OutputState: i.ToRegistrationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegistrationIamPolicyOutput struct{ *pulumi.OutputState } func (RegistrationIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationIamPolicyOutput) ToRegistrationIamPolicyOutputWithContext(ct return o } +func (o RegistrationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamPolicy] { + return pulumix.Output[*RegistrationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegistrationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegistrationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/domains/v1beta1/getRegistration.go b/sdk/go/google/domains/v1beta1/getRegistration.go index 577255f620..ef08d7f323 100644 --- a/sdk/go/google/domains/v1beta1/getRegistration.go +++ b/sdk/go/google/domains/v1beta1/getRegistration.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a `Registration` resource. @@ -96,6 +97,12 @@ func (o LookupRegistrationResultOutput) ToLookupRegistrationResultOutputWithCont return o } +func (o LookupRegistrationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegistrationResult] { + return pulumix.Output[LookupRegistrationResult]{ + OutputState: o.OutputState, + } +} + // Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method. func (o LookupRegistrationResultOutput) ContactSettings() ContactSettingsResponseOutput { return o.ApplyT(func(v LookupRegistrationResult) ContactSettingsResponse { return v.ContactSettings }).(ContactSettingsResponseOutput) diff --git a/sdk/go/google/domains/v1beta1/getRegistrationIamPolicy.go b/sdk/go/google/domains/v1beta1/getRegistrationIamPolicy.go index 4923c28f41..483d7b4ce8 100644 --- a/sdk/go/google/domains/v1beta1/getRegistrationIamPolicy.go +++ b/sdk/go/google/domains/v1beta1/getRegistrationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupRegistrationIamPolicyResultOutput) ToLookupRegistrationIamPolicyRe return o } +func (o LookupRegistrationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegistrationIamPolicyResult] { + return pulumix.Output[LookupRegistrationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRegistrationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRegistrationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/domains/v1beta1/pulumiEnums.go b/sdk/go/google/domains/v1beta1/pulumiEnums.go index 26a965df79..a88c6bc0af 100644 --- a/sdk/go/google/domains/v1beta1/pulumiEnums.go +++ b/sdk/go/google/domains/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Privacy setting for the contacts associated with the `Registration`. type ContactSettingsPrivacy string @@ -255,6 +274,12 @@ func (o ContactSettingsPrivacyOutput) ToContactSettingsPrivacyPtrOutputWithConte }).(ContactSettingsPrivacyPtrOutput) } +func (o ContactSettingsPrivacyOutput) ToOutput(ctx context.Context) pulumix.Output[ContactSettingsPrivacy] { + return pulumix.Output[ContactSettingsPrivacy]{ + OutputState: o.OutputState, + } +} + func (o ContactSettingsPrivacyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o ContactSettingsPrivacyPtrOutput) ToContactSettingsPrivacyPtrOutputWithCo return o } +func (o ContactSettingsPrivacyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ContactSettingsPrivacy] { + return pulumix.Output[*ContactSettingsPrivacy]{ + OutputState: o.OutputState, + } +} + func (o ContactSettingsPrivacyPtrOutput) Elem() ContactSettingsPrivacyOutput { return o.ApplyT(func(v *ContactSettingsPrivacy) ContactSettingsPrivacy { if v != nil { @@ -352,6 +383,12 @@ func (in *contactSettingsPrivacyPtr) ToContactSettingsPrivacyPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ContactSettingsPrivacyPtrOutput) } +func (in *contactSettingsPrivacyPtr) ToOutput(ctx context.Context) pulumix.Output[*ContactSettingsPrivacy] { + return pulumix.Output[*ContactSettingsPrivacy]{ + OutputState: in.ToContactSettingsPrivacyPtrOutputWithContext(ctx).OutputState, + } +} + // The algorithm used to generate the referenced DNSKEY. type DsRecordAlgorithm string @@ -454,6 +491,12 @@ func (o DsRecordAlgorithmOutput) ToDsRecordAlgorithmPtrOutputWithContext(ctx con }).(DsRecordAlgorithmPtrOutput) } +func (o DsRecordAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecordAlgorithm] { + return pulumix.Output[DsRecordAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o DsRecordAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -489,6 +532,12 @@ func (o DsRecordAlgorithmPtrOutput) ToDsRecordAlgorithmPtrOutputWithContext(ctx return o } +func (o DsRecordAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DsRecordAlgorithm] { + return pulumix.Output[*DsRecordAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o DsRecordAlgorithmPtrOutput) Elem() DsRecordAlgorithmOutput { return o.ApplyT(func(v *DsRecordAlgorithm) DsRecordAlgorithm { if v != nil { @@ -551,6 +600,12 @@ func (in *dsRecordAlgorithmPtr) ToDsRecordAlgorithmPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(DsRecordAlgorithmPtrOutput) } +func (in *dsRecordAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*DsRecordAlgorithm] { + return pulumix.Output[*DsRecordAlgorithm]{ + OutputState: in.ToDsRecordAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // The hash function used to generate the digest of the referenced DNSKEY. type DsRecordDigestType string @@ -627,6 +682,12 @@ func (o DsRecordDigestTypeOutput) ToDsRecordDigestTypePtrOutputWithContext(ctx c }).(DsRecordDigestTypePtrOutput) } +func (o DsRecordDigestTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecordDigestType] { + return pulumix.Output[DsRecordDigestType]{ + OutputState: o.OutputState, + } +} + func (o DsRecordDigestTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -662,6 +723,12 @@ func (o DsRecordDigestTypePtrOutput) ToDsRecordDigestTypePtrOutputWithContext(ct return o } +func (o DsRecordDigestTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DsRecordDigestType] { + return pulumix.Output[*DsRecordDigestType]{ + OutputState: o.OutputState, + } +} + func (o DsRecordDigestTypePtrOutput) Elem() DsRecordDigestTypeOutput { return o.ApplyT(func(v *DsRecordDigestType) DsRecordDigestType { if v != nil { @@ -724,6 +791,12 @@ func (in *dsRecordDigestTypePtr) ToDsRecordDigestTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(DsRecordDigestTypePtrOutput) } +func (in *dsRecordDigestTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DsRecordDigestType] { + return pulumix.Output[*DsRecordDigestType]{ + OutputState: in.ToDsRecordDigestTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC. type GoogleDomainsDnsDsState string @@ -796,6 +869,12 @@ func (o GoogleDomainsDnsDsStateOutput) ToGoogleDomainsDnsDsStatePtrOutputWithCon }).(GoogleDomainsDnsDsStatePtrOutput) } +func (o GoogleDomainsDnsDsStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDnsDsState] { + return pulumix.Output[GoogleDomainsDnsDsState]{ + OutputState: o.OutputState, + } +} + func (o GoogleDomainsDnsDsStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -831,6 +910,12 @@ func (o GoogleDomainsDnsDsStatePtrOutput) ToGoogleDomainsDnsDsStatePtrOutputWith return o } +func (o GoogleDomainsDnsDsStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDnsDsState] { + return pulumix.Output[*GoogleDomainsDnsDsState]{ + OutputState: o.OutputState, + } +} + func (o GoogleDomainsDnsDsStatePtrOutput) Elem() GoogleDomainsDnsDsStateOutput { return o.ApplyT(func(v *GoogleDomainsDnsDsState) GoogleDomainsDnsDsState { if v != nil { @@ -893,6 +978,12 @@ func (in *googleDomainsDnsDsStatePtr) ToGoogleDomainsDnsDsStatePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(GoogleDomainsDnsDsStatePtrOutput) } +func (in *googleDomainsDnsDsStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDnsDsState] { + return pulumix.Output[*GoogleDomainsDnsDsState]{ + OutputState: in.ToGoogleDomainsDnsDsStatePtrOutputWithContext(ctx).OutputState, + } +} + // Controls whether the domain can be transferred to another registrar. type ManagementSettingsTransferLockState string @@ -965,6 +1056,12 @@ func (o ManagementSettingsTransferLockStateOutput) ToManagementSettingsTransferL }).(ManagementSettingsTransferLockStatePtrOutput) } +func (o ManagementSettingsTransferLockStateOutput) ToOutput(ctx context.Context) pulumix.Output[ManagementSettingsTransferLockState] { + return pulumix.Output[ManagementSettingsTransferLockState]{ + OutputState: o.OutputState, + } +} + func (o ManagementSettingsTransferLockStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1000,6 +1097,12 @@ func (o ManagementSettingsTransferLockStatePtrOutput) ToManagementSettingsTransf return o } +func (o ManagementSettingsTransferLockStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettingsTransferLockState] { + return pulumix.Output[*ManagementSettingsTransferLockState]{ + OutputState: o.OutputState, + } +} + func (o ManagementSettingsTransferLockStatePtrOutput) Elem() ManagementSettingsTransferLockStateOutput { return o.ApplyT(func(v *ManagementSettingsTransferLockState) ManagementSettingsTransferLockState { if v != nil { @@ -1062,6 +1165,12 @@ func (in *managementSettingsTransferLockStatePtr) ToManagementSettingsTransferLo return pulumi.ToOutputWithContext(ctx, in).(ManagementSettingsTransferLockStatePtrOutput) } +func (in *managementSettingsTransferLockStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettingsTransferLockState] { + return pulumix.Output[*ManagementSettingsTransferLockState]{ + OutputState: in.ToManagementSettingsTransferLockStatePtrOutputWithContext(ctx).OutputState, + } +} + type RegistrationContactNoticesItem string const ( @@ -1131,6 +1240,12 @@ func (o RegistrationContactNoticesItemOutput) ToRegistrationContactNoticesItemPt }).(RegistrationContactNoticesItemPtrOutput) } +func (o RegistrationContactNoticesItemOutput) ToOutput(ctx context.Context) pulumix.Output[RegistrationContactNoticesItem] { + return pulumix.Output[RegistrationContactNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationContactNoticesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1166,6 +1281,12 @@ func (o RegistrationContactNoticesItemPtrOutput) ToRegistrationContactNoticesIte return o } +func (o RegistrationContactNoticesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationContactNoticesItem] { + return pulumix.Output[*RegistrationContactNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationContactNoticesItemPtrOutput) Elem() RegistrationContactNoticesItemOutput { return o.ApplyT(func(v *RegistrationContactNoticesItem) RegistrationContactNoticesItem { if v != nil { @@ -1228,6 +1349,12 @@ func (in *registrationContactNoticesItemPtr) ToRegistrationContactNoticesItemPtr return pulumi.ToOutputWithContext(ctx, in).(RegistrationContactNoticesItemPtrOutput) } +func (in *registrationContactNoticesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RegistrationContactNoticesItem] { + return pulumix.Output[*RegistrationContactNoticesItem]{ + OutputState: in.ToRegistrationContactNoticesItemPtrOutputWithContext(ctx).OutputState, + } +} + // RegistrationContactNoticesItemArrayInput is an input type that accepts RegistrationContactNoticesItemArray and RegistrationContactNoticesItemArrayOutput values. // You can construct a concrete instance of `RegistrationContactNoticesItemArrayInput` via: // @@ -1253,6 +1380,12 @@ func (i RegistrationContactNoticesItemArray) ToRegistrationContactNoticesItemArr return pulumi.ToOutputWithContext(ctx, i).(RegistrationContactNoticesItemArrayOutput) } +func (i RegistrationContactNoticesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationContactNoticesItem] { + return pulumix.Output[[]RegistrationContactNoticesItem]{ + OutputState: i.ToRegistrationContactNoticesItemArrayOutputWithContext(ctx).OutputState, + } +} + type RegistrationContactNoticesItemArrayOutput struct{ *pulumi.OutputState } func (RegistrationContactNoticesItemArrayOutput) ElementType() reflect.Type { @@ -1267,6 +1400,12 @@ func (o RegistrationContactNoticesItemArrayOutput) ToRegistrationContactNoticesI return o } +func (o RegistrationContactNoticesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationContactNoticesItem] { + return pulumix.Output[[]RegistrationContactNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationContactNoticesItemArrayOutput) Index(i pulumi.IntInput) RegistrationContactNoticesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistrationContactNoticesItem { return vs[0].([]RegistrationContactNoticesItem)[vs[1].(int)] @@ -1342,6 +1481,12 @@ func (o RegistrationDomainNoticesItemOutput) ToRegistrationDomainNoticesItemPtrO }).(RegistrationDomainNoticesItemPtrOutput) } +func (o RegistrationDomainNoticesItemOutput) ToOutput(ctx context.Context) pulumix.Output[RegistrationDomainNoticesItem] { + return pulumix.Output[RegistrationDomainNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationDomainNoticesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1377,6 +1522,12 @@ func (o RegistrationDomainNoticesItemPtrOutput) ToRegistrationDomainNoticesItemP return o } +func (o RegistrationDomainNoticesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationDomainNoticesItem] { + return pulumix.Output[*RegistrationDomainNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationDomainNoticesItemPtrOutput) Elem() RegistrationDomainNoticesItemOutput { return o.ApplyT(func(v *RegistrationDomainNoticesItem) RegistrationDomainNoticesItem { if v != nil { @@ -1439,6 +1590,12 @@ func (in *registrationDomainNoticesItemPtr) ToRegistrationDomainNoticesItemPtrOu return pulumi.ToOutputWithContext(ctx, in).(RegistrationDomainNoticesItemPtrOutput) } +func (in *registrationDomainNoticesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*RegistrationDomainNoticesItem] { + return pulumix.Output[*RegistrationDomainNoticesItem]{ + OutputState: in.ToRegistrationDomainNoticesItemPtrOutputWithContext(ctx).OutputState, + } +} + // RegistrationDomainNoticesItemArrayInput is an input type that accepts RegistrationDomainNoticesItemArray and RegistrationDomainNoticesItemArrayOutput values. // You can construct a concrete instance of `RegistrationDomainNoticesItemArrayInput` via: // @@ -1464,6 +1621,12 @@ func (i RegistrationDomainNoticesItemArray) ToRegistrationDomainNoticesItemArray return pulumi.ToOutputWithContext(ctx, i).(RegistrationDomainNoticesItemArrayOutput) } +func (i RegistrationDomainNoticesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationDomainNoticesItem] { + return pulumix.Output[[]RegistrationDomainNoticesItem]{ + OutputState: i.ToRegistrationDomainNoticesItemArrayOutputWithContext(ctx).OutputState, + } +} + type RegistrationDomainNoticesItemArrayOutput struct{ *pulumi.OutputState } func (RegistrationDomainNoticesItemArrayOutput) ElementType() reflect.Type { @@ -1478,6 +1641,12 @@ func (o RegistrationDomainNoticesItemArrayOutput) ToRegistrationDomainNoticesIte return o } +func (o RegistrationDomainNoticesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RegistrationDomainNoticesItem] { + return pulumix.Output[[]RegistrationDomainNoticesItem]{ + OutputState: o.OutputState, + } +} + func (o RegistrationDomainNoticesItemArrayOutput) Index(i pulumi.IntInput) RegistrationDomainNoticesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistrationDomainNoticesItem { return vs[0].([]RegistrationDomainNoticesItem)[vs[1].(int)] diff --git a/sdk/go/google/domains/v1beta1/pulumiTypes.go b/sdk/go/google/domains/v1beta1/pulumiTypes.go index bec0d3c291..16cd20215f 100644 --- a/sdk/go/google/domains/v1beta1/pulumiTypes.go +++ b/sdk/go/google/domains/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ContactArgs) ToContactOutputWithContext(ctx context.Context) ContactOutp return pulumi.ToOutputWithContext(ctx, i).(ContactOutput) } +func (i ContactArgs) ToOutput(ctx context.Context) pulumix.Output[Contact] { + return pulumix.Output[Contact]{ + OutputState: i.ToContactOutputWithContext(ctx).OutputState, + } +} + // Details required for a contact associated with a `Registration`. type ContactOutput struct{ *pulumi.OutputState } @@ -577,6 +692,12 @@ func (o ContactOutput) ToContactOutputWithContext(ctx context.Context) ContactOu return o } +func (o ContactOutput) ToOutput(ctx context.Context) pulumix.Output[Contact] { + return pulumix.Output[Contact]{ + OutputState: o.OutputState, + } +} + // Email address of the contact. func (o ContactOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v Contact) string { return v.Email }).(pulumi.StringOutput) @@ -624,6 +745,12 @@ func (o ContactResponseOutput) ToContactResponseOutputWithContext(ctx context.Co return o } +func (o ContactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContactResponse] { + return pulumix.Output[ContactResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the contact. func (o ContactResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ContactResponse) string { return v.Email }).(pulumi.StringOutput) @@ -691,6 +818,12 @@ func (i ContactSettingsArgs) ToContactSettingsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ContactSettingsOutput) } +func (i ContactSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ContactSettings] { + return pulumix.Output[ContactSettings]{ + OutputState: i.ToContactSettingsOutputWithContext(ctx).OutputState, + } +} + // Defines the contact information associated with a `Registration`. [ICANN](https://icann.org/) requires all domain names to have associated contact information. The `registrant_contact` is considered the domain's legal owner, and often the other contacts are identical. type ContactSettingsOutput struct{ *pulumi.OutputState } @@ -706,6 +839,12 @@ func (o ContactSettingsOutput) ToContactSettingsOutputWithContext(ctx context.Co return o } +func (o ContactSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ContactSettings] { + return pulumix.Output[ContactSettings]{ + OutputState: o.OutputState, + } +} + // The administrative contact for the `Registration`. func (o ContactSettingsOutput) AdminContact() ContactOutput { return o.ApplyT(func(v ContactSettings) Contact { return v.AdminContact }).(ContactOutput) @@ -753,6 +892,12 @@ func (o ContactSettingsResponseOutput) ToContactSettingsResponseOutputWithContex return o } +func (o ContactSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContactSettingsResponse] { + return pulumix.Output[ContactSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The administrative contact for the `Registration`. func (o ContactSettingsResponseOutput) AdminContact() ContactResponseOutput { return o.ApplyT(func(v ContactSettingsResponse) ContactResponse { return v.AdminContact }).(ContactResponseOutput) @@ -812,6 +957,12 @@ func (i CustomDnsArgs) ToCustomDnsOutputWithContext(ctx context.Context) CustomD return pulumi.ToOutputWithContext(ctx, i).(CustomDnsOutput) } +func (i CustomDnsArgs) ToOutput(ctx context.Context) pulumix.Output[CustomDns] { + return pulumix.Output[CustomDns]{ + OutputState: i.ToCustomDnsOutputWithContext(ctx).OutputState, + } +} + func (i CustomDnsArgs) ToCustomDnsPtrOutput() CustomDnsPtrOutput { return i.ToCustomDnsPtrOutputWithContext(context.Background()) } @@ -853,6 +1004,12 @@ func (i *customDnsPtrType) ToCustomDnsPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(CustomDnsPtrOutput) } +func (i *customDnsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomDns] { + return pulumix.Output[*CustomDns]{ + OutputState: i.ToCustomDnsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for an arbitrary DNS provider. type CustomDnsOutput struct{ *pulumi.OutputState } @@ -878,6 +1035,12 @@ func (o CustomDnsOutput) ToCustomDnsPtrOutputWithContext(ctx context.Context) Cu }).(CustomDnsPtrOutput) } +func (o CustomDnsOutput) ToOutput(ctx context.Context) pulumix.Output[CustomDns] { + return pulumix.Output[CustomDns]{ + OutputState: o.OutputState, + } +} + // The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled. func (o CustomDnsOutput) DsRecords() DsRecordArrayOutput { return o.ApplyT(func(v CustomDns) []DsRecord { return v.DsRecords }).(DsRecordArrayOutput) @@ -902,6 +1065,12 @@ func (o CustomDnsPtrOutput) ToCustomDnsPtrOutputWithContext(ctx context.Context) return o } +func (o CustomDnsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomDns] { + return pulumix.Output[*CustomDns]{ + OutputState: o.OutputState, + } +} + func (o CustomDnsPtrOutput) Elem() CustomDnsOutput { return o.ApplyT(func(v *CustomDns) CustomDns { if v != nil { @@ -955,6 +1124,12 @@ func (o CustomDnsResponseOutput) ToCustomDnsResponseOutputWithContext(ctx contex return o } +func (o CustomDnsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomDnsResponse] { + return pulumix.Output[CustomDnsResponse]{ + OutputState: o.OutputState, + } +} + // The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled. func (o CustomDnsResponseOutput) DsRecords() DsRecordResponseArrayOutput { return o.ApplyT(func(v CustomDnsResponse) []DsRecordResponse { return v.DsRecords }).(DsRecordResponseArrayOutput) @@ -1008,6 +1183,12 @@ func (i DnsSettingsArgs) ToDnsSettingsOutputWithContext(ctx context.Context) Dns return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsOutput) } +func (i DnsSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[DnsSettings] { + return pulumix.Output[DnsSettings]{ + OutputState: i.ToDnsSettingsOutputWithContext(ctx).OutputState, + } +} + func (i DnsSettingsArgs) ToDnsSettingsPtrOutput() DnsSettingsPtrOutput { return i.ToDnsSettingsPtrOutputWithContext(context.Background()) } @@ -1049,6 +1230,12 @@ func (i *dnsSettingsPtrType) ToDnsSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DnsSettingsPtrOutput) } +func (i *dnsSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DnsSettings] { + return pulumix.Output[*DnsSettings]{ + OutputState: i.ToDnsSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the DNS configuration of a `Registration`, including name servers, DNSSEC, and glue records. type DnsSettingsOutput struct{ *pulumi.OutputState } @@ -1074,6 +1261,12 @@ func (o DnsSettingsOutput) ToDnsSettingsPtrOutputWithContext(ctx context.Context }).(DnsSettingsPtrOutput) } +func (o DnsSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[DnsSettings] { + return pulumix.Output[DnsSettings]{ + OutputState: o.OutputState, + } +} + // An arbitrary DNS provider identified by its name servers. func (o DnsSettingsOutput) CustomDns() CustomDnsPtrOutput { return o.ApplyT(func(v DnsSettings) *CustomDns { return v.CustomDns }).(CustomDnsPtrOutput) @@ -1103,6 +1296,12 @@ func (o DnsSettingsPtrOutput) ToDnsSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o DnsSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DnsSettings] { + return pulumix.Output[*DnsSettings]{ + OutputState: o.OutputState, + } +} + func (o DnsSettingsPtrOutput) Elem() DnsSettingsOutput { return o.ApplyT(func(v *DnsSettings) DnsSettings { if v != nil { @@ -1168,6 +1367,12 @@ func (o DnsSettingsResponseOutput) ToDnsSettingsResponseOutputWithContext(ctx co return o } +func (o DnsSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DnsSettingsResponse] { + return pulumix.Output[DnsSettingsResponse]{ + OutputState: o.OutputState, + } +} + // An arbitrary DNS provider identified by its name servers. func (o DnsSettingsResponseOutput) CustomDns() CustomDnsResponseOutput { return o.ApplyT(func(v DnsSettingsResponse) CustomDnsResponse { return v.CustomDns }).(CustomDnsResponseOutput) @@ -1230,6 +1435,12 @@ func (i DsRecordArgs) ToDsRecordOutputWithContext(ctx context.Context) DsRecordO return pulumi.ToOutputWithContext(ctx, i).(DsRecordOutput) } +func (i DsRecordArgs) ToOutput(ctx context.Context) pulumix.Output[DsRecord] { + return pulumix.Output[DsRecord]{ + OutputState: i.ToDsRecordOutputWithContext(ctx).OutputState, + } +} + // DsRecordArrayInput is an input type that accepts DsRecordArray and DsRecordArrayOutput values. // You can construct a concrete instance of `DsRecordArrayInput` via: // @@ -1255,6 +1466,12 @@ func (i DsRecordArray) ToDsRecordArrayOutputWithContext(ctx context.Context) DsR return pulumi.ToOutputWithContext(ctx, i).(DsRecordArrayOutput) } +func (i DsRecordArray) ToOutput(ctx context.Context) pulumix.Output[[]DsRecord] { + return pulumix.Output[[]DsRecord]{ + OutputState: i.ToDsRecordArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone. type DsRecordOutput struct{ *pulumi.OutputState } @@ -1270,6 +1487,12 @@ func (o DsRecordOutput) ToDsRecordOutputWithContext(ctx context.Context) DsRecor return o } +func (o DsRecordOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecord] { + return pulumix.Output[DsRecord]{ + OutputState: o.OutputState, + } +} + // The algorithm used to generate the referenced DNSKEY. func (o DsRecordOutput) Algorithm() DsRecordAlgorithmPtrOutput { return o.ApplyT(func(v DsRecord) *DsRecordAlgorithm { return v.Algorithm }).(DsRecordAlgorithmPtrOutput) @@ -1304,6 +1527,12 @@ func (o DsRecordArrayOutput) ToDsRecordArrayOutputWithContext(ctx context.Contex return o } +func (o DsRecordArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DsRecord] { + return pulumix.Output[[]DsRecord]{ + OutputState: o.OutputState, + } +} + func (o DsRecordArrayOutput) Index(i pulumi.IntInput) DsRecordOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DsRecord { return vs[0].([]DsRecord)[vs[1].(int)] @@ -1337,6 +1566,12 @@ func (o DsRecordResponseOutput) ToDsRecordResponseOutputWithContext(ctx context. return o } +func (o DsRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DsRecordResponse] { + return pulumix.Output[DsRecordResponse]{ + OutputState: o.OutputState, + } +} + // The algorithm used to generate the referenced DNSKEY. func (o DsRecordResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v DsRecordResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -1371,6 +1606,12 @@ func (o DsRecordResponseArrayOutput) ToDsRecordResponseArrayOutputWithContext(ct return o } +func (o DsRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DsRecordResponse] { + return pulumix.Output[[]DsRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o DsRecordResponseArrayOutput) Index(i pulumi.IntInput) DsRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DsRecordResponse { return vs[0].([]DsRecordResponse)[vs[1].(int)] @@ -1424,6 +1665,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1465,6 +1712,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1490,6 +1743,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1524,6 +1783,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1601,6 +1866,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1664,6 +1935,12 @@ func (i GlueRecordArgs) ToGlueRecordOutputWithContext(ctx context.Context) GlueR return pulumi.ToOutputWithContext(ctx, i).(GlueRecordOutput) } +func (i GlueRecordArgs) ToOutput(ctx context.Context) pulumix.Output[GlueRecord] { + return pulumix.Output[GlueRecord]{ + OutputState: i.ToGlueRecordOutputWithContext(ctx).OutputState, + } +} + // GlueRecordArrayInput is an input type that accepts GlueRecordArray and GlueRecordArrayOutput values. // You can construct a concrete instance of `GlueRecordArrayInput` via: // @@ -1689,6 +1966,12 @@ func (i GlueRecordArray) ToGlueRecordArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GlueRecordArrayOutput) } +func (i GlueRecordArray) ToOutput(ctx context.Context) pulumix.Output[[]GlueRecord] { + return pulumix.Output[[]GlueRecord]{ + OutputState: i.ToGlueRecordArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a host on your domain that is a DNS name server for your domain and/or other domains. Glue records are a way of making the IP address of a name server known, even when it serves DNS queries for its parent domain. For example, when `ns.example.com` is a name server for `example.com`, the host `ns.example.com` must have a glue record to break the circular DNS reference. type GlueRecordOutput struct{ *pulumi.OutputState } @@ -1704,6 +1987,12 @@ func (o GlueRecordOutput) ToGlueRecordOutputWithContext(ctx context.Context) Glu return o } +func (o GlueRecordOutput) ToOutput(ctx context.Context) pulumix.Output[GlueRecord] { + return pulumix.Output[GlueRecord]{ + OutputState: o.OutputState, + } +} + // Domain name of the host in Punycode format. func (o GlueRecordOutput) HostName() pulumi.StringOutput { return o.ApplyT(func(v GlueRecord) string { return v.HostName }).(pulumi.StringOutput) @@ -1733,6 +2022,12 @@ func (o GlueRecordArrayOutput) ToGlueRecordArrayOutputWithContext(ctx context.Co return o } +func (o GlueRecordArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GlueRecord] { + return pulumix.Output[[]GlueRecord]{ + OutputState: o.OutputState, + } +} + func (o GlueRecordArrayOutput) Index(i pulumi.IntInput) GlueRecordOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GlueRecord { return vs[0].([]GlueRecord)[vs[1].(int)] @@ -1764,6 +2059,12 @@ func (o GlueRecordResponseOutput) ToGlueRecordResponseOutputWithContext(ctx cont return o } +func (o GlueRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GlueRecordResponse] { + return pulumix.Output[GlueRecordResponse]{ + OutputState: o.OutputState, + } +} + // Domain name of the host in Punycode format. func (o GlueRecordResponseOutput) HostName() pulumi.StringOutput { return o.ApplyT(func(v GlueRecordResponse) string { return v.HostName }).(pulumi.StringOutput) @@ -1793,6 +2094,12 @@ func (o GlueRecordResponseArrayOutput) ToGlueRecordResponseArrayOutputWithContex return o } +func (o GlueRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GlueRecordResponse] { + return pulumix.Output[[]GlueRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o GlueRecordResponseArrayOutput) Index(i pulumi.IntInput) GlueRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GlueRecordResponse { return vs[0].([]GlueRecordResponse)[vs[1].(int)] @@ -1834,6 +2141,12 @@ func (i GoogleDomainsDnsArgs) ToGoogleDomainsDnsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GoogleDomainsDnsOutput) } +func (i GoogleDomainsDnsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDns] { + return pulumix.Output[GoogleDomainsDns]{ + OutputState: i.ToGoogleDomainsDnsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDomainsDnsArgs) ToGoogleDomainsDnsPtrOutput() GoogleDomainsDnsPtrOutput { return i.ToGoogleDomainsDnsPtrOutputWithContext(context.Background()) } @@ -1875,6 +2188,12 @@ func (i *googleDomainsDnsPtrType) ToGoogleDomainsDnsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GoogleDomainsDnsPtrOutput) } +func (i *googleDomainsDnsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDns] { + return pulumix.Output[*GoogleDomainsDns]{ + OutputState: i.ToGoogleDomainsDnsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for using the free DNS zone provided by Google Domains as a `Registration`'s `dns_provider`. You cannot configure the DNS zone itself using the API. To configure the DNS zone, go to [Google Domains](https://domains.google/). type GoogleDomainsDnsOutput struct{ *pulumi.OutputState } @@ -1900,6 +2219,12 @@ func (o GoogleDomainsDnsOutput) ToGoogleDomainsDnsPtrOutputWithContext(ctx conte }).(GoogleDomainsDnsPtrOutput) } +func (o GoogleDomainsDnsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDns] { + return pulumix.Output[GoogleDomainsDns]{ + OutputState: o.OutputState, + } +} + // The state of DS records for this domain. Used to enable or disable automatic DNSSEC. func (o GoogleDomainsDnsOutput) DsState() GoogleDomainsDnsDsStateOutput { return o.ApplyT(func(v GoogleDomainsDns) GoogleDomainsDnsDsState { return v.DsState }).(GoogleDomainsDnsDsStateOutput) @@ -1919,6 +2244,12 @@ func (o GoogleDomainsDnsPtrOutput) ToGoogleDomainsDnsPtrOutputWithContext(ctx co return o } +func (o GoogleDomainsDnsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDomainsDns] { + return pulumix.Output[*GoogleDomainsDns]{ + OutputState: o.OutputState, + } +} + func (o GoogleDomainsDnsPtrOutput) Elem() GoogleDomainsDnsOutput { return o.ApplyT(func(v *GoogleDomainsDns) GoogleDomainsDns { if v != nil { @@ -1964,6 +2295,12 @@ func (o GoogleDomainsDnsResponseOutput) ToGoogleDomainsDnsResponseOutputWithCont return o } +func (o GoogleDomainsDnsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDomainsDnsResponse] { + return pulumix.Output[GoogleDomainsDnsResponse]{ + OutputState: o.OutputState, + } +} + // The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty. func (o GoogleDomainsDnsResponseOutput) DsRecords() DsRecordResponseArrayOutput { return o.ApplyT(func(v GoogleDomainsDnsResponse) []DsRecordResponse { return v.DsRecords }).(DsRecordResponseArrayOutput) @@ -2014,6 +2351,12 @@ func (i ManagementSettingsArgs) ToManagementSettingsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ManagementSettingsOutput) } +func (i ManagementSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ManagementSettings] { + return pulumix.Output[ManagementSettings]{ + OutputState: i.ToManagementSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ManagementSettingsArgs) ToManagementSettingsPtrOutput() ManagementSettingsPtrOutput { return i.ToManagementSettingsPtrOutputWithContext(context.Background()) } @@ -2055,6 +2398,12 @@ func (i *managementSettingsPtrType) ToManagementSettingsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ManagementSettingsPtrOutput) } +func (i *managementSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettings] { + return pulumix.Output[*ManagementSettings]{ + OutputState: i.ToManagementSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Defines renewal, billing, and transfer settings for a `Registration`. type ManagementSettingsOutput struct{ *pulumi.OutputState } @@ -2080,6 +2429,12 @@ func (o ManagementSettingsOutput) ToManagementSettingsPtrOutputWithContext(ctx c }).(ManagementSettingsPtrOutput) } +func (o ManagementSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ManagementSettings] { + return pulumix.Output[ManagementSettings]{ + OutputState: o.OutputState, + } +} + // Controls whether the domain can be transferred to another registrar. func (o ManagementSettingsOutput) TransferLockState() ManagementSettingsTransferLockStatePtrOutput { return o.ApplyT(func(v ManagementSettings) *ManagementSettingsTransferLockState { return v.TransferLockState }).(ManagementSettingsTransferLockStatePtrOutput) @@ -2099,6 +2454,12 @@ func (o ManagementSettingsPtrOutput) ToManagementSettingsPtrOutputWithContext(ct return o } +func (o ManagementSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagementSettings] { + return pulumix.Output[*ManagementSettings]{ + OutputState: o.OutputState, + } +} + func (o ManagementSettingsPtrOutput) Elem() ManagementSettingsOutput { return o.ApplyT(func(v *ManagementSettings) ManagementSettings { if v != nil { @@ -2142,6 +2503,12 @@ func (o ManagementSettingsResponseOutput) ToManagementSettingsResponseOutputWith return o } +func (o ManagementSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagementSettingsResponse] { + return pulumix.Output[ManagementSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The renewal method for this `Registration`. func (o ManagementSettingsResponseOutput) RenewalMethod() pulumi.StringOutput { return o.ApplyT(func(v ManagementSettingsResponse) string { return v.RenewalMethod }).(pulumi.StringOutput) @@ -2195,6 +2562,12 @@ func (i MoneyArgs) ToMoneyOutputWithContext(ctx context.Context) MoneyOutput { return pulumi.ToOutputWithContext(ctx, i).(MoneyOutput) } +func (i MoneyArgs) ToOutput(ctx context.Context) pulumix.Output[Money] { + return pulumix.Output[Money]{ + OutputState: i.ToMoneyOutputWithContext(ctx).OutputState, + } +} + // Represents an amount of money with its currency type. type MoneyOutput struct{ *pulumi.OutputState } @@ -2210,6 +2583,12 @@ func (o MoneyOutput) ToMoneyOutputWithContext(ctx context.Context) MoneyOutput { return o } +func (o MoneyOutput) ToOutput(ctx context.Context) pulumix.Output[Money] { + return pulumix.Output[Money]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o MoneyOutput) CurrencyCode() pulumi.StringPtrOutput { return o.ApplyT(func(v Money) *string { return v.CurrencyCode }).(pulumi.StringPtrOutput) @@ -2300,6 +2679,12 @@ func (i PostalAddressArgs) ToPostalAddressOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PostalAddressOutput) } +func (i PostalAddressArgs) ToOutput(ctx context.Context) pulumix.Output[PostalAddress] { + return pulumix.Output[PostalAddress]{ + OutputState: i.ToPostalAddressOutputWithContext(ctx).OutputState, + } +} + // Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 type PostalAddressOutput struct{ *pulumi.OutputState } @@ -2315,6 +2700,12 @@ func (o PostalAddressOutput) ToPostalAddressOutputWithContext(ctx context.Contex return o } +func (o PostalAddressOutput) ToOutput(ctx context.Context) pulumix.Output[PostalAddress] { + return pulumix.Output[PostalAddress]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o PostalAddressOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v PostalAddress) []string { return v.AddressLines }).(pulumi.StringArrayOutput) @@ -2411,6 +2802,12 @@ func (o PostalAddressResponseOutput) ToPostalAddressResponseOutputWithContext(ct return o } +func (o PostalAddressResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostalAddressResponse] { + return pulumix.Output[PostalAddressResponse]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o PostalAddressResponseOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v PostalAddressResponse) []string { return v.AddressLines }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/domains/v1beta1/registration.go b/sdk/go/google/domains/v1beta1/registration.go index 6f8b8fe7d1..392022790d 100644 --- a/sdk/go/google/domains/v1beta1/registration.go +++ b/sdk/go/google/domains/v1beta1/registration.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Registers a new domain name and creates a corresponding `Registration` resource. Call `RetrieveRegisterParameters` first to check availability of the domain name and determine parameters like price that are needed to build a call to this method. A successful call creates a `Registration` resource in state `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 minutes, indicating that the domain was successfully registered. If the resource ends up in state `REGISTRATION_FAILED`, it indicates that the domain was not registered successfully, and you can safely delete the resource and retry registration. @@ -172,6 +173,12 @@ func (i *Registration) ToRegistrationOutputWithContext(ctx context.Context) Regi return pulumi.ToOutputWithContext(ctx, i).(RegistrationOutput) } +func (i *Registration) ToOutput(ctx context.Context) pulumix.Output[*Registration] { + return pulumix.Output[*Registration]{ + OutputState: i.ToRegistrationOutputWithContext(ctx).OutputState, + } +} + type RegistrationOutput struct{ *pulumi.OutputState } func (RegistrationOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o RegistrationOutput) ToRegistrationOutputWithContext(ctx context.Context) return o } +func (o RegistrationOutput) ToOutput(ctx context.Context) pulumix.Output[*Registration] { + return pulumix.Output[*Registration]{ + OutputState: o.OutputState, + } +} + // Settings for contact information linked to the `Registration`. You cannot update these with the `UpdateRegistration` method. To update these settings, use the `ConfigureContactSettings` method. func (o RegistrationOutput) ContactSettings() ContactSettingsResponseOutput { return o.ApplyT(func(v *Registration) ContactSettingsResponseOutput { return v.ContactSettings }).(ContactSettingsResponseOutput) diff --git a/sdk/go/google/domains/v1beta1/registrationIamBinding.go b/sdk/go/google/domains/v1beta1/registrationIamBinding.go index 264822dc42..b2e8255179 100644 --- a/sdk/go/google/domains/v1beta1/registrationIamBinding.go +++ b/sdk/go/google/domains/v1beta1/registrationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RegistrationIamBinding) ToRegistrationIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegistrationIamBindingOutput) } +func (i *RegistrationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamBinding] { + return pulumix.Output[*RegistrationIamBinding]{ + OutputState: i.ToRegistrationIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegistrationIamBindingOutput struct{ *pulumi.OutputState } func (RegistrationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationIamBindingOutput) ToRegistrationIamBindingOutputWithContext( return o } +func (o RegistrationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamBinding] { + return pulumix.Output[*RegistrationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistrationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistrationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/domains/v1beta1/registrationIamMember.go b/sdk/go/google/domains/v1beta1/registrationIamMember.go index e526e0254c..3cf118b440 100644 --- a/sdk/go/google/domains/v1beta1/registrationIamMember.go +++ b/sdk/go/google/domains/v1beta1/registrationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RegistrationIamMember) ToRegistrationIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegistrationIamMemberOutput) } +func (i *RegistrationIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamMember] { + return pulumix.Output[*RegistrationIamMember]{ + OutputState: i.ToRegistrationIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegistrationIamMemberOutput struct{ *pulumi.OutputState } func (RegistrationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationIamMemberOutput) ToRegistrationIamMemberOutputWithContext(ct return o } +func (o RegistrationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamMember] { + return pulumix.Output[*RegistrationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistrationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistrationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/domains/v1beta1/registrationIamPolicy.go b/sdk/go/google/domains/v1beta1/registrationIamPolicy.go index 72aef6f82d..cd49841900 100644 --- a/sdk/go/google/domains/v1beta1/registrationIamPolicy.go +++ b/sdk/go/google/domains/v1beta1/registrationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RegistrationIamPolicy) ToRegistrationIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RegistrationIamPolicyOutput) } +func (i *RegistrationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamPolicy] { + return pulumix.Output[*RegistrationIamPolicy]{ + OutputState: i.ToRegistrationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegistrationIamPolicyOutput struct{ *pulumi.OutputState } func (RegistrationIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationIamPolicyOutput) ToRegistrationIamPolicyOutputWithContext(ct return o } +func (o RegistrationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationIamPolicy] { + return pulumix.Output[*RegistrationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RegistrationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RegistrationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/essentialcontacts/v1/contact.go b/sdk/go/google/essentialcontacts/v1/contact.go index 6378927e95..3f35378971 100644 --- a/sdk/go/google/essentialcontacts/v1/contact.go +++ b/sdk/go/google/essentialcontacts/v1/contact.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Adds a new contact for a resource. @@ -136,6 +137,12 @@ func (i *Contact) ToContactOutputWithContext(ctx context.Context) ContactOutput return pulumi.ToOutputWithContext(ctx, i).(ContactOutput) } +func (i *Contact) ToOutput(ctx context.Context) pulumix.Output[*Contact] { + return pulumix.Output[*Contact]{ + OutputState: i.ToContactOutputWithContext(ctx).OutputState, + } +} + type ContactOutput struct{ *pulumi.OutputState } func (ContactOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o ContactOutput) ToContactOutputWithContext(ctx context.Context) ContactOu return o } +func (o ContactOutput) ToOutput(ctx context.Context) pulumix.Output[*Contact] { + return pulumix.Output[*Contact]{ + OutputState: o.OutputState, + } +} + // The email address to send notifications to. The email address does not need to be a Google Account. func (o ContactOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v *Contact) pulumi.StringOutput { return v.Email }).(pulumi.StringOutput) diff --git a/sdk/go/google/essentialcontacts/v1/folderContact.go b/sdk/go/google/essentialcontacts/v1/folderContact.go index 4931483bcd..080855c449 100644 --- a/sdk/go/google/essentialcontacts/v1/folderContact.go +++ b/sdk/go/google/essentialcontacts/v1/folderContact.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Adds a new contact for a resource. @@ -139,6 +140,12 @@ func (i *FolderContact) ToFolderContactOutputWithContext(ctx context.Context) Fo return pulumi.ToOutputWithContext(ctx, i).(FolderContactOutput) } +func (i *FolderContact) ToOutput(ctx context.Context) pulumix.Output[*FolderContact] { + return pulumix.Output[*FolderContact]{ + OutputState: i.ToFolderContactOutputWithContext(ctx).OutputState, + } +} + type FolderContactOutput struct{ *pulumi.OutputState } func (FolderContactOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o FolderContactOutput) ToFolderContactOutputWithContext(ctx context.Contex return o } +func (o FolderContactOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderContact] { + return pulumix.Output[*FolderContact]{ + OutputState: o.OutputState, + } +} + // The email address to send notifications to. The email address does not need to be a Google Account. func (o FolderContactOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v *FolderContact) pulumi.StringOutput { return v.Email }).(pulumi.StringOutput) diff --git a/sdk/go/google/essentialcontacts/v1/getContact.go b/sdk/go/google/essentialcontacts/v1/getContact.go index 17afdea464..0471bc9868 100644 --- a/sdk/go/google/essentialcontacts/v1/getContact.go +++ b/sdk/go/google/essentialcontacts/v1/getContact.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single contact. @@ -78,6 +79,12 @@ func (o LookupContactResultOutput) ToLookupContactResultOutputWithContext(ctx co return o } +func (o LookupContactResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupContactResult] { + return pulumix.Output[LookupContactResult]{ + OutputState: o.OutputState, + } +} + // The email address to send notifications to. The email address does not need to be a Google Account. func (o LookupContactResultOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v LookupContactResult) string { return v.Email }).(pulumi.StringOutput) diff --git a/sdk/go/google/essentialcontacts/v1/getFolderContact.go b/sdk/go/google/essentialcontacts/v1/getFolderContact.go index dea07c6fde..02804b261f 100644 --- a/sdk/go/google/essentialcontacts/v1/getFolderContact.go +++ b/sdk/go/google/essentialcontacts/v1/getFolderContact.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single contact. @@ -78,6 +79,12 @@ func (o LookupFolderContactResultOutput) ToLookupFolderContactResultOutputWithCo return o } +func (o LookupFolderContactResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderContactResult] { + return pulumix.Output[LookupFolderContactResult]{ + OutputState: o.OutputState, + } +} + // The email address to send notifications to. The email address does not need to be a Google Account. func (o LookupFolderContactResultOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v LookupFolderContactResult) string { return v.Email }).(pulumi.StringOutput) diff --git a/sdk/go/google/essentialcontacts/v1/getOrganizationContact.go b/sdk/go/google/essentialcontacts/v1/getOrganizationContact.go index 40e7fe1f54..4820c4e756 100644 --- a/sdk/go/google/essentialcontacts/v1/getOrganizationContact.go +++ b/sdk/go/google/essentialcontacts/v1/getOrganizationContact.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single contact. @@ -78,6 +79,12 @@ func (o LookupOrganizationContactResultOutput) ToLookupOrganizationContactResult return o } +func (o LookupOrganizationContactResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationContactResult] { + return pulumix.Output[LookupOrganizationContactResult]{ + OutputState: o.OutputState, + } +} + // The email address to send notifications to. The email address does not need to be a Google Account. func (o LookupOrganizationContactResultOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationContactResult) string { return v.Email }).(pulumi.StringOutput) diff --git a/sdk/go/google/essentialcontacts/v1/organizationContact.go b/sdk/go/google/essentialcontacts/v1/organizationContact.go index ad1556affb..ab6babf617 100644 --- a/sdk/go/google/essentialcontacts/v1/organizationContact.go +++ b/sdk/go/google/essentialcontacts/v1/organizationContact.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Adds a new contact for a resource. @@ -139,6 +140,12 @@ func (i *OrganizationContact) ToOrganizationContactOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(OrganizationContactOutput) } +func (i *OrganizationContact) ToOutput(ctx context.Context) pulumix.Output[*OrganizationContact] { + return pulumix.Output[*OrganizationContact]{ + OutputState: i.ToOrganizationContactOutputWithContext(ctx).OutputState, + } +} + type OrganizationContactOutput struct{ *pulumi.OutputState } func (OrganizationContactOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o OrganizationContactOutput) ToOrganizationContactOutputWithContext(ctx co return o } +func (o OrganizationContactOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationContact] { + return pulumix.Output[*OrganizationContact]{ + OutputState: o.OutputState, + } +} + // The email address to send notifications to. The email address does not need to be a Google Account. func (o OrganizationContactOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationContact) pulumi.StringOutput { return v.Email }).(pulumi.StringOutput) diff --git a/sdk/go/google/essentialcontacts/v1/pulumiEnums.go b/sdk/go/google/essentialcontacts/v1/pulumiEnums.go index 43f900d23f..60fff48580 100644 --- a/sdk/go/google/essentialcontacts/v1/pulumiEnums.go +++ b/sdk/go/google/essentialcontacts/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type ContactNotificationCategorySubscriptionsItem string @@ -93,6 +94,12 @@ func (o ContactNotificationCategorySubscriptionsItemOutput) ToContactNotificatio }).(ContactNotificationCategorySubscriptionsItemPtrOutput) } +func (o ContactNotificationCategorySubscriptionsItemOutput) ToOutput(ctx context.Context) pulumix.Output[ContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[ContactNotificationCategorySubscriptionsItem]{ + OutputState: o.OutputState, + } +} + func (o ContactNotificationCategorySubscriptionsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -128,6 +135,12 @@ func (o ContactNotificationCategorySubscriptionsItemPtrOutput) ToContactNotifica return o } +func (o ContactNotificationCategorySubscriptionsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[*ContactNotificationCategorySubscriptionsItem]{ + OutputState: o.OutputState, + } +} + func (o ContactNotificationCategorySubscriptionsItemPtrOutput) Elem() ContactNotificationCategorySubscriptionsItemOutput { return o.ApplyT(func(v *ContactNotificationCategorySubscriptionsItem) ContactNotificationCategorySubscriptionsItem { if v != nil { @@ -190,6 +203,12 @@ func (in *contactNotificationCategorySubscriptionsItemPtr) ToContactNotification return pulumi.ToOutputWithContext(ctx, in).(ContactNotificationCategorySubscriptionsItemPtrOutput) } +func (in *contactNotificationCategorySubscriptionsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[*ContactNotificationCategorySubscriptionsItem]{ + OutputState: in.ToContactNotificationCategorySubscriptionsItemPtrOutputWithContext(ctx).OutputState, + } +} + // ContactNotificationCategorySubscriptionsItemArrayInput is an input type that accepts ContactNotificationCategorySubscriptionsItemArray and ContactNotificationCategorySubscriptionsItemArrayOutput values. // You can construct a concrete instance of `ContactNotificationCategorySubscriptionsItemArrayInput` via: // @@ -215,6 +234,12 @@ func (i ContactNotificationCategorySubscriptionsItemArray) ToContactNotification return pulumi.ToOutputWithContext(ctx, i).(ContactNotificationCategorySubscriptionsItemArrayOutput) } +func (i ContactNotificationCategorySubscriptionsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[[]ContactNotificationCategorySubscriptionsItem]{ + OutputState: i.ToContactNotificationCategorySubscriptionsItemArrayOutputWithContext(ctx).OutputState, + } +} + type ContactNotificationCategorySubscriptionsItemArrayOutput struct{ *pulumi.OutputState } func (ContactNotificationCategorySubscriptionsItemArrayOutput) ElementType() reflect.Type { @@ -229,6 +254,12 @@ func (o ContactNotificationCategorySubscriptionsItemArrayOutput) ToContactNotifi return o } +func (o ContactNotificationCategorySubscriptionsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[[]ContactNotificationCategorySubscriptionsItem]{ + OutputState: o.OutputState, + } +} + func (o ContactNotificationCategorySubscriptionsItemArrayOutput) Index(i pulumi.IntInput) ContactNotificationCategorySubscriptionsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContactNotificationCategorySubscriptionsItem { return vs[0].([]ContactNotificationCategorySubscriptionsItem)[vs[1].(int)] @@ -307,6 +338,12 @@ func (o ContactValidationStateOutput) ToContactValidationStatePtrOutputWithConte }).(ContactValidationStatePtrOutput) } +func (o ContactValidationStateOutput) ToOutput(ctx context.Context) pulumix.Output[ContactValidationState] { + return pulumix.Output[ContactValidationState]{ + OutputState: o.OutputState, + } +} + func (o ContactValidationStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -342,6 +379,12 @@ func (o ContactValidationStatePtrOutput) ToContactValidationStatePtrOutputWithCo return o } +func (o ContactValidationStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ContactValidationState] { + return pulumix.Output[*ContactValidationState]{ + OutputState: o.OutputState, + } +} + func (o ContactValidationStatePtrOutput) Elem() ContactValidationStateOutput { return o.ApplyT(func(v *ContactValidationState) ContactValidationState { if v != nil { @@ -404,6 +447,12 @@ func (in *contactValidationStatePtr) ToContactValidationStatePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(ContactValidationStatePtrOutput) } +func (in *contactValidationStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ContactValidationState] { + return pulumix.Output[*ContactValidationState]{ + OutputState: in.ToContactValidationStatePtrOutputWithContext(ctx).OutputState, + } +} + type FolderContactNotificationCategorySubscriptionsItem string const ( @@ -487,6 +536,12 @@ func (o FolderContactNotificationCategorySubscriptionsItemOutput) ToFolderContac }).(FolderContactNotificationCategorySubscriptionsItemPtrOutput) } +func (o FolderContactNotificationCategorySubscriptionsItemOutput) ToOutput(ctx context.Context) pulumix.Output[FolderContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[FolderContactNotificationCategorySubscriptionsItem]{ + OutputState: o.OutputState, + } +} + func (o FolderContactNotificationCategorySubscriptionsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -522,6 +577,12 @@ func (o FolderContactNotificationCategorySubscriptionsItemPtrOutput) ToFolderCon return o } +func (o FolderContactNotificationCategorySubscriptionsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[*FolderContactNotificationCategorySubscriptionsItem]{ + OutputState: o.OutputState, + } +} + func (o FolderContactNotificationCategorySubscriptionsItemPtrOutput) Elem() FolderContactNotificationCategorySubscriptionsItemOutput { return o.ApplyT(func(v *FolderContactNotificationCategorySubscriptionsItem) FolderContactNotificationCategorySubscriptionsItem { if v != nil { @@ -584,6 +645,12 @@ func (in *folderContactNotificationCategorySubscriptionsItemPtr) ToFolderContact return pulumi.ToOutputWithContext(ctx, in).(FolderContactNotificationCategorySubscriptionsItemPtrOutput) } +func (in *folderContactNotificationCategorySubscriptionsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*FolderContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[*FolderContactNotificationCategorySubscriptionsItem]{ + OutputState: in.ToFolderContactNotificationCategorySubscriptionsItemPtrOutputWithContext(ctx).OutputState, + } +} + // FolderContactNotificationCategorySubscriptionsItemArrayInput is an input type that accepts FolderContactNotificationCategorySubscriptionsItemArray and FolderContactNotificationCategorySubscriptionsItemArrayOutput values. // You can construct a concrete instance of `FolderContactNotificationCategorySubscriptionsItemArrayInput` via: // @@ -609,6 +676,12 @@ func (i FolderContactNotificationCategorySubscriptionsItemArray) ToFolderContact return pulumi.ToOutputWithContext(ctx, i).(FolderContactNotificationCategorySubscriptionsItemArrayOutput) } +func (i FolderContactNotificationCategorySubscriptionsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]FolderContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[[]FolderContactNotificationCategorySubscriptionsItem]{ + OutputState: i.ToFolderContactNotificationCategorySubscriptionsItemArrayOutputWithContext(ctx).OutputState, + } +} + type FolderContactNotificationCategorySubscriptionsItemArrayOutput struct{ *pulumi.OutputState } func (FolderContactNotificationCategorySubscriptionsItemArrayOutput) ElementType() reflect.Type { @@ -623,6 +696,12 @@ func (o FolderContactNotificationCategorySubscriptionsItemArrayOutput) ToFolderC return o } +func (o FolderContactNotificationCategorySubscriptionsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FolderContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[[]FolderContactNotificationCategorySubscriptionsItem]{ + OutputState: o.OutputState, + } +} + func (o FolderContactNotificationCategorySubscriptionsItemArrayOutput) Index(i pulumi.IntInput) FolderContactNotificationCategorySubscriptionsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FolderContactNotificationCategorySubscriptionsItem { return vs[0].([]FolderContactNotificationCategorySubscriptionsItem)[vs[1].(int)] @@ -701,6 +780,12 @@ func (o FolderContactValidationStateOutput) ToFolderContactValidationStatePtrOut }).(FolderContactValidationStatePtrOutput) } +func (o FolderContactValidationStateOutput) ToOutput(ctx context.Context) pulumix.Output[FolderContactValidationState] { + return pulumix.Output[FolderContactValidationState]{ + OutputState: o.OutputState, + } +} + func (o FolderContactValidationStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -736,6 +821,12 @@ func (o FolderContactValidationStatePtrOutput) ToFolderContactValidationStatePtr return o } +func (o FolderContactValidationStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderContactValidationState] { + return pulumix.Output[*FolderContactValidationState]{ + OutputState: o.OutputState, + } +} + func (o FolderContactValidationStatePtrOutput) Elem() FolderContactValidationStateOutput { return o.ApplyT(func(v *FolderContactValidationState) FolderContactValidationState { if v != nil { @@ -798,6 +889,12 @@ func (in *folderContactValidationStatePtr) ToFolderContactValidationStatePtrOutp return pulumi.ToOutputWithContext(ctx, in).(FolderContactValidationStatePtrOutput) } +func (in *folderContactValidationStatePtr) ToOutput(ctx context.Context) pulumix.Output[*FolderContactValidationState] { + return pulumix.Output[*FolderContactValidationState]{ + OutputState: in.ToFolderContactValidationStatePtrOutputWithContext(ctx).OutputState, + } +} + type OrganizationContactNotificationCategorySubscriptionsItem string const ( @@ -881,6 +978,12 @@ func (o OrganizationContactNotificationCategorySubscriptionsItemOutput) ToOrgani }).(OrganizationContactNotificationCategorySubscriptionsItemPtrOutput) } +func (o OrganizationContactNotificationCategorySubscriptionsItemOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[OrganizationContactNotificationCategorySubscriptionsItem]{ + OutputState: o.OutputState, + } +} + func (o OrganizationContactNotificationCategorySubscriptionsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -916,6 +1019,12 @@ func (o OrganizationContactNotificationCategorySubscriptionsItemPtrOutput) ToOrg return o } +func (o OrganizationContactNotificationCategorySubscriptionsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[*OrganizationContactNotificationCategorySubscriptionsItem]{ + OutputState: o.OutputState, + } +} + func (o OrganizationContactNotificationCategorySubscriptionsItemPtrOutput) Elem() OrganizationContactNotificationCategorySubscriptionsItemOutput { return o.ApplyT(func(v *OrganizationContactNotificationCategorySubscriptionsItem) OrganizationContactNotificationCategorySubscriptionsItem { if v != nil { @@ -978,6 +1087,12 @@ func (in *organizationContactNotificationCategorySubscriptionsItemPtr) ToOrganiz return pulumi.ToOutputWithContext(ctx, in).(OrganizationContactNotificationCategorySubscriptionsItemPtrOutput) } +func (in *organizationContactNotificationCategorySubscriptionsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[*OrganizationContactNotificationCategorySubscriptionsItem]{ + OutputState: in.ToOrganizationContactNotificationCategorySubscriptionsItemPtrOutputWithContext(ctx).OutputState, + } +} + // OrganizationContactNotificationCategorySubscriptionsItemArrayInput is an input type that accepts OrganizationContactNotificationCategorySubscriptionsItemArray and OrganizationContactNotificationCategorySubscriptionsItemArrayOutput values. // You can construct a concrete instance of `OrganizationContactNotificationCategorySubscriptionsItemArrayInput` via: // @@ -1003,6 +1118,12 @@ func (i OrganizationContactNotificationCategorySubscriptionsItemArray) ToOrganiz return pulumi.ToOutputWithContext(ctx, i).(OrganizationContactNotificationCategorySubscriptionsItemArrayOutput) } +func (i OrganizationContactNotificationCategorySubscriptionsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]OrganizationContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[[]OrganizationContactNotificationCategorySubscriptionsItem]{ + OutputState: i.ToOrganizationContactNotificationCategorySubscriptionsItemArrayOutputWithContext(ctx).OutputState, + } +} + type OrganizationContactNotificationCategorySubscriptionsItemArrayOutput struct{ *pulumi.OutputState } func (OrganizationContactNotificationCategorySubscriptionsItemArrayOutput) ElementType() reflect.Type { @@ -1017,6 +1138,12 @@ func (o OrganizationContactNotificationCategorySubscriptionsItemArrayOutput) ToO return o } +func (o OrganizationContactNotificationCategorySubscriptionsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OrganizationContactNotificationCategorySubscriptionsItem] { + return pulumix.Output[[]OrganizationContactNotificationCategorySubscriptionsItem]{ + OutputState: o.OutputState, + } +} + func (o OrganizationContactNotificationCategorySubscriptionsItemArrayOutput) Index(i pulumi.IntInput) OrganizationContactNotificationCategorySubscriptionsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OrganizationContactNotificationCategorySubscriptionsItem { return vs[0].([]OrganizationContactNotificationCategorySubscriptionsItem)[vs[1].(int)] @@ -1095,6 +1222,12 @@ func (o OrganizationContactValidationStateOutput) ToOrganizationContactValidatio }).(OrganizationContactValidationStatePtrOutput) } +func (o OrganizationContactValidationStateOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationContactValidationState] { + return pulumix.Output[OrganizationContactValidationState]{ + OutputState: o.OutputState, + } +} + func (o OrganizationContactValidationStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1130,6 +1263,12 @@ func (o OrganizationContactValidationStatePtrOutput) ToOrganizationContactValida return o } +func (o OrganizationContactValidationStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationContactValidationState] { + return pulumix.Output[*OrganizationContactValidationState]{ + OutputState: o.OutputState, + } +} + func (o OrganizationContactValidationStatePtrOutput) Elem() OrganizationContactValidationStateOutput { return o.ApplyT(func(v *OrganizationContactValidationState) OrganizationContactValidationState { if v != nil { @@ -1192,6 +1331,12 @@ func (in *organizationContactValidationStatePtr) ToOrganizationContactValidation return pulumi.ToOutputWithContext(ctx, in).(OrganizationContactValidationStatePtrOutput) } +func (in *organizationContactValidationStatePtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationContactValidationState] { + return pulumix.Output[*OrganizationContactValidationState]{ + OutputState: in.ToOrganizationContactValidationStatePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ContactNotificationCategorySubscriptionsItemInput)(nil)).Elem(), ContactNotificationCategorySubscriptionsItem("NOTIFICATION_CATEGORY_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ContactNotificationCategorySubscriptionsItemPtrInput)(nil)).Elem(), ContactNotificationCategorySubscriptionsItem("NOTIFICATION_CATEGORY_UNSPECIFIED")) diff --git a/sdk/go/google/eventarc/v1/channel.go b/sdk/go/google/eventarc/v1/channel.go index 942e3f4dcc..fd10410d56 100644 --- a/sdk/go/google/eventarc/v1/channel.go +++ b/sdk/go/google/eventarc/v1/channel.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new channel in a particular project and location. @@ -138,6 +139,12 @@ func (i *Channel) ToChannelOutputWithContext(ctx context.Context) ChannelOutput return pulumi.ToOutputWithContext(ctx, i).(ChannelOutput) } +func (i *Channel) ToOutput(ctx context.Context) pulumix.Output[*Channel] { + return pulumix.Output[*Channel]{ + OutputState: i.ToChannelOutputWithContext(ctx).OutputState, + } +} + type ChannelOutput struct{ *pulumi.OutputState } func (ChannelOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOu return o } +func (o ChannelOutput) ToOutput(ctx context.Context) pulumix.Output[*Channel] { + return pulumix.Output[*Channel]{ + OutputState: o.OutputState, + } +} + // The activation token for the channel. The token must be used by the provider to register the channel for publishing. func (o ChannelOutput) ActivationToken() pulumi.StringOutput { return o.ApplyT(func(v *Channel) pulumi.StringOutput { return v.ActivationToken }).(pulumi.StringOutput) diff --git a/sdk/go/google/eventarc/v1/channelConnection.go b/sdk/go/google/eventarc/v1/channelConnection.go index cfcb8f3433..ba449017e0 100644 --- a/sdk/go/google/eventarc/v1/channelConnection.go +++ b/sdk/go/google/eventarc/v1/channelConnection.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new ChannelConnection in a particular project and location. @@ -135,6 +136,12 @@ func (i *ChannelConnection) ToChannelConnectionOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ChannelConnectionOutput) } +func (i *ChannelConnection) ToOutput(ctx context.Context) pulumix.Output[*ChannelConnection] { + return pulumix.Output[*ChannelConnection]{ + OutputState: i.ToChannelConnectionOutputWithContext(ctx).OutputState, + } +} + type ChannelConnectionOutput struct{ *pulumi.OutputState } func (ChannelConnectionOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ChannelConnectionOutput) ToChannelConnectionOutputWithContext(ctx contex return o } +func (o ChannelConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelConnection] { + return pulumix.Output[*ChannelConnection]{ + OutputState: o.OutputState, + } +} + // Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource. func (o ChannelConnectionOutput) ActivationToken() pulumi.StringOutput { return o.ApplyT(func(v *ChannelConnection) pulumi.StringOutput { return v.ActivationToken }).(pulumi.StringOutput) diff --git a/sdk/go/google/eventarc/v1/channelConnectionIamBinding.go b/sdk/go/google/eventarc/v1/channelConnectionIamBinding.go index d8ea388da0..5d4145c6ee 100644 --- a/sdk/go/google/eventarc/v1/channelConnectionIamBinding.go +++ b/sdk/go/google/eventarc/v1/channelConnectionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ChannelConnectionIamBinding) ToChannelConnectionIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ChannelConnectionIamBindingOutput) } +func (i *ChannelConnectionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ChannelConnectionIamBinding] { + return pulumix.Output[*ChannelConnectionIamBinding]{ + OutputState: i.ToChannelConnectionIamBindingOutputWithContext(ctx).OutputState, + } +} + type ChannelConnectionIamBindingOutput struct{ *pulumi.OutputState } func (ChannelConnectionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ChannelConnectionIamBindingOutput) ToChannelConnectionIamBindingOutputWi return o } +func (o ChannelConnectionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelConnectionIamBinding] { + return pulumix.Output[*ChannelConnectionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ChannelConnectionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ChannelConnectionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/eventarc/v1/channelConnectionIamMember.go b/sdk/go/google/eventarc/v1/channelConnectionIamMember.go index 57303fbc6b..52d2e15652 100644 --- a/sdk/go/google/eventarc/v1/channelConnectionIamMember.go +++ b/sdk/go/google/eventarc/v1/channelConnectionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ChannelConnectionIamMember) ToChannelConnectionIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ChannelConnectionIamMemberOutput) } +func (i *ChannelConnectionIamMember) ToOutput(ctx context.Context) pulumix.Output[*ChannelConnectionIamMember] { + return pulumix.Output[*ChannelConnectionIamMember]{ + OutputState: i.ToChannelConnectionIamMemberOutputWithContext(ctx).OutputState, + } +} + type ChannelConnectionIamMemberOutput struct{ *pulumi.OutputState } func (ChannelConnectionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ChannelConnectionIamMemberOutput) ToChannelConnectionIamMemberOutputWith return o } +func (o ChannelConnectionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelConnectionIamMember] { + return pulumix.Output[*ChannelConnectionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ChannelConnectionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ChannelConnectionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/eventarc/v1/channelConnectionIamPolicy.go b/sdk/go/google/eventarc/v1/channelConnectionIamPolicy.go index c9ca4f74ce..0b93d7eb1c 100644 --- a/sdk/go/google/eventarc/v1/channelConnectionIamPolicy.go +++ b/sdk/go/google/eventarc/v1/channelConnectionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ChannelConnectionIamPolicy) ToChannelConnectionIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ChannelConnectionIamPolicyOutput) } +func (i *ChannelConnectionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ChannelConnectionIamPolicy] { + return pulumix.Output[*ChannelConnectionIamPolicy]{ + OutputState: i.ToChannelConnectionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ChannelConnectionIamPolicyOutput struct{ *pulumi.OutputState } func (ChannelConnectionIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ChannelConnectionIamPolicyOutput) ToChannelConnectionIamPolicyOutputWith return o } +func (o ChannelConnectionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelConnectionIamPolicy] { + return pulumix.Output[*ChannelConnectionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ChannelConnectionIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ChannelConnectionIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/eventarc/v1/channelIamBinding.go b/sdk/go/google/eventarc/v1/channelIamBinding.go index 2f2d34fa22..338d47b4b3 100644 --- a/sdk/go/google/eventarc/v1/channelIamBinding.go +++ b/sdk/go/google/eventarc/v1/channelIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ChannelIamBinding) ToChannelIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ChannelIamBindingOutput) } +func (i *ChannelIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ChannelIamBinding] { + return pulumix.Output[*ChannelIamBinding]{ + OutputState: i.ToChannelIamBindingOutputWithContext(ctx).OutputState, + } +} + type ChannelIamBindingOutput struct{ *pulumi.OutputState } func (ChannelIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ChannelIamBindingOutput) ToChannelIamBindingOutputWithContext(ctx contex return o } +func (o ChannelIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelIamBinding] { + return pulumix.Output[*ChannelIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ChannelIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ChannelIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/eventarc/v1/channelIamMember.go b/sdk/go/google/eventarc/v1/channelIamMember.go index 5cdb0c63eb..6c296b2f24 100644 --- a/sdk/go/google/eventarc/v1/channelIamMember.go +++ b/sdk/go/google/eventarc/v1/channelIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ChannelIamMember) ToChannelIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ChannelIamMemberOutput) } +func (i *ChannelIamMember) ToOutput(ctx context.Context) pulumix.Output[*ChannelIamMember] { + return pulumix.Output[*ChannelIamMember]{ + OutputState: i.ToChannelIamMemberOutputWithContext(ctx).OutputState, + } +} + type ChannelIamMemberOutput struct{ *pulumi.OutputState } func (ChannelIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ChannelIamMemberOutput) ToChannelIamMemberOutputWithContext(ctx context. return o } +func (o ChannelIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelIamMember] { + return pulumix.Output[*ChannelIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ChannelIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ChannelIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/eventarc/v1/channelIamPolicy.go b/sdk/go/google/eventarc/v1/channelIamPolicy.go index 7418efb3a5..91cfb7d711 100644 --- a/sdk/go/google/eventarc/v1/channelIamPolicy.go +++ b/sdk/go/google/eventarc/v1/channelIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ChannelIamPolicy) ToChannelIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ChannelIamPolicyOutput) } +func (i *ChannelIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ChannelIamPolicy] { + return pulumix.Output[*ChannelIamPolicy]{ + OutputState: i.ToChannelIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ChannelIamPolicyOutput struct{ *pulumi.OutputState } func (ChannelIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ChannelIamPolicyOutput) ToChannelIamPolicyOutputWithContext(ctx context. return o } +func (o ChannelIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ChannelIamPolicy] { + return pulumix.Output[*ChannelIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ChannelIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ChannelIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/eventarc/v1/getChannel.go b/sdk/go/google/eventarc/v1/getChannel.go index 0dab20e373..e1c8d0ef0b 100644 --- a/sdk/go/google/eventarc/v1/getChannel.go +++ b/sdk/go/google/eventarc/v1/getChannel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a single Channel. @@ -86,6 +87,12 @@ func (o LookupChannelResultOutput) ToLookupChannelResultOutputWithContext(ctx co return o } +func (o LookupChannelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupChannelResult] { + return pulumix.Output[LookupChannelResult]{ + OutputState: o.OutputState, + } +} + // The activation token for the channel. The token must be used by the provider to register the channel for publishing. func (o LookupChannelResultOutput) ActivationToken() pulumi.StringOutput { return o.ApplyT(func(v LookupChannelResult) string { return v.ActivationToken }).(pulumi.StringOutput) diff --git a/sdk/go/google/eventarc/v1/getChannelConnection.go b/sdk/go/google/eventarc/v1/getChannelConnection.go index c0fabaf888..1b66cbd47f 100644 --- a/sdk/go/google/eventarc/v1/getChannelConnection.go +++ b/sdk/go/google/eventarc/v1/getChannelConnection.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a single ChannelConnection. @@ -80,6 +81,12 @@ func (o LookupChannelConnectionResultOutput) ToLookupChannelConnectionResultOutp return o } +func (o LookupChannelConnectionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupChannelConnectionResult] { + return pulumix.Output[LookupChannelConnectionResult]{ + OutputState: o.OutputState, + } +} + // Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource. func (o LookupChannelConnectionResultOutput) ActivationToken() pulumi.StringOutput { return o.ApplyT(func(v LookupChannelConnectionResult) string { return v.ActivationToken }).(pulumi.StringOutput) diff --git a/sdk/go/google/eventarc/v1/getChannelConnectionIamPolicy.go b/sdk/go/google/eventarc/v1/getChannelConnectionIamPolicy.go index 9ada83d951..ab456f5e11 100644 --- a/sdk/go/google/eventarc/v1/getChannelConnectionIamPolicy.go +++ b/sdk/go/google/eventarc/v1/getChannelConnectionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupChannelConnectionIamPolicyResultOutput) ToLookupChannelConnectionI return o } +func (o LookupChannelConnectionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupChannelConnectionIamPolicyResult] { + return pulumix.Output[LookupChannelConnectionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupChannelConnectionIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupChannelConnectionIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/eventarc/v1/getChannelIamPolicy.go b/sdk/go/google/eventarc/v1/getChannelIamPolicy.go index c20cbe088a..a6995673e3 100644 --- a/sdk/go/google/eventarc/v1/getChannelIamPolicy.go +++ b/sdk/go/google/eventarc/v1/getChannelIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupChannelIamPolicyResultOutput) ToLookupChannelIamPolicyResultOutput return o } +func (o LookupChannelIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupChannelIamPolicyResult] { + return pulumix.Output[LookupChannelIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupChannelIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupChannelIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/eventarc/v1/getTrigger.go b/sdk/go/google/eventarc/v1/getTrigger.go index d86dfdaa45..9861da0d41 100644 --- a/sdk/go/google/eventarc/v1/getTrigger.go +++ b/sdk/go/google/eventarc/v1/getTrigger.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a single trigger. @@ -94,6 +95,12 @@ func (o LookupTriggerResultOutput) ToLookupTriggerResultOutputWithContext(ctx co return o } +func (o LookupTriggerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTriggerResult] { + return pulumix.Output[LookupTriggerResult]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners. func (o LookupTriggerResultOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v LookupTriggerResult) string { return v.Channel }).(pulumi.StringOutput) diff --git a/sdk/go/google/eventarc/v1/getTriggerIamPolicy.go b/sdk/go/google/eventarc/v1/getTriggerIamPolicy.go index 51460f3bf0..222cd64488 100644 --- a/sdk/go/google/eventarc/v1/getTriggerIamPolicy.go +++ b/sdk/go/google/eventarc/v1/getTriggerIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupTriggerIamPolicyResultOutput) ToLookupTriggerIamPolicyResultOutput return o } +func (o LookupTriggerIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTriggerIamPolicyResult] { + return pulumix.Output[LookupTriggerIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupTriggerIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupTriggerIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/eventarc/v1/pulumiEnums.go b/sdk/go/google/eventarc/v1/pulumiEnums.go index 1933426dfd..57f0421e67 100644 --- a/sdk/go/google/eventarc/v1/pulumiEnums.go +++ b/sdk/go/google/eventarc/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/eventarc/v1/pulumiTypes.go b/sdk/go/google/eventarc/v1/pulumiTypes.go index ed2575fe7f..34cfa33937 100644 --- a/sdk/go/google/eventarc/v1/pulumiTypes.go +++ b/sdk/go/google/eventarc/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -558,6 +667,12 @@ func (i CloudRunArgs) ToCloudRunOutputWithContext(ctx context.Context) CloudRunO return pulumi.ToOutputWithContext(ctx, i).(CloudRunOutput) } +func (i CloudRunArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRun] { + return pulumix.Output[CloudRun]{ + OutputState: i.ToCloudRunOutputWithContext(ctx).OutputState, + } +} + func (i CloudRunArgs) ToCloudRunPtrOutput() CloudRunPtrOutput { return i.ToCloudRunPtrOutputWithContext(context.Background()) } @@ -599,6 +714,12 @@ func (i *cloudRunPtrType) ToCloudRunPtrOutputWithContext(ctx context.Context) Cl return pulumi.ToOutputWithContext(ctx, i).(CloudRunPtrOutput) } +func (i *cloudRunPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRun] { + return pulumix.Output[*CloudRun]{ + OutputState: i.ToCloudRunPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Cloud Run destination. type CloudRunOutput struct{ *pulumi.OutputState } @@ -624,6 +745,12 @@ func (o CloudRunOutput) ToCloudRunPtrOutputWithContext(ctx context.Context) Clou }).(CloudRunPtrOutput) } +func (o CloudRunOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRun] { + return pulumix.Output[CloudRun]{ + OutputState: o.OutputState, + } +} + // Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". func (o CloudRunOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudRun) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -653,6 +780,12 @@ func (o CloudRunPtrOutput) ToCloudRunPtrOutputWithContext(ctx context.Context) C return o } +func (o CloudRunPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRun] { + return pulumix.Output[*CloudRun]{ + OutputState: o.OutputState, + } +} + func (o CloudRunPtrOutput) Elem() CloudRunOutput { return o.ApplyT(func(v *CloudRun) CloudRun { if v != nil { @@ -718,6 +851,12 @@ func (o CloudRunResponseOutput) ToCloudRunResponseOutputWithContext(ctx context. return o } +func (o CloudRunResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunResponse] { + return pulumix.Output[CloudRunResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". func (o CloudRunResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v CloudRunResponse) string { return v.Path }).(pulumi.StringOutput) @@ -780,6 +919,12 @@ func (i DestinationArgs) ToDestinationOutputWithContext(ctx context.Context) Des return pulumi.ToOutputWithContext(ctx, i).(DestinationOutput) } +func (i DestinationArgs) ToOutput(ctx context.Context) pulumix.Output[Destination] { + return pulumix.Output[Destination]{ + OutputState: i.ToDestinationOutputWithContext(ctx).OutputState, + } +} + // Represents a target of an invocation over HTTP. type DestinationOutput struct{ *pulumi.OutputState } @@ -795,6 +940,12 @@ func (o DestinationOutput) ToDestinationOutputWithContext(ctx context.Context) D return o } +func (o DestinationOutput) ToOutput(ctx context.Context) pulumix.Output[Destination] { + return pulumix.Output[Destination]{ + OutputState: o.OutputState, + } +} + // The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value. func (o DestinationOutput) CloudFunction() pulumi.StringPtrOutput { return o.ApplyT(func(v Destination) *string { return v.CloudFunction }).(pulumi.StringPtrOutput) @@ -842,6 +993,12 @@ func (o DestinationResponseOutput) ToDestinationResponseOutputWithContext(ctx co return o } +func (o DestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationResponse] { + return pulumix.Output[DestinationResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value. func (o DestinationResponseOutput) CloudFunction() pulumi.StringOutput { return o.ApplyT(func(v DestinationResponse) string { return v.CloudFunction }).(pulumi.StringOutput) @@ -905,6 +1062,12 @@ func (i EventFilterArgs) ToEventFilterOutputWithContext(ctx context.Context) Eve return pulumi.ToOutputWithContext(ctx, i).(EventFilterOutput) } +func (i EventFilterArgs) ToOutput(ctx context.Context) pulumix.Output[EventFilter] { + return pulumix.Output[EventFilter]{ + OutputState: i.ToEventFilterOutputWithContext(ctx).OutputState, + } +} + // EventFilterArrayInput is an input type that accepts EventFilterArray and EventFilterArrayOutput values. // You can construct a concrete instance of `EventFilterArrayInput` via: // @@ -930,6 +1093,12 @@ func (i EventFilterArray) ToEventFilterArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(EventFilterArrayOutput) } +func (i EventFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]EventFilter] { + return pulumix.Output[[]EventFilter]{ + OutputState: i.ToEventFilterArrayOutputWithContext(ctx).OutputState, + } +} + // Filters events based on exact matches on the CloudEvents attributes. type EventFilterOutput struct{ *pulumi.OutputState } @@ -945,6 +1114,12 @@ func (o EventFilterOutput) ToEventFilterOutputWithContext(ctx context.Context) E return o } +func (o EventFilterOutput) ToOutput(ctx context.Context) pulumix.Output[EventFilter] { + return pulumix.Output[EventFilter]{ + OutputState: o.OutputState, + } +} + // The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' attribute. func (o EventFilterOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v EventFilter) string { return v.Attribute }).(pulumi.StringOutput) @@ -974,6 +1149,12 @@ func (o EventFilterArrayOutput) ToEventFilterArrayOutputWithContext(ctx context. return o } +func (o EventFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventFilter] { + return pulumix.Output[[]EventFilter]{ + OutputState: o.OutputState, + } +} + func (o EventFilterArrayOutput) Index(i pulumi.IntInput) EventFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventFilter { return vs[0].([]EventFilter)[vs[1].(int)] @@ -1005,6 +1186,12 @@ func (o EventFilterResponseOutput) ToEventFilterResponseOutputWithContext(ctx co return o } +func (o EventFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventFilterResponse] { + return pulumix.Output[EventFilterResponse]{ + OutputState: o.OutputState, + } +} + // The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. You can [retrieve a specific provider's supported event types](/eventarc/docs/list-providers#describe-provider). All triggers MUST provide a filter for the 'type' attribute. func (o EventFilterResponseOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v EventFilterResponse) string { return v.Attribute }).(pulumi.StringOutput) @@ -1034,6 +1221,12 @@ func (o EventFilterResponseArrayOutput) ToEventFilterResponseArrayOutputWithCont return o } +func (o EventFilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EventFilterResponse] { + return pulumix.Output[[]EventFilterResponse]{ + OutputState: o.OutputState, + } +} + func (o EventFilterResponseArrayOutput) Index(i pulumi.IntInput) EventFilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventFilterResponse { return vs[0].([]EventFilterResponse)[vs[1].(int)] @@ -1087,6 +1280,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1128,6 +1327,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1153,6 +1358,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1187,6 +1398,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1264,6 +1481,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1335,6 +1558,12 @@ func (i GKEArgs) ToGKEOutputWithContext(ctx context.Context) GKEOutput { return pulumi.ToOutputWithContext(ctx, i).(GKEOutput) } +func (i GKEArgs) ToOutput(ctx context.Context) pulumix.Output[GKE] { + return pulumix.Output[GKE]{ + OutputState: i.ToGKEOutputWithContext(ctx).OutputState, + } +} + func (i GKEArgs) ToGKEPtrOutput() GKEPtrOutput { return i.ToGKEPtrOutputWithContext(context.Background()) } @@ -1376,6 +1605,12 @@ func (i *gkePtrType) ToGKEPtrOutputWithContext(ctx context.Context) GKEPtrOutput return pulumi.ToOutputWithContext(ctx, i).(GKEPtrOutput) } +func (i *gkePtrType) ToOutput(ctx context.Context) pulumix.Output[*GKE] { + return pulumix.Output[*GKE]{ + OutputState: i.ToGKEPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a GKE destination. type GKEOutput struct{ *pulumi.OutputState } @@ -1401,6 +1636,12 @@ func (o GKEOutput) ToGKEPtrOutputWithContext(ctx context.Context) GKEPtrOutput { }).(GKEPtrOutput) } +func (o GKEOutput) ToOutput(ctx context.Context) pulumix.Output[GKE] { + return pulumix.Output[GKE]{ + OutputState: o.OutputState, + } +} + // The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created. func (o GKEOutput) Cluster() pulumi.StringOutput { return o.ApplyT(func(v GKE) string { return v.Cluster }).(pulumi.StringOutput) @@ -1440,6 +1681,12 @@ func (o GKEPtrOutput) ToGKEPtrOutputWithContext(ctx context.Context) GKEPtrOutpu return o } +func (o GKEPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GKE] { + return pulumix.Output[*GKE]{ + OutputState: o.OutputState, + } +} + func (o GKEPtrOutput) Elem() GKEOutput { return o.ApplyT(func(v *GKE) GKE { if v != nil { @@ -1529,6 +1776,12 @@ func (o GKEResponseOutput) ToGKEResponseOutputWithContext(ctx context.Context) G return o } +func (o GKEResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GKEResponse] { + return pulumix.Output[GKEResponse]{ + OutputState: o.OutputState, + } +} + // The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created. func (o GKEResponseOutput) Cluster() pulumi.StringOutput { return o.ApplyT(func(v GKEResponse) string { return v.Cluster }).(pulumi.StringOutput) @@ -1589,6 +1842,12 @@ func (i PubsubArgs) ToPubsubOutputWithContext(ctx context.Context) PubsubOutput return pulumi.ToOutputWithContext(ctx, i).(PubsubOutput) } +func (i PubsubArgs) ToOutput(ctx context.Context) pulumix.Output[Pubsub] { + return pulumix.Output[Pubsub]{ + OutputState: i.ToPubsubOutputWithContext(ctx).OutputState, + } +} + func (i PubsubArgs) ToPubsubPtrOutput() PubsubPtrOutput { return i.ToPubsubPtrOutputWithContext(context.Background()) } @@ -1630,6 +1889,12 @@ func (i *pubsubPtrType) ToPubsubPtrOutputWithContext(ctx context.Context) Pubsub return pulumi.ToOutputWithContext(ctx, i).(PubsubPtrOutput) } +func (i *pubsubPtrType) ToOutput(ctx context.Context) pulumix.Output[*Pubsub] { + return pulumix.Output[*Pubsub]{ + OutputState: i.ToPubsubPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Pub/Sub transport. type PubsubOutput struct{ *pulumi.OutputState } @@ -1655,6 +1920,12 @@ func (o PubsubOutput) ToPubsubPtrOutputWithContext(ctx context.Context) PubsubPt }).(PubsubPtrOutput) } +func (o PubsubOutput) ToOutput(ctx context.Context) pulumix.Output[Pubsub] { + return pulumix.Output[Pubsub]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the Pub/Sub topic created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You can set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide here is not deleted by Eventarc at trigger deletion. func (o PubsubOutput) Topic() pulumi.StringPtrOutput { return o.ApplyT(func(v Pubsub) *string { return v.Topic }).(pulumi.StringPtrOutput) @@ -1674,6 +1945,12 @@ func (o PubsubPtrOutput) ToPubsubPtrOutputWithContext(ctx context.Context) Pubsu return o } +func (o PubsubPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Pubsub] { + return pulumix.Output[*Pubsub]{ + OutputState: o.OutputState, + } +} + func (o PubsubPtrOutput) Elem() PubsubOutput { return o.ApplyT(func(v *Pubsub) Pubsub { if v != nil { @@ -1717,6 +1994,12 @@ func (o PubsubResponseOutput) ToPubsubResponseOutputWithContext(ctx context.Cont return o } +func (o PubsubResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubResponse] { + return pulumix.Output[PubsubResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Pub/Sub subscription created and managed by Eventarc as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`. func (o PubsubResponseOutput) Subscription() pulumi.StringOutput { return o.ApplyT(func(v PubsubResponse) string { return v.Subscription }).(pulumi.StringOutput) @@ -1762,6 +2045,12 @@ func (i TransportArgs) ToTransportOutputWithContext(ctx context.Context) Transpo return pulumi.ToOutputWithContext(ctx, i).(TransportOutput) } +func (i TransportArgs) ToOutput(ctx context.Context) pulumix.Output[Transport] { + return pulumix.Output[Transport]{ + OutputState: i.ToTransportOutputWithContext(ctx).OutputState, + } +} + func (i TransportArgs) ToTransportPtrOutput() TransportPtrOutput { return i.ToTransportPtrOutputWithContext(context.Background()) } @@ -1803,6 +2092,12 @@ func (i *transportPtrType) ToTransportPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TransportPtrOutput) } +func (i *transportPtrType) ToOutput(ctx context.Context) pulumix.Output[*Transport] { + return pulumix.Output[*Transport]{ + OutputState: i.ToTransportPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the transport intermediaries created for the trigger to deliver events. type TransportOutput struct{ *pulumi.OutputState } @@ -1828,6 +2123,12 @@ func (o TransportOutput) ToTransportPtrOutputWithContext(ctx context.Context) Tr }).(TransportPtrOutput) } +func (o TransportOutput) ToOutput(ctx context.Context) pulumix.Output[Transport] { + return pulumix.Output[Transport]{ + OutputState: o.OutputState, + } +} + // The Pub/Sub topic and subscription used by Eventarc as a transport intermediary. func (o TransportOutput) Pubsub() PubsubPtrOutput { return o.ApplyT(func(v Transport) *Pubsub { return v.Pubsub }).(PubsubPtrOutput) @@ -1847,6 +2148,12 @@ func (o TransportPtrOutput) ToTransportPtrOutputWithContext(ctx context.Context) return o } +func (o TransportPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Transport] { + return pulumix.Output[*Transport]{ + OutputState: o.OutputState, + } +} + func (o TransportPtrOutput) Elem() TransportOutput { return o.ApplyT(func(v *Transport) Transport { if v != nil { @@ -1888,6 +2195,12 @@ func (o TransportResponseOutput) ToTransportResponseOutputWithContext(ctx contex return o } +func (o TransportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TransportResponse] { + return pulumix.Output[TransportResponse]{ + OutputState: o.OutputState, + } +} + // The Pub/Sub topic and subscription used by Eventarc as a transport intermediary. func (o TransportResponseOutput) Pubsub() PubsubResponseOutput { return o.ApplyT(func(v TransportResponse) PubsubResponse { return v.Pubsub }).(PubsubResponseOutput) diff --git a/sdk/go/google/eventarc/v1/trigger.go b/sdk/go/google/eventarc/v1/trigger.go index d5a55ffff8..9f5859f3c8 100644 --- a/sdk/go/google/eventarc/v1/trigger.go +++ b/sdk/go/google/eventarc/v1/trigger.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new trigger in a particular project and location. @@ -172,6 +173,12 @@ func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput return pulumi.ToOutputWithContext(ctx, i).(TriggerOutput) } +func (i *Trigger) ToOutput(ctx context.Context) pulumix.Output[*Trigger] { + return pulumix.Output[*Trigger]{ + OutputState: i.ToTriggerOutputWithContext(ctx).OutputState, + } +} + type TriggerOutput struct{ *pulumi.OutputState } func (TriggerOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOu return o } +func (o TriggerOutput) ToOutput(ctx context.Context) pulumix.Output[*Trigger] { + return pulumix.Output[*Trigger]{ + OutputState: o.OutputState, + } +} + // Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners. func (o TriggerOutput) Channel() pulumi.StringOutput { return o.ApplyT(func(v *Trigger) pulumi.StringOutput { return v.Channel }).(pulumi.StringOutput) diff --git a/sdk/go/google/eventarc/v1/triggerIamBinding.go b/sdk/go/google/eventarc/v1/triggerIamBinding.go index 372cc65a6e..21fd966689 100644 --- a/sdk/go/google/eventarc/v1/triggerIamBinding.go +++ b/sdk/go/google/eventarc/v1/triggerIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TriggerIamBinding) ToTriggerIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(TriggerIamBindingOutput) } +func (i *TriggerIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamBinding] { + return pulumix.Output[*TriggerIamBinding]{ + OutputState: i.ToTriggerIamBindingOutputWithContext(ctx).OutputState, + } +} + type TriggerIamBindingOutput struct{ *pulumi.OutputState } func (TriggerIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TriggerIamBindingOutput) ToTriggerIamBindingOutputWithContext(ctx contex return o } +func (o TriggerIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamBinding] { + return pulumix.Output[*TriggerIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TriggerIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TriggerIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/eventarc/v1/triggerIamMember.go b/sdk/go/google/eventarc/v1/triggerIamMember.go index 36ed8b0e3d..7509301bb8 100644 --- a/sdk/go/google/eventarc/v1/triggerIamMember.go +++ b/sdk/go/google/eventarc/v1/triggerIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TriggerIamMember) ToTriggerIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TriggerIamMemberOutput) } +func (i *TriggerIamMember) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamMember] { + return pulumix.Output[*TriggerIamMember]{ + OutputState: i.ToTriggerIamMemberOutputWithContext(ctx).OutputState, + } +} + type TriggerIamMemberOutput struct{ *pulumi.OutputState } func (TriggerIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TriggerIamMemberOutput) ToTriggerIamMemberOutputWithContext(ctx context. return o } +func (o TriggerIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamMember] { + return pulumix.Output[*TriggerIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TriggerIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TriggerIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/eventarc/v1/triggerIamPolicy.go b/sdk/go/google/eventarc/v1/triggerIamPolicy.go index a70a5765fd..247d4719c2 100644 --- a/sdk/go/google/eventarc/v1/triggerIamPolicy.go +++ b/sdk/go/google/eventarc/v1/triggerIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TriggerIamPolicy) ToTriggerIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TriggerIamPolicyOutput) } +func (i *TriggerIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamPolicy] { + return pulumix.Output[*TriggerIamPolicy]{ + OutputState: i.ToTriggerIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TriggerIamPolicyOutput struct{ *pulumi.OutputState } func (TriggerIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TriggerIamPolicyOutput) ToTriggerIamPolicyOutputWithContext(ctx context. return o } +func (o TriggerIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamPolicy] { + return pulumix.Output[*TriggerIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o TriggerIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *TriggerIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/eventarc/v1beta1/getTrigger.go b/sdk/go/google/eventarc/v1beta1/getTrigger.go index 26bf10d2d0..8e0b453460 100644 --- a/sdk/go/google/eventarc/v1beta1/getTrigger.go +++ b/sdk/go/google/eventarc/v1beta1/getTrigger.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a single trigger. @@ -86,6 +87,12 @@ func (o LookupTriggerResultOutput) ToLookupTriggerResultOutputWithContext(ctx co return o } +func (o LookupTriggerResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTriggerResult] { + return pulumix.Output[LookupTriggerResult]{ + OutputState: o.OutputState, + } +} + // The creation time. func (o LookupTriggerResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTriggerResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/eventarc/v1beta1/getTriggerIamPolicy.go b/sdk/go/google/eventarc/v1beta1/getTriggerIamPolicy.go index 8cb623d025..5979cde517 100644 --- a/sdk/go/google/eventarc/v1beta1/getTriggerIamPolicy.go +++ b/sdk/go/google/eventarc/v1beta1/getTriggerIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupTriggerIamPolicyResultOutput) ToLookupTriggerIamPolicyResultOutput return o } +func (o LookupTriggerIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTriggerIamPolicyResult] { + return pulumix.Output[LookupTriggerIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupTriggerIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupTriggerIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/eventarc/v1beta1/pulumiEnums.go b/sdk/go/google/eventarc/v1beta1/pulumiEnums.go index b95b45c51b..4d38fef38c 100644 --- a/sdk/go/google/eventarc/v1beta1/pulumiEnums.go +++ b/sdk/go/google/eventarc/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/eventarc/v1beta1/pulumiTypes.go b/sdk/go/google/eventarc/v1beta1/pulumiTypes.go index 777517c8ff..4546c59200 100644 --- a/sdk/go/google/eventarc/v1beta1/pulumiTypes.go +++ b/sdk/go/google/eventarc/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -558,6 +667,12 @@ func (i CloudRunServiceArgs) ToCloudRunServiceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CloudRunServiceOutput) } +func (i CloudRunServiceArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRunService] { + return pulumix.Output[CloudRunService]{ + OutputState: i.ToCloudRunServiceOutputWithContext(ctx).OutputState, + } +} + func (i CloudRunServiceArgs) ToCloudRunServicePtrOutput() CloudRunServicePtrOutput { return i.ToCloudRunServicePtrOutputWithContext(context.Background()) } @@ -599,6 +714,12 @@ func (i *cloudRunServicePtrType) ToCloudRunServicePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CloudRunServicePtrOutput) } +func (i *cloudRunServicePtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRunService] { + return pulumix.Output[*CloudRunService]{ + OutputState: i.ToCloudRunServicePtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Cloud Run service destination. type CloudRunServiceOutput struct{ *pulumi.OutputState } @@ -624,6 +745,12 @@ func (o CloudRunServiceOutput) ToCloudRunServicePtrOutputWithContext(ctx context }).(CloudRunServicePtrOutput) } +func (o CloudRunServiceOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunService] { + return pulumix.Output[CloudRunService]{ + OutputState: o.OutputState, + } +} + // Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". func (o CloudRunServiceOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudRunService) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -653,6 +780,12 @@ func (o CloudRunServicePtrOutput) ToCloudRunServicePtrOutputWithContext(ctx cont return o } +func (o CloudRunServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRunService] { + return pulumix.Output[*CloudRunService]{ + OutputState: o.OutputState, + } +} + func (o CloudRunServicePtrOutput) Elem() CloudRunServiceOutput { return o.ApplyT(func(v *CloudRunService) CloudRunService { if v != nil { @@ -718,6 +851,12 @@ func (o CloudRunServiceResponseOutput) ToCloudRunServiceResponseOutputWithContex return o } +func (o CloudRunServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunServiceResponse] { + return pulumix.Output[CloudRunServiceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". func (o CloudRunServiceResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v CloudRunServiceResponse) string { return v.Path }).(pulumi.StringOutput) @@ -768,6 +907,12 @@ func (i DestinationArgs) ToDestinationOutputWithContext(ctx context.Context) Des return pulumi.ToOutputWithContext(ctx, i).(DestinationOutput) } +func (i DestinationArgs) ToOutput(ctx context.Context) pulumix.Output[Destination] { + return pulumix.Output[Destination]{ + OutputState: i.ToDestinationOutputWithContext(ctx).OutputState, + } +} + // Represents a target of an invocation over HTTP. type DestinationOutput struct{ *pulumi.OutputState } @@ -783,6 +928,12 @@ func (o DestinationOutput) ToDestinationOutputWithContext(ctx context.Context) D return o } +func (o DestinationOutput) ToOutput(ctx context.Context) pulumix.Output[Destination] { + return pulumix.Output[Destination]{ + OutputState: o.OutputState, + } +} + // Cloud Run fully-managed service that receives the events. The service should be running in the same project as the trigger. func (o DestinationOutput) CloudRunService() CloudRunServicePtrOutput { return o.ApplyT(func(v Destination) *CloudRunService { return v.CloudRunService }).(CloudRunServicePtrOutput) @@ -809,6 +960,12 @@ func (o DestinationResponseOutput) ToDestinationResponseOutputWithContext(ctx co return o } +func (o DestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationResponse] { + return pulumix.Output[DestinationResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Run fully-managed service that receives the events. The service should be running in the same project as the trigger. func (o DestinationResponseOutput) CloudRunService() CloudRunServiceResponseOutput { return o.ApplyT(func(v DestinationResponse) CloudRunServiceResponse { return v.CloudRunService }).(CloudRunServiceResponseOutput) @@ -861,6 +1018,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -902,6 +1065,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -927,6 +1096,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -961,6 +1136,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1038,6 +1219,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1097,6 +1284,12 @@ func (i MatchingCriteriaArgs) ToMatchingCriteriaOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MatchingCriteriaOutput) } +func (i MatchingCriteriaArgs) ToOutput(ctx context.Context) pulumix.Output[MatchingCriteria] { + return pulumix.Output[MatchingCriteria]{ + OutputState: i.ToMatchingCriteriaOutputWithContext(ctx).OutputState, + } +} + // MatchingCriteriaArrayInput is an input type that accepts MatchingCriteriaArray and MatchingCriteriaArrayOutput values. // You can construct a concrete instance of `MatchingCriteriaArrayInput` via: // @@ -1122,6 +1315,12 @@ func (i MatchingCriteriaArray) ToMatchingCriteriaArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(MatchingCriteriaArrayOutput) } +func (i MatchingCriteriaArray) ToOutput(ctx context.Context) pulumix.Output[[]MatchingCriteria] { + return pulumix.Output[[]MatchingCriteria]{ + OutputState: i.ToMatchingCriteriaArrayOutputWithContext(ctx).OutputState, + } +} + // Matches events based on exact matches on the CloudEvents attributes. type MatchingCriteriaOutput struct{ *pulumi.OutputState } @@ -1137,6 +1336,12 @@ func (o MatchingCriteriaOutput) ToMatchingCriteriaOutputWithContext(ctx context. return o } +func (o MatchingCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[MatchingCriteria] { + return pulumix.Output[MatchingCriteria]{ + OutputState: o.OutputState, + } +} + // The name of a CloudEvents attribute. Currently, only a subset of attributes can be specified. All triggers MUST provide a matching criteria for the 'type' attribute. func (o MatchingCriteriaOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v MatchingCriteria) string { return v.Attribute }).(pulumi.StringOutput) @@ -1161,6 +1366,12 @@ func (o MatchingCriteriaArrayOutput) ToMatchingCriteriaArrayOutputWithContext(ct return o } +func (o MatchingCriteriaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MatchingCriteria] { + return pulumix.Output[[]MatchingCriteria]{ + OutputState: o.OutputState, + } +} + func (o MatchingCriteriaArrayOutput) Index(i pulumi.IntInput) MatchingCriteriaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatchingCriteria { return vs[0].([]MatchingCriteria)[vs[1].(int)] @@ -1190,6 +1401,12 @@ func (o MatchingCriteriaResponseOutput) ToMatchingCriteriaResponseOutputWithCont return o } +func (o MatchingCriteriaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MatchingCriteriaResponse] { + return pulumix.Output[MatchingCriteriaResponse]{ + OutputState: o.OutputState, + } +} + // The name of a CloudEvents attribute. Currently, only a subset of attributes can be specified. All triggers MUST provide a matching criteria for the 'type' attribute. func (o MatchingCriteriaResponseOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v MatchingCriteriaResponse) string { return v.Attribute }).(pulumi.StringOutput) @@ -1214,6 +1431,12 @@ func (o MatchingCriteriaResponseArrayOutput) ToMatchingCriteriaResponseArrayOutp return o } +func (o MatchingCriteriaResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MatchingCriteriaResponse] { + return pulumix.Output[[]MatchingCriteriaResponse]{ + OutputState: o.OutputState, + } +} + func (o MatchingCriteriaResponseArrayOutput) Index(i pulumi.IntInput) MatchingCriteriaResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatchingCriteriaResponse { return vs[0].([]MatchingCriteriaResponse)[vs[1].(int)] @@ -1243,6 +1466,12 @@ func (o PubsubResponseOutput) ToPubsubResponseOutputWithContext(ctx context.Cont return o } +func (o PubsubResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubResponse] { + return pulumix.Output[PubsubResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`. func (o PubsubResponseOutput) Subscription() pulumi.StringOutput { return o.ApplyT(func(v PubsubResponse) string { return v.Subscription }).(pulumi.StringOutput) @@ -1274,6 +1503,12 @@ func (o TransportResponseOutput) ToTransportResponseOutputWithContext(ctx contex return o } +func (o TransportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TransportResponse] { + return pulumix.Output[TransportResponse]{ + OutputState: o.OutputState, + } +} + // The Pub/Sub topic and subscription used by Eventarc as delivery intermediary. func (o TransportResponseOutput) Pubsub() PubsubResponseOutput { return o.ApplyT(func(v TransportResponse) PubsubResponse { return v.Pubsub }).(PubsubResponseOutput) diff --git a/sdk/go/google/eventarc/v1beta1/trigger.go b/sdk/go/google/eventarc/v1beta1/trigger.go index 55ca3b8225..f9cf2eab2c 100644 --- a/sdk/go/google/eventarc/v1beta1/trigger.go +++ b/sdk/go/google/eventarc/v1beta1/trigger.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new trigger in a particular project and location. @@ -152,6 +153,12 @@ func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput return pulumi.ToOutputWithContext(ctx, i).(TriggerOutput) } +func (i *Trigger) ToOutput(ctx context.Context) pulumix.Output[*Trigger] { + return pulumix.Output[*Trigger]{ + OutputState: i.ToTriggerOutputWithContext(ctx).OutputState, + } +} + type TriggerOutput struct{ *pulumi.OutputState } func (TriggerOutput) ElementType() reflect.Type { @@ -166,6 +173,12 @@ func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOu return o } +func (o TriggerOutput) ToOutput(ctx context.Context) pulumix.Output[*Trigger] { + return pulumix.Output[*Trigger]{ + OutputState: o.OutputState, + } +} + // The creation time. func (o TriggerOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Trigger) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/eventarc/v1beta1/triggerIamBinding.go b/sdk/go/google/eventarc/v1beta1/triggerIamBinding.go index 4084a1c03e..632f8eda14 100644 --- a/sdk/go/google/eventarc/v1beta1/triggerIamBinding.go +++ b/sdk/go/google/eventarc/v1beta1/triggerIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TriggerIamBinding) ToTriggerIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(TriggerIamBindingOutput) } +func (i *TriggerIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamBinding] { + return pulumix.Output[*TriggerIamBinding]{ + OutputState: i.ToTriggerIamBindingOutputWithContext(ctx).OutputState, + } +} + type TriggerIamBindingOutput struct{ *pulumi.OutputState } func (TriggerIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TriggerIamBindingOutput) ToTriggerIamBindingOutputWithContext(ctx contex return o } +func (o TriggerIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamBinding] { + return pulumix.Output[*TriggerIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TriggerIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TriggerIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/eventarc/v1beta1/triggerIamMember.go b/sdk/go/google/eventarc/v1beta1/triggerIamMember.go index d0b9ef4703..fc7733e4a3 100644 --- a/sdk/go/google/eventarc/v1beta1/triggerIamMember.go +++ b/sdk/go/google/eventarc/v1beta1/triggerIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TriggerIamMember) ToTriggerIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TriggerIamMemberOutput) } +func (i *TriggerIamMember) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamMember] { + return pulumix.Output[*TriggerIamMember]{ + OutputState: i.ToTriggerIamMemberOutputWithContext(ctx).OutputState, + } +} + type TriggerIamMemberOutput struct{ *pulumi.OutputState } func (TriggerIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TriggerIamMemberOutput) ToTriggerIamMemberOutputWithContext(ctx context. return o } +func (o TriggerIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamMember] { + return pulumix.Output[*TriggerIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TriggerIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TriggerIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/eventarc/v1beta1/triggerIamPolicy.go b/sdk/go/google/eventarc/v1beta1/triggerIamPolicy.go index 6026a55f70..a52ee9345f 100644 --- a/sdk/go/google/eventarc/v1beta1/triggerIamPolicy.go +++ b/sdk/go/google/eventarc/v1beta1/triggerIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TriggerIamPolicy) ToTriggerIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TriggerIamPolicyOutput) } +func (i *TriggerIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamPolicy] { + return pulumix.Output[*TriggerIamPolicy]{ + OutputState: i.ToTriggerIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TriggerIamPolicyOutput struct{ *pulumi.OutputState } func (TriggerIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TriggerIamPolicyOutput) ToTriggerIamPolicyOutputWithContext(ctx context. return o } +func (o TriggerIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TriggerIamPolicy] { + return pulumix.Output[*TriggerIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o TriggerIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *TriggerIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/file/v1/backup.go b/sdk/go/google/file/v1/backup.go index a78eeb5996..2177469271 100644 --- a/sdk/go/google/file/v1/backup.go +++ b/sdk/go/google/file/v1/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a backup. @@ -155,6 +156,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error. func (o BackupOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *Backup) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1/getBackup.go b/sdk/go/google/file/v1/getBackup.go index 9f9eda4440..e26c139db7 100644 --- a/sdk/go/google/file/v1/getBackup.go +++ b/sdk/go/google/file/v1/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific backup. @@ -94,6 +95,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // Capacity of the source file share when the backup was created. func (o LookupBackupResultOutput) CapacityGb() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupResult) string { return v.CapacityGb }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1/getInstance.go b/sdk/go/google/file/v1/getInstance.go index 665cde2123..2f0bc3350d 100644 --- a/sdk/go/google/file/v1/getInstance.go +++ b/sdk/go/google/file/v1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific instance. @@ -94,6 +95,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // The time when the instance was created. func (o LookupInstanceResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1/getSnapshot.go b/sdk/go/google/file/v1/getSnapshot.go index cce0fc10cf..1a0dae4ad0 100644 --- a/sdk/go/google/file/v1/getSnapshot.go +++ b/sdk/go/google/file/v1/getSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific snapshot. @@ -82,6 +83,12 @@ func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx return o } +func (o LookupSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotResult] { + return pulumix.Output[LookupSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The time when the snapshot was created. func (o LookupSnapshotResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupSnapshotResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1/instance.go b/sdk/go/google/file/v1/instance.go index 12c1a3a115..07d6e48046 100644 --- a/sdk/go/google/file/v1/instance.go +++ b/sdk/go/google/file/v1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier). @@ -163,6 +164,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // The time when the instance was created. func (o InstanceOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1/pulumiEnums.go b/sdk/go/google/file/v1/pulumiEnums.go index 691777fe02..3341222caa 100644 --- a/sdk/go/google/file/v1/pulumiEnums.go +++ b/sdk/go/google/file/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The service tier of the instance. @@ -92,6 +93,12 @@ func (o InstanceTierOutput) ToInstanceTierPtrOutputWithContext(ctx context.Conte }).(InstanceTierPtrOutput) } +func (o InstanceTierOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceTier] { + return pulumix.Output[InstanceTier]{ + OutputState: o.OutputState, + } +} + func (o InstanceTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -127,6 +134,12 @@ func (o InstanceTierPtrOutput) ToInstanceTierPtrOutputWithContext(ctx context.Co return o } +func (o InstanceTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTier] { + return pulumix.Output[*InstanceTier]{ + OutputState: o.OutputState, + } +} + func (o InstanceTierPtrOutput) Elem() InstanceTierOutput { return o.ApplyT(func(v *InstanceTier) InstanceTier { if v != nil { @@ -189,6 +202,12 @@ func (in *instanceTierPtr) ToInstanceTierPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(InstanceTierPtrOutput) } +func (in *instanceTierPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceTier] { + return pulumix.Output[*InstanceTier]{ + OutputState: in.ToInstanceTierPtrOutputWithContext(ctx).OutputState, + } +} + // The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. type NetworkConfigConnectMode string @@ -261,6 +280,12 @@ func (o NetworkConfigConnectModeOutput) ToNetworkConfigConnectModePtrOutputWithC }).(NetworkConfigConnectModePtrOutput) } +func (o NetworkConfigConnectModeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigConnectMode] { + return pulumix.Output[NetworkConfigConnectMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigConnectModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -296,6 +321,12 @@ func (o NetworkConfigConnectModePtrOutput) ToNetworkConfigConnectModePtrOutputWi return o } +func (o NetworkConfigConnectModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigConnectMode] { + return pulumix.Output[*NetworkConfigConnectMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigConnectModePtrOutput) Elem() NetworkConfigConnectModeOutput { return o.ApplyT(func(v *NetworkConfigConnectMode) NetworkConfigConnectMode { if v != nil { @@ -358,6 +389,12 @@ func (in *networkConfigConnectModePtr) ToNetworkConfigConnectModePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigConnectModePtrOutput) } +func (in *networkConfigConnectModePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigConnectMode] { + return pulumix.Output[*NetworkConfigConnectMode]{ + OutputState: in.ToNetworkConfigConnectModePtrOutputWithContext(ctx).OutputState, + } +} + type NetworkConfigModesItem string const ( @@ -427,6 +464,12 @@ func (o NetworkConfigModesItemOutput) ToNetworkConfigModesItemPtrOutputWithConte }).(NetworkConfigModesItemPtrOutput) } +func (o NetworkConfigModesItemOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigModesItem] { + return pulumix.Output[NetworkConfigModesItem]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigModesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -462,6 +505,12 @@ func (o NetworkConfigModesItemPtrOutput) ToNetworkConfigModesItemPtrOutputWithCo return o } +func (o NetworkConfigModesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigModesItem] { + return pulumix.Output[*NetworkConfigModesItem]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigModesItemPtrOutput) Elem() NetworkConfigModesItemOutput { return o.ApplyT(func(v *NetworkConfigModesItem) NetworkConfigModesItem { if v != nil { @@ -524,6 +573,12 @@ func (in *networkConfigModesItemPtr) ToNetworkConfigModesItemPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigModesItemPtrOutput) } +func (in *networkConfigModesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigModesItem] { + return pulumix.Output[*NetworkConfigModesItem]{ + OutputState: in.ToNetworkConfigModesItemPtrOutputWithContext(ctx).OutputState, + } +} + // NetworkConfigModesItemArrayInput is an input type that accepts NetworkConfigModesItemArray and NetworkConfigModesItemArrayOutput values. // You can construct a concrete instance of `NetworkConfigModesItemArrayInput` via: // @@ -549,6 +604,12 @@ func (i NetworkConfigModesItemArray) ToNetworkConfigModesItemArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigModesItemArrayOutput) } +func (i NetworkConfigModesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfigModesItem] { + return pulumix.Output[[]NetworkConfigModesItem]{ + OutputState: i.ToNetworkConfigModesItemArrayOutputWithContext(ctx).OutputState, + } +} + type NetworkConfigModesItemArrayOutput struct{ *pulumi.OutputState } func (NetworkConfigModesItemArrayOutput) ElementType() reflect.Type { @@ -563,6 +624,12 @@ func (o NetworkConfigModesItemArrayOutput) ToNetworkConfigModesItemArrayOutputWi return o } +func (o NetworkConfigModesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfigModesItem] { + return pulumix.Output[[]NetworkConfigModesItem]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigModesItemArrayOutput) Index(i pulumi.IntInput) NetworkConfigModesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkConfigModesItem { return vs[0].([]NetworkConfigModesItem)[vs[1].(int)] @@ -641,6 +708,12 @@ func (o NfsExportOptionsAccessModeOutput) ToNfsExportOptionsAccessModePtrOutputW }).(NfsExportOptionsAccessModePtrOutput) } +func (o NfsExportOptionsAccessModeOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptionsAccessMode] { + return pulumix.Output[NfsExportOptionsAccessMode]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsAccessModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -676,6 +749,12 @@ func (o NfsExportOptionsAccessModePtrOutput) ToNfsExportOptionsAccessModePtrOutp return o } +func (o NfsExportOptionsAccessModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NfsExportOptionsAccessMode] { + return pulumix.Output[*NfsExportOptionsAccessMode]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsAccessModePtrOutput) Elem() NfsExportOptionsAccessModeOutput { return o.ApplyT(func(v *NfsExportOptionsAccessMode) NfsExportOptionsAccessMode { if v != nil { @@ -738,6 +817,12 @@ func (in *nfsExportOptionsAccessModePtr) ToNfsExportOptionsAccessModePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(NfsExportOptionsAccessModePtrOutput) } +func (in *nfsExportOptionsAccessModePtr) ToOutput(ctx context.Context) pulumix.Output[*NfsExportOptionsAccessMode] { + return pulumix.Output[*NfsExportOptionsAccessMode]{ + OutputState: in.ToNfsExportOptionsAccessModePtrOutputWithContext(ctx).OutputState, + } +} + // Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH. type NfsExportOptionsSquashMode string @@ -810,6 +895,12 @@ func (o NfsExportOptionsSquashModeOutput) ToNfsExportOptionsSquashModePtrOutputW }).(NfsExportOptionsSquashModePtrOutput) } +func (o NfsExportOptionsSquashModeOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptionsSquashMode] { + return pulumix.Output[NfsExportOptionsSquashMode]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsSquashModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -845,6 +936,12 @@ func (o NfsExportOptionsSquashModePtrOutput) ToNfsExportOptionsSquashModePtrOutp return o } +func (o NfsExportOptionsSquashModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NfsExportOptionsSquashMode] { + return pulumix.Output[*NfsExportOptionsSquashMode]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsSquashModePtrOutput) Elem() NfsExportOptionsSquashModeOutput { return o.ApplyT(func(v *NfsExportOptionsSquashMode) NfsExportOptionsSquashMode { if v != nil { @@ -907,6 +1004,12 @@ func (in *nfsExportOptionsSquashModePtr) ToNfsExportOptionsSquashModePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(NfsExportOptionsSquashModePtrOutput) } +func (in *nfsExportOptionsSquashModePtr) ToOutput(ctx context.Context) pulumix.Output[*NfsExportOptionsSquashMode] { + return pulumix.Output[*NfsExportOptionsSquashMode]{ + OutputState: in.ToNfsExportOptionsSquashModePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceTierInput)(nil)).Elem(), InstanceTier("TIER_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*InstanceTierPtrInput)(nil)).Elem(), InstanceTier("TIER_UNSPECIFIED")) diff --git a/sdk/go/google/file/v1/pulumiTypes.go b/sdk/go/google/file/v1/pulumiTypes.go index c8bce5bb57..54d3013f42 100644 --- a/sdk/go/google/file/v1/pulumiTypes.go +++ b/sdk/go/google/file/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i FileShareConfigArgs) ToFileShareConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(FileShareConfigOutput) } +func (i FileShareConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FileShareConfig] { + return pulumix.Output[FileShareConfig]{ + OutputState: i.ToFileShareConfigOutputWithContext(ctx).OutputState, + } +} + // FileShareConfigArrayInput is an input type that accepts FileShareConfigArray and FileShareConfigArrayOutput values. // You can construct a concrete instance of `FileShareConfigArrayInput` via: // @@ -85,6 +92,12 @@ func (i FileShareConfigArray) ToFileShareConfigArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(FileShareConfigArrayOutput) } +func (i FileShareConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]FileShareConfig] { + return pulumix.Output[[]FileShareConfig]{ + OutputState: i.ToFileShareConfigArrayOutputWithContext(ctx).OutputState, + } +} + // File share configuration for the instance. type FileShareConfigOutput struct{ *pulumi.OutputState } @@ -100,6 +113,12 @@ func (o FileShareConfigOutput) ToFileShareConfigOutputWithContext(ctx context.Co return o } +func (o FileShareConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FileShareConfig] { + return pulumix.Output[FileShareConfig]{ + OutputState: o.OutputState, + } +} + // File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. func (o FileShareConfigOutput) CapacityGb() pulumi.StringPtrOutput { return o.ApplyT(func(v FileShareConfig) *string { return v.CapacityGb }).(pulumi.StringPtrOutput) @@ -134,6 +153,12 @@ func (o FileShareConfigArrayOutput) ToFileShareConfigArrayOutputWithContext(ctx return o } +func (o FileShareConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileShareConfig] { + return pulumix.Output[[]FileShareConfig]{ + OutputState: o.OutputState, + } +} + func (o FileShareConfigArrayOutput) Index(i pulumi.IntInput) FileShareConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileShareConfig { return vs[0].([]FileShareConfig)[vs[1].(int)] @@ -167,6 +192,12 @@ func (o FileShareConfigResponseOutput) ToFileShareConfigResponseOutputWithContex return o } +func (o FileShareConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileShareConfigResponse] { + return pulumix.Output[FileShareConfigResponse]{ + OutputState: o.OutputState, + } +} + // File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. func (o FileShareConfigResponseOutput) CapacityGb() pulumi.StringOutput { return o.ApplyT(func(v FileShareConfigResponse) string { return v.CapacityGb }).(pulumi.StringOutput) @@ -201,6 +232,12 @@ func (o FileShareConfigResponseArrayOutput) ToFileShareConfigResponseArrayOutput return o } +func (o FileShareConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileShareConfigResponse] { + return pulumix.Output[[]FileShareConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o FileShareConfigResponseArrayOutput) Index(i pulumi.IntInput) FileShareConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileShareConfigResponse { return vs[0].([]FileShareConfigResponse)[vs[1].(int)] @@ -254,6 +291,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + // NetworkConfigArrayInput is an input type that accepts NetworkConfigArray and NetworkConfigArrayOutput values. // You can construct a concrete instance of `NetworkConfigArrayInput` via: // @@ -279,6 +322,12 @@ func (i NetworkConfigArray) ToNetworkConfigArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigArrayOutput) } +func (i NetworkConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfig] { + return pulumix.Output[[]NetworkConfig]{ + OutputState: i.ToNetworkConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Network configuration for the instance. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -294,6 +343,12 @@ func (o NetworkConfigOutput) ToNetworkConfigOutputWithContext(ctx context.Contex return o } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. func (o NetworkConfigOutput) ConnectMode() NetworkConfigConnectModePtrOutput { return o.ApplyT(func(v NetworkConfig) *NetworkConfigConnectMode { return v.ConnectMode }).(NetworkConfigConnectModePtrOutput) @@ -328,6 +383,12 @@ func (o NetworkConfigArrayOutput) ToNetworkConfigArrayOutputWithContext(ctx cont return o } +func (o NetworkConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfig] { + return pulumix.Output[[]NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigArrayOutput) Index(i pulumi.IntInput) NetworkConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkConfig { return vs[0].([]NetworkConfig)[vs[1].(int)] @@ -363,6 +424,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. func (o NetworkConfigResponseOutput) ConnectMode() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfigResponse) string { return v.ConnectMode }).(pulumi.StringOutput) @@ -402,6 +469,12 @@ func (o NetworkConfigResponseArrayOutput) ToNetworkConfigResponseArrayOutputWith return o } +func (o NetworkConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfigResponse] { + return pulumix.Output[[]NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigResponseArrayOutput) Index(i pulumi.IntInput) NetworkConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkConfigResponse { return vs[0].([]NetworkConfigResponse)[vs[1].(int)] @@ -459,6 +532,12 @@ func (i NfsExportOptionsArgs) ToNfsExportOptionsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NfsExportOptionsOutput) } +func (i NfsExportOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptions] { + return pulumix.Output[NfsExportOptions]{ + OutputState: i.ToNfsExportOptionsOutputWithContext(ctx).OutputState, + } +} + // NfsExportOptionsArrayInput is an input type that accepts NfsExportOptionsArray and NfsExportOptionsArrayOutput values. // You can construct a concrete instance of `NfsExportOptionsArrayInput` via: // @@ -484,6 +563,12 @@ func (i NfsExportOptionsArray) ToNfsExportOptionsArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NfsExportOptionsArrayOutput) } +func (i NfsExportOptionsArray) ToOutput(ctx context.Context) pulumix.Output[[]NfsExportOptions] { + return pulumix.Output[[]NfsExportOptions]{ + OutputState: i.ToNfsExportOptionsArrayOutputWithContext(ctx).OutputState, + } +} + // NFS export options specifications. type NfsExportOptionsOutput struct{ *pulumi.OutputState } @@ -499,6 +584,12 @@ func (o NfsExportOptionsOutput) ToNfsExportOptionsOutputWithContext(ctx context. return o } +func (o NfsExportOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptions] { + return pulumix.Output[NfsExportOptions]{ + OutputState: o.OutputState, + } +} + // Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. func (o NfsExportOptionsOutput) AccessMode() NfsExportOptionsAccessModePtrOutput { return o.ApplyT(func(v NfsExportOptions) *NfsExportOptionsAccessMode { return v.AccessMode }).(NfsExportOptionsAccessModePtrOutput) @@ -538,6 +629,12 @@ func (o NfsExportOptionsArrayOutput) ToNfsExportOptionsArrayOutputWithContext(ct return o } +func (o NfsExportOptionsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NfsExportOptions] { + return pulumix.Output[[]NfsExportOptions]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsArrayOutput) Index(i pulumi.IntInput) NfsExportOptionsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NfsExportOptions { return vs[0].([]NfsExportOptions)[vs[1].(int)] @@ -573,6 +670,12 @@ func (o NfsExportOptionsResponseOutput) ToNfsExportOptionsResponseOutputWithCont return o } +func (o NfsExportOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptionsResponse] { + return pulumix.Output[NfsExportOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. func (o NfsExportOptionsResponseOutput) AccessMode() pulumi.StringOutput { return o.ApplyT(func(v NfsExportOptionsResponse) string { return v.AccessMode }).(pulumi.StringOutput) @@ -612,6 +715,12 @@ func (o NfsExportOptionsResponseArrayOutput) ToNfsExportOptionsResponseArrayOutp return o } +func (o NfsExportOptionsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NfsExportOptionsResponse] { + return pulumix.Output[[]NfsExportOptionsResponse]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsResponseArrayOutput) Index(i pulumi.IntInput) NfsExportOptionsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NfsExportOptionsResponse { return vs[0].([]NfsExportOptionsResponse)[vs[1].(int)] diff --git a/sdk/go/google/file/v1/snapshot.go b/sdk/go/google/file/v1/snapshot.go index 11e66bffd9..65da461a05 100644 --- a/sdk/go/google/file/v1/snapshot.go +++ b/sdk/go/google/file/v1/snapshot.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a snapshot. @@ -136,6 +137,12 @@ func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutp return pulumi.ToOutputWithContext(ctx, i).(SnapshotOutput) } +func (i *Snapshot) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: i.ToSnapshotOutputWithContext(ctx).OutputState, + } +} + type SnapshotOutput struct{ *pulumi.OutputState } func (SnapshotOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) Snapsho return o } +func (o SnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: o.OutputState, + } +} + // The time when the snapshot was created. func (o SnapshotOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1beta1/backup.go b/sdk/go/google/file/v1beta1/backup.go index 3bbe0bed73..40e0a1200c 100644 --- a/sdk/go/google/file/v1beta1/backup.go +++ b/sdk/go/google/file/v1beta1/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a backup. @@ -155,6 +156,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. func (o BackupOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *Backup) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1beta1/getBackup.go b/sdk/go/google/file/v1beta1/getBackup.go index aa3ad745e3..674f09f0a3 100644 --- a/sdk/go/google/file/v1beta1/getBackup.go +++ b/sdk/go/google/file/v1beta1/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific backup. @@ -94,6 +95,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // Capacity of the source file share when the backup was created. func (o LookupBackupResultOutput) CapacityGb() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupResult) string { return v.CapacityGb }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1beta1/getInstance.go b/sdk/go/google/file/v1beta1/getInstance.go index 248e949459..249d65b610 100644 --- a/sdk/go/google/file/v1beta1/getInstance.go +++ b/sdk/go/google/file/v1beta1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific instance. @@ -108,6 +109,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // The storage capacity of the instance in gigabytes (GB = 1024^3 bytes). This capacity can be increased up to `max_capacity_gb` GB in multipliers of `capacity_step_size_gb` GB. func (o LookupInstanceResultOutput) CapacityGb() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceResult) string { return v.CapacityGb }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1beta1/getShare.go b/sdk/go/google/file/v1beta1/getShare.go index 9d45101417..1214d50e91 100644 --- a/sdk/go/google/file/v1beta1/getShare.go +++ b/sdk/go/google/file/v1beta1/getShare.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific share. @@ -88,6 +89,12 @@ func (o LookupShareResultOutput) ToLookupShareResultOutputWithContext(ctx contex return o } +func (o LookupShareResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupShareResult] { + return pulumix.Output[LookupShareResult]{ + OutputState: o.OutputState, + } +} + // Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup. func (o LookupShareResultOutput) Backup() pulumi.StringOutput { return o.ApplyT(func(v LookupShareResult) string { return v.Backup }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1beta1/getSnapshot.go b/sdk/go/google/file/v1beta1/getSnapshot.go index 0d4b4d2c0e..dfedbdef58 100644 --- a/sdk/go/google/file/v1beta1/getSnapshot.go +++ b/sdk/go/google/file/v1beta1/getSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific snapshot. @@ -82,6 +83,12 @@ func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx return o } +func (o LookupSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotResult] { + return pulumix.Output[LookupSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The time when the snapshot was created. func (o LookupSnapshotResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupSnapshotResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1beta1/instance.go b/sdk/go/google/file/v1beta1/instance.go index b62c92eb1e..7cbcd103fe 100644 --- a/sdk/go/google/file/v1beta1/instance.go +++ b/sdk/go/google/file/v1beta1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier). @@ -197,6 +198,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -211,6 +218,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // The storage capacity of the instance in gigabytes (GB = 1024^3 bytes). This capacity can be increased up to `max_capacity_gb` GB in multipliers of `capacity_step_size_gb` GB. func (o InstanceOutput) CapacityGb() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.CapacityGb }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1beta1/pulumiEnums.go b/sdk/go/google/file/v1beta1/pulumiEnums.go index ecc9ede462..6f0206e80a 100644 --- a/sdk/go/google/file/v1beta1/pulumiEnums.go +++ b/sdk/go/google/file/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: `NFS_V3`. @@ -82,6 +83,12 @@ func (o InstanceProtocolOutput) ToInstanceProtocolPtrOutputWithContext(ctx conte }).(InstanceProtocolPtrOutput) } +func (o InstanceProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceProtocol] { + return pulumix.Output[InstanceProtocol]{ + OutputState: o.OutputState, + } +} + func (o InstanceProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o InstanceProtocolPtrOutput) ToInstanceProtocolPtrOutputWithContext(ctx co return o } +func (o InstanceProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceProtocol] { + return pulumix.Output[*InstanceProtocol]{ + OutputState: o.OutputState, + } +} + func (o InstanceProtocolPtrOutput) Elem() InstanceProtocolOutput { return o.ApplyT(func(v *InstanceProtocol) InstanceProtocol { if v != nil { @@ -179,6 +192,12 @@ func (in *instanceProtocolPtr) ToInstanceProtocolPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(InstanceProtocolPtrOutput) } +func (in *instanceProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceProtocol] { + return pulumix.Output[*InstanceProtocol]{ + OutputState: in.ToInstanceProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The service tier of the instance. type InstanceTier string @@ -261,6 +280,12 @@ func (o InstanceTierOutput) ToInstanceTierPtrOutputWithContext(ctx context.Conte }).(InstanceTierPtrOutput) } +func (o InstanceTierOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceTier] { + return pulumix.Output[InstanceTier]{ + OutputState: o.OutputState, + } +} + func (o InstanceTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -296,6 +321,12 @@ func (o InstanceTierPtrOutput) ToInstanceTierPtrOutputWithContext(ctx context.Co return o } +func (o InstanceTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTier] { + return pulumix.Output[*InstanceTier]{ + OutputState: o.OutputState, + } +} + func (o InstanceTierPtrOutput) Elem() InstanceTierOutput { return o.ApplyT(func(v *InstanceTier) InstanceTier { if v != nil { @@ -358,6 +389,12 @@ func (in *instanceTierPtr) ToInstanceTierPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(InstanceTierPtrOutput) } +func (in *instanceTierPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceTier] { + return pulumix.Output[*InstanceTier]{ + OutputState: in.ToInstanceTierPtrOutputWithContext(ctx).OutputState, + } +} + // The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. type NetworkConfigConnectMode string @@ -430,6 +467,12 @@ func (o NetworkConfigConnectModeOutput) ToNetworkConfigConnectModePtrOutputWithC }).(NetworkConfigConnectModePtrOutput) } +func (o NetworkConfigConnectModeOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigConnectMode] { + return pulumix.Output[NetworkConfigConnectMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigConnectModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -465,6 +508,12 @@ func (o NetworkConfigConnectModePtrOutput) ToNetworkConfigConnectModePtrOutputWi return o } +func (o NetworkConfigConnectModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigConnectMode] { + return pulumix.Output[*NetworkConfigConnectMode]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigConnectModePtrOutput) Elem() NetworkConfigConnectModeOutput { return o.ApplyT(func(v *NetworkConfigConnectMode) NetworkConfigConnectMode { if v != nil { @@ -527,6 +576,12 @@ func (in *networkConfigConnectModePtr) ToNetworkConfigConnectModePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigConnectModePtrOutput) } +func (in *networkConfigConnectModePtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigConnectMode] { + return pulumix.Output[*NetworkConfigConnectMode]{ + OutputState: in.ToNetworkConfigConnectModePtrOutputWithContext(ctx).OutputState, + } +} + type NetworkConfigModesItem string const ( @@ -596,6 +651,12 @@ func (o NetworkConfigModesItemOutput) ToNetworkConfigModesItemPtrOutputWithConte }).(NetworkConfigModesItemPtrOutput) } +func (o NetworkConfigModesItemOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigModesItem] { + return pulumix.Output[NetworkConfigModesItem]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigModesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -631,6 +692,12 @@ func (o NetworkConfigModesItemPtrOutput) ToNetworkConfigModesItemPtrOutputWithCo return o } +func (o NetworkConfigModesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigModesItem] { + return pulumix.Output[*NetworkConfigModesItem]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigModesItemPtrOutput) Elem() NetworkConfigModesItemOutput { return o.ApplyT(func(v *NetworkConfigModesItem) NetworkConfigModesItem { if v != nil { @@ -693,6 +760,12 @@ func (in *networkConfigModesItemPtr) ToNetworkConfigModesItemPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(NetworkConfigModesItemPtrOutput) } +func (in *networkConfigModesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfigModesItem] { + return pulumix.Output[*NetworkConfigModesItem]{ + OutputState: in.ToNetworkConfigModesItemPtrOutputWithContext(ctx).OutputState, + } +} + // NetworkConfigModesItemArrayInput is an input type that accepts NetworkConfigModesItemArray and NetworkConfigModesItemArrayOutput values. // You can construct a concrete instance of `NetworkConfigModesItemArrayInput` via: // @@ -718,6 +791,12 @@ func (i NetworkConfigModesItemArray) ToNetworkConfigModesItemArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigModesItemArrayOutput) } +func (i NetworkConfigModesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfigModesItem] { + return pulumix.Output[[]NetworkConfigModesItem]{ + OutputState: i.ToNetworkConfigModesItemArrayOutputWithContext(ctx).OutputState, + } +} + type NetworkConfigModesItemArrayOutput struct{ *pulumi.OutputState } func (NetworkConfigModesItemArrayOutput) ElementType() reflect.Type { @@ -732,6 +811,12 @@ func (o NetworkConfigModesItemArrayOutput) ToNetworkConfigModesItemArrayOutputWi return o } +func (o NetworkConfigModesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfigModesItem] { + return pulumix.Output[[]NetworkConfigModesItem]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigModesItemArrayOutput) Index(i pulumi.IntInput) NetworkConfigModesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkConfigModesItem { return vs[0].([]NetworkConfigModesItem)[vs[1].(int)] @@ -810,6 +895,12 @@ func (o NfsExportOptionsAccessModeOutput) ToNfsExportOptionsAccessModePtrOutputW }).(NfsExportOptionsAccessModePtrOutput) } +func (o NfsExportOptionsAccessModeOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptionsAccessMode] { + return pulumix.Output[NfsExportOptionsAccessMode]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsAccessModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -845,6 +936,12 @@ func (o NfsExportOptionsAccessModePtrOutput) ToNfsExportOptionsAccessModePtrOutp return o } +func (o NfsExportOptionsAccessModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NfsExportOptionsAccessMode] { + return pulumix.Output[*NfsExportOptionsAccessMode]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsAccessModePtrOutput) Elem() NfsExportOptionsAccessModeOutput { return o.ApplyT(func(v *NfsExportOptionsAccessMode) NfsExportOptionsAccessMode { if v != nil { @@ -907,6 +1004,12 @@ func (in *nfsExportOptionsAccessModePtr) ToNfsExportOptionsAccessModePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(NfsExportOptionsAccessModePtrOutput) } +func (in *nfsExportOptionsAccessModePtr) ToOutput(ctx context.Context) pulumix.Output[*NfsExportOptionsAccessMode] { + return pulumix.Output[*NfsExportOptionsAccessMode]{ + OutputState: in.ToNfsExportOptionsAccessModePtrOutputWithContext(ctx).OutputState, + } +} + type NfsExportOptionsSecurityFlavorsItem string const ( @@ -982,6 +1085,12 @@ func (o NfsExportOptionsSecurityFlavorsItemOutput) ToNfsExportOptionsSecurityFla }).(NfsExportOptionsSecurityFlavorsItemPtrOutput) } +func (o NfsExportOptionsSecurityFlavorsItemOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptionsSecurityFlavorsItem] { + return pulumix.Output[NfsExportOptionsSecurityFlavorsItem]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsSecurityFlavorsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1017,6 +1126,12 @@ func (o NfsExportOptionsSecurityFlavorsItemPtrOutput) ToNfsExportOptionsSecurity return o } +func (o NfsExportOptionsSecurityFlavorsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NfsExportOptionsSecurityFlavorsItem] { + return pulumix.Output[*NfsExportOptionsSecurityFlavorsItem]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsSecurityFlavorsItemPtrOutput) Elem() NfsExportOptionsSecurityFlavorsItemOutput { return o.ApplyT(func(v *NfsExportOptionsSecurityFlavorsItem) NfsExportOptionsSecurityFlavorsItem { if v != nil { @@ -1079,6 +1194,12 @@ func (in *nfsExportOptionsSecurityFlavorsItemPtr) ToNfsExportOptionsSecurityFlav return pulumi.ToOutputWithContext(ctx, in).(NfsExportOptionsSecurityFlavorsItemPtrOutput) } +func (in *nfsExportOptionsSecurityFlavorsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*NfsExportOptionsSecurityFlavorsItem] { + return pulumix.Output[*NfsExportOptionsSecurityFlavorsItem]{ + OutputState: in.ToNfsExportOptionsSecurityFlavorsItemPtrOutputWithContext(ctx).OutputState, + } +} + // NfsExportOptionsSecurityFlavorsItemArrayInput is an input type that accepts NfsExportOptionsSecurityFlavorsItemArray and NfsExportOptionsSecurityFlavorsItemArrayOutput values. // You can construct a concrete instance of `NfsExportOptionsSecurityFlavorsItemArrayInput` via: // @@ -1104,6 +1225,12 @@ func (i NfsExportOptionsSecurityFlavorsItemArray) ToNfsExportOptionsSecurityFlav return pulumi.ToOutputWithContext(ctx, i).(NfsExportOptionsSecurityFlavorsItemArrayOutput) } +func (i NfsExportOptionsSecurityFlavorsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]NfsExportOptionsSecurityFlavorsItem] { + return pulumix.Output[[]NfsExportOptionsSecurityFlavorsItem]{ + OutputState: i.ToNfsExportOptionsSecurityFlavorsItemArrayOutputWithContext(ctx).OutputState, + } +} + type NfsExportOptionsSecurityFlavorsItemArrayOutput struct{ *pulumi.OutputState } func (NfsExportOptionsSecurityFlavorsItemArrayOutput) ElementType() reflect.Type { @@ -1118,6 +1245,12 @@ func (o NfsExportOptionsSecurityFlavorsItemArrayOutput) ToNfsExportOptionsSecuri return o } +func (o NfsExportOptionsSecurityFlavorsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NfsExportOptionsSecurityFlavorsItem] { + return pulumix.Output[[]NfsExportOptionsSecurityFlavorsItem]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsSecurityFlavorsItemArrayOutput) Index(i pulumi.IntInput) NfsExportOptionsSecurityFlavorsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NfsExportOptionsSecurityFlavorsItem { return vs[0].([]NfsExportOptionsSecurityFlavorsItem)[vs[1].(int)] @@ -1196,6 +1329,12 @@ func (o NfsExportOptionsSquashModeOutput) ToNfsExportOptionsSquashModePtrOutputW }).(NfsExportOptionsSquashModePtrOutput) } +func (o NfsExportOptionsSquashModeOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptionsSquashMode] { + return pulumix.Output[NfsExportOptionsSquashMode]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsSquashModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1231,6 +1370,12 @@ func (o NfsExportOptionsSquashModePtrOutput) ToNfsExportOptionsSquashModePtrOutp return o } +func (o NfsExportOptionsSquashModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NfsExportOptionsSquashMode] { + return pulumix.Output[*NfsExportOptionsSquashMode]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsSquashModePtrOutput) Elem() NfsExportOptionsSquashModeOutput { return o.ApplyT(func(v *NfsExportOptionsSquashMode) NfsExportOptionsSquashMode { if v != nil { @@ -1293,6 +1438,12 @@ func (in *nfsExportOptionsSquashModePtr) ToNfsExportOptionsSquashModePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(NfsExportOptionsSquashModePtrOutput) } +func (in *nfsExportOptionsSquashModePtr) ToOutput(ctx context.Context) pulumix.Output[*NfsExportOptionsSquashMode] { + return pulumix.Output[*NfsExportOptionsSquashMode]{ + OutputState: in.ToNfsExportOptionsSquashModePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceProtocolInput)(nil)).Elem(), InstanceProtocol("FILE_PROTOCOL_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*InstanceProtocolPtrInput)(nil)).Elem(), InstanceProtocol("FILE_PROTOCOL_UNSPECIFIED")) diff --git a/sdk/go/google/file/v1beta1/pulumiTypes.go b/sdk/go/google/file/v1beta1/pulumiTypes.go index a71cd51115..2ca695bcf3 100644 --- a/sdk/go/google/file/v1beta1/pulumiTypes.go +++ b/sdk/go/google/file/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i DirectoryServicesConfigArgs) ToDirectoryServicesConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(DirectoryServicesConfigOutput) } +func (i DirectoryServicesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DirectoryServicesConfig] { + return pulumix.Output[DirectoryServicesConfig]{ + OutputState: i.ToDirectoryServicesConfigOutputWithContext(ctx).OutputState, + } +} + func (i DirectoryServicesConfigArgs) ToDirectoryServicesConfigPtrOutput() DirectoryServicesConfigPtrOutput { return i.ToDirectoryServicesConfigPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *directoryServicesConfigPtrType) ToDirectoryServicesConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(DirectoryServicesConfigPtrOutput) } +func (i *directoryServicesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DirectoryServicesConfig] { + return pulumix.Output[*DirectoryServicesConfig]{ + OutputState: i.ToDirectoryServicesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Directory Services configuration for Kerberos-based authentication. type DirectoryServicesConfigOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o DirectoryServicesConfigOutput) ToDirectoryServicesConfigPtrOutputWithCon }).(DirectoryServicesConfigPtrOutput) } +func (o DirectoryServicesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DirectoryServicesConfig] { + return pulumix.Output[DirectoryServicesConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for Managed Service for Microsoft Active Directory. func (o DirectoryServicesConfigOutput) ManagedActiveDirectory() ManagedActiveDirectoryConfigPtrOutput { return o.ApplyT(func(v DirectoryServicesConfig) *ManagedActiveDirectoryConfig { return v.ManagedActiveDirectory }).(ManagedActiveDirectoryConfigPtrOutput) @@ -133,6 +152,12 @@ func (o DirectoryServicesConfigPtrOutput) ToDirectoryServicesConfigPtrOutputWith return o } +func (o DirectoryServicesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DirectoryServicesConfig] { + return pulumix.Output[*DirectoryServicesConfig]{ + OutputState: o.OutputState, + } +} + func (o DirectoryServicesConfigPtrOutput) Elem() DirectoryServicesConfigOutput { return o.ApplyT(func(v *DirectoryServicesConfig) DirectoryServicesConfig { if v != nil { @@ -174,6 +199,12 @@ func (o DirectoryServicesConfigResponseOutput) ToDirectoryServicesConfigResponse return o } +func (o DirectoryServicesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DirectoryServicesConfigResponse] { + return pulumix.Output[DirectoryServicesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for Managed Service for Microsoft Active Directory. func (o DirectoryServicesConfigResponseOutput) ManagedActiveDirectory() ManagedActiveDirectoryConfigResponseOutput { return o.ApplyT(func(v DirectoryServicesConfigResponse) ManagedActiveDirectoryConfigResponse { @@ -228,6 +259,12 @@ func (i FileShareConfigArgs) ToFileShareConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(FileShareConfigOutput) } +func (i FileShareConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FileShareConfig] { + return pulumix.Output[FileShareConfig]{ + OutputState: i.ToFileShareConfigOutputWithContext(ctx).OutputState, + } +} + // FileShareConfigArrayInput is an input type that accepts FileShareConfigArray and FileShareConfigArrayOutput values. // You can construct a concrete instance of `FileShareConfigArrayInput` via: // @@ -253,6 +290,12 @@ func (i FileShareConfigArray) ToFileShareConfigArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(FileShareConfigArrayOutput) } +func (i FileShareConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]FileShareConfig] { + return pulumix.Output[[]FileShareConfig]{ + OutputState: i.ToFileShareConfigArrayOutputWithContext(ctx).OutputState, + } +} + // File share configuration for the instance. type FileShareConfigOutput struct{ *pulumi.OutputState } @@ -268,6 +311,12 @@ func (o FileShareConfigOutput) ToFileShareConfigOutputWithContext(ctx context.Co return o } +func (o FileShareConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FileShareConfig] { + return pulumix.Output[FileShareConfig]{ + OutputState: o.OutputState, + } +} + // File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. func (o FileShareConfigOutput) CapacityGb() pulumi.StringPtrOutput { return o.ApplyT(func(v FileShareConfig) *string { return v.CapacityGb }).(pulumi.StringPtrOutput) @@ -302,6 +351,12 @@ func (o FileShareConfigArrayOutput) ToFileShareConfigArrayOutputWithContext(ctx return o } +func (o FileShareConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileShareConfig] { + return pulumix.Output[[]FileShareConfig]{ + OutputState: o.OutputState, + } +} + func (o FileShareConfigArrayOutput) Index(i pulumi.IntInput) FileShareConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileShareConfig { return vs[0].([]FileShareConfig)[vs[1].(int)] @@ -335,6 +390,12 @@ func (o FileShareConfigResponseOutput) ToFileShareConfigResponseOutputWithContex return o } +func (o FileShareConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileShareConfigResponse] { + return pulumix.Output[FileShareConfigResponse]{ + OutputState: o.OutputState, + } +} + // File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. func (o FileShareConfigResponseOutput) CapacityGb() pulumi.StringOutput { return o.ApplyT(func(v FileShareConfigResponse) string { return v.CapacityGb }).(pulumi.StringOutput) @@ -369,6 +430,12 @@ func (o FileShareConfigResponseArrayOutput) ToFileShareConfigResponseArrayOutput return o } +func (o FileShareConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileShareConfigResponse] { + return pulumix.Output[[]FileShareConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o FileShareConfigResponseArrayOutput) Index(i pulumi.IntInput) FileShareConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileShareConfigResponse { return vs[0].([]FileShareConfigResponse)[vs[1].(int)] @@ -414,6 +481,12 @@ func (i ManagedActiveDirectoryConfigArgs) ToManagedActiveDirectoryConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(ManagedActiveDirectoryConfigOutput) } +func (i ManagedActiveDirectoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ManagedActiveDirectoryConfig] { + return pulumix.Output[ManagedActiveDirectoryConfig]{ + OutputState: i.ToManagedActiveDirectoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i ManagedActiveDirectoryConfigArgs) ToManagedActiveDirectoryConfigPtrOutput() ManagedActiveDirectoryConfigPtrOutput { return i.ToManagedActiveDirectoryConfigPtrOutputWithContext(context.Background()) } @@ -455,6 +528,12 @@ func (i *managedActiveDirectoryConfigPtrType) ToManagedActiveDirectoryConfigPtrO return pulumi.ToOutputWithContext(ctx, i).(ManagedActiveDirectoryConfigPtrOutput) } +func (i *managedActiveDirectoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManagedActiveDirectoryConfig] { + return pulumix.Output[*ManagedActiveDirectoryConfig]{ + OutputState: i.ToManagedActiveDirectoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // ManagedActiveDirectoryConfig contains all the parameters for connecting to Managed Active Directory. type ManagedActiveDirectoryConfigOutput struct{ *pulumi.OutputState } @@ -480,6 +559,12 @@ func (o ManagedActiveDirectoryConfigOutput) ToManagedActiveDirectoryConfigPtrOut }).(ManagedActiveDirectoryConfigPtrOutput) } +func (o ManagedActiveDirectoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedActiveDirectoryConfig] { + return pulumix.Output[ManagedActiveDirectoryConfig]{ + OutputState: o.OutputState, + } +} + // The computer name is used as a prefix to the mount remote target. Example: if the computer_name is `my-computer`, the mount command will look like: `$mount -o vers=4,sec=krb5 my-computer.filestore.:`. func (o ManagedActiveDirectoryConfigOutput) Computer() pulumi.StringPtrOutput { return o.ApplyT(func(v ManagedActiveDirectoryConfig) *string { return v.Computer }).(pulumi.StringPtrOutput) @@ -504,6 +589,12 @@ func (o ManagedActiveDirectoryConfigPtrOutput) ToManagedActiveDirectoryConfigPtr return o } +func (o ManagedActiveDirectoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManagedActiveDirectoryConfig] { + return pulumix.Output[*ManagedActiveDirectoryConfig]{ + OutputState: o.OutputState, + } +} + func (o ManagedActiveDirectoryConfigPtrOutput) Elem() ManagedActiveDirectoryConfigOutput { return o.ApplyT(func(v *ManagedActiveDirectoryConfig) ManagedActiveDirectoryConfig { if v != nil { @@ -557,6 +648,12 @@ func (o ManagedActiveDirectoryConfigResponseOutput) ToManagedActiveDirectoryConf return o } +func (o ManagedActiveDirectoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManagedActiveDirectoryConfigResponse] { + return pulumix.Output[ManagedActiveDirectoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The computer name is used as a prefix to the mount remote target. Example: if the computer_name is `my-computer`, the mount command will look like: `$mount -o vers=4,sec=krb5 my-computer.filestore.:`. func (o ManagedActiveDirectoryConfigResponseOutput) Computer() pulumi.StringOutput { return o.ApplyT(func(v ManagedActiveDirectoryConfigResponse) string { return v.Computer }).(pulumi.StringOutput) @@ -614,6 +711,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + // NetworkConfigArrayInput is an input type that accepts NetworkConfigArray and NetworkConfigArrayOutput values. // You can construct a concrete instance of `NetworkConfigArrayInput` via: // @@ -639,6 +742,12 @@ func (i NetworkConfigArray) ToNetworkConfigArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigArrayOutput) } +func (i NetworkConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfig] { + return pulumix.Output[[]NetworkConfig]{ + OutputState: i.ToNetworkConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Network configuration for the instance. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -654,6 +763,12 @@ func (o NetworkConfigOutput) ToNetworkConfigOutputWithContext(ctx context.Contex return o } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. func (o NetworkConfigOutput) ConnectMode() NetworkConfigConnectModePtrOutput { return o.ApplyT(func(v NetworkConfig) *NetworkConfigConnectMode { return v.ConnectMode }).(NetworkConfigConnectModePtrOutput) @@ -688,6 +803,12 @@ func (o NetworkConfigArrayOutput) ToNetworkConfigArrayOutputWithContext(ctx cont return o } +func (o NetworkConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfig] { + return pulumix.Output[[]NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigArrayOutput) Index(i pulumi.IntInput) NetworkConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkConfig { return vs[0].([]NetworkConfig)[vs[1].(int)] @@ -723,6 +844,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. func (o NetworkConfigResponseOutput) ConnectMode() pulumi.StringOutput { return o.ApplyT(func(v NetworkConfigResponse) string { return v.ConnectMode }).(pulumi.StringOutput) @@ -762,6 +889,12 @@ func (o NetworkConfigResponseArrayOutput) ToNetworkConfigResponseArrayOutputWith return o } +func (o NetworkConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkConfigResponse] { + return pulumix.Output[[]NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigResponseArrayOutput) Index(i pulumi.IntInput) NetworkConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkConfigResponse { return vs[0].([]NetworkConfigResponse)[vs[1].(int)] @@ -823,6 +956,12 @@ func (i NfsExportOptionsArgs) ToNfsExportOptionsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NfsExportOptionsOutput) } +func (i NfsExportOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptions] { + return pulumix.Output[NfsExportOptions]{ + OutputState: i.ToNfsExportOptionsOutputWithContext(ctx).OutputState, + } +} + // NfsExportOptionsArrayInput is an input type that accepts NfsExportOptionsArray and NfsExportOptionsArrayOutput values. // You can construct a concrete instance of `NfsExportOptionsArrayInput` via: // @@ -848,6 +987,12 @@ func (i NfsExportOptionsArray) ToNfsExportOptionsArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NfsExportOptionsArrayOutput) } +func (i NfsExportOptionsArray) ToOutput(ctx context.Context) pulumix.Output[[]NfsExportOptions] { + return pulumix.Output[[]NfsExportOptions]{ + OutputState: i.ToNfsExportOptionsArrayOutputWithContext(ctx).OutputState, + } +} + // NFS export options specifications. type NfsExportOptionsOutput struct{ *pulumi.OutputState } @@ -863,6 +1008,12 @@ func (o NfsExportOptionsOutput) ToNfsExportOptionsOutputWithContext(ctx context. return o } +func (o NfsExportOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptions] { + return pulumix.Output[NfsExportOptions]{ + OutputState: o.OutputState, + } +} + // Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. func (o NfsExportOptionsOutput) AccessMode() NfsExportOptionsAccessModePtrOutput { return o.ApplyT(func(v NfsExportOptions) *NfsExportOptionsAccessMode { return v.AccessMode }).(NfsExportOptionsAccessModePtrOutput) @@ -907,6 +1058,12 @@ func (o NfsExportOptionsArrayOutput) ToNfsExportOptionsArrayOutputWithContext(ct return o } +func (o NfsExportOptionsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NfsExportOptions] { + return pulumix.Output[[]NfsExportOptions]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsArrayOutput) Index(i pulumi.IntInput) NfsExportOptionsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NfsExportOptions { return vs[0].([]NfsExportOptions)[vs[1].(int)] @@ -944,6 +1101,12 @@ func (o NfsExportOptionsResponseOutput) ToNfsExportOptionsResponseOutputWithCont return o } +func (o NfsExportOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NfsExportOptionsResponse] { + return pulumix.Output[NfsExportOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. func (o NfsExportOptionsResponseOutput) AccessMode() pulumi.StringOutput { return o.ApplyT(func(v NfsExportOptionsResponse) string { return v.AccessMode }).(pulumi.StringOutput) @@ -988,6 +1151,12 @@ func (o NfsExportOptionsResponseArrayOutput) ToNfsExportOptionsResponseArrayOutp return o } +func (o NfsExportOptionsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NfsExportOptionsResponse] { + return pulumix.Output[[]NfsExportOptionsResponse]{ + OutputState: o.OutputState, + } +} + func (o NfsExportOptionsResponseArrayOutput) Index(i pulumi.IntInput) NfsExportOptionsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NfsExportOptionsResponse { return vs[0].([]NfsExportOptionsResponse)[vs[1].(int)] diff --git a/sdk/go/google/file/v1beta1/share.go b/sdk/go/google/file/v1beta1/share.go index 01045d4b6a..dc2c87d2a3 100644 --- a/sdk/go/google/file/v1beta1/share.go +++ b/sdk/go/google/file/v1beta1/share.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a share. @@ -158,6 +159,12 @@ func (i *Share) ToShareOutputWithContext(ctx context.Context) ShareOutput { return pulumi.ToOutputWithContext(ctx, i).(ShareOutput) } +func (i *Share) ToOutput(ctx context.Context) pulumix.Output[*Share] { + return pulumix.Output[*Share]{ + OutputState: i.ToShareOutputWithContext(ctx).OutputState, + } +} + type ShareOutput struct{ *pulumi.OutputState } func (ShareOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o ShareOutput) ToShareOutputWithContext(ctx context.Context) ShareOutput { return o } +func (o ShareOutput) ToOutput(ctx context.Context) pulumix.Output[*Share] { + return pulumix.Output[*Share]{ + OutputState: o.OutputState, + } +} + // Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup. func (o ShareOutput) Backup() pulumi.StringOutput { return o.ApplyT(func(v *Share) pulumi.StringOutput { return v.Backup }).(pulumi.StringOutput) diff --git a/sdk/go/google/file/v1beta1/snapshot.go b/sdk/go/google/file/v1beta1/snapshot.go index 71b20d8f3d..105bb0acea 100644 --- a/sdk/go/google/file/v1beta1/snapshot.go +++ b/sdk/go/google/file/v1beta1/snapshot.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a snapshot. @@ -136,6 +137,12 @@ func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutp return pulumi.ToOutputWithContext(ctx, i).(SnapshotOutput) } +func (i *Snapshot) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: i.ToSnapshotOutputWithContext(ctx).OutputState, + } +} + type SnapshotOutput struct{ *pulumi.OutputState } func (SnapshotOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) Snapsho return o } +func (o SnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: o.OutputState, + } +} + // The time when the snapshot was created. func (o SnapshotOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebase/v1beta1/androidApp.go b/sdk/go/google/firebase/v1beta1/androidApp.go index 36a80e7f54..f4034ce4ac 100644 --- a/sdk/go/google/firebase/v1beta1/androidApp.go +++ b/sdk/go/google/firebase/v1beta1/androidApp.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Requests the creation of a new AndroidApp in the specified FirebaseProject. The result of this call is an `Operation` which can be used to track the provisioning process. The `Operation` is automatically deleted after completion, so there is no need to call `DeleteOperation`. @@ -143,6 +144,12 @@ func (i *AndroidApp) ToAndroidAppOutputWithContext(ctx context.Context) AndroidA return pulumi.ToOutputWithContext(ctx, i).(AndroidAppOutput) } +func (i *AndroidApp) ToOutput(ctx context.Context) pulumix.Output[*AndroidApp] { + return pulumix.Output[*AndroidApp]{ + OutputState: i.ToAndroidAppOutputWithContext(ctx).OutputState, + } +} + type AndroidAppOutput struct{ *pulumi.OutputState } func (AndroidAppOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o AndroidAppOutput) ToAndroidAppOutputWithContext(ctx context.Context) And return o } +func (o AndroidAppOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidApp] { + return pulumix.Output[*AndroidApp]{ + OutputState: o.OutputState, + } +} + // The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the `AndroidApp`. Be aware that this value is the UID of the API key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `keyString` is the value that can be found in the App's [configuration artifact](../../rest/v1beta1/projects.androidApps/getConfig). If `api_key_id` is not set in requests to [`androidApps.Create`](../../rest/v1beta1/projects.androidApps/create), then Firebase automatically associates an `api_key_id` with the `AndroidApp`. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests, `api_key_id` cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associated `AndroidApp`. We recommend using the [Google Cloud Console](https://console.cloud.google.com/apis/credentials) to manage API keys. func (o AndroidAppOutput) ApiKeyId() pulumi.StringOutput { return o.ApplyT(func(v *AndroidApp) pulumi.StringOutput { return v.ApiKeyId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebase/v1beta1/getAndroidApp.go b/sdk/go/google/firebase/v1beta1/getAndroidApp.go index dfd00dd3dd..974c9cd40d 100644 --- a/sdk/go/google/firebase/v1beta1/getAndroidApp.go +++ b/sdk/go/google/firebase/v1beta1/getAndroidApp.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified AndroidApp. @@ -88,6 +89,12 @@ func (o LookupAndroidAppResultOutput) ToLookupAndroidAppResultOutputWithContext( return o } +func (o LookupAndroidAppResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAndroidAppResult] { + return pulumix.Output[LookupAndroidAppResult]{ + OutputState: o.OutputState, + } +} + // The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the `AndroidApp`. Be aware that this value is the UID of the API key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `keyString` is the value that can be found in the App's [configuration artifact](../../rest/v1beta1/projects.androidApps/getConfig). If `api_key_id` is not set in requests to [`androidApps.Create`](../../rest/v1beta1/projects.androidApps/create), then Firebase automatically associates an `api_key_id` with the `AndroidApp`. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests, `api_key_id` cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associated `AndroidApp`. We recommend using the [Google Cloud Console](https://console.cloud.google.com/apis/credentials) to manage API keys. func (o LookupAndroidAppResultOutput) ApiKeyId() pulumi.StringOutput { return o.ApplyT(func(v LookupAndroidAppResult) string { return v.ApiKeyId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebase/v1beta1/getIosApp.go b/sdk/go/google/firebase/v1beta1/getIosApp.go index 726e887735..1fd19352f3 100644 --- a/sdk/go/google/firebase/v1beta1/getIosApp.go +++ b/sdk/go/google/firebase/v1beta1/getIosApp.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified IosApp. @@ -88,6 +89,12 @@ func (o LookupIosAppResultOutput) ToLookupIosAppResultOutputWithContext(ctx cont return o } +func (o LookupIosAppResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIosAppResult] { + return pulumix.Output[LookupIosAppResult]{ + OutputState: o.OutputState, + } +} + // The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the `IosApp`. Be aware that this value is the UID of the API key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `keyString` is the value that can be found in the App's [configuration artifact](../../rest/v1beta1/projects.iosApps/getConfig). If `api_key_id` is not set in requests to [`iosApps.Create`](../../rest/v1beta1/projects.iosApps/create), then Firebase automatically associates an `api_key_id` with the `IosApp`. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests, `api_key_id` cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associated `IosApp`. We recommend using the [Google Cloud Console](https://console.cloud.google.com/apis/credentials) to manage API keys. func (o LookupIosAppResultOutput) ApiKeyId() pulumi.StringOutput { return o.ApplyT(func(v LookupIosAppResult) string { return v.ApiKeyId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebase/v1beta1/getWebApp.go b/sdk/go/google/firebase/v1beta1/getWebApp.go index 4a5f6564ae..be70c619d2 100644 --- a/sdk/go/google/firebase/v1beta1/getWebApp.go +++ b/sdk/go/google/firebase/v1beta1/getWebApp.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified WebApp. @@ -86,6 +87,12 @@ func (o LookupWebAppResultOutput) ToLookupWebAppResultOutputWithContext(ctx cont return o } +func (o LookupWebAppResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWebAppResult] { + return pulumix.Output[LookupWebAppResult]{ + OutputState: o.OutputState, + } +} + // The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the `WebApp`. Be aware that this value is the UID of the API key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `keyString` is the value that can be found in the App's [configuration artifact](../../rest/v1beta1/projects.webApps/getConfig). If `api_key_id` is not set in requests to [`webApps.Create`](../../rest/v1beta1/projects.webApps/create), then Firebase automatically associates an `api_key_id` with the `WebApp`. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests, `api_key_id` cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associated `WebApp`. We recommend using the [Google Cloud Console](https://console.cloud.google.com/apis/credentials) to manage API keys. func (o LookupWebAppResultOutput) ApiKeyId() pulumi.StringOutput { return o.ApplyT(func(v LookupWebAppResult) string { return v.ApiKeyId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebase/v1beta1/iosApp.go b/sdk/go/google/firebase/v1beta1/iosApp.go index ed72088a0b..109ad6d7ca 100644 --- a/sdk/go/google/firebase/v1beta1/iosApp.go +++ b/sdk/go/google/firebase/v1beta1/iosApp.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Requests the creation of a new IosApp in the specified FirebaseProject. The result of this call is an `Operation` which can be used to track the provisioning process. The `Operation` is automatically deleted after completion, so there is no need to call `DeleteOperation`. @@ -143,6 +144,12 @@ func (i *IosApp) ToIosAppOutputWithContext(ctx context.Context) IosAppOutput { return pulumi.ToOutputWithContext(ctx, i).(IosAppOutput) } +func (i *IosApp) ToOutput(ctx context.Context) pulumix.Output[*IosApp] { + return pulumix.Output[*IosApp]{ + OutputState: i.ToIosAppOutputWithContext(ctx).OutputState, + } +} + type IosAppOutput struct{ *pulumi.OutputState } func (IosAppOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o IosAppOutput) ToIosAppOutputWithContext(ctx context.Context) IosAppOutpu return o } +func (o IosAppOutput) ToOutput(ctx context.Context) pulumix.Output[*IosApp] { + return pulumix.Output[*IosApp]{ + OutputState: o.OutputState, + } +} + // The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the `IosApp`. Be aware that this value is the UID of the API key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `keyString` is the value that can be found in the App's [configuration artifact](../../rest/v1beta1/projects.iosApps/getConfig). If `api_key_id` is not set in requests to [`iosApps.Create`](../../rest/v1beta1/projects.iosApps/create), then Firebase automatically associates an `api_key_id` with the `IosApp`. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests, `api_key_id` cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associated `IosApp`. We recommend using the [Google Cloud Console](https://console.cloud.google.com/apis/credentials) to manage API keys. func (o IosAppOutput) ApiKeyId() pulumi.StringOutput { return o.ApplyT(func(v *IosApp) pulumi.StringOutput { return v.ApiKeyId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebase/v1beta1/webApp.go b/sdk/go/google/firebase/v1beta1/webApp.go index 360bab8a66..f795d0ab1d 100644 --- a/sdk/go/google/firebase/v1beta1/webApp.go +++ b/sdk/go/google/firebase/v1beta1/webApp.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Requests the creation of a new WebApp in the specified FirebaseProject. The result of this call is an `Operation` which can be used to track the provisioning process. The `Operation` is automatically deleted after completion, so there is no need to call `DeleteOperation`. @@ -133,6 +134,12 @@ func (i *WebApp) ToWebAppOutputWithContext(ctx context.Context) WebAppOutput { return pulumi.ToOutputWithContext(ctx, i).(WebAppOutput) } +func (i *WebApp) ToOutput(ctx context.Context) pulumix.Output[*WebApp] { + return pulumix.Output[*WebApp]{ + OutputState: i.ToWebAppOutputWithContext(ctx).OutputState, + } +} + type WebAppOutput struct{ *pulumi.OutputState } func (WebAppOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o WebAppOutput) ToWebAppOutputWithContext(ctx context.Context) WebAppOutpu return o } +func (o WebAppOutput) ToOutput(ctx context.Context) pulumix.Output[*WebApp] { + return pulumix.Output[*WebApp]{ + OutputState: o.OutputState, + } +} + // The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the `WebApp`. Be aware that this value is the UID of the API key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `keyString` is the value that can be found in the App's [configuration artifact](../../rest/v1beta1/projects.webApps/getConfig). If `api_key_id` is not set in requests to [`webApps.Create`](../../rest/v1beta1/projects.webApps/create), then Firebase automatically associates an `api_key_id` with the `WebApp`. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests, `api_key_id` cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associated `WebApp`. We recommend using the [Google Cloud Console](https://console.cloud.google.com/apis/credentials) to manage API keys. func (o WebAppOutput) ApiKeyId() pulumi.StringOutput { return o.ApplyT(func(v *WebApp) pulumi.StringOutput { return v.ApiKeyId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebaseappcheck/v1/debugToken.go b/sdk/go/google/firebaseappcheck/v1/debugToken.go index f8f5a83186..b981a61b6e 100644 --- a/sdk/go/google/firebaseappcheck/v1/debugToken.go +++ b/sdk/go/google/firebaseappcheck/v1/debugToken.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new DebugToken for the specified app. For security reasons, after the creation operation completes, the `token` field cannot be updated or retrieved, but you can revoke the debug token using DeleteDebugToken. Each app can have a maximum of 20 debug tokens. @@ -125,6 +126,12 @@ func (i *DebugToken) ToDebugTokenOutputWithContext(ctx context.Context) DebugTok return pulumi.ToOutputWithContext(ctx, i).(DebugTokenOutput) } +func (i *DebugToken) ToOutput(ctx context.Context) pulumix.Output[*DebugToken] { + return pulumix.Output[*DebugToken]{ + OutputState: i.ToDebugTokenOutputWithContext(ctx).OutputState, + } +} + type DebugTokenOutput struct{ *pulumi.OutputState } func (DebugTokenOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o DebugTokenOutput) ToDebugTokenOutputWithContext(ctx context.Context) Deb return o } +func (o DebugTokenOutput) ToOutput(ctx context.Context) pulumix.Output[*DebugToken] { + return pulumix.Output[*DebugToken]{ + OutputState: o.OutputState, + } +} + func (o DebugTokenOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *DebugToken) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/firebaseappcheck/v1/getDebugToken.go b/sdk/go/google/firebaseappcheck/v1/getDebugToken.go index 1158840395..4af4dcf64a 100644 --- a/sdk/go/google/firebaseappcheck/v1/getDebugToken.go +++ b/sdk/go/google/firebaseappcheck/v1/getDebugToken.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified DebugToken. For security reasons, the `token` field is never populated in the response. @@ -74,6 +75,12 @@ func (o LookupDebugTokenResultOutput) ToLookupDebugTokenResultOutputWithContext( return o } +func (o LookupDebugTokenResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDebugTokenResult] { + return pulumix.Output[LookupDebugTokenResult]{ + OutputState: o.OutputState, + } +} + // A human readable display name used to identify this debug token. func (o LookupDebugTokenResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupDebugTokenResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebaseappcheck/v1beta/debugToken.go b/sdk/go/google/firebaseappcheck/v1beta/debugToken.go index 320414c0b3..de9a294be0 100644 --- a/sdk/go/google/firebaseappcheck/v1beta/debugToken.go +++ b/sdk/go/google/firebaseappcheck/v1beta/debugToken.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new DebugToken for the specified app. For security reasons, after the creation operation completes, the `token` field cannot be updated or retrieved, but you can revoke the debug token using DeleteDebugToken. Each app can have a maximum of 20 debug tokens. @@ -125,6 +126,12 @@ func (i *DebugToken) ToDebugTokenOutputWithContext(ctx context.Context) DebugTok return pulumi.ToOutputWithContext(ctx, i).(DebugTokenOutput) } +func (i *DebugToken) ToOutput(ctx context.Context) pulumix.Output[*DebugToken] { + return pulumix.Output[*DebugToken]{ + OutputState: i.ToDebugTokenOutputWithContext(ctx).OutputState, + } +} + type DebugTokenOutput struct{ *pulumi.OutputState } func (DebugTokenOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o DebugTokenOutput) ToDebugTokenOutputWithContext(ctx context.Context) Deb return o } +func (o DebugTokenOutput) ToOutput(ctx context.Context) pulumix.Output[*DebugToken] { + return pulumix.Output[*DebugToken]{ + OutputState: o.OutputState, + } +} + func (o DebugTokenOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *DebugToken) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/firebaseappcheck/v1beta/getDebugToken.go b/sdk/go/google/firebaseappcheck/v1beta/getDebugToken.go index 3a10e58b93..bfa9c3782b 100644 --- a/sdk/go/google/firebaseappcheck/v1beta/getDebugToken.go +++ b/sdk/go/google/firebaseappcheck/v1beta/getDebugToken.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified DebugToken. For security reasons, the `token` field is never populated in the response. @@ -74,6 +75,12 @@ func (o LookupDebugTokenResultOutput) ToLookupDebugTokenResultOutputWithContext( return o } +func (o LookupDebugTokenResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDebugTokenResult] { + return pulumix.Output[LookupDebugTokenResult]{ + OutputState: o.OutputState, + } +} + // A human readable display name used to identify this debug token. func (o LookupDebugTokenResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupDebugTokenResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebaseappdistribution/v1/getGroup.go b/sdk/go/google/firebaseappdistribution/v1/getGroup.go index 0222e9a4b8..f0c51dd815 100644 --- a/sdk/go/google/firebaseappdistribution/v1/getGroup.go +++ b/sdk/go/google/firebaseappdistribution/v1/getGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a group. @@ -76,6 +77,12 @@ func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx contex return o } +func (o LookupGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupResult] { + return pulumix.Output[LookupGroupResult]{ + OutputState: o.OutputState, + } +} + // The display name of the group. func (o LookupGroupResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupGroupResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebaseappdistribution/v1/group.go b/sdk/go/google/firebaseappdistribution/v1/group.go index af2e82a047..a76257e342 100644 --- a/sdk/go/google/firebaseappdistribution/v1/group.go +++ b/sdk/go/google/firebaseappdistribution/v1/group.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a group. @@ -121,6 +122,12 @@ func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return pulumi.ToOutputWithContext(ctx, i).(GroupOutput) } +func (i *Group) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: i.ToGroupOutputWithContext(ctx).OutputState, + } +} + type GroupOutput struct{ *pulumi.OutputState } func (GroupOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return o } +func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: o.OutputState, + } +} + // The display name of the group. func (o GroupOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *Group) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebasedatabase/v1beta/getInstance.go b/sdk/go/google/firebasedatabase/v1beta/getInstance.go index c840bc5179..7b9595ad05 100644 --- a/sdk/go/google/firebasedatabase/v1beta/getInstance.go +++ b/sdk/go/google/firebasedatabase/v1beta/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the DatabaseInstance identified by the specified resource name. @@ -78,6 +79,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // Output Only. The globally unique hostname of the database. func (o LookupInstanceResultOutput) DatabaseUrl() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceResult) string { return v.DatabaseUrl }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebasedatabase/v1beta/instance.go b/sdk/go/google/firebasedatabase/v1beta/instance.go index 40b08184c0..aac3e60f8f 100644 --- a/sdk/go/google/firebasedatabase/v1beta/instance.go +++ b/sdk/go/google/firebasedatabase/v1beta/instance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Requests that a new DatabaseInstance be created. The state of a successfully created DatabaseInstance is ACTIVE. Only available for projects on the Blaze plan. Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo. Note that it might take a few minutes for billing enablement state to propagate to Firebase systems. @@ -119,6 +120,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -133,6 +140,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // The globally unique identifier of the database instance. func (o InstanceOutput) DatabaseId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Instance) pulumi.StringPtrOutput { return v.DatabaseId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/firebasedatabase/v1beta/pulumiEnums.go b/sdk/go/google/firebasedatabase/v1beta/pulumiEnums.go index 00985d1265..d0c03e3a80 100644 --- a/sdk/go/google/firebasedatabase/v1beta/pulumiEnums.go +++ b/sdk/go/google/firebasedatabase/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted. @@ -82,6 +83,12 @@ func (o InstanceTypeOutput) ToInstanceTypePtrOutputWithContext(ctx context.Conte }).(InstanceTypePtrOutput) } +func (o InstanceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceType] { + return pulumix.Output[InstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext(ctx context.Co return o } +func (o InstanceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceType] { + return pulumix.Output[*InstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceTypePtrOutput) Elem() InstanceTypeOutput { return o.ApplyT(func(v *InstanceType) InstanceType { if v != nil { @@ -179,6 +192,12 @@ func (in *instanceTypePtr) ToInstanceTypePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(InstanceTypePtrOutput) } +func (in *instanceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceType] { + return pulumix.Output[*InstanceType]{ + OutputState: in.ToInstanceTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceTypeInput)(nil)).Elem(), InstanceType("DATABASE_INSTANCE_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*InstanceTypePtrInput)(nil)).Elem(), InstanceType("DATABASE_INSTANCE_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/firebasehosting/v1beta1/channel.go b/sdk/go/google/firebasehosting/v1beta1/channel.go index 2b966d2b96..370461bd0c 100644 --- a/sdk/go/google/firebasehosting/v1beta1/channel.go +++ b/sdk/go/google/firebasehosting/v1beta1/channel.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new channel in the specified site. @@ -149,6 +150,12 @@ func (i *Channel) ToChannelOutputWithContext(ctx context.Context) ChannelOutput return pulumi.ToOutputWithContext(ctx, i).(ChannelOutput) } +func (i *Channel) ToOutput(ctx context.Context) pulumix.Output[*Channel] { + return pulumix.Output[*Channel]{ + OutputState: i.ToChannelOutputWithContext(ctx).OutputState, + } +} + type ChannelOutput struct{ *pulumi.OutputState } func (ChannelOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOu return o } +func (o ChannelOutput) ToOutput(ctx context.Context) pulumix.Output[*Channel] { + return pulumix.Output[*Channel]{ + OutputState: o.OutputState, + } +} + // Required. Immutable. A unique ID within the site that identifies the channel. func (o ChannelOutput) ChannelId() pulumi.StringOutput { return o.ApplyT(func(v *Channel) pulumi.StringOutput { return v.ChannelId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebasehosting/v1beta1/domain.go b/sdk/go/google/firebasehosting/v1beta1/domain.go index b7e157ff7d..6759e698e0 100644 --- a/sdk/go/google/firebasehosting/v1beta1/domain.go +++ b/sdk/go/google/firebasehosting/v1beta1/domain.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a domain mapping on the specified site. @@ -132,6 +133,12 @@ func (i *Domain) ToDomainOutputWithContext(ctx context.Context) DomainOutput { return pulumi.ToOutputWithContext(ctx, i).(DomainOutput) } +func (i *Domain) ToOutput(ctx context.Context) pulumix.Output[*Domain] { + return pulumix.Output[*Domain]{ + OutputState: i.ToDomainOutputWithContext(ctx).OutputState, + } +} + type DomainOutput struct{ *pulumi.OutputState } func (DomainOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutpu return o } +func (o DomainOutput) ToOutput(ctx context.Context) pulumix.Output[*Domain] { + return pulumix.Output[*Domain]{ + OutputState: o.OutputState, + } +} + // The domain name of the association. func (o DomainOutput) DomainName() pulumi.StringOutput { return o.ApplyT(func(v *Domain) pulumi.StringOutput { return v.DomainName }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebasehosting/v1beta1/getChannel.go b/sdk/go/google/firebasehosting/v1beta1/getChannel.go index 8293de18c3..0d9394037f 100644 --- a/sdk/go/google/firebasehosting/v1beta1/getChannel.go +++ b/sdk/go/google/firebasehosting/v1beta1/getChannel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves information for the specified channel of the specified site. @@ -86,6 +87,12 @@ func (o LookupChannelResultOutput) ToLookupChannelResultOutputWithContext(ctx co return o } +func (o LookupChannelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupChannelResult] { + return pulumix.Output[LookupChannelResult]{ + OutputState: o.OutputState, + } +} + // The time at which the channel was created. func (o LookupChannelResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupChannelResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebasehosting/v1beta1/getDomain.go b/sdk/go/google/firebasehosting/v1beta1/getDomain.go index 60aa3332eb..c4debb0f91 100644 --- a/sdk/go/google/firebasehosting/v1beta1/getDomain.go +++ b/sdk/go/google/firebasehosting/v1beta1/getDomain.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a domain mapping on the specified site. @@ -80,6 +81,12 @@ func (o LookupDomainResultOutput) ToLookupDomainResultOutputWithContext(ctx cont return o } +func (o LookupDomainResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainResult] { + return pulumix.Output[LookupDomainResult]{ + OutputState: o.OutputState, + } +} + // The domain name of the association. func (o LookupDomainResultOutput) DomainName() pulumi.StringOutput { return o.ApplyT(func(v LookupDomainResult) string { return v.DomainName }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebasehosting/v1beta1/getRelease.go b/sdk/go/google/firebasehosting/v1beta1/getRelease.go index 67631f549c..38c6aee778 100644 --- a/sdk/go/google/firebasehosting/v1beta1/getRelease.go +++ b/sdk/go/google/firebasehosting/v1beta1/getRelease.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified release for a site or channel. When used to get a release for a site, this can get releases for both the default `live` channel and any active preview channels for the specified site. @@ -82,6 +83,12 @@ func (o LookupReleaseResultOutput) ToLookupReleaseResultOutputWithContext(ctx co return o } +func (o LookupReleaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReleaseResult] { + return pulumix.Output[LookupReleaseResult]{ + OutputState: o.OutputState, + } +} + // The deploy description when the release was created. The value can be up to 512 characters. func (o LookupReleaseResultOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v LookupReleaseResult) string { return v.Message }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebasehosting/v1beta1/getSite.go b/sdk/go/google/firebasehosting/v1beta1/getSite.go index 75b10def91..a20f9f94b1 100644 --- a/sdk/go/google/firebasehosting/v1beta1/getSite.go +++ b/sdk/go/google/firebasehosting/v1beta1/getSite.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Hosting Site. @@ -76,6 +77,12 @@ func (o LookupSiteResultOutput) ToLookupSiteResultOutputWithContext(ctx context. return o } +func (o LookupSiteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSiteResult] { + return pulumix.Output[LookupSiteResult]{ + OutputState: o.OutputState, + } +} + // Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site. func (o LookupSiteResultOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v LookupSiteResult) string { return v.AppId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebasehosting/v1beta1/getVersion.go b/sdk/go/google/firebasehosting/v1beta1/getVersion.go index ed5a4cc4b9..7257f57d74 100644 --- a/sdk/go/google/firebasehosting/v1beta1/getVersion.go +++ b/sdk/go/google/firebasehosting/v1beta1/getVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get the specified version that has been created for the specified site. This can include versions that were created for the default `live` channel or for any active preview channels for the specified site. @@ -92,6 +93,12 @@ func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx co return o } +func (o LookupVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionResult] { + return pulumix.Output[LookupVersionResult]{ + OutputState: o.OutputState, + } +} + // The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file. func (o LookupVersionResultOutput) Config() ServingConfigResponseOutput { return o.ApplyT(func(v LookupVersionResult) ServingConfigResponse { return v.Config }).(ServingConfigResponseOutput) diff --git a/sdk/go/google/firebasehosting/v1beta1/pulumiEnums.go b/sdk/go/google/firebasehosting/v1beta1/pulumiEnums.go index 15ea0fe0cd..2ceaaa4939 100644 --- a/sdk/go/google/firebasehosting/v1beta1/pulumiEnums.go +++ b/sdk/go/google/firebasehosting/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The redirect status code. @@ -80,6 +81,12 @@ func (o DomainRedirectTypeOutput) ToDomainRedirectTypePtrOutputWithContext(ctx c }).(DomainRedirectTypePtrOutput) } +func (o DomainRedirectTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DomainRedirectType] { + return pulumix.Output[DomainRedirectType]{ + OutputState: o.OutputState, + } +} + func (o DomainRedirectTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o DomainRedirectTypePtrOutput) ToDomainRedirectTypePtrOutputWithContext(ct return o } +func (o DomainRedirectTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainRedirectType] { + return pulumix.Output[*DomainRedirectType]{ + OutputState: o.OutputState, + } +} + func (o DomainRedirectTypePtrOutput) Elem() DomainRedirectTypeOutput { return o.ApplyT(func(v *DomainRedirectType) DomainRedirectType { if v != nil { @@ -177,6 +190,12 @@ func (in *domainRedirectTypePtr) ToDomainRedirectTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(DomainRedirectTypePtrOutput) } +func (in *domainRedirectTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DomainRedirectType] { + return pulumix.Output[*DomainRedirectType]{ + OutputState: in.ToDomainRedirectTypePtrOutputWithContext(ctx).OutputState, + } +} + // Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release. type ReleaseType string @@ -251,6 +270,12 @@ func (o ReleaseTypeOutput) ToReleaseTypePtrOutputWithContext(ctx context.Context }).(ReleaseTypePtrOutput) } +func (o ReleaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseType] { + return pulumix.Output[ReleaseType]{ + OutputState: o.OutputState, + } +} + func (o ReleaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o ReleaseTypePtrOutput) ToReleaseTypePtrOutputWithContext(ctx context.Cont return o } +func (o ReleaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReleaseType] { + return pulumix.Output[*ReleaseType]{ + OutputState: o.OutputState, + } +} + func (o ReleaseTypePtrOutput) Elem() ReleaseTypeOutput { return o.ApplyT(func(v *ReleaseType) ReleaseType { if v != nil { @@ -348,6 +379,12 @@ func (in *releaseTypePtr) ToReleaseTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ReleaseTypePtrOutput) } +func (in *releaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReleaseType] { + return pulumix.Output[*ReleaseType]{ + OutputState: in.ToReleaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // How to handle well known App Association files. type ServingConfigAppAssociation string @@ -418,6 +455,12 @@ func (o ServingConfigAppAssociationOutput) ToServingConfigAppAssociationPtrOutpu }).(ServingConfigAppAssociationPtrOutput) } +func (o ServingConfigAppAssociationOutput) ToOutput(ctx context.Context) pulumix.Output[ServingConfigAppAssociation] { + return pulumix.Output[ServingConfigAppAssociation]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigAppAssociationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -453,6 +496,12 @@ func (o ServingConfigAppAssociationPtrOutput) ToServingConfigAppAssociationPtrOu return o } +func (o ServingConfigAppAssociationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigAppAssociation] { + return pulumix.Output[*ServingConfigAppAssociation]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigAppAssociationPtrOutput) Elem() ServingConfigAppAssociationOutput { return o.ApplyT(func(v *ServingConfigAppAssociation) ServingConfigAppAssociation { if v != nil { @@ -515,6 +564,12 @@ func (in *servingConfigAppAssociationPtr) ToServingConfigAppAssociationPtrOutput return pulumi.ToOutputWithContext(ctx, in).(ServingConfigAppAssociationPtrOutput) } +func (in *servingConfigAppAssociationPtr) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigAppAssociation] { + return pulumix.Output[*ServingConfigAppAssociation]{ + OutputState: in.ToServingConfigAppAssociationPtrOutputWithContext(ctx).OutputState, + } +} + // Defines how to handle a trailing slash in the URL path. type ServingConfigTrailingSlashBehavior string @@ -587,6 +642,12 @@ func (o ServingConfigTrailingSlashBehaviorOutput) ToServingConfigTrailingSlashBe }).(ServingConfigTrailingSlashBehaviorPtrOutput) } +func (o ServingConfigTrailingSlashBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[ServingConfigTrailingSlashBehavior] { + return pulumix.Output[ServingConfigTrailingSlashBehavior]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigTrailingSlashBehaviorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -622,6 +683,12 @@ func (o ServingConfigTrailingSlashBehaviorPtrOutput) ToServingConfigTrailingSlas return o } +func (o ServingConfigTrailingSlashBehaviorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigTrailingSlashBehavior] { + return pulumix.Output[*ServingConfigTrailingSlashBehavior]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigTrailingSlashBehaviorPtrOutput) Elem() ServingConfigTrailingSlashBehaviorOutput { return o.ApplyT(func(v *ServingConfigTrailingSlashBehavior) ServingConfigTrailingSlashBehavior { if v != nil { @@ -684,6 +751,12 @@ func (in *servingConfigTrailingSlashBehaviorPtr) ToServingConfigTrailingSlashBeh return pulumi.ToOutputWithContext(ctx, in).(ServingConfigTrailingSlashBehaviorPtrOutput) } +func (in *servingConfigTrailingSlashBehaviorPtr) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigTrailingSlashBehavior] { + return pulumix.Output[*ServingConfigTrailingSlashBehavior]{ + OutputState: in.ToServingConfigTrailingSlashBehaviorPtrOutputWithContext(ctx).OutputState, + } +} + // The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete). type VersionStatus string diff --git a/sdk/go/google/firebasehosting/v1beta1/pulumiTypes.go b/sdk/go/google/firebasehosting/v1beta1/pulumiTypes.go index 36d3963fc0..14cc090fc8 100644 --- a/sdk/go/google/firebasehosting/v1beta1/pulumiTypes.go +++ b/sdk/go/google/firebasehosting/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -36,6 +37,12 @@ func (o ActingUserResponseOutput) ToActingUserResponseOutputWithContext(ctx cont return o } +func (o ActingUserResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ActingUserResponse] { + return pulumix.Output[ActingUserResponse]{ + OutputState: o.OutputState, + } +} + // The email address of the user when the user performed the action. func (o ActingUserResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ActingUserResponse) string { return v.Email }).(pulumi.StringOutput) @@ -69,6 +76,12 @@ func (o CertDnsChallengeResponseOutput) ToCertDnsChallengeResponseOutputWithCont return o } +func (o CertDnsChallengeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertDnsChallengeResponse] { + return pulumix.Output[CertDnsChallengeResponse]{ + OutputState: o.OutputState, + } +} + // The domain name upon which the DNS challenge must be satisfied. func (o CertDnsChallengeResponseOutput) DomainName() pulumi.StringOutput { return o.ApplyT(func(v CertDnsChallengeResponse) string { return v.DomainName }).(pulumi.StringOutput) @@ -102,6 +115,12 @@ func (o CertHttpChallengeResponseOutput) ToCertHttpChallengeResponseOutputWithCo return o } +func (o CertHttpChallengeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertHttpChallengeResponse] { + return pulumix.Output[CertHttpChallengeResponse]{ + OutputState: o.OutputState, + } +} + // The URL path on which to serve the specified token to satisfy the certificate challenge. func (o CertHttpChallengeResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v CertHttpChallengeResponse) string { return v.Path }).(pulumi.StringOutput) @@ -155,6 +174,12 @@ func (i CloudRunRewriteArgs) ToCloudRunRewriteOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CloudRunRewriteOutput) } +func (i CloudRunRewriteArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRunRewrite] { + return pulumix.Output[CloudRunRewrite]{ + OutputState: i.ToCloudRunRewriteOutputWithContext(ctx).OutputState, + } +} + func (i CloudRunRewriteArgs) ToCloudRunRewritePtrOutput() CloudRunRewritePtrOutput { return i.ToCloudRunRewritePtrOutputWithContext(context.Background()) } @@ -196,6 +221,12 @@ func (i *cloudRunRewritePtrType) ToCloudRunRewritePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CloudRunRewritePtrOutput) } +func (i *cloudRunRewritePtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRunRewrite] { + return pulumix.Output[*CloudRunRewrite]{ + OutputState: i.ToCloudRunRewritePtrOutputWithContext(ctx).OutputState, + } +} + // A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error). type CloudRunRewriteOutput struct{ *pulumi.OutputState } @@ -221,6 +252,12 @@ func (o CloudRunRewriteOutput) ToCloudRunRewritePtrOutputWithContext(ctx context }).(CloudRunRewritePtrOutput) } +func (o CloudRunRewriteOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunRewrite] { + return pulumix.Output[CloudRunRewrite]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied. func (o CloudRunRewriteOutput) Region() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudRunRewrite) *string { return v.Region }).(pulumi.StringPtrOutput) @@ -250,6 +287,12 @@ func (o CloudRunRewritePtrOutput) ToCloudRunRewritePtrOutputWithContext(ctx cont return o } +func (o CloudRunRewritePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRunRewrite] { + return pulumix.Output[*CloudRunRewrite]{ + OutputState: o.OutputState, + } +} + func (o CloudRunRewritePtrOutput) Elem() CloudRunRewriteOutput { return o.ApplyT(func(v *CloudRunRewrite) CloudRunRewrite { if v != nil { @@ -315,6 +358,12 @@ func (o CloudRunRewriteResponseOutput) ToCloudRunRewriteResponseOutputWithContex return o } +func (o CloudRunRewriteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunRewriteResponse] { + return pulumix.Output[CloudRunRewriteResponse]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied. func (o CloudRunRewriteResponseOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v CloudRunRewriteResponse) string { return v.Region }).(pulumi.StringOutput) @@ -365,6 +414,12 @@ func (o DomainProvisioningResponseOutput) ToDomainProvisioningResponseOutputWith return o } +func (o DomainProvisioningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DomainProvisioningResponse] { + return pulumix.Output[DomainProvisioningResponse]{ + OutputState: o.OutputState, + } +} + // The TXT records (for the certificate challenge) that were found at the last DNS fetch. func (o DomainProvisioningResponseOutput) CertChallengeDiscoveredTxt() pulumi.StringArrayOutput { return o.ApplyT(func(v DomainProvisioningResponse) []string { return v.CertChallengeDiscoveredTxt }).(pulumi.StringArrayOutput) @@ -444,6 +499,12 @@ func (i DomainRedirectArgs) ToDomainRedirectOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DomainRedirectOutput) } +func (i DomainRedirectArgs) ToOutput(ctx context.Context) pulumix.Output[DomainRedirect] { + return pulumix.Output[DomainRedirect]{ + OutputState: i.ToDomainRedirectOutputWithContext(ctx).OutputState, + } +} + func (i DomainRedirectArgs) ToDomainRedirectPtrOutput() DomainRedirectPtrOutput { return i.ToDomainRedirectPtrOutputWithContext(context.Background()) } @@ -485,6 +546,12 @@ func (i *domainRedirectPtrType) ToDomainRedirectPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DomainRedirectPtrOutput) } +func (i *domainRedirectPtrType) ToOutput(ctx context.Context) pulumix.Output[*DomainRedirect] { + return pulumix.Output[*DomainRedirect]{ + OutputState: i.ToDomainRedirectPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the behavior of a domain-level redirect. Domain redirects preserve the path of the redirect but replace the requested domain with the one specified in the redirect configuration. type DomainRedirectOutput struct{ *pulumi.OutputState } @@ -510,6 +577,12 @@ func (o DomainRedirectOutput) ToDomainRedirectPtrOutputWithContext(ctx context.C }).(DomainRedirectPtrOutput) } +func (o DomainRedirectOutput) ToOutput(ctx context.Context) pulumix.Output[DomainRedirect] { + return pulumix.Output[DomainRedirect]{ + OutputState: o.OutputState, + } +} + // The domain name to redirect to. func (o DomainRedirectOutput) DomainName() pulumi.StringOutput { return o.ApplyT(func(v DomainRedirect) string { return v.DomainName }).(pulumi.StringOutput) @@ -534,6 +607,12 @@ func (o DomainRedirectPtrOutput) ToDomainRedirectPtrOutputWithContext(ctx contex return o } +func (o DomainRedirectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainRedirect] { + return pulumix.Output[*DomainRedirect]{ + OutputState: o.OutputState, + } +} + func (o DomainRedirectPtrOutput) Elem() DomainRedirectOutput { return o.ApplyT(func(v *DomainRedirect) DomainRedirect { if v != nil { @@ -587,6 +666,12 @@ func (o DomainRedirectResponseOutput) ToDomainRedirectResponseOutputWithContext( return o } +func (o DomainRedirectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DomainRedirectResponse] { + return pulumix.Output[DomainRedirectResponse]{ + OutputState: o.OutputState, + } +} + // The domain name to redirect to. func (o DomainRedirectResponseOutput) DomainName() pulumi.StringOutput { return o.ApplyT(func(v DomainRedirectResponse) string { return v.DomainName }).(pulumi.StringOutput) @@ -640,6 +725,12 @@ func (i HeaderArgs) ToHeaderOutputWithContext(ctx context.Context) HeaderOutput return pulumi.ToOutputWithContext(ctx, i).(HeaderOutput) } +func (i HeaderArgs) ToOutput(ctx context.Context) pulumix.Output[Header] { + return pulumix.Output[Header]{ + OutputState: i.ToHeaderOutputWithContext(ctx).OutputState, + } +} + // HeaderArrayInput is an input type that accepts HeaderArray and HeaderArrayOutput values. // You can construct a concrete instance of `HeaderArrayInput` via: // @@ -665,6 +756,12 @@ func (i HeaderArray) ToHeaderArrayOutputWithContext(ctx context.Context) HeaderA return pulumi.ToOutputWithContext(ctx, i).(HeaderArrayOutput) } +func (i HeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]Header] { + return pulumix.Output[[]Header]{ + OutputState: i.ToHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // A [`Header`](https://firebase.google.com/docs/hosting/full-config#headers) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers. type HeaderOutput struct{ *pulumi.OutputState } @@ -680,6 +777,12 @@ func (o HeaderOutput) ToHeaderOutputWithContext(ctx context.Context) HeaderOutpu return o } +func (o HeaderOutput) ToOutput(ctx context.Context) pulumix.Output[Header] { + return pulumix.Output[Header]{ + OutputState: o.OutputState, + } +} + // The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path. func (o HeaderOutput) Glob() pulumi.StringPtrOutput { return o.ApplyT(func(v Header) *string { return v.Glob }).(pulumi.StringPtrOutput) @@ -709,6 +812,12 @@ func (o HeaderArrayOutput) ToHeaderArrayOutputWithContext(ctx context.Context) H return o } +func (o HeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Header] { + return pulumix.Output[[]Header]{ + OutputState: o.OutputState, + } +} + func (o HeaderArrayOutput) Index(i pulumi.IntInput) HeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Header { return vs[0].([]Header)[vs[1].(int)] @@ -740,6 +849,12 @@ func (o HeaderResponseOutput) ToHeaderResponseOutputWithContext(ctx context.Cont return o } +func (o HeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HeaderResponse] { + return pulumix.Output[HeaderResponse]{ + OutputState: o.OutputState, + } +} + // The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path. func (o HeaderResponseOutput) Glob() pulumi.StringOutput { return o.ApplyT(func(v HeaderResponse) string { return v.Glob }).(pulumi.StringOutput) @@ -769,6 +884,12 @@ func (o HeaderResponseArrayOutput) ToHeaderResponseArrayOutputWithContext(ctx co return o } +func (o HeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HeaderResponse] { + return pulumix.Output[[]HeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o HeaderResponseArrayOutput) Index(i pulumi.IntInput) HeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HeaderResponse { return vs[0].([]HeaderResponse)[vs[1].(int)] @@ -810,6 +931,12 @@ func (i I18nConfigArgs) ToI18nConfigOutputWithContext(ctx context.Context) I18nC return pulumi.ToOutputWithContext(ctx, i).(I18nConfigOutput) } +func (i I18nConfigArgs) ToOutput(ctx context.Context) pulumix.Output[I18nConfig] { + return pulumix.Output[I18nConfig]{ + OutputState: i.ToI18nConfigOutputWithContext(ctx).OutputState, + } +} + func (i I18nConfigArgs) ToI18nConfigPtrOutput() I18nConfigPtrOutput { return i.ToI18nConfigPtrOutputWithContext(context.Background()) } @@ -851,6 +978,12 @@ func (i *i18nConfigPtrType) ToI18nConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(I18nConfigPtrOutput) } +func (i *i18nConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*I18nConfig] { + return pulumix.Output[*I18nConfig]{ + OutputState: i.ToI18nConfigPtrOutputWithContext(ctx).OutputState, + } +} + // If provided, i18n rewrites are enabled. type I18nConfigOutput struct{ *pulumi.OutputState } @@ -876,6 +1009,12 @@ func (o I18nConfigOutput) ToI18nConfigPtrOutputWithContext(ctx context.Context) }).(I18nConfigPtrOutput) } +func (o I18nConfigOutput) ToOutput(ctx context.Context) pulumix.Output[I18nConfig] { + return pulumix.Output[I18nConfig]{ + OutputState: o.OutputState, + } +} + // The user-supplied path where country and language specific content will be looked for within the public directory. func (o I18nConfigOutput) Root() pulumi.StringOutput { return o.ApplyT(func(v I18nConfig) string { return v.Root }).(pulumi.StringOutput) @@ -895,6 +1034,12 @@ func (o I18nConfigPtrOutput) ToI18nConfigPtrOutputWithContext(ctx context.Contex return o } +func (o I18nConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*I18nConfig] { + return pulumix.Output[*I18nConfig]{ + OutputState: o.OutputState, + } +} + func (o I18nConfigPtrOutput) Elem() I18nConfigOutput { return o.ApplyT(func(v *I18nConfig) I18nConfig { if v != nil { @@ -936,6 +1081,12 @@ func (o I18nConfigResponseOutput) ToI18nConfigResponseOutputWithContext(ctx cont return o } +func (o I18nConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[I18nConfigResponse] { + return pulumix.Output[I18nConfigResponse]{ + OutputState: o.OutputState, + } +} + // The user-supplied path where country and language specific content will be looked for within the public directory. func (o I18nConfigResponseOutput) Root() pulumi.StringOutput { return o.ApplyT(func(v I18nConfigResponse) string { return v.Root }).(pulumi.StringOutput) @@ -988,6 +1139,12 @@ func (i RedirectArgs) ToRedirectOutputWithContext(ctx context.Context) RedirectO return pulumi.ToOutputWithContext(ctx, i).(RedirectOutput) } +func (i RedirectArgs) ToOutput(ctx context.Context) pulumix.Output[Redirect] { + return pulumix.Output[Redirect]{ + OutputState: i.ToRedirectOutputWithContext(ctx).OutputState, + } +} + // RedirectArrayInput is an input type that accepts RedirectArray and RedirectArrayOutput values. // You can construct a concrete instance of `RedirectArrayInput` via: // @@ -1013,6 +1170,12 @@ func (i RedirectArray) ToRedirectArrayOutputWithContext(ctx context.Context) Red return pulumi.ToOutputWithContext(ctx, i).(RedirectArrayOutput) } +func (i RedirectArray) ToOutput(ctx context.Context) pulumix.Output[[]Redirect] { + return pulumix.Output[[]Redirect]{ + OutputState: i.ToRedirectArrayOutputWithContext(ctx).OutputState, + } +} + // A [`Redirect`](https://firebase.google.com/docs/hosting/full-config#redirects) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path. type RedirectOutput struct{ *pulumi.OutputState } @@ -1028,6 +1191,12 @@ func (o RedirectOutput) ToRedirectOutputWithContext(ctx context.Context) Redirec return o } +func (o RedirectOutput) ToOutput(ctx context.Context) pulumix.Output[Redirect] { + return pulumix.Output[Redirect]{ + OutputState: o.OutputState, + } +} + // The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path. func (o RedirectOutput) Glob() pulumi.StringPtrOutput { return o.ApplyT(func(v Redirect) *string { return v.Glob }).(pulumi.StringPtrOutput) @@ -1062,6 +1231,12 @@ func (o RedirectArrayOutput) ToRedirectArrayOutputWithContext(ctx context.Contex return o } +func (o RedirectArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Redirect] { + return pulumix.Output[[]Redirect]{ + OutputState: o.OutputState, + } +} + func (o RedirectArrayOutput) Index(i pulumi.IntInput) RedirectOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Redirect { return vs[0].([]Redirect)[vs[1].(int)] @@ -1095,6 +1270,12 @@ func (o RedirectResponseOutput) ToRedirectResponseOutputWithContext(ctx context. return o } +func (o RedirectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RedirectResponse] { + return pulumix.Output[RedirectResponse]{ + OutputState: o.OutputState, + } +} + // The user-supplied [glob](https://firebase.google.com/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path. func (o RedirectResponseOutput) Glob() pulumi.StringOutput { return o.ApplyT(func(v RedirectResponse) string { return v.Glob }).(pulumi.StringOutput) @@ -1129,6 +1310,12 @@ func (o RedirectResponseArrayOutput) ToRedirectResponseArrayOutputWithContext(ct return o } +func (o RedirectResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RedirectResponse] { + return pulumix.Output[[]RedirectResponse]{ + OutputState: o.OutputState, + } +} + func (o RedirectResponseArrayOutput) Index(i pulumi.IntInput) RedirectResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RedirectResponse { return vs[0].([]RedirectResponse)[vs[1].(int)] @@ -1166,6 +1353,12 @@ func (o ReleaseResponseOutput) ToReleaseResponseOutputWithContext(ctx context.Co return o } +func (o ReleaseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReleaseResponse] { + return pulumix.Output[ReleaseResponse]{ + OutputState: o.OutputState, + } +} + // The deploy description when the release was created. The value can be up to 512 characters. func (o ReleaseResponseOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v ReleaseResponse) string { return v.Message }).(pulumi.StringOutput) @@ -1255,6 +1448,12 @@ func (i RewriteArgs) ToRewriteOutputWithContext(ctx context.Context) RewriteOutp return pulumi.ToOutputWithContext(ctx, i).(RewriteOutput) } +func (i RewriteArgs) ToOutput(ctx context.Context) pulumix.Output[Rewrite] { + return pulumix.Output[Rewrite]{ + OutputState: i.ToRewriteOutputWithContext(ctx).OutputState, + } +} + // RewriteArrayInput is an input type that accepts RewriteArray and RewriteArrayOutput values. // You can construct a concrete instance of `RewriteArrayInput` via: // @@ -1280,6 +1479,12 @@ func (i RewriteArray) ToRewriteArrayOutputWithContext(ctx context.Context) Rewri return pulumi.ToOutputWithContext(ctx, i).(RewriteArrayOutput) } +func (i RewriteArray) ToOutput(ctx context.Context) pulumix.Output[[]Rewrite] { + return pulumix.Output[[]Rewrite]{ + OutputState: i.ToRewriteArrayOutputWithContext(ctx).OutputState, + } +} + // A [`Rewrite`](https://firebase.google.com/docs/hosting/full-config#rewrites) specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL. type RewriteOutput struct{ *pulumi.OutputState } @@ -1295,6 +1500,12 @@ func (o RewriteOutput) ToRewriteOutputWithContext(ctx context.Context) RewriteOu return o } +func (o RewriteOutput) ToOutput(ctx context.Context) pulumix.Output[Rewrite] { + return pulumix.Output[Rewrite]{ + OutputState: o.OutputState, + } +} + // The request will be forwarded to Firebase Dynamic Links. func (o RewriteOutput) DynamicLinks() pulumi.BoolPtrOutput { return o.ApplyT(func(v Rewrite) *bool { return v.DynamicLinks }).(pulumi.BoolPtrOutput) @@ -1344,6 +1555,12 @@ func (o RewriteArrayOutput) ToRewriteArrayOutputWithContext(ctx context.Context) return o } +func (o RewriteArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Rewrite] { + return pulumix.Output[[]Rewrite]{ + OutputState: o.OutputState, + } +} + func (o RewriteArrayOutput) Index(i pulumi.IntInput) RewriteOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Rewrite { return vs[0].([]Rewrite)[vs[1].(int)] @@ -1383,6 +1600,12 @@ func (o RewriteResponseOutput) ToRewriteResponseOutputWithContext(ctx context.Co return o } +func (o RewriteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RewriteResponse] { + return pulumix.Output[RewriteResponse]{ + OutputState: o.OutputState, + } +} + // The request will be forwarded to Firebase Dynamic Links. func (o RewriteResponseOutput) DynamicLinks() pulumi.BoolOutput { return o.ApplyT(func(v RewriteResponse) bool { return v.DynamicLinks }).(pulumi.BoolOutput) @@ -1432,6 +1655,12 @@ func (o RewriteResponseArrayOutput) ToRewriteResponseArrayOutputWithContext(ctx return o } +func (o RewriteResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RewriteResponse] { + return pulumix.Output[[]RewriteResponse]{ + OutputState: o.OutputState, + } +} + func (o RewriteResponseArrayOutput) Index(i pulumi.IntInput) RewriteResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RewriteResponse { return vs[0].([]RewriteResponse)[vs[1].(int)] @@ -1497,6 +1726,12 @@ func (i ServingConfigArgs) ToServingConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServingConfigOutput) } +func (i ServingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ServingConfig] { + return pulumix.Output[ServingConfig]{ + OutputState: i.ToServingConfigOutputWithContext(ctx).OutputState, + } +} + func (i ServingConfigArgs) ToServingConfigPtrOutput() ServingConfigPtrOutput { return i.ToServingConfigPtrOutputWithContext(context.Background()) } @@ -1538,6 +1773,12 @@ func (i *servingConfigPtrType) ToServingConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ServingConfigPtrOutput) } +func (i *servingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServingConfig] { + return pulumix.Output[*ServingConfig]{ + OutputState: i.ToServingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](https://firebase.google.com/docs/hosting/full-config#hosting_priority_order). type ServingConfigOutput struct{ *pulumi.OutputState } @@ -1563,6 +1804,12 @@ func (o ServingConfigOutput) ToServingConfigPtrOutputWithContext(ctx context.Con }).(ServingConfigPtrOutput) } +func (o ServingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ServingConfig] { + return pulumix.Output[ServingConfig]{ + OutputState: o.OutputState, + } +} + // How to handle well known App Association files. func (o ServingConfigOutput) AppAssociation() ServingConfigAppAssociationPtrOutput { return o.ApplyT(func(v ServingConfig) *ServingConfigAppAssociation { return v.AppAssociation }).(ServingConfigAppAssociationPtrOutput) @@ -1612,6 +1859,12 @@ func (o ServingConfigPtrOutput) ToServingConfigPtrOutputWithContext(ctx context. return o } +func (o ServingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfig] { + return pulumix.Output[*ServingConfig]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigPtrOutput) Elem() ServingConfigOutput { return o.ApplyT(func(v *ServingConfig) ServingConfig { if v != nil { @@ -1725,6 +1978,12 @@ func (o ServingConfigResponseOutput) ToServingConfigResponseOutputWithContext(ct return o } +func (o ServingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServingConfigResponse] { + return pulumix.Output[ServingConfigResponse]{ + OutputState: o.OutputState, + } +} + // How to handle well known App Association files. func (o ServingConfigResponseOutput) AppAssociation() pulumi.StringOutput { return o.ApplyT(func(v ServingConfigResponse) string { return v.AppAssociation }).(pulumi.StringOutput) @@ -1803,6 +2062,12 @@ func (o VersionResponseOutput) ToVersionResponseOutputWithContext(ctx context.Co return o } +func (o VersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VersionResponse] { + return pulumix.Output[VersionResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file. func (o VersionResponseOutput) Config() ServingConfigResponseOutput { return o.ApplyT(func(v VersionResponse) ServingConfigResponse { return v.Config }).(ServingConfigResponseOutput) diff --git a/sdk/go/google/firebasehosting/v1beta1/release.go b/sdk/go/google/firebasehosting/v1beta1/release.go index c7ea4fe49b..e6ad4ee4a0 100644 --- a/sdk/go/google/firebasehosting/v1beta1/release.go +++ b/sdk/go/google/firebasehosting/v1beta1/release.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s). @@ -137,6 +138,12 @@ func (i *Release) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput return pulumi.ToOutputWithContext(ctx, i).(ReleaseOutput) } +func (i *Release) ToOutput(ctx context.Context) pulumix.Output[*Release] { + return pulumix.Output[*Release]{ + OutputState: i.ToReleaseOutputWithContext(ctx).OutputState, + } +} + type ReleaseOutput struct{ *pulumi.OutputState } func (ReleaseOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ReleaseOutput) ToReleaseOutputWithContext(ctx context.Context) ReleaseOu return o } +func (o ReleaseOutput) ToOutput(ctx context.Context) pulumix.Output[*Release] { + return pulumix.Output[*Release]{ + OutputState: o.OutputState, + } +} + func (o ReleaseOutput) ChannelId() pulumi.StringOutput { return o.ApplyT(func(v *Release) pulumi.StringOutput { return v.ChannelId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/firebasehosting/v1beta1/site.go b/sdk/go/google/firebasehosting/v1beta1/site.go index 9238df447e..2700031112 100644 --- a/sdk/go/google/firebasehosting/v1beta1/site.go +++ b/sdk/go/google/firebasehosting/v1beta1/site.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Hosting Site in the specified parent Firebase project. Note that Hosting sites can take several minutes to propagate through Firebase systems. @@ -123,6 +124,12 @@ func (i *Site) ToSiteOutputWithContext(ctx context.Context) SiteOutput { return pulumi.ToOutputWithContext(ctx, i).(SiteOutput) } +func (i *Site) ToOutput(ctx context.Context) pulumix.Output[*Site] { + return pulumix.Output[*Site]{ + OutputState: i.ToSiteOutputWithContext(ctx).OutputState, + } +} + type SiteOutput struct{ *pulumi.OutputState } func (SiteOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o SiteOutput) ToSiteOutputWithContext(ctx context.Context) SiteOutput { return o } +func (o SiteOutput) ToOutput(ctx context.Context) pulumix.Output[*Site] { + return pulumix.Output[*Site]{ + OutputState: o.OutputState, + } +} + // Optional. The [ID of a Web App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) associated with the Hosting site. func (o SiteOutput) AppId() pulumi.StringOutput { return o.ApplyT(func(v *Site) pulumi.StringOutput { return v.AppId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebasehosting/v1beta1/version.go b/sdk/go/google/firebasehosting/v1beta1/version.go index 04ad5d5d09..9d9d75cf99 100644 --- a/sdk/go/google/firebasehosting/v1beta1/version.go +++ b/sdk/go/google/firebasehosting/v1beta1/version.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new version for the specified site. @@ -149,6 +150,12 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + // The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](https://firebase.google.com/docs/cli/#the_firebasejson_file) file. func (o VersionOutput) Config() ServingConfigResponseOutput { return o.ApplyT(func(v *Version) ServingConfigResponseOutput { return v.Config }).(ServingConfigResponseOutput) diff --git a/sdk/go/google/firebaseml/v1beta2/getModel.go b/sdk/go/google/firebaseml/v1beta2/getModel.go index 67ba25397d..8074087df4 100644 --- a/sdk/go/google/firebaseml/v1beta2/getModel.go +++ b/sdk/go/google/firebaseml/v1beta2/getModel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a model resource. @@ -86,6 +87,12 @@ func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx contex return o } +func (o LookupModelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupModelResult] { + return pulumix.Output[LookupModelResult]{ + OutputState: o.OutputState, + } +} + // Lists operation ids associated with this model whose status is NOT done. func (o LookupModelResultOutput) ActiveOperations() OperationResponseArrayOutput { return o.ApplyT(func(v LookupModelResult) []OperationResponse { return v.ActiveOperations }).(OperationResponseArrayOutput) diff --git a/sdk/go/google/firebaseml/v1beta2/model.go b/sdk/go/google/firebaseml/v1beta2/model.go index 87425a8293..bd7aaa18eb 100644 --- a/sdk/go/google/firebaseml/v1beta2/model.go +++ b/sdk/go/google/firebaseml/v1beta2/model.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a model in Firebase ML. The longrunning operation will eventually return a Model @@ -137,6 +138,12 @@ func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput { return pulumi.ToOutputWithContext(ctx, i).(ModelOutput) } +func (i *Model) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: i.ToModelOutputWithContext(ctx).OutputState, + } +} + type ModelOutput struct{ *pulumi.OutputState } func (ModelOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput { return o } +func (o ModelOutput) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: o.OutputState, + } +} + // Lists operation ids associated with this model whose status is NOT done. func (o ModelOutput) ActiveOperations() OperationResponseArrayOutput { return o.ApplyT(func(v *Model) OperationResponseArrayOutput { return v.ActiveOperations }).(OperationResponseArrayOutput) diff --git a/sdk/go/google/firebaseml/v1beta2/pulumiTypes.go b/sdk/go/google/firebaseml/v1beta2/pulumiTypes.go index 10fc155d16..45ae9bafe3 100644 --- a/sdk/go/google/firebaseml/v1beta2/pulumiTypes.go +++ b/sdk/go/google/firebaseml/v1beta2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i ModelStateTypeArgs) ToModelStateTypeOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ModelStateTypeOutput) } +func (i ModelStateTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ModelStateType] { + return pulumix.Output[ModelStateType]{ + OutputState: i.ToModelStateTypeOutputWithContext(ctx).OutputState, + } +} + func (i ModelStateTypeArgs) ToModelStateTypePtrOutput() ModelStateTypePtrOutput { return i.ToModelStateTypePtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *modelStateTypePtrType) ToModelStateTypePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ModelStateTypePtrOutput) } +func (i *modelStateTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*ModelStateType] { + return pulumix.Output[*ModelStateType]{ + OutputState: i.ToModelStateTypePtrOutputWithContext(ctx).OutputState, + } +} + // State common to all model types. Includes publishing and validation information. type ModelStateTypeOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o ModelStateTypeOutput) ToModelStateTypePtrOutputWithContext(ctx context.C }).(ModelStateTypePtrOutput) } +func (o ModelStateTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ModelStateType] { + return pulumix.Output[ModelStateType]{ + OutputState: o.OutputState, + } +} + // Indicates if this model has been published. func (o ModelStateTypeOutput) Published() pulumi.BoolPtrOutput { return o.ApplyT(func(v ModelStateType) *bool { return v.Published }).(pulumi.BoolPtrOutput) @@ -133,6 +152,12 @@ func (o ModelStateTypePtrOutput) ToModelStateTypePtrOutputWithContext(ctx contex return o } +func (o ModelStateTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelStateType] { + return pulumix.Output[*ModelStateType]{ + OutputState: o.OutputState, + } +} + func (o ModelStateTypePtrOutput) Elem() ModelStateTypeOutput { return o.ApplyT(func(v *ModelStateType) ModelStateType { if v != nil { @@ -176,6 +201,12 @@ func (o ModelStateResponseOutput) ToModelStateResponseOutputWithContext(ctx cont return o } +func (o ModelStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ModelStateResponse] { + return pulumix.Output[ModelStateResponse]{ + OutputState: o.OutputState, + } +} + // Indicates if this model has been published. func (o ModelStateResponseOutput) Published() pulumi.BoolOutput { return o.ApplyT(func(v ModelStateResponse) bool { return v.Published }).(pulumi.BoolOutput) @@ -215,6 +246,12 @@ func (o OperationResponseOutput) ToOperationResponseOutputWithContext(ctx contex return o } +func (o OperationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationResponse] { + return pulumix.Output[OperationResponse]{ + OutputState: o.OutputState, + } +} + // If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. func (o OperationResponseOutput) Done() pulumi.BoolOutput { return o.ApplyT(func(v OperationResponse) bool { return v.Done }).(pulumi.BoolOutput) @@ -254,6 +291,12 @@ func (o OperationResponseArrayOutput) ToOperationResponseArrayOutputWithContext( return o } +func (o OperationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OperationResponse] { + return pulumix.Output[[]OperationResponse]{ + OutputState: o.OutputState, + } +} + func (o OperationResponseArrayOutput) Index(i pulumi.IntInput) OperationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OperationResponse { return vs[0].([]OperationResponse)[vs[1].(int)] @@ -285,6 +328,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -339,6 +388,12 @@ func (i TfLiteModelArgs) ToTfLiteModelOutputWithContext(ctx context.Context) TfL return pulumi.ToOutputWithContext(ctx, i).(TfLiteModelOutput) } +func (i TfLiteModelArgs) ToOutput(ctx context.Context) pulumix.Output[TfLiteModel] { + return pulumix.Output[TfLiteModel]{ + OutputState: i.ToTfLiteModelOutputWithContext(ctx).OutputState, + } +} + func (i TfLiteModelArgs) ToTfLiteModelPtrOutput() TfLiteModelPtrOutput { return i.ToTfLiteModelPtrOutputWithContext(context.Background()) } @@ -380,6 +435,12 @@ func (i *tfLiteModelPtrType) ToTfLiteModelPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TfLiteModelPtrOutput) } +func (i *tfLiteModelPtrType) ToOutput(ctx context.Context) pulumix.Output[*TfLiteModel] { + return pulumix.Output[*TfLiteModel]{ + OutputState: i.ToTfLiteModelPtrOutputWithContext(ctx).OutputState, + } +} + // Information that is specific to TfLite models. type TfLiteModelOutput struct{ *pulumi.OutputState } @@ -405,6 +466,12 @@ func (o TfLiteModelOutput) ToTfLiteModelPtrOutputWithContext(ctx context.Context }).(TfLiteModelPtrOutput) } +func (o TfLiteModelOutput) ToOutput(ctx context.Context) pulumix.Output[TfLiteModel] { + return pulumix.Output[TfLiteModel]{ + OutputState: o.OutputState, + } +} + // The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API) func (o TfLiteModelOutput) AutomlModel() pulumi.StringPtrOutput { return o.ApplyT(func(v TfLiteModel) *string { return v.AutomlModel }).(pulumi.StringPtrOutput) @@ -429,6 +496,12 @@ func (o TfLiteModelPtrOutput) ToTfLiteModelPtrOutputWithContext(ctx context.Cont return o } +func (o TfLiteModelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TfLiteModel] { + return pulumix.Output[*TfLiteModel]{ + OutputState: o.OutputState, + } +} + func (o TfLiteModelPtrOutput) Elem() TfLiteModelOutput { return o.ApplyT(func(v *TfLiteModel) TfLiteModel { if v != nil { @@ -484,6 +557,12 @@ func (o TfLiteModelResponseOutput) ToTfLiteModelResponseOutputWithContext(ctx co return o } +func (o TfLiteModelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TfLiteModelResponse] { + return pulumix.Output[TfLiteModelResponse]{ + OutputState: o.OutputState, + } +} + // The AutoML model id referencing a model you created with the AutoML API. The name should have format 'projects//locations//models/' (This is the model resource name returned from the AutoML API) func (o TfLiteModelResponseOutput) AutomlModel() pulumi.StringOutput { return o.ApplyT(func(v TfLiteModelResponse) string { return v.AutomlModel }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebaserules/v1/getRelease.go b/sdk/go/google/firebaserules/v1/getRelease.go index 1541faf2c7..b6c20fb0f5 100644 --- a/sdk/go/google/firebaserules/v1/getRelease.go +++ b/sdk/go/google/firebaserules/v1/getRelease.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a `Release` by name. @@ -74,6 +75,12 @@ func (o LookupReleaseResultOutput) ToLookupReleaseResultOutputWithContext(ctx co return o } +func (o LookupReleaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReleaseResult] { + return pulumix.Output[LookupReleaseResult]{ + OutputState: o.OutputState, + } +} + // Time the release was created. func (o LookupReleaseResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupReleaseResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebaserules/v1/getRuleset.go b/sdk/go/google/firebaserules/v1/getRuleset.go index 53a0882db2..ee0f6a8aa0 100644 --- a/sdk/go/google/firebaserules/v1/getRuleset.go +++ b/sdk/go/google/firebaserules/v1/getRuleset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a `Ruleset` by name including the full `Source` contents. @@ -74,6 +75,12 @@ func (o LookupRulesetResultOutput) ToLookupRulesetResultOutputWithContext(ctx co return o } +func (o LookupRulesetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRulesetResult] { + return pulumix.Output[LookupRulesetResult]{ + OutputState: o.OutputState, + } +} + // Time the `Ruleset` was created. func (o LookupRulesetResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupRulesetResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebaserules/v1/pulumiTypes.go b/sdk/go/google/firebaserules/v1/pulumiTypes.go index 826979f17c..037b83b95a 100644 --- a/sdk/go/google/firebaserules/v1/pulumiTypes.go +++ b/sdk/go/google/firebaserules/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i FileArgs) ToFileOutputWithContext(ctx context.Context) FileOutput { return pulumi.ToOutputWithContext(ctx, i).(FileOutput) } +func (i FileArgs) ToOutput(ctx context.Context) pulumix.Output[File] { + return pulumix.Output[File]{ + OutputState: i.ToFileOutputWithContext(ctx).OutputState, + } +} + // FileArrayInput is an input type that accepts FileArray and FileArrayOutput values. // You can construct a concrete instance of `FileArrayInput` via: // @@ -81,6 +88,12 @@ func (i FileArray) ToFileArrayOutputWithContext(ctx context.Context) FileArrayOu return pulumi.ToOutputWithContext(ctx, i).(FileArrayOutput) } +func (i FileArray) ToOutput(ctx context.Context) pulumix.Output[[]File] { + return pulumix.Output[[]File]{ + OutputState: i.ToFileArrayOutputWithContext(ctx).OutputState, + } +} + // `File` containing source content. type FileOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o FileOutput) ToFileOutputWithContext(ctx context.Context) FileOutput { return o } +func (o FileOutput) ToOutput(ctx context.Context) pulumix.Output[File] { + return pulumix.Output[File]{ + OutputState: o.OutputState, + } +} + // Textual Content. func (o FileOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v File) string { return v.Content }).(pulumi.StringOutput) @@ -125,6 +144,12 @@ func (o FileArrayOutput) ToFileArrayOutputWithContext(ctx context.Context) FileA return o } +func (o FileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]File] { + return pulumix.Output[[]File]{ + OutputState: o.OutputState, + } +} + func (o FileArrayOutput) Index(i pulumi.IntInput) FileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) File { return vs[0].([]File)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o FileResponseOutput) ToFileResponseOutputWithContext(ctx context.Context) return o } +func (o FileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileResponse] { + return pulumix.Output[FileResponse]{ + OutputState: o.OutputState, + } +} + // Textual Content. func (o FileResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v FileResponse) string { return v.Content }).(pulumi.StringOutput) @@ -185,6 +216,12 @@ func (o FileResponseArrayOutput) ToFileResponseArrayOutputWithContext(ctx contex return o } +func (o FileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileResponse] { + return pulumix.Output[[]FileResponse]{ + OutputState: o.OutputState, + } +} + func (o FileResponseArrayOutput) Index(i pulumi.IntInput) FileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileResponse { return vs[0].([]FileResponse)[vs[1].(int)] @@ -212,6 +249,12 @@ func (o MetadataResponseOutput) ToMetadataResponseOutputWithContext(ctx context. return o } +func (o MetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataResponse] { + return pulumix.Output[MetadataResponse]{ + OutputState: o.OutputState, + } +} + // Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these. func (o MetadataResponseOutput) Services() pulumi.StringArrayOutput { return o.ApplyT(func(v MetadataResponse) []string { return v.Services }).(pulumi.StringArrayOutput) @@ -252,6 +295,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + // `Source` is one or more `File` messages comprising a logical set of rules. type SourceOutput struct{ *pulumi.OutputState } @@ -267,6 +316,12 @@ func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutpu return o } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // `File` set constituting the `Source` bundle. func (o SourceOutput) Files() FileArrayOutput { return o.ApplyT(func(v Source) []File { return v.Files }).(FileArrayOutput) @@ -293,6 +348,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // `File` set constituting the `Source` bundle. func (o SourceResponseOutput) Files() FileResponseArrayOutput { return o.ApplyT(func(v SourceResponse) []FileResponse { return v.Files }).(FileResponseArrayOutput) diff --git a/sdk/go/google/firebaserules/v1/release.go b/sdk/go/google/firebaserules/v1/release.go index 21c1f9f8cb..986128bed0 100644 --- a/sdk/go/google/firebaserules/v1/release.go +++ b/sdk/go/google/firebaserules/v1/release.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a `Release`. Release names should reflect the developer's deployment practices. For example, the release name may include the environment name, application name, application version, or any other name meaningful to the developer. Once a `Release` refers to a `Ruleset`, the rules can be enforced by Firebase Rules-enabled services. More than one `Release` may be 'live' concurrently. Consider the following three `Release` names for `projects/foo` and the `Ruleset` to which they refer. Release Name -> Ruleset Name * projects/foo/releases/prod -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/beta -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/v23 -> projects/foo/rulesets/uuid456 The relationships reflect a `Ruleset` rollout in progress. The `prod` and `prod/beta` releases refer to the same `Ruleset`. However, `prod/v23` refers to a new `Ruleset`. The `Ruleset` reference for a `Release` may be updated using the UpdateRelease method. @@ -113,6 +114,12 @@ func (i *Release) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput return pulumi.ToOutputWithContext(ctx, i).(ReleaseOutput) } +func (i *Release) ToOutput(ctx context.Context) pulumix.Output[*Release] { + return pulumix.Output[*Release]{ + OutputState: i.ToReleaseOutputWithContext(ctx).OutputState, + } +} + type ReleaseOutput struct{ *pulumi.OutputState } func (ReleaseOutput) ElementType() reflect.Type { @@ -127,6 +134,12 @@ func (o ReleaseOutput) ToReleaseOutputWithContext(ctx context.Context) ReleaseOu return o } +func (o ReleaseOutput) ToOutput(ctx context.Context) pulumix.Output[*Release] { + return pulumix.Output[*Release]{ + OutputState: o.OutputState, + } +} + // Time the release was created. func (o ReleaseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Release) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/firebaserules/v1/ruleset.go b/sdk/go/google/firebaserules/v1/ruleset.go index 3c087e609c..50ef50b491 100644 --- a/sdk/go/google/firebaserules/v1/ruleset.go +++ b/sdk/go/google/firebaserules/v1/ruleset.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a `Ruleset` from `Source`. The `Ruleset` is given a unique generated name which is returned to the caller. `Source` containing syntactic or semantics errors will result in an error response indicating the first error encountered. For a detailed view of `Source` issues, use TestRuleset. @@ -110,6 +111,12 @@ func (i *Ruleset) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput return pulumi.ToOutputWithContext(ctx, i).(RulesetOutput) } +func (i *Ruleset) ToOutput(ctx context.Context) pulumix.Output[*Ruleset] { + return pulumix.Output[*Ruleset]{ + OutputState: i.ToRulesetOutputWithContext(ctx).OutputState, + } +} + type RulesetOutput struct{ *pulumi.OutputState } func (RulesetOutput) ElementType() reflect.Type { @@ -124,6 +131,12 @@ func (o RulesetOutput) ToRulesetOutputWithContext(ctx context.Context) RulesetOu return o } +func (o RulesetOutput) ToOutput(ctx context.Context) pulumix.Output[*Ruleset] { + return pulumix.Output[*Ruleset]{ + OutputState: o.OutputState, + } +} + // Time the `Ruleset` was created. func (o RulesetOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Ruleset) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/firestore/v1/backupSchedule.go b/sdk/go/google/firestore/v1/backupSchedule.go index 4a2f69ebab..491bfdede5 100644 --- a/sdk/go/google/firestore/v1/backupSchedule.go +++ b/sdk/go/google/firestore/v1/backupSchedule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a backup schedule on a database. At most two backup schedules can be configured on a database, one daily backup schedule with retention up to 7 days and one weekly backup schedule with retention up to 14 weeks. @@ -126,6 +127,12 @@ func (i *BackupSchedule) ToBackupScheduleOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BackupScheduleOutput) } +func (i *BackupSchedule) ToOutput(ctx context.Context) pulumix.Output[*BackupSchedule] { + return pulumix.Output[*BackupSchedule]{ + OutputState: i.ToBackupScheduleOutputWithContext(ctx).OutputState, + } +} + type BackupScheduleOutput struct{ *pulumi.OutputState } func (BackupScheduleOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o BackupScheduleOutput) ToBackupScheduleOutputWithContext(ctx context.Cont return o } +func (o BackupScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupSchedule] { + return pulumix.Output[*BackupSchedule]{ + OutputState: o.OutputState, + } +} + // The timestamp at which this backup schedule was created and effective since. No backups will be created for this schedule before this time. func (o BackupScheduleOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *BackupSchedule) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/firestore/v1/database.go b/sdk/go/google/firestore/v1/database.go index 5a3a9581ff..9c8c078d63 100644 --- a/sdk/go/google/firestore/v1/database.go +++ b/sdk/go/google/firestore/v1/database.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a database. @@ -154,6 +155,12 @@ func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutp return pulumi.ToOutputWithContext(ctx, i).(DatabaseOutput) } +func (i *Database) ToOutput(ctx context.Context) pulumix.Output[*Database] { + return pulumix.Output[*Database]{ + OutputState: i.ToDatabaseOutputWithContext(ctx).OutputState, + } +} + type DatabaseOutput struct{ *pulumi.OutputState } func (DatabaseOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) Databas return o } +func (o DatabaseOutput) ToOutput(ctx context.Context) pulumix.Output[*Database] { + return pulumix.Output[*Database]{ + OutputState: o.OutputState, + } +} + // The App Engine integration mode to use for this database. func (o DatabaseOutput) AppEngineIntegrationMode() pulumi.StringOutput { return o.ApplyT(func(v *Database) pulumi.StringOutput { return v.AppEngineIntegrationMode }).(pulumi.StringOutput) diff --git a/sdk/go/google/firestore/v1/getBackupSchedule.go b/sdk/go/google/firestore/v1/getBackupSchedule.go index 1905a5dde4..9551912cc2 100644 --- a/sdk/go/google/firestore/v1/getBackupSchedule.go +++ b/sdk/go/google/firestore/v1/getBackupSchedule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a backup schedule. @@ -80,6 +81,12 @@ func (o LookupBackupScheduleResultOutput) ToLookupBackupScheduleResultOutputWith return o } +func (o LookupBackupScheduleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupScheduleResult] { + return pulumix.Output[LookupBackupScheduleResult]{ + OutputState: o.OutputState, + } +} + // The timestamp at which this backup schedule was created and effective since. No backups will be created for this schedule before this time. func (o LookupBackupScheduleResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupScheduleResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/firestore/v1/getDatabase.go b/sdk/go/google/firestore/v1/getDatabase.go index e46722fee6..a8addb24a8 100644 --- a/sdk/go/google/firestore/v1/getDatabase.go +++ b/sdk/go/google/firestore/v1/getDatabase.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a database. @@ -88,6 +89,12 @@ func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx return o } +func (o LookupDatabaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatabaseResult] { + return pulumix.Output[LookupDatabaseResult]{ + OutputState: o.OutputState, + } +} + // The App Engine integration mode to use for this database. func (o LookupDatabaseResultOutput) AppEngineIntegrationMode() pulumi.StringOutput { return o.ApplyT(func(v LookupDatabaseResult) string { return v.AppEngineIntegrationMode }).(pulumi.StringOutput) diff --git a/sdk/go/google/firestore/v1/getIndex.go b/sdk/go/google/firestore/v1/getIndex.go index af6b6602e2..fe4d3844ed 100644 --- a/sdk/go/google/firestore/v1/getIndex.go +++ b/sdk/go/google/firestore/v1/getIndex.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a composite index. @@ -80,6 +81,12 @@ func (o LookupIndexResultOutput) ToLookupIndexResultOutputWithContext(ctx contex return o } +func (o LookupIndexResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIndexResult] { + return pulumix.Output[LookupIndexResult]{ + OutputState: o.OutputState, + } +} + // The API scope supported by this index. func (o LookupIndexResultOutput) ApiScope() pulumi.StringOutput { return o.ApplyT(func(v LookupIndexResult) string { return v.ApiScope }).(pulumi.StringOutput) diff --git a/sdk/go/google/firestore/v1/index.go b/sdk/go/google/firestore/v1/index.go index 7e590fcd37..67a5f642da 100644 --- a/sdk/go/google/firestore/v1/index.go +++ b/sdk/go/google/firestore/v1/index.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a composite index. This returns a google.longrunning.Operation which may be used to track the status of the creation. The metadata for the operation will be the type IndexOperationMetadata. @@ -131,6 +132,12 @@ func (i *Index) ToIndexOutputWithContext(ctx context.Context) IndexOutput { return pulumi.ToOutputWithContext(ctx, i).(IndexOutput) } +func (i *Index) ToOutput(ctx context.Context) pulumix.Output[*Index] { + return pulumix.Output[*Index]{ + OutputState: i.ToIndexOutputWithContext(ctx).OutputState, + } +} + type IndexOutput struct{ *pulumi.OutputState } func (IndexOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o IndexOutput) ToIndexOutputWithContext(ctx context.Context) IndexOutput { return o } +func (o IndexOutput) ToOutput(ctx context.Context) pulumix.Output[*Index] { + return pulumix.Output[*Index]{ + OutputState: o.OutputState, + } +} + // The API scope supported by this index. func (o IndexOutput) ApiScope() pulumi.StringOutput { return o.ApplyT(func(v *Index) pulumi.StringOutput { return v.ApiScope }).(pulumi.StringOutput) diff --git a/sdk/go/google/firestore/v1/pulumiEnums.go b/sdk/go/google/firestore/v1/pulumiEnums.go index 17b7596917..501b9c975b 100644 --- a/sdk/go/google/firestore/v1/pulumiEnums.go +++ b/sdk/go/google/firestore/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The App Engine integration mode to use for this database. @@ -82,6 +83,12 @@ func (o DatabaseAppEngineIntegrationModeOutput) ToDatabaseAppEngineIntegrationMo }).(DatabaseAppEngineIntegrationModePtrOutput) } +func (o DatabaseAppEngineIntegrationModeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseAppEngineIntegrationMode] { + return pulumix.Output[DatabaseAppEngineIntegrationMode]{ + OutputState: o.OutputState, + } +} + func (o DatabaseAppEngineIntegrationModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o DatabaseAppEngineIntegrationModePtrOutput) ToDatabaseAppEngineIntegratio return o } +func (o DatabaseAppEngineIntegrationModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseAppEngineIntegrationMode] { + return pulumix.Output[*DatabaseAppEngineIntegrationMode]{ + OutputState: o.OutputState, + } +} + func (o DatabaseAppEngineIntegrationModePtrOutput) Elem() DatabaseAppEngineIntegrationModeOutput { return o.ApplyT(func(v *DatabaseAppEngineIntegrationMode) DatabaseAppEngineIntegrationMode { if v != nil { @@ -179,6 +192,12 @@ func (in *databaseAppEngineIntegrationModePtr) ToDatabaseAppEngineIntegrationMod return pulumi.ToOutputWithContext(ctx, in).(DatabaseAppEngineIntegrationModePtrOutput) } +func (in *databaseAppEngineIntegrationModePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseAppEngineIntegrationMode] { + return pulumix.Output[*DatabaseAppEngineIntegrationMode]{ + OutputState: in.ToDatabaseAppEngineIntegrationModePtrOutputWithContext(ctx).OutputState, + } +} + // The concurrency control mode to use for this database. type DatabaseConcurrencyMode string @@ -253,6 +272,12 @@ func (o DatabaseConcurrencyModeOutput) ToDatabaseConcurrencyModePtrOutputWithCon }).(DatabaseConcurrencyModePtrOutput) } +func (o DatabaseConcurrencyModeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseConcurrencyMode] { + return pulumix.Output[DatabaseConcurrencyMode]{ + OutputState: o.OutputState, + } +} + func (o DatabaseConcurrencyModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o DatabaseConcurrencyModePtrOutput) ToDatabaseConcurrencyModePtrOutputWith return o } +func (o DatabaseConcurrencyModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseConcurrencyMode] { + return pulumix.Output[*DatabaseConcurrencyMode]{ + OutputState: o.OutputState, + } +} + func (o DatabaseConcurrencyModePtrOutput) Elem() DatabaseConcurrencyModeOutput { return o.ApplyT(func(v *DatabaseConcurrencyMode) DatabaseConcurrencyMode { if v != nil { @@ -350,6 +381,12 @@ func (in *databaseConcurrencyModePtr) ToDatabaseConcurrencyModePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(DatabaseConcurrencyModePtrOutput) } +func (in *databaseConcurrencyModePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseConcurrencyMode] { + return pulumix.Output[*DatabaseConcurrencyMode]{ + OutputState: in.ToDatabaseConcurrencyModePtrOutputWithContext(ctx).OutputState, + } +} + // State of delete protection for the database. type DatabaseDeleteProtectionState string @@ -422,6 +459,12 @@ func (o DatabaseDeleteProtectionStateOutput) ToDatabaseDeleteProtectionStatePtrO }).(DatabaseDeleteProtectionStatePtrOutput) } +func (o DatabaseDeleteProtectionStateOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDeleteProtectionState] { + return pulumix.Output[DatabaseDeleteProtectionState]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDeleteProtectionStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o DatabaseDeleteProtectionStatePtrOutput) ToDatabaseDeleteProtectionStateP return o } +func (o DatabaseDeleteProtectionStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDeleteProtectionState] { + return pulumix.Output[*DatabaseDeleteProtectionState]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDeleteProtectionStatePtrOutput) Elem() DatabaseDeleteProtectionStateOutput { return o.ApplyT(func(v *DatabaseDeleteProtectionState) DatabaseDeleteProtectionState { if v != nil { @@ -519,6 +568,12 @@ func (in *databaseDeleteProtectionStatePtr) ToDatabaseDeleteProtectionStatePtrOu return pulumi.ToOutputWithContext(ctx, in).(DatabaseDeleteProtectionStatePtrOutput) } +func (in *databaseDeleteProtectionStatePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDeleteProtectionState] { + return pulumix.Output[*DatabaseDeleteProtectionState]{ + OutputState: in.ToDatabaseDeleteProtectionStatePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose. type DatabaseType string @@ -591,6 +646,12 @@ func (o DatabaseTypeOutput) ToDatabaseTypePtrOutputWithContext(ctx context.Conte }).(DatabaseTypePtrOutput) } +func (o DatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseType] { + return pulumix.Output[DatabaseType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o DatabaseTypePtrOutput) ToDatabaseTypePtrOutputWithContext(ctx context.Co return o } +func (o DatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseType] { + return pulumix.Output[*DatabaseType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseTypePtrOutput) Elem() DatabaseTypeOutput { return o.ApplyT(func(v *DatabaseType) DatabaseType { if v != nil { @@ -688,6 +755,12 @@ func (in *databaseTypePtr) ToDatabaseTypePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(DatabaseTypePtrOutput) } +func (in *databaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseType] { + return pulumix.Output[*DatabaseType]{ + OutputState: in.ToDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that this field supports operations on `array_value`s. type GoogleFirestoreAdminV1IndexFieldArrayConfig string @@ -758,6 +831,12 @@ func (o GoogleFirestoreAdminV1IndexFieldArrayConfigOutput) ToGoogleFirestoreAdmi }).(GoogleFirestoreAdminV1IndexFieldArrayConfigPtrOutput) } +func (o GoogleFirestoreAdminV1IndexFieldArrayConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1IndexFieldArrayConfig] { + return pulumix.Output[GoogleFirestoreAdminV1IndexFieldArrayConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1IndexFieldArrayConfigOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -793,6 +872,12 @@ func (o GoogleFirestoreAdminV1IndexFieldArrayConfigPtrOutput) ToGoogleFirestoreA return o } +func (o GoogleFirestoreAdminV1IndexFieldArrayConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1IndexFieldArrayConfig] { + return pulumix.Output[*GoogleFirestoreAdminV1IndexFieldArrayConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1IndexFieldArrayConfigPtrOutput) Elem() GoogleFirestoreAdminV1IndexFieldArrayConfigOutput { return o.ApplyT(func(v *GoogleFirestoreAdminV1IndexFieldArrayConfig) GoogleFirestoreAdminV1IndexFieldArrayConfig { if v != nil { @@ -855,6 +940,12 @@ func (in *googleFirestoreAdminV1IndexFieldArrayConfigPtr) ToGoogleFirestoreAdmin return pulumi.ToOutputWithContext(ctx, in).(GoogleFirestoreAdminV1IndexFieldArrayConfigPtrOutput) } +func (in *googleFirestoreAdminV1IndexFieldArrayConfigPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1IndexFieldArrayConfig] { + return pulumix.Output[*GoogleFirestoreAdminV1IndexFieldArrayConfig]{ + OutputState: in.ToGoogleFirestoreAdminV1IndexFieldArrayConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=. type GoogleFirestoreAdminV1IndexFieldOrder string @@ -927,6 +1018,12 @@ func (o GoogleFirestoreAdminV1IndexFieldOrderOutput) ToGoogleFirestoreAdminV1Ind }).(GoogleFirestoreAdminV1IndexFieldOrderPtrOutput) } +func (o GoogleFirestoreAdminV1IndexFieldOrderOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1IndexFieldOrder] { + return pulumix.Output[GoogleFirestoreAdminV1IndexFieldOrder]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1IndexFieldOrderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -962,6 +1059,12 @@ func (o GoogleFirestoreAdminV1IndexFieldOrderPtrOutput) ToGoogleFirestoreAdminV1 return o } +func (o GoogleFirestoreAdminV1IndexFieldOrderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1IndexFieldOrder] { + return pulumix.Output[*GoogleFirestoreAdminV1IndexFieldOrder]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1IndexFieldOrderPtrOutput) Elem() GoogleFirestoreAdminV1IndexFieldOrderOutput { return o.ApplyT(func(v *GoogleFirestoreAdminV1IndexFieldOrder) GoogleFirestoreAdminV1IndexFieldOrder { if v != nil { @@ -1024,6 +1127,12 @@ func (in *googleFirestoreAdminV1IndexFieldOrderPtr) ToGoogleFirestoreAdminV1Inde return pulumi.ToOutputWithContext(ctx, in).(GoogleFirestoreAdminV1IndexFieldOrderPtrOutput) } +func (in *googleFirestoreAdminV1IndexFieldOrderPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1IndexFieldOrder] { + return pulumix.Output[*GoogleFirestoreAdminV1IndexFieldOrder]{ + OutputState: in.ToGoogleFirestoreAdminV1IndexFieldOrderPtrOutputWithContext(ctx).OutputState, + } +} + // The day of week to run. DAY_OF_WEEK_UNSPECIFIED is not allowed. type GoogleFirestoreAdminV1WeeklyRecurrenceDay string @@ -1106,6 +1215,12 @@ func (o GoogleFirestoreAdminV1WeeklyRecurrenceDayOutput) ToGoogleFirestoreAdminV }).(GoogleFirestoreAdminV1WeeklyRecurrenceDayPtrOutput) } +func (o GoogleFirestoreAdminV1WeeklyRecurrenceDayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1WeeklyRecurrenceDay] { + return pulumix.Output[GoogleFirestoreAdminV1WeeklyRecurrenceDay]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1WeeklyRecurrenceDayOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1141,6 +1256,12 @@ func (o GoogleFirestoreAdminV1WeeklyRecurrenceDayPtrOutput) ToGoogleFirestoreAdm return o } +func (o GoogleFirestoreAdminV1WeeklyRecurrenceDayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1WeeklyRecurrenceDay] { + return pulumix.Output[*GoogleFirestoreAdminV1WeeklyRecurrenceDay]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1WeeklyRecurrenceDayPtrOutput) Elem() GoogleFirestoreAdminV1WeeklyRecurrenceDayOutput { return o.ApplyT(func(v *GoogleFirestoreAdminV1WeeklyRecurrenceDay) GoogleFirestoreAdminV1WeeklyRecurrenceDay { if v != nil { @@ -1203,6 +1324,12 @@ func (in *googleFirestoreAdminV1WeeklyRecurrenceDayPtr) ToGoogleFirestoreAdminV1 return pulumi.ToOutputWithContext(ctx, in).(GoogleFirestoreAdminV1WeeklyRecurrenceDayPtrOutput) } +func (in *googleFirestoreAdminV1WeeklyRecurrenceDayPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1WeeklyRecurrenceDay] { + return pulumix.Output[*GoogleFirestoreAdminV1WeeklyRecurrenceDay]{ + OutputState: in.ToGoogleFirestoreAdminV1WeeklyRecurrenceDayPtrOutputWithContext(ctx).OutputState, + } +} + // The API scope supported by this index. type IndexApiScope string @@ -1273,6 +1400,12 @@ func (o IndexApiScopeOutput) ToIndexApiScopePtrOutputWithContext(ctx context.Con }).(IndexApiScopePtrOutput) } +func (o IndexApiScopeOutput) ToOutput(ctx context.Context) pulumix.Output[IndexApiScope] { + return pulumix.Output[IndexApiScope]{ + OutputState: o.OutputState, + } +} + func (o IndexApiScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1308,6 +1441,12 @@ func (o IndexApiScopePtrOutput) ToIndexApiScopePtrOutputWithContext(ctx context. return o } +func (o IndexApiScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IndexApiScope] { + return pulumix.Output[*IndexApiScope]{ + OutputState: o.OutputState, + } +} + func (o IndexApiScopePtrOutput) Elem() IndexApiScopeOutput { return o.ApplyT(func(v *IndexApiScope) IndexApiScope { if v != nil { @@ -1370,6 +1509,12 @@ func (in *indexApiScopePtr) ToIndexApiScopePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(IndexApiScopePtrOutput) } +func (in *indexApiScopePtr) ToOutput(ctx context.Context) pulumix.Output[*IndexApiScope] { + return pulumix.Output[*IndexApiScope]{ + OutputState: in.ToIndexApiScopePtrOutputWithContext(ctx).OutputState, + } +} + // Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the same collection id. Indexes with a collection group query scope specified allow queries against all collections descended from a specific document, specified at query time, and that have the same collection id as this index. type IndexQueryScope string @@ -1444,6 +1589,12 @@ func (o IndexQueryScopeOutput) ToIndexQueryScopePtrOutputWithContext(ctx context }).(IndexQueryScopePtrOutput) } +func (o IndexQueryScopeOutput) ToOutput(ctx context.Context) pulumix.Output[IndexQueryScope] { + return pulumix.Output[IndexQueryScope]{ + OutputState: o.OutputState, + } +} + func (o IndexQueryScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1479,6 +1630,12 @@ func (o IndexQueryScopePtrOutput) ToIndexQueryScopePtrOutputWithContext(ctx cont return o } +func (o IndexQueryScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IndexQueryScope] { + return pulumix.Output[*IndexQueryScope]{ + OutputState: o.OutputState, + } +} + func (o IndexQueryScopePtrOutput) Elem() IndexQueryScopeOutput { return o.ApplyT(func(v *IndexQueryScope) IndexQueryScope { if v != nil { @@ -1541,6 +1698,12 @@ func (in *indexQueryScopePtr) ToIndexQueryScopePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(IndexQueryScopePtrOutput) } +func (in *indexQueryScopePtr) ToOutput(ctx context.Context) pulumix.Output[*IndexQueryScope] { + return pulumix.Output[*IndexQueryScope]{ + OutputState: in.ToIndexQueryScopePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*DatabaseAppEngineIntegrationModeInput)(nil)).Elem(), DatabaseAppEngineIntegrationMode("APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*DatabaseAppEngineIntegrationModePtrInput)(nil)).Elem(), DatabaseAppEngineIntegrationMode("APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED")) diff --git a/sdk/go/google/firestore/v1/pulumiTypes.go b/sdk/go/google/firestore/v1/pulumiTypes.go index 614e997fb4..3a80e55dd7 100644 --- a/sdk/go/google/firestore/v1/pulumiTypes.go +++ b/sdk/go/google/firestore/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -44,6 +45,12 @@ func (i GoogleFirestoreAdminV1DailyRecurrenceArgs) ToGoogleFirestoreAdminV1Daily return pulumi.ToOutputWithContext(ctx, i).(GoogleFirestoreAdminV1DailyRecurrenceOutput) } +func (i GoogleFirestoreAdminV1DailyRecurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1DailyRecurrence] { + return pulumix.Output[GoogleFirestoreAdminV1DailyRecurrence]{ + OutputState: i.ToGoogleFirestoreAdminV1DailyRecurrenceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleFirestoreAdminV1DailyRecurrenceArgs) ToGoogleFirestoreAdminV1DailyRecurrencePtrOutput() GoogleFirestoreAdminV1DailyRecurrencePtrOutput { return i.ToGoogleFirestoreAdminV1DailyRecurrencePtrOutputWithContext(context.Background()) } @@ -85,6 +92,12 @@ func (i *googleFirestoreAdminV1DailyRecurrencePtrType) ToGoogleFirestoreAdminV1D return pulumi.ToOutputWithContext(ctx, i).(GoogleFirestoreAdminV1DailyRecurrencePtrOutput) } +func (i *googleFirestoreAdminV1DailyRecurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1DailyRecurrence] { + return pulumix.Output[*GoogleFirestoreAdminV1DailyRecurrence]{ + OutputState: i.ToGoogleFirestoreAdminV1DailyRecurrencePtrOutputWithContext(ctx).OutputState, + } +} + // Represent a recurring schedule that runs at a specific time every day. The time zone is UTC. type GoogleFirestoreAdminV1DailyRecurrenceOutput struct{ *pulumi.OutputState } @@ -110,6 +123,12 @@ func (o GoogleFirestoreAdminV1DailyRecurrenceOutput) ToGoogleFirestoreAdminV1Dai }).(GoogleFirestoreAdminV1DailyRecurrencePtrOutput) } +func (o GoogleFirestoreAdminV1DailyRecurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1DailyRecurrence] { + return pulumix.Output[GoogleFirestoreAdminV1DailyRecurrence]{ + OutputState: o.OutputState, + } +} + type GoogleFirestoreAdminV1DailyRecurrencePtrOutput struct{ *pulumi.OutputState } func (GoogleFirestoreAdminV1DailyRecurrencePtrOutput) ElementType() reflect.Type { @@ -124,6 +143,12 @@ func (o GoogleFirestoreAdminV1DailyRecurrencePtrOutput) ToGoogleFirestoreAdminV1 return o } +func (o GoogleFirestoreAdminV1DailyRecurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1DailyRecurrence] { + return pulumix.Output[*GoogleFirestoreAdminV1DailyRecurrence]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1DailyRecurrencePtrOutput) Elem() GoogleFirestoreAdminV1DailyRecurrenceOutput { return o.ApplyT(func(v *GoogleFirestoreAdminV1DailyRecurrence) GoogleFirestoreAdminV1DailyRecurrence { if v != nil { @@ -153,6 +178,12 @@ func (o GoogleFirestoreAdminV1DailyRecurrenceResponseOutput) ToGoogleFirestoreAd return o } +func (o GoogleFirestoreAdminV1DailyRecurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1DailyRecurrenceResponse] { + return pulumix.Output[GoogleFirestoreAdminV1DailyRecurrenceResponse]{ + OutputState: o.OutputState, + } +} + // A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed. type GoogleFirestoreAdminV1IndexField struct { // Indicates that this field supports operations on `array_value`s. @@ -196,6 +227,12 @@ func (i GoogleFirestoreAdminV1IndexFieldArgs) ToGoogleFirestoreAdminV1IndexField return pulumi.ToOutputWithContext(ctx, i).(GoogleFirestoreAdminV1IndexFieldOutput) } +func (i GoogleFirestoreAdminV1IndexFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1IndexField] { + return pulumix.Output[GoogleFirestoreAdminV1IndexField]{ + OutputState: i.ToGoogleFirestoreAdminV1IndexFieldOutputWithContext(ctx).OutputState, + } +} + // GoogleFirestoreAdminV1IndexFieldArrayInput is an input type that accepts GoogleFirestoreAdminV1IndexFieldArray and GoogleFirestoreAdminV1IndexFieldArrayOutput values. // You can construct a concrete instance of `GoogleFirestoreAdminV1IndexFieldArrayInput` via: // @@ -221,6 +258,12 @@ func (i GoogleFirestoreAdminV1IndexFieldArray) ToGoogleFirestoreAdminV1IndexFiel return pulumi.ToOutputWithContext(ctx, i).(GoogleFirestoreAdminV1IndexFieldArrayOutput) } +func (i GoogleFirestoreAdminV1IndexFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleFirestoreAdminV1IndexField] { + return pulumix.Output[[]GoogleFirestoreAdminV1IndexField]{ + OutputState: i.ToGoogleFirestoreAdminV1IndexFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed. type GoogleFirestoreAdminV1IndexFieldOutput struct{ *pulumi.OutputState } @@ -236,6 +279,12 @@ func (o GoogleFirestoreAdminV1IndexFieldOutput) ToGoogleFirestoreAdminV1IndexFie return o } +func (o GoogleFirestoreAdminV1IndexFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1IndexField] { + return pulumix.Output[GoogleFirestoreAdminV1IndexField]{ + OutputState: o.OutputState, + } +} + // Indicates that this field supports operations on `array_value`s. func (o GoogleFirestoreAdminV1IndexFieldOutput) ArrayConfig() GoogleFirestoreAdminV1IndexFieldArrayConfigPtrOutput { return o.ApplyT(func(v GoogleFirestoreAdminV1IndexField) *GoogleFirestoreAdminV1IndexFieldArrayConfig { @@ -267,6 +316,12 @@ func (o GoogleFirestoreAdminV1IndexFieldArrayOutput) ToGoogleFirestoreAdminV1Ind return o } +func (o GoogleFirestoreAdminV1IndexFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleFirestoreAdminV1IndexField] { + return pulumix.Output[[]GoogleFirestoreAdminV1IndexField]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1IndexFieldArrayOutput) Index(i pulumi.IntInput) GoogleFirestoreAdminV1IndexFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleFirestoreAdminV1IndexField { return vs[0].([]GoogleFirestoreAdminV1IndexField)[vs[1].(int)] @@ -298,6 +353,12 @@ func (o GoogleFirestoreAdminV1IndexFieldResponseOutput) ToGoogleFirestoreAdminV1 return o } +func (o GoogleFirestoreAdminV1IndexFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1IndexFieldResponse] { + return pulumix.Output[GoogleFirestoreAdminV1IndexFieldResponse]{ + OutputState: o.OutputState, + } +} + // Indicates that this field supports operations on `array_value`s. func (o GoogleFirestoreAdminV1IndexFieldResponseOutput) ArrayConfig() pulumi.StringOutput { return o.ApplyT(func(v GoogleFirestoreAdminV1IndexFieldResponse) string { return v.ArrayConfig }).(pulumi.StringOutput) @@ -327,6 +388,12 @@ func (o GoogleFirestoreAdminV1IndexFieldResponseArrayOutput) ToGoogleFirestoreAd return o } +func (o GoogleFirestoreAdminV1IndexFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleFirestoreAdminV1IndexFieldResponse] { + return pulumix.Output[[]GoogleFirestoreAdminV1IndexFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1IndexFieldResponseArrayOutput) Index(i pulumi.IntInput) GoogleFirestoreAdminV1IndexFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleFirestoreAdminV1IndexFieldResponse { return vs[0].([]GoogleFirestoreAdminV1IndexFieldResponse)[vs[1].(int)] @@ -368,6 +435,12 @@ func (i GoogleFirestoreAdminV1WeeklyRecurrenceArgs) ToGoogleFirestoreAdminV1Week return pulumi.ToOutputWithContext(ctx, i).(GoogleFirestoreAdminV1WeeklyRecurrenceOutput) } +func (i GoogleFirestoreAdminV1WeeklyRecurrenceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1WeeklyRecurrence] { + return pulumix.Output[GoogleFirestoreAdminV1WeeklyRecurrence]{ + OutputState: i.ToGoogleFirestoreAdminV1WeeklyRecurrenceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleFirestoreAdminV1WeeklyRecurrenceArgs) ToGoogleFirestoreAdminV1WeeklyRecurrencePtrOutput() GoogleFirestoreAdminV1WeeklyRecurrencePtrOutput { return i.ToGoogleFirestoreAdminV1WeeklyRecurrencePtrOutputWithContext(context.Background()) } @@ -409,6 +482,12 @@ func (i *googleFirestoreAdminV1WeeklyRecurrencePtrType) ToGoogleFirestoreAdminV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleFirestoreAdminV1WeeklyRecurrencePtrOutput) } +func (i *googleFirestoreAdminV1WeeklyRecurrencePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1WeeklyRecurrence] { + return pulumix.Output[*GoogleFirestoreAdminV1WeeklyRecurrence]{ + OutputState: i.ToGoogleFirestoreAdminV1WeeklyRecurrencePtrOutputWithContext(ctx).OutputState, + } +} + // Represents a recurring schedule that runs on a specified day of the week. The time zone is UTC. type GoogleFirestoreAdminV1WeeklyRecurrenceOutput struct{ *pulumi.OutputState } @@ -434,6 +513,12 @@ func (o GoogleFirestoreAdminV1WeeklyRecurrenceOutput) ToGoogleFirestoreAdminV1We }).(GoogleFirestoreAdminV1WeeklyRecurrencePtrOutput) } +func (o GoogleFirestoreAdminV1WeeklyRecurrenceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1WeeklyRecurrence] { + return pulumix.Output[GoogleFirestoreAdminV1WeeklyRecurrence]{ + OutputState: o.OutputState, + } +} + // The day of week to run. DAY_OF_WEEK_UNSPECIFIED is not allowed. func (o GoogleFirestoreAdminV1WeeklyRecurrenceOutput) Day() GoogleFirestoreAdminV1WeeklyRecurrenceDayPtrOutput { return o.ApplyT(func(v GoogleFirestoreAdminV1WeeklyRecurrence) *GoogleFirestoreAdminV1WeeklyRecurrenceDay { @@ -455,6 +540,12 @@ func (o GoogleFirestoreAdminV1WeeklyRecurrencePtrOutput) ToGoogleFirestoreAdminV return o } +func (o GoogleFirestoreAdminV1WeeklyRecurrencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1WeeklyRecurrence] { + return pulumix.Output[*GoogleFirestoreAdminV1WeeklyRecurrence]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1WeeklyRecurrencePtrOutput) Elem() GoogleFirestoreAdminV1WeeklyRecurrenceOutput { return o.ApplyT(func(v *GoogleFirestoreAdminV1WeeklyRecurrence) GoogleFirestoreAdminV1WeeklyRecurrence { if v != nil { @@ -496,6 +587,12 @@ func (o GoogleFirestoreAdminV1WeeklyRecurrenceResponseOutput) ToGoogleFirestoreA return o } +func (o GoogleFirestoreAdminV1WeeklyRecurrenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1WeeklyRecurrenceResponse] { + return pulumix.Output[GoogleFirestoreAdminV1WeeklyRecurrenceResponse]{ + OutputState: o.OutputState, + } +} + // The day of week to run. DAY_OF_WEEK_UNSPECIFIED is not allowed. func (o GoogleFirestoreAdminV1WeeklyRecurrenceResponseOutput) Day() pulumi.StringOutput { return o.ApplyT(func(v GoogleFirestoreAdminV1WeeklyRecurrenceResponse) string { return v.Day }).(pulumi.StringOutput) diff --git a/sdk/go/google/firestore/v1beta1/getIndex.go b/sdk/go/google/firestore/v1beta1/getIndex.go index f0dbe12f38..ead0136679 100644 --- a/sdk/go/google/firestore/v1beta1/getIndex.go +++ b/sdk/go/google/firestore/v1beta1/getIndex.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an index. @@ -76,6 +77,12 @@ func (o LookupIndexResultOutput) ToLookupIndexResultOutputWithContext(ctx contex return o } +func (o LookupIndexResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIndexResult] { + return pulumix.Output[LookupIndexResult]{ + OutputState: o.OutputState, + } +} + // The collection ID to which this index applies. Required. func (o LookupIndexResultOutput) CollectionId() pulumi.StringOutput { return o.ApplyT(func(v LookupIndexResult) string { return v.CollectionId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firestore/v1beta1/index.go b/sdk/go/google/firestore/v1beta1/index.go index 0cf3a12484..6ea45c3d40 100644 --- a/sdk/go/google/firestore/v1beta1/index.go +++ b/sdk/go/google/firestore/v1beta1/index.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates the specified index. A newly created index's initial state is `CREATING`. On completion of the returned google.longrunning.Operation, the state will be `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. During creation, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, removing the index with delete, then re-creating the index with create. Indexes with a single field cannot be created. @@ -125,6 +126,12 @@ func (i *Index) ToIndexOutputWithContext(ctx context.Context) IndexOutput { return pulumi.ToOutputWithContext(ctx, i).(IndexOutput) } +func (i *Index) ToOutput(ctx context.Context) pulumix.Output[*Index] { + return pulumix.Output[*Index]{ + OutputState: i.ToIndexOutputWithContext(ctx).OutputState, + } +} + type IndexOutput struct{ *pulumi.OutputState } func (IndexOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o IndexOutput) ToIndexOutputWithContext(ctx context.Context) IndexOutput { return o } +func (o IndexOutput) ToOutput(ctx context.Context) pulumix.Output[*Index] { + return pulumix.Output[*Index]{ + OutputState: o.OutputState, + } +} + // The collection ID to which this index applies. Required. func (o IndexOutput) CollectionId() pulumi.StringOutput { return o.ApplyT(func(v *Index) pulumi.StringOutput { return v.CollectionId }).(pulumi.StringOutput) diff --git a/sdk/go/google/firestore/v1beta1/pulumiEnums.go b/sdk/go/google/firestore/v1beta1/pulumiEnums.go index 7de31d80eb..93be14acce 100644 --- a/sdk/go/google/firestore/v1beta1/pulumiEnums.go +++ b/sdk/go/google/firestore/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The field's mode. @@ -84,6 +85,12 @@ func (o GoogleFirestoreAdminV1beta1IndexFieldModeOutput) ToGoogleFirestoreAdminV }).(GoogleFirestoreAdminV1beta1IndexFieldModePtrOutput) } +func (o GoogleFirestoreAdminV1beta1IndexFieldModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1beta1IndexFieldMode] { + return pulumix.Output[GoogleFirestoreAdminV1beta1IndexFieldMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1beta1IndexFieldModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o GoogleFirestoreAdminV1beta1IndexFieldModePtrOutput) ToGoogleFirestoreAdm return o } +func (o GoogleFirestoreAdminV1beta1IndexFieldModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1beta1IndexFieldMode] { + return pulumix.Output[*GoogleFirestoreAdminV1beta1IndexFieldMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1beta1IndexFieldModePtrOutput) Elem() GoogleFirestoreAdminV1beta1IndexFieldModeOutput { return o.ApplyT(func(v *GoogleFirestoreAdminV1beta1IndexFieldMode) GoogleFirestoreAdminV1beta1IndexFieldMode { if v != nil { @@ -181,6 +194,12 @@ func (in *googleFirestoreAdminV1beta1IndexFieldModePtr) ToGoogleFirestoreAdminV1 return pulumi.ToOutputWithContext(ctx, in).(GoogleFirestoreAdminV1beta1IndexFieldModePtrOutput) } +func (in *googleFirestoreAdminV1beta1IndexFieldModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1beta1IndexFieldMode] { + return pulumix.Output[*GoogleFirestoreAdminV1beta1IndexFieldMode]{ + OutputState: in.ToGoogleFirestoreAdminV1beta1IndexFieldModePtrOutputWithContext(ctx).OutputState, + } +} + // The state of the index. Output only. type IndexStateEnum string @@ -255,6 +274,12 @@ func (o IndexStateEnumOutput) ToIndexStateEnumPtrOutputWithContext(ctx context.C }).(IndexStateEnumPtrOutput) } +func (o IndexStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[IndexStateEnum] { + return pulumix.Output[IndexStateEnum]{ + OutputState: o.OutputState, + } +} + func (o IndexStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o IndexStateEnumPtrOutput) ToIndexStateEnumPtrOutputWithContext(ctx contex return o } +func (o IndexStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IndexStateEnum] { + return pulumix.Output[*IndexStateEnum]{ + OutputState: o.OutputState, + } +} + func (o IndexStateEnumPtrOutput) Elem() IndexStateEnumOutput { return o.ApplyT(func(v *IndexStateEnum) IndexStateEnum { if v != nil { @@ -352,6 +383,12 @@ func (in *indexStateEnumPtr) ToIndexStateEnumPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(IndexStateEnumPtrOutput) } +func (in *indexStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*IndexStateEnum] { + return pulumix.Output[*IndexStateEnum]{ + OutputState: in.ToIndexStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleFirestoreAdminV1beta1IndexFieldModeInput)(nil)).Elem(), GoogleFirestoreAdminV1beta1IndexFieldMode("MODE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleFirestoreAdminV1beta1IndexFieldModePtrInput)(nil)).Elem(), GoogleFirestoreAdminV1beta1IndexFieldMode("MODE_UNSPECIFIED")) diff --git a/sdk/go/google/firestore/v1beta1/pulumiTypes.go b/sdk/go/google/firestore/v1beta1/pulumiTypes.go index 869d0ea061..cc5676b94d 100644 --- a/sdk/go/google/firestore/v1beta1/pulumiTypes.go +++ b/sdk/go/google/firestore/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleFirestoreAdminV1beta1IndexFieldArgs) ToGoogleFirestoreAdminV1beta1 return pulumi.ToOutputWithContext(ctx, i).(GoogleFirestoreAdminV1beta1IndexFieldOutput) } +func (i GoogleFirestoreAdminV1beta1IndexFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1beta1IndexField] { + return pulumix.Output[GoogleFirestoreAdminV1beta1IndexField]{ + OutputState: i.ToGoogleFirestoreAdminV1beta1IndexFieldOutputWithContext(ctx).OutputState, + } +} + // GoogleFirestoreAdminV1beta1IndexFieldArrayInput is an input type that accepts GoogleFirestoreAdminV1beta1IndexFieldArray and GoogleFirestoreAdminV1beta1IndexFieldArrayOutput values. // You can construct a concrete instance of `GoogleFirestoreAdminV1beta1IndexFieldArrayInput` via: // @@ -77,6 +84,12 @@ func (i GoogleFirestoreAdminV1beta1IndexFieldArray) ToGoogleFirestoreAdminV1beta return pulumi.ToOutputWithContext(ctx, i).(GoogleFirestoreAdminV1beta1IndexFieldArrayOutput) } +func (i GoogleFirestoreAdminV1beta1IndexFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleFirestoreAdminV1beta1IndexField] { + return pulumix.Output[[]GoogleFirestoreAdminV1beta1IndexField]{ + OutputState: i.ToGoogleFirestoreAdminV1beta1IndexFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A field of an index. type GoogleFirestoreAdminV1beta1IndexFieldOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o GoogleFirestoreAdminV1beta1IndexFieldOutput) ToGoogleFirestoreAdminV1bet return o } +func (o GoogleFirestoreAdminV1beta1IndexFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1beta1IndexField] { + return pulumix.Output[GoogleFirestoreAdminV1beta1IndexField]{ + OutputState: o.OutputState, + } +} + // The path of the field. Must match the field path specification described by google.firestore.v1beta1.Document.fields. Special field path `__name__` may be used by itself or at the end of a path. `__type__` may be used only at the end of path. func (o GoogleFirestoreAdminV1beta1IndexFieldOutput) FieldPath() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleFirestoreAdminV1beta1IndexField) *string { return v.FieldPath }).(pulumi.StringPtrOutput) @@ -118,6 +137,12 @@ func (o GoogleFirestoreAdminV1beta1IndexFieldArrayOutput) ToGoogleFirestoreAdmin return o } +func (o GoogleFirestoreAdminV1beta1IndexFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleFirestoreAdminV1beta1IndexField] { + return pulumix.Output[[]GoogleFirestoreAdminV1beta1IndexField]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1beta1IndexFieldArrayOutput) Index(i pulumi.IntInput) GoogleFirestoreAdminV1beta1IndexFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleFirestoreAdminV1beta1IndexField { return vs[0].([]GoogleFirestoreAdminV1beta1IndexField)[vs[1].(int)] @@ -147,6 +172,12 @@ func (o GoogleFirestoreAdminV1beta1IndexFieldResponseOutput) ToGoogleFirestoreAd return o } +func (o GoogleFirestoreAdminV1beta1IndexFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1beta1IndexFieldResponse] { + return pulumix.Output[GoogleFirestoreAdminV1beta1IndexFieldResponse]{ + OutputState: o.OutputState, + } +} + // The path of the field. Must match the field path specification described by google.firestore.v1beta1.Document.fields. Special field path `__name__` may be used by itself or at the end of a path. `__type__` may be used only at the end of path. func (o GoogleFirestoreAdminV1beta1IndexFieldResponseOutput) FieldPath() pulumi.StringOutput { return o.ApplyT(func(v GoogleFirestoreAdminV1beta1IndexFieldResponse) string { return v.FieldPath }).(pulumi.StringOutput) @@ -171,6 +202,12 @@ func (o GoogleFirestoreAdminV1beta1IndexFieldResponseArrayOutput) ToGoogleFirest return o } +func (o GoogleFirestoreAdminV1beta1IndexFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleFirestoreAdminV1beta1IndexFieldResponse] { + return pulumix.Output[[]GoogleFirestoreAdminV1beta1IndexFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1beta1IndexFieldResponseArrayOutput) Index(i pulumi.IntInput) GoogleFirestoreAdminV1beta1IndexFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleFirestoreAdminV1beta1IndexFieldResponse { return vs[0].([]GoogleFirestoreAdminV1beta1IndexFieldResponse)[vs[1].(int)] diff --git a/sdk/go/google/firestore/v1beta2/getIndex.go b/sdk/go/google/firestore/v1beta2/getIndex.go index 7865d10d86..d6cce2cf74 100644 --- a/sdk/go/google/firestore/v1beta2/getIndex.go +++ b/sdk/go/google/firestore/v1beta2/getIndex.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a composite index. @@ -78,6 +79,12 @@ func (o LookupIndexResultOutput) ToLookupIndexResultOutputWithContext(ctx contex return o } +func (o LookupIndexResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIndexResult] { + return pulumix.Output[LookupIndexResult]{ + OutputState: o.OutputState, + } +} + // The fields supported by this index. For composite indexes, this is always 2 or more fields. The last field entry is always for the field path `__name__`. If, on creation, `__name__` was not specified as the last field, it will be added automatically with the same direction as that of the last field defined. If the final field in a composite index is not directional, the `__name__` will be ordered ASCENDING (unless explicitly specified). For single field indexes, this will always be exactly one entry with a field path equal to the field path of the associated field. func (o LookupIndexResultOutput) Fields() GoogleFirestoreAdminV1beta2IndexFieldResponseArrayOutput { return o.ApplyT(func(v LookupIndexResult) []GoogleFirestoreAdminV1beta2IndexFieldResponse { return v.Fields }).(GoogleFirestoreAdminV1beta2IndexFieldResponseArrayOutput) diff --git a/sdk/go/google/firestore/v1beta2/index.go b/sdk/go/google/firestore/v1beta2/index.go index ba7ed30a66..a754a7cb5d 100644 --- a/sdk/go/google/firestore/v1beta2/index.go +++ b/sdk/go/google/firestore/v1beta2/index.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a composite index. This returns a google.longrunning.Operation which may be used to track the status of the creation. The metadata for the operation will be the type IndexOperationMetadata. @@ -125,6 +126,12 @@ func (i *Index) ToIndexOutputWithContext(ctx context.Context) IndexOutput { return pulumi.ToOutputWithContext(ctx, i).(IndexOutput) } +func (i *Index) ToOutput(ctx context.Context) pulumix.Output[*Index] { + return pulumix.Output[*Index]{ + OutputState: i.ToIndexOutputWithContext(ctx).OutputState, + } +} + type IndexOutput struct{ *pulumi.OutputState } func (IndexOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o IndexOutput) ToIndexOutputWithContext(ctx context.Context) IndexOutput { return o } +func (o IndexOutput) ToOutput(ctx context.Context) pulumix.Output[*Index] { + return pulumix.Output[*Index]{ + OutputState: o.OutputState, + } +} + func (o IndexOutput) CollectionGroupId() pulumi.StringOutput { return o.ApplyT(func(v *Index) pulumi.StringOutput { return v.CollectionGroupId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/firestore/v1beta2/pulumiEnums.go b/sdk/go/google/firestore/v1beta2/pulumiEnums.go index b7a3d54078..9096352612 100644 --- a/sdk/go/google/firestore/v1beta2/pulumiEnums.go +++ b/sdk/go/google/firestore/v1beta2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Indicates that this field supports operations on `array_value`s. @@ -80,6 +81,12 @@ func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToGoogleFirestor }).(GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) } +func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1beta2IndexFieldArrayConfig] { + return pulumix.Output[GoogleFirestoreAdminV1beta2IndexFieldArrayConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) ToGoogleFires return o } +func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldArrayConfig] { + return pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldArrayConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) Elem() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigOutput { return o.ApplyT(func(v *GoogleFirestoreAdminV1beta2IndexFieldArrayConfig) GoogleFirestoreAdminV1beta2IndexFieldArrayConfig { if v != nil { @@ -177,6 +190,12 @@ func (in *googleFirestoreAdminV1beta2IndexFieldArrayConfigPtr) ToGoogleFirestore return pulumi.ToOutputWithContext(ctx, in).(GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput) } +func (in *googleFirestoreAdminV1beta2IndexFieldArrayConfigPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldArrayConfig] { + return pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldArrayConfig]{ + OutputState: in.ToGoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=. type GoogleFirestoreAdminV1beta2IndexFieldOrder string @@ -249,6 +268,12 @@ func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToGoogleFirestoreAdmin }).(GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) } +func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1beta2IndexFieldOrder] { + return pulumix.Output[GoogleFirestoreAdminV1beta2IndexFieldOrder]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1beta2IndexFieldOrderOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) ToGoogleFirestoreAd return o } +func (o GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldOrder] { + return pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldOrder]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) Elem() GoogleFirestoreAdminV1beta2IndexFieldOrderOutput { return o.ApplyT(func(v *GoogleFirestoreAdminV1beta2IndexFieldOrder) GoogleFirestoreAdminV1beta2IndexFieldOrder { if v != nil { @@ -346,6 +377,12 @@ func (in *googleFirestoreAdminV1beta2IndexFieldOrderPtr) ToGoogleFirestoreAdminV return pulumi.ToOutputWithContext(ctx, in).(GoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutput) } +func (in *googleFirestoreAdminV1beta2IndexFieldOrderPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldOrder] { + return pulumix.Output[*GoogleFirestoreAdminV1beta2IndexFieldOrder]{ + OutputState: in.ToGoogleFirestoreAdminV1beta2IndexFieldOrderPtrOutputWithContext(ctx).OutputState, + } +} + // Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the same collection id. Indexes with a collection group query scope specified allow queries against all collections descended from a specific document, specified at query time, and that have the same collection id as this index. type IndexQueryScope string @@ -418,6 +455,12 @@ func (o IndexQueryScopeOutput) ToIndexQueryScopePtrOutputWithContext(ctx context }).(IndexQueryScopePtrOutput) } +func (o IndexQueryScopeOutput) ToOutput(ctx context.Context) pulumix.Output[IndexQueryScope] { + return pulumix.Output[IndexQueryScope]{ + OutputState: o.OutputState, + } +} + func (o IndexQueryScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -453,6 +496,12 @@ func (o IndexQueryScopePtrOutput) ToIndexQueryScopePtrOutputWithContext(ctx cont return o } +func (o IndexQueryScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IndexQueryScope] { + return pulumix.Output[*IndexQueryScope]{ + OutputState: o.OutputState, + } +} + func (o IndexQueryScopePtrOutput) Elem() IndexQueryScopeOutput { return o.ApplyT(func(v *IndexQueryScope) IndexQueryScope { if v != nil { @@ -515,6 +564,12 @@ func (in *indexQueryScopePtr) ToIndexQueryScopePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(IndexQueryScopePtrOutput) } +func (in *indexQueryScopePtr) ToOutput(ctx context.Context) pulumix.Output[*IndexQueryScope] { + return pulumix.Output[*IndexQueryScope]{ + OutputState: in.ToIndexQueryScopePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleFirestoreAdminV1beta2IndexFieldArrayConfigInput)(nil)).Elem(), GoogleFirestoreAdminV1beta2IndexFieldArrayConfig("ARRAY_CONFIG_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrInput)(nil)).Elem(), GoogleFirestoreAdminV1beta2IndexFieldArrayConfig("ARRAY_CONFIG_UNSPECIFIED")) diff --git a/sdk/go/google/firestore/v1beta2/pulumiTypes.go b/sdk/go/google/firestore/v1beta2/pulumiTypes.go index c82a188e5b..6a45895ea4 100644 --- a/sdk/go/google/firestore/v1beta2/pulumiTypes.go +++ b/sdk/go/google/firestore/v1beta2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i GoogleFirestoreAdminV1beta2IndexFieldArgs) ToGoogleFirestoreAdminV1beta2 return pulumi.ToOutputWithContext(ctx, i).(GoogleFirestoreAdminV1beta2IndexFieldOutput) } +func (i GoogleFirestoreAdminV1beta2IndexFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1beta2IndexField] { + return pulumix.Output[GoogleFirestoreAdminV1beta2IndexField]{ + OutputState: i.ToGoogleFirestoreAdminV1beta2IndexFieldOutputWithContext(ctx).OutputState, + } +} + // GoogleFirestoreAdminV1beta2IndexFieldArrayInput is an input type that accepts GoogleFirestoreAdminV1beta2IndexFieldArray and GoogleFirestoreAdminV1beta2IndexFieldArrayOutput values. // You can construct a concrete instance of `GoogleFirestoreAdminV1beta2IndexFieldArrayInput` via: // @@ -81,6 +88,12 @@ func (i GoogleFirestoreAdminV1beta2IndexFieldArray) ToGoogleFirestoreAdminV1beta return pulumi.ToOutputWithContext(ctx, i).(GoogleFirestoreAdminV1beta2IndexFieldArrayOutput) } +func (i GoogleFirestoreAdminV1beta2IndexFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleFirestoreAdminV1beta2IndexField] { + return pulumix.Output[[]GoogleFirestoreAdminV1beta2IndexField]{ + OutputState: i.ToGoogleFirestoreAdminV1beta2IndexFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed. type GoogleFirestoreAdminV1beta2IndexFieldOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o GoogleFirestoreAdminV1beta2IndexFieldOutput) ToGoogleFirestoreAdminV1bet return o } +func (o GoogleFirestoreAdminV1beta2IndexFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1beta2IndexField] { + return pulumix.Output[GoogleFirestoreAdminV1beta2IndexField]{ + OutputState: o.OutputState, + } +} + // Indicates that this field supports operations on `array_value`s. func (o GoogleFirestoreAdminV1beta2IndexFieldOutput) ArrayConfig() GoogleFirestoreAdminV1beta2IndexFieldArrayConfigPtrOutput { return o.ApplyT(func(v GoogleFirestoreAdminV1beta2IndexField) *GoogleFirestoreAdminV1beta2IndexFieldArrayConfig { @@ -129,6 +148,12 @@ func (o GoogleFirestoreAdminV1beta2IndexFieldArrayOutput) ToGoogleFirestoreAdmin return o } +func (o GoogleFirestoreAdminV1beta2IndexFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleFirestoreAdminV1beta2IndexField] { + return pulumix.Output[[]GoogleFirestoreAdminV1beta2IndexField]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1beta2IndexFieldArrayOutput) Index(i pulumi.IntInput) GoogleFirestoreAdminV1beta2IndexFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleFirestoreAdminV1beta2IndexField { return vs[0].([]GoogleFirestoreAdminV1beta2IndexField)[vs[1].(int)] @@ -160,6 +185,12 @@ func (o GoogleFirestoreAdminV1beta2IndexFieldResponseOutput) ToGoogleFirestoreAd return o } +func (o GoogleFirestoreAdminV1beta2IndexFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleFirestoreAdminV1beta2IndexFieldResponse] { + return pulumix.Output[GoogleFirestoreAdminV1beta2IndexFieldResponse]{ + OutputState: o.OutputState, + } +} + // Indicates that this field supports operations on `array_value`s. func (o GoogleFirestoreAdminV1beta2IndexFieldResponseOutput) ArrayConfig() pulumi.StringOutput { return o.ApplyT(func(v GoogleFirestoreAdminV1beta2IndexFieldResponse) string { return v.ArrayConfig }).(pulumi.StringOutput) @@ -189,6 +220,12 @@ func (o GoogleFirestoreAdminV1beta2IndexFieldResponseArrayOutput) ToGoogleFirest return o } +func (o GoogleFirestoreAdminV1beta2IndexFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleFirestoreAdminV1beta2IndexFieldResponse] { + return pulumix.Output[[]GoogleFirestoreAdminV1beta2IndexFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleFirestoreAdminV1beta2IndexFieldResponseArrayOutput) Index(i pulumi.IntInput) GoogleFirestoreAdminV1beta2IndexFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleFirestoreAdminV1beta2IndexFieldResponse { return vs[0].([]GoogleFirestoreAdminV1beta2IndexFieldResponse)[vs[1].(int)] diff --git a/sdk/go/google/gameservices/v1/gameServerDeploymentIamBinding.go b/sdk/go/google/gameservices/v1/gameServerDeploymentIamBinding.go index 5432a8335c..d22455ac7f 100644 --- a/sdk/go/google/gameservices/v1/gameServerDeploymentIamBinding.go +++ b/sdk/go/google/gameservices/v1/gameServerDeploymentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GameServerDeploymentIamBinding) ToGameServerDeploymentIamBindingOutputW return pulumi.ToOutputWithContext(ctx, i).(GameServerDeploymentIamBindingOutput) } +func (i *GameServerDeploymentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamBinding] { + return pulumix.Output[*GameServerDeploymentIamBinding]{ + OutputState: i.ToGameServerDeploymentIamBindingOutputWithContext(ctx).OutputState, + } +} + type GameServerDeploymentIamBindingOutput struct{ *pulumi.OutputState } func (GameServerDeploymentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GameServerDeploymentIamBindingOutput) ToGameServerDeploymentIamBindingOu return o } +func (o GameServerDeploymentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamBinding] { + return pulumix.Output[*GameServerDeploymentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GameServerDeploymentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GameServerDeploymentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gameservices/v1/gameServerDeploymentIamMember.go b/sdk/go/google/gameservices/v1/gameServerDeploymentIamMember.go index 511c0dabc5..c9fcb77690 100644 --- a/sdk/go/google/gameservices/v1/gameServerDeploymentIamMember.go +++ b/sdk/go/google/gameservices/v1/gameServerDeploymentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GameServerDeploymentIamMember) ToGameServerDeploymentIamMemberOutputWit return pulumi.ToOutputWithContext(ctx, i).(GameServerDeploymentIamMemberOutput) } +func (i *GameServerDeploymentIamMember) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamMember] { + return pulumix.Output[*GameServerDeploymentIamMember]{ + OutputState: i.ToGameServerDeploymentIamMemberOutputWithContext(ctx).OutputState, + } +} + type GameServerDeploymentIamMemberOutput struct{ *pulumi.OutputState } func (GameServerDeploymentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GameServerDeploymentIamMemberOutput) ToGameServerDeploymentIamMemberOutp return o } +func (o GameServerDeploymentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamMember] { + return pulumix.Output[*GameServerDeploymentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GameServerDeploymentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GameServerDeploymentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gameservices/v1/gameServerDeploymentIamPolicy.go b/sdk/go/google/gameservices/v1/gameServerDeploymentIamPolicy.go index 9bab4d85a2..b3ca8c73e2 100644 --- a/sdk/go/google/gameservices/v1/gameServerDeploymentIamPolicy.go +++ b/sdk/go/google/gameservices/v1/gameServerDeploymentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -141,6 +142,12 @@ func (i *GameServerDeploymentIamPolicy) ToGameServerDeploymentIamPolicyOutputWit return pulumi.ToOutputWithContext(ctx, i).(GameServerDeploymentIamPolicyOutput) } +func (i *GameServerDeploymentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamPolicy] { + return pulumix.Output[*GameServerDeploymentIamPolicy]{ + OutputState: i.ToGameServerDeploymentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type GameServerDeploymentIamPolicyOutput struct{ *pulumi.OutputState } func (GameServerDeploymentIamPolicyOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o GameServerDeploymentIamPolicyOutput) ToGameServerDeploymentIamPolicyOutp return o } +func (o GameServerDeploymentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamPolicy] { + return pulumix.Output[*GameServerDeploymentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o GameServerDeploymentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *GameServerDeploymentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gameservices/v1/getGameServerDeploymentIamPolicy.go b/sdk/go/google/gameservices/v1/getGameServerDeploymentIamPolicy.go index eb12b824a2..f723e9fd7c 100644 --- a/sdk/go/google/gameservices/v1/getGameServerDeploymentIamPolicy.go +++ b/sdk/go/google/gameservices/v1/getGameServerDeploymentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupGameServerDeploymentIamPolicyResultOutput) ToLookupGameServerDeplo return o } +func (o LookupGameServerDeploymentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGameServerDeploymentIamPolicyResult] { + return pulumix.Output[LookupGameServerDeploymentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupGameServerDeploymentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupGameServerDeploymentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gameservices/v1/pulumiEnums.go b/sdk/go/google/gameservices/v1/pulumiEnums.go index 7335c521da..f65b032160 100644 --- a/sdk/go/google/gameservices/v1/pulumiEnums.go +++ b/sdk/go/google/gameservices/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the permission that was checked. type AuthorizationLoggingOptionsPermissionType string @@ -257,6 +276,12 @@ func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToAuthorizationLoggingO }).(AuthorizationLoggingOptionsPermissionTypePtrOutput) } +func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[AuthorizationLoggingOptionsPermissionType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -292,6 +317,12 @@ func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) ToAuthorizationLoggi return o } +func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[*AuthorizationLoggingOptionsPermissionType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) Elem() AuthorizationLoggingOptionsPermissionTypeOutput { return o.ApplyT(func(v *AuthorizationLoggingOptionsPermissionType) AuthorizationLoggingOptionsPermissionType { if v != nil { @@ -354,6 +385,12 @@ func (in *authorizationLoggingOptionsPermissionTypePtr) ToAuthorizationLoggingOp return pulumi.ToOutputWithContext(ctx, in).(AuthorizationLoggingOptionsPermissionTypePtrOutput) } +func (in *authorizationLoggingOptionsPermissionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[*AuthorizationLoggingOptionsPermissionType]{ + OutputState: in.ToAuthorizationLoggingOptionsPermissionTypePtrOutputWithContext(ctx).OutputState, + } +} + // The log_name to populate in the Cloud Audit Record. type CloudAuditOptionsLogName string @@ -426,6 +463,12 @@ func (o CloudAuditOptionsLogNameOutput) ToCloudAuditOptionsLogNamePtrOutputWithC }).(CloudAuditOptionsLogNamePtrOutput) } +func (o CloudAuditOptionsLogNameOutput) ToOutput(ctx context.Context) pulumix.Output[CloudAuditOptionsLogName] { + return pulumix.Output[CloudAuditOptionsLogName]{ + OutputState: o.OutputState, + } +} + func (o CloudAuditOptionsLogNameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o CloudAuditOptionsLogNamePtrOutput) ToCloudAuditOptionsLogNamePtrOutputWi return o } +func (o CloudAuditOptionsLogNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudAuditOptionsLogName] { + return pulumix.Output[*CloudAuditOptionsLogName]{ + OutputState: o.OutputState, + } +} + func (o CloudAuditOptionsLogNamePtrOutput) Elem() CloudAuditOptionsLogNameOutput { return o.ApplyT(func(v *CloudAuditOptionsLogName) CloudAuditOptionsLogName { if v != nil { @@ -523,6 +572,12 @@ func (in *cloudAuditOptionsLogNamePtr) ToCloudAuditOptionsLogNamePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(CloudAuditOptionsLogNamePtrOutput) } +func (in *cloudAuditOptionsLogNamePtr) ToOutput(ctx context.Context) pulumix.Output[*CloudAuditOptionsLogName] { + return pulumix.Output[*CloudAuditOptionsLogName]{ + OutputState: in.ToCloudAuditOptionsLogNamePtrOutputWithContext(ctx).OutputState, + } +} + // Trusted attributes supplied by the IAM system. type ConditionIam string @@ -605,6 +660,12 @@ func (o ConditionIamOutput) ToConditionIamPtrOutputWithContext(ctx context.Conte }).(ConditionIamPtrOutput) } +func (o ConditionIamOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionIam] { + return pulumix.Output[ConditionIam]{ + OutputState: o.OutputState, + } +} + func (o ConditionIamOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -640,6 +701,12 @@ func (o ConditionIamPtrOutput) ToConditionIamPtrOutputWithContext(ctx context.Co return o } +func (o ConditionIamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionIam] { + return pulumix.Output[*ConditionIam]{ + OutputState: o.OutputState, + } +} + func (o ConditionIamPtrOutput) Elem() ConditionIamOutput { return o.ApplyT(func(v *ConditionIam) ConditionIam { if v != nil { @@ -702,6 +769,12 @@ func (in *conditionIamPtr) ToConditionIamPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ConditionIamPtrOutput) } +func (in *conditionIamPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionIam] { + return pulumix.Output[*ConditionIam]{ + OutputState: in.ToConditionIamPtrOutputWithContext(ctx).OutputState, + } +} + // An operator to apply the subject with. type ConditionOp string @@ -780,6 +853,12 @@ func (o ConditionOpOutput) ToConditionOpPtrOutputWithContext(ctx context.Context }).(ConditionOpPtrOutput) } +func (o ConditionOpOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionOp] { + return pulumix.Output[ConditionOp]{ + OutputState: o.OutputState, + } +} + func (o ConditionOpOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -815,6 +894,12 @@ func (o ConditionOpPtrOutput) ToConditionOpPtrOutputWithContext(ctx context.Cont return o } +func (o ConditionOpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionOp] { + return pulumix.Output[*ConditionOp]{ + OutputState: o.OutputState, + } +} + func (o ConditionOpPtrOutput) Elem() ConditionOpOutput { return o.ApplyT(func(v *ConditionOp) ConditionOp { if v != nil { @@ -877,6 +962,12 @@ func (in *conditionOpPtr) ToConditionOpPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ConditionOpPtrOutput) } +func (in *conditionOpPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionOp] { + return pulumix.Output[*ConditionOp]{ + OutputState: in.ToConditionOpPtrOutputWithContext(ctx).OutputState, + } +} + // Trusted attributes supplied by any service that owns resources and uses the IAM system for access control. type ConditionSys string @@ -953,6 +1044,12 @@ func (o ConditionSysOutput) ToConditionSysPtrOutputWithContext(ctx context.Conte }).(ConditionSysPtrOutput) } +func (o ConditionSysOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionSys] { + return pulumix.Output[ConditionSys]{ + OutputState: o.OutputState, + } +} + func (o ConditionSysOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -988,6 +1085,12 @@ func (o ConditionSysPtrOutput) ToConditionSysPtrOutputWithContext(ctx context.Co return o } +func (o ConditionSysPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionSys] { + return pulumix.Output[*ConditionSys]{ + OutputState: o.OutputState, + } +} + func (o ConditionSysPtrOutput) Elem() ConditionSysOutput { return o.ApplyT(func(v *ConditionSys) ConditionSys { if v != nil { @@ -1050,6 +1153,12 @@ func (in *conditionSysPtr) ToConditionSysPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ConditionSysPtrOutput) } +func (in *conditionSysPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionSys] { + return pulumix.Output[*ConditionSys]{ + OutputState: in.ToConditionSysPtrOutputWithContext(ctx).OutputState, + } +} + type DataAccessOptionsLogMode string const ( @@ -1119,6 +1228,12 @@ func (o DataAccessOptionsLogModeOutput) ToDataAccessOptionsLogModePtrOutputWithC }).(DataAccessOptionsLogModePtrOutput) } +func (o DataAccessOptionsLogModeOutput) ToOutput(ctx context.Context) pulumix.Output[DataAccessOptionsLogMode] { + return pulumix.Output[DataAccessOptionsLogMode]{ + OutputState: o.OutputState, + } +} + func (o DataAccessOptionsLogModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1154,6 +1269,12 @@ func (o DataAccessOptionsLogModePtrOutput) ToDataAccessOptionsLogModePtrOutputWi return o } +func (o DataAccessOptionsLogModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataAccessOptionsLogMode] { + return pulumix.Output[*DataAccessOptionsLogMode]{ + OutputState: o.OutputState, + } +} + func (o DataAccessOptionsLogModePtrOutput) Elem() DataAccessOptionsLogModeOutput { return o.ApplyT(func(v *DataAccessOptionsLogMode) DataAccessOptionsLogMode { if v != nil { @@ -1216,6 +1337,12 @@ func (in *dataAccessOptionsLogModePtr) ToDataAccessOptionsLogModePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DataAccessOptionsLogModePtrOutput) } +func (in *dataAccessOptionsLogModePtr) ToOutput(ctx context.Context) pulumix.Output[*DataAccessOptionsLogMode] { + return pulumix.Output[*DataAccessOptionsLogMode]{ + OutputState: in.ToDataAccessOptionsLogModePtrOutputWithContext(ctx).OutputState, + } +} + // Required type RuleAction string @@ -1294,6 +1421,12 @@ func (o RuleActionOutput) ToRuleActionPtrOutputWithContext(ctx context.Context) }).(RuleActionPtrOutput) } +func (o RuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[RuleAction] { + return pulumix.Output[RuleAction]{ + OutputState: o.OutputState, + } +} + func (o RuleActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1329,6 +1462,12 @@ func (o RuleActionPtrOutput) ToRuleActionPtrOutputWithContext(ctx context.Contex return o } +func (o RuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuleAction] { + return pulumix.Output[*RuleAction]{ + OutputState: o.OutputState, + } +} + func (o RuleActionPtrOutput) Elem() RuleActionOutput { return o.ApplyT(func(v *RuleAction) RuleAction { if v != nil { @@ -1391,6 +1530,12 @@ func (in *ruleActionPtr) ToRuleActionPtrOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, in).(RuleActionPtrOutput) } +func (in *ruleActionPtr) ToOutput(ctx context.Context) pulumix.Output[*RuleAction] { + return pulumix.Output[*RuleAction]{ + OutputState: in.ToRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/gameservices/v1/pulumiTypes.go b/sdk/go/google/gameservices/v1/pulumiTypes.go index f74f121a1a..04e1adb6d8 100644 --- a/sdk/go/google/gameservices/v1/pulumiTypes.go +++ b/sdk/go/google/gameservices/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -216,6 +253,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -241,6 +284,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -256,6 +305,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -284,6 +339,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -314,6 +375,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -342,6 +409,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -383,6 +456,12 @@ func (i AuthorizationLoggingOptionsArgs) ToAuthorizationLoggingOptionsOutputWith return pulumi.ToOutputWithContext(ctx, i).(AuthorizationLoggingOptionsOutput) } +func (i AuthorizationLoggingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptions] { + return pulumix.Output[AuthorizationLoggingOptions]{ + OutputState: i.ToAuthorizationLoggingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i AuthorizationLoggingOptionsArgs) ToAuthorizationLoggingOptionsPtrOutput() AuthorizationLoggingOptionsPtrOutput { return i.ToAuthorizationLoggingOptionsPtrOutputWithContext(context.Background()) } @@ -424,6 +503,12 @@ func (i *authorizationLoggingOptionsPtrType) ToAuthorizationLoggingOptionsPtrOut return pulumi.ToOutputWithContext(ctx, i).(AuthorizationLoggingOptionsPtrOutput) } +func (i *authorizationLoggingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptions] { + return pulumix.Output[*AuthorizationLoggingOptions]{ + OutputState: i.ToAuthorizationLoggingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Authorization-related information used by Cloud Audit Logging. type AuthorizationLoggingOptionsOutput struct{ *pulumi.OutputState } @@ -449,6 +534,12 @@ func (o AuthorizationLoggingOptionsOutput) ToAuthorizationLoggingOptionsPtrOutpu }).(AuthorizationLoggingOptionsPtrOutput) } +func (o AuthorizationLoggingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptions] { + return pulumix.Output[AuthorizationLoggingOptions]{ + OutputState: o.OutputState, + } +} + // The type of the permission that was checked. func (o AuthorizationLoggingOptionsOutput) PermissionType() AuthorizationLoggingOptionsPermissionTypePtrOutput { return o.ApplyT(func(v AuthorizationLoggingOptions) *AuthorizationLoggingOptionsPermissionType { @@ -470,6 +561,12 @@ func (o AuthorizationLoggingOptionsPtrOutput) ToAuthorizationLoggingOptionsPtrOu return o } +func (o AuthorizationLoggingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptions] { + return pulumix.Output[*AuthorizationLoggingOptions]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPtrOutput) Elem() AuthorizationLoggingOptionsOutput { return o.ApplyT(func(v *AuthorizationLoggingOptions) AuthorizationLoggingOptions { if v != nil { @@ -511,6 +608,12 @@ func (o AuthorizationLoggingOptionsResponseOutput) ToAuthorizationLoggingOptions return o } +func (o AuthorizationLoggingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptionsResponse] { + return pulumix.Output[AuthorizationLoggingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The type of the permission that was checked. func (o AuthorizationLoggingOptionsResponseOutput) PermissionType() pulumi.StringOutput { return o.ApplyT(func(v AuthorizationLoggingOptionsResponse) string { return v.PermissionType }).(pulumi.StringOutput) @@ -561,6 +664,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -586,6 +695,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -601,6 +716,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingOutput) BindingId() pulumi.StringPtrOutput { return o.ApplyT(func(v Binding) *string { return v.BindingId }).(pulumi.StringPtrOutput) } @@ -634,6 +755,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -666,6 +793,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseOutput) BindingId() pulumi.StringOutput { return o.ApplyT(func(v BindingResponse) string { return v.BindingId }).(pulumi.StringOutput) } @@ -699,6 +832,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -744,6 +883,12 @@ func (i CloudAuditOptionsArgs) ToCloudAuditOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CloudAuditOptionsOutput) } +func (i CloudAuditOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[CloudAuditOptions] { + return pulumix.Output[CloudAuditOptions]{ + OutputState: i.ToCloudAuditOptionsOutputWithContext(ctx).OutputState, + } +} + func (i CloudAuditOptionsArgs) ToCloudAuditOptionsPtrOutput() CloudAuditOptionsPtrOutput { return i.ToCloudAuditOptionsPtrOutputWithContext(context.Background()) } @@ -785,6 +930,12 @@ func (i *cloudAuditOptionsPtrType) ToCloudAuditOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CloudAuditOptionsPtrOutput) } +func (i *cloudAuditOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudAuditOptions] { + return pulumix.Output[*CloudAuditOptions]{ + OutputState: i.ToCloudAuditOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Write a Cloud Audit log type CloudAuditOptionsOutput struct{ *pulumi.OutputState } @@ -810,6 +961,12 @@ func (o CloudAuditOptionsOutput) ToCloudAuditOptionsPtrOutputWithContext(ctx con }).(CloudAuditOptionsPtrOutput) } +func (o CloudAuditOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[CloudAuditOptions] { + return pulumix.Output[CloudAuditOptions]{ + OutputState: o.OutputState, + } +} + // Information used by the Cloud Audit Logging pipeline. func (o CloudAuditOptionsOutput) AuthorizationLoggingOptions() AuthorizationLoggingOptionsPtrOutput { return o.ApplyT(func(v CloudAuditOptions) *AuthorizationLoggingOptions { return v.AuthorizationLoggingOptions }).(AuthorizationLoggingOptionsPtrOutput) @@ -834,6 +991,12 @@ func (o CloudAuditOptionsPtrOutput) ToCloudAuditOptionsPtrOutputWithContext(ctx return o } +func (o CloudAuditOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudAuditOptions] { + return pulumix.Output[*CloudAuditOptions]{ + OutputState: o.OutputState, + } +} + func (o CloudAuditOptionsPtrOutput) Elem() CloudAuditOptionsOutput { return o.ApplyT(func(v *CloudAuditOptions) CloudAuditOptions { if v != nil { @@ -887,6 +1050,12 @@ func (o CloudAuditOptionsResponseOutput) ToCloudAuditOptionsResponseOutputWithCo return o } +func (o CloudAuditOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudAuditOptionsResponse] { + return pulumix.Output[CloudAuditOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Information used by the Cloud Audit Logging pipeline. func (o CloudAuditOptionsResponseOutput) AuthorizationLoggingOptions() AuthorizationLoggingOptionsResponseOutput { return o.ApplyT(func(v CloudAuditOptionsResponse) AuthorizationLoggingOptionsResponse { @@ -950,6 +1119,12 @@ func (i ConditionArgs) ToConditionOutputWithContext(ctx context.Context) Conditi return pulumi.ToOutputWithContext(ctx, i).(ConditionOutput) } +func (i ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: i.ToConditionOutputWithContext(ctx).OutputState, + } +} + // ConditionArrayInput is an input type that accepts ConditionArray and ConditionArrayOutput values. // You can construct a concrete instance of `ConditionArrayInput` via: // @@ -975,6 +1150,12 @@ func (i ConditionArray) ToConditionArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ConditionArrayOutput) } +func (i ConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: i.ToConditionArrayOutputWithContext(ctx).OutputState, + } +} + // A condition to be met. type ConditionOutput struct{ *pulumi.OutputState } @@ -990,6 +1171,12 @@ func (o ConditionOutput) ToConditionOutputWithContext(ctx context.Context) Condi return o } +func (o ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: o.OutputState, + } +} + // Trusted attributes supplied by the IAM system. func (o ConditionOutput) Iam() ConditionIamPtrOutput { return o.ApplyT(func(v Condition) *ConditionIam { return v.Iam }).(ConditionIamPtrOutput) @@ -1029,6 +1216,12 @@ func (o ConditionArrayOutput) ToConditionArrayOutputWithContext(ctx context.Cont return o } +func (o ConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: o.OutputState, + } +} + func (o ConditionArrayOutput) Index(i pulumi.IntInput) ConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Condition { return vs[0].([]Condition)[vs[1].(int)] @@ -1064,6 +1257,12 @@ func (o ConditionResponseOutput) ToConditionResponseOutputWithContext(ctx contex return o } +func (o ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionResponse] { + return pulumix.Output[ConditionResponse]{ + OutputState: o.OutputState, + } +} + // Trusted attributes supplied by the IAM system. func (o ConditionResponseOutput) Iam() pulumi.StringOutput { return o.ApplyT(func(v ConditionResponse) string { return v.Iam }).(pulumi.StringOutput) @@ -1103,6 +1302,12 @@ func (o ConditionResponseArrayOutput) ToConditionResponseArrayOutputWithContext( return o } +func (o ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConditionResponse] { + return pulumix.Output[[]ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o ConditionResponseArrayOutput) Index(i pulumi.IntInput) ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConditionResponse { return vs[0].([]ConditionResponse)[vs[1].(int)] @@ -1152,6 +1357,12 @@ func (i CounterOptionsArgs) ToCounterOptionsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CounterOptionsOutput) } +func (i CounterOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[CounterOptions] { + return pulumix.Output[CounterOptions]{ + OutputState: i.ToCounterOptionsOutputWithContext(ctx).OutputState, + } +} + func (i CounterOptionsArgs) ToCounterOptionsPtrOutput() CounterOptionsPtrOutput { return i.ToCounterOptionsPtrOutputWithContext(context.Background()) } @@ -1193,6 +1404,12 @@ func (i *counterOptionsPtrType) ToCounterOptionsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CounterOptionsPtrOutput) } +func (i *counterOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CounterOptions] { + return pulumix.Output[*CounterOptions]{ + OutputState: i.ToCounterOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Increment a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in "_count". Field names should not contain an initial slash. The actual exported metric names will have "/iam/policy" prepended. Field names correspond to IAM request parameters and field values are their respective values. Supported field names: - "authority", which is "[token]" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - "iam_principal", a representation of IAMContext.principal even if a token or authority selector is present; or - "" (empty string), resulting in a counter with no fields. Examples: counter { metric: "/debug_access_count" field: "iam_principal" } ==> increment counter /iam/policy/debug_access_count {iam_principal=[value of IAMContext.principal]} type CounterOptionsOutput struct{ *pulumi.OutputState } @@ -1218,6 +1435,12 @@ func (o CounterOptionsOutput) ToCounterOptionsPtrOutputWithContext(ctx context.C }).(CounterOptionsPtrOutput) } +func (o CounterOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[CounterOptions] { + return pulumix.Output[CounterOptions]{ + OutputState: o.OutputState, + } +} + // Custom fields. func (o CounterOptionsOutput) CustomFields() CustomFieldArrayOutput { return o.ApplyT(func(v CounterOptions) []CustomField { return v.CustomFields }).(CustomFieldArrayOutput) @@ -1247,6 +1470,12 @@ func (o CounterOptionsPtrOutput) ToCounterOptionsPtrOutputWithContext(ctx contex return o } +func (o CounterOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CounterOptions] { + return pulumix.Output[*CounterOptions]{ + OutputState: o.OutputState, + } +} + func (o CounterOptionsPtrOutput) Elem() CounterOptionsOutput { return o.ApplyT(func(v *CounterOptions) CounterOptions { if v != nil { @@ -1312,6 +1541,12 @@ func (o CounterOptionsResponseOutput) ToCounterOptionsResponseOutputWithContext( return o } +func (o CounterOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CounterOptionsResponse] { + return pulumix.Output[CounterOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Custom fields. func (o CounterOptionsResponseOutput) CustomFields() CustomFieldResponseArrayOutput { return o.ApplyT(func(v CounterOptionsResponse) []CustomFieldResponse { return v.CustomFields }).(CustomFieldResponseArrayOutput) @@ -1366,6 +1601,12 @@ func (i CustomFieldArgs) ToCustomFieldOutputWithContext(ctx context.Context) Cus return pulumi.ToOutputWithContext(ctx, i).(CustomFieldOutput) } +func (i CustomFieldArgs) ToOutput(ctx context.Context) pulumix.Output[CustomField] { + return pulumix.Output[CustomField]{ + OutputState: i.ToCustomFieldOutputWithContext(ctx).OutputState, + } +} + // CustomFieldArrayInput is an input type that accepts CustomFieldArray and CustomFieldArrayOutput values. // You can construct a concrete instance of `CustomFieldArrayInput` via: // @@ -1391,6 +1632,12 @@ func (i CustomFieldArray) ToCustomFieldArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CustomFieldArrayOutput) } +func (i CustomFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]CustomField] { + return pulumix.Output[[]CustomField]{ + OutputState: i.ToCustomFieldArrayOutputWithContext(ctx).OutputState, + } +} + // Custom fields. These can be used to create a counter with arbitrary field/value pairs. See: go/rpcsp-custom-fields. type CustomFieldOutput struct{ *pulumi.OutputState } @@ -1406,6 +1653,12 @@ func (o CustomFieldOutput) ToCustomFieldOutputWithContext(ctx context.Context) C return o } +func (o CustomFieldOutput) ToOutput(ctx context.Context) pulumix.Output[CustomField] { + return pulumix.Output[CustomField]{ + OutputState: o.OutputState, + } +} + // Name is the field name. func (o CustomFieldOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v CustomField) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -1430,6 +1683,12 @@ func (o CustomFieldArrayOutput) ToCustomFieldArrayOutputWithContext(ctx context. return o } +func (o CustomFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomField] { + return pulumix.Output[[]CustomField]{ + OutputState: o.OutputState, + } +} + func (o CustomFieldArrayOutput) Index(i pulumi.IntInput) CustomFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomField { return vs[0].([]CustomField)[vs[1].(int)] @@ -1459,6 +1718,12 @@ func (o CustomFieldResponseOutput) ToCustomFieldResponseOutputWithContext(ctx co return o } +func (o CustomFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomFieldResponse] { + return pulumix.Output[CustomFieldResponse]{ + OutputState: o.OutputState, + } +} + // Name is the field name. func (o CustomFieldResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v CustomFieldResponse) string { return v.Name }).(pulumi.StringOutput) @@ -1483,6 +1748,12 @@ func (o CustomFieldResponseArrayOutput) ToCustomFieldResponseArrayOutputWithCont return o } +func (o CustomFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomFieldResponse] { + return pulumix.Output[[]CustomFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o CustomFieldResponseArrayOutput) Index(i pulumi.IntInput) CustomFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomFieldResponse { return vs[0].([]CustomFieldResponse)[vs[1].(int)] @@ -1522,6 +1793,12 @@ func (i DataAccessOptionsArgs) ToDataAccessOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DataAccessOptionsOutput) } +func (i DataAccessOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[DataAccessOptions] { + return pulumix.Output[DataAccessOptions]{ + OutputState: i.ToDataAccessOptionsOutputWithContext(ctx).OutputState, + } +} + func (i DataAccessOptionsArgs) ToDataAccessOptionsPtrOutput() DataAccessOptionsPtrOutput { return i.ToDataAccessOptionsPtrOutputWithContext(context.Background()) } @@ -1563,6 +1840,12 @@ func (i *dataAccessOptionsPtrType) ToDataAccessOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DataAccessOptionsPtrOutput) } +func (i *dataAccessOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DataAccessOptions] { + return pulumix.Output[*DataAccessOptions]{ + OutputState: i.ToDataAccessOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Write a Data Access (Gin) log type DataAccessOptionsOutput struct{ *pulumi.OutputState } @@ -1588,6 +1871,12 @@ func (o DataAccessOptionsOutput) ToDataAccessOptionsPtrOutputWithContext(ctx con }).(DataAccessOptionsPtrOutput) } +func (o DataAccessOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[DataAccessOptions] { + return pulumix.Output[DataAccessOptions]{ + OutputState: o.OutputState, + } +} + func (o DataAccessOptionsOutput) LogMode() DataAccessOptionsLogModePtrOutput { return o.ApplyT(func(v DataAccessOptions) *DataAccessOptionsLogMode { return v.LogMode }).(DataAccessOptionsLogModePtrOutput) } @@ -1606,6 +1895,12 @@ func (o DataAccessOptionsPtrOutput) ToDataAccessOptionsPtrOutputWithContext(ctx return o } +func (o DataAccessOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataAccessOptions] { + return pulumix.Output[*DataAccessOptions]{ + OutputState: o.OutputState, + } +} + func (o DataAccessOptionsPtrOutput) Elem() DataAccessOptionsOutput { return o.ApplyT(func(v *DataAccessOptions) DataAccessOptions { if v != nil { @@ -1645,6 +1940,12 @@ func (o DataAccessOptionsResponseOutput) ToDataAccessOptionsResponseOutputWithCo return o } +func (o DataAccessOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataAccessOptionsResponse] { + return pulumix.Output[DataAccessOptionsResponse]{ + OutputState: o.OutputState, + } +} + func (o DataAccessOptionsResponseOutput) LogMode() pulumi.StringOutput { return o.ApplyT(func(v DataAccessOptionsResponse) string { return v.LogMode }).(pulumi.StringOutput) } @@ -1696,6 +1997,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1737,6 +2044,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1762,6 +2075,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1796,6 +2115,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1873,6 +2198,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1936,6 +2267,12 @@ func (i LogConfigArgs) ToLogConfigOutputWithContext(ctx context.Context) LogConf return pulumi.ToOutputWithContext(ctx, i).(LogConfigOutput) } +func (i LogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfig] { + return pulumix.Output[LogConfig]{ + OutputState: i.ToLogConfigOutputWithContext(ctx).OutputState, + } +} + // LogConfigArrayInput is an input type that accepts LogConfigArray and LogConfigArrayOutput values. // You can construct a concrete instance of `LogConfigArrayInput` via: // @@ -1961,6 +2298,12 @@ func (i LogConfigArray) ToLogConfigArrayOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LogConfigArrayOutput) } +func (i LogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]LogConfig] { + return pulumix.Output[[]LogConfig]{ + OutputState: i.ToLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies what kind of log the caller must write type LogConfigOutput struct{ *pulumi.OutputState } @@ -1976,6 +2319,12 @@ func (o LogConfigOutput) ToLogConfigOutputWithContext(ctx context.Context) LogCo return o } +func (o LogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfig] { + return pulumix.Output[LogConfig]{ + OutputState: o.OutputState, + } +} + // Cloud audit options. func (o LogConfigOutput) CloudAudit() CloudAuditOptionsPtrOutput { return o.ApplyT(func(v LogConfig) *CloudAuditOptions { return v.CloudAudit }).(CloudAuditOptionsPtrOutput) @@ -2005,6 +2354,12 @@ func (o LogConfigArrayOutput) ToLogConfigArrayOutputWithContext(ctx context.Cont return o } +func (o LogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfig] { + return pulumix.Output[[]LogConfig]{ + OutputState: o.OutputState, + } +} + func (o LogConfigArrayOutput) Index(i pulumi.IntInput) LogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfig { return vs[0].([]LogConfig)[vs[1].(int)] @@ -2036,6 +2391,12 @@ func (o LogConfigResponseOutput) ToLogConfigResponseOutputWithContext(ctx contex return o } +func (o LogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigResponse] { + return pulumix.Output[LogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Cloud audit options. func (o LogConfigResponseOutput) CloudAudit() CloudAuditOptionsResponseOutput { return o.ApplyT(func(v LogConfigResponse) CloudAuditOptionsResponse { return v.CloudAudit }).(CloudAuditOptionsResponseOutput) @@ -2065,6 +2426,12 @@ func (o LogConfigResponseArrayOutput) ToLogConfigResponseArrayOutputWithContext( return o } +func (o LogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigResponse] { + return pulumix.Output[[]LogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o LogConfigResponseArrayOutput) Index(i pulumi.IntInput) LogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigResponse { return vs[0].([]LogConfigResponse)[vs[1].(int)] @@ -2130,6 +2497,12 @@ func (i RuleArgs) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return pulumi.ToOutputWithContext(ctx, i).(RuleOutput) } +func (i RuleArgs) ToOutput(ctx context.Context) pulumix.Output[Rule] { + return pulumix.Output[Rule]{ + OutputState: i.ToRuleOutputWithContext(ctx).OutputState, + } +} + // RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. // You can construct a concrete instance of `RuleArrayInput` via: // @@ -2155,6 +2528,12 @@ func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOu return pulumi.ToOutputWithContext(ctx, i).(RuleArrayOutput) } +func (i RuleArray) ToOutput(ctx context.Context) pulumix.Output[[]Rule] { + return pulumix.Output[[]Rule]{ + OutputState: i.ToRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A rule to be applied in a Policy. type RuleOutput struct{ *pulumi.OutputState } @@ -2170,6 +2549,12 @@ func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return o } +func (o RuleOutput) ToOutput(ctx context.Context) pulumix.Output[Rule] { + return pulumix.Output[Rule]{ + OutputState: o.OutputState, + } +} + // Required func (o RuleOutput) Action() RuleActionPtrOutput { return o.ApplyT(func(v Rule) *RuleAction { return v.Action }).(RuleActionPtrOutput) @@ -2219,6 +2604,12 @@ func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleA return o } +func (o RuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Rule] { + return pulumix.Output[[]Rule]{ + OutputState: o.OutputState, + } +} + func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Rule { return vs[0].([]Rule)[vs[1].(int)] @@ -2258,6 +2649,12 @@ func (o RuleResponseOutput) ToRuleResponseOutputWithContext(ctx context.Context) return o } +func (o RuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuleResponse] { + return pulumix.Output[RuleResponse]{ + OutputState: o.OutputState, + } +} + // Required func (o RuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v RuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -2307,6 +2704,12 @@ func (o RuleResponseArrayOutput) ToRuleResponseArrayOutputWithContext(ctx contex return o } +func (o RuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleResponse] { + return pulumix.Output[[]RuleResponse]{ + OutputState: o.OutputState, + } +} + func (o RuleResponseArrayOutput) Index(i pulumi.IntInput) RuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RuleResponse { return vs[0].([]RuleResponse)[vs[1].(int)] diff --git a/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamBinding.go b/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamBinding.go index 15f31f8237..88d205c53f 100644 --- a/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamBinding.go +++ b/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GameServerDeploymentIamBinding) ToGameServerDeploymentIamBindingOutputW return pulumi.ToOutputWithContext(ctx, i).(GameServerDeploymentIamBindingOutput) } +func (i *GameServerDeploymentIamBinding) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamBinding] { + return pulumix.Output[*GameServerDeploymentIamBinding]{ + OutputState: i.ToGameServerDeploymentIamBindingOutputWithContext(ctx).OutputState, + } +} + type GameServerDeploymentIamBindingOutput struct{ *pulumi.OutputState } func (GameServerDeploymentIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GameServerDeploymentIamBindingOutput) ToGameServerDeploymentIamBindingOu return o } +func (o GameServerDeploymentIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamBinding] { + return pulumix.Output[*GameServerDeploymentIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GameServerDeploymentIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GameServerDeploymentIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamMember.go b/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamMember.go index 062133eb0e..cd30c40360 100644 --- a/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamMember.go +++ b/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GameServerDeploymentIamMember) ToGameServerDeploymentIamMemberOutputWit return pulumi.ToOutputWithContext(ctx, i).(GameServerDeploymentIamMemberOutput) } +func (i *GameServerDeploymentIamMember) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamMember] { + return pulumix.Output[*GameServerDeploymentIamMember]{ + OutputState: i.ToGameServerDeploymentIamMemberOutputWithContext(ctx).OutputState, + } +} + type GameServerDeploymentIamMemberOutput struct{ *pulumi.OutputState } func (GameServerDeploymentIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GameServerDeploymentIamMemberOutput) ToGameServerDeploymentIamMemberOutp return o } +func (o GameServerDeploymentIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamMember] { + return pulumix.Output[*GameServerDeploymentIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GameServerDeploymentIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GameServerDeploymentIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamPolicy.go b/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamPolicy.go index e9e7a4c7af..9a96464887 100644 --- a/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamPolicy.go +++ b/sdk/go/google/gameservices/v1beta/gameServerDeploymentIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -141,6 +142,12 @@ func (i *GameServerDeploymentIamPolicy) ToGameServerDeploymentIamPolicyOutputWit return pulumi.ToOutputWithContext(ctx, i).(GameServerDeploymentIamPolicyOutput) } +func (i *GameServerDeploymentIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamPolicy] { + return pulumix.Output[*GameServerDeploymentIamPolicy]{ + OutputState: i.ToGameServerDeploymentIamPolicyOutputWithContext(ctx).OutputState, + } +} + type GameServerDeploymentIamPolicyOutput struct{ *pulumi.OutputState } func (GameServerDeploymentIamPolicyOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o GameServerDeploymentIamPolicyOutput) ToGameServerDeploymentIamPolicyOutp return o } +func (o GameServerDeploymentIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*GameServerDeploymentIamPolicy] { + return pulumix.Output[*GameServerDeploymentIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o GameServerDeploymentIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *GameServerDeploymentIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gameservices/v1beta/getGameServerDeploymentIamPolicy.go b/sdk/go/google/gameservices/v1beta/getGameServerDeploymentIamPolicy.go index d4ae929fd4..868bd8a2e8 100644 --- a/sdk/go/google/gameservices/v1beta/getGameServerDeploymentIamPolicy.go +++ b/sdk/go/google/gameservices/v1beta/getGameServerDeploymentIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupGameServerDeploymentIamPolicyResultOutput) ToLookupGameServerDeplo return o } +func (o LookupGameServerDeploymentIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGameServerDeploymentIamPolicyResult] { + return pulumix.Output[LookupGameServerDeploymentIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupGameServerDeploymentIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupGameServerDeploymentIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gameservices/v1beta/pulumiEnums.go b/sdk/go/google/gameservices/v1beta/pulumiEnums.go index fb542790d9..3ac0c16fb9 100644 --- a/sdk/go/google/gameservices/v1beta/pulumiEnums.go +++ b/sdk/go/google/gameservices/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the permission that was checked. type AuthorizationLoggingOptionsPermissionType string @@ -257,6 +276,12 @@ func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToAuthorizationLoggingO }).(AuthorizationLoggingOptionsPermissionTypePtrOutput) } +func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[AuthorizationLoggingOptionsPermissionType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPermissionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -292,6 +317,12 @@ func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) ToAuthorizationLoggi return o } +func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[*AuthorizationLoggingOptionsPermissionType]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPermissionTypePtrOutput) Elem() AuthorizationLoggingOptionsPermissionTypeOutput { return o.ApplyT(func(v *AuthorizationLoggingOptionsPermissionType) AuthorizationLoggingOptionsPermissionType { if v != nil { @@ -354,6 +385,12 @@ func (in *authorizationLoggingOptionsPermissionTypePtr) ToAuthorizationLoggingOp return pulumi.ToOutputWithContext(ctx, in).(AuthorizationLoggingOptionsPermissionTypePtrOutput) } +func (in *authorizationLoggingOptionsPermissionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptionsPermissionType] { + return pulumix.Output[*AuthorizationLoggingOptionsPermissionType]{ + OutputState: in.ToAuthorizationLoggingOptionsPermissionTypePtrOutputWithContext(ctx).OutputState, + } +} + // The log_name to populate in the Cloud Audit Record. type CloudAuditOptionsLogName string @@ -426,6 +463,12 @@ func (o CloudAuditOptionsLogNameOutput) ToCloudAuditOptionsLogNamePtrOutputWithC }).(CloudAuditOptionsLogNamePtrOutput) } +func (o CloudAuditOptionsLogNameOutput) ToOutput(ctx context.Context) pulumix.Output[CloudAuditOptionsLogName] { + return pulumix.Output[CloudAuditOptionsLogName]{ + OutputState: o.OutputState, + } +} + func (o CloudAuditOptionsLogNameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o CloudAuditOptionsLogNamePtrOutput) ToCloudAuditOptionsLogNamePtrOutputWi return o } +func (o CloudAuditOptionsLogNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudAuditOptionsLogName] { + return pulumix.Output[*CloudAuditOptionsLogName]{ + OutputState: o.OutputState, + } +} + func (o CloudAuditOptionsLogNamePtrOutput) Elem() CloudAuditOptionsLogNameOutput { return o.ApplyT(func(v *CloudAuditOptionsLogName) CloudAuditOptionsLogName { if v != nil { @@ -523,6 +572,12 @@ func (in *cloudAuditOptionsLogNamePtr) ToCloudAuditOptionsLogNamePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(CloudAuditOptionsLogNamePtrOutput) } +func (in *cloudAuditOptionsLogNamePtr) ToOutput(ctx context.Context) pulumix.Output[*CloudAuditOptionsLogName] { + return pulumix.Output[*CloudAuditOptionsLogName]{ + OutputState: in.ToCloudAuditOptionsLogNamePtrOutputWithContext(ctx).OutputState, + } +} + // Trusted attributes supplied by the IAM system. type ConditionIam string @@ -605,6 +660,12 @@ func (o ConditionIamOutput) ToConditionIamPtrOutputWithContext(ctx context.Conte }).(ConditionIamPtrOutput) } +func (o ConditionIamOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionIam] { + return pulumix.Output[ConditionIam]{ + OutputState: o.OutputState, + } +} + func (o ConditionIamOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -640,6 +701,12 @@ func (o ConditionIamPtrOutput) ToConditionIamPtrOutputWithContext(ctx context.Co return o } +func (o ConditionIamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionIam] { + return pulumix.Output[*ConditionIam]{ + OutputState: o.OutputState, + } +} + func (o ConditionIamPtrOutput) Elem() ConditionIamOutput { return o.ApplyT(func(v *ConditionIam) ConditionIam { if v != nil { @@ -702,6 +769,12 @@ func (in *conditionIamPtr) ToConditionIamPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ConditionIamPtrOutput) } +func (in *conditionIamPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionIam] { + return pulumix.Output[*ConditionIam]{ + OutputState: in.ToConditionIamPtrOutputWithContext(ctx).OutputState, + } +} + // An operator to apply the subject with. type ConditionOp string @@ -780,6 +853,12 @@ func (o ConditionOpOutput) ToConditionOpPtrOutputWithContext(ctx context.Context }).(ConditionOpPtrOutput) } +func (o ConditionOpOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionOp] { + return pulumix.Output[ConditionOp]{ + OutputState: o.OutputState, + } +} + func (o ConditionOpOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -815,6 +894,12 @@ func (o ConditionOpPtrOutput) ToConditionOpPtrOutputWithContext(ctx context.Cont return o } +func (o ConditionOpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionOp] { + return pulumix.Output[*ConditionOp]{ + OutputState: o.OutputState, + } +} + func (o ConditionOpPtrOutput) Elem() ConditionOpOutput { return o.ApplyT(func(v *ConditionOp) ConditionOp { if v != nil { @@ -877,6 +962,12 @@ func (in *conditionOpPtr) ToConditionOpPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ConditionOpPtrOutput) } +func (in *conditionOpPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionOp] { + return pulumix.Output[*ConditionOp]{ + OutputState: in.ToConditionOpPtrOutputWithContext(ctx).OutputState, + } +} + // Trusted attributes supplied by any service that owns resources and uses the IAM system for access control. type ConditionSys string @@ -953,6 +1044,12 @@ func (o ConditionSysOutput) ToConditionSysPtrOutputWithContext(ctx context.Conte }).(ConditionSysPtrOutput) } +func (o ConditionSysOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionSys] { + return pulumix.Output[ConditionSys]{ + OutputState: o.OutputState, + } +} + func (o ConditionSysOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -988,6 +1085,12 @@ func (o ConditionSysPtrOutput) ToConditionSysPtrOutputWithContext(ctx context.Co return o } +func (o ConditionSysPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConditionSys] { + return pulumix.Output[*ConditionSys]{ + OutputState: o.OutputState, + } +} + func (o ConditionSysPtrOutput) Elem() ConditionSysOutput { return o.ApplyT(func(v *ConditionSys) ConditionSys { if v != nil { @@ -1050,6 +1153,12 @@ func (in *conditionSysPtr) ToConditionSysPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ConditionSysPtrOutput) } +func (in *conditionSysPtr) ToOutput(ctx context.Context) pulumix.Output[*ConditionSys] { + return pulumix.Output[*ConditionSys]{ + OutputState: in.ToConditionSysPtrOutputWithContext(ctx).OutputState, + } +} + type DataAccessOptionsLogMode string const ( @@ -1119,6 +1228,12 @@ func (o DataAccessOptionsLogModeOutput) ToDataAccessOptionsLogModePtrOutputWithC }).(DataAccessOptionsLogModePtrOutput) } +func (o DataAccessOptionsLogModeOutput) ToOutput(ctx context.Context) pulumix.Output[DataAccessOptionsLogMode] { + return pulumix.Output[DataAccessOptionsLogMode]{ + OutputState: o.OutputState, + } +} + func (o DataAccessOptionsLogModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1154,6 +1269,12 @@ func (o DataAccessOptionsLogModePtrOutput) ToDataAccessOptionsLogModePtrOutputWi return o } +func (o DataAccessOptionsLogModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataAccessOptionsLogMode] { + return pulumix.Output[*DataAccessOptionsLogMode]{ + OutputState: o.OutputState, + } +} + func (o DataAccessOptionsLogModePtrOutput) Elem() DataAccessOptionsLogModeOutput { return o.ApplyT(func(v *DataAccessOptionsLogMode) DataAccessOptionsLogMode { if v != nil { @@ -1216,6 +1337,12 @@ func (in *dataAccessOptionsLogModePtr) ToDataAccessOptionsLogModePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DataAccessOptionsLogModePtrOutput) } +func (in *dataAccessOptionsLogModePtr) ToOutput(ctx context.Context) pulumix.Output[*DataAccessOptionsLogMode] { + return pulumix.Output[*DataAccessOptionsLogMode]{ + OutputState: in.ToDataAccessOptionsLogModePtrOutputWithContext(ctx).OutputState, + } +} + // Required type RuleAction string @@ -1294,6 +1421,12 @@ func (o RuleActionOutput) ToRuleActionPtrOutputWithContext(ctx context.Context) }).(RuleActionPtrOutput) } +func (o RuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[RuleAction] { + return pulumix.Output[RuleAction]{ + OutputState: o.OutputState, + } +} + func (o RuleActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1329,6 +1462,12 @@ func (o RuleActionPtrOutput) ToRuleActionPtrOutputWithContext(ctx context.Contex return o } +func (o RuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuleAction] { + return pulumix.Output[*RuleAction]{ + OutputState: o.OutputState, + } +} + func (o RuleActionPtrOutput) Elem() RuleActionOutput { return o.ApplyT(func(v *RuleAction) RuleAction { if v != nil { @@ -1391,6 +1530,12 @@ func (in *ruleActionPtr) ToRuleActionPtrOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, in).(RuleActionPtrOutput) } +func (in *ruleActionPtr) ToOutput(ctx context.Context) pulumix.Output[*RuleAction] { + return pulumix.Output[*RuleAction]{ + OutputState: in.ToRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/gameservices/v1beta/pulumiTypes.go b/sdk/go/google/gameservices/v1beta/pulumiTypes.go index 8ec8d66230..17afa121fe 100644 --- a/sdk/go/google/gameservices/v1beta/pulumiTypes.go +++ b/sdk/go/google/gameservices/v1beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -216,6 +253,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -241,6 +284,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -256,6 +305,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -284,6 +339,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -314,6 +375,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -342,6 +409,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -383,6 +456,12 @@ func (i AuthorizationLoggingOptionsArgs) ToAuthorizationLoggingOptionsOutputWith return pulumi.ToOutputWithContext(ctx, i).(AuthorizationLoggingOptionsOutput) } +func (i AuthorizationLoggingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptions] { + return pulumix.Output[AuthorizationLoggingOptions]{ + OutputState: i.ToAuthorizationLoggingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i AuthorizationLoggingOptionsArgs) ToAuthorizationLoggingOptionsPtrOutput() AuthorizationLoggingOptionsPtrOutput { return i.ToAuthorizationLoggingOptionsPtrOutputWithContext(context.Background()) } @@ -424,6 +503,12 @@ func (i *authorizationLoggingOptionsPtrType) ToAuthorizationLoggingOptionsPtrOut return pulumi.ToOutputWithContext(ctx, i).(AuthorizationLoggingOptionsPtrOutput) } +func (i *authorizationLoggingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptions] { + return pulumix.Output[*AuthorizationLoggingOptions]{ + OutputState: i.ToAuthorizationLoggingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Authorization-related information used by Cloud Audit Logging. type AuthorizationLoggingOptionsOutput struct{ *pulumi.OutputState } @@ -449,6 +534,12 @@ func (o AuthorizationLoggingOptionsOutput) ToAuthorizationLoggingOptionsPtrOutpu }).(AuthorizationLoggingOptionsPtrOutput) } +func (o AuthorizationLoggingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptions] { + return pulumix.Output[AuthorizationLoggingOptions]{ + OutputState: o.OutputState, + } +} + // The type of the permission that was checked. func (o AuthorizationLoggingOptionsOutput) PermissionType() AuthorizationLoggingOptionsPermissionTypePtrOutput { return o.ApplyT(func(v AuthorizationLoggingOptions) *AuthorizationLoggingOptionsPermissionType { @@ -470,6 +561,12 @@ func (o AuthorizationLoggingOptionsPtrOutput) ToAuthorizationLoggingOptionsPtrOu return o } +func (o AuthorizationLoggingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationLoggingOptions] { + return pulumix.Output[*AuthorizationLoggingOptions]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationLoggingOptionsPtrOutput) Elem() AuthorizationLoggingOptionsOutput { return o.ApplyT(func(v *AuthorizationLoggingOptions) AuthorizationLoggingOptions { if v != nil { @@ -511,6 +608,12 @@ func (o AuthorizationLoggingOptionsResponseOutput) ToAuthorizationLoggingOptions return o } +func (o AuthorizationLoggingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationLoggingOptionsResponse] { + return pulumix.Output[AuthorizationLoggingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The type of the permission that was checked. func (o AuthorizationLoggingOptionsResponseOutput) PermissionType() pulumi.StringOutput { return o.ApplyT(func(v AuthorizationLoggingOptionsResponse) string { return v.PermissionType }).(pulumi.StringOutput) @@ -561,6 +664,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -586,6 +695,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -601,6 +716,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingOutput) BindingId() pulumi.StringPtrOutput { return o.ApplyT(func(v Binding) *string { return v.BindingId }).(pulumi.StringPtrOutput) } @@ -634,6 +755,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -666,6 +793,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseOutput) BindingId() pulumi.StringOutput { return o.ApplyT(func(v BindingResponse) string { return v.BindingId }).(pulumi.StringOutput) } @@ -699,6 +832,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -744,6 +883,12 @@ func (i CloudAuditOptionsArgs) ToCloudAuditOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CloudAuditOptionsOutput) } +func (i CloudAuditOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[CloudAuditOptions] { + return pulumix.Output[CloudAuditOptions]{ + OutputState: i.ToCloudAuditOptionsOutputWithContext(ctx).OutputState, + } +} + func (i CloudAuditOptionsArgs) ToCloudAuditOptionsPtrOutput() CloudAuditOptionsPtrOutput { return i.ToCloudAuditOptionsPtrOutputWithContext(context.Background()) } @@ -785,6 +930,12 @@ func (i *cloudAuditOptionsPtrType) ToCloudAuditOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CloudAuditOptionsPtrOutput) } +func (i *cloudAuditOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudAuditOptions] { + return pulumix.Output[*CloudAuditOptions]{ + OutputState: i.ToCloudAuditOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Write a Cloud Audit log type CloudAuditOptionsOutput struct{ *pulumi.OutputState } @@ -810,6 +961,12 @@ func (o CloudAuditOptionsOutput) ToCloudAuditOptionsPtrOutputWithContext(ctx con }).(CloudAuditOptionsPtrOutput) } +func (o CloudAuditOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[CloudAuditOptions] { + return pulumix.Output[CloudAuditOptions]{ + OutputState: o.OutputState, + } +} + // Information used by the Cloud Audit Logging pipeline. func (o CloudAuditOptionsOutput) AuthorizationLoggingOptions() AuthorizationLoggingOptionsPtrOutput { return o.ApplyT(func(v CloudAuditOptions) *AuthorizationLoggingOptions { return v.AuthorizationLoggingOptions }).(AuthorizationLoggingOptionsPtrOutput) @@ -834,6 +991,12 @@ func (o CloudAuditOptionsPtrOutput) ToCloudAuditOptionsPtrOutputWithContext(ctx return o } +func (o CloudAuditOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudAuditOptions] { + return pulumix.Output[*CloudAuditOptions]{ + OutputState: o.OutputState, + } +} + func (o CloudAuditOptionsPtrOutput) Elem() CloudAuditOptionsOutput { return o.ApplyT(func(v *CloudAuditOptions) CloudAuditOptions { if v != nil { @@ -887,6 +1050,12 @@ func (o CloudAuditOptionsResponseOutput) ToCloudAuditOptionsResponseOutputWithCo return o } +func (o CloudAuditOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudAuditOptionsResponse] { + return pulumix.Output[CloudAuditOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Information used by the Cloud Audit Logging pipeline. func (o CloudAuditOptionsResponseOutput) AuthorizationLoggingOptions() AuthorizationLoggingOptionsResponseOutput { return o.ApplyT(func(v CloudAuditOptionsResponse) AuthorizationLoggingOptionsResponse { @@ -950,6 +1119,12 @@ func (i ConditionArgs) ToConditionOutputWithContext(ctx context.Context) Conditi return pulumi.ToOutputWithContext(ctx, i).(ConditionOutput) } +func (i ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: i.ToConditionOutputWithContext(ctx).OutputState, + } +} + // ConditionArrayInput is an input type that accepts ConditionArray and ConditionArrayOutput values. // You can construct a concrete instance of `ConditionArrayInput` via: // @@ -975,6 +1150,12 @@ func (i ConditionArray) ToConditionArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ConditionArrayOutput) } +func (i ConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: i.ToConditionArrayOutputWithContext(ctx).OutputState, + } +} + // A condition to be met. type ConditionOutput struct{ *pulumi.OutputState } @@ -990,6 +1171,12 @@ func (o ConditionOutput) ToConditionOutputWithContext(ctx context.Context) Condi return o } +func (o ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: o.OutputState, + } +} + // Trusted attributes supplied by the IAM system. func (o ConditionOutput) Iam() ConditionIamPtrOutput { return o.ApplyT(func(v Condition) *ConditionIam { return v.Iam }).(ConditionIamPtrOutput) @@ -1029,6 +1216,12 @@ func (o ConditionArrayOutput) ToConditionArrayOutputWithContext(ctx context.Cont return o } +func (o ConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: o.OutputState, + } +} + func (o ConditionArrayOutput) Index(i pulumi.IntInput) ConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Condition { return vs[0].([]Condition)[vs[1].(int)] @@ -1064,6 +1257,12 @@ func (o ConditionResponseOutput) ToConditionResponseOutputWithContext(ctx contex return o } +func (o ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionResponse] { + return pulumix.Output[ConditionResponse]{ + OutputState: o.OutputState, + } +} + // Trusted attributes supplied by the IAM system. func (o ConditionResponseOutput) Iam() pulumi.StringOutput { return o.ApplyT(func(v ConditionResponse) string { return v.Iam }).(pulumi.StringOutput) @@ -1103,6 +1302,12 @@ func (o ConditionResponseArrayOutput) ToConditionResponseArrayOutputWithContext( return o } +func (o ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConditionResponse] { + return pulumix.Output[[]ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o ConditionResponseArrayOutput) Index(i pulumi.IntInput) ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConditionResponse { return vs[0].([]ConditionResponse)[vs[1].(int)] @@ -1152,6 +1357,12 @@ func (i CounterOptionsArgs) ToCounterOptionsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CounterOptionsOutput) } +func (i CounterOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[CounterOptions] { + return pulumix.Output[CounterOptions]{ + OutputState: i.ToCounterOptionsOutputWithContext(ctx).OutputState, + } +} + func (i CounterOptionsArgs) ToCounterOptionsPtrOutput() CounterOptionsPtrOutput { return i.ToCounterOptionsPtrOutputWithContext(context.Background()) } @@ -1193,6 +1404,12 @@ func (i *counterOptionsPtrType) ToCounterOptionsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CounterOptionsPtrOutput) } +func (i *counterOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CounterOptions] { + return pulumix.Output[*CounterOptions]{ + OutputState: i.ToCounterOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Increment a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in "_count". Field names should not contain an initial slash. The actual exported metric names will have "/iam/policy" prepended. Field names correspond to IAM request parameters and field values are their respective values. Supported field names: - "authority", which is "[token]" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - "iam_principal", a representation of IAMContext.principal even if a token or authority selector is present; or - "" (empty string), resulting in a counter with no fields. Examples: counter { metric: "/debug_access_count" field: "iam_principal" } ==> increment counter /iam/policy/debug_access_count {iam_principal=[value of IAMContext.principal]} type CounterOptionsOutput struct{ *pulumi.OutputState } @@ -1218,6 +1435,12 @@ func (o CounterOptionsOutput) ToCounterOptionsPtrOutputWithContext(ctx context.C }).(CounterOptionsPtrOutput) } +func (o CounterOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[CounterOptions] { + return pulumix.Output[CounterOptions]{ + OutputState: o.OutputState, + } +} + // Custom fields. func (o CounterOptionsOutput) CustomFields() CustomFieldArrayOutput { return o.ApplyT(func(v CounterOptions) []CustomField { return v.CustomFields }).(CustomFieldArrayOutput) @@ -1247,6 +1470,12 @@ func (o CounterOptionsPtrOutput) ToCounterOptionsPtrOutputWithContext(ctx contex return o } +func (o CounterOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CounterOptions] { + return pulumix.Output[*CounterOptions]{ + OutputState: o.OutputState, + } +} + func (o CounterOptionsPtrOutput) Elem() CounterOptionsOutput { return o.ApplyT(func(v *CounterOptions) CounterOptions { if v != nil { @@ -1312,6 +1541,12 @@ func (o CounterOptionsResponseOutput) ToCounterOptionsResponseOutputWithContext( return o } +func (o CounterOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CounterOptionsResponse] { + return pulumix.Output[CounterOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Custom fields. func (o CounterOptionsResponseOutput) CustomFields() CustomFieldResponseArrayOutput { return o.ApplyT(func(v CounterOptionsResponse) []CustomFieldResponse { return v.CustomFields }).(CustomFieldResponseArrayOutput) @@ -1366,6 +1601,12 @@ func (i CustomFieldArgs) ToCustomFieldOutputWithContext(ctx context.Context) Cus return pulumi.ToOutputWithContext(ctx, i).(CustomFieldOutput) } +func (i CustomFieldArgs) ToOutput(ctx context.Context) pulumix.Output[CustomField] { + return pulumix.Output[CustomField]{ + OutputState: i.ToCustomFieldOutputWithContext(ctx).OutputState, + } +} + // CustomFieldArrayInput is an input type that accepts CustomFieldArray and CustomFieldArrayOutput values. // You can construct a concrete instance of `CustomFieldArrayInput` via: // @@ -1391,6 +1632,12 @@ func (i CustomFieldArray) ToCustomFieldArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CustomFieldArrayOutput) } +func (i CustomFieldArray) ToOutput(ctx context.Context) pulumix.Output[[]CustomField] { + return pulumix.Output[[]CustomField]{ + OutputState: i.ToCustomFieldArrayOutputWithContext(ctx).OutputState, + } +} + // Custom fields. These can be used to create a counter with arbitrary field/value pairs. See: go/rpcsp-custom-fields. type CustomFieldOutput struct{ *pulumi.OutputState } @@ -1406,6 +1653,12 @@ func (o CustomFieldOutput) ToCustomFieldOutputWithContext(ctx context.Context) C return o } +func (o CustomFieldOutput) ToOutput(ctx context.Context) pulumix.Output[CustomField] { + return pulumix.Output[CustomField]{ + OutputState: o.OutputState, + } +} + // Name is the field name. func (o CustomFieldOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v CustomField) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -1430,6 +1683,12 @@ func (o CustomFieldArrayOutput) ToCustomFieldArrayOutputWithContext(ctx context. return o } +func (o CustomFieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomField] { + return pulumix.Output[[]CustomField]{ + OutputState: o.OutputState, + } +} + func (o CustomFieldArrayOutput) Index(i pulumi.IntInput) CustomFieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomField { return vs[0].([]CustomField)[vs[1].(int)] @@ -1459,6 +1718,12 @@ func (o CustomFieldResponseOutput) ToCustomFieldResponseOutputWithContext(ctx co return o } +func (o CustomFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomFieldResponse] { + return pulumix.Output[CustomFieldResponse]{ + OutputState: o.OutputState, + } +} + // Name is the field name. func (o CustomFieldResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v CustomFieldResponse) string { return v.Name }).(pulumi.StringOutput) @@ -1483,6 +1748,12 @@ func (o CustomFieldResponseArrayOutput) ToCustomFieldResponseArrayOutputWithCont return o } +func (o CustomFieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomFieldResponse] { + return pulumix.Output[[]CustomFieldResponse]{ + OutputState: o.OutputState, + } +} + func (o CustomFieldResponseArrayOutput) Index(i pulumi.IntInput) CustomFieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomFieldResponse { return vs[0].([]CustomFieldResponse)[vs[1].(int)] @@ -1522,6 +1793,12 @@ func (i DataAccessOptionsArgs) ToDataAccessOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DataAccessOptionsOutput) } +func (i DataAccessOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[DataAccessOptions] { + return pulumix.Output[DataAccessOptions]{ + OutputState: i.ToDataAccessOptionsOutputWithContext(ctx).OutputState, + } +} + func (i DataAccessOptionsArgs) ToDataAccessOptionsPtrOutput() DataAccessOptionsPtrOutput { return i.ToDataAccessOptionsPtrOutputWithContext(context.Background()) } @@ -1563,6 +1840,12 @@ func (i *dataAccessOptionsPtrType) ToDataAccessOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DataAccessOptionsPtrOutput) } +func (i *dataAccessOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DataAccessOptions] { + return pulumix.Output[*DataAccessOptions]{ + OutputState: i.ToDataAccessOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Write a Data Access (Gin) log type DataAccessOptionsOutput struct{ *pulumi.OutputState } @@ -1588,6 +1871,12 @@ func (o DataAccessOptionsOutput) ToDataAccessOptionsPtrOutputWithContext(ctx con }).(DataAccessOptionsPtrOutput) } +func (o DataAccessOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[DataAccessOptions] { + return pulumix.Output[DataAccessOptions]{ + OutputState: o.OutputState, + } +} + func (o DataAccessOptionsOutput) LogMode() DataAccessOptionsLogModePtrOutput { return o.ApplyT(func(v DataAccessOptions) *DataAccessOptionsLogMode { return v.LogMode }).(DataAccessOptionsLogModePtrOutput) } @@ -1606,6 +1895,12 @@ func (o DataAccessOptionsPtrOutput) ToDataAccessOptionsPtrOutputWithContext(ctx return o } +func (o DataAccessOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataAccessOptions] { + return pulumix.Output[*DataAccessOptions]{ + OutputState: o.OutputState, + } +} + func (o DataAccessOptionsPtrOutput) Elem() DataAccessOptionsOutput { return o.ApplyT(func(v *DataAccessOptions) DataAccessOptions { if v != nil { @@ -1645,6 +1940,12 @@ func (o DataAccessOptionsResponseOutput) ToDataAccessOptionsResponseOutputWithCo return o } +func (o DataAccessOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataAccessOptionsResponse] { + return pulumix.Output[DataAccessOptionsResponse]{ + OutputState: o.OutputState, + } +} + func (o DataAccessOptionsResponseOutput) LogMode() pulumi.StringOutput { return o.ApplyT(func(v DataAccessOptionsResponse) string { return v.LogMode }).(pulumi.StringOutput) } @@ -1696,6 +1997,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1737,6 +2044,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1762,6 +2075,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1796,6 +2115,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1873,6 +2198,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1936,6 +2267,12 @@ func (i LogConfigArgs) ToLogConfigOutputWithContext(ctx context.Context) LogConf return pulumi.ToOutputWithContext(ctx, i).(LogConfigOutput) } +func (i LogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LogConfig] { + return pulumix.Output[LogConfig]{ + OutputState: i.ToLogConfigOutputWithContext(ctx).OutputState, + } +} + // LogConfigArrayInput is an input type that accepts LogConfigArray and LogConfigArrayOutput values. // You can construct a concrete instance of `LogConfigArrayInput` via: // @@ -1961,6 +2298,12 @@ func (i LogConfigArray) ToLogConfigArrayOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LogConfigArrayOutput) } +func (i LogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]LogConfig] { + return pulumix.Output[[]LogConfig]{ + OutputState: i.ToLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies what kind of log the caller must write type LogConfigOutput struct{ *pulumi.OutputState } @@ -1976,6 +2319,12 @@ func (o LogConfigOutput) ToLogConfigOutputWithContext(ctx context.Context) LogCo return o } +func (o LogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfig] { + return pulumix.Output[LogConfig]{ + OutputState: o.OutputState, + } +} + // Cloud audit options. func (o LogConfigOutput) CloudAudit() CloudAuditOptionsPtrOutput { return o.ApplyT(func(v LogConfig) *CloudAuditOptions { return v.CloudAudit }).(CloudAuditOptionsPtrOutput) @@ -2005,6 +2354,12 @@ func (o LogConfigArrayOutput) ToLogConfigArrayOutputWithContext(ctx context.Cont return o } +func (o LogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfig] { + return pulumix.Output[[]LogConfig]{ + OutputState: o.OutputState, + } +} + func (o LogConfigArrayOutput) Index(i pulumi.IntInput) LogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfig { return vs[0].([]LogConfig)[vs[1].(int)] @@ -2036,6 +2391,12 @@ func (o LogConfigResponseOutput) ToLogConfigResponseOutputWithContext(ctx contex return o } +func (o LogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogConfigResponse] { + return pulumix.Output[LogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Cloud audit options. func (o LogConfigResponseOutput) CloudAudit() CloudAuditOptionsResponseOutput { return o.ApplyT(func(v LogConfigResponse) CloudAuditOptionsResponse { return v.CloudAudit }).(CloudAuditOptionsResponseOutput) @@ -2065,6 +2426,12 @@ func (o LogConfigResponseArrayOutput) ToLogConfigResponseArrayOutputWithContext( return o } +func (o LogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogConfigResponse] { + return pulumix.Output[[]LogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o LogConfigResponseArrayOutput) Index(i pulumi.IntInput) LogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogConfigResponse { return vs[0].([]LogConfigResponse)[vs[1].(int)] @@ -2130,6 +2497,12 @@ func (i RuleArgs) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return pulumi.ToOutputWithContext(ctx, i).(RuleOutput) } +func (i RuleArgs) ToOutput(ctx context.Context) pulumix.Output[Rule] { + return pulumix.Output[Rule]{ + OutputState: i.ToRuleOutputWithContext(ctx).OutputState, + } +} + // RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. // You can construct a concrete instance of `RuleArrayInput` via: // @@ -2155,6 +2528,12 @@ func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOu return pulumi.ToOutputWithContext(ctx, i).(RuleArrayOutput) } +func (i RuleArray) ToOutput(ctx context.Context) pulumix.Output[[]Rule] { + return pulumix.Output[[]Rule]{ + OutputState: i.ToRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A rule to be applied in a Policy. type RuleOutput struct{ *pulumi.OutputState } @@ -2170,6 +2549,12 @@ func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return o } +func (o RuleOutput) ToOutput(ctx context.Context) pulumix.Output[Rule] { + return pulumix.Output[Rule]{ + OutputState: o.OutputState, + } +} + // Required func (o RuleOutput) Action() RuleActionPtrOutput { return o.ApplyT(func(v Rule) *RuleAction { return v.Action }).(RuleActionPtrOutput) @@ -2219,6 +2604,12 @@ func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleA return o } +func (o RuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Rule] { + return pulumix.Output[[]Rule]{ + OutputState: o.OutputState, + } +} + func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Rule { return vs[0].([]Rule)[vs[1].(int)] @@ -2258,6 +2649,12 @@ func (o RuleResponseOutput) ToRuleResponseOutputWithContext(ctx context.Context) return o } +func (o RuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuleResponse] { + return pulumix.Output[RuleResponse]{ + OutputState: o.OutputState, + } +} + // Required func (o RuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v RuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -2307,6 +2704,12 @@ func (o RuleResponseArrayOutput) ToRuleResponseArrayOutputWithContext(ctx contex return o } +func (o RuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleResponse] { + return pulumix.Output[[]RuleResponse]{ + OutputState: o.OutputState, + } +} + func (o RuleResponseArrayOutput) Index(i pulumi.IntInput) RuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RuleResponse { return vs[0].([]RuleResponse)[vs[1].(int)] diff --git a/sdk/go/google/genomics/v1alpha2/getPipeline.go b/sdk/go/google/genomics/v1alpha2/getPipeline.go index 46f7fb645a..f81ca1bae5 100644 --- a/sdk/go/google/genomics/v1alpha2/getPipeline.go +++ b/sdk/go/google/genomics/v1alpha2/getPipeline.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a pipeline based on ID. Caller must have READ permission to the project. @@ -80,6 +81,12 @@ func (o LookupPipelineResultOutput) ToLookupPipelineResultOutputWithContext(ctx return o } +func (o LookupPipelineResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPipelineResult] { + return pulumix.Output[LookupPipelineResult]{ + OutputState: o.OutputState, + } +} + // User-specified description. func (o LookupPipelineResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupPipelineResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/genomics/v1alpha2/pipeline.go b/sdk/go/google/genomics/v1alpha2/pipeline.go index 30ce4fe790..8b1b69780b 100644 --- a/sdk/go/google/genomics/v1alpha2/pipeline.go +++ b/sdk/go/google/genomics/v1alpha2/pipeline.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a pipeline that can be run later. Create takes a Pipeline that has all fields other than `pipelineId` populated, and then returns the same pipeline with `pipelineId` populated. This id can be used to run the pipeline. Caller must have WRITE permission to the project. @@ -138,6 +139,12 @@ func (i *Pipeline) ToPipelineOutputWithContext(ctx context.Context) PipelineOutp return pulumi.ToOutputWithContext(ctx, i).(PipelineOutput) } +func (i *Pipeline) ToOutput(ctx context.Context) pulumix.Output[*Pipeline] { + return pulumix.Output[*Pipeline]{ + OutputState: i.ToPipelineOutputWithContext(ctx).OutputState, + } +} + type PipelineOutput struct{ *pulumi.OutputState } func (PipelineOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o PipelineOutput) ToPipelineOutputWithContext(ctx context.Context) Pipelin return o } +func (o PipelineOutput) ToOutput(ctx context.Context) pulumix.Output[*Pipeline] { + return pulumix.Output[*Pipeline]{ + OutputState: o.OutputState, + } +} + // User-specified description. func (o PipelineOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *Pipeline) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/genomics/v1alpha2/pulumiEnums.go b/sdk/go/google/genomics/v1alpha2/pulumiEnums.go index 2b039931bb..538c384614 100644 --- a/sdk/go/google/genomics/v1alpha2/pulumiEnums.go +++ b/sdk/go/google/genomics/v1alpha2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The type of the disk to create. @@ -84,6 +85,12 @@ func (o DiskTypeOutput) ToDiskTypePtrOutputWithContext(ctx context.Context) Disk }).(DiskTypePtrOutput) } +func (o DiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DiskType] { + return pulumix.Output[DiskType]{ + OutputState: o.OutputState, + } +} + func (o DiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o DiskTypePtrOutput) ToDiskTypePtrOutputWithContext(ctx context.Context) D return o } +func (o DiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskType] { + return pulumix.Output[*DiskType]{ + OutputState: o.OutputState, + } +} + func (o DiskTypePtrOutput) Elem() DiskTypeOutput { return o.ApplyT(func(v *DiskType) DiskType { if v != nil { @@ -181,6 +194,12 @@ func (in *diskTypePtr) ToDiskTypePtrOutputWithContext(ctx context.Context) DiskT return pulumi.ToOutputWithContext(ctx, in).(DiskTypePtrOutput) } +func (in *diskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DiskType] { + return pulumix.Output[*DiskType]{ + OutputState: in.ToDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*DiskTypeInput)(nil)).Elem(), DiskType("TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*DiskTypePtrInput)(nil)).Elem(), DiskType("TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/genomics/v1alpha2/pulumiTypes.go b/sdk/go/google/genomics/v1alpha2/pulumiTypes.go index 23dc1d3328..6360c03315 100644 --- a/sdk/go/google/genomics/v1alpha2/pulumiTypes.go +++ b/sdk/go/google/genomics/v1alpha2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -76,6 +77,12 @@ func (i DiskArgs) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return pulumi.ToOutputWithContext(ctx, i).(DiskOutput) } +func (i DiskArgs) ToOutput(ctx context.Context) pulumix.Output[Disk] { + return pulumix.Output[Disk]{ + OutputState: i.ToDiskOutputWithContext(ctx).OutputState, + } +} + // DiskArrayInput is an input type that accepts DiskArray and DiskArrayOutput values. // You can construct a concrete instance of `DiskArrayInput` via: // @@ -101,6 +108,12 @@ func (i DiskArray) ToDiskArrayOutputWithContext(ctx context.Context) DiskArrayOu return pulumi.ToOutputWithContext(ctx, i).(DiskArrayOutput) } +func (i DiskArray) ToOutput(ctx context.Context) pulumix.Output[[]Disk] { + return pulumix.Output[[]Disk]{ + OutputState: i.ToDiskArrayOutputWithContext(ctx).OutputState, + } +} + // A Google Compute Engine disk resource specification. type DiskOutput struct{ *pulumi.OutputState } @@ -116,6 +129,12 @@ func (o DiskOutput) ToDiskOutputWithContext(ctx context.Context) DiskOutput { return o } +func (o DiskOutput) ToOutput(ctx context.Context) pulumix.Output[Disk] { + return pulumix.Output[Disk]{ + OutputState: o.OutputState, + } +} + // Deprecated. Disks created by the Pipelines API will be deleted at the end of the pipeline run, regardless of what this field is set to. // // Deprecated: Deprecated. Disks created by the Pipelines API will be deleted at the end of the pipeline run, regardless of what this field is set to. @@ -167,6 +186,12 @@ func (o DiskArrayOutput) ToDiskArrayOutputWithContext(ctx context.Context) DiskA return o } +func (o DiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Disk] { + return pulumix.Output[[]Disk]{ + OutputState: o.OutputState, + } +} + func (o DiskArrayOutput) Index(i pulumi.IntInput) DiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Disk { return vs[0].([]Disk)[vs[1].(int)] @@ -208,6 +233,12 @@ func (o DiskResponseOutput) ToDiskResponseOutputWithContext(ctx context.Context) return o } +func (o DiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskResponse] { + return pulumix.Output[DiskResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated. Disks created by the Pipelines API will be deleted at the end of the pipeline run, regardless of what this field is set to. // // Deprecated: Deprecated. Disks created by the Pipelines API will be deleted at the end of the pipeline run, regardless of what this field is set to. @@ -259,6 +290,12 @@ func (o DiskResponseArrayOutput) ToDiskResponseArrayOutputWithContext(ctx contex return o } +func (o DiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiskResponse] { + return pulumix.Output[[]DiskResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskResponseArrayOutput) Index(i pulumi.IntInput) DiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiskResponse { return vs[0].([]DiskResponse)[vs[1].(int)] @@ -304,6 +341,12 @@ func (i DockerExecutorArgs) ToDockerExecutorOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DockerExecutorOutput) } +func (i DockerExecutorArgs) ToOutput(ctx context.Context) pulumix.Output[DockerExecutor] { + return pulumix.Output[DockerExecutor]{ + OutputState: i.ToDockerExecutorOutputWithContext(ctx).OutputState, + } +} + func (i DockerExecutorArgs) ToDockerExecutorPtrOutput() DockerExecutorPtrOutput { return i.ToDockerExecutorPtrOutputWithContext(context.Background()) } @@ -345,6 +388,12 @@ func (i *dockerExecutorPtrType) ToDockerExecutorPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DockerExecutorPtrOutput) } +func (i *dockerExecutorPtrType) ToOutput(ctx context.Context) pulumix.Output[*DockerExecutor] { + return pulumix.Output[*DockerExecutor]{ + OutputState: i.ToDockerExecutorPtrOutputWithContext(ctx).OutputState, + } +} + // The Docker execuctor specification. type DockerExecutorOutput struct{ *pulumi.OutputState } @@ -370,6 +419,12 @@ func (o DockerExecutorOutput) ToDockerExecutorPtrOutputWithContext(ctx context.C }).(DockerExecutorPtrOutput) } +func (o DockerExecutorOutput) ToOutput(ctx context.Context) pulumix.Output[DockerExecutor] { + return pulumix.Output[DockerExecutor]{ + OutputState: o.OutputState, + } +} + // The command or newline delimited script to run. The command string will be executed within a bash shell. If the command exits with a non-zero exit code, output parameter de-localization will be skipped and the pipeline operation's `error` field will be populated. Maximum command string length is 16384. func (o DockerExecutorOutput) Cmd() pulumi.StringOutput { return o.ApplyT(func(v DockerExecutor) string { return v.Cmd }).(pulumi.StringOutput) @@ -394,6 +449,12 @@ func (o DockerExecutorPtrOutput) ToDockerExecutorPtrOutputWithContext(ctx contex return o } +func (o DockerExecutorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DockerExecutor] { + return pulumix.Output[*DockerExecutor]{ + OutputState: o.OutputState, + } +} + func (o DockerExecutorPtrOutput) Elem() DockerExecutorOutput { return o.ApplyT(func(v *DockerExecutor) DockerExecutor { if v != nil { @@ -447,6 +508,12 @@ func (o DockerExecutorResponseOutput) ToDockerExecutorResponseOutputWithContext( return o } +func (o DockerExecutorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DockerExecutorResponse] { + return pulumix.Output[DockerExecutorResponse]{ + OutputState: o.OutputState, + } +} + // The command or newline delimited script to run. The command string will be executed within a bash shell. If the command exits with a non-zero exit code, output parameter de-localization will be skipped and the pipeline operation's `error` field will be populated. Maximum command string length is 16384. func (o DockerExecutorResponseOutput) Cmd() pulumi.StringOutput { return o.ApplyT(func(v DockerExecutorResponse) string { return v.Cmd }).(pulumi.StringOutput) @@ -496,6 +563,12 @@ func (i LocalCopyArgs) ToLocalCopyOutputWithContext(ctx context.Context) LocalCo return pulumi.ToOutputWithContext(ctx, i).(LocalCopyOutput) } +func (i LocalCopyArgs) ToOutput(ctx context.Context) pulumix.Output[LocalCopy] { + return pulumix.Output[LocalCopy]{ + OutputState: i.ToLocalCopyOutputWithContext(ctx).OutputState, + } +} + func (i LocalCopyArgs) ToLocalCopyPtrOutput() LocalCopyPtrOutput { return i.ToLocalCopyPtrOutputWithContext(context.Background()) } @@ -537,6 +610,12 @@ func (i *localCopyPtrType) ToLocalCopyPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LocalCopyPtrOutput) } +func (i *localCopyPtrType) ToOutput(ctx context.Context) pulumix.Output[*LocalCopy] { + return pulumix.Output[*LocalCopy]{ + OutputState: i.ToLocalCopyPtrOutputWithContext(ctx).OutputState, + } +} + // LocalCopy defines how a remote file should be copied to and from the VM. type LocalCopyOutput struct{ *pulumi.OutputState } @@ -562,6 +641,12 @@ func (o LocalCopyOutput) ToLocalCopyPtrOutputWithContext(ctx context.Context) Lo }).(LocalCopyPtrOutput) } +func (o LocalCopyOutput) ToOutput(ctx context.Context) pulumix.Output[LocalCopy] { + return pulumix.Output[LocalCopy]{ + OutputState: o.OutputState, + } +} + // The name of the disk where this parameter is located. Can be the name of one of the disks specified in the Resources field, or "boot", which represents the Docker instance's boot disk and has a mount point of `/`. func (o LocalCopyOutput) Disk() pulumi.StringOutput { return o.ApplyT(func(v LocalCopy) string { return v.Disk }).(pulumi.StringOutput) @@ -586,6 +671,12 @@ func (o LocalCopyPtrOutput) ToLocalCopyPtrOutputWithContext(ctx context.Context) return o } +func (o LocalCopyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocalCopy] { + return pulumix.Output[*LocalCopy]{ + OutputState: o.OutputState, + } +} + func (o LocalCopyPtrOutput) Elem() LocalCopyOutput { return o.ApplyT(func(v *LocalCopy) LocalCopy { if v != nil { @@ -639,6 +730,12 @@ func (o LocalCopyResponseOutput) ToLocalCopyResponseOutputWithContext(ctx contex return o } +func (o LocalCopyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalCopyResponse] { + return pulumix.Output[LocalCopyResponse]{ + OutputState: o.OutputState, + } +} + // The name of the disk where this parameter is located. Can be the name of one of the disks specified in the Resources field, or "boot", which represents the Docker instance's boot disk and has a mount point of `/`. func (o LocalCopyResponseOutput) Disk() pulumi.StringOutput { return o.ApplyT(func(v LocalCopyResponse) string { return v.Disk }).(pulumi.StringOutput) @@ -696,6 +793,12 @@ func (i PipelineParameterArgs) ToPipelineParameterOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PipelineParameterOutput) } +func (i PipelineParameterArgs) ToOutput(ctx context.Context) pulumix.Output[PipelineParameter] { + return pulumix.Output[PipelineParameter]{ + OutputState: i.ToPipelineParameterOutputWithContext(ctx).OutputState, + } +} + // PipelineParameterArrayInput is an input type that accepts PipelineParameterArray and PipelineParameterArrayOutput values. // You can construct a concrete instance of `PipelineParameterArrayInput` via: // @@ -721,6 +824,12 @@ func (i PipelineParameterArray) ToPipelineParameterArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PipelineParameterArrayOutput) } +func (i PipelineParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]PipelineParameter] { + return pulumix.Output[[]PipelineParameter]{ + OutputState: i.ToPipelineParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Parameters facilitate setting and delivering data into the pipeline's execution environment. They are defined at create time, with optional defaults, and can be overridden at run time. If `localCopy` is unset, then the parameter specifies a string that is passed as-is into the pipeline, as the value of the environment variable with the given name. A default value can be optionally specified at create time. The default can be overridden at run time using the inputs map. If no default is given, a value must be supplied at runtime. If `localCopy` is defined, then the parameter specifies a data source or sink, both in Google Cloud Storage and on the Docker container where the pipeline computation is run. The service account associated with the Pipeline (by default the project's Compute Engine service account) must have access to the Google Cloud Storage paths. At run time, the Google Cloud Storage paths can be overridden if a default was provided at create time, or must be set otherwise. The pipeline runner should add a key/value pair to either the inputs or outputs map. The indicated data copies will be carried out before/after pipeline execution, just as if the corresponding arguments were provided to `gsutil cp`. For example: Given the following `PipelineParameter`, specified in the `inputParameters` list: ```{name: "input_file", localCopy: {path: "file.txt", disk: "pd1"}}``` where `disk` is defined in the `PipelineResources` object as: ```{name: "pd1", mountPoint: "/mnt/disk/"}``` We create a disk named `pd1`, mount it on the host VM, and map `/mnt/pd1` to `/mnt/disk` in the docker container. At runtime, an entry for `input_file` would be required in the inputs map, such as: ```inputs["input_file"] = "gs://my-bucket/bar.txt"``` This would generate the following gsutil call: ```gsutil cp gs://my-bucket/bar.txt /mnt/pd1/file.txt``` The file `/mnt/pd1/file.txt` maps to `/mnt/disk/file.txt` in the Docker container. Acceptable paths are: Google Cloud storage pathLocal path file file glob directory For outputs, the direction of the copy is reversed: ```gsutil cp /mnt/disk/file.txt gs://my-bucket/bar.txt``` Acceptable paths are: Local pathGoogle Cloud Storage path file file file directory - directory must already exist glob directory - directory will be created if it doesn't exist One restriction due to docker limitations, is that for outputs that are found on the boot disk, the local path cannot be a glob and must be a file. type PipelineParameterOutput struct{ *pulumi.OutputState } @@ -736,6 +845,12 @@ func (o PipelineParameterOutput) ToPipelineParameterOutputWithContext(ctx contex return o } +func (o PipelineParameterOutput) ToOutput(ctx context.Context) pulumix.Output[PipelineParameter] { + return pulumix.Output[PipelineParameter]{ + OutputState: o.OutputState, + } +} + // The default value for this parameter. Can be overridden at runtime. If `localCopy` is present, then this must be a Google Cloud Storage path beginning with `gs://`. func (o PipelineParameterOutput) DefaultValue() pulumi.StringPtrOutput { return o.ApplyT(func(v PipelineParameter) *string { return v.DefaultValue }).(pulumi.StringPtrOutput) @@ -770,6 +885,12 @@ func (o PipelineParameterArrayOutput) ToPipelineParameterArrayOutputWithContext( return o } +func (o PipelineParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PipelineParameter] { + return pulumix.Output[[]PipelineParameter]{ + OutputState: o.OutputState, + } +} + func (o PipelineParameterArrayOutput) Index(i pulumi.IntInput) PipelineParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineParameter { return vs[0].([]PipelineParameter)[vs[1].(int)] @@ -803,6 +924,12 @@ func (o PipelineParameterResponseOutput) ToPipelineParameterResponseOutputWithCo return o } +func (o PipelineParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PipelineParameterResponse] { + return pulumix.Output[PipelineParameterResponse]{ + OutputState: o.OutputState, + } +} + // The default value for this parameter. Can be overridden at runtime. If `localCopy` is present, then this must be a Google Cloud Storage path beginning with `gs://`. func (o PipelineParameterResponseOutput) DefaultValue() pulumi.StringOutput { return o.ApplyT(func(v PipelineParameterResponse) string { return v.DefaultValue }).(pulumi.StringOutput) @@ -837,6 +964,12 @@ func (o PipelineParameterResponseArrayOutput) ToPipelineParameterResponseArrayOu return o } +func (o PipelineParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PipelineParameterResponse] { + return pulumix.Output[[]PipelineParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o PipelineParameterResponseArrayOutput) Index(i pulumi.IntInput) PipelineParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PipelineParameterResponse { return vs[0].([]PipelineParameterResponse)[vs[1].(int)] @@ -910,6 +1043,12 @@ func (i PipelineResourcesArgs) ToPipelineResourcesOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PipelineResourcesOutput) } +func (i PipelineResourcesArgs) ToOutput(ctx context.Context) pulumix.Output[PipelineResources] { + return pulumix.Output[PipelineResources]{ + OutputState: i.ToPipelineResourcesOutputWithContext(ctx).OutputState, + } +} + // The system resources for the pipeline run. type PipelineResourcesOutput struct{ *pulumi.OutputState } @@ -925,6 +1064,12 @@ func (o PipelineResourcesOutput) ToPipelineResourcesOutputWithContext(ctx contex return o } +func (o PipelineResourcesOutput) ToOutput(ctx context.Context) pulumix.Output[PipelineResources] { + return pulumix.Output[PipelineResources]{ + OutputState: o.OutputState, + } +} + // Optional. The number of accelerators of the specified type to attach. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA® Tesla® drivers and NVIDIA® CUDA toolkit. func (o PipelineResourcesOutput) AcceleratorCount() pulumi.StringPtrOutput { return o.ApplyT(func(v PipelineResources) *string { return v.AcceleratorCount }).(pulumi.StringPtrOutput) @@ -1007,6 +1152,12 @@ func (o PipelineResourcesResponseOutput) ToPipelineResourcesResponseOutputWithCo return o } +func (o PipelineResourcesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PipelineResourcesResponse] { + return pulumix.Output[PipelineResourcesResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The number of accelerators of the specified type to attach. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA® Tesla® drivers and NVIDIA® CUDA toolkit. func (o PipelineResourcesResponseOutput) AcceleratorCount() pulumi.StringOutput { return o.ApplyT(func(v PipelineResourcesResponse) string { return v.AcceleratorCount }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkebackup/v1/backup.go b/sdk/go/google/gkebackup/v1/backup.go index 43d37e1080..33dd11c330 100644 --- a/sdk/go/google/gkebackup/v1/backup.go +++ b/sdk/go/google/gkebackup/v1/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Backup for the given BackupPlan. @@ -182,6 +183,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -196,6 +203,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // If True, all namespaces were included in the Backup. func (o BackupOutput) AllNamespaces() pulumi.BoolOutput { return o.ApplyT(func(v *Backup) pulumi.BoolOutput { return v.AllNamespaces }).(pulumi.BoolOutput) diff --git a/sdk/go/google/gkebackup/v1/backupPlan.go b/sdk/go/google/gkebackup/v1/backupPlan.go index 1a2f16121f..13ee5dc088 100644 --- a/sdk/go/google/gkebackup/v1/backupPlan.go +++ b/sdk/go/google/gkebackup/v1/backupPlan.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new BackupPlan in a given location. @@ -166,6 +167,12 @@ func (i *BackupPlan) ToBackupPlanOutputWithContext(ctx context.Context) BackupPl return pulumi.ToOutputWithContext(ctx, i).(BackupPlanOutput) } +func (i *BackupPlan) ToOutput(ctx context.Context) pulumix.Output[*BackupPlan] { + return pulumix.Output[*BackupPlan]{ + OutputState: i.ToBackupPlanOutputWithContext(ctx).OutputState, + } +} + type BackupPlanOutput struct{ *pulumi.OutputState } func (BackupPlanOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o BackupPlanOutput) ToBackupPlanOutputWithContext(ctx context.Context) Bac return o } +func (o BackupPlanOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlan] { + return pulumix.Output[*BackupPlan]{ + OutputState: o.OutputState, + } +} + // Defines the configuration of Backups created via this BackupPlan. func (o BackupPlanOutput) BackupConfig() BackupConfigResponseOutput { return o.ApplyT(func(v *BackupPlan) BackupConfigResponseOutput { return v.BackupConfig }).(BackupConfigResponseOutput) diff --git a/sdk/go/google/gkebackup/v1/backupPlanBackupIamBinding.go b/sdk/go/google/gkebackup/v1/backupPlanBackupIamBinding.go index df7944c874..1ea86cd3a3 100644 --- a/sdk/go/google/gkebackup/v1/backupPlanBackupIamBinding.go +++ b/sdk/go/google/gkebackup/v1/backupPlanBackupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BackupPlanBackupIamBinding) ToBackupPlanBackupIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(BackupPlanBackupIamBindingOutput) } +func (i *BackupPlanBackupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupIamBinding] { + return pulumix.Output[*BackupPlanBackupIamBinding]{ + OutputState: i.ToBackupPlanBackupIamBindingOutputWithContext(ctx).OutputState, + } +} + type BackupPlanBackupIamBindingOutput struct{ *pulumi.OutputState } func (BackupPlanBackupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackupPlanBackupIamBindingOutput) ToBackupPlanBackupIamBindingOutputWith return o } +func (o BackupPlanBackupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupIamBinding] { + return pulumix.Output[*BackupPlanBackupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackupPlanBackupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackupPlanBackupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/backupPlanBackupIamMember.go b/sdk/go/google/gkebackup/v1/backupPlanBackupIamMember.go index a70d94fd95..93312aa159 100644 --- a/sdk/go/google/gkebackup/v1/backupPlanBackupIamMember.go +++ b/sdk/go/google/gkebackup/v1/backupPlanBackupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BackupPlanBackupIamMember) ToBackupPlanBackupIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(BackupPlanBackupIamMemberOutput) } +func (i *BackupPlanBackupIamMember) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupIamMember] { + return pulumix.Output[*BackupPlanBackupIamMember]{ + OutputState: i.ToBackupPlanBackupIamMemberOutputWithContext(ctx).OutputState, + } +} + type BackupPlanBackupIamMemberOutput struct{ *pulumi.OutputState } func (BackupPlanBackupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackupPlanBackupIamMemberOutput) ToBackupPlanBackupIamMemberOutputWithCo return o } +func (o BackupPlanBackupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupIamMember] { + return pulumix.Output[*BackupPlanBackupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackupPlanBackupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackupPlanBackupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/backupPlanBackupIamPolicy.go b/sdk/go/google/gkebackup/v1/backupPlanBackupIamPolicy.go index e442fbd092..93624f5ab4 100644 --- a/sdk/go/google/gkebackup/v1/backupPlanBackupIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/backupPlanBackupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *BackupPlanBackupIamPolicy) ToBackupPlanBackupIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(BackupPlanBackupIamPolicyOutput) } +func (i *BackupPlanBackupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupIamPolicy] { + return pulumix.Output[*BackupPlanBackupIamPolicy]{ + OutputState: i.ToBackupPlanBackupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BackupPlanBackupIamPolicyOutput struct{ *pulumi.OutputState } func (BackupPlanBackupIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o BackupPlanBackupIamPolicyOutput) ToBackupPlanBackupIamPolicyOutputWithCo return o } +func (o BackupPlanBackupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupIamPolicy] { + return pulumix.Output[*BackupPlanBackupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o BackupPlanBackupIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *BackupPlanBackupIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamBinding.go b/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamBinding.go index 9a2da3ea98..f5b2f41193 100644 --- a/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamBinding.go +++ b/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BackupPlanBackupVolumeBackupIamBinding) ToBackupPlanBackupVolumeBackupI return pulumi.ToOutputWithContext(ctx, i).(BackupPlanBackupVolumeBackupIamBindingOutput) } +func (i *BackupPlanBackupVolumeBackupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupVolumeBackupIamBinding] { + return pulumix.Output[*BackupPlanBackupVolumeBackupIamBinding]{ + OutputState: i.ToBackupPlanBackupVolumeBackupIamBindingOutputWithContext(ctx).OutputState, + } +} + type BackupPlanBackupVolumeBackupIamBindingOutput struct{ *pulumi.OutputState } func (BackupPlanBackupVolumeBackupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackupPlanBackupVolumeBackupIamBindingOutput) ToBackupPlanBackupVolumeBa return o } +func (o BackupPlanBackupVolumeBackupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupVolumeBackupIamBinding] { + return pulumix.Output[*BackupPlanBackupVolumeBackupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackupPlanBackupVolumeBackupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackupPlanBackupVolumeBackupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamMember.go b/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamMember.go index fa235a0f27..9954ccb98e 100644 --- a/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamMember.go +++ b/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BackupPlanBackupVolumeBackupIamMember) ToBackupPlanBackupVolumeBackupIa return pulumi.ToOutputWithContext(ctx, i).(BackupPlanBackupVolumeBackupIamMemberOutput) } +func (i *BackupPlanBackupVolumeBackupIamMember) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupVolumeBackupIamMember] { + return pulumix.Output[*BackupPlanBackupVolumeBackupIamMember]{ + OutputState: i.ToBackupPlanBackupVolumeBackupIamMemberOutputWithContext(ctx).OutputState, + } +} + type BackupPlanBackupVolumeBackupIamMemberOutput struct{ *pulumi.OutputState } func (BackupPlanBackupVolumeBackupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackupPlanBackupVolumeBackupIamMemberOutput) ToBackupPlanBackupVolumeBac return o } +func (o BackupPlanBackupVolumeBackupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupVolumeBackupIamMember] { + return pulumix.Output[*BackupPlanBackupVolumeBackupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackupPlanBackupVolumeBackupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackupPlanBackupVolumeBackupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamPolicy.go b/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamPolicy.go index 1d8946ed56..910a3d81fe 100644 --- a/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/backupPlanBackupVolumeBackupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -149,6 +150,12 @@ func (i *BackupPlanBackupVolumeBackupIamPolicy) ToBackupPlanBackupVolumeBackupIa return pulumi.ToOutputWithContext(ctx, i).(BackupPlanBackupVolumeBackupIamPolicyOutput) } +func (i *BackupPlanBackupVolumeBackupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupVolumeBackupIamPolicy] { + return pulumix.Output[*BackupPlanBackupVolumeBackupIamPolicy]{ + OutputState: i.ToBackupPlanBackupVolumeBackupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BackupPlanBackupVolumeBackupIamPolicyOutput struct{ *pulumi.OutputState } func (BackupPlanBackupVolumeBackupIamPolicyOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o BackupPlanBackupVolumeBackupIamPolicyOutput) ToBackupPlanBackupVolumeBac return o } +func (o BackupPlanBackupVolumeBackupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupVolumeBackupIamPolicy] { + return pulumix.Output[*BackupPlanBackupVolumeBackupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o BackupPlanBackupVolumeBackupIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *BackupPlanBackupVolumeBackupIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkebackup/v1/backupPlanIamBinding.go b/sdk/go/google/gkebackup/v1/backupPlanIamBinding.go index ef3c8bb4a7..4daa33a314 100644 --- a/sdk/go/google/gkebackup/v1/backupPlanIamBinding.go +++ b/sdk/go/google/gkebackup/v1/backupPlanIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BackupPlanIamBinding) ToBackupPlanIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BackupPlanIamBindingOutput) } +func (i *BackupPlanIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamBinding] { + return pulumix.Output[*BackupPlanIamBinding]{ + OutputState: i.ToBackupPlanIamBindingOutputWithContext(ctx).OutputState, + } +} + type BackupPlanIamBindingOutput struct{ *pulumi.OutputState } func (BackupPlanIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackupPlanIamBindingOutput) ToBackupPlanIamBindingOutputWithContext(ctx return o } +func (o BackupPlanIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamBinding] { + return pulumix.Output[*BackupPlanIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackupPlanIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackupPlanIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/backupPlanIamMember.go b/sdk/go/google/gkebackup/v1/backupPlanIamMember.go index bb5b0bd94f..bc6cb76d59 100644 --- a/sdk/go/google/gkebackup/v1/backupPlanIamMember.go +++ b/sdk/go/google/gkebackup/v1/backupPlanIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BackupPlanIamMember) ToBackupPlanIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(BackupPlanIamMemberOutput) } +func (i *BackupPlanIamMember) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamMember] { + return pulumix.Output[*BackupPlanIamMember]{ + OutputState: i.ToBackupPlanIamMemberOutputWithContext(ctx).OutputState, + } +} + type BackupPlanIamMemberOutput struct{ *pulumi.OutputState } func (BackupPlanIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackupPlanIamMemberOutput) ToBackupPlanIamMemberOutputWithContext(ctx co return o } +func (o BackupPlanIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamMember] { + return pulumix.Output[*BackupPlanIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BackupPlanIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BackupPlanIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/backupPlanIamPolicy.go b/sdk/go/google/gkebackup/v1/backupPlanIamPolicy.go index 32548d2e84..5a66a37014 100644 --- a/sdk/go/google/gkebackup/v1/backupPlanIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/backupPlanIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BackupPlanIamPolicy) ToBackupPlanIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(BackupPlanIamPolicyOutput) } +func (i *BackupPlanIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamPolicy] { + return pulumix.Output[*BackupPlanIamPolicy]{ + OutputState: i.ToBackupPlanIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BackupPlanIamPolicyOutput struct{ *pulumi.OutputState } func (BackupPlanIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BackupPlanIamPolicyOutput) ToBackupPlanIamPolicyOutputWithContext(ctx co return o } +func (o BackupPlanIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamPolicy] { + return pulumix.Output[*BackupPlanIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o BackupPlanIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *BackupPlanIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkebackup/v1/getBackup.go b/sdk/go/google/gkebackup/v1/getBackup.go index d82483c67d..1a21a1e5af 100644 --- a/sdk/go/google/gkebackup/v1/getBackup.go +++ b/sdk/go/google/gkebackup/v1/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve the details of a single Backup. @@ -124,6 +125,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // If True, all namespaces were included in the Backup. func (o LookupBackupResultOutput) AllNamespaces() pulumi.BoolOutput { return o.ApplyT(func(v LookupBackupResult) bool { return v.AllNamespaces }).(pulumi.BoolOutput) diff --git a/sdk/go/google/gkebackup/v1/getBackupPlan.go b/sdk/go/google/gkebackup/v1/getBackupPlan.go index 8b570a3a28..c19591b733 100644 --- a/sdk/go/google/gkebackup/v1/getBackupPlan.go +++ b/sdk/go/google/gkebackup/v1/getBackupPlan.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve the details of a single BackupPlan. @@ -94,6 +95,12 @@ func (o LookupBackupPlanResultOutput) ToLookupBackupPlanResultOutputWithContext( return o } +func (o LookupBackupPlanResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupPlanResult] { + return pulumix.Output[LookupBackupPlanResult]{ + OutputState: o.OutputState, + } +} + // Defines the configuration of Backups created via this BackupPlan. func (o LookupBackupPlanResultOutput) BackupConfig() BackupConfigResponseOutput { return o.ApplyT(func(v LookupBackupPlanResult) BackupConfigResponse { return v.BackupConfig }).(BackupConfigResponseOutput) diff --git a/sdk/go/google/gkebackup/v1/getBackupPlanBackupIamPolicy.go b/sdk/go/google/gkebackup/v1/getBackupPlanBackupIamPolicy.go index 721f6f37e1..ea55dd5a9f 100644 --- a/sdk/go/google/gkebackup/v1/getBackupPlanBackupIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/getBackupPlanBackupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupBackupPlanBackupIamPolicyResultOutput) ToLookupBackupPlanBackupIam return o } +func (o LookupBackupPlanBackupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupPlanBackupIamPolicyResult] { + return pulumix.Output[LookupBackupPlanBackupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupBackupPlanBackupIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupBackupPlanBackupIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkebackup/v1/getBackupPlanBackupVolumeBackupIamPolicy.go b/sdk/go/google/gkebackup/v1/getBackupPlanBackupVolumeBackupIamPolicy.go index 960fa77223..bb8e102c7a 100644 --- a/sdk/go/google/gkebackup/v1/getBackupPlanBackupVolumeBackupIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/getBackupPlanBackupVolumeBackupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -82,6 +83,12 @@ func (o LookupBackupPlanBackupVolumeBackupIamPolicyResultOutput) ToLookupBackupP return o } +func (o LookupBackupPlanBackupVolumeBackupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupPlanBackupVolumeBackupIamPolicyResult] { + return pulumix.Output[LookupBackupPlanBackupVolumeBackupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupBackupPlanBackupVolumeBackupIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupBackupPlanBackupVolumeBackupIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkebackup/v1/getBackupPlanIamPolicy.go b/sdk/go/google/gkebackup/v1/getBackupPlanIamPolicy.go index 7595962bf1..abed53d6d5 100644 --- a/sdk/go/google/gkebackup/v1/getBackupPlanIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/getBackupPlanIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupBackupPlanIamPolicyResultOutput) ToLookupBackupPlanIamPolicyResult return o } +func (o LookupBackupPlanIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupPlanIamPolicyResult] { + return pulumix.Output[LookupBackupPlanIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupBackupPlanIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupBackupPlanIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkebackup/v1/getRestore.go b/sdk/go/google/gkebackup/v1/getRestore.go index 5c60e6a3cd..443ba6d98a 100644 --- a/sdk/go/google/gkebackup/v1/getRestore.go +++ b/sdk/go/google/gkebackup/v1/getRestore.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the details of a single Restore. @@ -104,6 +105,12 @@ func (o LookupRestoreResultOutput) ToLookupRestoreResultOutputWithContext(ctx co return o } +func (o LookupRestoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRestoreResult] { + return pulumix.Output[LookupRestoreResult]{ + OutputState: o.OutputState, + } +} + // Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: `projects/*/locations/*/backupPlans/*/backups/*`. func (o LookupRestoreResultOutput) Backup() pulumi.StringOutput { return o.ApplyT(func(v LookupRestoreResult) string { return v.Backup }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkebackup/v1/getRestorePlan.go b/sdk/go/google/gkebackup/v1/getRestorePlan.go index 01817efbe6..01a7f16e4e 100644 --- a/sdk/go/google/gkebackup/v1/getRestorePlan.go +++ b/sdk/go/google/gkebackup/v1/getRestorePlan.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve the details of a single RestorePlan. @@ -88,6 +89,12 @@ func (o LookupRestorePlanResultOutput) ToLookupRestorePlanResultOutputWithContex return o } +func (o LookupRestorePlanResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRestorePlanResult] { + return pulumix.Output[LookupRestorePlanResult]{ + OutputState: o.OutputState, + } +} + // Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format: `projects/*/locations/*/backupPlans/*`. func (o LookupRestorePlanResultOutput) BackupPlan() pulumi.StringOutput { return o.ApplyT(func(v LookupRestorePlanResult) string { return v.BackupPlan }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkebackup/v1/getRestorePlanIamPolicy.go b/sdk/go/google/gkebackup/v1/getRestorePlanIamPolicy.go index 31990c2dc3..cff94f2179 100644 --- a/sdk/go/google/gkebackup/v1/getRestorePlanIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/getRestorePlanIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupRestorePlanIamPolicyResultOutput) ToLookupRestorePlanIamPolicyResu return o } +func (o LookupRestorePlanIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRestorePlanIamPolicyResult] { + return pulumix.Output[LookupRestorePlanIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRestorePlanIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRestorePlanIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkebackup/v1/getRestorePlanRestoreIamPolicy.go b/sdk/go/google/gkebackup/v1/getRestorePlanRestoreIamPolicy.go index a8bfe91353..9c7eb5ce92 100644 --- a/sdk/go/google/gkebackup/v1/getRestorePlanRestoreIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/getRestorePlanRestoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupRestorePlanRestoreIamPolicyResultOutput) ToLookupRestorePlanRestor return o } +func (o LookupRestorePlanRestoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRestorePlanRestoreIamPolicyResult] { + return pulumix.Output[LookupRestorePlanRestoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRestorePlanRestoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRestorePlanRestoreIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkebackup/v1/getRestorePlanRestoreVolumeRestoreIamPolicy.go b/sdk/go/google/gkebackup/v1/getRestorePlanRestoreVolumeRestoreIamPolicy.go index f5a62cfba1..c271616f7c 100644 --- a/sdk/go/google/gkebackup/v1/getRestorePlanRestoreVolumeRestoreIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/getRestorePlanRestoreVolumeRestoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -82,6 +83,12 @@ func (o LookupRestorePlanRestoreVolumeRestoreIamPolicyResultOutput) ToLookupRest return o } +func (o LookupRestorePlanRestoreVolumeRestoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRestorePlanRestoreVolumeRestoreIamPolicyResult] { + return pulumix.Output[LookupRestorePlanRestoreVolumeRestoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRestorePlanRestoreVolumeRestoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRestorePlanRestoreVolumeRestoreIamPolicyResult) []AuditConfigResponse { diff --git a/sdk/go/google/gkebackup/v1/pulumiEnums.go b/sdk/go/google/gkebackup/v1/pulumiEnums.go index 223b295f44..3f8e93183f 100644 --- a/sdk/go/google/gkebackup/v1/pulumiEnums.go +++ b/sdk/go/google/gkebackup/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty. type RestoreConfigClusterResourceConflictPolicy string @@ -253,6 +272,12 @@ func (o RestoreConfigClusterResourceConflictPolicyOutput) ToRestoreConfigCluster }).(RestoreConfigClusterResourceConflictPolicyPtrOutput) } +func (o RestoreConfigClusterResourceConflictPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RestoreConfigClusterResourceConflictPolicy] { + return pulumix.Output[RestoreConfigClusterResourceConflictPolicy]{ + OutputState: o.OutputState, + } +} + func (o RestoreConfigClusterResourceConflictPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o RestoreConfigClusterResourceConflictPolicyPtrOutput) ToRestoreConfigClus return o } +func (o RestoreConfigClusterResourceConflictPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestoreConfigClusterResourceConflictPolicy] { + return pulumix.Output[*RestoreConfigClusterResourceConflictPolicy]{ + OutputState: o.OutputState, + } +} + func (o RestoreConfigClusterResourceConflictPolicyPtrOutput) Elem() RestoreConfigClusterResourceConflictPolicyOutput { return o.ApplyT(func(v *RestoreConfigClusterResourceConflictPolicy) RestoreConfigClusterResourceConflictPolicy { if v != nil { @@ -350,6 +381,12 @@ func (in *restoreConfigClusterResourceConflictPolicyPtr) ToRestoreConfigClusterR return pulumi.ToOutputWithContext(ctx, in).(RestoreConfigClusterResourceConflictPolicyPtrOutput) } +func (in *restoreConfigClusterResourceConflictPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*RestoreConfigClusterResourceConflictPolicy] { + return pulumix.Output[*RestoreConfigClusterResourceConflictPolicy]{ + OutputState: in.ToRestoreConfigClusterResourceConflictPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED. type RestoreConfigNamespacedResourceRestoreMode string @@ -422,6 +459,12 @@ func (o RestoreConfigNamespacedResourceRestoreModeOutput) ToRestoreConfigNamespa }).(RestoreConfigNamespacedResourceRestoreModePtrOutput) } +func (o RestoreConfigNamespacedResourceRestoreModeOutput) ToOutput(ctx context.Context) pulumix.Output[RestoreConfigNamespacedResourceRestoreMode] { + return pulumix.Output[RestoreConfigNamespacedResourceRestoreMode]{ + OutputState: o.OutputState, + } +} + func (o RestoreConfigNamespacedResourceRestoreModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o RestoreConfigNamespacedResourceRestoreModePtrOutput) ToRestoreConfigName return o } +func (o RestoreConfigNamespacedResourceRestoreModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestoreConfigNamespacedResourceRestoreMode] { + return pulumix.Output[*RestoreConfigNamespacedResourceRestoreMode]{ + OutputState: o.OutputState, + } +} + func (o RestoreConfigNamespacedResourceRestoreModePtrOutput) Elem() RestoreConfigNamespacedResourceRestoreModeOutput { return o.ApplyT(func(v *RestoreConfigNamespacedResourceRestoreMode) RestoreConfigNamespacedResourceRestoreMode { if v != nil { @@ -519,6 +568,12 @@ func (in *restoreConfigNamespacedResourceRestoreModePtr) ToRestoreConfigNamespac return pulumi.ToOutputWithContext(ctx, in).(RestoreConfigNamespacedResourceRestoreModePtrOutput) } +func (in *restoreConfigNamespacedResourceRestoreModePtr) ToOutput(ctx context.Context) pulumix.Output[*RestoreConfigNamespacedResourceRestoreMode] { + return pulumix.Output[*RestoreConfigNamespacedResourceRestoreMode]{ + OutputState: in.ToRestoreConfigNamespacedResourceRestoreModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION). type RestoreConfigVolumeDataRestorePolicy string @@ -593,6 +648,12 @@ func (o RestoreConfigVolumeDataRestorePolicyOutput) ToRestoreConfigVolumeDataRes }).(RestoreConfigVolumeDataRestorePolicyPtrOutput) } +func (o RestoreConfigVolumeDataRestorePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RestoreConfigVolumeDataRestorePolicy] { + return pulumix.Output[RestoreConfigVolumeDataRestorePolicy]{ + OutputState: o.OutputState, + } +} + func (o RestoreConfigVolumeDataRestorePolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -628,6 +689,12 @@ func (o RestoreConfigVolumeDataRestorePolicyPtrOutput) ToRestoreConfigVolumeData return o } +func (o RestoreConfigVolumeDataRestorePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestoreConfigVolumeDataRestorePolicy] { + return pulumix.Output[*RestoreConfigVolumeDataRestorePolicy]{ + OutputState: o.OutputState, + } +} + func (o RestoreConfigVolumeDataRestorePolicyPtrOutput) Elem() RestoreConfigVolumeDataRestorePolicyOutput { return o.ApplyT(func(v *RestoreConfigVolumeDataRestorePolicy) RestoreConfigVolumeDataRestorePolicy { if v != nil { @@ -690,6 +757,12 @@ func (in *restoreConfigVolumeDataRestorePolicyPtr) ToRestoreConfigVolumeDataRest return pulumi.ToOutputWithContext(ctx, in).(RestoreConfigVolumeDataRestorePolicyPtrOutput) } +func (in *restoreConfigVolumeDataRestorePolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*RestoreConfigVolumeDataRestorePolicy] { + return pulumix.Output[*RestoreConfigVolumeDataRestorePolicy]{ + OutputState: in.ToRestoreConfigVolumeDataRestorePolicyPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/gkebackup/v1/pulumiTypes.go b/sdk/go/google/gkebackup/v1/pulumiTypes.go index d0ea970b7f..faf9fdfec1 100644 --- a/sdk/go/google/gkebackup/v1/pulumiTypes.go +++ b/sdk/go/google/gkebackup/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -392,6 +465,12 @@ func (i BackupConfigArgs) ToBackupConfigOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BackupConfigOutput) } +func (i BackupConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BackupConfig] { + return pulumix.Output[BackupConfig]{ + OutputState: i.ToBackupConfigOutputWithContext(ctx).OutputState, + } +} + func (i BackupConfigArgs) ToBackupConfigPtrOutput() BackupConfigPtrOutput { return i.ToBackupConfigPtrOutputWithContext(context.Background()) } @@ -433,6 +512,12 @@ func (i *backupConfigPtrType) ToBackupConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(BackupConfigPtrOutput) } +func (i *backupConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackupConfig] { + return pulumix.Output[*BackupConfig]{ + OutputState: i.ToBackupConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BackupConfig defines the configuration of Backups created via this BackupPlan. type BackupConfigOutput struct{ *pulumi.OutputState } @@ -458,6 +543,12 @@ func (o BackupConfigOutput) ToBackupConfigPtrOutputWithContext(ctx context.Conte }).(BackupConfigPtrOutput) } +func (o BackupConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BackupConfig] { + return pulumix.Output[BackupConfig]{ + OutputState: o.OutputState, + } +} + // If True, include all namespaced resources func (o BackupConfigOutput) AllNamespaces() pulumi.BoolPtrOutput { return o.ApplyT(func(v BackupConfig) *bool { return v.AllNamespaces }).(pulumi.BoolPtrOutput) @@ -502,6 +593,12 @@ func (o BackupConfigPtrOutput) ToBackupConfigPtrOutputWithContext(ctx context.Co return o } +func (o BackupConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupConfig] { + return pulumix.Output[*BackupConfig]{ + OutputState: o.OutputState, + } +} + func (o BackupConfigPtrOutput) Elem() BackupConfigOutput { return o.ApplyT(func(v *BackupConfig) BackupConfig { if v != nil { @@ -603,6 +700,12 @@ func (o BackupConfigResponseOutput) ToBackupConfigResponseOutputWithContext(ctx return o } +func (o BackupConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackupConfigResponse] { + return pulumix.Output[BackupConfigResponse]{ + OutputState: o.OutputState, + } +} + // If True, include all namespaced resources func (o BackupConfigResponseOutput) AllNamespaces() pulumi.BoolOutput { return o.ApplyT(func(v BackupConfigResponse) bool { return v.AllNamespaces }).(pulumi.BoolOutput) @@ -676,6 +779,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -701,6 +810,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -716,6 +831,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -745,6 +866,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -776,6 +903,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -805,6 +938,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -840,6 +979,12 @@ func (o ClusterMetadataResponseOutput) ToClusterMetadataResponseOutputWithContex return o } +func (o ClusterMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterMetadataResponse] { + return pulumix.Output[ClusterMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Anthos version func (o ClusterMetadataResponseOutput) AnthosVersion() pulumi.StringOutput { return o.ApplyT(func(v ClusterMetadataResponse) string { return v.AnthosVersion }).(pulumi.StringOutput) @@ -900,6 +1045,12 @@ func (i ClusterResourceRestoreScopeArgs) ToClusterResourceRestoreScopeOutputWith return pulumi.ToOutputWithContext(ctx, i).(ClusterResourceRestoreScopeOutput) } +func (i ClusterResourceRestoreScopeArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterResourceRestoreScope] { + return pulumix.Output[ClusterResourceRestoreScope]{ + OutputState: i.ToClusterResourceRestoreScopeOutputWithContext(ctx).OutputState, + } +} + func (i ClusterResourceRestoreScopeArgs) ToClusterResourceRestoreScopePtrOutput() ClusterResourceRestoreScopePtrOutput { return i.ToClusterResourceRestoreScopePtrOutputWithContext(context.Background()) } @@ -941,6 +1092,12 @@ func (i *clusterResourceRestoreScopePtrType) ToClusterResourceRestoreScopePtrOut return pulumi.ToOutputWithContext(ctx, i).(ClusterResourceRestoreScopePtrOutput) } +func (i *clusterResourceRestoreScopePtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterResourceRestoreScope] { + return pulumix.Output[*ClusterResourceRestoreScope]{ + OutputState: i.ToClusterResourceRestoreScopePtrOutputWithContext(ctx).OutputState, + } +} + // Defines the scope of cluster-scoped resources to restore. Some group kinds are not reasonable choices for a restore, and will cause an error if selected here. Any scope selection that would restore "all valid" resources automatically excludes these group kinds. - gkebackup.gke.io/BackupJob - gkebackup.gke.io/RestoreJob - metrics.k8s.io/NodeMetrics - migration.k8s.io/StorageState - migration.k8s.io/StorageVersionMigration - Node - snapshot.storage.k8s.io/VolumeSnapshotContent - storage.k8s.io/CSINode Some group kinds are driven by restore configuration elsewhere, and will cause an error if selected here. - Namespace - PersistentVolume type ClusterResourceRestoreScopeOutput struct{ *pulumi.OutputState } @@ -966,6 +1123,12 @@ func (o ClusterResourceRestoreScopeOutput) ToClusterResourceRestoreScopePtrOutpu }).(ClusterResourceRestoreScopePtrOutput) } +func (o ClusterResourceRestoreScopeOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterResourceRestoreScope] { + return pulumix.Output[ClusterResourceRestoreScope]{ + OutputState: o.OutputState, + } +} + // A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message. func (o ClusterResourceRestoreScopeOutput) SelectedGroupKinds() GroupKindArrayOutput { return o.ApplyT(func(v ClusterResourceRestoreScope) []GroupKind { return v.SelectedGroupKinds }).(GroupKindArrayOutput) @@ -985,6 +1148,12 @@ func (o ClusterResourceRestoreScopePtrOutput) ToClusterResourceRestoreScopePtrOu return o } +func (o ClusterResourceRestoreScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterResourceRestoreScope] { + return pulumix.Output[*ClusterResourceRestoreScope]{ + OutputState: o.OutputState, + } +} + func (o ClusterResourceRestoreScopePtrOutput) Elem() ClusterResourceRestoreScopeOutput { return o.ApplyT(func(v *ClusterResourceRestoreScope) ClusterResourceRestoreScope { if v != nil { @@ -1026,6 +1195,12 @@ func (o ClusterResourceRestoreScopeResponseOutput) ToClusterResourceRestoreScope return o } +func (o ClusterResourceRestoreScopeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterResourceRestoreScopeResponse] { + return pulumix.Output[ClusterResourceRestoreScopeResponse]{ + OutputState: o.OutputState, + } +} + // A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message. func (o ClusterResourceRestoreScopeResponseOutput) SelectedGroupKinds() GroupKindResponseArrayOutput { return o.ApplyT(func(v ClusterResourceRestoreScopeResponse) []GroupKindResponse { return v.SelectedGroupKinds }).(GroupKindResponseArrayOutput) @@ -1066,6 +1241,12 @@ func (i EncryptionKeyArgs) ToEncryptionKeyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(EncryptionKeyOutput) } +func (i EncryptionKeyArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionKey] { + return pulumix.Output[EncryptionKey]{ + OutputState: i.ToEncryptionKeyOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionKeyArgs) ToEncryptionKeyPtrOutput() EncryptionKeyPtrOutput { return i.ToEncryptionKeyPtrOutputWithContext(context.Background()) } @@ -1107,6 +1288,12 @@ func (i *encryptionKeyPtrType) ToEncryptionKeyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(EncryptionKeyPtrOutput) } +func (i *encryptionKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionKey] { + return pulumix.Output[*EncryptionKey]{ + OutputState: i.ToEncryptionKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Defined a customer managed encryption key that will be used to encrypt Backup artifacts. type EncryptionKeyOutput struct{ *pulumi.OutputState } @@ -1132,6 +1319,12 @@ func (o EncryptionKeyOutput) ToEncryptionKeyPtrOutputWithContext(ctx context.Con }).(EncryptionKeyPtrOutput) } +func (o EncryptionKeyOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionKey] { + return pulumix.Output[EncryptionKey]{ + OutputState: o.OutputState, + } +} + // Google Cloud KMS encryption key. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*` func (o EncryptionKeyOutput) GcpKmsEncryptionKey() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionKey) *string { return v.GcpKmsEncryptionKey }).(pulumi.StringPtrOutput) @@ -1151,6 +1344,12 @@ func (o EncryptionKeyPtrOutput) ToEncryptionKeyPtrOutputWithContext(ctx context. return o } +func (o EncryptionKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionKey] { + return pulumix.Output[*EncryptionKey]{ + OutputState: o.OutputState, + } +} + func (o EncryptionKeyPtrOutput) Elem() EncryptionKeyOutput { return o.ApplyT(func(v *EncryptionKey) EncryptionKey { if v != nil { @@ -1192,6 +1391,12 @@ func (o EncryptionKeyResponseOutput) ToEncryptionKeyResponseOutputWithContext(ct return o } +func (o EncryptionKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionKeyResponse] { + return pulumix.Output[EncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud KMS encryption key. Format: `projects/*/locations/*/keyRings/*/cryptoKeys/*` func (o EncryptionKeyResponseOutput) GcpKmsEncryptionKey() pulumi.StringOutput { return o.ApplyT(func(v EncryptionKeyResponse) string { return v.GcpKmsEncryptionKey }).(pulumi.StringOutput) @@ -1244,6 +1449,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1285,6 +1496,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1310,6 +1527,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1344,6 +1567,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1421,6 +1650,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1480,6 +1715,12 @@ func (i GroupKindArgs) ToGroupKindOutputWithContext(ctx context.Context) GroupKi return pulumi.ToOutputWithContext(ctx, i).(GroupKindOutput) } +func (i GroupKindArgs) ToOutput(ctx context.Context) pulumix.Output[GroupKind] { + return pulumix.Output[GroupKind]{ + OutputState: i.ToGroupKindOutputWithContext(ctx).OutputState, + } +} + // GroupKindArrayInput is an input type that accepts GroupKindArray and GroupKindArrayOutput values. // You can construct a concrete instance of `GroupKindArrayInput` via: // @@ -1505,6 +1746,12 @@ func (i GroupKindArray) ToGroupKindArrayOutputWithContext(ctx context.Context) G return pulumi.ToOutputWithContext(ctx, i).(GroupKindArrayOutput) } +func (i GroupKindArray) ToOutput(ctx context.Context) pulumix.Output[[]GroupKind] { + return pulumix.Output[[]GroupKind]{ + OutputState: i.ToGroupKindArrayOutputWithContext(ctx).OutputState, + } +} + // This is a direct map to the Kubernetes GroupKind type [GroupKind](https://godoc.org/k8s.io/apimachinery/pkg/runtime/schema#GroupKind) and is used for identifying specific "types" of resources to restore. type GroupKindOutput struct{ *pulumi.OutputState } @@ -1520,6 +1767,12 @@ func (o GroupKindOutput) ToGroupKindOutputWithContext(ctx context.Context) Group return o } +func (o GroupKindOutput) ToOutput(ctx context.Context) pulumix.Output[GroupKind] { + return pulumix.Output[GroupKind]{ + OutputState: o.OutputState, + } +} + // API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group func (o GroupKindOutput) ResourceGroup() pulumi.StringPtrOutput { return o.ApplyT(func(v GroupKind) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) @@ -1544,6 +1797,12 @@ func (o GroupKindArrayOutput) ToGroupKindArrayOutputWithContext(ctx context.Cont return o } +func (o GroupKindArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupKind] { + return pulumix.Output[[]GroupKind]{ + OutputState: o.OutputState, + } +} + func (o GroupKindArrayOutput) Index(i pulumi.IntInput) GroupKindOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupKind { return vs[0].([]GroupKind)[vs[1].(int)] @@ -1573,6 +1832,12 @@ func (o GroupKindResponseOutput) ToGroupKindResponseOutputWithContext(ctx contex return o } +func (o GroupKindResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GroupKindResponse] { + return pulumix.Output[GroupKindResponse]{ + OutputState: o.OutputState, + } +} + // API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group func (o GroupKindResponseOutput) ResourceGroup() pulumi.StringOutput { return o.ApplyT(func(v GroupKindResponse) string { return v.ResourceGroup }).(pulumi.StringOutput) @@ -1597,6 +1862,12 @@ func (o GroupKindResponseArrayOutput) ToGroupKindResponseArrayOutputWithContext( return o } +func (o GroupKindResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GroupKindResponse] { + return pulumix.Output[[]GroupKindResponse]{ + OutputState: o.OutputState, + } +} + func (o GroupKindResponseArrayOutput) Index(i pulumi.IntInput) GroupKindResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupKindResponse { return vs[0].([]GroupKindResponse)[vs[1].(int)] @@ -1642,6 +1913,12 @@ func (i NamespacedNameArgs) ToNamespacedNameOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(NamespacedNameOutput) } +func (i NamespacedNameArgs) ToOutput(ctx context.Context) pulumix.Output[NamespacedName] { + return pulumix.Output[NamespacedName]{ + OutputState: i.ToNamespacedNameOutputWithContext(ctx).OutputState, + } +} + // NamespacedNameArrayInput is an input type that accepts NamespacedNameArray and NamespacedNameArrayOutput values. // You can construct a concrete instance of `NamespacedNameArrayInput` via: // @@ -1667,6 +1944,12 @@ func (i NamespacedNameArray) ToNamespacedNameArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(NamespacedNameArrayOutput) } +func (i NamespacedNameArray) ToOutput(ctx context.Context) pulumix.Output[[]NamespacedName] { + return pulumix.Output[[]NamespacedName]{ + OutputState: i.ToNamespacedNameArrayOutputWithContext(ctx).OutputState, + } +} + // A reference to a namespaced resource in Kubernetes. type NamespacedNameOutput struct{ *pulumi.OutputState } @@ -1682,6 +1965,12 @@ func (o NamespacedNameOutput) ToNamespacedNameOutputWithContext(ctx context.Cont return o } +func (o NamespacedNameOutput) ToOutput(ctx context.Context) pulumix.Output[NamespacedName] { + return pulumix.Output[NamespacedName]{ + OutputState: o.OutputState, + } +} + // The name of the Kubernetes resource. func (o NamespacedNameOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v NamespacedName) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -1706,6 +1995,12 @@ func (o NamespacedNameArrayOutput) ToNamespacedNameArrayOutputWithContext(ctx co return o } +func (o NamespacedNameArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamespacedName] { + return pulumix.Output[[]NamespacedName]{ + OutputState: o.OutputState, + } +} + func (o NamespacedNameArrayOutput) Index(i pulumi.IntInput) NamespacedNameOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamespacedName { return vs[0].([]NamespacedName)[vs[1].(int)] @@ -1735,6 +2030,12 @@ func (o NamespacedNameResponseOutput) ToNamespacedNameResponseOutputWithContext( return o } +func (o NamespacedNameResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NamespacedNameResponse] { + return pulumix.Output[NamespacedNameResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Kubernetes resource. func (o NamespacedNameResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v NamespacedNameResponse) string { return v.Name }).(pulumi.StringOutput) @@ -1759,6 +2060,12 @@ func (o NamespacedNameResponseArrayOutput) ToNamespacedNameResponseArrayOutputWi return o } +func (o NamespacedNameResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NamespacedNameResponse] { + return pulumix.Output[[]NamespacedNameResponse]{ + OutputState: o.OutputState, + } +} + func (o NamespacedNameResponseArrayOutput) Index(i pulumi.IntInput) NamespacedNameResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NamespacedNameResponse { return vs[0].([]NamespacedNameResponse)[vs[1].(int)] @@ -1800,6 +2107,12 @@ func (i NamespacedNamesArgs) ToNamespacedNamesOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(NamespacedNamesOutput) } +func (i NamespacedNamesArgs) ToOutput(ctx context.Context) pulumix.Output[NamespacedNames] { + return pulumix.Output[NamespacedNames]{ + OutputState: i.ToNamespacedNamesOutputWithContext(ctx).OutputState, + } +} + func (i NamespacedNamesArgs) ToNamespacedNamesPtrOutput() NamespacedNamesPtrOutput { return i.ToNamespacedNamesPtrOutputWithContext(context.Background()) } @@ -1841,6 +2154,12 @@ func (i *namespacedNamesPtrType) ToNamespacedNamesPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(NamespacedNamesPtrOutput) } +func (i *namespacedNamesPtrType) ToOutput(ctx context.Context) pulumix.Output[*NamespacedNames] { + return pulumix.Output[*NamespacedNames]{ + OutputState: i.ToNamespacedNamesPtrOutputWithContext(ctx).OutputState, + } +} + // A list of namespaced Kubernetes resources. type NamespacedNamesOutput struct{ *pulumi.OutputState } @@ -1866,6 +2185,12 @@ func (o NamespacedNamesOutput) ToNamespacedNamesPtrOutputWithContext(ctx context }).(NamespacedNamesPtrOutput) } +func (o NamespacedNamesOutput) ToOutput(ctx context.Context) pulumix.Output[NamespacedNames] { + return pulumix.Output[NamespacedNames]{ + OutputState: o.OutputState, + } +} + // A list of namespaced Kubernetes resources. func (o NamespacedNamesOutput) NamespacedNames() NamespacedNameArrayOutput { return o.ApplyT(func(v NamespacedNames) []NamespacedName { return v.NamespacedNames }).(NamespacedNameArrayOutput) @@ -1885,6 +2210,12 @@ func (o NamespacedNamesPtrOutput) ToNamespacedNamesPtrOutputWithContext(ctx cont return o } +func (o NamespacedNamesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespacedNames] { + return pulumix.Output[*NamespacedNames]{ + OutputState: o.OutputState, + } +} + func (o NamespacedNamesPtrOutput) Elem() NamespacedNamesOutput { return o.ApplyT(func(v *NamespacedNames) NamespacedNames { if v != nil { @@ -1926,6 +2257,12 @@ func (o NamespacedNamesResponseOutput) ToNamespacedNamesResponseOutputWithContex return o } +func (o NamespacedNamesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NamespacedNamesResponse] { + return pulumix.Output[NamespacedNamesResponse]{ + OutputState: o.OutputState, + } +} + // A list of namespaced Kubernetes resources. func (o NamespacedNamesResponseOutput) NamespacedNames() NamespacedNameResponseArrayOutput { return o.ApplyT(func(v NamespacedNamesResponse) []NamespacedNameResponse { return v.NamespacedNames }).(NamespacedNameResponseArrayOutput) @@ -1966,6 +2303,12 @@ func (i NamespacesArgs) ToNamespacesOutputWithContext(ctx context.Context) Names return pulumi.ToOutputWithContext(ctx, i).(NamespacesOutput) } +func (i NamespacesArgs) ToOutput(ctx context.Context) pulumix.Output[Namespaces] { + return pulumix.Output[Namespaces]{ + OutputState: i.ToNamespacesOutputWithContext(ctx).OutputState, + } +} + func (i NamespacesArgs) ToNamespacesPtrOutput() NamespacesPtrOutput { return i.ToNamespacesPtrOutputWithContext(context.Background()) } @@ -2007,6 +2350,12 @@ func (i *namespacesPtrType) ToNamespacesPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(NamespacesPtrOutput) } +func (i *namespacesPtrType) ToOutput(ctx context.Context) pulumix.Output[*Namespaces] { + return pulumix.Output[*Namespaces]{ + OutputState: i.ToNamespacesPtrOutputWithContext(ctx).OutputState, + } +} + // A list of Kubernetes Namespaces type NamespacesOutput struct{ *pulumi.OutputState } @@ -2032,6 +2381,12 @@ func (o NamespacesOutput) ToNamespacesPtrOutputWithContext(ctx context.Context) }).(NamespacesPtrOutput) } +func (o NamespacesOutput) ToOutput(ctx context.Context) pulumix.Output[Namespaces] { + return pulumix.Output[Namespaces]{ + OutputState: o.OutputState, + } +} + // A list of Kubernetes Namespaces func (o NamespacesOutput) Namespaces() pulumi.StringArrayOutput { return o.ApplyT(func(v Namespaces) []string { return v.Namespaces }).(pulumi.StringArrayOutput) @@ -2051,6 +2406,12 @@ func (o NamespacesPtrOutput) ToNamespacesPtrOutputWithContext(ctx context.Contex return o } +func (o NamespacesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Namespaces] { + return pulumix.Output[*Namespaces]{ + OutputState: o.OutputState, + } +} + func (o NamespacesPtrOutput) Elem() NamespacesOutput { return o.ApplyT(func(v *Namespaces) Namespaces { if v != nil { @@ -2092,6 +2453,12 @@ func (o NamespacesResponseOutput) ToNamespacesResponseOutputWithContext(ctx cont return o } +func (o NamespacesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NamespacesResponse] { + return pulumix.Output[NamespacesResponse]{ + OutputState: o.OutputState, + } +} + // A list of Kubernetes Namespaces func (o NamespacesResponseOutput) Namespaces() pulumi.StringArrayOutput { return o.ApplyT(func(v NamespacesResponse) []string { return v.Namespaces }).(pulumi.StringArrayOutput) @@ -2160,6 +2527,12 @@ func (i RestoreConfigArgs) ToRestoreConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RestoreConfigOutput) } +func (i RestoreConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RestoreConfig] { + return pulumix.Output[RestoreConfig]{ + OutputState: i.ToRestoreConfigOutputWithContext(ctx).OutputState, + } +} + // Configuration of a restore. Next id: 12 type RestoreConfigOutput struct{ *pulumi.OutputState } @@ -2175,6 +2548,12 @@ func (o RestoreConfigOutput) ToRestoreConfigOutputWithContext(ctx context.Contex return o } +func (o RestoreConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RestoreConfig] { + return pulumix.Output[RestoreConfig]{ + OutputState: o.OutputState, + } +} + // Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error. func (o RestoreConfigOutput) AllNamespaces() pulumi.BoolPtrOutput { return o.ApplyT(func(v RestoreConfig) *bool { return v.AllNamespaces }).(pulumi.BoolPtrOutput) @@ -2254,6 +2633,12 @@ func (o RestoreConfigResponseOutput) ToRestoreConfigResponseOutputWithContext(ct return o } +func (o RestoreConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RestoreConfigResponse] { + return pulumix.Output[RestoreConfigResponse]{ + OutputState: o.OutputState, + } +} + // Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error. func (o RestoreConfigResponseOutput) AllNamespaces() pulumi.BoolOutput { return o.ApplyT(func(v RestoreConfigResponse) bool { return v.AllNamespaces }).(pulumi.BoolOutput) @@ -2339,6 +2724,12 @@ func (i RetentionPolicyArgs) ToRetentionPolicyOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(RetentionPolicyOutput) } +func (i RetentionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RetentionPolicy] { + return pulumix.Output[RetentionPolicy]{ + OutputState: i.ToRetentionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RetentionPolicyArgs) ToRetentionPolicyPtrOutput() RetentionPolicyPtrOutput { return i.ToRetentionPolicyPtrOutputWithContext(context.Background()) } @@ -2380,6 +2771,12 @@ func (i *retentionPolicyPtrType) ToRetentionPolicyPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RetentionPolicyPtrOutput) } +func (i *retentionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RetentionPolicy] { + return pulumix.Output[*RetentionPolicy]{ + OutputState: i.ToRetentionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // RetentionPolicy defines a Backup retention policy for a BackupPlan. type RetentionPolicyOutput struct{ *pulumi.OutputState } @@ -2405,6 +2802,12 @@ func (o RetentionPolicyOutput) ToRetentionPolicyPtrOutputWithContext(ctx context }).(RetentionPolicyPtrOutput) } +func (o RetentionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RetentionPolicy] { + return pulumix.Output[RetentionPolicy]{ + OutputState: o.OutputState, + } +} + // Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking) func (o RetentionPolicyOutput) BackupDeleteLockDays() pulumi.IntPtrOutput { return o.ApplyT(func(v RetentionPolicy) *int { return v.BackupDeleteLockDays }).(pulumi.IntPtrOutput) @@ -2434,6 +2837,12 @@ func (o RetentionPolicyPtrOutput) ToRetentionPolicyPtrOutputWithContext(ctx cont return o } +func (o RetentionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RetentionPolicy] { + return pulumix.Output[*RetentionPolicy]{ + OutputState: o.OutputState, + } +} + func (o RetentionPolicyPtrOutput) Elem() RetentionPolicyOutput { return o.ApplyT(func(v *RetentionPolicy) RetentionPolicy { if v != nil { @@ -2499,6 +2908,12 @@ func (o RetentionPolicyResponseOutput) ToRetentionPolicyResponseOutputWithContex return o } +func (o RetentionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RetentionPolicyResponse] { + return pulumix.Output[RetentionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking) func (o RetentionPolicyResponseOutput) BackupDeleteLockDays() pulumi.IntOutput { return o.ApplyT(func(v RetentionPolicyResponse) int { return v.BackupDeleteLockDays }).(pulumi.IntOutput) @@ -2553,6 +2968,12 @@ func (i ScheduleArgs) ToScheduleOutputWithContext(ctx context.Context) ScheduleO return pulumi.ToOutputWithContext(ctx, i).(ScheduleOutput) } +func (i ScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[Schedule] { + return pulumix.Output[Schedule]{ + OutputState: i.ToScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ScheduleArgs) ToSchedulePtrOutput() SchedulePtrOutput { return i.ToSchedulePtrOutputWithContext(context.Background()) } @@ -2594,6 +3015,12 @@ func (i *schedulePtrType) ToSchedulePtrOutputWithContext(ctx context.Context) Sc return pulumi.ToOutputWithContext(ctx, i).(SchedulePtrOutput) } +func (i *schedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: i.ToSchedulePtrOutputWithContext(ctx).OutputState, + } +} + // Schedule defines scheduling parameters for automatically creating Backups via this BackupPlan. type ScheduleOutput struct{ *pulumi.OutputState } @@ -2619,6 +3046,12 @@ func (o ScheduleOutput) ToSchedulePtrOutputWithContext(ctx context.Context) Sche }).(SchedulePtrOutput) } +func (o ScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[Schedule] { + return pulumix.Output[Schedule]{ + OutputState: o.OutputState, + } +} + // A standard [cron](https://wikipedia.com/wiki/cron) string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur. func (o ScheduleOutput) CronSchedule() pulumi.StringPtrOutput { return o.ApplyT(func(v Schedule) *string { return v.CronSchedule }).(pulumi.StringPtrOutput) @@ -2643,6 +3076,12 @@ func (o SchedulePtrOutput) ToSchedulePtrOutputWithContext(ctx context.Context) S return o } +func (o SchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: o.OutputState, + } +} + func (o SchedulePtrOutput) Elem() ScheduleOutput { return o.ApplyT(func(v *Schedule) Schedule { if v != nil { @@ -2696,6 +3135,12 @@ func (o ScheduleResponseOutput) ToScheduleResponseOutputWithContext(ctx context. return o } +func (o ScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduleResponse] { + return pulumix.Output[ScheduleResponse]{ + OutputState: o.OutputState, + } +} + // A standard [cron](https://wikipedia.com/wiki/cron) string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur. func (o ScheduleResponseOutput) CronSchedule() pulumi.StringOutput { return o.ApplyT(func(v ScheduleResponse) string { return v.CronSchedule }).(pulumi.StringOutput) @@ -2757,6 +3202,12 @@ func (i SubstitutionRuleArgs) ToSubstitutionRuleOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SubstitutionRuleOutput) } +func (i SubstitutionRuleArgs) ToOutput(ctx context.Context) pulumix.Output[SubstitutionRule] { + return pulumix.Output[SubstitutionRule]{ + OutputState: i.ToSubstitutionRuleOutputWithContext(ctx).OutputState, + } +} + // SubstitutionRuleArrayInput is an input type that accepts SubstitutionRuleArray and SubstitutionRuleArrayOutput values. // You can construct a concrete instance of `SubstitutionRuleArrayInput` via: // @@ -2782,6 +3233,12 @@ func (i SubstitutionRuleArray) ToSubstitutionRuleArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SubstitutionRuleArrayOutput) } +func (i SubstitutionRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]SubstitutionRule] { + return pulumix.Output[[]SubstitutionRule]{ + OutputState: i.ToSubstitutionRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup. A rule contains both filtering logic (which resources are subject to substitution) and substitution logic. type SubstitutionRuleOutput struct{ *pulumi.OutputState } @@ -2797,6 +3254,12 @@ func (o SubstitutionRuleOutput) ToSubstitutionRuleOutputWithContext(ctx context. return o } +func (o SubstitutionRuleOutput) ToOutput(ctx context.Context) pulumix.Output[SubstitutionRule] { + return pulumix.Output[SubstitutionRule]{ + OutputState: o.OutputState, + } +} + // This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field unspecified, or set it to the empty string (""). func (o SubstitutionRuleOutput) NewValue() pulumi.StringPtrOutput { return o.ApplyT(func(v SubstitutionRule) *string { return v.NewValue }).(pulumi.StringPtrOutput) @@ -2836,6 +3299,12 @@ func (o SubstitutionRuleArrayOutput) ToSubstitutionRuleArrayOutputWithContext(ct return o } +func (o SubstitutionRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubstitutionRule] { + return pulumix.Output[[]SubstitutionRule]{ + OutputState: o.OutputState, + } +} + func (o SubstitutionRuleArrayOutput) Index(i pulumi.IntInput) SubstitutionRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubstitutionRule { return vs[0].([]SubstitutionRule)[vs[1].(int)] @@ -2871,6 +3340,12 @@ func (o SubstitutionRuleResponseOutput) ToSubstitutionRuleResponseOutputWithCont return o } +func (o SubstitutionRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubstitutionRuleResponse] { + return pulumix.Output[SubstitutionRuleResponse]{ + OutputState: o.OutputState, + } +} + // This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field unspecified, or set it to the empty string (""). func (o SubstitutionRuleResponseOutput) NewValue() pulumi.StringOutput { return o.ApplyT(func(v SubstitutionRuleResponse) string { return v.NewValue }).(pulumi.StringOutput) @@ -2910,6 +3385,12 @@ func (o SubstitutionRuleResponseArrayOutput) ToSubstitutionRuleResponseArrayOutp return o } +func (o SubstitutionRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SubstitutionRuleResponse] { + return pulumix.Output[[]SubstitutionRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o SubstitutionRuleResponseArrayOutput) Index(i pulumi.IntInput) SubstitutionRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubstitutionRuleResponse { return vs[0].([]SubstitutionRuleResponse)[vs[1].(int)] diff --git a/sdk/go/google/gkebackup/v1/restore.go b/sdk/go/google/gkebackup/v1/restore.go index e08a3c0a63..abaa7d2f07 100644 --- a/sdk/go/google/gkebackup/v1/restore.go +++ b/sdk/go/google/gkebackup/v1/restore.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Restore for the given RestorePlan. @@ -165,6 +166,12 @@ func (i *Restore) ToRestoreOutputWithContext(ctx context.Context) RestoreOutput return pulumi.ToOutputWithContext(ctx, i).(RestoreOutput) } +func (i *Restore) ToOutput(ctx context.Context) pulumix.Output[*Restore] { + return pulumix.Output[*Restore]{ + OutputState: i.ToRestoreOutputWithContext(ctx).OutputState, + } +} + type RestoreOutput struct{ *pulumi.OutputState } func (RestoreOutput) ElementType() reflect.Type { @@ -179,6 +186,12 @@ func (o RestoreOutput) ToRestoreOutputWithContext(ctx context.Context) RestoreOu return o } +func (o RestoreOutput) ToOutput(ctx context.Context) pulumix.Output[*Restore] { + return pulumix.Output[*Restore]{ + OutputState: o.OutputState, + } +} + // Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: `projects/*/locations/*/backupPlans/*/backups/*`. func (o RestoreOutput) Backup() pulumi.StringOutput { return o.ApplyT(func(v *Restore) pulumi.StringOutput { return v.Backup }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkebackup/v1/restorePlan.go b/sdk/go/google/gkebackup/v1/restorePlan.go index 8b1ea556e2..e3079f6333 100644 --- a/sdk/go/google/gkebackup/v1/restorePlan.go +++ b/sdk/go/google/gkebackup/v1/restorePlan.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new RestorePlan in a given location. @@ -158,6 +159,12 @@ func (i *RestorePlan) ToRestorePlanOutputWithContext(ctx context.Context) Restor return pulumi.ToOutputWithContext(ctx, i).(RestorePlanOutput) } +func (i *RestorePlan) ToOutput(ctx context.Context) pulumix.Output[*RestorePlan] { + return pulumix.Output[*RestorePlan]{ + OutputState: i.ToRestorePlanOutputWithContext(ctx).OutputState, + } +} + type RestorePlanOutput struct{ *pulumi.OutputState } func (RestorePlanOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o RestorePlanOutput) ToRestorePlanOutputWithContext(ctx context.Context) R return o } +func (o RestorePlanOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlan] { + return pulumix.Output[*RestorePlan]{ + OutputState: o.OutputState, + } +} + // Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format: `projects/*/locations/*/backupPlans/*`. func (o RestorePlanOutput) BackupPlan() pulumi.StringOutput { return o.ApplyT(func(v *RestorePlan) pulumi.StringOutput { return v.BackupPlan }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkebackup/v1/restorePlanIamBinding.go b/sdk/go/google/gkebackup/v1/restorePlanIamBinding.go index 5ba5819afa..a80ec1b757 100644 --- a/sdk/go/google/gkebackup/v1/restorePlanIamBinding.go +++ b/sdk/go/google/gkebackup/v1/restorePlanIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RestorePlanIamBinding) ToRestorePlanIamBindingOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RestorePlanIamBindingOutput) } +func (i *RestorePlanIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamBinding] { + return pulumix.Output[*RestorePlanIamBinding]{ + OutputState: i.ToRestorePlanIamBindingOutputWithContext(ctx).OutputState, + } +} + type RestorePlanIamBindingOutput struct{ *pulumi.OutputState } func (RestorePlanIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RestorePlanIamBindingOutput) ToRestorePlanIamBindingOutputWithContext(ct return o } +func (o RestorePlanIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamBinding] { + return pulumix.Output[*RestorePlanIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RestorePlanIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RestorePlanIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/restorePlanIamMember.go b/sdk/go/google/gkebackup/v1/restorePlanIamMember.go index 7b686d618b..a93a0afd1f 100644 --- a/sdk/go/google/gkebackup/v1/restorePlanIamMember.go +++ b/sdk/go/google/gkebackup/v1/restorePlanIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RestorePlanIamMember) ToRestorePlanIamMemberOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RestorePlanIamMemberOutput) } +func (i *RestorePlanIamMember) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamMember] { + return pulumix.Output[*RestorePlanIamMember]{ + OutputState: i.ToRestorePlanIamMemberOutputWithContext(ctx).OutputState, + } +} + type RestorePlanIamMemberOutput struct{ *pulumi.OutputState } func (RestorePlanIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RestorePlanIamMemberOutput) ToRestorePlanIamMemberOutputWithContext(ctx return o } +func (o RestorePlanIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamMember] { + return pulumix.Output[*RestorePlanIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RestorePlanIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RestorePlanIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/restorePlanIamPolicy.go b/sdk/go/google/gkebackup/v1/restorePlanIamPolicy.go index 474bbe8d84..24f81ca765 100644 --- a/sdk/go/google/gkebackup/v1/restorePlanIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/restorePlanIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RestorePlanIamPolicy) ToRestorePlanIamPolicyOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RestorePlanIamPolicyOutput) } +func (i *RestorePlanIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamPolicy] { + return pulumix.Output[*RestorePlanIamPolicy]{ + OutputState: i.ToRestorePlanIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RestorePlanIamPolicyOutput struct{ *pulumi.OutputState } func (RestorePlanIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RestorePlanIamPolicyOutput) ToRestorePlanIamPolicyOutputWithContext(ctx return o } +func (o RestorePlanIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamPolicy] { + return pulumix.Output[*RestorePlanIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RestorePlanIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RestorePlanIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkebackup/v1/restorePlanRestoreIamBinding.go b/sdk/go/google/gkebackup/v1/restorePlanRestoreIamBinding.go index 01c034b33b..4c5a31ae4a 100644 --- a/sdk/go/google/gkebackup/v1/restorePlanRestoreIamBinding.go +++ b/sdk/go/google/gkebackup/v1/restorePlanRestoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RestorePlanRestoreIamBinding) ToRestorePlanRestoreIamBindingOutputWithC return pulumi.ToOutputWithContext(ctx, i).(RestorePlanRestoreIamBindingOutput) } +func (i *RestorePlanRestoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreIamBinding] { + return pulumix.Output[*RestorePlanRestoreIamBinding]{ + OutputState: i.ToRestorePlanRestoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type RestorePlanRestoreIamBindingOutput struct{ *pulumi.OutputState } func (RestorePlanRestoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RestorePlanRestoreIamBindingOutput) ToRestorePlanRestoreIamBindingOutput return o } +func (o RestorePlanRestoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreIamBinding] { + return pulumix.Output[*RestorePlanRestoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RestorePlanRestoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RestorePlanRestoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/restorePlanRestoreIamMember.go b/sdk/go/google/gkebackup/v1/restorePlanRestoreIamMember.go index a4dcf9e42b..76ce611797 100644 --- a/sdk/go/google/gkebackup/v1/restorePlanRestoreIamMember.go +++ b/sdk/go/google/gkebackup/v1/restorePlanRestoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RestorePlanRestoreIamMember) ToRestorePlanRestoreIamMemberOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RestorePlanRestoreIamMemberOutput) } +func (i *RestorePlanRestoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreIamMember] { + return pulumix.Output[*RestorePlanRestoreIamMember]{ + OutputState: i.ToRestorePlanRestoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type RestorePlanRestoreIamMemberOutput struct{ *pulumi.OutputState } func (RestorePlanRestoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RestorePlanRestoreIamMemberOutput) ToRestorePlanRestoreIamMemberOutputWi return o } +func (o RestorePlanRestoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreIamMember] { + return pulumix.Output[*RestorePlanRestoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RestorePlanRestoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RestorePlanRestoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/restorePlanRestoreIamPolicy.go b/sdk/go/google/gkebackup/v1/restorePlanRestoreIamPolicy.go index a2b325d550..899f86c6c2 100644 --- a/sdk/go/google/gkebackup/v1/restorePlanRestoreIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/restorePlanRestoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *RestorePlanRestoreIamPolicy) ToRestorePlanRestoreIamPolicyOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RestorePlanRestoreIamPolicyOutput) } +func (i *RestorePlanRestoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreIamPolicy] { + return pulumix.Output[*RestorePlanRestoreIamPolicy]{ + OutputState: i.ToRestorePlanRestoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RestorePlanRestoreIamPolicyOutput struct{ *pulumi.OutputState } func (RestorePlanRestoreIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o RestorePlanRestoreIamPolicyOutput) ToRestorePlanRestoreIamPolicyOutputWi return o } +func (o RestorePlanRestoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreIamPolicy] { + return pulumix.Output[*RestorePlanRestoreIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RestorePlanRestoreIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RestorePlanRestoreIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamBinding.go b/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamBinding.go index a77fc7762f..9ce50844b8 100644 --- a/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamBinding.go +++ b/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RestorePlanRestoreVolumeRestoreIamBinding) ToRestorePlanRestoreVolumeRe return pulumi.ToOutputWithContext(ctx, i).(RestorePlanRestoreVolumeRestoreIamBindingOutput) } +func (i *RestorePlanRestoreVolumeRestoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreVolumeRestoreIamBinding] { + return pulumix.Output[*RestorePlanRestoreVolumeRestoreIamBinding]{ + OutputState: i.ToRestorePlanRestoreVolumeRestoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type RestorePlanRestoreVolumeRestoreIamBindingOutput struct{ *pulumi.OutputState } func (RestorePlanRestoreVolumeRestoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RestorePlanRestoreVolumeRestoreIamBindingOutput) ToRestorePlanRestoreVol return o } +func (o RestorePlanRestoreVolumeRestoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreVolumeRestoreIamBinding] { + return pulumix.Output[*RestorePlanRestoreVolumeRestoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RestorePlanRestoreVolumeRestoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RestorePlanRestoreVolumeRestoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamMember.go b/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamMember.go index b53eb1b011..3e3c93c280 100644 --- a/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamMember.go +++ b/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RestorePlanRestoreVolumeRestoreIamMember) ToRestorePlanRestoreVolumeRes return pulumi.ToOutputWithContext(ctx, i).(RestorePlanRestoreVolumeRestoreIamMemberOutput) } +func (i *RestorePlanRestoreVolumeRestoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreVolumeRestoreIamMember] { + return pulumix.Output[*RestorePlanRestoreVolumeRestoreIamMember]{ + OutputState: i.ToRestorePlanRestoreVolumeRestoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type RestorePlanRestoreVolumeRestoreIamMemberOutput struct{ *pulumi.OutputState } func (RestorePlanRestoreVolumeRestoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RestorePlanRestoreVolumeRestoreIamMemberOutput) ToRestorePlanRestoreVolu return o } +func (o RestorePlanRestoreVolumeRestoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreVolumeRestoreIamMember] { + return pulumix.Output[*RestorePlanRestoreVolumeRestoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RestorePlanRestoreVolumeRestoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RestorePlanRestoreVolumeRestoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamPolicy.go b/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamPolicy.go index 24963aecce..6b232d3160 100644 --- a/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamPolicy.go +++ b/sdk/go/google/gkebackup/v1/restorePlanRestoreVolumeRestoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -149,6 +150,12 @@ func (i *RestorePlanRestoreVolumeRestoreIamPolicy) ToRestorePlanRestoreVolumeRes return pulumi.ToOutputWithContext(ctx, i).(RestorePlanRestoreVolumeRestoreIamPolicyOutput) } +func (i *RestorePlanRestoreVolumeRestoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreVolumeRestoreIamPolicy] { + return pulumix.Output[*RestorePlanRestoreVolumeRestoreIamPolicy]{ + OutputState: i.ToRestorePlanRestoreVolumeRestoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RestorePlanRestoreVolumeRestoreIamPolicyOutput struct{ *pulumi.OutputState } func (RestorePlanRestoreVolumeRestoreIamPolicyOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o RestorePlanRestoreVolumeRestoreIamPolicyOutput) ToRestorePlanRestoreVolu return o } +func (o RestorePlanRestoreVolumeRestoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreVolumeRestoreIamPolicy] { + return pulumix.Output[*RestorePlanRestoreVolumeRestoreIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RestorePlanRestoreVolumeRestoreIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RestorePlanRestoreVolumeRestoreIamPolicy) AuditConfigResponseArrayOutput { diff --git a/sdk/go/google/gkehub/v1/binding.go b/sdk/go/google/gkehub/v1/binding.go index 8088afa1c7..598c731dc7 100644 --- a/sdk/go/google/gkehub/v1/binding.go +++ b/sdk/go/google/gkehub/v1/binding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a MembershipBinding. @@ -144,6 +145,12 @@ func (i *Binding) ToBindingOutputWithContext(ctx context.Context) BindingOutput return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i *Binding) ToOutput(ctx context.Context) pulumix.Output[*Binding] { + return pulumix.Output[*Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + type BindingOutput struct{ *pulumi.OutputState } func (BindingOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[*Binding] { + return pulumix.Output[*Binding]{ + OutputState: o.OutputState, + } +} + // When the membership binding was created. func (o BindingOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Binding) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1/feature.go b/sdk/go/google/gkehub/v1/feature.go index 3bce9b0625..fe07ad6aeb 100644 --- a/sdk/go/google/gkehub/v1/feature.go +++ b/sdk/go/google/gkehub/v1/feature.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Adds a new Feature. @@ -156,6 +157,12 @@ func (i *Feature) ToFeatureOutputWithContext(ctx context.Context) FeatureOutput return pulumi.ToOutputWithContext(ctx, i).(FeatureOutput) } +func (i *Feature) ToOutput(ctx context.Context) pulumix.Output[*Feature] { + return pulumix.Output[*Feature]{ + OutputState: i.ToFeatureOutputWithContext(ctx).OutputState, + } +} + type FeatureOutput struct{ *pulumi.OutputState } func (FeatureOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o FeatureOutput) ToFeatureOutputWithContext(ctx context.Context) FeatureOu return o } +func (o FeatureOutput) ToOutput(ctx context.Context) pulumix.Output[*Feature] { + return pulumix.Output[*Feature]{ + OutputState: o.OutputState, + } +} + // When the Feature resource was created. func (o FeatureOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Feature) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1/featureIamBinding.go b/sdk/go/google/gkehub/v1/featureIamBinding.go index a422ab02ac..b6f750fd52 100644 --- a/sdk/go/google/gkehub/v1/featureIamBinding.go +++ b/sdk/go/google/gkehub/v1/featureIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FeatureIamBinding) ToFeatureIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FeatureIamBindingOutput) } +func (i *FeatureIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamBinding] { + return pulumix.Output[*FeatureIamBinding]{ + OutputState: i.ToFeatureIamBindingOutputWithContext(ctx).OutputState, + } +} + type FeatureIamBindingOutput struct{ *pulumi.OutputState } func (FeatureIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FeatureIamBindingOutput) ToFeatureIamBindingOutputWithContext(ctx contex return o } +func (o FeatureIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamBinding] { + return pulumix.Output[*FeatureIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FeatureIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FeatureIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1/featureIamMember.go b/sdk/go/google/gkehub/v1/featureIamMember.go index e3e4f44860..46d0780f11 100644 --- a/sdk/go/google/gkehub/v1/featureIamMember.go +++ b/sdk/go/google/gkehub/v1/featureIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FeatureIamMember) ToFeatureIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FeatureIamMemberOutput) } +func (i *FeatureIamMember) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamMember] { + return pulumix.Output[*FeatureIamMember]{ + OutputState: i.ToFeatureIamMemberOutputWithContext(ctx).OutputState, + } +} + type FeatureIamMemberOutput struct{ *pulumi.OutputState } func (FeatureIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FeatureIamMemberOutput) ToFeatureIamMemberOutputWithContext(ctx context. return o } +func (o FeatureIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamMember] { + return pulumix.Output[*FeatureIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FeatureIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FeatureIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1/featureIamPolicy.go b/sdk/go/google/gkehub/v1/featureIamPolicy.go index d5d3f34e25..84d16d8688 100644 --- a/sdk/go/google/gkehub/v1/featureIamPolicy.go +++ b/sdk/go/google/gkehub/v1/featureIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FeatureIamPolicy) ToFeatureIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FeatureIamPolicyOutput) } +func (i *FeatureIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamPolicy] { + return pulumix.Output[*FeatureIamPolicy]{ + OutputState: i.ToFeatureIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FeatureIamPolicyOutput struct{ *pulumi.OutputState } func (FeatureIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FeatureIamPolicyOutput) ToFeatureIamPolicyOutputWithContext(ctx context. return o } +func (o FeatureIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamPolicy] { + return pulumix.Output[*FeatureIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FeatureIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FeatureIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1/getBinding.go b/sdk/go/google/gkehub/v1/getBinding.go index aac8a8316c..34253135db 100644 --- a/sdk/go/google/gkehub/v1/getBinding.go +++ b/sdk/go/google/gkehub/v1/getBinding.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a MembershipBinding. @@ -86,6 +87,12 @@ func (o LookupBindingResultOutput) ToLookupBindingResultOutputWithContext(ctx co return o } +func (o LookupBindingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBindingResult] { + return pulumix.Output[LookupBindingResult]{ + OutputState: o.OutputState, + } +} + // When the membership binding was created. func (o LookupBindingResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBindingResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1/getFeature.go b/sdk/go/google/gkehub/v1/getFeature.go index 0ec3e00898..dd34cdb70a 100644 --- a/sdk/go/google/gkehub/v1/getFeature.go +++ b/sdk/go/google/gkehub/v1/getFeature.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Feature. @@ -94,6 +95,12 @@ func (o LookupFeatureResultOutput) ToLookupFeatureResultOutputWithContext(ctx co return o } +func (o LookupFeatureResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFeatureResult] { + return pulumix.Output[LookupFeatureResult]{ + OutputState: o.OutputState, + } +} + // When the Feature resource was created. func (o LookupFeatureResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFeatureResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1/getFeatureIamPolicy.go b/sdk/go/google/gkehub/v1/getFeatureIamPolicy.go index 73c3127ba9..e08d4fb74d 100644 --- a/sdk/go/google/gkehub/v1/getFeatureIamPolicy.go +++ b/sdk/go/google/gkehub/v1/getFeatureIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupFeatureIamPolicyResultOutput) ToLookupFeatureIamPolicyResultOutput return o } +func (o LookupFeatureIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFeatureIamPolicyResult] { + return pulumix.Output[LookupFeatureIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFeatureIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFeatureIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1/getMembership.go b/sdk/go/google/gkehub/v1/getMembership.go index f9f3933632..308ebfa3a3 100644 --- a/sdk/go/google/gkehub/v1/getMembership.go +++ b/sdk/go/google/gkehub/v1/getMembership.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a Membership. @@ -94,6 +95,12 @@ func (o LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext( return o } +func (o LookupMembershipResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipResult] { + return pulumix.Output[LookupMembershipResult]{ + OutputState: o.OutputState, + } +} + // Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity func (o LookupMembershipResultOutput) Authority() AuthorityResponseOutput { return o.ApplyT(func(v LookupMembershipResult) AuthorityResponse { return v.Authority }).(AuthorityResponseOutput) diff --git a/sdk/go/google/gkehub/v1/getMembershipIamPolicy.go b/sdk/go/google/gkehub/v1/getMembershipIamPolicy.go index 4573543316..6c3b6c2b81 100644 --- a/sdk/go/google/gkehub/v1/getMembershipIamPolicy.go +++ b/sdk/go/google/gkehub/v1/getMembershipIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupMembershipIamPolicyResultOutput) ToLookupMembershipIamPolicyResult return o } +func (o LookupMembershipIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipIamPolicyResult] { + return pulumix.Output[LookupMembershipIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMembershipIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMembershipIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1/getScope.go b/sdk/go/google/gkehub/v1/getScope.go index ee44362ea3..920c871fc1 100644 --- a/sdk/go/google/gkehub/v1/getScope.go +++ b/sdk/go/google/gkehub/v1/getScope.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a Scope. @@ -82,6 +83,12 @@ func (o LookupScopeResultOutput) ToLookupScopeResultOutputWithContext(ctx contex return o } +func (o LookupScopeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupScopeResult] { + return pulumix.Output[LookupScopeResult]{ + OutputState: o.OutputState, + } +} + // If true, all Memberships in the Fleet bind to this Scope. func (o LookupScopeResultOutput) AllMemberships() pulumi.BoolOutput { return o.ApplyT(func(v LookupScopeResult) bool { return v.AllMemberships }).(pulumi.BoolOutput) diff --git a/sdk/go/google/gkehub/v1/membership.go b/sdk/go/google/gkehub/v1/membership.go index 46ee2cfc34..2ea3f28de0 100644 --- a/sdk/go/google/gkehub/v1/membership.go +++ b/sdk/go/google/gkehub/v1/membership.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster. @@ -161,6 +162,12 @@ func (i *Membership) ToMembershipOutputWithContext(ctx context.Context) Membersh return pulumi.ToOutputWithContext(ctx, i).(MembershipOutput) } +func (i *Membership) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: i.ToMembershipOutputWithContext(ctx).OutputState, + } +} + type MembershipOutput struct{ *pulumi.OutputState } func (MembershipOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o MembershipOutput) ToMembershipOutputWithContext(ctx context.Context) Mem return o } +func (o MembershipOutput) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: o.OutputState, + } +} + // Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity func (o MembershipOutput) Authority() AuthorityResponseOutput { return o.ApplyT(func(v *Membership) AuthorityResponseOutput { return v.Authority }).(AuthorityResponseOutput) diff --git a/sdk/go/google/gkehub/v1/membershipIamBinding.go b/sdk/go/google/gkehub/v1/membershipIamBinding.go index 2e7e275d30..cd8e53ea28 100644 --- a/sdk/go/google/gkehub/v1/membershipIamBinding.go +++ b/sdk/go/google/gkehub/v1/membershipIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamBinding) ToMembershipIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(MembershipIamBindingOutput) } +func (i *MembershipIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamBinding] { + return pulumix.Output[*MembershipIamBinding]{ + OutputState: i.ToMembershipIamBindingOutputWithContext(ctx).OutputState, + } +} + type MembershipIamBindingOutput struct{ *pulumi.OutputState } func (MembershipIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamBindingOutput) ToMembershipIamBindingOutputWithContext(ctx return o } +func (o MembershipIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamBinding] { + return pulumix.Output[*MembershipIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MembershipIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MembershipIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1/membershipIamMember.go b/sdk/go/google/gkehub/v1/membershipIamMember.go index 84a389f416..d74fff1df1 100644 --- a/sdk/go/google/gkehub/v1/membershipIamMember.go +++ b/sdk/go/google/gkehub/v1/membershipIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamMember) ToMembershipIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipIamMemberOutput) } +func (i *MembershipIamMember) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamMember] { + return pulumix.Output[*MembershipIamMember]{ + OutputState: i.ToMembershipIamMemberOutputWithContext(ctx).OutputState, + } +} + type MembershipIamMemberOutput struct{ *pulumi.OutputState } func (MembershipIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamMemberOutput) ToMembershipIamMemberOutputWithContext(ctx co return o } +func (o MembershipIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamMember] { + return pulumix.Output[*MembershipIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MembershipIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MembershipIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1/membershipIamPolicy.go b/sdk/go/google/gkehub/v1/membershipIamPolicy.go index fe79dede5d..4ee6c72305 100644 --- a/sdk/go/google/gkehub/v1/membershipIamPolicy.go +++ b/sdk/go/google/gkehub/v1/membershipIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamPolicy) ToMembershipIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipIamPolicyOutput) } +func (i *MembershipIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamPolicy] { + return pulumix.Output[*MembershipIamPolicy]{ + OutputState: i.ToMembershipIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MembershipIamPolicyOutput struct{ *pulumi.OutputState } func (MembershipIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamPolicyOutput) ToMembershipIamPolicyOutputWithContext(ctx co return o } +func (o MembershipIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamPolicy] { + return pulumix.Output[*MembershipIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MembershipIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MembershipIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1/pulumiEnums.go b/sdk/go/google/gkehub/v1/pulumiEnums.go index ee2ad8b980..29215f6556 100644 --- a/sdk/go/google/gkehub/v1/pulumiEnums.go +++ b/sdk/go/google/gkehub/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The on prem cluster's type. type OnPremClusterClusterType string @@ -257,6 +276,12 @@ func (o OnPremClusterClusterTypeOutput) ToOnPremClusterClusterTypePtrOutputWithC }).(OnPremClusterClusterTypePtrOutput) } +func (o OnPremClusterClusterTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremClusterClusterType] { + return pulumix.Output[OnPremClusterClusterType]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterClusterTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -292,6 +317,12 @@ func (o OnPremClusterClusterTypePtrOutput) ToOnPremClusterClusterTypePtrOutputWi return o } +func (o OnPremClusterClusterTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OnPremClusterClusterType] { + return pulumix.Output[*OnPremClusterClusterType]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterClusterTypePtrOutput) Elem() OnPremClusterClusterTypeOutput { return o.ApplyT(func(v *OnPremClusterClusterType) OnPremClusterClusterType { if v != nil { @@ -354,6 +385,12 @@ func (in *onPremClusterClusterTypePtr) ToOnPremClusterClusterTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(OnPremClusterClusterTypePtrOutput) } +func (in *onPremClusterClusterTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OnPremClusterClusterType] { + return pulumix.Output[*OnPremClusterClusterType]{ + OutputState: in.ToOnPremClusterClusterTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/gkehub/v1/pulumiTypes.go b/sdk/go/google/gkehub/v1/pulumiTypes.go index f4e1927c69..bcb2a571cb 100644 --- a/sdk/go/google/gkehub/v1/pulumiTypes.go +++ b/sdk/go/google/gkehub/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -44,6 +45,12 @@ func (i AppDevExperienceFeatureSpecArgs) ToAppDevExperienceFeatureSpecOutputWith return pulumi.ToOutputWithContext(ctx, i).(AppDevExperienceFeatureSpecOutput) } +func (i AppDevExperienceFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureSpec] { + return pulumix.Output[AppDevExperienceFeatureSpec]{ + OutputState: i.ToAppDevExperienceFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i AppDevExperienceFeatureSpecArgs) ToAppDevExperienceFeatureSpecPtrOutput() AppDevExperienceFeatureSpecPtrOutput { return i.ToAppDevExperienceFeatureSpecPtrOutputWithContext(context.Background()) } @@ -85,6 +92,12 @@ func (i *appDevExperienceFeatureSpecPtrType) ToAppDevExperienceFeatureSpecPtrOut return pulumi.ToOutputWithContext(ctx, i).(AppDevExperienceFeatureSpecPtrOutput) } +func (i *appDevExperienceFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppDevExperienceFeatureSpec] { + return pulumix.Output[*AppDevExperienceFeatureSpec]{ + OutputState: i.ToAppDevExperienceFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Spec for App Dev Experience Feature. type AppDevExperienceFeatureSpecOutput struct{ *pulumi.OutputState } @@ -110,6 +123,12 @@ func (o AppDevExperienceFeatureSpecOutput) ToAppDevExperienceFeatureSpecPtrOutpu }).(AppDevExperienceFeatureSpecPtrOutput) } +func (o AppDevExperienceFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureSpec] { + return pulumix.Output[AppDevExperienceFeatureSpec]{ + OutputState: o.OutputState, + } +} + type AppDevExperienceFeatureSpecPtrOutput struct{ *pulumi.OutputState } func (AppDevExperienceFeatureSpecPtrOutput) ElementType() reflect.Type { @@ -124,6 +143,12 @@ func (o AppDevExperienceFeatureSpecPtrOutput) ToAppDevExperienceFeatureSpecPtrOu return o } +func (o AppDevExperienceFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppDevExperienceFeatureSpec] { + return pulumix.Output[*AppDevExperienceFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o AppDevExperienceFeatureSpecPtrOutput) Elem() AppDevExperienceFeatureSpecOutput { return o.ApplyT(func(v *AppDevExperienceFeatureSpec) AppDevExperienceFeatureSpec { if v != nil { @@ -153,6 +178,12 @@ func (o AppDevExperienceFeatureSpecResponseOutput) ToAppDevExperienceFeatureSpec return o } +func (o AppDevExperienceFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureSpecResponse] { + return pulumix.Output[AppDevExperienceFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // State for App Dev Exp Feature. type AppDevExperienceFeatureStateResponse struct { // Status of subcomponent that detects configured Service Mesh resources. @@ -174,6 +205,12 @@ func (o AppDevExperienceFeatureStateResponseOutput) ToAppDevExperienceFeatureSta return o } +func (o AppDevExperienceFeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureStateResponse] { + return pulumix.Output[AppDevExperienceFeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // Status of subcomponent that detects configured Service Mesh resources. func (o AppDevExperienceFeatureStateResponseOutput) NetworkingInstallSucceeded() StatusResponseOutput { return o.ApplyT(func(v AppDevExperienceFeatureStateResponse) StatusResponse { return v.NetworkingInstallSucceeded }).(StatusResponseOutput) @@ -214,6 +251,12 @@ func (i ApplianceClusterArgs) ToApplianceClusterOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ApplianceClusterOutput) } +func (i ApplianceClusterArgs) ToOutput(ctx context.Context) pulumix.Output[ApplianceCluster] { + return pulumix.Output[ApplianceCluster]{ + OutputState: i.ToApplianceClusterOutputWithContext(ctx).OutputState, + } +} + func (i ApplianceClusterArgs) ToApplianceClusterPtrOutput() ApplianceClusterPtrOutput { return i.ToApplianceClusterPtrOutputWithContext(context.Background()) } @@ -255,6 +298,12 @@ func (i *applianceClusterPtrType) ToApplianceClusterPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ApplianceClusterPtrOutput) } +func (i *applianceClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApplianceCluster] { + return pulumix.Output[*ApplianceCluster]{ + OutputState: i.ToApplianceClusterPtrOutputWithContext(ctx).OutputState, + } +} + // ApplianceCluster contains information specific to GDC Edge Appliance Clusters. type ApplianceClusterOutput struct{ *pulumi.OutputState } @@ -280,6 +329,12 @@ func (o ApplianceClusterOutput) ToApplianceClusterPtrOutputWithContext(ctx conte }).(ApplianceClusterPtrOutput) } +func (o ApplianceClusterOutput) ToOutput(ctx context.Context) pulumix.Output[ApplianceCluster] { + return pulumix.Output[ApplianceCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance func (o ApplianceClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v ApplianceCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -299,6 +354,12 @@ func (o ApplianceClusterPtrOutput) ToApplianceClusterPtrOutputWithContext(ctx co return o } +func (o ApplianceClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplianceCluster] { + return pulumix.Output[*ApplianceCluster]{ + OutputState: o.OutputState, + } +} + func (o ApplianceClusterPtrOutput) Elem() ApplianceClusterOutput { return o.ApplyT(func(v *ApplianceCluster) ApplianceCluster { if v != nil { @@ -340,6 +401,12 @@ func (o ApplianceClusterResponseOutput) ToApplianceClusterResponseOutputWithCont return o } +func (o ApplianceClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApplianceClusterResponse] { + return pulumix.Output[ApplianceClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance func (o ApplianceClusterResponseOutput) ResourceLink() pulumi.StringOutput { return o.ApplyT(func(v ApplianceClusterResponse) string { return v.ResourceLink }).(pulumi.StringOutput) @@ -384,6 +451,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -409,6 +482,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -424,6 +503,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -448,6 +533,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -477,6 +568,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -501,6 +598,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -546,6 +649,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -571,6 +680,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -586,6 +701,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -610,6 +731,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -639,6 +766,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -663,6 +796,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -708,6 +847,12 @@ func (i AuthorityArgs) ToAuthorityOutputWithContext(ctx context.Context) Authori return pulumi.ToOutputWithContext(ctx, i).(AuthorityOutput) } +func (i AuthorityArgs) ToOutput(ctx context.Context) pulumix.Output[Authority] { + return pulumix.Output[Authority]{ + OutputState: i.ToAuthorityOutputWithContext(ctx).OutputState, + } +} + func (i AuthorityArgs) ToAuthorityPtrOutput() AuthorityPtrOutput { return i.ToAuthorityPtrOutputWithContext(context.Background()) } @@ -749,6 +894,12 @@ func (i *authorityPtrType) ToAuthorityPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AuthorityPtrOutput) } +func (i *authorityPtrType) ToOutput(ctx context.Context) pulumix.Output[*Authority] { + return pulumix.Output[*Authority]{ + OutputState: i.ToAuthorityPtrOutputWithContext(ctx).OutputState, + } +} + // Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity type AuthorityOutput struct{ *pulumi.OutputState } @@ -774,6 +925,12 @@ func (o AuthorityOutput) ToAuthorityPtrOutputWithContext(ctx context.Context) Au }).(AuthorityPtrOutput) } +func (o AuthorityOutput) ToOutput(ctx context.Context) pulumix.Output[Authority] { + return pulumix.Output[Authority]{ + OutputState: o.OutputState, + } +} + // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity). func (o AuthorityOutput) Issuer() pulumi.StringPtrOutput { return o.ApplyT(func(v Authority) *string { return v.Issuer }).(pulumi.StringPtrOutput) @@ -798,6 +955,12 @@ func (o AuthorityPtrOutput) ToAuthorityPtrOutputWithContext(ctx context.Context) return o } +func (o AuthorityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Authority] { + return pulumix.Output[*Authority]{ + OutputState: o.OutputState, + } +} + func (o AuthorityPtrOutput) Elem() AuthorityOutput { return o.ApplyT(func(v *Authority) Authority { if v != nil { @@ -855,6 +1018,12 @@ func (o AuthorityResponseOutput) ToAuthorityResponseOutputWithContext(ctx contex return o } +func (o AuthorityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorityResponse] { + return pulumix.Output[AuthorityResponse]{ + OutputState: o.OutputState, + } +} + // An identity provider that reflects the `issuer` in the workload identity pool. func (o AuthorityResponseOutput) IdentityProvider() pulumi.StringOutput { return o.ApplyT(func(v AuthorityResponse) string { return v.IdentityProvider }).(pulumi.StringOutput) @@ -918,6 +1087,12 @@ func (i BindingTypeArgs) ToBindingTypeOutputWithContext(ctx context.Context) Bin return pulumi.ToOutputWithContext(ctx, i).(BindingTypeOutput) } +func (i BindingTypeArgs) ToOutput(ctx context.Context) pulumix.Output[BindingType] { + return pulumix.Output[BindingType]{ + OutputState: i.ToBindingTypeOutputWithContext(ctx).OutputState, + } +} + // BindingTypeArrayInput is an input type that accepts BindingTypeArray and BindingTypeArrayOutput values. // You can construct a concrete instance of `BindingTypeArrayInput` via: // @@ -943,6 +1118,12 @@ func (i BindingTypeArray) ToBindingTypeArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BindingTypeArrayOutput) } +func (i BindingTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]BindingType] { + return pulumix.Output[[]BindingType]{ + OutputState: i.ToBindingTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingTypeOutput struct{ *pulumi.OutputState } @@ -958,6 +1139,12 @@ func (o BindingTypeOutput) ToBindingTypeOutputWithContext(ctx context.Context) B return o } +func (o BindingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BindingType] { + return pulumix.Output[BindingType]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingTypeOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v BindingType) *Expr { return v.Condition }).(ExprPtrOutput) @@ -987,6 +1174,12 @@ func (o BindingTypeArrayOutput) ToBindingTypeArrayOutputWithContext(ctx context. return o } +func (o BindingTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingType] { + return pulumix.Output[[]BindingType]{ + OutputState: o.OutputState, + } +} + func (o BindingTypeArrayOutput) Index(i pulumi.IntInput) BindingTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingType { return vs[0].([]BindingType)[vs[1].(int)] @@ -1018,6 +1211,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1047,6 +1246,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1096,6 +1301,12 @@ func (i CommonFeatureSpecArgs) ToCommonFeatureSpecOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CommonFeatureSpecOutput) } +func (i CommonFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureSpec] { + return pulumix.Output[CommonFeatureSpec]{ + OutputState: i.ToCommonFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i CommonFeatureSpecArgs) ToCommonFeatureSpecPtrOutput() CommonFeatureSpecPtrOutput { return i.ToCommonFeatureSpecPtrOutputWithContext(context.Background()) } @@ -1137,6 +1348,12 @@ func (i *commonFeatureSpecPtrType) ToCommonFeatureSpecPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CommonFeatureSpecPtrOutput) } +func (i *commonFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*CommonFeatureSpec] { + return pulumix.Output[*CommonFeatureSpec]{ + OutputState: i.ToCommonFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // CommonFeatureSpec contains Hub-wide configuration information type CommonFeatureSpecOutput struct{ *pulumi.OutputState } @@ -1162,6 +1379,12 @@ func (o CommonFeatureSpecOutput) ToCommonFeatureSpecPtrOutputWithContext(ctx con }).(CommonFeatureSpecPtrOutput) } +func (o CommonFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureSpec] { + return pulumix.Output[CommonFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Appdevexperience specific spec. func (o CommonFeatureSpecOutput) Appdevexperience() AppDevExperienceFeatureSpecPtrOutput { return o.ApplyT(func(v CommonFeatureSpec) *AppDevExperienceFeatureSpec { return v.Appdevexperience }).(AppDevExperienceFeatureSpecPtrOutput) @@ -1191,6 +1414,12 @@ func (o CommonFeatureSpecPtrOutput) ToCommonFeatureSpecPtrOutputWithContext(ctx return o } +func (o CommonFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CommonFeatureSpec] { + return pulumix.Output[*CommonFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o CommonFeatureSpecPtrOutput) Elem() CommonFeatureSpecOutput { return o.ApplyT(func(v *CommonFeatureSpec) CommonFeatureSpec { if v != nil { @@ -1256,6 +1485,12 @@ func (o CommonFeatureSpecResponseOutput) ToCommonFeatureSpecResponseOutputWithCo return o } +func (o CommonFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureSpecResponse] { + return pulumix.Output[CommonFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Appdevexperience specific spec. func (o CommonFeatureSpecResponseOutput) Appdevexperience() AppDevExperienceFeatureSpecResponseOutput { return o.ApplyT(func(v CommonFeatureSpecResponse) AppDevExperienceFeatureSpecResponse { return v.Appdevexperience }).(AppDevExperienceFeatureSpecResponseOutput) @@ -1296,6 +1531,12 @@ func (o CommonFeatureStateResponseOutput) ToCommonFeatureStateResponseOutputWith return o } +func (o CommonFeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureStateResponse] { + return pulumix.Output[CommonFeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // Appdevexperience specific state. func (o CommonFeatureStateResponseOutput) Appdevexperience() AppDevExperienceFeatureStateResponseOutput { return o.ApplyT(func(v CommonFeatureStateResponse) AppDevExperienceFeatureStateResponse { return v.Appdevexperience }).(AppDevExperienceFeatureStateResponseOutput) @@ -1342,6 +1583,12 @@ func (i CommonFleetDefaultMemberConfigSpecArgs) ToCommonFleetDefaultMemberConfig return pulumi.ToOutputWithContext(ctx, i).(CommonFleetDefaultMemberConfigSpecOutput) } +func (i CommonFleetDefaultMemberConfigSpecArgs) ToOutput(ctx context.Context) pulumix.Output[CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[CommonFleetDefaultMemberConfigSpec]{ + OutputState: i.ToCommonFleetDefaultMemberConfigSpecOutputWithContext(ctx).OutputState, + } +} + func (i CommonFleetDefaultMemberConfigSpecArgs) ToCommonFleetDefaultMemberConfigSpecPtrOutput() CommonFleetDefaultMemberConfigSpecPtrOutput { return i.ToCommonFleetDefaultMemberConfigSpecPtrOutputWithContext(context.Background()) } @@ -1383,6 +1630,12 @@ func (i *commonFleetDefaultMemberConfigSpecPtrType) ToCommonFleetDefaultMemberCo return pulumi.ToOutputWithContext(ctx, i).(CommonFleetDefaultMemberConfigSpecPtrOutput) } +func (i *commonFleetDefaultMemberConfigSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[*CommonFleetDefaultMemberConfigSpec]{ + OutputState: i.ToCommonFleetDefaultMemberConfigSpecPtrOutputWithContext(ctx).OutputState, + } +} + // CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet type CommonFleetDefaultMemberConfigSpecOutput struct{ *pulumi.OutputState } @@ -1408,6 +1661,12 @@ func (o CommonFleetDefaultMemberConfigSpecOutput) ToCommonFleetDefaultMemberConf }).(CommonFleetDefaultMemberConfigSpecPtrOutput) } +func (o CommonFleetDefaultMemberConfigSpecOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[CommonFleetDefaultMemberConfigSpec]{ + OutputState: o.OutputState, + } +} + type CommonFleetDefaultMemberConfigSpecPtrOutput struct{ *pulumi.OutputState } func (CommonFleetDefaultMemberConfigSpecPtrOutput) ElementType() reflect.Type { @@ -1422,6 +1681,12 @@ func (o CommonFleetDefaultMemberConfigSpecPtrOutput) ToCommonFleetDefaultMemberC return o } +func (o CommonFleetDefaultMemberConfigSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[*CommonFleetDefaultMemberConfigSpec]{ + OutputState: o.OutputState, + } +} + func (o CommonFleetDefaultMemberConfigSpecPtrOutput) Elem() CommonFleetDefaultMemberConfigSpecOutput { return o.ApplyT(func(v *CommonFleetDefaultMemberConfigSpec) CommonFleetDefaultMemberConfigSpec { if v != nil { @@ -1451,6 +1716,12 @@ func (o CommonFleetDefaultMemberConfigSpecResponseOutput) ToCommonFleetDefaultMe return o } +func (o CommonFleetDefaultMemberConfigSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFleetDefaultMemberConfigSpecResponse] { + return pulumix.Output[CommonFleetDefaultMemberConfigSpecResponse]{ + OutputState: o.OutputState, + } +} + // EdgeCluster contains information specific to Google Edge Clusters. type EdgeCluster struct { // Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster @@ -1486,6 +1757,12 @@ func (i EdgeClusterArgs) ToEdgeClusterOutputWithContext(ctx context.Context) Edg return pulumi.ToOutputWithContext(ctx, i).(EdgeClusterOutput) } +func (i EdgeClusterArgs) ToOutput(ctx context.Context) pulumix.Output[EdgeCluster] { + return pulumix.Output[EdgeCluster]{ + OutputState: i.ToEdgeClusterOutputWithContext(ctx).OutputState, + } +} + func (i EdgeClusterArgs) ToEdgeClusterPtrOutput() EdgeClusterPtrOutput { return i.ToEdgeClusterPtrOutputWithContext(context.Background()) } @@ -1527,6 +1804,12 @@ func (i *edgeClusterPtrType) ToEdgeClusterPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(EdgeClusterPtrOutput) } +func (i *edgeClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*EdgeCluster] { + return pulumix.Output[*EdgeCluster]{ + OutputState: i.ToEdgeClusterPtrOutputWithContext(ctx).OutputState, + } +} + // EdgeCluster contains information specific to Google Edge Clusters. type EdgeClusterOutput struct{ *pulumi.OutputState } @@ -1552,6 +1835,12 @@ func (o EdgeClusterOutput) ToEdgeClusterPtrOutputWithContext(ctx context.Context }).(EdgeClusterPtrOutput) } +func (o EdgeClusterOutput) ToOutput(ctx context.Context) pulumix.Output[EdgeCluster] { + return pulumix.Output[EdgeCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster func (o EdgeClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v EdgeCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -1571,6 +1860,12 @@ func (o EdgeClusterPtrOutput) ToEdgeClusterPtrOutputWithContext(ctx context.Cont return o } +func (o EdgeClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCluster] { + return pulumix.Output[*EdgeCluster]{ + OutputState: o.OutputState, + } +} + func (o EdgeClusterPtrOutput) Elem() EdgeClusterOutput { return o.ApplyT(func(v *EdgeCluster) EdgeCluster { if v != nil { @@ -1612,6 +1907,12 @@ func (o EdgeClusterResponseOutput) ToEdgeClusterResponseOutputWithContext(ctx co return o } +func (o EdgeClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EdgeClusterResponse] { + return pulumix.Output[EdgeClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster func (o EdgeClusterResponseOutput) ResourceLink() pulumi.StringOutput { return o.ApplyT(func(v EdgeClusterResponse) string { return v.ResourceLink }).(pulumi.StringOutput) @@ -1664,6 +1965,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1705,6 +2012,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1730,6 +2043,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1764,6 +2083,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1841,6 +2166,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1882,6 +2213,12 @@ func (o FeatureResourceStateResponseOutput) ToFeatureResourceStateResponseOutput return o } +func (o FeatureResourceStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureResourceStateResponse] { + return pulumix.Output[FeatureResourceStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Feature resource in the Hub API. func (o FeatureResourceStateResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v FeatureResourceStateResponse) string { return v.State }).(pulumi.StringOutput) @@ -1912,6 +2249,12 @@ func (o FeatureStateResponseOutput) ToFeatureStateResponseOutputWithContext(ctx return o } +func (o FeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureStateResponse] { + return pulumix.Output[FeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // The high-level, machine-readable status of this Feature. func (o FeatureStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v FeatureStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -1958,6 +2301,12 @@ func (i FleetObservabilityFeatureSpecArgs) ToFleetObservabilityFeatureSpecOutput return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityFeatureSpecOutput) } +func (i FleetObservabilityFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureSpec] { + return pulumix.Output[FleetObservabilityFeatureSpec]{ + OutputState: i.ToFleetObservabilityFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i FleetObservabilityFeatureSpecArgs) ToFleetObservabilityFeatureSpecPtrOutput() FleetObservabilityFeatureSpecPtrOutput { return i.ToFleetObservabilityFeatureSpecPtrOutputWithContext(context.Background()) } @@ -1999,6 +2348,12 @@ func (i *fleetObservabilityFeatureSpecPtrType) ToFleetObservabilityFeatureSpecPt return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityFeatureSpecPtrOutput) } +func (i *fleetObservabilityFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityFeatureSpec] { + return pulumix.Output[*FleetObservabilityFeatureSpec]{ + OutputState: i.ToFleetObservabilityFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Fleet Observability**: The Hub-wide input for the FleetObservability feature. type FleetObservabilityFeatureSpecOutput struct{ *pulumi.OutputState } @@ -2024,6 +2379,12 @@ func (o FleetObservabilityFeatureSpecOutput) ToFleetObservabilityFeatureSpecPtrO }).(FleetObservabilityFeatureSpecPtrOutput) } +func (o FleetObservabilityFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureSpec] { + return pulumix.Output[FleetObservabilityFeatureSpec]{ + OutputState: o.OutputState, + } +} + type FleetObservabilityFeatureSpecPtrOutput struct{ *pulumi.OutputState } func (FleetObservabilityFeatureSpecPtrOutput) ElementType() reflect.Type { @@ -2038,6 +2399,12 @@ func (o FleetObservabilityFeatureSpecPtrOutput) ToFleetObservabilityFeatureSpecP return o } +func (o FleetObservabilityFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityFeatureSpec] { + return pulumix.Output[*FleetObservabilityFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityFeatureSpecPtrOutput) Elem() FleetObservabilityFeatureSpecOutput { return o.ApplyT(func(v *FleetObservabilityFeatureSpec) FleetObservabilityFeatureSpec { if v != nil { @@ -2067,6 +2434,12 @@ func (o FleetObservabilityFeatureSpecResponseOutput) ToFleetObservabilityFeature return o } +func (o FleetObservabilityFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureSpecResponse] { + return pulumix.Output[FleetObservabilityFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // **FleetObservability**: An empty state left as an example Hub-wide Feature state. type FleetObservabilityFeatureStateResponse struct { } @@ -2086,6 +2459,12 @@ func (o FleetObservabilityFeatureStateResponseOutput) ToFleetObservabilityFeatur return o } +func (o FleetObservabilityFeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureStateResponse] { + return pulumix.Output[FleetObservabilityFeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // GkeCluster contains information specific to GKE clusters. type GkeCluster struct { // Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported. @@ -2121,6 +2500,12 @@ func (i GkeClusterArgs) ToGkeClusterOutputWithContext(ctx context.Context) GkeCl return pulumi.ToOutputWithContext(ctx, i).(GkeClusterOutput) } +func (i GkeClusterArgs) ToOutput(ctx context.Context) pulumix.Output[GkeCluster] { + return pulumix.Output[GkeCluster]{ + OutputState: i.ToGkeClusterOutputWithContext(ctx).OutputState, + } +} + func (i GkeClusterArgs) ToGkeClusterPtrOutput() GkeClusterPtrOutput { return i.ToGkeClusterPtrOutputWithContext(context.Background()) } @@ -2162,6 +2547,12 @@ func (i *gkeClusterPtrType) ToGkeClusterPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GkeClusterPtrOutput) } +func (i *gkeClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeCluster] { + return pulumix.Output[*GkeCluster]{ + OutputState: i.ToGkeClusterPtrOutputWithContext(ctx).OutputState, + } +} + // GkeCluster contains information specific to GKE clusters. type GkeClusterOutput struct{ *pulumi.OutputState } @@ -2187,6 +2578,12 @@ func (o GkeClusterOutput) ToGkeClusterPtrOutputWithContext(ctx context.Context) }).(GkeClusterPtrOutput) } +func (o GkeClusterOutput) ToOutput(ctx context.Context) pulumix.Output[GkeCluster] { + return pulumix.Output[GkeCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported. func (o GkeClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v GkeCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -2206,6 +2603,12 @@ func (o GkeClusterPtrOutput) ToGkeClusterPtrOutputWithContext(ctx context.Contex return o } +func (o GkeClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeCluster] { + return pulumix.Output[*GkeCluster]{ + OutputState: o.OutputState, + } +} + func (o GkeClusterPtrOutput) Elem() GkeClusterOutput { return o.ApplyT(func(v *GkeCluster) GkeCluster { if v != nil { @@ -2249,6 +2652,12 @@ func (o GkeClusterResponseOutput) ToGkeClusterResponseOutputWithContext(ctx cont return o } +func (o GkeClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeClusterResponse] { + return pulumix.Output[GkeClusterResponse]{ + OutputState: o.OutputState, + } +} + // If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane. func (o GkeClusterResponseOutput) ClusterMissing() pulumi.BoolOutput { return o.ApplyT(func(v GkeClusterResponse) bool { return v.ClusterMissing }).(pulumi.BoolOutput) @@ -2290,6 +2699,12 @@ func (o KubernetesMetadataResponseOutput) ToKubernetesMetadataResponseOutputWith return o } +func (o KubernetesMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesMetadataResponse] { + return pulumix.Output[KubernetesMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Kubernetes API server version string as reported by `/version`. func (o KubernetesMetadataResponseOutput) KubernetesApiServerVersion() pulumi.StringOutput { return o.ApplyT(func(v KubernetesMetadataResponse) string { return v.KubernetesApiServerVersion }).(pulumi.StringOutput) @@ -2359,6 +2774,12 @@ func (i KubernetesResourceArgs) ToKubernetesResourceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(KubernetesResourceOutput) } +func (i KubernetesResourceArgs) ToOutput(ctx context.Context) pulumix.Output[KubernetesResource] { + return pulumix.Output[KubernetesResource]{ + OutputState: i.ToKubernetesResourceOutputWithContext(ctx).OutputState, + } +} + func (i KubernetesResourceArgs) ToKubernetesResourcePtrOutput() KubernetesResourcePtrOutput { return i.ToKubernetesResourcePtrOutputWithContext(context.Background()) } @@ -2400,6 +2821,12 @@ func (i *kubernetesResourcePtrType) ToKubernetesResourcePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(KubernetesResourcePtrOutput) } +func (i *kubernetesResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*KubernetesResource] { + return pulumix.Output[*KubernetesResource]{ + OutputState: i.ToKubernetesResourcePtrOutputWithContext(ctx).OutputState, + } +} + // KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster. type KubernetesResourceOutput struct{ *pulumi.OutputState } @@ -2425,6 +2852,12 @@ func (o KubernetesResourceOutput) ToKubernetesResourcePtrOutputWithContext(ctx c }).(KubernetesResourcePtrOutput) } +func (o KubernetesResourceOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesResource] { + return pulumix.Output[KubernetesResource]{ + OutputState: o.OutputState, + } +} + // Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership. func (o KubernetesResourceOutput) MembershipCrManifest() pulumi.StringPtrOutput { return o.ApplyT(func(v KubernetesResource) *string { return v.MembershipCrManifest }).(pulumi.StringPtrOutput) @@ -2449,6 +2882,12 @@ func (o KubernetesResourcePtrOutput) ToKubernetesResourcePtrOutputWithContext(ct return o } +func (o KubernetesResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KubernetesResource] { + return pulumix.Output[*KubernetesResource]{ + OutputState: o.OutputState, + } +} + func (o KubernetesResourcePtrOutput) Elem() KubernetesResourceOutput { return o.ApplyT(func(v *KubernetesResource) KubernetesResource { if v != nil { @@ -2506,6 +2945,12 @@ func (o KubernetesResourceResponseOutput) ToKubernetesResourceResponseOutputWith return o } +func (o KubernetesResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesResourceResponse] { + return pulumix.Output[KubernetesResourceResponse]{ + OutputState: o.OutputState, + } +} + // The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask. func (o KubernetesResourceResponseOutput) ConnectResources() ResourceManifestResponseArrayOutput { return o.ApplyT(func(v KubernetesResourceResponse) []ResourceManifestResponse { return v.ConnectResources }).(ResourceManifestResponseArrayOutput) @@ -2547,6 +2992,12 @@ func (o MembershipBindingLifecycleStateResponseOutput) ToMembershipBindingLifecy return o } +func (o MembershipBindingLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipBindingLifecycleStateResponse] { + return pulumix.Output[MembershipBindingLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the MembershipBinding resource. func (o MembershipBindingLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v MembershipBindingLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -2607,6 +3058,12 @@ func (i MembershipEndpointArgs) ToMembershipEndpointOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(MembershipEndpointOutput) } +func (i MembershipEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpoint] { + return pulumix.Output[MembershipEndpoint]{ + OutputState: i.ToMembershipEndpointOutputWithContext(ctx).OutputState, + } +} + func (i MembershipEndpointArgs) ToMembershipEndpointPtrOutput() MembershipEndpointPtrOutput { return i.ToMembershipEndpointPtrOutputWithContext(context.Background()) } @@ -2648,6 +3105,12 @@ func (i *membershipEndpointPtrType) ToMembershipEndpointPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(MembershipEndpointPtrOutput) } +func (i *membershipEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*MembershipEndpoint] { + return pulumix.Output[*MembershipEndpoint]{ + OutputState: i.ToMembershipEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata. type MembershipEndpointOutput struct{ *pulumi.OutputState } @@ -2673,6 +3136,12 @@ func (o MembershipEndpointOutput) ToMembershipEndpointPtrOutputWithContext(ctx c }).(MembershipEndpointPtrOutput) } +func (o MembershipEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpoint] { + return pulumix.Output[MembershipEndpoint]{ + OutputState: o.OutputState, + } +} + // Optional. Specific information for a GDC Edge Appliance cluster. func (o MembershipEndpointOutput) ApplianceCluster() ApplianceClusterPtrOutput { return o.ApplyT(func(v MembershipEndpoint) *ApplianceCluster { return v.ApplianceCluster }).(ApplianceClusterPtrOutput) @@ -2717,6 +3186,12 @@ func (o MembershipEndpointPtrOutput) ToMembershipEndpointPtrOutputWithContext(ct return o } +func (o MembershipEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipEndpoint] { + return pulumix.Output[*MembershipEndpoint]{ + OutputState: o.OutputState, + } +} + func (o MembershipEndpointPtrOutput) Elem() MembershipEndpointOutput { return o.ApplyT(func(v *MembershipEndpoint) MembershipEndpoint { if v != nil { @@ -2822,6 +3297,12 @@ func (o MembershipEndpointResponseOutput) ToMembershipEndpointResponseOutputWith return o } +func (o MembershipEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpointResponse] { + return pulumix.Output[MembershipEndpointResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specific information for a GDC Edge Appliance cluster. func (o MembershipEndpointResponseOutput) ApplianceCluster() ApplianceClusterResponseOutput { return o.ApplyT(func(v MembershipEndpointResponse) ApplianceClusterResponse { return v.ApplianceCluster }).(ApplianceClusterResponseOutput) @@ -2883,6 +3364,12 @@ func (o MembershipStateResponseOutput) ToMembershipStateResponseOutputWithContex return o } +func (o MembershipStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipStateResponse] { + return pulumix.Output[MembershipStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Membership resource. func (o MembershipStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v MembershipStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -2939,6 +3426,12 @@ func (i MonitoringConfigArgs) ToMonitoringConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigOutput) } +func (i MonitoringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: i.ToMonitoringConfigOutputWithContext(ctx).OutputState, + } +} + func (i MonitoringConfigArgs) ToMonitoringConfigPtrOutput() MonitoringConfigPtrOutput { return i.ToMonitoringConfigPtrOutputWithContext(context.Background()) } @@ -2980,6 +3473,12 @@ func (i *monitoringConfigPtrType) ToMonitoringConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigPtrOutput) } +func (i *monitoringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: i.ToMonitoringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // This field informs Fleet-based applications/services/UIs with the necessary information for where each underlying Cluster reports its metrics. type MonitoringConfigOutput struct{ *pulumi.OutputState } @@ -3005,6 +3504,12 @@ func (o MonitoringConfigOutput) ToMonitoringConfigPtrOutputWithContext(ctx conte }).(MonitoringConfigPtrOutput) } +func (o MonitoringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal, it would be in format `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in format `{azureClusters, awsClusters}/cluster_name`. func (o MonitoringConfigOutput) Cluster() pulumi.StringPtrOutput { return o.ApplyT(func(v MonitoringConfig) *string { return v.Cluster }).(pulumi.StringPtrOutput) @@ -3044,6 +3549,12 @@ func (o MonitoringConfigPtrOutput) ToMonitoringConfigPtrOutputWithContext(ctx co return o } +func (o MonitoringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: o.OutputState, + } +} + func (o MonitoringConfigPtrOutput) Elem() MonitoringConfigOutput { return o.ApplyT(func(v *MonitoringConfig) MonitoringConfig { if v != nil { @@ -3133,6 +3644,12 @@ func (o MonitoringConfigResponseOutput) ToMonitoringConfigResponseOutputWithCont return o } +func (o MonitoringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfigResponse] { + return pulumix.Output[MonitoringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal, it would be in format `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in format `{azureClusters, awsClusters}/cluster_name`. func (o MonitoringConfigResponseOutput) Cluster() pulumi.StringOutput { return o.ApplyT(func(v MonitoringConfigResponse) string { return v.Cluster }).(pulumi.StringOutput) @@ -3193,6 +3710,12 @@ func (i MultiCloudClusterArgs) ToMultiCloudClusterOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MultiCloudClusterOutput) } +func (i MultiCloudClusterArgs) ToOutput(ctx context.Context) pulumix.Output[MultiCloudCluster] { + return pulumix.Output[MultiCloudCluster]{ + OutputState: i.ToMultiCloudClusterOutputWithContext(ctx).OutputState, + } +} + func (i MultiCloudClusterArgs) ToMultiCloudClusterPtrOutput() MultiCloudClusterPtrOutput { return i.ToMultiCloudClusterPtrOutputWithContext(context.Background()) } @@ -3234,6 +3757,12 @@ func (i *multiCloudClusterPtrType) ToMultiCloudClusterPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MultiCloudClusterPtrOutput) } +func (i *multiCloudClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*MultiCloudCluster] { + return pulumix.Output[*MultiCloudCluster]{ + OutputState: i.ToMultiCloudClusterPtrOutputWithContext(ctx).OutputState, + } +} + // MultiCloudCluster contains information specific to GKE Multi-Cloud clusters. type MultiCloudClusterOutput struct{ *pulumi.OutputState } @@ -3259,6 +3788,12 @@ func (o MultiCloudClusterOutput) ToMultiCloudClusterPtrOutputWithContext(ctx con }).(MultiCloudClusterPtrOutput) } +func (o MultiCloudClusterOutput) ToOutput(ctx context.Context) pulumix.Output[MultiCloudCluster] { + return pulumix.Output[MultiCloudCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster func (o MultiCloudClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v MultiCloudCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -3278,6 +3813,12 @@ func (o MultiCloudClusterPtrOutput) ToMultiCloudClusterPtrOutputWithContext(ctx return o } +func (o MultiCloudClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiCloudCluster] { + return pulumix.Output[*MultiCloudCluster]{ + OutputState: o.OutputState, + } +} + func (o MultiCloudClusterPtrOutput) Elem() MultiCloudClusterOutput { return o.ApplyT(func(v *MultiCloudCluster) MultiCloudCluster { if v != nil { @@ -3321,6 +3862,12 @@ func (o MultiCloudClusterResponseOutput) ToMultiCloudClusterResponseOutputWithCo return o } +func (o MultiCloudClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MultiCloudClusterResponse] { + return pulumix.Output[MultiCloudClusterResponse]{ + OutputState: o.OutputState, + } +} + // If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists. func (o MultiCloudClusterResponseOutput) ClusterMissing() pulumi.BoolOutput { return o.ApplyT(func(v MultiCloudClusterResponse) bool { return v.ClusterMissing }).(pulumi.BoolOutput) @@ -3366,6 +3913,12 @@ func (i MultiClusterIngressFeatureSpecArgs) ToMultiClusterIngressFeatureSpecOutp return pulumi.ToOutputWithContext(ctx, i).(MultiClusterIngressFeatureSpecOutput) } +func (i MultiClusterIngressFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpec] { + return pulumix.Output[MultiClusterIngressFeatureSpec]{ + OutputState: i.ToMultiClusterIngressFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i MultiClusterIngressFeatureSpecArgs) ToMultiClusterIngressFeatureSpecPtrOutput() MultiClusterIngressFeatureSpecPtrOutput { return i.ToMultiClusterIngressFeatureSpecPtrOutputWithContext(context.Background()) } @@ -3407,6 +3960,12 @@ func (i *multiClusterIngressFeatureSpecPtrType) ToMultiClusterIngressFeatureSpec return pulumi.ToOutputWithContext(ctx, i).(MultiClusterIngressFeatureSpecPtrOutput) } +func (i *multiClusterIngressFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterIngressFeatureSpec] { + return pulumix.Output[*MultiClusterIngressFeatureSpec]{ + OutputState: i.ToMultiClusterIngressFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. type MultiClusterIngressFeatureSpecOutput struct{ *pulumi.OutputState } @@ -3432,6 +3991,12 @@ func (o MultiClusterIngressFeatureSpecOutput) ToMultiClusterIngressFeatureSpecPt }).(MultiClusterIngressFeatureSpecPtrOutput) } +func (o MultiClusterIngressFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpec] { + return pulumix.Output[MultiClusterIngressFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar` func (o MultiClusterIngressFeatureSpecOutput) ConfigMembership() pulumi.StringPtrOutput { return o.ApplyT(func(v MultiClusterIngressFeatureSpec) *string { return v.ConfigMembership }).(pulumi.StringPtrOutput) @@ -3451,6 +4016,12 @@ func (o MultiClusterIngressFeatureSpecPtrOutput) ToMultiClusterIngressFeatureSpe return o } +func (o MultiClusterIngressFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterIngressFeatureSpec] { + return pulumix.Output[*MultiClusterIngressFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o MultiClusterIngressFeatureSpecPtrOutput) Elem() MultiClusterIngressFeatureSpecOutput { return o.ApplyT(func(v *MultiClusterIngressFeatureSpec) MultiClusterIngressFeatureSpec { if v != nil { @@ -3492,6 +4063,12 @@ func (o MultiClusterIngressFeatureSpecResponseOutput) ToMultiClusterIngressFeatu return o } +func (o MultiClusterIngressFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpecResponse] { + return pulumix.Output[MultiClusterIngressFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar` func (o MultiClusterIngressFeatureSpecResponseOutput) ConfigMembership() pulumi.StringOutput { return o.ApplyT(func(v MultiClusterIngressFeatureSpecResponse) string { return v.ConfigMembership }).(pulumi.StringOutput) @@ -3540,6 +4117,12 @@ func (i OnPremClusterArgs) ToOnPremClusterOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OnPremClusterOutput) } +func (i OnPremClusterArgs) ToOutput(ctx context.Context) pulumix.Output[OnPremCluster] { + return pulumix.Output[OnPremCluster]{ + OutputState: i.ToOnPremClusterOutputWithContext(ctx).OutputState, + } +} + func (i OnPremClusterArgs) ToOnPremClusterPtrOutput() OnPremClusterPtrOutput { return i.ToOnPremClusterPtrOutputWithContext(context.Background()) } @@ -3581,6 +4164,12 @@ func (i *onPremClusterPtrType) ToOnPremClusterPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OnPremClusterPtrOutput) } +func (i *onPremClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*OnPremCluster] { + return pulumix.Output[*OnPremCluster]{ + OutputState: i.ToOnPremClusterPtrOutputWithContext(ctx).OutputState, + } +} + // OnPremCluster contains information specific to GKE On-Prem clusters. type OnPremClusterOutput struct{ *pulumi.OutputState } @@ -3606,6 +4195,12 @@ func (o OnPremClusterOutput) ToOnPremClusterPtrOutputWithContext(ctx context.Con }).(OnPremClusterPtrOutput) } +func (o OnPremClusterOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremCluster] { + return pulumix.Output[OnPremCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Whether the cluster is an admin cluster. func (o OnPremClusterOutput) AdminCluster() pulumi.BoolPtrOutput { return o.ApplyT(func(v OnPremCluster) *bool { return v.AdminCluster }).(pulumi.BoolPtrOutput) @@ -3635,6 +4230,12 @@ func (o OnPremClusterPtrOutput) ToOnPremClusterPtrOutputWithContext(ctx context. return o } +func (o OnPremClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OnPremCluster] { + return pulumix.Output[*OnPremCluster]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterPtrOutput) Elem() OnPremClusterOutput { return o.ApplyT(func(v *OnPremCluster) OnPremCluster { if v != nil { @@ -3702,6 +4303,12 @@ func (o OnPremClusterResponseOutput) ToOnPremClusterResponseOutputWithContext(ct return o } +func (o OnPremClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremClusterResponse] { + return pulumix.Output[OnPremClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Whether the cluster is an admin cluster. func (o OnPremClusterResponseOutput) AdminCluster() pulumi.BoolOutput { return o.ApplyT(func(v OnPremClusterResponse) bool { return v.AdminCluster }).(pulumi.BoolOutput) @@ -3745,6 +4352,12 @@ func (o ResourceManifestResponseOutput) ToResourceManifestResponseOutputWithCont return o } +func (o ResourceManifestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceManifestResponse] { + return pulumix.Output[ResourceManifestResponse]{ + OutputState: o.OutputState, + } +} + // Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster. func (o ResourceManifestResponseOutput) ClusterScoped() pulumi.BoolOutput { return o.ApplyT(func(v ResourceManifestResponse) bool { return v.ClusterScoped }).(pulumi.BoolOutput) @@ -3769,6 +4382,12 @@ func (o ResourceManifestResponseArrayOutput) ToResourceManifestResponseArrayOutp return o } +func (o ResourceManifestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceManifestResponse] { + return pulumix.Output[[]ResourceManifestResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceManifestResponseArrayOutput) Index(i pulumi.IntInput) ResourceManifestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceManifestResponse { return vs[0].([]ResourceManifestResponse)[vs[1].(int)] @@ -3818,6 +4437,12 @@ func (i ResourceOptionsArgs) ToResourceOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ResourceOptionsOutput) } +func (i ResourceOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceOptions] { + return pulumix.Output[ResourceOptions]{ + OutputState: i.ToResourceOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ResourceOptionsArgs) ToResourceOptionsPtrOutput() ResourceOptionsPtrOutput { return i.ToResourceOptionsPtrOutputWithContext(context.Background()) } @@ -3859,6 +4484,12 @@ func (i *resourceOptionsPtrType) ToResourceOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ResourceOptionsPtrOutput) } +func (i *resourceOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceOptions] { + return pulumix.Output[*ResourceOptions]{ + OutputState: i.ToResourceOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // ResourceOptions represent options for Kubernetes resource generation. type ResourceOptionsOutput struct{ *pulumi.OutputState } @@ -3884,6 +4515,12 @@ func (o ResourceOptionsOutput) ToResourceOptionsPtrOutputWithContext(ctx context }).(ResourceOptionsPtrOutput) } +func (o ResourceOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceOptions] { + return pulumix.Output[ResourceOptions]{ + OutputState: o.OutputState, + } +} + // Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected. func (o ResourceOptionsOutput) ConnectVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceOptions) *string { return v.ConnectVersion }).(pulumi.StringPtrOutput) @@ -3913,6 +4550,12 @@ func (o ResourceOptionsPtrOutput) ToResourceOptionsPtrOutputWithContext(ctx cont return o } +func (o ResourceOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceOptions] { + return pulumix.Output[*ResourceOptions]{ + OutputState: o.OutputState, + } +} + func (o ResourceOptionsPtrOutput) Elem() ResourceOptionsOutput { return o.ApplyT(func(v *ResourceOptions) ResourceOptions { if v != nil { @@ -3978,6 +4621,12 @@ func (o ResourceOptionsResponseOutput) ToResourceOptionsResponseOutputWithContex return o } +func (o ResourceOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceOptionsResponse] { + return pulumix.Output[ResourceOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected. func (o ResourceOptionsResponseOutput) ConnectVersion() pulumi.StringOutput { return o.ApplyT(func(v ResourceOptionsResponse) string { return v.ConnectVersion }).(pulumi.StringOutput) @@ -4014,6 +4663,12 @@ func (o ScopeLifecycleStateResponseOutput) ToScopeLifecycleStateResponseOutputWi return o } +func (o ScopeLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScopeLifecycleStateResponse] { + return pulumix.Output[ScopeLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the scope resource. func (o ScopeLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v ScopeLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -4042,6 +4697,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // Code specifies AppDevExperienceFeature's subcomponent ready state. func (o StatusResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v StatusResponse) string { return v.Code }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1/scope.go b/sdk/go/google/gkehub/v1/scope.go index 12ef7d0b54..364960cec3 100644 --- a/sdk/go/google/gkehub/v1/scope.go +++ b/sdk/go/google/gkehub/v1/scope.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Scope. @@ -131,6 +132,12 @@ func (i *Scope) ToScopeOutputWithContext(ctx context.Context) ScopeOutput { return pulumi.ToOutputWithContext(ctx, i).(ScopeOutput) } +func (i *Scope) ToOutput(ctx context.Context) pulumix.Output[*Scope] { + return pulumix.Output[*Scope]{ + OutputState: i.ToScopeOutputWithContext(ctx).OutputState, + } +} + type ScopeOutput struct{ *pulumi.OutputState } func (ScopeOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ScopeOutput) ToScopeOutputWithContext(ctx context.Context) ScopeOutput { return o } +func (o ScopeOutput) ToOutput(ctx context.Context) pulumix.Output[*Scope] { + return pulumix.Output[*Scope]{ + OutputState: o.OutputState, + } +} + // If true, all Memberships in the Fleet bind to this Scope. func (o ScopeOutput) AllMemberships() pulumi.BoolOutput { return o.ApplyT(func(v *Scope) pulumi.BoolOutput { return v.AllMemberships }).(pulumi.BoolOutput) diff --git a/sdk/go/google/gkehub/v1alpha/binding.go b/sdk/go/google/gkehub/v1alpha/binding.go index a47081b23b..75a7759af9 100644 --- a/sdk/go/google/gkehub/v1alpha/binding.go +++ b/sdk/go/google/gkehub/v1alpha/binding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a MembershipBinding. @@ -144,6 +145,12 @@ func (i *Binding) ToBindingOutputWithContext(ctx context.Context) BindingOutput return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i *Binding) ToOutput(ctx context.Context) pulumix.Output[*Binding] { + return pulumix.Output[*Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + type BindingOutput struct{ *pulumi.OutputState } func (BindingOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[*Binding] { + return pulumix.Output[*Binding]{ + OutputState: o.OutputState, + } +} + // When the membership binding was created. func (o BindingOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Binding) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/feature.go b/sdk/go/google/gkehub/v1alpha/feature.go index ea4b16ccad..978cebeba2 100644 --- a/sdk/go/google/gkehub/v1alpha/feature.go +++ b/sdk/go/google/gkehub/v1alpha/feature.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Adds a new Feature. @@ -156,6 +157,12 @@ func (i *Feature) ToFeatureOutputWithContext(ctx context.Context) FeatureOutput return pulumi.ToOutputWithContext(ctx, i).(FeatureOutput) } +func (i *Feature) ToOutput(ctx context.Context) pulumix.Output[*Feature] { + return pulumix.Output[*Feature]{ + OutputState: i.ToFeatureOutputWithContext(ctx).OutputState, + } +} + type FeatureOutput struct{ *pulumi.OutputState } func (FeatureOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o FeatureOutput) ToFeatureOutputWithContext(ctx context.Context) FeatureOu return o } +func (o FeatureOutput) ToOutput(ctx context.Context) pulumix.Output[*Feature] { + return pulumix.Output[*Feature]{ + OutputState: o.OutputState, + } +} + // When the Feature resource was created. func (o FeatureOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Feature) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/featureIamBinding.go b/sdk/go/google/gkehub/v1alpha/featureIamBinding.go index 390879205c..dee0afad0d 100644 --- a/sdk/go/google/gkehub/v1alpha/featureIamBinding.go +++ b/sdk/go/google/gkehub/v1alpha/featureIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FeatureIamBinding) ToFeatureIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FeatureIamBindingOutput) } +func (i *FeatureIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamBinding] { + return pulumix.Output[*FeatureIamBinding]{ + OutputState: i.ToFeatureIamBindingOutputWithContext(ctx).OutputState, + } +} + type FeatureIamBindingOutput struct{ *pulumi.OutputState } func (FeatureIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FeatureIamBindingOutput) ToFeatureIamBindingOutputWithContext(ctx contex return o } +func (o FeatureIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamBinding] { + return pulumix.Output[*FeatureIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FeatureIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FeatureIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1alpha/featureIamMember.go b/sdk/go/google/gkehub/v1alpha/featureIamMember.go index 25355e99d9..b5fcd7294a 100644 --- a/sdk/go/google/gkehub/v1alpha/featureIamMember.go +++ b/sdk/go/google/gkehub/v1alpha/featureIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FeatureIamMember) ToFeatureIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FeatureIamMemberOutput) } +func (i *FeatureIamMember) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamMember] { + return pulumix.Output[*FeatureIamMember]{ + OutputState: i.ToFeatureIamMemberOutputWithContext(ctx).OutputState, + } +} + type FeatureIamMemberOutput struct{ *pulumi.OutputState } func (FeatureIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FeatureIamMemberOutput) ToFeatureIamMemberOutputWithContext(ctx context. return o } +func (o FeatureIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamMember] { + return pulumix.Output[*FeatureIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FeatureIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FeatureIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1alpha/featureIamPolicy.go b/sdk/go/google/gkehub/v1alpha/featureIamPolicy.go index 67ccecc4fc..a5002ad442 100644 --- a/sdk/go/google/gkehub/v1alpha/featureIamPolicy.go +++ b/sdk/go/google/gkehub/v1alpha/featureIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FeatureIamPolicy) ToFeatureIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FeatureIamPolicyOutput) } +func (i *FeatureIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamPolicy] { + return pulumix.Output[*FeatureIamPolicy]{ + OutputState: i.ToFeatureIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FeatureIamPolicyOutput struct{ *pulumi.OutputState } func (FeatureIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FeatureIamPolicyOutput) ToFeatureIamPolicyOutputWithContext(ctx context. return o } +func (o FeatureIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamPolicy] { + return pulumix.Output[*FeatureIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FeatureIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FeatureIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1alpha/fleet.go b/sdk/go/google/gkehub/v1alpha/fleet.go index 73539f34b1..12f53357fc 100644 --- a/sdk/go/google/gkehub/v1alpha/fleet.go +++ b/sdk/go/google/gkehub/v1alpha/fleet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a fleet. @@ -116,6 +117,12 @@ func (i *Fleet) ToFleetOutputWithContext(ctx context.Context) FleetOutput { return pulumi.ToOutputWithContext(ctx, i).(FleetOutput) } +func (i *Fleet) ToOutput(ctx context.Context) pulumix.Output[*Fleet] { + return pulumix.Output[*Fleet]{ + OutputState: i.ToFleetOutputWithContext(ctx).OutputState, + } +} + type FleetOutput struct{ *pulumi.OutputState } func (FleetOutput) ElementType() reflect.Type { @@ -130,6 +137,12 @@ func (o FleetOutput) ToFleetOutputWithContext(ctx context.Context) FleetOutput { return o } +func (o FleetOutput) ToOutput(ctx context.Context) pulumix.Output[*Fleet] { + return pulumix.Output[*Fleet]{ + OutputState: o.OutputState, + } +} + // When the Fleet was created. func (o FleetOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Fleet) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/getBinding.go b/sdk/go/google/gkehub/v1alpha/getBinding.go index 45e8a518aa..bca7afe339 100644 --- a/sdk/go/google/gkehub/v1alpha/getBinding.go +++ b/sdk/go/google/gkehub/v1alpha/getBinding.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a MembershipBinding. @@ -86,6 +87,12 @@ func (o LookupBindingResultOutput) ToLookupBindingResultOutputWithContext(ctx co return o } +func (o LookupBindingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBindingResult] { + return pulumix.Output[LookupBindingResult]{ + OutputState: o.OutputState, + } +} + // When the membership binding was created. func (o LookupBindingResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBindingResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/getFeature.go b/sdk/go/google/gkehub/v1alpha/getFeature.go index 8c42606de2..052984657c 100644 --- a/sdk/go/google/gkehub/v1alpha/getFeature.go +++ b/sdk/go/google/gkehub/v1alpha/getFeature.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Feature. @@ -94,6 +95,12 @@ func (o LookupFeatureResultOutput) ToLookupFeatureResultOutputWithContext(ctx co return o } +func (o LookupFeatureResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFeatureResult] { + return pulumix.Output[LookupFeatureResult]{ + OutputState: o.OutputState, + } +} + // When the Feature resource was created. func (o LookupFeatureResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFeatureResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/getFeatureIamPolicy.go b/sdk/go/google/gkehub/v1alpha/getFeatureIamPolicy.go index cf77a7b3df..863f0a2504 100644 --- a/sdk/go/google/gkehub/v1alpha/getFeatureIamPolicy.go +++ b/sdk/go/google/gkehub/v1alpha/getFeatureIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupFeatureIamPolicyResultOutput) ToLookupFeatureIamPolicyResultOutput return o } +func (o LookupFeatureIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFeatureIamPolicyResult] { + return pulumix.Output[LookupFeatureIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFeatureIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFeatureIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1alpha/getFleet.go b/sdk/go/google/gkehub/v1alpha/getFleet.go index c18b87b007..d2b7f45ffd 100644 --- a/sdk/go/google/gkehub/v1alpha/getFleet.go +++ b/sdk/go/google/gkehub/v1alpha/getFleet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a fleet. @@ -82,6 +83,12 @@ func (o LookupFleetResultOutput) ToLookupFleetResultOutputWithContext(ctx contex return o } +func (o LookupFleetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFleetResult] { + return pulumix.Output[LookupFleetResult]{ + OutputState: o.OutputState, + } +} + // When the Fleet was created. func (o LookupFleetResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFleetResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/getMembership.go b/sdk/go/google/gkehub/v1alpha/getMembership.go index dcc0200818..2799ef3d4e 100644 --- a/sdk/go/google/gkehub/v1alpha/getMembership.go +++ b/sdk/go/google/gkehub/v1alpha/getMembership.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a Membership. @@ -94,6 +95,12 @@ func (o LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext( return o } +func (o LookupMembershipResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipResult] { + return pulumix.Output[LookupMembershipResult]{ + OutputState: o.OutputState, + } +} + // Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity func (o LookupMembershipResultOutput) Authority() AuthorityResponseOutput { return o.ApplyT(func(v LookupMembershipResult) AuthorityResponse { return v.Authority }).(AuthorityResponseOutput) diff --git a/sdk/go/google/gkehub/v1alpha/getMembershipIamPolicy.go b/sdk/go/google/gkehub/v1alpha/getMembershipIamPolicy.go index bee0dbbd89..a9a881eb18 100644 --- a/sdk/go/google/gkehub/v1alpha/getMembershipIamPolicy.go +++ b/sdk/go/google/gkehub/v1alpha/getMembershipIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupMembershipIamPolicyResultOutput) ToLookupMembershipIamPolicyResult return o } +func (o LookupMembershipIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipIamPolicyResult] { + return pulumix.Output[LookupMembershipIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMembershipIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMembershipIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1alpha/getNamespace.go b/sdk/go/google/gkehub/v1alpha/getNamespace.go index 25f011d7d9..46a8828629 100644 --- a/sdk/go/google/gkehub/v1alpha/getNamespace.go +++ b/sdk/go/google/gkehub/v1alpha/getNamespace.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a fleet namespace. @@ -82,6 +83,12 @@ func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ct return o } +func (o LookupNamespaceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamespaceResult] { + return pulumix.Output[LookupNamespaceResult]{ + OutputState: o.OutputState, + } +} + // When the namespace was created. func (o LookupNamespaceResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupNamespaceResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/getRbacrolebinding.go b/sdk/go/google/gkehub/v1alpha/getRbacrolebinding.go index 7391065d6f..57806d1249 100644 --- a/sdk/go/google/gkehub/v1alpha/getRbacrolebinding.go +++ b/sdk/go/google/gkehub/v1alpha/getRbacrolebinding.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a RBACRoleBinding. @@ -88,6 +89,12 @@ func (o LookupRbacrolebindingResultOutput) ToLookupRbacrolebindingResultOutputWi return o } +func (o LookupRbacrolebindingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRbacrolebindingResult] { + return pulumix.Output[LookupRbacrolebindingResult]{ + OutputState: o.OutputState, + } +} + // When the rbacrolebinding was created. func (o LookupRbacrolebindingResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupRbacrolebindingResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/getScope.go b/sdk/go/google/gkehub/v1alpha/getScope.go index 68fdb3d687..ac89348640 100644 --- a/sdk/go/google/gkehub/v1alpha/getScope.go +++ b/sdk/go/google/gkehub/v1alpha/getScope.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a Scope. @@ -82,6 +83,12 @@ func (o LookupScopeResultOutput) ToLookupScopeResultOutputWithContext(ctx contex return o } +func (o LookupScopeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupScopeResult] { + return pulumix.Output[LookupScopeResult]{ + OutputState: o.OutputState, + } +} + // If true, all Memberships in the Fleet bind to this Scope. func (o LookupScopeResultOutput) AllMemberships() pulumi.BoolOutput { return o.ApplyT(func(v LookupScopeResult) bool { return v.AllMemberships }).(pulumi.BoolOutput) diff --git a/sdk/go/google/gkehub/v1alpha/membership.go b/sdk/go/google/gkehub/v1alpha/membership.go index 8ffd93ba03..ac6f4da611 100644 --- a/sdk/go/google/gkehub/v1alpha/membership.go +++ b/sdk/go/google/gkehub/v1alpha/membership.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster. @@ -161,6 +162,12 @@ func (i *Membership) ToMembershipOutputWithContext(ctx context.Context) Membersh return pulumi.ToOutputWithContext(ctx, i).(MembershipOutput) } +func (i *Membership) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: i.ToMembershipOutputWithContext(ctx).OutputState, + } +} + type MembershipOutput struct{ *pulumi.OutputState } func (MembershipOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o MembershipOutput) ToMembershipOutputWithContext(ctx context.Context) Mem return o } +func (o MembershipOutput) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: o.OutputState, + } +} + // Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity func (o MembershipOutput) Authority() AuthorityResponseOutput { return o.ApplyT(func(v *Membership) AuthorityResponseOutput { return v.Authority }).(AuthorityResponseOutput) diff --git a/sdk/go/google/gkehub/v1alpha/membershipIamBinding.go b/sdk/go/google/gkehub/v1alpha/membershipIamBinding.go index 9347038e1b..dee477bfad 100644 --- a/sdk/go/google/gkehub/v1alpha/membershipIamBinding.go +++ b/sdk/go/google/gkehub/v1alpha/membershipIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamBinding) ToMembershipIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(MembershipIamBindingOutput) } +func (i *MembershipIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamBinding] { + return pulumix.Output[*MembershipIamBinding]{ + OutputState: i.ToMembershipIamBindingOutputWithContext(ctx).OutputState, + } +} + type MembershipIamBindingOutput struct{ *pulumi.OutputState } func (MembershipIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamBindingOutput) ToMembershipIamBindingOutputWithContext(ctx return o } +func (o MembershipIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamBinding] { + return pulumix.Output[*MembershipIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MembershipIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MembershipIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1alpha/membershipIamMember.go b/sdk/go/google/gkehub/v1alpha/membershipIamMember.go index 00e67ca9db..f3485ca4db 100644 --- a/sdk/go/google/gkehub/v1alpha/membershipIamMember.go +++ b/sdk/go/google/gkehub/v1alpha/membershipIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamMember) ToMembershipIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipIamMemberOutput) } +func (i *MembershipIamMember) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamMember] { + return pulumix.Output[*MembershipIamMember]{ + OutputState: i.ToMembershipIamMemberOutputWithContext(ctx).OutputState, + } +} + type MembershipIamMemberOutput struct{ *pulumi.OutputState } func (MembershipIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamMemberOutput) ToMembershipIamMemberOutputWithContext(ctx co return o } +func (o MembershipIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamMember] { + return pulumix.Output[*MembershipIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MembershipIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MembershipIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1alpha/membershipIamPolicy.go b/sdk/go/google/gkehub/v1alpha/membershipIamPolicy.go index b7973f4329..4fad03e048 100644 --- a/sdk/go/google/gkehub/v1alpha/membershipIamPolicy.go +++ b/sdk/go/google/gkehub/v1alpha/membershipIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamPolicy) ToMembershipIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipIamPolicyOutput) } +func (i *MembershipIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamPolicy] { + return pulumix.Output[*MembershipIamPolicy]{ + OutputState: i.ToMembershipIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MembershipIamPolicyOutput struct{ *pulumi.OutputState } func (MembershipIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamPolicyOutput) ToMembershipIamPolicyOutputWithContext(ctx co return o } +func (o MembershipIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamPolicy] { + return pulumix.Output[*MembershipIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MembershipIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MembershipIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1alpha/namespace.go b/sdk/go/google/gkehub/v1alpha/namespace.go index 206166d532..4b464ab6b3 100644 --- a/sdk/go/google/gkehub/v1alpha/namespace.go +++ b/sdk/go/google/gkehub/v1alpha/namespace.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a fleet namespace. @@ -134,6 +135,12 @@ func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceO return pulumi.ToOutputWithContext(ctx, i).(NamespaceOutput) } +func (i *Namespace) ToOutput(ctx context.Context) pulumix.Output[*Namespace] { + return pulumix.Output[*Namespace]{ + OutputState: i.ToNamespaceOutputWithContext(ctx).OutputState, + } +} + type NamespaceOutput struct{ *pulumi.OutputState } func (NamespaceOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) Names return o } +func (o NamespaceOutput) ToOutput(ctx context.Context) pulumix.Output[*Namespace] { + return pulumix.Output[*Namespace]{ + OutputState: o.OutputState, + } +} + // When the namespace was created. func (o NamespaceOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Namespace) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/pulumiEnums.go b/sdk/go/google/gkehub/v1alpha/pulumiEnums.go index 5425fd340f..4a33a781b4 100644 --- a/sdk/go/google/gkehub/v1alpha/pulumiEnums.go +++ b/sdk/go/google/gkehub/v1alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. Specifies CA configuration. type FeatureSpecProvisionGoogleCa string @@ -253,6 +272,12 @@ func (o FeatureSpecProvisionGoogleCaOutput) ToFeatureSpecProvisionGoogleCaPtrOut }).(FeatureSpecProvisionGoogleCaPtrOutput) } +func (o FeatureSpecProvisionGoogleCaOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureSpecProvisionGoogleCa] { + return pulumix.Output[FeatureSpecProvisionGoogleCa]{ + OutputState: o.OutputState, + } +} + func (o FeatureSpecProvisionGoogleCaOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o FeatureSpecProvisionGoogleCaPtrOutput) ToFeatureSpecProvisionGoogleCaPtr return o } +func (o FeatureSpecProvisionGoogleCaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureSpecProvisionGoogleCa] { + return pulumix.Output[*FeatureSpecProvisionGoogleCa]{ + OutputState: o.OutputState, + } +} + func (o FeatureSpecProvisionGoogleCaPtrOutput) Elem() FeatureSpecProvisionGoogleCaOutput { return o.ApplyT(func(v *FeatureSpecProvisionGoogleCa) FeatureSpecProvisionGoogleCa { if v != nil { @@ -350,6 +381,12 @@ func (in *featureSpecProvisionGoogleCaPtr) ToFeatureSpecProvisionGoogleCaPtrOutp return pulumi.ToOutputWithContext(ctx, in).(FeatureSpecProvisionGoogleCaPtrOutput) } +func (in *featureSpecProvisionGoogleCaPtr) ToOutput(ctx context.Context) pulumix.Output[*FeatureSpecProvisionGoogleCa] { + return pulumix.Output[*FeatureSpecProvisionGoogleCa]{ + OutputState: in.ToFeatureSpecProvisionGoogleCaPtrOutputWithContext(ctx).OutputState, + } +} + // mode configures the logs routing mode. type FleetObservabilityRoutingConfigMode string @@ -422,6 +459,12 @@ func (o FleetObservabilityRoutingConfigModeOutput) ToFleetObservabilityRoutingCo }).(FleetObservabilityRoutingConfigModePtrOutput) } +func (o FleetObservabilityRoutingConfigModeOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityRoutingConfigMode] { + return pulumix.Output[FleetObservabilityRoutingConfigMode]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityRoutingConfigModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o FleetObservabilityRoutingConfigModePtrOutput) ToFleetObservabilityRoutin return o } +func (o FleetObservabilityRoutingConfigModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityRoutingConfigMode] { + return pulumix.Output[*FleetObservabilityRoutingConfigMode]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityRoutingConfigModePtrOutput) Elem() FleetObservabilityRoutingConfigModeOutput { return o.ApplyT(func(v *FleetObservabilityRoutingConfigMode) FleetObservabilityRoutingConfigMode { if v != nil { @@ -519,6 +568,12 @@ func (in *fleetObservabilityRoutingConfigModePtr) ToFleetObservabilityRoutingCon return pulumi.ToOutputWithContext(ctx, in).(FleetObservabilityRoutingConfigModePtrOutput) } +func (in *fleetObservabilityRoutingConfigModePtr) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityRoutingConfigMode] { + return pulumix.Output[*FleetObservabilityRoutingConfigMode]{ + OutputState: in.ToFleetObservabilityRoutingConfigModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies workload certificate management. type MembershipSpecCertificateManagement string @@ -591,6 +646,12 @@ func (o MembershipSpecCertificateManagementOutput) ToMembershipSpecCertificateMa }).(MembershipSpecCertificateManagementPtrOutput) } +func (o MembershipSpecCertificateManagementOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipSpecCertificateManagement] { + return pulumix.Output[MembershipSpecCertificateManagement]{ + OutputState: o.OutputState, + } +} + func (o MembershipSpecCertificateManagementOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o MembershipSpecCertificateManagementPtrOutput) ToMembershipSpecCertificat return o } +func (o MembershipSpecCertificateManagementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipSpecCertificateManagement] { + return pulumix.Output[*MembershipSpecCertificateManagement]{ + OutputState: o.OutputState, + } +} + func (o MembershipSpecCertificateManagementPtrOutput) Elem() MembershipSpecCertificateManagementOutput { return o.ApplyT(func(v *MembershipSpecCertificateManagement) MembershipSpecCertificateManagement { if v != nil { @@ -688,6 +755,12 @@ func (in *membershipSpecCertificateManagementPtr) ToMembershipSpecCertificateMan return pulumi.ToOutputWithContext(ctx, in).(MembershipSpecCertificateManagementPtrOutput) } +func (in *membershipSpecCertificateManagementPtr) ToOutput(ctx context.Context) pulumix.Output[*MembershipSpecCertificateManagement] { + return pulumix.Output[*MembershipSpecCertificateManagement]{ + OutputState: in.ToMembershipSpecCertificateManagementPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated: This field will be ignored and should not be set. Customer's billing structure. type MultiClusterIngressFeatureSpecBilling string @@ -760,6 +833,12 @@ func (o MultiClusterIngressFeatureSpecBillingOutput) ToMultiClusterIngressFeatur }).(MultiClusterIngressFeatureSpecBillingPtrOutput) } +func (o MultiClusterIngressFeatureSpecBillingOutput) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpecBilling] { + return pulumix.Output[MultiClusterIngressFeatureSpecBilling]{ + OutputState: o.OutputState, + } +} + func (o MultiClusterIngressFeatureSpecBillingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -795,6 +874,12 @@ func (o MultiClusterIngressFeatureSpecBillingPtrOutput) ToMultiClusterIngressFea return o } +func (o MultiClusterIngressFeatureSpecBillingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterIngressFeatureSpecBilling] { + return pulumix.Output[*MultiClusterIngressFeatureSpecBilling]{ + OutputState: o.OutputState, + } +} + func (o MultiClusterIngressFeatureSpecBillingPtrOutput) Elem() MultiClusterIngressFeatureSpecBillingOutput { return o.ApplyT(func(v *MultiClusterIngressFeatureSpecBilling) MultiClusterIngressFeatureSpecBilling { if v != nil { @@ -857,6 +942,12 @@ func (in *multiClusterIngressFeatureSpecBillingPtr) ToMultiClusterIngressFeature return pulumi.ToOutputWithContext(ctx, in).(MultiClusterIngressFeatureSpecBillingPtrOutput) } +func (in *multiClusterIngressFeatureSpecBillingPtr) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterIngressFeatureSpecBilling] { + return pulumix.Output[*MultiClusterIngressFeatureSpecBilling]{ + OutputState: in.ToMultiClusterIngressFeatureSpecBillingPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The on prem cluster's type. type OnPremClusterClusterType string @@ -933,6 +1024,12 @@ func (o OnPremClusterClusterTypeOutput) ToOnPremClusterClusterTypePtrOutputWithC }).(OnPremClusterClusterTypePtrOutput) } +func (o OnPremClusterClusterTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremClusterClusterType] { + return pulumix.Output[OnPremClusterClusterType]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterClusterTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -968,6 +1065,12 @@ func (o OnPremClusterClusterTypePtrOutput) ToOnPremClusterClusterTypePtrOutputWi return o } +func (o OnPremClusterClusterTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OnPremClusterClusterType] { + return pulumix.Output[*OnPremClusterClusterType]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterClusterTypePtrOutput) Elem() OnPremClusterClusterTypeOutput { return o.ApplyT(func(v *OnPremClusterClusterType) OnPremClusterClusterType { if v != nil { @@ -1030,6 +1133,12 @@ func (in *onPremClusterClusterTypePtr) ToOnPremClusterClusterTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(OnPremClusterClusterTypePtrOutput) } +func (in *onPremClusterClusterTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OnPremClusterClusterType] { + return pulumix.Output[*OnPremClusterClusterType]{ + OutputState: in.ToOnPremClusterClusterTypePtrOutputWithContext(ctx).OutputState, + } +} + // predefined_role is the Kubernetes default role to use type RolePredefinedRole string @@ -1104,6 +1213,12 @@ func (o RolePredefinedRoleOutput) ToRolePredefinedRolePtrOutputWithContext(ctx c }).(RolePredefinedRolePtrOutput) } +func (o RolePredefinedRoleOutput) ToOutput(ctx context.Context) pulumix.Output[RolePredefinedRole] { + return pulumix.Output[RolePredefinedRole]{ + OutputState: o.OutputState, + } +} + func (o RolePredefinedRoleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1139,6 +1254,12 @@ func (o RolePredefinedRolePtrOutput) ToRolePredefinedRolePtrOutputWithContext(ct return o } +func (o RolePredefinedRolePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RolePredefinedRole] { + return pulumix.Output[*RolePredefinedRole]{ + OutputState: o.OutputState, + } +} + func (o RolePredefinedRolePtrOutput) Elem() RolePredefinedRoleOutput { return o.ApplyT(func(v *RolePredefinedRole) RolePredefinedRole { if v != nil { @@ -1201,6 +1322,12 @@ func (in *rolePredefinedRolePtr) ToRolePredefinedRolePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(RolePredefinedRolePtrOutput) } +func (in *rolePredefinedRolePtr) ToOutput(ctx context.Context) pulumix.Output[*RolePredefinedRole] { + return pulumix.Output[*RolePredefinedRole]{ + OutputState: in.ToRolePredefinedRolePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/gkehub/v1alpha/pulumiTypes.go b/sdk/go/google/gkehub/v1alpha/pulumiTypes.go index 5457c40eec..a5b96d196b 100644 --- a/sdk/go/google/gkehub/v1alpha/pulumiTypes.go +++ b/sdk/go/google/gkehub/v1alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i AnthosObservabilityFeatureSpecArgs) ToAnthosObservabilityFeatureSpecOutp return pulumi.ToOutputWithContext(ctx, i).(AnthosObservabilityFeatureSpecOutput) } +func (i AnthosObservabilityFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityFeatureSpec] { + return pulumix.Output[AnthosObservabilityFeatureSpec]{ + OutputState: i.ToAnthosObservabilityFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i AnthosObservabilityFeatureSpecArgs) ToAnthosObservabilityFeatureSpecPtrOutput() AnthosObservabilityFeatureSpecPtrOutput { return i.ToAnthosObservabilityFeatureSpecPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *anthosObservabilityFeatureSpecPtrType) ToAnthosObservabilityFeatureSpec return pulumi.ToOutputWithContext(ctx, i).(AnthosObservabilityFeatureSpecPtrOutput) } +func (i *anthosObservabilityFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnthosObservabilityFeatureSpec] { + return pulumix.Output[*AnthosObservabilityFeatureSpec]{ + OutputState: i.ToAnthosObservabilityFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Anthos Observability**: Spec type AnthosObservabilityFeatureSpecOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o AnthosObservabilityFeatureSpecOutput) ToAnthosObservabilityFeatureSpecPt }).(AnthosObservabilityFeatureSpecPtrOutput) } +func (o AnthosObservabilityFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityFeatureSpec] { + return pulumix.Output[AnthosObservabilityFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Default membership spec for unconfigured memberships func (o AnthosObservabilityFeatureSpecOutput) DefaultMembershipSpec() AnthosObservabilityMembershipSpecPtrOutput { return o.ApplyT(func(v AnthosObservabilityFeatureSpec) *AnthosObservabilityMembershipSpec { @@ -135,6 +154,12 @@ func (o AnthosObservabilityFeatureSpecPtrOutput) ToAnthosObservabilityFeatureSpe return o } +func (o AnthosObservabilityFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnthosObservabilityFeatureSpec] { + return pulumix.Output[*AnthosObservabilityFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o AnthosObservabilityFeatureSpecPtrOutput) Elem() AnthosObservabilityFeatureSpecOutput { return o.ApplyT(func(v *AnthosObservabilityFeatureSpec) AnthosObservabilityFeatureSpec { if v != nil { @@ -176,6 +201,12 @@ func (o AnthosObservabilityFeatureSpecResponseOutput) ToAnthosObservabilityFeatu return o } +func (o AnthosObservabilityFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityFeatureSpecResponse] { + return pulumix.Output[AnthosObservabilityFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Default membership spec for unconfigured memberships func (o AnthosObservabilityFeatureSpecResponseOutput) DefaultMembershipSpec() AnthosObservabilityMembershipSpecResponseOutput { return o.ApplyT(func(v AnthosObservabilityFeatureSpecResponse) AnthosObservabilityMembershipSpecResponse { @@ -226,6 +257,12 @@ func (i AnthosObservabilityMembershipSpecArgs) ToAnthosObservabilityMembershipSp return pulumi.ToOutputWithContext(ctx, i).(AnthosObservabilityMembershipSpecOutput) } +func (i AnthosObservabilityMembershipSpecArgs) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityMembershipSpec] { + return pulumix.Output[AnthosObservabilityMembershipSpec]{ + OutputState: i.ToAnthosObservabilityMembershipSpecOutputWithContext(ctx).OutputState, + } +} + func (i AnthosObservabilityMembershipSpecArgs) ToAnthosObservabilityMembershipSpecPtrOutput() AnthosObservabilityMembershipSpecPtrOutput { return i.ToAnthosObservabilityMembershipSpecPtrOutputWithContext(context.Background()) } @@ -267,6 +304,12 @@ func (i *anthosObservabilityMembershipSpecPtrType) ToAnthosObservabilityMembersh return pulumi.ToOutputWithContext(ctx, i).(AnthosObservabilityMembershipSpecPtrOutput) } +func (i *anthosObservabilityMembershipSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnthosObservabilityMembershipSpec] { + return pulumix.Output[*AnthosObservabilityMembershipSpec]{ + OutputState: i.ToAnthosObservabilityMembershipSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Anthosobservability**: Per-Membership Feature spec. type AnthosObservabilityMembershipSpecOutput struct{ *pulumi.OutputState } @@ -292,6 +335,12 @@ func (o AnthosObservabilityMembershipSpecOutput) ToAnthosObservabilityMembership }).(AnthosObservabilityMembershipSpecPtrOutput) } +func (o AnthosObservabilityMembershipSpecOutput) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityMembershipSpec] { + return pulumix.Output[AnthosObservabilityMembershipSpec]{ + OutputState: o.OutputState, + } +} + // Use full of metrics rather than optimized metrics. See https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics func (o AnthosObservabilityMembershipSpecOutput) DoNotOptimizeMetrics() pulumi.BoolPtrOutput { return o.ApplyT(func(v AnthosObservabilityMembershipSpec) *bool { return v.DoNotOptimizeMetrics }).(pulumi.BoolPtrOutput) @@ -321,6 +370,12 @@ func (o AnthosObservabilityMembershipSpecPtrOutput) ToAnthosObservabilityMembers return o } +func (o AnthosObservabilityMembershipSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnthosObservabilityMembershipSpec] { + return pulumix.Output[*AnthosObservabilityMembershipSpec]{ + OutputState: o.OutputState, + } +} + func (o AnthosObservabilityMembershipSpecPtrOutput) Elem() AnthosObservabilityMembershipSpecOutput { return o.ApplyT(func(v *AnthosObservabilityMembershipSpec) AnthosObservabilityMembershipSpec { if v != nil { @@ -386,6 +441,12 @@ func (o AnthosObservabilityMembershipSpecResponseOutput) ToAnthosObservabilityMe return o } +func (o AnthosObservabilityMembershipSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityMembershipSpecResponse] { + return pulumix.Output[AnthosObservabilityMembershipSpecResponse]{ + OutputState: o.OutputState, + } +} + // Use full of metrics rather than optimized metrics. See https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics func (o AnthosObservabilityMembershipSpecResponseOutput) DoNotOptimizeMetrics() pulumi.BoolOutput { return o.ApplyT(func(v AnthosObservabilityMembershipSpecResponse) bool { return v.DoNotOptimizeMetrics }).(pulumi.BoolOutput) @@ -432,6 +493,12 @@ func (i AppDevExperienceFeatureSpecArgs) ToAppDevExperienceFeatureSpecOutputWith return pulumi.ToOutputWithContext(ctx, i).(AppDevExperienceFeatureSpecOutput) } +func (i AppDevExperienceFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureSpec] { + return pulumix.Output[AppDevExperienceFeatureSpec]{ + OutputState: i.ToAppDevExperienceFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i AppDevExperienceFeatureSpecArgs) ToAppDevExperienceFeatureSpecPtrOutput() AppDevExperienceFeatureSpecPtrOutput { return i.ToAppDevExperienceFeatureSpecPtrOutputWithContext(context.Background()) } @@ -473,6 +540,12 @@ func (i *appDevExperienceFeatureSpecPtrType) ToAppDevExperienceFeatureSpecPtrOut return pulumi.ToOutputWithContext(ctx, i).(AppDevExperienceFeatureSpecPtrOutput) } +func (i *appDevExperienceFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppDevExperienceFeatureSpec] { + return pulumix.Output[*AppDevExperienceFeatureSpec]{ + OutputState: i.ToAppDevExperienceFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Spec for App Dev Experience Feature. type AppDevExperienceFeatureSpecOutput struct{ *pulumi.OutputState } @@ -498,6 +571,12 @@ func (o AppDevExperienceFeatureSpecOutput) ToAppDevExperienceFeatureSpecPtrOutpu }).(AppDevExperienceFeatureSpecPtrOutput) } +func (o AppDevExperienceFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureSpec] { + return pulumix.Output[AppDevExperienceFeatureSpec]{ + OutputState: o.OutputState, + } +} + type AppDevExperienceFeatureSpecPtrOutput struct{ *pulumi.OutputState } func (AppDevExperienceFeatureSpecPtrOutput) ElementType() reflect.Type { @@ -512,6 +591,12 @@ func (o AppDevExperienceFeatureSpecPtrOutput) ToAppDevExperienceFeatureSpecPtrOu return o } +func (o AppDevExperienceFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppDevExperienceFeatureSpec] { + return pulumix.Output[*AppDevExperienceFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o AppDevExperienceFeatureSpecPtrOutput) Elem() AppDevExperienceFeatureSpecOutput { return o.ApplyT(func(v *AppDevExperienceFeatureSpec) AppDevExperienceFeatureSpec { if v != nil { @@ -541,6 +626,12 @@ func (o AppDevExperienceFeatureSpecResponseOutput) ToAppDevExperienceFeatureSpec return o } +func (o AppDevExperienceFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureSpecResponse] { + return pulumix.Output[AppDevExperienceFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // State for App Dev Exp Feature. type AppDevExperienceFeatureStateResponse struct { // Status of subcomponent that detects configured Service Mesh resources. @@ -562,6 +653,12 @@ func (o AppDevExperienceFeatureStateResponseOutput) ToAppDevExperienceFeatureSta return o } +func (o AppDevExperienceFeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureStateResponse] { + return pulumix.Output[AppDevExperienceFeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // Status of subcomponent that detects configured Service Mesh resources. func (o AppDevExperienceFeatureStateResponseOutput) NetworkingInstallSucceeded() StatusResponseOutput { return o.ApplyT(func(v AppDevExperienceFeatureStateResponse) StatusResponse { return v.NetworkingInstallSucceeded }).(StatusResponseOutput) @@ -602,6 +699,12 @@ func (i ApplianceClusterArgs) ToApplianceClusterOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ApplianceClusterOutput) } +func (i ApplianceClusterArgs) ToOutput(ctx context.Context) pulumix.Output[ApplianceCluster] { + return pulumix.Output[ApplianceCluster]{ + OutputState: i.ToApplianceClusterOutputWithContext(ctx).OutputState, + } +} + func (i ApplianceClusterArgs) ToApplianceClusterPtrOutput() ApplianceClusterPtrOutput { return i.ToApplianceClusterPtrOutputWithContext(context.Background()) } @@ -643,6 +746,12 @@ func (i *applianceClusterPtrType) ToApplianceClusterPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ApplianceClusterPtrOutput) } +func (i *applianceClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApplianceCluster] { + return pulumix.Output[*ApplianceCluster]{ + OutputState: i.ToApplianceClusterPtrOutputWithContext(ctx).OutputState, + } +} + // ApplianceCluster contains information specific to GDC Edge Appliance Clusters. type ApplianceClusterOutput struct{ *pulumi.OutputState } @@ -668,6 +777,12 @@ func (o ApplianceClusterOutput) ToApplianceClusterPtrOutputWithContext(ctx conte }).(ApplianceClusterPtrOutput) } +func (o ApplianceClusterOutput) ToOutput(ctx context.Context) pulumix.Output[ApplianceCluster] { + return pulumix.Output[ApplianceCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance func (o ApplianceClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v ApplianceCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -687,6 +802,12 @@ func (o ApplianceClusterPtrOutput) ToApplianceClusterPtrOutputWithContext(ctx co return o } +func (o ApplianceClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplianceCluster] { + return pulumix.Output[*ApplianceCluster]{ + OutputState: o.OutputState, + } +} + func (o ApplianceClusterPtrOutput) Elem() ApplianceClusterOutput { return o.ApplyT(func(v *ApplianceCluster) ApplianceCluster { if v != nil { @@ -728,6 +849,12 @@ func (o ApplianceClusterResponseOutput) ToApplianceClusterResponseOutputWithCont return o } +func (o ApplianceClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApplianceClusterResponse] { + return pulumix.Output[ApplianceClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance func (o ApplianceClusterResponseOutput) ResourceLink() pulumi.StringOutput { return o.ApplyT(func(v ApplianceClusterResponse) string { return v.ResourceLink }).(pulumi.StringOutput) @@ -772,6 +899,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -797,6 +930,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -812,6 +951,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -836,6 +981,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -865,6 +1016,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -889,6 +1046,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -934,6 +1097,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -959,6 +1128,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -974,6 +1149,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -998,6 +1179,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -1027,6 +1214,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -1051,6 +1244,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -1096,6 +1295,12 @@ func (i AuthorityArgs) ToAuthorityOutputWithContext(ctx context.Context) Authori return pulumi.ToOutputWithContext(ctx, i).(AuthorityOutput) } +func (i AuthorityArgs) ToOutput(ctx context.Context) pulumix.Output[Authority] { + return pulumix.Output[Authority]{ + OutputState: i.ToAuthorityOutputWithContext(ctx).OutputState, + } +} + func (i AuthorityArgs) ToAuthorityPtrOutput() AuthorityPtrOutput { return i.ToAuthorityPtrOutputWithContext(context.Background()) } @@ -1137,6 +1342,12 @@ func (i *authorityPtrType) ToAuthorityPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AuthorityPtrOutput) } +func (i *authorityPtrType) ToOutput(ctx context.Context) pulumix.Output[*Authority] { + return pulumix.Output[*Authority]{ + OutputState: i.ToAuthorityPtrOutputWithContext(ctx).OutputState, + } +} + // Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity type AuthorityOutput struct{ *pulumi.OutputState } @@ -1162,6 +1373,12 @@ func (o AuthorityOutput) ToAuthorityPtrOutputWithContext(ctx context.Context) Au }).(AuthorityPtrOutput) } +func (o AuthorityOutput) ToOutput(ctx context.Context) pulumix.Output[Authority] { + return pulumix.Output[Authority]{ + OutputState: o.OutputState, + } +} + // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity). func (o AuthorityOutput) Issuer() pulumi.StringPtrOutput { return o.ApplyT(func(v Authority) *string { return v.Issuer }).(pulumi.StringPtrOutput) @@ -1186,6 +1403,12 @@ func (o AuthorityPtrOutput) ToAuthorityPtrOutputWithContext(ctx context.Context) return o } +func (o AuthorityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Authority] { + return pulumix.Output[*Authority]{ + OutputState: o.OutputState, + } +} + func (o AuthorityPtrOutput) Elem() AuthorityOutput { return o.ApplyT(func(v *Authority) Authority { if v != nil { @@ -1243,6 +1466,12 @@ func (o AuthorityResponseOutput) ToAuthorityResponseOutputWithContext(ctx contex return o } +func (o AuthorityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorityResponse] { + return pulumix.Output[AuthorityResponse]{ + OutputState: o.OutputState, + } +} + // An identity provider that reflects the `issuer` in the workload identity pool. func (o AuthorityResponseOutput) IdentityProvider() pulumi.StringOutput { return o.ApplyT(func(v AuthorityResponse) string { return v.IdentityProvider }).(pulumi.StringOutput) @@ -1306,6 +1535,12 @@ func (i BindingTypeArgs) ToBindingTypeOutputWithContext(ctx context.Context) Bin return pulumi.ToOutputWithContext(ctx, i).(BindingTypeOutput) } +func (i BindingTypeArgs) ToOutput(ctx context.Context) pulumix.Output[BindingType] { + return pulumix.Output[BindingType]{ + OutputState: i.ToBindingTypeOutputWithContext(ctx).OutputState, + } +} + // BindingTypeArrayInput is an input type that accepts BindingTypeArray and BindingTypeArrayOutput values. // You can construct a concrete instance of `BindingTypeArrayInput` via: // @@ -1331,6 +1566,12 @@ func (i BindingTypeArray) ToBindingTypeArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BindingTypeArrayOutput) } +func (i BindingTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]BindingType] { + return pulumix.Output[[]BindingType]{ + OutputState: i.ToBindingTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingTypeOutput struct{ *pulumi.OutputState } @@ -1346,6 +1587,12 @@ func (o BindingTypeOutput) ToBindingTypeOutputWithContext(ctx context.Context) B return o } +func (o BindingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BindingType] { + return pulumix.Output[BindingType]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingTypeOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v BindingType) *Expr { return v.Condition }).(ExprPtrOutput) @@ -1375,6 +1622,12 @@ func (o BindingTypeArrayOutput) ToBindingTypeArrayOutputWithContext(ctx context. return o } +func (o BindingTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingType] { + return pulumix.Output[[]BindingType]{ + OutputState: o.OutputState, + } +} + func (o BindingTypeArrayOutput) Index(i pulumi.IntInput) BindingTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingType { return vs[0].([]BindingType)[vs[1].(int)] @@ -1406,6 +1659,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1435,6 +1694,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1476,6 +1741,12 @@ func (i CloudAuditLoggingFeatureSpecArgs) ToCloudAuditLoggingFeatureSpecOutputWi return pulumi.ToOutputWithContext(ctx, i).(CloudAuditLoggingFeatureSpecOutput) } +func (i CloudAuditLoggingFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[CloudAuditLoggingFeatureSpec] { + return pulumix.Output[CloudAuditLoggingFeatureSpec]{ + OutputState: i.ToCloudAuditLoggingFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i CloudAuditLoggingFeatureSpecArgs) ToCloudAuditLoggingFeatureSpecPtrOutput() CloudAuditLoggingFeatureSpecPtrOutput { return i.ToCloudAuditLoggingFeatureSpecPtrOutputWithContext(context.Background()) } @@ -1517,6 +1788,12 @@ func (i *cloudAuditLoggingFeatureSpecPtrType) ToCloudAuditLoggingFeatureSpecPtrO return pulumi.ToOutputWithContext(ctx, i).(CloudAuditLoggingFeatureSpecPtrOutput) } +func (i *cloudAuditLoggingFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudAuditLoggingFeatureSpec] { + return pulumix.Output[*CloudAuditLoggingFeatureSpec]{ + OutputState: i.ToCloudAuditLoggingFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Cloud Audit Logging**: Spec for Audit Logging Allowlisting. type CloudAuditLoggingFeatureSpecOutput struct{ *pulumi.OutputState } @@ -1542,6 +1819,12 @@ func (o CloudAuditLoggingFeatureSpecOutput) ToCloudAuditLoggingFeatureSpecPtrOut }).(CloudAuditLoggingFeatureSpecPtrOutput) } +func (o CloudAuditLoggingFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[CloudAuditLoggingFeatureSpec] { + return pulumix.Output[CloudAuditLoggingFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.) func (o CloudAuditLoggingFeatureSpecOutput) AllowlistedServiceAccounts() pulumi.StringArrayOutput { return o.ApplyT(func(v CloudAuditLoggingFeatureSpec) []string { return v.AllowlistedServiceAccounts }).(pulumi.StringArrayOutput) @@ -1561,6 +1844,12 @@ func (o CloudAuditLoggingFeatureSpecPtrOutput) ToCloudAuditLoggingFeatureSpecPtr return o } +func (o CloudAuditLoggingFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudAuditLoggingFeatureSpec] { + return pulumix.Output[*CloudAuditLoggingFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o CloudAuditLoggingFeatureSpecPtrOutput) Elem() CloudAuditLoggingFeatureSpecOutput { return o.ApplyT(func(v *CloudAuditLoggingFeatureSpec) CloudAuditLoggingFeatureSpec { if v != nil { @@ -1602,6 +1891,12 @@ func (o CloudAuditLoggingFeatureSpecResponseOutput) ToCloudAuditLoggingFeatureSp return o } +func (o CloudAuditLoggingFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudAuditLoggingFeatureSpecResponse] { + return pulumix.Output[CloudAuditLoggingFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.) func (o CloudAuditLoggingFeatureSpecResponseOutput) AllowlistedServiceAccounts() pulumi.StringArrayOutput { return o.ApplyT(func(v CloudAuditLoggingFeatureSpecResponse) []string { return v.AllowlistedServiceAccounts }).(pulumi.StringArrayOutput) @@ -1662,6 +1957,12 @@ func (i CommonFeatureSpecArgs) ToCommonFeatureSpecOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CommonFeatureSpecOutput) } +func (i CommonFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureSpec] { + return pulumix.Output[CommonFeatureSpec]{ + OutputState: i.ToCommonFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i CommonFeatureSpecArgs) ToCommonFeatureSpecPtrOutput() CommonFeatureSpecPtrOutput { return i.ToCommonFeatureSpecPtrOutputWithContext(context.Background()) } @@ -1703,6 +2004,12 @@ func (i *commonFeatureSpecPtrType) ToCommonFeatureSpecPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CommonFeatureSpecPtrOutput) } +func (i *commonFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*CommonFeatureSpec] { + return pulumix.Output[*CommonFeatureSpec]{ + OutputState: i.ToCommonFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // CommonFeatureSpec contains Hub-wide configuration information type CommonFeatureSpecOutput struct{ *pulumi.OutputState } @@ -1728,6 +2035,12 @@ func (o CommonFeatureSpecOutput) ToCommonFeatureSpecPtrOutputWithContext(ctx con }).(CommonFeatureSpecPtrOutput) } +func (o CommonFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureSpec] { + return pulumix.Output[CommonFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Anthos Observability spec func (o CommonFeatureSpecOutput) Anthosobservability() AnthosObservabilityFeatureSpecPtrOutput { return o.ApplyT(func(v CommonFeatureSpec) *AnthosObservabilityFeatureSpec { return v.Anthosobservability }).(AnthosObservabilityFeatureSpecPtrOutput) @@ -1772,6 +2085,12 @@ func (o CommonFeatureSpecPtrOutput) ToCommonFeatureSpecPtrOutputWithContext(ctx return o } +func (o CommonFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CommonFeatureSpec] { + return pulumix.Output[*CommonFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o CommonFeatureSpecPtrOutput) Elem() CommonFeatureSpecOutput { return o.ApplyT(func(v *CommonFeatureSpec) CommonFeatureSpec { if v != nil { @@ -1873,6 +2192,12 @@ func (o CommonFeatureSpecResponseOutput) ToCommonFeatureSpecResponseOutputWithCo return o } +func (o CommonFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureSpecResponse] { + return pulumix.Output[CommonFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Anthos Observability spec func (o CommonFeatureSpecResponseOutput) Anthosobservability() AnthosObservabilityFeatureSpecResponseOutput { return o.ApplyT(func(v CommonFeatureSpecResponse) AnthosObservabilityFeatureSpecResponse { return v.Anthosobservability }).(AnthosObservabilityFeatureSpecResponseOutput) @@ -1930,6 +2255,12 @@ func (o CommonFeatureStateResponseOutput) ToCommonFeatureStateResponseOutputWith return o } +func (o CommonFeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureStateResponse] { + return pulumix.Output[CommonFeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // Appdevexperience specific state. func (o CommonFeatureStateResponseOutput) Appdevexperience() AppDevExperienceFeatureStateResponseOutput { return o.ApplyT(func(v CommonFeatureStateResponse) AppDevExperienceFeatureStateResponse { return v.Appdevexperience }).(AppDevExperienceFeatureStateResponseOutput) @@ -1985,6 +2316,12 @@ func (i CommonFleetDefaultMemberConfigSpecArgs) ToCommonFleetDefaultMemberConfig return pulumi.ToOutputWithContext(ctx, i).(CommonFleetDefaultMemberConfigSpecOutput) } +func (i CommonFleetDefaultMemberConfigSpecArgs) ToOutput(ctx context.Context) pulumix.Output[CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[CommonFleetDefaultMemberConfigSpec]{ + OutputState: i.ToCommonFleetDefaultMemberConfigSpecOutputWithContext(ctx).OutputState, + } +} + func (i CommonFleetDefaultMemberConfigSpecArgs) ToCommonFleetDefaultMemberConfigSpecPtrOutput() CommonFleetDefaultMemberConfigSpecPtrOutput { return i.ToCommonFleetDefaultMemberConfigSpecPtrOutputWithContext(context.Background()) } @@ -2026,6 +2363,12 @@ func (i *commonFleetDefaultMemberConfigSpecPtrType) ToCommonFleetDefaultMemberCo return pulumi.ToOutputWithContext(ctx, i).(CommonFleetDefaultMemberConfigSpecPtrOutput) } +func (i *commonFleetDefaultMemberConfigSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[*CommonFleetDefaultMemberConfigSpec]{ + OutputState: i.ToCommonFleetDefaultMemberConfigSpecPtrOutputWithContext(ctx).OutputState, + } +} + // CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet type CommonFleetDefaultMemberConfigSpecOutput struct{ *pulumi.OutputState } @@ -2051,6 +2394,12 @@ func (o CommonFleetDefaultMemberConfigSpecOutput) ToCommonFleetDefaultMemberConf }).(CommonFleetDefaultMemberConfigSpecPtrOutput) } +func (o CommonFleetDefaultMemberConfigSpecOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[CommonFleetDefaultMemberConfigSpec]{ + OutputState: o.OutputState, + } +} + // Identity Service-specific spec. func (o CommonFleetDefaultMemberConfigSpecOutput) Identityservice() IdentityServiceMembershipSpecPtrOutput { return o.ApplyT(func(v CommonFleetDefaultMemberConfigSpec) *IdentityServiceMembershipSpec { return v.Identityservice }).(IdentityServiceMembershipSpecPtrOutput) @@ -2070,6 +2419,12 @@ func (o CommonFleetDefaultMemberConfigSpecPtrOutput) ToCommonFleetDefaultMemberC return o } +func (o CommonFleetDefaultMemberConfigSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[*CommonFleetDefaultMemberConfigSpec]{ + OutputState: o.OutputState, + } +} + func (o CommonFleetDefaultMemberConfigSpecPtrOutput) Elem() CommonFleetDefaultMemberConfigSpecOutput { return o.ApplyT(func(v *CommonFleetDefaultMemberConfigSpec) CommonFleetDefaultMemberConfigSpec { if v != nil { @@ -2111,6 +2466,12 @@ func (o CommonFleetDefaultMemberConfigSpecResponseOutput) ToCommonFleetDefaultMe return o } +func (o CommonFleetDefaultMemberConfigSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFleetDefaultMemberConfigSpecResponse] { + return pulumix.Output[CommonFleetDefaultMemberConfigSpecResponse]{ + OutputState: o.OutputState, + } +} + // Identity Service-specific spec. func (o CommonFleetDefaultMemberConfigSpecResponseOutput) Identityservice() IdentityServiceMembershipSpecResponseOutput { return o.ApplyT(func(v CommonFleetDefaultMemberConfigSpecResponse) IdentityServiceMembershipSpecResponse { @@ -2153,6 +2514,12 @@ func (i EdgeClusterArgs) ToEdgeClusterOutputWithContext(ctx context.Context) Edg return pulumi.ToOutputWithContext(ctx, i).(EdgeClusterOutput) } +func (i EdgeClusterArgs) ToOutput(ctx context.Context) pulumix.Output[EdgeCluster] { + return pulumix.Output[EdgeCluster]{ + OutputState: i.ToEdgeClusterOutputWithContext(ctx).OutputState, + } +} + func (i EdgeClusterArgs) ToEdgeClusterPtrOutput() EdgeClusterPtrOutput { return i.ToEdgeClusterPtrOutputWithContext(context.Background()) } @@ -2194,6 +2561,12 @@ func (i *edgeClusterPtrType) ToEdgeClusterPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(EdgeClusterPtrOutput) } +func (i *edgeClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*EdgeCluster] { + return pulumix.Output[*EdgeCluster]{ + OutputState: i.ToEdgeClusterPtrOutputWithContext(ctx).OutputState, + } +} + // EdgeCluster contains information specific to Google Edge Clusters. type EdgeClusterOutput struct{ *pulumi.OutputState } @@ -2219,6 +2592,12 @@ func (o EdgeClusterOutput) ToEdgeClusterPtrOutputWithContext(ctx context.Context }).(EdgeClusterPtrOutput) } +func (o EdgeClusterOutput) ToOutput(ctx context.Context) pulumix.Output[EdgeCluster] { + return pulumix.Output[EdgeCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster func (o EdgeClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v EdgeCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -2238,6 +2617,12 @@ func (o EdgeClusterPtrOutput) ToEdgeClusterPtrOutputWithContext(ctx context.Cont return o } +func (o EdgeClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCluster] { + return pulumix.Output[*EdgeCluster]{ + OutputState: o.OutputState, + } +} + func (o EdgeClusterPtrOutput) Elem() EdgeClusterOutput { return o.ApplyT(func(v *EdgeCluster) EdgeCluster { if v != nil { @@ -2279,6 +2664,12 @@ func (o EdgeClusterResponseOutput) ToEdgeClusterResponseOutputWithContext(ctx co return o } +func (o EdgeClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EdgeClusterResponse] { + return pulumix.Output[EdgeClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster func (o EdgeClusterResponseOutput) ResourceLink() pulumi.StringOutput { return o.ApplyT(func(v EdgeClusterResponse) string { return v.ResourceLink }).(pulumi.StringOutput) @@ -2331,6 +2722,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -2372,6 +2769,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -2397,6 +2800,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2431,6 +2840,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -2508,6 +2923,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2549,6 +2970,12 @@ func (o FeatureResourceStateResponseOutput) ToFeatureResourceStateResponseOutput return o } +func (o FeatureResourceStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureResourceStateResponse] { + return pulumix.Output[FeatureResourceStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Feature resource in the Hub API. func (o FeatureResourceStateResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v FeatureResourceStateResponse) string { return v.State }).(pulumi.StringOutput) @@ -2593,6 +3020,12 @@ func (i FeatureSpecArgs) ToFeatureSpecOutputWithContext(ctx context.Context) Fea return pulumi.ToOutputWithContext(ctx, i).(FeatureSpecOutput) } +func (i FeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[FeatureSpec] { + return pulumix.Output[FeatureSpec]{ + OutputState: i.ToFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i FeatureSpecArgs) ToFeatureSpecPtrOutput() FeatureSpecPtrOutput { return i.ToFeatureSpecPtrOutputWithContext(context.Background()) } @@ -2634,6 +3067,12 @@ func (i *featureSpecPtrType) ToFeatureSpecPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FeatureSpecPtrOutput) } +func (i *featureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*FeatureSpec] { + return pulumix.Output[*FeatureSpec]{ + OutputState: i.ToFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Workload Certificate**: The Hub-wide input for the WorkloadCertificate feature. type FeatureSpecOutput struct{ *pulumi.OutputState } @@ -2659,6 +3098,12 @@ func (o FeatureSpecOutput) ToFeatureSpecPtrOutputWithContext(ctx context.Context }).(FeatureSpecPtrOutput) } +func (o FeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureSpec] { + return pulumix.Output[FeatureSpec]{ + OutputState: o.OutputState, + } +} + // Specifies default membership spec. Users can override the default in the member_configs for each member. func (o FeatureSpecOutput) DefaultConfig() MembershipSpecPtrOutput { return o.ApplyT(func(v FeatureSpec) *MembershipSpec { return v.DefaultConfig }).(MembershipSpecPtrOutput) @@ -2683,6 +3128,12 @@ func (o FeatureSpecPtrOutput) ToFeatureSpecPtrOutputWithContext(ctx context.Cont return o } +func (o FeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureSpec] { + return pulumix.Output[*FeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o FeatureSpecPtrOutput) Elem() FeatureSpecOutput { return o.ApplyT(func(v *FeatureSpec) FeatureSpec { if v != nil { @@ -2736,6 +3187,12 @@ func (o FeatureSpecResponseOutput) ToFeatureSpecResponseOutputWithContext(ctx co return o } +func (o FeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureSpecResponse] { + return pulumix.Output[FeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Specifies default membership spec. Users can override the default in the member_configs for each member. func (o FeatureSpecResponseOutput) DefaultConfig() MembershipSpecResponseOutput { return o.ApplyT(func(v FeatureSpecResponse) MembershipSpecResponse { return v.DefaultConfig }).(MembershipSpecResponseOutput) @@ -2771,6 +3228,12 @@ func (o FeatureStateResponseOutput) ToFeatureStateResponseOutputWithContext(ctx return o } +func (o FeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureStateResponse] { + return pulumix.Output[FeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // The high-level, machine-readable status of this Feature. func (o FeatureStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v FeatureStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -2807,6 +3270,12 @@ func (o FleetLifecycleStateResponseOutput) ToFleetLifecycleStateResponseOutputWi return o } +func (o FleetLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetLifecycleStateResponse] { + return pulumix.Output[FleetLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Fleet resource. func (o FleetLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v FleetLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -2847,6 +3316,12 @@ func (i FleetObservabilityFeatureSpecArgs) ToFleetObservabilityFeatureSpecOutput return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityFeatureSpecOutput) } +func (i FleetObservabilityFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureSpec] { + return pulumix.Output[FleetObservabilityFeatureSpec]{ + OutputState: i.ToFleetObservabilityFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i FleetObservabilityFeatureSpecArgs) ToFleetObservabilityFeatureSpecPtrOutput() FleetObservabilityFeatureSpecPtrOutput { return i.ToFleetObservabilityFeatureSpecPtrOutputWithContext(context.Background()) } @@ -2888,6 +3363,12 @@ func (i *fleetObservabilityFeatureSpecPtrType) ToFleetObservabilityFeatureSpecPt return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityFeatureSpecPtrOutput) } +func (i *fleetObservabilityFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityFeatureSpec] { + return pulumix.Output[*FleetObservabilityFeatureSpec]{ + OutputState: i.ToFleetObservabilityFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Fleet Observability**: The Hub-wide input for the FleetObservability feature. type FleetObservabilityFeatureSpecOutput struct{ *pulumi.OutputState } @@ -2913,6 +3394,12 @@ func (o FleetObservabilityFeatureSpecOutput) ToFleetObservabilityFeatureSpecPtrO }).(FleetObservabilityFeatureSpecPtrOutput) } +func (o FleetObservabilityFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureSpec] { + return pulumix.Output[FleetObservabilityFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. func (o FleetObservabilityFeatureSpecOutput) LoggingConfig() FleetObservabilityLoggingConfigPtrOutput { return o.ApplyT(func(v FleetObservabilityFeatureSpec) *FleetObservabilityLoggingConfig { return v.LoggingConfig }).(FleetObservabilityLoggingConfigPtrOutput) @@ -2932,6 +3419,12 @@ func (o FleetObservabilityFeatureSpecPtrOutput) ToFleetObservabilityFeatureSpecP return o } +func (o FleetObservabilityFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityFeatureSpec] { + return pulumix.Output[*FleetObservabilityFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityFeatureSpecPtrOutput) Elem() FleetObservabilityFeatureSpecOutput { return o.ApplyT(func(v *FleetObservabilityFeatureSpec) FleetObservabilityFeatureSpec { if v != nil { @@ -2973,6 +3466,12 @@ func (o FleetObservabilityFeatureSpecResponseOutput) ToFleetObservabilityFeature return o } +func (o FleetObservabilityFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureSpecResponse] { + return pulumix.Output[FleetObservabilityFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. func (o FleetObservabilityFeatureSpecResponseOutput) LoggingConfig() FleetObservabilityLoggingConfigResponseOutput { return o.ApplyT(func(v FleetObservabilityFeatureSpecResponse) FleetObservabilityLoggingConfigResponse { @@ -2999,6 +3498,12 @@ func (o FleetObservabilityFeatureStateResponseOutput) ToFleetObservabilityFeatur return o } +func (o FleetObservabilityFeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureStateResponse] { + return pulumix.Output[FleetObservabilityFeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // LoggingConfig defines the configuration for different types of logs. type FleetObservabilityLoggingConfig struct { // Specified if applying the default routing config to logs not specified in other configs. @@ -3038,6 +3543,12 @@ func (i FleetObservabilityLoggingConfigArgs) ToFleetObservabilityLoggingConfigOu return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityLoggingConfigOutput) } +func (i FleetObservabilityLoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityLoggingConfig] { + return pulumix.Output[FleetObservabilityLoggingConfig]{ + OutputState: i.ToFleetObservabilityLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i FleetObservabilityLoggingConfigArgs) ToFleetObservabilityLoggingConfigPtrOutput() FleetObservabilityLoggingConfigPtrOutput { return i.ToFleetObservabilityLoggingConfigPtrOutputWithContext(context.Background()) } @@ -3079,6 +3590,12 @@ func (i *fleetObservabilityLoggingConfigPtrType) ToFleetObservabilityLoggingConf return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityLoggingConfigPtrOutput) } +func (i *fleetObservabilityLoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityLoggingConfig] { + return pulumix.Output[*FleetObservabilityLoggingConfig]{ + OutputState: i.ToFleetObservabilityLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingConfig defines the configuration for different types of logs. type FleetObservabilityLoggingConfigOutput struct{ *pulumi.OutputState } @@ -3104,6 +3621,12 @@ func (o FleetObservabilityLoggingConfigOutput) ToFleetObservabilityLoggingConfig }).(FleetObservabilityLoggingConfigPtrOutput) } +func (o FleetObservabilityLoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityLoggingConfig] { + return pulumix.Output[FleetObservabilityLoggingConfig]{ + OutputState: o.OutputState, + } +} + // Specified if applying the default routing config to logs not specified in other configs. func (o FleetObservabilityLoggingConfigOutput) DefaultConfig() FleetObservabilityRoutingConfigPtrOutput { return o.ApplyT(func(v FleetObservabilityLoggingConfig) *FleetObservabilityRoutingConfig { return v.DefaultConfig }).(FleetObservabilityRoutingConfigPtrOutput) @@ -3130,6 +3653,12 @@ func (o FleetObservabilityLoggingConfigPtrOutput) ToFleetObservabilityLoggingCon return o } +func (o FleetObservabilityLoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityLoggingConfig] { + return pulumix.Output[*FleetObservabilityLoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityLoggingConfigPtrOutput) Elem() FleetObservabilityLoggingConfigOutput { return o.ApplyT(func(v *FleetObservabilityLoggingConfig) FleetObservabilityLoggingConfig { if v != nil { @@ -3183,6 +3712,12 @@ func (o FleetObservabilityLoggingConfigResponseOutput) ToFleetObservabilityLoggi return o } +func (o FleetObservabilityLoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityLoggingConfigResponse] { + return pulumix.Output[FleetObservabilityLoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specified if applying the default routing config to logs not specified in other configs. func (o FleetObservabilityLoggingConfigResponseOutput) DefaultConfig() FleetObservabilityRoutingConfigResponseOutput { return o.ApplyT(func(v FleetObservabilityLoggingConfigResponse) FleetObservabilityRoutingConfigResponse { @@ -3232,6 +3767,12 @@ func (i FleetObservabilityRoutingConfigArgs) ToFleetObservabilityRoutingConfigOu return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityRoutingConfigOutput) } +func (i FleetObservabilityRoutingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityRoutingConfig] { + return pulumix.Output[FleetObservabilityRoutingConfig]{ + OutputState: i.ToFleetObservabilityRoutingConfigOutputWithContext(ctx).OutputState, + } +} + func (i FleetObservabilityRoutingConfigArgs) ToFleetObservabilityRoutingConfigPtrOutput() FleetObservabilityRoutingConfigPtrOutput { return i.ToFleetObservabilityRoutingConfigPtrOutputWithContext(context.Background()) } @@ -3273,6 +3814,12 @@ func (i *fleetObservabilityRoutingConfigPtrType) ToFleetObservabilityRoutingConf return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityRoutingConfigPtrOutput) } +func (i *fleetObservabilityRoutingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityRoutingConfig] { + return pulumix.Output[*FleetObservabilityRoutingConfig]{ + OutputState: i.ToFleetObservabilityRoutingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // RoutingConfig configures the behaviour of fleet logging feature. type FleetObservabilityRoutingConfigOutput struct{ *pulumi.OutputState } @@ -3298,6 +3845,12 @@ func (o FleetObservabilityRoutingConfigOutput) ToFleetObservabilityRoutingConfig }).(FleetObservabilityRoutingConfigPtrOutput) } +func (o FleetObservabilityRoutingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityRoutingConfig] { + return pulumix.Output[FleetObservabilityRoutingConfig]{ + OutputState: o.OutputState, + } +} + // mode configures the logs routing mode. func (o FleetObservabilityRoutingConfigOutput) Mode() FleetObservabilityRoutingConfigModePtrOutput { return o.ApplyT(func(v FleetObservabilityRoutingConfig) *FleetObservabilityRoutingConfigMode { return v.Mode }).(FleetObservabilityRoutingConfigModePtrOutput) @@ -3317,6 +3870,12 @@ func (o FleetObservabilityRoutingConfigPtrOutput) ToFleetObservabilityRoutingCon return o } +func (o FleetObservabilityRoutingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityRoutingConfig] { + return pulumix.Output[*FleetObservabilityRoutingConfig]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityRoutingConfigPtrOutput) Elem() FleetObservabilityRoutingConfigOutput { return o.ApplyT(func(v *FleetObservabilityRoutingConfig) FleetObservabilityRoutingConfig { if v != nil { @@ -3358,6 +3917,12 @@ func (o FleetObservabilityRoutingConfigResponseOutput) ToFleetObservabilityRouti return o } +func (o FleetObservabilityRoutingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityRoutingConfigResponse] { + return pulumix.Output[FleetObservabilityRoutingConfigResponse]{ + OutputState: o.OutputState, + } +} + // mode configures the logs routing mode. func (o FleetObservabilityRoutingConfigResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v FleetObservabilityRoutingConfigResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -3398,6 +3963,12 @@ func (i GkeClusterArgs) ToGkeClusterOutputWithContext(ctx context.Context) GkeCl return pulumi.ToOutputWithContext(ctx, i).(GkeClusterOutput) } +func (i GkeClusterArgs) ToOutput(ctx context.Context) pulumix.Output[GkeCluster] { + return pulumix.Output[GkeCluster]{ + OutputState: i.ToGkeClusterOutputWithContext(ctx).OutputState, + } +} + func (i GkeClusterArgs) ToGkeClusterPtrOutput() GkeClusterPtrOutput { return i.ToGkeClusterPtrOutputWithContext(context.Background()) } @@ -3439,6 +4010,12 @@ func (i *gkeClusterPtrType) ToGkeClusterPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GkeClusterPtrOutput) } +func (i *gkeClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeCluster] { + return pulumix.Output[*GkeCluster]{ + OutputState: i.ToGkeClusterPtrOutputWithContext(ctx).OutputState, + } +} + // GkeCluster contains information specific to GKE clusters. type GkeClusterOutput struct{ *pulumi.OutputState } @@ -3464,6 +4041,12 @@ func (o GkeClusterOutput) ToGkeClusterPtrOutputWithContext(ctx context.Context) }).(GkeClusterPtrOutput) } +func (o GkeClusterOutput) ToOutput(ctx context.Context) pulumix.Output[GkeCluster] { + return pulumix.Output[GkeCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported. func (o GkeClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v GkeCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -3483,6 +4066,12 @@ func (o GkeClusterPtrOutput) ToGkeClusterPtrOutputWithContext(ctx context.Contex return o } +func (o GkeClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeCluster] { + return pulumix.Output[*GkeCluster]{ + OutputState: o.OutputState, + } +} + func (o GkeClusterPtrOutput) Elem() GkeClusterOutput { return o.ApplyT(func(v *GkeCluster) GkeCluster { if v != nil { @@ -3526,6 +4115,12 @@ func (o GkeClusterResponseOutput) ToGkeClusterResponseOutputWithContext(ctx cont return o } +func (o GkeClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeClusterResponse] { + return pulumix.Output[GkeClusterResponse]{ + OutputState: o.OutputState, + } +} + // If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane. func (o GkeClusterResponseOutput) ClusterMissing() pulumi.BoolOutput { return o.ApplyT(func(v GkeClusterResponse) bool { return v.ClusterMissing }).(pulumi.BoolOutput) @@ -3587,6 +4182,12 @@ func (i IdentityServiceAuthMethodArgs) ToIdentityServiceAuthMethodOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceAuthMethodOutput) } +func (i IdentityServiceAuthMethodArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAuthMethod] { + return pulumix.Output[IdentityServiceAuthMethod]{ + OutputState: i.ToIdentityServiceAuthMethodOutputWithContext(ctx).OutputState, + } +} + // IdentityServiceAuthMethodArrayInput is an input type that accepts IdentityServiceAuthMethodArray and IdentityServiceAuthMethodArrayOutput values. // You can construct a concrete instance of `IdentityServiceAuthMethodArrayInput` via: // @@ -3612,6 +4213,12 @@ func (i IdentityServiceAuthMethodArray) ToIdentityServiceAuthMethodArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceAuthMethodArrayOutput) } +func (i IdentityServiceAuthMethodArray) ToOutput(ctx context.Context) pulumix.Output[[]IdentityServiceAuthMethod] { + return pulumix.Output[[]IdentityServiceAuthMethod]{ + OutputState: i.ToIdentityServiceAuthMethodArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod. type IdentityServiceAuthMethodOutput struct{ *pulumi.OutputState } @@ -3627,6 +4234,12 @@ func (o IdentityServiceAuthMethodOutput) ToIdentityServiceAuthMethodOutputWithCo return o } +func (o IdentityServiceAuthMethodOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAuthMethod] { + return pulumix.Output[IdentityServiceAuthMethod]{ + OutputState: o.OutputState, + } +} + // AzureAD specific Configuration. func (o IdentityServiceAuthMethodOutput) AzureadConfig() IdentityServiceAzureADConfigPtrOutput { return o.ApplyT(func(v IdentityServiceAuthMethod) *IdentityServiceAzureADConfig { return v.AzureadConfig }).(IdentityServiceAzureADConfigPtrOutput) @@ -3666,6 +4279,12 @@ func (o IdentityServiceAuthMethodArrayOutput) ToIdentityServiceAuthMethodArrayOu return o } +func (o IdentityServiceAuthMethodArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IdentityServiceAuthMethod] { + return pulumix.Output[[]IdentityServiceAuthMethod]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceAuthMethodArrayOutput) Index(i pulumi.IntInput) IdentityServiceAuthMethodOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdentityServiceAuthMethod { return vs[0].([]IdentityServiceAuthMethod)[vs[1].(int)] @@ -3701,6 +4320,12 @@ func (o IdentityServiceAuthMethodResponseOutput) ToIdentityServiceAuthMethodResp return o } +func (o IdentityServiceAuthMethodResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAuthMethodResponse] { + return pulumix.Output[IdentityServiceAuthMethodResponse]{ + OutputState: o.OutputState, + } +} + // AzureAD specific Configuration. func (o IdentityServiceAuthMethodResponseOutput) AzureadConfig() IdentityServiceAzureADConfigResponseOutput { return o.ApplyT(func(v IdentityServiceAuthMethodResponse) IdentityServiceAzureADConfigResponse { return v.AzureadConfig }).(IdentityServiceAzureADConfigResponseOutput) @@ -3740,6 +4365,12 @@ func (o IdentityServiceAuthMethodResponseArrayOutput) ToIdentityServiceAuthMetho return o } +func (o IdentityServiceAuthMethodResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IdentityServiceAuthMethodResponse] { + return pulumix.Output[[]IdentityServiceAuthMethodResponse]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceAuthMethodResponseArrayOutput) Index(i pulumi.IntInput) IdentityServiceAuthMethodResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdentityServiceAuthMethodResponse { return vs[0].([]IdentityServiceAuthMethodResponse)[vs[1].(int)] @@ -3793,6 +4424,12 @@ func (i IdentityServiceAzureADConfigArgs) ToIdentityServiceAzureADConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceAzureADConfigOutput) } +func (i IdentityServiceAzureADConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAzureADConfig] { + return pulumix.Output[IdentityServiceAzureADConfig]{ + OutputState: i.ToIdentityServiceAzureADConfigOutputWithContext(ctx).OutputState, + } +} + func (i IdentityServiceAzureADConfigArgs) ToIdentityServiceAzureADConfigPtrOutput() IdentityServiceAzureADConfigPtrOutput { return i.ToIdentityServiceAzureADConfigPtrOutputWithContext(context.Background()) } @@ -3834,6 +4471,12 @@ func (i *identityServiceAzureADConfigPtrType) ToIdentityServiceAzureADConfigPtrO return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceAzureADConfigPtrOutput) } +func (i *identityServiceAzureADConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceAzureADConfig] { + return pulumix.Output[*IdentityServiceAzureADConfig]{ + OutputState: i.ToIdentityServiceAzureADConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the AzureAD Auth flow. type IdentityServiceAzureADConfigOutput struct{ *pulumi.OutputState } @@ -3859,6 +4502,12 @@ func (o IdentityServiceAzureADConfigOutput) ToIdentityServiceAzureADConfigPtrOut }).(IdentityServiceAzureADConfigPtrOutput) } +func (o IdentityServiceAzureADConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAzureADConfig] { + return pulumix.Output[IdentityServiceAzureADConfig]{ + OutputState: o.OutputState, + } +} + // ID for the registered client application that makes authentication requests to the Azure AD identity provider. func (o IdentityServiceAzureADConfigOutput) ClientId() pulumi.StringPtrOutput { return o.ApplyT(func(v IdentityServiceAzureADConfig) *string { return v.ClientId }).(pulumi.StringPtrOutput) @@ -3893,6 +4542,12 @@ func (o IdentityServiceAzureADConfigPtrOutput) ToIdentityServiceAzureADConfigPtr return o } +func (o IdentityServiceAzureADConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceAzureADConfig] { + return pulumix.Output[*IdentityServiceAzureADConfig]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceAzureADConfigPtrOutput) Elem() IdentityServiceAzureADConfigOutput { return o.ApplyT(func(v *IdentityServiceAzureADConfig) IdentityServiceAzureADConfig { if v != nil { @@ -3972,6 +4627,12 @@ func (o IdentityServiceAzureADConfigResponseOutput) ToIdentityServiceAzureADConf return o } +func (o IdentityServiceAzureADConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAzureADConfigResponse] { + return pulumix.Output[IdentityServiceAzureADConfigResponse]{ + OutputState: o.OutputState, + } +} + // ID for the registered client application that makes authentication requests to the Azure AD identity provider. func (o IdentityServiceAzureADConfigResponseOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v IdentityServiceAzureADConfigResponse) string { return v.ClientId }).(pulumi.StringOutput) @@ -4032,6 +4693,12 @@ func (i IdentityServiceGoogleConfigArgs) ToIdentityServiceGoogleConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceGoogleConfigOutput) } +func (i IdentityServiceGoogleConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceGoogleConfig] { + return pulumix.Output[IdentityServiceGoogleConfig]{ + OutputState: i.ToIdentityServiceGoogleConfigOutputWithContext(ctx).OutputState, + } +} + func (i IdentityServiceGoogleConfigArgs) ToIdentityServiceGoogleConfigPtrOutput() IdentityServiceGoogleConfigPtrOutput { return i.ToIdentityServiceGoogleConfigPtrOutputWithContext(context.Background()) } @@ -4073,6 +4740,12 @@ func (i *identityServiceGoogleConfigPtrType) ToIdentityServiceGoogleConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceGoogleConfigPtrOutput) } +func (i *identityServiceGoogleConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceGoogleConfig] { + return pulumix.Output[*IdentityServiceGoogleConfig]{ + OutputState: i.ToIdentityServiceGoogleConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Google Plugin Auth flow. type IdentityServiceGoogleConfigOutput struct{ *pulumi.OutputState } @@ -4098,6 +4771,12 @@ func (o IdentityServiceGoogleConfigOutput) ToIdentityServiceGoogleConfigPtrOutpu }).(IdentityServiceGoogleConfigPtrOutput) } +func (o IdentityServiceGoogleConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceGoogleConfig] { + return pulumix.Output[IdentityServiceGoogleConfig]{ + OutputState: o.OutputState, + } +} + // Disable automatic configuration of Google Plugin on supported platforms. func (o IdentityServiceGoogleConfigOutput) Disable() pulumi.BoolPtrOutput { return o.ApplyT(func(v IdentityServiceGoogleConfig) *bool { return v.Disable }).(pulumi.BoolPtrOutput) @@ -4117,6 +4796,12 @@ func (o IdentityServiceGoogleConfigPtrOutput) ToIdentityServiceGoogleConfigPtrOu return o } +func (o IdentityServiceGoogleConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceGoogleConfig] { + return pulumix.Output[*IdentityServiceGoogleConfig]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceGoogleConfigPtrOutput) Elem() IdentityServiceGoogleConfigOutput { return o.ApplyT(func(v *IdentityServiceGoogleConfig) IdentityServiceGoogleConfig { if v != nil { @@ -4158,6 +4843,12 @@ func (o IdentityServiceGoogleConfigResponseOutput) ToIdentityServiceGoogleConfig return o } +func (o IdentityServiceGoogleConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceGoogleConfigResponse] { + return pulumix.Output[IdentityServiceGoogleConfigResponse]{ + OutputState: o.OutputState, + } +} + // Disable automatic configuration of Google Plugin on supported platforms. func (o IdentityServiceGoogleConfigResponseOutput) Disable() pulumi.BoolOutput { return o.ApplyT(func(v IdentityServiceGoogleConfigResponse) bool { return v.Disable }).(pulumi.BoolOutput) @@ -4198,6 +4889,12 @@ func (i IdentityServiceMembershipSpecArgs) ToIdentityServiceMembershipSpecOutput return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceMembershipSpecOutput) } +func (i IdentityServiceMembershipSpecArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceMembershipSpec] { + return pulumix.Output[IdentityServiceMembershipSpec]{ + OutputState: i.ToIdentityServiceMembershipSpecOutputWithContext(ctx).OutputState, + } +} + func (i IdentityServiceMembershipSpecArgs) ToIdentityServiceMembershipSpecPtrOutput() IdentityServiceMembershipSpecPtrOutput { return i.ToIdentityServiceMembershipSpecPtrOutputWithContext(context.Background()) } @@ -4239,6 +4936,12 @@ func (i *identityServiceMembershipSpecPtrType) ToIdentityServiceMembershipSpecPt return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceMembershipSpecPtrOutput) } +func (i *identityServiceMembershipSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceMembershipSpec] { + return pulumix.Output[*IdentityServiceMembershipSpec]{ + OutputState: i.ToIdentityServiceMembershipSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Anthos Identity Service**: Configuration for a single Membership. type IdentityServiceMembershipSpecOutput struct{ *pulumi.OutputState } @@ -4264,6 +4967,12 @@ func (o IdentityServiceMembershipSpecOutput) ToIdentityServiceMembershipSpecPtrO }).(IdentityServiceMembershipSpecPtrOutput) } +func (o IdentityServiceMembershipSpecOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceMembershipSpec] { + return pulumix.Output[IdentityServiceMembershipSpec]{ + OutputState: o.OutputState, + } +} + // A member may support multiple auth methods. func (o IdentityServiceMembershipSpecOutput) AuthMethods() IdentityServiceAuthMethodArrayOutput { return o.ApplyT(func(v IdentityServiceMembershipSpec) []IdentityServiceAuthMethod { return v.AuthMethods }).(IdentityServiceAuthMethodArrayOutput) @@ -4283,6 +4992,12 @@ func (o IdentityServiceMembershipSpecPtrOutput) ToIdentityServiceMembershipSpecP return o } +func (o IdentityServiceMembershipSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceMembershipSpec] { + return pulumix.Output[*IdentityServiceMembershipSpec]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceMembershipSpecPtrOutput) Elem() IdentityServiceMembershipSpecOutput { return o.ApplyT(func(v *IdentityServiceMembershipSpec) IdentityServiceMembershipSpec { if v != nil { @@ -4324,6 +5039,12 @@ func (o IdentityServiceMembershipSpecResponseOutput) ToIdentityServiceMembership return o } +func (o IdentityServiceMembershipSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceMembershipSpecResponse] { + return pulumix.Output[IdentityServiceMembershipSpecResponse]{ + OutputState: o.OutputState, + } +} + // A member may support multiple auth methods. func (o IdentityServiceMembershipSpecResponseOutput) AuthMethods() IdentityServiceAuthMethodResponseArrayOutput { return o.ApplyT(func(v IdentityServiceMembershipSpecResponse) []IdentityServiceAuthMethodResponse { @@ -4414,6 +5135,12 @@ func (i IdentityServiceOidcConfigArgs) ToIdentityServiceOidcConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceOidcConfigOutput) } +func (i IdentityServiceOidcConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceOidcConfig] { + return pulumix.Output[IdentityServiceOidcConfig]{ + OutputState: i.ToIdentityServiceOidcConfigOutputWithContext(ctx).OutputState, + } +} + func (i IdentityServiceOidcConfigArgs) ToIdentityServiceOidcConfigPtrOutput() IdentityServiceOidcConfigPtrOutput { return i.ToIdentityServiceOidcConfigPtrOutputWithContext(context.Background()) } @@ -4455,6 +5182,12 @@ func (i *identityServiceOidcConfigPtrType) ToIdentityServiceOidcConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceOidcConfigPtrOutput) } +func (i *identityServiceOidcConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceOidcConfig] { + return pulumix.Output[*IdentityServiceOidcConfig]{ + OutputState: i.ToIdentityServiceOidcConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for OIDC Auth flow. type IdentityServiceOidcConfigOutput struct{ *pulumi.OutputState } @@ -4480,6 +5213,12 @@ func (o IdentityServiceOidcConfigOutput) ToIdentityServiceOidcConfigPtrOutputWit }).(IdentityServiceOidcConfigPtrOutput) } +func (o IdentityServiceOidcConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceOidcConfig] { + return pulumix.Output[IdentityServiceOidcConfig]{ + OutputState: o.OutputState, + } +} + // PEM-encoded CA for OIDC provider. func (o IdentityServiceOidcConfigOutput) CertificateAuthorityData() pulumi.StringPtrOutput { return o.ApplyT(func(v IdentityServiceOidcConfig) *string { return v.CertificateAuthorityData }).(pulumi.StringPtrOutput) @@ -4559,6 +5298,12 @@ func (o IdentityServiceOidcConfigPtrOutput) ToIdentityServiceOidcConfigPtrOutput return o } +func (o IdentityServiceOidcConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceOidcConfig] { + return pulumix.Output[*IdentityServiceOidcConfig]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceOidcConfigPtrOutput) Elem() IdentityServiceOidcConfigOutput { return o.ApplyT(func(v *IdentityServiceOidcConfig) IdentityServiceOidcConfig { if v != nil { @@ -4746,6 +5491,12 @@ func (o IdentityServiceOidcConfigResponseOutput) ToIdentityServiceOidcConfigResp return o } +func (o IdentityServiceOidcConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceOidcConfigResponse] { + return pulumix.Output[IdentityServiceOidcConfigResponse]{ + OutputState: o.OutputState, + } +} + // PEM-encoded CA for OIDC provider. func (o IdentityServiceOidcConfigResponseOutput) CertificateAuthorityData() pulumi.StringOutput { return o.ApplyT(func(v IdentityServiceOidcConfigResponse) string { return v.CertificateAuthorityData }).(pulumi.StringOutput) @@ -4847,6 +5598,12 @@ func (o KubernetesMetadataResponseOutput) ToKubernetesMetadataResponseOutputWith return o } +func (o KubernetesMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesMetadataResponse] { + return pulumix.Output[KubernetesMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Kubernetes API server version string as reported by `/version`. func (o KubernetesMetadataResponseOutput) KubernetesApiServerVersion() pulumi.StringOutput { return o.ApplyT(func(v KubernetesMetadataResponse) string { return v.KubernetesApiServerVersion }).(pulumi.StringOutput) @@ -4916,6 +5673,12 @@ func (i KubernetesResourceArgs) ToKubernetesResourceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(KubernetesResourceOutput) } +func (i KubernetesResourceArgs) ToOutput(ctx context.Context) pulumix.Output[KubernetesResource] { + return pulumix.Output[KubernetesResource]{ + OutputState: i.ToKubernetesResourceOutputWithContext(ctx).OutputState, + } +} + func (i KubernetesResourceArgs) ToKubernetesResourcePtrOutput() KubernetesResourcePtrOutput { return i.ToKubernetesResourcePtrOutputWithContext(context.Background()) } @@ -4957,6 +5720,12 @@ func (i *kubernetesResourcePtrType) ToKubernetesResourcePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(KubernetesResourcePtrOutput) } +func (i *kubernetesResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*KubernetesResource] { + return pulumix.Output[*KubernetesResource]{ + OutputState: i.ToKubernetesResourcePtrOutputWithContext(ctx).OutputState, + } +} + // KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster. type KubernetesResourceOutput struct{ *pulumi.OutputState } @@ -4982,6 +5751,12 @@ func (o KubernetesResourceOutput) ToKubernetesResourcePtrOutputWithContext(ctx c }).(KubernetesResourcePtrOutput) } +func (o KubernetesResourceOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesResource] { + return pulumix.Output[KubernetesResource]{ + OutputState: o.OutputState, + } +} + // Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership. func (o KubernetesResourceOutput) MembershipCrManifest() pulumi.StringPtrOutput { return o.ApplyT(func(v KubernetesResource) *string { return v.MembershipCrManifest }).(pulumi.StringPtrOutput) @@ -5006,6 +5781,12 @@ func (o KubernetesResourcePtrOutput) ToKubernetesResourcePtrOutputWithContext(ct return o } +func (o KubernetesResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KubernetesResource] { + return pulumix.Output[*KubernetesResource]{ + OutputState: o.OutputState, + } +} + func (o KubernetesResourcePtrOutput) Elem() KubernetesResourceOutput { return o.ApplyT(func(v *KubernetesResource) KubernetesResource { if v != nil { @@ -5063,6 +5844,12 @@ func (o KubernetesResourceResponseOutput) ToKubernetesResourceResponseOutputWith return o } +func (o KubernetesResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesResourceResponse] { + return pulumix.Output[KubernetesResourceResponse]{ + OutputState: o.OutputState, + } +} + // The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask. func (o KubernetesResourceResponseOutput) ConnectResources() ResourceManifestResponseArrayOutput { return o.ApplyT(func(v KubernetesResourceResponse) []ResourceManifestResponse { return v.ConnectResources }).(ResourceManifestResponseArrayOutput) @@ -5104,6 +5891,12 @@ func (o MembershipBindingLifecycleStateResponseOutput) ToMembershipBindingLifecy return o } +func (o MembershipBindingLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipBindingLifecycleStateResponse] { + return pulumix.Output[MembershipBindingLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the MembershipBinding resource. func (o MembershipBindingLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v MembershipBindingLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -5164,6 +5957,12 @@ func (i MembershipEndpointArgs) ToMembershipEndpointOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(MembershipEndpointOutput) } +func (i MembershipEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpoint] { + return pulumix.Output[MembershipEndpoint]{ + OutputState: i.ToMembershipEndpointOutputWithContext(ctx).OutputState, + } +} + func (i MembershipEndpointArgs) ToMembershipEndpointPtrOutput() MembershipEndpointPtrOutput { return i.ToMembershipEndpointPtrOutputWithContext(context.Background()) } @@ -5205,6 +6004,12 @@ func (i *membershipEndpointPtrType) ToMembershipEndpointPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(MembershipEndpointPtrOutput) } +func (i *membershipEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*MembershipEndpoint] { + return pulumix.Output[*MembershipEndpoint]{ + OutputState: i.ToMembershipEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata. type MembershipEndpointOutput struct{ *pulumi.OutputState } @@ -5230,6 +6035,12 @@ func (o MembershipEndpointOutput) ToMembershipEndpointPtrOutputWithContext(ctx c }).(MembershipEndpointPtrOutput) } +func (o MembershipEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpoint] { + return pulumix.Output[MembershipEndpoint]{ + OutputState: o.OutputState, + } +} + // Optional. Specific information for a GDC Edge Appliance cluster. func (o MembershipEndpointOutput) ApplianceCluster() ApplianceClusterPtrOutput { return o.ApplyT(func(v MembershipEndpoint) *ApplianceCluster { return v.ApplianceCluster }).(ApplianceClusterPtrOutput) @@ -5274,6 +6085,12 @@ func (o MembershipEndpointPtrOutput) ToMembershipEndpointPtrOutputWithContext(ct return o } +func (o MembershipEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipEndpoint] { + return pulumix.Output[*MembershipEndpoint]{ + OutputState: o.OutputState, + } +} + func (o MembershipEndpointPtrOutput) Elem() MembershipEndpointOutput { return o.ApplyT(func(v *MembershipEndpoint) MembershipEndpoint { if v != nil { @@ -5379,6 +6196,12 @@ func (o MembershipEndpointResponseOutput) ToMembershipEndpointResponseOutputWith return o } +func (o MembershipEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpointResponse] { + return pulumix.Output[MembershipEndpointResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specific information for a GDC Edge Appliance cluster. func (o MembershipEndpointResponseOutput) ApplianceCluster() ApplianceClusterResponseOutput { return o.ApplyT(func(v MembershipEndpointResponse) ApplianceClusterResponse { return v.ApplianceCluster }).(ApplianceClusterResponseOutput) @@ -5454,6 +6277,12 @@ func (i MembershipSpecArgs) ToMembershipSpecOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MembershipSpecOutput) } +func (i MembershipSpecArgs) ToOutput(ctx context.Context) pulumix.Output[MembershipSpec] { + return pulumix.Output[MembershipSpec]{ + OutputState: i.ToMembershipSpecOutputWithContext(ctx).OutputState, + } +} + func (i MembershipSpecArgs) ToMembershipSpecPtrOutput() MembershipSpecPtrOutput { return i.ToMembershipSpecPtrOutputWithContext(context.Background()) } @@ -5495,6 +6324,12 @@ func (i *membershipSpecPtrType) ToMembershipSpecPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipSpecPtrOutput) } +func (i *membershipSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*MembershipSpec] { + return pulumix.Output[*MembershipSpec]{ + OutputState: i.ToMembershipSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Workload Certificate**: The membership-specific input for WorkloadCertificate feature. type MembershipSpecOutput struct{ *pulumi.OutputState } @@ -5520,6 +6355,12 @@ func (o MembershipSpecOutput) ToMembershipSpecPtrOutputWithContext(ctx context.C }).(MembershipSpecPtrOutput) } +func (o MembershipSpecOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipSpec] { + return pulumix.Output[MembershipSpec]{ + OutputState: o.OutputState, + } +} + // Specifies workload certificate management. func (o MembershipSpecOutput) CertificateManagement() MembershipSpecCertificateManagementPtrOutput { return o.ApplyT(func(v MembershipSpec) *MembershipSpecCertificateManagement { return v.CertificateManagement }).(MembershipSpecCertificateManagementPtrOutput) @@ -5539,6 +6380,12 @@ func (o MembershipSpecPtrOutput) ToMembershipSpecPtrOutputWithContext(ctx contex return o } +func (o MembershipSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipSpec] { + return pulumix.Output[*MembershipSpec]{ + OutputState: o.OutputState, + } +} + func (o MembershipSpecPtrOutput) Elem() MembershipSpecOutput { return o.ApplyT(func(v *MembershipSpec) MembershipSpec { if v != nil { @@ -5580,6 +6427,12 @@ func (o MembershipSpecResponseOutput) ToMembershipSpecResponseOutputWithContext( return o } +func (o MembershipSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipSpecResponse] { + return pulumix.Output[MembershipSpecResponse]{ + OutputState: o.OutputState, + } +} + // Specifies workload certificate management. func (o MembershipSpecResponseOutput) CertificateManagement() pulumi.StringOutput { return o.ApplyT(func(v MembershipSpecResponse) string { return v.CertificateManagement }).(pulumi.StringOutput) @@ -5606,6 +6459,12 @@ func (o MembershipStateResponseOutput) ToMembershipStateResponseOutputWithContex return o } +func (o MembershipStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipStateResponse] { + return pulumix.Output[MembershipStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Membership resource. func (o MembershipStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v MembershipStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -5662,6 +6521,12 @@ func (i MonitoringConfigArgs) ToMonitoringConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigOutput) } +func (i MonitoringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: i.ToMonitoringConfigOutputWithContext(ctx).OutputState, + } +} + func (i MonitoringConfigArgs) ToMonitoringConfigPtrOutput() MonitoringConfigPtrOutput { return i.ToMonitoringConfigPtrOutputWithContext(context.Background()) } @@ -5703,6 +6568,12 @@ func (i *monitoringConfigPtrType) ToMonitoringConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigPtrOutput) } +func (i *monitoringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: i.ToMonitoringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // This field informs Fleet-based applications/services/UIs with the necessary information for where each underlying Cluster reports its metrics. type MonitoringConfigOutput struct{ *pulumi.OutputState } @@ -5728,6 +6599,12 @@ func (o MonitoringConfigOutput) ToMonitoringConfigPtrOutputWithContext(ctx conte }).(MonitoringConfigPtrOutput) } +func (o MonitoringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal, it would be in format `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in format `{azureClusters, awsClusters}/cluster_name`. func (o MonitoringConfigOutput) Cluster() pulumi.StringPtrOutput { return o.ApplyT(func(v MonitoringConfig) *string { return v.Cluster }).(pulumi.StringPtrOutput) @@ -5767,6 +6644,12 @@ func (o MonitoringConfigPtrOutput) ToMonitoringConfigPtrOutputWithContext(ctx co return o } +func (o MonitoringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: o.OutputState, + } +} + func (o MonitoringConfigPtrOutput) Elem() MonitoringConfigOutput { return o.ApplyT(func(v *MonitoringConfig) MonitoringConfig { if v != nil { @@ -5856,6 +6739,12 @@ func (o MonitoringConfigResponseOutput) ToMonitoringConfigResponseOutputWithCont return o } +func (o MonitoringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfigResponse] { + return pulumix.Output[MonitoringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal, it would be in format `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in format `{azureClusters, awsClusters}/cluster_name`. func (o MonitoringConfigResponseOutput) Cluster() pulumi.StringOutput { return o.ApplyT(func(v MonitoringConfigResponse) string { return v.Cluster }).(pulumi.StringOutput) @@ -5916,6 +6805,12 @@ func (i MultiCloudClusterArgs) ToMultiCloudClusterOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MultiCloudClusterOutput) } +func (i MultiCloudClusterArgs) ToOutput(ctx context.Context) pulumix.Output[MultiCloudCluster] { + return pulumix.Output[MultiCloudCluster]{ + OutputState: i.ToMultiCloudClusterOutputWithContext(ctx).OutputState, + } +} + func (i MultiCloudClusterArgs) ToMultiCloudClusterPtrOutput() MultiCloudClusterPtrOutput { return i.ToMultiCloudClusterPtrOutputWithContext(context.Background()) } @@ -5957,6 +6852,12 @@ func (i *multiCloudClusterPtrType) ToMultiCloudClusterPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MultiCloudClusterPtrOutput) } +func (i *multiCloudClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*MultiCloudCluster] { + return pulumix.Output[*MultiCloudCluster]{ + OutputState: i.ToMultiCloudClusterPtrOutputWithContext(ctx).OutputState, + } +} + // MultiCloudCluster contains information specific to GKE Multi-Cloud clusters. type MultiCloudClusterOutput struct{ *pulumi.OutputState } @@ -5982,6 +6883,12 @@ func (o MultiCloudClusterOutput) ToMultiCloudClusterPtrOutputWithContext(ctx con }).(MultiCloudClusterPtrOutput) } +func (o MultiCloudClusterOutput) ToOutput(ctx context.Context) pulumix.Output[MultiCloudCluster] { + return pulumix.Output[MultiCloudCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster func (o MultiCloudClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v MultiCloudCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -6001,6 +6908,12 @@ func (o MultiCloudClusterPtrOutput) ToMultiCloudClusterPtrOutputWithContext(ctx return o } +func (o MultiCloudClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiCloudCluster] { + return pulumix.Output[*MultiCloudCluster]{ + OutputState: o.OutputState, + } +} + func (o MultiCloudClusterPtrOutput) Elem() MultiCloudClusterOutput { return o.ApplyT(func(v *MultiCloudCluster) MultiCloudCluster { if v != nil { @@ -6044,6 +6957,12 @@ func (o MultiCloudClusterResponseOutput) ToMultiCloudClusterResponseOutputWithCo return o } +func (o MultiCloudClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MultiCloudClusterResponse] { + return pulumix.Output[MultiCloudClusterResponse]{ + OutputState: o.OutputState, + } +} + // If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists. func (o MultiCloudClusterResponseOutput) ClusterMissing() pulumi.BoolOutput { return o.ApplyT(func(v MultiCloudClusterResponse) bool { return v.ClusterMissing }).(pulumi.BoolOutput) @@ -6097,6 +7016,12 @@ func (i MultiClusterIngressFeatureSpecArgs) ToMultiClusterIngressFeatureSpecOutp return pulumi.ToOutputWithContext(ctx, i).(MultiClusterIngressFeatureSpecOutput) } +func (i MultiClusterIngressFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpec] { + return pulumix.Output[MultiClusterIngressFeatureSpec]{ + OutputState: i.ToMultiClusterIngressFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i MultiClusterIngressFeatureSpecArgs) ToMultiClusterIngressFeatureSpecPtrOutput() MultiClusterIngressFeatureSpecPtrOutput { return i.ToMultiClusterIngressFeatureSpecPtrOutputWithContext(context.Background()) } @@ -6138,6 +7063,12 @@ func (i *multiClusterIngressFeatureSpecPtrType) ToMultiClusterIngressFeatureSpec return pulumi.ToOutputWithContext(ctx, i).(MultiClusterIngressFeatureSpecPtrOutput) } +func (i *multiClusterIngressFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterIngressFeatureSpec] { + return pulumix.Output[*MultiClusterIngressFeatureSpec]{ + OutputState: i.ToMultiClusterIngressFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. type MultiClusterIngressFeatureSpecOutput struct{ *pulumi.OutputState } @@ -6163,6 +7094,12 @@ func (o MultiClusterIngressFeatureSpecOutput) ToMultiClusterIngressFeatureSpecPt }).(MultiClusterIngressFeatureSpecPtrOutput) } +func (o MultiClusterIngressFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpec] { + return pulumix.Output[MultiClusterIngressFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Deprecated: This field will be ignored and should not be set. Customer's billing structure. // // Deprecated: Deprecated: This field will be ignored and should not be set. Customer's billing structure. @@ -6189,6 +7126,12 @@ func (o MultiClusterIngressFeatureSpecPtrOutput) ToMultiClusterIngressFeatureSpe return o } +func (o MultiClusterIngressFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterIngressFeatureSpec] { + return pulumix.Output[*MultiClusterIngressFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o MultiClusterIngressFeatureSpecPtrOutput) Elem() MultiClusterIngressFeatureSpecOutput { return o.ApplyT(func(v *MultiClusterIngressFeatureSpec) MultiClusterIngressFeatureSpec { if v != nil { @@ -6246,6 +7189,12 @@ func (o MultiClusterIngressFeatureSpecResponseOutput) ToMultiClusterIngressFeatu return o } +func (o MultiClusterIngressFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpecResponse] { + return pulumix.Output[MultiClusterIngressFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated: This field will be ignored and should not be set. Customer's billing structure. // // Deprecated: Deprecated: This field will be ignored and should not be set. Customer's billing structure. @@ -6279,6 +7228,12 @@ func (o NamespaceLifecycleStateResponseOutput) ToNamespaceLifecycleStateResponse return o } +func (o NamespaceLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NamespaceLifecycleStateResponse] { + return pulumix.Output[NamespaceLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Namespace resource. func (o NamespaceLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v NamespaceLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -6327,6 +7282,12 @@ func (i OnPremClusterArgs) ToOnPremClusterOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OnPremClusterOutput) } +func (i OnPremClusterArgs) ToOutput(ctx context.Context) pulumix.Output[OnPremCluster] { + return pulumix.Output[OnPremCluster]{ + OutputState: i.ToOnPremClusterOutputWithContext(ctx).OutputState, + } +} + func (i OnPremClusterArgs) ToOnPremClusterPtrOutput() OnPremClusterPtrOutput { return i.ToOnPremClusterPtrOutputWithContext(context.Background()) } @@ -6368,6 +7329,12 @@ func (i *onPremClusterPtrType) ToOnPremClusterPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OnPremClusterPtrOutput) } +func (i *onPremClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*OnPremCluster] { + return pulumix.Output[*OnPremCluster]{ + OutputState: i.ToOnPremClusterPtrOutputWithContext(ctx).OutputState, + } +} + // OnPremCluster contains information specific to GKE On-Prem clusters. type OnPremClusterOutput struct{ *pulumi.OutputState } @@ -6393,6 +7360,12 @@ func (o OnPremClusterOutput) ToOnPremClusterPtrOutputWithContext(ctx context.Con }).(OnPremClusterPtrOutput) } +func (o OnPremClusterOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremCluster] { + return pulumix.Output[OnPremCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Whether the cluster is an admin cluster. func (o OnPremClusterOutput) AdminCluster() pulumi.BoolPtrOutput { return o.ApplyT(func(v OnPremCluster) *bool { return v.AdminCluster }).(pulumi.BoolPtrOutput) @@ -6422,6 +7395,12 @@ func (o OnPremClusterPtrOutput) ToOnPremClusterPtrOutputWithContext(ctx context. return o } +func (o OnPremClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OnPremCluster] { + return pulumix.Output[*OnPremCluster]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterPtrOutput) Elem() OnPremClusterOutput { return o.ApplyT(func(v *OnPremCluster) OnPremCluster { if v != nil { @@ -6489,6 +7468,12 @@ func (o OnPremClusterResponseOutput) ToOnPremClusterResponseOutputWithContext(ct return o } +func (o OnPremClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremClusterResponse] { + return pulumix.Output[OnPremClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Whether the cluster is an admin cluster. func (o OnPremClusterResponseOutput) AdminCluster() pulumi.BoolOutput { return o.ApplyT(func(v OnPremClusterResponse) bool { return v.AdminCluster }).(pulumi.BoolOutput) @@ -6530,6 +7515,12 @@ func (o RBACRoleBindingLifecycleStateResponseOutput) ToRBACRoleBindingLifecycleS return o } +func (o RBACRoleBindingLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RBACRoleBindingLifecycleStateResponse] { + return pulumix.Output[RBACRoleBindingLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the rbacrolebinding resource. func (o RBACRoleBindingLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v RBACRoleBindingLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -6558,6 +7549,12 @@ func (o ResourceManifestResponseOutput) ToResourceManifestResponseOutputWithCont return o } +func (o ResourceManifestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceManifestResponse] { + return pulumix.Output[ResourceManifestResponse]{ + OutputState: o.OutputState, + } +} + // Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster. func (o ResourceManifestResponseOutput) ClusterScoped() pulumi.BoolOutput { return o.ApplyT(func(v ResourceManifestResponse) bool { return v.ClusterScoped }).(pulumi.BoolOutput) @@ -6582,6 +7579,12 @@ func (o ResourceManifestResponseArrayOutput) ToResourceManifestResponseArrayOutp return o } +func (o ResourceManifestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceManifestResponse] { + return pulumix.Output[[]ResourceManifestResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceManifestResponseArrayOutput) Index(i pulumi.IntInput) ResourceManifestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceManifestResponse { return vs[0].([]ResourceManifestResponse)[vs[1].(int)] @@ -6631,6 +7634,12 @@ func (i ResourceOptionsArgs) ToResourceOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ResourceOptionsOutput) } +func (i ResourceOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceOptions] { + return pulumix.Output[ResourceOptions]{ + OutputState: i.ToResourceOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ResourceOptionsArgs) ToResourceOptionsPtrOutput() ResourceOptionsPtrOutput { return i.ToResourceOptionsPtrOutputWithContext(context.Background()) } @@ -6672,6 +7681,12 @@ func (i *resourceOptionsPtrType) ToResourceOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ResourceOptionsPtrOutput) } +func (i *resourceOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceOptions] { + return pulumix.Output[*ResourceOptions]{ + OutputState: i.ToResourceOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // ResourceOptions represent options for Kubernetes resource generation. type ResourceOptionsOutput struct{ *pulumi.OutputState } @@ -6697,6 +7712,12 @@ func (o ResourceOptionsOutput) ToResourceOptionsPtrOutputWithContext(ctx context }).(ResourceOptionsPtrOutput) } +func (o ResourceOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceOptions] { + return pulumix.Output[ResourceOptions]{ + OutputState: o.OutputState, + } +} + // Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected. func (o ResourceOptionsOutput) ConnectVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceOptions) *string { return v.ConnectVersion }).(pulumi.StringPtrOutput) @@ -6726,6 +7747,12 @@ func (o ResourceOptionsPtrOutput) ToResourceOptionsPtrOutputWithContext(ctx cont return o } +func (o ResourceOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceOptions] { + return pulumix.Output[*ResourceOptions]{ + OutputState: o.OutputState, + } +} + func (o ResourceOptionsPtrOutput) Elem() ResourceOptionsOutput { return o.ApplyT(func(v *ResourceOptions) ResourceOptions { if v != nil { @@ -6791,6 +7818,12 @@ func (o ResourceOptionsResponseOutput) ToResourceOptionsResponseOutputWithContex return o } +func (o ResourceOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceOptionsResponse] { + return pulumix.Output[ResourceOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected. func (o ResourceOptionsResponseOutput) ConnectVersion() pulumi.StringOutput { return o.ApplyT(func(v ResourceOptionsResponse) string { return v.ConnectVersion }).(pulumi.StringOutput) @@ -6841,6 +7874,12 @@ func (i RoleArgs) ToRoleOutputWithContext(ctx context.Context) RoleOutput { return pulumi.ToOutputWithContext(ctx, i).(RoleOutput) } +func (i RoleArgs) ToOutput(ctx context.Context) pulumix.Output[Role] { + return pulumix.Output[Role]{ + OutputState: i.ToRoleOutputWithContext(ctx).OutputState, + } +} + // Role is the type for Kubernetes roles type RoleOutput struct{ *pulumi.OutputState } @@ -6856,6 +7895,12 @@ func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput { return o } +func (o RoleOutput) ToOutput(ctx context.Context) pulumix.Output[Role] { + return pulumix.Output[Role]{ + OutputState: o.OutputState, + } +} + // predefined_role is the Kubernetes default role to use func (o RoleOutput) PredefinedRole() RolePredefinedRolePtrOutput { return o.ApplyT(func(v Role) *RolePredefinedRole { return v.PredefinedRole }).(RolePredefinedRolePtrOutput) @@ -6882,6 +7927,12 @@ func (o RoleResponseOutput) ToRoleResponseOutputWithContext(ctx context.Context) return o } +func (o RoleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RoleResponse] { + return pulumix.Output[RoleResponse]{ + OutputState: o.OutputState, + } +} + // predefined_role is the Kubernetes default role to use func (o RoleResponseOutput) PredefinedRole() pulumi.StringOutput { return o.ApplyT(func(v RoleResponse) string { return v.PredefinedRole }).(pulumi.StringOutput) @@ -6908,6 +7959,12 @@ func (o ScopeLifecycleStateResponseOutput) ToScopeLifecycleStateResponseOutputWi return o } +func (o ScopeLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScopeLifecycleStateResponse] { + return pulumix.Output[ScopeLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the scope resource. func (o ScopeLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v ScopeLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -6938,6 +7995,12 @@ func (o ServiceMeshAnalysisMessageBaseResponseOutput) ToServiceMeshAnalysisMessa return o } +func (o ServiceMeshAnalysisMessageBaseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceMeshAnalysisMessageBaseResponse] { + return pulumix.Output[ServiceMeshAnalysisMessageBaseResponse]{ + OutputState: o.OutputState, + } +} + // A url pointing to the Service Mesh or Istio documentation for this specific error type. func (o ServiceMeshAnalysisMessageBaseResponseOutput) DocumentationUrl() pulumi.StringOutput { return o.ApplyT(func(v ServiceMeshAnalysisMessageBaseResponse) string { return v.DocumentationUrl }).(pulumi.StringOutput) @@ -6980,6 +8043,12 @@ func (o ServiceMeshAnalysisMessageResponseOutput) ToServiceMeshAnalysisMessageRe return o } +func (o ServiceMeshAnalysisMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceMeshAnalysisMessageResponse] { + return pulumix.Output[ServiceMeshAnalysisMessageResponse]{ + OutputState: o.OutputState, + } +} + // A UI can combine these args with a template (based on message_base.type) to produce an internationalized message. func (o ServiceMeshAnalysisMessageResponseOutput) Args() pulumi.StringMapOutput { return o.ApplyT(func(v ServiceMeshAnalysisMessageResponse) map[string]string { return v.Args }).(pulumi.StringMapOutput) @@ -7016,6 +8085,12 @@ func (o ServiceMeshAnalysisMessageResponseArrayOutput) ToServiceMeshAnalysisMess return o } +func (o ServiceMeshAnalysisMessageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServiceMeshAnalysisMessageResponse] { + return pulumix.Output[[]ServiceMeshAnalysisMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o ServiceMeshAnalysisMessageResponseArrayOutput) Index(i pulumi.IntInput) ServiceMeshAnalysisMessageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServiceMeshAnalysisMessageResponse { return vs[0].([]ServiceMeshAnalysisMessageResponse)[vs[1].(int)] @@ -7043,6 +8118,12 @@ func (o ServiceMeshFeatureStateResponseOutput) ToServiceMeshFeatureStateResponse return o } +func (o ServiceMeshFeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceMeshFeatureStateResponse] { + return pulumix.Output[ServiceMeshFeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // Results of running Service Mesh analyzers. func (o ServiceMeshFeatureStateResponseOutput) AnalysisMessages() ServiceMeshAnalysisMessageResponseArrayOutput { return o.ApplyT(func(v ServiceMeshFeatureStateResponse) []ServiceMeshAnalysisMessageResponse { @@ -7073,6 +8154,12 @@ func (o ServiceMeshTypeResponseOutput) ToServiceMeshTypeResponseOutputWithContex return o } +func (o ServiceMeshTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceMeshTypeResponse] { + return pulumix.Output[ServiceMeshTypeResponse]{ + OutputState: o.OutputState, + } +} + // A 7 character code matching `^IST[0-9]{4}$` or `^ASM[0-9]{4}$`, intended to uniquely identify the message type. (e.g. "IST0001" is mapped to the "InternalError" message type.) func (o ServiceMeshTypeResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v ServiceMeshTypeResponse) string { return v.Code }).(pulumi.StringOutput) @@ -7106,6 +8193,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // Code specifies AppDevExperienceFeature's subcomponent ready state. func (o StatusResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v StatusResponse) string { return v.Code }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/rbacrolebinding.go b/sdk/go/google/gkehub/v1alpha/rbacrolebinding.go index ae836dc7fd..ed8587d572 100644 --- a/sdk/go/google/gkehub/v1alpha/rbacrolebinding.go +++ b/sdk/go/google/gkehub/v1alpha/rbacrolebinding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a RBACRoleBinding. @@ -153,6 +154,12 @@ func (i *Rbacrolebinding) ToRbacrolebindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RbacrolebindingOutput) } +func (i *Rbacrolebinding) ToOutput(ctx context.Context) pulumix.Output[*Rbacrolebinding] { + return pulumix.Output[*Rbacrolebinding]{ + OutputState: i.ToRbacrolebindingOutputWithContext(ctx).OutputState, + } +} + type RbacrolebindingOutput struct{ *pulumi.OutputState } func (RbacrolebindingOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o RbacrolebindingOutput) ToRbacrolebindingOutputWithContext(ctx context.Co return o } +func (o RbacrolebindingOutput) ToOutput(ctx context.Context) pulumix.Output[*Rbacrolebinding] { + return pulumix.Output[*Rbacrolebinding]{ + OutputState: o.OutputState, + } +} + // When the rbacrolebinding was created. func (o RbacrolebindingOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Rbacrolebinding) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1alpha/scope.go b/sdk/go/google/gkehub/v1alpha/scope.go index fe14532950..2d6877adc7 100644 --- a/sdk/go/google/gkehub/v1alpha/scope.go +++ b/sdk/go/google/gkehub/v1alpha/scope.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Scope. @@ -131,6 +132,12 @@ func (i *Scope) ToScopeOutputWithContext(ctx context.Context) ScopeOutput { return pulumi.ToOutputWithContext(ctx, i).(ScopeOutput) } +func (i *Scope) ToOutput(ctx context.Context) pulumix.Output[*Scope] { + return pulumix.Output[*Scope]{ + OutputState: i.ToScopeOutputWithContext(ctx).OutputState, + } +} + type ScopeOutput struct{ *pulumi.OutputState } func (ScopeOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ScopeOutput) ToScopeOutputWithContext(ctx context.Context) ScopeOutput { return o } +func (o ScopeOutput) ToOutput(ctx context.Context) pulumix.Output[*Scope] { + return pulumix.Output[*Scope]{ + OutputState: o.OutputState, + } +} + // If true, all Memberships in the Fleet bind to this Scope. func (o ScopeOutput) AllMemberships() pulumi.BoolOutput { return o.ApplyT(func(v *Scope) pulumi.BoolOutput { return v.AllMemberships }).(pulumi.BoolOutput) diff --git a/sdk/go/google/gkehub/v1alpha2/getMembership.go b/sdk/go/google/gkehub/v1alpha2/getMembership.go index 7229a4dba1..f374007108 100644 --- a/sdk/go/google/gkehub/v1alpha2/getMembership.go +++ b/sdk/go/google/gkehub/v1alpha2/getMembership.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a Membership. @@ -96,6 +97,12 @@ func (o LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext( return o } +func (o LookupMembershipResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipResult] { + return pulumix.Output[LookupMembershipResult]{ + OutputState: o.OutputState, + } +} + // Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity func (o LookupMembershipResultOutput) Authority() AuthorityResponseOutput { return o.ApplyT(func(v LookupMembershipResult) AuthorityResponse { return v.Authority }).(AuthorityResponseOutput) diff --git a/sdk/go/google/gkehub/v1alpha2/getMembershipIamPolicy.go b/sdk/go/google/gkehub/v1alpha2/getMembershipIamPolicy.go index f5c8a88224..8285e63283 100644 --- a/sdk/go/google/gkehub/v1alpha2/getMembershipIamPolicy.go +++ b/sdk/go/google/gkehub/v1alpha2/getMembershipIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupMembershipIamPolicyResultOutput) ToLookupMembershipIamPolicyResult return o } +func (o LookupMembershipIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipIamPolicyResult] { + return pulumix.Output[LookupMembershipIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMembershipIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMembershipIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1alpha2/membership.go b/sdk/go/google/gkehub/v1alpha2/membership.go index 93afb857d1..6422673870 100644 --- a/sdk/go/google/gkehub/v1alpha2/membership.go +++ b/sdk/go/google/gkehub/v1alpha2/membership.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster. @@ -161,6 +162,12 @@ func (i *Membership) ToMembershipOutputWithContext(ctx context.Context) Membersh return pulumi.ToOutputWithContext(ctx, i).(MembershipOutput) } +func (i *Membership) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: i.ToMembershipOutputWithContext(ctx).OutputState, + } +} + type MembershipOutput struct{ *pulumi.OutputState } func (MembershipOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o MembershipOutput) ToMembershipOutputWithContext(ctx context.Context) Mem return o } +func (o MembershipOutput) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: o.OutputState, + } +} + // Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity func (o MembershipOutput) Authority() AuthorityResponseOutput { return o.ApplyT(func(v *Membership) AuthorityResponseOutput { return v.Authority }).(AuthorityResponseOutput) diff --git a/sdk/go/google/gkehub/v1alpha2/membershipIamBinding.go b/sdk/go/google/gkehub/v1alpha2/membershipIamBinding.go index ac13ee5d4b..3401b714e8 100644 --- a/sdk/go/google/gkehub/v1alpha2/membershipIamBinding.go +++ b/sdk/go/google/gkehub/v1alpha2/membershipIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamBinding) ToMembershipIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(MembershipIamBindingOutput) } +func (i *MembershipIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamBinding] { + return pulumix.Output[*MembershipIamBinding]{ + OutputState: i.ToMembershipIamBindingOutputWithContext(ctx).OutputState, + } +} + type MembershipIamBindingOutput struct{ *pulumi.OutputState } func (MembershipIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamBindingOutput) ToMembershipIamBindingOutputWithContext(ctx return o } +func (o MembershipIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamBinding] { + return pulumix.Output[*MembershipIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MembershipIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MembershipIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1alpha2/membershipIamMember.go b/sdk/go/google/gkehub/v1alpha2/membershipIamMember.go index dd49cb10fe..e5606d272f 100644 --- a/sdk/go/google/gkehub/v1alpha2/membershipIamMember.go +++ b/sdk/go/google/gkehub/v1alpha2/membershipIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamMember) ToMembershipIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipIamMemberOutput) } +func (i *MembershipIamMember) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamMember] { + return pulumix.Output[*MembershipIamMember]{ + OutputState: i.ToMembershipIamMemberOutputWithContext(ctx).OutputState, + } +} + type MembershipIamMemberOutput struct{ *pulumi.OutputState } func (MembershipIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamMemberOutput) ToMembershipIamMemberOutputWithContext(ctx co return o } +func (o MembershipIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamMember] { + return pulumix.Output[*MembershipIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MembershipIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MembershipIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1alpha2/membershipIamPolicy.go b/sdk/go/google/gkehub/v1alpha2/membershipIamPolicy.go index b27d5de50b..500e8b7922 100644 --- a/sdk/go/google/gkehub/v1alpha2/membershipIamPolicy.go +++ b/sdk/go/google/gkehub/v1alpha2/membershipIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamPolicy) ToMembershipIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipIamPolicyOutput) } +func (i *MembershipIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamPolicy] { + return pulumix.Output[*MembershipIamPolicy]{ + OutputState: i.ToMembershipIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MembershipIamPolicyOutput struct{ *pulumi.OutputState } func (MembershipIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamPolicyOutput) ToMembershipIamPolicyOutputWithContext(ctx co return o } +func (o MembershipIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamPolicy] { + return pulumix.Output[*MembershipIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MembershipIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MembershipIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1alpha2/pulumiEnums.go b/sdk/go/google/gkehub/v1alpha2/pulumiEnums.go index 35b3053603..6c5830051f 100644 --- a/sdk/go/google/gkehub/v1alpha2/pulumiEnums.go +++ b/sdk/go/google/gkehub/v1alpha2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The infrastructure type this Membership is running on. type MembershipInfrastructureType string @@ -253,6 +272,12 @@ func (o MembershipInfrastructureTypeOutput) ToMembershipInfrastructureTypePtrOut }).(MembershipInfrastructureTypePtrOutput) } +func (o MembershipInfrastructureTypeOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipInfrastructureType] { + return pulumix.Output[MembershipInfrastructureType]{ + OutputState: o.OutputState, + } +} + func (o MembershipInfrastructureTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o MembershipInfrastructureTypePtrOutput) ToMembershipInfrastructureTypePtr return o } +func (o MembershipInfrastructureTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipInfrastructureType] { + return pulumix.Output[*MembershipInfrastructureType]{ + OutputState: o.OutputState, + } +} + func (o MembershipInfrastructureTypePtrOutput) Elem() MembershipInfrastructureTypeOutput { return o.ApplyT(func(v *MembershipInfrastructureType) MembershipInfrastructureType { if v != nil { @@ -350,6 +381,12 @@ func (in *membershipInfrastructureTypePtr) ToMembershipInfrastructureTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(MembershipInfrastructureTypePtrOutput) } +func (in *membershipInfrastructureTypePtr) ToOutput(ctx context.Context) pulumix.Output[*MembershipInfrastructureType] { + return pulumix.Output[*MembershipInfrastructureType]{ + OutputState: in.ToMembershipInfrastructureTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The on prem cluster's type. type OnPremClusterClusterType string @@ -426,6 +463,12 @@ func (o OnPremClusterClusterTypeOutput) ToOnPremClusterClusterTypePtrOutputWithC }).(OnPremClusterClusterTypePtrOutput) } +func (o OnPremClusterClusterTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremClusterClusterType] { + return pulumix.Output[OnPremClusterClusterType]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterClusterTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o OnPremClusterClusterTypePtrOutput) ToOnPremClusterClusterTypePtrOutputWi return o } +func (o OnPremClusterClusterTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OnPremClusterClusterType] { + return pulumix.Output[*OnPremClusterClusterType]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterClusterTypePtrOutput) Elem() OnPremClusterClusterTypeOutput { return o.ApplyT(func(v *OnPremClusterClusterType) OnPremClusterClusterType { if v != nil { @@ -523,6 +572,12 @@ func (in *onPremClusterClusterTypePtr) ToOnPremClusterClusterTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(OnPremClusterClusterTypePtrOutput) } +func (in *onPremClusterClusterTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OnPremClusterClusterType] { + return pulumix.Output[*OnPremClusterClusterType]{ + OutputState: in.ToOnPremClusterClusterTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/gkehub/v1alpha2/pulumiTypes.go b/sdk/go/google/gkehub/v1alpha2/pulumiTypes.go index e07ba539c2..eec1143ea8 100644 --- a/sdk/go/google/gkehub/v1alpha2/pulumiTypes.go +++ b/sdk/go/google/gkehub/v1alpha2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i ApplianceClusterArgs) ToApplianceClusterOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ApplianceClusterOutput) } +func (i ApplianceClusterArgs) ToOutput(ctx context.Context) pulumix.Output[ApplianceCluster] { + return pulumix.Output[ApplianceCluster]{ + OutputState: i.ToApplianceClusterOutputWithContext(ctx).OutputState, + } +} + func (i ApplianceClusterArgs) ToApplianceClusterPtrOutput() ApplianceClusterPtrOutput { return i.ToApplianceClusterPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *applianceClusterPtrType) ToApplianceClusterPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ApplianceClusterPtrOutput) } +func (i *applianceClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApplianceCluster] { + return pulumix.Output[*ApplianceCluster]{ + OutputState: i.ToApplianceClusterPtrOutputWithContext(ctx).OutputState, + } +} + // ApplianceCluster contains information specific to GDC Edge Appliance Clusters. type ApplianceClusterOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o ApplianceClusterOutput) ToApplianceClusterPtrOutputWithContext(ctx conte }).(ApplianceClusterPtrOutput) } +func (o ApplianceClusterOutput) ToOutput(ctx context.Context) pulumix.Output[ApplianceCluster] { + return pulumix.Output[ApplianceCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance func (o ApplianceClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v ApplianceCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -133,6 +152,12 @@ func (o ApplianceClusterPtrOutput) ToApplianceClusterPtrOutputWithContext(ctx co return o } +func (o ApplianceClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplianceCluster] { + return pulumix.Output[*ApplianceCluster]{ + OutputState: o.OutputState, + } +} + func (o ApplianceClusterPtrOutput) Elem() ApplianceClusterOutput { return o.ApplyT(func(v *ApplianceCluster) ApplianceCluster { if v != nil { @@ -174,6 +199,12 @@ func (o ApplianceClusterResponseOutput) ToApplianceClusterResponseOutputWithCont return o } +func (o ApplianceClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApplianceClusterResponse] { + return pulumix.Output[ApplianceClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance func (o ApplianceClusterResponseOutput) ResourceLink() pulumi.StringOutput { return o.ApplyT(func(v ApplianceClusterResponse) string { return v.ResourceLink }).(pulumi.StringOutput) @@ -218,6 +249,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -243,6 +280,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -258,6 +301,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -282,6 +331,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -311,6 +366,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -335,6 +396,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -380,6 +447,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -405,6 +478,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -420,6 +499,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -444,6 +529,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -473,6 +564,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -497,6 +594,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -542,6 +645,12 @@ func (i AuthorityArgs) ToAuthorityOutputWithContext(ctx context.Context) Authori return pulumi.ToOutputWithContext(ctx, i).(AuthorityOutput) } +func (i AuthorityArgs) ToOutput(ctx context.Context) pulumix.Output[Authority] { + return pulumix.Output[Authority]{ + OutputState: i.ToAuthorityOutputWithContext(ctx).OutputState, + } +} + func (i AuthorityArgs) ToAuthorityPtrOutput() AuthorityPtrOutput { return i.ToAuthorityPtrOutputWithContext(context.Background()) } @@ -583,6 +692,12 @@ func (i *authorityPtrType) ToAuthorityPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AuthorityPtrOutput) } +func (i *authorityPtrType) ToOutput(ctx context.Context) pulumix.Output[*Authority] { + return pulumix.Output[*Authority]{ + OutputState: i.ToAuthorityPtrOutputWithContext(ctx).OutputState, + } +} + // Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity type AuthorityOutput struct{ *pulumi.OutputState } @@ -608,6 +723,12 @@ func (o AuthorityOutput) ToAuthorityPtrOutputWithContext(ctx context.Context) Au }).(AuthorityPtrOutput) } +func (o AuthorityOutput) ToOutput(ctx context.Context) pulumix.Output[Authority] { + return pulumix.Output[Authority]{ + OutputState: o.OutputState, + } +} + // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer, unless `oidc_jwks` is set. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity). func (o AuthorityOutput) Issuer() pulumi.StringPtrOutput { return o.ApplyT(func(v Authority) *string { return v.Issuer }).(pulumi.StringPtrOutput) @@ -632,6 +753,12 @@ func (o AuthorityPtrOutput) ToAuthorityPtrOutputWithContext(ctx context.Context) return o } +func (o AuthorityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Authority] { + return pulumix.Output[*Authority]{ + OutputState: o.OutputState, + } +} + func (o AuthorityPtrOutput) Elem() AuthorityOutput { return o.ApplyT(func(v *Authority) Authority { if v != nil { @@ -689,6 +816,12 @@ func (o AuthorityResponseOutput) ToAuthorityResponseOutputWithContext(ctx contex return o } +func (o AuthorityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorityResponse] { + return pulumix.Output[AuthorityResponse]{ + OutputState: o.OutputState, + } +} + // An identity provider that reflects the `issuer` in the workload identity pool. func (o AuthorityResponseOutput) IdentityProvider() pulumi.StringOutput { return o.ApplyT(func(v AuthorityResponse) string { return v.IdentityProvider }).(pulumi.StringOutput) @@ -752,6 +885,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -777,6 +916,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -792,6 +937,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -821,6 +972,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -852,6 +1009,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -881,6 +1044,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -922,6 +1091,12 @@ func (i EdgeClusterArgs) ToEdgeClusterOutputWithContext(ctx context.Context) Edg return pulumi.ToOutputWithContext(ctx, i).(EdgeClusterOutput) } +func (i EdgeClusterArgs) ToOutput(ctx context.Context) pulumix.Output[EdgeCluster] { + return pulumix.Output[EdgeCluster]{ + OutputState: i.ToEdgeClusterOutputWithContext(ctx).OutputState, + } +} + func (i EdgeClusterArgs) ToEdgeClusterPtrOutput() EdgeClusterPtrOutput { return i.ToEdgeClusterPtrOutputWithContext(context.Background()) } @@ -963,6 +1138,12 @@ func (i *edgeClusterPtrType) ToEdgeClusterPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(EdgeClusterPtrOutput) } +func (i *edgeClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*EdgeCluster] { + return pulumix.Output[*EdgeCluster]{ + OutputState: i.ToEdgeClusterPtrOutputWithContext(ctx).OutputState, + } +} + // EdgeCluster contains information specific to Google Edge Clusters. type EdgeClusterOutput struct{ *pulumi.OutputState } @@ -988,6 +1169,12 @@ func (o EdgeClusterOutput) ToEdgeClusterPtrOutputWithContext(ctx context.Context }).(EdgeClusterPtrOutput) } +func (o EdgeClusterOutput) ToOutput(ctx context.Context) pulumix.Output[EdgeCluster] { + return pulumix.Output[EdgeCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster func (o EdgeClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v EdgeCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -1007,6 +1194,12 @@ func (o EdgeClusterPtrOutput) ToEdgeClusterPtrOutputWithContext(ctx context.Cont return o } +func (o EdgeClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCluster] { + return pulumix.Output[*EdgeCluster]{ + OutputState: o.OutputState, + } +} + func (o EdgeClusterPtrOutput) Elem() EdgeClusterOutput { return o.ApplyT(func(v *EdgeCluster) EdgeCluster { if v != nil { @@ -1048,6 +1241,12 @@ func (o EdgeClusterResponseOutput) ToEdgeClusterResponseOutputWithContext(ctx co return o } +func (o EdgeClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EdgeClusterResponse] { + return pulumix.Output[EdgeClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster func (o EdgeClusterResponseOutput) ResourceLink() pulumi.StringOutput { return o.ApplyT(func(v EdgeClusterResponse) string { return v.ResourceLink }).(pulumi.StringOutput) @@ -1100,6 +1299,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1141,6 +1346,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1166,6 +1377,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1200,6 +1417,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1277,6 +1500,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1332,6 +1561,12 @@ func (i GkeClusterArgs) ToGkeClusterOutputWithContext(ctx context.Context) GkeCl return pulumi.ToOutputWithContext(ctx, i).(GkeClusterOutput) } +func (i GkeClusterArgs) ToOutput(ctx context.Context) pulumix.Output[GkeCluster] { + return pulumix.Output[GkeCluster]{ + OutputState: i.ToGkeClusterOutputWithContext(ctx).OutputState, + } +} + func (i GkeClusterArgs) ToGkeClusterPtrOutput() GkeClusterPtrOutput { return i.ToGkeClusterPtrOutputWithContext(context.Background()) } @@ -1373,6 +1608,12 @@ func (i *gkeClusterPtrType) ToGkeClusterPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GkeClusterPtrOutput) } +func (i *gkeClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeCluster] { + return pulumix.Output[*GkeCluster]{ + OutputState: i.ToGkeClusterPtrOutputWithContext(ctx).OutputState, + } +} + // GkeCluster contains information specific to GKE clusters. type GkeClusterOutput struct{ *pulumi.OutputState } @@ -1398,6 +1639,12 @@ func (o GkeClusterOutput) ToGkeClusterPtrOutputWithContext(ctx context.Context) }).(GkeClusterPtrOutput) } +func (o GkeClusterOutput) ToOutput(ctx context.Context) pulumix.Output[GkeCluster] { + return pulumix.Output[GkeCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported. func (o GkeClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v GkeCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -1417,6 +1664,12 @@ func (o GkeClusterPtrOutput) ToGkeClusterPtrOutputWithContext(ctx context.Contex return o } +func (o GkeClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeCluster] { + return pulumix.Output[*GkeCluster]{ + OutputState: o.OutputState, + } +} + func (o GkeClusterPtrOutput) Elem() GkeClusterOutput { return o.ApplyT(func(v *GkeCluster) GkeCluster { if v != nil { @@ -1460,6 +1713,12 @@ func (o GkeClusterResponseOutput) ToGkeClusterResponseOutputWithContext(ctx cont return o } +func (o GkeClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeClusterResponse] { + return pulumix.Output[GkeClusterResponse]{ + OutputState: o.OutputState, + } +} + // If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane. func (o GkeClusterResponseOutput) ClusterMissing() pulumi.BoolOutput { return o.ApplyT(func(v GkeClusterResponse) bool { return v.ClusterMissing }).(pulumi.BoolOutput) @@ -1501,6 +1760,12 @@ func (o KubernetesMetadataResponseOutput) ToKubernetesMetadataResponseOutputWith return o } +func (o KubernetesMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesMetadataResponse] { + return pulumix.Output[KubernetesMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Kubernetes API server version string as reported by '/version'. func (o KubernetesMetadataResponseOutput) KubernetesApiServerVersion() pulumi.StringOutput { return o.ApplyT(func(v KubernetesMetadataResponse) string { return v.KubernetesApiServerVersion }).(pulumi.StringOutput) @@ -1570,6 +1835,12 @@ func (i KubernetesResourceArgs) ToKubernetesResourceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(KubernetesResourceOutput) } +func (i KubernetesResourceArgs) ToOutput(ctx context.Context) pulumix.Output[KubernetesResource] { + return pulumix.Output[KubernetesResource]{ + OutputState: i.ToKubernetesResourceOutputWithContext(ctx).OutputState, + } +} + func (i KubernetesResourceArgs) ToKubernetesResourcePtrOutput() KubernetesResourcePtrOutput { return i.ToKubernetesResourcePtrOutputWithContext(context.Background()) } @@ -1611,6 +1882,12 @@ func (i *kubernetesResourcePtrType) ToKubernetesResourcePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(KubernetesResourcePtrOutput) } +func (i *kubernetesResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*KubernetesResource] { + return pulumix.Output[*KubernetesResource]{ + OutputState: i.ToKubernetesResourcePtrOutputWithContext(ctx).OutputState, + } +} + // KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster. type KubernetesResourceOutput struct{ *pulumi.OutputState } @@ -1636,6 +1913,12 @@ func (o KubernetesResourceOutput) ToKubernetesResourcePtrOutputWithContext(ctx c }).(KubernetesResourcePtrOutput) } +func (o KubernetesResourceOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesResource] { + return pulumix.Output[KubernetesResource]{ + OutputState: o.OutputState, + } +} + // Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during Create or Update, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership. func (o KubernetesResourceOutput) MembershipCrManifest() pulumi.StringPtrOutput { return o.ApplyT(func(v KubernetesResource) *string { return v.MembershipCrManifest }).(pulumi.StringPtrOutput) @@ -1660,6 +1943,12 @@ func (o KubernetesResourcePtrOutput) ToKubernetesResourcePtrOutputWithContext(ct return o } +func (o KubernetesResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KubernetesResource] { + return pulumix.Output[*KubernetesResource]{ + OutputState: o.OutputState, + } +} + func (o KubernetesResourcePtrOutput) Elem() KubernetesResourceOutput { return o.ApplyT(func(v *KubernetesResource) KubernetesResource { if v != nil { @@ -1717,6 +2006,12 @@ func (o KubernetesResourceResponseOutput) ToKubernetesResourceResponseOutputWith return o } +func (o KubernetesResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesResourceResponse] { + return pulumix.Output[KubernetesResourceResponse]{ + OutputState: o.OutputState, + } +} + // The Kubernetes resources for installing the GKE Connect agent. This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask. func (o KubernetesResourceResponseOutput) ConnectResources() ResourceManifestResponseArrayOutput { return o.ApplyT(func(v KubernetesResourceResponse) []ResourceManifestResponse { return v.ConnectResources }).(ResourceManifestResponseArrayOutput) @@ -1792,6 +2087,12 @@ func (i MembershipEndpointArgs) ToMembershipEndpointOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(MembershipEndpointOutput) } +func (i MembershipEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpoint] { + return pulumix.Output[MembershipEndpoint]{ + OutputState: i.ToMembershipEndpointOutputWithContext(ctx).OutputState, + } +} + func (i MembershipEndpointArgs) ToMembershipEndpointPtrOutput() MembershipEndpointPtrOutput { return i.ToMembershipEndpointPtrOutputWithContext(context.Background()) } @@ -1833,6 +2134,12 @@ func (i *membershipEndpointPtrType) ToMembershipEndpointPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(MembershipEndpointPtrOutput) } +func (i *membershipEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*MembershipEndpoint] { + return pulumix.Output[*MembershipEndpoint]{ + OutputState: i.ToMembershipEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata. type MembershipEndpointOutput struct{ *pulumi.OutputState } @@ -1858,6 +2165,12 @@ func (o MembershipEndpointOutput) ToMembershipEndpointPtrOutputWithContext(ctx c }).(MembershipEndpointPtrOutput) } +func (o MembershipEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpoint] { + return pulumix.Output[MembershipEndpoint]{ + OutputState: o.OutputState, + } +} + // Optional. Specific information for a GDC Edge Appliance cluster. func (o MembershipEndpointOutput) ApplianceCluster() ApplianceClusterPtrOutput { return o.ApplyT(func(v MembershipEndpoint) *ApplianceCluster { return v.ApplianceCluster }).(ApplianceClusterPtrOutput) @@ -1902,6 +2215,12 @@ func (o MembershipEndpointPtrOutput) ToMembershipEndpointPtrOutputWithContext(ct return o } +func (o MembershipEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipEndpoint] { + return pulumix.Output[*MembershipEndpoint]{ + OutputState: o.OutputState, + } +} + func (o MembershipEndpointPtrOutput) Elem() MembershipEndpointOutput { return o.ApplyT(func(v *MembershipEndpoint) MembershipEndpoint { if v != nil { @@ -2005,6 +2324,12 @@ func (o MembershipEndpointResponseOutput) ToMembershipEndpointResponseOutputWith return o } +func (o MembershipEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpointResponse] { + return pulumix.Output[MembershipEndpointResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specific information for a GDC Edge Appliance cluster. func (o MembershipEndpointResponseOutput) ApplianceCluster() ApplianceClusterResponseOutput { return o.ApplyT(func(v MembershipEndpointResponse) ApplianceClusterResponse { return v.ApplianceCluster }).(ApplianceClusterResponseOutput) @@ -2061,6 +2386,12 @@ func (o MembershipStateResponseOutput) ToMembershipStateResponseOutputWithContex return o } +func (o MembershipStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipStateResponse] { + return pulumix.Output[MembershipStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Membership resource. func (o MembershipStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v MembershipStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -2117,6 +2448,12 @@ func (i MonitoringConfigArgs) ToMonitoringConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigOutput) } +func (i MonitoringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: i.ToMonitoringConfigOutputWithContext(ctx).OutputState, + } +} + func (i MonitoringConfigArgs) ToMonitoringConfigPtrOutput() MonitoringConfigPtrOutput { return i.ToMonitoringConfigPtrOutputWithContext(context.Background()) } @@ -2158,6 +2495,12 @@ func (i *monitoringConfigPtrType) ToMonitoringConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigPtrOutput) } +func (i *monitoringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: i.ToMonitoringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // This field informs Fleet-based applications/services/UIs with the necessary information for where each underlying Cluster reports its metrics. type MonitoringConfigOutput struct{ *pulumi.OutputState } @@ -2183,6 +2526,12 @@ func (o MonitoringConfigOutput) ToMonitoringConfigPtrOutputWithContext(ctx conte }).(MonitoringConfigPtrOutput) } +func (o MonitoringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal, it would be in format `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in format `{azureClusters, awsClusters}/cluster_name`. func (o MonitoringConfigOutput) Cluster() pulumi.StringPtrOutput { return o.ApplyT(func(v MonitoringConfig) *string { return v.Cluster }).(pulumi.StringPtrOutput) @@ -2222,6 +2571,12 @@ func (o MonitoringConfigPtrOutput) ToMonitoringConfigPtrOutputWithContext(ctx co return o } +func (o MonitoringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: o.OutputState, + } +} + func (o MonitoringConfigPtrOutput) Elem() MonitoringConfigOutput { return o.ApplyT(func(v *MonitoringConfig) MonitoringConfig { if v != nil { @@ -2311,6 +2666,12 @@ func (o MonitoringConfigResponseOutput) ToMonitoringConfigResponseOutputWithCont return o } +func (o MonitoringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfigResponse] { + return pulumix.Output[MonitoringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal, it would be in format `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in format `{azureClusters, awsClusters}/cluster_name`. func (o MonitoringConfigResponseOutput) Cluster() pulumi.StringOutput { return o.ApplyT(func(v MonitoringConfigResponse) string { return v.Cluster }).(pulumi.StringOutput) @@ -2371,6 +2732,12 @@ func (i MultiCloudClusterArgs) ToMultiCloudClusterOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MultiCloudClusterOutput) } +func (i MultiCloudClusterArgs) ToOutput(ctx context.Context) pulumix.Output[MultiCloudCluster] { + return pulumix.Output[MultiCloudCluster]{ + OutputState: i.ToMultiCloudClusterOutputWithContext(ctx).OutputState, + } +} + func (i MultiCloudClusterArgs) ToMultiCloudClusterPtrOutput() MultiCloudClusterPtrOutput { return i.ToMultiCloudClusterPtrOutputWithContext(context.Background()) } @@ -2412,6 +2779,12 @@ func (i *multiCloudClusterPtrType) ToMultiCloudClusterPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MultiCloudClusterPtrOutput) } +func (i *multiCloudClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*MultiCloudCluster] { + return pulumix.Output[*MultiCloudCluster]{ + OutputState: i.ToMultiCloudClusterPtrOutputWithContext(ctx).OutputState, + } +} + // MultiCloudCluster contains information specific to GKE Multi-Cloud clusters. type MultiCloudClusterOutput struct{ *pulumi.OutputState } @@ -2437,6 +2810,12 @@ func (o MultiCloudClusterOutput) ToMultiCloudClusterPtrOutputWithContext(ctx con }).(MultiCloudClusterPtrOutput) } +func (o MultiCloudClusterOutput) ToOutput(ctx context.Context) pulumix.Output[MultiCloudCluster] { + return pulumix.Output[MultiCloudCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster func (o MultiCloudClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v MultiCloudCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -2456,6 +2835,12 @@ func (o MultiCloudClusterPtrOutput) ToMultiCloudClusterPtrOutputWithContext(ctx return o } +func (o MultiCloudClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiCloudCluster] { + return pulumix.Output[*MultiCloudCluster]{ + OutputState: o.OutputState, + } +} + func (o MultiCloudClusterPtrOutput) Elem() MultiCloudClusterOutput { return o.ApplyT(func(v *MultiCloudCluster) MultiCloudCluster { if v != nil { @@ -2499,6 +2884,12 @@ func (o MultiCloudClusterResponseOutput) ToMultiCloudClusterResponseOutputWithCo return o } +func (o MultiCloudClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MultiCloudClusterResponse] { + return pulumix.Output[MultiCloudClusterResponse]{ + OutputState: o.OutputState, + } +} + // If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists. func (o MultiCloudClusterResponseOutput) ClusterMissing() pulumi.BoolOutput { return o.ApplyT(func(v MultiCloudClusterResponse) bool { return v.ClusterMissing }).(pulumi.BoolOutput) @@ -2552,6 +2943,12 @@ func (i OnPremClusterArgs) ToOnPremClusterOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OnPremClusterOutput) } +func (i OnPremClusterArgs) ToOutput(ctx context.Context) pulumix.Output[OnPremCluster] { + return pulumix.Output[OnPremCluster]{ + OutputState: i.ToOnPremClusterOutputWithContext(ctx).OutputState, + } +} + func (i OnPremClusterArgs) ToOnPremClusterPtrOutput() OnPremClusterPtrOutput { return i.ToOnPremClusterPtrOutputWithContext(context.Background()) } @@ -2593,6 +2990,12 @@ func (i *onPremClusterPtrType) ToOnPremClusterPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OnPremClusterPtrOutput) } +func (i *onPremClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*OnPremCluster] { + return pulumix.Output[*OnPremCluster]{ + OutputState: i.ToOnPremClusterPtrOutputWithContext(ctx).OutputState, + } +} + // OnPremCluster contains information specific to GKE On-Prem clusters. type OnPremClusterOutput struct{ *pulumi.OutputState } @@ -2618,6 +3021,12 @@ func (o OnPremClusterOutput) ToOnPremClusterPtrOutputWithContext(ctx context.Con }).(OnPremClusterPtrOutput) } +func (o OnPremClusterOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremCluster] { + return pulumix.Output[OnPremCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Whether the cluster is an admin cluster. func (o OnPremClusterOutput) AdminCluster() pulumi.BoolPtrOutput { return o.ApplyT(func(v OnPremCluster) *bool { return v.AdminCluster }).(pulumi.BoolPtrOutput) @@ -2647,6 +3056,12 @@ func (o OnPremClusterPtrOutput) ToOnPremClusterPtrOutputWithContext(ctx context. return o } +func (o OnPremClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OnPremCluster] { + return pulumix.Output[*OnPremCluster]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterPtrOutput) Elem() OnPremClusterOutput { return o.ApplyT(func(v *OnPremCluster) OnPremCluster { if v != nil { @@ -2714,6 +3129,12 @@ func (o OnPremClusterResponseOutput) ToOnPremClusterResponseOutputWithContext(ct return o } +func (o OnPremClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremClusterResponse] { + return pulumix.Output[OnPremClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Whether the cluster is an admin cluster. func (o OnPremClusterResponseOutput) AdminCluster() pulumi.BoolOutput { return o.ApplyT(func(v OnPremClusterResponse) bool { return v.AdminCluster }).(pulumi.BoolOutput) @@ -2757,6 +3178,12 @@ func (o ResourceManifestResponseOutput) ToResourceManifestResponseOutputWithCont return o } +func (o ResourceManifestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceManifestResponse] { + return pulumix.Output[ResourceManifestResponse]{ + OutputState: o.OutputState, + } +} + // Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster. func (o ResourceManifestResponseOutput) ClusterScoped() pulumi.BoolOutput { return o.ApplyT(func(v ResourceManifestResponse) bool { return v.ClusterScoped }).(pulumi.BoolOutput) @@ -2781,6 +3208,12 @@ func (o ResourceManifestResponseArrayOutput) ToResourceManifestResponseArrayOutp return o } +func (o ResourceManifestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceManifestResponse] { + return pulumix.Output[[]ResourceManifestResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceManifestResponseArrayOutput) Index(i pulumi.IntInput) ResourceManifestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceManifestResponse { return vs[0].([]ResourceManifestResponse)[vs[1].(int)] @@ -2830,6 +3263,12 @@ func (i ResourceOptionsArgs) ToResourceOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ResourceOptionsOutput) } +func (i ResourceOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceOptions] { + return pulumix.Output[ResourceOptions]{ + OutputState: i.ToResourceOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ResourceOptionsArgs) ToResourceOptionsPtrOutput() ResourceOptionsPtrOutput { return i.ToResourceOptionsPtrOutputWithContext(context.Background()) } @@ -2871,6 +3310,12 @@ func (i *resourceOptionsPtrType) ToResourceOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ResourceOptionsPtrOutput) } +func (i *resourceOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceOptions] { + return pulumix.Output[*ResourceOptions]{ + OutputState: i.ToResourceOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // ResourceOptions represent options for Kubernetes resource generation. type ResourceOptionsOutput struct{ *pulumi.OutputState } @@ -2896,6 +3341,12 @@ func (o ResourceOptionsOutput) ToResourceOptionsPtrOutputWithContext(ctx context }).(ResourceOptionsPtrOutput) } +func (o ResourceOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceOptions] { + return pulumix.Output[ResourceOptions]{ + OutputState: o.OutputState, + } +} + // Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected. func (o ResourceOptionsOutput) ConnectVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceOptions) *string { return v.ConnectVersion }).(pulumi.StringPtrOutput) @@ -2925,6 +3376,12 @@ func (o ResourceOptionsPtrOutput) ToResourceOptionsPtrOutputWithContext(ctx cont return o } +func (o ResourceOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceOptions] { + return pulumix.Output[*ResourceOptions]{ + OutputState: o.OutputState, + } +} + func (o ResourceOptionsPtrOutput) Elem() ResourceOptionsOutput { return o.ApplyT(func(v *ResourceOptions) ResourceOptions { if v != nil { @@ -2990,6 +3447,12 @@ func (o ResourceOptionsResponseOutput) ToResourceOptionsResponseOutputWithContex return o } +func (o ResourceOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceOptionsResponse] { + return pulumix.Output[ResourceOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected. func (o ResourceOptionsResponseOutput) ConnectVersion() pulumi.StringOutput { return o.ApplyT(func(v ResourceOptionsResponse) string { return v.ConnectVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/binding.go b/sdk/go/google/gkehub/v1beta/binding.go index 8f07e9d395..25d2182616 100644 --- a/sdk/go/google/gkehub/v1beta/binding.go +++ b/sdk/go/google/gkehub/v1beta/binding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a MembershipBinding. @@ -144,6 +145,12 @@ func (i *Binding) ToBindingOutputWithContext(ctx context.Context) BindingOutput return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i *Binding) ToOutput(ctx context.Context) pulumix.Output[*Binding] { + return pulumix.Output[*Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + type BindingOutput struct{ *pulumi.OutputState } func (BindingOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[*Binding] { + return pulumix.Output[*Binding]{ + OutputState: o.OutputState, + } +} + // When the membership binding was created. func (o BindingOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Binding) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/feature.go b/sdk/go/google/gkehub/v1beta/feature.go index c386ee60a1..9b10c6a2f0 100644 --- a/sdk/go/google/gkehub/v1beta/feature.go +++ b/sdk/go/google/gkehub/v1beta/feature.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Adds a new Feature. @@ -156,6 +157,12 @@ func (i *Feature) ToFeatureOutputWithContext(ctx context.Context) FeatureOutput return pulumi.ToOutputWithContext(ctx, i).(FeatureOutput) } +func (i *Feature) ToOutput(ctx context.Context) pulumix.Output[*Feature] { + return pulumix.Output[*Feature]{ + OutputState: i.ToFeatureOutputWithContext(ctx).OutputState, + } +} + type FeatureOutput struct{ *pulumi.OutputState } func (FeatureOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o FeatureOutput) ToFeatureOutputWithContext(ctx context.Context) FeatureOu return o } +func (o FeatureOutput) ToOutput(ctx context.Context) pulumix.Output[*Feature] { + return pulumix.Output[*Feature]{ + OutputState: o.OutputState, + } +} + // When the Feature resource was created. func (o FeatureOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Feature) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/featureIamBinding.go b/sdk/go/google/gkehub/v1beta/featureIamBinding.go index 84b7ed53ef..4b77d8ba14 100644 --- a/sdk/go/google/gkehub/v1beta/featureIamBinding.go +++ b/sdk/go/google/gkehub/v1beta/featureIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FeatureIamBinding) ToFeatureIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(FeatureIamBindingOutput) } +func (i *FeatureIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamBinding] { + return pulumix.Output[*FeatureIamBinding]{ + OutputState: i.ToFeatureIamBindingOutputWithContext(ctx).OutputState, + } +} + type FeatureIamBindingOutput struct{ *pulumi.OutputState } func (FeatureIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FeatureIamBindingOutput) ToFeatureIamBindingOutputWithContext(ctx contex return o } +func (o FeatureIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamBinding] { + return pulumix.Output[*FeatureIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FeatureIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FeatureIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1beta/featureIamMember.go b/sdk/go/google/gkehub/v1beta/featureIamMember.go index 530927adce..eeb66d1f95 100644 --- a/sdk/go/google/gkehub/v1beta/featureIamMember.go +++ b/sdk/go/google/gkehub/v1beta/featureIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FeatureIamMember) ToFeatureIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FeatureIamMemberOutput) } +func (i *FeatureIamMember) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamMember] { + return pulumix.Output[*FeatureIamMember]{ + OutputState: i.ToFeatureIamMemberOutputWithContext(ctx).OutputState, + } +} + type FeatureIamMemberOutput struct{ *pulumi.OutputState } func (FeatureIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FeatureIamMemberOutput) ToFeatureIamMemberOutputWithContext(ctx context. return o } +func (o FeatureIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamMember] { + return pulumix.Output[*FeatureIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FeatureIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FeatureIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1beta/featureIamPolicy.go b/sdk/go/google/gkehub/v1beta/featureIamPolicy.go index f7d87bd8a1..b675deea40 100644 --- a/sdk/go/google/gkehub/v1beta/featureIamPolicy.go +++ b/sdk/go/google/gkehub/v1beta/featureIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *FeatureIamPolicy) ToFeatureIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FeatureIamPolicyOutput) } +func (i *FeatureIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamPolicy] { + return pulumix.Output[*FeatureIamPolicy]{ + OutputState: i.ToFeatureIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FeatureIamPolicyOutput struct{ *pulumi.OutputState } func (FeatureIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FeatureIamPolicyOutput) ToFeatureIamPolicyOutputWithContext(ctx context. return o } +func (o FeatureIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FeatureIamPolicy] { + return pulumix.Output[*FeatureIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FeatureIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FeatureIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1beta/fleet.go b/sdk/go/google/gkehub/v1beta/fleet.go index 9d89bcdf86..400dbc2445 100644 --- a/sdk/go/google/gkehub/v1beta/fleet.go +++ b/sdk/go/google/gkehub/v1beta/fleet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a fleet. @@ -116,6 +117,12 @@ func (i *Fleet) ToFleetOutputWithContext(ctx context.Context) FleetOutput { return pulumi.ToOutputWithContext(ctx, i).(FleetOutput) } +func (i *Fleet) ToOutput(ctx context.Context) pulumix.Output[*Fleet] { + return pulumix.Output[*Fleet]{ + OutputState: i.ToFleetOutputWithContext(ctx).OutputState, + } +} + type FleetOutput struct{ *pulumi.OutputState } func (FleetOutput) ElementType() reflect.Type { @@ -130,6 +137,12 @@ func (o FleetOutput) ToFleetOutputWithContext(ctx context.Context) FleetOutput { return o } +func (o FleetOutput) ToOutput(ctx context.Context) pulumix.Output[*Fleet] { + return pulumix.Output[*Fleet]{ + OutputState: o.OutputState, + } +} + // When the Fleet was created. func (o FleetOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Fleet) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/getBinding.go b/sdk/go/google/gkehub/v1beta/getBinding.go index ddcdfc0811..8b20113bca 100644 --- a/sdk/go/google/gkehub/v1beta/getBinding.go +++ b/sdk/go/google/gkehub/v1beta/getBinding.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a MembershipBinding. @@ -86,6 +87,12 @@ func (o LookupBindingResultOutput) ToLookupBindingResultOutputWithContext(ctx co return o } +func (o LookupBindingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBindingResult] { + return pulumix.Output[LookupBindingResult]{ + OutputState: o.OutputState, + } +} + // When the membership binding was created. func (o LookupBindingResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBindingResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/getFeature.go b/sdk/go/google/gkehub/v1beta/getFeature.go index a0c9fcd306..4130512c69 100644 --- a/sdk/go/google/gkehub/v1beta/getFeature.go +++ b/sdk/go/google/gkehub/v1beta/getFeature.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Feature. @@ -94,6 +95,12 @@ func (o LookupFeatureResultOutput) ToLookupFeatureResultOutputWithContext(ctx co return o } +func (o LookupFeatureResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFeatureResult] { + return pulumix.Output[LookupFeatureResult]{ + OutputState: o.OutputState, + } +} + // When the Feature resource was created. func (o LookupFeatureResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFeatureResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/getFeatureIamPolicy.go b/sdk/go/google/gkehub/v1beta/getFeatureIamPolicy.go index 102709eac8..e7c3daa364 100644 --- a/sdk/go/google/gkehub/v1beta/getFeatureIamPolicy.go +++ b/sdk/go/google/gkehub/v1beta/getFeatureIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupFeatureIamPolicyResultOutput) ToLookupFeatureIamPolicyResultOutput return o } +func (o LookupFeatureIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFeatureIamPolicyResult] { + return pulumix.Output[LookupFeatureIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFeatureIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFeatureIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1beta/getFleet.go b/sdk/go/google/gkehub/v1beta/getFleet.go index cff218edce..82c0f536ff 100644 --- a/sdk/go/google/gkehub/v1beta/getFleet.go +++ b/sdk/go/google/gkehub/v1beta/getFleet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a fleet. @@ -82,6 +83,12 @@ func (o LookupFleetResultOutput) ToLookupFleetResultOutputWithContext(ctx contex return o } +func (o LookupFleetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFleetResult] { + return pulumix.Output[LookupFleetResult]{ + OutputState: o.OutputState, + } +} + // When the Fleet was created. func (o LookupFleetResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFleetResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/getMembershipIamPolicy.go b/sdk/go/google/gkehub/v1beta/getMembershipIamPolicy.go index 11f0f5c080..1869e066f7 100644 --- a/sdk/go/google/gkehub/v1beta/getMembershipIamPolicy.go +++ b/sdk/go/google/gkehub/v1beta/getMembershipIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupMembershipIamPolicyResultOutput) ToLookupMembershipIamPolicyResult return o } +func (o LookupMembershipIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipIamPolicyResult] { + return pulumix.Output[LookupMembershipIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMembershipIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMembershipIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1beta/getNamespace.go b/sdk/go/google/gkehub/v1beta/getNamespace.go index 73471bdd2d..60dfa59473 100644 --- a/sdk/go/google/gkehub/v1beta/getNamespace.go +++ b/sdk/go/google/gkehub/v1beta/getNamespace.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a fleet namespace. @@ -82,6 +83,12 @@ func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ct return o } +func (o LookupNamespaceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamespaceResult] { + return pulumix.Output[LookupNamespaceResult]{ + OutputState: o.OutputState, + } +} + // When the namespace was created. func (o LookupNamespaceResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupNamespaceResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/getRbacrolebinding.go b/sdk/go/google/gkehub/v1beta/getRbacrolebinding.go index 9c12940cea..787a41796f 100644 --- a/sdk/go/google/gkehub/v1beta/getRbacrolebinding.go +++ b/sdk/go/google/gkehub/v1beta/getRbacrolebinding.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a RBACRoleBinding. @@ -88,6 +89,12 @@ func (o LookupRbacrolebindingResultOutput) ToLookupRbacrolebindingResultOutputWi return o } +func (o LookupRbacrolebindingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRbacrolebindingResult] { + return pulumix.Output[LookupRbacrolebindingResult]{ + OutputState: o.OutputState, + } +} + // When the rbacrolebinding was created. func (o LookupRbacrolebindingResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupRbacrolebindingResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/getScope.go b/sdk/go/google/gkehub/v1beta/getScope.go index 0b03b3f91f..bec1937007 100644 --- a/sdk/go/google/gkehub/v1beta/getScope.go +++ b/sdk/go/google/gkehub/v1beta/getScope.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the details of a Scope. @@ -82,6 +83,12 @@ func (o LookupScopeResultOutput) ToLookupScopeResultOutputWithContext(ctx contex return o } +func (o LookupScopeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupScopeResult] { + return pulumix.Output[LookupScopeResult]{ + OutputState: o.OutputState, + } +} + // If true, all Memberships in the Fleet bind to this Scope. func (o LookupScopeResultOutput) AllMemberships() pulumi.BoolOutput { return o.ApplyT(func(v LookupScopeResult) bool { return v.AllMemberships }).(pulumi.BoolOutput) diff --git a/sdk/go/google/gkehub/v1beta/membershipIamBinding.go b/sdk/go/google/gkehub/v1beta/membershipIamBinding.go index 301ae34c89..c97a0cfb6f 100644 --- a/sdk/go/google/gkehub/v1beta/membershipIamBinding.go +++ b/sdk/go/google/gkehub/v1beta/membershipIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamBinding) ToMembershipIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(MembershipIamBindingOutput) } +func (i *MembershipIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamBinding] { + return pulumix.Output[*MembershipIamBinding]{ + OutputState: i.ToMembershipIamBindingOutputWithContext(ctx).OutputState, + } +} + type MembershipIamBindingOutput struct{ *pulumi.OutputState } func (MembershipIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamBindingOutput) ToMembershipIamBindingOutputWithContext(ctx return o } +func (o MembershipIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamBinding] { + return pulumix.Output[*MembershipIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MembershipIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MembershipIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1beta/membershipIamMember.go b/sdk/go/google/gkehub/v1beta/membershipIamMember.go index 4c021abf95..0a33b2ce1a 100644 --- a/sdk/go/google/gkehub/v1beta/membershipIamMember.go +++ b/sdk/go/google/gkehub/v1beta/membershipIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamMember) ToMembershipIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipIamMemberOutput) } +func (i *MembershipIamMember) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamMember] { + return pulumix.Output[*MembershipIamMember]{ + OutputState: i.ToMembershipIamMemberOutputWithContext(ctx).OutputState, + } +} + type MembershipIamMemberOutput struct{ *pulumi.OutputState } func (MembershipIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamMemberOutput) ToMembershipIamMemberOutputWithContext(ctx co return o } +func (o MembershipIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamMember] { + return pulumix.Output[*MembershipIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MembershipIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MembershipIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1beta/membershipIamPolicy.go b/sdk/go/google/gkehub/v1beta/membershipIamPolicy.go index c2c5bd3187..82c6e35216 100644 --- a/sdk/go/google/gkehub/v1beta/membershipIamPolicy.go +++ b/sdk/go/google/gkehub/v1beta/membershipIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamPolicy) ToMembershipIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipIamPolicyOutput) } +func (i *MembershipIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamPolicy] { + return pulumix.Output[*MembershipIamPolicy]{ + OutputState: i.ToMembershipIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MembershipIamPolicyOutput struct{ *pulumi.OutputState } func (MembershipIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamPolicyOutput) ToMembershipIamPolicyOutputWithContext(ctx co return o } +func (o MembershipIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamPolicy] { + return pulumix.Output[*MembershipIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MembershipIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MembershipIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1beta/namespace.go b/sdk/go/google/gkehub/v1beta/namespace.go index c42aa4283c..553f866bd0 100644 --- a/sdk/go/google/gkehub/v1beta/namespace.go +++ b/sdk/go/google/gkehub/v1beta/namespace.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a fleet namespace. @@ -134,6 +135,12 @@ func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceO return pulumi.ToOutputWithContext(ctx, i).(NamespaceOutput) } +func (i *Namespace) ToOutput(ctx context.Context) pulumix.Output[*Namespace] { + return pulumix.Output[*Namespace]{ + OutputState: i.ToNamespaceOutputWithContext(ctx).OutputState, + } +} + type NamespaceOutput struct{ *pulumi.OutputState } func (NamespaceOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) Names return o } +func (o NamespaceOutput) ToOutput(ctx context.Context) pulumix.Output[*Namespace] { + return pulumix.Output[*Namespace]{ + OutputState: o.OutputState, + } +} + // When the namespace was created. func (o NamespaceOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Namespace) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/pulumiEnums.go b/sdk/go/google/gkehub/v1beta/pulumiEnums.go index 137aa4c500..dd66c965a7 100644 --- a/sdk/go/google/gkehub/v1beta/pulumiEnums.go +++ b/sdk/go/google/gkehub/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // mode configures the logs routing mode. type FleetObservabilityRoutingConfigMode string @@ -253,6 +272,12 @@ func (o FleetObservabilityRoutingConfigModeOutput) ToFleetObservabilityRoutingCo }).(FleetObservabilityRoutingConfigModePtrOutput) } +func (o FleetObservabilityRoutingConfigModeOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityRoutingConfigMode] { + return pulumix.Output[FleetObservabilityRoutingConfigMode]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityRoutingConfigModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o FleetObservabilityRoutingConfigModePtrOutput) ToFleetObservabilityRoutin return o } +func (o FleetObservabilityRoutingConfigModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityRoutingConfigMode] { + return pulumix.Output[*FleetObservabilityRoutingConfigMode]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityRoutingConfigModePtrOutput) Elem() FleetObservabilityRoutingConfigModeOutput { return o.ApplyT(func(v *FleetObservabilityRoutingConfigMode) FleetObservabilityRoutingConfigMode { if v != nil { @@ -350,6 +381,12 @@ func (in *fleetObservabilityRoutingConfigModePtr) ToFleetObservabilityRoutingCon return pulumi.ToOutputWithContext(ctx, in).(FleetObservabilityRoutingConfigModePtrOutput) } +func (in *fleetObservabilityRoutingConfigModePtr) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityRoutingConfigMode] { + return pulumix.Output[*FleetObservabilityRoutingConfigMode]{ + OutputState: in.ToFleetObservabilityRoutingConfigModePtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated: This field will be ignored and should not be set. Customer's billing structure. type MultiClusterIngressFeatureSpecBilling string @@ -422,6 +459,12 @@ func (o MultiClusterIngressFeatureSpecBillingOutput) ToMultiClusterIngressFeatur }).(MultiClusterIngressFeatureSpecBillingPtrOutput) } +func (o MultiClusterIngressFeatureSpecBillingOutput) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpecBilling] { + return pulumix.Output[MultiClusterIngressFeatureSpecBilling]{ + OutputState: o.OutputState, + } +} + func (o MultiClusterIngressFeatureSpecBillingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o MultiClusterIngressFeatureSpecBillingPtrOutput) ToMultiClusterIngressFea return o } +func (o MultiClusterIngressFeatureSpecBillingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterIngressFeatureSpecBilling] { + return pulumix.Output[*MultiClusterIngressFeatureSpecBilling]{ + OutputState: o.OutputState, + } +} + func (o MultiClusterIngressFeatureSpecBillingPtrOutput) Elem() MultiClusterIngressFeatureSpecBillingOutput { return o.ApplyT(func(v *MultiClusterIngressFeatureSpecBilling) MultiClusterIngressFeatureSpecBilling { if v != nil { @@ -519,6 +568,12 @@ func (in *multiClusterIngressFeatureSpecBillingPtr) ToMultiClusterIngressFeature return pulumi.ToOutputWithContext(ctx, in).(MultiClusterIngressFeatureSpecBillingPtrOutput) } +func (in *multiClusterIngressFeatureSpecBillingPtr) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterIngressFeatureSpecBilling] { + return pulumix.Output[*MultiClusterIngressFeatureSpecBilling]{ + OutputState: in.ToMultiClusterIngressFeatureSpecBillingPtrOutputWithContext(ctx).OutputState, + } +} + // predefined_role is the Kubernetes default role to use type RolePredefinedRole string @@ -593,6 +648,12 @@ func (o RolePredefinedRoleOutput) ToRolePredefinedRolePtrOutputWithContext(ctx c }).(RolePredefinedRolePtrOutput) } +func (o RolePredefinedRoleOutput) ToOutput(ctx context.Context) pulumix.Output[RolePredefinedRole] { + return pulumix.Output[RolePredefinedRole]{ + OutputState: o.OutputState, + } +} + func (o RolePredefinedRoleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -628,6 +689,12 @@ func (o RolePredefinedRolePtrOutput) ToRolePredefinedRolePtrOutputWithContext(ct return o } +func (o RolePredefinedRolePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RolePredefinedRole] { + return pulumix.Output[*RolePredefinedRole]{ + OutputState: o.OutputState, + } +} + func (o RolePredefinedRolePtrOutput) Elem() RolePredefinedRoleOutput { return o.ApplyT(func(v *RolePredefinedRole) RolePredefinedRole { if v != nil { @@ -690,6 +757,12 @@ func (in *rolePredefinedRolePtr) ToRolePredefinedRolePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(RolePredefinedRolePtrOutput) } +func (in *rolePredefinedRolePtr) ToOutput(ctx context.Context) pulumix.Output[*RolePredefinedRole] { + return pulumix.Output[*RolePredefinedRole]{ + OutputState: in.ToRolePredefinedRolePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/gkehub/v1beta/pulumiTypes.go b/sdk/go/google/gkehub/v1beta/pulumiTypes.go index 5d05ce2c13..e2ea18f39b 100644 --- a/sdk/go/google/gkehub/v1beta/pulumiTypes.go +++ b/sdk/go/google/gkehub/v1beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i AnthosObservabilityFeatureSpecArgs) ToAnthosObservabilityFeatureSpecOutp return pulumi.ToOutputWithContext(ctx, i).(AnthosObservabilityFeatureSpecOutput) } +func (i AnthosObservabilityFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityFeatureSpec] { + return pulumix.Output[AnthosObservabilityFeatureSpec]{ + OutputState: i.ToAnthosObservabilityFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i AnthosObservabilityFeatureSpecArgs) ToAnthosObservabilityFeatureSpecPtrOutput() AnthosObservabilityFeatureSpecPtrOutput { return i.ToAnthosObservabilityFeatureSpecPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *anthosObservabilityFeatureSpecPtrType) ToAnthosObservabilityFeatureSpec return pulumi.ToOutputWithContext(ctx, i).(AnthosObservabilityFeatureSpecPtrOutput) } +func (i *anthosObservabilityFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnthosObservabilityFeatureSpec] { + return pulumix.Output[*AnthosObservabilityFeatureSpec]{ + OutputState: i.ToAnthosObservabilityFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Anthos Observability**: Spec type AnthosObservabilityFeatureSpecOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o AnthosObservabilityFeatureSpecOutput) ToAnthosObservabilityFeatureSpecPt }).(AnthosObservabilityFeatureSpecPtrOutput) } +func (o AnthosObservabilityFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityFeatureSpec] { + return pulumix.Output[AnthosObservabilityFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Default membership spec for unconfigured memberships func (o AnthosObservabilityFeatureSpecOutput) DefaultMembershipSpec() AnthosObservabilityMembershipSpecPtrOutput { return o.ApplyT(func(v AnthosObservabilityFeatureSpec) *AnthosObservabilityMembershipSpec { @@ -135,6 +154,12 @@ func (o AnthosObservabilityFeatureSpecPtrOutput) ToAnthosObservabilityFeatureSpe return o } +func (o AnthosObservabilityFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnthosObservabilityFeatureSpec] { + return pulumix.Output[*AnthosObservabilityFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o AnthosObservabilityFeatureSpecPtrOutput) Elem() AnthosObservabilityFeatureSpecOutput { return o.ApplyT(func(v *AnthosObservabilityFeatureSpec) AnthosObservabilityFeatureSpec { if v != nil { @@ -176,6 +201,12 @@ func (o AnthosObservabilityFeatureSpecResponseOutput) ToAnthosObservabilityFeatu return o } +func (o AnthosObservabilityFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityFeatureSpecResponse] { + return pulumix.Output[AnthosObservabilityFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Default membership spec for unconfigured memberships func (o AnthosObservabilityFeatureSpecResponseOutput) DefaultMembershipSpec() AnthosObservabilityMembershipSpecResponseOutput { return o.ApplyT(func(v AnthosObservabilityFeatureSpecResponse) AnthosObservabilityMembershipSpecResponse { @@ -226,6 +257,12 @@ func (i AnthosObservabilityMembershipSpecArgs) ToAnthosObservabilityMembershipSp return pulumi.ToOutputWithContext(ctx, i).(AnthosObservabilityMembershipSpecOutput) } +func (i AnthosObservabilityMembershipSpecArgs) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityMembershipSpec] { + return pulumix.Output[AnthosObservabilityMembershipSpec]{ + OutputState: i.ToAnthosObservabilityMembershipSpecOutputWithContext(ctx).OutputState, + } +} + func (i AnthosObservabilityMembershipSpecArgs) ToAnthosObservabilityMembershipSpecPtrOutput() AnthosObservabilityMembershipSpecPtrOutput { return i.ToAnthosObservabilityMembershipSpecPtrOutputWithContext(context.Background()) } @@ -267,6 +304,12 @@ func (i *anthosObservabilityMembershipSpecPtrType) ToAnthosObservabilityMembersh return pulumi.ToOutputWithContext(ctx, i).(AnthosObservabilityMembershipSpecPtrOutput) } +func (i *anthosObservabilityMembershipSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnthosObservabilityMembershipSpec] { + return pulumix.Output[*AnthosObservabilityMembershipSpec]{ + OutputState: i.ToAnthosObservabilityMembershipSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Anthosobservability**: Per-Membership Feature spec. type AnthosObservabilityMembershipSpecOutput struct{ *pulumi.OutputState } @@ -292,6 +335,12 @@ func (o AnthosObservabilityMembershipSpecOutput) ToAnthosObservabilityMembership }).(AnthosObservabilityMembershipSpecPtrOutput) } +func (o AnthosObservabilityMembershipSpecOutput) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityMembershipSpec] { + return pulumix.Output[AnthosObservabilityMembershipSpec]{ + OutputState: o.OutputState, + } +} + // Use full of metrics rather than optimized metrics. See https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics func (o AnthosObservabilityMembershipSpecOutput) DoNotOptimizeMetrics() pulumi.BoolPtrOutput { return o.ApplyT(func(v AnthosObservabilityMembershipSpec) *bool { return v.DoNotOptimizeMetrics }).(pulumi.BoolPtrOutput) @@ -321,6 +370,12 @@ func (o AnthosObservabilityMembershipSpecPtrOutput) ToAnthosObservabilityMembers return o } +func (o AnthosObservabilityMembershipSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnthosObservabilityMembershipSpec] { + return pulumix.Output[*AnthosObservabilityMembershipSpec]{ + OutputState: o.OutputState, + } +} + func (o AnthosObservabilityMembershipSpecPtrOutput) Elem() AnthosObservabilityMembershipSpecOutput { return o.ApplyT(func(v *AnthosObservabilityMembershipSpec) AnthosObservabilityMembershipSpec { if v != nil { @@ -386,6 +441,12 @@ func (o AnthosObservabilityMembershipSpecResponseOutput) ToAnthosObservabilityMe return o } +func (o AnthosObservabilityMembershipSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnthosObservabilityMembershipSpecResponse] { + return pulumix.Output[AnthosObservabilityMembershipSpecResponse]{ + OutputState: o.OutputState, + } +} + // Use full of metrics rather than optimized metrics. See https://cloud.google.com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#optimized_metrics_default_metrics func (o AnthosObservabilityMembershipSpecResponseOutput) DoNotOptimizeMetrics() pulumi.BoolOutput { return o.ApplyT(func(v AnthosObservabilityMembershipSpecResponse) bool { return v.DoNotOptimizeMetrics }).(pulumi.BoolOutput) @@ -432,6 +493,12 @@ func (i AppDevExperienceFeatureSpecArgs) ToAppDevExperienceFeatureSpecOutputWith return pulumi.ToOutputWithContext(ctx, i).(AppDevExperienceFeatureSpecOutput) } +func (i AppDevExperienceFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureSpec] { + return pulumix.Output[AppDevExperienceFeatureSpec]{ + OutputState: i.ToAppDevExperienceFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i AppDevExperienceFeatureSpecArgs) ToAppDevExperienceFeatureSpecPtrOutput() AppDevExperienceFeatureSpecPtrOutput { return i.ToAppDevExperienceFeatureSpecPtrOutputWithContext(context.Background()) } @@ -473,6 +540,12 @@ func (i *appDevExperienceFeatureSpecPtrType) ToAppDevExperienceFeatureSpecPtrOut return pulumi.ToOutputWithContext(ctx, i).(AppDevExperienceFeatureSpecPtrOutput) } +func (i *appDevExperienceFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppDevExperienceFeatureSpec] { + return pulumix.Output[*AppDevExperienceFeatureSpec]{ + OutputState: i.ToAppDevExperienceFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Spec for App Dev Experience Feature. type AppDevExperienceFeatureSpecOutput struct{ *pulumi.OutputState } @@ -498,6 +571,12 @@ func (o AppDevExperienceFeatureSpecOutput) ToAppDevExperienceFeatureSpecPtrOutpu }).(AppDevExperienceFeatureSpecPtrOutput) } +func (o AppDevExperienceFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureSpec] { + return pulumix.Output[AppDevExperienceFeatureSpec]{ + OutputState: o.OutputState, + } +} + type AppDevExperienceFeatureSpecPtrOutput struct{ *pulumi.OutputState } func (AppDevExperienceFeatureSpecPtrOutput) ElementType() reflect.Type { @@ -512,6 +591,12 @@ func (o AppDevExperienceFeatureSpecPtrOutput) ToAppDevExperienceFeatureSpecPtrOu return o } +func (o AppDevExperienceFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppDevExperienceFeatureSpec] { + return pulumix.Output[*AppDevExperienceFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o AppDevExperienceFeatureSpecPtrOutput) Elem() AppDevExperienceFeatureSpecOutput { return o.ApplyT(func(v *AppDevExperienceFeatureSpec) AppDevExperienceFeatureSpec { if v != nil { @@ -541,6 +626,12 @@ func (o AppDevExperienceFeatureSpecResponseOutput) ToAppDevExperienceFeatureSpec return o } +func (o AppDevExperienceFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureSpecResponse] { + return pulumix.Output[AppDevExperienceFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // State for App Dev Exp Feature. type AppDevExperienceFeatureStateResponse struct { // Status of subcomponent that detects configured Service Mesh resources. @@ -562,6 +653,12 @@ func (o AppDevExperienceFeatureStateResponseOutput) ToAppDevExperienceFeatureSta return o } +func (o AppDevExperienceFeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppDevExperienceFeatureStateResponse] { + return pulumix.Output[AppDevExperienceFeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // Status of subcomponent that detects configured Service Mesh resources. func (o AppDevExperienceFeatureStateResponseOutput) NetworkingInstallSucceeded() StatusResponseOutput { return o.ApplyT(func(v AppDevExperienceFeatureStateResponse) StatusResponse { return v.NetworkingInstallSucceeded }).(StatusResponseOutput) @@ -606,6 +703,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -631,6 +734,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -646,6 +755,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -670,6 +785,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -699,6 +820,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -723,6 +850,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -768,6 +901,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -793,6 +932,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -808,6 +953,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -832,6 +983,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -861,6 +1018,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -885,6 +1048,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -934,6 +1103,12 @@ func (i BindingTypeArgs) ToBindingTypeOutputWithContext(ctx context.Context) Bin return pulumi.ToOutputWithContext(ctx, i).(BindingTypeOutput) } +func (i BindingTypeArgs) ToOutput(ctx context.Context) pulumix.Output[BindingType] { + return pulumix.Output[BindingType]{ + OutputState: i.ToBindingTypeOutputWithContext(ctx).OutputState, + } +} + // BindingTypeArrayInput is an input type that accepts BindingTypeArray and BindingTypeArrayOutput values. // You can construct a concrete instance of `BindingTypeArrayInput` via: // @@ -959,6 +1134,12 @@ func (i BindingTypeArray) ToBindingTypeArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BindingTypeArrayOutput) } +func (i BindingTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]BindingType] { + return pulumix.Output[[]BindingType]{ + OutputState: i.ToBindingTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingTypeOutput struct{ *pulumi.OutputState } @@ -974,6 +1155,12 @@ func (o BindingTypeOutput) ToBindingTypeOutputWithContext(ctx context.Context) B return o } +func (o BindingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BindingType] { + return pulumix.Output[BindingType]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingTypeOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v BindingType) *Expr { return v.Condition }).(ExprPtrOutput) @@ -1003,6 +1190,12 @@ func (o BindingTypeArrayOutput) ToBindingTypeArrayOutputWithContext(ctx context. return o } +func (o BindingTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingType] { + return pulumix.Output[[]BindingType]{ + OutputState: o.OutputState, + } +} + func (o BindingTypeArrayOutput) Index(i pulumi.IntInput) BindingTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingType { return vs[0].([]BindingType)[vs[1].(int)] @@ -1034,6 +1227,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1063,6 +1262,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1116,6 +1321,12 @@ func (i CommonFeatureSpecArgs) ToCommonFeatureSpecOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CommonFeatureSpecOutput) } +func (i CommonFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureSpec] { + return pulumix.Output[CommonFeatureSpec]{ + OutputState: i.ToCommonFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i CommonFeatureSpecArgs) ToCommonFeatureSpecPtrOutput() CommonFeatureSpecPtrOutput { return i.ToCommonFeatureSpecPtrOutputWithContext(context.Background()) } @@ -1157,6 +1368,12 @@ func (i *commonFeatureSpecPtrType) ToCommonFeatureSpecPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CommonFeatureSpecPtrOutput) } +func (i *commonFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*CommonFeatureSpec] { + return pulumix.Output[*CommonFeatureSpec]{ + OutputState: i.ToCommonFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // CommonFeatureSpec contains Hub-wide configuration information type CommonFeatureSpecOutput struct{ *pulumi.OutputState } @@ -1182,6 +1399,12 @@ func (o CommonFeatureSpecOutput) ToCommonFeatureSpecPtrOutputWithContext(ctx con }).(CommonFeatureSpecPtrOutput) } +func (o CommonFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureSpec] { + return pulumix.Output[CommonFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Anthos Observability spec func (o CommonFeatureSpecOutput) Anthosobservability() AnthosObservabilityFeatureSpecPtrOutput { return o.ApplyT(func(v CommonFeatureSpec) *AnthosObservabilityFeatureSpec { return v.Anthosobservability }).(AnthosObservabilityFeatureSpecPtrOutput) @@ -1216,6 +1439,12 @@ func (o CommonFeatureSpecPtrOutput) ToCommonFeatureSpecPtrOutputWithContext(ctx return o } +func (o CommonFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CommonFeatureSpec] { + return pulumix.Output[*CommonFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o CommonFeatureSpecPtrOutput) Elem() CommonFeatureSpecOutput { return o.ApplyT(func(v *CommonFeatureSpec) CommonFeatureSpec { if v != nil { @@ -1293,6 +1522,12 @@ func (o CommonFeatureSpecResponseOutput) ToCommonFeatureSpecResponseOutputWithCo return o } +func (o CommonFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureSpecResponse] { + return pulumix.Output[CommonFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Anthos Observability spec func (o CommonFeatureSpecResponseOutput) Anthosobservability() AnthosObservabilityFeatureSpecResponseOutput { return o.ApplyT(func(v CommonFeatureSpecResponse) AnthosObservabilityFeatureSpecResponse { return v.Anthosobservability }).(AnthosObservabilityFeatureSpecResponseOutput) @@ -1338,6 +1573,12 @@ func (o CommonFeatureStateResponseOutput) ToCommonFeatureStateResponseOutputWith return o } +func (o CommonFeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFeatureStateResponse] { + return pulumix.Output[CommonFeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // Appdevexperience specific state. func (o CommonFeatureStateResponseOutput) Appdevexperience() AppDevExperienceFeatureStateResponseOutput { return o.ApplyT(func(v CommonFeatureStateResponse) AppDevExperienceFeatureStateResponse { return v.Appdevexperience }).(AppDevExperienceFeatureStateResponseOutput) @@ -1388,6 +1629,12 @@ func (i CommonFleetDefaultMemberConfigSpecArgs) ToCommonFleetDefaultMemberConfig return pulumi.ToOutputWithContext(ctx, i).(CommonFleetDefaultMemberConfigSpecOutput) } +func (i CommonFleetDefaultMemberConfigSpecArgs) ToOutput(ctx context.Context) pulumix.Output[CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[CommonFleetDefaultMemberConfigSpec]{ + OutputState: i.ToCommonFleetDefaultMemberConfigSpecOutputWithContext(ctx).OutputState, + } +} + func (i CommonFleetDefaultMemberConfigSpecArgs) ToCommonFleetDefaultMemberConfigSpecPtrOutput() CommonFleetDefaultMemberConfigSpecPtrOutput { return i.ToCommonFleetDefaultMemberConfigSpecPtrOutputWithContext(context.Background()) } @@ -1429,6 +1676,12 @@ func (i *commonFleetDefaultMemberConfigSpecPtrType) ToCommonFleetDefaultMemberCo return pulumi.ToOutputWithContext(ctx, i).(CommonFleetDefaultMemberConfigSpecPtrOutput) } +func (i *commonFleetDefaultMemberConfigSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[*CommonFleetDefaultMemberConfigSpec]{ + OutputState: i.ToCommonFleetDefaultMemberConfigSpecPtrOutputWithContext(ctx).OutputState, + } +} + // CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet type CommonFleetDefaultMemberConfigSpecOutput struct{ *pulumi.OutputState } @@ -1454,6 +1707,12 @@ func (o CommonFleetDefaultMemberConfigSpecOutput) ToCommonFleetDefaultMemberConf }).(CommonFleetDefaultMemberConfigSpecPtrOutput) } +func (o CommonFleetDefaultMemberConfigSpecOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[CommonFleetDefaultMemberConfigSpec]{ + OutputState: o.OutputState, + } +} + // Identity Service-specific spec. func (o CommonFleetDefaultMemberConfigSpecOutput) Identityservice() IdentityServiceMembershipSpecPtrOutput { return o.ApplyT(func(v CommonFleetDefaultMemberConfigSpec) *IdentityServiceMembershipSpec { return v.Identityservice }).(IdentityServiceMembershipSpecPtrOutput) @@ -1473,6 +1732,12 @@ func (o CommonFleetDefaultMemberConfigSpecPtrOutput) ToCommonFleetDefaultMemberC return o } +func (o CommonFleetDefaultMemberConfigSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CommonFleetDefaultMemberConfigSpec] { + return pulumix.Output[*CommonFleetDefaultMemberConfigSpec]{ + OutputState: o.OutputState, + } +} + func (o CommonFleetDefaultMemberConfigSpecPtrOutput) Elem() CommonFleetDefaultMemberConfigSpecOutput { return o.ApplyT(func(v *CommonFleetDefaultMemberConfigSpec) CommonFleetDefaultMemberConfigSpec { if v != nil { @@ -1514,6 +1779,12 @@ func (o CommonFleetDefaultMemberConfigSpecResponseOutput) ToCommonFleetDefaultMe return o } +func (o CommonFleetDefaultMemberConfigSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommonFleetDefaultMemberConfigSpecResponse] { + return pulumix.Output[CommonFleetDefaultMemberConfigSpecResponse]{ + OutputState: o.OutputState, + } +} + // Identity Service-specific spec. func (o CommonFleetDefaultMemberConfigSpecResponseOutput) Identityservice() IdentityServiceMembershipSpecResponseOutput { return o.ApplyT(func(v CommonFleetDefaultMemberConfigSpecResponse) IdentityServiceMembershipSpecResponse { @@ -1568,6 +1839,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1609,6 +1886,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1634,6 +1917,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1668,6 +1957,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1745,6 +2040,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1786,6 +2087,12 @@ func (o FeatureResourceStateResponseOutput) ToFeatureResourceStateResponseOutput return o } +func (o FeatureResourceStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureResourceStateResponse] { + return pulumix.Output[FeatureResourceStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Feature resource in the Hub API. func (o FeatureResourceStateResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v FeatureResourceStateResponse) string { return v.State }).(pulumi.StringOutput) @@ -1816,6 +2123,12 @@ func (o FeatureStateResponseOutput) ToFeatureStateResponseOutputWithContext(ctx return o } +func (o FeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FeatureStateResponse] { + return pulumix.Output[FeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // The high-level, machine-readable status of this Feature. func (o FeatureStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v FeatureStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -1852,6 +2165,12 @@ func (o FleetLifecycleStateResponseOutput) ToFleetLifecycleStateResponseOutputWi return o } +func (o FleetLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetLifecycleStateResponse] { + return pulumix.Output[FleetLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Fleet resource. func (o FleetLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v FleetLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -1892,6 +2211,12 @@ func (i FleetObservabilityFeatureSpecArgs) ToFleetObservabilityFeatureSpecOutput return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityFeatureSpecOutput) } +func (i FleetObservabilityFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureSpec] { + return pulumix.Output[FleetObservabilityFeatureSpec]{ + OutputState: i.ToFleetObservabilityFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i FleetObservabilityFeatureSpecArgs) ToFleetObservabilityFeatureSpecPtrOutput() FleetObservabilityFeatureSpecPtrOutput { return i.ToFleetObservabilityFeatureSpecPtrOutputWithContext(context.Background()) } @@ -1933,6 +2258,12 @@ func (i *fleetObservabilityFeatureSpecPtrType) ToFleetObservabilityFeatureSpecPt return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityFeatureSpecPtrOutput) } +func (i *fleetObservabilityFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityFeatureSpec] { + return pulumix.Output[*FleetObservabilityFeatureSpec]{ + OutputState: i.ToFleetObservabilityFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Fleet Observability**: The Hub-wide input for the FleetObservability feature. type FleetObservabilityFeatureSpecOutput struct{ *pulumi.OutputState } @@ -1958,6 +2289,12 @@ func (o FleetObservabilityFeatureSpecOutput) ToFleetObservabilityFeatureSpecPtrO }).(FleetObservabilityFeatureSpecPtrOutput) } +func (o FleetObservabilityFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureSpec] { + return pulumix.Output[FleetObservabilityFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. func (o FleetObservabilityFeatureSpecOutput) LoggingConfig() FleetObservabilityLoggingConfigPtrOutput { return o.ApplyT(func(v FleetObservabilityFeatureSpec) *FleetObservabilityLoggingConfig { return v.LoggingConfig }).(FleetObservabilityLoggingConfigPtrOutput) @@ -1977,6 +2314,12 @@ func (o FleetObservabilityFeatureSpecPtrOutput) ToFleetObservabilityFeatureSpecP return o } +func (o FleetObservabilityFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityFeatureSpec] { + return pulumix.Output[*FleetObservabilityFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityFeatureSpecPtrOutput) Elem() FleetObservabilityFeatureSpecOutput { return o.ApplyT(func(v *FleetObservabilityFeatureSpec) FleetObservabilityFeatureSpec { if v != nil { @@ -2018,6 +2361,12 @@ func (o FleetObservabilityFeatureSpecResponseOutput) ToFleetObservabilityFeature return o } +func (o FleetObservabilityFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureSpecResponse] { + return pulumix.Output[FleetObservabilityFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Specified if fleet logging feature is enabled for the entire fleet. If UNSPECIFIED, fleet logging feature is disabled for the entire fleet. func (o FleetObservabilityFeatureSpecResponseOutput) LoggingConfig() FleetObservabilityLoggingConfigResponseOutput { return o.ApplyT(func(v FleetObservabilityFeatureSpecResponse) FleetObservabilityLoggingConfigResponse { @@ -2044,6 +2393,12 @@ func (o FleetObservabilityFeatureStateResponseOutput) ToFleetObservabilityFeatur return o } +func (o FleetObservabilityFeatureStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityFeatureStateResponse] { + return pulumix.Output[FleetObservabilityFeatureStateResponse]{ + OutputState: o.OutputState, + } +} + // LoggingConfig defines the configuration for different types of logs. type FleetObservabilityLoggingConfig struct { // Specified if applying the default routing config to logs not specified in other configs. @@ -2083,6 +2438,12 @@ func (i FleetObservabilityLoggingConfigArgs) ToFleetObservabilityLoggingConfigOu return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityLoggingConfigOutput) } +func (i FleetObservabilityLoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityLoggingConfig] { + return pulumix.Output[FleetObservabilityLoggingConfig]{ + OutputState: i.ToFleetObservabilityLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i FleetObservabilityLoggingConfigArgs) ToFleetObservabilityLoggingConfigPtrOutput() FleetObservabilityLoggingConfigPtrOutput { return i.ToFleetObservabilityLoggingConfigPtrOutputWithContext(context.Background()) } @@ -2124,6 +2485,12 @@ func (i *fleetObservabilityLoggingConfigPtrType) ToFleetObservabilityLoggingConf return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityLoggingConfigPtrOutput) } +func (i *fleetObservabilityLoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityLoggingConfig] { + return pulumix.Output[*FleetObservabilityLoggingConfig]{ + OutputState: i.ToFleetObservabilityLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingConfig defines the configuration for different types of logs. type FleetObservabilityLoggingConfigOutput struct{ *pulumi.OutputState } @@ -2149,6 +2516,12 @@ func (o FleetObservabilityLoggingConfigOutput) ToFleetObservabilityLoggingConfig }).(FleetObservabilityLoggingConfigPtrOutput) } +func (o FleetObservabilityLoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityLoggingConfig] { + return pulumix.Output[FleetObservabilityLoggingConfig]{ + OutputState: o.OutputState, + } +} + // Specified if applying the default routing config to logs not specified in other configs. func (o FleetObservabilityLoggingConfigOutput) DefaultConfig() FleetObservabilityRoutingConfigPtrOutput { return o.ApplyT(func(v FleetObservabilityLoggingConfig) *FleetObservabilityRoutingConfig { return v.DefaultConfig }).(FleetObservabilityRoutingConfigPtrOutput) @@ -2175,6 +2548,12 @@ func (o FleetObservabilityLoggingConfigPtrOutput) ToFleetObservabilityLoggingCon return o } +func (o FleetObservabilityLoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityLoggingConfig] { + return pulumix.Output[*FleetObservabilityLoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityLoggingConfigPtrOutput) Elem() FleetObservabilityLoggingConfigOutput { return o.ApplyT(func(v *FleetObservabilityLoggingConfig) FleetObservabilityLoggingConfig { if v != nil { @@ -2228,6 +2607,12 @@ func (o FleetObservabilityLoggingConfigResponseOutput) ToFleetObservabilityLoggi return o } +func (o FleetObservabilityLoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityLoggingConfigResponse] { + return pulumix.Output[FleetObservabilityLoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specified if applying the default routing config to logs not specified in other configs. func (o FleetObservabilityLoggingConfigResponseOutput) DefaultConfig() FleetObservabilityRoutingConfigResponseOutput { return o.ApplyT(func(v FleetObservabilityLoggingConfigResponse) FleetObservabilityRoutingConfigResponse { @@ -2277,6 +2662,12 @@ func (i FleetObservabilityRoutingConfigArgs) ToFleetObservabilityRoutingConfigOu return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityRoutingConfigOutput) } +func (i FleetObservabilityRoutingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityRoutingConfig] { + return pulumix.Output[FleetObservabilityRoutingConfig]{ + OutputState: i.ToFleetObservabilityRoutingConfigOutputWithContext(ctx).OutputState, + } +} + func (i FleetObservabilityRoutingConfigArgs) ToFleetObservabilityRoutingConfigPtrOutput() FleetObservabilityRoutingConfigPtrOutput { return i.ToFleetObservabilityRoutingConfigPtrOutputWithContext(context.Background()) } @@ -2318,6 +2709,12 @@ func (i *fleetObservabilityRoutingConfigPtrType) ToFleetObservabilityRoutingConf return pulumi.ToOutputWithContext(ctx, i).(FleetObservabilityRoutingConfigPtrOutput) } +func (i *fleetObservabilityRoutingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityRoutingConfig] { + return pulumix.Output[*FleetObservabilityRoutingConfig]{ + OutputState: i.ToFleetObservabilityRoutingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // RoutingConfig configures the behaviour of fleet logging feature. type FleetObservabilityRoutingConfigOutput struct{ *pulumi.OutputState } @@ -2343,6 +2740,12 @@ func (o FleetObservabilityRoutingConfigOutput) ToFleetObservabilityRoutingConfig }).(FleetObservabilityRoutingConfigPtrOutput) } +func (o FleetObservabilityRoutingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityRoutingConfig] { + return pulumix.Output[FleetObservabilityRoutingConfig]{ + OutputState: o.OutputState, + } +} + // mode configures the logs routing mode. func (o FleetObservabilityRoutingConfigOutput) Mode() FleetObservabilityRoutingConfigModePtrOutput { return o.ApplyT(func(v FleetObservabilityRoutingConfig) *FleetObservabilityRoutingConfigMode { return v.Mode }).(FleetObservabilityRoutingConfigModePtrOutput) @@ -2362,6 +2765,12 @@ func (o FleetObservabilityRoutingConfigPtrOutput) ToFleetObservabilityRoutingCon return o } +func (o FleetObservabilityRoutingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FleetObservabilityRoutingConfig] { + return pulumix.Output[*FleetObservabilityRoutingConfig]{ + OutputState: o.OutputState, + } +} + func (o FleetObservabilityRoutingConfigPtrOutput) Elem() FleetObservabilityRoutingConfigOutput { return o.ApplyT(func(v *FleetObservabilityRoutingConfig) FleetObservabilityRoutingConfig { if v != nil { @@ -2403,6 +2812,12 @@ func (o FleetObservabilityRoutingConfigResponseOutput) ToFleetObservabilityRouti return o } +func (o FleetObservabilityRoutingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetObservabilityRoutingConfigResponse] { + return pulumix.Output[FleetObservabilityRoutingConfigResponse]{ + OutputState: o.OutputState, + } +} + // mode configures the logs routing mode. func (o FleetObservabilityRoutingConfigResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v FleetObservabilityRoutingConfigResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -2459,6 +2874,12 @@ func (i IdentityServiceAuthMethodArgs) ToIdentityServiceAuthMethodOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceAuthMethodOutput) } +func (i IdentityServiceAuthMethodArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAuthMethod] { + return pulumix.Output[IdentityServiceAuthMethod]{ + OutputState: i.ToIdentityServiceAuthMethodOutputWithContext(ctx).OutputState, + } +} + // IdentityServiceAuthMethodArrayInput is an input type that accepts IdentityServiceAuthMethodArray and IdentityServiceAuthMethodArrayOutput values. // You can construct a concrete instance of `IdentityServiceAuthMethodArrayInput` via: // @@ -2484,6 +2905,12 @@ func (i IdentityServiceAuthMethodArray) ToIdentityServiceAuthMethodArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceAuthMethodArrayOutput) } +func (i IdentityServiceAuthMethodArray) ToOutput(ctx context.Context) pulumix.Output[[]IdentityServiceAuthMethod] { + return pulumix.Output[[]IdentityServiceAuthMethod]{ + OutputState: i.ToIdentityServiceAuthMethodArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod. type IdentityServiceAuthMethodOutput struct{ *pulumi.OutputState } @@ -2499,6 +2926,12 @@ func (o IdentityServiceAuthMethodOutput) ToIdentityServiceAuthMethodOutputWithCo return o } +func (o IdentityServiceAuthMethodOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAuthMethod] { + return pulumix.Output[IdentityServiceAuthMethod]{ + OutputState: o.OutputState, + } +} + // AzureAD specific Configuration. func (o IdentityServiceAuthMethodOutput) AzureadConfig() IdentityServiceAzureADConfigPtrOutput { return o.ApplyT(func(v IdentityServiceAuthMethod) *IdentityServiceAzureADConfig { return v.AzureadConfig }).(IdentityServiceAzureADConfigPtrOutput) @@ -2538,6 +2971,12 @@ func (o IdentityServiceAuthMethodArrayOutput) ToIdentityServiceAuthMethodArrayOu return o } +func (o IdentityServiceAuthMethodArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IdentityServiceAuthMethod] { + return pulumix.Output[[]IdentityServiceAuthMethod]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceAuthMethodArrayOutput) Index(i pulumi.IntInput) IdentityServiceAuthMethodOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdentityServiceAuthMethod { return vs[0].([]IdentityServiceAuthMethod)[vs[1].(int)] @@ -2573,6 +3012,12 @@ func (o IdentityServiceAuthMethodResponseOutput) ToIdentityServiceAuthMethodResp return o } +func (o IdentityServiceAuthMethodResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAuthMethodResponse] { + return pulumix.Output[IdentityServiceAuthMethodResponse]{ + OutputState: o.OutputState, + } +} + // AzureAD specific Configuration. func (o IdentityServiceAuthMethodResponseOutput) AzureadConfig() IdentityServiceAzureADConfigResponseOutput { return o.ApplyT(func(v IdentityServiceAuthMethodResponse) IdentityServiceAzureADConfigResponse { return v.AzureadConfig }).(IdentityServiceAzureADConfigResponseOutput) @@ -2612,6 +3057,12 @@ func (o IdentityServiceAuthMethodResponseArrayOutput) ToIdentityServiceAuthMetho return o } +func (o IdentityServiceAuthMethodResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IdentityServiceAuthMethodResponse] { + return pulumix.Output[[]IdentityServiceAuthMethodResponse]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceAuthMethodResponseArrayOutput) Index(i pulumi.IntInput) IdentityServiceAuthMethodResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdentityServiceAuthMethodResponse { return vs[0].([]IdentityServiceAuthMethodResponse)[vs[1].(int)] @@ -2665,6 +3116,12 @@ func (i IdentityServiceAzureADConfigArgs) ToIdentityServiceAzureADConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceAzureADConfigOutput) } +func (i IdentityServiceAzureADConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAzureADConfig] { + return pulumix.Output[IdentityServiceAzureADConfig]{ + OutputState: i.ToIdentityServiceAzureADConfigOutputWithContext(ctx).OutputState, + } +} + func (i IdentityServiceAzureADConfigArgs) ToIdentityServiceAzureADConfigPtrOutput() IdentityServiceAzureADConfigPtrOutput { return i.ToIdentityServiceAzureADConfigPtrOutputWithContext(context.Background()) } @@ -2706,6 +3163,12 @@ func (i *identityServiceAzureADConfigPtrType) ToIdentityServiceAzureADConfigPtrO return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceAzureADConfigPtrOutput) } +func (i *identityServiceAzureADConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceAzureADConfig] { + return pulumix.Output[*IdentityServiceAzureADConfig]{ + OutputState: i.ToIdentityServiceAzureADConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the AzureAD Auth flow. type IdentityServiceAzureADConfigOutput struct{ *pulumi.OutputState } @@ -2731,6 +3194,12 @@ func (o IdentityServiceAzureADConfigOutput) ToIdentityServiceAzureADConfigPtrOut }).(IdentityServiceAzureADConfigPtrOutput) } +func (o IdentityServiceAzureADConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAzureADConfig] { + return pulumix.Output[IdentityServiceAzureADConfig]{ + OutputState: o.OutputState, + } +} + // ID for the registered client application that makes authentication requests to the Azure AD identity provider. func (o IdentityServiceAzureADConfigOutput) ClientId() pulumi.StringPtrOutput { return o.ApplyT(func(v IdentityServiceAzureADConfig) *string { return v.ClientId }).(pulumi.StringPtrOutput) @@ -2765,6 +3234,12 @@ func (o IdentityServiceAzureADConfigPtrOutput) ToIdentityServiceAzureADConfigPtr return o } +func (o IdentityServiceAzureADConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceAzureADConfig] { + return pulumix.Output[*IdentityServiceAzureADConfig]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceAzureADConfigPtrOutput) Elem() IdentityServiceAzureADConfigOutput { return o.ApplyT(func(v *IdentityServiceAzureADConfig) IdentityServiceAzureADConfig { if v != nil { @@ -2844,6 +3319,12 @@ func (o IdentityServiceAzureADConfigResponseOutput) ToIdentityServiceAzureADConf return o } +func (o IdentityServiceAzureADConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceAzureADConfigResponse] { + return pulumix.Output[IdentityServiceAzureADConfigResponse]{ + OutputState: o.OutputState, + } +} + // ID for the registered client application that makes authentication requests to the Azure AD identity provider. func (o IdentityServiceAzureADConfigResponseOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v IdentityServiceAzureADConfigResponse) string { return v.ClientId }).(pulumi.StringOutput) @@ -2904,6 +3385,12 @@ func (i IdentityServiceGoogleConfigArgs) ToIdentityServiceGoogleConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceGoogleConfigOutput) } +func (i IdentityServiceGoogleConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceGoogleConfig] { + return pulumix.Output[IdentityServiceGoogleConfig]{ + OutputState: i.ToIdentityServiceGoogleConfigOutputWithContext(ctx).OutputState, + } +} + func (i IdentityServiceGoogleConfigArgs) ToIdentityServiceGoogleConfigPtrOutput() IdentityServiceGoogleConfigPtrOutput { return i.ToIdentityServiceGoogleConfigPtrOutputWithContext(context.Background()) } @@ -2945,6 +3432,12 @@ func (i *identityServiceGoogleConfigPtrType) ToIdentityServiceGoogleConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceGoogleConfigPtrOutput) } +func (i *identityServiceGoogleConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceGoogleConfig] { + return pulumix.Output[*IdentityServiceGoogleConfig]{ + OutputState: i.ToIdentityServiceGoogleConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the Google Plugin Auth flow. type IdentityServiceGoogleConfigOutput struct{ *pulumi.OutputState } @@ -2970,6 +3463,12 @@ func (o IdentityServiceGoogleConfigOutput) ToIdentityServiceGoogleConfigPtrOutpu }).(IdentityServiceGoogleConfigPtrOutput) } +func (o IdentityServiceGoogleConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceGoogleConfig] { + return pulumix.Output[IdentityServiceGoogleConfig]{ + OutputState: o.OutputState, + } +} + // Disable automatic configuration of Google Plugin on supported platforms. func (o IdentityServiceGoogleConfigOutput) Disable() pulumi.BoolPtrOutput { return o.ApplyT(func(v IdentityServiceGoogleConfig) *bool { return v.Disable }).(pulumi.BoolPtrOutput) @@ -2989,6 +3488,12 @@ func (o IdentityServiceGoogleConfigPtrOutput) ToIdentityServiceGoogleConfigPtrOu return o } +func (o IdentityServiceGoogleConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceGoogleConfig] { + return pulumix.Output[*IdentityServiceGoogleConfig]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceGoogleConfigPtrOutput) Elem() IdentityServiceGoogleConfigOutput { return o.ApplyT(func(v *IdentityServiceGoogleConfig) IdentityServiceGoogleConfig { if v != nil { @@ -3030,6 +3535,12 @@ func (o IdentityServiceGoogleConfigResponseOutput) ToIdentityServiceGoogleConfig return o } +func (o IdentityServiceGoogleConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceGoogleConfigResponse] { + return pulumix.Output[IdentityServiceGoogleConfigResponse]{ + OutputState: o.OutputState, + } +} + // Disable automatic configuration of Google Plugin on supported platforms. func (o IdentityServiceGoogleConfigResponseOutput) Disable() pulumi.BoolOutput { return o.ApplyT(func(v IdentityServiceGoogleConfigResponse) bool { return v.Disable }).(pulumi.BoolOutput) @@ -3070,6 +3581,12 @@ func (i IdentityServiceMembershipSpecArgs) ToIdentityServiceMembershipSpecOutput return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceMembershipSpecOutput) } +func (i IdentityServiceMembershipSpecArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceMembershipSpec] { + return pulumix.Output[IdentityServiceMembershipSpec]{ + OutputState: i.ToIdentityServiceMembershipSpecOutputWithContext(ctx).OutputState, + } +} + func (i IdentityServiceMembershipSpecArgs) ToIdentityServiceMembershipSpecPtrOutput() IdentityServiceMembershipSpecPtrOutput { return i.ToIdentityServiceMembershipSpecPtrOutputWithContext(context.Background()) } @@ -3111,6 +3628,12 @@ func (i *identityServiceMembershipSpecPtrType) ToIdentityServiceMembershipSpecPt return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceMembershipSpecPtrOutput) } +func (i *identityServiceMembershipSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceMembershipSpec] { + return pulumix.Output[*IdentityServiceMembershipSpec]{ + OutputState: i.ToIdentityServiceMembershipSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Anthos Identity Service**: Configuration for a single Membership. type IdentityServiceMembershipSpecOutput struct{ *pulumi.OutputState } @@ -3136,6 +3659,12 @@ func (o IdentityServiceMembershipSpecOutput) ToIdentityServiceMembershipSpecPtrO }).(IdentityServiceMembershipSpecPtrOutput) } +func (o IdentityServiceMembershipSpecOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceMembershipSpec] { + return pulumix.Output[IdentityServiceMembershipSpec]{ + OutputState: o.OutputState, + } +} + // A member may support multiple auth methods. func (o IdentityServiceMembershipSpecOutput) AuthMethods() IdentityServiceAuthMethodArrayOutput { return o.ApplyT(func(v IdentityServiceMembershipSpec) []IdentityServiceAuthMethod { return v.AuthMethods }).(IdentityServiceAuthMethodArrayOutput) @@ -3155,6 +3684,12 @@ func (o IdentityServiceMembershipSpecPtrOutput) ToIdentityServiceMembershipSpecP return o } +func (o IdentityServiceMembershipSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceMembershipSpec] { + return pulumix.Output[*IdentityServiceMembershipSpec]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceMembershipSpecPtrOutput) Elem() IdentityServiceMembershipSpecOutput { return o.ApplyT(func(v *IdentityServiceMembershipSpec) IdentityServiceMembershipSpec { if v != nil { @@ -3196,6 +3731,12 @@ func (o IdentityServiceMembershipSpecResponseOutput) ToIdentityServiceMembership return o } +func (o IdentityServiceMembershipSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceMembershipSpecResponse] { + return pulumix.Output[IdentityServiceMembershipSpecResponse]{ + OutputState: o.OutputState, + } +} + // A member may support multiple auth methods. func (o IdentityServiceMembershipSpecResponseOutput) AuthMethods() IdentityServiceAuthMethodResponseArrayOutput { return o.ApplyT(func(v IdentityServiceMembershipSpecResponse) []IdentityServiceAuthMethodResponse { @@ -3286,6 +3827,12 @@ func (i IdentityServiceOidcConfigArgs) ToIdentityServiceOidcConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceOidcConfigOutput) } +func (i IdentityServiceOidcConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceOidcConfig] { + return pulumix.Output[IdentityServiceOidcConfig]{ + OutputState: i.ToIdentityServiceOidcConfigOutputWithContext(ctx).OutputState, + } +} + func (i IdentityServiceOidcConfigArgs) ToIdentityServiceOidcConfigPtrOutput() IdentityServiceOidcConfigPtrOutput { return i.ToIdentityServiceOidcConfigPtrOutputWithContext(context.Background()) } @@ -3327,6 +3874,12 @@ func (i *identityServiceOidcConfigPtrType) ToIdentityServiceOidcConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(IdentityServiceOidcConfigPtrOutput) } +func (i *identityServiceOidcConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceOidcConfig] { + return pulumix.Output[*IdentityServiceOidcConfig]{ + OutputState: i.ToIdentityServiceOidcConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for OIDC Auth flow. type IdentityServiceOidcConfigOutput struct{ *pulumi.OutputState } @@ -3352,6 +3905,12 @@ func (o IdentityServiceOidcConfigOutput) ToIdentityServiceOidcConfigPtrOutputWit }).(IdentityServiceOidcConfigPtrOutput) } +func (o IdentityServiceOidcConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceOidcConfig] { + return pulumix.Output[IdentityServiceOidcConfig]{ + OutputState: o.OutputState, + } +} + // PEM-encoded CA for OIDC provider. func (o IdentityServiceOidcConfigOutput) CertificateAuthorityData() pulumi.StringPtrOutput { return o.ApplyT(func(v IdentityServiceOidcConfig) *string { return v.CertificateAuthorityData }).(pulumi.StringPtrOutput) @@ -3431,6 +3990,12 @@ func (o IdentityServiceOidcConfigPtrOutput) ToIdentityServiceOidcConfigPtrOutput return o } +func (o IdentityServiceOidcConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityServiceOidcConfig] { + return pulumix.Output[*IdentityServiceOidcConfig]{ + OutputState: o.OutputState, + } +} + func (o IdentityServiceOidcConfigPtrOutput) Elem() IdentityServiceOidcConfigOutput { return o.ApplyT(func(v *IdentityServiceOidcConfig) IdentityServiceOidcConfig { if v != nil { @@ -3618,6 +4183,12 @@ func (o IdentityServiceOidcConfigResponseOutput) ToIdentityServiceOidcConfigResp return o } +func (o IdentityServiceOidcConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IdentityServiceOidcConfigResponse] { + return pulumix.Output[IdentityServiceOidcConfigResponse]{ + OutputState: o.OutputState, + } +} + // PEM-encoded CA for OIDC provider. func (o IdentityServiceOidcConfigResponseOutput) CertificateAuthorityData() pulumi.StringOutput { return o.ApplyT(func(v IdentityServiceOidcConfigResponse) string { return v.CertificateAuthorityData }).(pulumi.StringOutput) @@ -3709,6 +4280,12 @@ func (o MembershipBindingLifecycleStateResponseOutput) ToMembershipBindingLifecy return o } +func (o MembershipBindingLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipBindingLifecycleStateResponse] { + return pulumix.Output[MembershipBindingLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the MembershipBinding resource. func (o MembershipBindingLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v MembershipBindingLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -3757,6 +4334,12 @@ func (i MultiClusterIngressFeatureSpecArgs) ToMultiClusterIngressFeatureSpecOutp return pulumi.ToOutputWithContext(ctx, i).(MultiClusterIngressFeatureSpecOutput) } +func (i MultiClusterIngressFeatureSpecArgs) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpec] { + return pulumix.Output[MultiClusterIngressFeatureSpec]{ + OutputState: i.ToMultiClusterIngressFeatureSpecOutputWithContext(ctx).OutputState, + } +} + func (i MultiClusterIngressFeatureSpecArgs) ToMultiClusterIngressFeatureSpecPtrOutput() MultiClusterIngressFeatureSpecPtrOutput { return i.ToMultiClusterIngressFeatureSpecPtrOutputWithContext(context.Background()) } @@ -3798,6 +4381,12 @@ func (i *multiClusterIngressFeatureSpecPtrType) ToMultiClusterIngressFeatureSpec return pulumi.ToOutputWithContext(ctx, i).(MultiClusterIngressFeatureSpecPtrOutput) } +func (i *multiClusterIngressFeatureSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterIngressFeatureSpec] { + return pulumix.Output[*MultiClusterIngressFeatureSpec]{ + OutputState: i.ToMultiClusterIngressFeatureSpecPtrOutputWithContext(ctx).OutputState, + } +} + // **Multi-cluster Ingress**: The configuration for the MultiClusterIngress feature. type MultiClusterIngressFeatureSpecOutput struct{ *pulumi.OutputState } @@ -3823,6 +4412,12 @@ func (o MultiClusterIngressFeatureSpecOutput) ToMultiClusterIngressFeatureSpecPt }).(MultiClusterIngressFeatureSpecPtrOutput) } +func (o MultiClusterIngressFeatureSpecOutput) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpec] { + return pulumix.Output[MultiClusterIngressFeatureSpec]{ + OutputState: o.OutputState, + } +} + // Deprecated: This field will be ignored and should not be set. Customer's billing structure. // // Deprecated: Deprecated: This field will be ignored and should not be set. Customer's billing structure. @@ -3849,6 +4444,12 @@ func (o MultiClusterIngressFeatureSpecPtrOutput) ToMultiClusterIngressFeatureSpe return o } +func (o MultiClusterIngressFeatureSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiClusterIngressFeatureSpec] { + return pulumix.Output[*MultiClusterIngressFeatureSpec]{ + OutputState: o.OutputState, + } +} + func (o MultiClusterIngressFeatureSpecPtrOutput) Elem() MultiClusterIngressFeatureSpecOutput { return o.ApplyT(func(v *MultiClusterIngressFeatureSpec) MultiClusterIngressFeatureSpec { if v != nil { @@ -3906,6 +4507,12 @@ func (o MultiClusterIngressFeatureSpecResponseOutput) ToMultiClusterIngressFeatu return o } +func (o MultiClusterIngressFeatureSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MultiClusterIngressFeatureSpecResponse] { + return pulumix.Output[MultiClusterIngressFeatureSpecResponse]{ + OutputState: o.OutputState, + } +} + // Deprecated: This field will be ignored and should not be set. Customer's billing structure. // // Deprecated: Deprecated: This field will be ignored and should not be set. Customer's billing structure. @@ -3939,6 +4546,12 @@ func (o NamespaceLifecycleStateResponseOutput) ToNamespaceLifecycleStateResponse return o } +func (o NamespaceLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NamespaceLifecycleStateResponse] { + return pulumix.Output[NamespaceLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Namespace resource. func (o NamespaceLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v NamespaceLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -3965,6 +4578,12 @@ func (o RBACRoleBindingLifecycleStateResponseOutput) ToRBACRoleBindingLifecycleS return o } +func (o RBACRoleBindingLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RBACRoleBindingLifecycleStateResponse] { + return pulumix.Output[RBACRoleBindingLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the rbacrolebinding resource. func (o RBACRoleBindingLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v RBACRoleBindingLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -4005,6 +4624,12 @@ func (i RoleArgs) ToRoleOutputWithContext(ctx context.Context) RoleOutput { return pulumi.ToOutputWithContext(ctx, i).(RoleOutput) } +func (i RoleArgs) ToOutput(ctx context.Context) pulumix.Output[Role] { + return pulumix.Output[Role]{ + OutputState: i.ToRoleOutputWithContext(ctx).OutputState, + } +} + // Role is the type for Kubernetes roles type RoleOutput struct{ *pulumi.OutputState } @@ -4020,6 +4645,12 @@ func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput { return o } +func (o RoleOutput) ToOutput(ctx context.Context) pulumix.Output[Role] { + return pulumix.Output[Role]{ + OutputState: o.OutputState, + } +} + // predefined_role is the Kubernetes default role to use func (o RoleOutput) PredefinedRole() RolePredefinedRolePtrOutput { return o.ApplyT(func(v Role) *RolePredefinedRole { return v.PredefinedRole }).(RolePredefinedRolePtrOutput) @@ -4046,6 +4677,12 @@ func (o RoleResponseOutput) ToRoleResponseOutputWithContext(ctx context.Context) return o } +func (o RoleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RoleResponse] { + return pulumix.Output[RoleResponse]{ + OutputState: o.OutputState, + } +} + // predefined_role is the Kubernetes default role to use func (o RoleResponseOutput) PredefinedRole() pulumi.StringOutput { return o.ApplyT(func(v RoleResponse) string { return v.PredefinedRole }).(pulumi.StringOutput) @@ -4072,6 +4709,12 @@ func (o ScopeLifecycleStateResponseOutput) ToScopeLifecycleStateResponseOutputWi return o } +func (o ScopeLifecycleStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScopeLifecycleStateResponse] { + return pulumix.Output[ScopeLifecycleStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the scope resource. func (o ScopeLifecycleStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v ScopeLifecycleStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -4100,6 +4743,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // Code specifies AppDevExperienceFeature's subcomponent ready state. func (o StatusResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v StatusResponse) string { return v.Code }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/rbacrolebinding.go b/sdk/go/google/gkehub/v1beta/rbacrolebinding.go index 18a02f42df..e827df6c61 100644 --- a/sdk/go/google/gkehub/v1beta/rbacrolebinding.go +++ b/sdk/go/google/gkehub/v1beta/rbacrolebinding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a RBACRoleBinding. @@ -153,6 +154,12 @@ func (i *Rbacrolebinding) ToRbacrolebindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RbacrolebindingOutput) } +func (i *Rbacrolebinding) ToOutput(ctx context.Context) pulumix.Output[*Rbacrolebinding] { + return pulumix.Output[*Rbacrolebinding]{ + OutputState: i.ToRbacrolebindingOutputWithContext(ctx).OutputState, + } +} + type RbacrolebindingOutput struct{ *pulumi.OutputState } func (RbacrolebindingOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o RbacrolebindingOutput) ToRbacrolebindingOutputWithContext(ctx context.Co return o } +func (o RbacrolebindingOutput) ToOutput(ctx context.Context) pulumix.Output[*Rbacrolebinding] { + return pulumix.Output[*Rbacrolebinding]{ + OutputState: o.OutputState, + } +} + // When the rbacrolebinding was created. func (o RbacrolebindingOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Rbacrolebinding) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkehub/v1beta/scope.go b/sdk/go/google/gkehub/v1beta/scope.go index 263df7fbb6..f377da1104 100644 --- a/sdk/go/google/gkehub/v1beta/scope.go +++ b/sdk/go/google/gkehub/v1beta/scope.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Scope. @@ -131,6 +132,12 @@ func (i *Scope) ToScopeOutputWithContext(ctx context.Context) ScopeOutput { return pulumi.ToOutputWithContext(ctx, i).(ScopeOutput) } +func (i *Scope) ToOutput(ctx context.Context) pulumix.Output[*Scope] { + return pulumix.Output[*Scope]{ + OutputState: i.ToScopeOutputWithContext(ctx).OutputState, + } +} + type ScopeOutput struct{ *pulumi.OutputState } func (ScopeOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ScopeOutput) ToScopeOutputWithContext(ctx context.Context) ScopeOutput { return o } +func (o ScopeOutput) ToOutput(ctx context.Context) pulumix.Output[*Scope] { + return pulumix.Output[*Scope]{ + OutputState: o.OutputState, + } +} + // If true, all Memberships in the Fleet bind to this Scope. func (o ScopeOutput) AllMemberships() pulumi.BoolOutput { return o.ApplyT(func(v *Scope) pulumi.BoolOutput { return v.AllMemberships }).(pulumi.BoolOutput) diff --git a/sdk/go/google/gkehub/v1beta1/getMembership.go b/sdk/go/google/gkehub/v1beta1/getMembership.go index 2fd83b325b..2de915e95a 100644 --- a/sdk/go/google/gkehub/v1beta1/getMembership.go +++ b/sdk/go/google/gkehub/v1beta1/getMembership.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a Membership. @@ -96,6 +97,12 @@ func (o LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext( return o } +func (o LookupMembershipResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipResult] { + return pulumix.Output[LookupMembershipResult]{ + OutputState: o.OutputState, + } +} + // Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity func (o LookupMembershipResultOutput) Authority() AuthorityResponseOutput { return o.ApplyT(func(v LookupMembershipResult) AuthorityResponse { return v.Authority }).(AuthorityResponseOutput) diff --git a/sdk/go/google/gkehub/v1beta1/getMembershipIamPolicy.go b/sdk/go/google/gkehub/v1beta1/getMembershipIamPolicy.go index 54b6fa07e3..efa0070e75 100644 --- a/sdk/go/google/gkehub/v1beta1/getMembershipIamPolicy.go +++ b/sdk/go/google/gkehub/v1beta1/getMembershipIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupMembershipIamPolicyResultOutput) ToLookupMembershipIamPolicyResult return o } +func (o LookupMembershipIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMembershipIamPolicyResult] { + return pulumix.Output[LookupMembershipIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMembershipIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMembershipIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1beta1/membership.go b/sdk/go/google/gkehub/v1beta1/membership.go index 899e7f1449..78b30e04e3 100644 --- a/sdk/go/google/gkehub/v1beta1/membership.go +++ b/sdk/go/google/gkehub/v1beta1/membership.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Membership. **This is currently only supported for GKE clusters on Google Cloud**. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster. @@ -171,6 +172,12 @@ func (i *Membership) ToMembershipOutputWithContext(ctx context.Context) Membersh return pulumi.ToOutputWithContext(ctx, i).(MembershipOutput) } +func (i *Membership) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: i.ToMembershipOutputWithContext(ctx).OutputState, + } +} + type MembershipOutput struct{ *pulumi.OutputState } func (MembershipOutput) ElementType() reflect.Type { @@ -185,6 +192,12 @@ func (o MembershipOutput) ToMembershipOutputWithContext(ctx context.Context) Mem return o } +func (o MembershipOutput) ToOutput(ctx context.Context) pulumix.Output[*Membership] { + return pulumix.Output[*Membership]{ + OutputState: o.OutputState, + } +} + // Optional. How to identify workloads from this Membership. See the documentation on Workload Identity for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity func (o MembershipOutput) Authority() AuthorityResponseOutput { return o.ApplyT(func(v *Membership) AuthorityResponseOutput { return v.Authority }).(AuthorityResponseOutput) diff --git a/sdk/go/google/gkehub/v1beta1/membershipIamBinding.go b/sdk/go/google/gkehub/v1beta1/membershipIamBinding.go index 8fab778645..6f955f95da 100644 --- a/sdk/go/google/gkehub/v1beta1/membershipIamBinding.go +++ b/sdk/go/google/gkehub/v1beta1/membershipIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamBinding) ToMembershipIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(MembershipIamBindingOutput) } +func (i *MembershipIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamBinding] { + return pulumix.Output[*MembershipIamBinding]{ + OutputState: i.ToMembershipIamBindingOutputWithContext(ctx).OutputState, + } +} + type MembershipIamBindingOutput struct{ *pulumi.OutputState } func (MembershipIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamBindingOutput) ToMembershipIamBindingOutputWithContext(ctx return o } +func (o MembershipIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamBinding] { + return pulumix.Output[*MembershipIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MembershipIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MembershipIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1beta1/membershipIamMember.go b/sdk/go/google/gkehub/v1beta1/membershipIamMember.go index 892b0c12b8..614a126a0c 100644 --- a/sdk/go/google/gkehub/v1beta1/membershipIamMember.go +++ b/sdk/go/google/gkehub/v1beta1/membershipIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamMember) ToMembershipIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipIamMemberOutput) } +func (i *MembershipIamMember) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamMember] { + return pulumix.Output[*MembershipIamMember]{ + OutputState: i.ToMembershipIamMemberOutputWithContext(ctx).OutputState, + } +} + type MembershipIamMemberOutput struct{ *pulumi.OutputState } func (MembershipIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamMemberOutput) ToMembershipIamMemberOutputWithContext(ctx co return o } +func (o MembershipIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamMember] { + return pulumix.Output[*MembershipIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MembershipIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MembershipIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkehub/v1beta1/membershipIamPolicy.go b/sdk/go/google/gkehub/v1beta1/membershipIamPolicy.go index fae04f1332..596f1e15f1 100644 --- a/sdk/go/google/gkehub/v1beta1/membershipIamPolicy.go +++ b/sdk/go/google/gkehub/v1beta1/membershipIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MembershipIamPolicy) ToMembershipIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MembershipIamPolicyOutput) } +func (i *MembershipIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamPolicy] { + return pulumix.Output[*MembershipIamPolicy]{ + OutputState: i.ToMembershipIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MembershipIamPolicyOutput struct{ *pulumi.OutputState } func (MembershipIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MembershipIamPolicyOutput) ToMembershipIamPolicyOutputWithContext(ctx co return o } +func (o MembershipIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipIamPolicy] { + return pulumix.Output[*MembershipIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MembershipIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MembershipIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/gkehub/v1beta1/pulumiEnums.go b/sdk/go/google/gkehub/v1beta1/pulumiEnums.go index b34267b3fa..5f0430f285 100644 --- a/sdk/go/google/gkehub/v1beta1/pulumiEnums.go +++ b/sdk/go/google/gkehub/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The infrastructure type this Membership is running on. type MembershipInfrastructureType string @@ -253,6 +272,12 @@ func (o MembershipInfrastructureTypeOutput) ToMembershipInfrastructureTypePtrOut }).(MembershipInfrastructureTypePtrOutput) } +func (o MembershipInfrastructureTypeOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipInfrastructureType] { + return pulumix.Output[MembershipInfrastructureType]{ + OutputState: o.OutputState, + } +} + func (o MembershipInfrastructureTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o MembershipInfrastructureTypePtrOutput) ToMembershipInfrastructureTypePtr return o } +func (o MembershipInfrastructureTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipInfrastructureType] { + return pulumix.Output[*MembershipInfrastructureType]{ + OutputState: o.OutputState, + } +} + func (o MembershipInfrastructureTypePtrOutput) Elem() MembershipInfrastructureTypeOutput { return o.ApplyT(func(v *MembershipInfrastructureType) MembershipInfrastructureType { if v != nil { @@ -350,6 +381,12 @@ func (in *membershipInfrastructureTypePtr) ToMembershipInfrastructureTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(MembershipInfrastructureTypePtrOutput) } +func (in *membershipInfrastructureTypePtr) ToOutput(ctx context.Context) pulumix.Output[*MembershipInfrastructureType] { + return pulumix.Output[*MembershipInfrastructureType]{ + OutputState: in.ToMembershipInfrastructureTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The on prem cluster's type. type OnPremClusterClusterType string @@ -426,6 +463,12 @@ func (o OnPremClusterClusterTypeOutput) ToOnPremClusterClusterTypePtrOutputWithC }).(OnPremClusterClusterTypePtrOutput) } +func (o OnPremClusterClusterTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremClusterClusterType] { + return pulumix.Output[OnPremClusterClusterType]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterClusterTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o OnPremClusterClusterTypePtrOutput) ToOnPremClusterClusterTypePtrOutputWi return o } +func (o OnPremClusterClusterTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OnPremClusterClusterType] { + return pulumix.Output[*OnPremClusterClusterType]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterClusterTypePtrOutput) Elem() OnPremClusterClusterTypeOutput { return o.ApplyT(func(v *OnPremClusterClusterType) OnPremClusterClusterType { if v != nil { @@ -523,6 +572,12 @@ func (in *onPremClusterClusterTypePtr) ToOnPremClusterClusterTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(OnPremClusterClusterTypePtrOutput) } +func (in *onPremClusterClusterTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OnPremClusterClusterType] { + return pulumix.Output[*OnPremClusterClusterType]{ + OutputState: in.ToOnPremClusterClusterTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/gkehub/v1beta1/pulumiTypes.go b/sdk/go/google/gkehub/v1beta1/pulumiTypes.go index d2cf9311d7..e296ea7912 100644 --- a/sdk/go/google/gkehub/v1beta1/pulumiTypes.go +++ b/sdk/go/google/gkehub/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i ApplianceClusterArgs) ToApplianceClusterOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ApplianceClusterOutput) } +func (i ApplianceClusterArgs) ToOutput(ctx context.Context) pulumix.Output[ApplianceCluster] { + return pulumix.Output[ApplianceCluster]{ + OutputState: i.ToApplianceClusterOutputWithContext(ctx).OutputState, + } +} + func (i ApplianceClusterArgs) ToApplianceClusterPtrOutput() ApplianceClusterPtrOutput { return i.ToApplianceClusterPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *applianceClusterPtrType) ToApplianceClusterPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ApplianceClusterPtrOutput) } +func (i *applianceClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApplianceCluster] { + return pulumix.Output[*ApplianceCluster]{ + OutputState: i.ToApplianceClusterPtrOutputWithContext(ctx).OutputState, + } +} + // ApplianceCluster contains information specific to GDC Edge Appliance Clusters. type ApplianceClusterOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o ApplianceClusterOutput) ToApplianceClusterPtrOutputWithContext(ctx conte }).(ApplianceClusterPtrOutput) } +func (o ApplianceClusterOutput) ToOutput(ctx context.Context) pulumix.Output[ApplianceCluster] { + return pulumix.Output[ApplianceCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the GCP resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance func (o ApplianceClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v ApplianceCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -133,6 +152,12 @@ func (o ApplianceClusterPtrOutput) ToApplianceClusterPtrOutputWithContext(ctx co return o } +func (o ApplianceClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplianceCluster] { + return pulumix.Output[*ApplianceCluster]{ + OutputState: o.OutputState, + } +} + func (o ApplianceClusterPtrOutput) Elem() ApplianceClusterOutput { return o.ApplyT(func(v *ApplianceCluster) ApplianceCluster { if v != nil { @@ -174,6 +199,12 @@ func (o ApplianceClusterResponseOutput) ToApplianceClusterResponseOutputWithCont return o } +func (o ApplianceClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApplianceClusterResponse] { + return pulumix.Output[ApplianceClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the GCP resource for the Appliance Cluster. For example: //transferappliance.googleapis.com/projects/my-project/locations/us-west1-a/appliances/my-appliance func (o ApplianceClusterResponseOutput) ResourceLink() pulumi.StringOutput { return o.ApplyT(func(v ApplianceClusterResponse) string { return v.ResourceLink }).(pulumi.StringOutput) @@ -218,6 +249,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -243,6 +280,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -258,6 +301,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -282,6 +331,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -311,6 +366,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -335,6 +396,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -380,6 +447,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -405,6 +478,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -420,6 +499,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -444,6 +529,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -473,6 +564,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -497,6 +594,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -542,6 +645,12 @@ func (i AuthorityArgs) ToAuthorityOutputWithContext(ctx context.Context) Authori return pulumi.ToOutputWithContext(ctx, i).(AuthorityOutput) } +func (i AuthorityArgs) ToOutput(ctx context.Context) pulumix.Output[Authority] { + return pulumix.Output[Authority]{ + OutputState: i.ToAuthorityOutputWithContext(ctx).OutputState, + } +} + func (i AuthorityArgs) ToAuthorityPtrOutput() AuthorityPtrOutput { return i.ToAuthorityPtrOutputWithContext(context.Background()) } @@ -583,6 +692,12 @@ func (i *authorityPtrType) ToAuthorityPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AuthorityPtrOutput) } +func (i *authorityPtrType) ToOutput(ctx context.Context) pulumix.Output[*Authority] { + return pulumix.Output[*Authority]{ + OutputState: i.ToAuthorityPtrOutputWithContext(ctx).OutputState, + } +} + // Authority encodes how Google will recognize identities from this Membership. See the workload identity documentation for more details: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity type AuthorityOutput struct{ *pulumi.OutputState } @@ -608,6 +723,12 @@ func (o AuthorityOutput) ToAuthorityPtrOutputWithContext(ctx context.Context) Au }).(AuthorityPtrOutput) } +func (o AuthorityOutput) ToOutput(ctx context.Context) pulumix.Output[Authority] { + return pulumix.Output[Authority]{ + OutputState: o.OutputState, + } +} + // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and be a valid URL with length <2000 characters. If set, then Google will allow valid OIDC tokens from this issuer to authenticate within the workload_identity_pool. OIDC discovery will be performed on this URI to validate tokens from the issuer. Clearing `issuer` disables Workload Identity. `issuer` cannot be directly modified; it must be cleared (and Workload Identity disabled) before using a new issuer (and re-enabling Workload Identity). func (o AuthorityOutput) Issuer() pulumi.StringPtrOutput { return o.ApplyT(func(v Authority) *string { return v.Issuer }).(pulumi.StringPtrOutput) @@ -632,6 +753,12 @@ func (o AuthorityPtrOutput) ToAuthorityPtrOutputWithContext(ctx context.Context) return o } +func (o AuthorityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Authority] { + return pulumix.Output[*Authority]{ + OutputState: o.OutputState, + } +} + func (o AuthorityPtrOutput) Elem() AuthorityOutput { return o.ApplyT(func(v *Authority) Authority { if v != nil { @@ -689,6 +816,12 @@ func (o AuthorityResponseOutput) ToAuthorityResponseOutputWithContext(ctx contex return o } +func (o AuthorityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorityResponse] { + return pulumix.Output[AuthorityResponse]{ + OutputState: o.OutputState, + } +} + // An identity provider that reflects the `issuer` in the workload identity pool. func (o AuthorityResponseOutput) IdentityProvider() pulumi.StringOutput { return o.ApplyT(func(v AuthorityResponse) string { return v.IdentityProvider }).(pulumi.StringOutput) @@ -752,6 +885,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -777,6 +916,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -792,6 +937,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -821,6 +972,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -852,6 +1009,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -881,6 +1044,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -922,6 +1091,12 @@ func (i EdgeClusterArgs) ToEdgeClusterOutputWithContext(ctx context.Context) Edg return pulumi.ToOutputWithContext(ctx, i).(EdgeClusterOutput) } +func (i EdgeClusterArgs) ToOutput(ctx context.Context) pulumix.Output[EdgeCluster] { + return pulumix.Output[EdgeCluster]{ + OutputState: i.ToEdgeClusterOutputWithContext(ctx).OutputState, + } +} + func (i EdgeClusterArgs) ToEdgeClusterPtrOutput() EdgeClusterPtrOutput { return i.ToEdgeClusterPtrOutputWithContext(context.Background()) } @@ -963,6 +1138,12 @@ func (i *edgeClusterPtrType) ToEdgeClusterPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(EdgeClusterPtrOutput) } +func (i *edgeClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*EdgeCluster] { + return pulumix.Output[*EdgeCluster]{ + OutputState: i.ToEdgeClusterPtrOutputWithContext(ctx).OutputState, + } +} + // EdgeCluster contains information specific to Google Edge Clusters. type EdgeClusterOutput struct{ *pulumi.OutputState } @@ -988,6 +1169,12 @@ func (o EdgeClusterOutput) ToEdgeClusterPtrOutputWithContext(ctx context.Context }).(EdgeClusterPtrOutput) } +func (o EdgeClusterOutput) ToOutput(ctx context.Context) pulumix.Output[EdgeCluster] { + return pulumix.Output[EdgeCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the GCP resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster func (o EdgeClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v EdgeCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -1007,6 +1194,12 @@ func (o EdgeClusterPtrOutput) ToEdgeClusterPtrOutputWithContext(ctx context.Cont return o } +func (o EdgeClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCluster] { + return pulumix.Output[*EdgeCluster]{ + OutputState: o.OutputState, + } +} + func (o EdgeClusterPtrOutput) Elem() EdgeClusterOutput { return o.ApplyT(func(v *EdgeCluster) EdgeCluster { if v != nil { @@ -1048,6 +1241,12 @@ func (o EdgeClusterResponseOutput) ToEdgeClusterResponseOutputWithContext(ctx co return o } +func (o EdgeClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EdgeClusterResponse] { + return pulumix.Output[EdgeClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the GCP resource for the Edge Cluster. For example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster func (o EdgeClusterResponseOutput) ResourceLink() pulumi.StringOutput { return o.ApplyT(func(v EdgeClusterResponse) string { return v.ResourceLink }).(pulumi.StringOutput) @@ -1100,6 +1299,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1141,6 +1346,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1166,6 +1377,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1200,6 +1417,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1277,6 +1500,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1332,6 +1561,12 @@ func (i GkeClusterArgs) ToGkeClusterOutputWithContext(ctx context.Context) GkeCl return pulumi.ToOutputWithContext(ctx, i).(GkeClusterOutput) } +func (i GkeClusterArgs) ToOutput(ctx context.Context) pulumix.Output[GkeCluster] { + return pulumix.Output[GkeCluster]{ + OutputState: i.ToGkeClusterOutputWithContext(ctx).OutputState, + } +} + func (i GkeClusterArgs) ToGkeClusterPtrOutput() GkeClusterPtrOutput { return i.ToGkeClusterPtrOutputWithContext(context.Background()) } @@ -1373,6 +1608,12 @@ func (i *gkeClusterPtrType) ToGkeClusterPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GkeClusterPtrOutput) } +func (i *gkeClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeCluster] { + return pulumix.Output[*GkeCluster]{ + OutputState: i.ToGkeClusterPtrOutputWithContext(ctx).OutputState, + } +} + // GkeCluster contains information specific to GKE clusters. type GkeClusterOutput struct{ *pulumi.OutputState } @@ -1398,6 +1639,12 @@ func (o GkeClusterOutput) ToGkeClusterPtrOutputWithContext(ctx context.Context) }).(GkeClusterPtrOutput) } +func (o GkeClusterOutput) ToOutput(ctx context.Context) pulumix.Output[GkeCluster] { + return pulumix.Output[GkeCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the GCP resource for the GKE cluster. For example: //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster Zonal clusters are also supported. func (o GkeClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v GkeCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -1417,6 +1664,12 @@ func (o GkeClusterPtrOutput) ToGkeClusterPtrOutputWithContext(ctx context.Contex return o } +func (o GkeClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeCluster] { + return pulumix.Output[*GkeCluster]{ + OutputState: o.OutputState, + } +} + func (o GkeClusterPtrOutput) Elem() GkeClusterOutput { return o.ApplyT(func(v *GkeCluster) GkeCluster { if v != nil { @@ -1460,6 +1713,12 @@ func (o GkeClusterResponseOutput) ToGkeClusterResponseOutputWithContext(ctx cont return o } +func (o GkeClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeClusterResponse] { + return pulumix.Output[GkeClusterResponse]{ + OutputState: o.OutputState, + } +} + // If cluster_missing is set then it denotes that the GKE cluster no longer exists in the GKE Control Plane. func (o GkeClusterResponseOutput) ClusterMissing() pulumi.BoolOutput { return o.ApplyT(func(v GkeClusterResponse) bool { return v.ClusterMissing }).(pulumi.BoolOutput) @@ -1501,6 +1760,12 @@ func (o KubernetesMetadataResponseOutput) ToKubernetesMetadataResponseOutputWith return o } +func (o KubernetesMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesMetadataResponse] { + return pulumix.Output[KubernetesMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Kubernetes API server version string as reported by '/version'. func (o KubernetesMetadataResponseOutput) KubernetesApiServerVersion() pulumi.StringOutput { return o.ApplyT(func(v KubernetesMetadataResponse) string { return v.KubernetesApiServerVersion }).(pulumi.StringOutput) @@ -1570,6 +1835,12 @@ func (i KubernetesResourceArgs) ToKubernetesResourceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(KubernetesResourceOutput) } +func (i KubernetesResourceArgs) ToOutput(ctx context.Context) pulumix.Output[KubernetesResource] { + return pulumix.Output[KubernetesResource]{ + OutputState: i.ToKubernetesResourceOutputWithContext(ctx).OutputState, + } +} + func (i KubernetesResourceArgs) ToKubernetesResourcePtrOutput() KubernetesResourcePtrOutput { return i.ToKubernetesResourcePtrOutputWithContext(context.Background()) } @@ -1611,6 +1882,12 @@ func (i *kubernetesResourcePtrType) ToKubernetesResourcePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(KubernetesResourcePtrOutput) } +func (i *kubernetesResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*KubernetesResource] { + return pulumix.Output[*KubernetesResource]{ + OutputState: i.ToKubernetesResourcePtrOutputWithContext(ctx).OutputState, + } +} + // KubernetesResource contains the YAML manifests and configuration for Membership Kubernetes resources in the cluster. After CreateMembership or UpdateMembership, these resources should be re-applied in the cluster. type KubernetesResourceOutput struct{ *pulumi.OutputState } @@ -1636,6 +1913,12 @@ func (o KubernetesResourceOutput) ToKubernetesResourcePtrOutputWithContext(ctx c }).(KubernetesResourcePtrOutput) } +func (o KubernetesResourceOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesResource] { + return pulumix.Output[KubernetesResource]{ + OutputState: o.OutputState, + } +} + // Input only. The YAML representation of the Membership CR. This field is ignored for GKE clusters where Hub can read the CR directly. Callers should provide the CR that is currently present in the cluster during CreateMembership or UpdateMembership, or leave this field empty if none exists. The CR manifest is used to validate the cluster has not been registered with another Membership. func (o KubernetesResourceOutput) MembershipCrManifest() pulumi.StringPtrOutput { return o.ApplyT(func(v KubernetesResource) *string { return v.MembershipCrManifest }).(pulumi.StringPtrOutput) @@ -1660,6 +1943,12 @@ func (o KubernetesResourcePtrOutput) ToKubernetesResourcePtrOutputWithContext(ct return o } +func (o KubernetesResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KubernetesResource] { + return pulumix.Output[*KubernetesResource]{ + OutputState: o.OutputState, + } +} + func (o KubernetesResourcePtrOutput) Elem() KubernetesResourceOutput { return o.ApplyT(func(v *KubernetesResource) KubernetesResource { if v != nil { @@ -1717,6 +2006,12 @@ func (o KubernetesResourceResponseOutput) ToKubernetesResourceResponseOutputWith return o } +func (o KubernetesResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KubernetesResourceResponse] { + return pulumix.Output[KubernetesResourceResponse]{ + OutputState: o.OutputState, + } +} + // The Kubernetes resources for installing the GKE Connect agent This field is only populated in the Membership returned from a successful long-running operation from CreateMembership or UpdateMembership. It is not populated during normal GetMembership or ListMemberships requests. To get the resource manifest after the initial registration, the caller should make a UpdateMembership call with an empty field mask. func (o KubernetesResourceResponseOutput) ConnectResources() ResourceManifestResponseArrayOutput { return o.ApplyT(func(v KubernetesResourceResponse) []ResourceManifestResponse { return v.ConnectResources }).(ResourceManifestResponseArrayOutput) @@ -1792,6 +2087,12 @@ func (i MembershipEndpointArgs) ToMembershipEndpointOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(MembershipEndpointOutput) } +func (i MembershipEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpoint] { + return pulumix.Output[MembershipEndpoint]{ + OutputState: i.ToMembershipEndpointOutputWithContext(ctx).OutputState, + } +} + func (i MembershipEndpointArgs) ToMembershipEndpointPtrOutput() MembershipEndpointPtrOutput { return i.ToMembershipEndpointPtrOutputWithContext(context.Background()) } @@ -1833,6 +2134,12 @@ func (i *membershipEndpointPtrType) ToMembershipEndpointPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(MembershipEndpointPtrOutput) } +func (i *membershipEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*MembershipEndpoint] { + return pulumix.Output[*MembershipEndpoint]{ + OutputState: i.ToMembershipEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata. type MembershipEndpointOutput struct{ *pulumi.OutputState } @@ -1858,6 +2165,12 @@ func (o MembershipEndpointOutput) ToMembershipEndpointPtrOutputWithContext(ctx c }).(MembershipEndpointPtrOutput) } +func (o MembershipEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpoint] { + return pulumix.Output[MembershipEndpoint]{ + OutputState: o.OutputState, + } +} + // Optional. Specific information for a GDC Edge Appliance cluster. func (o MembershipEndpointOutput) ApplianceCluster() ApplianceClusterPtrOutput { return o.ApplyT(func(v MembershipEndpoint) *ApplianceCluster { return v.ApplianceCluster }).(ApplianceClusterPtrOutput) @@ -1902,6 +2215,12 @@ func (o MembershipEndpointPtrOutput) ToMembershipEndpointPtrOutputWithContext(ct return o } +func (o MembershipEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MembershipEndpoint] { + return pulumix.Output[*MembershipEndpoint]{ + OutputState: o.OutputState, + } +} + func (o MembershipEndpointPtrOutput) Elem() MembershipEndpointOutput { return o.ApplyT(func(v *MembershipEndpoint) MembershipEndpoint { if v != nil { @@ -2005,6 +2324,12 @@ func (o MembershipEndpointResponseOutput) ToMembershipEndpointResponseOutputWith return o } +func (o MembershipEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipEndpointResponse] { + return pulumix.Output[MembershipEndpointResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specific information for a GDC Edge Appliance cluster. func (o MembershipEndpointResponseOutput) ApplianceCluster() ApplianceClusterResponseOutput { return o.ApplyT(func(v MembershipEndpointResponse) ApplianceClusterResponse { return v.ApplianceCluster }).(ApplianceClusterResponseOutput) @@ -2065,6 +2390,12 @@ func (o MembershipStateResponseOutput) ToMembershipStateResponseOutputWithContex return o } +func (o MembershipStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MembershipStateResponse] { + return pulumix.Output[MembershipStateResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the Membership resource. func (o MembershipStateResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v MembershipStateResponse) string { return v.Code }).(pulumi.StringOutput) @@ -2131,6 +2462,12 @@ func (i MonitoringConfigArgs) ToMonitoringConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigOutput) } +func (i MonitoringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: i.ToMonitoringConfigOutputWithContext(ctx).OutputState, + } +} + func (i MonitoringConfigArgs) ToMonitoringConfigPtrOutput() MonitoringConfigPtrOutput { return i.ToMonitoringConfigPtrOutputWithContext(context.Background()) } @@ -2172,6 +2509,12 @@ func (i *monitoringConfigPtrType) ToMonitoringConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MonitoringConfigPtrOutput) } +func (i *monitoringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: i.ToMonitoringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // This field informs Fleet-based applications/services/UIs with the necessary information for where each underlying Cluster reports its metrics. type MonitoringConfigOutput struct{ *pulumi.OutputState } @@ -2197,6 +2540,12 @@ func (o MonitoringConfigOutput) ToMonitoringConfigPtrOutputWithContext(ctx conte }).(MonitoringConfigPtrOutput) } +func (o MonitoringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfig] { + return pulumix.Output[MonitoringConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal, it would be in format `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in format `{azureClusters, awsClusters}/cluster_name`. func (o MonitoringConfigOutput) Cluster() pulumi.StringPtrOutput { return o.ApplyT(func(v MonitoringConfig) *string { return v.Cluster }).(pulumi.StringPtrOutput) @@ -2236,6 +2585,12 @@ func (o MonitoringConfigPtrOutput) ToMonitoringConfigPtrOutputWithContext(ctx co return o } +func (o MonitoringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringConfig] { + return pulumix.Output[*MonitoringConfig]{ + OutputState: o.OutputState, + } +} + func (o MonitoringConfigPtrOutput) Elem() MonitoringConfigOutput { return o.ApplyT(func(v *MonitoringConfig) MonitoringConfig { if v != nil { @@ -2325,6 +2680,12 @@ func (o MonitoringConfigResponseOutput) ToMonitoringConfigResponseOutputWithCont return o } +func (o MonitoringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringConfigResponse] { + return pulumix.Output[MonitoringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal, it would be in format `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in format `{azureClusters, awsClusters}/cluster_name`. func (o MonitoringConfigResponseOutput) Cluster() pulumi.StringOutput { return o.ApplyT(func(v MonitoringConfigResponse) string { return v.Cluster }).(pulumi.StringOutput) @@ -2385,6 +2746,12 @@ func (i MultiCloudClusterArgs) ToMultiCloudClusterOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MultiCloudClusterOutput) } +func (i MultiCloudClusterArgs) ToOutput(ctx context.Context) pulumix.Output[MultiCloudCluster] { + return pulumix.Output[MultiCloudCluster]{ + OutputState: i.ToMultiCloudClusterOutputWithContext(ctx).OutputState, + } +} + func (i MultiCloudClusterArgs) ToMultiCloudClusterPtrOutput() MultiCloudClusterPtrOutput { return i.ToMultiCloudClusterPtrOutputWithContext(context.Background()) } @@ -2426,6 +2793,12 @@ func (i *multiCloudClusterPtrType) ToMultiCloudClusterPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MultiCloudClusterPtrOutput) } +func (i *multiCloudClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*MultiCloudCluster] { + return pulumix.Output[*MultiCloudCluster]{ + OutputState: i.ToMultiCloudClusterPtrOutputWithContext(ctx).OutputState, + } +} + // MultiCloudCluster contains information specific to GKE Multi-Cloud clusters. type MultiCloudClusterOutput struct{ *pulumi.OutputState } @@ -2451,6 +2824,12 @@ func (o MultiCloudClusterOutput) ToMultiCloudClusterPtrOutputWithContext(ctx con }).(MultiCloudClusterPtrOutput) } +func (o MultiCloudClusterOutput) ToOutput(ctx context.Context) pulumix.Output[MultiCloudCluster] { + return pulumix.Output[MultiCloudCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster func (o MultiCloudClusterOutput) ResourceLink() pulumi.StringPtrOutput { return o.ApplyT(func(v MultiCloudCluster) *string { return v.ResourceLink }).(pulumi.StringPtrOutput) @@ -2470,6 +2849,12 @@ func (o MultiCloudClusterPtrOutput) ToMultiCloudClusterPtrOutputWithContext(ctx return o } +func (o MultiCloudClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiCloudCluster] { + return pulumix.Output[*MultiCloudCluster]{ + OutputState: o.OutputState, + } +} + func (o MultiCloudClusterPtrOutput) Elem() MultiCloudClusterOutput { return o.ApplyT(func(v *MultiCloudCluster) MultiCloudCluster { if v != nil { @@ -2513,6 +2898,12 @@ func (o MultiCloudClusterResponseOutput) ToMultiCloudClusterResponseOutputWithCo return o } +func (o MultiCloudClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MultiCloudClusterResponse] { + return pulumix.Output[MultiCloudClusterResponse]{ + OutputState: o.OutputState, + } +} + // If cluster_missing is set then it denotes that API(gkemulticloud.googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists. func (o MultiCloudClusterResponseOutput) ClusterMissing() pulumi.BoolOutput { return o.ApplyT(func(v MultiCloudClusterResponse) bool { return v.ClusterMissing }).(pulumi.BoolOutput) @@ -2566,6 +2957,12 @@ func (i OnPremClusterArgs) ToOnPremClusterOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OnPremClusterOutput) } +func (i OnPremClusterArgs) ToOutput(ctx context.Context) pulumix.Output[OnPremCluster] { + return pulumix.Output[OnPremCluster]{ + OutputState: i.ToOnPremClusterOutputWithContext(ctx).OutputState, + } +} + func (i OnPremClusterArgs) ToOnPremClusterPtrOutput() OnPremClusterPtrOutput { return i.ToOnPremClusterPtrOutputWithContext(context.Background()) } @@ -2607,6 +3004,12 @@ func (i *onPremClusterPtrType) ToOnPremClusterPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OnPremClusterPtrOutput) } +func (i *onPremClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*OnPremCluster] { + return pulumix.Output[*OnPremCluster]{ + OutputState: i.ToOnPremClusterPtrOutputWithContext(ctx).OutputState, + } +} + // OnPremCluster contains information specific to GKE On-Prem clusters. type OnPremClusterOutput struct{ *pulumi.OutputState } @@ -2632,6 +3035,12 @@ func (o OnPremClusterOutput) ToOnPremClusterPtrOutputWithContext(ctx context.Con }).(OnPremClusterPtrOutput) } +func (o OnPremClusterOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremCluster] { + return pulumix.Output[OnPremCluster]{ + OutputState: o.OutputState, + } +} + // Immutable. Whether the cluster is an admin cluster. func (o OnPremClusterOutput) AdminCluster() pulumi.BoolPtrOutput { return o.ApplyT(func(v OnPremCluster) *bool { return v.AdminCluster }).(pulumi.BoolPtrOutput) @@ -2661,6 +3070,12 @@ func (o OnPremClusterPtrOutput) ToOnPremClusterPtrOutputWithContext(ctx context. return o } +func (o OnPremClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OnPremCluster] { + return pulumix.Output[*OnPremCluster]{ + OutputState: o.OutputState, + } +} + func (o OnPremClusterPtrOutput) Elem() OnPremClusterOutput { return o.ApplyT(func(v *OnPremCluster) OnPremCluster { if v != nil { @@ -2728,6 +3143,12 @@ func (o OnPremClusterResponseOutput) ToOnPremClusterResponseOutputWithContext(ct return o } +func (o OnPremClusterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremClusterResponse] { + return pulumix.Output[OnPremClusterResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Whether the cluster is an admin cluster. func (o OnPremClusterResponseOutput) AdminCluster() pulumi.BoolOutput { return o.ApplyT(func(v OnPremClusterResponse) bool { return v.AdminCluster }).(pulumi.BoolOutput) @@ -2771,6 +3192,12 @@ func (o ResourceManifestResponseOutput) ToResourceManifestResponseOutputWithCont return o } +func (o ResourceManifestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceManifestResponse] { + return pulumix.Output[ResourceManifestResponse]{ + OutputState: o.OutputState, + } +} + // Whether the resource provided in the manifest is `cluster_scoped`. If unset, the manifest is assumed to be namespace scoped. This field is used for REST mapping when applying the resource in a cluster. func (o ResourceManifestResponseOutput) ClusterScoped() pulumi.BoolOutput { return o.ApplyT(func(v ResourceManifestResponse) bool { return v.ClusterScoped }).(pulumi.BoolOutput) @@ -2795,6 +3222,12 @@ func (o ResourceManifestResponseArrayOutput) ToResourceManifestResponseArrayOutp return o } +func (o ResourceManifestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceManifestResponse] { + return pulumix.Output[[]ResourceManifestResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceManifestResponseArrayOutput) Index(i pulumi.IntInput) ResourceManifestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceManifestResponse { return vs[0].([]ResourceManifestResponse)[vs[1].(int)] @@ -2844,6 +3277,12 @@ func (i ResourceOptionsArgs) ToResourceOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ResourceOptionsOutput) } +func (i ResourceOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceOptions] { + return pulumix.Output[ResourceOptions]{ + OutputState: i.ToResourceOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ResourceOptionsArgs) ToResourceOptionsPtrOutput() ResourceOptionsPtrOutput { return i.ToResourceOptionsPtrOutputWithContext(context.Background()) } @@ -2885,6 +3324,12 @@ func (i *resourceOptionsPtrType) ToResourceOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ResourceOptionsPtrOutput) } +func (i *resourceOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceOptions] { + return pulumix.Output[*ResourceOptions]{ + OutputState: i.ToResourceOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // ResourceOptions represent options for Kubernetes resource generation. type ResourceOptionsOutput struct{ *pulumi.OutputState } @@ -2910,6 +3355,12 @@ func (o ResourceOptionsOutput) ToResourceOptionsPtrOutputWithContext(ctx context }).(ResourceOptionsPtrOutput) } +func (o ResourceOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceOptions] { + return pulumix.Output[ResourceOptions]{ + OutputState: o.OutputState, + } +} + // Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected. func (o ResourceOptionsOutput) ConnectVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceOptions) *string { return v.ConnectVersion }).(pulumi.StringPtrOutput) @@ -2939,6 +3390,12 @@ func (o ResourceOptionsPtrOutput) ToResourceOptionsPtrOutputWithContext(ctx cont return o } +func (o ResourceOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceOptions] { + return pulumix.Output[*ResourceOptions]{ + OutputState: o.OutputState, + } +} + func (o ResourceOptionsPtrOutput) Elem() ResourceOptionsOutput { return o.ApplyT(func(v *ResourceOptions) ResourceOptions { if v != nil { @@ -3004,6 +3461,12 @@ func (o ResourceOptionsResponseOutput) ToResourceOptionsResponseOutputWithContex return o } +func (o ResourceOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceOptionsResponse] { + return pulumix.Output[ResourceOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Connect agent version to use for connect_resources. Defaults to the latest GKE Connect version. The version must be a currently supported version, obsolete versions will be rejected. func (o ResourceOptionsResponseOutput) ConnectVersion() pulumi.StringOutput { return o.ApplyT(func(v ResourceOptionsResponse) string { return v.ConnectVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkeonprem/v1/bareMetalAdminCluster.go b/sdk/go/google/gkeonprem/v1/bareMetalAdminCluster.go index 322cdf8eb4..6245784988 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalAdminCluster.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalAdminCluster.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new bare metal admin cluster in a given project and location. The API needs to be combined with creating a bootstrap cluster to work. See: https://cloud.google.com/anthos/clusters/docs/bare-metal/latest/installing/creating-clusters/create-admin-cluster-api#prepare_bootstrap_environment @@ -230,6 +231,12 @@ func (i *BareMetalAdminCluster) ToBareMetalAdminClusterOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminClusterOutput) } +func (i *BareMetalAdminCluster) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminCluster] { + return pulumix.Output[*BareMetalAdminCluster]{ + OutputState: i.ToBareMetalAdminClusterOutputWithContext(ctx).OutputState, + } +} + type BareMetalAdminClusterOutput struct{ *pulumi.OutputState } func (BareMetalAdminClusterOutput) ElementType() reflect.Type { @@ -244,6 +251,12 @@ func (o BareMetalAdminClusterOutput) ToBareMetalAdminClusterOutputWithContext(ct return o } +func (o BareMetalAdminClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminCluster] { + return pulumix.Output[*BareMetalAdminCluster]{ + OutputState: o.OutputState, + } +} + // Annotations on the bare metal admin cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. func (o BareMetalAdminClusterOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *BareMetalAdminCluster) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamBinding.go b/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamBinding.go index d1b8ea5bd5..bde3dbfb90 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamBinding.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BareMetalAdminClusterIamBinding) ToBareMetalAdminClusterIamBindingOutpu return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminClusterIamBindingOutput) } +func (i *BareMetalAdminClusterIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminClusterIamBinding] { + return pulumix.Output[*BareMetalAdminClusterIamBinding]{ + OutputState: i.ToBareMetalAdminClusterIamBindingOutputWithContext(ctx).OutputState, + } +} + type BareMetalAdminClusterIamBindingOutput struct{ *pulumi.OutputState } func (BareMetalAdminClusterIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BareMetalAdminClusterIamBindingOutput) ToBareMetalAdminClusterIamBinding return o } +func (o BareMetalAdminClusterIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminClusterIamBinding] { + return pulumix.Output[*BareMetalAdminClusterIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BareMetalAdminClusterIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BareMetalAdminClusterIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamMember.go b/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamMember.go index 4b96765646..3fa187125f 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamMember.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BareMetalAdminClusterIamMember) ToBareMetalAdminClusterIamMemberOutputW return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminClusterIamMemberOutput) } +func (i *BareMetalAdminClusterIamMember) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminClusterIamMember] { + return pulumix.Output[*BareMetalAdminClusterIamMember]{ + OutputState: i.ToBareMetalAdminClusterIamMemberOutputWithContext(ctx).OutputState, + } +} + type BareMetalAdminClusterIamMemberOutput struct{ *pulumi.OutputState } func (BareMetalAdminClusterIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BareMetalAdminClusterIamMemberOutput) ToBareMetalAdminClusterIamMemberOu return o } +func (o BareMetalAdminClusterIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminClusterIamMember] { + return pulumix.Output[*BareMetalAdminClusterIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BareMetalAdminClusterIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BareMetalAdminClusterIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamPolicy.go b/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamPolicy.go index 8d5fa19bc9..03cd8cf43e 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalAdminClusterIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *BareMetalAdminClusterIamPolicy) ToBareMetalAdminClusterIamPolicyOutputW return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminClusterIamPolicyOutput) } +func (i *BareMetalAdminClusterIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminClusterIamPolicy] { + return pulumix.Output[*BareMetalAdminClusterIamPolicy]{ + OutputState: i.ToBareMetalAdminClusterIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BareMetalAdminClusterIamPolicyOutput struct{ *pulumi.OutputState } func (BareMetalAdminClusterIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o BareMetalAdminClusterIamPolicyOutput) ToBareMetalAdminClusterIamPolicyOu return o } +func (o BareMetalAdminClusterIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminClusterIamPolicy] { + return pulumix.Output[*BareMetalAdminClusterIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminClusterIamPolicyOutput) BareMetalAdminClusterId() pulumi.StringOutput { return o.ApplyT(func(v *BareMetalAdminClusterIamPolicy) pulumi.StringOutput { return v.BareMetalAdminClusterId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/gkeonprem/v1/bareMetalCluster.go b/sdk/go/google/gkeonprem/v1/bareMetalCluster.go index eb37a0ca92..bacc6cb842 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalCluster.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalCluster.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new bare metal cluster in a given project and location. @@ -250,6 +251,12 @@ func (i *BareMetalCluster) ToBareMetalClusterOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(BareMetalClusterOutput) } +func (i *BareMetalCluster) ToOutput(ctx context.Context) pulumix.Output[*BareMetalCluster] { + return pulumix.Output[*BareMetalCluster]{ + OutputState: i.ToBareMetalClusterOutputWithContext(ctx).OutputState, + } +} + type BareMetalClusterOutput struct{ *pulumi.OutputState } func (BareMetalClusterOutput) ElementType() reflect.Type { @@ -264,6 +271,12 @@ func (o BareMetalClusterOutput) ToBareMetalClusterOutputWithContext(ctx context. return o } +func (o BareMetalClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalCluster] { + return pulumix.Output[*BareMetalCluster]{ + OutputState: o.OutputState, + } +} + // The admin cluster this bare metal user cluster belongs to. This is the full resource name of the admin cluster's fleet membership. func (o BareMetalClusterOutput) AdminClusterMembership() pulumi.StringOutput { return o.ApplyT(func(v *BareMetalCluster) pulumi.StringOutput { return v.AdminClusterMembership }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamBinding.go b/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamBinding.go index 3f2a4fc9f2..5cbee2c1a1 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamBinding.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BareMetalClusterBareMetalNodePoolIamBinding) ToBareMetalClusterBareMeta return pulumi.ToOutputWithContext(ctx, i).(BareMetalClusterBareMetalNodePoolIamBindingOutput) } +func (i *BareMetalClusterBareMetalNodePoolIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterBareMetalNodePoolIamBinding] { + return pulumix.Output[*BareMetalClusterBareMetalNodePoolIamBinding]{ + OutputState: i.ToBareMetalClusterBareMetalNodePoolIamBindingOutputWithContext(ctx).OutputState, + } +} + type BareMetalClusterBareMetalNodePoolIamBindingOutput struct{ *pulumi.OutputState } func (BareMetalClusterBareMetalNodePoolIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BareMetalClusterBareMetalNodePoolIamBindingOutput) ToBareMetalClusterBar return o } +func (o BareMetalClusterBareMetalNodePoolIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterBareMetalNodePoolIamBinding] { + return pulumix.Output[*BareMetalClusterBareMetalNodePoolIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BareMetalClusterBareMetalNodePoolIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BareMetalClusterBareMetalNodePoolIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamMember.go b/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamMember.go index 71db1aac65..d21e090d26 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamMember.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BareMetalClusterBareMetalNodePoolIamMember) ToBareMetalClusterBareMetal return pulumi.ToOutputWithContext(ctx, i).(BareMetalClusterBareMetalNodePoolIamMemberOutput) } +func (i *BareMetalClusterBareMetalNodePoolIamMember) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterBareMetalNodePoolIamMember] { + return pulumix.Output[*BareMetalClusterBareMetalNodePoolIamMember]{ + OutputState: i.ToBareMetalClusterBareMetalNodePoolIamMemberOutputWithContext(ctx).OutputState, + } +} + type BareMetalClusterBareMetalNodePoolIamMemberOutput struct{ *pulumi.OutputState } func (BareMetalClusterBareMetalNodePoolIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BareMetalClusterBareMetalNodePoolIamMemberOutput) ToBareMetalClusterBare return o } +func (o BareMetalClusterBareMetalNodePoolIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterBareMetalNodePoolIamMember] { + return pulumix.Output[*BareMetalClusterBareMetalNodePoolIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BareMetalClusterBareMetalNodePoolIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BareMetalClusterBareMetalNodePoolIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamPolicy.go b/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamPolicy.go index 75b5f0b40f..d6303dc970 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalClusterBareMetalNodePoolIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -132,6 +133,12 @@ func (i *BareMetalClusterBareMetalNodePoolIamPolicy) ToBareMetalClusterBareMetal return pulumi.ToOutputWithContext(ctx, i).(BareMetalClusterBareMetalNodePoolIamPolicyOutput) } +func (i *BareMetalClusterBareMetalNodePoolIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterBareMetalNodePoolIamPolicy] { + return pulumix.Output[*BareMetalClusterBareMetalNodePoolIamPolicy]{ + OutputState: i.ToBareMetalClusterBareMetalNodePoolIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BareMetalClusterBareMetalNodePoolIamPolicyOutput struct{ *pulumi.OutputState } func (BareMetalClusterBareMetalNodePoolIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o BareMetalClusterBareMetalNodePoolIamPolicyOutput) ToBareMetalClusterBare return o } +func (o BareMetalClusterBareMetalNodePoolIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterBareMetalNodePoolIamPolicy] { + return pulumix.Output[*BareMetalClusterBareMetalNodePoolIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o BareMetalClusterBareMetalNodePoolIamPolicyOutput) BareMetalClusterId() pulumi.StringOutput { return o.ApplyT(func(v *BareMetalClusterBareMetalNodePoolIamPolicy) pulumi.StringOutput { return v.BareMetalClusterId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/gkeonprem/v1/bareMetalClusterIamBinding.go b/sdk/go/google/gkeonprem/v1/bareMetalClusterIamBinding.go index 80f26cec44..e708552c42 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalClusterIamBinding.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalClusterIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BareMetalClusterIamBinding) ToBareMetalClusterIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(BareMetalClusterIamBindingOutput) } +func (i *BareMetalClusterIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterIamBinding] { + return pulumix.Output[*BareMetalClusterIamBinding]{ + OutputState: i.ToBareMetalClusterIamBindingOutputWithContext(ctx).OutputState, + } +} + type BareMetalClusterIamBindingOutput struct{ *pulumi.OutputState } func (BareMetalClusterIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BareMetalClusterIamBindingOutput) ToBareMetalClusterIamBindingOutputWith return o } +func (o BareMetalClusterIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterIamBinding] { + return pulumix.Output[*BareMetalClusterIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BareMetalClusterIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BareMetalClusterIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/bareMetalClusterIamMember.go b/sdk/go/google/gkeonprem/v1/bareMetalClusterIamMember.go index 4048efc06d..f356b553f9 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalClusterIamMember.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalClusterIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *BareMetalClusterIamMember) ToBareMetalClusterIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(BareMetalClusterIamMemberOutput) } +func (i *BareMetalClusterIamMember) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterIamMember] { + return pulumix.Output[*BareMetalClusterIamMember]{ + OutputState: i.ToBareMetalClusterIamMemberOutputWithContext(ctx).OutputState, + } +} + type BareMetalClusterIamMemberOutput struct{ *pulumi.OutputState } func (BareMetalClusterIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BareMetalClusterIamMemberOutput) ToBareMetalClusterIamMemberOutputWithCo return o } +func (o BareMetalClusterIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterIamMember] { + return pulumix.Output[*BareMetalClusterIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BareMetalClusterIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BareMetalClusterIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/bareMetalClusterIamPolicy.go b/sdk/go/google/gkeonprem/v1/bareMetalClusterIamPolicy.go index 6afd653094..2cc77453ee 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalClusterIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalClusterIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *BareMetalClusterIamPolicy) ToBareMetalClusterIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(BareMetalClusterIamPolicyOutput) } +func (i *BareMetalClusterIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterIamPolicy] { + return pulumix.Output[*BareMetalClusterIamPolicy]{ + OutputState: i.ToBareMetalClusterIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BareMetalClusterIamPolicyOutput struct{ *pulumi.OutputState } func (BareMetalClusterIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o BareMetalClusterIamPolicyOutput) ToBareMetalClusterIamPolicyOutputWithCo return o } +func (o BareMetalClusterIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterIamPolicy] { + return pulumix.Output[*BareMetalClusterIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o BareMetalClusterIamPolicyOutput) BareMetalClusterId() pulumi.StringOutput { return o.ApplyT(func(v *BareMetalClusterIamPolicy) pulumi.StringOutput { return v.BareMetalClusterId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/gkeonprem/v1/bareMetalNodePool.go b/sdk/go/google/gkeonprem/v1/bareMetalNodePool.go index b1470b01c6..a34ac989f2 100644 --- a/sdk/go/google/gkeonprem/v1/bareMetalNodePool.go +++ b/sdk/go/google/gkeonprem/v1/bareMetalNodePool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new bare metal node pool in a given project, location and Bare Metal cluster. @@ -158,6 +159,12 @@ func (i *BareMetalNodePool) ToBareMetalNodePoolOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(BareMetalNodePoolOutput) } +func (i *BareMetalNodePool) ToOutput(ctx context.Context) pulumix.Output[*BareMetalNodePool] { + return pulumix.Output[*BareMetalNodePool]{ + OutputState: i.ToBareMetalNodePoolOutputWithContext(ctx).OutputState, + } +} + type BareMetalNodePoolOutput struct{ *pulumi.OutputState } func (BareMetalNodePoolOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o BareMetalNodePoolOutput) ToBareMetalNodePoolOutputWithContext(ctx contex return o } +func (o BareMetalNodePoolOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalNodePool] { + return pulumix.Output[*BareMetalNodePool]{ + OutputState: o.OutputState, + } +} + // Annotations on the bare metal node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. func (o BareMetalNodePoolOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *BareMetalNodePool) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/gkeonprem/v1/getBareMetalAdminCluster.go b/sdk/go/google/gkeonprem/v1/getBareMetalAdminCluster.go index 394b082448..31196cc8f6 100644 --- a/sdk/go/google/gkeonprem/v1/getBareMetalAdminCluster.go +++ b/sdk/go/google/gkeonprem/v1/getBareMetalAdminCluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single bare metal admin cluster. @@ -126,6 +127,12 @@ func (o LookupBareMetalAdminClusterResultOutput) ToLookupBareMetalAdminClusterRe return o } +func (o LookupBareMetalAdminClusterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBareMetalAdminClusterResult] { + return pulumix.Output[LookupBareMetalAdminClusterResult]{ + OutputState: o.OutputState, + } +} + // Annotations on the bare metal admin cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. func (o LookupBareMetalAdminClusterResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupBareMetalAdminClusterResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/gkeonprem/v1/getBareMetalAdminClusterIamPolicy.go b/sdk/go/google/gkeonprem/v1/getBareMetalAdminClusterIamPolicy.go index c03c13276c..a2389b1be1 100644 --- a/sdk/go/google/gkeonprem/v1/getBareMetalAdminClusterIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/getBareMetalAdminClusterIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupBareMetalAdminClusterIamPolicyResultOutput) ToLookupBareMetalAdmin return o } +func (o LookupBareMetalAdminClusterIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBareMetalAdminClusterIamPolicyResult] { + return pulumix.Output[LookupBareMetalAdminClusterIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupBareMetalAdminClusterIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupBareMetalAdminClusterIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/gkeonprem/v1/getBareMetalCluster.go b/sdk/go/google/gkeonprem/v1/getBareMetalCluster.go index d286aafae0..0addebabea 100644 --- a/sdk/go/google/gkeonprem/v1/getBareMetalCluster.go +++ b/sdk/go/google/gkeonprem/v1/getBareMetalCluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single bare metal Cluster. @@ -130,6 +131,12 @@ func (o LookupBareMetalClusterResultOutput) ToLookupBareMetalClusterResultOutput return o } +func (o LookupBareMetalClusterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBareMetalClusterResult] { + return pulumix.Output[LookupBareMetalClusterResult]{ + OutputState: o.OutputState, + } +} + // The admin cluster this bare metal user cluster belongs to. This is the full resource name of the admin cluster's fleet membership. func (o LookupBareMetalClusterResultOutput) AdminClusterMembership() pulumi.StringOutput { return o.ApplyT(func(v LookupBareMetalClusterResult) string { return v.AdminClusterMembership }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkeonprem/v1/getBareMetalClusterBareMetalNodePoolIamPolicy.go b/sdk/go/google/gkeonprem/v1/getBareMetalClusterBareMetalNodePoolIamPolicy.go index 66b8524abc..652bdcbe7e 100644 --- a/sdk/go/google/gkeonprem/v1/getBareMetalClusterBareMetalNodePoolIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/getBareMetalClusterBareMetalNodePoolIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupBareMetalClusterBareMetalNodePoolIamPolicyResultOutput) ToLookupBa return o } +func (o LookupBareMetalClusterBareMetalNodePoolIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBareMetalClusterBareMetalNodePoolIamPolicyResult] { + return pulumix.Output[LookupBareMetalClusterBareMetalNodePoolIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupBareMetalClusterBareMetalNodePoolIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupBareMetalClusterBareMetalNodePoolIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/gkeonprem/v1/getBareMetalClusterIamPolicy.go b/sdk/go/google/gkeonprem/v1/getBareMetalClusterIamPolicy.go index ec2d1e2b07..390d2182cc 100644 --- a/sdk/go/google/gkeonprem/v1/getBareMetalClusterIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/getBareMetalClusterIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupBareMetalClusterIamPolicyResultOutput) ToLookupBareMetalClusterIam return o } +func (o LookupBareMetalClusterIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBareMetalClusterIamPolicyResult] { + return pulumix.Output[LookupBareMetalClusterIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupBareMetalClusterIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupBareMetalClusterIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/gkeonprem/v1/getBareMetalNodePool.go b/sdk/go/google/gkeonprem/v1/getBareMetalNodePool.go index 25e50b8c7f..28ea69a41b 100644 --- a/sdk/go/google/gkeonprem/v1/getBareMetalNodePool.go +++ b/sdk/go/google/gkeonprem/v1/getBareMetalNodePool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single bare metal node pool. @@ -94,6 +95,12 @@ func (o LookupBareMetalNodePoolResultOutput) ToLookupBareMetalNodePoolResultOutp return o } +func (o LookupBareMetalNodePoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBareMetalNodePoolResult] { + return pulumix.Output[LookupBareMetalNodePoolResult]{ + OutputState: o.OutputState, + } +} + // Annotations on the bare metal node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. func (o LookupBareMetalNodePoolResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupBareMetalNodePoolResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/gkeonprem/v1/getVmwareAdminClusterIamPolicy.go b/sdk/go/google/gkeonprem/v1/getVmwareAdminClusterIamPolicy.go index 7ed1aad5e0..a045c9a8b4 100644 --- a/sdk/go/google/gkeonprem/v1/getVmwareAdminClusterIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/getVmwareAdminClusterIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupVmwareAdminClusterIamPolicyResultOutput) ToLookupVmwareAdminCluste return o } +func (o LookupVmwareAdminClusterIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVmwareAdminClusterIamPolicyResult] { + return pulumix.Output[LookupVmwareAdminClusterIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupVmwareAdminClusterIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupVmwareAdminClusterIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/gkeonprem/v1/getVmwareCluster.go b/sdk/go/google/gkeonprem/v1/getVmwareCluster.go index 77a9684f12..370c36bb9c 100644 --- a/sdk/go/google/gkeonprem/v1/getVmwareCluster.go +++ b/sdk/go/google/gkeonprem/v1/getVmwareCluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single VMware Cluster. @@ -128,6 +129,12 @@ func (o LookupVmwareClusterResultOutput) ToLookupVmwareClusterResultOutputWithCo return o } +func (o LookupVmwareClusterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVmwareClusterResult] { + return pulumix.Output[LookupVmwareClusterResult]{ + OutputState: o.OutputState, + } +} + // The admin cluster this VMware user cluster belongs to. This is the full resource name of the admin cluster's fleet membership. In the future, references to other resource types might be allowed if admin clusters are modeled as their own resources. func (o LookupVmwareClusterResultOutput) AdminClusterMembership() pulumi.StringOutput { return o.ApplyT(func(v LookupVmwareClusterResult) string { return v.AdminClusterMembership }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkeonprem/v1/getVmwareClusterIamPolicy.go b/sdk/go/google/gkeonprem/v1/getVmwareClusterIamPolicy.go index 21387ae6f3..48a845e577 100644 --- a/sdk/go/google/gkeonprem/v1/getVmwareClusterIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/getVmwareClusterIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupVmwareClusterIamPolicyResultOutput) ToLookupVmwareClusterIamPolicy return o } +func (o LookupVmwareClusterIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVmwareClusterIamPolicyResult] { + return pulumix.Output[LookupVmwareClusterIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupVmwareClusterIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupVmwareClusterIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/gkeonprem/v1/getVmwareClusterVmwareNodePoolIamPolicy.go b/sdk/go/google/gkeonprem/v1/getVmwareClusterVmwareNodePoolIamPolicy.go index f643fa260a..09c89723f8 100644 --- a/sdk/go/google/gkeonprem/v1/getVmwareClusterVmwareNodePoolIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/getVmwareClusterVmwareNodePoolIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupVmwareClusterVmwareNodePoolIamPolicyResultOutput) ToLookupVmwareCl return o } +func (o LookupVmwareClusterVmwareNodePoolIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVmwareClusterVmwareNodePoolIamPolicyResult] { + return pulumix.Output[LookupVmwareClusterVmwareNodePoolIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupVmwareClusterVmwareNodePoolIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupVmwareClusterVmwareNodePoolIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/gkeonprem/v1/getVmwareNodePool.go b/sdk/go/google/gkeonprem/v1/getVmwareNodePool.go index b10a058d43..70aa5aa278 100644 --- a/sdk/go/google/gkeonprem/v1/getVmwareNodePool.go +++ b/sdk/go/google/gkeonprem/v1/getVmwareNodePool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single VMware node pool. @@ -98,6 +99,12 @@ func (o LookupVmwareNodePoolResultOutput) ToLookupVmwareNodePoolResultOutputWith return o } +func (o LookupVmwareNodePoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVmwareNodePoolResult] { + return pulumix.Output[LookupVmwareNodePoolResult]{ + OutputState: o.OutputState, + } +} + // Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. func (o LookupVmwareNodePoolResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupVmwareNodePoolResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/gkeonprem/v1/pulumiEnums.go b/sdk/go/google/gkeonprem/v1/pulumiEnums.go index 782d6a3cce..b3f07f237b 100644 --- a/sdk/go/google/gkeonprem/v1/pulumiEnums.go +++ b/sdk/go/google/gkeonprem/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Specifies the nodes operating system (default: LINUX). @@ -80,6 +81,12 @@ func (o BareMetalNodePoolConfigOperatingSystemOutput) ToBareMetalNodePoolConfigO }).(BareMetalNodePoolConfigOperatingSystemPtrOutput) } +func (o BareMetalNodePoolConfigOperatingSystemOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalNodePoolConfigOperatingSystem] { + return pulumix.Output[BareMetalNodePoolConfigOperatingSystem]{ + OutputState: o.OutputState, + } +} + func (o BareMetalNodePoolConfigOperatingSystemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o BareMetalNodePoolConfigOperatingSystemPtrOutput) ToBareMetalNodePoolConf return o } +func (o BareMetalNodePoolConfigOperatingSystemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalNodePoolConfigOperatingSystem] { + return pulumix.Output[*BareMetalNodePoolConfigOperatingSystem]{ + OutputState: o.OutputState, + } +} + func (o BareMetalNodePoolConfigOperatingSystemPtrOutput) Elem() BareMetalNodePoolConfigOperatingSystemOutput { return o.ApplyT(func(v *BareMetalNodePoolConfigOperatingSystem) BareMetalNodePoolConfigOperatingSystem { if v != nil { @@ -177,6 +190,12 @@ func (in *bareMetalNodePoolConfigOperatingSystemPtr) ToBareMetalNodePoolConfigOp return pulumi.ToOutputWithContext(ctx, in).(BareMetalNodePoolConfigOperatingSystemPtrOutput) } +func (in *bareMetalNodePoolConfigOperatingSystemPtr) ToOutput(ctx context.Context) pulumix.Output[*BareMetalNodePoolConfigOperatingSystem] { + return pulumix.Output[*BareMetalNodePoolConfigOperatingSystem]{ + OutputState: in.ToBareMetalNodePoolConfigOperatingSystemPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies which container runtime will be used. type BareMetalWorkloadNodeConfigContainerRuntime string @@ -247,6 +266,12 @@ func (o BareMetalWorkloadNodeConfigContainerRuntimeOutput) ToBareMetalWorkloadNo }).(BareMetalWorkloadNodeConfigContainerRuntimePtrOutput) } +func (o BareMetalWorkloadNodeConfigContainerRuntimeOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalWorkloadNodeConfigContainerRuntime] { + return pulumix.Output[BareMetalWorkloadNodeConfigContainerRuntime]{ + OutputState: o.OutputState, + } +} + func (o BareMetalWorkloadNodeConfigContainerRuntimeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -282,6 +307,12 @@ func (o BareMetalWorkloadNodeConfigContainerRuntimePtrOutput) ToBareMetalWorkloa return o } +func (o BareMetalWorkloadNodeConfigContainerRuntimePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalWorkloadNodeConfigContainerRuntime] { + return pulumix.Output[*BareMetalWorkloadNodeConfigContainerRuntime]{ + OutputState: o.OutputState, + } +} + func (o BareMetalWorkloadNodeConfigContainerRuntimePtrOutput) Elem() BareMetalWorkloadNodeConfigContainerRuntimeOutput { return o.ApplyT(func(v *BareMetalWorkloadNodeConfigContainerRuntime) BareMetalWorkloadNodeConfigContainerRuntime { if v != nil { @@ -344,6 +375,12 @@ func (in *bareMetalWorkloadNodeConfigContainerRuntimePtr) ToBareMetalWorkloadNod return pulumi.ToOutputWithContext(ctx, in).(BareMetalWorkloadNodeConfigContainerRuntimePtrOutput) } +func (in *bareMetalWorkloadNodeConfigContainerRuntimePtr) ToOutput(ctx context.Context) pulumix.Output[*BareMetalWorkloadNodeConfigContainerRuntime] { + return pulumix.Output[*BareMetalWorkloadNodeConfigContainerRuntime]{ + OutputState: in.ToBareMetalWorkloadNodeConfigContainerRuntimePtrOutputWithContext(ctx).OutputState, + } +} + // The taint effect. type NodeTaintEffect string @@ -418,6 +455,12 @@ func (o NodeTaintEffectOutput) ToNodeTaintEffectPtrOutputWithContext(ctx context }).(NodeTaintEffectPtrOutput) } +func (o NodeTaintEffectOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTaintEffect] { + return pulumix.Output[NodeTaintEffect]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintEffectOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -453,6 +496,12 @@ func (o NodeTaintEffectPtrOutput) ToNodeTaintEffectPtrOutputWithContext(ctx cont return o } +func (o NodeTaintEffectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeTaintEffect] { + return pulumix.Output[*NodeTaintEffect]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintEffectPtrOutput) Elem() NodeTaintEffectOutput { return o.ApplyT(func(v *NodeTaintEffect) NodeTaintEffect { if v != nil { @@ -515,6 +564,12 @@ func (in *nodeTaintEffectPtr) ToNodeTaintEffectPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(NodeTaintEffectPtrOutput) } +func (in *nodeTaintEffectPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeTaintEffect] { + return pulumix.Output[*NodeTaintEffect]{ + OutputState: in.ToNodeTaintEffectPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*BareMetalNodePoolConfigOperatingSystemInput)(nil)).Elem(), BareMetalNodePoolConfigOperatingSystem("OPERATING_SYSTEM_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*BareMetalNodePoolConfigOperatingSystemPtrInput)(nil)).Elem(), BareMetalNodePoolConfigOperatingSystem("OPERATING_SYSTEM_UNSPECIFIED")) diff --git a/sdk/go/google/gkeonprem/v1/pulumiTypes.go b/sdk/go/google/gkeonprem/v1/pulumiTypes.go index 5b7595e114..4b530128dd 100644 --- a/sdk/go/google/gkeonprem/v1/pulumiTypes.go +++ b/sdk/go/google/gkeonprem/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i AuthorizationArgs) ToAuthorizationOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AuthorizationOutput) } +func (i AuthorizationArgs) ToOutput(ctx context.Context) pulumix.Output[Authorization] { + return pulumix.Output[Authorization]{ + OutputState: i.ToAuthorizationOutputWithContext(ctx).OutputState, + } +} + func (i AuthorizationArgs) ToAuthorizationPtrOutput() AuthorizationPtrOutput { return i.ToAuthorizationPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *authorizationPtrType) ToAuthorizationPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AuthorizationPtrOutput) } +func (i *authorizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Authorization] { + return pulumix.Output[*Authorization]{ + OutputState: i.ToAuthorizationPtrOutputWithContext(ctx).OutputState, + } +} + // Authorization defines the On-Prem cluster authorization configuration to bootstrap onto the admin cluster. type AuthorizationOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o AuthorizationOutput) ToAuthorizationPtrOutputWithContext(ctx context.Con }).(AuthorizationPtrOutput) } +func (o AuthorizationOutput) ToOutput(ctx context.Context) pulumix.Output[Authorization] { + return pulumix.Output[Authorization]{ + OutputState: o.OutputState, + } +} + // For VMware user, bare metal user and standalone clusters, users that will be granted the cluster-admin role on the cluster, providing full access to the cluster. For bare metal Admin cluster, users will be granted the view role, which is a view only access. func (o AuthorizationOutput) AdminUsers() ClusterUserArrayOutput { return o.ApplyT(func(v Authorization) []ClusterUser { return v.AdminUsers }).(ClusterUserArrayOutput) @@ -133,6 +152,12 @@ func (o AuthorizationPtrOutput) ToAuthorizationPtrOutputWithContext(ctx context. return o } +func (o AuthorizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Authorization] { + return pulumix.Output[*Authorization]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationPtrOutput) Elem() AuthorizationOutput { return o.ApplyT(func(v *Authorization) Authorization { if v != nil { @@ -174,6 +199,12 @@ func (o AuthorizationResponseOutput) ToAuthorizationResponseOutputWithContext(ct return o } +func (o AuthorizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationResponse] { + return pulumix.Output[AuthorizationResponse]{ + OutputState: o.OutputState, + } +} + // For VMware user, bare metal user and standalone clusters, users that will be granted the cluster-admin role on the cluster, providing full access to the cluster. For bare metal Admin cluster, users will be granted the view role, which is a view only access. func (o AuthorizationResponseOutput) AdminUsers() ClusterUserResponseArrayOutput { return o.ApplyT(func(v AuthorizationResponse) []ClusterUserResponse { return v.AdminUsers }).(ClusterUserResponseArrayOutput) @@ -218,6 +249,12 @@ func (i BareMetalAdminApiServerArgumentArgs) ToBareMetalAdminApiServerArgumentOu return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminApiServerArgumentOutput) } +func (i BareMetalAdminApiServerArgumentArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminApiServerArgument] { + return pulumix.Output[BareMetalAdminApiServerArgument]{ + OutputState: i.ToBareMetalAdminApiServerArgumentOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminApiServerArgumentArrayInput is an input type that accepts BareMetalAdminApiServerArgumentArray and BareMetalAdminApiServerArgumentArrayOutput values. // You can construct a concrete instance of `BareMetalAdminApiServerArgumentArrayInput` via: // @@ -243,6 +280,12 @@ func (i BareMetalAdminApiServerArgumentArray) ToBareMetalAdminApiServerArgumentA return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminApiServerArgumentArrayOutput) } +func (i BareMetalAdminApiServerArgumentArray) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalAdminApiServerArgument] { + return pulumix.Output[[]BareMetalAdminApiServerArgument]{ + OutputState: i.ToBareMetalAdminApiServerArgumentArrayOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminApiServerArgument represents an arg name->value pair. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ type BareMetalAdminApiServerArgumentOutput struct{ *pulumi.OutputState } @@ -258,6 +301,12 @@ func (o BareMetalAdminApiServerArgumentOutput) ToBareMetalAdminApiServerArgument return o } +func (o BareMetalAdminApiServerArgumentOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminApiServerArgument] { + return pulumix.Output[BareMetalAdminApiServerArgument]{ + OutputState: o.OutputState, + } +} + // The argument name as it appears on the API Server command line please make sure to remove the leading dashes. func (o BareMetalAdminApiServerArgumentOutput) Argument() pulumi.StringOutput { return o.ApplyT(func(v BareMetalAdminApiServerArgument) string { return v.Argument }).(pulumi.StringOutput) @@ -282,6 +331,12 @@ func (o BareMetalAdminApiServerArgumentArrayOutput) ToBareMetalAdminApiServerArg return o } +func (o BareMetalAdminApiServerArgumentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalAdminApiServerArgument] { + return pulumix.Output[[]BareMetalAdminApiServerArgument]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminApiServerArgumentArrayOutput) Index(i pulumi.IntInput) BareMetalAdminApiServerArgumentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalAdminApiServerArgument { return vs[0].([]BareMetalAdminApiServerArgument)[vs[1].(int)] @@ -311,6 +366,12 @@ func (o BareMetalAdminApiServerArgumentResponseOutput) ToBareMetalAdminApiServer return o } +func (o BareMetalAdminApiServerArgumentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminApiServerArgumentResponse] { + return pulumix.Output[BareMetalAdminApiServerArgumentResponse]{ + OutputState: o.OutputState, + } +} + // The argument name as it appears on the API Server command line please make sure to remove the leading dashes. func (o BareMetalAdminApiServerArgumentResponseOutput) Argument() pulumi.StringOutput { return o.ApplyT(func(v BareMetalAdminApiServerArgumentResponse) string { return v.Argument }).(pulumi.StringOutput) @@ -335,6 +396,12 @@ func (o BareMetalAdminApiServerArgumentResponseArrayOutput) ToBareMetalAdminApiS return o } +func (o BareMetalAdminApiServerArgumentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalAdminApiServerArgumentResponse] { + return pulumix.Output[[]BareMetalAdminApiServerArgumentResponse]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminApiServerArgumentResponseArrayOutput) Index(i pulumi.IntInput) BareMetalAdminApiServerArgumentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalAdminApiServerArgumentResponse { return vs[0].([]BareMetalAdminApiServerArgumentResponse)[vs[1].(int)] @@ -376,6 +443,12 @@ func (i BareMetalAdminClusterOperationsConfigArgs) ToBareMetalAdminClusterOperat return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminClusterOperationsConfigOutput) } +func (i BareMetalAdminClusterOperationsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminClusterOperationsConfig] { + return pulumix.Output[BareMetalAdminClusterOperationsConfig]{ + OutputState: i.ToBareMetalAdminClusterOperationsConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminClusterOperationsConfigArgs) ToBareMetalAdminClusterOperationsConfigPtrOutput() BareMetalAdminClusterOperationsConfigPtrOutput { return i.ToBareMetalAdminClusterOperationsConfigPtrOutputWithContext(context.Background()) } @@ -417,6 +490,12 @@ func (i *bareMetalAdminClusterOperationsConfigPtrType) ToBareMetalAdminClusterOp return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminClusterOperationsConfigPtrOutput) } +func (i *bareMetalAdminClusterOperationsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminClusterOperationsConfig] { + return pulumix.Output[*BareMetalAdminClusterOperationsConfig]{ + OutputState: i.ToBareMetalAdminClusterOperationsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminClusterOperationsConfig specifies the admin cluster's observability infrastructure. type BareMetalAdminClusterOperationsConfigOutput struct{ *pulumi.OutputState } @@ -442,6 +521,12 @@ func (o BareMetalAdminClusterOperationsConfigOutput) ToBareMetalAdminClusterOper }).(BareMetalAdminClusterOperationsConfigPtrOutput) } +func (o BareMetalAdminClusterOperationsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminClusterOperationsConfig] { + return pulumix.Output[BareMetalAdminClusterOperationsConfig]{ + OutputState: o.OutputState, + } +} + // Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics). func (o BareMetalAdminClusterOperationsConfigOutput) EnableApplicationLogs() pulumi.BoolPtrOutput { return o.ApplyT(func(v BareMetalAdminClusterOperationsConfig) *bool { return v.EnableApplicationLogs }).(pulumi.BoolPtrOutput) @@ -461,6 +546,12 @@ func (o BareMetalAdminClusterOperationsConfigPtrOutput) ToBareMetalAdminClusterO return o } +func (o BareMetalAdminClusterOperationsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminClusterOperationsConfig] { + return pulumix.Output[*BareMetalAdminClusterOperationsConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminClusterOperationsConfigPtrOutput) Elem() BareMetalAdminClusterOperationsConfigOutput { return o.ApplyT(func(v *BareMetalAdminClusterOperationsConfig) BareMetalAdminClusterOperationsConfig { if v != nil { @@ -502,6 +593,12 @@ func (o BareMetalAdminClusterOperationsConfigResponseOutput) ToBareMetalAdminClu return o } +func (o BareMetalAdminClusterOperationsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminClusterOperationsConfigResponse] { + return pulumix.Output[BareMetalAdminClusterOperationsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics). func (o BareMetalAdminClusterOperationsConfigResponseOutput) EnableApplicationLogs() pulumi.BoolOutput { return o.ApplyT(func(v BareMetalAdminClusterOperationsConfigResponse) bool { return v.EnableApplicationLogs }).(pulumi.BoolOutput) @@ -546,6 +643,12 @@ func (i BareMetalAdminControlPlaneConfigArgs) ToBareMetalAdminControlPlaneConfig return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminControlPlaneConfigOutput) } +func (i BareMetalAdminControlPlaneConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminControlPlaneConfig] { + return pulumix.Output[BareMetalAdminControlPlaneConfig]{ + OutputState: i.ToBareMetalAdminControlPlaneConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminControlPlaneConfigArgs) ToBareMetalAdminControlPlaneConfigPtrOutput() BareMetalAdminControlPlaneConfigPtrOutput { return i.ToBareMetalAdminControlPlaneConfigPtrOutputWithContext(context.Background()) } @@ -587,6 +690,12 @@ func (i *bareMetalAdminControlPlaneConfigPtrType) ToBareMetalAdminControlPlaneCo return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminControlPlaneConfigPtrOutput) } +func (i *bareMetalAdminControlPlaneConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminControlPlaneConfig] { + return pulumix.Output[*BareMetalAdminControlPlaneConfig]{ + OutputState: i.ToBareMetalAdminControlPlaneConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminControlPlaneConfig specifies the control plane configuration. type BareMetalAdminControlPlaneConfigOutput struct{ *pulumi.OutputState } @@ -612,6 +721,12 @@ func (o BareMetalAdminControlPlaneConfigOutput) ToBareMetalAdminControlPlaneConf }).(BareMetalAdminControlPlaneConfigPtrOutput) } +func (o BareMetalAdminControlPlaneConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminControlPlaneConfig] { + return pulumix.Output[BareMetalAdminControlPlaneConfig]{ + OutputState: o.OutputState, + } +} + // Customizes the default API server args. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ func (o BareMetalAdminControlPlaneConfigOutput) ApiServerArgs() BareMetalAdminApiServerArgumentArrayOutput { return o.ApplyT(func(v BareMetalAdminControlPlaneConfig) []BareMetalAdminApiServerArgument { return v.ApiServerArgs }).(BareMetalAdminApiServerArgumentArrayOutput) @@ -638,6 +753,12 @@ func (o BareMetalAdminControlPlaneConfigPtrOutput) ToBareMetalAdminControlPlaneC return o } +func (o BareMetalAdminControlPlaneConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminControlPlaneConfig] { + return pulumix.Output[*BareMetalAdminControlPlaneConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminControlPlaneConfigPtrOutput) Elem() BareMetalAdminControlPlaneConfigOutput { return o.ApplyT(func(v *BareMetalAdminControlPlaneConfig) BareMetalAdminControlPlaneConfig { if v != nil { @@ -691,6 +812,12 @@ func (o BareMetalAdminControlPlaneConfigResponseOutput) ToBareMetalAdminControlP return o } +func (o BareMetalAdminControlPlaneConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminControlPlaneConfigResponse] { + return pulumix.Output[BareMetalAdminControlPlaneConfigResponse]{ + OutputState: o.OutputState, + } +} + // Customizes the default API server args. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ func (o BareMetalAdminControlPlaneConfigResponseOutput) ApiServerArgs() BareMetalAdminApiServerArgumentResponseArrayOutput { return o.ApplyT(func(v BareMetalAdminControlPlaneConfigResponse) []BareMetalAdminApiServerArgumentResponse { @@ -740,6 +867,12 @@ func (i BareMetalAdminControlPlaneNodePoolConfigArgs) ToBareMetalAdminControlPla return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminControlPlaneNodePoolConfigOutput) } +func (i BareMetalAdminControlPlaneNodePoolConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminControlPlaneNodePoolConfig] { + return pulumix.Output[BareMetalAdminControlPlaneNodePoolConfig]{ + OutputState: i.ToBareMetalAdminControlPlaneNodePoolConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminControlPlaneNodePoolConfigArgs) ToBareMetalAdminControlPlaneNodePoolConfigPtrOutput() BareMetalAdminControlPlaneNodePoolConfigPtrOutput { return i.ToBareMetalAdminControlPlaneNodePoolConfigPtrOutputWithContext(context.Background()) } @@ -781,6 +914,12 @@ func (i *bareMetalAdminControlPlaneNodePoolConfigPtrType) ToBareMetalAdminContro return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminControlPlaneNodePoolConfigPtrOutput) } +func (i *bareMetalAdminControlPlaneNodePoolConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminControlPlaneNodePoolConfig] { + return pulumix.Output[*BareMetalAdminControlPlaneNodePoolConfig]{ + OutputState: i.ToBareMetalAdminControlPlaneNodePoolConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminControlPlaneNodePoolConfig specifies the control plane node pool configuration. We have a control plane specific node pool config so that we can flexible about supporting control plane specific fields in the future. type BareMetalAdminControlPlaneNodePoolConfigOutput struct{ *pulumi.OutputState } @@ -806,6 +945,12 @@ func (o BareMetalAdminControlPlaneNodePoolConfigOutput) ToBareMetalAdminControlP }).(BareMetalAdminControlPlaneNodePoolConfigPtrOutput) } +func (o BareMetalAdminControlPlaneNodePoolConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminControlPlaneNodePoolConfig] { + return pulumix.Output[BareMetalAdminControlPlaneNodePoolConfig]{ + OutputState: o.OutputState, + } +} + // The generic configuration for a node pool running the control plane. func (o BareMetalAdminControlPlaneNodePoolConfigOutput) NodePoolConfig() BareMetalNodePoolConfigPtrOutput { return o.ApplyT(func(v BareMetalAdminControlPlaneNodePoolConfig) *BareMetalNodePoolConfig { return v.NodePoolConfig }).(BareMetalNodePoolConfigPtrOutput) @@ -825,6 +970,12 @@ func (o BareMetalAdminControlPlaneNodePoolConfigPtrOutput) ToBareMetalAdminContr return o } +func (o BareMetalAdminControlPlaneNodePoolConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminControlPlaneNodePoolConfig] { + return pulumix.Output[*BareMetalAdminControlPlaneNodePoolConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminControlPlaneNodePoolConfigPtrOutput) Elem() BareMetalAdminControlPlaneNodePoolConfigOutput { return o.ApplyT(func(v *BareMetalAdminControlPlaneNodePoolConfig) BareMetalAdminControlPlaneNodePoolConfig { if v != nil { @@ -866,6 +1017,12 @@ func (o BareMetalAdminControlPlaneNodePoolConfigResponseOutput) ToBareMetalAdmin return o } +func (o BareMetalAdminControlPlaneNodePoolConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminControlPlaneNodePoolConfigResponse] { + return pulumix.Output[BareMetalAdminControlPlaneNodePoolConfigResponse]{ + OutputState: o.OutputState, + } +} + // The generic configuration for a node pool running the control plane. func (o BareMetalAdminControlPlaneNodePoolConfigResponseOutput) NodePoolConfig() BareMetalNodePoolConfigResponseOutput { return o.ApplyT(func(v BareMetalAdminControlPlaneNodePoolConfigResponse) BareMetalNodePoolConfigResponse { @@ -894,6 +1051,12 @@ func (o BareMetalAdminDrainedMachineResponseOutput) ToBareMetalAdminDrainedMachi return o } +func (o BareMetalAdminDrainedMachineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminDrainedMachineResponse] { + return pulumix.Output[BareMetalAdminDrainedMachineResponse]{ + OutputState: o.OutputState, + } +} + // Drained machine IP address. func (o BareMetalAdminDrainedMachineResponseOutput) NodeIp() pulumi.StringOutput { return o.ApplyT(func(v BareMetalAdminDrainedMachineResponse) string { return v.NodeIp }).(pulumi.StringOutput) @@ -913,6 +1076,12 @@ func (o BareMetalAdminDrainedMachineResponseArrayOutput) ToBareMetalAdminDrained return o } +func (o BareMetalAdminDrainedMachineResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalAdminDrainedMachineResponse] { + return pulumix.Output[[]BareMetalAdminDrainedMachineResponse]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminDrainedMachineResponseArrayOutput) Index(i pulumi.IntInput) BareMetalAdminDrainedMachineResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalAdminDrainedMachineResponse { return vs[0].([]BareMetalAdminDrainedMachineResponse)[vs[1].(int)] @@ -942,6 +1111,12 @@ func (o BareMetalAdminDrainingMachineResponseOutput) ToBareMetalAdminDrainingMac return o } +func (o BareMetalAdminDrainingMachineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminDrainingMachineResponse] { + return pulumix.Output[BareMetalAdminDrainingMachineResponse]{ + OutputState: o.OutputState, + } +} + // Draining machine IP address. func (o BareMetalAdminDrainingMachineResponseOutput) NodeIp() pulumi.StringOutput { return o.ApplyT(func(v BareMetalAdminDrainingMachineResponse) string { return v.NodeIp }).(pulumi.StringOutput) @@ -966,6 +1141,12 @@ func (o BareMetalAdminDrainingMachineResponseArrayOutput) ToBareMetalAdminDraini return o } +func (o BareMetalAdminDrainingMachineResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalAdminDrainingMachineResponse] { + return pulumix.Output[[]BareMetalAdminDrainingMachineResponse]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminDrainingMachineResponseArrayOutput) Index(i pulumi.IntInput) BareMetalAdminDrainingMachineResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalAdminDrainingMachineResponse { return vs[0].([]BareMetalAdminDrainingMachineResponse)[vs[1].(int)] @@ -1011,6 +1192,12 @@ func (i BareMetalAdminIslandModeCidrConfigArgs) ToBareMetalAdminIslandModeCidrCo return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminIslandModeCidrConfigOutput) } +func (i BareMetalAdminIslandModeCidrConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminIslandModeCidrConfig] { + return pulumix.Output[BareMetalAdminIslandModeCidrConfig]{ + OutputState: i.ToBareMetalAdminIslandModeCidrConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminIslandModeCidrConfigArgs) ToBareMetalAdminIslandModeCidrConfigPtrOutput() BareMetalAdminIslandModeCidrConfigPtrOutput { return i.ToBareMetalAdminIslandModeCidrConfigPtrOutputWithContext(context.Background()) } @@ -1052,6 +1239,12 @@ func (i *bareMetalAdminIslandModeCidrConfigPtrType) ToBareMetalAdminIslandModeCi return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminIslandModeCidrConfigPtrOutput) } +func (i *bareMetalAdminIslandModeCidrConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminIslandModeCidrConfig] { + return pulumix.Output[*BareMetalAdminIslandModeCidrConfig]{ + OutputState: i.ToBareMetalAdminIslandModeCidrConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminIslandModeCidrConfig specifies the cluster CIDR configuration while running in island mode. type BareMetalAdminIslandModeCidrConfigOutput struct{ *pulumi.OutputState } @@ -1077,6 +1270,12 @@ func (o BareMetalAdminIslandModeCidrConfigOutput) ToBareMetalAdminIslandModeCidr }).(BareMetalAdminIslandModeCidrConfigPtrOutput) } +func (o BareMetalAdminIslandModeCidrConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminIslandModeCidrConfig] { + return pulumix.Output[BareMetalAdminIslandModeCidrConfig]{ + OutputState: o.OutputState, + } +} + // All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation. func (o BareMetalAdminIslandModeCidrConfigOutput) PodAddressCidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalAdminIslandModeCidrConfig) []string { return v.PodAddressCidrBlocks }).(pulumi.StringArrayOutput) @@ -1101,6 +1300,12 @@ func (o BareMetalAdminIslandModeCidrConfigPtrOutput) ToBareMetalAdminIslandModeC return o } +func (o BareMetalAdminIslandModeCidrConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminIslandModeCidrConfig] { + return pulumix.Output[*BareMetalAdminIslandModeCidrConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminIslandModeCidrConfigPtrOutput) Elem() BareMetalAdminIslandModeCidrConfigOutput { return o.ApplyT(func(v *BareMetalAdminIslandModeCidrConfig) BareMetalAdminIslandModeCidrConfig { if v != nil { @@ -1154,6 +1359,12 @@ func (o BareMetalAdminIslandModeCidrConfigResponseOutput) ToBareMetalAdminIsland return o } +func (o BareMetalAdminIslandModeCidrConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminIslandModeCidrConfigResponse] { + return pulumix.Output[BareMetalAdminIslandModeCidrConfigResponse]{ + OutputState: o.OutputState, + } +} + // All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation. func (o BareMetalAdminIslandModeCidrConfigResponseOutput) PodAddressCidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalAdminIslandModeCidrConfigResponse) []string { return v.PodAddressCidrBlocks }).(pulumi.StringArrayOutput) @@ -1207,6 +1418,12 @@ func (i BareMetalAdminLoadBalancerConfigArgs) ToBareMetalAdminLoadBalancerConfig return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminLoadBalancerConfigOutput) } +func (i BareMetalAdminLoadBalancerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminLoadBalancerConfig] { + return pulumix.Output[BareMetalAdminLoadBalancerConfig]{ + OutputState: i.ToBareMetalAdminLoadBalancerConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminLoadBalancerConfigArgs) ToBareMetalAdminLoadBalancerConfigPtrOutput() BareMetalAdminLoadBalancerConfigPtrOutput { return i.ToBareMetalAdminLoadBalancerConfigPtrOutputWithContext(context.Background()) } @@ -1248,6 +1465,12 @@ func (i *bareMetalAdminLoadBalancerConfigPtrType) ToBareMetalAdminLoadBalancerCo return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminLoadBalancerConfigPtrOutput) } +func (i *bareMetalAdminLoadBalancerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminLoadBalancerConfig] { + return pulumix.Output[*BareMetalAdminLoadBalancerConfig]{ + OutputState: i.ToBareMetalAdminLoadBalancerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminLoadBalancerConfig specifies the load balancer configuration. type BareMetalAdminLoadBalancerConfigOutput struct{ *pulumi.OutputState } @@ -1273,6 +1496,12 @@ func (o BareMetalAdminLoadBalancerConfigOutput) ToBareMetalAdminLoadBalancerConf }).(BareMetalAdminLoadBalancerConfigPtrOutput) } +func (o BareMetalAdminLoadBalancerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminLoadBalancerConfig] { + return pulumix.Output[BareMetalAdminLoadBalancerConfig]{ + OutputState: o.OutputState, + } +} + // Manually configured load balancers. func (o BareMetalAdminLoadBalancerConfigOutput) ManualLbConfig() BareMetalAdminManualLbConfigPtrOutput { return o.ApplyT(func(v BareMetalAdminLoadBalancerConfig) *BareMetalAdminManualLbConfig { return v.ManualLbConfig }).(BareMetalAdminManualLbConfigPtrOutput) @@ -1302,6 +1531,12 @@ func (o BareMetalAdminLoadBalancerConfigPtrOutput) ToBareMetalAdminLoadBalancerC return o } +func (o BareMetalAdminLoadBalancerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminLoadBalancerConfig] { + return pulumix.Output[*BareMetalAdminLoadBalancerConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminLoadBalancerConfigPtrOutput) Elem() BareMetalAdminLoadBalancerConfigOutput { return o.ApplyT(func(v *BareMetalAdminLoadBalancerConfig) BareMetalAdminLoadBalancerConfig { if v != nil { @@ -1367,6 +1602,12 @@ func (o BareMetalAdminLoadBalancerConfigResponseOutput) ToBareMetalAdminLoadBala return o } +func (o BareMetalAdminLoadBalancerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminLoadBalancerConfigResponse] { + return pulumix.Output[BareMetalAdminLoadBalancerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Manually configured load balancers. func (o BareMetalAdminLoadBalancerConfigResponseOutput) ManualLbConfig() BareMetalAdminManualLbConfigResponseOutput { return o.ApplyT(func(v BareMetalAdminLoadBalancerConfigResponse) BareMetalAdminManualLbConfigResponse { @@ -1407,6 +1648,12 @@ func (o BareMetalAdminMachineDrainStatusResponseOutput) ToBareMetalAdminMachineD return o } +func (o BareMetalAdminMachineDrainStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminMachineDrainStatusResponse] { + return pulumix.Output[BareMetalAdminMachineDrainStatusResponse]{ + OutputState: o.OutputState, + } +} + // The list of drained machines. func (o BareMetalAdminMachineDrainStatusResponseOutput) DrainedMachines() BareMetalAdminDrainedMachineResponseArrayOutput { return o.ApplyT(func(v BareMetalAdminMachineDrainStatusResponse) []BareMetalAdminDrainedMachineResponse { @@ -1456,6 +1703,12 @@ func (i BareMetalAdminMaintenanceConfigArgs) ToBareMetalAdminMaintenanceConfigOu return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminMaintenanceConfigOutput) } +func (i BareMetalAdminMaintenanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminMaintenanceConfig] { + return pulumix.Output[BareMetalAdminMaintenanceConfig]{ + OutputState: i.ToBareMetalAdminMaintenanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminMaintenanceConfigArgs) ToBareMetalAdminMaintenanceConfigPtrOutput() BareMetalAdminMaintenanceConfigPtrOutput { return i.ToBareMetalAdminMaintenanceConfigPtrOutputWithContext(context.Background()) } @@ -1497,6 +1750,12 @@ func (i *bareMetalAdminMaintenanceConfigPtrType) ToBareMetalAdminMaintenanceConf return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminMaintenanceConfigPtrOutput) } +func (i *bareMetalAdminMaintenanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminMaintenanceConfig] { + return pulumix.Output[*BareMetalAdminMaintenanceConfig]{ + OutputState: i.ToBareMetalAdminMaintenanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminMaintenanceConfig specifies configurations to put bare metal Admin cluster CRs nodes in and out of maintenance. type BareMetalAdminMaintenanceConfigOutput struct{ *pulumi.OutputState } @@ -1522,6 +1781,12 @@ func (o BareMetalAdminMaintenanceConfigOutput) ToBareMetalAdminMaintenanceConfig }).(BareMetalAdminMaintenanceConfigPtrOutput) } +func (o BareMetalAdminMaintenanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminMaintenanceConfig] { + return pulumix.Output[BareMetalAdminMaintenanceConfig]{ + OutputState: o.OutputState, + } +} + // All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource. func (o BareMetalAdminMaintenanceConfigOutput) MaintenanceAddressCidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalAdminMaintenanceConfig) []string { return v.MaintenanceAddressCidrBlocks }).(pulumi.StringArrayOutput) @@ -1541,6 +1806,12 @@ func (o BareMetalAdminMaintenanceConfigPtrOutput) ToBareMetalAdminMaintenanceCon return o } +func (o BareMetalAdminMaintenanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminMaintenanceConfig] { + return pulumix.Output[*BareMetalAdminMaintenanceConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminMaintenanceConfigPtrOutput) Elem() BareMetalAdminMaintenanceConfigOutput { return o.ApplyT(func(v *BareMetalAdminMaintenanceConfig) BareMetalAdminMaintenanceConfig { if v != nil { @@ -1582,6 +1853,12 @@ func (o BareMetalAdminMaintenanceConfigResponseOutput) ToBareMetalAdminMaintenan return o } +func (o BareMetalAdminMaintenanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminMaintenanceConfigResponse] { + return pulumix.Output[BareMetalAdminMaintenanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource. func (o BareMetalAdminMaintenanceConfigResponseOutput) MaintenanceAddressCidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalAdminMaintenanceConfigResponse) []string { return v.MaintenanceAddressCidrBlocks }).(pulumi.StringArrayOutput) @@ -1608,6 +1885,12 @@ func (o BareMetalAdminMaintenanceStatusResponseOutput) ToBareMetalAdminMaintenan return o } +func (o BareMetalAdminMaintenanceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminMaintenanceStatusResponse] { + return pulumix.Output[BareMetalAdminMaintenanceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Represents the status of draining and drained machine nodes. This is used to show the progress of cluster upgrade. func (o BareMetalAdminMaintenanceStatusResponseOutput) MachineDrainStatus() BareMetalAdminMachineDrainStatusResponseOutput { return o.ApplyT(func(v BareMetalAdminMaintenanceStatusResponse) BareMetalAdminMachineDrainStatusResponse { @@ -1650,6 +1933,12 @@ func (i BareMetalAdminManualLbConfigArgs) ToBareMetalAdminManualLbConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminManualLbConfigOutput) } +func (i BareMetalAdminManualLbConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminManualLbConfig] { + return pulumix.Output[BareMetalAdminManualLbConfig]{ + OutputState: i.ToBareMetalAdminManualLbConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminManualLbConfigArgs) ToBareMetalAdminManualLbConfigPtrOutput() BareMetalAdminManualLbConfigPtrOutput { return i.ToBareMetalAdminManualLbConfigPtrOutputWithContext(context.Background()) } @@ -1691,6 +1980,12 @@ func (i *bareMetalAdminManualLbConfigPtrType) ToBareMetalAdminManualLbConfigPtrO return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminManualLbConfigPtrOutput) } +func (i *bareMetalAdminManualLbConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminManualLbConfig] { + return pulumix.Output[*BareMetalAdminManualLbConfig]{ + OutputState: i.ToBareMetalAdminManualLbConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminManualLbConfig represents configuration parameters for a manual load balancer. type BareMetalAdminManualLbConfigOutput struct{ *pulumi.OutputState } @@ -1716,6 +2011,12 @@ func (o BareMetalAdminManualLbConfigOutput) ToBareMetalAdminManualLbConfigPtrOut }).(BareMetalAdminManualLbConfigPtrOutput) } +func (o BareMetalAdminManualLbConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminManualLbConfig] { + return pulumix.Output[BareMetalAdminManualLbConfig]{ + OutputState: o.OutputState, + } +} + // Whether manual load balancing is enabled. func (o BareMetalAdminManualLbConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BareMetalAdminManualLbConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -1735,6 +2036,12 @@ func (o BareMetalAdminManualLbConfigPtrOutput) ToBareMetalAdminManualLbConfigPtr return o } +func (o BareMetalAdminManualLbConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminManualLbConfig] { + return pulumix.Output[*BareMetalAdminManualLbConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminManualLbConfigPtrOutput) Elem() BareMetalAdminManualLbConfigOutput { return o.ApplyT(func(v *BareMetalAdminManualLbConfig) BareMetalAdminManualLbConfig { if v != nil { @@ -1776,6 +2083,12 @@ func (o BareMetalAdminManualLbConfigResponseOutput) ToBareMetalAdminManualLbConf return o } +func (o BareMetalAdminManualLbConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminManualLbConfigResponse] { + return pulumix.Output[BareMetalAdminManualLbConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether manual load balancing is enabled. func (o BareMetalAdminManualLbConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BareMetalAdminManualLbConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -1816,6 +2129,12 @@ func (i BareMetalAdminNetworkConfigArgs) ToBareMetalAdminNetworkConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminNetworkConfigOutput) } +func (i BareMetalAdminNetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminNetworkConfig] { + return pulumix.Output[BareMetalAdminNetworkConfig]{ + OutputState: i.ToBareMetalAdminNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminNetworkConfigArgs) ToBareMetalAdminNetworkConfigPtrOutput() BareMetalAdminNetworkConfigPtrOutput { return i.ToBareMetalAdminNetworkConfigPtrOutputWithContext(context.Background()) } @@ -1857,6 +2176,12 @@ func (i *bareMetalAdminNetworkConfigPtrType) ToBareMetalAdminNetworkConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminNetworkConfigPtrOutput) } +func (i *bareMetalAdminNetworkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminNetworkConfig] { + return pulumix.Output[*BareMetalAdminNetworkConfig]{ + OutputState: i.ToBareMetalAdminNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminNetworkConfig specifies the cluster network configuration. type BareMetalAdminNetworkConfigOutput struct{ *pulumi.OutputState } @@ -1882,6 +2207,12 @@ func (o BareMetalAdminNetworkConfigOutput) ToBareMetalAdminNetworkConfigPtrOutpu }).(BareMetalAdminNetworkConfigPtrOutput) } +func (o BareMetalAdminNetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminNetworkConfig] { + return pulumix.Output[BareMetalAdminNetworkConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for Island mode CIDR. func (o BareMetalAdminNetworkConfigOutput) IslandModeCidr() BareMetalAdminIslandModeCidrConfigPtrOutput { return o.ApplyT(func(v BareMetalAdminNetworkConfig) *BareMetalAdminIslandModeCidrConfig { return v.IslandModeCidr }).(BareMetalAdminIslandModeCidrConfigPtrOutput) @@ -1901,6 +2232,12 @@ func (o BareMetalAdminNetworkConfigPtrOutput) ToBareMetalAdminNetworkConfigPtrOu return o } +func (o BareMetalAdminNetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminNetworkConfig] { + return pulumix.Output[*BareMetalAdminNetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminNetworkConfigPtrOutput) Elem() BareMetalAdminNetworkConfigOutput { return o.ApplyT(func(v *BareMetalAdminNetworkConfig) BareMetalAdminNetworkConfig { if v != nil { @@ -1942,6 +2279,12 @@ func (o BareMetalAdminNetworkConfigResponseOutput) ToBareMetalAdminNetworkConfig return o } +func (o BareMetalAdminNetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminNetworkConfigResponse] { + return pulumix.Output[BareMetalAdminNetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for Island mode CIDR. func (o BareMetalAdminNetworkConfigResponseOutput) IslandModeCidr() BareMetalAdminIslandModeCidrConfigResponseOutput { return o.ApplyT(func(v BareMetalAdminNetworkConfigResponse) BareMetalAdminIslandModeCidrConfigResponse { @@ -1984,6 +2327,12 @@ func (i BareMetalAdminNodeAccessConfigArgs) ToBareMetalAdminNodeAccessConfigOutp return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminNodeAccessConfigOutput) } +func (i BareMetalAdminNodeAccessConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminNodeAccessConfig] { + return pulumix.Output[BareMetalAdminNodeAccessConfig]{ + OutputState: i.ToBareMetalAdminNodeAccessConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminNodeAccessConfigArgs) ToBareMetalAdminNodeAccessConfigPtrOutput() BareMetalAdminNodeAccessConfigPtrOutput { return i.ToBareMetalAdminNodeAccessConfigPtrOutputWithContext(context.Background()) } @@ -2025,6 +2374,12 @@ func (i *bareMetalAdminNodeAccessConfigPtrType) ToBareMetalAdminNodeAccessConfig return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminNodeAccessConfigPtrOutput) } +func (i *bareMetalAdminNodeAccessConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminNodeAccessConfig] { + return pulumix.Output[*BareMetalAdminNodeAccessConfig]{ + OutputState: i.ToBareMetalAdminNodeAccessConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the node access related settings for the bare metal admin cluster. type BareMetalAdminNodeAccessConfigOutput struct{ *pulumi.OutputState } @@ -2050,6 +2405,12 @@ func (o BareMetalAdminNodeAccessConfigOutput) ToBareMetalAdminNodeAccessConfigPt }).(BareMetalAdminNodeAccessConfigPtrOutput) } +func (o BareMetalAdminNodeAccessConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminNodeAccessConfig] { + return pulumix.Output[BareMetalAdminNodeAccessConfig]{ + OutputState: o.OutputState, + } +} + // LoginUser is the user name used to access node machines. It defaults to "root" if not set. func (o BareMetalAdminNodeAccessConfigOutput) LoginUser() pulumi.StringOutput { return o.ApplyT(func(v BareMetalAdminNodeAccessConfig) string { return v.LoginUser }).(pulumi.StringOutput) @@ -2069,6 +2430,12 @@ func (o BareMetalAdminNodeAccessConfigPtrOutput) ToBareMetalAdminNodeAccessConfi return o } +func (o BareMetalAdminNodeAccessConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminNodeAccessConfig] { + return pulumix.Output[*BareMetalAdminNodeAccessConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminNodeAccessConfigPtrOutput) Elem() BareMetalAdminNodeAccessConfigOutput { return o.ApplyT(func(v *BareMetalAdminNodeAccessConfig) BareMetalAdminNodeAccessConfig { if v != nil { @@ -2110,6 +2477,12 @@ func (o BareMetalAdminNodeAccessConfigResponseOutput) ToBareMetalAdminNodeAccess return o } +func (o BareMetalAdminNodeAccessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminNodeAccessConfigResponse] { + return pulumix.Output[BareMetalAdminNodeAccessConfigResponse]{ + OutputState: o.OutputState, + } +} + // LoginUser is the user name used to access node machines. It defaults to "root" if not set. func (o BareMetalAdminNodeAccessConfigResponseOutput) LoginUser() pulumi.StringOutput { return o.ApplyT(func(v BareMetalAdminNodeAccessConfigResponse) string { return v.LoginUser }).(pulumi.StringOutput) @@ -2150,6 +2523,12 @@ func (i BareMetalAdminOsEnvironmentConfigArgs) ToBareMetalAdminOsEnvironmentConf return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminOsEnvironmentConfigOutput) } +func (i BareMetalAdminOsEnvironmentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminOsEnvironmentConfig] { + return pulumix.Output[BareMetalAdminOsEnvironmentConfig]{ + OutputState: i.ToBareMetalAdminOsEnvironmentConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminOsEnvironmentConfigArgs) ToBareMetalAdminOsEnvironmentConfigPtrOutput() BareMetalAdminOsEnvironmentConfigPtrOutput { return i.ToBareMetalAdminOsEnvironmentConfigPtrOutputWithContext(context.Background()) } @@ -2191,6 +2570,12 @@ func (i *bareMetalAdminOsEnvironmentConfigPtrType) ToBareMetalAdminOsEnvironment return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminOsEnvironmentConfigPtrOutput) } +func (i *bareMetalAdminOsEnvironmentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminOsEnvironmentConfig] { + return pulumix.Output[*BareMetalAdminOsEnvironmentConfig]{ + OutputState: i.ToBareMetalAdminOsEnvironmentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies operating system operation settings for cluster provisioning. type BareMetalAdminOsEnvironmentConfigOutput struct{ *pulumi.OutputState } @@ -2216,6 +2601,12 @@ func (o BareMetalAdminOsEnvironmentConfigOutput) ToBareMetalAdminOsEnvironmentCo }).(BareMetalAdminOsEnvironmentConfigPtrOutput) } +func (o BareMetalAdminOsEnvironmentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminOsEnvironmentConfig] { + return pulumix.Output[BareMetalAdminOsEnvironmentConfig]{ + OutputState: o.OutputState, + } +} + // Whether the package repo should be added when initializing bare metal machines. func (o BareMetalAdminOsEnvironmentConfigOutput) PackageRepoExcluded() pulumi.BoolPtrOutput { return o.ApplyT(func(v BareMetalAdminOsEnvironmentConfig) *bool { return v.PackageRepoExcluded }).(pulumi.BoolPtrOutput) @@ -2235,6 +2626,12 @@ func (o BareMetalAdminOsEnvironmentConfigPtrOutput) ToBareMetalAdminOsEnvironmen return o } +func (o BareMetalAdminOsEnvironmentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminOsEnvironmentConfig] { + return pulumix.Output[*BareMetalAdminOsEnvironmentConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminOsEnvironmentConfigPtrOutput) Elem() BareMetalAdminOsEnvironmentConfigOutput { return o.ApplyT(func(v *BareMetalAdminOsEnvironmentConfig) BareMetalAdminOsEnvironmentConfig { if v != nil { @@ -2276,6 +2673,12 @@ func (o BareMetalAdminOsEnvironmentConfigResponseOutput) ToBareMetalAdminOsEnvir return o } +func (o BareMetalAdminOsEnvironmentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminOsEnvironmentConfigResponse] { + return pulumix.Output[BareMetalAdminOsEnvironmentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the package repo should be added when initializing bare metal machines. func (o BareMetalAdminOsEnvironmentConfigResponseOutput) PackageRepoExcluded() pulumi.BoolOutput { return o.ApplyT(func(v BareMetalAdminOsEnvironmentConfigResponse) bool { return v.PackageRepoExcluded }).(pulumi.BoolOutput) @@ -2316,6 +2719,12 @@ func (i BareMetalAdminPortConfigArgs) ToBareMetalAdminPortConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminPortConfigOutput) } +func (i BareMetalAdminPortConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminPortConfig] { + return pulumix.Output[BareMetalAdminPortConfig]{ + OutputState: i.ToBareMetalAdminPortConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminPortConfigArgs) ToBareMetalAdminPortConfigPtrOutput() BareMetalAdminPortConfigPtrOutput { return i.ToBareMetalAdminPortConfigPtrOutputWithContext(context.Background()) } @@ -2357,6 +2766,12 @@ func (i *bareMetalAdminPortConfigPtrType) ToBareMetalAdminPortConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminPortConfigPtrOutput) } +func (i *bareMetalAdminPortConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminPortConfig] { + return pulumix.Output[*BareMetalAdminPortConfig]{ + OutputState: i.ToBareMetalAdminPortConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminPortConfig is the specification of load balancer ports. type BareMetalAdminPortConfigOutput struct{ *pulumi.OutputState } @@ -2382,6 +2797,12 @@ func (o BareMetalAdminPortConfigOutput) ToBareMetalAdminPortConfigPtrOutputWithC }).(BareMetalAdminPortConfigPtrOutput) } +func (o BareMetalAdminPortConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminPortConfig] { + return pulumix.Output[BareMetalAdminPortConfig]{ + OutputState: o.OutputState, + } +} + // The port that control plane hosted load balancers will listen on. func (o BareMetalAdminPortConfigOutput) ControlPlaneLoadBalancerPort() pulumi.IntPtrOutput { return o.ApplyT(func(v BareMetalAdminPortConfig) *int { return v.ControlPlaneLoadBalancerPort }).(pulumi.IntPtrOutput) @@ -2401,6 +2822,12 @@ func (o BareMetalAdminPortConfigPtrOutput) ToBareMetalAdminPortConfigPtrOutputWi return o } +func (o BareMetalAdminPortConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminPortConfig] { + return pulumix.Output[*BareMetalAdminPortConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminPortConfigPtrOutput) Elem() BareMetalAdminPortConfigOutput { return o.ApplyT(func(v *BareMetalAdminPortConfig) BareMetalAdminPortConfig { if v != nil { @@ -2442,6 +2869,12 @@ func (o BareMetalAdminPortConfigResponseOutput) ToBareMetalAdminPortConfigRespon return o } +func (o BareMetalAdminPortConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminPortConfigResponse] { + return pulumix.Output[BareMetalAdminPortConfigResponse]{ + OutputState: o.OutputState, + } +} + // The port that control plane hosted load balancers will listen on. func (o BareMetalAdminPortConfigResponseOutput) ControlPlaneLoadBalancerPort() pulumi.IntOutput { return o.ApplyT(func(v BareMetalAdminPortConfigResponse) int { return v.ControlPlaneLoadBalancerPort }).(pulumi.IntOutput) @@ -2486,6 +2919,12 @@ func (i BareMetalAdminProxyConfigArgs) ToBareMetalAdminProxyConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminProxyConfigOutput) } +func (i BareMetalAdminProxyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminProxyConfig] { + return pulumix.Output[BareMetalAdminProxyConfig]{ + OutputState: i.ToBareMetalAdminProxyConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminProxyConfigArgs) ToBareMetalAdminProxyConfigPtrOutput() BareMetalAdminProxyConfigPtrOutput { return i.ToBareMetalAdminProxyConfigPtrOutputWithContext(context.Background()) } @@ -2527,6 +2966,12 @@ func (i *bareMetalAdminProxyConfigPtrType) ToBareMetalAdminProxyConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminProxyConfigPtrOutput) } +func (i *bareMetalAdminProxyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminProxyConfig] { + return pulumix.Output[*BareMetalAdminProxyConfig]{ + OutputState: i.ToBareMetalAdminProxyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminProxyConfig specifies the cluster proxy configuration. type BareMetalAdminProxyConfigOutput struct{ *pulumi.OutputState } @@ -2552,6 +2997,12 @@ func (o BareMetalAdminProxyConfigOutput) ToBareMetalAdminProxyConfigPtrOutputWit }).(BareMetalAdminProxyConfigPtrOutput) } +func (o BareMetalAdminProxyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminProxyConfig] { + return pulumix.Output[BareMetalAdminProxyConfig]{ + OutputState: o.OutputState, + } +} + // A list of IPs, hostnames, and domains that should skip the proxy. Examples: ["127.0.0.1", "example.com", ".corp", "localhost"]. func (o BareMetalAdminProxyConfigOutput) NoProxy() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalAdminProxyConfig) []string { return v.NoProxy }).(pulumi.StringArrayOutput) @@ -2576,6 +3027,12 @@ func (o BareMetalAdminProxyConfigPtrOutput) ToBareMetalAdminProxyConfigPtrOutput return o } +func (o BareMetalAdminProxyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminProxyConfig] { + return pulumix.Output[*BareMetalAdminProxyConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminProxyConfigPtrOutput) Elem() BareMetalAdminProxyConfigOutput { return o.ApplyT(func(v *BareMetalAdminProxyConfig) BareMetalAdminProxyConfig { if v != nil { @@ -2629,6 +3086,12 @@ func (o BareMetalAdminProxyConfigResponseOutput) ToBareMetalAdminProxyConfigResp return o } +func (o BareMetalAdminProxyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminProxyConfigResponse] { + return pulumix.Output[BareMetalAdminProxyConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of IPs, hostnames, and domains that should skip the proxy. Examples: ["127.0.0.1", "example.com", ".corp", "localhost"]. func (o BareMetalAdminProxyConfigResponseOutput) NoProxy() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalAdminProxyConfigResponse) []string { return v.NoProxy }).(pulumi.StringArrayOutput) @@ -2674,6 +3137,12 @@ func (i BareMetalAdminSecurityConfigArgs) ToBareMetalAdminSecurityConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminSecurityConfigOutput) } +func (i BareMetalAdminSecurityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminSecurityConfig] { + return pulumix.Output[BareMetalAdminSecurityConfig]{ + OutputState: i.ToBareMetalAdminSecurityConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminSecurityConfigArgs) ToBareMetalAdminSecurityConfigPtrOutput() BareMetalAdminSecurityConfigPtrOutput { return i.ToBareMetalAdminSecurityConfigPtrOutputWithContext(context.Background()) } @@ -2715,6 +3184,12 @@ func (i *bareMetalAdminSecurityConfigPtrType) ToBareMetalAdminSecurityConfigPtrO return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminSecurityConfigPtrOutput) } +func (i *bareMetalAdminSecurityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminSecurityConfig] { + return pulumix.Output[*BareMetalAdminSecurityConfig]{ + OutputState: i.ToBareMetalAdminSecurityConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the security related settings for the bare metal admin cluster. type BareMetalAdminSecurityConfigOutput struct{ *pulumi.OutputState } @@ -2740,6 +3215,12 @@ func (o BareMetalAdminSecurityConfigOutput) ToBareMetalAdminSecurityConfigPtrOut }).(BareMetalAdminSecurityConfigPtrOutput) } +func (o BareMetalAdminSecurityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminSecurityConfig] { + return pulumix.Output[BareMetalAdminSecurityConfig]{ + OutputState: o.OutputState, + } +} + // Configures user access to the admin cluster. func (o BareMetalAdminSecurityConfigOutput) Authorization() AuthorizationPtrOutput { return o.ApplyT(func(v BareMetalAdminSecurityConfig) *Authorization { return v.Authorization }).(AuthorizationPtrOutput) @@ -2759,6 +3240,12 @@ func (o BareMetalAdminSecurityConfigPtrOutput) ToBareMetalAdminSecurityConfigPtr return o } +func (o BareMetalAdminSecurityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminSecurityConfig] { + return pulumix.Output[*BareMetalAdminSecurityConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminSecurityConfigPtrOutput) Elem() BareMetalAdminSecurityConfigOutput { return o.ApplyT(func(v *BareMetalAdminSecurityConfig) BareMetalAdminSecurityConfig { if v != nil { @@ -2800,6 +3287,12 @@ func (o BareMetalAdminSecurityConfigResponseOutput) ToBareMetalAdminSecurityConf return o } +func (o BareMetalAdminSecurityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminSecurityConfigResponse] { + return pulumix.Output[BareMetalAdminSecurityConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configures user access to the admin cluster. func (o BareMetalAdminSecurityConfigResponseOutput) Authorization() AuthorizationResponseOutput { return o.ApplyT(func(v BareMetalAdminSecurityConfigResponse) AuthorizationResponse { return v.Authorization }).(AuthorizationResponseOutput) @@ -2844,6 +3337,12 @@ func (i BareMetalAdminStorageConfigArgs) ToBareMetalAdminStorageConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminStorageConfigOutput) } +func (i BareMetalAdminStorageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminStorageConfig] { + return pulumix.Output[BareMetalAdminStorageConfig]{ + OutputState: i.ToBareMetalAdminStorageConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminStorageConfigArgs) ToBareMetalAdminStorageConfigPtrOutput() BareMetalAdminStorageConfigPtrOutput { return i.ToBareMetalAdminStorageConfigPtrOutputWithContext(context.Background()) } @@ -2885,6 +3384,12 @@ func (i *bareMetalAdminStorageConfigPtrType) ToBareMetalAdminStorageConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminStorageConfigPtrOutput) } +func (i *bareMetalAdminStorageConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminStorageConfig] { + return pulumix.Output[*BareMetalAdminStorageConfig]{ + OutputState: i.ToBareMetalAdminStorageConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminStorageConfig specifies the cluster storage configuration. type BareMetalAdminStorageConfigOutput struct{ *pulumi.OutputState } @@ -2910,6 +3415,12 @@ func (o BareMetalAdminStorageConfigOutput) ToBareMetalAdminStorageConfigPtrOutpu }).(BareMetalAdminStorageConfigPtrOutput) } +func (o BareMetalAdminStorageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminStorageConfig] { + return pulumix.Output[BareMetalAdminStorageConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation. func (o BareMetalAdminStorageConfigOutput) LvpNodeMountsConfig() BareMetalLvpConfigOutput { return o.ApplyT(func(v BareMetalAdminStorageConfig) BareMetalLvpConfig { return v.LvpNodeMountsConfig }).(BareMetalLvpConfigOutput) @@ -2934,6 +3445,12 @@ func (o BareMetalAdminStorageConfigPtrOutput) ToBareMetalAdminStorageConfigPtrOu return o } +func (o BareMetalAdminStorageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminStorageConfig] { + return pulumix.Output[*BareMetalAdminStorageConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminStorageConfigPtrOutput) Elem() BareMetalAdminStorageConfigOutput { return o.ApplyT(func(v *BareMetalAdminStorageConfig) BareMetalAdminStorageConfig { if v != nil { @@ -2987,6 +3504,12 @@ func (o BareMetalAdminStorageConfigResponseOutput) ToBareMetalAdminStorageConfig return o } +func (o BareMetalAdminStorageConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminStorageConfigResponse] { + return pulumix.Output[BareMetalAdminStorageConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation. func (o BareMetalAdminStorageConfigResponseOutput) LvpNodeMountsConfig() BareMetalLvpConfigResponseOutput { return o.ApplyT(func(v BareMetalAdminStorageConfigResponse) BareMetalLvpConfigResponse { return v.LvpNodeMountsConfig }).(BareMetalLvpConfigResponseOutput) @@ -3032,6 +3555,12 @@ func (i BareMetalAdminVipConfigArgs) ToBareMetalAdminVipConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminVipConfigOutput) } +func (i BareMetalAdminVipConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminVipConfig] { + return pulumix.Output[BareMetalAdminVipConfig]{ + OutputState: i.ToBareMetalAdminVipConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminVipConfigArgs) ToBareMetalAdminVipConfigPtrOutput() BareMetalAdminVipConfigPtrOutput { return i.ToBareMetalAdminVipConfigPtrOutputWithContext(context.Background()) } @@ -3073,6 +3602,12 @@ func (i *bareMetalAdminVipConfigPtrType) ToBareMetalAdminVipConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminVipConfigPtrOutput) } +func (i *bareMetalAdminVipConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminVipConfig] { + return pulumix.Output[*BareMetalAdminVipConfig]{ + OutputState: i.ToBareMetalAdminVipConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminVipConfig for bare metal load balancer configurations. type BareMetalAdminVipConfigOutput struct{ *pulumi.OutputState } @@ -3098,6 +3633,12 @@ func (o BareMetalAdminVipConfigOutput) ToBareMetalAdminVipConfigPtrOutputWithCon }).(BareMetalAdminVipConfigPtrOutput) } +func (o BareMetalAdminVipConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminVipConfig] { + return pulumix.Output[BareMetalAdminVipConfig]{ + OutputState: o.OutputState, + } +} + // The VIP which you previously set aside for the Kubernetes API of this bare metal admin cluster. func (o BareMetalAdminVipConfigOutput) ControlPlaneVip() pulumi.StringPtrOutput { return o.ApplyT(func(v BareMetalAdminVipConfig) *string { return v.ControlPlaneVip }).(pulumi.StringPtrOutput) @@ -3117,6 +3658,12 @@ func (o BareMetalAdminVipConfigPtrOutput) ToBareMetalAdminVipConfigPtrOutputWith return o } +func (o BareMetalAdminVipConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminVipConfig] { + return pulumix.Output[*BareMetalAdminVipConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminVipConfigPtrOutput) Elem() BareMetalAdminVipConfigOutput { return o.ApplyT(func(v *BareMetalAdminVipConfig) BareMetalAdminVipConfig { if v != nil { @@ -3158,6 +3705,12 @@ func (o BareMetalAdminVipConfigResponseOutput) ToBareMetalAdminVipConfigResponse return o } +func (o BareMetalAdminVipConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminVipConfigResponse] { + return pulumix.Output[BareMetalAdminVipConfigResponse]{ + OutputState: o.OutputState, + } +} + // The VIP which you previously set aside for the Kubernetes API of this bare metal admin cluster. func (o BareMetalAdminVipConfigResponseOutput) ControlPlaneVip() pulumi.StringOutput { return o.ApplyT(func(v BareMetalAdminVipConfigResponse) string { return v.ControlPlaneVip }).(pulumi.StringOutput) @@ -3198,6 +3751,12 @@ func (i BareMetalAdminWorkloadNodeConfigArgs) ToBareMetalAdminWorkloadNodeConfig return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminWorkloadNodeConfigOutput) } +func (i BareMetalAdminWorkloadNodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminWorkloadNodeConfig] { + return pulumix.Output[BareMetalAdminWorkloadNodeConfig]{ + OutputState: i.ToBareMetalAdminWorkloadNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalAdminWorkloadNodeConfigArgs) ToBareMetalAdminWorkloadNodeConfigPtrOutput() BareMetalAdminWorkloadNodeConfigPtrOutput { return i.ToBareMetalAdminWorkloadNodeConfigPtrOutputWithContext(context.Background()) } @@ -3239,6 +3798,12 @@ func (i *bareMetalAdminWorkloadNodeConfigPtrType) ToBareMetalAdminWorkloadNodeCo return pulumi.ToOutputWithContext(ctx, i).(BareMetalAdminWorkloadNodeConfigPtrOutput) } +func (i *bareMetalAdminWorkloadNodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminWorkloadNodeConfig] { + return pulumix.Output[*BareMetalAdminWorkloadNodeConfig]{ + OutputState: i.ToBareMetalAdminWorkloadNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalAdminWorkloadNodeConfig specifies the workload node configurations. type BareMetalAdminWorkloadNodeConfigOutput struct{ *pulumi.OutputState } @@ -3264,6 +3829,12 @@ func (o BareMetalAdminWorkloadNodeConfigOutput) ToBareMetalAdminWorkloadNodeConf }).(BareMetalAdminWorkloadNodeConfigPtrOutput) } +func (o BareMetalAdminWorkloadNodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminWorkloadNodeConfig] { + return pulumix.Output[BareMetalAdminWorkloadNodeConfig]{ + OutputState: o.OutputState, + } +} + // The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter. By default 110 Pods are created per Node. Upper bound is 250 for both HA and non-HA admin cluster. Lower bound is 64 for non-HA admin cluster and 32 for HA admin cluster. func (o BareMetalAdminWorkloadNodeConfigOutput) MaxPodsPerNode() pulumi.StringPtrOutput { return o.ApplyT(func(v BareMetalAdminWorkloadNodeConfig) *string { return v.MaxPodsPerNode }).(pulumi.StringPtrOutput) @@ -3283,6 +3854,12 @@ func (o BareMetalAdminWorkloadNodeConfigPtrOutput) ToBareMetalAdminWorkloadNodeC return o } +func (o BareMetalAdminWorkloadNodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalAdminWorkloadNodeConfig] { + return pulumix.Output[*BareMetalAdminWorkloadNodeConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalAdminWorkloadNodeConfigPtrOutput) Elem() BareMetalAdminWorkloadNodeConfigOutput { return o.ApplyT(func(v *BareMetalAdminWorkloadNodeConfig) BareMetalAdminWorkloadNodeConfig { if v != nil { @@ -3324,6 +3901,12 @@ func (o BareMetalAdminWorkloadNodeConfigResponseOutput) ToBareMetalAdminWorkload return o } +func (o BareMetalAdminWorkloadNodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalAdminWorkloadNodeConfigResponse] { + return pulumix.Output[BareMetalAdminWorkloadNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter. By default 110 Pods are created per Node. Upper bound is 250 for both HA and non-HA admin cluster. Lower bound is 64 for non-HA admin cluster and 32 for HA admin cluster. func (o BareMetalAdminWorkloadNodeConfigResponseOutput) MaxPodsPerNode() pulumi.StringOutput { return o.ApplyT(func(v BareMetalAdminWorkloadNodeConfigResponse) string { return v.MaxPodsPerNode }).(pulumi.StringOutput) @@ -3368,6 +3951,12 @@ func (i BareMetalApiServerArgumentArgs) ToBareMetalApiServerArgumentOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(BareMetalApiServerArgumentOutput) } +func (i BareMetalApiServerArgumentArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalApiServerArgument] { + return pulumix.Output[BareMetalApiServerArgument]{ + OutputState: i.ToBareMetalApiServerArgumentOutputWithContext(ctx).OutputState, + } +} + // BareMetalApiServerArgumentArrayInput is an input type that accepts BareMetalApiServerArgumentArray and BareMetalApiServerArgumentArrayOutput values. // You can construct a concrete instance of `BareMetalApiServerArgumentArrayInput` via: // @@ -3393,6 +3982,12 @@ func (i BareMetalApiServerArgumentArray) ToBareMetalApiServerArgumentArrayOutput return pulumi.ToOutputWithContext(ctx, i).(BareMetalApiServerArgumentArrayOutput) } +func (i BareMetalApiServerArgumentArray) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalApiServerArgument] { + return pulumix.Output[[]BareMetalApiServerArgument]{ + OutputState: i.ToBareMetalApiServerArgumentArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an arg name->value pair. Only a subset of customized flags are supported. For the exact format, refer to the [API server documentation](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/). type BareMetalApiServerArgumentOutput struct{ *pulumi.OutputState } @@ -3408,6 +4003,12 @@ func (o BareMetalApiServerArgumentOutput) ToBareMetalApiServerArgumentOutputWith return o } +func (o BareMetalApiServerArgumentOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalApiServerArgument] { + return pulumix.Output[BareMetalApiServerArgument]{ + OutputState: o.OutputState, + } +} + // The argument name as it appears on the API Server command line, make sure to remove the leading dashes. func (o BareMetalApiServerArgumentOutput) Argument() pulumi.StringOutput { return o.ApplyT(func(v BareMetalApiServerArgument) string { return v.Argument }).(pulumi.StringOutput) @@ -3432,6 +4033,12 @@ func (o BareMetalApiServerArgumentArrayOutput) ToBareMetalApiServerArgumentArray return o } +func (o BareMetalApiServerArgumentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalApiServerArgument] { + return pulumix.Output[[]BareMetalApiServerArgument]{ + OutputState: o.OutputState, + } +} + func (o BareMetalApiServerArgumentArrayOutput) Index(i pulumi.IntInput) BareMetalApiServerArgumentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalApiServerArgument { return vs[0].([]BareMetalApiServerArgument)[vs[1].(int)] @@ -3461,6 +4068,12 @@ func (o BareMetalApiServerArgumentResponseOutput) ToBareMetalApiServerArgumentRe return o } +func (o BareMetalApiServerArgumentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalApiServerArgumentResponse] { + return pulumix.Output[BareMetalApiServerArgumentResponse]{ + OutputState: o.OutputState, + } +} + // The argument name as it appears on the API Server command line, make sure to remove the leading dashes. func (o BareMetalApiServerArgumentResponseOutput) Argument() pulumi.StringOutput { return o.ApplyT(func(v BareMetalApiServerArgumentResponse) string { return v.Argument }).(pulumi.StringOutput) @@ -3485,6 +4098,12 @@ func (o BareMetalApiServerArgumentResponseArrayOutput) ToBareMetalApiServerArgum return o } +func (o BareMetalApiServerArgumentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalApiServerArgumentResponse] { + return pulumix.Output[[]BareMetalApiServerArgumentResponse]{ + OutputState: o.OutputState, + } +} + func (o BareMetalApiServerArgumentResponseArrayOutput) Index(i pulumi.IntInput) BareMetalApiServerArgumentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalApiServerArgumentResponse { return vs[0].([]BareMetalApiServerArgumentResponse)[vs[1].(int)] @@ -3538,6 +4157,12 @@ func (i BareMetalBgpLbConfigArgs) ToBareMetalBgpLbConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(BareMetalBgpLbConfigOutput) } +func (i BareMetalBgpLbConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalBgpLbConfig] { + return pulumix.Output[BareMetalBgpLbConfig]{ + OutputState: i.ToBareMetalBgpLbConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalBgpLbConfigArgs) ToBareMetalBgpLbConfigPtrOutput() BareMetalBgpLbConfigPtrOutput { return i.ToBareMetalBgpLbConfigPtrOutputWithContext(context.Background()) } @@ -3579,6 +4204,12 @@ func (i *bareMetalBgpLbConfigPtrType) ToBareMetalBgpLbConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(BareMetalBgpLbConfigPtrOutput) } +func (i *bareMetalBgpLbConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalBgpLbConfig] { + return pulumix.Output[*BareMetalBgpLbConfig]{ + OutputState: i.ToBareMetalBgpLbConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalBgpLbConfig represents configuration parameters for a Border Gateway Protocol (BGP) load balancer. type BareMetalBgpLbConfigOutput struct{ *pulumi.OutputState } @@ -3604,6 +4235,12 @@ func (o BareMetalBgpLbConfigOutput) ToBareMetalBgpLbConfigPtrOutputWithContext(c }).(BareMetalBgpLbConfigPtrOutput) } +func (o BareMetalBgpLbConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalBgpLbConfig] { + return pulumix.Output[BareMetalBgpLbConfig]{ + OutputState: o.OutputState, + } +} + // AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools. func (o BareMetalBgpLbConfigOutput) AddressPools() BareMetalLoadBalancerAddressPoolArrayOutput { return o.ApplyT(func(v BareMetalBgpLbConfig) []BareMetalLoadBalancerAddressPool { return v.AddressPools }).(BareMetalLoadBalancerAddressPoolArrayOutput) @@ -3638,6 +4275,12 @@ func (o BareMetalBgpLbConfigPtrOutput) ToBareMetalBgpLbConfigPtrOutputWithContex return o } +func (o BareMetalBgpLbConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalBgpLbConfig] { + return pulumix.Output[*BareMetalBgpLbConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalBgpLbConfigPtrOutput) Elem() BareMetalBgpLbConfigOutput { return o.ApplyT(func(v *BareMetalBgpLbConfig) BareMetalBgpLbConfig { if v != nil { @@ -3715,6 +4358,12 @@ func (o BareMetalBgpLbConfigResponseOutput) ToBareMetalBgpLbConfigResponseOutput return o } +func (o BareMetalBgpLbConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalBgpLbConfigResponse] { + return pulumix.Output[BareMetalBgpLbConfigResponse]{ + OutputState: o.OutputState, + } +} + // AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools. func (o BareMetalBgpLbConfigResponseOutput) AddressPools() BareMetalLoadBalancerAddressPoolResponseArrayOutput { return o.ApplyT(func(v BareMetalBgpLbConfigResponse) []BareMetalLoadBalancerAddressPoolResponse { return v.AddressPools }).(BareMetalLoadBalancerAddressPoolResponseArrayOutput) @@ -3780,6 +4429,12 @@ func (i BareMetalBgpPeerConfigArgs) ToBareMetalBgpPeerConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BareMetalBgpPeerConfigOutput) } +func (i BareMetalBgpPeerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalBgpPeerConfig] { + return pulumix.Output[BareMetalBgpPeerConfig]{ + OutputState: i.ToBareMetalBgpPeerConfigOutputWithContext(ctx).OutputState, + } +} + // BareMetalBgpPeerConfigArrayInput is an input type that accepts BareMetalBgpPeerConfigArray and BareMetalBgpPeerConfigArrayOutput values. // You can construct a concrete instance of `BareMetalBgpPeerConfigArrayInput` via: // @@ -3805,6 +4460,12 @@ func (i BareMetalBgpPeerConfigArray) ToBareMetalBgpPeerConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(BareMetalBgpPeerConfigArrayOutput) } +func (i BareMetalBgpPeerConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalBgpPeerConfig] { + return pulumix.Output[[]BareMetalBgpPeerConfig]{ + OutputState: i.ToBareMetalBgpPeerConfigArrayOutputWithContext(ctx).OutputState, + } +} + // BareMetalBgpPeerConfig represents configuration parameters for a Border Gateway Protocol (BGP) peer. type BareMetalBgpPeerConfigOutput struct{ *pulumi.OutputState } @@ -3820,6 +4481,12 @@ func (o BareMetalBgpPeerConfigOutput) ToBareMetalBgpPeerConfigOutputWithContext( return o } +func (o BareMetalBgpPeerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalBgpPeerConfig] { + return pulumix.Output[BareMetalBgpPeerConfig]{ + OutputState: o.OutputState, + } +} + // BGP autonomous system number (ASN) for the network that contains the external peer device. func (o BareMetalBgpPeerConfigOutput) Asn() pulumi.StringOutput { return o.ApplyT(func(v BareMetalBgpPeerConfig) string { return v.Asn }).(pulumi.StringOutput) @@ -3849,6 +4516,12 @@ func (o BareMetalBgpPeerConfigArrayOutput) ToBareMetalBgpPeerConfigArrayOutputWi return o } +func (o BareMetalBgpPeerConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalBgpPeerConfig] { + return pulumix.Output[[]BareMetalBgpPeerConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalBgpPeerConfigArrayOutput) Index(i pulumi.IntInput) BareMetalBgpPeerConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalBgpPeerConfig { return vs[0].([]BareMetalBgpPeerConfig)[vs[1].(int)] @@ -3880,6 +4553,12 @@ func (o BareMetalBgpPeerConfigResponseOutput) ToBareMetalBgpPeerConfigResponseOu return o } +func (o BareMetalBgpPeerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalBgpPeerConfigResponse] { + return pulumix.Output[BareMetalBgpPeerConfigResponse]{ + OutputState: o.OutputState, + } +} + // BGP autonomous system number (ASN) for the network that contains the external peer device. func (o BareMetalBgpPeerConfigResponseOutput) Asn() pulumi.StringOutput { return o.ApplyT(func(v BareMetalBgpPeerConfigResponse) string { return v.Asn }).(pulumi.StringOutput) @@ -3909,6 +4588,12 @@ func (o BareMetalBgpPeerConfigResponseArrayOutput) ToBareMetalBgpPeerConfigRespo return o } +func (o BareMetalBgpPeerConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalBgpPeerConfigResponse] { + return pulumix.Output[[]BareMetalBgpPeerConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o BareMetalBgpPeerConfigResponseArrayOutput) Index(i pulumi.IntInput) BareMetalBgpPeerConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalBgpPeerConfigResponse { return vs[0].([]BareMetalBgpPeerConfigResponse)[vs[1].(int)] @@ -3950,6 +4635,12 @@ func (i BareMetalClusterOperationsConfigArgs) ToBareMetalClusterOperationsConfig return pulumi.ToOutputWithContext(ctx, i).(BareMetalClusterOperationsConfigOutput) } +func (i BareMetalClusterOperationsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalClusterOperationsConfig] { + return pulumix.Output[BareMetalClusterOperationsConfig]{ + OutputState: i.ToBareMetalClusterOperationsConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalClusterOperationsConfigArgs) ToBareMetalClusterOperationsConfigPtrOutput() BareMetalClusterOperationsConfigPtrOutput { return i.ToBareMetalClusterOperationsConfigPtrOutputWithContext(context.Background()) } @@ -3991,6 +4682,12 @@ func (i *bareMetalClusterOperationsConfigPtrType) ToBareMetalClusterOperationsCo return pulumi.ToOutputWithContext(ctx, i).(BareMetalClusterOperationsConfigPtrOutput) } +func (i *bareMetalClusterOperationsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterOperationsConfig] { + return pulumix.Output[*BareMetalClusterOperationsConfig]{ + OutputState: i.ToBareMetalClusterOperationsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the bare metal user cluster's observability infrastructure. type BareMetalClusterOperationsConfigOutput struct{ *pulumi.OutputState } @@ -4016,6 +4713,12 @@ func (o BareMetalClusterOperationsConfigOutput) ToBareMetalClusterOperationsConf }).(BareMetalClusterOperationsConfigPtrOutput) } +func (o BareMetalClusterOperationsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalClusterOperationsConfig] { + return pulumix.Output[BareMetalClusterOperationsConfig]{ + OutputState: o.OutputState, + } +} + // Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics). func (o BareMetalClusterOperationsConfigOutput) EnableApplicationLogs() pulumi.BoolPtrOutput { return o.ApplyT(func(v BareMetalClusterOperationsConfig) *bool { return v.EnableApplicationLogs }).(pulumi.BoolPtrOutput) @@ -4035,6 +4738,12 @@ func (o BareMetalClusterOperationsConfigPtrOutput) ToBareMetalClusterOperationsC return o } +func (o BareMetalClusterOperationsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalClusterOperationsConfig] { + return pulumix.Output[*BareMetalClusterOperationsConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalClusterOperationsConfigPtrOutput) Elem() BareMetalClusterOperationsConfigOutput { return o.ApplyT(func(v *BareMetalClusterOperationsConfig) BareMetalClusterOperationsConfig { if v != nil { @@ -4076,6 +4785,12 @@ func (o BareMetalClusterOperationsConfigResponseOutput) ToBareMetalClusterOperat return o } +func (o BareMetalClusterOperationsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalClusterOperationsConfigResponse] { + return pulumix.Output[BareMetalClusterOperationsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics). func (o BareMetalClusterOperationsConfigResponseOutput) EnableApplicationLogs() pulumi.BoolOutput { return o.ApplyT(func(v BareMetalClusterOperationsConfigResponse) bool { return v.EnableApplicationLogs }).(pulumi.BoolOutput) @@ -4120,6 +4835,12 @@ func (i BareMetalControlPlaneConfigArgs) ToBareMetalControlPlaneConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(BareMetalControlPlaneConfigOutput) } +func (i BareMetalControlPlaneConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalControlPlaneConfig] { + return pulumix.Output[BareMetalControlPlaneConfig]{ + OutputState: i.ToBareMetalControlPlaneConfigOutputWithContext(ctx).OutputState, + } +} + // Specifies the control plane configuration. type BareMetalControlPlaneConfigOutput struct{ *pulumi.OutputState } @@ -4135,6 +4856,12 @@ func (o BareMetalControlPlaneConfigOutput) ToBareMetalControlPlaneConfigOutputWi return o } +func (o BareMetalControlPlaneConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalControlPlaneConfig] { + return pulumix.Output[BareMetalControlPlaneConfig]{ + OutputState: o.OutputState, + } +} + // Customizes the default API server args. Only a subset of customized flags are supported. For the exact format, refer to the [API server documentation](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/). func (o BareMetalControlPlaneConfigOutput) ApiServerArgs() BareMetalApiServerArgumentArrayOutput { return o.ApplyT(func(v BareMetalControlPlaneConfig) []BareMetalApiServerArgument { return v.ApiServerArgs }).(BareMetalApiServerArgumentArrayOutput) @@ -4170,6 +4897,12 @@ func (o BareMetalControlPlaneConfigResponseOutput) ToBareMetalControlPlaneConfig return o } +func (o BareMetalControlPlaneConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalControlPlaneConfigResponse] { + return pulumix.Output[BareMetalControlPlaneConfigResponse]{ + OutputState: o.OutputState, + } +} + // Customizes the default API server args. Only a subset of customized flags are supported. For the exact format, refer to the [API server documentation](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/). func (o BareMetalControlPlaneConfigResponseOutput) ApiServerArgs() BareMetalApiServerArgumentResponseArrayOutput { return o.ApplyT(func(v BareMetalControlPlaneConfigResponse) []BareMetalApiServerArgumentResponse { @@ -4219,6 +4952,12 @@ func (i BareMetalControlPlaneNodePoolConfigArgs) ToBareMetalControlPlaneNodePool return pulumi.ToOutputWithContext(ctx, i).(BareMetalControlPlaneNodePoolConfigOutput) } +func (i BareMetalControlPlaneNodePoolConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalControlPlaneNodePoolConfig] { + return pulumix.Output[BareMetalControlPlaneNodePoolConfig]{ + OutputState: i.ToBareMetalControlPlaneNodePoolConfigOutputWithContext(ctx).OutputState, + } +} + // Specifies the control plane node pool configuration. type BareMetalControlPlaneNodePoolConfigOutput struct{ *pulumi.OutputState } @@ -4234,6 +4973,12 @@ func (o BareMetalControlPlaneNodePoolConfigOutput) ToBareMetalControlPlaneNodePo return o } +func (o BareMetalControlPlaneNodePoolConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalControlPlaneNodePoolConfig] { + return pulumix.Output[BareMetalControlPlaneNodePoolConfig]{ + OutputState: o.OutputState, + } +} + // The generic configuration for a node pool running the control plane. func (o BareMetalControlPlaneNodePoolConfigOutput) NodePoolConfig() BareMetalNodePoolConfigOutput { return o.ApplyT(func(v BareMetalControlPlaneNodePoolConfig) BareMetalNodePoolConfig { return v.NodePoolConfig }).(BareMetalNodePoolConfigOutput) @@ -4260,6 +5005,12 @@ func (o BareMetalControlPlaneNodePoolConfigResponseOutput) ToBareMetalControlPla return o } +func (o BareMetalControlPlaneNodePoolConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalControlPlaneNodePoolConfigResponse] { + return pulumix.Output[BareMetalControlPlaneNodePoolConfigResponse]{ + OutputState: o.OutputState, + } +} + // The generic configuration for a node pool running the control plane. func (o BareMetalControlPlaneNodePoolConfigResponseOutput) NodePoolConfig() BareMetalNodePoolConfigResponseOutput { return o.ApplyT(func(v BareMetalControlPlaneNodePoolConfigResponse) BareMetalNodePoolConfigResponse { @@ -4288,6 +5039,12 @@ func (o BareMetalDrainedMachineResponseOutput) ToBareMetalDrainedMachineResponse return o } +func (o BareMetalDrainedMachineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalDrainedMachineResponse] { + return pulumix.Output[BareMetalDrainedMachineResponse]{ + OutputState: o.OutputState, + } +} + // Drained machine IP address. func (o BareMetalDrainedMachineResponseOutput) NodeIp() pulumi.StringOutput { return o.ApplyT(func(v BareMetalDrainedMachineResponse) string { return v.NodeIp }).(pulumi.StringOutput) @@ -4307,6 +5064,12 @@ func (o BareMetalDrainedMachineResponseArrayOutput) ToBareMetalDrainedMachineRes return o } +func (o BareMetalDrainedMachineResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalDrainedMachineResponse] { + return pulumix.Output[[]BareMetalDrainedMachineResponse]{ + OutputState: o.OutputState, + } +} + func (o BareMetalDrainedMachineResponseArrayOutput) Index(i pulumi.IntInput) BareMetalDrainedMachineResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalDrainedMachineResponse { return vs[0].([]BareMetalDrainedMachineResponse)[vs[1].(int)] @@ -4336,6 +5099,12 @@ func (o BareMetalDrainingMachineResponseOutput) ToBareMetalDrainingMachineRespon return o } +func (o BareMetalDrainingMachineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalDrainingMachineResponse] { + return pulumix.Output[BareMetalDrainingMachineResponse]{ + OutputState: o.OutputState, + } +} + // Draining machine IP address. func (o BareMetalDrainingMachineResponseOutput) NodeIp() pulumi.StringOutput { return o.ApplyT(func(v BareMetalDrainingMachineResponse) string { return v.NodeIp }).(pulumi.StringOutput) @@ -4360,6 +5129,12 @@ func (o BareMetalDrainingMachineResponseArrayOutput) ToBareMetalDrainingMachineR return o } +func (o BareMetalDrainingMachineResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalDrainingMachineResponse] { + return pulumix.Output[[]BareMetalDrainingMachineResponse]{ + OutputState: o.OutputState, + } +} + func (o BareMetalDrainingMachineResponseArrayOutput) Index(i pulumi.IntInput) BareMetalDrainingMachineResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalDrainingMachineResponse { return vs[0].([]BareMetalDrainingMachineResponse)[vs[1].(int)] @@ -4405,6 +5180,12 @@ func (i BareMetalIslandModeCidrConfigArgs) ToBareMetalIslandModeCidrConfigOutput return pulumi.ToOutputWithContext(ctx, i).(BareMetalIslandModeCidrConfigOutput) } +func (i BareMetalIslandModeCidrConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalIslandModeCidrConfig] { + return pulumix.Output[BareMetalIslandModeCidrConfig]{ + OutputState: i.ToBareMetalIslandModeCidrConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalIslandModeCidrConfigArgs) ToBareMetalIslandModeCidrConfigPtrOutput() BareMetalIslandModeCidrConfigPtrOutput { return i.ToBareMetalIslandModeCidrConfigPtrOutputWithContext(context.Background()) } @@ -4446,6 +5227,12 @@ func (i *bareMetalIslandModeCidrConfigPtrType) ToBareMetalIslandModeCidrConfigPt return pulumi.ToOutputWithContext(ctx, i).(BareMetalIslandModeCidrConfigPtrOutput) } +func (i *bareMetalIslandModeCidrConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalIslandModeCidrConfig] { + return pulumix.Output[*BareMetalIslandModeCidrConfig]{ + OutputState: i.ToBareMetalIslandModeCidrConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the cluster CIDR configuration while running in island mode. type BareMetalIslandModeCidrConfigOutput struct{ *pulumi.OutputState } @@ -4471,6 +5258,12 @@ func (o BareMetalIslandModeCidrConfigOutput) ToBareMetalIslandModeCidrConfigPtrO }).(BareMetalIslandModeCidrConfigPtrOutput) } +func (o BareMetalIslandModeCidrConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalIslandModeCidrConfig] { + return pulumix.Output[BareMetalIslandModeCidrConfig]{ + OutputState: o.OutputState, + } +} + // All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation. func (o BareMetalIslandModeCidrConfigOutput) PodAddressCidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalIslandModeCidrConfig) []string { return v.PodAddressCidrBlocks }).(pulumi.StringArrayOutput) @@ -4495,6 +5288,12 @@ func (o BareMetalIslandModeCidrConfigPtrOutput) ToBareMetalIslandModeCidrConfigP return o } +func (o BareMetalIslandModeCidrConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalIslandModeCidrConfig] { + return pulumix.Output[*BareMetalIslandModeCidrConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalIslandModeCidrConfigPtrOutput) Elem() BareMetalIslandModeCidrConfigOutput { return o.ApplyT(func(v *BareMetalIslandModeCidrConfig) BareMetalIslandModeCidrConfig { if v != nil { @@ -4548,6 +5347,12 @@ func (o BareMetalIslandModeCidrConfigResponseOutput) ToBareMetalIslandModeCidrCo return o } +func (o BareMetalIslandModeCidrConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalIslandModeCidrConfigResponse] { + return pulumix.Output[BareMetalIslandModeCidrConfigResponse]{ + OutputState: o.OutputState, + } +} + // All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation. func (o BareMetalIslandModeCidrConfigResponseOutput) PodAddressCidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalIslandModeCidrConfigResponse) []string { return v.PodAddressCidrBlocks }).(pulumi.StringArrayOutput) @@ -4601,6 +5406,12 @@ func (i BareMetalKubeletConfigArgs) ToBareMetalKubeletConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BareMetalKubeletConfigOutput) } +func (i BareMetalKubeletConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalKubeletConfig] { + return pulumix.Output[BareMetalKubeletConfig]{ + OutputState: i.ToBareMetalKubeletConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalKubeletConfigArgs) ToBareMetalKubeletConfigPtrOutput() BareMetalKubeletConfigPtrOutput { return i.ToBareMetalKubeletConfigPtrOutputWithContext(context.Background()) } @@ -4642,6 +5453,12 @@ func (i *bareMetalKubeletConfigPtrType) ToBareMetalKubeletConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(BareMetalKubeletConfigPtrOutput) } +func (i *bareMetalKubeletConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalKubeletConfig] { + return pulumix.Output[*BareMetalKubeletConfig]{ + OutputState: i.ToBareMetalKubeletConfigPtrOutputWithContext(ctx).OutputState, + } +} + // KubeletConfig defines the modifiable kubelet configurations for baremetal machines. Note: this list includes fields supported in GKE (see https://cloud.google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-options). type BareMetalKubeletConfigOutput struct{ *pulumi.OutputState } @@ -4667,6 +5484,12 @@ func (o BareMetalKubeletConfigOutput) ToBareMetalKubeletConfigPtrOutputWithConte }).(BareMetalKubeletConfigPtrOutput) } +func (o BareMetalKubeletConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalKubeletConfig] { + return pulumix.Output[BareMetalKubeletConfig]{ + OutputState: o.OutputState, + } +} + // The maximum size of bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry_pull_qps. The value must not be a negative number. Updating this field may impact scalability by changing the amount of traffic produced by image pulls. Defaults to 10. func (o BareMetalKubeletConfigOutput) RegistryBurst() pulumi.IntPtrOutput { return o.ApplyT(func(v BareMetalKubeletConfig) *int { return v.RegistryBurst }).(pulumi.IntPtrOutput) @@ -4696,6 +5519,12 @@ func (o BareMetalKubeletConfigPtrOutput) ToBareMetalKubeletConfigPtrOutputWithCo return o } +func (o BareMetalKubeletConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalKubeletConfig] { + return pulumix.Output[*BareMetalKubeletConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalKubeletConfigPtrOutput) Elem() BareMetalKubeletConfigOutput { return o.ApplyT(func(v *BareMetalKubeletConfig) BareMetalKubeletConfig { if v != nil { @@ -4761,6 +5590,12 @@ func (o BareMetalKubeletConfigResponseOutput) ToBareMetalKubeletConfigResponseOu return o } +func (o BareMetalKubeletConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalKubeletConfigResponse] { + return pulumix.Output[BareMetalKubeletConfigResponse]{ + OutputState: o.OutputState, + } +} + // The maximum size of bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry_pull_qps. The value must not be a negative number. Updating this field may impact scalability by changing the amount of traffic produced by image pulls. Defaults to 10. func (o BareMetalKubeletConfigResponseOutput) RegistryBurst() pulumi.IntOutput { return o.ApplyT(func(v BareMetalKubeletConfigResponse) int { return v.RegistryBurst }).(pulumi.IntOutput) @@ -4823,6 +5658,12 @@ func (i BareMetalLoadBalancerAddressPoolArgs) ToBareMetalLoadBalancerAddressPool return pulumi.ToOutputWithContext(ctx, i).(BareMetalLoadBalancerAddressPoolOutput) } +func (i BareMetalLoadBalancerAddressPoolArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalLoadBalancerAddressPool] { + return pulumix.Output[BareMetalLoadBalancerAddressPool]{ + OutputState: i.ToBareMetalLoadBalancerAddressPoolOutputWithContext(ctx).OutputState, + } +} + // BareMetalLoadBalancerAddressPoolArrayInput is an input type that accepts BareMetalLoadBalancerAddressPoolArray and BareMetalLoadBalancerAddressPoolArrayOutput values. // You can construct a concrete instance of `BareMetalLoadBalancerAddressPoolArrayInput` via: // @@ -4848,6 +5689,12 @@ func (i BareMetalLoadBalancerAddressPoolArray) ToBareMetalLoadBalancerAddressPoo return pulumi.ToOutputWithContext(ctx, i).(BareMetalLoadBalancerAddressPoolArrayOutput) } +func (i BareMetalLoadBalancerAddressPoolArray) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalLoadBalancerAddressPool] { + return pulumix.Output[[]BareMetalLoadBalancerAddressPool]{ + OutputState: i.ToBareMetalLoadBalancerAddressPoolArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an IP pool used by the load balancer. type BareMetalLoadBalancerAddressPoolOutput struct{ *pulumi.OutputState } @@ -4863,6 +5710,12 @@ func (o BareMetalLoadBalancerAddressPoolOutput) ToBareMetalLoadBalancerAddressPo return o } +func (o BareMetalLoadBalancerAddressPoolOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalLoadBalancerAddressPool] { + return pulumix.Output[BareMetalLoadBalancerAddressPool]{ + OutputState: o.OutputState, + } +} + // The addresses that are part of this pool. Each address must be either in the CIDR form (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5). func (o BareMetalLoadBalancerAddressPoolOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalLoadBalancerAddressPool) []string { return v.Addresses }).(pulumi.StringArrayOutput) @@ -4897,6 +5750,12 @@ func (o BareMetalLoadBalancerAddressPoolArrayOutput) ToBareMetalLoadBalancerAddr return o } +func (o BareMetalLoadBalancerAddressPoolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalLoadBalancerAddressPool] { + return pulumix.Output[[]BareMetalLoadBalancerAddressPool]{ + OutputState: o.OutputState, + } +} + func (o BareMetalLoadBalancerAddressPoolArrayOutput) Index(i pulumi.IntInput) BareMetalLoadBalancerAddressPoolOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalLoadBalancerAddressPool { return vs[0].([]BareMetalLoadBalancerAddressPool)[vs[1].(int)] @@ -4930,6 +5789,12 @@ func (o BareMetalLoadBalancerAddressPoolResponseOutput) ToBareMetalLoadBalancerA return o } +func (o BareMetalLoadBalancerAddressPoolResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalLoadBalancerAddressPoolResponse] { + return pulumix.Output[BareMetalLoadBalancerAddressPoolResponse]{ + OutputState: o.OutputState, + } +} + // The addresses that are part of this pool. Each address must be either in the CIDR form (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5). func (o BareMetalLoadBalancerAddressPoolResponseOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalLoadBalancerAddressPoolResponse) []string { return v.Addresses }).(pulumi.StringArrayOutput) @@ -4964,6 +5829,12 @@ func (o BareMetalLoadBalancerAddressPoolResponseArrayOutput) ToBareMetalLoadBala return o } +func (o BareMetalLoadBalancerAddressPoolResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalLoadBalancerAddressPoolResponse] { + return pulumix.Output[[]BareMetalLoadBalancerAddressPoolResponse]{ + OutputState: o.OutputState, + } +} + func (o BareMetalLoadBalancerAddressPoolResponseArrayOutput) Index(i pulumi.IntInput) BareMetalLoadBalancerAddressPoolResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalLoadBalancerAddressPoolResponse { return vs[0].([]BareMetalLoadBalancerAddressPoolResponse)[vs[1].(int)] @@ -5021,6 +5892,12 @@ func (i BareMetalLoadBalancerConfigArgs) ToBareMetalLoadBalancerConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(BareMetalLoadBalancerConfigOutput) } +func (i BareMetalLoadBalancerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalLoadBalancerConfig] { + return pulumix.Output[BareMetalLoadBalancerConfig]{ + OutputState: i.ToBareMetalLoadBalancerConfigOutputWithContext(ctx).OutputState, + } +} + // Specifies the load balancer configuration. type BareMetalLoadBalancerConfigOutput struct{ *pulumi.OutputState } @@ -5036,6 +5913,12 @@ func (o BareMetalLoadBalancerConfigOutput) ToBareMetalLoadBalancerConfigOutputWi return o } +func (o BareMetalLoadBalancerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalLoadBalancerConfig] { + return pulumix.Output[BareMetalLoadBalancerConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for BGP typed load balancers. When set network_config.advanced_networking is automatically set to true. func (o BareMetalLoadBalancerConfigOutput) BgpLbConfig() BareMetalBgpLbConfigPtrOutput { return o.ApplyT(func(v BareMetalLoadBalancerConfig) *BareMetalBgpLbConfig { return v.BgpLbConfig }).(BareMetalBgpLbConfigPtrOutput) @@ -5090,6 +5973,12 @@ func (o BareMetalLoadBalancerConfigResponseOutput) ToBareMetalLoadBalancerConfig return o } +func (o BareMetalLoadBalancerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalLoadBalancerConfigResponse] { + return pulumix.Output[BareMetalLoadBalancerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for BGP typed load balancers. When set network_config.advanced_networking is automatically set to true. func (o BareMetalLoadBalancerConfigResponseOutput) BgpLbConfig() BareMetalBgpLbConfigResponseOutput { return o.ApplyT(func(v BareMetalLoadBalancerConfigResponse) BareMetalBgpLbConfigResponse { return v.BgpLbConfig }).(BareMetalBgpLbConfigResponseOutput) @@ -5150,6 +6039,12 @@ func (i BareMetalLoadBalancerNodePoolConfigArgs) ToBareMetalLoadBalancerNodePool return pulumi.ToOutputWithContext(ctx, i).(BareMetalLoadBalancerNodePoolConfigOutput) } +func (i BareMetalLoadBalancerNodePoolConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalLoadBalancerNodePoolConfig] { + return pulumix.Output[BareMetalLoadBalancerNodePoolConfig]{ + OutputState: i.ToBareMetalLoadBalancerNodePoolConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalLoadBalancerNodePoolConfigArgs) ToBareMetalLoadBalancerNodePoolConfigPtrOutput() BareMetalLoadBalancerNodePoolConfigPtrOutput { return i.ToBareMetalLoadBalancerNodePoolConfigPtrOutputWithContext(context.Background()) } @@ -5191,6 +6086,12 @@ func (i *bareMetalLoadBalancerNodePoolConfigPtrType) ToBareMetalLoadBalancerNode return pulumi.ToOutputWithContext(ctx, i).(BareMetalLoadBalancerNodePoolConfigPtrOutput) } +func (i *bareMetalLoadBalancerNodePoolConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalLoadBalancerNodePoolConfig] { + return pulumix.Output[*BareMetalLoadBalancerNodePoolConfig]{ + OutputState: i.ToBareMetalLoadBalancerNodePoolConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the load balancer's node pool configuration. type BareMetalLoadBalancerNodePoolConfigOutput struct{ *pulumi.OutputState } @@ -5216,6 +6117,12 @@ func (o BareMetalLoadBalancerNodePoolConfigOutput) ToBareMetalLoadBalancerNodePo }).(BareMetalLoadBalancerNodePoolConfigPtrOutput) } +func (o BareMetalLoadBalancerNodePoolConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalLoadBalancerNodePoolConfig] { + return pulumix.Output[BareMetalLoadBalancerNodePoolConfig]{ + OutputState: o.OutputState, + } +} + // The generic configuration for a node pool running a load balancer. func (o BareMetalLoadBalancerNodePoolConfigOutput) NodePoolConfig() BareMetalNodePoolConfigPtrOutput { return o.ApplyT(func(v BareMetalLoadBalancerNodePoolConfig) *BareMetalNodePoolConfig { return v.NodePoolConfig }).(BareMetalNodePoolConfigPtrOutput) @@ -5235,6 +6142,12 @@ func (o BareMetalLoadBalancerNodePoolConfigPtrOutput) ToBareMetalLoadBalancerNod return o } +func (o BareMetalLoadBalancerNodePoolConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalLoadBalancerNodePoolConfig] { + return pulumix.Output[*BareMetalLoadBalancerNodePoolConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalLoadBalancerNodePoolConfigPtrOutput) Elem() BareMetalLoadBalancerNodePoolConfigOutput { return o.ApplyT(func(v *BareMetalLoadBalancerNodePoolConfig) BareMetalLoadBalancerNodePoolConfig { if v != nil { @@ -5276,6 +6189,12 @@ func (o BareMetalLoadBalancerNodePoolConfigResponseOutput) ToBareMetalLoadBalanc return o } +func (o BareMetalLoadBalancerNodePoolConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalLoadBalancerNodePoolConfigResponse] { + return pulumix.Output[BareMetalLoadBalancerNodePoolConfigResponse]{ + OutputState: o.OutputState, + } +} + // The generic configuration for a node pool running a load balancer. func (o BareMetalLoadBalancerNodePoolConfigResponseOutput) NodePoolConfig() BareMetalNodePoolConfigResponseOutput { return o.ApplyT(func(v BareMetalLoadBalancerNodePoolConfigResponse) BareMetalNodePoolConfigResponse { @@ -5322,6 +6241,12 @@ func (i BareMetalLvpConfigArgs) ToBareMetalLvpConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(BareMetalLvpConfigOutput) } +func (i BareMetalLvpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalLvpConfig] { + return pulumix.Output[BareMetalLvpConfig]{ + OutputState: i.ToBareMetalLvpConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalLvpConfigArgs) ToBareMetalLvpConfigPtrOutput() BareMetalLvpConfigPtrOutput { return i.ToBareMetalLvpConfigPtrOutputWithContext(context.Background()) } @@ -5363,6 +6288,12 @@ func (i *bareMetalLvpConfigPtrType) ToBareMetalLvpConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BareMetalLvpConfigPtrOutput) } +func (i *bareMetalLvpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalLvpConfig] { + return pulumix.Output[*BareMetalLvpConfig]{ + OutputState: i.ToBareMetalLvpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the configs for local persistent volumes (PVs). type BareMetalLvpConfigOutput struct{ *pulumi.OutputState } @@ -5388,6 +6319,12 @@ func (o BareMetalLvpConfigOutput) ToBareMetalLvpConfigPtrOutputWithContext(ctx c }).(BareMetalLvpConfigPtrOutput) } +func (o BareMetalLvpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalLvpConfig] { + return pulumix.Output[BareMetalLvpConfig]{ + OutputState: o.OutputState, + } +} + // The host machine path. func (o BareMetalLvpConfigOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v BareMetalLvpConfig) string { return v.Path }).(pulumi.StringOutput) @@ -5412,6 +6349,12 @@ func (o BareMetalLvpConfigPtrOutput) ToBareMetalLvpConfigPtrOutputWithContext(ct return o } +func (o BareMetalLvpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalLvpConfig] { + return pulumix.Output[*BareMetalLvpConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalLvpConfigPtrOutput) Elem() BareMetalLvpConfigOutput { return o.ApplyT(func(v *BareMetalLvpConfig) BareMetalLvpConfig { if v != nil { @@ -5465,6 +6408,12 @@ func (o BareMetalLvpConfigResponseOutput) ToBareMetalLvpConfigResponseOutputWith return o } +func (o BareMetalLvpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalLvpConfigResponse] { + return pulumix.Output[BareMetalLvpConfigResponse]{ + OutputState: o.OutputState, + } +} + // The host machine path. func (o BareMetalLvpConfigResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v BareMetalLvpConfigResponse) string { return v.Path }).(pulumi.StringOutput) @@ -5514,6 +6463,12 @@ func (i BareMetalLvpShareConfigArgs) ToBareMetalLvpShareConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BareMetalLvpShareConfigOutput) } +func (i BareMetalLvpShareConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalLvpShareConfig] { + return pulumix.Output[BareMetalLvpShareConfig]{ + OutputState: i.ToBareMetalLvpShareConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalLvpShareConfigArgs) ToBareMetalLvpShareConfigPtrOutput() BareMetalLvpShareConfigPtrOutput { return i.ToBareMetalLvpShareConfigPtrOutputWithContext(context.Background()) } @@ -5555,6 +6510,12 @@ func (i *bareMetalLvpShareConfigPtrType) ToBareMetalLvpShareConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BareMetalLvpShareConfigPtrOutput) } +func (i *bareMetalLvpShareConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalLvpShareConfig] { + return pulumix.Output[*BareMetalLvpShareConfig]{ + OutputState: i.ToBareMetalLvpShareConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the configs for local persistent volumes under a shared file system. type BareMetalLvpShareConfigOutput struct{ *pulumi.OutputState } @@ -5580,6 +6541,12 @@ func (o BareMetalLvpShareConfigOutput) ToBareMetalLvpShareConfigPtrOutputWithCon }).(BareMetalLvpShareConfigPtrOutput) } +func (o BareMetalLvpShareConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalLvpShareConfig] { + return pulumix.Output[BareMetalLvpShareConfig]{ + OutputState: o.OutputState, + } +} + // Defines the machine path and storage class for the LVP Share. func (o BareMetalLvpShareConfigOutput) LvpConfig() BareMetalLvpConfigOutput { return o.ApplyT(func(v BareMetalLvpShareConfig) BareMetalLvpConfig { return v.LvpConfig }).(BareMetalLvpConfigOutput) @@ -5604,6 +6571,12 @@ func (o BareMetalLvpShareConfigPtrOutput) ToBareMetalLvpShareConfigPtrOutputWith return o } +func (o BareMetalLvpShareConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalLvpShareConfig] { + return pulumix.Output[*BareMetalLvpShareConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalLvpShareConfigPtrOutput) Elem() BareMetalLvpShareConfigOutput { return o.ApplyT(func(v *BareMetalLvpShareConfig) BareMetalLvpShareConfig { if v != nil { @@ -5657,6 +6630,12 @@ func (o BareMetalLvpShareConfigResponseOutput) ToBareMetalLvpShareConfigResponse return o } +func (o BareMetalLvpShareConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalLvpShareConfigResponse] { + return pulumix.Output[BareMetalLvpShareConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines the machine path and storage class for the LVP Share. func (o BareMetalLvpShareConfigResponseOutput) LvpConfig() BareMetalLvpConfigResponseOutput { return o.ApplyT(func(v BareMetalLvpShareConfigResponse) BareMetalLvpConfigResponse { return v.LvpConfig }).(BareMetalLvpConfigResponseOutput) @@ -5690,6 +6669,12 @@ func (o BareMetalMachineDrainStatusResponseOutput) ToBareMetalMachineDrainStatus return o } +func (o BareMetalMachineDrainStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalMachineDrainStatusResponse] { + return pulumix.Output[BareMetalMachineDrainStatusResponse]{ + OutputState: o.OutputState, + } +} + // The list of drained machines. func (o BareMetalMachineDrainStatusResponseOutput) DrainedMachines() BareMetalDrainedMachineResponseArrayOutput { return o.ApplyT(func(v BareMetalMachineDrainStatusResponse) []BareMetalDrainedMachineResponse { @@ -5739,6 +6724,12 @@ func (i BareMetalMaintenanceConfigArgs) ToBareMetalMaintenanceConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(BareMetalMaintenanceConfigOutput) } +func (i BareMetalMaintenanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalMaintenanceConfig] { + return pulumix.Output[BareMetalMaintenanceConfig]{ + OutputState: i.ToBareMetalMaintenanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalMaintenanceConfigArgs) ToBareMetalMaintenanceConfigPtrOutput() BareMetalMaintenanceConfigPtrOutput { return i.ToBareMetalMaintenanceConfigPtrOutputWithContext(context.Background()) } @@ -5780,6 +6771,12 @@ func (i *bareMetalMaintenanceConfigPtrType) ToBareMetalMaintenanceConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(BareMetalMaintenanceConfigPtrOutput) } +func (i *bareMetalMaintenanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalMaintenanceConfig] { + return pulumix.Output[*BareMetalMaintenanceConfig]{ + OutputState: i.ToBareMetalMaintenanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies configurations to put bare metal nodes in and out of maintenance. type BareMetalMaintenanceConfigOutput struct{ *pulumi.OutputState } @@ -5805,6 +6802,12 @@ func (o BareMetalMaintenanceConfigOutput) ToBareMetalMaintenanceConfigPtrOutputW }).(BareMetalMaintenanceConfigPtrOutput) } +func (o BareMetalMaintenanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalMaintenanceConfig] { + return pulumix.Output[BareMetalMaintenanceConfig]{ + OutputState: o.OutputState, + } +} + // All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource. func (o BareMetalMaintenanceConfigOutput) MaintenanceAddressCidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalMaintenanceConfig) []string { return v.MaintenanceAddressCidrBlocks }).(pulumi.StringArrayOutput) @@ -5824,6 +6827,12 @@ func (o BareMetalMaintenanceConfigPtrOutput) ToBareMetalMaintenanceConfigPtrOutp return o } +func (o BareMetalMaintenanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalMaintenanceConfig] { + return pulumix.Output[*BareMetalMaintenanceConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalMaintenanceConfigPtrOutput) Elem() BareMetalMaintenanceConfigOutput { return o.ApplyT(func(v *BareMetalMaintenanceConfig) BareMetalMaintenanceConfig { if v != nil { @@ -5865,6 +6874,12 @@ func (o BareMetalMaintenanceConfigResponseOutput) ToBareMetalMaintenanceConfigRe return o } +func (o BareMetalMaintenanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalMaintenanceConfigResponse] { + return pulumix.Output[BareMetalMaintenanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource. func (o BareMetalMaintenanceConfigResponseOutput) MaintenanceAddressCidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalMaintenanceConfigResponse) []string { return v.MaintenanceAddressCidrBlocks }).(pulumi.StringArrayOutput) @@ -5891,6 +6906,12 @@ func (o BareMetalMaintenanceStatusResponseOutput) ToBareMetalMaintenanceStatusRe return o } +func (o BareMetalMaintenanceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalMaintenanceStatusResponse] { + return pulumix.Output[BareMetalMaintenanceStatusResponse]{ + OutputState: o.OutputState, + } +} + // The maintenance status of node machines. func (o BareMetalMaintenanceStatusResponseOutput) MachineDrainStatus() BareMetalMachineDrainStatusResponseOutput { return o.ApplyT(func(v BareMetalMaintenanceStatusResponse) BareMetalMachineDrainStatusResponse { @@ -5933,6 +6954,12 @@ func (i BareMetalManualLbConfigArgs) ToBareMetalManualLbConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BareMetalManualLbConfigOutput) } +func (i BareMetalManualLbConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalManualLbConfig] { + return pulumix.Output[BareMetalManualLbConfig]{ + OutputState: i.ToBareMetalManualLbConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalManualLbConfigArgs) ToBareMetalManualLbConfigPtrOutput() BareMetalManualLbConfigPtrOutput { return i.ToBareMetalManualLbConfigPtrOutputWithContext(context.Background()) } @@ -5974,6 +7001,12 @@ func (i *bareMetalManualLbConfigPtrType) ToBareMetalManualLbConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BareMetalManualLbConfigPtrOutput) } +func (i *bareMetalManualLbConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalManualLbConfig] { + return pulumix.Output[*BareMetalManualLbConfig]{ + OutputState: i.ToBareMetalManualLbConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration parameters for a manual load balancer. type BareMetalManualLbConfigOutput struct{ *pulumi.OutputState } @@ -5999,6 +7032,12 @@ func (o BareMetalManualLbConfigOutput) ToBareMetalManualLbConfigPtrOutputWithCon }).(BareMetalManualLbConfigPtrOutput) } +func (o BareMetalManualLbConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalManualLbConfig] { + return pulumix.Output[BareMetalManualLbConfig]{ + OutputState: o.OutputState, + } +} + // Whether manual load balancing is enabled. func (o BareMetalManualLbConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BareMetalManualLbConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -6018,6 +7057,12 @@ func (o BareMetalManualLbConfigPtrOutput) ToBareMetalManualLbConfigPtrOutputWith return o } +func (o BareMetalManualLbConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalManualLbConfig] { + return pulumix.Output[*BareMetalManualLbConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalManualLbConfigPtrOutput) Elem() BareMetalManualLbConfigOutput { return o.ApplyT(func(v *BareMetalManualLbConfig) BareMetalManualLbConfig { if v != nil { @@ -6059,6 +7104,12 @@ func (o BareMetalManualLbConfigResponseOutput) ToBareMetalManualLbConfigResponse return o } +func (o BareMetalManualLbConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalManualLbConfigResponse] { + return pulumix.Output[BareMetalManualLbConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether manual load balancing is enabled. func (o BareMetalManualLbConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BareMetalManualLbConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -6103,6 +7154,12 @@ func (i BareMetalMetalLbConfigArgs) ToBareMetalMetalLbConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BareMetalMetalLbConfigOutput) } +func (i BareMetalMetalLbConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalMetalLbConfig] { + return pulumix.Output[BareMetalMetalLbConfig]{ + OutputState: i.ToBareMetalMetalLbConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalMetalLbConfigArgs) ToBareMetalMetalLbConfigPtrOutput() BareMetalMetalLbConfigPtrOutput { return i.ToBareMetalMetalLbConfigPtrOutputWithContext(context.Background()) } @@ -6144,6 +7201,12 @@ func (i *bareMetalMetalLbConfigPtrType) ToBareMetalMetalLbConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(BareMetalMetalLbConfigPtrOutput) } +func (i *bareMetalMetalLbConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalMetalLbConfig] { + return pulumix.Output[*BareMetalMetalLbConfig]{ + OutputState: i.ToBareMetalMetalLbConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration parameters for a MetalLB load balancer. type BareMetalMetalLbConfigOutput struct{ *pulumi.OutputState } @@ -6169,6 +7232,12 @@ func (o BareMetalMetalLbConfigOutput) ToBareMetalMetalLbConfigPtrOutputWithConte }).(BareMetalMetalLbConfigPtrOutput) } +func (o BareMetalMetalLbConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalMetalLbConfig] { + return pulumix.Output[BareMetalMetalLbConfig]{ + OutputState: o.OutputState, + } +} + // AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools. func (o BareMetalMetalLbConfigOutput) AddressPools() BareMetalLoadBalancerAddressPoolArrayOutput { return o.ApplyT(func(v BareMetalMetalLbConfig) []BareMetalLoadBalancerAddressPool { return v.AddressPools }).(BareMetalLoadBalancerAddressPoolArrayOutput) @@ -6195,6 +7264,12 @@ func (o BareMetalMetalLbConfigPtrOutput) ToBareMetalMetalLbConfigPtrOutputWithCo return o } +func (o BareMetalMetalLbConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalMetalLbConfig] { + return pulumix.Output[*BareMetalMetalLbConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalMetalLbConfigPtrOutput) Elem() BareMetalMetalLbConfigOutput { return o.ApplyT(func(v *BareMetalMetalLbConfig) BareMetalMetalLbConfig { if v != nil { @@ -6248,6 +7323,12 @@ func (o BareMetalMetalLbConfigResponseOutput) ToBareMetalMetalLbConfigResponseOu return o } +func (o BareMetalMetalLbConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalMetalLbConfigResponse] { + return pulumix.Output[BareMetalMetalLbConfigResponse]{ + OutputState: o.OutputState, + } +} + // AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools. func (o BareMetalMetalLbConfigResponseOutput) AddressPools() BareMetalLoadBalancerAddressPoolResponseArrayOutput { return o.ApplyT(func(v BareMetalMetalLbConfigResponse) []BareMetalLoadBalancerAddressPoolResponse { @@ -6297,6 +7378,12 @@ func (i BareMetalMultipleNetworkInterfacesConfigArgs) ToBareMetalMultipleNetwork return pulumi.ToOutputWithContext(ctx, i).(BareMetalMultipleNetworkInterfacesConfigOutput) } +func (i BareMetalMultipleNetworkInterfacesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalMultipleNetworkInterfacesConfig] { + return pulumix.Output[BareMetalMultipleNetworkInterfacesConfig]{ + OutputState: i.ToBareMetalMultipleNetworkInterfacesConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalMultipleNetworkInterfacesConfigArgs) ToBareMetalMultipleNetworkInterfacesConfigPtrOutput() BareMetalMultipleNetworkInterfacesConfigPtrOutput { return i.ToBareMetalMultipleNetworkInterfacesConfigPtrOutputWithContext(context.Background()) } @@ -6338,6 +7425,12 @@ func (i *bareMetalMultipleNetworkInterfacesConfigPtrType) ToBareMetalMultipleNet return pulumi.ToOutputWithContext(ctx, i).(BareMetalMultipleNetworkInterfacesConfigPtrOutput) } +func (i *bareMetalMultipleNetworkInterfacesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalMultipleNetworkInterfacesConfig] { + return pulumix.Output[*BareMetalMultipleNetworkInterfacesConfig]{ + OutputState: i.ToBareMetalMultipleNetworkInterfacesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the multiple networking interfaces cluster configuration. type BareMetalMultipleNetworkInterfacesConfigOutput struct{ *pulumi.OutputState } @@ -6363,6 +7456,12 @@ func (o BareMetalMultipleNetworkInterfacesConfigOutput) ToBareMetalMultipleNetwo }).(BareMetalMultipleNetworkInterfacesConfigPtrOutput) } +func (o BareMetalMultipleNetworkInterfacesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalMultipleNetworkInterfacesConfig] { + return pulumix.Output[BareMetalMultipleNetworkInterfacesConfig]{ + OutputState: o.OutputState, + } +} + // Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is automatically set to true. func (o BareMetalMultipleNetworkInterfacesConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BareMetalMultipleNetworkInterfacesConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -6382,6 +7481,12 @@ func (o BareMetalMultipleNetworkInterfacesConfigPtrOutput) ToBareMetalMultipleNe return o } +func (o BareMetalMultipleNetworkInterfacesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalMultipleNetworkInterfacesConfig] { + return pulumix.Output[*BareMetalMultipleNetworkInterfacesConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalMultipleNetworkInterfacesConfigPtrOutput) Elem() BareMetalMultipleNetworkInterfacesConfigOutput { return o.ApplyT(func(v *BareMetalMultipleNetworkInterfacesConfig) BareMetalMultipleNetworkInterfacesConfig { if v != nil { @@ -6423,6 +7528,12 @@ func (o BareMetalMultipleNetworkInterfacesConfigResponseOutput) ToBareMetalMulti return o } +func (o BareMetalMultipleNetworkInterfacesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalMultipleNetworkInterfacesConfigResponse] { + return pulumix.Output[BareMetalMultipleNetworkInterfacesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is automatically set to true. func (o BareMetalMultipleNetworkInterfacesConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BareMetalMultipleNetworkInterfacesConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -6475,6 +7586,12 @@ func (i BareMetalNetworkConfigArgs) ToBareMetalNetworkConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BareMetalNetworkConfigOutput) } +func (i BareMetalNetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalNetworkConfig] { + return pulumix.Output[BareMetalNetworkConfig]{ + OutputState: i.ToBareMetalNetworkConfigOutputWithContext(ctx).OutputState, + } +} + // Specifies the cluster network configuration. type BareMetalNetworkConfigOutput struct{ *pulumi.OutputState } @@ -6490,6 +7607,12 @@ func (o BareMetalNetworkConfigOutput) ToBareMetalNetworkConfigOutputWithContext( return o } +func (o BareMetalNetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalNetworkConfig] { + return pulumix.Output[BareMetalNetworkConfig]{ + OutputState: o.OutputState, + } +} + // Enables the use of advanced Anthos networking features, such as Bundled Load Balancing with BGP or the egress NAT gateway. Setting configuration for advanced networking features will automatically set this flag. func (o BareMetalNetworkConfigOutput) AdvancedNetworking() pulumi.BoolPtrOutput { return o.ApplyT(func(v BareMetalNetworkConfig) *bool { return v.AdvancedNetworking }).(pulumi.BoolPtrOutput) @@ -6539,6 +7662,12 @@ func (o BareMetalNetworkConfigResponseOutput) ToBareMetalNetworkConfigResponseOu return o } +func (o BareMetalNetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalNetworkConfigResponse] { + return pulumix.Output[BareMetalNetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Enables the use of advanced Anthos networking features, such as Bundled Load Balancing with BGP or the egress NAT gateway. Setting configuration for advanced networking features will automatically set this flag. func (o BareMetalNetworkConfigResponseOutput) AdvancedNetworking() pulumi.BoolOutput { return o.ApplyT(func(v BareMetalNetworkConfigResponse) bool { return v.AdvancedNetworking }).(pulumi.BoolOutput) @@ -6596,6 +7725,12 @@ func (i BareMetalNodeAccessConfigArgs) ToBareMetalNodeAccessConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(BareMetalNodeAccessConfigOutput) } +func (i BareMetalNodeAccessConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalNodeAccessConfig] { + return pulumix.Output[BareMetalNodeAccessConfig]{ + OutputState: i.ToBareMetalNodeAccessConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalNodeAccessConfigArgs) ToBareMetalNodeAccessConfigPtrOutput() BareMetalNodeAccessConfigPtrOutput { return i.ToBareMetalNodeAccessConfigPtrOutputWithContext(context.Background()) } @@ -6637,6 +7772,12 @@ func (i *bareMetalNodeAccessConfigPtrType) ToBareMetalNodeAccessConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(BareMetalNodeAccessConfigPtrOutput) } +func (i *bareMetalNodeAccessConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalNodeAccessConfig] { + return pulumix.Output[*BareMetalNodeAccessConfig]{ + OutputState: i.ToBareMetalNodeAccessConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the node access related settings for the bare metal user cluster. type BareMetalNodeAccessConfigOutput struct{ *pulumi.OutputState } @@ -6662,6 +7803,12 @@ func (o BareMetalNodeAccessConfigOutput) ToBareMetalNodeAccessConfigPtrOutputWit }).(BareMetalNodeAccessConfigPtrOutput) } +func (o BareMetalNodeAccessConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalNodeAccessConfig] { + return pulumix.Output[BareMetalNodeAccessConfig]{ + OutputState: o.OutputState, + } +} + // LoginUser is the user name used to access node machines. It defaults to "root" if not set. func (o BareMetalNodeAccessConfigOutput) LoginUser() pulumi.StringPtrOutput { return o.ApplyT(func(v BareMetalNodeAccessConfig) *string { return v.LoginUser }).(pulumi.StringPtrOutput) @@ -6681,6 +7828,12 @@ func (o BareMetalNodeAccessConfigPtrOutput) ToBareMetalNodeAccessConfigPtrOutput return o } +func (o BareMetalNodeAccessConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalNodeAccessConfig] { + return pulumix.Output[*BareMetalNodeAccessConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalNodeAccessConfigPtrOutput) Elem() BareMetalNodeAccessConfigOutput { return o.ApplyT(func(v *BareMetalNodeAccessConfig) BareMetalNodeAccessConfig { if v != nil { @@ -6722,6 +7875,12 @@ func (o BareMetalNodeAccessConfigResponseOutput) ToBareMetalNodeAccessConfigResp return o } +func (o BareMetalNodeAccessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalNodeAccessConfigResponse] { + return pulumix.Output[BareMetalNodeAccessConfigResponse]{ + OutputState: o.OutputState, + } +} + // LoginUser is the user name used to access node machines. It defaults to "root" if not set. func (o BareMetalNodeAccessConfigResponseOutput) LoginUser() pulumi.StringOutput { return o.ApplyT(func(v BareMetalNodeAccessConfigResponse) string { return v.LoginUser }).(pulumi.StringOutput) @@ -6766,6 +7925,12 @@ func (i BareMetalNodeConfigArgs) ToBareMetalNodeConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BareMetalNodeConfigOutput) } +func (i BareMetalNodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalNodeConfig] { + return pulumix.Output[BareMetalNodeConfig]{ + OutputState: i.ToBareMetalNodeConfigOutputWithContext(ctx).OutputState, + } +} + // BareMetalNodeConfigArrayInput is an input type that accepts BareMetalNodeConfigArray and BareMetalNodeConfigArrayOutput values. // You can construct a concrete instance of `BareMetalNodeConfigArrayInput` via: // @@ -6791,6 +7956,12 @@ func (i BareMetalNodeConfigArray) ToBareMetalNodeConfigArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BareMetalNodeConfigArrayOutput) } +func (i BareMetalNodeConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalNodeConfig] { + return pulumix.Output[[]BareMetalNodeConfig]{ + OutputState: i.ToBareMetalNodeConfigArrayOutputWithContext(ctx).OutputState, + } +} + // BareMetalNodeConfig lists machine addresses to access Nodes. type BareMetalNodeConfigOutput struct{ *pulumi.OutputState } @@ -6806,6 +7977,12 @@ func (o BareMetalNodeConfigOutput) ToBareMetalNodeConfigOutputWithContext(ctx co return o } +func (o BareMetalNodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalNodeConfig] { + return pulumix.Output[BareMetalNodeConfig]{ + OutputState: o.OutputState, + } +} + // The labels assigned to this node. An object containing a list of key/value pairs. The labels here, unioned with the labels set on BareMetalNodePoolConfig are the set of labels that will be applied to the node. If there are any conflicts, the BareMetalNodeConfig labels take precedence. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. func (o BareMetalNodeConfigOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v BareMetalNodeConfig) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -6830,6 +8007,12 @@ func (o BareMetalNodeConfigArrayOutput) ToBareMetalNodeConfigArrayOutputWithCont return o } +func (o BareMetalNodeConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalNodeConfig] { + return pulumix.Output[[]BareMetalNodeConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalNodeConfigArrayOutput) Index(i pulumi.IntInput) BareMetalNodeConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalNodeConfig { return vs[0].([]BareMetalNodeConfig)[vs[1].(int)] @@ -6859,6 +8042,12 @@ func (o BareMetalNodeConfigResponseOutput) ToBareMetalNodeConfigResponseOutputWi return o } +func (o BareMetalNodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalNodeConfigResponse] { + return pulumix.Output[BareMetalNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // The labels assigned to this node. An object containing a list of key/value pairs. The labels here, unioned with the labels set on BareMetalNodePoolConfig are the set of labels that will be applied to the node. If there are any conflicts, the BareMetalNodeConfig labels take precedence. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. func (o BareMetalNodeConfigResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v BareMetalNodeConfigResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -6883,6 +8072,12 @@ func (o BareMetalNodeConfigResponseArrayOutput) ToBareMetalNodeConfigResponseArr return o } +func (o BareMetalNodeConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BareMetalNodeConfigResponse] { + return pulumix.Output[[]BareMetalNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o BareMetalNodeConfigResponseArrayOutput) Index(i pulumi.IntInput) BareMetalNodeConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BareMetalNodeConfigResponse { return vs[0].([]BareMetalNodeConfigResponse)[vs[1].(int)] @@ -6940,6 +8135,12 @@ func (i BareMetalNodePoolConfigArgs) ToBareMetalNodePoolConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BareMetalNodePoolConfigOutput) } +func (i BareMetalNodePoolConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalNodePoolConfig] { + return pulumix.Output[BareMetalNodePoolConfig]{ + OutputState: i.ToBareMetalNodePoolConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalNodePoolConfigArgs) ToBareMetalNodePoolConfigPtrOutput() BareMetalNodePoolConfigPtrOutput { return i.ToBareMetalNodePoolConfigPtrOutputWithContext(context.Background()) } @@ -6981,6 +8182,12 @@ func (i *bareMetalNodePoolConfigPtrType) ToBareMetalNodePoolConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BareMetalNodePoolConfigPtrOutput) } +func (i *bareMetalNodePoolConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalNodePoolConfig] { + return pulumix.Output[*BareMetalNodePoolConfig]{ + OutputState: i.ToBareMetalNodePoolConfigPtrOutputWithContext(ctx).OutputState, + } +} + // BareMetalNodePoolConfig describes the configuration of all nodes within a given bare metal node pool. type BareMetalNodePoolConfigOutput struct{ *pulumi.OutputState } @@ -7006,6 +8213,12 @@ func (o BareMetalNodePoolConfigOutput) ToBareMetalNodePoolConfigPtrOutputWithCon }).(BareMetalNodePoolConfigPtrOutput) } +func (o BareMetalNodePoolConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalNodePoolConfig] { + return pulumix.Output[BareMetalNodePoolConfig]{ + OutputState: o.OutputState, + } +} + // The modifiable kubelet configurations for the baremetal machines. func (o BareMetalNodePoolConfigOutput) KubeletConfig() BareMetalKubeletConfigPtrOutput { return o.ApplyT(func(v BareMetalNodePoolConfig) *BareMetalKubeletConfig { return v.KubeletConfig }).(BareMetalKubeletConfigPtrOutput) @@ -7045,6 +8258,12 @@ func (o BareMetalNodePoolConfigPtrOutput) ToBareMetalNodePoolConfigPtrOutputWith return o } +func (o BareMetalNodePoolConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalNodePoolConfig] { + return pulumix.Output[*BareMetalNodePoolConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalNodePoolConfigPtrOutput) Elem() BareMetalNodePoolConfigOutput { return o.ApplyT(func(v *BareMetalNodePoolConfig) BareMetalNodePoolConfig { if v != nil { @@ -7134,6 +8353,12 @@ func (o BareMetalNodePoolConfigResponseOutput) ToBareMetalNodePoolConfigResponse return o } +func (o BareMetalNodePoolConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalNodePoolConfigResponse] { + return pulumix.Output[BareMetalNodePoolConfigResponse]{ + OutputState: o.OutputState, + } +} + // The modifiable kubelet configurations for the baremetal machines. func (o BareMetalNodePoolConfigResponseOutput) KubeletConfig() BareMetalKubeletConfigResponseOutput { return o.ApplyT(func(v BareMetalNodePoolConfigResponse) BareMetalKubeletConfigResponse { return v.KubeletConfig }).(BareMetalKubeletConfigResponseOutput) @@ -7194,6 +8419,12 @@ func (i BareMetalOsEnvironmentConfigArgs) ToBareMetalOsEnvironmentConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(BareMetalOsEnvironmentConfigOutput) } +func (i BareMetalOsEnvironmentConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalOsEnvironmentConfig] { + return pulumix.Output[BareMetalOsEnvironmentConfig]{ + OutputState: i.ToBareMetalOsEnvironmentConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalOsEnvironmentConfigArgs) ToBareMetalOsEnvironmentConfigPtrOutput() BareMetalOsEnvironmentConfigPtrOutput { return i.ToBareMetalOsEnvironmentConfigPtrOutputWithContext(context.Background()) } @@ -7235,6 +8466,12 @@ func (i *bareMetalOsEnvironmentConfigPtrType) ToBareMetalOsEnvironmentConfigPtrO return pulumi.ToOutputWithContext(ctx, i).(BareMetalOsEnvironmentConfigPtrOutput) } +func (i *bareMetalOsEnvironmentConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalOsEnvironmentConfig] { + return pulumix.Output[*BareMetalOsEnvironmentConfig]{ + OutputState: i.ToBareMetalOsEnvironmentConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies operating system settings for cluster provisioning. type BareMetalOsEnvironmentConfigOutput struct{ *pulumi.OutputState } @@ -7260,6 +8497,12 @@ func (o BareMetalOsEnvironmentConfigOutput) ToBareMetalOsEnvironmentConfigPtrOut }).(BareMetalOsEnvironmentConfigPtrOutput) } +func (o BareMetalOsEnvironmentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalOsEnvironmentConfig] { + return pulumix.Output[BareMetalOsEnvironmentConfig]{ + OutputState: o.OutputState, + } +} + // Whether the package repo should not be included when initializing bare metal machines. func (o BareMetalOsEnvironmentConfigOutput) PackageRepoExcluded() pulumi.BoolPtrOutput { return o.ApplyT(func(v BareMetalOsEnvironmentConfig) *bool { return v.PackageRepoExcluded }).(pulumi.BoolPtrOutput) @@ -7279,6 +8522,12 @@ func (o BareMetalOsEnvironmentConfigPtrOutput) ToBareMetalOsEnvironmentConfigPtr return o } +func (o BareMetalOsEnvironmentConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalOsEnvironmentConfig] { + return pulumix.Output[*BareMetalOsEnvironmentConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalOsEnvironmentConfigPtrOutput) Elem() BareMetalOsEnvironmentConfigOutput { return o.ApplyT(func(v *BareMetalOsEnvironmentConfig) BareMetalOsEnvironmentConfig { if v != nil { @@ -7320,6 +8569,12 @@ func (o BareMetalOsEnvironmentConfigResponseOutput) ToBareMetalOsEnvironmentConf return o } +func (o BareMetalOsEnvironmentConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalOsEnvironmentConfigResponse] { + return pulumix.Output[BareMetalOsEnvironmentConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the package repo should not be included when initializing bare metal machines. func (o BareMetalOsEnvironmentConfigResponseOutput) PackageRepoExcluded() pulumi.BoolOutput { return o.ApplyT(func(v BareMetalOsEnvironmentConfigResponse) bool { return v.PackageRepoExcluded }).(pulumi.BoolOutput) @@ -7360,6 +8615,12 @@ func (i BareMetalPortConfigArgs) ToBareMetalPortConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BareMetalPortConfigOutput) } +func (i BareMetalPortConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalPortConfig] { + return pulumix.Output[BareMetalPortConfig]{ + OutputState: i.ToBareMetalPortConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalPortConfigArgs) ToBareMetalPortConfigPtrOutput() BareMetalPortConfigPtrOutput { return i.ToBareMetalPortConfigPtrOutputWithContext(context.Background()) } @@ -7401,6 +8662,12 @@ func (i *bareMetalPortConfigPtrType) ToBareMetalPortConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BareMetalPortConfigPtrOutput) } +func (i *bareMetalPortConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalPortConfig] { + return pulumix.Output[*BareMetalPortConfig]{ + OutputState: i.ToBareMetalPortConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies load balancer ports for the bare metal user cluster. type BareMetalPortConfigOutput struct{ *pulumi.OutputState } @@ -7426,6 +8693,12 @@ func (o BareMetalPortConfigOutput) ToBareMetalPortConfigPtrOutputWithContext(ctx }).(BareMetalPortConfigPtrOutput) } +func (o BareMetalPortConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalPortConfig] { + return pulumix.Output[BareMetalPortConfig]{ + OutputState: o.OutputState, + } +} + // The port that control plane hosted load balancers will listen on. func (o BareMetalPortConfigOutput) ControlPlaneLoadBalancerPort() pulumi.IntPtrOutput { return o.ApplyT(func(v BareMetalPortConfig) *int { return v.ControlPlaneLoadBalancerPort }).(pulumi.IntPtrOutput) @@ -7445,6 +8718,12 @@ func (o BareMetalPortConfigPtrOutput) ToBareMetalPortConfigPtrOutputWithContext( return o } +func (o BareMetalPortConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalPortConfig] { + return pulumix.Output[*BareMetalPortConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalPortConfigPtrOutput) Elem() BareMetalPortConfigOutput { return o.ApplyT(func(v *BareMetalPortConfig) BareMetalPortConfig { if v != nil { @@ -7486,6 +8765,12 @@ func (o BareMetalPortConfigResponseOutput) ToBareMetalPortConfigResponseOutputWi return o } +func (o BareMetalPortConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalPortConfigResponse] { + return pulumix.Output[BareMetalPortConfigResponse]{ + OutputState: o.OutputState, + } +} + // The port that control plane hosted load balancers will listen on. func (o BareMetalPortConfigResponseOutput) ControlPlaneLoadBalancerPort() pulumi.IntOutput { return o.ApplyT(func(v BareMetalPortConfigResponse) int { return v.ControlPlaneLoadBalancerPort }).(pulumi.IntOutput) @@ -7530,6 +8815,12 @@ func (i BareMetalProxyConfigArgs) ToBareMetalProxyConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(BareMetalProxyConfigOutput) } +func (i BareMetalProxyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalProxyConfig] { + return pulumix.Output[BareMetalProxyConfig]{ + OutputState: i.ToBareMetalProxyConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalProxyConfigArgs) ToBareMetalProxyConfigPtrOutput() BareMetalProxyConfigPtrOutput { return i.ToBareMetalProxyConfigPtrOutputWithContext(context.Background()) } @@ -7571,6 +8862,12 @@ func (i *bareMetalProxyConfigPtrType) ToBareMetalProxyConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(BareMetalProxyConfigPtrOutput) } +func (i *bareMetalProxyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalProxyConfig] { + return pulumix.Output[*BareMetalProxyConfig]{ + OutputState: i.ToBareMetalProxyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the cluster proxy configuration. type BareMetalProxyConfigOutput struct{ *pulumi.OutputState } @@ -7596,6 +8893,12 @@ func (o BareMetalProxyConfigOutput) ToBareMetalProxyConfigPtrOutputWithContext(c }).(BareMetalProxyConfigPtrOutput) } +func (o BareMetalProxyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalProxyConfig] { + return pulumix.Output[BareMetalProxyConfig]{ + OutputState: o.OutputState, + } +} + // A list of IPs, hostnames, and domains that should skip the proxy. Examples: ["127.0.0.1", "example.com", ".corp", "localhost"]. func (o BareMetalProxyConfigOutput) NoProxy() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalProxyConfig) []string { return v.NoProxy }).(pulumi.StringArrayOutput) @@ -7620,6 +8923,12 @@ func (o BareMetalProxyConfigPtrOutput) ToBareMetalProxyConfigPtrOutputWithContex return o } +func (o BareMetalProxyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalProxyConfig] { + return pulumix.Output[*BareMetalProxyConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalProxyConfigPtrOutput) Elem() BareMetalProxyConfigOutput { return o.ApplyT(func(v *BareMetalProxyConfig) BareMetalProxyConfig { if v != nil { @@ -7673,6 +8982,12 @@ func (o BareMetalProxyConfigResponseOutput) ToBareMetalProxyConfigResponseOutput return o } +func (o BareMetalProxyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalProxyConfigResponse] { + return pulumix.Output[BareMetalProxyConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of IPs, hostnames, and domains that should skip the proxy. Examples: ["127.0.0.1", "example.com", ".corp", "localhost"]. func (o BareMetalProxyConfigResponseOutput) NoProxy() pulumi.StringArrayOutput { return o.ApplyT(func(v BareMetalProxyConfigResponse) []string { return v.NoProxy }).(pulumi.StringArrayOutput) @@ -7718,6 +9033,12 @@ func (i BareMetalSecurityConfigArgs) ToBareMetalSecurityConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BareMetalSecurityConfigOutput) } +func (i BareMetalSecurityConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalSecurityConfig] { + return pulumix.Output[BareMetalSecurityConfig]{ + OutputState: i.ToBareMetalSecurityConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalSecurityConfigArgs) ToBareMetalSecurityConfigPtrOutput() BareMetalSecurityConfigPtrOutput { return i.ToBareMetalSecurityConfigPtrOutputWithContext(context.Background()) } @@ -7759,6 +9080,12 @@ func (i *bareMetalSecurityConfigPtrType) ToBareMetalSecurityConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BareMetalSecurityConfigPtrOutput) } +func (i *bareMetalSecurityConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalSecurityConfig] { + return pulumix.Output[*BareMetalSecurityConfig]{ + OutputState: i.ToBareMetalSecurityConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the security related settings for the bare metal user cluster. type BareMetalSecurityConfigOutput struct{ *pulumi.OutputState } @@ -7784,6 +9111,12 @@ func (o BareMetalSecurityConfigOutput) ToBareMetalSecurityConfigPtrOutputWithCon }).(BareMetalSecurityConfigPtrOutput) } +func (o BareMetalSecurityConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalSecurityConfig] { + return pulumix.Output[BareMetalSecurityConfig]{ + OutputState: o.OutputState, + } +} + // Configures user access to the user cluster. func (o BareMetalSecurityConfigOutput) Authorization() AuthorizationPtrOutput { return o.ApplyT(func(v BareMetalSecurityConfig) *Authorization { return v.Authorization }).(AuthorizationPtrOutput) @@ -7803,6 +9136,12 @@ func (o BareMetalSecurityConfigPtrOutput) ToBareMetalSecurityConfigPtrOutputWith return o } +func (o BareMetalSecurityConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalSecurityConfig] { + return pulumix.Output[*BareMetalSecurityConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalSecurityConfigPtrOutput) Elem() BareMetalSecurityConfigOutput { return o.ApplyT(func(v *BareMetalSecurityConfig) BareMetalSecurityConfig { if v != nil { @@ -7844,6 +9183,12 @@ func (o BareMetalSecurityConfigResponseOutput) ToBareMetalSecurityConfigResponse return o } +func (o BareMetalSecurityConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalSecurityConfigResponse] { + return pulumix.Output[BareMetalSecurityConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configures user access to the user cluster. func (o BareMetalSecurityConfigResponseOutput) Authorization() AuthorizationResponseOutput { return o.ApplyT(func(v BareMetalSecurityConfigResponse) AuthorizationResponse { return v.Authorization }).(AuthorizationResponseOutput) @@ -7884,6 +9229,12 @@ func (i BareMetalSrIovConfigArgs) ToBareMetalSrIovConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(BareMetalSrIovConfigOutput) } +func (i BareMetalSrIovConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalSrIovConfig] { + return pulumix.Output[BareMetalSrIovConfig]{ + OutputState: i.ToBareMetalSrIovConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalSrIovConfigArgs) ToBareMetalSrIovConfigPtrOutput() BareMetalSrIovConfigPtrOutput { return i.ToBareMetalSrIovConfigPtrOutputWithContext(context.Background()) } @@ -7925,6 +9276,12 @@ func (i *bareMetalSrIovConfigPtrType) ToBareMetalSrIovConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(BareMetalSrIovConfigPtrOutput) } +func (i *bareMetalSrIovConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalSrIovConfig] { + return pulumix.Output[*BareMetalSrIovConfig]{ + OutputState: i.ToBareMetalSrIovConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the SR-IOV networking operator config. type BareMetalSrIovConfigOutput struct{ *pulumi.OutputState } @@ -7950,6 +9307,12 @@ func (o BareMetalSrIovConfigOutput) ToBareMetalSrIovConfigPtrOutputWithContext(c }).(BareMetalSrIovConfigPtrOutput) } +func (o BareMetalSrIovConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalSrIovConfig] { + return pulumix.Output[BareMetalSrIovConfig]{ + OutputState: o.OutputState, + } +} + // Whether to install the SR-IOV operator. func (o BareMetalSrIovConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BareMetalSrIovConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -7969,6 +9332,12 @@ func (o BareMetalSrIovConfigPtrOutput) ToBareMetalSrIovConfigPtrOutputWithContex return o } +func (o BareMetalSrIovConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalSrIovConfig] { + return pulumix.Output[*BareMetalSrIovConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalSrIovConfigPtrOutput) Elem() BareMetalSrIovConfigOutput { return o.ApplyT(func(v *BareMetalSrIovConfig) BareMetalSrIovConfig { if v != nil { @@ -8010,6 +9379,12 @@ func (o BareMetalSrIovConfigResponseOutput) ToBareMetalSrIovConfigResponseOutput return o } +func (o BareMetalSrIovConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalSrIovConfigResponse] { + return pulumix.Output[BareMetalSrIovConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to install the SR-IOV operator. func (o BareMetalSrIovConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BareMetalSrIovConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -8054,6 +9429,12 @@ func (i BareMetalStorageConfigArgs) ToBareMetalStorageConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BareMetalStorageConfigOutput) } +func (i BareMetalStorageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalStorageConfig] { + return pulumix.Output[BareMetalStorageConfig]{ + OutputState: i.ToBareMetalStorageConfigOutputWithContext(ctx).OutputState, + } +} + // BareMetalStorageConfig specifies the cluster storage configuration. type BareMetalStorageConfigOutput struct{ *pulumi.OutputState } @@ -8069,6 +9450,12 @@ func (o BareMetalStorageConfigOutput) ToBareMetalStorageConfigOutputWithContext( return o } +func (o BareMetalStorageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalStorageConfig] { + return pulumix.Output[BareMetalStorageConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation. func (o BareMetalStorageConfigOutput) LvpNodeMountsConfig() BareMetalLvpConfigOutput { return o.ApplyT(func(v BareMetalStorageConfig) BareMetalLvpConfig { return v.LvpNodeMountsConfig }).(BareMetalLvpConfigOutput) @@ -8102,6 +9489,12 @@ func (o BareMetalStorageConfigResponseOutput) ToBareMetalStorageConfigResponseOu return o } +func (o BareMetalStorageConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalStorageConfigResponse] { + return pulumix.Output[BareMetalStorageConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation. func (o BareMetalStorageConfigResponseOutput) LvpNodeMountsConfig() BareMetalLvpConfigResponseOutput { return o.ApplyT(func(v BareMetalStorageConfigResponse) BareMetalLvpConfigResponse { return v.LvpNodeMountsConfig }).(BareMetalLvpConfigResponseOutput) @@ -8151,6 +9544,12 @@ func (i BareMetalVipConfigArgs) ToBareMetalVipConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(BareMetalVipConfigOutput) } +func (i BareMetalVipConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalVipConfig] { + return pulumix.Output[BareMetalVipConfig]{ + OutputState: i.ToBareMetalVipConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalVipConfigArgs) ToBareMetalVipConfigPtrOutput() BareMetalVipConfigPtrOutput { return i.ToBareMetalVipConfigPtrOutputWithContext(context.Background()) } @@ -8192,6 +9591,12 @@ func (i *bareMetalVipConfigPtrType) ToBareMetalVipConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BareMetalVipConfigPtrOutput) } +func (i *bareMetalVipConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalVipConfig] { + return pulumix.Output[*BareMetalVipConfig]{ + OutputState: i.ToBareMetalVipConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the VIP config for the bare metal load balancer. type BareMetalVipConfigOutput struct{ *pulumi.OutputState } @@ -8217,6 +9622,12 @@ func (o BareMetalVipConfigOutput) ToBareMetalVipConfigPtrOutputWithContext(ctx c }).(BareMetalVipConfigPtrOutput) } +func (o BareMetalVipConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalVipConfig] { + return pulumix.Output[BareMetalVipConfig]{ + OutputState: o.OutputState, + } +} + // The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster. func (o BareMetalVipConfigOutput) ControlPlaneVip() pulumi.StringPtrOutput { return o.ApplyT(func(v BareMetalVipConfig) *string { return v.ControlPlaneVip }).(pulumi.StringPtrOutput) @@ -8241,6 +9652,12 @@ func (o BareMetalVipConfigPtrOutput) ToBareMetalVipConfigPtrOutputWithContext(ct return o } +func (o BareMetalVipConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalVipConfig] { + return pulumix.Output[*BareMetalVipConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalVipConfigPtrOutput) Elem() BareMetalVipConfigOutput { return o.ApplyT(func(v *BareMetalVipConfig) BareMetalVipConfig { if v != nil { @@ -8294,6 +9711,12 @@ func (o BareMetalVipConfigResponseOutput) ToBareMetalVipConfigResponseOutputWith return o } +func (o BareMetalVipConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalVipConfigResponse] { + return pulumix.Output[BareMetalVipConfigResponse]{ + OutputState: o.OutputState, + } +} + // The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster. func (o BareMetalVipConfigResponseOutput) ControlPlaneVip() pulumi.StringOutput { return o.ApplyT(func(v BareMetalVipConfigResponse) string { return v.ControlPlaneVip }).(pulumi.StringOutput) @@ -8343,6 +9766,12 @@ func (i BareMetalWorkloadNodeConfigArgs) ToBareMetalWorkloadNodeConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(BareMetalWorkloadNodeConfigOutput) } +func (i BareMetalWorkloadNodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BareMetalWorkloadNodeConfig] { + return pulumix.Output[BareMetalWorkloadNodeConfig]{ + OutputState: i.ToBareMetalWorkloadNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i BareMetalWorkloadNodeConfigArgs) ToBareMetalWorkloadNodeConfigPtrOutput() BareMetalWorkloadNodeConfigPtrOutput { return i.ToBareMetalWorkloadNodeConfigPtrOutputWithContext(context.Background()) } @@ -8384,6 +9813,12 @@ func (i *bareMetalWorkloadNodeConfigPtrType) ToBareMetalWorkloadNodeConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(BareMetalWorkloadNodeConfigPtrOutput) } +func (i *bareMetalWorkloadNodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BareMetalWorkloadNodeConfig] { + return pulumix.Output[*BareMetalWorkloadNodeConfig]{ + OutputState: i.ToBareMetalWorkloadNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the workload node configurations. type BareMetalWorkloadNodeConfigOutput struct{ *pulumi.OutputState } @@ -8409,6 +9844,12 @@ func (o BareMetalWorkloadNodeConfigOutput) ToBareMetalWorkloadNodeConfigPtrOutpu }).(BareMetalWorkloadNodeConfigPtrOutput) } +func (o BareMetalWorkloadNodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalWorkloadNodeConfig] { + return pulumix.Output[BareMetalWorkloadNodeConfig]{ + OutputState: o.OutputState, + } +} + // Specifies which container runtime will be used. func (o BareMetalWorkloadNodeConfigOutput) ContainerRuntime() BareMetalWorkloadNodeConfigContainerRuntimePtrOutput { return o.ApplyT(func(v BareMetalWorkloadNodeConfig) *BareMetalWorkloadNodeConfigContainerRuntime { @@ -8435,6 +9876,12 @@ func (o BareMetalWorkloadNodeConfigPtrOutput) ToBareMetalWorkloadNodeConfigPtrOu return o } +func (o BareMetalWorkloadNodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BareMetalWorkloadNodeConfig] { + return pulumix.Output[*BareMetalWorkloadNodeConfig]{ + OutputState: o.OutputState, + } +} + func (o BareMetalWorkloadNodeConfigPtrOutput) Elem() BareMetalWorkloadNodeConfigOutput { return o.ApplyT(func(v *BareMetalWorkloadNodeConfig) BareMetalWorkloadNodeConfig { if v != nil { @@ -8488,6 +9935,12 @@ func (o BareMetalWorkloadNodeConfigResponseOutput) ToBareMetalWorkloadNodeConfig return o } +func (o BareMetalWorkloadNodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BareMetalWorkloadNodeConfigResponse] { + return pulumix.Output[BareMetalWorkloadNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies which container runtime will be used. func (o BareMetalWorkloadNodeConfigResponseOutput) ContainerRuntime() pulumi.StringOutput { return o.ApplyT(func(v BareMetalWorkloadNodeConfigResponse) string { return v.ContainerRuntime }).(pulumi.StringOutput) @@ -8541,6 +9994,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -8566,6 +10025,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -8581,6 +10046,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -8610,6 +10081,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -8641,6 +10118,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -8670,6 +10153,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -8711,6 +10200,12 @@ func (i ClusterUserArgs) ToClusterUserOutputWithContext(ctx context.Context) Clu return pulumi.ToOutputWithContext(ctx, i).(ClusterUserOutput) } +func (i ClusterUserArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterUser] { + return pulumix.Output[ClusterUser]{ + OutputState: i.ToClusterUserOutputWithContext(ctx).OutputState, + } +} + // ClusterUserArrayInput is an input type that accepts ClusterUserArray and ClusterUserArrayOutput values. // You can construct a concrete instance of `ClusterUserArrayInput` via: // @@ -8736,6 +10231,12 @@ func (i ClusterUserArray) ToClusterUserArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ClusterUserArrayOutput) } +func (i ClusterUserArray) ToOutput(ctx context.Context) pulumix.Output[[]ClusterUser] { + return pulumix.Output[[]ClusterUser]{ + OutputState: i.ToClusterUserArrayOutputWithContext(ctx).OutputState, + } +} + // ClusterUser configures user principals for an RBAC policy. type ClusterUserOutput struct{ *pulumi.OutputState } @@ -8751,6 +10252,12 @@ func (o ClusterUserOutput) ToClusterUserOutputWithContext(ctx context.Context) C return o } +func (o ClusterUserOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterUser] { + return pulumix.Output[ClusterUser]{ + OutputState: o.OutputState, + } +} + // The name of the user, e.g. `my-gcp-id@gmail.com`. func (o ClusterUserOutput) Username() pulumi.StringOutput { return o.ApplyT(func(v ClusterUser) string { return v.Username }).(pulumi.StringOutput) @@ -8770,6 +10277,12 @@ func (o ClusterUserArrayOutput) ToClusterUserArrayOutputWithContext(ctx context. return o } +func (o ClusterUserArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterUser] { + return pulumix.Output[[]ClusterUser]{ + OutputState: o.OutputState, + } +} + func (o ClusterUserArrayOutput) Index(i pulumi.IntInput) ClusterUserOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterUser { return vs[0].([]ClusterUser)[vs[1].(int)] @@ -8797,6 +10310,12 @@ func (o ClusterUserResponseOutput) ToClusterUserResponseOutputWithContext(ctx co return o } +func (o ClusterUserResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterUserResponse] { + return pulumix.Output[ClusterUserResponse]{ + OutputState: o.OutputState, + } +} + // The name of the user, e.g. `my-gcp-id@gmail.com`. func (o ClusterUserResponseOutput) Username() pulumi.StringOutput { return o.ApplyT(func(v ClusterUserResponse) string { return v.Username }).(pulumi.StringOutput) @@ -8816,6 +10335,12 @@ func (o ClusterUserResponseArrayOutput) ToClusterUserResponseArrayOutputWithCont return o } +func (o ClusterUserResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterUserResponse] { + return pulumix.Output[[]ClusterUserResponse]{ + OutputState: o.OutputState, + } +} + func (o ClusterUserResponseArrayOutput) Index(i pulumi.IntInput) ClusterUserResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterUserResponse { return vs[0].([]ClusterUserResponse)[vs[1].(int)] @@ -8869,6 +10394,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -8910,6 +10441,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -8935,6 +10472,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -8969,6 +10512,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -9046,6 +10595,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -9087,6 +10642,12 @@ func (o FleetResponseOutput) ToFleetResponseOutputWithContext(ctx context.Contex return o } +func (o FleetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FleetResponse] { + return pulumix.Output[FleetResponse]{ + OutputState: o.OutputState, + } +} + // The name of the managed fleet Membership resource associated to this cluster. Membership names are formatted as `projects//locations//memberships/`. func (o FleetResponseOutput) Membership() pulumi.StringOutput { return o.ApplyT(func(v FleetResponse) string { return v.Membership }).(pulumi.StringOutput) @@ -9135,6 +10696,12 @@ func (i NodeTaintArgs) ToNodeTaintOutputWithContext(ctx context.Context) NodeTai return pulumi.ToOutputWithContext(ctx, i).(NodeTaintOutput) } +func (i NodeTaintArgs) ToOutput(ctx context.Context) pulumix.Output[NodeTaint] { + return pulumix.Output[NodeTaint]{ + OutputState: i.ToNodeTaintOutputWithContext(ctx).OutputState, + } +} + // NodeTaintArrayInput is an input type that accepts NodeTaintArray and NodeTaintArrayOutput values. // You can construct a concrete instance of `NodeTaintArrayInput` via: // @@ -9160,6 +10727,12 @@ func (i NodeTaintArray) ToNodeTaintArrayOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NodeTaintArrayOutput) } +func (i NodeTaintArray) ToOutput(ctx context.Context) pulumix.Output[[]NodeTaint] { + return pulumix.Output[[]NodeTaint]{ + OutputState: i.ToNodeTaintArrayOutputWithContext(ctx).OutputState, + } +} + // NodeTaint applied to every Kubernetes node in a node pool. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes. Node taints are permanent. type NodeTaintOutput struct{ *pulumi.OutputState } @@ -9175,6 +10748,12 @@ func (o NodeTaintOutput) ToNodeTaintOutputWithContext(ctx context.Context) NodeT return o } +func (o NodeTaintOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTaint] { + return pulumix.Output[NodeTaint]{ + OutputState: o.OutputState, + } +} + // The taint effect. func (o NodeTaintOutput) Effect() NodeTaintEffectPtrOutput { return o.ApplyT(func(v NodeTaint) *NodeTaintEffect { return v.Effect }).(NodeTaintEffectPtrOutput) @@ -9204,6 +10783,12 @@ func (o NodeTaintArrayOutput) ToNodeTaintArrayOutputWithContext(ctx context.Cont return o } +func (o NodeTaintArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeTaint] { + return pulumix.Output[[]NodeTaint]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintArrayOutput) Index(i pulumi.IntInput) NodeTaintOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeTaint { return vs[0].([]NodeTaint)[vs[1].(int)] @@ -9235,6 +10820,12 @@ func (o NodeTaintResponseOutput) ToNodeTaintResponseOutputWithContext(ctx contex return o } +func (o NodeTaintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeTaintResponse] { + return pulumix.Output[NodeTaintResponse]{ + OutputState: o.OutputState, + } +} + // The taint effect. func (o NodeTaintResponseOutput) Effect() pulumi.StringOutput { return o.ApplyT(func(v NodeTaintResponse) string { return v.Effect }).(pulumi.StringOutput) @@ -9264,6 +10855,12 @@ func (o NodeTaintResponseArrayOutput) ToNodeTaintResponseArrayOutputWithContext( return o } +func (o NodeTaintResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeTaintResponse] { + return pulumix.Output[[]NodeTaintResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeTaintResponseArrayOutput) Index(i pulumi.IntInput) NodeTaintResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeTaintResponse { return vs[0].([]NodeTaintResponse)[vs[1].(int)] @@ -9299,6 +10896,12 @@ func (o ResourceConditionResponseOutput) ToResourceConditionResponseOutputWithCo return o } +func (o ResourceConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceConditionResponse] { + return pulumix.Output[ResourceConditionResponse]{ + OutputState: o.OutputState, + } +} + // Last time the condition transit from one status to another. func (o ResourceConditionResponseOutput) LastTransitionTime() pulumi.StringOutput { return o.ApplyT(func(v ResourceConditionResponse) string { return v.LastTransitionTime }).(pulumi.StringOutput) @@ -9338,6 +10941,12 @@ func (o ResourceConditionResponseArrayOutput) ToResourceConditionResponseArrayOu return o } +func (o ResourceConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceConditionResponse] { + return pulumix.Output[[]ResourceConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceConditionResponseArrayOutput) Index(i pulumi.IntInput) ResourceConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceConditionResponse { return vs[0].([]ResourceConditionResponse)[vs[1].(int)] @@ -9367,6 +10976,12 @@ func (o ResourceStatusResponseOutput) ToResourceStatusResponseOutputWithContext( return o } +func (o ResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceStatusResponse] { + return pulumix.Output[ResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // ResourceCondition provide a standard mechanism for higher-level status reporting from controller. func (o ResourceStatusResponseOutput) Conditions() ResourceConditionResponseArrayOutput { return o.ApplyT(func(v ResourceStatusResponse) []ResourceConditionResponse { return v.Conditions }).(ResourceConditionResponseArrayOutput) @@ -9402,6 +11017,12 @@ func (o ValidationCheckResponseOutput) ToValidationCheckResponseOutputWithContex return o } +func (o ValidationCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationCheckResponse] { + return pulumix.Output[ValidationCheckResponse]{ + OutputState: o.OutputState, + } +} + // Options used for the validation check func (o ValidationCheckResponseOutput) Option() pulumi.StringOutput { return o.ApplyT(func(v ValidationCheckResponse) string { return v.Option }).(pulumi.StringOutput) @@ -9446,6 +11067,12 @@ func (o ValidationCheckResultResponseOutput) ToValidationCheckResultResponseOutp return o } +func (o ValidationCheckResultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationCheckResultResponse] { + return pulumix.Output[ValidationCheckResultResponse]{ + OutputState: o.OutputState, + } +} + // The category of the validation. func (o ValidationCheckResultResponseOutput) Category() pulumi.StringOutput { return o.ApplyT(func(v ValidationCheckResultResponse) string { return v.Category }).(pulumi.StringOutput) @@ -9485,6 +11112,12 @@ func (o ValidationCheckResultResponseArrayOutput) ToValidationCheckResultRespons return o } +func (o ValidationCheckResultResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidationCheckResultResponse] { + return pulumix.Output[[]ValidationCheckResultResponse]{ + OutputState: o.OutputState, + } +} + func (o ValidationCheckResultResponseArrayOutput) Index(i pulumi.IntInput) ValidationCheckResultResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ValidationCheckResultResponse { return vs[0].([]ValidationCheckResultResponse)[vs[1].(int)] @@ -9512,6 +11145,12 @@ func (o ValidationCheckStatusResponseOutput) ToValidationCheckStatusResponseOutp return o } +func (o ValidationCheckStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationCheckStatusResponse] { + return pulumix.Output[ValidationCheckStatusResponse]{ + OutputState: o.OutputState, + } +} + // Individual checks which failed as part of the Preflight check execution. func (o ValidationCheckStatusResponseOutput) Result() ValidationCheckResultResponseArrayOutput { return o.ApplyT(func(v ValidationCheckStatusResponse) []ValidationCheckResultResponse { return v.Result }).(ValidationCheckResultResponseArrayOutput) @@ -9552,6 +11191,12 @@ func (i VmwareAAGConfigArgs) ToVmwareAAGConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(VmwareAAGConfigOutput) } +func (i VmwareAAGConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareAAGConfig] { + return pulumix.Output[VmwareAAGConfig]{ + OutputState: i.ToVmwareAAGConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareAAGConfigArgs) ToVmwareAAGConfigPtrOutput() VmwareAAGConfigPtrOutput { return i.ToVmwareAAGConfigPtrOutputWithContext(context.Background()) } @@ -9593,6 +11238,12 @@ func (i *vmwareAAGConfigPtrType) ToVmwareAAGConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(VmwareAAGConfigPtrOutput) } +func (i *vmwareAAGConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareAAGConfig] { + return pulumix.Output[*VmwareAAGConfig]{ + OutputState: i.ToVmwareAAGConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies anti affinity group config for the VMware user cluster. type VmwareAAGConfigOutput struct{ *pulumi.OutputState } @@ -9618,6 +11269,12 @@ func (o VmwareAAGConfigOutput) ToVmwareAAGConfigPtrOutputWithContext(ctx context }).(VmwareAAGConfigPtrOutput) } +func (o VmwareAAGConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareAAGConfig] { + return pulumix.Output[VmwareAAGConfig]{ + OutputState: o.OutputState, + } +} + // Spread nodes across at least three physical hosts (requires at least three hosts). Enabled by default. func (o VmwareAAGConfigOutput) AagConfigDisabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v VmwareAAGConfig) *bool { return v.AagConfigDisabled }).(pulumi.BoolPtrOutput) @@ -9637,6 +11294,12 @@ func (o VmwareAAGConfigPtrOutput) ToVmwareAAGConfigPtrOutputWithContext(ctx cont return o } +func (o VmwareAAGConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareAAGConfig] { + return pulumix.Output[*VmwareAAGConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareAAGConfigPtrOutput) Elem() VmwareAAGConfigOutput { return o.ApplyT(func(v *VmwareAAGConfig) VmwareAAGConfig { if v != nil { @@ -9678,6 +11341,12 @@ func (o VmwareAAGConfigResponseOutput) ToVmwareAAGConfigResponseOutputWithContex return o } +func (o VmwareAAGConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareAAGConfigResponse] { + return pulumix.Output[VmwareAAGConfigResponse]{ + OutputState: o.OutputState, + } +} + // Spread nodes across at least three physical hosts (requires at least three hosts). Enabled by default. func (o VmwareAAGConfigResponseOutput) AagConfigDisabled() pulumi.BoolOutput { return o.ApplyT(func(v VmwareAAGConfigResponse) bool { return v.AagConfigDisabled }).(pulumi.BoolOutput) @@ -9730,6 +11399,12 @@ func (i VmwareAddressPoolArgs) ToVmwareAddressPoolOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(VmwareAddressPoolOutput) } +func (i VmwareAddressPoolArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareAddressPool] { + return pulumix.Output[VmwareAddressPool]{ + OutputState: i.ToVmwareAddressPoolOutputWithContext(ctx).OutputState, + } +} + // VmwareAddressPoolArrayInput is an input type that accepts VmwareAddressPoolArray and VmwareAddressPoolArrayOutput values. // You can construct a concrete instance of `VmwareAddressPoolArrayInput` via: // @@ -9755,6 +11430,12 @@ func (i VmwareAddressPoolArray) ToVmwareAddressPoolArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(VmwareAddressPoolArrayOutput) } +func (i VmwareAddressPoolArray) ToOutput(ctx context.Context) pulumix.Output[[]VmwareAddressPool] { + return pulumix.Output[[]VmwareAddressPool]{ + OutputState: i.ToVmwareAddressPoolArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an IP pool used by the load balancer. type VmwareAddressPoolOutput struct{ *pulumi.OutputState } @@ -9770,6 +11451,12 @@ func (o VmwareAddressPoolOutput) ToVmwareAddressPoolOutputWithContext(ctx contex return o } +func (o VmwareAddressPoolOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareAddressPool] { + return pulumix.Output[VmwareAddressPool]{ + OutputState: o.OutputState, + } +} + // The addresses that are part of this pool. Each address must be either in the CIDR form (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5). func (o VmwareAddressPoolOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v VmwareAddressPool) []string { return v.Addresses }).(pulumi.StringArrayOutput) @@ -9804,6 +11491,12 @@ func (o VmwareAddressPoolArrayOutput) ToVmwareAddressPoolArrayOutputWithContext( return o } +func (o VmwareAddressPoolArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmwareAddressPool] { + return pulumix.Output[[]VmwareAddressPool]{ + OutputState: o.OutputState, + } +} + func (o VmwareAddressPoolArrayOutput) Index(i pulumi.IntInput) VmwareAddressPoolOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmwareAddressPool { return vs[0].([]VmwareAddressPool)[vs[1].(int)] @@ -9837,6 +11530,12 @@ func (o VmwareAddressPoolResponseOutput) ToVmwareAddressPoolResponseOutputWithCo return o } +func (o VmwareAddressPoolResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareAddressPoolResponse] { + return pulumix.Output[VmwareAddressPoolResponse]{ + OutputState: o.OutputState, + } +} + // The addresses that are part of this pool. Each address must be either in the CIDR form (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5). func (o VmwareAddressPoolResponseOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v VmwareAddressPoolResponse) []string { return v.Addresses }).(pulumi.StringArrayOutput) @@ -9871,6 +11570,12 @@ func (o VmwareAddressPoolResponseArrayOutput) ToVmwareAddressPoolResponseArrayOu return o } +func (o VmwareAddressPoolResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmwareAddressPoolResponse] { + return pulumix.Output[[]VmwareAddressPoolResponse]{ + OutputState: o.OutputState, + } +} + func (o VmwareAddressPoolResponseArrayOutput) Index(i pulumi.IntInput) VmwareAddressPoolResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmwareAddressPoolResponse { return vs[0].([]VmwareAddressPoolResponse)[vs[1].(int)] @@ -9912,6 +11617,12 @@ func (i VmwareAutoRepairConfigArgs) ToVmwareAutoRepairConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(VmwareAutoRepairConfigOutput) } +func (i VmwareAutoRepairConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareAutoRepairConfig] { + return pulumix.Output[VmwareAutoRepairConfig]{ + OutputState: i.ToVmwareAutoRepairConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareAutoRepairConfigArgs) ToVmwareAutoRepairConfigPtrOutput() VmwareAutoRepairConfigPtrOutput { return i.ToVmwareAutoRepairConfigPtrOutputWithContext(context.Background()) } @@ -9953,6 +11664,12 @@ func (i *vmwareAutoRepairConfigPtrType) ToVmwareAutoRepairConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(VmwareAutoRepairConfigPtrOutput) } +func (i *vmwareAutoRepairConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareAutoRepairConfig] { + return pulumix.Output[*VmwareAutoRepairConfig]{ + OutputState: i.ToVmwareAutoRepairConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies config to enable/disable auto repair. The cluster-health-controller is deployed only if Enabled is true. type VmwareAutoRepairConfigOutput struct{ *pulumi.OutputState } @@ -9978,6 +11695,12 @@ func (o VmwareAutoRepairConfigOutput) ToVmwareAutoRepairConfigPtrOutputWithConte }).(VmwareAutoRepairConfigPtrOutput) } +func (o VmwareAutoRepairConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareAutoRepairConfig] { + return pulumix.Output[VmwareAutoRepairConfig]{ + OutputState: o.OutputState, + } +} + // Whether auto repair is enabled. func (o VmwareAutoRepairConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v VmwareAutoRepairConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -9997,6 +11720,12 @@ func (o VmwareAutoRepairConfigPtrOutput) ToVmwareAutoRepairConfigPtrOutputWithCo return o } +func (o VmwareAutoRepairConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareAutoRepairConfig] { + return pulumix.Output[*VmwareAutoRepairConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareAutoRepairConfigPtrOutput) Elem() VmwareAutoRepairConfigOutput { return o.ApplyT(func(v *VmwareAutoRepairConfig) VmwareAutoRepairConfig { if v != nil { @@ -10038,6 +11767,12 @@ func (o VmwareAutoRepairConfigResponseOutput) ToVmwareAutoRepairConfigResponseOu return o } +func (o VmwareAutoRepairConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareAutoRepairConfigResponse] { + return pulumix.Output[VmwareAutoRepairConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether auto repair is enabled. func (o VmwareAutoRepairConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v VmwareAutoRepairConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -10078,6 +11813,12 @@ func (i VmwareAutoResizeConfigArgs) ToVmwareAutoResizeConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(VmwareAutoResizeConfigOutput) } +func (i VmwareAutoResizeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareAutoResizeConfig] { + return pulumix.Output[VmwareAutoResizeConfig]{ + OutputState: i.ToVmwareAutoResizeConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareAutoResizeConfigArgs) ToVmwareAutoResizeConfigPtrOutput() VmwareAutoResizeConfigPtrOutput { return i.ToVmwareAutoResizeConfigPtrOutputWithContext(context.Background()) } @@ -10119,6 +11860,12 @@ func (i *vmwareAutoResizeConfigPtrType) ToVmwareAutoResizeConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(VmwareAutoResizeConfigPtrOutput) } +func (i *vmwareAutoResizeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareAutoResizeConfig] { + return pulumix.Output[*VmwareAutoResizeConfig]{ + OutputState: i.ToVmwareAutoResizeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents auto resizing configurations for the VMware user cluster. type VmwareAutoResizeConfigOutput struct{ *pulumi.OutputState } @@ -10144,6 +11891,12 @@ func (o VmwareAutoResizeConfigOutput) ToVmwareAutoResizeConfigPtrOutputWithConte }).(VmwareAutoResizeConfigPtrOutput) } +func (o VmwareAutoResizeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareAutoResizeConfig] { + return pulumix.Output[VmwareAutoResizeConfig]{ + OutputState: o.OutputState, + } +} + // Whether to enable controle plane node auto resizing. func (o VmwareAutoResizeConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v VmwareAutoResizeConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -10163,6 +11916,12 @@ func (o VmwareAutoResizeConfigPtrOutput) ToVmwareAutoResizeConfigPtrOutputWithCo return o } +func (o VmwareAutoResizeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareAutoResizeConfig] { + return pulumix.Output[*VmwareAutoResizeConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareAutoResizeConfigPtrOutput) Elem() VmwareAutoResizeConfigOutput { return o.ApplyT(func(v *VmwareAutoResizeConfig) VmwareAutoResizeConfig { if v != nil { @@ -10204,6 +11963,12 @@ func (o VmwareAutoResizeConfigResponseOutput) ToVmwareAutoResizeConfigResponseOu return o } +func (o VmwareAutoResizeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareAutoResizeConfigResponse] { + return pulumix.Output[VmwareAutoResizeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to enable controle plane node auto resizing. func (o VmwareAutoResizeConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v VmwareAutoResizeConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -10256,6 +12021,12 @@ func (i VmwareControlPlaneNodeConfigArgs) ToVmwareControlPlaneNodeConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(VmwareControlPlaneNodeConfigOutput) } +func (i VmwareControlPlaneNodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareControlPlaneNodeConfig] { + return pulumix.Output[VmwareControlPlaneNodeConfig]{ + OutputState: i.ToVmwareControlPlaneNodeConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareControlPlaneNodeConfigArgs) ToVmwareControlPlaneNodeConfigPtrOutput() VmwareControlPlaneNodeConfigPtrOutput { return i.ToVmwareControlPlaneNodeConfigPtrOutputWithContext(context.Background()) } @@ -10297,6 +12068,12 @@ func (i *vmwareControlPlaneNodeConfigPtrType) ToVmwareControlPlaneNodeConfigPtrO return pulumi.ToOutputWithContext(ctx, i).(VmwareControlPlaneNodeConfigPtrOutput) } +func (i *vmwareControlPlaneNodeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareControlPlaneNodeConfig] { + return pulumix.Output[*VmwareControlPlaneNodeConfig]{ + OutputState: i.ToVmwareControlPlaneNodeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies control plane node config for the VMware user cluster. type VmwareControlPlaneNodeConfigOutput struct{ *pulumi.OutputState } @@ -10322,6 +12099,12 @@ func (o VmwareControlPlaneNodeConfigOutput) ToVmwareControlPlaneNodeConfigPtrOut }).(VmwareControlPlaneNodeConfigPtrOutput) } +func (o VmwareControlPlaneNodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareControlPlaneNodeConfig] { + return pulumix.Output[VmwareControlPlaneNodeConfig]{ + OutputState: o.OutputState, + } +} + // AutoResizeConfig provides auto resizing configurations. func (o VmwareControlPlaneNodeConfigOutput) AutoResizeConfig() VmwareAutoResizeConfigPtrOutput { return o.ApplyT(func(v VmwareControlPlaneNodeConfig) *VmwareAutoResizeConfig { return v.AutoResizeConfig }).(VmwareAutoResizeConfigPtrOutput) @@ -10356,6 +12139,12 @@ func (o VmwareControlPlaneNodeConfigPtrOutput) ToVmwareControlPlaneNodeConfigPtr return o } +func (o VmwareControlPlaneNodeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareControlPlaneNodeConfig] { + return pulumix.Output[*VmwareControlPlaneNodeConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareControlPlaneNodeConfigPtrOutput) Elem() VmwareControlPlaneNodeConfigOutput { return o.ApplyT(func(v *VmwareControlPlaneNodeConfig) VmwareControlPlaneNodeConfig { if v != nil { @@ -10435,6 +12224,12 @@ func (o VmwareControlPlaneNodeConfigResponseOutput) ToVmwareControlPlaneNodeConf return o } +func (o VmwareControlPlaneNodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareControlPlaneNodeConfigResponse] { + return pulumix.Output[VmwareControlPlaneNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // AutoResizeConfig provides auto resizing configurations. func (o VmwareControlPlaneNodeConfigResponseOutput) AutoResizeConfig() VmwareAutoResizeConfigResponseOutput { return o.ApplyT(func(v VmwareControlPlaneNodeConfigResponse) VmwareAutoResizeConfigResponse { return v.AutoResizeConfig }).(VmwareAutoResizeConfigResponseOutput) @@ -10497,6 +12292,12 @@ func (i VmwareControlPlaneV2ConfigArgs) ToVmwareControlPlaneV2ConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(VmwareControlPlaneV2ConfigOutput) } +func (i VmwareControlPlaneV2ConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareControlPlaneV2Config] { + return pulumix.Output[VmwareControlPlaneV2Config]{ + OutputState: i.ToVmwareControlPlaneV2ConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareControlPlaneV2ConfigArgs) ToVmwareControlPlaneV2ConfigPtrOutput() VmwareControlPlaneV2ConfigPtrOutput { return i.ToVmwareControlPlaneV2ConfigPtrOutputWithContext(context.Background()) } @@ -10538,6 +12339,12 @@ func (i *vmwareControlPlaneV2ConfigPtrType) ToVmwareControlPlaneV2ConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(VmwareControlPlaneV2ConfigPtrOutput) } +func (i *vmwareControlPlaneV2ConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareControlPlaneV2Config] { + return pulumix.Output[*VmwareControlPlaneV2Config]{ + OutputState: i.ToVmwareControlPlaneV2ConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies control plane V2 config. type VmwareControlPlaneV2ConfigOutput struct{ *pulumi.OutputState } @@ -10563,6 +12370,12 @@ func (o VmwareControlPlaneV2ConfigOutput) ToVmwareControlPlaneV2ConfigPtrOutputW }).(VmwareControlPlaneV2ConfigPtrOutput) } +func (o VmwareControlPlaneV2ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareControlPlaneV2Config] { + return pulumix.Output[VmwareControlPlaneV2Config]{ + OutputState: o.OutputState, + } +} + // Static IP addresses for the control plane nodes. func (o VmwareControlPlaneV2ConfigOutput) ControlPlaneIpBlock() VmwareIpBlockPtrOutput { return o.ApplyT(func(v VmwareControlPlaneV2Config) *VmwareIpBlock { return v.ControlPlaneIpBlock }).(VmwareIpBlockPtrOutput) @@ -10582,6 +12395,12 @@ func (o VmwareControlPlaneV2ConfigPtrOutput) ToVmwareControlPlaneV2ConfigPtrOutp return o } +func (o VmwareControlPlaneV2ConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareControlPlaneV2Config] { + return pulumix.Output[*VmwareControlPlaneV2Config]{ + OutputState: o.OutputState, + } +} + func (o VmwareControlPlaneV2ConfigPtrOutput) Elem() VmwareControlPlaneV2ConfigOutput { return o.ApplyT(func(v *VmwareControlPlaneV2Config) VmwareControlPlaneV2Config { if v != nil { @@ -10623,6 +12442,12 @@ func (o VmwareControlPlaneV2ConfigResponseOutput) ToVmwareControlPlaneV2ConfigRe return o } +func (o VmwareControlPlaneV2ConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareControlPlaneV2ConfigResponse] { + return pulumix.Output[VmwareControlPlaneV2ConfigResponse]{ + OutputState: o.OutputState, + } +} + // Static IP addresses for the control plane nodes. func (o VmwareControlPlaneV2ConfigResponseOutput) ControlPlaneIpBlock() VmwareIpBlockResponseOutput { return o.ApplyT(func(v VmwareControlPlaneV2ConfigResponse) VmwareIpBlockResponse { return v.ControlPlaneIpBlock }).(VmwareIpBlockResponseOutput) @@ -10649,6 +12474,12 @@ func (o VmwareControlPlaneVsphereConfigResponseOutput) ToVmwareControlPlaneVsphe return o } +func (o VmwareControlPlaneVsphereConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareControlPlaneVsphereConfigResponse] { + return pulumix.Output[VmwareControlPlaneVsphereConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Vsphere datastore used by the control plane Node. func (o VmwareControlPlaneVsphereConfigResponseOutput) Datastore() pulumi.StringOutput { return o.ApplyT(func(v VmwareControlPlaneVsphereConfigResponse) string { return v.Datastore }).(pulumi.StringOutput) @@ -10697,6 +12528,12 @@ func (i VmwareDataplaneV2ConfigArgs) ToVmwareDataplaneV2ConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(VmwareDataplaneV2ConfigOutput) } +func (i VmwareDataplaneV2ConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareDataplaneV2Config] { + return pulumix.Output[VmwareDataplaneV2Config]{ + OutputState: i.ToVmwareDataplaneV2ConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareDataplaneV2ConfigArgs) ToVmwareDataplaneV2ConfigPtrOutput() VmwareDataplaneV2ConfigPtrOutput { return i.ToVmwareDataplaneV2ConfigPtrOutputWithContext(context.Background()) } @@ -10738,6 +12575,12 @@ func (i *vmwareDataplaneV2ConfigPtrType) ToVmwareDataplaneV2ConfigPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(VmwareDataplaneV2ConfigPtrOutput) } +func (i *vmwareDataplaneV2ConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareDataplaneV2Config] { + return pulumix.Output[*VmwareDataplaneV2Config]{ + OutputState: i.ToVmwareDataplaneV2ConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Contains configurations for Dataplane V2, which is optimized dataplane for Kubernetes networking. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dataplane-v2 type VmwareDataplaneV2ConfigOutput struct{ *pulumi.OutputState } @@ -10763,6 +12606,12 @@ func (o VmwareDataplaneV2ConfigOutput) ToVmwareDataplaneV2ConfigPtrOutputWithCon }).(VmwareDataplaneV2ConfigPtrOutput) } +func (o VmwareDataplaneV2ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareDataplaneV2Config] { + return pulumix.Output[VmwareDataplaneV2Config]{ + OutputState: o.OutputState, + } +} + // Enable advanced networking which requires dataplane_v2_enabled to be set true. func (o VmwareDataplaneV2ConfigOutput) AdvancedNetworking() pulumi.BoolPtrOutput { return o.ApplyT(func(v VmwareDataplaneV2Config) *bool { return v.AdvancedNetworking }).(pulumi.BoolPtrOutput) @@ -10792,6 +12641,12 @@ func (o VmwareDataplaneV2ConfigPtrOutput) ToVmwareDataplaneV2ConfigPtrOutputWith return o } +func (o VmwareDataplaneV2ConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareDataplaneV2Config] { + return pulumix.Output[*VmwareDataplaneV2Config]{ + OutputState: o.OutputState, + } +} + func (o VmwareDataplaneV2ConfigPtrOutput) Elem() VmwareDataplaneV2ConfigOutput { return o.ApplyT(func(v *VmwareDataplaneV2Config) VmwareDataplaneV2Config { if v != nil { @@ -10857,6 +12712,12 @@ func (o VmwareDataplaneV2ConfigResponseOutput) ToVmwareDataplaneV2ConfigResponse return o } +func (o VmwareDataplaneV2ConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareDataplaneV2ConfigResponse] { + return pulumix.Output[VmwareDataplaneV2ConfigResponse]{ + OutputState: o.OutputState, + } +} + // Enable advanced networking which requires dataplane_v2_enabled to be set true. func (o VmwareDataplaneV2ConfigResponseOutput) AdvancedNetworking() pulumi.BoolOutput { return o.ApplyT(func(v VmwareDataplaneV2ConfigResponse) bool { return v.AdvancedNetworking }).(pulumi.BoolOutput) @@ -10907,6 +12768,12 @@ func (i VmwareDhcpIpConfigArgs) ToVmwareDhcpIpConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(VmwareDhcpIpConfigOutput) } +func (i VmwareDhcpIpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareDhcpIpConfig] { + return pulumix.Output[VmwareDhcpIpConfig]{ + OutputState: i.ToVmwareDhcpIpConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareDhcpIpConfigArgs) ToVmwareDhcpIpConfigPtrOutput() VmwareDhcpIpConfigPtrOutput { return i.ToVmwareDhcpIpConfigPtrOutputWithContext(context.Background()) } @@ -10948,6 +12815,12 @@ func (i *vmwareDhcpIpConfigPtrType) ToVmwareDhcpIpConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(VmwareDhcpIpConfigPtrOutput) } +func (i *vmwareDhcpIpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareDhcpIpConfig] { + return pulumix.Output[*VmwareDhcpIpConfig]{ + OutputState: i.ToVmwareDhcpIpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the network configuration required for the VMware user clusters with DHCP IP configurations. type VmwareDhcpIpConfigOutput struct{ *pulumi.OutputState } @@ -10973,6 +12846,12 @@ func (o VmwareDhcpIpConfigOutput) ToVmwareDhcpIpConfigPtrOutputWithContext(ctx c }).(VmwareDhcpIpConfigPtrOutput) } +func (o VmwareDhcpIpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareDhcpIpConfig] { + return pulumix.Output[VmwareDhcpIpConfig]{ + OutputState: o.OutputState, + } +} + // enabled is a flag to mark if DHCP IP allocation is used for VMware user clusters. func (o VmwareDhcpIpConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v VmwareDhcpIpConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -10992,6 +12871,12 @@ func (o VmwareDhcpIpConfigPtrOutput) ToVmwareDhcpIpConfigPtrOutputWithContext(ct return o } +func (o VmwareDhcpIpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareDhcpIpConfig] { + return pulumix.Output[*VmwareDhcpIpConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareDhcpIpConfigPtrOutput) Elem() VmwareDhcpIpConfigOutput { return o.ApplyT(func(v *VmwareDhcpIpConfig) VmwareDhcpIpConfig { if v != nil { @@ -11033,6 +12918,12 @@ func (o VmwareDhcpIpConfigResponseOutput) ToVmwareDhcpIpConfigResponseOutputWith return o } +func (o VmwareDhcpIpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareDhcpIpConfigResponse] { + return pulumix.Output[VmwareDhcpIpConfigResponse]{ + OutputState: o.OutputState, + } +} + // enabled is a flag to mark if DHCP IP allocation is used for VMware user clusters. func (o VmwareDhcpIpConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v VmwareDhcpIpConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -11081,6 +12972,12 @@ func (i VmwareF5BigIpConfigArgs) ToVmwareF5BigIpConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(VmwareF5BigIpConfigOutput) } +func (i VmwareF5BigIpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareF5BigIpConfig] { + return pulumix.Output[VmwareF5BigIpConfig]{ + OutputState: i.ToVmwareF5BigIpConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareF5BigIpConfigArgs) ToVmwareF5BigIpConfigPtrOutput() VmwareF5BigIpConfigPtrOutput { return i.ToVmwareF5BigIpConfigPtrOutputWithContext(context.Background()) } @@ -11122,6 +13019,12 @@ func (i *vmwareF5BigIpConfigPtrType) ToVmwareF5BigIpConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(VmwareF5BigIpConfigPtrOutput) } +func (i *vmwareF5BigIpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareF5BigIpConfig] { + return pulumix.Output[*VmwareF5BigIpConfig]{ + OutputState: i.ToVmwareF5BigIpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration parameters for an F5 BIG-IP load balancer. type VmwareF5BigIpConfigOutput struct{ *pulumi.OutputState } @@ -11147,6 +13050,12 @@ func (o VmwareF5BigIpConfigOutput) ToVmwareF5BigIpConfigPtrOutputWithContext(ctx }).(VmwareF5BigIpConfigPtrOutput) } +func (o VmwareF5BigIpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareF5BigIpConfig] { + return pulumix.Output[VmwareF5BigIpConfig]{ + OutputState: o.OutputState, + } +} + // The load balancer's IP address. func (o VmwareF5BigIpConfigOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v VmwareF5BigIpConfig) *string { return v.Address }).(pulumi.StringPtrOutput) @@ -11176,6 +13085,12 @@ func (o VmwareF5BigIpConfigPtrOutput) ToVmwareF5BigIpConfigPtrOutputWithContext( return o } +func (o VmwareF5BigIpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareF5BigIpConfig] { + return pulumix.Output[*VmwareF5BigIpConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareF5BigIpConfigPtrOutput) Elem() VmwareF5BigIpConfigOutput { return o.ApplyT(func(v *VmwareF5BigIpConfig) VmwareF5BigIpConfig { if v != nil { @@ -11241,6 +13156,12 @@ func (o VmwareF5BigIpConfigResponseOutput) ToVmwareF5BigIpConfigResponseOutputWi return o } +func (o VmwareF5BigIpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareF5BigIpConfigResponse] { + return pulumix.Output[VmwareF5BigIpConfigResponse]{ + OutputState: o.OutputState, + } +} + // The load balancer's IP address. func (o VmwareF5BigIpConfigResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v VmwareF5BigIpConfigResponse) string { return v.Address }).(pulumi.StringOutput) @@ -11299,6 +13220,12 @@ func (i VmwareHostConfigArgs) ToVmwareHostConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(VmwareHostConfigOutput) } +func (i VmwareHostConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareHostConfig] { + return pulumix.Output[VmwareHostConfig]{ + OutputState: i.ToVmwareHostConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareHostConfigArgs) ToVmwareHostConfigPtrOutput() VmwareHostConfigPtrOutput { return i.ToVmwareHostConfigPtrOutputWithContext(context.Background()) } @@ -11340,6 +13267,12 @@ func (i *vmwareHostConfigPtrType) ToVmwareHostConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(VmwareHostConfigPtrOutput) } +func (i *vmwareHostConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareHostConfig] { + return pulumix.Output[*VmwareHostConfig]{ + OutputState: i.ToVmwareHostConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the common parameters for all the hosts irrespective of their IP address. type VmwareHostConfigOutput struct{ *pulumi.OutputState } @@ -11365,6 +13298,12 @@ func (o VmwareHostConfigOutput) ToVmwareHostConfigPtrOutputWithContext(ctx conte }).(VmwareHostConfigPtrOutput) } +func (o VmwareHostConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareHostConfig] { + return pulumix.Output[VmwareHostConfig]{ + OutputState: o.OutputState, + } +} + // DNS search domains. func (o VmwareHostConfigOutput) DnsSearchDomains() pulumi.StringArrayOutput { return o.ApplyT(func(v VmwareHostConfig) []string { return v.DnsSearchDomains }).(pulumi.StringArrayOutput) @@ -11394,6 +13333,12 @@ func (o VmwareHostConfigPtrOutput) ToVmwareHostConfigPtrOutputWithContext(ctx co return o } +func (o VmwareHostConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareHostConfig] { + return pulumix.Output[*VmwareHostConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareHostConfigPtrOutput) Elem() VmwareHostConfigOutput { return o.ApplyT(func(v *VmwareHostConfig) VmwareHostConfig { if v != nil { @@ -11459,6 +13404,12 @@ func (o VmwareHostConfigResponseOutput) ToVmwareHostConfigResponseOutputWithCont return o } +func (o VmwareHostConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareHostConfigResponse] { + return pulumix.Output[VmwareHostConfigResponse]{ + OutputState: o.OutputState, + } +} + // DNS search domains. func (o VmwareHostConfigResponseOutput) DnsSearchDomains() pulumi.StringArrayOutput { return o.ApplyT(func(v VmwareHostConfigResponse) []string { return v.DnsSearchDomains }).(pulumi.StringArrayOutput) @@ -11513,6 +13464,12 @@ func (i VmwareHostIpArgs) ToVmwareHostIpOutputWithContext(ctx context.Context) V return pulumi.ToOutputWithContext(ctx, i).(VmwareHostIpOutput) } +func (i VmwareHostIpArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareHostIp] { + return pulumix.Output[VmwareHostIp]{ + OutputState: i.ToVmwareHostIpOutputWithContext(ctx).OutputState, + } +} + // VmwareHostIpArrayInput is an input type that accepts VmwareHostIpArray and VmwareHostIpArrayOutput values. // You can construct a concrete instance of `VmwareHostIpArrayInput` via: // @@ -11538,6 +13495,12 @@ func (i VmwareHostIpArray) ToVmwareHostIpArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(VmwareHostIpArrayOutput) } +func (i VmwareHostIpArray) ToOutput(ctx context.Context) pulumix.Output[[]VmwareHostIp] { + return pulumix.Output[[]VmwareHostIp]{ + OutputState: i.ToVmwareHostIpArrayOutputWithContext(ctx).OutputState, + } +} + // Represents VMware user cluster node's network configuration. type VmwareHostIpOutput struct{ *pulumi.OutputState } @@ -11553,6 +13516,12 @@ func (o VmwareHostIpOutput) ToVmwareHostIpOutputWithContext(ctx context.Context) return o } +func (o VmwareHostIpOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareHostIp] { + return pulumix.Output[VmwareHostIp]{ + OutputState: o.OutputState, + } +} + // Hostname of the machine. VM's name will be used if this field is empty. func (o VmwareHostIpOutput) Hostname() pulumi.StringPtrOutput { return o.ApplyT(func(v VmwareHostIp) *string { return v.Hostname }).(pulumi.StringPtrOutput) @@ -11577,6 +13546,12 @@ func (o VmwareHostIpArrayOutput) ToVmwareHostIpArrayOutputWithContext(ctx contex return o } +func (o VmwareHostIpArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmwareHostIp] { + return pulumix.Output[[]VmwareHostIp]{ + OutputState: o.OutputState, + } +} + func (o VmwareHostIpArrayOutput) Index(i pulumi.IntInput) VmwareHostIpOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmwareHostIp { return vs[0].([]VmwareHostIp)[vs[1].(int)] @@ -11606,6 +13581,12 @@ func (o VmwareHostIpResponseOutput) ToVmwareHostIpResponseOutputWithContext(ctx return o } +func (o VmwareHostIpResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareHostIpResponse] { + return pulumix.Output[VmwareHostIpResponse]{ + OutputState: o.OutputState, + } +} + // Hostname of the machine. VM's name will be used if this field is empty. func (o VmwareHostIpResponseOutput) Hostname() pulumi.StringOutput { return o.ApplyT(func(v VmwareHostIpResponse) string { return v.Hostname }).(pulumi.StringOutput) @@ -11630,6 +13611,12 @@ func (o VmwareHostIpResponseArrayOutput) ToVmwareHostIpResponseArrayOutputWithCo return o } +func (o VmwareHostIpResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmwareHostIpResponse] { + return pulumix.Output[[]VmwareHostIpResponse]{ + OutputState: o.OutputState, + } +} + func (o VmwareHostIpResponseArrayOutput) Index(i pulumi.IntInput) VmwareHostIpResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmwareHostIpResponse { return vs[0].([]VmwareHostIpResponse)[vs[1].(int)] @@ -11679,6 +13666,12 @@ func (i VmwareIpBlockArgs) ToVmwareIpBlockOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(VmwareIpBlockOutput) } +func (i VmwareIpBlockArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareIpBlock] { + return pulumix.Output[VmwareIpBlock]{ + OutputState: i.ToVmwareIpBlockOutputWithContext(ctx).OutputState, + } +} + func (i VmwareIpBlockArgs) ToVmwareIpBlockPtrOutput() VmwareIpBlockPtrOutput { return i.ToVmwareIpBlockPtrOutputWithContext(context.Background()) } @@ -11720,6 +13713,12 @@ func (i *vmwareIpBlockPtrType) ToVmwareIpBlockPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(VmwareIpBlockPtrOutput) } +func (i *vmwareIpBlockPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareIpBlock] { + return pulumix.Output[*VmwareIpBlock]{ + OutputState: i.ToVmwareIpBlockPtrOutputWithContext(ctx).OutputState, + } +} + // VmwareIpBlockArrayInput is an input type that accepts VmwareIpBlockArray and VmwareIpBlockArrayOutput values. // You can construct a concrete instance of `VmwareIpBlockArrayInput` via: // @@ -11745,6 +13744,12 @@ func (i VmwareIpBlockArray) ToVmwareIpBlockArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(VmwareIpBlockArrayOutput) } +func (i VmwareIpBlockArray) ToOutput(ctx context.Context) pulumix.Output[[]VmwareIpBlock] { + return pulumix.Output[[]VmwareIpBlock]{ + OutputState: i.ToVmwareIpBlockArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a collection of IP addresses to assign to nodes. type VmwareIpBlockOutput struct{ *pulumi.OutputState } @@ -11770,6 +13775,12 @@ func (o VmwareIpBlockOutput) ToVmwareIpBlockPtrOutputWithContext(ctx context.Con }).(VmwareIpBlockPtrOutput) } +func (o VmwareIpBlockOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareIpBlock] { + return pulumix.Output[VmwareIpBlock]{ + OutputState: o.OutputState, + } +} + // The network gateway used by the VMware user cluster. func (o VmwareIpBlockOutput) Gateway() pulumi.StringPtrOutput { return o.ApplyT(func(v VmwareIpBlock) *string { return v.Gateway }).(pulumi.StringPtrOutput) @@ -11799,6 +13810,12 @@ func (o VmwareIpBlockPtrOutput) ToVmwareIpBlockPtrOutputWithContext(ctx context. return o } +func (o VmwareIpBlockPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareIpBlock] { + return pulumix.Output[*VmwareIpBlock]{ + OutputState: o.OutputState, + } +} + func (o VmwareIpBlockPtrOutput) Elem() VmwareIpBlockOutput { return o.ApplyT(func(v *VmwareIpBlock) VmwareIpBlock { if v != nil { @@ -11853,6 +13870,12 @@ func (o VmwareIpBlockArrayOutput) ToVmwareIpBlockArrayOutputWithContext(ctx cont return o } +func (o VmwareIpBlockArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmwareIpBlock] { + return pulumix.Output[[]VmwareIpBlock]{ + OutputState: o.OutputState, + } +} + func (o VmwareIpBlockArrayOutput) Index(i pulumi.IntInput) VmwareIpBlockOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmwareIpBlock { return vs[0].([]VmwareIpBlock)[vs[1].(int)] @@ -11884,6 +13907,12 @@ func (o VmwareIpBlockResponseOutput) ToVmwareIpBlockResponseOutputWithContext(ct return o } +func (o VmwareIpBlockResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareIpBlockResponse] { + return pulumix.Output[VmwareIpBlockResponse]{ + OutputState: o.OutputState, + } +} + // The network gateway used by the VMware user cluster. func (o VmwareIpBlockResponseOutput) Gateway() pulumi.StringOutput { return o.ApplyT(func(v VmwareIpBlockResponse) string { return v.Gateway }).(pulumi.StringOutput) @@ -11913,6 +13942,12 @@ func (o VmwareIpBlockResponseArrayOutput) ToVmwareIpBlockResponseArrayOutputWith return o } +func (o VmwareIpBlockResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmwareIpBlockResponse] { + return pulumix.Output[[]VmwareIpBlockResponse]{ + OutputState: o.OutputState, + } +} + func (o VmwareIpBlockResponseArrayOutput) Index(i pulumi.IntInput) VmwareIpBlockResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmwareIpBlockResponse { return vs[0].([]VmwareIpBlockResponse)[vs[1].(int)] @@ -11966,6 +14001,12 @@ func (i VmwareLoadBalancerConfigArgs) ToVmwareLoadBalancerConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(VmwareLoadBalancerConfigOutput) } +func (i VmwareLoadBalancerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareLoadBalancerConfig] { + return pulumix.Output[VmwareLoadBalancerConfig]{ + OutputState: i.ToVmwareLoadBalancerConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareLoadBalancerConfigArgs) ToVmwareLoadBalancerConfigPtrOutput() VmwareLoadBalancerConfigPtrOutput { return i.ToVmwareLoadBalancerConfigPtrOutputWithContext(context.Background()) } @@ -12007,6 +14048,12 @@ func (i *vmwareLoadBalancerConfigPtrType) ToVmwareLoadBalancerConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(VmwareLoadBalancerConfigPtrOutput) } +func (i *vmwareLoadBalancerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareLoadBalancerConfig] { + return pulumix.Output[*VmwareLoadBalancerConfig]{ + OutputState: i.ToVmwareLoadBalancerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the locad balancer config for the VMware user cluster. type VmwareLoadBalancerConfigOutput struct{ *pulumi.OutputState } @@ -12032,6 +14079,12 @@ func (o VmwareLoadBalancerConfigOutput) ToVmwareLoadBalancerConfigPtrOutputWithC }).(VmwareLoadBalancerConfigPtrOutput) } +func (o VmwareLoadBalancerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareLoadBalancerConfig] { + return pulumix.Output[VmwareLoadBalancerConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for F5 Big IP typed load balancers. func (o VmwareLoadBalancerConfigOutput) F5Config() VmwareF5BigIpConfigPtrOutput { return o.ApplyT(func(v VmwareLoadBalancerConfig) *VmwareF5BigIpConfig { return v.F5Config }).(VmwareF5BigIpConfigPtrOutput) @@ -12066,6 +14119,12 @@ func (o VmwareLoadBalancerConfigPtrOutput) ToVmwareLoadBalancerConfigPtrOutputWi return o } +func (o VmwareLoadBalancerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareLoadBalancerConfig] { + return pulumix.Output[*VmwareLoadBalancerConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareLoadBalancerConfigPtrOutput) Elem() VmwareLoadBalancerConfigOutput { return o.ApplyT(func(v *VmwareLoadBalancerConfig) VmwareLoadBalancerConfig { if v != nil { @@ -12143,6 +14202,12 @@ func (o VmwareLoadBalancerConfigResponseOutput) ToVmwareLoadBalancerConfigRespon return o } +func (o VmwareLoadBalancerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareLoadBalancerConfigResponse] { + return pulumix.Output[VmwareLoadBalancerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for F5 Big IP typed load balancers. func (o VmwareLoadBalancerConfigResponseOutput) F5Config() VmwareF5BigIpConfigResponseOutput { return o.ApplyT(func(v VmwareLoadBalancerConfigResponse) VmwareF5BigIpConfigResponse { return v.F5Config }).(VmwareF5BigIpConfigResponseOutput) @@ -12210,6 +14275,12 @@ func (i VmwareManualLbConfigArgs) ToVmwareManualLbConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(VmwareManualLbConfigOutput) } +func (i VmwareManualLbConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareManualLbConfig] { + return pulumix.Output[VmwareManualLbConfig]{ + OutputState: i.ToVmwareManualLbConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareManualLbConfigArgs) ToVmwareManualLbConfigPtrOutput() VmwareManualLbConfigPtrOutput { return i.ToVmwareManualLbConfigPtrOutputWithContext(context.Background()) } @@ -12251,6 +14322,12 @@ func (i *vmwareManualLbConfigPtrType) ToVmwareManualLbConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(VmwareManualLbConfigPtrOutput) } +func (i *vmwareManualLbConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareManualLbConfig] { + return pulumix.Output[*VmwareManualLbConfig]{ + OutputState: i.ToVmwareManualLbConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration parameters for an already existing manual load balancer. Given the nature of manual load balancers it is expected that said load balancer will be fully managed by users. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update ManualLB configurations it can only bind a pre-existing configuration to a new VMware user cluster. type VmwareManualLbConfigOutput struct{ *pulumi.OutputState } @@ -12276,6 +14353,12 @@ func (o VmwareManualLbConfigOutput) ToVmwareManualLbConfigPtrOutputWithContext(c }).(VmwareManualLbConfigPtrOutput) } +func (o VmwareManualLbConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareManualLbConfig] { + return pulumix.Output[VmwareManualLbConfig]{ + OutputState: o.OutputState, + } +} + // NodePort for control plane service. The Kubernetes API server in the admin cluster is implemented as a Service of type NodePort (ex. 30968). func (o VmwareManualLbConfigOutput) ControlPlaneNodePort() pulumi.IntPtrOutput { return o.ApplyT(func(v VmwareManualLbConfig) *int { return v.ControlPlaneNodePort }).(pulumi.IntPtrOutput) @@ -12310,6 +14393,12 @@ func (o VmwareManualLbConfigPtrOutput) ToVmwareManualLbConfigPtrOutputWithContex return o } +func (o VmwareManualLbConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareManualLbConfig] { + return pulumix.Output[*VmwareManualLbConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareManualLbConfigPtrOutput) Elem() VmwareManualLbConfigOutput { return o.ApplyT(func(v *VmwareManualLbConfig) VmwareManualLbConfig { if v != nil { @@ -12387,6 +14476,12 @@ func (o VmwareManualLbConfigResponseOutput) ToVmwareManualLbConfigResponseOutput return o } +func (o VmwareManualLbConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareManualLbConfigResponse] { + return pulumix.Output[VmwareManualLbConfigResponse]{ + OutputState: o.OutputState, + } +} + // NodePort for control plane service. The Kubernetes API server in the admin cluster is implemented as a Service of type NodePort (ex. 30968). func (o VmwareManualLbConfigResponseOutput) ControlPlaneNodePort() pulumi.IntOutput { return o.ApplyT(func(v VmwareManualLbConfigResponse) int { return v.ControlPlaneNodePort }).(pulumi.IntOutput) @@ -12442,6 +14537,12 @@ func (i VmwareMetalLbConfigArgs) ToVmwareMetalLbConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(VmwareMetalLbConfigOutput) } +func (i VmwareMetalLbConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareMetalLbConfig] { + return pulumix.Output[VmwareMetalLbConfig]{ + OutputState: i.ToVmwareMetalLbConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareMetalLbConfigArgs) ToVmwareMetalLbConfigPtrOutput() VmwareMetalLbConfigPtrOutput { return i.ToVmwareMetalLbConfigPtrOutputWithContext(context.Background()) } @@ -12483,6 +14584,12 @@ func (i *vmwareMetalLbConfigPtrType) ToVmwareMetalLbConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(VmwareMetalLbConfigPtrOutput) } +func (i *vmwareMetalLbConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareMetalLbConfig] { + return pulumix.Output[*VmwareMetalLbConfig]{ + OutputState: i.ToVmwareMetalLbConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents configuration parameters for the MetalLB load balancer. type VmwareMetalLbConfigOutput struct{ *pulumi.OutputState } @@ -12508,6 +14615,12 @@ func (o VmwareMetalLbConfigOutput) ToVmwareMetalLbConfigPtrOutputWithContext(ctx }).(VmwareMetalLbConfigPtrOutput) } +func (o VmwareMetalLbConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareMetalLbConfig] { + return pulumix.Output[VmwareMetalLbConfig]{ + OutputState: o.OutputState, + } +} + // AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools. func (o VmwareMetalLbConfigOutput) AddressPools() VmwareAddressPoolArrayOutput { return o.ApplyT(func(v VmwareMetalLbConfig) []VmwareAddressPool { return v.AddressPools }).(VmwareAddressPoolArrayOutput) @@ -12527,6 +14640,12 @@ func (o VmwareMetalLbConfigPtrOutput) ToVmwareMetalLbConfigPtrOutputWithContext( return o } +func (o VmwareMetalLbConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareMetalLbConfig] { + return pulumix.Output[*VmwareMetalLbConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareMetalLbConfigPtrOutput) Elem() VmwareMetalLbConfigOutput { return o.ApplyT(func(v *VmwareMetalLbConfig) VmwareMetalLbConfig { if v != nil { @@ -12568,6 +14687,12 @@ func (o VmwareMetalLbConfigResponseOutput) ToVmwareMetalLbConfigResponseOutputWi return o } +func (o VmwareMetalLbConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareMetalLbConfigResponse] { + return pulumix.Output[VmwareMetalLbConfigResponse]{ + OutputState: o.OutputState, + } +} + // AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools. func (o VmwareMetalLbConfigResponseOutput) AddressPools() VmwareAddressPoolResponseArrayOutput { return o.ApplyT(func(v VmwareMetalLbConfigResponse) []VmwareAddressPoolResponse { return v.AddressPools }).(VmwareAddressPoolResponseArrayOutput) @@ -12628,6 +14753,12 @@ func (i VmwareNetworkConfigArgs) ToVmwareNetworkConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(VmwareNetworkConfigOutput) } +func (i VmwareNetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareNetworkConfig] { + return pulumix.Output[VmwareNetworkConfig]{ + OutputState: i.ToVmwareNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareNetworkConfigArgs) ToVmwareNetworkConfigPtrOutput() VmwareNetworkConfigPtrOutput { return i.ToVmwareNetworkConfigPtrOutputWithContext(context.Background()) } @@ -12669,6 +14800,12 @@ func (i *vmwareNetworkConfigPtrType) ToVmwareNetworkConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(VmwareNetworkConfigPtrOutput) } +func (i *vmwareNetworkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareNetworkConfig] { + return pulumix.Output[*VmwareNetworkConfig]{ + OutputState: i.ToVmwareNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies network config for the VMware user cluster. type VmwareNetworkConfigOutput struct{ *pulumi.OutputState } @@ -12694,6 +14831,12 @@ func (o VmwareNetworkConfigOutput) ToVmwareNetworkConfigPtrOutputWithContext(ctx }).(VmwareNetworkConfigPtrOutput) } +func (o VmwareNetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareNetworkConfig] { + return pulumix.Output[VmwareNetworkConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for control plane V2 mode. func (o VmwareNetworkConfigOutput) ControlPlaneV2Config() VmwareControlPlaneV2ConfigPtrOutput { return o.ApplyT(func(v VmwareNetworkConfig) *VmwareControlPlaneV2Config { return v.ControlPlaneV2Config }).(VmwareControlPlaneV2ConfigPtrOutput) @@ -12738,6 +14881,12 @@ func (o VmwareNetworkConfigPtrOutput) ToVmwareNetworkConfigPtrOutputWithContext( return o } +func (o VmwareNetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareNetworkConfig] { + return pulumix.Output[*VmwareNetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareNetworkConfigPtrOutput) Elem() VmwareNetworkConfigOutput { return o.ApplyT(func(v *VmwareNetworkConfig) VmwareNetworkConfig { if v != nil { @@ -12841,6 +14990,12 @@ func (o VmwareNetworkConfigResponseOutput) ToVmwareNetworkConfigResponseOutputWi return o } +func (o VmwareNetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareNetworkConfigResponse] { + return pulumix.Output[VmwareNetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for control plane V2 mode. func (o VmwareNetworkConfigResponseOutput) ControlPlaneV2Config() VmwareControlPlaneV2ConfigResponseOutput { return o.ApplyT(func(v VmwareNetworkConfigResponse) VmwareControlPlaneV2ConfigResponse { return v.ControlPlaneV2Config }).(VmwareControlPlaneV2ConfigResponseOutput) @@ -12943,6 +15098,12 @@ func (i VmwareNodeConfigArgs) ToVmwareNodeConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(VmwareNodeConfigOutput) } +func (i VmwareNodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareNodeConfig] { + return pulumix.Output[VmwareNodeConfig]{ + OutputState: i.ToVmwareNodeConfigOutputWithContext(ctx).OutputState, + } +} + // Parameters that describe the configuration of all nodes within a given node pool. type VmwareNodeConfigOutput struct{ *pulumi.OutputState } @@ -12958,6 +15119,12 @@ func (o VmwareNodeConfigOutput) ToVmwareNodeConfigOutputWithContext(ctx context. return o } +func (o VmwareNodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareNodeConfig] { + return pulumix.Output[VmwareNodeConfig]{ + OutputState: o.OutputState, + } +} + // VMware disk size to be used during creation. func (o VmwareNodeConfigOutput) BootDiskSizeGb() pulumi.StringPtrOutput { return o.ApplyT(func(v VmwareNodeConfig) *string { return v.BootDiskSizeGb }).(pulumi.StringPtrOutput) @@ -13042,6 +15209,12 @@ func (o VmwareNodeConfigResponseOutput) ToVmwareNodeConfigResponseOutputWithCont return o } +func (o VmwareNodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareNodeConfigResponse] { + return pulumix.Output[VmwareNodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // VMware disk size to be used during creation. func (o VmwareNodeConfigResponseOutput) BootDiskSizeGb() pulumi.StringOutput { return o.ApplyT(func(v VmwareNodeConfigResponse) string { return v.BootDiskSizeGb }).(pulumi.StringOutput) @@ -13131,6 +15304,12 @@ func (i VmwareNodePoolAutoscalingConfigArgs) ToVmwareNodePoolAutoscalingConfigOu return pulumi.ToOutputWithContext(ctx, i).(VmwareNodePoolAutoscalingConfigOutput) } +func (i VmwareNodePoolAutoscalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareNodePoolAutoscalingConfig] { + return pulumix.Output[VmwareNodePoolAutoscalingConfig]{ + OutputState: i.ToVmwareNodePoolAutoscalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareNodePoolAutoscalingConfigArgs) ToVmwareNodePoolAutoscalingConfigPtrOutput() VmwareNodePoolAutoscalingConfigPtrOutput { return i.ToVmwareNodePoolAutoscalingConfigPtrOutputWithContext(context.Background()) } @@ -13172,6 +15351,12 @@ func (i *vmwareNodePoolAutoscalingConfigPtrType) ToVmwareNodePoolAutoscalingConf return pulumi.ToOutputWithContext(ctx, i).(VmwareNodePoolAutoscalingConfigPtrOutput) } +func (i *vmwareNodePoolAutoscalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareNodePoolAutoscalingConfig] { + return pulumix.Output[*VmwareNodePoolAutoscalingConfig]{ + OutputState: i.ToVmwareNodePoolAutoscalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // NodePoolAutoscaling config for the NodePool to allow for the kubernetes to scale NodePool. type VmwareNodePoolAutoscalingConfigOutput struct{ *pulumi.OutputState } @@ -13197,6 +15382,12 @@ func (o VmwareNodePoolAutoscalingConfigOutput) ToVmwareNodePoolAutoscalingConfig }).(VmwareNodePoolAutoscalingConfigPtrOutput) } +func (o VmwareNodePoolAutoscalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareNodePoolAutoscalingConfig] { + return pulumix.Output[VmwareNodePoolAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + // Maximum number of replicas in the NodePool. func (o VmwareNodePoolAutoscalingConfigOutput) MaxReplicas() pulumi.IntPtrOutput { return o.ApplyT(func(v VmwareNodePoolAutoscalingConfig) *int { return v.MaxReplicas }).(pulumi.IntPtrOutput) @@ -13221,6 +15412,12 @@ func (o VmwareNodePoolAutoscalingConfigPtrOutput) ToVmwareNodePoolAutoscalingCon return o } +func (o VmwareNodePoolAutoscalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareNodePoolAutoscalingConfig] { + return pulumix.Output[*VmwareNodePoolAutoscalingConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareNodePoolAutoscalingConfigPtrOutput) Elem() VmwareNodePoolAutoscalingConfigOutput { return o.ApplyT(func(v *VmwareNodePoolAutoscalingConfig) VmwareNodePoolAutoscalingConfig { if v != nil { @@ -13274,6 +15471,12 @@ func (o VmwareNodePoolAutoscalingConfigResponseOutput) ToVmwareNodePoolAutoscali return o } +func (o VmwareNodePoolAutoscalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareNodePoolAutoscalingConfigResponse] { + return pulumix.Output[VmwareNodePoolAutoscalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Maximum number of replicas in the NodePool. func (o VmwareNodePoolAutoscalingConfigResponseOutput) MaxReplicas() pulumi.IntOutput { return o.ApplyT(func(v VmwareNodePoolAutoscalingConfigResponse) int { return v.MaxReplicas }).(pulumi.IntOutput) @@ -13319,6 +15522,12 @@ func (i VmwareStaticIpConfigArgs) ToVmwareStaticIpConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(VmwareStaticIpConfigOutput) } +func (i VmwareStaticIpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareStaticIpConfig] { + return pulumix.Output[VmwareStaticIpConfig]{ + OutputState: i.ToVmwareStaticIpConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareStaticIpConfigArgs) ToVmwareStaticIpConfigPtrOutput() VmwareStaticIpConfigPtrOutput { return i.ToVmwareStaticIpConfigPtrOutputWithContext(context.Background()) } @@ -13360,6 +15569,12 @@ func (i *vmwareStaticIpConfigPtrType) ToVmwareStaticIpConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(VmwareStaticIpConfigPtrOutput) } +func (i *vmwareStaticIpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareStaticIpConfig] { + return pulumix.Output[*VmwareStaticIpConfig]{ + OutputState: i.ToVmwareStaticIpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the network configuration required for the VMware user clusters with Static IP configurations. type VmwareStaticIpConfigOutput struct{ *pulumi.OutputState } @@ -13385,6 +15600,12 @@ func (o VmwareStaticIpConfigOutput) ToVmwareStaticIpConfigPtrOutputWithContext(c }).(VmwareStaticIpConfigPtrOutput) } +func (o VmwareStaticIpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareStaticIpConfig] { + return pulumix.Output[VmwareStaticIpConfig]{ + OutputState: o.OutputState, + } +} + // Represents the configuration values for static IP allocation to nodes. func (o VmwareStaticIpConfigOutput) IpBlocks() VmwareIpBlockArrayOutput { return o.ApplyT(func(v VmwareStaticIpConfig) []VmwareIpBlock { return v.IpBlocks }).(VmwareIpBlockArrayOutput) @@ -13404,6 +15625,12 @@ func (o VmwareStaticIpConfigPtrOutput) ToVmwareStaticIpConfigPtrOutputWithContex return o } +func (o VmwareStaticIpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareStaticIpConfig] { + return pulumix.Output[*VmwareStaticIpConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareStaticIpConfigPtrOutput) Elem() VmwareStaticIpConfigOutput { return o.ApplyT(func(v *VmwareStaticIpConfig) VmwareStaticIpConfig { if v != nil { @@ -13445,6 +15672,12 @@ func (o VmwareStaticIpConfigResponseOutput) ToVmwareStaticIpConfigResponseOutput return o } +func (o VmwareStaticIpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareStaticIpConfigResponse] { + return pulumix.Output[VmwareStaticIpConfigResponse]{ + OutputState: o.OutputState, + } +} + // Represents the configuration values for static IP allocation to nodes. func (o VmwareStaticIpConfigResponseOutput) IpBlocks() VmwareIpBlockResponseArrayOutput { return o.ApplyT(func(v VmwareStaticIpConfigResponse) []VmwareIpBlockResponse { return v.IpBlocks }).(VmwareIpBlockResponseArrayOutput) @@ -13485,6 +15718,12 @@ func (i VmwareStorageConfigArgs) ToVmwareStorageConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(VmwareStorageConfigOutput) } +func (i VmwareStorageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareStorageConfig] { + return pulumix.Output[VmwareStorageConfig]{ + OutputState: i.ToVmwareStorageConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareStorageConfigArgs) ToVmwareStorageConfigPtrOutput() VmwareStorageConfigPtrOutput { return i.ToVmwareStorageConfigPtrOutputWithContext(context.Background()) } @@ -13526,6 +15765,12 @@ func (i *vmwareStorageConfigPtrType) ToVmwareStorageConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(VmwareStorageConfigPtrOutput) } +func (i *vmwareStorageConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareStorageConfig] { + return pulumix.Output[*VmwareStorageConfig]{ + OutputState: i.ToVmwareStorageConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies vSphere CSI components deployment config in the VMware user cluster. type VmwareStorageConfigOutput struct{ *pulumi.OutputState } @@ -13551,6 +15796,12 @@ func (o VmwareStorageConfigOutput) ToVmwareStorageConfigPtrOutputWithContext(ctx }).(VmwareStorageConfigPtrOutput) } +func (o VmwareStorageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareStorageConfig] { + return pulumix.Output[VmwareStorageConfig]{ + OutputState: o.OutputState, + } +} + // Whether or not to deploy vSphere CSI components in the VMware user cluster. Enabled by default. func (o VmwareStorageConfigOutput) VsphereCsiDisabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v VmwareStorageConfig) *bool { return v.VsphereCsiDisabled }).(pulumi.BoolPtrOutput) @@ -13570,6 +15821,12 @@ func (o VmwareStorageConfigPtrOutput) ToVmwareStorageConfigPtrOutputWithContext( return o } +func (o VmwareStorageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareStorageConfig] { + return pulumix.Output[*VmwareStorageConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareStorageConfigPtrOutput) Elem() VmwareStorageConfigOutput { return o.ApplyT(func(v *VmwareStorageConfig) VmwareStorageConfig { if v != nil { @@ -13611,6 +15868,12 @@ func (o VmwareStorageConfigResponseOutput) ToVmwareStorageConfigResponseOutputWi return o } +func (o VmwareStorageConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareStorageConfigResponse] { + return pulumix.Output[VmwareStorageConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether or not to deploy vSphere CSI components in the VMware user cluster. Enabled by default. func (o VmwareStorageConfigResponseOutput) VsphereCsiDisabled() pulumi.BoolOutput { return o.ApplyT(func(v VmwareStorageConfigResponse) bool { return v.VsphereCsiDisabled }).(pulumi.BoolOutput) @@ -13649,6 +15912,12 @@ func (o VmwareVCenterConfigResponseOutput) ToVmwareVCenterConfigResponseOutputWi return o } +func (o VmwareVCenterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVCenterConfigResponse] { + return pulumix.Output[VmwareVCenterConfigResponse]{ + OutputState: o.OutputState, + } +} + // The vCenter IP address. func (o VmwareVCenterConfigResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v VmwareVCenterConfigResponse) string { return v.Address }).(pulumi.StringOutput) @@ -13723,6 +15992,12 @@ func (i VmwareVipConfigArgs) ToVmwareVipConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(VmwareVipConfigOutput) } +func (i VmwareVipConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareVipConfig] { + return pulumix.Output[VmwareVipConfig]{ + OutputState: i.ToVmwareVipConfigOutputWithContext(ctx).OutputState, + } +} + func (i VmwareVipConfigArgs) ToVmwareVipConfigPtrOutput() VmwareVipConfigPtrOutput { return i.ToVmwareVipConfigPtrOutputWithContext(context.Background()) } @@ -13764,6 +16039,12 @@ func (i *vmwareVipConfigPtrType) ToVmwareVipConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(VmwareVipConfigPtrOutput) } +func (i *vmwareVipConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareVipConfig] { + return pulumix.Output[*VmwareVipConfig]{ + OutputState: i.ToVmwareVipConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the VIP config for the VMware user cluster load balancer. type VmwareVipConfigOutput struct{ *pulumi.OutputState } @@ -13789,6 +16070,12 @@ func (o VmwareVipConfigOutput) ToVmwareVipConfigPtrOutputWithContext(ctx context }).(VmwareVipConfigPtrOutput) } +func (o VmwareVipConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVipConfig] { + return pulumix.Output[VmwareVipConfig]{ + OutputState: o.OutputState, + } +} + // The VIP which you previously set aside for the Kubernetes API of this cluster. func (o VmwareVipConfigOutput) ControlPlaneVip() pulumi.StringPtrOutput { return o.ApplyT(func(v VmwareVipConfig) *string { return v.ControlPlaneVip }).(pulumi.StringPtrOutput) @@ -13813,6 +16100,12 @@ func (o VmwareVipConfigPtrOutput) ToVmwareVipConfigPtrOutputWithContext(ctx cont return o } +func (o VmwareVipConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareVipConfig] { + return pulumix.Output[*VmwareVipConfig]{ + OutputState: o.OutputState, + } +} + func (o VmwareVipConfigPtrOutput) Elem() VmwareVipConfigOutput { return o.ApplyT(func(v *VmwareVipConfig) VmwareVipConfig { if v != nil { @@ -13866,6 +16159,12 @@ func (o VmwareVipConfigResponseOutput) ToVmwareVipConfigResponseOutputWithContex return o } +func (o VmwareVipConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVipConfigResponse] { + return pulumix.Output[VmwareVipConfigResponse]{ + OutputState: o.OutputState, + } +} + // The VIP which you previously set aside for the Kubernetes API of this cluster. func (o VmwareVipConfigResponseOutput) ControlPlaneVip() pulumi.StringOutput { return o.ApplyT(func(v VmwareVipConfigResponse) string { return v.ControlPlaneVip }).(pulumi.StringOutput) @@ -13899,6 +16198,12 @@ func (o VmwareVsphereConfigResponseOutput) ToVmwareVsphereConfigResponseOutputWi return o } +func (o VmwareVsphereConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVsphereConfigResponse] { + return pulumix.Output[VmwareVsphereConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the vCenter datastore. Inherited from the user cluster. func (o VmwareVsphereConfigResponseOutput) Datastore() pulumi.StringOutput { return o.ApplyT(func(v VmwareVsphereConfigResponse) string { return v.Datastore }).(pulumi.StringOutput) @@ -13932,6 +16237,12 @@ func (o VmwareVsphereTagResponseOutput) ToVmwareVsphereTagResponseOutputWithCont return o } +func (o VmwareVsphereTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVsphereTagResponse] { + return pulumix.Output[VmwareVsphereTagResponse]{ + OutputState: o.OutputState, + } +} + // The Vsphere tag category. func (o VmwareVsphereTagResponseOutput) Category() pulumi.StringOutput { return o.ApplyT(func(v VmwareVsphereTagResponse) string { return v.Category }).(pulumi.StringOutput) @@ -13956,6 +16267,12 @@ func (o VmwareVsphereTagResponseArrayOutput) ToVmwareVsphereTagResponseArrayOutp return o } +func (o VmwareVsphereTagResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmwareVsphereTagResponse] { + return pulumix.Output[[]VmwareVsphereTagResponse]{ + OutputState: o.OutputState, + } +} + func (o VmwareVsphereTagResponseArrayOutput) Index(i pulumi.IntInput) VmwareVsphereTagResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmwareVsphereTagResponse { return vs[0].([]VmwareVsphereTagResponse)[vs[1].(int)] diff --git a/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamBinding.go b/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamBinding.go index 4feab9cdf7..ae4cf69826 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamBinding.go +++ b/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *VmwareAdminClusterIamBinding) ToVmwareAdminClusterIamBindingOutputWithC return pulumi.ToOutputWithContext(ctx, i).(VmwareAdminClusterIamBindingOutput) } +func (i *VmwareAdminClusterIamBinding) ToOutput(ctx context.Context) pulumix.Output[*VmwareAdminClusterIamBinding] { + return pulumix.Output[*VmwareAdminClusterIamBinding]{ + OutputState: i.ToVmwareAdminClusterIamBindingOutputWithContext(ctx).OutputState, + } +} + type VmwareAdminClusterIamBindingOutput struct{ *pulumi.OutputState } func (VmwareAdminClusterIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o VmwareAdminClusterIamBindingOutput) ToVmwareAdminClusterIamBindingOutput return o } +func (o VmwareAdminClusterIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareAdminClusterIamBinding] { + return pulumix.Output[*VmwareAdminClusterIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o VmwareAdminClusterIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *VmwareAdminClusterIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamMember.go b/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamMember.go index 0ed4aa68d8..120bbb1017 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamMember.go +++ b/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *VmwareAdminClusterIamMember) ToVmwareAdminClusterIamMemberOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(VmwareAdminClusterIamMemberOutput) } +func (i *VmwareAdminClusterIamMember) ToOutput(ctx context.Context) pulumix.Output[*VmwareAdminClusterIamMember] { + return pulumix.Output[*VmwareAdminClusterIamMember]{ + OutputState: i.ToVmwareAdminClusterIamMemberOutputWithContext(ctx).OutputState, + } +} + type VmwareAdminClusterIamMemberOutput struct{ *pulumi.OutputState } func (VmwareAdminClusterIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o VmwareAdminClusterIamMemberOutput) ToVmwareAdminClusterIamMemberOutputWi return o } +func (o VmwareAdminClusterIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareAdminClusterIamMember] { + return pulumix.Output[*VmwareAdminClusterIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o VmwareAdminClusterIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *VmwareAdminClusterIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamPolicy.go b/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamPolicy.go index b9ee4f6401..3bc244dab2 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/vmwareAdminClusterIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *VmwareAdminClusterIamPolicy) ToVmwareAdminClusterIamPolicyOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(VmwareAdminClusterIamPolicyOutput) } +func (i *VmwareAdminClusterIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*VmwareAdminClusterIamPolicy] { + return pulumix.Output[*VmwareAdminClusterIamPolicy]{ + OutputState: i.ToVmwareAdminClusterIamPolicyOutputWithContext(ctx).OutputState, + } +} + type VmwareAdminClusterIamPolicyOutput struct{ *pulumi.OutputState } func (VmwareAdminClusterIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o VmwareAdminClusterIamPolicyOutput) ToVmwareAdminClusterIamPolicyOutputWi return o } +func (o VmwareAdminClusterIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareAdminClusterIamPolicy] { + return pulumix.Output[*VmwareAdminClusterIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o VmwareAdminClusterIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *VmwareAdminClusterIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/gkeonprem/v1/vmwareCluster.go b/sdk/go/google/gkeonprem/v1/vmwareCluster.go index 4bb059f6f1..0e0f0ed5fc 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareCluster.go +++ b/sdk/go/google/gkeonprem/v1/vmwareCluster.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new VMware cluster in a given project and location. @@ -229,6 +230,12 @@ func (i *VmwareCluster) ToVmwareClusterOutputWithContext(ctx context.Context) Vm return pulumi.ToOutputWithContext(ctx, i).(VmwareClusterOutput) } +func (i *VmwareCluster) ToOutput(ctx context.Context) pulumix.Output[*VmwareCluster] { + return pulumix.Output[*VmwareCluster]{ + OutputState: i.ToVmwareClusterOutputWithContext(ctx).OutputState, + } +} + type VmwareClusterOutput struct{ *pulumi.OutputState } func (VmwareClusterOutput) ElementType() reflect.Type { @@ -243,6 +250,12 @@ func (o VmwareClusterOutput) ToVmwareClusterOutputWithContext(ctx context.Contex return o } +func (o VmwareClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareCluster] { + return pulumix.Output[*VmwareCluster]{ + OutputState: o.OutputState, + } +} + // The admin cluster this VMware user cluster belongs to. This is the full resource name of the admin cluster's fleet membership. In the future, references to other resource types might be allowed if admin clusters are modeled as their own resources. func (o VmwareClusterOutput) AdminClusterMembership() pulumi.StringOutput { return o.ApplyT(func(v *VmwareCluster) pulumi.StringOutput { return v.AdminClusterMembership }).(pulumi.StringOutput) diff --git a/sdk/go/google/gkeonprem/v1/vmwareClusterIamBinding.go b/sdk/go/google/gkeonprem/v1/vmwareClusterIamBinding.go index c5194bc5cc..87d203cac5 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareClusterIamBinding.go +++ b/sdk/go/google/gkeonprem/v1/vmwareClusterIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *VmwareClusterIamBinding) ToVmwareClusterIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(VmwareClusterIamBindingOutput) } +func (i *VmwareClusterIamBinding) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterIamBinding] { + return pulumix.Output[*VmwareClusterIamBinding]{ + OutputState: i.ToVmwareClusterIamBindingOutputWithContext(ctx).OutputState, + } +} + type VmwareClusterIamBindingOutput struct{ *pulumi.OutputState } func (VmwareClusterIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o VmwareClusterIamBindingOutput) ToVmwareClusterIamBindingOutputWithContex return o } +func (o VmwareClusterIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterIamBinding] { + return pulumix.Output[*VmwareClusterIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o VmwareClusterIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *VmwareClusterIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/vmwareClusterIamMember.go b/sdk/go/google/gkeonprem/v1/vmwareClusterIamMember.go index 5517fec707..8741a2cb5f 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareClusterIamMember.go +++ b/sdk/go/google/gkeonprem/v1/vmwareClusterIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *VmwareClusterIamMember) ToVmwareClusterIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(VmwareClusterIamMemberOutput) } +func (i *VmwareClusterIamMember) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterIamMember] { + return pulumix.Output[*VmwareClusterIamMember]{ + OutputState: i.ToVmwareClusterIamMemberOutputWithContext(ctx).OutputState, + } +} + type VmwareClusterIamMemberOutput struct{ *pulumi.OutputState } func (VmwareClusterIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o VmwareClusterIamMemberOutput) ToVmwareClusterIamMemberOutputWithContext( return o } +func (o VmwareClusterIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterIamMember] { + return pulumix.Output[*VmwareClusterIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o VmwareClusterIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *VmwareClusterIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/vmwareClusterIamPolicy.go b/sdk/go/google/gkeonprem/v1/vmwareClusterIamPolicy.go index e8d87ca74c..2ea76bc3a2 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareClusterIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/vmwareClusterIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *VmwareClusterIamPolicy) ToVmwareClusterIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(VmwareClusterIamPolicyOutput) } +func (i *VmwareClusterIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterIamPolicy] { + return pulumix.Output[*VmwareClusterIamPolicy]{ + OutputState: i.ToVmwareClusterIamPolicyOutputWithContext(ctx).OutputState, + } +} + type VmwareClusterIamPolicyOutput struct{ *pulumi.OutputState } func (VmwareClusterIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o VmwareClusterIamPolicyOutput) ToVmwareClusterIamPolicyOutputWithContext( return o } +func (o VmwareClusterIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterIamPolicy] { + return pulumix.Output[*VmwareClusterIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o VmwareClusterIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *VmwareClusterIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamBinding.go b/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamBinding.go index ef06cbb851..bb5def59a3 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamBinding.go +++ b/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *VmwareClusterVmwareNodePoolIamBinding) ToVmwareClusterVmwareNodePoolIam return pulumi.ToOutputWithContext(ctx, i).(VmwareClusterVmwareNodePoolIamBindingOutput) } +func (i *VmwareClusterVmwareNodePoolIamBinding) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterVmwareNodePoolIamBinding] { + return pulumix.Output[*VmwareClusterVmwareNodePoolIamBinding]{ + OutputState: i.ToVmwareClusterVmwareNodePoolIamBindingOutputWithContext(ctx).OutputState, + } +} + type VmwareClusterVmwareNodePoolIamBindingOutput struct{ *pulumi.OutputState } func (VmwareClusterVmwareNodePoolIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o VmwareClusterVmwareNodePoolIamBindingOutput) ToVmwareClusterVmwareNodePo return o } +func (o VmwareClusterVmwareNodePoolIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterVmwareNodePoolIamBinding] { + return pulumix.Output[*VmwareClusterVmwareNodePoolIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o VmwareClusterVmwareNodePoolIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *VmwareClusterVmwareNodePoolIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamMember.go b/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamMember.go index 9b14181563..fca20bdae9 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamMember.go +++ b/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *VmwareClusterVmwareNodePoolIamMember) ToVmwareClusterVmwareNodePoolIamM return pulumi.ToOutputWithContext(ctx, i).(VmwareClusterVmwareNodePoolIamMemberOutput) } +func (i *VmwareClusterVmwareNodePoolIamMember) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterVmwareNodePoolIamMember] { + return pulumix.Output[*VmwareClusterVmwareNodePoolIamMember]{ + OutputState: i.ToVmwareClusterVmwareNodePoolIamMemberOutputWithContext(ctx).OutputState, + } +} + type VmwareClusterVmwareNodePoolIamMemberOutput struct{ *pulumi.OutputState } func (VmwareClusterVmwareNodePoolIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o VmwareClusterVmwareNodePoolIamMemberOutput) ToVmwareClusterVmwareNodePoo return o } +func (o VmwareClusterVmwareNodePoolIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterVmwareNodePoolIamMember] { + return pulumix.Output[*VmwareClusterVmwareNodePoolIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o VmwareClusterVmwareNodePoolIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *VmwareClusterVmwareNodePoolIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamPolicy.go b/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamPolicy.go index 7ecf972110..a6cad9ba37 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamPolicy.go +++ b/sdk/go/google/gkeonprem/v1/vmwareClusterVmwareNodePoolIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -132,6 +133,12 @@ func (i *VmwareClusterVmwareNodePoolIamPolicy) ToVmwareClusterVmwareNodePoolIamP return pulumi.ToOutputWithContext(ctx, i).(VmwareClusterVmwareNodePoolIamPolicyOutput) } +func (i *VmwareClusterVmwareNodePoolIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterVmwareNodePoolIamPolicy] { + return pulumix.Output[*VmwareClusterVmwareNodePoolIamPolicy]{ + OutputState: i.ToVmwareClusterVmwareNodePoolIamPolicyOutputWithContext(ctx).OutputState, + } +} + type VmwareClusterVmwareNodePoolIamPolicyOutput struct{ *pulumi.OutputState } func (VmwareClusterVmwareNodePoolIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o VmwareClusterVmwareNodePoolIamPolicyOutput) ToVmwareClusterVmwareNodePoo return o } +func (o VmwareClusterVmwareNodePoolIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareClusterVmwareNodePoolIamPolicy] { + return pulumix.Output[*VmwareClusterVmwareNodePoolIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o VmwareClusterVmwareNodePoolIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *VmwareClusterVmwareNodePoolIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/gkeonprem/v1/vmwareNodePool.go b/sdk/go/google/gkeonprem/v1/vmwareNodePool.go index aa4ee4ed9f..3fa7d7aa0d 100644 --- a/sdk/go/google/gkeonprem/v1/vmwareNodePool.go +++ b/sdk/go/google/gkeonprem/v1/vmwareNodePool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new VMware node pool in a given project, location and VMWare cluster. @@ -170,6 +171,12 @@ func (i *VmwareNodePool) ToVmwareNodePoolOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(VmwareNodePoolOutput) } +func (i *VmwareNodePool) ToOutput(ctx context.Context) pulumix.Output[*VmwareNodePool] { + return pulumix.Output[*VmwareNodePool]{ + OutputState: i.ToVmwareNodePoolOutputWithContext(ctx).OutputState, + } +} + type VmwareNodePoolOutput struct{ *pulumi.OutputState } func (VmwareNodePoolOutput) ElementType() reflect.Type { @@ -184,6 +191,12 @@ func (o VmwareNodePoolOutput) ToVmwareNodePoolOutputWithContext(ctx context.Cont return o } +func (o VmwareNodePoolOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareNodePool] { + return pulumix.Output[*VmwareNodePool]{ + OutputState: o.OutputState, + } +} + // Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. func (o VmwareNodePoolOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *VmwareNodePool) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/healthcare/v1/attributeDefinition.go b/sdk/go/google/healthcare/v1/attributeDefinition.go index 0d83307793..44d19850cb 100644 --- a/sdk/go/google/healthcare/v1/attributeDefinition.go +++ b/sdk/go/google/healthcare/v1/attributeDefinition.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Attribute definition in the parent consent store. @@ -164,6 +165,12 @@ func (i *AttributeDefinition) ToAttributeDefinitionOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AttributeDefinitionOutput) } +func (i *AttributeDefinition) ToOutput(ctx context.Context) pulumix.Output[*AttributeDefinition] { + return pulumix.Output[*AttributeDefinition]{ + OutputState: i.ToAttributeDefinitionOutputWithContext(ctx).OutputState, + } +} + type AttributeDefinitionOutput struct{ *pulumi.OutputState } func (AttributeDefinitionOutput) ElementType() reflect.Type { @@ -178,6 +185,12 @@ func (o AttributeDefinitionOutput) ToAttributeDefinitionOutputWithContext(ctx co return o } +func (o AttributeDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[*AttributeDefinition] { + return pulumix.Output[*AttributeDefinition]{ + OutputState: o.OutputState, + } +} + // Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation. func (o AttributeDefinitionOutput) AllowedValues() pulumi.StringArrayOutput { return o.ApplyT(func(v *AttributeDefinition) pulumi.StringArrayOutput { return v.AllowedValues }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/healthcare/v1/consent.go b/sdk/go/google/healthcare/v1/consent.go index a1a0d66a65..80c3637607 100644 --- a/sdk/go/google/healthcare/v1/consent.go +++ b/sdk/go/google/healthcare/v1/consent.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Consent in the parent consent store. @@ -173,6 +174,12 @@ func (i *Consent) ToConsentOutputWithContext(ctx context.Context) ConsentOutput return pulumi.ToOutputWithContext(ctx, i).(ConsentOutput) } +func (i *Consent) ToOutput(ctx context.Context) pulumix.Output[*Consent] { + return pulumix.Output[*Consent]{ + OutputState: i.ToConsentOutputWithContext(ctx).OutputState, + } +} + type ConsentOutput struct{ *pulumi.OutputState } func (ConsentOutput) ElementType() reflect.Type { @@ -187,6 +194,12 @@ func (o ConsentOutput) ToConsentOutputWithContext(ctx context.Context) ConsentOu return o } +func (o ConsentOutput) ToOutput(ctx context.Context) pulumix.Output[*Consent] { + return pulumix.Output[*Consent]{ + OutputState: o.OutputState, + } +} + // The resource name of the Consent artifact that contains proof of the end user's consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. func (o ConsentOutput) ConsentArtifact() pulumi.StringOutput { return o.ApplyT(func(v *Consent) pulumi.StringOutput { return v.ConsentArtifact }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/consentArtifact.go b/sdk/go/google/healthcare/v1/consentArtifact.go index 24d3f1b9bb..d139461e51 100644 --- a/sdk/go/google/healthcare/v1/consentArtifact.go +++ b/sdk/go/google/healthcare/v1/consentArtifact.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Consent artifact in the parent consent store. @@ -163,6 +164,12 @@ func (i *ConsentArtifact) ToConsentArtifactOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ConsentArtifactOutput) } +func (i *ConsentArtifact) ToOutput(ctx context.Context) pulumix.Output[*ConsentArtifact] { + return pulumix.Output[*ConsentArtifact]{ + OutputState: i.ToConsentArtifactOutputWithContext(ctx).OutputState, + } +} + type ConsentArtifactOutput struct{ *pulumi.OutputState } func (ConsentArtifactOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o ConsentArtifactOutput) ToConsentArtifactOutputWithContext(ctx context.Co return o } +func (o ConsentArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsentArtifact] { + return pulumix.Output[*ConsentArtifact]{ + OutputState: o.OutputState, + } +} + // Optional. Screenshots, PDFs, or other binary information documenting the user's consent. func (o ConsentArtifactOutput) ConsentContentScreenshots() ImageResponseArrayOutput { return o.ApplyT(func(v *ConsentArtifact) ImageResponseArrayOutput { return v.ConsentContentScreenshots }).(ImageResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/consentStore.go b/sdk/go/google/healthcare/v1/consentStore.go index f151c514c0..384db4dda8 100644 --- a/sdk/go/google/healthcare/v1/consentStore.go +++ b/sdk/go/google/healthcare/v1/consentStore.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new consent store in the parent dataset. Attempting to create a consent store with the same ID as an existing store fails with an ALREADY_EXISTS error. @@ -139,6 +140,12 @@ func (i *ConsentStore) ToConsentStoreOutputWithContext(ctx context.Context) Cons return pulumi.ToOutputWithContext(ctx, i).(ConsentStoreOutput) } +func (i *ConsentStore) ToOutput(ctx context.Context) pulumix.Output[*ConsentStore] { + return pulumix.Output[*ConsentStore]{ + OutputState: i.ToConsentStoreOutputWithContext(ctx).OutputState, + } +} + type ConsentStoreOutput struct{ *pulumi.OutputState } func (ConsentStoreOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o ConsentStoreOutput) ToConsentStoreOutputWithContext(ctx context.Context) return o } +func (o ConsentStoreOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsentStore] { + return pulumix.Output[*ConsentStore]{ + OutputState: o.OutputState, + } +} + // Required. The ID of the consent store to create. The string must match the following regex: `[\p{L}\p{N}_\-\.]{1,256}`. Cannot be changed after creation. func (o ConsentStoreOutput) ConsentStoreId() pulumi.StringOutput { return o.ApplyT(func(v *ConsentStore) pulumi.StringOutput { return v.ConsentStoreId }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/dataset.go b/sdk/go/google/healthcare/v1/dataset.go index aa464d44e8..52ac29e3cb 100644 --- a/sdk/go/google/healthcare/v1/dataset.go +++ b/sdk/go/google/healthcare/v1/dataset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new health dataset. Results are returned through the Operation interface which returns either an `Operation.response` which contains a Dataset or `Operation.error`. The metadata field type is OperationMetadata. @@ -115,6 +116,12 @@ func (i *Dataset) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput return pulumi.ToOutputWithContext(ctx, i).(DatasetOutput) } +func (i *Dataset) ToOutput(ctx context.Context) pulumix.Output[*Dataset] { + return pulumix.Output[*Dataset]{ + OutputState: i.ToDatasetOutputWithContext(ctx).OutputState, + } +} + type DatasetOutput struct{ *pulumi.OutputState } func (DatasetOutput) ElementType() reflect.Type { @@ -129,6 +136,12 @@ func (o DatasetOutput) ToDatasetOutputWithContext(ctx context.Context) DatasetOu return o } +func (o DatasetOutput) ToOutput(ctx context.Context) pulumix.Output[*Dataset] { + return pulumix.Output[*Dataset]{ + OutputState: o.OutputState, + } +} + // The ID of the dataset that is being created. The string must match the following regex: `[\p{L}\p{N}_\-\.]{1,256}`. func (o DatasetOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Dataset) pulumi.StringPtrOutput { return v.DatasetId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetConsentStoreIamBinding.go b/sdk/go/google/healthcare/v1/datasetConsentStoreIamBinding.go index 3ff42fa69c..4d2a0ae62f 100644 --- a/sdk/go/google/healthcare/v1/datasetConsentStoreIamBinding.go +++ b/sdk/go/google/healthcare/v1/datasetConsentStoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetConsentStoreIamBinding) ToDatasetConsentStoreIamBindingOutputWit return pulumi.ToOutputWithContext(ctx, i).(DatasetConsentStoreIamBindingOutput) } +func (i *DatasetConsentStoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamBinding] { + return pulumix.Output[*DatasetConsentStoreIamBinding]{ + OutputState: i.ToDatasetConsentStoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetConsentStoreIamBindingOutput struct{ *pulumi.OutputState } func (DatasetConsentStoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetConsentStoreIamBindingOutput) ToDatasetConsentStoreIamBindingOutp return o } +func (o DatasetConsentStoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamBinding] { + return pulumix.Output[*DatasetConsentStoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetConsentStoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetConsentStoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetConsentStoreIamMember.go b/sdk/go/google/healthcare/v1/datasetConsentStoreIamMember.go index c397cca2a3..c82207aeec 100644 --- a/sdk/go/google/healthcare/v1/datasetConsentStoreIamMember.go +++ b/sdk/go/google/healthcare/v1/datasetConsentStoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetConsentStoreIamMember) ToDatasetConsentStoreIamMemberOutputWithC return pulumi.ToOutputWithContext(ctx, i).(DatasetConsentStoreIamMemberOutput) } +func (i *DatasetConsentStoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamMember] { + return pulumix.Output[*DatasetConsentStoreIamMember]{ + OutputState: i.ToDatasetConsentStoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetConsentStoreIamMemberOutput struct{ *pulumi.OutputState } func (DatasetConsentStoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetConsentStoreIamMemberOutput) ToDatasetConsentStoreIamMemberOutput return o } +func (o DatasetConsentStoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamMember] { + return pulumix.Output[*DatasetConsentStoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetConsentStoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetConsentStoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetConsentStoreIamPolicy.go b/sdk/go/google/healthcare/v1/datasetConsentStoreIamPolicy.go index 1dfab4e691..b01338d82e 100644 --- a/sdk/go/google/healthcare/v1/datasetConsentStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1/datasetConsentStoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *DatasetConsentStoreIamPolicy) ToDatasetConsentStoreIamPolicyOutputWithC return pulumi.ToOutputWithContext(ctx, i).(DatasetConsentStoreIamPolicyOutput) } +func (i *DatasetConsentStoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamPolicy] { + return pulumix.Output[*DatasetConsentStoreIamPolicy]{ + OutputState: i.ToDatasetConsentStoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetConsentStoreIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetConsentStoreIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DatasetConsentStoreIamPolicyOutput) ToDatasetConsentStoreIamPolicyOutput return o } +func (o DatasetConsentStoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamPolicy] { + return pulumix.Output[*DatasetConsentStoreIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DatasetConsentStoreIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DatasetConsentStoreIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/datasetDicomStoreIamBinding.go b/sdk/go/google/healthcare/v1/datasetDicomStoreIamBinding.go index 7f1854ff85..19916ce2c9 100644 --- a/sdk/go/google/healthcare/v1/datasetDicomStoreIamBinding.go +++ b/sdk/go/google/healthcare/v1/datasetDicomStoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetDicomStoreIamBinding) ToDatasetDicomStoreIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(DatasetDicomStoreIamBindingOutput) } +func (i *DatasetDicomStoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamBinding] { + return pulumix.Output[*DatasetDicomStoreIamBinding]{ + OutputState: i.ToDatasetDicomStoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetDicomStoreIamBindingOutput struct{ *pulumi.OutputState } func (DatasetDicomStoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetDicomStoreIamBindingOutput) ToDatasetDicomStoreIamBindingOutputWi return o } +func (o DatasetDicomStoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamBinding] { + return pulumix.Output[*DatasetDicomStoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetDicomStoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetDicomStoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetDicomStoreIamMember.go b/sdk/go/google/healthcare/v1/datasetDicomStoreIamMember.go index 54b99ecaf8..8061f9a301 100644 --- a/sdk/go/google/healthcare/v1/datasetDicomStoreIamMember.go +++ b/sdk/go/google/healthcare/v1/datasetDicomStoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetDicomStoreIamMember) ToDatasetDicomStoreIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DatasetDicomStoreIamMemberOutput) } +func (i *DatasetDicomStoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamMember] { + return pulumix.Output[*DatasetDicomStoreIamMember]{ + OutputState: i.ToDatasetDicomStoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetDicomStoreIamMemberOutput struct{ *pulumi.OutputState } func (DatasetDicomStoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetDicomStoreIamMemberOutput) ToDatasetDicomStoreIamMemberOutputWith return o } +func (o DatasetDicomStoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamMember] { + return pulumix.Output[*DatasetDicomStoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetDicomStoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetDicomStoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetDicomStoreIamPolicy.go b/sdk/go/google/healthcare/v1/datasetDicomStoreIamPolicy.go index 96a41863ff..89068266e3 100644 --- a/sdk/go/google/healthcare/v1/datasetDicomStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1/datasetDicomStoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *DatasetDicomStoreIamPolicy) ToDatasetDicomStoreIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DatasetDicomStoreIamPolicyOutput) } +func (i *DatasetDicomStoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamPolicy] { + return pulumix.Output[*DatasetDicomStoreIamPolicy]{ + OutputState: i.ToDatasetDicomStoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetDicomStoreIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetDicomStoreIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DatasetDicomStoreIamPolicyOutput) ToDatasetDicomStoreIamPolicyOutputWith return o } +func (o DatasetDicomStoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamPolicy] { + return pulumix.Output[*DatasetDicomStoreIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DatasetDicomStoreIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DatasetDicomStoreIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/datasetFhirStoreIamBinding.go b/sdk/go/google/healthcare/v1/datasetFhirStoreIamBinding.go index dff4172d8a..a9580a67b3 100644 --- a/sdk/go/google/healthcare/v1/datasetFhirStoreIamBinding.go +++ b/sdk/go/google/healthcare/v1/datasetFhirStoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetFhirStoreIamBinding) ToDatasetFhirStoreIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DatasetFhirStoreIamBindingOutput) } +func (i *DatasetFhirStoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamBinding] { + return pulumix.Output[*DatasetFhirStoreIamBinding]{ + OutputState: i.ToDatasetFhirStoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetFhirStoreIamBindingOutput struct{ *pulumi.OutputState } func (DatasetFhirStoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetFhirStoreIamBindingOutput) ToDatasetFhirStoreIamBindingOutputWith return o } +func (o DatasetFhirStoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamBinding] { + return pulumix.Output[*DatasetFhirStoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetFhirStoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetFhirStoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetFhirStoreIamMember.go b/sdk/go/google/healthcare/v1/datasetFhirStoreIamMember.go index e720f7e4b0..e843f2f82c 100644 --- a/sdk/go/google/healthcare/v1/datasetFhirStoreIamMember.go +++ b/sdk/go/google/healthcare/v1/datasetFhirStoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetFhirStoreIamMember) ToDatasetFhirStoreIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DatasetFhirStoreIamMemberOutput) } +func (i *DatasetFhirStoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamMember] { + return pulumix.Output[*DatasetFhirStoreIamMember]{ + OutputState: i.ToDatasetFhirStoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetFhirStoreIamMemberOutput struct{ *pulumi.OutputState } func (DatasetFhirStoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetFhirStoreIamMemberOutput) ToDatasetFhirStoreIamMemberOutputWithCo return o } +func (o DatasetFhirStoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamMember] { + return pulumix.Output[*DatasetFhirStoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetFhirStoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetFhirStoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetFhirStoreIamPolicy.go b/sdk/go/google/healthcare/v1/datasetFhirStoreIamPolicy.go index cc755f1bdf..d836c58152 100644 --- a/sdk/go/google/healthcare/v1/datasetFhirStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1/datasetFhirStoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *DatasetFhirStoreIamPolicy) ToDatasetFhirStoreIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DatasetFhirStoreIamPolicyOutput) } +func (i *DatasetFhirStoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamPolicy] { + return pulumix.Output[*DatasetFhirStoreIamPolicy]{ + OutputState: i.ToDatasetFhirStoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetFhirStoreIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetFhirStoreIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DatasetFhirStoreIamPolicyOutput) ToDatasetFhirStoreIamPolicyOutputWithCo return o } +func (o DatasetFhirStoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamPolicy] { + return pulumix.Output[*DatasetFhirStoreIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DatasetFhirStoreIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DatasetFhirStoreIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamBinding.go b/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamBinding.go index 3b57930ae9..483fb0c93f 100644 --- a/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamBinding.go +++ b/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetHl7V2StoreIamBinding) ToDatasetHl7V2StoreIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(DatasetHl7V2StoreIamBindingOutput) } +func (i *DatasetHl7V2StoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamBinding] { + return pulumix.Output[*DatasetHl7V2StoreIamBinding]{ + OutputState: i.ToDatasetHl7V2StoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetHl7V2StoreIamBindingOutput struct{ *pulumi.OutputState } func (DatasetHl7V2StoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetHl7V2StoreIamBindingOutput) ToDatasetHl7V2StoreIamBindingOutputWi return o } +func (o DatasetHl7V2StoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamBinding] { + return pulumix.Output[*DatasetHl7V2StoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetHl7V2StoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetHl7V2StoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamMember.go b/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamMember.go index 89a2f70ba2..76073a4d50 100644 --- a/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamMember.go +++ b/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetHl7V2StoreIamMember) ToDatasetHl7V2StoreIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DatasetHl7V2StoreIamMemberOutput) } +func (i *DatasetHl7V2StoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamMember] { + return pulumix.Output[*DatasetHl7V2StoreIamMember]{ + OutputState: i.ToDatasetHl7V2StoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetHl7V2StoreIamMemberOutput struct{ *pulumi.OutputState } func (DatasetHl7V2StoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetHl7V2StoreIamMemberOutput) ToDatasetHl7V2StoreIamMemberOutputWith return o } +func (o DatasetHl7V2StoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamMember] { + return pulumix.Output[*DatasetHl7V2StoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetHl7V2StoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetHl7V2StoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamPolicy.go b/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamPolicy.go index cf57c6da76..4d8103048f 100644 --- a/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1/datasetHl7V2StoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *DatasetHl7V2StoreIamPolicy) ToDatasetHl7V2StoreIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DatasetHl7V2StoreIamPolicyOutput) } +func (i *DatasetHl7V2StoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamPolicy] { + return pulumix.Output[*DatasetHl7V2StoreIamPolicy]{ + OutputState: i.ToDatasetHl7V2StoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetHl7V2StoreIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetHl7V2StoreIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DatasetHl7V2StoreIamPolicyOutput) ToDatasetHl7V2StoreIamPolicyOutputWith return o } +func (o DatasetHl7V2StoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamPolicy] { + return pulumix.Output[*DatasetHl7V2StoreIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DatasetHl7V2StoreIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DatasetHl7V2StoreIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/datasetIamBinding.go b/sdk/go/google/healthcare/v1/datasetIamBinding.go index 917ea3d58d..94c84dc6c0 100644 --- a/sdk/go/google/healthcare/v1/datasetIamBinding.go +++ b/sdk/go/google/healthcare/v1/datasetIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetIamBinding) ToDatasetIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DatasetIamBindingOutput) } +func (i *DatasetIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamBinding] { + return pulumix.Output[*DatasetIamBinding]{ + OutputState: i.ToDatasetIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetIamBindingOutput struct{ *pulumi.OutputState } func (DatasetIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetIamBindingOutput) ToDatasetIamBindingOutputWithContext(ctx contex return o } +func (o DatasetIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamBinding] { + return pulumix.Output[*DatasetIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetIamMember.go b/sdk/go/google/healthcare/v1/datasetIamMember.go index 6511082abf..4de06b3c94 100644 --- a/sdk/go/google/healthcare/v1/datasetIamMember.go +++ b/sdk/go/google/healthcare/v1/datasetIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetIamMember) ToDatasetIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DatasetIamMemberOutput) } +func (i *DatasetIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamMember] { + return pulumix.Output[*DatasetIamMember]{ + OutputState: i.ToDatasetIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetIamMemberOutput struct{ *pulumi.OutputState } func (DatasetIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetIamMemberOutput) ToDatasetIamMemberOutputWithContext(ctx context. return o } +func (o DatasetIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamMember] { + return pulumix.Output[*DatasetIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1/datasetIamPolicy.go b/sdk/go/google/healthcare/v1/datasetIamPolicy.go index d4d0ed0c93..d69ae9d1fd 100644 --- a/sdk/go/google/healthcare/v1/datasetIamPolicy.go +++ b/sdk/go/google/healthcare/v1/datasetIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetIamPolicy) ToDatasetIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DatasetIamPolicyOutput) } +func (i *DatasetIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamPolicy] { + return pulumix.Output[*DatasetIamPolicy]{ + OutputState: i.ToDatasetIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetIamPolicyOutput) ToDatasetIamPolicyOutputWithContext(ctx context. return o } +func (o DatasetIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamPolicy] { + return pulumix.Output[*DatasetIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DatasetIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DatasetIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/dicomStore.go b/sdk/go/google/healthcare/v1/dicomStore.go index bf21dc4df6..da4d4f7b69 100644 --- a/sdk/go/google/healthcare/v1/dicomStore.go +++ b/sdk/go/google/healthcare/v1/dicomStore.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new DICOM store within the parent dataset. @@ -129,6 +130,12 @@ func (i *DicomStore) ToDicomStoreOutputWithContext(ctx context.Context) DicomSto return pulumi.ToOutputWithContext(ctx, i).(DicomStoreOutput) } +func (i *DicomStore) ToOutput(ctx context.Context) pulumix.Output[*DicomStore] { + return pulumix.Output[*DicomStore]{ + OutputState: i.ToDicomStoreOutputWithContext(ctx).OutputState, + } +} + type DicomStoreOutput struct{ *pulumi.OutputState } func (DicomStoreOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o DicomStoreOutput) ToDicomStoreOutputWithContext(ctx context.Context) Dic return o } +func (o DicomStoreOutput) ToOutput(ctx context.Context) pulumix.Output[*DicomStore] { + return pulumix.Output[*DicomStore]{ + OutputState: o.OutputState, + } +} + func (o DicomStoreOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v *DicomStore) pulumi.StringOutput { return v.DatasetId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/healthcare/v1/fhirStore.go b/sdk/go/google/healthcare/v1/fhirStore.go index 686a646a2c..b76de83141 100644 --- a/sdk/go/google/healthcare/v1/fhirStore.go +++ b/sdk/go/google/healthcare/v1/fhirStore.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new FHIR store within the parent dataset. @@ -186,6 +187,12 @@ func (i *FhirStore) ToFhirStoreOutputWithContext(ctx context.Context) FhirStoreO return pulumi.ToOutputWithContext(ctx, i).(FhirStoreOutput) } +func (i *FhirStore) ToOutput(ctx context.Context) pulumix.Output[*FhirStore] { + return pulumix.Output[*FhirStore]{ + OutputState: i.ToFhirStoreOutputWithContext(ctx).OutputState, + } +} + type FhirStoreOutput struct{ *pulumi.OutputState } func (FhirStoreOutput) ElementType() reflect.Type { @@ -200,6 +207,12 @@ func (o FhirStoreOutput) ToFhirStoreOutputWithContext(ctx context.Context) FhirS return o } +func (o FhirStoreOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirStore] { + return pulumix.Output[*FhirStore]{ + OutputState: o.OutputState, + } +} + // Enable parsing of references within complex FHIR data types such as Extensions. If this value is set to ENABLED, then features like referential integrity and Bundle reference rewriting apply to all references. If this flag has not been specified the behavior of the FHIR store will not change, references in complex data types will not be parsed. New stores will have this value set to ENABLED after a notification period. Warning: turning on this flag causes processing existing resources to fail if they contain references to non-existent resources. func (o FhirStoreOutput) ComplexDataTypeReferenceParsing() pulumi.StringOutput { return o.ApplyT(func(v *FhirStore) pulumi.StringOutput { return v.ComplexDataTypeReferenceParsing }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/getAttributeDefinition.go b/sdk/go/google/healthcare/v1/getAttributeDefinition.go index 534a086639..a8c0d14321 100644 --- a/sdk/go/google/healthcare/v1/getAttributeDefinition.go +++ b/sdk/go/google/healthcare/v1/getAttributeDefinition.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Attribute definition. @@ -84,6 +85,12 @@ func (o LookupAttributeDefinitionResultOutput) ToLookupAttributeDefinitionResult return o } +func (o LookupAttributeDefinitionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAttributeDefinitionResult] { + return pulumix.Output[LookupAttributeDefinitionResult]{ + OutputState: o.OutputState, + } +} + // Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation. func (o LookupAttributeDefinitionResultOutput) AllowedValues() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupAttributeDefinitionResult) []string { return v.AllowedValues }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/healthcare/v1/getConsent.go b/sdk/go/google/healthcare/v1/getConsent.go index 0db5389979..ed51db98bb 100644 --- a/sdk/go/google/healthcare/v1/getConsent.go +++ b/sdk/go/google/healthcare/v1/getConsent.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified revision of a Consent, or the latest revision if `revision_id` is not specified in the resource name. @@ -92,6 +93,12 @@ func (o LookupConsentResultOutput) ToLookupConsentResultOutputWithContext(ctx co return o } +func (o LookupConsentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConsentResult] { + return pulumix.Output[LookupConsentResult]{ + OutputState: o.OutputState, + } +} + // The resource name of the Consent artifact that contains proof of the end user's consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. func (o LookupConsentResultOutput) ConsentArtifact() pulumi.StringOutput { return o.ApplyT(func(v LookupConsentResult) string { return v.ConsentArtifact }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/getConsentArtifact.go b/sdk/go/google/healthcare/v1/getConsentArtifact.go index 3185e96d6a..917820ad7a 100644 --- a/sdk/go/google/healthcare/v1/getConsentArtifact.go +++ b/sdk/go/google/healthcare/v1/getConsentArtifact.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Consent artifact. @@ -88,6 +89,12 @@ func (o LookupConsentArtifactResultOutput) ToLookupConsentArtifactResultOutputWi return o } +func (o LookupConsentArtifactResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConsentArtifactResult] { + return pulumix.Output[LookupConsentArtifactResult]{ + OutputState: o.OutputState, + } +} + // Optional. Screenshots, PDFs, or other binary information documenting the user's consent. func (o LookupConsentArtifactResultOutput) ConsentContentScreenshots() ImageResponseArrayOutput { return o.ApplyT(func(v LookupConsentArtifactResult) []ImageResponse { return v.ConsentContentScreenshots }).(ImageResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/getConsentStore.go b/sdk/go/google/healthcare/v1/getConsentStore.go index ccbf235eda..7c7e214112 100644 --- a/sdk/go/google/healthcare/v1/getConsentStore.go +++ b/sdk/go/google/healthcare/v1/getConsentStore.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified consent store. @@ -78,6 +79,12 @@ func (o LookupConsentStoreResultOutput) ToLookupConsentStoreResultOutputWithCont return o } +func (o LookupConsentStoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConsentStoreResult] { + return pulumix.Output[LookupConsentStoreResult]{ + OutputState: o.OutputState, + } +} + // Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents. func (o LookupConsentStoreResultOutput) DefaultConsentTtl() pulumi.StringOutput { return o.ApplyT(func(v LookupConsentStoreResult) string { return v.DefaultConsentTtl }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/getDataset.go b/sdk/go/google/healthcare/v1/getDataset.go index 4f370f9ff7..6d5b2dca5c 100644 --- a/sdk/go/google/healthcare/v1/getDataset.go +++ b/sdk/go/google/healthcare/v1/getDataset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets any metadata associated with a dataset. @@ -72,6 +73,12 @@ func (o LookupDatasetResultOutput) ToLookupDatasetResultOutputWithContext(ctx co return o } +func (o LookupDatasetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetResult] { + return pulumix.Output[LookupDatasetResult]{ + OutputState: o.OutputState, + } +} + // Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`. func (o LookupDatasetResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupDatasetResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/getDatasetConsentStoreIamPolicy.go b/sdk/go/google/healthcare/v1/getDatasetConsentStoreIamPolicy.go index 6d9ab7a5ff..085b2a416f 100644 --- a/sdk/go/google/healthcare/v1/getDatasetConsentStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1/getDatasetConsentStoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupDatasetConsentStoreIamPolicyResultOutput) ToLookupDatasetConsentSt return o } +func (o LookupDatasetConsentStoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetConsentStoreIamPolicyResult] { + return pulumix.Output[LookupDatasetConsentStoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetConsentStoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetConsentStoreIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/getDatasetDicomStoreIamPolicy.go b/sdk/go/google/healthcare/v1/getDatasetDicomStoreIamPolicy.go index e519caa1cf..30bc4e0248 100644 --- a/sdk/go/google/healthcare/v1/getDatasetDicomStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1/getDatasetDicomStoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupDatasetDicomStoreIamPolicyResultOutput) ToLookupDatasetDicomStoreI return o } +func (o LookupDatasetDicomStoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetDicomStoreIamPolicyResult] { + return pulumix.Output[LookupDatasetDicomStoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetDicomStoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetDicomStoreIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/getDatasetFhirStoreIamPolicy.go b/sdk/go/google/healthcare/v1/getDatasetFhirStoreIamPolicy.go index 093b79555f..0459fca4b3 100644 --- a/sdk/go/google/healthcare/v1/getDatasetFhirStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1/getDatasetFhirStoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupDatasetFhirStoreIamPolicyResultOutput) ToLookupDatasetFhirStoreIam return o } +func (o LookupDatasetFhirStoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetFhirStoreIamPolicyResult] { + return pulumix.Output[LookupDatasetFhirStoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetFhirStoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetFhirStoreIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/getDatasetHl7V2StoreIamPolicy.go b/sdk/go/google/healthcare/v1/getDatasetHl7V2StoreIamPolicy.go index ff80374fec..a292f6522b 100644 --- a/sdk/go/google/healthcare/v1/getDatasetHl7V2StoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1/getDatasetHl7V2StoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupDatasetHl7V2StoreIamPolicyResultOutput) ToLookupDatasetHl7V2StoreI return o } +func (o LookupDatasetHl7V2StoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetHl7V2StoreIamPolicyResult] { + return pulumix.Output[LookupDatasetHl7V2StoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetHl7V2StoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetHl7V2StoreIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/getDatasetIamPolicy.go b/sdk/go/google/healthcare/v1/getDatasetIamPolicy.go index 2a18f44ee9..1457c23656 100644 --- a/sdk/go/google/healthcare/v1/getDatasetIamPolicy.go +++ b/sdk/go/google/healthcare/v1/getDatasetIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupDatasetIamPolicyResultOutput) ToLookupDatasetIamPolicyResultOutput return o } +func (o LookupDatasetIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetIamPolicyResult] { + return pulumix.Output[LookupDatasetIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1/getDicomStore.go b/sdk/go/google/healthcare/v1/getDicomStore.go index 43b100efbf..15c26be80b 100644 --- a/sdk/go/google/healthcare/v1/getDicomStore.go +++ b/sdk/go/google/healthcare/v1/getDicomStore.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified DICOM store. @@ -76,6 +77,12 @@ func (o LookupDicomStoreResultOutput) ToLookupDicomStoreResultOutputWithContext( return o } +func (o LookupDicomStoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDicomStoreResult] { + return pulumix.Output[LookupDicomStoreResult]{ + OutputState: o.OutputState, + } +} + // User-supplied key-value pairs used to organize DICOM stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store. func (o LookupDicomStoreResultOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v LookupDicomStoreResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/healthcare/v1/getFhir.go b/sdk/go/google/healthcare/v1/getFhir.go index 8225d4ceef..aa24204883 100644 --- a/sdk/go/google/healthcare/v1/getFhir.go +++ b/sdk/go/google/healthcare/v1/getFhir.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the contents of a FHIR resource. Implements the FHIR standard read interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#read), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#read), [R4](http://hl7.org/implement/standards/fhir/R4/http.html#read)). Also supports the FHIR standard conditional read interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#cread), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#cread), [R4](http://hl7.org/implement/standards/fhir/R4/http.html#cread)) specified by supplying an `If-Modified-Since` header with a date/time value or an `If-None-Match` header with an ETag value. On success, the response body contains a JSON-encoded representation of the resource. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `read`, see [Getting a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_a_fhir_resource). @@ -80,6 +81,12 @@ func (o GetFhirResultOutput) ToGetFhirResultOutputWithContext(ctx context.Contex return o } +func (o GetFhirResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetFhirResult] { + return pulumix.Output[GetFhirResult]{ + OutputState: o.OutputState, + } +} + // The HTTP Content-Type header value specifying the content type of the body. func (o GetFhirResultOutput) ContentType() pulumi.StringOutput { return o.ApplyT(func(v GetFhirResult) string { return v.ContentType }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/getFhirStore.go b/sdk/go/google/healthcare/v1/getFhirStore.go index a7b612503d..db0f41ee77 100644 --- a/sdk/go/google/healthcare/v1/getFhirStore.go +++ b/sdk/go/google/healthcare/v1/getFhirStore.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the configuration of the specified FHIR store. @@ -96,6 +97,12 @@ func (o LookupFhirStoreResultOutput) ToLookupFhirStoreResultOutputWithContext(ct return o } +func (o LookupFhirStoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFhirStoreResult] { + return pulumix.Output[LookupFhirStoreResult]{ + OutputState: o.OutputState, + } +} + // Enable parsing of references within complex FHIR data types such as Extensions. If this value is set to ENABLED, then features like referential integrity and Bundle reference rewriting apply to all references. If this flag has not been specified the behavior of the FHIR store will not change, references in complex data types will not be parsed. New stores will have this value set to ENABLED after a notification period. Warning: turning on this flag causes processing existing resources to fail if they contain references to non-existent resources. func (o LookupFhirStoreResultOutput) ComplexDataTypeReferenceParsing() pulumi.StringOutput { return o.ApplyT(func(v LookupFhirStoreResult) string { return v.ComplexDataTypeReferenceParsing }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/getHl7V2Store.go b/sdk/go/google/healthcare/v1/getHl7V2Store.go index d10540272c..eaf8df397a 100644 --- a/sdk/go/google/healthcare/v1/getHl7V2Store.go +++ b/sdk/go/google/healthcare/v1/getHl7V2Store.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified HL7v2 store. @@ -80,6 +81,12 @@ func (o LookupHl7V2StoreResultOutput) ToLookupHl7V2StoreResultOutputWithContext( return o } +func (o LookupHl7V2StoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHl7V2StoreResult] { + return pulumix.Output[LookupHl7V2StoreResult]{ + OutputState: o.OutputState, + } +} + // User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store. func (o LookupHl7V2StoreResultOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v LookupHl7V2StoreResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/healthcare/v1/getMessage.go b/sdk/go/google/healthcare/v1/getMessage.go index 6296fa7805..9d73f213f4 100644 --- a/sdk/go/google/healthcare/v1/getMessage.go +++ b/sdk/go/google/healthcare/v1/getMessage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an HL7v2 message. @@ -94,6 +95,12 @@ func (o LookupMessageResultOutput) ToLookupMessageResultOutputWithContext(ctx co return o } +func (o LookupMessageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMessageResult] { + return pulumix.Output[LookupMessageResult]{ + OutputState: o.OutputState, + } +} + // The datetime when the message was created. Set by the server. func (o LookupMessageResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMessageResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/getUserDataMapping.go b/sdk/go/google/healthcare/v1/getUserDataMapping.go index b8b2a48528..15f5e298cc 100644 --- a/sdk/go/google/healthcare/v1/getUserDataMapping.go +++ b/sdk/go/google/healthcare/v1/getUserDataMapping.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified User data mapping. @@ -84,6 +85,12 @@ func (o LookupUserDataMappingResultOutput) ToLookupUserDataMappingResultOutputWi return o } +func (o LookupUserDataMappingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUserDataMappingResult] { + return pulumix.Output[LookupUserDataMappingResult]{ + OutputState: o.OutputState, + } +} + // Indicates the time when this mapping was archived. func (o LookupUserDataMappingResultOutput) ArchiveTime() pulumi.StringOutput { return o.ApplyT(func(v LookupUserDataMappingResult) string { return v.ArchiveTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/hl7V2Store.go b/sdk/go/google/healthcare/v1/hl7V2Store.go index 8d5091f7ee..cfa5a5212d 100644 --- a/sdk/go/google/healthcare/v1/hl7V2Store.go +++ b/sdk/go/google/healthcare/v1/hl7V2Store.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new HL7v2 store within the parent dataset. @@ -141,6 +142,12 @@ func (i *Hl7V2Store) ToHl7V2StoreOutputWithContext(ctx context.Context) Hl7V2Sto return pulumi.ToOutputWithContext(ctx, i).(Hl7V2StoreOutput) } +func (i *Hl7V2Store) ToOutput(ctx context.Context) pulumix.Output[*Hl7V2Store] { + return pulumix.Output[*Hl7V2Store]{ + OutputState: i.ToHl7V2StoreOutputWithContext(ctx).OutputState, + } +} + type Hl7V2StoreOutput struct{ *pulumi.OutputState } func (Hl7V2StoreOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o Hl7V2StoreOutput) ToHl7V2StoreOutputWithContext(ctx context.Context) Hl7 return o } +func (o Hl7V2StoreOutput) ToOutput(ctx context.Context) pulumix.Output[*Hl7V2Store] { + return pulumix.Output[*Hl7V2Store]{ + OutputState: o.OutputState, + } +} + func (o Hl7V2StoreOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v *Hl7V2Store) pulumi.StringOutput { return v.DatasetId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/healthcare/v1/message.go b/sdk/go/google/healthcare/v1/message.go index 511b07cfad..bfd5592f38 100644 --- a/sdk/go/google/healthcare/v1/message.go +++ b/sdk/go/google/healthcare/v1/message.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received. @@ -164,6 +165,12 @@ func (i *Message) ToMessageOutputWithContext(ctx context.Context) MessageOutput return pulumi.ToOutputWithContext(ctx, i).(MessageOutput) } +func (i *Message) ToOutput(ctx context.Context) pulumix.Output[*Message] { + return pulumix.Output[*Message]{ + OutputState: i.ToMessageOutputWithContext(ctx).OutputState, + } +} + type MessageOutput struct{ *pulumi.OutputState } func (MessageOutput) ElementType() reflect.Type { @@ -178,6 +185,12 @@ func (o MessageOutput) ToMessageOutputWithContext(ctx context.Context) MessageOu return o } +func (o MessageOutput) ToOutput(ctx context.Context) pulumix.Output[*Message] { + return pulumix.Output[*Message]{ + OutputState: o.OutputState, + } +} + // The datetime when the message was created. Set by the server. func (o MessageOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Message) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1/pulumiEnums.go b/sdk/go/google/healthcare/v1/pulumiEnums.go index 33c3a508a7..d215e9e593 100644 --- a/sdk/go/google/healthcare/v1/pulumiEnums.go +++ b/sdk/go/google/healthcare/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The category of the attribute. The value of this field cannot be changed after creation. @@ -82,6 +83,12 @@ func (o AttributeDefinitionCategoryOutput) ToAttributeDefinitionCategoryPtrOutpu }).(AttributeDefinitionCategoryPtrOutput) } +func (o AttributeDefinitionCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[AttributeDefinitionCategory] { + return pulumix.Output[AttributeDefinitionCategory]{ + OutputState: o.OutputState, + } +} + func (o AttributeDefinitionCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o AttributeDefinitionCategoryPtrOutput) ToAttributeDefinitionCategoryPtrOu return o } +func (o AttributeDefinitionCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttributeDefinitionCategory] { + return pulumix.Output[*AttributeDefinitionCategory]{ + OutputState: o.OutputState, + } +} + func (o AttributeDefinitionCategoryPtrOutput) Elem() AttributeDefinitionCategoryOutput { return o.ApplyT(func(v *AttributeDefinitionCategory) AttributeDefinitionCategory { if v != nil { @@ -179,6 +192,12 @@ func (in *attributeDefinitionCategoryPtr) ToAttributeDefinitionCategoryPtrOutput return pulumi.ToOutputWithContext(ctx, in).(AttributeDefinitionCategoryPtrOutput) } +func (in *attributeDefinitionCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*AttributeDefinitionCategory] { + return pulumix.Output[*AttributeDefinitionCategory]{ + OutputState: in.ToAttributeDefinitionCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type AuditLogConfigLogType string @@ -253,6 +272,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -350,6 +381,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Indicates the current state of this Consent. type ConsentStateEnum string @@ -428,6 +465,12 @@ func (o ConsentStateEnumOutput) ToConsentStateEnumPtrOutputWithContext(ctx conte }).(ConsentStateEnumPtrOutput) } +func (o ConsentStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[ConsentStateEnum] { + return pulumix.Output[ConsentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ConsentStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -463,6 +506,12 @@ func (o ConsentStateEnumPtrOutput) ToConsentStateEnumPtrOutputWithContext(ctx co return o } +func (o ConsentStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsentStateEnum] { + return pulumix.Output[*ConsentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ConsentStateEnumPtrOutput) Elem() ConsentStateEnumOutput { return o.ApplyT(func(v *ConsentStateEnum) ConsentStateEnum { if v != nil { @@ -525,6 +574,12 @@ func (in *consentStateEnumPtr) ToConsentStateEnumPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(ConsentStateEnumPtrOutput) } +func (in *consentStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*ConsentStateEnum] { + return pulumix.Output[*ConsentStateEnum]{ + OutputState: in.ToConsentStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Tag filtering profile that determines which tags to keep/remove. type DicomConfigFilterProfile string @@ -601,6 +656,12 @@ func (o DicomConfigFilterProfileOutput) ToDicomConfigFilterProfilePtrOutputWithC }).(DicomConfigFilterProfilePtrOutput) } +func (o DicomConfigFilterProfileOutput) ToOutput(ctx context.Context) pulumix.Output[DicomConfigFilterProfile] { + return pulumix.Output[DicomConfigFilterProfile]{ + OutputState: o.OutputState, + } +} + func (o DicomConfigFilterProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -636,6 +697,12 @@ func (o DicomConfigFilterProfilePtrOutput) ToDicomConfigFilterProfilePtrOutputWi return o } +func (o DicomConfigFilterProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DicomConfigFilterProfile] { + return pulumix.Output[*DicomConfigFilterProfile]{ + OutputState: o.OutputState, + } +} + func (o DicomConfigFilterProfilePtrOutput) Elem() DicomConfigFilterProfileOutput { return o.ApplyT(func(v *DicomConfigFilterProfile) DicomConfigFilterProfile { if v != nil { @@ -698,6 +765,12 @@ func (in *dicomConfigFilterProfilePtr) ToDicomConfigFilterProfilePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DicomConfigFilterProfilePtrOutput) } +func (in *dicomConfigFilterProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*DicomConfigFilterProfile] { + return pulumix.Output[*DicomConfigFilterProfile]{ + OutputState: in.ToDicomConfigFilterProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Enable parsing of references within complex FHIR data types such as Extensions. If this value is set to ENABLED, then features like referential integrity and Bundle reference rewriting apply to all references. If this flag has not been specified the behavior of the FHIR store will not change, references in complex data types will not be parsed. New stores will have this value set to ENABLED after a notification period. Warning: turning on this flag causes processing existing resources to fail if they contain references to non-existent resources. type FhirStoreComplexDataTypeReferenceParsing string @@ -770,6 +843,12 @@ func (o FhirStoreComplexDataTypeReferenceParsingOutput) ToFhirStoreComplexDataTy }).(FhirStoreComplexDataTypeReferenceParsingPtrOutput) } +func (o FhirStoreComplexDataTypeReferenceParsingOutput) ToOutput(ctx context.Context) pulumix.Output[FhirStoreComplexDataTypeReferenceParsing] { + return pulumix.Output[FhirStoreComplexDataTypeReferenceParsing]{ + OutputState: o.OutputState, + } +} + func (o FhirStoreComplexDataTypeReferenceParsingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -805,6 +884,12 @@ func (o FhirStoreComplexDataTypeReferenceParsingPtrOutput) ToFhirStoreComplexDat return o } +func (o FhirStoreComplexDataTypeReferenceParsingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirStoreComplexDataTypeReferenceParsing] { + return pulumix.Output[*FhirStoreComplexDataTypeReferenceParsing]{ + OutputState: o.OutputState, + } +} + func (o FhirStoreComplexDataTypeReferenceParsingPtrOutput) Elem() FhirStoreComplexDataTypeReferenceParsingOutput { return o.ApplyT(func(v *FhirStoreComplexDataTypeReferenceParsing) FhirStoreComplexDataTypeReferenceParsing { if v != nil { @@ -867,6 +952,12 @@ func (in *fhirStoreComplexDataTypeReferenceParsingPtr) ToFhirStoreComplexDataTyp return pulumi.ToOutputWithContext(ctx, in).(FhirStoreComplexDataTypeReferenceParsingPtrOutput) } +func (in *fhirStoreComplexDataTypeReferenceParsingPtr) ToOutput(ctx context.Context) pulumix.Output[*FhirStoreComplexDataTypeReferenceParsing] { + return pulumix.Output[*FhirStoreComplexDataTypeReferenceParsing]{ + OutputState: in.ToFhirStoreComplexDataTypeReferenceParsingPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The FHIR specification version that this FHIR store supports natively. This field is immutable after store creation. Requests are rejected if they contain FHIR resources of a different version. Version is required for every FHIR store. type FhirStoreVersion string @@ -941,6 +1032,12 @@ func (o FhirStoreVersionOutput) ToFhirStoreVersionPtrOutputWithContext(ctx conte }).(FhirStoreVersionPtrOutput) } +func (o FhirStoreVersionOutput) ToOutput(ctx context.Context) pulumix.Output[FhirStoreVersion] { + return pulumix.Output[FhirStoreVersion]{ + OutputState: o.OutputState, + } +} + func (o FhirStoreVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -976,6 +1073,12 @@ func (o FhirStoreVersionPtrOutput) ToFhirStoreVersionPtrOutputWithContext(ctx co return o } +func (o FhirStoreVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirStoreVersion] { + return pulumix.Output[*FhirStoreVersion]{ + OutputState: o.OutputState, + } +} + func (o FhirStoreVersionPtrOutput) Elem() FhirStoreVersionOutput { return o.ApplyT(func(v *FhirStoreVersion) FhirStoreVersion { if v != nil { @@ -1038,6 +1141,12 @@ func (in *fhirStoreVersionPtr) ToFhirStoreVersionPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(FhirStoreVersionPtrOutput) } +func (in *fhirStoreVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*FhirStoreVersion] { + return pulumix.Output[*FhirStoreVersion]{ + OutputState: in.ToFhirStoreVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Deidentify action for one field. type FieldMetadataAction string @@ -1112,6 +1221,12 @@ func (o FieldMetadataActionOutput) ToFieldMetadataActionPtrOutputWithContext(ctx }).(FieldMetadataActionPtrOutput) } +func (o FieldMetadataActionOutput) ToOutput(ctx context.Context) pulumix.Output[FieldMetadataAction] { + return pulumix.Output[FieldMetadataAction]{ + OutputState: o.OutputState, + } +} + func (o FieldMetadataActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1147,6 +1262,12 @@ func (o FieldMetadataActionPtrOutput) ToFieldMetadataActionPtrOutputWithContext( return o } +func (o FieldMetadataActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FieldMetadataAction] { + return pulumix.Output[*FieldMetadataAction]{ + OutputState: o.OutputState, + } +} + func (o FieldMetadataActionPtrOutput) Elem() FieldMetadataActionOutput { return o.ApplyT(func(v *FieldMetadataAction) FieldMetadataAction { if v != nil { @@ -1209,6 +1330,12 @@ func (in *fieldMetadataActionPtr) ToFieldMetadataActionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(FieldMetadataActionPtrOutput) } +func (in *fieldMetadataActionPtr) ToOutput(ctx context.Context) pulumix.Output[*FieldMetadataAction] { + return pulumix.Output[*FieldMetadataAction]{ + OutputState: in.ToFieldMetadataActionPtrOutputWithContext(ctx).OutputState, + } +} + // Determines if existing data in the destination dataset is overwritten, appended to, or not written if the tables contain data. If a write_disposition is specified, the `force` parameter is ignored. type GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDisposition string @@ -1283,6 +1410,12 @@ func (o GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionOutput) To }).(GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionPtrOutput) } +func (o GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDisposition] { + return pulumix.Output[GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDisposition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1318,6 +1451,12 @@ func (o GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionPtrOutput) return o } +func (o GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDisposition] { + return pulumix.Output[*GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDisposition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionPtrOutput) Elem() GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionOutput { return o.ApplyT(func(v *GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDisposition) GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDisposition { if v != nil { @@ -1380,6 +1519,12 @@ func (in *googleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionPtr) ToG return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionPtrOutput) } +func (in *googleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDisposition] { + return pulumix.Output[*GoogleCloudHealthcareV1FhirBigQueryDestinationWriteDisposition]{ + OutputState: in.ToGoogleCloudHealthcareV1FhirBigQueryDestinationWriteDispositionPtrOutputWithContext(ctx).OutputState, + } +} + // Determines how to redact text from image. type ImageConfigTextRedactionMode string @@ -1454,6 +1599,12 @@ func (o ImageConfigTextRedactionModeOutput) ToImageConfigTextRedactionModePtrOut }).(ImageConfigTextRedactionModePtrOutput) } +func (o ImageConfigTextRedactionModeOutput) ToOutput(ctx context.Context) pulumix.Output[ImageConfigTextRedactionMode] { + return pulumix.Output[ImageConfigTextRedactionMode]{ + OutputState: o.OutputState, + } +} + func (o ImageConfigTextRedactionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1489,6 +1640,12 @@ func (o ImageConfigTextRedactionModePtrOutput) ToImageConfigTextRedactionModePtr return o } +func (o ImageConfigTextRedactionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageConfigTextRedactionMode] { + return pulumix.Output[*ImageConfigTextRedactionMode]{ + OutputState: o.OutputState, + } +} + func (o ImageConfigTextRedactionModePtrOutput) Elem() ImageConfigTextRedactionModeOutput { return o.ApplyT(func(v *ImageConfigTextRedactionMode) ImageConfigTextRedactionMode { if v != nil { @@ -1551,6 +1708,12 @@ func (in *imageConfigTextRedactionModePtr) ToImageConfigTextRedactionModePtrOutp return pulumi.ToOutputWithContext(ctx, in).(ImageConfigTextRedactionModePtrOutput) } +func (in *imageConfigTextRedactionModePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageConfigTextRedactionMode] { + return pulumix.Output[*ImageConfigTextRedactionMode]{ + OutputState: in.ToImageConfigTextRedactionModePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. Determines the version of both the default parser to be used when `schema` is not given, as well as the schematized parser used when `schema` is specified. This field is immutable after HL7v2 store creation. type ParserConfigVersion string @@ -1625,6 +1788,12 @@ func (o ParserConfigVersionOutput) ToParserConfigVersionPtrOutputWithContext(ctx }).(ParserConfigVersionPtrOutput) } +func (o ParserConfigVersionOutput) ToOutput(ctx context.Context) pulumix.Output[ParserConfigVersion] { + return pulumix.Output[ParserConfigVersion]{ + OutputState: o.OutputState, + } +} + func (o ParserConfigVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1660,6 +1829,12 @@ func (o ParserConfigVersionPtrOutput) ToParserConfigVersionPtrOutputWithContext( return o } +func (o ParserConfigVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParserConfigVersion] { + return pulumix.Output[*ParserConfigVersion]{ + OutputState: o.OutputState, + } +} + func (o ParserConfigVersionPtrOutput) Elem() ParserConfigVersionOutput { return o.ApplyT(func(v *ParserConfigVersion) ParserConfigVersion { if v != nil { @@ -1722,6 +1897,12 @@ func (in *parserConfigVersionPtr) ToParserConfigVersionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ParserConfigVersionPtrOutput) } +func (in *parserConfigVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*ParserConfigVersion] { + return pulumix.Output[*ParserConfigVersion]{ + OutputState: in.ToParserConfigVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the output schema type. Schema type is required. type SchemaConfigSchemaType string @@ -1794,6 +1975,12 @@ func (o SchemaConfigSchemaTypeOutput) ToSchemaConfigSchemaTypePtrOutputWithConte }).(SchemaConfigSchemaTypePtrOutput) } +func (o SchemaConfigSchemaTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaConfigSchemaType] { + return pulumix.Output[SchemaConfigSchemaType]{ + OutputState: o.OutputState, + } +} + func (o SchemaConfigSchemaTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1829,6 +2016,12 @@ func (o SchemaConfigSchemaTypePtrOutput) ToSchemaConfigSchemaTypePtrOutputWithCo return o } +func (o SchemaConfigSchemaTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaConfigSchemaType] { + return pulumix.Output[*SchemaConfigSchemaType]{ + OutputState: o.OutputState, + } +} + func (o SchemaConfigSchemaTypePtrOutput) Elem() SchemaConfigSchemaTypeOutput { return o.ApplyT(func(v *SchemaConfigSchemaType) SchemaConfigSchemaType { if v != nil { @@ -1891,6 +2084,12 @@ func (in *schemaConfigSchemaTypePtr) ToSchemaConfigSchemaTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(SchemaConfigSchemaTypePtrOutput) } +func (in *schemaConfigSchemaTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SchemaConfigSchemaType] { + return pulumix.Output[*SchemaConfigSchemaType]{ + OutputState: in.ToSchemaConfigSchemaTypePtrOutputWithContext(ctx).OutputState, + } +} + // Determines how messages that fail to parse are handled. type SchemaPackageSchematizedParsingType string @@ -1963,6 +2162,12 @@ func (o SchemaPackageSchematizedParsingTypeOutput) ToSchemaPackageSchematizedPar }).(SchemaPackageSchematizedParsingTypePtrOutput) } +func (o SchemaPackageSchematizedParsingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaPackageSchematizedParsingType] { + return pulumix.Output[SchemaPackageSchematizedParsingType]{ + OutputState: o.OutputState, + } +} + func (o SchemaPackageSchematizedParsingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1998,6 +2203,12 @@ func (o SchemaPackageSchematizedParsingTypePtrOutput) ToSchemaPackageSchematized return o } +func (o SchemaPackageSchematizedParsingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackageSchematizedParsingType] { + return pulumix.Output[*SchemaPackageSchematizedParsingType]{ + OutputState: o.OutputState, + } +} + func (o SchemaPackageSchematizedParsingTypePtrOutput) Elem() SchemaPackageSchematizedParsingTypeOutput { return o.ApplyT(func(v *SchemaPackageSchematizedParsingType) SchemaPackageSchematizedParsingType { if v != nil { @@ -2060,6 +2271,12 @@ func (in *schemaPackageSchematizedParsingTypePtr) ToSchemaPackageSchematizedPars return pulumi.ToOutputWithContext(ctx, in).(SchemaPackageSchematizedParsingTypePtrOutput) } +func (in *schemaPackageSchematizedParsingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackageSchematizedParsingType] { + return pulumix.Output[*SchemaPackageSchematizedParsingType]{ + OutputState: in.ToSchemaPackageSchematizedParsingTypePtrOutputWithContext(ctx).OutputState, + } +} + // Determines how unexpected segments (segments not matched to the schema) are handled. type SchemaPackageUnexpectedSegmentHandling string @@ -2134,6 +2351,12 @@ func (o SchemaPackageUnexpectedSegmentHandlingOutput) ToSchemaPackageUnexpectedS }).(SchemaPackageUnexpectedSegmentHandlingPtrOutput) } +func (o SchemaPackageUnexpectedSegmentHandlingOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaPackageUnexpectedSegmentHandling] { + return pulumix.Output[SchemaPackageUnexpectedSegmentHandling]{ + OutputState: o.OutputState, + } +} + func (o SchemaPackageUnexpectedSegmentHandlingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2169,6 +2392,12 @@ func (o SchemaPackageUnexpectedSegmentHandlingPtrOutput) ToSchemaPackageUnexpect return o } +func (o SchemaPackageUnexpectedSegmentHandlingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackageUnexpectedSegmentHandling] { + return pulumix.Output[*SchemaPackageUnexpectedSegmentHandling]{ + OutputState: o.OutputState, + } +} + func (o SchemaPackageUnexpectedSegmentHandlingPtrOutput) Elem() SchemaPackageUnexpectedSegmentHandlingOutput { return o.ApplyT(func(v *SchemaPackageUnexpectedSegmentHandling) SchemaPackageUnexpectedSegmentHandling { if v != nil { @@ -2231,6 +2460,12 @@ func (in *schemaPackageUnexpectedSegmentHandlingPtr) ToSchemaPackageUnexpectedSe return pulumi.ToOutputWithContext(ctx, in).(SchemaPackageUnexpectedSegmentHandlingPtrOutput) } +func (in *schemaPackageUnexpectedSegmentHandlingPtr) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackageUnexpectedSegmentHandling] { + return pulumix.Output[*SchemaPackageUnexpectedSegmentHandling]{ + OutputState: in.ToSchemaPackageUnexpectedSegmentHandlingPtrOutputWithContext(ctx).OutputState, + } +} + // Type of partitioning. type TimePartitioningType string @@ -2307,6 +2542,12 @@ func (o TimePartitioningTypeOutput) ToTimePartitioningTypePtrOutputWithContext(c }).(TimePartitioningTypePtrOutput) } +func (o TimePartitioningTypeOutput) ToOutput(ctx context.Context) pulumix.Output[TimePartitioningType] { + return pulumix.Output[TimePartitioningType]{ + OutputState: o.OutputState, + } +} + func (o TimePartitioningTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2342,6 +2583,12 @@ func (o TimePartitioningTypePtrOutput) ToTimePartitioningTypePtrOutputWithContex return o } +func (o TimePartitioningTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimePartitioningType] { + return pulumix.Output[*TimePartitioningType]{ + OutputState: o.OutputState, + } +} + func (o TimePartitioningTypePtrOutput) Elem() TimePartitioningTypeOutput { return o.ApplyT(func(v *TimePartitioningType) TimePartitioningType { if v != nil { @@ -2404,6 +2651,12 @@ func (in *timePartitioningTypePtr) ToTimePartitioningTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(TimePartitioningTypePtrOutput) } +func (in *timePartitioningTypePtr) ToOutput(ctx context.Context) pulumix.Output[*TimePartitioningType] { + return pulumix.Output[*TimePartitioningType]{ + OutputState: in.ToTimePartitioningTypePtrOutputWithContext(ctx).OutputState, + } +} + // If this is a primitive type then this field is the type of the primitive For example, STRING. Leave unspecified for composite types. type TypePrimitive string @@ -2478,6 +2731,12 @@ func (o TypePrimitiveOutput) ToTypePrimitivePtrOutputWithContext(ctx context.Con }).(TypePrimitivePtrOutput) } +func (o TypePrimitiveOutput) ToOutput(ctx context.Context) pulumix.Output[TypePrimitive] { + return pulumix.Output[TypePrimitive]{ + OutputState: o.OutputState, + } +} + func (o TypePrimitiveOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2513,6 +2772,12 @@ func (o TypePrimitivePtrOutput) ToTypePrimitivePtrOutputWithContext(ctx context. return o } +func (o TypePrimitivePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TypePrimitive] { + return pulumix.Output[*TypePrimitive]{ + OutputState: o.OutputState, + } +} + func (o TypePrimitivePtrOutput) Elem() TypePrimitiveOutput { return o.ApplyT(func(v *TypePrimitive) TypePrimitive { if v != nil { @@ -2575,6 +2840,12 @@ func (in *typePrimitivePtr) ToTypePrimitivePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(TypePrimitivePtrOutput) } +func (in *typePrimitivePtr) ToOutput(ctx context.Context) pulumix.Output[*TypePrimitive] { + return pulumix.Output[*TypePrimitive]{ + OutputState: in.ToTypePrimitivePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AttributeDefinitionCategoryInput)(nil)).Elem(), AttributeDefinitionCategory("CATEGORY_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AttributeDefinitionCategoryPtrInput)(nil)).Elem(), AttributeDefinitionCategory("CATEGORY_UNSPECIFIED")) diff --git a/sdk/go/google/healthcare/v1/pulumiTypes.go b/sdk/go/google/healthcare/v1/pulumiTypes.go index f0da0eaac3..ed78d7b4d3 100644 --- a/sdk/go/google/healthcare/v1/pulumiTypes.go +++ b/sdk/go/google/healthcare/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AttributeArgs) ToAttributeOutputWithContext(ctx context.Context) Attribu return pulumi.ToOutputWithContext(ctx, i).(AttributeOutput) } +func (i AttributeArgs) ToOutput(ctx context.Context) pulumix.Output[Attribute] { + return pulumix.Output[Attribute]{ + OutputState: i.ToAttributeOutputWithContext(ctx).OutputState, + } +} + // AttributeArrayInput is an input type that accepts AttributeArray and AttributeArrayOutput values. // You can construct a concrete instance of `AttributeArrayInput` via: // @@ -77,6 +84,12 @@ func (i AttributeArray) ToAttributeArrayOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AttributeArrayOutput) } +func (i AttributeArray) ToOutput(ctx context.Context) pulumix.Output[[]Attribute] { + return pulumix.Output[[]Attribute]{ + OutputState: i.ToAttributeArrayOutputWithContext(ctx).OutputState, + } +} + // An attribute value for a Consent or User data mapping. Each Attribute must have a corresponding AttributeDefinition in the consent store that defines the default and allowed values. type AttributeOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AttributeOutput) ToAttributeOutputWithContext(ctx context.Context) Attri return o } +func (o AttributeOutput) ToOutput(ctx context.Context) pulumix.Output[Attribute] { + return pulumix.Output[Attribute]{ + OutputState: o.OutputState, + } +} + // Indicates the name of an attribute defined in the consent store. func (o AttributeOutput) AttributeDefinitionId() pulumi.StringPtrOutput { return o.ApplyT(func(v Attribute) *string { return v.AttributeDefinitionId }).(pulumi.StringPtrOutput) @@ -116,6 +135,12 @@ func (o AttributeArrayOutput) ToAttributeArrayOutputWithContext(ctx context.Cont return o } +func (o AttributeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Attribute] { + return pulumix.Output[[]Attribute]{ + OutputState: o.OutputState, + } +} + func (o AttributeArrayOutput) Index(i pulumi.IntInput) AttributeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Attribute { return vs[0].([]Attribute)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AttributeResponseOutput) ToAttributeResponseOutputWithContext(ctx contex return o } +func (o AttributeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttributeResponse] { + return pulumix.Output[AttributeResponse]{ + OutputState: o.OutputState, + } +} + // Indicates the name of an attribute defined in the consent store. func (o AttributeResponseOutput) AttributeDefinitionId() pulumi.StringOutput { return o.ApplyT(func(v AttributeResponse) string { return v.AttributeDefinitionId }).(pulumi.StringOutput) @@ -169,6 +200,12 @@ func (o AttributeResponseArrayOutput) ToAttributeResponseArrayOutputWithContext( return o } +func (o AttributeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttributeResponse] { + return pulumix.Output[[]AttributeResponse]{ + OutputState: o.OutputState, + } +} + func (o AttributeResponseArrayOutput) Index(i pulumi.IntInput) AttributeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttributeResponse { return vs[0].([]AttributeResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -278,6 +333,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -331,6 +398,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -376,6 +449,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -401,6 +480,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -416,6 +501,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -440,6 +531,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -469,6 +566,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -493,6 +596,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -542,6 +651,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -567,6 +682,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -582,6 +703,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -611,6 +738,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -642,6 +775,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -671,6 +810,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -712,6 +857,12 @@ func (i CharacterMaskConfigArgs) ToCharacterMaskConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(CharacterMaskConfigOutput) } +func (i CharacterMaskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CharacterMaskConfig] { + return pulumix.Output[CharacterMaskConfig]{ + OutputState: i.ToCharacterMaskConfigOutputWithContext(ctx).OutputState, + } +} + func (i CharacterMaskConfigArgs) ToCharacterMaskConfigPtrOutput() CharacterMaskConfigPtrOutput { return i.ToCharacterMaskConfigPtrOutputWithContext(context.Background()) } @@ -753,6 +904,12 @@ func (i *characterMaskConfigPtrType) ToCharacterMaskConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(CharacterMaskConfigPtrOutput) } +func (i *characterMaskConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CharacterMaskConfig] { + return pulumix.Output[*CharacterMaskConfig]{ + OutputState: i.ToCharacterMaskConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Mask a string by replacing its characters with a fixed character. type CharacterMaskConfigOutput struct{ *pulumi.OutputState } @@ -778,6 +935,12 @@ func (o CharacterMaskConfigOutput) ToCharacterMaskConfigPtrOutputWithContext(ctx }).(CharacterMaskConfigPtrOutput) } +func (o CharacterMaskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CharacterMaskConfig] { + return pulumix.Output[CharacterMaskConfig]{ + OutputState: o.OutputState, + } +} + // Character to mask the sensitive values. If not supplied, defaults to "*". func (o CharacterMaskConfigOutput) MaskingCharacter() pulumi.StringPtrOutput { return o.ApplyT(func(v CharacterMaskConfig) *string { return v.MaskingCharacter }).(pulumi.StringPtrOutput) @@ -797,6 +960,12 @@ func (o CharacterMaskConfigPtrOutput) ToCharacterMaskConfigPtrOutputWithContext( return o } +func (o CharacterMaskConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CharacterMaskConfig] { + return pulumix.Output[*CharacterMaskConfig]{ + OutputState: o.OutputState, + } +} + func (o CharacterMaskConfigPtrOutput) Elem() CharacterMaskConfigOutput { return o.ApplyT(func(v *CharacterMaskConfig) CharacterMaskConfig { if v != nil { @@ -838,6 +1007,12 @@ func (o CharacterMaskConfigResponseOutput) ToCharacterMaskConfigResponseOutputWi return o } +func (o CharacterMaskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CharacterMaskConfigResponse] { + return pulumix.Output[CharacterMaskConfigResponse]{ + OutputState: o.OutputState, + } +} + // Character to mask the sensitive values. If not supplied, defaults to "*". func (o CharacterMaskConfigResponseOutput) MaskingCharacter() pulumi.StringOutput { return o.ApplyT(func(v CharacterMaskConfigResponse) string { return v.MaskingCharacter }).(pulumi.StringOutput) @@ -882,6 +1057,12 @@ func (i CryptoHashConfigArgs) ToCryptoHashConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(CryptoHashConfigOutput) } +func (i CryptoHashConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CryptoHashConfig] { + return pulumix.Output[CryptoHashConfig]{ + OutputState: i.ToCryptoHashConfigOutputWithContext(ctx).OutputState, + } +} + func (i CryptoHashConfigArgs) ToCryptoHashConfigPtrOutput() CryptoHashConfigPtrOutput { return i.ToCryptoHashConfigPtrOutputWithContext(context.Background()) } @@ -923,6 +1104,12 @@ func (i *cryptoHashConfigPtrType) ToCryptoHashConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(CryptoHashConfigPtrOutput) } +func (i *cryptoHashConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CryptoHashConfig] { + return pulumix.Output[*CryptoHashConfig]{ + OutputState: i.ToCryptoHashConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output (for example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`). type CryptoHashConfigOutput struct{ *pulumi.OutputState } @@ -948,6 +1135,12 @@ func (o CryptoHashConfigOutput) ToCryptoHashConfigPtrOutputWithContext(ctx conte }).(CryptoHashConfigPtrOutput) } +func (o CryptoHashConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoHashConfig] { + return pulumix.Output[CryptoHashConfig]{ + OutputState: o.OutputState, + } +} + // An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set. func (o CryptoHashConfigOutput) CryptoKey() pulumi.StringPtrOutput { return o.ApplyT(func(v CryptoHashConfig) *string { return v.CryptoKey }).(pulumi.StringPtrOutput) @@ -972,6 +1165,12 @@ func (o CryptoHashConfigPtrOutput) ToCryptoHashConfigPtrOutputWithContext(ctx co return o } +func (o CryptoHashConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoHashConfig] { + return pulumix.Output[*CryptoHashConfig]{ + OutputState: o.OutputState, + } +} + func (o CryptoHashConfigPtrOutput) Elem() CryptoHashConfigOutput { return o.ApplyT(func(v *CryptoHashConfig) CryptoHashConfig { if v != nil { @@ -1025,6 +1224,12 @@ func (o CryptoHashConfigResponseOutput) ToCryptoHashConfigResponseOutputWithCont return o } +func (o CryptoHashConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoHashConfigResponse] { + return pulumix.Output[CryptoHashConfigResponse]{ + OutputState: o.OutputState, + } +} + // An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set. func (o CryptoHashConfigResponseOutput) CryptoKey() pulumi.StringOutput { return o.ApplyT(func(v CryptoHashConfigResponse) string { return v.CryptoKey }).(pulumi.StringOutput) @@ -1074,6 +1279,12 @@ func (i DateShiftConfigArgs) ToDateShiftConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DateShiftConfigOutput) } +func (i DateShiftConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DateShiftConfig] { + return pulumix.Output[DateShiftConfig]{ + OutputState: i.ToDateShiftConfigOutputWithContext(ctx).OutputState, + } +} + func (i DateShiftConfigArgs) ToDateShiftConfigPtrOutput() DateShiftConfigPtrOutput { return i.ToDateShiftConfigPtrOutputWithContext(context.Background()) } @@ -1115,6 +1326,12 @@ func (i *dateShiftConfigPtrType) ToDateShiftConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DateShiftConfigPtrOutput) } +func (i *dateShiftConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DateShiftConfig] { + return pulumix.Output[*DateShiftConfig]{ + OutputState: i.ToDateShiftConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination. type DateShiftConfigOutput struct{ *pulumi.OutputState } @@ -1140,6 +1357,12 @@ func (o DateShiftConfigOutput) ToDateShiftConfigPtrOutputWithContext(ctx context }).(DateShiftConfigPtrOutput) } +func (o DateShiftConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DateShiftConfig] { + return pulumix.Output[DateShiftConfig]{ + OutputState: o.OutputState, + } +} + // An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If `crypto_key` is not set, then `kms_wrapped` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `kms_wrapped` is set. func (o DateShiftConfigOutput) CryptoKey() pulumi.StringPtrOutput { return o.ApplyT(func(v DateShiftConfig) *string { return v.CryptoKey }).(pulumi.StringPtrOutput) @@ -1164,6 +1387,12 @@ func (o DateShiftConfigPtrOutput) ToDateShiftConfigPtrOutputWithContext(ctx cont return o } +func (o DateShiftConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DateShiftConfig] { + return pulumix.Output[*DateShiftConfig]{ + OutputState: o.OutputState, + } +} + func (o DateShiftConfigPtrOutput) Elem() DateShiftConfigOutput { return o.ApplyT(func(v *DateShiftConfig) DateShiftConfig { if v != nil { @@ -1217,6 +1446,12 @@ func (o DateShiftConfigResponseOutput) ToDateShiftConfigResponseOutputWithContex return o } +func (o DateShiftConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DateShiftConfigResponse] { + return pulumix.Output[DateShiftConfigResponse]{ + OutputState: o.OutputState, + } +} + // An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If `crypto_key` is not set, then `kms_wrapped` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `kms_wrapped` is set. func (o DateShiftConfigResponseOutput) CryptoKey() pulumi.StringOutput { return o.ApplyT(func(v DateShiftConfigResponse) string { return v.CryptoKey }).(pulumi.StringOutput) @@ -1266,6 +1501,12 @@ func (i DeidentifiedStoreDestinationArgs) ToDeidentifiedStoreDestinationOutputWi return pulumi.ToOutputWithContext(ctx, i).(DeidentifiedStoreDestinationOutput) } +func (i DeidentifiedStoreDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[DeidentifiedStoreDestination] { + return pulumix.Output[DeidentifiedStoreDestination]{ + OutputState: i.ToDeidentifiedStoreDestinationOutputWithContext(ctx).OutputState, + } +} + func (i DeidentifiedStoreDestinationArgs) ToDeidentifiedStoreDestinationPtrOutput() DeidentifiedStoreDestinationPtrOutput { return i.ToDeidentifiedStoreDestinationPtrOutputWithContext(context.Background()) } @@ -1307,6 +1548,12 @@ func (i *deidentifiedStoreDestinationPtrType) ToDeidentifiedStoreDestinationPtrO return pulumi.ToOutputWithContext(ctx, i).(DeidentifiedStoreDestinationPtrOutput) } +func (i *deidentifiedStoreDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeidentifiedStoreDestination] { + return pulumix.Output[*DeidentifiedStoreDestination]{ + OutputState: i.ToDeidentifiedStoreDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // Contains configuration for streaming de-identified FHIR export. type DeidentifiedStoreDestinationOutput struct{ *pulumi.OutputState } @@ -1332,6 +1579,12 @@ func (o DeidentifiedStoreDestinationOutput) ToDeidentifiedStoreDestinationPtrOut }).(DeidentifiedStoreDestinationPtrOutput) } +func (o DeidentifiedStoreDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[DeidentifiedStoreDestination] { + return pulumix.Output[DeidentifiedStoreDestination]{ + OutputState: o.OutputState, + } +} + // The configuration to use when de-identifying resources that are added to this store. func (o DeidentifiedStoreDestinationOutput) Config() DeidentifyConfigPtrOutput { return o.ApplyT(func(v DeidentifiedStoreDestination) *DeidentifyConfig { return v.Config }).(DeidentifyConfigPtrOutput) @@ -1356,6 +1609,12 @@ func (o DeidentifiedStoreDestinationPtrOutput) ToDeidentifiedStoreDestinationPtr return o } +func (o DeidentifiedStoreDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeidentifiedStoreDestination] { + return pulumix.Output[*DeidentifiedStoreDestination]{ + OutputState: o.OutputState, + } +} + func (o DeidentifiedStoreDestinationPtrOutput) Elem() DeidentifiedStoreDestinationOutput { return o.ApplyT(func(v *DeidentifiedStoreDestination) DeidentifiedStoreDestination { if v != nil { @@ -1409,6 +1668,12 @@ func (o DeidentifiedStoreDestinationResponseOutput) ToDeidentifiedStoreDestinati return o } +func (o DeidentifiedStoreDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeidentifiedStoreDestinationResponse] { + return pulumix.Output[DeidentifiedStoreDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The configuration to use when de-identifying resources that are added to this store. func (o DeidentifiedStoreDestinationResponseOutput) Config() DeidentifyConfigResponseOutput { return o.ApplyT(func(v DeidentifiedStoreDestinationResponse) DeidentifyConfigResponse { return v.Config }).(DeidentifyConfigResponseOutput) @@ -1470,6 +1735,12 @@ func (i DeidentifyConfigArgs) ToDeidentifyConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DeidentifyConfigOutput) } +func (i DeidentifyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DeidentifyConfig] { + return pulumix.Output[DeidentifyConfig]{ + OutputState: i.ToDeidentifyConfigOutputWithContext(ctx).OutputState, + } +} + func (i DeidentifyConfigArgs) ToDeidentifyConfigPtrOutput() DeidentifyConfigPtrOutput { return i.ToDeidentifyConfigPtrOutputWithContext(context.Background()) } @@ -1511,6 +1782,12 @@ func (i *deidentifyConfigPtrType) ToDeidentifyConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DeidentifyConfigPtrOutput) } +func (i *deidentifyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeidentifyConfig] { + return pulumix.Output[*DeidentifyConfig]{ + OutputState: i.ToDeidentifyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configures de-id options specific to different types of content. Each submessage customizes the handling of an https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are applied in a nested manner at runtime. type DeidentifyConfigOutput struct{ *pulumi.OutputState } @@ -1536,6 +1813,12 @@ func (o DeidentifyConfigOutput) ToDeidentifyConfigPtrOutputWithContext(ctx conte }).(DeidentifyConfigPtrOutput) } +func (o DeidentifyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DeidentifyConfig] { + return pulumix.Output[DeidentifyConfig]{ + OutputState: o.OutputState, + } +} + // Configures de-id of application/DICOM content. func (o DeidentifyConfigOutput) Dicom() DicomConfigPtrOutput { return o.ApplyT(func(v DeidentifyConfig) *DicomConfig { return v.Dicom }).(DicomConfigPtrOutput) @@ -1575,6 +1858,12 @@ func (o DeidentifyConfigPtrOutput) ToDeidentifyConfigPtrOutputWithContext(ctx co return o } +func (o DeidentifyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeidentifyConfig] { + return pulumix.Output[*DeidentifyConfig]{ + OutputState: o.OutputState, + } +} + func (o DeidentifyConfigPtrOutput) Elem() DeidentifyConfigOutput { return o.ApplyT(func(v *DeidentifyConfig) DeidentifyConfig { if v != nil { @@ -1664,6 +1953,12 @@ func (o DeidentifyConfigResponseOutput) ToDeidentifyConfigResponseOutputWithCont return o } +func (o DeidentifyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeidentifyConfigResponse] { + return pulumix.Output[DeidentifyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configures de-id of application/DICOM content. func (o DeidentifyConfigResponseOutput) Dicom() DicomConfigResponseOutput { return o.ApplyT(func(v DeidentifyConfigResponse) DicomConfigResponse { return v.Dicom }).(DicomConfigResponseOutput) @@ -1736,6 +2031,12 @@ func (i DicomConfigArgs) ToDicomConfigOutputWithContext(ctx context.Context) Dic return pulumi.ToOutputWithContext(ctx, i).(DicomConfigOutput) } +func (i DicomConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DicomConfig] { + return pulumix.Output[DicomConfig]{ + OutputState: i.ToDicomConfigOutputWithContext(ctx).OutputState, + } +} + func (i DicomConfigArgs) ToDicomConfigPtrOutput() DicomConfigPtrOutput { return i.ToDicomConfigPtrOutputWithContext(context.Background()) } @@ -1777,6 +2078,12 @@ func (i *dicomConfigPtrType) ToDicomConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DicomConfigPtrOutput) } +func (i *dicomConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DicomConfig] { + return pulumix.Output[*DicomConfig]{ + OutputState: i.ToDicomConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the parameters needed for de-identification of DICOM stores. type DicomConfigOutput struct{ *pulumi.OutputState } @@ -1802,6 +2109,12 @@ func (o DicomConfigOutput) ToDicomConfigPtrOutputWithContext(ctx context.Context }).(DicomConfigPtrOutput) } +func (o DicomConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DicomConfig] { + return pulumix.Output[DicomConfig]{ + OutputState: o.OutputState, + } +} + // Tag filtering profile that determines which tags to keep/remove. func (o DicomConfigOutput) FilterProfile() DicomConfigFilterProfilePtrOutput { return o.ApplyT(func(v DicomConfig) *DicomConfigFilterProfile { return v.FilterProfile }).(DicomConfigFilterProfilePtrOutput) @@ -1836,6 +2149,12 @@ func (o DicomConfigPtrOutput) ToDicomConfigPtrOutputWithContext(ctx context.Cont return o } +func (o DicomConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DicomConfig] { + return pulumix.Output[*DicomConfig]{ + OutputState: o.OutputState, + } +} + func (o DicomConfigPtrOutput) Elem() DicomConfigOutput { return o.ApplyT(func(v *DicomConfig) DicomConfig { if v != nil { @@ -1913,6 +2232,12 @@ func (o DicomConfigResponseOutput) ToDicomConfigResponseOutputWithContext(ctx co return o } +func (o DicomConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DicomConfigResponse] { + return pulumix.Output[DicomConfigResponse]{ + OutputState: o.OutputState, + } +} + // Tag filtering profile that determines which tags to keep/remove. func (o DicomConfigResponseOutput) FilterProfile() pulumi.StringOutput { return o.ApplyT(func(v DicomConfigResponse) string { return v.FilterProfile }).(pulumi.StringOutput) @@ -1980,6 +2305,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -2021,6 +2352,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -2046,6 +2383,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2080,6 +2423,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -2157,6 +2506,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2216,6 +2571,12 @@ func (i FhirConfigArgs) ToFhirConfigOutputWithContext(ctx context.Context) FhirC return pulumi.ToOutputWithContext(ctx, i).(FhirConfigOutput) } +func (i FhirConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FhirConfig] { + return pulumix.Output[FhirConfig]{ + OutputState: i.ToFhirConfigOutputWithContext(ctx).OutputState, + } +} + func (i FhirConfigArgs) ToFhirConfigPtrOutput() FhirConfigPtrOutput { return i.ToFhirConfigPtrOutputWithContext(context.Background()) } @@ -2257,6 +2618,12 @@ func (i *fhirConfigPtrType) ToFhirConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FhirConfigPtrOutput) } +func (i *fhirConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*FhirConfig] { + return pulumix.Output[*FhirConfig]{ + OutputState: i.ToFhirConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to handle de-identification of a FHIR store. type FhirConfigOutput struct{ *pulumi.OutputState } @@ -2282,6 +2649,12 @@ func (o FhirConfigOutput) ToFhirConfigPtrOutputWithContext(ctx context.Context) }).(FhirConfigPtrOutput) } +func (o FhirConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FhirConfig] { + return pulumix.Output[FhirConfig]{ + OutputState: o.OutputState, + } +} + // The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If true, all extensions are preserved during de-identification by default. If false or unspecified, all extensions are removed during de-identification by default. func (o FhirConfigOutput) DefaultKeepExtensions() pulumi.BoolPtrOutput { return o.ApplyT(func(v FhirConfig) *bool { return v.DefaultKeepExtensions }).(pulumi.BoolPtrOutput) @@ -2306,6 +2679,12 @@ func (o FhirConfigPtrOutput) ToFhirConfigPtrOutputWithContext(ctx context.Contex return o } +func (o FhirConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirConfig] { + return pulumix.Output[*FhirConfig]{ + OutputState: o.OutputState, + } +} + func (o FhirConfigPtrOutput) Elem() FhirConfigOutput { return o.ApplyT(func(v *FhirConfig) FhirConfig { if v != nil { @@ -2359,6 +2738,12 @@ func (o FhirConfigResponseOutput) ToFhirConfigResponseOutputWithContext(ctx cont return o } +func (o FhirConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FhirConfigResponse] { + return pulumix.Output[FhirConfigResponse]{ + OutputState: o.OutputState, + } +} + // The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If true, all extensions are preserved during de-identification by default. If false or unspecified, all extensions are removed during de-identification by default. func (o FhirConfigResponseOutput) DefaultKeepExtensions() pulumi.BoolOutput { return o.ApplyT(func(v FhirConfigResponse) bool { return v.DefaultKeepExtensions }).(pulumi.BoolOutput) @@ -2412,6 +2797,12 @@ func (i FhirNotificationConfigArgs) ToFhirNotificationConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(FhirNotificationConfigOutput) } +func (i FhirNotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FhirNotificationConfig] { + return pulumix.Output[FhirNotificationConfig]{ + OutputState: i.ToFhirNotificationConfigOutputWithContext(ctx).OutputState, + } +} + // FhirNotificationConfigArrayInput is an input type that accepts FhirNotificationConfigArray and FhirNotificationConfigArrayOutput values. // You can construct a concrete instance of `FhirNotificationConfigArrayInput` via: // @@ -2437,6 +2828,12 @@ func (i FhirNotificationConfigArray) ToFhirNotificationConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(FhirNotificationConfigArrayOutput) } +func (i FhirNotificationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]FhirNotificationConfig] { + return pulumix.Output[[]FhirNotificationConfig]{ + OutputState: i.ToFhirNotificationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Contains the configuration for FHIR notifications. type FhirNotificationConfigOutput struct{ *pulumi.OutputState } @@ -2452,6 +2849,12 @@ func (o FhirNotificationConfigOutput) ToFhirNotificationConfigOutputWithContext( return o } +func (o FhirNotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FhirNotificationConfig] { + return pulumix.Output[FhirNotificationConfig]{ + OutputState: o.OutputState, + } +} + // The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. The notification is a `PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. Note that notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail (https://cloud.google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare-api/docs/how-tos/logging). func (o FhirNotificationConfigOutput) PubsubTopic() pulumi.StringPtrOutput { return o.ApplyT(func(v FhirNotificationConfig) *string { return v.PubsubTopic }).(pulumi.StringPtrOutput) @@ -2481,6 +2884,12 @@ func (o FhirNotificationConfigArrayOutput) ToFhirNotificationConfigArrayOutputWi return o } +func (o FhirNotificationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FhirNotificationConfig] { + return pulumix.Output[[]FhirNotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o FhirNotificationConfigArrayOutput) Index(i pulumi.IntInput) FhirNotificationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FhirNotificationConfig { return vs[0].([]FhirNotificationConfig)[vs[1].(int)] @@ -2512,6 +2921,12 @@ func (o FhirNotificationConfigResponseOutput) ToFhirNotificationConfigResponseOu return o } +func (o FhirNotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FhirNotificationConfigResponse] { + return pulumix.Output[FhirNotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. The notification is a `PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. Note that notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail (https://cloud.google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare-api/docs/how-tos/logging). func (o FhirNotificationConfigResponseOutput) PubsubTopic() pulumi.StringOutput { return o.ApplyT(func(v FhirNotificationConfigResponse) string { return v.PubsubTopic }).(pulumi.StringOutput) @@ -2541,6 +2956,12 @@ func (o FhirNotificationConfigResponseArrayOutput) ToFhirNotificationConfigRespo return o } +func (o FhirNotificationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FhirNotificationConfigResponse] { + return pulumix.Output[[]FhirNotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o FhirNotificationConfigResponseArrayOutput) Index(i pulumi.IntInput) FhirNotificationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FhirNotificationConfigResponse { return vs[0].([]FhirNotificationConfigResponse)[vs[1].(int)] @@ -2598,6 +3019,12 @@ func (i FieldArgs) ToFieldOutputWithContext(ctx context.Context) FieldOutput { return pulumi.ToOutputWithContext(ctx, i).(FieldOutput) } +func (i FieldArgs) ToOutput(ctx context.Context) pulumix.Output[Field] { + return pulumix.Output[Field]{ + OutputState: i.ToFieldOutputWithContext(ctx).OutputState, + } +} + // FieldArrayInput is an input type that accepts FieldArray and FieldArrayOutput values. // You can construct a concrete instance of `FieldArrayInput` via: // @@ -2623,6 +3050,12 @@ func (i FieldArray) ToFieldArrayOutputWithContext(ctx context.Context) FieldArra return pulumi.ToOutputWithContext(ctx, i).(FieldArrayOutput) } +func (i FieldArray) ToOutput(ctx context.Context) pulumix.Output[[]Field] { + return pulumix.Output[[]Field]{ + OutputState: i.ToFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A (sub) field of a type. type FieldOutput struct{ *pulumi.OutputState } @@ -2638,6 +3071,12 @@ func (o FieldOutput) ToFieldOutputWithContext(ctx context.Context) FieldOutput { return o } +func (o FieldOutput) ToOutput(ctx context.Context) pulumix.Output[Field] { + return pulumix.Output[Field]{ + OutputState: o.OutputState, + } +} + // The maximum number of times this field can be repeated. 0 or -1 means unbounded. func (o FieldOutput) MaxOccurs() pulumi.IntPtrOutput { return o.ApplyT(func(v Field) *int { return v.MaxOccurs }).(pulumi.IntPtrOutput) @@ -2677,6 +3116,12 @@ func (o FieldArrayOutput) ToFieldArrayOutputWithContext(ctx context.Context) Fie return o } +func (o FieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Field] { + return pulumix.Output[[]Field]{ + OutputState: o.OutputState, + } +} + func (o FieldArrayOutput) Index(i pulumi.IntInput) FieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Field { return vs[0].([]Field)[vs[1].(int)] @@ -2722,6 +3167,12 @@ func (i FieldMetadataArgs) ToFieldMetadataOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FieldMetadataOutput) } +func (i FieldMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[FieldMetadata] { + return pulumix.Output[FieldMetadata]{ + OutputState: i.ToFieldMetadataOutputWithContext(ctx).OutputState, + } +} + // FieldMetadataArrayInput is an input type that accepts FieldMetadataArray and FieldMetadataArrayOutput values. // You can construct a concrete instance of `FieldMetadataArrayInput` via: // @@ -2747,6 +3198,12 @@ func (i FieldMetadataArray) ToFieldMetadataArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(FieldMetadataArrayOutput) } +func (i FieldMetadataArray) ToOutput(ctx context.Context) pulumix.Output[[]FieldMetadata] { + return pulumix.Output[[]FieldMetadata]{ + OutputState: i.ToFieldMetadataArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies FHIR paths to match, and how to handle de-identification of matching fields. type FieldMetadataOutput struct{ *pulumi.OutputState } @@ -2762,6 +3219,12 @@ func (o FieldMetadataOutput) ToFieldMetadataOutputWithContext(ctx context.Contex return o } +func (o FieldMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[FieldMetadata] { + return pulumix.Output[FieldMetadata]{ + OutputState: o.OutputState, + } +} + // Deidentify action for one field. func (o FieldMetadataOutput) Action() FieldMetadataActionPtrOutput { return o.ApplyT(func(v FieldMetadata) *FieldMetadataAction { return v.Action }).(FieldMetadataActionPtrOutput) @@ -2786,6 +3249,12 @@ func (o FieldMetadataArrayOutput) ToFieldMetadataArrayOutputWithContext(ctx cont return o } +func (o FieldMetadataArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FieldMetadata] { + return pulumix.Output[[]FieldMetadata]{ + OutputState: o.OutputState, + } +} + func (o FieldMetadataArrayOutput) Index(i pulumi.IntInput) FieldMetadataOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FieldMetadata { return vs[0].([]FieldMetadata)[vs[1].(int)] @@ -2815,6 +3284,12 @@ func (o FieldMetadataResponseOutput) ToFieldMetadataResponseOutputWithContext(ct return o } +func (o FieldMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FieldMetadataResponse] { + return pulumix.Output[FieldMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Deidentify action for one field. func (o FieldMetadataResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v FieldMetadataResponse) string { return v.Action }).(pulumi.StringOutput) @@ -2839,6 +3314,12 @@ func (o FieldMetadataResponseArrayOutput) ToFieldMetadataResponseArrayOutputWith return o } +func (o FieldMetadataResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FieldMetadataResponse] { + return pulumix.Output[[]FieldMetadataResponse]{ + OutputState: o.OutputState, + } +} + func (o FieldMetadataResponseArrayOutput) Index(i pulumi.IntInput) FieldMetadataResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FieldMetadataResponse { return vs[0].([]FieldMetadataResponse)[vs[1].(int)] @@ -2874,6 +3355,12 @@ func (o FieldResponseOutput) ToFieldResponseOutputWithContext(ctx context.Contex return o } +func (o FieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FieldResponse] { + return pulumix.Output[FieldResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of times this field can be repeated. 0 or -1 means unbounded. func (o FieldResponseOutput) MaxOccurs() pulumi.IntOutput { return o.ApplyT(func(v FieldResponse) int { return v.MaxOccurs }).(pulumi.IntOutput) @@ -2913,6 +3400,12 @@ func (o FieldResponseArrayOutput) ToFieldResponseArrayOutputWithContext(ctx cont return o } +func (o FieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FieldResponse] { + return pulumix.Output[[]FieldResponse]{ + OutputState: o.OutputState, + } +} + func (o FieldResponseArrayOutput) Index(i pulumi.IntInput) FieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FieldResponse { return vs[0].([]FieldResponse)[vs[1].(int)] @@ -2958,6 +3451,12 @@ func (i GoogleCloudHealthcareV1ConsentPolicyArgs) ToGoogleCloudHealthcareV1Conse return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1ConsentPolicyOutput) } +func (i GoogleCloudHealthcareV1ConsentPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1ConsentPolicy] { + return pulumix.Output[GoogleCloudHealthcareV1ConsentPolicy]{ + OutputState: i.ToGoogleCloudHealthcareV1ConsentPolicyOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudHealthcareV1ConsentPolicyArrayInput is an input type that accepts GoogleCloudHealthcareV1ConsentPolicyArray and GoogleCloudHealthcareV1ConsentPolicyArrayOutput values. // You can construct a concrete instance of `GoogleCloudHealthcareV1ConsentPolicyArrayInput` via: // @@ -2983,6 +3482,12 @@ func (i GoogleCloudHealthcareV1ConsentPolicyArray) ToGoogleCloudHealthcareV1Cons return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1ConsentPolicyArrayOutput) } +func (i GoogleCloudHealthcareV1ConsentPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1ConsentPolicy] { + return pulumix.Output[[]GoogleCloudHealthcareV1ConsentPolicy]{ + OutputState: i.ToGoogleCloudHealthcareV1ConsentPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a user's consent in terms of the resources that can be accessed and under what conditions. type GoogleCloudHealthcareV1ConsentPolicyOutput struct{ *pulumi.OutputState } @@ -2998,6 +3503,12 @@ func (o GoogleCloudHealthcareV1ConsentPolicyOutput) ToGoogleCloudHealthcareV1Con return o } +func (o GoogleCloudHealthcareV1ConsentPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1ConsentPolicy] { + return pulumix.Output[GoogleCloudHealthcareV1ConsentPolicy]{ + OutputState: o.OutputState, + } +} + // The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have `IN` operator as well as at most 10 logical operators that are limited to `AND` (`&&`), `OR` (`||`). func (o GoogleCloudHealthcareV1ConsentPolicyOutput) AuthorizationRule() ExprOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1ConsentPolicy) Expr { return v.AuthorizationRule }).(ExprOutput) @@ -3022,6 +3533,12 @@ func (o GoogleCloudHealthcareV1ConsentPolicyArrayOutput) ToGoogleCloudHealthcare return o } +func (o GoogleCloudHealthcareV1ConsentPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1ConsentPolicy] { + return pulumix.Output[[]GoogleCloudHealthcareV1ConsentPolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1ConsentPolicyArrayOutput) Index(i pulumi.IntInput) GoogleCloudHealthcareV1ConsentPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudHealthcareV1ConsentPolicy { return vs[0].([]GoogleCloudHealthcareV1ConsentPolicy)[vs[1].(int)] @@ -3051,6 +3568,12 @@ func (o GoogleCloudHealthcareV1ConsentPolicyResponseOutput) ToGoogleCloudHealthc return o } +func (o GoogleCloudHealthcareV1ConsentPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1ConsentPolicyResponse] { + return pulumix.Output[GoogleCloudHealthcareV1ConsentPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have `IN` operator as well as at most 10 logical operators that are limited to `AND` (`&&`), `OR` (`||`). func (o GoogleCloudHealthcareV1ConsentPolicyResponseOutput) AuthorizationRule() ExprResponseOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1ConsentPolicyResponse) ExprResponse { return v.AuthorizationRule }).(ExprResponseOutput) @@ -3075,6 +3598,12 @@ func (o GoogleCloudHealthcareV1ConsentPolicyResponseArrayOutput) ToGoogleCloudHe return o } +func (o GoogleCloudHealthcareV1ConsentPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1ConsentPolicyResponse] { + return pulumix.Output[[]GoogleCloudHealthcareV1ConsentPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1ConsentPolicyResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudHealthcareV1ConsentPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudHealthcareV1ConsentPolicyResponse { return vs[0].([]GoogleCloudHealthcareV1ConsentPolicyResponse)[vs[1].(int)] @@ -3128,6 +3657,12 @@ func (i GoogleCloudHealthcareV1FhirBigQueryDestinationArgs) ToGoogleCloudHealthc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1FhirBigQueryDestinationOutput) } +func (i GoogleCloudHealthcareV1FhirBigQueryDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1FhirBigQueryDestination] { + return pulumix.Output[GoogleCloudHealthcareV1FhirBigQueryDestination]{ + OutputState: i.ToGoogleCloudHealthcareV1FhirBigQueryDestinationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudHealthcareV1FhirBigQueryDestinationArgs) ToGoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutput() GoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutput { return i.ToGoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutputWithContext(context.Background()) } @@ -3169,6 +3704,12 @@ func (i *googleCloudHealthcareV1FhirBigQueryDestinationPtrType) ToGoogleCloudHea return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutput) } +func (i *googleCloudHealthcareV1FhirBigQueryDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1FhirBigQueryDestination] { + return pulumix.Output[*GoogleCloudHealthcareV1FhirBigQueryDestination]{ + OutputState: i.ToGoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for exporting to BigQuery. type GoogleCloudHealthcareV1FhirBigQueryDestinationOutput struct{ *pulumi.OutputState } @@ -3194,6 +3735,12 @@ func (o GoogleCloudHealthcareV1FhirBigQueryDestinationOutput) ToGoogleCloudHealt }).(GoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutput) } +func (o GoogleCloudHealthcareV1FhirBigQueryDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1FhirBigQueryDestination] { + return pulumix.Output[GoogleCloudHealthcareV1FhirBigQueryDestination]{ + OutputState: o.OutputState, + } +} + // BigQuery URI to an existing dataset, up to 2000 characters long, in the format `bq://projectId.bqDatasetId`. func (o GoogleCloudHealthcareV1FhirBigQueryDestinationOutput) DatasetUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1FhirBigQueryDestination) *string { return v.DatasetUri }).(pulumi.StringPtrOutput) @@ -3230,6 +3777,12 @@ func (o GoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutput) ToGoogleCloudHe return o } +func (o GoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1FhirBigQueryDestination] { + return pulumix.Output[*GoogleCloudHealthcareV1FhirBigQueryDestination]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutput) Elem() GoogleCloudHealthcareV1FhirBigQueryDestinationOutput { return o.ApplyT(func(v *GoogleCloudHealthcareV1FhirBigQueryDestination) GoogleCloudHealthcareV1FhirBigQueryDestination { if v != nil { @@ -3307,6 +3860,12 @@ func (o GoogleCloudHealthcareV1FhirBigQueryDestinationResponseOutput) ToGoogleCl return o } +func (o GoogleCloudHealthcareV1FhirBigQueryDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1FhirBigQueryDestinationResponse] { + return pulumix.Output[GoogleCloudHealthcareV1FhirBigQueryDestinationResponse]{ + OutputState: o.OutputState, + } +} + // BigQuery URI to an existing dataset, up to 2000 characters long, in the format `bq://projectId.bqDatasetId`. func (o GoogleCloudHealthcareV1FhirBigQueryDestinationResponseOutput) DatasetUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1FhirBigQueryDestinationResponse) string { return v.DatasetUri }).(pulumi.StringOutput) @@ -3368,6 +3927,12 @@ func (i Hl7SchemaConfigArgs) ToHl7SchemaConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(Hl7SchemaConfigOutput) } +func (i Hl7SchemaConfigArgs) ToOutput(ctx context.Context) pulumix.Output[Hl7SchemaConfig] { + return pulumix.Output[Hl7SchemaConfig]{ + OutputState: i.ToHl7SchemaConfigOutputWithContext(ctx).OutputState, + } +} + // Hl7SchemaConfigArrayInput is an input type that accepts Hl7SchemaConfigArray and Hl7SchemaConfigArrayOutput values. // You can construct a concrete instance of `Hl7SchemaConfigArrayInput` via: // @@ -3393,6 +3958,12 @@ func (i Hl7SchemaConfigArray) ToHl7SchemaConfigArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(Hl7SchemaConfigArrayOutput) } +func (i Hl7SchemaConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]Hl7SchemaConfig] { + return pulumix.Output[[]Hl7SchemaConfig]{ + OutputState: i.ToHl7SchemaConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Root config message for HL7v2 schema. This contains a schema structure of groups and segments, and filters that determine which messages to apply the schema structure to. type Hl7SchemaConfigOutput struct{ *pulumi.OutputState } @@ -3408,6 +3979,12 @@ func (o Hl7SchemaConfigOutput) ToHl7SchemaConfigOutputWithContext(ctx context.Co return o } +func (o Hl7SchemaConfigOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7SchemaConfig] { + return pulumix.Output[Hl7SchemaConfig]{ + OutputState: o.OutputState, + } +} + // Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to its schema configuration root group. func (o Hl7SchemaConfigOutput) MessageSchemaConfigs() pulumi.StringMapOutput { return o.ApplyT(func(v Hl7SchemaConfig) map[string]string { return v.MessageSchemaConfigs }).(pulumi.StringMapOutput) @@ -3432,6 +4009,12 @@ func (o Hl7SchemaConfigArrayOutput) ToHl7SchemaConfigArrayOutputWithContext(ctx return o } +func (o Hl7SchemaConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7SchemaConfig] { + return pulumix.Output[[]Hl7SchemaConfig]{ + OutputState: o.OutputState, + } +} + func (o Hl7SchemaConfigArrayOutput) Index(i pulumi.IntInput) Hl7SchemaConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7SchemaConfig { return vs[0].([]Hl7SchemaConfig)[vs[1].(int)] @@ -3461,6 +4044,12 @@ func (o Hl7SchemaConfigResponseOutput) ToHl7SchemaConfigResponseOutputWithContex return o } +func (o Hl7SchemaConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7SchemaConfigResponse] { + return pulumix.Output[Hl7SchemaConfigResponse]{ + OutputState: o.OutputState, + } +} + // Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to its schema configuration root group. func (o Hl7SchemaConfigResponseOutput) MessageSchemaConfigs() pulumi.StringMapOutput { return o.ApplyT(func(v Hl7SchemaConfigResponse) map[string]string { return v.MessageSchemaConfigs }).(pulumi.StringMapOutput) @@ -3485,6 +4074,12 @@ func (o Hl7SchemaConfigResponseArrayOutput) ToHl7SchemaConfigResponseArrayOutput return o } +func (o Hl7SchemaConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7SchemaConfigResponse] { + return pulumix.Output[[]Hl7SchemaConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o Hl7SchemaConfigResponseArrayOutput) Index(i pulumi.IntInput) Hl7SchemaConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7SchemaConfigResponse { return vs[0].([]Hl7SchemaConfigResponse)[vs[1].(int)] @@ -3530,6 +4125,12 @@ func (i Hl7TypesConfigArgs) ToHl7TypesConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(Hl7TypesConfigOutput) } +func (i Hl7TypesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[Hl7TypesConfig] { + return pulumix.Output[Hl7TypesConfig]{ + OutputState: i.ToHl7TypesConfigOutputWithContext(ctx).OutputState, + } +} + // Hl7TypesConfigArrayInput is an input type that accepts Hl7TypesConfigArray and Hl7TypesConfigArrayOutput values. // You can construct a concrete instance of `Hl7TypesConfigArrayInput` via: // @@ -3555,6 +4156,12 @@ func (i Hl7TypesConfigArray) ToHl7TypesConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(Hl7TypesConfigArrayOutput) } +func (i Hl7TypesConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]Hl7TypesConfig] { + return pulumix.Output[[]Hl7TypesConfig]{ + OutputState: i.ToHl7TypesConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Root config for HL7v2 datatype definitions for a specific HL7v2 version. type Hl7TypesConfigOutput struct{ *pulumi.OutputState } @@ -3570,6 +4177,12 @@ func (o Hl7TypesConfigOutput) ToHl7TypesConfigOutputWithContext(ctx context.Cont return o } +func (o Hl7TypesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7TypesConfig] { + return pulumix.Output[Hl7TypesConfig]{ + OutputState: o.OutputState, + } +} + // The HL7v2 type definitions. func (o Hl7TypesConfigOutput) Type() TypeArrayOutput { return o.ApplyT(func(v Hl7TypesConfig) []Type { return v.Type }).(TypeArrayOutput) @@ -3594,6 +4207,12 @@ func (o Hl7TypesConfigArrayOutput) ToHl7TypesConfigArrayOutputWithContext(ctx co return o } +func (o Hl7TypesConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7TypesConfig] { + return pulumix.Output[[]Hl7TypesConfig]{ + OutputState: o.OutputState, + } +} + func (o Hl7TypesConfigArrayOutput) Index(i pulumi.IntInput) Hl7TypesConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7TypesConfig { return vs[0].([]Hl7TypesConfig)[vs[1].(int)] @@ -3623,6 +4242,12 @@ func (o Hl7TypesConfigResponseOutput) ToHl7TypesConfigResponseOutputWithContext( return o } +func (o Hl7TypesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7TypesConfigResponse] { + return pulumix.Output[Hl7TypesConfigResponse]{ + OutputState: o.OutputState, + } +} + // The HL7v2 type definitions. func (o Hl7TypesConfigResponseOutput) Type() TypeResponseArrayOutput { return o.ApplyT(func(v Hl7TypesConfigResponse) []TypeResponse { return v.Type }).(TypeResponseArrayOutput) @@ -3647,6 +4272,12 @@ func (o Hl7TypesConfigResponseArrayOutput) ToHl7TypesConfigResponseArrayOutputWi return o } +func (o Hl7TypesConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7TypesConfigResponse] { + return pulumix.Output[[]Hl7TypesConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o Hl7TypesConfigResponseArrayOutput) Index(i pulumi.IntInput) Hl7TypesConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7TypesConfigResponse { return vs[0].([]Hl7TypesConfigResponse)[vs[1].(int)] @@ -3692,6 +4323,12 @@ func (i Hl7V2NotificationConfigArgs) ToHl7V2NotificationConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(Hl7V2NotificationConfigOutput) } +func (i Hl7V2NotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[Hl7V2NotificationConfig] { + return pulumix.Output[Hl7V2NotificationConfig]{ + OutputState: i.ToHl7V2NotificationConfigOutputWithContext(ctx).OutputState, + } +} + // Hl7V2NotificationConfigArrayInput is an input type that accepts Hl7V2NotificationConfigArray and Hl7V2NotificationConfigArrayOutput values. // You can construct a concrete instance of `Hl7V2NotificationConfigArrayInput` via: // @@ -3717,6 +4354,12 @@ func (i Hl7V2NotificationConfigArray) ToHl7V2NotificationConfigArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(Hl7V2NotificationConfigArrayOutput) } +func (i Hl7V2NotificationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]Hl7V2NotificationConfig] { + return pulumix.Output[[]Hl7V2NotificationConfig]{ + OutputState: i.ToHl7V2NotificationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies where and whether to send notifications upon changes to a data store. type Hl7V2NotificationConfigOutput struct{ *pulumi.OutputState } @@ -3732,6 +4375,12 @@ func (o Hl7V2NotificationConfigOutput) ToHl7V2NotificationConfigOutputWithContex return o } +func (o Hl7V2NotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7V2NotificationConfig] { + return pulumix.Output[Hl7V2NotificationConfig]{ + OutputState: o.OutputState, + } +} + // Restricts notifications sent for messages matching a filter. If this is empty, all messages are matched. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `"query text"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `"Comment = great"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The following fields and functions are available for filtering: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = "ADT"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date < "2017-01-02"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time < "2017-01-02T00:00:00-05:00"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time < "2017-01-02T00:00:00-05:00"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = "ABC"`. * `PatientId(value, type)`, which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId("123456", "MRN")`. * `labels.x`, a string value of the label with key `x` as set using the Message.labels map. For example, `labels."priority"="high"`. The operator `:*` can be used to assert the existence of a label. For example, `labels."priority":*`. func (o Hl7V2NotificationConfigOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v Hl7V2NotificationConfig) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -3756,6 +4405,12 @@ func (o Hl7V2NotificationConfigArrayOutput) ToHl7V2NotificationConfigArrayOutput return o } +func (o Hl7V2NotificationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7V2NotificationConfig] { + return pulumix.Output[[]Hl7V2NotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o Hl7V2NotificationConfigArrayOutput) Index(i pulumi.IntInput) Hl7V2NotificationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7V2NotificationConfig { return vs[0].([]Hl7V2NotificationConfig)[vs[1].(int)] @@ -3785,6 +4440,12 @@ func (o Hl7V2NotificationConfigResponseOutput) ToHl7V2NotificationConfigResponse return o } +func (o Hl7V2NotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7V2NotificationConfigResponse] { + return pulumix.Output[Hl7V2NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Restricts notifications sent for messages matching a filter. If this is empty, all messages are matched. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `"query text"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `"Comment = great"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. The following fields and functions are available for filtering: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = "ADT"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date < "2017-01-02"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time < "2017-01-02T00:00:00-05:00"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time < "2017-01-02T00:00:00-05:00"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = "ABC"`. * `PatientId(value, type)`, which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId("123456", "MRN")`. * `labels.x`, a string value of the label with key `x` as set using the Message.labels map. For example, `labels."priority"="high"`. The operator `:*` can be used to assert the existence of a label. For example, `labels."priority":*`. func (o Hl7V2NotificationConfigResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v Hl7V2NotificationConfigResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -3809,6 +4470,12 @@ func (o Hl7V2NotificationConfigResponseArrayOutput) ToHl7V2NotificationConfigRes return o } +func (o Hl7V2NotificationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7V2NotificationConfigResponse] { + return pulumix.Output[[]Hl7V2NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o Hl7V2NotificationConfigResponseArrayOutput) Index(i pulumi.IntInput) Hl7V2NotificationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7V2NotificationConfigResponse { return vs[0].([]Hl7V2NotificationConfigResponse)[vs[1].(int)] @@ -3854,6 +4521,12 @@ func (i ImageArgs) ToImageOutputWithContext(ctx context.Context) ImageOutput { return pulumi.ToOutputWithContext(ctx, i).(ImageOutput) } +func (i ImageArgs) ToOutput(ctx context.Context) pulumix.Output[Image] { + return pulumix.Output[Image]{ + OutputState: i.ToImageOutputWithContext(ctx).OutputState, + } +} + func (i ImageArgs) ToImagePtrOutput() ImagePtrOutput { return i.ToImagePtrOutputWithContext(context.Background()) } @@ -3895,6 +4568,12 @@ func (i *imagePtrType) ToImagePtrOutputWithContext(ctx context.Context) ImagePtr return pulumi.ToOutputWithContext(ctx, i).(ImagePtrOutput) } +func (i *imagePtrType) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: i.ToImagePtrOutputWithContext(ctx).OutputState, + } +} + // ImageArrayInput is an input type that accepts ImageArray and ImageArrayOutput values. // You can construct a concrete instance of `ImageArrayInput` via: // @@ -3920,6 +4599,12 @@ func (i ImageArray) ToImageArrayOutputWithContext(ctx context.Context) ImageArra return pulumi.ToOutputWithContext(ctx, i).(ImageArrayOutput) } +func (i ImageArray) ToOutput(ctx context.Context) pulumix.Output[[]Image] { + return pulumix.Output[[]Image]{ + OutputState: i.ToImageArrayOutputWithContext(ctx).OutputState, + } +} + // Raw bytes representing consent artifact content. type ImageOutput struct{ *pulumi.OutputState } @@ -3945,6 +4630,12 @@ func (o ImageOutput) ToImagePtrOutputWithContext(ctx context.Context) ImagePtrOu }).(ImagePtrOutput) } +func (o ImageOutput) ToOutput(ctx context.Context) pulumix.Output[Image] { + return pulumix.Output[Image]{ + OutputState: o.OutputState, + } +} + // Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The Cloud Healthcare API service account must have the `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes. func (o ImageOutput) GcsUri() pulumi.StringPtrOutput { return o.ApplyT(func(v Image) *string { return v.GcsUri }).(pulumi.StringPtrOutput) @@ -3969,6 +4660,12 @@ func (o ImagePtrOutput) ToImagePtrOutputWithContext(ctx context.Context) ImagePt return o } +func (o ImagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: o.OutputState, + } +} + func (o ImagePtrOutput) Elem() ImageOutput { return o.ApplyT(func(v *Image) Image { if v != nil { @@ -4013,6 +4710,12 @@ func (o ImageArrayOutput) ToImageArrayOutputWithContext(ctx context.Context) Ima return o } +func (o ImageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Image] { + return pulumix.Output[[]Image]{ + OutputState: o.OutputState, + } +} + func (o ImageArrayOutput) Index(i pulumi.IntInput) ImageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Image { return vs[0].([]Image)[vs[1].(int)] @@ -4054,6 +4757,12 @@ func (i ImageConfigArgs) ToImageConfigOutputWithContext(ctx context.Context) Ima return pulumi.ToOutputWithContext(ctx, i).(ImageConfigOutput) } +func (i ImageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ImageConfig] { + return pulumix.Output[ImageConfig]{ + OutputState: i.ToImageConfigOutputWithContext(ctx).OutputState, + } +} + func (i ImageConfigArgs) ToImageConfigPtrOutput() ImageConfigPtrOutput { return i.ToImageConfigPtrOutputWithContext(context.Background()) } @@ -4095,6 +4804,12 @@ func (i *imageConfigPtrType) ToImageConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ImageConfigPtrOutput) } +func (i *imageConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ImageConfig] { + return pulumix.Output[*ImageConfig]{ + OutputState: i.ToImageConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to handle de-identification of image pixels. type ImageConfigOutput struct{ *pulumi.OutputState } @@ -4120,6 +4835,12 @@ func (o ImageConfigOutput) ToImageConfigPtrOutputWithContext(ctx context.Context }).(ImageConfigPtrOutput) } +func (o ImageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ImageConfig] { + return pulumix.Output[ImageConfig]{ + OutputState: o.OutputState, + } +} + // Determines how to redact text from image. func (o ImageConfigOutput) TextRedactionMode() ImageConfigTextRedactionModePtrOutput { return o.ApplyT(func(v ImageConfig) *ImageConfigTextRedactionMode { return v.TextRedactionMode }).(ImageConfigTextRedactionModePtrOutput) @@ -4139,6 +4860,12 @@ func (o ImageConfigPtrOutput) ToImageConfigPtrOutputWithContext(ctx context.Cont return o } +func (o ImageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageConfig] { + return pulumix.Output[*ImageConfig]{ + OutputState: o.OutputState, + } +} + func (o ImageConfigPtrOutput) Elem() ImageConfigOutput { return o.ApplyT(func(v *ImageConfig) ImageConfig { if v != nil { @@ -4180,6 +4907,12 @@ func (o ImageConfigResponseOutput) ToImageConfigResponseOutputWithContext(ctx co return o } +func (o ImageConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageConfigResponse] { + return pulumix.Output[ImageConfigResponse]{ + OutputState: o.OutputState, + } +} + // Determines how to redact text from image. func (o ImageConfigResponseOutput) TextRedactionMode() pulumi.StringOutput { return o.ApplyT(func(v ImageConfigResponse) string { return v.TextRedactionMode }).(pulumi.StringOutput) @@ -4208,6 +4941,12 @@ func (o ImageResponseOutput) ToImageResponseOutputWithContext(ctx context.Contex return o } +func (o ImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageResponse] { + return pulumix.Output[ImageResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The Cloud Healthcare API service account must have the `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes. func (o ImageResponseOutput) GcsUri() pulumi.StringOutput { return o.ApplyT(func(v ImageResponse) string { return v.GcsUri }).(pulumi.StringOutput) @@ -4232,6 +4971,12 @@ func (o ImageResponseArrayOutput) ToImageResponseArrayOutputWithContext(ctx cont return o } +func (o ImageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ImageResponse] { + return pulumix.Output[[]ImageResponse]{ + OutputState: o.OutputState, + } +} + func (o ImageResponseArrayOutput) Index(i pulumi.IntInput) ImageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageResponse { return vs[0].([]ImageResponse)[vs[1].(int)] @@ -4293,6 +5038,12 @@ func (i InfoTypeTransformationArgs) ToInfoTypeTransformationOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(InfoTypeTransformationOutput) } +func (i InfoTypeTransformationArgs) ToOutput(ctx context.Context) pulumix.Output[InfoTypeTransformation] { + return pulumix.Output[InfoTypeTransformation]{ + OutputState: i.ToInfoTypeTransformationOutputWithContext(ctx).OutputState, + } +} + // InfoTypeTransformationArrayInput is an input type that accepts InfoTypeTransformationArray and InfoTypeTransformationArrayOutput values. // You can construct a concrete instance of `InfoTypeTransformationArrayInput` via: // @@ -4318,6 +5069,12 @@ func (i InfoTypeTransformationArray) ToInfoTypeTransformationArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(InfoTypeTransformationArrayOutput) } +func (i InfoTypeTransformationArray) ToOutput(ctx context.Context) pulumix.Output[[]InfoTypeTransformation] { + return pulumix.Output[[]InfoTypeTransformation]{ + OutputState: i.ToInfoTypeTransformationArrayOutputWithContext(ctx).OutputState, + } +} + // A transformation to apply to text that is identified as a specific info_type. type InfoTypeTransformationOutput struct{ *pulumi.OutputState } @@ -4333,6 +5090,12 @@ func (o InfoTypeTransformationOutput) ToInfoTypeTransformationOutputWithContext( return o } +func (o InfoTypeTransformationOutput) ToOutput(ctx context.Context) pulumix.Output[InfoTypeTransformation] { + return pulumix.Output[InfoTypeTransformation]{ + OutputState: o.OutputState, + } +} + // Config for character mask. func (o InfoTypeTransformationOutput) CharacterMaskConfig() CharacterMaskConfigPtrOutput { return o.ApplyT(func(v InfoTypeTransformation) *CharacterMaskConfig { return v.CharacterMaskConfig }).(CharacterMaskConfigPtrOutput) @@ -4377,6 +5140,12 @@ func (o InfoTypeTransformationArrayOutput) ToInfoTypeTransformationArrayOutputWi return o } +func (o InfoTypeTransformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InfoTypeTransformation] { + return pulumix.Output[[]InfoTypeTransformation]{ + OutputState: o.OutputState, + } +} + func (o InfoTypeTransformationArrayOutput) Index(i pulumi.IntInput) InfoTypeTransformationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InfoTypeTransformation { return vs[0].([]InfoTypeTransformation)[vs[1].(int)] @@ -4414,6 +5183,12 @@ func (o InfoTypeTransformationResponseOutput) ToInfoTypeTransformationResponseOu return o } +func (o InfoTypeTransformationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InfoTypeTransformationResponse] { + return pulumix.Output[InfoTypeTransformationResponse]{ + OutputState: o.OutputState, + } +} + // Config for character mask. func (o InfoTypeTransformationResponseOutput) CharacterMaskConfig() CharacterMaskConfigResponseOutput { return o.ApplyT(func(v InfoTypeTransformationResponse) CharacterMaskConfigResponse { return v.CharacterMaskConfig }).(CharacterMaskConfigResponseOutput) @@ -4460,6 +5235,12 @@ func (o InfoTypeTransformationResponseArrayOutput) ToInfoTypeTransformationRespo return o } +func (o InfoTypeTransformationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InfoTypeTransformationResponse] { + return pulumix.Output[[]InfoTypeTransformationResponse]{ + OutputState: o.OutputState, + } +} + func (o InfoTypeTransformationResponseArrayOutput) Index(i pulumi.IntInput) InfoTypeTransformationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InfoTypeTransformationResponse { return vs[0].([]InfoTypeTransformationResponse)[vs[1].(int)] @@ -4505,6 +5286,12 @@ func (i KmsWrappedCryptoKeyArgs) ToKmsWrappedCryptoKeyOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(KmsWrappedCryptoKeyOutput) } +func (i KmsWrappedCryptoKeyArgs) ToOutput(ctx context.Context) pulumix.Output[KmsWrappedCryptoKey] { + return pulumix.Output[KmsWrappedCryptoKey]{ + OutputState: i.ToKmsWrappedCryptoKeyOutputWithContext(ctx).OutputState, + } +} + func (i KmsWrappedCryptoKeyArgs) ToKmsWrappedCryptoKeyPtrOutput() KmsWrappedCryptoKeyPtrOutput { return i.ToKmsWrappedCryptoKeyPtrOutputWithContext(context.Background()) } @@ -4546,6 +5333,12 @@ func (i *kmsWrappedCryptoKeyPtrType) ToKmsWrappedCryptoKeyPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(KmsWrappedCryptoKeyPtrOutput) } +func (i *kmsWrappedCryptoKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*KmsWrappedCryptoKey] { + return pulumix.Output[*KmsWrappedCryptoKey]{ + OutputState: i.ToKmsWrappedCryptoKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). type KmsWrappedCryptoKeyOutput struct{ *pulumi.OutputState } @@ -4571,6 +5364,12 @@ func (o KmsWrappedCryptoKeyOutput) ToKmsWrappedCryptoKeyPtrOutputWithContext(ctx }).(KmsWrappedCryptoKeyPtrOutput) } +func (o KmsWrappedCryptoKeyOutput) ToOutput(ctx context.Context) pulumix.Output[KmsWrappedCryptoKey] { + return pulumix.Output[KmsWrappedCryptoKey]{ + OutputState: o.OutputState, + } +} + // The resource name of the KMS CryptoKey to use for unwrapping. For example, `projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}`. func (o KmsWrappedCryptoKeyOutput) CryptoKey() pulumi.StringOutput { return o.ApplyT(func(v KmsWrappedCryptoKey) string { return v.CryptoKey }).(pulumi.StringOutput) @@ -4595,6 +5394,12 @@ func (o KmsWrappedCryptoKeyPtrOutput) ToKmsWrappedCryptoKeyPtrOutputWithContext( return o } +func (o KmsWrappedCryptoKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KmsWrappedCryptoKey] { + return pulumix.Output[*KmsWrappedCryptoKey]{ + OutputState: o.OutputState, + } +} + func (o KmsWrappedCryptoKeyPtrOutput) Elem() KmsWrappedCryptoKeyOutput { return o.ApplyT(func(v *KmsWrappedCryptoKey) KmsWrappedCryptoKey { if v != nil { @@ -4648,6 +5453,12 @@ func (o KmsWrappedCryptoKeyResponseOutput) ToKmsWrappedCryptoKeyResponseOutputWi return o } +func (o KmsWrappedCryptoKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KmsWrappedCryptoKeyResponse] { + return pulumix.Output[KmsWrappedCryptoKeyResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the KMS CryptoKey to use for unwrapping. For example, `projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}`. func (o KmsWrappedCryptoKeyResponseOutput) CryptoKey() pulumi.StringOutput { return o.ApplyT(func(v KmsWrappedCryptoKeyResponse) string { return v.CryptoKey }).(pulumi.StringOutput) @@ -4693,6 +5504,12 @@ func (i NotificationConfigArgs) ToNotificationConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigOutput) } +func (i NotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NotificationConfig] { + return pulumix.Output[NotificationConfig]{ + OutputState: i.ToNotificationConfigOutputWithContext(ctx).OutputState, + } +} + func (i NotificationConfigArgs) ToNotificationConfigPtrOutput() NotificationConfigPtrOutput { return i.ToNotificationConfigPtrOutputWithContext(context.Background()) } @@ -4734,6 +5551,12 @@ func (i *notificationConfigPtrType) ToNotificationConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigPtrOutput) } +func (i *notificationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: i.ToNotificationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies where to send notifications upon changes to a data store. type NotificationConfigOutput struct{ *pulumi.OutputState } @@ -4759,6 +5582,12 @@ func (o NotificationConfigOutput) ToNotificationConfigPtrOutputWithContext(ctx c }).(NotificationConfigPtrOutput) } +func (o NotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfig] { + return pulumix.Output[NotificationConfig]{ + OutputState: o.OutputState, + } +} + // The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data contains the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. Cloud Healthcare API service account must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail. If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). If the number of errors exceeds a certain rate, some aren't submitted. Note that not all operations trigger notifications, see [Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/how-tos/pubsub) for specific details. func (o NotificationConfigOutput) PubsubTopic() pulumi.StringPtrOutput { return o.ApplyT(func(v NotificationConfig) *string { return v.PubsubTopic }).(pulumi.StringPtrOutput) @@ -4778,6 +5607,12 @@ func (o NotificationConfigPtrOutput) ToNotificationConfigPtrOutputWithContext(ct return o } +func (o NotificationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o NotificationConfigPtrOutput) Elem() NotificationConfigOutput { return o.ApplyT(func(v *NotificationConfig) NotificationConfig { if v != nil { @@ -4819,6 +5654,12 @@ func (o NotificationConfigResponseOutput) ToNotificationConfigResponseOutputWith return o } +func (o NotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfigResponse] { + return pulumix.Output[NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data contains the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. Cloud Healthcare API service account must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail. If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). If the number of errors exceeds a certain rate, some aren't submitted. Note that not all operations trigger notifications, see [Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/how-tos/pubsub) for specific details. func (o NotificationConfigResponseOutput) PubsubTopic() pulumi.StringOutput { return o.ApplyT(func(v NotificationConfigResponse) string { return v.PubsubTopic }).(pulumi.StringOutput) @@ -4844,6 +5685,12 @@ func (o ParsedDataResponseOutput) ToParsedDataResponseOutputWithContext(ctx cont return o } +func (o ParsedDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ParsedDataResponse] { + return pulumix.Output[ParsedDataResponse]{ + OutputState: o.OutputState, + } +} + func (o ParsedDataResponseOutput) Segments() SegmentResponseArrayOutput { return o.ApplyT(func(v ParsedDataResponse) []SegmentResponse { return v.Segments }).(SegmentResponseArrayOutput) } @@ -4895,6 +5742,12 @@ func (i ParserConfigArgs) ToParserConfigOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(ParserConfigOutput) } +func (i ParserConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ParserConfig] { + return pulumix.Output[ParserConfig]{ + OutputState: i.ToParserConfigOutputWithContext(ctx).OutputState, + } +} + func (i ParserConfigArgs) ToParserConfigPtrOutput() ParserConfigPtrOutput { return i.ToParserConfigPtrOutputWithContext(context.Background()) } @@ -4936,6 +5789,12 @@ func (i *parserConfigPtrType) ToParserConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ParserConfigPtrOutput) } +func (i *parserConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ParserConfig] { + return pulumix.Output[*ParserConfig]{ + OutputState: i.ToParserConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for the parser. It determines how the server parses the messages. type ParserConfigOutput struct{ *pulumi.OutputState } @@ -4961,6 +5820,12 @@ func (o ParserConfigOutput) ToParserConfigPtrOutputWithContext(ctx context.Conte }).(ParserConfigPtrOutput) } +func (o ParserConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ParserConfig] { + return pulumix.Output[ParserConfig]{ + OutputState: o.OutputState, + } +} + // Determines whether messages with no header are allowed. func (o ParserConfigOutput) AllowNullHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v ParserConfig) *bool { return v.AllowNullHeader }).(pulumi.BoolPtrOutput) @@ -4995,6 +5860,12 @@ func (o ParserConfigPtrOutput) ToParserConfigPtrOutputWithContext(ctx context.Co return o } +func (o ParserConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParserConfig] { + return pulumix.Output[*ParserConfig]{ + OutputState: o.OutputState, + } +} + func (o ParserConfigPtrOutput) Elem() ParserConfigOutput { return o.ApplyT(func(v *ParserConfig) ParserConfig { if v != nil { @@ -5072,6 +5943,12 @@ func (o ParserConfigResponseOutput) ToParserConfigResponseOutputWithContext(ctx return o } +func (o ParserConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ParserConfigResponse] { + return pulumix.Output[ParserConfigResponse]{ + OutputState: o.OutputState, + } +} + // Determines whether messages with no header are allowed. func (o ParserConfigResponseOutput) AllowNullHeader() pulumi.BoolOutput { return o.ApplyT(func(v ParserConfigResponse) bool { return v.AllowNullHeader }).(pulumi.BoolOutput) @@ -5131,6 +6008,12 @@ func (i PatientIdArgs) ToPatientIdOutputWithContext(ctx context.Context) Patient return pulumi.ToOutputWithContext(ctx, i).(PatientIdOutput) } +func (i PatientIdArgs) ToOutput(ctx context.Context) pulumix.Output[PatientId] { + return pulumix.Output[PatientId]{ + OutputState: i.ToPatientIdOutputWithContext(ctx).OutputState, + } +} + // PatientIdArrayInput is an input type that accepts PatientIdArray and PatientIdArrayOutput values. // You can construct a concrete instance of `PatientIdArrayInput` via: // @@ -5156,6 +6039,12 @@ func (i PatientIdArray) ToPatientIdArrayOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PatientIdArrayOutput) } +func (i PatientIdArray) ToOutput(ctx context.Context) pulumix.Output[[]PatientId] { + return pulumix.Output[[]PatientId]{ + OutputState: i.ToPatientIdArrayOutputWithContext(ctx).OutputState, + } +} + // A patient identifier and associated type. type PatientIdOutput struct{ *pulumi.OutputState } @@ -5171,6 +6060,12 @@ func (o PatientIdOutput) ToPatientIdOutputWithContext(ctx context.Context) Patie return o } +func (o PatientIdOutput) ToOutput(ctx context.Context) pulumix.Output[PatientId] { + return pulumix.Output[PatientId]{ + OutputState: o.OutputState, + } +} + // ID type. For example, MRN or NHS. func (o PatientIdOutput) Type() pulumi.StringPtrOutput { return o.ApplyT(func(v PatientId) *string { return v.Type }).(pulumi.StringPtrOutput) @@ -5195,6 +6090,12 @@ func (o PatientIdArrayOutput) ToPatientIdArrayOutputWithContext(ctx context.Cont return o } +func (o PatientIdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PatientId] { + return pulumix.Output[[]PatientId]{ + OutputState: o.OutputState, + } +} + func (o PatientIdArrayOutput) Index(i pulumi.IntInput) PatientIdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PatientId { return vs[0].([]PatientId)[vs[1].(int)] @@ -5224,6 +6125,12 @@ func (o PatientIdResponseOutput) ToPatientIdResponseOutputWithContext(ctx contex return o } +func (o PatientIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PatientIdResponse] { + return pulumix.Output[PatientIdResponse]{ + OutputState: o.OutputState, + } +} + // ID type. For example, MRN or NHS. func (o PatientIdResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v PatientIdResponse) string { return v.Type }).(pulumi.StringOutput) @@ -5248,6 +6155,12 @@ func (o PatientIdResponseArrayOutput) ToPatientIdResponseArrayOutputWithContext( return o } +func (o PatientIdResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PatientIdResponse] { + return pulumix.Output[[]PatientIdResponse]{ + OutputState: o.OutputState, + } +} + func (o PatientIdResponseArrayOutput) Index(i pulumi.IntInput) PatientIdResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PatientIdResponse { return vs[0].([]PatientIdResponse)[vs[1].(int)] @@ -5285,6 +6198,12 @@ func (i RedactConfigArgs) ToRedactConfigOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, i).(RedactConfigOutput) } +func (i RedactConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RedactConfig] { + return pulumix.Output[RedactConfig]{ + OutputState: i.ToRedactConfigOutputWithContext(ctx).OutputState, + } +} + func (i RedactConfigArgs) ToRedactConfigPtrOutput() RedactConfigPtrOutput { return i.ToRedactConfigPtrOutputWithContext(context.Background()) } @@ -5326,6 +6245,12 @@ func (i *redactConfigPtrType) ToRedactConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RedactConfigPtrOutput) } +func (i *redactConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RedactConfig] { + return pulumix.Output[*RedactConfig]{ + OutputState: i.ToRedactConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Define how to redact sensitive values. Default behaviour is erase. For example, "My name is Jane." becomes "My name is ." type RedactConfigOutput struct{ *pulumi.OutputState } @@ -5351,6 +6276,12 @@ func (o RedactConfigOutput) ToRedactConfigPtrOutputWithContext(ctx context.Conte }).(RedactConfigPtrOutput) } +func (o RedactConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RedactConfig] { + return pulumix.Output[RedactConfig]{ + OutputState: o.OutputState, + } +} + type RedactConfigPtrOutput struct{ *pulumi.OutputState } func (RedactConfigPtrOutput) ElementType() reflect.Type { @@ -5365,6 +6296,12 @@ func (o RedactConfigPtrOutput) ToRedactConfigPtrOutputWithContext(ctx context.Co return o } +func (o RedactConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RedactConfig] { + return pulumix.Output[*RedactConfig]{ + OutputState: o.OutputState, + } +} + func (o RedactConfigPtrOutput) Elem() RedactConfigOutput { return o.ApplyT(func(v *RedactConfig) RedactConfig { if v != nil { @@ -5394,6 +6331,12 @@ func (o RedactConfigResponseOutput) ToRedactConfigResponseOutputWithContext(ctx return o } +func (o RedactConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RedactConfigResponse] { + return pulumix.Output[RedactConfigResponse]{ + OutputState: o.OutputState, + } +} + // When using the INSPECT_AND_TRANSFORM action, each match is replaced with the name of the info_type. For example, "My name is Jane" becomes "My name is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting. type ReplaceWithInfoTypeConfig struct { } @@ -5425,6 +6368,12 @@ func (i ReplaceWithInfoTypeConfigArgs) ToReplaceWithInfoTypeConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ReplaceWithInfoTypeConfigOutput) } +func (i ReplaceWithInfoTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ReplaceWithInfoTypeConfig] { + return pulumix.Output[ReplaceWithInfoTypeConfig]{ + OutputState: i.ToReplaceWithInfoTypeConfigOutputWithContext(ctx).OutputState, + } +} + func (i ReplaceWithInfoTypeConfigArgs) ToReplaceWithInfoTypeConfigPtrOutput() ReplaceWithInfoTypeConfigPtrOutput { return i.ToReplaceWithInfoTypeConfigPtrOutputWithContext(context.Background()) } @@ -5466,6 +6415,12 @@ func (i *replaceWithInfoTypeConfigPtrType) ToReplaceWithInfoTypeConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ReplaceWithInfoTypeConfigPtrOutput) } +func (i *replaceWithInfoTypeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReplaceWithInfoTypeConfig] { + return pulumix.Output[*ReplaceWithInfoTypeConfig]{ + OutputState: i.ToReplaceWithInfoTypeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // When using the INSPECT_AND_TRANSFORM action, each match is replaced with the name of the info_type. For example, "My name is Jane" becomes "My name is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting. type ReplaceWithInfoTypeConfigOutput struct{ *pulumi.OutputState } @@ -5491,6 +6446,12 @@ func (o ReplaceWithInfoTypeConfigOutput) ToReplaceWithInfoTypeConfigPtrOutputWit }).(ReplaceWithInfoTypeConfigPtrOutput) } +func (o ReplaceWithInfoTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ReplaceWithInfoTypeConfig] { + return pulumix.Output[ReplaceWithInfoTypeConfig]{ + OutputState: o.OutputState, + } +} + type ReplaceWithInfoTypeConfigPtrOutput struct{ *pulumi.OutputState } func (ReplaceWithInfoTypeConfigPtrOutput) ElementType() reflect.Type { @@ -5505,6 +6466,12 @@ func (o ReplaceWithInfoTypeConfigPtrOutput) ToReplaceWithInfoTypeConfigPtrOutput return o } +func (o ReplaceWithInfoTypeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReplaceWithInfoTypeConfig] { + return pulumix.Output[*ReplaceWithInfoTypeConfig]{ + OutputState: o.OutputState, + } +} + func (o ReplaceWithInfoTypeConfigPtrOutput) Elem() ReplaceWithInfoTypeConfigOutput { return o.ApplyT(func(v *ReplaceWithInfoTypeConfig) ReplaceWithInfoTypeConfig { if v != nil { @@ -5534,6 +6501,12 @@ func (o ReplaceWithInfoTypeConfigResponseOutput) ToReplaceWithInfoTypeConfigResp return o } +func (o ReplaceWithInfoTypeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplaceWithInfoTypeConfigResponse] { + return pulumix.Output[ReplaceWithInfoTypeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for the FHIR BigQuery schema. Determines how the server generates the schema. type SchemaConfig struct { // The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column. @@ -5577,6 +6550,12 @@ func (i SchemaConfigArgs) ToSchemaConfigOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SchemaConfigOutput) } +func (i SchemaConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SchemaConfig] { + return pulumix.Output[SchemaConfig]{ + OutputState: i.ToSchemaConfigOutputWithContext(ctx).OutputState, + } +} + func (i SchemaConfigArgs) ToSchemaConfigPtrOutput() SchemaConfigPtrOutput { return i.ToSchemaConfigPtrOutputWithContext(context.Background()) } @@ -5618,6 +6597,12 @@ func (i *schemaConfigPtrType) ToSchemaConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SchemaConfigPtrOutput) } +func (i *schemaConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchemaConfig] { + return pulumix.Output[*SchemaConfig]{ + OutputState: i.ToSchemaConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the FHIR BigQuery schema. Determines how the server generates the schema. type SchemaConfigOutput struct{ *pulumi.OutputState } @@ -5643,6 +6628,12 @@ func (o SchemaConfigOutput) ToSchemaConfigPtrOutputWithContext(ctx context.Conte }).(SchemaConfigPtrOutput) } +func (o SchemaConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaConfig] { + return pulumix.Output[SchemaConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column. func (o SchemaConfigOutput) LastUpdatedPartitionConfig() TimePartitioningPtrOutput { return o.ApplyT(func(v SchemaConfig) *TimePartitioning { return v.LastUpdatedPartitionConfig }).(TimePartitioningPtrOutput) @@ -5672,6 +6663,12 @@ func (o SchemaConfigPtrOutput) ToSchemaConfigPtrOutputWithContext(ctx context.Co return o } +func (o SchemaConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaConfig] { + return pulumix.Output[*SchemaConfig]{ + OutputState: o.OutputState, + } +} + func (o SchemaConfigPtrOutput) Elem() SchemaConfigOutput { return o.ApplyT(func(v *SchemaConfig) SchemaConfig { if v != nil { @@ -5737,6 +6734,12 @@ func (o SchemaConfigResponseOutput) ToSchemaConfigResponseOutputWithContext(ctx return o } +func (o SchemaConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaConfigResponse] { + return pulumix.Output[SchemaConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column. func (o SchemaConfigResponseOutput) LastUpdatedPartitionConfig() TimePartitioningResponseOutput { return o.ApplyT(func(v SchemaConfigResponse) TimePartitioningResponse { return v.LastUpdatedPartitionConfig }).(TimePartitioningResponseOutput) @@ -5803,6 +6806,12 @@ func (i SchemaPackageArgs) ToSchemaPackageOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SchemaPackageOutput) } +func (i SchemaPackageArgs) ToOutput(ctx context.Context) pulumix.Output[SchemaPackage] { + return pulumix.Output[SchemaPackage]{ + OutputState: i.ToSchemaPackageOutputWithContext(ctx).OutputState, + } +} + func (i SchemaPackageArgs) ToSchemaPackagePtrOutput() SchemaPackagePtrOutput { return i.ToSchemaPackagePtrOutputWithContext(context.Background()) } @@ -5844,6 +6853,12 @@ func (i *schemaPackagePtrType) ToSchemaPackagePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SchemaPackagePtrOutput) } +func (i *schemaPackagePtrType) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackage] { + return pulumix.Output[*SchemaPackage]{ + OutputState: i.ToSchemaPackagePtrOutputWithContext(ctx).OutputState, + } +} + // A schema package contains a set of schemas and type definitions. type SchemaPackageOutput struct{ *pulumi.OutputState } @@ -5869,6 +6884,12 @@ func (o SchemaPackageOutput) ToSchemaPackagePtrOutputWithContext(ctx context.Con }).(SchemaPackagePtrOutput) } +func (o SchemaPackageOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaPackage] { + return pulumix.Output[SchemaPackage]{ + OutputState: o.OutputState, + } +} + // Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent. func (o SchemaPackageOutput) IgnoreMinOccurs() pulumi.BoolPtrOutput { return o.ApplyT(func(v SchemaPackage) *bool { return v.IgnoreMinOccurs }).(pulumi.BoolPtrOutput) @@ -5908,6 +6929,12 @@ func (o SchemaPackagePtrOutput) ToSchemaPackagePtrOutputWithContext(ctx context. return o } +func (o SchemaPackagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackage] { + return pulumix.Output[*SchemaPackage]{ + OutputState: o.OutputState, + } +} + func (o SchemaPackagePtrOutput) Elem() SchemaPackageOutput { return o.ApplyT(func(v *SchemaPackage) SchemaPackage { if v != nil { @@ -5997,6 +7024,12 @@ func (o SchemaPackageResponseOutput) ToSchemaPackageResponseOutputWithContext(ct return o } +func (o SchemaPackageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaPackageResponse] { + return pulumix.Output[SchemaPackageResponse]{ + OutputState: o.OutputState, + } +} + // Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent. func (o SchemaPackageResponseOutput) IgnoreMinOccurs() pulumi.BoolOutput { return o.ApplyT(func(v SchemaPackageResponse) bool { return v.IgnoreMinOccurs }).(pulumi.BoolOutput) @@ -6061,6 +7094,12 @@ func (i SchematizedDataArgs) ToSchematizedDataOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SchematizedDataOutput) } +func (i SchematizedDataArgs) ToOutput(ctx context.Context) pulumix.Output[SchematizedData] { + return pulumix.Output[SchematizedData]{ + OutputState: i.ToSchematizedDataOutputWithContext(ctx).OutputState, + } +} + func (i SchematizedDataArgs) ToSchematizedDataPtrOutput() SchematizedDataPtrOutput { return i.ToSchematizedDataPtrOutputWithContext(context.Background()) } @@ -6102,6 +7141,12 @@ func (i *schematizedDataPtrType) ToSchematizedDataPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(SchematizedDataPtrOutput) } +func (i *schematizedDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchematizedData] { + return pulumix.Output[*SchematizedData]{ + OutputState: i.ToSchematizedDataPtrOutputWithContext(ctx).OutputState, + } +} + // The content of an HL7v2 message in a structured format as specified by a schema. type SchematizedDataOutput struct{ *pulumi.OutputState } @@ -6127,6 +7172,12 @@ func (o SchematizedDataOutput) ToSchematizedDataPtrOutputWithContext(ctx context }).(SchematizedDataPtrOutput) } +func (o SchematizedDataOutput) ToOutput(ctx context.Context) pulumix.Output[SchematizedData] { + return pulumix.Output[SchematizedData]{ + OutputState: o.OutputState, + } +} + // JSON output of the parser. func (o SchematizedDataOutput) Data() pulumi.StringPtrOutput { return o.ApplyT(func(v SchematizedData) *string { return v.Data }).(pulumi.StringPtrOutput) @@ -6151,6 +7202,12 @@ func (o SchematizedDataPtrOutput) ToSchematizedDataPtrOutputWithContext(ctx cont return o } +func (o SchematizedDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchematizedData] { + return pulumix.Output[*SchematizedData]{ + OutputState: o.OutputState, + } +} + func (o SchematizedDataPtrOutput) Elem() SchematizedDataOutput { return o.ApplyT(func(v *SchematizedData) SchematizedData { if v != nil { @@ -6204,6 +7261,12 @@ func (o SchematizedDataResponseOutput) ToSchematizedDataResponseOutputWithContex return o } +func (o SchematizedDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchematizedDataResponse] { + return pulumix.Output[SchematizedDataResponse]{ + OutputState: o.OutputState, + } +} + // JSON output of the parser. func (o SchematizedDataResponseOutput) Data() pulumi.StringOutput { return o.ApplyT(func(v SchematizedDataResponse) string { return v.Data }).(pulumi.StringOutput) @@ -6239,6 +7302,12 @@ func (o SegmentResponseOutput) ToSegmentResponseOutputWithContext(ctx context.Co return o } +func (o SegmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SegmentResponse] { + return pulumix.Output[SegmentResponse]{ + OutputState: o.OutputState, + } +} + // A mapping from the positional location to the value. The key string uses zero-based indexes separated by dots to identify Fields, components and sub-components. A bracket notation is also used to identify different instances of a repeated field. Regex for key: (\d+)(\[\d+\])?(.\d+)?(.\d+)? Examples of (key, value) pairs: * (0.1, "hemoglobin") denotes that the first component of Field 0 has the value "hemoglobin". * (1.1.2, "CBC") denotes that the second sub-component of the first component of Field 1 has the value "CBC". * (1[0].1, "HbA1c") denotes that the first component of the first Instance of Field 1, which is repeated, has the value "HbA1c". func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput { return o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput) @@ -6268,6 +7337,12 @@ func (o SegmentResponseArrayOutput) ToSegmentResponseArrayOutputWithContext(ctx return o } +func (o SegmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SegmentResponse] { + return pulumix.Output[[]SegmentResponse]{ + OutputState: o.OutputState, + } +} + func (o SegmentResponseArrayOutput) Index(i pulumi.IntInput) SegmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SegmentResponse { return vs[0].([]SegmentResponse)[vs[1].(int)] @@ -6321,6 +7396,12 @@ func (i SignatureArgs) ToSignatureOutputWithContext(ctx context.Context) Signatu return pulumi.ToOutputWithContext(ctx, i).(SignatureOutput) } +func (i SignatureArgs) ToOutput(ctx context.Context) pulumix.Output[Signature] { + return pulumix.Output[Signature]{ + OutputState: i.ToSignatureOutputWithContext(ctx).OutputState, + } +} + func (i SignatureArgs) ToSignaturePtrOutput() SignaturePtrOutput { return i.ToSignaturePtrOutputWithContext(context.Background()) } @@ -6362,6 +7443,12 @@ func (i *signaturePtrType) ToSignaturePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SignaturePtrOutput) } +func (i *signaturePtrType) ToOutput(ctx context.Context) pulumix.Output[*Signature] { + return pulumix.Output[*Signature]{ + OutputState: i.ToSignaturePtrOutputWithContext(ctx).OutputState, + } +} + // User signature. type SignatureOutput struct{ *pulumi.OutputState } @@ -6387,6 +7474,12 @@ func (o SignatureOutput) ToSignaturePtrOutputWithContext(ctx context.Context) Si }).(SignaturePtrOutput) } +func (o SignatureOutput) ToOutput(ctx context.Context) pulumix.Output[Signature] { + return pulumix.Output[Signature]{ + OutputState: o.OutputState, + } +} + // Optional. An image of the user's signature. func (o SignatureOutput) Image() ImagePtrOutput { return o.ApplyT(func(v Signature) *Image { return v.Image }).(ImagePtrOutput) @@ -6421,6 +7514,12 @@ func (o SignaturePtrOutput) ToSignaturePtrOutputWithContext(ctx context.Context) return o } +func (o SignaturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Signature] { + return pulumix.Output[*Signature]{ + OutputState: o.OutputState, + } +} + func (o SignaturePtrOutput) Elem() SignatureOutput { return o.ApplyT(func(v *Signature) Signature { if v != nil { @@ -6498,6 +7597,12 @@ func (o SignatureResponseOutput) ToSignatureResponseOutputWithContext(ctx contex return o } +func (o SignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SignatureResponse] { + return pulumix.Output[SignatureResponse]{ + OutputState: o.OutputState, + } +} + // Optional. An image of the user's signature. func (o SignatureResponseOutput) Image() ImageResponseOutput { return o.ApplyT(func(v SignatureResponse) ImageResponse { return v.Image }).(ImageResponseOutput) @@ -6561,6 +7666,12 @@ func (i StreamConfigArgs) ToStreamConfigOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(StreamConfigOutput) } +func (i StreamConfigArgs) ToOutput(ctx context.Context) pulumix.Output[StreamConfig] { + return pulumix.Output[StreamConfig]{ + OutputState: i.ToStreamConfigOutputWithContext(ctx).OutputState, + } +} + // StreamConfigArrayInput is an input type that accepts StreamConfigArray and StreamConfigArrayOutput values. // You can construct a concrete instance of `StreamConfigArrayInput` via: // @@ -6586,6 +7697,12 @@ func (i StreamConfigArray) ToStreamConfigArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(StreamConfigArrayOutput) } +func (i StreamConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]StreamConfig] { + return pulumix.Output[[]StreamConfig]{ + OutputState: i.ToStreamConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Contains configuration for streaming FHIR export. type StreamConfigOutput struct{ *pulumi.OutputState } @@ -6601,6 +7718,12 @@ func (o StreamConfigOutput) ToStreamConfigOutputWithContext(ctx context.Context) return o } +func (o StreamConfigOutput) ToOutput(ctx context.Context) pulumix.Output[StreamConfig] { + return pulumix.Output[StreamConfig]{ + OutputState: o.OutputState, + } +} + // The destination BigQuery structure that contains both the dataset location and corresponding schema config. The output is organized in one table per resource type. The server reuses the existing tables (if any) that are named after the resource types. For example, "Patient", "Observation". When there is no existing table for a given resource type, the server attempts to create one. When a table schema doesn't align with the schema config, either because of existing incompatible schema or out of band incompatible modification, the server does not stream in new data. BigQuery imposes a 1 MB limit on streaming insert row size, therefore any resource mutation that generates more than 1 MB of BigQuery data is not streamed. One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation. Results are written to BigQuery tables according to the parameters in BigQueryDestination.WriteDisposition. Different versions of the same resource are distinguishable by the meta.versionId and meta.lastUpdated columns. The operation (CREATE/UPDATE/DELETE) that results in the new version is recorded in the meta.tag. The tables contain all historical resource versions since streaming was enabled. For query convenience, the server also creates one view per table of the same name containing only the current resource version. The streamed data in the BigQuery dataset is not guaranteed to be completely unique. The combination of the id and meta.versionId columns should ideally identify a single unique row. But in rare cases, duplicates may exist. At query time, users may use the SQL select statement to keep only one of the duplicate rows given an id and meta.versionId pair. Alternatively, the server created view mentioned above also filters out duplicates. If a resource mutation cannot be streamed to BigQuery, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). func (o StreamConfigOutput) BigqueryDestination() GoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutput { return o.ApplyT(func(v StreamConfig) *GoogleCloudHealthcareV1FhirBigQueryDestination { return v.BigqueryDestination }).(GoogleCloudHealthcareV1FhirBigQueryDestinationPtrOutput) @@ -6630,6 +7753,12 @@ func (o StreamConfigArrayOutput) ToStreamConfigArrayOutputWithContext(ctx contex return o } +func (o StreamConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StreamConfig] { + return pulumix.Output[[]StreamConfig]{ + OutputState: o.OutputState, + } +} + func (o StreamConfigArrayOutput) Index(i pulumi.IntInput) StreamConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StreamConfig { return vs[0].([]StreamConfig)[vs[1].(int)] @@ -6661,6 +7790,12 @@ func (o StreamConfigResponseOutput) ToStreamConfigResponseOutputWithContext(ctx return o } +func (o StreamConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StreamConfigResponse] { + return pulumix.Output[StreamConfigResponse]{ + OutputState: o.OutputState, + } +} + // The destination BigQuery structure that contains both the dataset location and corresponding schema config. The output is organized in one table per resource type. The server reuses the existing tables (if any) that are named after the resource types. For example, "Patient", "Observation". When there is no existing table for a given resource type, the server attempts to create one. When a table schema doesn't align with the schema config, either because of existing incompatible schema or out of band incompatible modification, the server does not stream in new data. BigQuery imposes a 1 MB limit on streaming insert row size, therefore any resource mutation that generates more than 1 MB of BigQuery data is not streamed. One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation. Results are written to BigQuery tables according to the parameters in BigQueryDestination.WriteDisposition. Different versions of the same resource are distinguishable by the meta.versionId and meta.lastUpdated columns. The operation (CREATE/UPDATE/DELETE) that results in the new version is recorded in the meta.tag. The tables contain all historical resource versions since streaming was enabled. For query convenience, the server also creates one view per table of the same name containing only the current resource version. The streamed data in the BigQuery dataset is not guaranteed to be completely unique. The combination of the id and meta.versionId columns should ideally identify a single unique row. But in rare cases, duplicates may exist. At query time, users may use the SQL select statement to keep only one of the duplicate rows given an id and meta.versionId pair. Alternatively, the server created view mentioned above also filters out duplicates. If a resource mutation cannot be streamed to BigQuery, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). func (o StreamConfigResponseOutput) BigqueryDestination() GoogleCloudHealthcareV1FhirBigQueryDestinationResponseOutput { return o.ApplyT(func(v StreamConfigResponse) GoogleCloudHealthcareV1FhirBigQueryDestinationResponse { @@ -6694,6 +7829,12 @@ func (o StreamConfigResponseArrayOutput) ToStreamConfigResponseArrayOutputWithCo return o } +func (o StreamConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StreamConfigResponse] { + return pulumix.Output[[]StreamConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o StreamConfigResponseArrayOutput) Index(i pulumi.IntInput) StreamConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StreamConfigResponse { return vs[0].([]StreamConfigResponse)[vs[1].(int)] @@ -6735,6 +7876,12 @@ func (i TagFilterListArgs) ToTagFilterListOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TagFilterListOutput) } +func (i TagFilterListArgs) ToOutput(ctx context.Context) pulumix.Output[TagFilterList] { + return pulumix.Output[TagFilterList]{ + OutputState: i.ToTagFilterListOutputWithContext(ctx).OutputState, + } +} + func (i TagFilterListArgs) ToTagFilterListPtrOutput() TagFilterListPtrOutput { return i.ToTagFilterListPtrOutputWithContext(context.Background()) } @@ -6776,6 +7923,12 @@ func (i *tagFilterListPtrType) ToTagFilterListPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(TagFilterListPtrOutput) } +func (i *tagFilterListPtrType) ToOutput(ctx context.Context) pulumix.Output[*TagFilterList] { + return pulumix.Output[*TagFilterList]{ + OutputState: i.ToTagFilterListPtrOutputWithContext(ctx).OutputState, + } +} + // List of tags to be filtered. type TagFilterListOutput struct{ *pulumi.OutputState } @@ -6801,6 +7954,12 @@ func (o TagFilterListOutput) ToTagFilterListPtrOutputWithContext(ctx context.Con }).(TagFilterListPtrOutput) } +func (o TagFilterListOutput) ToOutput(ctx context.Context) pulumix.Output[TagFilterList] { + return pulumix.Output[TagFilterList]{ + OutputState: o.OutputState, + } +} + // Tags to be filtered. Tags must be DICOM Data Elements, File Meta Elements, or Directory Structuring Elements, as defined at: http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,. They may be provided by "Keyword" or "Tag". For example "PatientID", "00100010". func (o TagFilterListOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v TagFilterList) []string { return v.Tags }).(pulumi.StringArrayOutput) @@ -6820,6 +7979,12 @@ func (o TagFilterListPtrOutput) ToTagFilterListPtrOutputWithContext(ctx context. return o } +func (o TagFilterListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TagFilterList] { + return pulumix.Output[*TagFilterList]{ + OutputState: o.OutputState, + } +} + func (o TagFilterListPtrOutput) Elem() TagFilterListOutput { return o.ApplyT(func(v *TagFilterList) TagFilterList { if v != nil { @@ -6861,6 +8026,12 @@ func (o TagFilterListResponseOutput) ToTagFilterListResponseOutputWithContext(ct return o } +func (o TagFilterListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TagFilterListResponse] { + return pulumix.Output[TagFilterListResponse]{ + OutputState: o.OutputState, + } +} + // Tags to be filtered. Tags must be DICOM Data Elements, File Meta Elements, or Directory Structuring Elements, as defined at: http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,. They may be provided by "Keyword" or "Tag". For example "PatientID", "00100010". func (o TagFilterListResponseOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v TagFilterListResponse) []string { return v.Tags }).(pulumi.StringArrayOutput) @@ -6911,6 +8082,12 @@ func (i TextConfigArgs) ToTextConfigOutputWithContext(ctx context.Context) TextC return pulumi.ToOutputWithContext(ctx, i).(TextConfigOutput) } +func (i TextConfigArgs) ToOutput(ctx context.Context) pulumix.Output[TextConfig] { + return pulumix.Output[TextConfig]{ + OutputState: i.ToTextConfigOutputWithContext(ctx).OutputState, + } +} + func (i TextConfigArgs) ToTextConfigPtrOutput() TextConfigPtrOutput { return i.ToTextConfigPtrOutputWithContext(context.Background()) } @@ -6952,6 +8129,12 @@ func (i *textConfigPtrType) ToTextConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TextConfigPtrOutput) } +func (i *textConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*TextConfig] { + return pulumix.Output[*TextConfig]{ + OutputState: i.ToTextConfigPtrOutputWithContext(ctx).OutputState, + } +} + type TextConfigOutput struct{ *pulumi.OutputState } func (TextConfigOutput) ElementType() reflect.Type { @@ -6976,6 +8159,12 @@ func (o TextConfigOutput) ToTextConfigPtrOutputWithContext(ctx context.Context) }).(TextConfigPtrOutput) } +func (o TextConfigOutput) ToOutput(ctx context.Context) pulumix.Output[TextConfig] { + return pulumix.Output[TextConfig]{ + OutputState: o.OutputState, + } +} + // Transformations to apply to the detected data, overridden by `exclude_info_types`. func (o TextConfigOutput) AdditionalTransformations() InfoTypeTransformationArrayOutput { return o.ApplyT(func(v TextConfig) []InfoTypeTransformation { return v.AdditionalTransformations }).(InfoTypeTransformationArrayOutput) @@ -7007,6 +8196,12 @@ func (o TextConfigPtrOutput) ToTextConfigPtrOutputWithContext(ctx context.Contex return o } +func (o TextConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TextConfig] { + return pulumix.Output[*TextConfig]{ + OutputState: o.OutputState, + } +} + func (o TextConfigPtrOutput) Elem() TextConfigOutput { return o.ApplyT(func(v *TextConfig) TextConfig { if v != nil { @@ -7074,6 +8269,12 @@ func (o TextConfigResponseOutput) ToTextConfigResponseOutputWithContext(ctx cont return o } +func (o TextConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TextConfigResponse] { + return pulumix.Output[TextConfigResponse]{ + OutputState: o.OutputState, + } +} + // Transformations to apply to the detected data, overridden by `exclude_info_types`. func (o TextConfigResponseOutput) AdditionalTransformations() InfoTypeTransformationResponseArrayOutput { return o.ApplyT(func(v TextConfigResponse) []InfoTypeTransformationResponse { return v.AdditionalTransformations }).(InfoTypeTransformationResponseArrayOutput) @@ -7130,6 +8331,12 @@ func (i TimePartitioningArgs) ToTimePartitioningOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TimePartitioningOutput) } +func (i TimePartitioningArgs) ToOutput(ctx context.Context) pulumix.Output[TimePartitioning] { + return pulumix.Output[TimePartitioning]{ + OutputState: i.ToTimePartitioningOutputWithContext(ctx).OutputState, + } +} + func (i TimePartitioningArgs) ToTimePartitioningPtrOutput() TimePartitioningPtrOutput { return i.ToTimePartitioningPtrOutputWithContext(context.Background()) } @@ -7171,6 +8378,12 @@ func (i *timePartitioningPtrType) ToTimePartitioningPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(TimePartitioningPtrOutput) } +func (i *timePartitioningPtrType) ToOutput(ctx context.Context) pulumix.Output[*TimePartitioning] { + return pulumix.Output[*TimePartitioning]{ + OutputState: i.ToTimePartitioningPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for FHIR BigQuery time-partitioned tables. type TimePartitioningOutput struct{ *pulumi.OutputState } @@ -7196,6 +8409,12 @@ func (o TimePartitioningOutput) ToTimePartitioningPtrOutputWithContext(ctx conte }).(TimePartitioningPtrOutput) } +func (o TimePartitioningOutput) ToOutput(ctx context.Context) pulumix.Output[TimePartitioning] { + return pulumix.Output[TimePartitioning]{ + OutputState: o.OutputState, + } +} + // Number of milliseconds for which to keep the storage for a partition. func (o TimePartitioningOutput) ExpirationMs() pulumi.StringPtrOutput { return o.ApplyT(func(v TimePartitioning) *string { return v.ExpirationMs }).(pulumi.StringPtrOutput) @@ -7220,6 +8439,12 @@ func (o TimePartitioningPtrOutput) ToTimePartitioningPtrOutputWithContext(ctx co return o } +func (o TimePartitioningPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimePartitioning] { + return pulumix.Output[*TimePartitioning]{ + OutputState: o.OutputState, + } +} + func (o TimePartitioningPtrOutput) Elem() TimePartitioningOutput { return o.ApplyT(func(v *TimePartitioning) TimePartitioning { if v != nil { @@ -7273,6 +8498,12 @@ func (o TimePartitioningResponseOutput) ToTimePartitioningResponseOutputWithCont return o } +func (o TimePartitioningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimePartitioningResponse] { + return pulumix.Output[TimePartitioningResponse]{ + OutputState: o.OutputState, + } +} + // Number of milliseconds for which to keep the storage for a partition. func (o TimePartitioningResponseOutput) ExpirationMs() pulumi.StringOutput { return o.ApplyT(func(v TimePartitioningResponse) string { return v.ExpirationMs }).(pulumi.StringOutput) @@ -7326,6 +8557,12 @@ func (i TypeArgs) ToTypeOutputWithContext(ctx context.Context) TypeOutput { return pulumi.ToOutputWithContext(ctx, i).(TypeOutput) } +func (i TypeArgs) ToOutput(ctx context.Context) pulumix.Output[Type] { + return pulumix.Output[Type]{ + OutputState: i.ToTypeOutputWithContext(ctx).OutputState, + } +} + // TypeArrayInput is an input type that accepts TypeArray and TypeArrayOutput values. // You can construct a concrete instance of `TypeArrayInput` via: // @@ -7351,6 +8588,12 @@ func (i TypeArray) ToTypeArrayOutputWithContext(ctx context.Context) TypeArrayOu return pulumi.ToOutputWithContext(ctx, i).(TypeArrayOutput) } +func (i TypeArray) ToOutput(ctx context.Context) pulumix.Output[[]Type] { + return pulumix.Output[[]Type]{ + OutputState: i.ToTypeArrayOutputWithContext(ctx).OutputState, + } +} + // A type definition for some HL7v2 type (incl. Segments and Datatypes). type TypeOutput struct{ *pulumi.OutputState } @@ -7366,6 +8609,12 @@ func (o TypeOutput) ToTypeOutputWithContext(ctx context.Context) TypeOutput { return o } +func (o TypeOutput) ToOutput(ctx context.Context) pulumix.Output[Type] { + return pulumix.Output[Type]{ + OutputState: o.OutputState, + } +} + // The (sub) fields this type has (if not primitive). func (o TypeOutput) Fields() FieldArrayOutput { return o.ApplyT(func(v Type) []Field { return v.Fields }).(FieldArrayOutput) @@ -7395,6 +8644,12 @@ func (o TypeArrayOutput) ToTypeArrayOutputWithContext(ctx context.Context) TypeA return o } +func (o TypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Type] { + return pulumix.Output[[]Type]{ + OutputState: o.OutputState, + } +} + func (o TypeArrayOutput) Index(i pulumi.IntInput) TypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Type { return vs[0].([]Type)[vs[1].(int)] @@ -7426,6 +8681,12 @@ func (o TypeResponseOutput) ToTypeResponseOutputWithContext(ctx context.Context) return o } +func (o TypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TypeResponse] { + return pulumix.Output[TypeResponse]{ + OutputState: o.OutputState, + } +} + // The (sub) fields this type has (if not primitive). func (o TypeResponseOutput) Fields() FieldResponseArrayOutput { return o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput) @@ -7455,6 +8716,12 @@ func (o TypeResponseArrayOutput) ToTypeResponseArrayOutputWithContext(ctx contex return o } +func (o TypeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TypeResponse] { + return pulumix.Output[[]TypeResponse]{ + OutputState: o.OutputState, + } +} + func (o TypeResponseArrayOutput) Index(i pulumi.IntInput) TypeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TypeResponse { return vs[0].([]TypeResponse)[vs[1].(int)] @@ -7512,6 +8779,12 @@ func (i ValidationConfigArgs) ToValidationConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ValidationConfigOutput) } +func (i ValidationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ValidationConfig] { + return pulumix.Output[ValidationConfig]{ + OutputState: i.ToValidationConfigOutputWithContext(ctx).OutputState, + } +} + func (i ValidationConfigArgs) ToValidationConfigPtrOutput() ValidationConfigPtrOutput { return i.ToValidationConfigPtrOutputWithContext(context.Background()) } @@ -7553,6 +8826,12 @@ func (i *validationConfigPtrType) ToValidationConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ValidationConfigPtrOutput) } +func (i *validationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ValidationConfig] { + return pulumix.Output[*ValidationConfig]{ + OutputState: i.ToValidationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Contains the configuration for FHIR profiles and validation. type ValidationConfigOutput struct{ *pulumi.OutputState } @@ -7578,6 +8857,12 @@ func (o ValidationConfigOutput) ToValidationConfigPtrOutputWithContext(ctx conte }).(ValidationConfigPtrOutput) } +func (o ValidationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationConfig] { + return pulumix.Output[ValidationConfig]{ + OutputState: o.OutputState, + } +} + // Whether to disable FHIRPath validation for incoming resources. Set this to true to disable checking incoming resources for conformance against FHIRPath requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced. func (o ValidationConfigOutput) DisableFhirpathValidation() pulumi.BoolPtrOutput { return o.ApplyT(func(v ValidationConfig) *bool { return v.DisableFhirpathValidation }).(pulumi.BoolPtrOutput) @@ -7617,6 +8902,12 @@ func (o ValidationConfigPtrOutput) ToValidationConfigPtrOutputWithContext(ctx co return o } +func (o ValidationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidationConfig] { + return pulumix.Output[*ValidationConfig]{ + OutputState: o.OutputState, + } +} + func (o ValidationConfigPtrOutput) Elem() ValidationConfigOutput { return o.ApplyT(func(v *ValidationConfig) ValidationConfig { if v != nil { @@ -7706,6 +8997,12 @@ func (o ValidationConfigResponseOutput) ToValidationConfigResponseOutputWithCont return o } +func (o ValidationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationConfigResponse] { + return pulumix.Output[ValidationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to disable FHIRPath validation for incoming resources. Set this to true to disable checking incoming resources for conformance against FHIRPath requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced. func (o ValidationConfigResponseOutput) DisableFhirpathValidation() pulumi.BoolOutput { return o.ApplyT(func(v ValidationConfigResponse) bool { return v.DisableFhirpathValidation }).(pulumi.BoolOutput) @@ -7770,6 +9067,12 @@ func (i VersionSourceArgs) ToVersionSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(VersionSourceOutput) } +func (i VersionSourceArgs) ToOutput(ctx context.Context) pulumix.Output[VersionSource] { + return pulumix.Output[VersionSource]{ + OutputState: i.ToVersionSourceOutputWithContext(ctx).OutputState, + } +} + // VersionSourceArrayInput is an input type that accepts VersionSourceArray and VersionSourceArrayOutput values. // You can construct a concrete instance of `VersionSourceArrayInput` via: // @@ -7795,6 +9098,12 @@ func (i VersionSourceArray) ToVersionSourceArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(VersionSourceArrayOutput) } +func (i VersionSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]VersionSource] { + return pulumix.Output[[]VersionSource]{ + OutputState: i.ToVersionSourceArrayOutputWithContext(ctx).OutputState, + } +} + // Describes a selector for extracting and matching an MSH field to a value. type VersionSourceOutput struct{ *pulumi.OutputState } @@ -7810,6 +9119,12 @@ func (o VersionSourceOutput) ToVersionSourceOutputWithContext(ctx context.Contex return o } +func (o VersionSourceOutput) ToOutput(ctx context.Context) pulumix.Output[VersionSource] { + return pulumix.Output[VersionSource]{ + OutputState: o.OutputState, + } +} + // The field to extract from the MSH segment. For example, "3.1" or "18[1].1". func (o VersionSourceOutput) MshField() pulumi.StringPtrOutput { return o.ApplyT(func(v VersionSource) *string { return v.MshField }).(pulumi.StringPtrOutput) @@ -7834,6 +9149,12 @@ func (o VersionSourceArrayOutput) ToVersionSourceArrayOutputWithContext(ctx cont return o } +func (o VersionSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VersionSource] { + return pulumix.Output[[]VersionSource]{ + OutputState: o.OutputState, + } +} + func (o VersionSourceArrayOutput) Index(i pulumi.IntInput) VersionSourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VersionSource { return vs[0].([]VersionSource)[vs[1].(int)] @@ -7863,6 +9184,12 @@ func (o VersionSourceResponseOutput) ToVersionSourceResponseOutputWithContext(ct return o } +func (o VersionSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VersionSourceResponse] { + return pulumix.Output[VersionSourceResponse]{ + OutputState: o.OutputState, + } +} + // The field to extract from the MSH segment. For example, "3.1" or "18[1].1". func (o VersionSourceResponseOutput) MshField() pulumi.StringOutput { return o.ApplyT(func(v VersionSourceResponse) string { return v.MshField }).(pulumi.StringOutput) @@ -7887,6 +9214,12 @@ func (o VersionSourceResponseArrayOutput) ToVersionSourceResponseArrayOutputWith return o } +func (o VersionSourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VersionSourceResponse] { + return pulumix.Output[[]VersionSourceResponse]{ + OutputState: o.OutputState, + } +} + func (o VersionSourceResponseArrayOutput) Index(i pulumi.IntInput) VersionSourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VersionSourceResponse { return vs[0].([]VersionSourceResponse)[vs[1].(int)] diff --git a/sdk/go/google/healthcare/v1/userDataMapping.go b/sdk/go/google/healthcare/v1/userDataMapping.go index 1b90eddb1d..17ebff28ee 100644 --- a/sdk/go/google/healthcare/v1/userDataMapping.go +++ b/sdk/go/google/healthcare/v1/userDataMapping.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new User data mapping in the parent consent store. @@ -146,6 +147,12 @@ func (i *UserDataMapping) ToUserDataMappingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(UserDataMappingOutput) } +func (i *UserDataMapping) ToOutput(ctx context.Context) pulumix.Output[*UserDataMapping] { + return pulumix.Output[*UserDataMapping]{ + OutputState: i.ToUserDataMappingOutputWithContext(ctx).OutputState, + } +} + type UserDataMappingOutput struct{ *pulumi.OutputState } func (UserDataMappingOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o UserDataMappingOutput) ToUserDataMappingOutputWithContext(ctx context.Co return o } +func (o UserDataMappingOutput) ToOutput(ctx context.Context) pulumix.Output[*UserDataMapping] { + return pulumix.Output[*UserDataMapping]{ + OutputState: o.OutputState, + } +} + // Indicates the time when this mapping was archived. func (o UserDataMappingOutput) ArchiveTime() pulumi.StringOutput { return o.ApplyT(func(v *UserDataMapping) pulumi.StringOutput { return v.ArchiveTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/annotation.go b/sdk/go/google/healthcare/v1beta1/annotation.go index d922498d9c..ef4ed56481 100644 --- a/sdk/go/google/healthcare/v1beta1/annotation.go +++ b/sdk/go/google/healthcare/v1beta1/annotation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Annotation record. It is valid to create Annotation objects for the same source more than once since a unique ID is assigned to each record by this service. @@ -148,6 +149,12 @@ func (i *Annotation) ToAnnotationOutputWithContext(ctx context.Context) Annotati return pulumi.ToOutputWithContext(ctx, i).(AnnotationOutput) } +func (i *Annotation) ToOutput(ctx context.Context) pulumix.Output[*Annotation] { + return pulumix.Output[*Annotation]{ + OutputState: i.ToAnnotationOutputWithContext(ctx).OutputState, + } +} + type AnnotationOutput struct{ *pulumi.OutputState } func (AnnotationOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o AnnotationOutput) ToAnnotationOutputWithContext(ctx context.Context) Ann return o } +func (o AnnotationOutput) ToOutput(ctx context.Context) pulumix.Output[*Annotation] { + return pulumix.Output[*Annotation]{ + OutputState: o.OutputState, + } +} + // Details of the source. func (o AnnotationOutput) AnnotationSource() AnnotationSourceResponseOutput { return o.ApplyT(func(v *Annotation) AnnotationSourceResponseOutput { return v.AnnotationSource }).(AnnotationSourceResponseOutput) diff --git a/sdk/go/google/healthcare/v1beta1/annotationStore.go b/sdk/go/google/healthcare/v1beta1/annotationStore.go index 6d905fc24f..c16c1288e4 100644 --- a/sdk/go/google/healthcare/v1beta1/annotationStore.go +++ b/sdk/go/google/healthcare/v1beta1/annotationStore.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Annotation store within the parent dataset. @@ -123,6 +124,12 @@ func (i *AnnotationStore) ToAnnotationStoreOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AnnotationStoreOutput) } +func (i *AnnotationStore) ToOutput(ctx context.Context) pulumix.Output[*AnnotationStore] { + return pulumix.Output[*AnnotationStore]{ + OutputState: i.ToAnnotationStoreOutputWithContext(ctx).OutputState, + } +} + type AnnotationStoreOutput struct{ *pulumi.OutputState } func (AnnotationStoreOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o AnnotationStoreOutput) ToAnnotationStoreOutputWithContext(ctx context.Co return o } +func (o AnnotationStoreOutput) ToOutput(ctx context.Context) pulumix.Output[*AnnotationStore] { + return pulumix.Output[*AnnotationStore]{ + OutputState: o.OutputState, + } +} + // The ID of the Annotation store that is being created. The string must match the following regex: `[\p{L}\p{N}_\-\.]{1,256}`. func (o AnnotationStoreOutput) AnnotationStoreId() pulumi.StringPtrOutput { return o.ApplyT(func(v *AnnotationStore) pulumi.StringPtrOutput { return v.AnnotationStoreId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/attributeDefinition.go b/sdk/go/google/healthcare/v1beta1/attributeDefinition.go index 7845f389cb..5aeac89bb0 100644 --- a/sdk/go/google/healthcare/v1beta1/attributeDefinition.go +++ b/sdk/go/google/healthcare/v1beta1/attributeDefinition.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Attribute definition in the parent consent store. @@ -164,6 +165,12 @@ func (i *AttributeDefinition) ToAttributeDefinitionOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AttributeDefinitionOutput) } +func (i *AttributeDefinition) ToOutput(ctx context.Context) pulumix.Output[*AttributeDefinition] { + return pulumix.Output[*AttributeDefinition]{ + OutputState: i.ToAttributeDefinitionOutputWithContext(ctx).OutputState, + } +} + type AttributeDefinitionOutput struct{ *pulumi.OutputState } func (AttributeDefinitionOutput) ElementType() reflect.Type { @@ -178,6 +185,12 @@ func (o AttributeDefinitionOutput) ToAttributeDefinitionOutputWithContext(ctx co return o } +func (o AttributeDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[*AttributeDefinition] { + return pulumix.Output[*AttributeDefinition]{ + OutputState: o.OutputState, + } +} + // Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation. func (o AttributeDefinitionOutput) AllowedValues() pulumi.StringArrayOutput { return o.ApplyT(func(v *AttributeDefinition) pulumi.StringArrayOutput { return v.AllowedValues }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/consent.go b/sdk/go/google/healthcare/v1beta1/consent.go index 92dada1729..97009ee00c 100644 --- a/sdk/go/google/healthcare/v1beta1/consent.go +++ b/sdk/go/google/healthcare/v1beta1/consent.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Consent in the parent consent store. @@ -173,6 +174,12 @@ func (i *Consent) ToConsentOutputWithContext(ctx context.Context) ConsentOutput return pulumi.ToOutputWithContext(ctx, i).(ConsentOutput) } +func (i *Consent) ToOutput(ctx context.Context) pulumix.Output[*Consent] { + return pulumix.Output[*Consent]{ + OutputState: i.ToConsentOutputWithContext(ctx).OutputState, + } +} + type ConsentOutput struct{ *pulumi.OutputState } func (ConsentOutput) ElementType() reflect.Type { @@ -187,6 +194,12 @@ func (o ConsentOutput) ToConsentOutputWithContext(ctx context.Context) ConsentOu return o } +func (o ConsentOutput) ToOutput(ctx context.Context) pulumix.Output[*Consent] { + return pulumix.Output[*Consent]{ + OutputState: o.OutputState, + } +} + // The resource name of the Consent artifact that contains proof of the end user's consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. func (o ConsentOutput) ConsentArtifact() pulumi.StringOutput { return o.ApplyT(func(v *Consent) pulumi.StringOutput { return v.ConsentArtifact }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/consentArtifact.go b/sdk/go/google/healthcare/v1beta1/consentArtifact.go index a1d7f38c70..5dda57b709 100644 --- a/sdk/go/google/healthcare/v1beta1/consentArtifact.go +++ b/sdk/go/google/healthcare/v1beta1/consentArtifact.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Consent artifact in the parent consent store. @@ -163,6 +164,12 @@ func (i *ConsentArtifact) ToConsentArtifactOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ConsentArtifactOutput) } +func (i *ConsentArtifact) ToOutput(ctx context.Context) pulumix.Output[*ConsentArtifact] { + return pulumix.Output[*ConsentArtifact]{ + OutputState: i.ToConsentArtifactOutputWithContext(ctx).OutputState, + } +} + type ConsentArtifactOutput struct{ *pulumi.OutputState } func (ConsentArtifactOutput) ElementType() reflect.Type { @@ -177,6 +184,12 @@ func (o ConsentArtifactOutput) ToConsentArtifactOutputWithContext(ctx context.Co return o } +func (o ConsentArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsentArtifact] { + return pulumix.Output[*ConsentArtifact]{ + OutputState: o.OutputState, + } +} + // Optional. Screenshots, PDFs, or other binary information documenting the user's consent. func (o ConsentArtifactOutput) ConsentContentScreenshots() ImageResponseArrayOutput { return o.ApplyT(func(v *ConsentArtifact) ImageResponseArrayOutput { return v.ConsentContentScreenshots }).(ImageResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/consentStore.go b/sdk/go/google/healthcare/v1beta1/consentStore.go index d1332eed6b..d075b3a2a5 100644 --- a/sdk/go/google/healthcare/v1beta1/consentStore.go +++ b/sdk/go/google/healthcare/v1beta1/consentStore.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new consent store in the parent dataset. Attempting to create a consent store with the same ID as an existing store fails with an ALREADY_EXISTS error. @@ -139,6 +140,12 @@ func (i *ConsentStore) ToConsentStoreOutputWithContext(ctx context.Context) Cons return pulumi.ToOutputWithContext(ctx, i).(ConsentStoreOutput) } +func (i *ConsentStore) ToOutput(ctx context.Context) pulumix.Output[*ConsentStore] { + return pulumix.Output[*ConsentStore]{ + OutputState: i.ToConsentStoreOutputWithContext(ctx).OutputState, + } +} + type ConsentStoreOutput struct{ *pulumi.OutputState } func (ConsentStoreOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o ConsentStoreOutput) ToConsentStoreOutputWithContext(ctx context.Context) return o } +func (o ConsentStoreOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsentStore] { + return pulumix.Output[*ConsentStore]{ + OutputState: o.OutputState, + } +} + // Required. The ID of the consent store to create. The string must match the following regex: `[\p{L}\p{N}_\-\.]{1,256}`. Cannot be changed after creation. func (o ConsentStoreOutput) ConsentStoreId() pulumi.StringOutput { return o.ApplyT(func(v *ConsentStore) pulumi.StringOutput { return v.ConsentStoreId }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/dataset.go b/sdk/go/google/healthcare/v1beta1/dataset.go index ea2e9bacd9..05859be90c 100644 --- a/sdk/go/google/healthcare/v1beta1/dataset.go +++ b/sdk/go/google/healthcare/v1beta1/dataset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new health dataset. Results are returned through the Operation interface which returns either an `Operation.response` which contains a Dataset or `Operation.error`. The metadata field type is OperationMetadata. @@ -115,6 +116,12 @@ func (i *Dataset) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput return pulumi.ToOutputWithContext(ctx, i).(DatasetOutput) } +func (i *Dataset) ToOutput(ctx context.Context) pulumix.Output[*Dataset] { + return pulumix.Output[*Dataset]{ + OutputState: i.ToDatasetOutputWithContext(ctx).OutputState, + } +} + type DatasetOutput struct{ *pulumi.OutputState } func (DatasetOutput) ElementType() reflect.Type { @@ -129,6 +136,12 @@ func (o DatasetOutput) ToDatasetOutputWithContext(ctx context.Context) DatasetOu return o } +func (o DatasetOutput) ToOutput(ctx context.Context) pulumix.Output[*Dataset] { + return pulumix.Output[*Dataset]{ + OutputState: o.OutputState, + } +} + // The ID of the dataset that is being created. The string must match the following regex: `[\p{L}\p{N}_\-\.]{1,256}`. func (o DatasetOutput) DatasetId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Dataset) pulumi.StringPtrOutput { return v.DatasetId }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamBinding.go b/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamBinding.go index 6e953edcb1..300e4d454b 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamBinding.go +++ b/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetAnnotationStoreIamBinding) ToDatasetAnnotationStoreIamBindingOut return pulumi.ToOutputWithContext(ctx, i).(DatasetAnnotationStoreIamBindingOutput) } +func (i *DatasetAnnotationStoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetAnnotationStoreIamBinding] { + return pulumix.Output[*DatasetAnnotationStoreIamBinding]{ + OutputState: i.ToDatasetAnnotationStoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetAnnotationStoreIamBindingOutput struct{ *pulumi.OutputState } func (DatasetAnnotationStoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetAnnotationStoreIamBindingOutput) ToDatasetAnnotationStoreIamBindi return o } +func (o DatasetAnnotationStoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetAnnotationStoreIamBinding] { + return pulumix.Output[*DatasetAnnotationStoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetAnnotationStoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetAnnotationStoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamMember.go b/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamMember.go index d61ffc44e0..9b56d067e6 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamMember.go +++ b/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetAnnotationStoreIamMember) ToDatasetAnnotationStoreIamMemberOutpu return pulumi.ToOutputWithContext(ctx, i).(DatasetAnnotationStoreIamMemberOutput) } +func (i *DatasetAnnotationStoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetAnnotationStoreIamMember] { + return pulumix.Output[*DatasetAnnotationStoreIamMember]{ + OutputState: i.ToDatasetAnnotationStoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetAnnotationStoreIamMemberOutput struct{ *pulumi.OutputState } func (DatasetAnnotationStoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetAnnotationStoreIamMemberOutput) ToDatasetAnnotationStoreIamMember return o } +func (o DatasetAnnotationStoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetAnnotationStoreIamMember] { + return pulumix.Output[*DatasetAnnotationStoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetAnnotationStoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetAnnotationStoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamPolicy.go b/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamPolicy.go index 6b4e00931e..ffcc62b39e 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/datasetAnnotationStoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *DatasetAnnotationStoreIamPolicy) ToDatasetAnnotationStoreIamPolicyOutpu return pulumi.ToOutputWithContext(ctx, i).(DatasetAnnotationStoreIamPolicyOutput) } +func (i *DatasetAnnotationStoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetAnnotationStoreIamPolicy] { + return pulumix.Output[*DatasetAnnotationStoreIamPolicy]{ + OutputState: i.ToDatasetAnnotationStoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetAnnotationStoreIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetAnnotationStoreIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DatasetAnnotationStoreIamPolicyOutput) ToDatasetAnnotationStoreIamPolicy return o } +func (o DatasetAnnotationStoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetAnnotationStoreIamPolicy] { + return pulumix.Output[*DatasetAnnotationStoreIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o DatasetAnnotationStoreIamPolicyOutput) AnnotationStoreId() pulumi.StringOutput { return o.ApplyT(func(v *DatasetAnnotationStoreIamPolicy) pulumi.StringOutput { return v.AnnotationStoreId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamBinding.go b/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamBinding.go index 4a82dd37e8..234f4629fa 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamBinding.go +++ b/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetConsentStoreIamBinding) ToDatasetConsentStoreIamBindingOutputWit return pulumi.ToOutputWithContext(ctx, i).(DatasetConsentStoreIamBindingOutput) } +func (i *DatasetConsentStoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamBinding] { + return pulumix.Output[*DatasetConsentStoreIamBinding]{ + OutputState: i.ToDatasetConsentStoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetConsentStoreIamBindingOutput struct{ *pulumi.OutputState } func (DatasetConsentStoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetConsentStoreIamBindingOutput) ToDatasetConsentStoreIamBindingOutp return o } +func (o DatasetConsentStoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamBinding] { + return pulumix.Output[*DatasetConsentStoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetConsentStoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetConsentStoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamMember.go b/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamMember.go index 407e979fb5..6f96e9f231 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamMember.go +++ b/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetConsentStoreIamMember) ToDatasetConsentStoreIamMemberOutputWithC return pulumi.ToOutputWithContext(ctx, i).(DatasetConsentStoreIamMemberOutput) } +func (i *DatasetConsentStoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamMember] { + return pulumix.Output[*DatasetConsentStoreIamMember]{ + OutputState: i.ToDatasetConsentStoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetConsentStoreIamMemberOutput struct{ *pulumi.OutputState } func (DatasetConsentStoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetConsentStoreIamMemberOutput) ToDatasetConsentStoreIamMemberOutput return o } +func (o DatasetConsentStoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamMember] { + return pulumix.Output[*DatasetConsentStoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetConsentStoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetConsentStoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamPolicy.go b/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamPolicy.go index df0b3ab821..afd567ed0d 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/datasetConsentStoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *DatasetConsentStoreIamPolicy) ToDatasetConsentStoreIamPolicyOutputWithC return pulumi.ToOutputWithContext(ctx, i).(DatasetConsentStoreIamPolicyOutput) } +func (i *DatasetConsentStoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamPolicy] { + return pulumix.Output[*DatasetConsentStoreIamPolicy]{ + OutputState: i.ToDatasetConsentStoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetConsentStoreIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetConsentStoreIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DatasetConsentStoreIamPolicyOutput) ToDatasetConsentStoreIamPolicyOutput return o } +func (o DatasetConsentStoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetConsentStoreIamPolicy] { + return pulumix.Output[*DatasetConsentStoreIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DatasetConsentStoreIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DatasetConsentStoreIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamBinding.go b/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamBinding.go index 1bf1d406de..d47d663877 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamBinding.go +++ b/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetDicomStoreIamBinding) ToDatasetDicomStoreIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(DatasetDicomStoreIamBindingOutput) } +func (i *DatasetDicomStoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamBinding] { + return pulumix.Output[*DatasetDicomStoreIamBinding]{ + OutputState: i.ToDatasetDicomStoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetDicomStoreIamBindingOutput struct{ *pulumi.OutputState } func (DatasetDicomStoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetDicomStoreIamBindingOutput) ToDatasetDicomStoreIamBindingOutputWi return o } +func (o DatasetDicomStoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamBinding] { + return pulumix.Output[*DatasetDicomStoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetDicomStoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetDicomStoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamMember.go b/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamMember.go index 30b6d7b694..587ce07601 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamMember.go +++ b/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetDicomStoreIamMember) ToDatasetDicomStoreIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DatasetDicomStoreIamMemberOutput) } +func (i *DatasetDicomStoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamMember] { + return pulumix.Output[*DatasetDicomStoreIamMember]{ + OutputState: i.ToDatasetDicomStoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetDicomStoreIamMemberOutput struct{ *pulumi.OutputState } func (DatasetDicomStoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetDicomStoreIamMemberOutput) ToDatasetDicomStoreIamMemberOutputWith return o } +func (o DatasetDicomStoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamMember] { + return pulumix.Output[*DatasetDicomStoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetDicomStoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetDicomStoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamPolicy.go b/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamPolicy.go index 1a5a7dd04f..1803492b32 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/datasetDicomStoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *DatasetDicomStoreIamPolicy) ToDatasetDicomStoreIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DatasetDicomStoreIamPolicyOutput) } +func (i *DatasetDicomStoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamPolicy] { + return pulumix.Output[*DatasetDicomStoreIamPolicy]{ + OutputState: i.ToDatasetDicomStoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetDicomStoreIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetDicomStoreIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DatasetDicomStoreIamPolicyOutput) ToDatasetDicomStoreIamPolicyOutputWith return o } +func (o DatasetDicomStoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetDicomStoreIamPolicy] { + return pulumix.Output[*DatasetDicomStoreIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DatasetDicomStoreIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DatasetDicomStoreIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamBinding.go b/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamBinding.go index c2ceee10bd..2c03fc9484 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamBinding.go +++ b/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetFhirStoreIamBinding) ToDatasetFhirStoreIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DatasetFhirStoreIamBindingOutput) } +func (i *DatasetFhirStoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamBinding] { + return pulumix.Output[*DatasetFhirStoreIamBinding]{ + OutputState: i.ToDatasetFhirStoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetFhirStoreIamBindingOutput struct{ *pulumi.OutputState } func (DatasetFhirStoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetFhirStoreIamBindingOutput) ToDatasetFhirStoreIamBindingOutputWith return o } +func (o DatasetFhirStoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamBinding] { + return pulumix.Output[*DatasetFhirStoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetFhirStoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetFhirStoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamMember.go b/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamMember.go index d4e40da09c..6a1e1738c9 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamMember.go +++ b/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetFhirStoreIamMember) ToDatasetFhirStoreIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DatasetFhirStoreIamMemberOutput) } +func (i *DatasetFhirStoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamMember] { + return pulumix.Output[*DatasetFhirStoreIamMember]{ + OutputState: i.ToDatasetFhirStoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetFhirStoreIamMemberOutput struct{ *pulumi.OutputState } func (DatasetFhirStoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetFhirStoreIamMemberOutput) ToDatasetFhirStoreIamMemberOutputWithCo return o } +func (o DatasetFhirStoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamMember] { + return pulumix.Output[*DatasetFhirStoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetFhirStoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetFhirStoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamPolicy.go b/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamPolicy.go index 773fbf4dc0..7914371598 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/datasetFhirStoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *DatasetFhirStoreIamPolicy) ToDatasetFhirStoreIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DatasetFhirStoreIamPolicyOutput) } +func (i *DatasetFhirStoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamPolicy] { + return pulumix.Output[*DatasetFhirStoreIamPolicy]{ + OutputState: i.ToDatasetFhirStoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetFhirStoreIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetFhirStoreIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DatasetFhirStoreIamPolicyOutput) ToDatasetFhirStoreIamPolicyOutputWithCo return o } +func (o DatasetFhirStoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetFhirStoreIamPolicy] { + return pulumix.Output[*DatasetFhirStoreIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DatasetFhirStoreIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DatasetFhirStoreIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamBinding.go b/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamBinding.go index 8de8c40a8c..0a8aec1664 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamBinding.go +++ b/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetHl7V2StoreIamBinding) ToDatasetHl7V2StoreIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(DatasetHl7V2StoreIamBindingOutput) } +func (i *DatasetHl7V2StoreIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamBinding] { + return pulumix.Output[*DatasetHl7V2StoreIamBinding]{ + OutputState: i.ToDatasetHl7V2StoreIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetHl7V2StoreIamBindingOutput struct{ *pulumi.OutputState } func (DatasetHl7V2StoreIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetHl7V2StoreIamBindingOutput) ToDatasetHl7V2StoreIamBindingOutputWi return o } +func (o DatasetHl7V2StoreIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamBinding] { + return pulumix.Output[*DatasetHl7V2StoreIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetHl7V2StoreIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetHl7V2StoreIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamMember.go b/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamMember.go index d7220ec796..effe3a968b 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamMember.go +++ b/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetHl7V2StoreIamMember) ToDatasetHl7V2StoreIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DatasetHl7V2StoreIamMemberOutput) } +func (i *DatasetHl7V2StoreIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamMember] { + return pulumix.Output[*DatasetHl7V2StoreIamMember]{ + OutputState: i.ToDatasetHl7V2StoreIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetHl7V2StoreIamMemberOutput struct{ *pulumi.OutputState } func (DatasetHl7V2StoreIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetHl7V2StoreIamMemberOutput) ToDatasetHl7V2StoreIamMemberOutputWith return o } +func (o DatasetHl7V2StoreIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamMember] { + return pulumix.Output[*DatasetHl7V2StoreIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetHl7V2StoreIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetHl7V2StoreIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamPolicy.go b/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamPolicy.go index dc1813afb9..97dd1e42ec 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/datasetHl7V2StoreIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *DatasetHl7V2StoreIamPolicy) ToDatasetHl7V2StoreIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DatasetHl7V2StoreIamPolicyOutput) } +func (i *DatasetHl7V2StoreIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamPolicy] { + return pulumix.Output[*DatasetHl7V2StoreIamPolicy]{ + OutputState: i.ToDatasetHl7V2StoreIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetHl7V2StoreIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetHl7V2StoreIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o DatasetHl7V2StoreIamPolicyOutput) ToDatasetHl7V2StoreIamPolicyOutputWith return o } +func (o DatasetHl7V2StoreIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetHl7V2StoreIamPolicy] { + return pulumix.Output[*DatasetHl7V2StoreIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DatasetHl7V2StoreIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DatasetHl7V2StoreIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetIamBinding.go b/sdk/go/google/healthcare/v1beta1/datasetIamBinding.go index 78e9026b2a..506874a098 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetIamBinding.go +++ b/sdk/go/google/healthcare/v1beta1/datasetIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetIamBinding) ToDatasetIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DatasetIamBindingOutput) } +func (i *DatasetIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamBinding] { + return pulumix.Output[*DatasetIamBinding]{ + OutputState: i.ToDatasetIamBindingOutputWithContext(ctx).OutputState, + } +} + type DatasetIamBindingOutput struct{ *pulumi.OutputState } func (DatasetIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetIamBindingOutput) ToDatasetIamBindingOutputWithContext(ctx contex return o } +func (o DatasetIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamBinding] { + return pulumix.Output[*DatasetIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetIamMember.go b/sdk/go/google/healthcare/v1beta1/datasetIamMember.go index 4f8388be15..24995126ba 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetIamMember.go +++ b/sdk/go/google/healthcare/v1beta1/datasetIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetIamMember) ToDatasetIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DatasetIamMemberOutput) } +func (i *DatasetIamMember) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamMember] { + return pulumix.Output[*DatasetIamMember]{ + OutputState: i.ToDatasetIamMemberOutputWithContext(ctx).OutputState, + } +} + type DatasetIamMemberOutput struct{ *pulumi.OutputState } func (DatasetIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetIamMemberOutput) ToDatasetIamMemberOutputWithContext(ctx context. return o } +func (o DatasetIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamMember] { + return pulumix.Output[*DatasetIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DatasetIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DatasetIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/healthcare/v1beta1/datasetIamPolicy.go b/sdk/go/google/healthcare/v1beta1/datasetIamPolicy.go index 463da3bd62..d93475b0a0 100644 --- a/sdk/go/google/healthcare/v1beta1/datasetIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/datasetIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DatasetIamPolicy) ToDatasetIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DatasetIamPolicyOutput) } +func (i *DatasetIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamPolicy] { + return pulumix.Output[*DatasetIamPolicy]{ + OutputState: i.ToDatasetIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DatasetIamPolicyOutput struct{ *pulumi.OutputState } func (DatasetIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DatasetIamPolicyOutput) ToDatasetIamPolicyOutputWithContext(ctx context. return o } +func (o DatasetIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DatasetIamPolicy] { + return pulumix.Output[*DatasetIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o DatasetIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *DatasetIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/dicomStore.go b/sdk/go/google/healthcare/v1beta1/dicomStore.go index 02199a17f2..4c109c4b04 100644 --- a/sdk/go/google/healthcare/v1beta1/dicomStore.go +++ b/sdk/go/google/healthcare/v1beta1/dicomStore.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new DICOM store within the parent dataset. @@ -135,6 +136,12 @@ func (i *DicomStore) ToDicomStoreOutputWithContext(ctx context.Context) DicomSto return pulumi.ToOutputWithContext(ctx, i).(DicomStoreOutput) } +func (i *DicomStore) ToOutput(ctx context.Context) pulumix.Output[*DicomStore] { + return pulumix.Output[*DicomStore]{ + OutputState: i.ToDicomStoreOutputWithContext(ctx).OutputState, + } +} + type DicomStoreOutput struct{ *pulumi.OutputState } func (DicomStoreOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DicomStoreOutput) ToDicomStoreOutputWithContext(ctx context.Context) Dic return o } +func (o DicomStoreOutput) ToOutput(ctx context.Context) pulumix.Output[*DicomStore] { + return pulumix.Output[*DicomStore]{ + OutputState: o.OutputState, + } +} + func (o DicomStoreOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v *DicomStore) pulumi.StringOutput { return v.DatasetId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/healthcare/v1beta1/fhirStore.go b/sdk/go/google/healthcare/v1beta1/fhirStore.go index 3d5700d831..81b1828977 100644 --- a/sdk/go/google/healthcare/v1beta1/fhirStore.go +++ b/sdk/go/google/healthcare/v1beta1/fhirStore.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new FHIR store within the parent dataset. @@ -192,6 +193,12 @@ func (i *FhirStore) ToFhirStoreOutputWithContext(ctx context.Context) FhirStoreO return pulumi.ToOutputWithContext(ctx, i).(FhirStoreOutput) } +func (i *FhirStore) ToOutput(ctx context.Context) pulumix.Output[*FhirStore] { + return pulumix.Output[*FhirStore]{ + OutputState: i.ToFhirStoreOutputWithContext(ctx).OutputState, + } +} + type FhirStoreOutput struct{ *pulumi.OutputState } func (FhirStoreOutput) ElementType() reflect.Type { @@ -206,6 +213,12 @@ func (o FhirStoreOutput) ToFhirStoreOutputWithContext(ctx context.Context) FhirS return o } +func (o FhirStoreOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirStore] { + return pulumix.Output[*FhirStore]{ + OutputState: o.OutputState, + } +} + // Enable parsing of references within complex FHIR data types such as Extensions. If this value is set to ENABLED, then features like referential integrity and Bundle reference rewriting apply to all references. If this flag has not been specified the behavior of the FHIR store will not change, references in complex data types will not be parsed. New stores will have this value set to ENABLED after a notification period. Warning: turning on this flag causes processing existing resources to fail if they contain references to non-existent resources. func (o FhirStoreOutput) ComplexDataTypeReferenceParsing() pulumi.StringOutput { return o.ApplyT(func(v *FhirStore) pulumi.StringOutput { return v.ComplexDataTypeReferenceParsing }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getAnnotation.go b/sdk/go/google/healthcare/v1beta1/getAnnotation.go index 24542d0fb1..393ab27e1f 100644 --- a/sdk/go/google/healthcare/v1beta1/getAnnotation.go +++ b/sdk/go/google/healthcare/v1beta1/getAnnotation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an Annotation. @@ -84,6 +85,12 @@ func (o LookupAnnotationResultOutput) ToLookupAnnotationResultOutputWithContext( return o } +func (o LookupAnnotationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAnnotationResult] { + return pulumix.Output[LookupAnnotationResult]{ + OutputState: o.OutputState, + } +} + // Details of the source. func (o LookupAnnotationResultOutput) AnnotationSource() AnnotationSourceResponseOutput { return o.ApplyT(func(v LookupAnnotationResult) AnnotationSourceResponse { return v.AnnotationSource }).(AnnotationSourceResponseOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getAnnotationStore.go b/sdk/go/google/healthcare/v1beta1/getAnnotationStore.go index d4a79b2883..6a5c120292 100644 --- a/sdk/go/google/healthcare/v1beta1/getAnnotationStore.go +++ b/sdk/go/google/healthcare/v1beta1/getAnnotationStore.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Annotation store or returns NOT_FOUND if it does not exist. @@ -74,6 +75,12 @@ func (o LookupAnnotationStoreResultOutput) ToLookupAnnotationStoreResultOutputWi return o } +func (o LookupAnnotationStoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAnnotationStoreResult] { + return pulumix.Output[LookupAnnotationStoreResult]{ + OutputState: o.OutputState, + } +} + // Optional. User-supplied key-value pairs used to organize Annotation stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store. func (o LookupAnnotationStoreResultOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v LookupAnnotationStoreResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getAttributeDefinition.go b/sdk/go/google/healthcare/v1beta1/getAttributeDefinition.go index 4c641989b9..f216558c50 100644 --- a/sdk/go/google/healthcare/v1beta1/getAttributeDefinition.go +++ b/sdk/go/google/healthcare/v1beta1/getAttributeDefinition.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Attribute definition. @@ -84,6 +85,12 @@ func (o LookupAttributeDefinitionResultOutput) ToLookupAttributeDefinitionResult return o } +func (o LookupAttributeDefinitionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAttributeDefinitionResult] { + return pulumix.Output[LookupAttributeDefinitionResult]{ + OutputState: o.OutputState, + } +} + // Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation. func (o LookupAttributeDefinitionResultOutput) AllowedValues() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupAttributeDefinitionResult) []string { return v.AllowedValues }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getConsent.go b/sdk/go/google/healthcare/v1beta1/getConsent.go index 3d2f2997ff..48f9aa1c68 100644 --- a/sdk/go/google/healthcare/v1beta1/getConsent.go +++ b/sdk/go/google/healthcare/v1beta1/getConsent.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified revision of a Consent, or the latest revision if `revision_id` is not specified in the resource name. @@ -92,6 +93,12 @@ func (o LookupConsentResultOutput) ToLookupConsentResultOutputWithContext(ctx co return o } +func (o LookupConsentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConsentResult] { + return pulumix.Output[LookupConsentResult]{ + OutputState: o.OutputState, + } +} + // The resource name of the Consent artifact that contains proof of the end user's consent, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. func (o LookupConsentResultOutput) ConsentArtifact() pulumi.StringOutput { return o.ApplyT(func(v LookupConsentResult) string { return v.ConsentArtifact }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getConsentArtifact.go b/sdk/go/google/healthcare/v1beta1/getConsentArtifact.go index 5d9c65d555..bc431d1d89 100644 --- a/sdk/go/google/healthcare/v1beta1/getConsentArtifact.go +++ b/sdk/go/google/healthcare/v1beta1/getConsentArtifact.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Consent artifact. @@ -88,6 +89,12 @@ func (o LookupConsentArtifactResultOutput) ToLookupConsentArtifactResultOutputWi return o } +func (o LookupConsentArtifactResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConsentArtifactResult] { + return pulumix.Output[LookupConsentArtifactResult]{ + OutputState: o.OutputState, + } +} + // Optional. Screenshots, PDFs, or other binary information documenting the user's consent. func (o LookupConsentArtifactResultOutput) ConsentContentScreenshots() ImageResponseArrayOutput { return o.ApplyT(func(v LookupConsentArtifactResult) []ImageResponse { return v.ConsentContentScreenshots }).(ImageResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getConsentStore.go b/sdk/go/google/healthcare/v1beta1/getConsentStore.go index af7f798fd7..12228b5025 100644 --- a/sdk/go/google/healthcare/v1beta1/getConsentStore.go +++ b/sdk/go/google/healthcare/v1beta1/getConsentStore.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified consent store. @@ -78,6 +79,12 @@ func (o LookupConsentStoreResultOutput) ToLookupConsentStoreResultOutputWithCont return o } +func (o LookupConsentStoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConsentStoreResult] { + return pulumix.Output[LookupConsentStoreResult]{ + OutputState: o.OutputState, + } +} + // Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents. func (o LookupConsentStoreResultOutput) DefaultConsentTtl() pulumi.StringOutput { return o.ApplyT(func(v LookupConsentStoreResult) string { return v.DefaultConsentTtl }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getDataset.go b/sdk/go/google/healthcare/v1beta1/getDataset.go index 84721d55af..2359d0ba48 100644 --- a/sdk/go/google/healthcare/v1beta1/getDataset.go +++ b/sdk/go/google/healthcare/v1beta1/getDataset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets any metadata associated with a dataset. @@ -72,6 +73,12 @@ func (o LookupDatasetResultOutput) ToLookupDatasetResultOutputWithContext(ctx co return o } +func (o LookupDatasetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetResult] { + return pulumix.Output[LookupDatasetResult]{ + OutputState: o.OutputState, + } +} + // Resource name of the dataset, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`. func (o LookupDatasetResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupDatasetResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getDatasetAnnotationStoreIamPolicy.go b/sdk/go/google/healthcare/v1beta1/getDatasetAnnotationStoreIamPolicy.go index bb729c0962..5ec4a9f5a9 100644 --- a/sdk/go/google/healthcare/v1beta1/getDatasetAnnotationStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/getDatasetAnnotationStoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupDatasetAnnotationStoreIamPolicyResultOutput) ToLookupDatasetAnnota return o } +func (o LookupDatasetAnnotationStoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetAnnotationStoreIamPolicyResult] { + return pulumix.Output[LookupDatasetAnnotationStoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetAnnotationStoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetAnnotationStoreIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getDatasetConsentStoreIamPolicy.go b/sdk/go/google/healthcare/v1beta1/getDatasetConsentStoreIamPolicy.go index 260e18aa8d..5764e43c18 100644 --- a/sdk/go/google/healthcare/v1beta1/getDatasetConsentStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/getDatasetConsentStoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupDatasetConsentStoreIamPolicyResultOutput) ToLookupDatasetConsentSt return o } +func (o LookupDatasetConsentStoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetConsentStoreIamPolicyResult] { + return pulumix.Output[LookupDatasetConsentStoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetConsentStoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetConsentStoreIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getDatasetDicomStoreIamPolicy.go b/sdk/go/google/healthcare/v1beta1/getDatasetDicomStoreIamPolicy.go index 605c6da661..4c2c3d9fd3 100644 --- a/sdk/go/google/healthcare/v1beta1/getDatasetDicomStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/getDatasetDicomStoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupDatasetDicomStoreIamPolicyResultOutput) ToLookupDatasetDicomStoreI return o } +func (o LookupDatasetDicomStoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetDicomStoreIamPolicyResult] { + return pulumix.Output[LookupDatasetDicomStoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetDicomStoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetDicomStoreIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getDatasetFhirStoreIamPolicy.go b/sdk/go/google/healthcare/v1beta1/getDatasetFhirStoreIamPolicy.go index e320d640e9..32a57c6c65 100644 --- a/sdk/go/google/healthcare/v1beta1/getDatasetFhirStoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/getDatasetFhirStoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupDatasetFhirStoreIamPolicyResultOutput) ToLookupDatasetFhirStoreIam return o } +func (o LookupDatasetFhirStoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetFhirStoreIamPolicyResult] { + return pulumix.Output[LookupDatasetFhirStoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetFhirStoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetFhirStoreIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getDatasetHl7V2StoreIamPolicy.go b/sdk/go/google/healthcare/v1beta1/getDatasetHl7V2StoreIamPolicy.go index 90766c8d69..6dfbdb1268 100644 --- a/sdk/go/google/healthcare/v1beta1/getDatasetHl7V2StoreIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/getDatasetHl7V2StoreIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupDatasetHl7V2StoreIamPolicyResultOutput) ToLookupDatasetHl7V2StoreI return o } +func (o LookupDatasetHl7V2StoreIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetHl7V2StoreIamPolicyResult] { + return pulumix.Output[LookupDatasetHl7V2StoreIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetHl7V2StoreIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetHl7V2StoreIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getDatasetIamPolicy.go b/sdk/go/google/healthcare/v1beta1/getDatasetIamPolicy.go index a7397a60be..86c786d334 100644 --- a/sdk/go/google/healthcare/v1beta1/getDatasetIamPolicy.go +++ b/sdk/go/google/healthcare/v1beta1/getDatasetIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupDatasetIamPolicyResultOutput) ToLookupDatasetIamPolicyResultOutput return o } +func (o LookupDatasetIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetIamPolicyResult] { + return pulumix.Output[LookupDatasetIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupDatasetIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupDatasetIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getDicomStore.go b/sdk/go/google/healthcare/v1beta1/getDicomStore.go index 783e18d070..7d9d8c4ca5 100644 --- a/sdk/go/google/healthcare/v1beta1/getDicomStore.go +++ b/sdk/go/google/healthcare/v1beta1/getDicomStore.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified DICOM store. @@ -78,6 +79,12 @@ func (o LookupDicomStoreResultOutput) ToLookupDicomStoreResultOutputWithContext( return o } +func (o LookupDicomStoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDicomStoreResult] { + return pulumix.Output[LookupDicomStoreResult]{ + OutputState: o.OutputState, + } +} + // User-supplied key-value pairs used to organize DICOM stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store. func (o LookupDicomStoreResultOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v LookupDicomStoreResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getFhir.go b/sdk/go/google/healthcare/v1beta1/getFhir.go index 5fec226f01..648282769b 100644 --- a/sdk/go/google/healthcare/v1beta1/getFhir.go +++ b/sdk/go/google/healthcare/v1beta1/getFhir.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the contents of a FHIR resource. Implements the FHIR standard read interaction ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#read), [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#read), [R4](https://hl7.org/implement/standards/fhir/R4/http.html#read)). Also supports the FHIR standard conditional read interaction ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#cread), [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#cread), [R4](https://hl7.org/implement/standards/fhir/R4/http.html#cread)) specified by supplying an `If-Modified-Since` header with a date/time value or an `If-None-Match` header with an ETag value. On success, the response body contains a JSON-encoded representation of the resource. Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call `read`, see [Getting a FHIR resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_a_fhir_resource). @@ -80,6 +81,12 @@ func (o GetFhirResultOutput) ToGetFhirResultOutputWithContext(ctx context.Contex return o } +func (o GetFhirResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetFhirResult] { + return pulumix.Output[GetFhirResult]{ + OutputState: o.OutputState, + } +} + // The HTTP Content-Type header value specifying the content type of the body. func (o GetFhirResultOutput) ContentType() pulumi.StringOutput { return o.ApplyT(func(v GetFhirResult) string { return v.ContentType }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getFhirStore.go b/sdk/go/google/healthcare/v1beta1/getFhirStore.go index e04335bb38..92fef5b98a 100644 --- a/sdk/go/google/healthcare/v1beta1/getFhirStore.go +++ b/sdk/go/google/healthcare/v1beta1/getFhirStore.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the configuration of the specified FHIR store. @@ -98,6 +99,12 @@ func (o LookupFhirStoreResultOutput) ToLookupFhirStoreResultOutputWithContext(ct return o } +func (o LookupFhirStoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFhirStoreResult] { + return pulumix.Output[LookupFhirStoreResult]{ + OutputState: o.OutputState, + } +} + // Enable parsing of references within complex FHIR data types such as Extensions. If this value is set to ENABLED, then features like referential integrity and Bundle reference rewriting apply to all references. If this flag has not been specified the behavior of the FHIR store will not change, references in complex data types will not be parsed. New stores will have this value set to ENABLED after a notification period. Warning: turning on this flag causes processing existing resources to fail if they contain references to non-existent resources. func (o LookupFhirStoreResultOutput) ComplexDataTypeReferenceParsing() pulumi.StringOutput { return o.ApplyT(func(v LookupFhirStoreResult) string { return v.ComplexDataTypeReferenceParsing }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getHl7V2Store.go b/sdk/go/google/healthcare/v1beta1/getHl7V2Store.go index f453adb1e9..b742958b31 100644 --- a/sdk/go/google/healthcare/v1beta1/getHl7V2Store.go +++ b/sdk/go/google/healthcare/v1beta1/getHl7V2Store.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified HL7v2 store. @@ -82,6 +83,12 @@ func (o LookupHl7V2StoreResultOutput) ToLookupHl7V2StoreResultOutputWithContext( return o } +func (o LookupHl7V2StoreResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHl7V2StoreResult] { + return pulumix.Output[LookupHl7V2StoreResult]{ + OutputState: o.OutputState, + } +} + // User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store. func (o LookupHl7V2StoreResultOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v LookupHl7V2StoreResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getMessage.go b/sdk/go/google/healthcare/v1beta1/getMessage.go index 425fbdd6f5..5e4d979393 100644 --- a/sdk/go/google/healthcare/v1beta1/getMessage.go +++ b/sdk/go/google/healthcare/v1beta1/getMessage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an HL7v2 message. @@ -94,6 +95,12 @@ func (o LookupMessageResultOutput) ToLookupMessageResultOutputWithContext(ctx co return o } +func (o LookupMessageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMessageResult] { + return pulumix.Output[LookupMessageResult]{ + OutputState: o.OutputState, + } +} + // The datetime when the message was created. Set by the server. func (o LookupMessageResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMessageResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/getUserDataMapping.go b/sdk/go/google/healthcare/v1beta1/getUserDataMapping.go index a1f6d7223b..f0f12e4944 100644 --- a/sdk/go/google/healthcare/v1beta1/getUserDataMapping.go +++ b/sdk/go/google/healthcare/v1beta1/getUserDataMapping.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified User data mapping. @@ -84,6 +85,12 @@ func (o LookupUserDataMappingResultOutput) ToLookupUserDataMappingResultOutputWi return o } +func (o LookupUserDataMappingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUserDataMappingResult] { + return pulumix.Output[LookupUserDataMappingResult]{ + OutputState: o.OutputState, + } +} + // Indicates the time when this mapping was archived. func (o LookupUserDataMappingResultOutput) ArchiveTime() pulumi.StringOutput { return o.ApplyT(func(v LookupUserDataMappingResult) string { return v.ArchiveTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/hl7V2Store.go b/sdk/go/google/healthcare/v1beta1/hl7V2Store.go index b5dacb843b..9e068c365d 100644 --- a/sdk/go/google/healthcare/v1beta1/hl7V2Store.go +++ b/sdk/go/google/healthcare/v1beta1/hl7V2Store.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new HL7v2 store within the parent dataset. @@ -147,6 +148,12 @@ func (i *Hl7V2Store) ToHl7V2StoreOutputWithContext(ctx context.Context) Hl7V2Sto return pulumi.ToOutputWithContext(ctx, i).(Hl7V2StoreOutput) } +func (i *Hl7V2Store) ToOutput(ctx context.Context) pulumix.Output[*Hl7V2Store] { + return pulumix.Output[*Hl7V2Store]{ + OutputState: i.ToHl7V2StoreOutputWithContext(ctx).OutputState, + } +} + type Hl7V2StoreOutput struct{ *pulumi.OutputState } func (Hl7V2StoreOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o Hl7V2StoreOutput) ToHl7V2StoreOutputWithContext(ctx context.Context) Hl7 return o } +func (o Hl7V2StoreOutput) ToOutput(ctx context.Context) pulumix.Output[*Hl7V2Store] { + return pulumix.Output[*Hl7V2Store]{ + OutputState: o.OutputState, + } +} + func (o Hl7V2StoreOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v *Hl7V2Store) pulumi.StringOutput { return v.DatasetId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/healthcare/v1beta1/message.go b/sdk/go/google/healthcare/v1beta1/message.go index c368f0771f..eaa234c146 100644 --- a/sdk/go/google/healthcare/v1beta1/message.go +++ b/sdk/go/google/healthcare/v1beta1/message.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received. @@ -164,6 +165,12 @@ func (i *Message) ToMessageOutputWithContext(ctx context.Context) MessageOutput return pulumi.ToOutputWithContext(ctx, i).(MessageOutput) } +func (i *Message) ToOutput(ctx context.Context) pulumix.Output[*Message] { + return pulumix.Output[*Message]{ + OutputState: i.ToMessageOutputWithContext(ctx).OutputState, + } +} + type MessageOutput struct{ *pulumi.OutputState } func (MessageOutput) ElementType() reflect.Type { @@ -178,6 +185,12 @@ func (o MessageOutput) ToMessageOutputWithContext(ctx context.Context) MessageOu return o } +func (o MessageOutput) ToOutput(ctx context.Context) pulumix.Output[*Message] { + return pulumix.Output[*Message]{ + OutputState: o.OutputState, + } +} + // The datetime when the message was created. Set by the server. func (o MessageOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Message) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/healthcare/v1beta1/pulumiEnums.go b/sdk/go/google/healthcare/v1beta1/pulumiEnums.go index 8ee56088aa..10007810bd 100644 --- a/sdk/go/google/healthcare/v1beta1/pulumiEnums.go +++ b/sdk/go/google/healthcare/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The category of the attribute. The value of this field cannot be changed after creation. @@ -82,6 +83,12 @@ func (o AttributeDefinitionCategoryOutput) ToAttributeDefinitionCategoryPtrOutpu }).(AttributeDefinitionCategoryPtrOutput) } +func (o AttributeDefinitionCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[AttributeDefinitionCategory] { + return pulumix.Output[AttributeDefinitionCategory]{ + OutputState: o.OutputState, + } +} + func (o AttributeDefinitionCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o AttributeDefinitionCategoryPtrOutput) ToAttributeDefinitionCategoryPtrOu return o } +func (o AttributeDefinitionCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttributeDefinitionCategory] { + return pulumix.Output[*AttributeDefinitionCategory]{ + OutputState: o.OutputState, + } +} + func (o AttributeDefinitionCategoryPtrOutput) Elem() AttributeDefinitionCategoryOutput { return o.ApplyT(func(v *AttributeDefinitionCategory) AttributeDefinitionCategory { if v != nil { @@ -179,6 +192,12 @@ func (in *attributeDefinitionCategoryPtr) ToAttributeDefinitionCategoryPtrOutput return pulumi.ToOutputWithContext(ctx, in).(AttributeDefinitionCategoryPtrOutput) } +func (in *attributeDefinitionCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*AttributeDefinitionCategory] { + return pulumix.Output[*AttributeDefinitionCategory]{ + OutputState: in.ToAttributeDefinitionCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type AuditLogConfigLogType string @@ -253,6 +272,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -350,6 +381,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Indicates the current state of this Consent. type ConsentStateEnum string @@ -428,6 +465,12 @@ func (o ConsentStateEnumOutput) ToConsentStateEnumPtrOutputWithContext(ctx conte }).(ConsentStateEnumPtrOutput) } +func (o ConsentStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[ConsentStateEnum] { + return pulumix.Output[ConsentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ConsentStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -463,6 +506,12 @@ func (o ConsentStateEnumPtrOutput) ToConsentStateEnumPtrOutputWithContext(ctx co return o } +func (o ConsentStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConsentStateEnum] { + return pulumix.Output[*ConsentStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ConsentStateEnumPtrOutput) Elem() ConsentStateEnumOutput { return o.ApplyT(func(v *ConsentStateEnum) ConsentStateEnum { if v != nil { @@ -525,6 +574,12 @@ func (in *consentStateEnumPtr) ToConsentStateEnumPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(ConsentStateEnumPtrOutput) } +func (in *consentStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*ConsentStateEnum] { + return pulumix.Output[*ConsentStateEnum]{ + OutputState: in.ToConsentStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Tag filtering profile that determines which tags to keep/remove. type DicomConfigFilterProfile string @@ -601,6 +656,12 @@ func (o DicomConfigFilterProfileOutput) ToDicomConfigFilterProfilePtrOutputWithC }).(DicomConfigFilterProfilePtrOutput) } +func (o DicomConfigFilterProfileOutput) ToOutput(ctx context.Context) pulumix.Output[DicomConfigFilterProfile] { + return pulumix.Output[DicomConfigFilterProfile]{ + OutputState: o.OutputState, + } +} + func (o DicomConfigFilterProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -636,6 +697,12 @@ func (o DicomConfigFilterProfilePtrOutput) ToDicomConfigFilterProfilePtrOutputWi return o } +func (o DicomConfigFilterProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DicomConfigFilterProfile] { + return pulumix.Output[*DicomConfigFilterProfile]{ + OutputState: o.OutputState, + } +} + func (o DicomConfigFilterProfilePtrOutput) Elem() DicomConfigFilterProfileOutput { return o.ApplyT(func(v *DicomConfigFilterProfile) DicomConfigFilterProfile { if v != nil { @@ -698,6 +765,12 @@ func (in *dicomConfigFilterProfilePtr) ToDicomConfigFilterProfilePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DicomConfigFilterProfilePtrOutput) } +func (in *dicomConfigFilterProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*DicomConfigFilterProfile] { + return pulumix.Output[*DicomConfigFilterProfile]{ + OutputState: in.ToDicomConfigFilterProfilePtrOutputWithContext(ctx).OutputState, + } +} + // Base profile type for handling DICOM tags. type DicomTagConfigProfileType string @@ -774,6 +847,12 @@ func (o DicomTagConfigProfileTypeOutput) ToDicomTagConfigProfileTypePtrOutputWit }).(DicomTagConfigProfileTypePtrOutput) } +func (o DicomTagConfigProfileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DicomTagConfigProfileType] { + return pulumix.Output[DicomTagConfigProfileType]{ + OutputState: o.OutputState, + } +} + func (o DicomTagConfigProfileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -809,6 +888,12 @@ func (o DicomTagConfigProfileTypePtrOutput) ToDicomTagConfigProfileTypePtrOutput return o } +func (o DicomTagConfigProfileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DicomTagConfigProfileType] { + return pulumix.Output[*DicomTagConfigProfileType]{ + OutputState: o.OutputState, + } +} + func (o DicomTagConfigProfileTypePtrOutput) Elem() DicomTagConfigProfileTypeOutput { return o.ApplyT(func(v *DicomTagConfigProfileType) DicomTagConfigProfileType { if v != nil { @@ -871,6 +956,12 @@ func (in *dicomTagConfigProfileTypePtr) ToDicomTagConfigProfileTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(DicomTagConfigProfileTypePtrOutput) } +func (in *dicomTagConfigProfileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DicomTagConfigProfileType] { + return pulumix.Output[*DicomTagConfigProfileType]{ + OutputState: in.ToDicomTagConfigProfileTypePtrOutputWithContext(ctx).OutputState, + } +} + // Base profile type for handling FHIR fields. type FhirFieldConfigProfileType string @@ -945,6 +1036,12 @@ func (o FhirFieldConfigProfileTypeOutput) ToFhirFieldConfigProfileTypePtrOutputW }).(FhirFieldConfigProfileTypePtrOutput) } +func (o FhirFieldConfigProfileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[FhirFieldConfigProfileType] { + return pulumix.Output[FhirFieldConfigProfileType]{ + OutputState: o.OutputState, + } +} + func (o FhirFieldConfigProfileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -980,6 +1077,12 @@ func (o FhirFieldConfigProfileTypePtrOutput) ToFhirFieldConfigProfileTypePtrOutp return o } +func (o FhirFieldConfigProfileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirFieldConfigProfileType] { + return pulumix.Output[*FhirFieldConfigProfileType]{ + OutputState: o.OutputState, + } +} + func (o FhirFieldConfigProfileTypePtrOutput) Elem() FhirFieldConfigProfileTypeOutput { return o.ApplyT(func(v *FhirFieldConfigProfileType) FhirFieldConfigProfileType { if v != nil { @@ -1042,6 +1145,12 @@ func (in *fhirFieldConfigProfileTypePtr) ToFhirFieldConfigProfileTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(FhirFieldConfigProfileTypePtrOutput) } +func (in *fhirFieldConfigProfileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*FhirFieldConfigProfileType] { + return pulumix.Output[*FhirFieldConfigProfileType]{ + OutputState: in.ToFhirFieldConfigProfileTypePtrOutputWithContext(ctx).OutputState, + } +} + // Enable parsing of references within complex FHIR data types such as Extensions. If this value is set to ENABLED, then features like referential integrity and Bundle reference rewriting apply to all references. If this flag has not been specified the behavior of the FHIR store will not change, references in complex data types will not be parsed. New stores will have this value set to ENABLED after a notification period. Warning: turning on this flag causes processing existing resources to fail if they contain references to non-existent resources. type FhirStoreComplexDataTypeReferenceParsing string @@ -1114,6 +1223,12 @@ func (o FhirStoreComplexDataTypeReferenceParsingOutput) ToFhirStoreComplexDataTy }).(FhirStoreComplexDataTypeReferenceParsingPtrOutput) } +func (o FhirStoreComplexDataTypeReferenceParsingOutput) ToOutput(ctx context.Context) pulumix.Output[FhirStoreComplexDataTypeReferenceParsing] { + return pulumix.Output[FhirStoreComplexDataTypeReferenceParsing]{ + OutputState: o.OutputState, + } +} + func (o FhirStoreComplexDataTypeReferenceParsingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1149,6 +1264,12 @@ func (o FhirStoreComplexDataTypeReferenceParsingPtrOutput) ToFhirStoreComplexDat return o } +func (o FhirStoreComplexDataTypeReferenceParsingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirStoreComplexDataTypeReferenceParsing] { + return pulumix.Output[*FhirStoreComplexDataTypeReferenceParsing]{ + OutputState: o.OutputState, + } +} + func (o FhirStoreComplexDataTypeReferenceParsingPtrOutput) Elem() FhirStoreComplexDataTypeReferenceParsingOutput { return o.ApplyT(func(v *FhirStoreComplexDataTypeReferenceParsing) FhirStoreComplexDataTypeReferenceParsing { if v != nil { @@ -1211,6 +1332,12 @@ func (in *fhirStoreComplexDataTypeReferenceParsingPtr) ToFhirStoreComplexDataTyp return pulumi.ToOutputWithContext(ctx, in).(FhirStoreComplexDataTypeReferenceParsingPtrOutput) } +func (in *fhirStoreComplexDataTypeReferenceParsingPtr) ToOutput(ctx context.Context) pulumix.Output[*FhirStoreComplexDataTypeReferenceParsing] { + return pulumix.Output[*FhirStoreComplexDataTypeReferenceParsing]{ + OutputState: in.ToFhirStoreComplexDataTypeReferenceParsingPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The FHIR specification version that this FHIR store supports natively. This field is immutable after store creation. Requests are rejected if they contain FHIR resources of a different version. Version is required for every FHIR store. type FhirStoreVersion string @@ -1285,6 +1412,12 @@ func (o FhirStoreVersionOutput) ToFhirStoreVersionPtrOutputWithContext(ctx conte }).(FhirStoreVersionPtrOutput) } +func (o FhirStoreVersionOutput) ToOutput(ctx context.Context) pulumix.Output[FhirStoreVersion] { + return pulumix.Output[FhirStoreVersion]{ + OutputState: o.OutputState, + } +} + func (o FhirStoreVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1320,6 +1453,12 @@ func (o FhirStoreVersionPtrOutput) ToFhirStoreVersionPtrOutputWithContext(ctx co return o } +func (o FhirStoreVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirStoreVersion] { + return pulumix.Output[*FhirStoreVersion]{ + OutputState: o.OutputState, + } +} + func (o FhirStoreVersionPtrOutput) Elem() FhirStoreVersionOutput { return o.ApplyT(func(v *FhirStoreVersion) FhirStoreVersion { if v != nil { @@ -1382,6 +1521,12 @@ func (in *fhirStoreVersionPtr) ToFhirStoreVersionPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(FhirStoreVersionPtrOutput) } +func (in *fhirStoreVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*FhirStoreVersion] { + return pulumix.Output[*FhirStoreVersion]{ + OutputState: in.ToFhirStoreVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Deidentify action for one field. type FieldMetadataAction string @@ -1456,6 +1601,12 @@ func (o FieldMetadataActionOutput) ToFieldMetadataActionPtrOutputWithContext(ctx }).(FieldMetadataActionPtrOutput) } +func (o FieldMetadataActionOutput) ToOutput(ctx context.Context) pulumix.Output[FieldMetadataAction] { + return pulumix.Output[FieldMetadataAction]{ + OutputState: o.OutputState, + } +} + func (o FieldMetadataActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1491,6 +1642,12 @@ func (o FieldMetadataActionPtrOutput) ToFieldMetadataActionPtrOutputWithContext( return o } +func (o FieldMetadataActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FieldMetadataAction] { + return pulumix.Output[*FieldMetadataAction]{ + OutputState: o.OutputState, + } +} + func (o FieldMetadataActionPtrOutput) Elem() FieldMetadataActionOutput { return o.ApplyT(func(v *FieldMetadataAction) FieldMetadataAction { if v != nil { @@ -1553,6 +1710,12 @@ func (in *fieldMetadataActionPtr) ToFieldMetadataActionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(FieldMetadataActionPtrOutput) } +func (in *fieldMetadataActionPtr) ToOutput(ctx context.Context) pulumix.Output[*FieldMetadataAction] { + return pulumix.Output[*FieldMetadataAction]{ + OutputState: in.ToFieldMetadataActionPtrOutputWithContext(ctx).OutputState, + } +} + // Determines whether the existing table in the destination is to be overwritten or appended to. If a write_disposition is specified, the `force` parameter is ignored. type GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition string @@ -1627,6 +1790,12 @@ func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionOutp }).(GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionPtrOutput) } +func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1662,6 +1831,12 @@ func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionPtrO return o } +func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition] { + return pulumix.Output[*GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionPtrOutput) Elem() GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionOutput { return o.ApplyT(func(v *GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition) GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition { if v != nil { @@ -1724,6 +1899,12 @@ func (in *googleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionPt return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionPtrOutput) } +func (in *googleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition] { + return pulumix.Output[*GoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDisposition]{ + OutputState: in.ToGoogleCloudHealthcareV1beta1DicomBigQueryDestinationWriteDispositionPtrOutputWithContext(ctx).OutputState, + } +} + // Determines if existing data in the destination dataset is overwritten, appended to, or not written if the tables contain data. If a write_disposition is specified, the `force` parameter is ignored. type GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition string @@ -1798,6 +1979,12 @@ func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionOutpu }).(GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionPtrOutput) } +func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition] { + return pulumix.Output[GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1833,6 +2020,12 @@ func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionPtrOu return o } +func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition] { + return pulumix.Output[*GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionPtrOutput) Elem() GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionOutput { return o.ApplyT(func(v *GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition) GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition { if v != nil { @@ -1895,6 +2088,12 @@ func (in *googleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionPtr return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionPtrOutput) } +func (in *googleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition] { + return pulumix.Output[*GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition]{ + OutputState: in.ToGoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDispositionPtrOutputWithContext(ctx).OutputState, + } +} + // Determines how to redact text from image. type ImageConfigTextRedactionMode string @@ -1971,6 +2170,12 @@ func (o ImageConfigTextRedactionModeOutput) ToImageConfigTextRedactionModePtrOut }).(ImageConfigTextRedactionModePtrOutput) } +func (o ImageConfigTextRedactionModeOutput) ToOutput(ctx context.Context) pulumix.Output[ImageConfigTextRedactionMode] { + return pulumix.Output[ImageConfigTextRedactionMode]{ + OutputState: o.OutputState, + } +} + func (o ImageConfigTextRedactionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2006,6 +2211,12 @@ func (o ImageConfigTextRedactionModePtrOutput) ToImageConfigTextRedactionModePtr return o } +func (o ImageConfigTextRedactionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageConfigTextRedactionMode] { + return pulumix.Output[*ImageConfigTextRedactionMode]{ + OutputState: o.OutputState, + } +} + func (o ImageConfigTextRedactionModePtrOutput) Elem() ImageConfigTextRedactionModeOutput { return o.ApplyT(func(v *ImageConfigTextRedactionMode) ImageConfigTextRedactionMode { if v != nil { @@ -2068,6 +2279,12 @@ func (in *imageConfigTextRedactionModePtr) ToImageConfigTextRedactionModePtrOutp return pulumi.ToOutputWithContext(ctx, in).(ImageConfigTextRedactionModePtrOutput) } +func (in *imageConfigTextRedactionModePtr) ToOutput(ctx context.Context) pulumix.Output[*ImageConfigTextRedactionMode] { + return pulumix.Output[*ImageConfigTextRedactionMode]{ + OutputState: in.ToImageConfigTextRedactionModePtrOutputWithContext(ctx).OutputState, + } +} + // Set `Action` for [`StudyInstanceUID`, `SeriesInstanceUID`, `SOPInstanceUID`, and `MediaStorageSOPInstanceUID`](http://dicom.nema.org/medical/dicom/2018e/output/chtml/part06/chapter_6.html). type OptionsPrimaryIds string @@ -2140,6 +2357,12 @@ func (o OptionsPrimaryIdsOutput) ToOptionsPrimaryIdsPtrOutputWithContext(ctx con }).(OptionsPrimaryIdsPtrOutput) } +func (o OptionsPrimaryIdsOutput) ToOutput(ctx context.Context) pulumix.Output[OptionsPrimaryIds] { + return pulumix.Output[OptionsPrimaryIds]{ + OutputState: o.OutputState, + } +} + func (o OptionsPrimaryIdsOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2175,6 +2398,12 @@ func (o OptionsPrimaryIdsPtrOutput) ToOptionsPrimaryIdsPtrOutputWithContext(ctx return o } +func (o OptionsPrimaryIdsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OptionsPrimaryIds] { + return pulumix.Output[*OptionsPrimaryIds]{ + OutputState: o.OutputState, + } +} + func (o OptionsPrimaryIdsPtrOutput) Elem() OptionsPrimaryIdsOutput { return o.ApplyT(func(v *OptionsPrimaryIds) OptionsPrimaryIds { if v != nil { @@ -2237,6 +2466,12 @@ func (in *optionsPrimaryIdsPtr) ToOptionsPrimaryIdsPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(OptionsPrimaryIdsPtrOutput) } +func (in *optionsPrimaryIdsPtr) ToOutput(ctx context.Context) pulumix.Output[*OptionsPrimaryIds] { + return pulumix.Output[*OptionsPrimaryIds]{ + OutputState: in.ToOptionsPrimaryIdsPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. Determines the version of both the default parser to be used when `schema` is not given, as well as the schematized parser used when `schema` is specified. This field is immutable after HL7v2 store creation. type ParserConfigVersion string @@ -2311,6 +2546,12 @@ func (o ParserConfigVersionOutput) ToParserConfigVersionPtrOutputWithContext(ctx }).(ParserConfigVersionPtrOutput) } +func (o ParserConfigVersionOutput) ToOutput(ctx context.Context) pulumix.Output[ParserConfigVersion] { + return pulumix.Output[ParserConfigVersion]{ + OutputState: o.OutputState, + } +} + func (o ParserConfigVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2346,6 +2587,12 @@ func (o ParserConfigVersionPtrOutput) ToParserConfigVersionPtrOutputWithContext( return o } +func (o ParserConfigVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParserConfigVersion] { + return pulumix.Output[*ParserConfigVersion]{ + OutputState: o.OutputState, + } +} + func (o ParserConfigVersionPtrOutput) Elem() ParserConfigVersionOutput { return o.ApplyT(func(v *ParserConfigVersion) ParserConfigVersion { if v != nil { @@ -2408,6 +2655,12 @@ func (in *parserConfigVersionPtr) ToParserConfigVersionPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ParserConfigVersionPtrOutput) } +func (in *parserConfigVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*ParserConfigVersion] { + return pulumix.Output[*ParserConfigVersion]{ + OutputState: in.ToParserConfigVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the output schema type. Schema type is required. type SchemaConfigSchemaType string @@ -2482,6 +2735,12 @@ func (o SchemaConfigSchemaTypeOutput) ToSchemaConfigSchemaTypePtrOutputWithConte }).(SchemaConfigSchemaTypePtrOutput) } +func (o SchemaConfigSchemaTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaConfigSchemaType] { + return pulumix.Output[SchemaConfigSchemaType]{ + OutputState: o.OutputState, + } +} + func (o SchemaConfigSchemaTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2517,6 +2776,12 @@ func (o SchemaConfigSchemaTypePtrOutput) ToSchemaConfigSchemaTypePtrOutputWithCo return o } +func (o SchemaConfigSchemaTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaConfigSchemaType] { + return pulumix.Output[*SchemaConfigSchemaType]{ + OutputState: o.OutputState, + } +} + func (o SchemaConfigSchemaTypePtrOutput) Elem() SchemaConfigSchemaTypeOutput { return o.ApplyT(func(v *SchemaConfigSchemaType) SchemaConfigSchemaType { if v != nil { @@ -2579,6 +2844,12 @@ func (in *schemaConfigSchemaTypePtr) ToSchemaConfigSchemaTypePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(SchemaConfigSchemaTypePtrOutput) } +func (in *schemaConfigSchemaTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SchemaConfigSchemaType] { + return pulumix.Output[*SchemaConfigSchemaType]{ + OutputState: in.ToSchemaConfigSchemaTypePtrOutputWithContext(ctx).OutputState, + } +} + // Determines how messages that fail to parse are handled. type SchemaPackageSchematizedParsingType string @@ -2651,6 +2922,12 @@ func (o SchemaPackageSchematizedParsingTypeOutput) ToSchemaPackageSchematizedPar }).(SchemaPackageSchematizedParsingTypePtrOutput) } +func (o SchemaPackageSchematizedParsingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaPackageSchematizedParsingType] { + return pulumix.Output[SchemaPackageSchematizedParsingType]{ + OutputState: o.OutputState, + } +} + func (o SchemaPackageSchematizedParsingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2686,6 +2963,12 @@ func (o SchemaPackageSchematizedParsingTypePtrOutput) ToSchemaPackageSchematized return o } +func (o SchemaPackageSchematizedParsingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackageSchematizedParsingType] { + return pulumix.Output[*SchemaPackageSchematizedParsingType]{ + OutputState: o.OutputState, + } +} + func (o SchemaPackageSchematizedParsingTypePtrOutput) Elem() SchemaPackageSchematizedParsingTypeOutput { return o.ApplyT(func(v *SchemaPackageSchematizedParsingType) SchemaPackageSchematizedParsingType { if v != nil { @@ -2748,6 +3031,12 @@ func (in *schemaPackageSchematizedParsingTypePtr) ToSchemaPackageSchematizedPars return pulumi.ToOutputWithContext(ctx, in).(SchemaPackageSchematizedParsingTypePtrOutput) } +func (in *schemaPackageSchematizedParsingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackageSchematizedParsingType] { + return pulumix.Output[*SchemaPackageSchematizedParsingType]{ + OutputState: in.ToSchemaPackageSchematizedParsingTypePtrOutputWithContext(ctx).OutputState, + } +} + // Determines how unexpected segments (segments not matched to the schema) are handled. type SchemaPackageUnexpectedSegmentHandling string @@ -2822,6 +3111,12 @@ func (o SchemaPackageUnexpectedSegmentHandlingOutput) ToSchemaPackageUnexpectedS }).(SchemaPackageUnexpectedSegmentHandlingPtrOutput) } +func (o SchemaPackageUnexpectedSegmentHandlingOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaPackageUnexpectedSegmentHandling] { + return pulumix.Output[SchemaPackageUnexpectedSegmentHandling]{ + OutputState: o.OutputState, + } +} + func (o SchemaPackageUnexpectedSegmentHandlingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2857,6 +3152,12 @@ func (o SchemaPackageUnexpectedSegmentHandlingPtrOutput) ToSchemaPackageUnexpect return o } +func (o SchemaPackageUnexpectedSegmentHandlingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackageUnexpectedSegmentHandling] { + return pulumix.Output[*SchemaPackageUnexpectedSegmentHandling]{ + OutputState: o.OutputState, + } +} + func (o SchemaPackageUnexpectedSegmentHandlingPtrOutput) Elem() SchemaPackageUnexpectedSegmentHandlingOutput { return o.ApplyT(func(v *SchemaPackageUnexpectedSegmentHandling) SchemaPackageUnexpectedSegmentHandling { if v != nil { @@ -2919,6 +3220,12 @@ func (in *schemaPackageUnexpectedSegmentHandlingPtr) ToSchemaPackageUnexpectedSe return pulumi.ToOutputWithContext(ctx, in).(SchemaPackageUnexpectedSegmentHandlingPtrOutput) } +func (in *schemaPackageUnexpectedSegmentHandlingPtr) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackageUnexpectedSegmentHandling] { + return pulumix.Output[*SchemaPackageUnexpectedSegmentHandling]{ + OutputState: in.ToSchemaPackageUnexpectedSegmentHandlingPtrOutputWithContext(ctx).OutputState, + } +} + // Base profile type for text transformation. type TextConfigProfileType string @@ -2991,6 +3298,12 @@ func (o TextConfigProfileTypeOutput) ToTextConfigProfileTypePtrOutputWithContext }).(TextConfigProfileTypePtrOutput) } +func (o TextConfigProfileTypeOutput) ToOutput(ctx context.Context) pulumix.Output[TextConfigProfileType] { + return pulumix.Output[TextConfigProfileType]{ + OutputState: o.OutputState, + } +} + func (o TextConfigProfileTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3026,6 +3339,12 @@ func (o TextConfigProfileTypePtrOutput) ToTextConfigProfileTypePtrOutputWithCont return o } +func (o TextConfigProfileTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TextConfigProfileType] { + return pulumix.Output[*TextConfigProfileType]{ + OutputState: o.OutputState, + } +} + func (o TextConfigProfileTypePtrOutput) Elem() TextConfigProfileTypeOutput { return o.ApplyT(func(v *TextConfigProfileType) TextConfigProfileType { if v != nil { @@ -3088,6 +3407,12 @@ func (in *textConfigProfileTypePtr) ToTextConfigProfileTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(TextConfigProfileTypePtrOutput) } +func (in *textConfigProfileTypePtr) ToOutput(ctx context.Context) pulumix.Output[*TextConfigProfileType] { + return pulumix.Output[*TextConfigProfileType]{ + OutputState: in.ToTextConfigProfileTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of partitioning. type TimePartitioningType string @@ -3164,6 +3489,12 @@ func (o TimePartitioningTypeOutput) ToTimePartitioningTypePtrOutputWithContext(c }).(TimePartitioningTypePtrOutput) } +func (o TimePartitioningTypeOutput) ToOutput(ctx context.Context) pulumix.Output[TimePartitioningType] { + return pulumix.Output[TimePartitioningType]{ + OutputState: o.OutputState, + } +} + func (o TimePartitioningTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3199,6 +3530,12 @@ func (o TimePartitioningTypePtrOutput) ToTimePartitioningTypePtrOutputWithContex return o } +func (o TimePartitioningTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimePartitioningType] { + return pulumix.Output[*TimePartitioningType]{ + OutputState: o.OutputState, + } +} + func (o TimePartitioningTypePtrOutput) Elem() TimePartitioningTypeOutput { return o.ApplyT(func(v *TimePartitioningType) TimePartitioningType { if v != nil { @@ -3261,6 +3598,12 @@ func (in *timePartitioningTypePtr) ToTimePartitioningTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(TimePartitioningTypePtrOutput) } +func (in *timePartitioningTypePtr) ToOutput(ctx context.Context) pulumix.Output[*TimePartitioningType] { + return pulumix.Output[*TimePartitioningType]{ + OutputState: in.ToTimePartitioningTypePtrOutputWithContext(ctx).OutputState, + } +} + // If this is a primitive type then this field is the type of the primitive For example, STRING. Leave unspecified for composite types. type TypePrimitive string @@ -3335,6 +3678,12 @@ func (o TypePrimitiveOutput) ToTypePrimitivePtrOutputWithContext(ctx context.Con }).(TypePrimitivePtrOutput) } +func (o TypePrimitiveOutput) ToOutput(ctx context.Context) pulumix.Output[TypePrimitive] { + return pulumix.Output[TypePrimitive]{ + OutputState: o.OutputState, + } +} + func (o TypePrimitiveOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3370,6 +3719,12 @@ func (o TypePrimitivePtrOutput) ToTypePrimitivePtrOutputWithContext(ctx context. return o } +func (o TypePrimitivePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TypePrimitive] { + return pulumix.Output[*TypePrimitive]{ + OutputState: o.OutputState, + } +} + func (o TypePrimitivePtrOutput) Elem() TypePrimitiveOutput { return o.ApplyT(func(v *TypePrimitive) TypePrimitive { if v != nil { @@ -3432,6 +3787,12 @@ func (in *typePrimitivePtr) ToTypePrimitivePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(TypePrimitivePtrOutput) } +func (in *typePrimitivePtr) ToOutput(ctx context.Context) pulumix.Output[*TypePrimitive] { + return pulumix.Output[*TypePrimitive]{ + OutputState: in.ToTypePrimitivePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AttributeDefinitionCategoryInput)(nil)).Elem(), AttributeDefinitionCategory("CATEGORY_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AttributeDefinitionCategoryPtrInput)(nil)).Elem(), AttributeDefinitionCategory("CATEGORY_UNSPECIFIED")) diff --git a/sdk/go/google/healthcare/v1beta1/pulumiTypes.go b/sdk/go/google/healthcare/v1beta1/pulumiTypes.go index 424ff5a1ac..339e9eb896 100644 --- a/sdk/go/google/healthcare/v1beta1/pulumiTypes.go +++ b/sdk/go/google/healthcare/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -80,6 +81,12 @@ func (i ActionArgs) ToActionOutputWithContext(ctx context.Context) ActionOutput return pulumi.ToOutputWithContext(ctx, i).(ActionOutput) } +func (i ActionArgs) ToOutput(ctx context.Context) pulumix.Output[Action] { + return pulumix.Output[Action]{ + OutputState: i.ToActionOutputWithContext(ctx).OutputState, + } +} + // ActionArrayInput is an input type that accepts ActionArray and ActionArrayOutput values. // You can construct a concrete instance of `ActionArrayInput` via: // @@ -105,6 +112,12 @@ func (i ActionArray) ToActionArrayOutputWithContext(ctx context.Context) ActionA return pulumi.ToOutputWithContext(ctx, i).(ActionArrayOutput) } +func (i ActionArray) ToOutput(ctx context.Context) pulumix.Output[[]Action] { + return pulumix.Output[[]Action]{ + OutputState: i.ToActionArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies a selection of tags and an `Action` to apply to each one. type ActionOutput struct{ *pulumi.OutputState } @@ -120,6 +133,12 @@ func (o ActionOutput) ToActionOutputWithContext(ctx context.Context) ActionOutpu return o } +func (o ActionOutput) ToOutput(ctx context.Context) pulumix.Output[Action] { + return pulumix.Output[Action]{ + OutputState: o.OutputState, + } +} + // Inspect image and transform sensitive burnt-in text. Doesn't apply to elements nested in a sequence, which revert to `Keep`. Supported [tags](http://dicom.nema.org/medical/dicom/2018e/output/chtml/part06/chapter_6.html): PixelData func (o ActionOutput) CleanImageTag() ImageConfigPtrOutput { return o.ApplyT(func(v Action) *ImageConfig { return v.CleanImageTag }).(ImageConfigPtrOutput) @@ -179,6 +198,12 @@ func (o ActionArrayOutput) ToActionArrayOutputWithContext(ctx context.Context) A return o } +func (o ActionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Action] { + return pulumix.Output[[]Action]{ + OutputState: o.OutputState, + } +} + func (o ActionArrayOutput) Index(i pulumi.IntInput) ActionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Action { return vs[0].([]Action)[vs[1].(int)] @@ -222,6 +247,12 @@ func (o ActionResponseOutput) ToActionResponseOutputWithContext(ctx context.Cont return o } +func (o ActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ActionResponse] { + return pulumix.Output[ActionResponse]{ + OutputState: o.OutputState, + } +} + // Inspect image and transform sensitive burnt-in text. Doesn't apply to elements nested in a sequence, which revert to `Keep`. Supported [tags](http://dicom.nema.org/medical/dicom/2018e/output/chtml/part06/chapter_6.html): PixelData func (o ActionResponseOutput) CleanImageTag() ImageConfigResponseOutput { return o.ApplyT(func(v ActionResponse) ImageConfigResponse { return v.CleanImageTag }).(ImageConfigResponseOutput) @@ -281,6 +312,12 @@ func (o ActionResponseArrayOutput) ToActionResponseArrayOutputWithContext(ctx co return o } +func (o ActionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ActionResponse] { + return pulumix.Output[[]ActionResponse]{ + OutputState: o.OutputState, + } +} + func (o ActionResponseArrayOutput) Index(i pulumi.IntInput) ActionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ActionResponse { return vs[0].([]ActionResponse)[vs[1].(int)] @@ -326,6 +363,12 @@ func (i AnnotationConfigArgs) ToAnnotationConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AnnotationConfigOutput) } +func (i AnnotationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AnnotationConfig] { + return pulumix.Output[AnnotationConfig]{ + OutputState: i.ToAnnotationConfigOutputWithContext(ctx).OutputState, + } +} + func (i AnnotationConfigArgs) ToAnnotationConfigPtrOutput() AnnotationConfigPtrOutput { return i.ToAnnotationConfigPtrOutputWithContext(context.Background()) } @@ -367,6 +410,12 @@ func (i *annotationConfigPtrType) ToAnnotationConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AnnotationConfigPtrOutput) } +func (i *annotationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnnotationConfig] { + return pulumix.Output[*AnnotationConfig]{ + OutputState: i.ToAnnotationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to store annotations during de-identification operation. type AnnotationConfigOutput struct{ *pulumi.OutputState } @@ -392,6 +441,12 @@ func (o AnnotationConfigOutput) ToAnnotationConfigPtrOutputWithContext(ctx conte }).(AnnotationConfigPtrOutput) } +func (o AnnotationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AnnotationConfig] { + return pulumix.Output[AnnotationConfig]{ + OutputState: o.OutputState, + } +} + // The name of the annotation store, in the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}`). * The destination annotation store must be in the same project as the source data. De-identifying data across multiple projects is not supported. * The destination annotation store must exist when using DeidentifyDicomStore or DeidentifyFhirStore. DeidentifyDataset automatically creates the destination annotation store. func (o AnnotationConfigOutput) AnnotationStoreName() pulumi.StringPtrOutput { return o.ApplyT(func(v AnnotationConfig) *string { return v.AnnotationStoreName }).(pulumi.StringPtrOutput) @@ -416,6 +471,12 @@ func (o AnnotationConfigPtrOutput) ToAnnotationConfigPtrOutputWithContext(ctx co return o } +func (o AnnotationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnnotationConfig] { + return pulumix.Output[*AnnotationConfig]{ + OutputState: o.OutputState, + } +} + func (o AnnotationConfigPtrOutput) Elem() AnnotationConfigOutput { return o.ApplyT(func(v *AnnotationConfig) AnnotationConfig { if v != nil { @@ -469,6 +530,12 @@ func (o AnnotationConfigResponseOutput) ToAnnotationConfigResponseOutputWithCont return o } +func (o AnnotationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnnotationConfigResponse] { + return pulumix.Output[AnnotationConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the annotation store, in the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}`). * The destination annotation store must be in the same project as the source data. De-identifying data across multiple projects is not supported. * The destination annotation store must exist when using DeidentifyDicomStore or DeidentifyFhirStore. DeidentifyDataset automatically creates the destination annotation store. func (o AnnotationConfigResponseOutput) AnnotationStoreName() pulumi.StringOutput { return o.ApplyT(func(v AnnotationConfigResponse) string { return v.AnnotationStoreName }).(pulumi.StringOutput) @@ -514,6 +581,12 @@ func (i AnnotationSourceArgs) ToAnnotationSourceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AnnotationSourceOutput) } +func (i AnnotationSourceArgs) ToOutput(ctx context.Context) pulumix.Output[AnnotationSource] { + return pulumix.Output[AnnotationSource]{ + OutputState: i.ToAnnotationSourceOutputWithContext(ctx).OutputState, + } +} + func (i AnnotationSourceArgs) ToAnnotationSourcePtrOutput() AnnotationSourcePtrOutput { return i.ToAnnotationSourcePtrOutputWithContext(context.Background()) } @@ -555,6 +628,12 @@ func (i *annotationSourcePtrType) ToAnnotationSourcePtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AnnotationSourcePtrOutput) } +func (i *annotationSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*AnnotationSource] { + return pulumix.Output[*AnnotationSource]{ + OutputState: i.ToAnnotationSourcePtrOutputWithContext(ctx).OutputState, + } +} + // AnnotationSource holds the source information of the annotation. type AnnotationSourceOutput struct{ *pulumi.OutputState } @@ -580,6 +659,12 @@ func (o AnnotationSourceOutput) ToAnnotationSourcePtrOutputWithContext(ctx conte }).(AnnotationSourcePtrOutput) } +func (o AnnotationSourceOutput) ToOutput(ctx context.Context) pulumix.Output[AnnotationSource] { + return pulumix.Output[AnnotationSource]{ + OutputState: o.OutputState, + } +} + // Cloud Healthcare API resource. func (o AnnotationSourceOutput) CloudHealthcareSource() CloudHealthcareSourcePtrOutput { return o.ApplyT(func(v AnnotationSource) *CloudHealthcareSource { return v.CloudHealthcareSource }).(CloudHealthcareSourcePtrOutput) @@ -599,6 +684,12 @@ func (o AnnotationSourcePtrOutput) ToAnnotationSourcePtrOutputWithContext(ctx co return o } +func (o AnnotationSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnnotationSource] { + return pulumix.Output[*AnnotationSource]{ + OutputState: o.OutputState, + } +} + func (o AnnotationSourcePtrOutput) Elem() AnnotationSourceOutput { return o.ApplyT(func(v *AnnotationSource) AnnotationSource { if v != nil { @@ -640,6 +731,12 @@ func (o AnnotationSourceResponseOutput) ToAnnotationSourceResponseOutputWithCont return o } +func (o AnnotationSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnnotationSourceResponse] { + return pulumix.Output[AnnotationSourceResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Healthcare API resource. func (o AnnotationSourceResponseOutput) CloudHealthcareSource() CloudHealthcareSourceResponseOutput { return o.ApplyT(func(v AnnotationSourceResponse) CloudHealthcareSourceResponse { return v.CloudHealthcareSource }).(CloudHealthcareSourceResponseOutput) @@ -684,6 +781,12 @@ func (i AttributeArgs) ToAttributeOutputWithContext(ctx context.Context) Attribu return pulumi.ToOutputWithContext(ctx, i).(AttributeOutput) } +func (i AttributeArgs) ToOutput(ctx context.Context) pulumix.Output[Attribute] { + return pulumix.Output[Attribute]{ + OutputState: i.ToAttributeOutputWithContext(ctx).OutputState, + } +} + // AttributeArrayInput is an input type that accepts AttributeArray and AttributeArrayOutput values. // You can construct a concrete instance of `AttributeArrayInput` via: // @@ -709,6 +812,12 @@ func (i AttributeArray) ToAttributeArrayOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AttributeArrayOutput) } +func (i AttributeArray) ToOutput(ctx context.Context) pulumix.Output[[]Attribute] { + return pulumix.Output[[]Attribute]{ + OutputState: i.ToAttributeArrayOutputWithContext(ctx).OutputState, + } +} + // An attribute value for a Consent or User data mapping. Each Attribute must have a corresponding AttributeDefinition in the consent store that defines the default and allowed values. type AttributeOutput struct{ *pulumi.OutputState } @@ -724,6 +833,12 @@ func (o AttributeOutput) ToAttributeOutputWithContext(ctx context.Context) Attri return o } +func (o AttributeOutput) ToOutput(ctx context.Context) pulumix.Output[Attribute] { + return pulumix.Output[Attribute]{ + OutputState: o.OutputState, + } +} + // Indicates the name of an attribute defined in the consent store. func (o AttributeOutput) AttributeDefinitionId() pulumi.StringPtrOutput { return o.ApplyT(func(v Attribute) *string { return v.AttributeDefinitionId }).(pulumi.StringPtrOutput) @@ -748,6 +863,12 @@ func (o AttributeArrayOutput) ToAttributeArrayOutputWithContext(ctx context.Cont return o } +func (o AttributeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Attribute] { + return pulumix.Output[[]Attribute]{ + OutputState: o.OutputState, + } +} + func (o AttributeArrayOutput) Index(i pulumi.IntInput) AttributeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Attribute { return vs[0].([]Attribute)[vs[1].(int)] @@ -777,6 +898,12 @@ func (o AttributeResponseOutput) ToAttributeResponseOutputWithContext(ctx contex return o } +func (o AttributeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttributeResponse] { + return pulumix.Output[AttributeResponse]{ + OutputState: o.OutputState, + } +} + // Indicates the name of an attribute defined in the consent store. func (o AttributeResponseOutput) AttributeDefinitionId() pulumi.StringOutput { return o.ApplyT(func(v AttributeResponse) string { return v.AttributeDefinitionId }).(pulumi.StringOutput) @@ -801,6 +928,12 @@ func (o AttributeResponseArrayOutput) ToAttributeResponseArrayOutputWithContext( return o } +func (o AttributeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttributeResponse] { + return pulumix.Output[[]AttributeResponse]{ + OutputState: o.OutputState, + } +} + func (o AttributeResponseArrayOutput) Index(i pulumi.IntInput) AttributeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttributeResponse { return vs[0].([]AttributeResponse)[vs[1].(int)] @@ -846,6 +979,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -871,6 +1010,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -886,6 +1031,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -910,6 +1061,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -939,6 +1096,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -963,6 +1126,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -1008,6 +1177,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -1033,6 +1208,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -1048,6 +1229,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -1072,6 +1259,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -1101,6 +1294,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -1125,6 +1324,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -1174,6 +1379,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -1199,6 +1410,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -1214,6 +1431,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -1243,6 +1466,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -1274,6 +1503,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1303,6 +1538,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -1348,6 +1589,12 @@ func (i BoundingPolyArgs) ToBoundingPolyOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BoundingPolyOutput) } +func (i BoundingPolyArgs) ToOutput(ctx context.Context) pulumix.Output[BoundingPoly] { + return pulumix.Output[BoundingPoly]{ + OutputState: i.ToBoundingPolyOutputWithContext(ctx).OutputState, + } +} + // BoundingPolyArrayInput is an input type that accepts BoundingPolyArray and BoundingPolyArrayOutput values. // You can construct a concrete instance of `BoundingPolyArrayInput` via: // @@ -1373,6 +1620,12 @@ func (i BoundingPolyArray) ToBoundingPolyArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BoundingPolyArrayOutput) } +func (i BoundingPolyArray) ToOutput(ctx context.Context) pulumix.Output[[]BoundingPoly] { + return pulumix.Output[[]BoundingPoly]{ + OutputState: i.ToBoundingPolyArrayOutputWithContext(ctx).OutputState, + } +} + // A bounding polygon for the detected image annotation. type BoundingPolyOutput struct{ *pulumi.OutputState } @@ -1388,6 +1641,12 @@ func (o BoundingPolyOutput) ToBoundingPolyOutputWithContext(ctx context.Context) return o } +func (o BoundingPolyOutput) ToOutput(ctx context.Context) pulumix.Output[BoundingPoly] { + return pulumix.Output[BoundingPoly]{ + OutputState: o.OutputState, + } +} + // A description of this polygon. func (o BoundingPolyOutput) Label() pulumi.StringPtrOutput { return o.ApplyT(func(v BoundingPoly) *string { return v.Label }).(pulumi.StringPtrOutput) @@ -1412,6 +1671,12 @@ func (o BoundingPolyArrayOutput) ToBoundingPolyArrayOutputWithContext(ctx contex return o } +func (o BoundingPolyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BoundingPoly] { + return pulumix.Output[[]BoundingPoly]{ + OutputState: o.OutputState, + } +} + func (o BoundingPolyArrayOutput) Index(i pulumi.IntInput) BoundingPolyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BoundingPoly { return vs[0].([]BoundingPoly)[vs[1].(int)] @@ -1441,6 +1706,12 @@ func (o BoundingPolyResponseOutput) ToBoundingPolyResponseOutputWithContext(ctx return o } +func (o BoundingPolyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BoundingPolyResponse] { + return pulumix.Output[BoundingPolyResponse]{ + OutputState: o.OutputState, + } +} + // A description of this polygon. func (o BoundingPolyResponseOutput) Label() pulumi.StringOutput { return o.ApplyT(func(v BoundingPolyResponse) string { return v.Label }).(pulumi.StringOutput) @@ -1465,6 +1736,12 @@ func (o BoundingPolyResponseArrayOutput) ToBoundingPolyResponseArrayOutputWithCo return o } +func (o BoundingPolyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BoundingPolyResponse] { + return pulumix.Output[[]BoundingPolyResponse]{ + OutputState: o.OutputState, + } +} + func (o BoundingPolyResponseArrayOutput) Index(i pulumi.IntInput) BoundingPolyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BoundingPolyResponse { return vs[0].([]BoundingPolyResponse)[vs[1].(int)] @@ -1506,6 +1783,12 @@ func (i CharacterMaskConfigArgs) ToCharacterMaskConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(CharacterMaskConfigOutput) } +func (i CharacterMaskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CharacterMaskConfig] { + return pulumix.Output[CharacterMaskConfig]{ + OutputState: i.ToCharacterMaskConfigOutputWithContext(ctx).OutputState, + } +} + func (i CharacterMaskConfigArgs) ToCharacterMaskConfigPtrOutput() CharacterMaskConfigPtrOutput { return i.ToCharacterMaskConfigPtrOutputWithContext(context.Background()) } @@ -1547,6 +1830,12 @@ func (i *characterMaskConfigPtrType) ToCharacterMaskConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(CharacterMaskConfigPtrOutput) } +func (i *characterMaskConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CharacterMaskConfig] { + return pulumix.Output[*CharacterMaskConfig]{ + OutputState: i.ToCharacterMaskConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Mask a string by replacing its characters with a fixed character. type CharacterMaskConfigOutput struct{ *pulumi.OutputState } @@ -1572,6 +1861,12 @@ func (o CharacterMaskConfigOutput) ToCharacterMaskConfigPtrOutputWithContext(ctx }).(CharacterMaskConfigPtrOutput) } +func (o CharacterMaskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CharacterMaskConfig] { + return pulumix.Output[CharacterMaskConfig]{ + OutputState: o.OutputState, + } +} + // Character to mask the sensitive values. If not supplied, defaults to "*". func (o CharacterMaskConfigOutput) MaskingCharacter() pulumi.StringPtrOutput { return o.ApplyT(func(v CharacterMaskConfig) *string { return v.MaskingCharacter }).(pulumi.StringPtrOutput) @@ -1591,6 +1886,12 @@ func (o CharacterMaskConfigPtrOutput) ToCharacterMaskConfigPtrOutputWithContext( return o } +func (o CharacterMaskConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CharacterMaskConfig] { + return pulumix.Output[*CharacterMaskConfig]{ + OutputState: o.OutputState, + } +} + func (o CharacterMaskConfigPtrOutput) Elem() CharacterMaskConfigOutput { return o.ApplyT(func(v *CharacterMaskConfig) CharacterMaskConfig { if v != nil { @@ -1632,6 +1933,12 @@ func (o CharacterMaskConfigResponseOutput) ToCharacterMaskConfigResponseOutputWi return o } +func (o CharacterMaskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CharacterMaskConfigResponse] { + return pulumix.Output[CharacterMaskConfigResponse]{ + OutputState: o.OutputState, + } +} + // Character to mask the sensitive values. If not supplied, defaults to "*". func (o CharacterMaskConfigResponseOutput) MaskingCharacter() pulumi.StringOutput { return o.ApplyT(func(v CharacterMaskConfigResponse) string { return v.MaskingCharacter }).(pulumi.StringOutput) @@ -1668,6 +1975,12 @@ func (i CharacterMaskFieldArgs) ToCharacterMaskFieldOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CharacterMaskFieldOutput) } +func (i CharacterMaskFieldArgs) ToOutput(ctx context.Context) pulumix.Output[CharacterMaskField] { + return pulumix.Output[CharacterMaskField]{ + OutputState: i.ToCharacterMaskFieldOutputWithContext(ctx).OutputState, + } +} + func (i CharacterMaskFieldArgs) ToCharacterMaskFieldPtrOutput() CharacterMaskFieldPtrOutput { return i.ToCharacterMaskFieldPtrOutputWithContext(context.Background()) } @@ -1709,6 +2022,12 @@ func (i *characterMaskFieldPtrType) ToCharacterMaskFieldPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CharacterMaskFieldPtrOutput) } +func (i *characterMaskFieldPtrType) ToOutput(ctx context.Context) pulumix.Output[*CharacterMaskField] { + return pulumix.Output[*CharacterMaskField]{ + OutputState: i.ToCharacterMaskFieldPtrOutputWithContext(ctx).OutputState, + } +} + // Replace field value with masking character. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml type CharacterMaskFieldOutput struct{ *pulumi.OutputState } @@ -1734,6 +2053,12 @@ func (o CharacterMaskFieldOutput) ToCharacterMaskFieldPtrOutputWithContext(ctx c }).(CharacterMaskFieldPtrOutput) } +func (o CharacterMaskFieldOutput) ToOutput(ctx context.Context) pulumix.Output[CharacterMaskField] { + return pulumix.Output[CharacterMaskField]{ + OutputState: o.OutputState, + } +} + type CharacterMaskFieldPtrOutput struct{ *pulumi.OutputState } func (CharacterMaskFieldPtrOutput) ElementType() reflect.Type { @@ -1748,6 +2073,12 @@ func (o CharacterMaskFieldPtrOutput) ToCharacterMaskFieldPtrOutputWithContext(ct return o } +func (o CharacterMaskFieldPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CharacterMaskField] { + return pulumix.Output[*CharacterMaskField]{ + OutputState: o.OutputState, + } +} + func (o CharacterMaskFieldPtrOutput) Elem() CharacterMaskFieldOutput { return o.ApplyT(func(v *CharacterMaskField) CharacterMaskField { if v != nil { @@ -1777,6 +2108,12 @@ func (o CharacterMaskFieldResponseOutput) ToCharacterMaskFieldResponseOutputWith return o } +func (o CharacterMaskFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CharacterMaskFieldResponse] { + return pulumix.Output[CharacterMaskFieldResponse]{ + OutputState: o.OutputState, + } +} + // This option is based on the DICOM Standard's [Clean Descriptors Option](http://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/sect_E.3.5.html), and the `CleanText` `Action` is applied to all the specified fields. When cleaning text, the process attempts to transform phrases matching any of the tags marked for removal (action codes D, Z, X, and U) in the [Basic Profile](http://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html). These contextual phrases are replaced with the token "[CTX]". This option uses an additional `InfoType` during inspection. type CleanDescriptorsOption struct { } @@ -1808,6 +2145,12 @@ func (i CleanDescriptorsOptionArgs) ToCleanDescriptorsOptionOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(CleanDescriptorsOptionOutput) } +func (i CleanDescriptorsOptionArgs) ToOutput(ctx context.Context) pulumix.Output[CleanDescriptorsOption] { + return pulumix.Output[CleanDescriptorsOption]{ + OutputState: i.ToCleanDescriptorsOptionOutputWithContext(ctx).OutputState, + } +} + func (i CleanDescriptorsOptionArgs) ToCleanDescriptorsOptionPtrOutput() CleanDescriptorsOptionPtrOutput { return i.ToCleanDescriptorsOptionPtrOutputWithContext(context.Background()) } @@ -1849,6 +2192,12 @@ func (i *cleanDescriptorsOptionPtrType) ToCleanDescriptorsOptionPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(CleanDescriptorsOptionPtrOutput) } +func (i *cleanDescriptorsOptionPtrType) ToOutput(ctx context.Context) pulumix.Output[*CleanDescriptorsOption] { + return pulumix.Output[*CleanDescriptorsOption]{ + OutputState: i.ToCleanDescriptorsOptionPtrOutputWithContext(ctx).OutputState, + } +} + // This option is based on the DICOM Standard's [Clean Descriptors Option](http://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/sect_E.3.5.html), and the `CleanText` `Action` is applied to all the specified fields. When cleaning text, the process attempts to transform phrases matching any of the tags marked for removal (action codes D, Z, X, and U) in the [Basic Profile](http://dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html). These contextual phrases are replaced with the token "[CTX]". This option uses an additional `InfoType` during inspection. type CleanDescriptorsOptionOutput struct{ *pulumi.OutputState } @@ -1874,6 +2223,12 @@ func (o CleanDescriptorsOptionOutput) ToCleanDescriptorsOptionPtrOutputWithConte }).(CleanDescriptorsOptionPtrOutput) } +func (o CleanDescriptorsOptionOutput) ToOutput(ctx context.Context) pulumix.Output[CleanDescriptorsOption] { + return pulumix.Output[CleanDescriptorsOption]{ + OutputState: o.OutputState, + } +} + type CleanDescriptorsOptionPtrOutput struct{ *pulumi.OutputState } func (CleanDescriptorsOptionPtrOutput) ElementType() reflect.Type { @@ -1888,6 +2243,12 @@ func (o CleanDescriptorsOptionPtrOutput) ToCleanDescriptorsOptionPtrOutputWithCo return o } +func (o CleanDescriptorsOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CleanDescriptorsOption] { + return pulumix.Output[*CleanDescriptorsOption]{ + OutputState: o.OutputState, + } +} + func (o CleanDescriptorsOptionPtrOutput) Elem() CleanDescriptorsOptionOutput { return o.ApplyT(func(v *CleanDescriptorsOption) CleanDescriptorsOption { if v != nil { @@ -1917,6 +2278,12 @@ func (o CleanDescriptorsOptionResponseOutput) ToCleanDescriptorsOptionResponseOu return o } +func (o CleanDescriptorsOptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CleanDescriptorsOptionResponse] { + return pulumix.Output[CleanDescriptorsOptionResponse]{ + OutputState: o.OutputState, + } +} + // Inspect text and transform sensitive text. Configure using `TextConfig`. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Date, DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml type CleanTextField struct { } @@ -1948,6 +2315,12 @@ func (i CleanTextFieldArgs) ToCleanTextFieldOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CleanTextFieldOutput) } +func (i CleanTextFieldArgs) ToOutput(ctx context.Context) pulumix.Output[CleanTextField] { + return pulumix.Output[CleanTextField]{ + OutputState: i.ToCleanTextFieldOutputWithContext(ctx).OutputState, + } +} + func (i CleanTextFieldArgs) ToCleanTextFieldPtrOutput() CleanTextFieldPtrOutput { return i.ToCleanTextFieldPtrOutputWithContext(context.Background()) } @@ -1989,6 +2362,12 @@ func (i *cleanTextFieldPtrType) ToCleanTextFieldPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CleanTextFieldPtrOutput) } +func (i *cleanTextFieldPtrType) ToOutput(ctx context.Context) pulumix.Output[*CleanTextField] { + return pulumix.Output[*CleanTextField]{ + OutputState: i.ToCleanTextFieldPtrOutputWithContext(ctx).OutputState, + } +} + // Inspect text and transform sensitive text. Configure using `TextConfig`. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Date, DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml type CleanTextFieldOutput struct{ *pulumi.OutputState } @@ -2014,6 +2393,12 @@ func (o CleanTextFieldOutput) ToCleanTextFieldPtrOutputWithContext(ctx context.C }).(CleanTextFieldPtrOutput) } +func (o CleanTextFieldOutput) ToOutput(ctx context.Context) pulumix.Output[CleanTextField] { + return pulumix.Output[CleanTextField]{ + OutputState: o.OutputState, + } +} + type CleanTextFieldPtrOutput struct{ *pulumi.OutputState } func (CleanTextFieldPtrOutput) ElementType() reflect.Type { @@ -2028,6 +2413,12 @@ func (o CleanTextFieldPtrOutput) ToCleanTextFieldPtrOutputWithContext(ctx contex return o } +func (o CleanTextFieldPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CleanTextField] { + return pulumix.Output[*CleanTextField]{ + OutputState: o.OutputState, + } +} + func (o CleanTextFieldPtrOutput) Elem() CleanTextFieldOutput { return o.ApplyT(func(v *CleanTextField) CleanTextField { if v != nil { @@ -2057,6 +2448,12 @@ func (o CleanTextFieldResponseOutput) ToCleanTextFieldResponseOutputWithContext( return o } +func (o CleanTextFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CleanTextFieldResponse] { + return pulumix.Output[CleanTextFieldResponse]{ + OutputState: o.OutputState, + } +} + // Inspect text and transform sensitive text. Configurable using `TextConfig`. Supported [Value Representations] (http://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): AE, LO, LT, PN, SH, ST, UC, UT, DA, DT, AS type CleanTextTag struct { } @@ -2088,6 +2485,12 @@ func (i CleanTextTagArgs) ToCleanTextTagOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CleanTextTagOutput) } +func (i CleanTextTagArgs) ToOutput(ctx context.Context) pulumix.Output[CleanTextTag] { + return pulumix.Output[CleanTextTag]{ + OutputState: i.ToCleanTextTagOutputWithContext(ctx).OutputState, + } +} + func (i CleanTextTagArgs) ToCleanTextTagPtrOutput() CleanTextTagPtrOutput { return i.ToCleanTextTagPtrOutputWithContext(context.Background()) } @@ -2129,6 +2532,12 @@ func (i *cleanTextTagPtrType) ToCleanTextTagPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(CleanTextTagPtrOutput) } +func (i *cleanTextTagPtrType) ToOutput(ctx context.Context) pulumix.Output[*CleanTextTag] { + return pulumix.Output[*CleanTextTag]{ + OutputState: i.ToCleanTextTagPtrOutputWithContext(ctx).OutputState, + } +} + // Inspect text and transform sensitive text. Configurable using `TextConfig`. Supported [Value Representations] (http://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): AE, LO, LT, PN, SH, ST, UC, UT, DA, DT, AS type CleanTextTagOutput struct{ *pulumi.OutputState } @@ -2154,6 +2563,12 @@ func (o CleanTextTagOutput) ToCleanTextTagPtrOutputWithContext(ctx context.Conte }).(CleanTextTagPtrOutput) } +func (o CleanTextTagOutput) ToOutput(ctx context.Context) pulumix.Output[CleanTextTag] { + return pulumix.Output[CleanTextTag]{ + OutputState: o.OutputState, + } +} + type CleanTextTagPtrOutput struct{ *pulumi.OutputState } func (CleanTextTagPtrOutput) ElementType() reflect.Type { @@ -2168,6 +2583,12 @@ func (o CleanTextTagPtrOutput) ToCleanTextTagPtrOutputWithContext(ctx context.Co return o } +func (o CleanTextTagPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CleanTextTag] { + return pulumix.Output[*CleanTextTag]{ + OutputState: o.OutputState, + } +} + func (o CleanTextTagPtrOutput) Elem() CleanTextTagOutput { return o.ApplyT(func(v *CleanTextTag) CleanTextTag { if v != nil { @@ -2197,6 +2618,12 @@ func (o CleanTextTagResponseOutput) ToCleanTextTagResponseOutputWithContext(ctx return o } +func (o CleanTextTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CleanTextTagResponse] { + return pulumix.Output[CleanTextTagResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Healthcare API resource. type CloudHealthcareSource struct { // Full path of a Cloud Healthcare API resource. @@ -2232,6 +2659,12 @@ func (i CloudHealthcareSourceArgs) ToCloudHealthcareSourceOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CloudHealthcareSourceOutput) } +func (i CloudHealthcareSourceArgs) ToOutput(ctx context.Context) pulumix.Output[CloudHealthcareSource] { + return pulumix.Output[CloudHealthcareSource]{ + OutputState: i.ToCloudHealthcareSourceOutputWithContext(ctx).OutputState, + } +} + func (i CloudHealthcareSourceArgs) ToCloudHealthcareSourcePtrOutput() CloudHealthcareSourcePtrOutput { return i.ToCloudHealthcareSourcePtrOutputWithContext(context.Background()) } @@ -2273,6 +2706,12 @@ func (i *cloudHealthcareSourcePtrType) ToCloudHealthcareSourcePtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(CloudHealthcareSourcePtrOutput) } +func (i *cloudHealthcareSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudHealthcareSource] { + return pulumix.Output[*CloudHealthcareSource]{ + OutputState: i.ToCloudHealthcareSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Healthcare API resource. type CloudHealthcareSourceOutput struct{ *pulumi.OutputState } @@ -2298,6 +2737,12 @@ func (o CloudHealthcareSourceOutput) ToCloudHealthcareSourcePtrOutputWithContext }).(CloudHealthcareSourcePtrOutput) } +func (o CloudHealthcareSourceOutput) ToOutput(ctx context.Context) pulumix.Output[CloudHealthcareSource] { + return pulumix.Output[CloudHealthcareSource]{ + OutputState: o.OutputState, + } +} + // Full path of a Cloud Healthcare API resource. func (o CloudHealthcareSourceOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudHealthcareSource) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -2317,6 +2762,12 @@ func (o CloudHealthcareSourcePtrOutput) ToCloudHealthcareSourcePtrOutputWithCont return o } +func (o CloudHealthcareSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudHealthcareSource] { + return pulumix.Output[*CloudHealthcareSource]{ + OutputState: o.OutputState, + } +} + func (o CloudHealthcareSourcePtrOutput) Elem() CloudHealthcareSourceOutput { return o.ApplyT(func(v *CloudHealthcareSource) CloudHealthcareSource { if v != nil { @@ -2358,6 +2809,12 @@ func (o CloudHealthcareSourceResponseOutput) ToCloudHealthcareSourceResponseOutp return o } +func (o CloudHealthcareSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudHealthcareSourceResponse] { + return pulumix.Output[CloudHealthcareSourceResponse]{ + OutputState: o.OutputState, + } +} + // Full path of a Cloud Healthcare API resource. func (o CloudHealthcareSourceResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v CloudHealthcareSourceResponse) string { return v.Name }).(pulumi.StringOutput) @@ -2394,6 +2851,12 @@ func (i ContextualDeidConfigArgs) ToContextualDeidConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ContextualDeidConfigOutput) } +func (i ContextualDeidConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ContextualDeidConfig] { + return pulumix.Output[ContextualDeidConfig]{ + OutputState: i.ToContextualDeidConfigOutputWithContext(ctx).OutputState, + } +} + func (i ContextualDeidConfigArgs) ToContextualDeidConfigPtrOutput() ContextualDeidConfigPtrOutput { return i.ToContextualDeidConfigPtrOutputWithContext(context.Background()) } @@ -2435,6 +2898,12 @@ func (i *contextualDeidConfigPtrType) ToContextualDeidConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ContextualDeidConfigPtrOutput) } +func (i *contextualDeidConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ContextualDeidConfig] { + return pulumix.Output[*ContextualDeidConfig]{ + OutputState: i.ToContextualDeidConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The fields that aren't marked `Keep` or `CleanText` in the `BASIC` profile are collected into a contextual phrase list. For fields marked `CleanText`, the process attempts to transform phrases matching these contextual entries. These contextual phrases are replaced with the token "[CTX]". This feature uses an additional InfoType during inspection. type ContextualDeidConfigOutput struct{ *pulumi.OutputState } @@ -2460,6 +2929,12 @@ func (o ContextualDeidConfigOutput) ToContextualDeidConfigPtrOutputWithContext(c }).(ContextualDeidConfigPtrOutput) } +func (o ContextualDeidConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ContextualDeidConfig] { + return pulumix.Output[ContextualDeidConfig]{ + OutputState: o.OutputState, + } +} + type ContextualDeidConfigPtrOutput struct{ *pulumi.OutputState } func (ContextualDeidConfigPtrOutput) ElementType() reflect.Type { @@ -2474,6 +2949,12 @@ func (o ContextualDeidConfigPtrOutput) ToContextualDeidConfigPtrOutputWithContex return o } +func (o ContextualDeidConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ContextualDeidConfig] { + return pulumix.Output[*ContextualDeidConfig]{ + OutputState: o.OutputState, + } +} + func (o ContextualDeidConfigPtrOutput) Elem() ContextualDeidConfigOutput { return o.ApplyT(func(v *ContextualDeidConfig) ContextualDeidConfig { if v != nil { @@ -2503,6 +2984,12 @@ func (o ContextualDeidConfigResponseOutput) ToContextualDeidConfigResponseOutput return o } +func (o ContextualDeidConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContextualDeidConfigResponse] { + return pulumix.Output[ContextualDeidConfigResponse]{ + OutputState: o.OutputState, + } +} + // Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output. For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`. type CryptoHashConfig struct { // An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set. @@ -2542,6 +3029,12 @@ func (i CryptoHashConfigArgs) ToCryptoHashConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(CryptoHashConfigOutput) } +func (i CryptoHashConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CryptoHashConfig] { + return pulumix.Output[CryptoHashConfig]{ + OutputState: i.ToCryptoHashConfigOutputWithContext(ctx).OutputState, + } +} + func (i CryptoHashConfigArgs) ToCryptoHashConfigPtrOutput() CryptoHashConfigPtrOutput { return i.ToCryptoHashConfigPtrOutputWithContext(context.Background()) } @@ -2583,6 +3076,12 @@ func (i *cryptoHashConfigPtrType) ToCryptoHashConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(CryptoHashConfigPtrOutput) } +func (i *cryptoHashConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CryptoHashConfig] { + return pulumix.Output[*CryptoHashConfig]{ + OutputState: i.ToCryptoHashConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output. For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`. type CryptoHashConfigOutput struct{ *pulumi.OutputState } @@ -2608,6 +3107,12 @@ func (o CryptoHashConfigOutput) ToCryptoHashConfigPtrOutputWithContext(ctx conte }).(CryptoHashConfigPtrOutput) } +func (o CryptoHashConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoHashConfig] { + return pulumix.Output[CryptoHashConfig]{ + OutputState: o.OutputState, + } +} + // An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set. func (o CryptoHashConfigOutput) CryptoKey() pulumi.StringPtrOutput { return o.ApplyT(func(v CryptoHashConfig) *string { return v.CryptoKey }).(pulumi.StringPtrOutput) @@ -2632,6 +3137,12 @@ func (o CryptoHashConfigPtrOutput) ToCryptoHashConfigPtrOutputWithContext(ctx co return o } +func (o CryptoHashConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoHashConfig] { + return pulumix.Output[*CryptoHashConfig]{ + OutputState: o.OutputState, + } +} + func (o CryptoHashConfigPtrOutput) Elem() CryptoHashConfigOutput { return o.ApplyT(func(v *CryptoHashConfig) CryptoHashConfig { if v != nil { @@ -2685,6 +3196,12 @@ func (o CryptoHashConfigResponseOutput) ToCryptoHashConfigResponseOutputWithCont return o } +func (o CryptoHashConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoHashConfigResponse] { + return pulumix.Output[CryptoHashConfigResponse]{ + OutputState: o.OutputState, + } +} + // An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set. func (o CryptoHashConfigResponseOutput) CryptoKey() pulumi.StringOutput { return o.ApplyT(func(v CryptoHashConfigResponse) string { return v.CryptoKey }).(pulumi.StringOutput) @@ -2726,6 +3243,12 @@ func (i CryptoHashFieldArgs) ToCryptoHashFieldOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CryptoHashFieldOutput) } +func (i CryptoHashFieldArgs) ToOutput(ctx context.Context) pulumix.Output[CryptoHashField] { + return pulumix.Output[CryptoHashField]{ + OutputState: i.ToCryptoHashFieldOutputWithContext(ctx).OutputState, + } +} + func (i CryptoHashFieldArgs) ToCryptoHashFieldPtrOutput() CryptoHashFieldPtrOutput { return i.ToCryptoHashFieldPtrOutputWithContext(context.Background()) } @@ -2767,6 +3290,12 @@ func (i *cryptoHashFieldPtrType) ToCryptoHashFieldPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CryptoHashFieldPtrOutput) } +func (i *cryptoHashFieldPtrType) ToOutput(ctx context.Context) pulumix.Output[*CryptoHashField] { + return pulumix.Output[*CryptoHashField]{ + OutputState: i.ToCryptoHashFieldPtrOutputWithContext(ctx).OutputState, + } +} + // Replace field value with a hash of that value. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml type CryptoHashFieldOutput struct{ *pulumi.OutputState } @@ -2792,6 +3321,12 @@ func (o CryptoHashFieldOutput) ToCryptoHashFieldPtrOutputWithContext(ctx context }).(CryptoHashFieldPtrOutput) } +func (o CryptoHashFieldOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoHashField] { + return pulumix.Output[CryptoHashField]{ + OutputState: o.OutputState, + } +} + type CryptoHashFieldPtrOutput struct{ *pulumi.OutputState } func (CryptoHashFieldPtrOutput) ElementType() reflect.Type { @@ -2806,6 +3341,12 @@ func (o CryptoHashFieldPtrOutput) ToCryptoHashFieldPtrOutputWithContext(ctx cont return o } +func (o CryptoHashFieldPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CryptoHashField] { + return pulumix.Output[*CryptoHashField]{ + OutputState: o.OutputState, + } +} + func (o CryptoHashFieldPtrOutput) Elem() CryptoHashFieldOutput { return o.ApplyT(func(v *CryptoHashField) CryptoHashField { if v != nil { @@ -2835,6 +3376,12 @@ func (o CryptoHashFieldResponseOutput) ToCryptoHashFieldResponseOutputWithContex return o } +func (o CryptoHashFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CryptoHashFieldResponse] { + return pulumix.Output[CryptoHashFieldResponse]{ + OutputState: o.OutputState, + } +} + // Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination. type DateShiftConfig struct { // An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If `crypto_key` is not set, then `kms_wrapped` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `kms_wrapped` is set. @@ -2874,6 +3421,12 @@ func (i DateShiftConfigArgs) ToDateShiftConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DateShiftConfigOutput) } +func (i DateShiftConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DateShiftConfig] { + return pulumix.Output[DateShiftConfig]{ + OutputState: i.ToDateShiftConfigOutputWithContext(ctx).OutputState, + } +} + func (i DateShiftConfigArgs) ToDateShiftConfigPtrOutput() DateShiftConfigPtrOutput { return i.ToDateShiftConfigPtrOutputWithContext(context.Background()) } @@ -2915,6 +3468,12 @@ func (i *dateShiftConfigPtrType) ToDateShiftConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DateShiftConfigPtrOutput) } +func (i *dateShiftConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DateShiftConfig] { + return pulumix.Output[*DateShiftConfig]{ + OutputState: i.ToDateShiftConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination. type DateShiftConfigOutput struct{ *pulumi.OutputState } @@ -2940,6 +3499,12 @@ func (o DateShiftConfigOutput) ToDateShiftConfigPtrOutputWithContext(ctx context }).(DateShiftConfigPtrOutput) } +func (o DateShiftConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DateShiftConfig] { + return pulumix.Output[DateShiftConfig]{ + OutputState: o.OutputState, + } +} + // An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If `crypto_key` is not set, then `kms_wrapped` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `kms_wrapped` is set. func (o DateShiftConfigOutput) CryptoKey() pulumi.StringPtrOutput { return o.ApplyT(func(v DateShiftConfig) *string { return v.CryptoKey }).(pulumi.StringPtrOutput) @@ -2964,6 +3529,12 @@ func (o DateShiftConfigPtrOutput) ToDateShiftConfigPtrOutputWithContext(ctx cont return o } +func (o DateShiftConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DateShiftConfig] { + return pulumix.Output[*DateShiftConfig]{ + OutputState: o.OutputState, + } +} + func (o DateShiftConfigPtrOutput) Elem() DateShiftConfigOutput { return o.ApplyT(func(v *DateShiftConfig) DateShiftConfig { if v != nil { @@ -3017,6 +3588,12 @@ func (o DateShiftConfigResponseOutput) ToDateShiftConfigResponseOutputWithContex return o } +func (o DateShiftConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DateShiftConfigResponse] { + return pulumix.Output[DateShiftConfigResponse]{ + OutputState: o.OutputState, + } +} + // An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If `crypto_key` is not set, then `kms_wrapped` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `kms_wrapped` is set. func (o DateShiftConfigResponseOutput) CryptoKey() pulumi.StringOutput { return o.ApplyT(func(v DateShiftConfigResponse) string { return v.CryptoKey }).(pulumi.StringOutput) @@ -3058,6 +3635,12 @@ func (i DateShiftFieldArgs) ToDateShiftFieldOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DateShiftFieldOutput) } +func (i DateShiftFieldArgs) ToOutput(ctx context.Context) pulumix.Output[DateShiftField] { + return pulumix.Output[DateShiftField]{ + OutputState: i.ToDateShiftFieldOutputWithContext(ctx).OutputState, + } +} + func (i DateShiftFieldArgs) ToDateShiftFieldPtrOutput() DateShiftFieldPtrOutput { return i.ToDateShiftFieldPtrOutputWithContext(context.Background()) } @@ -3099,6 +3682,12 @@ func (i *dateShiftFieldPtrType) ToDateShiftFieldPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DateShiftFieldPtrOutput) } +func (i *dateShiftFieldPtrType) ToOutput(ctx context.Context) pulumix.Output[*DateShiftField] { + return pulumix.Output[*DateShiftField]{ + OutputState: i.ToDateShiftFieldPtrOutputWithContext(ctx).OutputState, + } +} + // Shift the date by a randomized number of days. See [date shifting](https://cloud.google.com/dlp/docs/concepts-date-shifting) for more information. Supported [types](https://www.hl7.org/fhir/datatypes.html): Date, DateTime type DateShiftFieldOutput struct{ *pulumi.OutputState } @@ -3124,6 +3713,12 @@ func (o DateShiftFieldOutput) ToDateShiftFieldPtrOutputWithContext(ctx context.C }).(DateShiftFieldPtrOutput) } +func (o DateShiftFieldOutput) ToOutput(ctx context.Context) pulumix.Output[DateShiftField] { + return pulumix.Output[DateShiftField]{ + OutputState: o.OutputState, + } +} + type DateShiftFieldPtrOutput struct{ *pulumi.OutputState } func (DateShiftFieldPtrOutput) ElementType() reflect.Type { @@ -3138,6 +3733,12 @@ func (o DateShiftFieldPtrOutput) ToDateShiftFieldPtrOutputWithContext(ctx contex return o } +func (o DateShiftFieldPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DateShiftField] { + return pulumix.Output[*DateShiftField]{ + OutputState: o.OutputState, + } +} + func (o DateShiftFieldPtrOutput) Elem() DateShiftFieldOutput { return o.ApplyT(func(v *DateShiftField) DateShiftField { if v != nil { @@ -3167,6 +3768,12 @@ func (o DateShiftFieldResponseOutput) ToDateShiftFieldResponseOutputWithContext( return o } +func (o DateShiftFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DateShiftFieldResponse] { + return pulumix.Output[DateShiftFieldResponse]{ + OutputState: o.OutputState, + } +} + // Contains configuration for streaming de-identified FHIR export. type DeidentifiedStoreDestination struct { // The configuration to use when de-identifying resources that are added to this store. @@ -3206,6 +3813,12 @@ func (i DeidentifiedStoreDestinationArgs) ToDeidentifiedStoreDestinationOutputWi return pulumi.ToOutputWithContext(ctx, i).(DeidentifiedStoreDestinationOutput) } +func (i DeidentifiedStoreDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[DeidentifiedStoreDestination] { + return pulumix.Output[DeidentifiedStoreDestination]{ + OutputState: i.ToDeidentifiedStoreDestinationOutputWithContext(ctx).OutputState, + } +} + func (i DeidentifiedStoreDestinationArgs) ToDeidentifiedStoreDestinationPtrOutput() DeidentifiedStoreDestinationPtrOutput { return i.ToDeidentifiedStoreDestinationPtrOutputWithContext(context.Background()) } @@ -3247,6 +3860,12 @@ func (i *deidentifiedStoreDestinationPtrType) ToDeidentifiedStoreDestinationPtrO return pulumi.ToOutputWithContext(ctx, i).(DeidentifiedStoreDestinationPtrOutput) } +func (i *deidentifiedStoreDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeidentifiedStoreDestination] { + return pulumix.Output[*DeidentifiedStoreDestination]{ + OutputState: i.ToDeidentifiedStoreDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // Contains configuration for streaming de-identified FHIR export. type DeidentifiedStoreDestinationOutput struct{ *pulumi.OutputState } @@ -3272,6 +3891,12 @@ func (o DeidentifiedStoreDestinationOutput) ToDeidentifiedStoreDestinationPtrOut }).(DeidentifiedStoreDestinationPtrOutput) } +func (o DeidentifiedStoreDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[DeidentifiedStoreDestination] { + return pulumix.Output[DeidentifiedStoreDestination]{ + OutputState: o.OutputState, + } +} + // The configuration to use when de-identifying resources that are added to this store. func (o DeidentifiedStoreDestinationOutput) Config() DeidentifyConfigPtrOutput { return o.ApplyT(func(v DeidentifiedStoreDestination) *DeidentifyConfig { return v.Config }).(DeidentifyConfigPtrOutput) @@ -3296,6 +3921,12 @@ func (o DeidentifiedStoreDestinationPtrOutput) ToDeidentifiedStoreDestinationPtr return o } +func (o DeidentifiedStoreDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeidentifiedStoreDestination] { + return pulumix.Output[*DeidentifiedStoreDestination]{ + OutputState: o.OutputState, + } +} + func (o DeidentifiedStoreDestinationPtrOutput) Elem() DeidentifiedStoreDestinationOutput { return o.ApplyT(func(v *DeidentifiedStoreDestination) DeidentifiedStoreDestination { if v != nil { @@ -3349,6 +3980,12 @@ func (o DeidentifiedStoreDestinationResponseOutput) ToDeidentifiedStoreDestinati return o } +func (o DeidentifiedStoreDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeidentifiedStoreDestinationResponse] { + return pulumix.Output[DeidentifiedStoreDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The configuration to use when de-identifying resources that are added to this store. func (o DeidentifiedStoreDestinationResponseOutput) Config() DeidentifyConfigResponseOutput { return o.ApplyT(func(v DeidentifiedStoreDestinationResponse) DeidentifyConfigResponse { return v.Config }).(DeidentifyConfigResponseOutput) @@ -3438,6 +4075,12 @@ func (i DeidentifyConfigArgs) ToDeidentifyConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DeidentifyConfigOutput) } +func (i DeidentifyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DeidentifyConfig] { + return pulumix.Output[DeidentifyConfig]{ + OutputState: i.ToDeidentifyConfigOutputWithContext(ctx).OutputState, + } +} + func (i DeidentifyConfigArgs) ToDeidentifyConfigPtrOutput() DeidentifyConfigPtrOutput { return i.ToDeidentifyConfigPtrOutputWithContext(context.Background()) } @@ -3479,6 +4122,12 @@ func (i *deidentifyConfigPtrType) ToDeidentifyConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DeidentifyConfigPtrOutput) } +func (i *deidentifyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeidentifyConfig] { + return pulumix.Output[*DeidentifyConfig]{ + OutputState: i.ToDeidentifyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configures de-id options specific to different types of content. Each submessage customizes the handling of an https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are applied in a nested manner at runtime. type DeidentifyConfigOutput struct{ *pulumi.OutputState } @@ -3504,6 +4153,12 @@ func (o DeidentifyConfigOutput) ToDeidentifyConfigPtrOutputWithContext(ctx conte }).(DeidentifyConfigPtrOutput) } +func (o DeidentifyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DeidentifyConfig] { + return pulumix.Output[DeidentifyConfig]{ + OutputState: o.OutputState, + } +} + // Configures how annotations, meaning that the location and infoType of sensitive information findings, are created during de-identification. If unspecified, no annotations are created. func (o DeidentifyConfigOutput) Annotation() AnnotationConfigPtrOutput { return o.ApplyT(func(v DeidentifyConfig) *AnnotationConfig { return v.Annotation }).(AnnotationConfigPtrOutput) @@ -3569,6 +4224,12 @@ func (o DeidentifyConfigPtrOutput) ToDeidentifyConfigPtrOutputWithContext(ctx co return o } +func (o DeidentifyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeidentifyConfig] { + return pulumix.Output[*DeidentifyConfig]{ + OutputState: o.OutputState, + } +} + func (o DeidentifyConfigPtrOutput) Elem() DeidentifyConfigOutput { return o.ApplyT(func(v *DeidentifyConfig) DeidentifyConfig { if v != nil { @@ -3718,6 +4379,12 @@ func (o DeidentifyConfigResponseOutput) ToDeidentifyConfigResponseOutputWithCont return o } +func (o DeidentifyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeidentifyConfigResponse] { + return pulumix.Output[DeidentifyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configures how annotations, meaning that the location and infoType of sensitive information findings, are created during de-identification. If unspecified, no annotations are created. func (o DeidentifyConfigResponseOutput) Annotation() AnnotationConfigResponseOutput { return o.ApplyT(func(v DeidentifyConfigResponse) AnnotationConfigResponse { return v.Annotation }).(AnnotationConfigResponseOutput) @@ -3804,6 +4471,12 @@ func (i DeidentifyOperationMetadataArgs) ToDeidentifyOperationMetadataOutputWith return pulumi.ToOutputWithContext(ctx, i).(DeidentifyOperationMetadataOutput) } +func (i DeidentifyOperationMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[DeidentifyOperationMetadata] { + return pulumix.Output[DeidentifyOperationMetadata]{ + OutputState: i.ToDeidentifyOperationMetadataOutputWithContext(ctx).OutputState, + } +} + func (i DeidentifyOperationMetadataArgs) ToDeidentifyOperationMetadataPtrOutput() DeidentifyOperationMetadataPtrOutput { return i.ToDeidentifyOperationMetadataPtrOutputWithContext(context.Background()) } @@ -3845,6 +4518,12 @@ func (i *deidentifyOperationMetadataPtrType) ToDeidentifyOperationMetadataPtrOut return pulumi.ToOutputWithContext(ctx, i).(DeidentifyOperationMetadataPtrOutput) } +func (i *deidentifyOperationMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeidentifyOperationMetadata] { + return pulumix.Output[*DeidentifyOperationMetadata]{ + OutputState: i.ToDeidentifyOperationMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Details about the work the de-identify operation performed. type DeidentifyOperationMetadataOutput struct{ *pulumi.OutputState } @@ -3870,6 +4549,12 @@ func (o DeidentifyOperationMetadataOutput) ToDeidentifyOperationMetadataPtrOutpu }).(DeidentifyOperationMetadataPtrOutput) } +func (o DeidentifyOperationMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[DeidentifyOperationMetadata] { + return pulumix.Output[DeidentifyOperationMetadata]{ + OutputState: o.OutputState, + } +} + // Details about the FHIR store to write the output to. func (o DeidentifyOperationMetadataOutput) FhirOutput() FhirOutputPtrOutput { return o.ApplyT(func(v DeidentifyOperationMetadata) *FhirOutput { return v.FhirOutput }).(FhirOutputPtrOutput) @@ -3889,6 +4574,12 @@ func (o DeidentifyOperationMetadataPtrOutput) ToDeidentifyOperationMetadataPtrOu return o } +func (o DeidentifyOperationMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeidentifyOperationMetadata] { + return pulumix.Output[*DeidentifyOperationMetadata]{ + OutputState: o.OutputState, + } +} + func (o DeidentifyOperationMetadataPtrOutput) Elem() DeidentifyOperationMetadataOutput { return o.ApplyT(func(v *DeidentifyOperationMetadata) DeidentifyOperationMetadata { if v != nil { @@ -3930,6 +4621,12 @@ func (o DeidentifyOperationMetadataResponseOutput) ToDeidentifyOperationMetadata return o } +func (o DeidentifyOperationMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeidentifyOperationMetadataResponse] { + return pulumix.Output[DeidentifyOperationMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Details about the FHIR store to write the output to. func (o DeidentifyOperationMetadataResponseOutput) FhirOutput() FhirOutputResponseOutput { return o.ApplyT(func(v DeidentifyOperationMetadataResponse) FhirOutputResponse { return v.FhirOutput }).(FhirOutputResponseOutput) @@ -3966,6 +4663,12 @@ func (i DeleteTagArgs) ToDeleteTagOutputWithContext(ctx context.Context) DeleteT return pulumi.ToOutputWithContext(ctx, i).(DeleteTagOutput) } +func (i DeleteTagArgs) ToOutput(ctx context.Context) pulumix.Output[DeleteTag] { + return pulumix.Output[DeleteTag]{ + OutputState: i.ToDeleteTagOutputWithContext(ctx).OutputState, + } +} + func (i DeleteTagArgs) ToDeleteTagPtrOutput() DeleteTagPtrOutput { return i.ToDeleteTagPtrOutputWithContext(context.Background()) } @@ -4007,6 +4710,12 @@ func (i *deleteTagPtrType) ToDeleteTagPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DeleteTagPtrOutput) } +func (i *deleteTagPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeleteTag] { + return pulumix.Output[*DeleteTag]{ + OutputState: i.ToDeleteTagPtrOutputWithContext(ctx).OutputState, + } +} + // Delete tag. type DeleteTagOutput struct{ *pulumi.OutputState } @@ -4032,6 +4741,12 @@ func (o DeleteTagOutput) ToDeleteTagPtrOutputWithContext(ctx context.Context) De }).(DeleteTagPtrOutput) } +func (o DeleteTagOutput) ToOutput(ctx context.Context) pulumix.Output[DeleteTag] { + return pulumix.Output[DeleteTag]{ + OutputState: o.OutputState, + } +} + type DeleteTagPtrOutput struct{ *pulumi.OutputState } func (DeleteTagPtrOutput) ElementType() reflect.Type { @@ -4046,6 +4761,12 @@ func (o DeleteTagPtrOutput) ToDeleteTagPtrOutputWithContext(ctx context.Context) return o } +func (o DeleteTagPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeleteTag] { + return pulumix.Output[*DeleteTag]{ + OutputState: o.OutputState, + } +} + func (o DeleteTagPtrOutput) Elem() DeleteTagOutput { return o.ApplyT(func(v *DeleteTag) DeleteTag { if v != nil { @@ -4075,6 +4796,12 @@ func (o DeleteTagResponseOutput) ToDeleteTagResponseOutputWithContext(ctx contex return o } +func (o DeleteTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeleteTagResponse] { + return pulumix.Output[DeleteTagResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the parameters needed for de-identification of DICOM stores. type DicomConfig struct { // Tag filtering profile that determines which tags to keep/remove. @@ -4122,6 +4849,12 @@ func (i DicomConfigArgs) ToDicomConfigOutputWithContext(ctx context.Context) Dic return pulumi.ToOutputWithContext(ctx, i).(DicomConfigOutput) } +func (i DicomConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DicomConfig] { + return pulumix.Output[DicomConfig]{ + OutputState: i.ToDicomConfigOutputWithContext(ctx).OutputState, + } +} + func (i DicomConfigArgs) ToDicomConfigPtrOutput() DicomConfigPtrOutput { return i.ToDicomConfigPtrOutputWithContext(context.Background()) } @@ -4163,6 +4896,12 @@ func (i *dicomConfigPtrType) ToDicomConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DicomConfigPtrOutput) } +func (i *dicomConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DicomConfig] { + return pulumix.Output[*DicomConfig]{ + OutputState: i.ToDicomConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the parameters needed for de-identification of DICOM stores. type DicomConfigOutput struct{ *pulumi.OutputState } @@ -4188,6 +4927,12 @@ func (o DicomConfigOutput) ToDicomConfigPtrOutputWithContext(ctx context.Context }).(DicomConfigPtrOutput) } +func (o DicomConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DicomConfig] { + return pulumix.Output[DicomConfig]{ + OutputState: o.OutputState, + } +} + // Tag filtering profile that determines which tags to keep/remove. func (o DicomConfigOutput) FilterProfile() DicomConfigFilterProfilePtrOutput { return o.ApplyT(func(v DicomConfig) *DicomConfigFilterProfile { return v.FilterProfile }).(DicomConfigFilterProfilePtrOutput) @@ -4222,6 +4967,12 @@ func (o DicomConfigPtrOutput) ToDicomConfigPtrOutputWithContext(ctx context.Cont return o } +func (o DicomConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DicomConfig] { + return pulumix.Output[*DicomConfig]{ + OutputState: o.OutputState, + } +} + func (o DicomConfigPtrOutput) Elem() DicomConfigOutput { return o.ApplyT(func(v *DicomConfig) DicomConfig { if v != nil { @@ -4299,6 +5050,12 @@ func (o DicomConfigResponseOutput) ToDicomConfigResponseOutputWithContext(ctx co return o } +func (o DicomConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DicomConfigResponse] { + return pulumix.Output[DicomConfigResponse]{ + OutputState: o.OutputState, + } +} + // Tag filtering profile that determines which tags to keep/remove. func (o DicomConfigResponseOutput) FilterProfile() pulumi.StringOutput { return o.ApplyT(func(v DicomConfigResponse) string { return v.FilterProfile }).(pulumi.StringOutput) @@ -4362,6 +5119,12 @@ func (i DicomTagConfigArgs) ToDicomTagConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DicomTagConfigOutput) } +func (i DicomTagConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DicomTagConfig] { + return pulumix.Output[DicomTagConfig]{ + OutputState: i.ToDicomTagConfigOutputWithContext(ctx).OutputState, + } +} + func (i DicomTagConfigArgs) ToDicomTagConfigPtrOutput() DicomTagConfigPtrOutput { return i.ToDicomTagConfigPtrOutputWithContext(context.Background()) } @@ -4403,6 +5166,12 @@ func (i *dicomTagConfigPtrType) ToDicomTagConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DicomTagConfigPtrOutput) } +func (i *dicomTagConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DicomTagConfig] { + return pulumix.Output[*DicomTagConfig]{ + OutputState: i.ToDicomTagConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the parameters needed for the de-identification of DICOM stores. type DicomTagConfigOutput struct{ *pulumi.OutputState } @@ -4428,6 +5197,12 @@ func (o DicomTagConfigOutput) ToDicomTagConfigPtrOutputWithContext(ctx context.C }).(DicomTagConfigPtrOutput) } +func (o DicomTagConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DicomTagConfig] { + return pulumix.Output[DicomTagConfig]{ + OutputState: o.OutputState, + } +} + // Specifies custom tag selections and `Actions` to apply to them. Overrides `options` and `profile`. Conflicting `Actions` are applied in the order given. func (o DicomTagConfigOutput) Actions() ActionArrayOutput { return o.ApplyT(func(v DicomTagConfig) []Action { return v.Actions }).(ActionArrayOutput) @@ -4457,6 +5232,12 @@ func (o DicomTagConfigPtrOutput) ToDicomTagConfigPtrOutputWithContext(ctx contex return o } +func (o DicomTagConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DicomTagConfig] { + return pulumix.Output[*DicomTagConfig]{ + OutputState: o.OutputState, + } +} + func (o DicomTagConfigPtrOutput) Elem() DicomTagConfigOutput { return o.ApplyT(func(v *DicomTagConfig) DicomTagConfig { if v != nil { @@ -4522,6 +5303,12 @@ func (o DicomTagConfigResponseOutput) ToDicomTagConfigResponseOutputWithContext( return o } +func (o DicomTagConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DicomTagConfigResponse] { + return pulumix.Output[DicomTagConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies custom tag selections and `Actions` to apply to them. Overrides `options` and `profile`. Conflicting `Actions` are applied in the order given. func (o DicomTagConfigResponseOutput) Actions() ActionResponseArrayOutput { return o.ApplyT(func(v DicomTagConfigResponse) []ActionResponse { return v.Actions }).(ActionResponseArrayOutput) @@ -4584,6 +5371,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -4625,6 +5418,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -4650,6 +5449,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -4684,6 +5489,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -4761,6 +5572,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -4820,6 +5637,12 @@ func (i FhirConfigArgs) ToFhirConfigOutputWithContext(ctx context.Context) FhirC return pulumi.ToOutputWithContext(ctx, i).(FhirConfigOutput) } +func (i FhirConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FhirConfig] { + return pulumix.Output[FhirConfig]{ + OutputState: i.ToFhirConfigOutputWithContext(ctx).OutputState, + } +} + func (i FhirConfigArgs) ToFhirConfigPtrOutput() FhirConfigPtrOutput { return i.ToFhirConfigPtrOutputWithContext(context.Background()) } @@ -4861,6 +5684,12 @@ func (i *fhirConfigPtrType) ToFhirConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FhirConfigPtrOutput) } +func (i *fhirConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*FhirConfig] { + return pulumix.Output[*FhirConfig]{ + OutputState: i.ToFhirConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to handle de-identification of a FHIR store. type FhirConfigOutput struct{ *pulumi.OutputState } @@ -4886,6 +5715,12 @@ func (o FhirConfigOutput) ToFhirConfigPtrOutputWithContext(ctx context.Context) }).(FhirConfigPtrOutput) } +func (o FhirConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FhirConfig] { + return pulumix.Output[FhirConfig]{ + OutputState: o.OutputState, + } +} + // The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If true, all extensions are preserved during de-identification by default. If false or unspecified, all extensions are removed during de-identification by default. func (o FhirConfigOutput) DefaultKeepExtensions() pulumi.BoolPtrOutput { return o.ApplyT(func(v FhirConfig) *bool { return v.DefaultKeepExtensions }).(pulumi.BoolPtrOutput) @@ -4910,6 +5745,12 @@ func (o FhirConfigPtrOutput) ToFhirConfigPtrOutputWithContext(ctx context.Contex return o } +func (o FhirConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirConfig] { + return pulumix.Output[*FhirConfig]{ + OutputState: o.OutputState, + } +} + func (o FhirConfigPtrOutput) Elem() FhirConfigOutput { return o.ApplyT(func(v *FhirConfig) FhirConfig { if v != nil { @@ -4963,6 +5804,12 @@ func (o FhirConfigResponseOutput) ToFhirConfigResponseOutputWithContext(ctx cont return o } +func (o FhirConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FhirConfigResponse] { + return pulumix.Output[FhirConfigResponse]{ + OutputState: o.OutputState, + } +} + // The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If true, all extensions are preserved during de-identification by default. If false or unspecified, all extensions are removed during de-identification by default. func (o FhirConfigResponseOutput) DefaultKeepExtensions() pulumi.BoolOutput { return o.ApplyT(func(v FhirConfigResponse) bool { return v.DefaultKeepExtensions }).(pulumi.BoolOutput) @@ -5016,6 +5863,12 @@ func (i FhirFieldConfigArgs) ToFhirFieldConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(FhirFieldConfigOutput) } +func (i FhirFieldConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FhirFieldConfig] { + return pulumix.Output[FhirFieldConfig]{ + OutputState: i.ToFhirFieldConfigOutputWithContext(ctx).OutputState, + } +} + func (i FhirFieldConfigArgs) ToFhirFieldConfigPtrOutput() FhirFieldConfigPtrOutput { return i.ToFhirFieldConfigPtrOutputWithContext(context.Background()) } @@ -5057,6 +5910,12 @@ func (i *fhirFieldConfigPtrType) ToFhirFieldConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(FhirFieldConfigPtrOutput) } +func (i *fhirFieldConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*FhirFieldConfig] { + return pulumix.Output[*FhirFieldConfig]{ + OutputState: i.ToFhirFieldConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to handle the de-identification of a FHIR store. type FhirFieldConfigOutput struct{ *pulumi.OutputState } @@ -5082,6 +5941,12 @@ func (o FhirFieldConfigOutput) ToFhirFieldConfigPtrOutputWithContext(ctx context }).(FhirFieldConfigPtrOutput) } +func (o FhirFieldConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FhirFieldConfig] { + return pulumix.Output[FhirFieldConfig]{ + OutputState: o.OutputState, + } +} + // Specifies FHIR paths to match and how to transform them. Any field that is not matched by a `FieldMetadata` is passed through to the output dataset unmodified. All extensions will be processed according to `keep_extensions`. If a field can be matched by more than one `FieldMetadata`, the first `FieldMetadata.Action` is applied. Overrides `options` and `profile`. func (o FhirFieldConfigOutput) FieldMetadataList() GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArrayOutput { return o.ApplyT(func(v FhirFieldConfig) []GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata { @@ -5113,6 +5978,12 @@ func (o FhirFieldConfigPtrOutput) ToFhirFieldConfigPtrOutputWithContext(ctx cont return o } +func (o FhirFieldConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirFieldConfig] { + return pulumix.Output[*FhirFieldConfig]{ + OutputState: o.OutputState, + } +} + func (o FhirFieldConfigPtrOutput) Elem() FhirFieldConfigOutput { return o.ApplyT(func(v *FhirFieldConfig) FhirFieldConfig { if v != nil { @@ -5178,6 +6049,12 @@ func (o FhirFieldConfigResponseOutput) ToFhirFieldConfigResponseOutputWithContex return o } +func (o FhirFieldConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FhirFieldConfigResponse] { + return pulumix.Output[FhirFieldConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies FHIR paths to match and how to transform them. Any field that is not matched by a `FieldMetadata` is passed through to the output dataset unmodified. All extensions will be processed according to `keep_extensions`. If a field can be matched by more than one `FieldMetadata`, the first `FieldMetadata.Action` is applied. Overrides `options` and `profile`. func (o FhirFieldConfigResponseOutput) FieldMetadataList() GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponseArrayOutput { return o.ApplyT(func(v FhirFieldConfigResponse) []GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse { @@ -5240,6 +6117,12 @@ func (i FhirNotificationConfigArgs) ToFhirNotificationConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(FhirNotificationConfigOutput) } +func (i FhirNotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[FhirNotificationConfig] { + return pulumix.Output[FhirNotificationConfig]{ + OutputState: i.ToFhirNotificationConfigOutputWithContext(ctx).OutputState, + } +} + // FhirNotificationConfigArrayInput is an input type that accepts FhirNotificationConfigArray and FhirNotificationConfigArrayOutput values. // You can construct a concrete instance of `FhirNotificationConfigArrayInput` via: // @@ -5265,6 +6148,12 @@ func (i FhirNotificationConfigArray) ToFhirNotificationConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(FhirNotificationConfigArrayOutput) } +func (i FhirNotificationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]FhirNotificationConfig] { + return pulumix.Output[[]FhirNotificationConfig]{ + OutputState: i.ToFhirNotificationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Contains the configuration for FHIR notifications. type FhirNotificationConfigOutput struct{ *pulumi.OutputState } @@ -5280,6 +6169,12 @@ func (o FhirNotificationConfigOutput) ToFhirNotificationConfigOutputWithContext( return o } +func (o FhirNotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[FhirNotificationConfig] { + return pulumix.Output[FhirNotificationConfig]{ + OutputState: o.OutputState, + } +} + // The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. The notification is a `PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. Note that notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail (https://cloud.google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare-api/docs/how-tos/logging). func (o FhirNotificationConfigOutput) PubsubTopic() pulumi.StringPtrOutput { return o.ApplyT(func(v FhirNotificationConfig) *string { return v.PubsubTopic }).(pulumi.StringPtrOutput) @@ -5309,6 +6204,12 @@ func (o FhirNotificationConfigArrayOutput) ToFhirNotificationConfigArrayOutputWi return o } +func (o FhirNotificationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FhirNotificationConfig] { + return pulumix.Output[[]FhirNotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o FhirNotificationConfigArrayOutput) Index(i pulumi.IntInput) FhirNotificationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FhirNotificationConfig { return vs[0].([]FhirNotificationConfig)[vs[1].(int)] @@ -5340,6 +6241,12 @@ func (o FhirNotificationConfigResponseOutput) ToFhirNotificationConfigResponseOu return o } +func (o FhirNotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FhirNotificationConfigResponse] { + return pulumix.Output[FhirNotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. The notification is a `PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of this notification. It is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the time when the message was published. Note that notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare API service account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail (https://cloud.google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare-api/docs/how-tos/logging). func (o FhirNotificationConfigResponseOutput) PubsubTopic() pulumi.StringOutput { return o.ApplyT(func(v FhirNotificationConfigResponse) string { return v.PubsubTopic }).(pulumi.StringOutput) @@ -5369,6 +6276,12 @@ func (o FhirNotificationConfigResponseArrayOutput) ToFhirNotificationConfigRespo return o } +func (o FhirNotificationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FhirNotificationConfigResponse] { + return pulumix.Output[[]FhirNotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o FhirNotificationConfigResponseArrayOutput) Index(i pulumi.IntInput) FhirNotificationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FhirNotificationConfigResponse { return vs[0].([]FhirNotificationConfigResponse)[vs[1].(int)] @@ -5410,6 +6323,12 @@ func (i FhirOutputArgs) ToFhirOutputOutputWithContext(ctx context.Context) FhirO return pulumi.ToOutputWithContext(ctx, i).(FhirOutputOutput) } +func (i FhirOutputArgs) ToOutput(ctx context.Context) pulumix.Output[FhirOutput] { + return pulumix.Output[FhirOutput]{ + OutputState: i.ToFhirOutputOutputWithContext(ctx).OutputState, + } +} + func (i FhirOutputArgs) ToFhirOutputPtrOutput() FhirOutputPtrOutput { return i.ToFhirOutputPtrOutputWithContext(context.Background()) } @@ -5451,6 +6370,12 @@ func (i *fhirOutputPtrType) ToFhirOutputPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FhirOutputPtrOutput) } +func (i *fhirOutputPtrType) ToOutput(ctx context.Context) pulumix.Output[*FhirOutput] { + return pulumix.Output[*FhirOutput]{ + OutputState: i.ToFhirOutputPtrOutputWithContext(ctx).OutputState, + } +} + // Details about the FHIR store to write the output to. type FhirOutputOutput struct{ *pulumi.OutputState } @@ -5476,6 +6401,12 @@ func (o FhirOutputOutput) ToFhirOutputPtrOutputWithContext(ctx context.Context) }).(FhirOutputPtrOutput) } +func (o FhirOutputOutput) ToOutput(ctx context.Context) pulumix.Output[FhirOutput] { + return pulumix.Output[FhirOutput]{ + OutputState: o.OutputState, + } +} + // Name of the output FHIR store, which must already exist. You must grant the healthcare.fhirResources.update permission on the destination store to your project's **Cloud Healthcare Service Agent** [service account](https://cloud.google.com/healthcare/docs/how-tos/permissions-healthcare-api-gcp-products#the_cloud_healthcare_service_agent). The destination store must set `enable_update_create` to true. The destination store must use FHIR version R4. Writing these resources will consume FHIR operations quota from the project containing the source data. De-identify operation metadata is only generated for DICOM de-identification operations. func (o FhirOutputOutput) FhirStore() pulumi.StringPtrOutput { return o.ApplyT(func(v FhirOutput) *string { return v.FhirStore }).(pulumi.StringPtrOutput) @@ -5495,6 +6426,12 @@ func (o FhirOutputPtrOutput) ToFhirOutputPtrOutputWithContext(ctx context.Contex return o } +func (o FhirOutputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FhirOutput] { + return pulumix.Output[*FhirOutput]{ + OutputState: o.OutputState, + } +} + func (o FhirOutputPtrOutput) Elem() FhirOutputOutput { return o.ApplyT(func(v *FhirOutput) FhirOutput { if v != nil { @@ -5536,6 +6473,12 @@ func (o FhirOutputResponseOutput) ToFhirOutputResponseOutputWithContext(ctx cont return o } +func (o FhirOutputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FhirOutputResponse] { + return pulumix.Output[FhirOutputResponse]{ + OutputState: o.OutputState, + } +} + // Name of the output FHIR store, which must already exist. You must grant the healthcare.fhirResources.update permission on the destination store to your project's **Cloud Healthcare Service Agent** [service account](https://cloud.google.com/healthcare/docs/how-tos/permissions-healthcare-api-gcp-products#the_cloud_healthcare_service_agent). The destination store must set `enable_update_create` to true. The destination store must use FHIR version R4. Writing these resources will consume FHIR operations quota from the project containing the source data. De-identify operation metadata is only generated for DICOM de-identification operations. func (o FhirOutputResponseOutput) FhirStore() pulumi.StringOutput { return o.ApplyT(func(v FhirOutputResponse) string { return v.FhirStore }).(pulumi.StringOutput) @@ -5592,6 +6535,12 @@ func (i FieldArgs) ToFieldOutputWithContext(ctx context.Context) FieldOutput { return pulumi.ToOutputWithContext(ctx, i).(FieldOutput) } +func (i FieldArgs) ToOutput(ctx context.Context) pulumix.Output[Field] { + return pulumix.Output[Field]{ + OutputState: i.ToFieldOutputWithContext(ctx).OutputState, + } +} + // FieldArrayInput is an input type that accepts FieldArray and FieldArrayOutput values. // You can construct a concrete instance of `FieldArrayInput` via: // @@ -5617,6 +6566,12 @@ func (i FieldArray) ToFieldArrayOutputWithContext(ctx context.Context) FieldArra return pulumi.ToOutputWithContext(ctx, i).(FieldArrayOutput) } +func (i FieldArray) ToOutput(ctx context.Context) pulumix.Output[[]Field] { + return pulumix.Output[[]Field]{ + OutputState: i.ToFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A (sub) field of a type. type FieldOutput struct{ *pulumi.OutputState } @@ -5632,6 +6587,12 @@ func (o FieldOutput) ToFieldOutputWithContext(ctx context.Context) FieldOutput { return o } +func (o FieldOutput) ToOutput(ctx context.Context) pulumix.Output[Field] { + return pulumix.Output[Field]{ + OutputState: o.OutputState, + } +} + // The maximum number of times this field can be repeated. 0 or -1 means unbounded. func (o FieldOutput) MaxOccurs() pulumi.IntPtrOutput { return o.ApplyT(func(v Field) *int { return v.MaxOccurs }).(pulumi.IntPtrOutput) @@ -5671,6 +6632,12 @@ func (o FieldArrayOutput) ToFieldArrayOutputWithContext(ctx context.Context) Fie return o } +func (o FieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Field] { + return pulumix.Output[[]Field]{ + OutputState: o.OutputState, + } +} + func (o FieldArrayOutput) Index(i pulumi.IntInput) FieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Field { return vs[0].([]Field)[vs[1].(int)] @@ -5716,6 +6683,12 @@ func (i FieldMetadataArgs) ToFieldMetadataOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FieldMetadataOutput) } +func (i FieldMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[FieldMetadata] { + return pulumix.Output[FieldMetadata]{ + OutputState: i.ToFieldMetadataOutputWithContext(ctx).OutputState, + } +} + // FieldMetadataArrayInput is an input type that accepts FieldMetadataArray and FieldMetadataArrayOutput values. // You can construct a concrete instance of `FieldMetadataArrayInput` via: // @@ -5741,6 +6714,12 @@ func (i FieldMetadataArray) ToFieldMetadataArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(FieldMetadataArrayOutput) } +func (i FieldMetadataArray) ToOutput(ctx context.Context) pulumix.Output[[]FieldMetadata] { + return pulumix.Output[[]FieldMetadata]{ + OutputState: i.ToFieldMetadataArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies FHIR paths to match, and how to handle de-identification of matching fields. type FieldMetadataOutput struct{ *pulumi.OutputState } @@ -5756,6 +6735,12 @@ func (o FieldMetadataOutput) ToFieldMetadataOutputWithContext(ctx context.Contex return o } +func (o FieldMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[FieldMetadata] { + return pulumix.Output[FieldMetadata]{ + OutputState: o.OutputState, + } +} + // Deidentify action for one field. func (o FieldMetadataOutput) Action() FieldMetadataActionPtrOutput { return o.ApplyT(func(v FieldMetadata) *FieldMetadataAction { return v.Action }).(FieldMetadataActionPtrOutput) @@ -5780,6 +6765,12 @@ func (o FieldMetadataArrayOutput) ToFieldMetadataArrayOutputWithContext(ctx cont return o } +func (o FieldMetadataArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FieldMetadata] { + return pulumix.Output[[]FieldMetadata]{ + OutputState: o.OutputState, + } +} + func (o FieldMetadataArrayOutput) Index(i pulumi.IntInput) FieldMetadataOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FieldMetadata { return vs[0].([]FieldMetadata)[vs[1].(int)] @@ -5809,6 +6800,12 @@ func (o FieldMetadataResponseOutput) ToFieldMetadataResponseOutputWithContext(ct return o } +func (o FieldMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FieldMetadataResponse] { + return pulumix.Output[FieldMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Deidentify action for one field. func (o FieldMetadataResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v FieldMetadataResponse) string { return v.Action }).(pulumi.StringOutput) @@ -5833,6 +6830,12 @@ func (o FieldMetadataResponseArrayOutput) ToFieldMetadataResponseArrayOutputWith return o } +func (o FieldMetadataResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FieldMetadataResponse] { + return pulumix.Output[[]FieldMetadataResponse]{ + OutputState: o.OutputState, + } +} + func (o FieldMetadataResponseArrayOutput) Index(i pulumi.IntInput) FieldMetadataResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FieldMetadataResponse { return vs[0].([]FieldMetadataResponse)[vs[1].(int)] @@ -5868,6 +6871,12 @@ func (o FieldResponseOutput) ToFieldResponseOutputWithContext(ctx context.Contex return o } +func (o FieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FieldResponse] { + return pulumix.Output[FieldResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of times this field can be repeated. 0 or -1 means unbounded. func (o FieldResponseOutput) MaxOccurs() pulumi.IntOutput { return o.ApplyT(func(v FieldResponse) int { return v.MaxOccurs }).(pulumi.IntOutput) @@ -5907,6 +6916,12 @@ func (o FieldResponseArrayOutput) ToFieldResponseArrayOutputWithContext(ctx cont return o } +func (o FieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FieldResponse] { + return pulumix.Output[[]FieldResponse]{ + OutputState: o.OutputState, + } +} + func (o FieldResponseArrayOutput) Index(i pulumi.IntInput) FieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FieldResponse { return vs[0].([]FieldResponse)[vs[1].(int)] @@ -5952,6 +6967,12 @@ func (i GoogleCloudHealthcareV1beta1ConsentPolicyArgs) ToGoogleCloudHealthcareV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1ConsentPolicyOutput) } +func (i GoogleCloudHealthcareV1beta1ConsentPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1ConsentPolicy] { + return pulumix.Output[GoogleCloudHealthcareV1beta1ConsentPolicy]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1ConsentPolicyOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudHealthcareV1beta1ConsentPolicyArrayInput is an input type that accepts GoogleCloudHealthcareV1beta1ConsentPolicyArray and GoogleCloudHealthcareV1beta1ConsentPolicyArrayOutput values. // You can construct a concrete instance of `GoogleCloudHealthcareV1beta1ConsentPolicyArrayInput` via: // @@ -5977,6 +6998,12 @@ func (i GoogleCloudHealthcareV1beta1ConsentPolicyArray) ToGoogleCloudHealthcareV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1ConsentPolicyArrayOutput) } +func (i GoogleCloudHealthcareV1beta1ConsentPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1beta1ConsentPolicy] { + return pulumix.Output[[]GoogleCloudHealthcareV1beta1ConsentPolicy]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1ConsentPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a user's consent in terms of the resources that can be accessed and under what conditions. type GoogleCloudHealthcareV1beta1ConsentPolicyOutput struct{ *pulumi.OutputState } @@ -5992,6 +7019,12 @@ func (o GoogleCloudHealthcareV1beta1ConsentPolicyOutput) ToGoogleCloudHealthcare return o } +func (o GoogleCloudHealthcareV1beta1ConsentPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1ConsentPolicy] { + return pulumix.Output[GoogleCloudHealthcareV1beta1ConsentPolicy]{ + OutputState: o.OutputState, + } +} + // The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have `IN` operator as well as at most 10 logical operators that are limited to `AND` (`&&`), `OR` (`||`). func (o GoogleCloudHealthcareV1beta1ConsentPolicyOutput) AuthorizationRule() ExprOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1ConsentPolicy) Expr { return v.AuthorizationRule }).(ExprOutput) @@ -6016,6 +7049,12 @@ func (o GoogleCloudHealthcareV1beta1ConsentPolicyArrayOutput) ToGoogleCloudHealt return o } +func (o GoogleCloudHealthcareV1beta1ConsentPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1beta1ConsentPolicy] { + return pulumix.Output[[]GoogleCloudHealthcareV1beta1ConsentPolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1ConsentPolicyArrayOutput) Index(i pulumi.IntInput) GoogleCloudHealthcareV1beta1ConsentPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudHealthcareV1beta1ConsentPolicy { return vs[0].([]GoogleCloudHealthcareV1beta1ConsentPolicy)[vs[1].(int)] @@ -6045,6 +7084,12 @@ func (o GoogleCloudHealthcareV1beta1ConsentPolicyResponseOutput) ToGoogleCloudHe return o } +func (o GoogleCloudHealthcareV1beta1ConsentPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1ConsentPolicyResponse] { + return pulumix.Output[GoogleCloudHealthcareV1beta1ConsentPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have `IN` operator as well as at most 10 logical operators that are limited to `AND` (`&&`), `OR` (`||`). func (o GoogleCloudHealthcareV1beta1ConsentPolicyResponseOutput) AuthorizationRule() ExprResponseOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1ConsentPolicyResponse) ExprResponse { return v.AuthorizationRule }).(ExprResponseOutput) @@ -6071,6 +7116,12 @@ func (o GoogleCloudHealthcareV1beta1ConsentPolicyResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudHealthcareV1beta1ConsentPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1beta1ConsentPolicyResponse] { + return pulumix.Output[[]GoogleCloudHealthcareV1beta1ConsentPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1ConsentPolicyResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudHealthcareV1beta1ConsentPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudHealthcareV1beta1ConsentPolicyResponse { return vs[0].([]GoogleCloudHealthcareV1beta1ConsentPolicyResponse)[vs[1].(int)] @@ -6136,6 +7187,12 @@ func (i GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArgs) ToGoogleCloudHe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataOutput) } +func (i GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1DeidentifyFieldMetadataOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArrayInput is an input type that accepts GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArray and GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArrayOutput values. // You can construct a concrete instance of `GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArrayInput` via: // @@ -6161,6 +7218,12 @@ func (i GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArray) ToGoogleCloudH return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArrayOutput) } +func (i GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata] { + return pulumix.Output[[]GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the FHIR paths to match and how to handle the de-identification of matching fields. type GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataOutput struct{ *pulumi.OutputState } @@ -6176,6 +7239,12 @@ func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataOutput) ToGoogleCloud return o } +func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata]{ + OutputState: o.OutputState, + } +} + // Replace the field's value with a masking character. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataOutput) CharacterMaskField() CharacterMaskFieldPtrOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata) *CharacterMaskField { @@ -6227,6 +7296,12 @@ func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArrayOutput) ToGoogle return o } +func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata] { + return pulumix.Output[[]GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataArrayOutput) Index(i pulumi.IntInput) GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata { return vs[0].([]GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata)[vs[1].(int)] @@ -6266,6 +7341,12 @@ func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponseOutput) ToGoo return o } +func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Replace the field's value with a masking character. Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponseOutput) CharacterMaskField() CharacterMaskFieldResponseOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse) CharacterMaskFieldResponse { @@ -6327,6 +7408,12 @@ func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponseArrayOutput) return o } +func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse] { + return pulumix.Output[[]GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse { return vs[0].([]GoogleCloudHealthcareV1beta1DeidentifyFieldMetadataResponse)[vs[1].(int)] @@ -6384,6 +7471,12 @@ func (i GoogleCloudHealthcareV1beta1DeidentifyOptionsArgs) ToGoogleCloudHealthca return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1DeidentifyOptionsOutput) } +func (i GoogleCloudHealthcareV1beta1DeidentifyOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyOptions] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyOptions]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1DeidentifyOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudHealthcareV1beta1DeidentifyOptionsArgs) ToGoogleCloudHealthcareV1beta1DeidentifyOptionsPtrOutput() GoogleCloudHealthcareV1beta1DeidentifyOptionsPtrOutput { return i.ToGoogleCloudHealthcareV1beta1DeidentifyOptionsPtrOutputWithContext(context.Background()) } @@ -6425,6 +7518,12 @@ func (i *googleCloudHealthcareV1beta1DeidentifyOptionsPtrType) ToGoogleCloudHeal return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1DeidentifyOptionsPtrOutput) } +func (i *googleCloudHealthcareV1beta1DeidentifyOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1beta1DeidentifyOptions] { + return pulumix.Output[*GoogleCloudHealthcareV1beta1DeidentifyOptions]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1DeidentifyOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies additional options to apply to the base `profile`. type GoogleCloudHealthcareV1beta1DeidentifyOptionsOutput struct{ *pulumi.OutputState } @@ -6450,6 +7549,12 @@ func (o GoogleCloudHealthcareV1beta1DeidentifyOptionsOutput) ToGoogleCloudHealth }).(GoogleCloudHealthcareV1beta1DeidentifyOptionsPtrOutput) } +func (o GoogleCloudHealthcareV1beta1DeidentifyOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyOptions] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyOptions]{ + OutputState: o.OutputState, + } +} + // Character mask config for `CharacterMaskField` `FieldMetadatas`. func (o GoogleCloudHealthcareV1beta1DeidentifyOptionsOutput) CharacterMaskConfig() CharacterMaskConfigPtrOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1DeidentifyOptions) *CharacterMaskConfig { @@ -6491,6 +7596,12 @@ func (o GoogleCloudHealthcareV1beta1DeidentifyOptionsPtrOutput) ToGoogleCloudHea return o } +func (o GoogleCloudHealthcareV1beta1DeidentifyOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1beta1DeidentifyOptions] { + return pulumix.Output[*GoogleCloudHealthcareV1beta1DeidentifyOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1DeidentifyOptionsPtrOutput) Elem() GoogleCloudHealthcareV1beta1DeidentifyOptionsOutput { return o.ApplyT(func(v *GoogleCloudHealthcareV1beta1DeidentifyOptions) GoogleCloudHealthcareV1beta1DeidentifyOptions { if v != nil { @@ -6580,6 +7691,12 @@ func (o GoogleCloudHealthcareV1beta1DeidentifyOptionsResponseOutput) ToGoogleClo return o } +func (o GoogleCloudHealthcareV1beta1DeidentifyOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyOptionsResponse] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DeidentifyOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Character mask config for `CharacterMaskField` `FieldMetadatas`. func (o GoogleCloudHealthcareV1beta1DeidentifyOptionsResponseOutput) CharacterMaskConfig() CharacterMaskConfigResponseOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1DeidentifyOptionsResponse) CharacterMaskConfigResponse { @@ -6658,6 +7775,12 @@ func (i GoogleCloudHealthcareV1beta1DicomBigQueryDestinationArgs) ToGoogleCloudH return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1DicomBigQueryDestinationOutput) } +func (i GoogleCloudHealthcareV1beta1DicomBigQueryDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DicomBigQueryDestination] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DicomBigQueryDestination]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1DicomBigQueryDestinationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudHealthcareV1beta1DicomBigQueryDestinationArgs) ToGoogleCloudHealthcareV1beta1DicomBigQueryDestinationPtrOutput() GoogleCloudHealthcareV1beta1DicomBigQueryDestinationPtrOutput { return i.ToGoogleCloudHealthcareV1beta1DicomBigQueryDestinationPtrOutputWithContext(context.Background()) } @@ -6699,6 +7822,12 @@ func (i *googleCloudHealthcareV1beta1DicomBigQueryDestinationPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1DicomBigQueryDestinationPtrOutput) } +func (i *googleCloudHealthcareV1beta1DicomBigQueryDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1beta1DicomBigQueryDestination] { + return pulumix.Output[*GoogleCloudHealthcareV1beta1DicomBigQueryDestination]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1DicomBigQueryDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // The BigQuery table where the server writes output. type GoogleCloudHealthcareV1beta1DicomBigQueryDestinationOutput struct{ *pulumi.OutputState } @@ -6724,6 +7853,12 @@ func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationOutput) ToGoogleClou }).(GoogleCloudHealthcareV1beta1DicomBigQueryDestinationPtrOutput) } +func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DicomBigQueryDestination] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DicomBigQueryDestination]{ + OutputState: o.OutputState, + } +} + // Use `write_disposition` instead. If `write_disposition` is specified, this parameter is ignored. force=false is equivalent to write_disposition=WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE. func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationOutput) Force() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1DicomBigQueryDestination) *bool { return v.Force }).(pulumi.BoolPtrOutput) @@ -6755,6 +7890,12 @@ func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationPtrOutput) ToGoogleC return o } +func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1beta1DicomBigQueryDestination] { + return pulumix.Output[*GoogleCloudHealthcareV1beta1DicomBigQueryDestination]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationPtrOutput) Elem() GoogleCloudHealthcareV1beta1DicomBigQueryDestinationOutput { return o.ApplyT(func(v *GoogleCloudHealthcareV1beta1DicomBigQueryDestination) GoogleCloudHealthcareV1beta1DicomBigQueryDestination { if v != nil { @@ -6820,6 +7961,12 @@ func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationResponseOutput) ToGo return o } +func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DicomBigQueryDestinationResponse] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DicomBigQueryDestinationResponse]{ + OutputState: o.OutputState, + } +} + // Use `write_disposition` instead. If `write_disposition` is specified, this parameter is ignored. force=false is equivalent to write_disposition=WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE. func (o GoogleCloudHealthcareV1beta1DicomBigQueryDestinationResponseOutput) Force() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1DicomBigQueryDestinationResponse) bool { return v.Force }).(pulumi.BoolOutput) @@ -6870,6 +8017,12 @@ func (i GoogleCloudHealthcareV1beta1DicomStreamConfigArgs) ToGoogleCloudHealthca return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1DicomStreamConfigOutput) } +func (i GoogleCloudHealthcareV1beta1DicomStreamConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DicomStreamConfig] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DicomStreamConfig]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1DicomStreamConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudHealthcareV1beta1DicomStreamConfigArrayInput is an input type that accepts GoogleCloudHealthcareV1beta1DicomStreamConfigArray and GoogleCloudHealthcareV1beta1DicomStreamConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudHealthcareV1beta1DicomStreamConfigArrayInput` via: // @@ -6895,6 +8048,12 @@ func (i GoogleCloudHealthcareV1beta1DicomStreamConfigArray) ToGoogleCloudHealthc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1DicomStreamConfigArrayOutput) } +func (i GoogleCloudHealthcareV1beta1DicomStreamConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1beta1DicomStreamConfig] { + return pulumix.Output[[]GoogleCloudHealthcareV1beta1DicomStreamConfig]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1DicomStreamConfigArrayOutputWithContext(ctx).OutputState, + } +} + // StreamConfig specifies configuration for a streaming DICOM export. type GoogleCloudHealthcareV1beta1DicomStreamConfigOutput struct{ *pulumi.OutputState } @@ -6910,6 +8069,12 @@ func (o GoogleCloudHealthcareV1beta1DicomStreamConfigOutput) ToGoogleCloudHealth return o } +func (o GoogleCloudHealthcareV1beta1DicomStreamConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DicomStreamConfig] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DicomStreamConfig]{ + OutputState: o.OutputState, + } +} + // Results are appended to this table. The server creates a new table in the given BigQuery dataset if the specified table does not exist. To enable the Cloud Healthcare API to write to your BigQuery table, you must give the Cloud Healthcare API service account the bigquery.dataEditor role. The service account is: `service-{PROJECT_NUMBER}@gcp-sa-healthcare.iam.gserviceaccount.com`. The PROJECT_NUMBER identifies the project that the DICOM store resides in. To get the project number, go to the Cloud Console Dashboard. It is recommended to not have a custom schema in the destination table which could conflict with the schema created by the Cloud Healthcare API. Instance deletions are not applied to the destination table. The destination's table schema will be automatically updated in case a new instance's data is incompatible with the current schema. The schema should not be updated manually as this can cause incompatibilies that cannot be resolved automatically. One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation. BigQuery imposes a 1 MB limit on streaming insert row size, therefore any instance that generates more than 1 MB of BigQuery data will not be streamed. If an instance cannot be streamed to BigQuery, errors will be logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). func (o GoogleCloudHealthcareV1beta1DicomStreamConfigOutput) BigqueryDestination() GoogleCloudHealthcareV1beta1DicomBigQueryDestinationPtrOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1DicomStreamConfig) *GoogleCloudHealthcareV1beta1DicomBigQueryDestination { @@ -6931,6 +8096,12 @@ func (o GoogleCloudHealthcareV1beta1DicomStreamConfigArrayOutput) ToGoogleCloudH return o } +func (o GoogleCloudHealthcareV1beta1DicomStreamConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1beta1DicomStreamConfig] { + return pulumix.Output[[]GoogleCloudHealthcareV1beta1DicomStreamConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1DicomStreamConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudHealthcareV1beta1DicomStreamConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudHealthcareV1beta1DicomStreamConfig { return vs[0].([]GoogleCloudHealthcareV1beta1DicomStreamConfig)[vs[1].(int)] @@ -6958,6 +8129,12 @@ func (o GoogleCloudHealthcareV1beta1DicomStreamConfigResponseOutput) ToGoogleClo return o } +func (o GoogleCloudHealthcareV1beta1DicomStreamConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1DicomStreamConfigResponse] { + return pulumix.Output[GoogleCloudHealthcareV1beta1DicomStreamConfigResponse]{ + OutputState: o.OutputState, + } +} + // Results are appended to this table. The server creates a new table in the given BigQuery dataset if the specified table does not exist. To enable the Cloud Healthcare API to write to your BigQuery table, you must give the Cloud Healthcare API service account the bigquery.dataEditor role. The service account is: `service-{PROJECT_NUMBER}@gcp-sa-healthcare.iam.gserviceaccount.com`. The PROJECT_NUMBER identifies the project that the DICOM store resides in. To get the project number, go to the Cloud Console Dashboard. It is recommended to not have a custom schema in the destination table which could conflict with the schema created by the Cloud Healthcare API. Instance deletions are not applied to the destination table. The destination's table schema will be automatically updated in case a new instance's data is incompatible with the current schema. The schema should not be updated manually as this can cause incompatibilies that cannot be resolved automatically. One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation. BigQuery imposes a 1 MB limit on streaming insert row size, therefore any instance that generates more than 1 MB of BigQuery data will not be streamed. If an instance cannot be streamed to BigQuery, errors will be logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). func (o GoogleCloudHealthcareV1beta1DicomStreamConfigResponseOutput) BigqueryDestination() GoogleCloudHealthcareV1beta1DicomBigQueryDestinationResponseOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1DicomStreamConfigResponse) GoogleCloudHealthcareV1beta1DicomBigQueryDestinationResponse { @@ -6979,6 +8156,12 @@ func (o GoogleCloudHealthcareV1beta1DicomStreamConfigResponseArrayOutput) ToGoog return o } +func (o GoogleCloudHealthcareV1beta1DicomStreamConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudHealthcareV1beta1DicomStreamConfigResponse] { + return pulumix.Output[[]GoogleCloudHealthcareV1beta1DicomStreamConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1DicomStreamConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudHealthcareV1beta1DicomStreamConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudHealthcareV1beta1DicomStreamConfigResponse { return vs[0].([]GoogleCloudHealthcareV1beta1DicomStreamConfigResponse)[vs[1].(int)] @@ -7032,6 +8215,12 @@ func (i GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs) ToGoogleCloudHe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1FhirBigQueryDestinationOutput) } +func (i GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1FhirBigQueryDestination] { + return pulumix.Output[GoogleCloudHealthcareV1beta1FhirBigQueryDestination]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1FhirBigQueryDestinationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs) ToGoogleCloudHealthcareV1beta1FhirBigQueryDestinationPtrOutput() GoogleCloudHealthcareV1beta1FhirBigQueryDestinationPtrOutput { return i.ToGoogleCloudHealthcareV1beta1FhirBigQueryDestinationPtrOutputWithContext(context.Background()) } @@ -7073,6 +8262,12 @@ func (i *googleCloudHealthcareV1beta1FhirBigQueryDestinationPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudHealthcareV1beta1FhirBigQueryDestinationPtrOutput) } +func (i *googleCloudHealthcareV1beta1FhirBigQueryDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1beta1FhirBigQueryDestination] { + return pulumix.Output[*GoogleCloudHealthcareV1beta1FhirBigQueryDestination]{ + OutputState: i.ToGoogleCloudHealthcareV1beta1FhirBigQueryDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for exporting to BigQuery. type GoogleCloudHealthcareV1beta1FhirBigQueryDestinationOutput struct{ *pulumi.OutputState } @@ -7098,6 +8293,12 @@ func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationOutput) ToGoogleCloud }).(GoogleCloudHealthcareV1beta1FhirBigQueryDestinationPtrOutput) } +func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1FhirBigQueryDestination] { + return pulumix.Output[GoogleCloudHealthcareV1beta1FhirBigQueryDestination]{ + OutputState: o.OutputState, + } +} + // BigQuery URI to an existing dataset, up to 2000 characters long, in the format `bq://projectId.bqDatasetId`. func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationOutput) DatasetUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1FhirBigQueryDestination) *string { return v.DatasetUri }).(pulumi.StringPtrOutput) @@ -7134,6 +8335,12 @@ func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationPtrOutput) ToGoogleCl return o } +func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudHealthcareV1beta1FhirBigQueryDestination] { + return pulumix.Output[*GoogleCloudHealthcareV1beta1FhirBigQueryDestination]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationPtrOutput) Elem() GoogleCloudHealthcareV1beta1FhirBigQueryDestinationOutput { return o.ApplyT(func(v *GoogleCloudHealthcareV1beta1FhirBigQueryDestination) GoogleCloudHealthcareV1beta1FhirBigQueryDestination { if v != nil { @@ -7211,6 +8418,12 @@ func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationResponseOutput) ToGoo return o } +func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudHealthcareV1beta1FhirBigQueryDestinationResponse] { + return pulumix.Output[GoogleCloudHealthcareV1beta1FhirBigQueryDestinationResponse]{ + OutputState: o.OutputState, + } +} + // BigQuery URI to an existing dataset, up to 2000 characters long, in the format `bq://projectId.bqDatasetId`. func (o GoogleCloudHealthcareV1beta1FhirBigQueryDestinationResponseOutput) DatasetUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudHealthcareV1beta1FhirBigQueryDestinationResponse) string { return v.DatasetUri }).(pulumi.StringOutput) @@ -7272,6 +8485,12 @@ func (i Hl7SchemaConfigArgs) ToHl7SchemaConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(Hl7SchemaConfigOutput) } +func (i Hl7SchemaConfigArgs) ToOutput(ctx context.Context) pulumix.Output[Hl7SchemaConfig] { + return pulumix.Output[Hl7SchemaConfig]{ + OutputState: i.ToHl7SchemaConfigOutputWithContext(ctx).OutputState, + } +} + // Hl7SchemaConfigArrayInput is an input type that accepts Hl7SchemaConfigArray and Hl7SchemaConfigArrayOutput values. // You can construct a concrete instance of `Hl7SchemaConfigArrayInput` via: // @@ -7297,6 +8516,12 @@ func (i Hl7SchemaConfigArray) ToHl7SchemaConfigArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(Hl7SchemaConfigArrayOutput) } +func (i Hl7SchemaConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]Hl7SchemaConfig] { + return pulumix.Output[[]Hl7SchemaConfig]{ + OutputState: i.ToHl7SchemaConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Root config message for HL7v2 schema. This contains a schema structure of groups and segments, and filters that determine which messages to apply the schema structure to. type Hl7SchemaConfigOutput struct{ *pulumi.OutputState } @@ -7312,6 +8537,12 @@ func (o Hl7SchemaConfigOutput) ToHl7SchemaConfigOutputWithContext(ctx context.Co return o } +func (o Hl7SchemaConfigOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7SchemaConfig] { + return pulumix.Output[Hl7SchemaConfig]{ + OutputState: o.OutputState, + } +} + // Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to its schema configuration root group. func (o Hl7SchemaConfigOutput) MessageSchemaConfigs() pulumi.StringMapOutput { return o.ApplyT(func(v Hl7SchemaConfig) map[string]string { return v.MessageSchemaConfigs }).(pulumi.StringMapOutput) @@ -7336,6 +8567,12 @@ func (o Hl7SchemaConfigArrayOutput) ToHl7SchemaConfigArrayOutputWithContext(ctx return o } +func (o Hl7SchemaConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7SchemaConfig] { + return pulumix.Output[[]Hl7SchemaConfig]{ + OutputState: o.OutputState, + } +} + func (o Hl7SchemaConfigArrayOutput) Index(i pulumi.IntInput) Hl7SchemaConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7SchemaConfig { return vs[0].([]Hl7SchemaConfig)[vs[1].(int)] @@ -7365,6 +8602,12 @@ func (o Hl7SchemaConfigResponseOutput) ToHl7SchemaConfigResponseOutputWithContex return o } +func (o Hl7SchemaConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7SchemaConfigResponse] { + return pulumix.Output[Hl7SchemaConfigResponse]{ + OutputState: o.OutputState, + } +} + // Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to its schema configuration root group. func (o Hl7SchemaConfigResponseOutput) MessageSchemaConfigs() pulumi.StringMapOutput { return o.ApplyT(func(v Hl7SchemaConfigResponse) map[string]string { return v.MessageSchemaConfigs }).(pulumi.StringMapOutput) @@ -7389,6 +8632,12 @@ func (o Hl7SchemaConfigResponseArrayOutput) ToHl7SchemaConfigResponseArrayOutput return o } +func (o Hl7SchemaConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7SchemaConfigResponse] { + return pulumix.Output[[]Hl7SchemaConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o Hl7SchemaConfigResponseArrayOutput) Index(i pulumi.IntInput) Hl7SchemaConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7SchemaConfigResponse { return vs[0].([]Hl7SchemaConfigResponse)[vs[1].(int)] @@ -7434,6 +8683,12 @@ func (i Hl7TypesConfigArgs) ToHl7TypesConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(Hl7TypesConfigOutput) } +func (i Hl7TypesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[Hl7TypesConfig] { + return pulumix.Output[Hl7TypesConfig]{ + OutputState: i.ToHl7TypesConfigOutputWithContext(ctx).OutputState, + } +} + // Hl7TypesConfigArrayInput is an input type that accepts Hl7TypesConfigArray and Hl7TypesConfigArrayOutput values. // You can construct a concrete instance of `Hl7TypesConfigArrayInput` via: // @@ -7459,6 +8714,12 @@ func (i Hl7TypesConfigArray) ToHl7TypesConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(Hl7TypesConfigArrayOutput) } +func (i Hl7TypesConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]Hl7TypesConfig] { + return pulumix.Output[[]Hl7TypesConfig]{ + OutputState: i.ToHl7TypesConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Root config for HL7v2 datatype definitions for a specific HL7v2 version. type Hl7TypesConfigOutput struct{ *pulumi.OutputState } @@ -7474,6 +8735,12 @@ func (o Hl7TypesConfigOutput) ToHl7TypesConfigOutputWithContext(ctx context.Cont return o } +func (o Hl7TypesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7TypesConfig] { + return pulumix.Output[Hl7TypesConfig]{ + OutputState: o.OutputState, + } +} + // The HL7v2 type definitions. func (o Hl7TypesConfigOutput) Type() TypeArrayOutput { return o.ApplyT(func(v Hl7TypesConfig) []Type { return v.Type }).(TypeArrayOutput) @@ -7498,6 +8765,12 @@ func (o Hl7TypesConfigArrayOutput) ToHl7TypesConfigArrayOutputWithContext(ctx co return o } +func (o Hl7TypesConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7TypesConfig] { + return pulumix.Output[[]Hl7TypesConfig]{ + OutputState: o.OutputState, + } +} + func (o Hl7TypesConfigArrayOutput) Index(i pulumi.IntInput) Hl7TypesConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7TypesConfig { return vs[0].([]Hl7TypesConfig)[vs[1].(int)] @@ -7527,6 +8800,12 @@ func (o Hl7TypesConfigResponseOutput) ToHl7TypesConfigResponseOutputWithContext( return o } +func (o Hl7TypesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7TypesConfigResponse] { + return pulumix.Output[Hl7TypesConfigResponse]{ + OutputState: o.OutputState, + } +} + // The HL7v2 type definitions. func (o Hl7TypesConfigResponseOutput) Type() TypeResponseArrayOutput { return o.ApplyT(func(v Hl7TypesConfigResponse) []TypeResponse { return v.Type }).(TypeResponseArrayOutput) @@ -7551,6 +8830,12 @@ func (o Hl7TypesConfigResponseArrayOutput) ToHl7TypesConfigResponseArrayOutputWi return o } +func (o Hl7TypesConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7TypesConfigResponse] { + return pulumix.Output[[]Hl7TypesConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o Hl7TypesConfigResponseArrayOutput) Index(i pulumi.IntInput) Hl7TypesConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7TypesConfigResponse { return vs[0].([]Hl7TypesConfigResponse)[vs[1].(int)] @@ -7596,6 +8881,12 @@ func (i Hl7V2NotificationConfigArgs) ToHl7V2NotificationConfigOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(Hl7V2NotificationConfigOutput) } +func (i Hl7V2NotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[Hl7V2NotificationConfig] { + return pulumix.Output[Hl7V2NotificationConfig]{ + OutputState: i.ToHl7V2NotificationConfigOutputWithContext(ctx).OutputState, + } +} + // Hl7V2NotificationConfigArrayInput is an input type that accepts Hl7V2NotificationConfigArray and Hl7V2NotificationConfigArrayOutput values. // You can construct a concrete instance of `Hl7V2NotificationConfigArrayInput` via: // @@ -7621,6 +8912,12 @@ func (i Hl7V2NotificationConfigArray) ToHl7V2NotificationConfigArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(Hl7V2NotificationConfigArrayOutput) } +func (i Hl7V2NotificationConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]Hl7V2NotificationConfig] { + return pulumix.Output[[]Hl7V2NotificationConfig]{ + OutputState: i.ToHl7V2NotificationConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies where and whether to send notifications upon changes to a data store. type Hl7V2NotificationConfigOutput struct{ *pulumi.OutputState } @@ -7636,6 +8933,12 @@ func (o Hl7V2NotificationConfigOutput) ToHl7V2NotificationConfigOutputWithContex return o } +func (o Hl7V2NotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7V2NotificationConfig] { + return pulumix.Output[Hl7V2NotificationConfig]{ + OutputState: o.OutputState, + } +} + // Restricts notifications sent for messages matching a filter. If this is empty, all messages are matched. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `"query text"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `"Comment = great"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Fields/functions available for filtering are: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = "ADT"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date < "2017-01-02"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time < "2017-01-02T00:00:00-05:00"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time < "2017-01-02T00:00:00-05:00"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = "ABC"`. * `PatientId(value, type)`, which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId("123456", "MRN")`. * `labels.x`, a string value of the label with key `x` as set using the Message.labels map. For example, `labels."priority"="high"`. The operator `:*` can be used to assert the existence of a label. For example, `labels."priority":*`. func (o Hl7V2NotificationConfigOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v Hl7V2NotificationConfig) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -7660,6 +8963,12 @@ func (o Hl7V2NotificationConfigArrayOutput) ToHl7V2NotificationConfigArrayOutput return o } +func (o Hl7V2NotificationConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7V2NotificationConfig] { + return pulumix.Output[[]Hl7V2NotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o Hl7V2NotificationConfigArrayOutput) Index(i pulumi.IntInput) Hl7V2NotificationConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7V2NotificationConfig { return vs[0].([]Hl7V2NotificationConfig)[vs[1].(int)] @@ -7689,6 +8998,12 @@ func (o Hl7V2NotificationConfigResponseOutput) ToHl7V2NotificationConfigResponse return o } +func (o Hl7V2NotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Hl7V2NotificationConfigResponse] { + return pulumix.Output[Hl7V2NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Restricts notifications sent for messages matching a filter. If this is empty, all messages are matched. The following syntax is available: * A string field value can be written as text inside quotation marks, for example `"query text"`. The only valid relational operation for text fields is equality (`=`), where text is searched within the field, rather than having the field be equal to the text. For example, `"Comment = great"` returns messages with `great` in the comment field. * A number field value can be written as an integer, a decimal, or an exponential. The valid relational operators for number fields are the equality operator (`=`), along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * A date field value must be written in `yyyy-mm-dd` form. Fields with date and time use the RFC3339 time format. Leading zeros are required for one-digit months and days. The valid relational operators for date fields are the equality operator (`=`) , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can prepend the `NOT` operator to an expression to negate it. * Multiple field query expressions can be combined in one query by adding `AND` or `OR` operators between the expressions. If a boolean operator appears within a quoted string, it is not treated as special, it's just another part of the character string to be matched. You can prepend the `NOT` operator to an expression to negate it. Fields/functions available for filtering are: * `message_type`, from the MSH-9.1 field. For example, `NOT message_type = "ADT"`. * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the MSH-7 segment. For example, `send_date < "2017-01-02"`. * `send_time`, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, `send_time < "2017-01-02T00:00:00-05:00"`. * `create_time`, the timestamp when the message was created in the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `create_time < "2017-01-02T00:00:00-05:00"`. * `send_facility`, the care center that the message came from, from the MSH-4 segment. For example, `send_facility = "ABC"`. * `PatientId(value, type)`, which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId("123456", "MRN")`. * `labels.x`, a string value of the label with key `x` as set using the Message.labels map. For example, `labels."priority"="high"`. The operator `:*` can be used to assert the existence of a label. For example, `labels."priority":*`. func (o Hl7V2NotificationConfigResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v Hl7V2NotificationConfigResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -7713,6 +9028,12 @@ func (o Hl7V2NotificationConfigResponseArrayOutput) ToHl7V2NotificationConfigRes return o } +func (o Hl7V2NotificationConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Hl7V2NotificationConfigResponse] { + return pulumix.Output[[]Hl7V2NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o Hl7V2NotificationConfigResponseArrayOutput) Index(i pulumi.IntInput) Hl7V2NotificationConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Hl7V2NotificationConfigResponse { return vs[0].([]Hl7V2NotificationConfigResponse)[vs[1].(int)] @@ -7758,6 +9079,12 @@ func (i ImageArgs) ToImageOutputWithContext(ctx context.Context) ImageOutput { return pulumi.ToOutputWithContext(ctx, i).(ImageOutput) } +func (i ImageArgs) ToOutput(ctx context.Context) pulumix.Output[Image] { + return pulumix.Output[Image]{ + OutputState: i.ToImageOutputWithContext(ctx).OutputState, + } +} + func (i ImageArgs) ToImagePtrOutput() ImagePtrOutput { return i.ToImagePtrOutputWithContext(context.Background()) } @@ -7799,6 +9126,12 @@ func (i *imagePtrType) ToImagePtrOutputWithContext(ctx context.Context) ImagePtr return pulumi.ToOutputWithContext(ctx, i).(ImagePtrOutput) } +func (i *imagePtrType) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: i.ToImagePtrOutputWithContext(ctx).OutputState, + } +} + // ImageArrayInput is an input type that accepts ImageArray and ImageArrayOutput values. // You can construct a concrete instance of `ImageArrayInput` via: // @@ -7824,6 +9157,12 @@ func (i ImageArray) ToImageArrayOutputWithContext(ctx context.Context) ImageArra return pulumi.ToOutputWithContext(ctx, i).(ImageArrayOutput) } +func (i ImageArray) ToOutput(ctx context.Context) pulumix.Output[[]Image] { + return pulumix.Output[[]Image]{ + OutputState: i.ToImageArrayOutputWithContext(ctx).OutputState, + } +} + // Raw bytes representing consent artifact content. type ImageOutput struct{ *pulumi.OutputState } @@ -7849,6 +9188,12 @@ func (o ImageOutput) ToImagePtrOutputWithContext(ctx context.Context) ImagePtrOu }).(ImagePtrOutput) } +func (o ImageOutput) ToOutput(ctx context.Context) pulumix.Output[Image] { + return pulumix.Output[Image]{ + OutputState: o.OutputState, + } +} + // Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The Cloud Healthcare API service account must have the `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes. func (o ImageOutput) GcsUri() pulumi.StringPtrOutput { return o.ApplyT(func(v Image) *string { return v.GcsUri }).(pulumi.StringPtrOutput) @@ -7873,6 +9218,12 @@ func (o ImagePtrOutput) ToImagePtrOutputWithContext(ctx context.Context) ImagePt return o } +func (o ImagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: o.OutputState, + } +} + func (o ImagePtrOutput) Elem() ImageOutput { return o.ApplyT(func(v *Image) Image { if v != nil { @@ -7917,6 +9268,12 @@ func (o ImageArrayOutput) ToImageArrayOutputWithContext(ctx context.Context) Ima return o } +func (o ImageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Image] { + return pulumix.Output[[]Image]{ + OutputState: o.OutputState, + } +} + func (o ImageArrayOutput) Index(i pulumi.IntInput) ImageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Image { return vs[0].([]Image)[vs[1].(int)] @@ -7962,6 +9319,12 @@ func (i ImageAnnotationArgs) ToImageAnnotationOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ImageAnnotationOutput) } +func (i ImageAnnotationArgs) ToOutput(ctx context.Context) pulumix.Output[ImageAnnotation] { + return pulumix.Output[ImageAnnotation]{ + OutputState: i.ToImageAnnotationOutputWithContext(ctx).OutputState, + } +} + func (i ImageAnnotationArgs) ToImageAnnotationPtrOutput() ImageAnnotationPtrOutput { return i.ToImageAnnotationPtrOutputWithContext(context.Background()) } @@ -8003,6 +9366,12 @@ func (i *imageAnnotationPtrType) ToImageAnnotationPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ImageAnnotationPtrOutput) } +func (i *imageAnnotationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ImageAnnotation] { + return pulumix.Output[*ImageAnnotation]{ + OutputState: i.ToImageAnnotationPtrOutputWithContext(ctx).OutputState, + } +} + // Image annotation. type ImageAnnotationOutput struct{ *pulumi.OutputState } @@ -8028,6 +9397,12 @@ func (o ImageAnnotationOutput) ToImageAnnotationPtrOutputWithContext(ctx context }).(ImageAnnotationPtrOutput) } +func (o ImageAnnotationOutput) ToOutput(ctx context.Context) pulumix.Output[ImageAnnotation] { + return pulumix.Output[ImageAnnotation]{ + OutputState: o.OutputState, + } +} + // The list of polygons outlining the sensitive regions in the image. func (o ImageAnnotationOutput) BoundingPolys() BoundingPolyArrayOutput { return o.ApplyT(func(v ImageAnnotation) []BoundingPoly { return v.BoundingPolys }).(BoundingPolyArrayOutput) @@ -8052,6 +9427,12 @@ func (o ImageAnnotationPtrOutput) ToImageAnnotationPtrOutputWithContext(ctx cont return o } +func (o ImageAnnotationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageAnnotation] { + return pulumix.Output[*ImageAnnotation]{ + OutputState: o.OutputState, + } +} + func (o ImageAnnotationPtrOutput) Elem() ImageAnnotationOutput { return o.ApplyT(func(v *ImageAnnotation) ImageAnnotation { if v != nil { @@ -8105,6 +9486,12 @@ func (o ImageAnnotationResponseOutput) ToImageAnnotationResponseOutputWithContex return o } +func (o ImageAnnotationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageAnnotationResponse] { + return pulumix.Output[ImageAnnotationResponse]{ + OutputState: o.OutputState, + } +} + // The list of polygons outlining the sensitive regions in the image. func (o ImageAnnotationResponseOutput) BoundingPolys() BoundingPolyResponseArrayOutput { return o.ApplyT(func(v ImageAnnotationResponse) []BoundingPolyResponse { return v.BoundingPolys }).(BoundingPolyResponseArrayOutput) @@ -8158,6 +9545,12 @@ func (i ImageConfigArgs) ToImageConfigOutputWithContext(ctx context.Context) Ima return pulumi.ToOutputWithContext(ctx, i).(ImageConfigOutput) } +func (i ImageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ImageConfig] { + return pulumix.Output[ImageConfig]{ + OutputState: i.ToImageConfigOutputWithContext(ctx).OutputState, + } +} + func (i ImageConfigArgs) ToImageConfigPtrOutput() ImageConfigPtrOutput { return i.ToImageConfigPtrOutputWithContext(context.Background()) } @@ -8199,6 +9592,12 @@ func (i *imageConfigPtrType) ToImageConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ImageConfigPtrOutput) } +func (i *imageConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ImageConfig] { + return pulumix.Output[*ImageConfig]{ + OutputState: i.ToImageConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how to handle de-identification of image pixels. type ImageConfigOutput struct{ *pulumi.OutputState } @@ -8224,6 +9623,12 @@ func (o ImageConfigOutput) ToImageConfigPtrOutputWithContext(ctx context.Context }).(ImageConfigPtrOutput) } +func (o ImageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ImageConfig] { + return pulumix.Output[ImageConfig]{ + OutputState: o.OutputState, + } +} + // Additional InfoTypes to redact in the images in addition to those used by `text_redaction_mode`. Can only be used when `text_redaction_mode` is set to `REDACT_SENSITIVE_TEXT`, `REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS` or `TEXT_REDACTION_MODE_UNSPECIFIED`. func (o ImageConfigOutput) AdditionalInfoTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v ImageConfig) []string { return v.AdditionalInfoTypes }).(pulumi.StringArrayOutput) @@ -8253,6 +9658,12 @@ func (o ImageConfigPtrOutput) ToImageConfigPtrOutputWithContext(ctx context.Cont return o } +func (o ImageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImageConfig] { + return pulumix.Output[*ImageConfig]{ + OutputState: o.OutputState, + } +} + func (o ImageConfigPtrOutput) Elem() ImageConfigOutput { return o.ApplyT(func(v *ImageConfig) ImageConfig { if v != nil { @@ -8318,6 +9729,12 @@ func (o ImageConfigResponseOutput) ToImageConfigResponseOutputWithContext(ctx co return o } +func (o ImageConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageConfigResponse] { + return pulumix.Output[ImageConfigResponse]{ + OutputState: o.OutputState, + } +} + // Additional InfoTypes to redact in the images in addition to those used by `text_redaction_mode`. Can only be used when `text_redaction_mode` is set to `REDACT_SENSITIVE_TEXT`, `REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS` or `TEXT_REDACTION_MODE_UNSPECIFIED`. func (o ImageConfigResponseOutput) AdditionalInfoTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v ImageConfigResponse) []string { return v.AdditionalInfoTypes }).(pulumi.StringArrayOutput) @@ -8356,6 +9773,12 @@ func (o ImageResponseOutput) ToImageResponseOutputWithContext(ctx context.Contex return o } +func (o ImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageResponse] { + return pulumix.Output[ImageResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format: `gs://{bucket_id}/{object_id}`. The Cloud Healthcare API service account must have the `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes. func (o ImageResponseOutput) GcsUri() pulumi.StringOutput { return o.ApplyT(func(v ImageResponse) string { return v.GcsUri }).(pulumi.StringOutput) @@ -8380,6 +9803,12 @@ func (o ImageResponseArrayOutput) ToImageResponseArrayOutputWithContext(ctx cont return o } +func (o ImageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ImageResponse] { + return pulumix.Output[[]ImageResponse]{ + OutputState: o.OutputState, + } +} + func (o ImageResponseArrayOutput) Index(i pulumi.IntInput) ImageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImageResponse { return vs[0].([]ImageResponse)[vs[1].(int)] @@ -8441,6 +9870,12 @@ func (i InfoTypeTransformationArgs) ToInfoTypeTransformationOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(InfoTypeTransformationOutput) } +func (i InfoTypeTransformationArgs) ToOutput(ctx context.Context) pulumix.Output[InfoTypeTransformation] { + return pulumix.Output[InfoTypeTransformation]{ + OutputState: i.ToInfoTypeTransformationOutputWithContext(ctx).OutputState, + } +} + // InfoTypeTransformationArrayInput is an input type that accepts InfoTypeTransformationArray and InfoTypeTransformationArrayOutput values. // You can construct a concrete instance of `InfoTypeTransformationArrayInput` via: // @@ -8466,6 +9901,12 @@ func (i InfoTypeTransformationArray) ToInfoTypeTransformationArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(InfoTypeTransformationArrayOutput) } +func (i InfoTypeTransformationArray) ToOutput(ctx context.Context) pulumix.Output[[]InfoTypeTransformation] { + return pulumix.Output[[]InfoTypeTransformation]{ + OutputState: i.ToInfoTypeTransformationArrayOutputWithContext(ctx).OutputState, + } +} + // A transformation to apply to text that is identified as a specific info_type. type InfoTypeTransformationOutput struct{ *pulumi.OutputState } @@ -8481,6 +9922,12 @@ func (o InfoTypeTransformationOutput) ToInfoTypeTransformationOutputWithContext( return o } +func (o InfoTypeTransformationOutput) ToOutput(ctx context.Context) pulumix.Output[InfoTypeTransformation] { + return pulumix.Output[InfoTypeTransformation]{ + OutputState: o.OutputState, + } +} + // Config for character mask. func (o InfoTypeTransformationOutput) CharacterMaskConfig() CharacterMaskConfigPtrOutput { return o.ApplyT(func(v InfoTypeTransformation) *CharacterMaskConfig { return v.CharacterMaskConfig }).(CharacterMaskConfigPtrOutput) @@ -8525,6 +9972,12 @@ func (o InfoTypeTransformationArrayOutput) ToInfoTypeTransformationArrayOutputWi return o } +func (o InfoTypeTransformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InfoTypeTransformation] { + return pulumix.Output[[]InfoTypeTransformation]{ + OutputState: o.OutputState, + } +} + func (o InfoTypeTransformationArrayOutput) Index(i pulumi.IntInput) InfoTypeTransformationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InfoTypeTransformation { return vs[0].([]InfoTypeTransformation)[vs[1].(int)] @@ -8562,6 +10015,12 @@ func (o InfoTypeTransformationResponseOutput) ToInfoTypeTransformationResponseOu return o } +func (o InfoTypeTransformationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InfoTypeTransformationResponse] { + return pulumix.Output[InfoTypeTransformationResponse]{ + OutputState: o.OutputState, + } +} + // Config for character mask. func (o InfoTypeTransformationResponseOutput) CharacterMaskConfig() CharacterMaskConfigResponseOutput { return o.ApplyT(func(v InfoTypeTransformationResponse) CharacterMaskConfigResponse { return v.CharacterMaskConfig }).(CharacterMaskConfigResponseOutput) @@ -8608,6 +10067,12 @@ func (o InfoTypeTransformationResponseArrayOutput) ToInfoTypeTransformationRespo return o } +func (o InfoTypeTransformationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InfoTypeTransformationResponse] { + return pulumix.Output[[]InfoTypeTransformationResponse]{ + OutputState: o.OutputState, + } +} + func (o InfoTypeTransformationResponseArrayOutput) Index(i pulumi.IntInput) InfoTypeTransformationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InfoTypeTransformationResponse { return vs[0].([]InfoTypeTransformationResponse)[vs[1].(int)] @@ -8645,6 +10110,12 @@ func (i KeepExtensionsConfigArgs) ToKeepExtensionsConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(KeepExtensionsConfigOutput) } +func (i KeepExtensionsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[KeepExtensionsConfig] { + return pulumix.Output[KeepExtensionsConfig]{ + OutputState: i.ToKeepExtensionsConfigOutputWithContext(ctx).OutputState, + } +} + func (i KeepExtensionsConfigArgs) ToKeepExtensionsConfigPtrOutput() KeepExtensionsConfigPtrOutput { return i.ToKeepExtensionsConfigPtrOutputWithContext(context.Background()) } @@ -8686,6 +10157,12 @@ func (i *keepExtensionsConfigPtrType) ToKeepExtensionsConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(KeepExtensionsConfigPtrOutput) } +func (i *keepExtensionsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*KeepExtensionsConfig] { + return pulumix.Output[*KeepExtensionsConfig]{ + OutputState: i.ToKeepExtensionsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If provided, all extensions are preserved during de-identification by default. If unspecified, all extensions are removed during de-identification by default. type KeepExtensionsConfigOutput struct{ *pulumi.OutputState } @@ -8711,6 +10188,12 @@ func (o KeepExtensionsConfigOutput) ToKeepExtensionsConfigPtrOutputWithContext(c }).(KeepExtensionsConfigPtrOutput) } +func (o KeepExtensionsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[KeepExtensionsConfig] { + return pulumix.Output[KeepExtensionsConfig]{ + OutputState: o.OutputState, + } +} + type KeepExtensionsConfigPtrOutput struct{ *pulumi.OutputState } func (KeepExtensionsConfigPtrOutput) ElementType() reflect.Type { @@ -8725,6 +10208,12 @@ func (o KeepExtensionsConfigPtrOutput) ToKeepExtensionsConfigPtrOutputWithContex return o } +func (o KeepExtensionsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeepExtensionsConfig] { + return pulumix.Output[*KeepExtensionsConfig]{ + OutputState: o.OutputState, + } +} + func (o KeepExtensionsConfigPtrOutput) Elem() KeepExtensionsConfigOutput { return o.ApplyT(func(v *KeepExtensionsConfig) KeepExtensionsConfig { if v != nil { @@ -8754,6 +10243,12 @@ func (o KeepExtensionsConfigResponseOutput) ToKeepExtensionsConfigResponseOutput return o } +func (o KeepExtensionsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeepExtensionsConfigResponse] { + return pulumix.Output[KeepExtensionsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Keep field unchanged. type KeepField struct { } @@ -8785,6 +10280,12 @@ func (i KeepFieldArgs) ToKeepFieldOutputWithContext(ctx context.Context) KeepFie return pulumi.ToOutputWithContext(ctx, i).(KeepFieldOutput) } +func (i KeepFieldArgs) ToOutput(ctx context.Context) pulumix.Output[KeepField] { + return pulumix.Output[KeepField]{ + OutputState: i.ToKeepFieldOutputWithContext(ctx).OutputState, + } +} + func (i KeepFieldArgs) ToKeepFieldPtrOutput() KeepFieldPtrOutput { return i.ToKeepFieldPtrOutputWithContext(context.Background()) } @@ -8826,6 +10327,12 @@ func (i *keepFieldPtrType) ToKeepFieldPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(KeepFieldPtrOutput) } +func (i *keepFieldPtrType) ToOutput(ctx context.Context) pulumix.Output[*KeepField] { + return pulumix.Output[*KeepField]{ + OutputState: i.ToKeepFieldPtrOutputWithContext(ctx).OutputState, + } +} + // Keep field unchanged. type KeepFieldOutput struct{ *pulumi.OutputState } @@ -8851,6 +10358,12 @@ func (o KeepFieldOutput) ToKeepFieldPtrOutputWithContext(ctx context.Context) Ke }).(KeepFieldPtrOutput) } +func (o KeepFieldOutput) ToOutput(ctx context.Context) pulumix.Output[KeepField] { + return pulumix.Output[KeepField]{ + OutputState: o.OutputState, + } +} + type KeepFieldPtrOutput struct{ *pulumi.OutputState } func (KeepFieldPtrOutput) ElementType() reflect.Type { @@ -8865,6 +10378,12 @@ func (o KeepFieldPtrOutput) ToKeepFieldPtrOutputWithContext(ctx context.Context) return o } +func (o KeepFieldPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeepField] { + return pulumix.Output[*KeepField]{ + OutputState: o.OutputState, + } +} + func (o KeepFieldPtrOutput) Elem() KeepFieldOutput { return o.ApplyT(func(v *KeepField) KeepField { if v != nil { @@ -8894,6 +10413,12 @@ func (o KeepFieldResponseOutput) ToKeepFieldResponseOutputWithContext(ctx contex return o } +func (o KeepFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeepFieldResponse] { + return pulumix.Output[KeepFieldResponse]{ + OutputState: o.OutputState, + } +} + // Keep tag unchanged. type KeepTag struct { } @@ -8925,6 +10450,12 @@ func (i KeepTagArgs) ToKeepTagOutputWithContext(ctx context.Context) KeepTagOutp return pulumi.ToOutputWithContext(ctx, i).(KeepTagOutput) } +func (i KeepTagArgs) ToOutput(ctx context.Context) pulumix.Output[KeepTag] { + return pulumix.Output[KeepTag]{ + OutputState: i.ToKeepTagOutputWithContext(ctx).OutputState, + } +} + func (i KeepTagArgs) ToKeepTagPtrOutput() KeepTagPtrOutput { return i.ToKeepTagPtrOutputWithContext(context.Background()) } @@ -8966,6 +10497,12 @@ func (i *keepTagPtrType) ToKeepTagPtrOutputWithContext(ctx context.Context) Keep return pulumi.ToOutputWithContext(ctx, i).(KeepTagPtrOutput) } +func (i *keepTagPtrType) ToOutput(ctx context.Context) pulumix.Output[*KeepTag] { + return pulumix.Output[*KeepTag]{ + OutputState: i.ToKeepTagPtrOutputWithContext(ctx).OutputState, + } +} + // Keep tag unchanged. type KeepTagOutput struct{ *pulumi.OutputState } @@ -8991,6 +10528,12 @@ func (o KeepTagOutput) ToKeepTagPtrOutputWithContext(ctx context.Context) KeepTa }).(KeepTagPtrOutput) } +func (o KeepTagOutput) ToOutput(ctx context.Context) pulumix.Output[KeepTag] { + return pulumix.Output[KeepTag]{ + OutputState: o.OutputState, + } +} + type KeepTagPtrOutput struct{ *pulumi.OutputState } func (KeepTagPtrOutput) ElementType() reflect.Type { @@ -9005,6 +10548,12 @@ func (o KeepTagPtrOutput) ToKeepTagPtrOutputWithContext(ctx context.Context) Kee return o } +func (o KeepTagPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeepTag] { + return pulumix.Output[*KeepTag]{ + OutputState: o.OutputState, + } +} + func (o KeepTagPtrOutput) Elem() KeepTagOutput { return o.ApplyT(func(v *KeepTag) KeepTag { if v != nil { @@ -9034,6 +10583,12 @@ func (o KeepTagResponseOutput) ToKeepTagResponseOutputWithContext(ctx context.Co return o } +func (o KeepTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeepTagResponse] { + return pulumix.Output[KeepTagResponse]{ + OutputState: o.OutputState, + } +} + // Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). type KmsWrappedCryptoKey struct { // The resource name of the KMS CryptoKey to use for unwrapping. For example, `projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}`. @@ -9073,6 +10628,12 @@ func (i KmsWrappedCryptoKeyArgs) ToKmsWrappedCryptoKeyOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(KmsWrappedCryptoKeyOutput) } +func (i KmsWrappedCryptoKeyArgs) ToOutput(ctx context.Context) pulumix.Output[KmsWrappedCryptoKey] { + return pulumix.Output[KmsWrappedCryptoKey]{ + OutputState: i.ToKmsWrappedCryptoKeyOutputWithContext(ctx).OutputState, + } +} + func (i KmsWrappedCryptoKeyArgs) ToKmsWrappedCryptoKeyPtrOutput() KmsWrappedCryptoKeyPtrOutput { return i.ToKmsWrappedCryptoKeyPtrOutputWithContext(context.Background()) } @@ -9114,6 +10675,12 @@ func (i *kmsWrappedCryptoKeyPtrType) ToKmsWrappedCryptoKeyPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(KmsWrappedCryptoKeyPtrOutput) } +func (i *kmsWrappedCryptoKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*KmsWrappedCryptoKey] { + return pulumix.Output[*KmsWrappedCryptoKey]{ + OutputState: i.ToKmsWrappedCryptoKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). type KmsWrappedCryptoKeyOutput struct{ *pulumi.OutputState } @@ -9139,6 +10706,12 @@ func (o KmsWrappedCryptoKeyOutput) ToKmsWrappedCryptoKeyPtrOutputWithContext(ctx }).(KmsWrappedCryptoKeyPtrOutput) } +func (o KmsWrappedCryptoKeyOutput) ToOutput(ctx context.Context) pulumix.Output[KmsWrappedCryptoKey] { + return pulumix.Output[KmsWrappedCryptoKey]{ + OutputState: o.OutputState, + } +} + // The resource name of the KMS CryptoKey to use for unwrapping. For example, `projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}`. func (o KmsWrappedCryptoKeyOutput) CryptoKey() pulumi.StringOutput { return o.ApplyT(func(v KmsWrappedCryptoKey) string { return v.CryptoKey }).(pulumi.StringOutput) @@ -9163,6 +10736,12 @@ func (o KmsWrappedCryptoKeyPtrOutput) ToKmsWrappedCryptoKeyPtrOutputWithContext( return o } +func (o KmsWrappedCryptoKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KmsWrappedCryptoKey] { + return pulumix.Output[*KmsWrappedCryptoKey]{ + OutputState: o.OutputState, + } +} + func (o KmsWrappedCryptoKeyPtrOutput) Elem() KmsWrappedCryptoKeyOutput { return o.ApplyT(func(v *KmsWrappedCryptoKey) KmsWrappedCryptoKey { if v != nil { @@ -9216,6 +10795,12 @@ func (o KmsWrappedCryptoKeyResponseOutput) ToKmsWrappedCryptoKeyResponseOutputWi return o } +func (o KmsWrappedCryptoKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KmsWrappedCryptoKeyResponse] { + return pulumix.Output[KmsWrappedCryptoKeyResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the KMS CryptoKey to use for unwrapping. For example, `projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}`. func (o KmsWrappedCryptoKeyResponseOutput) CryptoKey() pulumi.StringOutput { return o.ApplyT(func(v KmsWrappedCryptoKeyResponse) string { return v.CryptoKey }).(pulumi.StringOutput) @@ -9265,6 +10850,12 @@ func (i NotificationConfigArgs) ToNotificationConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigOutput) } +func (i NotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NotificationConfig] { + return pulumix.Output[NotificationConfig]{ + OutputState: i.ToNotificationConfigOutputWithContext(ctx).OutputState, + } +} + func (i NotificationConfigArgs) ToNotificationConfigPtrOutput() NotificationConfigPtrOutput { return i.ToNotificationConfigPtrOutputWithContext(context.Background()) } @@ -9306,6 +10897,12 @@ func (i *notificationConfigPtrType) ToNotificationConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigPtrOutput) } +func (i *notificationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: i.ToNotificationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies where to send notifications upon changes to a data store. type NotificationConfigOutput struct{ *pulumi.OutputState } @@ -9331,6 +10928,12 @@ func (o NotificationConfigOutput) ToNotificationConfigPtrOutputWithContext(ctx c }).(NotificationConfigPtrOutput) } +func (o NotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfig] { + return pulumix.Output[NotificationConfig]{ + OutputState: o.OutputState, + } +} + // The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data contains the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. Cloud Healthcare API service account must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail. If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). If the number of errors exceeds a certain rate, some aren't submitted. Note that not all operations trigger notifications, see [Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/how-tos/pubsub) for specific details. func (o NotificationConfigOutput) PubsubTopic() pulumi.StringPtrOutput { return o.ApplyT(func(v NotificationConfig) *string { return v.PubsubTopic }).(pulumi.StringPtrOutput) @@ -9355,6 +10958,12 @@ func (o NotificationConfigPtrOutput) ToNotificationConfigPtrOutputWithContext(ct return o } +func (o NotificationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o NotificationConfigPtrOutput) Elem() NotificationConfigOutput { return o.ApplyT(func(v *NotificationConfig) NotificationConfig { if v != nil { @@ -9408,6 +11017,12 @@ func (o NotificationConfigResponseOutput) ToNotificationConfigResponseOutputWith return o } +func (o NotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfigResponse] { + return pulumix.Output[NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data contains the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. Cloud Healthcare API service account must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail. If a notification can't be published to Pub/Sub, errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). If the number of errors exceeds a certain rate, some aren't submitted. Note that not all operations trigger notifications, see [Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/how-tos/pubsub) for specific details. func (o NotificationConfigResponseOutput) PubsubTopic() pulumi.StringOutput { return o.ApplyT(func(v NotificationConfigResponse) string { return v.PubsubTopic }).(pulumi.StringOutput) @@ -9461,6 +11076,12 @@ func (i OptionsArgs) ToOptionsOutputWithContext(ctx context.Context) OptionsOutp return pulumi.ToOutputWithContext(ctx, i).(OptionsOutput) } +func (i OptionsArgs) ToOutput(ctx context.Context) pulumix.Output[Options] { + return pulumix.Output[Options]{ + OutputState: i.ToOptionsOutputWithContext(ctx).OutputState, + } +} + func (i OptionsArgs) ToOptionsPtrOutput() OptionsPtrOutput { return i.ToOptionsPtrOutputWithContext(context.Background()) } @@ -9502,6 +11123,12 @@ func (i *optionsPtrType) ToOptionsPtrOutputWithContext(ctx context.Context) Opti return pulumi.ToOutputWithContext(ctx, i).(OptionsPtrOutput) } +func (i *optionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Options] { + return pulumix.Output[*Options]{ + OutputState: i.ToOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies additional options to apply to the base profile. type OptionsOutput struct{ *pulumi.OutputState } @@ -9527,6 +11154,12 @@ func (o OptionsOutput) ToOptionsPtrOutputWithContext(ctx context.Context) Option }).(OptionsPtrOutput) } +func (o OptionsOutput) ToOutput(ctx context.Context) pulumix.Output[Options] { + return pulumix.Output[Options]{ + OutputState: o.OutputState, + } +} + // Set Clean Descriptors Option. func (o OptionsOutput) CleanDescriptors() CleanDescriptorsOptionPtrOutput { return o.ApplyT(func(v Options) *CleanDescriptorsOption { return v.CleanDescriptors }).(CleanDescriptorsOptionPtrOutput) @@ -9556,6 +11189,12 @@ func (o OptionsPtrOutput) ToOptionsPtrOutputWithContext(ctx context.Context) Opt return o } +func (o OptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Options] { + return pulumix.Output[*Options]{ + OutputState: o.OutputState, + } +} + func (o OptionsPtrOutput) Elem() OptionsOutput { return o.ApplyT(func(v *Options) Options { if v != nil { @@ -9621,6 +11260,12 @@ func (o OptionsResponseOutput) ToOptionsResponseOutputWithContext(ctx context.Co return o } +func (o OptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OptionsResponse] { + return pulumix.Output[OptionsResponse]{ + OutputState: o.OutputState, + } +} + // Set Clean Descriptors Option. func (o OptionsResponseOutput) CleanDescriptors() CleanDescriptorsOptionResponseOutput { return o.ApplyT(func(v OptionsResponse) CleanDescriptorsOptionResponse { return v.CleanDescriptors }).(CleanDescriptorsOptionResponseOutput) @@ -9656,6 +11301,12 @@ func (o ParsedDataResponseOutput) ToParsedDataResponseOutputWithContext(ctx cont return o } +func (o ParsedDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ParsedDataResponse] { + return pulumix.Output[ParsedDataResponse]{ + OutputState: o.OutputState, + } +} + func (o ParsedDataResponseOutput) Segments() SegmentResponseArrayOutput { return o.ApplyT(func(v ParsedDataResponse) []SegmentResponse { return v.Segments }).(SegmentResponseArrayOutput) } @@ -9707,6 +11358,12 @@ func (i ParserConfigArgs) ToParserConfigOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(ParserConfigOutput) } +func (i ParserConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ParserConfig] { + return pulumix.Output[ParserConfig]{ + OutputState: i.ToParserConfigOutputWithContext(ctx).OutputState, + } +} + func (i ParserConfigArgs) ToParserConfigPtrOutput() ParserConfigPtrOutput { return i.ToParserConfigPtrOutputWithContext(context.Background()) } @@ -9748,6 +11405,12 @@ func (i *parserConfigPtrType) ToParserConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ParserConfigPtrOutput) } +func (i *parserConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ParserConfig] { + return pulumix.Output[*ParserConfig]{ + OutputState: i.ToParserConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for the parser. It determines how the server parses the messages. type ParserConfigOutput struct{ *pulumi.OutputState } @@ -9773,6 +11436,12 @@ func (o ParserConfigOutput) ToParserConfigPtrOutputWithContext(ctx context.Conte }).(ParserConfigPtrOutput) } +func (o ParserConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ParserConfig] { + return pulumix.Output[ParserConfig]{ + OutputState: o.OutputState, + } +} + // Determines whether messages with no header are allowed. func (o ParserConfigOutput) AllowNullHeader() pulumi.BoolPtrOutput { return o.ApplyT(func(v ParserConfig) *bool { return v.AllowNullHeader }).(pulumi.BoolPtrOutput) @@ -9807,6 +11476,12 @@ func (o ParserConfigPtrOutput) ToParserConfigPtrOutputWithContext(ctx context.Co return o } +func (o ParserConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ParserConfig] { + return pulumix.Output[*ParserConfig]{ + OutputState: o.OutputState, + } +} + func (o ParserConfigPtrOutput) Elem() ParserConfigOutput { return o.ApplyT(func(v *ParserConfig) ParserConfig { if v != nil { @@ -9884,6 +11559,12 @@ func (o ParserConfigResponseOutput) ToParserConfigResponseOutputWithContext(ctx return o } +func (o ParserConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ParserConfigResponse] { + return pulumix.Output[ParserConfigResponse]{ + OutputState: o.OutputState, + } +} + // Determines whether messages with no header are allowed. func (o ParserConfigResponseOutput) AllowNullHeader() pulumi.BoolOutput { return o.ApplyT(func(v ParserConfigResponse) bool { return v.AllowNullHeader }).(pulumi.BoolOutput) @@ -9943,6 +11624,12 @@ func (i PatientIdArgs) ToPatientIdOutputWithContext(ctx context.Context) Patient return pulumi.ToOutputWithContext(ctx, i).(PatientIdOutput) } +func (i PatientIdArgs) ToOutput(ctx context.Context) pulumix.Output[PatientId] { + return pulumix.Output[PatientId]{ + OutputState: i.ToPatientIdOutputWithContext(ctx).OutputState, + } +} + // PatientIdArrayInput is an input type that accepts PatientIdArray and PatientIdArrayOutput values. // You can construct a concrete instance of `PatientIdArrayInput` via: // @@ -9968,6 +11655,12 @@ func (i PatientIdArray) ToPatientIdArrayOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PatientIdArrayOutput) } +func (i PatientIdArray) ToOutput(ctx context.Context) pulumix.Output[[]PatientId] { + return pulumix.Output[[]PatientId]{ + OutputState: i.ToPatientIdArrayOutputWithContext(ctx).OutputState, + } +} + // A patient identifier and associated type. type PatientIdOutput struct{ *pulumi.OutputState } @@ -9983,6 +11676,12 @@ func (o PatientIdOutput) ToPatientIdOutputWithContext(ctx context.Context) Patie return o } +func (o PatientIdOutput) ToOutput(ctx context.Context) pulumix.Output[PatientId] { + return pulumix.Output[PatientId]{ + OutputState: o.OutputState, + } +} + // ID type. For example, MRN or NHS. func (o PatientIdOutput) Type() pulumi.StringPtrOutput { return o.ApplyT(func(v PatientId) *string { return v.Type }).(pulumi.StringPtrOutput) @@ -10007,6 +11706,12 @@ func (o PatientIdArrayOutput) ToPatientIdArrayOutputWithContext(ctx context.Cont return o } +func (o PatientIdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PatientId] { + return pulumix.Output[[]PatientId]{ + OutputState: o.OutputState, + } +} + func (o PatientIdArrayOutput) Index(i pulumi.IntInput) PatientIdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PatientId { return vs[0].([]PatientId)[vs[1].(int)] @@ -10036,6 +11741,12 @@ func (o PatientIdResponseOutput) ToPatientIdResponseOutputWithContext(ctx contex return o } +func (o PatientIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PatientIdResponse] { + return pulumix.Output[PatientIdResponse]{ + OutputState: o.OutputState, + } +} + // ID type. For example, MRN or NHS. func (o PatientIdResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v PatientIdResponse) string { return v.Type }).(pulumi.StringOutput) @@ -10060,6 +11771,12 @@ func (o PatientIdResponseArrayOutput) ToPatientIdResponseArrayOutputWithContext( return o } +func (o PatientIdResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PatientIdResponse] { + return pulumix.Output[[]PatientIdResponse]{ + OutputState: o.OutputState, + } +} + func (o PatientIdResponseArrayOutput) Index(i pulumi.IntInput) PatientIdResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PatientIdResponse { return vs[0].([]PatientIdResponse)[vs[1].(int)] @@ -10097,6 +11814,12 @@ func (i RecurseTagArgs) ToRecurseTagOutputWithContext(ctx context.Context) Recur return pulumi.ToOutputWithContext(ctx, i).(RecurseTagOutput) } +func (i RecurseTagArgs) ToOutput(ctx context.Context) pulumix.Output[RecurseTag] { + return pulumix.Output[RecurseTag]{ + OutputState: i.ToRecurseTagOutputWithContext(ctx).OutputState, + } +} + func (i RecurseTagArgs) ToRecurseTagPtrOutput() RecurseTagPtrOutput { return i.ToRecurseTagPtrOutputWithContext(context.Background()) } @@ -10138,6 +11861,12 @@ func (i *recurseTagPtrType) ToRecurseTagPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RecurseTagPtrOutput) } +func (i *recurseTagPtrType) ToOutput(ctx context.Context) pulumix.Output[*RecurseTag] { + return pulumix.Output[*RecurseTag]{ + OutputState: i.ToRecurseTagPtrOutputWithContext(ctx).OutputState, + } +} + // Recursively apply DICOM de-id to tags nested in a sequence. Supported [Value Representation] (http://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): SQ type RecurseTagOutput struct{ *pulumi.OutputState } @@ -10163,6 +11892,12 @@ func (o RecurseTagOutput) ToRecurseTagPtrOutputWithContext(ctx context.Context) }).(RecurseTagPtrOutput) } +func (o RecurseTagOutput) ToOutput(ctx context.Context) pulumix.Output[RecurseTag] { + return pulumix.Output[RecurseTag]{ + OutputState: o.OutputState, + } +} + type RecurseTagPtrOutput struct{ *pulumi.OutputState } func (RecurseTagPtrOutput) ElementType() reflect.Type { @@ -10177,6 +11912,12 @@ func (o RecurseTagPtrOutput) ToRecurseTagPtrOutputWithContext(ctx context.Contex return o } +func (o RecurseTagPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RecurseTag] { + return pulumix.Output[*RecurseTag]{ + OutputState: o.OutputState, + } +} + func (o RecurseTagPtrOutput) Elem() RecurseTagOutput { return o.ApplyT(func(v *RecurseTag) RecurseTag { if v != nil { @@ -10206,6 +11947,12 @@ func (o RecurseTagResponseOutput) ToRecurseTagResponseOutputWithContext(ctx cont return o } +func (o RecurseTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RecurseTagResponse] { + return pulumix.Output[RecurseTagResponse]{ + OutputState: o.OutputState, + } +} + // Define how to redact sensitive values. Default behaviour is erase. For example, "My name is Jane." becomes "My name is ." type RedactConfig struct { } @@ -10237,6 +11984,12 @@ func (i RedactConfigArgs) ToRedactConfigOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, i).(RedactConfigOutput) } +func (i RedactConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RedactConfig] { + return pulumix.Output[RedactConfig]{ + OutputState: i.ToRedactConfigOutputWithContext(ctx).OutputState, + } +} + func (i RedactConfigArgs) ToRedactConfigPtrOutput() RedactConfigPtrOutput { return i.ToRedactConfigPtrOutputWithContext(context.Background()) } @@ -10278,6 +12031,12 @@ func (i *redactConfigPtrType) ToRedactConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RedactConfigPtrOutput) } +func (i *redactConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RedactConfig] { + return pulumix.Output[*RedactConfig]{ + OutputState: i.ToRedactConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Define how to redact sensitive values. Default behaviour is erase. For example, "My name is Jane." becomes "My name is ." type RedactConfigOutput struct{ *pulumi.OutputState } @@ -10303,6 +12062,12 @@ func (o RedactConfigOutput) ToRedactConfigPtrOutputWithContext(ctx context.Conte }).(RedactConfigPtrOutput) } +func (o RedactConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RedactConfig] { + return pulumix.Output[RedactConfig]{ + OutputState: o.OutputState, + } +} + type RedactConfigPtrOutput struct{ *pulumi.OutputState } func (RedactConfigPtrOutput) ElementType() reflect.Type { @@ -10317,6 +12082,12 @@ func (o RedactConfigPtrOutput) ToRedactConfigPtrOutputWithContext(ctx context.Co return o } +func (o RedactConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RedactConfig] { + return pulumix.Output[*RedactConfig]{ + OutputState: o.OutputState, + } +} + func (o RedactConfigPtrOutput) Elem() RedactConfigOutput { return o.ApplyT(func(v *RedactConfig) RedactConfig { if v != nil { @@ -10346,6 +12117,12 @@ func (o RedactConfigResponseOutput) ToRedactConfigResponseOutputWithContext(ctx return o } +func (o RedactConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RedactConfigResponse] { + return pulumix.Output[RedactConfigResponse]{ + OutputState: o.OutputState, + } +} + // Replace UID with a new generated UID. Supported [Value Representation] (http://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): UI type RegenUidTag struct { } @@ -10377,6 +12154,12 @@ func (i RegenUidTagArgs) ToRegenUidTagOutputWithContext(ctx context.Context) Reg return pulumi.ToOutputWithContext(ctx, i).(RegenUidTagOutput) } +func (i RegenUidTagArgs) ToOutput(ctx context.Context) pulumix.Output[RegenUidTag] { + return pulumix.Output[RegenUidTag]{ + OutputState: i.ToRegenUidTagOutputWithContext(ctx).OutputState, + } +} + func (i RegenUidTagArgs) ToRegenUidTagPtrOutput() RegenUidTagPtrOutput { return i.ToRegenUidTagPtrOutputWithContext(context.Background()) } @@ -10418,6 +12201,12 @@ func (i *regenUidTagPtrType) ToRegenUidTagPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RegenUidTagPtrOutput) } +func (i *regenUidTagPtrType) ToOutput(ctx context.Context) pulumix.Output[*RegenUidTag] { + return pulumix.Output[*RegenUidTag]{ + OutputState: i.ToRegenUidTagPtrOutputWithContext(ctx).OutputState, + } +} + // Replace UID with a new generated UID. Supported [Value Representation] (http://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-1): UI type RegenUidTagOutput struct{ *pulumi.OutputState } @@ -10443,6 +12232,12 @@ func (o RegenUidTagOutput) ToRegenUidTagPtrOutputWithContext(ctx context.Context }).(RegenUidTagPtrOutput) } +func (o RegenUidTagOutput) ToOutput(ctx context.Context) pulumix.Output[RegenUidTag] { + return pulumix.Output[RegenUidTag]{ + OutputState: o.OutputState, + } +} + type RegenUidTagPtrOutput struct{ *pulumi.OutputState } func (RegenUidTagPtrOutput) ElementType() reflect.Type { @@ -10457,6 +12252,12 @@ func (o RegenUidTagPtrOutput) ToRegenUidTagPtrOutputWithContext(ctx context.Cont return o } +func (o RegenUidTagPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegenUidTag] { + return pulumix.Output[*RegenUidTag]{ + OutputState: o.OutputState, + } +} + func (o RegenUidTagPtrOutput) Elem() RegenUidTagOutput { return o.ApplyT(func(v *RegenUidTag) RegenUidTag { if v != nil { @@ -10486,6 +12287,12 @@ func (o RegenUidTagResponseOutput) ToRegenUidTagResponseOutputWithContext(ctx co return o } +func (o RegenUidTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegenUidTagResponse] { + return pulumix.Output[RegenUidTagResponse]{ + OutputState: o.OutputState, + } +} + // Remove field. type RemoveField struct { } @@ -10517,6 +12324,12 @@ func (i RemoveFieldArgs) ToRemoveFieldOutputWithContext(ctx context.Context) Rem return pulumi.ToOutputWithContext(ctx, i).(RemoveFieldOutput) } +func (i RemoveFieldArgs) ToOutput(ctx context.Context) pulumix.Output[RemoveField] { + return pulumix.Output[RemoveField]{ + OutputState: i.ToRemoveFieldOutputWithContext(ctx).OutputState, + } +} + func (i RemoveFieldArgs) ToRemoveFieldPtrOutput() RemoveFieldPtrOutput { return i.ToRemoveFieldPtrOutputWithContext(context.Background()) } @@ -10558,6 +12371,12 @@ func (i *removeFieldPtrType) ToRemoveFieldPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RemoveFieldPtrOutput) } +func (i *removeFieldPtrType) ToOutput(ctx context.Context) pulumix.Output[*RemoveField] { + return pulumix.Output[*RemoveField]{ + OutputState: i.ToRemoveFieldPtrOutputWithContext(ctx).OutputState, + } +} + // Remove field. type RemoveFieldOutput struct{ *pulumi.OutputState } @@ -10583,6 +12402,12 @@ func (o RemoveFieldOutput) ToRemoveFieldPtrOutputWithContext(ctx context.Context }).(RemoveFieldPtrOutput) } +func (o RemoveFieldOutput) ToOutput(ctx context.Context) pulumix.Output[RemoveField] { + return pulumix.Output[RemoveField]{ + OutputState: o.OutputState, + } +} + type RemoveFieldPtrOutput struct{ *pulumi.OutputState } func (RemoveFieldPtrOutput) ElementType() reflect.Type { @@ -10597,6 +12422,12 @@ func (o RemoveFieldPtrOutput) ToRemoveFieldPtrOutputWithContext(ctx context.Cont return o } +func (o RemoveFieldPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RemoveField] { + return pulumix.Output[*RemoveField]{ + OutputState: o.OutputState, + } +} + func (o RemoveFieldPtrOutput) Elem() RemoveFieldOutput { return o.ApplyT(func(v *RemoveField) RemoveField { if v != nil { @@ -10626,6 +12457,12 @@ func (o RemoveFieldResponseOutput) ToRemoveFieldResponseOutputWithContext(ctx co return o } +func (o RemoveFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RemoveFieldResponse] { + return pulumix.Output[RemoveFieldResponse]{ + OutputState: o.OutputState, + } +} + // Replace with empty tag. type RemoveTag struct { } @@ -10657,6 +12494,12 @@ func (i RemoveTagArgs) ToRemoveTagOutputWithContext(ctx context.Context) RemoveT return pulumi.ToOutputWithContext(ctx, i).(RemoveTagOutput) } +func (i RemoveTagArgs) ToOutput(ctx context.Context) pulumix.Output[RemoveTag] { + return pulumix.Output[RemoveTag]{ + OutputState: i.ToRemoveTagOutputWithContext(ctx).OutputState, + } +} + func (i RemoveTagArgs) ToRemoveTagPtrOutput() RemoveTagPtrOutput { return i.ToRemoveTagPtrOutputWithContext(context.Background()) } @@ -10698,6 +12541,12 @@ func (i *removeTagPtrType) ToRemoveTagPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RemoveTagPtrOutput) } +func (i *removeTagPtrType) ToOutput(ctx context.Context) pulumix.Output[*RemoveTag] { + return pulumix.Output[*RemoveTag]{ + OutputState: i.ToRemoveTagPtrOutputWithContext(ctx).OutputState, + } +} + // Replace with empty tag. type RemoveTagOutput struct{ *pulumi.OutputState } @@ -10723,6 +12572,12 @@ func (o RemoveTagOutput) ToRemoveTagPtrOutputWithContext(ctx context.Context) Re }).(RemoveTagPtrOutput) } +func (o RemoveTagOutput) ToOutput(ctx context.Context) pulumix.Output[RemoveTag] { + return pulumix.Output[RemoveTag]{ + OutputState: o.OutputState, + } +} + type RemoveTagPtrOutput struct{ *pulumi.OutputState } func (RemoveTagPtrOutput) ElementType() reflect.Type { @@ -10737,6 +12592,12 @@ func (o RemoveTagPtrOutput) ToRemoveTagPtrOutputWithContext(ctx context.Context) return o } +func (o RemoveTagPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RemoveTag] { + return pulumix.Output[*RemoveTag]{ + OutputState: o.OutputState, + } +} + func (o RemoveTagPtrOutput) Elem() RemoveTagOutput { return o.ApplyT(func(v *RemoveTag) RemoveTag { if v != nil { @@ -10766,6 +12627,12 @@ func (o RemoveTagResponseOutput) ToRemoveTagResponseOutputWithContext(ctx contex return o } +func (o RemoveTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RemoveTagResponse] { + return pulumix.Output[RemoveTagResponse]{ + OutputState: o.OutputState, + } +} + // When using the INSPECT_AND_TRANSFORM action, each match is replaced with the name of the info_type. For example, "My name is Jane" becomes "My name is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting. type ReplaceWithInfoTypeConfig struct { } @@ -10797,6 +12664,12 @@ func (i ReplaceWithInfoTypeConfigArgs) ToReplaceWithInfoTypeConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ReplaceWithInfoTypeConfigOutput) } +func (i ReplaceWithInfoTypeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ReplaceWithInfoTypeConfig] { + return pulumix.Output[ReplaceWithInfoTypeConfig]{ + OutputState: i.ToReplaceWithInfoTypeConfigOutputWithContext(ctx).OutputState, + } +} + func (i ReplaceWithInfoTypeConfigArgs) ToReplaceWithInfoTypeConfigPtrOutput() ReplaceWithInfoTypeConfigPtrOutput { return i.ToReplaceWithInfoTypeConfigPtrOutputWithContext(context.Background()) } @@ -10838,6 +12711,12 @@ func (i *replaceWithInfoTypeConfigPtrType) ToReplaceWithInfoTypeConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ReplaceWithInfoTypeConfigPtrOutput) } +func (i *replaceWithInfoTypeConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReplaceWithInfoTypeConfig] { + return pulumix.Output[*ReplaceWithInfoTypeConfig]{ + OutputState: i.ToReplaceWithInfoTypeConfigPtrOutputWithContext(ctx).OutputState, + } +} + // When using the INSPECT_AND_TRANSFORM action, each match is replaced with the name of the info_type. For example, "My name is Jane" becomes "My name is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting. type ReplaceWithInfoTypeConfigOutput struct{ *pulumi.OutputState } @@ -10863,6 +12742,12 @@ func (o ReplaceWithInfoTypeConfigOutput) ToReplaceWithInfoTypeConfigPtrOutputWit }).(ReplaceWithInfoTypeConfigPtrOutput) } +func (o ReplaceWithInfoTypeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ReplaceWithInfoTypeConfig] { + return pulumix.Output[ReplaceWithInfoTypeConfig]{ + OutputState: o.OutputState, + } +} + type ReplaceWithInfoTypeConfigPtrOutput struct{ *pulumi.OutputState } func (ReplaceWithInfoTypeConfigPtrOutput) ElementType() reflect.Type { @@ -10877,6 +12762,12 @@ func (o ReplaceWithInfoTypeConfigPtrOutput) ToReplaceWithInfoTypeConfigPtrOutput return o } +func (o ReplaceWithInfoTypeConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReplaceWithInfoTypeConfig] { + return pulumix.Output[*ReplaceWithInfoTypeConfig]{ + OutputState: o.OutputState, + } +} + func (o ReplaceWithInfoTypeConfigPtrOutput) Elem() ReplaceWithInfoTypeConfigOutput { return o.ApplyT(func(v *ReplaceWithInfoTypeConfig) ReplaceWithInfoTypeConfig { if v != nil { @@ -10906,6 +12797,12 @@ func (o ReplaceWithInfoTypeConfigResponseOutput) ToReplaceWithInfoTypeConfigResp return o } +func (o ReplaceWithInfoTypeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplaceWithInfoTypeConfigResponse] { + return pulumix.Output[ReplaceWithInfoTypeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Reset tag to a placeholder value. type ResetTag struct { } @@ -10937,6 +12834,12 @@ func (i ResetTagArgs) ToResetTagOutputWithContext(ctx context.Context) ResetTagO return pulumi.ToOutputWithContext(ctx, i).(ResetTagOutput) } +func (i ResetTagArgs) ToOutput(ctx context.Context) pulumix.Output[ResetTag] { + return pulumix.Output[ResetTag]{ + OutputState: i.ToResetTagOutputWithContext(ctx).OutputState, + } +} + func (i ResetTagArgs) ToResetTagPtrOutput() ResetTagPtrOutput { return i.ToResetTagPtrOutputWithContext(context.Background()) } @@ -10978,6 +12881,12 @@ func (i *resetTagPtrType) ToResetTagPtrOutputWithContext(ctx context.Context) Re return pulumi.ToOutputWithContext(ctx, i).(ResetTagPtrOutput) } +func (i *resetTagPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResetTag] { + return pulumix.Output[*ResetTag]{ + OutputState: i.ToResetTagPtrOutputWithContext(ctx).OutputState, + } +} + // Reset tag to a placeholder value. type ResetTagOutput struct{ *pulumi.OutputState } @@ -11003,6 +12912,12 @@ func (o ResetTagOutput) ToResetTagPtrOutputWithContext(ctx context.Context) Rese }).(ResetTagPtrOutput) } +func (o ResetTagOutput) ToOutput(ctx context.Context) pulumix.Output[ResetTag] { + return pulumix.Output[ResetTag]{ + OutputState: o.OutputState, + } +} + type ResetTagPtrOutput struct{ *pulumi.OutputState } func (ResetTagPtrOutput) ElementType() reflect.Type { @@ -11017,6 +12932,12 @@ func (o ResetTagPtrOutput) ToResetTagPtrOutputWithContext(ctx context.Context) R return o } +func (o ResetTagPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResetTag] { + return pulumix.Output[*ResetTag]{ + OutputState: o.OutputState, + } +} + func (o ResetTagPtrOutput) Elem() ResetTagOutput { return o.ApplyT(func(v *ResetTag) ResetTag { if v != nil { @@ -11046,6 +12967,12 @@ func (o ResetTagResponseOutput) ToResetTagResponseOutputWithContext(ctx context. return o } +func (o ResetTagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResetTagResponse] { + return pulumix.Output[ResetTagResponse]{ + OutputState: o.OutputState, + } +} + // Resource level annotation. type ResourceAnnotation struct { // A description of the annotation record. @@ -11081,6 +13008,12 @@ func (i ResourceAnnotationArgs) ToResourceAnnotationOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ResourceAnnotationOutput) } +func (i ResourceAnnotationArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceAnnotation] { + return pulumix.Output[ResourceAnnotation]{ + OutputState: i.ToResourceAnnotationOutputWithContext(ctx).OutputState, + } +} + func (i ResourceAnnotationArgs) ToResourceAnnotationPtrOutput() ResourceAnnotationPtrOutput { return i.ToResourceAnnotationPtrOutputWithContext(context.Background()) } @@ -11122,6 +13055,12 @@ func (i *resourceAnnotationPtrType) ToResourceAnnotationPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResourceAnnotationPtrOutput) } +func (i *resourceAnnotationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceAnnotation] { + return pulumix.Output[*ResourceAnnotation]{ + OutputState: i.ToResourceAnnotationPtrOutputWithContext(ctx).OutputState, + } +} + // Resource level annotation. type ResourceAnnotationOutput struct{ *pulumi.OutputState } @@ -11147,6 +13086,12 @@ func (o ResourceAnnotationOutput) ToResourceAnnotationPtrOutputWithContext(ctx c }).(ResourceAnnotationPtrOutput) } +func (o ResourceAnnotationOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceAnnotation] { + return pulumix.Output[ResourceAnnotation]{ + OutputState: o.OutputState, + } +} + // A description of the annotation record. func (o ResourceAnnotationOutput) Label() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceAnnotation) *string { return v.Label }).(pulumi.StringPtrOutput) @@ -11166,6 +13111,12 @@ func (o ResourceAnnotationPtrOutput) ToResourceAnnotationPtrOutputWithContext(ct return o } +func (o ResourceAnnotationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceAnnotation] { + return pulumix.Output[*ResourceAnnotation]{ + OutputState: o.OutputState, + } +} + func (o ResourceAnnotationPtrOutput) Elem() ResourceAnnotationOutput { return o.ApplyT(func(v *ResourceAnnotation) ResourceAnnotation { if v != nil { @@ -11207,6 +13158,12 @@ func (o ResourceAnnotationResponseOutput) ToResourceAnnotationResponseOutputWith return o } +func (o ResourceAnnotationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceAnnotationResponse] { + return pulumix.Output[ResourceAnnotationResponse]{ + OutputState: o.OutputState, + } +} + // A description of the annotation record. func (o ResourceAnnotationResponseOutput) Label() pulumi.StringOutput { return o.ApplyT(func(v ResourceAnnotationResponse) string { return v.Label }).(pulumi.StringOutput) @@ -11255,6 +13212,12 @@ func (i SchemaConfigArgs) ToSchemaConfigOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SchemaConfigOutput) } +func (i SchemaConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SchemaConfig] { + return pulumix.Output[SchemaConfig]{ + OutputState: i.ToSchemaConfigOutputWithContext(ctx).OutputState, + } +} + func (i SchemaConfigArgs) ToSchemaConfigPtrOutput() SchemaConfigPtrOutput { return i.ToSchemaConfigPtrOutputWithContext(context.Background()) } @@ -11296,6 +13259,12 @@ func (i *schemaConfigPtrType) ToSchemaConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SchemaConfigPtrOutput) } +func (i *schemaConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchemaConfig] { + return pulumix.Output[*SchemaConfig]{ + OutputState: i.ToSchemaConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for the FHIR BigQuery schema. Determines how the server generates the schema. type SchemaConfigOutput struct{ *pulumi.OutputState } @@ -11321,6 +13290,12 @@ func (o SchemaConfigOutput) ToSchemaConfigPtrOutputWithContext(ctx context.Conte }).(SchemaConfigPtrOutput) } +func (o SchemaConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaConfig] { + return pulumix.Output[SchemaConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column. func (o SchemaConfigOutput) LastUpdatedPartitionConfig() TimePartitioningPtrOutput { return o.ApplyT(func(v SchemaConfig) *TimePartitioning { return v.LastUpdatedPartitionConfig }).(TimePartitioningPtrOutput) @@ -11350,6 +13325,12 @@ func (o SchemaConfigPtrOutput) ToSchemaConfigPtrOutputWithContext(ctx context.Co return o } +func (o SchemaConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaConfig] { + return pulumix.Output[*SchemaConfig]{ + OutputState: o.OutputState, + } +} + func (o SchemaConfigPtrOutput) Elem() SchemaConfigOutput { return o.ApplyT(func(v *SchemaConfig) SchemaConfig { if v != nil { @@ -11415,6 +13396,12 @@ func (o SchemaConfigResponseOutput) ToSchemaConfigResponseOutputWithContext(ctx return o } +func (o SchemaConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaConfigResponse] { + return pulumix.Output[SchemaConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column. func (o SchemaConfigResponseOutput) LastUpdatedPartitionConfig() TimePartitioningResponseOutput { return o.ApplyT(func(v SchemaConfigResponse) TimePartitioningResponse { return v.LastUpdatedPartitionConfig }).(TimePartitioningResponseOutput) @@ -11481,6 +13468,12 @@ func (i SchemaPackageArgs) ToSchemaPackageOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SchemaPackageOutput) } +func (i SchemaPackageArgs) ToOutput(ctx context.Context) pulumix.Output[SchemaPackage] { + return pulumix.Output[SchemaPackage]{ + OutputState: i.ToSchemaPackageOutputWithContext(ctx).OutputState, + } +} + func (i SchemaPackageArgs) ToSchemaPackagePtrOutput() SchemaPackagePtrOutput { return i.ToSchemaPackagePtrOutputWithContext(context.Background()) } @@ -11522,6 +13515,12 @@ func (i *schemaPackagePtrType) ToSchemaPackagePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SchemaPackagePtrOutput) } +func (i *schemaPackagePtrType) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackage] { + return pulumix.Output[*SchemaPackage]{ + OutputState: i.ToSchemaPackagePtrOutputWithContext(ctx).OutputState, + } +} + // A schema package contains a set of schemas and type definitions. type SchemaPackageOutput struct{ *pulumi.OutputState } @@ -11547,6 +13546,12 @@ func (o SchemaPackageOutput) ToSchemaPackagePtrOutputWithContext(ctx context.Con }).(SchemaPackagePtrOutput) } +func (o SchemaPackageOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaPackage] { + return pulumix.Output[SchemaPackage]{ + OutputState: o.OutputState, + } +} + // Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent. func (o SchemaPackageOutput) IgnoreMinOccurs() pulumi.BoolPtrOutput { return o.ApplyT(func(v SchemaPackage) *bool { return v.IgnoreMinOccurs }).(pulumi.BoolPtrOutput) @@ -11586,6 +13591,12 @@ func (o SchemaPackagePtrOutput) ToSchemaPackagePtrOutputWithContext(ctx context. return o } +func (o SchemaPackagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaPackage] { + return pulumix.Output[*SchemaPackage]{ + OutputState: o.OutputState, + } +} + func (o SchemaPackagePtrOutput) Elem() SchemaPackageOutput { return o.ApplyT(func(v *SchemaPackage) SchemaPackage { if v != nil { @@ -11675,6 +13686,12 @@ func (o SchemaPackageResponseOutput) ToSchemaPackageResponseOutputWithContext(ct return o } +func (o SchemaPackageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaPackageResponse] { + return pulumix.Output[SchemaPackageResponse]{ + OutputState: o.OutputState, + } +} + // Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent. func (o SchemaPackageResponseOutput) IgnoreMinOccurs() pulumi.BoolOutput { return o.ApplyT(func(v SchemaPackageResponse) bool { return v.IgnoreMinOccurs }).(pulumi.BoolOutput) @@ -11739,6 +13756,12 @@ func (i SchematizedDataArgs) ToSchematizedDataOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SchematizedDataOutput) } +func (i SchematizedDataArgs) ToOutput(ctx context.Context) pulumix.Output[SchematizedData] { + return pulumix.Output[SchematizedData]{ + OutputState: i.ToSchematizedDataOutputWithContext(ctx).OutputState, + } +} + func (i SchematizedDataArgs) ToSchematizedDataPtrOutput() SchematizedDataPtrOutput { return i.ToSchematizedDataPtrOutputWithContext(context.Background()) } @@ -11780,6 +13803,12 @@ func (i *schematizedDataPtrType) ToSchematizedDataPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(SchematizedDataPtrOutput) } +func (i *schematizedDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchematizedData] { + return pulumix.Output[*SchematizedData]{ + OutputState: i.ToSchematizedDataPtrOutputWithContext(ctx).OutputState, + } +} + // The content of an HL7v2 message in a structured format as specified by a schema. type SchematizedDataOutput struct{ *pulumi.OutputState } @@ -11805,6 +13834,12 @@ func (o SchematizedDataOutput) ToSchematizedDataPtrOutputWithContext(ctx context }).(SchematizedDataPtrOutput) } +func (o SchematizedDataOutput) ToOutput(ctx context.Context) pulumix.Output[SchematizedData] { + return pulumix.Output[SchematizedData]{ + OutputState: o.OutputState, + } +} + // JSON output of the parser. func (o SchematizedDataOutput) Data() pulumi.StringPtrOutput { return o.ApplyT(func(v SchematizedData) *string { return v.Data }).(pulumi.StringPtrOutput) @@ -11829,6 +13864,12 @@ func (o SchematizedDataPtrOutput) ToSchematizedDataPtrOutputWithContext(ctx cont return o } +func (o SchematizedDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchematizedData] { + return pulumix.Output[*SchematizedData]{ + OutputState: o.OutputState, + } +} + func (o SchematizedDataPtrOutput) Elem() SchematizedDataOutput { return o.ApplyT(func(v *SchematizedData) SchematizedData { if v != nil { @@ -11882,6 +13923,12 @@ func (o SchematizedDataResponseOutput) ToSchematizedDataResponseOutputWithContex return o } +func (o SchematizedDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchematizedDataResponse] { + return pulumix.Output[SchematizedDataResponse]{ + OutputState: o.OutputState, + } +} + // JSON output of the parser. func (o SchematizedDataResponseOutput) Data() pulumi.StringOutput { return o.ApplyT(func(v SchematizedDataResponse) string { return v.Data }).(pulumi.StringOutput) @@ -11927,6 +13974,12 @@ func (i SearchConfigArgs) ToSearchConfigOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SearchConfigOutput) } +func (i SearchConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SearchConfig] { + return pulumix.Output[SearchConfig]{ + OutputState: i.ToSearchConfigOutputWithContext(ctx).OutputState, + } +} + func (i SearchConfigArgs) ToSearchConfigPtrOutput() SearchConfigPtrOutput { return i.ToSearchConfigPtrOutputWithContext(context.Background()) } @@ -11968,6 +14021,12 @@ func (i *searchConfigPtrType) ToSearchConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SearchConfigPtrOutput) } +func (i *searchConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SearchConfig] { + return pulumix.Output[*SearchConfig]{ + OutputState: i.ToSearchConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Contains the configuration for FHIR search. type SearchConfigOutput struct{ *pulumi.OutputState } @@ -11993,6 +14052,12 @@ func (o SearchConfigOutput) ToSearchConfigPtrOutputWithContext(ctx context.Conte }).(SearchConfigPtrOutput) } +func (o SearchConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SearchConfig] { + return pulumix.Output[SearchConfig]{ + OutputState: o.OutputState, + } +} + // A list of search parameters in this FHIR store that are used to configure this FHIR store. func (o SearchConfigOutput) SearchParameters() SearchParameterArrayOutput { return o.ApplyT(func(v SearchConfig) []SearchParameter { return v.SearchParameters }).(SearchParameterArrayOutput) @@ -12012,6 +14077,12 @@ func (o SearchConfigPtrOutput) ToSearchConfigPtrOutputWithContext(ctx context.Co return o } +func (o SearchConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SearchConfig] { + return pulumix.Output[*SearchConfig]{ + OutputState: o.OutputState, + } +} + func (o SearchConfigPtrOutput) Elem() SearchConfigOutput { return o.ApplyT(func(v *SearchConfig) SearchConfig { if v != nil { @@ -12053,6 +14124,12 @@ func (o SearchConfigResponseOutput) ToSearchConfigResponseOutputWithContext(ctx return o } +func (o SearchConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SearchConfigResponse] { + return pulumix.Output[SearchConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of search parameters in this FHIR store that are used to configure this FHIR store. func (o SearchConfigResponseOutput) SearchParameters() SearchParameterResponseArrayOutput { return o.ApplyT(func(v SearchConfigResponse) []SearchParameterResponse { return v.SearchParameters }).(SearchParameterResponseArrayOutput) @@ -12097,6 +14174,12 @@ func (i SearchParameterArgs) ToSearchParameterOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SearchParameterOutput) } +func (i SearchParameterArgs) ToOutput(ctx context.Context) pulumix.Output[SearchParameter] { + return pulumix.Output[SearchParameter]{ + OutputState: i.ToSearchParameterOutputWithContext(ctx).OutputState, + } +} + // SearchParameterArrayInput is an input type that accepts SearchParameterArray and SearchParameterArrayOutput values. // You can construct a concrete instance of `SearchParameterArrayInput` via: // @@ -12122,6 +14205,12 @@ func (i SearchParameterArray) ToSearchParameterArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SearchParameterArrayOutput) } +func (i SearchParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]SearchParameter] { + return pulumix.Output[[]SearchParameter]{ + OutputState: i.ToSearchParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Contains the versioned name and the URL for one SearchParameter. type SearchParameterOutput struct{ *pulumi.OutputState } @@ -12137,6 +14226,12 @@ func (o SearchParameterOutput) ToSearchParameterOutputWithContext(ctx context.Co return o } +func (o SearchParameterOutput) ToOutput(ctx context.Context) pulumix.Output[SearchParameter] { + return pulumix.Output[SearchParameter]{ + OutputState: o.OutputState, + } +} + // The canonical url of the search parameter resource. func (o SearchParameterOutput) CanonicalUrl() pulumi.StringPtrOutput { return o.ApplyT(func(v SearchParameter) *string { return v.CanonicalUrl }).(pulumi.StringPtrOutput) @@ -12161,6 +14256,12 @@ func (o SearchParameterArrayOutput) ToSearchParameterArrayOutputWithContext(ctx return o } +func (o SearchParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SearchParameter] { + return pulumix.Output[[]SearchParameter]{ + OutputState: o.OutputState, + } +} + func (o SearchParameterArrayOutput) Index(i pulumi.IntInput) SearchParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SearchParameter { return vs[0].([]SearchParameter)[vs[1].(int)] @@ -12190,6 +14291,12 @@ func (o SearchParameterResponseOutput) ToSearchParameterResponseOutputWithContex return o } +func (o SearchParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SearchParameterResponse] { + return pulumix.Output[SearchParameterResponse]{ + OutputState: o.OutputState, + } +} + // The canonical url of the search parameter resource. func (o SearchParameterResponseOutput) CanonicalUrl() pulumi.StringOutput { return o.ApplyT(func(v SearchParameterResponse) string { return v.CanonicalUrl }).(pulumi.StringOutput) @@ -12214,6 +14321,12 @@ func (o SearchParameterResponseArrayOutput) ToSearchParameterResponseArrayOutput return o } +func (o SearchParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SearchParameterResponse] { + return pulumix.Output[[]SearchParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o SearchParameterResponseArrayOutput) Index(i pulumi.IntInput) SearchParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SearchParameterResponse { return vs[0].([]SearchParameterResponse)[vs[1].(int)] @@ -12245,6 +14358,12 @@ func (o SegmentResponseOutput) ToSegmentResponseOutputWithContext(ctx context.Co return o } +func (o SegmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SegmentResponse] { + return pulumix.Output[SegmentResponse]{ + OutputState: o.OutputState, + } +} + // A mapping from the positional location to the value. The key string uses zero-based indexes separated by dots to identify Fields, components and sub-components. A bracket notation is also used to identify different instances of a repeated field. Regex for key: (\d+)(\[\d+\])?(.\d+)?(.\d+)? Examples of (key, value) pairs: * (0.1, "hemoglobin") denotes that the first component of Field 0 has the value "hemoglobin". * (1.1.2, "CBC") denotes that the second sub-component of the first component of Field 1 has the value "CBC". * (1[0].1, "HbA1c") denotes that the first component of the first Instance of Field 1, which is repeated, has the value "HbA1c". func (o SegmentResponseOutput) Fields() pulumi.StringMapOutput { return o.ApplyT(func(v SegmentResponse) map[string]string { return v.Fields }).(pulumi.StringMapOutput) @@ -12274,6 +14393,12 @@ func (o SegmentResponseArrayOutput) ToSegmentResponseArrayOutputWithContext(ctx return o } +func (o SegmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SegmentResponse] { + return pulumix.Output[[]SegmentResponse]{ + OutputState: o.OutputState, + } +} + func (o SegmentResponseArrayOutput) Index(i pulumi.IntInput) SegmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SegmentResponse { return vs[0].([]SegmentResponse)[vs[1].(int)] @@ -12315,6 +14440,12 @@ func (i SensitiveTextAnnotationArgs) ToSensitiveTextAnnotationOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SensitiveTextAnnotationOutput) } +func (i SensitiveTextAnnotationArgs) ToOutput(ctx context.Context) pulumix.Output[SensitiveTextAnnotation] { + return pulumix.Output[SensitiveTextAnnotation]{ + OutputState: i.ToSensitiveTextAnnotationOutputWithContext(ctx).OutputState, + } +} + func (i SensitiveTextAnnotationArgs) ToSensitiveTextAnnotationPtrOutput() SensitiveTextAnnotationPtrOutput { return i.ToSensitiveTextAnnotationPtrOutputWithContext(context.Background()) } @@ -12356,6 +14487,12 @@ func (i *sensitiveTextAnnotationPtrType) ToSensitiveTextAnnotationPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(SensitiveTextAnnotationPtrOutput) } +func (i *sensitiveTextAnnotationPtrType) ToOutput(ctx context.Context) pulumix.Output[*SensitiveTextAnnotation] { + return pulumix.Output[*SensitiveTextAnnotation]{ + OutputState: i.ToSensitiveTextAnnotationPtrOutputWithContext(ctx).OutputState, + } +} + // A TextAnnotation specifies a text range that includes sensitive information. type SensitiveTextAnnotationOutput struct{ *pulumi.OutputState } @@ -12381,6 +14518,12 @@ func (o SensitiveTextAnnotationOutput) ToSensitiveTextAnnotationPtrOutputWithCon }).(SensitiveTextAnnotationPtrOutput) } +func (o SensitiveTextAnnotationOutput) ToOutput(ctx context.Context) pulumix.Output[SensitiveTextAnnotation] { + return pulumix.Output[SensitiveTextAnnotation]{ + OutputState: o.OutputState, + } +} + // Maps from a resource slice. For example, FHIR resource field path to a set of sensitive text findings. For example, Appointment.Narrative text1 --> {findings_1, findings_2, findings_3} func (o SensitiveTextAnnotationOutput) Details() pulumi.StringMapOutput { return o.ApplyT(func(v SensitiveTextAnnotation) map[string]string { return v.Details }).(pulumi.StringMapOutput) @@ -12400,6 +14543,12 @@ func (o SensitiveTextAnnotationPtrOutput) ToSensitiveTextAnnotationPtrOutputWith return o } +func (o SensitiveTextAnnotationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SensitiveTextAnnotation] { + return pulumix.Output[*SensitiveTextAnnotation]{ + OutputState: o.OutputState, + } +} + func (o SensitiveTextAnnotationPtrOutput) Elem() SensitiveTextAnnotationOutput { return o.ApplyT(func(v *SensitiveTextAnnotation) SensitiveTextAnnotation { if v != nil { @@ -12441,6 +14590,12 @@ func (o SensitiveTextAnnotationResponseOutput) ToSensitiveTextAnnotationResponse return o } +func (o SensitiveTextAnnotationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SensitiveTextAnnotationResponse] { + return pulumix.Output[SensitiveTextAnnotationResponse]{ + OutputState: o.OutputState, + } +} + // Maps from a resource slice. For example, FHIR resource field path to a set of sensitive text findings. For example, Appointment.Narrative text1 --> {findings_1, findings_2, findings_3} func (o SensitiveTextAnnotationResponseOutput) Details() pulumi.StringMapOutput { return o.ApplyT(func(v SensitiveTextAnnotationResponse) map[string]string { return v.Details }).(pulumi.StringMapOutput) @@ -12493,6 +14648,12 @@ func (i SignatureArgs) ToSignatureOutputWithContext(ctx context.Context) Signatu return pulumi.ToOutputWithContext(ctx, i).(SignatureOutput) } +func (i SignatureArgs) ToOutput(ctx context.Context) pulumix.Output[Signature] { + return pulumix.Output[Signature]{ + OutputState: i.ToSignatureOutputWithContext(ctx).OutputState, + } +} + func (i SignatureArgs) ToSignaturePtrOutput() SignaturePtrOutput { return i.ToSignaturePtrOutputWithContext(context.Background()) } @@ -12534,6 +14695,12 @@ func (i *signaturePtrType) ToSignaturePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SignaturePtrOutput) } +func (i *signaturePtrType) ToOutput(ctx context.Context) pulumix.Output[*Signature] { + return pulumix.Output[*Signature]{ + OutputState: i.ToSignaturePtrOutputWithContext(ctx).OutputState, + } +} + // User signature. type SignatureOutput struct{ *pulumi.OutputState } @@ -12559,6 +14726,12 @@ func (o SignatureOutput) ToSignaturePtrOutputWithContext(ctx context.Context) Si }).(SignaturePtrOutput) } +func (o SignatureOutput) ToOutput(ctx context.Context) pulumix.Output[Signature] { + return pulumix.Output[Signature]{ + OutputState: o.OutputState, + } +} + // Optional. An image of the user's signature. func (o SignatureOutput) Image() ImagePtrOutput { return o.ApplyT(func(v Signature) *Image { return v.Image }).(ImagePtrOutput) @@ -12593,6 +14766,12 @@ func (o SignaturePtrOutput) ToSignaturePtrOutputWithContext(ctx context.Context) return o } +func (o SignaturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Signature] { + return pulumix.Output[*Signature]{ + OutputState: o.OutputState, + } +} + func (o SignaturePtrOutput) Elem() SignatureOutput { return o.ApplyT(func(v *Signature) Signature { if v != nil { @@ -12670,6 +14849,12 @@ func (o SignatureResponseOutput) ToSignatureResponseOutputWithContext(ctx contex return o } +func (o SignatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SignatureResponse] { + return pulumix.Output[SignatureResponse]{ + OutputState: o.OutputState, + } +} + // Optional. An image of the user's signature. func (o SignatureResponseOutput) Image() ImageResponseOutput { return o.ApplyT(func(v SignatureResponse) ImageResponse { return v.Image }).(ImageResponseOutput) @@ -12733,6 +14918,12 @@ func (i StreamConfigArgs) ToStreamConfigOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(StreamConfigOutput) } +func (i StreamConfigArgs) ToOutput(ctx context.Context) pulumix.Output[StreamConfig] { + return pulumix.Output[StreamConfig]{ + OutputState: i.ToStreamConfigOutputWithContext(ctx).OutputState, + } +} + // StreamConfigArrayInput is an input type that accepts StreamConfigArray and StreamConfigArrayOutput values. // You can construct a concrete instance of `StreamConfigArrayInput` via: // @@ -12758,6 +14949,12 @@ func (i StreamConfigArray) ToStreamConfigArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(StreamConfigArrayOutput) } +func (i StreamConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]StreamConfig] { + return pulumix.Output[[]StreamConfig]{ + OutputState: i.ToStreamConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Contains configuration for streaming FHIR export. type StreamConfigOutput struct{ *pulumi.OutputState } @@ -12773,6 +14970,12 @@ func (o StreamConfigOutput) ToStreamConfigOutputWithContext(ctx context.Context) return o } +func (o StreamConfigOutput) ToOutput(ctx context.Context) pulumix.Output[StreamConfig] { + return pulumix.Output[StreamConfig]{ + OutputState: o.OutputState, + } +} + // The destination BigQuery structure that contains both the dataset location and corresponding schema config. The output is organized in one table per resource type. The server reuses the existing tables (if any) that are named after the resource types, e.g. "Patient", "Observation". When there is no existing table for a given resource type, the server attempts to create one. When a table schema doesn't align with the schema config, either because of existing incompatible schema or out of band incompatible modification, the server does not stream in new data. One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation. BigQuery imposes a 1 MB limit on streaming insert row size, therefore any resource mutation that generates more than 1 MB of BigQuery data will not be streamed. Results are written to BigQuery tables according to the parameters in BigQueryDestination.WriteDisposition. Different versions of the same resource are distinguishable by the meta.versionId and meta.lastUpdated columns. The operation (CREATE/UPDATE/DELETE) that results in the new version is recorded in the meta.tag. The tables contain all historical resource versions since streaming was enabled. For query convenience, the server also creates one view per table of the same name containing only the current resource version. The streamed data in the BigQuery dataset is not guaranteed to be completely unique. The combination of the id and meta.versionId columns should ideally identify a single unique row. But in rare cases, duplicates may exist. At query time, users may use the SQL select statement to keep only one of the duplicate rows given an id and meta.versionId pair. Alternatively, the server created view mentioned above also filters out duplicates. If a resource mutation cannot be streamed to BigQuery, errors will be logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). func (o StreamConfigOutput) BigqueryDestination() GoogleCloudHealthcareV1beta1FhirBigQueryDestinationPtrOutput { return o.ApplyT(func(v StreamConfig) *GoogleCloudHealthcareV1beta1FhirBigQueryDestination { @@ -12804,6 +15007,12 @@ func (o StreamConfigArrayOutput) ToStreamConfigArrayOutputWithContext(ctx contex return o } +func (o StreamConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StreamConfig] { + return pulumix.Output[[]StreamConfig]{ + OutputState: o.OutputState, + } +} + func (o StreamConfigArrayOutput) Index(i pulumi.IntInput) StreamConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StreamConfig { return vs[0].([]StreamConfig)[vs[1].(int)] @@ -12835,6 +15044,12 @@ func (o StreamConfigResponseOutput) ToStreamConfigResponseOutputWithContext(ctx return o } +func (o StreamConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StreamConfigResponse] { + return pulumix.Output[StreamConfigResponse]{ + OutputState: o.OutputState, + } +} + // The destination BigQuery structure that contains both the dataset location and corresponding schema config. The output is organized in one table per resource type. The server reuses the existing tables (if any) that are named after the resource types, e.g. "Patient", "Observation". When there is no existing table for a given resource type, the server attempts to create one. When a table schema doesn't align with the schema config, either because of existing incompatible schema or out of band incompatible modification, the server does not stream in new data. One resolution in this case is to delete the incompatible table and let the server recreate one, though the newly created table only contains data after the table recreation. BigQuery imposes a 1 MB limit on streaming insert row size, therefore any resource mutation that generates more than 1 MB of BigQuery data will not be streamed. Results are written to BigQuery tables according to the parameters in BigQueryDestination.WriteDisposition. Different versions of the same resource are distinguishable by the meta.versionId and meta.lastUpdated columns. The operation (CREATE/UPDATE/DELETE) that results in the new version is recorded in the meta.tag. The tables contain all historical resource versions since streaming was enabled. For query convenience, the server also creates one view per table of the same name containing only the current resource version. The streamed data in the BigQuery dataset is not guaranteed to be completely unique. The combination of the id and meta.versionId columns should ideally identify a single unique row. But in rare cases, duplicates may exist. At query time, users may use the SQL select statement to keep only one of the duplicate rows given an id and meta.versionId pair. Alternatively, the server created view mentioned above also filters out duplicates. If a resource mutation cannot be streamed to BigQuery, errors will be logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). func (o StreamConfigResponseOutput) BigqueryDestination() GoogleCloudHealthcareV1beta1FhirBigQueryDestinationResponseOutput { return o.ApplyT(func(v StreamConfigResponse) GoogleCloudHealthcareV1beta1FhirBigQueryDestinationResponse { @@ -12868,6 +15083,12 @@ func (o StreamConfigResponseArrayOutput) ToStreamConfigResponseArrayOutputWithCo return o } +func (o StreamConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StreamConfigResponse] { + return pulumix.Output[[]StreamConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o StreamConfigResponseArrayOutput) Index(i pulumi.IntInput) StreamConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StreamConfigResponse { return vs[0].([]StreamConfigResponse)[vs[1].(int)] @@ -12909,6 +15130,12 @@ func (i TagFilterListArgs) ToTagFilterListOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TagFilterListOutput) } +func (i TagFilterListArgs) ToOutput(ctx context.Context) pulumix.Output[TagFilterList] { + return pulumix.Output[TagFilterList]{ + OutputState: i.ToTagFilterListOutputWithContext(ctx).OutputState, + } +} + func (i TagFilterListArgs) ToTagFilterListPtrOutput() TagFilterListPtrOutput { return i.ToTagFilterListPtrOutputWithContext(context.Background()) } @@ -12950,6 +15177,12 @@ func (i *tagFilterListPtrType) ToTagFilterListPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(TagFilterListPtrOutput) } +func (i *tagFilterListPtrType) ToOutput(ctx context.Context) pulumix.Output[*TagFilterList] { + return pulumix.Output[*TagFilterList]{ + OutputState: i.ToTagFilterListPtrOutputWithContext(ctx).OutputState, + } +} + // List of tags to be filtered. type TagFilterListOutput struct{ *pulumi.OutputState } @@ -12975,6 +15208,12 @@ func (o TagFilterListOutput) ToTagFilterListPtrOutputWithContext(ctx context.Con }).(TagFilterListPtrOutput) } +func (o TagFilterListOutput) ToOutput(ctx context.Context) pulumix.Output[TagFilterList] { + return pulumix.Output[TagFilterList]{ + OutputState: o.OutputState, + } +} + // Tags to be filtered. Tags must be DICOM Data Elements, File Meta Elements, or Directory Structuring Elements, as defined at: http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,. They may be provided by "Keyword" or "Tag". For example, "PatientID", "00100010". func (o TagFilterListOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v TagFilterList) []string { return v.Tags }).(pulumi.StringArrayOutput) @@ -12994,6 +15233,12 @@ func (o TagFilterListPtrOutput) ToTagFilterListPtrOutputWithContext(ctx context. return o } +func (o TagFilterListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TagFilterList] { + return pulumix.Output[*TagFilterList]{ + OutputState: o.OutputState, + } +} + func (o TagFilterListPtrOutput) Elem() TagFilterListOutput { return o.ApplyT(func(v *TagFilterList) TagFilterList { if v != nil { @@ -13035,6 +15280,12 @@ func (o TagFilterListResponseOutput) ToTagFilterListResponseOutputWithContext(ct return o } +func (o TagFilterListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TagFilterListResponse] { + return pulumix.Output[TagFilterListResponse]{ + OutputState: o.OutputState, + } +} + // Tags to be filtered. Tags must be DICOM Data Elements, File Meta Elements, or Directory Structuring Elements, as defined at: http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,. They may be provided by "Keyword" or "Tag". For example, "PatientID", "00100010". func (o TagFilterListResponseOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v TagFilterListResponse) []string { return v.Tags }).(pulumi.StringArrayOutput) @@ -13091,6 +15342,12 @@ func (i TextConfigArgs) ToTextConfigOutputWithContext(ctx context.Context) TextC return pulumi.ToOutputWithContext(ctx, i).(TextConfigOutput) } +func (i TextConfigArgs) ToOutput(ctx context.Context) pulumix.Output[TextConfig] { + return pulumix.Output[TextConfig]{ + OutputState: i.ToTextConfigOutputWithContext(ctx).OutputState, + } +} + func (i TextConfigArgs) ToTextConfigPtrOutput() TextConfigPtrOutput { return i.ToTextConfigPtrOutputWithContext(context.Background()) } @@ -13132,6 +15389,12 @@ func (i *textConfigPtrType) ToTextConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TextConfigPtrOutput) } +func (i *textConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*TextConfig] { + return pulumix.Output[*TextConfig]{ + OutputState: i.ToTextConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configures how to transform sensitive text `InfoTypes`. type TextConfigOutput struct{ *pulumi.OutputState } @@ -13157,6 +15420,12 @@ func (o TextConfigOutput) ToTextConfigPtrOutputWithContext(ctx context.Context) }).(TextConfigPtrOutput) } +func (o TextConfigOutput) ToOutput(ctx context.Context) pulumix.Output[TextConfig] { + return pulumix.Output[TextConfig]{ + OutputState: o.OutputState, + } +} + // Additional transformations to apply to the detected data, overriding `profile`. func (o TextConfigOutput) AdditionalTransformations() InfoTypeTransformationArrayOutput { return o.ApplyT(func(v TextConfig) []InfoTypeTransformation { return v.AdditionalTransformations }).(InfoTypeTransformationArrayOutput) @@ -13193,6 +15462,12 @@ func (o TextConfigPtrOutput) ToTextConfigPtrOutputWithContext(ctx context.Contex return o } +func (o TextConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TextConfig] { + return pulumix.Output[*TextConfig]{ + OutputState: o.OutputState, + } +} + func (o TextConfigPtrOutput) Elem() TextConfigOutput { return o.ApplyT(func(v *TextConfig) TextConfig { if v != nil { @@ -13274,6 +15549,12 @@ func (o TextConfigResponseOutput) ToTextConfigResponseOutputWithContext(ctx cont return o } +func (o TextConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TextConfigResponse] { + return pulumix.Output[TextConfigResponse]{ + OutputState: o.OutputState, + } +} + // Additional transformations to apply to the detected data, overriding `profile`. func (o TextConfigResponseOutput) AdditionalTransformations() InfoTypeTransformationResponseArrayOutput { return o.ApplyT(func(v TextConfigResponse) []InfoTypeTransformationResponse { return v.AdditionalTransformations }).(InfoTypeTransformationResponseArrayOutput) @@ -13335,6 +15616,12 @@ func (i TimePartitioningArgs) ToTimePartitioningOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TimePartitioningOutput) } +func (i TimePartitioningArgs) ToOutput(ctx context.Context) pulumix.Output[TimePartitioning] { + return pulumix.Output[TimePartitioning]{ + OutputState: i.ToTimePartitioningOutputWithContext(ctx).OutputState, + } +} + func (i TimePartitioningArgs) ToTimePartitioningPtrOutput() TimePartitioningPtrOutput { return i.ToTimePartitioningPtrOutputWithContext(context.Background()) } @@ -13376,6 +15663,12 @@ func (i *timePartitioningPtrType) ToTimePartitioningPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(TimePartitioningPtrOutput) } +func (i *timePartitioningPtrType) ToOutput(ctx context.Context) pulumix.Output[*TimePartitioning] { + return pulumix.Output[*TimePartitioning]{ + OutputState: i.ToTimePartitioningPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for FHIR BigQuery time-partitioned tables. type TimePartitioningOutput struct{ *pulumi.OutputState } @@ -13401,6 +15694,12 @@ func (o TimePartitioningOutput) ToTimePartitioningPtrOutputWithContext(ctx conte }).(TimePartitioningPtrOutput) } +func (o TimePartitioningOutput) ToOutput(ctx context.Context) pulumix.Output[TimePartitioning] { + return pulumix.Output[TimePartitioning]{ + OutputState: o.OutputState, + } +} + // Number of milliseconds for which to keep the storage for a partition. func (o TimePartitioningOutput) ExpirationMs() pulumi.StringPtrOutput { return o.ApplyT(func(v TimePartitioning) *string { return v.ExpirationMs }).(pulumi.StringPtrOutput) @@ -13425,6 +15724,12 @@ func (o TimePartitioningPtrOutput) ToTimePartitioningPtrOutputWithContext(ctx co return o } +func (o TimePartitioningPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimePartitioning] { + return pulumix.Output[*TimePartitioning]{ + OutputState: o.OutputState, + } +} + func (o TimePartitioningPtrOutput) Elem() TimePartitioningOutput { return o.ApplyT(func(v *TimePartitioning) TimePartitioning { if v != nil { @@ -13478,6 +15783,12 @@ func (o TimePartitioningResponseOutput) ToTimePartitioningResponseOutputWithCont return o } +func (o TimePartitioningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimePartitioningResponse] { + return pulumix.Output[TimePartitioningResponse]{ + OutputState: o.OutputState, + } +} + // Number of milliseconds for which to keep the storage for a partition. func (o TimePartitioningResponseOutput) ExpirationMs() pulumi.StringOutput { return o.ApplyT(func(v TimePartitioningResponse) string { return v.ExpirationMs }).(pulumi.StringOutput) @@ -13531,6 +15842,12 @@ func (i TypeArgs) ToTypeOutputWithContext(ctx context.Context) TypeOutput { return pulumi.ToOutputWithContext(ctx, i).(TypeOutput) } +func (i TypeArgs) ToOutput(ctx context.Context) pulumix.Output[Type] { + return pulumix.Output[Type]{ + OutputState: i.ToTypeOutputWithContext(ctx).OutputState, + } +} + // TypeArrayInput is an input type that accepts TypeArray and TypeArrayOutput values. // You can construct a concrete instance of `TypeArrayInput` via: // @@ -13556,6 +15873,12 @@ func (i TypeArray) ToTypeArrayOutputWithContext(ctx context.Context) TypeArrayOu return pulumi.ToOutputWithContext(ctx, i).(TypeArrayOutput) } +func (i TypeArray) ToOutput(ctx context.Context) pulumix.Output[[]Type] { + return pulumix.Output[[]Type]{ + OutputState: i.ToTypeArrayOutputWithContext(ctx).OutputState, + } +} + // A type definition for some HL7v2 type (incl. Segments and Datatypes). type TypeOutput struct{ *pulumi.OutputState } @@ -13571,6 +15894,12 @@ func (o TypeOutput) ToTypeOutputWithContext(ctx context.Context) TypeOutput { return o } +func (o TypeOutput) ToOutput(ctx context.Context) pulumix.Output[Type] { + return pulumix.Output[Type]{ + OutputState: o.OutputState, + } +} + // The (sub) fields this type has (if not primitive). func (o TypeOutput) Fields() FieldArrayOutput { return o.ApplyT(func(v Type) []Field { return v.Fields }).(FieldArrayOutput) @@ -13600,6 +15929,12 @@ func (o TypeArrayOutput) ToTypeArrayOutputWithContext(ctx context.Context) TypeA return o } +func (o TypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Type] { + return pulumix.Output[[]Type]{ + OutputState: o.OutputState, + } +} + func (o TypeArrayOutput) Index(i pulumi.IntInput) TypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Type { return vs[0].([]Type)[vs[1].(int)] @@ -13631,6 +15966,12 @@ func (o TypeResponseOutput) ToTypeResponseOutputWithContext(ctx context.Context) return o } +func (o TypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TypeResponse] { + return pulumix.Output[TypeResponse]{ + OutputState: o.OutputState, + } +} + // The (sub) fields this type has (if not primitive). func (o TypeResponseOutput) Fields() FieldResponseArrayOutput { return o.ApplyT(func(v TypeResponse) []FieldResponse { return v.Fields }).(FieldResponseArrayOutput) @@ -13660,6 +16001,12 @@ func (o TypeResponseArrayOutput) ToTypeResponseArrayOutputWithContext(ctx contex return o } +func (o TypeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TypeResponse] { + return pulumix.Output[[]TypeResponse]{ + OutputState: o.OutputState, + } +} + func (o TypeResponseArrayOutput) Index(i pulumi.IntInput) TypeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TypeResponse { return vs[0].([]TypeResponse)[vs[1].(int)] @@ -13717,6 +16064,12 @@ func (i ValidationConfigArgs) ToValidationConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ValidationConfigOutput) } +func (i ValidationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ValidationConfig] { + return pulumix.Output[ValidationConfig]{ + OutputState: i.ToValidationConfigOutputWithContext(ctx).OutputState, + } +} + func (i ValidationConfigArgs) ToValidationConfigPtrOutput() ValidationConfigPtrOutput { return i.ToValidationConfigPtrOutputWithContext(context.Background()) } @@ -13758,6 +16111,12 @@ func (i *validationConfigPtrType) ToValidationConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ValidationConfigPtrOutput) } +func (i *validationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ValidationConfig] { + return pulumix.Output[*ValidationConfig]{ + OutputState: i.ToValidationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Contains the configuration for FHIR profiles and validation. type ValidationConfigOutput struct{ *pulumi.OutputState } @@ -13783,6 +16142,12 @@ func (o ValidationConfigOutput) ToValidationConfigPtrOutputWithContext(ctx conte }).(ValidationConfigPtrOutput) } +func (o ValidationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationConfig] { + return pulumix.Output[ValidationConfig]{ + OutputState: o.OutputState, + } +} + // Whether to disable FHIRPath validation for incoming resources. Set this to true to disable checking incoming resources for conformance against FHIRPath requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced. func (o ValidationConfigOutput) DisableFhirpathValidation() pulumi.BoolPtrOutput { return o.ApplyT(func(v ValidationConfig) *bool { return v.DisableFhirpathValidation }).(pulumi.BoolPtrOutput) @@ -13822,6 +16187,12 @@ func (o ValidationConfigPtrOutput) ToValidationConfigPtrOutputWithContext(ctx co return o } +func (o ValidationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ValidationConfig] { + return pulumix.Output[*ValidationConfig]{ + OutputState: o.OutputState, + } +} + func (o ValidationConfigPtrOutput) Elem() ValidationConfigOutput { return o.ApplyT(func(v *ValidationConfig) ValidationConfig { if v != nil { @@ -13911,6 +16282,12 @@ func (o ValidationConfigResponseOutput) ToValidationConfigResponseOutputWithCont return o } +func (o ValidationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationConfigResponse] { + return pulumix.Output[ValidationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether to disable FHIRPath validation for incoming resources. Set this to true to disable checking incoming resources for conformance against FHIRPath requirement defined in the FHIR specification. This property only affects resource types that do not have profiles configured for them, any rules in enabled implementation guides will still be enforced. func (o ValidationConfigResponseOutput) DisableFhirpathValidation() pulumi.BoolOutput { return o.ApplyT(func(v ValidationConfigResponse) bool { return v.DisableFhirpathValidation }).(pulumi.BoolOutput) @@ -13975,6 +16352,12 @@ func (i VersionSourceArgs) ToVersionSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(VersionSourceOutput) } +func (i VersionSourceArgs) ToOutput(ctx context.Context) pulumix.Output[VersionSource] { + return pulumix.Output[VersionSource]{ + OutputState: i.ToVersionSourceOutputWithContext(ctx).OutputState, + } +} + // VersionSourceArrayInput is an input type that accepts VersionSourceArray and VersionSourceArrayOutput values. // You can construct a concrete instance of `VersionSourceArrayInput` via: // @@ -14000,6 +16383,12 @@ func (i VersionSourceArray) ToVersionSourceArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(VersionSourceArrayOutput) } +func (i VersionSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]VersionSource] { + return pulumix.Output[[]VersionSource]{ + OutputState: i.ToVersionSourceArrayOutputWithContext(ctx).OutputState, + } +} + // Describes a selector for extracting and matching an MSH field to a value. type VersionSourceOutput struct{ *pulumi.OutputState } @@ -14015,6 +16404,12 @@ func (o VersionSourceOutput) ToVersionSourceOutputWithContext(ctx context.Contex return o } +func (o VersionSourceOutput) ToOutput(ctx context.Context) pulumix.Output[VersionSource] { + return pulumix.Output[VersionSource]{ + OutputState: o.OutputState, + } +} + // The field to extract from the MSH segment. For example, "3.1" or "18[1].1". func (o VersionSourceOutput) MshField() pulumi.StringPtrOutput { return o.ApplyT(func(v VersionSource) *string { return v.MshField }).(pulumi.StringPtrOutput) @@ -14039,6 +16434,12 @@ func (o VersionSourceArrayOutput) ToVersionSourceArrayOutputWithContext(ctx cont return o } +func (o VersionSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VersionSource] { + return pulumix.Output[[]VersionSource]{ + OutputState: o.OutputState, + } +} + func (o VersionSourceArrayOutput) Index(i pulumi.IntInput) VersionSourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VersionSource { return vs[0].([]VersionSource)[vs[1].(int)] @@ -14068,6 +16469,12 @@ func (o VersionSourceResponseOutput) ToVersionSourceResponseOutputWithContext(ct return o } +func (o VersionSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VersionSourceResponse] { + return pulumix.Output[VersionSourceResponse]{ + OutputState: o.OutputState, + } +} + // The field to extract from the MSH segment. For example, "3.1" or "18[1].1". func (o VersionSourceResponseOutput) MshField() pulumi.StringOutput { return o.ApplyT(func(v VersionSourceResponse) string { return v.MshField }).(pulumi.StringOutput) @@ -14092,6 +16499,12 @@ func (o VersionSourceResponseArrayOutput) ToVersionSourceResponseArrayOutputWith return o } +func (o VersionSourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VersionSourceResponse] { + return pulumix.Output[[]VersionSourceResponse]{ + OutputState: o.OutputState, + } +} + func (o VersionSourceResponseArrayOutput) Index(i pulumi.IntInput) VersionSourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VersionSourceResponse { return vs[0].([]VersionSourceResponse)[vs[1].(int)] @@ -14137,6 +16550,12 @@ func (i VertexArgs) ToVertexOutputWithContext(ctx context.Context) VertexOutput return pulumi.ToOutputWithContext(ctx, i).(VertexOutput) } +func (i VertexArgs) ToOutput(ctx context.Context) pulumix.Output[Vertex] { + return pulumix.Output[Vertex]{ + OutputState: i.ToVertexOutputWithContext(ctx).OutputState, + } +} + // VertexArrayInput is an input type that accepts VertexArray and VertexArrayOutput values. // You can construct a concrete instance of `VertexArrayInput` via: // @@ -14162,6 +16581,12 @@ func (i VertexArray) ToVertexArrayOutputWithContext(ctx context.Context) VertexA return pulumi.ToOutputWithContext(ctx, i).(VertexArrayOutput) } +func (i VertexArray) ToOutput(ctx context.Context) pulumix.Output[[]Vertex] { + return pulumix.Output[[]Vertex]{ + OutputState: i.ToVertexArrayOutputWithContext(ctx).OutputState, + } +} + // A 2D coordinate in an image. The origin is the top-left. type VertexOutput struct{ *pulumi.OutputState } @@ -14177,6 +16602,12 @@ func (o VertexOutput) ToVertexOutputWithContext(ctx context.Context) VertexOutpu return o } +func (o VertexOutput) ToOutput(ctx context.Context) pulumix.Output[Vertex] { + return pulumix.Output[Vertex]{ + OutputState: o.OutputState, + } +} + // X coordinate. func (o VertexOutput) X() pulumi.Float64PtrOutput { return o.ApplyT(func(v Vertex) *float64 { return v.X }).(pulumi.Float64PtrOutput) @@ -14201,6 +16632,12 @@ func (o VertexArrayOutput) ToVertexArrayOutputWithContext(ctx context.Context) V return o } +func (o VertexArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Vertex] { + return pulumix.Output[[]Vertex]{ + OutputState: o.OutputState, + } +} + func (o VertexArrayOutput) Index(i pulumi.IntInput) VertexOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Vertex { return vs[0].([]Vertex)[vs[1].(int)] @@ -14230,6 +16667,12 @@ func (o VertexResponseOutput) ToVertexResponseOutputWithContext(ctx context.Cont return o } +func (o VertexResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VertexResponse] { + return pulumix.Output[VertexResponse]{ + OutputState: o.OutputState, + } +} + // X coordinate. func (o VertexResponseOutput) X() pulumi.Float64Output { return o.ApplyT(func(v VertexResponse) float64 { return v.X }).(pulumi.Float64Output) @@ -14254,6 +16697,12 @@ func (o VertexResponseArrayOutput) ToVertexResponseArrayOutputWithContext(ctx co return o } +func (o VertexResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VertexResponse] { + return pulumix.Output[[]VertexResponse]{ + OutputState: o.OutputState, + } +} + func (o VertexResponseArrayOutput) Index(i pulumi.IntInput) VertexResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VertexResponse { return vs[0].([]VertexResponse)[vs[1].(int)] diff --git a/sdk/go/google/healthcare/v1beta1/userDataMapping.go b/sdk/go/google/healthcare/v1beta1/userDataMapping.go index cc0ca55b77..1d6b286d7c 100644 --- a/sdk/go/google/healthcare/v1beta1/userDataMapping.go +++ b/sdk/go/google/healthcare/v1beta1/userDataMapping.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new User data mapping in the parent consent store. @@ -146,6 +147,12 @@ func (i *UserDataMapping) ToUserDataMappingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(UserDataMappingOutput) } +func (i *UserDataMapping) ToOutput(ctx context.Context) pulumix.Output[*UserDataMapping] { + return pulumix.Output[*UserDataMapping]{ + OutputState: i.ToUserDataMappingOutputWithContext(ctx).OutputState, + } +} + type UserDataMappingOutput struct{ *pulumi.OutputState } func (UserDataMappingOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o UserDataMappingOutput) ToUserDataMappingOutputWithContext(ctx context.Co return o } +func (o UserDataMappingOutput) ToOutput(ctx context.Context) pulumix.Output[*UserDataMapping] { + return pulumix.Output[*UserDataMapping]{ + OutputState: o.OutputState, + } +} + // Indicates the time when this mapping was archived. func (o UserDataMappingOutput) ArchiveTime() pulumi.StringOutput { return o.ApplyT(func(v *UserDataMapping) pulumi.StringOutput { return v.ArchiveTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/getKey.go b/sdk/go/google/iam/v1/getKey.go index 4a246eb7bb..85ac4b47ac 100644 --- a/sdk/go/google/iam/v1/getKey.go +++ b/sdk/go/google/iam/v1/getKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a ServiceAccountKey. @@ -90,6 +91,12 @@ func (o LookupKeyResultOutput) ToLookupKeyResultOutputWithContext(ctx context.Co return o } +func (o LookupKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupKeyResult] { + return pulumix.Output[LookupKeyResult]{ + OutputState: o.OutputState, + } +} + // The key status. func (o LookupKeyResultOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupKeyResult) bool { return v.Disabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/iam/v1/getOrganizationRole.go b/sdk/go/google/iam/v1/getOrganizationRole.go index 4e0656fb53..9d71ca2359 100644 --- a/sdk/go/google/iam/v1/getOrganizationRole.go +++ b/sdk/go/google/iam/v1/getOrganizationRole.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the definition of a Role. @@ -80,6 +81,12 @@ func (o LookupOrganizationRoleResultOutput) ToLookupOrganizationRoleResultOutput return o } +func (o LookupOrganizationRoleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationRoleResult] { + return pulumix.Output[LookupOrganizationRoleResult]{ + OutputState: o.OutputState, + } +} + // The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole. func (o LookupOrganizationRoleResultOutput) Deleted() pulumi.BoolOutput { return o.ApplyT(func(v LookupOrganizationRoleResult) bool { return v.Deleted }).(pulumi.BoolOutput) diff --git a/sdk/go/google/iam/v1/getProvider.go b/sdk/go/google/iam/v1/getProvider.go index b682d97dbf..994d2132c2 100644 --- a/sdk/go/google/iam/v1/getProvider.go +++ b/sdk/go/google/iam/v1/getProvider.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an individual WorkloadIdentityPoolProvider. @@ -90,6 +91,12 @@ func (o LookupProviderResultOutput) ToLookupProviderResultOutputWithContext(ctx return o } +func (o LookupProviderResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProviderResult] { + return pulumix.Output[LookupProviderResult]{ + OutputState: o.OutputState, + } +} + // [A Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the attribute condition expression is 4096 characters. If unspecified, all valid authentication credential are accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ```"'admins' in google.groups"``` func (o LookupProviderResultOutput) AttributeCondition() pulumi.StringOutput { return o.ApplyT(func(v LookupProviderResult) string { return v.AttributeCondition }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/getRole.go b/sdk/go/google/iam/v1/getRole.go index 301f8446b6..ec4d272a2e 100644 --- a/sdk/go/google/iam/v1/getRole.go +++ b/sdk/go/google/iam/v1/getRole.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the definition of a Role. @@ -80,6 +81,12 @@ func (o LookupRoleResultOutput) ToLookupRoleResultOutputWithContext(ctx context. return o } +func (o LookupRoleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRoleResult] { + return pulumix.Output[LookupRoleResult]{ + OutputState: o.OutputState, + } +} + // The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole. func (o LookupRoleResultOutput) Deleted() pulumi.BoolOutput { return o.ApplyT(func(v LookupRoleResult) bool { return v.Deleted }).(pulumi.BoolOutput) diff --git a/sdk/go/google/iam/v1/getServiceAccount.go b/sdk/go/google/iam/v1/getServiceAccount.go index 488e48e6a2..9513eba9e7 100644 --- a/sdk/go/google/iam/v1/getServiceAccount.go +++ b/sdk/go/google/iam/v1/getServiceAccount.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a ServiceAccount. @@ -86,6 +87,12 @@ func (o LookupServiceAccountResultOutput) ToLookupServiceAccountResultOutputWith return o } +func (o LookupServiceAccountResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceAccountResult] { + return pulumix.Output[LookupServiceAccountResult]{ + OutputState: o.OutputState, + } +} + // Optional. A user-specified, human-readable description of the service account. The maximum length is 256 UTF-8 bytes. func (o LookupServiceAccountResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceAccountResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/getServiceAccountIamPolicy.go b/sdk/go/google/iam/v1/getServiceAccountIamPolicy.go index 067616ace6..5d8594f9c9 100644 --- a/sdk/go/google/iam/v1/getServiceAccountIamPolicy.go +++ b/sdk/go/google/iam/v1/getServiceAccountIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM policy that is attached to a ServiceAccount. This IAM policy specifies which principals have access to the service account. This method does not tell you whether the service account has been granted any roles on other resources. To check whether a service account has role grants on a resource, use the `getIamPolicy` method for that resource. For example, to view the role grants for a project, call the Resource Manager API's [`projects.getIamPolicy`](https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy) method. @@ -76,6 +77,12 @@ func (o LookupServiceAccountIamPolicyResultOutput) ToLookupServiceAccountIamPoli return o } +func (o LookupServiceAccountIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceAccountIamPolicyResult] { + return pulumix.Output[LookupServiceAccountIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceAccountIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceAccountIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/iam/v1/getWorkforcePool.go b/sdk/go/google/iam/v1/getWorkforcePool.go index 18d0056fa0..d39218431a 100644 --- a/sdk/go/google/iam/v1/getWorkforcePool.go +++ b/sdk/go/google/iam/v1/getWorkforcePool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an individual WorkforcePool. @@ -80,6 +81,12 @@ func (o LookupWorkforcePoolResultOutput) ToLookupWorkforcePoolResultOutputWithCo return o } +func (o LookupWorkforcePoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkforcePoolResult] { + return pulumix.Output[LookupWorkforcePoolResult]{ + OutputState: o.OutputState, + } +} + // A user-specified description of the pool. Cannot exceed 256 characters. func (o LookupWorkforcePoolResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkforcePoolResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/getWorkforcePoolIamPolicy.go b/sdk/go/google/iam/v1/getWorkforcePoolIamPolicy.go index a0ac75e70d..11a768ac01 100644 --- a/sdk/go/google/iam/v1/getWorkforcePoolIamPolicy.go +++ b/sdk/go/google/iam/v1/getWorkforcePoolIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets IAM policies on a WorkforcePool. @@ -74,6 +75,12 @@ func (o LookupWorkforcePoolIamPolicyResultOutput) ToLookupWorkforcePoolIamPolicy return o } +func (o LookupWorkforcePoolIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkforcePoolIamPolicyResult] { + return pulumix.Output[LookupWorkforcePoolIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupWorkforcePoolIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupWorkforcePoolIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/iam/v1/getWorkforcePoolKey.go b/sdk/go/google/iam/v1/getWorkforcePoolKey.go index 2b229bf82c..58be2d7589 100644 --- a/sdk/go/google/iam/v1/getWorkforcePoolKey.go +++ b/sdk/go/google/iam/v1/getWorkforcePoolKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a WorkforcePoolProviderKey. @@ -80,6 +81,12 @@ func (o LookupWorkforcePoolKeyResultOutput) ToLookupWorkforcePoolKeyResultOutput return o } +func (o LookupWorkforcePoolKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkforcePoolKeyResult] { + return pulumix.Output[LookupWorkforcePoolKeyResult]{ + OutputState: o.OutputState, + } +} + // The time after which the key will be permanently deleted and cannot be recovered. Note that the key may get purged before this time if the total limit of keys per provider is exceeded. func (o LookupWorkforcePoolKeyResultOutput) ExpireTime() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkforcePoolKeyResult) string { return v.ExpireTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/getWorkforcePoolProvider.go b/sdk/go/google/iam/v1/getWorkforcePoolProvider.go index a93c56159f..131cac9710 100644 --- a/sdk/go/google/iam/v1/getWorkforcePoolProvider.go +++ b/sdk/go/google/iam/v1/getWorkforcePoolProvider.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an individual WorkforcePoolProvider. @@ -86,6 +87,12 @@ func (o LookupWorkforcePoolProviderResultOutput) ToLookupWorkforcePoolProviderRe return o } +func (o LookupWorkforcePoolProviderResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkforcePoolProviderResult] { + return pulumix.Output[LookupWorkforcePoolProviderResult]{ + OutputState: o.OutputState, + } +} + // A [Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. `google.profile_photo` and `google.display_name` are not supported. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the attribute condition expression is 4096 characters. If unspecified, all valid authentication credentials will be accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ```"'admins' in google.groups"``` func (o LookupWorkforcePoolProviderResultOutput) AttributeCondition() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkforcePoolProviderResult) string { return v.AttributeCondition }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/getWorkloadIdentityPool.go b/sdk/go/google/iam/v1/getWorkloadIdentityPool.go index 6323ba215f..63a1c54d39 100644 --- a/sdk/go/google/iam/v1/getWorkloadIdentityPool.go +++ b/sdk/go/google/iam/v1/getWorkloadIdentityPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an individual WorkloadIdentityPool. @@ -78,6 +79,12 @@ func (o LookupWorkloadIdentityPoolResultOutput) ToLookupWorkloadIdentityPoolResu return o } +func (o LookupWorkloadIdentityPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkloadIdentityPoolResult] { + return pulumix.Output[LookupWorkloadIdentityPoolResult]{ + OutputState: o.OutputState, + } +} + // A description of the pool. Cannot exceed 256 characters. func (o LookupWorkloadIdentityPoolResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkloadIdentityPoolResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/getWorkloadIdentityPoolKey.go b/sdk/go/google/iam/v1/getWorkloadIdentityPoolKey.go index 343af66ee7..19ebe4055b 100644 --- a/sdk/go/google/iam/v1/getWorkloadIdentityPoolKey.go +++ b/sdk/go/google/iam/v1/getWorkloadIdentityPoolKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an individual WorkloadIdentityPoolProviderKey. @@ -82,6 +83,12 @@ func (o LookupWorkloadIdentityPoolKeyResultOutput) ToLookupWorkloadIdentityPoolK return o } +func (o LookupWorkloadIdentityPoolKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkloadIdentityPoolKeyResult] { + return pulumix.Output[LookupWorkloadIdentityPoolKeyResult]{ + OutputState: o.OutputState, + } +} + // Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed. func (o LookupWorkloadIdentityPoolKeyResultOutput) ExpireTime() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkloadIdentityPoolKeyResult) string { return v.ExpireTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/key.go b/sdk/go/google/iam/v1/key.go index e2472b0572..f3f531fff2 100644 --- a/sdk/go/google/iam/v1/key.go +++ b/sdk/go/google/iam/v1/key.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ServiceAccountKey. @@ -130,6 +131,12 @@ func (i *Key) ToKeyOutputWithContext(ctx context.Context) KeyOutput { return pulumi.ToOutputWithContext(ctx, i).(KeyOutput) } +func (i *Key) ToOutput(ctx context.Context) pulumix.Output[*Key] { + return pulumix.Output[*Key]{ + OutputState: i.ToKeyOutputWithContext(ctx).OutputState, + } +} + type KeyOutput struct{ *pulumi.OutputState } func (KeyOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o KeyOutput) ToKeyOutputWithContext(ctx context.Context) KeyOutput { return o } +func (o KeyOutput) ToOutput(ctx context.Context) pulumix.Output[*Key] { + return pulumix.Output[*Key]{ + OutputState: o.OutputState, + } +} + // The key status. func (o KeyOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v *Key) pulumi.BoolOutput { return v.Disabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/iam/v1/organizationRole.go b/sdk/go/google/iam/v1/organizationRole.go index 40426df867..23d90d2c3a 100644 --- a/sdk/go/google/iam/v1/organizationRole.go +++ b/sdk/go/google/iam/v1/organizationRole.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new custom Role. @@ -143,6 +144,12 @@ func (i *OrganizationRole) ToOrganizationRoleOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(OrganizationRoleOutput) } +func (i *OrganizationRole) ToOutput(ctx context.Context) pulumix.Output[*OrganizationRole] { + return pulumix.Output[*OrganizationRole]{ + OutputState: i.ToOrganizationRoleOutputWithContext(ctx).OutputState, + } +} + type OrganizationRoleOutput struct{ *pulumi.OutputState } func (OrganizationRoleOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o OrganizationRoleOutput) ToOrganizationRoleOutputWithContext(ctx context. return o } +func (o OrganizationRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationRole] { + return pulumix.Output[*OrganizationRole]{ + OutputState: o.OutputState, + } +} + // The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole. func (o OrganizationRoleOutput) Deleted() pulumi.BoolOutput { return o.ApplyT(func(v *OrganizationRole) pulumi.BoolOutput { return v.Deleted }).(pulumi.BoolOutput) diff --git a/sdk/go/google/iam/v1/provider.go b/sdk/go/google/iam/v1/provider.go index 1ff2b986f7..4494b91641 100644 --- a/sdk/go/google/iam/v1/provider.go +++ b/sdk/go/google/iam/v1/provider.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new WorkloadIdentityPoolProvider in a WorkloadIdentityPool. You cannot reuse the name of a deleted provider until 30 days after deletion. @@ -168,6 +169,12 @@ func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutp return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) } +func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider] { + return pulumix.Output[*Provider]{ + OutputState: i.ToProviderOutputWithContext(ctx).OutputState, + } +} + type ProviderOutput struct{ *pulumi.OutputState } func (ProviderOutput) ElementType() reflect.Type { @@ -182,6 +189,12 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } +func (o ProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*Provider] { + return pulumix.Output[*Provider]{ + OutputState: o.OutputState, + } +} + // [A Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the attribute condition expression is 4096 characters. If unspecified, all valid authentication credential are accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ```"'admins' in google.groups"``` func (o ProviderOutput) AttributeCondition() pulumi.StringOutput { return o.ApplyT(func(v *Provider) pulumi.StringOutput { return v.AttributeCondition }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/pulumiEnums.go b/sdk/go/google/iam/v1/pulumiEnums.go index c5b6f8b706..c2087dd9c4 100644 --- a/sdk/go/google/iam/v1/pulumiEnums.go +++ b/sdk/go/google/iam/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The behavior for how OIDC Claims are included in the `assertion` object used for attribute mapping and attribute condition. type GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehavior string @@ -251,6 +270,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBeha }).(GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehaviorPtrOutput) } +func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehavior] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehavior]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehaviorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBeha return o } +func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehaviorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehavior] { + return pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehavior]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehaviorPtrOutput) Elem() GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehaviorOutput { return o.ApplyT(func(v *GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehavior) GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehavior { if v != nil { @@ -348,6 +379,12 @@ func (in *googleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBe return pulumi.ToOutputWithContext(ctx, in).(GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehaviorPtrOutput) } +func (in *googleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehaviorPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehavior] { + return pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehavior]{ + OutputState: in.ToGoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehaviorPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The Response Type to request for in the OIDC Authorization Request for web sign-in. type GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseType string @@ -418,6 +455,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypeOutput) }).(GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypePtrOutput) } +func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseType] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -453,6 +496,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypePtrOutp return o } +func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseType] { + return pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypePtrOutput) Elem() GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypeOutput { return o.ApplyT(func(v *GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseType) GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseType { if v != nil { @@ -515,6 +564,12 @@ func (in *googleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypePtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypePtrOutput) } +func (in *googleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseType] { + return pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseType]{ + OutputState: in.ToGoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The specifications for the key. type KeyDataKeySpec string @@ -589,6 +644,12 @@ func (o KeyDataKeySpecOutput) ToKeyDataKeySpecPtrOutputWithContext(ctx context.C }).(KeyDataKeySpecPtrOutput) } +func (o KeyDataKeySpecOutput) ToOutput(ctx context.Context) pulumix.Output[KeyDataKeySpec] { + return pulumix.Output[KeyDataKeySpec]{ + OutputState: o.OutputState, + } +} + func (o KeyDataKeySpecOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -624,6 +685,12 @@ func (o KeyDataKeySpecPtrOutput) ToKeyDataKeySpecPtrOutputWithContext(ctx contex return o } +func (o KeyDataKeySpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyDataKeySpec] { + return pulumix.Output[*KeyDataKeySpec]{ + OutputState: o.OutputState, + } +} + func (o KeyDataKeySpecPtrOutput) Elem() KeyDataKeySpecOutput { return o.ApplyT(func(v *KeyDataKeySpec) KeyDataKeySpec { if v != nil { @@ -686,6 +753,12 @@ func (in *keyDataKeySpecPtr) ToKeyDataKeySpecPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(KeyDataKeySpecPtrOutput) } +func (in *keyDataKeySpecPtr) ToOutput(ctx context.Context) pulumix.Output[*KeyDataKeySpec] { + return pulumix.Output[*KeyDataKeySpec]{ + OutputState: in.ToKeyDataKeySpecPtrOutputWithContext(ctx).OutputState, + } +} + // Which type of key and algorithm to use for the key. The default is currently a 2K RSA key. However this may change in the future. type KeyKeyAlgorithm string @@ -758,6 +831,12 @@ func (o KeyKeyAlgorithmOutput) ToKeyKeyAlgorithmPtrOutputWithContext(ctx context }).(KeyKeyAlgorithmPtrOutput) } +func (o KeyKeyAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[KeyKeyAlgorithm] { + return pulumix.Output[KeyKeyAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o KeyKeyAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -793,6 +872,12 @@ func (o KeyKeyAlgorithmPtrOutput) ToKeyKeyAlgorithmPtrOutputWithContext(ctx cont return o } +func (o KeyKeyAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyKeyAlgorithm] { + return pulumix.Output[*KeyKeyAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o KeyKeyAlgorithmPtrOutput) Elem() KeyKeyAlgorithmOutput { return o.ApplyT(func(v *KeyKeyAlgorithm) KeyKeyAlgorithm { if v != nil { @@ -855,6 +940,12 @@ func (in *keyKeyAlgorithmPtr) ToKeyKeyAlgorithmPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(KeyKeyAlgorithmPtrOutput) } +func (in *keyKeyAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*KeyKeyAlgorithm] { + return pulumix.Output[*KeyKeyAlgorithm]{ + OutputState: in.ToKeyKeyAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // The output format of the private key. The default value is `TYPE_GOOGLE_CREDENTIALS_FILE`, which is the Google Credentials File format. type KeyPrivateKeyType string @@ -927,6 +1018,12 @@ func (o KeyPrivateKeyTypeOutput) ToKeyPrivateKeyTypePtrOutputWithContext(ctx con }).(KeyPrivateKeyTypePtrOutput) } +func (o KeyPrivateKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[KeyPrivateKeyType] { + return pulumix.Output[KeyPrivateKeyType]{ + OutputState: o.OutputState, + } +} + func (o KeyPrivateKeyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -962,6 +1059,12 @@ func (o KeyPrivateKeyTypePtrOutput) ToKeyPrivateKeyTypePtrOutputWithContext(ctx return o } +func (o KeyPrivateKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyPrivateKeyType] { + return pulumix.Output[*KeyPrivateKeyType]{ + OutputState: o.OutputState, + } +} + func (o KeyPrivateKeyTypePtrOutput) Elem() KeyPrivateKeyTypeOutput { return o.ApplyT(func(v *KeyPrivateKeyType) KeyPrivateKeyType { if v != nil { @@ -1024,6 +1127,12 @@ func (in *keyPrivateKeyTypePtr) ToKeyPrivateKeyTypePtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(KeyPrivateKeyTypePtrOutput) } +func (in *keyPrivateKeyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*KeyPrivateKeyType] { + return pulumix.Output[*KeyPrivateKeyType]{ + OutputState: in.ToKeyPrivateKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // The current launch stage of the role. If the `ALPHA` launch stage has been selected for a role, the `stage` field will not be included in the returned definition for the role. type OrganizationRoleStage string @@ -1102,6 +1211,12 @@ func (o OrganizationRoleStageOutput) ToOrganizationRoleStagePtrOutputWithContext }).(OrganizationRoleStagePtrOutput) } +func (o OrganizationRoleStageOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationRoleStage] { + return pulumix.Output[OrganizationRoleStage]{ + OutputState: o.OutputState, + } +} + func (o OrganizationRoleStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1137,6 +1252,12 @@ func (o OrganizationRoleStagePtrOutput) ToOrganizationRoleStagePtrOutputWithCont return o } +func (o OrganizationRoleStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationRoleStage] { + return pulumix.Output[*OrganizationRoleStage]{ + OutputState: o.OutputState, + } +} + func (o OrganizationRoleStagePtrOutput) Elem() OrganizationRoleStageOutput { return o.ApplyT(func(v *OrganizationRoleStage) OrganizationRoleStage { if v != nil { @@ -1199,6 +1320,12 @@ func (in *organizationRoleStagePtr) ToOrganizationRoleStagePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(OrganizationRoleStagePtrOutput) } +func (in *organizationRoleStagePtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationRoleStage] { + return pulumix.Output[*OrganizationRoleStage]{ + OutputState: in.ToOrganizationRoleStagePtrOutputWithContext(ctx).OutputState, + } +} + // The current launch stage of the role. If the `ALPHA` launch stage has been selected for a role, the `stage` field will not be included in the returned definition for the role. type RoleStage string @@ -1277,6 +1404,12 @@ func (o RoleStageOutput) ToRoleStagePtrOutputWithContext(ctx context.Context) Ro }).(RoleStagePtrOutput) } +func (o RoleStageOutput) ToOutput(ctx context.Context) pulumix.Output[RoleStage] { + return pulumix.Output[RoleStage]{ + OutputState: o.OutputState, + } +} + func (o RoleStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1312,6 +1445,12 @@ func (o RoleStagePtrOutput) ToRoleStagePtrOutputWithContext(ctx context.Context) return o } +func (o RoleStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoleStage] { + return pulumix.Output[*RoleStage]{ + OutputState: o.OutputState, + } +} + func (o RoleStagePtrOutput) Elem() RoleStageOutput { return o.ApplyT(func(v *RoleStage) RoleStage { if v != nil { @@ -1374,6 +1513,12 @@ func (in *roleStagePtr) ToRoleStagePtrOutputWithContext(ctx context.Context) Rol return pulumi.ToOutputWithContext(ctx, in).(RoleStagePtrOutput) } +func (in *roleStagePtr) ToOutput(ctx context.Context) pulumix.Output[*RoleStage] { + return pulumix.Output[*RoleStage]{ + OutputState: in.ToRoleStagePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The purpose of the key. type WorkforcePoolKeyUse string @@ -1444,6 +1589,12 @@ func (o WorkforcePoolKeyUseOutput) ToWorkforcePoolKeyUsePtrOutputWithContext(ctx }).(WorkforcePoolKeyUsePtrOutput) } +func (o WorkforcePoolKeyUseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkforcePoolKeyUse] { + return pulumix.Output[WorkforcePoolKeyUse]{ + OutputState: o.OutputState, + } +} + func (o WorkforcePoolKeyUseOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1479,6 +1630,12 @@ func (o WorkforcePoolKeyUsePtrOutput) ToWorkforcePoolKeyUsePtrOutputWithContext( return o } +func (o WorkforcePoolKeyUsePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolKeyUse] { + return pulumix.Output[*WorkforcePoolKeyUse]{ + OutputState: o.OutputState, + } +} + func (o WorkforcePoolKeyUsePtrOutput) Elem() WorkforcePoolKeyUseOutput { return o.ApplyT(func(v *WorkforcePoolKeyUse) WorkforcePoolKeyUse { if v != nil { @@ -1541,6 +1698,12 @@ func (in *workforcePoolKeyUsePtr) ToWorkforcePoolKeyUsePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(WorkforcePoolKeyUsePtrOutput) } +func (in *workforcePoolKeyUsePtr) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolKeyUse] { + return pulumix.Output[*WorkforcePoolKeyUse]{ + OutputState: in.ToWorkforcePoolKeyUsePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The purpose of the key. type WorkloadIdentityPoolKeyUse string @@ -1611,6 +1774,12 @@ func (o WorkloadIdentityPoolKeyUseOutput) ToWorkloadIdentityPoolKeyUsePtrOutputW }).(WorkloadIdentityPoolKeyUsePtrOutput) } +func (o WorkloadIdentityPoolKeyUseOutput) ToOutput(ctx context.Context) pulumix.Output[WorkloadIdentityPoolKeyUse] { + return pulumix.Output[WorkloadIdentityPoolKeyUse]{ + OutputState: o.OutputState, + } +} + func (o WorkloadIdentityPoolKeyUseOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1646,6 +1815,12 @@ func (o WorkloadIdentityPoolKeyUsePtrOutput) ToWorkloadIdentityPoolKeyUsePtrOutp return o } +func (o WorkloadIdentityPoolKeyUsePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadIdentityPoolKeyUse] { + return pulumix.Output[*WorkloadIdentityPoolKeyUse]{ + OutputState: o.OutputState, + } +} + func (o WorkloadIdentityPoolKeyUsePtrOutput) Elem() WorkloadIdentityPoolKeyUseOutput { return o.ApplyT(func(v *WorkloadIdentityPoolKeyUse) WorkloadIdentityPoolKeyUse { if v != nil { @@ -1708,6 +1883,12 @@ func (in *workloadIdentityPoolKeyUsePtr) ToWorkloadIdentityPoolKeyUsePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(WorkloadIdentityPoolKeyUsePtrOutput) } +func (in *workloadIdentityPoolKeyUsePtr) ToOutput(ctx context.Context) pulumix.Output[*WorkloadIdentityPoolKeyUse] { + return pulumix.Output[*WorkloadIdentityPoolKeyUse]{ + OutputState: in.ToWorkloadIdentityPoolKeyUsePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/iam/v1/pulumiTypes.go b/sdk/go/google/iam/v1/pulumiTypes.go index a610989297..28996c01cb 100644 --- a/sdk/go/google/iam/v1/pulumiTypes.go +++ b/sdk/go/google/iam/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -372,6 +445,12 @@ func (i AwsArgs) ToAwsOutputWithContext(ctx context.Context) AwsOutput { return pulumi.ToOutputWithContext(ctx, i).(AwsOutput) } +func (i AwsArgs) ToOutput(ctx context.Context) pulumix.Output[Aws] { + return pulumix.Output[Aws]{ + OutputState: i.ToAwsOutputWithContext(ctx).OutputState, + } +} + func (i AwsArgs) ToAwsPtrOutput() AwsPtrOutput { return i.ToAwsPtrOutputWithContext(context.Background()) } @@ -413,6 +492,12 @@ func (i *awsPtrType) ToAwsPtrOutputWithContext(ctx context.Context) AwsPtrOutput return pulumi.ToOutputWithContext(ctx, i).(AwsPtrOutput) } +func (i *awsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Aws] { + return pulumix.Output[*Aws]{ + OutputState: i.ToAwsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an Amazon Web Services identity provider. type AwsOutput struct{ *pulumi.OutputState } @@ -438,6 +523,12 @@ func (o AwsOutput) ToAwsPtrOutputWithContext(ctx context.Context) AwsPtrOutput { }).(AwsPtrOutput) } +func (o AwsOutput) ToOutput(ctx context.Context) pulumix.Output[Aws] { + return pulumix.Output[Aws]{ + OutputState: o.OutputState, + } +} + // The AWS account ID. func (o AwsOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v Aws) string { return v.AccountId }).(pulumi.StringOutput) @@ -457,6 +548,12 @@ func (o AwsPtrOutput) ToAwsPtrOutputWithContext(ctx context.Context) AwsPtrOutpu return o } +func (o AwsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Aws] { + return pulumix.Output[*Aws]{ + OutputState: o.OutputState, + } +} + func (o AwsPtrOutput) Elem() AwsOutput { return o.ApplyT(func(v *Aws) Aws { if v != nil { @@ -498,6 +595,12 @@ func (o AwsResponseOutput) ToAwsResponseOutputWithContext(ctx context.Context) A return o } +func (o AwsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AwsResponse] { + return pulumix.Output[AwsResponse]{ + OutputState: o.OutputState, + } +} + // The AWS account ID. func (o AwsResponseOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v AwsResponse) string { return v.AccountId }).(pulumi.StringOutput) @@ -546,6 +649,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -571,6 +680,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -586,6 +701,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -615,6 +736,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -646,6 +773,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -675,6 +808,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -724,6 +863,12 @@ func (i ConditionArgs) ToConditionOutputWithContext(ctx context.Context) Conditi return pulumi.ToOutputWithContext(ctx, i).(ConditionOutput) } +func (i ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: i.ToConditionOutputWithContext(ctx).OutputState, + } +} + func (i ConditionArgs) ToConditionPtrOutput() ConditionPtrOutput { return i.ToConditionPtrOutputWithContext(context.Background()) } @@ -765,6 +910,12 @@ func (i *conditionPtrType) ToConditionPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ConditionPtrOutput) } +func (i *conditionPtrType) ToOutput(ctx context.Context) pulumix.Output[*Condition] { + return pulumix.Output[*Condition]{ + OutputState: i.ToConditionPtrOutputWithContext(ctx).OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. type ConditionOutput struct{ *pulumi.OutputState } @@ -790,6 +941,12 @@ func (o ConditionOutput) ToConditionPtrOutputWithContext(ctx context.Context) Co }).(ConditionPtrOutput) } +func (o ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: o.OutputState, + } +} + // An optional description of the expression. This is a longer text which describes the expression, e.g., when hovering over it in a UI. func (o ConditionOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Condition) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -819,6 +976,12 @@ func (o ConditionPtrOutput) ToConditionPtrOutputWithContext(ctx context.Context) return o } +func (o ConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Condition] { + return pulumix.Output[*Condition]{ + OutputState: o.OutputState, + } +} + func (o ConditionPtrOutput) Elem() ConditionOutput { return o.ApplyT(func(v *Condition) Condition { if v != nil { @@ -906,6 +1069,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -947,6 +1116,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -972,6 +1147,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1006,6 +1187,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1083,6 +1270,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1146,6 +1339,12 @@ func (i GoogleIamAdminV1WorkforcePoolProviderOidcArgs) ToGoogleIamAdminV1Workfor return pulumi.ToOutputWithContext(ctx, i).(GoogleIamAdminV1WorkforcePoolProviderOidcOutput) } +func (i GoogleIamAdminV1WorkforcePoolProviderOidcArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidc] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidc]{ + OutputState: i.ToGoogleIamAdminV1WorkforcePoolProviderOidcOutputWithContext(ctx).OutputState, + } +} + func (i GoogleIamAdminV1WorkforcePoolProviderOidcArgs) ToGoogleIamAdminV1WorkforcePoolProviderOidcPtrOutput() GoogleIamAdminV1WorkforcePoolProviderOidcPtrOutput { return i.ToGoogleIamAdminV1WorkforcePoolProviderOidcPtrOutputWithContext(context.Background()) } @@ -1187,6 +1386,12 @@ func (i *googleIamAdminV1WorkforcePoolProviderOidcPtrType) ToGoogleIamAdminV1Wor return pulumi.ToOutputWithContext(ctx, i).(GoogleIamAdminV1WorkforcePoolProviderOidcPtrOutput) } +func (i *googleIamAdminV1WorkforcePoolProviderOidcPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidc] { + return pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidc]{ + OutputState: i.ToGoogleIamAdminV1WorkforcePoolProviderOidcPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an OpenId Connect 1.0 identity provider. type GoogleIamAdminV1WorkforcePoolProviderOidcOutput struct{ *pulumi.OutputState } @@ -1212,6 +1417,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderOidcOutput) ToGoogleIamAdminV1Workf }).(GoogleIamAdminV1WorkforcePoolProviderOidcPtrOutput) } +func (o GoogleIamAdminV1WorkforcePoolProviderOidcOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidc] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidc]{ + OutputState: o.OutputState, + } +} + // The client ID. Must match the audience claim of the JWT issued by the identity provider. func (o GoogleIamAdminV1WorkforcePoolProviderOidcOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v GoogleIamAdminV1WorkforcePoolProviderOidc) string { return v.ClientId }).(pulumi.StringOutput) @@ -1243,6 +1454,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderOidcPtrOutput) ToGoogleIamAdminV1Wo return o } +func (o GoogleIamAdminV1WorkforcePoolProviderOidcPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidc] { + return pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidc]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamAdminV1WorkforcePoolProviderOidcPtrOutput) Elem() GoogleIamAdminV1WorkforcePoolProviderOidcOutput { return o.ApplyT(func(v *GoogleIamAdminV1WorkforcePoolProviderOidc) GoogleIamAdminV1WorkforcePoolProviderOidc { if v != nil { @@ -1308,6 +1525,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderOidcResponseOutput) ToGoogleIamAdmi return o } +func (o GoogleIamAdminV1WorkforcePoolProviderOidcResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcResponse] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcResponse]{ + OutputState: o.OutputState, + } +} + // The client ID. Must match the audience claim of the JWT issued by the identity provider. func (o GoogleIamAdminV1WorkforcePoolProviderOidcResponseOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v GoogleIamAdminV1WorkforcePoolProviderOidcResponse) string { return v.ClientId }).(pulumi.StringOutput) @@ -1364,6 +1587,12 @@ func (i GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigArgs) ToGoogleIamAd return pulumi.ToOutputWithContext(ctx, i).(GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigOutput) } +func (i GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig]{ + OutputState: i.ToGoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigArgs) ToGoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrOutput() GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrOutput { return i.ToGoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrOutputWithContext(context.Background()) } @@ -1405,6 +1634,12 @@ func (i *googleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrType) ToGoogleI return pulumi.ToOutputWithContext(ctx, i).(GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrOutput) } +func (i *googleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig] { + return pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig]{ + OutputState: i.ToGoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for web single sign-on for the OIDC provider. type GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigOutput struct{ *pulumi.OutputState } @@ -1430,6 +1665,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigOutput) ToGoogleIam }).(GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrOutput) } +func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig]{ + OutputState: o.OutputState, + } +} + // The behavior for how OIDC Claims are included in the `assertion` object used for attribute mapping and attribute condition. func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigOutput) AssertionClaimsBehavior() GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehaviorOutput { return o.ApplyT(func(v GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig) GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigAssertionClaimsBehavior { @@ -1458,6 +1699,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrOutput) ToGoogle return o } +func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig] { + return pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigPtrOutput) Elem() GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigOutput { return o.ApplyT(func(v *GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig) GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig { if v != nil { @@ -1511,6 +1758,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseOutput) ToG return o } +func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponse] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponse]{ + OutputState: o.OutputState, + } +} + // The behavior for how OIDC Claims are included in the `assertion` object used for attribute mapping and attribute condition. func (o GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponseOutput) AssertionClaimsBehavior() pulumi.StringOutput { return o.ApplyT(func(v GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfigResponse) string { @@ -1558,6 +1811,12 @@ func (i GoogleIamAdminV1WorkforcePoolProviderSamlArgs) ToGoogleIamAdminV1Workfor return pulumi.ToOutputWithContext(ctx, i).(GoogleIamAdminV1WorkforcePoolProviderSamlOutput) } +func (i GoogleIamAdminV1WorkforcePoolProviderSamlArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderSaml] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderSaml]{ + OutputState: i.ToGoogleIamAdminV1WorkforcePoolProviderSamlOutputWithContext(ctx).OutputState, + } +} + func (i GoogleIamAdminV1WorkforcePoolProviderSamlArgs) ToGoogleIamAdminV1WorkforcePoolProviderSamlPtrOutput() GoogleIamAdminV1WorkforcePoolProviderSamlPtrOutput { return i.ToGoogleIamAdminV1WorkforcePoolProviderSamlPtrOutputWithContext(context.Background()) } @@ -1599,6 +1858,12 @@ func (i *googleIamAdminV1WorkforcePoolProviderSamlPtrType) ToGoogleIamAdminV1Wor return pulumi.ToOutputWithContext(ctx, i).(GoogleIamAdminV1WorkforcePoolProviderSamlPtrOutput) } +func (i *googleIamAdminV1WorkforcePoolProviderSamlPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderSaml] { + return pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderSaml]{ + OutputState: i.ToGoogleIamAdminV1WorkforcePoolProviderSamlPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a SAML identity provider. type GoogleIamAdminV1WorkforcePoolProviderSamlOutput struct{ *pulumi.OutputState } @@ -1624,6 +1889,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderSamlOutput) ToGoogleIamAdminV1Workf }).(GoogleIamAdminV1WorkforcePoolProviderSamlPtrOutput) } +func (o GoogleIamAdminV1WorkforcePoolProviderSamlOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderSaml] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderSaml]{ + OutputState: o.OutputState, + } +} + // SAML Identity provider configuration metadata xml doc. The xml document should comply with [SAML 2.0 specification](https://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf). The max size of the acceptable xml document will be bounded to 128k characters. The metadata xml document should satisfy the following constraints: 1) Must contain an Identity Provider Entity ID. 2) Must contain at least one non-expired signing key certificate. 3) For each signing key: a) Valid from should be no more than 7 days from now. b) Valid to should be no more than 14 years in the future. 4) Up to 3 IdP signing keys are allowed in the metadata xml. When updating the provider's metadata xml, at least one non-expired signing key must overlap with the existing metadata. This requirement is skipped if there are no non-expired signing keys present in the existing metadata. func (o GoogleIamAdminV1WorkforcePoolProviderSamlOutput) IdpMetadataXml() pulumi.StringOutput { return o.ApplyT(func(v GoogleIamAdminV1WorkforcePoolProviderSaml) string { return v.IdpMetadataXml }).(pulumi.StringOutput) @@ -1643,6 +1914,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderSamlPtrOutput) ToGoogleIamAdminV1Wo return o } +func (o GoogleIamAdminV1WorkforcePoolProviderSamlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderSaml] { + return pulumix.Output[*GoogleIamAdminV1WorkforcePoolProviderSaml]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamAdminV1WorkforcePoolProviderSamlPtrOutput) Elem() GoogleIamAdminV1WorkforcePoolProviderSamlOutput { return o.ApplyT(func(v *GoogleIamAdminV1WorkforcePoolProviderSaml) GoogleIamAdminV1WorkforcePoolProviderSaml { if v != nil { @@ -1684,6 +1961,12 @@ func (o GoogleIamAdminV1WorkforcePoolProviderSamlResponseOutput) ToGoogleIamAdmi return o } +func (o GoogleIamAdminV1WorkforcePoolProviderSamlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderSamlResponse] { + return pulumix.Output[GoogleIamAdminV1WorkforcePoolProviderSamlResponse]{ + OutputState: o.OutputState, + } +} + // SAML Identity provider configuration metadata xml doc. The xml document should comply with [SAML 2.0 specification](https://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf). The max size of the acceptable xml document will be bounded to 128k characters. The metadata xml document should satisfy the following constraints: 1) Must contain an Identity Provider Entity ID. 2) Must contain at least one non-expired signing key certificate. 3) For each signing key: a) Valid from should be no more than 7 days from now. b) Valid to should be no more than 14 years in the future. 4) Up to 3 IdP signing keys are allowed in the metadata xml. When updating the provider's metadata xml, at least one non-expired signing key must overlap with the existing metadata. This requirement is skipped if there are no non-expired signing keys present in the existing metadata. func (o GoogleIamAdminV1WorkforcePoolProviderSamlResponseOutput) IdpMetadataXml() pulumi.StringOutput { return o.ApplyT(func(v GoogleIamAdminV1WorkforcePoolProviderSamlResponse) string { return v.IdpMetadataXml }).(pulumi.StringOutput) @@ -1724,6 +2007,12 @@ func (i KeyDataArgs) ToKeyDataOutputWithContext(ctx context.Context) KeyDataOutp return pulumi.ToOutputWithContext(ctx, i).(KeyDataOutput) } +func (i KeyDataArgs) ToOutput(ctx context.Context) pulumix.Output[KeyData] { + return pulumix.Output[KeyData]{ + OutputState: i.ToKeyDataOutputWithContext(ctx).OutputState, + } +} + func (i KeyDataArgs) ToKeyDataPtrOutput() KeyDataPtrOutput { return i.ToKeyDataPtrOutputWithContext(context.Background()) } @@ -1765,6 +2054,12 @@ func (i *keyDataPtrType) ToKeyDataPtrOutputWithContext(ctx context.Context) KeyD return pulumi.ToOutputWithContext(ctx, i).(KeyDataPtrOutput) } +func (i *keyDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*KeyData] { + return pulumix.Output[*KeyData]{ + OutputState: i.ToKeyDataPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a public key data along with its format. type KeyDataOutput struct{ *pulumi.OutputState } @@ -1790,6 +2085,12 @@ func (o KeyDataOutput) ToKeyDataPtrOutputWithContext(ctx context.Context) KeyDat }).(KeyDataPtrOutput) } +func (o KeyDataOutput) ToOutput(ctx context.Context) pulumix.Output[KeyData] { + return pulumix.Output[KeyData]{ + OutputState: o.OutputState, + } +} + // The specifications for the key. func (o KeyDataOutput) KeySpec() KeyDataKeySpecOutput { return o.ApplyT(func(v KeyData) KeyDataKeySpec { return v.KeySpec }).(KeyDataKeySpecOutput) @@ -1809,6 +2110,12 @@ func (o KeyDataPtrOutput) ToKeyDataPtrOutputWithContext(ctx context.Context) Key return o } +func (o KeyDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyData] { + return pulumix.Output[*KeyData]{ + OutputState: o.OutputState, + } +} + func (o KeyDataPtrOutput) Elem() KeyDataOutput { return o.ApplyT(func(v *KeyData) KeyData { if v != nil { @@ -1858,6 +2165,12 @@ func (o KeyDataResponseOutput) ToKeyDataResponseOutputWithContext(ctx context.Co return o } +func (o KeyDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeyDataResponse] { + return pulumix.Output[KeyDataResponse]{ + OutputState: o.OutputState, + } +} + // The format of the key. func (o KeyDataResponseOutput) Format() pulumi.StringOutput { return o.ApplyT(func(v KeyDataResponse) string { return v.Format }).(pulumi.StringOutput) @@ -1922,6 +2235,12 @@ func (i OidcArgs) ToOidcOutputWithContext(ctx context.Context) OidcOutput { return pulumi.ToOutputWithContext(ctx, i).(OidcOutput) } +func (i OidcArgs) ToOutput(ctx context.Context) pulumix.Output[Oidc] { + return pulumix.Output[Oidc]{ + OutputState: i.ToOidcOutputWithContext(ctx).OutputState, + } +} + func (i OidcArgs) ToOidcPtrOutput() OidcPtrOutput { return i.ToOidcPtrOutputWithContext(context.Background()) } @@ -1963,6 +2282,12 @@ func (i *oidcPtrType) ToOidcPtrOutputWithContext(ctx context.Context) OidcPtrOut return pulumi.ToOutputWithContext(ctx, i).(OidcPtrOutput) } +func (i *oidcPtrType) ToOutput(ctx context.Context) pulumix.Output[*Oidc] { + return pulumix.Output[*Oidc]{ + OutputState: i.ToOidcPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an OpenId Connect 1.0 identity provider. type OidcOutput struct{ *pulumi.OutputState } @@ -1988,6 +2313,12 @@ func (o OidcOutput) ToOidcPtrOutputWithContext(ctx context.Context) OidcPtrOutpu }).(OidcPtrOutput) } +func (o OidcOutput) ToOutput(ctx context.Context) pulumix.Output[Oidc] { + return pulumix.Output[Oidc]{ + OutputState: o.OutputState, + } +} + // Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: ```//iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/``` func (o OidcOutput) AllowedAudiences() pulumi.StringArrayOutput { return o.ApplyT(func(v Oidc) []string { return v.AllowedAudiences }).(pulumi.StringArrayOutput) @@ -2012,6 +2343,12 @@ func (o OidcPtrOutput) ToOidcPtrOutputWithContext(ctx context.Context) OidcPtrOu return o } +func (o OidcPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Oidc] { + return pulumix.Output[*Oidc]{ + OutputState: o.OutputState, + } +} + func (o OidcPtrOutput) Elem() OidcOutput { return o.ApplyT(func(v *Oidc) Oidc { if v != nil { @@ -2065,6 +2402,12 @@ func (o OidcResponseOutput) ToOidcResponseOutputWithContext(ctx context.Context) return o } +func (o OidcResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OidcResponse] { + return pulumix.Output[OidcResponse]{ + OutputState: o.OutputState, + } +} + // Acceptable values for the `aud` field (audience) in the OIDC token. Token exchange requests are rejected if the token audience does not match one of the configured values. Each audience may be at most 256 characters. A maximum of 10 audiences may be configured. If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example: ```//iam.googleapis.com/projects//locations//workloadIdentityPools//providers/ https://iam.googleapis.com/projects//locations//workloadIdentityPools//providers/``` func (o OidcResponseOutput) AllowedAudiences() pulumi.StringArrayOutput { return o.ApplyT(func(v OidcResponse) []string { return v.AllowedAudiences }).(pulumi.StringArrayOutput) @@ -2110,6 +2453,12 @@ func (i SamlArgs) ToSamlOutputWithContext(ctx context.Context) SamlOutput { return pulumi.ToOutputWithContext(ctx, i).(SamlOutput) } +func (i SamlArgs) ToOutput(ctx context.Context) pulumix.Output[Saml] { + return pulumix.Output[Saml]{ + OutputState: i.ToSamlOutputWithContext(ctx).OutputState, + } +} + func (i SamlArgs) ToSamlPtrOutput() SamlPtrOutput { return i.ToSamlPtrOutputWithContext(context.Background()) } @@ -2151,6 +2500,12 @@ func (i *samlPtrType) ToSamlPtrOutputWithContext(ctx context.Context) SamlPtrOut return pulumi.ToOutputWithContext(ctx, i).(SamlPtrOutput) } +func (i *samlPtrType) ToOutput(ctx context.Context) pulumix.Output[*Saml] { + return pulumix.Output[*Saml]{ + OutputState: i.ToSamlPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an SAML 2.0 identity provider. type SamlOutput struct{ *pulumi.OutputState } @@ -2176,6 +2531,12 @@ func (o SamlOutput) ToSamlPtrOutputWithContext(ctx context.Context) SamlPtrOutpu }).(SamlPtrOutput) } +func (o SamlOutput) ToOutput(ctx context.Context) pulumix.Output[Saml] { + return pulumix.Output[Saml]{ + OutputState: o.OutputState, + } +} + // SAML Identity provider configuration metadata xml doc. The xml document should comply with [SAML 2.0 specification](https://www.oasis-open.org/committees/download.php/56785/sstc-saml-metadata-errata-2.0-wd-05.pdf). The max size of the acceptable xml document will be bounded to 128k characters. The metadata xml document should satisfy the following constraints: 1) Must contain an Identity Provider Entity ID. 2) Must contain at least one non-expired signing key certificate. 3) For each signing key: a) Valid from should be no more than 7 days from now. b) Valid to should be no more than 14 years in the future. 4) Upto 3 IdP signing keys are allowed in the metadata xml. When updating the provider's metadata xml, at lease one non-expired signing key must overlap with the existing metadata. This requirement is skipped if there are no non-expired signing keys present in the existing metadata func (o SamlOutput) IdpMetadataXml() pulumi.StringOutput { return o.ApplyT(func(v Saml) string { return v.IdpMetadataXml }).(pulumi.StringOutput) @@ -2195,6 +2556,12 @@ func (o SamlPtrOutput) ToSamlPtrOutputWithContext(ctx context.Context) SamlPtrOu return o } +func (o SamlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Saml] { + return pulumix.Output[*Saml]{ + OutputState: o.OutputState, + } +} + func (o SamlPtrOutput) Elem() SamlOutput { return o.ApplyT(func(v *Saml) Saml { if v != nil { @@ -2236,6 +2603,12 @@ func (o SamlResponseOutput) ToSamlResponseOutputWithContext(ctx context.Context) return o } +func (o SamlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SamlResponse] { + return pulumix.Output[SamlResponse]{ + OutputState: o.OutputState, + } +} + // SAML Identity provider configuration metadata xml doc. The xml document should comply with [SAML 2.0 specification](https://www.oasis-open.org/committees/download.php/56785/sstc-saml-metadata-errata-2.0-wd-05.pdf). The max size of the acceptable xml document will be bounded to 128k characters. The metadata xml document should satisfy the following constraints: 1) Must contain an Identity Provider Entity ID. 2) Must contain at least one non-expired signing key certificate. 3) For each signing key: a) Valid from should be no more than 7 days from now. b) Valid to should be no more than 14 years in the future. 4) Upto 3 IdP signing keys are allowed in the metadata xml. When updating the provider's metadata xml, at lease one non-expired signing key must overlap with the existing metadata. This requirement is skipped if there are no non-expired signing keys present in the existing metadata func (o SamlResponseOutput) IdpMetadataXml() pulumi.StringOutput { return o.ApplyT(func(v SamlResponse) string { return v.IdpMetadataXml }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/role.go b/sdk/go/google/iam/v1/role.go index 37dea12146..f99dd29a1e 100644 --- a/sdk/go/google/iam/v1/role.go +++ b/sdk/go/google/iam/v1/role.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new custom Role. @@ -139,6 +140,12 @@ func (i *Role) ToRoleOutputWithContext(ctx context.Context) RoleOutput { return pulumi.ToOutputWithContext(ctx, i).(RoleOutput) } +func (i *Role) ToOutput(ctx context.Context) pulumix.Output[*Role] { + return pulumix.Output[*Role]{ + OutputState: i.ToRoleOutputWithContext(ctx).OutputState, + } +} + type RoleOutput struct{ *pulumi.OutputState } func (RoleOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput { return o } +func (o RoleOutput) ToOutput(ctx context.Context) pulumix.Output[*Role] { + return pulumix.Output[*Role]{ + OutputState: o.OutputState, + } +} + // The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole. func (o RoleOutput) Deleted() pulumi.BoolOutput { return o.ApplyT(func(v *Role) pulumi.BoolOutput { return v.Deleted }).(pulumi.BoolOutput) diff --git a/sdk/go/google/iam/v1/serviceAccount.go b/sdk/go/google/iam/v1/serviceAccount.go index 9cc4ce2f26..d46992661f 100644 --- a/sdk/go/google/iam/v1/serviceAccount.go +++ b/sdk/go/google/iam/v1/serviceAccount.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ServiceAccount. @@ -140,6 +141,12 @@ func (i *ServiceAccount) ToServiceAccountOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) } +func (i *ServiceAccount) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: i.ToServiceAccountOutputWithContext(ctx).OutputState, + } +} + type ServiceAccountOutput struct{ *pulumi.OutputState } func (ServiceAccountOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ServiceAccountOutput) ToServiceAccountOutputWithContext(ctx context.Cont return o } +func (o ServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: o.OutputState, + } +} + // Optional. A user-specified, human-readable description of the service account. The maximum length is 256 UTF-8 bytes. func (o ServiceAccountOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *ServiceAccount) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/serviceAccountIamBinding.go b/sdk/go/google/iam/v1/serviceAccountIamBinding.go index 693a6a9c92..b33187fe79 100644 --- a/sdk/go/google/iam/v1/serviceAccountIamBinding.go +++ b/sdk/go/google/iam/v1/serviceAccountIamBinding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy that is attached to a ServiceAccount. Use this method to grant or revoke access to the service account. For example, you could grant a principal the ability to impersonate the service account. This method does not enable the service account to access other resources. To grant roles to a service account on a resource, follow these steps: 1. Call the resource's `getIamPolicy` method to get its current IAM policy. 2. Edit the policy so that it binds the service account to an IAM role for the resource. 3. Call the resource's `setIamPolicy` method to update its IAM policy. For detailed instructions, see [Manage access to project, folders, and organizations](https://cloud.google.com/iam/help/service-accounts/granting-access-to-service-accounts) or [Manage access to other resources](https://cloud.google.com/iam/help/access/manage-other-resources). @@ -134,6 +135,12 @@ func (i *ServiceAccountIamBinding) ToServiceAccountIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountIamBindingOutput) } +func (i *ServiceAccountIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccountIamBinding] { + return pulumix.Output[*ServiceAccountIamBinding]{ + OutputState: i.ToServiceAccountIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceAccountIamBindingOutput struct{ *pulumi.OutputState } func (ServiceAccountIamBindingOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o ServiceAccountIamBindingOutput) ToServiceAccountIamBindingOutputWithCont return o } +func (o ServiceAccountIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccountIamBinding] { + return pulumix.Output[*ServiceAccountIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceAccountIamBindingOutput) Condition() ConditionPtrOutput { return o.ApplyT(func(v *ServiceAccountIamBinding) ConditionPtrOutput { return v.Condition }).(ConditionPtrOutput) diff --git a/sdk/go/google/iam/v1/serviceAccountIamMember.go b/sdk/go/google/iam/v1/serviceAccountIamMember.go index 2b6db823f1..b5dc903a0c 100644 --- a/sdk/go/google/iam/v1/serviceAccountIamMember.go +++ b/sdk/go/google/iam/v1/serviceAccountIamMember.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy that is attached to a ServiceAccount. Use this method to grant or revoke access to the service account. For example, you could grant a principal the ability to impersonate the service account. This method does not enable the service account to access other resources. To grant roles to a service account on a resource, follow these steps: 1. Call the resource's `getIamPolicy` method to get its current IAM policy. 2. Edit the policy so that it binds the service account to an IAM role for the resource. 3. Call the resource's `setIamPolicy` method to update its IAM policy. For detailed instructions, see [Manage access to project, folders, and organizations](https://cloud.google.com/iam/help/service-accounts/granting-access-to-service-accounts) or [Manage access to other resources](https://cloud.google.com/iam/help/access/manage-other-resources). @@ -134,6 +135,12 @@ func (i *ServiceAccountIamMember) ToServiceAccountIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountIamMemberOutput) } +func (i *ServiceAccountIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccountIamMember] { + return pulumix.Output[*ServiceAccountIamMember]{ + OutputState: i.ToServiceAccountIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceAccountIamMemberOutput struct{ *pulumi.OutputState } func (ServiceAccountIamMemberOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o ServiceAccountIamMemberOutput) ToServiceAccountIamMemberOutputWithContex return o } +func (o ServiceAccountIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccountIamMember] { + return pulumix.Output[*ServiceAccountIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceAccountIamMemberOutput) Condition() ConditionPtrOutput { return o.ApplyT(func(v *ServiceAccountIamMember) ConditionPtrOutput { return v.Condition }).(ConditionPtrOutput) diff --git a/sdk/go/google/iam/v1/serviceAccountIamPolicy.go b/sdk/go/google/iam/v1/serviceAccountIamPolicy.go index bc0c286020..5ae0fa8e1a 100644 --- a/sdk/go/google/iam/v1/serviceAccountIamPolicy.go +++ b/sdk/go/google/iam/v1/serviceAccountIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM policy that is attached to a ServiceAccount. Use this method to grant or revoke access to the service account. For example, you could grant a principal the ability to impersonate the service account. This method does not enable the service account to access other resources. To grant roles to a service account on a resource, follow these steps: 1. Call the resource's `getIamPolicy` method to get its current IAM policy. 2. Edit the policy so that it binds the service account to an IAM role for the resource. 3. Call the resource's `setIamPolicy` method to update its IAM policy. For detailed instructions, see [Manage access to project, folders, and organizations](https://cloud.google.com/iam/help/service-accounts/granting-access-to-service-accounts) or [Manage access to other resources](https://cloud.google.com/iam/help/access/manage-other-resources). @@ -131,6 +132,12 @@ func (i *ServiceAccountIamPolicy) ToServiceAccountIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountIamPolicyOutput) } +func (i *ServiceAccountIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccountIamPolicy] { + return pulumix.Output[*ServiceAccountIamPolicy]{ + OutputState: i.ToServiceAccountIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceAccountIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceAccountIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ServiceAccountIamPolicyOutput) ToServiceAccountIamPolicyOutputWithContex return o } +func (o ServiceAccountIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccountIamPolicy] { + return pulumix.Output[*ServiceAccountIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceAccountIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceAccountIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/iam/v1/workforcePool.go b/sdk/go/google/iam/v1/workforcePool.go index 41ad0c94cd..9975a1ab5f 100644 --- a/sdk/go/google/iam/v1/workforcePool.go +++ b/sdk/go/google/iam/v1/workforcePool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new WorkforcePool. You cannot reuse the name of a deleted pool until 30 days after deletion. @@ -134,6 +135,12 @@ func (i *WorkforcePool) ToWorkforcePoolOutputWithContext(ctx context.Context) Wo return pulumi.ToOutputWithContext(ctx, i).(WorkforcePoolOutput) } +func (i *WorkforcePool) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePool] { + return pulumix.Output[*WorkforcePool]{ + OutputState: i.ToWorkforcePoolOutputWithContext(ctx).OutputState, + } +} + type WorkforcePoolOutput struct{ *pulumi.OutputState } func (WorkforcePoolOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o WorkforcePoolOutput) ToWorkforcePoolOutputWithContext(ctx context.Contex return o } +func (o WorkforcePoolOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePool] { + return pulumix.Output[*WorkforcePool]{ + OutputState: o.OutputState, + } +} + // A user-specified description of the pool. Cannot exceed 256 characters. func (o WorkforcePoolOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *WorkforcePool) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/workforcePoolIamBinding.go b/sdk/go/google/iam/v1/workforcePoolIamBinding.go index 1e1e02f3aa..341c654e95 100644 --- a/sdk/go/google/iam/v1/workforcePoolIamBinding.go +++ b/sdk/go/google/iam/v1/workforcePoolIamBinding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets IAM policies on a WorkforcePool. @@ -134,6 +135,12 @@ func (i *WorkforcePoolIamBinding) ToWorkforcePoolIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(WorkforcePoolIamBindingOutput) } +func (i *WorkforcePoolIamBinding) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolIamBinding] { + return pulumix.Output[*WorkforcePoolIamBinding]{ + OutputState: i.ToWorkforcePoolIamBindingOutputWithContext(ctx).OutputState, + } +} + type WorkforcePoolIamBindingOutput struct{ *pulumi.OutputState } func (WorkforcePoolIamBindingOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o WorkforcePoolIamBindingOutput) ToWorkforcePoolIamBindingOutputWithContex return o } +func (o WorkforcePoolIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolIamBinding] { + return pulumix.Output[*WorkforcePoolIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o WorkforcePoolIamBindingOutput) Condition() ConditionPtrOutput { return o.ApplyT(func(v *WorkforcePoolIamBinding) ConditionPtrOutput { return v.Condition }).(ConditionPtrOutput) diff --git a/sdk/go/google/iam/v1/workforcePoolIamMember.go b/sdk/go/google/iam/v1/workforcePoolIamMember.go index 573e682294..444b2d0596 100644 --- a/sdk/go/google/iam/v1/workforcePoolIamMember.go +++ b/sdk/go/google/iam/v1/workforcePoolIamMember.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets IAM policies on a WorkforcePool. @@ -134,6 +135,12 @@ func (i *WorkforcePoolIamMember) ToWorkforcePoolIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(WorkforcePoolIamMemberOutput) } +func (i *WorkforcePoolIamMember) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolIamMember] { + return pulumix.Output[*WorkforcePoolIamMember]{ + OutputState: i.ToWorkforcePoolIamMemberOutputWithContext(ctx).OutputState, + } +} + type WorkforcePoolIamMemberOutput struct{ *pulumi.OutputState } func (WorkforcePoolIamMemberOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o WorkforcePoolIamMemberOutput) ToWorkforcePoolIamMemberOutputWithContext( return o } +func (o WorkforcePoolIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolIamMember] { + return pulumix.Output[*WorkforcePoolIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o WorkforcePoolIamMemberOutput) Condition() ConditionPtrOutput { return o.ApplyT(func(v *WorkforcePoolIamMember) ConditionPtrOutput { return v.Condition }).(ConditionPtrOutput) diff --git a/sdk/go/google/iam/v1/workforcePoolIamPolicy.go b/sdk/go/google/iam/v1/workforcePoolIamPolicy.go index bab7272d89..d5a02be43c 100644 --- a/sdk/go/google/iam/v1/workforcePoolIamPolicy.go +++ b/sdk/go/google/iam/v1/workforcePoolIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets IAM policies on a WorkforcePool. @@ -131,6 +132,12 @@ func (i *WorkforcePoolIamPolicy) ToWorkforcePoolIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(WorkforcePoolIamPolicyOutput) } +func (i *WorkforcePoolIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolIamPolicy] { + return pulumix.Output[*WorkforcePoolIamPolicy]{ + OutputState: i.ToWorkforcePoolIamPolicyOutputWithContext(ctx).OutputState, + } +} + type WorkforcePoolIamPolicyOutput struct{ *pulumi.OutputState } func (WorkforcePoolIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o WorkforcePoolIamPolicyOutput) ToWorkforcePoolIamPolicyOutputWithContext( return o } +func (o WorkforcePoolIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolIamPolicy] { + return pulumix.Output[*WorkforcePoolIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o WorkforcePoolIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *WorkforcePoolIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/iam/v1/workforcePoolKey.go b/sdk/go/google/iam/v1/workforcePoolKey.go index f8c528485e..9401855ca3 100644 --- a/sdk/go/google/iam/v1/workforcePoolKey.go +++ b/sdk/go/google/iam/v1/workforcePoolKey.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new WorkforcePoolProviderKey in a WorkforcePoolProvider. @@ -140,6 +141,12 @@ func (i *WorkforcePoolKey) ToWorkforcePoolKeyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(WorkforcePoolKeyOutput) } +func (i *WorkforcePoolKey) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolKey] { + return pulumix.Output[*WorkforcePoolKey]{ + OutputState: i.ToWorkforcePoolKeyOutputWithContext(ctx).OutputState, + } +} + type WorkforcePoolKeyOutput struct{ *pulumi.OutputState } func (WorkforcePoolKeyOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o WorkforcePoolKeyOutput) ToWorkforcePoolKeyOutputWithContext(ctx context. return o } +func (o WorkforcePoolKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolKey] { + return pulumix.Output[*WorkforcePoolKey]{ + OutputState: o.OutputState, + } +} + // The time after which the key will be permanently deleted and cannot be recovered. Note that the key may get purged before this time if the total limit of keys per provider is exceeded. func (o WorkforcePoolKeyOutput) ExpireTime() pulumi.StringOutput { return o.ApplyT(func(v *WorkforcePoolKey) pulumi.StringOutput { return v.ExpireTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/workforcePoolProvider.go b/sdk/go/google/iam/v1/workforcePoolProvider.go index 54af143e4d..a459129631 100644 --- a/sdk/go/google/iam/v1/workforcePoolProvider.go +++ b/sdk/go/google/iam/v1/workforcePoolProvider.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new WorkforcePoolProvider in a WorkforcePool. You cannot reuse the name of a deleted provider until 30 days after deletion. @@ -161,6 +162,12 @@ func (i *WorkforcePoolProvider) ToWorkforcePoolProviderOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(WorkforcePoolProviderOutput) } +func (i *WorkforcePoolProvider) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolProvider] { + return pulumix.Output[*WorkforcePoolProvider]{ + OutputState: i.ToWorkforcePoolProviderOutputWithContext(ctx).OutputState, + } +} + type WorkforcePoolProviderOutput struct{ *pulumi.OutputState } func (WorkforcePoolProviderOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o WorkforcePoolProviderOutput) ToWorkforcePoolProviderOutputWithContext(ct return o } +func (o WorkforcePoolProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkforcePoolProvider] { + return pulumix.Output[*WorkforcePoolProvider]{ + OutputState: o.OutputState, + } +} + // A [Common Expression Language](https://opensource.google/projects/cel) expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted. The expression must output a boolean representing whether to allow the federation. The following keywords may be referenced in the expressions: * `assertion`: JSON representing the authentication credential issued by the provider. * `google`: The Google attributes mapped from the assertion in the `attribute_mappings`. `google.profile_photo` and `google.display_name` are not supported. * `attribute`: The custom attributes mapped from the assertion in the `attribute_mappings`. The maximum length of the attribute condition expression is 4096 characters. If unspecified, all valid authentication credentials will be accepted. The following example shows how to only allow credentials with a mapped `google.groups` value of `admins`: ```"'admins' in google.groups"``` func (o WorkforcePoolProviderOutput) AttributeCondition() pulumi.StringOutput { return o.ApplyT(func(v *WorkforcePoolProvider) pulumi.StringOutput { return v.AttributeCondition }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/workloadIdentityPool.go b/sdk/go/google/iam/v1/workloadIdentityPool.go index 684485e356..f6d1afee15 100644 --- a/sdk/go/google/iam/v1/workloadIdentityPool.go +++ b/sdk/go/google/iam/v1/workloadIdentityPool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new WorkloadIdentityPool. You cannot reuse the name of a deleted pool until 30 days after deletion. @@ -131,6 +132,12 @@ func (i *WorkloadIdentityPool) ToWorkloadIdentityPoolOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(WorkloadIdentityPoolOutput) } +func (i *WorkloadIdentityPool) ToOutput(ctx context.Context) pulumix.Output[*WorkloadIdentityPool] { + return pulumix.Output[*WorkloadIdentityPool]{ + OutputState: i.ToWorkloadIdentityPoolOutputWithContext(ctx).OutputState, + } +} + type WorkloadIdentityPoolOutput struct{ *pulumi.OutputState } func (WorkloadIdentityPoolOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o WorkloadIdentityPoolOutput) ToWorkloadIdentityPoolOutputWithContext(ctx return o } +func (o WorkloadIdentityPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadIdentityPool] { + return pulumix.Output[*WorkloadIdentityPool]{ + OutputState: o.OutputState, + } +} + // A description of the pool. Cannot exceed 256 characters. func (o WorkloadIdentityPoolOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *WorkloadIdentityPool) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/iam/v1/workloadIdentityPoolKey.go b/sdk/go/google/iam/v1/workloadIdentityPoolKey.go index 69b3ac4454..6d83dee10d 100644 --- a/sdk/go/google/iam/v1/workloadIdentityPoolKey.go +++ b/sdk/go/google/iam/v1/workloadIdentityPoolKey.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new WorkloadIdentityPoolProviderKey in a WorkloadIdentityPoolProvider. @@ -144,6 +145,12 @@ func (i *WorkloadIdentityPoolKey) ToWorkloadIdentityPoolKeyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(WorkloadIdentityPoolKeyOutput) } +func (i *WorkloadIdentityPoolKey) ToOutput(ctx context.Context) pulumix.Output[*WorkloadIdentityPoolKey] { + return pulumix.Output[*WorkloadIdentityPoolKey]{ + OutputState: i.ToWorkloadIdentityPoolKeyOutputWithContext(ctx).OutputState, + } +} + type WorkloadIdentityPoolKeyOutput struct{ *pulumi.OutputState } func (WorkloadIdentityPoolKeyOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o WorkloadIdentityPoolKeyOutput) ToWorkloadIdentityPoolKeyOutputWithContex return o } +func (o WorkloadIdentityPoolKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkloadIdentityPoolKey] { + return pulumix.Output[*WorkloadIdentityPoolKey]{ + OutputState: o.OutputState, + } +} + // Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed. func (o WorkloadIdentityPoolKeyOutput) ExpireTime() pulumi.StringOutput { return o.ApplyT(func(v *WorkloadIdentityPoolKey) pulumi.StringOutput { return v.ExpireTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/iap/v1/brand.go b/sdk/go/google/iap/v1/brand.go index 23324f7e0e..a635b7361b 100644 --- a/sdk/go/google/iap/v1/brand.go +++ b/sdk/go/google/iap/v1/brand.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Constructs a new OAuth brand for the project if one does not exist. The created brand is "internal only", meaning that OAuth clients created under it only accept requests from users who belong to the same Google Workspace organization as the project. The brand is created in an un-reviewed status. NOTE: The "internal only" status can be manually changed in the Google Cloud Console. Requires that a brand does not already exist for the project, and that the specified support email is owned by the caller. @@ -112,6 +113,12 @@ func (i *Brand) ToBrandOutputWithContext(ctx context.Context) BrandOutput { return pulumi.ToOutputWithContext(ctx, i).(BrandOutput) } +func (i *Brand) ToOutput(ctx context.Context) pulumix.Output[*Brand] { + return pulumix.Output[*Brand]{ + OutputState: i.ToBrandOutputWithContext(ctx).OutputState, + } +} + type BrandOutput struct{ *pulumi.OutputState } func (BrandOutput) ElementType() reflect.Type { @@ -126,6 +133,12 @@ func (o BrandOutput) ToBrandOutputWithContext(ctx context.Context) BrandOutput { return o } +func (o BrandOutput) ToOutput(ctx context.Context) pulumix.Output[*Brand] { + return pulumix.Output[*Brand]{ + OutputState: o.OutputState, + } +} + // Application name displayed on OAuth consent screen. func (o BrandOutput) ApplicationTitle() pulumi.StringOutput { return o.ApplyT(func(v *Brand) pulumi.StringOutput { return v.ApplicationTitle }).(pulumi.StringOutput) diff --git a/sdk/go/google/iap/v1/destGroup.go b/sdk/go/google/iap/v1/destGroup.go index 1c1c613848..c2065b6035 100644 --- a/sdk/go/google/iap/v1/destGroup.go +++ b/sdk/go/google/iap/v1/destGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TunnelDestGroup. @@ -126,6 +127,12 @@ func (i *DestGroup) ToDestGroupOutputWithContext(ctx context.Context) DestGroupO return pulumi.ToOutputWithContext(ctx, i).(DestGroupOutput) } +func (i *DestGroup) ToOutput(ctx context.Context) pulumix.Output[*DestGroup] { + return pulumix.Output[*DestGroup]{ + OutputState: i.ToDestGroupOutputWithContext(ctx).OutputState, + } +} + type DestGroupOutput struct{ *pulumi.OutputState } func (DestGroupOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o DestGroupOutput) ToDestGroupOutputWithContext(ctx context.Context) DestG return o } +func (o DestGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*DestGroup] { + return pulumix.Output[*DestGroup]{ + OutputState: o.OutputState, + } +} + // Unordered list. List of CIDRs that this group applies to. func (o DestGroupOutput) Cidrs() pulumi.StringArrayOutput { return o.ApplyT(func(v *DestGroup) pulumi.StringArrayOutput { return v.Cidrs }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/iap/v1/getBrand.go b/sdk/go/google/iap/v1/getBrand.go index 971b199597..4129f820d5 100644 --- a/sdk/go/google/iap/v1/getBrand.go +++ b/sdk/go/google/iap/v1/getBrand.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the OAuth brand of the project. @@ -74,6 +75,12 @@ func (o LookupBrandResultOutput) ToLookupBrandResultOutputWithContext(ctx contex return o } +func (o LookupBrandResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBrandResult] { + return pulumix.Output[LookupBrandResult]{ + OutputState: o.OutputState, + } +} + // Application name displayed on OAuth consent screen. func (o LookupBrandResultOutput) ApplicationTitle() pulumi.StringOutput { return o.ApplyT(func(v LookupBrandResult) string { return v.ApplicationTitle }).(pulumi.StringOutput) diff --git a/sdk/go/google/iap/v1/getDestGroup.go b/sdk/go/google/iap/v1/getDestGroup.go index 4f6fd17894..f0e45a1e2d 100644 --- a/sdk/go/google/iap/v1/getDestGroup.go +++ b/sdk/go/google/iap/v1/getDestGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves an existing TunnelDestGroup. @@ -74,6 +75,12 @@ func (o LookupDestGroupResultOutput) ToLookupDestGroupResultOutputWithContext(ct return o } +func (o LookupDestGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDestGroupResult] { + return pulumix.Output[LookupDestGroupResult]{ + OutputState: o.OutputState, + } +} + // Unordered list. List of CIDRs that this group applies to. func (o LookupDestGroupResultOutput) Cidrs() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupDestGroupResult) []string { return v.Cidrs }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/iap/v1/getIdentityAwareProxyClient.go b/sdk/go/google/iap/v1/getIdentityAwareProxyClient.go index d0bfda8fef..e4542e62a2 100644 --- a/sdk/go/google/iap/v1/getIdentityAwareProxyClient.go +++ b/sdk/go/google/iap/v1/getIdentityAwareProxyClient.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP. @@ -74,6 +75,12 @@ func (o LookupIdentityAwareProxyClientResultOutput) ToLookupIdentityAwareProxyCl return o } +func (o LookupIdentityAwareProxyClientResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupIdentityAwareProxyClientResult] { + return pulumix.Output[LookupIdentityAwareProxyClientResult]{ + OutputState: o.OutputState, + } +} + // Human-friendly name given to the OAuth client. func (o LookupIdentityAwareProxyClientResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupIdentityAwareProxyClientResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/iap/v1/getV1IamPolicy.go b/sdk/go/google/iap/v1/getV1IamPolicy.go index e7471ed35f..80f40480fd 100644 --- a/sdk/go/google/iap/v1/getV1IamPolicy.go +++ b/sdk/go/google/iap/v1/getV1IamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for an Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api @@ -70,6 +71,12 @@ func (o LookupV1IamPolicyResultOutput) ToLookupV1IamPolicyResultOutputWithContex return o } +func (o LookupV1IamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupV1IamPolicyResult] { + return pulumix.Output[LookupV1IamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupV1IamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupV1IamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/iap/v1/identityAwareProxyClient.go b/sdk/go/google/iap/v1/identityAwareProxyClient.go index 0517bf5e1e..371d5ce3b8 100644 --- a/sdk/go/google/iap/v1/identityAwareProxyClient.go +++ b/sdk/go/google/iap/v1/identityAwareProxyClient.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned by IAP. Requires that the brand for the project exists and that it is set for internal-only use. @@ -112,6 +113,12 @@ func (i *IdentityAwareProxyClient) ToIdentityAwareProxyClientOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(IdentityAwareProxyClientOutput) } +func (i *IdentityAwareProxyClient) ToOutput(ctx context.Context) pulumix.Output[*IdentityAwareProxyClient] { + return pulumix.Output[*IdentityAwareProxyClient]{ + OutputState: i.ToIdentityAwareProxyClientOutputWithContext(ctx).OutputState, + } +} + type IdentityAwareProxyClientOutput struct{ *pulumi.OutputState } func (IdentityAwareProxyClientOutput) ElementType() reflect.Type { @@ -126,6 +133,12 @@ func (o IdentityAwareProxyClientOutput) ToIdentityAwareProxyClientOutputWithCont return o } +func (o IdentityAwareProxyClientOutput) ToOutput(ctx context.Context) pulumix.Output[*IdentityAwareProxyClient] { + return pulumix.Output[*IdentityAwareProxyClient]{ + OutputState: o.OutputState, + } +} + func (o IdentityAwareProxyClientOutput) BrandId() pulumi.StringOutput { return o.ApplyT(func(v *IdentityAwareProxyClient) pulumi.StringOutput { return v.BrandId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/iap/v1/pulumiTypes.go b/sdk/go/google/iap/v1/pulumiTypes.go index 8f730a32b2..ca5c6aaf06 100644 --- a/sdk/go/google/iap/v1/pulumiTypes.go +++ b/sdk/go/google/iap/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/iap/v1/v1iamBinding.go b/sdk/go/google/iap/v1/v1iamBinding.go index 0c98a97750..c9be410b9d 100644 --- a/sdk/go/google/iap/v1/v1iamBinding.go +++ b/sdk/go/google/iap/v1/v1iamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api @@ -135,6 +136,12 @@ func (i *V1IamBinding) ToV1IamBindingOutputWithContext(ctx context.Context) V1Ia return pulumi.ToOutputWithContext(ctx, i).(V1IamBindingOutput) } +func (i *V1IamBinding) ToOutput(ctx context.Context) pulumix.Output[*V1IamBinding] { + return pulumix.Output[*V1IamBinding]{ + OutputState: i.ToV1IamBindingOutputWithContext(ctx).OutputState, + } +} + type V1IamBindingOutput struct{ *pulumi.OutputState } func (V1IamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o V1IamBindingOutput) ToV1IamBindingOutputWithContext(ctx context.Context) return o } +func (o V1IamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*V1IamBinding] { + return pulumix.Output[*V1IamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o V1IamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *V1IamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/iap/v1/v1iamMember.go b/sdk/go/google/iap/v1/v1iamMember.go index 6c1bb1d2bc..5dfe769b80 100644 --- a/sdk/go/google/iap/v1/v1iamMember.go +++ b/sdk/go/google/iap/v1/v1iamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api @@ -135,6 +136,12 @@ func (i *V1IamMember) ToV1IamMemberOutputWithContext(ctx context.Context) V1IamM return pulumi.ToOutputWithContext(ctx, i).(V1IamMemberOutput) } +func (i *V1IamMember) ToOutput(ctx context.Context) pulumix.Output[*V1IamMember] { + return pulumix.Output[*V1IamMember]{ + OutputState: i.ToV1IamMemberOutputWithContext(ctx).OutputState, + } +} + type V1IamMemberOutput struct{ *pulumi.OutputState } func (V1IamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o V1IamMemberOutput) ToV1IamMemberOutputWithContext(ctx context.Context) V return o } +func (o V1IamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*V1IamMember] { + return pulumix.Output[*V1IamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o V1IamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *V1IamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/iap/v1/v1iamPolicy.go b/sdk/go/google/iap/v1/v1iamPolicy.go index 49f74cdef5..e6180927c5 100644 --- a/sdk/go/google/iap/v1/v1iamPolicy.go +++ b/sdk/go/google/iap/v1/v1iamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api @@ -117,6 +118,12 @@ func (i *V1IamPolicy) ToV1IamPolicyOutputWithContext(ctx context.Context) V1IamP return pulumi.ToOutputWithContext(ctx, i).(V1IamPolicyOutput) } +func (i *V1IamPolicy) ToOutput(ctx context.Context) pulumix.Output[*V1IamPolicy] { + return pulumix.Output[*V1IamPolicy]{ + OutputState: i.ToV1IamPolicyOutputWithContext(ctx).OutputState, + } +} + type V1IamPolicyOutput struct{ *pulumi.OutputState } func (V1IamPolicyOutput) ElementType() reflect.Type { @@ -131,6 +138,12 @@ func (o V1IamPolicyOutput) ToV1IamPolicyOutputWithContext(ctx context.Context) V return o } +func (o V1IamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*V1IamPolicy] { + return pulumix.Output[*V1IamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o V1IamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *V1IamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/iap/v1beta1/getV1beta1IamPolicy.go b/sdk/go/google/iap/v1beta1/getV1beta1IamPolicy.go index d48a386bdf..e991b4f2dc 100644 --- a/sdk/go/google/iap/v1beta1/getV1beta1IamPolicy.go +++ b/sdk/go/google/iap/v1beta1/getV1beta1IamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for an Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api @@ -70,6 +71,12 @@ func (o LookupV1beta1IamPolicyResultOutput) ToLookupV1beta1IamPolicyResultOutput return o } +func (o LookupV1beta1IamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupV1beta1IamPolicyResult] { + return pulumix.Output[LookupV1beta1IamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupV1beta1IamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupV1beta1IamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/iap/v1beta1/pulumiTypes.go b/sdk/go/google/iap/v1beta1/pulumiTypes.go index 32130e0b96..995a70e533 100644 --- a/sdk/go/google/iap/v1beta1/pulumiTypes.go +++ b/sdk/go/google/iap/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/iap/v1beta1/v1beta1IamBinding.go b/sdk/go/google/iap/v1beta1/v1beta1IamBinding.go index e1081f208f..bfd5281065 100644 --- a/sdk/go/google/iap/v1beta1/v1beta1IamBinding.go +++ b/sdk/go/google/iap/v1beta1/v1beta1IamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api @@ -135,6 +136,12 @@ func (i *V1beta1IamBinding) ToV1beta1IamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(V1beta1IamBindingOutput) } +func (i *V1beta1IamBinding) ToOutput(ctx context.Context) pulumix.Output[*V1beta1IamBinding] { + return pulumix.Output[*V1beta1IamBinding]{ + OutputState: i.ToV1beta1IamBindingOutputWithContext(ctx).OutputState, + } +} + type V1beta1IamBindingOutput struct{ *pulumi.OutputState } func (V1beta1IamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o V1beta1IamBindingOutput) ToV1beta1IamBindingOutputWithContext(ctx contex return o } +func (o V1beta1IamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*V1beta1IamBinding] { + return pulumix.Output[*V1beta1IamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o V1beta1IamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *V1beta1IamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/iap/v1beta1/v1beta1IamMember.go b/sdk/go/google/iap/v1beta1/v1beta1IamMember.go index 8c069c4950..ece73d4ca0 100644 --- a/sdk/go/google/iap/v1beta1/v1beta1IamMember.go +++ b/sdk/go/google/iap/v1beta1/v1beta1IamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api @@ -135,6 +136,12 @@ func (i *V1beta1IamMember) ToV1beta1IamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(V1beta1IamMemberOutput) } +func (i *V1beta1IamMember) ToOutput(ctx context.Context) pulumix.Output[*V1beta1IamMember] { + return pulumix.Output[*V1beta1IamMember]{ + OutputState: i.ToV1beta1IamMemberOutputWithContext(ctx).OutputState, + } +} + type V1beta1IamMemberOutput struct{ *pulumi.OutputState } func (V1beta1IamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o V1beta1IamMemberOutput) ToV1beta1IamMemberOutputWithContext(ctx context. return o } +func (o V1beta1IamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*V1beta1IamMember] { + return pulumix.Output[*V1beta1IamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o V1beta1IamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *V1beta1IamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/iap/v1beta1/v1beta1IamPolicy.go b/sdk/go/google/iap/v1beta1/v1beta1IamPolicy.go index 9548fce601..b4c89d768e 100644 --- a/sdk/go/google/iap/v1beta1/v1beta1IamPolicy.go +++ b/sdk/go/google/iap/v1beta1/v1beta1IamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api @@ -117,6 +118,12 @@ func (i *V1beta1IamPolicy) ToV1beta1IamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(V1beta1IamPolicyOutput) } +func (i *V1beta1IamPolicy) ToOutput(ctx context.Context) pulumix.Output[*V1beta1IamPolicy] { + return pulumix.Output[*V1beta1IamPolicy]{ + OutputState: i.ToV1beta1IamPolicyOutputWithContext(ctx).OutputState, + } +} + type V1beta1IamPolicyOutput struct{ *pulumi.OutputState } func (V1beta1IamPolicyOutput) ElementType() reflect.Type { @@ -131,6 +138,12 @@ func (o V1beta1IamPolicyOutput) ToV1beta1IamPolicyOutputWithContext(ctx context. return o } +func (o V1beta1IamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*V1beta1IamPolicy] { + return pulumix.Output[*V1beta1IamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o V1beta1IamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *V1beta1IamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/identitytoolkit/v2/defaultSupportedIdpConfig.go b/sdk/go/google/identitytoolkit/v2/defaultSupportedIdpConfig.go index 2402b61bdd..1c4905efa3 100644 --- a/sdk/go/google/identitytoolkit/v2/defaultSupportedIdpConfig.go +++ b/sdk/go/google/identitytoolkit/v2/defaultSupportedIdpConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a default supported Idp configuration for an Identity Toolkit project. @@ -137,6 +138,12 @@ func (i *DefaultSupportedIdpConfig) ToDefaultSupportedIdpConfigOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DefaultSupportedIdpConfigOutput) } +func (i *DefaultSupportedIdpConfig) ToOutput(ctx context.Context) pulumix.Output[*DefaultSupportedIdpConfig] { + return pulumix.Output[*DefaultSupportedIdpConfig]{ + OutputState: i.ToDefaultSupportedIdpConfigOutputWithContext(ctx).OutputState, + } +} + type DefaultSupportedIdpConfigOutput struct{ *pulumi.OutputState } func (DefaultSupportedIdpConfigOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o DefaultSupportedIdpConfigOutput) ToDefaultSupportedIdpConfigOutputWithCo return o } +func (o DefaultSupportedIdpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultSupportedIdpConfig] { + return pulumix.Output[*DefaultSupportedIdpConfig]{ + OutputState: o.OutputState, + } +} + // Additional config for Apple-based projects. func (o DefaultSupportedIdpConfigOutput) AppleSignInConfig() GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponseOutput { return o.ApplyT(func(v *DefaultSupportedIdpConfig) GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponseOutput { diff --git a/sdk/go/google/identitytoolkit/v2/getDefaultSupportedIdpConfig.go b/sdk/go/google/identitytoolkit/v2/getDefaultSupportedIdpConfig.go index 3b5468bf7d..d075ff8b98 100644 --- a/sdk/go/google/identitytoolkit/v2/getDefaultSupportedIdpConfig.go +++ b/sdk/go/google/identitytoolkit/v2/getDefaultSupportedIdpConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve a default supported Idp configuration for an Identity Toolkit project. @@ -78,6 +79,12 @@ func (o LookupDefaultSupportedIdpConfigResultOutput) ToLookupDefaultSupportedIdp return o } +func (o LookupDefaultSupportedIdpConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDefaultSupportedIdpConfigResult] { + return pulumix.Output[LookupDefaultSupportedIdpConfigResult]{ + OutputState: o.OutputState, + } +} + // Additional config for Apple-based projects. func (o LookupDefaultSupportedIdpConfigResultOutput) AppleSignInConfig() GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponseOutput { return o.ApplyT(func(v LookupDefaultSupportedIdpConfigResult) GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponse { diff --git a/sdk/go/google/identitytoolkit/v2/getInboundSamlConfig.go b/sdk/go/google/identitytoolkit/v2/getInboundSamlConfig.go index 00fae03e62..ffde4ceb42 100644 --- a/sdk/go/google/identitytoolkit/v2/getInboundSamlConfig.go +++ b/sdk/go/google/identitytoolkit/v2/getInboundSamlConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve an inbound SAML configuration for an Identity Toolkit project. @@ -78,6 +79,12 @@ func (o LookupInboundSamlConfigResultOutput) ToLookupInboundSamlConfigResultOutp return o } +func (o LookupInboundSamlConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInboundSamlConfigResult] { + return pulumix.Output[LookupInboundSamlConfigResult]{ + OutputState: o.OutputState, + } +} + // The config's display name set by developers. func (o LookupInboundSamlConfigResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupInboundSamlConfigResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/identitytoolkit/v2/getOauthIdpConfig.go b/sdk/go/google/identitytoolkit/v2/getOauthIdpConfig.go index b609e12b72..7bf24c5ee7 100644 --- a/sdk/go/google/identitytoolkit/v2/getOauthIdpConfig.go +++ b/sdk/go/google/identitytoolkit/v2/getOauthIdpConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve an Oidc Idp configuration for an Identity Toolkit project. @@ -82,6 +83,12 @@ func (o LookupOauthIdpConfigResultOutput) ToLookupOauthIdpConfigResultOutputWith return o } +func (o LookupOauthIdpConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOauthIdpConfigResult] { + return pulumix.Output[LookupOauthIdpConfigResult]{ + OutputState: o.OutputState, + } +} + // The client id of an OAuth client. func (o LookupOauthIdpConfigResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupOauthIdpConfigResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/google/identitytoolkit/v2/getTenant.go b/sdk/go/google/identitytoolkit/v2/getTenant.go index 9364bc3ba9..6a3e650931 100644 --- a/sdk/go/google/identitytoolkit/v2/getTenant.go +++ b/sdk/go/google/identitytoolkit/v2/getTenant.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a tenant. Requires read permission on the Tenant resource. @@ -100,6 +101,12 @@ func (o LookupTenantResultOutput) ToLookupTenantResultOutputWithContext(ctx cont return o } +func (o LookupTenantResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTenantResult] { + return pulumix.Output[LookupTenantResult]{ + OutputState: o.OutputState, + } +} + // Whether to allow email/password user authentication. func (o LookupTenantResultOutput) AllowPasswordSignup() pulumi.BoolOutput { return o.ApplyT(func(v LookupTenantResult) bool { return v.AllowPasswordSignup }).(pulumi.BoolOutput) diff --git a/sdk/go/google/identitytoolkit/v2/getTenantIamPolicy.go b/sdk/go/google/identitytoolkit/v2/getTenantIamPolicy.go index b5526b1bd7..9303ba27c4 100644 --- a/sdk/go/google/identitytoolkit/v2/getTenantIamPolicy.go +++ b/sdk/go/google/identitytoolkit/v2/getTenantIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. An error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Caller must have the right Google IAM permission on the resource. @@ -74,6 +75,12 @@ func (o LookupTenantIamPolicyResultOutput) ToLookupTenantIamPolicyResultOutputWi return o } +func (o LookupTenantIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTenantIamPolicyResult] { + return pulumix.Output[LookupTenantIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupTenantIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupTenantIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/identitytoolkit/v2/inboundSamlConfig.go b/sdk/go/google/identitytoolkit/v2/inboundSamlConfig.go index 22eef58c3b..8605c346b3 100644 --- a/sdk/go/google/identitytoolkit/v2/inboundSamlConfig.go +++ b/sdk/go/google/identitytoolkit/v2/inboundSamlConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an inbound SAML configuration for an Identity Toolkit project. @@ -137,6 +138,12 @@ func (i *InboundSamlConfig) ToInboundSamlConfigOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InboundSamlConfigOutput) } +func (i *InboundSamlConfig) ToOutput(ctx context.Context) pulumix.Output[*InboundSamlConfig] { + return pulumix.Output[*InboundSamlConfig]{ + OutputState: i.ToInboundSamlConfigOutputWithContext(ctx).OutputState, + } +} + type InboundSamlConfigOutput struct{ *pulumi.OutputState } func (InboundSamlConfigOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o InboundSamlConfigOutput) ToInboundSamlConfigOutputWithContext(ctx contex return o } +func (o InboundSamlConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*InboundSamlConfig] { + return pulumix.Output[*InboundSamlConfig]{ + OutputState: o.OutputState, + } +} + // The config's display name set by developers. func (o InboundSamlConfigOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *InboundSamlConfig) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/identitytoolkit/v2/oauthIdpConfig.go b/sdk/go/google/identitytoolkit/v2/oauthIdpConfig.go index 51c6d212ae..48d98f5ec9 100644 --- a/sdk/go/google/identitytoolkit/v2/oauthIdpConfig.go +++ b/sdk/go/google/identitytoolkit/v2/oauthIdpConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an Oidc Idp configuration for an Identity Toolkit project. @@ -149,6 +150,12 @@ func (i *OauthIdpConfig) ToOauthIdpConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OauthIdpConfigOutput) } +func (i *OauthIdpConfig) ToOutput(ctx context.Context) pulumix.Output[*OauthIdpConfig] { + return pulumix.Output[*OauthIdpConfig]{ + OutputState: i.ToOauthIdpConfigOutputWithContext(ctx).OutputState, + } +} + type OauthIdpConfigOutput struct{ *pulumi.OutputState } func (OauthIdpConfigOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o OauthIdpConfigOutput) ToOauthIdpConfigOutputWithContext(ctx context.Cont return o } +func (o OauthIdpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*OauthIdpConfig] { + return pulumix.Output[*OauthIdpConfig]{ + OutputState: o.OutputState, + } +} + // The client id of an OAuth client. func (o OauthIdpConfigOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *OauthIdpConfig) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/google/identitytoolkit/v2/pulumiEnums.go b/sdk/go/google/identitytoolkit/v2/pulumiEnums.go index 21a66121e1..6d98fada43 100644 --- a/sdk/go/google/identitytoolkit/v2/pulumiEnums.go +++ b/sdk/go/google/identitytoolkit/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem string @@ -79,6 +80,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersIt }).(GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -114,6 +121,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersIt return o } +func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem) GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem { if v != nil { @@ -176,6 +189,12 @@ func (in *googleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProviders return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemPtrOutput) } +func (in *googleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem]{ + OutputState: in.ToGoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArrayInput is an input type that accepts GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArray and GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArrayOutput values. // You can construct a concrete instance of `GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArrayInput` via: // @@ -201,6 +220,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersIt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArrayOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArrayOutputWithContext(ctx).OutputState, + } +} + type GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArrayOutput struct{ *pulumi.OutputState } func (GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArrayOutput) ElementType() reflect.Type { @@ -215,6 +240,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersIt return o } +func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem)[vs[1].(int)] @@ -295,6 +326,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStateOutput) ToGoo }).(GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStatePtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigState] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -330,6 +367,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStatePtrOutput) To return o } +func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigState] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStatePtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStateOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigState) GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigState { if v != nil { @@ -392,6 +435,12 @@ func (in *googleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStatePtr) ToGoog return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStatePtrOutput) } +func (in *googleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigState] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigState]{ + OutputState: in.ToGoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigStatePtrOutputWithContext(ctx).OutputState, + } +} + // Which enforcement mode to use for the password policy. type GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementState string @@ -464,6 +513,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnfor }).(GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementStatePtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementState] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -499,6 +554,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnfor return o } +func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementState] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementStatePtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementStateOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementState) GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementState { if v != nil { @@ -561,6 +622,12 @@ func (in *googleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnf return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementStatePtrOutput) } +func (in *googleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementState] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementState]{ + OutputState: in.ToGoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPasswordPolicyEnforcementStatePtrOutputWithContext(ctx).OutputState, + } +} + // Describes the state of the MultiFactor Authentication type. type GoogleCloudIdentitytoolkitAdminV2ProviderConfigState string @@ -635,6 +702,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigStateOutput) ToGoogleClou }).(GoogleCloudIdentitytoolkitAdminV2ProviderConfigStatePtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ProviderConfigState] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ProviderConfigState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -670,6 +743,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigStatePtrOutput) ToGoogleC return o } +func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ProviderConfigState] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ProviderConfigState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigStatePtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2ProviderConfigStateOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2ProviderConfigState) GoogleCloudIdentitytoolkitAdminV2ProviderConfigState { if v != nil { @@ -732,6 +811,12 @@ func (in *googleCloudIdentitytoolkitAdminV2ProviderConfigStatePtr) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIdentitytoolkitAdminV2ProviderConfigStatePtrOutput) } +func (in *googleCloudIdentitytoolkitAdminV2ProviderConfigStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ProviderConfigState] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ProviderConfigState]{ + OutputState: in.ToGoogleCloudIdentitytoolkitAdminV2ProviderConfigStatePtrOutputWithContext(ctx).OutputState, + } +} + // The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all related user flows protected by reCAPTCHA. type GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementState string @@ -806,6 +891,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcement }).(GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementStatePtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementState] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -841,6 +932,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcement return o } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementState] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementStatePtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementStateOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementState) GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementState { if v != nil { @@ -903,6 +1000,12 @@ func (in *googleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforceme return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementStatePtrOutput) } +func (in *googleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementState] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementState]{ + OutputState: in.ToGoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementStatePtrOutputWithContext(ctx).OutputState, + } +} + // The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score]. type GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction string @@ -973,6 +1076,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionOutput) ToGoo }).(GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1008,6 +1117,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionPtrOutput) To return o } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction) GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction { if v != nil { @@ -1070,6 +1185,12 @@ func (in *googleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionPtr) ToGoog return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionPtrOutput) } +func (in *googleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction]{ + OutputState: in.ToGoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -1144,6 +1265,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1179,6 +1306,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -1241,6 +1374,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemInput)(nil)).Elem(), GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem("PROVIDER_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemPtrInput)(nil)).Elem(), GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem("PROVIDER_UNSPECIFIED")) diff --git a/sdk/go/google/identitytoolkit/v2/pulumiTypes.go b/sdk/go/google/identitytoolkit/v2/pulumiTypes.go index 6bc1b9f853..085cc02f2a 100644 --- a/sdk/go/google/identitytoolkit/v2/pulumiTypes.go +++ b/sdk/go/google/identitytoolkit/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2AllowByDefaultArgs) ToGoogleCloudIdenti return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2AllowByDefaultOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2AllowByDefaultArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowByDefault] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowByDefault]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2AllowByDefaultOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2AllowByDefaultArgs) ToGoogleCloudIdentitytoolkitAdminV2AllowByDefaultPtrOutput() GoogleCloudIdentitytoolkitAdminV2AllowByDefaultPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2AllowByDefaultPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *googleCloudIdentitytoolkitAdminV2AllowByDefaultPtrType) ToGoogleCloudId return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2AllowByDefaultPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2AllowByDefaultPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AllowByDefault] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AllowByDefault]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2AllowByDefaultPtrOutputWithContext(ctx).OutputState, + } +} + // Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. type GoogleCloudIdentitytoolkitAdminV2AllowByDefaultOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2AllowByDefaultOutput) ToGoogleCloudIden }).(GoogleCloudIdentitytoolkitAdminV2AllowByDefaultPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2AllowByDefaultOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowByDefault] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowByDefault]{ + OutputState: o.OutputState, + } +} + // Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json func (o GoogleCloudIdentitytoolkitAdminV2AllowByDefaultOutput) DisallowedRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2AllowByDefault) []string { return v.DisallowedRegions }).(pulumi.StringArrayOutput) @@ -133,6 +152,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2AllowByDefaultPtrOutput) ToGoogleCloudI return o } +func (o GoogleCloudIdentitytoolkitAdminV2AllowByDefaultPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AllowByDefault] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AllowByDefault]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2AllowByDefaultPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2AllowByDefaultOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2AllowByDefault) GoogleCloudIdentitytoolkitAdminV2AllowByDefault { if v != nil { @@ -174,6 +199,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2AllowByDefaultResponseOutput) ToGoogleC return o } +func (o GoogleCloudIdentitytoolkitAdminV2AllowByDefaultResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowByDefaultResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowByDefaultResponse]{ + OutputState: o.OutputState, + } +} + // Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json func (o GoogleCloudIdentitytoolkitAdminV2AllowByDefaultResponseOutput) DisallowedRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2AllowByDefaultResponse) []string { return v.DisallowedRegions }).(pulumi.StringArrayOutput) @@ -214,6 +245,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyArgs) ToGoogleCloudIdentit return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowlistOnly] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowlistOnly]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2AllowlistOnlyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyArgs) ToGoogleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrOutput() GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrOutputWithContext(context.Background()) } @@ -255,6 +292,12 @@ func (i *googleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrType) ToGoogleCloudIde return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AllowlistOnly] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AllowlistOnly]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrOutputWithContext(ctx).OutputState, + } +} + // Defines a policy of only allowing regions by explicitly adding them to an allowlist. type GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyOutput struct{ *pulumi.OutputState } @@ -280,6 +323,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyOutput) ToGoogleCloudIdent }).(GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowlistOnly] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowlistOnly]{ + OutputState: o.OutputState, + } +} + // Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json func (o GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyOutput) AllowedRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2AllowlistOnly) []string { return v.AllowedRegions }).(pulumi.StringArrayOutput) @@ -299,6 +348,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrOutput) ToGoogleCloudId return o } +func (o GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AllowlistOnly] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AllowlistOnly]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2AllowlistOnly) GoogleCloudIdentitytoolkitAdminV2AllowlistOnly { if v != nil { @@ -340,6 +395,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyResponseOutput) ToGoogleCl return o } +func (o GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyResponse]{ + OutputState: o.OutputState, + } +} + // Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json func (o GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyResponseOutput) AllowedRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2AllowlistOnlyResponse) []string { return v.AllowedRegions }).(pulumi.StringArrayOutput) @@ -382,6 +443,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs) ToGoogleCloudIde return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2AppleSignInConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrOutputWithContext(context.Background()) } @@ -423,6 +490,12 @@ func (i *googleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Additional config for SignInWithApple. type GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigOutput struct{ *pulumi.OutputState } @@ -448,6 +521,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigOutput) ToGoogleCloudI }).(GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig]{ + OutputState: o.OutputState, + } +} + // A list of Bundle ID's usable by this project func (o GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigOutput) BundleIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig) []string { return v.BundleIds }).(pulumi.StringArrayOutput) @@ -473,6 +552,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrOutput) ToGoogleClo return o } +func (o GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig) GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig { if v != nil { @@ -524,6 +609,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponseOutput) ToGoog return o } +func (o GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of Bundle ID's usable by this project func (o GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponseOutput) BundleIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponse) []string { return v.BundleIds }).(pulumi.StringArrayOutput) @@ -570,6 +661,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrOutputWithContext(context.Background()) } @@ -611,6 +708,12 @@ func (i *googleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Options related to how clients making requests on behalf of a tenant should be configured. type GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigOutput struct{ *pulumi.OutputState } @@ -636,6 +739,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigOutput) ToGoogleC }).(GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig]{ + OutputState: o.OutputState, + } +} + // Configuration related to restricting a user's ability to affect their account. func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigOutput) Permissions() GoogleCloudIdentitytoolkitAdminV2ClientPermissionsPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig) *GoogleCloudIdentitytoolkitAdminV2ClientPermissions { @@ -657,6 +766,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrOutput) ToGoog return o } +func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig) GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig { if v != nil { @@ -698,6 +813,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigResponseOutput) T return o } +func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration related to restricting a user's ability to affect their account. func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigResponseOutput) Permissions() GoogleCloudIdentitytoolkitAdminV2ClientPermissionsResponseOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigResponse) GoogleCloudIdentitytoolkitAdminV2ClientPermissionsResponse { @@ -744,6 +865,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2ClientPermissionsArgs) ToGoogleCloudIde return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2ClientPermissionsOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2ClientPermissionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissions] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissions]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2ClientPermissionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2ClientPermissionsArgs) ToGoogleCloudIdentitytoolkitAdminV2ClientPermissionsPtrOutput() GoogleCloudIdentitytoolkitAdminV2ClientPermissionsPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2ClientPermissionsPtrOutputWithContext(context.Background()) } @@ -785,6 +912,12 @@ func (i *googleCloudIdentitytoolkitAdminV2ClientPermissionsPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2ClientPermissionsPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2ClientPermissionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ClientPermissions] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ClientPermissions]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2ClientPermissionsPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration related to restricting a user's ability to affect their account. type GoogleCloudIdentitytoolkitAdminV2ClientPermissionsOutput struct{ *pulumi.OutputState } @@ -810,6 +943,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionsOutput) ToGoogleCloudI }).(GoogleCloudIdentitytoolkitAdminV2ClientPermissionsPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissions] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissions]{ + OutputState: o.OutputState, + } +} + // When true, end users cannot delete their account on the associated project through any of our API methods func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionsOutput) DisabledUserDeletion() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2ClientPermissions) *bool { return v.DisabledUserDeletion }).(pulumi.BoolPtrOutput) @@ -834,6 +973,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionsPtrOutput) ToGoogleClo return o } +func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ClientPermissions] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2ClientPermissions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionsPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2ClientPermissionsOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2ClientPermissions) GoogleCloudIdentitytoolkitAdminV2ClientPermissions { if v != nil { @@ -887,6 +1032,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionsResponseOutput) ToGoog return o } +func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissionsResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ClientPermissionsResponse]{ + OutputState: o.OutputState, + } +} + // When true, end users cannot delete their account on the associated project through any of our API methods func (o GoogleCloudIdentitytoolkitAdminV2ClientPermissionsResponseOutput) DisabledUserDeletion() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2ClientPermissionsResponse) bool { return v.DisabledUserDeletion }).(pulumi.BoolOutput) @@ -940,6 +1091,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigArgs) ToGoogleCloudIdenti return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2CodeFlowConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrOutputWithContext(context.Background()) } @@ -981,6 +1138,12 @@ func (i *googleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrType) ToGoogleCloudId return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Additional config for Apple for code flow. type GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigOutput struct{ *pulumi.OutputState } @@ -1006,6 +1169,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigOutput) ToGoogleCloudIden }).(GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig]{ + OutputState: o.OutputState, + } +} + // Key ID for the private key. func (o GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigOutput) KeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig) *string { return v.KeyId }).(pulumi.StringPtrOutput) @@ -1035,6 +1204,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrOutput) ToGoogleCloudI return o } +func (o GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig) GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig { if v != nil { @@ -1100,6 +1275,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponseOutput) ToGoogleC return o } +func (o GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponse]{ + OutputState: o.OutputState, + } +} + // Key ID for the private key. func (o GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponseOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponse) string { return v.KeyId }).(pulumi.StringOutput) @@ -1170,6 +1351,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsArgs) ToGoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrOutput() GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrOutputWithContext(context.Background()) } @@ -1211,6 +1398,12 @@ func (i *googleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Custom strength options to enforce on user passwords. type GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsOutput struct{ *pulumi.OutputState } @@ -1236,6 +1429,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsOutput) ToGoogleCl }).(GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions]{ + OutputState: o.OutputState, + } +} + // The password must contain a lower case character. func (o GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsOutput) ContainsLowercaseCharacter() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions) *bool { @@ -1288,6 +1487,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrOutput) ToGoogl return o } +func (o GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions) GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions { if v != nil { @@ -1389,6 +1594,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsResponseOutput) To return o } +func (o GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The password must contain a lower case character. func (o GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsResponseOutput) ContainsLowercaseCharacter() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsResponse) bool { @@ -1462,6 +1673,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigArgs) ToGoogleCloudId return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrOutputWithContext(context.Background()) } @@ -1503,6 +1720,12 @@ func (i *googleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for settings related to email privacy and public visibility. Settings in this config protect against email enumeration, but may make some trade-offs in user-friendliness. type GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigOutput struct{ *pulumi.OutputState } @@ -1528,6 +1751,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigOutput) ToGoogleCloud }).(GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig]{ + OutputState: o.OutputState, + } +} + // Migrates the project to a state of improved email privacy. For example certain error codes are more generic to avoid giving away information on whether the account exists. In addition, this disables certain features that as a side-effect allow user enumeration. Enabling this toggle disables the fetchSignInMethodsForEmail functionality and changing the user's email to an unverified email. It is recommended to remove dependence on this functionality and enable this toggle to improve user privacy. func (o GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigOutput) EnableImprovedEmailPrivacy() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig) *bool { return v.EnableImprovedEmailPrivacy }).(pulumi.BoolPtrOutput) @@ -1547,6 +1776,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrOutput) ToGoogleCl return o } +func (o GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig) GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig { if v != nil { @@ -1588,6 +1823,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigResponseOutput) ToGoo return o } +func (o GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Migrates the project to a state of improved email privacy. For example certain error codes are more generic to avoid giving away information on whether the account exists. In addition, this disables certain features that as a side-effect allow user enumeration. Enabling this toggle disables the fetchSignInMethodsForEmail functionality and changing the user's email to an unverified email. It is recommended to remove dependence on this functionality and enable this toggle to improve user privacy. func (o GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigResponseOutput) EnableImprovedEmailPrivacy() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigResponse) bool { @@ -1624,6 +1865,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2HashConfigResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudIdentitytoolkitAdminV2HashConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2HashConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2HashConfigResponse]{ + OutputState: o.OutputState, + } +} + // Different password hash algorithms used in Identity Toolkit. func (o GoogleCloudIdentitytoolkitAdminV2HashConfigResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2HashConfigResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -1684,6 +1931,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2IdpCertificateArgs) ToGoogleCloudIdenti return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2IdpCertificateOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2IdpCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpCertificate] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpCertificate]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2IdpCertificateOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIdentitytoolkitAdminV2IdpCertificateArrayInput is an input type that accepts GoogleCloudIdentitytoolkitAdminV2IdpCertificateArray and GoogleCloudIdentitytoolkitAdminV2IdpCertificateArrayOutput values. // You can construct a concrete instance of `GoogleCloudIdentitytoolkitAdminV2IdpCertificateArrayInput` via: // @@ -1709,6 +1962,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2IdpCertificateArray) ToGoogleCloudIdent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2IdpCertificateArrayOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2IdpCertificateArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2IdpCertificate] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2IdpCertificate]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2IdpCertificateArrayOutputWithContext(ctx).OutputState, + } +} + // The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. type GoogleCloudIdentitytoolkitAdminV2IdpCertificateOutput struct{ *pulumi.OutputState } @@ -1724,6 +1983,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateOutput) ToGoogleCloudIden return o } +func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpCertificate] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpCertificate]{ + OutputState: o.OutputState, + } +} + // The x509 certificate func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateOutput) X509Certificate() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2IdpCertificate) *string { return v.X509Certificate }).(pulumi.StringPtrOutput) @@ -1743,6 +2008,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateArrayOutput) ToGoogleClou return o } +func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2IdpCertificate] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2IdpCertificate]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2IdpCertificateOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2IdpCertificate { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2IdpCertificate)[vs[1].(int)] @@ -1770,6 +2041,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponseOutput) ToGoogleC return o } +func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponse]{ + OutputState: o.OutputState, + } +} + // The x509 certificate func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponseOutput) X509Certificate() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponse) string { return v.X509Certificate }).(pulumi.StringOutput) @@ -1789,6 +2066,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponseArrayOutput) ToGo return o } +func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponse] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponse { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponse)[vs[1].(int)] @@ -1842,6 +2125,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2IdpConfigArgs) ToGoogleCloudIdentitytoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2IdpConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2IdpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2IdpConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2IdpConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2IdpConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2IdpConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2IdpConfigPtrOutputWithContext(context.Background()) } @@ -1883,6 +2172,12 @@ func (i *googleCloudIdentitytoolkitAdminV2IdpConfigPtrType) ToGoogleCloudIdentit return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2IdpConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2IdpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2IdpConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2IdpConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2IdpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The SAML IdP (Identity Provider) configuration when the project acts as the relying party. type GoogleCloudIdentitytoolkitAdminV2IdpConfigOutput struct{ *pulumi.OutputState } @@ -1908,6 +2203,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2IdpConfigOutput) ToGoogleCloudIdentityt }).(GoogleCloudIdentitytoolkitAdminV2IdpConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2IdpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpConfig]{ + OutputState: o.OutputState, + } +} + // IDP's public keys for verifying signature in the assertions. func (o GoogleCloudIdentitytoolkitAdminV2IdpConfigOutput) IdpCertificates() GoogleCloudIdentitytoolkitAdminV2IdpCertificateArrayOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2IdpConfig) []GoogleCloudIdentitytoolkitAdminV2IdpCertificate { @@ -1944,6 +2245,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2IdpConfigPtrOutput) ToGoogleCloudIdenti return o } +func (o GoogleCloudIdentitytoolkitAdminV2IdpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2IdpConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2IdpConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2IdpConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2IdpConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2IdpConfig) GoogleCloudIdentitytoolkitAdminV2IdpConfig { if v != nil { @@ -2021,6 +2328,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2IdpConfigResponseOutput) ToGoogleCloudI return o } +func (o GoogleCloudIdentitytoolkitAdminV2IdpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2IdpConfigResponse]{ + OutputState: o.OutputState, + } +} + // IDP's public keys for verifying signature in the assertions. func (o GoogleCloudIdentitytoolkitAdminV2IdpConfigResponseOutput) IdpCertificates() GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponseArrayOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2IdpConfigResponse) []GoogleCloudIdentitytoolkitAdminV2IdpCertificateResponse { @@ -2078,6 +2391,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2InheritanceArgs) ToGoogleCloudIdentityt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2InheritanceOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2InheritanceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2Inheritance] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2Inheritance]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2InheritanceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2InheritanceArgs) ToGoogleCloudIdentitytoolkitAdminV2InheritancePtrOutput() GoogleCloudIdentitytoolkitAdminV2InheritancePtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2InheritancePtrOutputWithContext(context.Background()) } @@ -2119,6 +2438,12 @@ func (i *googleCloudIdentitytoolkitAdminV2InheritancePtrType) ToGoogleCloudIdent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2InheritancePtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2InheritancePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2Inheritance] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2Inheritance]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2InheritancePtrOutputWithContext(ctx).OutputState, + } +} + // Settings that the tenants will inherit from project level. type GoogleCloudIdentitytoolkitAdminV2InheritanceOutput struct{ *pulumi.OutputState } @@ -2144,6 +2469,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2InheritanceOutput) ToGoogleCloudIdentit }).(GoogleCloudIdentitytoolkitAdminV2InheritancePtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2InheritanceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2Inheritance] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2Inheritance]{ + OutputState: o.OutputState, + } +} + // Whether to allow the tenant to inherit custom domains, email templates, and custom SMTP settings. If true, email sent from tenant will follow the project level email sending configurations. If false (by default), emails will go with the default settings with no customizations. func (o GoogleCloudIdentitytoolkitAdminV2InheritanceOutput) EmailSendingConfig() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2Inheritance) *bool { return v.EmailSendingConfig }).(pulumi.BoolPtrOutput) @@ -2163,6 +2494,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2InheritancePtrOutput) ToGoogleCloudIden return o } +func (o GoogleCloudIdentitytoolkitAdminV2InheritancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2Inheritance] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2Inheritance]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2InheritancePtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2InheritanceOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2Inheritance) GoogleCloudIdentitytoolkitAdminV2Inheritance { if v != nil { @@ -2204,6 +2541,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2InheritanceResponseOutput) ToGoogleClou return o } +func (o GoogleCloudIdentitytoolkitAdminV2InheritanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2InheritanceResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2InheritanceResponse]{ + OutputState: o.OutputState, + } +} + // Whether to allow the tenant to inherit custom domains, email templates, and custom SMTP settings. If true, email sent from tenant will follow the project level email sending configurations. If false (by default), emails will go with the default settings with no customizations. func (o GoogleCloudIdentitytoolkitAdminV2InheritanceResponseOutput) EmailSendingConfig() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2InheritanceResponse) bool { return v.EmailSendingConfig }).(pulumi.BoolOutput) @@ -2244,6 +2587,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2MonitoringConfigArgs) ToGoogleCloudIden return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2MonitoringConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2MonitoringConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MonitoringConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MonitoringConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2MonitoringConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2MonitoringConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2MonitoringConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2MonitoringConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2MonitoringConfigPtrOutputWithContext(context.Background()) } @@ -2285,6 +2634,12 @@ func (i *googleCloudIdentitytoolkitAdminV2MonitoringConfigPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2MonitoringConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2MonitoringConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MonitoringConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MonitoringConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2MonitoringConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration related to monitoring project activity. type GoogleCloudIdentitytoolkitAdminV2MonitoringConfigOutput struct{ *pulumi.OutputState } @@ -2310,6 +2665,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MonitoringConfigOutput) ToGoogleCloudId }).(GoogleCloudIdentitytoolkitAdminV2MonitoringConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2MonitoringConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MonitoringConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MonitoringConfig]{ + OutputState: o.OutputState, + } +} + // Configuration for logging requests made to this project to Stackdriver Logging func (o GoogleCloudIdentitytoolkitAdminV2MonitoringConfigOutput) RequestLogging() GoogleCloudIdentitytoolkitAdminV2RequestLoggingPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2MonitoringConfig) *GoogleCloudIdentitytoolkitAdminV2RequestLogging { @@ -2331,6 +2692,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MonitoringConfigPtrOutput) ToGoogleClou return o } +func (o GoogleCloudIdentitytoolkitAdminV2MonitoringConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MonitoringConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MonitoringConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2MonitoringConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2MonitoringConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2MonitoringConfig) GoogleCloudIdentitytoolkitAdminV2MonitoringConfig { if v != nil { @@ -2372,6 +2739,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MonitoringConfigResponseOutput) ToGoogl return o } +func (o GoogleCloudIdentitytoolkitAdminV2MonitoringConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MonitoringConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MonitoringConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configuration for logging requests made to this project to Stackdriver Logging func (o GoogleCloudIdentitytoolkitAdminV2MonitoringConfigResponseOutput) RequestLogging() GoogleCloudIdentitytoolkitAdminV2RequestLoggingResponseOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2MonitoringConfigResponse) GoogleCloudIdentitytoolkitAdminV2RequestLoggingResponse { @@ -2422,6 +2795,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrOutputWithContext(context.Background()) } @@ -2463,6 +2842,12 @@ func (i *googleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Options related to MultiFactor Authentication for the project. type GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigOutput struct{ *pulumi.OutputState } @@ -2488,6 +2873,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigOutput) ToGoogleCl }).(GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig]{ + OutputState: o.OutputState, + } +} + // A list of usable second factors for this project. func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigOutput) EnabledProviders() GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItemArrayOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig) []GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigEnabledProvidersItem { @@ -2523,6 +2914,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrOutput) ToGoogl return o } +func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig) GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig { if v != nil { @@ -2588,6 +2985,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigResponseOutput) To return o } +func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigResponse]{ + OutputState: o.OutputState, + } +} + // A list of usable second factors for this project. func (o GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigResponseOutput) EnabledProviders() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigResponse) []string { @@ -2650,6 +3053,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeArgs) ToGoogleCloudIde return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2OAuthResponseType] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2OAuthResponseType]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeArgs) ToGoogleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrOutput() GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrOutputWithContext(context.Background()) } @@ -2691,6 +3100,12 @@ func (i *googleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2OAuthResponseType] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2OAuthResponseType]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrOutputWithContext(ctx).OutputState, + } +} + // The response type to request for in the OAuth authorization flow. You can set either `id_token` or `code` to true, but not both. Setting both types to be simultaneously true (`{code: true, id_token: true}`) is not yet supported. See https://openid.net/specs/openid-connect-core-1_0.html#Authentication for a mapping of response type to OAuth 2.0 flow. type GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeOutput struct{ *pulumi.OutputState } @@ -2716,6 +3131,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeOutput) ToGoogleCloudI }).(GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2OAuthResponseType] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2OAuthResponseType]{ + OutputState: o.OutputState, + } +} + // If true, authorization code is returned from IdP's authorization endpoint. func (o GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeOutput) Code() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2OAuthResponseType) *bool { return v.Code }).(pulumi.BoolPtrOutput) @@ -2745,6 +3166,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrOutput) ToGoogleClo return o } +func (o GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2OAuthResponseType] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2OAuthResponseType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypePtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2OAuthResponseType) GoogleCloudIdentitytoolkitAdminV2OAuthResponseType { if v != nil { @@ -2810,6 +3237,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponseOutput) ToGoog return o } +func (o GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponse]{ + OutputState: o.OutputState, + } +} + // If true, authorization code is returned from IdP's authorization endpoint. func (o GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponseOutput) Code() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponse) bool { return v.Code }).(pulumi.BoolOutput) @@ -2868,6 +3301,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrOutputWithContext(context.Background()) } @@ -2909,6 +3348,12 @@ func (i *googleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The configuration for the password policy on the project. type GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigOutput struct{ *pulumi.OutputState } @@ -2934,6 +3379,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigOutput) ToGoogleClo }).(GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig]{ + OutputState: o.OutputState, + } +} + // Users must have a password compliant with the password policy to sign-in. func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigOutput) ForceUpgradeOnSignin() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig) *bool { return v.ForceUpgradeOnSignin }).(pulumi.BoolPtrOutput) @@ -2967,6 +3418,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrOutput) ToGoogle return o } +func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig) GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig { if v != nil { @@ -3034,6 +3491,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigResponseOutput) ToG return o } +func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigResponse]{ + OutputState: o.OutputState, + } +} + // Users must have a password compliant with the password policy to sign-in. func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigResponseOutput) ForceUpgradeOnSignin() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigResponse) bool { @@ -3095,6 +3558,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArrayInput is an input type that accepts GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArray and GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArrayOutput values. // You can construct a concrete instance of `GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArrayInput` via: // @@ -3120,6 +3589,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArray) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArrayOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArrayOutputWithContext(ctx).OutputState, + } +} + // The strength attributes for the password policy on the project. type GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionOutput struct{ *pulumi.OutputState } @@ -3135,6 +3610,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionOutput) ToGoogleCl return o } +func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion]{ + OutputState: o.OutputState, + } +} + // The custom strength options enforced by the password policy. func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionOutput) CustomStrengthOptions() GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion) *GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions { @@ -3156,6 +3637,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArrayOutput) ToGoo return o } +func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion)[vs[1].(int)] @@ -3185,6 +3672,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponseOutput) To return o } +func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponse]{ + OutputState: o.OutputState, + } +} + // The custom strength options enforced by the password policy. func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponseOutput) CustomStrengthOptions() GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsResponseOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponse) GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptionsResponse { @@ -3211,6 +3704,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponseArrayOutpu return o } +func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponse] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponse { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersionResponse)[vs[1].(int)] @@ -3256,6 +3755,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2ProviderConfigArgs) ToGoogleCloudIdenti return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2ProviderConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2ProviderConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ProviderConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ProviderConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2ProviderConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIdentitytoolkitAdminV2ProviderConfigArrayInput is an input type that accepts GoogleCloudIdentitytoolkitAdminV2ProviderConfigArray and GoogleCloudIdentitytoolkitAdminV2ProviderConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudIdentitytoolkitAdminV2ProviderConfigArrayInput` via: // @@ -3281,6 +3786,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2ProviderConfigArray) ToGoogleCloudIdent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2ProviderConfigArrayOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2ProviderConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2ProviderConfig] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2ProviderConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2ProviderConfigArrayOutputWithContext(ctx).OutputState, + } +} + // ProviderConfig describes the supported MFA providers along with their configurations. type GoogleCloudIdentitytoolkitAdminV2ProviderConfigOutput struct{ *pulumi.OutputState } @@ -3296,6 +3807,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigOutput) ToGoogleCloudIden return o } +func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ProviderConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ProviderConfig]{ + OutputState: o.OutputState, + } +} + // Describes the state of the MultiFactor Authentication type. func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigOutput) State() GoogleCloudIdentitytoolkitAdminV2ProviderConfigStatePtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2ProviderConfig) *GoogleCloudIdentitytoolkitAdminV2ProviderConfigState { @@ -3324,6 +3841,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigArrayOutput) ToGoogleClou return o } +func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2ProviderConfig] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2ProviderConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2ProviderConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2ProviderConfig { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2ProviderConfig)[vs[1].(int)] @@ -3353,6 +3876,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponseOutput) ToGoogleC return o } +func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponse]{ + OutputState: o.OutputState, + } +} + // Describes the state of the MultiFactor Authentication type. func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponse) string { return v.State }).(pulumi.StringOutput) @@ -3379,6 +3908,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponseArrayOutput) ToGo return o } +func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponse] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponse { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2ProviderConfigResponse)[vs[1].(int)] @@ -3428,6 +3963,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigArgs) ToGoogleCloudIdent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2RecaptchaConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrOutputWithContext(context.Background()) } @@ -3469,6 +4010,12 @@ func (i *googleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrType) ToGoogleCloudI return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The reCAPTCHA Enterprise integration config. type GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigOutput struct{ *pulumi.OutputState } @@ -3494,6 +4041,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigOutput) ToGoogleCloudIde }).(GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig]{ + OutputState: o.OutputState, + } +} + // The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all related user flows protected by reCAPTCHA. func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigOutput) EmailPasswordEnforcementState() GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementStatePtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig) *GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigEmailPasswordEnforcementState { @@ -3527,6 +4080,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig) GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig { if v != nil { @@ -3594,6 +4153,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponseOutput) ToGoogle return o } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponse]{ + OutputState: o.OutputState, + } +} + // The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all related user flows protected by reCAPTCHA. func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponseOutput) EmailPasswordEnforcementState() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponse) string { @@ -3643,6 +4208,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponseOutput) ToGoogleClo return o } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponse]{ + OutputState: o.OutputState, + } +} + // The reCAPTCHA Enterprise key resource name, e.g. "projects/{project}/keys/{key}" func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponse) string { return v.Key }).(pulumi.StringOutput) @@ -3667,6 +4238,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponseArrayOutput) ToGoog return o } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponse] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponse { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2RecaptchaKeyResponse)[vs[1].(int)] @@ -3712,6 +4289,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArrayInput is an input type that accepts GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArray and GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArrayOutput values. // You can construct a concrete instance of `GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArrayInput` via: // @@ -3737,6 +4320,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArray) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArrayOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArrayOutputWithContext(ctx).OutputState, + } +} + // The config for a reCAPTCHA managed rule. Models a single interval [start_score, end_score]. The start_score is implicit. It is either the closest smaller end_score (if one is available) or 0. Intervals in aggregate span [0, 1] without overlapping. type GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleOutput struct{ *pulumi.OutputState } @@ -3752,6 +4341,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleOutput) ToGoogleClo return o } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule]{ + OutputState: o.OutputState, + } +} + // The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score]. func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleOutput) Action() GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleActionPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule) *GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleAction { @@ -3778,6 +4373,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArrayOutput) ToGoog return o } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule)[vs[1].(int)] @@ -3807,6 +4408,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponseOutput) ToG return o } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponse]{ + OutputState: o.OutputState, + } +} + // The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score]. func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponse) string { return v.Action }).(pulumi.StringOutput) @@ -3831,6 +4438,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponseArrayOutput return o } +func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponse] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponse { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRuleResponse)[vs[1].(int)] @@ -3872,6 +4485,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2RequestLoggingArgs) ToGoogleCloudIdenti return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2RequestLoggingOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2RequestLoggingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RequestLogging] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RequestLogging]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2RequestLoggingOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2RequestLoggingArgs) ToGoogleCloudIdentitytoolkitAdminV2RequestLoggingPtrOutput() GoogleCloudIdentitytoolkitAdminV2RequestLoggingPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2RequestLoggingPtrOutputWithContext(context.Background()) } @@ -3913,6 +4532,12 @@ func (i *googleCloudIdentitytoolkitAdminV2RequestLoggingPtrType) ToGoogleCloudId return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2RequestLoggingPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2RequestLoggingPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RequestLogging] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RequestLogging]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2RequestLoggingPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for logging requests made to this project to Stackdriver Logging type GoogleCloudIdentitytoolkitAdminV2RequestLoggingOutput struct{ *pulumi.OutputState } @@ -3938,6 +4563,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RequestLoggingOutput) ToGoogleCloudIden }).(GoogleCloudIdentitytoolkitAdminV2RequestLoggingPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2RequestLoggingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RequestLogging] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RequestLogging]{ + OutputState: o.OutputState, + } +} + // Whether logging is enabled for this project or not. func (o GoogleCloudIdentitytoolkitAdminV2RequestLoggingOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2RequestLogging) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -3957,6 +4588,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RequestLoggingPtrOutput) ToGoogleCloudI return o } +func (o GoogleCloudIdentitytoolkitAdminV2RequestLoggingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RequestLogging] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2RequestLogging]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2RequestLoggingPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2RequestLoggingOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2RequestLogging) GoogleCloudIdentitytoolkitAdminV2RequestLogging { if v != nil { @@ -3998,6 +4635,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2RequestLoggingResponseOutput) ToGoogleC return o } +func (o GoogleCloudIdentitytoolkitAdminV2RequestLoggingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RequestLoggingResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2RequestLoggingResponse]{ + OutputState: o.OutputState, + } +} + // Whether logging is enabled for this project or not. func (o GoogleCloudIdentitytoolkitAdminV2RequestLoggingResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2RequestLoggingResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -4042,6 +4685,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigArgs) ToGoogleCloudIdent return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2SmsRegionConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrOutputWithContext(context.Background()) } @@ -4083,6 +4732,12 @@ func (i *googleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrType) ToGoogleCloudI return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. type GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigOutput struct{ *pulumi.OutputState } @@ -4108,6 +4763,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigOutput) ToGoogleCloudIde }).(GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig]{ + OutputState: o.OutputState, + } +} + // A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list. func (o GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigOutput) AllowByDefault() GoogleCloudIdentitytoolkitAdminV2AllowByDefaultPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig) *GoogleCloudIdentitytoolkitAdminV2AllowByDefault { @@ -4136,6 +4797,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig) GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig { if v != nil { @@ -4189,6 +4856,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigResponseOutput) ToGoogle return o } +func (o GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigResponse]{ + OutputState: o.OutputState, + } +} + // A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list. func (o GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigResponseOutput) AllowByDefault() GoogleCloudIdentitytoolkitAdminV2AllowByDefaultResponseOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigResponse) GoogleCloudIdentitytoolkitAdminV2AllowByDefaultResponse { @@ -4226,6 +4899,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2SpCertificateResponseOutput) ToGoogleCl return o } +func (o GoogleCloudIdentitytoolkitAdminV2SpCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SpCertificateResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SpCertificateResponse]{ + OutputState: o.OutputState, + } +} + // Timestamp of the cert expiration instance. func (o GoogleCloudIdentitytoolkitAdminV2SpCertificateResponseOutput) ExpiresAt() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2SpCertificateResponse) string { return v.ExpiresAt }).(pulumi.StringOutput) @@ -4250,6 +4929,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2SpCertificateResponseArrayOutput) ToGoo return o } +func (o GoogleCloudIdentitytoolkitAdminV2SpCertificateResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2SpCertificateResponse] { + return pulumix.Output[[]GoogleCloudIdentitytoolkitAdminV2SpCertificateResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2SpCertificateResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIdentitytoolkitAdminV2SpCertificateResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIdentitytoolkitAdminV2SpCertificateResponse { return vs[0].([]GoogleCloudIdentitytoolkitAdminV2SpCertificateResponse)[vs[1].(int)] @@ -4295,6 +4980,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2SpConfigArgs) ToGoogleCloudIdentitytool return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2SpConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2SpConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SpConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SpConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2SpConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2SpConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2SpConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2SpConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2SpConfigPtrOutputWithContext(context.Background()) } @@ -4336,6 +5027,12 @@ func (i *googleCloudIdentitytoolkitAdminV2SpConfigPtrType) ToGoogleCloudIdentity return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2SpConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2SpConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2SpConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2SpConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2SpConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. type GoogleCloudIdentitytoolkitAdminV2SpConfigOutput struct{ *pulumi.OutputState } @@ -4361,6 +5058,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2SpConfigOutput) ToGoogleCloudIdentityto }).(GoogleCloudIdentitytoolkitAdminV2SpConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2SpConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SpConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SpConfig]{ + OutputState: o.OutputState, + } +} + // Callback URI where responses from IDP are handled. func (o GoogleCloudIdentitytoolkitAdminV2SpConfigOutput) CallbackUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2SpConfig) *string { return v.CallbackUri }).(pulumi.StringPtrOutput) @@ -4385,6 +5088,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2SpConfigPtrOutput) ToGoogleCloudIdentit return o } +func (o GoogleCloudIdentitytoolkitAdminV2SpConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2SpConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2SpConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2SpConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2SpConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2SpConfig) GoogleCloudIdentitytoolkitAdminV2SpConfig { if v != nil { @@ -4440,6 +5149,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2SpConfigResponseOutput) ToGoogleCloudId return o } +func (o GoogleCloudIdentitytoolkitAdminV2SpConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SpConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2SpConfigResponse]{ + OutputState: o.OutputState, + } +} + // Callback URI where responses from IDP are handled. func (o GoogleCloudIdentitytoolkitAdminV2SpConfigResponseOutput) CallbackUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2SpConfigResponse) string { return v.CallbackUri }).(pulumi.StringOutput) @@ -4492,6 +5207,12 @@ func (i GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigOutput) } +func (i GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigArgs) ToGoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrOutput() GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrOutput { return i.ToGoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrOutputWithContext(context.Background()) } @@ -4533,6 +5254,12 @@ func (i *googleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrOutput) } +func (i *googleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig]{ + OutputState: i.ToGoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrOutputWithContext(ctx).OutputState, + } +} + // TotpMFAProviderConfig represents the TOTP based MFA provider. type GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigOutput struct{ *pulumi.OutputState } @@ -4558,6 +5285,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigOutput) ToGoogleCl }).(GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrOutput) } +func (o GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig]{ + OutputState: o.OutputState, + } +} + // The allowed number of adjacent intervals that will be used for verification to avoid clock skew. func (o GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigOutput) AdjacentIntervals() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig) *int { return v.AdjacentIntervals }).(pulumi.IntPtrOutput) @@ -4577,6 +5310,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrOutput) ToGoogl return o } +func (o GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig] { + return pulumix.Output[*GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigPtrOutput) Elem() GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigOutput { return o.ApplyT(func(v *GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig) GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig { if v != nil { @@ -4618,6 +5357,12 @@ func (o GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigResponseOutput) To return o } +func (o GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigResponse] { + return pulumix.Output[GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigResponse]{ + OutputState: o.OutputState, + } +} + // The allowed number of adjacent intervals that will be used for verification to avoid clock skew. func (o GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigResponseOutput) AdjacentIntervals() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfigResponse) int { return v.AdjacentIntervals }).(pulumi.IntOutput) @@ -4662,6 +5407,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -4687,6 +5438,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -4702,6 +5459,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -4726,6 +5489,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -4755,6 +5524,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -4779,6 +5554,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -4824,6 +5605,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -4849,6 +5636,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -4864,6 +5657,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -4888,6 +5687,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -4917,6 +5722,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -4941,6 +5752,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -4990,6 +5807,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -5015,6 +5838,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -5030,6 +5859,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() GoogleTypeExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *GoogleTypeExpr { return v.Condition }).(GoogleTypeExprPtrOutput) @@ -5059,6 +5894,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -5090,6 +5931,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() GoogleTypeExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) GoogleTypeExprResponse { return v.Condition }).(GoogleTypeExprResponseOutput) @@ -5119,6 +5966,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -5172,6 +6025,12 @@ func (i GoogleTypeExprArgs) ToGoogleTypeExprOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprOutput) } +func (i GoogleTypeExprArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeExprArgs) ToGoogleTypeExprPtrOutput() GoogleTypeExprPtrOutput { return i.ToGoogleTypeExprPtrOutputWithContext(context.Background()) } @@ -5213,6 +6072,12 @@ func (i *googleTypeExprPtrType) ToGoogleTypeExprPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprPtrOutput) } +func (i *googleTypeExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type GoogleTypeExprOutput struct{ *pulumi.OutputState } @@ -5238,6 +6103,12 @@ func (o GoogleTypeExprOutput) ToGoogleTypeExprPtrOutputWithContext(ctx context.C }).(GoogleTypeExprPtrOutput) } +func (o GoogleTypeExprOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeExpr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -5272,6 +6143,12 @@ func (o GoogleTypeExprPtrOutput) ToGoogleTypeExprPtrOutputWithContext(ctx contex return o } +func (o GoogleTypeExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeExprPtrOutput) Elem() GoogleTypeExprOutput { return o.ApplyT(func(v *GoogleTypeExpr) GoogleTypeExpr { if v != nil { @@ -5349,6 +6226,12 @@ func (o GoogleTypeExprResponseOutput) ToGoogleTypeExprResponseOutputWithContext( return o } +func (o GoogleTypeExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExprResponse] { + return pulumix.Output[GoogleTypeExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/identitytoolkit/v2/tenant.go b/sdk/go/google/identitytoolkit/v2/tenant.go index 06982657b5..ef97c93d95 100644 --- a/sdk/go/google/identitytoolkit/v2/tenant.go +++ b/sdk/go/google/identitytoolkit/v2/tenant.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a tenant. Requires write permission on the Agent project. @@ -188,6 +189,12 @@ func (i *Tenant) ToTenantOutputWithContext(ctx context.Context) TenantOutput { return pulumi.ToOutputWithContext(ctx, i).(TenantOutput) } +func (i *Tenant) ToOutput(ctx context.Context) pulumix.Output[*Tenant] { + return pulumix.Output[*Tenant]{ + OutputState: i.ToTenantOutputWithContext(ctx).OutputState, + } +} + type TenantOutput struct{ *pulumi.OutputState } func (TenantOutput) ElementType() reflect.Type { @@ -202,6 +209,12 @@ func (o TenantOutput) ToTenantOutputWithContext(ctx context.Context) TenantOutpu return o } +func (o TenantOutput) ToOutput(ctx context.Context) pulumix.Output[*Tenant] { + return pulumix.Output[*Tenant]{ + OutputState: o.OutputState, + } +} + // Whether to allow email/password user authentication. func (o TenantOutput) AllowPasswordSignup() pulumi.BoolOutput { return o.ApplyT(func(v *Tenant) pulumi.BoolOutput { return v.AllowPasswordSignup }).(pulumi.BoolOutput) diff --git a/sdk/go/google/identitytoolkit/v2/tenantIamBinding.go b/sdk/go/google/identitytoolkit/v2/tenantIamBinding.go index a02e02b486..d62a6235d7 100644 --- a/sdk/go/google/identitytoolkit/v2/tenantIamBinding.go +++ b/sdk/go/google/identitytoolkit/v2/tenantIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a resource. If the policy exists, it is replaced. Caller must have the right Google IAM permission on the resource. @@ -140,6 +141,12 @@ func (i *TenantIamBinding) ToTenantIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TenantIamBindingOutput) } +func (i *TenantIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TenantIamBinding] { + return pulumix.Output[*TenantIamBinding]{ + OutputState: i.ToTenantIamBindingOutputWithContext(ctx).OutputState, + } +} + type TenantIamBindingOutput struct{ *pulumi.OutputState } func (TenantIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o TenantIamBindingOutput) ToTenantIamBindingOutputWithContext(ctx context. return o } +func (o TenantIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TenantIamBinding] { + return pulumix.Output[*TenantIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TenantIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TenantIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/identitytoolkit/v2/tenantIamMember.go b/sdk/go/google/identitytoolkit/v2/tenantIamMember.go index 0d4f58c4fa..dd7bba5670 100644 --- a/sdk/go/google/identitytoolkit/v2/tenantIamMember.go +++ b/sdk/go/google/identitytoolkit/v2/tenantIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a resource. If the policy exists, it is replaced. Caller must have the right Google IAM permission on the resource. @@ -140,6 +141,12 @@ func (i *TenantIamMember) ToTenantIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TenantIamMemberOutput) } +func (i *TenantIamMember) ToOutput(ctx context.Context) pulumix.Output[*TenantIamMember] { + return pulumix.Output[*TenantIamMember]{ + OutputState: i.ToTenantIamMemberOutputWithContext(ctx).OutputState, + } +} + type TenantIamMemberOutput struct{ *pulumi.OutputState } func (TenantIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o TenantIamMemberOutput) ToTenantIamMemberOutputWithContext(ctx context.Co return o } +func (o TenantIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TenantIamMember] { + return pulumix.Output[*TenantIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TenantIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TenantIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/identitytoolkit/v2/tenantIamPolicy.go b/sdk/go/google/identitytoolkit/v2/tenantIamPolicy.go index 2f21360158..a8f4af4f09 100644 --- a/sdk/go/google/identitytoolkit/v2/tenantIamPolicy.go +++ b/sdk/go/google/identitytoolkit/v2/tenantIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy for a resource. If the policy exists, it is replaced. Caller must have the right Google IAM permission on the resource. @@ -131,6 +132,12 @@ func (i *TenantIamPolicy) ToTenantIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TenantIamPolicyOutput) } +func (i *TenantIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TenantIamPolicy] { + return pulumix.Output[*TenantIamPolicy]{ + OutputState: i.ToTenantIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TenantIamPolicyOutput struct{ *pulumi.OutputState } func (TenantIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o TenantIamPolicyOutput) ToTenantIamPolicyOutputWithContext(ctx context.Co return o } +func (o TenantIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TenantIamPolicy] { + return pulumix.Output[*TenantIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o TenantIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *TenantIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/ids/v1/endpoint.go b/sdk/go/google/ids/v1/endpoint.go index 6c118d1f1d..f1618a3e03 100644 --- a/sdk/go/google/ids/v1/endpoint.go +++ b/sdk/go/google/ids/v1/endpoint.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Endpoint in a given project and location. @@ -169,6 +170,12 @@ func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutp return pulumi.ToOutputWithContext(ctx, i).(EndpointOutput) } +func (i *Endpoint) ToOutput(ctx context.Context) pulumix.Output[*Endpoint] { + return pulumix.Output[*Endpoint]{ + OutputState: i.ToEndpointOutputWithContext(ctx).OutputState, + } +} + type EndpointOutput struct{ *pulumi.OutputState } func (EndpointOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) Endpoin return o } +func (o EndpointOutput) ToOutput(ctx context.Context) pulumix.Output[*Endpoint] { + return pulumix.Output[*Endpoint]{ + OutputState: o.OutputState, + } +} + // The create time timestamp. func (o EndpointOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Endpoint) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/ids/v1/endpointIamBinding.go b/sdk/go/google/ids/v1/endpointIamBinding.go index 992638e934..0f74de41b3 100644 --- a/sdk/go/google/ids/v1/endpointIamBinding.go +++ b/sdk/go/google/ids/v1/endpointIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EndpointIamBinding) ToEndpointIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(EndpointIamBindingOutput) } +func (i *EndpointIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EndpointIamBinding] { + return pulumix.Output[*EndpointIamBinding]{ + OutputState: i.ToEndpointIamBindingOutputWithContext(ctx).OutputState, + } +} + type EndpointIamBindingOutput struct{ *pulumi.OutputState } func (EndpointIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EndpointIamBindingOutput) ToEndpointIamBindingOutputWithContext(ctx cont return o } +func (o EndpointIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointIamBinding] { + return pulumix.Output[*EndpointIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EndpointIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EndpointIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/ids/v1/endpointIamMember.go b/sdk/go/google/ids/v1/endpointIamMember.go index d38c247e7c..da865443a2 100644 --- a/sdk/go/google/ids/v1/endpointIamMember.go +++ b/sdk/go/google/ids/v1/endpointIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EndpointIamMember) ToEndpointIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(EndpointIamMemberOutput) } +func (i *EndpointIamMember) ToOutput(ctx context.Context) pulumix.Output[*EndpointIamMember] { + return pulumix.Output[*EndpointIamMember]{ + OutputState: i.ToEndpointIamMemberOutputWithContext(ctx).OutputState, + } +} + type EndpointIamMemberOutput struct{ *pulumi.OutputState } func (EndpointIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EndpointIamMemberOutput) ToEndpointIamMemberOutputWithContext(ctx contex return o } +func (o EndpointIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointIamMember] { + return pulumix.Output[*EndpointIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EndpointIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EndpointIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/ids/v1/endpointIamPolicy.go b/sdk/go/google/ids/v1/endpointIamPolicy.go index 7d74f12883..3409b91c92 100644 --- a/sdk/go/google/ids/v1/endpointIamPolicy.go +++ b/sdk/go/google/ids/v1/endpointIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EndpointIamPolicy) ToEndpointIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(EndpointIamPolicyOutput) } +func (i *EndpointIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EndpointIamPolicy] { + return pulumix.Output[*EndpointIamPolicy]{ + OutputState: i.ToEndpointIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EndpointIamPolicyOutput struct{ *pulumi.OutputState } func (EndpointIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EndpointIamPolicyOutput) ToEndpointIamPolicyOutputWithContext(ctx contex return o } +func (o EndpointIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointIamPolicy] { + return pulumix.Output[*EndpointIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o EndpointIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *EndpointIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/ids/v1/getEndpoint.go b/sdk/go/google/ids/v1/getEndpoint.go index 9143d9ecfb..af9449ec7f 100644 --- a/sdk/go/google/ids/v1/getEndpoint.go +++ b/sdk/go/google/ids/v1/getEndpoint.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Endpoint. @@ -92,6 +93,12 @@ func (o LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext(ctx return o } +func (o LookupEndpointResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEndpointResult] { + return pulumix.Output[LookupEndpointResult]{ + OutputState: o.OutputState, + } +} + // The create time timestamp. func (o LookupEndpointResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupEndpointResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/ids/v1/getEndpointIamPolicy.go b/sdk/go/google/ids/v1/getEndpointIamPolicy.go index 5157a5ee07..a919b4c32c 100644 --- a/sdk/go/google/ids/v1/getEndpointIamPolicy.go +++ b/sdk/go/google/ids/v1/getEndpointIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupEndpointIamPolicyResultOutput) ToLookupEndpointIamPolicyResultOutp return o } +func (o LookupEndpointIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEndpointIamPolicyResult] { + return pulumix.Output[LookupEndpointIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupEndpointIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupEndpointIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/ids/v1/pulumiEnums.go b/sdk/go/google/ids/v1/pulumiEnums.go index ea4e1f71c4..99fcb02c53 100644 --- a/sdk/go/google/ids/v1/pulumiEnums.go +++ b/sdk/go/google/ids/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Lowest threat severity that this endpoint will alert on. type EndpointSeverity string @@ -259,6 +278,12 @@ func (o EndpointSeverityOutput) ToEndpointSeverityPtrOutputWithContext(ctx conte }).(EndpointSeverityPtrOutput) } +func (o EndpointSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointSeverity] { + return pulumix.Output[EndpointSeverity]{ + OutputState: o.OutputState, + } +} + func (o EndpointSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -294,6 +319,12 @@ func (o EndpointSeverityPtrOutput) ToEndpointSeverityPtrOutputWithContext(ctx co return o } +func (o EndpointSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointSeverity] { + return pulumix.Output[*EndpointSeverity]{ + OutputState: o.OutputState, + } +} + func (o EndpointSeverityPtrOutput) Elem() EndpointSeverityOutput { return o.ApplyT(func(v *EndpointSeverity) EndpointSeverity { if v != nil { @@ -356,6 +387,12 @@ func (in *endpointSeverityPtr) ToEndpointSeverityPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(EndpointSeverityPtrOutput) } +func (in *endpointSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*EndpointSeverity] { + return pulumix.Output[*EndpointSeverity]{ + OutputState: in.ToEndpointSeverityPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/ids/v1/pulumiTypes.go b/sdk/go/google/ids/v1/pulumiTypes.go index 3fc4baeaf0..3a959ea5cc 100644 --- a/sdk/go/google/ids/v1/pulumiTypes.go +++ b/sdk/go/google/ids/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/integrations/v1alpha/authConfig.go b/sdk/go/google/integrations/v1alpha/authConfig.go index d3d56bcdba..d38fd03f94 100644 --- a/sdk/go/google/integrations/v1alpha/authConfig.go +++ b/sdk/go/google/integrations/v1alpha/authConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config. @@ -218,6 +219,12 @@ func (i *AuthConfig) ToAuthConfigOutputWithContext(ctx context.Context) AuthConf return pulumi.ToOutputWithContext(ctx, i).(AuthConfigOutput) } +func (i *AuthConfig) ToOutput(ctx context.Context) pulumix.Output[*AuthConfig] { + return pulumix.Output[*AuthConfig]{ + OutputState: i.ToAuthConfigOutputWithContext(ctx).OutputState, + } +} + type AuthConfigOutput struct{ *pulumi.OutputState } func (AuthConfigOutput) ElementType() reflect.Type { @@ -232,6 +239,12 @@ func (o AuthConfigOutput) ToAuthConfigOutputWithContext(ctx context.Context) Aut return o } +func (o AuthConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthConfig] { + return pulumix.Output[*AuthConfig]{ + OutputState: o.OutputState, + } +} + // Certificate id for client certificate func (o AuthConfigOutput) CertificateId() pulumi.StringOutput { return o.ApplyT(func(v *AuthConfig) pulumi.StringOutput { return v.CertificateId }).(pulumi.StringOutput) diff --git a/sdk/go/google/integrations/v1alpha/certificate.go b/sdk/go/google/integrations/v1alpha/certificate.go index 7bbb8e9780..81d3340c9d 100644 --- a/sdk/go/google/integrations/v1alpha/certificate.go +++ b/sdk/go/google/integrations/v1alpha/certificate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new certificate. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate. @@ -148,6 +149,12 @@ func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) Certif return pulumi.ToOutputWithContext(ctx, i).(CertificateOutput) } +func (i *Certificate) ToOutput(ctx context.Context) pulumix.Output[*Certificate] { + return pulumix.Output[*Certificate]{ + OutputState: i.ToCertificateOutputWithContext(ctx).OutputState, + } +} + type CertificateOutput struct{ *pulumi.OutputState } func (CertificateOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) C return o } +func (o CertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*Certificate] { + return pulumix.Output[*Certificate]{ + OutputState: o.OutputState, + } +} + // Status of the certificate func (o CertificateOutput) CertificateStatus() pulumi.StringOutput { return o.ApplyT(func(v *Certificate) pulumi.StringOutput { return v.CertificateStatus }).(pulumi.StringOutput) diff --git a/sdk/go/google/integrations/v1alpha/getAuthConfig.go b/sdk/go/google/integrations/v1alpha/getAuthConfig.go index 7ca6c0bca4..ec52f05667 100644 --- a/sdk/go/google/integrations/v1alpha/getAuthConfig.go +++ b/sdk/go/google/integrations/v1alpha/getAuthConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a complete auth config. If the auth config doesn't exist, Code.NOT_FOUND exception will be thrown. Returns the decrypted auth config. @@ -104,6 +105,12 @@ func (o LookupAuthConfigResultOutput) ToLookupAuthConfigResultOutputWithContext( return o } +func (o LookupAuthConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthConfigResult] { + return pulumix.Output[LookupAuthConfigResult]{ + OutputState: o.OutputState, + } +} + // Certificate id for client certificate func (o LookupAuthConfigResultOutput) CertificateId() pulumi.StringOutput { return o.ApplyT(func(v LookupAuthConfigResult) string { return v.CertificateId }).(pulumi.StringOutput) diff --git a/sdk/go/google/integrations/v1alpha/getCertificate.go b/sdk/go/google/integrations/v1alpha/getCertificate.go index fc906dfb55..a0bd4a8bfb 100644 --- a/sdk/go/google/integrations/v1alpha/getCertificate.go +++ b/sdk/go/google/integrations/v1alpha/getCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a certificates in the specified project. @@ -88,6 +89,12 @@ func (o LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContex return o } +func (o LookupCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateResult] { + return pulumix.Output[LookupCertificateResult]{ + OutputState: o.OutputState, + } +} + // Status of the certificate func (o LookupCertificateResultOutput) CertificateStatus() pulumi.StringOutput { return o.ApplyT(func(v LookupCertificateResult) string { return v.CertificateStatus }).(pulumi.StringOutput) diff --git a/sdk/go/google/integrations/v1alpha/getSfdcChannel.go b/sdk/go/google/integrations/v1alpha/getSfdcChannel.go index f5cfd3bf4e..72ee1e8919 100644 --- a/sdk/go/google/integrations/v1alpha/getSfdcChannel.go +++ b/sdk/go/google/integrations/v1alpha/getSfdcChannel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an sfdc channel. If the channel doesn't exist, Code.NOT_FOUND exception will be thrown. @@ -90,6 +91,12 @@ func (o LookupSfdcChannelResultOutput) ToLookupSfdcChannelResultOutputWithContex return o } +func (o LookupSfdcChannelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSfdcChannelResult] { + return pulumix.Output[LookupSfdcChannelResult]{ + OutputState: o.OutputState, + } +} + // The Channel topic defined by salesforce once an channel is opened func (o LookupSfdcChannelResultOutput) ChannelTopic() pulumi.StringOutput { return o.ApplyT(func(v LookupSfdcChannelResult) string { return v.ChannelTopic }).(pulumi.StringOutput) diff --git a/sdk/go/google/integrations/v1alpha/getSfdcInstance.go b/sdk/go/google/integrations/v1alpha/getSfdcInstance.go index 101767458b..f3f1319961 100644 --- a/sdk/go/google/integrations/v1alpha/getSfdcInstance.go +++ b/sdk/go/google/integrations/v1alpha/getSfdcInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown. @@ -88,6 +89,12 @@ func (o LookupSfdcInstanceResultOutput) ToLookupSfdcInstanceResultOutputWithCont return o } +func (o LookupSfdcInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSfdcInstanceResult] { + return pulumix.Output[LookupSfdcInstanceResult]{ + OutputState: o.OutputState, + } +} + // A list of AuthConfigs that can be tried to open the channel to SFDC func (o LookupSfdcInstanceResultOutput) AuthConfigId() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupSfdcInstanceResult) []string { return v.AuthConfigId }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/integrations/v1alpha/getTemplatesVersion.go b/sdk/go/google/integrations/v1alpha/getTemplatesVersion.go index 2de547391d..a2d336d544 100644 --- a/sdk/go/google/integrations/v1alpha/getTemplatesVersion.go +++ b/sdk/go/google/integrations/v1alpha/getTemplatesVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns an IntegrationTemplateVersion in the specified project. @@ -102,6 +103,12 @@ func (o LookupTemplatesVersionResultOutput) ToLookupTemplatesVersionResultOutput return o } +func (o LookupTemplatesVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTemplatesVersionResult] { + return pulumix.Output[LookupTemplatesVersionResult]{ + OutputState: o.OutputState, + } +} + // Auto-generated. func (o LookupTemplatesVersionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTemplatesVersionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/integrations/v1alpha/getVersion.go b/sdk/go/google/integrations/v1alpha/getVersion.go index b61afa3078..bd7bbbe366 100644 --- a/sdk/go/google/integrations/v1alpha/getVersion.go +++ b/sdk/go/google/integrations/v1alpha/getVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a integration in the specified project. @@ -116,6 +117,12 @@ func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx co return o } +func (o LookupVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionResult] { + return pulumix.Output[LookupVersionResult]{ + OutputState: o.OutputState, + } +} + // Auto-generated. func (o LookupVersionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupVersionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/integrations/v1alpha/pulumiEnums.go b/sdk/go/google/integrations/v1alpha/pulumiEnums.go index 4f9bafe3eb..92a68ca394 100644 --- a/sdk/go/google/integrations/v1alpha/pulumiEnums.go +++ b/sdk/go/google/integrations/v1alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Credential type of the encrypted credential. @@ -100,6 +101,12 @@ func (o AuthConfigCredentialTypeOutput) ToAuthConfigCredentialTypePtrOutputWithC }).(AuthConfigCredentialTypePtrOutput) } +func (o AuthConfigCredentialTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthConfigCredentialType] { + return pulumix.Output[AuthConfigCredentialType]{ + OutputState: o.OutputState, + } +} + func (o AuthConfigCredentialTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -135,6 +142,12 @@ func (o AuthConfigCredentialTypePtrOutput) ToAuthConfigCredentialTypePtrOutputWi return o } +func (o AuthConfigCredentialTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthConfigCredentialType] { + return pulumix.Output[*AuthConfigCredentialType]{ + OutputState: o.OutputState, + } +} + func (o AuthConfigCredentialTypePtrOutput) Elem() AuthConfigCredentialTypeOutput { return o.ApplyT(func(v *AuthConfigCredentialType) AuthConfigCredentialType { if v != nil { @@ -197,6 +210,12 @@ func (in *authConfigCredentialTypePtr) ToAuthConfigCredentialTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(AuthConfigCredentialTypePtrOutput) } +func (in *authConfigCredentialTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuthConfigCredentialType] { + return pulumix.Output[*AuthConfigCredentialType]{ + OutputState: in.ToAuthConfigCredentialTypePtrOutputWithContext(ctx).OutputState, + } +} + // The status of the auth config. type AuthConfigStateEnum string @@ -277,6 +296,12 @@ func (o AuthConfigStateEnumOutput) ToAuthConfigStateEnumPtrOutputWithContext(ctx }).(AuthConfigStateEnumPtrOutput) } +func (o AuthConfigStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[AuthConfigStateEnum] { + return pulumix.Output[AuthConfigStateEnum]{ + OutputState: o.OutputState, + } +} + func (o AuthConfigStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -312,6 +337,12 @@ func (o AuthConfigStateEnumPtrOutput) ToAuthConfigStateEnumPtrOutputWithContext( return o } +func (o AuthConfigStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthConfigStateEnum] { + return pulumix.Output[*AuthConfigStateEnum]{ + OutputState: o.OutputState, + } +} + func (o AuthConfigStateEnumPtrOutput) Elem() AuthConfigStateEnumOutput { return o.ApplyT(func(v *AuthConfigStateEnum) AuthConfigStateEnum { if v != nil { @@ -374,6 +405,12 @@ func (in *authConfigStateEnumPtr) ToAuthConfigStateEnumPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(AuthConfigStateEnumPtrOutput) } +func (in *authConfigStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*AuthConfigStateEnum] { + return pulumix.Output[*AuthConfigStateEnum]{ + OutputState: in.ToAuthConfigStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // The visibility of the auth config. type AuthConfigVisibility string @@ -446,6 +483,12 @@ func (o AuthConfigVisibilityOutput) ToAuthConfigVisibilityPtrOutputWithContext(c }).(AuthConfigVisibilityPtrOutput) } +func (o AuthConfigVisibilityOutput) ToOutput(ctx context.Context) pulumix.Output[AuthConfigVisibility] { + return pulumix.Output[AuthConfigVisibility]{ + OutputState: o.OutputState, + } +} + func (o AuthConfigVisibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -481,6 +524,12 @@ func (o AuthConfigVisibilityPtrOutput) ToAuthConfigVisibilityPtrOutputWithContex return o } +func (o AuthConfigVisibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthConfigVisibility] { + return pulumix.Output[*AuthConfigVisibility]{ + OutputState: o.OutputState, + } +} + func (o AuthConfigVisibilityPtrOutput) Elem() AuthConfigVisibilityOutput { return o.ApplyT(func(v *AuthConfigVisibility) AuthConfigVisibility { if v != nil { @@ -543,6 +592,12 @@ func (in *authConfigVisibilityPtr) ToAuthConfigVisibilityPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(AuthConfigVisibilityPtrOutput) } +func (in *authConfigVisibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*AuthConfigVisibility] { + return pulumix.Output[*AuthConfigVisibility]{ + OutputState: in.ToAuthConfigVisibilityPtrOutputWithContext(ctx).OutputState, + } +} + // Status of the certificate type CertificateCertificateStatus string @@ -615,6 +670,12 @@ func (o CertificateCertificateStatusOutput) ToCertificateCertificateStatusPtrOut }).(CertificateCertificateStatusPtrOutput) } +func (o CertificateCertificateStatusOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateCertificateStatus] { + return pulumix.Output[CertificateCertificateStatus]{ + OutputState: o.OutputState, + } +} + func (o CertificateCertificateStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -650,6 +711,12 @@ func (o CertificateCertificateStatusPtrOutput) ToCertificateCertificateStatusPtr return o } +func (o CertificateCertificateStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateCertificateStatus] { + return pulumix.Output[*CertificateCertificateStatus]{ + OutputState: o.OutputState, + } +} + func (o CertificateCertificateStatusPtrOutput) Elem() CertificateCertificateStatusOutput { return o.ApplyT(func(v *CertificateCertificateStatus) CertificateCertificateStatus { if v != nil { @@ -712,6 +779,12 @@ func (in *certificateCertificateStatusPtr) ToCertificateCertificateStatusPtrOutp return pulumi.ToOutputWithContext(ctx, in).(CertificateCertificateStatusPtrOutput) } +func (in *certificateCertificateStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*CertificateCertificateStatus] { + return pulumix.Output[*CertificateCertificateStatus]{ + OutputState: in.ToCertificateCertificateStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Things like URL, Email, Currency, Timestamp (rather than string, int64...) type EnterpriseCrmEventbusProtoAttributesDataType string @@ -785,6 +858,12 @@ func (o EnterpriseCrmEventbusProtoAttributesDataTypeOutput) ToEnterpriseCrmEvent }).(EnterpriseCrmEventbusProtoAttributesDataTypePtrOutput) } +func (o EnterpriseCrmEventbusProtoAttributesDataTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoAttributesDataType] { + return pulumix.Output[EnterpriseCrmEventbusProtoAttributesDataType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoAttributesDataTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -820,6 +899,12 @@ func (o EnterpriseCrmEventbusProtoAttributesDataTypePtrOutput) ToEnterpriseCrmEv return o } +func (o EnterpriseCrmEventbusProtoAttributesDataTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoAttributesDataType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoAttributesDataType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoAttributesDataTypePtrOutput) Elem() EnterpriseCrmEventbusProtoAttributesDataTypeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoAttributesDataType) EnterpriseCrmEventbusProtoAttributesDataType { if v != nil { @@ -882,6 +967,12 @@ func (in *enterpriseCrmEventbusProtoAttributesDataTypePtr) ToEnterpriseCrmEventb return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoAttributesDataTypePtrOutput) } +func (in *enterpriseCrmEventbusProtoAttributesDataTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoAttributesDataType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoAttributesDataType]{ + OutputState: in.ToEnterpriseCrmEventbusProtoAttributesDataTypePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoAttributesSearchable string const ( @@ -952,6 +1043,12 @@ func (o EnterpriseCrmEventbusProtoAttributesSearchableOutput) ToEnterpriseCrmEve }).(EnterpriseCrmEventbusProtoAttributesSearchablePtrOutput) } +func (o EnterpriseCrmEventbusProtoAttributesSearchableOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoAttributesSearchable] { + return pulumix.Output[EnterpriseCrmEventbusProtoAttributesSearchable]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoAttributesSearchableOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -987,6 +1084,12 @@ func (o EnterpriseCrmEventbusProtoAttributesSearchablePtrOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoAttributesSearchablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoAttributesSearchable] { + return pulumix.Output[*EnterpriseCrmEventbusProtoAttributesSearchable]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoAttributesSearchablePtrOutput) Elem() EnterpriseCrmEventbusProtoAttributesSearchableOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoAttributesSearchable) EnterpriseCrmEventbusProtoAttributesSearchable { if v != nil { @@ -1049,6 +1152,12 @@ func (in *enterpriseCrmEventbusProtoAttributesSearchablePtr) ToEnterpriseCrmEven return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoAttributesSearchablePtrOutput) } +func (in *enterpriseCrmEventbusProtoAttributesSearchablePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoAttributesSearchable] { + return pulumix.Output[*EnterpriseCrmEventbusProtoAttributesSearchable]{ + OutputState: in.ToEnterpriseCrmEventbusProtoAttributesSearchablePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterType string const ( @@ -1116,6 +1225,12 @@ func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypeOutput) }).(EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypePtrOutput) } +func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterType] { + return pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1151,6 +1266,12 @@ func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypePtrOutpu return o } +func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypePtrOutput) Elem() EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterType) EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterType { if v != nil { @@ -1213,6 +1334,12 @@ func (in *enterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypePtr) T return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypePtrOutput) } +func (in *enterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterType]{ + OutputState: in.ToEnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListFilterTypePtrOutputWithContext(ctx).OutputState, + } +} + // Operator used to evaluate the condition. Please note that an operator with an inappropriate key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value pair. type EnterpriseCrmEventbusProtoConditionOperator string @@ -1288,6 +1415,12 @@ func (o EnterpriseCrmEventbusProtoConditionOperatorOutput) ToEnterpriseCrmEventb }).(EnterpriseCrmEventbusProtoConditionOperatorPtrOutput) } +func (o EnterpriseCrmEventbusProtoConditionOperatorOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoConditionOperator] { + return pulumix.Output[EnterpriseCrmEventbusProtoConditionOperator]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoConditionOperatorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1323,6 +1456,12 @@ func (o EnterpriseCrmEventbusProtoConditionOperatorPtrOutput) ToEnterpriseCrmEve return o } +func (o EnterpriseCrmEventbusProtoConditionOperatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoConditionOperator] { + return pulumix.Output[*EnterpriseCrmEventbusProtoConditionOperator]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoConditionOperatorPtrOutput) Elem() EnterpriseCrmEventbusProtoConditionOperatorOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoConditionOperator) EnterpriseCrmEventbusProtoConditionOperator { if v != nil { @@ -1385,6 +1524,12 @@ func (in *enterpriseCrmEventbusProtoConditionOperatorPtr) ToEnterpriseCrmEventbu return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoConditionOperatorPtrOutput) } +func (in *enterpriseCrmEventbusProtoConditionOperatorPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoConditionOperator] { + return pulumix.Output[*EnterpriseCrmEventbusProtoConditionOperator]{ + OutputState: in.ToEnterpriseCrmEventbusProtoConditionOperatorPtrOutputWithContext(ctx).OutputState, + } +} + // Defines what happens to the task upon failure. type EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy string @@ -1466,6 +1611,12 @@ func (o EnterpriseCrmEventbusProtoFailurePolicyRetryStrategyOutput) ToEnterprise }).(EnterpriseCrmEventbusProtoFailurePolicyRetryStrategyPtrOutput) } +func (o EnterpriseCrmEventbusProtoFailurePolicyRetryStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy] { + return pulumix.Output[EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoFailurePolicyRetryStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1501,6 +1652,12 @@ func (o EnterpriseCrmEventbusProtoFailurePolicyRetryStrategyPtrOutput) ToEnterpr return o } +func (o EnterpriseCrmEventbusProtoFailurePolicyRetryStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy] { + return pulumix.Output[*EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoFailurePolicyRetryStrategyPtrOutput) Elem() EnterpriseCrmEventbusProtoFailurePolicyRetryStrategyOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy) EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy { if v != nil { @@ -1563,6 +1720,12 @@ func (in *enterpriseCrmEventbusProtoFailurePolicyRetryStrategyPtr) ToEnterpriseC return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoFailurePolicyRetryStrategyPtrOutput) } +func (in *enterpriseCrmEventbusProtoFailurePolicyRetryStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy] { + return pulumix.Output[*EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy]{ + OutputState: in.ToEnterpriseCrmEventbusProtoFailurePolicyRetryStrategyPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoLogSettingsSeedPeriod string const ( @@ -1635,6 +1798,12 @@ func (o EnterpriseCrmEventbusProtoLogSettingsSeedPeriodOutput) ToEnterpriseCrmEv }).(EnterpriseCrmEventbusProtoLogSettingsSeedPeriodPtrOutput) } +func (o EnterpriseCrmEventbusProtoLogSettingsSeedPeriodOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoLogSettingsSeedPeriod] { + return pulumix.Output[EnterpriseCrmEventbusProtoLogSettingsSeedPeriod]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoLogSettingsSeedPeriodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1670,6 +1839,12 @@ func (o EnterpriseCrmEventbusProtoLogSettingsSeedPeriodPtrOutput) ToEnterpriseCr return o } +func (o EnterpriseCrmEventbusProtoLogSettingsSeedPeriodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoLogSettingsSeedPeriod] { + return pulumix.Output[*EnterpriseCrmEventbusProtoLogSettingsSeedPeriod]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoLogSettingsSeedPeriodPtrOutput) Elem() EnterpriseCrmEventbusProtoLogSettingsSeedPeriodOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoLogSettingsSeedPeriod) EnterpriseCrmEventbusProtoLogSettingsSeedPeriod { if v != nil { @@ -1732,6 +1907,12 @@ func (in *enterpriseCrmEventbusProtoLogSettingsSeedPeriodPtr) ToEnterpriseCrmEve return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoLogSettingsSeedPeriodPtrOutput) } +func (in *enterpriseCrmEventbusProtoLogSettingsSeedPeriodPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoLogSettingsSeedPeriod] { + return pulumix.Output[*EnterpriseCrmEventbusProtoLogSettingsSeedPeriod]{ + OutputState: in.ToEnterpriseCrmEventbusProtoLogSettingsSeedPeriodPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoLogSettingsSeedScope string const ( @@ -1804,6 +1985,12 @@ func (o EnterpriseCrmEventbusProtoLogSettingsSeedScopeOutput) ToEnterpriseCrmEve }).(EnterpriseCrmEventbusProtoLogSettingsSeedScopePtrOutput) } +func (o EnterpriseCrmEventbusProtoLogSettingsSeedScopeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoLogSettingsSeedScope] { + return pulumix.Output[EnterpriseCrmEventbusProtoLogSettingsSeedScope]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoLogSettingsSeedScopeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1839,6 +2026,12 @@ func (o EnterpriseCrmEventbusProtoLogSettingsSeedScopePtrOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoLogSettingsSeedScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoLogSettingsSeedScope] { + return pulumix.Output[*EnterpriseCrmEventbusProtoLogSettingsSeedScope]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoLogSettingsSeedScopePtrOutput) Elem() EnterpriseCrmEventbusProtoLogSettingsSeedScopeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoLogSettingsSeedScope) EnterpriseCrmEventbusProtoLogSettingsSeedScope { if v != nil { @@ -1901,6 +2094,12 @@ func (in *enterpriseCrmEventbusProtoLogSettingsSeedScopePtr) ToEnterpriseCrmEven return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoLogSettingsSeedScopePtrOutput) } +func (in *enterpriseCrmEventbusProtoLogSettingsSeedScopePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoLogSettingsSeedScope] { + return pulumix.Output[*EnterpriseCrmEventbusProtoLogSettingsSeedScope]{ + OutputState: in.ToEnterpriseCrmEventbusProtoLogSettingsSeedScopePtrOutputWithContext(ctx).OutputState, + } +} + // Destination node where the edge ends. It can only be a task config. type EnterpriseCrmEventbusProtoNodeIdentifierElementType string @@ -1970,6 +2169,12 @@ func (o EnterpriseCrmEventbusProtoNodeIdentifierElementTypeOutput) ToEnterpriseC }).(EnterpriseCrmEventbusProtoNodeIdentifierElementTypePtrOutput) } +func (o EnterpriseCrmEventbusProtoNodeIdentifierElementTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoNodeIdentifierElementType] { + return pulumix.Output[EnterpriseCrmEventbusProtoNodeIdentifierElementType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoNodeIdentifierElementTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2005,6 +2210,12 @@ func (o EnterpriseCrmEventbusProtoNodeIdentifierElementTypePtrOutput) ToEnterpri return o } +func (o EnterpriseCrmEventbusProtoNodeIdentifierElementTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoNodeIdentifierElementType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoNodeIdentifierElementType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoNodeIdentifierElementTypePtrOutput) Elem() EnterpriseCrmEventbusProtoNodeIdentifierElementTypeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoNodeIdentifierElementType) EnterpriseCrmEventbusProtoNodeIdentifierElementType { if v != nil { @@ -2067,6 +2278,12 @@ func (in *enterpriseCrmEventbusProtoNodeIdentifierElementTypePtr) ToEnterpriseCr return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoNodeIdentifierElementTypePtrOutput) } +func (in *enterpriseCrmEventbusProtoNodeIdentifierElementTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoNodeIdentifierElementType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoNodeIdentifierElementType]{ + OutputState: in.ToEnterpriseCrmEventbusProtoNodeIdentifierElementTypePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOption string const ( @@ -2140,6 +2357,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionOutput) }).(EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionPtrOutput) } +func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOption] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOption]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2175,6 +2398,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionPtrOutpu return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOption] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOption]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionPtrOutput) Elem() EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOption) EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOption { if v != nil { @@ -2237,6 +2466,12 @@ func (in *enterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionPtr) T return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionPtrOutput) } +func (in *enterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOption] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOption]{ + OutputState: in.ToEnterpriseCrmEventbusProtoParamSpecEntryConfigInputDisplayOptionPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOption string const ( @@ -2310,6 +2545,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionOutput) }).(EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionPtrOutput) } +func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOption] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOption]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2345,6 +2586,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionPtrOutp return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOption] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOption]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionPtrOutput) Elem() EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOption) EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOption { if v != nil { @@ -2407,6 +2654,12 @@ func (in *enterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionPtr) return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionPtrOutput) } +func (in *enterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOption] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOption]{ + OutputState: in.ToEnterpriseCrmEventbusProtoParamSpecEntryConfigParameterNameOptionPtrOutputWithContext(ctx).OutputState, + } +} + // State to which the execution snapshot status will be set if the task succeeds. type EnterpriseCrmEventbusProtoSuccessPolicyFinalState string @@ -2478,6 +2731,12 @@ func (o EnterpriseCrmEventbusProtoSuccessPolicyFinalStateOutput) ToEnterpriseCrm }).(EnterpriseCrmEventbusProtoSuccessPolicyFinalStatePtrOutput) } +func (o EnterpriseCrmEventbusProtoSuccessPolicyFinalStateOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoSuccessPolicyFinalState] { + return pulumix.Output[EnterpriseCrmEventbusProtoSuccessPolicyFinalState]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoSuccessPolicyFinalStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2513,6 +2772,12 @@ func (o EnterpriseCrmEventbusProtoSuccessPolicyFinalStatePtrOutput) ToEnterprise return o } +func (o EnterpriseCrmEventbusProtoSuccessPolicyFinalStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoSuccessPolicyFinalState] { + return pulumix.Output[*EnterpriseCrmEventbusProtoSuccessPolicyFinalState]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoSuccessPolicyFinalStatePtrOutput) Elem() EnterpriseCrmEventbusProtoSuccessPolicyFinalStateOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoSuccessPolicyFinalState) EnterpriseCrmEventbusProtoSuccessPolicyFinalState { if v != nil { @@ -2575,6 +2840,12 @@ func (in *enterpriseCrmEventbusProtoSuccessPolicyFinalStatePtr) ToEnterpriseCrmE return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoSuccessPolicyFinalStatePtrOutput) } +func (in *enterpriseCrmEventbusProtoSuccessPolicyFinalStatePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoSuccessPolicyFinalState] { + return pulumix.Output[*EnterpriseCrmEventbusProtoSuccessPolicyFinalState]{ + OutputState: in.ToEnterpriseCrmEventbusProtoSuccessPolicyFinalStatePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoTaskAlertConfigMetricType string const ( @@ -2652,6 +2923,12 @@ func (o EnterpriseCrmEventbusProtoTaskAlertConfigMetricTypeOutput) ToEnterpriseC }).(EnterpriseCrmEventbusProtoTaskAlertConfigMetricTypePtrOutput) } +func (o EnterpriseCrmEventbusProtoTaskAlertConfigMetricTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskAlertConfigMetricType] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskAlertConfigMetricType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskAlertConfigMetricTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2687,6 +2964,12 @@ func (o EnterpriseCrmEventbusProtoTaskAlertConfigMetricTypePtrOutput) ToEnterpri return o } +func (o EnterpriseCrmEventbusProtoTaskAlertConfigMetricTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskAlertConfigMetricType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskAlertConfigMetricType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskAlertConfigMetricTypePtrOutput) Elem() EnterpriseCrmEventbusProtoTaskAlertConfigMetricTypeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTaskAlertConfigMetricType) EnterpriseCrmEventbusProtoTaskAlertConfigMetricType { if v != nil { @@ -2749,6 +3032,12 @@ func (in *enterpriseCrmEventbusProtoTaskAlertConfigMetricTypePtr) ToEnterpriseCr return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoTaskAlertConfigMetricTypePtrOutput) } +func (in *enterpriseCrmEventbusProtoTaskAlertConfigMetricTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskAlertConfigMetricType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskAlertConfigMetricType]{ + OutputState: in.ToEnterpriseCrmEventbusProtoTaskAlertConfigMetricTypePtrOutputWithContext(ctx).OutputState, + } +} + // The threshold type for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired. type EnterpriseCrmEventbusProtoTaskAlertConfigThresholdType string @@ -2819,6 +3108,12 @@ func (o EnterpriseCrmEventbusProtoTaskAlertConfigThresholdTypeOutput) ToEnterpri }).(EnterpriseCrmEventbusProtoTaskAlertConfigThresholdTypePtrOutput) } +func (o EnterpriseCrmEventbusProtoTaskAlertConfigThresholdTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskAlertConfigThresholdType] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskAlertConfigThresholdType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskAlertConfigThresholdTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2854,6 +3149,12 @@ func (o EnterpriseCrmEventbusProtoTaskAlertConfigThresholdTypePtrOutput) ToEnter return o } +func (o EnterpriseCrmEventbusProtoTaskAlertConfigThresholdTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskAlertConfigThresholdType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskAlertConfigThresholdType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskAlertConfigThresholdTypePtrOutput) Elem() EnterpriseCrmEventbusProtoTaskAlertConfigThresholdTypeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTaskAlertConfigThresholdType) EnterpriseCrmEventbusProtoTaskAlertConfigThresholdType { if v != nil { @@ -2916,6 +3217,12 @@ func (in *enterpriseCrmEventbusProtoTaskAlertConfigThresholdTypePtr) ToEnterpris return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoTaskAlertConfigThresholdTypePtrOutput) } +func (in *enterpriseCrmEventbusProtoTaskAlertConfigThresholdTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskAlertConfigThresholdType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskAlertConfigThresholdType]{ + OutputState: in.ToEnterpriseCrmEventbusProtoTaskAlertConfigThresholdTypePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoTaskMetadataCategory string const ( @@ -2995,6 +3302,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataCategoryOutput) ToEnterpriseCrmEve }).(EnterpriseCrmEventbusProtoTaskMetadataCategoryPtrOutput) } +func (o EnterpriseCrmEventbusProtoTaskMetadataCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataCategory] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataCategory]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3030,6 +3343,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataCategoryPtrOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataCategory] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataCategory]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataCategoryPtrOutput) Elem() EnterpriseCrmEventbusProtoTaskMetadataCategoryOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTaskMetadataCategory) EnterpriseCrmEventbusProtoTaskMetadataCategory { if v != nil { @@ -3092,6 +3411,12 @@ func (in *enterpriseCrmEventbusProtoTaskMetadataCategoryPtr) ToEnterpriseCrmEven return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoTaskMetadataCategoryPtrOutput) } +func (in *enterpriseCrmEventbusProtoTaskMetadataCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataCategory] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataCategory]{ + OutputState: in.ToEnterpriseCrmEventbusProtoTaskMetadataCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task's execution. type EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOption string @@ -3168,6 +3493,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionOutput) }).(EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionPtrOutput) } +func (o EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOption] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOption]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3203,6 +3534,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionPtrOutp return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOption] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOption]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionPtrOutput) Elem() EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOption) EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOption { if v != nil { @@ -3265,6 +3602,12 @@ func (in *enterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionPtr) return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionPtrOutput) } +func (in *enterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOption] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOption]{ + OutputState: in.ToEnterpriseCrmEventbusProtoTaskMetadataDefaultJsonValidationOptionPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoTaskMetadataExternalCategory string const ( @@ -3357,6 +3700,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataExternalCategoryOutput) ToEnterpri }).(EnterpriseCrmEventbusProtoTaskMetadataExternalCategoryPtrOutput) } +func (o EnterpriseCrmEventbusProtoTaskMetadataExternalCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataExternalCategory] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataExternalCategory]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataExternalCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3392,6 +3741,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataExternalCategoryPtrOutput) ToEnter return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataExternalCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataExternalCategory] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataExternalCategory]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataExternalCategoryPtrOutput) Elem() EnterpriseCrmEventbusProtoTaskMetadataExternalCategoryOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTaskMetadataExternalCategory) EnterpriseCrmEventbusProtoTaskMetadataExternalCategory { if v != nil { @@ -3454,6 +3809,12 @@ func (in *enterpriseCrmEventbusProtoTaskMetadataExternalCategoryPtr) ToEnterpris return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoTaskMetadataExternalCategoryPtrOutput) } +func (in *enterpriseCrmEventbusProtoTaskMetadataExternalCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataExternalCategory] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataExternalCategory]{ + OutputState: in.ToEnterpriseCrmEventbusProtoTaskMetadataExternalCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // Allows author to indicate if the task is ready to use or not. If not set, then it will default to INACTIVE. type EnterpriseCrmEventbusProtoTaskMetadataStatus string @@ -3526,6 +3887,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataStatusOutput) ToEnterpriseCrmEvent }).(EnterpriseCrmEventbusProtoTaskMetadataStatusPtrOutput) } +func (o EnterpriseCrmEventbusProtoTaskMetadataStatusOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataStatus] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataStatus]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3561,6 +3928,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataStatusPtrOutput) ToEnterpriseCrmEv return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataStatus] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataStatus]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataStatusPtrOutput) Elem() EnterpriseCrmEventbusProtoTaskMetadataStatusOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTaskMetadataStatus) EnterpriseCrmEventbusProtoTaskMetadataStatus { if v != nil { @@ -3623,6 +3996,12 @@ func (in *enterpriseCrmEventbusProtoTaskMetadataStatusPtr) ToEnterpriseCrmEventb return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoTaskMetadataStatusPtrOutput) } +func (in *enterpriseCrmEventbusProtoTaskMetadataStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataStatus] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataStatus]{ + OutputState: in.ToEnterpriseCrmEventbusProtoTaskMetadataStatusPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoTaskMetadataSystem string const ( @@ -3699,6 +4078,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataSystemOutput) ToEnterpriseCrmEvent }).(EnterpriseCrmEventbusProtoTaskMetadataSystemPtrOutput) } +func (o EnterpriseCrmEventbusProtoTaskMetadataSystemOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataSystem] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataSystem]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataSystemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3734,6 +4119,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataSystemPtrOutput) ToEnterpriseCrmEv return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataSystemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataSystem] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataSystem]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataSystemPtrOutput) Elem() EnterpriseCrmEventbusProtoTaskMetadataSystemOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTaskMetadataSystem) EnterpriseCrmEventbusProtoTaskMetadataSystem { if v != nil { @@ -3796,6 +4187,12 @@ func (in *enterpriseCrmEventbusProtoTaskMetadataSystemPtr) ToEnterpriseCrmEventb return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoTaskMetadataSystemPtrOutput) } +func (in *enterpriseCrmEventbusProtoTaskMetadataSystemPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataSystem] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadataSystem]{ + OutputState: in.ToEnterpriseCrmEventbusProtoTaskMetadataSystemPtrOutputWithContext(ctx).OutputState, + } +} + // ID of the config module. type EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleId string @@ -3902,6 +4299,12 @@ func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdOutput) ToEnterprise }).(EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdPtrOutput) } +func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleId] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleId]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3937,6 +4340,12 @@ func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdPtrOutput) ToEnterpr return o } +func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleId] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleId]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdPtrOutput) Elem() EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleId) EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleId { if v != nil { @@ -3999,6 +4408,12 @@ func (in *enterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdPtr) ToEnterpriseC return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdPtrOutput) } +func (in *enterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleId] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleId]{ + OutputState: in.ToEnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType string const ( @@ -4086,6 +4501,12 @@ func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypeOutput) ToEnterpr }).(EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypePtrOutput) } +func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType] { + return pulumix.Output[EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4121,6 +4542,12 @@ func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypePtrOutput) ToEnte return o } +func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypePtrOutput) Elem() EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType) EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType { if v != nil { @@ -4183,6 +4610,12 @@ func (in *enterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypePtr) ToEnterpri return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypePtrOutput) } +func (in *enterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType]{ + OutputState: in.ToEnterpriseCrmEventbusProtoWorkflowAlertConfigMetricTypePtrOutputWithContext(ctx).OutputState, + } +} + // The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired. type EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType string @@ -4253,6 +4686,12 @@ func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypeOutput) ToEnte }).(EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypePtrOutput) } +func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType] { + return pulumix.Output[EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4288,6 +4727,12 @@ func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypePtrOutput) ToE return o } +func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypePtrOutput) Elem() EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType) EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType { if v != nil { @@ -4350,6 +4795,12 @@ func (in *enterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypePtr) ToEnter return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypePtrOutput) } +func (in *enterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType]{ + OutputState: in.ToEnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdTypePtrOutputWithContext(ctx).OutputState, + } +} + // Whether to include or exclude the enums matching the regex. type EnterpriseCrmEventbusStatsDimensionsEnumFilterType string @@ -4418,6 +4869,12 @@ func (o EnterpriseCrmEventbusStatsDimensionsEnumFilterTypeOutput) ToEnterpriseCr }).(EnterpriseCrmEventbusStatsDimensionsEnumFilterTypePtrOutput) } +func (o EnterpriseCrmEventbusStatsDimensionsEnumFilterTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusStatsDimensionsEnumFilterType] { + return pulumix.Output[EnterpriseCrmEventbusStatsDimensionsEnumFilterType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusStatsDimensionsEnumFilterTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4453,6 +4910,12 @@ func (o EnterpriseCrmEventbusStatsDimensionsEnumFilterTypePtrOutput) ToEnterpris return o } +func (o EnterpriseCrmEventbusStatsDimensionsEnumFilterTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusStatsDimensionsEnumFilterType] { + return pulumix.Output[*EnterpriseCrmEventbusStatsDimensionsEnumFilterType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusStatsDimensionsEnumFilterTypePtrOutput) Elem() EnterpriseCrmEventbusStatsDimensionsEnumFilterTypeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusStatsDimensionsEnumFilterType) EnterpriseCrmEventbusStatsDimensionsEnumFilterType { if v != nil { @@ -4515,6 +4978,12 @@ func (in *enterpriseCrmEventbusStatsDimensionsEnumFilterTypePtr) ToEnterpriseCrm return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusStatsDimensionsEnumFilterTypePtrOutput) } +func (in *enterpriseCrmEventbusStatsDimensionsEnumFilterTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusStatsDimensionsEnumFilterType] { + return pulumix.Output[*EnterpriseCrmEventbusStatsDimensionsEnumFilterType]{ + OutputState: in.ToEnterpriseCrmEventbusStatsDimensionsEnumFilterTypePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusStatsDimensionsRetryAttempt string const ( @@ -4587,6 +5056,12 @@ func (o EnterpriseCrmEventbusStatsDimensionsRetryAttemptOutput) ToEnterpriseCrmE }).(EnterpriseCrmEventbusStatsDimensionsRetryAttemptPtrOutput) } +func (o EnterpriseCrmEventbusStatsDimensionsRetryAttemptOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusStatsDimensionsRetryAttempt] { + return pulumix.Output[EnterpriseCrmEventbusStatsDimensionsRetryAttempt]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusStatsDimensionsRetryAttemptOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4622,6 +5097,12 @@ func (o EnterpriseCrmEventbusStatsDimensionsRetryAttemptPtrOutput) ToEnterpriseC return o } +func (o EnterpriseCrmEventbusStatsDimensionsRetryAttemptPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusStatsDimensionsRetryAttempt] { + return pulumix.Output[*EnterpriseCrmEventbusStatsDimensionsRetryAttempt]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusStatsDimensionsRetryAttemptPtrOutput) Elem() EnterpriseCrmEventbusStatsDimensionsRetryAttemptOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusStatsDimensionsRetryAttempt) EnterpriseCrmEventbusStatsDimensionsRetryAttempt { if v != nil { @@ -4684,6 +5165,12 @@ func (in *enterpriseCrmEventbusStatsDimensionsRetryAttemptPtr) ToEnterpriseCrmEv return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmEventbusStatsDimensionsRetryAttemptPtrOutput) } +func (in *enterpriseCrmEventbusStatsDimensionsRetryAttemptPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusStatsDimensionsRetryAttempt] { + return pulumix.Output[*EnterpriseCrmEventbusStatsDimensionsRetryAttempt]{ + OutputState: in.ToEnterpriseCrmEventbusStatsDimensionsRetryAttemptPtrOutputWithContext(ctx).OutputState, + } +} + // The data type of the parameter. type EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataType string @@ -4769,6 +5256,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypeOutput) ToEnter }).(EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypePtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataType] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4804,6 +5297,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypePtrOutput) ToEn return o } +func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypePtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypeOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataType) EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataType { if v != nil { @@ -4866,6 +5365,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypePtr) ToEnterp return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypePtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataType]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoParamSpecEntryDataTypePtrOutputWithContext(ctx).OutputState, + } +} + // Explicitly getting the type of the parameter. type EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType string @@ -4951,6 +5456,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypeOutput) ToEnter }).(EnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypePtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -4986,6 +5497,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypePtrOutput) ToEn return o } +func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypePtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypeOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType) EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType { if v != nil { @@ -5048,6 +5565,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoParameterEntryDataTypePtr) ToEnterp return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypePtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoParameterEntryDataTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskType string const ( @@ -5119,6 +5642,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypeOutput) ToE }).(EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypePtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskType] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5154,6 +5683,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypePtrOutput) return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypePtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypeOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskType) EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskType { if v != nil { @@ -5216,6 +5751,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypePtr) ToEn return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypePtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskType]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoTaskConfigExternalTaskTypePtrOutputWithContext(ctx).OutputState, + } +} + // If set, overrides the option configured in the Task implementation class. type EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOption string @@ -5292,6 +5833,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionOutput) }).(EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOption] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOption]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5327,6 +5874,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionPtrOutp return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOption] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOption]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOption) EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOption { if v != nil { @@ -5389,6 +5942,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionPtr) return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionPtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOption] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOption]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoTaskConfigJsonValidationOptionPtrOutputWithContext(ctx).OutputState, + } +} + // The policy dictating the execution of the next set of tasks for the current task. type EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicy string @@ -5461,6 +6020,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyOut }).(EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicy] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5496,6 +6061,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyPtr return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicy] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicy) EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicy { if v != nil { @@ -5558,6 +6129,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyP return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyPtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicy] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicy]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoTaskConfigNextTasksExecutionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The policy dictating the execution strategy of this task. type EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategy string @@ -5630,6 +6207,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyOutput }).(EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategy] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5665,6 +6248,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyPtrOut return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategy] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategy) EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategy { if v != nil { @@ -5727,6 +6316,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyPtr) return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyPtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategy] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategy]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoTaskConfigTaskExecutionStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the type of the task type EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskType string @@ -5799,6 +6394,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypeOutput) ToEnterpris }).(EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypePtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskType] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -5834,6 +6435,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypePtrOutput) ToEnterp return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypePtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypeOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskType) EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskType { if v != nil { @@ -5896,6 +6503,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypePtr) ToEnterprise return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypePtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskConfigTaskType]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoTaskConfigTaskTypePtrOutputWithContext(ctx).OutputState, + } +} + // Defines the type of the task type EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskType string @@ -5968,6 +6581,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypeOutput) ToEnterpris }).(EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypePtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskType] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6003,6 +6622,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypePtrOutput) ToEnterp return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypePtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypeOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskType) EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskType { if v != nil { @@ -6065,6 +6690,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypePtr) ToEnterprise return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypePtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskEntityTaskType]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoTaskEntityTaskTypePtrOutputWithContext(ctx).OutputState, + } +} + // Dictates how next tasks will be executed. type EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy string @@ -6137,6 +6768,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy }).(EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicyPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6172,6 +6809,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy return o } +func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicyPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicyOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy) EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy { if v != nil { @@ -6234,6 +6877,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPoli return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicyPtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicy]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoTriggerConfigNextTasksExecutionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerType string const ( @@ -6312,6 +6961,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypeOutput) ToEnt }).(EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypePtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerType] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6347,6 +7002,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypePtrOutput) To return o } +func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypePtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypeOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerType) EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerType { if v != nil { @@ -6409,6 +7070,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypePtr) ToEnte return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypePtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerType]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoTriggerConfigTriggerTypePtrOutputWithContext(ctx).OutputState, + } +} + // The data type of the parameter. type EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataType string @@ -6494,6 +7161,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypeOutput) }).(EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypePtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataType] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6529,6 +7202,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypePtrOutp return o } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypePtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypeOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataType) EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataType { if v != nil { @@ -6591,6 +7270,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypePtr) return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypePtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataType]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryDataTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the input/output type for the parameter. type EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutType string @@ -6664,6 +7349,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypeOutput }).(EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypePtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutType] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6699,6 +7390,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypePtrOut return o } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypePtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypeOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutType) EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutType { if v != nil { @@ -6761,6 +7458,12 @@ func (in *enterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypePtr) return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypePtrOutput) } +func (in *enterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutType]{ + OutputState: in.ToEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryInOutTypePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmLoggingGwsFieldLimitsLogAction string const ( @@ -6829,6 +7532,12 @@ func (o EnterpriseCrmLoggingGwsFieldLimitsLogActionOutput) ToEnterpriseCrmLoggin }).(EnterpriseCrmLoggingGwsFieldLimitsLogActionPtrOutput) } +func (o EnterpriseCrmLoggingGwsFieldLimitsLogActionOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsFieldLimitsLogAction] { + return pulumix.Output[EnterpriseCrmLoggingGwsFieldLimitsLogAction]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsFieldLimitsLogActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -6864,6 +7573,12 @@ func (o EnterpriseCrmLoggingGwsFieldLimitsLogActionPtrOutput) ToEnterpriseCrmLog return o } +func (o EnterpriseCrmLoggingGwsFieldLimitsLogActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsLogAction] { + return pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsLogAction]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsFieldLimitsLogActionPtrOutput) Elem() EnterpriseCrmLoggingGwsFieldLimitsLogActionOutput { return o.ApplyT(func(v *EnterpriseCrmLoggingGwsFieldLimitsLogAction) EnterpriseCrmLoggingGwsFieldLimitsLogAction { if v != nil { @@ -6926,6 +7641,12 @@ func (in *enterpriseCrmLoggingGwsFieldLimitsLogActionPtr) ToEnterpriseCrmLogging return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmLoggingGwsFieldLimitsLogActionPtrOutput) } +func (in *enterpriseCrmLoggingGwsFieldLimitsLogActionPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsLogAction] { + return pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsLogAction]{ + OutputState: in.ToEnterpriseCrmLoggingGwsFieldLimitsLogActionPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem string const ( @@ -6998,6 +7719,12 @@ func (o EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemOutput) ToEnterpriseCrmLogg }).(EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemPtrOutput) } +func (o EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem] { + return pulumix.Output[EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7033,6 +7760,12 @@ func (o EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemPtrOutput) ToEnterpriseCrmL return o } +func (o EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem] { + return pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemPtrOutput) Elem() EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemOutput { return o.ApplyT(func(v *EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem) EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem { if v != nil { @@ -7095,6 +7828,12 @@ func (in *enterpriseCrmLoggingGwsFieldLimitsLogTypeItemPtr) ToEnterpriseCrmLoggi return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemPtrOutput) } +func (in *enterpriseCrmLoggingGwsFieldLimitsLogTypeItemPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem] { + return pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem]{ + OutputState: in.ToEnterpriseCrmLoggingGwsFieldLimitsLogTypeItemPtrOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArrayInput is an input type that accepts EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArray and EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArrayInput` via: // @@ -7120,6 +7859,12 @@ func (i EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArray) ToEnterpriseCrmLoggi return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArrayOutput) } +func (i EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem] { + return pulumix.Output[[]EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem]{ + OutputState: i.ToEnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArrayOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArrayOutput) ElementType() reflect.Type { @@ -7134,6 +7879,12 @@ func (o EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArrayOutput) ToEnterpriseCr return o } +func (o EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem] { + return pulumix.Output[[]EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmLoggingGwsFieldLimitsLogTypeItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem { return vs[0].([]EnterpriseCrmLoggingGwsFieldLimitsLogTypeItem)[vs[1].(int)] @@ -7218,6 +7969,12 @@ func (o EnterpriseCrmLoggingGwsFieldLimitsShortenerTypeOutput) ToEnterpriseCrmLo }).(EnterpriseCrmLoggingGwsFieldLimitsShortenerTypePtrOutput) } +func (o EnterpriseCrmLoggingGwsFieldLimitsShortenerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsFieldLimitsShortenerType] { + return pulumix.Output[EnterpriseCrmLoggingGwsFieldLimitsShortenerType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsFieldLimitsShortenerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7253,6 +8010,12 @@ func (o EnterpriseCrmLoggingGwsFieldLimitsShortenerTypePtrOutput) ToEnterpriseCr return o } +func (o EnterpriseCrmLoggingGwsFieldLimitsShortenerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsShortenerType] { + return pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsShortenerType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsFieldLimitsShortenerTypePtrOutput) Elem() EnterpriseCrmLoggingGwsFieldLimitsShortenerTypeOutput { return o.ApplyT(func(v *EnterpriseCrmLoggingGwsFieldLimitsShortenerType) EnterpriseCrmLoggingGwsFieldLimitsShortenerType { if v != nil { @@ -7315,6 +8078,12 @@ func (in *enterpriseCrmLoggingGwsFieldLimitsShortenerTypePtr) ToEnterpriseCrmLog return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmLoggingGwsFieldLimitsShortenerTypePtrOutput) } +func (in *enterpriseCrmLoggingGwsFieldLimitsShortenerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsShortenerType] { + return pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimitsShortenerType]{ + OutputState: in.ToEnterpriseCrmLoggingGwsFieldLimitsShortenerTypePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem string const ( @@ -7387,6 +8156,12 @@ func (o EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemOutput) ToEnterpriseCrm }).(EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemPtrOutput) } +func (o EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem] { + return pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7422,6 +8197,12 @@ func (o EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemPtrOutput) ToEnterprise return o } +func (o EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem] { + return pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemPtrOutput) Elem() EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemOutput { return o.ApplyT(func(v *EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem) EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem { if v != nil { @@ -7484,6 +8265,12 @@ func (in *enterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemPtr) ToEnterpriseCrmL return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemPtrOutput) } +func (in *enterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem] { + return pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem]{ + OutputState: in.ToEnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemPtrOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArrayInput is an input type that accepts EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArray and EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArrayInput` via: // @@ -7509,6 +8296,12 @@ func (i EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArray) ToEnterpriseCrmL return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArrayOutput) } +func (i EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem] { + return pulumix.Output[[]EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem]{ + OutputState: i.ToEnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArrayOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArrayOutput) ElementType() reflect.Type { @@ -7523,6 +8316,12 @@ func (o EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArrayOutput) ToEnterpri return o } +func (o EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem] { + return pulumix.Output[[]EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem { return vs[0].([]EnterpriseCrmLoggingGwsSanitizeOptionsLogTypeItem)[vs[1].(int)] @@ -7603,6 +8402,12 @@ func (o EnterpriseCrmLoggingGwsSanitizeOptionsPrivacyOutput) ToEnterpriseCrmLogg }).(EnterpriseCrmLoggingGwsSanitizeOptionsPrivacyPtrOutput) } +func (o EnterpriseCrmLoggingGwsSanitizeOptionsPrivacyOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptionsPrivacy] { + return pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptionsPrivacy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsSanitizeOptionsPrivacyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7638,6 +8443,12 @@ func (o EnterpriseCrmLoggingGwsSanitizeOptionsPrivacyPtrOutput) ToEnterpriseCrmL return o } +func (o EnterpriseCrmLoggingGwsSanitizeOptionsPrivacyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsPrivacy] { + return pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsPrivacy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsSanitizeOptionsPrivacyPtrOutput) Elem() EnterpriseCrmLoggingGwsSanitizeOptionsPrivacyOutput { return o.ApplyT(func(v *EnterpriseCrmLoggingGwsSanitizeOptionsPrivacy) EnterpriseCrmLoggingGwsSanitizeOptionsPrivacy { if v != nil { @@ -7700,6 +8511,12 @@ func (in *enterpriseCrmLoggingGwsSanitizeOptionsPrivacyPtr) ToEnterpriseCrmLoggi return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmLoggingGwsSanitizeOptionsPrivacyPtrOutput) } +func (in *enterpriseCrmLoggingGwsSanitizeOptionsPrivacyPtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsPrivacy] { + return pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsPrivacy]{ + OutputState: in.ToEnterpriseCrmLoggingGwsSanitizeOptionsPrivacyPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeType string const ( @@ -7778,6 +8595,12 @@ func (o EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypeOutput) ToEnterpriseCr }).(EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypePtrOutput) } +func (o EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeType] { + return pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -7813,6 +8636,12 @@ func (o EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypePtrOutput) ToEnterpris return o } +func (o EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeType] { + return pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypePtrOutput) Elem() EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypeOutput { return o.ApplyT(func(v *EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeType) EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeType { if v != nil { @@ -7875,6 +8704,12 @@ func (in *enterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypePtr) ToEnterpriseCrm return pulumi.ToOutputWithContext(ctx, in).(EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypePtrOutput) } +func (in *enterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeType] { + return pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptionsSanitizeType]{ + OutputState: in.ToEnterpriseCrmLoggingGwsSanitizeOptionsSanitizeTypePtrOutputWithContext(ctx).OutputState, + } +} + // Credential type associated with auth config. type GoogleCloudIntegrationsV1alphaCredentialCredentialType string @@ -7965,6 +8800,12 @@ func (o GoogleCloudIntegrationsV1alphaCredentialCredentialTypeOutput) ToGoogleCl }).(GoogleCloudIntegrationsV1alphaCredentialCredentialTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaCredentialCredentialTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaCredentialCredentialType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaCredentialCredentialType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaCredentialCredentialTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8000,6 +8841,12 @@ func (o GoogleCloudIntegrationsV1alphaCredentialCredentialTypePtrOutput) ToGoogl return o } +func (o GoogleCloudIntegrationsV1alphaCredentialCredentialTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaCredentialCredentialType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaCredentialCredentialType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaCredentialCredentialTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaCredentialCredentialTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaCredentialCredentialType) GoogleCloudIntegrationsV1alphaCredentialCredentialType { if v != nil { @@ -8062,6 +8909,12 @@ func (in *googleCloudIntegrationsV1alphaCredentialCredentialTypePtr) ToGoogleClo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaCredentialCredentialTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaCredentialCredentialTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaCredentialCredentialType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaCredentialCredentialType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaCredentialCredentialTypePtrOutputWithContext(ctx).OutputState, + } +} + // Defines what happens to the task upon failure. type GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy string @@ -8144,6 +8997,12 @@ func (o GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategyOutput) ToGoogle }).(GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategyPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8179,6 +9038,12 @@ func (o GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategyPtrOutput) ToGoo return o } +func (o GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategyPtrOutput) Elem() GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategyOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy) GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy { if v != nil { @@ -8241,6 +9106,12 @@ func (in *googleCloudIntegrationsV1alphaFailurePolicyRetryStrategyPtr) ToGoogleC return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategyPtrOutput) } +func (in *googleCloudIntegrationsV1alphaFailurePolicyRetryStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategy]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaFailurePolicyRetryStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // The type of metric. type GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType string @@ -8329,6 +9200,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypeOutput) To }).(GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8364,6 +9241,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypePtrOutput) return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType) GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType { if v != nil { @@ -8426,6 +9309,12 @@ func (in *googleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypePtr) ToG return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaIntegrationAlertConfigMetricTypePtrOutputWithContext(ctx).OutputState, + } +} + // The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired. type GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType string @@ -8498,6 +9387,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypeOutput) }).(GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8533,6 +9428,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypePtrOutp return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType) GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType { if v != nil { @@ -8595,6 +9496,12 @@ func (in *googleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypePtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the parameter. type GoogleCloudIntegrationsV1alphaIntegrationParameterDataType string @@ -8685,6 +9592,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationParameterDataTypeOutput) ToGoog }).(GoogleCloudIntegrationsV1alphaIntegrationParameterDataTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaIntegrationParameterDataTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationParameterDataType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationParameterDataType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationParameterDataTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8720,6 +9633,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationParameterDataTypePtrOutput) ToG return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationParameterDataTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationParameterDataType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationParameterDataType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationParameterDataTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaIntegrationParameterDataTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaIntegrationParameterDataType) GoogleCloudIntegrationsV1alphaIntegrationParameterDataType { if v != nil { @@ -8782,6 +9701,12 @@ func (in *googleCloudIntegrationsV1alphaIntegrationParameterDataTypePtr) ToGoogl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaIntegrationParameterDataTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaIntegrationParameterDataTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationParameterDataType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationParameterDataType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaIntegrationParameterDataTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the input/output type for the parameter. type GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputType string @@ -8856,6 +9781,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypeOutput) }).(GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -8891,6 +9822,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypePtrOutp return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputType) GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputType { if v != nil { @@ -8953,6 +9890,12 @@ func (in *googleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypePtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaIntegrationParameterInputOutputTypePtrOutputWithContext(ctx).OutputState, + } +} + // Represent how to pass parameters to fetch access token type GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestType string @@ -9027,6 +9970,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypeOutput) }).(GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9062,6 +10011,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypePtrOutpu return o } +func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestType) GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestType { if v != nil { @@ -9124,6 +10079,12 @@ func (in *googleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypePtr) T return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeRequestTypePtrOutputWithContext(ctx).OutputState, + } +} + // Represent how to pass parameters to fetch access token type GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestType string @@ -9198,6 +10159,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypeOutput) }).(GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9233,6 +10200,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypePtrOutpu return o } +func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestType) GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestType { if v != nil { @@ -9295,6 +10268,12 @@ func (in *googleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypePtr) T return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsRequestTypePtrOutputWithContext(ctx).OutputState, + } +} + // Represent how to pass parameters to fetch access token type GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType string @@ -9369,6 +10348,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypeO }).(GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9404,6 +10389,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypeP return o } +func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType) GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType { if v != nil { @@ -9466,6 +10457,12 @@ func (in *googleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsRequestTypePtrOutputWithContext(ctx).OutputState, + } +} + // Option to specify key type for all entries of the map. If provided then field types for all entries must conform to this. type GoogleCloudIntegrationsV1alphaParameterMapKeyType string @@ -9556,6 +10553,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapKeyTypeOutput) ToGoogleCloudIn }).(GoogleCloudIntegrationsV1alphaParameterMapKeyTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaParameterMapKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapKeyType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapKeyType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaParameterMapKeyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9591,6 +10594,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapKeyTypePtrOutput) ToGoogleClou return o } +func (o GoogleCloudIntegrationsV1alphaParameterMapKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapKeyType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapKeyType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaParameterMapKeyTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaParameterMapKeyTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaParameterMapKeyType) GoogleCloudIntegrationsV1alphaParameterMapKeyType { if v != nil { @@ -9653,6 +10662,12 @@ func (in *googleCloudIntegrationsV1alphaParameterMapKeyTypePtr) ToGoogleCloudInt return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaParameterMapKeyTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaParameterMapKeyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapKeyType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapKeyType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaParameterMapKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Option to specify value type for all entries of the map. If provided then field types for all entries must conform to this. type GoogleCloudIntegrationsV1alphaParameterMapValueType string @@ -9743,6 +10758,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapValueTypeOutput) ToGoogleCloud }).(GoogleCloudIntegrationsV1alphaParameterMapValueTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaParameterMapValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapValueType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapValueType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaParameterMapValueTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9778,6 +10799,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapValueTypePtrOutput) ToGoogleCl return o } +func (o GoogleCloudIntegrationsV1alphaParameterMapValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapValueType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapValueType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaParameterMapValueTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaParameterMapValueTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaParameterMapValueType) GoogleCloudIntegrationsV1alphaParameterMapValueType { if v != nil { @@ -9840,6 +10867,12 @@ func (in *googleCloudIntegrationsV1alphaParameterMapValueTypePtr) ToGoogleCloudI return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaParameterMapValueTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaParameterMapValueTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapValueType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapValueType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaParameterMapValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // State to which the execution snapshot status will be set if the task succeeds. type GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState string @@ -9912,6 +10945,12 @@ func (o GoogleCloudIntegrationsV1alphaSuccessPolicyFinalStateOutput) ToGoogleClo }).(GoogleCloudIntegrationsV1alphaSuccessPolicyFinalStatePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaSuccessPolicyFinalStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaSuccessPolicyFinalStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -9947,6 +10986,12 @@ func (o GoogleCloudIntegrationsV1alphaSuccessPolicyFinalStatePtrOutput) ToGoogle return o } +func (o GoogleCloudIntegrationsV1alphaSuccessPolicyFinalStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaSuccessPolicyFinalStatePtrOutput) Elem() GoogleCloudIntegrationsV1alphaSuccessPolicyFinalStateOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState) GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState { if v != nil { @@ -10009,6 +11054,12 @@ func (in *googleCloudIntegrationsV1alphaSuccessPolicyFinalStatePtr) ToGoogleClou return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaSuccessPolicyFinalStatePtrOutput) } +func (in *googleCloudIntegrationsV1alphaSuccessPolicyFinalStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaSuccessPolicyFinalStatePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. External task type of the task type GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskType string @@ -10081,6 +11132,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskTypeOutput) ToGoogle }).(GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10116,6 +11173,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskTypePtrOutput) ToGoo return o } +func (o GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskType) GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskType { if v != nil { @@ -10178,6 +11241,12 @@ func (in *googleCloudIntegrationsV1alphaTaskConfigExternalTaskTypePtr) ToGoogleC return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaTaskConfigExternalTaskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigExternalTaskType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaTaskConfigExternalTaskTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. If set, overrides the option configured in the Task implementation class. type GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOption string @@ -10254,6 +11323,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionOutput) ToGo }).(GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOption] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOption]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10289,6 +11364,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionPtrOutput) T return o } +func (o GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOption] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOption]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionPtrOutput) Elem() GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOption) GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOption { if v != nil { @@ -10351,6 +11432,12 @@ func (in *googleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionPtr) ToGoo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionPtrOutput) } +func (in *googleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOption] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOption]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaTaskConfigJsonValidationOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The policy dictating the execution of the next set of tasks for the current task. type GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicy string @@ -10423,6 +11510,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyOutput) }).(GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicy] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10458,6 +11551,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyPtrOutpu return o } +func (o GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyPtrOutput) Elem() GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicy) GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicy { if v != nil { @@ -10520,6 +11619,12 @@ func (in *googleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyPtr) T return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyPtrOutput) } +func (in *googleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicy]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaTaskConfigNextTasksExecutionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The policy dictating the execution strategy of this task. type GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategy string @@ -10594,6 +11699,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyOutput) ToG }).(GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategy] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10629,6 +11740,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyPtrOutput) return o } +func (o GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyPtrOutput) Elem() GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategy) GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategy { if v != nil { @@ -10691,6 +11808,12 @@ func (in *googleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyPtr) ToGo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyPtrOutput) } +func (in *googleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategy]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaTaskConfigTaskExecutionStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Dictates how next tasks will be executed. type GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicy string @@ -10763,6 +11886,12 @@ func (o GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyOutpu }).(GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicy] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10798,6 +11927,12 @@ func (o GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyPtrOu return o } +func (o GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyPtrOutput) Elem() GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicy) GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicy { if v != nil { @@ -10860,6 +11995,12 @@ func (in *googleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyPtr return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyPtrOutput) } +func (in *googleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicy]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaTriggerConfigNextTasksExecutionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Type of trigger type GoogleCloudIntegrationsV1alphaTriggerConfigTriggerType string @@ -10940,6 +12081,12 @@ func (o GoogleCloudIntegrationsV1alphaTriggerConfigTriggerTypeOutput) ToGoogleCl }).(GoogleCloudIntegrationsV1alphaTriggerConfigTriggerTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaTriggerConfigTriggerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTriggerConfigTriggerType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTriggerConfigTriggerType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTriggerConfigTriggerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -10975,6 +12122,12 @@ func (o GoogleCloudIntegrationsV1alphaTriggerConfigTriggerTypePtrOutput) ToGoogl return o } +func (o GoogleCloudIntegrationsV1alphaTriggerConfigTriggerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTriggerConfigTriggerType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTriggerConfigTriggerType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTriggerConfigTriggerTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaTriggerConfigTriggerTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaTriggerConfigTriggerType) GoogleCloudIntegrationsV1alphaTriggerConfigTriggerType { if v != nil { @@ -11037,6 +12190,12 @@ func (in *googleCloudIntegrationsV1alphaTriggerConfigTriggerTypePtr) ToGoogleClo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudIntegrationsV1alphaTriggerConfigTriggerTypePtrOutput) } +func (in *googleCloudIntegrationsV1alphaTriggerConfigTriggerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaTriggerConfigTriggerType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaTriggerConfigTriggerType]{ + OutputState: in.ToGoogleCloudIntegrationsV1alphaTriggerConfigTriggerTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index. type TemplatesVersionDatabasePersistencePolicy string @@ -11107,6 +12266,12 @@ func (o TemplatesVersionDatabasePersistencePolicyOutput) ToTemplatesVersionDatab }).(TemplatesVersionDatabasePersistencePolicyPtrOutput) } +func (o TemplatesVersionDatabasePersistencePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[TemplatesVersionDatabasePersistencePolicy] { + return pulumix.Output[TemplatesVersionDatabasePersistencePolicy]{ + OutputState: o.OutputState, + } +} + func (o TemplatesVersionDatabasePersistencePolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11142,6 +12307,12 @@ func (o TemplatesVersionDatabasePersistencePolicyPtrOutput) ToTemplatesVersionDa return o } +func (o TemplatesVersionDatabasePersistencePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TemplatesVersionDatabasePersistencePolicy] { + return pulumix.Output[*TemplatesVersionDatabasePersistencePolicy]{ + OutputState: o.OutputState, + } +} + func (o TemplatesVersionDatabasePersistencePolicyPtrOutput) Elem() TemplatesVersionDatabasePersistencePolicyOutput { return o.ApplyT(func(v *TemplatesVersionDatabasePersistencePolicy) TemplatesVersionDatabasePersistencePolicy { if v != nil { @@ -11204,6 +12375,12 @@ func (in *templatesVersionDatabasePersistencePolicyPtr) ToTemplatesVersionDataba return pulumi.ToOutputWithContext(ctx, in).(TemplatesVersionDatabasePersistencePolicyPtrOutput) } +func (in *templatesVersionDatabasePersistencePolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*TemplatesVersionDatabasePersistencePolicy] { + return pulumix.Output[*TemplatesVersionDatabasePersistencePolicy]{ + OutputState: in.ToTemplatesVersionDatabasePersistencePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Generated by eventbus. User should not set it as an input. type TemplatesVersionStatus string @@ -11285,6 +12462,12 @@ func (o VersionDatabasePersistencePolicyOutput) ToVersionDatabasePersistencePoli }).(VersionDatabasePersistencePolicyPtrOutput) } +func (o VersionDatabasePersistencePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[VersionDatabasePersistencePolicy] { + return pulumix.Output[VersionDatabasePersistencePolicy]{ + OutputState: o.OutputState, + } +} + func (o VersionDatabasePersistencePolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11320,6 +12503,12 @@ func (o VersionDatabasePersistencePolicyPtrOutput) ToVersionDatabasePersistenceP return o } +func (o VersionDatabasePersistencePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionDatabasePersistencePolicy] { + return pulumix.Output[*VersionDatabasePersistencePolicy]{ + OutputState: o.OutputState, + } +} + func (o VersionDatabasePersistencePolicyPtrOutput) Elem() VersionDatabasePersistencePolicyOutput { return o.ApplyT(func(v *VersionDatabasePersistencePolicy) VersionDatabasePersistencePolicy { if v != nil { @@ -11382,6 +12571,12 @@ func (in *versionDatabasePersistencePolicyPtr) ToVersionDatabasePersistencePolic return pulumi.ToOutputWithContext(ctx, in).(VersionDatabasePersistencePolicyPtrOutput) } +func (in *versionDatabasePersistencePolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*VersionDatabasePersistencePolicy] { + return pulumix.Output[*VersionDatabasePersistencePolicy]{ + OutputState: in.ToVersionDatabasePersistencePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The origin that indicates where this integration is coming from. type VersionOrigin string @@ -11457,6 +12652,12 @@ func (o VersionOriginOutput) ToVersionOriginPtrOutputWithContext(ctx context.Con }).(VersionOriginPtrOutput) } +func (o VersionOriginOutput) ToOutput(ctx context.Context) pulumix.Output[VersionOrigin] { + return pulumix.Output[VersionOrigin]{ + OutputState: o.OutputState, + } +} + func (o VersionOriginOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -11492,6 +12693,12 @@ func (o VersionOriginPtrOutput) ToVersionOriginPtrOutputWithContext(ctx context. return o } +func (o VersionOriginPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionOrigin] { + return pulumix.Output[*VersionOrigin]{ + OutputState: o.OutputState, + } +} + func (o VersionOriginPtrOutput) Elem() VersionOriginOutput { return o.ApplyT(func(v *VersionOrigin) VersionOrigin { if v != nil { @@ -11554,6 +12761,12 @@ func (in *versionOriginPtr) ToVersionOriginPtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(VersionOriginPtrOutput) } +func (in *versionOriginPtr) ToOutput(ctx context.Context) pulumix.Output[*VersionOrigin] { + return pulumix.Output[*VersionOrigin]{ + OutputState: in.ToVersionOriginPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuthConfigCredentialTypeInput)(nil)).Elem(), AuthConfigCredentialType("CREDENTIAL_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuthConfigCredentialTypePtrInput)(nil)).Elem(), AuthConfigCredentialType("CREDENTIAL_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/integrations/v1alpha/pulumiTypes.go b/sdk/go/google/integrations/v1alpha/pulumiTypes.go index d7eed3d305..7503e1f77f 100644 --- a/sdk/go/google/integrations/v1alpha/pulumiTypes.go +++ b/sdk/go/google/integrations/v1alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -74,6 +75,12 @@ func (i EnterpriseCrmEventbusProtoAttributesArgs) ToEnterpriseCrmEventbusProtoAt return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoAttributesOutput) } +func (i EnterpriseCrmEventbusProtoAttributesArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoAttributes] { + return pulumix.Output[EnterpriseCrmEventbusProtoAttributes]{ + OutputState: i.ToEnterpriseCrmEventbusProtoAttributesOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoAttributesArgs) ToEnterpriseCrmEventbusProtoAttributesPtrOutput() EnterpriseCrmEventbusProtoAttributesPtrOutput { return i.ToEnterpriseCrmEventbusProtoAttributesPtrOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (i *enterpriseCrmEventbusProtoAttributesPtrType) ToEnterpriseCrmEventbusPro return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoAttributesPtrOutput) } +func (i *enterpriseCrmEventbusProtoAttributesPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoAttributes] { + return pulumix.Output[*EnterpriseCrmEventbusProtoAttributes]{ + OutputState: i.ToEnterpriseCrmEventbusProtoAttributesPtrOutputWithContext(ctx).OutputState, + } +} + // Attributes are additional options that can be associated with each event property. For more information, see type EnterpriseCrmEventbusProtoAttributesOutput struct{ *pulumi.OutputState } @@ -140,6 +153,12 @@ func (o EnterpriseCrmEventbusProtoAttributesOutput) ToEnterpriseCrmEventbusProto }).(EnterpriseCrmEventbusProtoAttributesPtrOutput) } +func (o EnterpriseCrmEventbusProtoAttributesOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoAttributes] { + return pulumix.Output[EnterpriseCrmEventbusProtoAttributes]{ + OutputState: o.OutputState, + } +} + // Things like URL, Email, Currency, Timestamp (rather than string, int64...) func (o EnterpriseCrmEventbusProtoAttributesOutput) DataType() EnterpriseCrmEventbusProtoAttributesDataTypePtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoAttributes) *EnterpriseCrmEventbusProtoAttributesDataType { @@ -198,6 +217,12 @@ func (o EnterpriseCrmEventbusProtoAttributesPtrOutput) ToEnterpriseCrmEventbusPr return o } +func (o EnterpriseCrmEventbusProtoAttributesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoAttributes] { + return pulumix.Output[*EnterpriseCrmEventbusProtoAttributes]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoAttributesPtrOutput) Elem() EnterpriseCrmEventbusProtoAttributesOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoAttributes) EnterpriseCrmEventbusProtoAttributes { if v != nil { @@ -313,6 +338,12 @@ func (o EnterpriseCrmEventbusProtoAttributesResponseOutput) ToEnterpriseCrmEvent return o } +func (o EnterpriseCrmEventbusProtoAttributesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoAttributesResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoAttributesResponse]{ + OutputState: o.OutputState, + } +} + // Things like URL, Email, Currency, Timestamp (rather than string, int64...) func (o EnterpriseCrmEventbusProtoAttributesResponseOutput) DataType() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoAttributesResponse) string { return v.DataType }).(pulumi.StringOutput) @@ -388,6 +419,12 @@ func (i EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListArgs) ToEnterprise return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListOutput) } +func (i EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList] { + return pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList]{ + OutputState: i.ToEnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListArgs) ToEnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrOutput() EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrOutput { return i.ToEnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrOutputWithContext(context.Background()) } @@ -429,6 +466,12 @@ func (i *enterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrType) ToEnterp return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrOutput) } +func (i *enterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList] { + return pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList]{ + OutputState: i.ToEnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrOutputWithContext(ctx).OutputState, + } +} + // List of error enums for alerts. type EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListOutput struct{ *pulumi.OutputState } @@ -454,6 +497,12 @@ func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListOutput) ToEnterpri }).(EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrOutput) } +func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList] { + return pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListOutput) EnumStrings() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList) []string { return v.EnumStrings }).(pulumi.StringArrayOutput) } @@ -478,6 +527,12 @@ func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrOutput) ToEnter return o } +func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList] { + return pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListPtrOutput) Elem() EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList) EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList { if v != nil { @@ -527,6 +582,12 @@ func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListResponseOutput) To return o } +func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListResponseOutput) EnumStrings() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListResponse) []string { return v.EnumStrings }).(pulumi.StringArrayOutput) } @@ -570,6 +631,12 @@ func (i EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueArgs) ToEnterpris return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueOutput) } +func (i EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue] { + return pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue]{ + OutputState: i.ToEnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueArgs) ToEnterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrOutput() EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrOutput { return i.ToEnterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrOutputWithContext(context.Background()) } @@ -611,6 +678,12 @@ func (i *enterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrType) ToEnter return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrOutput) } +func (i *enterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue] { + return pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue]{ + OutputState: i.ToEnterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrOutputWithContext(ctx).OutputState, + } +} + // The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. type EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueOutput struct{ *pulumi.OutputState } @@ -636,6 +709,12 @@ func (o EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueOutput) ToEnterpr }).(EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrOutput) } +func (o EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue] { + return pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueOutput) Absolute() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue) *string { return v.Absolute }).(pulumi.StringPtrOutput) } @@ -658,6 +737,12 @@ func (o EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrOutput) ToEnte return o } +func (o EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue] { + return pulumix.Output[*EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValuePtrOutput) Elem() EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue) EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue { if v != nil { @@ -707,6 +792,12 @@ func (o EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueResponseOutput) T return o } +func (o EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueResponseOutput) Absolute() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueResponse) string { return v.Absolute }).(pulumi.StringOutput) } @@ -746,6 +837,12 @@ func (i EnterpriseCrmEventbusProtoBooleanParameterArrayArgs) ToEnterpriseCrmEven return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoBooleanParameterArrayOutput) } +func (i EnterpriseCrmEventbusProtoBooleanParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoBooleanParameterArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoBooleanParameterArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoBooleanParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoBooleanParameterArrayArgs) ToEnterpriseCrmEventbusProtoBooleanParameterArrayPtrOutput() EnterpriseCrmEventbusProtoBooleanParameterArrayPtrOutput { return i.ToEnterpriseCrmEventbusProtoBooleanParameterArrayPtrOutputWithContext(context.Background()) } @@ -787,6 +884,12 @@ func (i *enterpriseCrmEventbusProtoBooleanParameterArrayPtrType) ToEnterpriseCrm return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoBooleanParameterArrayPtrOutput) } +func (i *enterpriseCrmEventbusProtoBooleanParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoBooleanParameterArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoBooleanParameterArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoBooleanParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoBooleanParameterArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoBooleanParameterArrayOutput) ElementType() reflect.Type { @@ -811,6 +914,12 @@ func (o EnterpriseCrmEventbusProtoBooleanParameterArrayOutput) ToEnterpriseCrmEv }).(EnterpriseCrmEventbusProtoBooleanParameterArrayPtrOutput) } +func (o EnterpriseCrmEventbusProtoBooleanParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoBooleanParameterArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoBooleanParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBooleanParameterArrayOutput) BooleanValues() pulumi.BoolArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoBooleanParameterArray) []bool { return v.BooleanValues }).(pulumi.BoolArrayOutput) } @@ -829,6 +938,12 @@ func (o EnterpriseCrmEventbusProtoBooleanParameterArrayPtrOutput) ToEnterpriseCr return o } +func (o EnterpriseCrmEventbusProtoBooleanParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoBooleanParameterArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoBooleanParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBooleanParameterArrayPtrOutput) Elem() EnterpriseCrmEventbusProtoBooleanParameterArrayOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoBooleanParameterArray) EnterpriseCrmEventbusProtoBooleanParameterArray { if v != nil { @@ -866,6 +981,12 @@ func (o EnterpriseCrmEventbusProtoBooleanParameterArrayResponseOutput) ToEnterpr return o } +func (o EnterpriseCrmEventbusProtoBooleanParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoBooleanParameterArrayResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoBooleanParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoBooleanParameterArrayResponseOutput) BooleanValues() pulumi.BoolArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoBooleanParameterArrayResponse) []bool { return v.BooleanValues }).(pulumi.BoolArrayOutput) } @@ -917,6 +1038,12 @@ func (i EnterpriseCrmEventbusProtoCloudSchedulerConfigArgs) ToEnterpriseCrmEvent return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoCloudSchedulerConfigOutput) } +func (i EnterpriseCrmEventbusProtoCloudSchedulerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCloudSchedulerConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoCloudSchedulerConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoCloudSchedulerConfigOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoCloudSchedulerConfigArgs) ToEnterpriseCrmEventbusProtoCloudSchedulerConfigPtrOutput() EnterpriseCrmEventbusProtoCloudSchedulerConfigPtrOutput { return i.ToEnterpriseCrmEventbusProtoCloudSchedulerConfigPtrOutputWithContext(context.Background()) } @@ -958,6 +1085,12 @@ func (i *enterpriseCrmEventbusProtoCloudSchedulerConfigPtrType) ToEnterpriseCrmE return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoCloudSchedulerConfigPtrOutput) } +func (i *enterpriseCrmEventbusProtoCloudSchedulerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoCloudSchedulerConfig] { + return pulumix.Output[*EnterpriseCrmEventbusProtoCloudSchedulerConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoCloudSchedulerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Scheduler Trigger configuration type EnterpriseCrmEventbusProtoCloudSchedulerConfigOutput struct{ *pulumi.OutputState } @@ -983,6 +1116,12 @@ func (o EnterpriseCrmEventbusProtoCloudSchedulerConfigOutput) ToEnterpriseCrmEve }).(EnterpriseCrmEventbusProtoCloudSchedulerConfigPtrOutput) } +func (o EnterpriseCrmEventbusProtoCloudSchedulerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCloudSchedulerConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoCloudSchedulerConfig]{ + OutputState: o.OutputState, + } +} + // The cron tab of cloud scheduler trigger. func (o EnterpriseCrmEventbusProtoCloudSchedulerConfigOutput) CronTab() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoCloudSchedulerConfig) string { return v.CronTab }).(pulumi.StringOutput) @@ -1017,6 +1156,12 @@ func (o EnterpriseCrmEventbusProtoCloudSchedulerConfigPtrOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoCloudSchedulerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoCloudSchedulerConfig] { + return pulumix.Output[*EnterpriseCrmEventbusProtoCloudSchedulerConfig]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoCloudSchedulerConfigPtrOutput) Elem() EnterpriseCrmEventbusProtoCloudSchedulerConfigOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoCloudSchedulerConfig) EnterpriseCrmEventbusProtoCloudSchedulerConfig { if v != nil { @@ -1094,6 +1239,12 @@ func (o EnterpriseCrmEventbusProtoCloudSchedulerConfigResponseOutput) ToEnterpri return o } +func (o EnterpriseCrmEventbusProtoCloudSchedulerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCloudSchedulerConfigResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoCloudSchedulerConfigResponse]{ + OutputState: o.OutputState, + } +} + // The cron tab of cloud scheduler trigger. func (o EnterpriseCrmEventbusProtoCloudSchedulerConfigResponseOutput) CronTab() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoCloudSchedulerConfigResponse) string { return v.CronTab }).(pulumi.StringOutput) @@ -1149,6 +1300,12 @@ func (i EnterpriseCrmEventbusProtoCombinedConditionArgs) ToEnterpriseCrmEventbus return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoCombinedConditionOutput) } +func (i EnterpriseCrmEventbusProtoCombinedConditionArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCombinedCondition] { + return pulumix.Output[EnterpriseCrmEventbusProtoCombinedCondition]{ + OutputState: i.ToEnterpriseCrmEventbusProtoCombinedConditionOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmEventbusProtoCombinedConditionArrayInput is an input type that accepts EnterpriseCrmEventbusProtoCombinedConditionArray and EnterpriseCrmEventbusProtoCombinedConditionArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmEventbusProtoCombinedConditionArrayInput` via: // @@ -1174,6 +1331,12 @@ func (i EnterpriseCrmEventbusProtoCombinedConditionArray) ToEnterpriseCrmEventbu return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoCombinedConditionArrayOutput) } +func (i EnterpriseCrmEventbusProtoCombinedConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoCombinedCondition] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoCombinedCondition]{ + OutputState: i.ToEnterpriseCrmEventbusProtoCombinedConditionArrayOutputWithContext(ctx).OutputState, + } +} + // This message recursively combines constituent conditions using logical AND. type EnterpriseCrmEventbusProtoCombinedConditionOutput struct{ *pulumi.OutputState } @@ -1189,6 +1352,12 @@ func (o EnterpriseCrmEventbusProtoCombinedConditionOutput) ToEnterpriseCrmEventb return o } +func (o EnterpriseCrmEventbusProtoCombinedConditionOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCombinedCondition] { + return pulumix.Output[EnterpriseCrmEventbusProtoCombinedCondition]{ + OutputState: o.OutputState, + } +} + // A set of individual constituent conditions. func (o EnterpriseCrmEventbusProtoCombinedConditionOutput) Conditions() EnterpriseCrmEventbusProtoConditionArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoCombinedCondition) []EnterpriseCrmEventbusProtoCondition { @@ -1210,6 +1379,12 @@ func (o EnterpriseCrmEventbusProtoCombinedConditionArrayOutput) ToEnterpriseCrmE return o } +func (o EnterpriseCrmEventbusProtoCombinedConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoCombinedCondition] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoCombinedCondition]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoCombinedConditionArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoCombinedConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoCombinedCondition { return vs[0].([]EnterpriseCrmEventbusProtoCombinedCondition)[vs[1].(int)] @@ -1237,6 +1412,12 @@ func (o EnterpriseCrmEventbusProtoCombinedConditionResponseOutput) ToEnterpriseC return o } +func (o EnterpriseCrmEventbusProtoCombinedConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCombinedConditionResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoCombinedConditionResponse]{ + OutputState: o.OutputState, + } +} + // A set of individual constituent conditions. func (o EnterpriseCrmEventbusProtoCombinedConditionResponseOutput) Conditions() EnterpriseCrmEventbusProtoConditionResponseArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoCombinedConditionResponse) []EnterpriseCrmEventbusProtoConditionResponse { @@ -1258,6 +1439,12 @@ func (o EnterpriseCrmEventbusProtoCombinedConditionResponseArrayOutput) ToEnterp return o } +func (o EnterpriseCrmEventbusProtoCombinedConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoCombinedConditionResponse] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoCombinedConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoCombinedConditionResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoCombinedConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoCombinedConditionResponse { return vs[0].([]EnterpriseCrmEventbusProtoCombinedConditionResponse)[vs[1].(int)] @@ -1307,6 +1494,12 @@ func (i EnterpriseCrmEventbusProtoConditionArgs) ToEnterpriseCrmEventbusProtoCon return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoConditionOutput) } +func (i EnterpriseCrmEventbusProtoConditionArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCondition] { + return pulumix.Output[EnterpriseCrmEventbusProtoCondition]{ + OutputState: i.ToEnterpriseCrmEventbusProtoConditionOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmEventbusProtoConditionArrayInput is an input type that accepts EnterpriseCrmEventbusProtoConditionArray and EnterpriseCrmEventbusProtoConditionArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmEventbusProtoConditionArrayInput` via: // @@ -1332,6 +1525,12 @@ func (i EnterpriseCrmEventbusProtoConditionArray) ToEnterpriseCrmEventbusProtoCo return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoConditionArrayOutput) } +func (i EnterpriseCrmEventbusProtoConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoCondition] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoCondition]{ + OutputState: i.ToEnterpriseCrmEventbusProtoConditionArrayOutputWithContext(ctx).OutputState, + } +} + // Condition that uses `operator` to evaluate the key against the value. type EnterpriseCrmEventbusProtoConditionOutput struct{ *pulumi.OutputState } @@ -1347,6 +1546,12 @@ func (o EnterpriseCrmEventbusProtoConditionOutput) ToEnterpriseCrmEventbusProtoC return o } +func (o EnterpriseCrmEventbusProtoConditionOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCondition] { + return pulumix.Output[EnterpriseCrmEventbusProtoCondition]{ + OutputState: o.OutputState, + } +} + // Key that's evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown. func (o EnterpriseCrmEventbusProtoConditionOutput) EventPropertyKey() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoCondition) *string { return v.EventPropertyKey }).(pulumi.StringPtrOutput) @@ -1378,6 +1583,12 @@ func (o EnterpriseCrmEventbusProtoConditionArrayOutput) ToEnterpriseCrmEventbusP return o } +func (o EnterpriseCrmEventbusProtoConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoCondition] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoCondition]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoConditionArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoCondition { return vs[0].([]EnterpriseCrmEventbusProtoCondition)[vs[1].(int)] @@ -1409,6 +1620,12 @@ func (o EnterpriseCrmEventbusProtoConditionResponseOutput) ToEnterpriseCrmEventb return o } +func (o EnterpriseCrmEventbusProtoConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoConditionResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoConditionResponse]{ + OutputState: o.OutputState, + } +} + // Key that's evaluated against the `value`. Please note the data type of the runtime value associated with the key should match the data type of `value`, else an IllegalArgumentException is thrown. func (o EnterpriseCrmEventbusProtoConditionResponseOutput) EventPropertyKey() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoConditionResponse) string { return v.EventPropertyKey }).(pulumi.StringOutput) @@ -1440,6 +1657,12 @@ func (o EnterpriseCrmEventbusProtoConditionResponseArrayOutput) ToEnterpriseCrmE return o } +func (o EnterpriseCrmEventbusProtoConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoConditionResponse] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoConditionResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoConditionResponse { return vs[0].([]EnterpriseCrmEventbusProtoConditionResponse)[vs[1].(int)] @@ -1481,6 +1704,12 @@ func (i EnterpriseCrmEventbusProtoCoordinateArgs) ToEnterpriseCrmEventbusProtoCo return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoCoordinateOutput) } +func (i EnterpriseCrmEventbusProtoCoordinateArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCoordinate] { + return pulumix.Output[EnterpriseCrmEventbusProtoCoordinate]{ + OutputState: i.ToEnterpriseCrmEventbusProtoCoordinateOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoCoordinateArgs) ToEnterpriseCrmEventbusProtoCoordinatePtrOutput() EnterpriseCrmEventbusProtoCoordinatePtrOutput { return i.ToEnterpriseCrmEventbusProtoCoordinatePtrOutputWithContext(context.Background()) } @@ -1522,6 +1751,12 @@ func (i *enterpriseCrmEventbusProtoCoordinatePtrType) ToEnterpriseCrmEventbusPro return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoCoordinatePtrOutput) } +func (i *enterpriseCrmEventbusProtoCoordinatePtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoCoordinate] { + return pulumix.Output[*EnterpriseCrmEventbusProtoCoordinate]{ + OutputState: i.ToEnterpriseCrmEventbusProtoCoordinatePtrOutputWithContext(ctx).OutputState, + } +} + // Represents two-dimensional positions. type EnterpriseCrmEventbusProtoCoordinateOutput struct{ *pulumi.OutputState } @@ -1547,6 +1782,12 @@ func (o EnterpriseCrmEventbusProtoCoordinateOutput) ToEnterpriseCrmEventbusProto }).(EnterpriseCrmEventbusProtoCoordinatePtrOutput) } +func (o EnterpriseCrmEventbusProtoCoordinateOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCoordinate] { + return pulumix.Output[EnterpriseCrmEventbusProtoCoordinate]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoCoordinateOutput) X() pulumi.IntPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoCoordinate) *int { return v.X }).(pulumi.IntPtrOutput) } @@ -1569,6 +1810,12 @@ func (o EnterpriseCrmEventbusProtoCoordinatePtrOutput) ToEnterpriseCrmEventbusPr return o } +func (o EnterpriseCrmEventbusProtoCoordinatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoCoordinate] { + return pulumix.Output[*EnterpriseCrmEventbusProtoCoordinate]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoCoordinatePtrOutput) Elem() EnterpriseCrmEventbusProtoCoordinateOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoCoordinate) EnterpriseCrmEventbusProtoCoordinate { if v != nil { @@ -1618,6 +1865,12 @@ func (o EnterpriseCrmEventbusProtoCoordinateResponseOutput) ToEnterpriseCrmEvent return o } +func (o EnterpriseCrmEventbusProtoCoordinateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoCoordinateResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoCoordinateResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoCoordinateResponseOutput) X() pulumi.IntOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoCoordinateResponse) int { return v.X }).(pulumi.IntOutput) } @@ -1657,6 +1910,12 @@ func (i EnterpriseCrmEventbusProtoDoubleArrayArgs) ToEnterpriseCrmEventbusProtoD return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoDoubleArrayOutput) } +func (i EnterpriseCrmEventbusProtoDoubleArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoDoubleArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoDoubleArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoDoubleArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoDoubleArrayArgs) ToEnterpriseCrmEventbusProtoDoubleArrayPtrOutput() EnterpriseCrmEventbusProtoDoubleArrayPtrOutput { return i.ToEnterpriseCrmEventbusProtoDoubleArrayPtrOutputWithContext(context.Background()) } @@ -1698,6 +1957,12 @@ func (i *enterpriseCrmEventbusProtoDoubleArrayPtrType) ToEnterpriseCrmEventbusPr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoDoubleArrayPtrOutput) } +func (i *enterpriseCrmEventbusProtoDoubleArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoDoubleArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoDoubleArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoDoubleArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoDoubleArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoDoubleArrayOutput) ElementType() reflect.Type { @@ -1722,6 +1987,12 @@ func (o EnterpriseCrmEventbusProtoDoubleArrayOutput) ToEnterpriseCrmEventbusProt }).(EnterpriseCrmEventbusProtoDoubleArrayPtrOutput) } +func (o EnterpriseCrmEventbusProtoDoubleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoDoubleArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoDoubleArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoDoubleArrayOutput) Values() pulumi.Float64ArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoDoubleArray) []float64 { return v.Values }).(pulumi.Float64ArrayOutput) } @@ -1740,6 +2011,12 @@ func (o EnterpriseCrmEventbusProtoDoubleArrayPtrOutput) ToEnterpriseCrmEventbusP return o } +func (o EnterpriseCrmEventbusProtoDoubleArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoDoubleArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoDoubleArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoDoubleArrayPtrOutput) Elem() EnterpriseCrmEventbusProtoDoubleArrayOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoDoubleArray) EnterpriseCrmEventbusProtoDoubleArray { if v != nil { @@ -1777,6 +2054,12 @@ func (o EnterpriseCrmEventbusProtoDoubleArrayResponseOutput) ToEnterpriseCrmEven return o } +func (o EnterpriseCrmEventbusProtoDoubleArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoDoubleArrayResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoDoubleArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoDoubleArrayResponseOutput) Values() pulumi.Float64ArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoDoubleArrayResponse) []float64 { return v.Values }).(pulumi.Float64ArrayOutput) } @@ -1812,6 +2095,12 @@ func (i EnterpriseCrmEventbusProtoDoubleParameterArrayArgs) ToEnterpriseCrmEvent return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoDoubleParameterArrayOutput) } +func (i EnterpriseCrmEventbusProtoDoubleParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoDoubleParameterArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoDoubleParameterArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoDoubleParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoDoubleParameterArrayArgs) ToEnterpriseCrmEventbusProtoDoubleParameterArrayPtrOutput() EnterpriseCrmEventbusProtoDoubleParameterArrayPtrOutput { return i.ToEnterpriseCrmEventbusProtoDoubleParameterArrayPtrOutputWithContext(context.Background()) } @@ -1853,6 +2142,12 @@ func (i *enterpriseCrmEventbusProtoDoubleParameterArrayPtrType) ToEnterpriseCrmE return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoDoubleParameterArrayPtrOutput) } +func (i *enterpriseCrmEventbusProtoDoubleParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoDoubleParameterArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoDoubleParameterArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoDoubleParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoDoubleParameterArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoDoubleParameterArrayOutput) ElementType() reflect.Type { @@ -1877,6 +2172,12 @@ func (o EnterpriseCrmEventbusProtoDoubleParameterArrayOutput) ToEnterpriseCrmEve }).(EnterpriseCrmEventbusProtoDoubleParameterArrayPtrOutput) } +func (o EnterpriseCrmEventbusProtoDoubleParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoDoubleParameterArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoDoubleParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoDoubleParameterArrayOutput) DoubleValues() pulumi.Float64ArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoDoubleParameterArray) []float64 { return v.DoubleValues }).(pulumi.Float64ArrayOutput) } @@ -1895,6 +2196,12 @@ func (o EnterpriseCrmEventbusProtoDoubleParameterArrayPtrOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoDoubleParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoDoubleParameterArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoDoubleParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoDoubleParameterArrayPtrOutput) Elem() EnterpriseCrmEventbusProtoDoubleParameterArrayOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoDoubleParameterArray) EnterpriseCrmEventbusProtoDoubleParameterArray { if v != nil { @@ -1932,6 +2239,12 @@ func (o EnterpriseCrmEventbusProtoDoubleParameterArrayResponseOutput) ToEnterpri return o } +func (o EnterpriseCrmEventbusProtoDoubleParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoDoubleParameterArrayResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoDoubleParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoDoubleParameterArrayResponseOutput) DoubleValues() pulumi.Float64ArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoDoubleParameterArrayResponse) []float64 { return v.DoubleValues }).(pulumi.Float64ArrayOutput) } @@ -1971,6 +2284,12 @@ func (i EnterpriseCrmEventbusProtoEventBusPropertiesArgs) ToEnterpriseCrmEventbu return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoEventBusPropertiesOutput) } +func (i EnterpriseCrmEventbusProtoEventBusPropertiesArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoEventBusProperties] { + return pulumix.Output[EnterpriseCrmEventbusProtoEventBusProperties]{ + OutputState: i.ToEnterpriseCrmEventbusProtoEventBusPropertiesOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoEventBusPropertiesArgs) ToEnterpriseCrmEventbusProtoEventBusPropertiesPtrOutput() EnterpriseCrmEventbusProtoEventBusPropertiesPtrOutput { return i.ToEnterpriseCrmEventbusProtoEventBusPropertiesPtrOutputWithContext(context.Background()) } @@ -2012,6 +2331,12 @@ func (i *enterpriseCrmEventbusProtoEventBusPropertiesPtrType) ToEnterpriseCrmEve return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoEventBusPropertiesPtrOutput) } +func (i *enterpriseCrmEventbusProtoEventBusPropertiesPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoEventBusProperties] { + return pulumix.Output[*EnterpriseCrmEventbusProtoEventBusProperties]{ + OutputState: i.ToEnterpriseCrmEventbusProtoEventBusPropertiesPtrOutputWithContext(ctx).OutputState, + } +} + // LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus. type EnterpriseCrmEventbusProtoEventBusPropertiesOutput struct{ *pulumi.OutputState } @@ -2037,6 +2362,12 @@ func (o EnterpriseCrmEventbusProtoEventBusPropertiesOutput) ToEnterpriseCrmEvent }).(EnterpriseCrmEventbusProtoEventBusPropertiesPtrOutput) } +func (o EnterpriseCrmEventbusProtoEventBusPropertiesOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoEventBusProperties] { + return pulumix.Output[EnterpriseCrmEventbusProtoEventBusProperties]{ + OutputState: o.OutputState, + } +} + // An unordered list of property entries. func (o EnterpriseCrmEventbusProtoEventBusPropertiesOutput) Properties() EnterpriseCrmEventbusProtoPropertyEntryArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoEventBusProperties) []EnterpriseCrmEventbusProtoPropertyEntry { @@ -2058,6 +2389,12 @@ func (o EnterpriseCrmEventbusProtoEventBusPropertiesPtrOutput) ToEnterpriseCrmEv return o } +func (o EnterpriseCrmEventbusProtoEventBusPropertiesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoEventBusProperties] { + return pulumix.Output[*EnterpriseCrmEventbusProtoEventBusProperties]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoEventBusPropertiesPtrOutput) Elem() EnterpriseCrmEventbusProtoEventBusPropertiesOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoEventBusProperties) EnterpriseCrmEventbusProtoEventBusProperties { if v != nil { @@ -2099,6 +2436,12 @@ func (o EnterpriseCrmEventbusProtoEventBusPropertiesResponseOutput) ToEnterprise return o } +func (o EnterpriseCrmEventbusProtoEventBusPropertiesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoEventBusPropertiesResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoEventBusPropertiesResponse]{ + OutputState: o.OutputState, + } +} + // An unordered list of property entries. func (o EnterpriseCrmEventbusProtoEventBusPropertiesResponseOutput) Properties() EnterpriseCrmEventbusProtoPropertyEntryResponseArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoEventBusPropertiesResponse) []EnterpriseCrmEventbusProtoPropertyEntryResponse { @@ -2141,6 +2484,12 @@ func (i EnterpriseCrmEventbusProtoEventParametersArgs) ToEnterpriseCrmEventbusPr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoEventParametersOutput) } +func (i EnterpriseCrmEventbusProtoEventParametersArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoEventParameters] { + return pulumix.Output[EnterpriseCrmEventbusProtoEventParameters]{ + OutputState: i.ToEnterpriseCrmEventbusProtoEventParametersOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoEventParametersArgs) ToEnterpriseCrmEventbusProtoEventParametersPtrOutput() EnterpriseCrmEventbusProtoEventParametersPtrOutput { return i.ToEnterpriseCrmEventbusProtoEventParametersPtrOutputWithContext(context.Background()) } @@ -2182,6 +2531,12 @@ func (i *enterpriseCrmEventbusProtoEventParametersPtrType) ToEnterpriseCrmEventb return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoEventParametersPtrOutput) } +func (i *enterpriseCrmEventbusProtoEventParametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoEventParameters] { + return pulumix.Output[*EnterpriseCrmEventbusProtoEventParameters]{ + OutputState: i.ToEnterpriseCrmEventbusProtoEventParametersPtrOutputWithContext(ctx).OutputState, + } +} + // LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see type EnterpriseCrmEventbusProtoEventParametersOutput struct{ *pulumi.OutputState } @@ -2207,6 +2562,12 @@ func (o EnterpriseCrmEventbusProtoEventParametersOutput) ToEnterpriseCrmEventbus }).(EnterpriseCrmEventbusProtoEventParametersPtrOutput) } +func (o EnterpriseCrmEventbusProtoEventParametersOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoEventParameters] { + return pulumix.Output[EnterpriseCrmEventbusProtoEventParameters]{ + OutputState: o.OutputState, + } +} + // Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution. func (o EnterpriseCrmEventbusProtoEventParametersOutput) Parameters() EnterpriseCrmEventbusProtoParameterEntryArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoEventParameters) []EnterpriseCrmEventbusProtoParameterEntry { @@ -2228,6 +2589,12 @@ func (o EnterpriseCrmEventbusProtoEventParametersPtrOutput) ToEnterpriseCrmEvent return o } +func (o EnterpriseCrmEventbusProtoEventParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoEventParameters] { + return pulumix.Output[*EnterpriseCrmEventbusProtoEventParameters]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoEventParametersPtrOutput) Elem() EnterpriseCrmEventbusProtoEventParametersOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoEventParameters) EnterpriseCrmEventbusProtoEventParameters { if v != nil { @@ -2269,6 +2636,12 @@ func (o EnterpriseCrmEventbusProtoEventParametersResponseOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoEventParametersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoEventParametersResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoEventParametersResponse]{ + OutputState: o.OutputState, + } +} + // Parameters are a part of Event and can be used to communicate between different tasks that are part of the same integration execution. func (o EnterpriseCrmEventbusProtoEventParametersResponseOutput) Parameters() EnterpriseCrmEventbusProtoParameterEntryResponseArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoEventParametersResponse) []EnterpriseCrmEventbusProtoParameterEntryResponse { @@ -2319,6 +2692,12 @@ func (i EnterpriseCrmEventbusProtoFailurePolicyArgs) ToEnterpriseCrmEventbusProt return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoFailurePolicyOutput) } +func (i EnterpriseCrmEventbusProtoFailurePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoFailurePolicy] { + return pulumix.Output[EnterpriseCrmEventbusProtoFailurePolicy]{ + OutputState: i.ToEnterpriseCrmEventbusProtoFailurePolicyOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoFailurePolicyArgs) ToEnterpriseCrmEventbusProtoFailurePolicyPtrOutput() EnterpriseCrmEventbusProtoFailurePolicyPtrOutput { return i.ToEnterpriseCrmEventbusProtoFailurePolicyPtrOutputWithContext(context.Background()) } @@ -2360,6 +2739,12 @@ func (i *enterpriseCrmEventbusProtoFailurePolicyPtrType) ToEnterpriseCrmEventbus return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoFailurePolicyPtrOutput) } +func (i *enterpriseCrmEventbusProtoFailurePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoFailurePolicy] { + return pulumix.Output[*EnterpriseCrmEventbusProtoFailurePolicy]{ + OutputState: i.ToEnterpriseCrmEventbusProtoFailurePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). type EnterpriseCrmEventbusProtoFailurePolicyOutput struct{ *pulumi.OutputState } @@ -2385,6 +2770,12 @@ func (o EnterpriseCrmEventbusProtoFailurePolicyOutput) ToEnterpriseCrmEventbusPr }).(EnterpriseCrmEventbusProtoFailurePolicyPtrOutput) } +func (o EnterpriseCrmEventbusProtoFailurePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoFailurePolicy] { + return pulumix.Output[EnterpriseCrmEventbusProtoFailurePolicy]{ + OutputState: o.OutputState, + } +} + // Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff. func (o EnterpriseCrmEventbusProtoFailurePolicyOutput) IntervalInSeconds() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoFailurePolicy) *string { return v.IntervalInSeconds }).(pulumi.StringPtrOutput) @@ -2416,6 +2807,12 @@ func (o EnterpriseCrmEventbusProtoFailurePolicyPtrOutput) ToEnterpriseCrmEventbu return o } +func (o EnterpriseCrmEventbusProtoFailurePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoFailurePolicy] { + return pulumix.Output[*EnterpriseCrmEventbusProtoFailurePolicy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoFailurePolicyPtrOutput) Elem() EnterpriseCrmEventbusProtoFailurePolicyOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoFailurePolicy) EnterpriseCrmEventbusProtoFailurePolicy { if v != nil { @@ -2481,6 +2878,12 @@ func (o EnterpriseCrmEventbusProtoFailurePolicyResponseOutput) ToEnterpriseCrmEv return o } +func (o EnterpriseCrmEventbusProtoFailurePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoFailurePolicyResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoFailurePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff. func (o EnterpriseCrmEventbusProtoFailurePolicyResponseOutput) IntervalInSeconds() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoFailurePolicyResponse) string { return v.IntervalInSeconds }).(pulumi.StringOutput) @@ -2527,6 +2930,12 @@ func (i EnterpriseCrmEventbusProtoIntArrayArgs) ToEnterpriseCrmEventbusProtoIntA return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoIntArrayOutput) } +func (i EnterpriseCrmEventbusProtoIntArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoIntArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoIntArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoIntArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoIntArrayArgs) ToEnterpriseCrmEventbusProtoIntArrayPtrOutput() EnterpriseCrmEventbusProtoIntArrayPtrOutput { return i.ToEnterpriseCrmEventbusProtoIntArrayPtrOutputWithContext(context.Background()) } @@ -2568,6 +2977,12 @@ func (i *enterpriseCrmEventbusProtoIntArrayPtrType) ToEnterpriseCrmEventbusProto return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoIntArrayPtrOutput) } +func (i *enterpriseCrmEventbusProtoIntArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoIntArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoIntArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoIntArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoIntArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoIntArrayOutput) ElementType() reflect.Type { @@ -2592,6 +3007,12 @@ func (o EnterpriseCrmEventbusProtoIntArrayOutput) ToEnterpriseCrmEventbusProtoIn }).(EnterpriseCrmEventbusProtoIntArrayPtrOutput) } +func (o EnterpriseCrmEventbusProtoIntArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoIntArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoIntArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoIntArrayOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoIntArray) []string { return v.Values }).(pulumi.StringArrayOutput) } @@ -2610,6 +3031,12 @@ func (o EnterpriseCrmEventbusProtoIntArrayPtrOutput) ToEnterpriseCrmEventbusProt return o } +func (o EnterpriseCrmEventbusProtoIntArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoIntArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoIntArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoIntArrayPtrOutput) Elem() EnterpriseCrmEventbusProtoIntArrayOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoIntArray) EnterpriseCrmEventbusProtoIntArray { if v != nil { @@ -2647,6 +3074,12 @@ func (o EnterpriseCrmEventbusProtoIntArrayResponseOutput) ToEnterpriseCrmEventbu return o } +func (o EnterpriseCrmEventbusProtoIntArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoIntArrayResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoIntArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoIntArrayResponseOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoIntArrayResponse) []string { return v.Values }).(pulumi.StringArrayOutput) } @@ -2682,6 +3115,12 @@ func (i EnterpriseCrmEventbusProtoIntParameterArrayArgs) ToEnterpriseCrmEventbus return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoIntParameterArrayOutput) } +func (i EnterpriseCrmEventbusProtoIntParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoIntParameterArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoIntParameterArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoIntParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoIntParameterArrayArgs) ToEnterpriseCrmEventbusProtoIntParameterArrayPtrOutput() EnterpriseCrmEventbusProtoIntParameterArrayPtrOutput { return i.ToEnterpriseCrmEventbusProtoIntParameterArrayPtrOutputWithContext(context.Background()) } @@ -2723,6 +3162,12 @@ func (i *enterpriseCrmEventbusProtoIntParameterArrayPtrType) ToEnterpriseCrmEven return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoIntParameterArrayPtrOutput) } +func (i *enterpriseCrmEventbusProtoIntParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoIntParameterArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoIntParameterArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoIntParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoIntParameterArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoIntParameterArrayOutput) ElementType() reflect.Type { @@ -2747,6 +3192,12 @@ func (o EnterpriseCrmEventbusProtoIntParameterArrayOutput) ToEnterpriseCrmEventb }).(EnterpriseCrmEventbusProtoIntParameterArrayPtrOutput) } +func (o EnterpriseCrmEventbusProtoIntParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoIntParameterArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoIntParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoIntParameterArrayOutput) IntValues() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoIntParameterArray) []string { return v.IntValues }).(pulumi.StringArrayOutput) } @@ -2765,6 +3216,12 @@ func (o EnterpriseCrmEventbusProtoIntParameterArrayPtrOutput) ToEnterpriseCrmEve return o } +func (o EnterpriseCrmEventbusProtoIntParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoIntParameterArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoIntParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoIntParameterArrayPtrOutput) Elem() EnterpriseCrmEventbusProtoIntParameterArrayOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoIntParameterArray) EnterpriseCrmEventbusProtoIntParameterArray { if v != nil { @@ -2802,6 +3259,12 @@ func (o EnterpriseCrmEventbusProtoIntParameterArrayResponseOutput) ToEnterpriseC return o } +func (o EnterpriseCrmEventbusProtoIntParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoIntParameterArrayResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoIntParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoIntParameterArrayResponseOutput) IntValues() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoIntParameterArrayResponse) []string { return v.IntValues }).(pulumi.StringArrayOutput) } @@ -2853,6 +3316,12 @@ func (i EnterpriseCrmEventbusProtoLogSettingsArgs) ToEnterpriseCrmEventbusProtoL return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoLogSettingsOutput) } +func (i EnterpriseCrmEventbusProtoLogSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoLogSettings] { + return pulumix.Output[EnterpriseCrmEventbusProtoLogSettings]{ + OutputState: i.ToEnterpriseCrmEventbusProtoLogSettingsOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoLogSettingsArgs) ToEnterpriseCrmEventbusProtoLogSettingsPtrOutput() EnterpriseCrmEventbusProtoLogSettingsPtrOutput { return i.ToEnterpriseCrmEventbusProtoLogSettingsPtrOutputWithContext(context.Background()) } @@ -2894,6 +3363,12 @@ func (i *enterpriseCrmEventbusProtoLogSettingsPtrType) ToEnterpriseCrmEventbusPr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoLogSettingsPtrOutput) } +func (i *enterpriseCrmEventbusProtoLogSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoLogSettings] { + return pulumix.Output[*EnterpriseCrmEventbusProtoLogSettings]{ + OutputState: i.ToEnterpriseCrmEventbusProtoLogSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information. type EnterpriseCrmEventbusProtoLogSettingsOutput struct{ *pulumi.OutputState } @@ -2919,6 +3394,12 @@ func (o EnterpriseCrmEventbusProtoLogSettingsOutput) ToEnterpriseCrmEventbusProt }).(EnterpriseCrmEventbusProtoLogSettingsPtrOutput) } +func (o EnterpriseCrmEventbusProtoLogSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoLogSettings] { + return pulumix.Output[EnterpriseCrmEventbusProtoLogSettings]{ + OutputState: o.OutputState, + } +} + // The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key. func (o EnterpriseCrmEventbusProtoLogSettingsOutput) LogFieldName() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoLogSettings) *string { return v.LogFieldName }).(pulumi.StringPtrOutput) @@ -2964,6 +3445,12 @@ func (o EnterpriseCrmEventbusProtoLogSettingsPtrOutput) ToEnterpriseCrmEventbusP return o } +func (o EnterpriseCrmEventbusProtoLogSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoLogSettings] { + return pulumix.Output[*EnterpriseCrmEventbusProtoLogSettings]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoLogSettingsPtrOutput) Elem() EnterpriseCrmEventbusProtoLogSettingsOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoLogSettings) EnterpriseCrmEventbusProtoLogSettings { if v != nil { @@ -3049,6 +3536,12 @@ func (o EnterpriseCrmEventbusProtoLogSettingsResponseOutput) ToEnterpriseCrmEven return o } +func (o EnterpriseCrmEventbusProtoLogSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoLogSettingsResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoLogSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The name of corresponding logging field of the event property. If omitted, assumes the same name as the event property key. func (o EnterpriseCrmEventbusProtoLogSettingsResponseOutput) LogFieldName() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoLogSettingsResponse) string { return v.LogFieldName }).(pulumi.StringOutput) @@ -3135,6 +3628,12 @@ func (i EnterpriseCrmEventbusProtoNextTaskArgs) ToEnterpriseCrmEventbusProtoNext return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoNextTaskOutput) } +func (i EnterpriseCrmEventbusProtoNextTaskArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoNextTask] { + return pulumix.Output[EnterpriseCrmEventbusProtoNextTask]{ + OutputState: i.ToEnterpriseCrmEventbusProtoNextTaskOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmEventbusProtoNextTaskArrayInput is an input type that accepts EnterpriseCrmEventbusProtoNextTaskArray and EnterpriseCrmEventbusProtoNextTaskArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmEventbusProtoNextTaskArrayInput` via: // @@ -3160,6 +3659,12 @@ func (i EnterpriseCrmEventbusProtoNextTaskArray) ToEnterpriseCrmEventbusProtoNex return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoNextTaskArrayOutput) } +func (i EnterpriseCrmEventbusProtoNextTaskArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoNextTask] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoNextTask]{ + OutputState: i.ToEnterpriseCrmEventbusProtoNextTaskArrayOutputWithContext(ctx).OutputState, + } +} + // The task that is next in line to be executed, if the condition specified evaluated to true. type EnterpriseCrmEventbusProtoNextTaskOutput struct{ *pulumi.OutputState } @@ -3175,6 +3680,12 @@ func (o EnterpriseCrmEventbusProtoNextTaskOutput) ToEnterpriseCrmEventbusProtoNe return o } +func (o EnterpriseCrmEventbusProtoNextTaskOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoNextTask] { + return pulumix.Output[EnterpriseCrmEventbusProtoNextTask]{ + OutputState: o.OutputState, + } +} + // Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition` // // Deprecated: Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition` @@ -3223,6 +3734,12 @@ func (o EnterpriseCrmEventbusProtoNextTaskArrayOutput) ToEnterpriseCrmEventbusPr return o } +func (o EnterpriseCrmEventbusProtoNextTaskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoNextTask] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoNextTask]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoNextTaskArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoNextTaskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoNextTask { return vs[0].([]EnterpriseCrmEventbusProtoNextTask)[vs[1].(int)] @@ -3262,6 +3779,12 @@ func (o EnterpriseCrmEventbusProtoNextTaskResponseOutput) ToEnterpriseCrmEventbu return o } +func (o EnterpriseCrmEventbusProtoNextTaskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoNextTaskResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoNextTaskResponse]{ + OutputState: o.OutputState, + } +} + // Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition` // // Deprecated: Combined condition for this task to become an eligible next task. Each of these combined_conditions are joined with logical OR. DEPRECATED: use `condition` @@ -3310,6 +3833,12 @@ func (o EnterpriseCrmEventbusProtoNextTaskResponseArrayOutput) ToEnterpriseCrmEv return o } +func (o EnterpriseCrmEventbusProtoNextTaskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoNextTaskResponse] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoNextTaskResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoNextTaskResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoNextTaskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoNextTaskResponse { return vs[0].([]EnterpriseCrmEventbusProtoNextTaskResponse)[vs[1].(int)] @@ -3351,6 +3880,12 @@ func (i EnterpriseCrmEventbusProtoNextTeardownTaskArgs) ToEnterpriseCrmEventbusP return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoNextTeardownTaskOutput) } +func (i EnterpriseCrmEventbusProtoNextTeardownTaskArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoNextTeardownTask] { + return pulumix.Output[EnterpriseCrmEventbusProtoNextTeardownTask]{ + OutputState: i.ToEnterpriseCrmEventbusProtoNextTeardownTaskOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoNextTeardownTaskArgs) ToEnterpriseCrmEventbusProtoNextTeardownTaskPtrOutput() EnterpriseCrmEventbusProtoNextTeardownTaskPtrOutput { return i.ToEnterpriseCrmEventbusProtoNextTeardownTaskPtrOutputWithContext(context.Background()) } @@ -3392,6 +3927,12 @@ func (i *enterpriseCrmEventbusProtoNextTeardownTaskPtrType) ToEnterpriseCrmEvent return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoNextTeardownTaskPtrOutput) } +func (i *enterpriseCrmEventbusProtoNextTeardownTaskPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoNextTeardownTask] { + return pulumix.Output[*EnterpriseCrmEventbusProtoNextTeardownTask]{ + OutputState: i.ToEnterpriseCrmEventbusProtoNextTeardownTaskPtrOutputWithContext(ctx).OutputState, + } +} + // The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching). type EnterpriseCrmEventbusProtoNextTeardownTaskOutput struct{ *pulumi.OutputState } @@ -3417,6 +3958,12 @@ func (o EnterpriseCrmEventbusProtoNextTeardownTaskOutput) ToEnterpriseCrmEventbu }).(EnterpriseCrmEventbusProtoNextTeardownTaskPtrOutput) } +func (o EnterpriseCrmEventbusProtoNextTeardownTaskOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoNextTeardownTask] { + return pulumix.Output[EnterpriseCrmEventbusProtoNextTeardownTask]{ + OutputState: o.OutputState, + } +} + // Name of the next teardown task. func (o EnterpriseCrmEventbusProtoNextTeardownTaskOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoNextTeardownTask) string { return v.Name }).(pulumi.StringOutput) @@ -3436,6 +3983,12 @@ func (o EnterpriseCrmEventbusProtoNextTeardownTaskPtrOutput) ToEnterpriseCrmEven return o } +func (o EnterpriseCrmEventbusProtoNextTeardownTaskPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoNextTeardownTask] { + return pulumix.Output[*EnterpriseCrmEventbusProtoNextTeardownTask]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoNextTeardownTaskPtrOutput) Elem() EnterpriseCrmEventbusProtoNextTeardownTaskOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoNextTeardownTask) EnterpriseCrmEventbusProtoNextTeardownTask { if v != nil { @@ -3477,6 +4030,12 @@ func (o EnterpriseCrmEventbusProtoNextTeardownTaskResponseOutput) ToEnterpriseCr return o } +func (o EnterpriseCrmEventbusProtoNextTeardownTaskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoNextTeardownTaskResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoNextTeardownTaskResponse]{ + OutputState: o.OutputState, + } +} + // Name of the next teardown task. func (o EnterpriseCrmEventbusProtoNextTeardownTaskResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoNextTeardownTaskResponse) string { return v.Name }).(pulumi.StringOutput) @@ -3521,6 +4080,12 @@ func (i EnterpriseCrmEventbusProtoNodeIdentifierArgs) ToEnterpriseCrmEventbusPro return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoNodeIdentifierOutput) } +func (i EnterpriseCrmEventbusProtoNodeIdentifierArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoNodeIdentifier] { + return pulumix.Output[EnterpriseCrmEventbusProtoNodeIdentifier]{ + OutputState: i.ToEnterpriseCrmEventbusProtoNodeIdentifierOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoNodeIdentifierArgs) ToEnterpriseCrmEventbusProtoNodeIdentifierPtrOutput() EnterpriseCrmEventbusProtoNodeIdentifierPtrOutput { return i.ToEnterpriseCrmEventbusProtoNodeIdentifierPtrOutputWithContext(context.Background()) } @@ -3562,6 +4127,12 @@ func (i *enterpriseCrmEventbusProtoNodeIdentifierPtrType) ToEnterpriseCrmEventbu return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoNodeIdentifierPtrOutput) } +func (i *enterpriseCrmEventbusProtoNodeIdentifierPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoNodeIdentifier] { + return pulumix.Output[*EnterpriseCrmEventbusProtoNodeIdentifier]{ + OutputState: i.ToEnterpriseCrmEventbusProtoNodeIdentifierPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a node identifier (type + id). Next highest id: 3 type EnterpriseCrmEventbusProtoNodeIdentifierOutput struct{ *pulumi.OutputState } @@ -3587,6 +4158,12 @@ func (o EnterpriseCrmEventbusProtoNodeIdentifierOutput) ToEnterpriseCrmEventbusP }).(EnterpriseCrmEventbusProtoNodeIdentifierPtrOutput) } +func (o EnterpriseCrmEventbusProtoNodeIdentifierOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoNodeIdentifier] { + return pulumix.Output[EnterpriseCrmEventbusProtoNodeIdentifier]{ + OutputState: o.OutputState, + } +} + // Configuration of the edge. func (o EnterpriseCrmEventbusProtoNodeIdentifierOutput) ElementIdentifier() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoNodeIdentifier) *string { return v.ElementIdentifier }).(pulumi.StringPtrOutput) @@ -3613,6 +4190,12 @@ func (o EnterpriseCrmEventbusProtoNodeIdentifierPtrOutput) ToEnterpriseCrmEventb return o } +func (o EnterpriseCrmEventbusProtoNodeIdentifierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoNodeIdentifier] { + return pulumix.Output[*EnterpriseCrmEventbusProtoNodeIdentifier]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoNodeIdentifierPtrOutput) Elem() EnterpriseCrmEventbusProtoNodeIdentifierOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoNodeIdentifier) EnterpriseCrmEventbusProtoNodeIdentifier { if v != nil { @@ -3666,6 +4249,12 @@ func (o EnterpriseCrmEventbusProtoNodeIdentifierResponseOutput) ToEnterpriseCrmE return o } +func (o EnterpriseCrmEventbusProtoNodeIdentifierResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoNodeIdentifierResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoNodeIdentifierResponse]{ + OutputState: o.OutputState, + } +} + // Configuration of the edge. func (o EnterpriseCrmEventbusProtoNodeIdentifierResponseOutput) ElementIdentifier() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoNodeIdentifierResponse) string { return v.ElementIdentifier }).(pulumi.StringOutput) @@ -3737,6 +4326,12 @@ func (i EnterpriseCrmEventbusProtoParamSpecEntryConfigArgs) ToEnterpriseCrmEvent return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryConfigOutput) } +func (i EnterpriseCrmEventbusProtoParamSpecEntryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryConfigOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoParamSpecEntryConfigArgs) ToEnterpriseCrmEventbusProtoParamSpecEntryConfigPtrOutput() EnterpriseCrmEventbusProtoParamSpecEntryConfigPtrOutput { return i.ToEnterpriseCrmEventbusProtoParamSpecEntryConfigPtrOutputWithContext(context.Background()) } @@ -3778,6 +4373,12 @@ func (i *enterpriseCrmEventbusProtoParamSpecEntryConfigPtrType) ToEnterpriseCrmE return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryConfigPtrOutput) } +func (i *enterpriseCrmEventbusProtoParamSpecEntryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfig] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryConfigPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoParamSpecEntryConfigOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoParamSpecEntryConfigOutput) ElementType() reflect.Type { @@ -3802,6 +4403,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigOutput) ToEnterpriseCrmEve }).(EnterpriseCrmEventbusProtoParamSpecEntryConfigPtrOutput) } +func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryConfig]{ + OutputState: o.OutputState, + } +} + // A short phrase to describe what this parameter contains. func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigOutput) DescriptivePhrase() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryConfig) *string { return v.DescriptivePhrase }).(pulumi.StringPtrOutput) @@ -3863,6 +4470,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigPtrOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfig] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryConfig]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigPtrOutput) Elem() EnterpriseCrmEventbusProtoParamSpecEntryConfigOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoParamSpecEntryConfig) EnterpriseCrmEventbusProtoParamSpecEntryConfig { if v != nil { @@ -3994,6 +4607,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigResponseOutput) ToEnterpri return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryConfigResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryConfigResponse]{ + OutputState: o.OutputState, + } +} + // A short phrase to describe what this parameter contains. func (o EnterpriseCrmEventbusProtoParamSpecEntryConfigResponseOutput) DescriptivePhrase() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryConfigResponse) string { return v.DescriptivePhrase }).(pulumi.StringOutput) @@ -4074,6 +4693,12 @@ func (i EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionArgs) ToEnterpris return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionOutput) } +func (i EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionArgs) ToEnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrOutput() EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrOutput { return i.ToEnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrOutputWithContext(context.Background()) } @@ -4115,6 +4740,12 @@ func (i *enterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrType) ToEnter return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrOutput) } +func (i *enterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionOutput) ElementType() reflect.Type { @@ -4139,6 +4770,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionOutput) ToEnterpr }).(EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrOutput) } +func (o EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition]{ + OutputState: o.OutputState, + } +} + // The fully-qualified proto name. This message, for example, would be "enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition". func (o EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionOutput) FullName() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition) *string { return v.FullName }).(pulumi.StringPtrOutput) @@ -4163,6 +4800,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrOutput) ToEnte return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionPtrOutput) Elem() EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition) EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition { if v != nil { @@ -4214,6 +4857,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionResponseOutput) T return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionResponse]{ + OutputState: o.OutputState, + } +} + // The fully-qualified proto name. This message, for example, would be "enterprise.crm.eventbus.proto.ParamSpecEntry.ProtoDefinition". func (o EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionResponseOutput) FullName() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinitionResponse) string { return v.FullName }).(pulumi.StringOutput) @@ -4259,6 +4908,12 @@ func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleArgs) ToEnterprise return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleOutput) } +func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRule] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRule]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleArgs) ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrOutput() EnterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrOutput { return i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrOutputWithContext(context.Background()) } @@ -4300,6 +4955,12 @@ func (i *enterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrType) ToEnterp return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrOutput) } +func (i *enterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRule] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRule]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleOutput) ElementType() reflect.Type { @@ -4324,6 +4985,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleOutput) ToEnterpri }).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrOutput) } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRule] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRule]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleOutput) DoubleRange() EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryValidationRule) *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange { return v.DoubleRange @@ -4356,6 +5023,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrOutput) ToEnter return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRule] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRule]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRulePtrOutput) Elem() EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoParamSpecEntryValidationRule) EnterpriseCrmEventbusProtoParamSpecEntryValidationRule { if v != nil { @@ -4432,6 +5105,12 @@ func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeArgs) T return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeOutput) } +func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeArgs) ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrOutput() EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrOutput { return i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrOutputWithContext(context.Background()) } @@ -4473,6 +5152,12 @@ func (i *enterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrTyp return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrOutput) } +func (i *enterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrOutputWithContext(ctx).OutputState, + } +} + // Range used to validate doubles and floats. type EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeOutput struct{ *pulumi.OutputState } @@ -4498,6 +5183,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeOutput) }).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrOutput) } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange]{ + OutputState: o.OutputState, + } +} + // The inclusive maximum of the acceptable range. func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeOutput) Max() pulumi.Float64PtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange) *float64 { return v.Max }).(pulumi.Float64PtrOutput) @@ -4522,6 +5213,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrOutp return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangePtrOutput) Elem() EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange) EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange { if v != nil { @@ -4575,6 +5272,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeRespons return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeResponse]{ + OutputState: o.OutputState, + } +} + // The inclusive maximum of the acceptable range. func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeResponseOutput) Max() pulumi.Float64Output { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeResponse) float64 { @@ -4628,6 +5331,12 @@ func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeArgs) ToEn return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeOutput) } +func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeArgs) ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrOutput() EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrOutput { return i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrOutputWithContext(context.Background()) } @@ -4669,6 +5378,12 @@ func (i *enterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrType) return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrOutput) } +func (i *enterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrOutputWithContext(ctx).OutputState, + } +} + // Range used to validate longs and ints. type EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeOutput struct{ *pulumi.OutputState } @@ -4694,6 +5409,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeOutput) To }).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrOutput) } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange]{ + OutputState: o.OutputState, + } +} + // The inclusive maximum of the acceptable range. func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeOutput) Max() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange) *string { return v.Max }).(pulumi.StringPtrOutput) @@ -4718,6 +5439,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrOutput) return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangePtrOutput) Elem() EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange) EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange { if v != nil { @@ -4771,6 +5498,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeResponseOu return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeResponse]{ + OutputState: o.OutputState, + } +} + // The inclusive maximum of the acceptable range. func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeResponseOutput) Max() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRangeResponse) string { return v.Max }).(pulumi.StringOutput) @@ -4801,6 +5534,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleResponseOutput) To return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleResponseOutput) DoubleRange() EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeResponseOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleResponse) EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRangeResponse { return v.DoubleRange @@ -4858,6 +5597,12 @@ func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexArgs) T return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexOutput) } +func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexArgs) ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrOutput() EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrOutput { return i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrOutputWithContext(context.Background()) } @@ -4899,6 +5644,12 @@ func (i *enterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrTyp return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrOutput) } +func (i *enterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrOutputWithContext(ctx).OutputState, + } +} + // Rule used to validate strings. type EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexOutput struct{ *pulumi.OutputState } @@ -4924,6 +5675,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexOutput) }).(EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrOutput) } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex]{ + OutputState: o.OutputState, + } +} + // Whether the regex matcher is applied exclusively (if true, matching values will be rejected). func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexOutput) Exclusive() pulumi.BoolPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex) *bool { return v.Exclusive }).(pulumi.BoolPtrOutput) @@ -4948,6 +5705,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrOutp return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexPtrOutput) Elem() EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex) EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex { if v != nil { @@ -5001,6 +5764,12 @@ func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexRespons return o } +func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponse]{ + OutputState: o.OutputState, + } +} + // Whether the regex matcher is applied exclusively (if true, matching values will be rejected). func (o EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponseOutput) Exclusive() pulumi.BoolOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegexResponse) bool { @@ -5054,6 +5823,12 @@ func (i EnterpriseCrmEventbusProtoParameterEntryArgs) ToEnterpriseCrmEventbusPro return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParameterEntryOutput) } +func (i EnterpriseCrmEventbusProtoParameterEntryArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParameterEntry] { + return pulumix.Output[EnterpriseCrmEventbusProtoParameterEntry]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParameterEntryOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmEventbusProtoParameterEntryArrayInput is an input type that accepts EnterpriseCrmEventbusProtoParameterEntryArray and EnterpriseCrmEventbusProtoParameterEntryArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmEventbusProtoParameterEntryArrayInput` via: // @@ -5079,6 +5854,12 @@ func (i EnterpriseCrmEventbusProtoParameterEntryArray) ToEnterpriseCrmEventbusPr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParameterEntryArrayOutput) } +func (i EnterpriseCrmEventbusProtoParameterEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoParameterEntry] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoParameterEntry]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParameterEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Key-value pair of EventBus parameters. type EnterpriseCrmEventbusProtoParameterEntryOutput struct{ *pulumi.OutputState } @@ -5094,6 +5875,12 @@ func (o EnterpriseCrmEventbusProtoParameterEntryOutput) ToEnterpriseCrmEventbusP return o } +func (o EnterpriseCrmEventbusProtoParameterEntryOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParameterEntry] { + return pulumix.Output[EnterpriseCrmEventbusProtoParameterEntry]{ + OutputState: o.OutputState, + } +} + // Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition. func (o EnterpriseCrmEventbusProtoParameterEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParameterEntry) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -5120,6 +5907,12 @@ func (o EnterpriseCrmEventbusProtoParameterEntryArrayOutput) ToEnterpriseCrmEven return o } +func (o EnterpriseCrmEventbusProtoParameterEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoParameterEntry] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoParameterEntry]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParameterEntryArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoParameterEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoParameterEntry { return vs[0].([]EnterpriseCrmEventbusProtoParameterEntry)[vs[1].(int)] @@ -5149,6 +5942,12 @@ func (o EnterpriseCrmEventbusProtoParameterEntryResponseOutput) ToEnterpriseCrmE return o } +func (o EnterpriseCrmEventbusProtoParameterEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParameterEntryResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoParameterEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the integration definition. func (o EnterpriseCrmEventbusProtoParameterEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParameterEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -5175,6 +5974,12 @@ func (o EnterpriseCrmEventbusProtoParameterEntryResponseArrayOutput) ToEnterpris return o } +func (o EnterpriseCrmEventbusProtoParameterEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoParameterEntryResponse] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoParameterEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParameterEntryResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoParameterEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoParameterEntryResponse { return vs[0].([]EnterpriseCrmEventbusProtoParameterEntryResponse)[vs[1].(int)] @@ -5234,6 +6039,12 @@ func (i EnterpriseCrmEventbusProtoParameterValueTypeArgs) ToEnterpriseCrmEventbu return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParameterValueTypeOutput) } +func (i EnterpriseCrmEventbusProtoParameterValueTypeArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParameterValueType] { + return pulumix.Output[EnterpriseCrmEventbusProtoParameterValueType]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParameterValueTypeOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoParameterValueTypeArgs) ToEnterpriseCrmEventbusProtoParameterValueTypePtrOutput() EnterpriseCrmEventbusProtoParameterValueTypePtrOutput { return i.ToEnterpriseCrmEventbusProtoParameterValueTypePtrOutputWithContext(context.Background()) } @@ -5275,6 +6086,12 @@ func (i *enterpriseCrmEventbusProtoParameterValueTypePtrType) ToEnterpriseCrmEve return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoParameterValueTypePtrOutput) } +func (i *enterpriseCrmEventbusProtoParameterValueTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParameterValueType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParameterValueType]{ + OutputState: i.ToEnterpriseCrmEventbusProtoParameterValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // LINT.IfChange To support various types of parameter values. Next available id: 14 type EnterpriseCrmEventbusProtoParameterValueTypeOutput struct{ *pulumi.OutputState } @@ -5300,6 +6117,12 @@ func (o EnterpriseCrmEventbusProtoParameterValueTypeOutput) ToEnterpriseCrmEvent }).(EnterpriseCrmEventbusProtoParameterValueTypePtrOutput) } +func (o EnterpriseCrmEventbusProtoParameterValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParameterValueType] { + return pulumix.Output[EnterpriseCrmEventbusProtoParameterValueType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParameterValueTypeOutput) BooleanArray() EnterpriseCrmEventbusProtoBooleanParameterArrayPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParameterValueType) *EnterpriseCrmEventbusProtoBooleanParameterArray { return v.BooleanArray @@ -5370,6 +6193,12 @@ func (o EnterpriseCrmEventbusProtoParameterValueTypePtrOutput) ToEnterpriseCrmEv return o } +func (o EnterpriseCrmEventbusProtoParameterValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoParameterValueType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoParameterValueType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParameterValueTypePtrOutput) Elem() EnterpriseCrmEventbusProtoParameterValueTypeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoParameterValueType) EnterpriseCrmEventbusProtoParameterValueType { if v != nil { @@ -5509,6 +6338,12 @@ func (o EnterpriseCrmEventbusProtoParameterValueTypeResponseOutput) ToEnterprise return o } +func (o EnterpriseCrmEventbusProtoParameterValueTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoParameterValueTypeResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoParameterValueTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoParameterValueTypeResponseOutput) BooleanArray() EnterpriseCrmEventbusProtoBooleanParameterArrayResponseOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoParameterValueTypeResponse) EnterpriseCrmEventbusProtoBooleanParameterArrayResponse { return v.BooleanArray @@ -5604,6 +6439,12 @@ func (i EnterpriseCrmEventbusProtoPropertyEntryArgs) ToEnterpriseCrmEventbusProt return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoPropertyEntryOutput) } +func (i EnterpriseCrmEventbusProtoPropertyEntryArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoPropertyEntry] { + return pulumix.Output[EnterpriseCrmEventbusProtoPropertyEntry]{ + OutputState: i.ToEnterpriseCrmEventbusProtoPropertyEntryOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmEventbusProtoPropertyEntryArrayInput is an input type that accepts EnterpriseCrmEventbusProtoPropertyEntryArray and EnterpriseCrmEventbusProtoPropertyEntryArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmEventbusProtoPropertyEntryArrayInput` via: // @@ -5629,6 +6470,12 @@ func (i EnterpriseCrmEventbusProtoPropertyEntryArray) ToEnterpriseCrmEventbusPro return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoPropertyEntryArrayOutput) } +func (i EnterpriseCrmEventbusProtoPropertyEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoPropertyEntry] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoPropertyEntry]{ + OutputState: i.ToEnterpriseCrmEventbusProtoPropertyEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Key-value pair of EventBus property. type EnterpriseCrmEventbusProtoPropertyEntryOutput struct{ *pulumi.OutputState } @@ -5644,6 +6491,12 @@ func (o EnterpriseCrmEventbusProtoPropertyEntryOutput) ToEnterpriseCrmEventbusPr return o } +func (o EnterpriseCrmEventbusProtoPropertyEntryOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoPropertyEntry] { + return pulumix.Output[EnterpriseCrmEventbusProtoPropertyEntry]{ + OutputState: o.OutputState, + } +} + // Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values. func (o EnterpriseCrmEventbusProtoPropertyEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoPropertyEntry) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -5668,6 +6521,12 @@ func (o EnterpriseCrmEventbusProtoPropertyEntryArrayOutput) ToEnterpriseCrmEvent return o } +func (o EnterpriseCrmEventbusProtoPropertyEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoPropertyEntry] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoPropertyEntry]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoPropertyEntryArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoPropertyEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoPropertyEntry { return vs[0].([]EnterpriseCrmEventbusProtoPropertyEntry)[vs[1].(int)] @@ -5697,6 +6556,12 @@ func (o EnterpriseCrmEventbusProtoPropertyEntryResponseOutput) ToEnterpriseCrmEv return o } +func (o EnterpriseCrmEventbusProtoPropertyEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoPropertyEntryResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoPropertyEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key is used to retrieve the corresponding property value. This should be unique for a given fired event. The Tasks should be aware of the keys used while firing the events for them to be able to retrieve the values. func (o EnterpriseCrmEventbusProtoPropertyEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoPropertyEntryResponse) string { return v.Key }).(pulumi.StringOutput) @@ -5723,6 +6588,12 @@ func (o EnterpriseCrmEventbusProtoPropertyEntryResponseArrayOutput) ToEnterprise return o } +func (o EnterpriseCrmEventbusProtoPropertyEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoPropertyEntryResponse] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoPropertyEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoPropertyEntryResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoPropertyEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoPropertyEntryResponse { return vs[0].([]EnterpriseCrmEventbusProtoPropertyEntryResponse)[vs[1].(int)] @@ -5760,6 +6631,12 @@ func (i EnterpriseCrmEventbusProtoProtoParameterArrayArgs) ToEnterpriseCrmEventb return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoProtoParameterArrayOutput) } +func (i EnterpriseCrmEventbusProtoProtoParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoProtoParameterArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoProtoParameterArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoProtoParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoProtoParameterArrayArgs) ToEnterpriseCrmEventbusProtoProtoParameterArrayPtrOutput() EnterpriseCrmEventbusProtoProtoParameterArrayPtrOutput { return i.ToEnterpriseCrmEventbusProtoProtoParameterArrayPtrOutputWithContext(context.Background()) } @@ -5801,6 +6678,12 @@ func (i *enterpriseCrmEventbusProtoProtoParameterArrayPtrType) ToEnterpriseCrmEv return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoProtoParameterArrayPtrOutput) } +func (i *enterpriseCrmEventbusProtoProtoParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoProtoParameterArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoProtoParameterArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoProtoParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoProtoParameterArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoProtoParameterArrayOutput) ElementType() reflect.Type { @@ -5825,6 +6708,12 @@ func (o EnterpriseCrmEventbusProtoProtoParameterArrayOutput) ToEnterpriseCrmEven }).(EnterpriseCrmEventbusProtoProtoParameterArrayPtrOutput) } +func (o EnterpriseCrmEventbusProtoProtoParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoProtoParameterArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoProtoParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoProtoParameterArrayOutput) ProtoValues() pulumi.StringMapArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoProtoParameterArray) []map[string]string { return v.ProtoValues }).(pulumi.StringMapArrayOutput) } @@ -5843,6 +6732,12 @@ func (o EnterpriseCrmEventbusProtoProtoParameterArrayPtrOutput) ToEnterpriseCrmE return o } +func (o EnterpriseCrmEventbusProtoProtoParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoProtoParameterArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoProtoParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoProtoParameterArrayPtrOutput) Elem() EnterpriseCrmEventbusProtoProtoParameterArrayOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoProtoParameterArray) EnterpriseCrmEventbusProtoProtoParameterArray { if v != nil { @@ -5880,6 +6775,12 @@ func (o EnterpriseCrmEventbusProtoProtoParameterArrayResponseOutput) ToEnterpris return o } +func (o EnterpriseCrmEventbusProtoProtoParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoProtoParameterArrayResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoProtoParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoProtoParameterArrayResponseOutput) ProtoValues() pulumi.StringMapArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoProtoParameterArrayResponse) []map[string]string { return v.ProtoValues @@ -5917,6 +6818,12 @@ func (i EnterpriseCrmEventbusProtoSerializedObjectParameterArgs) ToEnterpriseCrm return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoSerializedObjectParameterOutput) } +func (i EnterpriseCrmEventbusProtoSerializedObjectParameterArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoSerializedObjectParameter] { + return pulumix.Output[EnterpriseCrmEventbusProtoSerializedObjectParameter]{ + OutputState: i.ToEnterpriseCrmEventbusProtoSerializedObjectParameterOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoSerializedObjectParameterArgs) ToEnterpriseCrmEventbusProtoSerializedObjectParameterPtrOutput() EnterpriseCrmEventbusProtoSerializedObjectParameterPtrOutput { return i.ToEnterpriseCrmEventbusProtoSerializedObjectParameterPtrOutputWithContext(context.Background()) } @@ -5958,6 +6865,12 @@ func (i *enterpriseCrmEventbusProtoSerializedObjectParameterPtrType) ToEnterpris return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoSerializedObjectParameterPtrOutput) } +func (i *enterpriseCrmEventbusProtoSerializedObjectParameterPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoSerializedObjectParameter] { + return pulumix.Output[*EnterpriseCrmEventbusProtoSerializedObjectParameter]{ + OutputState: i.ToEnterpriseCrmEventbusProtoSerializedObjectParameterPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoSerializedObjectParameterOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoSerializedObjectParameterOutput) ElementType() reflect.Type { @@ -5982,6 +6895,12 @@ func (o EnterpriseCrmEventbusProtoSerializedObjectParameterOutput) ToEnterpriseC }).(EnterpriseCrmEventbusProtoSerializedObjectParameterPtrOutput) } +func (o EnterpriseCrmEventbusProtoSerializedObjectParameterOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoSerializedObjectParameter] { + return pulumix.Output[EnterpriseCrmEventbusProtoSerializedObjectParameter]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoSerializedObjectParameterOutput) ObjectValue() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoSerializedObjectParameter) *string { return v.ObjectValue }).(pulumi.StringPtrOutput) } @@ -6000,6 +6919,12 @@ func (o EnterpriseCrmEventbusProtoSerializedObjectParameterPtrOutput) ToEnterpri return o } +func (o EnterpriseCrmEventbusProtoSerializedObjectParameterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoSerializedObjectParameter] { + return pulumix.Output[*EnterpriseCrmEventbusProtoSerializedObjectParameter]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoSerializedObjectParameterPtrOutput) Elem() EnterpriseCrmEventbusProtoSerializedObjectParameterOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoSerializedObjectParameter) EnterpriseCrmEventbusProtoSerializedObjectParameter { if v != nil { @@ -6037,6 +6962,12 @@ func (o EnterpriseCrmEventbusProtoSerializedObjectParameterResponseOutput) ToEnt return o } +func (o EnterpriseCrmEventbusProtoSerializedObjectParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoSerializedObjectParameterResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoSerializedObjectParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoSerializedObjectParameterResponseOutput) ObjectValue() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoSerializedObjectParameterResponse) string { return v.ObjectValue }).(pulumi.StringOutput) } @@ -6072,6 +7003,12 @@ func (i EnterpriseCrmEventbusProtoStringArrayArgs) ToEnterpriseCrmEventbusProtoS return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoStringArrayOutput) } +func (i EnterpriseCrmEventbusProtoStringArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoStringArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoStringArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoStringArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoStringArrayArgs) ToEnterpriseCrmEventbusProtoStringArrayPtrOutput() EnterpriseCrmEventbusProtoStringArrayPtrOutput { return i.ToEnterpriseCrmEventbusProtoStringArrayPtrOutputWithContext(context.Background()) } @@ -6113,6 +7050,12 @@ func (i *enterpriseCrmEventbusProtoStringArrayPtrType) ToEnterpriseCrmEventbusPr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoStringArrayPtrOutput) } +func (i *enterpriseCrmEventbusProtoStringArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoStringArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoStringArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoStringArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoStringArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoStringArrayOutput) ElementType() reflect.Type { @@ -6137,6 +7080,12 @@ func (o EnterpriseCrmEventbusProtoStringArrayOutput) ToEnterpriseCrmEventbusProt }).(EnterpriseCrmEventbusProtoStringArrayPtrOutput) } +func (o EnterpriseCrmEventbusProtoStringArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoStringArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoStringArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoStringArrayOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoStringArray) []string { return v.Values }).(pulumi.StringArrayOutput) } @@ -6155,6 +7104,12 @@ func (o EnterpriseCrmEventbusProtoStringArrayPtrOutput) ToEnterpriseCrmEventbusP return o } +func (o EnterpriseCrmEventbusProtoStringArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoStringArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoStringArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoStringArrayPtrOutput) Elem() EnterpriseCrmEventbusProtoStringArrayOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoStringArray) EnterpriseCrmEventbusProtoStringArray { if v != nil { @@ -6192,6 +7147,12 @@ func (o EnterpriseCrmEventbusProtoStringArrayResponseOutput) ToEnterpriseCrmEven return o } +func (o EnterpriseCrmEventbusProtoStringArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoStringArrayResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoStringArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoStringArrayResponseOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoStringArrayResponse) []string { return v.Values }).(pulumi.StringArrayOutput) } @@ -6227,6 +7188,12 @@ func (i EnterpriseCrmEventbusProtoStringParameterArrayArgs) ToEnterpriseCrmEvent return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoStringParameterArrayOutput) } +func (i EnterpriseCrmEventbusProtoStringParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoStringParameterArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoStringParameterArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoStringParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoStringParameterArrayArgs) ToEnterpriseCrmEventbusProtoStringParameterArrayPtrOutput() EnterpriseCrmEventbusProtoStringParameterArrayPtrOutput { return i.ToEnterpriseCrmEventbusProtoStringParameterArrayPtrOutputWithContext(context.Background()) } @@ -6268,6 +7235,12 @@ func (i *enterpriseCrmEventbusProtoStringParameterArrayPtrType) ToEnterpriseCrmE return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoStringParameterArrayPtrOutput) } +func (i *enterpriseCrmEventbusProtoStringParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoStringParameterArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoStringParameterArray]{ + OutputState: i.ToEnterpriseCrmEventbusProtoStringParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoStringParameterArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoStringParameterArrayOutput) ElementType() reflect.Type { @@ -6292,6 +7265,12 @@ func (o EnterpriseCrmEventbusProtoStringParameterArrayOutput) ToEnterpriseCrmEve }).(EnterpriseCrmEventbusProtoStringParameterArrayPtrOutput) } +func (o EnterpriseCrmEventbusProtoStringParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoStringParameterArray] { + return pulumix.Output[EnterpriseCrmEventbusProtoStringParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoStringParameterArrayOutput) StringValues() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoStringParameterArray) []string { return v.StringValues }).(pulumi.StringArrayOutput) } @@ -6310,6 +7289,12 @@ func (o EnterpriseCrmEventbusProtoStringParameterArrayPtrOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoStringParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoStringParameterArray] { + return pulumix.Output[*EnterpriseCrmEventbusProtoStringParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoStringParameterArrayPtrOutput) Elem() EnterpriseCrmEventbusProtoStringParameterArrayOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoStringParameterArray) EnterpriseCrmEventbusProtoStringParameterArray { if v != nil { @@ -6347,6 +7332,12 @@ func (o EnterpriseCrmEventbusProtoStringParameterArrayResponseOutput) ToEnterpri return o } +func (o EnterpriseCrmEventbusProtoStringParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoStringParameterArrayResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoStringParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoStringParameterArrayResponseOutput) StringValues() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoStringParameterArrayResponse) []string { return v.StringValues }).(pulumi.StringArrayOutput) } @@ -6386,6 +7377,12 @@ func (i EnterpriseCrmEventbusProtoSuccessPolicyArgs) ToEnterpriseCrmEventbusProt return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoSuccessPolicyOutput) } +func (i EnterpriseCrmEventbusProtoSuccessPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoSuccessPolicy] { + return pulumix.Output[EnterpriseCrmEventbusProtoSuccessPolicy]{ + OutputState: i.ToEnterpriseCrmEventbusProtoSuccessPolicyOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoSuccessPolicyArgs) ToEnterpriseCrmEventbusProtoSuccessPolicyPtrOutput() EnterpriseCrmEventbusProtoSuccessPolicyPtrOutput { return i.ToEnterpriseCrmEventbusProtoSuccessPolicyPtrOutputWithContext(context.Background()) } @@ -6427,6 +7424,12 @@ func (i *enterpriseCrmEventbusProtoSuccessPolicyPtrType) ToEnterpriseCrmEventbus return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoSuccessPolicyPtrOutput) } +func (i *enterpriseCrmEventbusProtoSuccessPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoSuccessPolicy] { + return pulumix.Output[*EnterpriseCrmEventbusProtoSuccessPolicy]{ + OutputState: i.ToEnterpriseCrmEventbusProtoSuccessPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Policy that dictates the behavior for the task after it completes successfully. type EnterpriseCrmEventbusProtoSuccessPolicyOutput struct{ *pulumi.OutputState } @@ -6452,6 +7455,12 @@ func (o EnterpriseCrmEventbusProtoSuccessPolicyOutput) ToEnterpriseCrmEventbusPr }).(EnterpriseCrmEventbusProtoSuccessPolicyPtrOutput) } +func (o EnterpriseCrmEventbusProtoSuccessPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoSuccessPolicy] { + return pulumix.Output[EnterpriseCrmEventbusProtoSuccessPolicy]{ + OutputState: o.OutputState, + } +} + // State to which the execution snapshot status will be set if the task succeeds. func (o EnterpriseCrmEventbusProtoSuccessPolicyOutput) FinalState() EnterpriseCrmEventbusProtoSuccessPolicyFinalStatePtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoSuccessPolicy) *EnterpriseCrmEventbusProtoSuccessPolicyFinalState { @@ -6473,6 +7482,12 @@ func (o EnterpriseCrmEventbusProtoSuccessPolicyPtrOutput) ToEnterpriseCrmEventbu return o } +func (o EnterpriseCrmEventbusProtoSuccessPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoSuccessPolicy] { + return pulumix.Output[*EnterpriseCrmEventbusProtoSuccessPolicy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoSuccessPolicyPtrOutput) Elem() EnterpriseCrmEventbusProtoSuccessPolicyOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoSuccessPolicy) EnterpriseCrmEventbusProtoSuccessPolicy { if v != nil { @@ -6514,6 +7529,12 @@ func (o EnterpriseCrmEventbusProtoSuccessPolicyResponseOutput) ToEnterpriseCrmEv return o } +func (o EnterpriseCrmEventbusProtoSuccessPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoSuccessPolicyResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoSuccessPolicyResponse]{ + OutputState: o.OutputState, + } +} + // State to which the execution snapshot status will be set if the task succeeds. func (o EnterpriseCrmEventbusProtoSuccessPolicyResponseOutput) FinalState() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoSuccessPolicyResponse) string { return v.FinalState }).(pulumi.StringOutput) @@ -6596,6 +7617,12 @@ func (i EnterpriseCrmEventbusProtoTaskAlertConfigArgs) ToEnterpriseCrmEventbusPr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTaskAlertConfigOutput) } +func (i EnterpriseCrmEventbusProtoTaskAlertConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskAlertConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskAlertConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTaskAlertConfigOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmEventbusProtoTaskAlertConfigArrayInput is an input type that accepts EnterpriseCrmEventbusProtoTaskAlertConfigArray and EnterpriseCrmEventbusProtoTaskAlertConfigArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmEventbusProtoTaskAlertConfigArrayInput` via: // @@ -6621,6 +7648,12 @@ func (i EnterpriseCrmEventbusProtoTaskAlertConfigArray) ToEnterpriseCrmEventbusP return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTaskAlertConfigArrayOutput) } +func (i EnterpriseCrmEventbusProtoTaskAlertConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTaskAlertConfig] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTaskAlertConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTaskAlertConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Message to be used to configure alerting in the {@code TaskConfig} protos for tasks in an event. type EnterpriseCrmEventbusProtoTaskAlertConfigOutput struct{ *pulumi.OutputState } @@ -6636,6 +7669,12 @@ func (o EnterpriseCrmEventbusProtoTaskAlertConfigOutput) ToEnterpriseCrmEventbus return o } +func (o EnterpriseCrmEventbusProtoTaskAlertConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskAlertConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskAlertConfig]{ + OutputState: o.OutputState, + } +} + // The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). func (o EnterpriseCrmEventbusProtoTaskAlertConfigOutput) AggregationPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTaskAlertConfig) *string { return v.AggregationPeriod }).(pulumi.StringPtrOutput) @@ -6722,6 +7761,12 @@ func (o EnterpriseCrmEventbusProtoTaskAlertConfigArrayOutput) ToEnterpriseCrmEve return o } +func (o EnterpriseCrmEventbusProtoTaskAlertConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTaskAlertConfig] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTaskAlertConfig]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskAlertConfigArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoTaskAlertConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoTaskAlertConfig { return vs[0].([]EnterpriseCrmEventbusProtoTaskAlertConfig)[vs[1].(int)] @@ -6770,6 +7815,12 @@ func (o EnterpriseCrmEventbusProtoTaskAlertConfigResponseOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoTaskAlertConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskAlertConfigResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskAlertConfigResponse]{ + OutputState: o.OutputState, + } +} + // The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). func (o EnterpriseCrmEventbusProtoTaskAlertConfigResponseOutput) AggregationPeriod() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTaskAlertConfigResponse) string { return v.AggregationPeriod }).(pulumi.StringOutput) @@ -6852,6 +7903,12 @@ func (o EnterpriseCrmEventbusProtoTaskAlertConfigResponseArrayOutput) ToEnterpri return o } +func (o EnterpriseCrmEventbusProtoTaskAlertConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTaskAlertConfigResponse] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTaskAlertConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskAlertConfigResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoTaskAlertConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoTaskAlertConfigResponse { return vs[0].([]EnterpriseCrmEventbusProtoTaskAlertConfigResponse)[vs[1].(int)] @@ -6973,6 +8030,12 @@ func (i EnterpriseCrmEventbusProtoTaskMetadataArgs) ToEnterpriseCrmEventbusProto return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTaskMetadataOutput) } +func (i EnterpriseCrmEventbusProtoTaskMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadata] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadata]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTaskMetadataOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoTaskMetadataArgs) ToEnterpriseCrmEventbusProtoTaskMetadataPtrOutput() EnterpriseCrmEventbusProtoTaskMetadataPtrOutput { return i.ToEnterpriseCrmEventbusProtoTaskMetadataPtrOutputWithContext(context.Background()) } @@ -7014,6 +8077,12 @@ func (i *enterpriseCrmEventbusProtoTaskMetadataPtrType) ToEnterpriseCrmEventbusP return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTaskMetadataPtrOutput) } +func (i *enterpriseCrmEventbusProtoTaskMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadata] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadata]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTaskMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // TaskMetadata are attributes that are associated to every common Task we have. type EnterpriseCrmEventbusProtoTaskMetadataOutput struct{ *pulumi.OutputState } @@ -7039,6 +8108,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataOutput) ToEnterpriseCrmEventbusPro }).(EnterpriseCrmEventbusProtoTaskMetadataPtrOutput) } +func (o EnterpriseCrmEventbusProtoTaskMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadata] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadata]{ + OutputState: o.OutputState, + } +} + // The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name. func (o EnterpriseCrmEventbusProtoTaskMetadataOutput) ActiveTaskName() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTaskMetadata) *string { return v.ActiveTaskName }).(pulumi.StringPtrOutput) @@ -7173,6 +8248,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataPtrOutput) ToEnterpriseCrmEventbus return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadata] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskMetadata]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataPtrOutput) Elem() EnterpriseCrmEventbusProtoTaskMetadataOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTaskMetadata) EnterpriseCrmEventbusProtoTaskMetadata { if v != nil { @@ -7436,6 +8517,12 @@ func (i EnterpriseCrmEventbusProtoTaskMetadataAdminArgs) ToEnterpriseCrmEventbus return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTaskMetadataAdminOutput) } +func (i EnterpriseCrmEventbusProtoTaskMetadataAdminArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataAdmin] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataAdmin]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTaskMetadataAdminOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmEventbusProtoTaskMetadataAdminArrayInput is an input type that accepts EnterpriseCrmEventbusProtoTaskMetadataAdminArray and EnterpriseCrmEventbusProtoTaskMetadataAdminArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmEventbusProtoTaskMetadataAdminArrayInput` via: // @@ -7461,6 +8548,12 @@ func (i EnterpriseCrmEventbusProtoTaskMetadataAdminArray) ToEnterpriseCrmEventbu return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTaskMetadataAdminArrayOutput) } +func (i EnterpriseCrmEventbusProtoTaskMetadataAdminArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTaskMetadataAdmin] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTaskMetadataAdmin]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTaskMetadataAdminArrayOutputWithContext(ctx).OutputState, + } +} + // Admins are owners of a Task, and have all permissions on a particular task identified by the task name. By default, Eventbus periodically scans all task metadata and syncs (adds) any new admins defined here to Zanzibar. type EnterpriseCrmEventbusProtoTaskMetadataAdminOutput struct{ *pulumi.OutputState } @@ -7476,6 +8569,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataAdminOutput) ToEnterpriseCrmEventb return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataAdminOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataAdmin] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataAdmin]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataAdminOutput) GoogleGroupEmail() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTaskMetadataAdmin) *string { return v.GoogleGroupEmail }).(pulumi.StringPtrOutput) } @@ -7498,6 +8597,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataAdminArrayOutput) ToEnterpriseCrmE return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataAdminArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTaskMetadataAdmin] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTaskMetadataAdmin]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataAdminArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoTaskMetadataAdminOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoTaskMetadataAdmin { return vs[0].([]EnterpriseCrmEventbusProtoTaskMetadataAdmin)[vs[1].(int)] @@ -7525,6 +8630,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataAdminResponseOutput) ToEnterpriseC return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataAdminResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataAdminResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataAdminResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataAdminResponseOutput) GoogleGroupEmail() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTaskMetadataAdminResponse) string { return v.GoogleGroupEmail }).(pulumi.StringOutput) } @@ -7547,6 +8658,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataAdminResponseArrayOutput) ToEnterp return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataAdminResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTaskMetadataAdminResponse] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTaskMetadataAdminResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskMetadataAdminResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoTaskMetadataAdminResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoTaskMetadataAdminResponse { return vs[0].([]EnterpriseCrmEventbusProtoTaskMetadataAdminResponse)[vs[1].(int)] @@ -7614,6 +8731,12 @@ func (o EnterpriseCrmEventbusProtoTaskMetadataResponseOutput) ToEnterpriseCrmEve return o } +func (o EnterpriseCrmEventbusProtoTaskMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The new task name to replace the current task if it is deprecated. Otherwise, it is the same as the current task name. func (o EnterpriseCrmEventbusProtoTaskMetadataResponseOutput) ActiveTaskName() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTaskMetadataResponse) string { return v.ActiveTaskName }).(pulumi.StringOutput) @@ -7759,6 +8882,12 @@ func (i EnterpriseCrmEventbusProtoTaskUiConfigArgs) ToEnterpriseCrmEventbusProto return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTaskUiConfigOutput) } +func (i EnterpriseCrmEventbusProtoTaskUiConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskUiConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskUiConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTaskUiConfigOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoTaskUiConfigArgs) ToEnterpriseCrmEventbusProtoTaskUiConfigPtrOutput() EnterpriseCrmEventbusProtoTaskUiConfigPtrOutput { return i.ToEnterpriseCrmEventbusProtoTaskUiConfigPtrOutputWithContext(context.Background()) } @@ -7800,6 +8929,12 @@ func (i *enterpriseCrmEventbusProtoTaskUiConfigPtrType) ToEnterpriseCrmEventbusP return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTaskUiConfigPtrOutput) } +func (i *enterpriseCrmEventbusProtoTaskUiConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskUiConfig] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskUiConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTaskUiConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: type EnterpriseCrmEventbusProtoTaskUiConfigOutput struct{ *pulumi.OutputState } @@ -7825,6 +8960,12 @@ func (o EnterpriseCrmEventbusProtoTaskUiConfigOutput) ToEnterpriseCrmEventbusPro }).(EnterpriseCrmEventbusProtoTaskUiConfigPtrOutput) } +func (o EnterpriseCrmEventbusProtoTaskUiConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskUiConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskUiConfig]{ + OutputState: o.OutputState, + } +} + // Configurations of included config modules. func (o EnterpriseCrmEventbusProtoTaskUiConfigOutput) TaskUiModuleConfigs() EnterpriseCrmEventbusProtoTaskUiModuleConfigArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTaskUiConfig) []EnterpriseCrmEventbusProtoTaskUiModuleConfig { @@ -7846,6 +8987,12 @@ func (o EnterpriseCrmEventbusProtoTaskUiConfigPtrOutput) ToEnterpriseCrmEventbus return o } +func (o EnterpriseCrmEventbusProtoTaskUiConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTaskUiConfig] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTaskUiConfig]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskUiConfigPtrOutput) Elem() EnterpriseCrmEventbusProtoTaskUiConfigOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTaskUiConfig) EnterpriseCrmEventbusProtoTaskUiConfig { if v != nil { @@ -7887,6 +9034,12 @@ func (o EnterpriseCrmEventbusProtoTaskUiConfigResponseOutput) ToEnterpriseCrmEve return o } +func (o EnterpriseCrmEventbusProtoTaskUiConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskUiConfigResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskUiConfigResponse]{ + OutputState: o.OutputState, + } +} + // Configurations of included config modules. func (o EnterpriseCrmEventbusProtoTaskUiConfigResponseOutput) TaskUiModuleConfigs() EnterpriseCrmEventbusProtoTaskUiModuleConfigResponseArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTaskUiConfigResponse) []EnterpriseCrmEventbusProtoTaskUiModuleConfigResponse { @@ -7929,6 +9082,12 @@ func (i EnterpriseCrmEventbusProtoTaskUiModuleConfigArgs) ToEnterpriseCrmEventbu return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTaskUiModuleConfigOutput) } +func (i EnterpriseCrmEventbusProtoTaskUiModuleConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskUiModuleConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskUiModuleConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTaskUiModuleConfigOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmEventbusProtoTaskUiModuleConfigArrayInput is an input type that accepts EnterpriseCrmEventbusProtoTaskUiModuleConfigArray and EnterpriseCrmEventbusProtoTaskUiModuleConfigArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmEventbusProtoTaskUiModuleConfigArrayInput` via: // @@ -7954,6 +9113,12 @@ func (i EnterpriseCrmEventbusProtoTaskUiModuleConfigArray) ToEnterpriseCrmEventb return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTaskUiModuleConfigArrayOutput) } +func (i EnterpriseCrmEventbusProtoTaskUiModuleConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTaskUiModuleConfig] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTaskUiModuleConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTaskUiModuleConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Task author would use this type to configure a config module. type EnterpriseCrmEventbusProtoTaskUiModuleConfigOutput struct{ *pulumi.OutputState } @@ -7969,6 +9134,12 @@ func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigOutput) ToEnterpriseCrmEvent return o } +func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskUiModuleConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskUiModuleConfig]{ + OutputState: o.OutputState, + } +} + // ID of the config module. func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigOutput) ModuleId() EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleIdPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTaskUiModuleConfig) *EnterpriseCrmEventbusProtoTaskUiModuleConfigModuleId { @@ -7990,6 +9161,12 @@ func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigArrayOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTaskUiModuleConfig] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTaskUiModuleConfig]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoTaskUiModuleConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoTaskUiModuleConfig { return vs[0].([]EnterpriseCrmEventbusProtoTaskUiModuleConfig)[vs[1].(int)] @@ -8017,6 +9194,12 @@ func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigResponseOutput) ToEnterprise return o } +func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTaskUiModuleConfigResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoTaskUiModuleConfigResponse]{ + OutputState: o.OutputState, + } +} + // ID of the config module. func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigResponseOutput) ModuleId() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTaskUiModuleConfigResponse) string { return v.ModuleId }).(pulumi.StringOutput) @@ -8036,6 +9219,12 @@ func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigResponseArrayOutput) ToEnter return o } +func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTaskUiModuleConfigResponse] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTaskUiModuleConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTaskUiModuleConfigResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoTaskUiModuleConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoTaskUiModuleConfigResponse { return vs[0].([]EnterpriseCrmEventbusProtoTaskUiModuleConfigResponse)[vs[1].(int)] @@ -8075,6 +9264,12 @@ func (i EnterpriseCrmEventbusProtoTeardownArgs) ToEnterpriseCrmEventbusProtoTear return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTeardownOutput) } +func (i EnterpriseCrmEventbusProtoTeardownArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTeardown] { + return pulumix.Output[EnterpriseCrmEventbusProtoTeardown]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTeardownOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoTeardownArgs) ToEnterpriseCrmEventbusProtoTeardownPtrOutput() EnterpriseCrmEventbusProtoTeardownPtrOutput { return i.ToEnterpriseCrmEventbusProtoTeardownPtrOutputWithContext(context.Background()) } @@ -8116,6 +9311,12 @@ func (i *enterpriseCrmEventbusProtoTeardownPtrType) ToEnterpriseCrmEventbusProto return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTeardownPtrOutput) } +func (i *enterpriseCrmEventbusProtoTeardownPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTeardown] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTeardown]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTeardownPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoTeardownOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoTeardownOutput) ElementType() reflect.Type { @@ -8140,6 +9341,12 @@ func (o EnterpriseCrmEventbusProtoTeardownOutput) ToEnterpriseCrmEventbusProtoTe }).(EnterpriseCrmEventbusProtoTeardownPtrOutput) } +func (o EnterpriseCrmEventbusProtoTeardownOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTeardown] { + return pulumix.Output[EnterpriseCrmEventbusProtoTeardown]{ + OutputState: o.OutputState, + } +} + // Required. func (o EnterpriseCrmEventbusProtoTeardownOutput) TeardownTaskConfigs() EnterpriseCrmEventbusProtoTeardownTaskConfigArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTeardown) []EnterpriseCrmEventbusProtoTeardownTaskConfig { @@ -8161,6 +9368,12 @@ func (o EnterpriseCrmEventbusProtoTeardownPtrOutput) ToEnterpriseCrmEventbusProt return o } +func (o EnterpriseCrmEventbusProtoTeardownPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTeardown] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTeardown]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTeardownPtrOutput) Elem() EnterpriseCrmEventbusProtoTeardownOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTeardown) EnterpriseCrmEventbusProtoTeardown { if v != nil { @@ -8200,6 +9413,12 @@ func (o EnterpriseCrmEventbusProtoTeardownResponseOutput) ToEnterpriseCrmEventbu return o } +func (o EnterpriseCrmEventbusProtoTeardownResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTeardownResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoTeardownResponse]{ + OutputState: o.OutputState, + } +} + // Required. func (o EnterpriseCrmEventbusProtoTeardownResponseOutput) TeardownTaskConfigs() EnterpriseCrmEventbusProtoTeardownTaskConfigResponseArrayOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTeardownResponse) []EnterpriseCrmEventbusProtoTeardownTaskConfigResponse { @@ -8256,6 +9475,12 @@ func (i EnterpriseCrmEventbusProtoTeardownTaskConfigArgs) ToEnterpriseCrmEventbu return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTeardownTaskConfigOutput) } +func (i EnterpriseCrmEventbusProtoTeardownTaskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTeardownTaskConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoTeardownTaskConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTeardownTaskConfigOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmEventbusProtoTeardownTaskConfigArrayInput is an input type that accepts EnterpriseCrmEventbusProtoTeardownTaskConfigArray and EnterpriseCrmEventbusProtoTeardownTaskConfigArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmEventbusProtoTeardownTaskConfigArrayInput` via: // @@ -8281,6 +9506,12 @@ func (i EnterpriseCrmEventbusProtoTeardownTaskConfigArray) ToEnterpriseCrmEventb return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTeardownTaskConfigArrayOutput) } +func (i EnterpriseCrmEventbusProtoTeardownTaskConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTeardownTaskConfig] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTeardownTaskConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTeardownTaskConfigArrayOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoTeardownTaskConfigOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoTeardownTaskConfigOutput) ElementType() reflect.Type { @@ -8295,6 +9526,12 @@ func (o EnterpriseCrmEventbusProtoTeardownTaskConfigOutput) ToEnterpriseCrmEvent return o } +func (o EnterpriseCrmEventbusProtoTeardownTaskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTeardownTaskConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoTeardownTaskConfig]{ + OutputState: o.OutputState, + } +} + // The creator's email address. func (o EnterpriseCrmEventbusProtoTeardownTaskConfigOutput) CreatorEmail() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTeardownTaskConfig) *string { return v.CreatorEmail }).(pulumi.StringPtrOutput) @@ -8345,6 +9582,12 @@ func (o EnterpriseCrmEventbusProtoTeardownTaskConfigArrayOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoTeardownTaskConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTeardownTaskConfig] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTeardownTaskConfig]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTeardownTaskConfigArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoTeardownTaskConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoTeardownTaskConfig { return vs[0].([]EnterpriseCrmEventbusProtoTeardownTaskConfig)[vs[1].(int)] @@ -8378,6 +9621,12 @@ func (o EnterpriseCrmEventbusProtoTeardownTaskConfigResponseOutput) ToEnterprise return o } +func (o EnterpriseCrmEventbusProtoTeardownTaskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTeardownTaskConfigResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoTeardownTaskConfigResponse]{ + OutputState: o.OutputState, + } +} + // The creator's email address. func (o EnterpriseCrmEventbusProtoTeardownTaskConfigResponseOutput) CreatorEmail() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTeardownTaskConfigResponse) string { return v.CreatorEmail }).(pulumi.StringOutput) @@ -8428,6 +9677,12 @@ func (o EnterpriseCrmEventbusProtoTeardownTaskConfigResponseArrayOutput) ToEnter return o } +func (o EnterpriseCrmEventbusProtoTeardownTaskConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoTeardownTaskConfigResponse] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoTeardownTaskConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTeardownTaskConfigResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoTeardownTaskConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoTeardownTaskConfigResponse { return vs[0].([]EnterpriseCrmEventbusProtoTeardownTaskConfigResponse)[vs[1].(int)] @@ -8475,6 +9730,12 @@ func (i EnterpriseCrmEventbusProtoTriggerCriteriaArgs) ToEnterpriseCrmEventbusPr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTriggerCriteriaOutput) } +func (i EnterpriseCrmEventbusProtoTriggerCriteriaArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTriggerCriteria] { + return pulumix.Output[EnterpriseCrmEventbusProtoTriggerCriteria]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTriggerCriteriaOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoTriggerCriteriaArgs) ToEnterpriseCrmEventbusProtoTriggerCriteriaPtrOutput() EnterpriseCrmEventbusProtoTriggerCriteriaPtrOutput { return i.ToEnterpriseCrmEventbusProtoTriggerCriteriaPtrOutputWithContext(context.Background()) } @@ -8516,6 +9777,12 @@ func (i *enterpriseCrmEventbusProtoTriggerCriteriaPtrType) ToEnterpriseCrmEventb return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoTriggerCriteriaPtrOutput) } +func (i *enterpriseCrmEventbusProtoTriggerCriteriaPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTriggerCriteria] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTriggerCriteria]{ + OutputState: i.ToEnterpriseCrmEventbusProtoTriggerCriteriaPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusProtoTriggerCriteriaOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusProtoTriggerCriteriaOutput) ElementType() reflect.Type { @@ -8540,6 +9807,12 @@ func (o EnterpriseCrmEventbusProtoTriggerCriteriaOutput) ToEnterpriseCrmEventbus }).(EnterpriseCrmEventbusProtoTriggerCriteriaPtrOutput) } +func (o EnterpriseCrmEventbusProtoTriggerCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTriggerCriteria] { + return pulumix.Output[EnterpriseCrmEventbusProtoTriggerCriteria]{ + OutputState: o.OutputState, + } +} + // Standard filter expression, when true the workflow will be executed. If there's no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly. func (o EnterpriseCrmEventbusProtoTriggerCriteriaOutput) Condition() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTriggerCriteria) string { return v.Condition }).(pulumi.StringOutput) @@ -8573,6 +9846,12 @@ func (o EnterpriseCrmEventbusProtoTriggerCriteriaPtrOutput) ToEnterpriseCrmEvent return o } +func (o EnterpriseCrmEventbusProtoTriggerCriteriaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoTriggerCriteria] { + return pulumix.Output[*EnterpriseCrmEventbusProtoTriggerCriteria]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoTriggerCriteriaPtrOutput) Elem() EnterpriseCrmEventbusProtoTriggerCriteriaOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoTriggerCriteria) EnterpriseCrmEventbusProtoTriggerCriteria { if v != nil { @@ -8636,6 +9915,12 @@ func (o EnterpriseCrmEventbusProtoTriggerCriteriaResponseOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmEventbusProtoTriggerCriteriaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoTriggerCriteriaResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoTriggerCriteriaResponse]{ + OutputState: o.OutputState, + } +} + // Standard filter expression, when true the workflow will be executed. If there's no trigger_criteria_task_implementation_class_name specified, the condition will be validated directly. func (o EnterpriseCrmEventbusProtoTriggerCriteriaResponseOutput) Condition() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoTriggerCriteriaResponse) string { return v.Condition }).(pulumi.StringOutput) @@ -8702,6 +9987,12 @@ func (i EnterpriseCrmEventbusProtoValueTypeArgs) ToEnterpriseCrmEventbusProtoVal return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoValueTypeOutput) } +func (i EnterpriseCrmEventbusProtoValueTypeArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoValueType] { + return pulumix.Output[EnterpriseCrmEventbusProtoValueType]{ + OutputState: i.ToEnterpriseCrmEventbusProtoValueTypeOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusProtoValueTypeArgs) ToEnterpriseCrmEventbusProtoValueTypePtrOutput() EnterpriseCrmEventbusProtoValueTypePtrOutput { return i.ToEnterpriseCrmEventbusProtoValueTypePtrOutputWithContext(context.Background()) } @@ -8743,6 +10034,12 @@ func (i *enterpriseCrmEventbusProtoValueTypePtrType) ToEnterpriseCrmEventbusProt return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoValueTypePtrOutput) } +func (i *enterpriseCrmEventbusProtoValueTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoValueType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoValueType]{ + OutputState: i.ToEnterpriseCrmEventbusProtoValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // Used for define type for values. Currently supported value types include int, string, double, array, and any proto message. type EnterpriseCrmEventbusProtoValueTypeOutput struct{ *pulumi.OutputState } @@ -8768,6 +10065,12 @@ func (o EnterpriseCrmEventbusProtoValueTypeOutput) ToEnterpriseCrmEventbusProtoV }).(EnterpriseCrmEventbusProtoValueTypePtrOutput) } +func (o EnterpriseCrmEventbusProtoValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoValueType] { + return pulumix.Output[EnterpriseCrmEventbusProtoValueType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoValueTypeOutput) BooleanValue() pulumi.BoolPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoValueType) *bool { return v.BooleanValue }).(pulumi.BoolPtrOutput) } @@ -8818,6 +10121,12 @@ func (o EnterpriseCrmEventbusProtoValueTypePtrOutput) ToEnterpriseCrmEventbusPro return o } +func (o EnterpriseCrmEventbusProtoValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusProtoValueType] { + return pulumix.Output[*EnterpriseCrmEventbusProtoValueType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoValueTypePtrOutput) Elem() EnterpriseCrmEventbusProtoValueTypeOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusProtoValueType) EnterpriseCrmEventbusProtoValueType { if v != nil { @@ -8927,6 +10236,12 @@ func (o EnterpriseCrmEventbusProtoValueTypeResponseOutput) ToEnterpriseCrmEventb return o } +func (o EnterpriseCrmEventbusProtoValueTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoValueTypeResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoValueTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoValueTypeResponseOutput) BooleanValue() pulumi.BoolOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoValueTypeResponse) bool { return v.BooleanValue }).(pulumi.BoolOutput) } @@ -9042,6 +10357,12 @@ func (i EnterpriseCrmEventbusProtoWorkflowAlertConfigArgs) ToEnterpriseCrmEventb return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoWorkflowAlertConfigOutput) } +func (i EnterpriseCrmEventbusProtoWorkflowAlertConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoWorkflowAlertConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoWorkflowAlertConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoWorkflowAlertConfigOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmEventbusProtoWorkflowAlertConfigArrayInput is an input type that accepts EnterpriseCrmEventbusProtoWorkflowAlertConfigArray and EnterpriseCrmEventbusProtoWorkflowAlertConfigArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmEventbusProtoWorkflowAlertConfigArrayInput` via: // @@ -9067,6 +10388,12 @@ func (i EnterpriseCrmEventbusProtoWorkflowAlertConfigArray) ToEnterpriseCrmEvent return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusProtoWorkflowAlertConfigArrayOutput) } +func (i EnterpriseCrmEventbusProtoWorkflowAlertConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoWorkflowAlertConfig] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoWorkflowAlertConfig]{ + OutputState: i.ToEnterpriseCrmEventbusProtoWorkflowAlertConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Message to be used to configure custom alerting in the {@code EventConfig} protos for an event. type EnterpriseCrmEventbusProtoWorkflowAlertConfigOutput struct{ *pulumi.OutputState } @@ -9082,6 +10409,12 @@ func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigOutput) ToEnterpriseCrmEven return o } +func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoWorkflowAlertConfig] { + return pulumix.Output[EnterpriseCrmEventbusProtoWorkflowAlertConfig]{ + OutputState: o.OutputState, + } +} + // For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours. func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigOutput) AggregationPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoWorkflowAlertConfig) *string { return v.AggregationPeriod }).(pulumi.StringPtrOutput) @@ -9168,6 +10501,12 @@ func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigArrayOutput) ToEnterpriseCr return o } +func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoWorkflowAlertConfig] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoWorkflowAlertConfig]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoWorkflowAlertConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoWorkflowAlertConfig { return vs[0].([]EnterpriseCrmEventbusProtoWorkflowAlertConfig)[vs[1].(int)] @@ -9216,6 +10555,12 @@ func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigResponseOutput) ToEnterpris return o } +func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusProtoWorkflowAlertConfigResponse] { + return pulumix.Output[EnterpriseCrmEventbusProtoWorkflowAlertConfigResponse]{ + OutputState: o.OutputState, + } +} + // For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours. func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigResponseOutput) AggregationPeriod() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusProtoWorkflowAlertConfigResponse) string { return v.AggregationPeriod }).(pulumi.StringOutput) @@ -9298,6 +10643,12 @@ func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigResponseArrayOutput) ToEnte return o } +func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmEventbusProtoWorkflowAlertConfigResponse] { + return pulumix.Output[[]EnterpriseCrmEventbusProtoWorkflowAlertConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusProtoWorkflowAlertConfigResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmEventbusProtoWorkflowAlertConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmEventbusProtoWorkflowAlertConfigResponse { return vs[0].([]EnterpriseCrmEventbusProtoWorkflowAlertConfigResponse)[vs[1].(int)] @@ -9355,6 +10706,12 @@ func (i EnterpriseCrmEventbusStatsArgs) ToEnterpriseCrmEventbusStatsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusStatsOutput) } +func (i EnterpriseCrmEventbusStatsArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusStats] { + return pulumix.Output[EnterpriseCrmEventbusStats]{ + OutputState: i.ToEnterpriseCrmEventbusStatsOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusStatsArgs) ToEnterpriseCrmEventbusStatsPtrOutput() EnterpriseCrmEventbusStatsPtrOutput { return i.ToEnterpriseCrmEventbusStatsPtrOutputWithContext(context.Background()) } @@ -9396,6 +10753,12 @@ func (i *enterpriseCrmEventbusStatsPtrType) ToEnterpriseCrmEventbusStatsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusStatsPtrOutput) } +func (i *enterpriseCrmEventbusStatsPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusStats] { + return pulumix.Output[*EnterpriseCrmEventbusStats]{ + OutputState: i.ToEnterpriseCrmEventbusStatsPtrOutputWithContext(ctx).OutputState, + } +} + // Stats for the requested dimensions: QPS, duration, and error/warning rate type EnterpriseCrmEventbusStatsOutput struct{ *pulumi.OutputState } @@ -9421,6 +10784,12 @@ func (o EnterpriseCrmEventbusStatsOutput) ToEnterpriseCrmEventbusStatsPtrOutputW }).(EnterpriseCrmEventbusStatsPtrOutput) } +func (o EnterpriseCrmEventbusStatsOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusStats] { + return pulumix.Output[EnterpriseCrmEventbusStats]{ + OutputState: o.OutputState, + } +} + // Dimensions that these stats have been aggregated on. func (o EnterpriseCrmEventbusStatsOutput) Dimensions() EnterpriseCrmEventbusStatsDimensionsPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusStats) *EnterpriseCrmEventbusStatsDimensions { return v.Dimensions }).(EnterpriseCrmEventbusStatsDimensionsPtrOutput) @@ -9460,6 +10829,12 @@ func (o EnterpriseCrmEventbusStatsPtrOutput) ToEnterpriseCrmEventbusStatsPtrOutp return o } +func (o EnterpriseCrmEventbusStatsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusStats] { + return pulumix.Output[*EnterpriseCrmEventbusStats]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusStatsPtrOutput) Elem() EnterpriseCrmEventbusStatsOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusStats) EnterpriseCrmEventbusStats { if v != nil { @@ -9573,6 +10948,12 @@ func (i EnterpriseCrmEventbusStatsDimensionsArgs) ToEnterpriseCrmEventbusStatsDi return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusStatsDimensionsOutput) } +func (i EnterpriseCrmEventbusStatsDimensionsArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusStatsDimensions] { + return pulumix.Output[EnterpriseCrmEventbusStatsDimensions]{ + OutputState: i.ToEnterpriseCrmEventbusStatsDimensionsOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmEventbusStatsDimensionsArgs) ToEnterpriseCrmEventbusStatsDimensionsPtrOutput() EnterpriseCrmEventbusStatsDimensionsPtrOutput { return i.ToEnterpriseCrmEventbusStatsDimensionsPtrOutputWithContext(context.Background()) } @@ -9614,6 +10995,12 @@ func (i *enterpriseCrmEventbusStatsDimensionsPtrType) ToEnterpriseCrmEventbusSta return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmEventbusStatsDimensionsPtrOutput) } +func (i *enterpriseCrmEventbusStatsDimensionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusStatsDimensions] { + return pulumix.Output[*EnterpriseCrmEventbusStatsDimensions]{ + OutputState: i.ToEnterpriseCrmEventbusStatsDimensionsPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmEventbusStatsDimensionsOutput struct{ *pulumi.OutputState } func (EnterpriseCrmEventbusStatsDimensionsOutput) ElementType() reflect.Type { @@ -9638,6 +11025,12 @@ func (o EnterpriseCrmEventbusStatsDimensionsOutput) ToEnterpriseCrmEventbusStats }).(EnterpriseCrmEventbusStatsDimensionsPtrOutput) } +func (o EnterpriseCrmEventbusStatsDimensionsOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusStatsDimensions] { + return pulumix.Output[EnterpriseCrmEventbusStatsDimensions]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusStatsDimensionsOutput) ClientId() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmEventbusStatsDimensions) *string { return v.ClientId }).(pulumi.StringPtrOutput) } @@ -9698,6 +11091,12 @@ func (o EnterpriseCrmEventbusStatsDimensionsPtrOutput) ToEnterpriseCrmEventbusSt return o } +func (o EnterpriseCrmEventbusStatsDimensionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmEventbusStatsDimensions] { + return pulumix.Output[*EnterpriseCrmEventbusStatsDimensions]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusStatsDimensionsPtrOutput) Elem() EnterpriseCrmEventbusStatsDimensionsOutput { return o.ApplyT(func(v *EnterpriseCrmEventbusStatsDimensions) EnterpriseCrmEventbusStatsDimensions { if v != nil { @@ -9829,6 +11228,12 @@ func (o EnterpriseCrmEventbusStatsDimensionsResponseOutput) ToEnterpriseCrmEvent return o } +func (o EnterpriseCrmEventbusStatsDimensionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusStatsDimensionsResponse] { + return pulumix.Output[EnterpriseCrmEventbusStatsDimensionsResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmEventbusStatsDimensionsResponseOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmEventbusStatsDimensionsResponse) string { return v.ClientId }).(pulumi.StringOutput) } @@ -9900,6 +11305,12 @@ func (o EnterpriseCrmEventbusStatsResponseOutput) ToEnterpriseCrmEventbusStatsRe return o } +func (o EnterpriseCrmEventbusStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmEventbusStatsResponse] { + return pulumix.Output[EnterpriseCrmEventbusStatsResponse]{ + OutputState: o.OutputState, + } +} + // Dimensions that these stats have been aggregated on. func (o EnterpriseCrmEventbusStatsResponseOutput) Dimensions() EnterpriseCrmEventbusStatsDimensionsResponseOutput { return o.ApplyT(func(v EnterpriseCrmEventbusStatsResponse) EnterpriseCrmEventbusStatsDimensionsResponse { @@ -9958,6 +11369,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayArgs) ToEnterpri return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayArgs) ToEnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrOutput() EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrOutputWithContext(context.Background()) } @@ -9999,6 +11416,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrType) ToEnte return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayOutput) ElementType() reflect.Type { @@ -10023,6 +11446,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayOutput) ToEnterp }).(EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayOutput) BooleanValues() pulumi.BoolArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray) []bool { return v.BooleanValues }).(pulumi.BoolArrayOutput) } @@ -10041,6 +11470,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrOutput) ToEnt return o } +func (o EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray) EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray { if v != nil { @@ -10078,6 +11513,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayResponseOutput) return o } +func (o EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayResponseOutput) BooleanValues() pulumi.BoolArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayResponse) []bool { return v.BooleanValues @@ -10115,6 +11556,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayArgs) ToEnterpris return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayArgs) ToEnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrOutput() EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrOutputWithContext(context.Background()) } @@ -10156,6 +11603,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrType) ToEnter return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayOutput) ElementType() reflect.Type { @@ -10180,6 +11633,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayOutput) ToEnterpr }).(EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayOutput) DoubleValues() pulumi.Float64ArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray) []float64 { return v.DoubleValues }).(pulumi.Float64ArrayOutput) } @@ -10198,6 +11657,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrOutput) ToEnte return o } +func (o EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray) EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray { if v != nil { @@ -10235,6 +11700,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayResponseOutput) T return o } +func (o EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayResponseOutput) DoubleValues() pulumi.Float64ArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoDoubleParameterArrayResponse) []float64 { return v.DoubleValues @@ -10276,6 +11747,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoEventParametersArgs) ToEnterpriseCrmF return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoEventParametersOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoEventParametersArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoEventParameters] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoEventParameters]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoEventParametersOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoEventParametersArgs) ToEnterpriseCrmFrontendsEventbusProtoEventParametersPtrOutput() EnterpriseCrmFrontendsEventbusProtoEventParametersPtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoEventParametersPtrOutputWithContext(context.Background()) } @@ -10317,6 +11794,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoEventParametersPtrType) ToEnterprise return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoEventParametersPtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoEventParametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoEventParameters] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoEventParameters]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoEventParametersPtrOutputWithContext(ctx).OutputState, + } +} + // LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see type EnterpriseCrmFrontendsEventbusProtoEventParametersOutput struct{ *pulumi.OutputState } @@ -10342,6 +11825,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoEventParametersOutput) ToEnterpriseCr }).(EnterpriseCrmFrontendsEventbusProtoEventParametersPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoEventParametersOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoEventParameters] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoEventParameters]{ + OutputState: o.OutputState, + } +} + // Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution. func (o EnterpriseCrmFrontendsEventbusProtoEventParametersOutput) Parameters() EnterpriseCrmFrontendsEventbusProtoParameterEntryArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoEventParameters) []EnterpriseCrmFrontendsEventbusProtoParameterEntry { @@ -10363,6 +11852,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoEventParametersPtrOutput) ToEnterpris return o } +func (o EnterpriseCrmFrontendsEventbusProtoEventParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoEventParameters] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoEventParameters]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoEventParametersPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoEventParametersOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoEventParameters) EnterpriseCrmFrontendsEventbusProtoEventParameters { if v != nil { @@ -10404,6 +11899,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoEventParametersResponseOutput) ToEnte return o } +func (o EnterpriseCrmFrontendsEventbusProtoEventParametersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoEventParametersResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoEventParametersResponse]{ + OutputState: o.OutputState, + } +} + // Parameters are a part of Event and can be used to communicate between different tasks that are part of the same workflow execution. func (o EnterpriseCrmFrontendsEventbusProtoEventParametersResponseOutput) Parameters() EnterpriseCrmFrontendsEventbusProtoParameterEntryResponseArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoEventParametersResponse) []EnterpriseCrmFrontendsEventbusProtoParameterEntryResponse { @@ -10442,6 +11943,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoIntParameterArrayArgs) ToEnterpriseCr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoIntParameterArrayOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoIntParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoIntParameterArray] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoIntParameterArray]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoIntParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoIntParameterArrayArgs) ToEnterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrOutput() EnterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrOutputWithContext(context.Background()) } @@ -10483,6 +11990,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrType) ToEnterpri return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoIntParameterArray] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoIntParameterArray]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmFrontendsEventbusProtoIntParameterArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmFrontendsEventbusProtoIntParameterArrayOutput) ElementType() reflect.Type { @@ -10507,6 +12020,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoIntParameterArrayOutput) ToEnterprise }).(EnterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoIntParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoIntParameterArray] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoIntParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoIntParameterArrayOutput) IntValues() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoIntParameterArray) []string { return v.IntValues }).(pulumi.StringArrayOutput) } @@ -10525,6 +12044,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrOutput) ToEnterpr return o } +func (o EnterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoIntParameterArray] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoIntParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoIntParameterArrayPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoIntParameterArrayOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoIntParameterArray) EnterpriseCrmFrontendsEventbusProtoIntParameterArray { if v != nil { @@ -10562,6 +12087,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoIntParameterArrayResponseOutput) ToEn return o } +func (o EnterpriseCrmFrontendsEventbusProtoIntParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoIntParameterArrayResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoIntParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoIntParameterArrayResponseOutput) IntValues() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoIntParameterArrayResponse) []string { return v.IntValues }).(pulumi.StringArrayOutput) } @@ -10643,6 +12174,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArgs) ToEnterpriseCrmFr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoParamSpecEntryOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecEntry] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecEntry]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoParamSpecEntryOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArrayInput is an input type that accepts EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArray and EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArrayInput` via: // @@ -10668,6 +12205,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArray) ToEnterpriseCrmF return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArrayOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParamSpecEntry] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParamSpecEntry]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoParamSpecEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Key-value pair of EventBus task parameters. Next id: 13 type EnterpriseCrmFrontendsEventbusProtoParamSpecEntryOutput struct{ *pulumi.OutputState } @@ -10683,6 +12226,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecEntry] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecEntry]{ + OutputState: o.OutputState, + } +} + // The FQCN of the Java object this represents. A string, for example, would be "java.lang.String". If this is "java.lang.Object", the parameter can be of any type. func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryOutput) ClassName() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoParamSpecEntry) *string { return v.ClassName }).(pulumi.StringPtrOutput) @@ -10766,6 +12315,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArrayOutput) ToEnterpri return o } +func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParamSpecEntry] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParamSpecEntry]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmFrontendsEventbusProtoParamSpecEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmFrontendsEventbusProtoParamSpecEntry { return vs[0].([]EnterpriseCrmFrontendsEventbusProtoParamSpecEntry)[vs[1].(int)] @@ -10814,6 +12369,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponseOutput) ToEnter return o } +func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponse]{ + OutputState: o.OutputState, + } +} + // The FQCN of the Java object this represents. A string, for example, would be "java.lang.String". If this is "java.lang.Object", the parameter can be of any type. func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponseOutput) ClassName() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponse) string { return v.ClassName }).(pulumi.StringOutput) @@ -10897,6 +12458,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponseArrayOutput) To return o } +func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponse] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponse { return vs[0].([]EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponse)[vs[1].(int)] @@ -10934,6 +12501,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs) ToEnterpriseCr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoParamSpecsMessageOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs) ToEnterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrOutput() EnterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrOutputWithContext(context.Background()) } @@ -10975,6 +12548,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrType) ToEnterpri return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageOutput struct{ *pulumi.OutputState } func (EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageOutput) ElementType() reflect.Type { @@ -10999,6 +12578,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageOutput) ToEnterprise }).(EnterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageOutput) Parameters() EnterpriseCrmFrontendsEventbusProtoParamSpecEntryArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage) []EnterpriseCrmFrontendsEventbusProtoParamSpecEntry { return v.Parameters @@ -11019,6 +12604,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrOutput) ToEnterpr return o } +func (o EnterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParamSpecsMessagePtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage) EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage { if v != nil { @@ -11056,6 +12647,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageResponseOutput) ToEn return o } +func (o EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageResponseOutput) Parameters() EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponseArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageResponse) []EnterpriseCrmFrontendsEventbusProtoParamSpecEntryResponse { return v.Parameters @@ -11105,6 +12702,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoParameterEntryArgs) ToEnterpriseCrmFr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoParameterEntryOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoParameterEntryArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterEntry] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterEntry]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoParameterEntryOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmFrontendsEventbusProtoParameterEntryArrayInput is an input type that accepts EnterpriseCrmFrontendsEventbusProtoParameterEntryArray and EnterpriseCrmFrontendsEventbusProtoParameterEntryArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmFrontendsEventbusProtoParameterEntryArrayInput` via: // @@ -11130,6 +12733,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoParameterEntryArray) ToEnterpriseCrmF return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoParameterEntryArrayOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoParameterEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParameterEntry] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParameterEntry]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoParameterEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Key-value pair of EventBus parameters. type EnterpriseCrmFrontendsEventbusProtoParameterEntryOutput struct{ *pulumi.OutputState } @@ -11145,6 +12754,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryOutput) ToEnterpriseCrm return o } +func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterEntry] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterEntry]{ + OutputState: o.OutputState, + } +} + // Explicitly getting the type of the parameter. func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryOutput) DataType() EnterpriseCrmFrontendsEventbusProtoParameterEntryDataTypePtrOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoParameterEntry) *EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType { @@ -11178,6 +12793,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryArrayOutput) ToEnterpri return o } +func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParameterEntry] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParameterEntry]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmFrontendsEventbusProtoParameterEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmFrontendsEventbusProtoParameterEntry { return vs[0].([]EnterpriseCrmFrontendsEventbusProtoParameterEntry)[vs[1].(int)] @@ -11209,6 +12830,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryResponseOutput) ToEnter return o } +func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterEntryResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterEntryResponse]{ + OutputState: o.OutputState, + } +} + // Explicitly getting the type of the parameter. func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryResponseOutput) DataType() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoParameterEntryResponse) string { return v.DataType }).(pulumi.StringOutput) @@ -11240,6 +12867,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryResponseArrayOutput) To return o } +func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParameterEntryResponse] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoParameterEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParameterEntryResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmFrontendsEventbusProtoParameterEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmFrontendsEventbusProtoParameterEntryResponse { return vs[0].([]EnterpriseCrmFrontendsEventbusProtoParameterEntryResponse)[vs[1].(int)] @@ -11301,6 +12934,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoParameterValueTypeArgs) ToEnterpriseC return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoParameterValueTypeOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoParameterValueTypeArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterValueType] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterValueType]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoParameterValueTypeOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoParameterValueTypeArgs) ToEnterpriseCrmFrontendsEventbusProtoParameterValueTypePtrOutput() EnterpriseCrmFrontendsEventbusProtoParameterValueTypePtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoParameterValueTypePtrOutputWithContext(context.Background()) } @@ -11342,6 +12981,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoParameterValueTypePtrType) ToEnterpr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoParameterValueTypePtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoParameterValueTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParameterValueType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParameterValueType]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoParameterValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // To support various types of parameter values. Next available id: 14 type EnterpriseCrmFrontendsEventbusProtoParameterValueTypeOutput struct{ *pulumi.OutputState } @@ -11367,6 +13012,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParameterValueTypeOutput) ToEnterpris }).(EnterpriseCrmFrontendsEventbusProtoParameterValueTypePtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoParameterValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterValueType] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterValueType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParameterValueTypeOutput) BooleanArray() EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayPtrOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoParameterValueType) *EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray { return v.BooleanArray @@ -11441,6 +13092,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParameterValueTypePtrOutput) ToEnterp return o } +func (o EnterpriseCrmFrontendsEventbusProtoParameterValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParameterValueType] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoParameterValueType]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParameterValueTypePtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoParameterValueTypeOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoParameterValueType) EnterpriseCrmFrontendsEventbusProtoParameterValueType { if v != nil { @@ -11590,6 +13247,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoParameterValueTypeResponseOutput) ToE return o } +func (o EnterpriseCrmFrontendsEventbusProtoParameterValueTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterValueTypeResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoParameterValueTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoParameterValueTypeResponseOutput) BooleanArray() EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayResponseOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoParameterValueTypeResponse) EnterpriseCrmFrontendsEventbusProtoBooleanParameterArrayResponse { return v.BooleanArray @@ -11683,6 +13346,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayArgs) ToEnterprise return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoProtoParameterArray] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoProtoParameterArray]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoProtoParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayArgs) ToEnterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrOutput() EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrOutputWithContext(context.Background()) } @@ -11724,6 +13393,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrType) ToEnterp return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoProtoParameterArray] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoProtoParameterArray]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayOutput) ElementType() reflect.Type { @@ -11748,6 +13423,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayOutput) ToEnterpri }).(EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoProtoParameterArray] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoProtoParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayOutput) ProtoValues() pulumi.StringMapArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoProtoParameterArray) []map[string]string { return v.ProtoValues @@ -11768,6 +13449,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrOutput) ToEnter return o } +func (o EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoProtoParameterArray] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoProtoParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoProtoParameterArray) EnterpriseCrmFrontendsEventbusProtoProtoParameterArray { if v != nil { @@ -11805,6 +13492,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayResponseOutput) To return o } +func (o EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayResponseOutput) ProtoValues() pulumi.StringMapArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoProtoParameterArrayResponse) []map[string]string { return v.ProtoValues @@ -11854,6 +13547,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoRollbackStrategyArgs) ToEnterpriseCrm return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoRollbackStrategyOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoRollbackStrategyArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoRollbackStrategy] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoRollbackStrategy]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoRollbackStrategyOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoRollbackStrategyArgs) ToEnterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrOutput() EnterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrOutputWithContext(context.Background()) } @@ -11895,6 +13594,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrType) ToEnterpris return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoRollbackStrategy] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoRollbackStrategy]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Next available id: 4 type EnterpriseCrmFrontendsEventbusProtoRollbackStrategyOutput struct{ *pulumi.OutputState } @@ -11920,6 +13625,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoRollbackStrategyOutput) ToEnterpriseC }).(EnterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoRollbackStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoRollbackStrategy] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoRollbackStrategy]{ + OutputState: o.OutputState, + } +} + // Optional. The customized parameters the user can pass to this task. func (o EnterpriseCrmFrontendsEventbusProtoRollbackStrategyOutput) Parameters() EnterpriseCrmFrontendsEventbusProtoEventParametersPtrOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoRollbackStrategy) *EnterpriseCrmFrontendsEventbusProtoEventParameters { @@ -11953,6 +13664,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrOutput) ToEnterpri return o } +func (o EnterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoRollbackStrategy] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoRollbackStrategy]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoRollbackStrategyPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoRollbackStrategyOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoRollbackStrategy) EnterpriseCrmFrontendsEventbusProtoRollbackStrategy { if v != nil { @@ -12018,6 +13735,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoRollbackStrategyResponseOutput) ToEnt return o } +func (o EnterpriseCrmFrontendsEventbusProtoRollbackStrategyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoRollbackStrategyResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoRollbackStrategyResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The customized parameters the user can pass to this task. func (o EnterpriseCrmFrontendsEventbusProtoRollbackStrategyResponseOutput) Parameters() EnterpriseCrmFrontendsEventbusProtoEventParametersResponseOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoRollbackStrategyResponse) EnterpriseCrmFrontendsEventbusProtoEventParametersResponse { @@ -12070,6 +13793,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterArgs) ToEnte return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterArgs) ToEnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrOutput() EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrOutputWithContext(context.Background()) } @@ -12111,6 +13840,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrType) To return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterOutput struct{ *pulumi.OutputState } func (EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterOutput) ElementType() reflect.Type { @@ -12135,6 +13870,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterOutput) ToEn }).(EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterOutput) ObjectValue() pulumi.StringPtrOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter) *string { return v.ObjectValue }).(pulumi.StringPtrOutput) } @@ -12153,6 +13894,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrOutput) T return o } +func (o EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter) EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter { if v != nil { @@ -12190,6 +13937,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterResponseOutp return o } +func (o EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterResponseOutput) ObjectValue() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoSerializedObjectParameterResponse) string { return v.ObjectValue @@ -12227,6 +13980,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoStringParameterArrayArgs) ToEnterpris return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoStringParameterArrayOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoStringParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoStringParameterArray] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoStringParameterArray]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoStringParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoStringParameterArrayArgs) ToEnterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrOutput() EnterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrOutputWithContext(context.Background()) } @@ -12268,6 +14027,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrType) ToEnter return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoStringParameterArray] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoStringParameterArray]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmFrontendsEventbusProtoStringParameterArrayOutput struct{ *pulumi.OutputState } func (EnterpriseCrmFrontendsEventbusProtoStringParameterArrayOutput) ElementType() reflect.Type { @@ -12292,6 +14057,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoStringParameterArrayOutput) ToEnterpr }).(EnterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoStringParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoStringParameterArray] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoStringParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoStringParameterArrayOutput) StringValues() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoStringParameterArray) []string { return v.StringValues }).(pulumi.StringArrayOutput) } @@ -12310,6 +14081,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrOutput) ToEnte return o } +func (o EnterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoStringParameterArray] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoStringParameterArray]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoStringParameterArrayPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoStringParameterArrayOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoStringParameterArray) EnterpriseCrmFrontendsEventbusProtoStringParameterArray { if v != nil { @@ -12347,6 +14124,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoStringParameterArrayResponseOutput) T return o } +func (o EnterpriseCrmFrontendsEventbusProtoStringParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoStringParameterArrayResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoStringParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoStringParameterArrayResponseOutput) StringValues() pulumi.StringArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoStringParameterArrayResponse) []string { return v.StringValues @@ -12494,6 +14277,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoTaskConfigArgs) ToEnterpriseCrmFronte return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoTaskConfigOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoTaskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfig] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfig]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoTaskConfigOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmFrontendsEventbusProtoTaskConfigArrayInput is an input type that accepts EnterpriseCrmFrontendsEventbusProtoTaskConfigArray and EnterpriseCrmFrontendsEventbusProtoTaskConfigArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmFrontendsEventbusProtoTaskConfigArrayInput` via: // @@ -12519,6 +14308,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoTaskConfigArray) ToEnterpriseCrmFront return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoTaskConfigArrayOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoTaskConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTaskConfig] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTaskConfig]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoTaskConfigArrayOutputWithContext(ctx).OutputState, + } +} + // The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. type EnterpriseCrmFrontendsEventbusProtoTaskConfigOutput struct{ *pulumi.OutputState } @@ -12534,6 +14329,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigOutput) ToEnterpriseCrmFron return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfig] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfig]{ + OutputState: o.OutputState, + } +} + // Alert configurations on error rate, warning rate, number of runs, durations, etc. func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigOutput) AlertConfigs() EnterpriseCrmEventbusProtoTaskAlertConfigArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoTaskConfig) []EnterpriseCrmEventbusProtoTaskAlertConfig { @@ -12713,6 +14514,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigArrayOutput) ToEnterpriseCr return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTaskConfig] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTaskConfig]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmFrontendsEventbusProtoTaskConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmFrontendsEventbusProtoTaskConfig { return vs[0].([]EnterpriseCrmFrontendsEventbusProtoTaskConfig)[vs[1].(int)] @@ -12793,6 +14600,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigResponseOutput) ToEnterpris return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse]{ + OutputState: o.OutputState, + } +} + // Alert configurations on error rate, warning rate, number of runs, durations, etc. func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigResponseOutput) AlertConfigs() EnterpriseCrmEventbusProtoTaskAlertConfigResponseArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse) []EnterpriseCrmEventbusProtoTaskAlertConfigResponse { @@ -12966,6 +14779,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigResponseArrayOutput) ToEnte return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskConfigResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmFrontendsEventbusProtoTaskConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse { return vs[0].([]EnterpriseCrmFrontendsEventbusProtoTaskConfigResponse)[vs[1].(int)] @@ -13031,6 +14850,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoTaskEntityArgs) ToEnterpriseCrmFronte return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoTaskEntityOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoTaskEntityArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskEntity] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskEntity]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoTaskEntityOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoTaskEntityArgs) ToEnterpriseCrmFrontendsEventbusProtoTaskEntityPtrOutput() EnterpriseCrmFrontendsEventbusProtoTaskEntityPtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoTaskEntityPtrOutputWithContext(context.Background()) } @@ -13072,6 +14897,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoTaskEntityPtrType) ToEnterpriseCrmFr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoTaskEntityPtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoTaskEntityPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskEntity] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskEntity]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoTaskEntityPtrOutputWithContext(ctx).OutputState, + } +} + // Contains a task's metadata and associated information. Next available id: 7 type EnterpriseCrmFrontendsEventbusProtoTaskEntityOutput struct{ *pulumi.OutputState } @@ -13097,6 +14928,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityOutput) ToEnterpriseCrmFron }).(EnterpriseCrmFrontendsEventbusProtoTaskEntityPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskEntity] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskEntity]{ + OutputState: o.OutputState, + } +} + // True if the task has conflict with vpcsc func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityOutput) DisabledForVpcSc() pulumi.BoolPtrOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoTaskEntity) *bool { return v.DisabledForVpcSc }).(pulumi.BoolPtrOutput) @@ -13151,6 +14988,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityPtrOutput) ToEnterpriseCrmF return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskEntity] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoTaskEntity]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoTaskEntityOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoTaskEntity) EnterpriseCrmFrontendsEventbusProtoTaskEntity { if v != nil { @@ -13256,6 +15099,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityResponseOutput) ToEnterpris return o } +func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskEntityResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTaskEntityResponse]{ + OutputState: o.OutputState, + } +} + // True if the task has conflict with vpcsc func (o EnterpriseCrmFrontendsEventbusProtoTaskEntityResponseOutput) DisabledForVpcSc() pulumi.BoolOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoTaskEntityResponse) bool { return v.DisabledForVpcSc }).(pulumi.BoolOutput) @@ -13383,6 +15232,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoTriggerConfigArgs) ToEnterpriseCrmFro return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoTriggerConfigOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoTriggerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTriggerConfig] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTriggerConfig]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoTriggerConfigOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmFrontendsEventbusProtoTriggerConfigArrayInput is an input type that accepts EnterpriseCrmFrontendsEventbusProtoTriggerConfigArray and EnterpriseCrmFrontendsEventbusProtoTriggerConfigArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmFrontendsEventbusProtoTriggerConfigArrayInput` via: // @@ -13408,6 +15263,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoTriggerConfigArray) ToEnterpriseCrmFr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoTriggerConfigArrayOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoTriggerConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTriggerConfig] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTriggerConfig]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoTriggerConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration detail of a trigger. Next available id: 19 type EnterpriseCrmFrontendsEventbusProtoTriggerConfigOutput struct{ *pulumi.OutputState } @@ -13423,6 +15284,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigOutput) ToEnterpriseCrmF return o } +func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTriggerConfig] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTriggerConfig]{ + OutputState: o.OutputState, + } +} + // An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published. func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigOutput) AlertConfig() EnterpriseCrmEventbusProtoWorkflowAlertConfigArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoTriggerConfig) []EnterpriseCrmEventbusProtoWorkflowAlertConfig { @@ -13524,6 +15391,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigArrayOutput) ToEnterpris return o } +func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTriggerConfig] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTriggerConfig]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmFrontendsEventbusProtoTriggerConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmFrontendsEventbusProtoTriggerConfig { return vs[0].([]EnterpriseCrmFrontendsEventbusProtoTriggerConfig)[vs[1].(int)] @@ -13577,6 +15450,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponseOutput) ToEnterp return o } +func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponse]{ + OutputState: o.OutputState, + } +} + // An alert threshold configuration for the [trigger + client + workflow] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + workflow] when published. func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponseOutput) AlertConfig() EnterpriseCrmEventbusProtoWorkflowAlertConfigResponseArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponse) []EnterpriseCrmEventbusProtoWorkflowAlertConfigResponse { @@ -13680,6 +15559,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponseArrayOutput) ToE return o } +func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponse] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponse { return vs[0].([]EnterpriseCrmFrontendsEventbusProtoTriggerConfigResponse)[vs[1].(int)] @@ -13765,6 +15650,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArgs) ToEnterpr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryOutputWithContext(ctx).OutputState, + } +} + // EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArrayInput is an input type that accepts EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArray and EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArrayOutput values. // You can construct a concrete instance of `EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArrayInput` via: // @@ -13790,6 +15681,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArray) ToEnterp return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArrayOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArrayOutputWithContext(ctx).OutputState, + } +} + type EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryOutput struct{ *pulumi.OutputState } func (EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryOutput) ElementType() reflect.Type { @@ -13804,6 +15701,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryOutput) ToEnter return o } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry]{ + OutputState: o.OutputState, + } +} + // Metadata information about the parameters. func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryOutput) Attributes() EnterpriseCrmEventbusProtoAttributesPtrOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry) *EnterpriseCrmEventbusProtoAttributes { @@ -13894,6 +15797,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArrayOutput) To return o } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry { return vs[0].([]EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry)[vs[1].(int)] @@ -13942,6 +15851,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponseOutput) return o } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponse]{ + OutputState: o.OutputState, + } +} + // Metadata information about the parameters. func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponseOutput) Attributes() EnterpriseCrmEventbusProtoAttributesResponseOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponse) EnterpriseCrmEventbusProtoAttributesResponse { @@ -14032,6 +15947,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponseArrayOu return o } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponse] { + return pulumix.Output[[]EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponseArrayOutput) Index(i pulumi.IntInput) EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponse { return vs[0].([]EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponse)[vs[1].(int)] @@ -14073,6 +15994,12 @@ func (i EnterpriseCrmFrontendsEventbusProtoWorkflowParametersArgs) ToEnterpriseC return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoWorkflowParametersOutput) } +func (i EnterpriseCrmFrontendsEventbusProtoWorkflowParametersArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameters] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameters]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoWorkflowParametersOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmFrontendsEventbusProtoWorkflowParametersArgs) ToEnterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrOutput() EnterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrOutput { return i.ToEnterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrOutputWithContext(context.Background()) } @@ -14114,6 +16041,12 @@ func (i *enterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrType) ToEnterpr return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrOutput) } +func (i *enterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameters] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameters]{ + OutputState: i.ToEnterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrOutputWithContext(ctx).OutputState, + } +} + // LINT.IfChange This is the frontend version of WorkflowParameters. It's exactly like the backend version except that instead of flattening protobuf parameters and treating every field and subfield of a protobuf parameter as a separate parameter, the fields/subfields of a protobuf parameter will be nested as "children" (see 'children' field below) parameters of the parent parameter. Please refer to enterprise/crm/eventbus/proto/workflow_parameters.proto for more information about WorkflowParameters. type EnterpriseCrmFrontendsEventbusProtoWorkflowParametersOutput struct{ *pulumi.OutputState } @@ -14139,6 +16072,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParametersOutput) ToEnterpris }).(EnterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrOutput) } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParametersOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameters] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParameters]{ + OutputState: o.OutputState, + } +} + // Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution. func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParametersOutput) Parameters() EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoWorkflowParameters) []EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry { @@ -14160,6 +16099,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrOutput) ToEnterp return o } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameters] { + return pulumix.Output[*EnterpriseCrmFrontendsEventbusProtoWorkflowParameters]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParametersPtrOutput) Elem() EnterpriseCrmFrontendsEventbusProtoWorkflowParametersOutput { return o.ApplyT(func(v *EnterpriseCrmFrontendsEventbusProtoWorkflowParameters) EnterpriseCrmFrontendsEventbusProtoWorkflowParameters { if v != nil { @@ -14201,6 +16146,12 @@ func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParametersResponseOutput) ToE return o } +func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParametersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParametersResponse] { + return pulumix.Output[EnterpriseCrmFrontendsEventbusProtoWorkflowParametersResponse]{ + OutputState: o.OutputState, + } +} + // Parameters are a part of Event and can be used to communiticate between different tasks that are part of the same workflow execution. func (o EnterpriseCrmFrontendsEventbusProtoWorkflowParametersResponseOutput) Parameters() EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponseArrayOutput { return o.ApplyT(func(v EnterpriseCrmFrontendsEventbusProtoWorkflowParametersResponse) []EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntryResponse { @@ -14255,6 +16206,12 @@ func (i EnterpriseCrmLoggingGwsFieldLimitsArgs) ToEnterpriseCrmLoggingGwsFieldLi return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmLoggingGwsFieldLimitsOutput) } +func (i EnterpriseCrmLoggingGwsFieldLimitsArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsFieldLimits] { + return pulumix.Output[EnterpriseCrmLoggingGwsFieldLimits]{ + OutputState: i.ToEnterpriseCrmLoggingGwsFieldLimitsOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmLoggingGwsFieldLimitsArgs) ToEnterpriseCrmLoggingGwsFieldLimitsPtrOutput() EnterpriseCrmLoggingGwsFieldLimitsPtrOutput { return i.ToEnterpriseCrmLoggingGwsFieldLimitsPtrOutputWithContext(context.Background()) } @@ -14296,6 +16253,12 @@ func (i *enterpriseCrmLoggingGwsFieldLimitsPtrType) ToEnterpriseCrmLoggingGwsFie return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmLoggingGwsFieldLimitsPtrOutput) } +func (i *enterpriseCrmLoggingGwsFieldLimitsPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimits] { + return pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimits]{ + OutputState: i.ToEnterpriseCrmLoggingGwsFieldLimitsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes string and array limits when writing to logs. When a limit is exceeded the *shortener_type* describes how to shorten the field. next_id: 6 type EnterpriseCrmLoggingGwsFieldLimitsOutput struct{ *pulumi.OutputState } @@ -14321,6 +16284,12 @@ func (o EnterpriseCrmLoggingGwsFieldLimitsOutput) ToEnterpriseCrmLoggingGwsField }).(EnterpriseCrmLoggingGwsFieldLimitsPtrOutput) } +func (o EnterpriseCrmLoggingGwsFieldLimitsOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsFieldLimits] { + return pulumix.Output[EnterpriseCrmLoggingGwsFieldLimits]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsFieldLimitsOutput) LogAction() EnterpriseCrmLoggingGwsFieldLimitsLogActionPtrOutput { return o.ApplyT(func(v EnterpriseCrmLoggingGwsFieldLimits) *EnterpriseCrmLoggingGwsFieldLimitsLogAction { return v.LogAction @@ -14364,6 +16333,12 @@ func (o EnterpriseCrmLoggingGwsFieldLimitsPtrOutput) ToEnterpriseCrmLoggingGwsFi return o } +func (o EnterpriseCrmLoggingGwsFieldLimitsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimits] { + return pulumix.Output[*EnterpriseCrmLoggingGwsFieldLimits]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsFieldLimitsPtrOutput) Elem() EnterpriseCrmLoggingGwsFieldLimitsOutput { return o.ApplyT(func(v *EnterpriseCrmLoggingGwsFieldLimits) EnterpriseCrmLoggingGwsFieldLimits { if v != nil { @@ -14449,6 +16424,12 @@ func (o EnterpriseCrmLoggingGwsFieldLimitsResponseOutput) ToEnterpriseCrmLogging return o } +func (o EnterpriseCrmLoggingGwsFieldLimitsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsFieldLimitsResponse] { + return pulumix.Output[EnterpriseCrmLoggingGwsFieldLimitsResponse]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsFieldLimitsResponseOutput) LogAction() pulumi.StringOutput { return o.ApplyT(func(v EnterpriseCrmLoggingGwsFieldLimitsResponse) string { return v.LogAction }).(pulumi.StringOutput) } @@ -14515,6 +16496,12 @@ func (i EnterpriseCrmLoggingGwsSanitizeOptionsArgs) ToEnterpriseCrmLoggingGwsSan return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmLoggingGwsSanitizeOptionsOutput) } +func (i EnterpriseCrmLoggingGwsSanitizeOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptions] { + return pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptions]{ + OutputState: i.ToEnterpriseCrmLoggingGwsSanitizeOptionsOutputWithContext(ctx).OutputState, + } +} + func (i EnterpriseCrmLoggingGwsSanitizeOptionsArgs) ToEnterpriseCrmLoggingGwsSanitizeOptionsPtrOutput() EnterpriseCrmLoggingGwsSanitizeOptionsPtrOutput { return i.ToEnterpriseCrmLoggingGwsSanitizeOptionsPtrOutputWithContext(context.Background()) } @@ -14556,6 +16543,12 @@ func (i *enterpriseCrmLoggingGwsSanitizeOptionsPtrType) ToEnterpriseCrmLoggingGw return pulumi.ToOutputWithContext(ctx, i).(EnterpriseCrmLoggingGwsSanitizeOptionsPtrOutput) } +func (i *enterpriseCrmLoggingGwsSanitizeOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptions] { + return pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptions]{ + OutputState: i.ToEnterpriseCrmLoggingGwsSanitizeOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Identifies whether a field contains, or may contain, PII or sensitive data, and how to sanitize the field if it does. If a field's privacy type cannot be determined then it is sanitized (e.g., scrubbed). The specific sanitizer implementation is determined by run-time configuration and environment options (e.g., prod vs. qa). next_id: 5 type EnterpriseCrmLoggingGwsSanitizeOptionsOutput struct{ *pulumi.OutputState } @@ -14581,6 +16574,12 @@ func (o EnterpriseCrmLoggingGwsSanitizeOptionsOutput) ToEnterpriseCrmLoggingGwsS }).(EnterpriseCrmLoggingGwsSanitizeOptionsPtrOutput) } +func (o EnterpriseCrmLoggingGwsSanitizeOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptions] { + return pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptions]{ + OutputState: o.OutputState, + } +} + // If true, the value has already been sanitized and needs no further sanitization. For instance, a D3 customer id is already an obfuscated entity and *might not* need further sanitization. func (o EnterpriseCrmLoggingGwsSanitizeOptionsOutput) IsAlreadySanitized() pulumi.BoolPtrOutput { return o.ApplyT(func(v EnterpriseCrmLoggingGwsSanitizeOptions) *bool { return v.IsAlreadySanitized }).(pulumi.BoolPtrOutput) @@ -14619,6 +16618,12 @@ func (o EnterpriseCrmLoggingGwsSanitizeOptionsPtrOutput) ToEnterpriseCrmLoggingG return o } +func (o EnterpriseCrmLoggingGwsSanitizeOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptions] { + return pulumix.Output[*EnterpriseCrmLoggingGwsSanitizeOptions]{ + OutputState: o.OutputState, + } +} + func (o EnterpriseCrmLoggingGwsSanitizeOptionsPtrOutput) Elem() EnterpriseCrmLoggingGwsSanitizeOptionsOutput { return o.ApplyT(func(v *EnterpriseCrmLoggingGwsSanitizeOptions) EnterpriseCrmLoggingGwsSanitizeOptions { if v != nil { @@ -14692,6 +16697,12 @@ func (o EnterpriseCrmLoggingGwsSanitizeOptionsResponseOutput) ToEnterpriseCrmLog return o } +func (o EnterpriseCrmLoggingGwsSanitizeOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptionsResponse] { + return pulumix.Output[EnterpriseCrmLoggingGwsSanitizeOptionsResponse]{ + OutputState: o.OutputState, + } +} + // If true, the value has already been sanitized and needs no further sanitization. For instance, a D3 customer id is already an obfuscated entity and *might not* need further sanitization. func (o EnterpriseCrmLoggingGwsSanitizeOptionsResponseOutput) IsAlreadySanitized() pulumi.BoolOutput { return o.ApplyT(func(v EnterpriseCrmLoggingGwsSanitizeOptionsResponse) bool { return v.IsAlreadySanitized }).(pulumi.BoolOutput) @@ -14761,6 +16772,12 @@ func (i GoogleCloudIntegrationsV1alphaAccessTokenArgs) ToGoogleCloudIntegrations return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaAccessTokenOutput) } +func (i GoogleCloudIntegrationsV1alphaAccessTokenArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaAccessToken] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaAccessToken]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaAccessTokenOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaAccessTokenArgs) ToGoogleCloudIntegrationsV1alphaAccessTokenPtrOutput() GoogleCloudIntegrationsV1alphaAccessTokenPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaAccessTokenPtrOutputWithContext(context.Background()) } @@ -14802,6 +16819,12 @@ func (i *googleCloudIntegrationsV1alphaAccessTokenPtrType) ToGoogleCloudIntegrat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaAccessTokenPtrOutput) } +func (i *googleCloudIntegrationsV1alphaAccessTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaAccessToken] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaAccessToken]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaAccessTokenPtrOutputWithContext(ctx).OutputState, + } +} + // The access token represents the authorization of a specific application to access specific parts of a user’s data. type GoogleCloudIntegrationsV1alphaAccessTokenOutput struct{ *pulumi.OutputState } @@ -14827,6 +16850,12 @@ func (o GoogleCloudIntegrationsV1alphaAccessTokenOutput) ToGoogleCloudIntegratio }).(GoogleCloudIntegrationsV1alphaAccessTokenPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaAccessTokenOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaAccessToken] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaAccessToken]{ + OutputState: o.OutputState, + } +} + // The access token encapsulating the security identity of a process or thread. func (o GoogleCloudIntegrationsV1alphaAccessTokenOutput) AccessToken() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaAccessToken) *string { return v.AccessToken }).(pulumi.StringPtrOutput) @@ -14866,6 +16895,12 @@ func (o GoogleCloudIntegrationsV1alphaAccessTokenPtrOutput) ToGoogleCloudIntegra return o } +func (o GoogleCloudIntegrationsV1alphaAccessTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaAccessToken] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaAccessToken]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaAccessTokenPtrOutput) Elem() GoogleCloudIntegrationsV1alphaAccessTokenOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaAccessToken) GoogleCloudIntegrationsV1alphaAccessToken { if v != nil { @@ -14955,6 +16990,12 @@ func (o GoogleCloudIntegrationsV1alphaAccessTokenResponseOutput) ToGoogleCloudIn return o } +func (o GoogleCloudIntegrationsV1alphaAccessTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaAccessTokenResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaAccessTokenResponse]{ + OutputState: o.OutputState, + } +} + // The access token encapsulating the security identity of a process or thread. func (o GoogleCloudIntegrationsV1alphaAccessTokenResponseOutput) AccessToken() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaAccessTokenResponse) string { return v.AccessToken }).(pulumi.StringOutput) @@ -15019,6 +17060,12 @@ func (i GoogleCloudIntegrationsV1alphaAuthTokenArgs) ToGoogleCloudIntegrationsV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaAuthTokenOutput) } +func (i GoogleCloudIntegrationsV1alphaAuthTokenArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaAuthToken] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaAuthToken]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaAuthTokenOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaAuthTokenArgs) ToGoogleCloudIntegrationsV1alphaAuthTokenPtrOutput() GoogleCloudIntegrationsV1alphaAuthTokenPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaAuthTokenPtrOutputWithContext(context.Background()) } @@ -15060,6 +17107,12 @@ func (i *googleCloudIntegrationsV1alphaAuthTokenPtrType) ToGoogleCloudIntegratio return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaAuthTokenPtrOutput) } +func (i *googleCloudIntegrationsV1alphaAuthTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaAuthToken] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaAuthToken]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaAuthTokenPtrOutputWithContext(ctx).OutputState, + } +} + // The credentials to authenticate a user agent with a server that is put in HTTP Authorization request header. type GoogleCloudIntegrationsV1alphaAuthTokenOutput struct{ *pulumi.OutputState } @@ -15085,6 +17138,12 @@ func (o GoogleCloudIntegrationsV1alphaAuthTokenOutput) ToGoogleCloudIntegrations }).(GoogleCloudIntegrationsV1alphaAuthTokenPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaAuthTokenOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaAuthToken] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaAuthToken]{ + OutputState: o.OutputState, + } +} + // The token for the auth type. func (o GoogleCloudIntegrationsV1alphaAuthTokenOutput) Token() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaAuthToken) *string { return v.Token }).(pulumi.StringPtrOutput) @@ -15109,6 +17168,12 @@ func (o GoogleCloudIntegrationsV1alphaAuthTokenPtrOutput) ToGoogleCloudIntegrati return o } +func (o GoogleCloudIntegrationsV1alphaAuthTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaAuthToken] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaAuthToken]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaAuthTokenPtrOutput) Elem() GoogleCloudIntegrationsV1alphaAuthTokenOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaAuthToken) GoogleCloudIntegrationsV1alphaAuthToken { if v != nil { @@ -15162,6 +17227,12 @@ func (o GoogleCloudIntegrationsV1alphaAuthTokenResponseOutput) ToGoogleCloudInte return o } +func (o GoogleCloudIntegrationsV1alphaAuthTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaAuthTokenResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaAuthTokenResponse]{ + OutputState: o.OutputState, + } +} + // The token for the auth type. func (o GoogleCloudIntegrationsV1alphaAuthTokenResponseOutput) Token() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaAuthTokenResponse) string { return v.Token }).(pulumi.StringOutput) @@ -15207,6 +17278,12 @@ func (i GoogleCloudIntegrationsV1alphaBooleanParameterArrayArgs) ToGoogleCloudIn return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaBooleanParameterArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaBooleanParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaBooleanParameterArray] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaBooleanParameterArray]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaBooleanParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaBooleanParameterArrayArgs) ToGoogleCloudIntegrationsV1alphaBooleanParameterArrayPtrOutput() GoogleCloudIntegrationsV1alphaBooleanParameterArrayPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaBooleanParameterArrayPtrOutputWithContext(context.Background()) } @@ -15248,6 +17325,12 @@ func (i *googleCloudIntegrationsV1alphaBooleanParameterArrayPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaBooleanParameterArrayPtrOutput) } +func (i *googleCloudIntegrationsV1alphaBooleanParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaBooleanParameterArray] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaBooleanParameterArray]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaBooleanParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + // This message only contains a field of boolean array. type GoogleCloudIntegrationsV1alphaBooleanParameterArrayOutput struct{ *pulumi.OutputState } @@ -15273,6 +17356,12 @@ func (o GoogleCloudIntegrationsV1alphaBooleanParameterArrayOutput) ToGoogleCloud }).(GoogleCloudIntegrationsV1alphaBooleanParameterArrayPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaBooleanParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaBooleanParameterArray] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaBooleanParameterArray]{ + OutputState: o.OutputState, + } +} + // Boolean array. func (o GoogleCloudIntegrationsV1alphaBooleanParameterArrayOutput) BooleanValues() pulumi.BoolArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaBooleanParameterArray) []bool { return v.BooleanValues }).(pulumi.BoolArrayOutput) @@ -15292,6 +17381,12 @@ func (o GoogleCloudIntegrationsV1alphaBooleanParameterArrayPtrOutput) ToGoogleCl return o } +func (o GoogleCloudIntegrationsV1alphaBooleanParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaBooleanParameterArray] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaBooleanParameterArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaBooleanParameterArrayPtrOutput) Elem() GoogleCloudIntegrationsV1alphaBooleanParameterArrayOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaBooleanParameterArray) GoogleCloudIntegrationsV1alphaBooleanParameterArray { if v != nil { @@ -15333,6 +17428,12 @@ func (o GoogleCloudIntegrationsV1alphaBooleanParameterArrayResponseOutput) ToGoo return o } +func (o GoogleCloudIntegrationsV1alphaBooleanParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaBooleanParameterArrayResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaBooleanParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + // Boolean array. func (o GoogleCloudIntegrationsV1alphaBooleanParameterArrayResponseOutput) BooleanValues() pulumi.BoolArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaBooleanParameterArrayResponse) []bool { return v.BooleanValues }).(pulumi.BoolArrayOutput) @@ -15381,6 +17482,12 @@ func (i GoogleCloudIntegrationsV1alphaClientCertificateArgs) ToGoogleCloudIntegr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaClientCertificateOutput) } +func (i GoogleCloudIntegrationsV1alphaClientCertificateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaClientCertificate] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaClientCertificate]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaClientCertificateOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaClientCertificateArgs) ToGoogleCloudIntegrationsV1alphaClientCertificatePtrOutput() GoogleCloudIntegrationsV1alphaClientCertificatePtrOutput { return i.ToGoogleCloudIntegrationsV1alphaClientCertificatePtrOutputWithContext(context.Background()) } @@ -15422,6 +17529,12 @@ func (i *googleCloudIntegrationsV1alphaClientCertificatePtrType) ToGoogleCloudIn return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaClientCertificatePtrOutput) } +func (i *googleCloudIntegrationsV1alphaClientCertificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaClientCertificate] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaClientCertificate]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaClientCertificatePtrOutputWithContext(ctx).OutputState, + } +} + // Contains client certificate information type GoogleCloudIntegrationsV1alphaClientCertificateOutput struct{ *pulumi.OutputState } @@ -15447,6 +17560,12 @@ func (o GoogleCloudIntegrationsV1alphaClientCertificateOutput) ToGoogleCloudInte }).(GoogleCloudIntegrationsV1alphaClientCertificatePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaClientCertificateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaClientCertificate] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaClientCertificate]{ + OutputState: o.OutputState, + } +} + // The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE----- func (o GoogleCloudIntegrationsV1alphaClientCertificateOutput) EncryptedPrivateKey() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaClientCertificate) *string { return v.EncryptedPrivateKey }).(pulumi.StringPtrOutput) @@ -15476,6 +17595,12 @@ func (o GoogleCloudIntegrationsV1alphaClientCertificatePtrOutput) ToGoogleCloudI return o } +func (o GoogleCloudIntegrationsV1alphaClientCertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaClientCertificate] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaClientCertificate]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaClientCertificatePtrOutput) Elem() GoogleCloudIntegrationsV1alphaClientCertificateOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaClientCertificate) GoogleCloudIntegrationsV1alphaClientCertificate { if v != nil { @@ -15541,6 +17666,12 @@ func (o GoogleCloudIntegrationsV1alphaClientCertificateResponseOutput) ToGoogleC return o } +func (o GoogleCloudIntegrationsV1alphaClientCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaClientCertificateResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaClientCertificateResponse]{ + OutputState: o.OutputState, + } +} + // The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE----- func (o GoogleCloudIntegrationsV1alphaClientCertificateResponseOutput) EncryptedPrivateKey() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaClientCertificateResponse) string { return v.EncryptedPrivateKey }).(pulumi.StringOutput) @@ -15603,6 +17734,12 @@ func (i GoogleCloudIntegrationsV1alphaCloudSchedulerConfigArgs) ToGoogleCloudInt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaCloudSchedulerConfigOutput) } +func (i GoogleCloudIntegrationsV1alphaCloudSchedulerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaCloudSchedulerConfig] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaCloudSchedulerConfig]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaCloudSchedulerConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaCloudSchedulerConfigArgs) ToGoogleCloudIntegrationsV1alphaCloudSchedulerConfigPtrOutput() GoogleCloudIntegrationsV1alphaCloudSchedulerConfigPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaCloudSchedulerConfigPtrOutputWithContext(context.Background()) } @@ -15644,6 +17781,12 @@ func (i *googleCloudIntegrationsV1alphaCloudSchedulerConfigPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaCloudSchedulerConfigPtrOutput) } +func (i *googleCloudIntegrationsV1alphaCloudSchedulerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaCloudSchedulerConfig] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaCloudSchedulerConfig]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaCloudSchedulerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Scheduler Trigger configuration type GoogleCloudIntegrationsV1alphaCloudSchedulerConfigOutput struct{ *pulumi.OutputState } @@ -15669,6 +17812,12 @@ func (o GoogleCloudIntegrationsV1alphaCloudSchedulerConfigOutput) ToGoogleCloudI }).(GoogleCloudIntegrationsV1alphaCloudSchedulerConfigPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaCloudSchedulerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaCloudSchedulerConfig] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaCloudSchedulerConfig]{ + OutputState: o.OutputState, + } +} + // The cron tab of cloud scheduler trigger. func (o GoogleCloudIntegrationsV1alphaCloudSchedulerConfigOutput) CronTab() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaCloudSchedulerConfig) string { return v.CronTab }).(pulumi.StringOutput) @@ -15703,6 +17852,12 @@ func (o GoogleCloudIntegrationsV1alphaCloudSchedulerConfigPtrOutput) ToGoogleClo return o } +func (o GoogleCloudIntegrationsV1alphaCloudSchedulerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaCloudSchedulerConfig] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaCloudSchedulerConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaCloudSchedulerConfigPtrOutput) Elem() GoogleCloudIntegrationsV1alphaCloudSchedulerConfigOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaCloudSchedulerConfig) GoogleCloudIntegrationsV1alphaCloudSchedulerConfig { if v != nil { @@ -15780,6 +17935,12 @@ func (o GoogleCloudIntegrationsV1alphaCloudSchedulerConfigResponseOutput) ToGoog return o } +func (o GoogleCloudIntegrationsV1alphaCloudSchedulerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaCloudSchedulerConfigResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaCloudSchedulerConfigResponse]{ + OutputState: o.OutputState, + } +} + // The cron tab of cloud scheduler trigger. func (o GoogleCloudIntegrationsV1alphaCloudSchedulerConfigResponseOutput) CronTab() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaCloudSchedulerConfigResponse) string { return v.CronTab }).(pulumi.StringOutput) @@ -15841,6 +18002,12 @@ func (i GoogleCloudIntegrationsV1alphaCoordinateArgs) ToGoogleCloudIntegrationsV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaCoordinateOutput) } +func (i GoogleCloudIntegrationsV1alphaCoordinateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaCoordinate] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaCoordinate]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaCoordinateOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaCoordinateArgs) ToGoogleCloudIntegrationsV1alphaCoordinatePtrOutput() GoogleCloudIntegrationsV1alphaCoordinatePtrOutput { return i.ToGoogleCloudIntegrationsV1alphaCoordinatePtrOutputWithContext(context.Background()) } @@ -15882,6 +18049,12 @@ func (i *googleCloudIntegrationsV1alphaCoordinatePtrType) ToGoogleCloudIntegrati return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaCoordinatePtrOutput) } +func (i *googleCloudIntegrationsV1alphaCoordinatePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaCoordinate] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaCoordinate]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaCoordinatePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration detail of coordinate, it used for UI type GoogleCloudIntegrationsV1alphaCoordinateOutput struct{ *pulumi.OutputState } @@ -15907,6 +18080,12 @@ func (o GoogleCloudIntegrationsV1alphaCoordinateOutput) ToGoogleCloudIntegration }).(GoogleCloudIntegrationsV1alphaCoordinatePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaCoordinateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaCoordinate] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaCoordinate]{ + OutputState: o.OutputState, + } +} + // X axis of the coordinate func (o GoogleCloudIntegrationsV1alphaCoordinateOutput) X() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaCoordinate) int { return v.X }).(pulumi.IntOutput) @@ -15931,6 +18110,12 @@ func (o GoogleCloudIntegrationsV1alphaCoordinatePtrOutput) ToGoogleCloudIntegrat return o } +func (o GoogleCloudIntegrationsV1alphaCoordinatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaCoordinate] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaCoordinate]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaCoordinatePtrOutput) Elem() GoogleCloudIntegrationsV1alphaCoordinateOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaCoordinate) GoogleCloudIntegrationsV1alphaCoordinate { if v != nil { @@ -15984,6 +18169,12 @@ func (o GoogleCloudIntegrationsV1alphaCoordinateResponseOutput) ToGoogleCloudInt return o } +func (o GoogleCloudIntegrationsV1alphaCoordinateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaCoordinateResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaCoordinateResponse]{ + OutputState: o.OutputState, + } +} + // X axis of the coordinate func (o GoogleCloudIntegrationsV1alphaCoordinateResponseOutput) X() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaCoordinateResponse) int { return v.X }).(pulumi.IntOutput) @@ -16061,6 +18252,12 @@ func (i GoogleCloudIntegrationsV1alphaCredentialArgs) ToGoogleCloudIntegrationsV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaCredentialOutput) } +func (i GoogleCloudIntegrationsV1alphaCredentialArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaCredential] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaCredential]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaCredentialOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaCredentialArgs) ToGoogleCloudIntegrationsV1alphaCredentialPtrOutput() GoogleCloudIntegrationsV1alphaCredentialPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaCredentialPtrOutputWithContext(context.Background()) } @@ -16102,6 +18299,12 @@ func (i *googleCloudIntegrationsV1alphaCredentialPtrType) ToGoogleCloudIntegrati return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaCredentialPtrOutput) } +func (i *googleCloudIntegrationsV1alphaCredentialPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaCredential] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaCredential]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaCredentialPtrOutputWithContext(ctx).OutputState, + } +} + // Defines parameters for a single, canonical credential. type GoogleCloudIntegrationsV1alphaCredentialOutput struct{ *pulumi.OutputState } @@ -16127,6 +18330,12 @@ func (o GoogleCloudIntegrationsV1alphaCredentialOutput) ToGoogleCloudIntegration }).(GoogleCloudIntegrationsV1alphaCredentialPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaCredentialOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaCredential] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaCredential]{ + OutputState: o.OutputState, + } +} + // Auth token credential func (o GoogleCloudIntegrationsV1alphaCredentialOutput) AuthToken() GoogleCloudIntegrationsV1alphaAuthTokenPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaCredential) *GoogleCloudIntegrationsV1alphaAuthToken { @@ -16202,6 +18411,12 @@ func (o GoogleCloudIntegrationsV1alphaCredentialPtrOutput) ToGoogleCloudIntegrat return o } +func (o GoogleCloudIntegrationsV1alphaCredentialPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaCredential] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaCredential]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaCredentialPtrOutput) Elem() GoogleCloudIntegrationsV1alphaCredentialOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaCredential) GoogleCloudIntegrationsV1alphaCredential { if v != nil { @@ -16339,6 +18554,12 @@ func (o GoogleCloudIntegrationsV1alphaCredentialResponseOutput) ToGoogleCloudInt return o } +func (o GoogleCloudIntegrationsV1alphaCredentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaCredentialResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaCredentialResponse]{ + OutputState: o.OutputState, + } +} + // Auth token credential func (o GoogleCloudIntegrationsV1alphaCredentialResponseOutput) AuthToken() GoogleCloudIntegrationsV1alphaAuthTokenResponseOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaCredentialResponse) GoogleCloudIntegrationsV1alphaAuthTokenResponse { @@ -16435,6 +18656,12 @@ func (i GoogleCloudIntegrationsV1alphaDoubleParameterArrayArgs) ToGoogleCloudInt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaDoubleParameterArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaDoubleParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaDoubleParameterArray] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaDoubleParameterArray]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaDoubleParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaDoubleParameterArrayArgs) ToGoogleCloudIntegrationsV1alphaDoubleParameterArrayPtrOutput() GoogleCloudIntegrationsV1alphaDoubleParameterArrayPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaDoubleParameterArrayPtrOutputWithContext(context.Background()) } @@ -16476,6 +18703,12 @@ func (i *googleCloudIntegrationsV1alphaDoubleParameterArrayPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaDoubleParameterArrayPtrOutput) } +func (i *googleCloudIntegrationsV1alphaDoubleParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaDoubleParameterArray] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaDoubleParameterArray]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaDoubleParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + // This message only contains a field of double number array. type GoogleCloudIntegrationsV1alphaDoubleParameterArrayOutput struct{ *pulumi.OutputState } @@ -16501,6 +18734,12 @@ func (o GoogleCloudIntegrationsV1alphaDoubleParameterArrayOutput) ToGoogleCloudI }).(GoogleCloudIntegrationsV1alphaDoubleParameterArrayPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaDoubleParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaDoubleParameterArray] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaDoubleParameterArray]{ + OutputState: o.OutputState, + } +} + // Double number array. func (o GoogleCloudIntegrationsV1alphaDoubleParameterArrayOutput) DoubleValues() pulumi.Float64ArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaDoubleParameterArray) []float64 { return v.DoubleValues }).(pulumi.Float64ArrayOutput) @@ -16520,6 +18759,12 @@ func (o GoogleCloudIntegrationsV1alphaDoubleParameterArrayPtrOutput) ToGoogleClo return o } +func (o GoogleCloudIntegrationsV1alphaDoubleParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaDoubleParameterArray] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaDoubleParameterArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaDoubleParameterArrayPtrOutput) Elem() GoogleCloudIntegrationsV1alphaDoubleParameterArrayOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaDoubleParameterArray) GoogleCloudIntegrationsV1alphaDoubleParameterArray { if v != nil { @@ -16561,6 +18806,12 @@ func (o GoogleCloudIntegrationsV1alphaDoubleParameterArrayResponseOutput) ToGoog return o } +func (o GoogleCloudIntegrationsV1alphaDoubleParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaDoubleParameterArrayResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaDoubleParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + // Double number array. func (o GoogleCloudIntegrationsV1alphaDoubleParameterArrayResponseOutput) DoubleValues() pulumi.Float64ArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaDoubleParameterArrayResponse) []float64 { return v.DoubleValues }).(pulumi.Float64ArrayOutput) @@ -16621,6 +18872,12 @@ func (i GoogleCloudIntegrationsV1alphaErrorCatcherConfigArgs) ToGoogleCloudInteg return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaErrorCatcherConfigOutput) } +func (i GoogleCloudIntegrationsV1alphaErrorCatcherConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaErrorCatcherConfig] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaErrorCatcherConfig]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaErrorCatcherConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIntegrationsV1alphaErrorCatcherConfigArrayInput is an input type that accepts GoogleCloudIntegrationsV1alphaErrorCatcherConfigArray and GoogleCloudIntegrationsV1alphaErrorCatcherConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudIntegrationsV1alphaErrorCatcherConfigArrayInput` via: // @@ -16646,6 +18903,12 @@ func (i GoogleCloudIntegrationsV1alphaErrorCatcherConfigArray) ToGoogleCloudInte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaErrorCatcherConfigArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaErrorCatcherConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaErrorCatcherConfig] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaErrorCatcherConfig]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaErrorCatcherConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration detail of a error catch task type GoogleCloudIntegrationsV1alphaErrorCatcherConfigOutput struct{ *pulumi.OutputState } @@ -16661,6 +18924,12 @@ func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigOutput) ToGoogleCloudInt return o } +func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaErrorCatcherConfig] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaErrorCatcherConfig]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided description intended to give more business context about the error catcher config. func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaErrorCatcherConfig) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -16709,6 +18978,12 @@ func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigArrayOutput) ToGoogleClo return o } +func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaErrorCatcherConfig] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaErrorCatcherConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaErrorCatcherConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaErrorCatcherConfig { return vs[0].([]GoogleCloudIntegrationsV1alphaErrorCatcherConfig)[vs[1].(int)] @@ -16746,6 +19021,12 @@ func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponseOutput) ToGoogle return o } +func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided description intended to give more business context about the error catcher config. func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponse) string { return v.Description }).(pulumi.StringOutput) @@ -16794,6 +19075,12 @@ func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponseArrayOutput) ToG return o } +func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponse] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponse { return vs[0].([]GoogleCloudIntegrationsV1alphaErrorCatcherConfigResponse)[vs[1].(int)] @@ -16843,6 +19130,12 @@ func (i GoogleCloudIntegrationsV1alphaFailurePolicyArgs) ToGoogleCloudIntegratio return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaFailurePolicyOutput) } +func (i GoogleCloudIntegrationsV1alphaFailurePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaFailurePolicy] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaFailurePolicy]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaFailurePolicyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaFailurePolicyArgs) ToGoogleCloudIntegrationsV1alphaFailurePolicyPtrOutput() GoogleCloudIntegrationsV1alphaFailurePolicyPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaFailurePolicyPtrOutputWithContext(context.Background()) } @@ -16884,6 +19177,12 @@ func (i *googleCloudIntegrationsV1alphaFailurePolicyPtrType) ToGoogleCloudIntegr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaFailurePolicyPtrOutput) } +func (i *googleCloudIntegrationsV1alphaFailurePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaFailurePolicy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaFailurePolicy]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaFailurePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied). type GoogleCloudIntegrationsV1alphaFailurePolicyOutput struct{ *pulumi.OutputState } @@ -16909,6 +19208,12 @@ func (o GoogleCloudIntegrationsV1alphaFailurePolicyOutput) ToGoogleCloudIntegrat }).(GoogleCloudIntegrationsV1alphaFailurePolicyPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaFailurePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaFailurePolicy] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaFailurePolicy]{ + OutputState: o.OutputState, + } +} + // Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff. func (o GoogleCloudIntegrationsV1alphaFailurePolicyOutput) IntervalTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaFailurePolicy) *string { return v.IntervalTime }).(pulumi.StringPtrOutput) @@ -16940,6 +19245,12 @@ func (o GoogleCloudIntegrationsV1alphaFailurePolicyPtrOutput) ToGoogleCloudInteg return o } +func (o GoogleCloudIntegrationsV1alphaFailurePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaFailurePolicy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaFailurePolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaFailurePolicyPtrOutput) Elem() GoogleCloudIntegrationsV1alphaFailurePolicyOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaFailurePolicy) GoogleCloudIntegrationsV1alphaFailurePolicy { if v != nil { @@ -17005,6 +19316,12 @@ func (o GoogleCloudIntegrationsV1alphaFailurePolicyResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudIntegrationsV1alphaFailurePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaFailurePolicyResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaFailurePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff. func (o GoogleCloudIntegrationsV1alphaFailurePolicyResponseOutput) IntervalTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaFailurePolicyResponse) string { return v.IntervalTime }).(pulumi.StringOutput) @@ -17055,6 +19372,12 @@ func (i GoogleCloudIntegrationsV1alphaIntParameterArrayArgs) ToGoogleCloudIntegr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaIntParameterArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaIntParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntParameterArray] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntParameterArray]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaIntParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaIntParameterArrayArgs) ToGoogleCloudIntegrationsV1alphaIntParameterArrayPtrOutput() GoogleCloudIntegrationsV1alphaIntParameterArrayPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaIntParameterArrayPtrOutputWithContext(context.Background()) } @@ -17096,6 +19419,12 @@ func (i *googleCloudIntegrationsV1alphaIntParameterArrayPtrType) ToGoogleCloudIn return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaIntParameterArrayPtrOutput) } +func (i *googleCloudIntegrationsV1alphaIntParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntParameterArray] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntParameterArray]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaIntParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + // This message only contains a field of integer array. type GoogleCloudIntegrationsV1alphaIntParameterArrayOutput struct{ *pulumi.OutputState } @@ -17121,6 +19450,12 @@ func (o GoogleCloudIntegrationsV1alphaIntParameterArrayOutput) ToGoogleCloudInte }).(GoogleCloudIntegrationsV1alphaIntParameterArrayPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaIntParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntParameterArray] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntParameterArray]{ + OutputState: o.OutputState, + } +} + // Integer array. func (o GoogleCloudIntegrationsV1alphaIntParameterArrayOutput) IntValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaIntParameterArray) []string { return v.IntValues }).(pulumi.StringArrayOutput) @@ -17140,6 +19475,12 @@ func (o GoogleCloudIntegrationsV1alphaIntParameterArrayPtrOutput) ToGoogleCloudI return o } +func (o GoogleCloudIntegrationsV1alphaIntParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntParameterArray] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntParameterArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntParameterArrayPtrOutput) Elem() GoogleCloudIntegrationsV1alphaIntParameterArrayOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaIntParameterArray) GoogleCloudIntegrationsV1alphaIntParameterArray { if v != nil { @@ -17181,6 +19522,12 @@ func (o GoogleCloudIntegrationsV1alphaIntParameterArrayResponseOutput) ToGoogleC return o } +func (o GoogleCloudIntegrationsV1alphaIntParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntParameterArrayResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + // Integer array. func (o GoogleCloudIntegrationsV1alphaIntParameterArrayResponseOutput) IntValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaIntParameterArrayResponse) []string { return v.IntValues }).(pulumi.StringArrayOutput) @@ -17253,6 +19600,12 @@ func (i GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArgs) ToGoogleCloudI return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaIntegrationAlertConfigOutput) } +func (i GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfig] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfig]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaIntegrationAlertConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArrayInput is an input type that accepts GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArray and GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArrayInput` via: // @@ -17278,6 +19631,12 @@ func (i GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArray) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationAlertConfig] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationAlertConfig]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaIntegrationAlertConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Message to be used to configure custom alerting in the {@code EventConfig} protos for an event. type GoogleCloudIntegrationsV1alphaIntegrationAlertConfigOutput struct{ *pulumi.OutputState } @@ -17293,6 +19652,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigOutput) ToGoogleClou return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfig] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfig]{ + OutputState: o.OutputState, + } +} + // The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours. func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigOutput) AggregationPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaIntegrationAlertConfig) *string { return v.AggregationPeriod }).(pulumi.StringPtrOutput) @@ -17358,6 +19723,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArrayOutput) ToGoogl return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationAlertConfig] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationAlertConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaIntegrationAlertConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaIntegrationAlertConfig { return vs[0].([]GoogleCloudIntegrationsV1alphaIntegrationAlertConfig)[vs[1].(int)] @@ -17401,6 +19772,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponseOutput) ToGo return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse]{ + OutputState: o.OutputState, + } +} + // The period over which the metric value should be aggregated and evaluated. Format is , where integer should be a positive integer and unit should be one of (s,m,h,d,w) meaning (second, minute, hour, day, week). For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours. func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponseOutput) AggregationPeriod() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse) string { @@ -17466,6 +19843,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponseArrayOutput) return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse { return vs[0].([]GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse)[vs[1].(int)] @@ -17511,6 +19894,12 @@ func (i GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueOutput) } +func (i GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueArgs) ToGoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrOutput() GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrOutput { return i.ToGoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrOutputWithContext(context.Background()) } @@ -17552,6 +19941,12 @@ func (i *googleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrTy return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrOutput) } +func (i *googleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrOutputWithContext(ctx).OutputState, + } +} + // The threshold value of the metric, above or below which the alert should be triggered. See EventAlertConfig or TaskAlertConfig for the different alert metric types in each case. For the *RATE metrics, one or both of these fields may be set. Zero is the default value and can be left at that. For *PERCENTILE_DURATION metrics, one or both of these fields may be set, and also, the duration threshold value should be specified in the threshold_duration_ms member below. For *AVERAGE_DURATION metrics, these fields should not be set at all. A different member, threshold_duration_ms, must be set in the EventAlertConfig or the TaskAlertConfig. type GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueOutput struct{ *pulumi.OutputState } @@ -17577,6 +19972,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueOutput }).(GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue]{ + OutputState: o.OutputState, + } +} + // Absolute value threshold. func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueOutput) Absolute() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue) *string { return v.Absolute }).(pulumi.StringPtrOutput) @@ -17601,6 +20002,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrOut return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValuePtrOutput) Elem() GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue) GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValue { if v != nil { @@ -17654,6 +20061,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueRespon return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueResponse]{ + OutputState: o.OutputState, + } +} + // Absolute value threshold. func (o GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueResponseOutput) Absolute() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaIntegrationAlertConfigThresholdValueResponse) string { @@ -17735,6 +20148,12 @@ func (i GoogleCloudIntegrationsV1alphaIntegrationParameterArgs) ToGoogleCloudInt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaIntegrationParameterOutput) } +func (i GoogleCloudIntegrationsV1alphaIntegrationParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationParameter] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationParameter]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaIntegrationParameterOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIntegrationsV1alphaIntegrationParameterArrayInput is an input type that accepts GoogleCloudIntegrationsV1alphaIntegrationParameterArray and GoogleCloudIntegrationsV1alphaIntegrationParameterArrayOutput values. // You can construct a concrete instance of `GoogleCloudIntegrationsV1alphaIntegrationParameterArrayInput` via: // @@ -17760,6 +20179,12 @@ func (i GoogleCloudIntegrationsV1alphaIntegrationParameterArray) ToGoogleCloudIn return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaIntegrationParameterArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaIntegrationParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationParameter] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationParameter]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaIntegrationParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Integration Parameter is defined in the integration config and are used to provide information about data types of the expected parameters and provide any default values if needed. They can also be used to add custom attributes. These are static in nature and should not be used for dynamic event definition. type GoogleCloudIntegrationsV1alphaIntegrationParameterOutput struct{ *pulumi.OutputState } @@ -17775,6 +20200,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationParameterOutput) ToGoogleCloudI return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationParameter] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationParameter]{ + OutputState: o.OutputState, + } +} + // Type of the parameter. func (o GoogleCloudIntegrationsV1alphaIntegrationParameterOutput) DataType() GoogleCloudIntegrationsV1alphaIntegrationParameterDataTypePtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaIntegrationParameter) *GoogleCloudIntegrationsV1alphaIntegrationParameterDataType { @@ -17840,6 +20271,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationParameterArrayOutput) ToGoogleC return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationParameter] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationParameter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationParameterArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaIntegrationParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaIntegrationParameter { return vs[0].([]GoogleCloudIntegrationsV1alphaIntegrationParameter)[vs[1].(int)] @@ -17883,6 +20320,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationParameterResponseOutput) ToGoog return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationParameterResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaIntegrationParameterResponse]{ + OutputState: o.OutputState, + } +} + // Type of the parameter. func (o GoogleCloudIntegrationsV1alphaIntegrationParameterResponseOutput) DataType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaIntegrationParameterResponse) string { return v.DataType }).(pulumi.StringOutput) @@ -17944,6 +20387,12 @@ func (o GoogleCloudIntegrationsV1alphaIntegrationParameterResponseArrayOutput) T return o } +func (o GoogleCloudIntegrationsV1alphaIntegrationParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationParameterResponse] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaIntegrationParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaIntegrationParameterResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaIntegrationParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaIntegrationParameterResponse { return vs[0].([]GoogleCloudIntegrationsV1alphaIntegrationParameterResponse)[vs[1].(int)] @@ -17997,6 +20446,12 @@ func (i GoogleCloudIntegrationsV1alphaJwtArgs) ToGoogleCloudIntegrationsV1alphaJ return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaJwtOutput) } +func (i GoogleCloudIntegrationsV1alphaJwtArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaJwt] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaJwt]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaJwtOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaJwtArgs) ToGoogleCloudIntegrationsV1alphaJwtPtrOutput() GoogleCloudIntegrationsV1alphaJwtPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaJwtPtrOutputWithContext(context.Background()) } @@ -18038,6 +20493,12 @@ func (i *googleCloudIntegrationsV1alphaJwtPtrType) ToGoogleCloudIntegrationsV1al return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaJwtPtrOutput) } +func (i *googleCloudIntegrationsV1alphaJwtPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaJwt] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaJwt]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaJwtPtrOutputWithContext(ctx).OutputState, + } +} + // Represents JSON web token(JWT), which is a compact, URL-safe means of representing claims to be transferred between two parties, enabling the claims to be digitally signed or integrity protected. type GoogleCloudIntegrationsV1alphaJwtOutput struct{ *pulumi.OutputState } @@ -18063,6 +20524,12 @@ func (o GoogleCloudIntegrationsV1alphaJwtOutput) ToGoogleCloudIntegrationsV1alph }).(GoogleCloudIntegrationsV1alphaJwtPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaJwtOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaJwt] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaJwt]{ + OutputState: o.OutputState, + } +} + // The token calculated by the header, payload and signature. func (o GoogleCloudIntegrationsV1alphaJwtOutput) Jwt() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaJwt) *string { return v.Jwt }).(pulumi.StringPtrOutput) @@ -18097,6 +20564,12 @@ func (o GoogleCloudIntegrationsV1alphaJwtPtrOutput) ToGoogleCloudIntegrationsV1a return o } +func (o GoogleCloudIntegrationsV1alphaJwtPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaJwt] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaJwt]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaJwtPtrOutput) Elem() GoogleCloudIntegrationsV1alphaJwtOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaJwt) GoogleCloudIntegrationsV1alphaJwt { if v != nil { @@ -18174,6 +20647,12 @@ func (o GoogleCloudIntegrationsV1alphaJwtResponseOutput) ToGoogleCloudIntegratio return o } +func (o GoogleCloudIntegrationsV1alphaJwtResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaJwtResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaJwtResponse]{ + OutputState: o.OutputState, + } +} + // The token calculated by the header, payload and signature. func (o GoogleCloudIntegrationsV1alphaJwtResponseOutput) Jwt() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaJwtResponse) string { return v.Jwt }).(pulumi.StringOutput) @@ -18245,6 +20724,12 @@ func (i GoogleCloudIntegrationsV1alphaNextTaskArgs) ToGoogleCloudIntegrationsV1a return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaNextTaskOutput) } +func (i GoogleCloudIntegrationsV1alphaNextTaskArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaNextTask] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaNextTask]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaNextTaskOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIntegrationsV1alphaNextTaskArrayInput is an input type that accepts GoogleCloudIntegrationsV1alphaNextTaskArray and GoogleCloudIntegrationsV1alphaNextTaskArrayOutput values. // You can construct a concrete instance of `GoogleCloudIntegrationsV1alphaNextTaskArrayInput` via: // @@ -18270,6 +20755,12 @@ func (i GoogleCloudIntegrationsV1alphaNextTaskArray) ToGoogleCloudIntegrationsV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaNextTaskArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaNextTaskArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaNextTask] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaNextTask]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaNextTaskArrayOutputWithContext(ctx).OutputState, + } +} + // The task that is next in line to be executed, if the condition specified evaluated to true. type GoogleCloudIntegrationsV1alphaNextTaskOutput struct{ *pulumi.OutputState } @@ -18285,6 +20776,12 @@ func (o GoogleCloudIntegrationsV1alphaNextTaskOutput) ToGoogleCloudIntegrationsV return o } +func (o GoogleCloudIntegrationsV1alphaNextTaskOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaNextTask] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaNextTask]{ + OutputState: o.OutputState, + } +} + // Standard filter expression for this task to become an eligible next task. func (o GoogleCloudIntegrationsV1alphaNextTaskOutput) Condition() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaNextTask) *string { return v.Condition }).(pulumi.StringPtrOutput) @@ -18324,6 +20821,12 @@ func (o GoogleCloudIntegrationsV1alphaNextTaskArrayOutput) ToGoogleCloudIntegrat return o } +func (o GoogleCloudIntegrationsV1alphaNextTaskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaNextTask] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaNextTask]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaNextTaskArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaNextTaskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaNextTask { return vs[0].([]GoogleCloudIntegrationsV1alphaNextTask)[vs[1].(int)] @@ -18359,6 +20862,12 @@ func (o GoogleCloudIntegrationsV1alphaNextTaskResponseOutput) ToGoogleCloudInteg return o } +func (o GoogleCloudIntegrationsV1alphaNextTaskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaNextTaskResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaNextTaskResponse]{ + OutputState: o.OutputState, + } +} + // Standard filter expression for this task to become an eligible next task. func (o GoogleCloudIntegrationsV1alphaNextTaskResponseOutput) Condition() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaNextTaskResponse) string { return v.Condition }).(pulumi.StringOutput) @@ -18398,6 +20907,12 @@ func (o GoogleCloudIntegrationsV1alphaNextTaskResponseArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudIntegrationsV1alphaNextTaskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaNextTaskResponse] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaNextTaskResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaNextTaskResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaNextTaskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaNextTaskResponse { return vs[0].([]GoogleCloudIntegrationsV1alphaNextTaskResponse)[vs[1].(int)] @@ -18479,6 +20994,12 @@ func (i GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeOutput) } +func (i GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeArgs) ToGoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrOutput() GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrOutput { return i.ToGoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrOutputWithContext(context.Background()) } @@ -18520,6 +21041,12 @@ func (i *googleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrOutput) } +func (i *googleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrOutputWithContext(ctx).OutputState, + } +} + // The OAuth Type where the client sends request with the client id and requested scopes to auth endpoint. User sees a consent screen and auth code is received at specified redirect url afterwards. The auth code is then combined with the client id and secret and sent to the token endpoint in exchange for the access and refresh token. The refresh token can be used to fetch new access tokens. type GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeOutput struct{ *pulumi.OutputState } @@ -18545,6 +21072,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeOutput) ToGoogleClo }).(GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode]{ + OutputState: o.OutputState, + } +} + // The access token received from the token endpoint. func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeOutput) AccessToken() GoogleCloudIntegrationsV1alphaAccessTokenPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode) *GoogleCloudIntegrationsV1alphaAccessToken { @@ -18622,6 +21155,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrOutput) ToGoogle return o } +func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodePtrOutput) Elem() GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode) GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCode { if v != nil { @@ -18783,6 +21322,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeResponseOutput) ToG return o } +func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeResponse]{ + OutputState: o.OutputState, + } +} + // The access token received from the token endpoint. func (o GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeResponseOutput) AccessToken() GoogleCloudIntegrationsV1alphaAccessTokenResponseOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaOAuth2AuthorizationCodeResponse) GoogleCloudIntegrationsV1alphaAccessTokenResponse { @@ -18903,6 +21448,12 @@ func (i GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsOutput) } +func (i GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsArgs) ToGoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrOutput() GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrOutputWithContext(context.Background()) } @@ -18944,6 +21495,12 @@ func (i *googleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrOutput) } +func (i *googleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrOutputWithContext(ctx).OutputState, + } +} + // For client credentials grant, the client sends a POST request with grant_type as 'client_credentials' to the authorization server. The authorization server will respond with a JSON object containing the access token. type GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsOutput struct{ *pulumi.OutputState } @@ -18969,6 +21526,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsOutput) ToGoogleClo }).(GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials]{ + OutputState: o.OutputState, + } +} + // Access token fetched from the authorization server. func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsOutput) AccessToken() GoogleCloudIntegrationsV1alphaAccessTokenPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials) *GoogleCloudIntegrationsV1alphaAccessToken { @@ -19024,6 +21587,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrOutput) ToGoogle return o } +func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsPtrOutput) Elem() GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials) GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials { if v != nil { @@ -19137,6 +21706,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsResponseOutput) ToG return o } +func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsResponse]{ + OutputState: o.OutputState, + } +} + // Access token fetched from the authorization server. func (o GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsResponseOutput) AccessToken() GoogleCloudIntegrationsV1alphaAccessTokenResponseOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaOAuth2ClientCredentialsResponse) GoogleCloudIntegrationsV1alphaAccessTokenResponse { @@ -19243,6 +21818,12 @@ func (i GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsArgs) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsOutput) } +func (i GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsArgs) ToGoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrOutput() GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrOutputWithContext(context.Background()) } @@ -19284,6 +21865,12 @@ func (i *googleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrType) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrOutput) } +func (i *googleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrOutputWithContext(ctx).OutputState, + } +} + // For resource owner credentials grant, the client will ask the user for their authorization credentials (ususally a username and password) and send a POST request to the authorization server. The authorization server will respond with a JSON object containing the access token. type GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsOutput struct{ *pulumi.OutputState } @@ -19309,6 +21896,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsOutput) ToGo }).(GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials]{ + OutputState: o.OutputState, + } +} + // Access token fetched from the authorization server. func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsOutput) AccessToken() GoogleCloudIntegrationsV1alphaAccessTokenPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials) *GoogleCloudIntegrationsV1alphaAccessToken { @@ -19374,6 +21967,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrOutput) T return o } +func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsPtrOutput) Elem() GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials) GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentials { if v != nil { @@ -19511,6 +22110,12 @@ func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsResponseOutp return o } +func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsResponse]{ + OutputState: o.OutputState, + } +} + // Access token fetched from the authorization server. func (o GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsResponseOutput) AccessToken() GoogleCloudIntegrationsV1alphaAccessTokenResponseOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaOAuth2ResourceOwnerCredentialsResponse) GoogleCloudIntegrationsV1alphaAccessTokenResponse { @@ -19613,6 +22218,12 @@ func (i GoogleCloudIntegrationsV1alphaOidcTokenArgs) ToGoogleCloudIntegrationsV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaOidcTokenOutput) } +func (i GoogleCloudIntegrationsV1alphaOidcTokenArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOidcToken] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOidcToken]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaOidcTokenOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaOidcTokenArgs) ToGoogleCloudIntegrationsV1alphaOidcTokenPtrOutput() GoogleCloudIntegrationsV1alphaOidcTokenPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaOidcTokenPtrOutputWithContext(context.Background()) } @@ -19654,6 +22265,12 @@ func (i *googleCloudIntegrationsV1alphaOidcTokenPtrType) ToGoogleCloudIntegratio return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaOidcTokenPtrOutput) } +func (i *googleCloudIntegrationsV1alphaOidcTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOidcToken] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOidcToken]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaOidcTokenPtrOutputWithContext(ctx).OutputState, + } +} + // OIDC Token type GoogleCloudIntegrationsV1alphaOidcTokenOutput struct{ *pulumi.OutputState } @@ -19679,6 +22296,12 @@ func (o GoogleCloudIntegrationsV1alphaOidcTokenOutput) ToGoogleCloudIntegrations }).(GoogleCloudIntegrationsV1alphaOidcTokenPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaOidcTokenOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOidcToken] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOidcToken]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. func (o GoogleCloudIntegrationsV1alphaOidcTokenOutput) Audience() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaOidcToken) *string { return v.Audience }).(pulumi.StringPtrOutput) @@ -19713,6 +22336,12 @@ func (o GoogleCloudIntegrationsV1alphaOidcTokenPtrOutput) ToGoogleCloudIntegrati return o } +func (o GoogleCloudIntegrationsV1alphaOidcTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaOidcToken] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaOidcToken]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaOidcTokenPtrOutput) Elem() GoogleCloudIntegrationsV1alphaOidcTokenOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaOidcToken) GoogleCloudIntegrationsV1alphaOidcToken { if v != nil { @@ -19790,6 +22419,12 @@ func (o GoogleCloudIntegrationsV1alphaOidcTokenResponseOutput) ToGoogleCloudInte return o } +func (o GoogleCloudIntegrationsV1alphaOidcTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaOidcTokenResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaOidcTokenResponse]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. func (o GoogleCloudIntegrationsV1alphaOidcTokenResponseOutput) Audience() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaOidcTokenResponse) string { return v.Audience }).(pulumi.StringOutput) @@ -19853,6 +22488,12 @@ func (i GoogleCloudIntegrationsV1alphaParameterMapArgs) ToGoogleCloudIntegration return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaParameterMapOutput) } +func (i GoogleCloudIntegrationsV1alphaParameterMapArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMap] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMap]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaParameterMapOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaParameterMapArgs) ToGoogleCloudIntegrationsV1alphaParameterMapPtrOutput() GoogleCloudIntegrationsV1alphaParameterMapPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaParameterMapPtrOutputWithContext(context.Background()) } @@ -19894,6 +22535,12 @@ func (i *googleCloudIntegrationsV1alphaParameterMapPtrType) ToGoogleCloudIntegra return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaParameterMapPtrOutput) } +func (i *googleCloudIntegrationsV1alphaParameterMapPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMap] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMap]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaParameterMapPtrOutputWithContext(ctx).OutputState, + } +} + // A generic multi-map that holds key value pairs. They keys and values can be of any type, unless specified. type GoogleCloudIntegrationsV1alphaParameterMapOutput struct{ *pulumi.OutputState } @@ -19919,6 +22566,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapOutput) ToGoogleCloudIntegrati }).(GoogleCloudIntegrationsV1alphaParameterMapPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaParameterMapOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMap] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMap]{ + OutputState: o.OutputState, + } +} + // A list of parameter map entries. func (o GoogleCloudIntegrationsV1alphaParameterMapOutput) Entries() GoogleCloudIntegrationsV1alphaParameterMapEntryArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaParameterMap) []GoogleCloudIntegrationsV1alphaParameterMapEntry { @@ -19954,6 +22607,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapPtrOutput) ToGoogleCloudIntegr return o } +func (o GoogleCloudIntegrationsV1alphaParameterMapPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMap] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMap]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaParameterMapPtrOutput) Elem() GoogleCloudIntegrationsV1alphaParameterMapOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaParameterMap) GoogleCloudIntegrationsV1alphaParameterMap { if v != nil { @@ -20033,6 +22692,12 @@ func (i GoogleCloudIntegrationsV1alphaParameterMapEntryArgs) ToGoogleCloudIntegr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaParameterMapEntryOutput) } +func (i GoogleCloudIntegrationsV1alphaParameterMapEntryArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapEntry] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapEntry]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaParameterMapEntryOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIntegrationsV1alphaParameterMapEntryArrayInput is an input type that accepts GoogleCloudIntegrationsV1alphaParameterMapEntryArray and GoogleCloudIntegrationsV1alphaParameterMapEntryArrayOutput values. // You can construct a concrete instance of `GoogleCloudIntegrationsV1alphaParameterMapEntryArrayInput` via: // @@ -20058,6 +22723,12 @@ func (i GoogleCloudIntegrationsV1alphaParameterMapEntryArray) ToGoogleCloudInteg return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaParameterMapEntryArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaParameterMapEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaParameterMapEntry] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaParameterMapEntry]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaParameterMapEntryArrayOutputWithContext(ctx).OutputState, + } +} + // Entry is a pair of key and value. type GoogleCloudIntegrationsV1alphaParameterMapEntryOutput struct{ *pulumi.OutputState } @@ -20073,6 +22744,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapEntryOutput) ToGoogleCloudInte return o } +func (o GoogleCloudIntegrationsV1alphaParameterMapEntryOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapEntry] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapEntry]{ + OutputState: o.OutputState, + } +} + // Key of the map entry. func (o GoogleCloudIntegrationsV1alphaParameterMapEntryOutput) Key() GoogleCloudIntegrationsV1alphaParameterMapFieldPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaParameterMapEntry) *GoogleCloudIntegrationsV1alphaParameterMapField { @@ -20101,6 +22778,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapEntryArrayOutput) ToGoogleClou return o } +func (o GoogleCloudIntegrationsV1alphaParameterMapEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaParameterMapEntry] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaParameterMapEntry]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaParameterMapEntryArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaParameterMapEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaParameterMapEntry { return vs[0].([]GoogleCloudIntegrationsV1alphaParameterMapEntry)[vs[1].(int)] @@ -20130,6 +22813,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapEntryResponseOutput) ToGoogleC return o } +func (o GoogleCloudIntegrationsV1alphaParameterMapEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapEntryResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapEntryResponse]{ + OutputState: o.OutputState, + } +} + // Key of the map entry. func (o GoogleCloudIntegrationsV1alphaParameterMapEntryResponseOutput) Key() GoogleCloudIntegrationsV1alphaParameterMapFieldResponseOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaParameterMapEntryResponse) GoogleCloudIntegrationsV1alphaParameterMapFieldResponse { @@ -20158,6 +22847,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapEntryResponseArrayOutput) ToGo return o } +func (o GoogleCloudIntegrationsV1alphaParameterMapEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaParameterMapEntryResponse] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaParameterMapEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaParameterMapEntryResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaParameterMapEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaParameterMapEntryResponse { return vs[0].([]GoogleCloudIntegrationsV1alphaParameterMapEntryResponse)[vs[1].(int)] @@ -20203,6 +22898,12 @@ func (i GoogleCloudIntegrationsV1alphaParameterMapFieldArgs) ToGoogleCloudIntegr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaParameterMapFieldOutput) } +func (i GoogleCloudIntegrationsV1alphaParameterMapFieldArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapField] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapField]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaParameterMapFieldOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaParameterMapFieldArgs) ToGoogleCloudIntegrationsV1alphaParameterMapFieldPtrOutput() GoogleCloudIntegrationsV1alphaParameterMapFieldPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaParameterMapFieldPtrOutputWithContext(context.Background()) } @@ -20244,6 +22945,12 @@ func (i *googleCloudIntegrationsV1alphaParameterMapFieldPtrType) ToGoogleCloudIn return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaParameterMapFieldPtrOutput) } +func (i *googleCloudIntegrationsV1alphaParameterMapFieldPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapField] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapField]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaParameterMapFieldPtrOutputWithContext(ctx).OutputState, + } +} + // Field represents either the key or value in an entry. type GoogleCloudIntegrationsV1alphaParameterMapFieldOutput struct{ *pulumi.OutputState } @@ -20269,6 +22976,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapFieldOutput) ToGoogleCloudInte }).(GoogleCloudIntegrationsV1alphaParameterMapFieldPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaParameterMapFieldOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapField] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapField]{ + OutputState: o.OutputState, + } +} + // Passing a literal value. func (o GoogleCloudIntegrationsV1alphaParameterMapFieldOutput) LiteralValue() GoogleCloudIntegrationsV1alphaValueTypePtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaParameterMapField) *GoogleCloudIntegrationsV1alphaValueType { @@ -20295,6 +23008,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapFieldPtrOutput) ToGoogleCloudI return o } +func (o GoogleCloudIntegrationsV1alphaParameterMapFieldPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapField] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaParameterMapField]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaParameterMapFieldPtrOutput) Elem() GoogleCloudIntegrationsV1alphaParameterMapFieldOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaParameterMapField) GoogleCloudIntegrationsV1alphaParameterMapField { if v != nil { @@ -20348,6 +23067,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapFieldResponseOutput) ToGoogleC return o } +func (o GoogleCloudIntegrationsV1alphaParameterMapFieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapFieldResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapFieldResponse]{ + OutputState: o.OutputState, + } +} + // Passing a literal value. func (o GoogleCloudIntegrationsV1alphaParameterMapFieldResponseOutput) LiteralValue() GoogleCloudIntegrationsV1alphaValueTypeResponseOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaParameterMapFieldResponse) GoogleCloudIntegrationsV1alphaValueTypeResponse { @@ -20385,6 +23110,12 @@ func (o GoogleCloudIntegrationsV1alphaParameterMapResponseOutput) ToGoogleCloudI return o } +func (o GoogleCloudIntegrationsV1alphaParameterMapResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaParameterMapResponse]{ + OutputState: o.OutputState, + } +} + // A list of parameter map entries. func (o GoogleCloudIntegrationsV1alphaParameterMapResponseOutput) Entries() GoogleCloudIntegrationsV1alphaParameterMapEntryResponseArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaParameterMapResponse) []GoogleCloudIntegrationsV1alphaParameterMapEntryResponse { @@ -20441,6 +23172,12 @@ func (i GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaServiceAccountCredentialsOutput) } +func (i GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaServiceAccountCredentials] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaServiceAccountCredentials]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaServiceAccountCredentialsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaServiceAccountCredentialsArgs) ToGoogleCloudIntegrationsV1alphaServiceAccountCredentialsPtrOutput() GoogleCloudIntegrationsV1alphaServiceAccountCredentialsPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaServiceAccountCredentialsPtrOutputWithContext(context.Background()) } @@ -20482,6 +23219,12 @@ func (i *googleCloudIntegrationsV1alphaServiceAccountCredentialsPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaServiceAccountCredentialsPtrOutput) } +func (i *googleCloudIntegrationsV1alphaServiceAccountCredentialsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaServiceAccountCredentials] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaServiceAccountCredentials]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaServiceAccountCredentialsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the service account which can be used to generate access token for authenticating the service call. type GoogleCloudIntegrationsV1alphaServiceAccountCredentialsOutput struct{ *pulumi.OutputState } @@ -20507,6 +23250,12 @@ func (o GoogleCloudIntegrationsV1alphaServiceAccountCredentialsOutput) ToGoogleC }).(GoogleCloudIntegrationsV1alphaServiceAccountCredentialsPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaServiceAccountCredentialsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaServiceAccountCredentials] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaServiceAccountCredentials]{ + OutputState: o.OutputState, + } +} + // A space-delimited list of requested scope permissions. func (o GoogleCloudIntegrationsV1alphaServiceAccountCredentialsOutput) Scope() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaServiceAccountCredentials) *string { return v.Scope }).(pulumi.StringPtrOutput) @@ -20531,6 +23280,12 @@ func (o GoogleCloudIntegrationsV1alphaServiceAccountCredentialsPtrOutput) ToGoog return o } +func (o GoogleCloudIntegrationsV1alphaServiceAccountCredentialsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaServiceAccountCredentials] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaServiceAccountCredentials]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaServiceAccountCredentialsPtrOutput) Elem() GoogleCloudIntegrationsV1alphaServiceAccountCredentialsOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaServiceAccountCredentials) GoogleCloudIntegrationsV1alphaServiceAccountCredentials { if v != nil { @@ -20584,6 +23339,12 @@ func (o GoogleCloudIntegrationsV1alphaServiceAccountCredentialsResponseOutput) T return o } +func (o GoogleCloudIntegrationsV1alphaServiceAccountCredentialsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaServiceAccountCredentialsResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaServiceAccountCredentialsResponse]{ + OutputState: o.OutputState, + } +} + // A space-delimited list of requested scope permissions. func (o GoogleCloudIntegrationsV1alphaServiceAccountCredentialsResponseOutput) Scope() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaServiceAccountCredentialsResponse) string { return v.Scope }).(pulumi.StringOutput) @@ -20631,6 +23392,12 @@ func (i GoogleCloudIntegrationsV1alphaStringParameterArrayArgs) ToGoogleCloudInt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaStringParameterArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaStringParameterArrayArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaStringParameterArray] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaStringParameterArray]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaStringParameterArrayOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaStringParameterArrayArgs) ToGoogleCloudIntegrationsV1alphaStringParameterArrayPtrOutput() GoogleCloudIntegrationsV1alphaStringParameterArrayPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaStringParameterArrayPtrOutputWithContext(context.Background()) } @@ -20672,6 +23439,12 @@ func (i *googleCloudIntegrationsV1alphaStringParameterArrayPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaStringParameterArrayPtrOutput) } +func (i *googleCloudIntegrationsV1alphaStringParameterArrayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaStringParameterArray] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaStringParameterArray]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaStringParameterArrayPtrOutputWithContext(ctx).OutputState, + } +} + // This message only contains a field of string array. type GoogleCloudIntegrationsV1alphaStringParameterArrayOutput struct{ *pulumi.OutputState } @@ -20697,6 +23470,12 @@ func (o GoogleCloudIntegrationsV1alphaStringParameterArrayOutput) ToGoogleCloudI }).(GoogleCloudIntegrationsV1alphaStringParameterArrayPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaStringParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaStringParameterArray] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaStringParameterArray]{ + OutputState: o.OutputState, + } +} + // String array. func (o GoogleCloudIntegrationsV1alphaStringParameterArrayOutput) StringValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaStringParameterArray) []string { return v.StringValues }).(pulumi.StringArrayOutput) @@ -20716,6 +23495,12 @@ func (o GoogleCloudIntegrationsV1alphaStringParameterArrayPtrOutput) ToGoogleClo return o } +func (o GoogleCloudIntegrationsV1alphaStringParameterArrayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaStringParameterArray] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaStringParameterArray]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaStringParameterArrayPtrOutput) Elem() GoogleCloudIntegrationsV1alphaStringParameterArrayOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaStringParameterArray) GoogleCloudIntegrationsV1alphaStringParameterArray { if v != nil { @@ -20757,6 +23542,12 @@ func (o GoogleCloudIntegrationsV1alphaStringParameterArrayResponseOutput) ToGoog return o } +func (o GoogleCloudIntegrationsV1alphaStringParameterArrayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaStringParameterArrayResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaStringParameterArrayResponse]{ + OutputState: o.OutputState, + } +} + // String array. func (o GoogleCloudIntegrationsV1alphaStringParameterArrayResponseOutput) StringValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaStringParameterArrayResponse) []string { return v.StringValues }).(pulumi.StringArrayOutput) @@ -20797,6 +23588,12 @@ func (i GoogleCloudIntegrationsV1alphaSuccessPolicyArgs) ToGoogleCloudIntegratio return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaSuccessPolicyOutput) } +func (i GoogleCloudIntegrationsV1alphaSuccessPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaSuccessPolicy] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaSuccessPolicy]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaSuccessPolicyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaSuccessPolicyArgs) ToGoogleCloudIntegrationsV1alphaSuccessPolicyPtrOutput() GoogleCloudIntegrationsV1alphaSuccessPolicyPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaSuccessPolicyPtrOutputWithContext(context.Background()) } @@ -20838,6 +23635,12 @@ func (i *googleCloudIntegrationsV1alphaSuccessPolicyPtrType) ToGoogleCloudIntegr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaSuccessPolicyPtrOutput) } +func (i *googleCloudIntegrationsV1alphaSuccessPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaSuccessPolicy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaSuccessPolicy]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaSuccessPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Policy that dictates the behavior for the task after it completes successfully. type GoogleCloudIntegrationsV1alphaSuccessPolicyOutput struct{ *pulumi.OutputState } @@ -20863,6 +23666,12 @@ func (o GoogleCloudIntegrationsV1alphaSuccessPolicyOutput) ToGoogleCloudIntegrat }).(GoogleCloudIntegrationsV1alphaSuccessPolicyPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaSuccessPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaSuccessPolicy] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaSuccessPolicy]{ + OutputState: o.OutputState, + } +} + // State to which the execution snapshot status will be set if the task succeeds. func (o GoogleCloudIntegrationsV1alphaSuccessPolicyOutput) FinalState() GoogleCloudIntegrationsV1alphaSuccessPolicyFinalStatePtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaSuccessPolicy) *GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState { @@ -20884,6 +23693,12 @@ func (o GoogleCloudIntegrationsV1alphaSuccessPolicyPtrOutput) ToGoogleCloudInteg return o } +func (o GoogleCloudIntegrationsV1alphaSuccessPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaSuccessPolicy] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaSuccessPolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaSuccessPolicyPtrOutput) Elem() GoogleCloudIntegrationsV1alphaSuccessPolicyOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaSuccessPolicy) GoogleCloudIntegrationsV1alphaSuccessPolicy { if v != nil { @@ -20925,6 +23740,12 @@ func (o GoogleCloudIntegrationsV1alphaSuccessPolicyResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudIntegrationsV1alphaSuccessPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaSuccessPolicyResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaSuccessPolicyResponse]{ + OutputState: o.OutputState, + } +} + // State to which the execution snapshot status will be set if the task succeeds. func (o GoogleCloudIntegrationsV1alphaSuccessPolicyResponseOutput) FinalState() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaSuccessPolicyResponse) string { return v.FinalState }).(pulumi.StringOutput) @@ -21025,6 +23846,12 @@ func (i GoogleCloudIntegrationsV1alphaTaskConfigArgs) ToGoogleCloudIntegrationsV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaTaskConfigOutput) } +func (i GoogleCloudIntegrationsV1alphaTaskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfig] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfig]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaTaskConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIntegrationsV1alphaTaskConfigArrayInput is an input type that accepts GoogleCloudIntegrationsV1alphaTaskConfigArray and GoogleCloudIntegrationsV1alphaTaskConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudIntegrationsV1alphaTaskConfigArrayInput` via: // @@ -21050,6 +23877,12 @@ func (i GoogleCloudIntegrationsV1alphaTaskConfigArray) ToGoogleCloudIntegrations return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaTaskConfigArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaTaskConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaTaskConfig] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaTaskConfig]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaTaskConfigArrayOutputWithContext(ctx).OutputState, + } +} + // The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task. type GoogleCloudIntegrationsV1alphaTaskConfigOutput struct{ *pulumi.OutputState } @@ -21065,6 +23898,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigOutput) ToGoogleCloudIntegration return o } +func (o GoogleCloudIntegrationsV1alphaTaskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfig] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfig]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided description intended to give additional business context about the task. func (o GoogleCloudIntegrationsV1alphaTaskConfigOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaTaskConfig) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -21177,6 +24016,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigArrayOutput) ToGoogleCloudIntegr return o } +func (o GoogleCloudIntegrationsV1alphaTaskConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaTaskConfig] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaTaskConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTaskConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaTaskConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaTaskConfig { return vs[0].([]GoogleCloudIntegrationsV1alphaTaskConfig)[vs[1].(int)] @@ -21234,6 +24079,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigResponseOutput) ToGoogleCloudInt return o } +func (o GoogleCloudIntegrationsV1alphaTaskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfigResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTaskConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. User-provided description intended to give additional business context about the task. func (o GoogleCloudIntegrationsV1alphaTaskConfigResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaTaskConfigResponse) string { return v.Description }).(pulumi.StringOutput) @@ -21338,6 +24189,12 @@ func (o GoogleCloudIntegrationsV1alphaTaskConfigResponseArrayOutput) ToGoogleClo return o } +func (o GoogleCloudIntegrationsV1alphaTaskConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaTaskConfigResponse] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaTaskConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTaskConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaTaskConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaTaskConfigResponse { return vs[0].([]GoogleCloudIntegrationsV1alphaTaskConfigResponse)[vs[1].(int)] @@ -21423,6 +24280,12 @@ func (i GoogleCloudIntegrationsV1alphaTriggerConfigArgs) ToGoogleCloudIntegratio return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaTriggerConfigOutput) } +func (i GoogleCloudIntegrationsV1alphaTriggerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTriggerConfig] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTriggerConfig]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaTriggerConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudIntegrationsV1alphaTriggerConfigArrayInput is an input type that accepts GoogleCloudIntegrationsV1alphaTriggerConfigArray and GoogleCloudIntegrationsV1alphaTriggerConfigArrayOutput values. // You can construct a concrete instance of `GoogleCloudIntegrationsV1alphaTriggerConfigArrayInput` via: // @@ -21448,6 +24311,12 @@ func (i GoogleCloudIntegrationsV1alphaTriggerConfigArray) ToGoogleCloudIntegrati return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaTriggerConfigArrayOutput) } +func (i GoogleCloudIntegrationsV1alphaTriggerConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaTriggerConfig] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaTriggerConfig]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaTriggerConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration detail of a trigger. type GoogleCloudIntegrationsV1alphaTriggerConfigOutput struct{ *pulumi.OutputState } @@ -21463,6 +24332,12 @@ func (o GoogleCloudIntegrationsV1alphaTriggerConfigOutput) ToGoogleCloudIntegrat return o } +func (o GoogleCloudIntegrationsV1alphaTriggerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTriggerConfig] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTriggerConfig]{ + OutputState: o.OutputState, + } +} + // Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published. func (o GoogleCloudIntegrationsV1alphaTriggerConfigOutput) AlertConfig() GoogleCloudIntegrationsV1alphaIntegrationAlertConfigArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaTriggerConfig) []GoogleCloudIntegrationsV1alphaIntegrationAlertConfig { @@ -21549,6 +24424,12 @@ func (o GoogleCloudIntegrationsV1alphaTriggerConfigArrayOutput) ToGoogleCloudInt return o } +func (o GoogleCloudIntegrationsV1alphaTriggerConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaTriggerConfig] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaTriggerConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTriggerConfigArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaTriggerConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaTriggerConfig { return vs[0].([]GoogleCloudIntegrationsV1alphaTriggerConfig)[vs[1].(int)] @@ -21598,6 +24479,12 @@ func (o GoogleCloudIntegrationsV1alphaTriggerConfigResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudIntegrationsV1alphaTriggerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaTriggerConfigResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaTriggerConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. An alert threshold configuration for the [trigger + client + integration] tuple. If these values are not specified in the trigger config, default values will be populated by the system. Note that there must be exactly one alert threshold configured per [client + trigger + integration] when published. func (o GoogleCloudIntegrationsV1alphaTriggerConfigResponseOutput) AlertConfig() GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponseArrayOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaTriggerConfigResponse) []GoogleCloudIntegrationsV1alphaIntegrationAlertConfigResponse { @@ -21680,6 +24567,12 @@ func (o GoogleCloudIntegrationsV1alphaTriggerConfigResponseArrayOutput) ToGoogle return o } +func (o GoogleCloudIntegrationsV1alphaTriggerConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudIntegrationsV1alphaTriggerConfigResponse] { + return pulumix.Output[[]GoogleCloudIntegrationsV1alphaTriggerConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaTriggerConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudIntegrationsV1alphaTriggerConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudIntegrationsV1alphaTriggerConfigResponse { return vs[0].([]GoogleCloudIntegrationsV1alphaTriggerConfigResponse)[vs[1].(int)] @@ -21725,6 +24618,12 @@ func (i GoogleCloudIntegrationsV1alphaUsernameAndPasswordArgs) ToGoogleCloudInte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaUsernameAndPasswordOutput) } +func (i GoogleCloudIntegrationsV1alphaUsernameAndPasswordArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaUsernameAndPassword] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaUsernameAndPassword]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaUsernameAndPasswordOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaUsernameAndPasswordArgs) ToGoogleCloudIntegrationsV1alphaUsernameAndPasswordPtrOutput() GoogleCloudIntegrationsV1alphaUsernameAndPasswordPtrOutput { return i.ToGoogleCloudIntegrationsV1alphaUsernameAndPasswordPtrOutputWithContext(context.Background()) } @@ -21766,6 +24665,12 @@ func (i *googleCloudIntegrationsV1alphaUsernameAndPasswordPtrType) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaUsernameAndPasswordPtrOutput) } +func (i *googleCloudIntegrationsV1alphaUsernameAndPasswordPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaUsernameAndPassword] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaUsernameAndPassword]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaUsernameAndPasswordPtrOutputWithContext(ctx).OutputState, + } +} + // Username and password pair. type GoogleCloudIntegrationsV1alphaUsernameAndPasswordOutput struct{ *pulumi.OutputState } @@ -21791,6 +24696,12 @@ func (o GoogleCloudIntegrationsV1alphaUsernameAndPasswordOutput) ToGoogleCloudIn }).(GoogleCloudIntegrationsV1alphaUsernameAndPasswordPtrOutput) } +func (o GoogleCloudIntegrationsV1alphaUsernameAndPasswordOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaUsernameAndPassword] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaUsernameAndPassword]{ + OutputState: o.OutputState, + } +} + // Password to be used func (o GoogleCloudIntegrationsV1alphaUsernameAndPasswordOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaUsernameAndPassword) *string { return v.Password }).(pulumi.StringPtrOutput) @@ -21815,6 +24726,12 @@ func (o GoogleCloudIntegrationsV1alphaUsernameAndPasswordPtrOutput) ToGoogleClou return o } +func (o GoogleCloudIntegrationsV1alphaUsernameAndPasswordPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaUsernameAndPassword] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaUsernameAndPassword]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaUsernameAndPasswordPtrOutput) Elem() GoogleCloudIntegrationsV1alphaUsernameAndPasswordOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaUsernameAndPassword) GoogleCloudIntegrationsV1alphaUsernameAndPassword { if v != nil { @@ -21868,6 +24785,12 @@ func (o GoogleCloudIntegrationsV1alphaUsernameAndPasswordResponseOutput) ToGoogl return o } +func (o GoogleCloudIntegrationsV1alphaUsernameAndPasswordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaUsernameAndPasswordResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaUsernameAndPasswordResponse]{ + OutputState: o.OutputState, + } +} + // Password to be used func (o GoogleCloudIntegrationsV1alphaUsernameAndPasswordResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaUsernameAndPasswordResponse) string { return v.Password }).(pulumi.StringOutput) @@ -21945,6 +24868,12 @@ func (i GoogleCloudIntegrationsV1alphaValueTypeArgs) ToGoogleCloudIntegrationsV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaValueTypeOutput) } +func (i GoogleCloudIntegrationsV1alphaValueTypeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaValueType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaValueType]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaValueTypeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudIntegrationsV1alphaValueTypeArgs) ToGoogleCloudIntegrationsV1alphaValueTypePtrOutput() GoogleCloudIntegrationsV1alphaValueTypePtrOutput { return i.ToGoogleCloudIntegrationsV1alphaValueTypePtrOutputWithContext(context.Background()) } @@ -21986,6 +24915,12 @@ func (i *googleCloudIntegrationsV1alphaValueTypePtrType) ToGoogleCloudIntegratio return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudIntegrationsV1alphaValueTypePtrOutput) } +func (i *googleCloudIntegrationsV1alphaValueTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaValueType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaValueType]{ + OutputState: i.ToGoogleCloudIntegrationsV1alphaValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the parameter. type GoogleCloudIntegrationsV1alphaValueTypeOutput struct{ *pulumi.OutputState } @@ -22011,6 +24946,12 @@ func (o GoogleCloudIntegrationsV1alphaValueTypeOutput) ToGoogleCloudIntegrations }).(GoogleCloudIntegrationsV1alphaValueTypePtrOutput) } +func (o GoogleCloudIntegrationsV1alphaValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaValueType] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaValueType]{ + OutputState: o.OutputState, + } +} + // Boolean Array. func (o GoogleCloudIntegrationsV1alphaValueTypeOutput) BooleanArray() GoogleCloudIntegrationsV1alphaBooleanParameterArrayPtrOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaValueType) *GoogleCloudIntegrationsV1alphaBooleanParameterArray { @@ -22078,6 +25019,12 @@ func (o GoogleCloudIntegrationsV1alphaValueTypePtrOutput) ToGoogleCloudIntegrati return o } +func (o GoogleCloudIntegrationsV1alphaValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudIntegrationsV1alphaValueType] { + return pulumix.Output[*GoogleCloudIntegrationsV1alphaValueType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudIntegrationsV1alphaValueTypePtrOutput) Elem() GoogleCloudIntegrationsV1alphaValueTypeOutput { return o.ApplyT(func(v *GoogleCloudIntegrationsV1alphaValueType) GoogleCloudIntegrationsV1alphaValueType { if v != nil { @@ -22215,6 +25162,12 @@ func (o GoogleCloudIntegrationsV1alphaValueTypeResponseOutput) ToGoogleCloudInte return o } +func (o GoogleCloudIntegrationsV1alphaValueTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudIntegrationsV1alphaValueTypeResponse] { + return pulumix.Output[GoogleCloudIntegrationsV1alphaValueTypeResponse]{ + OutputState: o.OutputState, + } +} + // Boolean Array. func (o GoogleCloudIntegrationsV1alphaValueTypeResponseOutput) BooleanArray() GoogleCloudIntegrationsV1alphaBooleanParameterArrayResponseOutput { return o.ApplyT(func(v GoogleCloudIntegrationsV1alphaValueTypeResponse) GoogleCloudIntegrationsV1alphaBooleanParameterArrayResponse { diff --git a/sdk/go/google/integrations/v1alpha/sfdcChannel.go b/sdk/go/google/integrations/v1alpha/sfdcChannel.go index 9b9d6bd7df..054b7a5291 100644 --- a/sdk/go/google/integrations/v1alpha/sfdcChannel.go +++ b/sdk/go/google/integrations/v1alpha/sfdcChannel.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an sfdc channel record. Store the sfdc channel in Spanner. Returns the sfdc channel. @@ -155,6 +156,12 @@ func (i *SfdcChannel) ToSfdcChannelOutputWithContext(ctx context.Context) SfdcCh return pulumi.ToOutputWithContext(ctx, i).(SfdcChannelOutput) } +func (i *SfdcChannel) ToOutput(ctx context.Context) pulumix.Output[*SfdcChannel] { + return pulumix.Output[*SfdcChannel]{ + OutputState: i.ToSfdcChannelOutputWithContext(ctx).OutputState, + } +} + type SfdcChannelOutput struct{ *pulumi.OutputState } func (SfdcChannelOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o SfdcChannelOutput) ToSfdcChannelOutputWithContext(ctx context.Context) S return o } +func (o SfdcChannelOutput) ToOutput(ctx context.Context) pulumix.Output[*SfdcChannel] { + return pulumix.Output[*SfdcChannel]{ + OutputState: o.OutputState, + } +} + // The Channel topic defined by salesforce once an channel is opened func (o SfdcChannelOutput) ChannelTopic() pulumi.StringOutput { return o.ApplyT(func(v *SfdcChannel) pulumi.StringOutput { return v.ChannelTopic }).(pulumi.StringOutput) diff --git a/sdk/go/google/integrations/v1alpha/sfdcInstance.go b/sdk/go/google/integrations/v1alpha/sfdcInstance.go index 562fd0b1d2..a2783bd504 100644 --- a/sdk/go/google/integrations/v1alpha/sfdcInstance.go +++ b/sdk/go/google/integrations/v1alpha/sfdcInstance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an sfdc instance record. Store the sfdc instance in Spanner. Returns the sfdc instance. @@ -148,6 +149,12 @@ func (i *SfdcInstance) ToSfdcInstanceOutputWithContext(ctx context.Context) Sfdc return pulumi.ToOutputWithContext(ctx, i).(SfdcInstanceOutput) } +func (i *SfdcInstance) ToOutput(ctx context.Context) pulumix.Output[*SfdcInstance] { + return pulumix.Output[*SfdcInstance]{ + OutputState: i.ToSfdcInstanceOutputWithContext(ctx).OutputState, + } +} + type SfdcInstanceOutput struct{ *pulumi.OutputState } func (SfdcInstanceOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o SfdcInstanceOutput) ToSfdcInstanceOutputWithContext(ctx context.Context) return o } +func (o SfdcInstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*SfdcInstance] { + return pulumix.Output[*SfdcInstance]{ + OutputState: o.OutputState, + } +} + // A list of AuthConfigs that can be tried to open the channel to SFDC func (o SfdcInstanceOutput) AuthConfigId() pulumi.StringArrayOutput { return o.ApplyT(func(v *SfdcInstance) pulumi.StringArrayOutput { return v.AuthConfigId }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/integrations/v1alpha/templatesVersion.go b/sdk/go/google/integrations/v1alpha/templatesVersion.go index 5a05d794f6..489996c013 100644 --- a/sdk/go/google/integrations/v1alpha/templatesVersion.go +++ b/sdk/go/google/integrations/v1alpha/templatesVersion.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an IntegrationTemplateVersion. @@ -185,6 +186,12 @@ func (i *TemplatesVersion) ToTemplatesVersionOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(TemplatesVersionOutput) } +func (i *TemplatesVersion) ToOutput(ctx context.Context) pulumix.Output[*TemplatesVersion] { + return pulumix.Output[*TemplatesVersion]{ + OutputState: i.ToTemplatesVersionOutputWithContext(ctx).OutputState, + } +} + type TemplatesVersionOutput struct{ *pulumi.OutputState } func (TemplatesVersionOutput) ElementType() reflect.Type { @@ -199,6 +206,12 @@ func (o TemplatesVersionOutput) ToTemplatesVersionOutputWithContext(ctx context. return o } +func (o TemplatesVersionOutput) ToOutput(ctx context.Context) pulumix.Output[*TemplatesVersion] { + return pulumix.Output[*TemplatesVersion]{ + OutputState: o.OutputState, + } +} + // Auto-generated. func (o TemplatesVersionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TemplatesVersion) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/integrations/v1alpha/version.go b/sdk/go/google/integrations/v1alpha/version.go index 39340eeed9..7f5f4f3d95 100644 --- a/sdk/go/google/integrations/v1alpha/version.go +++ b/sdk/go/google/integrations/v1alpha/version.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a integration with a draft version in the specified project. @@ -231,6 +232,12 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -245,6 +252,12 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + // Auto-generated. func (o VersionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Version) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/jobs/v3/company.go b/sdk/go/google/jobs/v3/company.go index bf13a97126..92d1d629c9 100644 --- a/sdk/go/google/jobs/v3/company.go +++ b/sdk/go/google/jobs/v3/company.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new company entity. @@ -176,6 +177,12 @@ func (i *Company) ToCompanyOutputWithContext(ctx context.Context) CompanyOutput return pulumi.ToOutputWithContext(ctx, i).(CompanyOutput) } +func (i *Company) ToOutput(ctx context.Context) pulumix.Output[*Company] { + return pulumix.Output[*Company]{ + OutputState: i.ToCompanyOutputWithContext(ctx).OutputState, + } +} + type CompanyOutput struct{ *pulumi.OutputState } func (CompanyOutput) ElementType() reflect.Type { @@ -190,6 +197,12 @@ func (o CompanyOutput) ToCompanyOutputWithContext(ctx context.Context) CompanyOu return o } +func (o CompanyOutput) ToOutput(ctx context.Context) pulumix.Output[*Company] { + return pulumix.Output[*Company]{ + OutputState: o.OutputState, + } +} + // Optional. The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com". func (o CompanyOutput) CareerSiteUri() pulumi.StringOutput { return o.ApplyT(func(v *Company) pulumi.StringOutput { return v.CareerSiteUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/jobs/v3/getCompany.go b/sdk/go/google/jobs/v3/getCompany.go index 1a0e7c029f..b1e18369ff 100644 --- a/sdk/go/google/jobs/v3/getCompany.go +++ b/sdk/go/google/jobs/v3/getCompany.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves specified company. @@ -94,6 +95,12 @@ func (o LookupCompanyResultOutput) ToLookupCompanyResultOutputWithContext(ctx co return o } +func (o LookupCompanyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCompanyResult] { + return pulumix.Output[LookupCompanyResult]{ + OutputState: o.OutputState, + } +} + // Optional. The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com". func (o LookupCompanyResultOutput) CareerSiteUri() pulumi.StringOutput { return o.ApplyT(func(v LookupCompanyResult) string { return v.CareerSiteUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/jobs/v3/getJob.go b/sdk/go/google/jobs/v3/getJob.go index f98cfbce06..6a53b7a88d 100644 --- a/sdk/go/google/jobs/v3/getJob.go +++ b/sdk/go/google/jobs/v3/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days. @@ -128,6 +129,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // Optional but strongly recommended for the best service experience. Location(s) where the employer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as multiple jobs with the same company_name, language_code and requisition_id are not allowed. If the original requisition_id must be preserved, a custom field should be used for storage. It is also suggested to group the locations that close to each other in the same job for better search experience. Jobs with multiple addresses must have their addresses with the same LocationType to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a LocationType.STREET_ADDRESS and the second is a LocationType.LOCALITY.) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes. The maximum number of allowed characters is 500. func (o LookupJobResultOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupJobResult) []string { return v.Addresses }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/jobs/v3/job.go b/sdk/go/google/jobs/v3/job.go index 7e75b989cb..e51eab0bbd 100644 --- a/sdk/go/google/jobs/v3/job.go +++ b/sdk/go/google/jobs/v3/job.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes. @@ -279,6 +280,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -293,6 +300,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // Optional but strongly recommended for the best service experience. Location(s) where the employer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as multiple jobs with the same company_name, language_code and requisition_id are not allowed. If the original requisition_id must be preserved, a custom field should be used for storage. It is also suggested to group the locations that close to each other in the same job for better search experience. Jobs with multiple addresses must have their addresses with the same LocationType to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a LocationType.STREET_ADDRESS and the second is a LocationType.LOCALITY.) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes. The maximum number of allowed characters is 500. func (o JobOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v *Job) pulumi.StringArrayOutput { return v.Addresses }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/jobs/v3/pulumiEnums.go b/sdk/go/google/jobs/v3/pulumiEnums.go index e642e4a70b..990dc5d997 100644 --- a/sdk/go/google/jobs/v3/pulumiEnums.go +++ b/sdk/go/google/jobs/v3/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. The employer's company size. @@ -92,6 +93,12 @@ func (o CompanySizeOutput) ToCompanySizePtrOutputWithContext(ctx context.Context }).(CompanySizePtrOutput) } +func (o CompanySizeOutput) ToOutput(ctx context.Context) pulumix.Output[CompanySize] { + return pulumix.Output[CompanySize]{ + OutputState: o.OutputState, + } +} + func (o CompanySizeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -127,6 +134,12 @@ func (o CompanySizePtrOutput) ToCompanySizePtrOutputWithContext(ctx context.Cont return o } +func (o CompanySizePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompanySize] { + return pulumix.Output[*CompanySize]{ + OutputState: o.OutputState, + } +} + func (o CompanySizePtrOutput) Elem() CompanySizeOutput { return o.ApplyT(func(v *CompanySize) CompanySize { if v != nil { @@ -189,6 +202,12 @@ func (in *companySizePtr) ToCompanySizePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(CompanySizePtrOutput) } +func (in *companySizePtr) ToOutput(ctx context.Context) pulumix.Output[*CompanySize] { + return pulumix.Output[*CompanySize]{ + OutputState: in.ToCompanySizePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Compensation type. Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED. type CompensationEntryType string @@ -273,6 +292,12 @@ func (o CompensationEntryTypeOutput) ToCompensationEntryTypePtrOutputWithContext }).(CompensationEntryTypePtrOutput) } +func (o CompensationEntryTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationEntryType] { + return pulumix.Output[CompensationEntryType]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -308,6 +333,12 @@ func (o CompensationEntryTypePtrOutput) ToCompensationEntryTypePtrOutputWithCont return o } +func (o CompensationEntryTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompensationEntryType] { + return pulumix.Output[*CompensationEntryType]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryTypePtrOutput) Elem() CompensationEntryTypeOutput { return o.ApplyT(func(v *CompensationEntryType) CompensationEntryType { if v != nil { @@ -370,6 +401,12 @@ func (in *compensationEntryTypePtr) ToCompensationEntryTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(CompensationEntryTypePtrOutput) } +func (in *compensationEntryTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CompensationEntryType] { + return pulumix.Output[*CompensationEntryType]{ + OutputState: in.ToCompensationEntryTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED. type CompensationEntryUnit string @@ -452,6 +489,12 @@ func (o CompensationEntryUnitOutput) ToCompensationEntryUnitPtrOutputWithContext }).(CompensationEntryUnitPtrOutput) } +func (o CompensationEntryUnitOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationEntryUnit] { + return pulumix.Output[CompensationEntryUnit]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryUnitOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -487,6 +530,12 @@ func (o CompensationEntryUnitPtrOutput) ToCompensationEntryUnitPtrOutputWithCont return o } +func (o CompensationEntryUnitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompensationEntryUnit] { + return pulumix.Output[*CompensationEntryUnit]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryUnitPtrOutput) Elem() CompensationEntryUnitOutput { return o.ApplyT(func(v *CompensationEntryUnit) CompensationEntryUnit { if v != nil { @@ -549,6 +598,12 @@ func (in *compensationEntryUnitPtr) ToCompensationEntryUnitPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(CompensationEntryUnitPtrOutput) } +func (in *compensationEntryUnitPtr) ToOutput(ctx context.Context) pulumix.Output[*CompensationEntryUnit] { + return pulumix.Output[*CompensationEntryUnit]{ + OutputState: in.ToCompensationEntryUnitPtrOutputWithContext(ctx).OutputState, + } +} + type JobDegreeTypesItem string const ( @@ -632,6 +687,12 @@ func (o JobDegreeTypesItemOutput) ToJobDegreeTypesItemPtrOutputWithContext(ctx c }).(JobDegreeTypesItemPtrOutput) } +func (o JobDegreeTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[JobDegreeTypesItem] { + return pulumix.Output[JobDegreeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobDegreeTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -667,6 +728,12 @@ func (o JobDegreeTypesItemPtrOutput) ToJobDegreeTypesItemPtrOutputWithContext(ct return o } +func (o JobDegreeTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobDegreeTypesItem] { + return pulumix.Output[*JobDegreeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobDegreeTypesItemPtrOutput) Elem() JobDegreeTypesItemOutput { return o.ApplyT(func(v *JobDegreeTypesItem) JobDegreeTypesItem { if v != nil { @@ -729,6 +796,12 @@ func (in *jobDegreeTypesItemPtr) ToJobDegreeTypesItemPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(JobDegreeTypesItemPtrOutput) } +func (in *jobDegreeTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*JobDegreeTypesItem] { + return pulumix.Output[*JobDegreeTypesItem]{ + OutputState: in.ToJobDegreeTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // JobDegreeTypesItemArrayInput is an input type that accepts JobDegreeTypesItemArray and JobDegreeTypesItemArrayOutput values. // You can construct a concrete instance of `JobDegreeTypesItemArrayInput` via: // @@ -754,6 +827,12 @@ func (i JobDegreeTypesItemArray) ToJobDegreeTypesItemArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(JobDegreeTypesItemArrayOutput) } +func (i JobDegreeTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]JobDegreeTypesItem] { + return pulumix.Output[[]JobDegreeTypesItem]{ + OutputState: i.ToJobDegreeTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type JobDegreeTypesItemArrayOutput struct{ *pulumi.OutputState } func (JobDegreeTypesItemArrayOutput) ElementType() reflect.Type { @@ -768,6 +847,12 @@ func (o JobDegreeTypesItemArrayOutput) ToJobDegreeTypesItemArrayOutputWithContex return o } +func (o JobDegreeTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobDegreeTypesItem] { + return pulumix.Output[[]JobDegreeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobDegreeTypesItemArrayOutput) Index(i pulumi.IntInput) JobDegreeTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobDegreeTypesItem { return vs[0].([]JobDegreeTypesItem)[vs[1].(int)] @@ -861,6 +946,12 @@ func (o JobEmploymentTypesItemOutput) ToJobEmploymentTypesItemPtrOutputWithConte }).(JobEmploymentTypesItemPtrOutput) } +func (o JobEmploymentTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[JobEmploymentTypesItem] { + return pulumix.Output[JobEmploymentTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobEmploymentTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -896,6 +987,12 @@ func (o JobEmploymentTypesItemPtrOutput) ToJobEmploymentTypesItemPtrOutputWithCo return o } +func (o JobEmploymentTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobEmploymentTypesItem] { + return pulumix.Output[*JobEmploymentTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobEmploymentTypesItemPtrOutput) Elem() JobEmploymentTypesItemOutput { return o.ApplyT(func(v *JobEmploymentTypesItem) JobEmploymentTypesItem { if v != nil { @@ -958,6 +1055,12 @@ func (in *jobEmploymentTypesItemPtr) ToJobEmploymentTypesItemPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(JobEmploymentTypesItemPtrOutput) } +func (in *jobEmploymentTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*JobEmploymentTypesItem] { + return pulumix.Output[*JobEmploymentTypesItem]{ + OutputState: in.ToJobEmploymentTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // JobEmploymentTypesItemArrayInput is an input type that accepts JobEmploymentTypesItemArray and JobEmploymentTypesItemArrayOutput values. // You can construct a concrete instance of `JobEmploymentTypesItemArrayInput` via: // @@ -983,6 +1086,12 @@ func (i JobEmploymentTypesItemArray) ToJobEmploymentTypesItemArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(JobEmploymentTypesItemArrayOutput) } +func (i JobEmploymentTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]JobEmploymentTypesItem] { + return pulumix.Output[[]JobEmploymentTypesItem]{ + OutputState: i.ToJobEmploymentTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type JobEmploymentTypesItemArrayOutput struct{ *pulumi.OutputState } func (JobEmploymentTypesItemArrayOutput) ElementType() reflect.Type { @@ -997,6 +1106,12 @@ func (o JobEmploymentTypesItemArrayOutput) ToJobEmploymentTypesItemArrayOutputWi return o } +func (o JobEmploymentTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobEmploymentTypesItem] { + return pulumix.Output[[]JobEmploymentTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobEmploymentTypesItemArrayOutput) Index(i pulumi.IntInput) JobEmploymentTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobEmploymentTypesItem { return vs[0].([]JobEmploymentTypesItem)[vs[1].(int)] @@ -1092,6 +1207,12 @@ func (o JobJobBenefitsItemOutput) ToJobJobBenefitsItemPtrOutputWithContext(ctx c }).(JobJobBenefitsItemPtrOutput) } +func (o JobJobBenefitsItemOutput) ToOutput(ctx context.Context) pulumix.Output[JobJobBenefitsItem] { + return pulumix.Output[JobJobBenefitsItem]{ + OutputState: o.OutputState, + } +} + func (o JobJobBenefitsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1127,6 +1248,12 @@ func (o JobJobBenefitsItemPtrOutput) ToJobJobBenefitsItemPtrOutputWithContext(ct return o } +func (o JobJobBenefitsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobJobBenefitsItem] { + return pulumix.Output[*JobJobBenefitsItem]{ + OutputState: o.OutputState, + } +} + func (o JobJobBenefitsItemPtrOutput) Elem() JobJobBenefitsItemOutput { return o.ApplyT(func(v *JobJobBenefitsItem) JobJobBenefitsItem { if v != nil { @@ -1189,6 +1316,12 @@ func (in *jobJobBenefitsItemPtr) ToJobJobBenefitsItemPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(JobJobBenefitsItemPtrOutput) } +func (in *jobJobBenefitsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*JobJobBenefitsItem] { + return pulumix.Output[*JobJobBenefitsItem]{ + OutputState: in.ToJobJobBenefitsItemPtrOutputWithContext(ctx).OutputState, + } +} + // JobJobBenefitsItemArrayInput is an input type that accepts JobJobBenefitsItemArray and JobJobBenefitsItemArrayOutput values. // You can construct a concrete instance of `JobJobBenefitsItemArrayInput` via: // @@ -1214,6 +1347,12 @@ func (i JobJobBenefitsItemArray) ToJobJobBenefitsItemArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(JobJobBenefitsItemArrayOutput) } +func (i JobJobBenefitsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]JobJobBenefitsItem] { + return pulumix.Output[[]JobJobBenefitsItem]{ + OutputState: i.ToJobJobBenefitsItemArrayOutputWithContext(ctx).OutputState, + } +} + type JobJobBenefitsItemArrayOutput struct{ *pulumi.OutputState } func (JobJobBenefitsItemArrayOutput) ElementType() reflect.Type { @@ -1228,6 +1367,12 @@ func (o JobJobBenefitsItemArrayOutput) ToJobJobBenefitsItemArrayOutputWithContex return o } +func (o JobJobBenefitsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobJobBenefitsItem] { + return pulumix.Output[[]JobJobBenefitsItem]{ + OutputState: o.OutputState, + } +} + func (o JobJobBenefitsItemArrayOutput) Index(i pulumi.IntInput) JobJobBenefitsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobJobBenefitsItem { return vs[0].([]JobJobBenefitsItem)[vs[1].(int)] @@ -1312,6 +1457,12 @@ func (o JobJobLevelOutput) ToJobJobLevelPtrOutputWithContext(ctx context.Context }).(JobJobLevelPtrOutput) } +func (o JobJobLevelOutput) ToOutput(ctx context.Context) pulumix.Output[JobJobLevel] { + return pulumix.Output[JobJobLevel]{ + OutputState: o.OutputState, + } +} + func (o JobJobLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1347,6 +1498,12 @@ func (o JobJobLevelPtrOutput) ToJobJobLevelPtrOutputWithContext(ctx context.Cont return o } +func (o JobJobLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobJobLevel] { + return pulumix.Output[*JobJobLevel]{ + OutputState: o.OutputState, + } +} + func (o JobJobLevelPtrOutput) Elem() JobJobLevelOutput { return o.ApplyT(func(v *JobJobLevel) JobJobLevel { if v != nil { @@ -1409,6 +1566,12 @@ func (in *jobJobLevelPtr) ToJobJobLevelPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(JobJobLevelPtrOutput) } +func (in *jobJobLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*JobJobLevel] { + return pulumix.Output[*JobJobLevel]{ + OutputState: in.ToJobJobLevelPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a LocationFilter in a search query within the job region finds this job posting if an exact location match isn't specified. If this field is set to PostingRegion.NATION or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended. type JobPostingRegion string @@ -1483,6 +1646,12 @@ func (o JobPostingRegionOutput) ToJobPostingRegionPtrOutputWithContext(ctx conte }).(JobPostingRegionPtrOutput) } +func (o JobPostingRegionOutput) ToOutput(ctx context.Context) pulumix.Output[JobPostingRegion] { + return pulumix.Output[JobPostingRegion]{ + OutputState: o.OutputState, + } +} + func (o JobPostingRegionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1518,6 +1687,12 @@ func (o JobPostingRegionPtrOutput) ToJobPostingRegionPtrOutputWithContext(ctx co return o } +func (o JobPostingRegionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobPostingRegion] { + return pulumix.Output[*JobPostingRegion]{ + OutputState: o.OutputState, + } +} + func (o JobPostingRegionPtrOutput) Elem() JobPostingRegionOutput { return o.ApplyT(func(v *JobPostingRegion) JobPostingRegion { if v != nil { @@ -1580,6 +1755,12 @@ func (in *jobPostingRegionPtr) ToJobPostingRegionPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(JobPostingRegionPtrOutput) } +func (in *jobPostingRegionPtr) ToOutput(ctx context.Context) pulumix.Output[*JobPostingRegion] { + return pulumix.Output[*JobPostingRegion]{ + OutputState: in.ToJobPostingRegionPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. The job is only visible to the owner. The visibility of the job. Defaults to Visibility.ACCOUNT_ONLY if not specified. type JobVisibility string @@ -1654,6 +1835,12 @@ func (o JobVisibilityOutput) ToJobVisibilityPtrOutputWithContext(ctx context.Con }).(JobVisibilityPtrOutput) } +func (o JobVisibilityOutput) ToOutput(ctx context.Context) pulumix.Output[JobVisibility] { + return pulumix.Output[JobVisibility]{ + OutputState: o.OutputState, + } +} + func (o JobVisibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1689,6 +1876,12 @@ func (o JobVisibilityPtrOutput) ToJobVisibilityPtrOutputWithContext(ctx context. return o } +func (o JobVisibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobVisibility] { + return pulumix.Output[*JobVisibility]{ + OutputState: o.OutputState, + } +} + func (o JobVisibilityPtrOutput) Elem() JobVisibilityOutput { return o.ApplyT(func(v *JobVisibility) JobVisibility { if v != nil { @@ -1751,6 +1944,12 @@ func (in *jobVisibilityPtr) ToJobVisibilityPtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(JobVisibilityPtrOutput) } +func (in *jobVisibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*JobVisibility] { + return pulumix.Output[*JobVisibility]{ + OutputState: in.ToJobVisibilityPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Option for job HTML content sanitization. Applied fields are: * description * applicationInfo.instruction * incentives * qualifications * responsibilities HTML tags in these fields may be stripped if sanitiazation is not disabled. Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY. type ProcessingOptionsHtmlSanitization string @@ -1823,6 +2022,12 @@ func (o ProcessingOptionsHtmlSanitizationOutput) ToProcessingOptionsHtmlSanitiza }).(ProcessingOptionsHtmlSanitizationPtrOutput) } +func (o ProcessingOptionsHtmlSanitizationOutput) ToOutput(ctx context.Context) pulumix.Output[ProcessingOptionsHtmlSanitization] { + return pulumix.Output[ProcessingOptionsHtmlSanitization]{ + OutputState: o.OutputState, + } +} + func (o ProcessingOptionsHtmlSanitizationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1858,6 +2063,12 @@ func (o ProcessingOptionsHtmlSanitizationPtrOutput) ToProcessingOptionsHtmlSanit return o } +func (o ProcessingOptionsHtmlSanitizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProcessingOptionsHtmlSanitization] { + return pulumix.Output[*ProcessingOptionsHtmlSanitization]{ + OutputState: o.OutputState, + } +} + func (o ProcessingOptionsHtmlSanitizationPtrOutput) Elem() ProcessingOptionsHtmlSanitizationOutput { return o.ApplyT(func(v *ProcessingOptionsHtmlSanitization) ProcessingOptionsHtmlSanitization { if v != nil { @@ -1920,6 +2131,12 @@ func (in *processingOptionsHtmlSanitizationPtr) ToProcessingOptionsHtmlSanitizat return pulumi.ToOutputWithContext(ctx, in).(ProcessingOptionsHtmlSanitizationPtrOutput) } +func (in *processingOptionsHtmlSanitizationPtr) ToOutput(ctx context.Context) pulumix.Output[*ProcessingOptionsHtmlSanitization] { + return pulumix.Output[*ProcessingOptionsHtmlSanitization]{ + OutputState: in.ToProcessingOptionsHtmlSanitizationPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*CompanySizeInput)(nil)).Elem(), CompanySize("COMPANY_SIZE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*CompanySizePtrInput)(nil)).Elem(), CompanySize("COMPANY_SIZE_UNSPECIFIED")) diff --git a/sdk/go/google/jobs/v3/pulumiTypes.go b/sdk/go/google/jobs/v3/pulumiTypes.go index 5546a026a9..c69a588cd8 100644 --- a/sdk/go/google/jobs/v3/pulumiTypes.go +++ b/sdk/go/google/jobs/v3/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i ApplicationInfoArgs) ToApplicationInfoOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ApplicationInfoOutput) } +func (i ApplicationInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ApplicationInfo] { + return pulumix.Output[ApplicationInfo]{ + OutputState: i.ToApplicationInfoOutputWithContext(ctx).OutputState, + } +} + // Application related details of a job posting. type ApplicationInfoOutput struct{ *pulumi.OutputState } @@ -71,6 +78,12 @@ func (o ApplicationInfoOutput) ToApplicationInfoOutputWithContext(ctx context.Co return o } +func (o ApplicationInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationInfo] { + return pulumix.Output[ApplicationInfo]{ + OutputState: o.OutputState, + } +} + // Optional but at least one of uris, emails or instruction must be specified. Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters for each entry is 255. func (o ApplicationInfoOutput) Emails() pulumi.StringArrayOutput { return o.ApplyT(func(v ApplicationInfo) []string { return v.Emails }).(pulumi.StringArrayOutput) @@ -111,6 +124,12 @@ func (o ApplicationInfoResponseOutput) ToApplicationInfoResponseOutputWithContex return o } +func (o ApplicationInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationInfoResponse] { + return pulumix.Output[ApplicationInfoResponse]{ + OutputState: o.OutputState, + } +} + // Optional but at least one of uris, emails or instruction must be specified. Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters for each entry is 255. func (o ApplicationInfoResponseOutput) Emails() pulumi.StringArrayOutput { return o.ApplyT(func(v ApplicationInfoResponse) []string { return v.Emails }).(pulumi.StringArrayOutput) @@ -147,6 +166,12 @@ func (o CompanyDerivedInfoResponseOutput) ToCompanyDerivedInfoResponseOutputWith return o } +func (o CompanyDerivedInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompanyDerivedInfoResponse] { + return pulumix.Output[CompanyDerivedInfoResponse]{ + OutputState: o.OutputState, + } +} + // A structured headquarters location of the company, resolved from Company.hq_location if provided. func (o CompanyDerivedInfoResponseOutput) HeadquartersLocation() LocationResponseOutput { return o.ApplyT(func(v CompanyDerivedInfoResponse) LocationResponse { return v.HeadquartersLocation }).(LocationResponseOutput) @@ -207,6 +232,12 @@ func (i CompensationEntryArgs) ToCompensationEntryOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CompensationEntryOutput) } +func (i CompensationEntryArgs) ToOutput(ctx context.Context) pulumix.Output[CompensationEntry] { + return pulumix.Output[CompensationEntry]{ + OutputState: i.ToCompensationEntryOutputWithContext(ctx).OutputState, + } +} + // CompensationEntryArrayInput is an input type that accepts CompensationEntryArray and CompensationEntryArrayOutput values. // You can construct a concrete instance of `CompensationEntryArrayInput` via: // @@ -232,6 +263,12 @@ func (i CompensationEntryArray) ToCompensationEntryArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(CompensationEntryArrayOutput) } +func (i CompensationEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]CompensationEntry] { + return pulumix.Output[[]CompensationEntry]{ + OutputState: i.ToCompensationEntryArrayOutputWithContext(ctx).OutputState, + } +} + // A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year. type CompensationEntryOutput struct{ *pulumi.OutputState } @@ -247,6 +284,12 @@ func (o CompensationEntryOutput) ToCompensationEntryOutputWithContext(ctx contex return o } +func (o CompensationEntryOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationEntry] { + return pulumix.Output[CompensationEntry]{ + OutputState: o.OutputState, + } +} + // Optional. Compensation amount. func (o CompensationEntryOutput) Amount() MoneyPtrOutput { return o.ApplyT(func(v CompensationEntry) *Money { return v.Amount }).(MoneyPtrOutput) @@ -291,6 +334,12 @@ func (o CompensationEntryArrayOutput) ToCompensationEntryArrayOutputWithContext( return o } +func (o CompensationEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CompensationEntry] { + return pulumix.Output[[]CompensationEntry]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryArrayOutput) Index(i pulumi.IntInput) CompensationEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CompensationEntry { return vs[0].([]CompensationEntry)[vs[1].(int)] @@ -328,6 +377,12 @@ func (o CompensationEntryResponseOutput) ToCompensationEntryResponseOutputWithCo return o } +func (o CompensationEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationEntryResponse] { + return pulumix.Output[CompensationEntryResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Compensation amount. func (o CompensationEntryResponseOutput) Amount() MoneyResponseOutput { return o.ApplyT(func(v CompensationEntryResponse) MoneyResponse { return v.Amount }).(MoneyResponseOutput) @@ -372,6 +427,12 @@ func (o CompensationEntryResponseArrayOutput) ToCompensationEntryResponseArrayOu return o } +func (o CompensationEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CompensationEntryResponse] { + return pulumix.Output[[]CompensationEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryResponseArrayOutput) Index(i pulumi.IntInput) CompensationEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CompensationEntryResponse { return vs[0].([]CompensationEntryResponse)[vs[1].(int)] @@ -413,6 +474,12 @@ func (i CompensationInfoArgs) ToCompensationInfoOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(CompensationInfoOutput) } +func (i CompensationInfoArgs) ToOutput(ctx context.Context) pulumix.Output[CompensationInfo] { + return pulumix.Output[CompensationInfo]{ + OutputState: i.ToCompensationInfoOutputWithContext(ctx).OutputState, + } +} + func (i CompensationInfoArgs) ToCompensationInfoPtrOutput() CompensationInfoPtrOutput { return i.ToCompensationInfoPtrOutputWithContext(context.Background()) } @@ -454,6 +521,12 @@ func (i *compensationInfoPtrType) ToCompensationInfoPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(CompensationInfoPtrOutput) } +func (i *compensationInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*CompensationInfo] { + return pulumix.Output[*CompensationInfo]{ + OutputState: i.ToCompensationInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Job compensation details. type CompensationInfoOutput struct{ *pulumi.OutputState } @@ -479,6 +552,12 @@ func (o CompensationInfoOutput) ToCompensationInfoPtrOutputWithContext(ctx conte }).(CompensationInfoPtrOutput) } +func (o CompensationInfoOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationInfo] { + return pulumix.Output[CompensationInfo]{ + OutputState: o.OutputState, + } +} + // Optional. Job compensation information. At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as ** base compensation entry ** for the job. func (o CompensationInfoOutput) Entries() CompensationEntryArrayOutput { return o.ApplyT(func(v CompensationInfo) []CompensationEntry { return v.Entries }).(CompensationEntryArrayOutput) @@ -498,6 +577,12 @@ func (o CompensationInfoPtrOutput) ToCompensationInfoPtrOutputWithContext(ctx co return o } +func (o CompensationInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompensationInfo] { + return pulumix.Output[*CompensationInfo]{ + OutputState: o.OutputState, + } +} + func (o CompensationInfoPtrOutput) Elem() CompensationInfoOutput { return o.ApplyT(func(v *CompensationInfo) CompensationInfo { if v != nil { @@ -543,6 +628,12 @@ func (o CompensationInfoResponseOutput) ToCompensationInfoResponseOutputWithCont return o } +func (o CompensationInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationInfoResponse] { + return pulumix.Output[CompensationInfoResponse]{ + OutputState: o.OutputState, + } +} + // Annualized base compensation range. Computed as base compensation entry's CompensationEntry.compensation times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization. func (o CompensationInfoResponseOutput) AnnualizedBaseCompensationRange() CompensationRangeResponseOutput { return o.ApplyT(func(v CompensationInfoResponse) CompensationRangeResponse { return v.AnnualizedBaseCompensationRange }).(CompensationRangeResponseOutput) @@ -597,6 +688,12 @@ func (i CompensationRangeArgs) ToCompensationRangeOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CompensationRangeOutput) } +func (i CompensationRangeArgs) ToOutput(ctx context.Context) pulumix.Output[CompensationRange] { + return pulumix.Output[CompensationRange]{ + OutputState: i.ToCompensationRangeOutputWithContext(ctx).OutputState, + } +} + func (i CompensationRangeArgs) ToCompensationRangePtrOutput() CompensationRangePtrOutput { return i.ToCompensationRangePtrOutputWithContext(context.Background()) } @@ -638,6 +735,12 @@ func (i *compensationRangePtrType) ToCompensationRangePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CompensationRangePtrOutput) } +func (i *compensationRangePtrType) ToOutput(ctx context.Context) pulumix.Output[*CompensationRange] { + return pulumix.Output[*CompensationRange]{ + OutputState: i.ToCompensationRangePtrOutputWithContext(ctx).OutputState, + } +} + // Compensation range. type CompensationRangeOutput struct{ *pulumi.OutputState } @@ -663,6 +766,12 @@ func (o CompensationRangeOutput) ToCompensationRangePtrOutputWithContext(ctx con }).(CompensationRangePtrOutput) } +func (o CompensationRangeOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationRange] { + return pulumix.Output[CompensationRange]{ + OutputState: o.OutputState, + } +} + // Optional. The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation. func (o CompensationRangeOutput) MaxCompensation() MoneyPtrOutput { return o.ApplyT(func(v CompensationRange) *Money { return v.MaxCompensation }).(MoneyPtrOutput) @@ -687,6 +796,12 @@ func (o CompensationRangePtrOutput) ToCompensationRangePtrOutputWithContext(ctx return o } +func (o CompensationRangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompensationRange] { + return pulumix.Output[*CompensationRange]{ + OutputState: o.OutputState, + } +} + func (o CompensationRangePtrOutput) Elem() CompensationRangeOutput { return o.ApplyT(func(v *CompensationRange) CompensationRange { if v != nil { @@ -740,6 +855,12 @@ func (o CompensationRangeResponseOutput) ToCompensationRangeResponseOutputWithCo return o } +func (o CompensationRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationRangeResponse] { + return pulumix.Output[CompensationRangeResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation. func (o CompensationRangeResponseOutput) MaxCompensation() MoneyResponseOutput { return o.ApplyT(func(v CompensationRangeResponse) MoneyResponse { return v.MaxCompensation }).(MoneyResponseOutput) @@ -773,6 +894,12 @@ func (o JobDerivedInfoResponseOutput) ToJobDerivedInfoResponseOutputWithContext( return o } +func (o JobDerivedInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobDerivedInfoResponse] { + return pulumix.Output[JobDerivedInfoResponse]{ + OutputState: o.OutputState, + } +} + // Job categories derived from Job.title and Job.description. func (o JobDerivedInfoResponseOutput) JobCategories() pulumi.StringArrayOutput { return o.ApplyT(func(v JobDerivedInfoResponse) []string { return v.JobCategories }).(pulumi.StringArrayOutput) @@ -806,6 +933,12 @@ func (o LatLngResponseOutput) ToLatLngResponseOutputWithContext(ctx context.Cont return o } +func (o LatLngResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LatLngResponse] { + return pulumix.Output[LatLngResponse]{ + OutputState: o.OutputState, + } +} + // The latitude in degrees. It must be in the range [-90.0, +90.0]. func (o LatLngResponseOutput) Latitude() pulumi.Float64Output { return o.ApplyT(func(v LatLngResponse) float64 { return v.Latitude }).(pulumi.Float64Output) @@ -843,6 +976,12 @@ func (o LocationResponseOutput) ToLocationResponseOutputWithContext(ctx context. return o } +func (o LocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocationResponse] { + return pulumix.Output[LocationResponse]{ + OutputState: o.OutputState, + } +} + // An object representing a latitude/longitude pair. func (o LocationResponseOutput) LatLng() LatLngResponseOutput { return o.ApplyT(func(v LocationResponse) LatLngResponse { return v.LatLng }).(LatLngResponseOutput) @@ -877,6 +1016,12 @@ func (o LocationResponseArrayOutput) ToLocationResponseArrayOutputWithContext(ct return o } +func (o LocationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocationResponse] { + return pulumix.Output[[]LocationResponse]{ + OutputState: o.OutputState, + } +} + func (o LocationResponseArrayOutput) Index(i pulumi.IntInput) LocationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocationResponse { return vs[0].([]LocationResponse)[vs[1].(int)] @@ -926,6 +1071,12 @@ func (i MoneyArgs) ToMoneyOutputWithContext(ctx context.Context) MoneyOutput { return pulumi.ToOutputWithContext(ctx, i).(MoneyOutput) } +func (i MoneyArgs) ToOutput(ctx context.Context) pulumix.Output[Money] { + return pulumix.Output[Money]{ + OutputState: i.ToMoneyOutputWithContext(ctx).OutputState, + } +} + func (i MoneyArgs) ToMoneyPtrOutput() MoneyPtrOutput { return i.ToMoneyPtrOutputWithContext(context.Background()) } @@ -967,6 +1118,12 @@ func (i *moneyPtrType) ToMoneyPtrOutputWithContext(ctx context.Context) MoneyPtr return pulumi.ToOutputWithContext(ctx, i).(MoneyPtrOutput) } +func (i *moneyPtrType) ToOutput(ctx context.Context) pulumix.Output[*Money] { + return pulumix.Output[*Money]{ + OutputState: i.ToMoneyPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an amount of money with its currency type. type MoneyOutput struct{ *pulumi.OutputState } @@ -992,6 +1149,12 @@ func (o MoneyOutput) ToMoneyPtrOutputWithContext(ctx context.Context) MoneyPtrOu }).(MoneyPtrOutput) } +func (o MoneyOutput) ToOutput(ctx context.Context) pulumix.Output[Money] { + return pulumix.Output[Money]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o MoneyOutput) CurrencyCode() pulumi.StringPtrOutput { return o.ApplyT(func(v Money) *string { return v.CurrencyCode }).(pulumi.StringPtrOutput) @@ -1021,6 +1184,12 @@ func (o MoneyPtrOutput) ToMoneyPtrOutputWithContext(ctx context.Context) MoneyPt return o } +func (o MoneyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Money] { + return pulumix.Output[*Money]{ + OutputState: o.OutputState, + } +} + func (o MoneyPtrOutput) Elem() MoneyOutput { return o.ApplyT(func(v *Money) Money { if v != nil { @@ -1086,6 +1255,12 @@ func (o MoneyResponseOutput) ToMoneyResponseOutputWithContext(ctx context.Contex return o } +func (o MoneyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MoneyResponse] { + return pulumix.Output[MoneyResponse]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o MoneyResponseOutput) CurrencyCode() pulumi.StringOutput { return o.ApplyT(func(v MoneyResponse) string { return v.CurrencyCode }).(pulumi.StringOutput) @@ -1142,6 +1317,12 @@ func (o PostalAddressResponseOutput) ToPostalAddressResponseOutputWithContext(ct return o } +func (o PostalAddressResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostalAddressResponse] { + return pulumix.Output[PostalAddressResponse]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o PostalAddressResponseOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v PostalAddressResponse) []string { return v.AddressLines }).(pulumi.StringArrayOutput) @@ -1236,6 +1417,12 @@ func (i ProcessingOptionsArgs) ToProcessingOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ProcessingOptionsOutput) } +func (i ProcessingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ProcessingOptions] { + return pulumix.Output[ProcessingOptions]{ + OutputState: i.ToProcessingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ProcessingOptionsArgs) ToProcessingOptionsPtrOutput() ProcessingOptionsPtrOutput { return i.ToProcessingOptionsPtrOutputWithContext(context.Background()) } @@ -1277,6 +1464,12 @@ func (i *processingOptionsPtrType) ToProcessingOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ProcessingOptionsPtrOutput) } +func (i *processingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProcessingOptions] { + return pulumix.Output[*ProcessingOptions]{ + OutputState: i.ToProcessingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Input only. Options for job processing. type ProcessingOptionsOutput struct{ *pulumi.OutputState } @@ -1302,6 +1495,12 @@ func (o ProcessingOptionsOutput) ToProcessingOptionsPtrOutputWithContext(ctx con }).(ProcessingOptionsPtrOutput) } +func (o ProcessingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ProcessingOptions] { + return pulumix.Output[ProcessingOptions]{ + OutputState: o.OutputState, + } +} + // Optional. If set to `true`, the service does not attempt to resolve a more precise address for the job. func (o ProcessingOptionsOutput) DisableStreetAddressResolution() pulumi.BoolPtrOutput { return o.ApplyT(func(v ProcessingOptions) *bool { return v.DisableStreetAddressResolution }).(pulumi.BoolPtrOutput) @@ -1326,6 +1525,12 @@ func (o ProcessingOptionsPtrOutput) ToProcessingOptionsPtrOutputWithContext(ctx return o } +func (o ProcessingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProcessingOptions] { + return pulumix.Output[*ProcessingOptions]{ + OutputState: o.OutputState, + } +} + func (o ProcessingOptionsPtrOutput) Elem() ProcessingOptionsOutput { return o.ApplyT(func(v *ProcessingOptions) ProcessingOptions { if v != nil { @@ -1379,6 +1584,12 @@ func (o ProcessingOptionsResponseOutput) ToProcessingOptionsResponseOutputWithCo return o } +func (o ProcessingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProcessingOptionsResponse] { + return pulumix.Output[ProcessingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If set to `true`, the service does not attempt to resolve a more precise address for the job. func (o ProcessingOptionsResponseOutput) DisableStreetAddressResolution() pulumi.BoolOutput { return o.ApplyT(func(v ProcessingOptionsResponse) bool { return v.DisableStreetAddressResolution }).(pulumi.BoolOutput) diff --git a/sdk/go/google/jobs/v4/company.go b/sdk/go/google/jobs/v4/company.go index 77a373ae9f..a03a4ea42c 100644 --- a/sdk/go/google/jobs/v4/company.go +++ b/sdk/go/google/jobs/v4/company.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new company entity. @@ -183,6 +184,12 @@ func (i *Company) ToCompanyOutputWithContext(ctx context.Context) CompanyOutput return pulumi.ToOutputWithContext(ctx, i).(CompanyOutput) } +func (i *Company) ToOutput(ctx context.Context) pulumix.Output[*Company] { + return pulumix.Output[*Company]{ + OutputState: i.ToCompanyOutputWithContext(ctx).OutputState, + } +} + type CompanyOutput struct{ *pulumi.OutputState } func (CompanyOutput) ElementType() reflect.Type { @@ -197,6 +204,12 @@ func (o CompanyOutput) ToCompanyOutputWithContext(ctx context.Context) CompanyOu return o } +func (o CompanyOutput) ToOutput(ctx context.Context) pulumix.Output[*Company] { + return pulumix.Output[*Company]{ + OutputState: o.OutputState, + } +} + // The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com". func (o CompanyOutput) CareerSiteUri() pulumi.StringOutput { return o.ApplyT(func(v *Company) pulumi.StringOutput { return v.CareerSiteUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/jobs/v4/getCompany.go b/sdk/go/google/jobs/v4/getCompany.go index 1bca313002..4ee35f43bd 100644 --- a/sdk/go/google/jobs/v4/getCompany.go +++ b/sdk/go/google/jobs/v4/getCompany.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves specified company. @@ -96,6 +97,12 @@ func (o LookupCompanyResultOutput) ToLookupCompanyResultOutputWithContext(ctx co return o } +func (o LookupCompanyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCompanyResult] { + return pulumix.Output[LookupCompanyResult]{ + OutputState: o.OutputState, + } +} + // The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com". func (o LookupCompanyResultOutput) CareerSiteUri() pulumi.StringOutput { return o.ApplyT(func(v LookupCompanyResult) string { return v.CareerSiteUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/jobs/v4/getJob.go b/sdk/go/google/jobs/v4/getJob.go index f6599c1439..50aeba2bc3 100644 --- a/sdk/go/google/jobs/v4/getJob.go +++ b/sdk/go/google/jobs/v4/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days. @@ -130,6 +131,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // Strongly recommended for the best service experience. Location(s) where the employer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original requisition_id must be preserved, a custom field should be used for storage. It is also suggested to group the locations that close to each other in the same job for better search experience. Jobs with multiple addresses must have their addresses with the same LocationType to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a LocationType.STREET_ADDRESS and the second is a LocationType.LOCALITY.) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes. The maximum number of allowed characters is 500. func (o LookupJobResultOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupJobResult) []string { return v.Addresses }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/jobs/v4/getTenant.go b/sdk/go/google/jobs/v4/getTenant.go index 630ea8fa65..0eeccda2ae 100644 --- a/sdk/go/google/jobs/v4/getTenant.go +++ b/sdk/go/google/jobs/v4/getTenant.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves specified tenant. @@ -70,6 +71,12 @@ func (o LookupTenantResultOutput) ToLookupTenantResultOutputWithContext(ctx cont return o } +func (o LookupTenantResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTenantResult] { + return pulumix.Output[LookupTenantResult]{ + OutputState: o.OutputState, + } +} + // Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255. func (o LookupTenantResultOutput) ExternalId() pulumi.StringOutput { return o.ApplyT(func(v LookupTenantResult) string { return v.ExternalId }).(pulumi.StringOutput) diff --git a/sdk/go/google/jobs/v4/job.go b/sdk/go/google/jobs/v4/job.go index 791c267f21..6455581f37 100644 --- a/sdk/go/google/jobs/v4/job.go +++ b/sdk/go/google/jobs/v4/job.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new job. Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes. @@ -283,6 +284,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -297,6 +304,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // Strongly recommended for the best service experience. Location(s) where the employer is looking to hire for this job posting. Specifying the full street address(es) of the hiring location enables better API results, especially job searches by commute time. At most 50 locations are allowed for best search performance. If a job has more locations, it is suggested to split it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as multiple jobs with the same company, language_code and requisition_id are not allowed. If the original requisition_id must be preserved, a custom field should be used for storage. It is also suggested to group the locations that close to each other in the same job for better search experience. Jobs with multiple addresses must have their addresses with the same LocationType to allow location filtering to work properly. (For example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may not have location filters applied correctly at search time since the first is a LocationType.STREET_ADDRESS and the second is a LocationType.LOCALITY.) If a job needs to have multiple addresses, it is suggested to split it into multiple jobs with same LocationTypes. The maximum number of allowed characters is 500. func (o JobOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v *Job) pulumi.StringArrayOutput { return v.Addresses }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/jobs/v4/pulumiEnums.go b/sdk/go/google/jobs/v4/pulumiEnums.go index f733443503..6a18db23dd 100644 --- a/sdk/go/google/jobs/v4/pulumiEnums.go +++ b/sdk/go/google/jobs/v4/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The employer's company size. @@ -92,6 +93,12 @@ func (o CompanySizeOutput) ToCompanySizePtrOutputWithContext(ctx context.Context }).(CompanySizePtrOutput) } +func (o CompanySizeOutput) ToOutput(ctx context.Context) pulumix.Output[CompanySize] { + return pulumix.Output[CompanySize]{ + OutputState: o.OutputState, + } +} + func (o CompanySizeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -127,6 +134,12 @@ func (o CompanySizePtrOutput) ToCompanySizePtrOutputWithContext(ctx context.Cont return o } +func (o CompanySizePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompanySize] { + return pulumix.Output[*CompanySize]{ + OutputState: o.OutputState, + } +} + func (o CompanySizePtrOutput) Elem() CompanySizeOutput { return o.ApplyT(func(v *CompanySize) CompanySize { if v != nil { @@ -189,6 +202,12 @@ func (in *companySizePtr) ToCompanySizePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(CompanySizePtrOutput) } +func (in *companySizePtr) ToOutput(ctx context.Context) pulumix.Output[*CompanySize] { + return pulumix.Output[*CompanySize]{ + OutputState: in.ToCompanySizePtrOutputWithContext(ctx).OutputState, + } +} + // Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED. type CompensationEntryType string @@ -273,6 +292,12 @@ func (o CompensationEntryTypeOutput) ToCompensationEntryTypePtrOutputWithContext }).(CompensationEntryTypePtrOutput) } +func (o CompensationEntryTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationEntryType] { + return pulumix.Output[CompensationEntryType]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -308,6 +333,12 @@ func (o CompensationEntryTypePtrOutput) ToCompensationEntryTypePtrOutputWithCont return o } +func (o CompensationEntryTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompensationEntryType] { + return pulumix.Output[*CompensationEntryType]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryTypePtrOutput) Elem() CompensationEntryTypeOutput { return o.ApplyT(func(v *CompensationEntryType) CompensationEntryType { if v != nil { @@ -370,6 +401,12 @@ func (in *compensationEntryTypePtr) ToCompensationEntryTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(CompensationEntryTypePtrOutput) } +func (in *compensationEntryTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CompensationEntryType] { + return pulumix.Output[*CompensationEntryType]{ + OutputState: in.ToCompensationEntryTypePtrOutputWithContext(ctx).OutputState, + } +} + // Frequency of the specified amount. Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED. type CompensationEntryUnit string @@ -452,6 +489,12 @@ func (o CompensationEntryUnitOutput) ToCompensationEntryUnitPtrOutputWithContext }).(CompensationEntryUnitPtrOutput) } +func (o CompensationEntryUnitOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationEntryUnit] { + return pulumix.Output[CompensationEntryUnit]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryUnitOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -487,6 +530,12 @@ func (o CompensationEntryUnitPtrOutput) ToCompensationEntryUnitPtrOutputWithCont return o } +func (o CompensationEntryUnitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompensationEntryUnit] { + return pulumix.Output[*CompensationEntryUnit]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryUnitPtrOutput) Elem() CompensationEntryUnitOutput { return o.ApplyT(func(v *CompensationEntryUnit) CompensationEntryUnit { if v != nil { @@ -549,6 +598,12 @@ func (in *compensationEntryUnitPtr) ToCompensationEntryUnitPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(CompensationEntryUnitPtrOutput) } +func (in *compensationEntryUnitPtr) ToOutput(ctx context.Context) pulumix.Output[*CompensationEntryUnit] { + return pulumix.Output[*CompensationEntryUnit]{ + OutputState: in.ToCompensationEntryUnitPtrOutputWithContext(ctx).OutputState, + } +} + type JobDegreeTypesItem string const ( @@ -632,6 +687,12 @@ func (o JobDegreeTypesItemOutput) ToJobDegreeTypesItemPtrOutputWithContext(ctx c }).(JobDegreeTypesItemPtrOutput) } +func (o JobDegreeTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[JobDegreeTypesItem] { + return pulumix.Output[JobDegreeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobDegreeTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -667,6 +728,12 @@ func (o JobDegreeTypesItemPtrOutput) ToJobDegreeTypesItemPtrOutputWithContext(ct return o } +func (o JobDegreeTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobDegreeTypesItem] { + return pulumix.Output[*JobDegreeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobDegreeTypesItemPtrOutput) Elem() JobDegreeTypesItemOutput { return o.ApplyT(func(v *JobDegreeTypesItem) JobDegreeTypesItem { if v != nil { @@ -729,6 +796,12 @@ func (in *jobDegreeTypesItemPtr) ToJobDegreeTypesItemPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(JobDegreeTypesItemPtrOutput) } +func (in *jobDegreeTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*JobDegreeTypesItem] { + return pulumix.Output[*JobDegreeTypesItem]{ + OutputState: in.ToJobDegreeTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // JobDegreeTypesItemArrayInput is an input type that accepts JobDegreeTypesItemArray and JobDegreeTypesItemArrayOutput values. // You can construct a concrete instance of `JobDegreeTypesItemArrayInput` via: // @@ -754,6 +827,12 @@ func (i JobDegreeTypesItemArray) ToJobDegreeTypesItemArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(JobDegreeTypesItemArrayOutput) } +func (i JobDegreeTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]JobDegreeTypesItem] { + return pulumix.Output[[]JobDegreeTypesItem]{ + OutputState: i.ToJobDegreeTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type JobDegreeTypesItemArrayOutput struct{ *pulumi.OutputState } func (JobDegreeTypesItemArrayOutput) ElementType() reflect.Type { @@ -768,6 +847,12 @@ func (o JobDegreeTypesItemArrayOutput) ToJobDegreeTypesItemArrayOutputWithContex return o } +func (o JobDegreeTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobDegreeTypesItem] { + return pulumix.Output[[]JobDegreeTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobDegreeTypesItemArrayOutput) Index(i pulumi.IntInput) JobDegreeTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobDegreeTypesItem { return vs[0].([]JobDegreeTypesItem)[vs[1].(int)] @@ -861,6 +946,12 @@ func (o JobEmploymentTypesItemOutput) ToJobEmploymentTypesItemPtrOutputWithConte }).(JobEmploymentTypesItemPtrOutput) } +func (o JobEmploymentTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[JobEmploymentTypesItem] { + return pulumix.Output[JobEmploymentTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobEmploymentTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -896,6 +987,12 @@ func (o JobEmploymentTypesItemPtrOutput) ToJobEmploymentTypesItemPtrOutputWithCo return o } +func (o JobEmploymentTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobEmploymentTypesItem] { + return pulumix.Output[*JobEmploymentTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobEmploymentTypesItemPtrOutput) Elem() JobEmploymentTypesItemOutput { return o.ApplyT(func(v *JobEmploymentTypesItem) JobEmploymentTypesItem { if v != nil { @@ -958,6 +1055,12 @@ func (in *jobEmploymentTypesItemPtr) ToJobEmploymentTypesItemPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(JobEmploymentTypesItemPtrOutput) } +func (in *jobEmploymentTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*JobEmploymentTypesItem] { + return pulumix.Output[*JobEmploymentTypesItem]{ + OutputState: in.ToJobEmploymentTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // JobEmploymentTypesItemArrayInput is an input type that accepts JobEmploymentTypesItemArray and JobEmploymentTypesItemArrayOutput values. // You can construct a concrete instance of `JobEmploymentTypesItemArrayInput` via: // @@ -983,6 +1086,12 @@ func (i JobEmploymentTypesItemArray) ToJobEmploymentTypesItemArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(JobEmploymentTypesItemArrayOutput) } +func (i JobEmploymentTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]JobEmploymentTypesItem] { + return pulumix.Output[[]JobEmploymentTypesItem]{ + OutputState: i.ToJobEmploymentTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type JobEmploymentTypesItemArrayOutput struct{ *pulumi.OutputState } func (JobEmploymentTypesItemArrayOutput) ElementType() reflect.Type { @@ -997,6 +1106,12 @@ func (o JobEmploymentTypesItemArrayOutput) ToJobEmploymentTypesItemArrayOutputWi return o } +func (o JobEmploymentTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobEmploymentTypesItem] { + return pulumix.Output[[]JobEmploymentTypesItem]{ + OutputState: o.OutputState, + } +} + func (o JobEmploymentTypesItemArrayOutput) Index(i pulumi.IntInput) JobEmploymentTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobEmploymentTypesItem { return vs[0].([]JobEmploymentTypesItem)[vs[1].(int)] @@ -1092,6 +1207,12 @@ func (o JobJobBenefitsItemOutput) ToJobJobBenefitsItemPtrOutputWithContext(ctx c }).(JobJobBenefitsItemPtrOutput) } +func (o JobJobBenefitsItemOutput) ToOutput(ctx context.Context) pulumix.Output[JobJobBenefitsItem] { + return pulumix.Output[JobJobBenefitsItem]{ + OutputState: o.OutputState, + } +} + func (o JobJobBenefitsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1127,6 +1248,12 @@ func (o JobJobBenefitsItemPtrOutput) ToJobJobBenefitsItemPtrOutputWithContext(ct return o } +func (o JobJobBenefitsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobJobBenefitsItem] { + return pulumix.Output[*JobJobBenefitsItem]{ + OutputState: o.OutputState, + } +} + func (o JobJobBenefitsItemPtrOutput) Elem() JobJobBenefitsItemOutput { return o.ApplyT(func(v *JobJobBenefitsItem) JobJobBenefitsItem { if v != nil { @@ -1189,6 +1316,12 @@ func (in *jobJobBenefitsItemPtr) ToJobJobBenefitsItemPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(JobJobBenefitsItemPtrOutput) } +func (in *jobJobBenefitsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*JobJobBenefitsItem] { + return pulumix.Output[*JobJobBenefitsItem]{ + OutputState: in.ToJobJobBenefitsItemPtrOutputWithContext(ctx).OutputState, + } +} + // JobJobBenefitsItemArrayInput is an input type that accepts JobJobBenefitsItemArray and JobJobBenefitsItemArrayOutput values. // You can construct a concrete instance of `JobJobBenefitsItemArrayInput` via: // @@ -1214,6 +1347,12 @@ func (i JobJobBenefitsItemArray) ToJobJobBenefitsItemArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(JobJobBenefitsItemArrayOutput) } +func (i JobJobBenefitsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]JobJobBenefitsItem] { + return pulumix.Output[[]JobJobBenefitsItem]{ + OutputState: i.ToJobJobBenefitsItemArrayOutputWithContext(ctx).OutputState, + } +} + type JobJobBenefitsItemArrayOutput struct{ *pulumi.OutputState } func (JobJobBenefitsItemArrayOutput) ElementType() reflect.Type { @@ -1228,6 +1367,12 @@ func (o JobJobBenefitsItemArrayOutput) ToJobJobBenefitsItemArrayOutputWithContex return o } +func (o JobJobBenefitsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JobJobBenefitsItem] { + return pulumix.Output[[]JobJobBenefitsItem]{ + OutputState: o.OutputState, + } +} + func (o JobJobBenefitsItemArrayOutput) Index(i pulumi.IntInput) JobJobBenefitsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JobJobBenefitsItem { return vs[0].([]JobJobBenefitsItem)[vs[1].(int)] @@ -1312,6 +1457,12 @@ func (o JobJobLevelOutput) ToJobJobLevelPtrOutputWithContext(ctx context.Context }).(JobJobLevelPtrOutput) } +func (o JobJobLevelOutput) ToOutput(ctx context.Context) pulumix.Output[JobJobLevel] { + return pulumix.Output[JobJobLevel]{ + OutputState: o.OutputState, + } +} + func (o JobJobLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1347,6 +1498,12 @@ func (o JobJobLevelPtrOutput) ToJobJobLevelPtrOutputWithContext(ctx context.Cont return o } +func (o JobJobLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobJobLevel] { + return pulumix.Output[*JobJobLevel]{ + OutputState: o.OutputState, + } +} + func (o JobJobLevelPtrOutput) Elem() JobJobLevelOutput { return o.ApplyT(func(v *JobJobLevel) JobJobLevel { if v != nil { @@ -1409,6 +1566,12 @@ func (in *jobJobLevelPtr) ToJobJobLevelPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(JobJobLevelPtrOutput) } +func (in *jobJobLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*JobJobLevel] { + return pulumix.Output[*JobJobLevel]{ + OutputState: in.ToJobJobLevelPtrOutputWithContext(ctx).OutputState, + } +} + // The job PostingRegion (for example, state, country) throughout which the job is available. If this field is set, a LocationFilter in a search query within the job region finds this job posting if an exact location match isn't specified. If this field is set to PostingRegion.NATION or PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as this field is strongly recommended. type JobPostingRegion string @@ -1483,6 +1646,12 @@ func (o JobPostingRegionOutput) ToJobPostingRegionPtrOutputWithContext(ctx conte }).(JobPostingRegionPtrOutput) } +func (o JobPostingRegionOutput) ToOutput(ctx context.Context) pulumix.Output[JobPostingRegion] { + return pulumix.Output[JobPostingRegion]{ + OutputState: o.OutputState, + } +} + func (o JobPostingRegionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1518,6 +1687,12 @@ func (o JobPostingRegionPtrOutput) ToJobPostingRegionPtrOutputWithContext(ctx co return o } +func (o JobPostingRegionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobPostingRegion] { + return pulumix.Output[*JobPostingRegion]{ + OutputState: o.OutputState, + } +} + func (o JobPostingRegionPtrOutput) Elem() JobPostingRegionOutput { return o.ApplyT(func(v *JobPostingRegion) JobPostingRegion { if v != nil { @@ -1580,6 +1755,12 @@ func (in *jobPostingRegionPtr) ToJobPostingRegionPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(JobPostingRegionPtrOutput) } +func (in *jobPostingRegionPtr) ToOutput(ctx context.Context) pulumix.Output[*JobPostingRegion] { + return pulumix.Output[*JobPostingRegion]{ + OutputState: in.ToJobPostingRegionPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. The job is only visible to the owner. The visibility of the job. Defaults to Visibility.ACCOUNT_ONLY if not specified. type JobVisibility string @@ -1654,6 +1835,12 @@ func (o JobVisibilityOutput) ToJobVisibilityPtrOutputWithContext(ctx context.Con }).(JobVisibilityPtrOutput) } +func (o JobVisibilityOutput) ToOutput(ctx context.Context) pulumix.Output[JobVisibility] { + return pulumix.Output[JobVisibility]{ + OutputState: o.OutputState, + } +} + func (o JobVisibilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1689,6 +1876,12 @@ func (o JobVisibilityPtrOutput) ToJobVisibilityPtrOutputWithContext(ctx context. return o } +func (o JobVisibilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobVisibility] { + return pulumix.Output[*JobVisibility]{ + OutputState: o.OutputState, + } +} + func (o JobVisibilityPtrOutput) Elem() JobVisibilityOutput { return o.ApplyT(func(v *JobVisibility) JobVisibility { if v != nil { @@ -1751,6 +1944,12 @@ func (in *jobVisibilityPtr) ToJobVisibilityPtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(JobVisibilityPtrOutput) } +func (in *jobVisibilityPtr) ToOutput(ctx context.Context) pulumix.Output[*JobVisibility] { + return pulumix.Output[*JobVisibility]{ + OutputState: in.ToJobVisibilityPtrOutputWithContext(ctx).OutputState, + } +} + // Option for job HTML content sanitization. Applied fields are: * description * applicationInfo.instruction * incentives * qualifications * responsibilities HTML tags in these fields may be stripped if sanitiazation isn't disabled. Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY. type ProcessingOptionsHtmlSanitization string @@ -1823,6 +2022,12 @@ func (o ProcessingOptionsHtmlSanitizationOutput) ToProcessingOptionsHtmlSanitiza }).(ProcessingOptionsHtmlSanitizationPtrOutput) } +func (o ProcessingOptionsHtmlSanitizationOutput) ToOutput(ctx context.Context) pulumix.Output[ProcessingOptionsHtmlSanitization] { + return pulumix.Output[ProcessingOptionsHtmlSanitization]{ + OutputState: o.OutputState, + } +} + func (o ProcessingOptionsHtmlSanitizationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1858,6 +2063,12 @@ func (o ProcessingOptionsHtmlSanitizationPtrOutput) ToProcessingOptionsHtmlSanit return o } +func (o ProcessingOptionsHtmlSanitizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProcessingOptionsHtmlSanitization] { + return pulumix.Output[*ProcessingOptionsHtmlSanitization]{ + OutputState: o.OutputState, + } +} + func (o ProcessingOptionsHtmlSanitizationPtrOutput) Elem() ProcessingOptionsHtmlSanitizationOutput { return o.ApplyT(func(v *ProcessingOptionsHtmlSanitization) ProcessingOptionsHtmlSanitization { if v != nil { @@ -1920,6 +2131,12 @@ func (in *processingOptionsHtmlSanitizationPtr) ToProcessingOptionsHtmlSanitizat return pulumi.ToOutputWithContext(ctx, in).(ProcessingOptionsHtmlSanitizationPtrOutput) } +func (in *processingOptionsHtmlSanitizationPtr) ToOutput(ctx context.Context) pulumix.Output[*ProcessingOptionsHtmlSanitization] { + return pulumix.Output[*ProcessingOptionsHtmlSanitization]{ + OutputState: in.ToProcessingOptionsHtmlSanitizationPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*CompanySizeInput)(nil)).Elem(), CompanySize("COMPANY_SIZE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*CompanySizePtrInput)(nil)).Elem(), CompanySize("COMPANY_SIZE_UNSPECIFIED")) diff --git a/sdk/go/google/jobs/v4/pulumiTypes.go b/sdk/go/google/jobs/v4/pulumiTypes.go index 1fa39e5650..8774c556b0 100644 --- a/sdk/go/google/jobs/v4/pulumiTypes.go +++ b/sdk/go/google/jobs/v4/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i ApplicationInfoArgs) ToApplicationInfoOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ApplicationInfoOutput) } +func (i ApplicationInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ApplicationInfo] { + return pulumix.Output[ApplicationInfo]{ + OutputState: i.ToApplicationInfoOutputWithContext(ctx).OutputState, + } +} + func (i ApplicationInfoArgs) ToApplicationInfoPtrOutput() ApplicationInfoPtrOutput { return i.ToApplicationInfoPtrOutputWithContext(context.Background()) } @@ -97,6 +104,12 @@ func (i *applicationInfoPtrType) ToApplicationInfoPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ApplicationInfoPtrOutput) } +func (i *applicationInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*ApplicationInfo] { + return pulumix.Output[*ApplicationInfo]{ + OutputState: i.ToApplicationInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Application related details of a job posting. type ApplicationInfoOutput struct{ *pulumi.OutputState } @@ -122,6 +135,12 @@ func (o ApplicationInfoOutput) ToApplicationInfoPtrOutputWithContext(ctx context }).(ApplicationInfoPtrOutput) } +func (o ApplicationInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationInfo] { + return pulumix.Output[ApplicationInfo]{ + OutputState: o.OutputState, + } +} + // Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters for each entry is 255. func (o ApplicationInfoOutput) Emails() pulumi.StringArrayOutput { return o.ApplyT(func(v ApplicationInfo) []string { return v.Emails }).(pulumi.StringArrayOutput) @@ -151,6 +170,12 @@ func (o ApplicationInfoPtrOutput) ToApplicationInfoPtrOutputWithContext(ctx cont return o } +func (o ApplicationInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApplicationInfo] { + return pulumix.Output[*ApplicationInfo]{ + OutputState: o.OutputState, + } +} + func (o ApplicationInfoPtrOutput) Elem() ApplicationInfoOutput { return o.ApplyT(func(v *ApplicationInfo) ApplicationInfo { if v != nil { @@ -216,6 +241,12 @@ func (o ApplicationInfoResponseOutput) ToApplicationInfoResponseOutputWithContex return o } +func (o ApplicationInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApplicationInfoResponse] { + return pulumix.Output[ApplicationInfoResponse]{ + OutputState: o.OutputState, + } +} + // Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters for each entry is 255. func (o ApplicationInfoResponseOutput) Emails() pulumi.StringArrayOutput { return o.ApplyT(func(v ApplicationInfoResponse) []string { return v.Emails }).(pulumi.StringArrayOutput) @@ -252,6 +283,12 @@ func (o CompanyDerivedInfoResponseOutput) ToCompanyDerivedInfoResponseOutputWith return o } +func (o CompanyDerivedInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompanyDerivedInfoResponse] { + return pulumix.Output[CompanyDerivedInfoResponse]{ + OutputState: o.OutputState, + } +} + // A structured headquarters location of the company, resolved from Company.headquarters_address if provided. func (o CompanyDerivedInfoResponseOutput) HeadquartersLocation() LocationResponseOutput { return o.ApplyT(func(v CompanyDerivedInfoResponse) LocationResponse { return v.HeadquartersLocation }).(LocationResponseOutput) @@ -312,6 +349,12 @@ func (i CompensationEntryArgs) ToCompensationEntryOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CompensationEntryOutput) } +func (i CompensationEntryArgs) ToOutput(ctx context.Context) pulumix.Output[CompensationEntry] { + return pulumix.Output[CompensationEntry]{ + OutputState: i.ToCompensationEntryOutputWithContext(ctx).OutputState, + } +} + // CompensationEntryArrayInput is an input type that accepts CompensationEntryArray and CompensationEntryArrayOutput values. // You can construct a concrete instance of `CompensationEntryArrayInput` via: // @@ -337,6 +380,12 @@ func (i CompensationEntryArray) ToCompensationEntryArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(CompensationEntryArrayOutput) } +func (i CompensationEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]CompensationEntry] { + return pulumix.Output[[]CompensationEntry]{ + OutputState: i.ToCompensationEntryArrayOutputWithContext(ctx).OutputState, + } +} + // A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if - it contains valid amount or range. - and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year. type CompensationEntryOutput struct{ *pulumi.OutputState } @@ -352,6 +401,12 @@ func (o CompensationEntryOutput) ToCompensationEntryOutputWithContext(ctx contex return o } +func (o CompensationEntryOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationEntry] { + return pulumix.Output[CompensationEntry]{ + OutputState: o.OutputState, + } +} + // Compensation amount. func (o CompensationEntryOutput) Amount() MoneyPtrOutput { return o.ApplyT(func(v CompensationEntry) *Money { return v.Amount }).(MoneyPtrOutput) @@ -396,6 +451,12 @@ func (o CompensationEntryArrayOutput) ToCompensationEntryArrayOutputWithContext( return o } +func (o CompensationEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CompensationEntry] { + return pulumix.Output[[]CompensationEntry]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryArrayOutput) Index(i pulumi.IntInput) CompensationEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CompensationEntry { return vs[0].([]CompensationEntry)[vs[1].(int)] @@ -433,6 +494,12 @@ func (o CompensationEntryResponseOutput) ToCompensationEntryResponseOutputWithCo return o } +func (o CompensationEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationEntryResponse] { + return pulumix.Output[CompensationEntryResponse]{ + OutputState: o.OutputState, + } +} + // Compensation amount. func (o CompensationEntryResponseOutput) Amount() MoneyResponseOutput { return o.ApplyT(func(v CompensationEntryResponse) MoneyResponse { return v.Amount }).(MoneyResponseOutput) @@ -477,6 +544,12 @@ func (o CompensationEntryResponseArrayOutput) ToCompensationEntryResponseArrayOu return o } +func (o CompensationEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CompensationEntryResponse] { + return pulumix.Output[[]CompensationEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o CompensationEntryResponseArrayOutput) Index(i pulumi.IntInput) CompensationEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CompensationEntryResponse { return vs[0].([]CompensationEntryResponse)[vs[1].(int)] @@ -518,6 +591,12 @@ func (i CompensationInfoArgs) ToCompensationInfoOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(CompensationInfoOutput) } +func (i CompensationInfoArgs) ToOutput(ctx context.Context) pulumix.Output[CompensationInfo] { + return pulumix.Output[CompensationInfo]{ + OutputState: i.ToCompensationInfoOutputWithContext(ctx).OutputState, + } +} + func (i CompensationInfoArgs) ToCompensationInfoPtrOutput() CompensationInfoPtrOutput { return i.ToCompensationInfoPtrOutputWithContext(context.Background()) } @@ -559,6 +638,12 @@ func (i *compensationInfoPtrType) ToCompensationInfoPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(CompensationInfoPtrOutput) } +func (i *compensationInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*CompensationInfo] { + return pulumix.Output[*CompensationInfo]{ + OutputState: i.ToCompensationInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Job compensation details. type CompensationInfoOutput struct{ *pulumi.OutputState } @@ -584,6 +669,12 @@ func (o CompensationInfoOutput) ToCompensationInfoPtrOutputWithContext(ctx conte }).(CompensationInfoPtrOutput) } +func (o CompensationInfoOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationInfo] { + return pulumix.Output[CompensationInfo]{ + OutputState: o.OutputState, + } +} + // Job compensation information. At most one entry can be of type CompensationInfo.CompensationType.BASE, which is referred as **base compensation entry** for the job. func (o CompensationInfoOutput) Entries() CompensationEntryArrayOutput { return o.ApplyT(func(v CompensationInfo) []CompensationEntry { return v.Entries }).(CompensationEntryArrayOutput) @@ -603,6 +694,12 @@ func (o CompensationInfoPtrOutput) ToCompensationInfoPtrOutputWithContext(ctx co return o } +func (o CompensationInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompensationInfo] { + return pulumix.Output[*CompensationInfo]{ + OutputState: o.OutputState, + } +} + func (o CompensationInfoPtrOutput) Elem() CompensationInfoOutput { return o.ApplyT(func(v *CompensationInfo) CompensationInfo { if v != nil { @@ -648,6 +745,12 @@ func (o CompensationInfoResponseOutput) ToCompensationInfoResponseOutputWithCont return o } +func (o CompensationInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationInfoResponse] { + return pulumix.Output[CompensationInfoResponse]{ + OutputState: o.OutputState, + } +} + // Annualized base compensation range. Computed as base compensation entry's CompensationEntry.amount times CompensationEntry.expected_units_per_year. See CompensationEntry for explanation on compensation annualization. func (o CompensationInfoResponseOutput) AnnualizedBaseCompensationRange() CompensationRangeResponseOutput { return o.ApplyT(func(v CompensationInfoResponse) CompensationRangeResponse { return v.AnnualizedBaseCompensationRange }).(CompensationRangeResponseOutput) @@ -702,6 +805,12 @@ func (i CompensationRangeArgs) ToCompensationRangeOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CompensationRangeOutput) } +func (i CompensationRangeArgs) ToOutput(ctx context.Context) pulumix.Output[CompensationRange] { + return pulumix.Output[CompensationRange]{ + OutputState: i.ToCompensationRangeOutputWithContext(ctx).OutputState, + } +} + func (i CompensationRangeArgs) ToCompensationRangePtrOutput() CompensationRangePtrOutput { return i.ToCompensationRangePtrOutputWithContext(context.Background()) } @@ -743,6 +852,12 @@ func (i *compensationRangePtrType) ToCompensationRangePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CompensationRangePtrOutput) } +func (i *compensationRangePtrType) ToOutput(ctx context.Context) pulumix.Output[*CompensationRange] { + return pulumix.Output[*CompensationRange]{ + OutputState: i.ToCompensationRangePtrOutputWithContext(ctx).OutputState, + } +} + // Compensation range. type CompensationRangeOutput struct{ *pulumi.OutputState } @@ -768,6 +883,12 @@ func (o CompensationRangeOutput) ToCompensationRangePtrOutputWithContext(ctx con }).(CompensationRangePtrOutput) } +func (o CompensationRangeOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationRange] { + return pulumix.Output[CompensationRange]{ + OutputState: o.OutputState, + } +} + // The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation. func (o CompensationRangeOutput) MaxCompensation() MoneyPtrOutput { return o.ApplyT(func(v CompensationRange) *Money { return v.MaxCompensation }).(MoneyPtrOutput) @@ -792,6 +913,12 @@ func (o CompensationRangePtrOutput) ToCompensationRangePtrOutputWithContext(ctx return o } +func (o CompensationRangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CompensationRange] { + return pulumix.Output[*CompensationRange]{ + OutputState: o.OutputState, + } +} + func (o CompensationRangePtrOutput) Elem() CompensationRangeOutput { return o.ApplyT(func(v *CompensationRange) CompensationRange { if v != nil { @@ -845,6 +972,12 @@ func (o CompensationRangeResponseOutput) ToCompensationRangeResponseOutputWithCo return o } +func (o CompensationRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CompensationRangeResponse] { + return pulumix.Output[CompensationRangeResponse]{ + OutputState: o.OutputState, + } +} + // The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation. func (o CompensationRangeResponseOutput) MaxCompensation() MoneyResponseOutput { return o.ApplyT(func(v CompensationRangeResponse) MoneyResponse { return v.MaxCompensation }).(MoneyResponseOutput) @@ -878,6 +1011,12 @@ func (o JobDerivedInfoResponseOutput) ToJobDerivedInfoResponseOutputWithContext( return o } +func (o JobDerivedInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobDerivedInfoResponse] { + return pulumix.Output[JobDerivedInfoResponse]{ + OutputState: o.OutputState, + } +} + // Job categories derived from Job.title and Job.description. func (o JobDerivedInfoResponseOutput) JobCategories() pulumi.StringArrayOutput { return o.ApplyT(func(v JobDerivedInfoResponse) []string { return v.JobCategories }).(pulumi.StringArrayOutput) @@ -911,6 +1050,12 @@ func (o LatLngResponseOutput) ToLatLngResponseOutputWithContext(ctx context.Cont return o } +func (o LatLngResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LatLngResponse] { + return pulumix.Output[LatLngResponse]{ + OutputState: o.OutputState, + } +} + // The latitude in degrees. It must be in the range [-90.0, +90.0]. func (o LatLngResponseOutput) Latitude() pulumi.Float64Output { return o.ApplyT(func(v LatLngResponse) float64 { return v.Latitude }).(pulumi.Float64Output) @@ -948,6 +1093,12 @@ func (o LocationResponseOutput) ToLocationResponseOutputWithContext(ctx context. return o } +func (o LocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocationResponse] { + return pulumix.Output[LocationResponse]{ + OutputState: o.OutputState, + } +} + // An object representing a latitude/longitude pair. func (o LocationResponseOutput) LatLng() LatLngResponseOutput { return o.ApplyT(func(v LocationResponse) LatLngResponse { return v.LatLng }).(LatLngResponseOutput) @@ -982,6 +1133,12 @@ func (o LocationResponseArrayOutput) ToLocationResponseArrayOutputWithContext(ct return o } +func (o LocationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocationResponse] { + return pulumix.Output[[]LocationResponse]{ + OutputState: o.OutputState, + } +} + func (o LocationResponseArrayOutput) Index(i pulumi.IntInput) LocationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocationResponse { return vs[0].([]LocationResponse)[vs[1].(int)] @@ -1031,6 +1188,12 @@ func (i MoneyArgs) ToMoneyOutputWithContext(ctx context.Context) MoneyOutput { return pulumi.ToOutputWithContext(ctx, i).(MoneyOutput) } +func (i MoneyArgs) ToOutput(ctx context.Context) pulumix.Output[Money] { + return pulumix.Output[Money]{ + OutputState: i.ToMoneyOutputWithContext(ctx).OutputState, + } +} + func (i MoneyArgs) ToMoneyPtrOutput() MoneyPtrOutput { return i.ToMoneyPtrOutputWithContext(context.Background()) } @@ -1072,6 +1235,12 @@ func (i *moneyPtrType) ToMoneyPtrOutputWithContext(ctx context.Context) MoneyPtr return pulumi.ToOutputWithContext(ctx, i).(MoneyPtrOutput) } +func (i *moneyPtrType) ToOutput(ctx context.Context) pulumix.Output[*Money] { + return pulumix.Output[*Money]{ + OutputState: i.ToMoneyPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an amount of money with its currency type. type MoneyOutput struct{ *pulumi.OutputState } @@ -1097,6 +1266,12 @@ func (o MoneyOutput) ToMoneyPtrOutputWithContext(ctx context.Context) MoneyPtrOu }).(MoneyPtrOutput) } +func (o MoneyOutput) ToOutput(ctx context.Context) pulumix.Output[Money] { + return pulumix.Output[Money]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o MoneyOutput) CurrencyCode() pulumi.StringPtrOutput { return o.ApplyT(func(v Money) *string { return v.CurrencyCode }).(pulumi.StringPtrOutput) @@ -1126,6 +1301,12 @@ func (o MoneyPtrOutput) ToMoneyPtrOutputWithContext(ctx context.Context) MoneyPt return o } +func (o MoneyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Money] { + return pulumix.Output[*Money]{ + OutputState: o.OutputState, + } +} + func (o MoneyPtrOutput) Elem() MoneyOutput { return o.ApplyT(func(v *Money) Money { if v != nil { @@ -1191,6 +1372,12 @@ func (o MoneyResponseOutput) ToMoneyResponseOutputWithContext(ctx context.Contex return o } +func (o MoneyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MoneyResponse] { + return pulumix.Output[MoneyResponse]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o MoneyResponseOutput) CurrencyCode() pulumi.StringOutput { return o.ApplyT(func(v MoneyResponse) string { return v.CurrencyCode }).(pulumi.StringOutput) @@ -1247,6 +1434,12 @@ func (o PostalAddressResponseOutput) ToPostalAddressResponseOutputWithContext(ct return o } +func (o PostalAddressResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostalAddressResponse] { + return pulumix.Output[PostalAddressResponse]{ + OutputState: o.OutputState, + } +} + // Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is important that the line order is clear. The order of address lines should be "envelope order" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas). func (o PostalAddressResponseOutput) AddressLines() pulumi.StringArrayOutput { return o.ApplyT(func(v PostalAddressResponse) []string { return v.AddressLines }).(pulumi.StringArrayOutput) @@ -1341,6 +1534,12 @@ func (i ProcessingOptionsArgs) ToProcessingOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ProcessingOptionsOutput) } +func (i ProcessingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ProcessingOptions] { + return pulumix.Output[ProcessingOptions]{ + OutputState: i.ToProcessingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ProcessingOptionsArgs) ToProcessingOptionsPtrOutput() ProcessingOptionsPtrOutput { return i.ToProcessingOptionsPtrOutputWithContext(context.Background()) } @@ -1382,6 +1581,12 @@ func (i *processingOptionsPtrType) ToProcessingOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ProcessingOptionsPtrOutput) } +func (i *processingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProcessingOptions] { + return pulumix.Output[*ProcessingOptions]{ + OutputState: i.ToProcessingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options for job processing. type ProcessingOptionsOutput struct{ *pulumi.OutputState } @@ -1407,6 +1612,12 @@ func (o ProcessingOptionsOutput) ToProcessingOptionsPtrOutputWithContext(ctx con }).(ProcessingOptionsPtrOutput) } +func (o ProcessingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ProcessingOptions] { + return pulumix.Output[ProcessingOptions]{ + OutputState: o.OutputState, + } +} + // If set to `true`, the service does not attempt to resolve a more precise address for the job. func (o ProcessingOptionsOutput) DisableStreetAddressResolution() pulumi.BoolPtrOutput { return o.ApplyT(func(v ProcessingOptions) *bool { return v.DisableStreetAddressResolution }).(pulumi.BoolPtrOutput) @@ -1431,6 +1642,12 @@ func (o ProcessingOptionsPtrOutput) ToProcessingOptionsPtrOutputWithContext(ctx return o } +func (o ProcessingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProcessingOptions] { + return pulumix.Output[*ProcessingOptions]{ + OutputState: o.OutputState, + } +} + func (o ProcessingOptionsPtrOutput) Elem() ProcessingOptionsOutput { return o.ApplyT(func(v *ProcessingOptions) ProcessingOptions { if v != nil { @@ -1484,6 +1701,12 @@ func (o ProcessingOptionsResponseOutput) ToProcessingOptionsResponseOutputWithCo return o } +func (o ProcessingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProcessingOptionsResponse] { + return pulumix.Output[ProcessingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // If set to `true`, the service does not attempt to resolve a more precise address for the job. func (o ProcessingOptionsResponseOutput) DisableStreetAddressResolution() pulumi.BoolOutput { return o.ApplyT(func(v ProcessingOptionsResponse) bool { return v.DisableStreetAddressResolution }).(pulumi.BoolOutput) diff --git a/sdk/go/google/jobs/v4/tenant.go b/sdk/go/google/jobs/v4/tenant.go index fcdeefb3e5..a4fc357525 100644 --- a/sdk/go/google/jobs/v4/tenant.go +++ b/sdk/go/google/jobs/v4/tenant.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new tenant entity. @@ -109,6 +110,12 @@ func (i *Tenant) ToTenantOutputWithContext(ctx context.Context) TenantOutput { return pulumi.ToOutputWithContext(ctx, i).(TenantOutput) } +func (i *Tenant) ToOutput(ctx context.Context) pulumix.Output[*Tenant] { + return pulumix.Output[*Tenant]{ + OutputState: i.ToTenantOutputWithContext(ctx).OutputState, + } +} + type TenantOutput struct{ *pulumi.OutputState } func (TenantOutput) ElementType() reflect.Type { @@ -123,6 +130,12 @@ func (o TenantOutput) ToTenantOutputWithContext(ctx context.Context) TenantOutpu return o } +func (o TenantOutput) ToOutput(ctx context.Context) pulumix.Output[*Tenant] { + return pulumix.Output[*Tenant]{ + OutputState: o.OutputState, + } +} + // Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255. func (o TenantOutput) ExternalId() pulumi.StringOutput { return o.ApplyT(func(v *Tenant) pulumi.StringOutput { return v.ExternalId }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/billingAccountBucket.go b/sdk/go/google/logging/v2/billingAccountBucket.go index 80c94d492a..99b547319b 100644 --- a/sdk/go/google/logging/v2/billingAccountBucket.go +++ b/sdk/go/google/logging/v2/billingAccountBucket.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed. @@ -162,6 +163,12 @@ func (i *BillingAccountBucket) ToBillingAccountBucketOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BillingAccountBucketOutput) } +func (i *BillingAccountBucket) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountBucket] { + return pulumix.Output[*BillingAccountBucket]{ + OutputState: i.ToBillingAccountBucketOutputWithContext(ctx).OutputState, + } +} + type BillingAccountBucketOutput struct{ *pulumi.OutputState } func (BillingAccountBucketOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o BillingAccountBucketOutput) ToBillingAccountBucketOutputWithContext(ctx return o } +func (o BillingAccountBucketOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountBucket] { + return pulumix.Output[*BillingAccountBucket]{ + OutputState: o.OutputState, + } +} + // Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. func (o BillingAccountBucketOutput) AnalyticsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *BillingAccountBucket) pulumi.BoolOutput { return v.AnalyticsEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/logging/v2/billingAccountBucketLink.go b/sdk/go/google/logging/v2/billingAccountBucketLink.go index 5afbcc8643..31b46e96a0 100644 --- a/sdk/go/google/logging/v2/billingAccountBucketLink.go +++ b/sdk/go/google/logging/v2/billingAccountBucketLink.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. @@ -141,6 +142,12 @@ func (i *BillingAccountBucketLink) ToBillingAccountBucketLinkOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BillingAccountBucketLinkOutput) } +func (i *BillingAccountBucketLink) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountBucketLink] { + return pulumix.Output[*BillingAccountBucketLink]{ + OutputState: i.ToBillingAccountBucketLinkOutputWithContext(ctx).OutputState, + } +} + type BillingAccountBucketLinkOutput struct{ *pulumi.OutputState } func (BillingAccountBucketLinkOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o BillingAccountBucketLinkOutput) ToBillingAccountBucketLinkOutputWithCont return o } +func (o BillingAccountBucketLinkOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountBucketLink] { + return pulumix.Output[*BillingAccountBucketLink]{ + OutputState: o.OutputState, + } +} + // The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. func (o BillingAccountBucketLinkOutput) BigqueryDataset() BigQueryDatasetResponseOutput { return o.ApplyT(func(v *BillingAccountBucketLink) BigQueryDatasetResponseOutput { return v.BigqueryDataset }).(BigQueryDatasetResponseOutput) diff --git a/sdk/go/google/logging/v2/billingAccountBucketView.go b/sdk/go/google/logging/v2/billingAccountBucketView.go index c765b29e89..c714cffdef 100644 --- a/sdk/go/google/logging/v2/billingAccountBucketView.go +++ b/sdk/go/google/logging/v2/billingAccountBucketView.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views. @@ -141,6 +142,12 @@ func (i *BillingAccountBucketView) ToBillingAccountBucketViewOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BillingAccountBucketViewOutput) } +func (i *BillingAccountBucketView) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountBucketView] { + return pulumix.Output[*BillingAccountBucketView]{ + OutputState: i.ToBillingAccountBucketViewOutputWithContext(ctx).OutputState, + } +} + type BillingAccountBucketViewOutput struct{ *pulumi.OutputState } func (BillingAccountBucketViewOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o BillingAccountBucketViewOutput) ToBillingAccountBucketViewOutputWithCont return o } +func (o BillingAccountBucketViewOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountBucketView] { + return pulumix.Output[*BillingAccountBucketView]{ + OutputState: o.OutputState, + } +} + func (o BillingAccountBucketViewOutput) BillingAccountId() pulumi.StringOutput { return o.ApplyT(func(v *BillingAccountBucketView) pulumi.StringOutput { return v.BillingAccountId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/logging/v2/billingAccountExclusion.go b/sdk/go/google/logging/v2/billingAccountExclusion.go index 11b7233081..7a161bf757 100644 --- a/sdk/go/google/logging/v2/billingAccountExclusion.go +++ b/sdk/go/google/logging/v2/billingAccountExclusion.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource. @@ -128,6 +129,12 @@ func (i *BillingAccountExclusion) ToBillingAccountExclusionOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BillingAccountExclusionOutput) } +func (i *BillingAccountExclusion) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountExclusion] { + return pulumix.Output[*BillingAccountExclusion]{ + OutputState: i.ToBillingAccountExclusionOutputWithContext(ctx).OutputState, + } +} + type BillingAccountExclusionOutput struct{ *pulumi.OutputState } func (BillingAccountExclusionOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o BillingAccountExclusionOutput) ToBillingAccountExclusionOutputWithContex return o } +func (o BillingAccountExclusionOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountExclusion] { + return pulumix.Output[*BillingAccountExclusion]{ + OutputState: o.OutputState, + } +} + func (o BillingAccountExclusionOutput) BillingAccountId() pulumi.StringOutput { return o.ApplyT(func(v *BillingAccountExclusion) pulumi.StringOutput { return v.BillingAccountId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/logging/v2/billingAccountSink.go b/sdk/go/google/logging/v2/billingAccountSink.go index 4a0f52b149..8fb015f0d6 100644 --- a/sdk/go/google/logging/v2/billingAccountSink.go +++ b/sdk/go/google/logging/v2/billingAccountSink.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. @@ -172,6 +173,12 @@ func (i *BillingAccountSink) ToBillingAccountSinkOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(BillingAccountSinkOutput) } +func (i *BillingAccountSink) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountSink] { + return pulumix.Output[*BillingAccountSink]{ + OutputState: i.ToBillingAccountSinkOutputWithContext(ctx).OutputState, + } +} + type BillingAccountSinkOutput struct{ *pulumi.OutputState } func (BillingAccountSinkOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o BillingAccountSinkOutput) ToBillingAccountSinkOutputWithContext(ctx cont return o } +func (o BillingAccountSinkOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountSink] { + return pulumix.Output[*BillingAccountSink]{ + OutputState: o.OutputState, + } +} + // Optional. Options that affect sinks exporting data to BigQuery. func (o BillingAccountSinkOutput) BigqueryOptions() BigQueryOptionsResponseOutput { return o.ApplyT(func(v *BillingAccountSink) BigQueryOptionsResponseOutput { return v.BigqueryOptions }).(BigQueryOptionsResponseOutput) diff --git a/sdk/go/google/logging/v2/bucket.go b/sdk/go/google/logging/v2/bucket.go index 0c19a4b72f..1e87dbe7a6 100644 --- a/sdk/go/google/logging/v2/bucket.go +++ b/sdk/go/google/logging/v2/bucket.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed. @@ -159,6 +160,12 @@ func (i *Bucket) ToBucketOutputWithContext(ctx context.Context) BucketOutput { return pulumi.ToOutputWithContext(ctx, i).(BucketOutput) } +func (i *Bucket) ToOutput(ctx context.Context) pulumix.Output[*Bucket] { + return pulumix.Output[*Bucket]{ + OutputState: i.ToBucketOutputWithContext(ctx).OutputState, + } +} + type BucketOutput struct{ *pulumi.OutputState } func (BucketOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutpu return o } +func (o BucketOutput) ToOutput(ctx context.Context) pulumix.Output[*Bucket] { + return pulumix.Output[*Bucket]{ + OutputState: o.OutputState, + } +} + // Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. func (o BucketOutput) AnalyticsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *Bucket) pulumi.BoolOutput { return v.AnalyticsEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/logging/v2/bucketView.go b/sdk/go/google/logging/v2/bucketView.go index 57974fc8f6..13b6bdcbfd 100644 --- a/sdk/go/google/logging/v2/bucketView.go +++ b/sdk/go/google/logging/v2/bucketView.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views. @@ -137,6 +138,12 @@ func (i *BucketView) ToBucketViewOutputWithContext(ctx context.Context) BucketVi return pulumi.ToOutputWithContext(ctx, i).(BucketViewOutput) } +func (i *BucketView) ToOutput(ctx context.Context) pulumix.Output[*BucketView] { + return pulumix.Output[*BucketView]{ + OutputState: i.ToBucketViewOutputWithContext(ctx).OutputState, + } +} + type BucketViewOutput struct{ *pulumi.OutputState } func (BucketViewOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o BucketViewOutput) ToBucketViewOutputWithContext(ctx context.Context) Buc return o } +func (o BucketViewOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketView] { + return pulumix.Output[*BucketView]{ + OutputState: o.OutputState, + } +} + func (o BucketViewOutput) BucketId() pulumi.StringOutput { return o.ApplyT(func(v *BucketView) pulumi.StringOutput { return v.BucketId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/logging/v2/exclusion.go b/sdk/go/google/logging/v2/exclusion.go index d980e05e9e..0523da40c7 100644 --- a/sdk/go/google/logging/v2/exclusion.go +++ b/sdk/go/google/logging/v2/exclusion.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource. @@ -125,6 +126,12 @@ func (i *Exclusion) ToExclusionOutputWithContext(ctx context.Context) ExclusionO return pulumi.ToOutputWithContext(ctx, i).(ExclusionOutput) } +func (i *Exclusion) ToOutput(ctx context.Context) pulumix.Output[*Exclusion] { + return pulumix.Output[*Exclusion]{ + OutputState: i.ToExclusionOutputWithContext(ctx).OutputState, + } +} + type ExclusionOutput struct{ *pulumi.OutputState } func (ExclusionOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o ExclusionOutput) ToExclusionOutputWithContext(ctx context.Context) Exclu return o } +func (o ExclusionOutput) ToOutput(ctx context.Context) pulumix.Output[*Exclusion] { + return pulumix.Output[*Exclusion]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the exclusion.This field may not be present for older exclusions. func (o ExclusionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Exclusion) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/folderBucket.go b/sdk/go/google/logging/v2/folderBucket.go index 2913c92f06..c49310807d 100644 --- a/sdk/go/google/logging/v2/folderBucket.go +++ b/sdk/go/google/logging/v2/folderBucket.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed. @@ -162,6 +163,12 @@ func (i *FolderBucket) ToFolderBucketOutputWithContext(ctx context.Context) Fold return pulumi.ToOutputWithContext(ctx, i).(FolderBucketOutput) } +func (i *FolderBucket) ToOutput(ctx context.Context) pulumix.Output[*FolderBucket] { + return pulumix.Output[*FolderBucket]{ + OutputState: i.ToFolderBucketOutputWithContext(ctx).OutputState, + } +} + type FolderBucketOutput struct{ *pulumi.OutputState } func (FolderBucketOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o FolderBucketOutput) ToFolderBucketOutputWithContext(ctx context.Context) return o } +func (o FolderBucketOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderBucket] { + return pulumix.Output[*FolderBucket]{ + OutputState: o.OutputState, + } +} + // Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. func (o FolderBucketOutput) AnalyticsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *FolderBucket) pulumi.BoolOutput { return v.AnalyticsEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/logging/v2/folderBucketLink.go b/sdk/go/google/logging/v2/folderBucketLink.go index 5967bb1eaa..ee2b43441c 100644 --- a/sdk/go/google/logging/v2/folderBucketLink.go +++ b/sdk/go/google/logging/v2/folderBucketLink.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. @@ -141,6 +142,12 @@ func (i *FolderBucketLink) ToFolderBucketLinkOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FolderBucketLinkOutput) } +func (i *FolderBucketLink) ToOutput(ctx context.Context) pulumix.Output[*FolderBucketLink] { + return pulumix.Output[*FolderBucketLink]{ + OutputState: i.ToFolderBucketLinkOutputWithContext(ctx).OutputState, + } +} + type FolderBucketLinkOutput struct{ *pulumi.OutputState } func (FolderBucketLinkOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o FolderBucketLinkOutput) ToFolderBucketLinkOutputWithContext(ctx context. return o } +func (o FolderBucketLinkOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderBucketLink] { + return pulumix.Output[*FolderBucketLink]{ + OutputState: o.OutputState, + } +} + // The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. func (o FolderBucketLinkOutput) BigqueryDataset() BigQueryDatasetResponseOutput { return o.ApplyT(func(v *FolderBucketLink) BigQueryDatasetResponseOutput { return v.BigqueryDataset }).(BigQueryDatasetResponseOutput) diff --git a/sdk/go/google/logging/v2/folderBucketView.go b/sdk/go/google/logging/v2/folderBucketView.go index ccd74d861c..e65cacf977 100644 --- a/sdk/go/google/logging/v2/folderBucketView.go +++ b/sdk/go/google/logging/v2/folderBucketView.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views. @@ -141,6 +142,12 @@ func (i *FolderBucketView) ToFolderBucketViewOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(FolderBucketViewOutput) } +func (i *FolderBucketView) ToOutput(ctx context.Context) pulumix.Output[*FolderBucketView] { + return pulumix.Output[*FolderBucketView]{ + OutputState: i.ToFolderBucketViewOutputWithContext(ctx).OutputState, + } +} + type FolderBucketViewOutput struct{ *pulumi.OutputState } func (FolderBucketViewOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o FolderBucketViewOutput) ToFolderBucketViewOutputWithContext(ctx context. return o } +func (o FolderBucketViewOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderBucketView] { + return pulumix.Output[*FolderBucketView]{ + OutputState: o.OutputState, + } +} + func (o FolderBucketViewOutput) BucketId() pulumi.StringOutput { return o.ApplyT(func(v *FolderBucketView) pulumi.StringOutput { return v.BucketId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/logging/v2/folderExclusion.go b/sdk/go/google/logging/v2/folderExclusion.go index 7f9d78a10e..a181b5b7d7 100644 --- a/sdk/go/google/logging/v2/folderExclusion.go +++ b/sdk/go/google/logging/v2/folderExclusion.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource. @@ -128,6 +129,12 @@ func (i *FolderExclusion) ToFolderExclusionOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(FolderExclusionOutput) } +func (i *FolderExclusion) ToOutput(ctx context.Context) pulumix.Output[*FolderExclusion] { + return pulumix.Output[*FolderExclusion]{ + OutputState: i.ToFolderExclusionOutputWithContext(ctx).OutputState, + } +} + type FolderExclusionOutput struct{ *pulumi.OutputState } func (FolderExclusionOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o FolderExclusionOutput) ToFolderExclusionOutputWithContext(ctx context.Co return o } +func (o FolderExclusionOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderExclusion] { + return pulumix.Output[*FolderExclusion]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the exclusion.This field may not be present for older exclusions. func (o FolderExclusionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *FolderExclusion) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/folderSink.go b/sdk/go/google/logging/v2/folderSink.go index 94cd0a9a30..2f4ca69591 100644 --- a/sdk/go/google/logging/v2/folderSink.go +++ b/sdk/go/google/logging/v2/folderSink.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. @@ -172,6 +173,12 @@ func (i *FolderSink) ToFolderSinkOutputWithContext(ctx context.Context) FolderSi return pulumi.ToOutputWithContext(ctx, i).(FolderSinkOutput) } +func (i *FolderSink) ToOutput(ctx context.Context) pulumix.Output[*FolderSink] { + return pulumix.Output[*FolderSink]{ + OutputState: i.ToFolderSinkOutputWithContext(ctx).OutputState, + } +} + type FolderSinkOutput struct{ *pulumi.OutputState } func (FolderSinkOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o FolderSinkOutput) ToFolderSinkOutputWithContext(ctx context.Context) Fol return o } +func (o FolderSinkOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderSink] { + return pulumix.Output[*FolderSink]{ + OutputState: o.OutputState, + } +} + // Optional. Options that affect sinks exporting data to BigQuery. func (o FolderSinkOutput) BigqueryOptions() BigQueryOptionsResponseOutput { return o.ApplyT(func(v *FolderSink) BigQueryOptionsResponseOutput { return v.BigqueryOptions }).(BigQueryOptionsResponseOutput) diff --git a/sdk/go/google/logging/v2/getBillingAccountBucket.go b/sdk/go/google/logging/v2/getBillingAccountBucket.go index 8d731ae594..2eb6180187 100644 --- a/sdk/go/google/logging/v2/getBillingAccountBucket.go +++ b/sdk/go/google/logging/v2/getBillingAccountBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a log bucket. @@ -90,6 +91,12 @@ func (o LookupBillingAccountBucketResultOutput) ToLookupBillingAccountBucketResu return o } +func (o LookupBillingAccountBucketResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBillingAccountBucketResult] { + return pulumix.Output[LookupBillingAccountBucketResult]{ + OutputState: o.OutputState, + } +} + // Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. func (o LookupBillingAccountBucketResultOutput) AnalyticsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupBillingAccountBucketResult) bool { return v.AnalyticsEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/logging/v2/getBillingAccountBucketLink.go b/sdk/go/google/logging/v2/getBillingAccountBucketLink.go index aaf1792873..c7b575b5df 100644 --- a/sdk/go/google/logging/v2/getBillingAccountBucketLink.go +++ b/sdk/go/google/logging/v2/getBillingAccountBucketLink.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a link. @@ -80,6 +81,12 @@ func (o LookupBillingAccountBucketLinkResultOutput) ToLookupBillingAccountBucket return o } +func (o LookupBillingAccountBucketLinkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBillingAccountBucketLinkResult] { + return pulumix.Output[LookupBillingAccountBucketLinkResult]{ + OutputState: o.OutputState, + } +} + // The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. func (o LookupBillingAccountBucketLinkResultOutput) BigqueryDataset() BigQueryDatasetResponseOutput { return o.ApplyT(func(v LookupBillingAccountBucketLinkResult) BigQueryDatasetResponse { return v.BigqueryDataset }).(BigQueryDatasetResponseOutput) diff --git a/sdk/go/google/logging/v2/getBillingAccountBucketView.go b/sdk/go/google/logging/v2/getBillingAccountBucketView.go index c56d01fb0d..65a1bb4d89 100644 --- a/sdk/go/google/logging/v2/getBillingAccountBucketView.go +++ b/sdk/go/google/logging/v2/getBillingAccountBucketView.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a view on a log bucket.. @@ -80,6 +81,12 @@ func (o LookupBillingAccountBucketViewResultOutput) ToLookupBillingAccountBucket return o } +func (o LookupBillingAccountBucketViewResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBillingAccountBucketViewResult] { + return pulumix.Output[LookupBillingAccountBucketViewResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the view. func (o LookupBillingAccountBucketViewResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBillingAccountBucketViewResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/getBillingAccountExclusion.go b/sdk/go/google/logging/v2/getBillingAccountExclusion.go index e8e623b6de..80fd5be8aa 100644 --- a/sdk/go/google/logging/v2/getBillingAccountExclusion.go +++ b/sdk/go/google/logging/v2/getBillingAccountExclusion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the description of an exclusion in the _Default sink. @@ -78,6 +79,12 @@ func (o LookupBillingAccountExclusionResultOutput) ToLookupBillingAccountExclusi return o } +func (o LookupBillingAccountExclusionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBillingAccountExclusionResult] { + return pulumix.Output[LookupBillingAccountExclusionResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the exclusion.This field may not be present for older exclusions. func (o LookupBillingAccountExclusionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBillingAccountExclusionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/getBillingAccountSink.go b/sdk/go/google/logging/v2/getBillingAccountSink.go index 694a18c6d0..9e02a847c2 100644 --- a/sdk/go/google/logging/v2/getBillingAccountSink.go +++ b/sdk/go/google/logging/v2/getBillingAccountSink.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a sink. @@ -92,6 +93,12 @@ func (o LookupBillingAccountSinkResultOutput) ToLookupBillingAccountSinkResultOu return o } +func (o LookupBillingAccountSinkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBillingAccountSinkResult] { + return pulumix.Output[LookupBillingAccountSinkResult]{ + OutputState: o.OutputState, + } +} + // Optional. Options that affect sinks exporting data to BigQuery. func (o LookupBillingAccountSinkResultOutput) BigqueryOptions() BigQueryOptionsResponseOutput { return o.ApplyT(func(v LookupBillingAccountSinkResult) BigQueryOptionsResponse { return v.BigqueryOptions }).(BigQueryOptionsResponseOutput) diff --git a/sdk/go/google/logging/v2/getBucket.go b/sdk/go/google/logging/v2/getBucket.go index 0652d2b20f..a182fb5be1 100644 --- a/sdk/go/google/logging/v2/getBucket.go +++ b/sdk/go/google/logging/v2/getBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a log bucket. @@ -90,6 +91,12 @@ func (o LookupBucketResultOutput) ToLookupBucketResultOutputWithContext(ctx cont return o } +func (o LookupBucketResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBucketResult] { + return pulumix.Output[LookupBucketResult]{ + OutputState: o.OutputState, + } +} + // Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. func (o LookupBucketResultOutput) AnalyticsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupBucketResult) bool { return v.AnalyticsEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/logging/v2/getBucketView.go b/sdk/go/google/logging/v2/getBucketView.go index c4659af1f7..12faddb10a 100644 --- a/sdk/go/google/logging/v2/getBucketView.go +++ b/sdk/go/google/logging/v2/getBucketView.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a view on a log bucket.. @@ -80,6 +81,12 @@ func (o LookupBucketViewResultOutput) ToLookupBucketViewResultOutputWithContext( return o } +func (o LookupBucketViewResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBucketViewResult] { + return pulumix.Output[LookupBucketViewResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the view. func (o LookupBucketViewResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBucketViewResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/getExclusion.go b/sdk/go/google/logging/v2/getExclusion.go index b26bad2edf..010b4b9425 100644 --- a/sdk/go/google/logging/v2/getExclusion.go +++ b/sdk/go/google/logging/v2/getExclusion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the description of an exclusion in the _Default sink. @@ -78,6 +79,12 @@ func (o LookupExclusionResultOutput) ToLookupExclusionResultOutputWithContext(ct return o } +func (o LookupExclusionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExclusionResult] { + return pulumix.Output[LookupExclusionResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the exclusion.This field may not be present for older exclusions. func (o LookupExclusionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupExclusionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/getFolderBucket.go b/sdk/go/google/logging/v2/getFolderBucket.go index 8df3b66b6c..585cb4ac69 100644 --- a/sdk/go/google/logging/v2/getFolderBucket.go +++ b/sdk/go/google/logging/v2/getFolderBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a log bucket. @@ -90,6 +91,12 @@ func (o LookupFolderBucketResultOutput) ToLookupFolderBucketResultOutputWithCont return o } +func (o LookupFolderBucketResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderBucketResult] { + return pulumix.Output[LookupFolderBucketResult]{ + OutputState: o.OutputState, + } +} + // Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. func (o LookupFolderBucketResultOutput) AnalyticsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupFolderBucketResult) bool { return v.AnalyticsEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/logging/v2/getFolderBucketLink.go b/sdk/go/google/logging/v2/getFolderBucketLink.go index ef35d43d3f..589899be56 100644 --- a/sdk/go/google/logging/v2/getFolderBucketLink.go +++ b/sdk/go/google/logging/v2/getFolderBucketLink.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a link. @@ -80,6 +81,12 @@ func (o LookupFolderBucketLinkResultOutput) ToLookupFolderBucketLinkResultOutput return o } +func (o LookupFolderBucketLinkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderBucketLinkResult] { + return pulumix.Output[LookupFolderBucketLinkResult]{ + OutputState: o.OutputState, + } +} + // The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. func (o LookupFolderBucketLinkResultOutput) BigqueryDataset() BigQueryDatasetResponseOutput { return o.ApplyT(func(v LookupFolderBucketLinkResult) BigQueryDatasetResponse { return v.BigqueryDataset }).(BigQueryDatasetResponseOutput) diff --git a/sdk/go/google/logging/v2/getFolderBucketView.go b/sdk/go/google/logging/v2/getFolderBucketView.go index 8c8b8731b0..5d133f6fc7 100644 --- a/sdk/go/google/logging/v2/getFolderBucketView.go +++ b/sdk/go/google/logging/v2/getFolderBucketView.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a view on a log bucket.. @@ -80,6 +81,12 @@ func (o LookupFolderBucketViewResultOutput) ToLookupFolderBucketViewResultOutput return o } +func (o LookupFolderBucketViewResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderBucketViewResult] { + return pulumix.Output[LookupFolderBucketViewResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the view. func (o LookupFolderBucketViewResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFolderBucketViewResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/getFolderExclusion.go b/sdk/go/google/logging/v2/getFolderExclusion.go index 8b609176bb..b0ba819b21 100644 --- a/sdk/go/google/logging/v2/getFolderExclusion.go +++ b/sdk/go/google/logging/v2/getFolderExclusion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the description of an exclusion in the _Default sink. @@ -78,6 +79,12 @@ func (o LookupFolderExclusionResultOutput) ToLookupFolderExclusionResultOutputWi return o } +func (o LookupFolderExclusionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderExclusionResult] { + return pulumix.Output[LookupFolderExclusionResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the exclusion.This field may not be present for older exclusions. func (o LookupFolderExclusionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFolderExclusionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/getFolderSink.go b/sdk/go/google/logging/v2/getFolderSink.go index c57e099e24..ae6dce16fb 100644 --- a/sdk/go/google/logging/v2/getFolderSink.go +++ b/sdk/go/google/logging/v2/getFolderSink.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a sink. @@ -92,6 +93,12 @@ func (o LookupFolderSinkResultOutput) ToLookupFolderSinkResultOutputWithContext( return o } +func (o LookupFolderSinkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderSinkResult] { + return pulumix.Output[LookupFolderSinkResult]{ + OutputState: o.OutputState, + } +} + // Optional. Options that affect sinks exporting data to BigQuery. func (o LookupFolderSinkResultOutput) BigqueryOptions() BigQueryOptionsResponseOutput { return o.ApplyT(func(v LookupFolderSinkResult) BigQueryOptionsResponse { return v.BigqueryOptions }).(BigQueryOptionsResponseOutput) diff --git a/sdk/go/google/logging/v2/getLink.go b/sdk/go/google/logging/v2/getLink.go index afe8ffe54e..44184bb2dd 100644 --- a/sdk/go/google/logging/v2/getLink.go +++ b/sdk/go/google/logging/v2/getLink.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a link. @@ -80,6 +81,12 @@ func (o LookupLinkResultOutput) ToLookupLinkResultOutputWithContext(ctx context. return o } +func (o LookupLinkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupLinkResult] { + return pulumix.Output[LookupLinkResult]{ + OutputState: o.OutputState, + } +} + // The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. func (o LookupLinkResultOutput) BigqueryDataset() BigQueryDatasetResponseOutput { return o.ApplyT(func(v LookupLinkResult) BigQueryDatasetResponse { return v.BigqueryDataset }).(BigQueryDatasetResponseOutput) diff --git a/sdk/go/google/logging/v2/getMetric.go b/sdk/go/google/logging/v2/getMetric.go index ea5b3a454d..5711c48847 100644 --- a/sdk/go/google/logging/v2/getMetric.go +++ b/sdk/go/google/logging/v2/getMetric.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a logs-based metric. @@ -92,6 +93,12 @@ func (o LookupMetricResultOutput) ToLookupMetricResultOutputWithContext(ctx cont return o } +func (o LookupMetricResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMetricResult] { + return pulumix.Output[LookupMetricResult]{ + OutputState: o.OutputState, + } +} + // Optional. The resource name of the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric.For example:projects/my-project/locations/global/buckets/my-bucketIf empty, then the Log Metric is considered a non-Bucket Log Metric. func (o LookupMetricResultOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v LookupMetricResult) string { return v.BucketName }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/getOrganizationBucket.go b/sdk/go/google/logging/v2/getOrganizationBucket.go index 175f2f2886..656fa29781 100644 --- a/sdk/go/google/logging/v2/getOrganizationBucket.go +++ b/sdk/go/google/logging/v2/getOrganizationBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a log bucket. @@ -90,6 +91,12 @@ func (o LookupOrganizationBucketResultOutput) ToLookupOrganizationBucketResultOu return o } +func (o LookupOrganizationBucketResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationBucketResult] { + return pulumix.Output[LookupOrganizationBucketResult]{ + OutputState: o.OutputState, + } +} + // Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. func (o LookupOrganizationBucketResultOutput) AnalyticsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupOrganizationBucketResult) bool { return v.AnalyticsEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/logging/v2/getOrganizationBucketLink.go b/sdk/go/google/logging/v2/getOrganizationBucketLink.go index 26477ddb9f..3e63bc841f 100644 --- a/sdk/go/google/logging/v2/getOrganizationBucketLink.go +++ b/sdk/go/google/logging/v2/getOrganizationBucketLink.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a link. @@ -80,6 +81,12 @@ func (o LookupOrganizationBucketLinkResultOutput) ToLookupOrganizationBucketLink return o } +func (o LookupOrganizationBucketLinkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationBucketLinkResult] { + return pulumix.Output[LookupOrganizationBucketLinkResult]{ + OutputState: o.OutputState, + } +} + // The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. func (o LookupOrganizationBucketLinkResultOutput) BigqueryDataset() BigQueryDatasetResponseOutput { return o.ApplyT(func(v LookupOrganizationBucketLinkResult) BigQueryDatasetResponse { return v.BigqueryDataset }).(BigQueryDatasetResponseOutput) diff --git a/sdk/go/google/logging/v2/getOrganizationBucketView.go b/sdk/go/google/logging/v2/getOrganizationBucketView.go index 53ed7113b4..a01deb1cb8 100644 --- a/sdk/go/google/logging/v2/getOrganizationBucketView.go +++ b/sdk/go/google/logging/v2/getOrganizationBucketView.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a view on a log bucket.. @@ -80,6 +81,12 @@ func (o LookupOrganizationBucketViewResultOutput) ToLookupOrganizationBucketView return o } +func (o LookupOrganizationBucketViewResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationBucketViewResult] { + return pulumix.Output[LookupOrganizationBucketViewResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the view. func (o LookupOrganizationBucketViewResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationBucketViewResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/getOrganizationExclusion.go b/sdk/go/google/logging/v2/getOrganizationExclusion.go index df329c982c..265c47a601 100644 --- a/sdk/go/google/logging/v2/getOrganizationExclusion.go +++ b/sdk/go/google/logging/v2/getOrganizationExclusion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the description of an exclusion in the _Default sink. @@ -78,6 +79,12 @@ func (o LookupOrganizationExclusionResultOutput) ToLookupOrganizationExclusionRe return o } +func (o LookupOrganizationExclusionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationExclusionResult] { + return pulumix.Output[LookupOrganizationExclusionResult]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the exclusion.This field may not be present for older exclusions. func (o LookupOrganizationExclusionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationExclusionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/getOrganizationSink.go b/sdk/go/google/logging/v2/getOrganizationSink.go index c88a5cc155..a832bc7c4a 100644 --- a/sdk/go/google/logging/v2/getOrganizationSink.go +++ b/sdk/go/google/logging/v2/getOrganizationSink.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a sink. @@ -92,6 +93,12 @@ func (o LookupOrganizationSinkResultOutput) ToLookupOrganizationSinkResultOutput return o } +func (o LookupOrganizationSinkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationSinkResult] { + return pulumix.Output[LookupOrganizationSinkResult]{ + OutputState: o.OutputState, + } +} + // Optional. Options that affect sinks exporting data to BigQuery. func (o LookupOrganizationSinkResultOutput) BigqueryOptions() BigQueryOptionsResponseOutput { return o.ApplyT(func(v LookupOrganizationSinkResult) BigQueryOptionsResponse { return v.BigqueryOptions }).(BigQueryOptionsResponseOutput) diff --git a/sdk/go/google/logging/v2/getSink.go b/sdk/go/google/logging/v2/getSink.go index 5f327b306f..798b817752 100644 --- a/sdk/go/google/logging/v2/getSink.go +++ b/sdk/go/google/logging/v2/getSink.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a sink. @@ -92,6 +93,12 @@ func (o LookupSinkResultOutput) ToLookupSinkResultOutputWithContext(ctx context. return o } +func (o LookupSinkResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSinkResult] { + return pulumix.Output[LookupSinkResult]{ + OutputState: o.OutputState, + } +} + // Optional. Options that affect sinks exporting data to BigQuery. func (o LookupSinkResultOutput) BigqueryOptions() BigQueryOptionsResponseOutput { return o.ApplyT(func(v LookupSinkResult) BigQueryOptionsResponse { return v.BigqueryOptions }).(BigQueryOptionsResponseOutput) diff --git a/sdk/go/google/logging/v2/link.go b/sdk/go/google/logging/v2/link.go index 75fc29b60d..b4be0025d7 100644 --- a/sdk/go/google/logging/v2/link.go +++ b/sdk/go/google/logging/v2/link.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. @@ -137,6 +138,12 @@ func (i *Link) ToLinkOutputWithContext(ctx context.Context) LinkOutput { return pulumi.ToOutputWithContext(ctx, i).(LinkOutput) } +func (i *Link) ToOutput(ctx context.Context) pulumix.Output[*Link] { + return pulumix.Output[*Link]{ + OutputState: i.ToLinkOutputWithContext(ctx).OutputState, + } +} + type LinkOutput struct{ *pulumi.OutputState } func (LinkOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o LinkOutput) ToLinkOutputWithContext(ctx context.Context) LinkOutput { return o } +func (o LinkOutput) ToOutput(ctx context.Context) pulumix.Output[*Link] { + return pulumix.Output[*Link]{ + OutputState: o.OutputState, + } +} + // The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. func (o LinkOutput) BigqueryDataset() BigQueryDatasetResponseOutput { return o.ApplyT(func(v *Link) BigQueryDatasetResponseOutput { return v.BigqueryDataset }).(BigQueryDatasetResponseOutput) diff --git a/sdk/go/google/logging/v2/metric.go b/sdk/go/google/logging/v2/metric.go index 49317c1cb9..b6205f3119 100644 --- a/sdk/go/google/logging/v2/metric.go +++ b/sdk/go/google/logging/v2/metric.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a logs-based metric. @@ -167,6 +168,12 @@ func (i *Metric) ToMetricOutputWithContext(ctx context.Context) MetricOutput { return pulumi.ToOutputWithContext(ctx, i).(MetricOutput) } +func (i *Metric) ToOutput(ctx context.Context) pulumix.Output[*Metric] { + return pulumix.Output[*Metric]{ + OutputState: i.ToMetricOutputWithContext(ctx).OutputState, + } +} + type MetricOutput struct{ *pulumi.OutputState } func (MetricOutput) ElementType() reflect.Type { @@ -181,6 +188,12 @@ func (o MetricOutput) ToMetricOutputWithContext(ctx context.Context) MetricOutpu return o } +func (o MetricOutput) ToOutput(ctx context.Context) pulumix.Output[*Metric] { + return pulumix.Output[*Metric]{ + OutputState: o.OutputState, + } +} + // Optional. The resource name of the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric.For example:projects/my-project/locations/global/buckets/my-bucketIf empty, then the Log Metric is considered a non-Bucket Log Metric. func (o MetricOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v *Metric) pulumi.StringOutput { return v.BucketName }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/organizationBucket.go b/sdk/go/google/logging/v2/organizationBucket.go index 9424077d60..36458e40eb 100644 --- a/sdk/go/google/logging/v2/organizationBucket.go +++ b/sdk/go/google/logging/v2/organizationBucket.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed. @@ -162,6 +163,12 @@ func (i *OrganizationBucket) ToOrganizationBucketOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OrganizationBucketOutput) } +func (i *OrganizationBucket) ToOutput(ctx context.Context) pulumix.Output[*OrganizationBucket] { + return pulumix.Output[*OrganizationBucket]{ + OutputState: i.ToOrganizationBucketOutputWithContext(ctx).OutputState, + } +} + type OrganizationBucketOutput struct{ *pulumi.OutputState } func (OrganizationBucketOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o OrganizationBucketOutput) ToOrganizationBucketOutputWithContext(ctx cont return o } +func (o OrganizationBucketOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationBucket] { + return pulumix.Output[*OrganizationBucket]{ + OutputState: o.OutputState, + } +} + // Whether log analytics is enabled for this bucket.Once enabled, log analytics features cannot be disabled. func (o OrganizationBucketOutput) AnalyticsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *OrganizationBucket) pulumi.BoolOutput { return v.AnalyticsEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/logging/v2/organizationBucketLink.go b/sdk/go/google/logging/v2/organizationBucketLink.go index 1cc29ad013..9a30784515 100644 --- a/sdk/go/google/logging/v2/organizationBucketLink.go +++ b/sdk/go/google/logging/v2/organizationBucketLink.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. @@ -141,6 +142,12 @@ func (i *OrganizationBucketLink) ToOrganizationBucketLinkOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(OrganizationBucketLinkOutput) } +func (i *OrganizationBucketLink) ToOutput(ctx context.Context) pulumix.Output[*OrganizationBucketLink] { + return pulumix.Output[*OrganizationBucketLink]{ + OutputState: i.ToOrganizationBucketLinkOutputWithContext(ctx).OutputState, + } +} + type OrganizationBucketLinkOutput struct{ *pulumi.OutputState } func (OrganizationBucketLinkOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o OrganizationBucketLinkOutput) ToOrganizationBucketLinkOutputWithContext( return o } +func (o OrganizationBucketLinkOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationBucketLink] { + return pulumix.Output[*OrganizationBucketLink]{ + OutputState: o.OutputState, + } +} + // The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. func (o OrganizationBucketLinkOutput) BigqueryDataset() BigQueryDatasetResponseOutput { return o.ApplyT(func(v *OrganizationBucketLink) BigQueryDatasetResponseOutput { return v.BigqueryDataset }).(BigQueryDatasetResponseOutput) diff --git a/sdk/go/google/logging/v2/organizationBucketView.go b/sdk/go/google/logging/v2/organizationBucketView.go index 3637437892..2a4ccfc98d 100644 --- a/sdk/go/google/logging/v2/organizationBucketView.go +++ b/sdk/go/google/logging/v2/organizationBucketView.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views. @@ -141,6 +142,12 @@ func (i *OrganizationBucketView) ToOrganizationBucketViewOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(OrganizationBucketViewOutput) } +func (i *OrganizationBucketView) ToOutput(ctx context.Context) pulumix.Output[*OrganizationBucketView] { + return pulumix.Output[*OrganizationBucketView]{ + OutputState: i.ToOrganizationBucketViewOutputWithContext(ctx).OutputState, + } +} + type OrganizationBucketViewOutput struct{ *pulumi.OutputState } func (OrganizationBucketViewOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o OrganizationBucketViewOutput) ToOrganizationBucketViewOutputWithContext( return o } +func (o OrganizationBucketViewOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationBucketView] { + return pulumix.Output[*OrganizationBucketView]{ + OutputState: o.OutputState, + } +} + func (o OrganizationBucketViewOutput) BucketId() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationBucketView) pulumi.StringOutput { return v.BucketId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/logging/v2/organizationExclusion.go b/sdk/go/google/logging/v2/organizationExclusion.go index 1dc84ab771..1828cc576d 100644 --- a/sdk/go/google/logging/v2/organizationExclusion.go +++ b/sdk/go/google/logging/v2/organizationExclusion.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource. @@ -128,6 +129,12 @@ func (i *OrganizationExclusion) ToOrganizationExclusionOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OrganizationExclusionOutput) } +func (i *OrganizationExclusion) ToOutput(ctx context.Context) pulumix.Output[*OrganizationExclusion] { + return pulumix.Output[*OrganizationExclusion]{ + OutputState: i.ToOrganizationExclusionOutputWithContext(ctx).OutputState, + } +} + type OrganizationExclusionOutput struct{ *pulumi.OutputState } func (OrganizationExclusionOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o OrganizationExclusionOutput) ToOrganizationExclusionOutputWithContext(ct return o } +func (o OrganizationExclusionOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationExclusion] { + return pulumix.Output[*OrganizationExclusion]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the exclusion.This field may not be present for older exclusions. func (o OrganizationExclusionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationExclusion) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/organizationSink.go b/sdk/go/google/logging/v2/organizationSink.go index 6d6dfd2f5a..fec818d929 100644 --- a/sdk/go/google/logging/v2/organizationSink.go +++ b/sdk/go/google/logging/v2/organizationSink.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. @@ -172,6 +173,12 @@ func (i *OrganizationSink) ToOrganizationSinkOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(OrganizationSinkOutput) } +func (i *OrganizationSink) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSink] { + return pulumix.Output[*OrganizationSink]{ + OutputState: i.ToOrganizationSinkOutputWithContext(ctx).OutputState, + } +} + type OrganizationSinkOutput struct{ *pulumi.OutputState } func (OrganizationSinkOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o OrganizationSinkOutput) ToOrganizationSinkOutputWithContext(ctx context. return o } +func (o OrganizationSinkOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSink] { + return pulumix.Output[*OrganizationSink]{ + OutputState: o.OutputState, + } +} + // Optional. Options that affect sinks exporting data to BigQuery. func (o OrganizationSinkOutput) BigqueryOptions() BigQueryOptionsResponseOutput { return o.ApplyT(func(v *OrganizationSink) BigQueryOptionsResponseOutput { return v.BigqueryOptions }).(BigQueryOptionsResponseOutput) diff --git a/sdk/go/google/logging/v2/pulumiEnums.go b/sdk/go/google/logging/v2/pulumiEnums.go index 24a2ad4349..68c67ab9d4 100644 --- a/sdk/go/google/logging/v2/pulumiEnums.go +++ b/sdk/go/google/logging/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Deprecated. This field is unused. @@ -82,6 +83,12 @@ func (o BillingAccountSinkOutputVersionFormatOutput) ToBillingAccountSinkOutputV }).(BillingAccountSinkOutputVersionFormatPtrOutput) } +func (o BillingAccountSinkOutputVersionFormatOutput) ToOutput(ctx context.Context) pulumix.Output[BillingAccountSinkOutputVersionFormat] { + return pulumix.Output[BillingAccountSinkOutputVersionFormat]{ + OutputState: o.OutputState, + } +} + func (o BillingAccountSinkOutputVersionFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o BillingAccountSinkOutputVersionFormatPtrOutput) ToBillingAccountSinkOutp return o } +func (o BillingAccountSinkOutputVersionFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountSinkOutputVersionFormat] { + return pulumix.Output[*BillingAccountSinkOutputVersionFormat]{ + OutputState: o.OutputState, + } +} + func (o BillingAccountSinkOutputVersionFormatPtrOutput) Elem() BillingAccountSinkOutputVersionFormatOutput { return o.ApplyT(func(v *BillingAccountSinkOutputVersionFormat) BillingAccountSinkOutputVersionFormat { if v != nil { @@ -179,6 +192,12 @@ func (in *billingAccountSinkOutputVersionFormatPtr) ToBillingAccountSinkOutputVe return pulumi.ToOutputWithContext(ctx, in).(BillingAccountSinkOutputVersionFormatPtrOutput) } +func (in *billingAccountSinkOutputVersionFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*BillingAccountSinkOutputVersionFormat] { + return pulumix.Output[*BillingAccountSinkOutputVersionFormat]{ + OutputState: in.ToBillingAccountSinkOutputVersionFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. This field is unused. type FolderSinkOutputVersionFormat string @@ -251,6 +270,12 @@ func (o FolderSinkOutputVersionFormatOutput) ToFolderSinkOutputVersionFormatPtrO }).(FolderSinkOutputVersionFormatPtrOutput) } +func (o FolderSinkOutputVersionFormatOutput) ToOutput(ctx context.Context) pulumix.Output[FolderSinkOutputVersionFormat] { + return pulumix.Output[FolderSinkOutputVersionFormat]{ + OutputState: o.OutputState, + } +} + func (o FolderSinkOutputVersionFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o FolderSinkOutputVersionFormatPtrOutput) ToFolderSinkOutputVersionFormatP return o } +func (o FolderSinkOutputVersionFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderSinkOutputVersionFormat] { + return pulumix.Output[*FolderSinkOutputVersionFormat]{ + OutputState: o.OutputState, + } +} + func (o FolderSinkOutputVersionFormatPtrOutput) Elem() FolderSinkOutputVersionFormatOutput { return o.ApplyT(func(v *FolderSinkOutputVersionFormat) FolderSinkOutputVersionFormat { if v != nil { @@ -348,6 +379,12 @@ func (in *folderSinkOutputVersionFormatPtr) ToFolderSinkOutputVersionFormatPtrOu return pulumi.ToOutputWithContext(ctx, in).(FolderSinkOutputVersionFormatPtrOutput) } +func (in *folderSinkOutputVersionFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*FolderSinkOutputVersionFormat] { + return pulumix.Output[*FolderSinkOutputVersionFormat]{ + OutputState: in.ToFolderSinkOutputVersionFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of data in this index. type IndexConfigType string @@ -420,6 +457,12 @@ func (o IndexConfigTypeOutput) ToIndexConfigTypePtrOutputWithContext(ctx context }).(IndexConfigTypePtrOutput) } +func (o IndexConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[IndexConfigType] { + return pulumix.Output[IndexConfigType]{ + OutputState: o.OutputState, + } +} + func (o IndexConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o IndexConfigTypePtrOutput) ToIndexConfigTypePtrOutputWithContext(ctx cont return o } +func (o IndexConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IndexConfigType] { + return pulumix.Output[*IndexConfigType]{ + OutputState: o.OutputState, + } +} + func (o IndexConfigTypePtrOutput) Elem() IndexConfigTypeOutput { return o.ApplyT(func(v *IndexConfigType) IndexConfigType { if v != nil { @@ -517,6 +566,12 @@ func (in *indexConfigTypePtr) ToIndexConfigTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(IndexConfigTypePtrOutput) } +func (in *indexConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*IndexConfigType] { + return pulumix.Output[*IndexConfigType]{ + OutputState: in.ToIndexConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of data that can be assigned to the label. type LabelDescriptorValueType string @@ -589,6 +644,12 @@ func (o LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypePtrOutputWithC }).(LabelDescriptorValueTypePtrOutput) } +func (o LabelDescriptorValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptorValueType] { + return pulumix.Output[LabelDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorValueTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -624,6 +685,12 @@ func (o LabelDescriptorValueTypePtrOutput) ToLabelDescriptorValueTypePtrOutputWi return o } +func (o LabelDescriptorValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LabelDescriptorValueType] { + return pulumix.Output[*LabelDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorValueTypePtrOutput) Elem() LabelDescriptorValueTypeOutput { return o.ApplyT(func(v *LabelDescriptorValueType) LabelDescriptorValueType { if v != nil { @@ -686,6 +753,12 @@ func (in *labelDescriptorValueTypePtr) ToLabelDescriptorValueTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(LabelDescriptorValueTypePtrOutput) } +func (in *labelDescriptorValueTypePtr) ToOutput(ctx context.Context) pulumix.Output[*LabelDescriptorValueType] { + return pulumix.Output[*LabelDescriptorValueType]{ + OutputState: in.ToLabelDescriptorValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The launch stage of the metric definition. type MetricDescriptorLaunchStage string @@ -768,6 +841,12 @@ func (o MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStagePtrOutpu }).(MetricDescriptorLaunchStagePtrOutput) } +func (o MetricDescriptorLaunchStageOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorLaunchStage] { + return pulumix.Output[MetricDescriptorLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorLaunchStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -803,6 +882,12 @@ func (o MetricDescriptorLaunchStagePtrOutput) ToMetricDescriptorLaunchStagePtrOu return o } +func (o MetricDescriptorLaunchStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorLaunchStage] { + return pulumix.Output[*MetricDescriptorLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorLaunchStagePtrOutput) Elem() MetricDescriptorLaunchStageOutput { return o.ApplyT(func(v *MetricDescriptorLaunchStage) MetricDescriptorLaunchStage { if v != nil { @@ -865,6 +950,12 @@ func (in *metricDescriptorLaunchStagePtr) ToMetricDescriptorLaunchStagePtrOutput return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorLaunchStagePtrOutput) } +func (in *metricDescriptorLaunchStagePtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorLaunchStage] { + return pulumix.Output[*MetricDescriptorLaunchStage]{ + OutputState: in.ToMetricDescriptorLaunchStagePtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. Must use the MetricDescriptor.launch_stage instead. type MetricDescriptorMetadataLaunchStage string @@ -947,6 +1038,12 @@ func (o MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLau }).(MetricDescriptorMetadataLaunchStagePtrOutput) } +func (o MetricDescriptorMetadataLaunchStageOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadataLaunchStage] { + return pulumix.Output[MetricDescriptorMetadataLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetadataLaunchStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -982,6 +1079,12 @@ func (o MetricDescriptorMetadataLaunchStagePtrOutput) ToMetricDescriptorMetadata return o } +func (o MetricDescriptorMetadataLaunchStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadataLaunchStage] { + return pulumix.Output[*MetricDescriptorMetadataLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetadataLaunchStagePtrOutput) Elem() MetricDescriptorMetadataLaunchStageOutput { return o.ApplyT(func(v *MetricDescriptorMetadataLaunchStage) MetricDescriptorMetadataLaunchStage { if v != nil { @@ -1044,6 +1147,12 @@ func (in *metricDescriptorMetadataLaunchStagePtr) ToMetricDescriptorMetadataLaun return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorMetadataLaunchStagePtrOutput) } +func (in *metricDescriptorMetadataLaunchStagePtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadataLaunchStage] { + return pulumix.Output[*MetricDescriptorMetadataLaunchStage]{ + OutputState: in.ToMetricDescriptorMetadataLaunchStagePtrOutputWithContext(ctx).OutputState, + } +} + // Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported. type MetricDescriptorMetricKind string @@ -1118,6 +1227,12 @@ func (o MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindPtrOutputW }).(MetricDescriptorMetricKindPtrOutput) } +func (o MetricDescriptorMetricKindOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetricKind] { + return pulumix.Output[MetricDescriptorMetricKind]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetricKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1153,6 +1268,12 @@ func (o MetricDescriptorMetricKindPtrOutput) ToMetricDescriptorMetricKindPtrOutp return o } +func (o MetricDescriptorMetricKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetricKind] { + return pulumix.Output[*MetricDescriptorMetricKind]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetricKindPtrOutput) Elem() MetricDescriptorMetricKindOutput { return o.ApplyT(func(v *MetricDescriptorMetricKind) MetricDescriptorMetricKind { if v != nil { @@ -1215,6 +1336,12 @@ func (in *metricDescriptorMetricKindPtr) ToMetricDescriptorMetricKindPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorMetricKindPtrOutput) } +func (in *metricDescriptorMetricKindPtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetricKind] { + return pulumix.Output[*MetricDescriptorMetricKind]{ + OutputState: in.ToMetricDescriptorMetricKindPtrOutputWithContext(ctx).OutputState, + } +} + // Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported. type MetricDescriptorValueType string @@ -1295,6 +1422,12 @@ func (o MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypePtrOutputWit }).(MetricDescriptorValueTypePtrOutput) } +func (o MetricDescriptorValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorValueType] { + return pulumix.Output[MetricDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorValueTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1330,6 +1463,12 @@ func (o MetricDescriptorValueTypePtrOutput) ToMetricDescriptorValueTypePtrOutput return o } +func (o MetricDescriptorValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorValueType] { + return pulumix.Output[*MetricDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorValueTypePtrOutput) Elem() MetricDescriptorValueTypeOutput { return o.ApplyT(func(v *MetricDescriptorValueType) MetricDescriptorValueType { if v != nil { @@ -1392,6 +1531,12 @@ func (in *metricDescriptorValueTypePtr) ToMetricDescriptorValueTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorValueTypePtrOutput) } +func (in *metricDescriptorValueTypePtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorValueType] { + return pulumix.Output[*MetricDescriptorValueType]{ + OutputState: in.ToMetricDescriptorValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed. type MetricVersion string @@ -1462,6 +1607,12 @@ func (o MetricVersionOutput) ToMetricVersionPtrOutputWithContext(ctx context.Con }).(MetricVersionPtrOutput) } +func (o MetricVersionOutput) ToOutput(ctx context.Context) pulumix.Output[MetricVersion] { + return pulumix.Output[MetricVersion]{ + OutputState: o.OutputState, + } +} + func (o MetricVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1497,6 +1648,12 @@ func (o MetricVersionPtrOutput) ToMetricVersionPtrOutputWithContext(ctx context. return o } +func (o MetricVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricVersion] { + return pulumix.Output[*MetricVersion]{ + OutputState: o.OutputState, + } +} + func (o MetricVersionPtrOutput) Elem() MetricVersionOutput { return o.ApplyT(func(v *MetricVersion) MetricVersion { if v != nil { @@ -1559,6 +1716,12 @@ func (in *metricVersionPtr) ToMetricVersionPtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(MetricVersionPtrOutput) } +func (in *metricVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*MetricVersion] { + return pulumix.Output[*MetricVersion]{ + OutputState: in.ToMetricVersionPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. This field is unused. type OrganizationSinkOutputVersionFormat string @@ -1631,6 +1794,12 @@ func (o OrganizationSinkOutputVersionFormatOutput) ToOrganizationSinkOutputVersi }).(OrganizationSinkOutputVersionFormatPtrOutput) } +func (o OrganizationSinkOutputVersionFormatOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationSinkOutputVersionFormat] { + return pulumix.Output[OrganizationSinkOutputVersionFormat]{ + OutputState: o.OutputState, + } +} + func (o OrganizationSinkOutputVersionFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1666,6 +1835,12 @@ func (o OrganizationSinkOutputVersionFormatPtrOutput) ToOrganizationSinkOutputVe return o } +func (o OrganizationSinkOutputVersionFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSinkOutputVersionFormat] { + return pulumix.Output[*OrganizationSinkOutputVersionFormat]{ + OutputState: o.OutputState, + } +} + func (o OrganizationSinkOutputVersionFormatPtrOutput) Elem() OrganizationSinkOutputVersionFormatOutput { return o.ApplyT(func(v *OrganizationSinkOutputVersionFormat) OrganizationSinkOutputVersionFormat { if v != nil { @@ -1728,6 +1903,12 @@ func (in *organizationSinkOutputVersionFormatPtr) ToOrganizationSinkOutputVersio return pulumi.ToOutputWithContext(ctx, in).(OrganizationSinkOutputVersionFormatPtrOutput) } +func (in *organizationSinkOutputVersionFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSinkOutputVersionFormat] { + return pulumix.Output[*OrganizationSinkOutputVersionFormat]{ + OutputState: in.ToOrganizationSinkOutputVersionFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. This field is unused. type SinkOutputVersionFormat string @@ -1800,6 +1981,12 @@ func (o SinkOutputVersionFormatOutput) ToSinkOutputVersionFormatPtrOutputWithCon }).(SinkOutputVersionFormatPtrOutput) } +func (o SinkOutputVersionFormatOutput) ToOutput(ctx context.Context) pulumix.Output[SinkOutputVersionFormat] { + return pulumix.Output[SinkOutputVersionFormat]{ + OutputState: o.OutputState, + } +} + func (o SinkOutputVersionFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1835,6 +2022,12 @@ func (o SinkOutputVersionFormatPtrOutput) ToSinkOutputVersionFormatPtrOutputWith return o } +func (o SinkOutputVersionFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SinkOutputVersionFormat] { + return pulumix.Output[*SinkOutputVersionFormat]{ + OutputState: o.OutputState, + } +} + func (o SinkOutputVersionFormatPtrOutput) Elem() SinkOutputVersionFormatOutput { return o.ApplyT(func(v *SinkOutputVersionFormat) SinkOutputVersionFormat { if v != nil { @@ -1897,6 +2090,12 @@ func (in *sinkOutputVersionFormatPtr) ToSinkOutputVersionFormatPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(SinkOutputVersionFormatPtrOutput) } +func (in *sinkOutputVersionFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*SinkOutputVersionFormat] { + return pulumix.Output[*SinkOutputVersionFormat]{ + OutputState: in.ToSinkOutputVersionFormatPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*BillingAccountSinkOutputVersionFormatInput)(nil)).Elem(), BillingAccountSinkOutputVersionFormat("VERSION_FORMAT_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*BillingAccountSinkOutputVersionFormatPtrInput)(nil)).Elem(), BillingAccountSinkOutputVersionFormat("VERSION_FORMAT_UNSPECIFIED")) diff --git a/sdk/go/google/logging/v2/pulumiTypes.go b/sdk/go/google/logging/v2/pulumiTypes.go index 66cd892f76..697cda73a5 100644 --- a/sdk/go/google/logging/v2/pulumiTypes.go +++ b/sdk/go/google/logging/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -44,6 +45,12 @@ func (i BigQueryDatasetArgs) ToBigQueryDatasetOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BigQueryDatasetOutput) } +func (i BigQueryDatasetArgs) ToOutput(ctx context.Context) pulumix.Output[BigQueryDataset] { + return pulumix.Output[BigQueryDataset]{ + OutputState: i.ToBigQueryDatasetOutputWithContext(ctx).OutputState, + } +} + func (i BigQueryDatasetArgs) ToBigQueryDatasetPtrOutput() BigQueryDatasetPtrOutput { return i.ToBigQueryDatasetPtrOutputWithContext(context.Background()) } @@ -85,6 +92,12 @@ func (i *bigQueryDatasetPtrType) ToBigQueryDatasetPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BigQueryDatasetPtrOutput) } +func (i *bigQueryDatasetPtrType) ToOutput(ctx context.Context) pulumix.Output[*BigQueryDataset] { + return pulumix.Output[*BigQueryDataset]{ + OutputState: i.ToBigQueryDatasetPtrOutputWithContext(ctx).OutputState, + } +} + // Describes a BigQuery dataset that was created by a link. type BigQueryDatasetOutput struct{ *pulumi.OutputState } @@ -110,6 +123,12 @@ func (o BigQueryDatasetOutput) ToBigQueryDatasetPtrOutputWithContext(ctx context }).(BigQueryDatasetPtrOutput) } +func (o BigQueryDatasetOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDataset] { + return pulumix.Output[BigQueryDataset]{ + OutputState: o.OutputState, + } +} + type BigQueryDatasetPtrOutput struct{ *pulumi.OutputState } func (BigQueryDatasetPtrOutput) ElementType() reflect.Type { @@ -124,6 +143,12 @@ func (o BigQueryDatasetPtrOutput) ToBigQueryDatasetPtrOutputWithContext(ctx cont return o } +func (o BigQueryDatasetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BigQueryDataset] { + return pulumix.Output[*BigQueryDataset]{ + OutputState: o.OutputState, + } +} + func (o BigQueryDatasetPtrOutput) Elem() BigQueryDatasetOutput { return o.ApplyT(func(v *BigQueryDataset) BigQueryDataset { if v != nil { @@ -155,6 +180,12 @@ func (o BigQueryDatasetResponseOutput) ToBigQueryDatasetResponseOutputWithContex return o } +func (o BigQueryDatasetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryDatasetResponse] { + return pulumix.Output[BigQueryDatasetResponse]{ + OutputState: o.OutputState, + } +} + // The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).The dataset will have a resource path of "bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID" func (o BigQueryDatasetResponseOutput) DatasetId() pulumi.StringOutput { return o.ApplyT(func(v BigQueryDatasetResponse) string { return v.DatasetId }).(pulumi.StringOutput) @@ -195,6 +226,12 @@ func (i BigQueryOptionsArgs) ToBigQueryOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BigQueryOptionsOutput) } +func (i BigQueryOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[BigQueryOptions] { + return pulumix.Output[BigQueryOptions]{ + OutputState: i.ToBigQueryOptionsOutputWithContext(ctx).OutputState, + } +} + func (i BigQueryOptionsArgs) ToBigQueryOptionsPtrOutput() BigQueryOptionsPtrOutput { return i.ToBigQueryOptionsPtrOutputWithContext(context.Background()) } @@ -236,6 +273,12 @@ func (i *bigQueryOptionsPtrType) ToBigQueryOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BigQueryOptionsPtrOutput) } +func (i *bigQueryOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BigQueryOptions] { + return pulumix.Output[*BigQueryOptions]{ + OutputState: i.ToBigQueryOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options that change functionality of a sink exporting data to BigQuery. type BigQueryOptionsOutput struct{ *pulumi.OutputState } @@ -261,6 +304,12 @@ func (o BigQueryOptionsOutput) ToBigQueryOptionsPtrOutputWithContext(ctx context }).(BigQueryOptionsPtrOutput) } +func (o BigQueryOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryOptions] { + return pulumix.Output[BigQueryOptions]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone. func (o BigQueryOptionsOutput) UsePartitionedTables() pulumi.BoolPtrOutput { return o.ApplyT(func(v BigQueryOptions) *bool { return v.UsePartitionedTables }).(pulumi.BoolPtrOutput) @@ -280,6 +329,12 @@ func (o BigQueryOptionsPtrOutput) ToBigQueryOptionsPtrOutputWithContext(ctx cont return o } +func (o BigQueryOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BigQueryOptions] { + return pulumix.Output[*BigQueryOptions]{ + OutputState: o.OutputState, + } +} + func (o BigQueryOptionsPtrOutput) Elem() BigQueryOptionsOutput { return o.ApplyT(func(v *BigQueryOptions) BigQueryOptions { if v != nil { @@ -323,6 +378,12 @@ func (o BigQueryOptionsResponseOutput) ToBigQueryOptionsResponseOutputWithContex return o } +func (o BigQueryOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryOptionsResponse] { + return pulumix.Output[BigQueryOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Whether to use BigQuery's partition tables (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and special query syntax (https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone. func (o BigQueryOptionsResponseOutput) UsePartitionedTables() pulumi.BoolOutput { return o.ApplyT(func(v BigQueryOptionsResponse) bool { return v.UsePartitionedTables }).(pulumi.BoolOutput) @@ -376,6 +437,12 @@ func (i BucketOptionsArgs) ToBucketOptionsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BucketOptionsOutput) } +func (i BucketOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[BucketOptions] { + return pulumix.Output[BucketOptions]{ + OutputState: i.ToBucketOptionsOutputWithContext(ctx).OutputState, + } +} + func (i BucketOptionsArgs) ToBucketOptionsPtrOutput() BucketOptionsPtrOutput { return i.ToBucketOptionsPtrOutputWithContext(context.Background()) } @@ -417,6 +484,12 @@ func (i *bucketOptionsPtrType) ToBucketOptionsPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(BucketOptionsPtrOutput) } +func (i *bucketOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketOptions] { + return pulumix.Output[*BucketOptions]{ + OutputState: i.ToBucketOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite. type BucketOptionsOutput struct{ *pulumi.OutputState } @@ -442,6 +515,12 @@ func (o BucketOptionsOutput) ToBucketOptionsPtrOutputWithContext(ctx context.Con }).(BucketOptionsPtrOutput) } +func (o BucketOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[BucketOptions] { + return pulumix.Output[BucketOptions]{ + OutputState: o.OutputState, + } +} + // The explicit buckets. func (o BucketOptionsOutput) ExplicitBuckets() ExplicitPtrOutput { return o.ApplyT(func(v BucketOptions) *Explicit { return v.ExplicitBuckets }).(ExplicitPtrOutput) @@ -471,6 +550,12 @@ func (o BucketOptionsPtrOutput) ToBucketOptionsPtrOutputWithContext(ctx context. return o } +func (o BucketOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketOptions] { + return pulumix.Output[*BucketOptions]{ + OutputState: o.OutputState, + } +} + func (o BucketOptionsPtrOutput) Elem() BucketOptionsOutput { return o.ApplyT(func(v *BucketOptions) BucketOptions { if v != nil { @@ -536,6 +621,12 @@ func (o BucketOptionsResponseOutput) ToBucketOptionsResponseOutputWithContext(ct return o } +func (o BucketOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketOptionsResponse] { + return pulumix.Output[BucketOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The explicit buckets. func (o BucketOptionsResponseOutput) ExplicitBuckets() ExplicitResponseOutput { return o.ApplyT(func(v BucketOptionsResponse) ExplicitResponse { return v.ExplicitBuckets }).(ExplicitResponseOutput) @@ -590,6 +681,12 @@ func (i CmekSettingsArgs) ToCmekSettingsOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CmekSettingsOutput) } +func (i CmekSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[CmekSettings] { + return pulumix.Output[CmekSettings]{ + OutputState: i.ToCmekSettingsOutputWithContext(ctx).OutputState, + } +} + func (i CmekSettingsArgs) ToCmekSettingsPtrOutput() CmekSettingsPtrOutput { return i.ToCmekSettingsPtrOutputWithContext(context.Background()) } @@ -631,6 +728,12 @@ func (i *cmekSettingsPtrType) ToCmekSettingsPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(CmekSettingsPtrOutput) } +func (i *cmekSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CmekSettings] { + return pulumix.Output[*CmekSettings]{ + OutputState: i.ToCmekSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. type CmekSettingsOutput struct{ *pulumi.OutputState } @@ -656,6 +759,12 @@ func (o CmekSettingsOutput) ToCmekSettingsPtrOutputWithContext(ctx context.Conte }).(CmekSettingsPtrOutput) } +func (o CmekSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[CmekSettings] { + return pulumix.Output[CmekSettings]{ + OutputState: o.OutputState, + } +} + // The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the required cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. func (o CmekSettingsOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v CmekSettings) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -680,6 +789,12 @@ func (o CmekSettingsPtrOutput) ToCmekSettingsPtrOutputWithContext(ctx context.Co return o } +func (o CmekSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CmekSettings] { + return pulumix.Output[*CmekSettings]{ + OutputState: o.OutputState, + } +} + func (o CmekSettingsPtrOutput) Elem() CmekSettingsOutput { return o.ApplyT(func(v *CmekSettings) CmekSettings { if v != nil { @@ -737,6 +852,12 @@ func (o CmekSettingsResponseOutput) ToCmekSettingsResponseOutputWithContext(ctx return o } +func (o CmekSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CmekSettingsResponse] { + return pulumix.Output[CmekSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The resource name for the configured Cloud KMS key.KMS key name format: "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" For example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"To enable CMEK for the Log Router, set this field to a valid kms_key_name for which the associated service account has the required cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.The Cloud KMS key used by the Log Router can be updated by changing the kms_key_name to a new valid key name or disabled by setting the key name to an empty string. Encryption operations that are in progress will be completed with the key that was in use when they started. Decryption operations will be completed using the key that was used at the time of encryption unless access to that key has been revoked.To disable CMEK for the Log Router, set this field to an empty string.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information. func (o CmekSettingsResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v CmekSettingsResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -792,6 +913,12 @@ func (i ExplicitArgs) ToExplicitOutputWithContext(ctx context.Context) ExplicitO return pulumi.ToOutputWithContext(ctx, i).(ExplicitOutput) } +func (i ExplicitArgs) ToOutput(ctx context.Context) pulumix.Output[Explicit] { + return pulumix.Output[Explicit]{ + OutputState: i.ToExplicitOutputWithContext(ctx).OutputState, + } +} + func (i ExplicitArgs) ToExplicitPtrOutput() ExplicitPtrOutput { return i.ToExplicitPtrOutputWithContext(context.Background()) } @@ -833,6 +960,12 @@ func (i *explicitPtrType) ToExplicitPtrOutputWithContext(ctx context.Context) Ex return pulumi.ToOutputWithContext(ctx, i).(ExplicitPtrOutput) } +func (i *explicitPtrType) ToOutput(ctx context.Context) pulumix.Output[*Explicit] { + return pulumix.Output[*Explicit]{ + OutputState: i.ToExplicitPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets. type ExplicitOutput struct{ *pulumi.OutputState } @@ -858,6 +991,12 @@ func (o ExplicitOutput) ToExplicitPtrOutputWithContext(ctx context.Context) Expl }).(ExplicitPtrOutput) } +func (o ExplicitOutput) ToOutput(ctx context.Context) pulumix.Output[Explicit] { + return pulumix.Output[Explicit]{ + OutputState: o.OutputState, + } +} + // The values must be monotonically increasing. func (o ExplicitOutput) Bounds() pulumi.Float64ArrayOutput { return o.ApplyT(func(v Explicit) []float64 { return v.Bounds }).(pulumi.Float64ArrayOutput) @@ -877,6 +1016,12 @@ func (o ExplicitPtrOutput) ToExplicitPtrOutputWithContext(ctx context.Context) E return o } +func (o ExplicitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Explicit] { + return pulumix.Output[*Explicit]{ + OutputState: o.OutputState, + } +} + func (o ExplicitPtrOutput) Elem() ExplicitOutput { return o.ApplyT(func(v *Explicit) Explicit { if v != nil { @@ -918,6 +1063,12 @@ func (o ExplicitResponseOutput) ToExplicitResponseOutputWithContext(ctx context. return o } +func (o ExplicitResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExplicitResponse] { + return pulumix.Output[ExplicitResponse]{ + OutputState: o.OutputState, + } +} + // The values must be monotonically increasing. func (o ExplicitResponseOutput) Bounds() pulumi.Float64ArrayOutput { return o.ApplyT(func(v ExplicitResponse) []float64 { return v.Bounds }).(pulumi.Float64ArrayOutput) @@ -966,6 +1117,12 @@ func (i ExponentialArgs) ToExponentialOutputWithContext(ctx context.Context) Exp return pulumi.ToOutputWithContext(ctx, i).(ExponentialOutput) } +func (i ExponentialArgs) ToOutput(ctx context.Context) pulumix.Output[Exponential] { + return pulumix.Output[Exponential]{ + OutputState: i.ToExponentialOutputWithContext(ctx).OutputState, + } +} + func (i ExponentialArgs) ToExponentialPtrOutput() ExponentialPtrOutput { return i.ToExponentialPtrOutputWithContext(context.Background()) } @@ -1007,6 +1164,12 @@ func (i *exponentialPtrType) ToExponentialPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ExponentialPtrOutput) } +func (i *exponentialPtrType) ToOutput(ctx context.Context) pulumix.Output[*Exponential] { + return pulumix.Output[*Exponential]{ + OutputState: i.ToExponentialPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i).Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). type ExponentialOutput struct{ *pulumi.OutputState } @@ -1032,6 +1195,12 @@ func (o ExponentialOutput) ToExponentialPtrOutputWithContext(ctx context.Context }).(ExponentialPtrOutput) } +func (o ExponentialOutput) ToOutput(ctx context.Context) pulumix.Output[Exponential] { + return pulumix.Output[Exponential]{ + OutputState: o.OutputState, + } +} + // Must be greater than 1. func (o ExponentialOutput) GrowthFactor() pulumi.Float64PtrOutput { return o.ApplyT(func(v Exponential) *float64 { return v.GrowthFactor }).(pulumi.Float64PtrOutput) @@ -1061,6 +1230,12 @@ func (o ExponentialPtrOutput) ToExponentialPtrOutputWithContext(ctx context.Cont return o } +func (o ExponentialPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Exponential] { + return pulumix.Output[*Exponential]{ + OutputState: o.OutputState, + } +} + func (o ExponentialPtrOutput) Elem() ExponentialOutput { return o.ApplyT(func(v *Exponential) Exponential { if v != nil { @@ -1126,6 +1301,12 @@ func (o ExponentialResponseOutput) ToExponentialResponseOutputWithContext(ctx co return o } +func (o ExponentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExponentialResponse] { + return pulumix.Output[ExponentialResponse]{ + OutputState: o.OutputState, + } +} + // Must be greater than 1. func (o ExponentialResponseOutput) GrowthFactor() pulumi.Float64Output { return o.ApplyT(func(v ExponentialResponse) float64 { return v.GrowthFactor }).(pulumi.Float64Output) @@ -1180,6 +1361,12 @@ func (i IndexConfigArgs) ToIndexConfigOutputWithContext(ctx context.Context) Ind return pulumi.ToOutputWithContext(ctx, i).(IndexConfigOutput) } +func (i IndexConfigArgs) ToOutput(ctx context.Context) pulumix.Output[IndexConfig] { + return pulumix.Output[IndexConfig]{ + OutputState: i.ToIndexConfigOutputWithContext(ctx).OutputState, + } +} + // IndexConfigArrayInput is an input type that accepts IndexConfigArray and IndexConfigArrayOutput values. // You can construct a concrete instance of `IndexConfigArrayInput` via: // @@ -1205,6 +1392,12 @@ func (i IndexConfigArray) ToIndexConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(IndexConfigArrayOutput) } +func (i IndexConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]IndexConfig] { + return pulumix.Output[[]IndexConfig]{ + OutputState: i.ToIndexConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for an indexed field. type IndexConfigOutput struct{ *pulumi.OutputState } @@ -1220,6 +1413,12 @@ func (o IndexConfigOutput) ToIndexConfigOutputWithContext(ctx context.Context) I return o } +func (o IndexConfigOutput) ToOutput(ctx context.Context) pulumix.Output[IndexConfig] { + return pulumix.Output[IndexConfig]{ + OutputState: o.OutputState, + } +} + // The LogEntry field path to index.Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation( https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) for details.For example: jsonPayload.request.status func (o IndexConfigOutput) FieldPath() pulumi.StringOutput { return o.ApplyT(func(v IndexConfig) string { return v.FieldPath }).(pulumi.StringOutput) @@ -1244,6 +1443,12 @@ func (o IndexConfigArrayOutput) ToIndexConfigArrayOutputWithContext(ctx context. return o } +func (o IndexConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IndexConfig] { + return pulumix.Output[[]IndexConfig]{ + OutputState: o.OutputState, + } +} + func (o IndexConfigArrayOutput) Index(i pulumi.IntInput) IndexConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IndexConfig { return vs[0].([]IndexConfig)[vs[1].(int)] @@ -1275,6 +1480,12 @@ func (o IndexConfigResponseOutput) ToIndexConfigResponseOutputWithContext(ctx co return o } +func (o IndexConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IndexConfigResponse] { + return pulumix.Output[IndexConfigResponse]{ + OutputState: o.OutputState, + } +} + // The timestamp when the index was last modified.This is used to return the timestamp, and will be ignored if supplied during update. func (o IndexConfigResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v IndexConfigResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -1304,6 +1515,12 @@ func (o IndexConfigResponseArrayOutput) ToIndexConfigResponseArrayOutputWithCont return o } +func (o IndexConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IndexConfigResponse] { + return pulumix.Output[[]IndexConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o IndexConfigResponseArrayOutput) Index(i pulumi.IntInput) IndexConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IndexConfigResponse { return vs[0].([]IndexConfigResponse)[vs[1].(int)] @@ -1353,6 +1570,12 @@ func (i LabelDescriptorArgs) ToLabelDescriptorOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(LabelDescriptorOutput) } +func (i LabelDescriptorArgs) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptor] { + return pulumix.Output[LabelDescriptor]{ + OutputState: i.ToLabelDescriptorOutputWithContext(ctx).OutputState, + } +} + // LabelDescriptorArrayInput is an input type that accepts LabelDescriptorArray and LabelDescriptorArrayOutput values. // You can construct a concrete instance of `LabelDescriptorArrayInput` via: // @@ -1378,6 +1601,12 @@ func (i LabelDescriptorArray) ToLabelDescriptorArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(LabelDescriptorArrayOutput) } +func (i LabelDescriptorArray) ToOutput(ctx context.Context) pulumix.Output[[]LabelDescriptor] { + return pulumix.Output[[]LabelDescriptor]{ + OutputState: i.ToLabelDescriptorArrayOutputWithContext(ctx).OutputState, + } +} + // A description of a label. type LabelDescriptorOutput struct{ *pulumi.OutputState } @@ -1393,6 +1622,12 @@ func (o LabelDescriptorOutput) ToLabelDescriptorOutputWithContext(ctx context.Co return o } +func (o LabelDescriptorOutput) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptor] { + return pulumix.Output[LabelDescriptor]{ + OutputState: o.OutputState, + } +} + // A human-readable description for the label. func (o LabelDescriptorOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v LabelDescriptor) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1422,6 +1657,12 @@ func (o LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutputWithContext(ctx return o } +func (o LabelDescriptorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LabelDescriptor] { + return pulumix.Output[[]LabelDescriptor]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorArrayOutput) Index(i pulumi.IntInput) LabelDescriptorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LabelDescriptor { return vs[0].([]LabelDescriptor)[vs[1].(int)] @@ -1453,6 +1694,12 @@ func (o LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutputWithContex return o } +func (o LabelDescriptorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptorResponse] { + return pulumix.Output[LabelDescriptorResponse]{ + OutputState: o.OutputState, + } +} + // A human-readable description for the label. func (o LabelDescriptorResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LabelDescriptorResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1482,6 +1729,12 @@ func (o LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutput return o } +func (o LabelDescriptorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LabelDescriptorResponse] { + return pulumix.Output[[]LabelDescriptorResponse]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorResponseArrayOutput) Index(i pulumi.IntInput) LabelDescriptorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LabelDescriptorResponse { return vs[0].([]LabelDescriptorResponse)[vs[1].(int)] @@ -1531,6 +1784,12 @@ func (i LinearArgs) ToLinearOutputWithContext(ctx context.Context) LinearOutput return pulumi.ToOutputWithContext(ctx, i).(LinearOutput) } +func (i LinearArgs) ToOutput(ctx context.Context) pulumix.Output[Linear] { + return pulumix.Output[Linear]{ + OutputState: i.ToLinearOutputWithContext(ctx).OutputState, + } +} + func (i LinearArgs) ToLinearPtrOutput() LinearPtrOutput { return i.ToLinearPtrOutputWithContext(context.Background()) } @@ -1572,6 +1831,12 @@ func (i *linearPtrType) ToLinearPtrOutputWithContext(ctx context.Context) Linear return pulumi.ToOutputWithContext(ctx, i).(LinearPtrOutput) } +func (i *linearPtrType) ToOutput(ctx context.Context) pulumix.Output[*Linear] { + return pulumix.Output[*Linear]{ + OutputState: i.ToLinearPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i).Lower bound (1 <= i < N): offset + (width * (i - 1)). type LinearOutput struct{ *pulumi.OutputState } @@ -1597,6 +1862,12 @@ func (o LinearOutput) ToLinearPtrOutputWithContext(ctx context.Context) LinearPt }).(LinearPtrOutput) } +func (o LinearOutput) ToOutput(ctx context.Context) pulumix.Output[Linear] { + return pulumix.Output[Linear]{ + OutputState: o.OutputState, + } +} + // Must be greater than 0. func (o LinearOutput) NumFiniteBuckets() pulumi.IntPtrOutput { return o.ApplyT(func(v Linear) *int { return v.NumFiniteBuckets }).(pulumi.IntPtrOutput) @@ -1626,6 +1897,12 @@ func (o LinearPtrOutput) ToLinearPtrOutputWithContext(ctx context.Context) Linea return o } +func (o LinearPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Linear] { + return pulumix.Output[*Linear]{ + OutputState: o.OutputState, + } +} + func (o LinearPtrOutput) Elem() LinearOutput { return o.ApplyT(func(v *Linear) Linear { if v != nil { @@ -1691,6 +1968,12 @@ func (o LinearResponseOutput) ToLinearResponseOutputWithContext(ctx context.Cont return o } +func (o LinearResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LinearResponse] { + return pulumix.Output[LinearResponse]{ + OutputState: o.OutputState, + } +} + // Must be greater than 0. func (o LinearResponseOutput) NumFiniteBuckets() pulumi.IntOutput { return o.ApplyT(func(v LinearResponse) int { return v.NumFiniteBuckets }).(pulumi.IntOutput) @@ -1753,6 +2036,12 @@ func (i LogExclusionArgs) ToLogExclusionOutputWithContext(ctx context.Context) L return pulumi.ToOutputWithContext(ctx, i).(LogExclusionOutput) } +func (i LogExclusionArgs) ToOutput(ctx context.Context) pulumix.Output[LogExclusion] { + return pulumix.Output[LogExclusion]{ + OutputState: i.ToLogExclusionOutputWithContext(ctx).OutputState, + } +} + // LogExclusionArrayInput is an input type that accepts LogExclusionArray and LogExclusionArrayOutput values. // You can construct a concrete instance of `LogExclusionArrayInput` via: // @@ -1778,6 +2067,12 @@ func (i LogExclusionArray) ToLogExclusionArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(LogExclusionArrayOutput) } +func (i LogExclusionArray) ToOutput(ctx context.Context) pulumix.Output[[]LogExclusion] { + return pulumix.Output[[]LogExclusion]{ + OutputState: i.ToLogExclusionArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it. type LogExclusionOutput struct{ *pulumi.OutputState } @@ -1793,6 +2088,12 @@ func (o LogExclusionOutput) ToLogExclusionOutputWithContext(ctx context.Context) return o } +func (o LogExclusionOutput) ToOutput(ctx context.Context) pulumix.Output[LogExclusion] { + return pulumix.Output[LogExclusion]{ + OutputState: o.OutputState, + } +} + // Optional. A description of this exclusion. func (o LogExclusionOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v LogExclusion) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1827,6 +2128,12 @@ func (o LogExclusionArrayOutput) ToLogExclusionArrayOutputWithContext(ctx contex return o } +func (o LogExclusionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogExclusion] { + return pulumix.Output[[]LogExclusion]{ + OutputState: o.OutputState, + } +} + func (o LogExclusionArrayOutput) Index(i pulumi.IntInput) LogExclusionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogExclusion { return vs[0].([]LogExclusion)[vs[1].(int)] @@ -1864,6 +2171,12 @@ func (o LogExclusionResponseOutput) ToLogExclusionResponseOutputWithContext(ctx return o } +func (o LogExclusionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogExclusionResponse] { + return pulumix.Output[LogExclusionResponse]{ + OutputState: o.OutputState, + } +} + // The creation timestamp of the exclusion.This field may not be present for older exclusions. func (o LogExclusionResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LogExclusionResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -1908,6 +2221,12 @@ func (o LogExclusionResponseArrayOutput) ToLogExclusionResponseArrayOutputWithCo return o } +func (o LogExclusionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogExclusionResponse] { + return pulumix.Output[[]LogExclusionResponse]{ + OutputState: o.OutputState, + } +} + func (o LogExclusionResponseArrayOutput) Index(i pulumi.IntInput) LogExclusionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogExclusionResponse { return vs[0].([]LogExclusionResponse)[vs[1].(int)] @@ -1989,6 +2308,12 @@ func (i MetricDescriptorArgs) ToMetricDescriptorOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorOutput) } +func (i MetricDescriptorArgs) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptor] { + return pulumix.Output[MetricDescriptor]{ + OutputState: i.ToMetricDescriptorOutputWithContext(ctx).OutputState, + } +} + func (i MetricDescriptorArgs) ToMetricDescriptorPtrOutput() MetricDescriptorPtrOutput { return i.ToMetricDescriptorPtrOutputWithContext(context.Background()) } @@ -2030,6 +2355,12 @@ func (i *metricDescriptorPtrType) ToMetricDescriptorPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorPtrOutput) } +func (i *metricDescriptorPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptor] { + return pulumix.Output[*MetricDescriptor]{ + OutputState: i.ToMetricDescriptorPtrOutputWithContext(ctx).OutputState, + } +} + // Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable. type MetricDescriptorOutput struct{ *pulumi.OutputState } @@ -2055,6 +2386,12 @@ func (o MetricDescriptorOutput) ToMetricDescriptorPtrOutputWithContext(ctx conte }).(MetricDescriptorPtrOutput) } +func (o MetricDescriptorOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptor] { + return pulumix.Output[MetricDescriptor]{ + OutputState: o.OutputState, + } +} + // A detailed description of the metric, which can be used in documentation. func (o MetricDescriptorOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v MetricDescriptor) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2124,6 +2461,12 @@ func (o MetricDescriptorPtrOutput) ToMetricDescriptorPtrOutputWithContext(ctx co return o } +func (o MetricDescriptorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptor] { + return pulumix.Output[*MetricDescriptor]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorPtrOutput) Elem() MetricDescriptorOutput { return o.ApplyT(func(v *MetricDescriptor) MetricDescriptor { if v != nil { @@ -2291,6 +2634,12 @@ func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorMetadataOutput) } +func (i MetricDescriptorMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadata] { + return pulumix.Output[MetricDescriptorMetadata]{ + OutputState: i.ToMetricDescriptorMetadataOutputWithContext(ctx).OutputState, + } +} + func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput { return i.ToMetricDescriptorMetadataPtrOutputWithContext(context.Background()) } @@ -2332,6 +2681,12 @@ func (i *metricDescriptorMetadataPtrType) ToMetricDescriptorMetadataPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorMetadataPtrOutput) } +func (i *metricDescriptorMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadata] { + return pulumix.Output[*MetricDescriptorMetadata]{ + OutputState: i.ToMetricDescriptorMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Additional annotations that can be used to guide the usage of a metric. type MetricDescriptorMetadataOutput struct{ *pulumi.OutputState } @@ -2357,6 +2712,12 @@ func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutputWithC }).(MetricDescriptorMetadataPtrOutput) } +func (o MetricDescriptorMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadata] { + return pulumix.Output[MetricDescriptorMetadata]{ + OutputState: o.OutputState, + } +} + // The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. func (o MetricDescriptorMetadataOutput) IngestDelay() pulumi.StringPtrOutput { return o.ApplyT(func(v MetricDescriptorMetadata) *string { return v.IngestDelay }).(pulumi.StringPtrOutput) @@ -2388,6 +2749,12 @@ func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutputWi return o } +func (o MetricDescriptorMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadata] { + return pulumix.Output[*MetricDescriptorMetadata]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetadataPtrOutput) Elem() MetricDescriptorMetadataOutput { return o.ApplyT(func(v *MetricDescriptorMetadata) MetricDescriptorMetadata { if v != nil { @@ -2457,6 +2824,12 @@ func (o MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataRespon return o } +func (o MetricDescriptorMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadataResponse] { + return pulumix.Output[MetricDescriptorMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. func (o MetricDescriptorMetadataResponseOutput) IngestDelay() pulumi.StringOutput { return o.ApplyT(func(v MetricDescriptorMetadataResponse) string { return v.IngestDelay }).(pulumi.StringOutput) @@ -2515,6 +2888,12 @@ func (o MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutputWithCont return o } +func (o MetricDescriptorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorResponse] { + return pulumix.Output[MetricDescriptorResponse]{ + OutputState: o.OutputState, + } +} + // A detailed description of the metric, which can be used in documentation. func (o MetricDescriptorResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v MetricDescriptorResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/logging/v2/sink.go b/sdk/go/google/logging/v2/sink.go index 86a14e7d02..39bd869498 100644 --- a/sdk/go/google/logging/v2/sink.go +++ b/sdk/go/google/logging/v2/sink.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink. @@ -169,6 +170,12 @@ func (i *Sink) ToSinkOutputWithContext(ctx context.Context) SinkOutput { return pulumi.ToOutputWithContext(ctx, i).(SinkOutput) } +func (i *Sink) ToOutput(ctx context.Context) pulumix.Output[*Sink] { + return pulumix.Output[*Sink]{ + OutputState: i.ToSinkOutputWithContext(ctx).OutputState, + } +} + type SinkOutput struct{ *pulumi.OutputState } func (SinkOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o SinkOutput) ToSinkOutputWithContext(ctx context.Context) SinkOutput { return o } +func (o SinkOutput) ToOutput(ctx context.Context) pulumix.Output[*Sink] { + return pulumix.Output[*Sink]{ + OutputState: o.OutputState, + } +} + // Optional. Options that affect sinks exporting data to BigQuery. func (o SinkOutput) BigqueryOptions() BigQueryOptionsResponseOutput { return o.ApplyT(func(v *Sink) BigQueryOptionsResponseOutput { return v.BigqueryOptions }).(BigQueryOptionsResponseOutput) diff --git a/sdk/go/google/managedidentities/v1/backup.go b/sdk/go/google/managedidentities/v1/backup.go index 4e3c0a54a9..bc9cb1f8b0 100644 --- a/sdk/go/google/managedidentities/v1/backup.go +++ b/sdk/go/google/managedidentities/v1/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Backup for a domain. @@ -130,6 +131,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain. func (o BackupOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *Backup) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1/domain.go b/sdk/go/google/managedidentities/v1/domain.go index bbf4286b59..4c8edea136 100644 --- a/sdk/go/google/managedidentities/v1/domain.go +++ b/sdk/go/google/managedidentities/v1/domain.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Microsoft AD domain. @@ -168,6 +169,12 @@ func (i *Domain) ToDomainOutputWithContext(ctx context.Context) DomainOutput { return pulumi.ToOutputWithContext(ctx, i).(DomainOutput) } +func (i *Domain) ToOutput(ctx context.Context) pulumix.Output[*Domain] { + return pulumix.Output[*Domain]{ + OutputState: i.ToDomainOutputWithContext(ctx).OutputState, + } +} + type DomainOutput struct{ *pulumi.OutputState } func (DomainOutput) ElementType() reflect.Type { @@ -182,6 +189,12 @@ func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutpu return o } +func (o DomainOutput) ToOutput(ctx context.Context) pulumix.Output[*Domain] { + return pulumix.Output[*Domain]{ + OutputState: o.OutputState, + } +} + // Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used. func (o DomainOutput) Admin() pulumi.StringOutput { return o.ApplyT(func(v *Domain) pulumi.StringOutput { return v.Admin }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1/domainBackupIamBinding.go b/sdk/go/google/managedidentities/v1/domainBackupIamBinding.go index 16dbf7c13d..437f4e7a36 100644 --- a/sdk/go/google/managedidentities/v1/domainBackupIamBinding.go +++ b/sdk/go/google/managedidentities/v1/domainBackupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainBackupIamBinding) ToDomainBackupIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DomainBackupIamBindingOutput) } +func (i *DomainBackupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamBinding] { + return pulumix.Output[*DomainBackupIamBinding]{ + OutputState: i.ToDomainBackupIamBindingOutputWithContext(ctx).OutputState, + } +} + type DomainBackupIamBindingOutput struct{ *pulumi.OutputState } func (DomainBackupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainBackupIamBindingOutput) ToDomainBackupIamBindingOutputWithContext( return o } +func (o DomainBackupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamBinding] { + return pulumix.Output[*DomainBackupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainBackupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainBackupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1/domainBackupIamMember.go b/sdk/go/google/managedidentities/v1/domainBackupIamMember.go index 1fff0bf54b..488fa24d70 100644 --- a/sdk/go/google/managedidentities/v1/domainBackupIamMember.go +++ b/sdk/go/google/managedidentities/v1/domainBackupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainBackupIamMember) ToDomainBackupIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DomainBackupIamMemberOutput) } +func (i *DomainBackupIamMember) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamMember] { + return pulumix.Output[*DomainBackupIamMember]{ + OutputState: i.ToDomainBackupIamMemberOutputWithContext(ctx).OutputState, + } +} + type DomainBackupIamMemberOutput struct{ *pulumi.OutputState } func (DomainBackupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainBackupIamMemberOutput) ToDomainBackupIamMemberOutputWithContext(ct return o } +func (o DomainBackupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamMember] { + return pulumix.Output[*DomainBackupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainBackupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainBackupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1/domainBackupIamPolicy.go b/sdk/go/google/managedidentities/v1/domainBackupIamPolicy.go index 33233cd97f..9b82796f04 100644 --- a/sdk/go/google/managedidentities/v1/domainBackupIamPolicy.go +++ b/sdk/go/google/managedidentities/v1/domainBackupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -128,6 +129,12 @@ func (i *DomainBackupIamPolicy) ToDomainBackupIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DomainBackupIamPolicyOutput) } +func (i *DomainBackupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamPolicy] { + return pulumix.Output[*DomainBackupIamPolicy]{ + OutputState: i.ToDomainBackupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DomainBackupIamPolicyOutput struct{ *pulumi.OutputState } func (DomainBackupIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o DomainBackupIamPolicyOutput) ToDomainBackupIamPolicyOutputWithContext(ct return o } +func (o DomainBackupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamPolicy] { + return pulumix.Output[*DomainBackupIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o DomainBackupIamPolicyOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *DomainBackupIamPolicy) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/managedidentities/v1/domainIamBinding.go b/sdk/go/google/managedidentities/v1/domainIamBinding.go index b04085419e..371065fa27 100644 --- a/sdk/go/google/managedidentities/v1/domainIamBinding.go +++ b/sdk/go/google/managedidentities/v1/domainIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainIamBinding) ToDomainIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DomainIamBindingOutput) } +func (i *DomainIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DomainIamBinding] { + return pulumix.Output[*DomainIamBinding]{ + OutputState: i.ToDomainIamBindingOutputWithContext(ctx).OutputState, + } +} + type DomainIamBindingOutput struct{ *pulumi.OutputState } func (DomainIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainIamBindingOutput) ToDomainIamBindingOutputWithContext(ctx context. return o } +func (o DomainIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainIamBinding] { + return pulumix.Output[*DomainIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1/domainIamMember.go b/sdk/go/google/managedidentities/v1/domainIamMember.go index 73648743c5..4cbd5cb750 100644 --- a/sdk/go/google/managedidentities/v1/domainIamMember.go +++ b/sdk/go/google/managedidentities/v1/domainIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainIamMember) ToDomainIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DomainIamMemberOutput) } +func (i *DomainIamMember) ToOutput(ctx context.Context) pulumix.Output[*DomainIamMember] { + return pulumix.Output[*DomainIamMember]{ + OutputState: i.ToDomainIamMemberOutputWithContext(ctx).OutputState, + } +} + type DomainIamMemberOutput struct{ *pulumi.OutputState } func (DomainIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainIamMemberOutput) ToDomainIamMemberOutputWithContext(ctx context.Co return o } +func (o DomainIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainIamMember] { + return pulumix.Output[*DomainIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1/domainIamPolicy.go b/sdk/go/google/managedidentities/v1/domainIamPolicy.go index ff7767d9be..165b2da878 100644 --- a/sdk/go/google/managedidentities/v1/domainIamPolicy.go +++ b/sdk/go/google/managedidentities/v1/domainIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *DomainIamPolicy) ToDomainIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DomainIamPolicyOutput) } +func (i *DomainIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DomainIamPolicy] { + return pulumix.Output[*DomainIamPolicy]{ + OutputState: i.ToDomainIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DomainIamPolicyOutput struct{ *pulumi.OutputState } func (DomainIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o DomainIamPolicyOutput) ToDomainIamPolicyOutputWithContext(ctx context.Co return o } +func (o DomainIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainIamPolicy] { + return pulumix.Output[*DomainIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o DomainIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *DomainIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1/getBackup.go b/sdk/go/google/managedidentities/v1/getBackup.go index de899dc45f..ecb9114fb8 100644 --- a/sdk/go/google/managedidentities/v1/getBackup.go +++ b/sdk/go/google/managedidentities/v1/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Backup. @@ -82,6 +83,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // The time the backups was created. func (o LookupBackupResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1/getDomain.go b/sdk/go/google/managedidentities/v1/getDomain.go index db7c293d7e..138b8d245e 100644 --- a/sdk/go/google/managedidentities/v1/getDomain.go +++ b/sdk/go/google/managedidentities/v1/getDomain.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a domain. @@ -92,6 +93,12 @@ func (o LookupDomainResultOutput) ToLookupDomainResultOutputWithContext(ctx cont return o } +func (o LookupDomainResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainResult] { + return pulumix.Output[LookupDomainResult]{ + OutputState: o.OutputState, + } +} + // Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used. func (o LookupDomainResultOutput) Admin() pulumi.StringOutput { return o.ApplyT(func(v LookupDomainResult) string { return v.Admin }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1/getDomainBackupIamPolicy.go b/sdk/go/google/managedidentities/v1/getDomainBackupIamPolicy.go index 130e12de89..1d7a7fb2e4 100644 --- a/sdk/go/google/managedidentities/v1/getDomainBackupIamPolicy.go +++ b/sdk/go/google/managedidentities/v1/getDomainBackupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupDomainBackupIamPolicyResultOutput) ToLookupDomainBackupIamPolicyRe return o } +func (o LookupDomainBackupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainBackupIamPolicyResult] { + return pulumix.Output[LookupDomainBackupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupDomainBackupIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupDomainBackupIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1/getDomainIamPolicy.go b/sdk/go/google/managedidentities/v1/getDomainIamPolicy.go index 43824c7ef1..13a827fde7 100644 --- a/sdk/go/google/managedidentities/v1/getDomainIamPolicy.go +++ b/sdk/go/google/managedidentities/v1/getDomainIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupDomainIamPolicyResultOutput) ToLookupDomainIamPolicyResultOutputWi return o } +func (o LookupDomainIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainIamPolicyResult] { + return pulumix.Output[LookupDomainIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupDomainIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupDomainIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1/getPeering.go b/sdk/go/google/managedidentities/v1/getPeering.go index 3193701a5f..96e5e9f6b0 100644 --- a/sdk/go/google/managedidentities/v1/getPeering.go +++ b/sdk/go/google/managedidentities/v1/getPeering.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Peering. @@ -82,6 +83,12 @@ func (o LookupPeeringResultOutput) ToLookupPeeringResultOutputWithContext(ctx co return o } +func (o LookupPeeringResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPeeringResult] { + return pulumix.Output[LookupPeeringResult]{ + OutputState: o.OutputState, + } +} + // The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail. func (o LookupPeeringResultOutput) AuthorizedNetwork() pulumi.StringOutput { return o.ApplyT(func(v LookupPeeringResult) string { return v.AuthorizedNetwork }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1/getPeeringIamPolicy.go b/sdk/go/google/managedidentities/v1/getPeeringIamPolicy.go index fab7b927fe..8569485b1c 100644 --- a/sdk/go/google/managedidentities/v1/getPeeringIamPolicy.go +++ b/sdk/go/google/managedidentities/v1/getPeeringIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupPeeringIamPolicyResultOutput) ToLookupPeeringIamPolicyResultOutput return o } +func (o LookupPeeringIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPeeringIamPolicyResult] { + return pulumix.Output[LookupPeeringIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupPeeringIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupPeeringIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1/peering.go b/sdk/go/google/managedidentities/v1/peering.go index 70fa58acdd..3183a3d5d2 100644 --- a/sdk/go/google/managedidentities/v1/peering.go +++ b/sdk/go/google/managedidentities/v1/peering.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Peering for Managed AD instance. @@ -139,6 +140,12 @@ func (i *Peering) ToPeeringOutputWithContext(ctx context.Context) PeeringOutput return pulumi.ToOutputWithContext(ctx, i).(PeeringOutput) } +func (i *Peering) ToOutput(ctx context.Context) pulumix.Output[*Peering] { + return pulumix.Output[*Peering]{ + OutputState: i.ToPeeringOutputWithContext(ctx).OutputState, + } +} + type PeeringOutput struct{ *pulumi.OutputState } func (PeeringOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o PeeringOutput) ToPeeringOutputWithContext(ctx context.Context) PeeringOu return o } +func (o PeeringOutput) ToOutput(ctx context.Context) pulumix.Output[*Peering] { + return pulumix.Output[*Peering]{ + OutputState: o.OutputState, + } +} + // The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail. func (o PeeringOutput) AuthorizedNetwork() pulumi.StringOutput { return o.ApplyT(func(v *Peering) pulumi.StringOutput { return v.AuthorizedNetwork }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1/peeringIamBinding.go b/sdk/go/google/managedidentities/v1/peeringIamBinding.go index 9c53708268..5493cc0fee 100644 --- a/sdk/go/google/managedidentities/v1/peeringIamBinding.go +++ b/sdk/go/google/managedidentities/v1/peeringIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PeeringIamBinding) ToPeeringIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PeeringIamBindingOutput) } +func (i *PeeringIamBinding) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamBinding] { + return pulumix.Output[*PeeringIamBinding]{ + OutputState: i.ToPeeringIamBindingOutputWithContext(ctx).OutputState, + } +} + type PeeringIamBindingOutput struct{ *pulumi.OutputState } func (PeeringIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PeeringIamBindingOutput) ToPeeringIamBindingOutputWithContext(ctx contex return o } +func (o PeeringIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamBinding] { + return pulumix.Output[*PeeringIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PeeringIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PeeringIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1/peeringIamMember.go b/sdk/go/google/managedidentities/v1/peeringIamMember.go index 71809644c6..25a476d278 100644 --- a/sdk/go/google/managedidentities/v1/peeringIamMember.go +++ b/sdk/go/google/managedidentities/v1/peeringIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PeeringIamMember) ToPeeringIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PeeringIamMemberOutput) } +func (i *PeeringIamMember) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamMember] { + return pulumix.Output[*PeeringIamMember]{ + OutputState: i.ToPeeringIamMemberOutputWithContext(ctx).OutputState, + } +} + type PeeringIamMemberOutput struct{ *pulumi.OutputState } func (PeeringIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PeeringIamMemberOutput) ToPeeringIamMemberOutputWithContext(ctx context. return o } +func (o PeeringIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamMember] { + return pulumix.Output[*PeeringIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PeeringIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PeeringIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1/peeringIamPolicy.go b/sdk/go/google/managedidentities/v1/peeringIamPolicy.go index 2c4afa7938..5060de9b43 100644 --- a/sdk/go/google/managedidentities/v1/peeringIamPolicy.go +++ b/sdk/go/google/managedidentities/v1/peeringIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *PeeringIamPolicy) ToPeeringIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PeeringIamPolicyOutput) } +func (i *PeeringIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamPolicy] { + return pulumix.Output[*PeeringIamPolicy]{ + OutputState: i.ToPeeringIamPolicyOutputWithContext(ctx).OutputState, + } +} + type PeeringIamPolicyOutput struct{ *pulumi.OutputState } func (PeeringIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o PeeringIamPolicyOutput) ToPeeringIamPolicyOutputWithContext(ctx context. return o } +func (o PeeringIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamPolicy] { + return pulumix.Output[*PeeringIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o PeeringIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *PeeringIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1/pulumiTypes.go b/sdk/go/google/managedidentities/v1/pulumiTypes.go index daed8ef0db..752874c9db 100644 --- a/sdk/go/google/managedidentities/v1/pulumiTypes.go +++ b/sdk/go/google/managedidentities/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -476,6 +543,12 @@ func (o TrustResponseOutput) ToTrustResponseOutputWithContext(ctx context.Contex return o } +func (o TrustResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TrustResponse] { + return pulumix.Output[TrustResponse]{ + OutputState: o.OutputState, + } +} + // The time the instance was created. func (o TrustResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v TrustResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -545,6 +618,12 @@ func (o TrustResponseArrayOutput) ToTrustResponseArrayOutputWithContext(ctx cont return o } +func (o TrustResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TrustResponse] { + return pulumix.Output[[]TrustResponse]{ + OutputState: o.OutputState, + } +} + func (o TrustResponseArrayOutput) Index(i pulumi.IntInput) TrustResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrustResponse { return vs[0].([]TrustResponse)[vs[1].(int)] diff --git a/sdk/go/google/managedidentities/v1alpha1/backup.go b/sdk/go/google/managedidentities/v1alpha1/backup.go index 1730d61136..9e36aeaca5 100644 --- a/sdk/go/google/managedidentities/v1alpha1/backup.go +++ b/sdk/go/google/managedidentities/v1alpha1/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Backup for a domain. @@ -136,6 +137,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain. func (o BackupOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *Backup) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/domain.go b/sdk/go/google/managedidentities/v1alpha1/domain.go index 7c4ec4b08a..0863cbb9ce 100644 --- a/sdk/go/google/managedidentities/v1alpha1/domain.go +++ b/sdk/go/google/managedidentities/v1alpha1/domain.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Microsoft AD Domain in a given project. Operation @@ -157,6 +158,12 @@ func (i *Domain) ToDomainOutputWithContext(ctx context.Context) DomainOutput { return pulumi.ToOutputWithContext(ctx, i).(DomainOutput) } +func (i *Domain) ToOutput(ctx context.Context) pulumix.Output[*Domain] { + return pulumix.Output[*Domain]{ + OutputState: i.ToDomainOutputWithContext(ctx).OutputState, + } +} + type DomainOutput struct{ *pulumi.OutputState } func (DomainOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutpu return o } +func (o DomainOutput) ToOutput(ctx context.Context) pulumix.Output[*Domain] { + return pulumix.Output[*Domain]{ + OutputState: o.OutputState, + } +} + // Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled. func (o DomainOutput) AuditLogsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v *Domain) pulumi.BoolOutput { return v.AuditLogsEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/domainBackupIamBinding.go b/sdk/go/google/managedidentities/v1alpha1/domainBackupIamBinding.go index af9e8c3926..437f45b011 100644 --- a/sdk/go/google/managedidentities/v1alpha1/domainBackupIamBinding.go +++ b/sdk/go/google/managedidentities/v1alpha1/domainBackupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainBackupIamBinding) ToDomainBackupIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DomainBackupIamBindingOutput) } +func (i *DomainBackupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamBinding] { + return pulumix.Output[*DomainBackupIamBinding]{ + OutputState: i.ToDomainBackupIamBindingOutputWithContext(ctx).OutputState, + } +} + type DomainBackupIamBindingOutput struct{ *pulumi.OutputState } func (DomainBackupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainBackupIamBindingOutput) ToDomainBackupIamBindingOutputWithContext( return o } +func (o DomainBackupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamBinding] { + return pulumix.Output[*DomainBackupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainBackupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainBackupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/domainBackupIamMember.go b/sdk/go/google/managedidentities/v1alpha1/domainBackupIamMember.go index 895089e953..44e4982b7e 100644 --- a/sdk/go/google/managedidentities/v1alpha1/domainBackupIamMember.go +++ b/sdk/go/google/managedidentities/v1alpha1/domainBackupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainBackupIamMember) ToDomainBackupIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DomainBackupIamMemberOutput) } +func (i *DomainBackupIamMember) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamMember] { + return pulumix.Output[*DomainBackupIamMember]{ + OutputState: i.ToDomainBackupIamMemberOutputWithContext(ctx).OutputState, + } +} + type DomainBackupIamMemberOutput struct{ *pulumi.OutputState } func (DomainBackupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainBackupIamMemberOutput) ToDomainBackupIamMemberOutputWithContext(ct return o } +func (o DomainBackupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamMember] { + return pulumix.Output[*DomainBackupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainBackupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainBackupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/domainBackupIamPolicy.go b/sdk/go/google/managedidentities/v1alpha1/domainBackupIamPolicy.go index d01ef9e0b2..1cae5d03b2 100644 --- a/sdk/go/google/managedidentities/v1alpha1/domainBackupIamPolicy.go +++ b/sdk/go/google/managedidentities/v1alpha1/domainBackupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -128,6 +129,12 @@ func (i *DomainBackupIamPolicy) ToDomainBackupIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DomainBackupIamPolicyOutput) } +func (i *DomainBackupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamPolicy] { + return pulumix.Output[*DomainBackupIamPolicy]{ + OutputState: i.ToDomainBackupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DomainBackupIamPolicyOutput struct{ *pulumi.OutputState } func (DomainBackupIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o DomainBackupIamPolicyOutput) ToDomainBackupIamPolicyOutputWithContext(ct return o } +func (o DomainBackupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamPolicy] { + return pulumix.Output[*DomainBackupIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o DomainBackupIamPolicyOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *DomainBackupIamPolicy) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/managedidentities/v1alpha1/domainIamBinding.go b/sdk/go/google/managedidentities/v1alpha1/domainIamBinding.go index b667043b71..57a8bba507 100644 --- a/sdk/go/google/managedidentities/v1alpha1/domainIamBinding.go +++ b/sdk/go/google/managedidentities/v1alpha1/domainIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainIamBinding) ToDomainIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DomainIamBindingOutput) } +func (i *DomainIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DomainIamBinding] { + return pulumix.Output[*DomainIamBinding]{ + OutputState: i.ToDomainIamBindingOutputWithContext(ctx).OutputState, + } +} + type DomainIamBindingOutput struct{ *pulumi.OutputState } func (DomainIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainIamBindingOutput) ToDomainIamBindingOutputWithContext(ctx context. return o } +func (o DomainIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainIamBinding] { + return pulumix.Output[*DomainIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/domainIamMember.go b/sdk/go/google/managedidentities/v1alpha1/domainIamMember.go index 69a1930c42..3f70407089 100644 --- a/sdk/go/google/managedidentities/v1alpha1/domainIamMember.go +++ b/sdk/go/google/managedidentities/v1alpha1/domainIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainIamMember) ToDomainIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DomainIamMemberOutput) } +func (i *DomainIamMember) ToOutput(ctx context.Context) pulumix.Output[*DomainIamMember] { + return pulumix.Output[*DomainIamMember]{ + OutputState: i.ToDomainIamMemberOutputWithContext(ctx).OutputState, + } +} + type DomainIamMemberOutput struct{ *pulumi.OutputState } func (DomainIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainIamMemberOutput) ToDomainIamMemberOutputWithContext(ctx context.Co return o } +func (o DomainIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainIamMember] { + return pulumix.Output[*DomainIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/domainIamPolicy.go b/sdk/go/google/managedidentities/v1alpha1/domainIamPolicy.go index d4eaa42701..a869c01bab 100644 --- a/sdk/go/google/managedidentities/v1alpha1/domainIamPolicy.go +++ b/sdk/go/google/managedidentities/v1alpha1/domainIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *DomainIamPolicy) ToDomainIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DomainIamPolicyOutput) } +func (i *DomainIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DomainIamPolicy] { + return pulumix.Output[*DomainIamPolicy]{ + OutputState: i.ToDomainIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DomainIamPolicyOutput struct{ *pulumi.OutputState } func (DomainIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o DomainIamPolicyOutput) ToDomainIamPolicyOutputWithContext(ctx context.Co return o } +func (o DomainIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainIamPolicy] { + return pulumix.Output[*DomainIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o DomainIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *DomainIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/getBackup.go b/sdk/go/google/managedidentities/v1alpha1/getBackup.go index b3d1cc75bb..1c8f6aa6b4 100644 --- a/sdk/go/google/managedidentities/v1alpha1/getBackup.go +++ b/sdk/go/google/managedidentities/v1alpha1/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Backup. @@ -84,6 +85,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // The time the backups was created. func (o LookupBackupResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/getDomain.go b/sdk/go/google/managedidentities/v1alpha1/getDomain.go index 7b6edb0c2c..2cf623b810 100644 --- a/sdk/go/google/managedidentities/v1alpha1/getDomain.go +++ b/sdk/go/google/managedidentities/v1alpha1/getDomain.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Domain. @@ -92,6 +93,12 @@ func (o LookupDomainResultOutput) ToLookupDomainResultOutputWithContext(ctx cont return o } +func (o LookupDomainResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainResult] { + return pulumix.Output[LookupDomainResult]{ + OutputState: o.OutputState, + } +} + // Optional. Configuration for audit logs. True if audit logs are enabled, else false. Default is audit logs disabled. func (o LookupDomainResultOutput) AuditLogsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v LookupDomainResult) bool { return v.AuditLogsEnabled }).(pulumi.BoolOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/getDomainBackupIamPolicy.go b/sdk/go/google/managedidentities/v1alpha1/getDomainBackupIamPolicy.go index 21b21dd882..0b4f38d784 100644 --- a/sdk/go/google/managedidentities/v1alpha1/getDomainBackupIamPolicy.go +++ b/sdk/go/google/managedidentities/v1alpha1/getDomainBackupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupDomainBackupIamPolicyResultOutput) ToLookupDomainBackupIamPolicyRe return o } +func (o LookupDomainBackupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainBackupIamPolicyResult] { + return pulumix.Output[LookupDomainBackupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupDomainBackupIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupDomainBackupIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/getDomainIamPolicy.go b/sdk/go/google/managedidentities/v1alpha1/getDomainIamPolicy.go index 581f6363b7..2c3674b8a0 100644 --- a/sdk/go/google/managedidentities/v1alpha1/getDomainIamPolicy.go +++ b/sdk/go/google/managedidentities/v1alpha1/getDomainIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupDomainIamPolicyResultOutput) ToLookupDomainIamPolicyResultOutputWi return o } +func (o LookupDomainIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainIamPolicyResult] { + return pulumix.Output[LookupDomainIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupDomainIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupDomainIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/getPeering.go b/sdk/go/google/managedidentities/v1alpha1/getPeering.go index f9b879bfc2..c9a81bfc91 100644 --- a/sdk/go/google/managedidentities/v1alpha1/getPeering.go +++ b/sdk/go/google/managedidentities/v1alpha1/getPeering.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Peering. @@ -82,6 +83,12 @@ func (o LookupPeeringResultOutput) ToLookupPeeringResultOutputWithContext(ctx co return o } +func (o LookupPeeringResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPeeringResult] { + return pulumix.Output[LookupPeeringResult]{ + OutputState: o.OutputState, + } +} + // The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail. func (o LookupPeeringResultOutput) AuthorizedNetwork() pulumi.StringOutput { return o.ApplyT(func(v LookupPeeringResult) string { return v.AuthorizedNetwork }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/getPeeringIamPolicy.go b/sdk/go/google/managedidentities/v1alpha1/getPeeringIamPolicy.go index ad6a065c91..1404d8ca90 100644 --- a/sdk/go/google/managedidentities/v1alpha1/getPeeringIamPolicy.go +++ b/sdk/go/google/managedidentities/v1alpha1/getPeeringIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupPeeringIamPolicyResultOutput) ToLookupPeeringIamPolicyResultOutput return o } +func (o LookupPeeringIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPeeringIamPolicyResult] { + return pulumix.Output[LookupPeeringIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupPeeringIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupPeeringIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/peering.go b/sdk/go/google/managedidentities/v1alpha1/peering.go index 5e4bb1da50..0af18d8cdd 100644 --- a/sdk/go/google/managedidentities/v1alpha1/peering.go +++ b/sdk/go/google/managedidentities/v1alpha1/peering.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Peering for Managed AD instance. @@ -139,6 +140,12 @@ func (i *Peering) ToPeeringOutputWithContext(ctx context.Context) PeeringOutput return pulumi.ToOutputWithContext(ctx, i).(PeeringOutput) } +func (i *Peering) ToOutput(ctx context.Context) pulumix.Output[*Peering] { + return pulumix.Output[*Peering]{ + OutputState: i.ToPeeringOutputWithContext(ctx).OutputState, + } +} + type PeeringOutput struct{ *pulumi.OutputState } func (PeeringOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o PeeringOutput) ToPeeringOutputWithContext(ctx context.Context) PeeringOu return o } +func (o PeeringOutput) ToOutput(ctx context.Context) pulumix.Output[*Peering] { + return pulumix.Output[*Peering]{ + OutputState: o.OutputState, + } +} + // The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail. func (o PeeringOutput) AuthorizedNetwork() pulumi.StringOutput { return o.ApplyT(func(v *Peering) pulumi.StringOutput { return v.AuthorizedNetwork }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/peeringIamBinding.go b/sdk/go/google/managedidentities/v1alpha1/peeringIamBinding.go index 2ed8f98df2..daff249353 100644 --- a/sdk/go/google/managedidentities/v1alpha1/peeringIamBinding.go +++ b/sdk/go/google/managedidentities/v1alpha1/peeringIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PeeringIamBinding) ToPeeringIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PeeringIamBindingOutput) } +func (i *PeeringIamBinding) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamBinding] { + return pulumix.Output[*PeeringIamBinding]{ + OutputState: i.ToPeeringIamBindingOutputWithContext(ctx).OutputState, + } +} + type PeeringIamBindingOutput struct{ *pulumi.OutputState } func (PeeringIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PeeringIamBindingOutput) ToPeeringIamBindingOutputWithContext(ctx contex return o } +func (o PeeringIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamBinding] { + return pulumix.Output[*PeeringIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PeeringIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PeeringIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/peeringIamMember.go b/sdk/go/google/managedidentities/v1alpha1/peeringIamMember.go index 2746939be3..35a729b2b9 100644 --- a/sdk/go/google/managedidentities/v1alpha1/peeringIamMember.go +++ b/sdk/go/google/managedidentities/v1alpha1/peeringIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PeeringIamMember) ToPeeringIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PeeringIamMemberOutput) } +func (i *PeeringIamMember) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamMember] { + return pulumix.Output[*PeeringIamMember]{ + OutputState: i.ToPeeringIamMemberOutputWithContext(ctx).OutputState, + } +} + type PeeringIamMemberOutput struct{ *pulumi.OutputState } func (PeeringIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PeeringIamMemberOutput) ToPeeringIamMemberOutputWithContext(ctx context. return o } +func (o PeeringIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamMember] { + return pulumix.Output[*PeeringIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PeeringIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PeeringIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/peeringIamPolicy.go b/sdk/go/google/managedidentities/v1alpha1/peeringIamPolicy.go index 5328efd313..70379dac35 100644 --- a/sdk/go/google/managedidentities/v1alpha1/peeringIamPolicy.go +++ b/sdk/go/google/managedidentities/v1alpha1/peeringIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *PeeringIamPolicy) ToPeeringIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PeeringIamPolicyOutput) } +func (i *PeeringIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamPolicy] { + return pulumix.Output[*PeeringIamPolicy]{ + OutputState: i.ToPeeringIamPolicyOutputWithContext(ctx).OutputState, + } +} + type PeeringIamPolicyOutput struct{ *pulumi.OutputState } func (PeeringIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o PeeringIamPolicyOutput) ToPeeringIamPolicyOutputWithContext(ctx context. return o } +func (o PeeringIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamPolicy] { + return pulumix.Output[*PeeringIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o PeeringIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *PeeringIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1alpha1/pulumiTypes.go b/sdk/go/google/managedidentities/v1alpha1/pulumiTypes.go index 98e49255a7..dd48cf3349 100644 --- a/sdk/go/google/managedidentities/v1alpha1/pulumiTypes.go +++ b/sdk/go/google/managedidentities/v1alpha1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -476,6 +543,12 @@ func (o TrustResponseOutput) ToTrustResponseOutputWithContext(ctx context.Contex return o } +func (o TrustResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TrustResponse] { + return pulumix.Output[TrustResponse]{ + OutputState: o.OutputState, + } +} + // The time the instance was created. func (o TrustResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v TrustResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -545,6 +618,12 @@ func (o TrustResponseArrayOutput) ToTrustResponseArrayOutputWithContext(ctx cont return o } +func (o TrustResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TrustResponse] { + return pulumix.Output[[]TrustResponse]{ + OutputState: o.OutputState, + } +} + func (o TrustResponseArrayOutput) Index(i pulumi.IntInput) TrustResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrustResponse { return vs[0].([]TrustResponse)[vs[1].(int)] diff --git a/sdk/go/google/managedidentities/v1beta1/backup.go b/sdk/go/google/managedidentities/v1beta1/backup.go index 72ba4a15a1..a69ba93dd5 100644 --- a/sdk/go/google/managedidentities/v1beta1/backup.go +++ b/sdk/go/google/managedidentities/v1beta1/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Backup for a domain. @@ -136,6 +137,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain. func (o BackupOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *Backup) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/domain.go b/sdk/go/google/managedidentities/v1beta1/domain.go index b37e5ceb45..646239ce1a 100644 --- a/sdk/go/google/managedidentities/v1beta1/domain.go +++ b/sdk/go/google/managedidentities/v1beta1/domain.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Microsoft AD domain. @@ -161,6 +162,12 @@ func (i *Domain) ToDomainOutputWithContext(ctx context.Context) DomainOutput { return pulumi.ToOutputWithContext(ctx, i).(DomainOutput) } +func (i *Domain) ToOutput(ctx context.Context) pulumix.Output[*Domain] { + return pulumix.Output[*Domain]{ + OutputState: i.ToDomainOutputWithContext(ctx).OutputState, + } +} + type DomainOutput struct{ *pulumi.OutputState } func (DomainOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o DomainOutput) ToDomainOutputWithContext(ctx context.Context) DomainOutpu return o } +func (o DomainOutput) ToOutput(ctx context.Context) pulumix.Output[*Domain] { + return pulumix.Output[*Domain]{ + OutputState: o.OutputState, + } +} + // Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used. func (o DomainOutput) Admin() pulumi.StringOutput { return o.ApplyT(func(v *Domain) pulumi.StringOutput { return v.Admin }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/domainBackupIamBinding.go b/sdk/go/google/managedidentities/v1beta1/domainBackupIamBinding.go index a3ba3e3ae0..2678e7aed0 100644 --- a/sdk/go/google/managedidentities/v1beta1/domainBackupIamBinding.go +++ b/sdk/go/google/managedidentities/v1beta1/domainBackupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainBackupIamBinding) ToDomainBackupIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DomainBackupIamBindingOutput) } +func (i *DomainBackupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamBinding] { + return pulumix.Output[*DomainBackupIamBinding]{ + OutputState: i.ToDomainBackupIamBindingOutputWithContext(ctx).OutputState, + } +} + type DomainBackupIamBindingOutput struct{ *pulumi.OutputState } func (DomainBackupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainBackupIamBindingOutput) ToDomainBackupIamBindingOutputWithContext( return o } +func (o DomainBackupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamBinding] { + return pulumix.Output[*DomainBackupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainBackupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainBackupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/domainBackupIamMember.go b/sdk/go/google/managedidentities/v1beta1/domainBackupIamMember.go index 88654c8626..ae8b7c7e36 100644 --- a/sdk/go/google/managedidentities/v1beta1/domainBackupIamMember.go +++ b/sdk/go/google/managedidentities/v1beta1/domainBackupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainBackupIamMember) ToDomainBackupIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DomainBackupIamMemberOutput) } +func (i *DomainBackupIamMember) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamMember] { + return pulumix.Output[*DomainBackupIamMember]{ + OutputState: i.ToDomainBackupIamMemberOutputWithContext(ctx).OutputState, + } +} + type DomainBackupIamMemberOutput struct{ *pulumi.OutputState } func (DomainBackupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainBackupIamMemberOutput) ToDomainBackupIamMemberOutputWithContext(ct return o } +func (o DomainBackupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamMember] { + return pulumix.Output[*DomainBackupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainBackupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainBackupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/domainBackupIamPolicy.go b/sdk/go/google/managedidentities/v1beta1/domainBackupIamPolicy.go index 81a99a978a..d936a236e1 100644 --- a/sdk/go/google/managedidentities/v1beta1/domainBackupIamPolicy.go +++ b/sdk/go/google/managedidentities/v1beta1/domainBackupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -128,6 +129,12 @@ func (i *DomainBackupIamPolicy) ToDomainBackupIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DomainBackupIamPolicyOutput) } +func (i *DomainBackupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamPolicy] { + return pulumix.Output[*DomainBackupIamPolicy]{ + OutputState: i.ToDomainBackupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DomainBackupIamPolicyOutput struct{ *pulumi.OutputState } func (DomainBackupIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o DomainBackupIamPolicyOutput) ToDomainBackupIamPolicyOutputWithContext(ct return o } +func (o DomainBackupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainBackupIamPolicy] { + return pulumix.Output[*DomainBackupIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o DomainBackupIamPolicyOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *DomainBackupIamPolicy) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/managedidentities/v1beta1/domainIamBinding.go b/sdk/go/google/managedidentities/v1beta1/domainIamBinding.go index e85261f438..59bc9c96b9 100644 --- a/sdk/go/google/managedidentities/v1beta1/domainIamBinding.go +++ b/sdk/go/google/managedidentities/v1beta1/domainIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainIamBinding) ToDomainIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DomainIamBindingOutput) } +func (i *DomainIamBinding) ToOutput(ctx context.Context) pulumix.Output[*DomainIamBinding] { + return pulumix.Output[*DomainIamBinding]{ + OutputState: i.ToDomainIamBindingOutputWithContext(ctx).OutputState, + } +} + type DomainIamBindingOutput struct{ *pulumi.OutputState } func (DomainIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainIamBindingOutput) ToDomainIamBindingOutputWithContext(ctx context. return o } +func (o DomainIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainIamBinding] { + return pulumix.Output[*DomainIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/domainIamMember.go b/sdk/go/google/managedidentities/v1beta1/domainIamMember.go index e6df97a415..89ed0ae89e 100644 --- a/sdk/go/google/managedidentities/v1beta1/domainIamMember.go +++ b/sdk/go/google/managedidentities/v1beta1/domainIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *DomainIamMember) ToDomainIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DomainIamMemberOutput) } +func (i *DomainIamMember) ToOutput(ctx context.Context) pulumix.Output[*DomainIamMember] { + return pulumix.Output[*DomainIamMember]{ + OutputState: i.ToDomainIamMemberOutputWithContext(ctx).OutputState, + } +} + type DomainIamMemberOutput struct{ *pulumi.OutputState } func (DomainIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o DomainIamMemberOutput) ToDomainIamMemberOutputWithContext(ctx context.Co return o } +func (o DomainIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainIamMember] { + return pulumix.Output[*DomainIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o DomainIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *DomainIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/domainIamPolicy.go b/sdk/go/google/managedidentities/v1beta1/domainIamPolicy.go index 4c525467a1..d2c58fe7de 100644 --- a/sdk/go/google/managedidentities/v1beta1/domainIamPolicy.go +++ b/sdk/go/google/managedidentities/v1beta1/domainIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *DomainIamPolicy) ToDomainIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(DomainIamPolicyOutput) } +func (i *DomainIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*DomainIamPolicy] { + return pulumix.Output[*DomainIamPolicy]{ + OutputState: i.ToDomainIamPolicyOutputWithContext(ctx).OutputState, + } +} + type DomainIamPolicyOutput struct{ *pulumi.OutputState } func (DomainIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o DomainIamPolicyOutput) ToDomainIamPolicyOutputWithContext(ctx context.Co return o } +func (o DomainIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainIamPolicy] { + return pulumix.Output[*DomainIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o DomainIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *DomainIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/getBackup.go b/sdk/go/google/managedidentities/v1beta1/getBackup.go index 00761139cc..ad8455bd18 100644 --- a/sdk/go/google/managedidentities/v1beta1/getBackup.go +++ b/sdk/go/google/managedidentities/v1beta1/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Backup. @@ -84,6 +85,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // The time the backups was created. func (o LookupBackupResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/getDomain.go b/sdk/go/google/managedidentities/v1beta1/getDomain.go index 226afe6f6b..f5c0088829 100644 --- a/sdk/go/google/managedidentities/v1beta1/getDomain.go +++ b/sdk/go/google/managedidentities/v1beta1/getDomain.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a domain. @@ -92,6 +93,12 @@ func (o LookupDomainResultOutput) ToLookupDomainResultOutputWithContext(ctx cont return o } +func (o LookupDomainResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainResult] { + return pulumix.Output[LookupDomainResult]{ + OutputState: o.OutputState, + } +} + // Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used. func (o LookupDomainResultOutput) Admin() pulumi.StringOutput { return o.ApplyT(func(v LookupDomainResult) string { return v.Admin }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/getDomainBackupIamPolicy.go b/sdk/go/google/managedidentities/v1beta1/getDomainBackupIamPolicy.go index dd975ed642..490db276c9 100644 --- a/sdk/go/google/managedidentities/v1beta1/getDomainBackupIamPolicy.go +++ b/sdk/go/google/managedidentities/v1beta1/getDomainBackupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupDomainBackupIamPolicyResultOutput) ToLookupDomainBackupIamPolicyRe return o } +func (o LookupDomainBackupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainBackupIamPolicyResult] { + return pulumix.Output[LookupDomainBackupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupDomainBackupIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupDomainBackupIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/getDomainIamPolicy.go b/sdk/go/google/managedidentities/v1beta1/getDomainIamPolicy.go index 07ac5aada8..72e56a7e9d 100644 --- a/sdk/go/google/managedidentities/v1beta1/getDomainIamPolicy.go +++ b/sdk/go/google/managedidentities/v1beta1/getDomainIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupDomainIamPolicyResultOutput) ToLookupDomainIamPolicyResultOutputWi return o } +func (o LookupDomainIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainIamPolicyResult] { + return pulumix.Output[LookupDomainIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupDomainIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupDomainIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/getPeering.go b/sdk/go/google/managedidentities/v1beta1/getPeering.go index 5d7c5217b0..bd5da2a303 100644 --- a/sdk/go/google/managedidentities/v1beta1/getPeering.go +++ b/sdk/go/google/managedidentities/v1beta1/getPeering.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Peering. @@ -82,6 +83,12 @@ func (o LookupPeeringResultOutput) ToLookupPeeringResultOutputWithContext(ctx co return o } +func (o LookupPeeringResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPeeringResult] { + return pulumix.Output[LookupPeeringResult]{ + OutputState: o.OutputState, + } +} + // The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail. func (o LookupPeeringResultOutput) AuthorizedNetwork() pulumi.StringOutput { return o.ApplyT(func(v LookupPeeringResult) string { return v.AuthorizedNetwork }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/getPeeringIamPolicy.go b/sdk/go/google/managedidentities/v1beta1/getPeeringIamPolicy.go index 36dd97bd8b..928bcf7a9d 100644 --- a/sdk/go/google/managedidentities/v1beta1/getPeeringIamPolicy.go +++ b/sdk/go/google/managedidentities/v1beta1/getPeeringIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupPeeringIamPolicyResultOutput) ToLookupPeeringIamPolicyResultOutput return o } +func (o LookupPeeringIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPeeringIamPolicyResult] { + return pulumix.Output[LookupPeeringIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupPeeringIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupPeeringIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/peering.go b/sdk/go/google/managedidentities/v1beta1/peering.go index ae17f775f0..432fe132cc 100644 --- a/sdk/go/google/managedidentities/v1beta1/peering.go +++ b/sdk/go/google/managedidentities/v1beta1/peering.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Peering for Managed AD instance. @@ -139,6 +140,12 @@ func (i *Peering) ToPeeringOutputWithContext(ctx context.Context) PeeringOutput return pulumi.ToOutputWithContext(ctx, i).(PeeringOutput) } +func (i *Peering) ToOutput(ctx context.Context) pulumix.Output[*Peering] { + return pulumix.Output[*Peering]{ + OutputState: i.ToPeeringOutputWithContext(ctx).OutputState, + } +} + type PeeringOutput struct{ *pulumi.OutputState } func (PeeringOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o PeeringOutput) ToPeeringOutputWithContext(ctx context.Context) PeeringOu return o } +func (o PeeringOutput) ToOutput(ctx context.Context) pulumix.Output[*Peering] { + return pulumix.Output[*Peering]{ + OutputState: o.OutputState, + } +} + // The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail. func (o PeeringOutput) AuthorizedNetwork() pulumi.StringOutput { return o.ApplyT(func(v *Peering) pulumi.StringOutput { return v.AuthorizedNetwork }).(pulumi.StringOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/peeringIamBinding.go b/sdk/go/google/managedidentities/v1beta1/peeringIamBinding.go index cd0498dae8..2548abe2d3 100644 --- a/sdk/go/google/managedidentities/v1beta1/peeringIamBinding.go +++ b/sdk/go/google/managedidentities/v1beta1/peeringIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PeeringIamBinding) ToPeeringIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PeeringIamBindingOutput) } +func (i *PeeringIamBinding) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamBinding] { + return pulumix.Output[*PeeringIamBinding]{ + OutputState: i.ToPeeringIamBindingOutputWithContext(ctx).OutputState, + } +} + type PeeringIamBindingOutput struct{ *pulumi.OutputState } func (PeeringIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PeeringIamBindingOutput) ToPeeringIamBindingOutputWithContext(ctx contex return o } +func (o PeeringIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamBinding] { + return pulumix.Output[*PeeringIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PeeringIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PeeringIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/peeringIamMember.go b/sdk/go/google/managedidentities/v1beta1/peeringIamMember.go index 1082058087..2cdbda4d33 100644 --- a/sdk/go/google/managedidentities/v1beta1/peeringIamMember.go +++ b/sdk/go/google/managedidentities/v1beta1/peeringIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PeeringIamMember) ToPeeringIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PeeringIamMemberOutput) } +func (i *PeeringIamMember) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamMember] { + return pulumix.Output[*PeeringIamMember]{ + OutputState: i.ToPeeringIamMemberOutputWithContext(ctx).OutputState, + } +} + type PeeringIamMemberOutput struct{ *pulumi.OutputState } func (PeeringIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PeeringIamMemberOutput) ToPeeringIamMemberOutputWithContext(ctx context. return o } +func (o PeeringIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamMember] { + return pulumix.Output[*PeeringIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PeeringIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PeeringIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/peeringIamPolicy.go b/sdk/go/google/managedidentities/v1beta1/peeringIamPolicy.go index 2d3e559084..534e3a5cf2 100644 --- a/sdk/go/google/managedidentities/v1beta1/peeringIamPolicy.go +++ b/sdk/go/google/managedidentities/v1beta1/peeringIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *PeeringIamPolicy) ToPeeringIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PeeringIamPolicyOutput) } +func (i *PeeringIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamPolicy] { + return pulumix.Output[*PeeringIamPolicy]{ + OutputState: i.ToPeeringIamPolicyOutputWithContext(ctx).OutputState, + } +} + type PeeringIamPolicyOutput struct{ *pulumi.OutputState } func (PeeringIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o PeeringIamPolicyOutput) ToPeeringIamPolicyOutputWithContext(ctx context. return o } +func (o PeeringIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*PeeringIamPolicy] { + return pulumix.Output[*PeeringIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o PeeringIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *PeeringIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/managedidentities/v1beta1/pulumiTypes.go b/sdk/go/google/managedidentities/v1beta1/pulumiTypes.go index 7efab2d817..74d842ba0e 100644 --- a/sdk/go/google/managedidentities/v1beta1/pulumiTypes.go +++ b/sdk/go/google/managedidentities/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -476,6 +543,12 @@ func (o TrustResponseOutput) ToTrustResponseOutputWithContext(ctx context.Contex return o } +func (o TrustResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TrustResponse] { + return pulumix.Output[TrustResponse]{ + OutputState: o.OutputState, + } +} + // The time the instance was created. func (o TrustResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v TrustResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -545,6 +618,12 @@ func (o TrustResponseArrayOutput) ToTrustResponseArrayOutputWithContext(ctx cont return o } +func (o TrustResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TrustResponse] { + return pulumix.Output[[]TrustResponse]{ + OutputState: o.OutputState, + } +} + func (o TrustResponseArrayOutput) Index(i pulumi.IntInput) TrustResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrustResponse { return vs[0].([]TrustResponse)[vs[1].(int)] diff --git a/sdk/go/google/memcache/v1/getInstance.go b/sdk/go/google/memcache/v1/getInstance.go index 65f9b180d0..1294a4afae 100644 --- a/sdk/go/google/memcache/v1/getInstance.go +++ b/sdk/go/google/memcache/v1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Instance. @@ -104,6 +105,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used. func (o LookupInstanceResultOutput) AuthorizedNetwork() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceResult) string { return v.AuthorizedNetwork }).(pulumi.StringOutput) diff --git a/sdk/go/google/memcache/v1/instance.go b/sdk/go/google/memcache/v1/instance.go index e553ecd774..d719b9ecf4 100644 --- a/sdk/go/google/memcache/v1/instance.go +++ b/sdk/go/google/memcache/v1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Instance in a given location. @@ -194,6 +195,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -208,6 +215,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // The full name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the instance is connected. If left unspecified, the `default` network will be used. func (o InstanceOutput) AuthorizedNetwork() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.AuthorizedNetwork }).(pulumi.StringOutput) diff --git a/sdk/go/google/memcache/v1/pulumiEnums.go b/sdk/go/google/memcache/v1/pulumiEnums.go index f14be8698f..6212dc92f3 100644 --- a/sdk/go/google/memcache/v1/pulumiEnums.go +++ b/sdk/go/google/memcache/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is `MEMCACHE_1_5`. The minor version will be automatically determined by our system based on the latest supported minor version. @@ -80,6 +81,12 @@ func (o InstanceMemcacheVersionOutput) ToInstanceMemcacheVersionPtrOutputWithCon }).(InstanceMemcacheVersionPtrOutput) } +func (o InstanceMemcacheVersionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceMemcacheVersion] { + return pulumix.Output[InstanceMemcacheVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceMemcacheVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o InstanceMemcacheVersionPtrOutput) ToInstanceMemcacheVersionPtrOutputWith return o } +func (o InstanceMemcacheVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceMemcacheVersion] { + return pulumix.Output[*InstanceMemcacheVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceMemcacheVersionPtrOutput) Elem() InstanceMemcacheVersionOutput { return o.ApplyT(func(v *InstanceMemcacheVersion) InstanceMemcacheVersion { if v != nil { @@ -177,6 +190,12 @@ func (in *instanceMemcacheVersionPtr) ToInstanceMemcacheVersionPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(InstanceMemcacheVersionPtrOutput) } +func (in *instanceMemcacheVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceMemcacheVersion] { + return pulumix.Output[*InstanceMemcacheVersion]{ + OutputState: in.ToInstanceMemcacheVersionPtrOutputWithContext(ctx).OutputState, + } +} + // A code that correspond to one type of user-facing message. type InstanceMessageCode string @@ -247,6 +266,12 @@ func (o InstanceMessageCodeOutput) ToInstanceMessageCodePtrOutputWithContext(ctx }).(InstanceMessageCodePtrOutput) } +func (o InstanceMessageCodeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceMessageCode] { + return pulumix.Output[InstanceMessageCode]{ + OutputState: o.OutputState, + } +} + func (o InstanceMessageCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -282,6 +307,12 @@ func (o InstanceMessageCodePtrOutput) ToInstanceMessageCodePtrOutputWithContext( return o } +func (o InstanceMessageCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceMessageCode] { + return pulumix.Output[*InstanceMessageCode]{ + OutputState: o.OutputState, + } +} + func (o InstanceMessageCodePtrOutput) Elem() InstanceMessageCodeOutput { return o.ApplyT(func(v *InstanceMessageCode) InstanceMessageCode { if v != nil { @@ -344,6 +375,12 @@ func (in *instanceMessageCodePtr) ToInstanceMessageCodePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(InstanceMessageCodePtrOutput) } +func (in *instanceMessageCodePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceMessageCode] { + return pulumix.Output[*InstanceMessageCode]{ + OutputState: in.ToInstanceMessageCodePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Allows to define schedule that runs specified day of the week. type WeeklyMaintenanceWindowDay string @@ -426,6 +463,12 @@ func (o WeeklyMaintenanceWindowDayOutput) ToWeeklyMaintenanceWindowDayPtrOutputW }).(WeeklyMaintenanceWindowDayPtrOutput) } +func (o WeeklyMaintenanceWindowDayOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindowDay] { + return pulumix.Output[WeeklyMaintenanceWindowDay]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowDayOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o WeeklyMaintenanceWindowDayPtrOutput) ToWeeklyMaintenanceWindowDayPtrOutp return o } +func (o WeeklyMaintenanceWindowDayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WeeklyMaintenanceWindowDay] { + return pulumix.Output[*WeeklyMaintenanceWindowDay]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowDayPtrOutput) Elem() WeeklyMaintenanceWindowDayOutput { return o.ApplyT(func(v *WeeklyMaintenanceWindowDay) WeeklyMaintenanceWindowDay { if v != nil { @@ -523,6 +572,12 @@ func (in *weeklyMaintenanceWindowDayPtr) ToWeeklyMaintenanceWindowDayPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(WeeklyMaintenanceWindowDayPtrOutput) } +func (in *weeklyMaintenanceWindowDayPtr) ToOutput(ctx context.Context) pulumix.Output[*WeeklyMaintenanceWindowDay] { + return pulumix.Output[*WeeklyMaintenanceWindowDay]{ + OutputState: in.ToWeeklyMaintenanceWindowDayPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceMemcacheVersionInput)(nil)).Elem(), InstanceMemcacheVersion("MEMCACHE_VERSION_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*InstanceMemcacheVersionPtrInput)(nil)).Elem(), InstanceMemcacheVersion("MEMCACHE_VERSION_UNSPECIFIED")) diff --git a/sdk/go/google/memcache/v1/pulumiTypes.go b/sdk/go/google/memcache/v1/pulumiTypes.go index f3de69b7cd..696c832095 100644 --- a/sdk/go/google/memcache/v1/pulumiTypes.go +++ b/sdk/go/google/memcache/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudMemcacheV1MaintenancePolicyArgs) ToGoogleCloudMemcacheV1Maint return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMemcacheV1MaintenancePolicyOutput) } +func (i GoogleCloudMemcacheV1MaintenancePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMemcacheV1MaintenancePolicy] { + return pulumix.Output[GoogleCloudMemcacheV1MaintenancePolicy]{ + OutputState: i.ToGoogleCloudMemcacheV1MaintenancePolicyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMemcacheV1MaintenancePolicyArgs) ToGoogleCloudMemcacheV1MaintenancePolicyPtrOutput() GoogleCloudMemcacheV1MaintenancePolicyPtrOutput { return i.ToGoogleCloudMemcacheV1MaintenancePolicyPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleCloudMemcacheV1MaintenancePolicyPtrType) ToGoogleCloudMemcacheV1M return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMemcacheV1MaintenancePolicyPtrOutput) } +func (i *googleCloudMemcacheV1MaintenancePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMemcacheV1MaintenancePolicy] { + return pulumix.Output[*GoogleCloudMemcacheV1MaintenancePolicy]{ + OutputState: i.ToGoogleCloudMemcacheV1MaintenancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance policy per instance. type GoogleCloudMemcacheV1MaintenancePolicyOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleCloudMemcacheV1MaintenancePolicyOutput) ToGoogleCloudMemcacheV1Mai }).(GoogleCloudMemcacheV1MaintenancePolicyPtrOutput) } +func (o GoogleCloudMemcacheV1MaintenancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMemcacheV1MaintenancePolicy] { + return pulumix.Output[GoogleCloudMemcacheV1MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + // Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512. func (o GoogleCloudMemcacheV1MaintenancePolicyOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMemcacheV1MaintenancePolicy) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -144,6 +163,12 @@ func (o GoogleCloudMemcacheV1MaintenancePolicyPtrOutput) ToGoogleCloudMemcacheV1 return o } +func (o GoogleCloudMemcacheV1MaintenancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMemcacheV1MaintenancePolicy] { + return pulumix.Output[*GoogleCloudMemcacheV1MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMemcacheV1MaintenancePolicyPtrOutput) Elem() GoogleCloudMemcacheV1MaintenancePolicyOutput { return o.ApplyT(func(v *GoogleCloudMemcacheV1MaintenancePolicy) GoogleCloudMemcacheV1MaintenancePolicy { if v != nil { @@ -201,6 +226,12 @@ func (o GoogleCloudMemcacheV1MaintenancePolicyResponseOutput) ToGoogleCloudMemca return o } +func (o GoogleCloudMemcacheV1MaintenancePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMemcacheV1MaintenancePolicyResponse] { + return pulumix.Output[GoogleCloudMemcacheV1MaintenancePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The time when the policy was created. func (o GoogleCloudMemcacheV1MaintenancePolicyResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMemcacheV1MaintenancePolicyResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -260,6 +291,12 @@ func (i InstanceMessageArgs) ToInstanceMessageOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(InstanceMessageOutput) } +func (i InstanceMessageArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceMessage] { + return pulumix.Output[InstanceMessage]{ + OutputState: i.ToInstanceMessageOutputWithContext(ctx).OutputState, + } +} + // InstanceMessageArrayInput is an input type that accepts InstanceMessageArray and InstanceMessageArrayOutput values. // You can construct a concrete instance of `InstanceMessageArrayInput` via: // @@ -285,6 +322,12 @@ func (i InstanceMessageArray) ToInstanceMessageArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InstanceMessageArrayOutput) } +func (i InstanceMessageArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceMessage] { + return pulumix.Output[[]InstanceMessage]{ + OutputState: i.ToInstanceMessageArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceMessageOutput struct{ *pulumi.OutputState } func (InstanceMessageOutput) ElementType() reflect.Type { @@ -299,6 +342,12 @@ func (o InstanceMessageOutput) ToInstanceMessageOutputWithContext(ctx context.Co return o } +func (o InstanceMessageOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceMessage] { + return pulumix.Output[InstanceMessage]{ + OutputState: o.OutputState, + } +} + // A code that correspond to one type of user-facing message. func (o InstanceMessageOutput) Code() InstanceMessageCodePtrOutput { return o.ApplyT(func(v InstanceMessage) *InstanceMessageCode { return v.Code }).(InstanceMessageCodePtrOutput) @@ -323,6 +372,12 @@ func (o InstanceMessageArrayOutput) ToInstanceMessageArrayOutputWithContext(ctx return o } +func (o InstanceMessageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceMessage] { + return pulumix.Output[[]InstanceMessage]{ + OutputState: o.OutputState, + } +} + func (o InstanceMessageArrayOutput) Index(i pulumi.IntInput) InstanceMessageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceMessage { return vs[0].([]InstanceMessage)[vs[1].(int)] @@ -350,6 +405,12 @@ func (o InstanceMessageResponseOutput) ToInstanceMessageResponseOutputWithContex return o } +func (o InstanceMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceMessageResponse] { + return pulumix.Output[InstanceMessageResponse]{ + OutputState: o.OutputState, + } +} + // A code that correspond to one type of user-facing message. func (o InstanceMessageResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v InstanceMessageResponse) string { return v.Code }).(pulumi.StringOutput) @@ -374,6 +435,12 @@ func (o InstanceMessageResponseArrayOutput) ToInstanceMessageResponseArrayOutput return o } +func (o InstanceMessageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceMessageResponse] { + return pulumix.Output[[]InstanceMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceMessageResponseArrayOutput) Index(i pulumi.IntInput) InstanceMessageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceMessageResponse { return vs[0].([]InstanceMessageResponse)[vs[1].(int)] @@ -405,6 +472,12 @@ func (o MaintenanceScheduleResponseOutput) ToMaintenanceScheduleResponseOutputWi return o } +func (o MaintenanceScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceScheduleResponse] { + return pulumix.Output[MaintenanceScheduleResponse]{ + OutputState: o.OutputState, + } +} + // The end time of any upcoming scheduled maintenance for this instance. func (o MaintenanceScheduleResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceScheduleResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -453,6 +526,12 @@ func (i MemcacheParametersArgs) ToMemcacheParametersOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(MemcacheParametersOutput) } +func (i MemcacheParametersArgs) ToOutput(ctx context.Context) pulumix.Output[MemcacheParameters] { + return pulumix.Output[MemcacheParameters]{ + OutputState: i.ToMemcacheParametersOutputWithContext(ctx).OutputState, + } +} + func (i MemcacheParametersArgs) ToMemcacheParametersPtrOutput() MemcacheParametersPtrOutput { return i.ToMemcacheParametersPtrOutputWithContext(context.Background()) } @@ -494,6 +573,12 @@ func (i *memcacheParametersPtrType) ToMemcacheParametersPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(MemcacheParametersPtrOutput) } +func (i *memcacheParametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*MemcacheParameters] { + return pulumix.Output[*MemcacheParameters]{ + OutputState: i.ToMemcacheParametersPtrOutputWithContext(ctx).OutputState, + } +} + type MemcacheParametersOutput struct{ *pulumi.OutputState } func (MemcacheParametersOutput) ElementType() reflect.Type { @@ -518,6 +603,12 @@ func (o MemcacheParametersOutput) ToMemcacheParametersPtrOutputWithContext(ctx c }).(MemcacheParametersPtrOutput) } +func (o MemcacheParametersOutput) ToOutput(ctx context.Context) pulumix.Output[MemcacheParameters] { + return pulumix.Output[MemcacheParameters]{ + OutputState: o.OutputState, + } +} + // User defined set of parameters to use in the memcached process. func (o MemcacheParametersOutput) Params() pulumi.StringMapOutput { return o.ApplyT(func(v MemcacheParameters) map[string]string { return v.Params }).(pulumi.StringMapOutput) @@ -537,6 +628,12 @@ func (o MemcacheParametersPtrOutput) ToMemcacheParametersPtrOutputWithContext(ct return o } +func (o MemcacheParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MemcacheParameters] { + return pulumix.Output[*MemcacheParameters]{ + OutputState: o.OutputState, + } +} + func (o MemcacheParametersPtrOutput) Elem() MemcacheParametersOutput { return o.ApplyT(func(v *MemcacheParameters) MemcacheParameters { if v != nil { @@ -576,6 +673,12 @@ func (o MemcacheParametersResponseOutput) ToMemcacheParametersResponseOutputWith return o } +func (o MemcacheParametersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MemcacheParametersResponse] { + return pulumix.Output[MemcacheParametersResponse]{ + OutputState: o.OutputState, + } +} + // User defined set of parameters to use in the memcached process. func (o MemcacheParametersResponseOutput) Params() pulumi.StringMapOutput { return o.ApplyT(func(v MemcacheParametersResponse) map[string]string { return v.Params }).(pulumi.StringMapOutput) @@ -620,6 +723,12 @@ func (i NodeConfigArgs) ToNodeConfigOutputWithContext(ctx context.Context) NodeC return pulumi.ToOutputWithContext(ctx, i).(NodeConfigOutput) } +func (i NodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: i.ToNodeConfigOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Memcached Node. type NodeConfigOutput struct{ *pulumi.OutputState } @@ -635,6 +744,12 @@ func (o NodeConfigOutput) ToNodeConfigOutputWithContext(ctx context.Context) Nod return o } +func (o NodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: o.OutputState, + } +} + // Number of cpus per Memcached node. func (o NodeConfigOutput) CpuCount() pulumi.IntOutput { return o.ApplyT(func(v NodeConfig) int { return v.CpuCount }).(pulumi.IntOutput) @@ -668,6 +783,12 @@ func (o NodeConfigResponseOutput) ToNodeConfigResponseOutputWithContext(ctx cont return o } +func (o NodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigResponse] { + return pulumix.Output[NodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Number of cpus per Memcached node. func (o NodeConfigResponseOutput) CpuCount() pulumi.IntOutput { return o.ApplyT(func(v NodeConfigResponse) int { return v.CpuCount }).(pulumi.IntOutput) @@ -707,6 +828,12 @@ func (o NodeResponseOutput) ToNodeResponseOutputWithContext(ctx context.Context) return o } +func (o NodeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeResponse] { + return pulumix.Output[NodeResponse]{ + OutputState: o.OutputState, + } +} + // Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node. func (o NodeResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v NodeResponse) string { return v.Host }).(pulumi.StringOutput) @@ -751,6 +878,12 @@ func (o NodeResponseArrayOutput) ToNodeResponseArrayOutputWithContext(ctx contex return o } +func (o NodeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeResponse] { + return pulumix.Output[[]NodeResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeResponseArrayOutput) Index(i pulumi.IntInput) NodeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeResponse { return vs[0].([]NodeResponse)[vs[1].(int)] @@ -804,6 +937,12 @@ func (i TimeOfDayArgs) ToTimeOfDayOutputWithContext(ctx context.Context) TimeOfD return pulumi.ToOutputWithContext(ctx, i).(TimeOfDayOutput) } +func (i TimeOfDayArgs) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: i.ToTimeOfDayOutputWithContext(ctx).OutputState, + } +} + // Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. type TimeOfDayOutput struct{ *pulumi.OutputState } @@ -819,6 +958,12 @@ func (o TimeOfDayOutput) ToTimeOfDayOutputWithContext(ctx context.Context) TimeO return o } +func (o TimeOfDayOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayOutput) Hours() pulumi.IntPtrOutput { return o.ApplyT(func(v TimeOfDay) *int { return v.Hours }).(pulumi.IntPtrOutput) @@ -866,6 +1011,12 @@ func (o TimeOfDayResponseOutput) ToTimeOfDayResponseOutputWithContext(ctx contex return o } +func (o TimeOfDayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDayResponse] { + return pulumix.Output[TimeOfDayResponse]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayResponseOutput) Hours() pulumi.IntOutput { return o.ApplyT(func(v TimeOfDayResponse) int { return v.Hours }).(pulumi.IntOutput) @@ -929,6 +1080,12 @@ func (i WeeklyMaintenanceWindowArgs) ToWeeklyMaintenanceWindowOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(WeeklyMaintenanceWindowOutput) } +func (i WeeklyMaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindow] { + return pulumix.Output[WeeklyMaintenanceWindow]{ + OutputState: i.ToWeeklyMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + // WeeklyMaintenanceWindowArrayInput is an input type that accepts WeeklyMaintenanceWindowArray and WeeklyMaintenanceWindowArrayOutput values. // You can construct a concrete instance of `WeeklyMaintenanceWindowArrayInput` via: // @@ -954,6 +1111,12 @@ func (i WeeklyMaintenanceWindowArray) ToWeeklyMaintenanceWindowArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(WeeklyMaintenanceWindowArrayOutput) } +func (i WeeklyMaintenanceWindowArray) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindow] { + return pulumix.Output[[]WeeklyMaintenanceWindow]{ + OutputState: i.ToWeeklyMaintenanceWindowArrayOutputWithContext(ctx).OutputState, + } +} + // Time window specified for weekly operations. type WeeklyMaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -969,6 +1132,12 @@ func (o WeeklyMaintenanceWindowOutput) ToWeeklyMaintenanceWindowOutputWithContex return o } +func (o WeeklyMaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindow] { + return pulumix.Output[WeeklyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // Allows to define schedule that runs specified day of the week. func (o WeeklyMaintenanceWindowOutput) Day() WeeklyMaintenanceWindowDayOutput { return o.ApplyT(func(v WeeklyMaintenanceWindow) WeeklyMaintenanceWindowDay { return v.Day }).(WeeklyMaintenanceWindowDayOutput) @@ -998,6 +1167,12 @@ func (o WeeklyMaintenanceWindowArrayOutput) ToWeeklyMaintenanceWindowArrayOutput return o } +func (o WeeklyMaintenanceWindowArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindow] { + return pulumix.Output[[]WeeklyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowArrayOutput) Index(i pulumi.IntInput) WeeklyMaintenanceWindowOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeeklyMaintenanceWindow { return vs[0].([]WeeklyMaintenanceWindow)[vs[1].(int)] @@ -1029,6 +1204,12 @@ func (o WeeklyMaintenanceWindowResponseOutput) ToWeeklyMaintenanceWindowResponse return o } +func (o WeeklyMaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindowResponse] { + return pulumix.Output[WeeklyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // Allows to define schedule that runs specified day of the week. func (o WeeklyMaintenanceWindowResponseOutput) Day() pulumi.StringOutput { return o.ApplyT(func(v WeeklyMaintenanceWindowResponse) string { return v.Day }).(pulumi.StringOutput) @@ -1058,6 +1239,12 @@ func (o WeeklyMaintenanceWindowResponseArrayOutput) ToWeeklyMaintenanceWindowRes return o } +func (o WeeklyMaintenanceWindowResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindowResponse] { + return pulumix.Output[[]WeeklyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowResponseArrayOutput) Index(i pulumi.IntInput) WeeklyMaintenanceWindowResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeeklyMaintenanceWindowResponse { return vs[0].([]WeeklyMaintenanceWindowResponse)[vs[1].(int)] diff --git a/sdk/go/google/memcache/v1beta2/getInstance.go b/sdk/go/google/memcache/v1beta2/getInstance.go index 02d85b5348..3d2c9e9beb 100644 --- a/sdk/go/google/memcache/v1beta2/getInstance.go +++ b/sdk/go/google/memcache/v1beta2/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Instance. @@ -106,6 +107,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used. func (o LookupInstanceResultOutput) AuthorizedNetwork() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceResult) string { return v.AuthorizedNetwork }).(pulumi.StringOutput) diff --git a/sdk/go/google/memcache/v1beta2/instance.go b/sdk/go/google/memcache/v1beta2/instance.go index 3691b31c66..34a4e6747b 100644 --- a/sdk/go/google/memcache/v1beta2/instance.go +++ b/sdk/go/google/memcache/v1beta2/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Instance in a given location. @@ -196,6 +197,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -210,6 +217,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // The full name of the Google Compute Engine [network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected. If left unspecified, the `default` network will be used. func (o InstanceOutput) AuthorizedNetwork() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.AuthorizedNetwork }).(pulumi.StringOutput) diff --git a/sdk/go/google/memcache/v1beta2/pulumiEnums.go b/sdk/go/google/memcache/v1beta2/pulumiEnums.go index 187783689b..77f29417ed 100644 --- a/sdk/go/google/memcache/v1beta2/pulumiEnums.go +++ b/sdk/go/google/memcache/v1beta2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is `MEMCACHE_1_5`. The minor version will be automatically determined by our system based on the latest supported minor version. @@ -80,6 +81,12 @@ func (o InstanceMemcacheVersionOutput) ToInstanceMemcacheVersionPtrOutputWithCon }).(InstanceMemcacheVersionPtrOutput) } +func (o InstanceMemcacheVersionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceMemcacheVersion] { + return pulumix.Output[InstanceMemcacheVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceMemcacheVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o InstanceMemcacheVersionPtrOutput) ToInstanceMemcacheVersionPtrOutputWith return o } +func (o InstanceMemcacheVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceMemcacheVersion] { + return pulumix.Output[*InstanceMemcacheVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceMemcacheVersionPtrOutput) Elem() InstanceMemcacheVersionOutput { return o.ApplyT(func(v *InstanceMemcacheVersion) InstanceMemcacheVersion { if v != nil { @@ -177,6 +190,12 @@ func (in *instanceMemcacheVersionPtr) ToInstanceMemcacheVersionPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(InstanceMemcacheVersionPtrOutput) } +func (in *instanceMemcacheVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceMemcacheVersion] { + return pulumix.Output[*InstanceMemcacheVersion]{ + OutputState: in.ToInstanceMemcacheVersionPtrOutputWithContext(ctx).OutputState, + } +} + // A code that correspond to one type of user-facing message. type InstanceMessageCode string @@ -247,6 +266,12 @@ func (o InstanceMessageCodeOutput) ToInstanceMessageCodePtrOutputWithContext(ctx }).(InstanceMessageCodePtrOutput) } +func (o InstanceMessageCodeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceMessageCode] { + return pulumix.Output[InstanceMessageCode]{ + OutputState: o.OutputState, + } +} + func (o InstanceMessageCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -282,6 +307,12 @@ func (o InstanceMessageCodePtrOutput) ToInstanceMessageCodePtrOutputWithContext( return o } +func (o InstanceMessageCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceMessageCode] { + return pulumix.Output[*InstanceMessageCode]{ + OutputState: o.OutputState, + } +} + func (o InstanceMessageCodePtrOutput) Elem() InstanceMessageCodeOutput { return o.ApplyT(func(v *InstanceMessageCode) InstanceMessageCode { if v != nil { @@ -344,6 +375,12 @@ func (in *instanceMessageCodePtr) ToInstanceMessageCodePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(InstanceMessageCodePtrOutput) } +func (in *instanceMessageCodePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceMessageCode] { + return pulumix.Output[*InstanceMessageCode]{ + OutputState: in.ToInstanceMessageCodePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Allows to define schedule that runs specified day of the week. type WeeklyMaintenanceWindowDay string @@ -426,6 +463,12 @@ func (o WeeklyMaintenanceWindowDayOutput) ToWeeklyMaintenanceWindowDayPtrOutputW }).(WeeklyMaintenanceWindowDayPtrOutput) } +func (o WeeklyMaintenanceWindowDayOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindowDay] { + return pulumix.Output[WeeklyMaintenanceWindowDay]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowDayOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o WeeklyMaintenanceWindowDayPtrOutput) ToWeeklyMaintenanceWindowDayPtrOutp return o } +func (o WeeklyMaintenanceWindowDayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WeeklyMaintenanceWindowDay] { + return pulumix.Output[*WeeklyMaintenanceWindowDay]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowDayPtrOutput) Elem() WeeklyMaintenanceWindowDayOutput { return o.ApplyT(func(v *WeeklyMaintenanceWindowDay) WeeklyMaintenanceWindowDay { if v != nil { @@ -523,6 +572,12 @@ func (in *weeklyMaintenanceWindowDayPtr) ToWeeklyMaintenanceWindowDayPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(WeeklyMaintenanceWindowDayPtrOutput) } +func (in *weeklyMaintenanceWindowDayPtr) ToOutput(ctx context.Context) pulumix.Output[*WeeklyMaintenanceWindowDay] { + return pulumix.Output[*WeeklyMaintenanceWindowDay]{ + OutputState: in.ToWeeklyMaintenanceWindowDayPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceMemcacheVersionInput)(nil)).Elem(), InstanceMemcacheVersion("MEMCACHE_VERSION_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*InstanceMemcacheVersionPtrInput)(nil)).Elem(), InstanceMemcacheVersion("MEMCACHE_VERSION_UNSPECIFIED")) diff --git a/sdk/go/google/memcache/v1beta2/pulumiTypes.go b/sdk/go/google/memcache/v1beta2/pulumiTypes.go index 37d5b1741a..138386d8ad 100644 --- a/sdk/go/google/memcache/v1beta2/pulumiTypes.go +++ b/sdk/go/google/memcache/v1beta2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudMemcacheV1beta2MaintenancePolicyArgs) ToGoogleCloudMemcacheV1 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMemcacheV1beta2MaintenancePolicyOutput) } +func (i GoogleCloudMemcacheV1beta2MaintenancePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMemcacheV1beta2MaintenancePolicy] { + return pulumix.Output[GoogleCloudMemcacheV1beta2MaintenancePolicy]{ + OutputState: i.ToGoogleCloudMemcacheV1beta2MaintenancePolicyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMemcacheV1beta2MaintenancePolicyArgs) ToGoogleCloudMemcacheV1beta2MaintenancePolicyPtrOutput() GoogleCloudMemcacheV1beta2MaintenancePolicyPtrOutput { return i.ToGoogleCloudMemcacheV1beta2MaintenancePolicyPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleCloudMemcacheV1beta2MaintenancePolicyPtrType) ToGoogleCloudMemcac return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMemcacheV1beta2MaintenancePolicyPtrOutput) } +func (i *googleCloudMemcacheV1beta2MaintenancePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMemcacheV1beta2MaintenancePolicy] { + return pulumix.Output[*GoogleCloudMemcacheV1beta2MaintenancePolicy]{ + OutputState: i.ToGoogleCloudMemcacheV1beta2MaintenancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance policy per instance. type GoogleCloudMemcacheV1beta2MaintenancePolicyOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleCloudMemcacheV1beta2MaintenancePolicyOutput) ToGoogleCloudMemcache }).(GoogleCloudMemcacheV1beta2MaintenancePolicyPtrOutput) } +func (o GoogleCloudMemcacheV1beta2MaintenancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMemcacheV1beta2MaintenancePolicy] { + return pulumix.Output[GoogleCloudMemcacheV1beta2MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + // Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512. func (o GoogleCloudMemcacheV1beta2MaintenancePolicyOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMemcacheV1beta2MaintenancePolicy) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -144,6 +163,12 @@ func (o GoogleCloudMemcacheV1beta2MaintenancePolicyPtrOutput) ToGoogleCloudMemca return o } +func (o GoogleCloudMemcacheV1beta2MaintenancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMemcacheV1beta2MaintenancePolicy] { + return pulumix.Output[*GoogleCloudMemcacheV1beta2MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMemcacheV1beta2MaintenancePolicyPtrOutput) Elem() GoogleCloudMemcacheV1beta2MaintenancePolicyOutput { return o.ApplyT(func(v *GoogleCloudMemcacheV1beta2MaintenancePolicy) GoogleCloudMemcacheV1beta2MaintenancePolicy { if v != nil { @@ -201,6 +226,12 @@ func (o GoogleCloudMemcacheV1beta2MaintenancePolicyResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudMemcacheV1beta2MaintenancePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMemcacheV1beta2MaintenancePolicyResponse] { + return pulumix.Output[GoogleCloudMemcacheV1beta2MaintenancePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The time when the policy was created. func (o GoogleCloudMemcacheV1beta2MaintenancePolicyResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMemcacheV1beta2MaintenancePolicyResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -260,6 +291,12 @@ func (i InstanceMessageArgs) ToInstanceMessageOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(InstanceMessageOutput) } +func (i InstanceMessageArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceMessage] { + return pulumix.Output[InstanceMessage]{ + OutputState: i.ToInstanceMessageOutputWithContext(ctx).OutputState, + } +} + // InstanceMessageArrayInput is an input type that accepts InstanceMessageArray and InstanceMessageArrayOutput values. // You can construct a concrete instance of `InstanceMessageArrayInput` via: // @@ -285,6 +322,12 @@ func (i InstanceMessageArray) ToInstanceMessageArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InstanceMessageArrayOutput) } +func (i InstanceMessageArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceMessage] { + return pulumix.Output[[]InstanceMessage]{ + OutputState: i.ToInstanceMessageArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceMessageOutput struct{ *pulumi.OutputState } func (InstanceMessageOutput) ElementType() reflect.Type { @@ -299,6 +342,12 @@ func (o InstanceMessageOutput) ToInstanceMessageOutputWithContext(ctx context.Co return o } +func (o InstanceMessageOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceMessage] { + return pulumix.Output[InstanceMessage]{ + OutputState: o.OutputState, + } +} + // A code that correspond to one type of user-facing message. func (o InstanceMessageOutput) Code() InstanceMessageCodePtrOutput { return o.ApplyT(func(v InstanceMessage) *InstanceMessageCode { return v.Code }).(InstanceMessageCodePtrOutput) @@ -323,6 +372,12 @@ func (o InstanceMessageArrayOutput) ToInstanceMessageArrayOutputWithContext(ctx return o } +func (o InstanceMessageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceMessage] { + return pulumix.Output[[]InstanceMessage]{ + OutputState: o.OutputState, + } +} + func (o InstanceMessageArrayOutput) Index(i pulumi.IntInput) InstanceMessageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceMessage { return vs[0].([]InstanceMessage)[vs[1].(int)] @@ -350,6 +405,12 @@ func (o InstanceMessageResponseOutput) ToInstanceMessageResponseOutputWithContex return o } +func (o InstanceMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceMessageResponse] { + return pulumix.Output[InstanceMessageResponse]{ + OutputState: o.OutputState, + } +} + // A code that correspond to one type of user-facing message. func (o InstanceMessageResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v InstanceMessageResponse) string { return v.Code }).(pulumi.StringOutput) @@ -374,6 +435,12 @@ func (o InstanceMessageResponseArrayOutput) ToInstanceMessageResponseArrayOutput return o } +func (o InstanceMessageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceMessageResponse] { + return pulumix.Output[[]InstanceMessageResponse]{ + OutputState: o.OutputState, + } +} + func (o InstanceMessageResponseArrayOutput) Index(i pulumi.IntInput) InstanceMessageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceMessageResponse { return vs[0].([]InstanceMessageResponse)[vs[1].(int)] @@ -405,6 +472,12 @@ func (o MaintenanceScheduleResponseOutput) ToMaintenanceScheduleResponseOutputWi return o } +func (o MaintenanceScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceScheduleResponse] { + return pulumix.Output[MaintenanceScheduleResponse]{ + OutputState: o.OutputState, + } +} + // The end time of any upcoming scheduled maintenance for this instance. func (o MaintenanceScheduleResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceScheduleResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -453,6 +526,12 @@ func (i MemcacheParametersArgs) ToMemcacheParametersOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(MemcacheParametersOutput) } +func (i MemcacheParametersArgs) ToOutput(ctx context.Context) pulumix.Output[MemcacheParameters] { + return pulumix.Output[MemcacheParameters]{ + OutputState: i.ToMemcacheParametersOutputWithContext(ctx).OutputState, + } +} + func (i MemcacheParametersArgs) ToMemcacheParametersPtrOutput() MemcacheParametersPtrOutput { return i.ToMemcacheParametersPtrOutputWithContext(context.Background()) } @@ -494,6 +573,12 @@ func (i *memcacheParametersPtrType) ToMemcacheParametersPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(MemcacheParametersPtrOutput) } +func (i *memcacheParametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*MemcacheParameters] { + return pulumix.Output[*MemcacheParameters]{ + OutputState: i.ToMemcacheParametersPtrOutputWithContext(ctx).OutputState, + } +} + type MemcacheParametersOutput struct{ *pulumi.OutputState } func (MemcacheParametersOutput) ElementType() reflect.Type { @@ -518,6 +603,12 @@ func (o MemcacheParametersOutput) ToMemcacheParametersPtrOutputWithContext(ctx c }).(MemcacheParametersPtrOutput) } +func (o MemcacheParametersOutput) ToOutput(ctx context.Context) pulumix.Output[MemcacheParameters] { + return pulumix.Output[MemcacheParameters]{ + OutputState: o.OutputState, + } +} + // User defined set of parameters to use in the memcached process. func (o MemcacheParametersOutput) Params() pulumi.StringMapOutput { return o.ApplyT(func(v MemcacheParameters) map[string]string { return v.Params }).(pulumi.StringMapOutput) @@ -537,6 +628,12 @@ func (o MemcacheParametersPtrOutput) ToMemcacheParametersPtrOutputWithContext(ct return o } +func (o MemcacheParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MemcacheParameters] { + return pulumix.Output[*MemcacheParameters]{ + OutputState: o.OutputState, + } +} + func (o MemcacheParametersPtrOutput) Elem() MemcacheParametersOutput { return o.ApplyT(func(v *MemcacheParameters) MemcacheParameters { if v != nil { @@ -576,6 +673,12 @@ func (o MemcacheParametersResponseOutput) ToMemcacheParametersResponseOutputWith return o } +func (o MemcacheParametersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MemcacheParametersResponse] { + return pulumix.Output[MemcacheParametersResponse]{ + OutputState: o.OutputState, + } +} + // User defined set of parameters to use in the memcached process. func (o MemcacheParametersResponseOutput) Params() pulumi.StringMapOutput { return o.ApplyT(func(v MemcacheParametersResponse) map[string]string { return v.Params }).(pulumi.StringMapOutput) @@ -620,6 +723,12 @@ func (i NodeConfigArgs) ToNodeConfigOutputWithContext(ctx context.Context) NodeC return pulumi.ToOutputWithContext(ctx, i).(NodeConfigOutput) } +func (i NodeConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: i.ToNodeConfigOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Memcached Node. type NodeConfigOutput struct{ *pulumi.OutputState } @@ -635,6 +744,12 @@ func (o NodeConfigOutput) ToNodeConfigOutputWithContext(ctx context.Context) Nod return o } +func (o NodeConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfig] { + return pulumix.Output[NodeConfig]{ + OutputState: o.OutputState, + } +} + // Number of cpus per Memcached node. func (o NodeConfigOutput) CpuCount() pulumi.IntOutput { return o.ApplyT(func(v NodeConfig) int { return v.CpuCount }).(pulumi.IntOutput) @@ -668,6 +783,12 @@ func (o NodeConfigResponseOutput) ToNodeConfigResponseOutputWithContext(ctx cont return o } +func (o NodeConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeConfigResponse] { + return pulumix.Output[NodeConfigResponse]{ + OutputState: o.OutputState, + } +} + // Number of cpus per Memcached node. func (o NodeConfigResponseOutput) CpuCount() pulumi.IntOutput { return o.ApplyT(func(v NodeConfigResponse) int { return v.CpuCount }).(pulumi.IntOutput) @@ -709,6 +830,12 @@ func (o NodeResponseOutput) ToNodeResponseOutputWithContext(ctx context.Context) return o } +func (o NodeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeResponse] { + return pulumix.Output[NodeResponse]{ + OutputState: o.OutputState, + } +} + // Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node. func (o NodeResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v NodeResponse) string { return v.Host }).(pulumi.StringOutput) @@ -758,6 +885,12 @@ func (o NodeResponseArrayOutput) ToNodeResponseArrayOutputWithContext(ctx contex return o } +func (o NodeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeResponse] { + return pulumix.Output[[]NodeResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeResponseArrayOutput) Index(i pulumi.IntInput) NodeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeResponse { return vs[0].([]NodeResponse)[vs[1].(int)] @@ -811,6 +944,12 @@ func (i TimeOfDayArgs) ToTimeOfDayOutputWithContext(ctx context.Context) TimeOfD return pulumi.ToOutputWithContext(ctx, i).(TimeOfDayOutput) } +func (i TimeOfDayArgs) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: i.ToTimeOfDayOutputWithContext(ctx).OutputState, + } +} + // Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. type TimeOfDayOutput struct{ *pulumi.OutputState } @@ -826,6 +965,12 @@ func (o TimeOfDayOutput) ToTimeOfDayOutputWithContext(ctx context.Context) TimeO return o } +func (o TimeOfDayOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayOutput) Hours() pulumi.IntPtrOutput { return o.ApplyT(func(v TimeOfDay) *int { return v.Hours }).(pulumi.IntPtrOutput) @@ -873,6 +1018,12 @@ func (o TimeOfDayResponseOutput) ToTimeOfDayResponseOutputWithContext(ctx contex return o } +func (o TimeOfDayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDayResponse] { + return pulumix.Output[TimeOfDayResponse]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayResponseOutput) Hours() pulumi.IntOutput { return o.ApplyT(func(v TimeOfDayResponse) int { return v.Hours }).(pulumi.IntOutput) @@ -936,6 +1087,12 @@ func (i WeeklyMaintenanceWindowArgs) ToWeeklyMaintenanceWindowOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(WeeklyMaintenanceWindowOutput) } +func (i WeeklyMaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindow] { + return pulumix.Output[WeeklyMaintenanceWindow]{ + OutputState: i.ToWeeklyMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + // WeeklyMaintenanceWindowArrayInput is an input type that accepts WeeklyMaintenanceWindowArray and WeeklyMaintenanceWindowArrayOutput values. // You can construct a concrete instance of `WeeklyMaintenanceWindowArrayInput` via: // @@ -961,6 +1118,12 @@ func (i WeeklyMaintenanceWindowArray) ToWeeklyMaintenanceWindowArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(WeeklyMaintenanceWindowArrayOutput) } +func (i WeeklyMaintenanceWindowArray) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindow] { + return pulumix.Output[[]WeeklyMaintenanceWindow]{ + OutputState: i.ToWeeklyMaintenanceWindowArrayOutputWithContext(ctx).OutputState, + } +} + // Time window specified for weekly operations. type WeeklyMaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -976,6 +1139,12 @@ func (o WeeklyMaintenanceWindowOutput) ToWeeklyMaintenanceWindowOutputWithContex return o } +func (o WeeklyMaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindow] { + return pulumix.Output[WeeklyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // Allows to define schedule that runs specified day of the week. func (o WeeklyMaintenanceWindowOutput) Day() WeeklyMaintenanceWindowDayOutput { return o.ApplyT(func(v WeeklyMaintenanceWindow) WeeklyMaintenanceWindowDay { return v.Day }).(WeeklyMaintenanceWindowDayOutput) @@ -1005,6 +1174,12 @@ func (o WeeklyMaintenanceWindowArrayOutput) ToWeeklyMaintenanceWindowArrayOutput return o } +func (o WeeklyMaintenanceWindowArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindow] { + return pulumix.Output[[]WeeklyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowArrayOutput) Index(i pulumi.IntInput) WeeklyMaintenanceWindowOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeeklyMaintenanceWindow { return vs[0].([]WeeklyMaintenanceWindow)[vs[1].(int)] @@ -1036,6 +1211,12 @@ func (o WeeklyMaintenanceWindowResponseOutput) ToWeeklyMaintenanceWindowResponse return o } +func (o WeeklyMaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindowResponse] { + return pulumix.Output[WeeklyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // Allows to define schedule that runs specified day of the week. func (o WeeklyMaintenanceWindowResponseOutput) Day() pulumi.StringOutput { return o.ApplyT(func(v WeeklyMaintenanceWindowResponse) string { return v.Day }).(pulumi.StringOutput) @@ -1065,6 +1246,12 @@ func (o WeeklyMaintenanceWindowResponseArrayOutput) ToWeeklyMaintenanceWindowRes return o } +func (o WeeklyMaintenanceWindowResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindowResponse] { + return pulumix.Output[[]WeeklyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowResponseArrayOutput) Index(i pulumi.IntInput) WeeklyMaintenanceWindowResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeeklyMaintenanceWindowResponse { return vs[0].([]WeeklyMaintenanceWindowResponse)[vs[1].(int)] diff --git a/sdk/go/google/metastore/v1/backup.go b/sdk/go/google/metastore/v1/backup.go index 2385398048..a0051b6682 100644 --- a/sdk/go/google/metastore/v1/backup.go +++ b/sdk/go/google/metastore/v1/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new backup in a given project and location. @@ -143,6 +144,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens. func (o BackupOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *Backup) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1/federation.go b/sdk/go/google/metastore/v1/federation.go index abf79af576..7da7b59775 100644 --- a/sdk/go/google/metastore/v1/federation.go +++ b/sdk/go/google/metastore/v1/federation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a metastore federation in a project and location. @@ -150,6 +151,12 @@ func (i *Federation) ToFederationOutputWithContext(ctx context.Context) Federati return pulumi.ToOutputWithContext(ctx, i).(FederationOutput) } +func (i *Federation) ToOutput(ctx context.Context) pulumix.Output[*Federation] { + return pulumix.Output[*Federation]{ + OutputState: i.ToFederationOutputWithContext(ctx).OutputState, + } +} + type FederationOutput struct{ *pulumi.OutputState } func (FederationOutput) ElementType() reflect.Type { @@ -164,6 +171,12 @@ func (o FederationOutput) ToFederationOutputWithContext(ctx context.Context) Fed return o } +func (o FederationOutput) ToOutput(ctx context.Context) pulumix.Output[*Federation] { + return pulumix.Output[*Federation]{ + OutputState: o.OutputState, + } +} + // A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number. func (o FederationOutput) BackendMetastores() pulumi.StringMapOutput { return o.ApplyT(func(v *Federation) pulumi.StringMapOutput { return v.BackendMetastores }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/metastore/v1/federationIamBinding.go b/sdk/go/google/metastore/v1/federationIamBinding.go index 2ce66658f0..0c21d098ab 100644 --- a/sdk/go/google/metastore/v1/federationIamBinding.go +++ b/sdk/go/google/metastore/v1/federationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *FederationIamBinding) ToFederationIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(FederationIamBindingOutput) } +func (i *FederationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FederationIamBinding] { + return pulumix.Output[*FederationIamBinding]{ + OutputState: i.ToFederationIamBindingOutputWithContext(ctx).OutputState, + } +} + type FederationIamBindingOutput struct{ *pulumi.OutputState } func (FederationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FederationIamBindingOutput) ToFederationIamBindingOutputWithContext(ctx return o } +func (o FederationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FederationIamBinding] { + return pulumix.Output[*FederationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FederationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FederationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1/federationIamMember.go b/sdk/go/google/metastore/v1/federationIamMember.go index a6a07ce68b..82a563690d 100644 --- a/sdk/go/google/metastore/v1/federationIamMember.go +++ b/sdk/go/google/metastore/v1/federationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *FederationIamMember) ToFederationIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FederationIamMemberOutput) } +func (i *FederationIamMember) ToOutput(ctx context.Context) pulumix.Output[*FederationIamMember] { + return pulumix.Output[*FederationIamMember]{ + OutputState: i.ToFederationIamMemberOutputWithContext(ctx).OutputState, + } +} + type FederationIamMemberOutput struct{ *pulumi.OutputState } func (FederationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FederationIamMemberOutput) ToFederationIamMemberOutputWithContext(ctx co return o } +func (o FederationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FederationIamMember] { + return pulumix.Output[*FederationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FederationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FederationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1/federationIamPolicy.go b/sdk/go/google/metastore/v1/federationIamPolicy.go index ab163ce9b1..9aff72f5da 100644 --- a/sdk/go/google/metastore/v1/federationIamPolicy.go +++ b/sdk/go/google/metastore/v1/federationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *FederationIamPolicy) ToFederationIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FederationIamPolicyOutput) } +func (i *FederationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FederationIamPolicy] { + return pulumix.Output[*FederationIamPolicy]{ + OutputState: i.ToFederationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FederationIamPolicyOutput struct{ *pulumi.OutputState } func (FederationIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FederationIamPolicyOutput) ToFederationIamPolicyOutputWithContext(ctx co return o } +func (o FederationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FederationIamPolicy] { + return pulumix.Output[*FederationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FederationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FederationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1/getBackup.go b/sdk/go/google/metastore/v1/getBackup.go index 8c245dbff7..8fac6ba388 100644 --- a/sdk/go/google/metastore/v1/getBackup.go +++ b/sdk/go/google/metastore/v1/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single backup. @@ -84,6 +85,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // The time when the backup was started. func (o LookupBackupResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1/getFederation.go b/sdk/go/google/metastore/v1/getFederation.go index 329cb1ad2e..313391d395 100644 --- a/sdk/go/google/metastore/v1/getFederation.go +++ b/sdk/go/google/metastore/v1/getFederation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a single federation. @@ -88,6 +89,12 @@ func (o LookupFederationResultOutput) ToLookupFederationResultOutputWithContext( return o } +func (o LookupFederationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFederationResult] { + return pulumix.Output[LookupFederationResult]{ + OutputState: o.OutputState, + } +} + // A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number. func (o LookupFederationResultOutput) BackendMetastores() pulumi.StringMapOutput { return o.ApplyT(func(v LookupFederationResult) map[string]string { return v.BackendMetastores }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/metastore/v1/getFederationIamPolicy.go b/sdk/go/google/metastore/v1/getFederationIamPolicy.go index d35ef95d32..80df184481 100644 --- a/sdk/go/google/metastore/v1/getFederationIamPolicy.go +++ b/sdk/go/google/metastore/v1/getFederationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupFederationIamPolicyResultOutput) ToLookupFederationIamPolicyResult return o } +func (o LookupFederationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFederationIamPolicyResult] { + return pulumix.Output[LookupFederationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFederationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFederationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1/getMetadataImport.go b/sdk/go/google/metastore/v1/getMetadataImport.go index f17dcc4caf..f50360d163 100644 --- a/sdk/go/google/metastore/v1/getMetadataImport.go +++ b/sdk/go/google/metastore/v1/getMetadataImport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single import. @@ -84,6 +85,12 @@ func (o LookupMetadataImportResultOutput) ToLookupMetadataImportResultOutputWith return o } +func (o LookupMetadataImportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMetadataImportResult] { + return pulumix.Output[LookupMetadataImportResult]{ + OutputState: o.OutputState, + } +} + // The time when the metadata import was started. func (o LookupMetadataImportResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMetadataImportResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1/getService.go b/sdk/go/google/metastore/v1/getService.go index ffeb0341cb..a2c6bb91e1 100644 --- a/sdk/go/google/metastore/v1/getService.go +++ b/sdk/go/google/metastore/v1/getService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a single service. @@ -110,6 +111,12 @@ func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx co return o } +func (o LookupServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceResult] { + return pulumix.Output[LookupServiceResult]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. func (o LookupServiceResultOutput) ArtifactGcsUri() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceResult) string { return v.ArtifactGcsUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1/getServiceBackupIamPolicy.go b/sdk/go/google/metastore/v1/getServiceBackupIamPolicy.go index 9f7ae9f428..fb95b0ea68 100644 --- a/sdk/go/google/metastore/v1/getServiceBackupIamPolicy.go +++ b/sdk/go/google/metastore/v1/getServiceBackupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupServiceBackupIamPolicyResultOutput) ToLookupServiceBackupIamPolicy return o } +func (o LookupServiceBackupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceBackupIamPolicyResult] { + return pulumix.Output[LookupServiceBackupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceBackupIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceBackupIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1/getServiceIamPolicy.go b/sdk/go/google/metastore/v1/getServiceIamPolicy.go index 8ef1b976d6..8b8e6f1024 100644 --- a/sdk/go/google/metastore/v1/getServiceIamPolicy.go +++ b/sdk/go/google/metastore/v1/getServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupServiceIamPolicyResultOutput) ToLookupServiceIamPolicyResultOutput return o } +func (o LookupServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceIamPolicyResult] { + return pulumix.Output[LookupServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1/metadataImport.go b/sdk/go/google/metastore/v1/metadataImport.go index 2f8b2a4cb5..1f4a3638b6 100644 --- a/sdk/go/google/metastore/v1/metadataImport.go +++ b/sdk/go/google/metastore/v1/metadataImport.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new MetadataImport in a given project and location. @@ -149,6 +150,12 @@ func (i *MetadataImport) ToMetadataImportOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MetadataImportOutput) } +func (i *MetadataImport) ToOutput(ctx context.Context) pulumix.Output[*MetadataImport] { + return pulumix.Output[*MetadataImport]{ + OutputState: i.ToMetadataImportOutputWithContext(ctx).OutputState, + } +} + type MetadataImportOutput struct{ *pulumi.OutputState } func (MetadataImportOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o MetadataImportOutput) ToMetadataImportOutputWithContext(ctx context.Cont return o } +func (o MetadataImportOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataImport] { + return pulumix.Output[*MetadataImport]{ + OutputState: o.OutputState, + } +} + // The time when the metadata import was started. func (o MetadataImportOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *MetadataImport) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1/pulumiEnums.go b/sdk/go/google/metastore/v1/pulumiEnums.go index 0db4c8425e..a42c975e48 100644 --- a/sdk/go/google/metastore/v1/pulumiEnums.go +++ b/sdk/go/google/metastore/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the database. type DatabaseDumpDatabaseType string @@ -251,6 +270,12 @@ func (o DatabaseDumpDatabaseTypeOutput) ToDatabaseDumpDatabaseTypePtrOutputWithC }).(DatabaseDumpDatabaseTypePtrOutput) } +func (o DatabaseDumpDatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDumpDatabaseType] { + return pulumix.Output[DatabaseDumpDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpDatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o DatabaseDumpDatabaseTypePtrOutput) ToDatabaseDumpDatabaseTypePtrOutputWi return o } +func (o DatabaseDumpDatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpDatabaseType] { + return pulumix.Output[*DatabaseDumpDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpDatabaseTypePtrOutput) Elem() DatabaseDumpDatabaseTypeOutput { return o.ApplyT(func(v *DatabaseDumpDatabaseType) DatabaseDumpDatabaseType { if v != nil { @@ -348,6 +379,12 @@ func (in *databaseDumpDatabaseTypePtr) ToDatabaseDumpDatabaseTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DatabaseDumpDatabaseTypePtrOutput) } +func (in *databaseDumpDatabaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpDatabaseType] { + return pulumix.Output[*DatabaseDumpDatabaseType]{ + OutputState: in.ToDatabaseDumpDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The type of the database dump. If unspecified, defaults to MYSQL. type DatabaseDumpType string @@ -420,6 +457,12 @@ func (o DatabaseDumpTypeOutput) ToDatabaseDumpTypePtrOutputWithContext(ctx conte }).(DatabaseDumpTypePtrOutput) } +func (o DatabaseDumpTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDumpType] { + return pulumix.Output[DatabaseDumpType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o DatabaseDumpTypePtrOutput) ToDatabaseDumpTypePtrOutputWithContext(ctx co return o } +func (o DatabaseDumpTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpType] { + return pulumix.Output[*DatabaseDumpType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpTypePtrOutput) Elem() DatabaseDumpTypeOutput { return o.ApplyT(func(v *DatabaseDumpType) DatabaseDumpType { if v != nil { @@ -517,6 +566,12 @@ func (in *databaseDumpTypePtr) ToDatabaseDumpTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(DatabaseDumpTypePtrOutput) } +func (in *databaseDumpTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpType] { + return pulumix.Output[*DatabaseDumpType]{ + OutputState: in.ToDatabaseDumpTypePtrOutputWithContext(ctx).OutputState, + } +} + // The day of week, when the window starts. type MaintenanceWindowDayOfWeek string @@ -599,6 +654,12 @@ func (o MaintenanceWindowDayOfWeekOutput) ToMaintenanceWindowDayOfWeekPtrOutputW }).(MaintenanceWindowDayOfWeekPtrOutput) } +func (o MaintenanceWindowDayOfWeekOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowDayOfWeek] { + return pulumix.Output[MaintenanceWindowDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowDayOfWeekOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -634,6 +695,12 @@ func (o MaintenanceWindowDayOfWeekPtrOutput) ToMaintenanceWindowDayOfWeekPtrOutp return o } +func (o MaintenanceWindowDayOfWeekPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindowDayOfWeek] { + return pulumix.Output[*MaintenanceWindowDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowDayOfWeekPtrOutput) Elem() MaintenanceWindowDayOfWeekOutput { return o.ApplyT(func(v *MaintenanceWindowDayOfWeek) MaintenanceWindowDayOfWeek { if v != nil { @@ -696,6 +763,12 @@ func (in *maintenanceWindowDayOfWeekPtr) ToMaintenanceWindowDayOfWeekPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(MaintenanceWindowDayOfWeekPtrOutput) } +func (in *maintenanceWindowDayOfWeekPtr) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindowDayOfWeek] { + return pulumix.Output[*MaintenanceWindowDayOfWeek]{ + OutputState: in.ToMaintenanceWindowDayOfWeekPtrOutputWithContext(ctx).OutputState, + } +} + // An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) type ScalingConfigInstanceSize string @@ -774,6 +847,12 @@ func (o ScalingConfigInstanceSizeOutput) ToScalingConfigInstanceSizePtrOutputWit }).(ScalingConfigInstanceSizePtrOutput) } +func (o ScalingConfigInstanceSizeOutput) ToOutput(ctx context.Context) pulumix.Output[ScalingConfigInstanceSize] { + return pulumix.Output[ScalingConfigInstanceSize]{ + OutputState: o.OutputState, + } +} + func (o ScalingConfigInstanceSizeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -809,6 +888,12 @@ func (o ScalingConfigInstanceSizePtrOutput) ToScalingConfigInstanceSizePtrOutput return o } +func (o ScalingConfigInstanceSizePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfigInstanceSize] { + return pulumix.Output[*ScalingConfigInstanceSize]{ + OutputState: o.OutputState, + } +} + func (o ScalingConfigInstanceSizePtrOutput) Elem() ScalingConfigInstanceSizeOutput { return o.ApplyT(func(v *ScalingConfigInstanceSize) ScalingConfigInstanceSize { if v != nil { @@ -871,6 +956,12 @@ func (in *scalingConfigInstanceSizePtr) ToScalingConfigInstanceSizePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ScalingConfigInstanceSizePtrOutput) } +func (in *scalingConfigInstanceSizePtr) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfigInstanceSize] { + return pulumix.Output[*ScalingConfigInstanceSize]{ + OutputState: in.ToScalingConfigInstanceSizePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The database type that the Metastore service stores its data. type ServiceDatabaseType string @@ -943,6 +1034,12 @@ func (o ServiceDatabaseTypeOutput) ToServiceDatabaseTypePtrOutputWithContext(ctx }).(ServiceDatabaseTypePtrOutput) } +func (o ServiceDatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceDatabaseType] { + return pulumix.Output[ServiceDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o ServiceDatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -978,6 +1075,12 @@ func (o ServiceDatabaseTypePtrOutput) ToServiceDatabaseTypePtrOutputWithContext( return o } +func (o ServiceDatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseType] { + return pulumix.Output[*ServiceDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o ServiceDatabaseTypePtrOutput) Elem() ServiceDatabaseTypeOutput { return o.ApplyT(func(v *ServiceDatabaseType) ServiceDatabaseType { if v != nil { @@ -1040,6 +1143,12 @@ func (in *serviceDatabaseTypePtr) ToServiceDatabaseTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ServiceDatabaseTypePtrOutput) } +func (in *serviceDatabaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseType] { + return pulumix.Output[*ServiceDatabaseType]{ + OutputState: in.ToServiceDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The release channel of the service. If unspecified, defaults to STABLE. type ServiceReleaseChannel string @@ -1112,6 +1221,12 @@ func (o ServiceReleaseChannelOutput) ToServiceReleaseChannelPtrOutputWithContext }).(ServiceReleaseChannelPtrOutput) } +func (o ServiceReleaseChannelOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceReleaseChannel] { + return pulumix.Output[ServiceReleaseChannel]{ + OutputState: o.OutputState, + } +} + func (o ServiceReleaseChannelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1147,6 +1262,12 @@ func (o ServiceReleaseChannelPtrOutput) ToServiceReleaseChannelPtrOutputWithCont return o } +func (o ServiceReleaseChannelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceReleaseChannel] { + return pulumix.Output[*ServiceReleaseChannel]{ + OutputState: o.OutputState, + } +} + func (o ServiceReleaseChannelPtrOutput) Elem() ServiceReleaseChannelOutput { return o.ApplyT(func(v *ServiceReleaseChannel) ServiceReleaseChannel { if v != nil { @@ -1209,6 +1330,12 @@ func (in *serviceReleaseChannelPtr) ToServiceReleaseChannelPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ServiceReleaseChannelPtrOutput) } +func (in *serviceReleaseChannelPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceReleaseChannel] { + return pulumix.Output[*ServiceReleaseChannel]{ + OutputState: in.ToServiceReleaseChannelPtrOutputWithContext(ctx).OutputState, + } +} + // The tier of the service. type ServiceTier string @@ -1281,6 +1408,12 @@ func (o ServiceTierOutput) ToServiceTierPtrOutputWithContext(ctx context.Context }).(ServiceTierPtrOutput) } +func (o ServiceTierOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceTier] { + return pulumix.Output[ServiceTier]{ + OutputState: o.OutputState, + } +} + func (o ServiceTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1316,6 +1449,12 @@ func (o ServiceTierPtrOutput) ToServiceTierPtrOutputWithContext(ctx context.Cont return o } +func (o ServiceTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceTier] { + return pulumix.Output[*ServiceTier]{ + OutputState: o.OutputState, + } +} + func (o ServiceTierPtrOutput) Elem() ServiceTierOutput { return o.ApplyT(func(v *ServiceTier) ServiceTier { if v != nil { @@ -1378,6 +1517,12 @@ func (in *serviceTierPtr) ToServiceTierPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ServiceTierPtrOutput) } +func (in *serviceTierPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceTier] { + return pulumix.Output[*ServiceTier]{ + OutputState: in.ToServiceTierPtrOutputWithContext(ctx).OutputState, + } +} + // The output format of the Dataproc Metastore service's logs. type TelemetryConfigLogFormat string @@ -1450,6 +1595,12 @@ func (o TelemetryConfigLogFormatOutput) ToTelemetryConfigLogFormatPtrOutputWithC }).(TelemetryConfigLogFormatPtrOutput) } +func (o TelemetryConfigLogFormatOutput) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfigLogFormat] { + return pulumix.Output[TelemetryConfigLogFormat]{ + OutputState: o.OutputState, + } +} + func (o TelemetryConfigLogFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1485,6 +1636,12 @@ func (o TelemetryConfigLogFormatPtrOutput) ToTelemetryConfigLogFormatPtrOutputWi return o } +func (o TelemetryConfigLogFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfigLogFormat] { + return pulumix.Output[*TelemetryConfigLogFormat]{ + OutputState: o.OutputState, + } +} + func (o TelemetryConfigLogFormatPtrOutput) Elem() TelemetryConfigLogFormatOutput { return o.ApplyT(func(v *TelemetryConfigLogFormat) TelemetryConfigLogFormat { if v != nil { @@ -1547,6 +1704,12 @@ func (in *telemetryConfigLogFormatPtr) ToTelemetryConfigLogFormatPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(TelemetryConfigLogFormatPtrOutput) } +func (in *telemetryConfigLogFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfigLogFormat] { + return pulumix.Output[*TelemetryConfigLogFormat]{ + OutputState: in.ToTelemetryConfigLogFormatPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/metastore/v1/pulumiTypes.go b/sdk/go/google/metastore/v1/pulumiTypes.go index 53a8c6a645..8d78031b8f 100644 --- a/sdk/go/google/metastore/v1/pulumiTypes.go +++ b/sdk/go/google/metastore/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates members, or principals, with a role. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -550,6 +659,12 @@ func (i ConsumerArgs) ToConsumerOutputWithContext(ctx context.Context) ConsumerO return pulumi.ToOutputWithContext(ctx, i).(ConsumerOutput) } +func (i ConsumerArgs) ToOutput(ctx context.Context) pulumix.Output[Consumer] { + return pulumix.Output[Consumer]{ + OutputState: i.ToConsumerOutputWithContext(ctx).OutputState, + } +} + // ConsumerArrayInput is an input type that accepts ConsumerArray and ConsumerArrayOutput values. // You can construct a concrete instance of `ConsumerArrayInput` via: // @@ -575,6 +690,12 @@ func (i ConsumerArray) ToConsumerArrayOutputWithContext(ctx context.Context) Con return pulumi.ToOutputWithContext(ctx, i).(ConsumerArrayOutput) } +func (i ConsumerArray) ToOutput(ctx context.Context) pulumix.Output[[]Consumer] { + return pulumix.Output[[]Consumer]{ + OutputState: i.ToConsumerArrayOutputWithContext(ctx).OutputState, + } +} + // Contains information of the customer's network configurations. type ConsumerOutput struct{ *pulumi.OutputState } @@ -590,6 +711,12 @@ func (o ConsumerOutput) ToConsumerOutputWithContext(ctx context.Context) Consume return o } +func (o ConsumerOutput) ToOutput(ctx context.Context) pulumix.Output[Consumer] { + return pulumix.Output[Consumer]{ + OutputState: o.OutputState, + } +} + // Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id} func (o ConsumerOutput) Subnetwork() pulumi.StringPtrOutput { return o.ApplyT(func(v Consumer) *string { return v.Subnetwork }).(pulumi.StringPtrOutput) @@ -609,6 +736,12 @@ func (o ConsumerArrayOutput) ToConsumerArrayOutputWithContext(ctx context.Contex return o } +func (o ConsumerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Consumer] { + return pulumix.Output[[]Consumer]{ + OutputState: o.OutputState, + } +} + func (o ConsumerArrayOutput) Index(i pulumi.IntInput) ConsumerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Consumer { return vs[0].([]Consumer)[vs[1].(int)] @@ -638,6 +771,12 @@ func (o ConsumerResponseOutput) ToConsumerResponseOutputWithContext(ctx context. return o } +func (o ConsumerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsumerResponse] { + return pulumix.Output[ConsumerResponse]{ + OutputState: o.OutputState, + } +} + // The URI of the endpoint used to access the metastore service. func (o ConsumerResponseOutput) EndpointUri() pulumi.StringOutput { return o.ApplyT(func(v ConsumerResponse) string { return v.EndpointUri }).(pulumi.StringOutput) @@ -662,6 +801,12 @@ func (o ConsumerResponseArrayOutput) ToConsumerResponseArrayOutputWithContext(ct return o } +func (o ConsumerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConsumerResponse] { + return pulumix.Output[[]ConsumerResponse]{ + OutputState: o.OutputState, + } +} + func (o ConsumerResponseArrayOutput) Index(i pulumi.IntInput) ConsumerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConsumerResponse { return vs[0].([]ConsumerResponse)[vs[1].(int)] @@ -715,6 +860,12 @@ func (i DatabaseDumpArgs) ToDatabaseDumpOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DatabaseDumpOutput) } +func (i DatabaseDumpArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseDump] { + return pulumix.Output[DatabaseDump]{ + OutputState: i.ToDatabaseDumpOutputWithContext(ctx).OutputState, + } +} + func (i DatabaseDumpArgs) ToDatabaseDumpPtrOutput() DatabaseDumpPtrOutput { return i.ToDatabaseDumpPtrOutputWithContext(context.Background()) } @@ -756,6 +907,12 @@ func (i *databaseDumpPtrType) ToDatabaseDumpPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DatabaseDumpPtrOutput) } +func (i *databaseDumpPtrType) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDump] { + return pulumix.Output[*DatabaseDump]{ + OutputState: i.ToDatabaseDumpPtrOutputWithContext(ctx).OutputState, + } +} + // A specification of the location of and metadata about a database dump from a relational database management system. type DatabaseDumpOutput struct{ *pulumi.OutputState } @@ -781,6 +938,12 @@ func (o DatabaseDumpOutput) ToDatabaseDumpPtrOutputWithContext(ctx context.Conte }).(DatabaseDumpPtrOutput) } +func (o DatabaseDumpOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDump] { + return pulumix.Output[DatabaseDump]{ + OutputState: o.OutputState, + } +} + // The type of the database. func (o DatabaseDumpOutput) DatabaseType() DatabaseDumpDatabaseTypePtrOutput { return o.ApplyT(func(v DatabaseDump) *DatabaseDumpDatabaseType { return v.DatabaseType }).(DatabaseDumpDatabaseTypePtrOutput) @@ -815,6 +978,12 @@ func (o DatabaseDumpPtrOutput) ToDatabaseDumpPtrOutputWithContext(ctx context.Co return o } +func (o DatabaseDumpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDump] { + return pulumix.Output[*DatabaseDump]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpPtrOutput) Elem() DatabaseDumpOutput { return o.ApplyT(func(v *DatabaseDump) DatabaseDump { if v != nil { @@ -892,6 +1061,12 @@ func (o DatabaseDumpResponseOutput) ToDatabaseDumpResponseOutputWithContext(ctx return o } +func (o DatabaseDumpResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDumpResponse] { + return pulumix.Output[DatabaseDumpResponse]{ + OutputState: o.OutputState, + } +} + // The type of the database. func (o DatabaseDumpResponseOutput) DatabaseType() pulumi.StringOutput { return o.ApplyT(func(v DatabaseDumpResponse) string { return v.DatabaseType }).(pulumi.StringOutput) @@ -947,6 +1122,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -988,6 +1169,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Encryption settings for the service. type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -1013,6 +1200,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. func (o EncryptionConfigOutput) KmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.KmsKey }).(pulumi.StringPtrOutput) @@ -1032,6 +1225,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -1073,6 +1272,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. func (o EncryptionConfigResponseOutput) KmsKey() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.KmsKey }).(pulumi.StringOutput) @@ -1125,6 +1330,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1166,6 +1377,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1191,6 +1408,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1225,6 +1448,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1302,6 +1531,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1369,6 +1604,12 @@ func (i HiveMetastoreConfigArgs) ToHiveMetastoreConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HiveMetastoreConfigOutput) } +func (i HiveMetastoreConfigArgs) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfig] { + return pulumix.Output[HiveMetastoreConfig]{ + OutputState: i.ToHiveMetastoreConfigOutputWithContext(ctx).OutputState, + } +} + func (i HiveMetastoreConfigArgs) ToHiveMetastoreConfigPtrOutput() HiveMetastoreConfigPtrOutput { return i.ToHiveMetastoreConfigPtrOutputWithContext(context.Background()) } @@ -1410,6 +1651,12 @@ func (i *hiveMetastoreConfigPtrType) ToHiveMetastoreConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(HiveMetastoreConfigPtrOutput) } +func (i *hiveMetastoreConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*HiveMetastoreConfig] { + return pulumix.Output[*HiveMetastoreConfig]{ + OutputState: i.ToHiveMetastoreConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies configuration information specific to running Hive metastore software as the metastore service. type HiveMetastoreConfigOutput struct{ *pulumi.OutputState } @@ -1435,6 +1682,12 @@ func (o HiveMetastoreConfigOutput) ToHiveMetastoreConfigPtrOutputWithContext(ctx }).(HiveMetastoreConfigPtrOutput) } +func (o HiveMetastoreConfigOutput) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfig] { + return pulumix.Output[HiveMetastoreConfig]{ + OutputState: o.OutputState, + } +} + // A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen. func (o HiveMetastoreConfigOutput) AuxiliaryVersions() pulumi.StringMapOutput { return o.ApplyT(func(v HiveMetastoreConfig) map[string]string { return v.AuxiliaryVersions }).(pulumi.StringMapOutput) @@ -1469,6 +1722,12 @@ func (o HiveMetastoreConfigPtrOutput) ToHiveMetastoreConfigPtrOutputWithContext( return o } +func (o HiveMetastoreConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HiveMetastoreConfig] { + return pulumix.Output[*HiveMetastoreConfig]{ + OutputState: o.OutputState, + } +} + func (o HiveMetastoreConfigPtrOutput) Elem() HiveMetastoreConfigOutput { return o.ApplyT(func(v *HiveMetastoreConfig) HiveMetastoreConfig { if v != nil { @@ -1546,6 +1805,12 @@ func (o HiveMetastoreConfigResponseOutput) ToHiveMetastoreConfigResponseOutputWi return o } +func (o HiveMetastoreConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfigResponse] { + return pulumix.Output[HiveMetastoreConfigResponse]{ + OutputState: o.OutputState, + } +} + // A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen. func (o HiveMetastoreConfigResponseOutput) AuxiliaryVersions() pulumi.StringMapOutput { return o.ApplyT(func(v HiveMetastoreConfigResponse) map[string]string { return v.AuxiliaryVersions }).(pulumi.StringMapOutput) @@ -1609,6 +1874,12 @@ func (i KerberosConfigArgs) ToKerberosConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(KerberosConfigOutput) } +func (i KerberosConfigArgs) ToOutput(ctx context.Context) pulumix.Output[KerberosConfig] { + return pulumix.Output[KerberosConfig]{ + OutputState: i.ToKerberosConfigOutputWithContext(ctx).OutputState, + } +} + func (i KerberosConfigArgs) ToKerberosConfigPtrOutput() KerberosConfigPtrOutput { return i.ToKerberosConfigPtrOutputWithContext(context.Background()) } @@ -1650,6 +1921,12 @@ func (i *kerberosConfigPtrType) ToKerberosConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(KerberosConfigPtrOutput) } +func (i *kerberosConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*KerberosConfig] { + return pulumix.Output[*KerberosConfig]{ + OutputState: i.ToKerberosConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration information for a Kerberos principal. type KerberosConfigOutput struct{ *pulumi.OutputState } @@ -1675,6 +1952,12 @@ func (o KerberosConfigOutput) ToKerberosConfigPtrOutputWithContext(ctx context.C }).(KerberosConfigPtrOutput) } +func (o KerberosConfigOutput) ToOutput(ctx context.Context) pulumix.Output[KerberosConfig] { + return pulumix.Output[KerberosConfig]{ + OutputState: o.OutputState, + } +} + // A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). func (o KerberosConfigOutput) Keytab() SecretPtrOutput { return o.ApplyT(func(v KerberosConfig) *Secret { return v.Keytab }).(SecretPtrOutput) @@ -1704,6 +1987,12 @@ func (o KerberosConfigPtrOutput) ToKerberosConfigPtrOutputWithContext(ctx contex return o } +func (o KerberosConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KerberosConfig] { + return pulumix.Output[*KerberosConfig]{ + OutputState: o.OutputState, + } +} + func (o KerberosConfigPtrOutput) Elem() KerberosConfigOutput { return o.ApplyT(func(v *KerberosConfig) KerberosConfig { if v != nil { @@ -1769,6 +2058,12 @@ func (o KerberosConfigResponseOutput) ToKerberosConfigResponseOutputWithContext( return o } +func (o KerberosConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KerberosConfigResponse] { + return pulumix.Output[KerberosConfigResponse]{ + OutputState: o.OutputState, + } +} + // A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). func (o KerberosConfigResponseOutput) Keytab() SecretResponseOutput { return o.ApplyT(func(v KerberosConfigResponse) SecretResponse { return v.Keytab }).(SecretResponseOutput) @@ -1823,6 +2118,12 @@ func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput) } +func (i MaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -1864,6 +2165,12 @@ func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowPtrOutput) } +func (i *maintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance window. This specifies when Dataproc Metastore may perform system maintenance operation to the service. type MaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -1889,6 +2196,12 @@ func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx con }).(MaintenanceWindowPtrOutput) } +func (o MaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // The day of week, when the window starts. func (o MaintenanceWindowOutput) DayOfWeek() MaintenanceWindowDayOfWeekPtrOutput { return o.ApplyT(func(v MaintenanceWindow) *MaintenanceWindowDayOfWeek { return v.DayOfWeek }).(MaintenanceWindowDayOfWeekPtrOutput) @@ -1913,6 +2226,12 @@ func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx return o } +func (o MaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowPtrOutput) Elem() MaintenanceWindowOutput { return o.ApplyT(func(v *MaintenanceWindow) MaintenanceWindow { if v != nil { @@ -1966,6 +2285,12 @@ func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithCo return o } +func (o MaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowResponse] { + return pulumix.Output[MaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // The day of week, when the window starts. func (o MaintenanceWindowResponseOutput) DayOfWeek() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceWindowResponse) string { return v.DayOfWeek }).(pulumi.StringOutput) @@ -2005,6 +2330,12 @@ func (o MetadataExportResponseOutput) ToMetadataExportResponseOutputWithContext( return o } +func (o MetadataExportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataExportResponse] { + return pulumix.Output[MetadataExportResponse]{ + OutputState: o.OutputState, + } +} + // The type of the database dump. func (o MetadataExportResponseOutput) DatabaseDumpType() pulumi.StringOutput { return o.ApplyT(func(v MetadataExportResponse) string { return v.DatabaseDumpType }).(pulumi.StringOutput) @@ -2044,6 +2375,12 @@ func (o MetadataExportResponseArrayOutput) ToMetadataExportResponseArrayOutputWi return o } +func (o MetadataExportResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataExportResponse] { + return pulumix.Output[[]MetadataExportResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataExportResponseArrayOutput) Index(i pulumi.IntInput) MetadataExportResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataExportResponse { return vs[0].([]MetadataExportResponse)[vs[1].(int)] @@ -2073,6 +2410,12 @@ func (o MetadataManagementActivityResponseOutput) ToMetadataManagementActivityRe return o } +func (o MetadataManagementActivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataManagementActivityResponse] { + return pulumix.Output[MetadataManagementActivityResponse]{ + OutputState: o.OutputState, + } +} + // The latest metadata exports of the metastore service. func (o MetadataManagementActivityResponseOutput) MetadataExports() MetadataExportResponseArrayOutput { return o.ApplyT(func(v MetadataManagementActivityResponse) []MetadataExportResponse { return v.MetadataExports }).(MetadataExportResponseArrayOutput) @@ -2118,6 +2461,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -2159,6 +2508,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Network configuration for the Dataproc Metastore service. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -2184,6 +2539,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. The consumer-side network configuration for the Dataproc Metastore instance. func (o NetworkConfigOutput) Consumers() ConsumerArrayOutput { return o.ApplyT(func(v NetworkConfig) []Consumer { return v.Consumers }).(ConsumerArrayOutput) @@ -2203,6 +2564,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -2244,6 +2611,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The consumer-side network configuration for the Dataproc Metastore instance. func (o NetworkConfigResponseOutput) Consumers() ConsumerResponseArrayOutput { return o.ApplyT(func(v NetworkConfigResponse) []ConsumerResponse { return v.Consumers }).(ConsumerResponseArrayOutput) @@ -2280,6 +2653,12 @@ func (o RestoreResponseOutput) ToRestoreResponseOutputWithContext(ctx context.Co return o } +func (o RestoreResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RestoreResponse] { + return pulumix.Output[RestoreResponse]{ + OutputState: o.OutputState, + } +} + // The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. func (o RestoreResponseOutput) Backup() pulumi.StringOutput { return o.ApplyT(func(v RestoreResponse) string { return v.Backup }).(pulumi.StringOutput) @@ -2324,6 +2703,12 @@ func (o RestoreResponseArrayOutput) ToRestoreResponseArrayOutputWithContext(ctx return o } +func (o RestoreResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RestoreResponse] { + return pulumix.Output[[]RestoreResponse]{ + OutputState: o.OutputState, + } +} + func (o RestoreResponseArrayOutput) Index(i pulumi.IntInput) RestoreResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RestoreResponse { return vs[0].([]RestoreResponse)[vs[1].(int)] @@ -2369,6 +2754,12 @@ func (i ScalingConfigArgs) ToScalingConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ScalingConfigOutput) } +func (i ScalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ScalingConfig] { + return pulumix.Output[ScalingConfig]{ + OutputState: i.ToScalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i ScalingConfigArgs) ToScalingConfigPtrOutput() ScalingConfigPtrOutput { return i.ToScalingConfigPtrOutputWithContext(context.Background()) } @@ -2410,6 +2801,12 @@ func (i *scalingConfigPtrType) ToScalingConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ScalingConfigPtrOutput) } +func (i *scalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfig] { + return pulumix.Output[*ScalingConfig]{ + OutputState: i.ToScalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the scaling configuration of a metastore service. type ScalingConfigOutput struct{ *pulumi.OutputState } @@ -2435,6 +2832,12 @@ func (o ScalingConfigOutput) ToScalingConfigPtrOutputWithContext(ctx context.Con }).(ScalingConfigPtrOutput) } +func (o ScalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ScalingConfig] { + return pulumix.Output[ScalingConfig]{ + OutputState: o.OutputState, + } +} + // An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) func (o ScalingConfigOutput) InstanceSize() ScalingConfigInstanceSizePtrOutput { return o.ApplyT(func(v ScalingConfig) *ScalingConfigInstanceSize { return v.InstanceSize }).(ScalingConfigInstanceSizePtrOutput) @@ -2459,6 +2862,12 @@ func (o ScalingConfigPtrOutput) ToScalingConfigPtrOutputWithContext(ctx context. return o } +func (o ScalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfig] { + return pulumix.Output[*ScalingConfig]{ + OutputState: o.OutputState, + } +} + func (o ScalingConfigPtrOutput) Elem() ScalingConfigOutput { return o.ApplyT(func(v *ScalingConfig) ScalingConfig { if v != nil { @@ -2512,6 +2921,12 @@ func (o ScalingConfigResponseOutput) ToScalingConfigResponseOutputWithContext(ct return o } +func (o ScalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScalingConfigResponse] { + return pulumix.Output[ScalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) func (o ScalingConfigResponseOutput) InstanceSize() pulumi.StringOutput { return o.ApplyT(func(v ScalingConfigResponse) string { return v.InstanceSize }).(pulumi.StringOutput) @@ -2557,6 +2972,12 @@ func (i SecretArgs) ToSecretOutputWithContext(ctx context.Context) SecretOutput return pulumi.ToOutputWithContext(ctx, i).(SecretOutput) } +func (i SecretArgs) ToOutput(ctx context.Context) pulumix.Output[Secret] { + return pulumix.Output[Secret]{ + OutputState: i.ToSecretOutputWithContext(ctx).OutputState, + } +} + func (i SecretArgs) ToSecretPtrOutput() SecretPtrOutput { return i.ToSecretPtrOutputWithContext(context.Background()) } @@ -2598,6 +3019,12 @@ func (i *secretPtrType) ToSecretPtrOutputWithContext(ctx context.Context) Secret return pulumi.ToOutputWithContext(ctx, i).(SecretPtrOutput) } +func (i *secretPtrType) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: i.ToSecretPtrOutputWithContext(ctx).OutputState, + } +} + // A securely stored value. type SecretOutput struct{ *pulumi.OutputState } @@ -2623,6 +3050,12 @@ func (o SecretOutput) ToSecretPtrOutputWithContext(ctx context.Context) SecretPt }).(SecretPtrOutput) } +func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[Secret] { + return pulumix.Output[Secret]{ + OutputState: o.OutputState, + } +} + // The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. func (o SecretOutput) CloudSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v Secret) *string { return v.CloudSecret }).(pulumi.StringPtrOutput) @@ -2642,6 +3075,12 @@ func (o SecretPtrOutput) ToSecretPtrOutputWithContext(ctx context.Context) Secre return o } +func (o SecretPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: o.OutputState, + } +} + func (o SecretPtrOutput) Elem() SecretOutput { return o.ApplyT(func(v *Secret) Secret { if v != nil { @@ -2683,6 +3122,12 @@ func (o SecretResponseOutput) ToSecretResponseOutputWithContext(ctx context.Cont return o } +func (o SecretResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretResponse] { + return pulumix.Output[SecretResponse]{ + OutputState: o.OutputState, + } +} + // The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. func (o SecretResponseOutput) CloudSecret() pulumi.StringOutput { return o.ApplyT(func(v SecretResponse) string { return v.CloudSecret }).(pulumi.StringOutput) @@ -2749,6 +3194,12 @@ func (o ServiceResponseOutput) ToServiceResponseOutputWithContext(ctx context.Co return o } +func (o ServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceResponse] { + return pulumix.Output[ServiceResponse]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. func (o ServiceResponseOutput) ArtifactGcsUri() pulumi.StringOutput { return o.ApplyT(func(v ServiceResponse) string { return v.ArtifactGcsUri }).(pulumi.StringOutput) @@ -2889,6 +3340,12 @@ func (i TelemetryConfigArgs) ToTelemetryConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TelemetryConfigOutput) } +func (i TelemetryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfig] { + return pulumix.Output[TelemetryConfig]{ + OutputState: i.ToTelemetryConfigOutputWithContext(ctx).OutputState, + } +} + func (i TelemetryConfigArgs) ToTelemetryConfigPtrOutput() TelemetryConfigPtrOutput { return i.ToTelemetryConfigPtrOutputWithContext(context.Background()) } @@ -2930,6 +3387,12 @@ func (i *telemetryConfigPtrType) ToTelemetryConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TelemetryConfigPtrOutput) } +func (i *telemetryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfig] { + return pulumix.Output[*TelemetryConfig]{ + OutputState: i.ToTelemetryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Telemetry Configuration for the Dataproc Metastore service. type TelemetryConfigOutput struct{ *pulumi.OutputState } @@ -2955,6 +3418,12 @@ func (o TelemetryConfigOutput) ToTelemetryConfigPtrOutputWithContext(ctx context }).(TelemetryConfigPtrOutput) } +func (o TelemetryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfig] { + return pulumix.Output[TelemetryConfig]{ + OutputState: o.OutputState, + } +} + // The output format of the Dataproc Metastore service's logs. func (o TelemetryConfigOutput) LogFormat() TelemetryConfigLogFormatPtrOutput { return o.ApplyT(func(v TelemetryConfig) *TelemetryConfigLogFormat { return v.LogFormat }).(TelemetryConfigLogFormatPtrOutput) @@ -2974,6 +3443,12 @@ func (o TelemetryConfigPtrOutput) ToTelemetryConfigPtrOutputWithContext(ctx cont return o } +func (o TelemetryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfig] { + return pulumix.Output[*TelemetryConfig]{ + OutputState: o.OutputState, + } +} + func (o TelemetryConfigPtrOutput) Elem() TelemetryConfigOutput { return o.ApplyT(func(v *TelemetryConfig) TelemetryConfig { if v != nil { @@ -3015,6 +3490,12 @@ func (o TelemetryConfigResponseOutput) ToTelemetryConfigResponseOutputWithContex return o } +func (o TelemetryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfigResponse] { + return pulumix.Output[TelemetryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The output format of the Dataproc Metastore service's logs. func (o TelemetryConfigResponseOutput) LogFormat() pulumi.StringOutput { return o.ApplyT(func(v TelemetryConfigResponse) string { return v.LogFormat }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1/service.go b/sdk/go/google/metastore/v1/service.go index eb14fb071a..b80369c028 100644 --- a/sdk/go/google/metastore/v1/service.go +++ b/sdk/go/google/metastore/v1/service.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a metastore service in a project and location. @@ -208,6 +209,12 @@ func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput return pulumi.ToOutputWithContext(ctx, i).(ServiceOutput) } +func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: i.ToServiceOutputWithContext(ctx).OutputState, + } +} + type ServiceOutput struct{ *pulumi.OutputState } func (ServiceOutput) ElementType() reflect.Type { @@ -222,6 +229,12 @@ func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOu return o } +func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. func (o ServiceOutput) ArtifactGcsUri() pulumi.StringOutput { return o.ApplyT(func(v *Service) pulumi.StringOutput { return v.ArtifactGcsUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1/serviceBackupIamBinding.go b/sdk/go/google/metastore/v1/serviceBackupIamBinding.go index 26c176c170..5a44e75180 100644 --- a/sdk/go/google/metastore/v1/serviceBackupIamBinding.go +++ b/sdk/go/google/metastore/v1/serviceBackupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceBackupIamBinding) ToServiceBackupIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceBackupIamBindingOutput) } +func (i *ServiceBackupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamBinding] { + return pulumix.Output[*ServiceBackupIamBinding]{ + OutputState: i.ToServiceBackupIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceBackupIamBindingOutput struct{ *pulumi.OutputState } func (ServiceBackupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBackupIamBindingOutput) ToServiceBackupIamBindingOutputWithContex return o } +func (o ServiceBackupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamBinding] { + return pulumix.Output[*ServiceBackupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceBackupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceBackupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1/serviceBackupIamMember.go b/sdk/go/google/metastore/v1/serviceBackupIamMember.go index 1e641eeb56..4e99601fba 100644 --- a/sdk/go/google/metastore/v1/serviceBackupIamMember.go +++ b/sdk/go/google/metastore/v1/serviceBackupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceBackupIamMember) ToServiceBackupIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ServiceBackupIamMemberOutput) } +func (i *ServiceBackupIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamMember] { + return pulumix.Output[*ServiceBackupIamMember]{ + OutputState: i.ToServiceBackupIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceBackupIamMemberOutput struct{ *pulumi.OutputState } func (ServiceBackupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBackupIamMemberOutput) ToServiceBackupIamMemberOutputWithContext( return o } +func (o ServiceBackupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamMember] { + return pulumix.Output[*ServiceBackupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceBackupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceBackupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1/serviceBackupIamPolicy.go b/sdk/go/google/metastore/v1/serviceBackupIamPolicy.go index b60c572529..599cc31b86 100644 --- a/sdk/go/google/metastore/v1/serviceBackupIamPolicy.go +++ b/sdk/go/google/metastore/v1/serviceBackupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -142,6 +143,12 @@ func (i *ServiceBackupIamPolicy) ToServiceBackupIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ServiceBackupIamPolicyOutput) } +func (i *ServiceBackupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamPolicy] { + return pulumix.Output[*ServiceBackupIamPolicy]{ + OutputState: i.ToServiceBackupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceBackupIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceBackupIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o ServiceBackupIamPolicyOutput) ToServiceBackupIamPolicyOutputWithContext( return o } +func (o ServiceBackupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamPolicy] { + return pulumix.Output[*ServiceBackupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceBackupIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceBackupIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1/serviceIamBinding.go b/sdk/go/google/metastore/v1/serviceIamBinding.go index f1dcf52093..c60c951057 100644 --- a/sdk/go/google/metastore/v1/serviceIamBinding.go +++ b/sdk/go/google/metastore/v1/serviceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceIamBinding) ToServiceIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ServiceIamBindingOutput) } +func (i *ServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: i.ToServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceIamBindingOutput struct{ *pulumi.OutputState } func (ServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamBindingOutput) ToServiceIamBindingOutputWithContext(ctx contex return o } +func (o ServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1/serviceIamMember.go b/sdk/go/google/metastore/v1/serviceIamMember.go index 574b50c244..b96be87b5d 100644 --- a/sdk/go/google/metastore/v1/serviceIamMember.go +++ b/sdk/go/google/metastore/v1/serviceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceIamMember) ToServiceIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamMemberOutput) } +func (i *ServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: i.ToServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceIamMemberOutput struct{ *pulumi.OutputState } func (ServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamMemberOutput) ToServiceIamMemberOutputWithContext(ctx context. return o } +func (o ServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1/serviceIamPolicy.go b/sdk/go/google/metastore/v1/serviceIamPolicy.go index d065bbb845..b91b7333e9 100644 --- a/sdk/go/google/metastore/v1/serviceIamPolicy.go +++ b/sdk/go/google/metastore/v1/serviceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceIamPolicy) ToServiceIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamPolicyOutput) } +func (i *ServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: i.ToServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamPolicyOutput) ToServiceIamPolicyOutputWithContext(ctx context. return o } +func (o ServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1alpha/backup.go b/sdk/go/google/metastore/v1alpha/backup.go index d7c5e73feb..942184c498 100644 --- a/sdk/go/google/metastore/v1alpha/backup.go +++ b/sdk/go/google/metastore/v1alpha/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new backup in a given project and location. @@ -143,6 +144,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens. func (o BackupOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *Backup) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1alpha/federation.go b/sdk/go/google/metastore/v1alpha/federation.go index 4e2e9346ae..639394de1e 100644 --- a/sdk/go/google/metastore/v1alpha/federation.go +++ b/sdk/go/google/metastore/v1alpha/federation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a metastore federation in a project and location. @@ -150,6 +151,12 @@ func (i *Federation) ToFederationOutputWithContext(ctx context.Context) Federati return pulumi.ToOutputWithContext(ctx, i).(FederationOutput) } +func (i *Federation) ToOutput(ctx context.Context) pulumix.Output[*Federation] { + return pulumix.Output[*Federation]{ + OutputState: i.ToFederationOutputWithContext(ctx).OutputState, + } +} + type FederationOutput struct{ *pulumi.OutputState } func (FederationOutput) ElementType() reflect.Type { @@ -164,6 +171,12 @@ func (o FederationOutput) ToFederationOutputWithContext(ctx context.Context) Fed return o } +func (o FederationOutput) ToOutput(ctx context.Context) pulumix.Output[*Federation] { + return pulumix.Output[*Federation]{ + OutputState: o.OutputState, + } +} + // A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number. func (o FederationOutput) BackendMetastores() pulumi.StringMapOutput { return o.ApplyT(func(v *Federation) pulumi.StringMapOutput { return v.BackendMetastores }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/metastore/v1alpha/federationIamBinding.go b/sdk/go/google/metastore/v1alpha/federationIamBinding.go index 4edbbaa7c7..aff66f6fe7 100644 --- a/sdk/go/google/metastore/v1alpha/federationIamBinding.go +++ b/sdk/go/google/metastore/v1alpha/federationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *FederationIamBinding) ToFederationIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(FederationIamBindingOutput) } +func (i *FederationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FederationIamBinding] { + return pulumix.Output[*FederationIamBinding]{ + OutputState: i.ToFederationIamBindingOutputWithContext(ctx).OutputState, + } +} + type FederationIamBindingOutput struct{ *pulumi.OutputState } func (FederationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FederationIamBindingOutput) ToFederationIamBindingOutputWithContext(ctx return o } +func (o FederationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FederationIamBinding] { + return pulumix.Output[*FederationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FederationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FederationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1alpha/federationIamMember.go b/sdk/go/google/metastore/v1alpha/federationIamMember.go index 7e0fac891d..72decdc801 100644 --- a/sdk/go/google/metastore/v1alpha/federationIamMember.go +++ b/sdk/go/google/metastore/v1alpha/federationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *FederationIamMember) ToFederationIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FederationIamMemberOutput) } +func (i *FederationIamMember) ToOutput(ctx context.Context) pulumix.Output[*FederationIamMember] { + return pulumix.Output[*FederationIamMember]{ + OutputState: i.ToFederationIamMemberOutputWithContext(ctx).OutputState, + } +} + type FederationIamMemberOutput struct{ *pulumi.OutputState } func (FederationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FederationIamMemberOutput) ToFederationIamMemberOutputWithContext(ctx co return o } +func (o FederationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FederationIamMember] { + return pulumix.Output[*FederationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FederationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FederationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1alpha/federationIamPolicy.go b/sdk/go/google/metastore/v1alpha/federationIamPolicy.go index fb0b8f828f..72b5c2e1d4 100644 --- a/sdk/go/google/metastore/v1alpha/federationIamPolicy.go +++ b/sdk/go/google/metastore/v1alpha/federationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *FederationIamPolicy) ToFederationIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FederationIamPolicyOutput) } +func (i *FederationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FederationIamPolicy] { + return pulumix.Output[*FederationIamPolicy]{ + OutputState: i.ToFederationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FederationIamPolicyOutput struct{ *pulumi.OutputState } func (FederationIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FederationIamPolicyOutput) ToFederationIamPolicyOutputWithContext(ctx co return o } +func (o FederationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FederationIamPolicy] { + return pulumix.Output[*FederationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FederationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FederationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1alpha/getBackup.go b/sdk/go/google/metastore/v1alpha/getBackup.go index 55baa33338..873093d1bf 100644 --- a/sdk/go/google/metastore/v1alpha/getBackup.go +++ b/sdk/go/google/metastore/v1alpha/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single backup. @@ -84,6 +85,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // The time when the backup was started. func (o LookupBackupResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1alpha/getFederation.go b/sdk/go/google/metastore/v1alpha/getFederation.go index 03caad23b4..40c4bb3e6e 100644 --- a/sdk/go/google/metastore/v1alpha/getFederation.go +++ b/sdk/go/google/metastore/v1alpha/getFederation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a single federation. @@ -88,6 +89,12 @@ func (o LookupFederationResultOutput) ToLookupFederationResultOutputWithContext( return o } +func (o LookupFederationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFederationResult] { + return pulumix.Output[LookupFederationResult]{ + OutputState: o.OutputState, + } +} + // A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number. func (o LookupFederationResultOutput) BackendMetastores() pulumi.StringMapOutput { return o.ApplyT(func(v LookupFederationResult) map[string]string { return v.BackendMetastores }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/metastore/v1alpha/getFederationIamPolicy.go b/sdk/go/google/metastore/v1alpha/getFederationIamPolicy.go index c5be071aef..00c23b5d57 100644 --- a/sdk/go/google/metastore/v1alpha/getFederationIamPolicy.go +++ b/sdk/go/google/metastore/v1alpha/getFederationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupFederationIamPolicyResultOutput) ToLookupFederationIamPolicyResult return o } +func (o LookupFederationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFederationIamPolicyResult] { + return pulumix.Output[LookupFederationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFederationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFederationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1alpha/getMetadataImport.go b/sdk/go/google/metastore/v1alpha/getMetadataImport.go index c5e2451ba8..3dd2aab2ac 100644 --- a/sdk/go/google/metastore/v1alpha/getMetadataImport.go +++ b/sdk/go/google/metastore/v1alpha/getMetadataImport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single import. @@ -84,6 +85,12 @@ func (o LookupMetadataImportResultOutput) ToLookupMetadataImportResultOutputWith return o } +func (o LookupMetadataImportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMetadataImportResult] { + return pulumix.Output[LookupMetadataImportResult]{ + OutputState: o.OutputState, + } +} + // The time when the metadata import was started. func (o LookupMetadataImportResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMetadataImportResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1alpha/getService.go b/sdk/go/google/metastore/v1alpha/getService.go index 8154021888..816f72c1ab 100644 --- a/sdk/go/google/metastore/v1alpha/getService.go +++ b/sdk/go/google/metastore/v1alpha/getService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a single service. @@ -112,6 +113,12 @@ func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx co return o } +func (o LookupServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceResult] { + return pulumix.Output[LookupServiceResult]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. func (o LookupServiceResultOutput) ArtifactGcsUri() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceResult) string { return v.ArtifactGcsUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1alpha/getServiceBackupIamPolicy.go b/sdk/go/google/metastore/v1alpha/getServiceBackupIamPolicy.go index 7acca5dba6..4f2e790950 100644 --- a/sdk/go/google/metastore/v1alpha/getServiceBackupIamPolicy.go +++ b/sdk/go/google/metastore/v1alpha/getServiceBackupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupServiceBackupIamPolicyResultOutput) ToLookupServiceBackupIamPolicy return o } +func (o LookupServiceBackupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceBackupIamPolicyResult] { + return pulumix.Output[LookupServiceBackupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceBackupIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceBackupIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1alpha/getServiceDatabaseIamPolicy.go b/sdk/go/google/metastore/v1alpha/getServiceDatabaseIamPolicy.go index 454658aa66..699d4df129 100644 --- a/sdk/go/google/metastore/v1alpha/getServiceDatabaseIamPolicy.go +++ b/sdk/go/google/metastore/v1alpha/getServiceDatabaseIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupServiceDatabaseIamPolicyResultOutput) ToLookupServiceDatabaseIamPo return o } +func (o LookupServiceDatabaseIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceDatabaseIamPolicyResult] { + return pulumix.Output[LookupServiceDatabaseIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceDatabaseIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceDatabaseIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1alpha/getServiceDatabaseTableIamPolicy.go b/sdk/go/google/metastore/v1alpha/getServiceDatabaseTableIamPolicy.go index bb07e4fbd5..48a9fbf6d8 100644 --- a/sdk/go/google/metastore/v1alpha/getServiceDatabaseTableIamPolicy.go +++ b/sdk/go/google/metastore/v1alpha/getServiceDatabaseTableIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -82,6 +83,12 @@ func (o LookupServiceDatabaseTableIamPolicyResultOutput) ToLookupServiceDatabase return o } +func (o LookupServiceDatabaseTableIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceDatabaseTableIamPolicyResult] { + return pulumix.Output[LookupServiceDatabaseTableIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceDatabaseTableIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceDatabaseTableIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1alpha/getServiceIamPolicy.go b/sdk/go/google/metastore/v1alpha/getServiceIamPolicy.go index 1324443de2..409782ba8f 100644 --- a/sdk/go/google/metastore/v1alpha/getServiceIamPolicy.go +++ b/sdk/go/google/metastore/v1alpha/getServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupServiceIamPolicyResultOutput) ToLookupServiceIamPolicyResultOutput return o } +func (o LookupServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceIamPolicyResult] { + return pulumix.Output[LookupServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1alpha/metadataImport.go b/sdk/go/google/metastore/v1alpha/metadataImport.go index 16d0a8dbae..cfcb7de53d 100644 --- a/sdk/go/google/metastore/v1alpha/metadataImport.go +++ b/sdk/go/google/metastore/v1alpha/metadataImport.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new MetadataImport in a given project and location. @@ -149,6 +150,12 @@ func (i *MetadataImport) ToMetadataImportOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MetadataImportOutput) } +func (i *MetadataImport) ToOutput(ctx context.Context) pulumix.Output[*MetadataImport] { + return pulumix.Output[*MetadataImport]{ + OutputState: i.ToMetadataImportOutputWithContext(ctx).OutputState, + } +} + type MetadataImportOutput struct{ *pulumi.OutputState } func (MetadataImportOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o MetadataImportOutput) ToMetadataImportOutputWithContext(ctx context.Cont return o } +func (o MetadataImportOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataImport] { + return pulumix.Output[*MetadataImport]{ + OutputState: o.OutputState, + } +} + // The time when the metadata import was started. func (o MetadataImportOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *MetadataImport) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1alpha/pulumiEnums.go b/sdk/go/google/metastore/v1alpha/pulumiEnums.go index 8f14fafa71..f31ad374a2 100644 --- a/sdk/go/google/metastore/v1alpha/pulumiEnums.go +++ b/sdk/go/google/metastore/v1alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the database. type DatabaseDumpDatabaseType string @@ -251,6 +270,12 @@ func (o DatabaseDumpDatabaseTypeOutput) ToDatabaseDumpDatabaseTypePtrOutputWithC }).(DatabaseDumpDatabaseTypePtrOutput) } +func (o DatabaseDumpDatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDumpDatabaseType] { + return pulumix.Output[DatabaseDumpDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpDatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o DatabaseDumpDatabaseTypePtrOutput) ToDatabaseDumpDatabaseTypePtrOutputWi return o } +func (o DatabaseDumpDatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpDatabaseType] { + return pulumix.Output[*DatabaseDumpDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpDatabaseTypePtrOutput) Elem() DatabaseDumpDatabaseTypeOutput { return o.ApplyT(func(v *DatabaseDumpDatabaseType) DatabaseDumpDatabaseType { if v != nil { @@ -348,6 +379,12 @@ func (in *databaseDumpDatabaseTypePtr) ToDatabaseDumpDatabaseTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DatabaseDumpDatabaseTypePtrOutput) } +func (in *databaseDumpDatabaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpDatabaseType] { + return pulumix.Output[*DatabaseDumpDatabaseType]{ + OutputState: in.ToDatabaseDumpDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The type of the database dump. If unspecified, defaults to MYSQL. type DatabaseDumpType string @@ -420,6 +457,12 @@ func (o DatabaseDumpTypeOutput) ToDatabaseDumpTypePtrOutputWithContext(ctx conte }).(DatabaseDumpTypePtrOutput) } +func (o DatabaseDumpTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDumpType] { + return pulumix.Output[DatabaseDumpType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o DatabaseDumpTypePtrOutput) ToDatabaseDumpTypePtrOutputWithContext(ctx co return o } +func (o DatabaseDumpTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpType] { + return pulumix.Output[*DatabaseDumpType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpTypePtrOutput) Elem() DatabaseDumpTypeOutput { return o.ApplyT(func(v *DatabaseDumpType) DatabaseDumpType { if v != nil { @@ -517,6 +566,12 @@ func (in *databaseDumpTypePtr) ToDatabaseDumpTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(DatabaseDumpTypePtrOutput) } +func (in *databaseDumpTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpType] { + return pulumix.Output[*DatabaseDumpType]{ + OutputState: in.ToDatabaseDumpTypePtrOutputWithContext(ctx).OutputState, + } +} + // The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT. type HiveMetastoreConfigEndpointProtocol string @@ -589,6 +644,12 @@ func (o HiveMetastoreConfigEndpointProtocolOutput) ToHiveMetastoreConfigEndpoint }).(HiveMetastoreConfigEndpointProtocolPtrOutput) } +func (o HiveMetastoreConfigEndpointProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfigEndpointProtocol] { + return pulumix.Output[HiveMetastoreConfigEndpointProtocol]{ + OutputState: o.OutputState, + } +} + func (o HiveMetastoreConfigEndpointProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -624,6 +685,12 @@ func (o HiveMetastoreConfigEndpointProtocolPtrOutput) ToHiveMetastoreConfigEndpo return o } +func (o HiveMetastoreConfigEndpointProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HiveMetastoreConfigEndpointProtocol] { + return pulumix.Output[*HiveMetastoreConfigEndpointProtocol]{ + OutputState: o.OutputState, + } +} + func (o HiveMetastoreConfigEndpointProtocolPtrOutput) Elem() HiveMetastoreConfigEndpointProtocolOutput { return o.ApplyT(func(v *HiveMetastoreConfigEndpointProtocol) HiveMetastoreConfigEndpointProtocol { if v != nil { @@ -686,6 +753,12 @@ func (in *hiveMetastoreConfigEndpointProtocolPtr) ToHiveMetastoreConfigEndpointP return pulumi.ToOutputWithContext(ctx, in).(HiveMetastoreConfigEndpointProtocolPtrOutput) } +func (in *hiveMetastoreConfigEndpointProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*HiveMetastoreConfigEndpointProtocol] { + return pulumix.Output[*HiveMetastoreConfigEndpointProtocol]{ + OutputState: in.ToHiveMetastoreConfigEndpointProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The day of week, when the window starts. type MaintenanceWindowDayOfWeek string @@ -768,6 +841,12 @@ func (o MaintenanceWindowDayOfWeekOutput) ToMaintenanceWindowDayOfWeekPtrOutputW }).(MaintenanceWindowDayOfWeekPtrOutput) } +func (o MaintenanceWindowDayOfWeekOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowDayOfWeek] { + return pulumix.Output[MaintenanceWindowDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowDayOfWeekOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -803,6 +882,12 @@ func (o MaintenanceWindowDayOfWeekPtrOutput) ToMaintenanceWindowDayOfWeekPtrOutp return o } +func (o MaintenanceWindowDayOfWeekPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindowDayOfWeek] { + return pulumix.Output[*MaintenanceWindowDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowDayOfWeekPtrOutput) Elem() MaintenanceWindowDayOfWeekOutput { return o.ApplyT(func(v *MaintenanceWindowDayOfWeek) MaintenanceWindowDayOfWeek { if v != nil { @@ -865,6 +950,12 @@ func (in *maintenanceWindowDayOfWeekPtr) ToMaintenanceWindowDayOfWeekPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(MaintenanceWindowDayOfWeekPtrOutput) } +func (in *maintenanceWindowDayOfWeekPtr) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindowDayOfWeek] { + return pulumix.Output[*MaintenanceWindowDayOfWeek]{ + OutputState: in.ToMaintenanceWindowDayOfWeekPtrOutputWithContext(ctx).OutputState, + } +} + // An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) type ScalingConfigInstanceSize string @@ -943,6 +1034,12 @@ func (o ScalingConfigInstanceSizeOutput) ToScalingConfigInstanceSizePtrOutputWit }).(ScalingConfigInstanceSizePtrOutput) } +func (o ScalingConfigInstanceSizeOutput) ToOutput(ctx context.Context) pulumix.Output[ScalingConfigInstanceSize] { + return pulumix.Output[ScalingConfigInstanceSize]{ + OutputState: o.OutputState, + } +} + func (o ScalingConfigInstanceSizeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -978,6 +1075,12 @@ func (o ScalingConfigInstanceSizePtrOutput) ToScalingConfigInstanceSizePtrOutput return o } +func (o ScalingConfigInstanceSizePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfigInstanceSize] { + return pulumix.Output[*ScalingConfigInstanceSize]{ + OutputState: o.OutputState, + } +} + func (o ScalingConfigInstanceSizePtrOutput) Elem() ScalingConfigInstanceSizeOutput { return o.ApplyT(func(v *ScalingConfigInstanceSize) ScalingConfigInstanceSize { if v != nil { @@ -1040,6 +1143,12 @@ func (in *scalingConfigInstanceSizePtr) ToScalingConfigInstanceSizePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ScalingConfigInstanceSizePtrOutput) } +func (in *scalingConfigInstanceSizePtr) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfigInstanceSize] { + return pulumix.Output[*ScalingConfigInstanceSize]{ + OutputState: in.ToScalingConfigInstanceSizePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The database type that the Metastore service stores its data. type ServiceDatabaseType string @@ -1112,6 +1221,12 @@ func (o ServiceDatabaseTypeOutput) ToServiceDatabaseTypePtrOutputWithContext(ctx }).(ServiceDatabaseTypePtrOutput) } +func (o ServiceDatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceDatabaseType] { + return pulumix.Output[ServiceDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o ServiceDatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1147,6 +1262,12 @@ func (o ServiceDatabaseTypePtrOutput) ToServiceDatabaseTypePtrOutputWithContext( return o } +func (o ServiceDatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseType] { + return pulumix.Output[*ServiceDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o ServiceDatabaseTypePtrOutput) Elem() ServiceDatabaseTypeOutput { return o.ApplyT(func(v *ServiceDatabaseType) ServiceDatabaseType { if v != nil { @@ -1209,6 +1330,12 @@ func (in *serviceDatabaseTypePtr) ToServiceDatabaseTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ServiceDatabaseTypePtrOutput) } +func (in *serviceDatabaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseType] { + return pulumix.Output[*ServiceDatabaseType]{ + OutputState: in.ToServiceDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The release channel of the service. If unspecified, defaults to STABLE. type ServiceReleaseChannel string @@ -1281,6 +1408,12 @@ func (o ServiceReleaseChannelOutput) ToServiceReleaseChannelPtrOutputWithContext }).(ServiceReleaseChannelPtrOutput) } +func (o ServiceReleaseChannelOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceReleaseChannel] { + return pulumix.Output[ServiceReleaseChannel]{ + OutputState: o.OutputState, + } +} + func (o ServiceReleaseChannelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1316,6 +1449,12 @@ func (o ServiceReleaseChannelPtrOutput) ToServiceReleaseChannelPtrOutputWithCont return o } +func (o ServiceReleaseChannelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceReleaseChannel] { + return pulumix.Output[*ServiceReleaseChannel]{ + OutputState: o.OutputState, + } +} + func (o ServiceReleaseChannelPtrOutput) Elem() ServiceReleaseChannelOutput { return o.ApplyT(func(v *ServiceReleaseChannel) ServiceReleaseChannel { if v != nil { @@ -1378,6 +1517,12 @@ func (in *serviceReleaseChannelPtr) ToServiceReleaseChannelPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ServiceReleaseChannelPtrOutput) } +func (in *serviceReleaseChannelPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceReleaseChannel] { + return pulumix.Output[*ServiceReleaseChannel]{ + OutputState: in.ToServiceReleaseChannelPtrOutputWithContext(ctx).OutputState, + } +} + // The tier of the service. type ServiceTier string @@ -1450,6 +1595,12 @@ func (o ServiceTierOutput) ToServiceTierPtrOutputWithContext(ctx context.Context }).(ServiceTierPtrOutput) } +func (o ServiceTierOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceTier] { + return pulumix.Output[ServiceTier]{ + OutputState: o.OutputState, + } +} + func (o ServiceTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1485,6 +1636,12 @@ func (o ServiceTierPtrOutput) ToServiceTierPtrOutputWithContext(ctx context.Cont return o } +func (o ServiceTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceTier] { + return pulumix.Output[*ServiceTier]{ + OutputState: o.OutputState, + } +} + func (o ServiceTierPtrOutput) Elem() ServiceTierOutput { return o.ApplyT(func(v *ServiceTier) ServiceTier { if v != nil { @@ -1547,6 +1704,12 @@ func (in *serviceTierPtr) ToServiceTierPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ServiceTierPtrOutput) } +func (in *serviceTierPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceTier] { + return pulumix.Output[*ServiceTier]{ + OutputState: in.ToServiceTierPtrOutputWithContext(ctx).OutputState, + } +} + // The output format of the Dataproc Metastore service's logs. type TelemetryConfigLogFormat string @@ -1619,6 +1782,12 @@ func (o TelemetryConfigLogFormatOutput) ToTelemetryConfigLogFormatPtrOutputWithC }).(TelemetryConfigLogFormatPtrOutput) } +func (o TelemetryConfigLogFormatOutput) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfigLogFormat] { + return pulumix.Output[TelemetryConfigLogFormat]{ + OutputState: o.OutputState, + } +} + func (o TelemetryConfigLogFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1654,6 +1823,12 @@ func (o TelemetryConfigLogFormatPtrOutput) ToTelemetryConfigLogFormatPtrOutputWi return o } +func (o TelemetryConfigLogFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfigLogFormat] { + return pulumix.Output[*TelemetryConfigLogFormat]{ + OutputState: o.OutputState, + } +} + func (o TelemetryConfigLogFormatPtrOutput) Elem() TelemetryConfigLogFormatOutput { return o.ApplyT(func(v *TelemetryConfigLogFormat) TelemetryConfigLogFormat { if v != nil { @@ -1716,6 +1891,12 @@ func (in *telemetryConfigLogFormatPtr) ToTelemetryConfigLogFormatPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(TelemetryConfigLogFormatPtrOutput) } +func (in *telemetryConfigLogFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfigLogFormat] { + return pulumix.Output[*TelemetryConfigLogFormat]{ + OutputState: in.ToTelemetryConfigLogFormatPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/metastore/v1alpha/pulumiTypes.go b/sdk/go/google/metastore/v1alpha/pulumiTypes.go index 367bff78ee..ff6c684dea 100644 --- a/sdk/go/google/metastore/v1alpha/pulumiTypes.go +++ b/sdk/go/google/metastore/v1alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates members, or principals, with a role. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -550,6 +659,12 @@ func (i ConsumerArgs) ToConsumerOutputWithContext(ctx context.Context) ConsumerO return pulumi.ToOutputWithContext(ctx, i).(ConsumerOutput) } +func (i ConsumerArgs) ToOutput(ctx context.Context) pulumix.Output[Consumer] { + return pulumix.Output[Consumer]{ + OutputState: i.ToConsumerOutputWithContext(ctx).OutputState, + } +} + // ConsumerArrayInput is an input type that accepts ConsumerArray and ConsumerArrayOutput values. // You can construct a concrete instance of `ConsumerArrayInput` via: // @@ -575,6 +690,12 @@ func (i ConsumerArray) ToConsumerArrayOutputWithContext(ctx context.Context) Con return pulumi.ToOutputWithContext(ctx, i).(ConsumerArrayOutput) } +func (i ConsumerArray) ToOutput(ctx context.Context) pulumix.Output[[]Consumer] { + return pulumix.Output[[]Consumer]{ + OutputState: i.ToConsumerArrayOutputWithContext(ctx).OutputState, + } +} + // Contains information of the customer's network configurations. type ConsumerOutput struct{ *pulumi.OutputState } @@ -590,6 +711,12 @@ func (o ConsumerOutput) ToConsumerOutputWithContext(ctx context.Context) Consume return o } +func (o ConsumerOutput) ToOutput(ctx context.Context) pulumix.Output[Consumer] { + return pulumix.Output[Consumer]{ + OutputState: o.OutputState, + } +} + // Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id} func (o ConsumerOutput) Subnetwork() pulumi.StringPtrOutput { return o.ApplyT(func(v Consumer) *string { return v.Subnetwork }).(pulumi.StringPtrOutput) @@ -609,6 +736,12 @@ func (o ConsumerArrayOutput) ToConsumerArrayOutputWithContext(ctx context.Contex return o } +func (o ConsumerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Consumer] { + return pulumix.Output[[]Consumer]{ + OutputState: o.OutputState, + } +} + func (o ConsumerArrayOutput) Index(i pulumi.IntInput) ConsumerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Consumer { return vs[0].([]Consumer)[vs[1].(int)] @@ -638,6 +771,12 @@ func (o ConsumerResponseOutput) ToConsumerResponseOutputWithContext(ctx context. return o } +func (o ConsumerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsumerResponse] { + return pulumix.Output[ConsumerResponse]{ + OutputState: o.OutputState, + } +} + // The URI of the endpoint used to access the metastore service. func (o ConsumerResponseOutput) EndpointUri() pulumi.StringOutput { return o.ApplyT(func(v ConsumerResponse) string { return v.EndpointUri }).(pulumi.StringOutput) @@ -662,6 +801,12 @@ func (o ConsumerResponseArrayOutput) ToConsumerResponseArrayOutputWithContext(ct return o } +func (o ConsumerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConsumerResponse] { + return pulumix.Output[[]ConsumerResponse]{ + OutputState: o.OutputState, + } +} + func (o ConsumerResponseArrayOutput) Index(i pulumi.IntInput) ConsumerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConsumerResponse { return vs[0].([]ConsumerResponse)[vs[1].(int)] @@ -703,6 +848,12 @@ func (i DataCatalogConfigArgs) ToDataCatalogConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DataCatalogConfigOutput) } +func (i DataCatalogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DataCatalogConfig] { + return pulumix.Output[DataCatalogConfig]{ + OutputState: i.ToDataCatalogConfigOutputWithContext(ctx).OutputState, + } +} + func (i DataCatalogConfigArgs) ToDataCatalogConfigPtrOutput() DataCatalogConfigPtrOutput { return i.ToDataCatalogConfigPtrOutputWithContext(context.Background()) } @@ -744,6 +895,12 @@ func (i *dataCatalogConfigPtrType) ToDataCatalogConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DataCatalogConfigPtrOutput) } +func (i *dataCatalogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DataCatalogConfig] { + return pulumix.Output[*DataCatalogConfig]{ + OutputState: i.ToDataCatalogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how metastore metadata should be integrated with the Data Catalog service. type DataCatalogConfigOutput struct{ *pulumi.OutputState } @@ -769,6 +926,12 @@ func (o DataCatalogConfigOutput) ToDataCatalogConfigPtrOutputWithContext(ctx con }).(DataCatalogConfigPtrOutput) } +func (o DataCatalogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DataCatalogConfig] { + return pulumix.Output[DataCatalogConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog. func (o DataCatalogConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v DataCatalogConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -788,6 +951,12 @@ func (o DataCatalogConfigPtrOutput) ToDataCatalogConfigPtrOutputWithContext(ctx return o } +func (o DataCatalogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataCatalogConfig] { + return pulumix.Output[*DataCatalogConfig]{ + OutputState: o.OutputState, + } +} + func (o DataCatalogConfigPtrOutput) Elem() DataCatalogConfigOutput { return o.ApplyT(func(v *DataCatalogConfig) DataCatalogConfig { if v != nil { @@ -829,6 +998,12 @@ func (o DataCatalogConfigResponseOutput) ToDataCatalogConfigResponseOutputWithCo return o } +func (o DataCatalogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataCatalogConfigResponse] { + return pulumix.Output[DataCatalogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog. func (o DataCatalogConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v DataCatalogConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -881,6 +1056,12 @@ func (i DatabaseDumpArgs) ToDatabaseDumpOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DatabaseDumpOutput) } +func (i DatabaseDumpArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseDump] { + return pulumix.Output[DatabaseDump]{ + OutputState: i.ToDatabaseDumpOutputWithContext(ctx).OutputState, + } +} + func (i DatabaseDumpArgs) ToDatabaseDumpPtrOutput() DatabaseDumpPtrOutput { return i.ToDatabaseDumpPtrOutputWithContext(context.Background()) } @@ -922,6 +1103,12 @@ func (i *databaseDumpPtrType) ToDatabaseDumpPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DatabaseDumpPtrOutput) } +func (i *databaseDumpPtrType) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDump] { + return pulumix.Output[*DatabaseDump]{ + OutputState: i.ToDatabaseDumpPtrOutputWithContext(ctx).OutputState, + } +} + // A specification of the location of and metadata about a database dump from a relational database management system. type DatabaseDumpOutput struct{ *pulumi.OutputState } @@ -947,6 +1134,12 @@ func (o DatabaseDumpOutput) ToDatabaseDumpPtrOutputWithContext(ctx context.Conte }).(DatabaseDumpPtrOutput) } +func (o DatabaseDumpOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDump] { + return pulumix.Output[DatabaseDump]{ + OutputState: o.OutputState, + } +} + // The type of the database. func (o DatabaseDumpOutput) DatabaseType() DatabaseDumpDatabaseTypePtrOutput { return o.ApplyT(func(v DatabaseDump) *DatabaseDumpDatabaseType { return v.DatabaseType }).(DatabaseDumpDatabaseTypePtrOutput) @@ -981,6 +1174,12 @@ func (o DatabaseDumpPtrOutput) ToDatabaseDumpPtrOutputWithContext(ctx context.Co return o } +func (o DatabaseDumpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDump] { + return pulumix.Output[*DatabaseDump]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpPtrOutput) Elem() DatabaseDumpOutput { return o.ApplyT(func(v *DatabaseDump) DatabaseDump { if v != nil { @@ -1058,6 +1257,12 @@ func (o DatabaseDumpResponseOutput) ToDatabaseDumpResponseOutputWithContext(ctx return o } +func (o DatabaseDumpResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDumpResponse] { + return pulumix.Output[DatabaseDumpResponse]{ + OutputState: o.OutputState, + } +} + // The type of the database. func (o DatabaseDumpResponseOutput) DatabaseType() pulumi.StringOutput { return o.ApplyT(func(v DatabaseDumpResponse) string { return v.DatabaseType }).(pulumi.StringOutput) @@ -1113,6 +1318,12 @@ func (i DataplexConfigArgs) ToDataplexConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DataplexConfigOutput) } +func (i DataplexConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DataplexConfig] { + return pulumix.Output[DataplexConfig]{ + OutputState: i.ToDataplexConfigOutputWithContext(ctx).OutputState, + } +} + func (i DataplexConfigArgs) ToDataplexConfigPtrOutput() DataplexConfigPtrOutput { return i.ToDataplexConfigPtrOutputWithContext(context.Background()) } @@ -1154,6 +1365,12 @@ func (i *dataplexConfigPtrType) ToDataplexConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DataplexConfigPtrOutput) } +func (i *dataplexConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DataplexConfig] { + return pulumix.Output[*DataplexConfig]{ + OutputState: i.ToDataplexConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how metastore metadata should be integrated with the Dataplex service. type DataplexConfigOutput struct{ *pulumi.OutputState } @@ -1179,6 +1396,12 @@ func (o DataplexConfigOutput) ToDataplexConfigPtrOutputWithContext(ctx context.C }).(DataplexConfigPtrOutput) } +func (o DataplexConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DataplexConfig] { + return pulumix.Output[DataplexConfig]{ + OutputState: o.OutputState, + } +} + // A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. func (o DataplexConfigOutput) LakeResources() pulumi.StringMapOutput { return o.ApplyT(func(v DataplexConfig) map[string]string { return v.LakeResources }).(pulumi.StringMapOutput) @@ -1198,6 +1421,12 @@ func (o DataplexConfigPtrOutput) ToDataplexConfigPtrOutputWithContext(ctx contex return o } +func (o DataplexConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataplexConfig] { + return pulumix.Output[*DataplexConfig]{ + OutputState: o.OutputState, + } +} + func (o DataplexConfigPtrOutput) Elem() DataplexConfigOutput { return o.ApplyT(func(v *DataplexConfig) DataplexConfig { if v != nil { @@ -1239,6 +1468,12 @@ func (o DataplexConfigResponseOutput) ToDataplexConfigResponseOutputWithContext( return o } +func (o DataplexConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataplexConfigResponse] { + return pulumix.Output[DataplexConfigResponse]{ + OutputState: o.OutputState, + } +} + // A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. func (o DataplexConfigResponseOutput) LakeResources() pulumi.StringMapOutput { return o.ApplyT(func(v DataplexConfigResponse) map[string]string { return v.LakeResources }).(pulumi.StringMapOutput) @@ -1279,6 +1514,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -1320,6 +1561,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Encryption settings for the service. type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -1345,6 +1592,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. func (o EncryptionConfigOutput) KmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.KmsKey }).(pulumi.StringPtrOutput) @@ -1364,6 +1617,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -1405,6 +1664,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. func (o EncryptionConfigResponseOutput) KmsKey() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.KmsKey }).(pulumi.StringOutput) @@ -1457,6 +1722,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1498,6 +1769,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1523,6 +1800,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1557,6 +1840,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1634,6 +1923,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1705,6 +2000,12 @@ func (i HiveMetastoreConfigArgs) ToHiveMetastoreConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HiveMetastoreConfigOutput) } +func (i HiveMetastoreConfigArgs) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfig] { + return pulumix.Output[HiveMetastoreConfig]{ + OutputState: i.ToHiveMetastoreConfigOutputWithContext(ctx).OutputState, + } +} + func (i HiveMetastoreConfigArgs) ToHiveMetastoreConfigPtrOutput() HiveMetastoreConfigPtrOutput { return i.ToHiveMetastoreConfigPtrOutputWithContext(context.Background()) } @@ -1746,6 +2047,12 @@ func (i *hiveMetastoreConfigPtrType) ToHiveMetastoreConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(HiveMetastoreConfigPtrOutput) } +func (i *hiveMetastoreConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*HiveMetastoreConfig] { + return pulumix.Output[*HiveMetastoreConfig]{ + OutputState: i.ToHiveMetastoreConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies configuration information specific to running Hive metastore software as the metastore service. type HiveMetastoreConfigOutput struct{ *pulumi.OutputState } @@ -1771,6 +2078,12 @@ func (o HiveMetastoreConfigOutput) ToHiveMetastoreConfigPtrOutputWithContext(ctx }).(HiveMetastoreConfigPtrOutput) } +func (o HiveMetastoreConfigOutput) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfig] { + return pulumix.Output[HiveMetastoreConfig]{ + OutputState: o.OutputState, + } +} + // A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen. func (o HiveMetastoreConfigOutput) AuxiliaryVersions() pulumi.StringMapOutput { return o.ApplyT(func(v HiveMetastoreConfig) map[string]string { return v.AuxiliaryVersions }).(pulumi.StringMapOutput) @@ -1810,6 +2123,12 @@ func (o HiveMetastoreConfigPtrOutput) ToHiveMetastoreConfigPtrOutputWithContext( return o } +func (o HiveMetastoreConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HiveMetastoreConfig] { + return pulumix.Output[*HiveMetastoreConfig]{ + OutputState: o.OutputState, + } +} + func (o HiveMetastoreConfigPtrOutput) Elem() HiveMetastoreConfigOutput { return o.ApplyT(func(v *HiveMetastoreConfig) HiveMetastoreConfig { if v != nil { @@ -1899,6 +2218,12 @@ func (o HiveMetastoreConfigResponseOutput) ToHiveMetastoreConfigResponseOutputWi return o } +func (o HiveMetastoreConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfigResponse] { + return pulumix.Output[HiveMetastoreConfigResponse]{ + OutputState: o.OutputState, + } +} + // A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen. func (o HiveMetastoreConfigResponseOutput) AuxiliaryVersions() pulumi.StringMapOutput { return o.ApplyT(func(v HiveMetastoreConfigResponse) map[string]string { return v.AuxiliaryVersions }).(pulumi.StringMapOutput) @@ -1967,6 +2292,12 @@ func (i KerberosConfigArgs) ToKerberosConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(KerberosConfigOutput) } +func (i KerberosConfigArgs) ToOutput(ctx context.Context) pulumix.Output[KerberosConfig] { + return pulumix.Output[KerberosConfig]{ + OutputState: i.ToKerberosConfigOutputWithContext(ctx).OutputState, + } +} + func (i KerberosConfigArgs) ToKerberosConfigPtrOutput() KerberosConfigPtrOutput { return i.ToKerberosConfigPtrOutputWithContext(context.Background()) } @@ -2008,6 +2339,12 @@ func (i *kerberosConfigPtrType) ToKerberosConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(KerberosConfigPtrOutput) } +func (i *kerberosConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*KerberosConfig] { + return pulumix.Output[*KerberosConfig]{ + OutputState: i.ToKerberosConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration information for a Kerberos principal. type KerberosConfigOutput struct{ *pulumi.OutputState } @@ -2033,6 +2370,12 @@ func (o KerberosConfigOutput) ToKerberosConfigPtrOutputWithContext(ctx context.C }).(KerberosConfigPtrOutput) } +func (o KerberosConfigOutput) ToOutput(ctx context.Context) pulumix.Output[KerberosConfig] { + return pulumix.Output[KerberosConfig]{ + OutputState: o.OutputState, + } +} + // A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). func (o KerberosConfigOutput) Keytab() SecretPtrOutput { return o.ApplyT(func(v KerberosConfig) *Secret { return v.Keytab }).(SecretPtrOutput) @@ -2062,6 +2405,12 @@ func (o KerberosConfigPtrOutput) ToKerberosConfigPtrOutputWithContext(ctx contex return o } +func (o KerberosConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KerberosConfig] { + return pulumix.Output[*KerberosConfig]{ + OutputState: o.OutputState, + } +} + func (o KerberosConfigPtrOutput) Elem() KerberosConfigOutput { return o.ApplyT(func(v *KerberosConfig) KerberosConfig { if v != nil { @@ -2127,6 +2476,12 @@ func (o KerberosConfigResponseOutput) ToKerberosConfigResponseOutputWithContext( return o } +func (o KerberosConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KerberosConfigResponse] { + return pulumix.Output[KerberosConfigResponse]{ + OutputState: o.OutputState, + } +} + // A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). func (o KerberosConfigResponseOutput) Keytab() SecretResponseOutput { return o.ApplyT(func(v KerberosConfigResponse) SecretResponse { return v.Keytab }).(SecretResponseOutput) @@ -2181,6 +2536,12 @@ func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput) } +func (i MaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -2222,6 +2583,12 @@ func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowPtrOutput) } +func (i *maintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance window. This specifies when Dataproc Metastore may perform system maintenance operation to the service. type MaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -2247,6 +2614,12 @@ func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx con }).(MaintenanceWindowPtrOutput) } +func (o MaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // The day of week, when the window starts. func (o MaintenanceWindowOutput) DayOfWeek() MaintenanceWindowDayOfWeekPtrOutput { return o.ApplyT(func(v MaintenanceWindow) *MaintenanceWindowDayOfWeek { return v.DayOfWeek }).(MaintenanceWindowDayOfWeekPtrOutput) @@ -2271,6 +2644,12 @@ func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx return o } +func (o MaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowPtrOutput) Elem() MaintenanceWindowOutput { return o.ApplyT(func(v *MaintenanceWindow) MaintenanceWindow { if v != nil { @@ -2324,6 +2703,12 @@ func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithCo return o } +func (o MaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowResponse] { + return pulumix.Output[MaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // The day of week, when the window starts. func (o MaintenanceWindowResponseOutput) DayOfWeek() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceWindowResponse) string { return v.DayOfWeek }).(pulumi.StringOutput) @@ -2363,6 +2748,12 @@ func (o MetadataExportResponseOutput) ToMetadataExportResponseOutputWithContext( return o } +func (o MetadataExportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataExportResponse] { + return pulumix.Output[MetadataExportResponse]{ + OutputState: o.OutputState, + } +} + // The type of the database dump. func (o MetadataExportResponseOutput) DatabaseDumpType() pulumi.StringOutput { return o.ApplyT(func(v MetadataExportResponse) string { return v.DatabaseDumpType }).(pulumi.StringOutput) @@ -2402,6 +2793,12 @@ func (o MetadataExportResponseArrayOutput) ToMetadataExportResponseArrayOutputWi return o } +func (o MetadataExportResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataExportResponse] { + return pulumix.Output[[]MetadataExportResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataExportResponseArrayOutput) Index(i pulumi.IntInput) MetadataExportResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataExportResponse { return vs[0].([]MetadataExportResponse)[vs[1].(int)] @@ -2447,6 +2844,12 @@ func (i MetadataIntegrationArgs) ToMetadataIntegrationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(MetadataIntegrationOutput) } +func (i MetadataIntegrationArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataIntegration] { + return pulumix.Output[MetadataIntegration]{ + OutputState: i.ToMetadataIntegrationOutputWithContext(ctx).OutputState, + } +} + func (i MetadataIntegrationArgs) ToMetadataIntegrationPtrOutput() MetadataIntegrationPtrOutput { return i.ToMetadataIntegrationPtrOutputWithContext(context.Background()) } @@ -2488,6 +2891,12 @@ func (i *metadataIntegrationPtrType) ToMetadataIntegrationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(MetadataIntegrationPtrOutput) } +func (i *metadataIntegrationPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetadataIntegration] { + return pulumix.Output[*MetadataIntegration]{ + OutputState: i.ToMetadataIntegrationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how metastore metadata should be integrated with external services. type MetadataIntegrationOutput struct{ *pulumi.OutputState } @@ -2513,6 +2922,12 @@ func (o MetadataIntegrationOutput) ToMetadataIntegrationPtrOutputWithContext(ctx }).(MetadataIntegrationPtrOutput) } +func (o MetadataIntegrationOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataIntegration] { + return pulumix.Output[MetadataIntegration]{ + OutputState: o.OutputState, + } +} + // The integration config for the Data Catalog service. func (o MetadataIntegrationOutput) DataCatalogConfig() DataCatalogConfigPtrOutput { return o.ApplyT(func(v MetadataIntegration) *DataCatalogConfig { return v.DataCatalogConfig }).(DataCatalogConfigPtrOutput) @@ -2537,6 +2952,12 @@ func (o MetadataIntegrationPtrOutput) ToMetadataIntegrationPtrOutputWithContext( return o } +func (o MetadataIntegrationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataIntegration] { + return pulumix.Output[*MetadataIntegration]{ + OutputState: o.OutputState, + } +} + func (o MetadataIntegrationPtrOutput) Elem() MetadataIntegrationOutput { return o.ApplyT(func(v *MetadataIntegration) MetadataIntegration { if v != nil { @@ -2590,6 +3011,12 @@ func (o MetadataIntegrationResponseOutput) ToMetadataIntegrationResponseOutputWi return o } +func (o MetadataIntegrationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataIntegrationResponse] { + return pulumix.Output[MetadataIntegrationResponse]{ + OutputState: o.OutputState, + } +} + // The integration config for the Data Catalog service. func (o MetadataIntegrationResponseOutput) DataCatalogConfig() DataCatalogConfigResponseOutput { return o.ApplyT(func(v MetadataIntegrationResponse) DataCatalogConfigResponse { return v.DataCatalogConfig }).(DataCatalogConfigResponseOutput) @@ -2623,6 +3050,12 @@ func (o MetadataManagementActivityResponseOutput) ToMetadataManagementActivityRe return o } +func (o MetadataManagementActivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataManagementActivityResponse] { + return pulumix.Output[MetadataManagementActivityResponse]{ + OutputState: o.OutputState, + } +} + // The latest metadata exports of the metastore service. func (o MetadataManagementActivityResponseOutput) MetadataExports() MetadataExportResponseArrayOutput { return o.ApplyT(func(v MetadataManagementActivityResponse) []MetadataExportResponse { return v.MetadataExports }).(MetadataExportResponseArrayOutput) @@ -2672,6 +3105,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -2713,6 +3152,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Network configuration for the Dataproc Metastore service. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -2738,6 +3183,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. The consumer-side network configuration for the Dataproc Metastore instance. func (o NetworkConfigOutput) Consumers() ConsumerArrayOutput { return o.ApplyT(func(v NetworkConfig) []Consumer { return v.Consumers }).(ConsumerArrayOutput) @@ -2762,6 +3213,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -2815,6 +3272,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The consumer-side network configuration for the Dataproc Metastore instance. func (o NetworkConfigResponseOutput) Consumers() ConsumerResponseArrayOutput { return o.ApplyT(func(v NetworkConfigResponse) []ConsumerResponse { return v.Consumers }).(ConsumerResponseArrayOutput) @@ -2856,6 +3319,12 @@ func (o RestoreResponseOutput) ToRestoreResponseOutputWithContext(ctx context.Co return o } +func (o RestoreResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RestoreResponse] { + return pulumix.Output[RestoreResponse]{ + OutputState: o.OutputState, + } +} + // The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. func (o RestoreResponseOutput) Backup() pulumi.StringOutput { return o.ApplyT(func(v RestoreResponse) string { return v.Backup }).(pulumi.StringOutput) @@ -2900,6 +3369,12 @@ func (o RestoreResponseArrayOutput) ToRestoreResponseArrayOutputWithContext(ctx return o } +func (o RestoreResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RestoreResponse] { + return pulumix.Output[[]RestoreResponse]{ + OutputState: o.OutputState, + } +} + func (o RestoreResponseArrayOutput) Index(i pulumi.IntInput) RestoreResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RestoreResponse { return vs[0].([]RestoreResponse)[vs[1].(int)] @@ -2945,6 +3420,12 @@ func (i ScalingConfigArgs) ToScalingConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ScalingConfigOutput) } +func (i ScalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ScalingConfig] { + return pulumix.Output[ScalingConfig]{ + OutputState: i.ToScalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i ScalingConfigArgs) ToScalingConfigPtrOutput() ScalingConfigPtrOutput { return i.ToScalingConfigPtrOutputWithContext(context.Background()) } @@ -2986,6 +3467,12 @@ func (i *scalingConfigPtrType) ToScalingConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ScalingConfigPtrOutput) } +func (i *scalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfig] { + return pulumix.Output[*ScalingConfig]{ + OutputState: i.ToScalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the scaling configuration of a metastore service. type ScalingConfigOutput struct{ *pulumi.OutputState } @@ -3011,6 +3498,12 @@ func (o ScalingConfigOutput) ToScalingConfigPtrOutputWithContext(ctx context.Con }).(ScalingConfigPtrOutput) } +func (o ScalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ScalingConfig] { + return pulumix.Output[ScalingConfig]{ + OutputState: o.OutputState, + } +} + // An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) func (o ScalingConfigOutput) InstanceSize() ScalingConfigInstanceSizePtrOutput { return o.ApplyT(func(v ScalingConfig) *ScalingConfigInstanceSize { return v.InstanceSize }).(ScalingConfigInstanceSizePtrOutput) @@ -3035,6 +3528,12 @@ func (o ScalingConfigPtrOutput) ToScalingConfigPtrOutputWithContext(ctx context. return o } +func (o ScalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfig] { + return pulumix.Output[*ScalingConfig]{ + OutputState: o.OutputState, + } +} + func (o ScalingConfigPtrOutput) Elem() ScalingConfigOutput { return o.ApplyT(func(v *ScalingConfig) ScalingConfig { if v != nil { @@ -3088,6 +3587,12 @@ func (o ScalingConfigResponseOutput) ToScalingConfigResponseOutputWithContext(ct return o } +func (o ScalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScalingConfigResponse] { + return pulumix.Output[ScalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) func (o ScalingConfigResponseOutput) InstanceSize() pulumi.StringOutput { return o.ApplyT(func(v ScalingConfigResponse) string { return v.InstanceSize }).(pulumi.StringOutput) @@ -3133,6 +3638,12 @@ func (i SecretArgs) ToSecretOutputWithContext(ctx context.Context) SecretOutput return pulumi.ToOutputWithContext(ctx, i).(SecretOutput) } +func (i SecretArgs) ToOutput(ctx context.Context) pulumix.Output[Secret] { + return pulumix.Output[Secret]{ + OutputState: i.ToSecretOutputWithContext(ctx).OutputState, + } +} + func (i SecretArgs) ToSecretPtrOutput() SecretPtrOutput { return i.ToSecretPtrOutputWithContext(context.Background()) } @@ -3174,6 +3685,12 @@ func (i *secretPtrType) ToSecretPtrOutputWithContext(ctx context.Context) Secret return pulumi.ToOutputWithContext(ctx, i).(SecretPtrOutput) } +func (i *secretPtrType) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: i.ToSecretPtrOutputWithContext(ctx).OutputState, + } +} + // A securely stored value. type SecretOutput struct{ *pulumi.OutputState } @@ -3199,6 +3716,12 @@ func (o SecretOutput) ToSecretPtrOutputWithContext(ctx context.Context) SecretPt }).(SecretPtrOutput) } +func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[Secret] { + return pulumix.Output[Secret]{ + OutputState: o.OutputState, + } +} + // The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. func (o SecretOutput) CloudSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v Secret) *string { return v.CloudSecret }).(pulumi.StringPtrOutput) @@ -3218,6 +3741,12 @@ func (o SecretPtrOutput) ToSecretPtrOutputWithContext(ctx context.Context) Secre return o } +func (o SecretPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: o.OutputState, + } +} + func (o SecretPtrOutput) Elem() SecretOutput { return o.ApplyT(func(v *Secret) Secret { if v != nil { @@ -3259,6 +3788,12 @@ func (o SecretResponseOutput) ToSecretResponseOutputWithContext(ctx context.Cont return o } +func (o SecretResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretResponse] { + return pulumix.Output[SecretResponse]{ + OutputState: o.OutputState, + } +} + // The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. func (o SecretResponseOutput) CloudSecret() pulumi.StringOutput { return o.ApplyT(func(v SecretResponse) string { return v.CloudSecret }).(pulumi.StringOutput) @@ -3327,6 +3862,12 @@ func (o ServiceResponseOutput) ToServiceResponseOutputWithContext(ctx context.Co return o } +func (o ServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceResponse] { + return pulumix.Output[ServiceResponse]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. func (o ServiceResponseOutput) ArtifactGcsUri() pulumi.StringOutput { return o.ApplyT(func(v ServiceResponse) string { return v.ArtifactGcsUri }).(pulumi.StringOutput) @@ -3472,6 +4013,12 @@ func (i TelemetryConfigArgs) ToTelemetryConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TelemetryConfigOutput) } +func (i TelemetryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfig] { + return pulumix.Output[TelemetryConfig]{ + OutputState: i.ToTelemetryConfigOutputWithContext(ctx).OutputState, + } +} + func (i TelemetryConfigArgs) ToTelemetryConfigPtrOutput() TelemetryConfigPtrOutput { return i.ToTelemetryConfigPtrOutputWithContext(context.Background()) } @@ -3513,6 +4060,12 @@ func (i *telemetryConfigPtrType) ToTelemetryConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TelemetryConfigPtrOutput) } +func (i *telemetryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfig] { + return pulumix.Output[*TelemetryConfig]{ + OutputState: i.ToTelemetryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Telemetry Configuration for the Dataproc Metastore service. type TelemetryConfigOutput struct{ *pulumi.OutputState } @@ -3538,6 +4091,12 @@ func (o TelemetryConfigOutput) ToTelemetryConfigPtrOutputWithContext(ctx context }).(TelemetryConfigPtrOutput) } +func (o TelemetryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfig] { + return pulumix.Output[TelemetryConfig]{ + OutputState: o.OutputState, + } +} + // The output format of the Dataproc Metastore service's logs. func (o TelemetryConfigOutput) LogFormat() TelemetryConfigLogFormatPtrOutput { return o.ApplyT(func(v TelemetryConfig) *TelemetryConfigLogFormat { return v.LogFormat }).(TelemetryConfigLogFormatPtrOutput) @@ -3557,6 +4116,12 @@ func (o TelemetryConfigPtrOutput) ToTelemetryConfigPtrOutputWithContext(ctx cont return o } +func (o TelemetryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfig] { + return pulumix.Output[*TelemetryConfig]{ + OutputState: o.OutputState, + } +} + func (o TelemetryConfigPtrOutput) Elem() TelemetryConfigOutput { return o.ApplyT(func(v *TelemetryConfig) TelemetryConfig { if v != nil { @@ -3598,6 +4163,12 @@ func (o TelemetryConfigResponseOutput) ToTelemetryConfigResponseOutputWithContex return o } +func (o TelemetryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfigResponse] { + return pulumix.Output[TelemetryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The output format of the Dataproc Metastore service's logs. func (o TelemetryConfigResponseOutput) LogFormat() pulumi.StringOutput { return o.ApplyT(func(v TelemetryConfigResponse) string { return v.LogFormat }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1alpha/service.go b/sdk/go/google/metastore/v1alpha/service.go index b533777133..6a383e4005 100644 --- a/sdk/go/google/metastore/v1alpha/service.go +++ b/sdk/go/google/metastore/v1alpha/service.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a metastore service in a project and location. @@ -214,6 +215,12 @@ func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput return pulumi.ToOutputWithContext(ctx, i).(ServiceOutput) } +func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: i.ToServiceOutputWithContext(ctx).OutputState, + } +} + type ServiceOutput struct{ *pulumi.OutputState } func (ServiceOutput) ElementType() reflect.Type { @@ -228,6 +235,12 @@ func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOu return o } +func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. func (o ServiceOutput) ArtifactGcsUri() pulumi.StringOutput { return o.ApplyT(func(v *Service) pulumi.StringOutput { return v.ArtifactGcsUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceBackupIamBinding.go b/sdk/go/google/metastore/v1alpha/serviceBackupIamBinding.go index b68c071458..3b041d176f 100644 --- a/sdk/go/google/metastore/v1alpha/serviceBackupIamBinding.go +++ b/sdk/go/google/metastore/v1alpha/serviceBackupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceBackupIamBinding) ToServiceBackupIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceBackupIamBindingOutput) } +func (i *ServiceBackupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamBinding] { + return pulumix.Output[*ServiceBackupIamBinding]{ + OutputState: i.ToServiceBackupIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceBackupIamBindingOutput struct{ *pulumi.OutputState } func (ServiceBackupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBackupIamBindingOutput) ToServiceBackupIamBindingOutputWithContex return o } +func (o ServiceBackupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamBinding] { + return pulumix.Output[*ServiceBackupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceBackupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceBackupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceBackupIamMember.go b/sdk/go/google/metastore/v1alpha/serviceBackupIamMember.go index 779b151f85..cf5080b26e 100644 --- a/sdk/go/google/metastore/v1alpha/serviceBackupIamMember.go +++ b/sdk/go/google/metastore/v1alpha/serviceBackupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceBackupIamMember) ToServiceBackupIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ServiceBackupIamMemberOutput) } +func (i *ServiceBackupIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamMember] { + return pulumix.Output[*ServiceBackupIamMember]{ + OutputState: i.ToServiceBackupIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceBackupIamMemberOutput struct{ *pulumi.OutputState } func (ServiceBackupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBackupIamMemberOutput) ToServiceBackupIamMemberOutputWithContext( return o } +func (o ServiceBackupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamMember] { + return pulumix.Output[*ServiceBackupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceBackupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceBackupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceBackupIamPolicy.go b/sdk/go/google/metastore/v1alpha/serviceBackupIamPolicy.go index e43675b233..c8e4e8d8c7 100644 --- a/sdk/go/google/metastore/v1alpha/serviceBackupIamPolicy.go +++ b/sdk/go/google/metastore/v1alpha/serviceBackupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -142,6 +143,12 @@ func (i *ServiceBackupIamPolicy) ToServiceBackupIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ServiceBackupIamPolicyOutput) } +func (i *ServiceBackupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamPolicy] { + return pulumix.Output[*ServiceBackupIamPolicy]{ + OutputState: i.ToServiceBackupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceBackupIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceBackupIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o ServiceBackupIamPolicyOutput) ToServiceBackupIamPolicyOutputWithContext( return o } +func (o ServiceBackupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamPolicy] { + return pulumix.Output[*ServiceBackupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceBackupIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceBackupIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceDatabaseIamBinding.go b/sdk/go/google/metastore/v1alpha/serviceDatabaseIamBinding.go index 5a7716e810..ab0dcd4bac 100644 --- a/sdk/go/google/metastore/v1alpha/serviceDatabaseIamBinding.go +++ b/sdk/go/google/metastore/v1alpha/serviceDatabaseIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceDatabaseIamBinding) ToServiceDatabaseIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseIamBindingOutput) } +func (i *ServiceDatabaseIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamBinding] { + return pulumix.Output[*ServiceDatabaseIamBinding]{ + OutputState: i.ToServiceDatabaseIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseIamBindingOutput struct{ *pulumi.OutputState } func (ServiceDatabaseIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceDatabaseIamBindingOutput) ToServiceDatabaseIamBindingOutputWithCo return o } +func (o ServiceDatabaseIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamBinding] { + return pulumix.Output[*ServiceDatabaseIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceDatabaseIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceDatabaseIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceDatabaseIamMember.go b/sdk/go/google/metastore/v1alpha/serviceDatabaseIamMember.go index bde459328c..941af4a1de 100644 --- a/sdk/go/google/metastore/v1alpha/serviceDatabaseIamMember.go +++ b/sdk/go/google/metastore/v1alpha/serviceDatabaseIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceDatabaseIamMember) ToServiceDatabaseIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseIamMemberOutput) } +func (i *ServiceDatabaseIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamMember] { + return pulumix.Output[*ServiceDatabaseIamMember]{ + OutputState: i.ToServiceDatabaseIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseIamMemberOutput struct{ *pulumi.OutputState } func (ServiceDatabaseIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceDatabaseIamMemberOutput) ToServiceDatabaseIamMemberOutputWithCont return o } +func (o ServiceDatabaseIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamMember] { + return pulumix.Output[*ServiceDatabaseIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceDatabaseIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceDatabaseIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceDatabaseIamPolicy.go b/sdk/go/google/metastore/v1alpha/serviceDatabaseIamPolicy.go index 1570078c47..f94b05d48f 100644 --- a/sdk/go/google/metastore/v1alpha/serviceDatabaseIamPolicy.go +++ b/sdk/go/google/metastore/v1alpha/serviceDatabaseIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -142,6 +143,12 @@ func (i *ServiceDatabaseIamPolicy) ToServiceDatabaseIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseIamPolicyOutput) } +func (i *ServiceDatabaseIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamPolicy] { + return pulumix.Output[*ServiceDatabaseIamPolicy]{ + OutputState: i.ToServiceDatabaseIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceDatabaseIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o ServiceDatabaseIamPolicyOutput) ToServiceDatabaseIamPolicyOutputWithCont return o } +func (o ServiceDatabaseIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamPolicy] { + return pulumix.Output[*ServiceDatabaseIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceDatabaseIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceDatabaseIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamBinding.go b/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamBinding.go index 7488fdd282..3a3072140d 100644 --- a/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamBinding.go +++ b/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceDatabaseTableIamBinding) ToServiceDatabaseTableIamBindingOutputW return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseTableIamBindingOutput) } +func (i *ServiceDatabaseTableIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamBinding] { + return pulumix.Output[*ServiceDatabaseTableIamBinding]{ + OutputState: i.ToServiceDatabaseTableIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseTableIamBindingOutput struct{ *pulumi.OutputState } func (ServiceDatabaseTableIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceDatabaseTableIamBindingOutput) ToServiceDatabaseTableIamBindingOu return o } +func (o ServiceDatabaseTableIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamBinding] { + return pulumix.Output[*ServiceDatabaseTableIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceDatabaseTableIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceDatabaseTableIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamMember.go b/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamMember.go index debe7a87d2..5d6a47e4ee 100644 --- a/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamMember.go +++ b/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceDatabaseTableIamMember) ToServiceDatabaseTableIamMemberOutputWit return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseTableIamMemberOutput) } +func (i *ServiceDatabaseTableIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamMember] { + return pulumix.Output[*ServiceDatabaseTableIamMember]{ + OutputState: i.ToServiceDatabaseTableIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseTableIamMemberOutput struct{ *pulumi.OutputState } func (ServiceDatabaseTableIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceDatabaseTableIamMemberOutput) ToServiceDatabaseTableIamMemberOutp return o } +func (o ServiceDatabaseTableIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamMember] { + return pulumix.Output[*ServiceDatabaseTableIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceDatabaseTableIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceDatabaseTableIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamPolicy.go b/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamPolicy.go index 2fb533d09e..16183a9deb 100644 --- a/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamPolicy.go +++ b/sdk/go/google/metastore/v1alpha/serviceDatabaseTableIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -149,6 +150,12 @@ func (i *ServiceDatabaseTableIamPolicy) ToServiceDatabaseTableIamPolicyOutputWit return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseTableIamPolicyOutput) } +func (i *ServiceDatabaseTableIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamPolicy] { + return pulumix.Output[*ServiceDatabaseTableIamPolicy]{ + OutputState: i.ToServiceDatabaseTableIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseTableIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceDatabaseTableIamPolicyOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o ServiceDatabaseTableIamPolicyOutput) ToServiceDatabaseTableIamPolicyOutp return o } +func (o ServiceDatabaseTableIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamPolicy] { + return pulumix.Output[*ServiceDatabaseTableIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceDatabaseTableIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceDatabaseTableIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceIamBinding.go b/sdk/go/google/metastore/v1alpha/serviceIamBinding.go index b902fb456a..dec7c599da 100644 --- a/sdk/go/google/metastore/v1alpha/serviceIamBinding.go +++ b/sdk/go/google/metastore/v1alpha/serviceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceIamBinding) ToServiceIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ServiceIamBindingOutput) } +func (i *ServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: i.ToServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceIamBindingOutput struct{ *pulumi.OutputState } func (ServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamBindingOutput) ToServiceIamBindingOutputWithContext(ctx contex return o } +func (o ServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceIamMember.go b/sdk/go/google/metastore/v1alpha/serviceIamMember.go index a89b92ca92..4f57079216 100644 --- a/sdk/go/google/metastore/v1alpha/serviceIamMember.go +++ b/sdk/go/google/metastore/v1alpha/serviceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceIamMember) ToServiceIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamMemberOutput) } +func (i *ServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: i.ToServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceIamMemberOutput struct{ *pulumi.OutputState } func (ServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamMemberOutput) ToServiceIamMemberOutputWithContext(ctx context. return o } +func (o ServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1alpha/serviceIamPolicy.go b/sdk/go/google/metastore/v1alpha/serviceIamPolicy.go index 8d903d405e..10faa51472 100644 --- a/sdk/go/google/metastore/v1alpha/serviceIamPolicy.go +++ b/sdk/go/google/metastore/v1alpha/serviceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceIamPolicy) ToServiceIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamPolicyOutput) } +func (i *ServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: i.ToServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamPolicyOutput) ToServiceIamPolicyOutputWithContext(ctx context. return o } +func (o ServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1beta/backup.go b/sdk/go/google/metastore/v1beta/backup.go index 54d4a09f7a..1bd45f5b3f 100644 --- a/sdk/go/google/metastore/v1beta/backup.go +++ b/sdk/go/google/metastore/v1beta/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new backup in a given project and location. @@ -143,6 +144,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // Required. The ID of the backup, which is used as the final component of the backup's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens. func (o BackupOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *Backup) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1beta/federation.go b/sdk/go/google/metastore/v1beta/federation.go index f990d3e165..e56d4344ac 100644 --- a/sdk/go/google/metastore/v1beta/federation.go +++ b/sdk/go/google/metastore/v1beta/federation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a metastore federation in a project and location. @@ -150,6 +151,12 @@ func (i *Federation) ToFederationOutputWithContext(ctx context.Context) Federati return pulumi.ToOutputWithContext(ctx, i).(FederationOutput) } +func (i *Federation) ToOutput(ctx context.Context) pulumix.Output[*Federation] { + return pulumix.Output[*Federation]{ + OutputState: i.ToFederationOutputWithContext(ctx).OutputState, + } +} + type FederationOutput struct{ *pulumi.OutputState } func (FederationOutput) ElementType() reflect.Type { @@ -164,6 +171,12 @@ func (o FederationOutput) ToFederationOutputWithContext(ctx context.Context) Fed return o } +func (o FederationOutput) ToOutput(ctx context.Context) pulumix.Output[*Federation] { + return pulumix.Output[*Federation]{ + OutputState: o.OutputState, + } +} + // A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number. func (o FederationOutput) BackendMetastores() pulumi.StringMapOutput { return o.ApplyT(func(v *Federation) pulumi.StringMapOutput { return v.BackendMetastores }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/metastore/v1beta/federationIamBinding.go b/sdk/go/google/metastore/v1beta/federationIamBinding.go index 801f4b9c26..b947be0e2d 100644 --- a/sdk/go/google/metastore/v1beta/federationIamBinding.go +++ b/sdk/go/google/metastore/v1beta/federationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *FederationIamBinding) ToFederationIamBindingOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(FederationIamBindingOutput) } +func (i *FederationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*FederationIamBinding] { + return pulumix.Output[*FederationIamBinding]{ + OutputState: i.ToFederationIamBindingOutputWithContext(ctx).OutputState, + } +} + type FederationIamBindingOutput struct{ *pulumi.OutputState } func (FederationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FederationIamBindingOutput) ToFederationIamBindingOutputWithContext(ctx return o } +func (o FederationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*FederationIamBinding] { + return pulumix.Output[*FederationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FederationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FederationIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1beta/federationIamMember.go b/sdk/go/google/metastore/v1beta/federationIamMember.go index d5617fb15a..55f6e89514 100644 --- a/sdk/go/google/metastore/v1beta/federationIamMember.go +++ b/sdk/go/google/metastore/v1beta/federationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *FederationIamMember) ToFederationIamMemberOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FederationIamMemberOutput) } +func (i *FederationIamMember) ToOutput(ctx context.Context) pulumix.Output[*FederationIamMember] { + return pulumix.Output[*FederationIamMember]{ + OutputState: i.ToFederationIamMemberOutputWithContext(ctx).OutputState, + } +} + type FederationIamMemberOutput struct{ *pulumi.OutputState } func (FederationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FederationIamMemberOutput) ToFederationIamMemberOutputWithContext(ctx co return o } +func (o FederationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*FederationIamMember] { + return pulumix.Output[*FederationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o FederationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *FederationIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1beta/federationIamPolicy.go b/sdk/go/google/metastore/v1beta/federationIamPolicy.go index 9e9c815e60..8ec9ce66cf 100644 --- a/sdk/go/google/metastore/v1beta/federationIamPolicy.go +++ b/sdk/go/google/metastore/v1beta/federationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *FederationIamPolicy) ToFederationIamPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FederationIamPolicyOutput) } +func (i *FederationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*FederationIamPolicy] { + return pulumix.Output[*FederationIamPolicy]{ + OutputState: i.ToFederationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type FederationIamPolicyOutput struct{ *pulumi.OutputState } func (FederationIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o FederationIamPolicyOutput) ToFederationIamPolicyOutputWithContext(ctx co return o } +func (o FederationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FederationIamPolicy] { + return pulumix.Output[*FederationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o FederationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *FederationIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1beta/getBackup.go b/sdk/go/google/metastore/v1beta/getBackup.go index 1a2bd33401..32692f850b 100644 --- a/sdk/go/google/metastore/v1beta/getBackup.go +++ b/sdk/go/google/metastore/v1beta/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single backup. @@ -84,6 +85,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // The time when the backup was started. func (o LookupBackupResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1beta/getFederation.go b/sdk/go/google/metastore/v1beta/getFederation.go index 65519f5f97..95e89bbaa4 100644 --- a/sdk/go/google/metastore/v1beta/getFederation.go +++ b/sdk/go/google/metastore/v1beta/getFederation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a single federation. @@ -88,6 +89,12 @@ func (o LookupFederationResultOutput) ToLookupFederationResultOutputWithContext( return o } +func (o LookupFederationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFederationResult] { + return pulumix.Output[LookupFederationResult]{ + OutputState: o.OutputState, + } +} + // A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number. func (o LookupFederationResultOutput) BackendMetastores() pulumi.StringMapOutput { return o.ApplyT(func(v LookupFederationResult) map[string]string { return v.BackendMetastores }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/metastore/v1beta/getFederationIamPolicy.go b/sdk/go/google/metastore/v1beta/getFederationIamPolicy.go index 8cf5e1da2c..7fef8dcc36 100644 --- a/sdk/go/google/metastore/v1beta/getFederationIamPolicy.go +++ b/sdk/go/google/metastore/v1beta/getFederationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupFederationIamPolicyResultOutput) ToLookupFederationIamPolicyResult return o } +func (o LookupFederationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFederationIamPolicyResult] { + return pulumix.Output[LookupFederationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupFederationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupFederationIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1beta/getMetadataImport.go b/sdk/go/google/metastore/v1beta/getMetadataImport.go index a4bc183613..3fddf5a111 100644 --- a/sdk/go/google/metastore/v1beta/getMetadataImport.go +++ b/sdk/go/google/metastore/v1beta/getMetadataImport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single import. @@ -84,6 +85,12 @@ func (o LookupMetadataImportResultOutput) ToLookupMetadataImportResultOutputWith return o } +func (o LookupMetadataImportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMetadataImportResult] { + return pulumix.Output[LookupMetadataImportResult]{ + OutputState: o.OutputState, + } +} + // The time when the metadata import was started. func (o LookupMetadataImportResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMetadataImportResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1beta/getService.go b/sdk/go/google/metastore/v1beta/getService.go index 077ce68997..3d5aa3ac9e 100644 --- a/sdk/go/google/metastore/v1beta/getService.go +++ b/sdk/go/google/metastore/v1beta/getService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a single service. @@ -112,6 +113,12 @@ func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx co return o } +func (o LookupServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceResult] { + return pulumix.Output[LookupServiceResult]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. func (o LookupServiceResultOutput) ArtifactGcsUri() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceResult) string { return v.ArtifactGcsUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1beta/getServiceBackupIamPolicy.go b/sdk/go/google/metastore/v1beta/getServiceBackupIamPolicy.go index b6591e2e3a..ae7934441a 100644 --- a/sdk/go/google/metastore/v1beta/getServiceBackupIamPolicy.go +++ b/sdk/go/google/metastore/v1beta/getServiceBackupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupServiceBackupIamPolicyResultOutput) ToLookupServiceBackupIamPolicy return o } +func (o LookupServiceBackupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceBackupIamPolicyResult] { + return pulumix.Output[LookupServiceBackupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceBackupIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceBackupIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1beta/getServiceDatabaseIamPolicy.go b/sdk/go/google/metastore/v1beta/getServiceDatabaseIamPolicy.go index 1c721fc0ff..737046415e 100644 --- a/sdk/go/google/metastore/v1beta/getServiceDatabaseIamPolicy.go +++ b/sdk/go/google/metastore/v1beta/getServiceDatabaseIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupServiceDatabaseIamPolicyResultOutput) ToLookupServiceDatabaseIamPo return o } +func (o LookupServiceDatabaseIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceDatabaseIamPolicyResult] { + return pulumix.Output[LookupServiceDatabaseIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceDatabaseIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceDatabaseIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1beta/getServiceDatabaseTableIamPolicy.go b/sdk/go/google/metastore/v1beta/getServiceDatabaseTableIamPolicy.go index 7fdd965b97..14de966029 100644 --- a/sdk/go/google/metastore/v1beta/getServiceDatabaseTableIamPolicy.go +++ b/sdk/go/google/metastore/v1beta/getServiceDatabaseTableIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -82,6 +83,12 @@ func (o LookupServiceDatabaseTableIamPolicyResultOutput) ToLookupServiceDatabase return o } +func (o LookupServiceDatabaseTableIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceDatabaseTableIamPolicyResult] { + return pulumix.Output[LookupServiceDatabaseTableIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceDatabaseTableIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceDatabaseTableIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1beta/getServiceIamPolicy.go b/sdk/go/google/metastore/v1beta/getServiceIamPolicy.go index 636f7f79e6..714e493a36 100644 --- a/sdk/go/google/metastore/v1beta/getServiceIamPolicy.go +++ b/sdk/go/google/metastore/v1beta/getServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupServiceIamPolicyResultOutput) ToLookupServiceIamPolicyResultOutput return o } +func (o LookupServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceIamPolicyResult] { + return pulumix.Output[LookupServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1beta/metadataImport.go b/sdk/go/google/metastore/v1beta/metadataImport.go index 5293aead59..ef94653be5 100644 --- a/sdk/go/google/metastore/v1beta/metadataImport.go +++ b/sdk/go/google/metastore/v1beta/metadataImport.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new MetadataImport in a given project and location. @@ -149,6 +150,12 @@ func (i *MetadataImport) ToMetadataImportOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MetadataImportOutput) } +func (i *MetadataImport) ToOutput(ctx context.Context) pulumix.Output[*MetadataImport] { + return pulumix.Output[*MetadataImport]{ + OutputState: i.ToMetadataImportOutputWithContext(ctx).OutputState, + } +} + type MetadataImportOutput struct{ *pulumi.OutputState } func (MetadataImportOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o MetadataImportOutput) ToMetadataImportOutputWithContext(ctx context.Cont return o } +func (o MetadataImportOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataImport] { + return pulumix.Output[*MetadataImport]{ + OutputState: o.OutputState, + } +} + // The time when the metadata import was started. func (o MetadataImportOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *MetadataImport) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1beta/pulumiEnums.go b/sdk/go/google/metastore/v1beta/pulumiEnums.go index e87cf7c135..9313c4cc74 100644 --- a/sdk/go/google/metastore/v1beta/pulumiEnums.go +++ b/sdk/go/google/metastore/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of the database. type DatabaseDumpDatabaseType string @@ -251,6 +270,12 @@ func (o DatabaseDumpDatabaseTypeOutput) ToDatabaseDumpDatabaseTypePtrOutputWithC }).(DatabaseDumpDatabaseTypePtrOutput) } +func (o DatabaseDumpDatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDumpDatabaseType] { + return pulumix.Output[DatabaseDumpDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpDatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o DatabaseDumpDatabaseTypePtrOutput) ToDatabaseDumpDatabaseTypePtrOutputWi return o } +func (o DatabaseDumpDatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpDatabaseType] { + return pulumix.Output[*DatabaseDumpDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpDatabaseTypePtrOutput) Elem() DatabaseDumpDatabaseTypeOutput { return o.ApplyT(func(v *DatabaseDumpDatabaseType) DatabaseDumpDatabaseType { if v != nil { @@ -348,6 +379,12 @@ func (in *databaseDumpDatabaseTypePtr) ToDatabaseDumpDatabaseTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(DatabaseDumpDatabaseTypePtrOutput) } +func (in *databaseDumpDatabaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpDatabaseType] { + return pulumix.Output[*DatabaseDumpDatabaseType]{ + OutputState: in.ToDatabaseDumpDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The type of the database dump. If unspecified, defaults to MYSQL. type DatabaseDumpType string @@ -420,6 +457,12 @@ func (o DatabaseDumpTypeOutput) ToDatabaseDumpTypePtrOutputWithContext(ctx conte }).(DatabaseDumpTypePtrOutput) } +func (o DatabaseDumpTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDumpType] { + return pulumix.Output[DatabaseDumpType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o DatabaseDumpTypePtrOutput) ToDatabaseDumpTypePtrOutputWithContext(ctx co return o } +func (o DatabaseDumpTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpType] { + return pulumix.Output[*DatabaseDumpType]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpTypePtrOutput) Elem() DatabaseDumpTypeOutput { return o.ApplyT(func(v *DatabaseDumpType) DatabaseDumpType { if v != nil { @@ -517,6 +566,12 @@ func (in *databaseDumpTypePtr) ToDatabaseDumpTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(DatabaseDumpTypePtrOutput) } +func (in *databaseDumpTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDumpType] { + return pulumix.Output[*DatabaseDumpType]{ + OutputState: in.ToDatabaseDumpTypePtrOutputWithContext(ctx).OutputState, + } +} + // The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT. type HiveMetastoreConfigEndpointProtocol string @@ -589,6 +644,12 @@ func (o HiveMetastoreConfigEndpointProtocolOutput) ToHiveMetastoreConfigEndpoint }).(HiveMetastoreConfigEndpointProtocolPtrOutput) } +func (o HiveMetastoreConfigEndpointProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfigEndpointProtocol] { + return pulumix.Output[HiveMetastoreConfigEndpointProtocol]{ + OutputState: o.OutputState, + } +} + func (o HiveMetastoreConfigEndpointProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -624,6 +685,12 @@ func (o HiveMetastoreConfigEndpointProtocolPtrOutput) ToHiveMetastoreConfigEndpo return o } +func (o HiveMetastoreConfigEndpointProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HiveMetastoreConfigEndpointProtocol] { + return pulumix.Output[*HiveMetastoreConfigEndpointProtocol]{ + OutputState: o.OutputState, + } +} + func (o HiveMetastoreConfigEndpointProtocolPtrOutput) Elem() HiveMetastoreConfigEndpointProtocolOutput { return o.ApplyT(func(v *HiveMetastoreConfigEndpointProtocol) HiveMetastoreConfigEndpointProtocol { if v != nil { @@ -686,6 +753,12 @@ func (in *hiveMetastoreConfigEndpointProtocolPtr) ToHiveMetastoreConfigEndpointP return pulumi.ToOutputWithContext(ctx, in).(HiveMetastoreConfigEndpointProtocolPtrOutput) } +func (in *hiveMetastoreConfigEndpointProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*HiveMetastoreConfigEndpointProtocol] { + return pulumix.Output[*HiveMetastoreConfigEndpointProtocol]{ + OutputState: in.ToHiveMetastoreConfigEndpointProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // The day of week, when the window starts. type MaintenanceWindowDayOfWeek string @@ -768,6 +841,12 @@ func (o MaintenanceWindowDayOfWeekOutput) ToMaintenanceWindowDayOfWeekPtrOutputW }).(MaintenanceWindowDayOfWeekPtrOutput) } +func (o MaintenanceWindowDayOfWeekOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowDayOfWeek] { + return pulumix.Output[MaintenanceWindowDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowDayOfWeekOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -803,6 +882,12 @@ func (o MaintenanceWindowDayOfWeekPtrOutput) ToMaintenanceWindowDayOfWeekPtrOutp return o } +func (o MaintenanceWindowDayOfWeekPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindowDayOfWeek] { + return pulumix.Output[*MaintenanceWindowDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowDayOfWeekPtrOutput) Elem() MaintenanceWindowDayOfWeekOutput { return o.ApplyT(func(v *MaintenanceWindowDayOfWeek) MaintenanceWindowDayOfWeek { if v != nil { @@ -865,6 +950,12 @@ func (in *maintenanceWindowDayOfWeekPtr) ToMaintenanceWindowDayOfWeekPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(MaintenanceWindowDayOfWeekPtrOutput) } +func (in *maintenanceWindowDayOfWeekPtr) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindowDayOfWeek] { + return pulumix.Output[*MaintenanceWindowDayOfWeek]{ + OutputState: in.ToMaintenanceWindowDayOfWeekPtrOutputWithContext(ctx).OutputState, + } +} + // An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) type ScalingConfigInstanceSize string @@ -943,6 +1034,12 @@ func (o ScalingConfigInstanceSizeOutput) ToScalingConfigInstanceSizePtrOutputWit }).(ScalingConfigInstanceSizePtrOutput) } +func (o ScalingConfigInstanceSizeOutput) ToOutput(ctx context.Context) pulumix.Output[ScalingConfigInstanceSize] { + return pulumix.Output[ScalingConfigInstanceSize]{ + OutputState: o.OutputState, + } +} + func (o ScalingConfigInstanceSizeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -978,6 +1075,12 @@ func (o ScalingConfigInstanceSizePtrOutput) ToScalingConfigInstanceSizePtrOutput return o } +func (o ScalingConfigInstanceSizePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfigInstanceSize] { + return pulumix.Output[*ScalingConfigInstanceSize]{ + OutputState: o.OutputState, + } +} + func (o ScalingConfigInstanceSizePtrOutput) Elem() ScalingConfigInstanceSizeOutput { return o.ApplyT(func(v *ScalingConfigInstanceSize) ScalingConfigInstanceSize { if v != nil { @@ -1040,6 +1143,12 @@ func (in *scalingConfigInstanceSizePtr) ToScalingConfigInstanceSizePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ScalingConfigInstanceSizePtrOutput) } +func (in *scalingConfigInstanceSizePtr) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfigInstanceSize] { + return pulumix.Output[*ScalingConfigInstanceSize]{ + OutputState: in.ToScalingConfigInstanceSizePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The database type that the Metastore service stores its data. type ServiceDatabaseType string @@ -1112,6 +1221,12 @@ func (o ServiceDatabaseTypeOutput) ToServiceDatabaseTypePtrOutputWithContext(ctx }).(ServiceDatabaseTypePtrOutput) } +func (o ServiceDatabaseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceDatabaseType] { + return pulumix.Output[ServiceDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o ServiceDatabaseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1147,6 +1262,12 @@ func (o ServiceDatabaseTypePtrOutput) ToServiceDatabaseTypePtrOutputWithContext( return o } +func (o ServiceDatabaseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseType] { + return pulumix.Output[*ServiceDatabaseType]{ + OutputState: o.OutputState, + } +} + func (o ServiceDatabaseTypePtrOutput) Elem() ServiceDatabaseTypeOutput { return o.ApplyT(func(v *ServiceDatabaseType) ServiceDatabaseType { if v != nil { @@ -1209,6 +1330,12 @@ func (in *serviceDatabaseTypePtr) ToServiceDatabaseTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ServiceDatabaseTypePtrOutput) } +func (in *serviceDatabaseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseType] { + return pulumix.Output[*ServiceDatabaseType]{ + OutputState: in.ToServiceDatabaseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The release channel of the service. If unspecified, defaults to STABLE. type ServiceReleaseChannel string @@ -1281,6 +1408,12 @@ func (o ServiceReleaseChannelOutput) ToServiceReleaseChannelPtrOutputWithContext }).(ServiceReleaseChannelPtrOutput) } +func (o ServiceReleaseChannelOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceReleaseChannel] { + return pulumix.Output[ServiceReleaseChannel]{ + OutputState: o.OutputState, + } +} + func (o ServiceReleaseChannelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1316,6 +1449,12 @@ func (o ServiceReleaseChannelPtrOutput) ToServiceReleaseChannelPtrOutputWithCont return o } +func (o ServiceReleaseChannelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceReleaseChannel] { + return pulumix.Output[*ServiceReleaseChannel]{ + OutputState: o.OutputState, + } +} + func (o ServiceReleaseChannelPtrOutput) Elem() ServiceReleaseChannelOutput { return o.ApplyT(func(v *ServiceReleaseChannel) ServiceReleaseChannel { if v != nil { @@ -1378,6 +1517,12 @@ func (in *serviceReleaseChannelPtr) ToServiceReleaseChannelPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ServiceReleaseChannelPtrOutput) } +func (in *serviceReleaseChannelPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceReleaseChannel] { + return pulumix.Output[*ServiceReleaseChannel]{ + OutputState: in.ToServiceReleaseChannelPtrOutputWithContext(ctx).OutputState, + } +} + // The tier of the service. type ServiceTier string @@ -1450,6 +1595,12 @@ func (o ServiceTierOutput) ToServiceTierPtrOutputWithContext(ctx context.Context }).(ServiceTierPtrOutput) } +func (o ServiceTierOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceTier] { + return pulumix.Output[ServiceTier]{ + OutputState: o.OutputState, + } +} + func (o ServiceTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1485,6 +1636,12 @@ func (o ServiceTierPtrOutput) ToServiceTierPtrOutputWithContext(ctx context.Cont return o } +func (o ServiceTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceTier] { + return pulumix.Output[*ServiceTier]{ + OutputState: o.OutputState, + } +} + func (o ServiceTierPtrOutput) Elem() ServiceTierOutput { return o.ApplyT(func(v *ServiceTier) ServiceTier { if v != nil { @@ -1547,6 +1704,12 @@ func (in *serviceTierPtr) ToServiceTierPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ServiceTierPtrOutput) } +func (in *serviceTierPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceTier] { + return pulumix.Output[*ServiceTier]{ + OutputState: in.ToServiceTierPtrOutputWithContext(ctx).OutputState, + } +} + // The output format of the Dataproc Metastore service's logs. type TelemetryConfigLogFormat string @@ -1619,6 +1782,12 @@ func (o TelemetryConfigLogFormatOutput) ToTelemetryConfigLogFormatPtrOutputWithC }).(TelemetryConfigLogFormatPtrOutput) } +func (o TelemetryConfigLogFormatOutput) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfigLogFormat] { + return pulumix.Output[TelemetryConfigLogFormat]{ + OutputState: o.OutputState, + } +} + func (o TelemetryConfigLogFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1654,6 +1823,12 @@ func (o TelemetryConfigLogFormatPtrOutput) ToTelemetryConfigLogFormatPtrOutputWi return o } +func (o TelemetryConfigLogFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfigLogFormat] { + return pulumix.Output[*TelemetryConfigLogFormat]{ + OutputState: o.OutputState, + } +} + func (o TelemetryConfigLogFormatPtrOutput) Elem() TelemetryConfigLogFormatOutput { return o.ApplyT(func(v *TelemetryConfigLogFormat) TelemetryConfigLogFormat { if v != nil { @@ -1716,6 +1891,12 @@ func (in *telemetryConfigLogFormatPtr) ToTelemetryConfigLogFormatPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(TelemetryConfigLogFormatPtrOutput) } +func (in *telemetryConfigLogFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfigLogFormat] { + return pulumix.Output[*TelemetryConfigLogFormat]{ + OutputState: in.ToTelemetryConfigLogFormatPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/metastore/v1beta/pulumiTypes.go b/sdk/go/google/metastore/v1beta/pulumiTypes.go index 34992b0706..62d386b351 100644 --- a/sdk/go/google/metastore/v1beta/pulumiTypes.go +++ b/sdk/go/google/metastore/v1beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates members, or principals, with a role. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -550,6 +659,12 @@ func (i ConsumerArgs) ToConsumerOutputWithContext(ctx context.Context) ConsumerO return pulumi.ToOutputWithContext(ctx, i).(ConsumerOutput) } +func (i ConsumerArgs) ToOutput(ctx context.Context) pulumix.Output[Consumer] { + return pulumix.Output[Consumer]{ + OutputState: i.ToConsumerOutputWithContext(ctx).OutputState, + } +} + // ConsumerArrayInput is an input type that accepts ConsumerArray and ConsumerArrayOutput values. // You can construct a concrete instance of `ConsumerArrayInput` via: // @@ -575,6 +690,12 @@ func (i ConsumerArray) ToConsumerArrayOutputWithContext(ctx context.Context) Con return pulumi.ToOutputWithContext(ctx, i).(ConsumerArrayOutput) } +func (i ConsumerArray) ToOutput(ctx context.Context) pulumix.Output[[]Consumer] { + return pulumix.Output[[]Consumer]{ + OutputState: i.ToConsumerArrayOutputWithContext(ctx).OutputState, + } +} + // Contains information of the customer's network configurations. type ConsumerOutput struct{ *pulumi.OutputState } @@ -590,6 +711,12 @@ func (o ConsumerOutput) ToConsumerOutputWithContext(ctx context.Context) Consume return o } +func (o ConsumerOutput) ToOutput(ctx context.Context) pulumix.Output[Consumer] { + return pulumix.Output[Consumer]{ + OutputState: o.OutputState, + } +} + // Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id} func (o ConsumerOutput) Subnetwork() pulumi.StringPtrOutput { return o.ApplyT(func(v Consumer) *string { return v.Subnetwork }).(pulumi.StringPtrOutput) @@ -609,6 +736,12 @@ func (o ConsumerArrayOutput) ToConsumerArrayOutputWithContext(ctx context.Contex return o } +func (o ConsumerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Consumer] { + return pulumix.Output[[]Consumer]{ + OutputState: o.OutputState, + } +} + func (o ConsumerArrayOutput) Index(i pulumi.IntInput) ConsumerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Consumer { return vs[0].([]Consumer)[vs[1].(int)] @@ -638,6 +771,12 @@ func (o ConsumerResponseOutput) ToConsumerResponseOutputWithContext(ctx context. return o } +func (o ConsumerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsumerResponse] { + return pulumix.Output[ConsumerResponse]{ + OutputState: o.OutputState, + } +} + // The URI of the endpoint used to access the metastore service. func (o ConsumerResponseOutput) EndpointUri() pulumi.StringOutput { return o.ApplyT(func(v ConsumerResponse) string { return v.EndpointUri }).(pulumi.StringOutput) @@ -662,6 +801,12 @@ func (o ConsumerResponseArrayOutput) ToConsumerResponseArrayOutputWithContext(ct return o } +func (o ConsumerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConsumerResponse] { + return pulumix.Output[[]ConsumerResponse]{ + OutputState: o.OutputState, + } +} + func (o ConsumerResponseArrayOutput) Index(i pulumi.IntInput) ConsumerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConsumerResponse { return vs[0].([]ConsumerResponse)[vs[1].(int)] @@ -703,6 +848,12 @@ func (i DataCatalogConfigArgs) ToDataCatalogConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DataCatalogConfigOutput) } +func (i DataCatalogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DataCatalogConfig] { + return pulumix.Output[DataCatalogConfig]{ + OutputState: i.ToDataCatalogConfigOutputWithContext(ctx).OutputState, + } +} + func (i DataCatalogConfigArgs) ToDataCatalogConfigPtrOutput() DataCatalogConfigPtrOutput { return i.ToDataCatalogConfigPtrOutputWithContext(context.Background()) } @@ -744,6 +895,12 @@ func (i *dataCatalogConfigPtrType) ToDataCatalogConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DataCatalogConfigPtrOutput) } +func (i *dataCatalogConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DataCatalogConfig] { + return pulumix.Output[*DataCatalogConfig]{ + OutputState: i.ToDataCatalogConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how metastore metadata should be integrated with the Data Catalog service. type DataCatalogConfigOutput struct{ *pulumi.OutputState } @@ -769,6 +926,12 @@ func (o DataCatalogConfigOutput) ToDataCatalogConfigPtrOutputWithContext(ctx con }).(DataCatalogConfigPtrOutput) } +func (o DataCatalogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DataCatalogConfig] { + return pulumix.Output[DataCatalogConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog. func (o DataCatalogConfigOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v DataCatalogConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -788,6 +951,12 @@ func (o DataCatalogConfigPtrOutput) ToDataCatalogConfigPtrOutputWithContext(ctx return o } +func (o DataCatalogConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataCatalogConfig] { + return pulumix.Output[*DataCatalogConfig]{ + OutputState: o.OutputState, + } +} + func (o DataCatalogConfigPtrOutput) Elem() DataCatalogConfigOutput { return o.ApplyT(func(v *DataCatalogConfig) DataCatalogConfig { if v != nil { @@ -829,6 +998,12 @@ func (o DataCatalogConfigResponseOutput) ToDataCatalogConfigResponseOutputWithCo return o } +func (o DataCatalogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataCatalogConfigResponse] { + return pulumix.Output[DataCatalogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog. func (o DataCatalogConfigResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v DataCatalogConfigResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -881,6 +1056,12 @@ func (i DatabaseDumpArgs) ToDatabaseDumpOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DatabaseDumpOutput) } +func (i DatabaseDumpArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseDump] { + return pulumix.Output[DatabaseDump]{ + OutputState: i.ToDatabaseDumpOutputWithContext(ctx).OutputState, + } +} + func (i DatabaseDumpArgs) ToDatabaseDumpPtrOutput() DatabaseDumpPtrOutput { return i.ToDatabaseDumpPtrOutputWithContext(context.Background()) } @@ -922,6 +1103,12 @@ func (i *databaseDumpPtrType) ToDatabaseDumpPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DatabaseDumpPtrOutput) } +func (i *databaseDumpPtrType) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDump] { + return pulumix.Output[*DatabaseDump]{ + OutputState: i.ToDatabaseDumpPtrOutputWithContext(ctx).OutputState, + } +} + // A specification of the location of and metadata about a database dump from a relational database management system. type DatabaseDumpOutput struct{ *pulumi.OutputState } @@ -947,6 +1134,12 @@ func (o DatabaseDumpOutput) ToDatabaseDumpPtrOutputWithContext(ctx context.Conte }).(DatabaseDumpPtrOutput) } +func (o DatabaseDumpOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDump] { + return pulumix.Output[DatabaseDump]{ + OutputState: o.OutputState, + } +} + // The type of the database. func (o DatabaseDumpOutput) DatabaseType() DatabaseDumpDatabaseTypePtrOutput { return o.ApplyT(func(v DatabaseDump) *DatabaseDumpDatabaseType { return v.DatabaseType }).(DatabaseDumpDatabaseTypePtrOutput) @@ -981,6 +1174,12 @@ func (o DatabaseDumpPtrOutput) ToDatabaseDumpPtrOutputWithContext(ctx context.Co return o } +func (o DatabaseDumpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDump] { + return pulumix.Output[*DatabaseDump]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDumpPtrOutput) Elem() DatabaseDumpOutput { return o.ApplyT(func(v *DatabaseDump) DatabaseDump { if v != nil { @@ -1058,6 +1257,12 @@ func (o DatabaseDumpResponseOutput) ToDatabaseDumpResponseOutputWithContext(ctx return o } +func (o DatabaseDumpResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDumpResponse] { + return pulumix.Output[DatabaseDumpResponse]{ + OutputState: o.OutputState, + } +} + // The type of the database. func (o DatabaseDumpResponseOutput) DatabaseType() pulumi.StringOutput { return o.ApplyT(func(v DatabaseDumpResponse) string { return v.DatabaseType }).(pulumi.StringOutput) @@ -1113,6 +1318,12 @@ func (i DataplexConfigArgs) ToDataplexConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DataplexConfigOutput) } +func (i DataplexConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DataplexConfig] { + return pulumix.Output[DataplexConfig]{ + OutputState: i.ToDataplexConfigOutputWithContext(ctx).OutputState, + } +} + func (i DataplexConfigArgs) ToDataplexConfigPtrOutput() DataplexConfigPtrOutput { return i.ToDataplexConfigPtrOutputWithContext(context.Background()) } @@ -1154,6 +1365,12 @@ func (i *dataplexConfigPtrType) ToDataplexConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DataplexConfigPtrOutput) } +func (i *dataplexConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DataplexConfig] { + return pulumix.Output[*DataplexConfig]{ + OutputState: i.ToDataplexConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how metastore metadata should be integrated with the Dataplex service. type DataplexConfigOutput struct{ *pulumi.OutputState } @@ -1179,6 +1396,12 @@ func (o DataplexConfigOutput) ToDataplexConfigPtrOutputWithContext(ctx context.C }).(DataplexConfigPtrOutput) } +func (o DataplexConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DataplexConfig] { + return pulumix.Output[DataplexConfig]{ + OutputState: o.OutputState, + } +} + // A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. func (o DataplexConfigOutput) LakeResources() pulumi.StringMapOutput { return o.ApplyT(func(v DataplexConfig) map[string]string { return v.LakeResources }).(pulumi.StringMapOutput) @@ -1198,6 +1421,12 @@ func (o DataplexConfigPtrOutput) ToDataplexConfigPtrOutputWithContext(ctx contex return o } +func (o DataplexConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataplexConfig] { + return pulumix.Output[*DataplexConfig]{ + OutputState: o.OutputState, + } +} + func (o DataplexConfigPtrOutput) Elem() DataplexConfigOutput { return o.ApplyT(func(v *DataplexConfig) DataplexConfig { if v != nil { @@ -1239,6 +1468,12 @@ func (o DataplexConfigResponseOutput) ToDataplexConfigResponseOutputWithContext( return o } +func (o DataplexConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataplexConfigResponse] { + return pulumix.Output[DataplexConfigResponse]{ + OutputState: o.OutputState, + } +} + // A reference to the Lake resources that this metastore service is attached to. The key is the lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. func (o DataplexConfigResponseOutput) LakeResources() pulumi.StringMapOutput { return o.ApplyT(func(v DataplexConfigResponse) map[string]string { return v.LakeResources }).(pulumi.StringMapOutput) @@ -1279,6 +1514,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -1320,6 +1561,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Encryption settings for the service. type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -1345,6 +1592,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. func (o EncryptionConfigOutput) KmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.KmsKey }).(pulumi.StringPtrOutput) @@ -1364,6 +1617,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -1405,6 +1664,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. func (o EncryptionConfigResponseOutput) KmsKey() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.KmsKey }).(pulumi.StringOutput) @@ -1457,6 +1722,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1498,6 +1769,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1523,6 +1800,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1557,6 +1840,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1634,6 +1923,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1705,6 +2000,12 @@ func (i HiveMetastoreConfigArgs) ToHiveMetastoreConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HiveMetastoreConfigOutput) } +func (i HiveMetastoreConfigArgs) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfig] { + return pulumix.Output[HiveMetastoreConfig]{ + OutputState: i.ToHiveMetastoreConfigOutputWithContext(ctx).OutputState, + } +} + func (i HiveMetastoreConfigArgs) ToHiveMetastoreConfigPtrOutput() HiveMetastoreConfigPtrOutput { return i.ToHiveMetastoreConfigPtrOutputWithContext(context.Background()) } @@ -1746,6 +2047,12 @@ func (i *hiveMetastoreConfigPtrType) ToHiveMetastoreConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(HiveMetastoreConfigPtrOutput) } +func (i *hiveMetastoreConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*HiveMetastoreConfig] { + return pulumix.Output[*HiveMetastoreConfig]{ + OutputState: i.ToHiveMetastoreConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies configuration information specific to running Hive metastore software as the metastore service. type HiveMetastoreConfigOutput struct{ *pulumi.OutputState } @@ -1771,6 +2078,12 @@ func (o HiveMetastoreConfigOutput) ToHiveMetastoreConfigPtrOutputWithContext(ctx }).(HiveMetastoreConfigPtrOutput) } +func (o HiveMetastoreConfigOutput) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfig] { + return pulumix.Output[HiveMetastoreConfig]{ + OutputState: o.OutputState, + } +} + // A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen. func (o HiveMetastoreConfigOutput) AuxiliaryVersions() pulumi.StringMapOutput { return o.ApplyT(func(v HiveMetastoreConfig) map[string]string { return v.AuxiliaryVersions }).(pulumi.StringMapOutput) @@ -1810,6 +2123,12 @@ func (o HiveMetastoreConfigPtrOutput) ToHiveMetastoreConfigPtrOutputWithContext( return o } +func (o HiveMetastoreConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HiveMetastoreConfig] { + return pulumix.Output[*HiveMetastoreConfig]{ + OutputState: o.OutputState, + } +} + func (o HiveMetastoreConfigPtrOutput) Elem() HiveMetastoreConfigOutput { return o.ApplyT(func(v *HiveMetastoreConfig) HiveMetastoreConfig { if v != nil { @@ -1899,6 +2218,12 @@ func (o HiveMetastoreConfigResponseOutput) ToHiveMetastoreConfigResponseOutputWi return o } +func (o HiveMetastoreConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HiveMetastoreConfigResponse] { + return pulumix.Output[HiveMetastoreConfigResponse]{ + OutputState: o.OutputState, + } +} + // A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen. func (o HiveMetastoreConfigResponseOutput) AuxiliaryVersions() pulumi.StringMapOutput { return o.ApplyT(func(v HiveMetastoreConfigResponse) map[string]string { return v.AuxiliaryVersions }).(pulumi.StringMapOutput) @@ -1967,6 +2292,12 @@ func (i KerberosConfigArgs) ToKerberosConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(KerberosConfigOutput) } +func (i KerberosConfigArgs) ToOutput(ctx context.Context) pulumix.Output[KerberosConfig] { + return pulumix.Output[KerberosConfig]{ + OutputState: i.ToKerberosConfigOutputWithContext(ctx).OutputState, + } +} + func (i KerberosConfigArgs) ToKerberosConfigPtrOutput() KerberosConfigPtrOutput { return i.ToKerberosConfigPtrOutputWithContext(context.Background()) } @@ -2008,6 +2339,12 @@ func (i *kerberosConfigPtrType) ToKerberosConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(KerberosConfigPtrOutput) } +func (i *kerberosConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*KerberosConfig] { + return pulumix.Output[*KerberosConfig]{ + OutputState: i.ToKerberosConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration information for a Kerberos principal. type KerberosConfigOutput struct{ *pulumi.OutputState } @@ -2033,6 +2370,12 @@ func (o KerberosConfigOutput) ToKerberosConfigPtrOutputWithContext(ctx context.C }).(KerberosConfigPtrOutput) } +func (o KerberosConfigOutput) ToOutput(ctx context.Context) pulumix.Output[KerberosConfig] { + return pulumix.Output[KerberosConfig]{ + OutputState: o.OutputState, + } +} + // A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). func (o KerberosConfigOutput) Keytab() SecretPtrOutput { return o.ApplyT(func(v KerberosConfig) *Secret { return v.Keytab }).(SecretPtrOutput) @@ -2062,6 +2405,12 @@ func (o KerberosConfigPtrOutput) ToKerberosConfigPtrOutputWithContext(ctx contex return o } +func (o KerberosConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KerberosConfig] { + return pulumix.Output[*KerberosConfig]{ + OutputState: o.OutputState, + } +} + func (o KerberosConfigPtrOutput) Elem() KerberosConfigOutput { return o.ApplyT(func(v *KerberosConfig) KerberosConfig { if v != nil { @@ -2127,6 +2476,12 @@ func (o KerberosConfigResponseOutput) ToKerberosConfigResponseOutputWithContext( return o } +func (o KerberosConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KerberosConfigResponse] { + return pulumix.Output[KerberosConfigResponse]{ + OutputState: o.OutputState, + } +} + // A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC). func (o KerberosConfigResponseOutput) Keytab() SecretResponseOutput { return o.ApplyT(func(v KerberosConfigResponse) SecretResponse { return v.Keytab }).(SecretResponseOutput) @@ -2181,6 +2536,12 @@ func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput) } +func (i MaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -2222,6 +2583,12 @@ func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowPtrOutput) } +func (i *maintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance window. This specifies when Dataproc Metastore may perform system maintenance operation to the service. type MaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -2247,6 +2614,12 @@ func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx con }).(MaintenanceWindowPtrOutput) } +func (o MaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // The day of week, when the window starts. func (o MaintenanceWindowOutput) DayOfWeek() MaintenanceWindowDayOfWeekPtrOutput { return o.ApplyT(func(v MaintenanceWindow) *MaintenanceWindowDayOfWeek { return v.DayOfWeek }).(MaintenanceWindowDayOfWeekPtrOutput) @@ -2271,6 +2644,12 @@ func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx return o } +func (o MaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowPtrOutput) Elem() MaintenanceWindowOutput { return o.ApplyT(func(v *MaintenanceWindow) MaintenanceWindow { if v != nil { @@ -2324,6 +2703,12 @@ func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithCo return o } +func (o MaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowResponse] { + return pulumix.Output[MaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // The day of week, when the window starts. func (o MaintenanceWindowResponseOutput) DayOfWeek() pulumi.StringOutput { return o.ApplyT(func(v MaintenanceWindowResponse) string { return v.DayOfWeek }).(pulumi.StringOutput) @@ -2363,6 +2748,12 @@ func (o MetadataExportResponseOutput) ToMetadataExportResponseOutputWithContext( return o } +func (o MetadataExportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataExportResponse] { + return pulumix.Output[MetadataExportResponse]{ + OutputState: o.OutputState, + } +} + // The type of the database dump. func (o MetadataExportResponseOutput) DatabaseDumpType() pulumi.StringOutput { return o.ApplyT(func(v MetadataExportResponse) string { return v.DatabaseDumpType }).(pulumi.StringOutput) @@ -2402,6 +2793,12 @@ func (o MetadataExportResponseArrayOutput) ToMetadataExportResponseArrayOutputWi return o } +func (o MetadataExportResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataExportResponse] { + return pulumix.Output[[]MetadataExportResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataExportResponseArrayOutput) Index(i pulumi.IntInput) MetadataExportResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataExportResponse { return vs[0].([]MetadataExportResponse)[vs[1].(int)] @@ -2447,6 +2844,12 @@ func (i MetadataIntegrationArgs) ToMetadataIntegrationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(MetadataIntegrationOutput) } +func (i MetadataIntegrationArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataIntegration] { + return pulumix.Output[MetadataIntegration]{ + OutputState: i.ToMetadataIntegrationOutputWithContext(ctx).OutputState, + } +} + func (i MetadataIntegrationArgs) ToMetadataIntegrationPtrOutput() MetadataIntegrationPtrOutput { return i.ToMetadataIntegrationPtrOutputWithContext(context.Background()) } @@ -2488,6 +2891,12 @@ func (i *metadataIntegrationPtrType) ToMetadataIntegrationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(MetadataIntegrationPtrOutput) } +func (i *metadataIntegrationPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetadataIntegration] { + return pulumix.Output[*MetadataIntegration]{ + OutputState: i.ToMetadataIntegrationPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how metastore metadata should be integrated with external services. type MetadataIntegrationOutput struct{ *pulumi.OutputState } @@ -2513,6 +2922,12 @@ func (o MetadataIntegrationOutput) ToMetadataIntegrationPtrOutputWithContext(ctx }).(MetadataIntegrationPtrOutput) } +func (o MetadataIntegrationOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataIntegration] { + return pulumix.Output[MetadataIntegration]{ + OutputState: o.OutputState, + } +} + // The integration config for the Data Catalog service. func (o MetadataIntegrationOutput) DataCatalogConfig() DataCatalogConfigPtrOutput { return o.ApplyT(func(v MetadataIntegration) *DataCatalogConfig { return v.DataCatalogConfig }).(DataCatalogConfigPtrOutput) @@ -2537,6 +2952,12 @@ func (o MetadataIntegrationPtrOutput) ToMetadataIntegrationPtrOutputWithContext( return o } +func (o MetadataIntegrationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataIntegration] { + return pulumix.Output[*MetadataIntegration]{ + OutputState: o.OutputState, + } +} + func (o MetadataIntegrationPtrOutput) Elem() MetadataIntegrationOutput { return o.ApplyT(func(v *MetadataIntegration) MetadataIntegration { if v != nil { @@ -2590,6 +3011,12 @@ func (o MetadataIntegrationResponseOutput) ToMetadataIntegrationResponseOutputWi return o } +func (o MetadataIntegrationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataIntegrationResponse] { + return pulumix.Output[MetadataIntegrationResponse]{ + OutputState: o.OutputState, + } +} + // The integration config for the Data Catalog service. func (o MetadataIntegrationResponseOutput) DataCatalogConfig() DataCatalogConfigResponseOutput { return o.ApplyT(func(v MetadataIntegrationResponse) DataCatalogConfigResponse { return v.DataCatalogConfig }).(DataCatalogConfigResponseOutput) @@ -2623,6 +3050,12 @@ func (o MetadataManagementActivityResponseOutput) ToMetadataManagementActivityRe return o } +func (o MetadataManagementActivityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataManagementActivityResponse] { + return pulumix.Output[MetadataManagementActivityResponse]{ + OutputState: o.OutputState, + } +} + // The latest metadata exports of the metastore service. func (o MetadataManagementActivityResponseOutput) MetadataExports() MetadataExportResponseArrayOutput { return o.ApplyT(func(v MetadataManagementActivityResponse) []MetadataExportResponse { return v.MetadataExports }).(MetadataExportResponseArrayOutput) @@ -2672,6 +3105,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -2713,6 +3152,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Network configuration for the Dataproc Metastore service. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -2738,6 +3183,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // Immutable. The consumer-side network configuration for the Dataproc Metastore instance. func (o NetworkConfigOutput) Consumers() ConsumerArrayOutput { return o.ApplyT(func(v NetworkConfig) []Consumer { return v.Consumers }).(ConsumerArrayOutput) @@ -2762,6 +3213,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -2815,6 +3272,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The consumer-side network configuration for the Dataproc Metastore instance. func (o NetworkConfigResponseOutput) Consumers() ConsumerResponseArrayOutput { return o.ApplyT(func(v NetworkConfigResponse) []ConsumerResponse { return v.Consumers }).(ConsumerResponseArrayOutput) @@ -2856,6 +3319,12 @@ func (o RestoreResponseOutput) ToRestoreResponseOutputWithContext(ctx context.Co return o } +func (o RestoreResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RestoreResponse] { + return pulumix.Output[RestoreResponse]{ + OutputState: o.OutputState, + } +} + // The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. func (o RestoreResponseOutput) Backup() pulumi.StringOutput { return o.ApplyT(func(v RestoreResponse) string { return v.Backup }).(pulumi.StringOutput) @@ -2900,6 +3369,12 @@ func (o RestoreResponseArrayOutput) ToRestoreResponseArrayOutputWithContext(ctx return o } +func (o RestoreResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RestoreResponse] { + return pulumix.Output[[]RestoreResponse]{ + OutputState: o.OutputState, + } +} + func (o RestoreResponseArrayOutput) Index(i pulumi.IntInput) RestoreResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RestoreResponse { return vs[0].([]RestoreResponse)[vs[1].(int)] @@ -2945,6 +3420,12 @@ func (i ScalingConfigArgs) ToScalingConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ScalingConfigOutput) } +func (i ScalingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ScalingConfig] { + return pulumix.Output[ScalingConfig]{ + OutputState: i.ToScalingConfigOutputWithContext(ctx).OutputState, + } +} + func (i ScalingConfigArgs) ToScalingConfigPtrOutput() ScalingConfigPtrOutput { return i.ToScalingConfigPtrOutputWithContext(context.Background()) } @@ -2986,6 +3467,12 @@ func (i *scalingConfigPtrType) ToScalingConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ScalingConfigPtrOutput) } +func (i *scalingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfig] { + return pulumix.Output[*ScalingConfig]{ + OutputState: i.ToScalingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the scaling configuration of a metastore service. type ScalingConfigOutput struct{ *pulumi.OutputState } @@ -3011,6 +3498,12 @@ func (o ScalingConfigOutput) ToScalingConfigPtrOutputWithContext(ctx context.Con }).(ScalingConfigPtrOutput) } +func (o ScalingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ScalingConfig] { + return pulumix.Output[ScalingConfig]{ + OutputState: o.OutputState, + } +} + // An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) func (o ScalingConfigOutput) InstanceSize() ScalingConfigInstanceSizePtrOutput { return o.ApplyT(func(v ScalingConfig) *ScalingConfigInstanceSize { return v.InstanceSize }).(ScalingConfigInstanceSizePtrOutput) @@ -3035,6 +3528,12 @@ func (o ScalingConfigPtrOutput) ToScalingConfigPtrOutputWithContext(ctx context. return o } +func (o ScalingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScalingConfig] { + return pulumix.Output[*ScalingConfig]{ + OutputState: o.OutputState, + } +} + func (o ScalingConfigPtrOutput) Elem() ScalingConfigOutput { return o.ApplyT(func(v *ScalingConfig) ScalingConfig { if v != nil { @@ -3088,6 +3587,12 @@ func (o ScalingConfigResponseOutput) ToScalingConfigResponseOutputWithContext(ct return o } +func (o ScalingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScalingConfigResponse] { + return pulumix.Output[ScalingConfigResponse]{ + OutputState: o.OutputState, + } +} + // An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) func (o ScalingConfigResponseOutput) InstanceSize() pulumi.StringOutput { return o.ApplyT(func(v ScalingConfigResponse) string { return v.InstanceSize }).(pulumi.StringOutput) @@ -3133,6 +3638,12 @@ func (i SecretArgs) ToSecretOutputWithContext(ctx context.Context) SecretOutput return pulumi.ToOutputWithContext(ctx, i).(SecretOutput) } +func (i SecretArgs) ToOutput(ctx context.Context) pulumix.Output[Secret] { + return pulumix.Output[Secret]{ + OutputState: i.ToSecretOutputWithContext(ctx).OutputState, + } +} + func (i SecretArgs) ToSecretPtrOutput() SecretPtrOutput { return i.ToSecretPtrOutputWithContext(context.Background()) } @@ -3174,6 +3685,12 @@ func (i *secretPtrType) ToSecretPtrOutputWithContext(ctx context.Context) Secret return pulumi.ToOutputWithContext(ctx, i).(SecretPtrOutput) } +func (i *secretPtrType) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: i.ToSecretPtrOutputWithContext(ctx).OutputState, + } +} + // A securely stored value. type SecretOutput struct{ *pulumi.OutputState } @@ -3199,6 +3716,12 @@ func (o SecretOutput) ToSecretPtrOutputWithContext(ctx context.Context) SecretPt }).(SecretPtrOutput) } +func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[Secret] { + return pulumix.Output[Secret]{ + OutputState: o.OutputState, + } +} + // The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. func (o SecretOutput) CloudSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v Secret) *string { return v.CloudSecret }).(pulumi.StringPtrOutput) @@ -3218,6 +3741,12 @@ func (o SecretPtrOutput) ToSecretPtrOutputWithContext(ctx context.Context) Secre return o } +func (o SecretPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: o.OutputState, + } +} + func (o SecretPtrOutput) Elem() SecretOutput { return o.ApplyT(func(v *Secret) Secret { if v != nil { @@ -3259,6 +3788,12 @@ func (o SecretResponseOutput) ToSecretResponseOutputWithContext(ctx context.Cont return o } +func (o SecretResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretResponse] { + return pulumix.Output[SecretResponse]{ + OutputState: o.OutputState, + } +} + // The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. func (o SecretResponseOutput) CloudSecret() pulumi.StringOutput { return o.ApplyT(func(v SecretResponse) string { return v.CloudSecret }).(pulumi.StringOutput) @@ -3327,6 +3862,12 @@ func (o ServiceResponseOutput) ToServiceResponseOutputWithContext(ctx context.Co return o } +func (o ServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceResponse] { + return pulumix.Output[ServiceResponse]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. func (o ServiceResponseOutput) ArtifactGcsUri() pulumi.StringOutput { return o.ApplyT(func(v ServiceResponse) string { return v.ArtifactGcsUri }).(pulumi.StringOutput) @@ -3472,6 +4013,12 @@ func (i TelemetryConfigArgs) ToTelemetryConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TelemetryConfigOutput) } +func (i TelemetryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfig] { + return pulumix.Output[TelemetryConfig]{ + OutputState: i.ToTelemetryConfigOutputWithContext(ctx).OutputState, + } +} + func (i TelemetryConfigArgs) ToTelemetryConfigPtrOutput() TelemetryConfigPtrOutput { return i.ToTelemetryConfigPtrOutputWithContext(context.Background()) } @@ -3513,6 +4060,12 @@ func (i *telemetryConfigPtrType) ToTelemetryConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TelemetryConfigPtrOutput) } +func (i *telemetryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfig] { + return pulumix.Output[*TelemetryConfig]{ + OutputState: i.ToTelemetryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Telemetry Configuration for the Dataproc Metastore service. type TelemetryConfigOutput struct{ *pulumi.OutputState } @@ -3538,6 +4091,12 @@ func (o TelemetryConfigOutput) ToTelemetryConfigPtrOutputWithContext(ctx context }).(TelemetryConfigPtrOutput) } +func (o TelemetryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfig] { + return pulumix.Output[TelemetryConfig]{ + OutputState: o.OutputState, + } +} + // The output format of the Dataproc Metastore service's logs. func (o TelemetryConfigOutput) LogFormat() TelemetryConfigLogFormatPtrOutput { return o.ApplyT(func(v TelemetryConfig) *TelemetryConfigLogFormat { return v.LogFormat }).(TelemetryConfigLogFormatPtrOutput) @@ -3557,6 +4116,12 @@ func (o TelemetryConfigPtrOutput) ToTelemetryConfigPtrOutputWithContext(ctx cont return o } +func (o TelemetryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TelemetryConfig] { + return pulumix.Output[*TelemetryConfig]{ + OutputState: o.OutputState, + } +} + func (o TelemetryConfigPtrOutput) Elem() TelemetryConfigOutput { return o.ApplyT(func(v *TelemetryConfig) TelemetryConfig { if v != nil { @@ -3598,6 +4163,12 @@ func (o TelemetryConfigResponseOutput) ToTelemetryConfigResponseOutputWithContex return o } +func (o TelemetryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TelemetryConfigResponse] { + return pulumix.Output[TelemetryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The output format of the Dataproc Metastore service's logs. func (o TelemetryConfigResponseOutput) LogFormat() pulumi.StringOutput { return o.ApplyT(func(v TelemetryConfigResponse) string { return v.LogFormat }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1beta/service.go b/sdk/go/google/metastore/v1beta/service.go index d91436b302..f3b7f66002 100644 --- a/sdk/go/google/metastore/v1beta/service.go +++ b/sdk/go/google/metastore/v1beta/service.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a metastore service in a project and location. @@ -214,6 +215,12 @@ func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput return pulumi.ToOutputWithContext(ctx, i).(ServiceOutput) } +func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: i.ToServiceOutputWithContext(ctx).OutputState, + } +} + type ServiceOutput struct{ *pulumi.OutputState } func (ServiceOutput) ElementType() reflect.Type { @@ -228,6 +235,12 @@ func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOu return o } +func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: o.OutputState, + } +} + // A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. func (o ServiceOutput) ArtifactGcsUri() pulumi.StringOutput { return o.ApplyT(func(v *Service) pulumi.StringOutput { return v.ArtifactGcsUri }).(pulumi.StringOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceBackupIamBinding.go b/sdk/go/google/metastore/v1beta/serviceBackupIamBinding.go index 9114eb42e5..ee954aa5d1 100644 --- a/sdk/go/google/metastore/v1beta/serviceBackupIamBinding.go +++ b/sdk/go/google/metastore/v1beta/serviceBackupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceBackupIamBinding) ToServiceBackupIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceBackupIamBindingOutput) } +func (i *ServiceBackupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamBinding] { + return pulumix.Output[*ServiceBackupIamBinding]{ + OutputState: i.ToServiceBackupIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceBackupIamBindingOutput struct{ *pulumi.OutputState } func (ServiceBackupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBackupIamBindingOutput) ToServiceBackupIamBindingOutputWithContex return o } +func (o ServiceBackupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamBinding] { + return pulumix.Output[*ServiceBackupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceBackupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceBackupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceBackupIamMember.go b/sdk/go/google/metastore/v1beta/serviceBackupIamMember.go index c7d4a90272..bcbd392c0d 100644 --- a/sdk/go/google/metastore/v1beta/serviceBackupIamMember.go +++ b/sdk/go/google/metastore/v1beta/serviceBackupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceBackupIamMember) ToServiceBackupIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ServiceBackupIamMemberOutput) } +func (i *ServiceBackupIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamMember] { + return pulumix.Output[*ServiceBackupIamMember]{ + OutputState: i.ToServiceBackupIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceBackupIamMemberOutput struct{ *pulumi.OutputState } func (ServiceBackupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBackupIamMemberOutput) ToServiceBackupIamMemberOutputWithContext( return o } +func (o ServiceBackupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamMember] { + return pulumix.Output[*ServiceBackupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceBackupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceBackupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceBackupIamPolicy.go b/sdk/go/google/metastore/v1beta/serviceBackupIamPolicy.go index e98be4328a..da4395b7d7 100644 --- a/sdk/go/google/metastore/v1beta/serviceBackupIamPolicy.go +++ b/sdk/go/google/metastore/v1beta/serviceBackupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -142,6 +143,12 @@ func (i *ServiceBackupIamPolicy) ToServiceBackupIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ServiceBackupIamPolicyOutput) } +func (i *ServiceBackupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamPolicy] { + return pulumix.Output[*ServiceBackupIamPolicy]{ + OutputState: i.ToServiceBackupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceBackupIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceBackupIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o ServiceBackupIamPolicyOutput) ToServiceBackupIamPolicyOutputWithContext( return o } +func (o ServiceBackupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBackupIamPolicy] { + return pulumix.Output[*ServiceBackupIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceBackupIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceBackupIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceDatabaseIamBinding.go b/sdk/go/google/metastore/v1beta/serviceDatabaseIamBinding.go index 3353bb9871..3e68526113 100644 --- a/sdk/go/google/metastore/v1beta/serviceDatabaseIamBinding.go +++ b/sdk/go/google/metastore/v1beta/serviceDatabaseIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceDatabaseIamBinding) ToServiceDatabaseIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseIamBindingOutput) } +func (i *ServiceDatabaseIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamBinding] { + return pulumix.Output[*ServiceDatabaseIamBinding]{ + OutputState: i.ToServiceDatabaseIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseIamBindingOutput struct{ *pulumi.OutputState } func (ServiceDatabaseIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceDatabaseIamBindingOutput) ToServiceDatabaseIamBindingOutputWithCo return o } +func (o ServiceDatabaseIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamBinding] { + return pulumix.Output[*ServiceDatabaseIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceDatabaseIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceDatabaseIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceDatabaseIamMember.go b/sdk/go/google/metastore/v1beta/serviceDatabaseIamMember.go index 942d4d75a7..4ea398c1dc 100644 --- a/sdk/go/google/metastore/v1beta/serviceDatabaseIamMember.go +++ b/sdk/go/google/metastore/v1beta/serviceDatabaseIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceDatabaseIamMember) ToServiceDatabaseIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseIamMemberOutput) } +func (i *ServiceDatabaseIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamMember] { + return pulumix.Output[*ServiceDatabaseIamMember]{ + OutputState: i.ToServiceDatabaseIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseIamMemberOutput struct{ *pulumi.OutputState } func (ServiceDatabaseIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceDatabaseIamMemberOutput) ToServiceDatabaseIamMemberOutputWithCont return o } +func (o ServiceDatabaseIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamMember] { + return pulumix.Output[*ServiceDatabaseIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceDatabaseIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceDatabaseIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceDatabaseIamPolicy.go b/sdk/go/google/metastore/v1beta/serviceDatabaseIamPolicy.go index 5ef13e5952..d8d5fec4af 100644 --- a/sdk/go/google/metastore/v1beta/serviceDatabaseIamPolicy.go +++ b/sdk/go/google/metastore/v1beta/serviceDatabaseIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -142,6 +143,12 @@ func (i *ServiceDatabaseIamPolicy) ToServiceDatabaseIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseIamPolicyOutput) } +func (i *ServiceDatabaseIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamPolicy] { + return pulumix.Output[*ServiceDatabaseIamPolicy]{ + OutputState: i.ToServiceDatabaseIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceDatabaseIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o ServiceDatabaseIamPolicyOutput) ToServiceDatabaseIamPolicyOutputWithCont return o } +func (o ServiceDatabaseIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseIamPolicy] { + return pulumix.Output[*ServiceDatabaseIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceDatabaseIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceDatabaseIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamBinding.go b/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamBinding.go index 27a51be0ba..0d5126efde 100644 --- a/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamBinding.go +++ b/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceDatabaseTableIamBinding) ToServiceDatabaseTableIamBindingOutputW return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseTableIamBindingOutput) } +func (i *ServiceDatabaseTableIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamBinding] { + return pulumix.Output[*ServiceDatabaseTableIamBinding]{ + OutputState: i.ToServiceDatabaseTableIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseTableIamBindingOutput struct{ *pulumi.OutputState } func (ServiceDatabaseTableIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceDatabaseTableIamBindingOutput) ToServiceDatabaseTableIamBindingOu return o } +func (o ServiceDatabaseTableIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamBinding] { + return pulumix.Output[*ServiceDatabaseTableIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceDatabaseTableIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceDatabaseTableIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamMember.go b/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamMember.go index fb634885ec..dd0f00863e 100644 --- a/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamMember.go +++ b/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceDatabaseTableIamMember) ToServiceDatabaseTableIamMemberOutputWit return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseTableIamMemberOutput) } +func (i *ServiceDatabaseTableIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamMember] { + return pulumix.Output[*ServiceDatabaseTableIamMember]{ + OutputState: i.ToServiceDatabaseTableIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseTableIamMemberOutput struct{ *pulumi.OutputState } func (ServiceDatabaseTableIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceDatabaseTableIamMemberOutput) ToServiceDatabaseTableIamMemberOutp return o } +func (o ServiceDatabaseTableIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamMember] { + return pulumix.Output[*ServiceDatabaseTableIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceDatabaseTableIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceDatabaseTableIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamPolicy.go b/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamPolicy.go index 6b48c2051a..69bcb87165 100644 --- a/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamPolicy.go +++ b/sdk/go/google/metastore/v1beta/serviceDatabaseTableIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -149,6 +150,12 @@ func (i *ServiceDatabaseTableIamPolicy) ToServiceDatabaseTableIamPolicyOutputWit return pulumi.ToOutputWithContext(ctx, i).(ServiceDatabaseTableIamPolicyOutput) } +func (i *ServiceDatabaseTableIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamPolicy] { + return pulumix.Output[*ServiceDatabaseTableIamPolicy]{ + OutputState: i.ToServiceDatabaseTableIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceDatabaseTableIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceDatabaseTableIamPolicyOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o ServiceDatabaseTableIamPolicyOutput) ToServiceDatabaseTableIamPolicyOutp return o } +func (o ServiceDatabaseTableIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceDatabaseTableIamPolicy] { + return pulumix.Output[*ServiceDatabaseTableIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceDatabaseTableIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceDatabaseTableIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceIamBinding.go b/sdk/go/google/metastore/v1beta/serviceIamBinding.go index 2b3868bb3f..3d800cfbe1 100644 --- a/sdk/go/google/metastore/v1beta/serviceIamBinding.go +++ b/sdk/go/google/metastore/v1beta/serviceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceIamBinding) ToServiceIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ServiceIamBindingOutput) } +func (i *ServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: i.ToServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceIamBindingOutput struct{ *pulumi.OutputState } func (ServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamBindingOutput) ToServiceIamBindingOutputWithContext(ctx contex return o } +func (o ServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceIamMember.go b/sdk/go/google/metastore/v1beta/serviceIamMember.go index 67d6d79a1c..113cd6ce0f 100644 --- a/sdk/go/google/metastore/v1beta/serviceIamMember.go +++ b/sdk/go/google/metastore/v1beta/serviceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceIamMember) ToServiceIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamMemberOutput) } +func (i *ServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: i.ToServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceIamMemberOutput struct{ *pulumi.OutputState } func (ServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamMemberOutput) ToServiceIamMemberOutputWithContext(ctx context. return o } +func (o ServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/metastore/v1beta/serviceIamPolicy.go b/sdk/go/google/metastore/v1beta/serviceIamPolicy.go index f9c0164f49..50141b7868 100644 --- a/sdk/go/google/metastore/v1beta/serviceIamPolicy.go +++ b/sdk/go/google/metastore/v1beta/serviceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. @@ -135,6 +136,12 @@ func (i *ServiceIamPolicy) ToServiceIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamPolicyOutput) } +func (i *ServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: i.ToServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamPolicyOutput) ToServiceIamPolicyOutputWithContext(ctx context. return o } +func (o ServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/getGroup.go b/sdk/go/google/migrationcenter/v1alpha1/getGroup.go index 8f565d82f8..1abcaae9e1 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/getGroup.go +++ b/sdk/go/google/migrationcenter/v1alpha1/getGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a group. @@ -80,6 +81,12 @@ func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx contex return o } +func (o LookupGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupResult] { + return pulumix.Output[LookupGroupResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the group was created. func (o LookupGroupResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupGroupResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/getImportDataFile.go b/sdk/go/google/migrationcenter/v1alpha1/getImportDataFile.go index de97e02445..c5b21eb347 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/getImportDataFile.go +++ b/sdk/go/google/migrationcenter/v1alpha1/getImportDataFile.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an import data file. @@ -82,6 +83,12 @@ func (o LookupImportDataFileResultOutput) ToLookupImportDataFileResultOutputWith return o } +func (o LookupImportDataFileResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupImportDataFileResult] { + return pulumix.Output[LookupImportDataFileResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the file was created. func (o LookupImportDataFileResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupImportDataFileResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/getImportJob.go b/sdk/go/google/migrationcenter/v1alpha1/getImportJob.go index 0afdeb6ada..52736b3e80 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/getImportJob.go +++ b/sdk/go/google/migrationcenter/v1alpha1/getImportJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of an import job. @@ -94,6 +95,12 @@ func (o LookupImportJobResultOutput) ToLookupImportJobResultOutputWithContext(ct return o } +func (o LookupImportJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupImportJobResult] { + return pulumix.Output[LookupImportJobResult]{ + OutputState: o.OutputState, + } +} + // Reference to a source. func (o LookupImportJobResultOutput) AssetSource() pulumi.StringOutput { return o.ApplyT(func(v LookupImportJobResult) string { return v.AssetSource }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/getPreferenceSet.go b/sdk/go/google/migrationcenter/v1alpha1/getPreferenceSet.go index b548343f0c..a4a3f6bcba 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/getPreferenceSet.go +++ b/sdk/go/google/migrationcenter/v1alpha1/getPreferenceSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a preference set. @@ -80,6 +81,12 @@ func (o LookupPreferenceSetResultOutput) ToLookupPreferenceSetResultOutputWithCo return o } +func (o LookupPreferenceSetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPreferenceSetResult] { + return pulumix.Output[LookupPreferenceSetResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the preference set was created. func (o LookupPreferenceSetResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupPreferenceSetResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/getReport.go b/sdk/go/google/migrationcenter/v1alpha1/getReport.go index a2cdbbdc2b..fc84d5cabc 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/getReport.go +++ b/sdk/go/google/migrationcenter/v1alpha1/getReport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Report. @@ -88,6 +89,12 @@ func (o LookupReportResultOutput) ToLookupReportResultOutputWithContext(ctx cont return o } +func (o LookupReportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReportResult] { + return pulumix.Output[LookupReportResult]{ + OutputState: o.OutputState, + } +} + // Creation timestamp. func (o LookupReportResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupReportResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/getReportConfig.go b/sdk/go/google/migrationcenter/v1alpha1/getReportConfig.go index 4943341d47..ef00b4432a 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/getReportConfig.go +++ b/sdk/go/google/migrationcenter/v1alpha1/getReportConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ReportConfig. @@ -80,6 +81,12 @@ func (o LookupReportConfigResultOutput) ToLookupReportConfigResultOutputWithCont return o } +func (o LookupReportConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReportConfigResult] { + return pulumix.Output[LookupReportConfigResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupReportConfigResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupReportConfigResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/getSource.go b/sdk/go/google/migrationcenter/v1alpha1/getSource.go index 9f046d2ea7..4c8574fa11 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/getSource.go +++ b/sdk/go/google/migrationcenter/v1alpha1/getSource.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a source. @@ -90,6 +91,12 @@ func (o LookupSourceResultOutput) ToLookupSourceResultOutputWithContext(ctx cont return o } +func (o LookupSourceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSourceResult] { + return pulumix.Output[LookupSourceResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the source was created. func (o LookupSourceResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupSourceResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/group.go b/sdk/go/google/migrationcenter/v1alpha1/group.go index 891e24e968..5c621a66ec 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/group.go +++ b/sdk/go/google/migrationcenter/v1alpha1/group.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new group in a given project and location. @@ -139,6 +140,12 @@ func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return pulumi.ToOutputWithContext(ctx, i).(GroupOutput) } +func (i *Group) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: i.ToGroupOutputWithContext(ctx).OutputState, + } +} + type GroupOutput struct{ *pulumi.OutputState } func (GroupOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return o } +func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: o.OutputState, + } +} + // The timestamp when the group was created. func (o GroupOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Group) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/importDataFile.go b/sdk/go/google/migrationcenter/v1alpha1/importDataFile.go index 9aa1d6fdac..b2d2d0ad17 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/importDataFile.go +++ b/sdk/go/google/migrationcenter/v1alpha1/importDataFile.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an import data file. @@ -149,6 +150,12 @@ func (i *ImportDataFile) ToImportDataFileOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ImportDataFileOutput) } +func (i *ImportDataFile) ToOutput(ctx context.Context) pulumix.Output[*ImportDataFile] { + return pulumix.Output[*ImportDataFile]{ + OutputState: i.ToImportDataFileOutputWithContext(ctx).OutputState, + } +} + type ImportDataFileOutput struct{ *pulumi.OutputState } func (ImportDataFileOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o ImportDataFileOutput) ToImportDataFileOutputWithContext(ctx context.Cont return o } +func (o ImportDataFileOutput) ToOutput(ctx context.Context) pulumix.Output[*ImportDataFile] { + return pulumix.Output[*ImportDataFile]{ + OutputState: o.OutputState, + } +} + // The timestamp when the file was created. func (o ImportDataFileOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *ImportDataFile) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/importJob.go b/sdk/go/google/migrationcenter/v1alpha1/importJob.go index 7a2016de83..c524c8ceb1 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/importJob.go +++ b/sdk/go/google/migrationcenter/v1alpha1/importJob.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an import job. @@ -162,6 +163,12 @@ func (i *ImportJob) ToImportJobOutputWithContext(ctx context.Context) ImportJobO return pulumi.ToOutputWithContext(ctx, i).(ImportJobOutput) } +func (i *ImportJob) ToOutput(ctx context.Context) pulumix.Output[*ImportJob] { + return pulumix.Output[*ImportJob]{ + OutputState: i.ToImportJobOutputWithContext(ctx).OutputState, + } +} + type ImportJobOutput struct{ *pulumi.OutputState } func (ImportJobOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o ImportJobOutput) ToImportJobOutputWithContext(ctx context.Context) Impor return o } +func (o ImportJobOutput) ToOutput(ctx context.Context) pulumix.Output[*ImportJob] { + return pulumix.Output[*ImportJob]{ + OutputState: o.OutputState, + } +} + // Reference to a source. func (o ImportJobOutput) AssetSource() pulumi.StringOutput { return o.ApplyT(func(v *ImportJob) pulumi.StringOutput { return v.AssetSource }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/preferenceSet.go b/sdk/go/google/migrationcenter/v1alpha1/preferenceSet.go index ec2bd7afc8..430751e11c 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/preferenceSet.go +++ b/sdk/go/google/migrationcenter/v1alpha1/preferenceSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new preference set in a given project and location. @@ -131,6 +132,12 @@ func (i *PreferenceSet) ToPreferenceSetOutputWithContext(ctx context.Context) Pr return pulumi.ToOutputWithContext(ctx, i).(PreferenceSetOutput) } +func (i *PreferenceSet) ToOutput(ctx context.Context) pulumix.Output[*PreferenceSet] { + return pulumix.Output[*PreferenceSet]{ + OutputState: i.ToPreferenceSetOutputWithContext(ctx).OutputState, + } +} + type PreferenceSetOutput struct{ *pulumi.OutputState } func (PreferenceSetOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o PreferenceSetOutput) ToPreferenceSetOutputWithContext(ctx context.Contex return o } +func (o PreferenceSetOutput) ToOutput(ctx context.Context) pulumix.Output[*PreferenceSet] { + return pulumix.Output[*PreferenceSet]{ + OutputState: o.OutputState, + } +} + // The timestamp when the preference set was created. func (o PreferenceSetOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *PreferenceSet) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/pulumiEnums.go b/sdk/go/google/migrationcenter/v1alpha1/pulumiEnums.go index db28c6b38a..30c81d0229 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/pulumiEnums.go +++ b/sdk/go/google/migrationcenter/v1alpha1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. @@ -82,6 +83,12 @@ func (o ComputeEnginePreferencesLicenseTypeOutput) ToComputeEnginePreferencesLic }).(ComputeEnginePreferencesLicenseTypePtrOutput) } +func (o ComputeEnginePreferencesLicenseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEnginePreferencesLicenseType] { + return pulumix.Output[ComputeEnginePreferencesLicenseType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEnginePreferencesLicenseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o ComputeEnginePreferencesLicenseTypePtrOutput) ToComputeEnginePreferences return o } +func (o ComputeEnginePreferencesLicenseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeEnginePreferencesLicenseType] { + return pulumix.Output[*ComputeEnginePreferencesLicenseType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEnginePreferencesLicenseTypePtrOutput) Elem() ComputeEnginePreferencesLicenseTypeOutput { return o.ApplyT(func(v *ComputeEnginePreferencesLicenseType) ComputeEnginePreferencesLicenseType { if v != nil { @@ -179,6 +192,12 @@ func (in *computeEnginePreferencesLicenseTypePtr) ToComputeEnginePreferencesLice return pulumi.ToOutputWithContext(ctx, in).(ComputeEnginePreferencesLicenseTypePtrOutput) } +func (in *computeEnginePreferencesLicenseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ComputeEnginePreferencesLicenseType] { + return pulumix.Output[*ComputeEnginePreferencesLicenseType]{ + OutputState: in.ToComputeEnginePreferencesLicenseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Persistent disk type to use. If unspecified (default), all types are considered, based on available usage data. type ComputeEnginePreferencesPersistentDiskType string @@ -253,6 +272,12 @@ func (o ComputeEnginePreferencesPersistentDiskTypeOutput) ToComputeEnginePrefere }).(ComputeEnginePreferencesPersistentDiskTypePtrOutput) } +func (o ComputeEnginePreferencesPersistentDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEnginePreferencesPersistentDiskType] { + return pulumix.Output[ComputeEnginePreferencesPersistentDiskType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEnginePreferencesPersistentDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o ComputeEnginePreferencesPersistentDiskTypePtrOutput) ToComputeEnginePref return o } +func (o ComputeEnginePreferencesPersistentDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeEnginePreferencesPersistentDiskType] { + return pulumix.Output[*ComputeEnginePreferencesPersistentDiskType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEnginePreferencesPersistentDiskTypePtrOutput) Elem() ComputeEnginePreferencesPersistentDiskTypeOutput { return o.ApplyT(func(v *ComputeEnginePreferencesPersistentDiskType) ComputeEnginePreferencesPersistentDiskType { if v != nil { @@ -350,6 +381,12 @@ func (in *computeEnginePreferencesPersistentDiskTypePtr) ToComputeEnginePreferen return pulumi.ToOutputWithContext(ctx, in).(ComputeEnginePreferencesPersistentDiskTypePtrOutput) } +func (in *computeEnginePreferencesPersistentDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ComputeEnginePreferencesPersistentDiskType] { + return pulumix.Output[*ComputeEnginePreferencesPersistentDiskType]{ + OutputState: in.ToComputeEnginePreferencesPersistentDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The import job format. type GCSPayloadInfoFormat string @@ -430,6 +467,12 @@ func (o GCSPayloadInfoFormatOutput) ToGCSPayloadInfoFormatPtrOutputWithContext(c }).(GCSPayloadInfoFormatPtrOutput) } +func (o GCSPayloadInfoFormatOutput) ToOutput(ctx context.Context) pulumix.Output[GCSPayloadInfoFormat] { + return pulumix.Output[GCSPayloadInfoFormat]{ + OutputState: o.OutputState, + } +} + func (o GCSPayloadInfoFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -465,6 +508,12 @@ func (o GCSPayloadInfoFormatPtrOutput) ToGCSPayloadInfoFormatPtrOutputWithContex return o } +func (o GCSPayloadInfoFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GCSPayloadInfoFormat] { + return pulumix.Output[*GCSPayloadInfoFormat]{ + OutputState: o.OutputState, + } +} + func (o GCSPayloadInfoFormatPtrOutput) Elem() GCSPayloadInfoFormatOutput { return o.ApplyT(func(v *GCSPayloadInfoFormat) GCSPayloadInfoFormat { if v != nil { @@ -527,6 +576,12 @@ func (in *gcspayloadInfoFormatPtr) ToGCSPayloadInfoFormatPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(GCSPayloadInfoFormatPtrOutput) } +func (in *gcspayloadInfoFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*GCSPayloadInfoFormat] { + return pulumix.Output[*GCSPayloadInfoFormat]{ + OutputState: in.ToGCSPayloadInfoFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The payload format. type ImportDataFileFormat string @@ -607,6 +662,12 @@ func (o ImportDataFileFormatOutput) ToImportDataFileFormatPtrOutputWithContext(c }).(ImportDataFileFormatPtrOutput) } +func (o ImportDataFileFormatOutput) ToOutput(ctx context.Context) pulumix.Output[ImportDataFileFormat] { + return pulumix.Output[ImportDataFileFormat]{ + OutputState: o.OutputState, + } +} + func (o ImportDataFileFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -642,6 +703,12 @@ func (o ImportDataFileFormatPtrOutput) ToImportDataFileFormatPtrOutputWithContex return o } +func (o ImportDataFileFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ImportDataFileFormat] { + return pulumix.Output[*ImportDataFileFormat]{ + OutputState: o.OutputState, + } +} + func (o ImportDataFileFormatPtrOutput) Elem() ImportDataFileFormatOutput { return o.ApplyT(func(v *ImportDataFileFormat) ImportDataFileFormat { if v != nil { @@ -704,6 +771,12 @@ func (in *importDataFileFormatPtr) ToImportDataFileFormatPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(ImportDataFileFormatPtrOutput) } +func (in *importDataFileFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*ImportDataFileFormat] { + return pulumix.Output[*ImportDataFileFormat]{ + OutputState: in.ToImportDataFileFormatPtrOutputWithContext(ctx).OutputState, + } +} + // The import job format. type InlinePayloadInfoFormat string @@ -784,6 +857,12 @@ func (o InlinePayloadInfoFormatOutput) ToInlinePayloadInfoFormatPtrOutputWithCon }).(InlinePayloadInfoFormatPtrOutput) } +func (o InlinePayloadInfoFormatOutput) ToOutput(ctx context.Context) pulumix.Output[InlinePayloadInfoFormat] { + return pulumix.Output[InlinePayloadInfoFormat]{ + OutputState: o.OutputState, + } +} + func (o InlinePayloadInfoFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -819,6 +898,12 @@ func (o InlinePayloadInfoFormatPtrOutput) ToInlinePayloadInfoFormatPtrOutputWith return o } +func (o InlinePayloadInfoFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InlinePayloadInfoFormat] { + return pulumix.Output[*InlinePayloadInfoFormat]{ + OutputState: o.OutputState, + } +} + func (o InlinePayloadInfoFormatPtrOutput) Elem() InlinePayloadInfoFormatOutput { return o.ApplyT(func(v *InlinePayloadInfoFormat) InlinePayloadInfoFormat { if v != nil { @@ -881,6 +966,12 @@ func (in *inlinePayloadInfoFormatPtr) ToInlinePayloadInfoFormatPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(InlinePayloadInfoFormatPtrOutput) } +func (in *inlinePayloadInfoFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*InlinePayloadInfoFormat] { + return pulumix.Output[*InlinePayloadInfoFormat]{ + OutputState: in.ToInlinePayloadInfoFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Report creation state. type ReportStateEnum string @@ -955,6 +1046,12 @@ func (o ReportStateEnumOutput) ToReportStateEnumPtrOutputWithContext(ctx context }).(ReportStateEnumPtrOutput) } +func (o ReportStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[ReportStateEnum] { + return pulumix.Output[ReportStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ReportStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -990,6 +1087,12 @@ func (o ReportStateEnumPtrOutput) ToReportStateEnumPtrOutputWithContext(ctx cont return o } +func (o ReportStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReportStateEnum] { + return pulumix.Output[*ReportStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ReportStateEnumPtrOutput) Elem() ReportStateEnumOutput { return o.ApplyT(func(v *ReportStateEnum) ReportStateEnum { if v != nil { @@ -1052,6 +1155,12 @@ func (in *reportStateEnumPtr) ToReportStateEnumPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(ReportStateEnumPtrOutput) } +func (in *reportStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*ReportStateEnum] { + return pulumix.Output[*ReportStateEnum]{ + OutputState: in.ToReportStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Report type. type ReportType string @@ -1122,6 +1231,12 @@ func (o ReportTypeOutput) ToReportTypePtrOutputWithContext(ctx context.Context) }).(ReportTypePtrOutput) } +func (o ReportTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReportType] { + return pulumix.Output[ReportType]{ + OutputState: o.OutputState, + } +} + func (o ReportTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1157,6 +1272,12 @@ func (o ReportTypePtrOutput) ToReportTypePtrOutputWithContext(ctx context.Contex return o } +func (o ReportTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReportType] { + return pulumix.Output[*ReportType]{ + OutputState: o.OutputState, + } +} + func (o ReportTypePtrOutput) Elem() ReportTypeOutput { return o.ApplyT(func(v *ReportType) ReportType { if v != nil { @@ -1219,6 +1340,12 @@ func (in *reportTypePtr) ToReportTypePtrOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, in).(ReportTypePtrOutput) } +func (in *reportTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReportType] { + return pulumix.Output[*ReportType]{ + OutputState: in.ToReportTypePtrOutputWithContext(ctx).OutputState, + } +} + // Data source type. type SourceType string @@ -1295,6 +1422,12 @@ func (o SourceTypeOutput) ToSourceTypePtrOutputWithContext(ctx context.Context) }).(SourceTypePtrOutput) } +func (o SourceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SourceType] { + return pulumix.Output[SourceType]{ + OutputState: o.OutputState, + } +} + func (o SourceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1330,6 +1463,12 @@ func (o SourceTypePtrOutput) ToSourceTypePtrOutputWithContext(ctx context.Contex return o } +func (o SourceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceType] { + return pulumix.Output[*SourceType]{ + OutputState: o.OutputState, + } +} + func (o SourceTypePtrOutput) Elem() SourceTypeOutput { return o.ApplyT(func(v *SourceType) SourceType { if v != nil { @@ -1392,6 +1531,12 @@ func (in *sourceTypePtr) ToSourceTypePtrOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, in).(SourceTypePtrOutput) } +func (in *sourceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SourceType] { + return pulumix.Output[*SourceType]{ + OutputState: in.ToSourceTypePtrOutputWithContext(ctx).OutputState, + } +} + // Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. type VirtualMachinePreferencesCommitmentPlan string @@ -1466,6 +1611,12 @@ func (o VirtualMachinePreferencesCommitmentPlanOutput) ToVirtualMachinePreferenc }).(VirtualMachinePreferencesCommitmentPlanPtrOutput) } +func (o VirtualMachinePreferencesCommitmentPlanOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualMachinePreferencesCommitmentPlan] { + return pulumix.Output[VirtualMachinePreferencesCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o VirtualMachinePreferencesCommitmentPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1501,6 +1652,12 @@ func (o VirtualMachinePreferencesCommitmentPlanPtrOutput) ToVirtualMachinePrefer return o } +func (o VirtualMachinePreferencesCommitmentPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachinePreferencesCommitmentPlan] { + return pulumix.Output[*VirtualMachinePreferencesCommitmentPlan]{ + OutputState: o.OutputState, + } +} + func (o VirtualMachinePreferencesCommitmentPlanPtrOutput) Elem() VirtualMachinePreferencesCommitmentPlanOutput { return o.ApplyT(func(v *VirtualMachinePreferencesCommitmentPlan) VirtualMachinePreferencesCommitmentPlan { if v != nil { @@ -1563,6 +1720,12 @@ func (in *virtualMachinePreferencesCommitmentPlanPtr) ToVirtualMachinePreference return pulumi.ToOutputWithContext(ctx, in).(VirtualMachinePreferencesCommitmentPlanPtrOutput) } +func (in *virtualMachinePreferencesCommitmentPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachinePreferencesCommitmentPlan] { + return pulumix.Output[*VirtualMachinePreferencesCommitmentPlan]{ + OutputState: in.ToVirtualMachinePreferencesCommitmentPlanPtrOutputWithContext(ctx).OutputState, + } +} + // Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with. type VirtualMachinePreferencesSizingOptimizationStrategy string @@ -1637,6 +1800,12 @@ func (o VirtualMachinePreferencesSizingOptimizationStrategyOutput) ToVirtualMach }).(VirtualMachinePreferencesSizingOptimizationStrategyPtrOutput) } +func (o VirtualMachinePreferencesSizingOptimizationStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualMachinePreferencesSizingOptimizationStrategy] { + return pulumix.Output[VirtualMachinePreferencesSizingOptimizationStrategy]{ + OutputState: o.OutputState, + } +} + func (o VirtualMachinePreferencesSizingOptimizationStrategyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1672,6 +1841,12 @@ func (o VirtualMachinePreferencesSizingOptimizationStrategyPtrOutput) ToVirtualM return o } +func (o VirtualMachinePreferencesSizingOptimizationStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachinePreferencesSizingOptimizationStrategy] { + return pulumix.Output[*VirtualMachinePreferencesSizingOptimizationStrategy]{ + OutputState: o.OutputState, + } +} + func (o VirtualMachinePreferencesSizingOptimizationStrategyPtrOutput) Elem() VirtualMachinePreferencesSizingOptimizationStrategyOutput { return o.ApplyT(func(v *VirtualMachinePreferencesSizingOptimizationStrategy) VirtualMachinePreferencesSizingOptimizationStrategy { if v != nil { @@ -1734,6 +1909,12 @@ func (in *virtualMachinePreferencesSizingOptimizationStrategyPtr) ToVirtualMachi return pulumi.ToOutputWithContext(ctx, in).(VirtualMachinePreferencesSizingOptimizationStrategyPtrOutput) } +func (in *virtualMachinePreferencesSizingOptimizationStrategyPtr) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachinePreferencesSizingOptimizationStrategy] { + return pulumix.Output[*VirtualMachinePreferencesSizingOptimizationStrategy]{ + OutputState: in.ToVirtualMachinePreferencesSizingOptimizationStrategyPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ComputeEnginePreferencesLicenseTypeInput)(nil)).Elem(), ComputeEnginePreferencesLicenseType("LICENSE_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ComputeEnginePreferencesLicenseTypePtrInput)(nil)).Elem(), ComputeEnginePreferencesLicenseType("LICENSE_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/migrationcenter/v1alpha1/pulumiTypes.go b/sdk/go/google/migrationcenter/v1alpha1/pulumiTypes.go index cff9d66472..1ce217a320 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/pulumiTypes.go +++ b/sdk/go/google/migrationcenter/v1alpha1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i ComputeEnginePreferencesArgs) ToComputeEnginePreferencesOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ComputeEnginePreferencesOutput) } +func (i ComputeEnginePreferencesArgs) ToOutput(ctx context.Context) pulumix.Output[ComputeEnginePreferences] { + return pulumix.Output[ComputeEnginePreferences]{ + OutputState: i.ToComputeEnginePreferencesOutputWithContext(ctx).OutputState, + } +} + func (i ComputeEnginePreferencesArgs) ToComputeEnginePreferencesPtrOutput() ComputeEnginePreferencesPtrOutput { return i.ToComputeEnginePreferencesPtrOutputWithContext(context.Background()) } @@ -97,6 +104,12 @@ func (i *computeEnginePreferencesPtrType) ToComputeEnginePreferencesPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(ComputeEnginePreferencesPtrOutput) } +func (i *computeEnginePreferencesPtrType) ToOutput(ctx context.Context) pulumix.Output[*ComputeEnginePreferences] { + return pulumix.Output[*ComputeEnginePreferences]{ + OutputState: i.ToComputeEnginePreferencesPtrOutputWithContext(ctx).OutputState, + } +} + // The user preferences relating to Compute Engine target platform. type ComputeEnginePreferencesOutput struct{ *pulumi.OutputState } @@ -122,6 +135,12 @@ func (o ComputeEnginePreferencesOutput) ToComputeEnginePreferencesPtrOutputWithC }).(ComputeEnginePreferencesPtrOutput) } +func (o ComputeEnginePreferencesOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEnginePreferences] { + return pulumix.Output[ComputeEnginePreferences]{ + OutputState: o.OutputState, + } +} + // License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. func (o ComputeEnginePreferencesOutput) LicenseType() ComputeEnginePreferencesLicenseTypePtrOutput { return o.ApplyT(func(v ComputeEnginePreferences) *ComputeEnginePreferencesLicenseType { return v.LicenseType }).(ComputeEnginePreferencesLicenseTypePtrOutput) @@ -153,6 +172,12 @@ func (o ComputeEnginePreferencesPtrOutput) ToComputeEnginePreferencesPtrOutputWi return o } +func (o ComputeEnginePreferencesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeEnginePreferences] { + return pulumix.Output[*ComputeEnginePreferences]{ + OutputState: o.OutputState, + } +} + func (o ComputeEnginePreferencesPtrOutput) Elem() ComputeEnginePreferencesOutput { return o.ApplyT(func(v *ComputeEnginePreferences) ComputeEnginePreferences { if v != nil { @@ -218,6 +243,12 @@ func (o ComputeEnginePreferencesResponseOutput) ToComputeEnginePreferencesRespon return o } +func (o ComputeEnginePreferencesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEnginePreferencesResponse] { + return pulumix.Output[ComputeEnginePreferencesResponse]{ + OutputState: o.OutputState, + } +} + // License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. func (o ComputeEnginePreferencesResponseOutput) LicenseType() pulumi.StringOutput { return o.ApplyT(func(v ComputeEnginePreferencesResponse) string { return v.LicenseType }).(pulumi.StringOutput) @@ -262,6 +293,12 @@ func (o ExecutionReportResponseOutput) ToExecutionReportResponseOutputWithContex return o } +func (o ExecutionReportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionReportResponse] { + return pulumix.Output[ExecutionReportResponse]{ + OutputState: o.OutputState, + } +} + // Validation errors encountered during the execution of the import job. func (o ExecutionReportResponseOutput) ExecutionErrors() ValidationReportResponseOutput { return o.ApplyT(func(v ExecutionReportResponse) ValidationReportResponse { return v.ExecutionErrors }).(ValidationReportResponseOutput) @@ -311,6 +348,12 @@ func (o FileValidationReportResponseOutput) ToFileValidationReportResponseOutput return o } +func (o FileValidationReportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileValidationReportResponse] { + return pulumix.Output[FileValidationReportResponse]{ + OutputState: o.OutputState, + } +} + // List of file level errors. func (o FileValidationReportResponseOutput) FileErrors() ImportErrorResponseArrayOutput { return o.ApplyT(func(v FileValidationReportResponse) []ImportErrorResponse { return v.FileErrors }).(ImportErrorResponseArrayOutput) @@ -345,6 +388,12 @@ func (o FileValidationReportResponseArrayOutput) ToFileValidationReportResponseA return o } +func (o FileValidationReportResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileValidationReportResponse] { + return pulumix.Output[[]FileValidationReportResponse]{ + OutputState: o.OutputState, + } +} + func (o FileValidationReportResponseArrayOutput) Index(i pulumi.IntInput) FileValidationReportResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileValidationReportResponse { return vs[0].([]FileValidationReportResponse)[vs[1].(int)] @@ -390,6 +439,12 @@ func (i GCSPayloadInfoArgs) ToGCSPayloadInfoOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GCSPayloadInfoOutput) } +func (i GCSPayloadInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GCSPayloadInfo] { + return pulumix.Output[GCSPayloadInfo]{ + OutputState: i.ToGCSPayloadInfoOutputWithContext(ctx).OutputState, + } +} + func (i GCSPayloadInfoArgs) ToGCSPayloadInfoPtrOutput() GCSPayloadInfoPtrOutput { return i.ToGCSPayloadInfoPtrOutputWithContext(context.Background()) } @@ -431,6 +486,12 @@ func (i *gcspayloadInfoPtrType) ToGCSPayloadInfoPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GCSPayloadInfoPtrOutput) } +func (i *gcspayloadInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GCSPayloadInfo] { + return pulumix.Output[*GCSPayloadInfo]{ + OutputState: i.ToGCSPayloadInfoPtrOutputWithContext(ctx).OutputState, + } +} + // A resource that represents a payload hosted on Google Cloud Storage. type GCSPayloadInfoOutput struct{ *pulumi.OutputState } @@ -456,6 +517,12 @@ func (o GCSPayloadInfoOutput) ToGCSPayloadInfoPtrOutputWithContext(ctx context.C }).(GCSPayloadInfoPtrOutput) } +func (o GCSPayloadInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GCSPayloadInfo] { + return pulumix.Output[GCSPayloadInfo]{ + OutputState: o.OutputState, + } +} + // The import job format. func (o GCSPayloadInfoOutput) Format() GCSPayloadInfoFormatPtrOutput { return o.ApplyT(func(v GCSPayloadInfo) *GCSPayloadInfoFormat { return v.Format }).(GCSPayloadInfoFormatPtrOutput) @@ -480,6 +547,12 @@ func (o GCSPayloadInfoPtrOutput) ToGCSPayloadInfoPtrOutputWithContext(ctx contex return o } +func (o GCSPayloadInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GCSPayloadInfo] { + return pulumix.Output[*GCSPayloadInfo]{ + OutputState: o.OutputState, + } +} + func (o GCSPayloadInfoPtrOutput) Elem() GCSPayloadInfoOutput { return o.ApplyT(func(v *GCSPayloadInfo) GCSPayloadInfo { if v != nil { @@ -533,6 +606,12 @@ func (o GCSPayloadInfoResponseOutput) ToGCSPayloadInfoResponseOutputWithContext( return o } +func (o GCSPayloadInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GCSPayloadInfoResponse] { + return pulumix.Output[GCSPayloadInfoResponse]{ + OutputState: o.OutputState, + } +} + // The import job format. func (o GCSPayloadInfoResponseOutput) Format() pulumi.StringOutput { return o.ApplyT(func(v GCSPayloadInfoResponse) string { return v.Format }).(pulumi.StringOutput) @@ -566,6 +645,12 @@ func (o ImportErrorResponseOutput) ToImportErrorResponseOutputWithContext(ctx co return o } +func (o ImportErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImportErrorResponse] { + return pulumix.Output[ImportErrorResponse]{ + OutputState: o.OutputState, + } +} + // The error information. func (o ImportErrorResponseOutput) ErrorDetails() pulumi.StringOutput { return o.ApplyT(func(v ImportErrorResponse) string { return v.ErrorDetails }).(pulumi.StringOutput) @@ -590,6 +675,12 @@ func (o ImportErrorResponseArrayOutput) ToImportErrorResponseArrayOutputWithCont return o } +func (o ImportErrorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ImportErrorResponse] { + return pulumix.Output[[]ImportErrorResponse]{ + OutputState: o.OutputState, + } +} + func (o ImportErrorResponseArrayOutput) Index(i pulumi.IntInput) ImportErrorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImportErrorResponse { return vs[0].([]ImportErrorResponse)[vs[1].(int)] @@ -623,6 +714,12 @@ func (o ImportRowErrorResponseOutput) ToImportRowErrorResponseOutputWithContext( return o } +func (o ImportRowErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImportRowErrorResponse] { + return pulumix.Output[ImportRowErrorResponse]{ + OutputState: o.OutputState, + } +} + // The list of errors detected in the row. func (o ImportRowErrorResponseOutput) Errors() ImportErrorResponseArrayOutput { return o.ApplyT(func(v ImportRowErrorResponse) []ImportErrorResponse { return v.Errors }).(ImportErrorResponseArrayOutput) @@ -657,6 +754,12 @@ func (o ImportRowErrorResponseArrayOutput) ToImportRowErrorResponseArrayOutputWi return o } +func (o ImportRowErrorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ImportRowErrorResponse] { + return pulumix.Output[[]ImportRowErrorResponse]{ + OutputState: o.OutputState, + } +} + func (o ImportRowErrorResponseArrayOutput) Index(i pulumi.IntInput) ImportRowErrorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ImportRowErrorResponse { return vs[0].([]ImportRowErrorResponse)[vs[1].(int)] @@ -702,6 +805,12 @@ func (i InlinePayloadInfoArgs) ToInlinePayloadInfoOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(InlinePayloadInfoOutput) } +func (i InlinePayloadInfoArgs) ToOutput(ctx context.Context) pulumix.Output[InlinePayloadInfo] { + return pulumix.Output[InlinePayloadInfo]{ + OutputState: i.ToInlinePayloadInfoOutputWithContext(ctx).OutputState, + } +} + func (i InlinePayloadInfoArgs) ToInlinePayloadInfoPtrOutput() InlinePayloadInfoPtrOutput { return i.ToInlinePayloadInfoPtrOutputWithContext(context.Background()) } @@ -743,6 +852,12 @@ func (i *inlinePayloadInfoPtrType) ToInlinePayloadInfoPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InlinePayloadInfoPtrOutput) } +func (i *inlinePayloadInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*InlinePayloadInfo] { + return pulumix.Output[*InlinePayloadInfo]{ + OutputState: i.ToInlinePayloadInfoPtrOutputWithContext(ctx).OutputState, + } +} + // A resource that represents the inline import job payload. type InlinePayloadInfoOutput struct{ *pulumi.OutputState } @@ -768,6 +883,12 @@ func (o InlinePayloadInfoOutput) ToInlinePayloadInfoPtrOutputWithContext(ctx con }).(InlinePayloadInfoPtrOutput) } +func (o InlinePayloadInfoOutput) ToOutput(ctx context.Context) pulumix.Output[InlinePayloadInfo] { + return pulumix.Output[InlinePayloadInfo]{ + OutputState: o.OutputState, + } +} + // The import job format. func (o InlinePayloadInfoOutput) Format() InlinePayloadInfoFormatPtrOutput { return o.ApplyT(func(v InlinePayloadInfo) *InlinePayloadInfoFormat { return v.Format }).(InlinePayloadInfoFormatPtrOutput) @@ -792,6 +913,12 @@ func (o InlinePayloadInfoPtrOutput) ToInlinePayloadInfoPtrOutputWithContext(ctx return o } +func (o InlinePayloadInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InlinePayloadInfo] { + return pulumix.Output[*InlinePayloadInfo]{ + OutputState: o.OutputState, + } +} + func (o InlinePayloadInfoPtrOutput) Elem() InlinePayloadInfoOutput { return o.ApplyT(func(v *InlinePayloadInfo) InlinePayloadInfo { if v != nil { @@ -845,6 +972,12 @@ func (o InlinePayloadInfoResponseOutput) ToInlinePayloadInfoResponseOutputWithCo return o } +func (o InlinePayloadInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InlinePayloadInfoResponse] { + return pulumix.Output[InlinePayloadInfoResponse]{ + OutputState: o.OutputState, + } +} + // The import job format. func (o InlinePayloadInfoResponseOutput) Format() pulumi.StringOutput { return o.ApplyT(func(v InlinePayloadInfoResponse) string { return v.Format }).(pulumi.StringOutput) @@ -890,6 +1023,12 @@ func (i MachinePreferencesArgs) ToMachinePreferencesOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(MachinePreferencesOutput) } +func (i MachinePreferencesArgs) ToOutput(ctx context.Context) pulumix.Output[MachinePreferences] { + return pulumix.Output[MachinePreferences]{ + OutputState: i.ToMachinePreferencesOutputWithContext(ctx).OutputState, + } +} + func (i MachinePreferencesArgs) ToMachinePreferencesPtrOutput() MachinePreferencesPtrOutput { return i.ToMachinePreferencesPtrOutputWithContext(context.Background()) } @@ -931,6 +1070,12 @@ func (i *machinePreferencesPtrType) ToMachinePreferencesPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(MachinePreferencesPtrOutput) } +func (i *machinePreferencesPtrType) ToOutput(ctx context.Context) pulumix.Output[*MachinePreferences] { + return pulumix.Output[*MachinePreferences]{ + OutputState: i.ToMachinePreferencesPtrOutputWithContext(ctx).OutputState, + } +} + // The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions. type MachinePreferencesOutput struct{ *pulumi.OutputState } @@ -956,6 +1101,12 @@ func (o MachinePreferencesOutput) ToMachinePreferencesPtrOutputWithContext(ctx c }).(MachinePreferencesPtrOutput) } +func (o MachinePreferencesOutput) ToOutput(ctx context.Context) pulumix.Output[MachinePreferences] { + return pulumix.Output[MachinePreferences]{ + OutputState: o.OutputState, + } +} + // Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. func (o MachinePreferencesOutput) AllowedMachineSeries() MachineSeriesArrayOutput { return o.ApplyT(func(v MachinePreferences) []MachineSeries { return v.AllowedMachineSeries }).(MachineSeriesArrayOutput) @@ -975,6 +1126,12 @@ func (o MachinePreferencesPtrOutput) ToMachinePreferencesPtrOutputWithContext(ct return o } +func (o MachinePreferencesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MachinePreferences] { + return pulumix.Output[*MachinePreferences]{ + OutputState: o.OutputState, + } +} + func (o MachinePreferencesPtrOutput) Elem() MachinePreferencesOutput { return o.ApplyT(func(v *MachinePreferences) MachinePreferences { if v != nil { @@ -1016,6 +1173,12 @@ func (o MachinePreferencesResponseOutput) ToMachinePreferencesResponseOutputWith return o } +func (o MachinePreferencesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MachinePreferencesResponse] { + return pulumix.Output[MachinePreferencesResponse]{ + OutputState: o.OutputState, + } +} + // Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. func (o MachinePreferencesResponseOutput) AllowedMachineSeries() MachineSeriesResponseArrayOutput { return o.ApplyT(func(v MachinePreferencesResponse) []MachineSeriesResponse { return v.AllowedMachineSeries }).(MachineSeriesResponseArrayOutput) @@ -1056,6 +1219,12 @@ func (i MachineSeriesArgs) ToMachineSeriesOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MachineSeriesOutput) } +func (i MachineSeriesArgs) ToOutput(ctx context.Context) pulumix.Output[MachineSeries] { + return pulumix.Output[MachineSeries]{ + OutputState: i.ToMachineSeriesOutputWithContext(ctx).OutputState, + } +} + // MachineSeriesArrayInput is an input type that accepts MachineSeriesArray and MachineSeriesArrayOutput values. // You can construct a concrete instance of `MachineSeriesArrayInput` via: // @@ -1081,6 +1250,12 @@ func (i MachineSeriesArray) ToMachineSeriesArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MachineSeriesArrayOutput) } +func (i MachineSeriesArray) ToOutput(ctx context.Context) pulumix.Output[[]MachineSeries] { + return pulumix.Output[[]MachineSeries]{ + OutputState: i.ToMachineSeriesArrayOutputWithContext(ctx).OutputState, + } +} + // A Compute Engine machine series. type MachineSeriesOutput struct{ *pulumi.OutputState } @@ -1096,6 +1271,12 @@ func (o MachineSeriesOutput) ToMachineSeriesOutputWithContext(ctx context.Contex return o } +func (o MachineSeriesOutput) ToOutput(ctx context.Context) pulumix.Output[MachineSeries] { + return pulumix.Output[MachineSeries]{ + OutputState: o.OutputState, + } +} + // Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series. func (o MachineSeriesOutput) Code() pulumi.StringPtrOutput { return o.ApplyT(func(v MachineSeries) *string { return v.Code }).(pulumi.StringPtrOutput) @@ -1115,6 +1296,12 @@ func (o MachineSeriesArrayOutput) ToMachineSeriesArrayOutputWithContext(ctx cont return o } +func (o MachineSeriesArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MachineSeries] { + return pulumix.Output[[]MachineSeries]{ + OutputState: o.OutputState, + } +} + func (o MachineSeriesArrayOutput) Index(i pulumi.IntInput) MachineSeriesOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MachineSeries { return vs[0].([]MachineSeries)[vs[1].(int)] @@ -1142,6 +1329,12 @@ func (o MachineSeriesResponseOutput) ToMachineSeriesResponseOutputWithContext(ct return o } +func (o MachineSeriesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MachineSeriesResponse] { + return pulumix.Output[MachineSeriesResponse]{ + OutputState: o.OutputState, + } +} + // Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series. func (o MachineSeriesResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v MachineSeriesResponse) string { return v.Code }).(pulumi.StringOutput) @@ -1161,6 +1354,12 @@ func (o MachineSeriesResponseArrayOutput) ToMachineSeriesResponseArrayOutputWith return o } +func (o MachineSeriesResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MachineSeriesResponse] { + return pulumix.Output[[]MachineSeriesResponse]{ + OutputState: o.OutputState, + } +} + func (o MachineSeriesResponseArrayOutput) Index(i pulumi.IntInput) MachineSeriesResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MachineSeriesResponse { return vs[0].([]MachineSeriesResponse)[vs[1].(int)] @@ -1192,6 +1391,12 @@ func (o MoneyResponseOutput) ToMoneyResponseOutputWithContext(ctx context.Contex return o } +func (o MoneyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MoneyResponse] { + return pulumix.Output[MoneyResponse]{ + OutputState: o.OutputState, + } +} + // The three-letter currency code defined in ISO 4217. func (o MoneyResponseOutput) CurrencyCode() pulumi.StringOutput { return o.ApplyT(func(v MoneyResponse) string { return v.CurrencyCode }).(pulumi.StringOutput) @@ -1246,6 +1451,12 @@ func (i PayloadFileArgs) ToPayloadFileOutputWithContext(ctx context.Context) Pay return pulumi.ToOutputWithContext(ctx, i).(PayloadFileOutput) } +func (i PayloadFileArgs) ToOutput(ctx context.Context) pulumix.Output[PayloadFile] { + return pulumix.Output[PayloadFile]{ + OutputState: i.ToPayloadFileOutputWithContext(ctx).OutputState, + } +} + // PayloadFileArrayInput is an input type that accepts PayloadFileArray and PayloadFileArrayOutput values. // You can construct a concrete instance of `PayloadFileArrayInput` via: // @@ -1271,6 +1482,12 @@ func (i PayloadFileArray) ToPayloadFileArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(PayloadFileArrayOutput) } +func (i PayloadFileArray) ToOutput(ctx context.Context) pulumix.Output[[]PayloadFile] { + return pulumix.Output[[]PayloadFile]{ + OutputState: i.ToPayloadFileArrayOutputWithContext(ctx).OutputState, + } +} + // Payload file for inline import job payload. type PayloadFileOutput struct{ *pulumi.OutputState } @@ -1286,6 +1503,12 @@ func (o PayloadFileOutput) ToPayloadFileOutputWithContext(ctx context.Context) P return o } +func (o PayloadFileOutput) ToOutput(ctx context.Context) pulumix.Output[PayloadFile] { + return pulumix.Output[PayloadFile]{ + OutputState: o.OutputState, + } +} + // The file data. func (o PayloadFileOutput) Data() pulumi.StringPtrOutput { return o.ApplyT(func(v PayloadFile) *string { return v.Data }).(pulumi.StringPtrOutput) @@ -1310,6 +1533,12 @@ func (o PayloadFileArrayOutput) ToPayloadFileArrayOutputWithContext(ctx context. return o } +func (o PayloadFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PayloadFile] { + return pulumix.Output[[]PayloadFile]{ + OutputState: o.OutputState, + } +} + func (o PayloadFileArrayOutput) Index(i pulumi.IntInput) PayloadFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PayloadFile { return vs[0].([]PayloadFile)[vs[1].(int)] @@ -1339,6 +1568,12 @@ func (o PayloadFileResponseOutput) ToPayloadFileResponseOutputWithContext(ctx co return o } +func (o PayloadFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PayloadFileResponse] { + return pulumix.Output[PayloadFileResponse]{ + OutputState: o.OutputState, + } +} + // The file data. func (o PayloadFileResponseOutput) Data() pulumi.StringOutput { return o.ApplyT(func(v PayloadFileResponse) string { return v.Data }).(pulumi.StringOutput) @@ -1363,6 +1598,12 @@ func (o PayloadFileResponseArrayOutput) ToPayloadFileResponseArrayOutputWithCont return o } +func (o PayloadFileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PayloadFileResponse] { + return pulumix.Output[[]PayloadFileResponse]{ + OutputState: o.OutputState, + } +} + func (o PayloadFileResponseArrayOutput) Index(i pulumi.IntInput) PayloadFileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PayloadFileResponse { return vs[0].([]PayloadFileResponse)[vs[1].(int)] @@ -1404,6 +1645,12 @@ func (i RegionPreferencesArgs) ToRegionPreferencesOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(RegionPreferencesOutput) } +func (i RegionPreferencesArgs) ToOutput(ctx context.Context) pulumix.Output[RegionPreferences] { + return pulumix.Output[RegionPreferences]{ + OutputState: i.ToRegionPreferencesOutputWithContext(ctx).OutputState, + } +} + func (i RegionPreferencesArgs) ToRegionPreferencesPtrOutput() RegionPreferencesPtrOutput { return i.ToRegionPreferencesPtrOutputWithContext(context.Background()) } @@ -1445,6 +1692,12 @@ func (i *regionPreferencesPtrType) ToRegionPreferencesPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(RegionPreferencesPtrOutput) } +func (i *regionPreferencesPtrType) ToOutput(ctx context.Context) pulumix.Output[*RegionPreferences] { + return pulumix.Output[*RegionPreferences]{ + OutputState: i.ToRegionPreferencesPtrOutputWithContext(ctx).OutputState, + } +} + // The user preferences relating to target regions. type RegionPreferencesOutput struct{ *pulumi.OutputState } @@ -1470,6 +1723,12 @@ func (o RegionPreferencesOutput) ToRegionPreferencesPtrOutputWithContext(ctx con }).(RegionPreferencesPtrOutput) } +func (o RegionPreferencesOutput) ToOutput(ctx context.Context) pulumix.Output[RegionPreferences] { + return pulumix.Output[RegionPreferences]{ + OutputState: o.OutputState, + } +} + // A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions. func (o RegionPreferencesOutput) PreferredRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v RegionPreferences) []string { return v.PreferredRegions }).(pulumi.StringArrayOutput) @@ -1489,6 +1748,12 @@ func (o RegionPreferencesPtrOutput) ToRegionPreferencesPtrOutputWithContext(ctx return o } +func (o RegionPreferencesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegionPreferences] { + return pulumix.Output[*RegionPreferences]{ + OutputState: o.OutputState, + } +} + func (o RegionPreferencesPtrOutput) Elem() RegionPreferencesOutput { return o.ApplyT(func(v *RegionPreferences) RegionPreferences { if v != nil { @@ -1530,6 +1795,12 @@ func (o RegionPreferencesResponseOutput) ToRegionPreferencesResponseOutputWithCo return o } +func (o RegionPreferencesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegionPreferencesResponse] { + return pulumix.Output[RegionPreferencesResponse]{ + OutputState: o.OutputState, + } +} + // A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions. func (o RegionPreferencesResponseOutput) PreferredRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v RegionPreferencesResponse) []string { return v.PreferredRegions }).(pulumi.StringArrayOutput) @@ -1574,6 +1845,12 @@ func (i ReportConfigGroupPreferenceSetAssignmentArgs) ToReportConfigGroupPrefere return pulumi.ToOutputWithContext(ctx, i).(ReportConfigGroupPreferenceSetAssignmentOutput) } +func (i ReportConfigGroupPreferenceSetAssignmentArgs) ToOutput(ctx context.Context) pulumix.Output[ReportConfigGroupPreferenceSetAssignment] { + return pulumix.Output[ReportConfigGroupPreferenceSetAssignment]{ + OutputState: i.ToReportConfigGroupPreferenceSetAssignmentOutputWithContext(ctx).OutputState, + } +} + // ReportConfigGroupPreferenceSetAssignmentArrayInput is an input type that accepts ReportConfigGroupPreferenceSetAssignmentArray and ReportConfigGroupPreferenceSetAssignmentArrayOutput values. // You can construct a concrete instance of `ReportConfigGroupPreferenceSetAssignmentArrayInput` via: // @@ -1599,6 +1876,12 @@ func (i ReportConfigGroupPreferenceSetAssignmentArray) ToReportConfigGroupPrefer return pulumi.ToOutputWithContext(ctx, i).(ReportConfigGroupPreferenceSetAssignmentArrayOutput) } +func (i ReportConfigGroupPreferenceSetAssignmentArray) ToOutput(ctx context.Context) pulumix.Output[[]ReportConfigGroupPreferenceSetAssignment] { + return pulumix.Output[[]ReportConfigGroupPreferenceSetAssignment]{ + OutputState: i.ToReportConfigGroupPreferenceSetAssignmentArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a combination of a group with a preference set. type ReportConfigGroupPreferenceSetAssignmentOutput struct{ *pulumi.OutputState } @@ -1614,6 +1897,12 @@ func (o ReportConfigGroupPreferenceSetAssignmentOutput) ToReportConfigGroupPrefe return o } +func (o ReportConfigGroupPreferenceSetAssignmentOutput) ToOutput(ctx context.Context) pulumix.Output[ReportConfigGroupPreferenceSetAssignment] { + return pulumix.Output[ReportConfigGroupPreferenceSetAssignment]{ + OutputState: o.OutputState, + } +} + // Name of the group. func (o ReportConfigGroupPreferenceSetAssignmentOutput) Group() pulumi.StringOutput { return o.ApplyT(func(v ReportConfigGroupPreferenceSetAssignment) string { return v.Group }).(pulumi.StringOutput) @@ -1638,6 +1927,12 @@ func (o ReportConfigGroupPreferenceSetAssignmentArrayOutput) ToReportConfigGroup return o } +func (o ReportConfigGroupPreferenceSetAssignmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReportConfigGroupPreferenceSetAssignment] { + return pulumix.Output[[]ReportConfigGroupPreferenceSetAssignment]{ + OutputState: o.OutputState, + } +} + func (o ReportConfigGroupPreferenceSetAssignmentArrayOutput) Index(i pulumi.IntInput) ReportConfigGroupPreferenceSetAssignmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReportConfigGroupPreferenceSetAssignment { return vs[0].([]ReportConfigGroupPreferenceSetAssignment)[vs[1].(int)] @@ -1667,6 +1962,12 @@ func (o ReportConfigGroupPreferenceSetAssignmentResponseOutput) ToReportConfigGr return o } +func (o ReportConfigGroupPreferenceSetAssignmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportConfigGroupPreferenceSetAssignmentResponse] { + return pulumix.Output[ReportConfigGroupPreferenceSetAssignmentResponse]{ + OutputState: o.OutputState, + } +} + // Name of the group. func (o ReportConfigGroupPreferenceSetAssignmentResponseOutput) Group() pulumi.StringOutput { return o.ApplyT(func(v ReportConfigGroupPreferenceSetAssignmentResponse) string { return v.Group }).(pulumi.StringOutput) @@ -1691,6 +1992,12 @@ func (o ReportConfigGroupPreferenceSetAssignmentResponseArrayOutput) ToReportCon return o } +func (o ReportConfigGroupPreferenceSetAssignmentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReportConfigGroupPreferenceSetAssignmentResponse] { + return pulumix.Output[[]ReportConfigGroupPreferenceSetAssignmentResponse]{ + OutputState: o.OutputState, + } +} + func (o ReportConfigGroupPreferenceSetAssignmentResponseArrayOutput) Index(i pulumi.IntInput) ReportConfigGroupPreferenceSetAssignmentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReportConfigGroupPreferenceSetAssignmentResponse { return vs[0].([]ReportConfigGroupPreferenceSetAssignmentResponse)[vs[1].(int)] @@ -1742,6 +2049,12 @@ func (o ReportSummaryAssetAggregateStatsResponseOutput) ToReportSummaryAssetAggr return o } +func (o ReportSummaryAssetAggregateStatsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryAssetAggregateStatsResponse] { + return pulumix.Output[ReportSummaryAssetAggregateStatsResponse]{ + OutputState: o.OutputState, + } +} + // Count of assets grouped by age. func (o ReportSummaryAssetAggregateStatsResponseOutput) AssetAge() ReportSummaryChartDataResponseOutput { return o.ApplyT(func(v ReportSummaryAssetAggregateStatsResponse) ReportSummaryChartDataResponse { return v.AssetAge }).(ReportSummaryChartDataResponseOutput) @@ -1846,6 +2159,12 @@ func (o ReportSummaryChartDataDataPointResponseOutput) ToReportSummaryChartDataD return o } +func (o ReportSummaryChartDataDataPointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryChartDataDataPointResponse] { + return pulumix.Output[ReportSummaryChartDataDataPointResponse]{ + OutputState: o.OutputState, + } +} + // The X-axis label for this data point. func (o ReportSummaryChartDataDataPointResponseOutput) Label() pulumi.StringOutput { return o.ApplyT(func(v ReportSummaryChartDataDataPointResponse) string { return v.Label }).(pulumi.StringOutput) @@ -1870,6 +2189,12 @@ func (o ReportSummaryChartDataDataPointResponseArrayOutput) ToReportSummaryChart return o } +func (o ReportSummaryChartDataDataPointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReportSummaryChartDataDataPointResponse] { + return pulumix.Output[[]ReportSummaryChartDataDataPointResponse]{ + OutputState: o.OutputState, + } +} + func (o ReportSummaryChartDataDataPointResponseArrayOutput) Index(i pulumi.IntInput) ReportSummaryChartDataDataPointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReportSummaryChartDataDataPointResponse { return vs[0].([]ReportSummaryChartDataDataPointResponse)[vs[1].(int)] @@ -1897,6 +2222,12 @@ func (o ReportSummaryChartDataResponseOutput) ToReportSummaryChartDataResponseOu return o } +func (o ReportSummaryChartDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryChartDataResponse] { + return pulumix.Output[ReportSummaryChartDataResponse]{ + OutputState: o.OutputState, + } +} + // Each data point in the chart is represented as a name-value pair with the name being the x-axis label, and the value being the y-axis value. func (o ReportSummaryChartDataResponseOutput) DataPoints() ReportSummaryChartDataDataPointResponseArrayOutput { return o.ApplyT(func(v ReportSummaryChartDataResponse) []ReportSummaryChartDataDataPointResponse { return v.DataPoints }).(ReportSummaryChartDataDataPointResponseArrayOutput) @@ -1931,6 +2262,12 @@ func (o ReportSummaryGroupFindingResponseOutput) ToReportSummaryGroupFindingResp return o } +func (o ReportSummaryGroupFindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryGroupFindingResponse] { + return pulumix.Output[ReportSummaryGroupFindingResponse]{ + OutputState: o.OutputState, + } +} + // Summary statistics for all the assets in this group. func (o ReportSummaryGroupFindingResponseOutput) AssetAggregateStats() ReportSummaryAssetAggregateStatsResponseOutput { return o.ApplyT(func(v ReportSummaryGroupFindingResponse) ReportSummaryAssetAggregateStatsResponse { @@ -1974,6 +2311,12 @@ func (o ReportSummaryGroupFindingResponseArrayOutput) ToReportSummaryGroupFindin return o } +func (o ReportSummaryGroupFindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReportSummaryGroupFindingResponse] { + return pulumix.Output[[]ReportSummaryGroupFindingResponse]{ + OutputState: o.OutputState, + } +} + func (o ReportSummaryGroupFindingResponseArrayOutput) Index(i pulumi.IntInput) ReportSummaryGroupFindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReportSummaryGroupFindingResponse { return vs[0].([]ReportSummaryGroupFindingResponse)[vs[1].(int)] @@ -2025,6 +2368,12 @@ func (o ReportSummaryGroupPreferenceSetFindingResponseOutput) ToReportSummaryGro return o } +func (o ReportSummaryGroupPreferenceSetFindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryGroupPreferenceSetFindingResponse] { + return pulumix.Output[ReportSummaryGroupPreferenceSetFindingResponse]{ + OutputState: o.OutputState, + } +} + // Description for the Preference Set. func (o ReportSummaryGroupPreferenceSetFindingResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ReportSummaryGroupPreferenceSetFindingResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2110,6 +2459,12 @@ func (o ReportSummaryGroupPreferenceSetFindingResponseArrayOutput) ToReportSumma return o } +func (o ReportSummaryGroupPreferenceSetFindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReportSummaryGroupPreferenceSetFindingResponse] { + return pulumix.Output[[]ReportSummaryGroupPreferenceSetFindingResponse]{ + OutputState: o.OutputState, + } +} + func (o ReportSummaryGroupPreferenceSetFindingResponseArrayOutput) Index(i pulumi.IntInput) ReportSummaryGroupPreferenceSetFindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReportSummaryGroupPreferenceSetFindingResponse { return vs[0].([]ReportSummaryGroupPreferenceSetFindingResponse)[vs[1].(int)] @@ -2141,6 +2496,12 @@ func (o ReportSummaryHistogramChartDataBucketResponseOutput) ToReportSummaryHist return o } +func (o ReportSummaryHistogramChartDataBucketResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryHistogramChartDataBucketResponse] { + return pulumix.Output[ReportSummaryHistogramChartDataBucketResponse]{ + OutputState: o.OutputState, + } +} + // Count of items in the bucket. func (o ReportSummaryHistogramChartDataBucketResponseOutput) Count() pulumi.StringOutput { return o.ApplyT(func(v ReportSummaryHistogramChartDataBucketResponse) string { return v.Count }).(pulumi.StringOutput) @@ -2170,6 +2531,12 @@ func (o ReportSummaryHistogramChartDataBucketResponseArrayOutput) ToReportSummar return o } +func (o ReportSummaryHistogramChartDataBucketResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReportSummaryHistogramChartDataBucketResponse] { + return pulumix.Output[[]ReportSummaryHistogramChartDataBucketResponse]{ + OutputState: o.OutputState, + } +} + func (o ReportSummaryHistogramChartDataBucketResponseArrayOutput) Index(i pulumi.IntInput) ReportSummaryHistogramChartDataBucketResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReportSummaryHistogramChartDataBucketResponse { return vs[0].([]ReportSummaryHistogramChartDataBucketResponse)[vs[1].(int)] @@ -2197,6 +2564,12 @@ func (o ReportSummaryHistogramChartDataResponseOutput) ToReportSummaryHistogramC return o } +func (o ReportSummaryHistogramChartDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryHistogramChartDataResponse] { + return pulumix.Output[ReportSummaryHistogramChartDataResponse]{ + OutputState: o.OutputState, + } +} + // Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity. func (o ReportSummaryHistogramChartDataResponseOutput) Buckets() ReportSummaryHistogramChartDataBucketResponseArrayOutput { return o.ApplyT(func(v ReportSummaryHistogramChartDataResponse) []ReportSummaryHistogramChartDataBucketResponse { @@ -2231,6 +2604,12 @@ func (o ReportSummaryMachineFindingResponseOutput) ToReportSummaryMachineFinding return o } +func (o ReportSummaryMachineFindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryMachineFindingResponse] { + return pulumix.Output[ReportSummaryMachineFindingResponse]{ + OutputState: o.OutputState, + } +} + // Count of assets which were allocated. func (o ReportSummaryMachineFindingResponseOutput) AllocatedAssetCount() pulumi.StringOutput { return o.ApplyT(func(v ReportSummaryMachineFindingResponse) string { return v.AllocatedAssetCount }).(pulumi.StringOutput) @@ -2276,6 +2655,12 @@ func (o ReportSummaryMachineSeriesAllocationResponseOutput) ToReportSummaryMachi return o } +func (o ReportSummaryMachineSeriesAllocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryMachineSeriesAllocationResponse] { + return pulumix.Output[ReportSummaryMachineSeriesAllocationResponse]{ + OutputState: o.OutputState, + } +} + // Count of assets allocated to this machine series. func (o ReportSummaryMachineSeriesAllocationResponseOutput) AllocatedAssetCount() pulumi.StringOutput { return o.ApplyT(func(v ReportSummaryMachineSeriesAllocationResponse) string { return v.AllocatedAssetCount }).(pulumi.StringOutput) @@ -2300,6 +2685,12 @@ func (o ReportSummaryMachineSeriesAllocationResponseArrayOutput) ToReportSummary return o } +func (o ReportSummaryMachineSeriesAllocationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReportSummaryMachineSeriesAllocationResponse] { + return pulumix.Output[[]ReportSummaryMachineSeriesAllocationResponse]{ + OutputState: o.OutputState, + } +} + func (o ReportSummaryMachineSeriesAllocationResponseArrayOutput) Index(i pulumi.IntInput) ReportSummaryMachineSeriesAllocationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReportSummaryMachineSeriesAllocationResponse { return vs[0].([]ReportSummaryMachineSeriesAllocationResponse)[vs[1].(int)] @@ -2329,6 +2720,12 @@ func (o ReportSummaryResponseOutput) ToReportSummaryResponseOutputWithContext(ct return o } +func (o ReportSummaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryResponse] { + return pulumix.Output[ReportSummaryResponse]{ + OutputState: o.OutputState, + } +} + // Aggregate statistics for all the assets across all the groups. func (o ReportSummaryResponseOutput) AllAssetsStats() ReportSummaryAssetAggregateStatsResponseOutput { return o.ApplyT(func(v ReportSummaryResponse) ReportSummaryAssetAggregateStatsResponse { return v.AllAssetsStats }).(ReportSummaryAssetAggregateStatsResponseOutput) @@ -2362,6 +2759,12 @@ func (o ReportSummaryUtilizationChartDataResponseOutput) ToReportSummaryUtilizat return o } +func (o ReportSummaryUtilizationChartDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReportSummaryUtilizationChartDataResponse] { + return pulumix.Output[ReportSummaryUtilizationChartDataResponse]{ + OutputState: o.OutputState, + } +} + // Aggregate value which falls into the "Free" bucket. func (o ReportSummaryUtilizationChartDataResponseOutput) Free() pulumi.StringOutput { return o.ApplyT(func(v ReportSummaryUtilizationChartDataResponse) string { return v.Free }).(pulumi.StringOutput) @@ -2403,6 +2806,12 @@ func (i UploadFileInfoArgs) ToUploadFileInfoOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(UploadFileInfoOutput) } +func (i UploadFileInfoArgs) ToOutput(ctx context.Context) pulumix.Output[UploadFileInfo] { + return pulumix.Output[UploadFileInfo]{ + OutputState: i.ToUploadFileInfoOutputWithContext(ctx).OutputState, + } +} + func (i UploadFileInfoArgs) ToUploadFileInfoPtrOutput() UploadFileInfoPtrOutput { return i.ToUploadFileInfoPtrOutputWithContext(context.Background()) } @@ -2444,6 +2853,12 @@ func (i *uploadFileInfoPtrType) ToUploadFileInfoPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(UploadFileInfoPtrOutput) } +func (i *uploadFileInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*UploadFileInfo] { + return pulumix.Output[*UploadFileInfo]{ + OutputState: i.ToUploadFileInfoPtrOutputWithContext(ctx).OutputState, + } +} + // A resource that contains a URI to which a data file can be uploaded. type UploadFileInfoOutput struct{ *pulumi.OutputState } @@ -2469,6 +2884,12 @@ func (o UploadFileInfoOutput) ToUploadFileInfoPtrOutputWithContext(ctx context.C }).(UploadFileInfoPtrOutput) } +func (o UploadFileInfoOutput) ToOutput(ctx context.Context) pulumix.Output[UploadFileInfo] { + return pulumix.Output[UploadFileInfo]{ + OutputState: o.OutputState, + } +} + type UploadFileInfoPtrOutput struct{ *pulumi.OutputState } func (UploadFileInfoPtrOutput) ElementType() reflect.Type { @@ -2483,6 +2904,12 @@ func (o UploadFileInfoPtrOutput) ToUploadFileInfoPtrOutputWithContext(ctx contex return o } +func (o UploadFileInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UploadFileInfo] { + return pulumix.Output[*UploadFileInfo]{ + OutputState: o.OutputState, + } +} + func (o UploadFileInfoPtrOutput) Elem() UploadFileInfoOutput { return o.ApplyT(func(v *UploadFileInfo) UploadFileInfo { if v != nil { @@ -2518,6 +2945,12 @@ func (o UploadFileInfoResponseOutput) ToUploadFileInfoResponseOutputWithContext( return o } +func (o UploadFileInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UploadFileInfoResponse] { + return pulumix.Output[UploadFileInfoResponse]{ + OutputState: o.OutputState, + } +} + // The headers that were used to sign the URL. func (o UploadFileInfoResponseOutput) Headers() pulumi.StringMapOutput { return o.ApplyT(func(v UploadFileInfoResponse) map[string]string { return v.Headers }).(pulumi.StringMapOutput) @@ -2556,6 +2989,12 @@ func (o ValidationReportResponseOutput) ToValidationReportResponseOutputWithCont return o } +func (o ValidationReportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationReportResponse] { + return pulumix.Output[ValidationReportResponse]{ + OutputState: o.OutputState, + } +} + // List of errors found in files. func (o ValidationReportResponseOutput) FileValidations() FileValidationReportResponseArrayOutput { return o.ApplyT(func(v ValidationReportResponse) []FileValidationReportResponse { return v.FileValidations }).(FileValidationReportResponseArrayOutput) @@ -2613,6 +3052,12 @@ func (i VirtualMachinePreferencesArgs) ToVirtualMachinePreferencesOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(VirtualMachinePreferencesOutput) } +func (i VirtualMachinePreferencesArgs) ToOutput(ctx context.Context) pulumix.Output[VirtualMachinePreferences] { + return pulumix.Output[VirtualMachinePreferences]{ + OutputState: i.ToVirtualMachinePreferencesOutputWithContext(ctx).OutputState, + } +} + func (i VirtualMachinePreferencesArgs) ToVirtualMachinePreferencesPtrOutput() VirtualMachinePreferencesPtrOutput { return i.ToVirtualMachinePreferencesPtrOutputWithContext(context.Background()) } @@ -2654,6 +3099,12 @@ func (i *virtualMachinePreferencesPtrType) ToVirtualMachinePreferencesPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(VirtualMachinePreferencesPtrOutput) } +func (i *virtualMachinePreferencesPtrType) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachinePreferences] { + return pulumix.Output[*VirtualMachinePreferences]{ + OutputState: i.ToVirtualMachinePreferencesPtrOutputWithContext(ctx).OutputState, + } +} + // VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets. type VirtualMachinePreferencesOutput struct{ *pulumi.OutputState } @@ -2679,6 +3130,12 @@ func (o VirtualMachinePreferencesOutput) ToVirtualMachinePreferencesPtrOutputWit }).(VirtualMachinePreferencesPtrOutput) } +func (o VirtualMachinePreferencesOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualMachinePreferences] { + return pulumix.Output[VirtualMachinePreferences]{ + OutputState: o.OutputState, + } +} + // Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. func (o VirtualMachinePreferencesOutput) CommitmentPlan() VirtualMachinePreferencesCommitmentPlanPtrOutput { return o.ApplyT(func(v VirtualMachinePreferences) *VirtualMachinePreferencesCommitmentPlan { return v.CommitmentPlan }).(VirtualMachinePreferencesCommitmentPlanPtrOutput) @@ -2715,6 +3172,12 @@ func (o VirtualMachinePreferencesPtrOutput) ToVirtualMachinePreferencesPtrOutput return o } +func (o VirtualMachinePreferencesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachinePreferences] { + return pulumix.Output[*VirtualMachinePreferences]{ + OutputState: o.OutputState, + } +} + func (o VirtualMachinePreferencesPtrOutput) Elem() VirtualMachinePreferencesOutput { return o.ApplyT(func(v *VirtualMachinePreferences) VirtualMachinePreferences { if v != nil { @@ -2792,6 +3255,12 @@ func (o VirtualMachinePreferencesResponseOutput) ToVirtualMachinePreferencesResp return o } +func (o VirtualMachinePreferencesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualMachinePreferencesResponse] { + return pulumix.Output[VirtualMachinePreferencesResponse]{ + OutputState: o.OutputState, + } +} + // Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with. func (o VirtualMachinePreferencesResponseOutput) CommitmentPlan() pulumi.StringOutput { return o.ApplyT(func(v VirtualMachinePreferencesResponse) string { return v.CommitmentPlan }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/report.go b/sdk/go/google/migrationcenter/v1alpha1/report.go index e829c91adc..966564e0e1 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/report.go +++ b/sdk/go/google/migrationcenter/v1alpha1/report.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a report. @@ -154,6 +155,12 @@ func (i *Report) ToReportOutputWithContext(ctx context.Context) ReportOutput { return pulumi.ToOutputWithContext(ctx, i).(ReportOutput) } +func (i *Report) ToOutput(ctx context.Context) pulumix.Output[*Report] { + return pulumix.Output[*Report]{ + OutputState: i.ToReportOutputWithContext(ctx).OutputState, + } +} + type ReportOutput struct{ *pulumi.OutputState } func (ReportOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o ReportOutput) ToReportOutputWithContext(ctx context.Context) ReportOutpu return o } +func (o ReportOutput) ToOutput(ctx context.Context) pulumix.Output[*Report] { + return pulumix.Output[*Report]{ + OutputState: o.OutputState, + } +} + // Creation timestamp. func (o ReportOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Report) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/reportConfig.go b/sdk/go/google/migrationcenter/v1alpha1/reportConfig.go index 3b65faadf3..735851e9e8 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/reportConfig.go +++ b/sdk/go/google/migrationcenter/v1alpha1/reportConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a report configuration. @@ -142,6 +143,12 @@ func (i *ReportConfig) ToReportConfigOutputWithContext(ctx context.Context) Repo return pulumi.ToOutputWithContext(ctx, i).(ReportConfigOutput) } +func (i *ReportConfig) ToOutput(ctx context.Context) pulumix.Output[*ReportConfig] { + return pulumix.Output[*ReportConfig]{ + OutputState: i.ToReportConfigOutputWithContext(ctx).OutputState, + } +} + type ReportConfigOutput struct{ *pulumi.OutputState } func (ReportConfigOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o ReportConfigOutput) ToReportConfigOutputWithContext(ctx context.Context) return o } +func (o ReportConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ReportConfig] { + return pulumix.Output[*ReportConfig]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o ReportConfigOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *ReportConfig) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/migrationcenter/v1alpha1/source.go b/sdk/go/google/migrationcenter/v1alpha1/source.go index 8e107c0b81..416cfc649b 100644 --- a/sdk/go/google/migrationcenter/v1alpha1/source.go +++ b/sdk/go/google/migrationcenter/v1alpha1/source.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new source in a given project and location. @@ -157,6 +158,12 @@ func (i *Source) ToSourceOutputWithContext(ctx context.Context) SourceOutput { return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i *Source) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + type SourceOutput struct{ *pulumi.OutputState } func (SourceOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutpu return o } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + // The timestamp when the source was created. func (o SourceOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Source) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/ml/v1/getJob.go b/sdk/go/google/ml/v1/getJob.go index 1b9ac05f02..6a09eda1ce 100644 --- a/sdk/go/google/ml/v1/getJob.go +++ b/sdk/go/google/ml/v1/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Describes a job. @@ -92,6 +93,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // When the job was created. func (o LookupJobResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupJobResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/ml/v1/getJobIamPolicy.go b/sdk/go/google/ml/v1/getJobIamPolicy.go index 7b6a8d5b7a..845ab73bce 100644 --- a/sdk/go/google/ml/v1/getJobIamPolicy.go +++ b/sdk/go/google/ml/v1/getJobIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupJobIamPolicyResultOutput) ToLookupJobIamPolicyResultOutputWithCont return o } +func (o LookupJobIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobIamPolicyResult] { + return pulumix.Output[LookupJobIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupJobIamPolicyResultOutput) AuditConfigs() GoogleIamV1__AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupJobIamPolicyResult) []GoogleIamV1__AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1__AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/ml/v1/getModel.go b/sdk/go/google/ml/v1/getModel.go index 2ad86b0e26..6f07cb762a 100644 --- a/sdk/go/google/ml/v1/getModel.go +++ b/sdk/go/google/ml/v1/getModel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a model, including its name, the description (if set), and the default version (if at least one version of the model has been deployed). @@ -82,6 +83,12 @@ func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx contex return o } +func (o LookupModelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupModelResult] { + return pulumix.Output[LookupModelResult]{ + OutputState: o.OutputState, + } +} + // The default version of the model. This version will be used to handle prediction requests that do not specify a version. You can change the default version by calling projects.models.versions.setDefault. func (o LookupModelResultOutput) DefaultVersion() GoogleCloudMlV1__VersionResponseOutput { return o.ApplyT(func(v LookupModelResult) GoogleCloudMlV1__VersionResponse { return v.DefaultVersion }).(GoogleCloudMlV1__VersionResponseOutput) diff --git a/sdk/go/google/ml/v1/getModelIamPolicy.go b/sdk/go/google/ml/v1/getModelIamPolicy.go index a3e8cd14a0..237cab243f 100644 --- a/sdk/go/google/ml/v1/getModelIamPolicy.go +++ b/sdk/go/google/ml/v1/getModelIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupModelIamPolicyResultOutput) ToLookupModelIamPolicyResultOutputWith return o } +func (o LookupModelIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupModelIamPolicyResult] { + return pulumix.Output[LookupModelIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupModelIamPolicyResultOutput) AuditConfigs() GoogleIamV1__AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupModelIamPolicyResult) []GoogleIamV1__AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1__AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/ml/v1/getStudy.go b/sdk/go/google/ml/v1/getStudy.go index 1687903b29..828e1c3dbb 100644 --- a/sdk/go/google/ml/v1/getStudy.go +++ b/sdk/go/google/ml/v1/getStudy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a study. @@ -78,6 +79,12 @@ func (o LookupStudyResultOutput) ToLookupStudyResultOutputWithContext(ctx contex return o } +func (o LookupStudyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupStudyResult] { + return pulumix.Output[LookupStudyResult]{ + OutputState: o.OutputState, + } +} + // Time at which the study was created. func (o LookupStudyResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupStudyResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/ml/v1/getTrial.go b/sdk/go/google/ml/v1/getTrial.go index 7a279a98fb..fa6a2aa203 100644 --- a/sdk/go/google/ml/v1/getTrial.go +++ b/sdk/go/google/ml/v1/getTrial.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a trial. @@ -90,6 +91,12 @@ func (o LookupTrialResultOutput) ToLookupTrialResultOutputWithContext(ctx contex return o } +func (o LookupTrialResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTrialResult] { + return pulumix.Output[LookupTrialResult]{ + OutputState: o.OutputState, + } +} + // The identifier of the client that originally requested this trial. func (o LookupTrialResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v LookupTrialResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/google/ml/v1/getVersion.go b/sdk/go/google/ml/v1/getVersion.go index 2211390cc6..8f29b6a175 100644 --- a/sdk/go/google/ml/v1/getVersion.go +++ b/sdk/go/google/ml/v1/getVersion.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a model version. Models can have multiple versions. You can call projects.models.versions.list to get the same information that this method returns for all of the versions of a model. @@ -120,6 +121,12 @@ func (o LookupVersionResultOutput) ToLookupVersionResultOutputWithContext(ctx co return o } +func (o LookupVersionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVersionResult] { + return pulumix.Output[LookupVersionResult]{ + OutputState: o.OutputState, + } +} + // Optional. Accelerator config for using GPUs for online prediction (beta). Only specify this field if you have specified a Compute Engine (N1) machine type in the `machineType` field. Learn more about [using GPUs for online prediction](/ml-engine/docs/machine-types-online-prediction#gpus). func (o LookupVersionResultOutput) AcceleratorConfig() GoogleCloudMlV1__AcceleratorConfigResponseOutput { return o.ApplyT(func(v LookupVersionResult) GoogleCloudMlV1__AcceleratorConfigResponse { return v.AcceleratorConfig }).(GoogleCloudMlV1__AcceleratorConfigResponseOutput) diff --git a/sdk/go/google/ml/v1/job.go b/sdk/go/google/ml/v1/job.go index c34b62b9d8..1680c3cae3 100644 --- a/sdk/go/google/ml/v1/job.go +++ b/sdk/go/google/ml/v1/job.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a training or a batch prediction job. @@ -154,6 +155,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // When the job was created. func (o JobOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Job) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/ml/v1/jobIamBinding.go b/sdk/go/google/ml/v1/jobIamBinding.go index 6f42052d2b..dc83c2e6b3 100644 --- a/sdk/go/google/ml/v1/jobIamBinding.go +++ b/sdk/go/google/ml/v1/jobIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *JobIamBinding) ToJobIamBindingOutputWithContext(ctx context.Context) Jo return pulumi.ToOutputWithContext(ctx, i).(JobIamBindingOutput) } +func (i *JobIamBinding) ToOutput(ctx context.Context) pulumix.Output[*JobIamBinding] { + return pulumix.Output[*JobIamBinding]{ + OutputState: i.ToJobIamBindingOutputWithContext(ctx).OutputState, + } +} + type JobIamBindingOutput struct{ *pulumi.OutputState } func (JobIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o JobIamBindingOutput) ToJobIamBindingOutputWithContext(ctx context.Contex return o } +func (o JobIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*JobIamBinding] { + return pulumix.Output[*JobIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o JobIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *JobIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/ml/v1/jobIamMember.go b/sdk/go/google/ml/v1/jobIamMember.go index a1acdc1ad7..911e567425 100644 --- a/sdk/go/google/ml/v1/jobIamMember.go +++ b/sdk/go/google/ml/v1/jobIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *JobIamMember) ToJobIamMemberOutputWithContext(ctx context.Context) JobI return pulumi.ToOutputWithContext(ctx, i).(JobIamMemberOutput) } +func (i *JobIamMember) ToOutput(ctx context.Context) pulumix.Output[*JobIamMember] { + return pulumix.Output[*JobIamMember]{ + OutputState: i.ToJobIamMemberOutputWithContext(ctx).OutputState, + } +} + type JobIamMemberOutput struct{ *pulumi.OutputState } func (JobIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o JobIamMemberOutput) ToJobIamMemberOutputWithContext(ctx context.Context) return o } +func (o JobIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*JobIamMember] { + return pulumix.Output[*JobIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o JobIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *JobIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/ml/v1/jobIamPolicy.go b/sdk/go/google/ml/v1/jobIamPolicy.go index a9d8035c99..4b3a858256 100644 --- a/sdk/go/google/ml/v1/jobIamPolicy.go +++ b/sdk/go/google/ml/v1/jobIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -131,6 +132,12 @@ func (i *JobIamPolicy) ToJobIamPolicyOutputWithContext(ctx context.Context) JobI return pulumi.ToOutputWithContext(ctx, i).(JobIamPolicyOutput) } +func (i *JobIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*JobIamPolicy] { + return pulumix.Output[*JobIamPolicy]{ + OutputState: i.ToJobIamPolicyOutputWithContext(ctx).OutputState, + } +} + type JobIamPolicyOutput struct{ *pulumi.OutputState } func (JobIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o JobIamPolicyOutput) ToJobIamPolicyOutputWithContext(ctx context.Context) return o } +func (o JobIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*JobIamPolicy] { + return pulumix.Output[*JobIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o JobIamPolicyOutput) AuditConfigs() GoogleIamV1__AuditConfigResponseArrayOutput { return o.ApplyT(func(v *JobIamPolicy) GoogleIamV1__AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1__AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/ml/v1/model.go b/sdk/go/google/ml/v1/model.go index fc1e768fef..768a6a6f0d 100644 --- a/sdk/go/google/ml/v1/model.go +++ b/sdk/go/google/ml/v1/model.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a model which will later contain one or more versions. You must add at least one version before you can request predictions from the model. Add versions by calling projects.models.versions.create. @@ -137,6 +138,12 @@ func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput { return pulumi.ToOutputWithContext(ctx, i).(ModelOutput) } +func (i *Model) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: i.ToModelOutputWithContext(ctx).OutputState, + } +} + type ModelOutput struct{ *pulumi.OutputState } func (ModelOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput { return o } +func (o ModelOutput) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: o.OutputState, + } +} + // The default version of the model. This version will be used to handle prediction requests that do not specify a version. You can change the default version by calling projects.models.versions.setDefault. func (o ModelOutput) DefaultVersion() GoogleCloudMlV1__VersionResponseOutput { return o.ApplyT(func(v *Model) GoogleCloudMlV1__VersionResponseOutput { return v.DefaultVersion }).(GoogleCloudMlV1__VersionResponseOutput) diff --git a/sdk/go/google/ml/v1/modelIamBinding.go b/sdk/go/google/ml/v1/modelIamBinding.go index 486b262625..fe53478e31 100644 --- a/sdk/go/google/ml/v1/modelIamBinding.go +++ b/sdk/go/google/ml/v1/modelIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ModelIamBinding) ToModelIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ModelIamBindingOutput) } +func (i *ModelIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ModelIamBinding] { + return pulumix.Output[*ModelIamBinding]{ + OutputState: i.ToModelIamBindingOutputWithContext(ctx).OutputState, + } +} + type ModelIamBindingOutput struct{ *pulumi.OutputState } func (ModelIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ModelIamBindingOutput) ToModelIamBindingOutputWithContext(ctx context.Co return o } +func (o ModelIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelIamBinding] { + return pulumix.Output[*ModelIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ModelIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ModelIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/ml/v1/modelIamMember.go b/sdk/go/google/ml/v1/modelIamMember.go index 45db5065c8..95dc633825 100644 --- a/sdk/go/google/ml/v1/modelIamMember.go +++ b/sdk/go/google/ml/v1/modelIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ModelIamMember) ToModelIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ModelIamMemberOutput) } +func (i *ModelIamMember) ToOutput(ctx context.Context) pulumix.Output[*ModelIamMember] { + return pulumix.Output[*ModelIamMember]{ + OutputState: i.ToModelIamMemberOutputWithContext(ctx).OutputState, + } +} + type ModelIamMemberOutput struct{ *pulumi.OutputState } func (ModelIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ModelIamMemberOutput) ToModelIamMemberOutputWithContext(ctx context.Cont return o } +func (o ModelIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelIamMember] { + return pulumix.Output[*ModelIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ModelIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ModelIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/ml/v1/modelIamPolicy.go b/sdk/go/google/ml/v1/modelIamPolicy.go index c021680164..c3979c84ba 100644 --- a/sdk/go/google/ml/v1/modelIamPolicy.go +++ b/sdk/go/google/ml/v1/modelIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -131,6 +132,12 @@ func (i *ModelIamPolicy) ToModelIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ModelIamPolicyOutput) } +func (i *ModelIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ModelIamPolicy] { + return pulumix.Output[*ModelIamPolicy]{ + OutputState: i.ToModelIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ModelIamPolicyOutput struct{ *pulumi.OutputState } func (ModelIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ModelIamPolicyOutput) ToModelIamPolicyOutputWithContext(ctx context.Cont return o } +func (o ModelIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelIamPolicy] { + return pulumix.Output[*ModelIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ModelIamPolicyOutput) AuditConfigs() GoogleIamV1__AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ModelIamPolicy) GoogleIamV1__AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1__AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/ml/v1/pulumiEnums.go b/sdk/go/google/ml/v1/pulumiEnums.go index 4c6557b5f3..dfc5790882 100644 --- a/sdk/go/google/ml/v1/pulumiEnums.go +++ b/sdk/go/google/ml/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The optimization goal of the metric. @@ -82,6 +83,12 @@ func (o GoogleCloudMlV1_StudyConfig_MetricSpecGoalOutput) ToGoogleCloudMlV1_Stud }).(GoogleCloudMlV1_StudyConfig_MetricSpecGoalPtrOutput) } +func (o GoogleCloudMlV1_StudyConfig_MetricSpecGoalOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfig_MetricSpecGoal] { + return pulumix.Output[GoogleCloudMlV1_StudyConfig_MetricSpecGoal]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfig_MetricSpecGoalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o GoogleCloudMlV1_StudyConfig_MetricSpecGoalPtrOutput) ToGoogleCloudMlV1_S return o } +func (o GoogleCloudMlV1_StudyConfig_MetricSpecGoalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfig_MetricSpecGoal] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfig_MetricSpecGoal]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfig_MetricSpecGoalPtrOutput) Elem() GoogleCloudMlV1_StudyConfig_MetricSpecGoalOutput { return o.ApplyT(func(v *GoogleCloudMlV1_StudyConfig_MetricSpecGoal) GoogleCloudMlV1_StudyConfig_MetricSpecGoal { if v != nil { @@ -179,6 +192,12 @@ func (in *googleCloudMlV1_StudyConfig_MetricSpecGoalPtr) ToGoogleCloudMlV1_Study return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1_StudyConfig_MetricSpecGoalPtrOutput) } +func (in *googleCloudMlV1_StudyConfig_MetricSpecGoalPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfig_MetricSpecGoal] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfig_MetricSpecGoal]{ + OutputState: in.ToGoogleCloudMlV1_StudyConfig_MetricSpecGoalPtrOutputWithContext(ctx).OutputState, + } +} + // How the parameter should be scaled. Leave unset for categorical parameters. type GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType string @@ -253,6 +272,12 @@ func (o GoogleCloudMlV1_StudyConfig_ParameterSpecScaleTypeOutput) ToGoogleCloudM }).(GoogleCloudMlV1_StudyConfig_ParameterSpecScaleTypePtrOutput) } +func (o GoogleCloudMlV1_StudyConfig_ParameterSpecScaleTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType] { + return pulumix.Output[GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfig_ParameterSpecScaleTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o GoogleCloudMlV1_StudyConfig_ParameterSpecScaleTypePtrOutput) ToGoogleClo return o } +func (o GoogleCloudMlV1_StudyConfig_ParameterSpecScaleTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfig_ParameterSpecScaleTypePtrOutput) Elem() GoogleCloudMlV1_StudyConfig_ParameterSpecScaleTypeOutput { return o.ApplyT(func(v *GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType) GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType { if v != nil { @@ -350,6 +381,12 @@ func (in *googleCloudMlV1_StudyConfig_ParameterSpecScaleTypePtr) ToGoogleCloudMl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1_StudyConfig_ParameterSpecScaleTypePtrOutput) } +func (in *googleCloudMlV1_StudyConfig_ParameterSpecScaleTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfig_ParameterSpecScaleType]{ + OutputState: in.ToGoogleCloudMlV1_StudyConfig_ParameterSpecScaleTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of the parameter. type GoogleCloudMlV1_StudyConfig_ParameterSpecType string @@ -426,6 +463,12 @@ func (o GoogleCloudMlV1_StudyConfig_ParameterSpecTypeOutput) ToGoogleCloudMlV1_S }).(GoogleCloudMlV1_StudyConfig_ParameterSpecTypePtrOutput) } +func (o GoogleCloudMlV1_StudyConfig_ParameterSpecTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfig_ParameterSpecType] { + return pulumix.Output[GoogleCloudMlV1_StudyConfig_ParameterSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfig_ParameterSpecTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o GoogleCloudMlV1_StudyConfig_ParameterSpecTypePtrOutput) ToGoogleCloudMlV return o } +func (o GoogleCloudMlV1_StudyConfig_ParameterSpecTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfig_ParameterSpecType] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfig_ParameterSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfig_ParameterSpecTypePtrOutput) Elem() GoogleCloudMlV1_StudyConfig_ParameterSpecTypeOutput { return o.ApplyT(func(v *GoogleCloudMlV1_StudyConfig_ParameterSpecType) GoogleCloudMlV1_StudyConfig_ParameterSpecType { if v != nil { @@ -523,6 +572,12 @@ func (in *googleCloudMlV1_StudyConfig_ParameterSpecTypePtr) ToGoogleCloudMlV1_St return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1_StudyConfig_ParameterSpecTypePtrOutput) } +func (in *googleCloudMlV1_StudyConfig_ParameterSpecTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfig_ParameterSpecType] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfig_ParameterSpecType]{ + OutputState: in.ToGoogleCloudMlV1_StudyConfig_ParameterSpecTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of accelerator to use. type GoogleCloudMlV1__AcceleratorConfigType string @@ -613,6 +668,12 @@ func (o GoogleCloudMlV1__AcceleratorConfigTypeOutput) ToGoogleCloudMlV1__Acceler }).(GoogleCloudMlV1__AcceleratorConfigTypePtrOutput) } +func (o GoogleCloudMlV1__AcceleratorConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__AcceleratorConfigType] { + return pulumix.Output[GoogleCloudMlV1__AcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__AcceleratorConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -648,6 +709,12 @@ func (o GoogleCloudMlV1__AcceleratorConfigTypePtrOutput) ToGoogleCloudMlV1__Acce return o } +func (o GoogleCloudMlV1__AcceleratorConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__AcceleratorConfigType] { + return pulumix.Output[*GoogleCloudMlV1__AcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__AcceleratorConfigTypePtrOutput) Elem() GoogleCloudMlV1__AcceleratorConfigTypeOutput { return o.ApplyT(func(v *GoogleCloudMlV1__AcceleratorConfigType) GoogleCloudMlV1__AcceleratorConfigType { if v != nil { @@ -710,6 +777,12 @@ func (in *googleCloudMlV1__AcceleratorConfigTypePtr) ToGoogleCloudMlV1__Accelera return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1__AcceleratorConfigTypePtrOutput) } +func (in *googleCloudMlV1__AcceleratorConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__AcceleratorConfigType] { + return pulumix.Output[*GoogleCloudMlV1__AcceleratorConfigType]{ + OutputState: in.ToGoogleCloudMlV1__AcceleratorConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified. type GoogleCloudMlV1__HyperparameterSpecAlgorithm string @@ -782,6 +855,12 @@ func (o GoogleCloudMlV1__HyperparameterSpecAlgorithmOutput) ToGoogleCloudMlV1__H }).(GoogleCloudMlV1__HyperparameterSpecAlgorithmPtrOutput) } +func (o GoogleCloudMlV1__HyperparameterSpecAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__HyperparameterSpecAlgorithm] { + return pulumix.Output[GoogleCloudMlV1__HyperparameterSpecAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__HyperparameterSpecAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -817,6 +896,12 @@ func (o GoogleCloudMlV1__HyperparameterSpecAlgorithmPtrOutput) ToGoogleCloudMlV1 return o } +func (o GoogleCloudMlV1__HyperparameterSpecAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__HyperparameterSpecAlgorithm] { + return pulumix.Output[*GoogleCloudMlV1__HyperparameterSpecAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__HyperparameterSpecAlgorithmPtrOutput) Elem() GoogleCloudMlV1__HyperparameterSpecAlgorithmOutput { return o.ApplyT(func(v *GoogleCloudMlV1__HyperparameterSpecAlgorithm) GoogleCloudMlV1__HyperparameterSpecAlgorithm { if v != nil { @@ -879,6 +964,12 @@ func (in *googleCloudMlV1__HyperparameterSpecAlgorithmPtr) ToGoogleCloudMlV1__Hy return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1__HyperparameterSpecAlgorithmPtrOutput) } +func (in *googleCloudMlV1__HyperparameterSpecAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__HyperparameterSpecAlgorithm] { + return pulumix.Output[*GoogleCloudMlV1__HyperparameterSpecAlgorithm]{ + OutputState: in.ToGoogleCloudMlV1__HyperparameterSpecAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of goal to use for tuning. Available types are `MAXIMIZE` and `MINIMIZE`. Defaults to `MAXIMIZE`. type GoogleCloudMlV1__HyperparameterSpecGoal string @@ -951,6 +1042,12 @@ func (o GoogleCloudMlV1__HyperparameterSpecGoalOutput) ToGoogleCloudMlV1__Hyperp }).(GoogleCloudMlV1__HyperparameterSpecGoalPtrOutput) } +func (o GoogleCloudMlV1__HyperparameterSpecGoalOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__HyperparameterSpecGoal] { + return pulumix.Output[GoogleCloudMlV1__HyperparameterSpecGoal]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__HyperparameterSpecGoalOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -986,6 +1083,12 @@ func (o GoogleCloudMlV1__HyperparameterSpecGoalPtrOutput) ToGoogleCloudMlV1__Hyp return o } +func (o GoogleCloudMlV1__HyperparameterSpecGoalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__HyperparameterSpecGoal] { + return pulumix.Output[*GoogleCloudMlV1__HyperparameterSpecGoal]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__HyperparameterSpecGoalPtrOutput) Elem() GoogleCloudMlV1__HyperparameterSpecGoalOutput { return o.ApplyT(func(v *GoogleCloudMlV1__HyperparameterSpecGoal) GoogleCloudMlV1__HyperparameterSpecGoal { if v != nil { @@ -1048,6 +1151,12 @@ func (in *googleCloudMlV1__HyperparameterSpecGoalPtr) ToGoogleCloudMlV1__Hyperpa return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1__HyperparameterSpecGoalPtrOutput) } +func (in *googleCloudMlV1__HyperparameterSpecGoalPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__HyperparameterSpecGoal] { + return pulumix.Output[*GoogleCloudMlV1__HyperparameterSpecGoal]{ + OutputState: in.ToGoogleCloudMlV1__HyperparameterSpecGoalPtrOutputWithContext(ctx).OutputState, + } +} + // metric name. type GoogleCloudMlV1__MetricSpecName string @@ -1120,6 +1229,12 @@ func (o GoogleCloudMlV1__MetricSpecNameOutput) ToGoogleCloudMlV1__MetricSpecName }).(GoogleCloudMlV1__MetricSpecNamePtrOutput) } +func (o GoogleCloudMlV1__MetricSpecNameOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__MetricSpecName] { + return pulumix.Output[GoogleCloudMlV1__MetricSpecName]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__MetricSpecNameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1155,6 +1270,12 @@ func (o GoogleCloudMlV1__MetricSpecNamePtrOutput) ToGoogleCloudMlV1__MetricSpecN return o } +func (o GoogleCloudMlV1__MetricSpecNamePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__MetricSpecName] { + return pulumix.Output[*GoogleCloudMlV1__MetricSpecName]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__MetricSpecNamePtrOutput) Elem() GoogleCloudMlV1__MetricSpecNameOutput { return o.ApplyT(func(v *GoogleCloudMlV1__MetricSpecName) GoogleCloudMlV1__MetricSpecName { if v != nil { @@ -1217,6 +1338,12 @@ func (in *googleCloudMlV1__MetricSpecNamePtr) ToGoogleCloudMlV1__MetricSpecNameP return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1__MetricSpecNamePtrOutput) } +func (in *googleCloudMlV1__MetricSpecNamePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__MetricSpecName] { + return pulumix.Output[*GoogleCloudMlV1__MetricSpecName]{ + OutputState: in.ToGoogleCloudMlV1__MetricSpecNamePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. How the parameter should be scaled to the hypercube. Leave unset for categorical parameters. Some kind of scaling is strongly recommended for real or integral parameters (e.g., `UNIT_LINEAR_SCALE`). type GoogleCloudMlV1__ParameterSpecScaleType string @@ -1291,6 +1418,12 @@ func (o GoogleCloudMlV1__ParameterSpecScaleTypeOutput) ToGoogleCloudMlV1__Parame }).(GoogleCloudMlV1__ParameterSpecScaleTypePtrOutput) } +func (o GoogleCloudMlV1__ParameterSpecScaleTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ParameterSpecScaleType] { + return pulumix.Output[GoogleCloudMlV1__ParameterSpecScaleType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ParameterSpecScaleTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1326,6 +1459,12 @@ func (o GoogleCloudMlV1__ParameterSpecScaleTypePtrOutput) ToGoogleCloudMlV1__Par return o } +func (o GoogleCloudMlV1__ParameterSpecScaleTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ParameterSpecScaleType] { + return pulumix.Output[*GoogleCloudMlV1__ParameterSpecScaleType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ParameterSpecScaleTypePtrOutput) Elem() GoogleCloudMlV1__ParameterSpecScaleTypeOutput { return o.ApplyT(func(v *GoogleCloudMlV1__ParameterSpecScaleType) GoogleCloudMlV1__ParameterSpecScaleType { if v != nil { @@ -1388,6 +1527,12 @@ func (in *googleCloudMlV1__ParameterSpecScaleTypePtr) ToGoogleCloudMlV1__Paramet return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1__ParameterSpecScaleTypePtrOutput) } +func (in *googleCloudMlV1__ParameterSpecScaleTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ParameterSpecScaleType] { + return pulumix.Output[*GoogleCloudMlV1__ParameterSpecScaleType]{ + OutputState: in.ToGoogleCloudMlV1__ParameterSpecScaleTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of the parameter. type GoogleCloudMlV1__ParameterSpecType string @@ -1464,6 +1609,12 @@ func (o GoogleCloudMlV1__ParameterSpecTypeOutput) ToGoogleCloudMlV1__ParameterSp }).(GoogleCloudMlV1__ParameterSpecTypePtrOutput) } +func (o GoogleCloudMlV1__ParameterSpecTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ParameterSpecType] { + return pulumix.Output[GoogleCloudMlV1__ParameterSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ParameterSpecTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1499,6 +1650,12 @@ func (o GoogleCloudMlV1__ParameterSpecTypePtrOutput) ToGoogleCloudMlV1__Paramete return o } +func (o GoogleCloudMlV1__ParameterSpecTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ParameterSpecType] { + return pulumix.Output[*GoogleCloudMlV1__ParameterSpecType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ParameterSpecTypePtrOutput) Elem() GoogleCloudMlV1__ParameterSpecTypeOutput { return o.ApplyT(func(v *GoogleCloudMlV1__ParameterSpecType) GoogleCloudMlV1__ParameterSpecType { if v != nil { @@ -1561,6 +1718,12 @@ func (in *googleCloudMlV1__ParameterSpecTypePtr) ToGoogleCloudMlV1__ParameterSpe return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1__ParameterSpecTypePtrOutput) } +func (in *googleCloudMlV1__ParameterSpecTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ParameterSpecType] { + return pulumix.Output[*GoogleCloudMlV1__ParameterSpecType]{ + OutputState: in.ToGoogleCloudMlV1__ParameterSpecTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The format of the input data files. type GoogleCloudMlV1__PredictionInputDataFormat string @@ -1639,6 +1802,12 @@ func (o GoogleCloudMlV1__PredictionInputDataFormatOutput) ToGoogleCloudMlV1__Pre }).(GoogleCloudMlV1__PredictionInputDataFormatPtrOutput) } +func (o GoogleCloudMlV1__PredictionInputDataFormatOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__PredictionInputDataFormat] { + return pulumix.Output[GoogleCloudMlV1__PredictionInputDataFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__PredictionInputDataFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1674,6 +1843,12 @@ func (o GoogleCloudMlV1__PredictionInputDataFormatPtrOutput) ToGoogleCloudMlV1__ return o } +func (o GoogleCloudMlV1__PredictionInputDataFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__PredictionInputDataFormat] { + return pulumix.Output[*GoogleCloudMlV1__PredictionInputDataFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__PredictionInputDataFormatPtrOutput) Elem() GoogleCloudMlV1__PredictionInputDataFormatOutput { return o.ApplyT(func(v *GoogleCloudMlV1__PredictionInputDataFormat) GoogleCloudMlV1__PredictionInputDataFormat { if v != nil { @@ -1736,6 +1911,12 @@ func (in *googleCloudMlV1__PredictionInputDataFormatPtr) ToGoogleCloudMlV1__Pred return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1__PredictionInputDataFormatPtrOutput) } +func (in *googleCloudMlV1__PredictionInputDataFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__PredictionInputDataFormat] { + return pulumix.Output[*GoogleCloudMlV1__PredictionInputDataFormat]{ + OutputState: in.ToGoogleCloudMlV1__PredictionInputDataFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Format of the output data files, defaults to JSON. type GoogleCloudMlV1__PredictionInputOutputDataFormat string @@ -1814,6 +1995,12 @@ func (o GoogleCloudMlV1__PredictionInputOutputDataFormatOutput) ToGoogleCloudMlV }).(GoogleCloudMlV1__PredictionInputOutputDataFormatPtrOutput) } +func (o GoogleCloudMlV1__PredictionInputOutputDataFormatOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__PredictionInputOutputDataFormat] { + return pulumix.Output[GoogleCloudMlV1__PredictionInputOutputDataFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__PredictionInputOutputDataFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1849,6 +2036,12 @@ func (o GoogleCloudMlV1__PredictionInputOutputDataFormatPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudMlV1__PredictionInputOutputDataFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__PredictionInputOutputDataFormat] { + return pulumix.Output[*GoogleCloudMlV1__PredictionInputOutputDataFormat]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__PredictionInputOutputDataFormatPtrOutput) Elem() GoogleCloudMlV1__PredictionInputOutputDataFormatOutput { return o.ApplyT(func(v *GoogleCloudMlV1__PredictionInputOutputDataFormat) GoogleCloudMlV1__PredictionInputOutputDataFormat { if v != nil { @@ -1911,6 +2104,12 @@ func (in *googleCloudMlV1__PredictionInputOutputDataFormatPtr) ToGoogleCloudMlV1 return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1__PredictionInputOutputDataFormatPtrOutput) } +func (in *googleCloudMlV1__PredictionInputOutputDataFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__PredictionInputOutputDataFormat] { + return pulumix.Output[*GoogleCloudMlV1__PredictionInputOutputDataFormat]{ + OutputState: in.ToGoogleCloudMlV1__PredictionInputOutputDataFormatPtrOutputWithContext(ctx).OutputState, + } +} + // The search algorithm specified for the study. type GoogleCloudMlV1__StudyConfigAlgorithm string @@ -1985,6 +2184,12 @@ func (o GoogleCloudMlV1__StudyConfigAlgorithmOutput) ToGoogleCloudMlV1__StudyCon }).(GoogleCloudMlV1__StudyConfigAlgorithmPtrOutput) } +func (o GoogleCloudMlV1__StudyConfigAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__StudyConfigAlgorithm] { + return pulumix.Output[GoogleCloudMlV1__StudyConfigAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__StudyConfigAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2020,6 +2225,12 @@ func (o GoogleCloudMlV1__StudyConfigAlgorithmPtrOutput) ToGoogleCloudMlV1__Study return o } +func (o GoogleCloudMlV1__StudyConfigAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__StudyConfigAlgorithm] { + return pulumix.Output[*GoogleCloudMlV1__StudyConfigAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__StudyConfigAlgorithmPtrOutput) Elem() GoogleCloudMlV1__StudyConfigAlgorithmOutput { return o.ApplyT(func(v *GoogleCloudMlV1__StudyConfigAlgorithm) GoogleCloudMlV1__StudyConfigAlgorithm { if v != nil { @@ -2082,6 +2293,12 @@ func (in *googleCloudMlV1__StudyConfigAlgorithmPtr) ToGoogleCloudMlV1__StudyConf return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1__StudyConfigAlgorithmPtrOutput) } +func (in *googleCloudMlV1__StudyConfigAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__StudyConfigAlgorithm] { + return pulumix.Output[*GoogleCloudMlV1__StudyConfigAlgorithm]{ + OutputState: in.ToGoogleCloudMlV1__StudyConfigAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Specifies the machine types, the number of replicas for workers and parameter servers. type GoogleCloudMlV1__TrainingInputScaleTier string @@ -2160,6 +2377,12 @@ func (o GoogleCloudMlV1__TrainingInputScaleTierOutput) ToGoogleCloudMlV1__Traini }).(GoogleCloudMlV1__TrainingInputScaleTierPtrOutput) } +func (o GoogleCloudMlV1__TrainingInputScaleTierOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__TrainingInputScaleTier] { + return pulumix.Output[GoogleCloudMlV1__TrainingInputScaleTier]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__TrainingInputScaleTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2195,6 +2418,12 @@ func (o GoogleCloudMlV1__TrainingInputScaleTierPtrOutput) ToGoogleCloudMlV1__Tra return o } +func (o GoogleCloudMlV1__TrainingInputScaleTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__TrainingInputScaleTier] { + return pulumix.Output[*GoogleCloudMlV1__TrainingInputScaleTier]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__TrainingInputScaleTierPtrOutput) Elem() GoogleCloudMlV1__TrainingInputScaleTierOutput { return o.ApplyT(func(v *GoogleCloudMlV1__TrainingInputScaleTier) GoogleCloudMlV1__TrainingInputScaleTier { if v != nil { @@ -2257,6 +2486,12 @@ func (in *googleCloudMlV1__TrainingInputScaleTierPtr) ToGoogleCloudMlV1__Trainin return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudMlV1__TrainingInputScaleTierPtrOutput) } +func (in *googleCloudMlV1__TrainingInputScaleTierPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__TrainingInputScaleTier] { + return pulumix.Output[*GoogleCloudMlV1__TrainingInputScaleTier]{ + OutputState: in.ToGoogleCloudMlV1__TrainingInputScaleTierPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1__AuditLogConfigLogType string @@ -2331,6 +2566,12 @@ func (o GoogleIamV1__AuditLogConfigLogTypeOutput) ToGoogleIamV1__AuditLogConfigL }).(GoogleIamV1__AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1__AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1__AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1__AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1__AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2366,6 +2607,12 @@ func (o GoogleIamV1__AuditLogConfigLogTypePtrOutput) ToGoogleIamV1__AuditLogConf return o } +func (o GoogleIamV1__AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1__AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1__AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1__AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1__AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1__AuditLogConfigLogType) GoogleIamV1__AuditLogConfigLogType { if v != nil { @@ -2428,6 +2675,12 @@ func (in *googleIamV1__AuditLogConfigLogTypePtr) ToGoogleIamV1__AuditLogConfigLo return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1__AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1__AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1__AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1__AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1__AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The detailed state of a trial. type TrialStateEnum string @@ -2504,6 +2757,12 @@ func (o TrialStateEnumOutput) ToTrialStateEnumPtrOutputWithContext(ctx context.C }).(TrialStateEnumPtrOutput) } +func (o TrialStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[TrialStateEnum] { + return pulumix.Output[TrialStateEnum]{ + OutputState: o.OutputState, + } +} + func (o TrialStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2539,6 +2798,12 @@ func (o TrialStateEnumPtrOutput) ToTrialStateEnumPtrOutputWithContext(ctx contex return o } +func (o TrialStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TrialStateEnum] { + return pulumix.Output[*TrialStateEnum]{ + OutputState: o.OutputState, + } +} + func (o TrialStateEnumPtrOutput) Elem() TrialStateEnumOutput { return o.ApplyT(func(v *TrialStateEnum) TrialStateEnum { if v != nil { @@ -2601,6 +2866,12 @@ func (in *trialStateEnumPtr) ToTrialStateEnumPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(TrialStateEnumPtrOutput) } +func (in *trialStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*TrialStateEnum] { + return pulumix.Output[*TrialStateEnum]{ + OutputState: in.ToTrialStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The machine learning framework AI Platform uses to train this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`, `XGBOOST`. If you do not specify a framework, AI Platform will analyze files in the deployment_uri to determine a framework. If you choose `SCIKIT_LEARN` or `XGBOOST`, you must also set the runtime version of the model to 1.4 or greater. Do **not** specify a framework if you're deploying a [custom prediction routine](/ai-platform/prediction/docs/custom-prediction-routines) or if you're using a [custom container](/ai-platform/prediction/docs/use-custom-container). type VersionFramework string @@ -2675,6 +2946,12 @@ func (o VersionFrameworkOutput) ToVersionFrameworkPtrOutputWithContext(ctx conte }).(VersionFrameworkPtrOutput) } +func (o VersionFrameworkOutput) ToOutput(ctx context.Context) pulumix.Output[VersionFramework] { + return pulumix.Output[VersionFramework]{ + OutputState: o.OutputState, + } +} + func (o VersionFrameworkOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2710,6 +2987,12 @@ func (o VersionFrameworkPtrOutput) ToVersionFrameworkPtrOutputWithContext(ctx co return o } +func (o VersionFrameworkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VersionFramework] { + return pulumix.Output[*VersionFramework]{ + OutputState: o.OutputState, + } +} + func (o VersionFrameworkPtrOutput) Elem() VersionFrameworkOutput { return o.ApplyT(func(v *VersionFramework) VersionFramework { if v != nil { @@ -2772,6 +3055,12 @@ func (in *versionFrameworkPtr) ToVersionFrameworkPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(VersionFrameworkPtrOutput) } +func (in *versionFrameworkPtr) ToOutput(ctx context.Context) pulumix.Output[*VersionFramework] { + return pulumix.Output[*VersionFramework]{ + OutputState: in.ToVersionFrameworkPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudMlV1_StudyConfig_MetricSpecGoalInput)(nil)).Elem(), GoogleCloudMlV1_StudyConfig_MetricSpecGoal("GOAL_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudMlV1_StudyConfig_MetricSpecGoalPtrInput)(nil)).Elem(), GoogleCloudMlV1_StudyConfig_MetricSpecGoal("GOAL_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/ml/v1/pulumiTypes.go b/sdk/go/google/ml/v1/pulumiTypes.go index cf1b3de813..1e85c6b222 100644 --- a/sdk/go/google/ml/v1/pulumiTypes.go +++ b/sdk/go/google/ml/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -46,6 +47,12 @@ func (i GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigOutput) } +func (i GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig] { + return pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig]{ + OutputState: i.ToGoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigArgs) ToGoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigPtrOutput() GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigPtrOutput { return i.ToGoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigPtrOutputWithContext(context.Background()) } @@ -87,6 +94,12 @@ func (i *googleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigPtrOutput) } +func (i *googleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig] { + return pulumix.Output[*GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig]{ + OutputState: i.ToGoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigPtrOutputWithContext(ctx).OutputState, + } +} + type GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigOutput struct{ *pulumi.OutputState } func (GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigOutput) ElementType() reflect.Type { @@ -111,6 +124,12 @@ func (o GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfi }).(GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigPtrOutput) } +func (o GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig] { + return pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig]{ + OutputState: o.OutputState, + } +} + // If true, measurement.elapsed_time is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.steps will be used as the x-axis. func (o GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigOutput) UseElapsedTime() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig) *bool { @@ -132,6 +151,12 @@ func (o GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfi return o } +func (o GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig] { + return pulumix.Output[*GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigPtrOutput) Elem() GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigOutput { return o.ApplyT(func(v *GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig) GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig { if v != nil { @@ -171,6 +196,12 @@ func (o GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfi return o } +func (o GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigResponse] { + return pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigResponse]{ + OutputState: o.OutputState, + } +} + // If true, measurement.elapsed_time is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.steps will be used as the x-axis. func (o GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigResponseOutput) UseElapsedTime() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigResponse) bool { @@ -213,6 +244,12 @@ func (i GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigArg return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigOutput) } +func (i GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig] { + return pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig]{ + OutputState: i.ToGoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigArgs) ToGoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPtrOutput() GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPtrOutput { return i.ToGoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPtrOutputWithContext(context.Background()) } @@ -254,6 +291,12 @@ func (i *googleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPtrOutput) } +func (i *googleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig] { + return pulumix.Output[*GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig]{ + OutputState: i.ToGoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The median automated stopping rule stops a pending trial if the trial's best objective_value is strictly below the median 'performance' of all completed trials reported up to the trial's last measurement. Currently, 'performance' refers to the running average of the objective values reported by the trial in each measurement. type GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigOutput struct{ *pulumi.OutputState } @@ -279,6 +322,12 @@ func (o GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigOut }).(GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPtrOutput) } +func (o GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig] { + return pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig]{ + OutputState: o.OutputState, + } +} + // If true, the median automated stopping rule applies to measurement.use_elapsed_time, which means the elapsed_time field of the current trial's latest measurement is used to compute the median objective value for each completed trial. func (o GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigOutput) UseElapsedTime() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig) *bool { @@ -300,6 +349,12 @@ func (o GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPtr return o } +func (o GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig] { + return pulumix.Output[*GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigPtrOutput) Elem() GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigOutput { return o.ApplyT(func(v *GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig) GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig { if v != nil { @@ -341,6 +396,12 @@ func (o GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigRes return o } +func (o GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigResponse] { + return pulumix.Output[GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigResponse]{ + OutputState: o.OutputState, + } +} + // If true, the median automated stopping rule applies to measurement.use_elapsed_time, which means the elapsed_time field of the current trial's latest measurement is used to compute the median objective value for each completed trial. func (o GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigResponseOutput) UseElapsedTime() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfigResponse) bool { @@ -387,6 +448,12 @@ func (i GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricOutput) } +func (i GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric] { + return pulumix.Output[GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric]{ + OutputState: i.ToGoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArgs) ToGoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrOutput() GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrOutput { return i.ToGoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrOutputWithContext(context.Background()) } @@ -428,6 +495,12 @@ func (i *googleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrType) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrOutput) } +func (i *googleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric] { + return pulumix.Output[*GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric]{ + OutputState: i.ToGoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArrayInput is an input type that accepts GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArray and GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArrayInput` via: // @@ -453,6 +526,12 @@ func (i GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArray) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArrayOutput) } +func (i GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric] { + return pulumix.Output[[]GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric]{ + OutputState: i.ToGoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArrayOutputWithContext(ctx).OutputState, + } +} + // An observed value of a metric. type GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricOutput struct{ *pulumi.OutputState } @@ -478,6 +557,12 @@ func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricOutput) ToGoogl }).(GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrOutput) } +func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric] { + return pulumix.Output[GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric]{ + OutputState: o.OutputState, + } +} + // The objective value at this training step. func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricOutput) ObjectiveValue() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric) *float64 { return v.ObjectiveValue }).(pulumi.Float64PtrOutput) @@ -502,6 +587,12 @@ func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrOutput) ToGo return o } +func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric] { + return pulumix.Output[*GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricPtrOutput) Elem() GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricOutput { return o.ApplyT(func(v *GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric) GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric { if v != nil { @@ -546,6 +637,12 @@ func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArrayOutput) To return o } +func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric] { + return pulumix.Output[[]GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric { return vs[0].([]GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric)[vs[1].(int)] @@ -575,6 +672,12 @@ func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponseOutput) return o } +func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponse] { + return pulumix.Output[GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponse]{ + OutputState: o.OutputState, + } +} + // The objective value at this training step. func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponseOutput) ObjectiveValue() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponse) float64 { @@ -603,6 +706,12 @@ func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponseArrayOu return o } +func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponse] { + return pulumix.Output[[]GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponse { return vs[0].([]GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponse)[vs[1].(int)] @@ -648,6 +757,12 @@ func (i GoogleCloudMlV1_Measurement_MetricArgs) ToGoogleCloudMlV1_Measurement_Me return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_Measurement_MetricOutput) } +func (i GoogleCloudMlV1_Measurement_MetricArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_Measurement_Metric] { + return pulumix.Output[GoogleCloudMlV1_Measurement_Metric]{ + OutputState: i.ToGoogleCloudMlV1_Measurement_MetricOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1_Measurement_MetricArrayInput is an input type that accepts GoogleCloudMlV1_Measurement_MetricArray and GoogleCloudMlV1_Measurement_MetricArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1_Measurement_MetricArrayInput` via: // @@ -673,6 +788,12 @@ func (i GoogleCloudMlV1_Measurement_MetricArray) ToGoogleCloudMlV1_Measurement_M return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_Measurement_MetricArrayOutput) } +func (i GoogleCloudMlV1_Measurement_MetricArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_Measurement_Metric] { + return pulumix.Output[[]GoogleCloudMlV1_Measurement_Metric]{ + OutputState: i.ToGoogleCloudMlV1_Measurement_MetricArrayOutputWithContext(ctx).OutputState, + } +} + // A message representing a metric in the measurement. type GoogleCloudMlV1_Measurement_MetricOutput struct{ *pulumi.OutputState } @@ -688,6 +809,12 @@ func (o GoogleCloudMlV1_Measurement_MetricOutput) ToGoogleCloudMlV1_Measurement_ return o } +func (o GoogleCloudMlV1_Measurement_MetricOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_Measurement_Metric] { + return pulumix.Output[GoogleCloudMlV1_Measurement_Metric]{ + OutputState: o.OutputState, + } +} + // Metric name. func (o GoogleCloudMlV1_Measurement_MetricOutput) Metric() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1_Measurement_Metric) string { return v.Metric }).(pulumi.StringOutput) @@ -712,6 +839,12 @@ func (o GoogleCloudMlV1_Measurement_MetricArrayOutput) ToGoogleCloudMlV1_Measure return o } +func (o GoogleCloudMlV1_Measurement_MetricArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_Measurement_Metric] { + return pulumix.Output[[]GoogleCloudMlV1_Measurement_Metric]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_Measurement_MetricArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1_Measurement_MetricOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1_Measurement_Metric { return vs[0].([]GoogleCloudMlV1_Measurement_Metric)[vs[1].(int)] @@ -741,6 +874,12 @@ func (o GoogleCloudMlV1_Measurement_MetricResponseOutput) ToGoogleCloudMlV1_Meas return o } +func (o GoogleCloudMlV1_Measurement_MetricResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_Measurement_MetricResponse] { + return pulumix.Output[GoogleCloudMlV1_Measurement_MetricResponse]{ + OutputState: o.OutputState, + } +} + // Metric name. func (o GoogleCloudMlV1_Measurement_MetricResponseOutput) Metric() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1_Measurement_MetricResponse) string { return v.Metric }).(pulumi.StringOutput) @@ -765,6 +904,12 @@ func (o GoogleCloudMlV1_Measurement_MetricResponseArrayOutput) ToGoogleCloudMlV1 return o } +func (o GoogleCloudMlV1_Measurement_MetricResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_Measurement_MetricResponse] { + return pulumix.Output[[]GoogleCloudMlV1_Measurement_MetricResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_Measurement_MetricResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1_Measurement_MetricResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1_Measurement_MetricResponse { return vs[0].([]GoogleCloudMlV1_Measurement_MetricResponse)[vs[1].(int)] @@ -804,6 +949,12 @@ func (i GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecOutput) } +func (i GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecArgs) ToGoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrOutput() GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrOutput { return i.ToGoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrOutputWithContext(context.Background()) } @@ -845,6 +996,12 @@ func (i *googleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrType) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrOutput) } +func (i *googleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrOutputWithContext(ctx).OutputState, + } +} + type GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecOutput struct{ *pulumi.OutputState } func (GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecOutput) ElementType() reflect.Type { @@ -869,6 +1026,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecOutput) ToG }).(GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrOutput) } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec]{ + OutputState: o.OutputState, + } +} + // Must be specified if type is `CATEGORICAL`. The list of possible categories. func (o GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -888,6 +1051,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrOutput) return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrOutput) Elem() GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecOutput { return o.ApplyT(func(v *GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec) GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec { if v != nil { @@ -927,6 +1096,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecResponseOut return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecResponse] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecResponse]{ + OutputState: o.OutputState, + } +} + // Must be specified if type is `CATEGORICAL`. The list of possible categories. func (o GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecResponseOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecResponse) []string { @@ -967,6 +1142,12 @@ func (i GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecArgs) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecOutput) } +func (i GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecArgs) ToGoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrOutput() GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrOutput { return i.ToGoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrOutputWithContext(context.Background()) } @@ -1008,6 +1189,12 @@ func (i *googleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrType) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrOutput) } +func (i *googleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrOutputWithContext(ctx).OutputState, + } +} + type GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecOutput struct{ *pulumi.OutputState } func (GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecOutput) ElementType() reflect.Type { @@ -1032,6 +1219,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecOutput) ToGoog }).(GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrOutput) } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec]{ + OutputState: o.OutputState, + } +} + // Must be specified if type is `DISCRETE`. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. func (o GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecOutput) Values() pulumi.Float64ArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec) []float64 { return v.Values }).(pulumi.Float64ArrayOutput) @@ -1051,6 +1244,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrOutput) ToG return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecPtrOutput) Elem() GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecOutput { return o.ApplyT(func(v *GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec) GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpec { if v != nil { @@ -1090,6 +1289,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecResponseOutput return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecResponse] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecResponse]{ + OutputState: o.OutputState, + } +} + // Must be specified if type is `DISCRETE`. A list of feasible points. The list should be in strictly increasing order. For instance, this parameter might have possible settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000 values. func (o GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecResponseOutput) Values() pulumi.Float64ArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_DiscreteValueSpecResponse) []float64 { return v.Values }).(pulumi.Float64ArrayOutput) @@ -1132,6 +1337,12 @@ func (i GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecOutput) } +func (i GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecArgs) ToGoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrOutput() GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrOutput { return i.ToGoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrOutputWithContext(context.Background()) } @@ -1173,6 +1384,12 @@ func (i *googleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrOutput) } +func (i *googleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrOutputWithContext(ctx).OutputState, + } +} + type GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecOutput struct{ *pulumi.OutputState } func (GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecOutput) ElementType() reflect.Type { @@ -1197,6 +1414,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecOutput) ToGoogle }).(GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrOutput) } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec]{ + OutputState: o.OutputState, + } +} + // Must be specified if type is `DOUBLE`. Maximum value of the parameter. func (o GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecOutput) MaxValue() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec) *float64 { return v.MaxValue }).(pulumi.Float64PtrOutput) @@ -1221,6 +1444,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrOutput) ToGoo return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecPtrOutput) Elem() GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecOutput { return o.ApplyT(func(v *GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec) GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpec { if v != nil { @@ -1272,6 +1501,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecResponseOutput) return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecResponse] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecResponse]{ + OutputState: o.OutputState, + } +} + // Must be specified if type is `DOUBLE`. Maximum value of the parameter. func (o GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecResponseOutput) MaxValue() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_DoubleValueSpecResponse) float64 { return v.MaxValue }).(pulumi.Float64Output) @@ -1319,6 +1554,12 @@ func (i GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecOutput) } +func (i GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecArgs) ToGoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrOutput() GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrOutput { return i.ToGoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrOutputWithContext(context.Background()) } @@ -1360,6 +1601,12 @@ func (i *googleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrType) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrOutput) } +func (i *googleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrOutputWithContext(ctx).OutputState, + } +} + type GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecOutput struct{ *pulumi.OutputState } func (GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecOutput) ElementType() reflect.Type { @@ -1384,6 +1631,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecOutput) ToGoogl }).(GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrOutput) } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec]{ + OutputState: o.OutputState, + } +} + // Must be specified if type is `INTEGER`. Maximum value of the parameter. func (o GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecOutput) MaxValue() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec) *string { return v.MaxValue }).(pulumi.StringPtrOutput) @@ -1408,6 +1661,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrOutput) ToGo return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecPtrOutput) Elem() GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecOutput { return o.ApplyT(func(v *GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec) GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpec { if v != nil { @@ -1459,6 +1718,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecResponseOutput) return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecResponse] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecResponse]{ + OutputState: o.OutputState, + } +} + // Must be specified if type is `INTEGER`. Maximum value of the parameter. func (o GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecResponseOutput) MaxValue() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_IntegerValueSpecResponse) string { return v.MaxValue }).(pulumi.StringOutput) @@ -1504,6 +1769,12 @@ func (i GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueS return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecOutput) } +func (i GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecArgs) ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecPtrOutput() GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecPtrOutput { return i.ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecPtrOutputWithContext(context.Background()) } @@ -1545,6 +1816,12 @@ func (i *googleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValue return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecPtrOutput) } +func (i *googleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the spec to match categorical values from parent parameter. type GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecOutput struct{ *pulumi.OutputState } @@ -1570,6 +1847,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueS }).(GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecPtrOutput) } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec]{ + OutputState: o.OutputState, + } +} + // Matches values of the parent parameter with type 'CATEGORICAL'. All values must exist in `categorical_value_spec` of parent parameter. func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec) []string { @@ -1591,6 +1874,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueS return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecPtrOutput) Elem() GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecOutput { return o.ApplyT(func(v *GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec) GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpec { if v != nil { @@ -1632,6 +1921,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueS return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecResponse] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecResponse]{ + OutputState: o.OutputState, + } +} + // Matches values of the parent parameter with type 'CATEGORICAL'. All values must exist in `categorical_value_spec` of parent parameter. func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecResponseOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentCategoricalValueSpecResponse) []string { @@ -1674,6 +1969,12 @@ func (i GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecOutput) } +func (i GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecArgs) ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecPtrOutput() GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecPtrOutput { return i.ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecPtrOutputWithContext(context.Background()) } @@ -1715,6 +2016,12 @@ func (i *googleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecPtrOutput) } +func (i *googleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the spec to match discrete values from parent parameter. type GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecOutput struct{ *pulumi.OutputState } @@ -1740,6 +2047,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec }).(GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecPtrOutput) } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec]{ + OutputState: o.OutputState, + } +} + // Matches values of the parent parameter with type 'DISCRETE'. All values must exist in `discrete_value_spec` of parent parameter. func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecOutput) Values() pulumi.Float64ArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec) []float64 { @@ -1761,6 +2074,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecPtrOutput) Elem() GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecOutput { return o.ApplyT(func(v *GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec) GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec { if v != nil { @@ -1802,6 +2121,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpec return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecResponse] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecResponse]{ + OutputState: o.OutputState, + } +} + // Matches values of the parent parameter with type 'DISCRETE'. All values must exist in `discrete_value_spec` of parent parameter. func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecResponseOutput) Values() pulumi.Float64ArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentDiscreteValueSpecResponse) []float64 { @@ -1844,6 +2169,12 @@ func (i GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecOutput) } +func (i GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecArgs) ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrOutput() GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrOutput { return i.ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrOutputWithContext(context.Background()) } @@ -1885,6 +2216,12 @@ func (i *googleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrT return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrOutput) } +func (i *googleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the spec to match integer values from parent parameter. type GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecOutput struct{ *pulumi.OutputState } @@ -1910,6 +2247,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecOutpu }).(GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrOutput) } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec]{ + OutputState: o.OutputState, + } +} + // Matches values of the parent parameter with type 'INTEGER'. All values must lie in `integer_value_spec` of parent parameter. func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec) []string { return v.Values }).(pulumi.StringArrayOutput) @@ -1929,6 +2272,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrOu return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec] { + return pulumix.Output[*GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecPtrOutput) Elem() GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecOutput { return o.ApplyT(func(v *GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec) GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpec { if v != nil { @@ -1970,6 +2319,12 @@ func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecRespo return o } +func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecResponse] { + return pulumix.Output[GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecResponse]{ + OutputState: o.OutputState, + } +} + // Matches values of the parent parameter with type 'INTEGER'. All values must lie in `integer_value_spec` of parent parameter. func (o GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecResponseOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfigParameterSpec_MatchingParentIntValueSpecResponse) []string { @@ -2016,6 +2371,12 @@ func (i GoogleCloudMlV1_StudyConfig_MetricSpecArgs) ToGoogleCloudMlV1_StudyConfi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfig_MetricSpecOutput) } +func (i GoogleCloudMlV1_StudyConfig_MetricSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfig_MetricSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfig_MetricSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfig_MetricSpecOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1_StudyConfig_MetricSpecArrayInput is an input type that accepts GoogleCloudMlV1_StudyConfig_MetricSpecArray and GoogleCloudMlV1_StudyConfig_MetricSpecArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1_StudyConfig_MetricSpecArrayInput` via: // @@ -2041,6 +2402,12 @@ func (i GoogleCloudMlV1_StudyConfig_MetricSpecArray) ToGoogleCloudMlV1_StudyConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfig_MetricSpecArrayOutput) } +func (i GoogleCloudMlV1_StudyConfig_MetricSpecArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_StudyConfig_MetricSpec] { + return pulumix.Output[[]GoogleCloudMlV1_StudyConfig_MetricSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfig_MetricSpecArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a metric to optimize. type GoogleCloudMlV1_StudyConfig_MetricSpecOutput struct{ *pulumi.OutputState } @@ -2056,6 +2423,12 @@ func (o GoogleCloudMlV1_StudyConfig_MetricSpecOutput) ToGoogleCloudMlV1_StudyCon return o } +func (o GoogleCloudMlV1_StudyConfig_MetricSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfig_MetricSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfig_MetricSpec]{ + OutputState: o.OutputState, + } +} + // The optimization goal of the metric. func (o GoogleCloudMlV1_StudyConfig_MetricSpecOutput) Goal() GoogleCloudMlV1_StudyConfig_MetricSpecGoalOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfig_MetricSpec) GoogleCloudMlV1_StudyConfig_MetricSpecGoal { @@ -2082,6 +2455,12 @@ func (o GoogleCloudMlV1_StudyConfig_MetricSpecArrayOutput) ToGoogleCloudMlV1_Stu return o } +func (o GoogleCloudMlV1_StudyConfig_MetricSpecArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_StudyConfig_MetricSpec] { + return pulumix.Output[[]GoogleCloudMlV1_StudyConfig_MetricSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfig_MetricSpecArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1_StudyConfig_MetricSpecOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1_StudyConfig_MetricSpec { return vs[0].([]GoogleCloudMlV1_StudyConfig_MetricSpec)[vs[1].(int)] @@ -2111,6 +2490,12 @@ func (o GoogleCloudMlV1_StudyConfig_MetricSpecResponseOutput) ToGoogleCloudMlV1_ return o } +func (o GoogleCloudMlV1_StudyConfig_MetricSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfig_MetricSpecResponse] { + return pulumix.Output[GoogleCloudMlV1_StudyConfig_MetricSpecResponse]{ + OutputState: o.OutputState, + } +} + // The optimization goal of the metric. func (o GoogleCloudMlV1_StudyConfig_MetricSpecResponseOutput) Goal() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfig_MetricSpecResponse) string { return v.Goal }).(pulumi.StringOutput) @@ -2135,6 +2520,12 @@ func (o GoogleCloudMlV1_StudyConfig_MetricSpecResponseArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudMlV1_StudyConfig_MetricSpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_StudyConfig_MetricSpecResponse] { + return pulumix.Output[[]GoogleCloudMlV1_StudyConfig_MetricSpecResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfig_MetricSpecResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1_StudyConfig_MetricSpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1_StudyConfig_MetricSpecResponse { return vs[0].([]GoogleCloudMlV1_StudyConfig_MetricSpecResponse)[vs[1].(int)] @@ -2210,6 +2601,12 @@ func (i GoogleCloudMlV1_StudyConfig_ParameterSpecArgs) ToGoogleCloudMlV1_StudyCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfig_ParameterSpecOutput) } +func (i GoogleCloudMlV1_StudyConfig_ParameterSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfig_ParameterSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfig_ParameterSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfig_ParameterSpecOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1_StudyConfig_ParameterSpecArrayInput is an input type that accepts GoogleCloudMlV1_StudyConfig_ParameterSpecArray and GoogleCloudMlV1_StudyConfig_ParameterSpecArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1_StudyConfig_ParameterSpecArrayInput` via: // @@ -2235,6 +2632,12 @@ func (i GoogleCloudMlV1_StudyConfig_ParameterSpecArray) ToGoogleCloudMlV1_StudyC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_StudyConfig_ParameterSpecArrayOutput) } +func (i GoogleCloudMlV1_StudyConfig_ParameterSpecArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_StudyConfig_ParameterSpec] { + return pulumix.Output[[]GoogleCloudMlV1_StudyConfig_ParameterSpec]{ + OutputState: i.ToGoogleCloudMlV1_StudyConfig_ParameterSpecArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a single parameter to optimize. type GoogleCloudMlV1_StudyConfig_ParameterSpecOutput struct{ *pulumi.OutputState } @@ -2250,6 +2653,12 @@ func (o GoogleCloudMlV1_StudyConfig_ParameterSpecOutput) ToGoogleCloudMlV1_Study return o } +func (o GoogleCloudMlV1_StudyConfig_ParameterSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfig_ParameterSpec] { + return pulumix.Output[GoogleCloudMlV1_StudyConfig_ParameterSpec]{ + OutputState: o.OutputState, + } +} + // The value spec for a 'CATEGORICAL' parameter. func (o GoogleCloudMlV1_StudyConfig_ParameterSpecOutput) CategoricalValueSpec() GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfig_ParameterSpec) *GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpec { @@ -2336,6 +2745,12 @@ func (o GoogleCloudMlV1_StudyConfig_ParameterSpecArrayOutput) ToGoogleCloudMlV1_ return o } +func (o GoogleCloudMlV1_StudyConfig_ParameterSpecArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_StudyConfig_ParameterSpec] { + return pulumix.Output[[]GoogleCloudMlV1_StudyConfig_ParameterSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfig_ParameterSpecArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1_StudyConfig_ParameterSpecOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1_StudyConfig_ParameterSpec { return vs[0].([]GoogleCloudMlV1_StudyConfig_ParameterSpec)[vs[1].(int)] @@ -2380,6 +2795,12 @@ func (o GoogleCloudMlV1_StudyConfig_ParameterSpecResponseOutput) ToGoogleCloudMl return o } +func (o GoogleCloudMlV1_StudyConfig_ParameterSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_StudyConfig_ParameterSpecResponse] { + return pulumix.Output[GoogleCloudMlV1_StudyConfig_ParameterSpecResponse]{ + OutputState: o.OutputState, + } +} + // The value spec for a 'CATEGORICAL' parameter. func (o GoogleCloudMlV1_StudyConfig_ParameterSpecResponseOutput) CategoricalValueSpec() GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecResponseOutput { return o.ApplyT(func(v GoogleCloudMlV1_StudyConfig_ParameterSpecResponse) GoogleCloudMlV1_StudyConfigParameterSpec_CategoricalValueSpecResponse { @@ -2462,6 +2883,12 @@ func (o GoogleCloudMlV1_StudyConfig_ParameterSpecResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudMlV1_StudyConfig_ParameterSpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_StudyConfig_ParameterSpecResponse] { + return pulumix.Output[[]GoogleCloudMlV1_StudyConfig_ParameterSpecResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_StudyConfig_ParameterSpecResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1_StudyConfig_ParameterSpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1_StudyConfig_ParameterSpecResponse { return vs[0].([]GoogleCloudMlV1_StudyConfig_ParameterSpecResponse)[vs[1].(int)] @@ -2515,6 +2942,12 @@ func (i GoogleCloudMlV1_Trial_ParameterArgs) ToGoogleCloudMlV1_Trial_ParameterOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_Trial_ParameterOutput) } +func (i GoogleCloudMlV1_Trial_ParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_Trial_Parameter] { + return pulumix.Output[GoogleCloudMlV1_Trial_Parameter]{ + OutputState: i.ToGoogleCloudMlV1_Trial_ParameterOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1_Trial_ParameterArrayInput is an input type that accepts GoogleCloudMlV1_Trial_ParameterArray and GoogleCloudMlV1_Trial_ParameterArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1_Trial_ParameterArrayInput` via: // @@ -2540,6 +2973,12 @@ func (i GoogleCloudMlV1_Trial_ParameterArray) ToGoogleCloudMlV1_Trial_ParameterA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1_Trial_ParameterArrayOutput) } +func (i GoogleCloudMlV1_Trial_ParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_Trial_Parameter] { + return pulumix.Output[[]GoogleCloudMlV1_Trial_Parameter]{ + OutputState: i.ToGoogleCloudMlV1_Trial_ParameterArrayOutputWithContext(ctx).OutputState, + } +} + // A message representing a parameter to be tuned. Contains the name of the parameter and the suggested value to use for this trial. type GoogleCloudMlV1_Trial_ParameterOutput struct{ *pulumi.OutputState } @@ -2555,6 +2994,12 @@ func (o GoogleCloudMlV1_Trial_ParameterOutput) ToGoogleCloudMlV1_Trial_Parameter return o } +func (o GoogleCloudMlV1_Trial_ParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_Trial_Parameter] { + return pulumix.Output[GoogleCloudMlV1_Trial_Parameter]{ + OutputState: o.OutputState, + } +} + // Must be set if ParameterType is DOUBLE or DISCRETE. func (o GoogleCloudMlV1_Trial_ParameterOutput) FloatValue() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudMlV1_Trial_Parameter) *float64 { return v.FloatValue }).(pulumi.Float64PtrOutput) @@ -2589,6 +3034,12 @@ func (o GoogleCloudMlV1_Trial_ParameterArrayOutput) ToGoogleCloudMlV1_Trial_Para return o } +func (o GoogleCloudMlV1_Trial_ParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_Trial_Parameter] { + return pulumix.Output[[]GoogleCloudMlV1_Trial_Parameter]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_Trial_ParameterArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1_Trial_ParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1_Trial_Parameter { return vs[0].([]GoogleCloudMlV1_Trial_Parameter)[vs[1].(int)] @@ -2622,6 +3073,12 @@ func (o GoogleCloudMlV1_Trial_ParameterResponseOutput) ToGoogleCloudMlV1_Trial_P return o } +func (o GoogleCloudMlV1_Trial_ParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1_Trial_ParameterResponse] { + return pulumix.Output[GoogleCloudMlV1_Trial_ParameterResponse]{ + OutputState: o.OutputState, + } +} + // Must be set if ParameterType is DOUBLE or DISCRETE. func (o GoogleCloudMlV1_Trial_ParameterResponseOutput) FloatValue() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudMlV1_Trial_ParameterResponse) float64 { return v.FloatValue }).(pulumi.Float64Output) @@ -2656,6 +3113,12 @@ func (o GoogleCloudMlV1_Trial_ParameterResponseArrayOutput) ToGoogleCloudMlV1_Tr return o } +func (o GoogleCloudMlV1_Trial_ParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1_Trial_ParameterResponse] { + return pulumix.Output[[]GoogleCloudMlV1_Trial_ParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1_Trial_ParameterResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1_Trial_ParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1_Trial_ParameterResponse { return vs[0].([]GoogleCloudMlV1_Trial_ParameterResponse)[vs[1].(int)] @@ -2701,6 +3164,12 @@ func (i GoogleCloudMlV1__AcceleratorConfigArgs) ToGoogleCloudMlV1__AcceleratorCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__AcceleratorConfigOutput) } +func (i GoogleCloudMlV1__AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__AcceleratorConfig] { + return pulumix.Output[GoogleCloudMlV1__AcceleratorConfig]{ + OutputState: i.ToGoogleCloudMlV1__AcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__AcceleratorConfigArgs) ToGoogleCloudMlV1__AcceleratorConfigPtrOutput() GoogleCloudMlV1__AcceleratorConfigPtrOutput { return i.ToGoogleCloudMlV1__AcceleratorConfigPtrOutputWithContext(context.Background()) } @@ -2742,6 +3211,12 @@ func (i *googleCloudMlV1__AcceleratorConfigPtrType) ToGoogleCloudMlV1__Accelerat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__AcceleratorConfigPtrOutput) } +func (i *googleCloudMlV1__AcceleratorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__AcceleratorConfig] { + return pulumix.Output[*GoogleCloudMlV1__AcceleratorConfig]{ + OutputState: i.ToGoogleCloudMlV1__AcceleratorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a hardware accelerator request config. Note that the AcceleratorConfig can be used in both Jobs and Versions. Learn more about [accelerators for training](/ml-engine/docs/using-gpus) and [accelerators for online prediction](/ml-engine/docs/machine-types-online-prediction#gpus). type GoogleCloudMlV1__AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -2767,6 +3242,12 @@ func (o GoogleCloudMlV1__AcceleratorConfigOutput) ToGoogleCloudMlV1__Accelerator }).(GoogleCloudMlV1__AcceleratorConfigPtrOutput) } +func (o GoogleCloudMlV1__AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__AcceleratorConfig] { + return pulumix.Output[GoogleCloudMlV1__AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // The number of accelerators to attach to each machine running the job. func (o GoogleCloudMlV1__AcceleratorConfigOutput) Count() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__AcceleratorConfig) *string { return v.Count }).(pulumi.StringPtrOutput) @@ -2791,6 +3272,12 @@ func (o GoogleCloudMlV1__AcceleratorConfigPtrOutput) ToGoogleCloudMlV1__Accelera return o } +func (o GoogleCloudMlV1__AcceleratorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__AcceleratorConfig] { + return pulumix.Output[*GoogleCloudMlV1__AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__AcceleratorConfigPtrOutput) Elem() GoogleCloudMlV1__AcceleratorConfigOutput { return o.ApplyT(func(v *GoogleCloudMlV1__AcceleratorConfig) GoogleCloudMlV1__AcceleratorConfig { if v != nil { @@ -2844,6 +3331,12 @@ func (o GoogleCloudMlV1__AcceleratorConfigResponseOutput) ToGoogleCloudMlV1__Acc return o } +func (o GoogleCloudMlV1__AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__AcceleratorConfigResponse] { + return pulumix.Output[GoogleCloudMlV1__AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of accelerators to attach to each machine running the job. func (o GoogleCloudMlV1__AcceleratorConfigResponseOutput) Count() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__AcceleratorConfigResponse) string { return v.Count }).(pulumi.StringOutput) @@ -2897,6 +3390,12 @@ func (i GoogleCloudMlV1__AutoScalingArgs) ToGoogleCloudMlV1__AutoScalingOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__AutoScalingOutput) } +func (i GoogleCloudMlV1__AutoScalingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__AutoScaling] { + return pulumix.Output[GoogleCloudMlV1__AutoScaling]{ + OutputState: i.ToGoogleCloudMlV1__AutoScalingOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__AutoScalingArgs) ToGoogleCloudMlV1__AutoScalingPtrOutput() GoogleCloudMlV1__AutoScalingPtrOutput { return i.ToGoogleCloudMlV1__AutoScalingPtrOutputWithContext(context.Background()) } @@ -2938,6 +3437,12 @@ func (i *googleCloudMlV1__AutoScalingPtrType) ToGoogleCloudMlV1__AutoScalingPtrO return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__AutoScalingPtrOutput) } +func (i *googleCloudMlV1__AutoScalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__AutoScaling] { + return pulumix.Output[*GoogleCloudMlV1__AutoScaling]{ + OutputState: i.ToGoogleCloudMlV1__AutoScalingPtrOutputWithContext(ctx).OutputState, + } +} + // Options for automatically scaling a model. type GoogleCloudMlV1__AutoScalingOutput struct{ *pulumi.OutputState } @@ -2963,6 +3468,12 @@ func (o GoogleCloudMlV1__AutoScalingOutput) ToGoogleCloudMlV1__AutoScalingPtrOut }).(GoogleCloudMlV1__AutoScalingPtrOutput) } +func (o GoogleCloudMlV1__AutoScalingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__AutoScaling] { + return pulumix.Output[GoogleCloudMlV1__AutoScaling]{ + OutputState: o.OutputState, + } +} + // The maximum number of nodes to scale this model under load. The actual value will depend on resource quota and availability. func (o GoogleCloudMlV1__AutoScalingOutput) MaxNodes() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__AutoScaling) *int { return v.MaxNodes }).(pulumi.IntPtrOutput) @@ -2992,6 +3503,12 @@ func (o GoogleCloudMlV1__AutoScalingPtrOutput) ToGoogleCloudMlV1__AutoScalingPtr return o } +func (o GoogleCloudMlV1__AutoScalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__AutoScaling] { + return pulumix.Output[*GoogleCloudMlV1__AutoScaling]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__AutoScalingPtrOutput) Elem() GoogleCloudMlV1__AutoScalingOutput { return o.ApplyT(func(v *GoogleCloudMlV1__AutoScaling) GoogleCloudMlV1__AutoScaling { if v != nil { @@ -3057,6 +3574,12 @@ func (o GoogleCloudMlV1__AutoScalingResponseOutput) ToGoogleCloudMlV1__AutoScali return o } +func (o GoogleCloudMlV1__AutoScalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__AutoScalingResponse] { + return pulumix.Output[GoogleCloudMlV1__AutoScalingResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of nodes to scale this model under load. The actual value will depend on resource quota and availability. func (o GoogleCloudMlV1__AutoScalingResponseOutput) MaxNodes() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudMlV1__AutoScalingResponse) int { return v.MaxNodes }).(pulumi.IntOutput) @@ -3107,6 +3630,12 @@ func (i GoogleCloudMlV1__AutomatedStoppingConfigArgs) ToGoogleCloudMlV1__Automat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__AutomatedStoppingConfigOutput) } +func (i GoogleCloudMlV1__AutomatedStoppingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__AutomatedStoppingConfig] { + return pulumix.Output[GoogleCloudMlV1__AutomatedStoppingConfig]{ + OutputState: i.ToGoogleCloudMlV1__AutomatedStoppingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__AutomatedStoppingConfigArgs) ToGoogleCloudMlV1__AutomatedStoppingConfigPtrOutput() GoogleCloudMlV1__AutomatedStoppingConfigPtrOutput { return i.ToGoogleCloudMlV1__AutomatedStoppingConfigPtrOutputWithContext(context.Background()) } @@ -3148,6 +3677,12 @@ func (i *googleCloudMlV1__AutomatedStoppingConfigPtrType) ToGoogleCloudMlV1__Aut return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__AutomatedStoppingConfigPtrOutput) } +func (i *googleCloudMlV1__AutomatedStoppingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__AutomatedStoppingConfig] { + return pulumix.Output[*GoogleCloudMlV1__AutomatedStoppingConfig]{ + OutputState: i.ToGoogleCloudMlV1__AutomatedStoppingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for Automated Early Stopping of Trials. If no implementation_config is set, automated early stopping will not be run. type GoogleCloudMlV1__AutomatedStoppingConfigOutput struct{ *pulumi.OutputState } @@ -3173,6 +3708,12 @@ func (o GoogleCloudMlV1__AutomatedStoppingConfigOutput) ToGoogleCloudMlV1__Autom }).(GoogleCloudMlV1__AutomatedStoppingConfigPtrOutput) } +func (o GoogleCloudMlV1__AutomatedStoppingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__AutomatedStoppingConfig] { + return pulumix.Output[GoogleCloudMlV1__AutomatedStoppingConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__AutomatedStoppingConfigOutput) DecayCurveStoppingConfig() GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__AutomatedStoppingConfig) *GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig { return v.DecayCurveStoppingConfig @@ -3199,6 +3740,12 @@ func (o GoogleCloudMlV1__AutomatedStoppingConfigPtrOutput) ToGoogleCloudMlV1__Au return o } +func (o GoogleCloudMlV1__AutomatedStoppingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__AutomatedStoppingConfig] { + return pulumix.Output[*GoogleCloudMlV1__AutomatedStoppingConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__AutomatedStoppingConfigPtrOutput) Elem() GoogleCloudMlV1__AutomatedStoppingConfigOutput { return o.ApplyT(func(v *GoogleCloudMlV1__AutomatedStoppingConfig) GoogleCloudMlV1__AutomatedStoppingConfig { if v != nil { @@ -3248,6 +3795,12 @@ func (o GoogleCloudMlV1__AutomatedStoppingConfigResponseOutput) ToGoogleCloudMlV return o } +func (o GoogleCloudMlV1__AutomatedStoppingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__AutomatedStoppingConfigResponse] { + return pulumix.Output[GoogleCloudMlV1__AutomatedStoppingConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__AutomatedStoppingConfigResponseOutput) DecayCurveStoppingConfig() GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigResponseOutput { return o.ApplyT(func(v GoogleCloudMlV1__AutomatedStoppingConfigResponse) GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfigResponse { return v.DecayCurveStoppingConfig @@ -3307,6 +3860,12 @@ func (i GoogleCloudMlV1__BuiltInAlgorithmOutputArgs) ToGoogleCloudMlV1__BuiltInA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__BuiltInAlgorithmOutputOutput) } +func (i GoogleCloudMlV1__BuiltInAlgorithmOutputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__BuiltInAlgorithmOutput] { + return pulumix.Output[GoogleCloudMlV1__BuiltInAlgorithmOutput]{ + OutputState: i.ToGoogleCloudMlV1__BuiltInAlgorithmOutputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__BuiltInAlgorithmOutputArgs) ToGoogleCloudMlV1__BuiltInAlgorithmOutputPtrOutput() GoogleCloudMlV1__BuiltInAlgorithmOutputPtrOutput { return i.ToGoogleCloudMlV1__BuiltInAlgorithmOutputPtrOutputWithContext(context.Background()) } @@ -3348,6 +3907,12 @@ func (i *googleCloudMlV1__BuiltInAlgorithmOutputPtrType) ToGoogleCloudMlV1__Buil return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__BuiltInAlgorithmOutputPtrOutput) } +func (i *googleCloudMlV1__BuiltInAlgorithmOutputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__BuiltInAlgorithmOutput] { + return pulumix.Output[*GoogleCloudMlV1__BuiltInAlgorithmOutput]{ + OutputState: i.ToGoogleCloudMlV1__BuiltInAlgorithmOutputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents output related to a built-in algorithm Job. type GoogleCloudMlV1__BuiltInAlgorithmOutputOutput struct{ *pulumi.OutputState } @@ -3373,6 +3938,12 @@ func (o GoogleCloudMlV1__BuiltInAlgorithmOutputOutput) ToGoogleCloudMlV1__BuiltI }).(GoogleCloudMlV1__BuiltInAlgorithmOutputPtrOutput) } +func (o GoogleCloudMlV1__BuiltInAlgorithmOutputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__BuiltInAlgorithmOutput] { + return pulumix.Output[GoogleCloudMlV1__BuiltInAlgorithmOutput]{ + OutputState: o.OutputState, + } +} + // Framework on which the built-in algorithm was trained. func (o GoogleCloudMlV1__BuiltInAlgorithmOutputOutput) Framework() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__BuiltInAlgorithmOutput) *string { return v.Framework }).(pulumi.StringPtrOutput) @@ -3407,6 +3978,12 @@ func (o GoogleCloudMlV1__BuiltInAlgorithmOutputPtrOutput) ToGoogleCloudMlV1__Bui return o } +func (o GoogleCloudMlV1__BuiltInAlgorithmOutputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__BuiltInAlgorithmOutput] { + return pulumix.Output[*GoogleCloudMlV1__BuiltInAlgorithmOutput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__BuiltInAlgorithmOutputPtrOutput) Elem() GoogleCloudMlV1__BuiltInAlgorithmOutputOutput { return o.ApplyT(func(v *GoogleCloudMlV1__BuiltInAlgorithmOutput) GoogleCloudMlV1__BuiltInAlgorithmOutput { if v != nil { @@ -3484,6 +4061,12 @@ func (o GoogleCloudMlV1__BuiltInAlgorithmOutputResponseOutput) ToGoogleCloudMlV1 return o } +func (o GoogleCloudMlV1__BuiltInAlgorithmOutputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__BuiltInAlgorithmOutputResponse] { + return pulumix.Output[GoogleCloudMlV1__BuiltInAlgorithmOutputResponse]{ + OutputState: o.OutputState, + } +} + // Framework on which the built-in algorithm was trained. func (o GoogleCloudMlV1__BuiltInAlgorithmOutputResponseOutput) Framework() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__BuiltInAlgorithmOutputResponse) string { return v.Framework }).(pulumi.StringOutput) @@ -3539,6 +4122,12 @@ func (i GoogleCloudMlV1__ContainerPortArgs) ToGoogleCloudMlV1__ContainerPortOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ContainerPortOutput) } +func (i GoogleCloudMlV1__ContainerPortArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ContainerPort] { + return pulumix.Output[GoogleCloudMlV1__ContainerPort]{ + OutputState: i.ToGoogleCloudMlV1__ContainerPortOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1__ContainerPortArrayInput is an input type that accepts GoogleCloudMlV1__ContainerPortArray and GoogleCloudMlV1__ContainerPortArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1__ContainerPortArrayInput` via: // @@ -3564,6 +4153,12 @@ func (i GoogleCloudMlV1__ContainerPortArray) ToGoogleCloudMlV1__ContainerPortArr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ContainerPortArrayOutput) } +func (i GoogleCloudMlV1__ContainerPortArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__ContainerPort] { + return pulumix.Output[[]GoogleCloudMlV1__ContainerPort]{ + OutputState: i.ToGoogleCloudMlV1__ContainerPortArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a network port in a single container. This message is a subset of the [Kubernetes ContainerPort v1 core specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#containerport-v1-core). type GoogleCloudMlV1__ContainerPortOutput struct{ *pulumi.OutputState } @@ -3579,6 +4174,12 @@ func (o GoogleCloudMlV1__ContainerPortOutput) ToGoogleCloudMlV1__ContainerPortOu return o } +func (o GoogleCloudMlV1__ContainerPortOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ContainerPort] { + return pulumix.Output[GoogleCloudMlV1__ContainerPort]{ + OutputState: o.OutputState, + } +} + // Number of the port to expose on the container. This must be a valid port number: 0 < PORT_NUMBER < 65536. func (o GoogleCloudMlV1__ContainerPortOutput) ContainerPort() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__ContainerPort) *int { return v.ContainerPort }).(pulumi.IntPtrOutput) @@ -3598,6 +4199,12 @@ func (o GoogleCloudMlV1__ContainerPortArrayOutput) ToGoogleCloudMlV1__ContainerP return o } +func (o GoogleCloudMlV1__ContainerPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__ContainerPort] { + return pulumix.Output[[]GoogleCloudMlV1__ContainerPort]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ContainerPortArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__ContainerPortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__ContainerPort { return vs[0].([]GoogleCloudMlV1__ContainerPort)[vs[1].(int)] @@ -3625,6 +4232,12 @@ func (o GoogleCloudMlV1__ContainerPortResponseOutput) ToGoogleCloudMlV1__Contain return o } +func (o GoogleCloudMlV1__ContainerPortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ContainerPortResponse] { + return pulumix.Output[GoogleCloudMlV1__ContainerPortResponse]{ + OutputState: o.OutputState, + } +} + // Number of the port to expose on the container. This must be a valid port number: 0 < PORT_NUMBER < 65536. func (o GoogleCloudMlV1__ContainerPortResponseOutput) ContainerPort() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudMlV1__ContainerPortResponse) int { return v.ContainerPort }).(pulumi.IntOutput) @@ -3644,6 +4257,12 @@ func (o GoogleCloudMlV1__ContainerPortResponseArrayOutput) ToGoogleCloudMlV1__Co return o } +func (o GoogleCloudMlV1__ContainerPortResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__ContainerPortResponse] { + return pulumix.Output[[]GoogleCloudMlV1__ContainerPortResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ContainerPortResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__ContainerPortResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__ContainerPortResponse { return vs[0].([]GoogleCloudMlV1__ContainerPortResponse)[vs[1].(int)] @@ -3701,6 +4320,12 @@ func (i GoogleCloudMlV1__ContainerSpecArgs) ToGoogleCloudMlV1__ContainerSpecOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ContainerSpecOutput) } +func (i GoogleCloudMlV1__ContainerSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ContainerSpec] { + return pulumix.Output[GoogleCloudMlV1__ContainerSpec]{ + OutputState: i.ToGoogleCloudMlV1__ContainerSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__ContainerSpecArgs) ToGoogleCloudMlV1__ContainerSpecPtrOutput() GoogleCloudMlV1__ContainerSpecPtrOutput { return i.ToGoogleCloudMlV1__ContainerSpecPtrOutputWithContext(context.Background()) } @@ -3742,6 +4367,12 @@ func (i *googleCloudMlV1__ContainerSpecPtrType) ToGoogleCloudMlV1__ContainerSpec return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ContainerSpecPtrOutput) } +func (i *googleCloudMlV1__ContainerSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ContainerSpec] { + return pulumix.Output[*GoogleCloudMlV1__ContainerSpec]{ + OutputState: i.ToGoogleCloudMlV1__ContainerSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of a custom container for serving predictions. This message is a subset of the [Kubernetes Container v1 core specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). type GoogleCloudMlV1__ContainerSpecOutput struct{ *pulumi.OutputState } @@ -3767,6 +4398,12 @@ func (o GoogleCloudMlV1__ContainerSpecOutput) ToGoogleCloudMlV1__ContainerSpecPt }).(GoogleCloudMlV1__ContainerSpecPtrOutput) } +func (o GoogleCloudMlV1__ContainerSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ContainerSpec] { + return pulumix.Output[GoogleCloudMlV1__ContainerSpec]{ + OutputState: o.OutputState, + } +} + // Immutable. Specifies arguments for the command that runs when the container starts. This overrides the container's [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd). Specify this field as an array of executable and arguments, similar to a Docker `CMD`'s "default parameters" form. If you don't specify this field but do specify the command field, then the command from the `command` field runs without any additional arguments. See the [Kubernetes documentation about how the `command` and `args` fields interact with a container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes). If you don't specify this field and don't specify the `commmand` field, then the container's [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd) and `CMD` determine what runs based on their default behavior. See the [Docker documentation about how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). In this field, you can reference [environment variables set by AI Platform Prediction](/ai-platform/prediction/docs/custom-container-requirements#aip-variables) and environment variables set in the env field. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $( VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This field corresponds to the `args` field of the [Kubernetes Containers v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). func (o GoogleCloudMlV1__ContainerSpecOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1__ContainerSpec) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -3806,6 +4443,12 @@ func (o GoogleCloudMlV1__ContainerSpecPtrOutput) ToGoogleCloudMlV1__ContainerSpe return o } +func (o GoogleCloudMlV1__ContainerSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ContainerSpec] { + return pulumix.Output[*GoogleCloudMlV1__ContainerSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ContainerSpecPtrOutput) Elem() GoogleCloudMlV1__ContainerSpecOutput { return o.ApplyT(func(v *GoogleCloudMlV1__ContainerSpec) GoogleCloudMlV1__ContainerSpec { if v != nil { @@ -3895,6 +4538,12 @@ func (o GoogleCloudMlV1__ContainerSpecResponseOutput) ToGoogleCloudMlV1__Contain return o } +func (o GoogleCloudMlV1__ContainerSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ContainerSpecResponse] { + return pulumix.Output[GoogleCloudMlV1__ContainerSpecResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. Specifies arguments for the command that runs when the container starts. This overrides the container's [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd). Specify this field as an array of executable and arguments, similar to a Docker `CMD`'s "default parameters" form. If you don't specify this field but do specify the command field, then the command from the `command` field runs without any additional arguments. See the [Kubernetes documentation about how the `command` and `args` fields interact with a container's `ENTRYPOINT` and `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes). If you don't specify this field and don't specify the `commmand` field, then the container's [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd) and `CMD` determine what runs based on their default behavior. See the [Docker documentation about how `CMD` and `ENTRYPOINT` interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). In this field, you can reference [environment variables set by AI Platform Prediction](/ai-platform/prediction/docs/custom-container-requirements#aip-variables) and environment variables set in the env field. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $( VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with `$$`; for example: $$(VARIABLE_NAME) This field corresponds to the `args` field of the [Kubernetes Containers v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). func (o GoogleCloudMlV1__ContainerSpecResponseOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1__ContainerSpecResponse) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -3961,6 +4610,12 @@ func (i GoogleCloudMlV1__DiskConfigArgs) ToGoogleCloudMlV1__DiskConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__DiskConfigOutput) } +func (i GoogleCloudMlV1__DiskConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__DiskConfig] { + return pulumix.Output[GoogleCloudMlV1__DiskConfig]{ + OutputState: i.ToGoogleCloudMlV1__DiskConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__DiskConfigArgs) ToGoogleCloudMlV1__DiskConfigPtrOutput() GoogleCloudMlV1__DiskConfigPtrOutput { return i.ToGoogleCloudMlV1__DiskConfigPtrOutputWithContext(context.Background()) } @@ -4002,6 +4657,12 @@ func (i *googleCloudMlV1__DiskConfigPtrType) ToGoogleCloudMlV1__DiskConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__DiskConfigPtrOutput) } +func (i *googleCloudMlV1__DiskConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__DiskConfig] { + return pulumix.Output[*GoogleCloudMlV1__DiskConfig]{ + OutputState: i.ToGoogleCloudMlV1__DiskConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the config of disk options. type GoogleCloudMlV1__DiskConfigOutput struct{ *pulumi.OutputState } @@ -4027,6 +4688,12 @@ func (o GoogleCloudMlV1__DiskConfigOutput) ToGoogleCloudMlV1__DiskConfigPtrOutpu }).(GoogleCloudMlV1__DiskConfigPtrOutput) } +func (o GoogleCloudMlV1__DiskConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__DiskConfig] { + return pulumix.Output[GoogleCloudMlV1__DiskConfig]{ + OutputState: o.OutputState, + } +} + // Size in GB of the boot disk (default is 100GB). func (o GoogleCloudMlV1__DiskConfigOutput) BootDiskSizeGb() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__DiskConfig) *int { return v.BootDiskSizeGb }).(pulumi.IntPtrOutput) @@ -4051,6 +4718,12 @@ func (o GoogleCloudMlV1__DiskConfigPtrOutput) ToGoogleCloudMlV1__DiskConfigPtrOu return o } +func (o GoogleCloudMlV1__DiskConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__DiskConfig] { + return pulumix.Output[*GoogleCloudMlV1__DiskConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__DiskConfigPtrOutput) Elem() GoogleCloudMlV1__DiskConfigOutput { return o.ApplyT(func(v *GoogleCloudMlV1__DiskConfig) GoogleCloudMlV1__DiskConfig { if v != nil { @@ -4104,6 +4777,12 @@ func (o GoogleCloudMlV1__DiskConfigResponseOutput) ToGoogleCloudMlV1__DiskConfig return o } +func (o GoogleCloudMlV1__DiskConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__DiskConfigResponse] { + return pulumix.Output[GoogleCloudMlV1__DiskConfigResponse]{ + OutputState: o.OutputState, + } +} + // Size in GB of the boot disk (default is 100GB). func (o GoogleCloudMlV1__DiskConfigResponseOutput) BootDiskSizeGb() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudMlV1__DiskConfigResponse) int { return v.BootDiskSizeGb }).(pulumi.IntOutput) @@ -4149,6 +4828,12 @@ func (i GoogleCloudMlV1__EncryptionConfigArgs) ToGoogleCloudMlV1__EncryptionConf return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__EncryptionConfigOutput) } +func (i GoogleCloudMlV1__EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__EncryptionConfig] { + return pulumix.Output[GoogleCloudMlV1__EncryptionConfig]{ + OutputState: i.ToGoogleCloudMlV1__EncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__EncryptionConfigArgs) ToGoogleCloudMlV1__EncryptionConfigPtrOutput() GoogleCloudMlV1__EncryptionConfigPtrOutput { return i.ToGoogleCloudMlV1__EncryptionConfigPtrOutputWithContext(context.Background()) } @@ -4190,6 +4875,12 @@ func (i *googleCloudMlV1__EncryptionConfigPtrType) ToGoogleCloudMlV1__Encryption return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__EncryptionConfigPtrOutput) } +func (i *googleCloudMlV1__EncryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__EncryptionConfig] { + return pulumix.Output[*GoogleCloudMlV1__EncryptionConfig]{ + OutputState: i.ToGoogleCloudMlV1__EncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a custom encryption key configuration that can be applied to a resource. type GoogleCloudMlV1__EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -4215,6 +4906,12 @@ func (o GoogleCloudMlV1__EncryptionConfigOutput) ToGoogleCloudMlV1__EncryptionCo }).(GoogleCloudMlV1__EncryptionConfigPtrOutput) } +func (o GoogleCloudMlV1__EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__EncryptionConfig] { + return pulumix.Output[GoogleCloudMlV1__EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}` func (o GoogleCloudMlV1__EncryptionConfigOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__EncryptionConfig) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -4234,6 +4931,12 @@ func (o GoogleCloudMlV1__EncryptionConfigPtrOutput) ToGoogleCloudMlV1__Encryptio return o } +func (o GoogleCloudMlV1__EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__EncryptionConfig] { + return pulumix.Output[*GoogleCloudMlV1__EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__EncryptionConfigPtrOutput) Elem() GoogleCloudMlV1__EncryptionConfigOutput { return o.ApplyT(func(v *GoogleCloudMlV1__EncryptionConfig) GoogleCloudMlV1__EncryptionConfig { if v != nil { @@ -4275,6 +4978,12 @@ func (o GoogleCloudMlV1__EncryptionConfigResponseOutput) ToGoogleCloudMlV1__Encr return o } +func (o GoogleCloudMlV1__EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__EncryptionConfigResponse] { + return pulumix.Output[GoogleCloudMlV1__EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a training job. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}` func (o GoogleCloudMlV1__EncryptionConfigResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__EncryptionConfigResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -4319,6 +5028,12 @@ func (i GoogleCloudMlV1__EnvVarArgs) ToGoogleCloudMlV1__EnvVarOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__EnvVarOutput) } +func (i GoogleCloudMlV1__EnvVarArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__EnvVar] { + return pulumix.Output[GoogleCloudMlV1__EnvVar]{ + OutputState: i.ToGoogleCloudMlV1__EnvVarOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1__EnvVarArrayInput is an input type that accepts GoogleCloudMlV1__EnvVarArray and GoogleCloudMlV1__EnvVarArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1__EnvVarArrayInput` via: // @@ -4344,6 +5059,12 @@ func (i GoogleCloudMlV1__EnvVarArray) ToGoogleCloudMlV1__EnvVarArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__EnvVarArrayOutput) } +func (i GoogleCloudMlV1__EnvVarArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__EnvVar] { + return pulumix.Output[[]GoogleCloudMlV1__EnvVar]{ + OutputState: i.ToGoogleCloudMlV1__EnvVarArrayOutputWithContext(ctx).OutputState, + } +} + // Represents an environment variable to be made available in a container. This message is a subset of the [Kubernetes EnvVar v1 core specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#envvar-v1-core). type GoogleCloudMlV1__EnvVarOutput struct{ *pulumi.OutputState } @@ -4359,6 +5080,12 @@ func (o GoogleCloudMlV1__EnvVarOutput) ToGoogleCloudMlV1__EnvVarOutputWithContex return o } +func (o GoogleCloudMlV1__EnvVarOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__EnvVar] { + return pulumix.Output[GoogleCloudMlV1__EnvVar]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. Must be a [valid C identifier](https://github.com/kubernetes/kubernetes/blob/v1.18.8/staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go#L258) and must not begin with the prefix `AIP_`. func (o GoogleCloudMlV1__EnvVarOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__EnvVar) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -4383,6 +5110,12 @@ func (o GoogleCloudMlV1__EnvVarArrayOutput) ToGoogleCloudMlV1__EnvVarArrayOutput return o } +func (o GoogleCloudMlV1__EnvVarArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__EnvVar] { + return pulumix.Output[[]GoogleCloudMlV1__EnvVar]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__EnvVarArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__EnvVarOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__EnvVar { return vs[0].([]GoogleCloudMlV1__EnvVar)[vs[1].(int)] @@ -4412,6 +5145,12 @@ func (o GoogleCloudMlV1__EnvVarResponseOutput) ToGoogleCloudMlV1__EnvVarResponse return o } +func (o GoogleCloudMlV1__EnvVarResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__EnvVarResponse] { + return pulumix.Output[GoogleCloudMlV1__EnvVarResponse]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. Must be a [valid C identifier](https://github.com/kubernetes/kubernetes/blob/v1.18.8/staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go#L258) and must not begin with the prefix `AIP_`. func (o GoogleCloudMlV1__EnvVarResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__EnvVarResponse) string { return v.Name }).(pulumi.StringOutput) @@ -4436,6 +5175,12 @@ func (o GoogleCloudMlV1__EnvVarResponseArrayOutput) ToGoogleCloudMlV1__EnvVarRes return o } +func (o GoogleCloudMlV1__EnvVarResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__EnvVarResponse] { + return pulumix.Output[[]GoogleCloudMlV1__EnvVarResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__EnvVarResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__EnvVarResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__EnvVarResponse { return vs[0].([]GoogleCloudMlV1__EnvVarResponse)[vs[1].(int)] @@ -4485,6 +5230,12 @@ func (i GoogleCloudMlV1__ExplanationConfigArgs) ToGoogleCloudMlV1__ExplanationCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ExplanationConfigOutput) } +func (i GoogleCloudMlV1__ExplanationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ExplanationConfig] { + return pulumix.Output[GoogleCloudMlV1__ExplanationConfig]{ + OutputState: i.ToGoogleCloudMlV1__ExplanationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__ExplanationConfigArgs) ToGoogleCloudMlV1__ExplanationConfigPtrOutput() GoogleCloudMlV1__ExplanationConfigPtrOutput { return i.ToGoogleCloudMlV1__ExplanationConfigPtrOutputWithContext(context.Background()) } @@ -4526,6 +5277,12 @@ func (i *googleCloudMlV1__ExplanationConfigPtrType) ToGoogleCloudMlV1__Explanati return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ExplanationConfigPtrOutput) } +func (i *googleCloudMlV1__ExplanationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ExplanationConfig] { + return pulumix.Output[*GoogleCloudMlV1__ExplanationConfig]{ + OutputState: i.ToGoogleCloudMlV1__ExplanationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Message holding configuration options for explaining model predictions. There are three feature attribution methods supported for TensorFlow models: integrated gradients, sampled Shapley, and XRAI. [Learn more about feature attributions.](/ai-platform/prediction/docs/ai-explanations/overview) type GoogleCloudMlV1__ExplanationConfigOutput struct{ *pulumi.OutputState } @@ -4551,6 +5308,12 @@ func (o GoogleCloudMlV1__ExplanationConfigOutput) ToGoogleCloudMlV1__Explanation }).(GoogleCloudMlV1__ExplanationConfigPtrOutput) } +func (o GoogleCloudMlV1__ExplanationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ExplanationConfig] { + return pulumix.Output[GoogleCloudMlV1__ExplanationConfig]{ + OutputState: o.OutputState, + } +} + // Attributes credit by computing the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365 func (o GoogleCloudMlV1__ExplanationConfigOutput) IntegratedGradientsAttribution() GoogleCloudMlV1__IntegratedGradientsAttributionPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__ExplanationConfig) *GoogleCloudMlV1__IntegratedGradientsAttribution { @@ -4584,6 +5347,12 @@ func (o GoogleCloudMlV1__ExplanationConfigPtrOutput) ToGoogleCloudMlV1__Explanat return o } +func (o GoogleCloudMlV1__ExplanationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ExplanationConfig] { + return pulumix.Output[*GoogleCloudMlV1__ExplanationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ExplanationConfigPtrOutput) Elem() GoogleCloudMlV1__ExplanationConfigOutput { return o.ApplyT(func(v *GoogleCloudMlV1__ExplanationConfig) GoogleCloudMlV1__ExplanationConfig { if v != nil { @@ -4649,6 +5418,12 @@ func (o GoogleCloudMlV1__ExplanationConfigResponseOutput) ToGoogleCloudMlV1__Exp return o } +func (o GoogleCloudMlV1__ExplanationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ExplanationConfigResponse] { + return pulumix.Output[GoogleCloudMlV1__ExplanationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Attributes credit by computing the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365 func (o GoogleCloudMlV1__ExplanationConfigResponseOutput) IntegratedGradientsAttribution() GoogleCloudMlV1__IntegratedGradientsAttributionResponseOutput { return o.ApplyT(func(v GoogleCloudMlV1__ExplanationConfigResponse) GoogleCloudMlV1__IntegratedGradientsAttributionResponse { @@ -4729,6 +5504,12 @@ func (i GoogleCloudMlV1__HyperparameterOutputArgs) ToGoogleCloudMlV1__Hyperparam return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__HyperparameterOutputOutput) } +func (i GoogleCloudMlV1__HyperparameterOutputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__HyperparameterOutput] { + return pulumix.Output[GoogleCloudMlV1__HyperparameterOutput]{ + OutputState: i.ToGoogleCloudMlV1__HyperparameterOutputOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1__HyperparameterOutputArrayInput is an input type that accepts GoogleCloudMlV1__HyperparameterOutputArray and GoogleCloudMlV1__HyperparameterOutputArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1__HyperparameterOutputArrayInput` via: // @@ -4754,6 +5535,12 @@ func (i GoogleCloudMlV1__HyperparameterOutputArray) ToGoogleCloudMlV1__Hyperpara return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__HyperparameterOutputArrayOutput) } +func (i GoogleCloudMlV1__HyperparameterOutputArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__HyperparameterOutput] { + return pulumix.Output[[]GoogleCloudMlV1__HyperparameterOutput]{ + OutputState: i.ToGoogleCloudMlV1__HyperparameterOutputArrayOutputWithContext(ctx).OutputState, + } +} + // Represents the result of a single hyperparameter tuning trial from a training job. The TrainingOutput object that is returned on successful completion of a training job with hyperparameter tuning includes a list of HyperparameterOutput objects, one for each successful trial. type GoogleCloudMlV1__HyperparameterOutputOutput struct{ *pulumi.OutputState } @@ -4769,6 +5556,12 @@ func (o GoogleCloudMlV1__HyperparameterOutputOutput) ToGoogleCloudMlV1__Hyperpar return o } +func (o GoogleCloudMlV1__HyperparameterOutputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__HyperparameterOutput] { + return pulumix.Output[GoogleCloudMlV1__HyperparameterOutput]{ + OutputState: o.OutputState, + } +} + // All recorded object metrics for this trial. This field is not currently populated. func (o GoogleCloudMlV1__HyperparameterOutputOutput) AllMetrics() GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1__HyperparameterOutput) []GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric { @@ -4824,6 +5617,12 @@ func (o GoogleCloudMlV1__HyperparameterOutputArrayOutput) ToGoogleCloudMlV1__Hyp return o } +func (o GoogleCloudMlV1__HyperparameterOutputArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__HyperparameterOutput] { + return pulumix.Output[[]GoogleCloudMlV1__HyperparameterOutput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__HyperparameterOutputArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__HyperparameterOutputOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__HyperparameterOutput { return vs[0].([]GoogleCloudMlV1__HyperparameterOutput)[vs[1].(int)] @@ -4869,6 +5668,12 @@ func (o GoogleCloudMlV1__HyperparameterOutputResponseOutput) ToGoogleCloudMlV1__ return o } +func (o GoogleCloudMlV1__HyperparameterOutputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__HyperparameterOutputResponse] { + return pulumix.Output[GoogleCloudMlV1__HyperparameterOutputResponse]{ + OutputState: o.OutputState, + } +} + // All recorded object metrics for this trial. This field is not currently populated. func (o GoogleCloudMlV1__HyperparameterOutputResponseOutput) AllMetrics() GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponseArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1__HyperparameterOutputResponse) []GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetricResponse { @@ -4939,6 +5744,12 @@ func (o GoogleCloudMlV1__HyperparameterOutputResponseArrayOutput) ToGoogleCloudM return o } +func (o GoogleCloudMlV1__HyperparameterOutputResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__HyperparameterOutputResponse] { + return pulumix.Output[[]GoogleCloudMlV1__HyperparameterOutputResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__HyperparameterOutputResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__HyperparameterOutputResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__HyperparameterOutputResponse { return vs[0].([]GoogleCloudMlV1__HyperparameterOutputResponse)[vs[1].(int)] @@ -5012,6 +5823,12 @@ func (i GoogleCloudMlV1__HyperparameterSpecArgs) ToGoogleCloudMlV1__Hyperparamet return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__HyperparameterSpecOutput) } +func (i GoogleCloudMlV1__HyperparameterSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__HyperparameterSpec] { + return pulumix.Output[GoogleCloudMlV1__HyperparameterSpec]{ + OutputState: i.ToGoogleCloudMlV1__HyperparameterSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__HyperparameterSpecArgs) ToGoogleCloudMlV1__HyperparameterSpecPtrOutput() GoogleCloudMlV1__HyperparameterSpecPtrOutput { return i.ToGoogleCloudMlV1__HyperparameterSpecPtrOutputWithContext(context.Background()) } @@ -5053,6 +5870,12 @@ func (i *googleCloudMlV1__HyperparameterSpecPtrType) ToGoogleCloudMlV1__Hyperpar return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__HyperparameterSpecPtrOutput) } +func (i *googleCloudMlV1__HyperparameterSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__HyperparameterSpec] { + return pulumix.Output[*GoogleCloudMlV1__HyperparameterSpec]{ + OutputState: i.ToGoogleCloudMlV1__HyperparameterSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a set of hyperparameters to optimize. type GoogleCloudMlV1__HyperparameterSpecOutput struct{ *pulumi.OutputState } @@ -5078,6 +5901,12 @@ func (o GoogleCloudMlV1__HyperparameterSpecOutput) ToGoogleCloudMlV1__Hyperparam }).(GoogleCloudMlV1__HyperparameterSpecPtrOutput) } +func (o GoogleCloudMlV1__HyperparameterSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__HyperparameterSpec] { + return pulumix.Output[GoogleCloudMlV1__HyperparameterSpec]{ + OutputState: o.OutputState, + } +} + // Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified. func (o GoogleCloudMlV1__HyperparameterSpecOutput) Algorithm() GoogleCloudMlV1__HyperparameterSpecAlgorithmPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__HyperparameterSpec) *GoogleCloudMlV1__HyperparameterSpecAlgorithm { @@ -5139,6 +5968,12 @@ func (o GoogleCloudMlV1__HyperparameterSpecPtrOutput) ToGoogleCloudMlV1__Hyperpa return o } +func (o GoogleCloudMlV1__HyperparameterSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__HyperparameterSpec] { + return pulumix.Output[*GoogleCloudMlV1__HyperparameterSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__HyperparameterSpecPtrOutput) Elem() GoogleCloudMlV1__HyperparameterSpecOutput { return o.ApplyT(func(v *GoogleCloudMlV1__HyperparameterSpec) GoogleCloudMlV1__HyperparameterSpec { if v != nil { @@ -5276,6 +6111,12 @@ func (o GoogleCloudMlV1__HyperparameterSpecResponseOutput) ToGoogleCloudMlV1__Hy return o } +func (o GoogleCloudMlV1__HyperparameterSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__HyperparameterSpecResponse] { + return pulumix.Output[GoogleCloudMlV1__HyperparameterSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The search algorithm specified for the hyperparameter tuning job. Uses the default AI Platform hyperparameter tuning algorithm if unspecified. func (o GoogleCloudMlV1__HyperparameterSpecResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__HyperparameterSpecResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -5358,6 +6199,12 @@ func (i GoogleCloudMlV1__IntegratedGradientsAttributionArgs) ToGoogleCloudMlV1__ return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__IntegratedGradientsAttributionOutput) } +func (i GoogleCloudMlV1__IntegratedGradientsAttributionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__IntegratedGradientsAttribution] { + return pulumix.Output[GoogleCloudMlV1__IntegratedGradientsAttribution]{ + OutputState: i.ToGoogleCloudMlV1__IntegratedGradientsAttributionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__IntegratedGradientsAttributionArgs) ToGoogleCloudMlV1__IntegratedGradientsAttributionPtrOutput() GoogleCloudMlV1__IntegratedGradientsAttributionPtrOutput { return i.ToGoogleCloudMlV1__IntegratedGradientsAttributionPtrOutputWithContext(context.Background()) } @@ -5399,6 +6246,12 @@ func (i *googleCloudMlV1__IntegratedGradientsAttributionPtrType) ToGoogleCloudMl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__IntegratedGradientsAttributionPtrOutput) } +func (i *googleCloudMlV1__IntegratedGradientsAttributionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__IntegratedGradientsAttribution] { + return pulumix.Output[*GoogleCloudMlV1__IntegratedGradientsAttribution]{ + OutputState: i.ToGoogleCloudMlV1__IntegratedGradientsAttributionPtrOutputWithContext(ctx).OutputState, + } +} + // Attributes credit by computing the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365 type GoogleCloudMlV1__IntegratedGradientsAttributionOutput struct{ *pulumi.OutputState } @@ -5424,6 +6277,12 @@ func (o GoogleCloudMlV1__IntegratedGradientsAttributionOutput) ToGoogleCloudMlV1 }).(GoogleCloudMlV1__IntegratedGradientsAttributionPtrOutput) } +func (o GoogleCloudMlV1__IntegratedGradientsAttributionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__IntegratedGradientsAttribution] { + return pulumix.Output[GoogleCloudMlV1__IntegratedGradientsAttribution]{ + OutputState: o.OutputState, + } +} + // Number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. func (o GoogleCloudMlV1__IntegratedGradientsAttributionOutput) NumIntegralSteps() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__IntegratedGradientsAttribution) *int { return v.NumIntegralSteps }).(pulumi.IntPtrOutput) @@ -5443,6 +6302,12 @@ func (o GoogleCloudMlV1__IntegratedGradientsAttributionPtrOutput) ToGoogleCloudM return o } +func (o GoogleCloudMlV1__IntegratedGradientsAttributionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__IntegratedGradientsAttribution] { + return pulumix.Output[*GoogleCloudMlV1__IntegratedGradientsAttribution]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__IntegratedGradientsAttributionPtrOutput) Elem() GoogleCloudMlV1__IntegratedGradientsAttributionOutput { return o.ApplyT(func(v *GoogleCloudMlV1__IntegratedGradientsAttribution) GoogleCloudMlV1__IntegratedGradientsAttribution { if v != nil { @@ -5484,6 +6349,12 @@ func (o GoogleCloudMlV1__IntegratedGradientsAttributionResponseOutput) ToGoogleC return o } +func (o GoogleCloudMlV1__IntegratedGradientsAttributionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__IntegratedGradientsAttributionResponse] { + return pulumix.Output[GoogleCloudMlV1__IntegratedGradientsAttributionResponse]{ + OutputState: o.OutputState, + } +} + // Number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. func (o GoogleCloudMlV1__IntegratedGradientsAttributionResponseOutput) NumIntegralSteps() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudMlV1__IntegratedGradientsAttributionResponse) int { return v.NumIntegralSteps }).(pulumi.IntOutput) @@ -5524,6 +6395,12 @@ func (i GoogleCloudMlV1__ManualScalingArgs) ToGoogleCloudMlV1__ManualScalingOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ManualScalingOutput) } +func (i GoogleCloudMlV1__ManualScalingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ManualScaling] { + return pulumix.Output[GoogleCloudMlV1__ManualScaling]{ + OutputState: i.ToGoogleCloudMlV1__ManualScalingOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__ManualScalingArgs) ToGoogleCloudMlV1__ManualScalingPtrOutput() GoogleCloudMlV1__ManualScalingPtrOutput { return i.ToGoogleCloudMlV1__ManualScalingPtrOutputWithContext(context.Background()) } @@ -5565,6 +6442,12 @@ func (i *googleCloudMlV1__ManualScalingPtrType) ToGoogleCloudMlV1__ManualScaling return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ManualScalingPtrOutput) } +func (i *googleCloudMlV1__ManualScalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ManualScaling] { + return pulumix.Output[*GoogleCloudMlV1__ManualScaling]{ + OutputState: i.ToGoogleCloudMlV1__ManualScalingPtrOutputWithContext(ctx).OutputState, + } +} + // Options for manually scaling a model. type GoogleCloudMlV1__ManualScalingOutput struct{ *pulumi.OutputState } @@ -5590,6 +6473,12 @@ func (o GoogleCloudMlV1__ManualScalingOutput) ToGoogleCloudMlV1__ManualScalingPt }).(GoogleCloudMlV1__ManualScalingPtrOutput) } +func (o GoogleCloudMlV1__ManualScalingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ManualScaling] { + return pulumix.Output[GoogleCloudMlV1__ManualScaling]{ + OutputState: o.OutputState, + } +} + // The number of nodes to allocate for this model. These nodes are always up, starting from the time the model is deployed, so the cost of operating this model will be proportional to `nodes` * number of hours since last billing cycle plus the cost for each prediction performed. func (o GoogleCloudMlV1__ManualScalingOutput) Nodes() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__ManualScaling) *int { return v.Nodes }).(pulumi.IntPtrOutput) @@ -5609,6 +6498,12 @@ func (o GoogleCloudMlV1__ManualScalingPtrOutput) ToGoogleCloudMlV1__ManualScalin return o } +func (o GoogleCloudMlV1__ManualScalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ManualScaling] { + return pulumix.Output[*GoogleCloudMlV1__ManualScaling]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ManualScalingPtrOutput) Elem() GoogleCloudMlV1__ManualScalingOutput { return o.ApplyT(func(v *GoogleCloudMlV1__ManualScaling) GoogleCloudMlV1__ManualScaling { if v != nil { @@ -5650,6 +6545,12 @@ func (o GoogleCloudMlV1__ManualScalingResponseOutput) ToGoogleCloudMlV1__ManualS return o } +func (o GoogleCloudMlV1__ManualScalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ManualScalingResponse] { + return pulumix.Output[GoogleCloudMlV1__ManualScalingResponse]{ + OutputState: o.OutputState, + } +} + // The number of nodes to allocate for this model. These nodes are always up, starting from the time the model is deployed, so the cost of operating this model will be proportional to `nodes` * number of hours since last billing cycle plus the cost for each prediction performed. func (o GoogleCloudMlV1__ManualScalingResponseOutput) Nodes() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudMlV1__ManualScalingResponse) int { return v.Nodes }).(pulumi.IntOutput) @@ -5694,6 +6595,12 @@ func (i GoogleCloudMlV1__MeasurementArgs) ToGoogleCloudMlV1__MeasurementOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__MeasurementOutput) } +func (i GoogleCloudMlV1__MeasurementArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__Measurement] { + return pulumix.Output[GoogleCloudMlV1__Measurement]{ + OutputState: i.ToGoogleCloudMlV1__MeasurementOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__MeasurementArgs) ToGoogleCloudMlV1__MeasurementPtrOutput() GoogleCloudMlV1__MeasurementPtrOutput { return i.ToGoogleCloudMlV1__MeasurementPtrOutputWithContext(context.Background()) } @@ -5735,6 +6642,12 @@ func (i *googleCloudMlV1__MeasurementPtrType) ToGoogleCloudMlV1__MeasurementPtrO return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__MeasurementPtrOutput) } +func (i *googleCloudMlV1__MeasurementPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__Measurement] { + return pulumix.Output[*GoogleCloudMlV1__Measurement]{ + OutputState: i.ToGoogleCloudMlV1__MeasurementPtrOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1__MeasurementArrayInput is an input type that accepts GoogleCloudMlV1__MeasurementArray and GoogleCloudMlV1__MeasurementArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1__MeasurementArrayInput` via: // @@ -5760,6 +6673,12 @@ func (i GoogleCloudMlV1__MeasurementArray) ToGoogleCloudMlV1__MeasurementArrayOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__MeasurementArrayOutput) } +func (i GoogleCloudMlV1__MeasurementArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__Measurement] { + return pulumix.Output[[]GoogleCloudMlV1__Measurement]{ + OutputState: i.ToGoogleCloudMlV1__MeasurementArrayOutputWithContext(ctx).OutputState, + } +} + // A message representing a measurement. type GoogleCloudMlV1__MeasurementOutput struct{ *pulumi.OutputState } @@ -5785,6 +6704,12 @@ func (o GoogleCloudMlV1__MeasurementOutput) ToGoogleCloudMlV1__MeasurementPtrOut }).(GoogleCloudMlV1__MeasurementPtrOutput) } +func (o GoogleCloudMlV1__MeasurementOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__Measurement] { + return pulumix.Output[GoogleCloudMlV1__Measurement]{ + OutputState: o.OutputState, + } +} + // Provides a list of metrics that act as inputs into the objective function. func (o GoogleCloudMlV1__MeasurementOutput) Metrics() GoogleCloudMlV1_Measurement_MetricArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1__Measurement) []GoogleCloudMlV1_Measurement_Metric { return v.Metrics }).(GoogleCloudMlV1_Measurement_MetricArrayOutput) @@ -5809,6 +6734,12 @@ func (o GoogleCloudMlV1__MeasurementPtrOutput) ToGoogleCloudMlV1__MeasurementPtr return o } +func (o GoogleCloudMlV1__MeasurementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__Measurement] { + return pulumix.Output[*GoogleCloudMlV1__Measurement]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__MeasurementPtrOutput) Elem() GoogleCloudMlV1__MeasurementOutput { return o.ApplyT(func(v *GoogleCloudMlV1__Measurement) GoogleCloudMlV1__Measurement { if v != nil { @@ -5853,6 +6784,12 @@ func (o GoogleCloudMlV1__MeasurementArrayOutput) ToGoogleCloudMlV1__MeasurementA return o } +func (o GoogleCloudMlV1__MeasurementArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__Measurement] { + return pulumix.Output[[]GoogleCloudMlV1__Measurement]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__MeasurementArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__MeasurementOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__Measurement { return vs[0].([]GoogleCloudMlV1__Measurement)[vs[1].(int)] @@ -5884,6 +6821,12 @@ func (o GoogleCloudMlV1__MeasurementResponseOutput) ToGoogleCloudMlV1__Measureme return o } +func (o GoogleCloudMlV1__MeasurementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__MeasurementResponse] { + return pulumix.Output[GoogleCloudMlV1__MeasurementResponse]{ + OutputState: o.OutputState, + } +} + // Time that the trial has been running at the point of this measurement. func (o GoogleCloudMlV1__MeasurementResponseOutput) ElapsedTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__MeasurementResponse) string { return v.ElapsedTime }).(pulumi.StringOutput) @@ -5915,6 +6858,12 @@ func (o GoogleCloudMlV1__MeasurementResponseArrayOutput) ToGoogleCloudMlV1__Meas return o } +func (o GoogleCloudMlV1__MeasurementResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__MeasurementResponse] { + return pulumix.Output[[]GoogleCloudMlV1__MeasurementResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__MeasurementResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__MeasurementResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__MeasurementResponse { return vs[0].([]GoogleCloudMlV1__MeasurementResponse)[vs[1].(int)] @@ -5960,6 +6909,12 @@ func (i GoogleCloudMlV1__MetricSpecArgs) ToGoogleCloudMlV1__MetricSpecOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__MetricSpecOutput) } +func (i GoogleCloudMlV1__MetricSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__MetricSpec] { + return pulumix.Output[GoogleCloudMlV1__MetricSpec]{ + OutputState: i.ToGoogleCloudMlV1__MetricSpecOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1__MetricSpecArrayInput is an input type that accepts GoogleCloudMlV1__MetricSpecArray and GoogleCloudMlV1__MetricSpecArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1__MetricSpecArrayInput` via: // @@ -5985,6 +6940,12 @@ func (i GoogleCloudMlV1__MetricSpecArray) ToGoogleCloudMlV1__MetricSpecArrayOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__MetricSpecArrayOutput) } +func (i GoogleCloudMlV1__MetricSpecArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__MetricSpec] { + return pulumix.Output[[]GoogleCloudMlV1__MetricSpec]{ + OutputState: i.ToGoogleCloudMlV1__MetricSpecArrayOutputWithContext(ctx).OutputState, + } +} + // MetricSpec contains the specifications to use to calculate the desired nodes count when autoscaling is enabled. type GoogleCloudMlV1__MetricSpecOutput struct{ *pulumi.OutputState } @@ -6000,6 +6961,12 @@ func (o GoogleCloudMlV1__MetricSpecOutput) ToGoogleCloudMlV1__MetricSpecOutputWi return o } +func (o GoogleCloudMlV1__MetricSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__MetricSpec] { + return pulumix.Output[GoogleCloudMlV1__MetricSpec]{ + OutputState: o.OutputState, + } +} + // metric name. func (o GoogleCloudMlV1__MetricSpecOutput) Name() GoogleCloudMlV1__MetricSpecNamePtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__MetricSpec) *GoogleCloudMlV1__MetricSpecName { return v.Name }).(GoogleCloudMlV1__MetricSpecNamePtrOutput) @@ -6024,6 +6991,12 @@ func (o GoogleCloudMlV1__MetricSpecArrayOutput) ToGoogleCloudMlV1__MetricSpecArr return o } +func (o GoogleCloudMlV1__MetricSpecArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__MetricSpec] { + return pulumix.Output[[]GoogleCloudMlV1__MetricSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__MetricSpecArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__MetricSpecOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__MetricSpec { return vs[0].([]GoogleCloudMlV1__MetricSpec)[vs[1].(int)] @@ -6053,6 +7026,12 @@ func (o GoogleCloudMlV1__MetricSpecResponseOutput) ToGoogleCloudMlV1__MetricSpec return o } +func (o GoogleCloudMlV1__MetricSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__MetricSpecResponse] { + return pulumix.Output[GoogleCloudMlV1__MetricSpecResponse]{ + OutputState: o.OutputState, + } +} + // metric name. func (o GoogleCloudMlV1__MetricSpecResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__MetricSpecResponse) string { return v.Name }).(pulumi.StringOutput) @@ -6077,6 +7056,12 @@ func (o GoogleCloudMlV1__MetricSpecResponseArrayOutput) ToGoogleCloudMlV1__Metri return o } +func (o GoogleCloudMlV1__MetricSpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__MetricSpecResponse] { + return pulumix.Output[[]GoogleCloudMlV1__MetricSpecResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__MetricSpecResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__MetricSpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__MetricSpecResponse { return vs[0].([]GoogleCloudMlV1__MetricSpecResponse)[vs[1].(int)] @@ -6142,6 +7127,12 @@ func (i GoogleCloudMlV1__ParameterSpecArgs) ToGoogleCloudMlV1__ParameterSpecOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ParameterSpecOutput) } +func (i GoogleCloudMlV1__ParameterSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ParameterSpec] { + return pulumix.Output[GoogleCloudMlV1__ParameterSpec]{ + OutputState: i.ToGoogleCloudMlV1__ParameterSpecOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudMlV1__ParameterSpecArrayInput is an input type that accepts GoogleCloudMlV1__ParameterSpecArray and GoogleCloudMlV1__ParameterSpecArrayOutput values. // You can construct a concrete instance of `GoogleCloudMlV1__ParameterSpecArrayInput` via: // @@ -6167,6 +7158,12 @@ func (i GoogleCloudMlV1__ParameterSpecArray) ToGoogleCloudMlV1__ParameterSpecArr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ParameterSpecArrayOutput) } +func (i GoogleCloudMlV1__ParameterSpecArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__ParameterSpec] { + return pulumix.Output[[]GoogleCloudMlV1__ParameterSpec]{ + OutputState: i.ToGoogleCloudMlV1__ParameterSpecArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a single hyperparameter to optimize. type GoogleCloudMlV1__ParameterSpecOutput struct{ *pulumi.OutputState } @@ -6182,6 +7179,12 @@ func (o GoogleCloudMlV1__ParameterSpecOutput) ToGoogleCloudMlV1__ParameterSpecOu return o } +func (o GoogleCloudMlV1__ParameterSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ParameterSpec] { + return pulumix.Output[GoogleCloudMlV1__ParameterSpec]{ + OutputState: o.OutputState, + } +} + // Required if type is `CATEGORICAL`. The list of possible categories. func (o GoogleCloudMlV1__ParameterSpecOutput) CategoricalValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1__ParameterSpec) []string { return v.CategoricalValues }).(pulumi.StringArrayOutput) @@ -6231,6 +7234,12 @@ func (o GoogleCloudMlV1__ParameterSpecArrayOutput) ToGoogleCloudMlV1__ParameterS return o } +func (o GoogleCloudMlV1__ParameterSpecArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__ParameterSpec] { + return pulumix.Output[[]GoogleCloudMlV1__ParameterSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ParameterSpecArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__ParameterSpecOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__ParameterSpec { return vs[0].([]GoogleCloudMlV1__ParameterSpec)[vs[1].(int)] @@ -6270,6 +7279,12 @@ func (o GoogleCloudMlV1__ParameterSpecResponseOutput) ToGoogleCloudMlV1__Paramet return o } +func (o GoogleCloudMlV1__ParameterSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ParameterSpecResponse] { + return pulumix.Output[GoogleCloudMlV1__ParameterSpecResponse]{ + OutputState: o.OutputState, + } +} + // Required if type is `CATEGORICAL`. The list of possible categories. func (o GoogleCloudMlV1__ParameterSpecResponseOutput) CategoricalValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1__ParameterSpecResponse) []string { return v.CategoricalValues }).(pulumi.StringArrayOutput) @@ -6319,6 +7334,12 @@ func (o GoogleCloudMlV1__ParameterSpecResponseArrayOutput) ToGoogleCloudMlV1__Pa return o } +func (o GoogleCloudMlV1__ParameterSpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudMlV1__ParameterSpecResponse] { + return pulumix.Output[[]GoogleCloudMlV1__ParameterSpecResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ParameterSpecResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudMlV1__ParameterSpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudMlV1__ParameterSpecResponse { return vs[0].([]GoogleCloudMlV1__ParameterSpecResponse)[vs[1].(int)] @@ -6404,6 +7425,12 @@ func (i GoogleCloudMlV1__PredictionInputArgs) ToGoogleCloudMlV1__PredictionInput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__PredictionInputOutput) } +func (i GoogleCloudMlV1__PredictionInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__PredictionInput] { + return pulumix.Output[GoogleCloudMlV1__PredictionInput]{ + OutputState: i.ToGoogleCloudMlV1__PredictionInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__PredictionInputArgs) ToGoogleCloudMlV1__PredictionInputPtrOutput() GoogleCloudMlV1__PredictionInputPtrOutput { return i.ToGoogleCloudMlV1__PredictionInputPtrOutputWithContext(context.Background()) } @@ -6445,6 +7472,12 @@ func (i *googleCloudMlV1__PredictionInputPtrType) ToGoogleCloudMlV1__PredictionI return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__PredictionInputPtrOutput) } +func (i *googleCloudMlV1__PredictionInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__PredictionInput] { + return pulumix.Output[*GoogleCloudMlV1__PredictionInput]{ + OutputState: i.ToGoogleCloudMlV1__PredictionInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents input parameters for a prediction job. type GoogleCloudMlV1__PredictionInputOutput struct{ *pulumi.OutputState } @@ -6470,6 +7503,12 @@ func (o GoogleCloudMlV1__PredictionInputOutput) ToGoogleCloudMlV1__PredictionInp }).(GoogleCloudMlV1__PredictionInputPtrOutput) } +func (o GoogleCloudMlV1__PredictionInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__PredictionInput] { + return pulumix.Output[GoogleCloudMlV1__PredictionInput]{ + OutputState: o.OutputState, + } +} + // Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter. func (o GoogleCloudMlV1__PredictionInputOutput) BatchSize() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__PredictionInput) *string { return v.BatchSize }).(pulumi.StringPtrOutput) @@ -6548,6 +7587,12 @@ func (o GoogleCloudMlV1__PredictionInputPtrOutput) ToGoogleCloudMlV1__Prediction return o } +func (o GoogleCloudMlV1__PredictionInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__PredictionInput] { + return pulumix.Output[*GoogleCloudMlV1__PredictionInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__PredictionInputPtrOutput) Elem() GoogleCloudMlV1__PredictionInputOutput { return o.ApplyT(func(v *GoogleCloudMlV1__PredictionInput) GoogleCloudMlV1__PredictionInput { if v != nil { @@ -6721,6 +7766,12 @@ func (o GoogleCloudMlV1__PredictionInputResponseOutput) ToGoogleCloudMlV1__Predi return o } +func (o GoogleCloudMlV1__PredictionInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__PredictionInputResponse] { + return pulumix.Output[GoogleCloudMlV1__PredictionInputResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Number of records per batch, defaults to 64. The service will buffer batch_size number of records in memory before invoking one Tensorflow prediction call internally. So take the record size and memory available into consideration when setting this parameter. func (o GoogleCloudMlV1__PredictionInputResponseOutput) BatchSize() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__PredictionInputResponse) string { return v.BatchSize }).(pulumi.StringOutput) @@ -6828,6 +7879,12 @@ func (i GoogleCloudMlV1__PredictionOutputArgs) ToGoogleCloudMlV1__PredictionOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__PredictionOutputOutput) } +func (i GoogleCloudMlV1__PredictionOutputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__PredictionOutput] { + return pulumix.Output[GoogleCloudMlV1__PredictionOutput]{ + OutputState: i.ToGoogleCloudMlV1__PredictionOutputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__PredictionOutputArgs) ToGoogleCloudMlV1__PredictionOutputPtrOutput() GoogleCloudMlV1__PredictionOutputPtrOutput { return i.ToGoogleCloudMlV1__PredictionOutputPtrOutputWithContext(context.Background()) } @@ -6869,6 +7926,12 @@ func (i *googleCloudMlV1__PredictionOutputPtrType) ToGoogleCloudMlV1__Prediction return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__PredictionOutputPtrOutput) } +func (i *googleCloudMlV1__PredictionOutputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__PredictionOutput] { + return pulumix.Output[*GoogleCloudMlV1__PredictionOutput]{ + OutputState: i.ToGoogleCloudMlV1__PredictionOutputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents results of a prediction job. type GoogleCloudMlV1__PredictionOutputOutput struct{ *pulumi.OutputState } @@ -6894,6 +7957,12 @@ func (o GoogleCloudMlV1__PredictionOutputOutput) ToGoogleCloudMlV1__PredictionOu }).(GoogleCloudMlV1__PredictionOutputPtrOutput) } +func (o GoogleCloudMlV1__PredictionOutputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__PredictionOutput] { + return pulumix.Output[GoogleCloudMlV1__PredictionOutput]{ + OutputState: o.OutputState, + } +} + // The number of data instances which resulted in errors. func (o GoogleCloudMlV1__PredictionOutputOutput) ErrorCount() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__PredictionOutput) *string { return v.ErrorCount }).(pulumi.StringPtrOutput) @@ -6928,6 +7997,12 @@ func (o GoogleCloudMlV1__PredictionOutputPtrOutput) ToGoogleCloudMlV1__Predictio return o } +func (o GoogleCloudMlV1__PredictionOutputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__PredictionOutput] { + return pulumix.Output[*GoogleCloudMlV1__PredictionOutput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__PredictionOutputPtrOutput) Elem() GoogleCloudMlV1__PredictionOutputOutput { return o.ApplyT(func(v *GoogleCloudMlV1__PredictionOutput) GoogleCloudMlV1__PredictionOutput { if v != nil { @@ -7005,6 +8080,12 @@ func (o GoogleCloudMlV1__PredictionOutputResponseOutput) ToGoogleCloudMlV1__Pred return o } +func (o GoogleCloudMlV1__PredictionOutputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__PredictionOutputResponse] { + return pulumix.Output[GoogleCloudMlV1__PredictionOutputResponse]{ + OutputState: o.OutputState, + } +} + // The number of data instances which resulted in errors. func (o GoogleCloudMlV1__PredictionOutputResponseOutput) ErrorCount() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__PredictionOutputResponse) string { return v.ErrorCount }).(pulumi.StringOutput) @@ -7080,6 +8161,12 @@ func (i GoogleCloudMlV1__ReplicaConfigArgs) ToGoogleCloudMlV1__ReplicaConfigOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ReplicaConfigOutput) } +func (i GoogleCloudMlV1__ReplicaConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ReplicaConfig] { + return pulumix.Output[GoogleCloudMlV1__ReplicaConfig]{ + OutputState: i.ToGoogleCloudMlV1__ReplicaConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__ReplicaConfigArgs) ToGoogleCloudMlV1__ReplicaConfigPtrOutput() GoogleCloudMlV1__ReplicaConfigPtrOutput { return i.ToGoogleCloudMlV1__ReplicaConfigPtrOutputWithContext(context.Background()) } @@ -7121,6 +8208,12 @@ func (i *googleCloudMlV1__ReplicaConfigPtrType) ToGoogleCloudMlV1__ReplicaConfig return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__ReplicaConfigPtrOutput) } +func (i *googleCloudMlV1__ReplicaConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ReplicaConfig] { + return pulumix.Output[*GoogleCloudMlV1__ReplicaConfig]{ + OutputState: i.ToGoogleCloudMlV1__ReplicaConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents the configuration for a replica in a cluster. type GoogleCloudMlV1__ReplicaConfigOutput struct{ *pulumi.OutputState } @@ -7146,6 +8239,12 @@ func (o GoogleCloudMlV1__ReplicaConfigOutput) ToGoogleCloudMlV1__ReplicaConfigPt }).(GoogleCloudMlV1__ReplicaConfigPtrOutput) } +func (o GoogleCloudMlV1__ReplicaConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ReplicaConfig] { + return pulumix.Output[GoogleCloudMlV1__ReplicaConfig]{ + OutputState: o.OutputState, + } +} + // Represents the type and number of accelerators used by the replica. [Learn about restrictions on accelerator configurations for training.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu) func (o GoogleCloudMlV1__ReplicaConfigOutput) AcceleratorConfig() GoogleCloudMlV1__AcceleratorConfigPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__ReplicaConfig) *GoogleCloudMlV1__AcceleratorConfig { return v.AcceleratorConfig }).(GoogleCloudMlV1__AcceleratorConfigPtrOutput) @@ -7190,6 +8289,12 @@ func (o GoogleCloudMlV1__ReplicaConfigPtrOutput) ToGoogleCloudMlV1__ReplicaConfi return o } +func (o GoogleCloudMlV1__ReplicaConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__ReplicaConfig] { + return pulumix.Output[*GoogleCloudMlV1__ReplicaConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__ReplicaConfigPtrOutput) Elem() GoogleCloudMlV1__ReplicaConfigOutput { return o.ApplyT(func(v *GoogleCloudMlV1__ReplicaConfig) GoogleCloudMlV1__ReplicaConfig { if v != nil { @@ -7291,6 +8396,12 @@ func (o GoogleCloudMlV1__ReplicaConfigResponseOutput) ToGoogleCloudMlV1__Replica return o } +func (o GoogleCloudMlV1__ReplicaConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__ReplicaConfigResponse] { + return pulumix.Output[GoogleCloudMlV1__ReplicaConfigResponse]{ + OutputState: o.OutputState, + } +} + // Represents the type and number of accelerators used by the replica. [Learn about restrictions on accelerator configurations for training.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu) func (o GoogleCloudMlV1__ReplicaConfigResponseOutput) AcceleratorConfig() GoogleCloudMlV1__AcceleratorConfigResponseOutput { return o.ApplyT(func(v GoogleCloudMlV1__ReplicaConfigResponse) GoogleCloudMlV1__AcceleratorConfigResponse { @@ -7364,6 +8475,12 @@ func (i GoogleCloudMlV1__RequestLoggingConfigArgs) ToGoogleCloudMlV1__RequestLog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__RequestLoggingConfigOutput) } +func (i GoogleCloudMlV1__RequestLoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__RequestLoggingConfig] { + return pulumix.Output[GoogleCloudMlV1__RequestLoggingConfig]{ + OutputState: i.ToGoogleCloudMlV1__RequestLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__RequestLoggingConfigArgs) ToGoogleCloudMlV1__RequestLoggingConfigPtrOutput() GoogleCloudMlV1__RequestLoggingConfigPtrOutput { return i.ToGoogleCloudMlV1__RequestLoggingConfigPtrOutputWithContext(context.Background()) } @@ -7405,6 +8522,12 @@ func (i *googleCloudMlV1__RequestLoggingConfigPtrType) ToGoogleCloudMlV1__Reques return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__RequestLoggingConfigPtrOutput) } +func (i *googleCloudMlV1__RequestLoggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__RequestLoggingConfig] { + return pulumix.Output[*GoogleCloudMlV1__RequestLoggingConfig]{ + OutputState: i.ToGoogleCloudMlV1__RequestLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for logging request-response pairs to a BigQuery table. Online prediction requests to a model version and the responses to these requests are converted to raw strings and saved to the specified BigQuery table. Logging is constrained by [BigQuery quotas and limits](/bigquery/quotas). If your project exceeds BigQuery quotas or limits, AI Platform Prediction does not log request-response pairs, but it continues to serve predictions. If you are using [continuous evaluation](/ml-engine/docs/continuous-evaluation/), you do not need to specify this configuration manually. Setting up continuous evaluation automatically enables logging of request-response pairs. type GoogleCloudMlV1__RequestLoggingConfigOutput struct{ *pulumi.OutputState } @@ -7430,6 +8553,12 @@ func (o GoogleCloudMlV1__RequestLoggingConfigOutput) ToGoogleCloudMlV1__RequestL }).(GoogleCloudMlV1__RequestLoggingConfigPtrOutput) } +func (o GoogleCloudMlV1__RequestLoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__RequestLoggingConfig] { + return pulumix.Output[GoogleCloudMlV1__RequestLoggingConfig]{ + OutputState: o.OutputState, + } +} + // Fully qualified BigQuery table name in the following format: " project_id.dataset_name.table_name" The specified table must already exist, and the "Cloud ML Service Agent" for your project must have permission to write to it. The table must have the following [schema](/bigquery/docs/schemas): Field nameType Mode model STRING REQUIRED model_version STRING REQUIRED time TIMESTAMP REQUIRED raw_data STRING REQUIRED raw_prediction STRING NULLABLE groundtruth STRING NULLABLE func (o GoogleCloudMlV1__RequestLoggingConfigOutput) BigqueryTableName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__RequestLoggingConfig) string { return v.BigqueryTableName }).(pulumi.StringOutput) @@ -7454,6 +8583,12 @@ func (o GoogleCloudMlV1__RequestLoggingConfigPtrOutput) ToGoogleCloudMlV1__Reque return o } +func (o GoogleCloudMlV1__RequestLoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__RequestLoggingConfig] { + return pulumix.Output[*GoogleCloudMlV1__RequestLoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__RequestLoggingConfigPtrOutput) Elem() GoogleCloudMlV1__RequestLoggingConfigOutput { return o.ApplyT(func(v *GoogleCloudMlV1__RequestLoggingConfig) GoogleCloudMlV1__RequestLoggingConfig { if v != nil { @@ -7507,6 +8642,12 @@ func (o GoogleCloudMlV1__RequestLoggingConfigResponseOutput) ToGoogleCloudMlV1__ return o } +func (o GoogleCloudMlV1__RequestLoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__RequestLoggingConfigResponse] { + return pulumix.Output[GoogleCloudMlV1__RequestLoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Fully qualified BigQuery table name in the following format: " project_id.dataset_name.table_name" The specified table must already exist, and the "Cloud ML Service Agent" for your project must have permission to write to it. The table must have the following [schema](/bigquery/docs/schemas): Field nameType Mode model STRING REQUIRED model_version STRING REQUIRED time TIMESTAMP REQUIRED raw_data STRING REQUIRED raw_prediction STRING NULLABLE groundtruth STRING NULLABLE func (o GoogleCloudMlV1__RequestLoggingConfigResponseOutput) BigqueryTableName() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__RequestLoggingConfigResponse) string { return v.BigqueryTableName }).(pulumi.StringOutput) @@ -7556,6 +8697,12 @@ func (i GoogleCloudMlV1__RouteMapArgs) ToGoogleCloudMlV1__RouteMapOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__RouteMapOutput) } +func (i GoogleCloudMlV1__RouteMapArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__RouteMap] { + return pulumix.Output[GoogleCloudMlV1__RouteMap]{ + OutputState: i.ToGoogleCloudMlV1__RouteMapOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__RouteMapArgs) ToGoogleCloudMlV1__RouteMapPtrOutput() GoogleCloudMlV1__RouteMapPtrOutput { return i.ToGoogleCloudMlV1__RouteMapPtrOutputWithContext(context.Background()) } @@ -7597,6 +8744,12 @@ func (i *googleCloudMlV1__RouteMapPtrType) ToGoogleCloudMlV1__RouteMapPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__RouteMapPtrOutput) } +func (i *googleCloudMlV1__RouteMapPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__RouteMap] { + return pulumix.Output[*GoogleCloudMlV1__RouteMap]{ + OutputState: i.ToGoogleCloudMlV1__RouteMapPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies HTTP paths served by a custom container. AI Platform Prediction sends requests to these paths on the container; the custom container must run an HTTP server that responds to these requests with appropriate responses. Read [Custom container requirements](/ai-platform/prediction/docs/custom-container-requirements) for details on how to create your container image to meet these requirements. type GoogleCloudMlV1__RouteMapOutput struct{ *pulumi.OutputState } @@ -7622,6 +8775,12 @@ func (o GoogleCloudMlV1__RouteMapOutput) ToGoogleCloudMlV1__RouteMapPtrOutputWit }).(GoogleCloudMlV1__RouteMapPtrOutput) } +func (o GoogleCloudMlV1__RouteMapOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__RouteMap] { + return pulumix.Output[GoogleCloudMlV1__RouteMap]{ + OutputState: o.OutputState, + } +} + // HTTP path on the container to send health checkss to. AI Platform Prediction intermittently sends GET requests to this path on the container's IP address and port to check that the container is healthy. Read more about [health checks](/ai-platform/prediction/docs/custom-container-requirements#checks). For example, if you set this field to `/bar`, then AI Platform Prediction intermittently sends a GET request to the `/bar` path on the port of your container specified by the first value of Version.container.ports. If you don't specify this field, it defaults to the following value: /v1/models/ MODEL/versions/VERSION The placeholders in this value are replaced as follows: * MODEL: The name of the parent Model. This does not include the "projects/PROJECT_ID/models/" prefix that the API returns in output; it is the bare model name, as provided to projects.models.create. * VERSION: The name of the model version. This does not include the "projects/PROJECT_ID /models/MODEL/versions/" prefix that the API returns in output; it is the bare version name, as provided to projects.models.versions.create. func (o GoogleCloudMlV1__RouteMapOutput) Health() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__RouteMap) *string { return v.Health }).(pulumi.StringPtrOutput) @@ -7646,6 +8805,12 @@ func (o GoogleCloudMlV1__RouteMapPtrOutput) ToGoogleCloudMlV1__RouteMapPtrOutput return o } +func (o GoogleCloudMlV1__RouteMapPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__RouteMap] { + return pulumix.Output[*GoogleCloudMlV1__RouteMap]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__RouteMapPtrOutput) Elem() GoogleCloudMlV1__RouteMapOutput { return o.ApplyT(func(v *GoogleCloudMlV1__RouteMap) GoogleCloudMlV1__RouteMap { if v != nil { @@ -7699,6 +8864,12 @@ func (o GoogleCloudMlV1__RouteMapResponseOutput) ToGoogleCloudMlV1__RouteMapResp return o } +func (o GoogleCloudMlV1__RouteMapResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__RouteMapResponse] { + return pulumix.Output[GoogleCloudMlV1__RouteMapResponse]{ + OutputState: o.OutputState, + } +} + // HTTP path on the container to send health checkss to. AI Platform Prediction intermittently sends GET requests to this path on the container's IP address and port to check that the container is healthy. Read more about [health checks](/ai-platform/prediction/docs/custom-container-requirements#checks). For example, if you set this field to `/bar`, then AI Platform Prediction intermittently sends a GET request to the `/bar` path on the port of your container specified by the first value of Version.container.ports. If you don't specify this field, it defaults to the following value: /v1/models/ MODEL/versions/VERSION The placeholders in this value are replaced as follows: * MODEL: The name of the parent Model. This does not include the "projects/PROJECT_ID/models/" prefix that the API returns in output; it is the bare model name, as provided to projects.models.create. * VERSION: The name of the model version. This does not include the "projects/PROJECT_ID /models/MODEL/versions/" prefix that the API returns in output; it is the bare version name, as provided to projects.models.versions.create. func (o GoogleCloudMlV1__RouteMapResponseOutput) Health() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__RouteMapResponse) string { return v.Health }).(pulumi.StringOutput) @@ -7744,6 +8915,12 @@ func (i GoogleCloudMlV1__SampledShapleyAttributionArgs) ToGoogleCloudMlV1__Sampl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__SampledShapleyAttributionOutput) } +func (i GoogleCloudMlV1__SampledShapleyAttributionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__SampledShapleyAttribution] { + return pulumix.Output[GoogleCloudMlV1__SampledShapleyAttribution]{ + OutputState: i.ToGoogleCloudMlV1__SampledShapleyAttributionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__SampledShapleyAttributionArgs) ToGoogleCloudMlV1__SampledShapleyAttributionPtrOutput() GoogleCloudMlV1__SampledShapleyAttributionPtrOutput { return i.ToGoogleCloudMlV1__SampledShapleyAttributionPtrOutputWithContext(context.Background()) } @@ -7785,6 +8962,12 @@ func (i *googleCloudMlV1__SampledShapleyAttributionPtrType) ToGoogleCloudMlV1__S return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__SampledShapleyAttributionPtrOutput) } +func (i *googleCloudMlV1__SampledShapleyAttributionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__SampledShapleyAttribution] { + return pulumix.Output[*GoogleCloudMlV1__SampledShapleyAttribution]{ + OutputState: i.ToGoogleCloudMlV1__SampledShapleyAttributionPtrOutputWithContext(ctx).OutputState, + } +} + // An attribution method that approximates Shapley values for features that contribute to the label being predicted. A sampling strategy is used to approximate the value rather than considering all subsets of features. type GoogleCloudMlV1__SampledShapleyAttributionOutput struct{ *pulumi.OutputState } @@ -7810,6 +8993,12 @@ func (o GoogleCloudMlV1__SampledShapleyAttributionOutput) ToGoogleCloudMlV1__Sam }).(GoogleCloudMlV1__SampledShapleyAttributionPtrOutput) } +func (o GoogleCloudMlV1__SampledShapleyAttributionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__SampledShapleyAttribution] { + return pulumix.Output[GoogleCloudMlV1__SampledShapleyAttribution]{ + OutputState: o.OutputState, + } +} + // The number of feature permutations to consider when approximating the Shapley values. func (o GoogleCloudMlV1__SampledShapleyAttributionOutput) NumPaths() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__SampledShapleyAttribution) *int { return v.NumPaths }).(pulumi.IntPtrOutput) @@ -7829,6 +9018,12 @@ func (o GoogleCloudMlV1__SampledShapleyAttributionPtrOutput) ToGoogleCloudMlV1__ return o } +func (o GoogleCloudMlV1__SampledShapleyAttributionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__SampledShapleyAttribution] { + return pulumix.Output[*GoogleCloudMlV1__SampledShapleyAttribution]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__SampledShapleyAttributionPtrOutput) Elem() GoogleCloudMlV1__SampledShapleyAttributionOutput { return o.ApplyT(func(v *GoogleCloudMlV1__SampledShapleyAttribution) GoogleCloudMlV1__SampledShapleyAttribution { if v != nil { @@ -7870,6 +9065,12 @@ func (o GoogleCloudMlV1__SampledShapleyAttributionResponseOutput) ToGoogleCloudM return o } +func (o GoogleCloudMlV1__SampledShapleyAttributionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__SampledShapleyAttributionResponse] { + return pulumix.Output[GoogleCloudMlV1__SampledShapleyAttributionResponse]{ + OutputState: o.OutputState, + } +} + // The number of feature permutations to consider when approximating the Shapley values. func (o GoogleCloudMlV1__SampledShapleyAttributionResponseOutput) NumPaths() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudMlV1__SampledShapleyAttributionResponse) int { return v.NumPaths }).(pulumi.IntOutput) @@ -7918,6 +9119,12 @@ func (i GoogleCloudMlV1__SchedulingArgs) ToGoogleCloudMlV1__SchedulingOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__SchedulingOutput) } +func (i GoogleCloudMlV1__SchedulingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__Scheduling] { + return pulumix.Output[GoogleCloudMlV1__Scheduling]{ + OutputState: i.ToGoogleCloudMlV1__SchedulingOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__SchedulingArgs) ToGoogleCloudMlV1__SchedulingPtrOutput() GoogleCloudMlV1__SchedulingPtrOutput { return i.ToGoogleCloudMlV1__SchedulingPtrOutputWithContext(context.Background()) } @@ -7959,6 +9166,12 @@ func (i *googleCloudMlV1__SchedulingPtrType) ToGoogleCloudMlV1__SchedulingPtrOut return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__SchedulingPtrOutput) } +func (i *googleCloudMlV1__SchedulingPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__Scheduling] { + return pulumix.Output[*GoogleCloudMlV1__Scheduling]{ + OutputState: i.ToGoogleCloudMlV1__SchedulingPtrOutputWithContext(ctx).OutputState, + } +} + // All parameters related to scheduling of training jobs. type GoogleCloudMlV1__SchedulingOutput struct{ *pulumi.OutputState } @@ -7984,6 +9197,12 @@ func (o GoogleCloudMlV1__SchedulingOutput) ToGoogleCloudMlV1__SchedulingPtrOutpu }).(GoogleCloudMlV1__SchedulingPtrOutput) } +func (o GoogleCloudMlV1__SchedulingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__Scheduling] { + return pulumix.Output[GoogleCloudMlV1__Scheduling]{ + OutputState: o.OutputState, + } +} + // Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by `s`. If not specified, this field defaults to `604800s` (seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters the `RUNNING` state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to `7200s` (2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using the `gcloud` tool, you can [specify this field in a `config.yaml` file](/ai-platform/training/docs/training-jobs#formatting_your_configuration_parameters). For example: ``` yaml trainingInput: scheduling: maxRunningTime: 7200s ``` func (o GoogleCloudMlV1__SchedulingOutput) MaxRunningTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__Scheduling) *string { return v.MaxRunningTime }).(pulumi.StringPtrOutput) @@ -8013,6 +9232,12 @@ func (o GoogleCloudMlV1__SchedulingPtrOutput) ToGoogleCloudMlV1__SchedulingPtrOu return o } +func (o GoogleCloudMlV1__SchedulingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__Scheduling] { + return pulumix.Output[*GoogleCloudMlV1__Scheduling]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__SchedulingPtrOutput) Elem() GoogleCloudMlV1__SchedulingOutput { return o.ApplyT(func(v *GoogleCloudMlV1__Scheduling) GoogleCloudMlV1__Scheduling { if v != nil { @@ -8078,6 +9303,12 @@ func (o GoogleCloudMlV1__SchedulingResponseOutput) ToGoogleCloudMlV1__Scheduling return o } +func (o GoogleCloudMlV1__SchedulingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__SchedulingResponse] { + return pulumix.Output[GoogleCloudMlV1__SchedulingResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The maximum job running time, expressed in seconds. The field can contain up to nine fractional digits, terminated by `s`. If not specified, this field defaults to `604800s` (seven days). If the training job is still running after this duration, AI Platform Training cancels it. The duration is measured from when the job enters the `RUNNING` state; therefore it does not overlap with the duration limited by Scheduling.max_wait_time. For example, if you want to ensure your job runs for no more than 2 hours, set this field to `7200s` (2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your training job using the `gcloud` tool, you can [specify this field in a `config.yaml` file](/ai-platform/training/docs/training-jobs#formatting_your_configuration_parameters). For example: ``` yaml trainingInput: scheduling: maxRunningTime: 7200s ``` func (o GoogleCloudMlV1__SchedulingResponseOutput) MaxRunningTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__SchedulingResponse) string { return v.MaxRunningTime }).(pulumi.StringOutput) @@ -8140,6 +9371,12 @@ func (i GoogleCloudMlV1__StudyConfigArgs) ToGoogleCloudMlV1__StudyConfigOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__StudyConfigOutput) } +func (i GoogleCloudMlV1__StudyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__StudyConfig] { + return pulumix.Output[GoogleCloudMlV1__StudyConfig]{ + OutputState: i.ToGoogleCloudMlV1__StudyConfigOutputWithContext(ctx).OutputState, + } +} + // Represents configuration of a study. type GoogleCloudMlV1__StudyConfigOutput struct{ *pulumi.OutputState } @@ -8155,6 +9392,12 @@ func (o GoogleCloudMlV1__StudyConfigOutput) ToGoogleCloudMlV1__StudyConfigOutput return o } +func (o GoogleCloudMlV1__StudyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__StudyConfig] { + return pulumix.Output[GoogleCloudMlV1__StudyConfig]{ + OutputState: o.OutputState, + } +} + // The search algorithm specified for the study. func (o GoogleCloudMlV1__StudyConfigOutput) Algorithm() GoogleCloudMlV1__StudyConfigAlgorithmPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__StudyConfig) *GoogleCloudMlV1__StudyConfigAlgorithm { return v.Algorithm }).(GoogleCloudMlV1__StudyConfigAlgorithmPtrOutput) @@ -8204,6 +9447,12 @@ func (o GoogleCloudMlV1__StudyConfigResponseOutput) ToGoogleCloudMlV1__StudyConf return o } +func (o GoogleCloudMlV1__StudyConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__StudyConfigResponse] { + return pulumix.Output[GoogleCloudMlV1__StudyConfigResponse]{ + OutputState: o.OutputState, + } +} + // The search algorithm specified for the study. func (o GoogleCloudMlV1__StudyConfigResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudMlV1__StudyConfigResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -8365,6 +9614,12 @@ func (i GoogleCloudMlV1__TrainingInputArgs) ToGoogleCloudMlV1__TrainingInputOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__TrainingInputOutput) } +func (i GoogleCloudMlV1__TrainingInputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__TrainingInput] { + return pulumix.Output[GoogleCloudMlV1__TrainingInput]{ + OutputState: i.ToGoogleCloudMlV1__TrainingInputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__TrainingInputArgs) ToGoogleCloudMlV1__TrainingInputPtrOutput() GoogleCloudMlV1__TrainingInputPtrOutput { return i.ToGoogleCloudMlV1__TrainingInputPtrOutputWithContext(context.Background()) } @@ -8406,6 +9661,12 @@ func (i *googleCloudMlV1__TrainingInputPtrType) ToGoogleCloudMlV1__TrainingInput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__TrainingInputPtrOutput) } +func (i *googleCloudMlV1__TrainingInputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__TrainingInput] { + return pulumix.Output[*GoogleCloudMlV1__TrainingInput]{ + OutputState: i.ToGoogleCloudMlV1__TrainingInputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents input parameters for a training job. When using the gcloud command to submit your training job, you can specify the input parameters as command-line arguments and/or in a YAML configuration file referenced from the --config command-line argument. For details, see the guide to [submitting a training job](/ai-platform/training/docs/training-jobs). type GoogleCloudMlV1__TrainingInputOutput struct{ *pulumi.OutputState } @@ -8431,6 +9692,12 @@ func (o GoogleCloudMlV1__TrainingInputOutput) ToGoogleCloudMlV1__TrainingInputPt }).(GoogleCloudMlV1__TrainingInputPtrOutput) } +func (o GoogleCloudMlV1__TrainingInputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__TrainingInput] { + return pulumix.Output[GoogleCloudMlV1__TrainingInput]{ + OutputState: o.OutputState, + } +} + // Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's `ENTRYPOINT` command. func (o GoogleCloudMlV1__TrainingInputOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1__TrainingInput) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -8575,6 +9842,12 @@ func (o GoogleCloudMlV1__TrainingInputPtrOutput) ToGoogleCloudMlV1__TrainingInpu return o } +func (o GoogleCloudMlV1__TrainingInputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__TrainingInput] { + return pulumix.Output[*GoogleCloudMlV1__TrainingInput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__TrainingInputPtrOutput) Elem() GoogleCloudMlV1__TrainingInputOutput { return o.ApplyT(func(v *GoogleCloudMlV1__TrainingInput) GoogleCloudMlV1__TrainingInput { if v != nil { @@ -8916,6 +10189,12 @@ func (o GoogleCloudMlV1__TrainingInputResponseOutput) ToGoogleCloudMlV1__Trainin return o } +func (o GoogleCloudMlV1__TrainingInputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__TrainingInputResponse] { + return pulumix.Output[GoogleCloudMlV1__TrainingInputResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Command-line arguments passed to the training application when it starts. If your job uses a custom container, then the arguments are passed to the container's `ENTRYPOINT` command. func (o GoogleCloudMlV1__TrainingInputResponseOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudMlV1__TrainingInputResponse) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -9119,6 +10398,12 @@ func (i GoogleCloudMlV1__TrainingOutputArgs) ToGoogleCloudMlV1__TrainingOutputOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__TrainingOutputOutput) } +func (i GoogleCloudMlV1__TrainingOutputArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__TrainingOutput] { + return pulumix.Output[GoogleCloudMlV1__TrainingOutput]{ + OutputState: i.ToGoogleCloudMlV1__TrainingOutputOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__TrainingOutputArgs) ToGoogleCloudMlV1__TrainingOutputPtrOutput() GoogleCloudMlV1__TrainingOutputPtrOutput { return i.ToGoogleCloudMlV1__TrainingOutputPtrOutputWithContext(context.Background()) } @@ -9160,6 +10445,12 @@ func (i *googleCloudMlV1__TrainingOutputPtrType) ToGoogleCloudMlV1__TrainingOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__TrainingOutputPtrOutput) } +func (i *googleCloudMlV1__TrainingOutputPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__TrainingOutput] { + return pulumix.Output[*GoogleCloudMlV1__TrainingOutput]{ + OutputState: i.ToGoogleCloudMlV1__TrainingOutputPtrOutputWithContext(ctx).OutputState, + } +} + // Represents results of a training job. Output only. type GoogleCloudMlV1__TrainingOutputOutput struct{ *pulumi.OutputState } @@ -9185,6 +10476,12 @@ func (o GoogleCloudMlV1__TrainingOutputOutput) ToGoogleCloudMlV1__TrainingOutput }).(GoogleCloudMlV1__TrainingOutputPtrOutput) } +func (o GoogleCloudMlV1__TrainingOutputOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__TrainingOutput] { + return pulumix.Output[GoogleCloudMlV1__TrainingOutput]{ + OutputState: o.OutputState, + } +} + // Details related to built-in algorithms jobs. Only set for built-in algorithms jobs. func (o GoogleCloudMlV1__TrainingOutputOutput) BuiltInAlgorithmOutput() GoogleCloudMlV1__BuiltInAlgorithmOutputPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__TrainingOutput) *GoogleCloudMlV1__BuiltInAlgorithmOutput { @@ -9236,6 +10533,12 @@ func (o GoogleCloudMlV1__TrainingOutputPtrOutput) ToGoogleCloudMlV1__TrainingOut return o } +func (o GoogleCloudMlV1__TrainingOutputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__TrainingOutput] { + return pulumix.Output[*GoogleCloudMlV1__TrainingOutput]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__TrainingOutputPtrOutput) Elem() GoogleCloudMlV1__TrainingOutputOutput { return o.ApplyT(func(v *GoogleCloudMlV1__TrainingOutput) GoogleCloudMlV1__TrainingOutput { if v != nil { @@ -9351,6 +10654,12 @@ func (o GoogleCloudMlV1__TrainingOutputResponseOutput) ToGoogleCloudMlV1__Traini return o } +func (o GoogleCloudMlV1__TrainingOutputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__TrainingOutputResponse] { + return pulumix.Output[GoogleCloudMlV1__TrainingOutputResponse]{ + OutputState: o.OutputState, + } +} + // Details related to built-in algorithms jobs. Only set for built-in algorithms jobs. func (o GoogleCloudMlV1__TrainingOutputResponseOutput) BuiltInAlgorithmOutput() GoogleCloudMlV1__BuiltInAlgorithmOutputResponseOutput { return o.ApplyT(func(v GoogleCloudMlV1__TrainingOutputResponse) GoogleCloudMlV1__BuiltInAlgorithmOutputResponse { @@ -9466,6 +10775,12 @@ func (o GoogleCloudMlV1__VersionResponseOutput) ToGoogleCloudMlV1__VersionRespon return o } +func (o GoogleCloudMlV1__VersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__VersionResponse] { + return pulumix.Output[GoogleCloudMlV1__VersionResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Accelerator config for using GPUs for online prediction (beta). Only specify this field if you have specified a Compute Engine (N1) machine type in the `machineType` field. Learn more about [using GPUs for online prediction](/ml-engine/docs/machine-types-online-prediction#gpus). func (o GoogleCloudMlV1__VersionResponseOutput) AcceleratorConfig() GoogleCloudMlV1__AcceleratorConfigResponseOutput { return o.ApplyT(func(v GoogleCloudMlV1__VersionResponse) GoogleCloudMlV1__AcceleratorConfigResponse { @@ -9639,6 +10954,12 @@ func (i GoogleCloudMlV1__XraiAttributionArgs) ToGoogleCloudMlV1__XraiAttribution return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__XraiAttributionOutput) } +func (i GoogleCloudMlV1__XraiAttributionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__XraiAttribution] { + return pulumix.Output[GoogleCloudMlV1__XraiAttribution]{ + OutputState: i.ToGoogleCloudMlV1__XraiAttributionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudMlV1__XraiAttributionArgs) ToGoogleCloudMlV1__XraiAttributionPtrOutput() GoogleCloudMlV1__XraiAttributionPtrOutput { return i.ToGoogleCloudMlV1__XraiAttributionPtrOutputWithContext(context.Background()) } @@ -9680,6 +11001,12 @@ func (i *googleCloudMlV1__XraiAttributionPtrType) ToGoogleCloudMlV1__XraiAttribu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudMlV1__XraiAttributionPtrOutput) } +func (i *googleCloudMlV1__XraiAttributionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__XraiAttribution] { + return pulumix.Output[*GoogleCloudMlV1__XraiAttribution]{ + OutputState: i.ToGoogleCloudMlV1__XraiAttributionPtrOutputWithContext(ctx).OutputState, + } +} + // Attributes credit by computing the XRAI taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Currently only implemented for models with natural image inputs. type GoogleCloudMlV1__XraiAttributionOutput struct{ *pulumi.OutputState } @@ -9705,6 +11032,12 @@ func (o GoogleCloudMlV1__XraiAttributionOutput) ToGoogleCloudMlV1__XraiAttributi }).(GoogleCloudMlV1__XraiAttributionPtrOutput) } +func (o GoogleCloudMlV1__XraiAttributionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__XraiAttribution] { + return pulumix.Output[GoogleCloudMlV1__XraiAttribution]{ + OutputState: o.OutputState, + } +} + // Number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. func (o GoogleCloudMlV1__XraiAttributionOutput) NumIntegralSteps() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudMlV1__XraiAttribution) *int { return v.NumIntegralSteps }).(pulumi.IntPtrOutput) @@ -9724,6 +11057,12 @@ func (o GoogleCloudMlV1__XraiAttributionPtrOutput) ToGoogleCloudMlV1__XraiAttrib return o } +func (o GoogleCloudMlV1__XraiAttributionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudMlV1__XraiAttribution] { + return pulumix.Output[*GoogleCloudMlV1__XraiAttribution]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudMlV1__XraiAttributionPtrOutput) Elem() GoogleCloudMlV1__XraiAttributionOutput { return o.ApplyT(func(v *GoogleCloudMlV1__XraiAttribution) GoogleCloudMlV1__XraiAttribution { if v != nil { @@ -9765,6 +11104,12 @@ func (o GoogleCloudMlV1__XraiAttributionResponseOutput) ToGoogleCloudMlV1__XraiA return o } +func (o GoogleCloudMlV1__XraiAttributionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudMlV1__XraiAttributionResponse] { + return pulumix.Output[GoogleCloudMlV1__XraiAttributionResponse]{ + OutputState: o.OutputState, + } +} + // Number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. func (o GoogleCloudMlV1__XraiAttributionResponseOutput) NumIntegralSteps() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudMlV1__XraiAttributionResponse) int { return v.NumIntegralSteps }).(pulumi.IntOutput) @@ -9809,6 +11154,12 @@ func (i GoogleIamV1__AuditConfigArgs) ToGoogleIamV1__AuditConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1__AuditConfigOutput) } +func (i GoogleIamV1__AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1__AuditConfig] { + return pulumix.Output[GoogleIamV1__AuditConfig]{ + OutputState: i.ToGoogleIamV1__AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1__AuditConfigArrayInput is an input type that accepts GoogleIamV1__AuditConfigArray and GoogleIamV1__AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1__AuditConfigArrayInput` via: // @@ -9834,6 +11185,12 @@ func (i GoogleIamV1__AuditConfigArray) ToGoogleIamV1__AuditConfigArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1__AuditConfigArrayOutput) } +func (i GoogleIamV1__AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1__AuditConfig] { + return pulumix.Output[[]GoogleIamV1__AuditConfig]{ + OutputState: i.ToGoogleIamV1__AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1__AuditConfigOutput struct{ *pulumi.OutputState } @@ -9849,6 +11206,12 @@ func (o GoogleIamV1__AuditConfigOutput) ToGoogleIamV1__AuditConfigOutputWithCont return o } +func (o GoogleIamV1__AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1__AuditConfig] { + return pulumix.Output[GoogleIamV1__AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1__AuditConfigOutput) AuditLogConfigs() GoogleIamV1__AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1__AuditConfig) []GoogleIamV1__AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1__AuditLogConfigArrayOutput) @@ -9873,6 +11236,12 @@ func (o GoogleIamV1__AuditConfigArrayOutput) ToGoogleIamV1__AuditConfigArrayOutp return o } +func (o GoogleIamV1__AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1__AuditConfig] { + return pulumix.Output[[]GoogleIamV1__AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1__AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1__AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1__AuditConfig { return vs[0].([]GoogleIamV1__AuditConfig)[vs[1].(int)] @@ -9902,6 +11271,12 @@ func (o GoogleIamV1__AuditConfigResponseOutput) ToGoogleIamV1__AuditConfigRespon return o } +func (o GoogleIamV1__AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1__AuditConfigResponse] { + return pulumix.Output[GoogleIamV1__AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1__AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1__AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1__AuditConfigResponse) []GoogleIamV1__AuditLogConfigResponse { @@ -9928,6 +11303,12 @@ func (o GoogleIamV1__AuditConfigResponseArrayOutput) ToGoogleIamV1__AuditConfigR return o } +func (o GoogleIamV1__AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1__AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1__AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1__AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1__AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1__AuditConfigResponse { return vs[0].([]GoogleIamV1__AuditConfigResponse)[vs[1].(int)] @@ -9973,6 +11354,12 @@ func (i GoogleIamV1__AuditLogConfigArgs) ToGoogleIamV1__AuditLogConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1__AuditLogConfigOutput) } +func (i GoogleIamV1__AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1__AuditLogConfig] { + return pulumix.Output[GoogleIamV1__AuditLogConfig]{ + OutputState: i.ToGoogleIamV1__AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1__AuditLogConfigArrayInput is an input type that accepts GoogleIamV1__AuditLogConfigArray and GoogleIamV1__AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1__AuditLogConfigArrayInput` via: // @@ -9998,6 +11385,12 @@ func (i GoogleIamV1__AuditLogConfigArray) ToGoogleIamV1__AuditLogConfigArrayOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1__AuditLogConfigArrayOutput) } +func (i GoogleIamV1__AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1__AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1__AuditLogConfig]{ + OutputState: i.ToGoogleIamV1__AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1__AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -10013,6 +11406,12 @@ func (o GoogleIamV1__AuditLogConfigOutput) ToGoogleIamV1__AuditLogConfigOutputWi return o } +func (o GoogleIamV1__AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1__AuditLogConfig] { + return pulumix.Output[GoogleIamV1__AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1__AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1__AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -10037,6 +11436,12 @@ func (o GoogleIamV1__AuditLogConfigArrayOutput) ToGoogleIamV1__AuditLogConfigArr return o } +func (o GoogleIamV1__AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1__AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1__AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1__AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1__AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1__AuditLogConfig { return vs[0].([]GoogleIamV1__AuditLogConfig)[vs[1].(int)] @@ -10066,6 +11471,12 @@ func (o GoogleIamV1__AuditLogConfigResponseOutput) ToGoogleIamV1__AuditLogConfig return o } +func (o GoogleIamV1__AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1__AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1__AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1__AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1__AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -10090,6 +11501,12 @@ func (o GoogleIamV1__AuditLogConfigResponseArrayOutput) ToGoogleIamV1__AuditLogC return o } +func (o GoogleIamV1__AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1__AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1__AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1__AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1__AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1__AuditLogConfigResponse { return vs[0].([]GoogleIamV1__AuditLogConfigResponse)[vs[1].(int)] @@ -10139,6 +11556,12 @@ func (i GoogleIamV1__BindingArgs) ToGoogleIamV1__BindingOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1__BindingOutput) } +func (i GoogleIamV1__BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1__Binding] { + return pulumix.Output[GoogleIamV1__Binding]{ + OutputState: i.ToGoogleIamV1__BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1__BindingArrayInput is an input type that accepts GoogleIamV1__BindingArray and GoogleIamV1__BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1__BindingArrayInput` via: // @@ -10164,6 +11587,12 @@ func (i GoogleIamV1__BindingArray) ToGoogleIamV1__BindingArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1__BindingArrayOutput) } +func (i GoogleIamV1__BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1__Binding] { + return pulumix.Output[[]GoogleIamV1__Binding]{ + OutputState: i.ToGoogleIamV1__BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1__BindingOutput struct{ *pulumi.OutputState } @@ -10179,6 +11608,12 @@ func (o GoogleIamV1__BindingOutput) ToGoogleIamV1__BindingOutputWithContext(ctx return o } +func (o GoogleIamV1__BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1__Binding] { + return pulumix.Output[GoogleIamV1__Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1__BindingOutput) Condition() GoogleType__ExprPtrOutput { return o.ApplyT(func(v GoogleIamV1__Binding) *GoogleType__Expr { return v.Condition }).(GoogleType__ExprPtrOutput) @@ -10208,6 +11643,12 @@ func (o GoogleIamV1__BindingArrayOutput) ToGoogleIamV1__BindingArrayOutputWithCo return o } +func (o GoogleIamV1__BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1__Binding] { + return pulumix.Output[[]GoogleIamV1__Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1__BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1__BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1__Binding { return vs[0].([]GoogleIamV1__Binding)[vs[1].(int)] @@ -10239,6 +11680,12 @@ func (o GoogleIamV1__BindingResponseOutput) ToGoogleIamV1__BindingResponseOutput return o } +func (o GoogleIamV1__BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1__BindingResponse] { + return pulumix.Output[GoogleIamV1__BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1__BindingResponseOutput) Condition() GoogleType__ExprResponseOutput { return o.ApplyT(func(v GoogleIamV1__BindingResponse) GoogleType__ExprResponse { return v.Condition }).(GoogleType__ExprResponseOutput) @@ -10268,6 +11715,12 @@ func (o GoogleIamV1__BindingResponseArrayOutput) ToGoogleIamV1__BindingResponseA return o } +func (o GoogleIamV1__BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1__BindingResponse] { + return pulumix.Output[[]GoogleIamV1__BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1__BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1__BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1__BindingResponse { return vs[0].([]GoogleIamV1__BindingResponse)[vs[1].(int)] @@ -10321,6 +11774,12 @@ func (i GoogleType__ExprArgs) ToGoogleType__ExprOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GoogleType__ExprOutput) } +func (i GoogleType__ExprArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleType__Expr] { + return pulumix.Output[GoogleType__Expr]{ + OutputState: i.ToGoogleType__ExprOutputWithContext(ctx).OutputState, + } +} + func (i GoogleType__ExprArgs) ToGoogleType__ExprPtrOutput() GoogleType__ExprPtrOutput { return i.ToGoogleType__ExprPtrOutputWithContext(context.Background()) } @@ -10362,6 +11821,12 @@ func (i *googleType__ExprPtrType) ToGoogleType__ExprPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GoogleType__ExprPtrOutput) } +func (i *googleType__ExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleType__Expr] { + return pulumix.Output[*GoogleType__Expr]{ + OutputState: i.ToGoogleType__ExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type GoogleType__ExprOutput struct{ *pulumi.OutputState } @@ -10387,6 +11852,12 @@ func (o GoogleType__ExprOutput) ToGoogleType__ExprPtrOutputWithContext(ctx conte }).(GoogleType__ExprPtrOutput) } +func (o GoogleType__ExprOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleType__Expr] { + return pulumix.Output[GoogleType__Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleType__ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleType__Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -10421,6 +11892,12 @@ func (o GoogleType__ExprPtrOutput) ToGoogleType__ExprPtrOutputWithContext(ctx co return o } +func (o GoogleType__ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleType__Expr] { + return pulumix.Output[*GoogleType__Expr]{ + OutputState: o.OutputState, + } +} + func (o GoogleType__ExprPtrOutput) Elem() GoogleType__ExprOutput { return o.ApplyT(func(v *GoogleType__Expr) GoogleType__Expr { if v != nil { @@ -10498,6 +11975,12 @@ func (o GoogleType__ExprResponseOutput) ToGoogleType__ExprResponseOutputWithCont return o } +func (o GoogleType__ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleType__ExprResponse] { + return pulumix.Output[GoogleType__ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleType__ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleType__ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/ml/v1/study.go b/sdk/go/google/ml/v1/study.go index 7ae0cc26d7..8b01b26385 100644 --- a/sdk/go/google/ml/v1/study.go +++ b/sdk/go/google/ml/v1/study.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a study. @@ -126,6 +127,12 @@ func (i *Study) ToStudyOutputWithContext(ctx context.Context) StudyOutput { return pulumi.ToOutputWithContext(ctx, i).(StudyOutput) } +func (i *Study) ToOutput(ctx context.Context) pulumix.Output[*Study] { + return pulumix.Output[*Study]{ + OutputState: i.ToStudyOutputWithContext(ctx).OutputState, + } +} + type StudyOutput struct{ *pulumi.OutputState } func (StudyOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o StudyOutput) ToStudyOutputWithContext(ctx context.Context) StudyOutput { return o } +func (o StudyOutput) ToOutput(ctx context.Context) pulumix.Output[*Study] { + return pulumix.Output[*Study]{ + OutputState: o.OutputState, + } +} + // Time at which the study was created. func (o StudyOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Study) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/ml/v1/trial.go b/sdk/go/google/ml/v1/trial.go index 39f296a07b..b34f15f357 100644 --- a/sdk/go/google/ml/v1/trial.go +++ b/sdk/go/google/ml/v1/trial.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Adds a user provided trial to a study. @@ -142,6 +143,12 @@ func (i *Trial) ToTrialOutputWithContext(ctx context.Context) TrialOutput { return pulumi.ToOutputWithContext(ctx, i).(TrialOutput) } +func (i *Trial) ToOutput(ctx context.Context) pulumix.Output[*Trial] { + return pulumix.Output[*Trial]{ + OutputState: i.ToTrialOutputWithContext(ctx).OutputState, + } +} + type TrialOutput struct{ *pulumi.OutputState } func (TrialOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o TrialOutput) ToTrialOutputWithContext(ctx context.Context) TrialOutput { return o } +func (o TrialOutput) ToOutput(ctx context.Context) pulumix.Output[*Trial] { + return pulumix.Output[*Trial]{ + OutputState: o.OutputState, + } +} + // The identifier of the client that originally requested this trial. func (o TrialOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v *Trial) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/google/ml/v1/version.go b/sdk/go/google/ml/v1/version.go index 9047fedaac..9d1b2aafdb 100644 --- a/sdk/go/google/ml/v1/version.go +++ b/sdk/go/google/ml/v1/version.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new version of a model from a trained TensorFlow model. If the version created in the cloud by this call is the first deployed version of the specified model, it will be made the default version of the model. When you add a version to a model that already has one or more versions, the default version does not automatically change. If you want a new version to be the default, you must call projects.models.versions.setDefault. @@ -235,6 +236,12 @@ func (i *Version) ToVersionOutputWithContext(ctx context.Context) VersionOutput return pulumi.ToOutputWithContext(ctx, i).(VersionOutput) } +func (i *Version) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: i.ToVersionOutputWithContext(ctx).OutputState, + } +} + type VersionOutput struct{ *pulumi.OutputState } func (VersionOutput) ElementType() reflect.Type { @@ -249,6 +256,12 @@ func (o VersionOutput) ToVersionOutputWithContext(ctx context.Context) VersionOu return o } +func (o VersionOutput) ToOutput(ctx context.Context) pulumix.Output[*Version] { + return pulumix.Output[*Version]{ + OutputState: o.OutputState, + } +} + // Optional. Accelerator config for using GPUs for online prediction (beta). Only specify this field if you have specified a Compute Engine (N1) machine type in the `machineType` field. Learn more about [using GPUs for online prediction](/ml-engine/docs/machine-types-online-prediction#gpus). func (o VersionOutput) AcceleratorConfig() GoogleCloudMlV1__AcceleratorConfigResponseOutput { return o.ApplyT(func(v *Version) GoogleCloudMlV1__AcceleratorConfigResponseOutput { return v.AcceleratorConfig }).(GoogleCloudMlV1__AcceleratorConfigResponseOutput) diff --git a/sdk/go/google/monitoring/v1/dashboard.go b/sdk/go/google/monitoring/v1/dashboard.go index 39853494bf..54b6752890 100644 --- a/sdk/go/google/monitoring/v1/dashboard.go +++ b/sdk/go/google/monitoring/v1/dashboard.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see Managing dashboards by API (https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the monitoring.dashboards.create permission on the specified project. For more information about permissions, see Cloud Identity and Access Management (https://cloud.google.com/iam). @@ -151,6 +152,12 @@ func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardO return pulumi.ToOutputWithContext(ctx, i).(DashboardOutput) } +func (i *Dashboard) ToOutput(ctx context.Context) pulumix.Output[*Dashboard] { + return pulumix.Output[*Dashboard]{ + OutputState: i.ToDashboardOutputWithContext(ctx).OutputState, + } +} + type DashboardOutput struct{ *pulumi.OutputState } func (DashboardOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) Dashb return o } +func (o DashboardOutput) ToOutput(ctx context.Context) pulumix.Output[*Dashboard] { + return pulumix.Output[*Dashboard]{ + OutputState: o.OutputState, + } +} + // The content is divided into equally spaced columns and the widgets are arranged vertically. func (o DashboardOutput) ColumnLayout() ColumnLayoutResponseOutput { return o.ApplyT(func(v *Dashboard) ColumnLayoutResponseOutput { return v.ColumnLayout }).(ColumnLayoutResponseOutput) diff --git a/sdk/go/google/monitoring/v1/getDashboard.go b/sdk/go/google/monitoring/v1/getDashboard.go index a402c388d7..7115418814 100644 --- a/sdk/go/google/monitoring/v1/getDashboard.go +++ b/sdk/go/google/monitoring/v1/getDashboard.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Fetches a specific dashboard.This method requires the monitoring.dashboards.get permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam). @@ -84,6 +85,12 @@ func (o LookupDashboardResultOutput) ToLookupDashboardResultOutputWithContext(ct return o } +func (o LookupDashboardResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDashboardResult] { + return pulumix.Output[LookupDashboardResult]{ + OutputState: o.OutputState, + } +} + // The content is divided into equally spaced columns and the widgets are arranged vertically. func (o LookupDashboardResultOutput) ColumnLayout() ColumnLayoutResponseOutput { return o.ApplyT(func(v LookupDashboardResult) ColumnLayoutResponse { return v.ColumnLayout }).(ColumnLayoutResponseOutput) diff --git a/sdk/go/google/monitoring/v1/pulumiEnums.go b/sdk/go/google/monitoring/v1/pulumiEnums.go index 69bb11bf50..1ab21d865f 100644 --- a/sdk/go/google/monitoring/v1/pulumiEnums.go +++ b/sdk/go/google/monitoring/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned. @@ -104,6 +105,12 @@ func (o AggregationCrossSeriesReducerOutput) ToAggregationCrossSeriesReducerPtrO }).(AggregationCrossSeriesReducerPtrOutput) } +func (o AggregationCrossSeriesReducerOutput) ToOutput(ctx context.Context) pulumix.Output[AggregationCrossSeriesReducer] { + return pulumix.Output[AggregationCrossSeriesReducer]{ + OutputState: o.OutputState, + } +} + func (o AggregationCrossSeriesReducerOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -139,6 +146,12 @@ func (o AggregationCrossSeriesReducerPtrOutput) ToAggregationCrossSeriesReducerP return o } +func (o AggregationCrossSeriesReducerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AggregationCrossSeriesReducer] { + return pulumix.Output[*AggregationCrossSeriesReducer]{ + OutputState: o.OutputState, + } +} + func (o AggregationCrossSeriesReducerPtrOutput) Elem() AggregationCrossSeriesReducerOutput { return o.ApplyT(func(v *AggregationCrossSeriesReducer) AggregationCrossSeriesReducer { if v != nil { @@ -201,6 +214,12 @@ func (in *aggregationCrossSeriesReducerPtr) ToAggregationCrossSeriesReducerPtrOu return pulumi.ToOutputWithContext(ctx, in).(AggregationCrossSeriesReducerPtrOutput) } +func (in *aggregationCrossSeriesReducerPtr) ToOutput(ctx context.Context) pulumix.Output[*AggregationCrossSeriesReducer] { + return pulumix.Output[*AggregationCrossSeriesReducer]{ + OutputState: in.ToAggregationCrossSeriesReducerPtrOutputWithContext(ctx).OutputState, + } +} + // An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned. type AggregationPerSeriesAligner string @@ -305,6 +324,12 @@ func (o AggregationPerSeriesAlignerOutput) ToAggregationPerSeriesAlignerPtrOutpu }).(AggregationPerSeriesAlignerPtrOutput) } +func (o AggregationPerSeriesAlignerOutput) ToOutput(ctx context.Context) pulumix.Output[AggregationPerSeriesAligner] { + return pulumix.Output[AggregationPerSeriesAligner]{ + OutputState: o.OutputState, + } +} + func (o AggregationPerSeriesAlignerOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -340,6 +365,12 @@ func (o AggregationPerSeriesAlignerPtrOutput) ToAggregationPerSeriesAlignerPtrOu return o } +func (o AggregationPerSeriesAlignerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AggregationPerSeriesAligner] { + return pulumix.Output[*AggregationPerSeriesAligner]{ + OutputState: o.OutputState, + } +} + func (o AggregationPerSeriesAlignerPtrOutput) Elem() AggregationPerSeriesAlignerOutput { return o.ApplyT(func(v *AggregationPerSeriesAligner) AggregationPerSeriesAligner { if v != nil { @@ -402,6 +433,12 @@ func (in *aggregationPerSeriesAlignerPtr) ToAggregationPerSeriesAlignerPtrOutput return pulumi.ToOutputWithContext(ctx, in).(AggregationPerSeriesAlignerPtrOutput) } +func (in *aggregationPerSeriesAlignerPtr) ToOutput(ctx context.Context) pulumix.Output[*AggregationPerSeriesAligner] { + return pulumix.Output[*AggregationPerSeriesAligner]{ + OutputState: in.ToAggregationPerSeriesAlignerPtrOutputWithContext(ctx).OutputState, + } +} + // The axis scale. By default, a linear scale is used. type AxisScale string @@ -474,6 +511,12 @@ func (o AxisScaleOutput) ToAxisScalePtrOutputWithContext(ctx context.Context) Ax }).(AxisScalePtrOutput) } +func (o AxisScaleOutput) ToOutput(ctx context.Context) pulumix.Output[AxisScale] { + return pulumix.Output[AxisScale]{ + OutputState: o.OutputState, + } +} + func (o AxisScaleOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -509,6 +552,12 @@ func (o AxisScalePtrOutput) ToAxisScalePtrOutputWithContext(ctx context.Context) return o } +func (o AxisScalePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AxisScale] { + return pulumix.Output[*AxisScale]{ + OutputState: o.OutputState, + } +} + func (o AxisScalePtrOutput) Elem() AxisScaleOutput { return o.ApplyT(func(v *AxisScale) AxisScale { if v != nil { @@ -571,6 +620,12 @@ func (in *axisScalePtr) ToAxisScalePtrOutputWithContext(ctx context.Context) Axi return pulumi.ToOutputWithContext(ctx, in).(AxisScalePtrOutput) } +func (in *axisScalePtr) ToOutput(ctx context.Context) pulumix.Output[*AxisScale] { + return pulumix.Output[*AxisScale]{ + OutputState: in.ToAxisScalePtrOutputWithContext(ctx).OutputState, + } +} + // The chart mode. type ChartOptionsMode string @@ -645,6 +700,12 @@ func (o ChartOptionsModeOutput) ToChartOptionsModePtrOutputWithContext(ctx conte }).(ChartOptionsModePtrOutput) } +func (o ChartOptionsModeOutput) ToOutput(ctx context.Context) pulumix.Output[ChartOptionsMode] { + return pulumix.Output[ChartOptionsMode]{ + OutputState: o.OutputState, + } +} + func (o ChartOptionsModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -680,6 +741,12 @@ func (o ChartOptionsModePtrOutput) ToChartOptionsModePtrOutputWithContext(ctx co return o } +func (o ChartOptionsModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ChartOptionsMode] { + return pulumix.Output[*ChartOptionsMode]{ + OutputState: o.OutputState, + } +} + func (o ChartOptionsModePtrOutput) Elem() ChartOptionsModeOutput { return o.ApplyT(func(v *ChartOptionsMode) ChartOptionsMode { if v != nil { @@ -742,6 +809,12 @@ func (in *chartOptionsModePtr) ToChartOptionsModePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(ChartOptionsModePtrOutput) } +func (in *chartOptionsModePtr) ToOutput(ctx context.Context) pulumix.Output[*ChartOptionsMode] { + return pulumix.Output[*ChartOptionsMode]{ + OutputState: in.ToChartOptionsModePtrOutputWithContext(ctx).OutputState, + } +} + // The specified filter type type DashboardFilterFilterType string @@ -820,6 +893,12 @@ func (o DashboardFilterFilterTypeOutput) ToDashboardFilterFilterTypePtrOutputWit }).(DashboardFilterFilterTypePtrOutput) } +func (o DashboardFilterFilterTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DashboardFilterFilterType] { + return pulumix.Output[DashboardFilterFilterType]{ + OutputState: o.OutputState, + } +} + func (o DashboardFilterFilterTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -855,6 +934,12 @@ func (o DashboardFilterFilterTypePtrOutput) ToDashboardFilterFilterTypePtrOutput return o } +func (o DashboardFilterFilterTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DashboardFilterFilterType] { + return pulumix.Output[*DashboardFilterFilterType]{ + OutputState: o.OutputState, + } +} + func (o DashboardFilterFilterTypePtrOutput) Elem() DashboardFilterFilterTypeOutput { return o.ApplyT(func(v *DashboardFilterFilterType) DashboardFilterFilterType { if v != nil { @@ -917,6 +1002,12 @@ func (in *dashboardFilterFilterTypePtr) ToDashboardFilterFilterTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(DashboardFilterFilterTypePtrOutput) } +func (in *dashboardFilterFilterTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DashboardFilterFilterType] { + return pulumix.Output[*DashboardFilterFilterType]{ + OutputState: in.ToDashboardFilterFilterTypePtrOutputWithContext(ctx).OutputState, + } +} + // How this data should be plotted on the chart. type DataSetPlotType string @@ -993,6 +1084,12 @@ func (o DataSetPlotTypeOutput) ToDataSetPlotTypePtrOutputWithContext(ctx context }).(DataSetPlotTypePtrOutput) } +func (o DataSetPlotTypeOutput) ToOutput(ctx context.Context) pulumix.Output[DataSetPlotType] { + return pulumix.Output[DataSetPlotType]{ + OutputState: o.OutputState, + } +} + func (o DataSetPlotTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1028,6 +1125,12 @@ func (o DataSetPlotTypePtrOutput) ToDataSetPlotTypePtrOutputWithContext(ctx cont return o } +func (o DataSetPlotTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataSetPlotType] { + return pulumix.Output[*DataSetPlotType]{ + OutputState: o.OutputState, + } +} + func (o DataSetPlotTypePtrOutput) Elem() DataSetPlotTypeOutput { return o.ApplyT(func(v *DataSetPlotType) DataSetPlotType { if v != nil { @@ -1090,6 +1193,12 @@ func (in *dataSetPlotTypePtr) ToDataSetPlotTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(DataSetPlotTypePtrOutput) } +func (in *dataSetPlotTypePtr) ToOutput(ctx context.Context) pulumix.Output[*DataSetPlotType] { + return pulumix.Output[*DataSetPlotType]{ + OutputState: in.ToDataSetPlotTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The target axis to use for plotting the metric. type DataSetTargetAxis string @@ -1162,6 +1271,12 @@ func (o DataSetTargetAxisOutput) ToDataSetTargetAxisPtrOutputWithContext(ctx con }).(DataSetTargetAxisPtrOutput) } +func (o DataSetTargetAxisOutput) ToOutput(ctx context.Context) pulumix.Output[DataSetTargetAxis] { + return pulumix.Output[DataSetTargetAxis]{ + OutputState: o.OutputState, + } +} + func (o DataSetTargetAxisOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1197,6 +1312,12 @@ func (o DataSetTargetAxisPtrOutput) ToDataSetTargetAxisPtrOutputWithContext(ctx return o } +func (o DataSetTargetAxisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataSetTargetAxis] { + return pulumix.Output[*DataSetTargetAxis]{ + OutputState: o.OutputState, + } +} + func (o DataSetTargetAxisPtrOutput) Elem() DataSetTargetAxisOutput { return o.ApplyT(func(v *DataSetTargetAxis) DataSetTargetAxis { if v != nil { @@ -1259,6 +1380,12 @@ func (in *dataSetTargetAxisPtr) ToDataSetTargetAxisPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(DataSetTargetAxisPtrOutput) } +func (in *dataSetTargetAxisPtr) ToOutput(ctx context.Context) pulumix.Output[*DataSetTargetAxis] { + return pulumix.Output[*DataSetTargetAxis]{ + OutputState: in.ToDataSetTargetAxisPtrOutputWithContext(ctx).OutputState, + } +} + // How to use the ranking to select time series that pass through the filter. type PickTimeSeriesFilterDirection string @@ -1331,6 +1458,12 @@ func (o PickTimeSeriesFilterDirectionOutput) ToPickTimeSeriesFilterDirectionPtrO }).(PickTimeSeriesFilterDirectionPtrOutput) } +func (o PickTimeSeriesFilterDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[PickTimeSeriesFilterDirection] { + return pulumix.Output[PickTimeSeriesFilterDirection]{ + OutputState: o.OutputState, + } +} + func (o PickTimeSeriesFilterDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1366,6 +1499,12 @@ func (o PickTimeSeriesFilterDirectionPtrOutput) ToPickTimeSeriesFilterDirectionP return o } +func (o PickTimeSeriesFilterDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PickTimeSeriesFilterDirection] { + return pulumix.Output[*PickTimeSeriesFilterDirection]{ + OutputState: o.OutputState, + } +} + func (o PickTimeSeriesFilterDirectionPtrOutput) Elem() PickTimeSeriesFilterDirectionOutput { return o.ApplyT(func(v *PickTimeSeriesFilterDirection) PickTimeSeriesFilterDirection { if v != nil { @@ -1428,6 +1567,12 @@ func (in *pickTimeSeriesFilterDirectionPtr) ToPickTimeSeriesFilterDirectionPtrOu return pulumi.ToOutputWithContext(ctx, in).(PickTimeSeriesFilterDirectionPtrOutput) } +func (in *pickTimeSeriesFilterDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*PickTimeSeriesFilterDirection] { + return pulumix.Output[*PickTimeSeriesFilterDirection]{ + OutputState: in.ToPickTimeSeriesFilterDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // ranking_method is applied to each time series independently to produce the value which will be used to compare the time series to other time series. type PickTimeSeriesFilterRankingMethod string @@ -1506,6 +1651,12 @@ func (o PickTimeSeriesFilterRankingMethodOutput) ToPickTimeSeriesFilterRankingMe }).(PickTimeSeriesFilterRankingMethodPtrOutput) } +func (o PickTimeSeriesFilterRankingMethodOutput) ToOutput(ctx context.Context) pulumix.Output[PickTimeSeriesFilterRankingMethod] { + return pulumix.Output[PickTimeSeriesFilterRankingMethod]{ + OutputState: o.OutputState, + } +} + func (o PickTimeSeriesFilterRankingMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1541,6 +1692,12 @@ func (o PickTimeSeriesFilterRankingMethodPtrOutput) ToPickTimeSeriesFilterRankin return o } +func (o PickTimeSeriesFilterRankingMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PickTimeSeriesFilterRankingMethod] { + return pulumix.Output[*PickTimeSeriesFilterRankingMethod]{ + OutputState: o.OutputState, + } +} + func (o PickTimeSeriesFilterRankingMethodPtrOutput) Elem() PickTimeSeriesFilterRankingMethodOutput { return o.ApplyT(func(v *PickTimeSeriesFilterRankingMethod) PickTimeSeriesFilterRankingMethod { if v != nil { @@ -1603,6 +1760,12 @@ func (in *pickTimeSeriesFilterRankingMethodPtr) ToPickTimeSeriesFilterRankingMet return pulumi.ToOutputWithContext(ctx, in).(PickTimeSeriesFilterRankingMethodPtrOutput) } +func (in *pickTimeSeriesFilterRankingMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*PickTimeSeriesFilterRankingMethod] { + return pulumix.Output[*PickTimeSeriesFilterRankingMethod]{ + OutputState: in.ToPickTimeSeriesFilterRankingMethodPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of sparkchart to show in this chartView. type SparkChartViewSparkChartType string @@ -1675,6 +1838,12 @@ func (o SparkChartViewSparkChartTypeOutput) ToSparkChartViewSparkChartTypePtrOut }).(SparkChartViewSparkChartTypePtrOutput) } +func (o SparkChartViewSparkChartTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SparkChartViewSparkChartType] { + return pulumix.Output[SparkChartViewSparkChartType]{ + OutputState: o.OutputState, + } +} + func (o SparkChartViewSparkChartTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1710,6 +1879,12 @@ func (o SparkChartViewSparkChartTypePtrOutput) ToSparkChartViewSparkChartTypePtr return o } +func (o SparkChartViewSparkChartTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkChartViewSparkChartType] { + return pulumix.Output[*SparkChartViewSparkChartType]{ + OutputState: o.OutputState, + } +} + func (o SparkChartViewSparkChartTypePtrOutput) Elem() SparkChartViewSparkChartTypeOutput { return o.ApplyT(func(v *SparkChartViewSparkChartType) SparkChartViewSparkChartType { if v != nil { @@ -1772,6 +1947,12 @@ func (in *sparkChartViewSparkChartTypePtr) ToSparkChartViewSparkChartTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(SparkChartViewSparkChartTypePtrOutput) } +func (in *sparkChartViewSparkChartTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SparkChartViewSparkChartType] { + return pulumix.Output[*SparkChartViewSparkChartType]{ + OutputState: in.ToSparkChartViewSparkChartTypePtrOutputWithContext(ctx).OutputState, + } +} + // rankingMethod is applied to a set of time series, and then the produced value for each individual time series is used to compare a given time series to others. These are methods that cannot be applied stream-by-stream, but rather require the full context of a request to evaluate time series. type StatisticalTimeSeriesFilterRankingMethod string @@ -1842,6 +2023,12 @@ func (o StatisticalTimeSeriesFilterRankingMethodOutput) ToStatisticalTimeSeriesF }).(StatisticalTimeSeriesFilterRankingMethodPtrOutput) } +func (o StatisticalTimeSeriesFilterRankingMethodOutput) ToOutput(ctx context.Context) pulumix.Output[StatisticalTimeSeriesFilterRankingMethod] { + return pulumix.Output[StatisticalTimeSeriesFilterRankingMethod]{ + OutputState: o.OutputState, + } +} + func (o StatisticalTimeSeriesFilterRankingMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1877,6 +2064,12 @@ func (o StatisticalTimeSeriesFilterRankingMethodPtrOutput) ToStatisticalTimeSeri return o } +func (o StatisticalTimeSeriesFilterRankingMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatisticalTimeSeriesFilterRankingMethod] { + return pulumix.Output[*StatisticalTimeSeriesFilterRankingMethod]{ + OutputState: o.OutputState, + } +} + func (o StatisticalTimeSeriesFilterRankingMethodPtrOutput) Elem() StatisticalTimeSeriesFilterRankingMethodOutput { return o.ApplyT(func(v *StatisticalTimeSeriesFilterRankingMethod) StatisticalTimeSeriesFilterRankingMethod { if v != nil { @@ -1939,6 +2132,12 @@ func (in *statisticalTimeSeriesFilterRankingMethodPtr) ToStatisticalTimeSeriesFi return pulumi.ToOutputWithContext(ctx, in).(StatisticalTimeSeriesFilterRankingMethodPtrOutput) } +func (in *statisticalTimeSeriesFilterRankingMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*StatisticalTimeSeriesFilterRankingMethod] { + return pulumix.Output[*StatisticalTimeSeriesFilterRankingMethod]{ + OutputState: in.ToStatisticalTimeSeriesFilterRankingMethodPtrOutputWithContext(ctx).OutputState, + } +} + // How the text content is formatted. type TextFormat string @@ -2011,6 +2210,12 @@ func (o TextFormatOutput) ToTextFormatPtrOutputWithContext(ctx context.Context) }).(TextFormatPtrOutput) } +func (o TextFormatOutput) ToOutput(ctx context.Context) pulumix.Output[TextFormat] { + return pulumix.Output[TextFormat]{ + OutputState: o.OutputState, + } +} + func (o TextFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2046,6 +2251,12 @@ func (o TextFormatPtrOutput) ToTextFormatPtrOutputWithContext(ctx context.Contex return o } +func (o TextFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TextFormat] { + return pulumix.Output[*TextFormat]{ + OutputState: o.OutputState, + } +} + func (o TextFormatPtrOutput) Elem() TextFormatOutput { return o.ApplyT(func(v *TextFormat) TextFormat { if v != nil { @@ -2108,6 +2319,12 @@ func (in *textFormatPtr) ToTextFormatPtrOutputWithContext(ctx context.Context) T return pulumi.ToOutputWithContext(ctx, in).(TextFormatPtrOutput) } +func (in *textFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*TextFormat] { + return pulumix.Output[*TextFormat]{ + OutputState: in.ToTextFormatPtrOutputWithContext(ctx).OutputState, + } +} + // The state color for this threshold. Color is not allowed in a XyChart. type ThresholdColor string @@ -2180,6 +2397,12 @@ func (o ThresholdColorOutput) ToThresholdColorPtrOutputWithContext(ctx context.C }).(ThresholdColorPtrOutput) } +func (o ThresholdColorOutput) ToOutput(ctx context.Context) pulumix.Output[ThresholdColor] { + return pulumix.Output[ThresholdColor]{ + OutputState: o.OutputState, + } +} + func (o ThresholdColorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2215,6 +2438,12 @@ func (o ThresholdColorPtrOutput) ToThresholdColorPtrOutputWithContext(ctx contex return o } +func (o ThresholdColorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ThresholdColor] { + return pulumix.Output[*ThresholdColor]{ + OutputState: o.OutputState, + } +} + func (o ThresholdColorPtrOutput) Elem() ThresholdColorOutput { return o.ApplyT(func(v *ThresholdColor) ThresholdColor { if v != nil { @@ -2277,6 +2506,12 @@ func (in *thresholdColorPtr) ToThresholdColorPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(ThresholdColorPtrOutput) } +func (in *thresholdColorPtr) ToOutput(ctx context.Context) pulumix.Output[*ThresholdColor] { + return pulumix.Output[*ThresholdColor]{ + OutputState: in.ToThresholdColorPtrOutputWithContext(ctx).OutputState, + } +} + // The direction for the current threshold. Direction is not allowed in a XyChart. type ThresholdDirection string @@ -2349,6 +2584,12 @@ func (o ThresholdDirectionOutput) ToThresholdDirectionPtrOutputWithContext(ctx c }).(ThresholdDirectionPtrOutput) } +func (o ThresholdDirectionOutput) ToOutput(ctx context.Context) pulumix.Output[ThresholdDirection] { + return pulumix.Output[ThresholdDirection]{ + OutputState: o.OutputState, + } +} + func (o ThresholdDirectionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2384,6 +2625,12 @@ func (o ThresholdDirectionPtrOutput) ToThresholdDirectionPtrOutputWithContext(ct return o } +func (o ThresholdDirectionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ThresholdDirection] { + return pulumix.Output[*ThresholdDirection]{ + OutputState: o.OutputState, + } +} + func (o ThresholdDirectionPtrOutput) Elem() ThresholdDirectionOutput { return o.ApplyT(func(v *ThresholdDirection) ThresholdDirection { if v != nil { @@ -2446,6 +2693,12 @@ func (in *thresholdDirectionPtr) ToThresholdDirectionPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ThresholdDirectionPtrOutput) } +func (in *thresholdDirectionPtr) ToOutput(ctx context.Context) pulumix.Output[*ThresholdDirection] { + return pulumix.Output[*ThresholdDirection]{ + OutputState: in.ToThresholdDirectionPtrOutputWithContext(ctx).OutputState, + } +} + // The target axis to use for plotting the threshold. Target axis is not allowed in a Scorecard. type ThresholdTargetAxis string @@ -2518,6 +2771,12 @@ func (o ThresholdTargetAxisOutput) ToThresholdTargetAxisPtrOutputWithContext(ctx }).(ThresholdTargetAxisPtrOutput) } +func (o ThresholdTargetAxisOutput) ToOutput(ctx context.Context) pulumix.Output[ThresholdTargetAxis] { + return pulumix.Output[ThresholdTargetAxis]{ + OutputState: o.OutputState, + } +} + func (o ThresholdTargetAxisOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2553,6 +2812,12 @@ func (o ThresholdTargetAxisPtrOutput) ToThresholdTargetAxisPtrOutputWithContext( return o } +func (o ThresholdTargetAxisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ThresholdTargetAxis] { + return pulumix.Output[*ThresholdTargetAxis]{ + OutputState: o.OutputState, + } +} + func (o ThresholdTargetAxisPtrOutput) Elem() ThresholdTargetAxisOutput { return o.ApplyT(func(v *ThresholdTargetAxis) ThresholdTargetAxis { if v != nil { @@ -2615,6 +2880,12 @@ func (in *thresholdTargetAxisPtr) ToThresholdTargetAxisPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ThresholdTargetAxisPtrOutput) } +func (in *thresholdTargetAxisPtr) ToOutput(ctx context.Context) pulumix.Output[*ThresholdTargetAxis] { + return pulumix.Output[*ThresholdTargetAxis]{ + OutputState: in.ToThresholdTargetAxisPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Store rendering strategy type TimeSeriesTableMetricVisualization string @@ -2687,6 +2958,12 @@ func (o TimeSeriesTableMetricVisualizationOutput) ToTimeSeriesTableMetricVisuali }).(TimeSeriesTableMetricVisualizationPtrOutput) } +func (o TimeSeriesTableMetricVisualizationOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesTableMetricVisualization] { + return pulumix.Output[TimeSeriesTableMetricVisualization]{ + OutputState: o.OutputState, + } +} + func (o TimeSeriesTableMetricVisualizationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2722,6 +2999,12 @@ func (o TimeSeriesTableMetricVisualizationPtrOutput) ToTimeSeriesTableMetricVisu return o } +func (o TimeSeriesTableMetricVisualizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesTableMetricVisualization] { + return pulumix.Output[*TimeSeriesTableMetricVisualization]{ + OutputState: o.OutputState, + } +} + func (o TimeSeriesTableMetricVisualizationPtrOutput) Elem() TimeSeriesTableMetricVisualizationOutput { return o.ApplyT(func(v *TimeSeriesTableMetricVisualization) TimeSeriesTableMetricVisualization { if v != nil { @@ -2784,6 +3067,12 @@ func (in *timeSeriesTableMetricVisualizationPtr) ToTimeSeriesTableMetricVisualiz return pulumi.ToOutputWithContext(ctx, in).(TimeSeriesTableMetricVisualizationPtrOutput) } +func (in *timeSeriesTableMetricVisualizationPtr) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesTableMetricVisualization] { + return pulumix.Output[*TimeSeriesTableMetricVisualization]{ + OutputState: in.ToTimeSeriesTableMetricVisualizationPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AggregationCrossSeriesReducerInput)(nil)).Elem(), AggregationCrossSeriesReducer("REDUCE_NONE")) pulumi.RegisterInputType(reflect.TypeOf((*AggregationCrossSeriesReducerPtrInput)(nil)).Elem(), AggregationCrossSeriesReducer("REDUCE_NONE")) diff --git a/sdk/go/google/monitoring/v1/pulumiTypes.go b/sdk/go/google/monitoring/v1/pulumiTypes.go index ed6e6debdf..a835b91cc8 100644 --- a/sdk/go/google/monitoring/v1/pulumiTypes.go +++ b/sdk/go/google/monitoring/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AggregationArgs) ToAggregationOutputWithContext(ctx context.Context) Agg return pulumi.ToOutputWithContext(ctx, i).(AggregationOutput) } +func (i AggregationArgs) ToOutput(ctx context.Context) pulumix.Output[Aggregation] { + return pulumix.Output[Aggregation]{ + OutputState: i.ToAggregationOutputWithContext(ctx).OutputState, + } +} + func (i AggregationArgs) ToAggregationPtrOutput() AggregationPtrOutput { return i.ToAggregationPtrOutputWithContext(context.Background()) } @@ -101,6 +108,12 @@ func (i *aggregationPtrType) ToAggregationPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AggregationPtrOutput) } +func (i *aggregationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Aggregation] { + return pulumix.Output[*Aggregation]{ + OutputState: i.ToAggregationPtrOutputWithContext(ctx).OutputState, + } +} + // Describes how to combine multiple time series to provide a different view of the data. Aggregation of time series is done in two steps. First, each time series in the set is aligned to the same time interval boundaries, then the set of time series is optionally reduced in number.Alignment consists of applying the per_series_aligner operation to each time series after its data has been divided into regular alignment_period time intervals. This process takes all of the data points in an alignment period, applies a mathematical transformation such as averaging, minimum, maximum, delta, etc., and converts them into a single data point per period.Reduction is when the aligned and transformed time series can optionally be combined, reducing the number of time series through similar mathematical transformations. Reduction involves applying a cross_series_reducer to all the time series, optionally sorting the time series into subsets with group_by_fields, and applying the reducer to each subset.The raw time series data can contain a huge amount of information from multiple sources. Alignment and reduction transforms this mass of data into a more manageable and representative collection of data, for example "the 95% latency across the average of all tasks in a cluster". This representative data can be more easily graphed and comprehended, and the individual time series data is still available for later drilldown. For more details, see Filtering and aggregation (https://cloud.google.com/monitoring/api/v3/aggregation). type AggregationOutput struct{ *pulumi.OutputState } @@ -126,6 +139,12 @@ func (o AggregationOutput) ToAggregationPtrOutputWithContext(ctx context.Context }).(AggregationPtrOutput) } +func (o AggregationOutput) ToOutput(ctx context.Context) pulumix.Output[Aggregation] { + return pulumix.Output[Aggregation]{ + OutputState: o.OutputState, + } +} + // The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 2 years, or 104 weeks. func (o AggregationOutput) AlignmentPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v Aggregation) *string { return v.AlignmentPeriod }).(pulumi.StringPtrOutput) @@ -160,6 +179,12 @@ func (o AggregationPtrOutput) ToAggregationPtrOutputWithContext(ctx context.Cont return o } +func (o AggregationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Aggregation] { + return pulumix.Output[*Aggregation]{ + OutputState: o.OutputState, + } +} + func (o AggregationPtrOutput) Elem() AggregationOutput { return o.ApplyT(func(v *Aggregation) Aggregation { if v != nil { @@ -237,6 +262,12 @@ func (o AggregationResponseOutput) ToAggregationResponseOutputWithContext(ctx co return o } +func (o AggregationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AggregationResponse] { + return pulumix.Output[AggregationResponse]{ + OutputState: o.OutputState, + } +} + // The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 2 years, or 104 weeks. func (o AggregationResponseOutput) AlignmentPeriod() pulumi.StringOutput { return o.ApplyT(func(v AggregationResponse) string { return v.AlignmentPeriod }).(pulumi.StringOutput) @@ -292,6 +323,12 @@ func (i AlertChartArgs) ToAlertChartOutputWithContext(ctx context.Context) Alert return pulumi.ToOutputWithContext(ctx, i).(AlertChartOutput) } +func (i AlertChartArgs) ToOutput(ctx context.Context) pulumix.Output[AlertChart] { + return pulumix.Output[AlertChart]{ + OutputState: i.ToAlertChartOutputWithContext(ctx).OutputState, + } +} + func (i AlertChartArgs) ToAlertChartPtrOutput() AlertChartPtrOutput { return i.ToAlertChartPtrOutputWithContext(context.Background()) } @@ -333,6 +370,12 @@ func (i *alertChartPtrType) ToAlertChartPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AlertChartPtrOutput) } +func (i *alertChartPtrType) ToOutput(ctx context.Context) pulumix.Output[*AlertChart] { + return pulumix.Output[*AlertChart]{ + OutputState: i.ToAlertChartPtrOutputWithContext(ctx).OutputState, + } +} + // A chart that displays alert policy data. type AlertChartOutput struct{ *pulumi.OutputState } @@ -358,6 +401,12 @@ func (o AlertChartOutput) ToAlertChartPtrOutputWithContext(ctx context.Context) }).(AlertChartPtrOutput) } +func (o AlertChartOutput) ToOutput(ctx context.Context) pulumix.Output[AlertChart] { + return pulumix.Output[AlertChart]{ + OutputState: o.OutputState, + } +} + // The resource name of the alert policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] func (o AlertChartOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v AlertChart) string { return v.Name }).(pulumi.StringOutput) @@ -377,6 +426,12 @@ func (o AlertChartPtrOutput) ToAlertChartPtrOutputWithContext(ctx context.Contex return o } +func (o AlertChartPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AlertChart] { + return pulumix.Output[*AlertChart]{ + OutputState: o.OutputState, + } +} + func (o AlertChartPtrOutput) Elem() AlertChartOutput { return o.ApplyT(func(v *AlertChart) AlertChart { if v != nil { @@ -418,6 +473,12 @@ func (o AlertChartResponseOutput) ToAlertChartResponseOutputWithContext(ctx cont return o } +func (o AlertChartResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AlertChartResponse] { + return pulumix.Output[AlertChartResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the alert policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] func (o AlertChartResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v AlertChartResponse) string { return v.Name }).(pulumi.StringOutput) @@ -462,6 +523,12 @@ func (i AxisArgs) ToAxisOutputWithContext(ctx context.Context) AxisOutput { return pulumi.ToOutputWithContext(ctx, i).(AxisOutput) } +func (i AxisArgs) ToOutput(ctx context.Context) pulumix.Output[Axis] { + return pulumix.Output[Axis]{ + OutputState: i.ToAxisOutputWithContext(ctx).OutputState, + } +} + func (i AxisArgs) ToAxisPtrOutput() AxisPtrOutput { return i.ToAxisPtrOutputWithContext(context.Background()) } @@ -503,6 +570,12 @@ func (i *axisPtrType) ToAxisPtrOutputWithContext(ctx context.Context) AxisPtrOut return pulumi.ToOutputWithContext(ctx, i).(AxisPtrOutput) } +func (i *axisPtrType) ToOutput(ctx context.Context) pulumix.Output[*Axis] { + return pulumix.Output[*Axis]{ + OutputState: i.ToAxisPtrOutputWithContext(ctx).OutputState, + } +} + // A chart axis. type AxisOutput struct{ *pulumi.OutputState } @@ -528,6 +601,12 @@ func (o AxisOutput) ToAxisPtrOutputWithContext(ctx context.Context) AxisPtrOutpu }).(AxisPtrOutput) } +func (o AxisOutput) ToOutput(ctx context.Context) pulumix.Output[Axis] { + return pulumix.Output[Axis]{ + OutputState: o.OutputState, + } +} + // The label of the axis. func (o AxisOutput) Label() pulumi.StringPtrOutput { return o.ApplyT(func(v Axis) *string { return v.Label }).(pulumi.StringPtrOutput) @@ -552,6 +631,12 @@ func (o AxisPtrOutput) ToAxisPtrOutputWithContext(ctx context.Context) AxisPtrOu return o } +func (o AxisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Axis] { + return pulumix.Output[*Axis]{ + OutputState: o.OutputState, + } +} + func (o AxisPtrOutput) Elem() AxisOutput { return o.ApplyT(func(v *Axis) Axis { if v != nil { @@ -605,6 +690,12 @@ func (o AxisResponseOutput) ToAxisResponseOutputWithContext(ctx context.Context) return o } +func (o AxisResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AxisResponse] { + return pulumix.Output[AxisResponse]{ + OutputState: o.OutputState, + } +} + // The label of the axis. func (o AxisResponseOutput) Label() pulumi.StringOutput { return o.ApplyT(func(v AxisResponse) string { return v.Label }).(pulumi.StringOutput) @@ -650,6 +741,12 @@ func (i ChartOptionsArgs) ToChartOptionsOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ChartOptionsOutput) } +func (i ChartOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ChartOptions] { + return pulumix.Output[ChartOptions]{ + OutputState: i.ToChartOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ChartOptionsArgs) ToChartOptionsPtrOutput() ChartOptionsPtrOutput { return i.ToChartOptionsPtrOutputWithContext(context.Background()) } @@ -691,6 +788,12 @@ func (i *chartOptionsPtrType) ToChartOptionsPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ChartOptionsPtrOutput) } +func (i *chartOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ChartOptions] { + return pulumix.Output[*ChartOptions]{ + OutputState: i.ToChartOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options to control visual rendering of a chart. type ChartOptionsOutput struct{ *pulumi.OutputState } @@ -716,6 +819,12 @@ func (o ChartOptionsOutput) ToChartOptionsPtrOutputWithContext(ctx context.Conte }).(ChartOptionsPtrOutput) } +func (o ChartOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ChartOptions] { + return pulumix.Output[ChartOptions]{ + OutputState: o.OutputState, + } +} + // The chart mode. func (o ChartOptionsOutput) Mode() ChartOptionsModePtrOutput { return o.ApplyT(func(v ChartOptions) *ChartOptionsMode { return v.Mode }).(ChartOptionsModePtrOutput) @@ -735,6 +844,12 @@ func (o ChartOptionsPtrOutput) ToChartOptionsPtrOutputWithContext(ctx context.Co return o } +func (o ChartOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ChartOptions] { + return pulumix.Output[*ChartOptions]{ + OutputState: o.OutputState, + } +} + func (o ChartOptionsPtrOutput) Elem() ChartOptionsOutput { return o.ApplyT(func(v *ChartOptions) ChartOptions { if v != nil { @@ -776,6 +891,12 @@ func (o ChartOptionsResponseOutput) ToChartOptionsResponseOutputWithContext(ctx return o } +func (o ChartOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ChartOptionsResponse] { + return pulumix.Output[ChartOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The chart mode. func (o ChartOptionsResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v ChartOptionsResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -816,6 +937,12 @@ func (i CollapsibleGroupArgs) ToCollapsibleGroupOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(CollapsibleGroupOutput) } +func (i CollapsibleGroupArgs) ToOutput(ctx context.Context) pulumix.Output[CollapsibleGroup] { + return pulumix.Output[CollapsibleGroup]{ + OutputState: i.ToCollapsibleGroupOutputWithContext(ctx).OutputState, + } +} + func (i CollapsibleGroupArgs) ToCollapsibleGroupPtrOutput() CollapsibleGroupPtrOutput { return i.ToCollapsibleGroupPtrOutputWithContext(context.Background()) } @@ -857,6 +984,12 @@ func (i *collapsibleGroupPtrType) ToCollapsibleGroupPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(CollapsibleGroupPtrOutput) } +func (i *collapsibleGroupPtrType) ToOutput(ctx context.Context) pulumix.Output[*CollapsibleGroup] { + return pulumix.Output[*CollapsibleGroup]{ + OutputState: i.ToCollapsibleGroupPtrOutputWithContext(ctx).OutputState, + } +} + // A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets. type CollapsibleGroupOutput struct{ *pulumi.OutputState } @@ -882,6 +1015,12 @@ func (o CollapsibleGroupOutput) ToCollapsibleGroupPtrOutputWithContext(ctx conte }).(CollapsibleGroupPtrOutput) } +func (o CollapsibleGroupOutput) ToOutput(ctx context.Context) pulumix.Output[CollapsibleGroup] { + return pulumix.Output[CollapsibleGroup]{ + OutputState: o.OutputState, + } +} + // The collapsed state of the widget on first page load. func (o CollapsibleGroupOutput) Collapsed() pulumi.BoolPtrOutput { return o.ApplyT(func(v CollapsibleGroup) *bool { return v.Collapsed }).(pulumi.BoolPtrOutput) @@ -901,6 +1040,12 @@ func (o CollapsibleGroupPtrOutput) ToCollapsibleGroupPtrOutputWithContext(ctx co return o } +func (o CollapsibleGroupPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CollapsibleGroup] { + return pulumix.Output[*CollapsibleGroup]{ + OutputState: o.OutputState, + } +} + func (o CollapsibleGroupPtrOutput) Elem() CollapsibleGroupOutput { return o.ApplyT(func(v *CollapsibleGroup) CollapsibleGroup { if v != nil { @@ -942,6 +1087,12 @@ func (o CollapsibleGroupResponseOutput) ToCollapsibleGroupResponseOutputWithCont return o } +func (o CollapsibleGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CollapsibleGroupResponse] { + return pulumix.Output[CollapsibleGroupResponse]{ + OutputState: o.OutputState, + } +} + // The collapsed state of the widget on first page load. func (o CollapsibleGroupResponseOutput) Collapsed() pulumi.BoolOutput { return o.ApplyT(func(v CollapsibleGroupResponse) bool { return v.Collapsed }).(pulumi.BoolOutput) @@ -986,6 +1137,12 @@ func (i ColumnArgs) ToColumnOutputWithContext(ctx context.Context) ColumnOutput return pulumi.ToOutputWithContext(ctx, i).(ColumnOutput) } +func (i ColumnArgs) ToOutput(ctx context.Context) pulumix.Output[Column] { + return pulumix.Output[Column]{ + OutputState: i.ToColumnOutputWithContext(ctx).OutputState, + } +} + // ColumnArrayInput is an input type that accepts ColumnArray and ColumnArrayOutput values. // You can construct a concrete instance of `ColumnArrayInput` via: // @@ -1011,6 +1168,12 @@ func (i ColumnArray) ToColumnArrayOutputWithContext(ctx context.Context) ColumnA return pulumi.ToOutputWithContext(ctx, i).(ColumnArrayOutput) } +func (i ColumnArray) ToOutput(ctx context.Context) pulumix.Output[[]Column] { + return pulumix.Output[[]Column]{ + OutputState: i.ToColumnArrayOutputWithContext(ctx).OutputState, + } +} + // Defines the layout properties and content for a column. type ColumnOutput struct{ *pulumi.OutputState } @@ -1026,6 +1189,12 @@ func (o ColumnOutput) ToColumnOutputWithContext(ctx context.Context) ColumnOutpu return o } +func (o ColumnOutput) ToOutput(ctx context.Context) pulumix.Output[Column] { + return pulumix.Output[Column]{ + OutputState: o.OutputState, + } +} + // The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering. func (o ColumnOutput) Weight() pulumi.StringPtrOutput { return o.ApplyT(func(v Column) *string { return v.Weight }).(pulumi.StringPtrOutput) @@ -1050,6 +1219,12 @@ func (o ColumnArrayOutput) ToColumnArrayOutputWithContext(ctx context.Context) C return o } +func (o ColumnArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Column] { + return pulumix.Output[[]Column]{ + OutputState: o.OutputState, + } +} + func (o ColumnArrayOutput) Index(i pulumi.IntInput) ColumnOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Column { return vs[0].([]Column)[vs[1].(int)] @@ -1091,6 +1266,12 @@ func (i ColumnLayoutArgs) ToColumnLayoutOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ColumnLayoutOutput) } +func (i ColumnLayoutArgs) ToOutput(ctx context.Context) pulumix.Output[ColumnLayout] { + return pulumix.Output[ColumnLayout]{ + OutputState: i.ToColumnLayoutOutputWithContext(ctx).OutputState, + } +} + func (i ColumnLayoutArgs) ToColumnLayoutPtrOutput() ColumnLayoutPtrOutput { return i.ToColumnLayoutPtrOutputWithContext(context.Background()) } @@ -1132,6 +1313,12 @@ func (i *columnLayoutPtrType) ToColumnLayoutPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ColumnLayoutPtrOutput) } +func (i *columnLayoutPtrType) ToOutput(ctx context.Context) pulumix.Output[*ColumnLayout] { + return pulumix.Output[*ColumnLayout]{ + OutputState: i.ToColumnLayoutPtrOutputWithContext(ctx).OutputState, + } +} + // A simplified layout that divides the available space into vertical columns and arranges a set of widgets vertically in each column. type ColumnLayoutOutput struct{ *pulumi.OutputState } @@ -1157,6 +1344,12 @@ func (o ColumnLayoutOutput) ToColumnLayoutPtrOutputWithContext(ctx context.Conte }).(ColumnLayoutPtrOutput) } +func (o ColumnLayoutOutput) ToOutput(ctx context.Context) pulumix.Output[ColumnLayout] { + return pulumix.Output[ColumnLayout]{ + OutputState: o.OutputState, + } +} + // The columns of content to display. func (o ColumnLayoutOutput) Columns() ColumnArrayOutput { return o.ApplyT(func(v ColumnLayout) []Column { return v.Columns }).(ColumnArrayOutput) @@ -1176,6 +1369,12 @@ func (o ColumnLayoutPtrOutput) ToColumnLayoutPtrOutputWithContext(ctx context.Co return o } +func (o ColumnLayoutPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ColumnLayout] { + return pulumix.Output[*ColumnLayout]{ + OutputState: o.OutputState, + } +} + func (o ColumnLayoutPtrOutput) Elem() ColumnLayoutOutput { return o.ApplyT(func(v *ColumnLayout) ColumnLayout { if v != nil { @@ -1217,6 +1416,12 @@ func (o ColumnLayoutResponseOutput) ToColumnLayoutResponseOutputWithContext(ctx return o } +func (o ColumnLayoutResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ColumnLayoutResponse] { + return pulumix.Output[ColumnLayoutResponse]{ + OutputState: o.OutputState, + } +} + // The columns of content to display. func (o ColumnLayoutResponseOutput) Columns() ColumnResponseArrayOutput { return o.ApplyT(func(v ColumnLayoutResponse) []ColumnResponse { return v.Columns }).(ColumnResponseArrayOutput) @@ -1245,6 +1450,12 @@ func (o ColumnResponseOutput) ToColumnResponseOutputWithContext(ctx context.Cont return o } +func (o ColumnResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ColumnResponse] { + return pulumix.Output[ColumnResponse]{ + OutputState: o.OutputState, + } +} + // The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering. func (o ColumnResponseOutput) Weight() pulumi.StringOutput { return o.ApplyT(func(v ColumnResponse) string { return v.Weight }).(pulumi.StringOutput) @@ -1269,6 +1480,12 @@ func (o ColumnResponseArrayOutput) ToColumnResponseArrayOutputWithContext(ctx co return o } +func (o ColumnResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ColumnResponse] { + return pulumix.Output[[]ColumnResponse]{ + OutputState: o.OutputState, + } +} + func (o ColumnResponseArrayOutput) Index(i pulumi.IntInput) ColumnResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ColumnResponse { return vs[0].([]ColumnResponse)[vs[1].(int)] @@ -1314,6 +1531,12 @@ func (i ColumnSettingsArgs) ToColumnSettingsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ColumnSettingsOutput) } +func (i ColumnSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ColumnSettings] { + return pulumix.Output[ColumnSettings]{ + OutputState: i.ToColumnSettingsOutputWithContext(ctx).OutputState, + } +} + // ColumnSettingsArrayInput is an input type that accepts ColumnSettingsArray and ColumnSettingsArrayOutput values. // You can construct a concrete instance of `ColumnSettingsArrayInput` via: // @@ -1339,6 +1562,12 @@ func (i ColumnSettingsArray) ToColumnSettingsArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ColumnSettingsArrayOutput) } +func (i ColumnSettingsArray) ToOutput(ctx context.Context) pulumix.Output[[]ColumnSettings] { + return pulumix.Output[[]ColumnSettings]{ + OutputState: i.ToColumnSettingsArrayOutputWithContext(ctx).OutputState, + } +} + // The persistent settings for a table's columns. type ColumnSettingsOutput struct{ *pulumi.OutputState } @@ -1354,6 +1583,12 @@ func (o ColumnSettingsOutput) ToColumnSettingsOutputWithContext(ctx context.Cont return o } +func (o ColumnSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ColumnSettings] { + return pulumix.Output[ColumnSettings]{ + OutputState: o.OutputState, + } +} + // The id of the column. func (o ColumnSettingsOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v ColumnSettings) string { return v.Column }).(pulumi.StringOutput) @@ -1378,6 +1613,12 @@ func (o ColumnSettingsArrayOutput) ToColumnSettingsArrayOutputWithContext(ctx co return o } +func (o ColumnSettingsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ColumnSettings] { + return pulumix.Output[[]ColumnSettings]{ + OutputState: o.OutputState, + } +} + func (o ColumnSettingsArrayOutput) Index(i pulumi.IntInput) ColumnSettingsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ColumnSettings { return vs[0].([]ColumnSettings)[vs[1].(int)] @@ -1407,6 +1648,12 @@ func (o ColumnSettingsResponseOutput) ToColumnSettingsResponseOutputWithContext( return o } +func (o ColumnSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ColumnSettingsResponse] { + return pulumix.Output[ColumnSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The id of the column. func (o ColumnSettingsResponseOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v ColumnSettingsResponse) string { return v.Column }).(pulumi.StringOutput) @@ -1431,6 +1678,12 @@ func (o ColumnSettingsResponseArrayOutput) ToColumnSettingsResponseArrayOutputWi return o } +func (o ColumnSettingsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ColumnSettingsResponse] { + return pulumix.Output[[]ColumnSettingsResponse]{ + OutputState: o.OutputState, + } +} + func (o ColumnSettingsResponseArrayOutput) Index(i pulumi.IntInput) ColumnSettingsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ColumnSettingsResponse { return vs[0].([]ColumnSettingsResponse)[vs[1].(int)] @@ -1484,6 +1737,12 @@ func (i DashboardFilterArgs) ToDashboardFilterOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DashboardFilterOutput) } +func (i DashboardFilterArgs) ToOutput(ctx context.Context) pulumix.Output[DashboardFilter] { + return pulumix.Output[DashboardFilter]{ + OutputState: i.ToDashboardFilterOutputWithContext(ctx).OutputState, + } +} + // DashboardFilterArrayInput is an input type that accepts DashboardFilterArray and DashboardFilterArrayOutput values. // You can construct a concrete instance of `DashboardFilterArrayInput` via: // @@ -1509,6 +1768,12 @@ func (i DashboardFilterArray) ToDashboardFilterArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DashboardFilterArrayOutput) } +func (i DashboardFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]DashboardFilter] { + return pulumix.Output[[]DashboardFilter]{ + OutputState: i.ToDashboardFilterArrayOutputWithContext(ctx).OutputState, + } +} + // A filter to reduce the amount of data charted in relevant widgets. type DashboardFilterOutput struct{ *pulumi.OutputState } @@ -1524,6 +1789,12 @@ func (o DashboardFilterOutput) ToDashboardFilterOutputWithContext(ctx context.Co return o } +func (o DashboardFilterOutput) ToOutput(ctx context.Context) pulumix.Output[DashboardFilter] { + return pulumix.Output[DashboardFilter]{ + OutputState: o.OutputState, + } +} + // The specified filter type func (o DashboardFilterOutput) FilterType() DashboardFilterFilterTypePtrOutput { return o.ApplyT(func(v DashboardFilter) *DashboardFilterFilterType { return v.FilterType }).(DashboardFilterFilterTypePtrOutput) @@ -1558,6 +1829,12 @@ func (o DashboardFilterArrayOutput) ToDashboardFilterArrayOutputWithContext(ctx return o } +func (o DashboardFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DashboardFilter] { + return pulumix.Output[[]DashboardFilter]{ + OutputState: o.OutputState, + } +} + func (o DashboardFilterArrayOutput) Index(i pulumi.IntInput) DashboardFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardFilter { return vs[0].([]DashboardFilter)[vs[1].(int)] @@ -1591,6 +1868,12 @@ func (o DashboardFilterResponseOutput) ToDashboardFilterResponseOutputWithContex return o } +func (o DashboardFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DashboardFilterResponse] { + return pulumix.Output[DashboardFilterResponse]{ + OutputState: o.OutputState, + } +} + // The specified filter type func (o DashboardFilterResponseOutput) FilterType() pulumi.StringOutput { return o.ApplyT(func(v DashboardFilterResponse) string { return v.FilterType }).(pulumi.StringOutput) @@ -1625,6 +1908,12 @@ func (o DashboardFilterResponseArrayOutput) ToDashboardFilterResponseArrayOutput return o } +func (o DashboardFilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DashboardFilterResponse] { + return pulumix.Output[[]DashboardFilterResponse]{ + OutputState: o.OutputState, + } +} + func (o DashboardFilterResponseArrayOutput) Index(i pulumi.IntInput) DashboardFilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardFilterResponse { return vs[0].([]DashboardFilterResponse)[vs[1].(int)] @@ -1682,6 +1971,12 @@ func (i DataSetArgs) ToDataSetOutputWithContext(ctx context.Context) DataSetOutp return pulumi.ToOutputWithContext(ctx, i).(DataSetOutput) } +func (i DataSetArgs) ToOutput(ctx context.Context) pulumix.Output[DataSet] { + return pulumix.Output[DataSet]{ + OutputState: i.ToDataSetOutputWithContext(ctx).OutputState, + } +} + // DataSetArrayInput is an input type that accepts DataSetArray and DataSetArrayOutput values. // You can construct a concrete instance of `DataSetArrayInput` via: // @@ -1707,6 +2002,12 @@ func (i DataSetArray) ToDataSetArrayOutputWithContext(ctx context.Context) DataS return pulumi.ToOutputWithContext(ctx, i).(DataSetArrayOutput) } +func (i DataSetArray) ToOutput(ctx context.Context) pulumix.Output[[]DataSet] { + return pulumix.Output[[]DataSet]{ + OutputState: i.ToDataSetArrayOutputWithContext(ctx).OutputState, + } +} + // Groups a time series query definition with charting options. type DataSetOutput struct{ *pulumi.OutputState } @@ -1722,6 +2023,12 @@ func (o DataSetOutput) ToDataSetOutputWithContext(ctx context.Context) DataSetOu return o } +func (o DataSetOutput) ToOutput(ctx context.Context) pulumix.Output[DataSet] { + return pulumix.Output[DataSet]{ + OutputState: o.OutputState, + } +} + // A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's value. func (o DataSetOutput) LegendTemplate() pulumi.StringPtrOutput { return o.ApplyT(func(v DataSet) *string { return v.LegendTemplate }).(pulumi.StringPtrOutput) @@ -1761,6 +2068,12 @@ func (o DataSetArrayOutput) ToDataSetArrayOutputWithContext(ctx context.Context) return o } +func (o DataSetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DataSet] { + return pulumix.Output[[]DataSet]{ + OutputState: o.OutputState, + } +} + func (o DataSetArrayOutput) Index(i pulumi.IntInput) DataSetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DataSet { return vs[0].([]DataSet)[vs[1].(int)] @@ -1796,6 +2109,12 @@ func (o DataSetResponseOutput) ToDataSetResponseOutputWithContext(ctx context.Co return o } +func (o DataSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataSetResponse] { + return pulumix.Output[DataSetResponse]{ + OutputState: o.OutputState, + } +} + // A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's value. func (o DataSetResponseOutput) LegendTemplate() pulumi.StringOutput { return o.ApplyT(func(v DataSetResponse) string { return v.LegendTemplate }).(pulumi.StringOutput) @@ -1835,6 +2154,12 @@ func (o DataSetResponseArrayOutput) ToDataSetResponseArrayOutputWithContext(ctx return o } +func (o DataSetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DataSetResponse] { + return pulumix.Output[[]DataSetResponse]{ + OutputState: o.OutputState, + } +} + func (o DataSetResponseArrayOutput) Index(i pulumi.IntInput) DataSetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DataSetResponse { return vs[0].([]DataSetResponse)[vs[1].(int)] @@ -1872,6 +2197,12 @@ func (i EmptyArgs) ToEmptyOutputWithContext(ctx context.Context) EmptyOutput { return pulumi.ToOutputWithContext(ctx, i).(EmptyOutput) } +func (i EmptyArgs) ToOutput(ctx context.Context) pulumix.Output[Empty] { + return pulumix.Output[Empty]{ + OutputState: i.ToEmptyOutputWithContext(ctx).OutputState, + } +} + func (i EmptyArgs) ToEmptyPtrOutput() EmptyPtrOutput { return i.ToEmptyPtrOutputWithContext(context.Background()) } @@ -1913,6 +2244,12 @@ func (i *emptyPtrType) ToEmptyPtrOutputWithContext(ctx context.Context) EmptyPtr return pulumi.ToOutputWithContext(ctx, i).(EmptyPtrOutput) } +func (i *emptyPtrType) ToOutput(ctx context.Context) pulumix.Output[*Empty] { + return pulumix.Output[*Empty]{ + OutputState: i.ToEmptyPtrOutputWithContext(ctx).OutputState, + } +} + // A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } type EmptyOutput struct{ *pulumi.OutputState } @@ -1938,6 +2275,12 @@ func (o EmptyOutput) ToEmptyPtrOutputWithContext(ctx context.Context) EmptyPtrOu }).(EmptyPtrOutput) } +func (o EmptyOutput) ToOutput(ctx context.Context) pulumix.Output[Empty] { + return pulumix.Output[Empty]{ + OutputState: o.OutputState, + } +} + type EmptyPtrOutput struct{ *pulumi.OutputState } func (EmptyPtrOutput) ElementType() reflect.Type { @@ -1952,6 +2295,12 @@ func (o EmptyPtrOutput) ToEmptyPtrOutputWithContext(ctx context.Context) EmptyPt return o } +func (o EmptyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Empty] { + return pulumix.Output[*Empty]{ + OutputState: o.OutputState, + } +} + func (o EmptyPtrOutput) Elem() EmptyOutput { return o.ApplyT(func(v *Empty) Empty { if v != nil { @@ -1981,6 +2330,12 @@ func (o EmptyResponseOutput) ToEmptyResponseOutputWithContext(ctx context.Contex return o } +func (o EmptyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EmptyResponse] { + return pulumix.Output[EmptyResponse]{ + OutputState: o.OutputState, + } +} + // A gauge chart shows where the current value sits within a pre-defined range. The upper and lower bounds should define the possible range of values for the scorecard's query (inclusive). type GaugeView struct { // The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this. @@ -2020,6 +2375,12 @@ func (i GaugeViewArgs) ToGaugeViewOutputWithContext(ctx context.Context) GaugeVi return pulumi.ToOutputWithContext(ctx, i).(GaugeViewOutput) } +func (i GaugeViewArgs) ToOutput(ctx context.Context) pulumix.Output[GaugeView] { + return pulumix.Output[GaugeView]{ + OutputState: i.ToGaugeViewOutputWithContext(ctx).OutputState, + } +} + func (i GaugeViewArgs) ToGaugeViewPtrOutput() GaugeViewPtrOutput { return i.ToGaugeViewPtrOutputWithContext(context.Background()) } @@ -2061,6 +2422,12 @@ func (i *gaugeViewPtrType) ToGaugeViewPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GaugeViewPtrOutput) } +func (i *gaugeViewPtrType) ToOutput(ctx context.Context) pulumix.Output[*GaugeView] { + return pulumix.Output[*GaugeView]{ + OutputState: i.ToGaugeViewPtrOutputWithContext(ctx).OutputState, + } +} + // A gauge chart shows where the current value sits within a pre-defined range. The upper and lower bounds should define the possible range of values for the scorecard's query (inclusive). type GaugeViewOutput struct{ *pulumi.OutputState } @@ -2086,6 +2453,12 @@ func (o GaugeViewOutput) ToGaugeViewPtrOutputWithContext(ctx context.Context) Ga }).(GaugeViewPtrOutput) } +func (o GaugeViewOutput) ToOutput(ctx context.Context) pulumix.Output[GaugeView] { + return pulumix.Output[GaugeView]{ + OutputState: o.OutputState, + } +} + // The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this. func (o GaugeViewOutput) LowerBound() pulumi.Float64PtrOutput { return o.ApplyT(func(v GaugeView) *float64 { return v.LowerBound }).(pulumi.Float64PtrOutput) @@ -2110,6 +2483,12 @@ func (o GaugeViewPtrOutput) ToGaugeViewPtrOutputWithContext(ctx context.Context) return o } +func (o GaugeViewPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GaugeView] { + return pulumix.Output[*GaugeView]{ + OutputState: o.OutputState, + } +} + func (o GaugeViewPtrOutput) Elem() GaugeViewOutput { return o.ApplyT(func(v *GaugeView) GaugeView { if v != nil { @@ -2163,6 +2542,12 @@ func (o GaugeViewResponseOutput) ToGaugeViewResponseOutputWithContext(ctx contex return o } +func (o GaugeViewResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GaugeViewResponse] { + return pulumix.Output[GaugeViewResponse]{ + OutputState: o.OutputState, + } +} + // The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this. func (o GaugeViewResponseOutput) LowerBound() pulumi.Float64Output { return o.ApplyT(func(v GaugeViewResponse) float64 { return v.LowerBound }).(pulumi.Float64Output) @@ -2212,6 +2597,12 @@ func (i GridLayoutArgs) ToGridLayoutOutputWithContext(ctx context.Context) GridL return pulumi.ToOutputWithContext(ctx, i).(GridLayoutOutput) } +func (i GridLayoutArgs) ToOutput(ctx context.Context) pulumix.Output[GridLayout] { + return pulumix.Output[GridLayout]{ + OutputState: i.ToGridLayoutOutputWithContext(ctx).OutputState, + } +} + func (i GridLayoutArgs) ToGridLayoutPtrOutput() GridLayoutPtrOutput { return i.ToGridLayoutPtrOutputWithContext(context.Background()) } @@ -2253,6 +2644,12 @@ func (i *gridLayoutPtrType) ToGridLayoutPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GridLayoutPtrOutput) } +func (i *gridLayoutPtrType) ToOutput(ctx context.Context) pulumix.Output[*GridLayout] { + return pulumix.Output[*GridLayout]{ + OutputState: i.ToGridLayoutPtrOutputWithContext(ctx).OutputState, + } +} + // A basic layout divides the available space into vertical columns of equal width and arranges a list of widgets using a row-first strategy. type GridLayoutOutput struct{ *pulumi.OutputState } @@ -2278,6 +2675,12 @@ func (o GridLayoutOutput) ToGridLayoutPtrOutputWithContext(ctx context.Context) }).(GridLayoutPtrOutput) } +func (o GridLayoutOutput) ToOutput(ctx context.Context) pulumix.Output[GridLayout] { + return pulumix.Output[GridLayout]{ + OutputState: o.OutputState, + } +} + // The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering. func (o GridLayoutOutput) Columns() pulumi.StringPtrOutput { return o.ApplyT(func(v GridLayout) *string { return v.Columns }).(pulumi.StringPtrOutput) @@ -2302,6 +2705,12 @@ func (o GridLayoutPtrOutput) ToGridLayoutPtrOutputWithContext(ctx context.Contex return o } +func (o GridLayoutPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GridLayout] { + return pulumix.Output[*GridLayout]{ + OutputState: o.OutputState, + } +} + func (o GridLayoutPtrOutput) Elem() GridLayoutOutput { return o.ApplyT(func(v *GridLayout) GridLayout { if v != nil { @@ -2355,6 +2764,12 @@ func (o GridLayoutResponseOutput) ToGridLayoutResponseOutputWithContext(ctx cont return o } +func (o GridLayoutResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GridLayoutResponse] { + return pulumix.Output[GridLayoutResponse]{ + OutputState: o.OutputState, + } +} + // The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering. func (o GridLayoutResponseOutput) Columns() pulumi.StringOutput { return o.ApplyT(func(v GridLayoutResponse) string { return v.Columns }).(pulumi.StringOutput) @@ -2404,6 +2819,12 @@ func (i IncidentListArgs) ToIncidentListOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(IncidentListOutput) } +func (i IncidentListArgs) ToOutput(ctx context.Context) pulumix.Output[IncidentList] { + return pulumix.Output[IncidentList]{ + OutputState: i.ToIncidentListOutputWithContext(ctx).OutputState, + } +} + func (i IncidentListArgs) ToIncidentListPtrOutput() IncidentListPtrOutput { return i.ToIncidentListPtrOutputWithContext(context.Background()) } @@ -2445,6 +2866,12 @@ func (i *incidentListPtrType) ToIncidentListPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(IncidentListPtrOutput) } +func (i *incidentListPtrType) ToOutput(ctx context.Context) pulumix.Output[*IncidentList] { + return pulumix.Output[*IncidentList]{ + OutputState: i.ToIncidentListPtrOutputWithContext(ctx).OutputState, + } +} + // A widget that displays a list of incidents type IncidentListOutput struct{ *pulumi.OutputState } @@ -2470,6 +2897,12 @@ func (o IncidentListOutput) ToIncidentListPtrOutputWithContext(ctx context.Conte }).(IncidentListPtrOutput) } +func (o IncidentListOutput) ToOutput(ctx context.Context) pulumix.Output[IncidentList] { + return pulumix.Output[IncidentList]{ + OutputState: o.OutputState, + } +} + // Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering. func (o IncidentListOutput) MonitoredResources() MonitoredResourceArrayOutput { return o.ApplyT(func(v IncidentList) []MonitoredResource { return v.MonitoredResources }).(MonitoredResourceArrayOutput) @@ -2494,6 +2927,12 @@ func (o IncidentListPtrOutput) ToIncidentListPtrOutputWithContext(ctx context.Co return o } +func (o IncidentListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IncidentList] { + return pulumix.Output[*IncidentList]{ + OutputState: o.OutputState, + } +} + func (o IncidentListPtrOutput) Elem() IncidentListOutput { return o.ApplyT(func(v *IncidentList) IncidentList { if v != nil { @@ -2547,6 +2986,12 @@ func (o IncidentListResponseOutput) ToIncidentListResponseOutputWithContext(ctx return o } +func (o IncidentListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IncidentListResponse] { + return pulumix.Output[IncidentListResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering. func (o IncidentListResponseOutput) MonitoredResources() MonitoredResourceResponseArrayOutput { return o.ApplyT(func(v IncidentListResponse) []MonitoredResourceResponse { return v.MonitoredResources }).(MonitoredResourceResponseArrayOutput) @@ -2596,6 +3041,12 @@ func (i LogsPanelArgs) ToLogsPanelOutputWithContext(ctx context.Context) LogsPan return pulumi.ToOutputWithContext(ctx, i).(LogsPanelOutput) } +func (i LogsPanelArgs) ToOutput(ctx context.Context) pulumix.Output[LogsPanel] { + return pulumix.Output[LogsPanel]{ + OutputState: i.ToLogsPanelOutputWithContext(ctx).OutputState, + } +} + func (i LogsPanelArgs) ToLogsPanelPtrOutput() LogsPanelPtrOutput { return i.ToLogsPanelPtrOutputWithContext(context.Background()) } @@ -2637,6 +3088,12 @@ func (i *logsPanelPtrType) ToLogsPanelPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LogsPanelPtrOutput) } +func (i *logsPanelPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogsPanel] { + return pulumix.Output[*LogsPanel]{ + OutputState: i.ToLogsPanelPtrOutputWithContext(ctx).OutputState, + } +} + // A widget that displays a stream of log. type LogsPanelOutput struct{ *pulumi.OutputState } @@ -2662,6 +3119,12 @@ func (o LogsPanelOutput) ToLogsPanelPtrOutputWithContext(ctx context.Context) Lo }).(LogsPanelPtrOutput) } +func (o LogsPanelOutput) ToOutput(ctx context.Context) pulumix.Output[LogsPanel] { + return pulumix.Output[LogsPanel]{ + OutputState: o.OutputState, + } +} + // A filter that chooses which log entries to return. See Advanced Logs Queries (https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries. func (o LogsPanelOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v LogsPanel) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -2686,6 +3149,12 @@ func (o LogsPanelPtrOutput) ToLogsPanelPtrOutputWithContext(ctx context.Context) return o } +func (o LogsPanelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogsPanel] { + return pulumix.Output[*LogsPanel]{ + OutputState: o.OutputState, + } +} + func (o LogsPanelPtrOutput) Elem() LogsPanelOutput { return o.ApplyT(func(v *LogsPanel) LogsPanel { if v != nil { @@ -2739,6 +3208,12 @@ func (o LogsPanelResponseOutput) ToLogsPanelResponseOutputWithContext(ctx contex return o } +func (o LogsPanelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogsPanelResponse] { + return pulumix.Output[LogsPanelResponse]{ + OutputState: o.OutputState, + } +} + // A filter that chooses which log entries to return. See Advanced Logs Queries (https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries. func (o LogsPanelResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v LogsPanelResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -2788,6 +3263,12 @@ func (i MonitoredResourceArgs) ToMonitoredResourceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MonitoredResourceOutput) } +func (i MonitoredResourceArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoredResource] { + return pulumix.Output[MonitoredResource]{ + OutputState: i.ToMonitoredResourceOutputWithContext(ctx).OutputState, + } +} + // MonitoredResourceArrayInput is an input type that accepts MonitoredResourceArray and MonitoredResourceArrayOutput values. // You can construct a concrete instance of `MonitoredResourceArrayInput` via: // @@ -2813,6 +3294,12 @@ func (i MonitoredResourceArray) ToMonitoredResourceArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(MonitoredResourceArrayOutput) } +func (i MonitoredResourceArray) ToOutput(ctx context.Context) pulumix.Output[[]MonitoredResource] { + return pulumix.Output[[]MonitoredResource]{ + OutputState: i.ToMonitoredResourceArrayOutputWithContext(ctx).OutputState, + } +} + // An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "instance_id" and "zone": { "type": "gce_instance", "labels": { "project_id": "my-project", "instance_id": "12345678901234", "zone": "us-central1-a" }} type MonitoredResourceOutput struct{ *pulumi.OutputState } @@ -2828,6 +3315,12 @@ func (o MonitoredResourceOutput) ToMonitoredResourceOutputWithContext(ctx contex return o } +func (o MonitoredResourceOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoredResource] { + return pulumix.Output[MonitoredResource]{ + OutputState: o.OutputState, + } +} + // Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone". func (o MonitoredResourceOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v MonitoredResource) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -2852,6 +3345,12 @@ func (o MonitoredResourceArrayOutput) ToMonitoredResourceArrayOutputWithContext( return o } +func (o MonitoredResourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MonitoredResource] { + return pulumix.Output[[]MonitoredResource]{ + OutputState: o.OutputState, + } +} + func (o MonitoredResourceArrayOutput) Index(i pulumi.IntInput) MonitoredResourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitoredResource { return vs[0].([]MonitoredResource)[vs[1].(int)] @@ -2881,6 +3380,12 @@ func (o MonitoredResourceResponseOutput) ToMonitoredResourceResponseOutputWithCo return o } +func (o MonitoredResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoredResourceResponse] { + return pulumix.Output[MonitoredResourceResponse]{ + OutputState: o.OutputState, + } +} + // Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone". func (o MonitoredResourceResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v MonitoredResourceResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -2905,6 +3410,12 @@ func (o MonitoredResourceResponseArrayOutput) ToMonitoredResourceResponseArrayOu return o } +func (o MonitoredResourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MonitoredResourceResponse] { + return pulumix.Output[[]MonitoredResourceResponse]{ + OutputState: o.OutputState, + } +} + func (o MonitoredResourceResponseArrayOutput) Index(i pulumi.IntInput) MonitoredResourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitoredResourceResponse { return vs[0].([]MonitoredResourceResponse)[vs[1].(int)] @@ -2950,6 +3461,12 @@ func (i MosaicLayoutArgs) ToMosaicLayoutOutputWithContext(ctx context.Context) M return pulumi.ToOutputWithContext(ctx, i).(MosaicLayoutOutput) } +func (i MosaicLayoutArgs) ToOutput(ctx context.Context) pulumix.Output[MosaicLayout] { + return pulumix.Output[MosaicLayout]{ + OutputState: i.ToMosaicLayoutOutputWithContext(ctx).OutputState, + } +} + func (i MosaicLayoutArgs) ToMosaicLayoutPtrOutput() MosaicLayoutPtrOutput { return i.ToMosaicLayoutPtrOutputWithContext(context.Background()) } @@ -2991,6 +3508,12 @@ func (i *mosaicLayoutPtrType) ToMosaicLayoutPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(MosaicLayoutPtrOutput) } +func (i *mosaicLayoutPtrType) ToOutput(ctx context.Context) pulumix.Output[*MosaicLayout] { + return pulumix.Output[*MosaicLayout]{ + OutputState: i.ToMosaicLayoutPtrOutputWithContext(ctx).OutputState, + } +} + // A mosaic layout divides the available space into a grid of blocks, and overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid blocks and can be placed at arbitrary locations in the grid. type MosaicLayoutOutput struct{ *pulumi.OutputState } @@ -3016,6 +3539,12 @@ func (o MosaicLayoutOutput) ToMosaicLayoutPtrOutputWithContext(ctx context.Conte }).(MosaicLayoutPtrOutput) } +func (o MosaicLayoutOutput) ToOutput(ctx context.Context) pulumix.Output[MosaicLayout] { + return pulumix.Output[MosaicLayout]{ + OutputState: o.OutputState, + } +} + // The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive. func (o MosaicLayoutOutput) Columns() pulumi.IntPtrOutput { return o.ApplyT(func(v MosaicLayout) *int { return v.Columns }).(pulumi.IntPtrOutput) @@ -3040,6 +3569,12 @@ func (o MosaicLayoutPtrOutput) ToMosaicLayoutPtrOutputWithContext(ctx context.Co return o } +func (o MosaicLayoutPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MosaicLayout] { + return pulumix.Output[*MosaicLayout]{ + OutputState: o.OutputState, + } +} + func (o MosaicLayoutPtrOutput) Elem() MosaicLayoutOutput { return o.ApplyT(func(v *MosaicLayout) MosaicLayout { if v != nil { @@ -3093,6 +3628,12 @@ func (o MosaicLayoutResponseOutput) ToMosaicLayoutResponseOutputWithContext(ctx return o } +func (o MosaicLayoutResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MosaicLayoutResponse] { + return pulumix.Output[MosaicLayoutResponse]{ + OutputState: o.OutputState, + } +} + // The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive. func (o MosaicLayoutResponseOutput) Columns() pulumi.IntOutput { return o.ApplyT(func(v MosaicLayoutResponse) int { return v.Columns }).(pulumi.IntOutput) @@ -3146,6 +3687,12 @@ func (i PickTimeSeriesFilterArgs) ToPickTimeSeriesFilterOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PickTimeSeriesFilterOutput) } +func (i PickTimeSeriesFilterArgs) ToOutput(ctx context.Context) pulumix.Output[PickTimeSeriesFilter] { + return pulumix.Output[PickTimeSeriesFilter]{ + OutputState: i.ToPickTimeSeriesFilterOutputWithContext(ctx).OutputState, + } +} + func (i PickTimeSeriesFilterArgs) ToPickTimeSeriesFilterPtrOutput() PickTimeSeriesFilterPtrOutput { return i.ToPickTimeSeriesFilterPtrOutputWithContext(context.Background()) } @@ -3187,6 +3734,12 @@ func (i *pickTimeSeriesFilterPtrType) ToPickTimeSeriesFilterPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PickTimeSeriesFilterPtrOutput) } +func (i *pickTimeSeriesFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*PickTimeSeriesFilter] { + return pulumix.Output[*PickTimeSeriesFilter]{ + OutputState: i.ToPickTimeSeriesFilterPtrOutputWithContext(ctx).OutputState, + } +} + // Describes a ranking-based time series filter. Each input time series is ranked with an aligner. The filter will allow up to num_time_series time series to pass through it, selecting them based on the relative ranking.For example, if ranking_method is METHOD_MEAN,direction is BOTTOM, and num_time_series is 3, then the 3 times series with the lowest mean values will pass through the filter. type PickTimeSeriesFilterOutput struct{ *pulumi.OutputState } @@ -3212,6 +3765,12 @@ func (o PickTimeSeriesFilterOutput) ToPickTimeSeriesFilterPtrOutputWithContext(c }).(PickTimeSeriesFilterPtrOutput) } +func (o PickTimeSeriesFilterOutput) ToOutput(ctx context.Context) pulumix.Output[PickTimeSeriesFilter] { + return pulumix.Output[PickTimeSeriesFilter]{ + OutputState: o.OutputState, + } +} + // How to use the ranking to select time series that pass through the filter. func (o PickTimeSeriesFilterOutput) Direction() PickTimeSeriesFilterDirectionPtrOutput { return o.ApplyT(func(v PickTimeSeriesFilter) *PickTimeSeriesFilterDirection { return v.Direction }).(PickTimeSeriesFilterDirectionPtrOutput) @@ -3241,6 +3800,12 @@ func (o PickTimeSeriesFilterPtrOutput) ToPickTimeSeriesFilterPtrOutputWithContex return o } +func (o PickTimeSeriesFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PickTimeSeriesFilter] { + return pulumix.Output[*PickTimeSeriesFilter]{ + OutputState: o.OutputState, + } +} + func (o PickTimeSeriesFilterPtrOutput) Elem() PickTimeSeriesFilterOutput { return o.ApplyT(func(v *PickTimeSeriesFilter) PickTimeSeriesFilter { if v != nil { @@ -3306,6 +3871,12 @@ func (o PickTimeSeriesFilterResponseOutput) ToPickTimeSeriesFilterResponseOutput return o } +func (o PickTimeSeriesFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PickTimeSeriesFilterResponse] { + return pulumix.Output[PickTimeSeriesFilterResponse]{ + OutputState: o.OutputState, + } +} + // How to use the ranking to select time series that pass through the filter. func (o PickTimeSeriesFilterResponseOutput) Direction() pulumi.StringOutput { return o.ApplyT(func(v PickTimeSeriesFilterResponse) string { return v.Direction }).(pulumi.StringOutput) @@ -3360,6 +3931,12 @@ func (i RatioPartArgs) ToRatioPartOutputWithContext(ctx context.Context) RatioPa return pulumi.ToOutputWithContext(ctx, i).(RatioPartOutput) } +func (i RatioPartArgs) ToOutput(ctx context.Context) pulumix.Output[RatioPart] { + return pulumix.Output[RatioPart]{ + OutputState: i.ToRatioPartOutputWithContext(ctx).OutputState, + } +} + func (i RatioPartArgs) ToRatioPartPtrOutput() RatioPartPtrOutput { return i.ToRatioPartPtrOutputWithContext(context.Background()) } @@ -3401,6 +3978,12 @@ func (i *ratioPartPtrType) ToRatioPartPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RatioPartPtrOutput) } +func (i *ratioPartPtrType) ToOutput(ctx context.Context) pulumix.Output[*RatioPart] { + return pulumix.Output[*RatioPart]{ + OutputState: i.ToRatioPartPtrOutputWithContext(ctx).OutputState, + } +} + // Describes a query to build the numerator or denominator of a TimeSeriesFilterRatio. type RatioPartOutput struct{ *pulumi.OutputState } @@ -3426,6 +4009,12 @@ func (o RatioPartOutput) ToRatioPartPtrOutputWithContext(ctx context.Context) Ra }).(RatioPartPtrOutput) } +func (o RatioPartOutput) ToOutput(ctx context.Context) pulumix.Output[RatioPart] { + return pulumix.Output[RatioPart]{ + OutputState: o.OutputState, + } +} + // By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. func (o RatioPartOutput) Aggregation() AggregationPtrOutput { return o.ApplyT(func(v RatioPart) *Aggregation { return v.Aggregation }).(AggregationPtrOutput) @@ -3450,6 +4039,12 @@ func (o RatioPartPtrOutput) ToRatioPartPtrOutputWithContext(ctx context.Context) return o } +func (o RatioPartPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RatioPart] { + return pulumix.Output[*RatioPart]{ + OutputState: o.OutputState, + } +} + func (o RatioPartPtrOutput) Elem() RatioPartOutput { return o.ApplyT(func(v *RatioPart) RatioPart { if v != nil { @@ -3503,6 +4098,12 @@ func (o RatioPartResponseOutput) ToRatioPartResponseOutputWithContext(ctx contex return o } +func (o RatioPartResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RatioPartResponse] { + return pulumix.Output[RatioPartResponse]{ + OutputState: o.OutputState, + } +} + // By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. func (o RatioPartResponseOutput) Aggregation() AggregationResponseOutput { return o.ApplyT(func(v RatioPartResponse) AggregationResponse { return v.Aggregation }).(AggregationResponseOutput) @@ -3552,6 +4153,12 @@ func (i RowArgs) ToRowOutputWithContext(ctx context.Context) RowOutput { return pulumi.ToOutputWithContext(ctx, i).(RowOutput) } +func (i RowArgs) ToOutput(ctx context.Context) pulumix.Output[Row] { + return pulumix.Output[Row]{ + OutputState: i.ToRowOutputWithContext(ctx).OutputState, + } +} + // RowArrayInput is an input type that accepts RowArray and RowArrayOutput values. // You can construct a concrete instance of `RowArrayInput` via: // @@ -3577,6 +4184,12 @@ func (i RowArray) ToRowArrayOutputWithContext(ctx context.Context) RowArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(RowArrayOutput) } +func (i RowArray) ToOutput(ctx context.Context) pulumix.Output[[]Row] { + return pulumix.Output[[]Row]{ + OutputState: i.ToRowArrayOutputWithContext(ctx).OutputState, + } +} + // Defines the layout properties and content for a row. type RowOutput struct{ *pulumi.OutputState } @@ -3592,6 +4205,12 @@ func (o RowOutput) ToRowOutputWithContext(ctx context.Context) RowOutput { return o } +func (o RowOutput) ToOutput(ctx context.Context) pulumix.Output[Row] { + return pulumix.Output[Row]{ + OutputState: o.OutputState, + } +} + // The relative weight of this row. The row weight is used to adjust the height of rows on the screen (relative to peers). Greater the weight, greater the height of the row on the screen. If omitted, a value of 1 is used while rendering. func (o RowOutput) Weight() pulumi.StringPtrOutput { return o.ApplyT(func(v Row) *string { return v.Weight }).(pulumi.StringPtrOutput) @@ -3616,6 +4235,12 @@ func (o RowArrayOutput) ToRowArrayOutputWithContext(ctx context.Context) RowArra return o } +func (o RowArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Row] { + return pulumix.Output[[]Row]{ + OutputState: o.OutputState, + } +} + func (o RowArrayOutput) Index(i pulumi.IntInput) RowOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Row { return vs[0].([]Row)[vs[1].(int)] @@ -3657,6 +4282,12 @@ func (i RowLayoutArgs) ToRowLayoutOutputWithContext(ctx context.Context) RowLayo return pulumi.ToOutputWithContext(ctx, i).(RowLayoutOutput) } +func (i RowLayoutArgs) ToOutput(ctx context.Context) pulumix.Output[RowLayout] { + return pulumix.Output[RowLayout]{ + OutputState: i.ToRowLayoutOutputWithContext(ctx).OutputState, + } +} + func (i RowLayoutArgs) ToRowLayoutPtrOutput() RowLayoutPtrOutput { return i.ToRowLayoutPtrOutputWithContext(context.Background()) } @@ -3698,6 +4329,12 @@ func (i *rowLayoutPtrType) ToRowLayoutPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RowLayoutPtrOutput) } +func (i *rowLayoutPtrType) ToOutput(ctx context.Context) pulumix.Output[*RowLayout] { + return pulumix.Output[*RowLayout]{ + OutputState: i.ToRowLayoutPtrOutputWithContext(ctx).OutputState, + } +} + // A simplified layout that divides the available space into rows and arranges a set of widgets horizontally in each row. type RowLayoutOutput struct{ *pulumi.OutputState } @@ -3723,6 +4360,12 @@ func (o RowLayoutOutput) ToRowLayoutPtrOutputWithContext(ctx context.Context) Ro }).(RowLayoutPtrOutput) } +func (o RowLayoutOutput) ToOutput(ctx context.Context) pulumix.Output[RowLayout] { + return pulumix.Output[RowLayout]{ + OutputState: o.OutputState, + } +} + // The rows of content to display. func (o RowLayoutOutput) Rows() RowArrayOutput { return o.ApplyT(func(v RowLayout) []Row { return v.Rows }).(RowArrayOutput) @@ -3742,6 +4385,12 @@ func (o RowLayoutPtrOutput) ToRowLayoutPtrOutputWithContext(ctx context.Context) return o } +func (o RowLayoutPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RowLayout] { + return pulumix.Output[*RowLayout]{ + OutputState: o.OutputState, + } +} + func (o RowLayoutPtrOutput) Elem() RowLayoutOutput { return o.ApplyT(func(v *RowLayout) RowLayout { if v != nil { @@ -3783,6 +4432,12 @@ func (o RowLayoutResponseOutput) ToRowLayoutResponseOutputWithContext(ctx contex return o } +func (o RowLayoutResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RowLayoutResponse] { + return pulumix.Output[RowLayoutResponse]{ + OutputState: o.OutputState, + } +} + // The rows of content to display. func (o RowLayoutResponseOutput) Rows() RowResponseArrayOutput { return o.ApplyT(func(v RowLayoutResponse) []RowResponse { return v.Rows }).(RowResponseArrayOutput) @@ -3811,6 +4466,12 @@ func (o RowResponseOutput) ToRowResponseOutputWithContext(ctx context.Context) R return o } +func (o RowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RowResponse] { + return pulumix.Output[RowResponse]{ + OutputState: o.OutputState, + } +} + // The relative weight of this row. The row weight is used to adjust the height of rows on the screen (relative to peers). Greater the weight, greater the height of the row on the screen. If omitted, a value of 1 is used while rendering. func (o RowResponseOutput) Weight() pulumi.StringOutput { return o.ApplyT(func(v RowResponse) string { return v.Weight }).(pulumi.StringOutput) @@ -3835,6 +4496,12 @@ func (o RowResponseArrayOutput) ToRowResponseArrayOutputWithContext(ctx context. return o } +func (o RowResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RowResponse] { + return pulumix.Output[[]RowResponse]{ + OutputState: o.OutputState, + } +} + func (o RowResponseArrayOutput) Index(i pulumi.IntInput) RowResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RowResponse { return vs[0].([]RowResponse)[vs[1].(int)] @@ -3888,6 +4555,12 @@ func (i ScorecardArgs) ToScorecardOutputWithContext(ctx context.Context) Scoreca return pulumi.ToOutputWithContext(ctx, i).(ScorecardOutput) } +func (i ScorecardArgs) ToOutput(ctx context.Context) pulumix.Output[Scorecard] { + return pulumix.Output[Scorecard]{ + OutputState: i.ToScorecardOutputWithContext(ctx).OutputState, + } +} + func (i ScorecardArgs) ToScorecardPtrOutput() ScorecardPtrOutput { return i.ToScorecardPtrOutputWithContext(context.Background()) } @@ -3929,6 +4602,12 @@ func (i *scorecardPtrType) ToScorecardPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ScorecardPtrOutput) } +func (i *scorecardPtrType) ToOutput(ctx context.Context) pulumix.Output[*Scorecard] { + return pulumix.Output[*Scorecard]{ + OutputState: i.ToScorecardPtrOutputWithContext(ctx).OutputState, + } +} + // A widget showing the latest value of a metric, and how this value relates to one or more thresholds. type ScorecardOutput struct{ *pulumi.OutputState } @@ -3954,6 +4633,12 @@ func (o ScorecardOutput) ToScorecardPtrOutputWithContext(ctx context.Context) Sc }).(ScorecardPtrOutput) } +func (o ScorecardOutput) ToOutput(ctx context.Context) pulumix.Output[Scorecard] { + return pulumix.Output[Scorecard]{ + OutputState: o.OutputState, + } +} + // Will cause the scorecard to show a gauge chart. func (o ScorecardOutput) GaugeView() GaugeViewPtrOutput { return o.ApplyT(func(v Scorecard) *GaugeView { return v.GaugeView }).(GaugeViewPtrOutput) @@ -3988,6 +4673,12 @@ func (o ScorecardPtrOutput) ToScorecardPtrOutputWithContext(ctx context.Context) return o } +func (o ScorecardPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Scorecard] { + return pulumix.Output[*Scorecard]{ + OutputState: o.OutputState, + } +} + func (o ScorecardPtrOutput) Elem() ScorecardOutput { return o.ApplyT(func(v *Scorecard) Scorecard { if v != nil { @@ -4065,6 +4756,12 @@ func (o ScorecardResponseOutput) ToScorecardResponseOutputWithContext(ctx contex return o } +func (o ScorecardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScorecardResponse] { + return pulumix.Output[ScorecardResponse]{ + OutputState: o.OutputState, + } +} + // Will cause the scorecard to show a gauge chart. func (o ScorecardResponseOutput) GaugeView() GaugeViewResponseOutput { return o.ApplyT(func(v ScorecardResponse) GaugeViewResponse { return v.GaugeView }).(GaugeViewResponseOutput) @@ -4124,6 +4821,12 @@ func (i SparkChartViewArgs) ToSparkChartViewOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SparkChartViewOutput) } +func (i SparkChartViewArgs) ToOutput(ctx context.Context) pulumix.Output[SparkChartView] { + return pulumix.Output[SparkChartView]{ + OutputState: i.ToSparkChartViewOutputWithContext(ctx).OutputState, + } +} + func (i SparkChartViewArgs) ToSparkChartViewPtrOutput() SparkChartViewPtrOutput { return i.ToSparkChartViewPtrOutputWithContext(context.Background()) } @@ -4165,6 +4868,12 @@ func (i *sparkChartViewPtrType) ToSparkChartViewPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SparkChartViewPtrOutput) } +func (i *sparkChartViewPtrType) ToOutput(ctx context.Context) pulumix.Output[*SparkChartView] { + return pulumix.Output[*SparkChartView]{ + OutputState: i.ToSparkChartViewPtrOutputWithContext(ctx).OutputState, + } +} + // A sparkChart is a small chart suitable for inclusion in a table-cell or inline in text. This message contains the configuration for a sparkChart to show up on a Scorecard, showing recent trends of the scorecard's timeseries. type SparkChartViewOutput struct{ *pulumi.OutputState } @@ -4190,6 +4899,12 @@ func (o SparkChartViewOutput) ToSparkChartViewPtrOutputWithContext(ctx context.C }).(SparkChartViewPtrOutput) } +func (o SparkChartViewOutput) ToOutput(ctx context.Context) pulumix.Output[SparkChartView] { + return pulumix.Output[SparkChartView]{ + OutputState: o.OutputState, + } +} + // The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint. func (o SparkChartViewOutput) MinAlignmentPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v SparkChartView) *string { return v.MinAlignmentPeriod }).(pulumi.StringPtrOutput) @@ -4214,6 +4929,12 @@ func (o SparkChartViewPtrOutput) ToSparkChartViewPtrOutputWithContext(ctx contex return o } +func (o SparkChartViewPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SparkChartView] { + return pulumix.Output[*SparkChartView]{ + OutputState: o.OutputState, + } +} + func (o SparkChartViewPtrOutput) Elem() SparkChartViewOutput { return o.ApplyT(func(v *SparkChartView) SparkChartView { if v != nil { @@ -4267,6 +4988,12 @@ func (o SparkChartViewResponseOutput) ToSparkChartViewResponseOutputWithContext( return o } +func (o SparkChartViewResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SparkChartViewResponse] { + return pulumix.Output[SparkChartViewResponse]{ + OutputState: o.OutputState, + } +} + // The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint. func (o SparkChartViewResponseOutput) MinAlignmentPeriod() pulumi.StringOutput { return o.ApplyT(func(v SparkChartViewResponse) string { return v.MinAlignmentPeriod }).(pulumi.StringOutput) @@ -4316,6 +5043,12 @@ func (i StatisticalTimeSeriesFilterArgs) ToStatisticalTimeSeriesFilterOutputWith return pulumi.ToOutputWithContext(ctx, i).(StatisticalTimeSeriesFilterOutput) } +func (i StatisticalTimeSeriesFilterArgs) ToOutput(ctx context.Context) pulumix.Output[StatisticalTimeSeriesFilter] { + return pulumix.Output[StatisticalTimeSeriesFilter]{ + OutputState: i.ToStatisticalTimeSeriesFilterOutputWithContext(ctx).OutputState, + } +} + func (i StatisticalTimeSeriesFilterArgs) ToStatisticalTimeSeriesFilterPtrOutput() StatisticalTimeSeriesFilterPtrOutput { return i.ToStatisticalTimeSeriesFilterPtrOutputWithContext(context.Background()) } @@ -4357,6 +5090,12 @@ func (i *statisticalTimeSeriesFilterPtrType) ToStatisticalTimeSeriesFilterPtrOut return pulumi.ToOutputWithContext(ctx, i).(StatisticalTimeSeriesFilterPtrOutput) } +func (i *statisticalTimeSeriesFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*StatisticalTimeSeriesFilter] { + return pulumix.Output[*StatisticalTimeSeriesFilter]{ + OutputState: i.ToStatisticalTimeSeriesFilterPtrOutputWithContext(ctx).OutputState, + } +} + // A filter that ranks streams based on their statistical relation to other streams in a request. Note: This field is deprecated and completely ignored by the API. type StatisticalTimeSeriesFilterOutput struct{ *pulumi.OutputState } @@ -4382,6 +5121,12 @@ func (o StatisticalTimeSeriesFilterOutput) ToStatisticalTimeSeriesFilterPtrOutpu }).(StatisticalTimeSeriesFilterPtrOutput) } +func (o StatisticalTimeSeriesFilterOutput) ToOutput(ctx context.Context) pulumix.Output[StatisticalTimeSeriesFilter] { + return pulumix.Output[StatisticalTimeSeriesFilter]{ + OutputState: o.OutputState, + } +} + // How many time series to output. func (o StatisticalTimeSeriesFilterOutput) NumTimeSeries() pulumi.IntPtrOutput { return o.ApplyT(func(v StatisticalTimeSeriesFilter) *int { return v.NumTimeSeries }).(pulumi.IntPtrOutput) @@ -4406,6 +5151,12 @@ func (o StatisticalTimeSeriesFilterPtrOutput) ToStatisticalTimeSeriesFilterPtrOu return o } +func (o StatisticalTimeSeriesFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StatisticalTimeSeriesFilter] { + return pulumix.Output[*StatisticalTimeSeriesFilter]{ + OutputState: o.OutputState, + } +} + func (o StatisticalTimeSeriesFilterPtrOutput) Elem() StatisticalTimeSeriesFilterOutput { return o.ApplyT(func(v *StatisticalTimeSeriesFilter) StatisticalTimeSeriesFilter { if v != nil { @@ -4459,6 +5210,12 @@ func (o StatisticalTimeSeriesFilterResponseOutput) ToStatisticalTimeSeriesFilter return o } +func (o StatisticalTimeSeriesFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatisticalTimeSeriesFilterResponse] { + return pulumix.Output[StatisticalTimeSeriesFilterResponse]{ + OutputState: o.OutputState, + } +} + // How many time series to output. func (o StatisticalTimeSeriesFilterResponseOutput) NumTimeSeries() pulumi.IntOutput { return o.ApplyT(func(v StatisticalTimeSeriesFilterResponse) int { return v.NumTimeSeries }).(pulumi.IntOutput) @@ -4516,6 +5273,12 @@ func (i TableDataSetArgs) ToTableDataSetOutputWithContext(ctx context.Context) T return pulumi.ToOutputWithContext(ctx, i).(TableDataSetOutput) } +func (i TableDataSetArgs) ToOutput(ctx context.Context) pulumix.Output[TableDataSet] { + return pulumix.Output[TableDataSet]{ + OutputState: i.ToTableDataSetOutputWithContext(ctx).OutputState, + } +} + // TableDataSetArrayInput is an input type that accepts TableDataSetArray and TableDataSetArrayOutput values. // You can construct a concrete instance of `TableDataSetArrayInput` via: // @@ -4541,6 +5304,12 @@ func (i TableDataSetArray) ToTableDataSetArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TableDataSetArrayOutput) } +func (i TableDataSetArray) ToOutput(ctx context.Context) pulumix.Output[[]TableDataSet] { + return pulumix.Output[[]TableDataSet]{ + OutputState: i.ToTableDataSetArrayOutputWithContext(ctx).OutputState, + } +} + // Groups a time series query definition with table options. type TableDataSetOutput struct{ *pulumi.OutputState } @@ -4556,6 +5325,12 @@ func (o TableDataSetOutput) ToTableDataSetOutputWithContext(ctx context.Context) return o } +func (o TableDataSetOutput) ToOutput(ctx context.Context) pulumix.Output[TableDataSet] { + return pulumix.Output[TableDataSet]{ + OutputState: o.OutputState, + } +} + // Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals. func (o TableDataSetOutput) MinAlignmentPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v TableDataSet) *string { return v.MinAlignmentPeriod }).(pulumi.StringPtrOutput) @@ -4590,6 +5365,12 @@ func (o TableDataSetArrayOutput) ToTableDataSetArrayOutputWithContext(ctx contex return o } +func (o TableDataSetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TableDataSet] { + return pulumix.Output[[]TableDataSet]{ + OutputState: o.OutputState, + } +} + func (o TableDataSetArrayOutput) Index(i pulumi.IntInput) TableDataSetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableDataSet { return vs[0].([]TableDataSet)[vs[1].(int)] @@ -4623,6 +5404,12 @@ func (o TableDataSetResponseOutput) ToTableDataSetResponseOutputWithContext(ctx return o } +func (o TableDataSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableDataSetResponse] { + return pulumix.Output[TableDataSetResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals. func (o TableDataSetResponseOutput) MinAlignmentPeriod() pulumi.StringOutput { return o.ApplyT(func(v TableDataSetResponse) string { return v.MinAlignmentPeriod }).(pulumi.StringOutput) @@ -4657,6 +5444,12 @@ func (o TableDataSetResponseArrayOutput) ToTableDataSetResponseArrayOutputWithCo return o } +func (o TableDataSetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TableDataSetResponse] { + return pulumix.Output[[]TableDataSetResponse]{ + OutputState: o.OutputState, + } +} + func (o TableDataSetResponseArrayOutput) Index(i pulumi.IntInput) TableDataSetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TableDataSetResponse { return vs[0].([]TableDataSetResponse)[vs[1].(int)] @@ -4698,6 +5491,12 @@ func (i TableDisplayOptionsArgs) ToTableDisplayOptionsOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TableDisplayOptionsOutput) } +func (i TableDisplayOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[TableDisplayOptions] { + return pulumix.Output[TableDisplayOptions]{ + OutputState: i.ToTableDisplayOptionsOutputWithContext(ctx).OutputState, + } +} + func (i TableDisplayOptionsArgs) ToTableDisplayOptionsPtrOutput() TableDisplayOptionsPtrOutput { return i.ToTableDisplayOptionsPtrOutputWithContext(context.Background()) } @@ -4739,6 +5538,12 @@ func (i *tableDisplayOptionsPtrType) ToTableDisplayOptionsPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(TableDisplayOptionsPtrOutput) } +func (i *tableDisplayOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*TableDisplayOptions] { + return pulumix.Output[*TableDisplayOptions]{ + OutputState: i.ToTableDisplayOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Table display options that can be reused. type TableDisplayOptionsOutput struct{ *pulumi.OutputState } @@ -4764,6 +5569,12 @@ func (o TableDisplayOptionsOutput) ToTableDisplayOptionsPtrOutputWithContext(ctx }).(TableDisplayOptionsPtrOutput) } +func (o TableDisplayOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[TableDisplayOptions] { + return pulumix.Output[TableDisplayOptions]{ + OutputState: o.OutputState, + } +} + // Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings func (o TableDisplayOptionsOutput) ShownColumns() pulumi.StringArrayOutput { return o.ApplyT(func(v TableDisplayOptions) []string { return v.ShownColumns }).(pulumi.StringArrayOutput) @@ -4783,6 +5594,12 @@ func (o TableDisplayOptionsPtrOutput) ToTableDisplayOptionsPtrOutputWithContext( return o } +func (o TableDisplayOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TableDisplayOptions] { + return pulumix.Output[*TableDisplayOptions]{ + OutputState: o.OutputState, + } +} + func (o TableDisplayOptionsPtrOutput) Elem() TableDisplayOptionsOutput { return o.ApplyT(func(v *TableDisplayOptions) TableDisplayOptions { if v != nil { @@ -4824,6 +5641,12 @@ func (o TableDisplayOptionsResponseOutput) ToTableDisplayOptionsResponseOutputWi return o } +func (o TableDisplayOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TableDisplayOptionsResponse] { + return pulumix.Output[TableDisplayOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings func (o TableDisplayOptionsResponseOutput) ShownColumns() pulumi.StringArrayOutput { return o.ApplyT(func(v TableDisplayOptionsResponse) []string { return v.ShownColumns }).(pulumi.StringArrayOutput) @@ -4868,6 +5691,12 @@ func (i TextArgs) ToTextOutputWithContext(ctx context.Context) TextOutput { return pulumi.ToOutputWithContext(ctx, i).(TextOutput) } +func (i TextArgs) ToOutput(ctx context.Context) pulumix.Output[Text] { + return pulumix.Output[Text]{ + OutputState: i.ToTextOutputWithContext(ctx).OutputState, + } +} + func (i TextArgs) ToTextPtrOutput() TextPtrOutput { return i.ToTextPtrOutputWithContext(context.Background()) } @@ -4909,6 +5738,12 @@ func (i *textPtrType) ToTextPtrOutputWithContext(ctx context.Context) TextPtrOut return pulumi.ToOutputWithContext(ctx, i).(TextPtrOutput) } +func (i *textPtrType) ToOutput(ctx context.Context) pulumix.Output[*Text] { + return pulumix.Output[*Text]{ + OutputState: i.ToTextPtrOutputWithContext(ctx).OutputState, + } +} + // A widget that displays textual content. type TextOutput struct{ *pulumi.OutputState } @@ -4934,6 +5769,12 @@ func (o TextOutput) ToTextPtrOutputWithContext(ctx context.Context) TextPtrOutpu }).(TextPtrOutput) } +func (o TextOutput) ToOutput(ctx context.Context) pulumix.Output[Text] { + return pulumix.Output[Text]{ + OutputState: o.OutputState, + } +} + // The text content to be displayed. func (o TextOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v Text) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -4958,6 +5799,12 @@ func (o TextPtrOutput) ToTextPtrOutputWithContext(ctx context.Context) TextPtrOu return o } +func (o TextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Text] { + return pulumix.Output[*Text]{ + OutputState: o.OutputState, + } +} + func (o TextPtrOutput) Elem() TextOutput { return o.ApplyT(func(v *Text) Text { if v != nil { @@ -5011,6 +5858,12 @@ func (o TextResponseOutput) ToTextResponseOutputWithContext(ctx context.Context) return o } +func (o TextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TextResponse] { + return pulumix.Output[TextResponse]{ + OutputState: o.OutputState, + } +} + // The text content to be displayed. func (o TextResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v TextResponse) string { return v.Content }).(pulumi.StringOutput) @@ -5072,6 +5925,12 @@ func (i ThresholdArgs) ToThresholdOutputWithContext(ctx context.Context) Thresho return pulumi.ToOutputWithContext(ctx, i).(ThresholdOutput) } +func (i ThresholdArgs) ToOutput(ctx context.Context) pulumix.Output[Threshold] { + return pulumix.Output[Threshold]{ + OutputState: i.ToThresholdOutputWithContext(ctx).OutputState, + } +} + // ThresholdArrayInput is an input type that accepts ThresholdArray and ThresholdArrayOutput values. // You can construct a concrete instance of `ThresholdArrayInput` via: // @@ -5097,6 +5956,12 @@ func (i ThresholdArray) ToThresholdArrayOutputWithContext(ctx context.Context) T return pulumi.ToOutputWithContext(ctx, i).(ThresholdArrayOutput) } +func (i ThresholdArray) ToOutput(ctx context.Context) pulumix.Output[[]Threshold] { + return pulumix.Output[[]Threshold]{ + OutputState: i.ToThresholdArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a threshold for categorizing time series values. type ThresholdOutput struct{ *pulumi.OutputState } @@ -5112,6 +5977,12 @@ func (o ThresholdOutput) ToThresholdOutputWithContext(ctx context.Context) Thres return o } +func (o ThresholdOutput) ToOutput(ctx context.Context) pulumix.Output[Threshold] { + return pulumix.Output[Threshold]{ + OutputState: o.OutputState, + } +} + // The state color for this threshold. Color is not allowed in a XyChart. func (o ThresholdOutput) Color() ThresholdColorPtrOutput { return o.ApplyT(func(v Threshold) *ThresholdColor { return v.Color }).(ThresholdColorPtrOutput) @@ -5151,6 +6022,12 @@ func (o ThresholdArrayOutput) ToThresholdArrayOutputWithContext(ctx context.Cont return o } +func (o ThresholdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Threshold] { + return pulumix.Output[[]Threshold]{ + OutputState: o.OutputState, + } +} + func (o ThresholdArrayOutput) Index(i pulumi.IntInput) ThresholdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Threshold { return vs[0].([]Threshold)[vs[1].(int)] @@ -5186,6 +6063,12 @@ func (o ThresholdResponseOutput) ToThresholdResponseOutputWithContext(ctx contex return o } +func (o ThresholdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ThresholdResponse] { + return pulumix.Output[ThresholdResponse]{ + OutputState: o.OutputState, + } +} + // The state color for this threshold. Color is not allowed in a XyChart. func (o ThresholdResponseOutput) Color() pulumi.StringOutput { return o.ApplyT(func(v ThresholdResponse) string { return v.Color }).(pulumi.StringOutput) @@ -5225,6 +6108,12 @@ func (o ThresholdResponseArrayOutput) ToThresholdResponseArrayOutputWithContext( return o } +func (o ThresholdResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ThresholdResponse] { + return pulumix.Output[[]ThresholdResponse]{ + OutputState: o.OutputState, + } +} + func (o ThresholdResponseArrayOutput) Index(i pulumi.IntInput) ThresholdResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ThresholdResponse { return vs[0].([]ThresholdResponse)[vs[1].(int)] @@ -5282,6 +6171,12 @@ func (i TileArgs) ToTileOutputWithContext(ctx context.Context) TileOutput { return pulumi.ToOutputWithContext(ctx, i).(TileOutput) } +func (i TileArgs) ToOutput(ctx context.Context) pulumix.Output[Tile] { + return pulumix.Output[Tile]{ + OutputState: i.ToTileOutputWithContext(ctx).OutputState, + } +} + // TileArrayInput is an input type that accepts TileArray and TileArrayOutput values. // You can construct a concrete instance of `TileArrayInput` via: // @@ -5307,6 +6202,12 @@ func (i TileArray) ToTileArrayOutputWithContext(ctx context.Context) TileArrayOu return pulumi.ToOutputWithContext(ctx, i).(TileArrayOutput) } +func (i TileArray) ToOutput(ctx context.Context) pulumix.Output[[]Tile] { + return pulumix.Output[[]Tile]{ + OutputState: i.ToTileArrayOutputWithContext(ctx).OutputState, + } +} + // A single tile in the mosaic. The placement and size of the tile are configurable. type TileOutput struct{ *pulumi.OutputState } @@ -5322,6 +6223,12 @@ func (o TileOutput) ToTileOutputWithContext(ctx context.Context) TileOutput { return o } +func (o TileOutput) ToOutput(ctx context.Context) pulumix.Output[Tile] { + return pulumix.Output[Tile]{ + OutputState: o.OutputState, + } +} + // The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1. func (o TileOutput) Height() pulumi.IntPtrOutput { return o.ApplyT(func(v Tile) *int { return v.Height }).(pulumi.IntPtrOutput) @@ -5361,6 +6268,12 @@ func (o TileArrayOutput) ToTileArrayOutputWithContext(ctx context.Context) TileA return o } +func (o TileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Tile] { + return pulumix.Output[[]Tile]{ + OutputState: o.OutputState, + } +} + func (o TileArrayOutput) Index(i pulumi.IntInput) TileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Tile { return vs[0].([]Tile)[vs[1].(int)] @@ -5396,6 +6309,12 @@ func (o TileResponseOutput) ToTileResponseOutputWithContext(ctx context.Context) return o } +func (o TileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TileResponse] { + return pulumix.Output[TileResponse]{ + OutputState: o.OutputState, + } +} + // The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1. func (o TileResponseOutput) Height() pulumi.IntOutput { return o.ApplyT(func(v TileResponse) int { return v.Height }).(pulumi.IntOutput) @@ -5435,6 +6354,12 @@ func (o TileResponseArrayOutput) ToTileResponseArrayOutputWithContext(ctx contex return o } +func (o TileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TileResponse] { + return pulumix.Output[[]TileResponse]{ + OutputState: o.OutputState, + } +} + func (o TileResponseArrayOutput) Index(i pulumi.IntInput) TileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TileResponse { return vs[0].([]TileResponse)[vs[1].(int)] @@ -5496,6 +6421,12 @@ func (i TimeSeriesFilterArgs) ToTimeSeriesFilterOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TimeSeriesFilterOutput) } +func (i TimeSeriesFilterArgs) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesFilter] { + return pulumix.Output[TimeSeriesFilter]{ + OutputState: i.ToTimeSeriesFilterOutputWithContext(ctx).OutputState, + } +} + func (i TimeSeriesFilterArgs) ToTimeSeriesFilterPtrOutput() TimeSeriesFilterPtrOutput { return i.ToTimeSeriesFilterPtrOutputWithContext(context.Background()) } @@ -5537,6 +6468,12 @@ func (i *timeSeriesFilterPtrType) ToTimeSeriesFilterPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(TimeSeriesFilterPtrOutput) } +func (i *timeSeriesFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesFilter] { + return pulumix.Output[*TimeSeriesFilter]{ + OutputState: i.ToTimeSeriesFilterPtrOutputWithContext(ctx).OutputState, + } +} + // A filter that defines a subset of time series data that is displayed in a widget. Time series data is fetched using the ListTimeSeries (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) method. type TimeSeriesFilterOutput struct{ *pulumi.OutputState } @@ -5562,6 +6499,12 @@ func (o TimeSeriesFilterOutput) ToTimeSeriesFilterPtrOutputWithContext(ctx conte }).(TimeSeriesFilterPtrOutput) } +func (o TimeSeriesFilterOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesFilter] { + return pulumix.Output[TimeSeriesFilter]{ + OutputState: o.OutputState, + } +} + // By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. func (o TimeSeriesFilterOutput) Aggregation() AggregationPtrOutput { return o.ApplyT(func(v TimeSeriesFilter) *Aggregation { return v.Aggregation }).(AggregationPtrOutput) @@ -5603,6 +6546,12 @@ func (o TimeSeriesFilterPtrOutput) ToTimeSeriesFilterPtrOutputWithContext(ctx co return o } +func (o TimeSeriesFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesFilter] { + return pulumix.Output[*TimeSeriesFilter]{ + OutputState: o.OutputState, + } +} + func (o TimeSeriesFilterPtrOutput) Elem() TimeSeriesFilterOutput { return o.ApplyT(func(v *TimeSeriesFilter) TimeSeriesFilter { if v != nil { @@ -5720,6 +6669,12 @@ func (i TimeSeriesFilterRatioArgs) ToTimeSeriesFilterRatioOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(TimeSeriesFilterRatioOutput) } +func (i TimeSeriesFilterRatioArgs) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesFilterRatio] { + return pulumix.Output[TimeSeriesFilterRatio]{ + OutputState: i.ToTimeSeriesFilterRatioOutputWithContext(ctx).OutputState, + } +} + func (i TimeSeriesFilterRatioArgs) ToTimeSeriesFilterRatioPtrOutput() TimeSeriesFilterRatioPtrOutput { return i.ToTimeSeriesFilterRatioPtrOutputWithContext(context.Background()) } @@ -5761,6 +6716,12 @@ func (i *timeSeriesFilterRatioPtrType) ToTimeSeriesFilterRatioPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(TimeSeriesFilterRatioPtrOutput) } +func (i *timeSeriesFilterRatioPtrType) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesFilterRatio] { + return pulumix.Output[*TimeSeriesFilterRatio]{ + OutputState: i.ToTimeSeriesFilterRatioPtrOutputWithContext(ctx).OutputState, + } +} + // A pair of time series filters that define a ratio computation. The output time series is the pair-wise division of each aligned element from the numerator and denominator time series. type TimeSeriesFilterRatioOutput struct{ *pulumi.OutputState } @@ -5786,6 +6747,12 @@ func (o TimeSeriesFilterRatioOutput) ToTimeSeriesFilterRatioPtrOutputWithContext }).(TimeSeriesFilterRatioPtrOutput) } +func (o TimeSeriesFilterRatioOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesFilterRatio] { + return pulumix.Output[TimeSeriesFilterRatio]{ + OutputState: o.OutputState, + } +} + // The denominator of the ratio. func (o TimeSeriesFilterRatioOutput) Denominator() RatioPartPtrOutput { return o.ApplyT(func(v TimeSeriesFilterRatio) *RatioPart { return v.Denominator }).(RatioPartPtrOutput) @@ -5827,6 +6794,12 @@ func (o TimeSeriesFilterRatioPtrOutput) ToTimeSeriesFilterRatioPtrOutputWithCont return o } +func (o TimeSeriesFilterRatioPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesFilterRatio] { + return pulumix.Output[*TimeSeriesFilterRatio]{ + OutputState: o.OutputState, + } +} + func (o TimeSeriesFilterRatioPtrOutput) Elem() TimeSeriesFilterRatioOutput { return o.ApplyT(func(v *TimeSeriesFilterRatio) TimeSeriesFilterRatio { if v != nil { @@ -5920,6 +6893,12 @@ func (o TimeSeriesFilterRatioResponseOutput) ToTimeSeriesFilterRatioResponseOutp return o } +func (o TimeSeriesFilterRatioResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesFilterRatioResponse] { + return pulumix.Output[TimeSeriesFilterRatioResponse]{ + OutputState: o.OutputState, + } +} + // The denominator of the ratio. func (o TimeSeriesFilterRatioResponseOutput) Denominator() RatioPartResponseOutput { return o.ApplyT(func(v TimeSeriesFilterRatioResponse) RatioPartResponse { return v.Denominator }).(RatioPartResponseOutput) @@ -5980,6 +6959,12 @@ func (o TimeSeriesFilterResponseOutput) ToTimeSeriesFilterResponseOutputWithCont return o } +func (o TimeSeriesFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesFilterResponse] { + return pulumix.Output[TimeSeriesFilterResponse]{ + OutputState: o.OutputState, + } +} + // By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data. func (o TimeSeriesFilterResponseOutput) Aggregation() AggregationResponseOutput { return o.ApplyT(func(v TimeSeriesFilterResponse) AggregationResponse { return v.Aggregation }).(AggregationResponseOutput) @@ -6060,6 +7045,12 @@ func (i TimeSeriesQueryArgs) ToTimeSeriesQueryOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TimeSeriesQueryOutput) } +func (i TimeSeriesQueryArgs) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesQuery] { + return pulumix.Output[TimeSeriesQuery]{ + OutputState: i.ToTimeSeriesQueryOutputWithContext(ctx).OutputState, + } +} + func (i TimeSeriesQueryArgs) ToTimeSeriesQueryPtrOutput() TimeSeriesQueryPtrOutput { return i.ToTimeSeriesQueryPtrOutputWithContext(context.Background()) } @@ -6101,6 +7092,12 @@ func (i *timeSeriesQueryPtrType) ToTimeSeriesQueryPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TimeSeriesQueryPtrOutput) } +func (i *timeSeriesQueryPtrType) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesQuery] { + return pulumix.Output[*TimeSeriesQuery]{ + OutputState: i.ToTimeSeriesQueryPtrOutputWithContext(ctx).OutputState, + } +} + // TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API. type TimeSeriesQueryOutput struct{ *pulumi.OutputState } @@ -6126,6 +7123,12 @@ func (o TimeSeriesQueryOutput) ToTimeSeriesQueryPtrOutputWithContext(ctx context }).(TimeSeriesQueryPtrOutput) } +func (o TimeSeriesQueryOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesQuery] { + return pulumix.Output[TimeSeriesQuery]{ + OutputState: o.OutputState, + } +} + // A query used to fetch time series with PromQL. func (o TimeSeriesQueryOutput) PrometheusQuery() pulumi.StringPtrOutput { return o.ApplyT(func(v TimeSeriesQuery) *string { return v.PrometheusQuery }).(pulumi.StringPtrOutput) @@ -6165,6 +7168,12 @@ func (o TimeSeriesQueryPtrOutput) ToTimeSeriesQueryPtrOutputWithContext(ctx cont return o } +func (o TimeSeriesQueryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesQuery] { + return pulumix.Output[*TimeSeriesQuery]{ + OutputState: o.OutputState, + } +} + func (o TimeSeriesQueryPtrOutput) Elem() TimeSeriesQueryOutput { return o.ApplyT(func(v *TimeSeriesQuery) TimeSeriesQuery { if v != nil { @@ -6254,6 +7263,12 @@ func (o TimeSeriesQueryResponseOutput) ToTimeSeriesQueryResponseOutputWithContex return o } +func (o TimeSeriesQueryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesQueryResponse] { + return pulumix.Output[TimeSeriesQueryResponse]{ + OutputState: o.OutputState, + } +} + // A query used to fetch time series with PromQL. func (o TimeSeriesQueryResponseOutput) PrometheusQuery() pulumi.StringOutput { return o.ApplyT(func(v TimeSeriesQueryResponse) string { return v.PrometheusQuery }).(pulumi.StringOutput) @@ -6322,6 +7337,12 @@ func (i TimeSeriesTableArgs) ToTimeSeriesTableOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TimeSeriesTableOutput) } +func (i TimeSeriesTableArgs) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesTable] { + return pulumix.Output[TimeSeriesTable]{ + OutputState: i.ToTimeSeriesTableOutputWithContext(ctx).OutputState, + } +} + func (i TimeSeriesTableArgs) ToTimeSeriesTablePtrOutput() TimeSeriesTablePtrOutput { return i.ToTimeSeriesTablePtrOutputWithContext(context.Background()) } @@ -6363,6 +7384,12 @@ func (i *timeSeriesTablePtrType) ToTimeSeriesTablePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TimeSeriesTablePtrOutput) } +func (i *timeSeriesTablePtrType) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesTable] { + return pulumix.Output[*TimeSeriesTable]{ + OutputState: i.ToTimeSeriesTablePtrOutputWithContext(ctx).OutputState, + } +} + // A table that displays time series data. type TimeSeriesTableOutput struct{ *pulumi.OutputState } @@ -6388,6 +7415,12 @@ func (o TimeSeriesTableOutput) ToTimeSeriesTablePtrOutputWithContext(ctx context }).(TimeSeriesTablePtrOutput) } +func (o TimeSeriesTableOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesTable] { + return pulumix.Output[TimeSeriesTable]{ + OutputState: o.OutputState, + } +} + // Optional. The list of the persistent column settings for the table. func (o TimeSeriesTableOutput) ColumnSettings() ColumnSettingsArrayOutput { return o.ApplyT(func(v TimeSeriesTable) []ColumnSettings { return v.ColumnSettings }).(ColumnSettingsArrayOutput) @@ -6417,6 +7450,12 @@ func (o TimeSeriesTablePtrOutput) ToTimeSeriesTablePtrOutputWithContext(ctx cont return o } +func (o TimeSeriesTablePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesTable] { + return pulumix.Output[*TimeSeriesTable]{ + OutputState: o.OutputState, + } +} + func (o TimeSeriesTablePtrOutput) Elem() TimeSeriesTableOutput { return o.ApplyT(func(v *TimeSeriesTable) TimeSeriesTable { if v != nil { @@ -6482,6 +7521,12 @@ func (o TimeSeriesTableResponseOutput) ToTimeSeriesTableResponseOutputWithContex return o } +func (o TimeSeriesTableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesTableResponse] { + return pulumix.Output[TimeSeriesTableResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The list of the persistent column settings for the table. func (o TimeSeriesTableResponseOutput) ColumnSettings() ColumnSettingsResponseArrayOutput { return o.ApplyT(func(v TimeSeriesTableResponse) []ColumnSettingsResponse { return v.ColumnSettings }).(ColumnSettingsResponseArrayOutput) @@ -6568,6 +7613,12 @@ func (i WidgetArgs) ToWidgetOutputWithContext(ctx context.Context) WidgetOutput return pulumi.ToOutputWithContext(ctx, i).(WidgetOutput) } +func (i WidgetArgs) ToOutput(ctx context.Context) pulumix.Output[Widget] { + return pulumix.Output[Widget]{ + OutputState: i.ToWidgetOutputWithContext(ctx).OutputState, + } +} + func (i WidgetArgs) ToWidgetPtrOutput() WidgetPtrOutput { return i.ToWidgetPtrOutputWithContext(context.Background()) } @@ -6609,6 +7660,12 @@ func (i *widgetPtrType) ToWidgetPtrOutputWithContext(ctx context.Context) Widget return pulumi.ToOutputWithContext(ctx, i).(WidgetPtrOutput) } +func (i *widgetPtrType) ToOutput(ctx context.Context) pulumix.Output[*Widget] { + return pulumix.Output[*Widget]{ + OutputState: i.ToWidgetPtrOutputWithContext(ctx).OutputState, + } +} + // WidgetArrayInput is an input type that accepts WidgetArray and WidgetArrayOutput values. // You can construct a concrete instance of `WidgetArrayInput` via: // @@ -6634,6 +7691,12 @@ func (i WidgetArray) ToWidgetArrayOutputWithContext(ctx context.Context) WidgetA return pulumi.ToOutputWithContext(ctx, i).(WidgetArrayOutput) } +func (i WidgetArray) ToOutput(ctx context.Context) pulumix.Output[[]Widget] { + return pulumix.Output[[]Widget]{ + OutputState: i.ToWidgetArrayOutputWithContext(ctx).OutputState, + } +} + // Widget contains a single dashboard component and configuration of how to present the component in the dashboard. type WidgetOutput struct{ *pulumi.OutputState } @@ -6659,6 +7722,12 @@ func (o WidgetOutput) ToWidgetPtrOutputWithContext(ctx context.Context) WidgetPt }).(WidgetPtrOutput) } +func (o WidgetOutput) ToOutput(ctx context.Context) pulumix.Output[Widget] { + return pulumix.Output[Widget]{ + OutputState: o.OutputState, + } +} + // A chart of alert policy data. func (o WidgetOutput) AlertChart() AlertChartPtrOutput { return o.ApplyT(func(v Widget) *AlertChart { return v.AlertChart }).(AlertChartPtrOutput) @@ -6723,6 +7792,12 @@ func (o WidgetPtrOutput) ToWidgetPtrOutputWithContext(ctx context.Context) Widge return o } +func (o WidgetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Widget] { + return pulumix.Output[*Widget]{ + OutputState: o.OutputState, + } +} + func (o WidgetPtrOutput) Elem() WidgetOutput { return o.ApplyT(func(v *Widget) Widget { if v != nil { @@ -6847,6 +7922,12 @@ func (o WidgetArrayOutput) ToWidgetArrayOutputWithContext(ctx context.Context) W return o } +func (o WidgetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Widget] { + return pulumix.Output[[]Widget]{ + OutputState: o.OutputState, + } +} + func (o WidgetArrayOutput) Index(i pulumi.IntInput) WidgetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Widget { return vs[0].([]Widget)[vs[1].(int)] @@ -6892,6 +7973,12 @@ func (o WidgetResponseOutput) ToWidgetResponseOutputWithContext(ctx context.Cont return o } +func (o WidgetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WidgetResponse] { + return pulumix.Output[WidgetResponse]{ + OutputState: o.OutputState, + } +} + // A chart of alert policy data. func (o WidgetResponseOutput) AlertChart() AlertChartResponseOutput { return o.ApplyT(func(v WidgetResponse) AlertChartResponse { return v.AlertChart }).(AlertChartResponseOutput) @@ -6956,6 +8043,12 @@ func (o WidgetResponseArrayOutput) ToWidgetResponseArrayOutputWithContext(ctx co return o } +func (o WidgetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WidgetResponse] { + return pulumix.Output[[]WidgetResponse]{ + OutputState: o.OutputState, + } +} + func (o WidgetResponseArrayOutput) Index(i pulumi.IntInput) WidgetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WidgetResponse { return vs[0].([]WidgetResponse)[vs[1].(int)] @@ -7021,6 +8114,12 @@ func (i XyChartArgs) ToXyChartOutputWithContext(ctx context.Context) XyChartOutp return pulumi.ToOutputWithContext(ctx, i).(XyChartOutput) } +func (i XyChartArgs) ToOutput(ctx context.Context) pulumix.Output[XyChart] { + return pulumix.Output[XyChart]{ + OutputState: i.ToXyChartOutputWithContext(ctx).OutputState, + } +} + func (i XyChartArgs) ToXyChartPtrOutput() XyChartPtrOutput { return i.ToXyChartPtrOutputWithContext(context.Background()) } @@ -7062,6 +8161,12 @@ func (i *xyChartPtrType) ToXyChartPtrOutputWithContext(ctx context.Context) XyCh return pulumi.ToOutputWithContext(ctx, i).(XyChartPtrOutput) } +func (i *xyChartPtrType) ToOutput(ctx context.Context) pulumix.Output[*XyChart] { + return pulumix.Output[*XyChart]{ + OutputState: i.ToXyChartPtrOutputWithContext(ctx).OutputState, + } +} + // A chart that displays data on a 2D (X and Y axes) plane. type XyChartOutput struct{ *pulumi.OutputState } @@ -7087,6 +8192,12 @@ func (o XyChartOutput) ToXyChartPtrOutputWithContext(ctx context.Context) XyChar }).(XyChartPtrOutput) } +func (o XyChartOutput) ToOutput(ctx context.Context) pulumix.Output[XyChart] { + return pulumix.Output[XyChart]{ + OutputState: o.OutputState, + } +} + // Display options for the chart. func (o XyChartOutput) ChartOptions() ChartOptionsPtrOutput { return o.ApplyT(func(v XyChart) *ChartOptions { return v.ChartOptions }).(ChartOptionsPtrOutput) @@ -7136,6 +8247,12 @@ func (o XyChartPtrOutput) ToXyChartPtrOutputWithContext(ctx context.Context) XyC return o } +func (o XyChartPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*XyChart] { + return pulumix.Output[*XyChart]{ + OutputState: o.OutputState, + } +} + func (o XyChartPtrOutput) Elem() XyChartOutput { return o.ApplyT(func(v *XyChart) XyChart { if v != nil { @@ -7249,6 +8366,12 @@ func (o XyChartResponseOutput) ToXyChartResponseOutputWithContext(ctx context.Co return o } +func (o XyChartResponseOutput) ToOutput(ctx context.Context) pulumix.Output[XyChartResponse] { + return pulumix.Output[XyChartResponse]{ + OutputState: o.OutputState, + } +} + // Display options for the chart. func (o XyChartResponseOutput) ChartOptions() ChartOptionsResponseOutput { return o.ApplyT(func(v XyChartResponse) ChartOptionsResponse { return v.ChartOptions }).(ChartOptionsResponseOutput) diff --git a/sdk/go/google/monitoring/v3/alertPolicy.go b/sdk/go/google/monitoring/v3/alertPolicy.go index 8c8d66aa37..983e705ff3 100644 --- a/sdk/go/google/monitoring/v3/alertPolicy.go +++ b/sdk/go/google/monitoring/v3/alertPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new alerting policy.Design your application to single-thread API calls that modify the state of alerting policies in a single project. This includes calls to CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy. @@ -165,6 +166,12 @@ func (i *AlertPolicy) ToAlertPolicyOutputWithContext(ctx context.Context) AlertP return pulumi.ToOutputWithContext(ctx, i).(AlertPolicyOutput) } +func (i *AlertPolicy) ToOutput(ctx context.Context) pulumix.Output[*AlertPolicy] { + return pulumix.Output[*AlertPolicy]{ + OutputState: i.ToAlertPolicyOutputWithContext(ctx).OutputState, + } +} + type AlertPolicyOutput struct{ *pulumi.OutputState } func (AlertPolicyOutput) ElementType() reflect.Type { @@ -179,6 +186,12 @@ func (o AlertPolicyOutput) ToAlertPolicyOutputWithContext(ctx context.Context) A return o } +func (o AlertPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AlertPolicy] { + return pulumix.Output[*AlertPolicy]{ + OutputState: o.OutputState, + } +} + // Control over how this alert policy's notification channels are notified. func (o AlertPolicyOutput) AlertStrategy() AlertStrategyResponseOutput { return o.ApplyT(func(v *AlertPolicy) AlertStrategyResponseOutput { return v.AlertStrategy }).(AlertStrategyResponseOutput) diff --git a/sdk/go/google/monitoring/v3/getAlertPolicy.go b/sdk/go/google/monitoring/v3/getAlertPolicy.go index e9f6fc8706..3896646acc 100644 --- a/sdk/go/google/monitoring/v3/getAlertPolicy.go +++ b/sdk/go/google/monitoring/v3/getAlertPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single alerting policy. @@ -90,6 +91,12 @@ func (o LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutputWithContex return o } +func (o LookupAlertPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAlertPolicyResult] { + return pulumix.Output[LookupAlertPolicyResult]{ + OutputState: o.OutputState, + } +} + // Control over how this alert policy's notification channels are notified. func (o LookupAlertPolicyResultOutput) AlertStrategy() AlertStrategyResponseOutput { return o.ApplyT(func(v LookupAlertPolicyResult) AlertStrategyResponse { return v.AlertStrategy }).(AlertStrategyResponseOutput) diff --git a/sdk/go/google/monitoring/v3/getGroup.go b/sdk/go/google/monitoring/v3/getGroup.go index 87d2269966..ebc4a1d5ad 100644 --- a/sdk/go/google/monitoring/v3/getGroup.go +++ b/sdk/go/google/monitoring/v3/getGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single group. @@ -76,6 +77,12 @@ func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx contex return o } +func (o LookupGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupResult] { + return pulumix.Output[LookupGroupResult]{ + OutputState: o.OutputState, + } +} + // A user-assigned name for this group, used only for display purposes. func (o LookupGroupResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupGroupResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/monitoring/v3/getMetricDescriptor.go b/sdk/go/google/monitoring/v3/getMetricDescriptor.go index aa5c76539a..ce002e341c 100644 --- a/sdk/go/google/monitoring/v3/getMetricDescriptor.go +++ b/sdk/go/google/monitoring/v3/getMetricDescriptor.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single metric descriptor. @@ -88,6 +89,12 @@ func (o LookupMetricDescriptorResultOutput) ToLookupMetricDescriptorResultOutput return o } +func (o LookupMetricDescriptorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMetricDescriptorResult] { + return pulumix.Output[LookupMetricDescriptorResult]{ + OutputState: o.OutputState, + } +} + // A detailed description of the metric, which can be used in documentation. func (o LookupMetricDescriptorResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupMetricDescriptorResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/monitoring/v3/getNotificationChannel.go b/sdk/go/google/monitoring/v3/getNotificationChannel.go index 5cda0c7898..35b72ea97f 100644 --- a/sdk/go/google/monitoring/v3/getNotificationChannel.go +++ b/sdk/go/google/monitoring/v3/getNotificationChannel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single notification channel. The channel includes the relevant configuration details with which the channel was created. However, the response may truncate or omit passwords, API keys, or other private key matter and thus the response may not be 100% identical to the information that was supplied in the call to the create method. @@ -86,6 +87,12 @@ func (o LookupNotificationChannelResultOutput) ToLookupNotificationChannelResult return o } +func (o LookupNotificationChannelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNotificationChannelResult] { + return pulumix.Output[LookupNotificationChannelResult]{ + OutputState: o.OutputState, + } +} + // Record of the creation of this channel. func (o LookupNotificationChannelResultOutput) CreationRecord() MutationRecordResponseOutput { return o.ApplyT(func(v LookupNotificationChannelResult) MutationRecordResponse { return v.CreationRecord }).(MutationRecordResponseOutput) diff --git a/sdk/go/google/monitoring/v3/getService.go b/sdk/go/google/monitoring/v3/getService.go index 36db599476..a638377d63 100644 --- a/sdk/go/google/monitoring/v3/getService.go +++ b/sdk/go/google/monitoring/v3/getService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get the named Service. @@ -98,6 +99,12 @@ func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx co return o } +func (o LookupServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceResult] { + return pulumix.Output[LookupServiceResult]{ + OutputState: o.OutputState, + } +} + // Type used for App Engine services. func (o LookupServiceResultOutput) AppEngine() AppEngineResponseOutput { return o.ApplyT(func(v LookupServiceResult) AppEngineResponse { return v.AppEngine }).(AppEngineResponseOutput) diff --git a/sdk/go/google/monitoring/v3/getServiceLevelObjective.go b/sdk/go/google/monitoring/v3/getServiceLevelObjective.go index 360f92f19f..9e383d6db9 100644 --- a/sdk/go/google/monitoring/v3/getServiceLevelObjective.go +++ b/sdk/go/google/monitoring/v3/getServiceLevelObjective.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a ServiceLevelObjective by name. @@ -86,6 +87,12 @@ func (o LookupServiceLevelObjectiveResultOutput) ToLookupServiceLevelObjectiveRe return o } +func (o LookupServiceLevelObjectiveResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceLevelObjectiveResult] { + return pulumix.Output[LookupServiceLevelObjectiveResult]{ + OutputState: o.OutputState, + } +} + // A calendar period, semantically "since the start of the current ". At this time, only DAY, WEEK, FORTNIGHT, and MONTH are supported. func (o LookupServiceLevelObjectiveResultOutput) CalendarPeriod() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceLevelObjectiveResult) string { return v.CalendarPeriod }).(pulumi.StringOutput) diff --git a/sdk/go/google/monitoring/v3/getSnooze.go b/sdk/go/google/monitoring/v3/getSnooze.go index 7727fe128c..c69227c6a6 100644 --- a/sdk/go/google/monitoring/v3/getSnooze.go +++ b/sdk/go/google/monitoring/v3/getSnooze.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a Snooze by name. @@ -74,6 +75,12 @@ func (o LookupSnoozeResultOutput) ToLookupSnoozeResultOutputWithContext(ctx cont return o } +func (o LookupSnoozeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnoozeResult] { + return pulumix.Output[LookupSnoozeResult]{ + OutputState: o.OutputState, + } +} + // This defines the criteria for applying the Snooze. See Criteria for more information. func (o LookupSnoozeResultOutput) Criteria() CriteriaResponseOutput { return o.ApplyT(func(v LookupSnoozeResult) CriteriaResponse { return v.Criteria }).(CriteriaResponseOutput) diff --git a/sdk/go/google/monitoring/v3/getUptimeCheckConfig.go b/sdk/go/google/monitoring/v3/getUptimeCheckConfig.go index 689fc27324..67b986cf2a 100644 --- a/sdk/go/google/monitoring/v3/getUptimeCheckConfig.go +++ b/sdk/go/google/monitoring/v3/getUptimeCheckConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single Uptime check configuration. @@ -94,6 +95,12 @@ func (o LookupUptimeCheckConfigResultOutput) ToLookupUptimeCheckConfigResultOutp return o } +func (o LookupUptimeCheckConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUptimeCheckConfigResult] { + return pulumix.Output[LookupUptimeCheckConfigResult]{ + OutputState: o.OutputState, + } +} + // The type of checkers to use to execute the Uptime check. func (o LookupUptimeCheckConfigResultOutput) CheckerType() pulumi.StringOutput { return o.ApplyT(func(v LookupUptimeCheckConfigResult) string { return v.CheckerType }).(pulumi.StringOutput) diff --git a/sdk/go/google/monitoring/v3/group.go b/sdk/go/google/monitoring/v3/group.go index 41414b48e4..1970bd4f99 100644 --- a/sdk/go/google/monitoring/v3/group.go +++ b/sdk/go/google/monitoring/v3/group.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new group. @@ -120,6 +121,12 @@ func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return pulumi.ToOutputWithContext(ctx, i).(GroupOutput) } +func (i *Group) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: i.ToGroupOutputWithContext(ctx).OutputState, + } +} + type GroupOutput struct{ *pulumi.OutputState } func (GroupOutput) ElementType() reflect.Type { @@ -134,6 +141,12 @@ func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return o } +func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: o.OutputState, + } +} + // A user-assigned name for this group, used only for display purposes. func (o GroupOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *Group) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/monitoring/v3/metricDescriptor.go b/sdk/go/google/monitoring/v3/metricDescriptor.go index f20bc22e84..27342e1f74 100644 --- a/sdk/go/google/monitoring/v3/metricDescriptor.go +++ b/sdk/go/google/monitoring/v3/metricDescriptor.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new metric descriptor. The creation is executed asynchronously. User-created metric descriptors define custom metrics (https://cloud.google.com/monitoring/custom-metrics). The metric descriptor is updated if it already exists, except that metric labels are never removed. @@ -159,6 +160,12 @@ func (i *MetricDescriptor) ToMetricDescriptorOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorOutput) } +func (i *MetricDescriptor) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptor] { + return pulumix.Output[*MetricDescriptor]{ + OutputState: i.ToMetricDescriptorOutputWithContext(ctx).OutputState, + } +} + type MetricDescriptorOutput struct{ *pulumi.OutputState } func (MetricDescriptorOutput) ElementType() reflect.Type { @@ -173,6 +180,12 @@ func (o MetricDescriptorOutput) ToMetricDescriptorOutputWithContext(ctx context. return o } +func (o MetricDescriptorOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptor] { + return pulumix.Output[*MetricDescriptor]{ + OutputState: o.OutputState, + } +} + // A detailed description of the metric, which can be used in documentation. func (o MetricDescriptorOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *MetricDescriptor) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/monitoring/v3/notificationChannel.go b/sdk/go/google/monitoring/v3/notificationChannel.go index 8092c5acc8..f82e65f7d3 100644 --- a/sdk/go/google/monitoring/v3/notificationChannel.go +++ b/sdk/go/google/monitoring/v3/notificationChannel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.Design your application to single-thread API calls that modify the state of notification channels in a single project. This includes calls to CreateNotificationChannel, DeleteNotificationChannel and UpdateNotificationChannel. @@ -153,6 +154,12 @@ func (i *NotificationChannel) ToNotificationChannelOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(NotificationChannelOutput) } +func (i *NotificationChannel) ToOutput(ctx context.Context) pulumix.Output[*NotificationChannel] { + return pulumix.Output[*NotificationChannel]{ + OutputState: i.ToNotificationChannelOutputWithContext(ctx).OutputState, + } +} + type NotificationChannelOutput struct{ *pulumi.OutputState } func (NotificationChannelOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o NotificationChannelOutput) ToNotificationChannelOutputWithContext(ctx co return o } +func (o NotificationChannelOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationChannel] { + return pulumix.Output[*NotificationChannel]{ + OutputState: o.OutputState, + } +} + // Record of the creation of this channel. func (o NotificationChannelOutput) CreationRecord() MutationRecordResponseOutput { return o.ApplyT(func(v *NotificationChannel) MutationRecordResponseOutput { return v.CreationRecord }).(MutationRecordResponseOutput) diff --git a/sdk/go/google/monitoring/v3/pulumiEnums.go b/sdk/go/google/monitoring/v3/pulumiEnums.go index 4ebee09704..87ae99eed8 100644 --- a/sdk/go/google/monitoring/v3/pulumiEnums.go +++ b/sdk/go/google/monitoring/v3/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned. @@ -104,6 +105,12 @@ func (o AggregationCrossSeriesReducerOutput) ToAggregationCrossSeriesReducerPtrO }).(AggregationCrossSeriesReducerPtrOutput) } +func (o AggregationCrossSeriesReducerOutput) ToOutput(ctx context.Context) pulumix.Output[AggregationCrossSeriesReducer] { + return pulumix.Output[AggregationCrossSeriesReducer]{ + OutputState: o.OutputState, + } +} + func (o AggregationCrossSeriesReducerOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -139,6 +146,12 @@ func (o AggregationCrossSeriesReducerPtrOutput) ToAggregationCrossSeriesReducerP return o } +func (o AggregationCrossSeriesReducerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AggregationCrossSeriesReducer] { + return pulumix.Output[*AggregationCrossSeriesReducer]{ + OutputState: o.OutputState, + } +} + func (o AggregationCrossSeriesReducerPtrOutput) Elem() AggregationCrossSeriesReducerOutput { return o.ApplyT(func(v *AggregationCrossSeriesReducer) AggregationCrossSeriesReducer { if v != nil { @@ -201,6 +214,12 @@ func (in *aggregationCrossSeriesReducerPtr) ToAggregationCrossSeriesReducerPtrOu return pulumi.ToOutputWithContext(ctx, in).(AggregationCrossSeriesReducerPtrOutput) } +func (in *aggregationCrossSeriesReducerPtr) ToOutput(ctx context.Context) pulumix.Output[*AggregationCrossSeriesReducer] { + return pulumix.Output[*AggregationCrossSeriesReducer]{ + OutputState: in.ToAggregationCrossSeriesReducerPtrOutputWithContext(ctx).OutputState, + } +} + // An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned. type AggregationPerSeriesAligner string @@ -305,6 +324,12 @@ func (o AggregationPerSeriesAlignerOutput) ToAggregationPerSeriesAlignerPtrOutpu }).(AggregationPerSeriesAlignerPtrOutput) } +func (o AggregationPerSeriesAlignerOutput) ToOutput(ctx context.Context) pulumix.Output[AggregationPerSeriesAligner] { + return pulumix.Output[AggregationPerSeriesAligner]{ + OutputState: o.OutputState, + } +} + func (o AggregationPerSeriesAlignerOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -340,6 +365,12 @@ func (o AggregationPerSeriesAlignerPtrOutput) ToAggregationPerSeriesAlignerPtrOu return o } +func (o AggregationPerSeriesAlignerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AggregationPerSeriesAligner] { + return pulumix.Output[*AggregationPerSeriesAligner]{ + OutputState: o.OutputState, + } +} + func (o AggregationPerSeriesAlignerPtrOutput) Elem() AggregationPerSeriesAlignerOutput { return o.ApplyT(func(v *AggregationPerSeriesAligner) AggregationPerSeriesAligner { if v != nil { @@ -402,6 +433,12 @@ func (in *aggregationPerSeriesAlignerPtr) ToAggregationPerSeriesAlignerPtrOutput return pulumi.ToOutputWithContext(ctx, in).(AggregationPerSeriesAlignerPtrOutput) } +func (in *aggregationPerSeriesAlignerPtr) ToOutput(ctx context.Context) pulumix.Output[*AggregationPerSeriesAligner] { + return pulumix.Output[*AggregationPerSeriesAligner]{ + OutputState: in.ToAggregationPerSeriesAlignerPtrOutputWithContext(ctx).OutputState, + } +} + // How to combine the results of multiple conditions to determine if an incident should be opened. If condition_time_series_query_language is present, this must be COMBINE_UNSPECIFIED. type AlertPolicyCombiner string @@ -476,6 +513,12 @@ func (o AlertPolicyCombinerOutput) ToAlertPolicyCombinerPtrOutputWithContext(ctx }).(AlertPolicyCombinerPtrOutput) } +func (o AlertPolicyCombinerOutput) ToOutput(ctx context.Context) pulumix.Output[AlertPolicyCombiner] { + return pulumix.Output[AlertPolicyCombiner]{ + OutputState: o.OutputState, + } +} + func (o AlertPolicyCombinerOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -511,6 +554,12 @@ func (o AlertPolicyCombinerPtrOutput) ToAlertPolicyCombinerPtrOutputWithContext( return o } +func (o AlertPolicyCombinerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AlertPolicyCombiner] { + return pulumix.Output[*AlertPolicyCombiner]{ + OutputState: o.OutputState, + } +} + func (o AlertPolicyCombinerPtrOutput) Elem() AlertPolicyCombinerOutput { return o.ApplyT(func(v *AlertPolicyCombiner) AlertPolicyCombiner { if v != nil { @@ -573,6 +622,12 @@ func (in *alertPolicyCombinerPtr) ToAlertPolicyCombinerPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(AlertPolicyCombinerPtrOutput) } +func (in *alertPolicyCombinerPtr) ToOutput(ctx context.Context) pulumix.Output[*AlertPolicyCombiner] { + return pulumix.Output[*AlertPolicyCombiner]{ + OutputState: in.ToAlertPolicyCombinerPtrOutputWithContext(ctx).OutputState, + } +} + // The type of content matcher that will be applied to the server output, compared to the content string when the check is run. type ContentMatcherMatcher string @@ -653,6 +708,12 @@ func (o ContentMatcherMatcherOutput) ToContentMatcherMatcherPtrOutputWithContext }).(ContentMatcherMatcherPtrOutput) } +func (o ContentMatcherMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[ContentMatcherMatcher] { + return pulumix.Output[ContentMatcherMatcher]{ + OutputState: o.OutputState, + } +} + func (o ContentMatcherMatcherOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -688,6 +749,12 @@ func (o ContentMatcherMatcherPtrOutput) ToContentMatcherMatcherPtrOutputWithCont return o } +func (o ContentMatcherMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ContentMatcherMatcher] { + return pulumix.Output[*ContentMatcherMatcher]{ + OutputState: o.OutputState, + } +} + func (o ContentMatcherMatcherPtrOutput) Elem() ContentMatcherMatcherOutput { return o.ApplyT(func(v *ContentMatcherMatcher) ContentMatcherMatcher { if v != nil { @@ -750,6 +817,12 @@ func (in *contentMatcherMatcherPtr) ToContentMatcherMatcherPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ContentMatcherMatcherPtrOutput) } +func (in *contentMatcherMatcherPtr) ToOutput(ctx context.Context) pulumix.Output[*ContentMatcherMatcher] { + return pulumix.Output[*ContentMatcherMatcher]{ + OutputState: in.ToContentMatcherMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead. type HttpCheckContentType string @@ -822,6 +895,12 @@ func (o HttpCheckContentTypeOutput) ToHttpCheckContentTypePtrOutputWithContext(c }).(HttpCheckContentTypePtrOutput) } +func (o HttpCheckContentTypeOutput) ToOutput(ctx context.Context) pulumix.Output[HttpCheckContentType] { + return pulumix.Output[HttpCheckContentType]{ + OutputState: o.OutputState, + } +} + func (o HttpCheckContentTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -857,6 +936,12 @@ func (o HttpCheckContentTypePtrOutput) ToHttpCheckContentTypePtrOutputWithContex return o } +func (o HttpCheckContentTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpCheckContentType] { + return pulumix.Output[*HttpCheckContentType]{ + OutputState: o.OutputState, + } +} + func (o HttpCheckContentTypePtrOutput) Elem() HttpCheckContentTypeOutput { return o.ApplyT(func(v *HttpCheckContentType) HttpCheckContentType { if v != nil { @@ -919,6 +1004,12 @@ func (in *httpCheckContentTypePtr) ToHttpCheckContentTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(HttpCheckContentTypePtrOutput) } +func (in *httpCheckContentTypePtr) ToOutput(ctx context.Context) pulumix.Output[*HttpCheckContentType] { + return pulumix.Output[*HttpCheckContentType]{ + OutputState: in.ToHttpCheckContentTypePtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET. type HttpCheckRequestMethod string @@ -991,6 +1082,12 @@ func (o HttpCheckRequestMethodOutput) ToHttpCheckRequestMethodPtrOutputWithConte }).(HttpCheckRequestMethodPtrOutput) } +func (o HttpCheckRequestMethodOutput) ToOutput(ctx context.Context) pulumix.Output[HttpCheckRequestMethod] { + return pulumix.Output[HttpCheckRequestMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpCheckRequestMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1026,6 +1123,12 @@ func (o HttpCheckRequestMethodPtrOutput) ToHttpCheckRequestMethodPtrOutputWithCo return o } +func (o HttpCheckRequestMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpCheckRequestMethod] { + return pulumix.Output[*HttpCheckRequestMethod]{ + OutputState: o.OutputState, + } +} + func (o HttpCheckRequestMethodPtrOutput) Elem() HttpCheckRequestMethodOutput { return o.ApplyT(func(v *HttpCheckRequestMethod) HttpCheckRequestMethod { if v != nil { @@ -1088,6 +1191,12 @@ func (in *httpCheckRequestMethodPtr) ToHttpCheckRequestMethodPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(HttpCheckRequestMethodPtrOutput) } +func (in *httpCheckRequestMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*HttpCheckRequestMethod] { + return pulumix.Output[*HttpCheckRequestMethod]{ + OutputState: in.ToHttpCheckRequestMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The current operational state of the internal checker. type InternalCheckerState string @@ -1160,6 +1269,12 @@ func (o InternalCheckerStateOutput) ToInternalCheckerStatePtrOutputWithContext(c }).(InternalCheckerStatePtrOutput) } +func (o InternalCheckerStateOutput) ToOutput(ctx context.Context) pulumix.Output[InternalCheckerState] { + return pulumix.Output[InternalCheckerState]{ + OutputState: o.OutputState, + } +} + func (o InternalCheckerStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1195,6 +1310,12 @@ func (o InternalCheckerStatePtrOutput) ToInternalCheckerStatePtrOutputWithContex return o } +func (o InternalCheckerStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalCheckerState] { + return pulumix.Output[*InternalCheckerState]{ + OutputState: o.OutputState, + } +} + func (o InternalCheckerStatePtrOutput) Elem() InternalCheckerStateOutput { return o.ApplyT(func(v *InternalCheckerState) InternalCheckerState { if v != nil { @@ -1257,6 +1378,12 @@ func (in *internalCheckerStatePtr) ToInternalCheckerStatePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InternalCheckerStatePtrOutput) } +func (in *internalCheckerStatePtr) ToOutput(ctx context.Context) pulumix.Output[*InternalCheckerState] { + return pulumix.Output[*InternalCheckerState]{ + OutputState: in.ToInternalCheckerStatePtrOutputWithContext(ctx).OutputState, + } +} + // The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content) type JsonPathMatcherJsonMatcher string @@ -1329,6 +1456,12 @@ func (o JsonPathMatcherJsonMatcherOutput) ToJsonPathMatcherJsonMatcherPtrOutputW }).(JsonPathMatcherJsonMatcherPtrOutput) } +func (o JsonPathMatcherJsonMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[JsonPathMatcherJsonMatcher] { + return pulumix.Output[JsonPathMatcherJsonMatcher]{ + OutputState: o.OutputState, + } +} + func (o JsonPathMatcherJsonMatcherOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1364,6 +1497,12 @@ func (o JsonPathMatcherJsonMatcherPtrOutput) ToJsonPathMatcherJsonMatcherPtrOutp return o } +func (o JsonPathMatcherJsonMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JsonPathMatcherJsonMatcher] { + return pulumix.Output[*JsonPathMatcherJsonMatcher]{ + OutputState: o.OutputState, + } +} + func (o JsonPathMatcherJsonMatcherPtrOutput) Elem() JsonPathMatcherJsonMatcherOutput { return o.ApplyT(func(v *JsonPathMatcherJsonMatcher) JsonPathMatcherJsonMatcher { if v != nil { @@ -1426,6 +1565,12 @@ func (in *jsonPathMatcherJsonMatcherPtr) ToJsonPathMatcherJsonMatcherPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(JsonPathMatcherJsonMatcherPtrOutput) } +func (in *jsonPathMatcherJsonMatcherPtr) ToOutput(ctx context.Context) pulumix.Output[*JsonPathMatcherJsonMatcher] { + return pulumix.Output[*JsonPathMatcherJsonMatcher]{ + OutputState: in.ToJsonPathMatcherJsonMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // The type of data that can be assigned to the label. type LabelDescriptorValueType string @@ -1498,6 +1643,12 @@ func (o LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypePtrOutputWithC }).(LabelDescriptorValueTypePtrOutput) } +func (o LabelDescriptorValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptorValueType] { + return pulumix.Output[LabelDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorValueTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1533,6 +1684,12 @@ func (o LabelDescriptorValueTypePtrOutput) ToLabelDescriptorValueTypePtrOutputWi return o } +func (o LabelDescriptorValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LabelDescriptorValueType] { + return pulumix.Output[*LabelDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorValueTypePtrOutput) Elem() LabelDescriptorValueTypeOutput { return o.ApplyT(func(v *LabelDescriptorValueType) LabelDescriptorValueType { if v != nil { @@ -1595,6 +1752,12 @@ func (in *labelDescriptorValueTypePtr) ToLabelDescriptorValueTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(LabelDescriptorValueTypePtrOutput) } +func (in *labelDescriptorValueTypePtr) ToOutput(ctx context.Context) pulumix.Output[*LabelDescriptorValueType] { + return pulumix.Output[*LabelDescriptorValueType]{ + OutputState: in.ToLabelDescriptorValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The launch stage of the metric definition. type MetricDescriptorLaunchStage string @@ -1677,6 +1840,12 @@ func (o MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStagePtrOutpu }).(MetricDescriptorLaunchStagePtrOutput) } +func (o MetricDescriptorLaunchStageOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorLaunchStage] { + return pulumix.Output[MetricDescriptorLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorLaunchStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1712,6 +1881,12 @@ func (o MetricDescriptorLaunchStagePtrOutput) ToMetricDescriptorLaunchStagePtrOu return o } +func (o MetricDescriptorLaunchStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorLaunchStage] { + return pulumix.Output[*MetricDescriptorLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorLaunchStagePtrOutput) Elem() MetricDescriptorLaunchStageOutput { return o.ApplyT(func(v *MetricDescriptorLaunchStage) MetricDescriptorLaunchStage { if v != nil { @@ -1774,6 +1949,12 @@ func (in *metricDescriptorLaunchStagePtr) ToMetricDescriptorLaunchStagePtrOutput return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorLaunchStagePtrOutput) } +func (in *metricDescriptorLaunchStagePtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorLaunchStage] { + return pulumix.Output[*MetricDescriptorLaunchStage]{ + OutputState: in.ToMetricDescriptorLaunchStagePtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. Must use the MetricDescriptor.launch_stage instead. type MetricDescriptorMetadataLaunchStage string @@ -1856,6 +2037,12 @@ func (o MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLau }).(MetricDescriptorMetadataLaunchStagePtrOutput) } +func (o MetricDescriptorMetadataLaunchStageOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadataLaunchStage] { + return pulumix.Output[MetricDescriptorMetadataLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetadataLaunchStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1891,6 +2078,12 @@ func (o MetricDescriptorMetadataLaunchStagePtrOutput) ToMetricDescriptorMetadata return o } +func (o MetricDescriptorMetadataLaunchStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadataLaunchStage] { + return pulumix.Output[*MetricDescriptorMetadataLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetadataLaunchStagePtrOutput) Elem() MetricDescriptorMetadataLaunchStageOutput { return o.ApplyT(func(v *MetricDescriptorMetadataLaunchStage) MetricDescriptorMetadataLaunchStage { if v != nil { @@ -1953,6 +2146,12 @@ func (in *metricDescriptorMetadataLaunchStagePtr) ToMetricDescriptorMetadataLaun return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorMetadataLaunchStagePtrOutput) } +func (in *metricDescriptorMetadataLaunchStagePtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadataLaunchStage] { + return pulumix.Output[*MetricDescriptorMetadataLaunchStage]{ + OutputState: in.ToMetricDescriptorMetadataLaunchStagePtrOutputWithContext(ctx).OutputState, + } +} + // Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metric_kind and value_type might not be supported. type MetricDescriptorMetricKind string @@ -2027,6 +2226,12 @@ func (o MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindPtrOutputW }).(MetricDescriptorMetricKindPtrOutput) } +func (o MetricDescriptorMetricKindOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetricKind] { + return pulumix.Output[MetricDescriptorMetricKind]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetricKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2062,6 +2267,12 @@ func (o MetricDescriptorMetricKindPtrOutput) ToMetricDescriptorMetricKindPtrOutp return o } +func (o MetricDescriptorMetricKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetricKind] { + return pulumix.Output[*MetricDescriptorMetricKind]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetricKindPtrOutput) Elem() MetricDescriptorMetricKindOutput { return o.ApplyT(func(v *MetricDescriptorMetricKind) MetricDescriptorMetricKind { if v != nil { @@ -2124,6 +2335,12 @@ func (in *metricDescriptorMetricKindPtr) ToMetricDescriptorMetricKindPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorMetricKindPtrOutput) } +func (in *metricDescriptorMetricKindPtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetricKind] { + return pulumix.Output[*MetricDescriptorMetricKind]{ + OutputState: in.ToMetricDescriptorMetricKindPtrOutputWithContext(ctx).OutputState, + } +} + // Whether the measurement is an integer, a floating-point number, etc. Some combinations of metric_kind and value_type might not be supported. type MetricDescriptorValueType string @@ -2204,6 +2421,12 @@ func (o MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypePtrOutputWit }).(MetricDescriptorValueTypePtrOutput) } +func (o MetricDescriptorValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorValueType] { + return pulumix.Output[MetricDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorValueTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2239,6 +2462,12 @@ func (o MetricDescriptorValueTypePtrOutput) ToMetricDescriptorValueTypePtrOutput return o } +func (o MetricDescriptorValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorValueType] { + return pulumix.Output[*MetricDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorValueTypePtrOutput) Elem() MetricDescriptorValueTypeOutput { return o.ApplyT(func(v *MetricDescriptorValueType) MetricDescriptorValueType { if v != nil { @@ -2301,6 +2530,12 @@ func (in *metricDescriptorValueTypePtr) ToMetricDescriptorValueTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorValueTypePtrOutput) } +func (in *metricDescriptorValueTypePtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorValueType] { + return pulumix.Output[*MetricDescriptorValueType]{ + OutputState: in.ToMetricDescriptorValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value). The comparison is applied on each time series, with the time series on the left-hand side and the threshold on the right-hand side.Only COMPARISON_LT and COMPARISON_GT are supported currently. type MetricThresholdComparison string @@ -2381,6 +2616,12 @@ func (o MetricThresholdComparisonOutput) ToMetricThresholdComparisonPtrOutputWit }).(MetricThresholdComparisonPtrOutput) } +func (o MetricThresholdComparisonOutput) ToOutput(ctx context.Context) pulumix.Output[MetricThresholdComparison] { + return pulumix.Output[MetricThresholdComparison]{ + OutputState: o.OutputState, + } +} + func (o MetricThresholdComparisonOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2416,6 +2657,12 @@ func (o MetricThresholdComparisonPtrOutput) ToMetricThresholdComparisonPtrOutput return o } +func (o MetricThresholdComparisonPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricThresholdComparison] { + return pulumix.Output[*MetricThresholdComparison]{ + OutputState: o.OutputState, + } +} + func (o MetricThresholdComparisonPtrOutput) Elem() MetricThresholdComparisonOutput { return o.ApplyT(func(v *MetricThresholdComparison) MetricThresholdComparison { if v != nil { @@ -2478,6 +2725,12 @@ func (in *metricThresholdComparisonPtr) ToMetricThresholdComparisonPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(MetricThresholdComparisonPtrOutput) } +func (in *metricThresholdComparisonPtr) ToOutput(ctx context.Context) pulumix.Output[*MetricThresholdComparison] { + return pulumix.Output[*MetricThresholdComparison]{ + OutputState: in.ToMetricThresholdComparisonPtrOutputWithContext(ctx).OutputState, + } +} + // A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. type MetricThresholdEvaluationMissingData string @@ -2552,6 +2805,12 @@ func (o MetricThresholdEvaluationMissingDataOutput) ToMetricThresholdEvaluationM }).(MetricThresholdEvaluationMissingDataPtrOutput) } +func (o MetricThresholdEvaluationMissingDataOutput) ToOutput(ctx context.Context) pulumix.Output[MetricThresholdEvaluationMissingData] { + return pulumix.Output[MetricThresholdEvaluationMissingData]{ + OutputState: o.OutputState, + } +} + func (o MetricThresholdEvaluationMissingDataOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2587,6 +2846,12 @@ func (o MetricThresholdEvaluationMissingDataPtrOutput) ToMetricThresholdEvaluati return o } +func (o MetricThresholdEvaluationMissingDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricThresholdEvaluationMissingData] { + return pulumix.Output[*MetricThresholdEvaluationMissingData]{ + OutputState: o.OutputState, + } +} + func (o MetricThresholdEvaluationMissingDataPtrOutput) Elem() MetricThresholdEvaluationMissingDataOutput { return o.ApplyT(func(v *MetricThresholdEvaluationMissingData) MetricThresholdEvaluationMissingData { if v != nil { @@ -2649,6 +2914,12 @@ func (in *metricThresholdEvaluationMissingDataPtr) ToMetricThresholdEvaluationMi return pulumi.ToOutputWithContext(ctx, in).(MetricThresholdEvaluationMissingDataPtrOutput) } +func (in *metricThresholdEvaluationMissingDataPtr) ToOutput(ctx context.Context) pulumix.Output[*MetricThresholdEvaluationMissingData] { + return pulumix.Output[*MetricThresholdEvaluationMissingData]{ + OutputState: in.ToMetricThresholdEvaluationMissingDataPtrOutputWithContext(ctx).OutputState, + } +} + // A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. type MonitoringQueryLanguageConditionEvaluationMissingData string @@ -2723,6 +2994,12 @@ func (o MonitoringQueryLanguageConditionEvaluationMissingDataOutput) ToMonitorin }).(MonitoringQueryLanguageConditionEvaluationMissingDataPtrOutput) } +func (o MonitoringQueryLanguageConditionEvaluationMissingDataOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringQueryLanguageConditionEvaluationMissingData] { + return pulumix.Output[MonitoringQueryLanguageConditionEvaluationMissingData]{ + OutputState: o.OutputState, + } +} + func (o MonitoringQueryLanguageConditionEvaluationMissingDataOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2758,6 +3035,12 @@ func (o MonitoringQueryLanguageConditionEvaluationMissingDataPtrOutput) ToMonito return o } +func (o MonitoringQueryLanguageConditionEvaluationMissingDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringQueryLanguageConditionEvaluationMissingData] { + return pulumix.Output[*MonitoringQueryLanguageConditionEvaluationMissingData]{ + OutputState: o.OutputState, + } +} + func (o MonitoringQueryLanguageConditionEvaluationMissingDataPtrOutput) Elem() MonitoringQueryLanguageConditionEvaluationMissingDataOutput { return o.ApplyT(func(v *MonitoringQueryLanguageConditionEvaluationMissingData) MonitoringQueryLanguageConditionEvaluationMissingData { if v != nil { @@ -2820,6 +3103,12 @@ func (in *monitoringQueryLanguageConditionEvaluationMissingDataPtr) ToMonitoring return pulumi.ToOutputWithContext(ctx, in).(MonitoringQueryLanguageConditionEvaluationMissingDataPtrOutput) } +func (in *monitoringQueryLanguageConditionEvaluationMissingDataPtr) ToOutput(ctx context.Context) pulumix.Output[*MonitoringQueryLanguageConditionEvaluationMissingData] { + return pulumix.Output[*MonitoringQueryLanguageConditionEvaluationMissingData]{ + OutputState: in.ToMonitoringQueryLanguageConditionEvaluationMissingDataPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates whether this channel has been verified or not. On a ListNotificationChannels or GetNotificationChannel operation, this field is expected to be populated.If the value is UNVERIFIED, then it indicates that the channel is non-functioning (it both requires verification and lacks verification); otherwise, it is assumed that the channel works.If the channel is neither VERIFIED nor UNVERIFIED, it implies that the channel is of a type that does not require verification or that this specific channel has been exempted from verification because it was created prior to verification being required for channels of this type.This field cannot be modified using a standard UpdateNotificationChannel operation. To change the value of this field, you must call VerifyNotificationChannel. type NotificationChannelVerificationStatus string @@ -2892,6 +3181,12 @@ func (o NotificationChannelVerificationStatusOutput) ToNotificationChannelVerifi }).(NotificationChannelVerificationStatusPtrOutput) } +func (o NotificationChannelVerificationStatusOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationChannelVerificationStatus] { + return pulumix.Output[NotificationChannelVerificationStatus]{ + OutputState: o.OutputState, + } +} + func (o NotificationChannelVerificationStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2927,6 +3222,12 @@ func (o NotificationChannelVerificationStatusPtrOutput) ToNotificationChannelVer return o } +func (o NotificationChannelVerificationStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationChannelVerificationStatus] { + return pulumix.Output[*NotificationChannelVerificationStatus]{ + OutputState: o.OutputState, + } +} + func (o NotificationChannelVerificationStatusPtrOutput) Elem() NotificationChannelVerificationStatusOutput { return o.ApplyT(func(v *NotificationChannelVerificationStatus) NotificationChannelVerificationStatus { if v != nil { @@ -2989,6 +3290,12 @@ func (in *notificationChannelVerificationStatusPtr) ToNotificationChannelVerific return pulumi.ToOutputWithContext(ctx, in).(NotificationChannelVerificationStatusPtrOutput) } +func (in *notificationChannelVerificationStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*NotificationChannelVerificationStatus] { + return pulumix.Output[*NotificationChannelVerificationStatus]{ + OutputState: in.ToNotificationChannelVerificationStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The resource type of the group members. type ResourceGroupResourceType string @@ -3061,6 +3368,12 @@ func (o ResourceGroupResourceTypeOutput) ToResourceGroupResourceTypePtrOutputWit }).(ResourceGroupResourceTypePtrOutput) } +func (o ResourceGroupResourceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceGroupResourceType] { + return pulumix.Output[ResourceGroupResourceType]{ + OutputState: o.OutputState, + } +} + func (o ResourceGroupResourceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3096,6 +3409,12 @@ func (o ResourceGroupResourceTypePtrOutput) ToResourceGroupResourceTypePtrOutput return o } +func (o ResourceGroupResourceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceGroupResourceType] { + return pulumix.Output[*ResourceGroupResourceType]{ + OutputState: o.OutputState, + } +} + func (o ResourceGroupResourceTypePtrOutput) Elem() ResourceGroupResourceTypeOutput { return o.ApplyT(func(v *ResourceGroupResourceType) ResourceGroupResourceType { if v != nil { @@ -3158,6 +3477,12 @@ func (in *resourceGroupResourceTypePtr) ToResourceGroupResourceTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ResourceGroupResourceTypePtrOutput) } +func (in *resourceGroupResourceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ResourceGroupResourceType] { + return pulumix.Output[*ResourceGroupResourceType]{ + OutputState: in.ToResourceGroupResourceTypePtrOutputWithContext(ctx).OutputState, + } +} + // A class of status codes to accept. type ResponseStatusCodeStatusClass string @@ -3238,6 +3563,12 @@ func (o ResponseStatusCodeStatusClassOutput) ToResponseStatusCodeStatusClassPtrO }).(ResponseStatusCodeStatusClassPtrOutput) } +func (o ResponseStatusCodeStatusClassOutput) ToOutput(ctx context.Context) pulumix.Output[ResponseStatusCodeStatusClass] { + return pulumix.Output[ResponseStatusCodeStatusClass]{ + OutputState: o.OutputState, + } +} + func (o ResponseStatusCodeStatusClassOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3273,6 +3604,12 @@ func (o ResponseStatusCodeStatusClassPtrOutput) ToResponseStatusCodeStatusClassP return o } +func (o ResponseStatusCodeStatusClassPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResponseStatusCodeStatusClass] { + return pulumix.Output[*ResponseStatusCodeStatusClass]{ + OutputState: o.OutputState, + } +} + func (o ResponseStatusCodeStatusClassPtrOutput) Elem() ResponseStatusCodeStatusClassOutput { return o.ApplyT(func(v *ResponseStatusCodeStatusClass) ResponseStatusCodeStatusClass { if v != nil { @@ -3335,6 +3672,12 @@ func (in *responseStatusCodeStatusClassPtr) ToResponseStatusCodeStatusClassPtrOu return pulumi.ToOutputWithContext(ctx, in).(ResponseStatusCodeStatusClassPtrOutput) } +func (in *responseStatusCodeStatusClassPtr) ToOutput(ctx context.Context) pulumix.Output[*ResponseStatusCodeStatusClass] { + return pulumix.Output[*ResponseStatusCodeStatusClass]{ + OutputState: in.ToResponseStatusCodeStatusClassPtrOutputWithContext(ctx).OutputState, + } +} + // A calendar period, semantically "since the start of the current ". At this time, only DAY, WEEK, FORTNIGHT, and MONTH are supported. type ServiceLevelObjectiveCalendarPeriod string @@ -3417,6 +3760,12 @@ func (o ServiceLevelObjectiveCalendarPeriodOutput) ToServiceLevelObjectiveCalend }).(ServiceLevelObjectiveCalendarPeriodPtrOutput) } +func (o ServiceLevelObjectiveCalendarPeriodOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceLevelObjectiveCalendarPeriod] { + return pulumix.Output[ServiceLevelObjectiveCalendarPeriod]{ + OutputState: o.OutputState, + } +} + func (o ServiceLevelObjectiveCalendarPeriodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3452,6 +3801,12 @@ func (o ServiceLevelObjectiveCalendarPeriodPtrOutput) ToServiceLevelObjectiveCal return o } +func (o ServiceLevelObjectiveCalendarPeriodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceLevelObjectiveCalendarPeriod] { + return pulumix.Output[*ServiceLevelObjectiveCalendarPeriod]{ + OutputState: o.OutputState, + } +} + func (o ServiceLevelObjectiveCalendarPeriodPtrOutput) Elem() ServiceLevelObjectiveCalendarPeriodOutput { return o.ApplyT(func(v *ServiceLevelObjectiveCalendarPeriod) ServiceLevelObjectiveCalendarPeriod { if v != nil { @@ -3514,6 +3869,12 @@ func (in *serviceLevelObjectiveCalendarPeriodPtr) ToServiceLevelObjectiveCalenda return pulumi.ToOutputWithContext(ctx, in).(ServiceLevelObjectiveCalendarPeriodPtrOutput) } +func (in *serviceLevelObjectiveCalendarPeriodPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceLevelObjectiveCalendarPeriod] { + return pulumix.Output[*ServiceLevelObjectiveCalendarPeriod]{ + OutputState: in.ToServiceLevelObjectiveCalendarPeriodPtrOutputWithContext(ctx).OutputState, + } +} + // The type of checkers to use to execute the Uptime check. type UptimeCheckConfigCheckerType string @@ -3586,6 +3947,12 @@ func (o UptimeCheckConfigCheckerTypeOutput) ToUptimeCheckConfigCheckerTypePtrOut }).(UptimeCheckConfigCheckerTypePtrOutput) } +func (o UptimeCheckConfigCheckerTypeOutput) ToOutput(ctx context.Context) pulumix.Output[UptimeCheckConfigCheckerType] { + return pulumix.Output[UptimeCheckConfigCheckerType]{ + OutputState: o.OutputState, + } +} + func (o UptimeCheckConfigCheckerTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3621,6 +3988,12 @@ func (o UptimeCheckConfigCheckerTypePtrOutput) ToUptimeCheckConfigCheckerTypePtr return o } +func (o UptimeCheckConfigCheckerTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UptimeCheckConfigCheckerType] { + return pulumix.Output[*UptimeCheckConfigCheckerType]{ + OutputState: o.OutputState, + } +} + func (o UptimeCheckConfigCheckerTypePtrOutput) Elem() UptimeCheckConfigCheckerTypeOutput { return o.ApplyT(func(v *UptimeCheckConfigCheckerType) UptimeCheckConfigCheckerType { if v != nil { @@ -3683,6 +4056,12 @@ func (in *uptimeCheckConfigCheckerTypePtr) ToUptimeCheckConfigCheckerTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(UptimeCheckConfigCheckerTypePtrOutput) } +func (in *uptimeCheckConfigCheckerTypePtr) ToOutput(ctx context.Context) pulumix.Output[*UptimeCheckConfigCheckerType] { + return pulumix.Output[*UptimeCheckConfigCheckerType]{ + OutputState: in.ToUptimeCheckConfigCheckerTypePtrOutputWithContext(ctx).OutputState, + } +} + type UptimeCheckConfigSelectedRegionsItem string const ( @@ -3764,6 +4143,12 @@ func (o UptimeCheckConfigSelectedRegionsItemOutput) ToUptimeCheckConfigSelectedR }).(UptimeCheckConfigSelectedRegionsItemPtrOutput) } +func (o UptimeCheckConfigSelectedRegionsItemOutput) ToOutput(ctx context.Context) pulumix.Output[UptimeCheckConfigSelectedRegionsItem] { + return pulumix.Output[UptimeCheckConfigSelectedRegionsItem]{ + OutputState: o.OutputState, + } +} + func (o UptimeCheckConfigSelectedRegionsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3799,6 +4184,12 @@ func (o UptimeCheckConfigSelectedRegionsItemPtrOutput) ToUptimeCheckConfigSelect return o } +func (o UptimeCheckConfigSelectedRegionsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UptimeCheckConfigSelectedRegionsItem] { + return pulumix.Output[*UptimeCheckConfigSelectedRegionsItem]{ + OutputState: o.OutputState, + } +} + func (o UptimeCheckConfigSelectedRegionsItemPtrOutput) Elem() UptimeCheckConfigSelectedRegionsItemOutput { return o.ApplyT(func(v *UptimeCheckConfigSelectedRegionsItem) UptimeCheckConfigSelectedRegionsItem { if v != nil { @@ -3861,6 +4252,12 @@ func (in *uptimeCheckConfigSelectedRegionsItemPtr) ToUptimeCheckConfigSelectedRe return pulumi.ToOutputWithContext(ctx, in).(UptimeCheckConfigSelectedRegionsItemPtrOutput) } +func (in *uptimeCheckConfigSelectedRegionsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*UptimeCheckConfigSelectedRegionsItem] { + return pulumix.Output[*UptimeCheckConfigSelectedRegionsItem]{ + OutputState: in.ToUptimeCheckConfigSelectedRegionsItemPtrOutputWithContext(ctx).OutputState, + } +} + // UptimeCheckConfigSelectedRegionsItemArrayInput is an input type that accepts UptimeCheckConfigSelectedRegionsItemArray and UptimeCheckConfigSelectedRegionsItemArrayOutput values. // You can construct a concrete instance of `UptimeCheckConfigSelectedRegionsItemArrayInput` via: // @@ -3886,6 +4283,12 @@ func (i UptimeCheckConfigSelectedRegionsItemArray) ToUptimeCheckConfigSelectedRe return pulumi.ToOutputWithContext(ctx, i).(UptimeCheckConfigSelectedRegionsItemArrayOutput) } +func (i UptimeCheckConfigSelectedRegionsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]UptimeCheckConfigSelectedRegionsItem] { + return pulumix.Output[[]UptimeCheckConfigSelectedRegionsItem]{ + OutputState: i.ToUptimeCheckConfigSelectedRegionsItemArrayOutputWithContext(ctx).OutputState, + } +} + type UptimeCheckConfigSelectedRegionsItemArrayOutput struct{ *pulumi.OutputState } func (UptimeCheckConfigSelectedRegionsItemArrayOutput) ElementType() reflect.Type { @@ -3900,6 +4303,12 @@ func (o UptimeCheckConfigSelectedRegionsItemArrayOutput) ToUptimeCheckConfigSele return o } +func (o UptimeCheckConfigSelectedRegionsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UptimeCheckConfigSelectedRegionsItem] { + return pulumix.Output[[]UptimeCheckConfigSelectedRegionsItem]{ + OutputState: o.OutputState, + } +} + func (o UptimeCheckConfigSelectedRegionsItemArrayOutput) Index(i pulumi.IntInput) UptimeCheckConfigSelectedRegionsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UptimeCheckConfigSelectedRegionsItem { return vs[0].([]UptimeCheckConfigSelectedRegionsItem)[vs[1].(int)] diff --git a/sdk/go/google/monitoring/v3/pulumiTypes.go b/sdk/go/google/monitoring/v3/pulumiTypes.go index 576d56e1d1..89857131a3 100644 --- a/sdk/go/google/monitoring/v3/pulumiTypes.go +++ b/sdk/go/google/monitoring/v3/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AggregationArgs) ToAggregationOutputWithContext(ctx context.Context) Agg return pulumi.ToOutputWithContext(ctx, i).(AggregationOutput) } +func (i AggregationArgs) ToOutput(ctx context.Context) pulumix.Output[Aggregation] { + return pulumix.Output[Aggregation]{ + OutputState: i.ToAggregationOutputWithContext(ctx).OutputState, + } +} + // AggregationArrayInput is an input type that accepts AggregationArray and AggregationArrayOutput values. // You can construct a concrete instance of `AggregationArrayInput` via: // @@ -85,6 +92,12 @@ func (i AggregationArray) ToAggregationArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AggregationArrayOutput) } +func (i AggregationArray) ToOutput(ctx context.Context) pulumix.Output[[]Aggregation] { + return pulumix.Output[[]Aggregation]{ + OutputState: i.ToAggregationArrayOutputWithContext(ctx).OutputState, + } +} + // Describes how to combine multiple time series to provide a different view of the data. Aggregation of time series is done in two steps. First, each time series in the set is aligned to the same time interval boundaries, then the set of time series is optionally reduced in number.Alignment consists of applying the per_series_aligner operation to each time series after its data has been divided into regular alignment_period time intervals. This process takes all of the data points in an alignment period, applies a mathematical transformation such as averaging, minimum, maximum, delta, etc., and converts them into a single data point per period.Reduction is when the aligned and transformed time series can optionally be combined, reducing the number of time series through similar mathematical transformations. Reduction involves applying a cross_series_reducer to all the time series, optionally sorting the time series into subsets with group_by_fields, and applying the reducer to each subset.The raw time series data can contain a huge amount of information from multiple sources. Alignment and reduction transforms this mass of data into a more manageable and representative collection of data, for example "the 95% latency across the average of all tasks in a cluster". This representative data can be more easily graphed and comprehended, and the individual time series data is still available for later drilldown. For more details, see Filtering and aggregation (https://cloud.google.com/monitoring/api/v3/aggregation). type AggregationOutput struct{ *pulumi.OutputState } @@ -100,6 +113,12 @@ func (o AggregationOutput) ToAggregationOutputWithContext(ctx context.Context) A return o } +func (o AggregationOutput) ToOutput(ctx context.Context) pulumix.Output[Aggregation] { + return pulumix.Output[Aggregation]{ + OutputState: o.OutputState, + } +} + // The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 104 weeks (2 years) for charts, and 90,000 seconds (25 hours) for alerting policies. func (o AggregationOutput) AlignmentPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v Aggregation) *string { return v.AlignmentPeriod }).(pulumi.StringPtrOutput) @@ -134,6 +153,12 @@ func (o AggregationArrayOutput) ToAggregationArrayOutputWithContext(ctx context. return o } +func (o AggregationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Aggregation] { + return pulumix.Output[[]Aggregation]{ + OutputState: o.OutputState, + } +} + func (o AggregationArrayOutput) Index(i pulumi.IntInput) AggregationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Aggregation { return vs[0].([]Aggregation)[vs[1].(int)] @@ -167,6 +192,12 @@ func (o AggregationResponseOutput) ToAggregationResponseOutputWithContext(ctx co return o } +func (o AggregationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AggregationResponse] { + return pulumix.Output[AggregationResponse]{ + OutputState: o.OutputState, + } +} + // The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 104 weeks (2 years) for charts, and 90,000 seconds (25 hours) for alerting policies. func (o AggregationResponseOutput) AlignmentPeriod() pulumi.StringOutput { return o.ApplyT(func(v AggregationResponse) string { return v.AlignmentPeriod }).(pulumi.StringOutput) @@ -201,6 +232,12 @@ func (o AggregationResponseArrayOutput) ToAggregationResponseArrayOutputWithCont return o } +func (o AggregationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AggregationResponse] { + return pulumix.Output[[]AggregationResponse]{ + OutputState: o.OutputState, + } +} + func (o AggregationResponseArrayOutput) Index(i pulumi.IntInput) AggregationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AggregationResponse { return vs[0].([]AggregationResponse)[vs[1].(int)] @@ -250,6 +287,12 @@ func (i AlertStrategyArgs) ToAlertStrategyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AlertStrategyOutput) } +func (i AlertStrategyArgs) ToOutput(ctx context.Context) pulumix.Output[AlertStrategy] { + return pulumix.Output[AlertStrategy]{ + OutputState: i.ToAlertStrategyOutputWithContext(ctx).OutputState, + } +} + func (i AlertStrategyArgs) ToAlertStrategyPtrOutput() AlertStrategyPtrOutput { return i.ToAlertStrategyPtrOutputWithContext(context.Background()) } @@ -291,6 +334,12 @@ func (i *alertStrategyPtrType) ToAlertStrategyPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AlertStrategyPtrOutput) } +func (i *alertStrategyPtrType) ToOutput(ctx context.Context) pulumix.Output[*AlertStrategy] { + return pulumix.Output[*AlertStrategy]{ + OutputState: i.ToAlertStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Control over how the notification channels in notification_channels are notified when this alert fires. type AlertStrategyOutput struct{ *pulumi.OutputState } @@ -316,6 +365,12 @@ func (o AlertStrategyOutput) ToAlertStrategyPtrOutputWithContext(ctx context.Con }).(AlertStrategyPtrOutput) } +func (o AlertStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[AlertStrategy] { + return pulumix.Output[AlertStrategy]{ + OutputState: o.OutputState, + } +} + // If an alert policy that was active has no data for this long, any open incidents will close func (o AlertStrategyOutput) AutoClose() pulumi.StringPtrOutput { return o.ApplyT(func(v AlertStrategy) *string { return v.AutoClose }).(pulumi.StringPtrOutput) @@ -345,6 +400,12 @@ func (o AlertStrategyPtrOutput) ToAlertStrategyPtrOutputWithContext(ctx context. return o } +func (o AlertStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AlertStrategy] { + return pulumix.Output[*AlertStrategy]{ + OutputState: o.OutputState, + } +} + func (o AlertStrategyPtrOutput) Elem() AlertStrategyOutput { return o.ApplyT(func(v *AlertStrategy) AlertStrategy { if v != nil { @@ -410,6 +471,12 @@ func (o AlertStrategyResponseOutput) ToAlertStrategyResponseOutputWithContext(ct return o } +func (o AlertStrategyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AlertStrategyResponse] { + return pulumix.Output[AlertStrategyResponse]{ + OutputState: o.OutputState, + } +} + // If an alert policy that was active has no data for this long, any open incidents will close func (o AlertStrategyResponseOutput) AutoClose() pulumi.StringOutput { return o.ApplyT(func(v AlertStrategyResponse) string { return v.AutoClose }).(pulumi.StringOutput) @@ -462,6 +529,12 @@ func (i AppEngineArgs) ToAppEngineOutputWithContext(ctx context.Context) AppEngi return pulumi.ToOutputWithContext(ctx, i).(AppEngineOutput) } +func (i AppEngineArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngine] { + return pulumix.Output[AppEngine]{ + OutputState: i.ToAppEngineOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineArgs) ToAppEnginePtrOutput() AppEnginePtrOutput { return i.ToAppEnginePtrOutputWithContext(context.Background()) } @@ -503,6 +576,12 @@ func (i *appEnginePtrType) ToAppEnginePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AppEnginePtrOutput) } +func (i *appEnginePtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngine] { + return pulumix.Output[*AppEngine]{ + OutputState: i.ToAppEnginePtrOutputWithContext(ctx).OutputState, + } +} + // App Engine service. Learn more at https://cloud.google.com/appengine. type AppEngineOutput struct{ *pulumi.OutputState } @@ -528,6 +607,12 @@ func (o AppEngineOutput) ToAppEnginePtrOutputWithContext(ctx context.Context) Ap }).(AppEnginePtrOutput) } +func (o AppEngineOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngine] { + return pulumix.Output[AppEngine]{ + OutputState: o.OutputState, + } +} + // The ID of the App Engine module underlying this service. Corresponds to the module_id resource label in the gae_app monitored resource (https://cloud.google.com/monitoring/api/resources#tag_gae_app). func (o AppEngineOutput) ModuleId() pulumi.StringPtrOutput { return o.ApplyT(func(v AppEngine) *string { return v.ModuleId }).(pulumi.StringPtrOutput) @@ -547,6 +632,12 @@ func (o AppEnginePtrOutput) ToAppEnginePtrOutputWithContext(ctx context.Context) return o } +func (o AppEnginePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngine] { + return pulumix.Output[*AppEngine]{ + OutputState: o.OutputState, + } +} + func (o AppEnginePtrOutput) Elem() AppEngineOutput { return o.ApplyT(func(v *AppEngine) AppEngine { if v != nil { @@ -588,6 +679,12 @@ func (o AppEngineResponseOutput) ToAppEngineResponseOutputWithContext(ctx contex return o } +func (o AppEngineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineResponse] { + return pulumix.Output[AppEngineResponse]{ + OutputState: o.OutputState, + } +} + // The ID of the App Engine module underlying this service. Corresponds to the module_id resource label in the gae_app monitored resource (https://cloud.google.com/monitoring/api/resources#tag_gae_app). func (o AppEngineResponseOutput) ModuleId() pulumi.StringOutput { return o.ApplyT(func(v AppEngineResponse) string { return v.ModuleId }).(pulumi.StringOutput) @@ -624,6 +721,12 @@ func (i AvailabilityCriteriaArgs) ToAvailabilityCriteriaOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AvailabilityCriteriaOutput) } +func (i AvailabilityCriteriaArgs) ToOutput(ctx context.Context) pulumix.Output[AvailabilityCriteria] { + return pulumix.Output[AvailabilityCriteria]{ + OutputState: i.ToAvailabilityCriteriaOutputWithContext(ctx).OutputState, + } +} + func (i AvailabilityCriteriaArgs) ToAvailabilityCriteriaPtrOutput() AvailabilityCriteriaPtrOutput { return i.ToAvailabilityCriteriaPtrOutputWithContext(context.Background()) } @@ -665,6 +768,12 @@ func (i *availabilityCriteriaPtrType) ToAvailabilityCriteriaPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AvailabilityCriteriaPtrOutput) } +func (i *availabilityCriteriaPtrType) ToOutput(ctx context.Context) pulumix.Output[*AvailabilityCriteria] { + return pulumix.Output[*AvailabilityCriteria]{ + OutputState: i.ToAvailabilityCriteriaPtrOutputWithContext(ctx).OutputState, + } +} + // Future parameters for the availability SLI. type AvailabilityCriteriaOutput struct{ *pulumi.OutputState } @@ -690,6 +799,12 @@ func (o AvailabilityCriteriaOutput) ToAvailabilityCriteriaPtrOutputWithContext(c }).(AvailabilityCriteriaPtrOutput) } +func (o AvailabilityCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[AvailabilityCriteria] { + return pulumix.Output[AvailabilityCriteria]{ + OutputState: o.OutputState, + } +} + type AvailabilityCriteriaPtrOutput struct{ *pulumi.OutputState } func (AvailabilityCriteriaPtrOutput) ElementType() reflect.Type { @@ -704,6 +819,12 @@ func (o AvailabilityCriteriaPtrOutput) ToAvailabilityCriteriaPtrOutputWithContex return o } +func (o AvailabilityCriteriaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AvailabilityCriteria] { + return pulumix.Output[*AvailabilityCriteria]{ + OutputState: o.OutputState, + } +} + func (o AvailabilityCriteriaPtrOutput) Elem() AvailabilityCriteriaOutput { return o.ApplyT(func(v *AvailabilityCriteria) AvailabilityCriteria { if v != nil { @@ -733,6 +854,12 @@ func (o AvailabilityCriteriaResponseOutput) ToAvailabilityCriteriaResponseOutput return o } +func (o AvailabilityCriteriaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AvailabilityCriteriaResponse] { + return pulumix.Output[AvailabilityCriteriaResponse]{ + OutputState: o.OutputState, + } +} + // The authentication parameters to provide to the specified resource or URL that requires a username and password. Currently, only Basic HTTP authentication (https://tools.ietf.org/html/rfc7617) is supported in Uptime checks. type BasicAuthentication struct { // The password to use when authenticating with the HTTP server. @@ -772,6 +899,12 @@ func (i BasicAuthenticationArgs) ToBasicAuthenticationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BasicAuthenticationOutput) } +func (i BasicAuthenticationArgs) ToOutput(ctx context.Context) pulumix.Output[BasicAuthentication] { + return pulumix.Output[BasicAuthentication]{ + OutputState: i.ToBasicAuthenticationOutputWithContext(ctx).OutputState, + } +} + func (i BasicAuthenticationArgs) ToBasicAuthenticationPtrOutput() BasicAuthenticationPtrOutput { return i.ToBasicAuthenticationPtrOutputWithContext(context.Background()) } @@ -813,6 +946,12 @@ func (i *basicAuthenticationPtrType) ToBasicAuthenticationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BasicAuthenticationPtrOutput) } +func (i *basicAuthenticationPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicAuthentication] { + return pulumix.Output[*BasicAuthentication]{ + OutputState: i.ToBasicAuthenticationPtrOutputWithContext(ctx).OutputState, + } +} + // The authentication parameters to provide to the specified resource or URL that requires a username and password. Currently, only Basic HTTP authentication (https://tools.ietf.org/html/rfc7617) is supported in Uptime checks. type BasicAuthenticationOutput struct{ *pulumi.OutputState } @@ -838,6 +977,12 @@ func (o BasicAuthenticationOutput) ToBasicAuthenticationPtrOutputWithContext(ctx }).(BasicAuthenticationPtrOutput) } +func (o BasicAuthenticationOutput) ToOutput(ctx context.Context) pulumix.Output[BasicAuthentication] { + return pulumix.Output[BasicAuthentication]{ + OutputState: o.OutputState, + } +} + // The password to use when authenticating with the HTTP server. func (o BasicAuthenticationOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v BasicAuthentication) *string { return v.Password }).(pulumi.StringPtrOutput) @@ -862,6 +1007,12 @@ func (o BasicAuthenticationPtrOutput) ToBasicAuthenticationPtrOutputWithContext( return o } +func (o BasicAuthenticationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicAuthentication] { + return pulumix.Output[*BasicAuthentication]{ + OutputState: o.OutputState, + } +} + func (o BasicAuthenticationPtrOutput) Elem() BasicAuthenticationOutput { return o.ApplyT(func(v *BasicAuthentication) BasicAuthentication { if v != nil { @@ -915,6 +1066,12 @@ func (o BasicAuthenticationResponseOutput) ToBasicAuthenticationResponseOutputWi return o } +func (o BasicAuthenticationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicAuthenticationResponse] { + return pulumix.Output[BasicAuthenticationResponse]{ + OutputState: o.OutputState, + } +} + // The password to use when authenticating with the HTTP server. func (o BasicAuthenticationResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v BasicAuthenticationResponse) string { return v.Password }).(pulumi.StringOutput) @@ -964,6 +1121,12 @@ func (i BasicServiceArgs) ToBasicServiceOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BasicServiceOutput) } +func (i BasicServiceArgs) ToOutput(ctx context.Context) pulumix.Output[BasicService] { + return pulumix.Output[BasicService]{ + OutputState: i.ToBasicServiceOutputWithContext(ctx).OutputState, + } +} + func (i BasicServiceArgs) ToBasicServicePtrOutput() BasicServicePtrOutput { return i.ToBasicServicePtrOutputWithContext(context.Background()) } @@ -1005,6 +1168,12 @@ func (i *basicServicePtrType) ToBasicServicePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(BasicServicePtrOutput) } +func (i *basicServicePtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicService] { + return pulumix.Output[*BasicService]{ + OutputState: i.ToBasicServicePtrOutputWithContext(ctx).OutputState, + } +} + // A well-known service type, defined by its service type and service labels. Documentation and examples here (https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli). type BasicServiceOutput struct{ *pulumi.OutputState } @@ -1030,6 +1199,12 @@ func (o BasicServiceOutput) ToBasicServicePtrOutputWithContext(ctx context.Conte }).(BasicServicePtrOutput) } +func (o BasicServiceOutput) ToOutput(ctx context.Context) pulumix.Output[BasicService] { + return pulumix.Output[BasicService]{ + OutputState: o.OutputState, + } +} + // Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this Service. Documentation and valid values for given service types here (https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli). func (o BasicServiceOutput) ServiceLabels() pulumi.StringMapOutput { return o.ApplyT(func(v BasicService) map[string]string { return v.ServiceLabels }).(pulumi.StringMapOutput) @@ -1054,6 +1229,12 @@ func (o BasicServicePtrOutput) ToBasicServicePtrOutputWithContext(ctx context.Co return o } +func (o BasicServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicService] { + return pulumix.Output[*BasicService]{ + OutputState: o.OutputState, + } +} + func (o BasicServicePtrOutput) Elem() BasicServiceOutput { return o.ApplyT(func(v *BasicService) BasicService { if v != nil { @@ -1107,6 +1288,12 @@ func (o BasicServiceResponseOutput) ToBasicServiceResponseOutputWithContext(ctx return o } +func (o BasicServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicServiceResponse] { + return pulumix.Output[BasicServiceResponse]{ + OutputState: o.OutputState, + } +} + // Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this Service. Documentation and valid values for given service types here (https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli). func (o BasicServiceResponseOutput) ServiceLabels() pulumi.StringMapOutput { return o.ApplyT(func(v BasicServiceResponse) map[string]string { return v.ServiceLabels }).(pulumi.StringMapOutput) @@ -1168,6 +1355,12 @@ func (i BasicSliArgs) ToBasicSliOutputWithContext(ctx context.Context) BasicSliO return pulumi.ToOutputWithContext(ctx, i).(BasicSliOutput) } +func (i BasicSliArgs) ToOutput(ctx context.Context) pulumix.Output[BasicSli] { + return pulumix.Output[BasicSli]{ + OutputState: i.ToBasicSliOutputWithContext(ctx).OutputState, + } +} + func (i BasicSliArgs) ToBasicSliPtrOutput() BasicSliPtrOutput { return i.ToBasicSliPtrOutputWithContext(context.Background()) } @@ -1209,6 +1402,12 @@ func (i *basicSliPtrType) ToBasicSliPtrOutputWithContext(ctx context.Context) Ba return pulumi.ToOutputWithContext(ctx, i).(BasicSliPtrOutput) } +func (i *basicSliPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicSli] { + return pulumix.Output[*BasicSli]{ + OutputState: i.ToBasicSliPtrOutputWithContext(ctx).OutputState, + } +} + // An SLI measuring performance on a well-known service type. Performance will be computed on the basis of pre-defined metrics. The type of the service_resource determines the metrics to use and the service_resource.labels and metric_labels are used to construct a monitoring filter to filter that metric down to just the data relevant to this service. type BasicSliOutput struct{ *pulumi.OutputState } @@ -1234,6 +1433,12 @@ func (o BasicSliOutput) ToBasicSliPtrOutputWithContext(ctx context.Context) Basi }).(BasicSliPtrOutput) } +func (o BasicSliOutput) ToOutput(ctx context.Context) pulumix.Output[BasicSli] { + return pulumix.Output[BasicSli]{ + OutputState: o.OutputState, + } +} + // Good service is defined to be the count of requests made to this service that return successfully. func (o BasicSliOutput) Availability() AvailabilityCriteriaPtrOutput { return o.ApplyT(func(v BasicSli) *AvailabilityCriteria { return v.Availability }).(AvailabilityCriteriaPtrOutput) @@ -1273,6 +1478,12 @@ func (o BasicSliPtrOutput) ToBasicSliPtrOutputWithContext(ctx context.Context) B return o } +func (o BasicSliPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicSli] { + return pulumix.Output[*BasicSli]{ + OutputState: o.OutputState, + } +} + func (o BasicSliPtrOutput) Elem() BasicSliOutput { return o.ApplyT(func(v *BasicSli) BasicSli { if v != nil { @@ -1362,6 +1573,12 @@ func (o BasicSliResponseOutput) ToBasicSliResponseOutputWithContext(ctx context. return o } +func (o BasicSliResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicSliResponse] { + return pulumix.Output[BasicSliResponse]{ + OutputState: o.OutputState, + } +} + // Good service is defined to be the count of requests made to this service that return successfully. func (o BasicSliResponseOutput) Availability() AvailabilityCriteriaResponseOutput { return o.ApplyT(func(v BasicSliResponse) AvailabilityCriteriaResponse { return v.Availability }).(AvailabilityCriteriaResponseOutput) @@ -1422,6 +1639,12 @@ func (i CloudEndpointsArgs) ToCloudEndpointsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(CloudEndpointsOutput) } +func (i CloudEndpointsArgs) ToOutput(ctx context.Context) pulumix.Output[CloudEndpoints] { + return pulumix.Output[CloudEndpoints]{ + OutputState: i.ToCloudEndpointsOutputWithContext(ctx).OutputState, + } +} + func (i CloudEndpointsArgs) ToCloudEndpointsPtrOutput() CloudEndpointsPtrOutput { return i.ToCloudEndpointsPtrOutputWithContext(context.Background()) } @@ -1463,6 +1686,12 @@ func (i *cloudEndpointsPtrType) ToCloudEndpointsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CloudEndpointsPtrOutput) } +func (i *cloudEndpointsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudEndpoints] { + return pulumix.Output[*CloudEndpoints]{ + OutputState: i.ToCloudEndpointsPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints. type CloudEndpointsOutput struct{ *pulumi.OutputState } @@ -1488,6 +1717,12 @@ func (o CloudEndpointsOutput) ToCloudEndpointsPtrOutputWithContext(ctx context.C }).(CloudEndpointsPtrOutput) } +func (o CloudEndpointsOutput) ToOutput(ctx context.Context) pulumix.Output[CloudEndpoints] { + return pulumix.Output[CloudEndpoints]{ + OutputState: o.OutputState, + } +} + // The name of the Cloud Endpoints service underlying this service. Corresponds to the service resource label in the api monitored resource (https://cloud.google.com/monitoring/api/resources#tag_api). func (o CloudEndpointsOutput) Service() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudEndpoints) *string { return v.Service }).(pulumi.StringPtrOutput) @@ -1507,6 +1742,12 @@ func (o CloudEndpointsPtrOutput) ToCloudEndpointsPtrOutputWithContext(ctx contex return o } +func (o CloudEndpointsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudEndpoints] { + return pulumix.Output[*CloudEndpoints]{ + OutputState: o.OutputState, + } +} + func (o CloudEndpointsPtrOutput) Elem() CloudEndpointsOutput { return o.ApplyT(func(v *CloudEndpoints) CloudEndpoints { if v != nil { @@ -1548,6 +1789,12 @@ func (o CloudEndpointsResponseOutput) ToCloudEndpointsResponseOutputWithContext( return o } +func (o CloudEndpointsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudEndpointsResponse] { + return pulumix.Output[CloudEndpointsResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Cloud Endpoints service underlying this service. Corresponds to the service resource label in the api monitored resource (https://cloud.google.com/monitoring/api/resources#tag_api). func (o CloudEndpointsResponseOutput) Service() pulumi.StringOutput { return o.ApplyT(func(v CloudEndpointsResponse) string { return v.Service }).(pulumi.StringOutput) @@ -1592,6 +1839,12 @@ func (i CloudRunArgs) ToCloudRunOutputWithContext(ctx context.Context) CloudRunO return pulumi.ToOutputWithContext(ctx, i).(CloudRunOutput) } +func (i CloudRunArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRun] { + return pulumix.Output[CloudRun]{ + OutputState: i.ToCloudRunOutputWithContext(ctx).OutputState, + } +} + func (i CloudRunArgs) ToCloudRunPtrOutput() CloudRunPtrOutput { return i.ToCloudRunPtrOutputWithContext(context.Background()) } @@ -1633,6 +1886,12 @@ func (i *cloudRunPtrType) ToCloudRunPtrOutputWithContext(ctx context.Context) Cl return pulumi.ToOutputWithContext(ctx, i).(CloudRunPtrOutput) } +func (i *cloudRunPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRun] { + return pulumix.Output[*CloudRun]{ + OutputState: i.ToCloudRunPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Run service. Learn more at https://cloud.google.com/run. type CloudRunOutput struct{ *pulumi.OutputState } @@ -1658,6 +1917,12 @@ func (o CloudRunOutput) ToCloudRunPtrOutputWithContext(ctx context.Context) Clou }).(CloudRunPtrOutput) } +func (o CloudRunOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRun] { + return pulumix.Output[CloudRun]{ + OutputState: o.OutputState, + } +} + // The location the service is run. Corresponds to the location resource label in the cloud_run_revision monitored resource (https://cloud.google.com/monitoring/api/resources#tag_cloud_run_revision). func (o CloudRunOutput) Location() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudRun) *string { return v.Location }).(pulumi.StringPtrOutput) @@ -1682,6 +1947,12 @@ func (o CloudRunPtrOutput) ToCloudRunPtrOutputWithContext(ctx context.Context) C return o } +func (o CloudRunPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRun] { + return pulumix.Output[*CloudRun]{ + OutputState: o.OutputState, + } +} + func (o CloudRunPtrOutput) Elem() CloudRunOutput { return o.ApplyT(func(v *CloudRun) CloudRun { if v != nil { @@ -1735,6 +2006,12 @@ func (o CloudRunResponseOutput) ToCloudRunResponseOutputWithContext(ctx context. return o } +func (o CloudRunResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunResponse] { + return pulumix.Output[CloudRunResponse]{ + OutputState: o.OutputState, + } +} + // The location the service is run. Corresponds to the location resource label in the cloud_run_revision monitored resource (https://cloud.google.com/monitoring/api/resources#tag_cloud_run_revision). func (o CloudRunResponseOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v CloudRunResponse) string { return v.Location }).(pulumi.StringOutput) @@ -1792,6 +2069,12 @@ func (i ClusterIstioArgs) ToClusterIstioOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ClusterIstioOutput) } +func (i ClusterIstioArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterIstio] { + return pulumix.Output[ClusterIstio]{ + OutputState: i.ToClusterIstioOutputWithContext(ctx).OutputState, + } +} + func (i ClusterIstioArgs) ToClusterIstioPtrOutput() ClusterIstioPtrOutput { return i.ToClusterIstioPtrOutputWithContext(context.Background()) } @@ -1833,6 +2116,12 @@ func (i *clusterIstioPtrType) ToClusterIstioPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ClusterIstioPtrOutput) } +func (i *clusterIstioPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClusterIstio] { + return pulumix.Output[*ClusterIstio]{ + OutputState: i.ToClusterIstioPtrOutputWithContext(ctx).OutputState, + } +} + // Istio service scoped to a single Kubernetes cluster. Learn more at https://istio.io. Clusters running OSS Istio will have their services ingested as this type. type ClusterIstioOutput struct{ *pulumi.OutputState } @@ -1858,6 +2147,12 @@ func (o ClusterIstioOutput) ToClusterIstioPtrOutputWithContext(ctx context.Conte }).(ClusterIstioPtrOutput) } +func (o ClusterIstioOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterIstio] { + return pulumix.Output[ClusterIstio]{ + OutputState: o.OutputState, + } +} + // The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources. func (o ClusterIstioOutput) ClusterName() pulumi.StringPtrOutput { return o.ApplyT(func(v ClusterIstio) *string { return v.ClusterName }).(pulumi.StringPtrOutput) @@ -1892,6 +2187,12 @@ func (o ClusterIstioPtrOutput) ToClusterIstioPtrOutputWithContext(ctx context.Co return o } +func (o ClusterIstioPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClusterIstio] { + return pulumix.Output[*ClusterIstio]{ + OutputState: o.OutputState, + } +} + func (o ClusterIstioPtrOutput) Elem() ClusterIstioOutput { return o.ApplyT(func(v *ClusterIstio) ClusterIstio { if v != nil { @@ -1969,6 +2270,12 @@ func (o ClusterIstioResponseOutput) ToClusterIstioResponseOutputWithContext(ctx return o } +func (o ClusterIstioResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterIstioResponse] { + return pulumix.Output[ClusterIstioResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources. func (o ClusterIstioResponseOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v ClusterIstioResponse) string { return v.ClusterName }).(pulumi.StringOutput) @@ -2044,6 +2351,12 @@ func (i ConditionArgs) ToConditionOutputWithContext(ctx context.Context) Conditi return pulumi.ToOutputWithContext(ctx, i).(ConditionOutput) } +func (i ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: i.ToConditionOutputWithContext(ctx).OutputState, + } +} + // ConditionArrayInput is an input type that accepts ConditionArray and ConditionArrayOutput values. // You can construct a concrete instance of `ConditionArrayInput` via: // @@ -2069,6 +2382,12 @@ func (i ConditionArray) ToConditionArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ConditionArrayOutput) } +func (i ConditionArray) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: i.ToConditionArrayOutputWithContext(ctx).OutputState, + } +} + // A condition is a true/false test that determines when an alerting policy should open an incident. If a condition evaluates to true, it signifies that something is wrong. type ConditionOutput struct{ *pulumi.OutputState } @@ -2084,6 +2403,12 @@ func (o ConditionOutput) ToConditionOutputWithContext(ctx context.Context) Condi return o } +func (o ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[Condition] { + return pulumix.Output[Condition]{ + OutputState: o.OutputState, + } +} + // A condition that checks that a time series continues to receive new data points. func (o ConditionOutput) ConditionAbsent() MetricAbsencePtrOutput { return o.ApplyT(func(v Condition) *MetricAbsence { return v.ConditionAbsent }).(MetricAbsencePtrOutput) @@ -2128,6 +2453,12 @@ func (o ConditionArrayOutput) ToConditionArrayOutputWithContext(ctx context.Cont return o } +func (o ConditionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Condition] { + return pulumix.Output[[]Condition]{ + OutputState: o.OutputState, + } +} + func (o ConditionArrayOutput) Index(i pulumi.IntInput) ConditionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Condition { return vs[0].([]Condition)[vs[1].(int)] @@ -2165,6 +2496,12 @@ func (o ConditionResponseOutput) ToConditionResponseOutputWithContext(ctx contex return o } +func (o ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConditionResponse] { + return pulumix.Output[ConditionResponse]{ + OutputState: o.OutputState, + } +} + // A condition that checks that a time series continues to receive new data points. func (o ConditionResponseOutput) ConditionAbsent() MetricAbsenceResponseOutput { return o.ApplyT(func(v ConditionResponse) MetricAbsenceResponse { return v.ConditionAbsent }).(MetricAbsenceResponseOutput) @@ -2211,6 +2548,12 @@ func (o ConditionResponseArrayOutput) ToConditionResponseArrayOutputWithContext( return o } +func (o ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConditionResponse] { + return pulumix.Output[[]ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o ConditionResponseArrayOutput) Index(i pulumi.IntInput) ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConditionResponse { return vs[0].([]ConditionResponse)[vs[1].(int)] @@ -2260,6 +2603,12 @@ func (i ContentMatcherArgs) ToContentMatcherOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ContentMatcherOutput) } +func (i ContentMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[ContentMatcher] { + return pulumix.Output[ContentMatcher]{ + OutputState: i.ToContentMatcherOutputWithContext(ctx).OutputState, + } +} + // ContentMatcherArrayInput is an input type that accepts ContentMatcherArray and ContentMatcherArrayOutput values. // You can construct a concrete instance of `ContentMatcherArrayInput` via: // @@ -2285,6 +2634,12 @@ func (i ContentMatcherArray) ToContentMatcherArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ContentMatcherArrayOutput) } +func (i ContentMatcherArray) ToOutput(ctx context.Context) pulumix.Output[[]ContentMatcher] { + return pulumix.Output[[]ContentMatcher]{ + OutputState: i.ToContentMatcherArrayOutputWithContext(ctx).OutputState, + } +} + // Optional. Used to perform content matching. This allows matching based on substrings and regular expressions, together with their negations. Only the first 4 MB of an HTTP or HTTPS check's response (and the first 1 MB of a TCP check's response) are examined for purposes of content matching. type ContentMatcherOutput struct{ *pulumi.OutputState } @@ -2300,6 +2655,12 @@ func (o ContentMatcherOutput) ToContentMatcherOutputWithContext(ctx context.Cont return o } +func (o ContentMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[ContentMatcher] { + return pulumix.Output[ContentMatcher]{ + OutputState: o.OutputState, + } +} + // String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed. func (o ContentMatcherOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v ContentMatcher) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -2329,6 +2690,12 @@ func (o ContentMatcherArrayOutput) ToContentMatcherArrayOutputWithContext(ctx co return o } +func (o ContentMatcherArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ContentMatcher] { + return pulumix.Output[[]ContentMatcher]{ + OutputState: o.OutputState, + } +} + func (o ContentMatcherArrayOutput) Index(i pulumi.IntInput) ContentMatcherOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContentMatcher { return vs[0].([]ContentMatcher)[vs[1].(int)] @@ -2360,6 +2727,12 @@ func (o ContentMatcherResponseOutput) ToContentMatcherResponseOutputWithContext( return o } +func (o ContentMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContentMatcherResponse] { + return pulumix.Output[ContentMatcherResponse]{ + OutputState: o.OutputState, + } +} + // String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed. func (o ContentMatcherResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v ContentMatcherResponse) string { return v.Content }).(pulumi.StringOutput) @@ -2389,6 +2762,12 @@ func (o ContentMatcherResponseArrayOutput) ToContentMatcherResponseArrayOutputWi return o } +func (o ContentMatcherResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ContentMatcherResponse] { + return pulumix.Output[[]ContentMatcherResponse]{ + OutputState: o.OutputState, + } +} + func (o ContentMatcherResponseArrayOutput) Index(i pulumi.IntInput) ContentMatcherResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContentMatcherResponse { return vs[0].([]ContentMatcherResponse)[vs[1].(int)] @@ -2430,6 +2809,12 @@ func (i CriteriaArgs) ToCriteriaOutputWithContext(ctx context.Context) CriteriaO return pulumi.ToOutputWithContext(ctx, i).(CriteriaOutput) } +func (i CriteriaArgs) ToOutput(ctx context.Context) pulumix.Output[Criteria] { + return pulumix.Output[Criteria]{ + OutputState: i.ToCriteriaOutputWithContext(ctx).OutputState, + } +} + // Criteria specific to the AlertPolicys that this Snooze applies to. The Snooze will suppress alerts that come from one of the AlertPolicys whose names are supplied. type CriteriaOutput struct{ *pulumi.OutputState } @@ -2445,6 +2830,12 @@ func (o CriteriaOutput) ToCriteriaOutputWithContext(ctx context.Context) Criteri return o } +func (o CriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[Criteria] { + return pulumix.Output[Criteria]{ + OutputState: o.OutputState, + } +} + // The specific AlertPolicy names for the alert that should be snoozed. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] There is a limit of 16 policies per snooze. This limit is checked during snooze creation. func (o CriteriaOutput) Policies() pulumi.StringArrayOutput { return o.ApplyT(func(v Criteria) []string { return v.Policies }).(pulumi.StringArrayOutput) @@ -2471,6 +2862,12 @@ func (o CriteriaResponseOutput) ToCriteriaResponseOutputWithContext(ctx context. return o } +func (o CriteriaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CriteriaResponse] { + return pulumix.Output[CriteriaResponse]{ + OutputState: o.OutputState, + } +} + // The specific AlertPolicy names for the alert that should be snoozed. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] There is a limit of 16 policies per snooze. This limit is checked during snooze creation. func (o CriteriaResponseOutput) Policies() pulumi.StringArrayOutput { return o.ApplyT(func(v CriteriaResponse) []string { return v.Policies }).(pulumi.StringArrayOutput) @@ -2507,6 +2904,12 @@ func (i CustomArgs) ToCustomOutputWithContext(ctx context.Context) CustomOutput return pulumi.ToOutputWithContext(ctx, i).(CustomOutput) } +func (i CustomArgs) ToOutput(ctx context.Context) pulumix.Output[Custom] { + return pulumix.Output[Custom]{ + OutputState: i.ToCustomOutputWithContext(ctx).OutputState, + } +} + func (i CustomArgs) ToCustomPtrOutput() CustomPtrOutput { return i.ToCustomPtrOutputWithContext(context.Background()) } @@ -2548,6 +2951,12 @@ func (i *customPtrType) ToCustomPtrOutputWithContext(ctx context.Context) Custom return pulumi.ToOutputWithContext(ctx, i).(CustomPtrOutput) } +func (i *customPtrType) ToOutput(ctx context.Context) pulumix.Output[*Custom] { + return pulumix.Output[*Custom]{ + OutputState: i.ToCustomPtrOutputWithContext(ctx).OutputState, + } +} + // Use a custom service to designate a service that you want to monitor when none of the other service types (like App Engine, Cloud Run, or a GKE type) matches your intended service. type CustomOutput struct{ *pulumi.OutputState } @@ -2573,6 +2982,12 @@ func (o CustomOutput) ToCustomPtrOutputWithContext(ctx context.Context) CustomPt }).(CustomPtrOutput) } +func (o CustomOutput) ToOutput(ctx context.Context) pulumix.Output[Custom] { + return pulumix.Output[Custom]{ + OutputState: o.OutputState, + } +} + type CustomPtrOutput struct{ *pulumi.OutputState } func (CustomPtrOutput) ElementType() reflect.Type { @@ -2587,6 +3002,12 @@ func (o CustomPtrOutput) ToCustomPtrOutputWithContext(ctx context.Context) Custo return o } +func (o CustomPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Custom] { + return pulumix.Output[*Custom]{ + OutputState: o.OutputState, + } +} + func (o CustomPtrOutput) Elem() CustomOutput { return o.ApplyT(func(v *Custom) Custom { if v != nil { @@ -2616,6 +3037,12 @@ func (o CustomResponseOutput) ToCustomResponseOutputWithContext(ctx context.Cont return o } +func (o CustomResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomResponse] { + return pulumix.Output[CustomResponse]{ + OutputState: o.OutputState, + } +} + // A DistributionCut defines a TimeSeries and thresholds used for measuring good service and total service. The TimeSeries must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service will be the estimated count of values in the Distribution that fall within the specified min and max. type DistributionCut struct { // A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries aggregating values. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. @@ -2655,6 +3082,12 @@ func (i DistributionCutArgs) ToDistributionCutOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(DistributionCutOutput) } +func (i DistributionCutArgs) ToOutput(ctx context.Context) pulumix.Output[DistributionCut] { + return pulumix.Output[DistributionCut]{ + OutputState: i.ToDistributionCutOutputWithContext(ctx).OutputState, + } +} + func (i DistributionCutArgs) ToDistributionCutPtrOutput() DistributionCutPtrOutput { return i.ToDistributionCutPtrOutputWithContext(context.Background()) } @@ -2696,6 +3129,12 @@ func (i *distributionCutPtrType) ToDistributionCutPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(DistributionCutPtrOutput) } +func (i *distributionCutPtrType) ToOutput(ctx context.Context) pulumix.Output[*DistributionCut] { + return pulumix.Output[*DistributionCut]{ + OutputState: i.ToDistributionCutPtrOutputWithContext(ctx).OutputState, + } +} + // A DistributionCut defines a TimeSeries and thresholds used for measuring good service and total service. The TimeSeries must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service will be the estimated count of values in the Distribution that fall within the specified min and max. type DistributionCutOutput struct{ *pulumi.OutputState } @@ -2721,6 +3160,12 @@ func (o DistributionCutOutput) ToDistributionCutPtrOutputWithContext(ctx context }).(DistributionCutPtrOutput) } +func (o DistributionCutOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionCut] { + return pulumix.Output[DistributionCut]{ + OutputState: o.OutputState, + } +} + // A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries aggregating values. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. func (o DistributionCutOutput) DistributionFilter() pulumi.StringPtrOutput { return o.ApplyT(func(v DistributionCut) *string { return v.DistributionFilter }).(pulumi.StringPtrOutput) @@ -2745,6 +3190,12 @@ func (o DistributionCutPtrOutput) ToDistributionCutPtrOutputWithContext(ctx cont return o } +func (o DistributionCutPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DistributionCut] { + return pulumix.Output[*DistributionCut]{ + OutputState: o.OutputState, + } +} + func (o DistributionCutPtrOutput) Elem() DistributionCutOutput { return o.ApplyT(func(v *DistributionCut) DistributionCut { if v != nil { @@ -2798,6 +3249,12 @@ func (o DistributionCutResponseOutput) ToDistributionCutResponseOutputWithContex return o } +func (o DistributionCutResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DistributionCutResponse] { + return pulumix.Output[DistributionCutResponse]{ + OutputState: o.OutputState, + } +} + // A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries aggregating values. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. func (o DistributionCutResponseOutput) DistributionFilter() pulumi.StringOutput { return o.ApplyT(func(v DistributionCutResponse) string { return v.DistributionFilter }).(pulumi.StringOutput) @@ -2847,6 +3304,12 @@ func (i DocumentationArgs) ToDocumentationOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DocumentationOutput) } +func (i DocumentationArgs) ToOutput(ctx context.Context) pulumix.Output[Documentation] { + return pulumix.Output[Documentation]{ + OutputState: i.ToDocumentationOutputWithContext(ctx).OutputState, + } +} + func (i DocumentationArgs) ToDocumentationPtrOutput() DocumentationPtrOutput { return i.ToDocumentationPtrOutputWithContext(context.Background()) } @@ -2888,6 +3351,12 @@ func (i *documentationPtrType) ToDocumentationPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DocumentationPtrOutput) } +func (i *documentationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Documentation] { + return pulumix.Output[*Documentation]{ + OutputState: i.ToDocumentationPtrOutputWithContext(ctx).OutputState, + } +} + // A content string and a MIME type that describes the content string's format. type DocumentationOutput struct{ *pulumi.OutputState } @@ -2913,6 +3382,12 @@ func (o DocumentationOutput) ToDocumentationPtrOutputWithContext(ctx context.Con }).(DocumentationPtrOutput) } +func (o DocumentationOutput) ToOutput(ctx context.Context) pulumix.Output[Documentation] { + return pulumix.Output[Documentation]{ + OutputState: o.OutputState, + } +} + // The body of the documentation, interpreted according to mime_type. The content may not exceed 8,192 Unicode characters and may not exceed more than 10,240 bytes when encoded in UTF-8 format, whichever is smaller. This text can be templatized by using variables (https://cloud.google.com/monitoring/alerts/doc-variables). func (o DocumentationOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v Documentation) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -2937,6 +3412,12 @@ func (o DocumentationPtrOutput) ToDocumentationPtrOutputWithContext(ctx context. return o } +func (o DocumentationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Documentation] { + return pulumix.Output[*Documentation]{ + OutputState: o.OutputState, + } +} + func (o DocumentationPtrOutput) Elem() DocumentationOutput { return o.ApplyT(func(v *Documentation) Documentation { if v != nil { @@ -2990,6 +3471,12 @@ func (o DocumentationResponseOutput) ToDocumentationResponseOutputWithContext(ct return o } +func (o DocumentationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentationResponse] { + return pulumix.Output[DocumentationResponse]{ + OutputState: o.OutputState, + } +} + // The body of the documentation, interpreted according to mime_type. The content may not exceed 8,192 Unicode characters and may not exceed more than 10,240 bytes when encoded in UTF-8 format, whichever is smaller. This text can be templatized by using variables (https://cloud.google.com/monitoring/alerts/doc-variables). func (o DocumentationResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v DocumentationResponse) string { return v.Content }).(pulumi.StringOutput) @@ -3035,6 +3522,12 @@ func (i ForecastOptionsArgs) ToForecastOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ForecastOptionsOutput) } +func (i ForecastOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ForecastOptions] { + return pulumix.Output[ForecastOptions]{ + OutputState: i.ToForecastOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ForecastOptionsArgs) ToForecastOptionsPtrOutput() ForecastOptionsPtrOutput { return i.ToForecastOptionsPtrOutputWithContext(context.Background()) } @@ -3076,6 +3569,12 @@ func (i *forecastOptionsPtrType) ToForecastOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ForecastOptionsPtrOutput) } +func (i *forecastOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ForecastOptions] { + return pulumix.Output[*ForecastOptions]{ + OutputState: i.ToForecastOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options used when forecasting the time series and testing the predicted value against the threshold. type ForecastOptionsOutput struct{ *pulumi.OutputState } @@ -3101,6 +3600,12 @@ func (o ForecastOptionsOutput) ToForecastOptionsPtrOutputWithContext(ctx context }).(ForecastOptionsPtrOutput) } +func (o ForecastOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ForecastOptions] { + return pulumix.Output[ForecastOptions]{ + OutputState: o.OutputState, + } +} + // The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured duration, then the time series is considered to be failing. func (o ForecastOptionsOutput) ForecastHorizon() pulumi.StringOutput { return o.ApplyT(func(v ForecastOptions) string { return v.ForecastHorizon }).(pulumi.StringOutput) @@ -3120,6 +3625,12 @@ func (o ForecastOptionsPtrOutput) ToForecastOptionsPtrOutputWithContext(ctx cont return o } +func (o ForecastOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ForecastOptions] { + return pulumix.Output[*ForecastOptions]{ + OutputState: o.OutputState, + } +} + func (o ForecastOptionsPtrOutput) Elem() ForecastOptionsOutput { return o.ApplyT(func(v *ForecastOptions) ForecastOptions { if v != nil { @@ -3161,6 +3672,12 @@ func (o ForecastOptionsResponseOutput) ToForecastOptionsResponseOutputWithContex return o } +func (o ForecastOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForecastOptionsResponse] { + return pulumix.Output[ForecastOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The length of time into the future to forecast whether a time series will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the configured duration, then the time series is considered to be failing. func (o ForecastOptionsResponseOutput) ForecastHorizon() pulumi.StringOutput { return o.ApplyT(func(v ForecastOptionsResponse) string { return v.ForecastHorizon }).(pulumi.StringOutput) @@ -3209,6 +3726,12 @@ func (i GkeNamespaceArgs) ToGkeNamespaceOutputWithContext(ctx context.Context) G return pulumi.ToOutputWithContext(ctx, i).(GkeNamespaceOutput) } +func (i GkeNamespaceArgs) ToOutput(ctx context.Context) pulumix.Output[GkeNamespace] { + return pulumix.Output[GkeNamespace]{ + OutputState: i.ToGkeNamespaceOutputWithContext(ctx).OutputState, + } +} + func (i GkeNamespaceArgs) ToGkeNamespacePtrOutput() GkeNamespacePtrOutput { return i.ToGkeNamespacePtrOutputWithContext(context.Background()) } @@ -3250,6 +3773,12 @@ func (i *gkeNamespacePtrType) ToGkeNamespacePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(GkeNamespacePtrOutput) } +func (i *gkeNamespacePtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeNamespace] { + return pulumix.Output[*GkeNamespace]{ + OutputState: i.ToGkeNamespacePtrOutputWithContext(ctx).OutputState, + } +} + // GKE Namespace. The field names correspond to the resource metadata labels on monitored resources that fall under a namespace (for example, k8s_container or k8s_pod). type GkeNamespaceOutput struct{ *pulumi.OutputState } @@ -3275,6 +3804,12 @@ func (o GkeNamespaceOutput) ToGkeNamespacePtrOutputWithContext(ctx context.Conte }).(GkeNamespacePtrOutput) } +func (o GkeNamespaceOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNamespace] { + return pulumix.Output[GkeNamespace]{ + OutputState: o.OutputState, + } +} + // The name of the parent cluster. func (o GkeNamespaceOutput) ClusterName() pulumi.StringPtrOutput { return o.ApplyT(func(v GkeNamespace) *string { return v.ClusterName }).(pulumi.StringPtrOutput) @@ -3304,6 +3839,12 @@ func (o GkeNamespacePtrOutput) ToGkeNamespacePtrOutputWithContext(ctx context.Co return o } +func (o GkeNamespacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeNamespace] { + return pulumix.Output[*GkeNamespace]{ + OutputState: o.OutputState, + } +} + func (o GkeNamespacePtrOutput) Elem() GkeNamespaceOutput { return o.ApplyT(func(v *GkeNamespace) GkeNamespace { if v != nil { @@ -3371,6 +3912,12 @@ func (o GkeNamespaceResponseOutput) ToGkeNamespaceResponseOutputWithContext(ctx return o } +func (o GkeNamespaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeNamespaceResponse] { + return pulumix.Output[GkeNamespaceResponse]{ + OutputState: o.OutputState, + } +} + // The name of the parent cluster. func (o GkeNamespaceResponseOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v GkeNamespaceResponse) string { return v.ClusterName }).(pulumi.StringOutput) @@ -3438,6 +3985,12 @@ func (i GkeServiceArgs) ToGkeServiceOutputWithContext(ctx context.Context) GkeSe return pulumi.ToOutputWithContext(ctx, i).(GkeServiceOutput) } +func (i GkeServiceArgs) ToOutput(ctx context.Context) pulumix.Output[GkeService] { + return pulumix.Output[GkeService]{ + OutputState: i.ToGkeServiceOutputWithContext(ctx).OutputState, + } +} + func (i GkeServiceArgs) ToGkeServicePtrOutput() GkeServicePtrOutput { return i.ToGkeServicePtrOutputWithContext(context.Background()) } @@ -3479,6 +4032,12 @@ func (i *gkeServicePtrType) ToGkeServicePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GkeServicePtrOutput) } +func (i *gkeServicePtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeService] { + return pulumix.Output[*GkeService]{ + OutputState: i.ToGkeServicePtrOutputWithContext(ctx).OutputState, + } +} + // GKE Service. The "service" here represents a Kubernetes service object (https://kubernetes.io/docs/concepts/services-networking/service). The field names correspond to the resource labels on k8s_service monitored resources (https://cloud.google.com/monitoring/api/resources#tag_k8s_service). type GkeServiceOutput struct{ *pulumi.OutputState } @@ -3504,6 +4063,12 @@ func (o GkeServiceOutput) ToGkeServicePtrOutputWithContext(ctx context.Context) }).(GkeServicePtrOutput) } +func (o GkeServiceOutput) ToOutput(ctx context.Context) pulumix.Output[GkeService] { + return pulumix.Output[GkeService]{ + OutputState: o.OutputState, + } +} + // The name of the parent cluster. func (o GkeServiceOutput) ClusterName() pulumi.StringPtrOutput { return o.ApplyT(func(v GkeService) *string { return v.ClusterName }).(pulumi.StringPtrOutput) @@ -3538,6 +4103,12 @@ func (o GkeServicePtrOutput) ToGkeServicePtrOutputWithContext(ctx context.Contex return o } +func (o GkeServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeService] { + return pulumix.Output[*GkeService]{ + OutputState: o.OutputState, + } +} + func (o GkeServicePtrOutput) Elem() GkeServiceOutput { return o.ApplyT(func(v *GkeService) GkeService { if v != nil { @@ -3617,6 +4188,12 @@ func (o GkeServiceResponseOutput) ToGkeServiceResponseOutputWithContext(ctx cont return o } +func (o GkeServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeServiceResponse] { + return pulumix.Output[GkeServiceResponse]{ + OutputState: o.OutputState, + } +} + // The name of the parent cluster. func (o GkeServiceResponseOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v GkeServiceResponse) string { return v.ClusterName }).(pulumi.StringOutput) @@ -3693,6 +4270,12 @@ func (i GkeWorkloadArgs) ToGkeWorkloadOutputWithContext(ctx context.Context) Gke return pulumi.ToOutputWithContext(ctx, i).(GkeWorkloadOutput) } +func (i GkeWorkloadArgs) ToOutput(ctx context.Context) pulumix.Output[GkeWorkload] { + return pulumix.Output[GkeWorkload]{ + OutputState: i.ToGkeWorkloadOutputWithContext(ctx).OutputState, + } +} + func (i GkeWorkloadArgs) ToGkeWorkloadPtrOutput() GkeWorkloadPtrOutput { return i.ToGkeWorkloadPtrOutputWithContext(context.Background()) } @@ -3734,6 +4317,12 @@ func (i *gkeWorkloadPtrType) ToGkeWorkloadPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GkeWorkloadPtrOutput) } +func (i *gkeWorkloadPtrType) ToOutput(ctx context.Context) pulumix.Output[*GkeWorkload] { + return pulumix.Output[*GkeWorkload]{ + OutputState: i.ToGkeWorkloadPtrOutputWithContext(ctx).OutputState, + } +} + // A GKE Workload (Deployment, StatefulSet, etc). The field names correspond to the metadata labels on monitored resources that fall under a workload (for example, k8s_container or k8s_pod). type GkeWorkloadOutput struct{ *pulumi.OutputState } @@ -3759,6 +4348,12 @@ func (o GkeWorkloadOutput) ToGkeWorkloadPtrOutputWithContext(ctx context.Context }).(GkeWorkloadPtrOutput) } +func (o GkeWorkloadOutput) ToOutput(ctx context.Context) pulumix.Output[GkeWorkload] { + return pulumix.Output[GkeWorkload]{ + OutputState: o.OutputState, + } +} + // The name of the parent cluster. func (o GkeWorkloadOutput) ClusterName() pulumi.StringPtrOutput { return o.ApplyT(func(v GkeWorkload) *string { return v.ClusterName }).(pulumi.StringPtrOutput) @@ -3798,6 +4393,12 @@ func (o GkeWorkloadPtrOutput) ToGkeWorkloadPtrOutputWithContext(ctx context.Cont return o } +func (o GkeWorkloadPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GkeWorkload] { + return pulumix.Output[*GkeWorkload]{ + OutputState: o.OutputState, + } +} + func (o GkeWorkloadPtrOutput) Elem() GkeWorkloadOutput { return o.ApplyT(func(v *GkeWorkload) GkeWorkload { if v != nil { @@ -3889,6 +4490,12 @@ func (o GkeWorkloadResponseOutput) ToGkeWorkloadResponseOutputWithContext(ctx co return o } +func (o GkeWorkloadResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GkeWorkloadResponse] { + return pulumix.Output[GkeWorkloadResponse]{ + OutputState: o.OutputState, + } +} + // The name of the parent cluster. func (o GkeWorkloadResponseOutput) ClusterName() pulumi.StringOutput { return o.ApplyT(func(v GkeWorkloadResponse) string { return v.ClusterName }).(pulumi.StringOutput) @@ -3958,6 +4565,12 @@ func (i GoogleMonitoringV3RangeArgs) ToGoogleMonitoringV3RangeOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GoogleMonitoringV3RangeOutput) } +func (i GoogleMonitoringV3RangeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleMonitoringV3Range] { + return pulumix.Output[GoogleMonitoringV3Range]{ + OutputState: i.ToGoogleMonitoringV3RangeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleMonitoringV3RangeArgs) ToGoogleMonitoringV3RangePtrOutput() GoogleMonitoringV3RangePtrOutput { return i.ToGoogleMonitoringV3RangePtrOutputWithContext(context.Background()) } @@ -3999,6 +4612,12 @@ func (i *googleMonitoringV3RangePtrType) ToGoogleMonitoringV3RangePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(GoogleMonitoringV3RangePtrOutput) } +func (i *googleMonitoringV3RangePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleMonitoringV3Range] { + return pulumix.Output[*GoogleMonitoringV3Range]{ + OutputState: i.ToGoogleMonitoringV3RangePtrOutputWithContext(ctx).OutputState, + } +} + // Range of numerical values within min and max. type GoogleMonitoringV3RangeOutput struct{ *pulumi.OutputState } @@ -4024,6 +4643,12 @@ func (o GoogleMonitoringV3RangeOutput) ToGoogleMonitoringV3RangePtrOutputWithCon }).(GoogleMonitoringV3RangePtrOutput) } +func (o GoogleMonitoringV3RangeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleMonitoringV3Range] { + return pulumix.Output[GoogleMonitoringV3Range]{ + OutputState: o.OutputState, + } +} + // Range maximum. func (o GoogleMonitoringV3RangeOutput) Max() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleMonitoringV3Range) *float64 { return v.Max }).(pulumi.Float64PtrOutput) @@ -4048,6 +4673,12 @@ func (o GoogleMonitoringV3RangePtrOutput) ToGoogleMonitoringV3RangePtrOutputWith return o } +func (o GoogleMonitoringV3RangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleMonitoringV3Range] { + return pulumix.Output[*GoogleMonitoringV3Range]{ + OutputState: o.OutputState, + } +} + func (o GoogleMonitoringV3RangePtrOutput) Elem() GoogleMonitoringV3RangeOutput { return o.ApplyT(func(v *GoogleMonitoringV3Range) GoogleMonitoringV3Range { if v != nil { @@ -4101,6 +4732,12 @@ func (o GoogleMonitoringV3RangeResponseOutput) ToGoogleMonitoringV3RangeResponse return o } +func (o GoogleMonitoringV3RangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleMonitoringV3RangeResponse] { + return pulumix.Output[GoogleMonitoringV3RangeResponse]{ + OutputState: o.OutputState, + } +} + // Range maximum. func (o GoogleMonitoringV3RangeResponseOutput) Max() pulumi.Float64Output { return o.ApplyT(func(v GoogleMonitoringV3RangeResponse) float64 { return v.Max }).(pulumi.Float64Output) @@ -4194,6 +4831,12 @@ func (i HttpCheckArgs) ToHttpCheckOutputWithContext(ctx context.Context) HttpChe return pulumi.ToOutputWithContext(ctx, i).(HttpCheckOutput) } +func (i HttpCheckArgs) ToOutput(ctx context.Context) pulumix.Output[HttpCheck] { + return pulumix.Output[HttpCheck]{ + OutputState: i.ToHttpCheckOutputWithContext(ctx).OutputState, + } +} + func (i HttpCheckArgs) ToHttpCheckPtrOutput() HttpCheckPtrOutput { return i.ToHttpCheckPtrOutputWithContext(context.Background()) } @@ -4235,6 +4878,12 @@ func (i *httpCheckPtrType) ToHttpCheckPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(HttpCheckPtrOutput) } +func (i *httpCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpCheck] { + return pulumix.Output[*HttpCheck]{ + OutputState: i.ToHttpCheckPtrOutputWithContext(ctx).OutputState, + } +} + // Information involved in an HTTP/HTTPS Uptime check request. type HttpCheckOutput struct{ *pulumi.OutputState } @@ -4260,6 +4909,12 @@ func (o HttpCheckOutput) ToHttpCheckPtrOutputWithContext(ctx context.Context) Ht }).(HttpCheckPtrOutput) } +func (o HttpCheckOutput) ToOutput(ctx context.Context) pulumix.Output[HttpCheck] { + return pulumix.Output[HttpCheck]{ + OutputState: o.OutputState, + } +} + // If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299. func (o HttpCheckOutput) AcceptedResponseStatusCodes() ResponseStatusCodeArrayOutput { return o.ApplyT(func(v HttpCheck) []ResponseStatusCode { return v.AcceptedResponseStatusCodes }).(ResponseStatusCodeArrayOutput) @@ -4339,6 +4994,12 @@ func (o HttpCheckPtrOutput) ToHttpCheckPtrOutputWithContext(ctx context.Context) return o } +func (o HttpCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpCheck] { + return pulumix.Output[*HttpCheck]{ + OutputState: o.OutputState, + } +} + func (o HttpCheckPtrOutput) Elem() HttpCheckOutput { return o.ApplyT(func(v *HttpCheck) HttpCheck { if v != nil { @@ -4524,6 +5185,12 @@ func (o HttpCheckResponseOutput) ToHttpCheckResponseOutputWithContext(ctx contex return o } +func (o HttpCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpCheckResponse] { + return pulumix.Output[HttpCheckResponse]{ + OutputState: o.OutputState, + } +} + // If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299. func (o HttpCheckResponseOutput) AcceptedResponseStatusCodes() ResponseStatusCodeResponseArrayOutput { return o.ApplyT(func(v HttpCheckResponse) []ResponseStatusCodeResponse { return v.AcceptedResponseStatusCodes }).(ResponseStatusCodeResponseArrayOutput) @@ -4644,6 +5311,12 @@ func (i InternalCheckerArgs) ToInternalCheckerOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(InternalCheckerOutput) } +func (i InternalCheckerArgs) ToOutput(ctx context.Context) pulumix.Output[InternalChecker] { + return pulumix.Output[InternalChecker]{ + OutputState: i.ToInternalCheckerOutputWithContext(ctx).OutputState, + } +} + // InternalCheckerArrayInput is an input type that accepts InternalCheckerArray and InternalCheckerArrayOutput values. // You can construct a concrete instance of `InternalCheckerArrayInput` via: // @@ -4669,6 +5342,12 @@ func (i InternalCheckerArray) ToInternalCheckerArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InternalCheckerArrayOutput) } +func (i InternalCheckerArray) ToOutput(ctx context.Context) pulumix.Output[[]InternalChecker] { + return pulumix.Output[[]InternalChecker]{ + OutputState: i.ToInternalCheckerArrayOutputWithContext(ctx).OutputState, + } +} + // An internal checker allows Uptime checks to run on private/internal GCP resources. type InternalCheckerOutput struct{ *pulumi.OutputState } @@ -4684,6 +5363,12 @@ func (o InternalCheckerOutput) ToInternalCheckerOutputWithContext(ctx context.Co return o } +func (o InternalCheckerOutput) ToOutput(ctx context.Context) pulumix.Output[InternalChecker] { + return pulumix.Output[InternalChecker]{ + OutputState: o.OutputState, + } +} + // The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced. func (o InternalCheckerOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v InternalChecker) *string { return v.DisplayName }).(pulumi.StringPtrOutput) @@ -4728,6 +5413,12 @@ func (o InternalCheckerArrayOutput) ToInternalCheckerArrayOutputWithContext(ctx return o } +func (o InternalCheckerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InternalChecker] { + return pulumix.Output[[]InternalChecker]{ + OutputState: o.OutputState, + } +} + func (o InternalCheckerArrayOutput) Index(i pulumi.IntInput) InternalCheckerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternalChecker { return vs[0].([]InternalChecker)[vs[1].(int)] @@ -4765,6 +5456,12 @@ func (o InternalCheckerResponseOutput) ToInternalCheckerResponseOutputWithContex return o } +func (o InternalCheckerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InternalCheckerResponse] { + return pulumix.Output[InternalCheckerResponse]{ + OutputState: o.OutputState, + } +} + // The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced. func (o InternalCheckerResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v InternalCheckerResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -4809,6 +5506,12 @@ func (o InternalCheckerResponseArrayOutput) ToInternalCheckerResponseArrayOutput return o } +func (o InternalCheckerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InternalCheckerResponse] { + return pulumix.Output[[]InternalCheckerResponse]{ + OutputState: o.OutputState, + } +} + func (o InternalCheckerResponseArrayOutput) Index(i pulumi.IntInput) InternalCheckerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternalCheckerResponse { return vs[0].([]InternalCheckerResponse)[vs[1].(int)] @@ -4858,6 +5561,12 @@ func (i IstioCanonicalServiceArgs) ToIstioCanonicalServiceOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(IstioCanonicalServiceOutput) } +func (i IstioCanonicalServiceArgs) ToOutput(ctx context.Context) pulumix.Output[IstioCanonicalService] { + return pulumix.Output[IstioCanonicalService]{ + OutputState: i.ToIstioCanonicalServiceOutputWithContext(ctx).OutputState, + } +} + func (i IstioCanonicalServiceArgs) ToIstioCanonicalServicePtrOutput() IstioCanonicalServicePtrOutput { return i.ToIstioCanonicalServicePtrOutputWithContext(context.Background()) } @@ -4899,6 +5608,12 @@ func (i *istioCanonicalServicePtrType) ToIstioCanonicalServicePtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(IstioCanonicalServicePtrOutput) } +func (i *istioCanonicalServicePtrType) ToOutput(ctx context.Context) pulumix.Output[*IstioCanonicalService] { + return pulumix.Output[*IstioCanonicalService]{ + OutputState: i.ToIstioCanonicalServicePtrOutputWithContext(ctx).OutputState, + } +} + // Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6.8 will have their services ingested as this type. type IstioCanonicalServiceOutput struct{ *pulumi.OutputState } @@ -4924,6 +5639,12 @@ func (o IstioCanonicalServiceOutput) ToIstioCanonicalServicePtrOutputWithContext }).(IstioCanonicalServicePtrOutput) } +func (o IstioCanonicalServiceOutput) ToOutput(ctx context.Context) pulumix.Output[IstioCanonicalService] { + return pulumix.Output[IstioCanonicalService]{ + OutputState: o.OutputState, + } +} + // The name of the canonical service underlying this service. Corresponds to the destination_canonical_service_name metric label in label in Istio metrics (https://cloud.google.com/monitoring/api/metrics_istio). func (o IstioCanonicalServiceOutput) CanonicalService() pulumi.StringPtrOutput { return o.ApplyT(func(v IstioCanonicalService) *string { return v.CanonicalService }).(pulumi.StringPtrOutput) @@ -4953,6 +5674,12 @@ func (o IstioCanonicalServicePtrOutput) ToIstioCanonicalServicePtrOutputWithCont return o } +func (o IstioCanonicalServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IstioCanonicalService] { + return pulumix.Output[*IstioCanonicalService]{ + OutputState: o.OutputState, + } +} + func (o IstioCanonicalServicePtrOutput) Elem() IstioCanonicalServiceOutput { return o.ApplyT(func(v *IstioCanonicalService) IstioCanonicalService { if v != nil { @@ -5018,6 +5745,12 @@ func (o IstioCanonicalServiceResponseOutput) ToIstioCanonicalServiceResponseOutp return o } +func (o IstioCanonicalServiceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IstioCanonicalServiceResponse] { + return pulumix.Output[IstioCanonicalServiceResponse]{ + OutputState: o.OutputState, + } +} + // The name of the canonical service underlying this service. Corresponds to the destination_canonical_service_name metric label in label in Istio metrics (https://cloud.google.com/monitoring/api/metrics_istio). func (o IstioCanonicalServiceResponseOutput) CanonicalService() pulumi.StringOutput { return o.ApplyT(func(v IstioCanonicalServiceResponse) string { return v.CanonicalService }).(pulumi.StringOutput) @@ -5072,6 +5805,12 @@ func (i JsonPathMatcherArgs) ToJsonPathMatcherOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(JsonPathMatcherOutput) } +func (i JsonPathMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[JsonPathMatcher] { + return pulumix.Output[JsonPathMatcher]{ + OutputState: i.ToJsonPathMatcherOutputWithContext(ctx).OutputState, + } +} + func (i JsonPathMatcherArgs) ToJsonPathMatcherPtrOutput() JsonPathMatcherPtrOutput { return i.ToJsonPathMatcherPtrOutputWithContext(context.Background()) } @@ -5113,6 +5852,12 @@ func (i *jsonPathMatcherPtrType) ToJsonPathMatcherPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(JsonPathMatcherPtrOutput) } +func (i *jsonPathMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*JsonPathMatcher] { + return pulumix.Output[*JsonPathMatcher]{ + OutputState: i.ToJsonPathMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // Information needed to perform a JSONPath content match. Used for ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::NOT_MATCHES_JSON_PATH. type JsonPathMatcherOutput struct{ *pulumi.OutputState } @@ -5138,6 +5883,12 @@ func (o JsonPathMatcherOutput) ToJsonPathMatcherPtrOutputWithContext(ctx context }).(JsonPathMatcherPtrOutput) } +func (o JsonPathMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[JsonPathMatcher] { + return pulumix.Output[JsonPathMatcher]{ + OutputState: o.OutputState, + } +} + // The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content) func (o JsonPathMatcherOutput) JsonMatcher() JsonPathMatcherJsonMatcherPtrOutput { return o.ApplyT(func(v JsonPathMatcher) *JsonPathMatcherJsonMatcher { return v.JsonMatcher }).(JsonPathMatcherJsonMatcherPtrOutput) @@ -5162,6 +5913,12 @@ func (o JsonPathMatcherPtrOutput) ToJsonPathMatcherPtrOutputWithContext(ctx cont return o } +func (o JsonPathMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JsonPathMatcher] { + return pulumix.Output[*JsonPathMatcher]{ + OutputState: o.OutputState, + } +} + func (o JsonPathMatcherPtrOutput) Elem() JsonPathMatcherOutput { return o.ApplyT(func(v *JsonPathMatcher) JsonPathMatcher { if v != nil { @@ -5215,6 +5972,12 @@ func (o JsonPathMatcherResponseOutput) ToJsonPathMatcherResponseOutputWithContex return o } +func (o JsonPathMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JsonPathMatcherResponse] { + return pulumix.Output[JsonPathMatcherResponse]{ + OutputState: o.OutputState, + } +} + // The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content) func (o JsonPathMatcherResponseOutput) JsonMatcher() pulumi.StringOutput { return o.ApplyT(func(v JsonPathMatcherResponse) string { return v.JsonMatcher }).(pulumi.StringOutput) @@ -5268,6 +6031,12 @@ func (i LabelDescriptorArgs) ToLabelDescriptorOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(LabelDescriptorOutput) } +func (i LabelDescriptorArgs) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptor] { + return pulumix.Output[LabelDescriptor]{ + OutputState: i.ToLabelDescriptorOutputWithContext(ctx).OutputState, + } +} + // LabelDescriptorArrayInput is an input type that accepts LabelDescriptorArray and LabelDescriptorArrayOutput values. // You can construct a concrete instance of `LabelDescriptorArrayInput` via: // @@ -5293,6 +6062,12 @@ func (i LabelDescriptorArray) ToLabelDescriptorArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(LabelDescriptorArrayOutput) } +func (i LabelDescriptorArray) ToOutput(ctx context.Context) pulumix.Output[[]LabelDescriptor] { + return pulumix.Output[[]LabelDescriptor]{ + OutputState: i.ToLabelDescriptorArrayOutputWithContext(ctx).OutputState, + } +} + // A description of a label. type LabelDescriptorOutput struct{ *pulumi.OutputState } @@ -5308,6 +6083,12 @@ func (o LabelDescriptorOutput) ToLabelDescriptorOutputWithContext(ctx context.Co return o } +func (o LabelDescriptorOutput) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptor] { + return pulumix.Output[LabelDescriptor]{ + OutputState: o.OutputState, + } +} + // A human-readable description for the label. func (o LabelDescriptorOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v LabelDescriptor) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -5337,6 +6118,12 @@ func (o LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutputWithContext(ctx return o } +func (o LabelDescriptorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LabelDescriptor] { + return pulumix.Output[[]LabelDescriptor]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorArrayOutput) Index(i pulumi.IntInput) LabelDescriptorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LabelDescriptor { return vs[0].([]LabelDescriptor)[vs[1].(int)] @@ -5368,6 +6155,12 @@ func (o LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutputWithContex return o } +func (o LabelDescriptorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptorResponse] { + return pulumix.Output[LabelDescriptorResponse]{ + OutputState: o.OutputState, + } +} + // A human-readable description for the label. func (o LabelDescriptorResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LabelDescriptorResponse) string { return v.Description }).(pulumi.StringOutput) @@ -5397,6 +6190,12 @@ func (o LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutput return o } +func (o LabelDescriptorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LabelDescriptorResponse] { + return pulumix.Output[[]LabelDescriptorResponse]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorResponseArrayOutput) Index(i pulumi.IntInput) LabelDescriptorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LabelDescriptorResponse { return vs[0].([]LabelDescriptorResponse)[vs[1].(int)] @@ -5438,6 +6237,12 @@ func (i LatencyCriteriaArgs) ToLatencyCriteriaOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(LatencyCriteriaOutput) } +func (i LatencyCriteriaArgs) ToOutput(ctx context.Context) pulumix.Output[LatencyCriteria] { + return pulumix.Output[LatencyCriteria]{ + OutputState: i.ToLatencyCriteriaOutputWithContext(ctx).OutputState, + } +} + func (i LatencyCriteriaArgs) ToLatencyCriteriaPtrOutput() LatencyCriteriaPtrOutput { return i.ToLatencyCriteriaPtrOutputWithContext(context.Background()) } @@ -5479,6 +6284,12 @@ func (i *latencyCriteriaPtrType) ToLatencyCriteriaPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(LatencyCriteriaPtrOutput) } +func (i *latencyCriteriaPtrType) ToOutput(ctx context.Context) pulumix.Output[*LatencyCriteria] { + return pulumix.Output[*LatencyCriteria]{ + OutputState: i.ToLatencyCriteriaPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters for a latency threshold SLI. type LatencyCriteriaOutput struct{ *pulumi.OutputState } @@ -5504,6 +6315,12 @@ func (o LatencyCriteriaOutput) ToLatencyCriteriaPtrOutputWithContext(ctx context }).(LatencyCriteriaPtrOutput) } +func (o LatencyCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[LatencyCriteria] { + return pulumix.Output[LatencyCriteria]{ + OutputState: o.OutputState, + } +} + // Good service is defined to be the count of requests made to this service that return in no more than threshold. func (o LatencyCriteriaOutput) Threshold() pulumi.StringPtrOutput { return o.ApplyT(func(v LatencyCriteria) *string { return v.Threshold }).(pulumi.StringPtrOutput) @@ -5523,6 +6340,12 @@ func (o LatencyCriteriaPtrOutput) ToLatencyCriteriaPtrOutputWithContext(ctx cont return o } +func (o LatencyCriteriaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LatencyCriteria] { + return pulumix.Output[*LatencyCriteria]{ + OutputState: o.OutputState, + } +} + func (o LatencyCriteriaPtrOutput) Elem() LatencyCriteriaOutput { return o.ApplyT(func(v *LatencyCriteria) LatencyCriteria { if v != nil { @@ -5564,6 +6387,12 @@ func (o LatencyCriteriaResponseOutput) ToLatencyCriteriaResponseOutputWithContex return o } +func (o LatencyCriteriaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LatencyCriteriaResponse] { + return pulumix.Output[LatencyCriteriaResponse]{ + OutputState: o.OutputState, + } +} + // Good service is defined to be the count of requests made to this service that return in no more than threshold. func (o LatencyCriteriaResponseOutput) Threshold() pulumi.StringOutput { return o.ApplyT(func(v LatencyCriteriaResponse) string { return v.Threshold }).(pulumi.StringOutput) @@ -5608,6 +6437,12 @@ func (i LogMatchArgs) ToLogMatchOutputWithContext(ctx context.Context) LogMatchO return pulumi.ToOutputWithContext(ctx, i).(LogMatchOutput) } +func (i LogMatchArgs) ToOutput(ctx context.Context) pulumix.Output[LogMatch] { + return pulumix.Output[LogMatch]{ + OutputState: i.ToLogMatchOutputWithContext(ctx).OutputState, + } +} + func (i LogMatchArgs) ToLogMatchPtrOutput() LogMatchPtrOutput { return i.ToLogMatchPtrOutputWithContext(context.Background()) } @@ -5649,6 +6484,12 @@ func (i *logMatchPtrType) ToLogMatchPtrOutputWithContext(ctx context.Context) Lo return pulumi.ToOutputWithContext(ctx, i).(LogMatchPtrOutput) } +func (i *logMatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*LogMatch] { + return pulumix.Output[*LogMatch]{ + OutputState: i.ToLogMatchPtrOutputWithContext(ctx).OutputState, + } +} + // A condition type that checks whether a log message in the scoping project (https://cloud.google.com/monitoring/api/v3#project_name) satisfies the given filter. Logs from other projects in the metrics scope are not evaluated. type LogMatchOutput struct{ *pulumi.OutputState } @@ -5674,6 +6515,12 @@ func (o LogMatchOutput) ToLogMatchPtrOutputWithContext(ctx context.Context) LogM }).(LogMatchPtrOutput) } +func (o LogMatchOutput) ToOutput(ctx context.Context) pulumix.Output[LogMatch] { + return pulumix.Output[LogMatch]{ + OutputState: o.OutputState, + } +} + // A logs-based filter. See Advanced Logs Queries (https://cloud.google.com/logging/docs/view/advanced-queries) for how this filter should be constructed. func (o LogMatchOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v LogMatch) string { return v.Filter }).(pulumi.StringOutput) @@ -5698,6 +6545,12 @@ func (o LogMatchPtrOutput) ToLogMatchPtrOutputWithContext(ctx context.Context) L return o } +func (o LogMatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LogMatch] { + return pulumix.Output[*LogMatch]{ + OutputState: o.OutputState, + } +} + func (o LogMatchPtrOutput) Elem() LogMatchOutput { return o.ApplyT(func(v *LogMatch) LogMatch { if v != nil { @@ -5751,6 +6604,12 @@ func (o LogMatchResponseOutput) ToLogMatchResponseOutputWithContext(ctx context. return o } +func (o LogMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogMatchResponse] { + return pulumix.Output[LogMatchResponse]{ + OutputState: o.OutputState, + } +} + // A logs-based filter. See Advanced Logs Queries (https://cloud.google.com/logging/docs/view/advanced-queries) for how this filter should be constructed. func (o LogMatchResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v LogMatchResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -5804,6 +6663,12 @@ func (i MeshIstioArgs) ToMeshIstioOutputWithContext(ctx context.Context) MeshIst return pulumi.ToOutputWithContext(ctx, i).(MeshIstioOutput) } +func (i MeshIstioArgs) ToOutput(ctx context.Context) pulumix.Output[MeshIstio] { + return pulumix.Output[MeshIstio]{ + OutputState: i.ToMeshIstioOutputWithContext(ctx).OutputState, + } +} + func (i MeshIstioArgs) ToMeshIstioPtrOutput() MeshIstioPtrOutput { return i.ToMeshIstioPtrOutputWithContext(context.Background()) } @@ -5845,6 +6710,12 @@ func (i *meshIstioPtrType) ToMeshIstioPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MeshIstioPtrOutput) } +func (i *meshIstioPtrType) ToOutput(ctx context.Context) pulumix.Output[*MeshIstio] { + return pulumix.Output[*MeshIstio]{ + OutputState: i.ToMeshIstioPtrOutputWithContext(ctx).OutputState, + } +} + // Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8 will have their services ingested as this type. type MeshIstioOutput struct{ *pulumi.OutputState } @@ -5870,6 +6741,12 @@ func (o MeshIstioOutput) ToMeshIstioPtrOutputWithContext(ctx context.Context) Me }).(MeshIstioPtrOutput) } +func (o MeshIstioOutput) ToOutput(ctx context.Context) pulumix.Output[MeshIstio] { + return pulumix.Output[MeshIstio]{ + OutputState: o.OutputState, + } +} + // Identifier for the mesh in which this Istio service is defined. Corresponds to the mesh_uid metric label in Istio metrics. func (o MeshIstioOutput) MeshUid() pulumi.StringPtrOutput { return o.ApplyT(func(v MeshIstio) *string { return v.MeshUid }).(pulumi.StringPtrOutput) @@ -5899,6 +6776,12 @@ func (o MeshIstioPtrOutput) ToMeshIstioPtrOutputWithContext(ctx context.Context) return o } +func (o MeshIstioPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MeshIstio] { + return pulumix.Output[*MeshIstio]{ + OutputState: o.OutputState, + } +} + func (o MeshIstioPtrOutput) Elem() MeshIstioOutput { return o.ApplyT(func(v *MeshIstio) MeshIstio { if v != nil { @@ -5964,6 +6847,12 @@ func (o MeshIstioResponseOutput) ToMeshIstioResponseOutputWithContext(ctx contex return o } +func (o MeshIstioResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MeshIstioResponse] { + return pulumix.Output[MeshIstioResponse]{ + OutputState: o.OutputState, + } +} + // Identifier for the mesh in which this Istio service is defined. Corresponds to the mesh_uid metric label in Istio metrics. func (o MeshIstioResponseOutput) MeshUid() pulumi.StringOutput { return o.ApplyT(func(v MeshIstioResponse) string { return v.MeshUid }).(pulumi.StringOutput) @@ -6026,6 +6915,12 @@ func (i MetricAbsenceArgs) ToMetricAbsenceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MetricAbsenceOutput) } +func (i MetricAbsenceArgs) ToOutput(ctx context.Context) pulumix.Output[MetricAbsence] { + return pulumix.Output[MetricAbsence]{ + OutputState: i.ToMetricAbsenceOutputWithContext(ctx).OutputState, + } +} + func (i MetricAbsenceArgs) ToMetricAbsencePtrOutput() MetricAbsencePtrOutput { return i.ToMetricAbsencePtrOutputWithContext(context.Background()) } @@ -6067,6 +6962,12 @@ func (i *metricAbsencePtrType) ToMetricAbsencePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(MetricAbsencePtrOutput) } +func (i *metricAbsencePtrType) ToOutput(ctx context.Context) pulumix.Output[*MetricAbsence] { + return pulumix.Output[*MetricAbsence]{ + OutputState: i.ToMetricAbsencePtrOutputWithContext(ctx).OutputState, + } +} + // A condition type that checks that monitored resources are reporting data. The configuration defines a metric and a set of monitored resources. The predicate is considered in violation when a time series for the specified metric of a monitored resource does not include any data in the specified duration. type MetricAbsenceOutput struct{ *pulumi.OutputState } @@ -6092,6 +6993,12 @@ func (o MetricAbsenceOutput) ToMetricAbsencePtrOutputWithContext(ctx context.Con }).(MetricAbsencePtrOutput) } +func (o MetricAbsenceOutput) ToOutput(ctx context.Context) pulumix.Output[MetricAbsence] { + return pulumix.Output[MetricAbsence]{ + OutputState: o.OutputState, + } +} + // Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified.This field is similar to the one in the ListTimeSeries request (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the ListTimeSeries method when debugging this field. func (o MetricAbsenceOutput) Aggregations() AggregationArrayOutput { return o.ApplyT(func(v MetricAbsence) []Aggregation { return v.Aggregations }).(AggregationArrayOutput) @@ -6126,6 +7033,12 @@ func (o MetricAbsencePtrOutput) ToMetricAbsencePtrOutputWithContext(ctx context. return o } +func (o MetricAbsencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricAbsence] { + return pulumix.Output[*MetricAbsence]{ + OutputState: o.OutputState, + } +} + func (o MetricAbsencePtrOutput) Elem() MetricAbsenceOutput { return o.ApplyT(func(v *MetricAbsence) MetricAbsence { if v != nil { @@ -6203,6 +7116,12 @@ func (o MetricAbsenceResponseOutput) ToMetricAbsenceResponseOutputWithContext(ct return o } +func (o MetricAbsenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetricAbsenceResponse] { + return pulumix.Output[MetricAbsenceResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified.This field is similar to the one in the ListTimeSeries request (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the ListTimeSeries method when debugging this field. func (o MetricAbsenceResponseOutput) Aggregations() AggregationResponseArrayOutput { return o.ApplyT(func(v MetricAbsenceResponse) []AggregationResponse { return v.Aggregations }).(AggregationResponseArrayOutput) @@ -6270,6 +7189,12 @@ func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorMetadataOutput) } +func (i MetricDescriptorMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadata] { + return pulumix.Output[MetricDescriptorMetadata]{ + OutputState: i.ToMetricDescriptorMetadataOutputWithContext(ctx).OutputState, + } +} + func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput { return i.ToMetricDescriptorMetadataPtrOutputWithContext(context.Background()) } @@ -6311,6 +7236,12 @@ func (i *metricDescriptorMetadataPtrType) ToMetricDescriptorMetadataPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorMetadataPtrOutput) } +func (i *metricDescriptorMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadata] { + return pulumix.Output[*MetricDescriptorMetadata]{ + OutputState: i.ToMetricDescriptorMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Additional annotations that can be used to guide the usage of a metric. type MetricDescriptorMetadataOutput struct{ *pulumi.OutputState } @@ -6336,6 +7267,12 @@ func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutputWithC }).(MetricDescriptorMetadataPtrOutput) } +func (o MetricDescriptorMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadata] { + return pulumix.Output[MetricDescriptorMetadata]{ + OutputState: o.OutputState, + } +} + // The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. func (o MetricDescriptorMetadataOutput) IngestDelay() pulumi.StringPtrOutput { return o.ApplyT(func(v MetricDescriptorMetadata) *string { return v.IngestDelay }).(pulumi.StringPtrOutput) @@ -6367,6 +7304,12 @@ func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutputWi return o } +func (o MetricDescriptorMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadata] { + return pulumix.Output[*MetricDescriptorMetadata]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetadataPtrOutput) Elem() MetricDescriptorMetadataOutput { return o.ApplyT(func(v *MetricDescriptorMetadata) MetricDescriptorMetadata { if v != nil { @@ -6436,6 +7379,12 @@ func (o MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataRespon return o } +func (o MetricDescriptorMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadataResponse] { + return pulumix.Output[MetricDescriptorMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. func (o MetricDescriptorMetadataResponseOutput) IngestDelay() pulumi.StringOutput { return o.ApplyT(func(v MetricDescriptorMetadataResponse) string { return v.IngestDelay }).(pulumi.StringOutput) @@ -6492,6 +7441,12 @@ func (i MetricRangeArgs) ToMetricRangeOutputWithContext(ctx context.Context) Met return pulumi.ToOutputWithContext(ctx, i).(MetricRangeOutput) } +func (i MetricRangeArgs) ToOutput(ctx context.Context) pulumix.Output[MetricRange] { + return pulumix.Output[MetricRange]{ + OutputState: i.ToMetricRangeOutputWithContext(ctx).OutputState, + } +} + func (i MetricRangeArgs) ToMetricRangePtrOutput() MetricRangePtrOutput { return i.ToMetricRangePtrOutputWithContext(context.Background()) } @@ -6533,6 +7488,12 @@ func (i *metricRangePtrType) ToMetricRangePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(MetricRangePtrOutput) } +func (i *metricRangePtrType) ToOutput(ctx context.Context) pulumix.Output[*MetricRange] { + return pulumix.Output[*MetricRange]{ + OutputState: i.ToMetricRangePtrOutputWithContext(ctx).OutputState, + } +} + // A MetricRange is used when each window is good when the value x of a single TimeSeries satisfies range.min <= x <= range.max. The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE. type MetricRangeOutput struct{ *pulumi.OutputState } @@ -6558,6 +7519,12 @@ func (o MetricRangeOutput) ToMetricRangePtrOutputWithContext(ctx context.Context }).(MetricRangePtrOutput) } +func (o MetricRangeOutput) ToOutput(ctx context.Context) pulumix.Output[MetricRange] { + return pulumix.Output[MetricRange]{ + OutputState: o.OutputState, + } +} + // Range of values considered "good." For a one-sided range, set one bound to an infinite value. func (o MetricRangeOutput) Range() GoogleMonitoringV3RangePtrOutput { return o.ApplyT(func(v MetricRange) *GoogleMonitoringV3Range { return v.Range }).(GoogleMonitoringV3RangePtrOutput) @@ -6582,6 +7549,12 @@ func (o MetricRangePtrOutput) ToMetricRangePtrOutputWithContext(ctx context.Cont return o } +func (o MetricRangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricRange] { + return pulumix.Output[*MetricRange]{ + OutputState: o.OutputState, + } +} + func (o MetricRangePtrOutput) Elem() MetricRangeOutput { return o.ApplyT(func(v *MetricRange) MetricRange { if v != nil { @@ -6635,6 +7608,12 @@ func (o MetricRangeResponseOutput) ToMetricRangeResponseOutputWithContext(ctx co return o } +func (o MetricRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetricRangeResponse] { + return pulumix.Output[MetricRangeResponse]{ + OutputState: o.OutputState, + } +} + // Range of values considered "good." For a one-sided range, set one bound to an infinite value. func (o MetricRangeResponseOutput) Range() GoogleMonitoringV3RangeResponseOutput { return o.ApplyT(func(v MetricRangeResponse) GoogleMonitoringV3RangeResponse { return v.Range }).(GoogleMonitoringV3RangeResponseOutput) @@ -6716,6 +7695,12 @@ func (i MetricThresholdArgs) ToMetricThresholdOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(MetricThresholdOutput) } +func (i MetricThresholdArgs) ToOutput(ctx context.Context) pulumix.Output[MetricThreshold] { + return pulumix.Output[MetricThreshold]{ + OutputState: i.ToMetricThresholdOutputWithContext(ctx).OutputState, + } +} + func (i MetricThresholdArgs) ToMetricThresholdPtrOutput() MetricThresholdPtrOutput { return i.ToMetricThresholdPtrOutputWithContext(context.Background()) } @@ -6757,6 +7742,12 @@ func (i *metricThresholdPtrType) ToMetricThresholdPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(MetricThresholdPtrOutput) } +func (i *metricThresholdPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetricThreshold] { + return pulumix.Output[*MetricThreshold]{ + OutputState: i.ToMetricThresholdPtrOutputWithContext(ctx).OutputState, + } +} + // A condition type that compares a collection of time series against a threshold. type MetricThresholdOutput struct{ *pulumi.OutputState } @@ -6782,6 +7773,12 @@ func (o MetricThresholdOutput) ToMetricThresholdPtrOutputWithContext(ctx context }).(MetricThresholdPtrOutput) } +func (o MetricThresholdOutput) ToOutput(ctx context.Context) pulumix.Output[MetricThreshold] { + return pulumix.Output[MetricThreshold]{ + OutputState: o.OutputState, + } +} + // Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified.This field is similar to the one in the ListTimeSeries request (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the ListTimeSeries method when debugging this field. func (o MetricThresholdOutput) Aggregations() AggregationArrayOutput { return o.ApplyT(func(v MetricThreshold) []Aggregation { return v.Aggregations }).(AggregationArrayOutput) @@ -6846,6 +7843,12 @@ func (o MetricThresholdPtrOutput) ToMetricThresholdPtrOutputWithContext(ctx cont return o } +func (o MetricThresholdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricThreshold] { + return pulumix.Output[*MetricThreshold]{ + OutputState: o.OutputState, + } +} + func (o MetricThresholdPtrOutput) Elem() MetricThresholdOutput { return o.ApplyT(func(v *MetricThreshold) MetricThreshold { if v != nil { @@ -6995,6 +7998,12 @@ func (o MetricThresholdResponseOutput) ToMetricThresholdResponseOutputWithContex return o } +func (o MetricThresholdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetricThresholdResponse] { + return pulumix.Output[MetricThresholdResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified.This field is similar to the one in the ListTimeSeries request (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the ListTimeSeries method when debugging this field. func (o MetricThresholdResponseOutput) Aggregations() AggregationResponseArrayOutput { return o.ApplyT(func(v MetricThresholdResponse) []AggregationResponse { return v.Aggregations }).(AggregationResponseArrayOutput) @@ -7084,6 +8093,12 @@ func (i MonitoredResourceArgs) ToMonitoredResourceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MonitoredResourceOutput) } +func (i MonitoredResourceArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoredResource] { + return pulumix.Output[MonitoredResource]{ + OutputState: i.ToMonitoredResourceOutputWithContext(ctx).OutputState, + } +} + func (i MonitoredResourceArgs) ToMonitoredResourcePtrOutput() MonitoredResourcePtrOutput { return i.ToMonitoredResourcePtrOutputWithContext(context.Background()) } @@ -7125,6 +8140,12 @@ func (i *monitoredResourcePtrType) ToMonitoredResourcePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MonitoredResourcePtrOutput) } +func (i *monitoredResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*MonitoredResource] { + return pulumix.Output[*MonitoredResource]{ + OutputState: i.ToMonitoredResourcePtrOutputWithContext(ctx).OutputState, + } +} + // An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "instance_id" and "zone": { "type": "gce_instance", "labels": { "project_id": "my-project", "instance_id": "12345678901234", "zone": "us-central1-a" }} type MonitoredResourceOutput struct{ *pulumi.OutputState } @@ -7150,6 +8171,12 @@ func (o MonitoredResourceOutput) ToMonitoredResourcePtrOutputWithContext(ctx con }).(MonitoredResourcePtrOutput) } +func (o MonitoredResourceOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoredResource] { + return pulumix.Output[MonitoredResource]{ + OutputState: o.OutputState, + } +} + // Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone". func (o MonitoredResourceOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v MonitoredResource) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -7174,6 +8201,12 @@ func (o MonitoredResourcePtrOutput) ToMonitoredResourcePtrOutputWithContext(ctx return o } +func (o MonitoredResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoredResource] { + return pulumix.Output[*MonitoredResource]{ + OutputState: o.OutputState, + } +} + func (o MonitoredResourcePtrOutput) Elem() MonitoredResourceOutput { return o.ApplyT(func(v *MonitoredResource) MonitoredResource { if v != nil { @@ -7227,6 +8260,12 @@ func (o MonitoredResourceResponseOutput) ToMonitoredResourceResponseOutputWithCo return o } +func (o MonitoredResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoredResourceResponse] { + return pulumix.Output[MonitoredResourceResponse]{ + OutputState: o.OutputState, + } +} + // Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone". func (o MonitoredResourceResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v MonitoredResourceResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -7284,6 +8323,12 @@ func (i MonitoringQueryLanguageConditionArgs) ToMonitoringQueryLanguageCondition return pulumi.ToOutputWithContext(ctx, i).(MonitoringQueryLanguageConditionOutput) } +func (i MonitoringQueryLanguageConditionArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoringQueryLanguageCondition] { + return pulumix.Output[MonitoringQueryLanguageCondition]{ + OutputState: i.ToMonitoringQueryLanguageConditionOutputWithContext(ctx).OutputState, + } +} + func (i MonitoringQueryLanguageConditionArgs) ToMonitoringQueryLanguageConditionPtrOutput() MonitoringQueryLanguageConditionPtrOutput { return i.ToMonitoringQueryLanguageConditionPtrOutputWithContext(context.Background()) } @@ -7325,6 +8370,12 @@ func (i *monitoringQueryLanguageConditionPtrType) ToMonitoringQueryLanguageCondi return pulumi.ToOutputWithContext(ctx, i).(MonitoringQueryLanguageConditionPtrOutput) } +func (i *monitoringQueryLanguageConditionPtrType) ToOutput(ctx context.Context) pulumix.Output[*MonitoringQueryLanguageCondition] { + return pulumix.Output[*MonitoringQueryLanguageCondition]{ + OutputState: i.ToMonitoringQueryLanguageConditionPtrOutputWithContext(ctx).OutputState, + } +} + // A condition type that allows alert policies to be defined using Monitoring Query Language (https://cloud.google.com/monitoring/mql). type MonitoringQueryLanguageConditionOutput struct{ *pulumi.OutputState } @@ -7350,6 +8401,12 @@ func (o MonitoringQueryLanguageConditionOutput) ToMonitoringQueryLanguageConditi }).(MonitoringQueryLanguageConditionPtrOutput) } +func (o MonitoringQueryLanguageConditionOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringQueryLanguageCondition] { + return pulumix.Output[MonitoringQueryLanguageCondition]{ + OutputState: o.OutputState, + } +} + // The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly. func (o MonitoringQueryLanguageConditionOutput) Duration() pulumi.StringPtrOutput { return o.ApplyT(func(v MonitoringQueryLanguageCondition) *string { return v.Duration }).(pulumi.StringPtrOutput) @@ -7386,6 +8443,12 @@ func (o MonitoringQueryLanguageConditionPtrOutput) ToMonitoringQueryLanguageCond return o } +func (o MonitoringQueryLanguageConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoringQueryLanguageCondition] { + return pulumix.Output[*MonitoringQueryLanguageCondition]{ + OutputState: o.OutputState, + } +} + func (o MonitoringQueryLanguageConditionPtrOutput) Elem() MonitoringQueryLanguageConditionOutput { return o.ApplyT(func(v *MonitoringQueryLanguageCondition) MonitoringQueryLanguageCondition { if v != nil { @@ -7463,6 +8526,12 @@ func (o MonitoringQueryLanguageConditionResponseOutput) ToMonitoringQueryLanguag return o } +func (o MonitoringQueryLanguageConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringQueryLanguageConditionResponse] { + return pulumix.Output[MonitoringQueryLanguageConditionResponse]{ + OutputState: o.OutputState, + } +} + // The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly. func (o MonitoringQueryLanguageConditionResponseOutput) Duration() pulumi.StringOutput { return o.ApplyT(func(v MonitoringQueryLanguageConditionResponse) string { return v.Duration }).(pulumi.StringOutput) @@ -7522,6 +8591,12 @@ func (i MutationRecordArgs) ToMutationRecordOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MutationRecordOutput) } +func (i MutationRecordArgs) ToOutput(ctx context.Context) pulumix.Output[MutationRecord] { + return pulumix.Output[MutationRecord]{ + OutputState: i.ToMutationRecordOutputWithContext(ctx).OutputState, + } +} + func (i MutationRecordArgs) ToMutationRecordPtrOutput() MutationRecordPtrOutput { return i.ToMutationRecordPtrOutputWithContext(context.Background()) } @@ -7563,6 +8638,12 @@ func (i *mutationRecordPtrType) ToMutationRecordPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MutationRecordPtrOutput) } +func (i *mutationRecordPtrType) ToOutput(ctx context.Context) pulumix.Output[*MutationRecord] { + return pulumix.Output[*MutationRecord]{ + OutputState: i.ToMutationRecordPtrOutputWithContext(ctx).OutputState, + } +} + // MutationRecordArrayInput is an input type that accepts MutationRecordArray and MutationRecordArrayOutput values. // You can construct a concrete instance of `MutationRecordArrayInput` via: // @@ -7588,6 +8669,12 @@ func (i MutationRecordArray) ToMutationRecordArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MutationRecordArrayOutput) } +func (i MutationRecordArray) ToOutput(ctx context.Context) pulumix.Output[[]MutationRecord] { + return pulumix.Output[[]MutationRecord]{ + OutputState: i.ToMutationRecordArrayOutputWithContext(ctx).OutputState, + } +} + // Describes a change made to a configuration. type MutationRecordOutput struct{ *pulumi.OutputState } @@ -7613,6 +8700,12 @@ func (o MutationRecordOutput) ToMutationRecordPtrOutputWithContext(ctx context.C }).(MutationRecordPtrOutput) } +func (o MutationRecordOutput) ToOutput(ctx context.Context) pulumix.Output[MutationRecord] { + return pulumix.Output[MutationRecord]{ + OutputState: o.OutputState, + } +} + // When the change occurred. func (o MutationRecordOutput) MutateTime() pulumi.StringPtrOutput { return o.ApplyT(func(v MutationRecord) *string { return v.MutateTime }).(pulumi.StringPtrOutput) @@ -7637,6 +8730,12 @@ func (o MutationRecordPtrOutput) ToMutationRecordPtrOutputWithContext(ctx contex return o } +func (o MutationRecordPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MutationRecord] { + return pulumix.Output[*MutationRecord]{ + OutputState: o.OutputState, + } +} + func (o MutationRecordPtrOutput) Elem() MutationRecordOutput { return o.ApplyT(func(v *MutationRecord) MutationRecord { if v != nil { @@ -7681,6 +8780,12 @@ func (o MutationRecordArrayOutput) ToMutationRecordArrayOutputWithContext(ctx co return o } +func (o MutationRecordArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MutationRecord] { + return pulumix.Output[[]MutationRecord]{ + OutputState: o.OutputState, + } +} + func (o MutationRecordArrayOutput) Index(i pulumi.IntInput) MutationRecordOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MutationRecord { return vs[0].([]MutationRecord)[vs[1].(int)] @@ -7710,6 +8815,12 @@ func (o MutationRecordResponseOutput) ToMutationRecordResponseOutputWithContext( return o } +func (o MutationRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MutationRecordResponse] { + return pulumix.Output[MutationRecordResponse]{ + OutputState: o.OutputState, + } +} + // When the change occurred. func (o MutationRecordResponseOutput) MutateTime() pulumi.StringOutput { return o.ApplyT(func(v MutationRecordResponse) string { return v.MutateTime }).(pulumi.StringOutput) @@ -7734,6 +8845,12 @@ func (o MutationRecordResponseArrayOutput) ToMutationRecordResponseArrayOutputWi return o } +func (o MutationRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MutationRecordResponse] { + return pulumix.Output[[]MutationRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o MutationRecordResponseArrayOutput) Index(i pulumi.IntInput) MutationRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MutationRecordResponse { return vs[0].([]MutationRecordResponse)[vs[1].(int)] @@ -7779,6 +8896,12 @@ func (i NotificationChannelStrategyArgs) ToNotificationChannelStrategyOutputWith return pulumi.ToOutputWithContext(ctx, i).(NotificationChannelStrategyOutput) } +func (i NotificationChannelStrategyArgs) ToOutput(ctx context.Context) pulumix.Output[NotificationChannelStrategy] { + return pulumix.Output[NotificationChannelStrategy]{ + OutputState: i.ToNotificationChannelStrategyOutputWithContext(ctx).OutputState, + } +} + // NotificationChannelStrategyArrayInput is an input type that accepts NotificationChannelStrategyArray and NotificationChannelStrategyArrayOutput values. // You can construct a concrete instance of `NotificationChannelStrategyArrayInput` via: // @@ -7804,6 +8927,12 @@ func (i NotificationChannelStrategyArray) ToNotificationChannelStrategyArrayOutp return pulumi.ToOutputWithContext(ctx, i).(NotificationChannelStrategyArrayOutput) } +func (i NotificationChannelStrategyArray) ToOutput(ctx context.Context) pulumix.Output[[]NotificationChannelStrategy] { + return pulumix.Output[[]NotificationChannelStrategy]{ + OutputState: i.ToNotificationChannelStrategyArrayOutputWithContext(ctx).OutputState, + } +} + // Control over how the notification channels in notification_channels are notified when this alert fires, on a per-channel basis. type NotificationChannelStrategyOutput struct{ *pulumi.OutputState } @@ -7819,6 +8948,12 @@ func (o NotificationChannelStrategyOutput) ToNotificationChannelStrategyOutputWi return o } +func (o NotificationChannelStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationChannelStrategy] { + return pulumix.Output[NotificationChannelStrategy]{ + OutputState: o.OutputState, + } +} + // The full REST resource name for the notification channels that these settings apply to. Each of these correspond to the name field in one of the NotificationChannel objects referenced in the notification_channels field of this AlertPolicy. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] func (o NotificationChannelStrategyOutput) NotificationChannelNames() pulumi.StringArrayOutput { return o.ApplyT(func(v NotificationChannelStrategy) []string { return v.NotificationChannelNames }).(pulumi.StringArrayOutput) @@ -7843,6 +8978,12 @@ func (o NotificationChannelStrategyArrayOutput) ToNotificationChannelStrategyArr return o } +func (o NotificationChannelStrategyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NotificationChannelStrategy] { + return pulumix.Output[[]NotificationChannelStrategy]{ + OutputState: o.OutputState, + } +} + func (o NotificationChannelStrategyArrayOutput) Index(i pulumi.IntInput) NotificationChannelStrategyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationChannelStrategy { return vs[0].([]NotificationChannelStrategy)[vs[1].(int)] @@ -7872,6 +9013,12 @@ func (o NotificationChannelStrategyResponseOutput) ToNotificationChannelStrategy return o } +func (o NotificationChannelStrategyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationChannelStrategyResponse] { + return pulumix.Output[NotificationChannelStrategyResponse]{ + OutputState: o.OutputState, + } +} + // The full REST resource name for the notification channels that these settings apply to. Each of these correspond to the name field in one of the NotificationChannel objects referenced in the notification_channels field of this AlertPolicy. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] func (o NotificationChannelStrategyResponseOutput) NotificationChannelNames() pulumi.StringArrayOutput { return o.ApplyT(func(v NotificationChannelStrategyResponse) []string { return v.NotificationChannelNames }).(pulumi.StringArrayOutput) @@ -7896,6 +9043,12 @@ func (o NotificationChannelStrategyResponseArrayOutput) ToNotificationChannelStr return o } +func (o NotificationChannelStrategyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NotificationChannelStrategyResponse] { + return pulumix.Output[[]NotificationChannelStrategyResponse]{ + OutputState: o.OutputState, + } +} + func (o NotificationChannelStrategyResponseArrayOutput) Index(i pulumi.IntInput) NotificationChannelStrategyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationChannelStrategyResponse { return vs[0].([]NotificationChannelStrategyResponse)[vs[1].(int)] @@ -7937,6 +9090,12 @@ func (i NotificationRateLimitArgs) ToNotificationRateLimitOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NotificationRateLimitOutput) } +func (i NotificationRateLimitArgs) ToOutput(ctx context.Context) pulumix.Output[NotificationRateLimit] { + return pulumix.Output[NotificationRateLimit]{ + OutputState: i.ToNotificationRateLimitOutputWithContext(ctx).OutputState, + } +} + func (i NotificationRateLimitArgs) ToNotificationRateLimitPtrOutput() NotificationRateLimitPtrOutput { return i.ToNotificationRateLimitPtrOutputWithContext(context.Background()) } @@ -7978,6 +9137,12 @@ func (i *notificationRateLimitPtrType) ToNotificationRateLimitPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NotificationRateLimitPtrOutput) } +func (i *notificationRateLimitPtrType) ToOutput(ctx context.Context) pulumix.Output[*NotificationRateLimit] { + return pulumix.Output[*NotificationRateLimit]{ + OutputState: i.ToNotificationRateLimitPtrOutputWithContext(ctx).OutputState, + } +} + // Control over the rate of notifications sent to this alert policy's notification channels. type NotificationRateLimitOutput struct{ *pulumi.OutputState } @@ -8003,6 +9168,12 @@ func (o NotificationRateLimitOutput) ToNotificationRateLimitPtrOutputWithContext }).(NotificationRateLimitPtrOutput) } +func (o NotificationRateLimitOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationRateLimit] { + return pulumix.Output[NotificationRateLimit]{ + OutputState: o.OutputState, + } +} + // Not more than one notification per period. func (o NotificationRateLimitOutput) Period() pulumi.StringPtrOutput { return o.ApplyT(func(v NotificationRateLimit) *string { return v.Period }).(pulumi.StringPtrOutput) @@ -8022,6 +9193,12 @@ func (o NotificationRateLimitPtrOutput) ToNotificationRateLimitPtrOutputWithCont return o } +func (o NotificationRateLimitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationRateLimit] { + return pulumix.Output[*NotificationRateLimit]{ + OutputState: o.OutputState, + } +} + func (o NotificationRateLimitPtrOutput) Elem() NotificationRateLimitOutput { return o.ApplyT(func(v *NotificationRateLimit) NotificationRateLimit { if v != nil { @@ -8063,6 +9240,12 @@ func (o NotificationRateLimitResponseOutput) ToNotificationRateLimitResponseOutp return o } +func (o NotificationRateLimitResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationRateLimitResponse] { + return pulumix.Output[NotificationRateLimitResponse]{ + OutputState: o.OutputState, + } +} + // Not more than one notification per period. func (o NotificationRateLimitResponseOutput) Period() pulumi.StringOutput { return o.ApplyT(func(v NotificationRateLimitResponse) string { return v.Period }).(pulumi.StringOutput) @@ -8111,6 +9294,12 @@ func (i PerformanceThresholdArgs) ToPerformanceThresholdOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PerformanceThresholdOutput) } +func (i PerformanceThresholdArgs) ToOutput(ctx context.Context) pulumix.Output[PerformanceThreshold] { + return pulumix.Output[PerformanceThreshold]{ + OutputState: i.ToPerformanceThresholdOutputWithContext(ctx).OutputState, + } +} + func (i PerformanceThresholdArgs) ToPerformanceThresholdPtrOutput() PerformanceThresholdPtrOutput { return i.ToPerformanceThresholdPtrOutputWithContext(context.Background()) } @@ -8152,6 +9341,12 @@ func (i *performanceThresholdPtrType) ToPerformanceThresholdPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PerformanceThresholdPtrOutput) } +func (i *performanceThresholdPtrType) ToOutput(ctx context.Context) pulumix.Output[*PerformanceThreshold] { + return pulumix.Output[*PerformanceThreshold]{ + OutputState: i.ToPerformanceThresholdPtrOutputWithContext(ctx).OutputState, + } +} + // A PerformanceThreshold is used when each window is good when that window has a sufficiently high performance. type PerformanceThresholdOutput struct{ *pulumi.OutputState } @@ -8177,6 +9372,12 @@ func (o PerformanceThresholdOutput) ToPerformanceThresholdPtrOutputWithContext(c }).(PerformanceThresholdPtrOutput) } +func (o PerformanceThresholdOutput) ToOutput(ctx context.Context) pulumix.Output[PerformanceThreshold] { + return pulumix.Output[PerformanceThreshold]{ + OutputState: o.OutputState, + } +} + // BasicSli to evaluate to judge window quality. func (o PerformanceThresholdOutput) BasicSliPerformance() BasicSliPtrOutput { return o.ApplyT(func(v PerformanceThreshold) *BasicSli { return v.BasicSliPerformance }).(BasicSliPtrOutput) @@ -8206,6 +9407,12 @@ func (o PerformanceThresholdPtrOutput) ToPerformanceThresholdPtrOutputWithContex return o } +func (o PerformanceThresholdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PerformanceThreshold] { + return pulumix.Output[*PerformanceThreshold]{ + OutputState: o.OutputState, + } +} + func (o PerformanceThresholdPtrOutput) Elem() PerformanceThresholdOutput { return o.ApplyT(func(v *PerformanceThreshold) PerformanceThreshold { if v != nil { @@ -8271,6 +9478,12 @@ func (o PerformanceThresholdResponseOutput) ToPerformanceThresholdResponseOutput return o } +func (o PerformanceThresholdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PerformanceThresholdResponse] { + return pulumix.Output[PerformanceThresholdResponse]{ + OutputState: o.OutputState, + } +} + // BasicSli to evaluate to judge window quality. func (o PerformanceThresholdResponseOutput) BasicSliPerformance() BasicSliResponseOutput { return o.ApplyT(func(v PerformanceThresholdResponse) BasicSliResponse { return v.BasicSliPerformance }).(BasicSliResponseOutput) @@ -8321,6 +9534,12 @@ func (i PingConfigArgs) ToPingConfigOutputWithContext(ctx context.Context) PingC return pulumi.ToOutputWithContext(ctx, i).(PingConfigOutput) } +func (i PingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PingConfig] { + return pulumix.Output[PingConfig]{ + OutputState: i.ToPingConfigOutputWithContext(ctx).OutputState, + } +} + func (i PingConfigArgs) ToPingConfigPtrOutput() PingConfigPtrOutput { return i.ToPingConfigPtrOutputWithContext(context.Background()) } @@ -8362,6 +9581,12 @@ func (i *pingConfigPtrType) ToPingConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PingConfigPtrOutput) } +func (i *pingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PingConfig] { + return pulumix.Output[*PingConfig]{ + OutputState: i.ToPingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Information involved in sending ICMP pings alongside public HTTP/TCP checks. For HTTP, the pings are performed for each part of the redirect chain. type PingConfigOutput struct{ *pulumi.OutputState } @@ -8387,6 +9612,12 @@ func (o PingConfigOutput) ToPingConfigPtrOutputWithContext(ctx context.Context) }).(PingConfigPtrOutput) } +func (o PingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PingConfig] { + return pulumix.Output[PingConfig]{ + OutputState: o.OutputState, + } +} + // Number of ICMP pings. A maximum of 3 ICMP pings is currently supported. func (o PingConfigOutput) PingsCount() pulumi.IntPtrOutput { return o.ApplyT(func(v PingConfig) *int { return v.PingsCount }).(pulumi.IntPtrOutput) @@ -8406,6 +9637,12 @@ func (o PingConfigPtrOutput) ToPingConfigPtrOutputWithContext(ctx context.Contex return o } +func (o PingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PingConfig] { + return pulumix.Output[*PingConfig]{ + OutputState: o.OutputState, + } +} + func (o PingConfigPtrOutput) Elem() PingConfigOutput { return o.ApplyT(func(v *PingConfig) PingConfig { if v != nil { @@ -8447,6 +9684,12 @@ func (o PingConfigResponseOutput) ToPingConfigResponseOutputWithContext(ctx cont return o } +func (o PingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PingConfigResponse] { + return pulumix.Output[PingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Number of ICMP pings. A maximum of 3 ICMP pings is currently supported. func (o PingConfigResponseOutput) PingsCount() pulumi.IntOutput { return o.ApplyT(func(v PingConfigResponse) int { return v.PingsCount }).(pulumi.IntOutput) @@ -8491,6 +9734,12 @@ func (i RequestBasedSliArgs) ToRequestBasedSliOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(RequestBasedSliOutput) } +func (i RequestBasedSliArgs) ToOutput(ctx context.Context) pulumix.Output[RequestBasedSli] { + return pulumix.Output[RequestBasedSli]{ + OutputState: i.ToRequestBasedSliOutputWithContext(ctx).OutputState, + } +} + func (i RequestBasedSliArgs) ToRequestBasedSliPtrOutput() RequestBasedSliPtrOutput { return i.ToRequestBasedSliPtrOutputWithContext(context.Background()) } @@ -8532,6 +9781,12 @@ func (i *requestBasedSliPtrType) ToRequestBasedSliPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RequestBasedSliPtrOutput) } +func (i *requestBasedSliPtrType) ToOutput(ctx context.Context) pulumix.Output[*RequestBasedSli] { + return pulumix.Output[*RequestBasedSli]{ + OutputState: i.ToRequestBasedSliPtrOutputWithContext(ctx).OutputState, + } +} + // Service Level Indicators for which atomic units of service are counted directly. type RequestBasedSliOutput struct{ *pulumi.OutputState } @@ -8557,6 +9812,12 @@ func (o RequestBasedSliOutput) ToRequestBasedSliPtrOutputWithContext(ctx context }).(RequestBasedSliPtrOutput) } +func (o RequestBasedSliOutput) ToOutput(ctx context.Context) pulumix.Output[RequestBasedSli] { + return pulumix.Output[RequestBasedSli]{ + OutputState: o.OutputState, + } +} + // distribution_cut is used when good_service is a count of values aggregated in a Distribution that fall into a good range. The total_service is the total count of all values aggregated in the Distribution. func (o RequestBasedSliOutput) DistributionCut() DistributionCutPtrOutput { return o.ApplyT(func(v RequestBasedSli) *DistributionCut { return v.DistributionCut }).(DistributionCutPtrOutput) @@ -8581,6 +9842,12 @@ func (o RequestBasedSliPtrOutput) ToRequestBasedSliPtrOutputWithContext(ctx cont return o } +func (o RequestBasedSliPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RequestBasedSli] { + return pulumix.Output[*RequestBasedSli]{ + OutputState: o.OutputState, + } +} + func (o RequestBasedSliPtrOutput) Elem() RequestBasedSliOutput { return o.ApplyT(func(v *RequestBasedSli) RequestBasedSli { if v != nil { @@ -8634,6 +9901,12 @@ func (o RequestBasedSliResponseOutput) ToRequestBasedSliResponseOutputWithContex return o } +func (o RequestBasedSliResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RequestBasedSliResponse] { + return pulumix.Output[RequestBasedSliResponse]{ + OutputState: o.OutputState, + } +} + // distribution_cut is used when good_service is a count of values aggregated in a Distribution that fall into a good range. The total_service is the total count of all values aggregated in the Distribution. func (o RequestBasedSliResponseOutput) DistributionCut() DistributionCutResponseOutput { return o.ApplyT(func(v RequestBasedSliResponse) DistributionCutResponse { return v.DistributionCut }).(DistributionCutResponseOutput) @@ -8683,6 +9956,12 @@ func (i ResourceGroupArgs) ToResourceGroupOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ResourceGroupOutput) } +func (i ResourceGroupArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceGroup] { + return pulumix.Output[ResourceGroup]{ + OutputState: i.ToResourceGroupOutputWithContext(ctx).OutputState, + } +} + func (i ResourceGroupArgs) ToResourceGroupPtrOutput() ResourceGroupPtrOutput { return i.ToResourceGroupPtrOutputWithContext(context.Background()) } @@ -8724,6 +10003,12 @@ func (i *resourceGroupPtrType) ToResourceGroupPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ResourceGroupPtrOutput) } +func (i *resourceGroupPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceGroup] { + return pulumix.Output[*ResourceGroup]{ + OutputState: i.ToResourceGroupPtrOutputWithContext(ctx).OutputState, + } +} + // The resource submessage for group checks. It can be used instead of a monitored resource, when multiple resources are being monitored. type ResourceGroupOutput struct{ *pulumi.OutputState } @@ -8749,6 +10034,12 @@ func (o ResourceGroupOutput) ToResourceGroupPtrOutputWithContext(ctx context.Con }).(ResourceGroupPtrOutput) } +func (o ResourceGroupOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceGroup] { + return pulumix.Output[ResourceGroup]{ + OutputState: o.OutputState, + } +} + // The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]. func (o ResourceGroupOutput) GroupId() pulumi.StringPtrOutput { return o.ApplyT(func(v ResourceGroup) *string { return v.GroupId }).(pulumi.StringPtrOutput) @@ -8773,6 +10064,12 @@ func (o ResourceGroupPtrOutput) ToResourceGroupPtrOutputWithContext(ctx context. return o } +func (o ResourceGroupPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceGroup] { + return pulumix.Output[*ResourceGroup]{ + OutputState: o.OutputState, + } +} + func (o ResourceGroupPtrOutput) Elem() ResourceGroupOutput { return o.ApplyT(func(v *ResourceGroup) ResourceGroup { if v != nil { @@ -8826,6 +10123,12 @@ func (o ResourceGroupResponseOutput) ToResourceGroupResponseOutputWithContext(ct return o } +func (o ResourceGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceGroupResponse] { + return pulumix.Output[ResourceGroupResponse]{ + OutputState: o.OutputState, + } +} + // The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]. func (o ResourceGroupResponseOutput) GroupId() pulumi.StringOutput { return o.ApplyT(func(v ResourceGroupResponse) string { return v.GroupId }).(pulumi.StringOutput) @@ -8875,6 +10178,12 @@ func (i ResponseStatusCodeArgs) ToResponseStatusCodeOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ResponseStatusCodeOutput) } +func (i ResponseStatusCodeArgs) ToOutput(ctx context.Context) pulumix.Output[ResponseStatusCode] { + return pulumix.Output[ResponseStatusCode]{ + OutputState: i.ToResponseStatusCodeOutputWithContext(ctx).OutputState, + } +} + // ResponseStatusCodeArrayInput is an input type that accepts ResponseStatusCodeArray and ResponseStatusCodeArrayOutput values. // You can construct a concrete instance of `ResponseStatusCodeArrayInput` via: // @@ -8900,6 +10209,12 @@ func (i ResponseStatusCodeArray) ToResponseStatusCodeArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ResponseStatusCodeArrayOutput) } +func (i ResponseStatusCodeArray) ToOutput(ctx context.Context) pulumix.Output[[]ResponseStatusCode] { + return pulumix.Output[[]ResponseStatusCode]{ + OutputState: i.ToResponseStatusCodeArrayOutputWithContext(ctx).OutputState, + } +} + // A status to accept. Either a status code class like "2xx", or an integer status code like "200". type ResponseStatusCodeOutput struct{ *pulumi.OutputState } @@ -8915,6 +10230,12 @@ func (o ResponseStatusCodeOutput) ToResponseStatusCodeOutputWithContext(ctx cont return o } +func (o ResponseStatusCodeOutput) ToOutput(ctx context.Context) pulumix.Output[ResponseStatusCode] { + return pulumix.Output[ResponseStatusCode]{ + OutputState: o.OutputState, + } +} + // A class of status codes to accept. func (o ResponseStatusCodeOutput) StatusClass() ResponseStatusCodeStatusClassPtrOutput { return o.ApplyT(func(v ResponseStatusCode) *ResponseStatusCodeStatusClass { return v.StatusClass }).(ResponseStatusCodeStatusClassPtrOutput) @@ -8939,6 +10260,12 @@ func (o ResponseStatusCodeArrayOutput) ToResponseStatusCodeArrayOutputWithContex return o } +func (o ResponseStatusCodeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResponseStatusCode] { + return pulumix.Output[[]ResponseStatusCode]{ + OutputState: o.OutputState, + } +} + func (o ResponseStatusCodeArrayOutput) Index(i pulumi.IntInput) ResponseStatusCodeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponseStatusCode { return vs[0].([]ResponseStatusCode)[vs[1].(int)] @@ -8968,6 +10295,12 @@ func (o ResponseStatusCodeResponseOutput) ToResponseStatusCodeResponseOutputWith return o } +func (o ResponseStatusCodeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResponseStatusCodeResponse] { + return pulumix.Output[ResponseStatusCodeResponse]{ + OutputState: o.OutputState, + } +} + // A class of status codes to accept. func (o ResponseStatusCodeResponseOutput) StatusClass() pulumi.StringOutput { return o.ApplyT(func(v ResponseStatusCodeResponse) string { return v.StatusClass }).(pulumi.StringOutput) @@ -8992,6 +10325,12 @@ func (o ResponseStatusCodeResponseArrayOutput) ToResponseStatusCodeResponseArray return o } +func (o ResponseStatusCodeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResponseStatusCodeResponse] { + return pulumix.Output[[]ResponseStatusCodeResponse]{ + OutputState: o.OutputState, + } +} + func (o ResponseStatusCodeResponseArrayOutput) Index(i pulumi.IntInput) ResponseStatusCodeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResponseStatusCodeResponse { return vs[0].([]ResponseStatusCodeResponse)[vs[1].(int)] @@ -9041,6 +10380,12 @@ func (i ServiceLevelIndicatorArgs) ToServiceLevelIndicatorOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceLevelIndicatorOutput) } +func (i ServiceLevelIndicatorArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceLevelIndicator] { + return pulumix.Output[ServiceLevelIndicator]{ + OutputState: i.ToServiceLevelIndicatorOutputWithContext(ctx).OutputState, + } +} + func (i ServiceLevelIndicatorArgs) ToServiceLevelIndicatorPtrOutput() ServiceLevelIndicatorPtrOutput { return i.ToServiceLevelIndicatorPtrOutputWithContext(context.Background()) } @@ -9082,6 +10427,12 @@ func (i *serviceLevelIndicatorPtrType) ToServiceLevelIndicatorPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ServiceLevelIndicatorPtrOutput) } +func (i *serviceLevelIndicatorPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceLevelIndicator] { + return pulumix.Output[*ServiceLevelIndicator]{ + OutputState: i.ToServiceLevelIndicatorPtrOutputWithContext(ctx).OutputState, + } +} + // A Service-Level Indicator (SLI) describes the "performance" of a service. For some services, the SLI is well-defined. In such cases, the SLI can be described easily by referencing the well-known SLI and providing the needed parameters. Alternatively, a "custom" SLI can be defined with a query to the underlying metric store. An SLI is defined to be good_service / total_service over any queried time interval. The value of performance always falls into the range 0 <= performance <= 1. A custom SLI describes how to compute this ratio, whether this is by dividing values from a pair of time series, cutting a Distribution into good and bad counts, or counting time windows in which the service complies with a criterion. For separation of concerns, a single Service-Level Indicator measures performance for only one aspect of service quality, such as fraction of successful queries or fast-enough queries. type ServiceLevelIndicatorOutput struct{ *pulumi.OutputState } @@ -9107,6 +10458,12 @@ func (o ServiceLevelIndicatorOutput) ToServiceLevelIndicatorPtrOutputWithContext }).(ServiceLevelIndicatorPtrOutput) } +func (o ServiceLevelIndicatorOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceLevelIndicator] { + return pulumix.Output[ServiceLevelIndicator]{ + OutputState: o.OutputState, + } +} + // Basic SLI on a well-known service type. func (o ServiceLevelIndicatorOutput) BasicSli() BasicSliPtrOutput { return o.ApplyT(func(v ServiceLevelIndicator) *BasicSli { return v.BasicSli }).(BasicSliPtrOutput) @@ -9136,6 +10493,12 @@ func (o ServiceLevelIndicatorPtrOutput) ToServiceLevelIndicatorPtrOutputWithCont return o } +func (o ServiceLevelIndicatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceLevelIndicator] { + return pulumix.Output[*ServiceLevelIndicator]{ + OutputState: o.OutputState, + } +} + func (o ServiceLevelIndicatorPtrOutput) Elem() ServiceLevelIndicatorOutput { return o.ApplyT(func(v *ServiceLevelIndicator) ServiceLevelIndicator { if v != nil { @@ -9201,6 +10564,12 @@ func (o ServiceLevelIndicatorResponseOutput) ToServiceLevelIndicatorResponseOutp return o } +func (o ServiceLevelIndicatorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceLevelIndicatorResponse] { + return pulumix.Output[ServiceLevelIndicatorResponse]{ + OutputState: o.OutputState, + } +} + // Basic SLI on a well-known service type. func (o ServiceLevelIndicatorResponseOutput) BasicSli() BasicSliResponseOutput { return o.ApplyT(func(v ServiceLevelIndicatorResponse) BasicSliResponse { return v.BasicSli }).(BasicSliResponseOutput) @@ -9259,6 +10628,12 @@ func (i StatusArgs) ToStatusOutputWithContext(ctx context.Context) StatusOutput return pulumi.ToOutputWithContext(ctx, i).(StatusOutput) } +func (i StatusArgs) ToOutput(ctx context.Context) pulumix.Output[Status] { + return pulumix.Output[Status]{ + OutputState: i.ToStatusOutputWithContext(ctx).OutputState, + } +} + func (i StatusArgs) ToStatusPtrOutput() StatusPtrOutput { return i.ToStatusPtrOutputWithContext(context.Background()) } @@ -9300,6 +10675,12 @@ func (i *statusPtrType) ToStatusPtrOutputWithContext(ctx context.Context) Status return pulumi.ToOutputWithContext(ctx, i).(StatusPtrOutput) } +func (i *statusPtrType) ToOutput(ctx context.Context) pulumix.Output[*Status] { + return pulumix.Output[*Status]{ + OutputState: i.ToStatusPtrOutputWithContext(ctx).OutputState, + } +} + // The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). type StatusOutput struct{ *pulumi.OutputState } @@ -9325,6 +10706,12 @@ func (o StatusOutput) ToStatusPtrOutputWithContext(ctx context.Context) StatusPt }).(StatusPtrOutput) } +func (o StatusOutput) ToOutput(ctx context.Context) pulumix.Output[Status] { + return pulumix.Output[Status]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusOutput) Code() pulumi.IntPtrOutput { return o.ApplyT(func(v Status) *int { return v.Code }).(pulumi.IntPtrOutput) @@ -9354,6 +10741,12 @@ func (o StatusPtrOutput) ToStatusPtrOutputWithContext(ctx context.Context) Statu return o } +func (o StatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Status] { + return pulumix.Output[*Status]{ + OutputState: o.OutputState, + } +} + func (o StatusPtrOutput) Elem() StatusOutput { return o.ApplyT(func(v *Status) Status { if v != nil { @@ -9419,6 +10812,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -9473,6 +10872,12 @@ func (i TcpCheckArgs) ToTcpCheckOutputWithContext(ctx context.Context) TcpCheckO return pulumi.ToOutputWithContext(ctx, i).(TcpCheckOutput) } +func (i TcpCheckArgs) ToOutput(ctx context.Context) pulumix.Output[TcpCheck] { + return pulumix.Output[TcpCheck]{ + OutputState: i.ToTcpCheckOutputWithContext(ctx).OutputState, + } +} + func (i TcpCheckArgs) ToTcpCheckPtrOutput() TcpCheckPtrOutput { return i.ToTcpCheckPtrOutputWithContext(context.Background()) } @@ -9514,6 +10919,12 @@ func (i *tcpCheckPtrType) ToTcpCheckPtrOutputWithContext(ctx context.Context) Tc return pulumi.ToOutputWithContext(ctx, i).(TcpCheckPtrOutput) } +func (i *tcpCheckPtrType) ToOutput(ctx context.Context) pulumix.Output[*TcpCheck] { + return pulumix.Output[*TcpCheck]{ + OutputState: i.ToTcpCheckPtrOutputWithContext(ctx).OutputState, + } +} + // Information required for a TCP Uptime check request. type TcpCheckOutput struct{ *pulumi.OutputState } @@ -9539,6 +10950,12 @@ func (o TcpCheckOutput) ToTcpCheckPtrOutputWithContext(ctx context.Context) TcpC }).(TcpCheckPtrOutput) } +func (o TcpCheckOutput) ToOutput(ctx context.Context) pulumix.Output[TcpCheck] { + return pulumix.Output[TcpCheck]{ + OutputState: o.OutputState, + } +} + // Contains information needed to add pings to a TCP check. func (o TcpCheckOutput) PingConfig() PingConfigPtrOutput { return o.ApplyT(func(v TcpCheck) *PingConfig { return v.PingConfig }).(PingConfigPtrOutput) @@ -9563,6 +10980,12 @@ func (o TcpCheckPtrOutput) ToTcpCheckPtrOutputWithContext(ctx context.Context) T return o } +func (o TcpCheckPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TcpCheck] { + return pulumix.Output[*TcpCheck]{ + OutputState: o.OutputState, + } +} + func (o TcpCheckPtrOutput) Elem() TcpCheckOutput { return o.ApplyT(func(v *TcpCheck) TcpCheck { if v != nil { @@ -9616,6 +11039,12 @@ func (o TcpCheckResponseOutput) ToTcpCheckResponseOutputWithContext(ctx context. return o } +func (o TcpCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TcpCheckResponse] { + return pulumix.Output[TcpCheckResponse]{ + OutputState: o.OutputState, + } +} + // Contains information needed to add pings to a TCP check. func (o TcpCheckResponseOutput) PingConfig() PingConfigResponseOutput { return o.ApplyT(func(v TcpCheckResponse) PingConfigResponse { return v.PingConfig }).(PingConfigResponseOutput) @@ -9661,6 +11090,12 @@ func (i TelemetryArgs) ToTelemetryOutputWithContext(ctx context.Context) Telemet return pulumi.ToOutputWithContext(ctx, i).(TelemetryOutput) } +func (i TelemetryArgs) ToOutput(ctx context.Context) pulumix.Output[Telemetry] { + return pulumix.Output[Telemetry]{ + OutputState: i.ToTelemetryOutputWithContext(ctx).OutputState, + } +} + func (i TelemetryArgs) ToTelemetryPtrOutput() TelemetryPtrOutput { return i.ToTelemetryPtrOutputWithContext(context.Background()) } @@ -9702,6 +11137,12 @@ func (i *telemetryPtrType) ToTelemetryPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TelemetryPtrOutput) } +func (i *telemetryPtrType) ToOutput(ctx context.Context) pulumix.Output[*Telemetry] { + return pulumix.Output[*Telemetry]{ + OutputState: i.ToTelemetryPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for how to query telemetry on a Service. type TelemetryOutput struct{ *pulumi.OutputState } @@ -9727,6 +11168,12 @@ func (o TelemetryOutput) ToTelemetryPtrOutputWithContext(ctx context.Context) Te }).(TelemetryPtrOutput) } +func (o TelemetryOutput) ToOutput(ctx context.Context) pulumix.Output[Telemetry] { + return pulumix.Output[Telemetry]{ + OutputState: o.OutputState, + } +} + // The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names. func (o TelemetryOutput) ResourceName() pulumi.StringPtrOutput { return o.ApplyT(func(v Telemetry) *string { return v.ResourceName }).(pulumi.StringPtrOutput) @@ -9746,6 +11193,12 @@ func (o TelemetryPtrOutput) ToTelemetryPtrOutputWithContext(ctx context.Context) return o } +func (o TelemetryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Telemetry] { + return pulumix.Output[*Telemetry]{ + OutputState: o.OutputState, + } +} + func (o TelemetryPtrOutput) Elem() TelemetryOutput { return o.ApplyT(func(v *Telemetry) Telemetry { if v != nil { @@ -9787,6 +11240,12 @@ func (o TelemetryResponseOutput) ToTelemetryResponseOutputWithContext(ctx contex return o } +func (o TelemetryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TelemetryResponse] { + return pulumix.Output[TelemetryResponse]{ + OutputState: o.OutputState, + } +} + // The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names. func (o TelemetryResponseOutput) ResourceName() pulumi.StringOutput { return o.ApplyT(func(v TelemetryResponse) string { return v.ResourceName }).(pulumi.StringOutput) @@ -9831,6 +11290,12 @@ func (i TimeIntervalArgs) ToTimeIntervalOutputWithContext(ctx context.Context) T return pulumi.ToOutputWithContext(ctx, i).(TimeIntervalOutput) } +func (i TimeIntervalArgs) ToOutput(ctx context.Context) pulumix.Output[TimeInterval] { + return pulumix.Output[TimeInterval]{ + OutputState: i.ToTimeIntervalOutputWithContext(ctx).OutputState, + } +} + // Describes a time interval: Reads: A half-open time interval. It includes the end time but excludes the start time: (startTime, endTime]. The start time must be specified, must be earlier than the end time, and should be no older than the data retention period for the metric. Writes: A closed time interval. It extends from the start time to the end time, and includes both: [startTime, endTime]. Valid time intervals depend on the MetricKind (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricKind) of the metric value. The end time must not be earlier than the start time, and the end time must not be more than 25 hours in the past or more than five minutes in the future. For GAUGE metrics, the startTime value is technically optional; if no value is specified, the start time defaults to the value of the end time, and the interval represents a single point in time. If both start and end times are specified, they must be identical. Such an interval is valid only for GAUGE metrics, which are point-in-time measurements. The end time of a new interval must be at least a millisecond after the end time of the previous interval. For DELTA metrics, the start time and end time must specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For DELTA metrics, the start time of the next interval must be at least a millisecond after the end time of the previous interval. For CUMULATIVE metrics, the start time and end time must specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points. The new start time must be at least a millisecond after the end time of the previous interval. The start time of a new interval must be at least a millisecond after the end time of the previous interval because intervals are closed. If the start time of a new interval is the same as the end time of the previous interval, then data written at the new start time could overwrite data written at the previous end time. type TimeIntervalOutput struct{ *pulumi.OutputState } @@ -9846,6 +11311,12 @@ func (o TimeIntervalOutput) ToTimeIntervalOutputWithContext(ctx context.Context) return o } +func (o TimeIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[TimeInterval] { + return pulumix.Output[TimeInterval]{ + OutputState: o.OutputState, + } +} + // The end of the time interval. func (o TimeIntervalOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v TimeInterval) string { return v.EndTime }).(pulumi.StringOutput) @@ -9879,6 +11350,12 @@ func (o TimeIntervalResponseOutput) ToTimeIntervalResponseOutputWithContext(ctx return o } +func (o TimeIntervalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeIntervalResponse] { + return pulumix.Output[TimeIntervalResponse]{ + OutputState: o.OutputState, + } +} + // The end of the time interval. func (o TimeIntervalResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v TimeIntervalResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -9932,6 +11409,12 @@ func (i TimeSeriesRatioArgs) ToTimeSeriesRatioOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TimeSeriesRatioOutput) } +func (i TimeSeriesRatioArgs) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesRatio] { + return pulumix.Output[TimeSeriesRatio]{ + OutputState: i.ToTimeSeriesRatioOutputWithContext(ctx).OutputState, + } +} + func (i TimeSeriesRatioArgs) ToTimeSeriesRatioPtrOutput() TimeSeriesRatioPtrOutput { return i.ToTimeSeriesRatioPtrOutputWithContext(context.Background()) } @@ -9973,6 +11456,12 @@ func (i *timeSeriesRatioPtrType) ToTimeSeriesRatioPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TimeSeriesRatioPtrOutput) } +func (i *timeSeriesRatioPtrType) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesRatio] { + return pulumix.Output[*TimeSeriesRatio]{ + OutputState: i.ToTimeSeriesRatioPtrOutputWithContext(ctx).OutputState, + } +} + // A TimeSeriesRatio specifies two TimeSeries to use for computing the good_service / total_service ratio. The specified TimeSeries must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE. The TimeSeriesRatio must specify exactly two of good, bad, and total, and the relationship good_service + bad_service = total_service will be assumed. type TimeSeriesRatioOutput struct{ *pulumi.OutputState } @@ -9998,6 +11487,12 @@ func (o TimeSeriesRatioOutput) ToTimeSeriesRatioPtrOutputWithContext(ctx context }).(TimeSeriesRatioPtrOutput) } +func (o TimeSeriesRatioOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesRatio] { + return pulumix.Output[TimeSeriesRatio]{ + OutputState: o.OutputState, + } +} + // A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries quantifying bad service, either demanded service that was not provided or demanded service that was of inadequate quality. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE. func (o TimeSeriesRatioOutput) BadServiceFilter() pulumi.StringPtrOutput { return o.ApplyT(func(v TimeSeriesRatio) *string { return v.BadServiceFilter }).(pulumi.StringPtrOutput) @@ -10027,6 +11522,12 @@ func (o TimeSeriesRatioPtrOutput) ToTimeSeriesRatioPtrOutputWithContext(ctx cont return o } +func (o TimeSeriesRatioPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimeSeriesRatio] { + return pulumix.Output[*TimeSeriesRatio]{ + OutputState: o.OutputState, + } +} + func (o TimeSeriesRatioPtrOutput) Elem() TimeSeriesRatioOutput { return o.ApplyT(func(v *TimeSeriesRatio) TimeSeriesRatio { if v != nil { @@ -10092,6 +11593,12 @@ func (o TimeSeriesRatioResponseOutput) ToTimeSeriesRatioResponseOutputWithContex return o } +func (o TimeSeriesRatioResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeSeriesRatioResponse] { + return pulumix.Output[TimeSeriesRatioResponse]{ + OutputState: o.OutputState, + } +} + // A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries quantifying bad service, either demanded service that was not provided or demanded service that was of inadequate quality. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE. func (o TimeSeriesRatioResponseOutput) BadServiceFilter() pulumi.StringOutput { return o.ApplyT(func(v TimeSeriesRatioResponse) string { return v.BadServiceFilter }).(pulumi.StringOutput) @@ -10146,6 +11653,12 @@ func (i TriggerArgs) ToTriggerOutputWithContext(ctx context.Context) TriggerOutp return pulumi.ToOutputWithContext(ctx, i).(TriggerOutput) } +func (i TriggerArgs) ToOutput(ctx context.Context) pulumix.Output[Trigger] { + return pulumix.Output[Trigger]{ + OutputState: i.ToTriggerOutputWithContext(ctx).OutputState, + } +} + func (i TriggerArgs) ToTriggerPtrOutput() TriggerPtrOutput { return i.ToTriggerPtrOutputWithContext(context.Background()) } @@ -10187,6 +11700,12 @@ func (i *triggerPtrType) ToTriggerPtrOutputWithContext(ctx context.Context) Trig return pulumi.ToOutputWithContext(ctx, i).(TriggerPtrOutput) } +func (i *triggerPtrType) ToOutput(ctx context.Context) pulumix.Output[*Trigger] { + return pulumix.Output[*Trigger]{ + OutputState: i.ToTriggerPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how many time series must fail a predicate to trigger a condition. If not specified, then a {count: 1} trigger is used. type TriggerOutput struct{ *pulumi.OutputState } @@ -10212,6 +11731,12 @@ func (o TriggerOutput) ToTriggerPtrOutputWithContext(ctx context.Context) Trigge }).(TriggerPtrOutput) } +func (o TriggerOutput) ToOutput(ctx context.Context) pulumix.Output[Trigger] { + return pulumix.Output[Trigger]{ + OutputState: o.OutputState, + } +} + // The absolute number of time series that must fail the predicate for the condition to be triggered. func (o TriggerOutput) Count() pulumi.IntPtrOutput { return o.ApplyT(func(v Trigger) *int { return v.Count }).(pulumi.IntPtrOutput) @@ -10236,6 +11761,12 @@ func (o TriggerPtrOutput) ToTriggerPtrOutputWithContext(ctx context.Context) Tri return o } +func (o TriggerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Trigger] { + return pulumix.Output[*Trigger]{ + OutputState: o.OutputState, + } +} + func (o TriggerPtrOutput) Elem() TriggerOutput { return o.ApplyT(func(v *Trigger) Trigger { if v != nil { @@ -10289,6 +11820,12 @@ func (o TriggerResponseOutput) ToTriggerResponseOutputWithContext(ctx context.Co return o } +func (o TriggerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TriggerResponse] { + return pulumix.Output[TriggerResponse]{ + OutputState: o.OutputState, + } +} + // The absolute number of time series that must fail the predicate for the condition to be triggered. func (o TriggerResponseOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v TriggerResponse) int { return v.Count }).(pulumi.IntOutput) @@ -10350,6 +11887,12 @@ func (i WindowsBasedSliArgs) ToWindowsBasedSliOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(WindowsBasedSliOutput) } +func (i WindowsBasedSliArgs) ToOutput(ctx context.Context) pulumix.Output[WindowsBasedSli] { + return pulumix.Output[WindowsBasedSli]{ + OutputState: i.ToWindowsBasedSliOutputWithContext(ctx).OutputState, + } +} + func (i WindowsBasedSliArgs) ToWindowsBasedSliPtrOutput() WindowsBasedSliPtrOutput { return i.ToWindowsBasedSliPtrOutputWithContext(context.Background()) } @@ -10391,6 +11934,12 @@ func (i *windowsBasedSliPtrType) ToWindowsBasedSliPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(WindowsBasedSliPtrOutput) } +func (i *windowsBasedSliPtrType) ToOutput(ctx context.Context) pulumix.Output[*WindowsBasedSli] { + return pulumix.Output[*WindowsBasedSli]{ + OutputState: i.ToWindowsBasedSliPtrOutputWithContext(ctx).OutputState, + } +} + // A WindowsBasedSli defines good_service as the count of time windows for which the provided service was of good quality. Criteria for determining if service was good are embedded in the window_criterion. type WindowsBasedSliOutput struct{ *pulumi.OutputState } @@ -10416,6 +11965,12 @@ func (o WindowsBasedSliOutput) ToWindowsBasedSliPtrOutputWithContext(ctx context }).(WindowsBasedSliPtrOutput) } +func (o WindowsBasedSliOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsBasedSli] { + return pulumix.Output[WindowsBasedSli]{ + OutputState: o.OutputState, + } +} + // A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window. func (o WindowsBasedSliOutput) GoodBadMetricFilter() pulumi.StringPtrOutput { return o.ApplyT(func(v WindowsBasedSli) *string { return v.GoodBadMetricFilter }).(pulumi.StringPtrOutput) @@ -10455,6 +12010,12 @@ func (o WindowsBasedSliPtrOutput) ToWindowsBasedSliPtrOutputWithContext(ctx cont return o } +func (o WindowsBasedSliPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WindowsBasedSli] { + return pulumix.Output[*WindowsBasedSli]{ + OutputState: o.OutputState, + } +} + func (o WindowsBasedSliPtrOutput) Elem() WindowsBasedSliOutput { return o.ApplyT(func(v *WindowsBasedSli) WindowsBasedSli { if v != nil { @@ -10544,6 +12105,12 @@ func (o WindowsBasedSliResponseOutput) ToWindowsBasedSliResponseOutputWithContex return o } +func (o WindowsBasedSliResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsBasedSliResponse] { + return pulumix.Output[WindowsBasedSliResponse]{ + OutputState: o.OutputState, + } +} + // A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window. func (o WindowsBasedSliResponseOutput) GoodBadMetricFilter() pulumi.StringOutput { return o.ApplyT(func(v WindowsBasedSliResponse) string { return v.GoodBadMetricFilter }).(pulumi.StringOutput) diff --git a/sdk/go/google/monitoring/v3/service.go b/sdk/go/google/monitoring/v3/service.go index 42d65e731a..06c911a1f4 100644 --- a/sdk/go/google/monitoring/v3/service.go +++ b/sdk/go/google/monitoring/v3/service.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a Service. @@ -201,6 +202,12 @@ func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput return pulumi.ToOutputWithContext(ctx, i).(ServiceOutput) } +func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: i.ToServiceOutputWithContext(ctx).OutputState, + } +} + type ServiceOutput struct{ *pulumi.OutputState } func (ServiceOutput) ElementType() reflect.Type { @@ -215,6 +222,12 @@ func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOu return o } +func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: o.OutputState, + } +} + // Type used for App Engine services. func (o ServiceOutput) AppEngine() AppEngineResponseOutput { return o.ApplyT(func(v *Service) AppEngineResponseOutput { return v.AppEngine }).(AppEngineResponseOutput) diff --git a/sdk/go/google/monitoring/v3/serviceLevelObjective.go b/sdk/go/google/monitoring/v3/serviceLevelObjective.go index 231ea3bd80..0216bb7d35 100644 --- a/sdk/go/google/monitoring/v3/serviceLevelObjective.go +++ b/sdk/go/google/monitoring/v3/serviceLevelObjective.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a ServiceLevelObjective for the given Service. @@ -160,6 +161,12 @@ func (i *ServiceLevelObjective) ToServiceLevelObjectiveOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ServiceLevelObjectiveOutput) } +func (i *ServiceLevelObjective) ToOutput(ctx context.Context) pulumix.Output[*ServiceLevelObjective] { + return pulumix.Output[*ServiceLevelObjective]{ + OutputState: i.ToServiceLevelObjectiveOutputWithContext(ctx).OutputState, + } +} + type ServiceLevelObjectiveOutput struct{ *pulumi.OutputState } func (ServiceLevelObjectiveOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutputWithContext(ct return o } +func (o ServiceLevelObjectiveOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceLevelObjective] { + return pulumix.Output[*ServiceLevelObjective]{ + OutputState: o.OutputState, + } +} + // A calendar period, semantically "since the start of the current ". At this time, only DAY, WEEK, FORTNIGHT, and MONTH are supported. func (o ServiceLevelObjectiveOutput) CalendarPeriod() pulumi.StringOutput { return o.ApplyT(func(v *ServiceLevelObjective) pulumi.StringOutput { return v.CalendarPeriod }).(pulumi.StringOutput) diff --git a/sdk/go/google/monitoring/v3/snooze.go b/sdk/go/google/monitoring/v3/snooze.go index e7a6ed3c40..086367671b 100644 --- a/sdk/go/google/monitoring/v3/snooze.go +++ b/sdk/go/google/monitoring/v3/snooze.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Snooze that will prevent alerts, which match the provided criteria, from being opened. The Snooze applies for a specific time interval. @@ -129,6 +130,12 @@ func (i *Snooze) ToSnoozeOutputWithContext(ctx context.Context) SnoozeOutput { return pulumi.ToOutputWithContext(ctx, i).(SnoozeOutput) } +func (i *Snooze) ToOutput(ctx context.Context) pulumix.Output[*Snooze] { + return pulumix.Output[*Snooze]{ + OutputState: i.ToSnoozeOutputWithContext(ctx).OutputState, + } +} + type SnoozeOutput struct{ *pulumi.OutputState } func (SnoozeOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o SnoozeOutput) ToSnoozeOutputWithContext(ctx context.Context) SnoozeOutpu return o } +func (o SnoozeOutput) ToOutput(ctx context.Context) pulumix.Output[*Snooze] { + return pulumix.Output[*Snooze]{ + OutputState: o.OutputState, + } +} + // This defines the criteria for applying the Snooze. See Criteria for more information. func (o SnoozeOutput) Criteria() CriteriaResponseOutput { return o.ApplyT(func(v *Snooze) CriteriaResponseOutput { return v.Criteria }).(CriteriaResponseOutput) diff --git a/sdk/go/google/monitoring/v3/uptimeCheckConfig.go b/sdk/go/google/monitoring/v3/uptimeCheckConfig.go index 1bf8eecfa3..97d50ba2f7 100644 --- a/sdk/go/google/monitoring/v3/uptimeCheckConfig.go +++ b/sdk/go/google/monitoring/v3/uptimeCheckConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Uptime check configuration. @@ -177,6 +178,12 @@ func (i *UptimeCheckConfig) ToUptimeCheckConfigOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(UptimeCheckConfigOutput) } +func (i *UptimeCheckConfig) ToOutput(ctx context.Context) pulumix.Output[*UptimeCheckConfig] { + return pulumix.Output[*UptimeCheckConfig]{ + OutputState: i.ToUptimeCheckConfigOutputWithContext(ctx).OutputState, + } +} + type UptimeCheckConfigOutput struct{ *pulumi.OutputState } func (UptimeCheckConfigOutput) ElementType() reflect.Type { @@ -191,6 +198,12 @@ func (o UptimeCheckConfigOutput) ToUptimeCheckConfigOutputWithContext(ctx contex return o } +func (o UptimeCheckConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*UptimeCheckConfig] { + return pulumix.Output[*UptimeCheckConfig]{ + OutputState: o.OutputState, + } +} + // The type of checkers to use to execute the Uptime check. func (o UptimeCheckConfigOutput) CheckerType() pulumi.StringOutput { return o.ApplyT(func(v *UptimeCheckConfig) pulumi.StringOutput { return v.CheckerType }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getHub.go b/sdk/go/google/networkconnectivity/v1/getHub.go index a85948c9c9..fc8fb01ba9 100644 --- a/sdk/go/google/networkconnectivity/v1/getHub.go +++ b/sdk/go/google/networkconnectivity/v1/getHub.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details about a Network Connectivity Center hub. @@ -82,6 +83,12 @@ func (o LookupHubResultOutput) ToLookupHubResultOutputWithContext(ctx context.Co return o } +func (o LookupHubResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHubResult] { + return pulumix.Output[LookupHubResult]{ + OutputState: o.OutputState, + } +} + // The time the hub was created. func (o LookupHubResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupHubResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getHubIamPolicy.go b/sdk/go/google/networkconnectivity/v1/getHubIamPolicy.go index 94957ddead..30a7ee3089 100644 --- a/sdk/go/google/networkconnectivity/v1/getHubIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/getHubIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupHubIamPolicyResultOutput) ToLookupHubIamPolicyResultOutputWithCont return o } +func (o LookupHubIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHubIamPolicyResult] { + return pulumix.Output[LookupHubIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupHubIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupHubIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getInternalRange.go b/sdk/go/google/networkconnectivity/v1/getInternalRange.go index 18bbc54950..d9d7e86e9c 100644 --- a/sdk/go/google/networkconnectivity/v1/getInternalRange.go +++ b/sdk/go/google/networkconnectivity/v1/getInternalRange.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single internal range. @@ -94,6 +95,12 @@ func (o LookupInternalRangeResultOutput) ToLookupInternalRangeResultOutputWithCo return o } +func (o LookupInternalRangeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInternalRangeResult] { + return pulumix.Output[LookupInternalRangeResult]{ + OutputState: o.OutputState, + } +} + // Time when the internal range was created. func (o LookupInternalRangeResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupInternalRangeResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getPolicyBasedRouteIamPolicy.go b/sdk/go/google/networkconnectivity/v1/getPolicyBasedRouteIamPolicy.go index f7bca808fc..f0168cd646 100644 --- a/sdk/go/google/networkconnectivity/v1/getPolicyBasedRouteIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/getPolicyBasedRouteIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupPolicyBasedRouteIamPolicyResultOutput) ToLookupPolicyBasedRouteIam return o } +func (o LookupPolicyBasedRouteIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPolicyBasedRouteIamPolicyResult] { + return pulumix.Output[LookupPolicyBasedRouteIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupPolicyBasedRouteIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupPolicyBasedRouteIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getServiceClass.go b/sdk/go/google/networkconnectivity/v1/getServiceClass.go index 35aa39e875..e608261943 100644 --- a/sdk/go/google/networkconnectivity/v1/getServiceClass.go +++ b/sdk/go/google/networkconnectivity/v1/getServiceClass.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ServiceClass. @@ -82,6 +83,12 @@ func (o LookupServiceClassResultOutput) ToLookupServiceClassResultOutputWithCont return o } +func (o LookupServiceClassResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceClassResult] { + return pulumix.Output[LookupServiceClassResult]{ + OutputState: o.OutputState, + } +} + // Time when the ServiceClass was created. func (o LookupServiceClassResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceClassResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getServiceClassIamPolicy.go b/sdk/go/google/networkconnectivity/v1/getServiceClassIamPolicy.go index 122b0b3271..fb6f67cd7b 100644 --- a/sdk/go/google/networkconnectivity/v1/getServiceClassIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/getServiceClassIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupServiceClassIamPolicyResultOutput) ToLookupServiceClassIamPolicyRe return o } +func (o LookupServiceClassIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceClassIamPolicyResult] { + return pulumix.Output[LookupServiceClassIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceClassIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceClassIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getServiceConnectionMap.go b/sdk/go/google/networkconnectivity/v1/getServiceConnectionMap.go index cdf3624663..6a0943a184 100644 --- a/sdk/go/google/networkconnectivity/v1/getServiceConnectionMap.go +++ b/sdk/go/google/networkconnectivity/v1/getServiceConnectionMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ServiceConnectionMap. @@ -92,6 +93,12 @@ func (o LookupServiceConnectionMapResultOutput) ToLookupServiceConnectionMapResu return o } +func (o LookupServiceConnectionMapResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceConnectionMapResult] { + return pulumix.Output[LookupServiceConnectionMapResult]{ + OutputState: o.OutputState, + } +} + // The PSC configurations on consumer side. func (o LookupServiceConnectionMapResultOutput) ConsumerPscConfigs() ConsumerPscConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceConnectionMapResult) []ConsumerPscConfigResponse { return v.ConsumerPscConfigs }).(ConsumerPscConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getServiceConnectionMapIamPolicy.go b/sdk/go/google/networkconnectivity/v1/getServiceConnectionMapIamPolicy.go index 3654fcabce..d7b39c7a0a 100644 --- a/sdk/go/google/networkconnectivity/v1/getServiceConnectionMapIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/getServiceConnectionMapIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupServiceConnectionMapIamPolicyResultOutput) ToLookupServiceConnecti return o } +func (o LookupServiceConnectionMapIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceConnectionMapIamPolicyResult] { + return pulumix.Output[LookupServiceConnectionMapIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceConnectionMapIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceConnectionMapIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getServiceConnectionPolicy.go b/sdk/go/google/networkconnectivity/v1/getServiceConnectionPolicy.go index c9ac06b826..1716792037 100644 --- a/sdk/go/google/networkconnectivity/v1/getServiceConnectionPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/getServiceConnectionPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ServiceConnectionPolicy. @@ -88,6 +89,12 @@ func (o LookupServiceConnectionPolicyResultOutput) ToLookupServiceConnectionPoli return o } +func (o LookupServiceConnectionPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceConnectionPolicyResult] { + return pulumix.Output[LookupServiceConnectionPolicyResult]{ + OutputState: o.OutputState, + } +} + // Time when the ServiceConnectionMap was created. func (o LookupServiceConnectionPolicyResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceConnectionPolicyResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getServiceConnectionPolicyIamPolicy.go b/sdk/go/google/networkconnectivity/v1/getServiceConnectionPolicyIamPolicy.go index 2cad594cd8..3dd333e854 100644 --- a/sdk/go/google/networkconnectivity/v1/getServiceConnectionPolicyIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/getServiceConnectionPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupServiceConnectionPolicyIamPolicyResultOutput) ToLookupServiceConne return o } +func (o LookupServiceConnectionPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceConnectionPolicyIamPolicyResult] { + return pulumix.Output[LookupServiceConnectionPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceConnectionPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceConnectionPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getServiceConnectionToken.go b/sdk/go/google/networkconnectivity/v1/getServiceConnectionToken.go index 8a27eebafe..c298782d57 100644 --- a/sdk/go/google/networkconnectivity/v1/getServiceConnectionToken.go +++ b/sdk/go/google/networkconnectivity/v1/getServiceConnectionToken.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ServiceConnectionToken. @@ -84,6 +85,12 @@ func (o LookupServiceConnectionTokenResultOutput) ToLookupServiceConnectionToken return o } +func (o LookupServiceConnectionTokenResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceConnectionTokenResult] { + return pulumix.Output[LookupServiceConnectionTokenResult]{ + OutputState: o.OutputState, + } +} + // Time when the ServiceConnectionToken was created. func (o LookupServiceConnectionTokenResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceConnectionTokenResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getSpoke.go b/sdk/go/google/networkconnectivity/v1/getSpoke.go index 73dfb71245..a8662be17c 100644 --- a/sdk/go/google/networkconnectivity/v1/getSpoke.go +++ b/sdk/go/google/networkconnectivity/v1/getSpoke.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details about a Network Connectivity Center spoke. @@ -90,6 +91,12 @@ func (o LookupSpokeResultOutput) ToLookupSpokeResultOutputWithContext(ctx contex return o } +func (o LookupSpokeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSpokeResult] { + return pulumix.Output[LookupSpokeResult]{ + OutputState: o.OutputState, + } +} + // The time the spoke was created. func (o LookupSpokeResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupSpokeResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/getSpokeIamPolicy.go b/sdk/go/google/networkconnectivity/v1/getSpokeIamPolicy.go index 9fa1e1d5ee..0b274f57b8 100644 --- a/sdk/go/google/networkconnectivity/v1/getSpokeIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/getSpokeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupSpokeIamPolicyResultOutput) ToLookupSpokeIamPolicyResultOutputWith return o } +func (o LookupSpokeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSpokeIamPolicyResult] { + return pulumix.Output[LookupSpokeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupSpokeIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupSpokeIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/hub.go b/sdk/go/google/networkconnectivity/v1/hub.go index c2dea73cb5..d3a4001a37 100644 --- a/sdk/go/google/networkconnectivity/v1/hub.go +++ b/sdk/go/google/networkconnectivity/v1/hub.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Network Connectivity Center hub in the specified project. @@ -143,6 +144,12 @@ func (i *Hub) ToHubOutputWithContext(ctx context.Context) HubOutput { return pulumi.ToOutputWithContext(ctx, i).(HubOutput) } +func (i *Hub) ToOutput(ctx context.Context) pulumix.Output[*Hub] { + return pulumix.Output[*Hub]{ + OutputState: i.ToHubOutputWithContext(ctx).OutputState, + } +} + type HubOutput struct{ *pulumi.OutputState } func (HubOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o HubOutput) ToHubOutputWithContext(ctx context.Context) HubOutput { return o } +func (o HubOutput) ToOutput(ctx context.Context) pulumix.Output[*Hub] { + return pulumix.Output[*Hub]{ + OutputState: o.OutputState, + } +} + // The time the hub was created. func (o HubOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Hub) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/hubIamBinding.go b/sdk/go/google/networkconnectivity/v1/hubIamBinding.go index 4a8098e52c..fb6589d341 100644 --- a/sdk/go/google/networkconnectivity/v1/hubIamBinding.go +++ b/sdk/go/google/networkconnectivity/v1/hubIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *HubIamBinding) ToHubIamBindingOutputWithContext(ctx context.Context) Hu return pulumi.ToOutputWithContext(ctx, i).(HubIamBindingOutput) } +func (i *HubIamBinding) ToOutput(ctx context.Context) pulumix.Output[*HubIamBinding] { + return pulumix.Output[*HubIamBinding]{ + OutputState: i.ToHubIamBindingOutputWithContext(ctx).OutputState, + } +} + type HubIamBindingOutput struct{ *pulumi.OutputState } func (HubIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o HubIamBindingOutput) ToHubIamBindingOutputWithContext(ctx context.Contex return o } +func (o HubIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*HubIamBinding] { + return pulumix.Output[*HubIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o HubIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *HubIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/hubIamMember.go b/sdk/go/google/networkconnectivity/v1/hubIamMember.go index ade02bae74..be599ee3af 100644 --- a/sdk/go/google/networkconnectivity/v1/hubIamMember.go +++ b/sdk/go/google/networkconnectivity/v1/hubIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *HubIamMember) ToHubIamMemberOutputWithContext(ctx context.Context) HubI return pulumi.ToOutputWithContext(ctx, i).(HubIamMemberOutput) } +func (i *HubIamMember) ToOutput(ctx context.Context) pulumix.Output[*HubIamMember] { + return pulumix.Output[*HubIamMember]{ + OutputState: i.ToHubIamMemberOutputWithContext(ctx).OutputState, + } +} + type HubIamMemberOutput struct{ *pulumi.OutputState } func (HubIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o HubIamMemberOutput) ToHubIamMemberOutputWithContext(ctx context.Context) return o } +func (o HubIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*HubIamMember] { + return pulumix.Output[*HubIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o HubIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *HubIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/hubIamPolicy.go b/sdk/go/google/networkconnectivity/v1/hubIamPolicy.go index 30bf00f89e..add43a6622 100644 --- a/sdk/go/google/networkconnectivity/v1/hubIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/hubIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -131,6 +132,12 @@ func (i *HubIamPolicy) ToHubIamPolicyOutputWithContext(ctx context.Context) HubI return pulumi.ToOutputWithContext(ctx, i).(HubIamPolicyOutput) } +func (i *HubIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*HubIamPolicy] { + return pulumix.Output[*HubIamPolicy]{ + OutputState: i.ToHubIamPolicyOutputWithContext(ctx).OutputState, + } +} + type HubIamPolicyOutput struct{ *pulumi.OutputState } func (HubIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o HubIamPolicyOutput) ToHubIamPolicyOutputWithContext(ctx context.Context) return o } +func (o HubIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*HubIamPolicy] { + return pulumix.Output[*HubIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o HubIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *HubIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/internalRange.go b/sdk/go/google/networkconnectivity/v1/internalRange.go index 4bf2a9e521..f63234fdfa 100644 --- a/sdk/go/google/networkconnectivity/v1/internalRange.go +++ b/sdk/go/google/networkconnectivity/v1/internalRange.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new internal range in a given project and location. @@ -183,6 +184,12 @@ func (i *InternalRange) ToInternalRangeOutputWithContext(ctx context.Context) In return pulumi.ToOutputWithContext(ctx, i).(InternalRangeOutput) } +func (i *InternalRange) ToOutput(ctx context.Context) pulumix.Output[*InternalRange] { + return pulumix.Output[*InternalRange]{ + OutputState: i.ToInternalRangeOutputWithContext(ctx).OutputState, + } +} + type InternalRangeOutput struct{ *pulumi.OutputState } func (InternalRangeOutput) ElementType() reflect.Type { @@ -197,6 +204,12 @@ func (o InternalRangeOutput) ToInternalRangeOutputWithContext(ctx context.Contex return o } +func (o InternalRangeOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRange] { + return pulumix.Output[*InternalRange]{ + OutputState: o.OutputState, + } +} + // Time when the internal range was created. func (o InternalRangeOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *InternalRange) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamBinding.go b/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamBinding.go index 1a0cfabc89..47e0cf4a2d 100644 --- a/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamBinding.go +++ b/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PolicyBasedRouteIamBinding) ToPolicyBasedRouteIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(PolicyBasedRouteIamBindingOutput) } +func (i *PolicyBasedRouteIamBinding) ToOutput(ctx context.Context) pulumix.Output[*PolicyBasedRouteIamBinding] { + return pulumix.Output[*PolicyBasedRouteIamBinding]{ + OutputState: i.ToPolicyBasedRouteIamBindingOutputWithContext(ctx).OutputState, + } +} + type PolicyBasedRouteIamBindingOutput struct{ *pulumi.OutputState } func (PolicyBasedRouteIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PolicyBasedRouteIamBindingOutput) ToPolicyBasedRouteIamBindingOutputWith return o } +func (o PolicyBasedRouteIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyBasedRouteIamBinding] { + return pulumix.Output[*PolicyBasedRouteIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PolicyBasedRouteIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PolicyBasedRouteIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamMember.go b/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamMember.go index 88978c0b0f..a96f236a40 100644 --- a/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamMember.go +++ b/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *PolicyBasedRouteIamMember) ToPolicyBasedRouteIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PolicyBasedRouteIamMemberOutput) } +func (i *PolicyBasedRouteIamMember) ToOutput(ctx context.Context) pulumix.Output[*PolicyBasedRouteIamMember] { + return pulumix.Output[*PolicyBasedRouteIamMember]{ + OutputState: i.ToPolicyBasedRouteIamMemberOutputWithContext(ctx).OutputState, + } +} + type PolicyBasedRouteIamMemberOutput struct{ *pulumi.OutputState } func (PolicyBasedRouteIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o PolicyBasedRouteIamMemberOutput) ToPolicyBasedRouteIamMemberOutputWithCo return o } +func (o PolicyBasedRouteIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyBasedRouteIamMember] { + return pulumix.Output[*PolicyBasedRouteIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o PolicyBasedRouteIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *PolicyBasedRouteIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamPolicy.go b/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamPolicy.go index f65ad4a56f..798cb63110 100644 --- a/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/policyBasedRouteIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -131,6 +132,12 @@ func (i *PolicyBasedRouteIamPolicy) ToPolicyBasedRouteIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PolicyBasedRouteIamPolicyOutput) } +func (i *PolicyBasedRouteIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*PolicyBasedRouteIamPolicy] { + return pulumix.Output[*PolicyBasedRouteIamPolicy]{ + OutputState: i.ToPolicyBasedRouteIamPolicyOutputWithContext(ctx).OutputState, + } +} + type PolicyBasedRouteIamPolicyOutput struct{ *pulumi.OutputState } func (PolicyBasedRouteIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o PolicyBasedRouteIamPolicyOutput) ToPolicyBasedRouteIamPolicyOutputWithCo return o } +func (o PolicyBasedRouteIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*PolicyBasedRouteIamPolicy] { + return pulumix.Output[*PolicyBasedRouteIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o PolicyBasedRouteIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *PolicyBasedRouteIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/pulumiEnums.go b/sdk/go/google/networkconnectivity/v1/pulumiEnums.go index 45dadc4240..a511413c62 100644 --- a/sdk/go/google/networkconnectivity/v1/pulumiEnums.go +++ b/sdk/go/google/networkconnectivity/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + type InternalRangeOverlapsItem string const ( @@ -250,6 +269,12 @@ func (o InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemPtrOutputWit }).(InternalRangeOverlapsItemPtrOutput) } +func (o InternalRangeOverlapsItemOutput) ToOutput(ctx context.Context) pulumix.Output[InternalRangeOverlapsItem] { + return pulumix.Output[InternalRangeOverlapsItem]{ + OutputState: o.OutputState, + } +} + func (o InternalRangeOverlapsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -285,6 +310,12 @@ func (o InternalRangeOverlapsItemPtrOutput) ToInternalRangeOverlapsItemPtrOutput return o } +func (o InternalRangeOverlapsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeOverlapsItem] { + return pulumix.Output[*InternalRangeOverlapsItem]{ + OutputState: o.OutputState, + } +} + func (o InternalRangeOverlapsItemPtrOutput) Elem() InternalRangeOverlapsItemOutput { return o.ApplyT(func(v *InternalRangeOverlapsItem) InternalRangeOverlapsItem { if v != nil { @@ -347,6 +378,12 @@ func (in *internalRangeOverlapsItemPtr) ToInternalRangeOverlapsItemPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(InternalRangeOverlapsItemPtrOutput) } +func (in *internalRangeOverlapsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeOverlapsItem] { + return pulumix.Output[*InternalRangeOverlapsItem]{ + OutputState: in.ToInternalRangeOverlapsItemPtrOutputWithContext(ctx).OutputState, + } +} + // InternalRangeOverlapsItemArrayInput is an input type that accepts InternalRangeOverlapsItemArray and InternalRangeOverlapsItemArrayOutput values. // You can construct a concrete instance of `InternalRangeOverlapsItemArrayInput` via: // @@ -372,6 +409,12 @@ func (i InternalRangeOverlapsItemArray) ToInternalRangeOverlapsItemArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(InternalRangeOverlapsItemArrayOutput) } +func (i InternalRangeOverlapsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]InternalRangeOverlapsItem] { + return pulumix.Output[[]InternalRangeOverlapsItem]{ + OutputState: i.ToInternalRangeOverlapsItemArrayOutputWithContext(ctx).OutputState, + } +} + type InternalRangeOverlapsItemArrayOutput struct{ *pulumi.OutputState } func (InternalRangeOverlapsItemArrayOutput) ElementType() reflect.Type { @@ -386,6 +429,12 @@ func (o InternalRangeOverlapsItemArrayOutput) ToInternalRangeOverlapsItemArrayOu return o } +func (o InternalRangeOverlapsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InternalRangeOverlapsItem] { + return pulumix.Output[[]InternalRangeOverlapsItem]{ + OutputState: o.OutputState, + } +} + func (o InternalRangeOverlapsItemArrayOutput) Index(i pulumi.IntInput) InternalRangeOverlapsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternalRangeOverlapsItem { return vs[0].([]InternalRangeOverlapsItem)[vs[1].(int)] @@ -466,6 +515,12 @@ func (o InternalRangePeeringOutput) ToInternalRangePeeringPtrOutputWithContext(c }).(InternalRangePeeringPtrOutput) } +func (o InternalRangePeeringOutput) ToOutput(ctx context.Context) pulumix.Output[InternalRangePeering] { + return pulumix.Output[InternalRangePeering]{ + OutputState: o.OutputState, + } +} + func (o InternalRangePeeringOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -501,6 +556,12 @@ func (o InternalRangePeeringPtrOutput) ToInternalRangePeeringPtrOutputWithContex return o } +func (o InternalRangePeeringPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRangePeering] { + return pulumix.Output[*InternalRangePeering]{ + OutputState: o.OutputState, + } +} + func (o InternalRangePeeringPtrOutput) Elem() InternalRangePeeringOutput { return o.ApplyT(func(v *InternalRangePeering) InternalRangePeering { if v != nil { @@ -563,6 +624,12 @@ func (in *internalRangePeeringPtr) ToInternalRangePeeringPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InternalRangePeeringPtrOutput) } +func (in *internalRangePeeringPtr) ToOutput(ctx context.Context) pulumix.Output[*InternalRangePeering] { + return pulumix.Output[*InternalRangePeering]{ + OutputState: in.ToInternalRangePeeringPtrOutputWithContext(ctx).OutputState, + } +} + // The type of usage set for this InternalRange. type InternalRangeUsage string @@ -635,6 +702,12 @@ func (o InternalRangeUsageOutput) ToInternalRangeUsagePtrOutputWithContext(ctx c }).(InternalRangeUsagePtrOutput) } +func (o InternalRangeUsageOutput) ToOutput(ctx context.Context) pulumix.Output[InternalRangeUsage] { + return pulumix.Output[InternalRangeUsage]{ + OutputState: o.OutputState, + } +} + func (o InternalRangeUsageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -670,6 +743,12 @@ func (o InternalRangeUsagePtrOutput) ToInternalRangeUsagePtrOutputWithContext(ct return o } +func (o InternalRangeUsagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeUsage] { + return pulumix.Output[*InternalRangeUsage]{ + OutputState: o.OutputState, + } +} + func (o InternalRangeUsagePtrOutput) Elem() InternalRangeUsageOutput { return o.ApplyT(func(v *InternalRangeUsage) InternalRangeUsage { if v != nil { @@ -732,6 +811,12 @@ func (in *internalRangeUsagePtr) ToInternalRangeUsagePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(InternalRangeUsagePtrOutput) } +func (in *internalRangeUsagePtr) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeUsage] { + return pulumix.Output[*InternalRangeUsage]{ + OutputState: in.ToInternalRangeUsagePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/networkconnectivity/v1/pulumiTypes.go b/sdk/go/google/networkconnectivity/v1/pulumiTypes.go index f28aede493..089d241d56 100644 --- a/sdk/go/google/networkconnectivity/v1/pulumiTypes.go +++ b/sdk/go/google/networkconnectivity/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -558,6 +667,12 @@ func (i ConsumerPscConfigArgs) ToConsumerPscConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ConsumerPscConfigOutput) } +func (i ConsumerPscConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ConsumerPscConfig] { + return pulumix.Output[ConsumerPscConfig]{ + OutputState: i.ToConsumerPscConfigOutputWithContext(ctx).OutputState, + } +} + // ConsumerPscConfigArrayInput is an input type that accepts ConsumerPscConfigArray and ConsumerPscConfigArrayOutput values. // You can construct a concrete instance of `ConsumerPscConfigArrayInput` via: // @@ -583,6 +698,12 @@ func (i ConsumerPscConfigArray) ToConsumerPscConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ConsumerPscConfigArrayOutput) } +func (i ConsumerPscConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]ConsumerPscConfig] { + return pulumix.Output[[]ConsumerPscConfig]{ + OutputState: i.ToConsumerPscConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Allow the producer to specify which consumers can connect to it. type ConsumerPscConfigOutput struct{ *pulumi.OutputState } @@ -598,6 +719,12 @@ func (o ConsumerPscConfigOutput) ToConsumerPscConfigOutputWithContext(ctx contex return o } +func (o ConsumerPscConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ConsumerPscConfig] { + return pulumix.Output[ConsumerPscConfig]{ + OutputState: o.OutputState, + } +} + // This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region. func (o ConsumerPscConfigOutput) DisableGlobalAccess() pulumi.BoolPtrOutput { return o.ApplyT(func(v ConsumerPscConfig) *bool { return v.DisableGlobalAccess }).(pulumi.BoolPtrOutput) @@ -627,6 +754,12 @@ func (o ConsumerPscConfigArrayOutput) ToConsumerPscConfigArrayOutputWithContext( return o } +func (o ConsumerPscConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConsumerPscConfig] { + return pulumix.Output[[]ConsumerPscConfig]{ + OutputState: o.OutputState, + } +} + func (o ConsumerPscConfigArrayOutput) Index(i pulumi.IntInput) ConsumerPscConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConsumerPscConfig { return vs[0].([]ConsumerPscConfig)[vs[1].(int)] @@ -658,6 +791,12 @@ func (o ConsumerPscConfigResponseOutput) ToConsumerPscConfigResponseOutputWithCo return o } +func (o ConsumerPscConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsumerPscConfigResponse] { + return pulumix.Output[ConsumerPscConfigResponse]{ + OutputState: o.OutputState, + } +} + // This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region. func (o ConsumerPscConfigResponseOutput) DisableGlobalAccess() pulumi.BoolOutput { return o.ApplyT(func(v ConsumerPscConfigResponse) bool { return v.DisableGlobalAccess }).(pulumi.BoolOutput) @@ -687,6 +826,12 @@ func (o ConsumerPscConfigResponseArrayOutput) ToConsumerPscConfigResponseArrayOu return o } +func (o ConsumerPscConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConsumerPscConfigResponse] { + return pulumix.Output[[]ConsumerPscConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ConsumerPscConfigResponseArrayOutput) Index(i pulumi.IntInput) ConsumerPscConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConsumerPscConfigResponse { return vs[0].([]ConsumerPscConfigResponse)[vs[1].(int)] @@ -732,6 +877,12 @@ func (o ConsumerPscConnectionResponseOutput) ToConsumerPscConnectionResponseOutp return o } +func (o ConsumerPscConnectionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConsumerPscConnectionResponse] { + return pulumix.Output[ConsumerPscConnectionResponse]{ + OutputState: o.OutputState, + } +} + // The most recent error during operating this connection. func (o ConsumerPscConnectionResponseOutput) Error() GoogleRpcStatusResponseOutput { return o.ApplyT(func(v ConsumerPscConnectionResponse) GoogleRpcStatusResponse { return v.Error }).(GoogleRpcStatusResponseOutput) @@ -796,6 +947,12 @@ func (o ConsumerPscConnectionResponseArrayOutput) ToConsumerPscConnectionRespons return o } +func (o ConsumerPscConnectionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ConsumerPscConnectionResponse] { + return pulumix.Output[[]ConsumerPscConnectionResponse]{ + OutputState: o.OutputState, + } +} + func (o ConsumerPscConnectionResponseArrayOutput) Index(i pulumi.IntInput) ConsumerPscConnectionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ConsumerPscConnectionResponse { return vs[0].([]ConsumerPscConnectionResponse)[vs[1].(int)] @@ -849,6 +1006,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -890,6 +1053,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -915,6 +1084,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -949,6 +1124,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1026,6 +1207,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1071,6 +1258,12 @@ func (o GoogleRpcStatusResponseOutput) ToGoogleRpcStatusResponseOutputWithContex return o } +func (o GoogleRpcStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleRpcStatusResponse] { + return pulumix.Output[GoogleRpcStatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o GoogleRpcStatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v GoogleRpcStatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -1125,6 +1318,12 @@ func (i LinkedInterconnectAttachmentsArgs) ToLinkedInterconnectAttachmentsOutput return pulumi.ToOutputWithContext(ctx, i).(LinkedInterconnectAttachmentsOutput) } +func (i LinkedInterconnectAttachmentsArgs) ToOutput(ctx context.Context) pulumix.Output[LinkedInterconnectAttachments] { + return pulumix.Output[LinkedInterconnectAttachments]{ + OutputState: i.ToLinkedInterconnectAttachmentsOutputWithContext(ctx).OutputState, + } +} + func (i LinkedInterconnectAttachmentsArgs) ToLinkedInterconnectAttachmentsPtrOutput() LinkedInterconnectAttachmentsPtrOutput { return i.ToLinkedInterconnectAttachmentsPtrOutputWithContext(context.Background()) } @@ -1166,6 +1365,12 @@ func (i *linkedInterconnectAttachmentsPtrType) ToLinkedInterconnectAttachmentsPt return pulumi.ToOutputWithContext(ctx, i).(LinkedInterconnectAttachmentsPtrOutput) } +func (i *linkedInterconnectAttachmentsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LinkedInterconnectAttachments] { + return pulumix.Output[*LinkedInterconnectAttachments]{ + OutputState: i.ToLinkedInterconnectAttachmentsPtrOutputWithContext(ctx).OutputState, + } +} + // A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. type LinkedInterconnectAttachmentsOutput struct{ *pulumi.OutputState } @@ -1191,6 +1396,12 @@ func (o LinkedInterconnectAttachmentsOutput) ToLinkedInterconnectAttachmentsPtrO }).(LinkedInterconnectAttachmentsPtrOutput) } +func (o LinkedInterconnectAttachmentsOutput) ToOutput(ctx context.Context) pulumix.Output[LinkedInterconnectAttachments] { + return pulumix.Output[LinkedInterconnectAttachments]{ + OutputState: o.OutputState, + } +} + // A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). func (o LinkedInterconnectAttachmentsOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput { return o.ApplyT(func(v LinkedInterconnectAttachments) *bool { return v.SiteToSiteDataTransfer }).(pulumi.BoolPtrOutput) @@ -1215,6 +1426,12 @@ func (o LinkedInterconnectAttachmentsPtrOutput) ToLinkedInterconnectAttachmentsP return o } +func (o LinkedInterconnectAttachmentsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LinkedInterconnectAttachments] { + return pulumix.Output[*LinkedInterconnectAttachments]{ + OutputState: o.OutputState, + } +} + func (o LinkedInterconnectAttachmentsPtrOutput) Elem() LinkedInterconnectAttachmentsOutput { return o.ApplyT(func(v *LinkedInterconnectAttachments) LinkedInterconnectAttachments { if v != nil { @@ -1270,6 +1487,12 @@ func (o LinkedInterconnectAttachmentsResponseOutput) ToLinkedInterconnectAttachm return o } +func (o LinkedInterconnectAttachmentsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LinkedInterconnectAttachmentsResponse] { + return pulumix.Output[LinkedInterconnectAttachmentsResponse]{ + OutputState: o.OutputState, + } +} + // A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). func (o LinkedInterconnectAttachmentsResponseOutput) SiteToSiteDataTransfer() pulumi.BoolOutput { return o.ApplyT(func(v LinkedInterconnectAttachmentsResponse) bool { return v.SiteToSiteDataTransfer }).(pulumi.BoolOutput) @@ -1324,6 +1547,12 @@ func (i LinkedRouterApplianceInstancesArgs) ToLinkedRouterApplianceInstancesOutp return pulumi.ToOutputWithContext(ctx, i).(LinkedRouterApplianceInstancesOutput) } +func (i LinkedRouterApplianceInstancesArgs) ToOutput(ctx context.Context) pulumix.Output[LinkedRouterApplianceInstances] { + return pulumix.Output[LinkedRouterApplianceInstances]{ + OutputState: i.ToLinkedRouterApplianceInstancesOutputWithContext(ctx).OutputState, + } +} + func (i LinkedRouterApplianceInstancesArgs) ToLinkedRouterApplianceInstancesPtrOutput() LinkedRouterApplianceInstancesPtrOutput { return i.ToLinkedRouterApplianceInstancesPtrOutputWithContext(context.Background()) } @@ -1365,6 +1594,12 @@ func (i *linkedRouterApplianceInstancesPtrType) ToLinkedRouterApplianceInstances return pulumi.ToOutputWithContext(ctx, i).(LinkedRouterApplianceInstancesPtrOutput) } +func (i *linkedRouterApplianceInstancesPtrType) ToOutput(ctx context.Context) pulumix.Output[*LinkedRouterApplianceInstances] { + return pulumix.Output[*LinkedRouterApplianceInstances]{ + OutputState: i.ToLinkedRouterApplianceInstancesPtrOutputWithContext(ctx).OutputState, + } +} + // A collection of router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke. type LinkedRouterApplianceInstancesOutput struct{ *pulumi.OutputState } @@ -1390,6 +1625,12 @@ func (o LinkedRouterApplianceInstancesOutput) ToLinkedRouterApplianceInstancesPt }).(LinkedRouterApplianceInstancesPtrOutput) } +func (o LinkedRouterApplianceInstancesOutput) ToOutput(ctx context.Context) pulumix.Output[LinkedRouterApplianceInstances] { + return pulumix.Output[LinkedRouterApplianceInstances]{ + OutputState: o.OutputState, + } +} + // The list of router appliance instances. func (o LinkedRouterApplianceInstancesOutput) Instances() RouterApplianceInstanceArrayOutput { return o.ApplyT(func(v LinkedRouterApplianceInstances) []RouterApplianceInstance { return v.Instances }).(RouterApplianceInstanceArrayOutput) @@ -1414,6 +1655,12 @@ func (o LinkedRouterApplianceInstancesPtrOutput) ToLinkedRouterApplianceInstance return o } +func (o LinkedRouterApplianceInstancesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LinkedRouterApplianceInstances] { + return pulumix.Output[*LinkedRouterApplianceInstances]{ + OutputState: o.OutputState, + } +} + func (o LinkedRouterApplianceInstancesPtrOutput) Elem() LinkedRouterApplianceInstancesOutput { return o.ApplyT(func(v *LinkedRouterApplianceInstances) LinkedRouterApplianceInstances { if v != nil { @@ -1469,6 +1716,12 @@ func (o LinkedRouterApplianceInstancesResponseOutput) ToLinkedRouterApplianceIns return o } +func (o LinkedRouterApplianceInstancesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LinkedRouterApplianceInstancesResponse] { + return pulumix.Output[LinkedRouterApplianceInstancesResponse]{ + OutputState: o.OutputState, + } +} + // The list of router appliance instances. func (o LinkedRouterApplianceInstancesResponseOutput) Instances() RouterApplianceInstanceResponseArrayOutput { return o.ApplyT(func(v LinkedRouterApplianceInstancesResponse) []RouterApplianceInstanceResponse { return v.Instances }).(RouterApplianceInstanceResponseArrayOutput) @@ -1523,6 +1776,12 @@ func (i LinkedVpnTunnelsArgs) ToLinkedVpnTunnelsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(LinkedVpnTunnelsOutput) } +func (i LinkedVpnTunnelsArgs) ToOutput(ctx context.Context) pulumix.Output[LinkedVpnTunnels] { + return pulumix.Output[LinkedVpnTunnels]{ + OutputState: i.ToLinkedVpnTunnelsOutputWithContext(ctx).OutputState, + } +} + func (i LinkedVpnTunnelsArgs) ToLinkedVpnTunnelsPtrOutput() LinkedVpnTunnelsPtrOutput { return i.ToLinkedVpnTunnelsPtrOutputWithContext(context.Background()) } @@ -1564,6 +1823,12 @@ func (i *linkedVpnTunnelsPtrType) ToLinkedVpnTunnelsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(LinkedVpnTunnelsPtrOutput) } +func (i *linkedVpnTunnelsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LinkedVpnTunnels] { + return pulumix.Output[*LinkedVpnTunnels]{ + OutputState: i.ToLinkedVpnTunnelsPtrOutputWithContext(ctx).OutputState, + } +} + // A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes. type LinkedVpnTunnelsOutput struct{ *pulumi.OutputState } @@ -1589,6 +1854,12 @@ func (o LinkedVpnTunnelsOutput) ToLinkedVpnTunnelsPtrOutputWithContext(ctx conte }).(LinkedVpnTunnelsPtrOutput) } +func (o LinkedVpnTunnelsOutput) ToOutput(ctx context.Context) pulumix.Output[LinkedVpnTunnels] { + return pulumix.Output[LinkedVpnTunnels]{ + OutputState: o.OutputState, + } +} + // A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). func (o LinkedVpnTunnelsOutput) SiteToSiteDataTransfer() pulumi.BoolPtrOutput { return o.ApplyT(func(v LinkedVpnTunnels) *bool { return v.SiteToSiteDataTransfer }).(pulumi.BoolPtrOutput) @@ -1613,6 +1884,12 @@ func (o LinkedVpnTunnelsPtrOutput) ToLinkedVpnTunnelsPtrOutputWithContext(ctx co return o } +func (o LinkedVpnTunnelsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LinkedVpnTunnels] { + return pulumix.Output[*LinkedVpnTunnels]{ + OutputState: o.OutputState, + } +} + func (o LinkedVpnTunnelsPtrOutput) Elem() LinkedVpnTunnelsOutput { return o.ApplyT(func(v *LinkedVpnTunnels) LinkedVpnTunnels { if v != nil { @@ -1668,6 +1945,12 @@ func (o LinkedVpnTunnelsResponseOutput) ToLinkedVpnTunnelsResponseOutputWithCont return o } +func (o LinkedVpnTunnelsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LinkedVpnTunnelsResponse] { + return pulumix.Output[LinkedVpnTunnelsResponse]{ + OutputState: o.OutputState, + } +} + // A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). func (o LinkedVpnTunnelsResponseOutput) SiteToSiteDataTransfer() pulumi.BoolOutput { return o.ApplyT(func(v LinkedVpnTunnelsResponse) bool { return v.SiteToSiteDataTransfer }).(pulumi.BoolOutput) @@ -1718,6 +2001,12 @@ func (i ProducerPscConfigArgs) ToProducerPscConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ProducerPscConfigOutput) } +func (i ProducerPscConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ProducerPscConfig] { + return pulumix.Output[ProducerPscConfig]{ + OutputState: i.ToProducerPscConfigOutputWithContext(ctx).OutputState, + } +} + // ProducerPscConfigArrayInput is an input type that accepts ProducerPscConfigArray and ProducerPscConfigArrayOutput values. // You can construct a concrete instance of `ProducerPscConfigArrayInput` via: // @@ -1743,6 +2032,12 @@ func (i ProducerPscConfigArray) ToProducerPscConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ProducerPscConfigArrayOutput) } +func (i ProducerPscConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]ProducerPscConfig] { + return pulumix.Output[[]ProducerPscConfig]{ + OutputState: i.ToProducerPscConfigArrayOutputWithContext(ctx).OutputState, + } +} + // The PSC configurations on producer side. type ProducerPscConfigOutput struct{ *pulumi.OutputState } @@ -1758,6 +2053,12 @@ func (o ProducerPscConfigOutput) ToProducerPscConfigOutputWithContext(ctx contex return o } +func (o ProducerPscConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ProducerPscConfig] { + return pulumix.Output[ProducerPscConfig]{ + OutputState: o.OutputState, + } +} + // The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}. func (o ProducerPscConfigOutput) ServiceAttachmentUri() pulumi.StringPtrOutput { return o.ApplyT(func(v ProducerPscConfig) *string { return v.ServiceAttachmentUri }).(pulumi.StringPtrOutput) @@ -1777,6 +2078,12 @@ func (o ProducerPscConfigArrayOutput) ToProducerPscConfigArrayOutputWithContext( return o } +func (o ProducerPscConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ProducerPscConfig] { + return pulumix.Output[[]ProducerPscConfig]{ + OutputState: o.OutputState, + } +} + func (o ProducerPscConfigArrayOutput) Index(i pulumi.IntInput) ProducerPscConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProducerPscConfig { return vs[0].([]ProducerPscConfig)[vs[1].(int)] @@ -1804,6 +2111,12 @@ func (o ProducerPscConfigResponseOutput) ToProducerPscConfigResponseOutputWithCo return o } +func (o ProducerPscConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProducerPscConfigResponse] { + return pulumix.Output[ProducerPscConfigResponse]{ + OutputState: o.OutputState, + } +} + // The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}. func (o ProducerPscConfigResponseOutput) ServiceAttachmentUri() pulumi.StringOutput { return o.ApplyT(func(v ProducerPscConfigResponse) string { return v.ServiceAttachmentUri }).(pulumi.StringOutput) @@ -1823,6 +2136,12 @@ func (o ProducerPscConfigResponseArrayOutput) ToProducerPscConfigResponseArrayOu return o } +func (o ProducerPscConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ProducerPscConfigResponse] { + return pulumix.Output[[]ProducerPscConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o ProducerPscConfigResponseArrayOutput) Index(i pulumi.IntInput) ProducerPscConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProducerPscConfigResponse { return vs[0].([]ProducerPscConfigResponse)[vs[1].(int)] @@ -1868,6 +2187,12 @@ func (i PscConfigArgs) ToPscConfigOutputWithContext(ctx context.Context) PscConf return pulumi.ToOutputWithContext(ctx, i).(PscConfigOutput) } +func (i PscConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PscConfig] { + return pulumix.Output[PscConfig]{ + OutputState: i.ToPscConfigOutputWithContext(ctx).OutputState, + } +} + func (i PscConfigArgs) ToPscConfigPtrOutput() PscConfigPtrOutput { return i.ToPscConfigPtrOutputWithContext(context.Background()) } @@ -1909,6 +2234,12 @@ func (i *pscConfigPtrType) ToPscConfigPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PscConfigPtrOutput) } +func (i *pscConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PscConfig] { + return pulumix.Output[*PscConfig]{ + OutputState: i.ToPscConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. type PscConfigOutput struct{ *pulumi.OutputState } @@ -1934,6 +2265,12 @@ func (o PscConfigOutput) ToPscConfigPtrOutputWithContext(ctx context.Context) Ps }).(PscConfigPtrOutput) } +func (o PscConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PscConfig] { + return pulumix.Output[PscConfig]{ + OutputState: o.OutputState, + } +} + // Max number of PSC connections for this policy. func (o PscConfigOutput) Limit() pulumi.StringPtrOutput { return o.ApplyT(func(v PscConfig) *string { return v.Limit }).(pulumi.StringPtrOutput) @@ -1958,6 +2295,12 @@ func (o PscConfigPtrOutput) ToPscConfigPtrOutputWithContext(ctx context.Context) return o } +func (o PscConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PscConfig] { + return pulumix.Output[*PscConfig]{ + OutputState: o.OutputState, + } +} + func (o PscConfigPtrOutput) Elem() PscConfigOutput { return o.ApplyT(func(v *PscConfig) PscConfig { if v != nil { @@ -2011,6 +2354,12 @@ func (o PscConfigResponseOutput) ToPscConfigResponseOutputWithContext(ctx contex return o } +func (o PscConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PscConfigResponse] { + return pulumix.Output[PscConfigResponse]{ + OutputState: o.OutputState, + } +} + // Max number of PSC connections for this policy. func (o PscConfigResponseOutput) Limit() pulumi.StringOutput { return o.ApplyT(func(v PscConfigResponse) string { return v.Limit }).(pulumi.StringOutput) @@ -2056,6 +2405,12 @@ func (o PscConnectionResponseOutput) ToPscConnectionResponseOutputWithContext(ct return o } +func (o PscConnectionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PscConnectionResponse] { + return pulumix.Output[PscConnectionResponse]{ + OutputState: o.OutputState, + } +} + // The resource reference of the consumer address. func (o PscConnectionResponseOutput) ConsumerAddress() pulumi.StringOutput { return o.ApplyT(func(v PscConnectionResponse) string { return v.ConsumerAddress }).(pulumi.StringOutput) @@ -2110,6 +2465,12 @@ func (o PscConnectionResponseArrayOutput) ToPscConnectionResponseArrayOutputWith return o } +func (o PscConnectionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PscConnectionResponse] { + return pulumix.Output[[]PscConnectionResponse]{ + OutputState: o.OutputState, + } +} + func (o PscConnectionResponseArrayOutput) Index(i pulumi.IntInput) PscConnectionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PscConnectionResponse { return vs[0].([]PscConnectionResponse)[vs[1].(int)] @@ -2155,6 +2516,12 @@ func (i RouterApplianceInstanceArgs) ToRouterApplianceInstanceOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(RouterApplianceInstanceOutput) } +func (i RouterApplianceInstanceArgs) ToOutput(ctx context.Context) pulumix.Output[RouterApplianceInstance] { + return pulumix.Output[RouterApplianceInstance]{ + OutputState: i.ToRouterApplianceInstanceOutputWithContext(ctx).OutputState, + } +} + // RouterApplianceInstanceArrayInput is an input type that accepts RouterApplianceInstanceArray and RouterApplianceInstanceArrayOutput values. // You can construct a concrete instance of `RouterApplianceInstanceArrayInput` via: // @@ -2180,6 +2547,12 @@ func (i RouterApplianceInstanceArray) ToRouterApplianceInstanceArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(RouterApplianceInstanceArrayOutput) } +func (i RouterApplianceInstanceArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterApplianceInstance] { + return pulumix.Output[[]RouterApplianceInstance]{ + OutputState: i.ToRouterApplianceInstanceArrayOutputWithContext(ctx).OutputState, + } +} + // A router appliance instance is a Compute Engine virtual machine (VM) instance that acts as a BGP speaker. A router appliance instance is specified by the URI of the VM and the internal IP address of one of the VM's network interfaces. type RouterApplianceInstanceOutput struct{ *pulumi.OutputState } @@ -2195,6 +2568,12 @@ func (o RouterApplianceInstanceOutput) ToRouterApplianceInstanceOutputWithContex return o } +func (o RouterApplianceInstanceOutput) ToOutput(ctx context.Context) pulumix.Output[RouterApplianceInstance] { + return pulumix.Output[RouterApplianceInstance]{ + OutputState: o.OutputState, + } +} + // The IP address on the VM to use for peering. func (o RouterApplianceInstanceOutput) IpAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterApplianceInstance) *string { return v.IpAddress }).(pulumi.StringPtrOutput) @@ -2219,6 +2598,12 @@ func (o RouterApplianceInstanceArrayOutput) ToRouterApplianceInstanceArrayOutput return o } +func (o RouterApplianceInstanceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterApplianceInstance] { + return pulumix.Output[[]RouterApplianceInstance]{ + OutputState: o.OutputState, + } +} + func (o RouterApplianceInstanceArrayOutput) Index(i pulumi.IntInput) RouterApplianceInstanceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterApplianceInstance { return vs[0].([]RouterApplianceInstance)[vs[1].(int)] @@ -2248,6 +2633,12 @@ func (o RouterApplianceInstanceResponseOutput) ToRouterApplianceInstanceResponse return o } +func (o RouterApplianceInstanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterApplianceInstanceResponse] { + return pulumix.Output[RouterApplianceInstanceResponse]{ + OutputState: o.OutputState, + } +} + // The IP address on the VM to use for peering. func (o RouterApplianceInstanceResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v RouterApplianceInstanceResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -2272,6 +2663,12 @@ func (o RouterApplianceInstanceResponseArrayOutput) ToRouterApplianceInstanceRes return o } +func (o RouterApplianceInstanceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterApplianceInstanceResponse] { + return pulumix.Output[[]RouterApplianceInstanceResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterApplianceInstanceResponseArrayOutput) Index(i pulumi.IntInput) RouterApplianceInstanceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterApplianceInstanceResponse { return vs[0].([]RouterApplianceInstanceResponse)[vs[1].(int)] @@ -2313,6 +2710,12 @@ func (i RoutingVPCArgs) ToRoutingVPCOutputWithContext(ctx context.Context) Routi return pulumi.ToOutputWithContext(ctx, i).(RoutingVPCOutput) } +func (i RoutingVPCArgs) ToOutput(ctx context.Context) pulumix.Output[RoutingVPC] { + return pulumix.Output[RoutingVPC]{ + OutputState: i.ToRoutingVPCOutputWithContext(ctx).OutputState, + } +} + // RoutingVPCArrayInput is an input type that accepts RoutingVPCArray and RoutingVPCArrayOutput values. // You can construct a concrete instance of `RoutingVPCArrayInput` via: // @@ -2338,6 +2741,12 @@ func (i RoutingVPCArray) ToRoutingVPCArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RoutingVPCArrayOutput) } +func (i RoutingVPCArray) ToOutput(ctx context.Context) pulumix.Output[[]RoutingVPC] { + return pulumix.Output[[]RoutingVPC]{ + OutputState: i.ToRoutingVPCArrayOutputWithContext(ctx).OutputState, + } +} + // RoutingVPC contains information about the VPC networks associated with the spokes of a Network Connectivity Center hub. type RoutingVPCOutput struct{ *pulumi.OutputState } @@ -2353,6 +2762,12 @@ func (o RoutingVPCOutput) ToRoutingVPCOutputWithContext(ctx context.Context) Rou return o } +func (o RoutingVPCOutput) ToOutput(ctx context.Context) pulumix.Output[RoutingVPC] { + return pulumix.Output[RoutingVPC]{ + OutputState: o.OutputState, + } +} + // The URI of the VPC network. func (o RoutingVPCOutput) Uri() pulumi.StringPtrOutput { return o.ApplyT(func(v RoutingVPC) *string { return v.Uri }).(pulumi.StringPtrOutput) @@ -2372,6 +2787,12 @@ func (o RoutingVPCArrayOutput) ToRoutingVPCArrayOutputWithContext(ctx context.Co return o } +func (o RoutingVPCArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoutingVPC] { + return pulumix.Output[[]RoutingVPC]{ + OutputState: o.OutputState, + } +} + func (o RoutingVPCArrayOutput) Index(i pulumi.IntInput) RoutingVPCOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingVPC { return vs[0].([]RoutingVPC)[vs[1].(int)] @@ -2401,6 +2822,12 @@ func (o RoutingVPCResponseOutput) ToRoutingVPCResponseOutputWithContext(ctx cont return o } +func (o RoutingVPCResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RoutingVPCResponse] { + return pulumix.Output[RoutingVPCResponse]{ + OutputState: o.OutputState, + } +} + // If true, indicates that this VPC network is currently associated with spokes that use the data transfer feature (spokes where the site_to_site_data_transfer field is set to true). If you create new spokes that use data transfer, they must be associated with this VPC network. At most, one VPC network will have this field set to true. func (o RoutingVPCResponseOutput) RequiredForNewSiteToSiteDataTransferSpokes() pulumi.BoolOutput { return o.ApplyT(func(v RoutingVPCResponse) bool { return v.RequiredForNewSiteToSiteDataTransferSpokes }).(pulumi.BoolOutput) @@ -2425,6 +2852,12 @@ func (o RoutingVPCResponseArrayOutput) ToRoutingVPCResponseArrayOutputWithContex return o } +func (o RoutingVPCResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoutingVPCResponse] { + return pulumix.Output[[]RoutingVPCResponse]{ + OutputState: o.OutputState, + } +} + func (o RoutingVPCResponseArrayOutput) Index(i pulumi.IntInput) RoutingVPCResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoutingVPCResponse { return vs[0].([]RoutingVPCResponse)[vs[1].(int)] diff --git a/sdk/go/google/networkconnectivity/v1/serviceClass.go b/sdk/go/google/networkconnectivity/v1/serviceClass.go index 3567bdd74b..c26e6d2984 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceClass.go +++ b/sdk/go/google/networkconnectivity/v1/serviceClass.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ServiceClass in a given project and location. @@ -135,6 +136,12 @@ func (i *ServiceClass) ToServiceClassOutputWithContext(ctx context.Context) Serv return pulumi.ToOutputWithContext(ctx, i).(ServiceClassOutput) } +func (i *ServiceClass) ToOutput(ctx context.Context) pulumix.Output[*ServiceClass] { + return pulumix.Output[*ServiceClass]{ + OutputState: i.ToServiceClassOutputWithContext(ctx).OutputState, + } +} + type ServiceClassOutput struct{ *pulumi.OutputState } func (ServiceClassOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceClassOutput) ToServiceClassOutputWithContext(ctx context.Context) return o } +func (o ServiceClassOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceClass] { + return pulumix.Output[*ServiceClass]{ + OutputState: o.OutputState, + } +} + // Time when the ServiceClass was created. func (o ServiceClassOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *ServiceClass) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceClassIamBinding.go b/sdk/go/google/networkconnectivity/v1/serviceClassIamBinding.go index 2ce400934e..6d69188d10 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceClassIamBinding.go +++ b/sdk/go/google/networkconnectivity/v1/serviceClassIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceClassIamBinding) ToServiceClassIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ServiceClassIamBindingOutput) } +func (i *ServiceClassIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceClassIamBinding] { + return pulumix.Output[*ServiceClassIamBinding]{ + OutputState: i.ToServiceClassIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceClassIamBindingOutput struct{ *pulumi.OutputState } func (ServiceClassIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceClassIamBindingOutput) ToServiceClassIamBindingOutputWithContext( return o } +func (o ServiceClassIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceClassIamBinding] { + return pulumix.Output[*ServiceClassIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceClassIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceClassIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceClassIamMember.go b/sdk/go/google/networkconnectivity/v1/serviceClassIamMember.go index b5145e8099..1ee0436b03 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceClassIamMember.go +++ b/sdk/go/google/networkconnectivity/v1/serviceClassIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceClassIamMember) ToServiceClassIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ServiceClassIamMemberOutput) } +func (i *ServiceClassIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceClassIamMember] { + return pulumix.Output[*ServiceClassIamMember]{ + OutputState: i.ToServiceClassIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceClassIamMemberOutput struct{ *pulumi.OutputState } func (ServiceClassIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceClassIamMemberOutput) ToServiceClassIamMemberOutputWithContext(ct return o } +func (o ServiceClassIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceClassIamMember] { + return pulumix.Output[*ServiceClassIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceClassIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceClassIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceClassIamPolicy.go b/sdk/go/google/networkconnectivity/v1/serviceClassIamPolicy.go index 5835c47b2e..8099463e00 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceClassIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/serviceClassIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceClassIamPolicy) ToServiceClassIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ServiceClassIamPolicyOutput) } +func (i *ServiceClassIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceClassIamPolicy] { + return pulumix.Output[*ServiceClassIamPolicy]{ + OutputState: i.ToServiceClassIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceClassIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceClassIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceClassIamPolicyOutput) ToServiceClassIamPolicyOutputWithContext(ct return o } +func (o ServiceClassIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceClassIamPolicy] { + return pulumix.Output[*ServiceClassIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceClassIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceClassIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceConnectionMap.go b/sdk/go/google/networkconnectivity/v1/serviceConnectionMap.go index ca4b4cb493..d6eac591f3 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceConnectionMap.go +++ b/sdk/go/google/networkconnectivity/v1/serviceConnectionMap.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ServiceConnectionMap in a given project and location. @@ -161,6 +162,12 @@ func (i *ServiceConnectionMap) ToServiceConnectionMapOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ServiceConnectionMapOutput) } +func (i *ServiceConnectionMap) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionMap] { + return pulumix.Output[*ServiceConnectionMap]{ + OutputState: i.ToServiceConnectionMapOutputWithContext(ctx).OutputState, + } +} + type ServiceConnectionMapOutput struct{ *pulumi.OutputState } func (ServiceConnectionMapOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o ServiceConnectionMapOutput) ToServiceConnectionMapOutputWithContext(ctx return o } +func (o ServiceConnectionMapOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionMap] { + return pulumix.Output[*ServiceConnectionMap]{ + OutputState: o.OutputState, + } +} + // The PSC configurations on consumer side. func (o ServiceConnectionMapOutput) ConsumerPscConfigs() ConsumerPscConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceConnectionMap) ConsumerPscConfigResponseArrayOutput { return v.ConsumerPscConfigs }).(ConsumerPscConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamBinding.go b/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamBinding.go index 204bf9c367..df63ec8125 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamBinding.go +++ b/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceConnectionMapIamBinding) ToServiceConnectionMapIamBindingOutputW return pulumi.ToOutputWithContext(ctx, i).(ServiceConnectionMapIamBindingOutput) } +func (i *ServiceConnectionMapIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionMapIamBinding] { + return pulumix.Output[*ServiceConnectionMapIamBinding]{ + OutputState: i.ToServiceConnectionMapIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceConnectionMapIamBindingOutput struct{ *pulumi.OutputState } func (ServiceConnectionMapIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceConnectionMapIamBindingOutput) ToServiceConnectionMapIamBindingOu return o } +func (o ServiceConnectionMapIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionMapIamBinding] { + return pulumix.Output[*ServiceConnectionMapIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceConnectionMapIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceConnectionMapIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamMember.go b/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamMember.go index 059e8b652d..77fe2047d2 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamMember.go +++ b/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceConnectionMapIamMember) ToServiceConnectionMapIamMemberOutputWit return pulumi.ToOutputWithContext(ctx, i).(ServiceConnectionMapIamMemberOutput) } +func (i *ServiceConnectionMapIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionMapIamMember] { + return pulumix.Output[*ServiceConnectionMapIamMember]{ + OutputState: i.ToServiceConnectionMapIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceConnectionMapIamMemberOutput struct{ *pulumi.OutputState } func (ServiceConnectionMapIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceConnectionMapIamMemberOutput) ToServiceConnectionMapIamMemberOutp return o } +func (o ServiceConnectionMapIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionMapIamMember] { + return pulumix.Output[*ServiceConnectionMapIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceConnectionMapIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceConnectionMapIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamPolicy.go b/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamPolicy.go index a50ff45e56..037ff4c2d9 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/serviceConnectionMapIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceConnectionMapIamPolicy) ToServiceConnectionMapIamPolicyOutputWit return pulumi.ToOutputWithContext(ctx, i).(ServiceConnectionMapIamPolicyOutput) } +func (i *ServiceConnectionMapIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionMapIamPolicy] { + return pulumix.Output[*ServiceConnectionMapIamPolicy]{ + OutputState: i.ToServiceConnectionMapIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceConnectionMapIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceConnectionMapIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceConnectionMapIamPolicyOutput) ToServiceConnectionMapIamPolicyOutp return o } +func (o ServiceConnectionMapIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionMapIamPolicy] { + return pulumix.Output[*ServiceConnectionMapIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceConnectionMapIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceConnectionMapIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicy.go b/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicy.go index 94f6c956a9..02181f5b86 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ServiceConnectionPolicy in a given project and location. @@ -153,6 +154,12 @@ func (i *ServiceConnectionPolicy) ToServiceConnectionPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceConnectionPolicyOutput) } +func (i *ServiceConnectionPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionPolicy] { + return pulumix.Output[*ServiceConnectionPolicy]{ + OutputState: i.ToServiceConnectionPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceConnectionPolicyOutput struct{ *pulumi.OutputState } func (ServiceConnectionPolicyOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o ServiceConnectionPolicyOutput) ToServiceConnectionPolicyOutputWithContex return o } +func (o ServiceConnectionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionPolicy] { + return pulumix.Output[*ServiceConnectionPolicy]{ + OutputState: o.OutputState, + } +} + // Time when the ServiceConnectionMap was created. func (o ServiceConnectionPolicyOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *ServiceConnectionPolicy) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamBinding.go b/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamBinding.go index 0ad6da0836..3f0fe43e6c 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamBinding.go +++ b/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceConnectionPolicyIamBinding) ToServiceConnectionPolicyIamBindingO return pulumi.ToOutputWithContext(ctx, i).(ServiceConnectionPolicyIamBindingOutput) } +func (i *ServiceConnectionPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionPolicyIamBinding] { + return pulumix.Output[*ServiceConnectionPolicyIamBinding]{ + OutputState: i.ToServiceConnectionPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceConnectionPolicyIamBindingOutput struct{ *pulumi.OutputState } func (ServiceConnectionPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceConnectionPolicyIamBindingOutput) ToServiceConnectionPolicyIamBin return o } +func (o ServiceConnectionPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionPolicyIamBinding] { + return pulumix.Output[*ServiceConnectionPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceConnectionPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceConnectionPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamMember.go b/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamMember.go index 46ad80b27a..03a228741d 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamMember.go +++ b/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceConnectionPolicyIamMember) ToServiceConnectionPolicyIamMemberOut return pulumi.ToOutputWithContext(ctx, i).(ServiceConnectionPolicyIamMemberOutput) } +func (i *ServiceConnectionPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionPolicyIamMember] { + return pulumix.Output[*ServiceConnectionPolicyIamMember]{ + OutputState: i.ToServiceConnectionPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceConnectionPolicyIamMemberOutput struct{ *pulumi.OutputState } func (ServiceConnectionPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceConnectionPolicyIamMemberOutput) ToServiceConnectionPolicyIamMemb return o } +func (o ServiceConnectionPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionPolicyIamMember] { + return pulumix.Output[*ServiceConnectionPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceConnectionPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceConnectionPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamPolicy.go b/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamPolicy.go index 1b4f72ca6a..27a07c35cc 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/serviceConnectionPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceConnectionPolicyIamPolicy) ToServiceConnectionPolicyIamPolicyOut return pulumi.ToOutputWithContext(ctx, i).(ServiceConnectionPolicyIamPolicyOutput) } +func (i *ServiceConnectionPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionPolicyIamPolicy] { + return pulumix.Output[*ServiceConnectionPolicyIamPolicy]{ + OutputState: i.ToServiceConnectionPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceConnectionPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceConnectionPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceConnectionPolicyIamPolicyOutput) ToServiceConnectionPolicyIamPoli return o } +func (o ServiceConnectionPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionPolicyIamPolicy] { + return pulumix.Output[*ServiceConnectionPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceConnectionPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceConnectionPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1/serviceConnectionToken.go b/sdk/go/google/networkconnectivity/v1/serviceConnectionToken.go index d57851ef19..544d8617c8 100644 --- a/sdk/go/google/networkconnectivity/v1/serviceConnectionToken.go +++ b/sdk/go/google/networkconnectivity/v1/serviceConnectionToken.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ServiceConnectionToken in a given project and location. @@ -141,6 +142,12 @@ func (i *ServiceConnectionToken) ToServiceConnectionTokenOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ServiceConnectionTokenOutput) } +func (i *ServiceConnectionToken) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionToken] { + return pulumix.Output[*ServiceConnectionToken]{ + OutputState: i.ToServiceConnectionTokenOutputWithContext(ctx).OutputState, + } +} + type ServiceConnectionTokenOutput struct{ *pulumi.OutputState } func (ServiceConnectionTokenOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o ServiceConnectionTokenOutput) ToServiceConnectionTokenOutputWithContext( return o } +func (o ServiceConnectionTokenOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConnectionToken] { + return pulumix.Output[*ServiceConnectionToken]{ + OutputState: o.OutputState, + } +} + // Time when the ServiceConnectionToken was created. func (o ServiceConnectionTokenOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *ServiceConnectionToken) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/spoke.go b/sdk/go/google/networkconnectivity/v1/spoke.go index 0067ac1bb3..654c5f02e8 100644 --- a/sdk/go/google/networkconnectivity/v1/spoke.go +++ b/sdk/go/google/networkconnectivity/v1/spoke.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Network Connectivity Center spoke. @@ -164,6 +165,12 @@ func (i *Spoke) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput { return pulumi.ToOutputWithContext(ctx, i).(SpokeOutput) } +func (i *Spoke) ToOutput(ctx context.Context) pulumix.Output[*Spoke] { + return pulumix.Output[*Spoke]{ + OutputState: i.ToSpokeOutputWithContext(ctx).OutputState, + } +} + type SpokeOutput struct{ *pulumi.OutputState } func (SpokeOutput) ElementType() reflect.Type { @@ -178,6 +185,12 @@ func (o SpokeOutput) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput { return o } +func (o SpokeOutput) ToOutput(ctx context.Context) pulumix.Output[*Spoke] { + return pulumix.Output[*Spoke]{ + OutputState: o.OutputState, + } +} + // The time the spoke was created. func (o SpokeOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Spoke) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1/spokeIamBinding.go b/sdk/go/google/networkconnectivity/v1/spokeIamBinding.go index e39be06fa6..0cd1259f36 100644 --- a/sdk/go/google/networkconnectivity/v1/spokeIamBinding.go +++ b/sdk/go/google/networkconnectivity/v1/spokeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SpokeIamBinding) ToSpokeIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SpokeIamBindingOutput) } +func (i *SpokeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamBinding] { + return pulumix.Output[*SpokeIamBinding]{ + OutputState: i.ToSpokeIamBindingOutputWithContext(ctx).OutputState, + } +} + type SpokeIamBindingOutput struct{ *pulumi.OutputState } func (SpokeIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SpokeIamBindingOutput) ToSpokeIamBindingOutputWithContext(ctx context.Co return o } +func (o SpokeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamBinding] { + return pulumix.Output[*SpokeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SpokeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SpokeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/spokeIamMember.go b/sdk/go/google/networkconnectivity/v1/spokeIamMember.go index 3dd2b7e8bd..925a9a7f28 100644 --- a/sdk/go/google/networkconnectivity/v1/spokeIamMember.go +++ b/sdk/go/google/networkconnectivity/v1/spokeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SpokeIamMember) ToSpokeIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SpokeIamMemberOutput) } +func (i *SpokeIamMember) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamMember] { + return pulumix.Output[*SpokeIamMember]{ + OutputState: i.ToSpokeIamMemberOutputWithContext(ctx).OutputState, + } +} + type SpokeIamMemberOutput struct{ *pulumi.OutputState } func (SpokeIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SpokeIamMemberOutput) ToSpokeIamMemberOutputWithContext(ctx context.Cont return o } +func (o SpokeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamMember] { + return pulumix.Output[*SpokeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SpokeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SpokeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1/spokeIamPolicy.go b/sdk/go/google/networkconnectivity/v1/spokeIamPolicy.go index 3dd6cd2514..fb34f8e578 100644 --- a/sdk/go/google/networkconnectivity/v1/spokeIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1/spokeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SpokeIamPolicy) ToSpokeIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SpokeIamPolicyOutput) } +func (i *SpokeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamPolicy] { + return pulumix.Output[*SpokeIamPolicy]{ + OutputState: i.ToSpokeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SpokeIamPolicyOutput struct{ *pulumi.OutputState } func (SpokeIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SpokeIamPolicyOutput) ToSpokeIamPolicyOutputWithContext(ctx context.Cont return o } +func (o SpokeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamPolicy] { + return pulumix.Output[*SpokeIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o SpokeIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *SpokeIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/getHub.go b/sdk/go/google/networkconnectivity/v1alpha1/getHub.go index a41617ed4f..12ecba1b5b 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/getHub.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/getHub.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details about a Network Connectivity Center hub. @@ -84,6 +85,12 @@ func (o LookupHubResultOutput) ToLookupHubResultOutputWithContext(ctx context.Co return o } +func (o LookupHubResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHubResult] { + return pulumix.Output[LookupHubResult]{ + OutputState: o.OutputState, + } +} + // Time when the Hub was created. func (o LookupHubResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupHubResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/getHubIamPolicy.go b/sdk/go/google/networkconnectivity/v1alpha1/getHubIamPolicy.go index 98e79e9376..322e20caf7 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/getHubIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/getHubIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupHubIamPolicyResultOutput) ToLookupHubIamPolicyResultOutputWithCont return o } +func (o LookupHubIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHubIamPolicyResult] { + return pulumix.Output[LookupHubIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupHubIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupHubIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/getInternalRange.go b/sdk/go/google/networkconnectivity/v1alpha1/getInternalRange.go index 0fcbcb6bad..cc02bc8a07 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/getInternalRange.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/getInternalRange.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single internal range. @@ -94,6 +95,12 @@ func (o LookupInternalRangeResultOutput) ToLookupInternalRangeResultOutputWithCo return o } +func (o LookupInternalRangeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInternalRangeResult] { + return pulumix.Output[LookupInternalRangeResult]{ + OutputState: o.OutputState, + } +} + // Time when the internal range was created. func (o LookupInternalRangeResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupInternalRangeResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/getInternalRangeIamPolicy.go b/sdk/go/google/networkconnectivity/v1alpha1/getInternalRangeIamPolicy.go index 359286335e..4711360d23 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/getInternalRangeIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/getInternalRangeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupInternalRangeIamPolicyResultOutput) ToLookupInternalRangeIamPolicy return o } +func (o LookupInternalRangeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInternalRangeIamPolicyResult] { + return pulumix.Output[LookupInternalRangeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupInternalRangeIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupInternalRangeIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/getSpoke.go b/sdk/go/google/networkconnectivity/v1alpha1/getSpoke.go index 9836019579..28be91c470 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/getSpoke.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/getSpoke.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details about a Network Connectivity Center spoke. @@ -90,6 +91,12 @@ func (o LookupSpokeResultOutput) ToLookupSpokeResultOutputWithContext(ctx contex return o } +func (o LookupSpokeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSpokeResult] { + return pulumix.Output[LookupSpokeResult]{ + OutputState: o.OutputState, + } +} + // The time when the Spoke was created. func (o LookupSpokeResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupSpokeResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/getSpokeIamPolicy.go b/sdk/go/google/networkconnectivity/v1alpha1/getSpokeIamPolicy.go index 02874f4e83..10ec9e3832 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/getSpokeIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/getSpokeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupSpokeIamPolicyResultOutput) ToLookupSpokeIamPolicyResultOutputWith return o } +func (o LookupSpokeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSpokeIamPolicyResult] { + return pulumix.Output[LookupSpokeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupSpokeIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupSpokeIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/hub.go b/sdk/go/google/networkconnectivity/v1alpha1/hub.go index 2afd1ab8eb..b33d4fea53 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/hub.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/hub.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Network Connectivity Center hub in the specified project. @@ -143,6 +144,12 @@ func (i *Hub) ToHubOutputWithContext(ctx context.Context) HubOutput { return pulumi.ToOutputWithContext(ctx, i).(HubOutput) } +func (i *Hub) ToOutput(ctx context.Context) pulumix.Output[*Hub] { + return pulumix.Output[*Hub]{ + OutputState: i.ToHubOutputWithContext(ctx).OutputState, + } +} + type HubOutput struct{ *pulumi.OutputState } func (HubOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o HubOutput) ToHubOutputWithContext(ctx context.Context) HubOutput { return o } +func (o HubOutput) ToOutput(ctx context.Context) pulumix.Output[*Hub] { + return pulumix.Output[*Hub]{ + OutputState: o.OutputState, + } +} + // Time when the Hub was created. func (o HubOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Hub) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/hubIamBinding.go b/sdk/go/google/networkconnectivity/v1alpha1/hubIamBinding.go index 9308b090da..a313b8ad15 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/hubIamBinding.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/hubIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *HubIamBinding) ToHubIamBindingOutputWithContext(ctx context.Context) Hu return pulumi.ToOutputWithContext(ctx, i).(HubIamBindingOutput) } +func (i *HubIamBinding) ToOutput(ctx context.Context) pulumix.Output[*HubIamBinding] { + return pulumix.Output[*HubIamBinding]{ + OutputState: i.ToHubIamBindingOutputWithContext(ctx).OutputState, + } +} + type HubIamBindingOutput struct{ *pulumi.OutputState } func (HubIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o HubIamBindingOutput) ToHubIamBindingOutputWithContext(ctx context.Contex return o } +func (o HubIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*HubIamBinding] { + return pulumix.Output[*HubIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o HubIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *HubIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/hubIamMember.go b/sdk/go/google/networkconnectivity/v1alpha1/hubIamMember.go index e5d313522c..ef528d76f6 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/hubIamMember.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/hubIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *HubIamMember) ToHubIamMemberOutputWithContext(ctx context.Context) HubI return pulumi.ToOutputWithContext(ctx, i).(HubIamMemberOutput) } +func (i *HubIamMember) ToOutput(ctx context.Context) pulumix.Output[*HubIamMember] { + return pulumix.Output[*HubIamMember]{ + OutputState: i.ToHubIamMemberOutputWithContext(ctx).OutputState, + } +} + type HubIamMemberOutput struct{ *pulumi.OutputState } func (HubIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o HubIamMemberOutput) ToHubIamMemberOutputWithContext(ctx context.Context) return o } +func (o HubIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*HubIamMember] { + return pulumix.Output[*HubIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o HubIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *HubIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/hubIamPolicy.go b/sdk/go/google/networkconnectivity/v1alpha1/hubIamPolicy.go index 9eae3df4fc..dc7fa5c219 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/hubIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/hubIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -131,6 +132,12 @@ func (i *HubIamPolicy) ToHubIamPolicyOutputWithContext(ctx context.Context) HubI return pulumi.ToOutputWithContext(ctx, i).(HubIamPolicyOutput) } +func (i *HubIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*HubIamPolicy] { + return pulumix.Output[*HubIamPolicy]{ + OutputState: i.ToHubIamPolicyOutputWithContext(ctx).OutputState, + } +} + type HubIamPolicyOutput struct{ *pulumi.OutputState } func (HubIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o HubIamPolicyOutput) ToHubIamPolicyOutputWithContext(ctx context.Context) return o } +func (o HubIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*HubIamPolicy] { + return pulumix.Output[*HubIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o HubIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *HubIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/internalRange.go b/sdk/go/google/networkconnectivity/v1alpha1/internalRange.go index 4432fae035..ea06cde550 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/internalRange.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/internalRange.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new internal range in a given project and location. @@ -183,6 +184,12 @@ func (i *InternalRange) ToInternalRangeOutputWithContext(ctx context.Context) In return pulumi.ToOutputWithContext(ctx, i).(InternalRangeOutput) } +func (i *InternalRange) ToOutput(ctx context.Context) pulumix.Output[*InternalRange] { + return pulumix.Output[*InternalRange]{ + OutputState: i.ToInternalRangeOutputWithContext(ctx).OutputState, + } +} + type InternalRangeOutput struct{ *pulumi.OutputState } func (InternalRangeOutput) ElementType() reflect.Type { @@ -197,6 +204,12 @@ func (o InternalRangeOutput) ToInternalRangeOutputWithContext(ctx context.Contex return o } +func (o InternalRangeOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRange] { + return pulumix.Output[*InternalRange]{ + OutputState: o.OutputState, + } +} + // Time when the internal range was created. func (o InternalRangeOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *InternalRange) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamBinding.go b/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamBinding.go index 7896ecea05..3774d19e1b 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamBinding.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InternalRangeIamBinding) ToInternalRangeIamBindingOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InternalRangeIamBindingOutput) } +func (i *InternalRangeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeIamBinding] { + return pulumix.Output[*InternalRangeIamBinding]{ + OutputState: i.ToInternalRangeIamBindingOutputWithContext(ctx).OutputState, + } +} + type InternalRangeIamBindingOutput struct{ *pulumi.OutputState } func (InternalRangeIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InternalRangeIamBindingOutput) ToInternalRangeIamBindingOutputWithContex return o } +func (o InternalRangeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeIamBinding] { + return pulumix.Output[*InternalRangeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InternalRangeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InternalRangeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamMember.go b/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamMember.go index 2e1d3cb64a..98ea47ea4a 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamMember.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InternalRangeIamMember) ToInternalRangeIamMemberOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InternalRangeIamMemberOutput) } +func (i *InternalRangeIamMember) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeIamMember] { + return pulumix.Output[*InternalRangeIamMember]{ + OutputState: i.ToInternalRangeIamMemberOutputWithContext(ctx).OutputState, + } +} + type InternalRangeIamMemberOutput struct{ *pulumi.OutputState } func (InternalRangeIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InternalRangeIamMemberOutput) ToInternalRangeIamMemberOutputWithContext( return o } +func (o InternalRangeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeIamMember] { + return pulumix.Output[*InternalRangeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InternalRangeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InternalRangeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamPolicy.go b/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamPolicy.go index ca4ff432d4..a14bcbaabd 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/internalRangeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InternalRangeIamPolicy) ToInternalRangeIamPolicyOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InternalRangeIamPolicyOutput) } +func (i *InternalRangeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeIamPolicy] { + return pulumix.Output[*InternalRangeIamPolicy]{ + OutputState: i.ToInternalRangeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InternalRangeIamPolicyOutput struct{ *pulumi.OutputState } func (InternalRangeIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InternalRangeIamPolicyOutput) ToInternalRangeIamPolicyOutputWithContext( return o } +func (o InternalRangeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeIamPolicy] { + return pulumix.Output[*InternalRangeIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o InternalRangeIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *InternalRangeIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/pulumiEnums.go b/sdk/go/google/networkconnectivity/v1alpha1/pulumiEnums.go index db34f1f7c2..aaead4fbce 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/pulumiEnums.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + type InternalRangeOverlapsItem string const ( @@ -250,6 +269,12 @@ func (o InternalRangeOverlapsItemOutput) ToInternalRangeOverlapsItemPtrOutputWit }).(InternalRangeOverlapsItemPtrOutput) } +func (o InternalRangeOverlapsItemOutput) ToOutput(ctx context.Context) pulumix.Output[InternalRangeOverlapsItem] { + return pulumix.Output[InternalRangeOverlapsItem]{ + OutputState: o.OutputState, + } +} + func (o InternalRangeOverlapsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -285,6 +310,12 @@ func (o InternalRangeOverlapsItemPtrOutput) ToInternalRangeOverlapsItemPtrOutput return o } +func (o InternalRangeOverlapsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeOverlapsItem] { + return pulumix.Output[*InternalRangeOverlapsItem]{ + OutputState: o.OutputState, + } +} + func (o InternalRangeOverlapsItemPtrOutput) Elem() InternalRangeOverlapsItemOutput { return o.ApplyT(func(v *InternalRangeOverlapsItem) InternalRangeOverlapsItem { if v != nil { @@ -347,6 +378,12 @@ func (in *internalRangeOverlapsItemPtr) ToInternalRangeOverlapsItemPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(InternalRangeOverlapsItemPtrOutput) } +func (in *internalRangeOverlapsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeOverlapsItem] { + return pulumix.Output[*InternalRangeOverlapsItem]{ + OutputState: in.ToInternalRangeOverlapsItemPtrOutputWithContext(ctx).OutputState, + } +} + // InternalRangeOverlapsItemArrayInput is an input type that accepts InternalRangeOverlapsItemArray and InternalRangeOverlapsItemArrayOutput values. // You can construct a concrete instance of `InternalRangeOverlapsItemArrayInput` via: // @@ -372,6 +409,12 @@ func (i InternalRangeOverlapsItemArray) ToInternalRangeOverlapsItemArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(InternalRangeOverlapsItemArrayOutput) } +func (i InternalRangeOverlapsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]InternalRangeOverlapsItem] { + return pulumix.Output[[]InternalRangeOverlapsItem]{ + OutputState: i.ToInternalRangeOverlapsItemArrayOutputWithContext(ctx).OutputState, + } +} + type InternalRangeOverlapsItemArrayOutput struct{ *pulumi.OutputState } func (InternalRangeOverlapsItemArrayOutput) ElementType() reflect.Type { @@ -386,6 +429,12 @@ func (o InternalRangeOverlapsItemArrayOutput) ToInternalRangeOverlapsItemArrayOu return o } +func (o InternalRangeOverlapsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InternalRangeOverlapsItem] { + return pulumix.Output[[]InternalRangeOverlapsItem]{ + OutputState: o.OutputState, + } +} + func (o InternalRangeOverlapsItemArrayOutput) Index(i pulumi.IntInput) InternalRangeOverlapsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternalRangeOverlapsItem { return vs[0].([]InternalRangeOverlapsItem)[vs[1].(int)] @@ -466,6 +515,12 @@ func (o InternalRangePeeringOutput) ToInternalRangePeeringPtrOutputWithContext(c }).(InternalRangePeeringPtrOutput) } +func (o InternalRangePeeringOutput) ToOutput(ctx context.Context) pulumix.Output[InternalRangePeering] { + return pulumix.Output[InternalRangePeering]{ + OutputState: o.OutputState, + } +} + func (o InternalRangePeeringOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -501,6 +556,12 @@ func (o InternalRangePeeringPtrOutput) ToInternalRangePeeringPtrOutputWithContex return o } +func (o InternalRangePeeringPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRangePeering] { + return pulumix.Output[*InternalRangePeering]{ + OutputState: o.OutputState, + } +} + func (o InternalRangePeeringPtrOutput) Elem() InternalRangePeeringOutput { return o.ApplyT(func(v *InternalRangePeering) InternalRangePeering { if v != nil { @@ -563,6 +624,12 @@ func (in *internalRangePeeringPtr) ToInternalRangePeeringPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InternalRangePeeringPtrOutput) } +func (in *internalRangePeeringPtr) ToOutput(ctx context.Context) pulumix.Output[*InternalRangePeering] { + return pulumix.Output[*InternalRangePeering]{ + OutputState: in.ToInternalRangePeeringPtrOutputWithContext(ctx).OutputState, + } +} + // The type of usage set for this internal range. type InternalRangeUsage string @@ -635,6 +702,12 @@ func (o InternalRangeUsageOutput) ToInternalRangeUsagePtrOutputWithContext(ctx c }).(InternalRangeUsagePtrOutput) } +func (o InternalRangeUsageOutput) ToOutput(ctx context.Context) pulumix.Output[InternalRangeUsage] { + return pulumix.Output[InternalRangeUsage]{ + OutputState: o.OutputState, + } +} + func (o InternalRangeUsageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -670,6 +743,12 @@ func (o InternalRangeUsagePtrOutput) ToInternalRangeUsagePtrOutputWithContext(ct return o } +func (o InternalRangeUsagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeUsage] { + return pulumix.Output[*InternalRangeUsage]{ + OutputState: o.OutputState, + } +} + func (o InternalRangeUsagePtrOutput) Elem() InternalRangeUsageOutput { return o.ApplyT(func(v *InternalRangeUsage) InternalRangeUsage { if v != nil { @@ -732,6 +811,12 @@ func (in *internalRangeUsagePtr) ToInternalRangeUsagePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(InternalRangeUsagePtrOutput) } +func (in *internalRangeUsagePtr) ToOutput(ctx context.Context) pulumix.Output[*InternalRangeUsage] { + return pulumix.Output[*InternalRangeUsage]{ + OutputState: in.ToInternalRangeUsagePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/pulumiTypes.go b/sdk/go/google/networkconnectivity/v1alpha1/pulumiTypes.go index f20ce17e8f..195f3b3370 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/pulumiTypes.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -800,6 +939,12 @@ func (i RouterApplianceInstanceArgs) ToRouterApplianceInstanceOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(RouterApplianceInstanceOutput) } +func (i RouterApplianceInstanceArgs) ToOutput(ctx context.Context) pulumix.Output[RouterApplianceInstance] { + return pulumix.Output[RouterApplianceInstance]{ + OutputState: i.ToRouterApplianceInstanceOutputWithContext(ctx).OutputState, + } +} + // RouterApplianceInstanceArrayInput is an input type that accepts RouterApplianceInstanceArray and RouterApplianceInstanceArrayOutput values. // You can construct a concrete instance of `RouterApplianceInstanceArrayInput` via: // @@ -825,6 +970,12 @@ func (i RouterApplianceInstanceArray) ToRouterApplianceInstanceArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(RouterApplianceInstanceArrayOutput) } +func (i RouterApplianceInstanceArray) ToOutput(ctx context.Context) pulumix.Output[[]RouterApplianceInstance] { + return pulumix.Output[[]RouterApplianceInstance]{ + OutputState: i.ToRouterApplianceInstanceArrayOutputWithContext(ctx).OutputState, + } +} + // RouterAppliance represents a Router appliance which is specified by a VM URI and a NIC address. type RouterApplianceInstanceOutput struct{ *pulumi.OutputState } @@ -840,6 +991,12 @@ func (o RouterApplianceInstanceOutput) ToRouterApplianceInstanceOutputWithContex return o } +func (o RouterApplianceInstanceOutput) ToOutput(ctx context.Context) pulumix.Output[RouterApplianceInstance] { + return pulumix.Output[RouterApplianceInstance]{ + OutputState: o.OutputState, + } +} + // The IP address of the network interface to use for peering. func (o RouterApplianceInstanceOutput) IpAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v RouterApplianceInstance) *string { return v.IpAddress }).(pulumi.StringPtrOutput) @@ -868,6 +1025,12 @@ func (o RouterApplianceInstanceArrayOutput) ToRouterApplianceInstanceArrayOutput return o } +func (o RouterApplianceInstanceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterApplianceInstance] { + return pulumix.Output[[]RouterApplianceInstance]{ + OutputState: o.OutputState, + } +} + func (o RouterApplianceInstanceArrayOutput) Index(i pulumi.IntInput) RouterApplianceInstanceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterApplianceInstance { return vs[0].([]RouterApplianceInstance)[vs[1].(int)] @@ -898,6 +1061,12 @@ func (o RouterApplianceInstanceResponseOutput) ToRouterApplianceInstanceResponse return o } +func (o RouterApplianceInstanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouterApplianceInstanceResponse] { + return pulumix.Output[RouterApplianceInstanceResponse]{ + OutputState: o.OutputState, + } +} + // The IP address of the network interface to use for peering. func (o RouterApplianceInstanceResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v RouterApplianceInstanceResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -926,6 +1095,12 @@ func (o RouterApplianceInstanceResponseArrayOutput) ToRouterApplianceInstanceRes return o } +func (o RouterApplianceInstanceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RouterApplianceInstanceResponse] { + return pulumix.Output[[]RouterApplianceInstanceResponse]{ + OutputState: o.OutputState, + } +} + func (o RouterApplianceInstanceResponseArrayOutput) Index(i pulumi.IntInput) RouterApplianceInstanceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouterApplianceInstanceResponse { return vs[0].([]RouterApplianceInstanceResponse)[vs[1].(int)] diff --git a/sdk/go/google/networkconnectivity/v1alpha1/spoke.go b/sdk/go/google/networkconnectivity/v1alpha1/spoke.go index 860b6f5cc3..f2e798239d 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/spoke.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/spoke.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Network Connectivity Center spoke. @@ -167,6 +168,12 @@ func (i *Spoke) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput { return pulumi.ToOutputWithContext(ctx, i).(SpokeOutput) } +func (i *Spoke) ToOutput(ctx context.Context) pulumix.Output[*Spoke] { + return pulumix.Output[*Spoke]{ + OutputState: i.ToSpokeOutputWithContext(ctx).OutputState, + } +} + type SpokeOutput struct{ *pulumi.OutputState } func (SpokeOutput) ElementType() reflect.Type { @@ -181,6 +188,12 @@ func (o SpokeOutput) ToSpokeOutputWithContext(ctx context.Context) SpokeOutput { return o } +func (o SpokeOutput) ToOutput(ctx context.Context) pulumix.Output[*Spoke] { + return pulumix.Output[*Spoke]{ + OutputState: o.OutputState, + } +} + // The time when the Spoke was created. func (o SpokeOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Spoke) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/spokeIamBinding.go b/sdk/go/google/networkconnectivity/v1alpha1/spokeIamBinding.go index f5859d42b1..9ebc3ea16e 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/spokeIamBinding.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/spokeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SpokeIamBinding) ToSpokeIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SpokeIamBindingOutput) } +func (i *SpokeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamBinding] { + return pulumix.Output[*SpokeIamBinding]{ + OutputState: i.ToSpokeIamBindingOutputWithContext(ctx).OutputState, + } +} + type SpokeIamBindingOutput struct{ *pulumi.OutputState } func (SpokeIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SpokeIamBindingOutput) ToSpokeIamBindingOutputWithContext(ctx context.Co return o } +func (o SpokeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamBinding] { + return pulumix.Output[*SpokeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SpokeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SpokeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/spokeIamMember.go b/sdk/go/google/networkconnectivity/v1alpha1/spokeIamMember.go index 82ed19b71e..97a41582ae 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/spokeIamMember.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/spokeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SpokeIamMember) ToSpokeIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SpokeIamMemberOutput) } +func (i *SpokeIamMember) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamMember] { + return pulumix.Output[*SpokeIamMember]{ + OutputState: i.ToSpokeIamMemberOutputWithContext(ctx).OutputState, + } +} + type SpokeIamMemberOutput struct{ *pulumi.OutputState } func (SpokeIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SpokeIamMemberOutput) ToSpokeIamMemberOutputWithContext(ctx context.Cont return o } +func (o SpokeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamMember] { + return pulumix.Output[*SpokeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SpokeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SpokeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkconnectivity/v1alpha1/spokeIamPolicy.go b/sdk/go/google/networkconnectivity/v1alpha1/spokeIamPolicy.go index 083620d970..c6cd79b228 100644 --- a/sdk/go/google/networkconnectivity/v1alpha1/spokeIamPolicy.go +++ b/sdk/go/google/networkconnectivity/v1alpha1/spokeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SpokeIamPolicy) ToSpokeIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SpokeIamPolicyOutput) } +func (i *SpokeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamPolicy] { + return pulumix.Output[*SpokeIamPolicy]{ + OutputState: i.ToSpokeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SpokeIamPolicyOutput struct{ *pulumi.OutputState } func (SpokeIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SpokeIamPolicyOutput) ToSpokeIamPolicyOutputWithContext(ctx context.Cont return o } +func (o SpokeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SpokeIamPolicy] { + return pulumix.Output[*SpokeIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o SpokeIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *SpokeIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkmanagement/v1/connectivityTest.go b/sdk/go/google/networkmanagement/v1/connectivityTest.go index 3e6f346961..20173ca73d 100644 --- a/sdk/go/google/networkmanagement/v1/connectivityTest.go +++ b/sdk/go/google/networkmanagement/v1/connectivityTest.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. If the endpoint specifications in `ConnectivityTest` are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of AMBIGUOUS. For more information, see the Connectivity Test documentation. @@ -164,6 +165,12 @@ func (i *ConnectivityTest) ToConnectivityTestOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ConnectivityTestOutput) } +func (i *ConnectivityTest) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTest] { + return pulumix.Output[*ConnectivityTest]{ + OutputState: i.ToConnectivityTestOutputWithContext(ctx).OutputState, + } +} + type ConnectivityTestOutput struct{ *pulumi.OutputState } func (ConnectivityTestOutput) ElementType() reflect.Type { @@ -178,6 +185,12 @@ func (o ConnectivityTestOutput) ToConnectivityTestOutputWithContext(ctx context. return o } +func (o ConnectivityTestOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTest] { + return pulumix.Output[*ConnectivityTest]{ + OutputState: o.OutputState, + } +} + // The time the test was created. func (o ConnectivityTestOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *ConnectivityTest) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkmanagement/v1/connectivityTestIamBinding.go b/sdk/go/google/networkmanagement/v1/connectivityTestIamBinding.go index 337a1bb26d..63205291d4 100644 --- a/sdk/go/google/networkmanagement/v1/connectivityTestIamBinding.go +++ b/sdk/go/google/networkmanagement/v1/connectivityTestIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectivityTestIamBinding) ToConnectivityTestIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ConnectivityTestIamBindingOutput) } +func (i *ConnectivityTestIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamBinding] { + return pulumix.Output[*ConnectivityTestIamBinding]{ + OutputState: i.ToConnectivityTestIamBindingOutputWithContext(ctx).OutputState, + } +} + type ConnectivityTestIamBindingOutput struct{ *pulumi.OutputState } func (ConnectivityTestIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectivityTestIamBindingOutput) ToConnectivityTestIamBindingOutputWith return o } +func (o ConnectivityTestIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamBinding] { + return pulumix.Output[*ConnectivityTestIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectivityTestIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectivityTestIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkmanagement/v1/connectivityTestIamMember.go b/sdk/go/google/networkmanagement/v1/connectivityTestIamMember.go index b98dd77750..9275cde117 100644 --- a/sdk/go/google/networkmanagement/v1/connectivityTestIamMember.go +++ b/sdk/go/google/networkmanagement/v1/connectivityTestIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectivityTestIamMember) ToConnectivityTestIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ConnectivityTestIamMemberOutput) } +func (i *ConnectivityTestIamMember) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamMember] { + return pulumix.Output[*ConnectivityTestIamMember]{ + OutputState: i.ToConnectivityTestIamMemberOutputWithContext(ctx).OutputState, + } +} + type ConnectivityTestIamMemberOutput struct{ *pulumi.OutputState } func (ConnectivityTestIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectivityTestIamMemberOutput) ToConnectivityTestIamMemberOutputWithCo return o } +func (o ConnectivityTestIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamMember] { + return pulumix.Output[*ConnectivityTestIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectivityTestIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectivityTestIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkmanagement/v1/connectivityTestIamPolicy.go b/sdk/go/google/networkmanagement/v1/connectivityTestIamPolicy.go index ac71a5936a..5d0f7ac8cb 100644 --- a/sdk/go/google/networkmanagement/v1/connectivityTestIamPolicy.go +++ b/sdk/go/google/networkmanagement/v1/connectivityTestIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -131,6 +132,12 @@ func (i *ConnectivityTestIamPolicy) ToConnectivityTestIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ConnectivityTestIamPolicyOutput) } +func (i *ConnectivityTestIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamPolicy] { + return pulumix.Output[*ConnectivityTestIamPolicy]{ + OutputState: i.ToConnectivityTestIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ConnectivityTestIamPolicyOutput struct{ *pulumi.OutputState } func (ConnectivityTestIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ConnectivityTestIamPolicyOutput) ToConnectivityTestIamPolicyOutputWithCo return o } +func (o ConnectivityTestIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamPolicy] { + return pulumix.Output[*ConnectivityTestIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ConnectivityTestIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ConnectivityTestIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkmanagement/v1/getConnectivityTest.go b/sdk/go/google/networkmanagement/v1/getConnectivityTest.go index 8c5f7c57fd..af693e6d8c 100644 --- a/sdk/go/google/networkmanagement/v1/getConnectivityTest.go +++ b/sdk/go/google/networkmanagement/v1/getConnectivityTest.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific Connectivity Test. @@ -88,6 +89,12 @@ func (o LookupConnectivityTestResultOutput) ToLookupConnectivityTestResultOutput return o } +func (o LookupConnectivityTestResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectivityTestResult] { + return pulumix.Output[LookupConnectivityTestResult]{ + OutputState: o.OutputState, + } +} + // The time the test was created. func (o LookupConnectivityTestResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectivityTestResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkmanagement/v1/getConnectivityTestIamPolicy.go b/sdk/go/google/networkmanagement/v1/getConnectivityTestIamPolicy.go index 7de4274bfe..4c6c2c7f0e 100644 --- a/sdk/go/google/networkmanagement/v1/getConnectivityTestIamPolicy.go +++ b/sdk/go/google/networkmanagement/v1/getConnectivityTestIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupConnectivityTestIamPolicyResultOutput) ToLookupConnectivityTestIam return o } +func (o LookupConnectivityTestIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectivityTestIamPolicyResult] { + return pulumix.Output[LookupConnectivityTestIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupConnectivityTestIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupConnectivityTestIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkmanagement/v1/pulumiEnums.go b/sdk/go/google/networkmanagement/v1/pulumiEnums.go index 0162431850..9163b9f727 100644 --- a/sdk/go/google/networkmanagement/v1/pulumiEnums.go +++ b/sdk/go/google/networkmanagement/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source. type EndpointNetworkType string @@ -253,6 +272,12 @@ func (o EndpointNetworkTypeOutput) ToEndpointNetworkTypePtrOutputWithContext(ctx }).(EndpointNetworkTypePtrOutput) } +func (o EndpointNetworkTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointNetworkType] { + return pulumix.Output[EndpointNetworkType]{ + OutputState: o.OutputState, + } +} + func (o EndpointNetworkTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o EndpointNetworkTypePtrOutput) ToEndpointNetworkTypePtrOutputWithContext( return o } +func (o EndpointNetworkTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointNetworkType] { + return pulumix.Output[*EndpointNetworkType]{ + OutputState: o.OutputState, + } +} + func (o EndpointNetworkTypePtrOutput) Elem() EndpointNetworkTypeOutput { return o.ApplyT(func(v *EndpointNetworkType) EndpointNetworkType { if v != nil { @@ -350,6 +381,12 @@ func (in *endpointNetworkTypePtr) ToEndpointNetworkTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(EndpointNetworkTypePtrOutput) } +func (in *endpointNetworkTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EndpointNetworkType] { + return pulumix.Output[*EndpointNetworkType]{ + OutputState: in.ToEndpointNetworkTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/networkmanagement/v1/pulumiTypes.go b/sdk/go/google/networkmanagement/v1/pulumiTypes.go index 32f1650123..f43fc6b3da 100644 --- a/sdk/go/google/networkmanagement/v1/pulumiTypes.go +++ b/sdk/go/google/networkmanagement/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -38,6 +39,12 @@ func (o AbortInfoResponseOutput) ToAbortInfoResponseOutputWithContext(ctx contex return o } +func (o AbortInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AbortInfoResponse] { + return pulumix.Output[AbortInfoResponse]{ + OutputState: o.OutputState, + } +} + // Causes that the analysis is aborted. func (o AbortInfoResponseOutput) Cause() pulumi.StringOutput { return o.ApplyT(func(v AbortInfoResponse) string { return v.Cause }).(pulumi.StringOutput) @@ -88,6 +95,12 @@ func (i AppEngineVersionEndpointArgs) ToAppEngineVersionEndpointOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(AppEngineVersionEndpointOutput) } +func (i AppEngineVersionEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineVersionEndpoint] { + return pulumix.Output[AppEngineVersionEndpoint]{ + OutputState: i.ToAppEngineVersionEndpointOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineVersionEndpointArgs) ToAppEngineVersionEndpointPtrOutput() AppEngineVersionEndpointPtrOutput { return i.ToAppEngineVersionEndpointPtrOutputWithContext(context.Background()) } @@ -129,6 +142,12 @@ func (i *appEngineVersionEndpointPtrType) ToAppEngineVersionEndpointPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(AppEngineVersionEndpointPtrOutput) } +func (i *appEngineVersionEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineVersionEndpoint] { + return pulumix.Output[*AppEngineVersionEndpoint]{ + OutputState: i.ToAppEngineVersionEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // Wrapper for the App Engine service version attributes. type AppEngineVersionEndpointOutput struct{ *pulumi.OutputState } @@ -154,6 +173,12 @@ func (o AppEngineVersionEndpointOutput) ToAppEngineVersionEndpointPtrOutputWithC }).(AppEngineVersionEndpointPtrOutput) } +func (o AppEngineVersionEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineVersionEndpoint] { + return pulumix.Output[AppEngineVersionEndpoint]{ + OutputState: o.OutputState, + } +} + // An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) name. func (o AppEngineVersionEndpointOutput) Uri() pulumi.StringPtrOutput { return o.ApplyT(func(v AppEngineVersionEndpoint) *string { return v.Uri }).(pulumi.StringPtrOutput) @@ -173,6 +198,12 @@ func (o AppEngineVersionEndpointPtrOutput) ToAppEngineVersionEndpointPtrOutputWi return o } +func (o AppEngineVersionEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineVersionEndpoint] { + return pulumix.Output[*AppEngineVersionEndpoint]{ + OutputState: o.OutputState, + } +} + func (o AppEngineVersionEndpointPtrOutput) Elem() AppEngineVersionEndpointOutput { return o.ApplyT(func(v *AppEngineVersionEndpoint) AppEngineVersionEndpoint { if v != nil { @@ -214,6 +245,12 @@ func (o AppEngineVersionEndpointResponseOutput) ToAppEngineVersionEndpointRespon return o } +func (o AppEngineVersionEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineVersionEndpointResponse] { + return pulumix.Output[AppEngineVersionEndpointResponse]{ + OutputState: o.OutputState, + } +} + // An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) name. func (o AppEngineVersionEndpointResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v AppEngineVersionEndpointResponse) string { return v.Uri }).(pulumi.StringOutput) @@ -246,6 +283,12 @@ func (o AppEngineVersionInfoResponseOutput) ToAppEngineVersionInfoResponseOutput return o } +func (o AppEngineVersionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineVersionInfoResponse] { + return pulumix.Output[AppEngineVersionInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of an App Engine version. func (o AppEngineVersionInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v AppEngineVersionInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -305,6 +348,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -330,6 +379,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -345,6 +400,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -369,6 +430,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -398,6 +465,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -422,6 +495,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -467,6 +546,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -492,6 +577,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -507,6 +598,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -531,6 +628,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -560,6 +663,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -584,6 +693,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -633,6 +748,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -658,6 +779,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -673,6 +800,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -702,6 +835,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -733,6 +872,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -762,6 +907,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -803,6 +954,12 @@ func (i CloudFunctionEndpointArgs) ToCloudFunctionEndpointOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CloudFunctionEndpointOutput) } +func (i CloudFunctionEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[CloudFunctionEndpoint] { + return pulumix.Output[CloudFunctionEndpoint]{ + OutputState: i.ToCloudFunctionEndpointOutputWithContext(ctx).OutputState, + } +} + func (i CloudFunctionEndpointArgs) ToCloudFunctionEndpointPtrOutput() CloudFunctionEndpointPtrOutput { return i.ToCloudFunctionEndpointPtrOutputWithContext(context.Background()) } @@ -844,6 +1001,12 @@ func (i *cloudFunctionEndpointPtrType) ToCloudFunctionEndpointPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(CloudFunctionEndpointPtrOutput) } +func (i *cloudFunctionEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudFunctionEndpoint] { + return pulumix.Output[*CloudFunctionEndpoint]{ + OutputState: i.ToCloudFunctionEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // Wrapper for Cloud Function attributes. type CloudFunctionEndpointOutput struct{ *pulumi.OutputState } @@ -869,6 +1032,12 @@ func (o CloudFunctionEndpointOutput) ToCloudFunctionEndpointPtrOutputWithContext }).(CloudFunctionEndpointPtrOutput) } +func (o CloudFunctionEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[CloudFunctionEndpoint] { + return pulumix.Output[CloudFunctionEndpoint]{ + OutputState: o.OutputState, + } +} + // A [Cloud Function](https://cloud.google.com/functions) name. func (o CloudFunctionEndpointOutput) Uri() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudFunctionEndpoint) *string { return v.Uri }).(pulumi.StringPtrOutput) @@ -888,6 +1057,12 @@ func (o CloudFunctionEndpointPtrOutput) ToCloudFunctionEndpointPtrOutputWithCont return o } +func (o CloudFunctionEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudFunctionEndpoint] { + return pulumix.Output[*CloudFunctionEndpoint]{ + OutputState: o.OutputState, + } +} + func (o CloudFunctionEndpointPtrOutput) Elem() CloudFunctionEndpointOutput { return o.ApplyT(func(v *CloudFunctionEndpoint) CloudFunctionEndpoint { if v != nil { @@ -929,6 +1104,12 @@ func (o CloudFunctionEndpointResponseOutput) ToCloudFunctionEndpointResponseOutp return o } +func (o CloudFunctionEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudFunctionEndpointResponse] { + return pulumix.Output[CloudFunctionEndpointResponse]{ + OutputState: o.OutputState, + } +} + // A [Cloud Function](https://cloud.google.com/functions) name. func (o CloudFunctionEndpointResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v CloudFunctionEndpointResponse) string { return v.Uri }).(pulumi.StringOutput) @@ -961,6 +1142,12 @@ func (o CloudFunctionInfoResponseOutput) ToCloudFunctionInfoResponseOutputWithCo return o } +func (o CloudFunctionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudFunctionInfoResponse] { + return pulumix.Output[CloudFunctionInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Cloud Function. func (o CloudFunctionInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v CloudFunctionInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -1016,6 +1203,12 @@ func (i CloudRunRevisionEndpointArgs) ToCloudRunRevisionEndpointOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(CloudRunRevisionEndpointOutput) } +func (i CloudRunRevisionEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRunRevisionEndpoint] { + return pulumix.Output[CloudRunRevisionEndpoint]{ + OutputState: i.ToCloudRunRevisionEndpointOutputWithContext(ctx).OutputState, + } +} + func (i CloudRunRevisionEndpointArgs) ToCloudRunRevisionEndpointPtrOutput() CloudRunRevisionEndpointPtrOutput { return i.ToCloudRunRevisionEndpointPtrOutputWithContext(context.Background()) } @@ -1057,6 +1250,12 @@ func (i *cloudRunRevisionEndpointPtrType) ToCloudRunRevisionEndpointPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(CloudRunRevisionEndpointPtrOutput) } +func (i *cloudRunRevisionEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRunRevisionEndpoint] { + return pulumix.Output[*CloudRunRevisionEndpoint]{ + OutputState: i.ToCloudRunRevisionEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // Wrapper for Cloud Run revision attributes. type CloudRunRevisionEndpointOutput struct{ *pulumi.OutputState } @@ -1082,6 +1281,12 @@ func (o CloudRunRevisionEndpointOutput) ToCloudRunRevisionEndpointPtrOutputWithC }).(CloudRunRevisionEndpointPtrOutput) } +func (o CloudRunRevisionEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunRevisionEndpoint] { + return pulumix.Output[CloudRunRevisionEndpoint]{ + OutputState: o.OutputState, + } +} + // A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is: projects/{project}/locations/{location}/revisions/{revision} func (o CloudRunRevisionEndpointOutput) Uri() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudRunRevisionEndpoint) *string { return v.Uri }).(pulumi.StringPtrOutput) @@ -1101,6 +1306,12 @@ func (o CloudRunRevisionEndpointPtrOutput) ToCloudRunRevisionEndpointPtrOutputWi return o } +func (o CloudRunRevisionEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRunRevisionEndpoint] { + return pulumix.Output[*CloudRunRevisionEndpoint]{ + OutputState: o.OutputState, + } +} + func (o CloudRunRevisionEndpointPtrOutput) Elem() CloudRunRevisionEndpointOutput { return o.ApplyT(func(v *CloudRunRevisionEndpoint) CloudRunRevisionEndpoint { if v != nil { @@ -1142,6 +1353,12 @@ func (o CloudRunRevisionEndpointResponseOutput) ToCloudRunRevisionEndpointRespon return o } +func (o CloudRunRevisionEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunRevisionEndpointResponse] { + return pulumix.Output[CloudRunRevisionEndpointResponse]{ + OutputState: o.OutputState, + } +} + // A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is: projects/{project}/locations/{location}/revisions/{revision} func (o CloudRunRevisionEndpointResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v CloudRunRevisionEndpointResponse) string { return v.Uri }).(pulumi.StringOutput) @@ -1174,6 +1391,12 @@ func (o CloudRunRevisionInfoResponseOutput) ToCloudRunRevisionInfoResponseOutput return o } +func (o CloudRunRevisionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunRevisionInfoResponse] { + return pulumix.Output[CloudRunRevisionInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Cloud Run revision. func (o CloudRunRevisionInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v CloudRunRevisionInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -1225,6 +1448,12 @@ func (o CloudSQLInstanceInfoResponseOutput) ToCloudSQLInstanceInfoResponseOutput return o } +func (o CloudSQLInstanceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSQLInstanceInfoResponse] { + return pulumix.Output[CloudSQLInstanceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Cloud SQL instance. func (o CloudSQLInstanceInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v CloudSQLInstanceInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -1278,6 +1507,12 @@ func (o DeliverInfoResponseOutput) ToDeliverInfoResponseOutputWithContext(ctx co return o } +func (o DeliverInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeliverInfoResponse] { + return pulumix.Output[DeliverInfoResponse]{ + OutputState: o.OutputState, + } +} + // URI of the resource that the packet is delivered to. func (o DeliverInfoResponseOutput) ResourceUri() pulumi.StringOutput { return o.ApplyT(func(v DeliverInfoResponse) string { return v.ResourceUri }).(pulumi.StringOutput) @@ -1311,6 +1546,12 @@ func (o DropInfoResponseOutput) ToDropInfoResponseOutputWithContext(ctx context. return o } +func (o DropInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DropInfoResponse] { + return pulumix.Output[DropInfoResponse]{ + OutputState: o.OutputState, + } +} + // Cause that the packet is dropped. func (o DropInfoResponseOutput) Cause() pulumi.StringOutput { return o.ApplyT(func(v DropInfoResponse) string { return v.Cause }).(pulumi.StringOutput) @@ -1396,6 +1637,12 @@ func (i EndpointArgs) ToEndpointOutputWithContext(ctx context.Context) EndpointO return pulumi.ToOutputWithContext(ctx, i).(EndpointOutput) } +func (i EndpointArgs) ToOutput(ctx context.Context) pulumix.Output[Endpoint] { + return pulumix.Output[Endpoint]{ + OutputState: i.ToEndpointOutputWithContext(ctx).OutputState, + } +} + // Source or destination of the Connectivity Test. type EndpointOutput struct{ *pulumi.OutputState } @@ -1411,6 +1658,12 @@ func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) Endpoin return o } +func (o EndpointOutput) ToOutput(ctx context.Context) pulumix.Output[Endpoint] { + return pulumix.Output[Endpoint]{ + OutputState: o.OutputState, + } +} + // An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). func (o EndpointOutput) AppEngineVersion() AppEngineVersionEndpointPtrOutput { return o.ApplyT(func(v Endpoint) *AppEngineVersionEndpoint { return v.AppEngineVersion }).(AppEngineVersionEndpointPtrOutput) @@ -1499,6 +1752,12 @@ func (o EndpointInfoResponseOutput) ToEndpointInfoResponseOutputWithContext(ctx return o } +func (o EndpointInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointInfoResponse] { + return pulumix.Output[EndpointInfoResponse]{ + OutputState: o.OutputState, + } +} + // Destination IP address. func (o EndpointInfoResponseOutput) DestinationIp() pulumi.StringOutput { return o.ApplyT(func(v EndpointInfoResponse) string { return v.DestinationIp }).(pulumi.StringOutput) @@ -1575,6 +1834,12 @@ func (o EndpointResponseOutput) ToEndpointResponseOutputWithContext(ctx context. return o } +func (o EndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointResponse] { + return pulumix.Output[EndpointResponse]{ + OutputState: o.OutputState, + } +} + // An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). func (o EndpointResponseOutput) AppEngineVersion() AppEngineVersionEndpointResponseOutput { return o.ApplyT(func(v EndpointResponse) AppEngineVersionEndpointResponse { return v.AppEngineVersion }).(AppEngineVersionEndpointResponseOutput) @@ -1677,6 +1942,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1718,6 +1989,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1743,6 +2020,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1777,6 +2060,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1854,6 +2143,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1913,6 +2208,12 @@ func (o FirewallInfoResponseOutput) ToFirewallInfoResponseOutputWithContext(ctx return o } +func (o FirewallInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallInfoResponse] { + return pulumix.Output[FirewallInfoResponse]{ + OutputState: o.OutputState, + } +} + // Possible values: ALLOW, DENY func (o FirewallInfoResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v FirewallInfoResponse) string { return v.Action }).(pulumi.StringOutput) @@ -1986,6 +2287,12 @@ func (o ForwardInfoResponseOutput) ToForwardInfoResponseOutputWithContext(ctx co return o } +func (o ForwardInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardInfoResponse] { + return pulumix.Output[ForwardInfoResponse]{ + OutputState: o.OutputState, + } +} + // URI of the resource that the packet is forwarded to. func (o ForwardInfoResponseOutput) ResourceUri() pulumi.StringOutput { return o.ApplyT(func(v ForwardInfoResponse) string { return v.ResourceUri }).(pulumi.StringOutput) @@ -2029,6 +2336,12 @@ func (o ForwardingRuleInfoResponseOutput) ToForwardingRuleInfoResponseOutputWith return o } +func (o ForwardingRuleInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleInfoResponse] { + return pulumix.Output[ForwardingRuleInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Compute Engine forwarding rule. func (o ForwardingRuleInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v ForwardingRuleInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2091,6 +2404,12 @@ func (o GKEMasterInfoResponseOutput) ToGKEMasterInfoResponseOutputWithContext(ct return o } +func (o GKEMasterInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GKEMasterInfoResponse] { + return pulumix.Output[GKEMasterInfoResponse]{ + OutputState: o.OutputState, + } +} + // URI of a GKE cluster network. func (o GKEMasterInfoResponseOutput) ClusterNetworkUri() pulumi.StringOutput { return o.ApplyT(func(v GKEMasterInfoResponse) string { return v.ClusterNetworkUri }).(pulumi.StringOutput) @@ -2146,6 +2465,12 @@ func (o InstanceInfoResponseOutput) ToInstanceInfoResponseOutputWithContext(ctx return o } +func (o InstanceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceInfoResponse] { + return pulumix.Output[InstanceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Compute Engine instance. func (o InstanceInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v InstanceInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2215,6 +2540,12 @@ func (o LoadBalancerBackendResponseOutput) ToLoadBalancerBackendResponseOutputWi return o } +func (o LoadBalancerBackendResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoadBalancerBackendResponse] { + return pulumix.Output[LoadBalancerBackendResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Compute Engine instance or network endpoint. func (o LoadBalancerBackendResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LoadBalancerBackendResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2254,6 +2585,12 @@ func (o LoadBalancerBackendResponseArrayOutput) ToLoadBalancerBackendResponseArr return o } +func (o LoadBalancerBackendResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LoadBalancerBackendResponse] { + return pulumix.Output[[]LoadBalancerBackendResponse]{ + OutputState: o.OutputState, + } +} + func (o LoadBalancerBackendResponseArrayOutput) Index(i pulumi.IntInput) LoadBalancerBackendResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerBackendResponse { return vs[0].([]LoadBalancerBackendResponse)[vs[1].(int)] @@ -2289,6 +2626,12 @@ func (o LoadBalancerInfoResponseOutput) ToLoadBalancerInfoResponseOutputWithCont return o } +func (o LoadBalancerInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoadBalancerInfoResponse] { + return pulumix.Output[LoadBalancerInfoResponse]{ + OutputState: o.OutputState, + } +} + // Type of load balancer's backend configuration. func (o LoadBalancerInfoResponseOutput) BackendType() pulumi.StringOutput { return o.ApplyT(func(v LoadBalancerInfoResponse) string { return v.BackendType }).(pulumi.StringOutput) @@ -2339,6 +2682,12 @@ func (o NetworkInfoResponseOutput) ToNetworkInfoResponseOutputWithContext(ctx co return o } +func (o NetworkInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInfoResponse] { + return pulumix.Output[NetworkInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Compute Engine network. func (o NetworkInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v NetworkInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2381,6 +2730,12 @@ func (o ReachabilityDetailsResponseOutput) ToReachabilityDetailsResponseOutputWi return o } +func (o ReachabilityDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReachabilityDetailsResponse] { + return pulumix.Output[ReachabilityDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The details of a failure or a cancellation of reachability analysis. func (o ReachabilityDetailsResponseOutput) Error() StatusResponseOutput { return o.ApplyT(func(v ReachabilityDetailsResponse) StatusResponse { return v.Error }).(StatusResponseOutput) @@ -2446,6 +2801,12 @@ func (o RouteInfoResponseOutput) ToRouteInfoResponseOutputWithContext(ctx contex return o } +func (o RouteInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteInfoResponse] { + return pulumix.Output[RouteInfoResponse]{ + OutputState: o.OutputState, + } +} + // Destination IP range of the route. func (o RouteInfoResponseOutput) DestIpRange() pulumi.StringOutput { return o.ApplyT(func(v RouteInfoResponse) string { return v.DestIpRange }).(pulumi.StringOutput) @@ -2536,6 +2897,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -2616,6 +2983,12 @@ func (o StepResponseOutput) ToStepResponseOutputWithContext(ctx context.Context) return o } +func (o StepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StepResponse] { + return pulumix.Output[StepResponse]{ + OutputState: o.OutputState, + } +} + // Display information of the final state "abort" and reason. func (o StepResponseOutput) Abort() AbortInfoResponseOutput { return o.ApplyT(func(v StepResponse) AbortInfoResponse { return v.Abort }).(AbortInfoResponseOutput) @@ -2745,6 +3118,12 @@ func (o StepResponseArrayOutput) ToStepResponseArrayOutputWithContext(ctx contex return o } +func (o StepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StepResponse] { + return pulumix.Output[[]StepResponse]{ + OutputState: o.OutputState, + } +} + func (o StepResponseArrayOutput) Index(i pulumi.IntInput) StepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StepResponse { return vs[0].([]StepResponse)[vs[1].(int)] @@ -2774,6 +3153,12 @@ func (o TraceResponseOutput) ToTraceResponseOutputWithContext(ctx context.Contex return o } +func (o TraceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TraceResponse] { + return pulumix.Output[TraceResponse]{ + OutputState: o.OutputState, + } +} + // Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. If there are multiple traces starting from different source locations, then the endpoint_info may be different between traces. func (o TraceResponseOutput) EndpointInfo() EndpointInfoResponseOutput { return o.ApplyT(func(v TraceResponse) EndpointInfoResponse { return v.EndpointInfo }).(EndpointInfoResponseOutput) @@ -2798,6 +3183,12 @@ func (o TraceResponseArrayOutput) ToTraceResponseArrayOutputWithContext(ctx cont return o } +func (o TraceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TraceResponse] { + return pulumix.Output[[]TraceResponse]{ + OutputState: o.OutputState, + } +} + func (o TraceResponseArrayOutput) Index(i pulumi.IntInput) TraceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TraceResponse { return vs[0].([]TraceResponse)[vs[1].(int)] @@ -2829,6 +3220,12 @@ func (o VpcConnectorInfoResponseOutput) ToVpcConnectorInfoResponseOutputWithCont return o } +func (o VpcConnectorInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcConnectorInfoResponse] { + return pulumix.Output[VpcConnectorInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a VPC connector. func (o VpcConnectorInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v VpcConnectorInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2875,6 +3272,12 @@ func (o VpnGatewayInfoResponseOutput) ToVpnGatewayInfoResponseOutputWithContext( return o } +func (o VpnGatewayInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayInfoResponse] { + return pulumix.Output[VpnGatewayInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a VPN gateway. func (o VpnGatewayInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v VpnGatewayInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2942,6 +3345,12 @@ func (o VpnTunnelInfoResponseOutput) ToVpnTunnelInfoResponseOutputWithContext(ct return o } +func (o VpnTunnelInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpnTunnelInfoResponse] { + return pulumix.Output[VpnTunnelInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a VPN tunnel. func (o VpnTunnelInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v VpnTunnelInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkmanagement/v1beta1/connectivityTest.go b/sdk/go/google/networkmanagement/v1beta1/connectivityTest.go index bb720a7e0c..c1517f7ff2 100644 --- a/sdk/go/google/networkmanagement/v1beta1/connectivityTest.go +++ b/sdk/go/google/networkmanagement/v1beta1/connectivityTest.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. If the endpoint specifications in `ConnectivityTest` are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of AMBIGUOUS. For more information, see the Connectivity Test documentation. @@ -166,6 +167,12 @@ func (i *ConnectivityTest) ToConnectivityTestOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ConnectivityTestOutput) } +func (i *ConnectivityTest) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTest] { + return pulumix.Output[*ConnectivityTest]{ + OutputState: i.ToConnectivityTestOutputWithContext(ctx).OutputState, + } +} + type ConnectivityTestOutput struct{ *pulumi.OutputState } func (ConnectivityTestOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o ConnectivityTestOutput) ToConnectivityTestOutputWithContext(ctx context. return o } +func (o ConnectivityTestOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTest] { + return pulumix.Output[*ConnectivityTest]{ + OutputState: o.OutputState, + } +} + // The time the test was created. func (o ConnectivityTestOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *ConnectivityTest) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamBinding.go b/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamBinding.go index 5d8a5fbe36..57739d64ff 100644 --- a/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamBinding.go +++ b/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectivityTestIamBinding) ToConnectivityTestIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ConnectivityTestIamBindingOutput) } +func (i *ConnectivityTestIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamBinding] { + return pulumix.Output[*ConnectivityTestIamBinding]{ + OutputState: i.ToConnectivityTestIamBindingOutputWithContext(ctx).OutputState, + } +} + type ConnectivityTestIamBindingOutput struct{ *pulumi.OutputState } func (ConnectivityTestIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectivityTestIamBindingOutput) ToConnectivityTestIamBindingOutputWith return o } +func (o ConnectivityTestIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamBinding] { + return pulumix.Output[*ConnectivityTestIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectivityTestIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectivityTestIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamMember.go b/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamMember.go index b3a62f0182..dac9a739e1 100644 --- a/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamMember.go +++ b/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConnectivityTestIamMember) ToConnectivityTestIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ConnectivityTestIamMemberOutput) } +func (i *ConnectivityTestIamMember) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamMember] { + return pulumix.Output[*ConnectivityTestIamMember]{ + OutputState: i.ToConnectivityTestIamMemberOutputWithContext(ctx).OutputState, + } +} + type ConnectivityTestIamMemberOutput struct{ *pulumi.OutputState } func (ConnectivityTestIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConnectivityTestIamMemberOutput) ToConnectivityTestIamMemberOutputWithCo return o } +func (o ConnectivityTestIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamMember] { + return pulumix.Output[*ConnectivityTestIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConnectivityTestIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConnectivityTestIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamPolicy.go b/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamPolicy.go index 4531344222..ee3a00596c 100644 --- a/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamPolicy.go +++ b/sdk/go/google/networkmanagement/v1beta1/connectivityTestIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -131,6 +132,12 @@ func (i *ConnectivityTestIamPolicy) ToConnectivityTestIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ConnectivityTestIamPolicyOutput) } +func (i *ConnectivityTestIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamPolicy] { + return pulumix.Output[*ConnectivityTestIamPolicy]{ + OutputState: i.ToConnectivityTestIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ConnectivityTestIamPolicyOutput struct{ *pulumi.OutputState } func (ConnectivityTestIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ConnectivityTestIamPolicyOutput) ToConnectivityTestIamPolicyOutputWithCo return o } +func (o ConnectivityTestIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConnectivityTestIamPolicy] { + return pulumix.Output[*ConnectivityTestIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ConnectivityTestIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ConnectivityTestIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkmanagement/v1beta1/getConnectivityTest.go b/sdk/go/google/networkmanagement/v1beta1/getConnectivityTest.go index bf896209b9..250ede594c 100644 --- a/sdk/go/google/networkmanagement/v1beta1/getConnectivityTest.go +++ b/sdk/go/google/networkmanagement/v1beta1/getConnectivityTest.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific Connectivity Test. @@ -90,6 +91,12 @@ func (o LookupConnectivityTestResultOutput) ToLookupConnectivityTestResultOutput return o } +func (o LookupConnectivityTestResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectivityTestResult] { + return pulumix.Output[LookupConnectivityTestResult]{ + OutputState: o.OutputState, + } +} + // The time the test was created. func (o LookupConnectivityTestResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectivityTestResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkmanagement/v1beta1/getConnectivityTestIamPolicy.go b/sdk/go/google/networkmanagement/v1beta1/getConnectivityTestIamPolicy.go index 156d9f2c19..873b4b911a 100644 --- a/sdk/go/google/networkmanagement/v1beta1/getConnectivityTestIamPolicy.go +++ b/sdk/go/google/networkmanagement/v1beta1/getConnectivityTestIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupConnectivityTestIamPolicyResultOutput) ToLookupConnectivityTestIam return o } +func (o LookupConnectivityTestIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectivityTestIamPolicyResult] { + return pulumix.Output[LookupConnectivityTestIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupConnectivityTestIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupConnectivityTestIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkmanagement/v1beta1/pulumiEnums.go b/sdk/go/google/networkmanagement/v1beta1/pulumiEnums.go index 8a90961b04..05f5571372 100644 --- a/sdk/go/google/networkmanagement/v1beta1/pulumiEnums.go +++ b/sdk/go/google/networkmanagement/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source. type EndpointNetworkType string @@ -253,6 +272,12 @@ func (o EndpointNetworkTypeOutput) ToEndpointNetworkTypePtrOutputWithContext(ctx }).(EndpointNetworkTypePtrOutput) } +func (o EndpointNetworkTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointNetworkType] { + return pulumix.Output[EndpointNetworkType]{ + OutputState: o.OutputState, + } +} + func (o EndpointNetworkTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o EndpointNetworkTypePtrOutput) ToEndpointNetworkTypePtrOutputWithContext( return o } +func (o EndpointNetworkTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointNetworkType] { + return pulumix.Output[*EndpointNetworkType]{ + OutputState: o.OutputState, + } +} + func (o EndpointNetworkTypePtrOutput) Elem() EndpointNetworkTypeOutput { return o.ApplyT(func(v *EndpointNetworkType) EndpointNetworkType { if v != nil { @@ -350,6 +381,12 @@ func (in *endpointNetworkTypePtr) ToEndpointNetworkTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(EndpointNetworkTypePtrOutput) } +func (in *endpointNetworkTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EndpointNetworkType] { + return pulumix.Output[*EndpointNetworkType]{ + OutputState: in.ToEndpointNetworkTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/networkmanagement/v1beta1/pulumiTypes.go b/sdk/go/google/networkmanagement/v1beta1/pulumiTypes.go index 5756cd0302..f7cc8d5ea3 100644 --- a/sdk/go/google/networkmanagement/v1beta1/pulumiTypes.go +++ b/sdk/go/google/networkmanagement/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -38,6 +39,12 @@ func (o AbortInfoResponseOutput) ToAbortInfoResponseOutputWithContext(ctx contex return o } +func (o AbortInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AbortInfoResponse] { + return pulumix.Output[AbortInfoResponse]{ + OutputState: o.OutputState, + } +} + // Causes that the analysis is aborted. func (o AbortInfoResponseOutput) Cause() pulumi.StringOutput { return o.ApplyT(func(v AbortInfoResponse) string { return v.Cause }).(pulumi.StringOutput) @@ -88,6 +95,12 @@ func (i AppEngineVersionEndpointArgs) ToAppEngineVersionEndpointOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(AppEngineVersionEndpointOutput) } +func (i AppEngineVersionEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[AppEngineVersionEndpoint] { + return pulumix.Output[AppEngineVersionEndpoint]{ + OutputState: i.ToAppEngineVersionEndpointOutputWithContext(ctx).OutputState, + } +} + func (i AppEngineVersionEndpointArgs) ToAppEngineVersionEndpointPtrOutput() AppEngineVersionEndpointPtrOutput { return i.ToAppEngineVersionEndpointPtrOutputWithContext(context.Background()) } @@ -129,6 +142,12 @@ func (i *appEngineVersionEndpointPtrType) ToAppEngineVersionEndpointPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(AppEngineVersionEndpointPtrOutput) } +func (i *appEngineVersionEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*AppEngineVersionEndpoint] { + return pulumix.Output[*AppEngineVersionEndpoint]{ + OutputState: i.ToAppEngineVersionEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // Wrapper for the App Engine service version attributes. type AppEngineVersionEndpointOutput struct{ *pulumi.OutputState } @@ -154,6 +173,12 @@ func (o AppEngineVersionEndpointOutput) ToAppEngineVersionEndpointPtrOutputWithC }).(AppEngineVersionEndpointPtrOutput) } +func (o AppEngineVersionEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineVersionEndpoint] { + return pulumix.Output[AppEngineVersionEndpoint]{ + OutputState: o.OutputState, + } +} + // An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) name. func (o AppEngineVersionEndpointOutput) Uri() pulumi.StringPtrOutput { return o.ApplyT(func(v AppEngineVersionEndpoint) *string { return v.Uri }).(pulumi.StringPtrOutput) @@ -173,6 +198,12 @@ func (o AppEngineVersionEndpointPtrOutput) ToAppEngineVersionEndpointPtrOutputWi return o } +func (o AppEngineVersionEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppEngineVersionEndpoint] { + return pulumix.Output[*AppEngineVersionEndpoint]{ + OutputState: o.OutputState, + } +} + func (o AppEngineVersionEndpointPtrOutput) Elem() AppEngineVersionEndpointOutput { return o.ApplyT(func(v *AppEngineVersionEndpoint) AppEngineVersionEndpoint { if v != nil { @@ -214,6 +245,12 @@ func (o AppEngineVersionEndpointResponseOutput) ToAppEngineVersionEndpointRespon return o } +func (o AppEngineVersionEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineVersionEndpointResponse] { + return pulumix.Output[AppEngineVersionEndpointResponse]{ + OutputState: o.OutputState, + } +} + // An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) name. func (o AppEngineVersionEndpointResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v AppEngineVersionEndpointResponse) string { return v.Uri }).(pulumi.StringOutput) @@ -246,6 +283,12 @@ func (o AppEngineVersionInfoResponseOutput) ToAppEngineVersionInfoResponseOutput return o } +func (o AppEngineVersionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppEngineVersionInfoResponse] { + return pulumix.Output[AppEngineVersionInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of an App Engine version. func (o AppEngineVersionInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v AppEngineVersionInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -305,6 +348,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -330,6 +379,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -345,6 +400,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -369,6 +430,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -398,6 +465,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -422,6 +495,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -467,6 +546,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -492,6 +577,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -507,6 +598,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -531,6 +628,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -560,6 +663,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -584,6 +693,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -633,6 +748,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -658,6 +779,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -673,6 +800,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -702,6 +835,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -733,6 +872,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -762,6 +907,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -803,6 +954,12 @@ func (i CloudFunctionEndpointArgs) ToCloudFunctionEndpointOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CloudFunctionEndpointOutput) } +func (i CloudFunctionEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[CloudFunctionEndpoint] { + return pulumix.Output[CloudFunctionEndpoint]{ + OutputState: i.ToCloudFunctionEndpointOutputWithContext(ctx).OutputState, + } +} + func (i CloudFunctionEndpointArgs) ToCloudFunctionEndpointPtrOutput() CloudFunctionEndpointPtrOutput { return i.ToCloudFunctionEndpointPtrOutputWithContext(context.Background()) } @@ -844,6 +1001,12 @@ func (i *cloudFunctionEndpointPtrType) ToCloudFunctionEndpointPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(CloudFunctionEndpointPtrOutput) } +func (i *cloudFunctionEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudFunctionEndpoint] { + return pulumix.Output[*CloudFunctionEndpoint]{ + OutputState: i.ToCloudFunctionEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // Wrapper for Cloud Function attributes. type CloudFunctionEndpointOutput struct{ *pulumi.OutputState } @@ -869,6 +1032,12 @@ func (o CloudFunctionEndpointOutput) ToCloudFunctionEndpointPtrOutputWithContext }).(CloudFunctionEndpointPtrOutput) } +func (o CloudFunctionEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[CloudFunctionEndpoint] { + return pulumix.Output[CloudFunctionEndpoint]{ + OutputState: o.OutputState, + } +} + // A [Cloud Function](https://cloud.google.com/functions) name. func (o CloudFunctionEndpointOutput) Uri() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudFunctionEndpoint) *string { return v.Uri }).(pulumi.StringPtrOutput) @@ -888,6 +1057,12 @@ func (o CloudFunctionEndpointPtrOutput) ToCloudFunctionEndpointPtrOutputWithCont return o } +func (o CloudFunctionEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudFunctionEndpoint] { + return pulumix.Output[*CloudFunctionEndpoint]{ + OutputState: o.OutputState, + } +} + func (o CloudFunctionEndpointPtrOutput) Elem() CloudFunctionEndpointOutput { return o.ApplyT(func(v *CloudFunctionEndpoint) CloudFunctionEndpoint { if v != nil { @@ -929,6 +1104,12 @@ func (o CloudFunctionEndpointResponseOutput) ToCloudFunctionEndpointResponseOutp return o } +func (o CloudFunctionEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudFunctionEndpointResponse] { + return pulumix.Output[CloudFunctionEndpointResponse]{ + OutputState: o.OutputState, + } +} + // A [Cloud Function](https://cloud.google.com/functions) name. func (o CloudFunctionEndpointResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v CloudFunctionEndpointResponse) string { return v.Uri }).(pulumi.StringOutput) @@ -961,6 +1142,12 @@ func (o CloudFunctionInfoResponseOutput) ToCloudFunctionInfoResponseOutputWithCo return o } +func (o CloudFunctionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudFunctionInfoResponse] { + return pulumix.Output[CloudFunctionInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Cloud Function. func (o CloudFunctionInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v CloudFunctionInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -1016,6 +1203,12 @@ func (i CloudRunRevisionEndpointArgs) ToCloudRunRevisionEndpointOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(CloudRunRevisionEndpointOutput) } +func (i CloudRunRevisionEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[CloudRunRevisionEndpoint] { + return pulumix.Output[CloudRunRevisionEndpoint]{ + OutputState: i.ToCloudRunRevisionEndpointOutputWithContext(ctx).OutputState, + } +} + func (i CloudRunRevisionEndpointArgs) ToCloudRunRevisionEndpointPtrOutput() CloudRunRevisionEndpointPtrOutput { return i.ToCloudRunRevisionEndpointPtrOutputWithContext(context.Background()) } @@ -1057,6 +1250,12 @@ func (i *cloudRunRevisionEndpointPtrType) ToCloudRunRevisionEndpointPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(CloudRunRevisionEndpointPtrOutput) } +func (i *cloudRunRevisionEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudRunRevisionEndpoint] { + return pulumix.Output[*CloudRunRevisionEndpoint]{ + OutputState: i.ToCloudRunRevisionEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // Wrapper for Cloud Run revision attributes. type CloudRunRevisionEndpointOutput struct{ *pulumi.OutputState } @@ -1082,6 +1281,12 @@ func (o CloudRunRevisionEndpointOutput) ToCloudRunRevisionEndpointPtrOutputWithC }).(CloudRunRevisionEndpointPtrOutput) } +func (o CloudRunRevisionEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunRevisionEndpoint] { + return pulumix.Output[CloudRunRevisionEndpoint]{ + OutputState: o.OutputState, + } +} + // A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is: projects/{project}/locations/{location}/revisions/{revision} func (o CloudRunRevisionEndpointOutput) Uri() pulumi.StringPtrOutput { return o.ApplyT(func(v CloudRunRevisionEndpoint) *string { return v.Uri }).(pulumi.StringPtrOutput) @@ -1101,6 +1306,12 @@ func (o CloudRunRevisionEndpointPtrOutput) ToCloudRunRevisionEndpointPtrOutputWi return o } +func (o CloudRunRevisionEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudRunRevisionEndpoint] { + return pulumix.Output[*CloudRunRevisionEndpoint]{ + OutputState: o.OutputState, + } +} + func (o CloudRunRevisionEndpointPtrOutput) Elem() CloudRunRevisionEndpointOutput { return o.ApplyT(func(v *CloudRunRevisionEndpoint) CloudRunRevisionEndpoint { if v != nil { @@ -1142,6 +1353,12 @@ func (o CloudRunRevisionEndpointResponseOutput) ToCloudRunRevisionEndpointRespon return o } +func (o CloudRunRevisionEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunRevisionEndpointResponse] { + return pulumix.Output[CloudRunRevisionEndpointResponse]{ + OutputState: o.OutputState, + } +} + // A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is: projects/{project}/locations/{location}/revisions/{revision} func (o CloudRunRevisionEndpointResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v CloudRunRevisionEndpointResponse) string { return v.Uri }).(pulumi.StringOutput) @@ -1176,6 +1393,12 @@ func (o CloudRunRevisionInfoResponseOutput) ToCloudRunRevisionInfoResponseOutput return o } +func (o CloudRunRevisionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudRunRevisionInfoResponse] { + return pulumix.Output[CloudRunRevisionInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Cloud Run revision. func (o CloudRunRevisionInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v CloudRunRevisionInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -1232,6 +1455,12 @@ func (o CloudSQLInstanceInfoResponseOutput) ToCloudSQLInstanceInfoResponseOutput return o } +func (o CloudSQLInstanceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudSQLInstanceInfoResponse] { + return pulumix.Output[CloudSQLInstanceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Cloud SQL instance. func (o CloudSQLInstanceInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v CloudSQLInstanceInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -1285,6 +1514,12 @@ func (o DeliverInfoResponseOutput) ToDeliverInfoResponseOutputWithContext(ctx co return o } +func (o DeliverInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeliverInfoResponse] { + return pulumix.Output[DeliverInfoResponse]{ + OutputState: o.OutputState, + } +} + // URI of the resource that the packet is delivered to. func (o DeliverInfoResponseOutput) ResourceUri() pulumi.StringOutput { return o.ApplyT(func(v DeliverInfoResponse) string { return v.ResourceUri }).(pulumi.StringOutput) @@ -1318,6 +1553,12 @@ func (o DropInfoResponseOutput) ToDropInfoResponseOutputWithContext(ctx context. return o } +func (o DropInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DropInfoResponse] { + return pulumix.Output[DropInfoResponse]{ + OutputState: o.OutputState, + } +} + // Cause that the packet is dropped. func (o DropInfoResponseOutput) Cause() pulumi.StringOutput { return o.ApplyT(func(v DropInfoResponse) string { return v.Cause }).(pulumi.StringOutput) @@ -1349,6 +1590,12 @@ func (o EdgeLocationResponseOutput) ToEdgeLocationResponseOutputWithContext(ctx return o } +func (o EdgeLocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EdgeLocationResponse] { + return pulumix.Output[EdgeLocationResponse]{ + OutputState: o.OutputState, + } +} + // Name of the metropolitan area. func (o EdgeLocationResponseOutput) MetropolitanArea() pulumi.StringOutput { return o.ApplyT(func(v EdgeLocationResponse) string { return v.MetropolitanArea }).(pulumi.StringOutput) @@ -1433,6 +1680,12 @@ func (i EndpointArgs) ToEndpointOutputWithContext(ctx context.Context) EndpointO return pulumi.ToOutputWithContext(ctx, i).(EndpointOutput) } +func (i EndpointArgs) ToOutput(ctx context.Context) pulumix.Output[Endpoint] { + return pulumix.Output[Endpoint]{ + OutputState: i.ToEndpointOutputWithContext(ctx).OutputState, + } +} + // Source or destination of the Connectivity Test. type EndpointOutput struct{ *pulumi.OutputState } @@ -1448,6 +1701,12 @@ func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) Endpoin return o } +func (o EndpointOutput) ToOutput(ctx context.Context) pulumix.Output[Endpoint] { + return pulumix.Output[Endpoint]{ + OutputState: o.OutputState, + } +} + // An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). func (o EndpointOutput) AppEngineVersion() AppEngineVersionEndpointPtrOutput { return o.ApplyT(func(v Endpoint) *AppEngineVersionEndpoint { return v.AppEngineVersion }).(AppEngineVersionEndpointPtrOutput) @@ -1543,6 +1802,12 @@ func (o EndpointInfoResponseOutput) ToEndpointInfoResponseOutputWithContext(ctx return o } +func (o EndpointInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointInfoResponse] { + return pulumix.Output[EndpointInfoResponse]{ + OutputState: o.OutputState, + } +} + // Destination IP address. func (o EndpointInfoResponseOutput) DestinationIp() pulumi.StringOutput { return o.ApplyT(func(v EndpointInfoResponse) string { return v.DestinationIp }).(pulumi.StringOutput) @@ -1632,6 +1897,12 @@ func (o EndpointResponseOutput) ToEndpointResponseOutputWithContext(ctx context. return o } +func (o EndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointResponse] { + return pulumix.Output[EndpointResponse]{ + OutputState: o.OutputState, + } +} + // An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). func (o EndpointResponseOutput) AppEngineVersion() AppEngineVersionEndpointResponseOutput { return o.ApplyT(func(v EndpointResponse) AppEngineVersionEndpointResponse { return v.AppEngineVersion }).(AppEngineVersionEndpointResponseOutput) @@ -1754,6 +2025,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1795,6 +2072,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1820,6 +2103,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1854,6 +2143,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1931,6 +2226,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1990,6 +2291,12 @@ func (o FirewallInfoResponseOutput) ToFirewallInfoResponseOutputWithContext(ctx return o } +func (o FirewallInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FirewallInfoResponse] { + return pulumix.Output[FirewallInfoResponse]{ + OutputState: o.OutputState, + } +} + // Possible values: ALLOW, DENY func (o FirewallInfoResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v FirewallInfoResponse) string { return v.Action }).(pulumi.StringOutput) @@ -2063,6 +2370,12 @@ func (o ForwardInfoResponseOutput) ToForwardInfoResponseOutputWithContext(ctx co return o } +func (o ForwardInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardInfoResponse] { + return pulumix.Output[ForwardInfoResponse]{ + OutputState: o.OutputState, + } +} + // URI of the resource that the packet is forwarded to. func (o ForwardInfoResponseOutput) ResourceUri() pulumi.StringOutput { return o.ApplyT(func(v ForwardInfoResponse) string { return v.ResourceUri }).(pulumi.StringOutput) @@ -2106,6 +2419,12 @@ func (o ForwardingRuleInfoResponseOutput) ToForwardingRuleInfoResponseOutputWith return o } +func (o ForwardingRuleInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ForwardingRuleInfoResponse] { + return pulumix.Output[ForwardingRuleInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Compute Engine forwarding rule. func (o ForwardingRuleInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v ForwardingRuleInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2168,6 +2487,12 @@ func (o GKEMasterInfoResponseOutput) ToGKEMasterInfoResponseOutputWithContext(ct return o } +func (o GKEMasterInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GKEMasterInfoResponse] { + return pulumix.Output[GKEMasterInfoResponse]{ + OutputState: o.OutputState, + } +} + // URI of a GKE cluster network. func (o GKEMasterInfoResponseOutput) ClusterNetworkUri() pulumi.StringOutput { return o.ApplyT(func(v GKEMasterInfoResponse) string { return v.ClusterNetworkUri }).(pulumi.StringOutput) @@ -2223,6 +2548,12 @@ func (o InstanceInfoResponseOutput) ToInstanceInfoResponseOutputWithContext(ctx return o } +func (o InstanceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceInfoResponse] { + return pulumix.Output[InstanceInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Compute Engine instance. func (o InstanceInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v InstanceInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2284,6 +2615,12 @@ func (o LatencyDistributionResponseOutput) ToLatencyDistributionResponseOutputWi return o } +func (o LatencyDistributionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LatencyDistributionResponse] { + return pulumix.Output[LatencyDistributionResponse]{ + OutputState: o.OutputState, + } +} + // Representative latency percentiles. func (o LatencyDistributionResponseOutput) LatencyPercentiles() LatencyPercentileResponseArrayOutput { return o.ApplyT(func(v LatencyDistributionResponse) []LatencyPercentileResponse { return v.LatencyPercentiles }).(LatencyPercentileResponseArrayOutput) @@ -2312,6 +2649,12 @@ func (o LatencyPercentileResponseOutput) ToLatencyPercentileResponseOutputWithCo return o } +func (o LatencyPercentileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LatencyPercentileResponse] { + return pulumix.Output[LatencyPercentileResponse]{ + OutputState: o.OutputState, + } +} + // percent-th percentile of latency observed, in microseconds. Fraction of percent/100 of samples have latency lower or equal to the value of this field. func (o LatencyPercentileResponseOutput) LatencyMicros() pulumi.StringOutput { return o.ApplyT(func(v LatencyPercentileResponse) string { return v.LatencyMicros }).(pulumi.StringOutput) @@ -2336,6 +2679,12 @@ func (o LatencyPercentileResponseArrayOutput) ToLatencyPercentileResponseArrayOu return o } +func (o LatencyPercentileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LatencyPercentileResponse] { + return pulumix.Output[[]LatencyPercentileResponse]{ + OutputState: o.OutputState, + } +} + func (o LatencyPercentileResponseArrayOutput) Index(i pulumi.IntInput) LatencyPercentileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LatencyPercentileResponse { return vs[0].([]LatencyPercentileResponse)[vs[1].(int)] @@ -2371,6 +2720,12 @@ func (o LoadBalancerBackendResponseOutput) ToLoadBalancerBackendResponseOutputWi return o } +func (o LoadBalancerBackendResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoadBalancerBackendResponse] { + return pulumix.Output[LoadBalancerBackendResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Compute Engine instance or network endpoint. func (o LoadBalancerBackendResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LoadBalancerBackendResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2410,6 +2765,12 @@ func (o LoadBalancerBackendResponseArrayOutput) ToLoadBalancerBackendResponseArr return o } +func (o LoadBalancerBackendResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LoadBalancerBackendResponse] { + return pulumix.Output[[]LoadBalancerBackendResponse]{ + OutputState: o.OutputState, + } +} + func (o LoadBalancerBackendResponseArrayOutput) Index(i pulumi.IntInput) LoadBalancerBackendResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoadBalancerBackendResponse { return vs[0].([]LoadBalancerBackendResponse)[vs[1].(int)] @@ -2445,6 +2806,12 @@ func (o LoadBalancerInfoResponseOutput) ToLoadBalancerInfoResponseOutputWithCont return o } +func (o LoadBalancerInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoadBalancerInfoResponse] { + return pulumix.Output[LoadBalancerInfoResponse]{ + OutputState: o.OutputState, + } +} + // Type of load balancer's backend configuration. func (o LoadBalancerInfoResponseOutput) BackendType() pulumi.StringOutput { return o.ApplyT(func(v LoadBalancerInfoResponse) string { return v.BackendType }).(pulumi.StringOutput) @@ -2495,6 +2862,12 @@ func (o NetworkInfoResponseOutput) ToNetworkInfoResponseOutputWithContext(ctx co return o } +func (o NetworkInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInfoResponse] { + return pulumix.Output[NetworkInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a Compute Engine network. func (o NetworkInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v NetworkInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -2547,6 +2920,12 @@ func (o ProbingDetailsResponseOutput) ToProbingDetailsResponseOutputWithContext( return o } +func (o ProbingDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProbingDetailsResponse] { + return pulumix.Output[ProbingDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The reason probing was aborted. func (o ProbingDetailsResponseOutput) AbortCause() pulumi.StringOutput { return o.ApplyT(func(v ProbingDetailsResponse) string { return v.AbortCause }).(pulumi.StringOutput) @@ -2619,6 +2998,12 @@ func (o ReachabilityDetailsResponseOutput) ToReachabilityDetailsResponseOutputWi return o } +func (o ReachabilityDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReachabilityDetailsResponse] { + return pulumix.Output[ReachabilityDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The details of a failure or a cancellation of reachability analysis. func (o ReachabilityDetailsResponseOutput) Error() StatusResponseOutput { return o.ApplyT(func(v ReachabilityDetailsResponse) StatusResponse { return v.Error }).(StatusResponseOutput) @@ -2684,6 +3069,12 @@ func (o RouteInfoResponseOutput) ToRouteInfoResponseOutputWithContext(ctx contex return o } +func (o RouteInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RouteInfoResponse] { + return pulumix.Output[RouteInfoResponse]{ + OutputState: o.OutputState, + } +} + // Destination IP range of the route. func (o RouteInfoResponseOutput) DestIpRange() pulumi.StringOutput { return o.ApplyT(func(v RouteInfoResponse) string { return v.DestIpRange }).(pulumi.StringOutput) @@ -2774,6 +3165,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -2854,6 +3251,12 @@ func (o StepResponseOutput) ToStepResponseOutputWithContext(ctx context.Context) return o } +func (o StepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StepResponse] { + return pulumix.Output[StepResponse]{ + OutputState: o.OutputState, + } +} + // Display information of the final state "abort" and reason. func (o StepResponseOutput) Abort() AbortInfoResponseOutput { return o.ApplyT(func(v StepResponse) AbortInfoResponse { return v.Abort }).(AbortInfoResponseOutput) @@ -2983,6 +3386,12 @@ func (o StepResponseArrayOutput) ToStepResponseArrayOutputWithContext(ctx contex return o } +func (o StepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StepResponse] { + return pulumix.Output[[]StepResponse]{ + OutputState: o.OutputState, + } +} + func (o StepResponseArrayOutput) Index(i pulumi.IntInput) StepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StepResponse { return vs[0].([]StepResponse)[vs[1].(int)] @@ -3012,6 +3421,12 @@ func (o TraceResponseOutput) ToTraceResponseOutputWithContext(ctx context.Contex return o } +func (o TraceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TraceResponse] { + return pulumix.Output[TraceResponse]{ + OutputState: o.OutputState, + } +} + // Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. If there are multiple traces starting from different source locations, then the endpoint_info may be different between traces. func (o TraceResponseOutput) EndpointInfo() EndpointInfoResponseOutput { return o.ApplyT(func(v TraceResponse) EndpointInfoResponse { return v.EndpointInfo }).(EndpointInfoResponseOutput) @@ -3036,6 +3451,12 @@ func (o TraceResponseArrayOutput) ToTraceResponseArrayOutputWithContext(ctx cont return o } +func (o TraceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TraceResponse] { + return pulumix.Output[[]TraceResponse]{ + OutputState: o.OutputState, + } +} + func (o TraceResponseArrayOutput) Index(i pulumi.IntInput) TraceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TraceResponse { return vs[0].([]TraceResponse)[vs[1].(int)] @@ -3067,6 +3488,12 @@ func (o VpcConnectorInfoResponseOutput) ToVpcConnectorInfoResponseOutputWithCont return o } +func (o VpcConnectorInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpcConnectorInfoResponse] { + return pulumix.Output[VpcConnectorInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a VPC connector. func (o VpcConnectorInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v VpcConnectorInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -3113,6 +3540,12 @@ func (o VpnGatewayInfoResponseOutput) ToVpnGatewayInfoResponseOutputWithContext( return o } +func (o VpnGatewayInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpnGatewayInfoResponse] { + return pulumix.Output[VpnGatewayInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a VPN gateway. func (o VpnGatewayInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v VpnGatewayInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) @@ -3180,6 +3613,12 @@ func (o VpnTunnelInfoResponseOutput) ToVpnTunnelInfoResponseOutputWithContext(ct return o } +func (o VpnTunnelInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VpnTunnelInfoResponse] { + return pulumix.Output[VpnTunnelInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of a VPN tunnel. func (o VpnTunnelInfoResponseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v VpnTunnelInfoResponse) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1/authorizationPolicy.go b/sdk/go/google/networksecurity/v1/authorizationPolicy.go index 208d3c6b09..6dfd68f477 100644 --- a/sdk/go/google/networksecurity/v1/authorizationPolicy.go +++ b/sdk/go/google/networksecurity/v1/authorizationPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new AuthorizationPolicy in a given project and location. @@ -145,6 +146,12 @@ func (i *AuthorizationPolicy) ToAuthorizationPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AuthorizationPolicyOutput) } +func (i *AuthorizationPolicy) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicy] { + return pulumix.Output[*AuthorizationPolicy]{ + OutputState: i.ToAuthorizationPolicyOutputWithContext(ctx).OutputState, + } +} + type AuthorizationPolicyOutput struct{ *pulumi.OutputState } func (AuthorizationPolicyOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o AuthorizationPolicyOutput) ToAuthorizationPolicyOutputWithContext(ctx co return o } +func (o AuthorizationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicy] { + return pulumix.Output[*AuthorizationPolicy]{ + OutputState: o.OutputState, + } +} + // The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". func (o AuthorizationPolicyOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v *AuthorizationPolicy) pulumi.StringOutput { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1/authorizationPolicyIamBinding.go b/sdk/go/google/networksecurity/v1/authorizationPolicyIamBinding.go index 542b757dee..b243642a1e 100644 --- a/sdk/go/google/networksecurity/v1/authorizationPolicyIamBinding.go +++ b/sdk/go/google/networksecurity/v1/authorizationPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AuthorizationPolicyIamBinding) ToAuthorizationPolicyIamBindingOutputWit return pulumi.ToOutputWithContext(ctx, i).(AuthorizationPolicyIamBindingOutput) } +func (i *AuthorizationPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamBinding] { + return pulumix.Output[*AuthorizationPolicyIamBinding]{ + OutputState: i.ToAuthorizationPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type AuthorizationPolicyIamBindingOutput struct{ *pulumi.OutputState } func (AuthorizationPolicyIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AuthorizationPolicyIamBindingOutput) ToAuthorizationPolicyIamBindingOutp return o } +func (o AuthorizationPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamBinding] { + return pulumix.Output[*AuthorizationPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AuthorizationPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AuthorizationPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1/authorizationPolicyIamMember.go b/sdk/go/google/networksecurity/v1/authorizationPolicyIamMember.go index 11c6477567..68de59a440 100644 --- a/sdk/go/google/networksecurity/v1/authorizationPolicyIamMember.go +++ b/sdk/go/google/networksecurity/v1/authorizationPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AuthorizationPolicyIamMember) ToAuthorizationPolicyIamMemberOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AuthorizationPolicyIamMemberOutput) } +func (i *AuthorizationPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamMember] { + return pulumix.Output[*AuthorizationPolicyIamMember]{ + OutputState: i.ToAuthorizationPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type AuthorizationPolicyIamMemberOutput struct{ *pulumi.OutputState } func (AuthorizationPolicyIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AuthorizationPolicyIamMemberOutput) ToAuthorizationPolicyIamMemberOutput return o } +func (o AuthorizationPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamMember] { + return pulumix.Output[*AuthorizationPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AuthorizationPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AuthorizationPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1/authorizationPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1/authorizationPolicyIamPolicy.go index c7d96c5139..9268d2d61a 100644 --- a/sdk/go/google/networksecurity/v1/authorizationPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1/authorizationPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *AuthorizationPolicyIamPolicy) ToAuthorizationPolicyIamPolicyOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AuthorizationPolicyIamPolicyOutput) } +func (i *AuthorizationPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamPolicy] { + return pulumix.Output[*AuthorizationPolicyIamPolicy]{ + OutputState: i.ToAuthorizationPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AuthorizationPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (AuthorizationPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AuthorizationPolicyIamPolicyOutput) ToAuthorizationPolicyIamPolicyOutput return o } +func (o AuthorizationPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamPolicy] { + return pulumix.Output[*AuthorizationPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o AuthorizationPolicyIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *AuthorizationPolicyIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1/clientTlsPolicy.go b/sdk/go/google/networksecurity/v1/clientTlsPolicy.go index ca8a184141..952674dead 100644 --- a/sdk/go/google/networksecurity/v1/clientTlsPolicy.go +++ b/sdk/go/google/networksecurity/v1/clientTlsPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ClientTlsPolicy in a given project and location. @@ -148,6 +149,12 @@ func (i *ClientTlsPolicy) ToClientTlsPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ClientTlsPolicyOutput) } +func (i *ClientTlsPolicy) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicy] { + return pulumix.Output[*ClientTlsPolicy]{ + OutputState: i.ToClientTlsPolicyOutputWithContext(ctx).OutputState, + } +} + type ClientTlsPolicyOutput struct{ *pulumi.OutputState } func (ClientTlsPolicyOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o ClientTlsPolicyOutput) ToClientTlsPolicyOutputWithContext(ctx context.Co return o } +func (o ClientTlsPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicy] { + return pulumix.Output[*ClientTlsPolicy]{ + OutputState: o.OutputState, + } +} + // Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS. func (o ClientTlsPolicyOutput) ClientCertificate() GoogleCloudNetworksecurityV1CertificateProviderResponseOutput { return o.ApplyT(func(v *ClientTlsPolicy) GoogleCloudNetworksecurityV1CertificateProviderResponseOutput { diff --git a/sdk/go/google/networksecurity/v1/clientTlsPolicyIamBinding.go b/sdk/go/google/networksecurity/v1/clientTlsPolicyIamBinding.go index 4cab7d5f66..b9cf7a8c45 100644 --- a/sdk/go/google/networksecurity/v1/clientTlsPolicyIamBinding.go +++ b/sdk/go/google/networksecurity/v1/clientTlsPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientTlsPolicyIamBinding) ToClientTlsPolicyIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ClientTlsPolicyIamBindingOutput) } +func (i *ClientTlsPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamBinding] { + return pulumix.Output[*ClientTlsPolicyIamBinding]{ + OutputState: i.ToClientTlsPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type ClientTlsPolicyIamBindingOutput struct{ *pulumi.OutputState } func (ClientTlsPolicyIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientTlsPolicyIamBindingOutput) ToClientTlsPolicyIamBindingOutputWithCo return o } +func (o ClientTlsPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamBinding] { + return pulumix.Output[*ClientTlsPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientTlsPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientTlsPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1/clientTlsPolicyIamMember.go b/sdk/go/google/networksecurity/v1/clientTlsPolicyIamMember.go index 60bbb6dbcd..90c54128db 100644 --- a/sdk/go/google/networksecurity/v1/clientTlsPolicyIamMember.go +++ b/sdk/go/google/networksecurity/v1/clientTlsPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientTlsPolicyIamMember) ToClientTlsPolicyIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ClientTlsPolicyIamMemberOutput) } +func (i *ClientTlsPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamMember] { + return pulumix.Output[*ClientTlsPolicyIamMember]{ + OutputState: i.ToClientTlsPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type ClientTlsPolicyIamMemberOutput struct{ *pulumi.OutputState } func (ClientTlsPolicyIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientTlsPolicyIamMemberOutput) ToClientTlsPolicyIamMemberOutputWithCont return o } +func (o ClientTlsPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamMember] { + return pulumix.Output[*ClientTlsPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientTlsPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientTlsPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1/clientTlsPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1/clientTlsPolicyIamPolicy.go index 52c12a1339..d77ae1707f 100644 --- a/sdk/go/google/networksecurity/v1/clientTlsPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1/clientTlsPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ClientTlsPolicyIamPolicy) ToClientTlsPolicyIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ClientTlsPolicyIamPolicyOutput) } +func (i *ClientTlsPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamPolicy] { + return pulumix.Output[*ClientTlsPolicyIamPolicy]{ + OutputState: i.ToClientTlsPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ClientTlsPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (ClientTlsPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ClientTlsPolicyIamPolicyOutput) ToClientTlsPolicyIamPolicyOutputWithCont return o } +func (o ClientTlsPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamPolicy] { + return pulumix.Output[*ClientTlsPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ClientTlsPolicyIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ClientTlsPolicyIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1/gatewaySecurityPolicy.go b/sdk/go/google/networksecurity/v1/gatewaySecurityPolicy.go index 9ccc529561..d2ca23bff2 100644 --- a/sdk/go/google/networksecurity/v1/gatewaySecurityPolicy.go +++ b/sdk/go/google/networksecurity/v1/gatewaySecurityPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new GatewaySecurityPolicy in a given project and location. @@ -130,6 +131,12 @@ func (i *GatewaySecurityPolicy) ToGatewaySecurityPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GatewaySecurityPolicyOutput) } +func (i *GatewaySecurityPolicy) ToOutput(ctx context.Context) pulumix.Output[*GatewaySecurityPolicy] { + return pulumix.Output[*GatewaySecurityPolicy]{ + OutputState: i.ToGatewaySecurityPolicyOutputWithContext(ctx).OutputState, + } +} + type GatewaySecurityPolicyOutput struct{ *pulumi.OutputState } func (GatewaySecurityPolicyOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o GatewaySecurityPolicyOutput) ToGatewaySecurityPolicyOutputWithContext(ct return o } +func (o GatewaySecurityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewaySecurityPolicy] { + return pulumix.Output[*GatewaySecurityPolicy]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o GatewaySecurityPolicyOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *GatewaySecurityPolicy) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1/getAuthorizationPolicy.go b/sdk/go/google/networksecurity/v1/getAuthorizationPolicy.go index 19dc845995..ae9da60e81 100644 --- a/sdk/go/google/networksecurity/v1/getAuthorizationPolicy.go +++ b/sdk/go/google/networksecurity/v1/getAuthorizationPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single AuthorizationPolicy. @@ -82,6 +83,12 @@ func (o LookupAuthorizationPolicyResultOutput) ToLookupAuthorizationPolicyResult return o } +func (o LookupAuthorizationPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthorizationPolicyResult] { + return pulumix.Output[LookupAuthorizationPolicyResult]{ + OutputState: o.OutputState, + } +} + // The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". func (o LookupAuthorizationPolicyResultOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v LookupAuthorizationPolicyResult) string { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1/getAuthorizationPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1/getAuthorizationPolicyIamPolicy.go index 76731d04f6..69ffbf49a5 100644 --- a/sdk/go/google/networksecurity/v1/getAuthorizationPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1/getAuthorizationPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupAuthorizationPolicyIamPolicyResultOutput) ToLookupAuthorizationPol return o } +func (o LookupAuthorizationPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthorizationPolicyIamPolicyResult] { + return pulumix.Output[LookupAuthorizationPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAuthorizationPolicyIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAuthorizationPolicyIamPolicyResult) []GoogleIamV1AuditConfigResponse { diff --git a/sdk/go/google/networksecurity/v1/getClientTlsPolicy.go b/sdk/go/google/networksecurity/v1/getClientTlsPolicy.go index b02216bf0c..2684b6ec71 100644 --- a/sdk/go/google/networksecurity/v1/getClientTlsPolicy.go +++ b/sdk/go/google/networksecurity/v1/getClientTlsPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ClientTlsPolicy. @@ -84,6 +85,12 @@ func (o LookupClientTlsPolicyResultOutput) ToLookupClientTlsPolicyResultOutputWi return o } +func (o LookupClientTlsPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClientTlsPolicyResult] { + return pulumix.Output[LookupClientTlsPolicyResult]{ + OutputState: o.OutputState, + } +} + // Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS. func (o LookupClientTlsPolicyResultOutput) ClientCertificate() GoogleCloudNetworksecurityV1CertificateProviderResponseOutput { return o.ApplyT(func(v LookupClientTlsPolicyResult) GoogleCloudNetworksecurityV1CertificateProviderResponse { diff --git a/sdk/go/google/networksecurity/v1/getClientTlsPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1/getClientTlsPolicyIamPolicy.go index f49e6105e2..d5e5195740 100644 --- a/sdk/go/google/networksecurity/v1/getClientTlsPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1/getClientTlsPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupClientTlsPolicyIamPolicyResultOutput) ToLookupClientTlsPolicyIamPo return o } +func (o LookupClientTlsPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClientTlsPolicyIamPolicyResult] { + return pulumix.Output[LookupClientTlsPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupClientTlsPolicyIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupClientTlsPolicyIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1/getGatewaySecurityPolicy.go b/sdk/go/google/networksecurity/v1/getGatewaySecurityPolicy.go index ddf9e22267..6e4c6b33f6 100644 --- a/sdk/go/google/networksecurity/v1/getGatewaySecurityPolicy.go +++ b/sdk/go/google/networksecurity/v1/getGatewaySecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single GatewaySecurityPolicy. @@ -78,6 +79,12 @@ func (o LookupGatewaySecurityPolicyResultOutput) ToLookupGatewaySecurityPolicyRe return o } +func (o LookupGatewaySecurityPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewaySecurityPolicyResult] { + return pulumix.Output[LookupGatewaySecurityPolicyResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupGatewaySecurityPolicyResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupGatewaySecurityPolicyResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1/getRule.go b/sdk/go/google/networksecurity/v1/getRule.go index b81e10fd5f..71a7cfca40 100644 --- a/sdk/go/google/networksecurity/v1/getRule.go +++ b/sdk/go/google/networksecurity/v1/getRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single GatewaySecurityPolicyRule. @@ -90,6 +91,12 @@ func (o LookupRuleResultOutput) ToLookupRuleResultOutputWithContext(ctx context. return o } +func (o LookupRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRuleResult] { + return pulumix.Output[LookupRuleResult]{ + OutputState: o.OutputState, + } +} + // Optional. CEL expression for matching on L7/application level criteria. func (o LookupRuleResultOutput) ApplicationMatcher() pulumi.StringOutput { return o.ApplyT(func(v LookupRuleResult) string { return v.ApplicationMatcher }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1/getServerTlsPolicy.go b/sdk/go/google/networksecurity/v1/getServerTlsPolicy.go index f657a5aacb..3a3420d517 100644 --- a/sdk/go/google/networksecurity/v1/getServerTlsPolicy.go +++ b/sdk/go/google/networksecurity/v1/getServerTlsPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ServerTlsPolicy. @@ -84,6 +85,12 @@ func (o LookupServerTlsPolicyResultOutput) ToLookupServerTlsPolicyResultOutputWi return o } +func (o LookupServerTlsPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServerTlsPolicyResult] { + return pulumix.Output[LookupServerTlsPolicyResult]{ + OutputState: o.OutputState, + } +} + // This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. func (o LookupServerTlsPolicyResultOutput) AllowOpen() pulumi.BoolOutput { return o.ApplyT(func(v LookupServerTlsPolicyResult) bool { return v.AllowOpen }).(pulumi.BoolOutput) diff --git a/sdk/go/google/networksecurity/v1/getServerTlsPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1/getServerTlsPolicyIamPolicy.go index 98dbe9398d..aece2f7a6d 100644 --- a/sdk/go/google/networksecurity/v1/getServerTlsPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1/getServerTlsPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupServerTlsPolicyIamPolicyResultOutput) ToLookupServerTlsPolicyIamPo return o } +func (o LookupServerTlsPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServerTlsPolicyIamPolicyResult] { + return pulumix.Output[LookupServerTlsPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServerTlsPolicyIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServerTlsPolicyIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1/getTlsInspectionPolicy.go b/sdk/go/google/networksecurity/v1/getTlsInspectionPolicy.go index c3ac6d3566..b07f71a255 100644 --- a/sdk/go/google/networksecurity/v1/getTlsInspectionPolicy.go +++ b/sdk/go/google/networksecurity/v1/getTlsInspectionPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single TlsInspectionPolicy. @@ -78,6 +79,12 @@ func (o LookupTlsInspectionPolicyResultOutput) ToLookupTlsInspectionPolicyResult return o } +func (o LookupTlsInspectionPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTlsInspectionPolicyResult] { + return pulumix.Output[LookupTlsInspectionPolicyResult]{ + OutputState: o.OutputState, + } +} + // A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}". func (o LookupTlsInspectionPolicyResultOutput) CaPool() pulumi.StringOutput { return o.ApplyT(func(v LookupTlsInspectionPolicyResult) string { return v.CaPool }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1/getUrlList.go b/sdk/go/google/networksecurity/v1/getUrlList.go index 4ccfd28db0..d5a27e10e1 100644 --- a/sdk/go/google/networksecurity/v1/getUrlList.go +++ b/sdk/go/google/networksecurity/v1/getUrlList.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single UrlList. @@ -78,6 +79,12 @@ func (o LookupUrlListResultOutput) ToLookupUrlListResultOutputWithContext(ctx co return o } +func (o LookupUrlListResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUrlListResult] { + return pulumix.Output[LookupUrlListResult]{ + OutputState: o.OutputState, + } +} + // Time when the security policy was created. func (o LookupUrlListResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupUrlListResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1/pulumiEnums.go b/sdk/go/google/networksecurity/v1/pulumiEnums.go index 446ce898a5..27e2f63829 100644 --- a/sdk/go/google/networksecurity/v1/pulumiEnums.go +++ b/sdk/go/google/networksecurity/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". @@ -82,6 +83,12 @@ func (o AuthorizationPolicyActionOutput) ToAuthorizationPolicyActionPtrOutputWit }).(AuthorizationPolicyActionPtrOutput) } +func (o AuthorizationPolicyActionOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationPolicyAction] { + return pulumix.Output[AuthorizationPolicyAction]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationPolicyActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o AuthorizationPolicyActionPtrOutput) ToAuthorizationPolicyActionPtrOutput return o } +func (o AuthorizationPolicyActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyAction] { + return pulumix.Output[*AuthorizationPolicyAction]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationPolicyActionPtrOutput) Elem() AuthorizationPolicyActionOutput { return o.ApplyT(func(v *AuthorizationPolicyAction) AuthorizationPolicyAction { if v != nil { @@ -179,6 +192,12 @@ func (in *authorizationPolicyActionPtr) ToAuthorizationPolicyActionPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(AuthorizationPolicyActionPtrOutput) } +func (in *authorizationPolicyActionPtr) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyAction] { + return pulumix.Output[*AuthorizationPolicyAction]{ + OutputState: in.ToAuthorizationPolicyActionPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -253,6 +272,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -350,6 +381,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the external HTTPS load balancing. For Traffic Director it must be empty. type MTLSPolicyClientValidationMode string @@ -422,6 +459,12 @@ func (o MTLSPolicyClientValidationModeOutput) ToMTLSPolicyClientValidationModePt }).(MTLSPolicyClientValidationModePtrOutput) } +func (o MTLSPolicyClientValidationModeOutput) ToOutput(ctx context.Context) pulumix.Output[MTLSPolicyClientValidationMode] { + return pulumix.Output[MTLSPolicyClientValidationMode]{ + OutputState: o.OutputState, + } +} + func (o MTLSPolicyClientValidationModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o MTLSPolicyClientValidationModePtrOutput) ToMTLSPolicyClientValidationMod return o } +func (o MTLSPolicyClientValidationModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MTLSPolicyClientValidationMode] { + return pulumix.Output[*MTLSPolicyClientValidationMode]{ + OutputState: o.OutputState, + } +} + func (o MTLSPolicyClientValidationModePtrOutput) Elem() MTLSPolicyClientValidationModeOutput { return o.ApplyT(func(v *MTLSPolicyClientValidationMode) MTLSPolicyClientValidationMode { if v != nil { @@ -519,6 +568,12 @@ func (in *mtlspolicyClientValidationModePtr) ToMTLSPolicyClientValidationModePtr return pulumi.ToOutputWithContext(ctx, in).(MTLSPolicyClientValidationModePtrOutput) } +func (in *mtlspolicyClientValidationModePtr) ToOutput(ctx context.Context) pulumix.Output[*MTLSPolicyClientValidationMode] { + return pulumix.Output[*MTLSPolicyClientValidationMode]{ + OutputState: in.ToMTLSPolicyClientValidationModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Profile which tells what the primitive action should be. type RuleBasicProfile string @@ -591,6 +646,12 @@ func (o RuleBasicProfileOutput) ToRuleBasicProfilePtrOutputWithContext(ctx conte }).(RuleBasicProfilePtrOutput) } +func (o RuleBasicProfileOutput) ToOutput(ctx context.Context) pulumix.Output[RuleBasicProfile] { + return pulumix.Output[RuleBasicProfile]{ + OutputState: o.OutputState, + } +} + func (o RuleBasicProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o RuleBasicProfilePtrOutput) ToRuleBasicProfilePtrOutputWithContext(ctx co return o } +func (o RuleBasicProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuleBasicProfile] { + return pulumix.Output[*RuleBasicProfile]{ + OutputState: o.OutputState, + } +} + func (o RuleBasicProfilePtrOutput) Elem() RuleBasicProfileOutput { return o.ApplyT(func(v *RuleBasicProfile) RuleBasicProfile { if v != nil { @@ -688,6 +755,12 @@ func (in *ruleBasicProfilePtr) ToRuleBasicProfilePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(RuleBasicProfilePtrOutput) } +func (in *ruleBasicProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*RuleBasicProfile] { + return pulumix.Output[*RuleBasicProfile]{ + OutputState: in.ToRuleBasicProfilePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuthorizationPolicyActionInput)(nil)).Elem(), AuthorizationPolicyAction("ACTION_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuthorizationPolicyActionPtrInput)(nil)).Elem(), AuthorizationPolicyAction("ACTION_UNSPECIFIED")) diff --git a/sdk/go/google/networksecurity/v1/pulumiTypes.go b/sdk/go/google/networksecurity/v1/pulumiTypes.go index 2cd37bbba8..d80ebde9d9 100644 --- a/sdk/go/google/networksecurity/v1/pulumiTypes.go +++ b/sdk/go/google/networksecurity/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i CertificateProviderInstanceArgs) ToCertificateProviderInstanceOutputWith return pulumi.ToOutputWithContext(ctx, i).(CertificateProviderInstanceOutput) } +func (i CertificateProviderInstanceArgs) ToOutput(ctx context.Context) pulumix.Output[CertificateProviderInstance] { + return pulumix.Output[CertificateProviderInstance]{ + OutputState: i.ToCertificateProviderInstanceOutputWithContext(ctx).OutputState, + } +} + func (i CertificateProviderInstanceArgs) ToCertificateProviderInstancePtrOutput() CertificateProviderInstancePtrOutput { return i.ToCertificateProviderInstancePtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *certificateProviderInstancePtrType) ToCertificateProviderInstancePtrOut return pulumi.ToOutputWithContext(ctx, i).(CertificateProviderInstancePtrOutput) } +func (i *certificateProviderInstancePtrType) ToOutput(ctx context.Context) pulumix.Output[*CertificateProviderInstance] { + return pulumix.Output[*CertificateProviderInstance]{ + OutputState: i.ToCertificateProviderInstancePtrOutputWithContext(ctx).OutputState, + } +} + // Specification of a TLS certificate provider instance. Workloads may have one or more CertificateProvider instances (plugins) and one of them is enabled and configured by specifying this message. Workloads use the values from this message to locate and load the CertificateProvider instance configuration. type CertificateProviderInstanceOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o CertificateProviderInstanceOutput) ToCertificateProviderInstancePtrOutpu }).(CertificateProviderInstancePtrOutput) } +func (o CertificateProviderInstanceOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateProviderInstance] { + return pulumix.Output[CertificateProviderInstance]{ + OutputState: o.OutputState, + } +} + // Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance. func (o CertificateProviderInstanceOutput) PluginInstance() pulumi.StringOutput { return o.ApplyT(func(v CertificateProviderInstance) string { return v.PluginInstance }).(pulumi.StringOutput) @@ -133,6 +152,12 @@ func (o CertificateProviderInstancePtrOutput) ToCertificateProviderInstancePtrOu return o } +func (o CertificateProviderInstancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateProviderInstance] { + return pulumix.Output[*CertificateProviderInstance]{ + OutputState: o.OutputState, + } +} + func (o CertificateProviderInstancePtrOutput) Elem() CertificateProviderInstanceOutput { return o.ApplyT(func(v *CertificateProviderInstance) CertificateProviderInstance { if v != nil { @@ -174,6 +199,12 @@ func (o CertificateProviderInstanceResponseOutput) ToCertificateProviderInstance return o } +func (o CertificateProviderInstanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateProviderInstanceResponse] { + return pulumix.Output[CertificateProviderInstanceResponse]{ + OutputState: o.OutputState, + } +} + // Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance. func (o CertificateProviderInstanceResponseOutput) PluginInstance() pulumi.StringOutput { return o.ApplyT(func(v CertificateProviderInstanceResponse) string { return v.PluginInstance }).(pulumi.StringOutput) @@ -226,6 +257,12 @@ func (i DestinationArgs) ToDestinationOutputWithContext(ctx context.Context) Des return pulumi.ToOutputWithContext(ctx, i).(DestinationOutput) } +func (i DestinationArgs) ToOutput(ctx context.Context) pulumix.Output[Destination] { + return pulumix.Output[Destination]{ + OutputState: i.ToDestinationOutputWithContext(ctx).OutputState, + } +} + // DestinationArrayInput is an input type that accepts DestinationArray and DestinationArrayOutput values. // You can construct a concrete instance of `DestinationArrayInput` via: // @@ -251,6 +288,12 @@ func (i DestinationArray) ToDestinationArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DestinationArrayOutput) } +func (i DestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]Destination] { + return pulumix.Output[[]Destination]{ + OutputState: i.ToDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Specification of traffic destination attributes. type DestinationOutput struct{ *pulumi.OutputState } @@ -266,6 +309,12 @@ func (o DestinationOutput) ToDestinationOutputWithContext(ctx context.Context) D return o } +func (o DestinationOutput) ToOutput(ctx context.Context) pulumix.Output[Destination] { + return pulumix.Output[Destination]{ + OutputState: o.OutputState, + } +} + // List of host names to match. Matched against the ":authority" header in http requests. At least one host should match. Each host can be an exact match, or a prefix match (example "mydomain.*") or a suffix match (example "*.myorg.com") or a presence (any) match "*". func (o DestinationOutput) Hosts() pulumi.StringArrayOutput { return o.ApplyT(func(v Destination) []string { return v.Hosts }).(pulumi.StringArrayOutput) @@ -300,6 +349,12 @@ func (o DestinationArrayOutput) ToDestinationArrayOutputWithContext(ctx context. return o } +func (o DestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Destination] { + return pulumix.Output[[]Destination]{ + OutputState: o.OutputState, + } +} + func (o DestinationArrayOutput) Index(i pulumi.IntInput) DestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Destination { return vs[0].([]Destination)[vs[1].(int)] @@ -333,6 +388,12 @@ func (o DestinationResponseOutput) ToDestinationResponseOutputWithContext(ctx co return o } +func (o DestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationResponse] { + return pulumix.Output[DestinationResponse]{ + OutputState: o.OutputState, + } +} + // List of host names to match. Matched against the ":authority" header in http requests. At least one host should match. Each host can be an exact match, or a prefix match (example "mydomain.*") or a suffix match (example "*.myorg.com") or a presence (any) match "*". func (o DestinationResponseOutput) Hosts() pulumi.StringArrayOutput { return o.ApplyT(func(v DestinationResponse) []string { return v.Hosts }).(pulumi.StringArrayOutput) @@ -367,6 +428,12 @@ func (o DestinationResponseArrayOutput) ToDestinationResponseArrayOutputWithCont return o } +func (o DestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DestinationResponse] { + return pulumix.Output[[]DestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o DestinationResponseArrayOutput) Index(i pulumi.IntInput) DestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DestinationResponse { return vs[0].([]DestinationResponse)[vs[1].(int)] @@ -420,6 +487,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -461,6 +534,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -486,6 +565,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -520,6 +605,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -597,6 +688,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -656,6 +753,12 @@ func (i GoogleCloudNetworksecurityV1CertificateProviderArgs) ToGoogleCloudNetwor return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudNetworksecurityV1CertificateProviderOutput) } +func (i GoogleCloudNetworksecurityV1CertificateProviderArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1CertificateProvider] { + return pulumix.Output[GoogleCloudNetworksecurityV1CertificateProvider]{ + OutputState: i.ToGoogleCloudNetworksecurityV1CertificateProviderOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudNetworksecurityV1CertificateProviderArgs) ToGoogleCloudNetworksecurityV1CertificateProviderPtrOutput() GoogleCloudNetworksecurityV1CertificateProviderPtrOutput { return i.ToGoogleCloudNetworksecurityV1CertificateProviderPtrOutputWithContext(context.Background()) } @@ -697,6 +800,12 @@ func (i *googleCloudNetworksecurityV1CertificateProviderPtrType) ToGoogleCloudNe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudNetworksecurityV1CertificateProviderPtrOutput) } +func (i *googleCloudNetworksecurityV1CertificateProviderPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudNetworksecurityV1CertificateProvider] { + return pulumix.Output[*GoogleCloudNetworksecurityV1CertificateProvider]{ + OutputState: i.ToGoogleCloudNetworksecurityV1CertificateProviderPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of certificate provider. Defines the mechanism to obtain the certificate and private key for peer to peer authentication. type GoogleCloudNetworksecurityV1CertificateProviderOutput struct{ *pulumi.OutputState } @@ -722,6 +831,12 @@ func (o GoogleCloudNetworksecurityV1CertificateProviderOutput) ToGoogleCloudNetw }).(GoogleCloudNetworksecurityV1CertificateProviderPtrOutput) } +func (o GoogleCloudNetworksecurityV1CertificateProviderOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1CertificateProvider] { + return pulumix.Output[GoogleCloudNetworksecurityV1CertificateProvider]{ + OutputState: o.OutputState, + } +} + // The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. func (o GoogleCloudNetworksecurityV1CertificateProviderOutput) CertificateProviderInstance() CertificateProviderInstancePtrOutput { return o.ApplyT(func(v GoogleCloudNetworksecurityV1CertificateProvider) *CertificateProviderInstance { @@ -750,6 +865,12 @@ func (o GoogleCloudNetworksecurityV1CertificateProviderPtrOutput) ToGoogleCloudN return o } +func (o GoogleCloudNetworksecurityV1CertificateProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudNetworksecurityV1CertificateProvider] { + return pulumix.Output[*GoogleCloudNetworksecurityV1CertificateProvider]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudNetworksecurityV1CertificateProviderPtrOutput) Elem() GoogleCloudNetworksecurityV1CertificateProviderOutput { return o.ApplyT(func(v *GoogleCloudNetworksecurityV1CertificateProvider) GoogleCloudNetworksecurityV1CertificateProvider { if v != nil { @@ -803,6 +924,12 @@ func (o GoogleCloudNetworksecurityV1CertificateProviderResponseOutput) ToGoogleC return o } +func (o GoogleCloudNetworksecurityV1CertificateProviderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1CertificateProviderResponse] { + return pulumix.Output[GoogleCloudNetworksecurityV1CertificateProviderResponse]{ + OutputState: o.OutputState, + } +} + // The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. func (o GoogleCloudNetworksecurityV1CertificateProviderResponseOutput) CertificateProviderInstance() CertificateProviderInstanceResponseOutput { return o.ApplyT(func(v GoogleCloudNetworksecurityV1CertificateProviderResponse) CertificateProviderInstanceResponse { @@ -852,6 +979,12 @@ func (i GoogleCloudNetworksecurityV1GrpcEndpointArgs) ToGoogleCloudNetworksecuri return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudNetworksecurityV1GrpcEndpointOutput) } +func (i GoogleCloudNetworksecurityV1GrpcEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1GrpcEndpoint] { + return pulumix.Output[GoogleCloudNetworksecurityV1GrpcEndpoint]{ + OutputState: i.ToGoogleCloudNetworksecurityV1GrpcEndpointOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudNetworksecurityV1GrpcEndpointArgs) ToGoogleCloudNetworksecurityV1GrpcEndpointPtrOutput() GoogleCloudNetworksecurityV1GrpcEndpointPtrOutput { return i.ToGoogleCloudNetworksecurityV1GrpcEndpointPtrOutputWithContext(context.Background()) } @@ -893,6 +1026,12 @@ func (i *googleCloudNetworksecurityV1GrpcEndpointPtrType) ToGoogleCloudNetworkse return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudNetworksecurityV1GrpcEndpointPtrOutput) } +func (i *googleCloudNetworksecurityV1GrpcEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudNetworksecurityV1GrpcEndpoint] { + return pulumix.Output[*GoogleCloudNetworksecurityV1GrpcEndpoint]{ + OutputState: i.ToGoogleCloudNetworksecurityV1GrpcEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of the GRPC Endpoint. type GoogleCloudNetworksecurityV1GrpcEndpointOutput struct{ *pulumi.OutputState } @@ -918,6 +1057,12 @@ func (o GoogleCloudNetworksecurityV1GrpcEndpointOutput) ToGoogleCloudNetworksecu }).(GoogleCloudNetworksecurityV1GrpcEndpointPtrOutput) } +func (o GoogleCloudNetworksecurityV1GrpcEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1GrpcEndpoint] { + return pulumix.Output[GoogleCloudNetworksecurityV1GrpcEndpoint]{ + OutputState: o.OutputState, + } +} + // The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:". func (o GoogleCloudNetworksecurityV1GrpcEndpointOutput) TargetUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudNetworksecurityV1GrpcEndpoint) string { return v.TargetUri }).(pulumi.StringOutput) @@ -937,6 +1082,12 @@ func (o GoogleCloudNetworksecurityV1GrpcEndpointPtrOutput) ToGoogleCloudNetworks return o } +func (o GoogleCloudNetworksecurityV1GrpcEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudNetworksecurityV1GrpcEndpoint] { + return pulumix.Output[*GoogleCloudNetworksecurityV1GrpcEndpoint]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudNetworksecurityV1GrpcEndpointPtrOutput) Elem() GoogleCloudNetworksecurityV1GrpcEndpointOutput { return o.ApplyT(func(v *GoogleCloudNetworksecurityV1GrpcEndpoint) GoogleCloudNetworksecurityV1GrpcEndpoint { if v != nil { @@ -978,6 +1129,12 @@ func (o GoogleCloudNetworksecurityV1GrpcEndpointResponseOutput) ToGoogleCloudNet return o } +func (o GoogleCloudNetworksecurityV1GrpcEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1GrpcEndpointResponse] { + return pulumix.Output[GoogleCloudNetworksecurityV1GrpcEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:". func (o GoogleCloudNetworksecurityV1GrpcEndpointResponseOutput) TargetUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudNetworksecurityV1GrpcEndpointResponse) string { return v.TargetUri }).(pulumi.StringOutput) @@ -1022,6 +1179,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -1047,6 +1210,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -1062,6 +1231,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -1086,6 +1261,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -1115,6 +1296,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -1139,6 +1326,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -1184,6 +1377,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -1209,6 +1408,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -1224,6 +1429,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -1248,6 +1459,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -1277,6 +1494,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -1301,6 +1524,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -1350,6 +1579,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -1375,6 +1610,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -1390,6 +1631,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -1419,6 +1666,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -1450,6 +1703,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1479,6 +1738,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -1524,6 +1789,12 @@ func (i HttpHeaderMatchArgs) ToHttpHeaderMatchOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderMatchOutput) } +func (i HttpHeaderMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatch] { + return pulumix.Output[HttpHeaderMatch]{ + OutputState: i.ToHttpHeaderMatchOutputWithContext(ctx).OutputState, + } +} + func (i HttpHeaderMatchArgs) ToHttpHeaderMatchPtrOutput() HttpHeaderMatchPtrOutput { return i.ToHttpHeaderMatchPtrOutputWithContext(context.Background()) } @@ -1565,6 +1836,12 @@ func (i *httpHeaderMatchPtrType) ToHttpHeaderMatchPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderMatchPtrOutput) } +func (i *httpHeaderMatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpHeaderMatch] { + return pulumix.Output[*HttpHeaderMatch]{ + OutputState: i.ToHttpHeaderMatchPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of HTTP header match attributes. type HttpHeaderMatchOutput struct{ *pulumi.OutputState } @@ -1590,6 +1867,12 @@ func (o HttpHeaderMatchOutput) ToHttpHeaderMatchPtrOutputWithContext(ctx context }).(HttpHeaderMatchPtrOutput) } +func (o HttpHeaderMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatch] { + return pulumix.Output[HttpHeaderMatch]{ + OutputState: o.OutputState, + } +} + // The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". func (o HttpHeaderMatchOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v HttpHeaderMatch) string { return v.HeaderName }).(pulumi.StringOutput) @@ -1614,6 +1897,12 @@ func (o HttpHeaderMatchPtrOutput) ToHttpHeaderMatchPtrOutputWithContext(ctx cont return o } +func (o HttpHeaderMatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpHeaderMatch] { + return pulumix.Output[*HttpHeaderMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderMatchPtrOutput) Elem() HttpHeaderMatchOutput { return o.ApplyT(func(v *HttpHeaderMatch) HttpHeaderMatch { if v != nil { @@ -1667,6 +1956,12 @@ func (o HttpHeaderMatchResponseOutput) ToHttpHeaderMatchResponseOutputWithContex return o } +func (o HttpHeaderMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatchResponse] { + return pulumix.Output[HttpHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + // The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". func (o HttpHeaderMatchResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v HttpHeaderMatchResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -1720,6 +2015,12 @@ func (i MTLSPolicyArgs) ToMTLSPolicyOutputWithContext(ctx context.Context) MTLSP return pulumi.ToOutputWithContext(ctx, i).(MTLSPolicyOutput) } +func (i MTLSPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[MTLSPolicy] { + return pulumix.Output[MTLSPolicy]{ + OutputState: i.ToMTLSPolicyOutputWithContext(ctx).OutputState, + } +} + func (i MTLSPolicyArgs) ToMTLSPolicyPtrOutput() MTLSPolicyPtrOutput { return i.ToMTLSPolicyPtrOutputWithContext(context.Background()) } @@ -1761,6 +2062,12 @@ func (i *mtlspolicyPtrType) ToMTLSPolicyPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(MTLSPolicyPtrOutput) } +func (i *mtlspolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*MTLSPolicy] { + return pulumix.Output[*MTLSPolicy]{ + OutputState: i.ToMTLSPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of the MTLSPolicy. type MTLSPolicyOutput struct{ *pulumi.OutputState } @@ -1786,6 +2093,12 @@ func (o MTLSPolicyOutput) ToMTLSPolicyPtrOutputWithContext(ctx context.Context) }).(MTLSPolicyPtrOutput) } +func (o MTLSPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[MTLSPolicy] { + return pulumix.Output[MTLSPolicy]{ + OutputState: o.OutputState, + } +} + // Required if the policy is to be used with Traffic Director. For external HTTPS load balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. func (o MTLSPolicyOutput) ClientValidationCa() ValidationCAArrayOutput { return o.ApplyT(func(v MTLSPolicy) []ValidationCA { return v.ClientValidationCa }).(ValidationCAArrayOutput) @@ -1815,6 +2128,12 @@ func (o MTLSPolicyPtrOutput) ToMTLSPolicyPtrOutputWithContext(ctx context.Contex return o } +func (o MTLSPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MTLSPolicy] { + return pulumix.Output[*MTLSPolicy]{ + OutputState: o.OutputState, + } +} + func (o MTLSPolicyPtrOutput) Elem() MTLSPolicyOutput { return o.ApplyT(func(v *MTLSPolicy) MTLSPolicy { if v != nil { @@ -1880,6 +2199,12 @@ func (o MTLSPolicyResponseOutput) ToMTLSPolicyResponseOutputWithContext(ctx cont return o } +func (o MTLSPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MTLSPolicyResponse] { + return pulumix.Output[MTLSPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Required if the policy is to be used with Traffic Director. For external HTTPS load balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. func (o MTLSPolicyResponseOutput) ClientValidationCa() ValidationCAResponseArrayOutput { return o.ApplyT(func(v MTLSPolicyResponse) []ValidationCAResponse { return v.ClientValidationCa }).(ValidationCAResponseArrayOutput) @@ -1934,6 +2259,12 @@ func (i RuleTypeArgs) ToRuleTypeOutputWithContext(ctx context.Context) RuleTypeO return pulumi.ToOutputWithContext(ctx, i).(RuleTypeOutput) } +func (i RuleTypeArgs) ToOutput(ctx context.Context) pulumix.Output[RuleType] { + return pulumix.Output[RuleType]{ + OutputState: i.ToRuleTypeOutputWithContext(ctx).OutputState, + } +} + // RuleTypeArrayInput is an input type that accepts RuleTypeArray and RuleTypeArrayOutput values. // You can construct a concrete instance of `RuleTypeArrayInput` via: // @@ -1959,6 +2290,12 @@ func (i RuleTypeArray) ToRuleTypeArrayOutputWithContext(ctx context.Context) Rul return pulumi.ToOutputWithContext(ctx, i).(RuleTypeArrayOutput) } +func (i RuleTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]RuleType] { + return pulumix.Output[[]RuleType]{ + OutputState: i.ToRuleTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Specification of rules. type RuleTypeOutput struct{ *pulumi.OutputState } @@ -1974,6 +2311,12 @@ func (o RuleTypeOutput) ToRuleTypeOutputWithContext(ctx context.Context) RuleTyp return o } +func (o RuleTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RuleType] { + return pulumix.Output[RuleType]{ + OutputState: o.OutputState, + } +} + // Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination. func (o RuleTypeOutput) Destinations() DestinationArrayOutput { return o.ApplyT(func(v RuleType) []Destination { return v.Destinations }).(DestinationArrayOutput) @@ -1998,6 +2341,12 @@ func (o RuleTypeArrayOutput) ToRuleTypeArrayOutputWithContext(ctx context.Contex return o } +func (o RuleTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleType] { + return pulumix.Output[[]RuleType]{ + OutputState: o.OutputState, + } +} + func (o RuleTypeArrayOutput) Index(i pulumi.IntInput) RuleTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RuleType { return vs[0].([]RuleType)[vs[1].(int)] @@ -2027,6 +2376,12 @@ func (o RuleResponseOutput) ToRuleResponseOutputWithContext(ctx context.Context) return o } +func (o RuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuleResponse] { + return pulumix.Output[RuleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination. func (o RuleResponseOutput) Destinations() DestinationResponseArrayOutput { return o.ApplyT(func(v RuleResponse) []DestinationResponse { return v.Destinations }).(DestinationResponseArrayOutput) @@ -2051,6 +2406,12 @@ func (o RuleResponseArrayOutput) ToRuleResponseArrayOutputWithContext(ctx contex return o } +func (o RuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleResponse] { + return pulumix.Output[[]RuleResponse]{ + OutputState: o.OutputState, + } +} + func (o RuleResponseArrayOutput) Index(i pulumi.IntInput) RuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RuleResponse { return vs[0].([]RuleResponse)[vs[1].(int)] @@ -2096,6 +2457,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + // SourceArrayInput is an input type that accepts SourceArray and SourceArrayOutput values. // You can construct a concrete instance of `SourceArrayInput` via: // @@ -2121,6 +2488,12 @@ func (i SourceArray) ToSourceArrayOutputWithContext(ctx context.Context) SourceA return pulumi.ToOutputWithContext(ctx, i).(SourceArrayOutput) } +func (i SourceArray) ToOutput(ctx context.Context) pulumix.Output[[]Source] { + return pulumix.Output[[]Source]{ + OutputState: i.ToSourceArrayOutputWithContext(ctx).OutputState, + } +} + // Specification of traffic source attributes. type SourceOutput struct{ *pulumi.OutputState } @@ -2136,6 +2509,12 @@ func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutpu return o } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // Optional. List of CIDR ranges to match based on source IP address. At least one IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g., "1.2.3.0/24") are supported. Authorization based on source IP alone should be avoided. The IP addresses of any load balancers or proxies should be considered untrusted. func (o SourceOutput) IpBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v Source) []string { return v.IpBlocks }).(pulumi.StringArrayOutput) @@ -2160,6 +2539,12 @@ func (o SourceArrayOutput) ToSourceArrayOutputWithContext(ctx context.Context) S return o } +func (o SourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Source] { + return pulumix.Output[[]Source]{ + OutputState: o.OutputState, + } +} + func (o SourceArrayOutput) Index(i pulumi.IntInput) SourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Source { return vs[0].([]Source)[vs[1].(int)] @@ -2189,6 +2574,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of CIDR ranges to match based on source IP address. At least one IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g., "1.2.3.0/24") are supported. Authorization based on source IP alone should be avoided. The IP addresses of any load balancers or proxies should be considered untrusted. func (o SourceResponseOutput) IpBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v SourceResponse) []string { return v.IpBlocks }).(pulumi.StringArrayOutput) @@ -2213,6 +2604,12 @@ func (o SourceResponseArrayOutput) ToSourceResponseArrayOutputWithContext(ctx co return o } +func (o SourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceResponse] { + return pulumix.Output[[]SourceResponse]{ + OutputState: o.OutputState, + } +} + func (o SourceResponseArrayOutput) Index(i pulumi.IntInput) SourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceResponse { return vs[0].([]SourceResponse)[vs[1].(int)] @@ -2258,6 +2655,12 @@ func (i ValidationCAArgs) ToValidationCAOutputWithContext(ctx context.Context) V return pulumi.ToOutputWithContext(ctx, i).(ValidationCAOutput) } +func (i ValidationCAArgs) ToOutput(ctx context.Context) pulumix.Output[ValidationCA] { + return pulumix.Output[ValidationCA]{ + OutputState: i.ToValidationCAOutputWithContext(ctx).OutputState, + } +} + // ValidationCAArrayInput is an input type that accepts ValidationCAArray and ValidationCAArrayOutput values. // You can construct a concrete instance of `ValidationCAArrayInput` via: // @@ -2283,6 +2686,12 @@ func (i ValidationCAArray) ToValidationCAArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ValidationCAArrayOutput) } +func (i ValidationCAArray) ToOutput(ctx context.Context) pulumix.Output[[]ValidationCA] { + return pulumix.Output[[]ValidationCA]{ + OutputState: i.ToValidationCAArrayOutputWithContext(ctx).OutputState, + } +} + // Specification of ValidationCA. Defines the mechanism to obtain the Certificate Authority certificate to validate the peer certificate. type ValidationCAOutput struct{ *pulumi.OutputState } @@ -2298,6 +2707,12 @@ func (o ValidationCAOutput) ToValidationCAOutputWithContext(ctx context.Context) return o } +func (o ValidationCAOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationCA] { + return pulumix.Output[ValidationCA]{ + OutputState: o.OutputState, + } +} + // The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. func (o ValidationCAOutput) CertificateProviderInstance() CertificateProviderInstancePtrOutput { return o.ApplyT(func(v ValidationCA) *CertificateProviderInstance { return v.CertificateProviderInstance }).(CertificateProviderInstancePtrOutput) @@ -2322,6 +2737,12 @@ func (o ValidationCAArrayOutput) ToValidationCAArrayOutputWithContext(ctx contex return o } +func (o ValidationCAArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidationCA] { + return pulumix.Output[[]ValidationCA]{ + OutputState: o.OutputState, + } +} + func (o ValidationCAArrayOutput) Index(i pulumi.IntInput) ValidationCAOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ValidationCA { return vs[0].([]ValidationCA)[vs[1].(int)] @@ -2351,6 +2772,12 @@ func (o ValidationCAResponseOutput) ToValidationCAResponseOutputWithContext(ctx return o } +func (o ValidationCAResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationCAResponse] { + return pulumix.Output[ValidationCAResponse]{ + OutputState: o.OutputState, + } +} + // The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. func (o ValidationCAResponseOutput) CertificateProviderInstance() CertificateProviderInstanceResponseOutput { return o.ApplyT(func(v ValidationCAResponse) CertificateProviderInstanceResponse { return v.CertificateProviderInstance }).(CertificateProviderInstanceResponseOutput) @@ -2375,6 +2802,12 @@ func (o ValidationCAResponseArrayOutput) ToValidationCAResponseArrayOutputWithCo return o } +func (o ValidationCAResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidationCAResponse] { + return pulumix.Output[[]ValidationCAResponse]{ + OutputState: o.OutputState, + } +} + func (o ValidationCAResponseArrayOutput) Index(i pulumi.IntInput) ValidationCAResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ValidationCAResponse { return vs[0].([]ValidationCAResponse)[vs[1].(int)] diff --git a/sdk/go/google/networksecurity/v1/rule.go b/sdk/go/google/networksecurity/v1/rule.go index 2719ba3e82..8b95cd7680 100644 --- a/sdk/go/google/networksecurity/v1/rule.go +++ b/sdk/go/google/networksecurity/v1/rule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new GatewaySecurityPolicy in a given project and location. @@ -179,6 +180,12 @@ func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return pulumi.ToOutputWithContext(ctx, i).(RuleOutput) } +func (i *Rule) ToOutput(ctx context.Context) pulumix.Output[*Rule] { + return pulumix.Output[*Rule]{ + OutputState: i.ToRuleOutputWithContext(ctx).OutputState, + } +} + type RuleOutput struct{ *pulumi.OutputState } func (RuleOutput) ElementType() reflect.Type { @@ -193,6 +200,12 @@ func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return o } +func (o RuleOutput) ToOutput(ctx context.Context) pulumix.Output[*Rule] { + return pulumix.Output[*Rule]{ + OutputState: o.OutputState, + } +} + // Optional. CEL expression for matching on L7/application level criteria. func (o RuleOutput) ApplicationMatcher() pulumi.StringOutput { return o.ApplyT(func(v *Rule) pulumi.StringOutput { return v.ApplicationMatcher }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1/serverTlsPolicy.go b/sdk/go/google/networksecurity/v1/serverTlsPolicy.go index d4f14593a4..8326d50c1c 100644 --- a/sdk/go/google/networksecurity/v1/serverTlsPolicy.go +++ b/sdk/go/google/networksecurity/v1/serverTlsPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ServerTlsPolicy in a given project and location. @@ -148,6 +149,12 @@ func (i *ServerTlsPolicy) ToServerTlsPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ServerTlsPolicyOutput) } +func (i *ServerTlsPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicy] { + return pulumix.Output[*ServerTlsPolicy]{ + OutputState: i.ToServerTlsPolicyOutputWithContext(ctx).OutputState, + } +} + type ServerTlsPolicyOutput struct{ *pulumi.OutputState } func (ServerTlsPolicyOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o ServerTlsPolicyOutput) ToServerTlsPolicyOutputWithContext(ctx context.Co return o } +func (o ServerTlsPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicy] { + return pulumix.Output[*ServerTlsPolicy]{ + OutputState: o.OutputState, + } +} + // This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. func (o ServerTlsPolicyOutput) AllowOpen() pulumi.BoolOutput { return o.ApplyT(func(v *ServerTlsPolicy) pulumi.BoolOutput { return v.AllowOpen }).(pulumi.BoolOutput) diff --git a/sdk/go/google/networksecurity/v1/serverTlsPolicyIamBinding.go b/sdk/go/google/networksecurity/v1/serverTlsPolicyIamBinding.go index a12a91af36..957005baed 100644 --- a/sdk/go/google/networksecurity/v1/serverTlsPolicyIamBinding.go +++ b/sdk/go/google/networksecurity/v1/serverTlsPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ServerTlsPolicyIamBinding) ToServerTlsPolicyIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ServerTlsPolicyIamBindingOutput) } +func (i *ServerTlsPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamBinding] { + return pulumix.Output[*ServerTlsPolicyIamBinding]{ + OutputState: i.ToServerTlsPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServerTlsPolicyIamBindingOutput struct{ *pulumi.OutputState } func (ServerTlsPolicyIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ServerTlsPolicyIamBindingOutput) ToServerTlsPolicyIamBindingOutputWithCo return o } +func (o ServerTlsPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamBinding] { + return pulumix.Output[*ServerTlsPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServerTlsPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServerTlsPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1/serverTlsPolicyIamMember.go b/sdk/go/google/networksecurity/v1/serverTlsPolicyIamMember.go index 59af919431..f99b2db06f 100644 --- a/sdk/go/google/networksecurity/v1/serverTlsPolicyIamMember.go +++ b/sdk/go/google/networksecurity/v1/serverTlsPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ServerTlsPolicyIamMember) ToServerTlsPolicyIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServerTlsPolicyIamMemberOutput) } +func (i *ServerTlsPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamMember] { + return pulumix.Output[*ServerTlsPolicyIamMember]{ + OutputState: i.ToServerTlsPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServerTlsPolicyIamMemberOutput struct{ *pulumi.OutputState } func (ServerTlsPolicyIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ServerTlsPolicyIamMemberOutput) ToServerTlsPolicyIamMemberOutputWithCont return o } +func (o ServerTlsPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamMember] { + return pulumix.Output[*ServerTlsPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServerTlsPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServerTlsPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1/serverTlsPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1/serverTlsPolicyIamPolicy.go index ed04bfdc8b..2fc3784b7c 100644 --- a/sdk/go/google/networksecurity/v1/serverTlsPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1/serverTlsPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServerTlsPolicyIamPolicy) ToServerTlsPolicyIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServerTlsPolicyIamPolicyOutput) } +func (i *ServerTlsPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamPolicy] { + return pulumix.Output[*ServerTlsPolicyIamPolicy]{ + OutputState: i.ToServerTlsPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServerTlsPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (ServerTlsPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServerTlsPolicyIamPolicyOutput) ToServerTlsPolicyIamPolicyOutputWithCont return o } +func (o ServerTlsPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamPolicy] { + return pulumix.Output[*ServerTlsPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServerTlsPolicyIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServerTlsPolicyIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1/tlsInspectionPolicy.go b/sdk/go/google/networksecurity/v1/tlsInspectionPolicy.go index bca62905b9..f1384e30ac 100644 --- a/sdk/go/google/networksecurity/v1/tlsInspectionPolicy.go +++ b/sdk/go/google/networksecurity/v1/tlsInspectionPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TlsInspectionPolicy in a given project and location. @@ -133,6 +134,12 @@ func (i *TlsInspectionPolicy) ToTlsInspectionPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(TlsInspectionPolicyOutput) } +func (i *TlsInspectionPolicy) ToOutput(ctx context.Context) pulumix.Output[*TlsInspectionPolicy] { + return pulumix.Output[*TlsInspectionPolicy]{ + OutputState: i.ToTlsInspectionPolicyOutputWithContext(ctx).OutputState, + } +} + type TlsInspectionPolicyOutput struct{ *pulumi.OutputState } func (TlsInspectionPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o TlsInspectionPolicyOutput) ToTlsInspectionPolicyOutputWithContext(ctx co return o } +func (o TlsInspectionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TlsInspectionPolicy] { + return pulumix.Output[*TlsInspectionPolicy]{ + OutputState: o.OutputState, + } +} + // A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}". func (o TlsInspectionPolicyOutput) CaPool() pulumi.StringOutput { return o.ApplyT(func(v *TlsInspectionPolicy) pulumi.StringOutput { return v.CaPool }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1/urlList.go b/sdk/go/google/networksecurity/v1/urlList.go index 6d7585866a..680db36af6 100644 --- a/sdk/go/google/networksecurity/v1/urlList.go +++ b/sdk/go/google/networksecurity/v1/urlList.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new UrlList in a given project and location. @@ -133,6 +134,12 @@ func (i *UrlList) ToUrlListOutputWithContext(ctx context.Context) UrlListOutput return pulumi.ToOutputWithContext(ctx, i).(UrlListOutput) } +func (i *UrlList) ToOutput(ctx context.Context) pulumix.Output[*UrlList] { + return pulumix.Output[*UrlList]{ + OutputState: i.ToUrlListOutputWithContext(ctx).OutputState, + } +} + type UrlListOutput struct{ *pulumi.OutputState } func (UrlListOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o UrlListOutput) ToUrlListOutputWithContext(ctx context.Context) UrlListOu return o } +func (o UrlListOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlList] { + return pulumix.Output[*UrlList]{ + OutputState: o.OutputState, + } +} + // Time when the security policy was created. func (o UrlListOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *UrlList) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/addressGroup.go b/sdk/go/google/networksecurity/v1beta1/addressGroup.go index a3e3c9cf00..6434993560 100644 --- a/sdk/go/google/networksecurity/v1beta1/addressGroup.go +++ b/sdk/go/google/networksecurity/v1beta1/addressGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new address group in a given project and location. @@ -162,6 +163,12 @@ func (i *AddressGroup) ToAddressGroupOutputWithContext(ctx context.Context) Addr return pulumi.ToOutputWithContext(ctx, i).(AddressGroupOutput) } +func (i *AddressGroup) ToOutput(ctx context.Context) pulumix.Output[*AddressGroup] { + return pulumix.Output[*AddressGroup]{ + OutputState: i.ToAddressGroupOutputWithContext(ctx).OutputState, + } +} + type AddressGroupOutput struct{ *pulumi.OutputState } func (AddressGroupOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o AddressGroupOutput) ToAddressGroupOutputWithContext(ctx context.Context) return o } +func (o AddressGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressGroup] { + return pulumix.Output[*AddressGroup]{ + OutputState: o.OutputState, + } +} + // Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". func (o AddressGroupOutput) AddressGroupId() pulumi.StringOutput { return o.ApplyT(func(v *AddressGroup) pulumi.StringOutput { return v.AddressGroupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/addressGroupIamBinding.go b/sdk/go/google/networksecurity/v1beta1/addressGroupIamBinding.go index b5a7b947df..63de36ef0d 100644 --- a/sdk/go/google/networksecurity/v1beta1/addressGroupIamBinding.go +++ b/sdk/go/google/networksecurity/v1beta1/addressGroupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AddressGroupIamBinding) ToAddressGroupIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AddressGroupIamBindingOutput) } +func (i *AddressGroupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AddressGroupIamBinding] { + return pulumix.Output[*AddressGroupIamBinding]{ + OutputState: i.ToAddressGroupIamBindingOutputWithContext(ctx).OutputState, + } +} + type AddressGroupIamBindingOutput struct{ *pulumi.OutputState } func (AddressGroupIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AddressGroupIamBindingOutput) ToAddressGroupIamBindingOutputWithContext( return o } +func (o AddressGroupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressGroupIamBinding] { + return pulumix.Output[*AddressGroupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AddressGroupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AddressGroupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/addressGroupIamMember.go b/sdk/go/google/networksecurity/v1beta1/addressGroupIamMember.go index c9a259199b..810bc1226f 100644 --- a/sdk/go/google/networksecurity/v1beta1/addressGroupIamMember.go +++ b/sdk/go/google/networksecurity/v1beta1/addressGroupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AddressGroupIamMember) ToAddressGroupIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AddressGroupIamMemberOutput) } +func (i *AddressGroupIamMember) ToOutput(ctx context.Context) pulumix.Output[*AddressGroupIamMember] { + return pulumix.Output[*AddressGroupIamMember]{ + OutputState: i.ToAddressGroupIamMemberOutputWithContext(ctx).OutputState, + } +} + type AddressGroupIamMemberOutput struct{ *pulumi.OutputState } func (AddressGroupIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AddressGroupIamMemberOutput) ToAddressGroupIamMemberOutputWithContext(ct return o } +func (o AddressGroupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressGroupIamMember] { + return pulumix.Output[*AddressGroupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AddressGroupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AddressGroupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/addressGroupIamPolicy.go b/sdk/go/google/networksecurity/v1beta1/addressGroupIamPolicy.go index ac111f48d0..2bb27c8d65 100644 --- a/sdk/go/google/networksecurity/v1beta1/addressGroupIamPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/addressGroupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *AddressGroupIamPolicy) ToAddressGroupIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AddressGroupIamPolicyOutput) } +func (i *AddressGroupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AddressGroupIamPolicy] { + return pulumix.Output[*AddressGroupIamPolicy]{ + OutputState: i.ToAddressGroupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AddressGroupIamPolicyOutput struct{ *pulumi.OutputState } func (AddressGroupIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AddressGroupIamPolicyOutput) ToAddressGroupIamPolicyOutputWithContext(ct return o } +func (o AddressGroupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressGroupIamPolicy] { + return pulumix.Output[*AddressGroupIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o AddressGroupIamPolicyOutput) AddressGroupId() pulumi.StringOutput { return o.ApplyT(func(v *AddressGroupIamPolicy) pulumi.StringOutput { return v.AddressGroupId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/networksecurity/v1beta1/authorizationPolicy.go b/sdk/go/google/networksecurity/v1beta1/authorizationPolicy.go index c29816985f..f9aaf087e6 100644 --- a/sdk/go/google/networksecurity/v1beta1/authorizationPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/authorizationPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new AuthorizationPolicy in a given project and location. @@ -145,6 +146,12 @@ func (i *AuthorizationPolicy) ToAuthorizationPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AuthorizationPolicyOutput) } +func (i *AuthorizationPolicy) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicy] { + return pulumix.Output[*AuthorizationPolicy]{ + OutputState: i.ToAuthorizationPolicyOutputWithContext(ctx).OutputState, + } +} + type AuthorizationPolicyOutput struct{ *pulumi.OutputState } func (AuthorizationPolicyOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o AuthorizationPolicyOutput) ToAuthorizationPolicyOutputWithContext(ctx co return o } +func (o AuthorizationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicy] { + return pulumix.Output[*AuthorizationPolicy]{ + OutputState: o.OutputState, + } +} + // The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". func (o AuthorizationPolicyOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v *AuthorizationPolicy) pulumi.StringOutput { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamBinding.go b/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamBinding.go index 8c3b2c63c3..23281f4ed1 100644 --- a/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamBinding.go +++ b/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AuthorizationPolicyIamBinding) ToAuthorizationPolicyIamBindingOutputWit return pulumi.ToOutputWithContext(ctx, i).(AuthorizationPolicyIamBindingOutput) } +func (i *AuthorizationPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamBinding] { + return pulumix.Output[*AuthorizationPolicyIamBinding]{ + OutputState: i.ToAuthorizationPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type AuthorizationPolicyIamBindingOutput struct{ *pulumi.OutputState } func (AuthorizationPolicyIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AuthorizationPolicyIamBindingOutput) ToAuthorizationPolicyIamBindingOutp return o } +func (o AuthorizationPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamBinding] { + return pulumix.Output[*AuthorizationPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AuthorizationPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AuthorizationPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamMember.go b/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamMember.go index 6f97291725..ca23883ab5 100644 --- a/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamMember.go +++ b/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *AuthorizationPolicyIamMember) ToAuthorizationPolicyIamMemberOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AuthorizationPolicyIamMemberOutput) } +func (i *AuthorizationPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamMember] { + return pulumix.Output[*AuthorizationPolicyIamMember]{ + OutputState: i.ToAuthorizationPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type AuthorizationPolicyIamMemberOutput struct{ *pulumi.OutputState } func (AuthorizationPolicyIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o AuthorizationPolicyIamMemberOutput) ToAuthorizationPolicyIamMemberOutput return o } +func (o AuthorizationPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamMember] { + return pulumix.Output[*AuthorizationPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o AuthorizationPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *AuthorizationPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamPolicy.go index e3fb3a8959..a04c1eb689 100644 --- a/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/authorizationPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *AuthorizationPolicyIamPolicy) ToAuthorizationPolicyIamPolicyOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AuthorizationPolicyIamPolicyOutput) } +func (i *AuthorizationPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamPolicy] { + return pulumix.Output[*AuthorizationPolicyIamPolicy]{ + OutputState: i.ToAuthorizationPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type AuthorizationPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (AuthorizationPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o AuthorizationPolicyIamPolicyOutput) ToAuthorizationPolicyIamPolicyOutput return o } +func (o AuthorizationPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyIamPolicy] { + return pulumix.Output[*AuthorizationPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o AuthorizationPolicyIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *AuthorizationPolicyIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/clientTlsPolicy.go b/sdk/go/google/networksecurity/v1beta1/clientTlsPolicy.go index 5e42d51886..4bba0f6211 100644 --- a/sdk/go/google/networksecurity/v1beta1/clientTlsPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/clientTlsPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ClientTlsPolicy in a given project and location. @@ -148,6 +149,12 @@ func (i *ClientTlsPolicy) ToClientTlsPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ClientTlsPolicyOutput) } +func (i *ClientTlsPolicy) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicy] { + return pulumix.Output[*ClientTlsPolicy]{ + OutputState: i.ToClientTlsPolicyOutputWithContext(ctx).OutputState, + } +} + type ClientTlsPolicyOutput struct{ *pulumi.OutputState } func (ClientTlsPolicyOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o ClientTlsPolicyOutput) ToClientTlsPolicyOutputWithContext(ctx context.Co return o } +func (o ClientTlsPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicy] { + return pulumix.Output[*ClientTlsPolicy]{ + OutputState: o.OutputState, + } +} + // Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS. func (o ClientTlsPolicyOutput) ClientCertificate() GoogleCloudNetworksecurityV1beta1CertificateProviderResponseOutput { return o.ApplyT(func(v *ClientTlsPolicy) GoogleCloudNetworksecurityV1beta1CertificateProviderResponseOutput { diff --git a/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamBinding.go b/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamBinding.go index 23cd5fd547..fe4970510d 100644 --- a/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamBinding.go +++ b/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientTlsPolicyIamBinding) ToClientTlsPolicyIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ClientTlsPolicyIamBindingOutput) } +func (i *ClientTlsPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamBinding] { + return pulumix.Output[*ClientTlsPolicyIamBinding]{ + OutputState: i.ToClientTlsPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type ClientTlsPolicyIamBindingOutput struct{ *pulumi.OutputState } func (ClientTlsPolicyIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientTlsPolicyIamBindingOutput) ToClientTlsPolicyIamBindingOutputWithCo return o } +func (o ClientTlsPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamBinding] { + return pulumix.Output[*ClientTlsPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientTlsPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientTlsPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamMember.go b/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamMember.go index e4571a554e..d4292df4bd 100644 --- a/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamMember.go +++ b/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ClientTlsPolicyIamMember) ToClientTlsPolicyIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ClientTlsPolicyIamMemberOutput) } +func (i *ClientTlsPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamMember] { + return pulumix.Output[*ClientTlsPolicyIamMember]{ + OutputState: i.ToClientTlsPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type ClientTlsPolicyIamMemberOutput struct{ *pulumi.OutputState } func (ClientTlsPolicyIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ClientTlsPolicyIamMemberOutput) ToClientTlsPolicyIamMemberOutputWithCont return o } +func (o ClientTlsPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamMember] { + return pulumix.Output[*ClientTlsPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ClientTlsPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ClientTlsPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamPolicy.go index 56f14905e8..aa6f4c65aa 100644 --- a/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/clientTlsPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ClientTlsPolicyIamPolicy) ToClientTlsPolicyIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ClientTlsPolicyIamPolicyOutput) } +func (i *ClientTlsPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamPolicy] { + return pulumix.Output[*ClientTlsPolicyIamPolicy]{ + OutputState: i.ToClientTlsPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ClientTlsPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (ClientTlsPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ClientTlsPolicyIamPolicyOutput) ToClientTlsPolicyIamPolicyOutputWithCont return o } +func (o ClientTlsPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientTlsPolicyIamPolicy] { + return pulumix.Output[*ClientTlsPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ClientTlsPolicyIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ClientTlsPolicyIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/gatewaySecurityPolicy.go b/sdk/go/google/networksecurity/v1beta1/gatewaySecurityPolicy.go index 7c8f9f0d40..cca720a2d1 100644 --- a/sdk/go/google/networksecurity/v1beta1/gatewaySecurityPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/gatewaySecurityPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new GatewaySecurityPolicy in a given project and location. @@ -130,6 +131,12 @@ func (i *GatewaySecurityPolicy) ToGatewaySecurityPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GatewaySecurityPolicyOutput) } +func (i *GatewaySecurityPolicy) ToOutput(ctx context.Context) pulumix.Output[*GatewaySecurityPolicy] { + return pulumix.Output[*GatewaySecurityPolicy]{ + OutputState: i.ToGatewaySecurityPolicyOutputWithContext(ctx).OutputState, + } +} + type GatewaySecurityPolicyOutput struct{ *pulumi.OutputState } func (GatewaySecurityPolicyOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o GatewaySecurityPolicyOutput) ToGatewaySecurityPolicyOutputWithContext(ct return o } +func (o GatewaySecurityPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewaySecurityPolicy] { + return pulumix.Output[*GatewaySecurityPolicy]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o GatewaySecurityPolicyOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *GatewaySecurityPolicy) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getAddressGroup.go b/sdk/go/google/networksecurity/v1beta1/getAddressGroup.go index fd25dc594c..6798068cc6 100644 --- a/sdk/go/google/networksecurity/v1beta1/getAddressGroup.go +++ b/sdk/go/google/networksecurity/v1beta1/getAddressGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single address group. @@ -86,6 +87,12 @@ func (o LookupAddressGroupResultOutput) ToLookupAddressGroupResultOutputWithCont return o } +func (o LookupAddressGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAddressGroupResult] { + return pulumix.Output[LookupAddressGroupResult]{ + OutputState: o.OutputState, + } +} + // Capacity of the Address Group func (o LookupAddressGroupResultOutput) Capacity() pulumi.IntOutput { return o.ApplyT(func(v LookupAddressGroupResult) int { return v.Capacity }).(pulumi.IntOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getAddressGroupIamPolicy.go b/sdk/go/google/networksecurity/v1beta1/getAddressGroupIamPolicy.go index 55246c507e..798f7a49ae 100644 --- a/sdk/go/google/networksecurity/v1beta1/getAddressGroupIamPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/getAddressGroupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupAddressGroupIamPolicyResultOutput) ToLookupAddressGroupIamPolicyRe return o } +func (o LookupAddressGroupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAddressGroupIamPolicyResult] { + return pulumix.Output[LookupAddressGroupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAddressGroupIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAddressGroupIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getAuthorizationPolicy.go b/sdk/go/google/networksecurity/v1beta1/getAuthorizationPolicy.go index 0bd4068e4a..7c524c32a9 100644 --- a/sdk/go/google/networksecurity/v1beta1/getAuthorizationPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/getAuthorizationPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single AuthorizationPolicy. @@ -82,6 +83,12 @@ func (o LookupAuthorizationPolicyResultOutput) ToLookupAuthorizationPolicyResult return o } +func (o LookupAuthorizationPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthorizationPolicyResult] { + return pulumix.Output[LookupAuthorizationPolicyResult]{ + OutputState: o.OutputState, + } +} + // The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". func (o LookupAuthorizationPolicyResultOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v LookupAuthorizationPolicyResult) string { return v.Action }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getAuthorizationPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1beta1/getAuthorizationPolicyIamPolicy.go index 9544a808c2..7462bff3e2 100644 --- a/sdk/go/google/networksecurity/v1beta1/getAuthorizationPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/getAuthorizationPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupAuthorizationPolicyIamPolicyResultOutput) ToLookupAuthorizationPol return o } +func (o LookupAuthorizationPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthorizationPolicyIamPolicyResult] { + return pulumix.Output[LookupAuthorizationPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupAuthorizationPolicyIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupAuthorizationPolicyIamPolicyResult) []GoogleIamV1AuditConfigResponse { diff --git a/sdk/go/google/networksecurity/v1beta1/getClientTlsPolicy.go b/sdk/go/google/networksecurity/v1beta1/getClientTlsPolicy.go index 23f5f83d5b..4fd5473cd8 100644 --- a/sdk/go/google/networksecurity/v1beta1/getClientTlsPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/getClientTlsPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ClientTlsPolicy. @@ -84,6 +85,12 @@ func (o LookupClientTlsPolicyResultOutput) ToLookupClientTlsPolicyResultOutputWi return o } +func (o LookupClientTlsPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClientTlsPolicyResult] { + return pulumix.Output[LookupClientTlsPolicyResult]{ + OutputState: o.OutputState, + } +} + // Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS. func (o LookupClientTlsPolicyResultOutput) ClientCertificate() GoogleCloudNetworksecurityV1beta1CertificateProviderResponseOutput { return o.ApplyT(func(v LookupClientTlsPolicyResult) GoogleCloudNetworksecurityV1beta1CertificateProviderResponse { diff --git a/sdk/go/google/networksecurity/v1beta1/getClientTlsPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1beta1/getClientTlsPolicyIamPolicy.go index 0c6af2fd57..d5a8b50d3f 100644 --- a/sdk/go/google/networksecurity/v1beta1/getClientTlsPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/getClientTlsPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupClientTlsPolicyIamPolicyResultOutput) ToLookupClientTlsPolicyIamPo return o } +func (o LookupClientTlsPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupClientTlsPolicyIamPolicyResult] { + return pulumix.Output[LookupClientTlsPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupClientTlsPolicyIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupClientTlsPolicyIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getGatewaySecurityPolicy.go b/sdk/go/google/networksecurity/v1beta1/getGatewaySecurityPolicy.go index cceeb6f2ac..5dfd4b0f20 100644 --- a/sdk/go/google/networksecurity/v1beta1/getGatewaySecurityPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/getGatewaySecurityPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single GatewaySecurityPolicy. @@ -78,6 +79,12 @@ func (o LookupGatewaySecurityPolicyResultOutput) ToLookupGatewaySecurityPolicyRe return o } +func (o LookupGatewaySecurityPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewaySecurityPolicyResult] { + return pulumix.Output[LookupGatewaySecurityPolicyResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupGatewaySecurityPolicyResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupGatewaySecurityPolicyResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getOrganizationAddressGroup.go b/sdk/go/google/networksecurity/v1beta1/getOrganizationAddressGroup.go index 64d07fe85d..345770b750 100644 --- a/sdk/go/google/networksecurity/v1beta1/getOrganizationAddressGroup.go +++ b/sdk/go/google/networksecurity/v1beta1/getOrganizationAddressGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single address group. @@ -86,6 +87,12 @@ func (o LookupOrganizationAddressGroupResultOutput) ToLookupOrganizationAddressG return o } +func (o LookupOrganizationAddressGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationAddressGroupResult] { + return pulumix.Output[LookupOrganizationAddressGroupResult]{ + OutputState: o.OutputState, + } +} + // Capacity of the Address Group func (o LookupOrganizationAddressGroupResultOutput) Capacity() pulumi.IntOutput { return o.ApplyT(func(v LookupOrganizationAddressGroupResult) int { return v.Capacity }).(pulumi.IntOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getRule.go b/sdk/go/google/networksecurity/v1beta1/getRule.go index 4c05c4cf34..ae7be7c278 100644 --- a/sdk/go/google/networksecurity/v1beta1/getRule.go +++ b/sdk/go/google/networksecurity/v1beta1/getRule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single GatewaySecurityPolicyRule. @@ -90,6 +91,12 @@ func (o LookupRuleResultOutput) ToLookupRuleResultOutputWithContext(ctx context. return o } +func (o LookupRuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRuleResult] { + return pulumix.Output[LookupRuleResult]{ + OutputState: o.OutputState, + } +} + // Optional. CEL expression for matching on L7/application level criteria. func (o LookupRuleResultOutput) ApplicationMatcher() pulumi.StringOutput { return o.ApplyT(func(v LookupRuleResult) string { return v.ApplicationMatcher }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getServerTlsPolicy.go b/sdk/go/google/networksecurity/v1beta1/getServerTlsPolicy.go index 1a49b8279e..2821557ff2 100644 --- a/sdk/go/google/networksecurity/v1beta1/getServerTlsPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/getServerTlsPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ServerTlsPolicy. @@ -84,6 +85,12 @@ func (o LookupServerTlsPolicyResultOutput) ToLookupServerTlsPolicyResultOutputWi return o } +func (o LookupServerTlsPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServerTlsPolicyResult] { + return pulumix.Output[LookupServerTlsPolicyResult]{ + OutputState: o.OutputState, + } +} + // This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. func (o LookupServerTlsPolicyResultOutput) AllowOpen() pulumi.BoolOutput { return o.ApplyT(func(v LookupServerTlsPolicyResult) bool { return v.AllowOpen }).(pulumi.BoolOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getServerTlsPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1beta1/getServerTlsPolicyIamPolicy.go index e5731adc0f..cb4d43152d 100644 --- a/sdk/go/google/networksecurity/v1beta1/getServerTlsPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/getServerTlsPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupServerTlsPolicyIamPolicyResultOutput) ToLookupServerTlsPolicyIamPo return o } +func (o LookupServerTlsPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServerTlsPolicyIamPolicyResult] { + return pulumix.Output[LookupServerTlsPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServerTlsPolicyIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServerTlsPolicyIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getTlsInspectionPolicy.go b/sdk/go/google/networksecurity/v1beta1/getTlsInspectionPolicy.go index 815a8c8cb6..f0df6ec476 100644 --- a/sdk/go/google/networksecurity/v1beta1/getTlsInspectionPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/getTlsInspectionPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single TlsInspectionPolicy. @@ -78,6 +79,12 @@ func (o LookupTlsInspectionPolicyResultOutput) ToLookupTlsInspectionPolicyResult return o } +func (o LookupTlsInspectionPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTlsInspectionPolicyResult] { + return pulumix.Output[LookupTlsInspectionPolicyResult]{ + OutputState: o.OutputState, + } +} + // A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}". func (o LookupTlsInspectionPolicyResultOutput) CaPool() pulumi.StringOutput { return o.ApplyT(func(v LookupTlsInspectionPolicyResult) string { return v.CaPool }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/getUrlList.go b/sdk/go/google/networksecurity/v1beta1/getUrlList.go index e7a762d75b..c1179427ee 100644 --- a/sdk/go/google/networksecurity/v1beta1/getUrlList.go +++ b/sdk/go/google/networksecurity/v1beta1/getUrlList.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single UrlList. @@ -78,6 +79,12 @@ func (o LookupUrlListResultOutput) ToLookupUrlListResultOutputWithContext(ctx co return o } +func (o LookupUrlListResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUrlListResult] { + return pulumix.Output[LookupUrlListResult]{ + OutputState: o.OutputState, + } +} + // Time when the security policy was created. func (o LookupUrlListResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupUrlListResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/organizationAddressGroup.go b/sdk/go/google/networksecurity/v1beta1/organizationAddressGroup.go index e1afc691c2..2aba769a0f 100644 --- a/sdk/go/google/networksecurity/v1beta1/organizationAddressGroup.go +++ b/sdk/go/google/networksecurity/v1beta1/organizationAddressGroup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new address group in a given project and location. @@ -169,6 +170,12 @@ func (i *OrganizationAddressGroup) ToOrganizationAddressGroupOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(OrganizationAddressGroupOutput) } +func (i *OrganizationAddressGroup) ToOutput(ctx context.Context) pulumix.Output[*OrganizationAddressGroup] { + return pulumix.Output[*OrganizationAddressGroup]{ + OutputState: i.ToOrganizationAddressGroupOutputWithContext(ctx).OutputState, + } +} + type OrganizationAddressGroupOutput struct{ *pulumi.OutputState } func (OrganizationAddressGroupOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o OrganizationAddressGroupOutput) ToOrganizationAddressGroupOutputWithCont return o } +func (o OrganizationAddressGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationAddressGroup] { + return pulumix.Output[*OrganizationAddressGroup]{ + OutputState: o.OutputState, + } +} + // Required. Short name of the AddressGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". func (o OrganizationAddressGroupOutput) AddressGroupId() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationAddressGroup) pulumi.StringOutput { return v.AddressGroupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/pulumiEnums.go b/sdk/go/google/networksecurity/v1beta1/pulumiEnums.go index e227aec549..85f4e793fa 100644 --- a/sdk/go/google/networksecurity/v1beta1/pulumiEnums.go +++ b/sdk/go/google/networksecurity/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. The type of the Address Group. Possible values are "IPv4" or "IPV6". @@ -82,6 +83,12 @@ func (o AddressGroupTypeOutput) ToAddressGroupTypePtrOutputWithContext(ctx conte }).(AddressGroupTypePtrOutput) } +func (o AddressGroupTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AddressGroupType] { + return pulumix.Output[AddressGroupType]{ + OutputState: o.OutputState, + } +} + func (o AddressGroupTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o AddressGroupTypePtrOutput) ToAddressGroupTypePtrOutputWithContext(ctx co return o } +func (o AddressGroupTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AddressGroupType] { + return pulumix.Output[*AddressGroupType]{ + OutputState: o.OutputState, + } +} + func (o AddressGroupTypePtrOutput) Elem() AddressGroupTypeOutput { return o.ApplyT(func(v *AddressGroupType) AddressGroupType { if v != nil { @@ -179,6 +192,12 @@ func (in *addressGroupTypePtr) ToAddressGroupTypePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AddressGroupTypePtrOutput) } +func (in *addressGroupTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AddressGroupType] { + return pulumix.Output[*AddressGroupType]{ + OutputState: in.ToAddressGroupTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". type AuthorizationPolicyAction string @@ -251,6 +270,12 @@ func (o AuthorizationPolicyActionOutput) ToAuthorizationPolicyActionPtrOutputWit }).(AuthorizationPolicyActionPtrOutput) } +func (o AuthorizationPolicyActionOutput) ToOutput(ctx context.Context) pulumix.Output[AuthorizationPolicyAction] { + return pulumix.Output[AuthorizationPolicyAction]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationPolicyActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o AuthorizationPolicyActionPtrOutput) ToAuthorizationPolicyActionPtrOutput return o } +func (o AuthorizationPolicyActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyAction] { + return pulumix.Output[*AuthorizationPolicyAction]{ + OutputState: o.OutputState, + } +} + func (o AuthorizationPolicyActionPtrOutput) Elem() AuthorizationPolicyActionOutput { return o.ApplyT(func(v *AuthorizationPolicyAction) AuthorizationPolicyAction { if v != nil { @@ -348,6 +379,12 @@ func (in *authorizationPolicyActionPtr) ToAuthorizationPolicyActionPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(AuthorizationPolicyActionPtrOutput) } +func (in *authorizationPolicyActionPtr) ToOutput(ctx context.Context) pulumix.Output[*AuthorizationPolicyAction] { + return pulumix.Output[*AuthorizationPolicyAction]{ + OutputState: in.ToAuthorizationPolicyActionPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -422,6 +459,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -519,6 +568,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the external HTTPS load balancing. For Traffic Director it must be empty. type MTLSPolicyClientValidationMode string @@ -591,6 +646,12 @@ func (o MTLSPolicyClientValidationModeOutput) ToMTLSPolicyClientValidationModePt }).(MTLSPolicyClientValidationModePtrOutput) } +func (o MTLSPolicyClientValidationModeOutput) ToOutput(ctx context.Context) pulumix.Output[MTLSPolicyClientValidationMode] { + return pulumix.Output[MTLSPolicyClientValidationMode]{ + OutputState: o.OutputState, + } +} + func (o MTLSPolicyClientValidationModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o MTLSPolicyClientValidationModePtrOutput) ToMTLSPolicyClientValidationMod return o } +func (o MTLSPolicyClientValidationModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MTLSPolicyClientValidationMode] { + return pulumix.Output[*MTLSPolicyClientValidationMode]{ + OutputState: o.OutputState, + } +} + func (o MTLSPolicyClientValidationModePtrOutput) Elem() MTLSPolicyClientValidationModeOutput { return o.ApplyT(func(v *MTLSPolicyClientValidationMode) MTLSPolicyClientValidationMode { if v != nil { @@ -688,6 +755,12 @@ func (in *mtlspolicyClientValidationModePtr) ToMTLSPolicyClientValidationModePtr return pulumi.ToOutputWithContext(ctx, in).(MTLSPolicyClientValidationModePtrOutput) } +func (in *mtlspolicyClientValidationModePtr) ToOutput(ctx context.Context) pulumix.Output[*MTLSPolicyClientValidationMode] { + return pulumix.Output[*MTLSPolicyClientValidationMode]{ + OutputState: in.ToMTLSPolicyClientValidationModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of the Address Group. Possible values are "IPv4" or "IPV6". type OrganizationAddressGroupType string @@ -760,6 +833,12 @@ func (o OrganizationAddressGroupTypeOutput) ToOrganizationAddressGroupTypePtrOut }).(OrganizationAddressGroupTypePtrOutput) } +func (o OrganizationAddressGroupTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationAddressGroupType] { + return pulumix.Output[OrganizationAddressGroupType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationAddressGroupTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -795,6 +874,12 @@ func (o OrganizationAddressGroupTypePtrOutput) ToOrganizationAddressGroupTypePtr return o } +func (o OrganizationAddressGroupTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationAddressGroupType] { + return pulumix.Output[*OrganizationAddressGroupType]{ + OutputState: o.OutputState, + } +} + func (o OrganizationAddressGroupTypePtrOutput) Elem() OrganizationAddressGroupTypeOutput { return o.ApplyT(func(v *OrganizationAddressGroupType) OrganizationAddressGroupType { if v != nil { @@ -857,6 +942,12 @@ func (in *organizationAddressGroupTypePtr) ToOrganizationAddressGroupTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(OrganizationAddressGroupTypePtrOutput) } +func (in *organizationAddressGroupTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationAddressGroupType] { + return pulumix.Output[*OrganizationAddressGroupType]{ + OutputState: in.ToOrganizationAddressGroupTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Profile which tells what the primitive action should be. type RuleBasicProfile string @@ -929,6 +1020,12 @@ func (o RuleBasicProfileOutput) ToRuleBasicProfilePtrOutputWithContext(ctx conte }).(RuleBasicProfilePtrOutput) } +func (o RuleBasicProfileOutput) ToOutput(ctx context.Context) pulumix.Output[RuleBasicProfile] { + return pulumix.Output[RuleBasicProfile]{ + OutputState: o.OutputState, + } +} + func (o RuleBasicProfileOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -964,6 +1061,12 @@ func (o RuleBasicProfilePtrOutput) ToRuleBasicProfilePtrOutputWithContext(ctx co return o } +func (o RuleBasicProfilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuleBasicProfile] { + return pulumix.Output[*RuleBasicProfile]{ + OutputState: o.OutputState, + } +} + func (o RuleBasicProfilePtrOutput) Elem() RuleBasicProfileOutput { return o.ApplyT(func(v *RuleBasicProfile) RuleBasicProfile { if v != nil { @@ -1026,6 +1129,12 @@ func (in *ruleBasicProfilePtr) ToRuleBasicProfilePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(RuleBasicProfilePtrOutput) } +func (in *ruleBasicProfilePtr) ToOutput(ctx context.Context) pulumix.Output[*RuleBasicProfile] { + return pulumix.Output[*RuleBasicProfile]{ + OutputState: in.ToRuleBasicProfilePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AddressGroupTypeInput)(nil)).Elem(), AddressGroupType("TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AddressGroupTypePtrInput)(nil)).Elem(), AddressGroupType("TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/networksecurity/v1beta1/pulumiTypes.go b/sdk/go/google/networksecurity/v1beta1/pulumiTypes.go index c091f511ea..36623120ef 100644 --- a/sdk/go/google/networksecurity/v1beta1/pulumiTypes.go +++ b/sdk/go/google/networksecurity/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i CertificateProviderInstanceArgs) ToCertificateProviderInstanceOutputWith return pulumi.ToOutputWithContext(ctx, i).(CertificateProviderInstanceOutput) } +func (i CertificateProviderInstanceArgs) ToOutput(ctx context.Context) pulumix.Output[CertificateProviderInstance] { + return pulumix.Output[CertificateProviderInstance]{ + OutputState: i.ToCertificateProviderInstanceOutputWithContext(ctx).OutputState, + } +} + func (i CertificateProviderInstanceArgs) ToCertificateProviderInstancePtrOutput() CertificateProviderInstancePtrOutput { return i.ToCertificateProviderInstancePtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *certificateProviderInstancePtrType) ToCertificateProviderInstancePtrOut return pulumi.ToOutputWithContext(ctx, i).(CertificateProviderInstancePtrOutput) } +func (i *certificateProviderInstancePtrType) ToOutput(ctx context.Context) pulumix.Output[*CertificateProviderInstance] { + return pulumix.Output[*CertificateProviderInstance]{ + OutputState: i.ToCertificateProviderInstancePtrOutputWithContext(ctx).OutputState, + } +} + // Specification of a TLS certificate provider instance. Workloads may have one or more CertificateProvider instances (plugins) and one of them is enabled and configured by specifying this message. Workloads use the values from this message to locate and load the CertificateProvider instance configuration. type CertificateProviderInstanceOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o CertificateProviderInstanceOutput) ToCertificateProviderInstancePtrOutpu }).(CertificateProviderInstancePtrOutput) } +func (o CertificateProviderInstanceOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateProviderInstance] { + return pulumix.Output[CertificateProviderInstance]{ + OutputState: o.OutputState, + } +} + // Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance. func (o CertificateProviderInstanceOutput) PluginInstance() pulumi.StringOutput { return o.ApplyT(func(v CertificateProviderInstance) string { return v.PluginInstance }).(pulumi.StringOutput) @@ -133,6 +152,12 @@ func (o CertificateProviderInstancePtrOutput) ToCertificateProviderInstancePtrOu return o } +func (o CertificateProviderInstancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateProviderInstance] { + return pulumix.Output[*CertificateProviderInstance]{ + OutputState: o.OutputState, + } +} + func (o CertificateProviderInstancePtrOutput) Elem() CertificateProviderInstanceOutput { return o.ApplyT(func(v *CertificateProviderInstance) CertificateProviderInstance { if v != nil { @@ -174,6 +199,12 @@ func (o CertificateProviderInstanceResponseOutput) ToCertificateProviderInstance return o } +func (o CertificateProviderInstanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateProviderInstanceResponse] { + return pulumix.Output[CertificateProviderInstanceResponse]{ + OutputState: o.OutputState, + } +} + // Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance. func (o CertificateProviderInstanceResponseOutput) PluginInstance() pulumi.StringOutput { return o.ApplyT(func(v CertificateProviderInstanceResponse) string { return v.PluginInstance }).(pulumi.StringOutput) @@ -226,6 +257,12 @@ func (i DestinationArgs) ToDestinationOutputWithContext(ctx context.Context) Des return pulumi.ToOutputWithContext(ctx, i).(DestinationOutput) } +func (i DestinationArgs) ToOutput(ctx context.Context) pulumix.Output[Destination] { + return pulumix.Output[Destination]{ + OutputState: i.ToDestinationOutputWithContext(ctx).OutputState, + } +} + // DestinationArrayInput is an input type that accepts DestinationArray and DestinationArrayOutput values. // You can construct a concrete instance of `DestinationArrayInput` via: // @@ -251,6 +288,12 @@ func (i DestinationArray) ToDestinationArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DestinationArrayOutput) } +func (i DestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]Destination] { + return pulumix.Output[[]Destination]{ + OutputState: i.ToDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Specification of traffic destination attributes. type DestinationOutput struct{ *pulumi.OutputState } @@ -266,6 +309,12 @@ func (o DestinationOutput) ToDestinationOutputWithContext(ctx context.Context) D return o } +func (o DestinationOutput) ToOutput(ctx context.Context) pulumix.Output[Destination] { + return pulumix.Output[Destination]{ + OutputState: o.OutputState, + } +} + // List of host names to match. Matched against the ":authority" header in http requests. At least one host should match. Each host can be an exact match, or a prefix match (example "mydomain.*") or a suffix match (example "*.myorg.com") or a presence (any) match "*". func (o DestinationOutput) Hosts() pulumi.StringArrayOutput { return o.ApplyT(func(v Destination) []string { return v.Hosts }).(pulumi.StringArrayOutput) @@ -300,6 +349,12 @@ func (o DestinationArrayOutput) ToDestinationArrayOutputWithContext(ctx context. return o } +func (o DestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Destination] { + return pulumix.Output[[]Destination]{ + OutputState: o.OutputState, + } +} + func (o DestinationArrayOutput) Index(i pulumi.IntInput) DestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Destination { return vs[0].([]Destination)[vs[1].(int)] @@ -333,6 +388,12 @@ func (o DestinationResponseOutput) ToDestinationResponseOutputWithContext(ctx co return o } +func (o DestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DestinationResponse] { + return pulumix.Output[DestinationResponse]{ + OutputState: o.OutputState, + } +} + // List of host names to match. Matched against the ":authority" header in http requests. At least one host should match. Each host can be an exact match, or a prefix match (example "mydomain.*") or a suffix match (example "*.myorg.com") or a presence (any) match "*". func (o DestinationResponseOutput) Hosts() pulumi.StringArrayOutput { return o.ApplyT(func(v DestinationResponse) []string { return v.Hosts }).(pulumi.StringArrayOutput) @@ -367,6 +428,12 @@ func (o DestinationResponseArrayOutput) ToDestinationResponseArrayOutputWithCont return o } +func (o DestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DestinationResponse] { + return pulumix.Output[[]DestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o DestinationResponseArrayOutput) Index(i pulumi.IntInput) DestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DestinationResponse { return vs[0].([]DestinationResponse)[vs[1].(int)] @@ -420,6 +487,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -461,6 +534,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -486,6 +565,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -520,6 +605,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -597,6 +688,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -656,6 +753,12 @@ func (i GoogleCloudNetworksecurityV1beta1CertificateProviderArgs) ToGoogleCloudN return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudNetworksecurityV1beta1CertificateProviderOutput) } +func (i GoogleCloudNetworksecurityV1beta1CertificateProviderArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1beta1CertificateProvider] { + return pulumix.Output[GoogleCloudNetworksecurityV1beta1CertificateProvider]{ + OutputState: i.ToGoogleCloudNetworksecurityV1beta1CertificateProviderOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudNetworksecurityV1beta1CertificateProviderArgs) ToGoogleCloudNetworksecurityV1beta1CertificateProviderPtrOutput() GoogleCloudNetworksecurityV1beta1CertificateProviderPtrOutput { return i.ToGoogleCloudNetworksecurityV1beta1CertificateProviderPtrOutputWithContext(context.Background()) } @@ -697,6 +800,12 @@ func (i *googleCloudNetworksecurityV1beta1CertificateProviderPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudNetworksecurityV1beta1CertificateProviderPtrOutput) } +func (i *googleCloudNetworksecurityV1beta1CertificateProviderPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudNetworksecurityV1beta1CertificateProvider] { + return pulumix.Output[*GoogleCloudNetworksecurityV1beta1CertificateProvider]{ + OutputState: i.ToGoogleCloudNetworksecurityV1beta1CertificateProviderPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of certificate provider. Defines the mechanism to obtain the certificate and private key for peer to peer authentication. type GoogleCloudNetworksecurityV1beta1CertificateProviderOutput struct{ *pulumi.OutputState } @@ -722,6 +831,12 @@ func (o GoogleCloudNetworksecurityV1beta1CertificateProviderOutput) ToGoogleClou }).(GoogleCloudNetworksecurityV1beta1CertificateProviderPtrOutput) } +func (o GoogleCloudNetworksecurityV1beta1CertificateProviderOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1beta1CertificateProvider] { + return pulumix.Output[GoogleCloudNetworksecurityV1beta1CertificateProvider]{ + OutputState: o.OutputState, + } +} + // The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. func (o GoogleCloudNetworksecurityV1beta1CertificateProviderOutput) CertificateProviderInstance() CertificateProviderInstancePtrOutput { return o.ApplyT(func(v GoogleCloudNetworksecurityV1beta1CertificateProvider) *CertificateProviderInstance { @@ -750,6 +865,12 @@ func (o GoogleCloudNetworksecurityV1beta1CertificateProviderPtrOutput) ToGoogleC return o } +func (o GoogleCloudNetworksecurityV1beta1CertificateProviderPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudNetworksecurityV1beta1CertificateProvider] { + return pulumix.Output[*GoogleCloudNetworksecurityV1beta1CertificateProvider]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudNetworksecurityV1beta1CertificateProviderPtrOutput) Elem() GoogleCloudNetworksecurityV1beta1CertificateProviderOutput { return o.ApplyT(func(v *GoogleCloudNetworksecurityV1beta1CertificateProvider) GoogleCloudNetworksecurityV1beta1CertificateProvider { if v != nil { @@ -803,6 +924,12 @@ func (o GoogleCloudNetworksecurityV1beta1CertificateProviderResponseOutput) ToGo return o } +func (o GoogleCloudNetworksecurityV1beta1CertificateProviderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1beta1CertificateProviderResponse] { + return pulumix.Output[GoogleCloudNetworksecurityV1beta1CertificateProviderResponse]{ + OutputState: o.OutputState, + } +} + // The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. func (o GoogleCloudNetworksecurityV1beta1CertificateProviderResponseOutput) CertificateProviderInstance() CertificateProviderInstanceResponseOutput { return o.ApplyT(func(v GoogleCloudNetworksecurityV1beta1CertificateProviderResponse) CertificateProviderInstanceResponse { @@ -852,6 +979,12 @@ func (i GoogleCloudNetworksecurityV1beta1GrpcEndpointArgs) ToGoogleCloudNetworks return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudNetworksecurityV1beta1GrpcEndpointOutput) } +func (i GoogleCloudNetworksecurityV1beta1GrpcEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1beta1GrpcEndpoint] { + return pulumix.Output[GoogleCloudNetworksecurityV1beta1GrpcEndpoint]{ + OutputState: i.ToGoogleCloudNetworksecurityV1beta1GrpcEndpointOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudNetworksecurityV1beta1GrpcEndpointArgs) ToGoogleCloudNetworksecurityV1beta1GrpcEndpointPtrOutput() GoogleCloudNetworksecurityV1beta1GrpcEndpointPtrOutput { return i.ToGoogleCloudNetworksecurityV1beta1GrpcEndpointPtrOutputWithContext(context.Background()) } @@ -893,6 +1026,12 @@ func (i *googleCloudNetworksecurityV1beta1GrpcEndpointPtrType) ToGoogleCloudNetw return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudNetworksecurityV1beta1GrpcEndpointPtrOutput) } +func (i *googleCloudNetworksecurityV1beta1GrpcEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudNetworksecurityV1beta1GrpcEndpoint] { + return pulumix.Output[*GoogleCloudNetworksecurityV1beta1GrpcEndpoint]{ + OutputState: i.ToGoogleCloudNetworksecurityV1beta1GrpcEndpointPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of the GRPC Endpoint. type GoogleCloudNetworksecurityV1beta1GrpcEndpointOutput struct{ *pulumi.OutputState } @@ -918,6 +1057,12 @@ func (o GoogleCloudNetworksecurityV1beta1GrpcEndpointOutput) ToGoogleCloudNetwor }).(GoogleCloudNetworksecurityV1beta1GrpcEndpointPtrOutput) } +func (o GoogleCloudNetworksecurityV1beta1GrpcEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1beta1GrpcEndpoint] { + return pulumix.Output[GoogleCloudNetworksecurityV1beta1GrpcEndpoint]{ + OutputState: o.OutputState, + } +} + // The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:". func (o GoogleCloudNetworksecurityV1beta1GrpcEndpointOutput) TargetUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudNetworksecurityV1beta1GrpcEndpoint) string { return v.TargetUri }).(pulumi.StringOutput) @@ -937,6 +1082,12 @@ func (o GoogleCloudNetworksecurityV1beta1GrpcEndpointPtrOutput) ToGoogleCloudNet return o } +func (o GoogleCloudNetworksecurityV1beta1GrpcEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudNetworksecurityV1beta1GrpcEndpoint] { + return pulumix.Output[*GoogleCloudNetworksecurityV1beta1GrpcEndpoint]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudNetworksecurityV1beta1GrpcEndpointPtrOutput) Elem() GoogleCloudNetworksecurityV1beta1GrpcEndpointOutput { return o.ApplyT(func(v *GoogleCloudNetworksecurityV1beta1GrpcEndpoint) GoogleCloudNetworksecurityV1beta1GrpcEndpoint { if v != nil { @@ -978,6 +1129,12 @@ func (o GoogleCloudNetworksecurityV1beta1GrpcEndpointResponseOutput) ToGoogleClo return o } +func (o GoogleCloudNetworksecurityV1beta1GrpcEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudNetworksecurityV1beta1GrpcEndpointResponse] { + return pulumix.Output[GoogleCloudNetworksecurityV1beta1GrpcEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:". func (o GoogleCloudNetworksecurityV1beta1GrpcEndpointResponseOutput) TargetUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudNetworksecurityV1beta1GrpcEndpointResponse) string { return v.TargetUri }).(pulumi.StringOutput) @@ -1022,6 +1179,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -1047,6 +1210,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -1062,6 +1231,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -1086,6 +1261,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -1115,6 +1296,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -1139,6 +1326,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -1184,6 +1377,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -1209,6 +1408,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -1224,6 +1429,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -1248,6 +1459,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -1277,6 +1494,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -1301,6 +1524,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -1350,6 +1579,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -1375,6 +1610,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -1390,6 +1631,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -1419,6 +1666,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -1450,6 +1703,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -1479,6 +1738,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -1524,6 +1789,12 @@ func (i HttpHeaderMatchArgs) ToHttpHeaderMatchOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderMatchOutput) } +func (i HttpHeaderMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatch] { + return pulumix.Output[HttpHeaderMatch]{ + OutputState: i.ToHttpHeaderMatchOutputWithContext(ctx).OutputState, + } +} + func (i HttpHeaderMatchArgs) ToHttpHeaderMatchPtrOutput() HttpHeaderMatchPtrOutput { return i.ToHttpHeaderMatchPtrOutputWithContext(context.Background()) } @@ -1565,6 +1836,12 @@ func (i *httpHeaderMatchPtrType) ToHttpHeaderMatchPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(HttpHeaderMatchPtrOutput) } +func (i *httpHeaderMatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpHeaderMatch] { + return pulumix.Output[*HttpHeaderMatch]{ + OutputState: i.ToHttpHeaderMatchPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of HTTP header match attributes. type HttpHeaderMatchOutput struct{ *pulumi.OutputState } @@ -1590,6 +1867,12 @@ func (o HttpHeaderMatchOutput) ToHttpHeaderMatchPtrOutputWithContext(ctx context }).(HttpHeaderMatchPtrOutput) } +func (o HttpHeaderMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatch] { + return pulumix.Output[HttpHeaderMatch]{ + OutputState: o.OutputState, + } +} + // The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". func (o HttpHeaderMatchOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v HttpHeaderMatch) string { return v.HeaderName }).(pulumi.StringOutput) @@ -1614,6 +1897,12 @@ func (o HttpHeaderMatchPtrOutput) ToHttpHeaderMatchPtrOutputWithContext(ctx cont return o } +func (o HttpHeaderMatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpHeaderMatch] { + return pulumix.Output[*HttpHeaderMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpHeaderMatchPtrOutput) Elem() HttpHeaderMatchOutput { return o.ApplyT(func(v *HttpHeaderMatch) HttpHeaderMatch { if v != nil { @@ -1667,6 +1956,12 @@ func (o HttpHeaderMatchResponseOutput) ToHttpHeaderMatchResponseOutputWithContex return o } +func (o HttpHeaderMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpHeaderMatchResponse] { + return pulumix.Output[HttpHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + // The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". func (o HttpHeaderMatchResponseOutput) HeaderName() pulumi.StringOutput { return o.ApplyT(func(v HttpHeaderMatchResponse) string { return v.HeaderName }).(pulumi.StringOutput) @@ -1720,6 +2015,12 @@ func (i MTLSPolicyArgs) ToMTLSPolicyOutputWithContext(ctx context.Context) MTLSP return pulumi.ToOutputWithContext(ctx, i).(MTLSPolicyOutput) } +func (i MTLSPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[MTLSPolicy] { + return pulumix.Output[MTLSPolicy]{ + OutputState: i.ToMTLSPolicyOutputWithContext(ctx).OutputState, + } +} + func (i MTLSPolicyArgs) ToMTLSPolicyPtrOutput() MTLSPolicyPtrOutput { return i.ToMTLSPolicyPtrOutputWithContext(context.Background()) } @@ -1761,6 +2062,12 @@ func (i *mtlspolicyPtrType) ToMTLSPolicyPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(MTLSPolicyPtrOutput) } +func (i *mtlspolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*MTLSPolicy] { + return pulumix.Output[*MTLSPolicy]{ + OutputState: i.ToMTLSPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of the MTLSPolicy. type MTLSPolicyOutput struct{ *pulumi.OutputState } @@ -1786,6 +2093,12 @@ func (o MTLSPolicyOutput) ToMTLSPolicyPtrOutputWithContext(ctx context.Context) }).(MTLSPolicyPtrOutput) } +func (o MTLSPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[MTLSPolicy] { + return pulumix.Output[MTLSPolicy]{ + OutputState: o.OutputState, + } +} + // Required if the policy is to be used with Traffic Director. For external HTTPS load balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. func (o MTLSPolicyOutput) ClientValidationCa() ValidationCAArrayOutput { return o.ApplyT(func(v MTLSPolicy) []ValidationCA { return v.ClientValidationCa }).(ValidationCAArrayOutput) @@ -1815,6 +2128,12 @@ func (o MTLSPolicyPtrOutput) ToMTLSPolicyPtrOutputWithContext(ctx context.Contex return o } +func (o MTLSPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MTLSPolicy] { + return pulumix.Output[*MTLSPolicy]{ + OutputState: o.OutputState, + } +} + func (o MTLSPolicyPtrOutput) Elem() MTLSPolicyOutput { return o.ApplyT(func(v *MTLSPolicy) MTLSPolicy { if v != nil { @@ -1880,6 +2199,12 @@ func (o MTLSPolicyResponseOutput) ToMTLSPolicyResponseOutputWithContext(ctx cont return o } +func (o MTLSPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MTLSPolicyResponse] { + return pulumix.Output[MTLSPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Required if the policy is to be used with Traffic Director. For external HTTPS load balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. func (o MTLSPolicyResponseOutput) ClientValidationCa() ValidationCAResponseArrayOutput { return o.ApplyT(func(v MTLSPolicyResponse) []ValidationCAResponse { return v.ClientValidationCa }).(ValidationCAResponseArrayOutput) @@ -1934,6 +2259,12 @@ func (i RuleTypeArgs) ToRuleTypeOutputWithContext(ctx context.Context) RuleTypeO return pulumi.ToOutputWithContext(ctx, i).(RuleTypeOutput) } +func (i RuleTypeArgs) ToOutput(ctx context.Context) pulumix.Output[RuleType] { + return pulumix.Output[RuleType]{ + OutputState: i.ToRuleTypeOutputWithContext(ctx).OutputState, + } +} + // RuleTypeArrayInput is an input type that accepts RuleTypeArray and RuleTypeArrayOutput values. // You can construct a concrete instance of `RuleTypeArrayInput` via: // @@ -1959,6 +2290,12 @@ func (i RuleTypeArray) ToRuleTypeArrayOutputWithContext(ctx context.Context) Rul return pulumi.ToOutputWithContext(ctx, i).(RuleTypeArrayOutput) } +func (i RuleTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]RuleType] { + return pulumix.Output[[]RuleType]{ + OutputState: i.ToRuleTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Specification of rules. type RuleTypeOutput struct{ *pulumi.OutputState } @@ -1974,6 +2311,12 @@ func (o RuleTypeOutput) ToRuleTypeOutputWithContext(ctx context.Context) RuleTyp return o } +func (o RuleTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RuleType] { + return pulumix.Output[RuleType]{ + OutputState: o.OutputState, + } +} + // Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination. func (o RuleTypeOutput) Destinations() DestinationArrayOutput { return o.ApplyT(func(v RuleType) []Destination { return v.Destinations }).(DestinationArrayOutput) @@ -1998,6 +2341,12 @@ func (o RuleTypeArrayOutput) ToRuleTypeArrayOutputWithContext(ctx context.Contex return o } +func (o RuleTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleType] { + return pulumix.Output[[]RuleType]{ + OutputState: o.OutputState, + } +} + func (o RuleTypeArrayOutput) Index(i pulumi.IntInput) RuleTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RuleType { return vs[0].([]RuleType)[vs[1].(int)] @@ -2027,6 +2376,12 @@ func (o RuleResponseOutput) ToRuleResponseOutputWithContext(ctx context.Context) return o } +func (o RuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuleResponse] { + return pulumix.Output[RuleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers. If not set, the action specified in the 'action' field will be applied without any rule checks for the destination. func (o RuleResponseOutput) Destinations() DestinationResponseArrayOutput { return o.ApplyT(func(v RuleResponse) []DestinationResponse { return v.Destinations }).(DestinationResponseArrayOutput) @@ -2051,6 +2406,12 @@ func (o RuleResponseArrayOutput) ToRuleResponseArrayOutputWithContext(ctx contex return o } +func (o RuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuleResponse] { + return pulumix.Output[[]RuleResponse]{ + OutputState: o.OutputState, + } +} + func (o RuleResponseArrayOutput) Index(i pulumi.IntInput) RuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RuleResponse { return vs[0].([]RuleResponse)[vs[1].(int)] @@ -2096,6 +2457,12 @@ func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i SourceArgs) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + // SourceArrayInput is an input type that accepts SourceArray and SourceArrayOutput values. // You can construct a concrete instance of `SourceArrayInput` via: // @@ -2121,6 +2488,12 @@ func (i SourceArray) ToSourceArrayOutputWithContext(ctx context.Context) SourceA return pulumi.ToOutputWithContext(ctx, i).(SourceArrayOutput) } +func (i SourceArray) ToOutput(ctx context.Context) pulumix.Output[[]Source] { + return pulumix.Output[[]Source]{ + OutputState: i.ToSourceArrayOutputWithContext(ctx).OutputState, + } +} + // Specification of traffic source attributes. type SourceOutput struct{ *pulumi.OutputState } @@ -2136,6 +2509,12 @@ func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutpu return o } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[Source] { + return pulumix.Output[Source]{ + OutputState: o.OutputState, + } +} + // Optional. List of CIDR ranges to match based on source IP address. At least one IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g., "1.2.3.0/24") are supported. Authorization based on source IP alone should be avoided. The IP addresses of any load balancers or proxies should be considered untrusted. func (o SourceOutput) IpBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v Source) []string { return v.IpBlocks }).(pulumi.StringArrayOutput) @@ -2160,6 +2539,12 @@ func (o SourceArrayOutput) ToSourceArrayOutputWithContext(ctx context.Context) S return o } +func (o SourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Source] { + return pulumix.Output[[]Source]{ + OutputState: o.OutputState, + } +} + func (o SourceArrayOutput) Index(i pulumi.IntInput) SourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Source { return vs[0].([]Source)[vs[1].(int)] @@ -2189,6 +2574,12 @@ func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Cont return o } +func (o SourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceResponse] { + return pulumix.Output[SourceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of CIDR ranges to match based on source IP address. At least one IP block should match. Single IP (e.g., "1.2.3.4") and CIDR (e.g., "1.2.3.0/24") are supported. Authorization based on source IP alone should be avoided. The IP addresses of any load balancers or proxies should be considered untrusted. func (o SourceResponseOutput) IpBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v SourceResponse) []string { return v.IpBlocks }).(pulumi.StringArrayOutput) @@ -2213,6 +2604,12 @@ func (o SourceResponseArrayOutput) ToSourceResponseArrayOutputWithContext(ctx co return o } +func (o SourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SourceResponse] { + return pulumix.Output[[]SourceResponse]{ + OutputState: o.OutputState, + } +} + func (o SourceResponseArrayOutput) Index(i pulumi.IntInput) SourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SourceResponse { return vs[0].([]SourceResponse)[vs[1].(int)] @@ -2258,6 +2655,12 @@ func (i ValidationCAArgs) ToValidationCAOutputWithContext(ctx context.Context) V return pulumi.ToOutputWithContext(ctx, i).(ValidationCAOutput) } +func (i ValidationCAArgs) ToOutput(ctx context.Context) pulumix.Output[ValidationCA] { + return pulumix.Output[ValidationCA]{ + OutputState: i.ToValidationCAOutputWithContext(ctx).OutputState, + } +} + // ValidationCAArrayInput is an input type that accepts ValidationCAArray and ValidationCAArrayOutput values. // You can construct a concrete instance of `ValidationCAArrayInput` via: // @@ -2283,6 +2686,12 @@ func (i ValidationCAArray) ToValidationCAArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ValidationCAArrayOutput) } +func (i ValidationCAArray) ToOutput(ctx context.Context) pulumix.Output[[]ValidationCA] { + return pulumix.Output[[]ValidationCA]{ + OutputState: i.ToValidationCAArrayOutputWithContext(ctx).OutputState, + } +} + // Specification of ValidationCA. Defines the mechanism to obtain the Certificate Authority certificate to validate the peer certificate. type ValidationCAOutput struct{ *pulumi.OutputState } @@ -2298,6 +2707,12 @@ func (o ValidationCAOutput) ToValidationCAOutputWithContext(ctx context.Context) return o } +func (o ValidationCAOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationCA] { + return pulumix.Output[ValidationCA]{ + OutputState: o.OutputState, + } +} + // The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. func (o ValidationCAOutput) CertificateProviderInstance() CertificateProviderInstancePtrOutput { return o.ApplyT(func(v ValidationCA) *CertificateProviderInstance { return v.CertificateProviderInstance }).(CertificateProviderInstancePtrOutput) @@ -2322,6 +2737,12 @@ func (o ValidationCAArrayOutput) ToValidationCAArrayOutputWithContext(ctx contex return o } +func (o ValidationCAArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidationCA] { + return pulumix.Output[[]ValidationCA]{ + OutputState: o.OutputState, + } +} + func (o ValidationCAArrayOutput) Index(i pulumi.IntInput) ValidationCAOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ValidationCA { return vs[0].([]ValidationCA)[vs[1].(int)] @@ -2351,6 +2772,12 @@ func (o ValidationCAResponseOutput) ToValidationCAResponseOutputWithContext(ctx return o } +func (o ValidationCAResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ValidationCAResponse] { + return pulumix.Output[ValidationCAResponse]{ + OutputState: o.OutputState, + } +} + // The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. func (o ValidationCAResponseOutput) CertificateProviderInstance() CertificateProviderInstanceResponseOutput { return o.ApplyT(func(v ValidationCAResponse) CertificateProviderInstanceResponse { return v.CertificateProviderInstance }).(CertificateProviderInstanceResponseOutput) @@ -2377,6 +2804,12 @@ func (o ValidationCAResponseArrayOutput) ToValidationCAResponseArrayOutputWithCo return o } +func (o ValidationCAResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ValidationCAResponse] { + return pulumix.Output[[]ValidationCAResponse]{ + OutputState: o.OutputState, + } +} + func (o ValidationCAResponseArrayOutput) Index(i pulumi.IntInput) ValidationCAResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ValidationCAResponse { return vs[0].([]ValidationCAResponse)[vs[1].(int)] diff --git a/sdk/go/google/networksecurity/v1beta1/rule.go b/sdk/go/google/networksecurity/v1beta1/rule.go index 4bfbc07ec7..255016493d 100644 --- a/sdk/go/google/networksecurity/v1beta1/rule.go +++ b/sdk/go/google/networksecurity/v1beta1/rule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new GatewaySecurityPolicy in a given project and location. @@ -179,6 +180,12 @@ func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return pulumi.ToOutputWithContext(ctx, i).(RuleOutput) } +func (i *Rule) ToOutput(ctx context.Context) pulumix.Output[*Rule] { + return pulumix.Output[*Rule]{ + OutputState: i.ToRuleOutputWithContext(ctx).OutputState, + } +} + type RuleOutput struct{ *pulumi.OutputState } func (RuleOutput) ElementType() reflect.Type { @@ -193,6 +200,12 @@ func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput { return o } +func (o RuleOutput) ToOutput(ctx context.Context) pulumix.Output[*Rule] { + return pulumix.Output[*Rule]{ + OutputState: o.OutputState, + } +} + // Optional. CEL expression for matching on L7/application level criteria. func (o RuleOutput) ApplicationMatcher() pulumi.StringOutput { return o.ApplyT(func(v *Rule) pulumi.StringOutput { return v.ApplicationMatcher }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/serverTlsPolicy.go b/sdk/go/google/networksecurity/v1beta1/serverTlsPolicy.go index c2f389722c..82d2d07d25 100644 --- a/sdk/go/google/networksecurity/v1beta1/serverTlsPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/serverTlsPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ServerTlsPolicy in a given project and location. @@ -148,6 +149,12 @@ func (i *ServerTlsPolicy) ToServerTlsPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ServerTlsPolicyOutput) } +func (i *ServerTlsPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicy] { + return pulumix.Output[*ServerTlsPolicy]{ + OutputState: i.ToServerTlsPolicyOutputWithContext(ctx).OutputState, + } +} + type ServerTlsPolicyOutput struct{ *pulumi.OutputState } func (ServerTlsPolicyOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o ServerTlsPolicyOutput) ToServerTlsPolicyOutputWithContext(ctx context.Co return o } +func (o ServerTlsPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicy] { + return pulumix.Output[*ServerTlsPolicy]{ + OutputState: o.OutputState, + } +} + // This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. func (o ServerTlsPolicyOutput) AllowOpen() pulumi.BoolOutput { return o.ApplyT(func(v *ServerTlsPolicy) pulumi.BoolOutput { return v.AllowOpen }).(pulumi.BoolOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamBinding.go b/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamBinding.go index 4cd4064f29..4a5489e0d9 100644 --- a/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamBinding.go +++ b/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ServerTlsPolicyIamBinding) ToServerTlsPolicyIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ServerTlsPolicyIamBindingOutput) } +func (i *ServerTlsPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamBinding] { + return pulumix.Output[*ServerTlsPolicyIamBinding]{ + OutputState: i.ToServerTlsPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServerTlsPolicyIamBindingOutput struct{ *pulumi.OutputState } func (ServerTlsPolicyIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ServerTlsPolicyIamBindingOutput) ToServerTlsPolicyIamBindingOutputWithCo return o } +func (o ServerTlsPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamBinding] { + return pulumix.Output[*ServerTlsPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServerTlsPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServerTlsPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamMember.go b/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamMember.go index c5ccaea5c7..203ea90a83 100644 --- a/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamMember.go +++ b/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -140,6 +141,12 @@ func (i *ServerTlsPolicyIamMember) ToServerTlsPolicyIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServerTlsPolicyIamMemberOutput) } +func (i *ServerTlsPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamMember] { + return pulumix.Output[*ServerTlsPolicyIamMember]{ + OutputState: i.ToServerTlsPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServerTlsPolicyIamMemberOutput struct{ *pulumi.OutputState } func (ServerTlsPolicyIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ServerTlsPolicyIamMemberOutput) ToServerTlsPolicyIamMemberOutputWithCont return o } +func (o ServerTlsPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamMember] { + return pulumix.Output[*ServerTlsPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServerTlsPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServerTlsPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamPolicy.go b/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamPolicy.go index 52a29689f1..852c4784f3 100644 --- a/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/serverTlsPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServerTlsPolicyIamPolicy) ToServerTlsPolicyIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServerTlsPolicyIamPolicyOutput) } +func (i *ServerTlsPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamPolicy] { + return pulumix.Output[*ServerTlsPolicyIamPolicy]{ + OutputState: i.ToServerTlsPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServerTlsPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (ServerTlsPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServerTlsPolicyIamPolicyOutput) ToServerTlsPolicyIamPolicyOutputWithCont return o } +func (o ServerTlsPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServerTlsPolicyIamPolicy] { + return pulumix.Output[*ServerTlsPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServerTlsPolicyIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServerTlsPolicyIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/tlsInspectionPolicy.go b/sdk/go/google/networksecurity/v1beta1/tlsInspectionPolicy.go index 2dd3ee29e8..d6bc26f65f 100644 --- a/sdk/go/google/networksecurity/v1beta1/tlsInspectionPolicy.go +++ b/sdk/go/google/networksecurity/v1beta1/tlsInspectionPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TlsInspectionPolicy in a given project and location. @@ -133,6 +134,12 @@ func (i *TlsInspectionPolicy) ToTlsInspectionPolicyOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(TlsInspectionPolicyOutput) } +func (i *TlsInspectionPolicy) ToOutput(ctx context.Context) pulumix.Output[*TlsInspectionPolicy] { + return pulumix.Output[*TlsInspectionPolicy]{ + OutputState: i.ToTlsInspectionPolicyOutputWithContext(ctx).OutputState, + } +} + type TlsInspectionPolicyOutput struct{ *pulumi.OutputState } func (TlsInspectionPolicyOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o TlsInspectionPolicyOutput) ToTlsInspectionPolicyOutputWithContext(ctx co return o } +func (o TlsInspectionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TlsInspectionPolicy] { + return pulumix.Output[*TlsInspectionPolicy]{ + OutputState: o.OutputState, + } +} + // A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form "projects/{project}/locations/{location}/caPools/{ca_pool}". func (o TlsInspectionPolicyOutput) CaPool() pulumi.StringOutput { return o.ApplyT(func(v *TlsInspectionPolicy) pulumi.StringOutput { return v.CaPool }).(pulumi.StringOutput) diff --git a/sdk/go/google/networksecurity/v1beta1/urlList.go b/sdk/go/google/networksecurity/v1beta1/urlList.go index baeb7eb69f..c842e6622f 100644 --- a/sdk/go/google/networksecurity/v1beta1/urlList.go +++ b/sdk/go/google/networksecurity/v1beta1/urlList.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new UrlList in a given project and location. @@ -133,6 +134,12 @@ func (i *UrlList) ToUrlListOutputWithContext(ctx context.Context) UrlListOutput return pulumi.ToOutputWithContext(ctx, i).(UrlListOutput) } +func (i *UrlList) ToOutput(ctx context.Context) pulumix.Output[*UrlList] { + return pulumix.Output[*UrlList]{ + OutputState: i.ToUrlListOutputWithContext(ctx).OutputState, + } +} + type UrlListOutput struct{ *pulumi.OutputState } func (UrlListOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o UrlListOutput) ToUrlListOutputWithContext(ctx context.Context) UrlListOu return o } +func (o UrlListOutput) ToOutput(ctx context.Context) pulumix.Output[*UrlList] { + return pulumix.Output[*UrlList]{ + OutputState: o.OutputState, + } +} + // Time when the security policy was created. func (o UrlListOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *UrlList) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/edgeCacheKeysetIamBinding.go b/sdk/go/google/networkservices/v1/edgeCacheKeysetIamBinding.go index f4c77ee6b3..8db2d9eedb 100644 --- a/sdk/go/google/networkservices/v1/edgeCacheKeysetIamBinding.go +++ b/sdk/go/google/networkservices/v1/edgeCacheKeysetIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EdgeCacheKeysetIamBinding) ToEdgeCacheKeysetIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(EdgeCacheKeysetIamBindingOutput) } +func (i *EdgeCacheKeysetIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheKeysetIamBinding] { + return pulumix.Output[*EdgeCacheKeysetIamBinding]{ + OutputState: i.ToEdgeCacheKeysetIamBindingOutputWithContext(ctx).OutputState, + } +} + type EdgeCacheKeysetIamBindingOutput struct{ *pulumi.OutputState } func (EdgeCacheKeysetIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EdgeCacheKeysetIamBindingOutput) ToEdgeCacheKeysetIamBindingOutputWithCo return o } +func (o EdgeCacheKeysetIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheKeysetIamBinding] { + return pulumix.Output[*EdgeCacheKeysetIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EdgeCacheKeysetIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EdgeCacheKeysetIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/edgeCacheKeysetIamMember.go b/sdk/go/google/networkservices/v1/edgeCacheKeysetIamMember.go index 939a55e3f2..e24f7fe1f6 100644 --- a/sdk/go/google/networkservices/v1/edgeCacheKeysetIamMember.go +++ b/sdk/go/google/networkservices/v1/edgeCacheKeysetIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EdgeCacheKeysetIamMember) ToEdgeCacheKeysetIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(EdgeCacheKeysetIamMemberOutput) } +func (i *EdgeCacheKeysetIamMember) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheKeysetIamMember] { + return pulumix.Output[*EdgeCacheKeysetIamMember]{ + OutputState: i.ToEdgeCacheKeysetIamMemberOutputWithContext(ctx).OutputState, + } +} + type EdgeCacheKeysetIamMemberOutput struct{ *pulumi.OutputState } func (EdgeCacheKeysetIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EdgeCacheKeysetIamMemberOutput) ToEdgeCacheKeysetIamMemberOutputWithCont return o } +func (o EdgeCacheKeysetIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheKeysetIamMember] { + return pulumix.Output[*EdgeCacheKeysetIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EdgeCacheKeysetIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EdgeCacheKeysetIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/edgeCacheKeysetIamPolicy.go b/sdk/go/google/networkservices/v1/edgeCacheKeysetIamPolicy.go index 870470cfd4..5384e4944a 100644 --- a/sdk/go/google/networkservices/v1/edgeCacheKeysetIamPolicy.go +++ b/sdk/go/google/networkservices/v1/edgeCacheKeysetIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EdgeCacheKeysetIamPolicy) ToEdgeCacheKeysetIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(EdgeCacheKeysetIamPolicyOutput) } +func (i *EdgeCacheKeysetIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheKeysetIamPolicy] { + return pulumix.Output[*EdgeCacheKeysetIamPolicy]{ + OutputState: i.ToEdgeCacheKeysetIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EdgeCacheKeysetIamPolicyOutput struct{ *pulumi.OutputState } func (EdgeCacheKeysetIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EdgeCacheKeysetIamPolicyOutput) ToEdgeCacheKeysetIamPolicyOutputWithCont return o } +func (o EdgeCacheKeysetIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheKeysetIamPolicy] { + return pulumix.Output[*EdgeCacheKeysetIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o EdgeCacheKeysetIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *EdgeCacheKeysetIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/edgeCacheOriginIamBinding.go b/sdk/go/google/networkservices/v1/edgeCacheOriginIamBinding.go index 68ebb9935e..0b58e578ad 100644 --- a/sdk/go/google/networkservices/v1/edgeCacheOriginIamBinding.go +++ b/sdk/go/google/networkservices/v1/edgeCacheOriginIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EdgeCacheOriginIamBinding) ToEdgeCacheOriginIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(EdgeCacheOriginIamBindingOutput) } +func (i *EdgeCacheOriginIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheOriginIamBinding] { + return pulumix.Output[*EdgeCacheOriginIamBinding]{ + OutputState: i.ToEdgeCacheOriginIamBindingOutputWithContext(ctx).OutputState, + } +} + type EdgeCacheOriginIamBindingOutput struct{ *pulumi.OutputState } func (EdgeCacheOriginIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EdgeCacheOriginIamBindingOutput) ToEdgeCacheOriginIamBindingOutputWithCo return o } +func (o EdgeCacheOriginIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheOriginIamBinding] { + return pulumix.Output[*EdgeCacheOriginIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EdgeCacheOriginIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EdgeCacheOriginIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/edgeCacheOriginIamMember.go b/sdk/go/google/networkservices/v1/edgeCacheOriginIamMember.go index 0edd85021f..9886116f16 100644 --- a/sdk/go/google/networkservices/v1/edgeCacheOriginIamMember.go +++ b/sdk/go/google/networkservices/v1/edgeCacheOriginIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EdgeCacheOriginIamMember) ToEdgeCacheOriginIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(EdgeCacheOriginIamMemberOutput) } +func (i *EdgeCacheOriginIamMember) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheOriginIamMember] { + return pulumix.Output[*EdgeCacheOriginIamMember]{ + OutputState: i.ToEdgeCacheOriginIamMemberOutputWithContext(ctx).OutputState, + } +} + type EdgeCacheOriginIamMemberOutput struct{ *pulumi.OutputState } func (EdgeCacheOriginIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EdgeCacheOriginIamMemberOutput) ToEdgeCacheOriginIamMemberOutputWithCont return o } +func (o EdgeCacheOriginIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheOriginIamMember] { + return pulumix.Output[*EdgeCacheOriginIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EdgeCacheOriginIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EdgeCacheOriginIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/edgeCacheOriginIamPolicy.go b/sdk/go/google/networkservices/v1/edgeCacheOriginIamPolicy.go index b6405626de..63b013e35f 100644 --- a/sdk/go/google/networkservices/v1/edgeCacheOriginIamPolicy.go +++ b/sdk/go/google/networkservices/v1/edgeCacheOriginIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EdgeCacheOriginIamPolicy) ToEdgeCacheOriginIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(EdgeCacheOriginIamPolicyOutput) } +func (i *EdgeCacheOriginIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheOriginIamPolicy] { + return pulumix.Output[*EdgeCacheOriginIamPolicy]{ + OutputState: i.ToEdgeCacheOriginIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EdgeCacheOriginIamPolicyOutput struct{ *pulumi.OutputState } func (EdgeCacheOriginIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EdgeCacheOriginIamPolicyOutput) ToEdgeCacheOriginIamPolicyOutputWithCont return o } +func (o EdgeCacheOriginIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheOriginIamPolicy] { + return pulumix.Output[*EdgeCacheOriginIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o EdgeCacheOriginIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *EdgeCacheOriginIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/edgeCacheServiceIamBinding.go b/sdk/go/google/networkservices/v1/edgeCacheServiceIamBinding.go index 5078e846d7..6473da2471 100644 --- a/sdk/go/google/networkservices/v1/edgeCacheServiceIamBinding.go +++ b/sdk/go/google/networkservices/v1/edgeCacheServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EdgeCacheServiceIamBinding) ToEdgeCacheServiceIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(EdgeCacheServiceIamBindingOutput) } +func (i *EdgeCacheServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheServiceIamBinding] { + return pulumix.Output[*EdgeCacheServiceIamBinding]{ + OutputState: i.ToEdgeCacheServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type EdgeCacheServiceIamBindingOutput struct{ *pulumi.OutputState } func (EdgeCacheServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EdgeCacheServiceIamBindingOutput) ToEdgeCacheServiceIamBindingOutputWith return o } +func (o EdgeCacheServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheServiceIamBinding] { + return pulumix.Output[*EdgeCacheServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EdgeCacheServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EdgeCacheServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/edgeCacheServiceIamMember.go b/sdk/go/google/networkservices/v1/edgeCacheServiceIamMember.go index 7deed0b098..5d42789bf4 100644 --- a/sdk/go/google/networkservices/v1/edgeCacheServiceIamMember.go +++ b/sdk/go/google/networkservices/v1/edgeCacheServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EdgeCacheServiceIamMember) ToEdgeCacheServiceIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(EdgeCacheServiceIamMemberOutput) } +func (i *EdgeCacheServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheServiceIamMember] { + return pulumix.Output[*EdgeCacheServiceIamMember]{ + OutputState: i.ToEdgeCacheServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type EdgeCacheServiceIamMemberOutput struct{ *pulumi.OutputState } func (EdgeCacheServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EdgeCacheServiceIamMemberOutput) ToEdgeCacheServiceIamMemberOutputWithCo return o } +func (o EdgeCacheServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheServiceIamMember] { + return pulumix.Output[*EdgeCacheServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EdgeCacheServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EdgeCacheServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/edgeCacheServiceIamPolicy.go b/sdk/go/google/networkservices/v1/edgeCacheServiceIamPolicy.go index d3452e418a..80bbbd2abd 100644 --- a/sdk/go/google/networkservices/v1/edgeCacheServiceIamPolicy.go +++ b/sdk/go/google/networkservices/v1/edgeCacheServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EdgeCacheServiceIamPolicy) ToEdgeCacheServiceIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(EdgeCacheServiceIamPolicyOutput) } +func (i *EdgeCacheServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheServiceIamPolicy] { + return pulumix.Output[*EdgeCacheServiceIamPolicy]{ + OutputState: i.ToEdgeCacheServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EdgeCacheServiceIamPolicyOutput struct{ *pulumi.OutputState } func (EdgeCacheServiceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EdgeCacheServiceIamPolicyOutput) ToEdgeCacheServiceIamPolicyOutputWithCo return o } +func (o EdgeCacheServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EdgeCacheServiceIamPolicy] { + return pulumix.Output[*EdgeCacheServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o EdgeCacheServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *EdgeCacheServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/endpointPolicy.go b/sdk/go/google/networkservices/v1/endpointPolicy.go index 5b7b8d7817..1c0c4b2321 100644 --- a/sdk/go/google/networkservices/v1/endpointPolicy.go +++ b/sdk/go/google/networkservices/v1/endpointPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new EndpointPolicy in a given project and location. @@ -172,6 +173,12 @@ func (i *EndpointPolicy) ToEndpointPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(EndpointPolicyOutput) } +func (i *EndpointPolicy) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicy] { + return pulumix.Output[*EndpointPolicy]{ + OutputState: i.ToEndpointPolicyOutputWithContext(ctx).OutputState, + } +} + type EndpointPolicyOutput struct{ *pulumi.OutputState } func (EndpointPolicyOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o EndpointPolicyOutput) ToEndpointPolicyOutputWithContext(ctx context.Cont return o } +func (o EndpointPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicy] { + return pulumix.Output[*EndpointPolicy]{ + OutputState: o.OutputState, + } +} + // Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint. func (o EndpointPolicyOutput) AuthorizationPolicy() pulumi.StringOutput { return o.ApplyT(func(v *EndpointPolicy) pulumi.StringOutput { return v.AuthorizationPolicy }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/endpointPolicyIamBinding.go b/sdk/go/google/networkservices/v1/endpointPolicyIamBinding.go index a13b0c8bf1..515145fed4 100644 --- a/sdk/go/google/networkservices/v1/endpointPolicyIamBinding.go +++ b/sdk/go/google/networkservices/v1/endpointPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EndpointPolicyIamBinding) ToEndpointPolicyIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(EndpointPolicyIamBindingOutput) } +func (i *EndpointPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamBinding] { + return pulumix.Output[*EndpointPolicyIamBinding]{ + OutputState: i.ToEndpointPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type EndpointPolicyIamBindingOutput struct{ *pulumi.OutputState } func (EndpointPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EndpointPolicyIamBindingOutput) ToEndpointPolicyIamBindingOutputWithCont return o } +func (o EndpointPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamBinding] { + return pulumix.Output[*EndpointPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EndpointPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EndpointPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/endpointPolicyIamMember.go b/sdk/go/google/networkservices/v1/endpointPolicyIamMember.go index 0e4bbde6a0..465aec66f3 100644 --- a/sdk/go/google/networkservices/v1/endpointPolicyIamMember.go +++ b/sdk/go/google/networkservices/v1/endpointPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EndpointPolicyIamMember) ToEndpointPolicyIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(EndpointPolicyIamMemberOutput) } +func (i *EndpointPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamMember] { + return pulumix.Output[*EndpointPolicyIamMember]{ + OutputState: i.ToEndpointPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type EndpointPolicyIamMemberOutput struct{ *pulumi.OutputState } func (EndpointPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EndpointPolicyIamMemberOutput) ToEndpointPolicyIamMemberOutputWithContex return o } +func (o EndpointPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamMember] { + return pulumix.Output[*EndpointPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EndpointPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EndpointPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/endpointPolicyIamPolicy.go b/sdk/go/google/networkservices/v1/endpointPolicyIamPolicy.go index c6ffcf1791..4dce45d15e 100644 --- a/sdk/go/google/networkservices/v1/endpointPolicyIamPolicy.go +++ b/sdk/go/google/networkservices/v1/endpointPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EndpointPolicyIamPolicy) ToEndpointPolicyIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(EndpointPolicyIamPolicyOutput) } +func (i *EndpointPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamPolicy] { + return pulumix.Output[*EndpointPolicyIamPolicy]{ + OutputState: i.ToEndpointPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EndpointPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (EndpointPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EndpointPolicyIamPolicyOutput) ToEndpointPolicyIamPolicyOutputWithContex return o } +func (o EndpointPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamPolicy] { + return pulumix.Output[*EndpointPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o EndpointPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *EndpointPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/gateway.go b/sdk/go/google/networkservices/v1/gateway.go index 8173ebc12c..e0b7ed2eca 100644 --- a/sdk/go/google/networkservices/v1/gateway.go +++ b/sdk/go/google/networkservices/v1/gateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Gateway in a given project and location. @@ -189,6 +190,12 @@ func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput return pulumi.ToOutputWithContext(ctx, i).(GatewayOutput) } +func (i *Gateway) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: i.ToGatewayOutputWithContext(ctx).OutputState, + } +} + type GatewayOutput struct{ *pulumi.OutputState } func (GatewayOutput) ElementType() reflect.Type { @@ -203,6 +210,12 @@ func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOu return o } +func (o GatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: o.OutputState, + } +} + // Optional. Zero or one IPv4-address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0. func (o GatewayOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v *Gateway) pulumi.StringArrayOutput { return v.Addresses }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/networkservices/v1/gatewayIamBinding.go b/sdk/go/google/networkservices/v1/gatewayIamBinding.go index 90b7df05bb..065e2b3fad 100644 --- a/sdk/go/google/networkservices/v1/gatewayIamBinding.go +++ b/sdk/go/google/networkservices/v1/gatewayIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GatewayIamBinding) ToGatewayIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(GatewayIamBindingOutput) } +func (i *GatewayIamBinding) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamBinding] { + return pulumix.Output[*GatewayIamBinding]{ + OutputState: i.ToGatewayIamBindingOutputWithContext(ctx).OutputState, + } +} + type GatewayIamBindingOutput struct{ *pulumi.OutputState } func (GatewayIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GatewayIamBindingOutput) ToGatewayIamBindingOutputWithContext(ctx contex return o } +func (o GatewayIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamBinding] { + return pulumix.Output[*GatewayIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GatewayIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GatewayIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/gatewayIamMember.go b/sdk/go/google/networkservices/v1/gatewayIamMember.go index 33de45cd42..e3af48f07a 100644 --- a/sdk/go/google/networkservices/v1/gatewayIamMember.go +++ b/sdk/go/google/networkservices/v1/gatewayIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GatewayIamMember) ToGatewayIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GatewayIamMemberOutput) } +func (i *GatewayIamMember) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamMember] { + return pulumix.Output[*GatewayIamMember]{ + OutputState: i.ToGatewayIamMemberOutputWithContext(ctx).OutputState, + } +} + type GatewayIamMemberOutput struct{ *pulumi.OutputState } func (GatewayIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GatewayIamMemberOutput) ToGatewayIamMemberOutputWithContext(ctx context. return o } +func (o GatewayIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamMember] { + return pulumix.Output[*GatewayIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GatewayIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GatewayIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/gatewayIamPolicy.go b/sdk/go/google/networkservices/v1/gatewayIamPolicy.go index ac76230692..48a0a7c614 100644 --- a/sdk/go/google/networkservices/v1/gatewayIamPolicy.go +++ b/sdk/go/google/networkservices/v1/gatewayIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GatewayIamPolicy) ToGatewayIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GatewayIamPolicyOutput) } +func (i *GatewayIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamPolicy] { + return pulumix.Output[*GatewayIamPolicy]{ + OutputState: i.ToGatewayIamPolicyOutputWithContext(ctx).OutputState, + } +} + type GatewayIamPolicyOutput struct{ *pulumi.OutputState } func (GatewayIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GatewayIamPolicyOutput) ToGatewayIamPolicyOutputWithContext(ctx context. return o } +func (o GatewayIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamPolicy] { + return pulumix.Output[*GatewayIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o GatewayIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *GatewayIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/getEdgeCacheKeysetIamPolicy.go b/sdk/go/google/networkservices/v1/getEdgeCacheKeysetIamPolicy.go index d7309f15b8..f62478c34e 100644 --- a/sdk/go/google/networkservices/v1/getEdgeCacheKeysetIamPolicy.go +++ b/sdk/go/google/networkservices/v1/getEdgeCacheKeysetIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupEdgeCacheKeysetIamPolicyResultOutput) ToLookupEdgeCacheKeysetIamPo return o } +func (o LookupEdgeCacheKeysetIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEdgeCacheKeysetIamPolicyResult] { + return pulumix.Output[LookupEdgeCacheKeysetIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupEdgeCacheKeysetIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupEdgeCacheKeysetIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/getEdgeCacheOriginIamPolicy.go b/sdk/go/google/networkservices/v1/getEdgeCacheOriginIamPolicy.go index 511fefb4ca..0bbf589981 100644 --- a/sdk/go/google/networkservices/v1/getEdgeCacheOriginIamPolicy.go +++ b/sdk/go/google/networkservices/v1/getEdgeCacheOriginIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupEdgeCacheOriginIamPolicyResultOutput) ToLookupEdgeCacheOriginIamPo return o } +func (o LookupEdgeCacheOriginIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEdgeCacheOriginIamPolicyResult] { + return pulumix.Output[LookupEdgeCacheOriginIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupEdgeCacheOriginIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupEdgeCacheOriginIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/getEdgeCacheServiceIamPolicy.go b/sdk/go/google/networkservices/v1/getEdgeCacheServiceIamPolicy.go index b5bdb75f8c..613cb0d656 100644 --- a/sdk/go/google/networkservices/v1/getEdgeCacheServiceIamPolicy.go +++ b/sdk/go/google/networkservices/v1/getEdgeCacheServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupEdgeCacheServiceIamPolicyResultOutput) ToLookupEdgeCacheServiceIam return o } +func (o LookupEdgeCacheServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEdgeCacheServiceIamPolicyResult] { + return pulumix.Output[LookupEdgeCacheServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupEdgeCacheServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupEdgeCacheServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/getEndpointPolicy.go b/sdk/go/google/networkservices/v1/getEndpointPolicy.go index f0e5bc674b..f304b574b2 100644 --- a/sdk/go/google/networkservices/v1/getEndpointPolicy.go +++ b/sdk/go/google/networkservices/v1/getEndpointPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single EndpointPolicy. @@ -90,6 +91,12 @@ func (o LookupEndpointPolicyResultOutput) ToLookupEndpointPolicyResultOutputWith return o } +func (o LookupEndpointPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEndpointPolicyResult] { + return pulumix.Output[LookupEndpointPolicyResult]{ + OutputState: o.OutputState, + } +} + // Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint. func (o LookupEndpointPolicyResultOutput) AuthorizationPolicy() pulumi.StringOutput { return o.ApplyT(func(v LookupEndpointPolicyResult) string { return v.AuthorizationPolicy }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/getEndpointPolicyIamPolicy.go b/sdk/go/google/networkservices/v1/getEndpointPolicyIamPolicy.go index 276f56fcbc..56397fc716 100644 --- a/sdk/go/google/networkservices/v1/getEndpointPolicyIamPolicy.go +++ b/sdk/go/google/networkservices/v1/getEndpointPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupEndpointPolicyIamPolicyResultOutput) ToLookupEndpointPolicyIamPoli return o } +func (o LookupEndpointPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEndpointPolicyIamPolicyResult] { + return pulumix.Output[LookupEndpointPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupEndpointPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupEndpointPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/getGateway.go b/sdk/go/google/networkservices/v1/getGateway.go index 43f4cbd3de..265d09db89 100644 --- a/sdk/go/google/networkservices/v1/getGateway.go +++ b/sdk/go/google/networkservices/v1/getGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Gateway. @@ -98,6 +99,12 @@ func (o LookupGatewayResultOutput) ToLookupGatewayResultOutputWithContext(ctx co return o } +func (o LookupGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewayResult] { + return pulumix.Output[LookupGatewayResult]{ + OutputState: o.OutputState, + } +} + // Optional. Zero or one IPv4-address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0. func (o LookupGatewayResultOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupGatewayResult) []string { return v.Addresses }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/networkservices/v1/getGatewayIamPolicy.go b/sdk/go/google/networkservices/v1/getGatewayIamPolicy.go index 5d854a4b7e..25f292171d 100644 --- a/sdk/go/google/networkservices/v1/getGatewayIamPolicy.go +++ b/sdk/go/google/networkservices/v1/getGatewayIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupGatewayIamPolicyResultOutput) ToLookupGatewayIamPolicyResultOutput return o } +func (o LookupGatewayIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewayIamPolicyResult] { + return pulumix.Output[LookupGatewayIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupGatewayIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupGatewayIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/getGrpcRoute.go b/sdk/go/google/networkservices/v1/getGrpcRoute.go index ad920b2658..1ac8471d8d 100644 --- a/sdk/go/google/networkservices/v1/getGrpcRoute.go +++ b/sdk/go/google/networkservices/v1/getGrpcRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single GrpcRoute. @@ -88,6 +89,12 @@ func (o LookupGrpcRouteResultOutput) ToLookupGrpcRouteResultOutputWithContext(ct return o } +func (o LookupGrpcRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGrpcRouteResult] { + return pulumix.Output[LookupGrpcRouteResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupGrpcRouteResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupGrpcRouteResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/getHttpRoute.go b/sdk/go/google/networkservices/v1/getHttpRoute.go index 2b7499dd95..497e11982e 100644 --- a/sdk/go/google/networkservices/v1/getHttpRoute.go +++ b/sdk/go/google/networkservices/v1/getHttpRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single HttpRoute. @@ -88,6 +89,12 @@ func (o LookupHttpRouteResultOutput) ToLookupHttpRouteResultOutputWithContext(ct return o } +func (o LookupHttpRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHttpRouteResult] { + return pulumix.Output[LookupHttpRouteResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupHttpRouteResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupHttpRouteResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/getMesh.go b/sdk/go/google/networkservices/v1/getMesh.go index 8b6c027ace..5b9ad2661b 100644 --- a/sdk/go/google/networkservices/v1/getMesh.go +++ b/sdk/go/google/networkservices/v1/getMesh.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Mesh. @@ -82,6 +83,12 @@ func (o LookupMeshResultOutput) ToLookupMeshResultOutputWithContext(ctx context. return o } +func (o LookupMeshResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMeshResult] { + return pulumix.Output[LookupMeshResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupMeshResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMeshResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/getMeshIamPolicy.go b/sdk/go/google/networkservices/v1/getMeshIamPolicy.go index 68442f7115..7142e598ab 100644 --- a/sdk/go/google/networkservices/v1/getMeshIamPolicy.go +++ b/sdk/go/google/networkservices/v1/getMeshIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupMeshIamPolicyResultOutput) ToLookupMeshIamPolicyResultOutputWithCo return o } +func (o LookupMeshIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMeshIamPolicyResult] { + return pulumix.Output[LookupMeshIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMeshIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMeshIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/getServiceBinding.go b/sdk/go/google/networkservices/v1/getServiceBinding.go index 66e2bbe477..2ad7b6d8c1 100644 --- a/sdk/go/google/networkservices/v1/getServiceBinding.go +++ b/sdk/go/google/networkservices/v1/getServiceBinding.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ServiceBinding. @@ -80,6 +81,12 @@ func (o LookupServiceBindingResultOutput) ToLookupServiceBindingResultOutputWith return o } +func (o LookupServiceBindingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceBindingResult] { + return pulumix.Output[LookupServiceBindingResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupServiceBindingResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceBindingResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/getServiceBindingIamPolicy.go b/sdk/go/google/networkservices/v1/getServiceBindingIamPolicy.go index 67f5138d6c..079ceb0c20 100644 --- a/sdk/go/google/networkservices/v1/getServiceBindingIamPolicy.go +++ b/sdk/go/google/networkservices/v1/getServiceBindingIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupServiceBindingIamPolicyResultOutput) ToLookupServiceBindingIamPoli return o } +func (o LookupServiceBindingIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceBindingIamPolicyResult] { + return pulumix.Output[LookupServiceBindingIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceBindingIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceBindingIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/getTcpRoute.go b/sdk/go/google/networkservices/v1/getTcpRoute.go index 4bcfe917f5..20c44e6e91 100644 --- a/sdk/go/google/networkservices/v1/getTcpRoute.go +++ b/sdk/go/google/networkservices/v1/getTcpRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single TcpRoute. @@ -86,6 +87,12 @@ func (o LookupTcpRouteResultOutput) ToLookupTcpRouteResultOutputWithContext(ctx return o } +func (o LookupTcpRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTcpRouteResult] { + return pulumix.Output[LookupTcpRouteResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupTcpRouteResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTcpRouteResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/getTlsRoute.go b/sdk/go/google/networkservices/v1/getTlsRoute.go index ca3fc71cf7..02738d7673 100644 --- a/sdk/go/google/networkservices/v1/getTlsRoute.go +++ b/sdk/go/google/networkservices/v1/getTlsRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single TlsRoute. @@ -84,6 +85,12 @@ func (o LookupTlsRouteResultOutput) ToLookupTlsRouteResultOutputWithContext(ctx return o } +func (o LookupTlsRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTlsRouteResult] { + return pulumix.Output[LookupTlsRouteResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupTlsRouteResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTlsRouteResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/grpcRoute.go b/sdk/go/google/networkservices/v1/grpcRoute.go index b64125491d..e76d7684e6 100644 --- a/sdk/go/google/networkservices/v1/grpcRoute.go +++ b/sdk/go/google/networkservices/v1/grpcRoute.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new GrpcRoute in a given project and location. @@ -162,6 +163,12 @@ func (i *GrpcRoute) ToGrpcRouteOutputWithContext(ctx context.Context) GrpcRouteO return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteOutput) } +func (i *GrpcRoute) ToOutput(ctx context.Context) pulumix.Output[*GrpcRoute] { + return pulumix.Output[*GrpcRoute]{ + OutputState: i.ToGrpcRouteOutputWithContext(ctx).OutputState, + } +} + type GrpcRouteOutput struct{ *pulumi.OutputState } func (GrpcRouteOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o GrpcRouteOutput) ToGrpcRouteOutputWithContext(ctx context.Context) GrpcR return o } +func (o GrpcRouteOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRoute] { + return pulumix.Output[*GrpcRoute]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o GrpcRouteOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *GrpcRoute) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/httpRoute.go b/sdk/go/google/networkservices/v1/httpRoute.go index 4c628c31a7..ba45739879 100644 --- a/sdk/go/google/networkservices/v1/httpRoute.go +++ b/sdk/go/google/networkservices/v1/httpRoute.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new HttpRoute in a given project and location. @@ -162,6 +163,12 @@ func (i *HttpRoute) ToHttpRouteOutputWithContext(ctx context.Context) HttpRouteO return pulumi.ToOutputWithContext(ctx, i).(HttpRouteOutput) } +func (i *HttpRoute) ToOutput(ctx context.Context) pulumix.Output[*HttpRoute] { + return pulumix.Output[*HttpRoute]{ + OutputState: i.ToHttpRouteOutputWithContext(ctx).OutputState, + } +} + type HttpRouteOutput struct{ *pulumi.OutputState } func (HttpRouteOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o HttpRouteOutput) ToHttpRouteOutputWithContext(ctx context.Context) HttpR return o } +func (o HttpRouteOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRoute] { + return pulumix.Output[*HttpRoute]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o HttpRouteOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *HttpRoute) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/mesh.go b/sdk/go/google/networkservices/v1/mesh.go index b1ea947e5e..9d6a4e506f 100644 --- a/sdk/go/google/networkservices/v1/mesh.go +++ b/sdk/go/google/networkservices/v1/mesh.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Mesh in a given project and location. @@ -138,6 +139,12 @@ func (i *Mesh) ToMeshOutputWithContext(ctx context.Context) MeshOutput { return pulumi.ToOutputWithContext(ctx, i).(MeshOutput) } +func (i *Mesh) ToOutput(ctx context.Context) pulumix.Output[*Mesh] { + return pulumix.Output[*Mesh]{ + OutputState: i.ToMeshOutputWithContext(ctx).OutputState, + } +} + type MeshOutput struct{ *pulumi.OutputState } func (MeshOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o MeshOutput) ToMeshOutputWithContext(ctx context.Context) MeshOutput { return o } +func (o MeshOutput) ToOutput(ctx context.Context) pulumix.Output[*Mesh] { + return pulumix.Output[*Mesh]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o MeshOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Mesh) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/meshIamBinding.go b/sdk/go/google/networkservices/v1/meshIamBinding.go index edd4c00899..aa4c737e90 100644 --- a/sdk/go/google/networkservices/v1/meshIamBinding.go +++ b/sdk/go/google/networkservices/v1/meshIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MeshIamBinding) ToMeshIamBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MeshIamBindingOutput) } +func (i *MeshIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MeshIamBinding] { + return pulumix.Output[*MeshIamBinding]{ + OutputState: i.ToMeshIamBindingOutputWithContext(ctx).OutputState, + } +} + type MeshIamBindingOutput struct{ *pulumi.OutputState } func (MeshIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MeshIamBindingOutput) ToMeshIamBindingOutputWithContext(ctx context.Cont return o } +func (o MeshIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MeshIamBinding] { + return pulumix.Output[*MeshIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MeshIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MeshIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/meshIamMember.go b/sdk/go/google/networkservices/v1/meshIamMember.go index b218b0f8a5..303a6c4f01 100644 --- a/sdk/go/google/networkservices/v1/meshIamMember.go +++ b/sdk/go/google/networkservices/v1/meshIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MeshIamMember) ToMeshIamMemberOutputWithContext(ctx context.Context) Me return pulumi.ToOutputWithContext(ctx, i).(MeshIamMemberOutput) } +func (i *MeshIamMember) ToOutput(ctx context.Context) pulumix.Output[*MeshIamMember] { + return pulumix.Output[*MeshIamMember]{ + OutputState: i.ToMeshIamMemberOutputWithContext(ctx).OutputState, + } +} + type MeshIamMemberOutput struct{ *pulumi.OutputState } func (MeshIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MeshIamMemberOutput) ToMeshIamMemberOutputWithContext(ctx context.Contex return o } +func (o MeshIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MeshIamMember] { + return pulumix.Output[*MeshIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MeshIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MeshIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/meshIamPolicy.go b/sdk/go/google/networkservices/v1/meshIamPolicy.go index 787013d42d..69ed394f26 100644 --- a/sdk/go/google/networkservices/v1/meshIamPolicy.go +++ b/sdk/go/google/networkservices/v1/meshIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MeshIamPolicy) ToMeshIamPolicyOutputWithContext(ctx context.Context) Me return pulumi.ToOutputWithContext(ctx, i).(MeshIamPolicyOutput) } +func (i *MeshIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MeshIamPolicy] { + return pulumix.Output[*MeshIamPolicy]{ + OutputState: i.ToMeshIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MeshIamPolicyOutput struct{ *pulumi.OutputState } func (MeshIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MeshIamPolicyOutput) ToMeshIamPolicyOutputWithContext(ctx context.Contex return o } +func (o MeshIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MeshIamPolicy] { + return pulumix.Output[*MeshIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MeshIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MeshIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/pulumiEnums.go b/sdk/go/google/networkservices/v1/pulumiEnums.go index 6bdbecc677..8940196da6 100644 --- a/sdk/go/google/networkservices/v1/pulumiEnums.go +++ b/sdk/go/google/networkservices/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown. type EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria string @@ -253,6 +272,12 @@ func (o EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaOutput) ToE }).(EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput) } +func (o EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria] { + return pulumix.Output[EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria]{ + OutputState: o.OutputState, + } +} + func (o EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput) return o } +func (o EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria] { + return pulumix.Output[*EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria]{ + OutputState: o.OutputState, + } +} + func (o EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput) Elem() EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaOutput { return o.ApplyT(func(v *EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria) EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria { if v != nil { @@ -350,6 +381,12 @@ func (in *endpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaPtr) ToEn return pulumi.ToOutputWithContext(ctx, in).(EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput) } +func (in *endpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaPtr) ToOutput(ctx context.Context) pulumix.Output[*EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria] { + return pulumix.Output[*EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria]{ + OutputState: in.ToEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of endpoint policy. This is primarily used to validate the configuration. type EndpointPolicyType string @@ -422,6 +459,12 @@ func (o EndpointPolicyTypeOutput) ToEndpointPolicyTypePtrOutputWithContext(ctx c }).(EndpointPolicyTypePtrOutput) } +func (o EndpointPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointPolicyType] { + return pulumix.Output[EndpointPolicyType]{ + OutputState: o.OutputState, + } +} + func (o EndpointPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o EndpointPolicyTypePtrOutput) ToEndpointPolicyTypePtrOutputWithContext(ct return o } +func (o EndpointPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyType] { + return pulumix.Output[*EndpointPolicyType]{ + OutputState: o.OutputState, + } +} + func (o EndpointPolicyTypePtrOutput) Elem() EndpointPolicyTypeOutput { return o.ApplyT(func(v *EndpointPolicyType) EndpointPolicyType { if v != nil { @@ -519,6 +568,12 @@ func (in *endpointPolicyTypePtr) ToEndpointPolicyTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(EndpointPolicyTypePtrOutput) } +func (in *endpointPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyType] { + return pulumix.Output[*EndpointPolicyType]{ + OutputState: in.ToEndpointPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is returned. type GatewayType string @@ -591,6 +646,12 @@ func (o GatewayTypeOutput) ToGatewayTypePtrOutputWithContext(ctx context.Context }).(GatewayTypePtrOutput) } +func (o GatewayTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayType] { + return pulumix.Output[GatewayType]{ + OutputState: o.OutputState, + } +} + func (o GatewayTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o GatewayTypePtrOutput) ToGatewayTypePtrOutputWithContext(ctx context.Cont return o } +func (o GatewayTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayType] { + return pulumix.Output[*GatewayType]{ + OutputState: o.OutputState, + } +} + func (o GatewayTypePtrOutput) Elem() GatewayTypeOutput { return o.ApplyT(func(v *GatewayType) GatewayType { if v != nil { @@ -688,6 +755,12 @@ func (in *gatewayTypePtr) ToGatewayTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(GatewayTypePtrOutput) } +func (in *gatewayTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GatewayType] { + return pulumix.Output[*GatewayType]{ + OutputState: in.ToGatewayTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used. type GrpcRouteHeaderMatchType string @@ -760,6 +833,12 @@ func (o GrpcRouteHeaderMatchTypeOutput) ToGrpcRouteHeaderMatchTypePtrOutputWithC }).(GrpcRouteHeaderMatchTypePtrOutput) } +func (o GrpcRouteHeaderMatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteHeaderMatchType] { + return pulumix.Output[GrpcRouteHeaderMatchType]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteHeaderMatchTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -795,6 +874,12 @@ func (o GrpcRouteHeaderMatchTypePtrOutput) ToGrpcRouteHeaderMatchTypePtrOutputWi return o } +func (o GrpcRouteHeaderMatchTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteHeaderMatchType] { + return pulumix.Output[*GrpcRouteHeaderMatchType]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteHeaderMatchTypePtrOutput) Elem() GrpcRouteHeaderMatchTypeOutput { return o.ApplyT(func(v *GrpcRouteHeaderMatchType) GrpcRouteHeaderMatchType { if v != nil { @@ -857,6 +942,12 @@ func (in *grpcRouteHeaderMatchTypePtr) ToGrpcRouteHeaderMatchTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GrpcRouteHeaderMatchTypePtrOutput) } +func (in *grpcRouteHeaderMatchTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteHeaderMatchType] { + return pulumix.Output[*GrpcRouteHeaderMatchType]{ + OutputState: in.ToGrpcRouteHeaderMatchTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used. type GrpcRouteMethodMatchType string @@ -929,6 +1020,12 @@ func (o GrpcRouteMethodMatchTypeOutput) ToGrpcRouteMethodMatchTypePtrOutputWithC }).(GrpcRouteMethodMatchTypePtrOutput) } +func (o GrpcRouteMethodMatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteMethodMatchType] { + return pulumix.Output[GrpcRouteMethodMatchType]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteMethodMatchTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -964,6 +1061,12 @@ func (o GrpcRouteMethodMatchTypePtrOutput) ToGrpcRouteMethodMatchTypePtrOutputWi return o } +func (o GrpcRouteMethodMatchTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteMethodMatchType] { + return pulumix.Output[*GrpcRouteMethodMatchType]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteMethodMatchTypePtrOutput) Elem() GrpcRouteMethodMatchTypeOutput { return o.ApplyT(func(v *GrpcRouteMethodMatchType) GrpcRouteMethodMatchType { if v != nil { @@ -1026,6 +1129,12 @@ func (in *grpcRouteMethodMatchTypePtr) ToGrpcRouteMethodMatchTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GrpcRouteMethodMatchTypePtrOutput) } +func (in *grpcRouteMethodMatchTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteMethodMatchType] { + return pulumix.Output[*GrpcRouteMethodMatchType]{ + OutputState: in.ToGrpcRouteMethodMatchTypePtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP Status code to use for the redirect. type HttpRouteRedirectResponseCode string @@ -1104,6 +1213,12 @@ func (o HttpRouteRedirectResponseCodeOutput) ToHttpRouteRedirectResponseCodePtrO }).(HttpRouteRedirectResponseCodePtrOutput) } +func (o HttpRouteRedirectResponseCodeOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRedirectResponseCode] { + return pulumix.Output[HttpRouteRedirectResponseCode]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRedirectResponseCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1139,6 +1254,12 @@ func (o HttpRouteRedirectResponseCodePtrOutput) ToHttpRouteRedirectResponseCodeP return o } +func (o HttpRouteRedirectResponseCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRedirectResponseCode] { + return pulumix.Output[*HttpRouteRedirectResponseCode]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRedirectResponseCodePtrOutput) Elem() HttpRouteRedirectResponseCodeOutput { return o.ApplyT(func(v *HttpRouteRedirectResponseCode) HttpRouteRedirectResponseCode { if v != nil { @@ -1201,6 +1322,12 @@ func (in *httpRouteRedirectResponseCodePtr) ToHttpRouteRedirectResponseCodePtrOu return pulumi.ToOutputWithContext(ctx, in).(HttpRouteRedirectResponseCodePtrOutput) } +func (in *httpRouteRedirectResponseCodePtr) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRedirectResponseCode] { + return pulumix.Output[*HttpRouteRedirectResponseCode]{ + OutputState: in.ToHttpRouteRedirectResponseCodePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/networkservices/v1/pulumiTypes.go b/sdk/go/google/networkservices/v1/pulumiTypes.go index ab232e59e4..3593e8df31 100644 --- a/sdk/go/google/networkservices/v1/pulumiTypes.go +++ b/sdk/go/google/networkservices/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -550,6 +659,12 @@ func (i EndpointMatcherArgs) ToEndpointMatcherOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(EndpointMatcherOutput) } +func (i EndpointMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcher] { + return pulumix.Output[EndpointMatcher]{ + OutputState: i.ToEndpointMatcherOutputWithContext(ctx).OutputState, + } +} + // A definition of a matcher that selects endpoints to which the policies should be applied. type EndpointMatcherOutput struct{ *pulumi.OutputState } @@ -565,6 +680,12 @@ func (o EndpointMatcherOutput) ToEndpointMatcherOutputWithContext(ctx context.Co return o } +func (o EndpointMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcher] { + return pulumix.Output[EndpointMatcher]{ + OutputState: o.OutputState, + } +} + // The matcher is based on node metadata presented by xDS clients. func (o EndpointMatcherOutput) MetadataLabelMatcher() EndpointMatcherMetadataLabelMatcherPtrOutput { return o.ApplyT(func(v EndpointMatcher) *EndpointMatcherMetadataLabelMatcher { return v.MetadataLabelMatcher }).(EndpointMatcherMetadataLabelMatcherPtrOutput) @@ -609,6 +730,12 @@ func (i EndpointMatcherMetadataLabelMatcherArgs) ToEndpointMatcherMetadataLabelM return pulumi.ToOutputWithContext(ctx, i).(EndpointMatcherMetadataLabelMatcherOutput) } +func (i EndpointMatcherMetadataLabelMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcherMetadataLabelMatcher] { + return pulumix.Output[EndpointMatcherMetadataLabelMatcher]{ + OutputState: i.ToEndpointMatcherMetadataLabelMatcherOutputWithContext(ctx).OutputState, + } +} + func (i EndpointMatcherMetadataLabelMatcherArgs) ToEndpointMatcherMetadataLabelMatcherPtrOutput() EndpointMatcherMetadataLabelMatcherPtrOutput { return i.ToEndpointMatcherMetadataLabelMatcherPtrOutputWithContext(context.Background()) } @@ -650,6 +777,12 @@ func (i *endpointMatcherMetadataLabelMatcherPtrType) ToEndpointMatcherMetadataLa return pulumi.ToOutputWithContext(ctx, i).(EndpointMatcherMetadataLabelMatcherPtrOutput) } +func (i *endpointMatcherMetadataLabelMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*EndpointMatcherMetadataLabelMatcher] { + return pulumix.Output[*EndpointMatcherMetadataLabelMatcher]{ + OutputState: i.ToEndpointMatcherMetadataLabelMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // The matcher that is based on node metadata presented by xDS clients. type EndpointMatcherMetadataLabelMatcherOutput struct{ *pulumi.OutputState } @@ -675,6 +808,12 @@ func (o EndpointMatcherMetadataLabelMatcherOutput) ToEndpointMatcherMetadataLabe }).(EndpointMatcherMetadataLabelMatcherPtrOutput) } +func (o EndpointMatcherMetadataLabelMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcherMetadataLabelMatcher] { + return pulumix.Output[EndpointMatcherMetadataLabelMatcher]{ + OutputState: o.OutputState, + } +} + // Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown. func (o EndpointMatcherMetadataLabelMatcherOutput) MetadataLabelMatchCriteria() EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput { return o.ApplyT(func(v EndpointMatcherMetadataLabelMatcher) *EndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteria { @@ -703,6 +842,12 @@ func (o EndpointMatcherMetadataLabelMatcherPtrOutput) ToEndpointMatcherMetadataL return o } +func (o EndpointMatcherMetadataLabelMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointMatcherMetadataLabelMatcher] { + return pulumix.Output[*EndpointMatcherMetadataLabelMatcher]{ + OutputState: o.OutputState, + } +} + func (o EndpointMatcherMetadataLabelMatcherPtrOutput) Elem() EndpointMatcherMetadataLabelMatcherOutput { return o.ApplyT(func(v *EndpointMatcherMetadataLabelMatcher) EndpointMatcherMetadataLabelMatcher { if v != nil { @@ -772,6 +917,12 @@ func (i EndpointMatcherMetadataLabelMatcherMetadataLabelsArgs) ToEndpointMatcher return pulumi.ToOutputWithContext(ctx, i).(EndpointMatcherMetadataLabelMatcherMetadataLabelsOutput) } +func (i EndpointMatcherMetadataLabelMatcherMetadataLabelsArgs) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcherMetadataLabelMatcherMetadataLabels] { + return pulumix.Output[EndpointMatcherMetadataLabelMatcherMetadataLabels]{ + OutputState: i.ToEndpointMatcherMetadataLabelMatcherMetadataLabelsOutputWithContext(ctx).OutputState, + } +} + // EndpointMatcherMetadataLabelMatcherMetadataLabelsArrayInput is an input type that accepts EndpointMatcherMetadataLabelMatcherMetadataLabelsArray and EndpointMatcherMetadataLabelMatcherMetadataLabelsArrayOutput values. // You can construct a concrete instance of `EndpointMatcherMetadataLabelMatcherMetadataLabelsArrayInput` via: // @@ -797,6 +948,12 @@ func (i EndpointMatcherMetadataLabelMatcherMetadataLabelsArray) ToEndpointMatche return pulumi.ToOutputWithContext(ctx, i).(EndpointMatcherMetadataLabelMatcherMetadataLabelsArrayOutput) } +func (i EndpointMatcherMetadataLabelMatcherMetadataLabelsArray) ToOutput(ctx context.Context) pulumix.Output[[]EndpointMatcherMetadataLabelMatcherMetadataLabels] { + return pulumix.Output[[]EndpointMatcherMetadataLabelMatcherMetadataLabels]{ + OutputState: i.ToEndpointMatcherMetadataLabelMatcherMetadataLabelsArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a name-pair value for a single label. type EndpointMatcherMetadataLabelMatcherMetadataLabelsOutput struct{ *pulumi.OutputState } @@ -812,6 +969,12 @@ func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsOutput) ToEndpointMatch return o } +func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcherMetadataLabelMatcherMetadataLabels] { + return pulumix.Output[EndpointMatcherMetadataLabelMatcherMetadataLabels]{ + OutputState: o.OutputState, + } +} + // Label name presented as key in xDS Node Metadata. func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsOutput) LabelName() pulumi.StringOutput { return o.ApplyT(func(v EndpointMatcherMetadataLabelMatcherMetadataLabels) string { return v.LabelName }).(pulumi.StringOutput) @@ -836,6 +999,12 @@ func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsArrayOutput) ToEndpoint return o } +func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EndpointMatcherMetadataLabelMatcherMetadataLabels] { + return pulumix.Output[[]EndpointMatcherMetadataLabelMatcherMetadataLabels]{ + OutputState: o.OutputState, + } +} + func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsArrayOutput) Index(i pulumi.IntInput) EndpointMatcherMetadataLabelMatcherMetadataLabelsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EndpointMatcherMetadataLabelMatcherMetadataLabels { return vs[0].([]EndpointMatcherMetadataLabelMatcherMetadataLabels)[vs[1].(int)] @@ -865,6 +1034,12 @@ func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsResponseOutput) ToEndpo return o } +func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse] { + return pulumix.Output[EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse]{ + OutputState: o.OutputState, + } +} + // Label name presented as key in xDS Node Metadata. func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsResponseOutput) LabelName() pulumi.StringOutput { return o.ApplyT(func(v EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse) string { return v.LabelName }).(pulumi.StringOutput) @@ -889,6 +1064,12 @@ func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsResponseArrayOutput) To return o } +func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse] { + return pulumix.Output[[]EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse]{ + OutputState: o.OutputState, + } +} + func (o EndpointMatcherMetadataLabelMatcherMetadataLabelsResponseArrayOutput) Index(i pulumi.IntInput) EndpointMatcherMetadataLabelMatcherMetadataLabelsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse { return vs[0].([]EndpointMatcherMetadataLabelMatcherMetadataLabelsResponse)[vs[1].(int)] @@ -918,6 +1099,12 @@ func (o EndpointMatcherMetadataLabelMatcherResponseOutput) ToEndpointMatcherMeta return o } +func (o EndpointMatcherMetadataLabelMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcherMetadataLabelMatcherResponse] { + return pulumix.Output[EndpointMatcherMetadataLabelMatcherResponse]{ + OutputState: o.OutputState, + } +} + // Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown. func (o EndpointMatcherMetadataLabelMatcherResponseOutput) MetadataLabelMatchCriteria() pulumi.StringOutput { return o.ApplyT(func(v EndpointMatcherMetadataLabelMatcherResponse) string { return v.MetadataLabelMatchCriteria }).(pulumi.StringOutput) @@ -951,6 +1138,12 @@ func (o EndpointMatcherResponseOutput) ToEndpointMatcherResponseOutputWithContex return o } +func (o EndpointMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcherResponse] { + return pulumix.Output[EndpointMatcherResponse]{ + OutputState: o.OutputState, + } +} + // The matcher is based on node metadata presented by xDS clients. func (o EndpointMatcherResponseOutput) MetadataLabelMatcher() EndpointMatcherMetadataLabelMatcherResponseOutput { return o.ApplyT(func(v EndpointMatcherResponse) EndpointMatcherMetadataLabelMatcherResponse { @@ -1005,6 +1198,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1046,6 +1245,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1071,6 +1276,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1105,6 +1316,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1182,6 +1399,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1241,6 +1464,12 @@ func (i GrpcRouteDestinationArgs) ToGrpcRouteDestinationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteDestinationOutput) } +func (i GrpcRouteDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteDestination] { + return pulumix.Output[GrpcRouteDestination]{ + OutputState: i.ToGrpcRouteDestinationOutputWithContext(ctx).OutputState, + } +} + // GrpcRouteDestinationArrayInput is an input type that accepts GrpcRouteDestinationArray and GrpcRouteDestinationArrayOutput values. // You can construct a concrete instance of `GrpcRouteDestinationArrayInput` via: // @@ -1266,6 +1495,12 @@ func (i GrpcRouteDestinationArray) ToGrpcRouteDestinationArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteDestinationArrayOutput) } +func (i GrpcRouteDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteDestination] { + return pulumix.Output[[]GrpcRouteDestination]{ + OutputState: i.ToGrpcRouteDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // The destination to which traffic will be routed. type GrpcRouteDestinationOutput struct{ *pulumi.OutputState } @@ -1281,6 +1516,12 @@ func (o GrpcRouteDestinationOutput) ToGrpcRouteDestinationOutputWithContext(ctx return o } +func (o GrpcRouteDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteDestination] { + return pulumix.Output[GrpcRouteDestination]{ + OutputState: o.OutputState, + } +} + // The URL of a destination service to which to route traffic. Must refer to either a BackendService or ServiceDirectoryService. func (o GrpcRouteDestinationOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v GrpcRouteDestination) string { return v.ServiceName }).(pulumi.StringOutput) @@ -1305,6 +1546,12 @@ func (o GrpcRouteDestinationArrayOutput) ToGrpcRouteDestinationArrayOutputWithCo return o } +func (o GrpcRouteDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteDestination] { + return pulumix.Output[[]GrpcRouteDestination]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteDestinationArrayOutput) Index(i pulumi.IntInput) GrpcRouteDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteDestination { return vs[0].([]GrpcRouteDestination)[vs[1].(int)] @@ -1334,6 +1581,12 @@ func (o GrpcRouteDestinationResponseOutput) ToGrpcRouteDestinationResponseOutput return o } +func (o GrpcRouteDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteDestinationResponse] { + return pulumix.Output[GrpcRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of a destination service to which to route traffic. Must refer to either a BackendService or ServiceDirectoryService. func (o GrpcRouteDestinationResponseOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v GrpcRouteDestinationResponse) string { return v.ServiceName }).(pulumi.StringOutput) @@ -1358,6 +1611,12 @@ func (o GrpcRouteDestinationResponseArrayOutput) ToGrpcRouteDestinationResponseA return o } +func (o GrpcRouteDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteDestinationResponse] { + return pulumix.Output[[]GrpcRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteDestinationResponseArrayOutput) Index(i pulumi.IntInput) GrpcRouteDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteDestinationResponse { return vs[0].([]GrpcRouteDestinationResponse)[vs[1].(int)] @@ -1403,6 +1662,12 @@ func (i GrpcRouteFaultInjectionPolicyArgs) ToGrpcRouteFaultInjectionPolicyOutput return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyOutput) } +func (i GrpcRouteFaultInjectionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicy] { + return pulumix.Output[GrpcRouteFaultInjectionPolicy]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i GrpcRouteFaultInjectionPolicyArgs) ToGrpcRouteFaultInjectionPolicyPtrOutput() GrpcRouteFaultInjectionPolicyPtrOutput { return i.ToGrpcRouteFaultInjectionPolicyPtrOutputWithContext(context.Background()) } @@ -1444,6 +1709,12 @@ func (i *grpcRouteFaultInjectionPolicyPtrType) ToGrpcRouteFaultInjectionPolicyPt return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyPtrOutput) } +func (i *grpcRouteFaultInjectionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicy] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicy]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests. type GrpcRouteFaultInjectionPolicyOutput struct{ *pulumi.OutputState } @@ -1469,6 +1740,12 @@ func (o GrpcRouteFaultInjectionPolicyOutput) ToGrpcRouteFaultInjectionPolicyPtrO }).(GrpcRouteFaultInjectionPolicyPtrOutput) } +func (o GrpcRouteFaultInjectionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicy] { + return pulumix.Output[GrpcRouteFaultInjectionPolicy]{ + OutputState: o.OutputState, + } +} + // The specification for aborting to client requests. func (o GrpcRouteFaultInjectionPolicyOutput) Abort() GrpcRouteFaultInjectionPolicyAbortPtrOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicy) *GrpcRouteFaultInjectionPolicyAbort { return v.Abort }).(GrpcRouteFaultInjectionPolicyAbortPtrOutput) @@ -1493,6 +1770,12 @@ func (o GrpcRouteFaultInjectionPolicyPtrOutput) ToGrpcRouteFaultInjectionPolicyP return o } +func (o GrpcRouteFaultInjectionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicy] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicy]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteFaultInjectionPolicyPtrOutput) Elem() GrpcRouteFaultInjectionPolicyOutput { return o.ApplyT(func(v *GrpcRouteFaultInjectionPolicy) GrpcRouteFaultInjectionPolicy { if v != nil { @@ -1562,6 +1845,12 @@ func (i GrpcRouteFaultInjectionPolicyAbortArgs) ToGrpcRouteFaultInjectionPolicyA return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyAbortOutput) } +func (i GrpcRouteFaultInjectionPolicyAbortArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyAbort] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyAbort]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyAbortOutputWithContext(ctx).OutputState, + } +} + func (i GrpcRouteFaultInjectionPolicyAbortArgs) ToGrpcRouteFaultInjectionPolicyAbortPtrOutput() GrpcRouteFaultInjectionPolicyAbortPtrOutput { return i.ToGrpcRouteFaultInjectionPolicyAbortPtrOutputWithContext(context.Background()) } @@ -1603,6 +1892,12 @@ func (i *grpcRouteFaultInjectionPolicyAbortPtrType) ToGrpcRouteFaultInjectionPol return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyAbortPtrOutput) } +func (i *grpcRouteFaultInjectionPolicyAbortPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicyAbort] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicyAbort]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyAbortPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of how client requests are aborted as part of fault injection before being sent to a destination. type GrpcRouteFaultInjectionPolicyAbortOutput struct{ *pulumi.OutputState } @@ -1628,6 +1923,12 @@ func (o GrpcRouteFaultInjectionPolicyAbortOutput) ToGrpcRouteFaultInjectionPolic }).(GrpcRouteFaultInjectionPolicyAbortPtrOutput) } +func (o GrpcRouteFaultInjectionPolicyAbortOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyAbort] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyAbort]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. func (o GrpcRouteFaultInjectionPolicyAbortOutput) HttpStatus() pulumi.IntPtrOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicyAbort) *int { return v.HttpStatus }).(pulumi.IntPtrOutput) @@ -1652,6 +1953,12 @@ func (o GrpcRouteFaultInjectionPolicyAbortPtrOutput) ToGrpcRouteFaultInjectionPo return o } +func (o GrpcRouteFaultInjectionPolicyAbortPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicyAbort] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicyAbort]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteFaultInjectionPolicyAbortPtrOutput) Elem() GrpcRouteFaultInjectionPolicyAbortOutput { return o.ApplyT(func(v *GrpcRouteFaultInjectionPolicyAbort) GrpcRouteFaultInjectionPolicyAbort { if v != nil { @@ -1705,6 +2012,12 @@ func (o GrpcRouteFaultInjectionPolicyAbortResponseOutput) ToGrpcRouteFaultInject return o } +func (o GrpcRouteFaultInjectionPolicyAbortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyAbortResponse] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyAbortResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. func (o GrpcRouteFaultInjectionPolicyAbortResponseOutput) HttpStatus() pulumi.IntOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicyAbortResponse) int { return v.HttpStatus }).(pulumi.IntOutput) @@ -1754,6 +2067,12 @@ func (i GrpcRouteFaultInjectionPolicyDelayArgs) ToGrpcRouteFaultInjectionPolicyD return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyDelayOutput) } +func (i GrpcRouteFaultInjectionPolicyDelayArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyDelay] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyDelay]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyDelayOutputWithContext(ctx).OutputState, + } +} + func (i GrpcRouteFaultInjectionPolicyDelayArgs) ToGrpcRouteFaultInjectionPolicyDelayPtrOutput() GrpcRouteFaultInjectionPolicyDelayPtrOutput { return i.ToGrpcRouteFaultInjectionPolicyDelayPtrOutputWithContext(context.Background()) } @@ -1795,6 +2114,12 @@ func (i *grpcRouteFaultInjectionPolicyDelayPtrType) ToGrpcRouteFaultInjectionPol return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyDelayPtrOutput) } +func (i *grpcRouteFaultInjectionPolicyDelayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicyDelay] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicyDelay]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyDelayPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of how client requests are delayed as part of fault injection before being sent to a destination. type GrpcRouteFaultInjectionPolicyDelayOutput struct{ *pulumi.OutputState } @@ -1820,6 +2145,12 @@ func (o GrpcRouteFaultInjectionPolicyDelayOutput) ToGrpcRouteFaultInjectionPolic }).(GrpcRouteFaultInjectionPolicyDelayPtrOutput) } +func (o GrpcRouteFaultInjectionPolicyDelayOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyDelay] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyDelay]{ + OutputState: o.OutputState, + } +} + // Specify a fixed delay before forwarding the request. func (o GrpcRouteFaultInjectionPolicyDelayOutput) FixedDelay() pulumi.StringPtrOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicyDelay) *string { return v.FixedDelay }).(pulumi.StringPtrOutput) @@ -1844,6 +2175,12 @@ func (o GrpcRouteFaultInjectionPolicyDelayPtrOutput) ToGrpcRouteFaultInjectionPo return o } +func (o GrpcRouteFaultInjectionPolicyDelayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicyDelay] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicyDelay]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteFaultInjectionPolicyDelayPtrOutput) Elem() GrpcRouteFaultInjectionPolicyDelayOutput { return o.ApplyT(func(v *GrpcRouteFaultInjectionPolicyDelay) GrpcRouteFaultInjectionPolicyDelay { if v != nil { @@ -1897,6 +2234,12 @@ func (o GrpcRouteFaultInjectionPolicyDelayResponseOutput) ToGrpcRouteFaultInject return o } +func (o GrpcRouteFaultInjectionPolicyDelayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyDelayResponse] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyDelayResponse]{ + OutputState: o.OutputState, + } +} + // Specify a fixed delay before forwarding the request. func (o GrpcRouteFaultInjectionPolicyDelayResponseOutput) FixedDelay() pulumi.StringOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicyDelayResponse) string { return v.FixedDelay }).(pulumi.StringOutput) @@ -1930,6 +2273,12 @@ func (o GrpcRouteFaultInjectionPolicyResponseOutput) ToGrpcRouteFaultInjectionPo return o } +func (o GrpcRouteFaultInjectionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyResponse] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The specification for aborting to client requests. func (o GrpcRouteFaultInjectionPolicyResponseOutput) Abort() GrpcRouteFaultInjectionPolicyAbortResponseOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicyResponse) GrpcRouteFaultInjectionPolicyAbortResponse { @@ -1987,6 +2336,12 @@ func (i GrpcRouteHeaderMatchArgs) ToGrpcRouteHeaderMatchOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteHeaderMatchOutput) } +func (i GrpcRouteHeaderMatchArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteHeaderMatch] { + return pulumix.Output[GrpcRouteHeaderMatch]{ + OutputState: i.ToGrpcRouteHeaderMatchOutputWithContext(ctx).OutputState, + } +} + // GrpcRouteHeaderMatchArrayInput is an input type that accepts GrpcRouteHeaderMatchArray and GrpcRouteHeaderMatchArrayOutput values. // You can construct a concrete instance of `GrpcRouteHeaderMatchArrayInput` via: // @@ -2012,6 +2367,12 @@ func (i GrpcRouteHeaderMatchArray) ToGrpcRouteHeaderMatchArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteHeaderMatchArrayOutput) } +func (i GrpcRouteHeaderMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteHeaderMatch] { + return pulumix.Output[[]GrpcRouteHeaderMatch]{ + OutputState: i.ToGrpcRouteHeaderMatchArrayOutputWithContext(ctx).OutputState, + } +} + // A match against a collection of headers. type GrpcRouteHeaderMatchOutput struct{ *pulumi.OutputState } @@ -2027,6 +2388,12 @@ func (o GrpcRouteHeaderMatchOutput) ToGrpcRouteHeaderMatchOutputWithContext(ctx return o } +func (o GrpcRouteHeaderMatchOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteHeaderMatch] { + return pulumix.Output[GrpcRouteHeaderMatch]{ + OutputState: o.OutputState, + } +} + // The key of the header. func (o GrpcRouteHeaderMatchOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GrpcRouteHeaderMatch) string { return v.Key }).(pulumi.StringOutput) @@ -2056,6 +2423,12 @@ func (o GrpcRouteHeaderMatchArrayOutput) ToGrpcRouteHeaderMatchArrayOutputWithCo return o } +func (o GrpcRouteHeaderMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteHeaderMatch] { + return pulumix.Output[[]GrpcRouteHeaderMatch]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteHeaderMatchArrayOutput) Index(i pulumi.IntInput) GrpcRouteHeaderMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteHeaderMatch { return vs[0].([]GrpcRouteHeaderMatch)[vs[1].(int)] @@ -2087,6 +2460,12 @@ func (o GrpcRouteHeaderMatchResponseOutput) ToGrpcRouteHeaderMatchResponseOutput return o } +func (o GrpcRouteHeaderMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteHeaderMatchResponse] { + return pulumix.Output[GrpcRouteHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + // The key of the header. func (o GrpcRouteHeaderMatchResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GrpcRouteHeaderMatchResponse) string { return v.Key }).(pulumi.StringOutput) @@ -2116,6 +2495,12 @@ func (o GrpcRouteHeaderMatchResponseArrayOutput) ToGrpcRouteHeaderMatchResponseA return o } +func (o GrpcRouteHeaderMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteHeaderMatchResponse] { + return pulumix.Output[[]GrpcRouteHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteHeaderMatchResponseArrayOutput) Index(i pulumi.IntInput) GrpcRouteHeaderMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteHeaderMatchResponse { return vs[0].([]GrpcRouteHeaderMatchResponse)[vs[1].(int)] @@ -2169,6 +2554,12 @@ func (i GrpcRouteMethodMatchArgs) ToGrpcRouteMethodMatchOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteMethodMatchOutput) } +func (i GrpcRouteMethodMatchArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteMethodMatch] { + return pulumix.Output[GrpcRouteMethodMatch]{ + OutputState: i.ToGrpcRouteMethodMatchOutputWithContext(ctx).OutputState, + } +} + func (i GrpcRouteMethodMatchArgs) ToGrpcRouteMethodMatchPtrOutput() GrpcRouteMethodMatchPtrOutput { return i.ToGrpcRouteMethodMatchPtrOutputWithContext(context.Background()) } @@ -2210,6 +2601,12 @@ func (i *grpcRouteMethodMatchPtrType) ToGrpcRouteMethodMatchPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteMethodMatchPtrOutput) } +func (i *grpcRouteMethodMatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteMethodMatch] { + return pulumix.Output[*GrpcRouteMethodMatch]{ + OutputState: i.ToGrpcRouteMethodMatchPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a match against a method. type GrpcRouteMethodMatchOutput struct{ *pulumi.OutputState } @@ -2235,6 +2632,12 @@ func (o GrpcRouteMethodMatchOutput) ToGrpcRouteMethodMatchPtrOutputWithContext(c }).(GrpcRouteMethodMatchPtrOutput) } +func (o GrpcRouteMethodMatchOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteMethodMatch] { + return pulumix.Output[GrpcRouteMethodMatch]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION. func (o GrpcRouteMethodMatchOutput) CaseSensitive() pulumi.BoolPtrOutput { return o.ApplyT(func(v GrpcRouteMethodMatch) *bool { return v.CaseSensitive }).(pulumi.BoolPtrOutput) @@ -2269,6 +2672,12 @@ func (o GrpcRouteMethodMatchPtrOutput) ToGrpcRouteMethodMatchPtrOutputWithContex return o } +func (o GrpcRouteMethodMatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteMethodMatch] { + return pulumix.Output[*GrpcRouteMethodMatch]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteMethodMatchPtrOutput) Elem() GrpcRouteMethodMatchOutput { return o.ApplyT(func(v *GrpcRouteMethodMatch) GrpcRouteMethodMatch { if v != nil { @@ -2346,6 +2755,12 @@ func (o GrpcRouteMethodMatchResponseOutput) ToGrpcRouteMethodMatchResponseOutput return o } +func (o GrpcRouteMethodMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteMethodMatchResponse] { + return pulumix.Output[GrpcRouteMethodMatchResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION. func (o GrpcRouteMethodMatchResponseOutput) CaseSensitive() pulumi.BoolOutput { return o.ApplyT(func(v GrpcRouteMethodMatchResponse) bool { return v.CaseSensitive }).(pulumi.BoolOutput) @@ -2405,6 +2820,12 @@ func (i GrpcRouteRetryPolicyArgs) ToGrpcRouteRetryPolicyOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRetryPolicyOutput) } +func (i GrpcRouteRetryPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRetryPolicy] { + return pulumix.Output[GrpcRouteRetryPolicy]{ + OutputState: i.ToGrpcRouteRetryPolicyOutputWithContext(ctx).OutputState, + } +} + func (i GrpcRouteRetryPolicyArgs) ToGrpcRouteRetryPolicyPtrOutput() GrpcRouteRetryPolicyPtrOutput { return i.ToGrpcRouteRetryPolicyPtrOutputWithContext(context.Background()) } @@ -2446,6 +2867,12 @@ func (i *grpcRouteRetryPolicyPtrType) ToGrpcRouteRetryPolicyPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRetryPolicyPtrOutput) } +func (i *grpcRouteRetryPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteRetryPolicy] { + return pulumix.Output[*GrpcRouteRetryPolicy]{ + OutputState: i.ToGrpcRouteRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specifications for retries. type GrpcRouteRetryPolicyOutput struct{ *pulumi.OutputState } @@ -2471,6 +2898,12 @@ func (o GrpcRouteRetryPolicyOutput) ToGrpcRouteRetryPolicyPtrOutputWithContext(c }).(GrpcRouteRetryPolicyPtrOutput) } +func (o GrpcRouteRetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRetryPolicy] { + return pulumix.Output[GrpcRouteRetryPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. func (o GrpcRouteRetryPolicyOutput) NumRetries() pulumi.IntPtrOutput { return o.ApplyT(func(v GrpcRouteRetryPolicy) *int { return v.NumRetries }).(pulumi.IntPtrOutput) @@ -2495,6 +2928,12 @@ func (o GrpcRouteRetryPolicyPtrOutput) ToGrpcRouteRetryPolicyPtrOutputWithContex return o } +func (o GrpcRouteRetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteRetryPolicy] { + return pulumix.Output[*GrpcRouteRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteRetryPolicyPtrOutput) Elem() GrpcRouteRetryPolicyOutput { return o.ApplyT(func(v *GrpcRouteRetryPolicy) GrpcRouteRetryPolicy { if v != nil { @@ -2548,6 +2987,12 @@ func (o GrpcRouteRetryPolicyResponseOutput) ToGrpcRouteRetryPolicyResponseOutput return o } +func (o GrpcRouteRetryPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRetryPolicyResponse] { + return pulumix.Output[GrpcRouteRetryPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. func (o GrpcRouteRetryPolicyResponseOutput) NumRetries() pulumi.IntOutput { return o.ApplyT(func(v GrpcRouteRetryPolicyResponse) int { return v.NumRetries }).(pulumi.IntOutput) @@ -2605,6 +3050,12 @@ func (i GrpcRouteRouteActionArgs) ToGrpcRouteRouteActionOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRouteActionOutput) } +func (i GrpcRouteRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteAction] { + return pulumix.Output[GrpcRouteRouteAction]{ + OutputState: i.ToGrpcRouteRouteActionOutputWithContext(ctx).OutputState, + } +} + // Specifies how to route matched traffic. type GrpcRouteRouteActionOutput struct{ *pulumi.OutputState } @@ -2620,6 +3071,12 @@ func (o GrpcRouteRouteActionOutput) ToGrpcRouteRouteActionOutputWithContext(ctx return o } +func (o GrpcRouteRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteAction] { + return pulumix.Output[GrpcRouteRouteAction]{ + OutputState: o.OutputState, + } +} + // Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations. func (o GrpcRouteRouteActionOutput) Destinations() GrpcRouteDestinationArrayOutput { return o.ApplyT(func(v GrpcRouteRouteAction) []GrpcRouteDestination { return v.Destinations }).(GrpcRouteDestinationArrayOutput) @@ -2667,6 +3124,12 @@ func (o GrpcRouteRouteActionResponseOutput) ToGrpcRouteRouteActionResponseOutput return o } +func (o GrpcRouteRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteActionResponse] { + return pulumix.Output[GrpcRouteRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations. func (o GrpcRouteRouteActionResponseOutput) Destinations() GrpcRouteDestinationResponseArrayOutput { return o.ApplyT(func(v GrpcRouteRouteActionResponse) []GrpcRouteDestinationResponse { return v.Destinations }).(GrpcRouteDestinationResponseArrayOutput) @@ -2728,6 +3191,12 @@ func (i GrpcRouteRouteMatchArgs) ToGrpcRouteRouteMatchOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRouteMatchOutput) } +func (i GrpcRouteRouteMatchArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteMatch] { + return pulumix.Output[GrpcRouteRouteMatch]{ + OutputState: i.ToGrpcRouteRouteMatchOutputWithContext(ctx).OutputState, + } +} + // GrpcRouteRouteMatchArrayInput is an input type that accepts GrpcRouteRouteMatchArray and GrpcRouteRouteMatchArrayOutput values. // You can construct a concrete instance of `GrpcRouteRouteMatchArrayInput` via: // @@ -2753,6 +3222,12 @@ func (i GrpcRouteRouteMatchArray) ToGrpcRouteRouteMatchArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRouteMatchArrayOutput) } +func (i GrpcRouteRouteMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteMatch] { + return pulumix.Output[[]GrpcRouteRouteMatch]{ + OutputState: i.ToGrpcRouteRouteMatchArrayOutputWithContext(ctx).OutputState, + } +} + // Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match. type GrpcRouteRouteMatchOutput struct{ *pulumi.OutputState } @@ -2768,6 +3243,12 @@ func (o GrpcRouteRouteMatchOutput) ToGrpcRouteRouteMatchOutputWithContext(ctx co return o } +func (o GrpcRouteRouteMatchOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteMatch] { + return pulumix.Output[GrpcRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies a collection of headers to match. func (o GrpcRouteRouteMatchOutput) Headers() GrpcRouteHeaderMatchArrayOutput { return o.ApplyT(func(v GrpcRouteRouteMatch) []GrpcRouteHeaderMatch { return v.Headers }).(GrpcRouteHeaderMatchArrayOutput) @@ -2792,6 +3273,12 @@ func (o GrpcRouteRouteMatchArrayOutput) ToGrpcRouteRouteMatchArrayOutputWithCont return o } +func (o GrpcRouteRouteMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteMatch] { + return pulumix.Output[[]GrpcRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteRouteMatchArrayOutput) Index(i pulumi.IntInput) GrpcRouteRouteMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteRouteMatch { return vs[0].([]GrpcRouteRouteMatch)[vs[1].(int)] @@ -2821,6 +3308,12 @@ func (o GrpcRouteRouteMatchResponseOutput) ToGrpcRouteRouteMatchResponseOutputWi return o } +func (o GrpcRouteRouteMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteMatchResponse] { + return pulumix.Output[GrpcRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies a collection of headers to match. func (o GrpcRouteRouteMatchResponseOutput) Headers() GrpcRouteHeaderMatchResponseArrayOutput { return o.ApplyT(func(v GrpcRouteRouteMatchResponse) []GrpcRouteHeaderMatchResponse { return v.Headers }).(GrpcRouteHeaderMatchResponseArrayOutput) @@ -2845,6 +3338,12 @@ func (o GrpcRouteRouteMatchResponseArrayOutput) ToGrpcRouteRouteMatchResponseArr return o } +func (o GrpcRouteRouteMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteMatchResponse] { + return pulumix.Output[[]GrpcRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteRouteMatchResponseArrayOutput) Index(i pulumi.IntInput) GrpcRouteRouteMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteRouteMatchResponse { return vs[0].([]GrpcRouteRouteMatchResponse)[vs[1].(int)] @@ -2890,6 +3389,12 @@ func (i GrpcRouteRouteRuleArgs) ToGrpcRouteRouteRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRouteRuleOutput) } +func (i GrpcRouteRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteRule] { + return pulumix.Output[GrpcRouteRouteRule]{ + OutputState: i.ToGrpcRouteRouteRuleOutputWithContext(ctx).OutputState, + } +} + // GrpcRouteRouteRuleArrayInput is an input type that accepts GrpcRouteRouteRuleArray and GrpcRouteRouteRuleArrayOutput values. // You can construct a concrete instance of `GrpcRouteRouteRuleArrayInput` via: // @@ -2915,6 +3420,12 @@ func (i GrpcRouteRouteRuleArray) ToGrpcRouteRouteRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRouteRuleArrayOutput) } +func (i GrpcRouteRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteRule] { + return pulumix.Output[[]GrpcRouteRouteRule]{ + OutputState: i.ToGrpcRouteRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Describes how to route traffic. type GrpcRouteRouteRuleOutput struct{ *pulumi.OutputState } @@ -2930,6 +3441,12 @@ func (o GrpcRouteRouteRuleOutput) ToGrpcRouteRouteRuleOutputWithContext(ctx cont return o } +func (o GrpcRouteRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteRule] { + return pulumix.Output[GrpcRouteRouteRule]{ + OutputState: o.OutputState, + } +} + // A detailed rule defining how to route traffic. This field is required. func (o GrpcRouteRouteRuleOutput) Action() GrpcRouteRouteActionOutput { return o.ApplyT(func(v GrpcRouteRouteRule) GrpcRouteRouteAction { return v.Action }).(GrpcRouteRouteActionOutput) @@ -2954,6 +3471,12 @@ func (o GrpcRouteRouteRuleArrayOutput) ToGrpcRouteRouteRuleArrayOutputWithContex return o } +func (o GrpcRouteRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteRule] { + return pulumix.Output[[]GrpcRouteRouteRule]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteRouteRuleArrayOutput) Index(i pulumi.IntInput) GrpcRouteRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteRouteRule { return vs[0].([]GrpcRouteRouteRule)[vs[1].(int)] @@ -2983,6 +3506,12 @@ func (o GrpcRouteRouteRuleResponseOutput) ToGrpcRouteRouteRuleResponseOutputWith return o } +func (o GrpcRouteRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteRuleResponse] { + return pulumix.Output[GrpcRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // A detailed rule defining how to route traffic. This field is required. func (o GrpcRouteRouteRuleResponseOutput) Action() GrpcRouteRouteActionResponseOutput { return o.ApplyT(func(v GrpcRouteRouteRuleResponse) GrpcRouteRouteActionResponse { return v.Action }).(GrpcRouteRouteActionResponseOutput) @@ -3007,6 +3536,12 @@ func (o GrpcRouteRouteRuleResponseArrayOutput) ToGrpcRouteRouteRuleResponseArray return o } +func (o GrpcRouteRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteRuleResponse] { + return pulumix.Output[[]GrpcRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) GrpcRouteRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteRouteRuleResponse { return vs[0].([]GrpcRouteRouteRuleResponse)[vs[1].(int)] @@ -3076,6 +3611,12 @@ func (i HttpRouteCorsPolicyArgs) ToHttpRouteCorsPolicyOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpRouteCorsPolicyOutput) } +func (i HttpRouteCorsPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteCorsPolicy] { + return pulumix.Output[HttpRouteCorsPolicy]{ + OutputState: i.ToHttpRouteCorsPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteCorsPolicyArgs) ToHttpRouteCorsPolicyPtrOutput() HttpRouteCorsPolicyPtrOutput { return i.ToHttpRouteCorsPolicyPtrOutputWithContext(context.Background()) } @@ -3117,6 +3658,12 @@ func (i *httpRouteCorsPolicyPtrType) ToHttpRouteCorsPolicyPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(HttpRouteCorsPolicyPtrOutput) } +func (i *httpRouteCorsPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteCorsPolicy] { + return pulumix.Output[*HttpRouteCorsPolicy]{ + OutputState: i.ToHttpRouteCorsPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The Specification for allowing client side cross-origin requests. type HttpRouteCorsPolicyOutput struct{ *pulumi.OutputState } @@ -3142,6 +3689,12 @@ func (o HttpRouteCorsPolicyOutput) ToHttpRouteCorsPolicyPtrOutputWithContext(ctx }).(HttpRouteCorsPolicyPtrOutput) } +func (o HttpRouteCorsPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteCorsPolicy] { + return pulumix.Output[HttpRouteCorsPolicy]{ + OutputState: o.OutputState, + } +} + // In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false. func (o HttpRouteCorsPolicyOutput) AllowCredentials() pulumi.BoolPtrOutput { return o.ApplyT(func(v HttpRouteCorsPolicy) *bool { return v.AllowCredentials }).(pulumi.BoolPtrOutput) @@ -3196,6 +3749,12 @@ func (o HttpRouteCorsPolicyPtrOutput) ToHttpRouteCorsPolicyPtrOutputWithContext( return o } +func (o HttpRouteCorsPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteCorsPolicy] { + return pulumix.Output[*HttpRouteCorsPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteCorsPolicyPtrOutput) Elem() HttpRouteCorsPolicyOutput { return o.ApplyT(func(v *HttpRouteCorsPolicy) HttpRouteCorsPolicy { if v != nil { @@ -3321,6 +3880,12 @@ func (o HttpRouteCorsPolicyResponseOutput) ToHttpRouteCorsPolicyResponseOutputWi return o } +func (o HttpRouteCorsPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteCorsPolicyResponse] { + return pulumix.Output[HttpRouteCorsPolicyResponse]{ + OutputState: o.OutputState, + } +} + // In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false. func (o HttpRouteCorsPolicyResponseOutput) AllowCredentials() pulumi.BoolOutput { return o.ApplyT(func(v HttpRouteCorsPolicyResponse) bool { return v.AllowCredentials }).(pulumi.BoolOutput) @@ -3400,6 +3965,12 @@ func (i HttpRouteDestinationArgs) ToHttpRouteDestinationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteDestinationOutput) } +func (i HttpRouteDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteDestination] { + return pulumix.Output[HttpRouteDestination]{ + OutputState: i.ToHttpRouteDestinationOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteDestinationArgs) ToHttpRouteDestinationPtrOutput() HttpRouteDestinationPtrOutput { return i.ToHttpRouteDestinationPtrOutputWithContext(context.Background()) } @@ -3441,6 +4012,12 @@ func (i *httpRouteDestinationPtrType) ToHttpRouteDestinationPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HttpRouteDestinationPtrOutput) } +func (i *httpRouteDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteDestination] { + return pulumix.Output[*HttpRouteDestination]{ + OutputState: i.ToHttpRouteDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // HttpRouteDestinationArrayInput is an input type that accepts HttpRouteDestinationArray and HttpRouteDestinationArrayOutput values. // You can construct a concrete instance of `HttpRouteDestinationArrayInput` via: // @@ -3466,6 +4043,12 @@ func (i HttpRouteDestinationArray) ToHttpRouteDestinationArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(HttpRouteDestinationArrayOutput) } +func (i HttpRouteDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteDestination] { + return pulumix.Output[[]HttpRouteDestination]{ + OutputState: i.ToHttpRouteDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Specifications of a destination to which the request should be routed to. type HttpRouteDestinationOutput struct{ *pulumi.OutputState } @@ -3491,6 +4074,12 @@ func (o HttpRouteDestinationOutput) ToHttpRouteDestinationPtrOutputWithContext(c }).(HttpRouteDestinationPtrOutput) } +func (o HttpRouteDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteDestination] { + return pulumix.Output[HttpRouteDestination]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o HttpRouteDestinationOutput) ServiceName() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteDestination) *string { return v.ServiceName }).(pulumi.StringPtrOutput) @@ -3515,6 +4104,12 @@ func (o HttpRouteDestinationPtrOutput) ToHttpRouteDestinationPtrOutputWithContex return o } +func (o HttpRouteDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteDestination] { + return pulumix.Output[*HttpRouteDestination]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteDestinationPtrOutput) Elem() HttpRouteDestinationOutput { return o.ApplyT(func(v *HttpRouteDestination) HttpRouteDestination { if v != nil { @@ -3559,6 +4154,12 @@ func (o HttpRouteDestinationArrayOutput) ToHttpRouteDestinationArrayOutputWithCo return o } +func (o HttpRouteDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteDestination] { + return pulumix.Output[[]HttpRouteDestination]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteDestinationArrayOutput) Index(i pulumi.IntInput) HttpRouteDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteDestination { return vs[0].([]HttpRouteDestination)[vs[1].(int)] @@ -3588,6 +4189,12 @@ func (o HttpRouteDestinationResponseOutput) ToHttpRouteDestinationResponseOutput return o } +func (o HttpRouteDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteDestinationResponse] { + return pulumix.Output[HttpRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o HttpRouteDestinationResponseOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteDestinationResponse) string { return v.ServiceName }).(pulumi.StringOutput) @@ -3612,6 +4219,12 @@ func (o HttpRouteDestinationResponseArrayOutput) ToHttpRouteDestinationResponseA return o } +func (o HttpRouteDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteDestinationResponse] { + return pulumix.Output[[]HttpRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteDestinationResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteDestinationResponse { return vs[0].([]HttpRouteDestinationResponse)[vs[1].(int)] @@ -3657,6 +4270,12 @@ func (i HttpRouteFaultInjectionPolicyArgs) ToHttpRouteFaultInjectionPolicyOutput return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyOutput) } +func (i HttpRouteFaultInjectionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicy] { + return pulumix.Output[HttpRouteFaultInjectionPolicy]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteFaultInjectionPolicyArgs) ToHttpRouteFaultInjectionPolicyPtrOutput() HttpRouteFaultInjectionPolicyPtrOutput { return i.ToHttpRouteFaultInjectionPolicyPtrOutputWithContext(context.Background()) } @@ -3698,6 +4317,12 @@ func (i *httpRouteFaultInjectionPolicyPtrType) ToHttpRouteFaultInjectionPolicyPt return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyPtrOutput) } +func (i *httpRouteFaultInjectionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicy] { + return pulumix.Output[*HttpRouteFaultInjectionPolicy]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced by client proxy on a percentage of requests before sending those requests to the destination service. Similarly requests can be aborted by client proxy for a percentage of requests. type HttpRouteFaultInjectionPolicyOutput struct{ *pulumi.OutputState } @@ -3723,6 +4348,12 @@ func (o HttpRouteFaultInjectionPolicyOutput) ToHttpRouteFaultInjectionPolicyPtrO }).(HttpRouteFaultInjectionPolicyPtrOutput) } +func (o HttpRouteFaultInjectionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicy] { + return pulumix.Output[HttpRouteFaultInjectionPolicy]{ + OutputState: o.OutputState, + } +} + // The specification for aborting to client requests. func (o HttpRouteFaultInjectionPolicyOutput) Abort() HttpRouteFaultInjectionPolicyAbortPtrOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicy) *HttpRouteFaultInjectionPolicyAbort { return v.Abort }).(HttpRouteFaultInjectionPolicyAbortPtrOutput) @@ -3747,6 +4378,12 @@ func (o HttpRouteFaultInjectionPolicyPtrOutput) ToHttpRouteFaultInjectionPolicyP return o } +func (o HttpRouteFaultInjectionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicy] { + return pulumix.Output[*HttpRouteFaultInjectionPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteFaultInjectionPolicyPtrOutput) Elem() HttpRouteFaultInjectionPolicyOutput { return o.ApplyT(func(v *HttpRouteFaultInjectionPolicy) HttpRouteFaultInjectionPolicy { if v != nil { @@ -3816,6 +4453,12 @@ func (i HttpRouteFaultInjectionPolicyAbortArgs) ToHttpRouteFaultInjectionPolicyA return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyAbortOutput) } +func (i HttpRouteFaultInjectionPolicyAbortArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyAbort] { + return pulumix.Output[HttpRouteFaultInjectionPolicyAbort]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyAbortOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteFaultInjectionPolicyAbortArgs) ToHttpRouteFaultInjectionPolicyAbortPtrOutput() HttpRouteFaultInjectionPolicyAbortPtrOutput { return i.ToHttpRouteFaultInjectionPolicyAbortPtrOutputWithContext(context.Background()) } @@ -3857,6 +4500,12 @@ func (i *httpRouteFaultInjectionPolicyAbortPtrType) ToHttpRouteFaultInjectionPol return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyAbortPtrOutput) } +func (i *httpRouteFaultInjectionPolicyAbortPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicyAbort] { + return pulumix.Output[*HttpRouteFaultInjectionPolicyAbort]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyAbortPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of how client requests are aborted as part of fault injection before being sent to a destination. type HttpRouteFaultInjectionPolicyAbortOutput struct{ *pulumi.OutputState } @@ -3882,6 +4531,12 @@ func (o HttpRouteFaultInjectionPolicyAbortOutput) ToHttpRouteFaultInjectionPolic }).(HttpRouteFaultInjectionPolicyAbortPtrOutput) } +func (o HttpRouteFaultInjectionPolicyAbortOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyAbort] { + return pulumix.Output[HttpRouteFaultInjectionPolicyAbort]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. func (o HttpRouteFaultInjectionPolicyAbortOutput) HttpStatus() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicyAbort) *int { return v.HttpStatus }).(pulumi.IntPtrOutput) @@ -3906,6 +4561,12 @@ func (o HttpRouteFaultInjectionPolicyAbortPtrOutput) ToHttpRouteFaultInjectionPo return o } +func (o HttpRouteFaultInjectionPolicyAbortPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicyAbort] { + return pulumix.Output[*HttpRouteFaultInjectionPolicyAbort]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteFaultInjectionPolicyAbortPtrOutput) Elem() HttpRouteFaultInjectionPolicyAbortOutput { return o.ApplyT(func(v *HttpRouteFaultInjectionPolicyAbort) HttpRouteFaultInjectionPolicyAbort { if v != nil { @@ -3959,6 +4620,12 @@ func (o HttpRouteFaultInjectionPolicyAbortResponseOutput) ToHttpRouteFaultInject return o } +func (o HttpRouteFaultInjectionPolicyAbortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyAbortResponse] { + return pulumix.Output[HttpRouteFaultInjectionPolicyAbortResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. func (o HttpRouteFaultInjectionPolicyAbortResponseOutput) HttpStatus() pulumi.IntOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicyAbortResponse) int { return v.HttpStatus }).(pulumi.IntOutput) @@ -4008,6 +4675,12 @@ func (i HttpRouteFaultInjectionPolicyDelayArgs) ToHttpRouteFaultInjectionPolicyD return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyDelayOutput) } +func (i HttpRouteFaultInjectionPolicyDelayArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyDelay] { + return pulumix.Output[HttpRouteFaultInjectionPolicyDelay]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyDelayOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteFaultInjectionPolicyDelayArgs) ToHttpRouteFaultInjectionPolicyDelayPtrOutput() HttpRouteFaultInjectionPolicyDelayPtrOutput { return i.ToHttpRouteFaultInjectionPolicyDelayPtrOutputWithContext(context.Background()) } @@ -4049,6 +4722,12 @@ func (i *httpRouteFaultInjectionPolicyDelayPtrType) ToHttpRouteFaultInjectionPol return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyDelayPtrOutput) } +func (i *httpRouteFaultInjectionPolicyDelayPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicyDelay] { + return pulumix.Output[*HttpRouteFaultInjectionPolicyDelay]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyDelayPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of how client requests are delayed as part of fault injection before being sent to a destination. type HttpRouteFaultInjectionPolicyDelayOutput struct{ *pulumi.OutputState } @@ -4074,6 +4753,12 @@ func (o HttpRouteFaultInjectionPolicyDelayOutput) ToHttpRouteFaultInjectionPolic }).(HttpRouteFaultInjectionPolicyDelayPtrOutput) } +func (o HttpRouteFaultInjectionPolicyDelayOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyDelay] { + return pulumix.Output[HttpRouteFaultInjectionPolicyDelay]{ + OutputState: o.OutputState, + } +} + // Specify a fixed delay before forwarding the request. func (o HttpRouteFaultInjectionPolicyDelayOutput) FixedDelay() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicyDelay) *string { return v.FixedDelay }).(pulumi.StringPtrOutput) @@ -4098,6 +4783,12 @@ func (o HttpRouteFaultInjectionPolicyDelayPtrOutput) ToHttpRouteFaultInjectionPo return o } +func (o HttpRouteFaultInjectionPolicyDelayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicyDelay] { + return pulumix.Output[*HttpRouteFaultInjectionPolicyDelay]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteFaultInjectionPolicyDelayPtrOutput) Elem() HttpRouteFaultInjectionPolicyDelayOutput { return o.ApplyT(func(v *HttpRouteFaultInjectionPolicyDelay) HttpRouteFaultInjectionPolicyDelay { if v != nil { @@ -4151,6 +4842,12 @@ func (o HttpRouteFaultInjectionPolicyDelayResponseOutput) ToHttpRouteFaultInject return o } +func (o HttpRouteFaultInjectionPolicyDelayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyDelayResponse] { + return pulumix.Output[HttpRouteFaultInjectionPolicyDelayResponse]{ + OutputState: o.OutputState, + } +} + // Specify a fixed delay before forwarding the request. func (o HttpRouteFaultInjectionPolicyDelayResponseOutput) FixedDelay() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicyDelayResponse) string { return v.FixedDelay }).(pulumi.StringOutput) @@ -4184,6 +4881,12 @@ func (o HttpRouteFaultInjectionPolicyResponseOutput) ToHttpRouteFaultInjectionPo return o } +func (o HttpRouteFaultInjectionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyResponse] { + return pulumix.Output[HttpRouteFaultInjectionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The specification for aborting to client requests. func (o HttpRouteFaultInjectionPolicyResponseOutput) Abort() HttpRouteFaultInjectionPolicyAbortResponseOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicyResponse) HttpRouteFaultInjectionPolicyAbortResponse { @@ -4261,6 +4964,12 @@ func (i HttpRouteHeaderMatchArgs) ToHttpRouteHeaderMatchOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderMatchOutput) } +func (i HttpRouteHeaderMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatch] { + return pulumix.Output[HttpRouteHeaderMatch]{ + OutputState: i.ToHttpRouteHeaderMatchOutputWithContext(ctx).OutputState, + } +} + // HttpRouteHeaderMatchArrayInput is an input type that accepts HttpRouteHeaderMatchArray and HttpRouteHeaderMatchArrayOutput values. // You can construct a concrete instance of `HttpRouteHeaderMatchArrayInput` via: // @@ -4286,6 +4995,12 @@ func (i HttpRouteHeaderMatchArray) ToHttpRouteHeaderMatchArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderMatchArrayOutput) } +func (i HttpRouteHeaderMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteHeaderMatch] { + return pulumix.Output[[]HttpRouteHeaderMatch]{ + OutputState: i.ToHttpRouteHeaderMatchArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies how to select a route rule based on HTTP request headers. type HttpRouteHeaderMatchOutput struct{ *pulumi.OutputState } @@ -4301,6 +5016,12 @@ func (o HttpRouteHeaderMatchOutput) ToHttpRouteHeaderMatchOutputWithContext(ctx return o } +func (o HttpRouteHeaderMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatch] { + return pulumix.Output[HttpRouteHeaderMatch]{ + OutputState: o.OutputState, + } +} + // The value of the header should match exactly the content of exact_match. func (o HttpRouteHeaderMatchOutput) ExactMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteHeaderMatch) *string { return v.ExactMatch }).(pulumi.StringPtrOutput) @@ -4355,6 +5076,12 @@ func (o HttpRouteHeaderMatchArrayOutput) ToHttpRouteHeaderMatchArrayOutputWithCo return o } +func (o HttpRouteHeaderMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteHeaderMatch] { + return pulumix.Output[[]HttpRouteHeaderMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteHeaderMatchArrayOutput) Index(i pulumi.IntInput) HttpRouteHeaderMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteHeaderMatch { return vs[0].([]HttpRouteHeaderMatch)[vs[1].(int)] @@ -4400,6 +5127,12 @@ func (i HttpRouteHeaderMatchIntegerRangeArgs) ToHttpRouteHeaderMatchIntegerRange return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderMatchIntegerRangeOutput) } +func (i HttpRouteHeaderMatchIntegerRangeArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatchIntegerRange] { + return pulumix.Output[HttpRouteHeaderMatchIntegerRange]{ + OutputState: i.ToHttpRouteHeaderMatchIntegerRangeOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteHeaderMatchIntegerRangeArgs) ToHttpRouteHeaderMatchIntegerRangePtrOutput() HttpRouteHeaderMatchIntegerRangePtrOutput { return i.ToHttpRouteHeaderMatchIntegerRangePtrOutputWithContext(context.Background()) } @@ -4441,6 +5174,12 @@ func (i *httpRouteHeaderMatchIntegerRangePtrType) ToHttpRouteHeaderMatchIntegerR return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderMatchIntegerRangePtrOutput) } +func (i *httpRouteHeaderMatchIntegerRangePtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteHeaderMatchIntegerRange] { + return pulumix.Output[*HttpRouteHeaderMatchIntegerRange]{ + OutputState: i.ToHttpRouteHeaderMatchIntegerRangePtrOutputWithContext(ctx).OutputState, + } +} + // Represents an integer value range. type HttpRouteHeaderMatchIntegerRangeOutput struct{ *pulumi.OutputState } @@ -4466,6 +5205,12 @@ func (o HttpRouteHeaderMatchIntegerRangeOutput) ToHttpRouteHeaderMatchIntegerRan }).(HttpRouteHeaderMatchIntegerRangePtrOutput) } +func (o HttpRouteHeaderMatchIntegerRangeOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatchIntegerRange] { + return pulumix.Output[HttpRouteHeaderMatchIntegerRange]{ + OutputState: o.OutputState, + } +} + // End of the range (exclusive) func (o HttpRouteHeaderMatchIntegerRangeOutput) End() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpRouteHeaderMatchIntegerRange) *int { return v.End }).(pulumi.IntPtrOutput) @@ -4490,6 +5235,12 @@ func (o HttpRouteHeaderMatchIntegerRangePtrOutput) ToHttpRouteHeaderMatchInteger return o } +func (o HttpRouteHeaderMatchIntegerRangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteHeaderMatchIntegerRange] { + return pulumix.Output[*HttpRouteHeaderMatchIntegerRange]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteHeaderMatchIntegerRangePtrOutput) Elem() HttpRouteHeaderMatchIntegerRangeOutput { return o.ApplyT(func(v *HttpRouteHeaderMatchIntegerRange) HttpRouteHeaderMatchIntegerRange { if v != nil { @@ -4543,6 +5294,12 @@ func (o HttpRouteHeaderMatchIntegerRangeResponseOutput) ToHttpRouteHeaderMatchIn return o } +func (o HttpRouteHeaderMatchIntegerRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatchIntegerRangeResponse] { + return pulumix.Output[HttpRouteHeaderMatchIntegerRangeResponse]{ + OutputState: o.OutputState, + } +} + // End of the range (exclusive) func (o HttpRouteHeaderMatchIntegerRangeResponseOutput) End() pulumi.IntOutput { return o.ApplyT(func(v HttpRouteHeaderMatchIntegerRangeResponse) int { return v.End }).(pulumi.IntOutput) @@ -4588,6 +5345,12 @@ func (o HttpRouteHeaderMatchResponseOutput) ToHttpRouteHeaderMatchResponseOutput return o } +func (o HttpRouteHeaderMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatchResponse] { + return pulumix.Output[HttpRouteHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + // The value of the header should match exactly the content of exact_match. func (o HttpRouteHeaderMatchResponseOutput) ExactMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteHeaderMatchResponse) string { return v.ExactMatch }).(pulumi.StringOutput) @@ -4642,6 +5405,12 @@ func (o HttpRouteHeaderMatchResponseArrayOutput) ToHttpRouteHeaderMatchResponseA return o } +func (o HttpRouteHeaderMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteHeaderMatchResponse] { + return pulumix.Output[[]HttpRouteHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteHeaderMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteHeaderMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteHeaderMatchResponse { return vs[0].([]HttpRouteHeaderMatchResponse)[vs[1].(int)] @@ -4691,6 +5460,12 @@ func (i HttpRouteHeaderModifierArgs) ToHttpRouteHeaderModifierOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderModifierOutput) } +func (i HttpRouteHeaderModifierArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderModifier] { + return pulumix.Output[HttpRouteHeaderModifier]{ + OutputState: i.ToHttpRouteHeaderModifierOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteHeaderModifierArgs) ToHttpRouteHeaderModifierPtrOutput() HttpRouteHeaderModifierPtrOutput { return i.ToHttpRouteHeaderModifierPtrOutputWithContext(context.Background()) } @@ -4732,6 +5507,12 @@ func (i *httpRouteHeaderModifierPtrType) ToHttpRouteHeaderModifierPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderModifierPtrOutput) } +func (i *httpRouteHeaderModifierPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteHeaderModifier] { + return pulumix.Output[*HttpRouteHeaderModifier]{ + OutputState: i.ToHttpRouteHeaderModifierPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for modifying HTTP header in HTTP request and HTTP response. type HttpRouteHeaderModifierOutput struct{ *pulumi.OutputState } @@ -4757,6 +5538,12 @@ func (o HttpRouteHeaderModifierOutput) ToHttpRouteHeaderModifierPtrOutputWithCon }).(HttpRouteHeaderModifierPtrOutput) } +func (o HttpRouteHeaderModifierOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderModifier] { + return pulumix.Output[HttpRouteHeaderModifier]{ + OutputState: o.OutputState, + } +} + // Add the headers with given map where key is the name of the header, value is the value of the header. func (o HttpRouteHeaderModifierOutput) Add() pulumi.StringMapOutput { return o.ApplyT(func(v HttpRouteHeaderModifier) map[string]string { return v.Add }).(pulumi.StringMapOutput) @@ -4786,6 +5573,12 @@ func (o HttpRouteHeaderModifierPtrOutput) ToHttpRouteHeaderModifierPtrOutputWith return o } +func (o HttpRouteHeaderModifierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteHeaderModifier] { + return pulumix.Output[*HttpRouteHeaderModifier]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteHeaderModifierPtrOutput) Elem() HttpRouteHeaderModifierOutput { return o.ApplyT(func(v *HttpRouteHeaderModifier) HttpRouteHeaderModifier { if v != nil { @@ -4851,6 +5644,12 @@ func (o HttpRouteHeaderModifierResponseOutput) ToHttpRouteHeaderModifierResponse return o } +func (o HttpRouteHeaderModifierResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderModifierResponse] { + return pulumix.Output[HttpRouteHeaderModifierResponse]{ + OutputState: o.OutputState, + } +} + // Add the headers with given map where key is the name of the header, value is the value of the header. func (o HttpRouteHeaderModifierResponseOutput) Add() pulumi.StringMapOutput { return o.ApplyT(func(v HttpRouteHeaderModifierResponse) map[string]string { return v.Add }).(pulumi.StringMapOutput) @@ -4913,6 +5712,12 @@ func (i HttpRouteQueryParameterMatchArgs) ToHttpRouteQueryParameterMatchOutputWi return pulumi.ToOutputWithContext(ctx, i).(HttpRouteQueryParameterMatchOutput) } +func (i HttpRouteQueryParameterMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteQueryParameterMatch] { + return pulumix.Output[HttpRouteQueryParameterMatch]{ + OutputState: i.ToHttpRouteQueryParameterMatchOutputWithContext(ctx).OutputState, + } +} + // HttpRouteQueryParameterMatchArrayInput is an input type that accepts HttpRouteQueryParameterMatchArray and HttpRouteQueryParameterMatchArrayOutput values. // You can construct a concrete instance of `HttpRouteQueryParameterMatchArrayInput` via: // @@ -4938,6 +5743,12 @@ func (i HttpRouteQueryParameterMatchArray) ToHttpRouteQueryParameterMatchArrayOu return pulumi.ToOutputWithContext(ctx, i).(HttpRouteQueryParameterMatchArrayOutput) } +func (i HttpRouteQueryParameterMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteQueryParameterMatch] { + return pulumix.Output[[]HttpRouteQueryParameterMatch]{ + OutputState: i.ToHttpRouteQueryParameterMatchArrayOutputWithContext(ctx).OutputState, + } +} + // Specifications to match a query parameter in the request. type HttpRouteQueryParameterMatchOutput struct{ *pulumi.OutputState } @@ -4953,6 +5764,12 @@ func (o HttpRouteQueryParameterMatchOutput) ToHttpRouteQueryParameterMatchOutput return o } +func (o HttpRouteQueryParameterMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteQueryParameterMatch] { + return pulumix.Output[HttpRouteQueryParameterMatch]{ + OutputState: o.OutputState, + } +} + // The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set. func (o HttpRouteQueryParameterMatchOutput) ExactMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteQueryParameterMatch) *string { return v.ExactMatch }).(pulumi.StringPtrOutput) @@ -4987,6 +5804,12 @@ func (o HttpRouteQueryParameterMatchArrayOutput) ToHttpRouteQueryParameterMatchA return o } +func (o HttpRouteQueryParameterMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteQueryParameterMatch] { + return pulumix.Output[[]HttpRouteQueryParameterMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteQueryParameterMatchArrayOutput) Index(i pulumi.IntInput) HttpRouteQueryParameterMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteQueryParameterMatch { return vs[0].([]HttpRouteQueryParameterMatch)[vs[1].(int)] @@ -5020,6 +5843,12 @@ func (o HttpRouteQueryParameterMatchResponseOutput) ToHttpRouteQueryParameterMat return o } +func (o HttpRouteQueryParameterMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteQueryParameterMatchResponse] { + return pulumix.Output[HttpRouteQueryParameterMatchResponse]{ + OutputState: o.OutputState, + } +} + // The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set. func (o HttpRouteQueryParameterMatchResponseOutput) ExactMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteQueryParameterMatchResponse) string { return v.ExactMatch }).(pulumi.StringOutput) @@ -5054,6 +5883,12 @@ func (o HttpRouteQueryParameterMatchResponseArrayOutput) ToHttpRouteQueryParamet return o } +func (o HttpRouteQueryParameterMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteQueryParameterMatchResponse] { + return pulumix.Output[[]HttpRouteQueryParameterMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteQueryParameterMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteQueryParameterMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteQueryParameterMatchResponse { return vs[0].([]HttpRouteQueryParameterMatchResponse)[vs[1].(int)] @@ -5119,6 +5954,12 @@ func (i HttpRouteRedirectArgs) ToHttpRouteRedirectOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRedirectOutput) } +func (i HttpRouteRedirectArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRedirect] { + return pulumix.Output[HttpRouteRedirect]{ + OutputState: i.ToHttpRouteRedirectOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteRedirectArgs) ToHttpRouteRedirectPtrOutput() HttpRouteRedirectPtrOutput { return i.ToHttpRouteRedirectPtrOutputWithContext(context.Background()) } @@ -5160,6 +6001,12 @@ func (i *httpRouteRedirectPtrType) ToHttpRouteRedirectPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRedirectPtrOutput) } +func (i *httpRouteRedirectPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRedirect] { + return pulumix.Output[*HttpRouteRedirect]{ + OutputState: i.ToHttpRouteRedirectPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for redirecting traffic. type HttpRouteRedirectOutput struct{ *pulumi.OutputState } @@ -5185,6 +6032,12 @@ func (o HttpRouteRedirectOutput) ToHttpRouteRedirectPtrOutputWithContext(ctx con }).(HttpRouteRedirectPtrOutput) } +func (o HttpRouteRedirectOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRedirect] { + return pulumix.Output[HttpRouteRedirect]{ + OutputState: o.OutputState, + } +} + // The host that will be used in the redirect response instead of the one that was supplied in the request. func (o HttpRouteRedirectOutput) HostRedirect() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteRedirect) *string { return v.HostRedirect }).(pulumi.StringPtrOutput) @@ -5234,6 +6087,12 @@ func (o HttpRouteRedirectPtrOutput) ToHttpRouteRedirectPtrOutputWithContext(ctx return o } +func (o HttpRouteRedirectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRedirect] { + return pulumix.Output[*HttpRouteRedirect]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRedirectPtrOutput) Elem() HttpRouteRedirectOutput { return o.ApplyT(func(v *HttpRouteRedirect) HttpRouteRedirect { if v != nil { @@ -5347,6 +6206,12 @@ func (o HttpRouteRedirectResponseOutput) ToHttpRouteRedirectResponseOutputWithCo return o } +func (o HttpRouteRedirectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRedirectResponse] { + return pulumix.Output[HttpRouteRedirectResponse]{ + OutputState: o.OutputState, + } +} + // The host that will be used in the redirect response instead of the one that was supplied in the request. func (o HttpRouteRedirectResponseOutput) HostRedirect() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteRedirectResponse) string { return v.HostRedirect }).(pulumi.StringOutput) @@ -5417,6 +6282,12 @@ func (i HttpRouteRequestMirrorPolicyArgs) ToHttpRouteRequestMirrorPolicyOutputWi return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRequestMirrorPolicyOutput) } +func (i HttpRouteRequestMirrorPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRequestMirrorPolicy] { + return pulumix.Output[HttpRouteRequestMirrorPolicy]{ + OutputState: i.ToHttpRouteRequestMirrorPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteRequestMirrorPolicyArgs) ToHttpRouteRequestMirrorPolicyPtrOutput() HttpRouteRequestMirrorPolicyPtrOutput { return i.ToHttpRouteRequestMirrorPolicyPtrOutputWithContext(context.Background()) } @@ -5458,6 +6329,12 @@ func (i *httpRouteRequestMirrorPolicyPtrType) ToHttpRouteRequestMirrorPolicyPtrO return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRequestMirrorPolicyPtrOutput) } +func (i *httpRouteRequestMirrorPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRequestMirrorPolicy] { + return pulumix.Output[*HttpRouteRequestMirrorPolicy]{ + OutputState: i.ToHttpRouteRequestMirrorPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow. type HttpRouteRequestMirrorPolicyOutput struct{ *pulumi.OutputState } @@ -5483,6 +6360,12 @@ func (o HttpRouteRequestMirrorPolicyOutput) ToHttpRouteRequestMirrorPolicyPtrOut }).(HttpRouteRequestMirrorPolicyPtrOutput) } +func (o HttpRouteRequestMirrorPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRequestMirrorPolicy] { + return pulumix.Output[HttpRouteRequestMirrorPolicy]{ + OutputState: o.OutputState, + } +} + // The destination the requests will be mirrored to. The weight of the destination will be ignored. func (o HttpRouteRequestMirrorPolicyOutput) Destination() HttpRouteDestinationPtrOutput { return o.ApplyT(func(v HttpRouteRequestMirrorPolicy) *HttpRouteDestination { return v.Destination }).(HttpRouteDestinationPtrOutput) @@ -5502,6 +6385,12 @@ func (o HttpRouteRequestMirrorPolicyPtrOutput) ToHttpRouteRequestMirrorPolicyPtr return o } +func (o HttpRouteRequestMirrorPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRequestMirrorPolicy] { + return pulumix.Output[*HttpRouteRequestMirrorPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRequestMirrorPolicyPtrOutput) Elem() HttpRouteRequestMirrorPolicyOutput { return o.ApplyT(func(v *HttpRouteRequestMirrorPolicy) HttpRouteRequestMirrorPolicy { if v != nil { @@ -5543,6 +6432,12 @@ func (o HttpRouteRequestMirrorPolicyResponseOutput) ToHttpRouteRequestMirrorPoli return o } +func (o HttpRouteRequestMirrorPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRequestMirrorPolicyResponse] { + return pulumix.Output[HttpRouteRequestMirrorPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The destination the requests will be mirrored to. The weight of the destination will be ignored. func (o HttpRouteRequestMirrorPolicyResponseOutput) Destination() HttpRouteDestinationResponseOutput { return o.ApplyT(func(v HttpRouteRequestMirrorPolicyResponse) HttpRouteDestinationResponse { return v.Destination }).(HttpRouteDestinationResponseOutput) @@ -5591,6 +6486,12 @@ func (i HttpRouteRetryPolicyArgs) ToHttpRouteRetryPolicyOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRetryPolicyOutput) } +func (i HttpRouteRetryPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRetryPolicy] { + return pulumix.Output[HttpRouteRetryPolicy]{ + OutputState: i.ToHttpRouteRetryPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteRetryPolicyArgs) ToHttpRouteRetryPolicyPtrOutput() HttpRouteRetryPolicyPtrOutput { return i.ToHttpRouteRetryPolicyPtrOutputWithContext(context.Background()) } @@ -5632,6 +6533,12 @@ func (i *httpRouteRetryPolicyPtrType) ToHttpRouteRetryPolicyPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRetryPolicyPtrOutput) } +func (i *httpRouteRetryPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRetryPolicy] { + return pulumix.Output[*HttpRouteRetryPolicy]{ + OutputState: i.ToHttpRouteRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specifications for retries. type HttpRouteRetryPolicyOutput struct{ *pulumi.OutputState } @@ -5657,6 +6564,12 @@ func (o HttpRouteRetryPolicyOutput) ToHttpRouteRetryPolicyPtrOutputWithContext(c }).(HttpRouteRetryPolicyPtrOutput) } +func (o HttpRouteRetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRetryPolicy] { + return pulumix.Output[HttpRouteRetryPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. func (o HttpRouteRetryPolicyOutput) NumRetries() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpRouteRetryPolicy) *int { return v.NumRetries }).(pulumi.IntPtrOutput) @@ -5686,6 +6599,12 @@ func (o HttpRouteRetryPolicyPtrOutput) ToHttpRouteRetryPolicyPtrOutputWithContex return o } +func (o HttpRouteRetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRetryPolicy] { + return pulumix.Output[*HttpRouteRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRetryPolicyPtrOutput) Elem() HttpRouteRetryPolicyOutput { return o.ApplyT(func(v *HttpRouteRetryPolicy) HttpRouteRetryPolicy { if v != nil { @@ -5751,6 +6670,12 @@ func (o HttpRouteRetryPolicyResponseOutput) ToHttpRouteRetryPolicyResponseOutput return o } +func (o HttpRouteRetryPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRetryPolicyResponse] { + return pulumix.Output[HttpRouteRetryPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. func (o HttpRouteRetryPolicyResponseOutput) NumRetries() pulumi.IntOutput { return o.ApplyT(func(v HttpRouteRetryPolicyResponse) int { return v.NumRetries }).(pulumi.IntOutput) @@ -5837,6 +6762,12 @@ func (i HttpRouteRouteActionArgs) ToHttpRouteRouteActionOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteActionOutput) } +func (i HttpRouteRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteAction] { + return pulumix.Output[HttpRouteRouteAction]{ + OutputState: i.ToHttpRouteRouteActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteRouteActionArgs) ToHttpRouteRouteActionPtrOutput() HttpRouteRouteActionPtrOutput { return i.ToHttpRouteRouteActionPtrOutputWithContext(context.Background()) } @@ -5878,6 +6809,12 @@ func (i *httpRouteRouteActionPtrType) ToHttpRouteRouteActionPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteActionPtrOutput) } +func (i *httpRouteRouteActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRouteAction] { + return pulumix.Output[*HttpRouteRouteAction]{ + OutputState: i.ToHttpRouteRouteActionPtrOutputWithContext(ctx).OutputState, + } +} + // The specifications for routing traffic and applying associated policies. type HttpRouteRouteActionOutput struct{ *pulumi.OutputState } @@ -5903,6 +6840,12 @@ func (o HttpRouteRouteActionOutput) ToHttpRouteRouteActionPtrOutputWithContext(c }).(HttpRouteRouteActionPtrOutput) } +func (o HttpRouteRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteAction] { + return pulumix.Output[HttpRouteRouteAction]{ + OutputState: o.OutputState, + } +} + // The specification for allowing client side cross-origin requests. func (o HttpRouteRouteActionOutput) CorsPolicy() HttpRouteCorsPolicyPtrOutput { return o.ApplyT(func(v HttpRouteRouteAction) *HttpRouteCorsPolicy { return v.CorsPolicy }).(HttpRouteCorsPolicyPtrOutput) @@ -5967,6 +6910,12 @@ func (o HttpRouteRouteActionPtrOutput) ToHttpRouteRouteActionPtrOutputWithContex return o } +func (o HttpRouteRouteActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRouteAction] { + return pulumix.Output[*HttpRouteRouteAction]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRouteActionPtrOutput) Elem() HttpRouteRouteActionOutput { return o.ApplyT(func(v *HttpRouteRouteAction) HttpRouteRouteAction { if v != nil { @@ -6116,6 +7065,12 @@ func (o HttpRouteRouteActionResponseOutput) ToHttpRouteRouteActionResponseOutput return o } +func (o HttpRouteRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteActionResponse] { + return pulumix.Output[HttpRouteRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // The specification for allowing client side cross-origin requests. func (o HttpRouteRouteActionResponseOutput) CorsPolicy() HttpRouteCorsPolicyResponseOutput { return o.ApplyT(func(v HttpRouteRouteActionResponse) HttpRouteCorsPolicyResponse { return v.CorsPolicy }).(HttpRouteCorsPolicyResponseOutput) @@ -6225,6 +7180,12 @@ func (i HttpRouteRouteMatchArgs) ToHttpRouteRouteMatchOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteMatchOutput) } +func (i HttpRouteRouteMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteMatch] { + return pulumix.Output[HttpRouteRouteMatch]{ + OutputState: i.ToHttpRouteRouteMatchOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRouteMatchArrayInput is an input type that accepts HttpRouteRouteMatchArray and HttpRouteRouteMatchArrayOutput values. // You can construct a concrete instance of `HttpRouteRouteMatchArrayInput` via: // @@ -6250,6 +7211,12 @@ func (i HttpRouteRouteMatchArray) ToHttpRouteRouteMatchArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteMatchArrayOutput) } +func (i HttpRouteRouteMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteMatch] { + return pulumix.Output[[]HttpRouteRouteMatch]{ + OutputState: i.ToHttpRouteRouteMatchArrayOutputWithContext(ctx).OutputState, + } +} + // RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched. type HttpRouteRouteMatchOutput struct{ *pulumi.OutputState } @@ -6265,6 +7232,12 @@ func (o HttpRouteRouteMatchOutput) ToHttpRouteRouteMatchOutputWithContext(ctx co return o } +func (o HttpRouteRouteMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteMatch] { + return pulumix.Output[HttpRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + // The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used. func (o HttpRouteRouteMatchOutput) FullPathMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteRouteMatch) *string { return v.FullPathMatch }).(pulumi.StringPtrOutput) @@ -6309,6 +7282,12 @@ func (o HttpRouteRouteMatchArrayOutput) ToHttpRouteRouteMatchArrayOutputWithCont return o } +func (o HttpRouteRouteMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteMatch] { + return pulumix.Output[[]HttpRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRouteMatchArrayOutput) Index(i pulumi.IntInput) HttpRouteRouteMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRouteMatch { return vs[0].([]HttpRouteRouteMatch)[vs[1].(int)] @@ -6346,6 +7325,12 @@ func (o HttpRouteRouteMatchResponseOutput) ToHttpRouteRouteMatchResponseOutputWi return o } +func (o HttpRouteRouteMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteMatchResponse] { + return pulumix.Output[HttpRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used. func (o HttpRouteRouteMatchResponseOutput) FullPathMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteRouteMatchResponse) string { return v.FullPathMatch }).(pulumi.StringOutput) @@ -6390,6 +7375,12 @@ func (o HttpRouteRouteMatchResponseArrayOutput) ToHttpRouteRouteMatchResponseArr return o } +func (o HttpRouteRouteMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteMatchResponse] { + return pulumix.Output[[]HttpRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRouteMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteRouteMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRouteMatchResponse { return vs[0].([]HttpRouteRouteMatchResponse)[vs[1].(int)] @@ -6435,6 +7426,12 @@ func (i HttpRouteRouteRuleArgs) ToHttpRouteRouteRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteRuleOutput) } +func (i HttpRouteRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteRule] { + return pulumix.Output[HttpRouteRouteRule]{ + OutputState: i.ToHttpRouteRouteRuleOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRouteRuleArrayInput is an input type that accepts HttpRouteRouteRuleArray and HttpRouteRouteRuleArrayOutput values. // You can construct a concrete instance of `HttpRouteRouteRuleArrayInput` via: // @@ -6460,6 +7457,12 @@ func (i HttpRouteRouteRuleArray) ToHttpRouteRouteRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteRuleArrayOutput) } +func (i HttpRouteRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteRule] { + return pulumix.Output[[]HttpRouteRouteRule]{ + OutputState: i.ToHttpRouteRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies how to match traffic and how to route traffic when traffic is matched. type HttpRouteRouteRuleOutput struct{ *pulumi.OutputState } @@ -6475,6 +7478,12 @@ func (o HttpRouteRouteRuleOutput) ToHttpRouteRouteRuleOutputWithContext(ctx cont return o } +func (o HttpRouteRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteRule] { + return pulumix.Output[HttpRouteRouteRule]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o HttpRouteRouteRuleOutput) Action() HttpRouteRouteActionPtrOutput { return o.ApplyT(func(v HttpRouteRouteRule) *HttpRouteRouteAction { return v.Action }).(HttpRouteRouteActionPtrOutput) @@ -6499,6 +7508,12 @@ func (o HttpRouteRouteRuleArrayOutput) ToHttpRouteRouteRuleArrayOutputWithContex return o } +func (o HttpRouteRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteRule] { + return pulumix.Output[[]HttpRouteRouteRule]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRouteRuleArrayOutput) Index(i pulumi.IntInput) HttpRouteRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRouteRule { return vs[0].([]HttpRouteRouteRule)[vs[1].(int)] @@ -6528,6 +7543,12 @@ func (o HttpRouteRouteRuleResponseOutput) ToHttpRouteRouteRuleResponseOutputWith return o } +func (o HttpRouteRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteRuleResponse] { + return pulumix.Output[HttpRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o HttpRouteRouteRuleResponseOutput) Action() HttpRouteRouteActionResponseOutput { return o.ApplyT(func(v HttpRouteRouteRuleResponse) HttpRouteRouteActionResponse { return v.Action }).(HttpRouteRouteActionResponseOutput) @@ -6552,6 +7573,12 @@ func (o HttpRouteRouteRuleResponseArrayOutput) ToHttpRouteRouteRuleResponseArray return o } +func (o HttpRouteRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteRuleResponse] { + return pulumix.Output[[]HttpRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRouteRuleResponse { return vs[0].([]HttpRouteRouteRuleResponse)[vs[1].(int)] @@ -6597,6 +7624,12 @@ func (i HttpRouteURLRewriteArgs) ToHttpRouteURLRewriteOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpRouteURLRewriteOutput) } +func (i HttpRouteURLRewriteArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteURLRewrite] { + return pulumix.Output[HttpRouteURLRewrite]{ + OutputState: i.ToHttpRouteURLRewriteOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteURLRewriteArgs) ToHttpRouteURLRewritePtrOutput() HttpRouteURLRewritePtrOutput { return i.ToHttpRouteURLRewritePtrOutputWithContext(context.Background()) } @@ -6638,6 +7671,12 @@ func (i *httpRouteURLRewritePtrType) ToHttpRouteURLRewritePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(HttpRouteURLRewritePtrOutput) } +func (i *httpRouteURLRewritePtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteURLRewrite] { + return pulumix.Output[*HttpRouteURLRewrite]{ + OutputState: i.ToHttpRouteURLRewritePtrOutputWithContext(ctx).OutputState, + } +} + // The specification for modifying the URL of the request, prior to forwarding the request to the destination. type HttpRouteURLRewriteOutput struct{ *pulumi.OutputState } @@ -6663,6 +7702,12 @@ func (o HttpRouteURLRewriteOutput) ToHttpRouteURLRewritePtrOutputWithContext(ctx }).(HttpRouteURLRewritePtrOutput) } +func (o HttpRouteURLRewriteOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteURLRewrite] { + return pulumix.Output[HttpRouteURLRewrite]{ + OutputState: o.OutputState, + } +} + // Prior to forwarding the request to the selected destination, the requests host header is replaced by this value. func (o HttpRouteURLRewriteOutput) HostRewrite() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteURLRewrite) *string { return v.HostRewrite }).(pulumi.StringPtrOutput) @@ -6687,6 +7732,12 @@ func (o HttpRouteURLRewritePtrOutput) ToHttpRouteURLRewritePtrOutputWithContext( return o } +func (o HttpRouteURLRewritePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteURLRewrite] { + return pulumix.Output[*HttpRouteURLRewrite]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteURLRewritePtrOutput) Elem() HttpRouteURLRewriteOutput { return o.ApplyT(func(v *HttpRouteURLRewrite) HttpRouteURLRewrite { if v != nil { @@ -6740,6 +7791,12 @@ func (o HttpRouteURLRewriteResponseOutput) ToHttpRouteURLRewriteResponseOutputWi return o } +func (o HttpRouteURLRewriteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteURLRewriteResponse] { + return pulumix.Output[HttpRouteURLRewriteResponse]{ + OutputState: o.OutputState, + } +} + // Prior to forwarding the request to the selected destination, the requests host header is replaced by this value. func (o HttpRouteURLRewriteResponseOutput) HostRewrite() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteURLRewriteResponse) string { return v.HostRewrite }).(pulumi.StringOutput) @@ -6789,6 +7846,12 @@ func (i TcpRouteRouteActionArgs) ToTcpRouteRouteActionOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteActionOutput) } +func (i TcpRouteRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteAction] { + return pulumix.Output[TcpRouteRouteAction]{ + OutputState: i.ToTcpRouteRouteActionOutputWithContext(ctx).OutputState, + } +} + // The specifications for routing traffic and applying associated policies. type TcpRouteRouteActionOutput struct{ *pulumi.OutputState } @@ -6804,6 +7867,12 @@ func (o TcpRouteRouteActionOutput) ToTcpRouteRouteActionOutputWithContext(ctx co return o } +func (o TcpRouteRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteAction] { + return pulumix.Output[TcpRouteRouteAction]{ + OutputState: o.OutputState, + } +} + // Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set. func (o TcpRouteRouteActionOutput) Destinations() TcpRouteRouteDestinationArrayOutput { return o.ApplyT(func(v TcpRouteRouteAction) []TcpRouteRouteDestination { return v.Destinations }).(TcpRouteRouteDestinationArrayOutput) @@ -6837,6 +7906,12 @@ func (o TcpRouteRouteActionResponseOutput) ToTcpRouteRouteActionResponseOutputWi return o } +func (o TcpRouteRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteActionResponse] { + return pulumix.Output[TcpRouteRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set. func (o TcpRouteRouteActionResponseOutput) Destinations() TcpRouteRouteDestinationResponseArrayOutput { return o.ApplyT(func(v TcpRouteRouteActionResponse) []TcpRouteRouteDestinationResponse { return v.Destinations }).(TcpRouteRouteDestinationResponseArrayOutput) @@ -6886,6 +7961,12 @@ func (i TcpRouteRouteDestinationArgs) ToTcpRouteRouteDestinationOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteDestinationOutput) } +func (i TcpRouteRouteDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteDestination] { + return pulumix.Output[TcpRouteRouteDestination]{ + OutputState: i.ToTcpRouteRouteDestinationOutputWithContext(ctx).OutputState, + } +} + // TcpRouteRouteDestinationArrayInput is an input type that accepts TcpRouteRouteDestinationArray and TcpRouteRouteDestinationArrayOutput values. // You can construct a concrete instance of `TcpRouteRouteDestinationArrayInput` via: // @@ -6911,6 +7992,12 @@ func (i TcpRouteRouteDestinationArray) ToTcpRouteRouteDestinationArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteDestinationArrayOutput) } +func (i TcpRouteRouteDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteDestination] { + return pulumix.Output[[]TcpRouteRouteDestination]{ + OutputState: i.ToTcpRouteRouteDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Describe the destination for traffic to be routed to. type TcpRouteRouteDestinationOutput struct{ *pulumi.OutputState } @@ -6926,6 +8013,12 @@ func (o TcpRouteRouteDestinationOutput) ToTcpRouteRouteDestinationOutputWithCont return o } +func (o TcpRouteRouteDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteDestination] { + return pulumix.Output[TcpRouteRouteDestination]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o TcpRouteRouteDestinationOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v TcpRouteRouteDestination) string { return v.ServiceName }).(pulumi.StringOutput) @@ -6950,6 +8043,12 @@ func (o TcpRouteRouteDestinationArrayOutput) ToTcpRouteRouteDestinationArrayOutp return o } +func (o TcpRouteRouteDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteDestination] { + return pulumix.Output[[]TcpRouteRouteDestination]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteDestinationArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteDestination { return vs[0].([]TcpRouteRouteDestination)[vs[1].(int)] @@ -6979,6 +8078,12 @@ func (o TcpRouteRouteDestinationResponseOutput) ToTcpRouteRouteDestinationRespon return o } +func (o TcpRouteRouteDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteDestinationResponse] { + return pulumix.Output[TcpRouteRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o TcpRouteRouteDestinationResponseOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v TcpRouteRouteDestinationResponse) string { return v.ServiceName }).(pulumi.StringOutput) @@ -7003,6 +8108,12 @@ func (o TcpRouteRouteDestinationResponseArrayOutput) ToTcpRouteRouteDestinationR return o } +func (o TcpRouteRouteDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteDestinationResponse] { + return pulumix.Output[[]TcpRouteRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteDestinationResponseArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteDestinationResponse { return vs[0].([]TcpRouteRouteDestinationResponse)[vs[1].(int)] @@ -7048,6 +8159,12 @@ func (i TcpRouteRouteMatchArgs) ToTcpRouteRouteMatchOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteMatchOutput) } +func (i TcpRouteRouteMatchArgs) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteMatch] { + return pulumix.Output[TcpRouteRouteMatch]{ + OutputState: i.ToTcpRouteRouteMatchOutputWithContext(ctx).OutputState, + } +} + // TcpRouteRouteMatchArrayInput is an input type that accepts TcpRouteRouteMatchArray and TcpRouteRouteMatchArrayOutput values. // You can construct a concrete instance of `TcpRouteRouteMatchArrayInput` via: // @@ -7073,6 +8190,12 @@ func (i TcpRouteRouteMatchArray) ToTcpRouteRouteMatchArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteMatchArrayOutput) } +func (i TcpRouteRouteMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteMatch] { + return pulumix.Output[[]TcpRouteRouteMatch]{ + OutputState: i.ToTcpRouteRouteMatchArrayOutputWithContext(ctx).OutputState, + } +} + // RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. type TcpRouteRouteMatchOutput struct{ *pulumi.OutputState } @@ -7088,6 +8211,12 @@ func (o TcpRouteRouteMatchOutput) ToTcpRouteRouteMatchOutputWithContext(ctx cont return o } +func (o TcpRouteRouteMatchOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteMatch] { + return pulumix.Output[TcpRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + // Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - matches against any IP address'. func (o TcpRouteRouteMatchOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v TcpRouteRouteMatch) string { return v.Address }).(pulumi.StringOutput) @@ -7112,6 +8241,12 @@ func (o TcpRouteRouteMatchArrayOutput) ToTcpRouteRouteMatchArrayOutputWithContex return o } +func (o TcpRouteRouteMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteMatch] { + return pulumix.Output[[]TcpRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteMatchArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteMatch { return vs[0].([]TcpRouteRouteMatch)[vs[1].(int)] @@ -7141,6 +8276,12 @@ func (o TcpRouteRouteMatchResponseOutput) ToTcpRouteRouteMatchResponseOutputWith return o } +func (o TcpRouteRouteMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteMatchResponse] { + return pulumix.Output[TcpRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + // Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - matches against any IP address'. func (o TcpRouteRouteMatchResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v TcpRouteRouteMatchResponse) string { return v.Address }).(pulumi.StringOutput) @@ -7165,6 +8306,12 @@ func (o TcpRouteRouteMatchResponseArrayOutput) ToTcpRouteRouteMatchResponseArray return o } +func (o TcpRouteRouteMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteMatchResponse] { + return pulumix.Output[[]TcpRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteMatchResponseArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteMatchResponse { return vs[0].([]TcpRouteRouteMatchResponse)[vs[1].(int)] @@ -7210,6 +8357,12 @@ func (i TcpRouteRouteRuleArgs) ToTcpRouteRouteRuleOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteRuleOutput) } +func (i TcpRouteRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteRule] { + return pulumix.Output[TcpRouteRouteRule]{ + OutputState: i.ToTcpRouteRouteRuleOutputWithContext(ctx).OutputState, + } +} + // TcpRouteRouteRuleArrayInput is an input type that accepts TcpRouteRouteRuleArray and TcpRouteRouteRuleArrayOutput values. // You can construct a concrete instance of `TcpRouteRouteRuleArrayInput` via: // @@ -7235,6 +8388,12 @@ func (i TcpRouteRouteRuleArray) ToTcpRouteRouteRuleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteRuleArrayOutput) } +func (i TcpRouteRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteRule] { + return pulumix.Output[[]TcpRouteRouteRule]{ + OutputState: i.ToTcpRouteRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies how to match traffic and how to route traffic when traffic is matched. type TcpRouteRouteRuleOutput struct{ *pulumi.OutputState } @@ -7250,6 +8409,12 @@ func (o TcpRouteRouteRuleOutput) ToTcpRouteRouteRuleOutputWithContext(ctx contex return o } +func (o TcpRouteRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteRule] { + return pulumix.Output[TcpRouteRouteRule]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o TcpRouteRouteRuleOutput) Action() TcpRouteRouteActionOutput { return o.ApplyT(func(v TcpRouteRouteRule) TcpRouteRouteAction { return v.Action }).(TcpRouteRouteActionOutput) @@ -7274,6 +8439,12 @@ func (o TcpRouteRouteRuleArrayOutput) ToTcpRouteRouteRuleArrayOutputWithContext( return o } +func (o TcpRouteRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteRule] { + return pulumix.Output[[]TcpRouteRouteRule]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteRuleArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteRule { return vs[0].([]TcpRouteRouteRule)[vs[1].(int)] @@ -7303,6 +8474,12 @@ func (o TcpRouteRouteRuleResponseOutput) ToTcpRouteRouteRuleResponseOutputWithCo return o } +func (o TcpRouteRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteRuleResponse] { + return pulumix.Output[TcpRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o TcpRouteRouteRuleResponseOutput) Action() TcpRouteRouteActionResponseOutput { return o.ApplyT(func(v TcpRouteRouteRuleResponse) TcpRouteRouteActionResponse { return v.Action }).(TcpRouteRouteActionResponseOutput) @@ -7327,6 +8504,12 @@ func (o TcpRouteRouteRuleResponseArrayOutput) ToTcpRouteRouteRuleResponseArrayOu return o } +func (o TcpRouteRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteRuleResponse] { + return pulumix.Output[[]TcpRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteRuleResponse { return vs[0].([]TcpRouteRouteRuleResponse)[vs[1].(int)] @@ -7368,6 +8551,12 @@ func (i TlsRouteRouteActionArgs) ToTlsRouteRouteActionOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteActionOutput) } +func (i TlsRouteRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteAction] { + return pulumix.Output[TlsRouteRouteAction]{ + OutputState: i.ToTlsRouteRouteActionOutputWithContext(ctx).OutputState, + } +} + // The specifications for routing traffic and applying associated policies. type TlsRouteRouteActionOutput struct{ *pulumi.OutputState } @@ -7383,6 +8572,12 @@ func (o TlsRouteRouteActionOutput) ToTlsRouteRouteActionOutputWithContext(ctx co return o } +func (o TlsRouteRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteAction] { + return pulumix.Output[TlsRouteRouteAction]{ + OutputState: o.OutputState, + } +} + // The destination services to which traffic should be forwarded. At least one destination service is required. func (o TlsRouteRouteActionOutput) Destinations() TlsRouteRouteDestinationArrayOutput { return o.ApplyT(func(v TlsRouteRouteAction) []TlsRouteRouteDestination { return v.Destinations }).(TlsRouteRouteDestinationArrayOutput) @@ -7409,6 +8604,12 @@ func (o TlsRouteRouteActionResponseOutput) ToTlsRouteRouteActionResponseOutputWi return o } +func (o TlsRouteRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteActionResponse] { + return pulumix.Output[TlsRouteRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // The destination services to which traffic should be forwarded. At least one destination service is required. func (o TlsRouteRouteActionResponseOutput) Destinations() TlsRouteRouteDestinationResponseArrayOutput { return o.ApplyT(func(v TlsRouteRouteActionResponse) []TlsRouteRouteDestinationResponse { return v.Destinations }).(TlsRouteRouteDestinationResponseArrayOutput) @@ -7453,6 +8654,12 @@ func (i TlsRouteRouteDestinationArgs) ToTlsRouteRouteDestinationOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteDestinationOutput) } +func (i TlsRouteRouteDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteDestination] { + return pulumix.Output[TlsRouteRouteDestination]{ + OutputState: i.ToTlsRouteRouteDestinationOutputWithContext(ctx).OutputState, + } +} + // TlsRouteRouteDestinationArrayInput is an input type that accepts TlsRouteRouteDestinationArray and TlsRouteRouteDestinationArrayOutput values. // You can construct a concrete instance of `TlsRouteRouteDestinationArrayInput` via: // @@ -7478,6 +8685,12 @@ func (i TlsRouteRouteDestinationArray) ToTlsRouteRouteDestinationArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteDestinationArrayOutput) } +func (i TlsRouteRouteDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteDestination] { + return pulumix.Output[[]TlsRouteRouteDestination]{ + OutputState: i.ToTlsRouteRouteDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Describe the destination for traffic to be routed to. type TlsRouteRouteDestinationOutput struct{ *pulumi.OutputState } @@ -7493,6 +8706,12 @@ func (o TlsRouteRouteDestinationOutput) ToTlsRouteRouteDestinationOutputWithCont return o } +func (o TlsRouteRouteDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteDestination] { + return pulumix.Output[TlsRouteRouteDestination]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o TlsRouteRouteDestinationOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v TlsRouteRouteDestination) string { return v.ServiceName }).(pulumi.StringOutput) @@ -7517,6 +8736,12 @@ func (o TlsRouteRouteDestinationArrayOutput) ToTlsRouteRouteDestinationArrayOutp return o } +func (o TlsRouteRouteDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteDestination] { + return pulumix.Output[[]TlsRouteRouteDestination]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteDestinationArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteDestination { return vs[0].([]TlsRouteRouteDestination)[vs[1].(int)] @@ -7546,6 +8771,12 @@ func (o TlsRouteRouteDestinationResponseOutput) ToTlsRouteRouteDestinationRespon return o } +func (o TlsRouteRouteDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteDestinationResponse] { + return pulumix.Output[TlsRouteRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o TlsRouteRouteDestinationResponseOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v TlsRouteRouteDestinationResponse) string { return v.ServiceName }).(pulumi.StringOutput) @@ -7570,6 +8801,12 @@ func (o TlsRouteRouteDestinationResponseArrayOutput) ToTlsRouteRouteDestinationR return o } +func (o TlsRouteRouteDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteDestinationResponse] { + return pulumix.Output[[]TlsRouteRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteDestinationResponseArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteDestinationResponse { return vs[0].([]TlsRouteRouteDestinationResponse)[vs[1].(int)] @@ -7615,6 +8852,12 @@ func (i TlsRouteRouteMatchArgs) ToTlsRouteRouteMatchOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteMatchOutput) } +func (i TlsRouteRouteMatchArgs) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteMatch] { + return pulumix.Output[TlsRouteRouteMatch]{ + OutputState: i.ToTlsRouteRouteMatchOutputWithContext(ctx).OutputState, + } +} + // TlsRouteRouteMatchArrayInput is an input type that accepts TlsRouteRouteMatchArray and TlsRouteRouteMatchArrayOutput values. // You can construct a concrete instance of `TlsRouteRouteMatchArrayInput` via: // @@ -7640,6 +8883,12 @@ func (i TlsRouteRouteMatchArray) ToTlsRouteRouteMatchArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteMatchArrayOutput) } +func (i TlsRouteRouteMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteMatch] { + return pulumix.Output[[]TlsRouteRouteMatch]{ + OutputState: i.ToTlsRouteRouteMatchArrayOutputWithContext(ctx).OutputState, + } +} + // RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. type TlsRouteRouteMatchOutput struct{ *pulumi.OutputState } @@ -7655,6 +8904,12 @@ func (o TlsRouteRouteMatchOutput) ToTlsRouteRouteMatchOutputWithContext(ctx cont return o } +func (o TlsRouteRouteMatchOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteMatch] { + return pulumix.Output[TlsRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + // Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set. func (o TlsRouteRouteMatchOutput) Alpn() pulumi.StringArrayOutput { return o.ApplyT(func(v TlsRouteRouteMatch) []string { return v.Alpn }).(pulumi.StringArrayOutput) @@ -7679,6 +8934,12 @@ func (o TlsRouteRouteMatchArrayOutput) ToTlsRouteRouteMatchArrayOutputWithContex return o } +func (o TlsRouteRouteMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteMatch] { + return pulumix.Output[[]TlsRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteMatchArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteMatch { return vs[0].([]TlsRouteRouteMatch)[vs[1].(int)] @@ -7708,6 +8969,12 @@ func (o TlsRouteRouteMatchResponseOutput) ToTlsRouteRouteMatchResponseOutputWith return o } +func (o TlsRouteRouteMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteMatchResponse] { + return pulumix.Output[TlsRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + // Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set. func (o TlsRouteRouteMatchResponseOutput) Alpn() pulumi.StringArrayOutput { return o.ApplyT(func(v TlsRouteRouteMatchResponse) []string { return v.Alpn }).(pulumi.StringArrayOutput) @@ -7732,6 +8999,12 @@ func (o TlsRouteRouteMatchResponseArrayOutput) ToTlsRouteRouteMatchResponseArray return o } +func (o TlsRouteRouteMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteMatchResponse] { + return pulumix.Output[[]TlsRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteMatchResponseArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteMatchResponse { return vs[0].([]TlsRouteRouteMatchResponse)[vs[1].(int)] @@ -7777,6 +9050,12 @@ func (i TlsRouteRouteRuleArgs) ToTlsRouteRouteRuleOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteRuleOutput) } +func (i TlsRouteRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteRule] { + return pulumix.Output[TlsRouteRouteRule]{ + OutputState: i.ToTlsRouteRouteRuleOutputWithContext(ctx).OutputState, + } +} + // TlsRouteRouteRuleArrayInput is an input type that accepts TlsRouteRouteRuleArray and TlsRouteRouteRuleArrayOutput values. // You can construct a concrete instance of `TlsRouteRouteRuleArrayInput` via: // @@ -7802,6 +9081,12 @@ func (i TlsRouteRouteRuleArray) ToTlsRouteRouteRuleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteRuleArrayOutput) } +func (i TlsRouteRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteRule] { + return pulumix.Output[[]TlsRouteRouteRule]{ + OutputState: i.ToTlsRouteRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies how to match traffic and how to route traffic when traffic is matched. type TlsRouteRouteRuleOutput struct{ *pulumi.OutputState } @@ -7817,6 +9102,12 @@ func (o TlsRouteRouteRuleOutput) ToTlsRouteRouteRuleOutputWithContext(ctx contex return o } +func (o TlsRouteRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteRule] { + return pulumix.Output[TlsRouteRouteRule]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o TlsRouteRouteRuleOutput) Action() TlsRouteRouteActionOutput { return o.ApplyT(func(v TlsRouteRouteRule) TlsRouteRouteAction { return v.Action }).(TlsRouteRouteActionOutput) @@ -7841,6 +9132,12 @@ func (o TlsRouteRouteRuleArrayOutput) ToTlsRouteRouteRuleArrayOutputWithContext( return o } +func (o TlsRouteRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteRule] { + return pulumix.Output[[]TlsRouteRouteRule]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteRuleArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteRule { return vs[0].([]TlsRouteRouteRule)[vs[1].(int)] @@ -7870,6 +9167,12 @@ func (o TlsRouteRouteRuleResponseOutput) ToTlsRouteRouteRuleResponseOutputWithCo return o } +func (o TlsRouteRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteRuleResponse] { + return pulumix.Output[TlsRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o TlsRouteRouteRuleResponseOutput) Action() TlsRouteRouteActionResponseOutput { return o.ApplyT(func(v TlsRouteRouteRuleResponse) TlsRouteRouteActionResponse { return v.Action }).(TlsRouteRouteActionResponseOutput) @@ -7894,6 +9197,12 @@ func (o TlsRouteRouteRuleResponseArrayOutput) ToTlsRouteRouteRuleResponseArrayOu return o } +func (o TlsRouteRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteRuleResponse] { + return pulumix.Output[[]TlsRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteRuleResponse { return vs[0].([]TlsRouteRouteRuleResponse)[vs[1].(int)] @@ -7935,6 +9244,12 @@ func (i TrafficPortSelectorArgs) ToTrafficPortSelectorOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TrafficPortSelectorOutput) } +func (i TrafficPortSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[TrafficPortSelector] { + return pulumix.Output[TrafficPortSelector]{ + OutputState: i.ToTrafficPortSelectorOutputWithContext(ctx).OutputState, + } +} + func (i TrafficPortSelectorArgs) ToTrafficPortSelectorPtrOutput() TrafficPortSelectorPtrOutput { return i.ToTrafficPortSelectorPtrOutputWithContext(context.Background()) } @@ -7976,6 +9291,12 @@ func (i *trafficPortSelectorPtrType) ToTrafficPortSelectorPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(TrafficPortSelectorPtrOutput) } +func (i *trafficPortSelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*TrafficPortSelector] { + return pulumix.Output[*TrafficPortSelector]{ + OutputState: i.ToTrafficPortSelectorPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of a port-based selector. type TrafficPortSelectorOutput struct{ *pulumi.OutputState } @@ -8001,6 +9322,12 @@ func (o TrafficPortSelectorOutput) ToTrafficPortSelectorPtrOutputWithContext(ctx }).(TrafficPortSelectorPtrOutput) } +func (o TrafficPortSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[TrafficPortSelector] { + return pulumix.Output[TrafficPortSelector]{ + OutputState: o.OutputState, + } +} + // Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected. func (o TrafficPortSelectorOutput) Ports() pulumi.StringArrayOutput { return o.ApplyT(func(v TrafficPortSelector) []string { return v.Ports }).(pulumi.StringArrayOutput) @@ -8020,6 +9347,12 @@ func (o TrafficPortSelectorPtrOutput) ToTrafficPortSelectorPtrOutputWithContext( return o } +func (o TrafficPortSelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TrafficPortSelector] { + return pulumix.Output[*TrafficPortSelector]{ + OutputState: o.OutputState, + } +} + func (o TrafficPortSelectorPtrOutput) Elem() TrafficPortSelectorOutput { return o.ApplyT(func(v *TrafficPortSelector) TrafficPortSelector { if v != nil { @@ -8061,6 +9394,12 @@ func (o TrafficPortSelectorResponseOutput) ToTrafficPortSelectorResponseOutputWi return o } +func (o TrafficPortSelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TrafficPortSelectorResponse] { + return pulumix.Output[TrafficPortSelectorResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected. func (o TrafficPortSelectorResponseOutput) Ports() pulumi.StringArrayOutput { return o.ApplyT(func(v TrafficPortSelectorResponse) []string { return v.Ports }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/networkservices/v1/serviceBinding.go b/sdk/go/google/networkservices/v1/serviceBinding.go index f609446df2..71e3fa3570 100644 --- a/sdk/go/google/networkservices/v1/serviceBinding.go +++ b/sdk/go/google/networkservices/v1/serviceBinding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ServiceBinding in a given project and location. @@ -139,6 +140,12 @@ func (i *ServiceBinding) ToServiceBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServiceBindingOutput) } +func (i *ServiceBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceBinding] { + return pulumix.Output[*ServiceBinding]{ + OutputState: i.ToServiceBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceBindingOutput struct{ *pulumi.OutputState } func (ServiceBindingOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o ServiceBindingOutput) ToServiceBindingOutputWithContext(ctx context.Cont return o } +func (o ServiceBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBinding] { + return pulumix.Output[*ServiceBinding]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o ServiceBindingOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *ServiceBinding) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/serviceBindingIamBinding.go b/sdk/go/google/networkservices/v1/serviceBindingIamBinding.go index 59f0238594..6d36fa5ed1 100644 --- a/sdk/go/google/networkservices/v1/serviceBindingIamBinding.go +++ b/sdk/go/google/networkservices/v1/serviceBindingIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceBindingIamBinding) ToServiceBindingIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServiceBindingIamBindingOutput) } +func (i *ServiceBindingIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamBinding] { + return pulumix.Output[*ServiceBindingIamBinding]{ + OutputState: i.ToServiceBindingIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceBindingIamBindingOutput struct{ *pulumi.OutputState } func (ServiceBindingIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBindingIamBindingOutput) ToServiceBindingIamBindingOutputWithCont return o } +func (o ServiceBindingIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamBinding] { + return pulumix.Output[*ServiceBindingIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceBindingIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceBindingIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/serviceBindingIamMember.go b/sdk/go/google/networkservices/v1/serviceBindingIamMember.go index 0ea3a73253..2f661ae16a 100644 --- a/sdk/go/google/networkservices/v1/serviceBindingIamMember.go +++ b/sdk/go/google/networkservices/v1/serviceBindingIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceBindingIamMember) ToServiceBindingIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceBindingIamMemberOutput) } +func (i *ServiceBindingIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamMember] { + return pulumix.Output[*ServiceBindingIamMember]{ + OutputState: i.ToServiceBindingIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceBindingIamMemberOutput struct{ *pulumi.OutputState } func (ServiceBindingIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBindingIamMemberOutput) ToServiceBindingIamMemberOutputWithContex return o } +func (o ServiceBindingIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamMember] { + return pulumix.Output[*ServiceBindingIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceBindingIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceBindingIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1/serviceBindingIamPolicy.go b/sdk/go/google/networkservices/v1/serviceBindingIamPolicy.go index 38590855b9..ae82273488 100644 --- a/sdk/go/google/networkservices/v1/serviceBindingIamPolicy.go +++ b/sdk/go/google/networkservices/v1/serviceBindingIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceBindingIamPolicy) ToServiceBindingIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceBindingIamPolicyOutput) } +func (i *ServiceBindingIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamPolicy] { + return pulumix.Output[*ServiceBindingIamPolicy]{ + OutputState: i.ToServiceBindingIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceBindingIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceBindingIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBindingIamPolicyOutput) ToServiceBindingIamPolicyOutputWithContex return o } +func (o ServiceBindingIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamPolicy] { + return pulumix.Output[*ServiceBindingIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceBindingIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceBindingIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1/tcpRoute.go b/sdk/go/google/networkservices/v1/tcpRoute.go index c7527a1f09..31ab2aa8ea 100644 --- a/sdk/go/google/networkservices/v1/tcpRoute.go +++ b/sdk/go/google/networkservices/v1/tcpRoute.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TcpRoute in a given project and location. @@ -153,6 +154,12 @@ func (i *TcpRoute) ToTcpRouteOutputWithContext(ctx context.Context) TcpRouteOutp return pulumi.ToOutputWithContext(ctx, i).(TcpRouteOutput) } +func (i *TcpRoute) ToOutput(ctx context.Context) pulumix.Output[*TcpRoute] { + return pulumix.Output[*TcpRoute]{ + OutputState: i.ToTcpRouteOutputWithContext(ctx).OutputState, + } +} + type TcpRouteOutput struct{ *pulumi.OutputState } func (TcpRouteOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o TcpRouteOutput) ToTcpRouteOutputWithContext(ctx context.Context) TcpRout return o } +func (o TcpRouteOutput) ToOutput(ctx context.Context) pulumix.Output[*TcpRoute] { + return pulumix.Output[*TcpRoute]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o TcpRouteOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TcpRoute) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1/tlsRoute.go b/sdk/go/google/networkservices/v1/tlsRoute.go index 172f2e2eec..3a90c0129a 100644 --- a/sdk/go/google/networkservices/v1/tlsRoute.go +++ b/sdk/go/google/networkservices/v1/tlsRoute.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TlsRoute in a given project and location. @@ -147,6 +148,12 @@ func (i *TlsRoute) ToTlsRouteOutputWithContext(ctx context.Context) TlsRouteOutp return pulumi.ToOutputWithContext(ctx, i).(TlsRouteOutput) } +func (i *TlsRoute) ToOutput(ctx context.Context) pulumix.Output[*TlsRoute] { + return pulumix.Output[*TlsRoute]{ + OutputState: i.ToTlsRouteOutputWithContext(ctx).OutputState, + } +} + type TlsRouteOutput struct{ *pulumi.OutputState } func (TlsRouteOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o TlsRouteOutput) ToTlsRouteOutputWithContext(ctx context.Context) TlsRout return o } +func (o TlsRouteOutput) ToOutput(ctx context.Context) pulumix.Output[*TlsRoute] { + return pulumix.Output[*TlsRoute]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o TlsRouteOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TlsRoute) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/endpointPolicy.go b/sdk/go/google/networkservices/v1beta1/endpointPolicy.go index 6caad3a7f0..4451b8c665 100644 --- a/sdk/go/google/networkservices/v1beta1/endpointPolicy.go +++ b/sdk/go/google/networkservices/v1beta1/endpointPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new EndpointPolicy in a given project and location. @@ -172,6 +173,12 @@ func (i *EndpointPolicy) ToEndpointPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(EndpointPolicyOutput) } +func (i *EndpointPolicy) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicy] { + return pulumix.Output[*EndpointPolicy]{ + OutputState: i.ToEndpointPolicyOutputWithContext(ctx).OutputState, + } +} + type EndpointPolicyOutput struct{ *pulumi.OutputState } func (EndpointPolicyOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o EndpointPolicyOutput) ToEndpointPolicyOutputWithContext(ctx context.Cont return o } +func (o EndpointPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicy] { + return pulumix.Output[*EndpointPolicy]{ + OutputState: o.OutputState, + } +} + // Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint. func (o EndpointPolicyOutput) AuthorizationPolicy() pulumi.StringOutput { return o.ApplyT(func(v *EndpointPolicy) pulumi.StringOutput { return v.AuthorizationPolicy }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/endpointPolicyIamBinding.go b/sdk/go/google/networkservices/v1beta1/endpointPolicyIamBinding.go index df2b6225a7..10fe1c00eb 100644 --- a/sdk/go/google/networkservices/v1beta1/endpointPolicyIamBinding.go +++ b/sdk/go/google/networkservices/v1beta1/endpointPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EndpointPolicyIamBinding) ToEndpointPolicyIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(EndpointPolicyIamBindingOutput) } +func (i *EndpointPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamBinding] { + return pulumix.Output[*EndpointPolicyIamBinding]{ + OutputState: i.ToEndpointPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type EndpointPolicyIamBindingOutput struct{ *pulumi.OutputState } func (EndpointPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EndpointPolicyIamBindingOutput) ToEndpointPolicyIamBindingOutputWithCont return o } +func (o EndpointPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamBinding] { + return pulumix.Output[*EndpointPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EndpointPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EndpointPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1beta1/endpointPolicyIamMember.go b/sdk/go/google/networkservices/v1beta1/endpointPolicyIamMember.go index 2a46a3edac..245a295573 100644 --- a/sdk/go/google/networkservices/v1beta1/endpointPolicyIamMember.go +++ b/sdk/go/google/networkservices/v1beta1/endpointPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EndpointPolicyIamMember) ToEndpointPolicyIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(EndpointPolicyIamMemberOutput) } +func (i *EndpointPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamMember] { + return pulumix.Output[*EndpointPolicyIamMember]{ + OutputState: i.ToEndpointPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type EndpointPolicyIamMemberOutput struct{ *pulumi.OutputState } func (EndpointPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EndpointPolicyIamMemberOutput) ToEndpointPolicyIamMemberOutputWithContex return o } +func (o EndpointPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamMember] { + return pulumix.Output[*EndpointPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o EndpointPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *EndpointPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1beta1/endpointPolicyIamPolicy.go b/sdk/go/google/networkservices/v1beta1/endpointPolicyIamPolicy.go index d7ae767931..315172cea5 100644 --- a/sdk/go/google/networkservices/v1beta1/endpointPolicyIamPolicy.go +++ b/sdk/go/google/networkservices/v1beta1/endpointPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *EndpointPolicyIamPolicy) ToEndpointPolicyIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(EndpointPolicyIamPolicyOutput) } +func (i *EndpointPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamPolicy] { + return pulumix.Output[*EndpointPolicyIamPolicy]{ + OutputState: i.ToEndpointPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type EndpointPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (EndpointPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o EndpointPolicyIamPolicyOutput) ToEndpointPolicyIamPolicyOutputWithContex return o } +func (o EndpointPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyIamPolicy] { + return pulumix.Output[*EndpointPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o EndpointPolicyIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *EndpointPolicyIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/gateway.go b/sdk/go/google/networkservices/v1beta1/gateway.go index 2672fab815..ebe311b836 100644 --- a/sdk/go/google/networkservices/v1beta1/gateway.go +++ b/sdk/go/google/networkservices/v1beta1/gateway.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Gateway in a given project and location. @@ -189,6 +190,12 @@ func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput return pulumi.ToOutputWithContext(ctx, i).(GatewayOutput) } +func (i *Gateway) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: i.ToGatewayOutputWithContext(ctx).OutputState, + } +} + type GatewayOutput struct{ *pulumi.OutputState } func (GatewayOutput) ElementType() reflect.Type { @@ -203,6 +210,12 @@ func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOu return o } +func (o GatewayOutput) ToOutput(ctx context.Context) pulumix.Output[*Gateway] { + return pulumix.Output[*Gateway]{ + OutputState: o.OutputState, + } +} + // Optional. Zero or one IPv4-address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0. func (o GatewayOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v *Gateway) pulumi.StringArrayOutput { return v.Addresses }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/gatewayIamBinding.go b/sdk/go/google/networkservices/v1beta1/gatewayIamBinding.go index c448746cdb..d29fc8c0e2 100644 --- a/sdk/go/google/networkservices/v1beta1/gatewayIamBinding.go +++ b/sdk/go/google/networkservices/v1beta1/gatewayIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GatewayIamBinding) ToGatewayIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(GatewayIamBindingOutput) } +func (i *GatewayIamBinding) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamBinding] { + return pulumix.Output[*GatewayIamBinding]{ + OutputState: i.ToGatewayIamBindingOutputWithContext(ctx).OutputState, + } +} + type GatewayIamBindingOutput struct{ *pulumi.OutputState } func (GatewayIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GatewayIamBindingOutput) ToGatewayIamBindingOutputWithContext(ctx contex return o } +func (o GatewayIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamBinding] { + return pulumix.Output[*GatewayIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GatewayIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GatewayIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1beta1/gatewayIamMember.go b/sdk/go/google/networkservices/v1beta1/gatewayIamMember.go index edb63941f6..9fee7a4c9b 100644 --- a/sdk/go/google/networkservices/v1beta1/gatewayIamMember.go +++ b/sdk/go/google/networkservices/v1beta1/gatewayIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GatewayIamMember) ToGatewayIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GatewayIamMemberOutput) } +func (i *GatewayIamMember) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamMember] { + return pulumix.Output[*GatewayIamMember]{ + OutputState: i.ToGatewayIamMemberOutputWithContext(ctx).OutputState, + } +} + type GatewayIamMemberOutput struct{ *pulumi.OutputState } func (GatewayIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GatewayIamMemberOutput) ToGatewayIamMemberOutputWithContext(ctx context. return o } +func (o GatewayIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamMember] { + return pulumix.Output[*GatewayIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o GatewayIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *GatewayIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1beta1/gatewayIamPolicy.go b/sdk/go/google/networkservices/v1beta1/gatewayIamPolicy.go index 87ee57bd86..ce79d4eb27 100644 --- a/sdk/go/google/networkservices/v1beta1/gatewayIamPolicy.go +++ b/sdk/go/google/networkservices/v1beta1/gatewayIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *GatewayIamPolicy) ToGatewayIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GatewayIamPolicyOutput) } +func (i *GatewayIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamPolicy] { + return pulumix.Output[*GatewayIamPolicy]{ + OutputState: i.ToGatewayIamPolicyOutputWithContext(ctx).OutputState, + } +} + type GatewayIamPolicyOutput struct{ *pulumi.OutputState } func (GatewayIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o GatewayIamPolicyOutput) ToGatewayIamPolicyOutputWithContext(ctx context. return o } +func (o GatewayIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayIamPolicy] { + return pulumix.Output[*GatewayIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o GatewayIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *GatewayIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getEndpointPolicy.go b/sdk/go/google/networkservices/v1beta1/getEndpointPolicy.go index 96f85c69e4..96cf00bce8 100644 --- a/sdk/go/google/networkservices/v1beta1/getEndpointPolicy.go +++ b/sdk/go/google/networkservices/v1beta1/getEndpointPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single EndpointPolicy. @@ -90,6 +91,12 @@ func (o LookupEndpointPolicyResultOutput) ToLookupEndpointPolicyResultOutputWith return o } +func (o LookupEndpointPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEndpointPolicyResult] { + return pulumix.Output[LookupEndpointPolicyResult]{ + OutputState: o.OutputState, + } +} + // Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint. func (o LookupEndpointPolicyResultOutput) AuthorizationPolicy() pulumi.StringOutput { return o.ApplyT(func(v LookupEndpointPolicyResult) string { return v.AuthorizationPolicy }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getEndpointPolicyIamPolicy.go b/sdk/go/google/networkservices/v1beta1/getEndpointPolicyIamPolicy.go index cc92435455..386046a846 100644 --- a/sdk/go/google/networkservices/v1beta1/getEndpointPolicyIamPolicy.go +++ b/sdk/go/google/networkservices/v1beta1/getEndpointPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupEndpointPolicyIamPolicyResultOutput) ToLookupEndpointPolicyIamPoli return o } +func (o LookupEndpointPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEndpointPolicyIamPolicyResult] { + return pulumix.Output[LookupEndpointPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupEndpointPolicyIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupEndpointPolicyIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getGateway.go b/sdk/go/google/networkservices/v1beta1/getGateway.go index 1fe9d03caf..dd9e8b1034 100644 --- a/sdk/go/google/networkservices/v1beta1/getGateway.go +++ b/sdk/go/google/networkservices/v1beta1/getGateway.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Gateway. @@ -98,6 +99,12 @@ func (o LookupGatewayResultOutput) ToLookupGatewayResultOutputWithContext(ctx co return o } +func (o LookupGatewayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewayResult] { + return pulumix.Output[LookupGatewayResult]{ + OutputState: o.OutputState, + } +} + // Optional. Zero or one IPv4-address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0. func (o LookupGatewayResultOutput) Addresses() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupGatewayResult) []string { return v.Addresses }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getGatewayIamPolicy.go b/sdk/go/google/networkservices/v1beta1/getGatewayIamPolicy.go index c8a588c032..f72b5675e5 100644 --- a/sdk/go/google/networkservices/v1beta1/getGatewayIamPolicy.go +++ b/sdk/go/google/networkservices/v1beta1/getGatewayIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupGatewayIamPolicyResultOutput) ToLookupGatewayIamPolicyResultOutput return o } +func (o LookupGatewayIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGatewayIamPolicyResult] { + return pulumix.Output[LookupGatewayIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupGatewayIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupGatewayIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getGrpcRoute.go b/sdk/go/google/networkservices/v1beta1/getGrpcRoute.go index bac13f6ac5..e34ab3f815 100644 --- a/sdk/go/google/networkservices/v1beta1/getGrpcRoute.go +++ b/sdk/go/google/networkservices/v1beta1/getGrpcRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single GrpcRoute. @@ -88,6 +89,12 @@ func (o LookupGrpcRouteResultOutput) ToLookupGrpcRouteResultOutputWithContext(ct return o } +func (o LookupGrpcRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGrpcRouteResult] { + return pulumix.Output[LookupGrpcRouteResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupGrpcRouteResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupGrpcRouteResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getHttpRoute.go b/sdk/go/google/networkservices/v1beta1/getHttpRoute.go index e336050e16..df56cc6960 100644 --- a/sdk/go/google/networkservices/v1beta1/getHttpRoute.go +++ b/sdk/go/google/networkservices/v1beta1/getHttpRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single HttpRoute. @@ -88,6 +89,12 @@ func (o LookupHttpRouteResultOutput) ToLookupHttpRouteResultOutputWithContext(ct return o } +func (o LookupHttpRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHttpRouteResult] { + return pulumix.Output[LookupHttpRouteResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupHttpRouteResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupHttpRouteResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getMesh.go b/sdk/go/google/networkservices/v1beta1/getMesh.go index 560865fbeb..ebd9bc92b3 100644 --- a/sdk/go/google/networkservices/v1beta1/getMesh.go +++ b/sdk/go/google/networkservices/v1beta1/getMesh.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Mesh. @@ -82,6 +83,12 @@ func (o LookupMeshResultOutput) ToLookupMeshResultOutputWithContext(ctx context. return o } +func (o LookupMeshResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMeshResult] { + return pulumix.Output[LookupMeshResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupMeshResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMeshResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getMeshIamPolicy.go b/sdk/go/google/networkservices/v1beta1/getMeshIamPolicy.go index e6ea7b1a92..cac51eb5e8 100644 --- a/sdk/go/google/networkservices/v1beta1/getMeshIamPolicy.go +++ b/sdk/go/google/networkservices/v1beta1/getMeshIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupMeshIamPolicyResultOutput) ToLookupMeshIamPolicyResultOutputWithCo return o } +func (o LookupMeshIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMeshIamPolicyResult] { + return pulumix.Output[LookupMeshIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupMeshIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupMeshIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getServiceBinding.go b/sdk/go/google/networkservices/v1beta1/getServiceBinding.go index db4068ccf5..3a5d3f798a 100644 --- a/sdk/go/google/networkservices/v1beta1/getServiceBinding.go +++ b/sdk/go/google/networkservices/v1beta1/getServiceBinding.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single ServiceBinding. @@ -80,6 +81,12 @@ func (o LookupServiceBindingResultOutput) ToLookupServiceBindingResultOutputWith return o } +func (o LookupServiceBindingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceBindingResult] { + return pulumix.Output[LookupServiceBindingResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupServiceBindingResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceBindingResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getServiceBindingIamPolicy.go b/sdk/go/google/networkservices/v1beta1/getServiceBindingIamPolicy.go index eaf21c4c12..35082dfa01 100644 --- a/sdk/go/google/networkservices/v1beta1/getServiceBindingIamPolicy.go +++ b/sdk/go/google/networkservices/v1beta1/getServiceBindingIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupServiceBindingIamPolicyResultOutput) ToLookupServiceBindingIamPoli return o } +func (o LookupServiceBindingIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceBindingIamPolicyResult] { + return pulumix.Output[LookupServiceBindingIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceBindingIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceBindingIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getTcpRoute.go b/sdk/go/google/networkservices/v1beta1/getTcpRoute.go index 05d5650cb9..0bbcd6aff0 100644 --- a/sdk/go/google/networkservices/v1beta1/getTcpRoute.go +++ b/sdk/go/google/networkservices/v1beta1/getTcpRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single TcpRoute. @@ -86,6 +87,12 @@ func (o LookupTcpRouteResultOutput) ToLookupTcpRouteResultOutputWithContext(ctx return o } +func (o LookupTcpRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTcpRouteResult] { + return pulumix.Output[LookupTcpRouteResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupTcpRouteResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTcpRouteResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/getTlsRoute.go b/sdk/go/google/networkservices/v1beta1/getTlsRoute.go index 51476fe3d3..50d805c8dd 100644 --- a/sdk/go/google/networkservices/v1beta1/getTlsRoute.go +++ b/sdk/go/google/networkservices/v1beta1/getTlsRoute.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single TlsRoute. @@ -84,6 +85,12 @@ func (o LookupTlsRouteResultOutput) ToLookupTlsRouteResultOutputWithContext(ctx return o } +func (o LookupTlsRouteResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTlsRouteResult] { + return pulumix.Output[LookupTlsRouteResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o LookupTlsRouteResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTlsRouteResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/grpcRoute.go b/sdk/go/google/networkservices/v1beta1/grpcRoute.go index aac1ea8206..eb7c398da2 100644 --- a/sdk/go/google/networkservices/v1beta1/grpcRoute.go +++ b/sdk/go/google/networkservices/v1beta1/grpcRoute.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new GrpcRoute in a given project and location. @@ -162,6 +163,12 @@ func (i *GrpcRoute) ToGrpcRouteOutputWithContext(ctx context.Context) GrpcRouteO return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteOutput) } +func (i *GrpcRoute) ToOutput(ctx context.Context) pulumix.Output[*GrpcRoute] { + return pulumix.Output[*GrpcRoute]{ + OutputState: i.ToGrpcRouteOutputWithContext(ctx).OutputState, + } +} + type GrpcRouteOutput struct{ *pulumi.OutputState } func (GrpcRouteOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o GrpcRouteOutput) ToGrpcRouteOutputWithContext(ctx context.Context) GrpcR return o } +func (o GrpcRouteOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRoute] { + return pulumix.Output[*GrpcRoute]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o GrpcRouteOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *GrpcRoute) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/httpRoute.go b/sdk/go/google/networkservices/v1beta1/httpRoute.go index f64efc742b..875979bce1 100644 --- a/sdk/go/google/networkservices/v1beta1/httpRoute.go +++ b/sdk/go/google/networkservices/v1beta1/httpRoute.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new HttpRoute in a given project and location. @@ -162,6 +163,12 @@ func (i *HttpRoute) ToHttpRouteOutputWithContext(ctx context.Context) HttpRouteO return pulumi.ToOutputWithContext(ctx, i).(HttpRouteOutput) } +func (i *HttpRoute) ToOutput(ctx context.Context) pulumix.Output[*HttpRoute] { + return pulumix.Output[*HttpRoute]{ + OutputState: i.ToHttpRouteOutputWithContext(ctx).OutputState, + } +} + type HttpRouteOutput struct{ *pulumi.OutputState } func (HttpRouteOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o HttpRouteOutput) ToHttpRouteOutputWithContext(ctx context.Context) HttpR return o } +func (o HttpRouteOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRoute] { + return pulumix.Output[*HttpRoute]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o HttpRouteOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *HttpRoute) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/mesh.go b/sdk/go/google/networkservices/v1beta1/mesh.go index 4692dcfead..c6a142f6d8 100644 --- a/sdk/go/google/networkservices/v1beta1/mesh.go +++ b/sdk/go/google/networkservices/v1beta1/mesh.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Mesh in a given project and location. @@ -138,6 +139,12 @@ func (i *Mesh) ToMeshOutputWithContext(ctx context.Context) MeshOutput { return pulumi.ToOutputWithContext(ctx, i).(MeshOutput) } +func (i *Mesh) ToOutput(ctx context.Context) pulumix.Output[*Mesh] { + return pulumix.Output[*Mesh]{ + OutputState: i.ToMeshOutputWithContext(ctx).OutputState, + } +} + type MeshOutput struct{ *pulumi.OutputState } func (MeshOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o MeshOutput) ToMeshOutputWithContext(ctx context.Context) MeshOutput { return o } +func (o MeshOutput) ToOutput(ctx context.Context) pulumix.Output[*Mesh] { + return pulumix.Output[*Mesh]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o MeshOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Mesh) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/meshIamBinding.go b/sdk/go/google/networkservices/v1beta1/meshIamBinding.go index 156964d8b1..bd402f4384 100644 --- a/sdk/go/google/networkservices/v1beta1/meshIamBinding.go +++ b/sdk/go/google/networkservices/v1beta1/meshIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MeshIamBinding) ToMeshIamBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MeshIamBindingOutput) } +func (i *MeshIamBinding) ToOutput(ctx context.Context) pulumix.Output[*MeshIamBinding] { + return pulumix.Output[*MeshIamBinding]{ + OutputState: i.ToMeshIamBindingOutputWithContext(ctx).OutputState, + } +} + type MeshIamBindingOutput struct{ *pulumi.OutputState } func (MeshIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MeshIamBindingOutput) ToMeshIamBindingOutputWithContext(ctx context.Cont return o } +func (o MeshIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*MeshIamBinding] { + return pulumix.Output[*MeshIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MeshIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MeshIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1beta1/meshIamMember.go b/sdk/go/google/networkservices/v1beta1/meshIamMember.go index 5ae1f9bc4b..707546c6f1 100644 --- a/sdk/go/google/networkservices/v1beta1/meshIamMember.go +++ b/sdk/go/google/networkservices/v1beta1/meshIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MeshIamMember) ToMeshIamMemberOutputWithContext(ctx context.Context) Me return pulumi.ToOutputWithContext(ctx, i).(MeshIamMemberOutput) } +func (i *MeshIamMember) ToOutput(ctx context.Context) pulumix.Output[*MeshIamMember] { + return pulumix.Output[*MeshIamMember]{ + OutputState: i.ToMeshIamMemberOutputWithContext(ctx).OutputState, + } +} + type MeshIamMemberOutput struct{ *pulumi.OutputState } func (MeshIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MeshIamMemberOutput) ToMeshIamMemberOutputWithContext(ctx context.Contex return o } +func (o MeshIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*MeshIamMember] { + return pulumix.Output[*MeshIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o MeshIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *MeshIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1beta1/meshIamPolicy.go b/sdk/go/google/networkservices/v1beta1/meshIamPolicy.go index 1363f121b8..40f97f69fe 100644 --- a/sdk/go/google/networkservices/v1beta1/meshIamPolicy.go +++ b/sdk/go/google/networkservices/v1beta1/meshIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *MeshIamPolicy) ToMeshIamPolicyOutputWithContext(ctx context.Context) Me return pulumi.ToOutputWithContext(ctx, i).(MeshIamPolicyOutput) } +func (i *MeshIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*MeshIamPolicy] { + return pulumix.Output[*MeshIamPolicy]{ + OutputState: i.ToMeshIamPolicyOutputWithContext(ctx).OutputState, + } +} + type MeshIamPolicyOutput struct{ *pulumi.OutputState } func (MeshIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o MeshIamPolicyOutput) ToMeshIamPolicyOutputWithContext(ctx context.Contex return o } +func (o MeshIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*MeshIamPolicy] { + return pulumix.Output[*MeshIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o MeshIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *MeshIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/pulumiEnums.go b/sdk/go/google/networkservices/v1beta1/pulumiEnums.go index 95a80f0572..e8b959ea37 100644 --- a/sdk/go/google/networkservices/v1beta1/pulumiEnums.go +++ b/sdk/go/google/networkservices/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of endpoint policy. This is primarily used to validate the configuration. type EndpointPolicyType string @@ -253,6 +272,12 @@ func (o EndpointPolicyTypeOutput) ToEndpointPolicyTypePtrOutputWithContext(ctx c }).(EndpointPolicyTypePtrOutput) } +func (o EndpointPolicyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointPolicyType] { + return pulumix.Output[EndpointPolicyType]{ + OutputState: o.OutputState, + } +} + func (o EndpointPolicyTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o EndpointPolicyTypePtrOutput) ToEndpointPolicyTypePtrOutputWithContext(ct return o } +func (o EndpointPolicyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyType] { + return pulumix.Output[*EndpointPolicyType]{ + OutputState: o.OutputState, + } +} + func (o EndpointPolicyTypePtrOutput) Elem() EndpointPolicyTypeOutput { return o.ApplyT(func(v *EndpointPolicyType) EndpointPolicyType { if v != nil { @@ -350,6 +381,12 @@ func (in *endpointPolicyTypePtr) ToEndpointPolicyTypePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(EndpointPolicyTypePtrOutput) } +func (in *endpointPolicyTypePtr) ToOutput(ctx context.Context) pulumix.Output[*EndpointPolicyType] { + return pulumix.Output[*EndpointPolicyType]{ + OutputState: in.ToEndpointPolicyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The type of the customer managed gateway. This field is required. If unspecified, an error is returned. type GatewayType string @@ -422,6 +459,12 @@ func (o GatewayTypeOutput) ToGatewayTypePtrOutputWithContext(ctx context.Context }).(GatewayTypePtrOutput) } +func (o GatewayTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GatewayType] { + return pulumix.Output[GatewayType]{ + OutputState: o.OutputState, + } +} + func (o GatewayTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o GatewayTypePtrOutput) ToGatewayTypePtrOutputWithContext(ctx context.Cont return o } +func (o GatewayTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GatewayType] { + return pulumix.Output[*GatewayType]{ + OutputState: o.OutputState, + } +} + func (o GatewayTypePtrOutput) Elem() GatewayTypeOutput { return o.ApplyT(func(v *GatewayType) GatewayType { if v != nil { @@ -519,6 +568,12 @@ func (in *gatewayTypePtr) ToGatewayTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(GatewayTypePtrOutput) } +func (in *gatewayTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GatewayType] { + return pulumix.Output[*GatewayType]{ + OutputState: in.ToGatewayTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Specifies how to match against the value of the header. If not specified, a default value of EXACT is used. type GrpcRouteHeaderMatchType string @@ -591,6 +646,12 @@ func (o GrpcRouteHeaderMatchTypeOutput) ToGrpcRouteHeaderMatchTypePtrOutputWithC }).(GrpcRouteHeaderMatchTypePtrOutput) } +func (o GrpcRouteHeaderMatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteHeaderMatchType] { + return pulumix.Output[GrpcRouteHeaderMatchType]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteHeaderMatchTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o GrpcRouteHeaderMatchTypePtrOutput) ToGrpcRouteHeaderMatchTypePtrOutputWi return o } +func (o GrpcRouteHeaderMatchTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteHeaderMatchType] { + return pulumix.Output[*GrpcRouteHeaderMatchType]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteHeaderMatchTypePtrOutput) Elem() GrpcRouteHeaderMatchTypeOutput { return o.ApplyT(func(v *GrpcRouteHeaderMatchType) GrpcRouteHeaderMatchType { if v != nil { @@ -688,6 +755,12 @@ func (in *grpcRouteHeaderMatchTypePtr) ToGrpcRouteHeaderMatchTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GrpcRouteHeaderMatchTypePtrOutput) } +func (in *grpcRouteHeaderMatchTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteHeaderMatchType] { + return pulumix.Output[*GrpcRouteHeaderMatchType]{ + OutputState: in.ToGrpcRouteHeaderMatchTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used. type GrpcRouteMethodMatchType string @@ -760,6 +833,12 @@ func (o GrpcRouteMethodMatchTypeOutput) ToGrpcRouteMethodMatchTypePtrOutputWithC }).(GrpcRouteMethodMatchTypePtrOutput) } +func (o GrpcRouteMethodMatchTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteMethodMatchType] { + return pulumix.Output[GrpcRouteMethodMatchType]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteMethodMatchTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -795,6 +874,12 @@ func (o GrpcRouteMethodMatchTypePtrOutput) ToGrpcRouteMethodMatchTypePtrOutputWi return o } +func (o GrpcRouteMethodMatchTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteMethodMatchType] { + return pulumix.Output[*GrpcRouteMethodMatchType]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteMethodMatchTypePtrOutput) Elem() GrpcRouteMethodMatchTypeOutput { return o.ApplyT(func(v *GrpcRouteMethodMatchType) GrpcRouteMethodMatchType { if v != nil { @@ -857,6 +942,12 @@ func (in *grpcRouteMethodMatchTypePtr) ToGrpcRouteMethodMatchTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(GrpcRouteMethodMatchTypePtrOutput) } +func (in *grpcRouteMethodMatchTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteMethodMatchType] { + return pulumix.Output[*GrpcRouteMethodMatchType]{ + OutputState: in.ToGrpcRouteMethodMatchTypePtrOutputWithContext(ctx).OutputState, + } +} + // The HTTP Status code to use for the redirect. type HttpRouteRedirectResponseCode string @@ -935,6 +1026,12 @@ func (o HttpRouteRedirectResponseCodeOutput) ToHttpRouteRedirectResponseCodePtrO }).(HttpRouteRedirectResponseCodePtrOutput) } +func (o HttpRouteRedirectResponseCodeOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRedirectResponseCode] { + return pulumix.Output[HttpRouteRedirectResponseCode]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRedirectResponseCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -970,6 +1067,12 @@ func (o HttpRouteRedirectResponseCodePtrOutput) ToHttpRouteRedirectResponseCodeP return o } +func (o HttpRouteRedirectResponseCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRedirectResponseCode] { + return pulumix.Output[*HttpRouteRedirectResponseCode]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRedirectResponseCodePtrOutput) Elem() HttpRouteRedirectResponseCodeOutput { return o.ApplyT(func(v *HttpRouteRedirectResponseCode) HttpRouteRedirectResponseCode { if v != nil { @@ -1032,6 +1135,12 @@ func (in *httpRouteRedirectResponseCodePtr) ToHttpRouteRedirectResponseCodePtrOu return pulumi.ToOutputWithContext(ctx, in).(HttpRouteRedirectResponseCodePtrOutput) } +func (in *httpRouteRedirectResponseCodePtr) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRedirectResponseCode] { + return pulumix.Output[*HttpRouteRedirectResponseCode]{ + OutputState: in.ToHttpRouteRedirectResponseCodePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown. type MetadataLabelMatcherMetadataLabelMatchCriteria string @@ -1104,6 +1213,12 @@ func (o MetadataLabelMatcherMetadataLabelMatchCriteriaOutput) ToMetadataLabelMat }).(MetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput) } +func (o MetadataLabelMatcherMetadataLabelMatchCriteriaOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataLabelMatcherMetadataLabelMatchCriteria] { + return pulumix.Output[MetadataLabelMatcherMetadataLabelMatchCriteria]{ + OutputState: o.OutputState, + } +} + func (o MetadataLabelMatcherMetadataLabelMatchCriteriaOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1139,6 +1254,12 @@ func (o MetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput) ToMetadataLabel return o } +func (o MetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataLabelMatcherMetadataLabelMatchCriteria] { + return pulumix.Output[*MetadataLabelMatcherMetadataLabelMatchCriteria]{ + OutputState: o.OutputState, + } +} + func (o MetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput) Elem() MetadataLabelMatcherMetadataLabelMatchCriteriaOutput { return o.ApplyT(func(v *MetadataLabelMatcherMetadataLabelMatchCriteria) MetadataLabelMatcherMetadataLabelMatchCriteria { if v != nil { @@ -1201,6 +1322,12 @@ func (in *metadataLabelMatcherMetadataLabelMatchCriteriaPtr) ToMetadataLabelMatc return pulumi.ToOutputWithContext(ctx, in).(MetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput) } +func (in *metadataLabelMatcherMetadataLabelMatchCriteriaPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataLabelMatcherMetadataLabelMatchCriteria] { + return pulumix.Output[*MetadataLabelMatcherMetadataLabelMatchCriteria]{ + OutputState: in.ToMetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/networkservices/v1beta1/pulumiTypes.go b/sdk/go/google/networkservices/v1beta1/pulumiTypes.go index b00da28439..f0fef02cb2 100644 --- a/sdk/go/google/networkservices/v1beta1/pulumiTypes.go +++ b/sdk/go/google/networkservices/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -550,6 +659,12 @@ func (i EndpointMatcherArgs) ToEndpointMatcherOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(EndpointMatcherOutput) } +func (i EndpointMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcher] { + return pulumix.Output[EndpointMatcher]{ + OutputState: i.ToEndpointMatcherOutputWithContext(ctx).OutputState, + } +} + // A definition of a matcher that selects endpoints to which the policies should be applied. type EndpointMatcherOutput struct{ *pulumi.OutputState } @@ -565,6 +680,12 @@ func (o EndpointMatcherOutput) ToEndpointMatcherOutputWithContext(ctx context.Co return o } +func (o EndpointMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcher] { + return pulumix.Output[EndpointMatcher]{ + OutputState: o.OutputState, + } +} + // The matcher is based on node metadata presented by xDS clients. func (o EndpointMatcherOutput) MetadataLabelMatcher() MetadataLabelMatcherPtrOutput { return o.ApplyT(func(v EndpointMatcher) *MetadataLabelMatcher { return v.MetadataLabelMatcher }).(MetadataLabelMatcherPtrOutput) @@ -591,6 +712,12 @@ func (o EndpointMatcherResponseOutput) ToEndpointMatcherResponseOutputWithContex return o } +func (o EndpointMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointMatcherResponse] { + return pulumix.Output[EndpointMatcherResponse]{ + OutputState: o.OutputState, + } +} + // The matcher is based on node metadata presented by xDS clients. func (o EndpointMatcherResponseOutput) MetadataLabelMatcher() MetadataLabelMatcherResponseOutput { return o.ApplyT(func(v EndpointMatcherResponse) MetadataLabelMatcherResponse { return v.MetadataLabelMatcher }).(MetadataLabelMatcherResponseOutput) @@ -643,6 +770,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -684,6 +817,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -709,6 +848,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -743,6 +888,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -820,6 +971,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -879,6 +1036,12 @@ func (i GrpcRouteDestinationArgs) ToGrpcRouteDestinationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteDestinationOutput) } +func (i GrpcRouteDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteDestination] { + return pulumix.Output[GrpcRouteDestination]{ + OutputState: i.ToGrpcRouteDestinationOutputWithContext(ctx).OutputState, + } +} + // GrpcRouteDestinationArrayInput is an input type that accepts GrpcRouteDestinationArray and GrpcRouteDestinationArrayOutput values. // You can construct a concrete instance of `GrpcRouteDestinationArrayInput` via: // @@ -904,6 +1067,12 @@ func (i GrpcRouteDestinationArray) ToGrpcRouteDestinationArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteDestinationArrayOutput) } +func (i GrpcRouteDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteDestination] { + return pulumix.Output[[]GrpcRouteDestination]{ + OutputState: i.ToGrpcRouteDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // The destination to which traffic will be routed. type GrpcRouteDestinationOutput struct{ *pulumi.OutputState } @@ -919,6 +1088,12 @@ func (o GrpcRouteDestinationOutput) ToGrpcRouteDestinationOutputWithContext(ctx return o } +func (o GrpcRouteDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteDestination] { + return pulumix.Output[GrpcRouteDestination]{ + OutputState: o.OutputState, + } +} + // The URL of a destination service to which to route traffic. Must refer to either a BackendService or ServiceDirectoryService. func (o GrpcRouteDestinationOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v GrpcRouteDestination) string { return v.ServiceName }).(pulumi.StringOutput) @@ -943,6 +1118,12 @@ func (o GrpcRouteDestinationArrayOutput) ToGrpcRouteDestinationArrayOutputWithCo return o } +func (o GrpcRouteDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteDestination] { + return pulumix.Output[[]GrpcRouteDestination]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteDestinationArrayOutput) Index(i pulumi.IntInput) GrpcRouteDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteDestination { return vs[0].([]GrpcRouteDestination)[vs[1].(int)] @@ -972,6 +1153,12 @@ func (o GrpcRouteDestinationResponseOutput) ToGrpcRouteDestinationResponseOutput return o } +func (o GrpcRouteDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteDestinationResponse] { + return pulumix.Output[GrpcRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of a destination service to which to route traffic. Must refer to either a BackendService or ServiceDirectoryService. func (o GrpcRouteDestinationResponseOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v GrpcRouteDestinationResponse) string { return v.ServiceName }).(pulumi.StringOutput) @@ -996,6 +1183,12 @@ func (o GrpcRouteDestinationResponseArrayOutput) ToGrpcRouteDestinationResponseA return o } +func (o GrpcRouteDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteDestinationResponse] { + return pulumix.Output[[]GrpcRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteDestinationResponseArrayOutput) Index(i pulumi.IntInput) GrpcRouteDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteDestinationResponse { return vs[0].([]GrpcRouteDestinationResponse)[vs[1].(int)] @@ -1041,6 +1234,12 @@ func (i GrpcRouteFaultInjectionPolicyArgs) ToGrpcRouteFaultInjectionPolicyOutput return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyOutput) } +func (i GrpcRouteFaultInjectionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicy] { + return pulumix.Output[GrpcRouteFaultInjectionPolicy]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i GrpcRouteFaultInjectionPolicyArgs) ToGrpcRouteFaultInjectionPolicyPtrOutput() GrpcRouteFaultInjectionPolicyPtrOutput { return i.ToGrpcRouteFaultInjectionPolicyPtrOutputWithContext(context.Background()) } @@ -1082,6 +1281,12 @@ func (i *grpcRouteFaultInjectionPolicyPtrType) ToGrpcRouteFaultInjectionPolicyPt return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyPtrOutput) } +func (i *grpcRouteFaultInjectionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicy] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicy]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests. type GrpcRouteFaultInjectionPolicyOutput struct{ *pulumi.OutputState } @@ -1107,6 +1312,12 @@ func (o GrpcRouteFaultInjectionPolicyOutput) ToGrpcRouteFaultInjectionPolicyPtrO }).(GrpcRouteFaultInjectionPolicyPtrOutput) } +func (o GrpcRouteFaultInjectionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicy] { + return pulumix.Output[GrpcRouteFaultInjectionPolicy]{ + OutputState: o.OutputState, + } +} + // The specification for aborting to client requests. func (o GrpcRouteFaultInjectionPolicyOutput) Abort() GrpcRouteFaultInjectionPolicyAbortPtrOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicy) *GrpcRouteFaultInjectionPolicyAbort { return v.Abort }).(GrpcRouteFaultInjectionPolicyAbortPtrOutput) @@ -1131,6 +1342,12 @@ func (o GrpcRouteFaultInjectionPolicyPtrOutput) ToGrpcRouteFaultInjectionPolicyP return o } +func (o GrpcRouteFaultInjectionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicy] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicy]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteFaultInjectionPolicyPtrOutput) Elem() GrpcRouteFaultInjectionPolicyOutput { return o.ApplyT(func(v *GrpcRouteFaultInjectionPolicy) GrpcRouteFaultInjectionPolicy { if v != nil { @@ -1200,6 +1417,12 @@ func (i GrpcRouteFaultInjectionPolicyAbortArgs) ToGrpcRouteFaultInjectionPolicyA return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyAbortOutput) } +func (i GrpcRouteFaultInjectionPolicyAbortArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyAbort] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyAbort]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyAbortOutputWithContext(ctx).OutputState, + } +} + func (i GrpcRouteFaultInjectionPolicyAbortArgs) ToGrpcRouteFaultInjectionPolicyAbortPtrOutput() GrpcRouteFaultInjectionPolicyAbortPtrOutput { return i.ToGrpcRouteFaultInjectionPolicyAbortPtrOutputWithContext(context.Background()) } @@ -1241,6 +1464,12 @@ func (i *grpcRouteFaultInjectionPolicyAbortPtrType) ToGrpcRouteFaultInjectionPol return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyAbortPtrOutput) } +func (i *grpcRouteFaultInjectionPolicyAbortPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicyAbort] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicyAbort]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyAbortPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of how client requests are aborted as part of fault injection before being sent to a destination. type GrpcRouteFaultInjectionPolicyAbortOutput struct{ *pulumi.OutputState } @@ -1266,6 +1495,12 @@ func (o GrpcRouteFaultInjectionPolicyAbortOutput) ToGrpcRouteFaultInjectionPolic }).(GrpcRouteFaultInjectionPolicyAbortPtrOutput) } +func (o GrpcRouteFaultInjectionPolicyAbortOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyAbort] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyAbort]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. func (o GrpcRouteFaultInjectionPolicyAbortOutput) HttpStatus() pulumi.IntPtrOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicyAbort) *int { return v.HttpStatus }).(pulumi.IntPtrOutput) @@ -1290,6 +1525,12 @@ func (o GrpcRouteFaultInjectionPolicyAbortPtrOutput) ToGrpcRouteFaultInjectionPo return o } +func (o GrpcRouteFaultInjectionPolicyAbortPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicyAbort] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicyAbort]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteFaultInjectionPolicyAbortPtrOutput) Elem() GrpcRouteFaultInjectionPolicyAbortOutput { return o.ApplyT(func(v *GrpcRouteFaultInjectionPolicyAbort) GrpcRouteFaultInjectionPolicyAbort { if v != nil { @@ -1343,6 +1584,12 @@ func (o GrpcRouteFaultInjectionPolicyAbortResponseOutput) ToGrpcRouteFaultInject return o } +func (o GrpcRouteFaultInjectionPolicyAbortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyAbortResponse] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyAbortResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. func (o GrpcRouteFaultInjectionPolicyAbortResponseOutput) HttpStatus() pulumi.IntOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicyAbortResponse) int { return v.HttpStatus }).(pulumi.IntOutput) @@ -1392,6 +1639,12 @@ func (i GrpcRouteFaultInjectionPolicyDelayArgs) ToGrpcRouteFaultInjectionPolicyD return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyDelayOutput) } +func (i GrpcRouteFaultInjectionPolicyDelayArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyDelay] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyDelay]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyDelayOutputWithContext(ctx).OutputState, + } +} + func (i GrpcRouteFaultInjectionPolicyDelayArgs) ToGrpcRouteFaultInjectionPolicyDelayPtrOutput() GrpcRouteFaultInjectionPolicyDelayPtrOutput { return i.ToGrpcRouteFaultInjectionPolicyDelayPtrOutputWithContext(context.Background()) } @@ -1433,6 +1686,12 @@ func (i *grpcRouteFaultInjectionPolicyDelayPtrType) ToGrpcRouteFaultInjectionPol return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteFaultInjectionPolicyDelayPtrOutput) } +func (i *grpcRouteFaultInjectionPolicyDelayPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicyDelay] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicyDelay]{ + OutputState: i.ToGrpcRouteFaultInjectionPolicyDelayPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of how client requests are delayed as part of fault injection before being sent to a destination. type GrpcRouteFaultInjectionPolicyDelayOutput struct{ *pulumi.OutputState } @@ -1458,6 +1717,12 @@ func (o GrpcRouteFaultInjectionPolicyDelayOutput) ToGrpcRouteFaultInjectionPolic }).(GrpcRouteFaultInjectionPolicyDelayPtrOutput) } +func (o GrpcRouteFaultInjectionPolicyDelayOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyDelay] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyDelay]{ + OutputState: o.OutputState, + } +} + // Specify a fixed delay before forwarding the request. func (o GrpcRouteFaultInjectionPolicyDelayOutput) FixedDelay() pulumi.StringPtrOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicyDelay) *string { return v.FixedDelay }).(pulumi.StringPtrOutput) @@ -1482,6 +1747,12 @@ func (o GrpcRouteFaultInjectionPolicyDelayPtrOutput) ToGrpcRouteFaultInjectionPo return o } +func (o GrpcRouteFaultInjectionPolicyDelayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteFaultInjectionPolicyDelay] { + return pulumix.Output[*GrpcRouteFaultInjectionPolicyDelay]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteFaultInjectionPolicyDelayPtrOutput) Elem() GrpcRouteFaultInjectionPolicyDelayOutput { return o.ApplyT(func(v *GrpcRouteFaultInjectionPolicyDelay) GrpcRouteFaultInjectionPolicyDelay { if v != nil { @@ -1535,6 +1806,12 @@ func (o GrpcRouteFaultInjectionPolicyDelayResponseOutput) ToGrpcRouteFaultInject return o } +func (o GrpcRouteFaultInjectionPolicyDelayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyDelayResponse] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyDelayResponse]{ + OutputState: o.OutputState, + } +} + // Specify a fixed delay before forwarding the request. func (o GrpcRouteFaultInjectionPolicyDelayResponseOutput) FixedDelay() pulumi.StringOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicyDelayResponse) string { return v.FixedDelay }).(pulumi.StringOutput) @@ -1568,6 +1845,12 @@ func (o GrpcRouteFaultInjectionPolicyResponseOutput) ToGrpcRouteFaultInjectionPo return o } +func (o GrpcRouteFaultInjectionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteFaultInjectionPolicyResponse] { + return pulumix.Output[GrpcRouteFaultInjectionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The specification for aborting to client requests. func (o GrpcRouteFaultInjectionPolicyResponseOutput) Abort() GrpcRouteFaultInjectionPolicyAbortResponseOutput { return o.ApplyT(func(v GrpcRouteFaultInjectionPolicyResponse) GrpcRouteFaultInjectionPolicyAbortResponse { @@ -1625,6 +1908,12 @@ func (i GrpcRouteHeaderMatchArgs) ToGrpcRouteHeaderMatchOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteHeaderMatchOutput) } +func (i GrpcRouteHeaderMatchArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteHeaderMatch] { + return pulumix.Output[GrpcRouteHeaderMatch]{ + OutputState: i.ToGrpcRouteHeaderMatchOutputWithContext(ctx).OutputState, + } +} + // GrpcRouteHeaderMatchArrayInput is an input type that accepts GrpcRouteHeaderMatchArray and GrpcRouteHeaderMatchArrayOutput values. // You can construct a concrete instance of `GrpcRouteHeaderMatchArrayInput` via: // @@ -1650,6 +1939,12 @@ func (i GrpcRouteHeaderMatchArray) ToGrpcRouteHeaderMatchArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteHeaderMatchArrayOutput) } +func (i GrpcRouteHeaderMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteHeaderMatch] { + return pulumix.Output[[]GrpcRouteHeaderMatch]{ + OutputState: i.ToGrpcRouteHeaderMatchArrayOutputWithContext(ctx).OutputState, + } +} + // A match against a collection of headers. type GrpcRouteHeaderMatchOutput struct{ *pulumi.OutputState } @@ -1665,6 +1960,12 @@ func (o GrpcRouteHeaderMatchOutput) ToGrpcRouteHeaderMatchOutputWithContext(ctx return o } +func (o GrpcRouteHeaderMatchOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteHeaderMatch] { + return pulumix.Output[GrpcRouteHeaderMatch]{ + OutputState: o.OutputState, + } +} + // The key of the header. func (o GrpcRouteHeaderMatchOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GrpcRouteHeaderMatch) string { return v.Key }).(pulumi.StringOutput) @@ -1694,6 +1995,12 @@ func (o GrpcRouteHeaderMatchArrayOutput) ToGrpcRouteHeaderMatchArrayOutputWithCo return o } +func (o GrpcRouteHeaderMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteHeaderMatch] { + return pulumix.Output[[]GrpcRouteHeaderMatch]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteHeaderMatchArrayOutput) Index(i pulumi.IntInput) GrpcRouteHeaderMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteHeaderMatch { return vs[0].([]GrpcRouteHeaderMatch)[vs[1].(int)] @@ -1725,6 +2032,12 @@ func (o GrpcRouteHeaderMatchResponseOutput) ToGrpcRouteHeaderMatchResponseOutput return o } +func (o GrpcRouteHeaderMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteHeaderMatchResponse] { + return pulumix.Output[GrpcRouteHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + // The key of the header. func (o GrpcRouteHeaderMatchResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GrpcRouteHeaderMatchResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1754,6 +2067,12 @@ func (o GrpcRouteHeaderMatchResponseArrayOutput) ToGrpcRouteHeaderMatchResponseA return o } +func (o GrpcRouteHeaderMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteHeaderMatchResponse] { + return pulumix.Output[[]GrpcRouteHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteHeaderMatchResponseArrayOutput) Index(i pulumi.IntInput) GrpcRouteHeaderMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteHeaderMatchResponse { return vs[0].([]GrpcRouteHeaderMatchResponse)[vs[1].(int)] @@ -1807,6 +2126,12 @@ func (i GrpcRouteMethodMatchArgs) ToGrpcRouteMethodMatchOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteMethodMatchOutput) } +func (i GrpcRouteMethodMatchArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteMethodMatch] { + return pulumix.Output[GrpcRouteMethodMatch]{ + OutputState: i.ToGrpcRouteMethodMatchOutputWithContext(ctx).OutputState, + } +} + func (i GrpcRouteMethodMatchArgs) ToGrpcRouteMethodMatchPtrOutput() GrpcRouteMethodMatchPtrOutput { return i.ToGrpcRouteMethodMatchPtrOutputWithContext(context.Background()) } @@ -1848,6 +2173,12 @@ func (i *grpcRouteMethodMatchPtrType) ToGrpcRouteMethodMatchPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteMethodMatchPtrOutput) } +func (i *grpcRouteMethodMatchPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteMethodMatch] { + return pulumix.Output[*GrpcRouteMethodMatch]{ + OutputState: i.ToGrpcRouteMethodMatchPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a match against a method. type GrpcRouteMethodMatchOutput struct{ *pulumi.OutputState } @@ -1873,6 +2204,12 @@ func (o GrpcRouteMethodMatchOutput) ToGrpcRouteMethodMatchPtrOutputWithContext(c }).(GrpcRouteMethodMatchPtrOutput) } +func (o GrpcRouteMethodMatchOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteMethodMatch] { + return pulumix.Output[GrpcRouteMethodMatch]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION. func (o GrpcRouteMethodMatchOutput) CaseSensitive() pulumi.BoolPtrOutput { return o.ApplyT(func(v GrpcRouteMethodMatch) *bool { return v.CaseSensitive }).(pulumi.BoolPtrOutput) @@ -1907,6 +2244,12 @@ func (o GrpcRouteMethodMatchPtrOutput) ToGrpcRouteMethodMatchPtrOutputWithContex return o } +func (o GrpcRouteMethodMatchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteMethodMatch] { + return pulumix.Output[*GrpcRouteMethodMatch]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteMethodMatchPtrOutput) Elem() GrpcRouteMethodMatchOutput { return o.ApplyT(func(v *GrpcRouteMethodMatch) GrpcRouteMethodMatch { if v != nil { @@ -1984,6 +2327,12 @@ func (o GrpcRouteMethodMatchResponseOutput) ToGrpcRouteMethodMatchResponseOutput return o } +func (o GrpcRouteMethodMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteMethodMatchResponse] { + return pulumix.Output[GrpcRouteMethodMatchResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION. func (o GrpcRouteMethodMatchResponseOutput) CaseSensitive() pulumi.BoolOutput { return o.ApplyT(func(v GrpcRouteMethodMatchResponse) bool { return v.CaseSensitive }).(pulumi.BoolOutput) @@ -2043,6 +2392,12 @@ func (i GrpcRouteRetryPolicyArgs) ToGrpcRouteRetryPolicyOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRetryPolicyOutput) } +func (i GrpcRouteRetryPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRetryPolicy] { + return pulumix.Output[GrpcRouteRetryPolicy]{ + OutputState: i.ToGrpcRouteRetryPolicyOutputWithContext(ctx).OutputState, + } +} + func (i GrpcRouteRetryPolicyArgs) ToGrpcRouteRetryPolicyPtrOutput() GrpcRouteRetryPolicyPtrOutput { return i.ToGrpcRouteRetryPolicyPtrOutputWithContext(context.Background()) } @@ -2084,6 +2439,12 @@ func (i *grpcRouteRetryPolicyPtrType) ToGrpcRouteRetryPolicyPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRetryPolicyPtrOutput) } +func (i *grpcRouteRetryPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteRetryPolicy] { + return pulumix.Output[*GrpcRouteRetryPolicy]{ + OutputState: i.ToGrpcRouteRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specifications for retries. type GrpcRouteRetryPolicyOutput struct{ *pulumi.OutputState } @@ -2109,6 +2470,12 @@ func (o GrpcRouteRetryPolicyOutput) ToGrpcRouteRetryPolicyPtrOutputWithContext(c }).(GrpcRouteRetryPolicyPtrOutput) } +func (o GrpcRouteRetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRetryPolicy] { + return pulumix.Output[GrpcRouteRetryPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. func (o GrpcRouteRetryPolicyOutput) NumRetries() pulumi.IntPtrOutput { return o.ApplyT(func(v GrpcRouteRetryPolicy) *int { return v.NumRetries }).(pulumi.IntPtrOutput) @@ -2133,6 +2500,12 @@ func (o GrpcRouteRetryPolicyPtrOutput) ToGrpcRouteRetryPolicyPtrOutputWithContex return o } +func (o GrpcRouteRetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GrpcRouteRetryPolicy] { + return pulumix.Output[*GrpcRouteRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteRetryPolicyPtrOutput) Elem() GrpcRouteRetryPolicyOutput { return o.ApplyT(func(v *GrpcRouteRetryPolicy) GrpcRouteRetryPolicy { if v != nil { @@ -2186,6 +2559,12 @@ func (o GrpcRouteRetryPolicyResponseOutput) ToGrpcRouteRetryPolicyResponseOutput return o } +func (o GrpcRouteRetryPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRetryPolicyResponse] { + return pulumix.Output[GrpcRouteRetryPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. func (o GrpcRouteRetryPolicyResponseOutput) NumRetries() pulumi.IntOutput { return o.ApplyT(func(v GrpcRouteRetryPolicyResponse) int { return v.NumRetries }).(pulumi.IntOutput) @@ -2243,6 +2622,12 @@ func (i GrpcRouteRouteActionArgs) ToGrpcRouteRouteActionOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRouteActionOutput) } +func (i GrpcRouteRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteAction] { + return pulumix.Output[GrpcRouteRouteAction]{ + OutputState: i.ToGrpcRouteRouteActionOutputWithContext(ctx).OutputState, + } +} + // Specifies how to route matched traffic. type GrpcRouteRouteActionOutput struct{ *pulumi.OutputState } @@ -2258,6 +2643,12 @@ func (o GrpcRouteRouteActionOutput) ToGrpcRouteRouteActionOutputWithContext(ctx return o } +func (o GrpcRouteRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteAction] { + return pulumix.Output[GrpcRouteRouteAction]{ + OutputState: o.OutputState, + } +} + // Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations. func (o GrpcRouteRouteActionOutput) Destinations() GrpcRouteDestinationArrayOutput { return o.ApplyT(func(v GrpcRouteRouteAction) []GrpcRouteDestination { return v.Destinations }).(GrpcRouteDestinationArrayOutput) @@ -2305,6 +2696,12 @@ func (o GrpcRouteRouteActionResponseOutput) ToGrpcRouteRouteActionResponseOutput return o } +func (o GrpcRouteRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteActionResponse] { + return pulumix.Output[GrpcRouteRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations. func (o GrpcRouteRouteActionResponseOutput) Destinations() GrpcRouteDestinationResponseArrayOutput { return o.ApplyT(func(v GrpcRouteRouteActionResponse) []GrpcRouteDestinationResponse { return v.Destinations }).(GrpcRouteDestinationResponseArrayOutput) @@ -2366,6 +2763,12 @@ func (i GrpcRouteRouteMatchArgs) ToGrpcRouteRouteMatchOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRouteMatchOutput) } +func (i GrpcRouteRouteMatchArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteMatch] { + return pulumix.Output[GrpcRouteRouteMatch]{ + OutputState: i.ToGrpcRouteRouteMatchOutputWithContext(ctx).OutputState, + } +} + // GrpcRouteRouteMatchArrayInput is an input type that accepts GrpcRouteRouteMatchArray and GrpcRouteRouteMatchArrayOutput values. // You can construct a concrete instance of `GrpcRouteRouteMatchArrayInput` via: // @@ -2391,6 +2794,12 @@ func (i GrpcRouteRouteMatchArray) ToGrpcRouteRouteMatchArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRouteMatchArrayOutput) } +func (i GrpcRouteRouteMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteMatch] { + return pulumix.Output[[]GrpcRouteRouteMatch]{ + OutputState: i.ToGrpcRouteRouteMatchArrayOutputWithContext(ctx).OutputState, + } +} + // Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match. type GrpcRouteRouteMatchOutput struct{ *pulumi.OutputState } @@ -2406,6 +2815,12 @@ func (o GrpcRouteRouteMatchOutput) ToGrpcRouteRouteMatchOutputWithContext(ctx co return o } +func (o GrpcRouteRouteMatchOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteMatch] { + return pulumix.Output[GrpcRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies a collection of headers to match. func (o GrpcRouteRouteMatchOutput) Headers() GrpcRouteHeaderMatchArrayOutput { return o.ApplyT(func(v GrpcRouteRouteMatch) []GrpcRouteHeaderMatch { return v.Headers }).(GrpcRouteHeaderMatchArrayOutput) @@ -2430,6 +2845,12 @@ func (o GrpcRouteRouteMatchArrayOutput) ToGrpcRouteRouteMatchArrayOutputWithCont return o } +func (o GrpcRouteRouteMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteMatch] { + return pulumix.Output[[]GrpcRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteRouteMatchArrayOutput) Index(i pulumi.IntInput) GrpcRouteRouteMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteRouteMatch { return vs[0].([]GrpcRouteRouteMatch)[vs[1].(int)] @@ -2459,6 +2880,12 @@ func (o GrpcRouteRouteMatchResponseOutput) ToGrpcRouteRouteMatchResponseOutputWi return o } +func (o GrpcRouteRouteMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteMatchResponse] { + return pulumix.Output[GrpcRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies a collection of headers to match. func (o GrpcRouteRouteMatchResponseOutput) Headers() GrpcRouteHeaderMatchResponseArrayOutput { return o.ApplyT(func(v GrpcRouteRouteMatchResponse) []GrpcRouteHeaderMatchResponse { return v.Headers }).(GrpcRouteHeaderMatchResponseArrayOutput) @@ -2483,6 +2910,12 @@ func (o GrpcRouteRouteMatchResponseArrayOutput) ToGrpcRouteRouteMatchResponseArr return o } +func (o GrpcRouteRouteMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteMatchResponse] { + return pulumix.Output[[]GrpcRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteRouteMatchResponseArrayOutput) Index(i pulumi.IntInput) GrpcRouteRouteMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteRouteMatchResponse { return vs[0].([]GrpcRouteRouteMatchResponse)[vs[1].(int)] @@ -2528,6 +2961,12 @@ func (i GrpcRouteRouteRuleArgs) ToGrpcRouteRouteRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRouteRuleOutput) } +func (i GrpcRouteRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteRule] { + return pulumix.Output[GrpcRouteRouteRule]{ + OutputState: i.ToGrpcRouteRouteRuleOutputWithContext(ctx).OutputState, + } +} + // GrpcRouteRouteRuleArrayInput is an input type that accepts GrpcRouteRouteRuleArray and GrpcRouteRouteRuleArrayOutput values. // You can construct a concrete instance of `GrpcRouteRouteRuleArrayInput` via: // @@ -2553,6 +2992,12 @@ func (i GrpcRouteRouteRuleArray) ToGrpcRouteRouteRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GrpcRouteRouteRuleArrayOutput) } +func (i GrpcRouteRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteRule] { + return pulumix.Output[[]GrpcRouteRouteRule]{ + OutputState: i.ToGrpcRouteRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Describes how to route traffic. type GrpcRouteRouteRuleOutput struct{ *pulumi.OutputState } @@ -2568,6 +3013,12 @@ func (o GrpcRouteRouteRuleOutput) ToGrpcRouteRouteRuleOutputWithContext(ctx cont return o } +func (o GrpcRouteRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteRule] { + return pulumix.Output[GrpcRouteRouteRule]{ + OutputState: o.OutputState, + } +} + // A detailed rule defining how to route traffic. This field is required. func (o GrpcRouteRouteRuleOutput) Action() GrpcRouteRouteActionOutput { return o.ApplyT(func(v GrpcRouteRouteRule) GrpcRouteRouteAction { return v.Action }).(GrpcRouteRouteActionOutput) @@ -2592,6 +3043,12 @@ func (o GrpcRouteRouteRuleArrayOutput) ToGrpcRouteRouteRuleArrayOutputWithContex return o } +func (o GrpcRouteRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteRule] { + return pulumix.Output[[]GrpcRouteRouteRule]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteRouteRuleArrayOutput) Index(i pulumi.IntInput) GrpcRouteRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteRouteRule { return vs[0].([]GrpcRouteRouteRule)[vs[1].(int)] @@ -2621,6 +3078,12 @@ func (o GrpcRouteRouteRuleResponseOutput) ToGrpcRouteRouteRuleResponseOutputWith return o } +func (o GrpcRouteRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GrpcRouteRouteRuleResponse] { + return pulumix.Output[GrpcRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // A detailed rule defining how to route traffic. This field is required. func (o GrpcRouteRouteRuleResponseOutput) Action() GrpcRouteRouteActionResponseOutput { return o.ApplyT(func(v GrpcRouteRouteRuleResponse) GrpcRouteRouteActionResponse { return v.Action }).(GrpcRouteRouteActionResponseOutput) @@ -2645,6 +3108,12 @@ func (o GrpcRouteRouteRuleResponseArrayOutput) ToGrpcRouteRouteRuleResponseArray return o } +func (o GrpcRouteRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GrpcRouteRouteRuleResponse] { + return pulumix.Output[[]GrpcRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GrpcRouteRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) GrpcRouteRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GrpcRouteRouteRuleResponse { return vs[0].([]GrpcRouteRouteRuleResponse)[vs[1].(int)] @@ -2714,6 +3183,12 @@ func (i HttpRouteCorsPolicyArgs) ToHttpRouteCorsPolicyOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpRouteCorsPolicyOutput) } +func (i HttpRouteCorsPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteCorsPolicy] { + return pulumix.Output[HttpRouteCorsPolicy]{ + OutputState: i.ToHttpRouteCorsPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteCorsPolicyArgs) ToHttpRouteCorsPolicyPtrOutput() HttpRouteCorsPolicyPtrOutput { return i.ToHttpRouteCorsPolicyPtrOutputWithContext(context.Background()) } @@ -2755,6 +3230,12 @@ func (i *httpRouteCorsPolicyPtrType) ToHttpRouteCorsPolicyPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(HttpRouteCorsPolicyPtrOutput) } +func (i *httpRouteCorsPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteCorsPolicy] { + return pulumix.Output[*HttpRouteCorsPolicy]{ + OutputState: i.ToHttpRouteCorsPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The Specification for allowing client side cross-origin requests. type HttpRouteCorsPolicyOutput struct{ *pulumi.OutputState } @@ -2780,6 +3261,12 @@ func (o HttpRouteCorsPolicyOutput) ToHttpRouteCorsPolicyPtrOutputWithContext(ctx }).(HttpRouteCorsPolicyPtrOutput) } +func (o HttpRouteCorsPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteCorsPolicy] { + return pulumix.Output[HttpRouteCorsPolicy]{ + OutputState: o.OutputState, + } +} + // In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false. func (o HttpRouteCorsPolicyOutput) AllowCredentials() pulumi.BoolPtrOutput { return o.ApplyT(func(v HttpRouteCorsPolicy) *bool { return v.AllowCredentials }).(pulumi.BoolPtrOutput) @@ -2834,6 +3321,12 @@ func (o HttpRouteCorsPolicyPtrOutput) ToHttpRouteCorsPolicyPtrOutputWithContext( return o } +func (o HttpRouteCorsPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteCorsPolicy] { + return pulumix.Output[*HttpRouteCorsPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteCorsPolicyPtrOutput) Elem() HttpRouteCorsPolicyOutput { return o.ApplyT(func(v *HttpRouteCorsPolicy) HttpRouteCorsPolicy { if v != nil { @@ -2959,6 +3452,12 @@ func (o HttpRouteCorsPolicyResponseOutput) ToHttpRouteCorsPolicyResponseOutputWi return o } +func (o HttpRouteCorsPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteCorsPolicyResponse] { + return pulumix.Output[HttpRouteCorsPolicyResponse]{ + OutputState: o.OutputState, + } +} + // In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header. Default value is false. func (o HttpRouteCorsPolicyResponseOutput) AllowCredentials() pulumi.BoolOutput { return o.ApplyT(func(v HttpRouteCorsPolicyResponse) bool { return v.AllowCredentials }).(pulumi.BoolOutput) @@ -3038,6 +3537,12 @@ func (i HttpRouteDestinationArgs) ToHttpRouteDestinationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteDestinationOutput) } +func (i HttpRouteDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteDestination] { + return pulumix.Output[HttpRouteDestination]{ + OutputState: i.ToHttpRouteDestinationOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteDestinationArgs) ToHttpRouteDestinationPtrOutput() HttpRouteDestinationPtrOutput { return i.ToHttpRouteDestinationPtrOutputWithContext(context.Background()) } @@ -3079,6 +3584,12 @@ func (i *httpRouteDestinationPtrType) ToHttpRouteDestinationPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HttpRouteDestinationPtrOutput) } +func (i *httpRouteDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteDestination] { + return pulumix.Output[*HttpRouteDestination]{ + OutputState: i.ToHttpRouteDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // HttpRouteDestinationArrayInput is an input type that accepts HttpRouteDestinationArray and HttpRouteDestinationArrayOutput values. // You can construct a concrete instance of `HttpRouteDestinationArrayInput` via: // @@ -3104,6 +3615,12 @@ func (i HttpRouteDestinationArray) ToHttpRouteDestinationArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(HttpRouteDestinationArrayOutput) } +func (i HttpRouteDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteDestination] { + return pulumix.Output[[]HttpRouteDestination]{ + OutputState: i.ToHttpRouteDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Specifications of a destination to which the request should be routed to. type HttpRouteDestinationOutput struct{ *pulumi.OutputState } @@ -3129,6 +3646,12 @@ func (o HttpRouteDestinationOutput) ToHttpRouteDestinationPtrOutputWithContext(c }).(HttpRouteDestinationPtrOutput) } +func (o HttpRouteDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteDestination] { + return pulumix.Output[HttpRouteDestination]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o HttpRouteDestinationOutput) ServiceName() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteDestination) *string { return v.ServiceName }).(pulumi.StringPtrOutput) @@ -3153,6 +3676,12 @@ func (o HttpRouteDestinationPtrOutput) ToHttpRouteDestinationPtrOutputWithContex return o } +func (o HttpRouteDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteDestination] { + return pulumix.Output[*HttpRouteDestination]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteDestinationPtrOutput) Elem() HttpRouteDestinationOutput { return o.ApplyT(func(v *HttpRouteDestination) HttpRouteDestination { if v != nil { @@ -3197,6 +3726,12 @@ func (o HttpRouteDestinationArrayOutput) ToHttpRouteDestinationArrayOutputWithCo return o } +func (o HttpRouteDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteDestination] { + return pulumix.Output[[]HttpRouteDestination]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteDestinationArrayOutput) Index(i pulumi.IntInput) HttpRouteDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteDestination { return vs[0].([]HttpRouteDestination)[vs[1].(int)] @@ -3226,6 +3761,12 @@ func (o HttpRouteDestinationResponseOutput) ToHttpRouteDestinationResponseOutput return o } +func (o HttpRouteDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteDestinationResponse] { + return pulumix.Output[HttpRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o HttpRouteDestinationResponseOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteDestinationResponse) string { return v.ServiceName }).(pulumi.StringOutput) @@ -3250,6 +3791,12 @@ func (o HttpRouteDestinationResponseArrayOutput) ToHttpRouteDestinationResponseA return o } +func (o HttpRouteDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteDestinationResponse] { + return pulumix.Output[[]HttpRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteDestinationResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteDestinationResponse { return vs[0].([]HttpRouteDestinationResponse)[vs[1].(int)] @@ -3295,6 +3842,12 @@ func (i HttpRouteFaultInjectionPolicyArgs) ToHttpRouteFaultInjectionPolicyOutput return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyOutput) } +func (i HttpRouteFaultInjectionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicy] { + return pulumix.Output[HttpRouteFaultInjectionPolicy]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteFaultInjectionPolicyArgs) ToHttpRouteFaultInjectionPolicyPtrOutput() HttpRouteFaultInjectionPolicyPtrOutput { return i.ToHttpRouteFaultInjectionPolicyPtrOutputWithContext(context.Background()) } @@ -3336,6 +3889,12 @@ func (i *httpRouteFaultInjectionPolicyPtrType) ToHttpRouteFaultInjectionPolicyPt return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyPtrOutput) } +func (i *httpRouteFaultInjectionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicy] { + return pulumix.Output[*HttpRouteFaultInjectionPolicy]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced by client proxy on a percentage of requests before sending those requests to the destination service. Similarly requests can be aborted by client proxy for a percentage of requests. type HttpRouteFaultInjectionPolicyOutput struct{ *pulumi.OutputState } @@ -3361,6 +3920,12 @@ func (o HttpRouteFaultInjectionPolicyOutput) ToHttpRouteFaultInjectionPolicyPtrO }).(HttpRouteFaultInjectionPolicyPtrOutput) } +func (o HttpRouteFaultInjectionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicy] { + return pulumix.Output[HttpRouteFaultInjectionPolicy]{ + OutputState: o.OutputState, + } +} + // The specification for aborting to client requests. func (o HttpRouteFaultInjectionPolicyOutput) Abort() HttpRouteFaultInjectionPolicyAbortPtrOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicy) *HttpRouteFaultInjectionPolicyAbort { return v.Abort }).(HttpRouteFaultInjectionPolicyAbortPtrOutput) @@ -3385,6 +3950,12 @@ func (o HttpRouteFaultInjectionPolicyPtrOutput) ToHttpRouteFaultInjectionPolicyP return o } +func (o HttpRouteFaultInjectionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicy] { + return pulumix.Output[*HttpRouteFaultInjectionPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteFaultInjectionPolicyPtrOutput) Elem() HttpRouteFaultInjectionPolicyOutput { return o.ApplyT(func(v *HttpRouteFaultInjectionPolicy) HttpRouteFaultInjectionPolicy { if v != nil { @@ -3454,6 +4025,12 @@ func (i HttpRouteFaultInjectionPolicyAbortArgs) ToHttpRouteFaultInjectionPolicyA return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyAbortOutput) } +func (i HttpRouteFaultInjectionPolicyAbortArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyAbort] { + return pulumix.Output[HttpRouteFaultInjectionPolicyAbort]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyAbortOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteFaultInjectionPolicyAbortArgs) ToHttpRouteFaultInjectionPolicyAbortPtrOutput() HttpRouteFaultInjectionPolicyAbortPtrOutput { return i.ToHttpRouteFaultInjectionPolicyAbortPtrOutputWithContext(context.Background()) } @@ -3495,6 +4072,12 @@ func (i *httpRouteFaultInjectionPolicyAbortPtrType) ToHttpRouteFaultInjectionPol return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyAbortPtrOutput) } +func (i *httpRouteFaultInjectionPolicyAbortPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicyAbort] { + return pulumix.Output[*HttpRouteFaultInjectionPolicyAbort]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyAbortPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of how client requests are aborted as part of fault injection before being sent to a destination. type HttpRouteFaultInjectionPolicyAbortOutput struct{ *pulumi.OutputState } @@ -3520,6 +4103,12 @@ func (o HttpRouteFaultInjectionPolicyAbortOutput) ToHttpRouteFaultInjectionPolic }).(HttpRouteFaultInjectionPolicyAbortPtrOutput) } +func (o HttpRouteFaultInjectionPolicyAbortOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyAbort] { + return pulumix.Output[HttpRouteFaultInjectionPolicyAbort]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. func (o HttpRouteFaultInjectionPolicyAbortOutput) HttpStatus() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicyAbort) *int { return v.HttpStatus }).(pulumi.IntPtrOutput) @@ -3544,6 +4133,12 @@ func (o HttpRouteFaultInjectionPolicyAbortPtrOutput) ToHttpRouteFaultInjectionPo return o } +func (o HttpRouteFaultInjectionPolicyAbortPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicyAbort] { + return pulumix.Output[*HttpRouteFaultInjectionPolicyAbort]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteFaultInjectionPolicyAbortPtrOutput) Elem() HttpRouteFaultInjectionPolicyAbortOutput { return o.ApplyT(func(v *HttpRouteFaultInjectionPolicyAbort) HttpRouteFaultInjectionPolicyAbort { if v != nil { @@ -3597,6 +4192,12 @@ func (o HttpRouteFaultInjectionPolicyAbortResponseOutput) ToHttpRouteFaultInject return o } +func (o HttpRouteFaultInjectionPolicyAbortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyAbortResponse] { + return pulumix.Output[HttpRouteFaultInjectionPolicyAbortResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. func (o HttpRouteFaultInjectionPolicyAbortResponseOutput) HttpStatus() pulumi.IntOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicyAbortResponse) int { return v.HttpStatus }).(pulumi.IntOutput) @@ -3646,6 +4247,12 @@ func (i HttpRouteFaultInjectionPolicyDelayArgs) ToHttpRouteFaultInjectionPolicyD return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyDelayOutput) } +func (i HttpRouteFaultInjectionPolicyDelayArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyDelay] { + return pulumix.Output[HttpRouteFaultInjectionPolicyDelay]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyDelayOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteFaultInjectionPolicyDelayArgs) ToHttpRouteFaultInjectionPolicyDelayPtrOutput() HttpRouteFaultInjectionPolicyDelayPtrOutput { return i.ToHttpRouteFaultInjectionPolicyDelayPtrOutputWithContext(context.Background()) } @@ -3687,6 +4294,12 @@ func (i *httpRouteFaultInjectionPolicyDelayPtrType) ToHttpRouteFaultInjectionPol return pulumi.ToOutputWithContext(ctx, i).(HttpRouteFaultInjectionPolicyDelayPtrOutput) } +func (i *httpRouteFaultInjectionPolicyDelayPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicyDelay] { + return pulumix.Output[*HttpRouteFaultInjectionPolicyDelay]{ + OutputState: i.ToHttpRouteFaultInjectionPolicyDelayPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of how client requests are delayed as part of fault injection before being sent to a destination. type HttpRouteFaultInjectionPolicyDelayOutput struct{ *pulumi.OutputState } @@ -3712,6 +4325,12 @@ func (o HttpRouteFaultInjectionPolicyDelayOutput) ToHttpRouteFaultInjectionPolic }).(HttpRouteFaultInjectionPolicyDelayPtrOutput) } +func (o HttpRouteFaultInjectionPolicyDelayOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyDelay] { + return pulumix.Output[HttpRouteFaultInjectionPolicyDelay]{ + OutputState: o.OutputState, + } +} + // Specify a fixed delay before forwarding the request. func (o HttpRouteFaultInjectionPolicyDelayOutput) FixedDelay() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicyDelay) *string { return v.FixedDelay }).(pulumi.StringPtrOutput) @@ -3736,6 +4355,12 @@ func (o HttpRouteFaultInjectionPolicyDelayPtrOutput) ToHttpRouteFaultInjectionPo return o } +func (o HttpRouteFaultInjectionPolicyDelayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteFaultInjectionPolicyDelay] { + return pulumix.Output[*HttpRouteFaultInjectionPolicyDelay]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteFaultInjectionPolicyDelayPtrOutput) Elem() HttpRouteFaultInjectionPolicyDelayOutput { return o.ApplyT(func(v *HttpRouteFaultInjectionPolicyDelay) HttpRouteFaultInjectionPolicyDelay { if v != nil { @@ -3789,6 +4414,12 @@ func (o HttpRouteFaultInjectionPolicyDelayResponseOutput) ToHttpRouteFaultInject return o } +func (o HttpRouteFaultInjectionPolicyDelayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyDelayResponse] { + return pulumix.Output[HttpRouteFaultInjectionPolicyDelayResponse]{ + OutputState: o.OutputState, + } +} + // Specify a fixed delay before forwarding the request. func (o HttpRouteFaultInjectionPolicyDelayResponseOutput) FixedDelay() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicyDelayResponse) string { return v.FixedDelay }).(pulumi.StringOutput) @@ -3822,6 +4453,12 @@ func (o HttpRouteFaultInjectionPolicyResponseOutput) ToHttpRouteFaultInjectionPo return o } +func (o HttpRouteFaultInjectionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteFaultInjectionPolicyResponse] { + return pulumix.Output[HttpRouteFaultInjectionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The specification for aborting to client requests. func (o HttpRouteFaultInjectionPolicyResponseOutput) Abort() HttpRouteFaultInjectionPolicyAbortResponseOutput { return o.ApplyT(func(v HttpRouteFaultInjectionPolicyResponse) HttpRouteFaultInjectionPolicyAbortResponse { @@ -3899,6 +4536,12 @@ func (i HttpRouteHeaderMatchArgs) ToHttpRouteHeaderMatchOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderMatchOutput) } +func (i HttpRouteHeaderMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatch] { + return pulumix.Output[HttpRouteHeaderMatch]{ + OutputState: i.ToHttpRouteHeaderMatchOutputWithContext(ctx).OutputState, + } +} + // HttpRouteHeaderMatchArrayInput is an input type that accepts HttpRouteHeaderMatchArray and HttpRouteHeaderMatchArrayOutput values. // You can construct a concrete instance of `HttpRouteHeaderMatchArrayInput` via: // @@ -3924,6 +4567,12 @@ func (i HttpRouteHeaderMatchArray) ToHttpRouteHeaderMatchArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderMatchArrayOutput) } +func (i HttpRouteHeaderMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteHeaderMatch] { + return pulumix.Output[[]HttpRouteHeaderMatch]{ + OutputState: i.ToHttpRouteHeaderMatchArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies how to select a route rule based on HTTP request headers. type HttpRouteHeaderMatchOutput struct{ *pulumi.OutputState } @@ -3939,6 +4588,12 @@ func (o HttpRouteHeaderMatchOutput) ToHttpRouteHeaderMatchOutputWithContext(ctx return o } +func (o HttpRouteHeaderMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatch] { + return pulumix.Output[HttpRouteHeaderMatch]{ + OutputState: o.OutputState, + } +} + // The value of the header should match exactly the content of exact_match. func (o HttpRouteHeaderMatchOutput) ExactMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteHeaderMatch) *string { return v.ExactMatch }).(pulumi.StringPtrOutput) @@ -3993,6 +4648,12 @@ func (o HttpRouteHeaderMatchArrayOutput) ToHttpRouteHeaderMatchArrayOutputWithCo return o } +func (o HttpRouteHeaderMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteHeaderMatch] { + return pulumix.Output[[]HttpRouteHeaderMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteHeaderMatchArrayOutput) Index(i pulumi.IntInput) HttpRouteHeaderMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteHeaderMatch { return vs[0].([]HttpRouteHeaderMatch)[vs[1].(int)] @@ -4038,6 +4699,12 @@ func (i HttpRouteHeaderMatchIntegerRangeArgs) ToHttpRouteHeaderMatchIntegerRange return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderMatchIntegerRangeOutput) } +func (i HttpRouteHeaderMatchIntegerRangeArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatchIntegerRange] { + return pulumix.Output[HttpRouteHeaderMatchIntegerRange]{ + OutputState: i.ToHttpRouteHeaderMatchIntegerRangeOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteHeaderMatchIntegerRangeArgs) ToHttpRouteHeaderMatchIntegerRangePtrOutput() HttpRouteHeaderMatchIntegerRangePtrOutput { return i.ToHttpRouteHeaderMatchIntegerRangePtrOutputWithContext(context.Background()) } @@ -4079,6 +4746,12 @@ func (i *httpRouteHeaderMatchIntegerRangePtrType) ToHttpRouteHeaderMatchIntegerR return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderMatchIntegerRangePtrOutput) } +func (i *httpRouteHeaderMatchIntegerRangePtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteHeaderMatchIntegerRange] { + return pulumix.Output[*HttpRouteHeaderMatchIntegerRange]{ + OutputState: i.ToHttpRouteHeaderMatchIntegerRangePtrOutputWithContext(ctx).OutputState, + } +} + // Represents an integer value range. type HttpRouteHeaderMatchIntegerRangeOutput struct{ *pulumi.OutputState } @@ -4104,6 +4777,12 @@ func (o HttpRouteHeaderMatchIntegerRangeOutput) ToHttpRouteHeaderMatchIntegerRan }).(HttpRouteHeaderMatchIntegerRangePtrOutput) } +func (o HttpRouteHeaderMatchIntegerRangeOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatchIntegerRange] { + return pulumix.Output[HttpRouteHeaderMatchIntegerRange]{ + OutputState: o.OutputState, + } +} + // End of the range (exclusive) func (o HttpRouteHeaderMatchIntegerRangeOutput) End() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpRouteHeaderMatchIntegerRange) *int { return v.End }).(pulumi.IntPtrOutput) @@ -4128,6 +4807,12 @@ func (o HttpRouteHeaderMatchIntegerRangePtrOutput) ToHttpRouteHeaderMatchInteger return o } +func (o HttpRouteHeaderMatchIntegerRangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteHeaderMatchIntegerRange] { + return pulumix.Output[*HttpRouteHeaderMatchIntegerRange]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteHeaderMatchIntegerRangePtrOutput) Elem() HttpRouteHeaderMatchIntegerRangeOutput { return o.ApplyT(func(v *HttpRouteHeaderMatchIntegerRange) HttpRouteHeaderMatchIntegerRange { if v != nil { @@ -4181,6 +4866,12 @@ func (o HttpRouteHeaderMatchIntegerRangeResponseOutput) ToHttpRouteHeaderMatchIn return o } +func (o HttpRouteHeaderMatchIntegerRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatchIntegerRangeResponse] { + return pulumix.Output[HttpRouteHeaderMatchIntegerRangeResponse]{ + OutputState: o.OutputState, + } +} + // End of the range (exclusive) func (o HttpRouteHeaderMatchIntegerRangeResponseOutput) End() pulumi.IntOutput { return o.ApplyT(func(v HttpRouteHeaderMatchIntegerRangeResponse) int { return v.End }).(pulumi.IntOutput) @@ -4226,6 +4917,12 @@ func (o HttpRouteHeaderMatchResponseOutput) ToHttpRouteHeaderMatchResponseOutput return o } +func (o HttpRouteHeaderMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderMatchResponse] { + return pulumix.Output[HttpRouteHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + // The value of the header should match exactly the content of exact_match. func (o HttpRouteHeaderMatchResponseOutput) ExactMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteHeaderMatchResponse) string { return v.ExactMatch }).(pulumi.StringOutput) @@ -4280,6 +4977,12 @@ func (o HttpRouteHeaderMatchResponseArrayOutput) ToHttpRouteHeaderMatchResponseA return o } +func (o HttpRouteHeaderMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteHeaderMatchResponse] { + return pulumix.Output[[]HttpRouteHeaderMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteHeaderMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteHeaderMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteHeaderMatchResponse { return vs[0].([]HttpRouteHeaderMatchResponse)[vs[1].(int)] @@ -4329,6 +5032,12 @@ func (i HttpRouteHeaderModifierArgs) ToHttpRouteHeaderModifierOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderModifierOutput) } +func (i HttpRouteHeaderModifierArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderModifier] { + return pulumix.Output[HttpRouteHeaderModifier]{ + OutputState: i.ToHttpRouteHeaderModifierOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteHeaderModifierArgs) ToHttpRouteHeaderModifierPtrOutput() HttpRouteHeaderModifierPtrOutput { return i.ToHttpRouteHeaderModifierPtrOutputWithContext(context.Background()) } @@ -4370,6 +5079,12 @@ func (i *httpRouteHeaderModifierPtrType) ToHttpRouteHeaderModifierPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(HttpRouteHeaderModifierPtrOutput) } +func (i *httpRouteHeaderModifierPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteHeaderModifier] { + return pulumix.Output[*HttpRouteHeaderModifier]{ + OutputState: i.ToHttpRouteHeaderModifierPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for modifying HTTP header in HTTP request and HTTP response. type HttpRouteHeaderModifierOutput struct{ *pulumi.OutputState } @@ -4395,6 +5110,12 @@ func (o HttpRouteHeaderModifierOutput) ToHttpRouteHeaderModifierPtrOutputWithCon }).(HttpRouteHeaderModifierPtrOutput) } +func (o HttpRouteHeaderModifierOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderModifier] { + return pulumix.Output[HttpRouteHeaderModifier]{ + OutputState: o.OutputState, + } +} + // Add the headers with given map where key is the name of the header, value is the value of the header. func (o HttpRouteHeaderModifierOutput) Add() pulumi.StringMapOutput { return o.ApplyT(func(v HttpRouteHeaderModifier) map[string]string { return v.Add }).(pulumi.StringMapOutput) @@ -4424,6 +5145,12 @@ func (o HttpRouteHeaderModifierPtrOutput) ToHttpRouteHeaderModifierPtrOutputWith return o } +func (o HttpRouteHeaderModifierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteHeaderModifier] { + return pulumix.Output[*HttpRouteHeaderModifier]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteHeaderModifierPtrOutput) Elem() HttpRouteHeaderModifierOutput { return o.ApplyT(func(v *HttpRouteHeaderModifier) HttpRouteHeaderModifier { if v != nil { @@ -4489,6 +5216,12 @@ func (o HttpRouteHeaderModifierResponseOutput) ToHttpRouteHeaderModifierResponse return o } +func (o HttpRouteHeaderModifierResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteHeaderModifierResponse] { + return pulumix.Output[HttpRouteHeaderModifierResponse]{ + OutputState: o.OutputState, + } +} + // Add the headers with given map where key is the name of the header, value is the value of the header. func (o HttpRouteHeaderModifierResponseOutput) Add() pulumi.StringMapOutput { return o.ApplyT(func(v HttpRouteHeaderModifierResponse) map[string]string { return v.Add }).(pulumi.StringMapOutput) @@ -4551,6 +5284,12 @@ func (i HttpRouteQueryParameterMatchArgs) ToHttpRouteQueryParameterMatchOutputWi return pulumi.ToOutputWithContext(ctx, i).(HttpRouteQueryParameterMatchOutput) } +func (i HttpRouteQueryParameterMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteQueryParameterMatch] { + return pulumix.Output[HttpRouteQueryParameterMatch]{ + OutputState: i.ToHttpRouteQueryParameterMatchOutputWithContext(ctx).OutputState, + } +} + // HttpRouteQueryParameterMatchArrayInput is an input type that accepts HttpRouteQueryParameterMatchArray and HttpRouteQueryParameterMatchArrayOutput values. // You can construct a concrete instance of `HttpRouteQueryParameterMatchArrayInput` via: // @@ -4576,6 +5315,12 @@ func (i HttpRouteQueryParameterMatchArray) ToHttpRouteQueryParameterMatchArrayOu return pulumi.ToOutputWithContext(ctx, i).(HttpRouteQueryParameterMatchArrayOutput) } +func (i HttpRouteQueryParameterMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteQueryParameterMatch] { + return pulumix.Output[[]HttpRouteQueryParameterMatch]{ + OutputState: i.ToHttpRouteQueryParameterMatchArrayOutputWithContext(ctx).OutputState, + } +} + // Specifications to match a query parameter in the request. type HttpRouteQueryParameterMatchOutput struct{ *pulumi.OutputState } @@ -4591,6 +5336,12 @@ func (o HttpRouteQueryParameterMatchOutput) ToHttpRouteQueryParameterMatchOutput return o } +func (o HttpRouteQueryParameterMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteQueryParameterMatch] { + return pulumix.Output[HttpRouteQueryParameterMatch]{ + OutputState: o.OutputState, + } +} + // The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set. func (o HttpRouteQueryParameterMatchOutput) ExactMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteQueryParameterMatch) *string { return v.ExactMatch }).(pulumi.StringPtrOutput) @@ -4625,6 +5376,12 @@ func (o HttpRouteQueryParameterMatchArrayOutput) ToHttpRouteQueryParameterMatchA return o } +func (o HttpRouteQueryParameterMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteQueryParameterMatch] { + return pulumix.Output[[]HttpRouteQueryParameterMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteQueryParameterMatchArrayOutput) Index(i pulumi.IntInput) HttpRouteQueryParameterMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteQueryParameterMatch { return vs[0].([]HttpRouteQueryParameterMatch)[vs[1].(int)] @@ -4658,6 +5415,12 @@ func (o HttpRouteQueryParameterMatchResponseOutput) ToHttpRouteQueryParameterMat return o } +func (o HttpRouteQueryParameterMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteQueryParameterMatchResponse] { + return pulumix.Output[HttpRouteQueryParameterMatchResponse]{ + OutputState: o.OutputState, + } +} + // The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set. func (o HttpRouteQueryParameterMatchResponseOutput) ExactMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteQueryParameterMatchResponse) string { return v.ExactMatch }).(pulumi.StringOutput) @@ -4692,6 +5455,12 @@ func (o HttpRouteQueryParameterMatchResponseArrayOutput) ToHttpRouteQueryParamet return o } +func (o HttpRouteQueryParameterMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteQueryParameterMatchResponse] { + return pulumix.Output[[]HttpRouteQueryParameterMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteQueryParameterMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteQueryParameterMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteQueryParameterMatchResponse { return vs[0].([]HttpRouteQueryParameterMatchResponse)[vs[1].(int)] @@ -4757,6 +5526,12 @@ func (i HttpRouteRedirectArgs) ToHttpRouteRedirectOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRedirectOutput) } +func (i HttpRouteRedirectArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRedirect] { + return pulumix.Output[HttpRouteRedirect]{ + OutputState: i.ToHttpRouteRedirectOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteRedirectArgs) ToHttpRouteRedirectPtrOutput() HttpRouteRedirectPtrOutput { return i.ToHttpRouteRedirectPtrOutputWithContext(context.Background()) } @@ -4798,6 +5573,12 @@ func (i *httpRouteRedirectPtrType) ToHttpRouteRedirectPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRedirectPtrOutput) } +func (i *httpRouteRedirectPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRedirect] { + return pulumix.Output[*HttpRouteRedirect]{ + OutputState: i.ToHttpRouteRedirectPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for redirecting traffic. type HttpRouteRedirectOutput struct{ *pulumi.OutputState } @@ -4823,6 +5604,12 @@ func (o HttpRouteRedirectOutput) ToHttpRouteRedirectPtrOutputWithContext(ctx con }).(HttpRouteRedirectPtrOutput) } +func (o HttpRouteRedirectOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRedirect] { + return pulumix.Output[HttpRouteRedirect]{ + OutputState: o.OutputState, + } +} + // The host that will be used in the redirect response instead of the one that was supplied in the request. func (o HttpRouteRedirectOutput) HostRedirect() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteRedirect) *string { return v.HostRedirect }).(pulumi.StringPtrOutput) @@ -4872,6 +5659,12 @@ func (o HttpRouteRedirectPtrOutput) ToHttpRouteRedirectPtrOutputWithContext(ctx return o } +func (o HttpRouteRedirectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRedirect] { + return pulumix.Output[*HttpRouteRedirect]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRedirectPtrOutput) Elem() HttpRouteRedirectOutput { return o.ApplyT(func(v *HttpRouteRedirect) HttpRouteRedirect { if v != nil { @@ -4985,6 +5778,12 @@ func (o HttpRouteRedirectResponseOutput) ToHttpRouteRedirectResponseOutputWithCo return o } +func (o HttpRouteRedirectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRedirectResponse] { + return pulumix.Output[HttpRouteRedirectResponse]{ + OutputState: o.OutputState, + } +} + // The host that will be used in the redirect response instead of the one that was supplied in the request. func (o HttpRouteRedirectResponseOutput) HostRedirect() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteRedirectResponse) string { return v.HostRedirect }).(pulumi.StringOutput) @@ -5055,6 +5854,12 @@ func (i HttpRouteRequestMirrorPolicyArgs) ToHttpRouteRequestMirrorPolicyOutputWi return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRequestMirrorPolicyOutput) } +func (i HttpRouteRequestMirrorPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRequestMirrorPolicy] { + return pulumix.Output[HttpRouteRequestMirrorPolicy]{ + OutputState: i.ToHttpRouteRequestMirrorPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteRequestMirrorPolicyArgs) ToHttpRouteRequestMirrorPolicyPtrOutput() HttpRouteRequestMirrorPolicyPtrOutput { return i.ToHttpRouteRequestMirrorPolicyPtrOutputWithContext(context.Background()) } @@ -5096,6 +5901,12 @@ func (i *httpRouteRequestMirrorPolicyPtrType) ToHttpRouteRequestMirrorPolicyPtrO return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRequestMirrorPolicyPtrOutput) } +func (i *httpRouteRequestMirrorPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRequestMirrorPolicy] { + return pulumix.Output[*HttpRouteRequestMirrorPolicy]{ + OutputState: i.ToHttpRouteRequestMirrorPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow. type HttpRouteRequestMirrorPolicyOutput struct{ *pulumi.OutputState } @@ -5121,6 +5932,12 @@ func (o HttpRouteRequestMirrorPolicyOutput) ToHttpRouteRequestMirrorPolicyPtrOut }).(HttpRouteRequestMirrorPolicyPtrOutput) } +func (o HttpRouteRequestMirrorPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRequestMirrorPolicy] { + return pulumix.Output[HttpRouteRequestMirrorPolicy]{ + OutputState: o.OutputState, + } +} + // The destination the requests will be mirrored to. The weight of the destination will be ignored. func (o HttpRouteRequestMirrorPolicyOutput) Destination() HttpRouteDestinationPtrOutput { return o.ApplyT(func(v HttpRouteRequestMirrorPolicy) *HttpRouteDestination { return v.Destination }).(HttpRouteDestinationPtrOutput) @@ -5140,6 +5957,12 @@ func (o HttpRouteRequestMirrorPolicyPtrOutput) ToHttpRouteRequestMirrorPolicyPtr return o } +func (o HttpRouteRequestMirrorPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRequestMirrorPolicy] { + return pulumix.Output[*HttpRouteRequestMirrorPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRequestMirrorPolicyPtrOutput) Elem() HttpRouteRequestMirrorPolicyOutput { return o.ApplyT(func(v *HttpRouteRequestMirrorPolicy) HttpRouteRequestMirrorPolicy { if v != nil { @@ -5181,6 +6004,12 @@ func (o HttpRouteRequestMirrorPolicyResponseOutput) ToHttpRouteRequestMirrorPoli return o } +func (o HttpRouteRequestMirrorPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRequestMirrorPolicyResponse] { + return pulumix.Output[HttpRouteRequestMirrorPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The destination the requests will be mirrored to. The weight of the destination will be ignored. func (o HttpRouteRequestMirrorPolicyResponseOutput) Destination() HttpRouteDestinationResponseOutput { return o.ApplyT(func(v HttpRouteRequestMirrorPolicyResponse) HttpRouteDestinationResponse { return v.Destination }).(HttpRouteDestinationResponseOutput) @@ -5229,6 +6058,12 @@ func (i HttpRouteRetryPolicyArgs) ToHttpRouteRetryPolicyOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRetryPolicyOutput) } +func (i HttpRouteRetryPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRetryPolicy] { + return pulumix.Output[HttpRouteRetryPolicy]{ + OutputState: i.ToHttpRouteRetryPolicyOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteRetryPolicyArgs) ToHttpRouteRetryPolicyPtrOutput() HttpRouteRetryPolicyPtrOutput { return i.ToHttpRouteRetryPolicyPtrOutputWithContext(context.Background()) } @@ -5270,6 +6105,12 @@ func (i *httpRouteRetryPolicyPtrType) ToHttpRouteRetryPolicyPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRetryPolicyPtrOutput) } +func (i *httpRouteRetryPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRetryPolicy] { + return pulumix.Output[*HttpRouteRetryPolicy]{ + OutputState: i.ToHttpRouteRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The specifications for retries. type HttpRouteRetryPolicyOutput struct{ *pulumi.OutputState } @@ -5295,6 +6136,12 @@ func (o HttpRouteRetryPolicyOutput) ToHttpRouteRetryPolicyPtrOutputWithContext(c }).(HttpRouteRetryPolicyPtrOutput) } +func (o HttpRouteRetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRetryPolicy] { + return pulumix.Output[HttpRouteRetryPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. func (o HttpRouteRetryPolicyOutput) NumRetries() pulumi.IntPtrOutput { return o.ApplyT(func(v HttpRouteRetryPolicy) *int { return v.NumRetries }).(pulumi.IntPtrOutput) @@ -5324,6 +6171,12 @@ func (o HttpRouteRetryPolicyPtrOutput) ToHttpRouteRetryPolicyPtrOutputWithContex return o } +func (o HttpRouteRetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRetryPolicy] { + return pulumix.Output[*HttpRouteRetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRetryPolicyPtrOutput) Elem() HttpRouteRetryPolicyOutput { return o.ApplyT(func(v *HttpRouteRetryPolicy) HttpRouteRetryPolicy { if v != nil { @@ -5389,6 +6242,12 @@ func (o HttpRouteRetryPolicyResponseOutput) ToHttpRouteRetryPolicyResponseOutput return o } +func (o HttpRouteRetryPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRetryPolicyResponse] { + return pulumix.Output[HttpRouteRetryPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the allowed number of retries. This number must be > 0. If not specified, default to 1. func (o HttpRouteRetryPolicyResponseOutput) NumRetries() pulumi.IntOutput { return o.ApplyT(func(v HttpRouteRetryPolicyResponse) int { return v.NumRetries }).(pulumi.IntOutput) @@ -5475,6 +6334,12 @@ func (i HttpRouteRouteActionArgs) ToHttpRouteRouteActionOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteActionOutput) } +func (i HttpRouteRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteAction] { + return pulumix.Output[HttpRouteRouteAction]{ + OutputState: i.ToHttpRouteRouteActionOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteRouteActionArgs) ToHttpRouteRouteActionPtrOutput() HttpRouteRouteActionPtrOutput { return i.ToHttpRouteRouteActionPtrOutputWithContext(context.Background()) } @@ -5516,6 +6381,12 @@ func (i *httpRouteRouteActionPtrType) ToHttpRouteRouteActionPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteActionPtrOutput) } +func (i *httpRouteRouteActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRouteAction] { + return pulumix.Output[*HttpRouteRouteAction]{ + OutputState: i.ToHttpRouteRouteActionPtrOutputWithContext(ctx).OutputState, + } +} + // The specifications for routing traffic and applying associated policies. type HttpRouteRouteActionOutput struct{ *pulumi.OutputState } @@ -5541,6 +6412,12 @@ func (o HttpRouteRouteActionOutput) ToHttpRouteRouteActionPtrOutputWithContext(c }).(HttpRouteRouteActionPtrOutput) } +func (o HttpRouteRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteAction] { + return pulumix.Output[HttpRouteRouteAction]{ + OutputState: o.OutputState, + } +} + // The specification for allowing client side cross-origin requests. func (o HttpRouteRouteActionOutput) CorsPolicy() HttpRouteCorsPolicyPtrOutput { return o.ApplyT(func(v HttpRouteRouteAction) *HttpRouteCorsPolicy { return v.CorsPolicy }).(HttpRouteCorsPolicyPtrOutput) @@ -5605,6 +6482,12 @@ func (o HttpRouteRouteActionPtrOutput) ToHttpRouteRouteActionPtrOutputWithContex return o } +func (o HttpRouteRouteActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteRouteAction] { + return pulumix.Output[*HttpRouteRouteAction]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRouteActionPtrOutput) Elem() HttpRouteRouteActionOutput { return o.ApplyT(func(v *HttpRouteRouteAction) HttpRouteRouteAction { if v != nil { @@ -5754,6 +6637,12 @@ func (o HttpRouteRouteActionResponseOutput) ToHttpRouteRouteActionResponseOutput return o } +func (o HttpRouteRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteActionResponse] { + return pulumix.Output[HttpRouteRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // The specification for allowing client side cross-origin requests. func (o HttpRouteRouteActionResponseOutput) CorsPolicy() HttpRouteCorsPolicyResponseOutput { return o.ApplyT(func(v HttpRouteRouteActionResponse) HttpRouteCorsPolicyResponse { return v.CorsPolicy }).(HttpRouteCorsPolicyResponseOutput) @@ -5863,6 +6752,12 @@ func (i HttpRouteRouteMatchArgs) ToHttpRouteRouteMatchOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteMatchOutput) } +func (i HttpRouteRouteMatchArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteMatch] { + return pulumix.Output[HttpRouteRouteMatch]{ + OutputState: i.ToHttpRouteRouteMatchOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRouteMatchArrayInput is an input type that accepts HttpRouteRouteMatchArray and HttpRouteRouteMatchArrayOutput values. // You can construct a concrete instance of `HttpRouteRouteMatchArrayInput` via: // @@ -5888,6 +6783,12 @@ func (i HttpRouteRouteMatchArray) ToHttpRouteRouteMatchArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteMatchArrayOutput) } +func (i HttpRouteRouteMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteMatch] { + return pulumix.Output[[]HttpRouteRouteMatch]{ + OutputState: i.ToHttpRouteRouteMatchArrayOutputWithContext(ctx).OutputState, + } +} + // RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched. type HttpRouteRouteMatchOutput struct{ *pulumi.OutputState } @@ -5903,6 +6804,12 @@ func (o HttpRouteRouteMatchOutput) ToHttpRouteRouteMatchOutputWithContext(ctx co return o } +func (o HttpRouteRouteMatchOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteMatch] { + return pulumix.Output[HttpRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + // The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used. func (o HttpRouteRouteMatchOutput) FullPathMatch() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteRouteMatch) *string { return v.FullPathMatch }).(pulumi.StringPtrOutput) @@ -5947,6 +6854,12 @@ func (o HttpRouteRouteMatchArrayOutput) ToHttpRouteRouteMatchArrayOutputWithCont return o } +func (o HttpRouteRouteMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteMatch] { + return pulumix.Output[[]HttpRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRouteMatchArrayOutput) Index(i pulumi.IntInput) HttpRouteRouteMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRouteMatch { return vs[0].([]HttpRouteRouteMatch)[vs[1].(int)] @@ -5984,6 +6897,12 @@ func (o HttpRouteRouteMatchResponseOutput) ToHttpRouteRouteMatchResponseOutputWi return o } +func (o HttpRouteRouteMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteMatchResponse] { + return pulumix.Output[HttpRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + // The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used. func (o HttpRouteRouteMatchResponseOutput) FullPathMatch() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteRouteMatchResponse) string { return v.FullPathMatch }).(pulumi.StringOutput) @@ -6028,6 +6947,12 @@ func (o HttpRouteRouteMatchResponseArrayOutput) ToHttpRouteRouteMatchResponseArr return o } +func (o HttpRouteRouteMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteMatchResponse] { + return pulumix.Output[[]HttpRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRouteMatchResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteRouteMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRouteMatchResponse { return vs[0].([]HttpRouteRouteMatchResponse)[vs[1].(int)] @@ -6073,6 +6998,12 @@ func (i HttpRouteRouteRuleArgs) ToHttpRouteRouteRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteRuleOutput) } +func (i HttpRouteRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteRule] { + return pulumix.Output[HttpRouteRouteRule]{ + OutputState: i.ToHttpRouteRouteRuleOutputWithContext(ctx).OutputState, + } +} + // HttpRouteRouteRuleArrayInput is an input type that accepts HttpRouteRouteRuleArray and HttpRouteRouteRuleArrayOutput values. // You can construct a concrete instance of `HttpRouteRouteRuleArrayInput` via: // @@ -6098,6 +7029,12 @@ func (i HttpRouteRouteRuleArray) ToHttpRouteRouteRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(HttpRouteRouteRuleArrayOutput) } +func (i HttpRouteRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteRule] { + return pulumix.Output[[]HttpRouteRouteRule]{ + OutputState: i.ToHttpRouteRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies how to match traffic and how to route traffic when traffic is matched. type HttpRouteRouteRuleOutput struct{ *pulumi.OutputState } @@ -6113,6 +7050,12 @@ func (o HttpRouteRouteRuleOutput) ToHttpRouteRouteRuleOutputWithContext(ctx cont return o } +func (o HttpRouteRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteRule] { + return pulumix.Output[HttpRouteRouteRule]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o HttpRouteRouteRuleOutput) Action() HttpRouteRouteActionPtrOutput { return o.ApplyT(func(v HttpRouteRouteRule) *HttpRouteRouteAction { return v.Action }).(HttpRouteRouteActionPtrOutput) @@ -6137,6 +7080,12 @@ func (o HttpRouteRouteRuleArrayOutput) ToHttpRouteRouteRuleArrayOutputWithContex return o } +func (o HttpRouteRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteRule] { + return pulumix.Output[[]HttpRouteRouteRule]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRouteRuleArrayOutput) Index(i pulumi.IntInput) HttpRouteRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRouteRule { return vs[0].([]HttpRouteRouteRule)[vs[1].(int)] @@ -6166,6 +7115,12 @@ func (o HttpRouteRouteRuleResponseOutput) ToHttpRouteRouteRuleResponseOutputWith return o } +func (o HttpRouteRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteRouteRuleResponse] { + return pulumix.Output[HttpRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o HttpRouteRouteRuleResponseOutput) Action() HttpRouteRouteActionResponseOutput { return o.ApplyT(func(v HttpRouteRouteRuleResponse) HttpRouteRouteActionResponse { return v.Action }).(HttpRouteRouteActionResponseOutput) @@ -6190,6 +7145,12 @@ func (o HttpRouteRouteRuleResponseArrayOutput) ToHttpRouteRouteRuleResponseArray return o } +func (o HttpRouteRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRouteRouteRuleResponse] { + return pulumix.Output[[]HttpRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) HttpRouteRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRouteRouteRuleResponse { return vs[0].([]HttpRouteRouteRuleResponse)[vs[1].(int)] @@ -6235,6 +7196,12 @@ func (i HttpRouteURLRewriteArgs) ToHttpRouteURLRewriteOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(HttpRouteURLRewriteOutput) } +func (i HttpRouteURLRewriteArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRouteURLRewrite] { + return pulumix.Output[HttpRouteURLRewrite]{ + OutputState: i.ToHttpRouteURLRewriteOutputWithContext(ctx).OutputState, + } +} + func (i HttpRouteURLRewriteArgs) ToHttpRouteURLRewritePtrOutput() HttpRouteURLRewritePtrOutput { return i.ToHttpRouteURLRewritePtrOutputWithContext(context.Background()) } @@ -6276,6 +7243,12 @@ func (i *httpRouteURLRewritePtrType) ToHttpRouteURLRewritePtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(HttpRouteURLRewritePtrOutput) } +func (i *httpRouteURLRewritePtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteURLRewrite] { + return pulumix.Output[*HttpRouteURLRewrite]{ + OutputState: i.ToHttpRouteURLRewritePtrOutputWithContext(ctx).OutputState, + } +} + // The specification for modifying the URL of the request, prior to forwarding the request to the destination. type HttpRouteURLRewriteOutput struct{ *pulumi.OutputState } @@ -6301,6 +7274,12 @@ func (o HttpRouteURLRewriteOutput) ToHttpRouteURLRewritePtrOutputWithContext(ctx }).(HttpRouteURLRewritePtrOutput) } +func (o HttpRouteURLRewriteOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteURLRewrite] { + return pulumix.Output[HttpRouteURLRewrite]{ + OutputState: o.OutputState, + } +} + // Prior to forwarding the request to the selected destination, the requests host header is replaced by this value. func (o HttpRouteURLRewriteOutput) HostRewrite() pulumi.StringPtrOutput { return o.ApplyT(func(v HttpRouteURLRewrite) *string { return v.HostRewrite }).(pulumi.StringPtrOutput) @@ -6325,6 +7304,12 @@ func (o HttpRouteURLRewritePtrOutput) ToHttpRouteURLRewritePtrOutputWithContext( return o } +func (o HttpRouteURLRewritePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpRouteURLRewrite] { + return pulumix.Output[*HttpRouteURLRewrite]{ + OutputState: o.OutputState, + } +} + func (o HttpRouteURLRewritePtrOutput) Elem() HttpRouteURLRewriteOutput { return o.ApplyT(func(v *HttpRouteURLRewrite) HttpRouteURLRewrite { if v != nil { @@ -6378,6 +7363,12 @@ func (o HttpRouteURLRewriteResponseOutput) ToHttpRouteURLRewriteResponseOutputWi return o } +func (o HttpRouteURLRewriteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRouteURLRewriteResponse] { + return pulumix.Output[HttpRouteURLRewriteResponse]{ + OutputState: o.OutputState, + } +} + // Prior to forwarding the request to the selected destination, the requests host header is replaced by this value. func (o HttpRouteURLRewriteResponseOutput) HostRewrite() pulumi.StringOutput { return o.ApplyT(func(v HttpRouteURLRewriteResponse) string { return v.HostRewrite }).(pulumi.StringOutput) @@ -6427,6 +7418,12 @@ func (i MetadataLabelMatcherArgs) ToMetadataLabelMatcherOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(MetadataLabelMatcherOutput) } +func (i MetadataLabelMatcherArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataLabelMatcher] { + return pulumix.Output[MetadataLabelMatcher]{ + OutputState: i.ToMetadataLabelMatcherOutputWithContext(ctx).OutputState, + } +} + func (i MetadataLabelMatcherArgs) ToMetadataLabelMatcherPtrOutput() MetadataLabelMatcherPtrOutput { return i.ToMetadataLabelMatcherPtrOutputWithContext(context.Background()) } @@ -6468,6 +7465,12 @@ func (i *metadataLabelMatcherPtrType) ToMetadataLabelMatcherPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(MetadataLabelMatcherPtrOutput) } +func (i *metadataLabelMatcherPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetadataLabelMatcher] { + return pulumix.Output[*MetadataLabelMatcher]{ + OutputState: i.ToMetadataLabelMatcherPtrOutputWithContext(ctx).OutputState, + } +} + // The matcher that is based on node metadata presented by xDS clients. type MetadataLabelMatcherOutput struct{ *pulumi.OutputState } @@ -6493,6 +7496,12 @@ func (o MetadataLabelMatcherOutput) ToMetadataLabelMatcherPtrOutputWithContext(c }).(MetadataLabelMatcherPtrOutput) } +func (o MetadataLabelMatcherOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataLabelMatcher] { + return pulumix.Output[MetadataLabelMatcher]{ + OutputState: o.OutputState, + } +} + // Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown. func (o MetadataLabelMatcherOutput) MetadataLabelMatchCriteria() MetadataLabelMatcherMetadataLabelMatchCriteriaPtrOutput { return o.ApplyT(func(v MetadataLabelMatcher) *MetadataLabelMatcherMetadataLabelMatchCriteria { @@ -6519,6 +7528,12 @@ func (o MetadataLabelMatcherPtrOutput) ToMetadataLabelMatcherPtrOutputWithContex return o } +func (o MetadataLabelMatcherPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataLabelMatcher] { + return pulumix.Output[*MetadataLabelMatcher]{ + OutputState: o.OutputState, + } +} + func (o MetadataLabelMatcherPtrOutput) Elem() MetadataLabelMatcherOutput { return o.ApplyT(func(v *MetadataLabelMatcher) MetadataLabelMatcher { if v != nil { @@ -6572,6 +7587,12 @@ func (o MetadataLabelMatcherResponseOutput) ToMetadataLabelMatcherResponseOutput return o } +func (o MetadataLabelMatcherResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataLabelMatcherResponse] { + return pulumix.Output[MetadataLabelMatcherResponse]{ + OutputState: o.OutputState, + } +} + // Specifies how matching should be done. Supported values are: MATCH_ANY: At least one of the Labels specified in the matcher should match the metadata presented by xDS client. MATCH_ALL: The metadata presented by the xDS client should contain all of the labels specified here. The selection is determined based on the best match. For example, suppose there are three EndpointPolicy resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label connects, the config from P1 will be selected. If a client with label connects, the config from P2 will be selected. If a client with label connects, the config from P3 will be selected. If there is more than one best match, (for example, if a config P4 with selector exists and if a client with label connects), an error will be thrown. func (o MetadataLabelMatcherResponseOutput) MetadataLabelMatchCriteria() pulumi.StringOutput { return o.ApplyT(func(v MetadataLabelMatcherResponse) string { return v.MetadataLabelMatchCriteria }).(pulumi.StringOutput) @@ -6621,6 +7642,12 @@ func (i MetadataLabelsArgs) ToMetadataLabelsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MetadataLabelsOutput) } +func (i MetadataLabelsArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataLabels] { + return pulumix.Output[MetadataLabels]{ + OutputState: i.ToMetadataLabelsOutputWithContext(ctx).OutputState, + } +} + // MetadataLabelsArrayInput is an input type that accepts MetadataLabelsArray and MetadataLabelsArrayOutput values. // You can construct a concrete instance of `MetadataLabelsArrayInput` via: // @@ -6646,6 +7673,12 @@ func (i MetadataLabelsArray) ToMetadataLabelsArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MetadataLabelsArrayOutput) } +func (i MetadataLabelsArray) ToOutput(ctx context.Context) pulumix.Output[[]MetadataLabels] { + return pulumix.Output[[]MetadataLabels]{ + OutputState: i.ToMetadataLabelsArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a name-pair value for a single label. type MetadataLabelsOutput struct{ *pulumi.OutputState } @@ -6661,6 +7694,12 @@ func (o MetadataLabelsOutput) ToMetadataLabelsOutputWithContext(ctx context.Cont return o } +func (o MetadataLabelsOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataLabels] { + return pulumix.Output[MetadataLabels]{ + OutputState: o.OutputState, + } +} + // Label name presented as key in xDS Node Metadata. func (o MetadataLabelsOutput) LabelName() pulumi.StringOutput { return o.ApplyT(func(v MetadataLabels) string { return v.LabelName }).(pulumi.StringOutput) @@ -6685,6 +7724,12 @@ func (o MetadataLabelsArrayOutput) ToMetadataLabelsArrayOutputWithContext(ctx co return o } +func (o MetadataLabelsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataLabels] { + return pulumix.Output[[]MetadataLabels]{ + OutputState: o.OutputState, + } +} + func (o MetadataLabelsArrayOutput) Index(i pulumi.IntInput) MetadataLabelsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataLabels { return vs[0].([]MetadataLabels)[vs[1].(int)] @@ -6714,6 +7759,12 @@ func (o MetadataLabelsResponseOutput) ToMetadataLabelsResponseOutputWithContext( return o } +func (o MetadataLabelsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataLabelsResponse] { + return pulumix.Output[MetadataLabelsResponse]{ + OutputState: o.OutputState, + } +} + // Label name presented as key in xDS Node Metadata. func (o MetadataLabelsResponseOutput) LabelName() pulumi.StringOutput { return o.ApplyT(func(v MetadataLabelsResponse) string { return v.LabelName }).(pulumi.StringOutput) @@ -6738,6 +7789,12 @@ func (o MetadataLabelsResponseArrayOutput) ToMetadataLabelsResponseArrayOutputWi return o } +func (o MetadataLabelsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetadataLabelsResponse] { + return pulumix.Output[[]MetadataLabelsResponse]{ + OutputState: o.OutputState, + } +} + func (o MetadataLabelsResponseArrayOutput) Index(i pulumi.IntInput) MetadataLabelsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetadataLabelsResponse { return vs[0].([]MetadataLabelsResponse)[vs[1].(int)] @@ -6783,6 +7840,12 @@ func (i TcpRouteRouteActionArgs) ToTcpRouteRouteActionOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteActionOutput) } +func (i TcpRouteRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteAction] { + return pulumix.Output[TcpRouteRouteAction]{ + OutputState: i.ToTcpRouteRouteActionOutputWithContext(ctx).OutputState, + } +} + // The specifications for routing traffic and applying associated policies. type TcpRouteRouteActionOutput struct{ *pulumi.OutputState } @@ -6798,6 +7861,12 @@ func (o TcpRouteRouteActionOutput) ToTcpRouteRouteActionOutputWithContext(ctx co return o } +func (o TcpRouteRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteAction] { + return pulumix.Output[TcpRouteRouteAction]{ + OutputState: o.OutputState, + } +} + // Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set. func (o TcpRouteRouteActionOutput) Destinations() TcpRouteRouteDestinationArrayOutput { return o.ApplyT(func(v TcpRouteRouteAction) []TcpRouteRouteDestination { return v.Destinations }).(TcpRouteRouteDestinationArrayOutput) @@ -6831,6 +7900,12 @@ func (o TcpRouteRouteActionResponseOutput) ToTcpRouteRouteActionResponseOutputWi return o } +func (o TcpRouteRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteActionResponse] { + return pulumix.Output[TcpRouteRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set. func (o TcpRouteRouteActionResponseOutput) Destinations() TcpRouteRouteDestinationResponseArrayOutput { return o.ApplyT(func(v TcpRouteRouteActionResponse) []TcpRouteRouteDestinationResponse { return v.Destinations }).(TcpRouteRouteDestinationResponseArrayOutput) @@ -6880,6 +7955,12 @@ func (i TcpRouteRouteDestinationArgs) ToTcpRouteRouteDestinationOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteDestinationOutput) } +func (i TcpRouteRouteDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteDestination] { + return pulumix.Output[TcpRouteRouteDestination]{ + OutputState: i.ToTcpRouteRouteDestinationOutputWithContext(ctx).OutputState, + } +} + // TcpRouteRouteDestinationArrayInput is an input type that accepts TcpRouteRouteDestinationArray and TcpRouteRouteDestinationArrayOutput values. // You can construct a concrete instance of `TcpRouteRouteDestinationArrayInput` via: // @@ -6905,6 +7986,12 @@ func (i TcpRouteRouteDestinationArray) ToTcpRouteRouteDestinationArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteDestinationArrayOutput) } +func (i TcpRouteRouteDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteDestination] { + return pulumix.Output[[]TcpRouteRouteDestination]{ + OutputState: i.ToTcpRouteRouteDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Describe the destination for traffic to be routed to. type TcpRouteRouteDestinationOutput struct{ *pulumi.OutputState } @@ -6920,6 +8007,12 @@ func (o TcpRouteRouteDestinationOutput) ToTcpRouteRouteDestinationOutputWithCont return o } +func (o TcpRouteRouteDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteDestination] { + return pulumix.Output[TcpRouteRouteDestination]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o TcpRouteRouteDestinationOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v TcpRouteRouteDestination) string { return v.ServiceName }).(pulumi.StringOutput) @@ -6944,6 +8037,12 @@ func (o TcpRouteRouteDestinationArrayOutput) ToTcpRouteRouteDestinationArrayOutp return o } +func (o TcpRouteRouteDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteDestination] { + return pulumix.Output[[]TcpRouteRouteDestination]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteDestinationArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteDestination { return vs[0].([]TcpRouteRouteDestination)[vs[1].(int)] @@ -6973,6 +8072,12 @@ func (o TcpRouteRouteDestinationResponseOutput) ToTcpRouteRouteDestinationRespon return o } +func (o TcpRouteRouteDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteDestinationResponse] { + return pulumix.Output[TcpRouteRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o TcpRouteRouteDestinationResponseOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v TcpRouteRouteDestinationResponse) string { return v.ServiceName }).(pulumi.StringOutput) @@ -6997,6 +8102,12 @@ func (o TcpRouteRouteDestinationResponseArrayOutput) ToTcpRouteRouteDestinationR return o } +func (o TcpRouteRouteDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteDestinationResponse] { + return pulumix.Output[[]TcpRouteRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteDestinationResponseArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteDestinationResponse { return vs[0].([]TcpRouteRouteDestinationResponse)[vs[1].(int)] @@ -7042,6 +8153,12 @@ func (i TcpRouteRouteMatchArgs) ToTcpRouteRouteMatchOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteMatchOutput) } +func (i TcpRouteRouteMatchArgs) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteMatch] { + return pulumix.Output[TcpRouteRouteMatch]{ + OutputState: i.ToTcpRouteRouteMatchOutputWithContext(ctx).OutputState, + } +} + // TcpRouteRouteMatchArrayInput is an input type that accepts TcpRouteRouteMatchArray and TcpRouteRouteMatchArrayOutput values. // You can construct a concrete instance of `TcpRouteRouteMatchArrayInput` via: // @@ -7067,6 +8184,12 @@ func (i TcpRouteRouteMatchArray) ToTcpRouteRouteMatchArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteMatchArrayOutput) } +func (i TcpRouteRouteMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteMatch] { + return pulumix.Output[[]TcpRouteRouteMatch]{ + OutputState: i.ToTcpRouteRouteMatchArrayOutputWithContext(ctx).OutputState, + } +} + // RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. type TcpRouteRouteMatchOutput struct{ *pulumi.OutputState } @@ -7082,6 +8205,12 @@ func (o TcpRouteRouteMatchOutput) ToTcpRouteRouteMatchOutputWithContext(ctx cont return o } +func (o TcpRouteRouteMatchOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteMatch] { + return pulumix.Output[TcpRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + // Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - matches against any IP address'. func (o TcpRouteRouteMatchOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v TcpRouteRouteMatch) string { return v.Address }).(pulumi.StringOutput) @@ -7106,6 +8235,12 @@ func (o TcpRouteRouteMatchArrayOutput) ToTcpRouteRouteMatchArrayOutputWithContex return o } +func (o TcpRouteRouteMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteMatch] { + return pulumix.Output[[]TcpRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteMatchArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteMatch { return vs[0].([]TcpRouteRouteMatch)[vs[1].(int)] @@ -7135,6 +8270,12 @@ func (o TcpRouteRouteMatchResponseOutput) ToTcpRouteRouteMatchResponseOutputWith return o } +func (o TcpRouteRouteMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteMatchResponse] { + return pulumix.Output[TcpRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + // Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - matches against any IP address'. func (o TcpRouteRouteMatchResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v TcpRouteRouteMatchResponse) string { return v.Address }).(pulumi.StringOutput) @@ -7159,6 +8300,12 @@ func (o TcpRouteRouteMatchResponseArrayOutput) ToTcpRouteRouteMatchResponseArray return o } +func (o TcpRouteRouteMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteMatchResponse] { + return pulumix.Output[[]TcpRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteMatchResponseArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteMatchResponse { return vs[0].([]TcpRouteRouteMatchResponse)[vs[1].(int)] @@ -7204,6 +8351,12 @@ func (i TcpRouteRouteRuleArgs) ToTcpRouteRouteRuleOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteRuleOutput) } +func (i TcpRouteRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteRule] { + return pulumix.Output[TcpRouteRouteRule]{ + OutputState: i.ToTcpRouteRouteRuleOutputWithContext(ctx).OutputState, + } +} + // TcpRouteRouteRuleArrayInput is an input type that accepts TcpRouteRouteRuleArray and TcpRouteRouteRuleArrayOutput values. // You can construct a concrete instance of `TcpRouteRouteRuleArrayInput` via: // @@ -7229,6 +8382,12 @@ func (i TcpRouteRouteRuleArray) ToTcpRouteRouteRuleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(TcpRouteRouteRuleArrayOutput) } +func (i TcpRouteRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteRule] { + return pulumix.Output[[]TcpRouteRouteRule]{ + OutputState: i.ToTcpRouteRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies how to match traffic and how to route traffic when traffic is matched. type TcpRouteRouteRuleOutput struct{ *pulumi.OutputState } @@ -7244,6 +8403,12 @@ func (o TcpRouteRouteRuleOutput) ToTcpRouteRouteRuleOutputWithContext(ctx contex return o } +func (o TcpRouteRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteRule] { + return pulumix.Output[TcpRouteRouteRule]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o TcpRouteRouteRuleOutput) Action() TcpRouteRouteActionOutput { return o.ApplyT(func(v TcpRouteRouteRule) TcpRouteRouteAction { return v.Action }).(TcpRouteRouteActionOutput) @@ -7268,6 +8433,12 @@ func (o TcpRouteRouteRuleArrayOutput) ToTcpRouteRouteRuleArrayOutputWithContext( return o } +func (o TcpRouteRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteRule] { + return pulumix.Output[[]TcpRouteRouteRule]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteRuleArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteRule { return vs[0].([]TcpRouteRouteRule)[vs[1].(int)] @@ -7297,6 +8468,12 @@ func (o TcpRouteRouteRuleResponseOutput) ToTcpRouteRouteRuleResponseOutputWithCo return o } +func (o TcpRouteRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TcpRouteRouteRuleResponse] { + return pulumix.Output[TcpRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o TcpRouteRouteRuleResponseOutput) Action() TcpRouteRouteActionResponseOutput { return o.ApplyT(func(v TcpRouteRouteRuleResponse) TcpRouteRouteActionResponse { return v.Action }).(TcpRouteRouteActionResponseOutput) @@ -7321,6 +8498,12 @@ func (o TcpRouteRouteRuleResponseArrayOutput) ToTcpRouteRouteRuleResponseArrayOu return o } +func (o TcpRouteRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TcpRouteRouteRuleResponse] { + return pulumix.Output[[]TcpRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o TcpRouteRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) TcpRouteRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TcpRouteRouteRuleResponse { return vs[0].([]TcpRouteRouteRuleResponse)[vs[1].(int)] @@ -7362,6 +8545,12 @@ func (i TlsRouteRouteActionArgs) ToTlsRouteRouteActionOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteActionOutput) } +func (i TlsRouteRouteActionArgs) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteAction] { + return pulumix.Output[TlsRouteRouteAction]{ + OutputState: i.ToTlsRouteRouteActionOutputWithContext(ctx).OutputState, + } +} + // The specifications for routing traffic and applying associated policies. type TlsRouteRouteActionOutput struct{ *pulumi.OutputState } @@ -7377,6 +8566,12 @@ func (o TlsRouteRouteActionOutput) ToTlsRouteRouteActionOutputWithContext(ctx co return o } +func (o TlsRouteRouteActionOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteAction] { + return pulumix.Output[TlsRouteRouteAction]{ + OutputState: o.OutputState, + } +} + // The destination services to which traffic should be forwarded. At least one destination service is required. func (o TlsRouteRouteActionOutput) Destinations() TlsRouteRouteDestinationArrayOutput { return o.ApplyT(func(v TlsRouteRouteAction) []TlsRouteRouteDestination { return v.Destinations }).(TlsRouteRouteDestinationArrayOutput) @@ -7403,6 +8598,12 @@ func (o TlsRouteRouteActionResponseOutput) ToTlsRouteRouteActionResponseOutputWi return o } +func (o TlsRouteRouteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteActionResponse] { + return pulumix.Output[TlsRouteRouteActionResponse]{ + OutputState: o.OutputState, + } +} + // The destination services to which traffic should be forwarded. At least one destination service is required. func (o TlsRouteRouteActionResponseOutput) Destinations() TlsRouteRouteDestinationResponseArrayOutput { return o.ApplyT(func(v TlsRouteRouteActionResponse) []TlsRouteRouteDestinationResponse { return v.Destinations }).(TlsRouteRouteDestinationResponseArrayOutput) @@ -7447,6 +8648,12 @@ func (i TlsRouteRouteDestinationArgs) ToTlsRouteRouteDestinationOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteDestinationOutput) } +func (i TlsRouteRouteDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteDestination] { + return pulumix.Output[TlsRouteRouteDestination]{ + OutputState: i.ToTlsRouteRouteDestinationOutputWithContext(ctx).OutputState, + } +} + // TlsRouteRouteDestinationArrayInput is an input type that accepts TlsRouteRouteDestinationArray and TlsRouteRouteDestinationArrayOutput values. // You can construct a concrete instance of `TlsRouteRouteDestinationArrayInput` via: // @@ -7472,6 +8679,12 @@ func (i TlsRouteRouteDestinationArray) ToTlsRouteRouteDestinationArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteDestinationArrayOutput) } +func (i TlsRouteRouteDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteDestination] { + return pulumix.Output[[]TlsRouteRouteDestination]{ + OutputState: i.ToTlsRouteRouteDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Describe the destination for traffic to be routed to. type TlsRouteRouteDestinationOutput struct{ *pulumi.OutputState } @@ -7487,6 +8700,12 @@ func (o TlsRouteRouteDestinationOutput) ToTlsRouteRouteDestinationOutputWithCont return o } +func (o TlsRouteRouteDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteDestination] { + return pulumix.Output[TlsRouteRouteDestination]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o TlsRouteRouteDestinationOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v TlsRouteRouteDestination) string { return v.ServiceName }).(pulumi.StringOutput) @@ -7511,6 +8730,12 @@ func (o TlsRouteRouteDestinationArrayOutput) ToTlsRouteRouteDestinationArrayOutp return o } +func (o TlsRouteRouteDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteDestination] { + return pulumix.Output[[]TlsRouteRouteDestination]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteDestinationArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteDestination { return vs[0].([]TlsRouteRouteDestination)[vs[1].(int)] @@ -7540,6 +8765,12 @@ func (o TlsRouteRouteDestinationResponseOutput) ToTlsRouteRouteDestinationRespon return o } +func (o TlsRouteRouteDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteDestinationResponse] { + return pulumix.Output[TlsRouteRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The URL of a BackendService to route traffic to. func (o TlsRouteRouteDestinationResponseOutput) ServiceName() pulumi.StringOutput { return o.ApplyT(func(v TlsRouteRouteDestinationResponse) string { return v.ServiceName }).(pulumi.StringOutput) @@ -7564,6 +8795,12 @@ func (o TlsRouteRouteDestinationResponseArrayOutput) ToTlsRouteRouteDestinationR return o } +func (o TlsRouteRouteDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteDestinationResponse] { + return pulumix.Output[[]TlsRouteRouteDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteDestinationResponseArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteDestinationResponse { return vs[0].([]TlsRouteRouteDestinationResponse)[vs[1].(int)] @@ -7609,6 +8846,12 @@ func (i TlsRouteRouteMatchArgs) ToTlsRouteRouteMatchOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteMatchOutput) } +func (i TlsRouteRouteMatchArgs) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteMatch] { + return pulumix.Output[TlsRouteRouteMatch]{ + OutputState: i.ToTlsRouteRouteMatchOutputWithContext(ctx).OutputState, + } +} + // TlsRouteRouteMatchArrayInput is an input type that accepts TlsRouteRouteMatchArray and TlsRouteRouteMatchArrayOutput values. // You can construct a concrete instance of `TlsRouteRouteMatchArrayInput` via: // @@ -7634,6 +8877,12 @@ func (i TlsRouteRouteMatchArray) ToTlsRouteRouteMatchArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteMatchArrayOutput) } +func (i TlsRouteRouteMatchArray) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteMatch] { + return pulumix.Output[[]TlsRouteRouteMatch]{ + OutputState: i.ToTlsRouteRouteMatchArrayOutputWithContext(ctx).OutputState, + } +} + // RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. type TlsRouteRouteMatchOutput struct{ *pulumi.OutputState } @@ -7649,6 +8898,12 @@ func (o TlsRouteRouteMatchOutput) ToTlsRouteRouteMatchOutputWithContext(ctx cont return o } +func (o TlsRouteRouteMatchOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteMatch] { + return pulumix.Output[TlsRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + // Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set. func (o TlsRouteRouteMatchOutput) Alpn() pulumi.StringArrayOutput { return o.ApplyT(func(v TlsRouteRouteMatch) []string { return v.Alpn }).(pulumi.StringArrayOutput) @@ -7673,6 +8928,12 @@ func (o TlsRouteRouteMatchArrayOutput) ToTlsRouteRouteMatchArrayOutputWithContex return o } +func (o TlsRouteRouteMatchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteMatch] { + return pulumix.Output[[]TlsRouteRouteMatch]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteMatchArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteMatchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteMatch { return vs[0].([]TlsRouteRouteMatch)[vs[1].(int)] @@ -7702,6 +8963,12 @@ func (o TlsRouteRouteMatchResponseOutput) ToTlsRouteRouteMatchResponseOutputWith return o } +func (o TlsRouteRouteMatchResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteMatchResponse] { + return pulumix.Output[TlsRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + // Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set. func (o TlsRouteRouteMatchResponseOutput) Alpn() pulumi.StringArrayOutput { return o.ApplyT(func(v TlsRouteRouteMatchResponse) []string { return v.Alpn }).(pulumi.StringArrayOutput) @@ -7726,6 +8993,12 @@ func (o TlsRouteRouteMatchResponseArrayOutput) ToTlsRouteRouteMatchResponseArray return o } +func (o TlsRouteRouteMatchResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteMatchResponse] { + return pulumix.Output[[]TlsRouteRouteMatchResponse]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteMatchResponseArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteMatchResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteMatchResponse { return vs[0].([]TlsRouteRouteMatchResponse)[vs[1].(int)] @@ -7771,6 +9044,12 @@ func (i TlsRouteRouteRuleArgs) ToTlsRouteRouteRuleOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteRuleOutput) } +func (i TlsRouteRouteRuleArgs) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteRule] { + return pulumix.Output[TlsRouteRouteRule]{ + OutputState: i.ToTlsRouteRouteRuleOutputWithContext(ctx).OutputState, + } +} + // TlsRouteRouteRuleArrayInput is an input type that accepts TlsRouteRouteRuleArray and TlsRouteRouteRuleArrayOutput values. // You can construct a concrete instance of `TlsRouteRouteRuleArrayInput` via: // @@ -7796,6 +9075,12 @@ func (i TlsRouteRouteRuleArray) ToTlsRouteRouteRuleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(TlsRouteRouteRuleArrayOutput) } +func (i TlsRouteRouteRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteRule] { + return pulumix.Output[[]TlsRouteRouteRule]{ + OutputState: i.ToTlsRouteRouteRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies how to match traffic and how to route traffic when traffic is matched. type TlsRouteRouteRuleOutput struct{ *pulumi.OutputState } @@ -7811,6 +9096,12 @@ func (o TlsRouteRouteRuleOutput) ToTlsRouteRouteRuleOutputWithContext(ctx contex return o } +func (o TlsRouteRouteRuleOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteRule] { + return pulumix.Output[TlsRouteRouteRule]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o TlsRouteRouteRuleOutput) Action() TlsRouteRouteActionOutput { return o.ApplyT(func(v TlsRouteRouteRule) TlsRouteRouteAction { return v.Action }).(TlsRouteRouteActionOutput) @@ -7835,6 +9126,12 @@ func (o TlsRouteRouteRuleArrayOutput) ToTlsRouteRouteRuleArrayOutputWithContext( return o } +func (o TlsRouteRouteRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteRule] { + return pulumix.Output[[]TlsRouteRouteRule]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteRuleArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteRule { return vs[0].([]TlsRouteRouteRule)[vs[1].(int)] @@ -7864,6 +9161,12 @@ func (o TlsRouteRouteRuleResponseOutput) ToTlsRouteRouteRuleResponseOutputWithCo return o } +func (o TlsRouteRouteRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsRouteRouteRuleResponse] { + return pulumix.Output[TlsRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + // The detailed rule defining how to route matched traffic. func (o TlsRouteRouteRuleResponseOutput) Action() TlsRouteRouteActionResponseOutput { return o.ApplyT(func(v TlsRouteRouteRuleResponse) TlsRouteRouteActionResponse { return v.Action }).(TlsRouteRouteActionResponseOutput) @@ -7888,6 +9191,12 @@ func (o TlsRouteRouteRuleResponseArrayOutput) ToTlsRouteRouteRuleResponseArrayOu return o } +func (o TlsRouteRouteRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsRouteRouteRuleResponse] { + return pulumix.Output[[]TlsRouteRouteRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o TlsRouteRouteRuleResponseArrayOutput) Index(i pulumi.IntInput) TlsRouteRouteRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsRouteRouteRuleResponse { return vs[0].([]TlsRouteRouteRuleResponse)[vs[1].(int)] @@ -7929,6 +9238,12 @@ func (i TrafficPortSelectorArgs) ToTrafficPortSelectorOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TrafficPortSelectorOutput) } +func (i TrafficPortSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[TrafficPortSelector] { + return pulumix.Output[TrafficPortSelector]{ + OutputState: i.ToTrafficPortSelectorOutputWithContext(ctx).OutputState, + } +} + func (i TrafficPortSelectorArgs) ToTrafficPortSelectorPtrOutput() TrafficPortSelectorPtrOutput { return i.ToTrafficPortSelectorPtrOutputWithContext(context.Background()) } @@ -7970,6 +9285,12 @@ func (i *trafficPortSelectorPtrType) ToTrafficPortSelectorPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(TrafficPortSelectorPtrOutput) } +func (i *trafficPortSelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*TrafficPortSelector] { + return pulumix.Output[*TrafficPortSelector]{ + OutputState: i.ToTrafficPortSelectorPtrOutputWithContext(ctx).OutputState, + } +} + // Specification of a port-based selector. type TrafficPortSelectorOutput struct{ *pulumi.OutputState } @@ -7995,6 +9316,12 @@ func (o TrafficPortSelectorOutput) ToTrafficPortSelectorPtrOutputWithContext(ctx }).(TrafficPortSelectorPtrOutput) } +func (o TrafficPortSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[TrafficPortSelector] { + return pulumix.Output[TrafficPortSelector]{ + OutputState: o.OutputState, + } +} + // Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected. func (o TrafficPortSelectorOutput) Ports() pulumi.StringArrayOutput { return o.ApplyT(func(v TrafficPortSelector) []string { return v.Ports }).(pulumi.StringArrayOutput) @@ -8014,6 +9341,12 @@ func (o TrafficPortSelectorPtrOutput) ToTrafficPortSelectorPtrOutputWithContext( return o } +func (o TrafficPortSelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TrafficPortSelector] { + return pulumix.Output[*TrafficPortSelector]{ + OutputState: o.OutputState, + } +} + func (o TrafficPortSelectorPtrOutput) Elem() TrafficPortSelectorOutput { return o.ApplyT(func(v *TrafficPortSelector) TrafficPortSelector { if v != nil { @@ -8055,6 +9388,12 @@ func (o TrafficPortSelectorResponseOutput) ToTrafficPortSelectorResponseOutputWi return o } +func (o TrafficPortSelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TrafficPortSelectorResponse] { + return pulumix.Output[TrafficPortSelectorResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A list of ports. Can be port numbers or port range (example, [80-90] specifies all ports from 80 to 90, including 80 and 90) or named ports or * to specify all ports. If the list is empty, all ports are selected. func (o TrafficPortSelectorResponseOutput) Ports() pulumi.StringArrayOutput { return o.ApplyT(func(v TrafficPortSelectorResponse) []string { return v.Ports }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/serviceBinding.go b/sdk/go/google/networkservices/v1beta1/serviceBinding.go index 01632763c2..620aee0bcf 100644 --- a/sdk/go/google/networkservices/v1beta1/serviceBinding.go +++ b/sdk/go/google/networkservices/v1beta1/serviceBinding.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ServiceBinding in a given project and location. @@ -139,6 +140,12 @@ func (i *ServiceBinding) ToServiceBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ServiceBindingOutput) } +func (i *ServiceBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceBinding] { + return pulumix.Output[*ServiceBinding]{ + OutputState: i.ToServiceBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceBindingOutput struct{ *pulumi.OutputState } func (ServiceBindingOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o ServiceBindingOutput) ToServiceBindingOutputWithContext(ctx context.Cont return o } +func (o ServiceBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBinding] { + return pulumix.Output[*ServiceBinding]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o ServiceBindingOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *ServiceBinding) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/serviceBindingIamBinding.go b/sdk/go/google/networkservices/v1beta1/serviceBindingIamBinding.go index 069d828bfb..07e849143f 100644 --- a/sdk/go/google/networkservices/v1beta1/serviceBindingIamBinding.go +++ b/sdk/go/google/networkservices/v1beta1/serviceBindingIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceBindingIamBinding) ToServiceBindingIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServiceBindingIamBindingOutput) } +func (i *ServiceBindingIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamBinding] { + return pulumix.Output[*ServiceBindingIamBinding]{ + OutputState: i.ToServiceBindingIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceBindingIamBindingOutput struct{ *pulumi.OutputState } func (ServiceBindingIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBindingIamBindingOutput) ToServiceBindingIamBindingOutputWithCont return o } +func (o ServiceBindingIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamBinding] { + return pulumix.Output[*ServiceBindingIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceBindingIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceBindingIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1beta1/serviceBindingIamMember.go b/sdk/go/google/networkservices/v1beta1/serviceBindingIamMember.go index bf6e5de517..7bd98b2789 100644 --- a/sdk/go/google/networkservices/v1beta1/serviceBindingIamMember.go +++ b/sdk/go/google/networkservices/v1beta1/serviceBindingIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceBindingIamMember) ToServiceBindingIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceBindingIamMemberOutput) } +func (i *ServiceBindingIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamMember] { + return pulumix.Output[*ServiceBindingIamMember]{ + OutputState: i.ToServiceBindingIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceBindingIamMemberOutput struct{ *pulumi.OutputState } func (ServiceBindingIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBindingIamMemberOutput) ToServiceBindingIamMemberOutputWithContex return o } +func (o ServiceBindingIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamMember] { + return pulumix.Output[*ServiceBindingIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceBindingIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceBindingIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/networkservices/v1beta1/serviceBindingIamPolicy.go b/sdk/go/google/networkservices/v1beta1/serviceBindingIamPolicy.go index 556bad42b6..0f7465676e 100644 --- a/sdk/go/google/networkservices/v1beta1/serviceBindingIamPolicy.go +++ b/sdk/go/google/networkservices/v1beta1/serviceBindingIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceBindingIamPolicy) ToServiceBindingIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ServiceBindingIamPolicyOutput) } +func (i *ServiceBindingIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamPolicy] { + return pulumix.Output[*ServiceBindingIamPolicy]{ + OutputState: i.ToServiceBindingIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceBindingIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceBindingIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceBindingIamPolicyOutput) ToServiceBindingIamPolicyOutputWithContex return o } +func (o ServiceBindingIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceBindingIamPolicy] { + return pulumix.Output[*ServiceBindingIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceBindingIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceBindingIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/networkservices/v1beta1/tcpRoute.go b/sdk/go/google/networkservices/v1beta1/tcpRoute.go index 012fcda118..a27b02fe17 100644 --- a/sdk/go/google/networkservices/v1beta1/tcpRoute.go +++ b/sdk/go/google/networkservices/v1beta1/tcpRoute.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TcpRoute in a given project and location. @@ -153,6 +154,12 @@ func (i *TcpRoute) ToTcpRouteOutputWithContext(ctx context.Context) TcpRouteOutp return pulumi.ToOutputWithContext(ctx, i).(TcpRouteOutput) } +func (i *TcpRoute) ToOutput(ctx context.Context) pulumix.Output[*TcpRoute] { + return pulumix.Output[*TcpRoute]{ + OutputState: i.ToTcpRouteOutputWithContext(ctx).OutputState, + } +} + type TcpRouteOutput struct{ *pulumi.OutputState } func (TcpRouteOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o TcpRouteOutput) ToTcpRouteOutputWithContext(ctx context.Context) TcpRout return o } +func (o TcpRouteOutput) ToOutput(ctx context.Context) pulumix.Output[*TcpRoute] { + return pulumix.Output[*TcpRoute]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o TcpRouteOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TcpRoute) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/networkservices/v1beta1/tlsRoute.go b/sdk/go/google/networkservices/v1beta1/tlsRoute.go index cb5a4976a7..e3b5b0846f 100644 --- a/sdk/go/google/networkservices/v1beta1/tlsRoute.go +++ b/sdk/go/google/networkservices/v1beta1/tlsRoute.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TlsRoute in a given project and location. @@ -147,6 +148,12 @@ func (i *TlsRoute) ToTlsRouteOutputWithContext(ctx context.Context) TlsRouteOutp return pulumi.ToOutputWithContext(ctx, i).(TlsRouteOutput) } +func (i *TlsRoute) ToOutput(ctx context.Context) pulumix.Output[*TlsRoute] { + return pulumix.Output[*TlsRoute]{ + OutputState: i.ToTlsRouteOutputWithContext(ctx).OutputState, + } +} + type TlsRouteOutput struct{ *pulumi.OutputState } func (TlsRouteOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o TlsRouteOutput) ToTlsRouteOutputWithContext(ctx context.Context) TlsRout return o } +func (o TlsRouteOutput) ToOutput(ctx context.Context) pulumix.Output[*TlsRoute] { + return pulumix.Output[*TlsRoute]{ + OutputState: o.OutputState, + } +} + // The timestamp when the resource was created. func (o TlsRouteOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TlsRoute) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/notebooks/v1/environment.go b/sdk/go/google/notebooks/v1/environment.go index bb974c3621..d0f992000a 100644 --- a/sdk/go/google/notebooks/v1/environment.go +++ b/sdk/go/google/notebooks/v1/environment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Environment. @@ -143,6 +144,12 @@ func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) Enviro return pulumi.ToOutputWithContext(ctx, i).(EnvironmentOutput) } +func (i *Environment) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: i.ToEnvironmentOutputWithContext(ctx).OutputState, + } +} + type EnvironmentOutput struct{ *pulumi.OutputState } func (EnvironmentOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) E return o } +func (o EnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[*Environment] { + return pulumix.Output[*Environment]{ + OutputState: o.OutputState, + } +} + // Use a container image to start the notebook instance. func (o EnvironmentOutput) ContainerImage() ContainerImageResponseOutput { return o.ApplyT(func(v *Environment) ContainerImageResponseOutput { return v.ContainerImage }).(ContainerImageResponseOutput) diff --git a/sdk/go/google/notebooks/v1/execution.go b/sdk/go/google/notebooks/v1/execution.go index 625e291d14..b7d6fdd2f5 100644 --- a/sdk/go/google/notebooks/v1/execution.go +++ b/sdk/go/google/notebooks/v1/execution.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Execution in a given project and location. @@ -139,6 +140,12 @@ func (i *Execution) ToExecutionOutputWithContext(ctx context.Context) ExecutionO return pulumi.ToOutputWithContext(ctx, i).(ExecutionOutput) } +func (i *Execution) ToOutput(ctx context.Context) pulumix.Output[*Execution] { + return pulumix.Output[*Execution]{ + OutputState: i.ToExecutionOutputWithContext(ctx).OutputState, + } +} + type ExecutionOutput struct{ *pulumi.OutputState } func (ExecutionOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o ExecutionOutput) ToExecutionOutputWithContext(ctx context.Context) Execu return o } +func (o ExecutionOutput) ToOutput(ctx context.Context) pulumix.Output[*Execution] { + return pulumix.Output[*Execution]{ + OutputState: o.OutputState, + } +} + // Time the Execution was instantiated. func (o ExecutionOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Execution) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/notebooks/v1/getEnvironment.go b/sdk/go/google/notebooks/v1/getEnvironment.go index 1fc4a6b104..36f5a76717 100644 --- a/sdk/go/google/notebooks/v1/getEnvironment.go +++ b/sdk/go/google/notebooks/v1/getEnvironment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Environment. @@ -82,6 +83,12 @@ func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContex return o } +func (o LookupEnvironmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEnvironmentResult] { + return pulumix.Output[LookupEnvironmentResult]{ + OutputState: o.OutputState, + } +} + // Use a container image to start the notebook instance. func (o LookupEnvironmentResultOutput) ContainerImage() ContainerImageResponseOutput { return o.ApplyT(func(v LookupEnvironmentResult) ContainerImageResponse { return v.ContainerImage }).(ContainerImageResponseOutput) diff --git a/sdk/go/google/notebooks/v1/getExecution.go b/sdk/go/google/notebooks/v1/getExecution.go index b0cf9b8991..8189cd5ac1 100644 --- a/sdk/go/google/notebooks/v1/getExecution.go +++ b/sdk/go/google/notebooks/v1/getExecution.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of executions @@ -86,6 +87,12 @@ func (o LookupExecutionResultOutput) ToLookupExecutionResultOutputWithContext(ct return o } +func (o LookupExecutionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExecutionResult] { + return pulumix.Output[LookupExecutionResult]{ + OutputState: o.OutputState, + } +} + // Time the Execution was instantiated. func (o LookupExecutionResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupExecutionResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/notebooks/v1/getInstance.go b/sdk/go/google/notebooks/v1/getInstance.go index 3c4a3fbf2e..1d63b1584a 100644 --- a/sdk/go/google/notebooks/v1/getInstance.go +++ b/sdk/go/google/notebooks/v1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Instance. @@ -140,6 +141,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // The hardware accelerator used on this instance. If you use accelerators, make sure that your configuration has [enough vCPUs and memory to support the `machine_type` you have selected](https://cloud.google.com/compute/docs/gpus/#gpus-list). func (o LookupInstanceResultOutput) AcceleratorConfig() AcceleratorConfigResponseOutput { return o.ApplyT(func(v LookupInstanceResult) AcceleratorConfigResponse { return v.AcceleratorConfig }).(AcceleratorConfigResponseOutput) diff --git a/sdk/go/google/notebooks/v1/getInstanceIamPolicy.go b/sdk/go/google/notebooks/v1/getInstanceIamPolicy.go index fd67ff985e..d6cc3c0af4 100644 --- a/sdk/go/google/notebooks/v1/getInstanceIamPolicy.go +++ b/sdk/go/google/notebooks/v1/getInstanceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutp return o } +func (o LookupInstanceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceIamPolicyResult] { + return pulumix.Output[LookupInstanceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupInstanceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupInstanceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/notebooks/v1/getRuntime.go b/sdk/go/google/notebooks/v1/getRuntime.go index f35b64517a..f97a04c7cf 100644 --- a/sdk/go/google/notebooks/v1/getRuntime.go +++ b/sdk/go/google/notebooks/v1/getRuntime.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Runtime. The location must be a regional endpoint rather than zonal. @@ -88,6 +89,12 @@ func (o LookupRuntimeResultOutput) ToLookupRuntimeResultOutputWithContext(ctx co return o } +func (o LookupRuntimeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRuntimeResult] { + return pulumix.Output[LookupRuntimeResult]{ + OutputState: o.OutputState, + } +} + // The config settings for accessing runtime. func (o LookupRuntimeResultOutput) AccessConfig() RuntimeAccessConfigResponseOutput { return o.ApplyT(func(v LookupRuntimeResult) RuntimeAccessConfigResponse { return v.AccessConfig }).(RuntimeAccessConfigResponseOutput) diff --git a/sdk/go/google/notebooks/v1/getRuntimeIamPolicy.go b/sdk/go/google/notebooks/v1/getRuntimeIamPolicy.go index 09d1c1c2d3..9c2d70234f 100644 --- a/sdk/go/google/notebooks/v1/getRuntimeIamPolicy.go +++ b/sdk/go/google/notebooks/v1/getRuntimeIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutput return o } +func (o LookupRuntimeIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRuntimeIamPolicyResult] { + return pulumix.Output[LookupRuntimeIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupRuntimeIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRuntimeIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/notebooks/v1/getSchedule.go b/sdk/go/google/notebooks/v1/getSchedule.go index 2599795d58..856dfaee2b 100644 --- a/sdk/go/google/notebooks/v1/getSchedule.go +++ b/sdk/go/google/notebooks/v1/getSchedule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of schedule @@ -87,6 +88,12 @@ func (o LookupScheduleResultOutput) ToLookupScheduleResultOutputWithContext(ctx return o } +func (o LookupScheduleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupScheduleResult] { + return pulumix.Output[LookupScheduleResult]{ + OutputState: o.OutputState, + } +} + // Time the schedule was created. func (o LookupScheduleResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupScheduleResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/notebooks/v1/instance.go b/sdk/go/google/notebooks/v1/instance.go index e89f991c04..a5caa66791 100644 --- a/sdk/go/google/notebooks/v1/instance.go +++ b/sdk/go/google/notebooks/v1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Instance in a given project and location. @@ -300,6 +301,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -314,6 +321,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // The hardware accelerator used on this instance. If you use accelerators, make sure that your configuration has [enough vCPUs and memory to support the `machine_type` you have selected](https://cloud.google.com/compute/docs/gpus/#gpus-list). func (o InstanceOutput) AcceleratorConfig() AcceleratorConfigResponseOutput { return o.ApplyT(func(v *Instance) AcceleratorConfigResponseOutput { return v.AcceleratorConfig }).(AcceleratorConfigResponseOutput) diff --git a/sdk/go/google/notebooks/v1/instanceIamBinding.go b/sdk/go/google/notebooks/v1/instanceIamBinding.go index 43d38ca6c1..a61295792e 100644 --- a/sdk/go/google/notebooks/v1/instanceIamBinding.go +++ b/sdk/go/google/notebooks/v1/instanceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceIamBindingOutput) } +func (i *InstanceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: i.ToInstanceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx cont return o } +func (o InstanceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/notebooks/v1/instanceIamMember.go b/sdk/go/google/notebooks/v1/instanceIamMember.go index 39a4e332e6..b91a75181a 100644 --- a/sdk/go/google/notebooks/v1/instanceIamMember.go +++ b/sdk/go/google/notebooks/v1/instanceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamMemberOutput) } +func (i *InstanceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: i.ToInstanceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx contex return o } +func (o InstanceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/notebooks/v1/instanceIamPolicy.go b/sdk/go/google/notebooks/v1/instanceIamPolicy.go index edc21e76e8..efa51bf77d 100644 --- a/sdk/go/google/notebooks/v1/instanceIamPolicy.go +++ b/sdk/go/google/notebooks/v1/instanceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamPolicyOutput) } +func (i *InstanceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: i.ToInstanceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx contex return o } +func (o InstanceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o InstanceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *InstanceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/notebooks/v1/pulumiEnums.go b/sdk/go/google/notebooks/v1/pulumiEnums.go index 3c41bcf76a..a8cdc78a9d 100644 --- a/sdk/go/google/notebooks/v1/pulumiEnums.go +++ b/sdk/go/google/notebooks/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Type of this accelerator. @@ -100,6 +101,12 @@ func (o AcceleratorConfigTypeOutput) ToAcceleratorConfigTypePtrOutputWithContext }).(AcceleratorConfigTypePtrOutput) } +func (o AcceleratorConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigType] { + return pulumix.Output[AcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -135,6 +142,12 @@ func (o AcceleratorConfigTypePtrOutput) ToAcceleratorConfigTypePtrOutputWithCont return o } +func (o AcceleratorConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfigType] { + return pulumix.Output[*AcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigTypePtrOutput) Elem() AcceleratorConfigTypeOutput { return o.ApplyT(func(v *AcceleratorConfigType) AcceleratorConfigType { if v != nil { @@ -197,6 +210,12 @@ func (in *acceleratorConfigTypePtr) ToAcceleratorConfigTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AcceleratorConfigTypePtrOutput) } +func (in *acceleratorConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfigType] { + return pulumix.Output[*AcceleratorConfigType]{ + OutputState: in.ToAcceleratorConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of Job to be used on this execution. type ExecutionTemplateJobType string @@ -269,6 +288,12 @@ func (o ExecutionTemplateJobTypeOutput) ToExecutionTemplateJobTypePtrOutputWithC }).(ExecutionTemplateJobTypePtrOutput) } +func (o ExecutionTemplateJobTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionTemplateJobType] { + return pulumix.Output[ExecutionTemplateJobType]{ + OutputState: o.OutputState, + } +} + func (o ExecutionTemplateJobTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -304,6 +329,12 @@ func (o ExecutionTemplateJobTypePtrOutput) ToExecutionTemplateJobTypePtrOutputWi return o } +func (o ExecutionTemplateJobTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecutionTemplateJobType] { + return pulumix.Output[*ExecutionTemplateJobType]{ + OutputState: o.OutputState, + } +} + func (o ExecutionTemplateJobTypePtrOutput) Elem() ExecutionTemplateJobTypeOutput { return o.ApplyT(func(v *ExecutionTemplateJobType) ExecutionTemplateJobType { if v != nil { @@ -366,6 +397,12 @@ func (in *executionTemplateJobTypePtr) ToExecutionTemplateJobTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ExecutionTemplateJobTypePtrOutput) } +func (in *executionTemplateJobTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ExecutionTemplateJobType] { + return pulumix.Output[*ExecutionTemplateJobType]{ + OutputState: in.ToExecutionTemplateJobTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Scale tier of the hardware used for notebook execution. DEPRECATED Will be discontinued. As right now only CUSTOM is supported. type ExecutionTemplateScaleTier string @@ -446,6 +483,12 @@ func (o ExecutionTemplateScaleTierOutput) ToExecutionTemplateScaleTierPtrOutputW }).(ExecutionTemplateScaleTierPtrOutput) } +func (o ExecutionTemplateScaleTierOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionTemplateScaleTier] { + return pulumix.Output[ExecutionTemplateScaleTier]{ + OutputState: o.OutputState, + } +} + func (o ExecutionTemplateScaleTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -481,6 +524,12 @@ func (o ExecutionTemplateScaleTierPtrOutput) ToExecutionTemplateScaleTierPtrOutp return o } +func (o ExecutionTemplateScaleTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecutionTemplateScaleTier] { + return pulumix.Output[*ExecutionTemplateScaleTier]{ + OutputState: o.OutputState, + } +} + func (o ExecutionTemplateScaleTierPtrOutput) Elem() ExecutionTemplateScaleTierOutput { return o.ApplyT(func(v *ExecutionTemplateScaleTier) ExecutionTemplateScaleTier { if v != nil { @@ -543,6 +592,12 @@ func (in *executionTemplateScaleTierPtr) ToExecutionTemplateScaleTierPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(ExecutionTemplateScaleTierPtrOutput) } +func (in *executionTemplateScaleTierPtr) ToOutput(ctx context.Context) pulumix.Output[*ExecutionTemplateScaleTier] { + return pulumix.Output[*ExecutionTemplateScaleTier]{ + OutputState: in.ToExecutionTemplateScaleTierPtrOutputWithContext(ctx).OutputState, + } +} + // Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`). type InstanceBootDiskType string @@ -619,6 +674,12 @@ func (o InstanceBootDiskTypeOutput) ToInstanceBootDiskTypePtrOutputWithContext(c }).(InstanceBootDiskTypePtrOutput) } +func (o InstanceBootDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceBootDiskType] { + return pulumix.Output[InstanceBootDiskType]{ + OutputState: o.OutputState, + } +} + func (o InstanceBootDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -654,6 +715,12 @@ func (o InstanceBootDiskTypePtrOutput) ToInstanceBootDiskTypePtrOutputWithContex return o } +func (o InstanceBootDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceBootDiskType] { + return pulumix.Output[*InstanceBootDiskType]{ + OutputState: o.OutputState, + } +} + func (o InstanceBootDiskTypePtrOutput) Elem() InstanceBootDiskTypeOutput { return o.ApplyT(func(v *InstanceBootDiskType) InstanceBootDiskType { if v != nil { @@ -716,6 +783,12 @@ func (in *instanceBootDiskTypePtr) ToInstanceBootDiskTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InstanceBootDiskTypePtrOutput) } +func (in *instanceBootDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceBootDiskType] { + return pulumix.Output[*InstanceBootDiskType]{ + OutputState: in.ToInstanceBootDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // Input only. The type of the data disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`). type InstanceDataDiskType string @@ -792,6 +865,12 @@ func (o InstanceDataDiskTypeOutput) ToInstanceDataDiskTypePtrOutputWithContext(c }).(InstanceDataDiskTypePtrOutput) } +func (o InstanceDataDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceDataDiskType] { + return pulumix.Output[InstanceDataDiskType]{ + OutputState: o.OutputState, + } +} + func (o InstanceDataDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -827,6 +906,12 @@ func (o InstanceDataDiskTypePtrOutput) ToInstanceDataDiskTypePtrOutputWithContex return o } +func (o InstanceDataDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceDataDiskType] { + return pulumix.Output[*InstanceDataDiskType]{ + OutputState: o.OutputState, + } +} + func (o InstanceDataDiskTypePtrOutput) Elem() InstanceDataDiskTypeOutput { return o.ApplyT(func(v *InstanceDataDiskType) InstanceDataDiskType { if v != nil { @@ -889,6 +974,12 @@ func (in *instanceDataDiskTypePtr) ToInstanceDataDiskTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InstanceDataDiskTypePtrOutput) } +func (in *instanceDataDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceDataDiskType] { + return pulumix.Output[*InstanceDataDiskType]{ + OutputState: in.ToInstanceDataDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // Input only. Disk encryption method used on the boot and data disks, defaults to GMEK. type InstanceDiskEncryption string @@ -961,6 +1052,12 @@ func (o InstanceDiskEncryptionOutput) ToInstanceDiskEncryptionPtrOutputWithConte }).(InstanceDiskEncryptionPtrOutput) } +func (o InstanceDiskEncryptionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceDiskEncryption] { + return pulumix.Output[InstanceDiskEncryption]{ + OutputState: o.OutputState, + } +} + func (o InstanceDiskEncryptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -996,6 +1093,12 @@ func (o InstanceDiskEncryptionPtrOutput) ToInstanceDiskEncryptionPtrOutputWithCo return o } +func (o InstanceDiskEncryptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceDiskEncryption] { + return pulumix.Output[*InstanceDiskEncryption]{ + OutputState: o.OutputState, + } +} + func (o InstanceDiskEncryptionPtrOutput) Elem() InstanceDiskEncryptionOutput { return o.ApplyT(func(v *InstanceDiskEncryption) InstanceDiskEncryption { if v != nil { @@ -1058,6 +1161,12 @@ func (in *instanceDiskEncryptionPtr) ToInstanceDiskEncryptionPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(InstanceDiskEncryptionPtrOutput) } +func (in *instanceDiskEncryptionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceDiskEncryption] { + return pulumix.Output[*InstanceDiskEncryption]{ + OutputState: in.ToInstanceDiskEncryptionPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. type InstanceNicType string @@ -1130,6 +1239,12 @@ func (o InstanceNicTypeOutput) ToInstanceNicTypePtrOutputWithContext(ctx context }).(InstanceNicTypePtrOutput) } +func (o InstanceNicTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceNicType] { + return pulumix.Output[InstanceNicType]{ + OutputState: o.OutputState, + } +} + func (o InstanceNicTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1165,6 +1280,12 @@ func (o InstanceNicTypePtrOutput) ToInstanceNicTypePtrOutputWithContext(ctx cont return o } +func (o InstanceNicTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceNicType] { + return pulumix.Output[*InstanceNicType]{ + OutputState: o.OutputState, + } +} + func (o InstanceNicTypePtrOutput) Elem() InstanceNicTypeOutput { return o.ApplyT(func(v *InstanceNicType) InstanceNicType { if v != nil { @@ -1227,6 +1348,12 @@ func (in *instanceNicTypePtr) ToInstanceNicTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(InstanceNicTypePtrOutput) } +func (in *instanceNicTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceNicType] { + return pulumix.Output[*InstanceNicType]{ + OutputState: in.ToInstanceNicTypePtrOutputWithContext(ctx).OutputState, + } +} + // Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (`PD_STANDARD`). type LocalDiskInitializeParamsDiskType string @@ -1303,6 +1430,12 @@ func (o LocalDiskInitializeParamsDiskTypeOutput) ToLocalDiskInitializeParamsDisk }).(LocalDiskInitializeParamsDiskTypePtrOutput) } +func (o LocalDiskInitializeParamsDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDiskInitializeParamsDiskType] { + return pulumix.Output[LocalDiskInitializeParamsDiskType]{ + OutputState: o.OutputState, + } +} + func (o LocalDiskInitializeParamsDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1338,6 +1471,12 @@ func (o LocalDiskInitializeParamsDiskTypePtrOutput) ToLocalDiskInitializeParamsD return o } +func (o LocalDiskInitializeParamsDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocalDiskInitializeParamsDiskType] { + return pulumix.Output[*LocalDiskInitializeParamsDiskType]{ + OutputState: o.OutputState, + } +} + func (o LocalDiskInitializeParamsDiskTypePtrOutput) Elem() LocalDiskInitializeParamsDiskTypeOutput { return o.ApplyT(func(v *LocalDiskInitializeParamsDiskType) LocalDiskInitializeParamsDiskType { if v != nil { @@ -1400,6 +1539,12 @@ func (in *localDiskInitializeParamsDiskTypePtr) ToLocalDiskInitializeParamsDiskT return pulumi.ToOutputWithContext(ctx, in).(LocalDiskInitializeParamsDiskTypePtrOutput) } +func (in *localDiskInitializeParamsDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*LocalDiskInitializeParamsDiskType] { + return pulumix.Output[*LocalDiskInitializeParamsDiskType]{ + OutputState: in.ToLocalDiskInitializeParamsDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Type of reservation to consume type ReservationAffinityConsumeReservationType string @@ -1474,6 +1619,12 @@ func (o ReservationAffinityConsumeReservationTypeOutput) ToReservationAffinityCo }).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (o ReservationAffinityConsumeReservationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityConsumeReservationType] { + return pulumix.Output[ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1509,6 +1660,12 @@ func (o ReservationAffinityConsumeReservationTypePtrOutput) ToReservationAffinit return o } +func (o ReservationAffinityConsumeReservationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityConsumeReservationTypePtrOutput) Elem() ReservationAffinityConsumeReservationTypeOutput { return o.ApplyT(func(v *ReservationAffinityConsumeReservationType) ReservationAffinityConsumeReservationType { if v != nil { @@ -1571,6 +1728,12 @@ func (in *reservationAffinityConsumeReservationTypePtr) ToReservationAffinityCon return pulumi.ToOutputWithContext(ctx, in).(ReservationAffinityConsumeReservationTypePtrOutput) } +func (in *reservationAffinityConsumeReservationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinityConsumeReservationType] { + return pulumix.Output[*ReservationAffinityConsumeReservationType]{ + OutputState: in.ToReservationAffinityConsumeReservationTypePtrOutputWithContext(ctx).OutputState, + } +} + // Accelerator model. type RuntimeAcceleratorConfigType string @@ -1661,6 +1824,12 @@ func (o RuntimeAcceleratorConfigTypeOutput) ToRuntimeAcceleratorConfigTypePtrOut }).(RuntimeAcceleratorConfigTypePtrOutput) } +func (o RuntimeAcceleratorConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeAcceleratorConfigType] { + return pulumix.Output[RuntimeAcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o RuntimeAcceleratorConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1696,6 +1865,12 @@ func (o RuntimeAcceleratorConfigTypePtrOutput) ToRuntimeAcceleratorConfigTypePtr return o } +func (o RuntimeAcceleratorConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeAcceleratorConfigType] { + return pulumix.Output[*RuntimeAcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o RuntimeAcceleratorConfigTypePtrOutput) Elem() RuntimeAcceleratorConfigTypeOutput { return o.ApplyT(func(v *RuntimeAcceleratorConfigType) RuntimeAcceleratorConfigType { if v != nil { @@ -1758,6 +1933,12 @@ func (in *runtimeAcceleratorConfigTypePtr) ToRuntimeAcceleratorConfigTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(RuntimeAcceleratorConfigTypePtrOutput) } +func (in *runtimeAcceleratorConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RuntimeAcceleratorConfigType] { + return pulumix.Output[*RuntimeAcceleratorConfigType]{ + OutputState: in.ToRuntimeAcceleratorConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of access mode this instance. type RuntimeAccessConfigAccessType string @@ -1830,6 +2011,12 @@ func (o RuntimeAccessConfigAccessTypeOutput) ToRuntimeAccessConfigAccessTypePtrO }).(RuntimeAccessConfigAccessTypePtrOutput) } +func (o RuntimeAccessConfigAccessTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeAccessConfigAccessType] { + return pulumix.Output[RuntimeAccessConfigAccessType]{ + OutputState: o.OutputState, + } +} + func (o RuntimeAccessConfigAccessTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1865,6 +2052,12 @@ func (o RuntimeAccessConfigAccessTypePtrOutput) ToRuntimeAccessConfigAccessTypeP return o } +func (o RuntimeAccessConfigAccessTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeAccessConfigAccessType] { + return pulumix.Output[*RuntimeAccessConfigAccessType]{ + OutputState: o.OutputState, + } +} + func (o RuntimeAccessConfigAccessTypePtrOutput) Elem() RuntimeAccessConfigAccessTypeOutput { return o.ApplyT(func(v *RuntimeAccessConfigAccessType) RuntimeAccessConfigAccessType { if v != nil { @@ -1927,6 +2120,12 @@ func (in *runtimeAccessConfigAccessTypePtr) ToRuntimeAccessConfigAccessTypePtrOu return pulumi.ToOutputWithContext(ctx, in).(RuntimeAccessConfigAccessTypePtrOutput) } +func (in *runtimeAccessConfigAccessTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RuntimeAccessConfigAccessType] { + return pulumix.Output[*RuntimeAccessConfigAccessType]{ + OutputState: in.ToRuntimeAccessConfigAccessTypePtrOutputWithContext(ctx).OutputState, + } +} + // Behavior for the post startup script. type RuntimeSoftwareConfigPostStartupScriptBehavior string @@ -1999,6 +2198,12 @@ func (o RuntimeSoftwareConfigPostStartupScriptBehaviorOutput) ToRuntimeSoftwareC }).(RuntimeSoftwareConfigPostStartupScriptBehaviorPtrOutput) } +func (o RuntimeSoftwareConfigPostStartupScriptBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeSoftwareConfigPostStartupScriptBehavior] { + return pulumix.Output[RuntimeSoftwareConfigPostStartupScriptBehavior]{ + OutputState: o.OutputState, + } +} + func (o RuntimeSoftwareConfigPostStartupScriptBehaviorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2034,6 +2239,12 @@ func (o RuntimeSoftwareConfigPostStartupScriptBehaviorPtrOutput) ToRuntimeSoftwa return o } +func (o RuntimeSoftwareConfigPostStartupScriptBehaviorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeSoftwareConfigPostStartupScriptBehavior] { + return pulumix.Output[*RuntimeSoftwareConfigPostStartupScriptBehavior]{ + OutputState: o.OutputState, + } +} + func (o RuntimeSoftwareConfigPostStartupScriptBehaviorPtrOutput) Elem() RuntimeSoftwareConfigPostStartupScriptBehaviorOutput { return o.ApplyT(func(v *RuntimeSoftwareConfigPostStartupScriptBehavior) RuntimeSoftwareConfigPostStartupScriptBehavior { if v != nil { @@ -2096,6 +2307,12 @@ func (in *runtimeSoftwareConfigPostStartupScriptBehaviorPtr) ToRuntimeSoftwareCo return pulumi.ToOutputWithContext(ctx, in).(RuntimeSoftwareConfigPostStartupScriptBehaviorPtrOutput) } +func (in *runtimeSoftwareConfigPostStartupScriptBehaviorPtr) ToOutput(ctx context.Context) pulumix.Output[*RuntimeSoftwareConfigPostStartupScriptBehavior] { + return pulumix.Output[*RuntimeSoftwareConfigPostStartupScriptBehavior]{ + OutputState: in.ToRuntimeSoftwareConfigPostStartupScriptBehaviorPtrOutputWithContext(ctx).OutputState, + } +} + type ScheduleStateEnum string const ( @@ -2175,6 +2392,12 @@ func (o ScheduleStateEnumOutput) ToScheduleStateEnumPtrOutputWithContext(ctx con }).(ScheduleStateEnumPtrOutput) } +func (o ScheduleStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduleStateEnum] { + return pulumix.Output[ScheduleStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ScheduleStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2210,6 +2433,12 @@ func (o ScheduleStateEnumPtrOutput) ToScheduleStateEnumPtrOutputWithContext(ctx return o } +func (o ScheduleStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScheduleStateEnum] { + return pulumix.Output[*ScheduleStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ScheduleStateEnumPtrOutput) Elem() ScheduleStateEnumOutput { return o.ApplyT(func(v *ScheduleStateEnum) ScheduleStateEnum { if v != nil { @@ -2272,6 +2501,12 @@ func (in *scheduleStateEnumPtr) ToScheduleStateEnumPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(ScheduleStateEnumPtrOutput) } +func (in *scheduleStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*ScheduleStateEnum] { + return pulumix.Output[*ScheduleStateEnum]{ + OutputState: in.ToScheduleStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Type of this accelerator. type SchedulerAcceleratorConfigType string @@ -2356,6 +2591,12 @@ func (o SchedulerAcceleratorConfigTypeOutput) ToSchedulerAcceleratorConfigTypePt }).(SchedulerAcceleratorConfigTypePtrOutput) } +func (o SchedulerAcceleratorConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulerAcceleratorConfigType] { + return pulumix.Output[SchedulerAcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o SchedulerAcceleratorConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2391,6 +2632,12 @@ func (o SchedulerAcceleratorConfigTypePtrOutput) ToSchedulerAcceleratorConfigTyp return o } +func (o SchedulerAcceleratorConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulerAcceleratorConfigType] { + return pulumix.Output[*SchedulerAcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o SchedulerAcceleratorConfigTypePtrOutput) Elem() SchedulerAcceleratorConfigTypeOutput { return o.ApplyT(func(v *SchedulerAcceleratorConfigType) SchedulerAcceleratorConfigType { if v != nil { @@ -2453,6 +2700,12 @@ func (in *schedulerAcceleratorConfigTypePtr) ToSchedulerAcceleratorConfigTypePtr return pulumi.ToOutputWithContext(ctx, in).(SchedulerAcceleratorConfigTypePtrOutput) } +func (in *schedulerAcceleratorConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulerAcceleratorConfigType] { + return pulumix.Output[*SchedulerAcceleratorConfigType]{ + OutputState: in.ToSchedulerAcceleratorConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // Action. Rolloback or Upgrade. type UpgradeHistoryEntryAction string @@ -2525,6 +2778,12 @@ func (o UpgradeHistoryEntryActionOutput) ToUpgradeHistoryEntryActionPtrOutputWit }).(UpgradeHistoryEntryActionPtrOutput) } +func (o UpgradeHistoryEntryActionOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeHistoryEntryAction] { + return pulumix.Output[UpgradeHistoryEntryAction]{ + OutputState: o.OutputState, + } +} + func (o UpgradeHistoryEntryActionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2560,6 +2819,12 @@ func (o UpgradeHistoryEntryActionPtrOutput) ToUpgradeHistoryEntryActionPtrOutput return o } +func (o UpgradeHistoryEntryActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeHistoryEntryAction] { + return pulumix.Output[*UpgradeHistoryEntryAction]{ + OutputState: o.OutputState, + } +} + func (o UpgradeHistoryEntryActionPtrOutput) Elem() UpgradeHistoryEntryActionOutput { return o.ApplyT(func(v *UpgradeHistoryEntryAction) UpgradeHistoryEntryAction { if v != nil { @@ -2622,6 +2887,12 @@ func (in *upgradeHistoryEntryActionPtr) ToUpgradeHistoryEntryActionPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(UpgradeHistoryEntryActionPtrOutput) } +func (in *upgradeHistoryEntryActionPtr) ToOutput(ctx context.Context) pulumix.Output[*UpgradeHistoryEntryAction] { + return pulumix.Output[*UpgradeHistoryEntryAction]{ + OutputState: in.ToUpgradeHistoryEntryActionPtrOutputWithContext(ctx).OutputState, + } +} + // The state of this instance upgrade history entry. type UpgradeHistoryEntryState string @@ -2696,6 +2967,12 @@ func (o UpgradeHistoryEntryStateOutput) ToUpgradeHistoryEntryStatePtrOutputWithC }).(UpgradeHistoryEntryStatePtrOutput) } +func (o UpgradeHistoryEntryStateOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeHistoryEntryState] { + return pulumix.Output[UpgradeHistoryEntryState]{ + OutputState: o.OutputState, + } +} + func (o UpgradeHistoryEntryStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2731,6 +3008,12 @@ func (o UpgradeHistoryEntryStatePtrOutput) ToUpgradeHistoryEntryStatePtrOutputWi return o } +func (o UpgradeHistoryEntryStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UpgradeHistoryEntryState] { + return pulumix.Output[*UpgradeHistoryEntryState]{ + OutputState: o.OutputState, + } +} + func (o UpgradeHistoryEntryStatePtrOutput) Elem() UpgradeHistoryEntryStateOutput { return o.ApplyT(func(v *UpgradeHistoryEntryState) UpgradeHistoryEntryState { if v != nil { @@ -2793,6 +3076,12 @@ func (in *upgradeHistoryEntryStatePtr) ToUpgradeHistoryEntryStatePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(UpgradeHistoryEntryStatePtrOutput) } +func (in *upgradeHistoryEntryStatePtr) ToOutput(ctx context.Context) pulumix.Output[*UpgradeHistoryEntryState] { + return pulumix.Output[*UpgradeHistoryEntryState]{ + OutputState: in.ToUpgradeHistoryEntryStatePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. type VirtualMachineConfigNicType string @@ -2865,6 +3154,12 @@ func (o VirtualMachineConfigNicTypeOutput) ToVirtualMachineConfigNicTypePtrOutpu }).(VirtualMachineConfigNicTypePtrOutput) } +func (o VirtualMachineConfigNicTypeOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualMachineConfigNicType] { + return pulumix.Output[VirtualMachineConfigNicType]{ + OutputState: o.OutputState, + } +} + func (o VirtualMachineConfigNicTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2900,6 +3195,12 @@ func (o VirtualMachineConfigNicTypePtrOutput) ToVirtualMachineConfigNicTypePtrOu return o } +func (o VirtualMachineConfigNicTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachineConfigNicType] { + return pulumix.Output[*VirtualMachineConfigNicType]{ + OutputState: o.OutputState, + } +} + func (o VirtualMachineConfigNicTypePtrOutput) Elem() VirtualMachineConfigNicTypeOutput { return o.ApplyT(func(v *VirtualMachineConfigNicType) VirtualMachineConfigNicType { if v != nil { @@ -2962,6 +3263,12 @@ func (in *virtualMachineConfigNicTypePtr) ToVirtualMachineConfigNicTypePtrOutput return pulumi.ToOutputWithContext(ctx, in).(VirtualMachineConfigNicTypePtrOutput) } +func (in *virtualMachineConfigNicTypePtr) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachineConfigNicType] { + return pulumix.Output[*VirtualMachineConfigNicType]{ + OutputState: in.ToVirtualMachineConfigNicTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AcceleratorConfigTypeInput)(nil)).Elem(), AcceleratorConfigType("ACCELERATOR_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AcceleratorConfigTypePtrInput)(nil)).Elem(), AcceleratorConfigType("ACCELERATOR_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/notebooks/v1/pulumiTypes.go b/sdk/go/google/notebooks/v1/pulumiTypes.go index 1b6026261d..2410c3f75f 100644 --- a/sdk/go/google/notebooks/v1/pulumiTypes.go +++ b/sdk/go/google/notebooks/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AcceleratorConfigArgs) ToAcceleratorConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigOutput) } +func (i AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + func (i AcceleratorConfigArgs) ToAcceleratorConfigPtrOutput() AcceleratorConfigPtrOutput { return i.ToAcceleratorConfigPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *acceleratorConfigPtrType) ToAcceleratorConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigPtrOutput) } +func (i *acceleratorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfig] { + return pulumix.Output[*AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Definition of a hardware accelerator. Note that not all combinations of `type` and `core_count` are valid. Check [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a valid combination. TPUs are not supported. type AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AcceleratorConfigOutput) ToAcceleratorConfigPtrOutputWithContext(ctx con }).(AcceleratorConfigPtrOutput) } +func (o AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // Count of cores of this accelerator. func (o AcceleratorConfigOutput) CoreCount() pulumi.StringPtrOutput { return o.ApplyT(func(v AcceleratorConfig) *string { return v.CoreCount }).(pulumi.StringPtrOutput) @@ -142,6 +161,12 @@ func (o AcceleratorConfigPtrOutput) ToAcceleratorConfigPtrOutputWithContext(ctx return o } +func (o AcceleratorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfig] { + return pulumix.Output[*AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigPtrOutput) Elem() AcceleratorConfigOutput { return o.ApplyT(func(v *AcceleratorConfig) AcceleratorConfig { if v != nil { @@ -195,6 +220,12 @@ func (o AcceleratorConfigResponseOutput) ToAcceleratorConfigResponseOutputWithCo return o } +func (o AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigResponse] { + return pulumix.Output[AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // Count of cores of this accelerator. func (o AcceleratorConfigResponseOutput) CoreCount() pulumi.StringOutput { return o.ApplyT(func(v AcceleratorConfigResponse) string { return v.CoreCount }).(pulumi.StringOutput) @@ -248,6 +279,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -273,6 +310,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -288,6 +331,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -317,6 +366,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -348,6 +403,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -377,6 +438,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -414,6 +481,12 @@ func (i BootImageArgs) ToBootImageOutputWithContext(ctx context.Context) BootIma return pulumi.ToOutputWithContext(ctx, i).(BootImageOutput) } +func (i BootImageArgs) ToOutput(ctx context.Context) pulumix.Output[BootImage] { + return pulumix.Output[BootImage]{ + OutputState: i.ToBootImageOutputWithContext(ctx).OutputState, + } +} + func (i BootImageArgs) ToBootImagePtrOutput() BootImagePtrOutput { return i.ToBootImagePtrOutputWithContext(context.Background()) } @@ -455,6 +528,12 @@ func (i *bootImagePtrType) ToBootImagePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BootImagePtrOutput) } +func (i *bootImagePtrType) ToOutput(ctx context.Context) pulumix.Output[*BootImage] { + return pulumix.Output[*BootImage]{ + OutputState: i.ToBootImagePtrOutputWithContext(ctx).OutputState, + } +} + // Definition of the boot image used by the Runtime. Used to facilitate runtime upgradeability. type BootImageOutput struct{ *pulumi.OutputState } @@ -480,6 +559,12 @@ func (o BootImageOutput) ToBootImagePtrOutputWithContext(ctx context.Context) Bo }).(BootImagePtrOutput) } +func (o BootImageOutput) ToOutput(ctx context.Context) pulumix.Output[BootImage] { + return pulumix.Output[BootImage]{ + OutputState: o.OutputState, + } +} + type BootImagePtrOutput struct{ *pulumi.OutputState } func (BootImagePtrOutput) ElementType() reflect.Type { @@ -494,6 +579,12 @@ func (o BootImagePtrOutput) ToBootImagePtrOutputWithContext(ctx context.Context) return o } +func (o BootImagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BootImage] { + return pulumix.Output[*BootImage]{ + OutputState: o.OutputState, + } +} + func (o BootImagePtrOutput) Elem() BootImageOutput { return o.ApplyT(func(v *BootImage) BootImage { if v != nil { @@ -523,6 +614,12 @@ func (o BootImageResponseOutput) ToBootImageResponseOutputWithContext(ctx contex return o } +func (o BootImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BootImageResponse] { + return pulumix.Output[BootImageResponse]{ + OutputState: o.OutputState, + } +} + // Definition of a container image for starting a notebook instance with the environment installed in a container. type ContainerImage struct { // The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}` @@ -562,6 +659,12 @@ func (i ContainerImageArgs) ToContainerImageOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ContainerImageOutput) } +func (i ContainerImageArgs) ToOutput(ctx context.Context) pulumix.Output[ContainerImage] { + return pulumix.Output[ContainerImage]{ + OutputState: i.ToContainerImageOutputWithContext(ctx).OutputState, + } +} + func (i ContainerImageArgs) ToContainerImagePtrOutput() ContainerImagePtrOutput { return i.ToContainerImagePtrOutputWithContext(context.Background()) } @@ -603,6 +706,12 @@ func (i *containerImagePtrType) ToContainerImagePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ContainerImagePtrOutput) } +func (i *containerImagePtrType) ToOutput(ctx context.Context) pulumix.Output[*ContainerImage] { + return pulumix.Output[*ContainerImage]{ + OutputState: i.ToContainerImagePtrOutputWithContext(ctx).OutputState, + } +} + // ContainerImageArrayInput is an input type that accepts ContainerImageArray and ContainerImageArrayOutput values. // You can construct a concrete instance of `ContainerImageArrayInput` via: // @@ -628,6 +737,12 @@ func (i ContainerImageArray) ToContainerImageArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ContainerImageArrayOutput) } +func (i ContainerImageArray) ToOutput(ctx context.Context) pulumix.Output[[]ContainerImage] { + return pulumix.Output[[]ContainerImage]{ + OutputState: i.ToContainerImageArrayOutputWithContext(ctx).OutputState, + } +} + // Definition of a container image for starting a notebook instance with the environment installed in a container. type ContainerImageOutput struct{ *pulumi.OutputState } @@ -653,6 +768,12 @@ func (o ContainerImageOutput) ToContainerImagePtrOutputWithContext(ctx context.C }).(ContainerImagePtrOutput) } +func (o ContainerImageOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerImage] { + return pulumix.Output[ContainerImage]{ + OutputState: o.OutputState, + } +} + // The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}` func (o ContainerImageOutput) Repository() pulumi.StringOutput { return o.ApplyT(func(v ContainerImage) string { return v.Repository }).(pulumi.StringOutput) @@ -677,6 +798,12 @@ func (o ContainerImagePtrOutput) ToContainerImagePtrOutputWithContext(ctx contex return o } +func (o ContainerImagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ContainerImage] { + return pulumix.Output[*ContainerImage]{ + OutputState: o.OutputState, + } +} + func (o ContainerImagePtrOutput) Elem() ContainerImageOutput { return o.ApplyT(func(v *ContainerImage) ContainerImage { if v != nil { @@ -721,6 +848,12 @@ func (o ContainerImageArrayOutput) ToContainerImageArrayOutputWithContext(ctx co return o } +func (o ContainerImageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ContainerImage] { + return pulumix.Output[[]ContainerImage]{ + OutputState: o.OutputState, + } +} + func (o ContainerImageArrayOutput) Index(i pulumi.IntInput) ContainerImageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerImage { return vs[0].([]ContainerImage)[vs[1].(int)] @@ -750,6 +883,12 @@ func (o ContainerImageResponseOutput) ToContainerImageResponseOutputWithContext( return o } +func (o ContainerImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerImageResponse] { + return pulumix.Output[ContainerImageResponse]{ + OutputState: o.OutputState, + } +} + // The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}` func (o ContainerImageResponseOutput) Repository() pulumi.StringOutput { return o.ApplyT(func(v ContainerImageResponse) string { return v.Repository }).(pulumi.StringOutput) @@ -774,6 +913,12 @@ func (o ContainerImageResponseArrayOutput) ToContainerImageResponseArrayOutputWi return o } +func (o ContainerImageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ContainerImageResponse] { + return pulumix.Output[[]ContainerImageResponse]{ + OutputState: o.OutputState, + } +} + func (o ContainerImageResponseArrayOutput) Index(i pulumi.IntInput) ContainerImageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerImageResponse { return vs[0].([]ContainerImageResponse)[vs[1].(int)] @@ -815,6 +960,12 @@ func (i DataprocParametersArgs) ToDataprocParametersOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(DataprocParametersOutput) } +func (i DataprocParametersArgs) ToOutput(ctx context.Context) pulumix.Output[DataprocParameters] { + return pulumix.Output[DataprocParameters]{ + OutputState: i.ToDataprocParametersOutputWithContext(ctx).OutputState, + } +} + func (i DataprocParametersArgs) ToDataprocParametersPtrOutput() DataprocParametersPtrOutput { return i.ToDataprocParametersPtrOutputWithContext(context.Background()) } @@ -856,6 +1007,12 @@ func (i *dataprocParametersPtrType) ToDataprocParametersPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DataprocParametersPtrOutput) } +func (i *dataprocParametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*DataprocParameters] { + return pulumix.Output[*DataprocParameters]{ + OutputState: i.ToDataprocParametersPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters used in Dataproc JobType executions. type DataprocParametersOutput struct{ *pulumi.OutputState } @@ -881,6 +1038,12 @@ func (o DataprocParametersOutput) ToDataprocParametersPtrOutputWithContext(ctx c }).(DataprocParametersPtrOutput) } +func (o DataprocParametersOutput) ToOutput(ctx context.Context) pulumix.Output[DataprocParameters] { + return pulumix.Output[DataprocParameters]{ + OutputState: o.OutputState, + } +} + // URI for cluster used to run Dataproc execution. Format: `projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}` func (o DataprocParametersOutput) Cluster() pulumi.StringPtrOutput { return o.ApplyT(func(v DataprocParameters) *string { return v.Cluster }).(pulumi.StringPtrOutput) @@ -900,6 +1063,12 @@ func (o DataprocParametersPtrOutput) ToDataprocParametersPtrOutputWithContext(ct return o } +func (o DataprocParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DataprocParameters] { + return pulumix.Output[*DataprocParameters]{ + OutputState: o.OutputState, + } +} + func (o DataprocParametersPtrOutput) Elem() DataprocParametersOutput { return o.ApplyT(func(v *DataprocParameters) DataprocParameters { if v != nil { @@ -941,6 +1110,12 @@ func (o DataprocParametersResponseOutput) ToDataprocParametersResponseOutputWith return o } +func (o DataprocParametersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DataprocParametersResponse] { + return pulumix.Output[DataprocParametersResponse]{ + OutputState: o.OutputState, + } +} + // URI for cluster used to run Dataproc execution. Format: `projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}` func (o DataprocParametersResponseOutput) Cluster() pulumi.StringOutput { return o.ApplyT(func(v DataprocParametersResponse) string { return v.Cluster }).(pulumi.StringOutput) @@ -989,6 +1164,12 @@ func (o DiskResponseOutput) ToDiskResponseOutputWithContext(ctx context.Context) return o } +func (o DiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskResponse] { + return pulumix.Output[DiskResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o DiskResponseOutput) AutoDelete() pulumi.BoolOutput { return o.ApplyT(func(v DiskResponse) bool { return v.AutoDelete }).(pulumi.BoolOutput) @@ -1063,6 +1244,12 @@ func (o DiskResponseArrayOutput) ToDiskResponseArrayOutputWithContext(ctx contex return o } +func (o DiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DiskResponse] { + return pulumix.Output[[]DiskResponse]{ + OutputState: o.OutputState, + } +} + func (o DiskResponseArrayOutput) Index(i pulumi.IntInput) DiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiskResponse { return vs[0].([]DiskResponse)[vs[1].(int)] @@ -1104,6 +1291,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -1145,6 +1338,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a custom encryption key configuration that can be applied to a resource. This will encrypt all disks in Virtual Machine. type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -1170,6 +1369,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}` func (o EncryptionConfigOutput) KmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.KmsKey }).(pulumi.StringPtrOutput) @@ -1189,6 +1394,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -1230,6 +1441,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}` func (o EncryptionConfigResponseOutput) KmsKey() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.KmsKey }).(pulumi.StringOutput) @@ -1272,6 +1489,12 @@ func (o ExecutionResponseOutput) ToExecutionResponseOutputWithContext(ctx contex return o } +func (o ExecutionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionResponse] { + return pulumix.Output[ExecutionResponse]{ + OutputState: o.OutputState, + } +} + // Time the Execution was instantiated. func (o ExecutionResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v ExecutionResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -1331,6 +1554,12 @@ func (o ExecutionResponseArrayOutput) ToExecutionResponseArrayOutputWithContext( return o } +func (o ExecutionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ExecutionResponse] { + return pulumix.Output[[]ExecutionResponse]{ + OutputState: o.OutputState, + } +} + func (o ExecutionResponseArrayOutput) Index(i pulumi.IntInput) ExecutionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ExecutionResponse { return vs[0].([]ExecutionResponse)[vs[1].(int)] @@ -1432,6 +1661,12 @@ func (i ExecutionTemplateArgs) ToExecutionTemplateOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ExecutionTemplateOutput) } +func (i ExecutionTemplateArgs) ToOutput(ctx context.Context) pulumix.Output[ExecutionTemplate] { + return pulumix.Output[ExecutionTemplate]{ + OutputState: i.ToExecutionTemplateOutputWithContext(ctx).OutputState, + } +} + func (i ExecutionTemplateArgs) ToExecutionTemplatePtrOutput() ExecutionTemplatePtrOutput { return i.ToExecutionTemplatePtrOutputWithContext(context.Background()) } @@ -1473,6 +1708,12 @@ func (i *executionTemplatePtrType) ToExecutionTemplatePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ExecutionTemplatePtrOutput) } +func (i *executionTemplatePtrType) ToOutput(ctx context.Context) pulumix.Output[*ExecutionTemplate] { + return pulumix.Output[*ExecutionTemplate]{ + OutputState: i.ToExecutionTemplatePtrOutputWithContext(ctx).OutputState, + } +} + // The description a notebook execution workload. type ExecutionTemplateOutput struct{ *pulumi.OutputState } @@ -1498,6 +1739,12 @@ func (o ExecutionTemplateOutput) ToExecutionTemplatePtrOutputWithContext(ctx con }).(ExecutionTemplatePtrOutput) } +func (o ExecutionTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionTemplate] { + return pulumix.Output[ExecutionTemplate]{ + OutputState: o.OutputState, + } +} + // Configuration (count and accelerator type) for hardware running notebook execution. func (o ExecutionTemplateOutput) AcceleratorConfig() SchedulerAcceleratorConfigPtrOutput { return o.ApplyT(func(v ExecutionTemplate) *SchedulerAcceleratorConfig { return v.AcceleratorConfig }).(SchedulerAcceleratorConfigPtrOutput) @@ -1589,6 +1836,12 @@ func (o ExecutionTemplatePtrOutput) ToExecutionTemplatePtrOutputWithContext(ctx return o } +func (o ExecutionTemplatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecutionTemplate] { + return pulumix.Output[*ExecutionTemplate]{ + OutputState: o.OutputState, + } +} + func (o ExecutionTemplatePtrOutput) Elem() ExecutionTemplateOutput { return o.ApplyT(func(v *ExecutionTemplate) ExecutionTemplate { if v != nil { @@ -1802,6 +2055,12 @@ func (o ExecutionTemplateResponseOutput) ToExecutionTemplateResponseOutputWithCo return o } +func (o ExecutionTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionTemplateResponse] { + return pulumix.Output[ExecutionTemplateResponse]{ + OutputState: o.OutputState, + } +} + // Configuration (count and accelerator type) for hardware running notebook execution. func (o ExecutionTemplateResponseOutput) AcceleratorConfig() SchedulerAcceleratorConfigResponseOutput { return o.ApplyT(func(v ExecutionTemplateResponse) SchedulerAcceleratorConfigResponse { return v.AcceleratorConfig }).(SchedulerAcceleratorConfigResponseOutput) @@ -1926,6 +2185,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1967,6 +2232,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1992,6 +2263,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2026,6 +2303,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -2103,6 +2386,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2144,6 +2433,12 @@ func (o GuestOsFeatureResponseOutput) ToGuestOsFeatureResponseOutputWithContext( return o } +func (o GuestOsFeatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GuestOsFeatureResponse] { + return pulumix.Output[GuestOsFeatureResponse]{ + OutputState: o.OutputState, + } +} + // The ID of a supported feature. Read Enabling guest operating system features to see a list of available options. Valid values: * `FEATURE_TYPE_UNSPECIFIED` * `MULTI_IP_SUBNET` * `SECURE_BOOT` * `UEFI_COMPATIBLE` * `VIRTIO_SCSI_MULTIQUEUE` * `WINDOWS` func (o GuestOsFeatureResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GuestOsFeatureResponse) string { return v.Type }).(pulumi.StringOutput) @@ -2163,6 +2458,12 @@ func (o GuestOsFeatureResponseArrayOutput) ToGuestOsFeatureResponseArrayOutputWi return o } +func (o GuestOsFeatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GuestOsFeatureResponse] { + return pulumix.Output[[]GuestOsFeatureResponse]{ + OutputState: o.OutputState, + } +} + func (o GuestOsFeatureResponseArrayOutput) Index(i pulumi.IntInput) GuestOsFeatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GuestOsFeatureResponse { return vs[0].([]GuestOsFeatureResponse)[vs[1].(int)] @@ -2220,6 +2521,12 @@ func (i LocalDiskArgs) ToLocalDiskOutputWithContext(ctx context.Context) LocalDi return pulumi.ToOutputWithContext(ctx, i).(LocalDiskOutput) } +func (i LocalDiskArgs) ToOutput(ctx context.Context) pulumix.Output[LocalDisk] { + return pulumix.Output[LocalDisk]{ + OutputState: i.ToLocalDiskOutputWithContext(ctx).OutputState, + } +} + func (i LocalDiskArgs) ToLocalDiskPtrOutput() LocalDiskPtrOutput { return i.ToLocalDiskPtrOutputWithContext(context.Background()) } @@ -2261,6 +2568,12 @@ func (i *localDiskPtrType) ToLocalDiskPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LocalDiskPtrOutput) } +func (i *localDiskPtrType) ToOutput(ctx context.Context) pulumix.Output[*LocalDisk] { + return pulumix.Output[*LocalDisk]{ + OutputState: i.ToLocalDiskPtrOutputWithContext(ctx).OutputState, + } +} + // A Local attached disk resource. type LocalDiskOutput struct{ *pulumi.OutputState } @@ -2286,6 +2599,12 @@ func (o LocalDiskOutput) ToLocalDiskPtrOutputWithContext(ctx context.Context) Lo }).(LocalDiskPtrOutput) } +func (o LocalDiskOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDisk] { + return pulumix.Output[LocalDisk]{ + OutputState: o.OutputState, + } +} + // Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. func (o LocalDiskOutput) InitializeParams() LocalDiskInitializeParamsPtrOutput { return o.ApplyT(func(v LocalDisk) *LocalDiskInitializeParams { return v.InitializeParams }).(LocalDiskInitializeParamsPtrOutput) @@ -2325,6 +2644,12 @@ func (o LocalDiskPtrOutput) ToLocalDiskPtrOutputWithContext(ctx context.Context) return o } +func (o LocalDiskPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocalDisk] { + return pulumix.Output[*LocalDisk]{ + OutputState: o.OutputState, + } +} + func (o LocalDiskPtrOutput) Elem() LocalDiskOutput { return o.ApplyT(func(v *LocalDisk) LocalDisk { if v != nil { @@ -2436,6 +2761,12 @@ func (i LocalDiskInitializeParamsArgs) ToLocalDiskInitializeParamsOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(LocalDiskInitializeParamsOutput) } +func (i LocalDiskInitializeParamsArgs) ToOutput(ctx context.Context) pulumix.Output[LocalDiskInitializeParams] { + return pulumix.Output[LocalDiskInitializeParams]{ + OutputState: i.ToLocalDiskInitializeParamsOutputWithContext(ctx).OutputState, + } +} + func (i LocalDiskInitializeParamsArgs) ToLocalDiskInitializeParamsPtrOutput() LocalDiskInitializeParamsPtrOutput { return i.ToLocalDiskInitializeParamsPtrOutputWithContext(context.Background()) } @@ -2477,6 +2808,12 @@ func (i *localDiskInitializeParamsPtrType) ToLocalDiskInitializeParamsPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(LocalDiskInitializeParamsPtrOutput) } +func (i *localDiskInitializeParamsPtrType) ToOutput(ctx context.Context) pulumix.Output[*LocalDiskInitializeParams] { + return pulumix.Output[*LocalDiskInitializeParams]{ + OutputState: i.ToLocalDiskInitializeParamsPtrOutputWithContext(ctx).OutputState, + } +} + // Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new runtime. This property is mutually exclusive with the source property; you can only define one or the other, but not both. type LocalDiskInitializeParamsOutput struct{ *pulumi.OutputState } @@ -2502,6 +2839,12 @@ func (o LocalDiskInitializeParamsOutput) ToLocalDiskInitializeParamsPtrOutputWit }).(LocalDiskInitializeParamsPtrOutput) } +func (o LocalDiskInitializeParamsOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDiskInitializeParams] { + return pulumix.Output[LocalDiskInitializeParams]{ + OutputState: o.OutputState, + } +} + // Optional. Provide this property when creating the disk. func (o LocalDiskInitializeParamsOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v LocalDiskInitializeParams) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -2541,6 +2884,12 @@ func (o LocalDiskInitializeParamsPtrOutput) ToLocalDiskInitializeParamsPtrOutput return o } +func (o LocalDiskInitializeParamsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocalDiskInitializeParams] { + return pulumix.Output[*LocalDiskInitializeParams]{ + OutputState: o.OutputState, + } +} + func (o LocalDiskInitializeParamsPtrOutput) Elem() LocalDiskInitializeParamsOutput { return o.ApplyT(func(v *LocalDiskInitializeParams) LocalDiskInitializeParams { if v != nil { @@ -2630,6 +2979,12 @@ func (o LocalDiskInitializeParamsResponseOutput) ToLocalDiskInitializeParamsResp return o } +func (o LocalDiskInitializeParamsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDiskInitializeParamsResponse] { + return pulumix.Output[LocalDiskInitializeParamsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Provide this property when creating the disk. func (o LocalDiskInitializeParamsResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LocalDiskInitializeParamsResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2698,6 +3053,12 @@ func (o LocalDiskResponseOutput) ToLocalDiskResponseOutputWithContext(ctx contex return o } +func (o LocalDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalDiskResponse] { + return pulumix.Output[LocalDiskResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Output only. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). func (o LocalDiskResponseOutput) AutoDelete() pulumi.BoolOutput { return o.ApplyT(func(v LocalDiskResponse) bool { return v.AutoDelete }).(pulumi.BoolOutput) @@ -2801,6 +3162,12 @@ func (i ReservationAffinityArgs) ToReservationAffinityOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityOutput) } +func (i ReservationAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: i.ToReservationAffinityOutputWithContext(ctx).OutputState, + } +} + func (i ReservationAffinityArgs) ToReservationAffinityPtrOutput() ReservationAffinityPtrOutput { return i.ToReservationAffinityPtrOutputWithContext(context.Background()) } @@ -2842,6 +3209,12 @@ func (i *reservationAffinityPtrType) ToReservationAffinityPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ReservationAffinityPtrOutput) } +func (i *reservationAffinityPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: i.ToReservationAffinityPtrOutputWithContext(ctx).OutputState, + } +} + // Reservation Affinity for consuming Zonal reservation. type ReservationAffinityOutput struct{ *pulumi.OutputState } @@ -2867,6 +3240,12 @@ func (o ReservationAffinityOutput) ToReservationAffinityPtrOutputWithContext(ctx }).(ReservationAffinityPtrOutput) } +func (o ReservationAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinity] { + return pulumix.Output[ReservationAffinity]{ + OutputState: o.OutputState, + } +} + // Optional. Type of reservation to consume func (o ReservationAffinityOutput) ConsumeReservationType() ReservationAffinityConsumeReservationTypePtrOutput { return o.ApplyT(func(v ReservationAffinity) *ReservationAffinityConsumeReservationType { @@ -2898,6 +3277,12 @@ func (o ReservationAffinityPtrOutput) ToReservationAffinityPtrOutputWithContext( return o } +func (o ReservationAffinityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationAffinity] { + return pulumix.Output[*ReservationAffinity]{ + OutputState: o.OutputState, + } +} + func (o ReservationAffinityPtrOutput) Elem() ReservationAffinityOutput { return o.ApplyT(func(v *ReservationAffinity) ReservationAffinity { if v != nil { @@ -2963,6 +3348,12 @@ func (o ReservationAffinityResponseOutput) ToReservationAffinityResponseOutputWi return o } +func (o ReservationAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationAffinityResponse] { + return pulumix.Output[ReservationAffinityResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Type of reservation to consume func (o ReservationAffinityResponseOutput) ConsumeReservationType() pulumi.StringOutput { return o.ApplyT(func(v ReservationAffinityResponse) string { return v.ConsumeReservationType }).(pulumi.StringOutput) @@ -3017,6 +3408,12 @@ func (i RuntimeAcceleratorConfigArgs) ToRuntimeAcceleratorConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(RuntimeAcceleratorConfigOutput) } +func (i RuntimeAcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RuntimeAcceleratorConfig] { + return pulumix.Output[RuntimeAcceleratorConfig]{ + OutputState: i.ToRuntimeAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + func (i RuntimeAcceleratorConfigArgs) ToRuntimeAcceleratorConfigPtrOutput() RuntimeAcceleratorConfigPtrOutput { return i.ToRuntimeAcceleratorConfigPtrOutputWithContext(context.Background()) } @@ -3058,6 +3455,12 @@ func (i *runtimeAcceleratorConfigPtrType) ToRuntimeAcceleratorConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(RuntimeAcceleratorConfigPtrOutput) } +func (i *runtimeAcceleratorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RuntimeAcceleratorConfig] { + return pulumix.Output[*RuntimeAcceleratorConfig]{ + OutputState: i.ToRuntimeAcceleratorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Definition of the types of hardware accelerators that can be used. Definition of the types of hardware accelerators that can be used. See [Compute Engine AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes). Examples: * `nvidia-tesla-k80` * `nvidia-tesla-p100` * `nvidia-tesla-v100` * `nvidia-tesla-p4` * `nvidia-tesla-t4` * `nvidia-tesla-a100` type RuntimeAcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -3083,6 +3486,12 @@ func (o RuntimeAcceleratorConfigOutput) ToRuntimeAcceleratorConfigPtrOutputWithC }).(RuntimeAcceleratorConfigPtrOutput) } +func (o RuntimeAcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeAcceleratorConfig] { + return pulumix.Output[RuntimeAcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // Count of cores of this accelerator. func (o RuntimeAcceleratorConfigOutput) CoreCount() pulumi.StringPtrOutput { return o.ApplyT(func(v RuntimeAcceleratorConfig) *string { return v.CoreCount }).(pulumi.StringPtrOutput) @@ -3107,6 +3516,12 @@ func (o RuntimeAcceleratorConfigPtrOutput) ToRuntimeAcceleratorConfigPtrOutputWi return o } +func (o RuntimeAcceleratorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeAcceleratorConfig] { + return pulumix.Output[*RuntimeAcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o RuntimeAcceleratorConfigPtrOutput) Elem() RuntimeAcceleratorConfigOutput { return o.ApplyT(func(v *RuntimeAcceleratorConfig) RuntimeAcceleratorConfig { if v != nil { @@ -3160,6 +3575,12 @@ func (o RuntimeAcceleratorConfigResponseOutput) ToRuntimeAcceleratorConfigRespon return o } +func (o RuntimeAcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeAcceleratorConfigResponse] { + return pulumix.Output[RuntimeAcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // Count of cores of this accelerator. func (o RuntimeAcceleratorConfigResponseOutput) CoreCount() pulumi.StringOutput { return o.ApplyT(func(v RuntimeAcceleratorConfigResponse) string { return v.CoreCount }).(pulumi.StringOutput) @@ -3209,6 +3630,12 @@ func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(RuntimeAccessConfigOutput) } +func (i RuntimeAccessConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RuntimeAccessConfig] { + return pulumix.Output[RuntimeAccessConfig]{ + OutputState: i.ToRuntimeAccessConfigOutputWithContext(ctx).OutputState, + } +} + func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput { return i.ToRuntimeAccessConfigPtrOutputWithContext(context.Background()) } @@ -3250,6 +3677,12 @@ func (i *runtimeAccessConfigPtrType) ToRuntimeAccessConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(RuntimeAccessConfigPtrOutput) } +func (i *runtimeAccessConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RuntimeAccessConfig] { + return pulumix.Output[*RuntimeAccessConfig]{ + OutputState: i.ToRuntimeAccessConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the login configuration for Runtime type RuntimeAccessConfigOutput struct{ *pulumi.OutputState } @@ -3275,6 +3708,12 @@ func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutputWithContext(ctx }).(RuntimeAccessConfigPtrOutput) } +func (o RuntimeAccessConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeAccessConfig] { + return pulumix.Output[RuntimeAccessConfig]{ + OutputState: o.OutputState, + } +} + // The type of access mode this instance. func (o RuntimeAccessConfigOutput) AccessType() RuntimeAccessConfigAccessTypePtrOutput { return o.ApplyT(func(v RuntimeAccessConfig) *RuntimeAccessConfigAccessType { return v.AccessType }).(RuntimeAccessConfigAccessTypePtrOutput) @@ -3299,6 +3738,12 @@ func (o RuntimeAccessConfigPtrOutput) ToRuntimeAccessConfigPtrOutputWithContext( return o } +func (o RuntimeAccessConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeAccessConfig] { + return pulumix.Output[*RuntimeAccessConfig]{ + OutputState: o.OutputState, + } +} + func (o RuntimeAccessConfigPtrOutput) Elem() RuntimeAccessConfigOutput { return o.ApplyT(func(v *RuntimeAccessConfig) RuntimeAccessConfig { if v != nil { @@ -3354,6 +3799,12 @@ func (o RuntimeAccessConfigResponseOutput) ToRuntimeAccessConfigResponseOutputWi return o } +func (o RuntimeAccessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeAccessConfigResponse] { + return pulumix.Output[RuntimeAccessConfigResponse]{ + OutputState: o.OutputState, + } +} + // The type of access mode this instance. func (o RuntimeAccessConfigResponseOutput) AccessType() pulumi.StringOutput { return o.ApplyT(func(v RuntimeAccessConfigResponse) string { return v.AccessType }).(pulumi.StringOutput) @@ -3390,6 +3841,12 @@ func (o RuntimeGuestOsFeatureResponseOutput) ToRuntimeGuestOsFeatureResponseOutp return o } +func (o RuntimeGuestOsFeatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeGuestOsFeatureResponse] { + return pulumix.Output[RuntimeGuestOsFeatureResponse]{ + OutputState: o.OutputState, + } +} + // The ID of a supported feature. Read [Enabling guest operating system features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features) to see a list of available options. Valid values: * `FEATURE_TYPE_UNSPECIFIED` * `MULTI_IP_SUBNET` * `SECURE_BOOT` * `UEFI_COMPATIBLE` * `VIRTIO_SCSI_MULTIQUEUE` * `WINDOWS` func (o RuntimeGuestOsFeatureResponseOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v RuntimeGuestOsFeatureResponse) string { return v.Type }).(pulumi.StringOutput) @@ -3409,6 +3866,12 @@ func (o RuntimeGuestOsFeatureResponseArrayOutput) ToRuntimeGuestOsFeatureRespons return o } +func (o RuntimeGuestOsFeatureResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RuntimeGuestOsFeatureResponse] { + return pulumix.Output[[]RuntimeGuestOsFeatureResponse]{ + OutputState: o.OutputState, + } +} + func (o RuntimeGuestOsFeatureResponseArrayOutput) Index(i pulumi.IntInput) RuntimeGuestOsFeatureResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RuntimeGuestOsFeatureResponse { return vs[0].([]RuntimeGuestOsFeatureResponse)[vs[1].(int)] @@ -3436,6 +3899,12 @@ func (o RuntimeMetricsResponseOutput) ToRuntimeMetricsResponseOutputWithContext( return o } +func (o RuntimeMetricsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeMetricsResponse] { + return pulumix.Output[RuntimeMetricsResponse]{ + OutputState: o.OutputState, + } +} + // The system metrics. func (o RuntimeMetricsResponseOutput) SystemMetrics() pulumi.StringMapOutput { return o.ApplyT(func(v RuntimeMetricsResponse) map[string]string { return v.SystemMetrics }).(pulumi.StringMapOutput) @@ -3484,6 +3953,12 @@ func (i RuntimeShieldedInstanceConfigArgs) ToRuntimeShieldedInstanceConfigOutput return pulumi.ToOutputWithContext(ctx, i).(RuntimeShieldedInstanceConfigOutput) } +func (i RuntimeShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RuntimeShieldedInstanceConfig] { + return pulumix.Output[RuntimeShieldedInstanceConfig]{ + OutputState: i.ToRuntimeShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i RuntimeShieldedInstanceConfigArgs) ToRuntimeShieldedInstanceConfigPtrOutput() RuntimeShieldedInstanceConfigPtrOutput { return i.ToRuntimeShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -3525,6 +4000,12 @@ func (i *runtimeShieldedInstanceConfigPtrType) ToRuntimeShieldedInstanceConfigPt return pulumi.ToOutputWithContext(ctx, i).(RuntimeShieldedInstanceConfigPtrOutput) } +func (i *runtimeShieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RuntimeShieldedInstanceConfig] { + return pulumix.Output[*RuntimeShieldedInstanceConfig]{ + OutputState: i.ToRuntimeShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded Instance options. Check [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). Not all combinations are valid. type RuntimeShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -3550,6 +4031,12 @@ func (o RuntimeShieldedInstanceConfigOutput) ToRuntimeShieldedInstanceConfigPtrO }).(RuntimeShieldedInstanceConfigPtrOutput) } +func (o RuntimeShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeShieldedInstanceConfig] { + return pulumix.Output[RuntimeShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default. func (o RuntimeShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v RuntimeShieldedInstanceConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -3579,6 +4066,12 @@ func (o RuntimeShieldedInstanceConfigPtrOutput) ToRuntimeShieldedInstanceConfigP return o } +func (o RuntimeShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeShieldedInstanceConfig] { + return pulumix.Output[*RuntimeShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o RuntimeShieldedInstanceConfigPtrOutput) Elem() RuntimeShieldedInstanceConfigOutput { return o.ApplyT(func(v *RuntimeShieldedInstanceConfig) RuntimeShieldedInstanceConfig { if v != nil { @@ -3644,6 +4137,12 @@ func (o RuntimeShieldedInstanceConfigResponseOutput) ToRuntimeShieldedInstanceCo return o } +func (o RuntimeShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeShieldedInstanceConfigResponse] { + return pulumix.Output[RuntimeShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default. func (o RuntimeShieldedInstanceConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v RuntimeShieldedInstanceConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -3734,6 +4233,12 @@ func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RuntimeSoftwareConfigOutput) } +func (i RuntimeSoftwareConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RuntimeSoftwareConfig] { + return pulumix.Output[RuntimeSoftwareConfig]{ + OutputState: i.ToRuntimeSoftwareConfigOutputWithContext(ctx).OutputState, + } +} + func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput { return i.ToRuntimeSoftwareConfigPtrOutputWithContext(context.Background()) } @@ -3775,6 +4280,12 @@ func (i *runtimeSoftwareConfigPtrType) ToRuntimeSoftwareConfigPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(RuntimeSoftwareConfigPtrOutput) } +func (i *runtimeSoftwareConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RuntimeSoftwareConfig] { + return pulumix.Output[*RuntimeSoftwareConfig]{ + OutputState: i.ToRuntimeSoftwareConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the selection and configuration of software inside the runtime. The properties to set on runtime. Properties keys are specified in `key:value` format, for example: * `idle_shutdown: true` * `idle_shutdown_timeout: 180` * `enable_health_monitoring: true` type RuntimeSoftwareConfigOutput struct{ *pulumi.OutputState } @@ -3800,6 +4311,12 @@ func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutputWithContext }).(RuntimeSoftwareConfigPtrOutput) } +func (o RuntimeSoftwareConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeSoftwareConfig] { + return pulumix.Output[RuntimeSoftwareConfig]{ + OutputState: o.OutputState, + } +} + // Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers. func (o RuntimeSoftwareConfigOutput) CustomGpuDriverPath() pulumi.StringPtrOutput { return o.ApplyT(func(v RuntimeSoftwareConfig) *string { return v.CustomGpuDriverPath }).(pulumi.StringPtrOutput) @@ -3871,6 +4388,12 @@ func (o RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutputWithCont return o } +func (o RuntimeSoftwareConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeSoftwareConfig] { + return pulumix.Output[*RuntimeSoftwareConfig]{ + OutputState: o.OutputState, + } +} + func (o RuntimeSoftwareConfigPtrOutput) Elem() RuntimeSoftwareConfigOutput { return o.ApplyT(func(v *RuntimeSoftwareConfig) RuntimeSoftwareConfig { if v != nil { @@ -4036,6 +4559,12 @@ func (o RuntimeSoftwareConfigResponseOutput) ToRuntimeSoftwareConfigResponseOutp return o } +func (o RuntimeSoftwareConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RuntimeSoftwareConfigResponse] { + return pulumix.Output[RuntimeSoftwareConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers. func (o RuntimeSoftwareConfigResponseOutput) CustomGpuDriverPath() pulumi.StringOutput { return o.ApplyT(func(v RuntimeSoftwareConfigResponse) string { return v.CustomGpuDriverPath }).(pulumi.StringOutput) @@ -4140,6 +4669,12 @@ func (i SchedulerAcceleratorConfigArgs) ToSchedulerAcceleratorConfigOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SchedulerAcceleratorConfigOutput) } +func (i SchedulerAcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulerAcceleratorConfig] { + return pulumix.Output[SchedulerAcceleratorConfig]{ + OutputState: i.ToSchedulerAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + func (i SchedulerAcceleratorConfigArgs) ToSchedulerAcceleratorConfigPtrOutput() SchedulerAcceleratorConfigPtrOutput { return i.ToSchedulerAcceleratorConfigPtrOutputWithContext(context.Background()) } @@ -4181,6 +4716,12 @@ func (i *schedulerAcceleratorConfigPtrType) ToSchedulerAcceleratorConfigPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(SchedulerAcceleratorConfigPtrOutput) } +func (i *schedulerAcceleratorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchedulerAcceleratorConfig] { + return pulumix.Output[*SchedulerAcceleratorConfig]{ + OutputState: i.ToSchedulerAcceleratorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Definition of a hardware accelerator. Note that not all combinations of `type` and `core_count` are valid. Check [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus) to find a valid combination. TPUs are not supported. type SchedulerAcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -4206,6 +4747,12 @@ func (o SchedulerAcceleratorConfigOutput) ToSchedulerAcceleratorConfigPtrOutputW }).(SchedulerAcceleratorConfigPtrOutput) } +func (o SchedulerAcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulerAcceleratorConfig] { + return pulumix.Output[SchedulerAcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // Count of cores of this accelerator. func (o SchedulerAcceleratorConfigOutput) CoreCount() pulumi.StringPtrOutput { return o.ApplyT(func(v SchedulerAcceleratorConfig) *string { return v.CoreCount }).(pulumi.StringPtrOutput) @@ -4230,6 +4777,12 @@ func (o SchedulerAcceleratorConfigPtrOutput) ToSchedulerAcceleratorConfigPtrOutp return o } +func (o SchedulerAcceleratorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulerAcceleratorConfig] { + return pulumix.Output[*SchedulerAcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o SchedulerAcceleratorConfigPtrOutput) Elem() SchedulerAcceleratorConfigOutput { return o.ApplyT(func(v *SchedulerAcceleratorConfig) SchedulerAcceleratorConfig { if v != nil { @@ -4283,6 +4836,12 @@ func (o SchedulerAcceleratorConfigResponseOutput) ToSchedulerAcceleratorConfigRe return o } +func (o SchedulerAcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulerAcceleratorConfigResponse] { + return pulumix.Output[SchedulerAcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // Count of cores of this accelerator. func (o SchedulerAcceleratorConfigResponseOutput) CoreCount() pulumi.StringOutput { return o.ApplyT(func(v SchedulerAcceleratorConfigResponse) string { return v.CoreCount }).(pulumi.StringOutput) @@ -4336,6 +4895,12 @@ func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigOutput) } +func (i ShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigPtrOutput() ShieldedInstanceConfigPtrOutput { return i.ToShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -4377,6 +4942,12 @@ func (i *shieldedInstanceConfigPtrType) ToShieldedInstanceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigPtrOutput) } +func (i *shieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded Instance options. Check [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). Not all combinations are valid. type ShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -4402,6 +4973,12 @@ func (o ShieldedInstanceConfigOutput) ToShieldedInstanceConfigPtrOutputWithConte }).(ShieldedInstanceConfigPtrOutput) } +func (o ShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default. func (o ShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -4431,6 +5008,12 @@ func (o ShieldedInstanceConfigPtrOutput) ToShieldedInstanceConfigPtrOutputWithCo return o } +func (o ShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceConfigPtrOutput) Elem() ShieldedInstanceConfigOutput { return o.ApplyT(func(v *ShieldedInstanceConfig) ShieldedInstanceConfig { if v != nil { @@ -4496,6 +5079,12 @@ func (o ShieldedInstanceConfigResponseOutput) ToShieldedInstanceConfigResponseOu return o } +func (o ShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfigResponse] { + return pulumix.Output[ShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default. func (o ShieldedInstanceConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -4582,6 +5171,12 @@ func (i UpgradeHistoryEntryArgs) ToUpgradeHistoryEntryOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(UpgradeHistoryEntryOutput) } +func (i UpgradeHistoryEntryArgs) ToOutput(ctx context.Context) pulumix.Output[UpgradeHistoryEntry] { + return pulumix.Output[UpgradeHistoryEntry]{ + OutputState: i.ToUpgradeHistoryEntryOutputWithContext(ctx).OutputState, + } +} + // UpgradeHistoryEntryArrayInput is an input type that accepts UpgradeHistoryEntryArray and UpgradeHistoryEntryArrayOutput values. // You can construct a concrete instance of `UpgradeHistoryEntryArrayInput` via: // @@ -4607,6 +5202,12 @@ func (i UpgradeHistoryEntryArray) ToUpgradeHistoryEntryArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(UpgradeHistoryEntryArrayOutput) } +func (i UpgradeHistoryEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]UpgradeHistoryEntry] { + return pulumix.Output[[]UpgradeHistoryEntry]{ + OutputState: i.ToUpgradeHistoryEntryArrayOutputWithContext(ctx).OutputState, + } +} + // The entry of VM image upgrade history. type UpgradeHistoryEntryOutput struct{ *pulumi.OutputState } @@ -4622,6 +5223,12 @@ func (o UpgradeHistoryEntryOutput) ToUpgradeHistoryEntryOutputWithContext(ctx co return o } +func (o UpgradeHistoryEntryOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeHistoryEntry] { + return pulumix.Output[UpgradeHistoryEntry]{ + OutputState: o.OutputState, + } +} + // Action. Rolloback or Upgrade. func (o UpgradeHistoryEntryOutput) Action() UpgradeHistoryEntryActionPtrOutput { return o.ApplyT(func(v UpgradeHistoryEntry) *UpgradeHistoryEntryAction { return v.Action }).(UpgradeHistoryEntryActionPtrOutput) @@ -4686,6 +5293,12 @@ func (o UpgradeHistoryEntryArrayOutput) ToUpgradeHistoryEntryArrayOutputWithCont return o } +func (o UpgradeHistoryEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UpgradeHistoryEntry] { + return pulumix.Output[[]UpgradeHistoryEntry]{ + OutputState: o.OutputState, + } +} + func (o UpgradeHistoryEntryArrayOutput) Index(i pulumi.IntInput) UpgradeHistoryEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UpgradeHistoryEntry { return vs[0].([]UpgradeHistoryEntry)[vs[1].(int)] @@ -4731,6 +5344,12 @@ func (o UpgradeHistoryEntryResponseOutput) ToUpgradeHistoryEntryResponseOutputWi return o } +func (o UpgradeHistoryEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeHistoryEntryResponse] { + return pulumix.Output[UpgradeHistoryEntryResponse]{ + OutputState: o.OutputState, + } +} + // Action. Rolloback or Upgrade. func (o UpgradeHistoryEntryResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v UpgradeHistoryEntryResponse) string { return v.Action }).(pulumi.StringOutput) @@ -4795,6 +5414,12 @@ func (o UpgradeHistoryEntryResponseArrayOutput) ToUpgradeHistoryEntryResponseArr return o } +func (o UpgradeHistoryEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UpgradeHistoryEntryResponse] { + return pulumix.Output[[]UpgradeHistoryEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o UpgradeHistoryEntryResponseArrayOutput) Index(i pulumi.IntInput) UpgradeHistoryEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UpgradeHistoryEntryResponse { return vs[0].([]UpgradeHistoryEntryResponse)[vs[1].(int)] @@ -4840,6 +5465,12 @@ func (i VertexAIParametersArgs) ToVertexAIParametersOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(VertexAIParametersOutput) } +func (i VertexAIParametersArgs) ToOutput(ctx context.Context) pulumix.Output[VertexAIParameters] { + return pulumix.Output[VertexAIParameters]{ + OutputState: i.ToVertexAIParametersOutputWithContext(ctx).OutputState, + } +} + func (i VertexAIParametersArgs) ToVertexAIParametersPtrOutput() VertexAIParametersPtrOutput { return i.ToVertexAIParametersPtrOutputWithContext(context.Background()) } @@ -4881,6 +5512,12 @@ func (i *vertexAIParametersPtrType) ToVertexAIParametersPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(VertexAIParametersPtrOutput) } +func (i *vertexAIParametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*VertexAIParameters] { + return pulumix.Output[*VertexAIParameters]{ + OutputState: i.ToVertexAIParametersPtrOutputWithContext(ctx).OutputState, + } +} + // Parameters used in Vertex AI JobType executions. type VertexAIParametersOutput struct{ *pulumi.OutputState } @@ -4906,6 +5543,12 @@ func (o VertexAIParametersOutput) ToVertexAIParametersPtrOutputWithContext(ctx c }).(VertexAIParametersPtrOutput) } +func (o VertexAIParametersOutput) ToOutput(ctx context.Context) pulumix.Output[VertexAIParameters] { + return pulumix.Output[VertexAIParameters]{ + OutputState: o.OutputState, + } +} + // Environment variables. At most 100 environment variables can be specified and unique. Example: `GCP_BUCKET=gs://my-bucket/samples/` func (o VertexAIParametersOutput) Env() pulumi.StringMapOutput { return o.ApplyT(func(v VertexAIParameters) map[string]string { return v.Env }).(pulumi.StringMapOutput) @@ -4930,6 +5573,12 @@ func (o VertexAIParametersPtrOutput) ToVertexAIParametersPtrOutputWithContext(ct return o } +func (o VertexAIParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VertexAIParameters] { + return pulumix.Output[*VertexAIParameters]{ + OutputState: o.OutputState, + } +} + func (o VertexAIParametersPtrOutput) Elem() VertexAIParametersOutput { return o.ApplyT(func(v *VertexAIParameters) VertexAIParameters { if v != nil { @@ -4983,6 +5632,12 @@ func (o VertexAIParametersResponseOutput) ToVertexAIParametersResponseOutputWith return o } +func (o VertexAIParametersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VertexAIParametersResponse] { + return pulumix.Output[VertexAIParametersResponse]{ + OutputState: o.OutputState, + } +} + // Environment variables. At most 100 environment variables can be specified and unique. Example: `GCP_BUCKET=gs://my-bucket/samples/` func (o VertexAIParametersResponseOutput) Env() pulumi.StringMapOutput { return o.ApplyT(func(v VertexAIParametersResponse) map[string]string { return v.Env }).(pulumi.StringMapOutput) @@ -5028,6 +5683,12 @@ func (i VirtualMachineArgs) ToVirtualMachineOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(VirtualMachineOutput) } +func (i VirtualMachineArgs) ToOutput(ctx context.Context) pulumix.Output[VirtualMachine] { + return pulumix.Output[VirtualMachine]{ + OutputState: i.ToVirtualMachineOutputWithContext(ctx).OutputState, + } +} + func (i VirtualMachineArgs) ToVirtualMachinePtrOutput() VirtualMachinePtrOutput { return i.ToVirtualMachinePtrOutputWithContext(context.Background()) } @@ -5069,6 +5730,12 @@ func (i *virtualMachinePtrType) ToVirtualMachinePtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(VirtualMachinePtrOutput) } +func (i *virtualMachinePtrType) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachine] { + return pulumix.Output[*VirtualMachine]{ + OutputState: i.ToVirtualMachinePtrOutputWithContext(ctx).OutputState, + } +} + // Runtime using Virtual Machine for computing. type VirtualMachineOutput struct{ *pulumi.OutputState } @@ -5094,6 +5761,12 @@ func (o VirtualMachineOutput) ToVirtualMachinePtrOutputWithContext(ctx context.C }).(VirtualMachinePtrOutput) } +func (o VirtualMachineOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualMachine] { + return pulumix.Output[VirtualMachine]{ + OutputState: o.OutputState, + } +} + // Virtual Machine configuration settings. func (o VirtualMachineOutput) VirtualMachineConfig() VirtualMachineConfigPtrOutput { return o.ApplyT(func(v VirtualMachine) *VirtualMachineConfig { return v.VirtualMachineConfig }).(VirtualMachineConfigPtrOutput) @@ -5113,6 +5786,12 @@ func (o VirtualMachinePtrOutput) ToVirtualMachinePtrOutputWithContext(ctx contex return o } +func (o VirtualMachinePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachine] { + return pulumix.Output[*VirtualMachine]{ + OutputState: o.OutputState, + } +} + func (o VirtualMachinePtrOutput) Elem() VirtualMachineOutput { return o.ApplyT(func(v *VirtualMachine) VirtualMachine { if v != nil { @@ -5224,6 +5903,12 @@ func (i VirtualMachineConfigArgs) ToVirtualMachineConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(VirtualMachineConfigOutput) } +func (i VirtualMachineConfigArgs) ToOutput(ctx context.Context) pulumix.Output[VirtualMachineConfig] { + return pulumix.Output[VirtualMachineConfig]{ + OutputState: i.ToVirtualMachineConfigOutputWithContext(ctx).OutputState, + } +} + func (i VirtualMachineConfigArgs) ToVirtualMachineConfigPtrOutput() VirtualMachineConfigPtrOutput { return i.ToVirtualMachineConfigPtrOutputWithContext(context.Background()) } @@ -5265,6 +5950,12 @@ func (i *virtualMachineConfigPtrType) ToVirtualMachineConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(VirtualMachineConfigPtrOutput) } +func (i *virtualMachineConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachineConfig] { + return pulumix.Output[*VirtualMachineConfig]{ + OutputState: i.ToVirtualMachineConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The config settings for virtual machine. type VirtualMachineConfigOutput struct{ *pulumi.OutputState } @@ -5290,6 +5981,12 @@ func (o VirtualMachineConfigOutput) ToVirtualMachineConfigPtrOutputWithContext(c }).(VirtualMachineConfigPtrOutput) } +func (o VirtualMachineConfigOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualMachineConfig] { + return pulumix.Output[VirtualMachineConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The Compute Engine accelerator configuration for this runtime. func (o VirtualMachineConfigOutput) AcceleratorConfig() RuntimeAcceleratorConfigPtrOutput { return o.ApplyT(func(v VirtualMachineConfig) *RuntimeAcceleratorConfig { return v.AcceleratorConfig }).(RuntimeAcceleratorConfigPtrOutput) @@ -5379,6 +6076,12 @@ func (o VirtualMachineConfigPtrOutput) ToVirtualMachineConfigPtrOutputWithContex return o } +func (o VirtualMachineConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VirtualMachineConfig] { + return pulumix.Output[*VirtualMachineConfig]{ + OutputState: o.OutputState, + } +} + func (o VirtualMachineConfigPtrOutput) Elem() VirtualMachineConfigOutput { return o.ApplyT(func(v *VirtualMachineConfig) VirtualMachineConfig { if v != nil { @@ -5592,6 +6295,12 @@ func (o VirtualMachineConfigResponseOutput) ToVirtualMachineConfigResponseOutput return o } +func (o VirtualMachineConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualMachineConfigResponse] { + return pulumix.Output[VirtualMachineConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The Compute Engine accelerator configuration for this runtime. func (o VirtualMachineConfigResponseOutput) AcceleratorConfig() RuntimeAcceleratorConfigResponseOutput { return o.ApplyT(func(v VirtualMachineConfigResponse) RuntimeAcceleratorConfigResponse { return v.AcceleratorConfig }).(RuntimeAcceleratorConfigResponseOutput) @@ -5704,6 +6413,12 @@ func (o VirtualMachineResponseOutput) ToVirtualMachineResponseOutputWithContext( return o } +func (o VirtualMachineResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VirtualMachineResponse] { + return pulumix.Output[VirtualMachineResponse]{ + OutputState: o.OutputState, + } +} + // The unique identifier of the Managed Compute Engine instance. func (o VirtualMachineResponseOutput) InstanceId() pulumi.StringOutput { return o.ApplyT(func(v VirtualMachineResponse) string { return v.InstanceId }).(pulumi.StringOutput) @@ -5762,6 +6477,12 @@ func (i VmImageArgs) ToVmImageOutputWithContext(ctx context.Context) VmImageOutp return pulumi.ToOutputWithContext(ctx, i).(VmImageOutput) } +func (i VmImageArgs) ToOutput(ctx context.Context) pulumix.Output[VmImage] { + return pulumix.Output[VmImage]{ + OutputState: i.ToVmImageOutputWithContext(ctx).OutputState, + } +} + func (i VmImageArgs) ToVmImagePtrOutput() VmImagePtrOutput { return i.ToVmImagePtrOutputWithContext(context.Background()) } @@ -5803,6 +6524,12 @@ func (i *vmImagePtrType) ToVmImagePtrOutputWithContext(ctx context.Context) VmIm return pulumi.ToOutputWithContext(ctx, i).(VmImagePtrOutput) } +func (i *vmImagePtrType) ToOutput(ctx context.Context) pulumix.Output[*VmImage] { + return pulumix.Output[*VmImage]{ + OutputState: i.ToVmImagePtrOutputWithContext(ctx).OutputState, + } +} + // Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM. type VmImageOutput struct{ *pulumi.OutputState } @@ -5828,6 +6555,12 @@ func (o VmImageOutput) ToVmImagePtrOutputWithContext(ctx context.Context) VmImag }).(VmImagePtrOutput) } +func (o VmImageOutput) ToOutput(ctx context.Context) pulumix.Output[VmImage] { + return pulumix.Output[VmImage]{ + OutputState: o.OutputState, + } +} + // Use this VM image family to find the image; the newest image in this family will be used. func (o VmImageOutput) ImageFamily() pulumi.StringPtrOutput { return o.ApplyT(func(v VmImage) *string { return v.ImageFamily }).(pulumi.StringPtrOutput) @@ -5857,6 +6590,12 @@ func (o VmImagePtrOutput) ToVmImagePtrOutputWithContext(ctx context.Context) VmI return o } +func (o VmImagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmImage] { + return pulumix.Output[*VmImage]{ + OutputState: o.OutputState, + } +} + func (o VmImagePtrOutput) Elem() VmImageOutput { return o.ApplyT(func(v *VmImage) VmImage { if v != nil { @@ -5922,6 +6661,12 @@ func (o VmImageResponseOutput) ToVmImageResponseOutputWithContext(ctx context.Co return o } +func (o VmImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmImageResponse] { + return pulumix.Output[VmImageResponse]{ + OutputState: o.OutputState, + } +} + // Use this VM image family to find the image; the newest image in this family will be used. func (o VmImageResponseOutput) ImageFamily() pulumi.StringOutput { return o.ApplyT(func(v VmImageResponse) string { return v.ImageFamily }).(pulumi.StringOutput) diff --git a/sdk/go/google/notebooks/v1/runtime.go b/sdk/go/google/notebooks/v1/runtime.go index ffe106c8a4..8e06aa2556 100644 --- a/sdk/go/google/notebooks/v1/runtime.go +++ b/sdk/go/google/notebooks/v1/runtime.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Runtime in a given project and location. @@ -151,6 +152,12 @@ func (i *Runtime) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput return pulumi.ToOutputWithContext(ctx, i).(RuntimeOutput) } +func (i *Runtime) ToOutput(ctx context.Context) pulumix.Output[*Runtime] { + return pulumix.Output[*Runtime]{ + OutputState: i.ToRuntimeOutputWithContext(ctx).OutputState, + } +} + type RuntimeOutput struct{ *pulumi.OutputState } func (RuntimeOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o RuntimeOutput) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOu return o } +func (o RuntimeOutput) ToOutput(ctx context.Context) pulumix.Output[*Runtime] { + return pulumix.Output[*Runtime]{ + OutputState: o.OutputState, + } +} + // The config settings for accessing runtime. func (o RuntimeOutput) AccessConfig() RuntimeAccessConfigResponseOutput { return o.ApplyT(func(v *Runtime) RuntimeAccessConfigResponseOutput { return v.AccessConfig }).(RuntimeAccessConfigResponseOutput) diff --git a/sdk/go/google/notebooks/v1/runtimeIamBinding.go b/sdk/go/google/notebooks/v1/runtimeIamBinding.go index 4cd303751c..e051f3e2f9 100644 --- a/sdk/go/google/notebooks/v1/runtimeIamBinding.go +++ b/sdk/go/google/notebooks/v1/runtimeIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RuntimeIamBinding) ToRuntimeIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RuntimeIamBindingOutput) } +func (i *RuntimeIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamBinding] { + return pulumix.Output[*RuntimeIamBinding]{ + OutputState: i.ToRuntimeIamBindingOutputWithContext(ctx).OutputState, + } +} + type RuntimeIamBindingOutput struct{ *pulumi.OutputState } func (RuntimeIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RuntimeIamBindingOutput) ToRuntimeIamBindingOutputWithContext(ctx contex return o } +func (o RuntimeIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamBinding] { + return pulumix.Output[*RuntimeIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RuntimeIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RuntimeIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/notebooks/v1/runtimeIamMember.go b/sdk/go/google/notebooks/v1/runtimeIamMember.go index 85d3fa9f82..5e6d7abef1 100644 --- a/sdk/go/google/notebooks/v1/runtimeIamMember.go +++ b/sdk/go/google/notebooks/v1/runtimeIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *RuntimeIamMember) ToRuntimeIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RuntimeIamMemberOutput) } +func (i *RuntimeIamMember) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamMember] { + return pulumix.Output[*RuntimeIamMember]{ + OutputState: i.ToRuntimeIamMemberOutputWithContext(ctx).OutputState, + } +} + type RuntimeIamMemberOutput struct{ *pulumi.OutputState } func (RuntimeIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RuntimeIamMemberOutput) ToRuntimeIamMemberOutputWithContext(ctx context. return o } +func (o RuntimeIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamMember] { + return pulumix.Output[*RuntimeIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RuntimeIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RuntimeIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/notebooks/v1/runtimeIamPolicy.go b/sdk/go/google/notebooks/v1/runtimeIamPolicy.go index 8698ee8906..4f14855885 100644 --- a/sdk/go/google/notebooks/v1/runtimeIamPolicy.go +++ b/sdk/go/google/notebooks/v1/runtimeIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *RuntimeIamPolicy) ToRuntimeIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RuntimeIamPolicyOutput) } +func (i *RuntimeIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamPolicy] { + return pulumix.Output[*RuntimeIamPolicy]{ + OutputState: i.ToRuntimeIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RuntimeIamPolicyOutput struct{ *pulumi.OutputState } func (RuntimeIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutputWithContext(ctx context. return o } +func (o RuntimeIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RuntimeIamPolicy] { + return pulumix.Output[*RuntimeIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o RuntimeIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RuntimeIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/notebooks/v1/schedule.go b/sdk/go/google/notebooks/v1/schedule.go index 61c4653e18..c3996c7969 100644 --- a/sdk/go/google/notebooks/v1/schedule.go +++ b/sdk/go/google/notebooks/v1/schedule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Scheduled Notebook in a given project and location. @@ -146,6 +147,12 @@ func (i *Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutp return pulumi.ToOutputWithContext(ctx, i).(ScheduleOutput) } +func (i *Schedule) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: i.ToScheduleOutputWithContext(ctx).OutputState, + } +} + type ScheduleOutput struct{ *pulumi.OutputState } func (ScheduleOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) Schedul return o } +func (o ScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: o.OutputState, + } +} + // Time the schedule was created. func (o ScheduleOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Schedule) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/notebooks/v2/getInstanceIamPolicy.go b/sdk/go/google/notebooks/v2/getInstanceIamPolicy.go index 50206b87ce..92d04f0733 100644 --- a/sdk/go/google/notebooks/v2/getInstanceIamPolicy.go +++ b/sdk/go/google/notebooks/v2/getInstanceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutp return o } +func (o LookupInstanceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceIamPolicyResult] { + return pulumix.Output[LookupInstanceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupInstanceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupInstanceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/notebooks/v2/instanceIamBinding.go b/sdk/go/google/notebooks/v2/instanceIamBinding.go index 3834f57ca0..b51f8970c1 100644 --- a/sdk/go/google/notebooks/v2/instanceIamBinding.go +++ b/sdk/go/google/notebooks/v2/instanceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceIamBindingOutput) } +func (i *InstanceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: i.ToInstanceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx cont return o } +func (o InstanceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/notebooks/v2/instanceIamMember.go b/sdk/go/google/notebooks/v2/instanceIamMember.go index 6f6be9da12..fa293bf7a9 100644 --- a/sdk/go/google/notebooks/v2/instanceIamMember.go +++ b/sdk/go/google/notebooks/v2/instanceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamMemberOutput) } +func (i *InstanceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: i.ToInstanceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx contex return o } +func (o InstanceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/notebooks/v2/instanceIamPolicy.go b/sdk/go/google/notebooks/v2/instanceIamPolicy.go index fbb71e0a9e..2593078291 100644 --- a/sdk/go/google/notebooks/v2/instanceIamPolicy.go +++ b/sdk/go/google/notebooks/v2/instanceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -125,6 +126,12 @@ func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamPolicyOutput) } +func (i *InstanceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: i.ToInstanceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx contex return o } +func (o InstanceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o InstanceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *InstanceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/notebooks/v2/pulumiTypes.go b/sdk/go/google/notebooks/v2/pulumiTypes.go index ff55d926a9..58313c1729 100644 --- a/sdk/go/google/notebooks/v2/pulumiTypes.go +++ b/sdk/go/google/notebooks/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/orgpolicy/v2/customConstraint.go b/sdk/go/google/orgpolicy/v2/customConstraint.go index 3f931bdc89..3822678db1 100644 --- a/sdk/go/google/orgpolicy/v2/customConstraint.go +++ b/sdk/go/google/orgpolicy/v2/customConstraint.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a custom constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the organization does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the constraint already exists on the given organization. @@ -141,6 +142,12 @@ func (i *CustomConstraint) ToCustomConstraintOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(CustomConstraintOutput) } +func (i *CustomConstraint) ToOutput(ctx context.Context) pulumix.Output[*CustomConstraint] { + return pulumix.Output[*CustomConstraint]{ + OutputState: i.ToCustomConstraintOutputWithContext(ctx).OutputState, + } +} + type CustomConstraintOutput struct{ *pulumi.OutputState } func (CustomConstraintOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o CustomConstraintOutput) ToCustomConstraintOutputWithContext(ctx context. return o } +func (o CustomConstraintOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomConstraint] { + return pulumix.Output[*CustomConstraint]{ + OutputState: o.OutputState, + } +} + // Allow or deny type. func (o CustomConstraintOutput) ActionType() pulumi.StringOutput { return o.ApplyT(func(v *CustomConstraint) pulumi.StringOutput { return v.ActionType }).(pulumi.StringOutput) diff --git a/sdk/go/google/orgpolicy/v2/folderPolicy.go b/sdk/go/google/orgpolicy/v2/folderPolicy.go index 5fcabe045b..c7333a9b3f 100644 --- a/sdk/go/google/orgpolicy/v2/folderPolicy.go +++ b/sdk/go/google/orgpolicy/v2/folderPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the given Google Cloud resource. @@ -128,6 +129,12 @@ func (i *FolderPolicy) ToFolderPolicyOutputWithContext(ctx context.Context) Fold return pulumi.ToOutputWithContext(ctx, i).(FolderPolicyOutput) } +func (i *FolderPolicy) ToOutput(ctx context.Context) pulumix.Output[*FolderPolicy] { + return pulumix.Output[*FolderPolicy]{ + OutputState: i.ToFolderPolicyOutputWithContext(ctx).OutputState, + } +} + type FolderPolicyOutput struct{ *pulumi.OutputState } func (FolderPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o FolderPolicyOutput) ToFolderPolicyOutputWithContext(ctx context.Context) return o } +func (o FolderPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderPolicy] { + return pulumix.Output[*FolderPolicy]{ + OutputState: o.OutputState, + } +} + // Deprecated. // // Deprecated: Deprecated. diff --git a/sdk/go/google/orgpolicy/v2/getCustomConstraint.go b/sdk/go/google/orgpolicy/v2/getCustomConstraint.go index 2f2b0b72bd..871d63d3c1 100644 --- a/sdk/go/google/orgpolicy/v2/getCustomConstraint.go +++ b/sdk/go/google/orgpolicy/v2/getCustomConstraint.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a custom constraint. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the custom constraint does not exist. @@ -82,6 +83,12 @@ func (o LookupCustomConstraintResultOutput) ToLookupCustomConstraintResultOutput return o } +func (o LookupCustomConstraintResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCustomConstraintResult] { + return pulumix.Output[LookupCustomConstraintResult]{ + OutputState: o.OutputState, + } +} + // Allow or deny type. func (o LookupCustomConstraintResultOutput) ActionType() pulumi.StringOutput { return o.ApplyT(func(v LookupCustomConstraintResult) string { return v.ActionType }).(pulumi.StringOutput) diff --git a/sdk/go/google/orgpolicy/v2/getFolderPolicy.go b/sdk/go/google/orgpolicy/v2/getFolderPolicy.go index 9febde243e..99ed9cf01a 100644 --- a/sdk/go/google/orgpolicy/v2/getFolderPolicy.go +++ b/sdk/go/google/orgpolicy/v2/getFolderPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write. @@ -76,6 +77,12 @@ func (o LookupFolderPolicyResultOutput) ToLookupFolderPolicyResultOutputWithCont return o } +func (o LookupFolderPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderPolicyResult] { + return pulumix.Output[LookupFolderPolicyResult]{ + OutputState: o.OutputState, + } +} + // Deprecated. // // Deprecated: Deprecated. diff --git a/sdk/go/google/orgpolicy/v2/getOrganizationPolicy.go b/sdk/go/google/orgpolicy/v2/getOrganizationPolicy.go index df633978ab..e10236c131 100644 --- a/sdk/go/google/orgpolicy/v2/getOrganizationPolicy.go +++ b/sdk/go/google/orgpolicy/v2/getOrganizationPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write. @@ -76,6 +77,12 @@ func (o LookupOrganizationPolicyResultOutput) ToLookupOrganizationPolicyResultOu return o } +func (o LookupOrganizationPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationPolicyResult] { + return pulumix.Output[LookupOrganizationPolicyResult]{ + OutputState: o.OutputState, + } +} + // Deprecated. // // Deprecated: Deprecated. diff --git a/sdk/go/google/orgpolicy/v2/getPolicy.go b/sdk/go/google/orgpolicy/v2/getPolicy.go index be2c80b199..295ff56a55 100644 --- a/sdk/go/google/orgpolicy/v2/getPolicy.go +++ b/sdk/go/google/orgpolicy/v2/getPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a policy on a resource. If no policy is set on the resource, `NOT_FOUND` is returned. The `etag` value can be used with `UpdatePolicy()` to update a policy during read-modify-write. @@ -76,6 +77,12 @@ func (o LookupPolicyResultOutput) ToLookupPolicyResultOutputWithContext(ctx cont return o } +func (o LookupPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPolicyResult] { + return pulumix.Output[LookupPolicyResult]{ + OutputState: o.OutputState, + } +} + // Deprecated. // // Deprecated: Deprecated. diff --git a/sdk/go/google/orgpolicy/v2/organizationPolicy.go b/sdk/go/google/orgpolicy/v2/organizationPolicy.go index 69a91f2b84..0dbb652f57 100644 --- a/sdk/go/google/orgpolicy/v2/organizationPolicy.go +++ b/sdk/go/google/orgpolicy/v2/organizationPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the given Google Cloud resource. @@ -128,6 +129,12 @@ func (i *OrganizationPolicy) ToOrganizationPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OrganizationPolicyOutput) } +func (i *OrganizationPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationPolicy] { + return pulumix.Output[*OrganizationPolicy]{ + OutputState: i.ToOrganizationPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationPolicyOutput struct{ *pulumi.OutputState } func (OrganizationPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o OrganizationPolicyOutput) ToOrganizationPolicyOutputWithContext(ctx cont return o } +func (o OrganizationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationPolicy] { + return pulumix.Output[*OrganizationPolicy]{ + OutputState: o.OutputState, + } +} + // Deprecated. // // Deprecated: Deprecated. diff --git a/sdk/go/google/orgpolicy/v2/policy.go b/sdk/go/google/orgpolicy/v2/policy.go index 890408fb0a..e3a10adacb 100644 --- a/sdk/go/google/orgpolicy/v2/policy.go +++ b/sdk/go/google/orgpolicy/v2/policy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the given Google Cloud resource. @@ -123,6 +124,12 @@ func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput { return pulumi.ToOutputWithContext(ctx, i).(PolicyOutput) } +func (i *Policy) ToOutput(ctx context.Context) pulumix.Output[*Policy] { + return pulumix.Output[*Policy]{ + OutputState: i.ToPolicyOutputWithContext(ctx).OutputState, + } +} + type PolicyOutput struct{ *pulumi.OutputState } func (PolicyOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutpu return o } +func (o PolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*Policy] { + return pulumix.Output[*Policy]{ + OutputState: o.OutputState, + } +} + // Deprecated. // // Deprecated: Deprecated. diff --git a/sdk/go/google/orgpolicy/v2/pulumiEnums.go b/sdk/go/google/orgpolicy/v2/pulumiEnums.go index 3addbb0b82..3314986ab2 100644 --- a/sdk/go/google/orgpolicy/v2/pulumiEnums.go +++ b/sdk/go/google/orgpolicy/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Allow or deny type. @@ -82,6 +83,12 @@ func (o CustomConstraintActionTypeOutput) ToCustomConstraintActionTypePtrOutputW }).(CustomConstraintActionTypePtrOutput) } +func (o CustomConstraintActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CustomConstraintActionType] { + return pulumix.Output[CustomConstraintActionType]{ + OutputState: o.OutputState, + } +} + func (o CustomConstraintActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o CustomConstraintActionTypePtrOutput) ToCustomConstraintActionTypePtrOutp return o } +func (o CustomConstraintActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomConstraintActionType] { + return pulumix.Output[*CustomConstraintActionType]{ + OutputState: o.OutputState, + } +} + func (o CustomConstraintActionTypePtrOutput) Elem() CustomConstraintActionTypeOutput { return o.ApplyT(func(v *CustomConstraintActionType) CustomConstraintActionType { if v != nil { @@ -179,6 +192,12 @@ func (in *customConstraintActionTypePtr) ToCustomConstraintActionTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(CustomConstraintActionTypePtrOutput) } +func (in *customConstraintActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CustomConstraintActionType] { + return pulumix.Output[*CustomConstraintActionType]{ + OutputState: in.ToCustomConstraintActionTypePtrOutputWithContext(ctx).OutputState, + } +} + type CustomConstraintMethodTypesItem string const ( @@ -252,6 +271,12 @@ func (o CustomConstraintMethodTypesItemOutput) ToCustomConstraintMethodTypesItem }).(CustomConstraintMethodTypesItemPtrOutput) } +func (o CustomConstraintMethodTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[CustomConstraintMethodTypesItem] { + return pulumix.Output[CustomConstraintMethodTypesItem]{ + OutputState: o.OutputState, + } +} + func (o CustomConstraintMethodTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -287,6 +312,12 @@ func (o CustomConstraintMethodTypesItemPtrOutput) ToCustomConstraintMethodTypesI return o } +func (o CustomConstraintMethodTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomConstraintMethodTypesItem] { + return pulumix.Output[*CustomConstraintMethodTypesItem]{ + OutputState: o.OutputState, + } +} + func (o CustomConstraintMethodTypesItemPtrOutput) Elem() CustomConstraintMethodTypesItemOutput { return o.ApplyT(func(v *CustomConstraintMethodTypesItem) CustomConstraintMethodTypesItem { if v != nil { @@ -349,6 +380,12 @@ func (in *customConstraintMethodTypesItemPtr) ToCustomConstraintMethodTypesItemP return pulumi.ToOutputWithContext(ctx, in).(CustomConstraintMethodTypesItemPtrOutput) } +func (in *customConstraintMethodTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*CustomConstraintMethodTypesItem] { + return pulumix.Output[*CustomConstraintMethodTypesItem]{ + OutputState: in.ToCustomConstraintMethodTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // CustomConstraintMethodTypesItemArrayInput is an input type that accepts CustomConstraintMethodTypesItemArray and CustomConstraintMethodTypesItemArrayOutput values. // You can construct a concrete instance of `CustomConstraintMethodTypesItemArrayInput` via: // @@ -374,6 +411,12 @@ func (i CustomConstraintMethodTypesItemArray) ToCustomConstraintMethodTypesItemA return pulumi.ToOutputWithContext(ctx, i).(CustomConstraintMethodTypesItemArrayOutput) } +func (i CustomConstraintMethodTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]CustomConstraintMethodTypesItem] { + return pulumix.Output[[]CustomConstraintMethodTypesItem]{ + OutputState: i.ToCustomConstraintMethodTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type CustomConstraintMethodTypesItemArrayOutput struct{ *pulumi.OutputState } func (CustomConstraintMethodTypesItemArrayOutput) ElementType() reflect.Type { @@ -388,6 +431,12 @@ func (o CustomConstraintMethodTypesItemArrayOutput) ToCustomConstraintMethodType return o } +func (o CustomConstraintMethodTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomConstraintMethodTypesItem] { + return pulumix.Output[[]CustomConstraintMethodTypesItem]{ + OutputState: o.OutputState, + } +} + func (o CustomConstraintMethodTypesItemArrayOutput) Index(i pulumi.IntInput) CustomConstraintMethodTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomConstraintMethodTypesItem { return vs[0].([]CustomConstraintMethodTypesItem)[vs[1].(int)] diff --git a/sdk/go/google/orgpolicy/v2/pulumiTypes.go b/sdk/go/google/orgpolicy/v2/pulumiTypes.go index 38adc0707f..7cbefe6260 100644 --- a/sdk/go/google/orgpolicy/v2/pulumiTypes.go +++ b/sdk/go/google/orgpolicy/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudOrgpolicyV2AlternatePolicySpecArgs) ToGoogleCloudOrgpolicyV2A return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudOrgpolicyV2AlternatePolicySpecOutput) } +func (i GoogleCloudOrgpolicyV2AlternatePolicySpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2AlternatePolicySpec] { + return pulumix.Output[GoogleCloudOrgpolicyV2AlternatePolicySpec]{ + OutputState: i.ToGoogleCloudOrgpolicyV2AlternatePolicySpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudOrgpolicyV2AlternatePolicySpecArgs) ToGoogleCloudOrgpolicyV2AlternatePolicySpecPtrOutput() GoogleCloudOrgpolicyV2AlternatePolicySpecPtrOutput { return i.ToGoogleCloudOrgpolicyV2AlternatePolicySpecPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleCloudOrgpolicyV2AlternatePolicySpecPtrType) ToGoogleCloudOrgpolic return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudOrgpolicyV2AlternatePolicySpecPtrOutput) } +func (i *googleCloudOrgpolicyV2AlternatePolicySpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudOrgpolicyV2AlternatePolicySpec] { + return pulumix.Output[*GoogleCloudOrgpolicyV2AlternatePolicySpec]{ + OutputState: i.ToGoogleCloudOrgpolicyV2AlternatePolicySpecPtrOutputWithContext(ctx).OutputState, + } +} + // Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run/darklaunch. type GoogleCloudOrgpolicyV2AlternatePolicySpecOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleCloudOrgpolicyV2AlternatePolicySpecOutput) ToGoogleCloudOrgpolicyV }).(GoogleCloudOrgpolicyV2AlternatePolicySpecPtrOutput) } +func (o GoogleCloudOrgpolicyV2AlternatePolicySpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2AlternatePolicySpec] { + return pulumix.Output[GoogleCloudOrgpolicyV2AlternatePolicySpec]{ + OutputState: o.OutputState, + } +} + // Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. func (o GoogleCloudOrgpolicyV2AlternatePolicySpecOutput) Launch() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudOrgpolicyV2AlternatePolicySpec) *string { return v.Launch }).(pulumi.StringPtrOutput) @@ -142,6 +161,12 @@ func (o GoogleCloudOrgpolicyV2AlternatePolicySpecPtrOutput) ToGoogleCloudOrgpoli return o } +func (o GoogleCloudOrgpolicyV2AlternatePolicySpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudOrgpolicyV2AlternatePolicySpec] { + return pulumix.Output[*GoogleCloudOrgpolicyV2AlternatePolicySpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudOrgpolicyV2AlternatePolicySpecPtrOutput) Elem() GoogleCloudOrgpolicyV2AlternatePolicySpecOutput { return o.ApplyT(func(v *GoogleCloudOrgpolicyV2AlternatePolicySpec) GoogleCloudOrgpolicyV2AlternatePolicySpec { if v != nil { @@ -195,6 +220,12 @@ func (o GoogleCloudOrgpolicyV2AlternatePolicySpecResponseOutput) ToGoogleCloudOr return o } +func (o GoogleCloudOrgpolicyV2AlternatePolicySpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2AlternatePolicySpecResponse] { + return pulumix.Output[GoogleCloudOrgpolicyV2AlternatePolicySpecResponse]{ + OutputState: o.OutputState, + } +} + // Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy. func (o GoogleCloudOrgpolicyV2AlternatePolicySpecResponseOutput) Launch() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudOrgpolicyV2AlternatePolicySpecResponse) string { return v.Launch }).(pulumi.StringOutput) @@ -254,6 +285,12 @@ func (i GoogleCloudOrgpolicyV2PolicySpecArgs) ToGoogleCloudOrgpolicyV2PolicySpec return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudOrgpolicyV2PolicySpecOutput) } +func (i GoogleCloudOrgpolicyV2PolicySpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2PolicySpec] { + return pulumix.Output[GoogleCloudOrgpolicyV2PolicySpec]{ + OutputState: i.ToGoogleCloudOrgpolicyV2PolicySpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudOrgpolicyV2PolicySpecArgs) ToGoogleCloudOrgpolicyV2PolicySpecPtrOutput() GoogleCloudOrgpolicyV2PolicySpecPtrOutput { return i.ToGoogleCloudOrgpolicyV2PolicySpecPtrOutputWithContext(context.Background()) } @@ -295,6 +332,12 @@ func (i *googleCloudOrgpolicyV2PolicySpecPtrType) ToGoogleCloudOrgpolicyV2Policy return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudOrgpolicyV2PolicySpecPtrOutput) } +func (i *googleCloudOrgpolicyV2PolicySpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudOrgpolicyV2PolicySpec] { + return pulumix.Output[*GoogleCloudOrgpolicyV2PolicySpec]{ + OutputState: i.ToGoogleCloudOrgpolicyV2PolicySpecPtrOutputWithContext(ctx).OutputState, + } +} + // Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources. type GoogleCloudOrgpolicyV2PolicySpecOutput struct{ *pulumi.OutputState } @@ -320,6 +363,12 @@ func (o GoogleCloudOrgpolicyV2PolicySpecOutput) ToGoogleCloudOrgpolicyV2PolicySp }).(GoogleCloudOrgpolicyV2PolicySpecPtrOutput) } +func (o GoogleCloudOrgpolicyV2PolicySpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2PolicySpec] { + return pulumix.Output[GoogleCloudOrgpolicyV2PolicySpec]{ + OutputState: o.OutputState, + } +} + // An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy`is returned from either a`GetPolicy`or a`ListPolicies`request, this`etag`indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a`GetEffectivePolicy`request, the`etag` will be unset. func (o GoogleCloudOrgpolicyV2PolicySpecOutput) Etag() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudOrgpolicyV2PolicySpec) *string { return v.Etag }).(pulumi.StringPtrOutput) @@ -354,6 +403,12 @@ func (o GoogleCloudOrgpolicyV2PolicySpecPtrOutput) ToGoogleCloudOrgpolicyV2Polic return o } +func (o GoogleCloudOrgpolicyV2PolicySpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudOrgpolicyV2PolicySpec] { + return pulumix.Output[*GoogleCloudOrgpolicyV2PolicySpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudOrgpolicyV2PolicySpecPtrOutput) Elem() GoogleCloudOrgpolicyV2PolicySpecOutput { return o.ApplyT(func(v *GoogleCloudOrgpolicyV2PolicySpec) GoogleCloudOrgpolicyV2PolicySpec { if v != nil { @@ -455,6 +510,12 @@ func (i GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArgs) ToGoogleCloudOrgpolicyV2 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudOrgpolicyV2PolicySpecPolicyRuleOutput) } +func (i GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRule] { + return pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRule]{ + OutputState: i.ToGoogleCloudOrgpolicyV2PolicySpecPolicyRuleOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArrayInput is an input type that accepts GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArray and GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArrayOutput values. // You can construct a concrete instance of `GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArrayInput` via: // @@ -480,6 +541,12 @@ func (i GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArray) ToGoogleCloudOrgpolicyV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArrayOutput) } +func (i GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudOrgpolicyV2PolicySpecPolicyRule] { + return pulumix.Output[[]GoogleCloudOrgpolicyV2PolicySpecPolicyRule]{ + OutputState: i.ToGoogleCloudOrgpolicyV2PolicySpecPolicyRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A rule used to express this policy. type GoogleCloudOrgpolicyV2PolicySpecPolicyRuleOutput struct{ *pulumi.OutputState } @@ -495,6 +562,12 @@ func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleOutput) ToGoogleCloudOrgpolicy return o } +func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRule] { + return pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRule]{ + OutputState: o.OutputState, + } +} + // Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleOutput) AllowAll() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudOrgpolicyV2PolicySpecPolicyRule) *bool { return v.AllowAll }).(pulumi.BoolPtrOutput) @@ -536,6 +609,12 @@ func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArrayOutput) ToGoogleCloudOrgp return o } +func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudOrgpolicyV2PolicySpecPolicyRule] { + return pulumix.Output[[]GoogleCloudOrgpolicyV2PolicySpecPolicyRule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleArrayOutput) Index(i pulumi.IntInput) GoogleCloudOrgpolicyV2PolicySpecPolicyRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudOrgpolicyV2PolicySpecPolicyRule { return vs[0].([]GoogleCloudOrgpolicyV2PolicySpecPolicyRule)[vs[1].(int)] @@ -571,6 +650,12 @@ func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponseOutput) ToGoogleCloudO return o } +func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponse] { + return pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + // Setting this to true means that all values are allowed. This field can be set only in policies for list constraints. func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponseOutput) AllowAll() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponse) bool { return v.AllowAll }).(pulumi.BoolOutput) @@ -612,6 +697,12 @@ func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponseArrayOutput) ToGoogleC return o } +func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponse] { + return pulumix.Output[[]GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponse { return vs[0].([]GoogleCloudOrgpolicyV2PolicySpecPolicyRuleResponse)[vs[1].(int)] @@ -657,6 +748,12 @@ func (i GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesOutput) } +func (i GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues] { + return pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues]{ + OutputState: i.ToGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesArgs) ToGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrOutput() GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrOutput { return i.ToGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrOutputWithContext(context.Background()) } @@ -698,6 +795,12 @@ func (i *googleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrOutput) } +func (i *googleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues] { + return pulumix.Output[*GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues]{ + OutputState: i.ToGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrOutputWithContext(ctx).OutputState, + } +} + // A message that holds specific allowed and denied values. This message can define specific values and subtrees of the Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a ":". Values prefixed with "is:" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - "projects/", e.g. "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/", e.g. "organizations/1234" The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used. type GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesOutput struct{ *pulumi.OutputState } @@ -723,6 +826,12 @@ func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesOutput) ToGoogleCl }).(GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrOutput) } +func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues] { + return pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues]{ + OutputState: o.OutputState, + } +} + // List of values allowed at this resource. func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesOutput) AllowedValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues) []string { return v.AllowedValues }).(pulumi.StringArrayOutput) @@ -747,6 +856,12 @@ func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrOutput) ToGoogl return o } +func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues] { + return pulumix.Output[*GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesPtrOutput) Elem() GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesOutput { return o.ApplyT(func(v *GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues) GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues { if v != nil { @@ -800,6 +915,12 @@ func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesResponseOutput) To return o } +func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesResponse] { + return pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesResponse]{ + OutputState: o.OutputState, + } +} + // List of values allowed at this resource. func (o GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesResponseOutput) AllowedValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValuesResponse) []string { @@ -841,6 +962,12 @@ func (o GoogleCloudOrgpolicyV2PolicySpecResponseOutput) ToGoogleCloudOrgpolicyV2 return o } +func (o GoogleCloudOrgpolicyV2PolicySpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecResponse] { + return pulumix.Output[GoogleCloudOrgpolicyV2PolicySpecResponse]{ + OutputState: o.OutputState, + } +} + // An opaque tag indicating the current version of the policy, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy`is returned from either a`GetPolicy`or a`ListPolicies`request, this`etag`indicates the version of the current policy to use when executing a read-modify-write loop. When the policy is returned from a`GetEffectivePolicy`request, the`etag` will be unset. func (o GoogleCloudOrgpolicyV2PolicySpecResponseOutput) Etag() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudOrgpolicyV2PolicySpecResponse) string { return v.Etag }).(pulumi.StringOutput) @@ -915,6 +1042,12 @@ func (i GoogleTypeExprArgs) ToGoogleTypeExprOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprOutput) } +func (i GoogleTypeExprArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeExprArgs) ToGoogleTypeExprPtrOutput() GoogleTypeExprPtrOutput { return i.ToGoogleTypeExprPtrOutputWithContext(context.Background()) } @@ -956,6 +1089,12 @@ func (i *googleTypeExprPtrType) ToGoogleTypeExprPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprPtrOutput) } +func (i *googleTypeExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type GoogleTypeExprOutput struct{ *pulumi.OutputState } @@ -981,6 +1120,12 @@ func (o GoogleTypeExprOutput) ToGoogleTypeExprPtrOutputWithContext(ctx context.C }).(GoogleTypeExprPtrOutput) } +func (o GoogleTypeExprOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeExpr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1015,6 +1160,12 @@ func (o GoogleTypeExprPtrOutput) ToGoogleTypeExprPtrOutputWithContext(ctx contex return o } +func (o GoogleTypeExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeExprPtrOutput) Elem() GoogleTypeExprOutput { return o.ApplyT(func(v *GoogleTypeExpr) GoogleTypeExpr { if v != nil { @@ -1092,6 +1243,12 @@ func (o GoogleTypeExprResponseOutput) ToGoogleTypeExprResponseOutputWithContext( return o } +func (o GoogleTypeExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExprResponse] { + return pulumix.Output[GoogleTypeExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/osconfig/v1/getOsPolicyAssignment.go b/sdk/go/google/osconfig/v1/getOsPolicyAssignment.go index 473472d2db..43c8f31305 100644 --- a/sdk/go/google/osconfig/v1/getOsPolicyAssignment.go +++ b/sdk/go/google/osconfig/v1/getOsPolicyAssignment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve an existing OS policy assignment. This method always returns the latest revision. In order to retrieve a previous revision of the assignment, also provide the revision ID in the `name` parameter. @@ -94,6 +95,12 @@ func (o LookupOsPolicyAssignmentResultOutput) ToLookupOsPolicyAssignmentResultOu return o } +func (o LookupOsPolicyAssignmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOsPolicyAssignmentResult] { + return pulumix.Output[LookupOsPolicyAssignmentResult]{ + OutputState: o.OutputState, + } +} + // Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field. func (o LookupOsPolicyAssignmentResultOutput) Baseline() pulumi.BoolOutput { return o.ApplyT(func(v LookupOsPolicyAssignmentResult) bool { return v.Baseline }).(pulumi.BoolOutput) diff --git a/sdk/go/google/osconfig/v1/getPatchDeployment.go b/sdk/go/google/osconfig/v1/getPatchDeployment.go index 9abf23f06a..e3e1c106bf 100644 --- a/sdk/go/google/osconfig/v1/getPatchDeployment.go +++ b/sdk/go/google/osconfig/v1/getPatchDeployment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get an OS Config patch deployment. @@ -90,6 +91,12 @@ func (o LookupPatchDeploymentResultOutput) ToLookupPatchDeploymentResultOutputWi return o } +func (o LookupPatchDeploymentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPatchDeploymentResult] { + return pulumix.Output[LookupPatchDeploymentResult]{ + OutputState: o.OutputState, + } +} + // Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. func (o LookupPatchDeploymentResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupPatchDeploymentResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/osconfig/v1/osPolicyAssignment.go b/sdk/go/google/osconfig/v1/osPolicyAssignment.go index 89e5c9b126..a22ea56000 100644 --- a/sdk/go/google/osconfig/v1/osPolicyAssignment.go +++ b/sdk/go/google/osconfig/v1/osPolicyAssignment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an OS policy assignment. This method also creates the first revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. For more information, see [Method: projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel). @@ -167,6 +168,12 @@ func (i *OsPolicyAssignment) ToOsPolicyAssignmentOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OsPolicyAssignmentOutput) } +func (i *OsPolicyAssignment) ToOutput(ctx context.Context) pulumix.Output[*OsPolicyAssignment] { + return pulumix.Output[*OsPolicyAssignment]{ + OutputState: i.ToOsPolicyAssignmentOutputWithContext(ctx).OutputState, + } +} + type OsPolicyAssignmentOutput struct{ *pulumi.OutputState } func (OsPolicyAssignmentOutput) ElementType() reflect.Type { @@ -181,6 +188,12 @@ func (o OsPolicyAssignmentOutput) ToOsPolicyAssignmentOutputWithContext(ctx cont return o } +func (o OsPolicyAssignmentOutput) ToOutput(ctx context.Context) pulumix.Output[*OsPolicyAssignment] { + return pulumix.Output[*OsPolicyAssignment]{ + OutputState: o.OutputState, + } +} + // Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field. func (o OsPolicyAssignmentOutput) Baseline() pulumi.BoolOutput { return o.ApplyT(func(v *OsPolicyAssignment) pulumi.BoolOutput { return v.Baseline }).(pulumi.BoolOutput) diff --git a/sdk/go/google/osconfig/v1/patchDeployment.go b/sdk/go/google/osconfig/v1/patchDeployment.go index 477a150c26..ca634e4107 100644 --- a/sdk/go/google/osconfig/v1/patchDeployment.go +++ b/sdk/go/google/osconfig/v1/patchDeployment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an OS Config patch deployment. @@ -169,6 +170,12 @@ func (i *PatchDeployment) ToPatchDeploymentOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PatchDeploymentOutput) } +func (i *PatchDeployment) ToOutput(ctx context.Context) pulumix.Output[*PatchDeployment] { + return pulumix.Output[*PatchDeployment]{ + OutputState: i.ToPatchDeploymentOutputWithContext(ctx).OutputState, + } +} + type PatchDeploymentOutput struct{ *pulumi.OutputState } func (PatchDeploymentOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o PatchDeploymentOutput) ToPatchDeploymentOutputWithContext(ctx context.Co return o } +func (o PatchDeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[*PatchDeployment] { + return pulumix.Output[*PatchDeployment]{ + OutputState: o.OutputState, + } +} + // Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. func (o PatchDeploymentOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *PatchDeployment) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/osconfig/v1/pulumiEnums.go b/sdk/go/google/osconfig/v1/pulumiEnums.go index b9941139e0..4449dff0de 100644 --- a/sdk/go/google/osconfig/v1/pulumiEnums.go +++ b/sdk/go/google/osconfig/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // By changing the type to DIST, the patching is performed using `apt-get dist-upgrade` instead. @@ -82,6 +83,12 @@ func (o AptSettingsTypeOutput) ToAptSettingsTypePtrOutputWithContext(ctx context }).(AptSettingsTypePtrOutput) } +func (o AptSettingsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AptSettingsType] { + return pulumix.Output[AptSettingsType]{ + OutputState: o.OutputState, + } +} + func (o AptSettingsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o AptSettingsTypePtrOutput) ToAptSettingsTypePtrOutputWithContext(ctx cont return o } +func (o AptSettingsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AptSettingsType] { + return pulumix.Output[*AptSettingsType]{ + OutputState: o.OutputState, + } +} + func (o AptSettingsTypePtrOutput) Elem() AptSettingsTypeOutput { return o.ApplyT(func(v *AptSettingsType) AptSettingsType { if v != nil { @@ -179,6 +192,12 @@ func (in *aptSettingsTypePtr) ToAptSettingsTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(AptSettingsTypePtrOutput) } +func (in *aptSettingsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AptSettingsType] { + return pulumix.Output[*AptSettingsType]{ + OutputState: in.ToAptSettingsTypePtrOutputWithContext(ctx).OutputState, + } +} + // The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts with [shebang lines] (https://en.wikipedia.org/wiki/Shebang_\(Unix\)). type ExecStepConfigInterpreter string @@ -253,6 +272,12 @@ func (o ExecStepConfigInterpreterOutput) ToExecStepConfigInterpreterPtrOutputWit }).(ExecStepConfigInterpreterPtrOutput) } +func (o ExecStepConfigInterpreterOutput) ToOutput(ctx context.Context) pulumix.Output[ExecStepConfigInterpreter] { + return pulumix.Output[ExecStepConfigInterpreter]{ + OutputState: o.OutputState, + } +} + func (o ExecStepConfigInterpreterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o ExecStepConfigInterpreterPtrOutput) ToExecStepConfigInterpreterPtrOutput return o } +func (o ExecStepConfigInterpreterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecStepConfigInterpreter] { + return pulumix.Output[*ExecStepConfigInterpreter]{ + OutputState: o.OutputState, + } +} + func (o ExecStepConfigInterpreterPtrOutput) Elem() ExecStepConfigInterpreterOutput { return o.ApplyT(func(v *ExecStepConfigInterpreter) ExecStepConfigInterpreter { if v != nil { @@ -350,6 +381,12 @@ func (in *execStepConfigInterpreterPtr) ToExecStepConfigInterpreterPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ExecStepConfigInterpreterPtrOutput) } +func (in *execStepConfigInterpreterPtr) ToOutput(ctx context.Context) pulumix.Output[*ExecStepConfigInterpreter] { + return pulumix.Output[*ExecStepConfigInterpreter]{ + OutputState: in.ToExecStepConfigInterpreterPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Policy mode type OSPolicyMode string @@ -422,6 +459,12 @@ func (o OSPolicyModeOutput) ToOSPolicyModePtrOutputWithContext(ctx context.Conte }).(OSPolicyModePtrOutput) } +func (o OSPolicyModeOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyMode] { + return pulumix.Output[OSPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o OSPolicyModePtrOutput) ToOSPolicyModePtrOutputWithContext(ctx context.Co return o } +func (o OSPolicyModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyMode] { + return pulumix.Output[*OSPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyModePtrOutput) Elem() OSPolicyModeOutput { return o.ApplyT(func(v *OSPolicyMode) OSPolicyMode { if v != nil { @@ -519,6 +568,12 @@ func (in *ospolicyModePtr) ToOSPolicyModePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(OSPolicyModePtrOutput) } +func (in *ospolicyModePtr) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyMode] { + return pulumix.Output[*OSPolicyMode]{ + OutputState: in.ToOSPolicyModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The script interpreter to use. type OSPolicyResourceExecResourceExecInterpreter string @@ -593,6 +648,12 @@ func (o OSPolicyResourceExecResourceExecInterpreterOutput) ToOSPolicyResourceExe }).(OSPolicyResourceExecResourceExecInterpreterPtrOutput) } +func (o OSPolicyResourceExecResourceExecInterpreterOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResourceExecInterpreter] { + return pulumix.Output[OSPolicyResourceExecResourceExecInterpreter]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceExecResourceExecInterpreterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -628,6 +689,12 @@ func (o OSPolicyResourceExecResourceExecInterpreterPtrOutput) ToOSPolicyResource return o } +func (o OSPolicyResourceExecResourceExecInterpreterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResourceExecInterpreter] { + return pulumix.Output[*OSPolicyResourceExecResourceExecInterpreter]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceExecResourceExecInterpreterPtrOutput) Elem() OSPolicyResourceExecResourceExecInterpreterOutput { return o.ApplyT(func(v *OSPolicyResourceExecResourceExecInterpreter) OSPolicyResourceExecResourceExecInterpreter { if v != nil { @@ -690,6 +757,12 @@ func (in *ospolicyResourceExecResourceExecInterpreterPtr) ToOSPolicyResourceExec return pulumi.ToOutputWithContext(ctx, in).(OSPolicyResourceExecResourceExecInterpreterPtrOutput) } +func (in *ospolicyResourceExecResourceExecInterpreterPtr) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResourceExecInterpreter] { + return pulumix.Output[*OSPolicyResourceExecResourceExecInterpreter]{ + OutputState: in.ToOSPolicyResourceExecResourceExecInterpreterPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Desired state of the file. type OSPolicyResourceFileResourceState string @@ -764,6 +837,12 @@ func (o OSPolicyResourceFileResourceStateOutput) ToOSPolicyResourceFileResourceS }).(OSPolicyResourceFileResourceStatePtrOutput) } +func (o OSPolicyResourceFileResourceStateOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileResourceState] { + return pulumix.Output[OSPolicyResourceFileResourceState]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFileResourceStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -799,6 +878,12 @@ func (o OSPolicyResourceFileResourceStatePtrOutput) ToOSPolicyResourceFileResour return o } +func (o OSPolicyResourceFileResourceStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileResourceState] { + return pulumix.Output[*OSPolicyResourceFileResourceState]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFileResourceStatePtrOutput) Elem() OSPolicyResourceFileResourceStateOutput { return o.ApplyT(func(v *OSPolicyResourceFileResourceState) OSPolicyResourceFileResourceState { if v != nil { @@ -861,6 +946,12 @@ func (in *ospolicyResourceFileResourceStatePtr) ToOSPolicyResourceFileResourceSt return pulumi.ToOutputWithContext(ctx, in).(OSPolicyResourceFileResourceStatePtrOutput) } +func (in *ospolicyResourceFileResourceStatePtr) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileResourceState] { + return pulumix.Output[*OSPolicyResourceFileResourceState]{ + OutputState: in.ToOSPolicyResourceFileResourceStatePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The desired state the agent should maintain for this package. type OSPolicyResourcePackageResourceDesiredState string @@ -933,6 +1024,12 @@ func (o OSPolicyResourcePackageResourceDesiredStateOutput) ToOSPolicyResourcePac }).(OSPolicyResourcePackageResourceDesiredStatePtrOutput) } +func (o OSPolicyResourcePackageResourceDesiredStateOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceDesiredState] { + return pulumix.Output[OSPolicyResourcePackageResourceDesiredState]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceDesiredStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -968,6 +1065,12 @@ func (o OSPolicyResourcePackageResourceDesiredStatePtrOutput) ToOSPolicyResource return o } +func (o OSPolicyResourcePackageResourceDesiredStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceDesiredState] { + return pulumix.Output[*OSPolicyResourcePackageResourceDesiredState]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceDesiredStatePtrOutput) Elem() OSPolicyResourcePackageResourceDesiredStateOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceDesiredState) OSPolicyResourcePackageResourceDesiredState { if v != nil { @@ -1030,6 +1133,12 @@ func (in *ospolicyResourcePackageResourceDesiredStatePtr) ToOSPolicyResourcePack return pulumi.ToOutputWithContext(ctx, in).(OSPolicyResourcePackageResourceDesiredStatePtrOutput) } +func (in *ospolicyResourcePackageResourceDesiredStatePtr) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceDesiredState] { + return pulumix.Output[*OSPolicyResourcePackageResourceDesiredState]{ + OutputState: in.ToOSPolicyResourcePackageResourceDesiredStatePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Type of archive files in this repository. type OSPolicyResourceRepositoryResourceAptRepositoryArchiveType string @@ -1102,6 +1211,12 @@ func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToOSPo }).(OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) } +func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceAptRepositoryArchiveType] { + return pulumix.Output[OSPolicyResourceRepositoryResourceAptRepositoryArchiveType]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1137,6 +1252,12 @@ func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) ToO return o } +func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepositoryArchiveType] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepositoryArchiveType]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) Elem() OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) OSPolicyResourceRepositoryResourceAptRepositoryArchiveType { if v != nil { @@ -1199,6 +1320,12 @@ func (in *ospolicyResourceRepositoryResourceAptRepositoryArchiveTypePtr) ToOSPol return pulumi.ToOutputWithContext(ctx, in).(OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) } +func (in *ospolicyResourceRepositoryResourceAptRepositoryArchiveTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepositoryArchiveType] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepositoryArchiveType]{ + OutputState: in.ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutputWithContext(ctx).OutputState, + } +} + // Post-patch reboot settings. type PatchConfigRebootConfig string @@ -1273,6 +1400,12 @@ func (o PatchConfigRebootConfigOutput) ToPatchConfigRebootConfigPtrOutputWithCon }).(PatchConfigRebootConfigPtrOutput) } +func (o PatchConfigRebootConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PatchConfigRebootConfig] { + return pulumix.Output[PatchConfigRebootConfig]{ + OutputState: o.OutputState, + } +} + func (o PatchConfigRebootConfigOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1308,6 +1441,12 @@ func (o PatchConfigRebootConfigPtrOutput) ToPatchConfigRebootConfigPtrOutputWith return o } +func (o PatchConfigRebootConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PatchConfigRebootConfig] { + return pulumix.Output[*PatchConfigRebootConfig]{ + OutputState: o.OutputState, + } +} + func (o PatchConfigRebootConfigPtrOutput) Elem() PatchConfigRebootConfigOutput { return o.ApplyT(func(v *PatchConfigRebootConfig) PatchConfigRebootConfig { if v != nil { @@ -1370,6 +1509,12 @@ func (in *patchConfigRebootConfigPtr) ToPatchConfigRebootConfigPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(PatchConfigRebootConfigPtrOutput) } +func (in *patchConfigRebootConfigPtr) ToOutput(ctx context.Context) pulumix.Output[*PatchConfigRebootConfig] { + return pulumix.Output[*PatchConfigRebootConfig]{ + OutputState: in.ToPatchConfigRebootConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Mode of the patch rollout. type PatchRolloutMode string @@ -1442,6 +1587,12 @@ func (o PatchRolloutModeOutput) ToPatchRolloutModePtrOutputWithContext(ctx conte }).(PatchRolloutModePtrOutput) } +func (o PatchRolloutModeOutput) ToOutput(ctx context.Context) pulumix.Output[PatchRolloutMode] { + return pulumix.Output[PatchRolloutMode]{ + OutputState: o.OutputState, + } +} + func (o PatchRolloutModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1477,6 +1628,12 @@ func (o PatchRolloutModePtrOutput) ToPatchRolloutModePtrOutputWithContext(ctx co return o } +func (o PatchRolloutModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PatchRolloutMode] { + return pulumix.Output[*PatchRolloutMode]{ + OutputState: o.OutputState, + } +} + func (o PatchRolloutModePtrOutput) Elem() PatchRolloutModeOutput { return o.ApplyT(func(v *PatchRolloutMode) PatchRolloutMode { if v != nil { @@ -1539,6 +1696,12 @@ func (in *patchRolloutModePtr) ToPatchRolloutModePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(PatchRolloutModePtrOutput) } +func (in *patchRolloutModePtr) ToOutput(ctx context.Context) pulumix.Output[*PatchRolloutMode] { + return pulumix.Output[*PatchRolloutMode]{ + OutputState: in.ToPatchRolloutModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The frequency unit of this recurring schedule. type RecurringScheduleFrequency string @@ -1613,6 +1776,12 @@ func (o RecurringScheduleFrequencyOutput) ToRecurringScheduleFrequencyPtrOutputW }).(RecurringScheduleFrequencyPtrOutput) } +func (o RecurringScheduleFrequencyOutput) ToOutput(ctx context.Context) pulumix.Output[RecurringScheduleFrequency] { + return pulumix.Output[RecurringScheduleFrequency]{ + OutputState: o.OutputState, + } +} + func (o RecurringScheduleFrequencyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1648,6 +1817,12 @@ func (o RecurringScheduleFrequencyPtrOutput) ToRecurringScheduleFrequencyPtrOutp return o } +func (o RecurringScheduleFrequencyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RecurringScheduleFrequency] { + return pulumix.Output[*RecurringScheduleFrequency]{ + OutputState: o.OutputState, + } +} + func (o RecurringScheduleFrequencyPtrOutput) Elem() RecurringScheduleFrequencyOutput { return o.ApplyT(func(v *RecurringScheduleFrequency) RecurringScheduleFrequency { if v != nil { @@ -1710,6 +1885,12 @@ func (in *recurringScheduleFrequencyPtr) ToRecurringScheduleFrequencyPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RecurringScheduleFrequencyPtrOutput) } +func (in *recurringScheduleFrequencyPtr) ToOutput(ctx context.Context) pulumix.Output[*RecurringScheduleFrequency] { + return pulumix.Output[*RecurringScheduleFrequency]{ + OutputState: in.ToRecurringScheduleFrequencyPtrOutputWithContext(ctx).OutputState, + } +} + // Required. A day of the week. type WeekDayOfMonthDayOfWeek string @@ -1792,6 +1973,12 @@ func (o WeekDayOfMonthDayOfWeekOutput) ToWeekDayOfMonthDayOfWeekPtrOutputWithCon }).(WeekDayOfMonthDayOfWeekPtrOutput) } +func (o WeekDayOfMonthDayOfWeekOutput) ToOutput(ctx context.Context) pulumix.Output[WeekDayOfMonthDayOfWeek] { + return pulumix.Output[WeekDayOfMonthDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o WeekDayOfMonthDayOfWeekOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1827,6 +2014,12 @@ func (o WeekDayOfMonthDayOfWeekPtrOutput) ToWeekDayOfMonthDayOfWeekPtrOutputWith return o } +func (o WeekDayOfMonthDayOfWeekPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WeekDayOfMonthDayOfWeek] { + return pulumix.Output[*WeekDayOfMonthDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o WeekDayOfMonthDayOfWeekPtrOutput) Elem() WeekDayOfMonthDayOfWeekOutput { return o.ApplyT(func(v *WeekDayOfMonthDayOfWeek) WeekDayOfMonthDayOfWeek { if v != nil { @@ -1889,6 +2082,12 @@ func (in *weekDayOfMonthDayOfWeekPtr) ToWeekDayOfMonthDayOfWeekPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(WeekDayOfMonthDayOfWeekPtrOutput) } +func (in *weekDayOfMonthDayOfWeekPtr) ToOutput(ctx context.Context) pulumix.Output[*WeekDayOfMonthDayOfWeek] { + return pulumix.Output[*WeekDayOfMonthDayOfWeek]{ + OutputState: in.ToWeekDayOfMonthDayOfWeekPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Day of the week. type WeeklyScheduleDayOfWeek string @@ -1971,6 +2170,12 @@ func (o WeeklyScheduleDayOfWeekOutput) ToWeeklyScheduleDayOfWeekPtrOutputWithCon }).(WeeklyScheduleDayOfWeekPtrOutput) } +func (o WeeklyScheduleDayOfWeekOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyScheduleDayOfWeek] { + return pulumix.Output[WeeklyScheduleDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o WeeklyScheduleDayOfWeekOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2006,6 +2211,12 @@ func (o WeeklyScheduleDayOfWeekPtrOutput) ToWeeklyScheduleDayOfWeekPtrOutputWith return o } +func (o WeeklyScheduleDayOfWeekPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WeeklyScheduleDayOfWeek] { + return pulumix.Output[*WeeklyScheduleDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o WeeklyScheduleDayOfWeekPtrOutput) Elem() WeeklyScheduleDayOfWeekOutput { return o.ApplyT(func(v *WeeklyScheduleDayOfWeek) WeeklyScheduleDayOfWeek { if v != nil { @@ -2068,6 +2279,12 @@ func (in *weeklyScheduleDayOfWeekPtr) ToWeeklyScheduleDayOfWeekPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(WeeklyScheduleDayOfWeekPtrOutput) } +func (in *weeklyScheduleDayOfWeekPtr) ToOutput(ctx context.Context) pulumix.Output[*WeeklyScheduleDayOfWeek] { + return pulumix.Output[*WeeklyScheduleDayOfWeek]{ + OutputState: in.ToWeeklyScheduleDayOfWeekPtrOutputWithContext(ctx).OutputState, + } +} + type WindowsUpdateSettingsClassificationsItem string const ( @@ -2153,6 +2370,12 @@ func (o WindowsUpdateSettingsClassificationsItemOutput) ToWindowsUpdateSettingsC }).(WindowsUpdateSettingsClassificationsItemPtrOutput) } +func (o WindowsUpdateSettingsClassificationsItemOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdateSettingsClassificationsItem] { + return pulumix.Output[WindowsUpdateSettingsClassificationsItem]{ + OutputState: o.OutputState, + } +} + func (o WindowsUpdateSettingsClassificationsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2188,6 +2411,12 @@ func (o WindowsUpdateSettingsClassificationsItemPtrOutput) ToWindowsUpdateSettin return o } +func (o WindowsUpdateSettingsClassificationsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WindowsUpdateSettingsClassificationsItem] { + return pulumix.Output[*WindowsUpdateSettingsClassificationsItem]{ + OutputState: o.OutputState, + } +} + func (o WindowsUpdateSettingsClassificationsItemPtrOutput) Elem() WindowsUpdateSettingsClassificationsItemOutput { return o.ApplyT(func(v *WindowsUpdateSettingsClassificationsItem) WindowsUpdateSettingsClassificationsItem { if v != nil { @@ -2250,6 +2479,12 @@ func (in *windowsUpdateSettingsClassificationsItemPtr) ToWindowsUpdateSettingsCl return pulumi.ToOutputWithContext(ctx, in).(WindowsUpdateSettingsClassificationsItemPtrOutput) } +func (in *windowsUpdateSettingsClassificationsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*WindowsUpdateSettingsClassificationsItem] { + return pulumix.Output[*WindowsUpdateSettingsClassificationsItem]{ + OutputState: in.ToWindowsUpdateSettingsClassificationsItemPtrOutputWithContext(ctx).OutputState, + } +} + // WindowsUpdateSettingsClassificationsItemArrayInput is an input type that accepts WindowsUpdateSettingsClassificationsItemArray and WindowsUpdateSettingsClassificationsItemArrayOutput values. // You can construct a concrete instance of `WindowsUpdateSettingsClassificationsItemArrayInput` via: // @@ -2275,6 +2510,12 @@ func (i WindowsUpdateSettingsClassificationsItemArray) ToWindowsUpdateSettingsCl return pulumi.ToOutputWithContext(ctx, i).(WindowsUpdateSettingsClassificationsItemArrayOutput) } +func (i WindowsUpdateSettingsClassificationsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]WindowsUpdateSettingsClassificationsItem] { + return pulumix.Output[[]WindowsUpdateSettingsClassificationsItem]{ + OutputState: i.ToWindowsUpdateSettingsClassificationsItemArrayOutputWithContext(ctx).OutputState, + } +} + type WindowsUpdateSettingsClassificationsItemArrayOutput struct{ *pulumi.OutputState } func (WindowsUpdateSettingsClassificationsItemArrayOutput) ElementType() reflect.Type { @@ -2289,6 +2530,12 @@ func (o WindowsUpdateSettingsClassificationsItemArrayOutput) ToWindowsUpdateSett return o } +func (o WindowsUpdateSettingsClassificationsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WindowsUpdateSettingsClassificationsItem] { + return pulumix.Output[[]WindowsUpdateSettingsClassificationsItem]{ + OutputState: o.OutputState, + } +} + func (o WindowsUpdateSettingsClassificationsItemArrayOutput) Index(i pulumi.IntInput) WindowsUpdateSettingsClassificationsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WindowsUpdateSettingsClassificationsItem { return vs[0].([]WindowsUpdateSettingsClassificationsItem)[vs[1].(int)] diff --git a/sdk/go/google/osconfig/v1/pulumiTypes.go b/sdk/go/google/osconfig/v1/pulumiTypes.go index 793750be42..09d6e017d3 100644 --- a/sdk/go/google/osconfig/v1/pulumiTypes.go +++ b/sdk/go/google/osconfig/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i AptSettingsArgs) ToAptSettingsOutputWithContext(ctx context.Context) Apt return pulumi.ToOutputWithContext(ctx, i).(AptSettingsOutput) } +func (i AptSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[AptSettings] { + return pulumix.Output[AptSettings]{ + OutputState: i.ToAptSettingsOutputWithContext(ctx).OutputState, + } +} + func (i AptSettingsArgs) ToAptSettingsPtrOutput() AptSettingsPtrOutput { return i.ToAptSettingsPtrOutputWithContext(context.Background()) } @@ -97,6 +104,12 @@ func (i *aptSettingsPtrType) ToAptSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AptSettingsPtrOutput) } +func (i *aptSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AptSettings] { + return pulumix.Output[*AptSettings]{ + OutputState: i.ToAptSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Apt patching is completed by executing `apt-get update && apt-get upgrade`. Additional options can be set to control how this is executed. type AptSettingsOutput struct{ *pulumi.OutputState } @@ -122,6 +135,12 @@ func (o AptSettingsOutput) ToAptSettingsPtrOutputWithContext(ctx context.Context }).(AptSettingsPtrOutput) } +func (o AptSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[AptSettings] { + return pulumix.Output[AptSettings]{ + OutputState: o.OutputState, + } +} + // List of packages to exclude from update. These packages will be excluded func (o AptSettingsOutput) Excludes() pulumi.StringArrayOutput { return o.ApplyT(func(v AptSettings) []string { return v.Excludes }).(pulumi.StringArrayOutput) @@ -151,6 +170,12 @@ func (o AptSettingsPtrOutput) ToAptSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o AptSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AptSettings] { + return pulumix.Output[*AptSettings]{ + OutputState: o.OutputState, + } +} + func (o AptSettingsPtrOutput) Elem() AptSettingsOutput { return o.ApplyT(func(v *AptSettings) AptSettings { if v != nil { @@ -216,6 +241,12 @@ func (o AptSettingsResponseOutput) ToAptSettingsResponseOutputWithContext(ctx co return o } +func (o AptSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AptSettingsResponse] { + return pulumix.Output[AptSettingsResponse]{ + OutputState: o.OutputState, + } +} + // List of packages to exclude from update. These packages will be excluded func (o AptSettingsResponseOutput) Excludes() pulumi.StringArrayOutput { return o.ApplyT(func(v AptSettingsResponse) []string { return v.Excludes }).(pulumi.StringArrayOutput) @@ -270,6 +301,12 @@ func (i ExecStepArgs) ToExecStepOutputWithContext(ctx context.Context) ExecStepO return pulumi.ToOutputWithContext(ctx, i).(ExecStepOutput) } +func (i ExecStepArgs) ToOutput(ctx context.Context) pulumix.Output[ExecStep] { + return pulumix.Output[ExecStep]{ + OutputState: i.ToExecStepOutputWithContext(ctx).OutputState, + } +} + func (i ExecStepArgs) ToExecStepPtrOutput() ExecStepPtrOutput { return i.ToExecStepPtrOutputWithContext(context.Background()) } @@ -311,6 +348,12 @@ func (i *execStepPtrType) ToExecStepPtrOutputWithContext(ctx context.Context) Ex return pulumi.ToOutputWithContext(ctx, i).(ExecStepPtrOutput) } +func (i *execStepPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExecStep] { + return pulumix.Output[*ExecStep]{ + OutputState: i.ToExecStepPtrOutputWithContext(ctx).OutputState, + } +} + // A step that runs an executable for a PatchJob. type ExecStepOutput struct{ *pulumi.OutputState } @@ -336,6 +379,12 @@ func (o ExecStepOutput) ToExecStepPtrOutputWithContext(ctx context.Context) Exec }).(ExecStepPtrOutput) } +func (o ExecStepOutput) ToOutput(ctx context.Context) pulumix.Output[ExecStep] { + return pulumix.Output[ExecStep]{ + OutputState: o.OutputState, + } +} + // The ExecStepConfig for all Linux VMs targeted by the PatchJob. func (o ExecStepOutput) LinuxExecStepConfig() ExecStepConfigPtrOutput { return o.ApplyT(func(v ExecStep) *ExecStepConfig { return v.LinuxExecStepConfig }).(ExecStepConfigPtrOutput) @@ -360,6 +409,12 @@ func (o ExecStepPtrOutput) ToExecStepPtrOutputWithContext(ctx context.Context) E return o } +func (o ExecStepPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecStep] { + return pulumix.Output[*ExecStep]{ + OutputState: o.OutputState, + } +} + func (o ExecStepPtrOutput) Elem() ExecStepOutput { return o.ApplyT(func(v *ExecStep) ExecStep { if v != nil { @@ -437,6 +492,12 @@ func (i ExecStepConfigArgs) ToExecStepConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ExecStepConfigOutput) } +func (i ExecStepConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ExecStepConfig] { + return pulumix.Output[ExecStepConfig]{ + OutputState: i.ToExecStepConfigOutputWithContext(ctx).OutputState, + } +} + func (i ExecStepConfigArgs) ToExecStepConfigPtrOutput() ExecStepConfigPtrOutput { return i.ToExecStepConfigPtrOutputWithContext(context.Background()) } @@ -478,6 +539,12 @@ func (i *execStepConfigPtrType) ToExecStepConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ExecStepConfigPtrOutput) } +func (i *execStepConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExecStepConfig] { + return pulumix.Output[*ExecStepConfig]{ + OutputState: i.ToExecStepConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Common configurations for an ExecStep. type ExecStepConfigOutput struct{ *pulumi.OutputState } @@ -503,6 +570,12 @@ func (o ExecStepConfigOutput) ToExecStepConfigPtrOutputWithContext(ctx context.C }).(ExecStepConfigPtrOutput) } +func (o ExecStepConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ExecStepConfig] { + return pulumix.Output[ExecStepConfig]{ + OutputState: o.OutputState, + } +} + // Defaults to [0]. A list of possible return values that the execution can return to indicate a success. func (o ExecStepConfigOutput) AllowedSuccessCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v ExecStepConfig) []int { return v.AllowedSuccessCodes }).(pulumi.IntArrayOutput) @@ -537,6 +610,12 @@ func (o ExecStepConfigPtrOutput) ToExecStepConfigPtrOutputWithContext(ctx contex return o } +func (o ExecStepConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecStepConfig] { + return pulumix.Output[*ExecStepConfig]{ + OutputState: o.OutputState, + } +} + func (o ExecStepConfigPtrOutput) Elem() ExecStepConfigOutput { return o.ApplyT(func(v *ExecStepConfig) ExecStepConfig { if v != nil { @@ -614,6 +693,12 @@ func (o ExecStepConfigResponseOutput) ToExecStepConfigResponseOutputWithContext( return o } +func (o ExecStepConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecStepConfigResponse] { + return pulumix.Output[ExecStepConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defaults to [0]. A list of possible return values that the execution can return to indicate a success. func (o ExecStepConfigResponseOutput) AllowedSuccessCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v ExecStepConfigResponse) []int { return v.AllowedSuccessCodes }).(pulumi.IntArrayOutput) @@ -657,6 +742,12 @@ func (o ExecStepResponseOutput) ToExecStepResponseOutputWithContext(ctx context. return o } +func (o ExecStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecStepResponse] { + return pulumix.Output[ExecStepResponse]{ + OutputState: o.OutputState, + } +} + // The ExecStepConfig for all Linux VMs targeted by the PatchJob. func (o ExecStepResponseOutput) LinuxExecStepConfig() ExecStepConfigResponseOutput { return o.ApplyT(func(v ExecStepResponse) ExecStepConfigResponse { return v.LinuxExecStepConfig }).(ExecStepConfigResponseOutput) @@ -706,6 +797,12 @@ func (i FixedOrPercentArgs) ToFixedOrPercentOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentOutput) } +func (i FixedOrPercentArgs) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: i.ToFixedOrPercentOutputWithContext(ctx).OutputState, + } +} + func (i FixedOrPercentArgs) ToFixedOrPercentPtrOutput() FixedOrPercentPtrOutput { return i.ToFixedOrPercentPtrOutputWithContext(context.Background()) } @@ -747,6 +844,12 @@ func (i *fixedOrPercentPtrType) ToFixedOrPercentPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentPtrOutput) } +func (i *fixedOrPercentPtrType) ToOutput(ctx context.Context) pulumix.Output[*FixedOrPercent] { + return pulumix.Output[*FixedOrPercent]{ + OutputState: i.ToFixedOrPercentPtrOutputWithContext(ctx).OutputState, + } +} + // Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value. type FixedOrPercentOutput struct{ *pulumi.OutputState } @@ -772,6 +875,12 @@ func (o FixedOrPercentOutput) ToFixedOrPercentPtrOutputWithContext(ctx context.C }).(FixedOrPercentPtrOutput) } +func (o FixedOrPercentOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: o.OutputState, + } +} + // Specifies a fixed value. func (o FixedOrPercentOutput) Fixed() pulumi.IntPtrOutput { return o.ApplyT(func(v FixedOrPercent) *int { return v.Fixed }).(pulumi.IntPtrOutput) @@ -796,6 +905,12 @@ func (o FixedOrPercentPtrOutput) ToFixedOrPercentPtrOutputWithContext(ctx contex return o } +func (o FixedOrPercentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FixedOrPercent] { + return pulumix.Output[*FixedOrPercent]{ + OutputState: o.OutputState, + } +} + func (o FixedOrPercentPtrOutput) Elem() FixedOrPercentOutput { return o.ApplyT(func(v *FixedOrPercent) FixedOrPercent { if v != nil { @@ -849,6 +964,12 @@ func (o FixedOrPercentResponseOutput) ToFixedOrPercentResponseOutputWithContext( return o } +func (o FixedOrPercentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercentResponse] { + return pulumix.Output[FixedOrPercentResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a fixed value. func (o FixedOrPercentResponseOutput) Fixed() pulumi.IntOutput { return o.ApplyT(func(v FixedOrPercentResponse) int { return v.Fixed }).(pulumi.IntOutput) @@ -902,6 +1023,12 @@ func (i GcsObjectArgs) ToGcsObjectOutputWithContext(ctx context.Context) GcsObje return pulumi.ToOutputWithContext(ctx, i).(GcsObjectOutput) } +func (i GcsObjectArgs) ToOutput(ctx context.Context) pulumix.Output[GcsObject] { + return pulumix.Output[GcsObject]{ + OutputState: i.ToGcsObjectOutputWithContext(ctx).OutputState, + } +} + func (i GcsObjectArgs) ToGcsObjectPtrOutput() GcsObjectPtrOutput { return i.ToGcsObjectPtrOutputWithContext(context.Background()) } @@ -943,6 +1070,12 @@ func (i *gcsObjectPtrType) ToGcsObjectPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GcsObjectPtrOutput) } +func (i *gcsObjectPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcsObject] { + return pulumix.Output[*GcsObject]{ + OutputState: i.ToGcsObjectPtrOutputWithContext(ctx).OutputState, + } +} + // Cloud Storage object representation. type GcsObjectOutput struct{ *pulumi.OutputState } @@ -968,6 +1101,12 @@ func (o GcsObjectOutput) ToGcsObjectPtrOutputWithContext(ctx context.Context) Gc }).(GcsObjectPtrOutput) } +func (o GcsObjectOutput) ToOutput(ctx context.Context) pulumix.Output[GcsObject] { + return pulumix.Output[GcsObject]{ + OutputState: o.OutputState, + } +} + // Bucket of the Cloud Storage object. func (o GcsObjectOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v GcsObject) string { return v.Bucket }).(pulumi.StringOutput) @@ -997,6 +1136,12 @@ func (o GcsObjectPtrOutput) ToGcsObjectPtrOutputWithContext(ctx context.Context) return o } +func (o GcsObjectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcsObject] { + return pulumix.Output[*GcsObject]{ + OutputState: o.OutputState, + } +} + func (o GcsObjectPtrOutput) Elem() GcsObjectOutput { return o.ApplyT(func(v *GcsObject) GcsObject { if v != nil { @@ -1062,6 +1207,12 @@ func (o GcsObjectResponseOutput) ToGcsObjectResponseOutputWithContext(ctx contex return o } +func (o GcsObjectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcsObjectResponse] { + return pulumix.Output[GcsObjectResponse]{ + OutputState: o.OutputState, + } +} + // Bucket of the Cloud Storage object. func (o GcsObjectResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v GcsObjectResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -1108,6 +1259,12 @@ func (i GooSettingsArgs) ToGooSettingsOutputWithContext(ctx context.Context) Goo return pulumi.ToOutputWithContext(ctx, i).(GooSettingsOutput) } +func (i GooSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GooSettings] { + return pulumix.Output[GooSettings]{ + OutputState: i.ToGooSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GooSettingsArgs) ToGooSettingsPtrOutput() GooSettingsPtrOutput { return i.ToGooSettingsPtrOutputWithContext(context.Background()) } @@ -1149,6 +1306,12 @@ func (i *gooSettingsPtrType) ToGooSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GooSettingsPtrOutput) } +func (i *gooSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooSettings] { + return pulumix.Output[*GooSettings]{ + OutputState: i.ToGooSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Googet patching is performed by running `googet update`. type GooSettingsOutput struct{ *pulumi.OutputState } @@ -1174,6 +1337,12 @@ func (o GooSettingsOutput) ToGooSettingsPtrOutputWithContext(ctx context.Context }).(GooSettingsPtrOutput) } +func (o GooSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GooSettings] { + return pulumix.Output[GooSettings]{ + OutputState: o.OutputState, + } +} + type GooSettingsPtrOutput struct{ *pulumi.OutputState } func (GooSettingsPtrOutput) ElementType() reflect.Type { @@ -1188,6 +1357,12 @@ func (o GooSettingsPtrOutput) ToGooSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o GooSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooSettings] { + return pulumix.Output[*GooSettings]{ + OutputState: o.OutputState, + } +} + func (o GooSettingsPtrOutput) Elem() GooSettingsOutput { return o.ApplyT(func(v *GooSettings) GooSettings { if v != nil { @@ -1217,6 +1392,12 @@ func (o GooSettingsResponseOutput) ToGooSettingsResponseOutputWithContext(ctx co return o } +func (o GooSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooSettingsResponse] { + return pulumix.Output[GooSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month". type MonthlySchedule struct { // One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc. @@ -1256,6 +1437,12 @@ func (i MonthlyScheduleArgs) ToMonthlyScheduleOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(MonthlyScheduleOutput) } +func (i MonthlyScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[MonthlySchedule] { + return pulumix.Output[MonthlySchedule]{ + OutputState: i.ToMonthlyScheduleOutputWithContext(ctx).OutputState, + } +} + // Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month". type MonthlyScheduleOutput struct{ *pulumi.OutputState } @@ -1271,6 +1458,12 @@ func (o MonthlyScheduleOutput) ToMonthlyScheduleOutputWithContext(ctx context.Co return o } +func (o MonthlyScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[MonthlySchedule] { + return pulumix.Output[MonthlySchedule]{ + OutputState: o.OutputState, + } +} + // One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc. func (o MonthlyScheduleOutput) MonthDay() pulumi.IntOutput { return o.ApplyT(func(v MonthlySchedule) int { return v.MonthDay }).(pulumi.IntOutput) @@ -1304,6 +1497,12 @@ func (o MonthlyScheduleResponseOutput) ToMonthlyScheduleResponseOutputWithContex return o } +func (o MonthlyScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonthlyScheduleResponse] { + return pulumix.Output[MonthlyScheduleResponse]{ + OutputState: o.OutputState, + } +} + // One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc. func (o MonthlyScheduleResponseOutput) MonthDay() pulumi.IntOutput { return o.ApplyT(func(v MonthlyScheduleResponse) int { return v.MonthDay }).(pulumi.IntOutput) @@ -1365,6 +1564,12 @@ func (i OSPolicyArgs) ToOSPolicyOutputWithContext(ctx context.Context) OSPolicyO return pulumi.ToOutputWithContext(ctx, i).(OSPolicyOutput) } +func (i OSPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicy] { + return pulumix.Output[OSPolicy]{ + OutputState: i.ToOSPolicyOutputWithContext(ctx).OutputState, + } +} + // OSPolicyArrayInput is an input type that accepts OSPolicyArray and OSPolicyArrayOutput values. // You can construct a concrete instance of `OSPolicyArrayInput` via: // @@ -1390,6 +1595,12 @@ func (i OSPolicyArray) ToOSPolicyArrayOutputWithContext(ctx context.Context) OSP return pulumi.ToOutputWithContext(ctx, i).(OSPolicyArrayOutput) } +func (i OSPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicy] { + return pulumix.Output[[]OSPolicy]{ + OutputState: i.ToOSPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // An OS policy defines the desired state configuration for a VM. type OSPolicyOutput struct{ *pulumi.OutputState } @@ -1405,6 +1616,12 @@ func (o OSPolicyOutput) ToOSPolicyOutputWithContext(ctx context.Context) OSPolic return o } +func (o OSPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicy] { + return pulumix.Output[OSPolicy]{ + OutputState: o.OutputState, + } +} + // This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. func (o OSPolicyOutput) AllowNoResourceGroupMatch() pulumi.BoolPtrOutput { return o.ApplyT(func(v OSPolicy) *bool { return v.AllowNoResourceGroupMatch }).(pulumi.BoolPtrOutput) @@ -1444,6 +1661,12 @@ func (o OSPolicyArrayOutput) ToOSPolicyArrayOutputWithContext(ctx context.Contex return o } +func (o OSPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicy] { + return pulumix.Output[[]OSPolicy]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyArrayOutput) Index(i pulumi.IntInput) OSPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicy { return vs[0].([]OSPolicy)[vs[1].(int)] @@ -1497,6 +1720,12 @@ func (i OSPolicyAssignmentInstanceFilterArgs) ToOSPolicyAssignmentInstanceFilter return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentInstanceFilterOutput) } +func (i OSPolicyAssignmentInstanceFilterArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilter] { + return pulumix.Output[OSPolicyAssignmentInstanceFilter]{ + OutputState: i.ToOSPolicyAssignmentInstanceFilterOutputWithContext(ctx).OutputState, + } +} + // Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them. type OSPolicyAssignmentInstanceFilterOutput struct{ *pulumi.OutputState } @@ -1512,6 +1741,12 @@ func (o OSPolicyAssignmentInstanceFilterOutput) ToOSPolicyAssignmentInstanceFilt return o } +func (o OSPolicyAssignmentInstanceFilterOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilter] { + return pulumix.Output[OSPolicyAssignmentInstanceFilter]{ + OutputState: o.OutputState, + } +} + // Target all VMs in the project. If true, no other criteria is permitted. func (o OSPolicyAssignmentInstanceFilterOutput) All() pulumi.BoolPtrOutput { return o.ApplyT(func(v OSPolicyAssignmentInstanceFilter) *bool { return v.All }).(pulumi.BoolPtrOutput) @@ -1573,6 +1808,12 @@ func (i OSPolicyAssignmentInstanceFilterInventoryArgs) ToOSPolicyAssignmentInsta return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentInstanceFilterInventoryOutput) } +func (i OSPolicyAssignmentInstanceFilterInventoryArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilterInventory] { + return pulumix.Output[OSPolicyAssignmentInstanceFilterInventory]{ + OutputState: i.ToOSPolicyAssignmentInstanceFilterInventoryOutputWithContext(ctx).OutputState, + } +} + // OSPolicyAssignmentInstanceFilterInventoryArrayInput is an input type that accepts OSPolicyAssignmentInstanceFilterInventoryArray and OSPolicyAssignmentInstanceFilterInventoryArrayOutput values. // You can construct a concrete instance of `OSPolicyAssignmentInstanceFilterInventoryArrayInput` via: // @@ -1598,6 +1839,12 @@ func (i OSPolicyAssignmentInstanceFilterInventoryArray) ToOSPolicyAssignmentInst return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentInstanceFilterInventoryArrayOutput) } +func (i OSPolicyAssignmentInstanceFilterInventoryArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventory] { + return pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventory]{ + OutputState: i.ToOSPolicyAssignmentInstanceFilterInventoryArrayOutputWithContext(ctx).OutputState, + } +} + // VM inventory details. type OSPolicyAssignmentInstanceFilterInventoryOutput struct{ *pulumi.OutputState } @@ -1613,6 +1860,12 @@ func (o OSPolicyAssignmentInstanceFilterInventoryOutput) ToOSPolicyAssignmentIns return o } +func (o OSPolicyAssignmentInstanceFilterInventoryOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilterInventory] { + return pulumix.Output[OSPolicyAssignmentInstanceFilterInventory]{ + OutputState: o.OutputState, + } +} + // The OS short name func (o OSPolicyAssignmentInstanceFilterInventoryOutput) OsShortName() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyAssignmentInstanceFilterInventory) string { return v.OsShortName }).(pulumi.StringOutput) @@ -1637,6 +1890,12 @@ func (o OSPolicyAssignmentInstanceFilterInventoryArrayOutput) ToOSPolicyAssignme return o } +func (o OSPolicyAssignmentInstanceFilterInventoryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventory] { + return pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventory]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyAssignmentInstanceFilterInventoryArrayOutput) Index(i pulumi.IntInput) OSPolicyAssignmentInstanceFilterInventoryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyAssignmentInstanceFilterInventory { return vs[0].([]OSPolicyAssignmentInstanceFilterInventory)[vs[1].(int)] @@ -1666,6 +1925,12 @@ func (o OSPolicyAssignmentInstanceFilterInventoryResponseOutput) ToOSPolicyAssig return o } +func (o OSPolicyAssignmentInstanceFilterInventoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilterInventoryResponse] { + return pulumix.Output[OSPolicyAssignmentInstanceFilterInventoryResponse]{ + OutputState: o.OutputState, + } +} + // The OS short name func (o OSPolicyAssignmentInstanceFilterInventoryResponseOutput) OsShortName() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyAssignmentInstanceFilterInventoryResponse) string { return v.OsShortName }).(pulumi.StringOutput) @@ -1690,6 +1955,12 @@ func (o OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) ToOSPolicy return o } +func (o OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventoryResponse] { + return pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventoryResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyAssignmentInstanceFilterInventoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyAssignmentInstanceFilterInventoryResponse { return vs[0].([]OSPolicyAssignmentInstanceFilterInventoryResponse)[vs[1].(int)] @@ -1723,6 +1994,12 @@ func (o OSPolicyAssignmentInstanceFilterResponseOutput) ToOSPolicyAssignmentInst return o } +func (o OSPolicyAssignmentInstanceFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilterResponse] { + return pulumix.Output[OSPolicyAssignmentInstanceFilterResponse]{ + OutputState: o.OutputState, + } +} + // Target all VMs in the project. If true, no other criteria is permitted. func (o OSPolicyAssignmentInstanceFilterResponseOutput) All() pulumi.BoolOutput { return o.ApplyT(func(v OSPolicyAssignmentInstanceFilterResponse) bool { return v.All }).(pulumi.BoolOutput) @@ -1784,6 +2061,12 @@ func (i OSPolicyAssignmentLabelSetArgs) ToOSPolicyAssignmentLabelSetOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentLabelSetOutput) } +func (i OSPolicyAssignmentLabelSetArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentLabelSet] { + return pulumix.Output[OSPolicyAssignmentLabelSet]{ + OutputState: i.ToOSPolicyAssignmentLabelSetOutputWithContext(ctx).OutputState, + } +} + // OSPolicyAssignmentLabelSetArrayInput is an input type that accepts OSPolicyAssignmentLabelSetArray and OSPolicyAssignmentLabelSetArrayOutput values. // You can construct a concrete instance of `OSPolicyAssignmentLabelSetArrayInput` via: // @@ -1809,6 +2092,12 @@ func (i OSPolicyAssignmentLabelSetArray) ToOSPolicyAssignmentLabelSetArrayOutput return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentLabelSetArrayOutput) } +func (i OSPolicyAssignmentLabelSetArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentLabelSet] { + return pulumix.Output[[]OSPolicyAssignmentLabelSet]{ + OutputState: i.ToOSPolicyAssignmentLabelSetArrayOutputWithContext(ctx).OutputState, + } +} + // Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will only be applicable for those VMs with both labels present. type OSPolicyAssignmentLabelSetOutput struct{ *pulumi.OutputState } @@ -1824,6 +2113,12 @@ func (o OSPolicyAssignmentLabelSetOutput) ToOSPolicyAssignmentLabelSetOutputWith return o } +func (o OSPolicyAssignmentLabelSetOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentLabelSet] { + return pulumix.Output[OSPolicyAssignmentLabelSet]{ + OutputState: o.OutputState, + } +} + // Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected. func (o OSPolicyAssignmentLabelSetOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v OSPolicyAssignmentLabelSet) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -1843,6 +2138,12 @@ func (o OSPolicyAssignmentLabelSetArrayOutput) ToOSPolicyAssignmentLabelSetArray return o } +func (o OSPolicyAssignmentLabelSetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentLabelSet] { + return pulumix.Output[[]OSPolicyAssignmentLabelSet]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyAssignmentLabelSetArrayOutput) Index(i pulumi.IntInput) OSPolicyAssignmentLabelSetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyAssignmentLabelSet { return vs[0].([]OSPolicyAssignmentLabelSet)[vs[1].(int)] @@ -1870,6 +2171,12 @@ func (o OSPolicyAssignmentLabelSetResponseOutput) ToOSPolicyAssignmentLabelSetRe return o } +func (o OSPolicyAssignmentLabelSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentLabelSetResponse] { + return pulumix.Output[OSPolicyAssignmentLabelSetResponse]{ + OutputState: o.OutputState, + } +} + // Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected. func (o OSPolicyAssignmentLabelSetResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v OSPolicyAssignmentLabelSetResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -1889,6 +2196,12 @@ func (o OSPolicyAssignmentLabelSetResponseArrayOutput) ToOSPolicyAssignmentLabel return o } +func (o OSPolicyAssignmentLabelSetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentLabelSetResponse] { + return pulumix.Output[[]OSPolicyAssignmentLabelSetResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyAssignmentLabelSetResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyAssignmentLabelSetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyAssignmentLabelSetResponse { return vs[0].([]OSPolicyAssignmentLabelSetResponse)[vs[1].(int)] @@ -1934,6 +2247,12 @@ func (i OSPolicyAssignmentRolloutArgs) ToOSPolicyAssignmentRolloutOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentRolloutOutput) } +func (i OSPolicyAssignmentRolloutArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentRollout] { + return pulumix.Output[OSPolicyAssignmentRollout]{ + OutputState: i.ToOSPolicyAssignmentRolloutOutputWithContext(ctx).OutputState, + } +} + // Message to configure the rollout at the zonal level for the OS policy assignment. type OSPolicyAssignmentRolloutOutput struct{ *pulumi.OutputState } @@ -1949,6 +2268,12 @@ func (o OSPolicyAssignmentRolloutOutput) ToOSPolicyAssignmentRolloutOutputWithCo return o } +func (o OSPolicyAssignmentRolloutOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentRollout] { + return pulumix.Output[OSPolicyAssignmentRollout]{ + OutputState: o.OutputState, + } +} + // The maximum number (or percentage) of VMs per zone to disrupt at any given moment. func (o OSPolicyAssignmentRolloutOutput) DisruptionBudget() FixedOrPercentOutput { return o.ApplyT(func(v OSPolicyAssignmentRollout) FixedOrPercent { return v.DisruptionBudget }).(FixedOrPercentOutput) @@ -1982,6 +2307,12 @@ func (o OSPolicyAssignmentRolloutResponseOutput) ToOSPolicyAssignmentRolloutResp return o } +func (o OSPolicyAssignmentRolloutResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentRolloutResponse] { + return pulumix.Output[OSPolicyAssignmentRolloutResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number (or percentage) of VMs per zone to disrupt at any given moment. func (o OSPolicyAssignmentRolloutResponseOutput) DisruptionBudget() FixedOrPercentResponseOutput { return o.ApplyT(func(v OSPolicyAssignmentRolloutResponse) FixedOrPercentResponse { return v.DisruptionBudget }).(FixedOrPercentResponseOutput) @@ -2031,6 +2362,12 @@ func (i OSPolicyInventoryFilterArgs) ToOSPolicyInventoryFilterOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(OSPolicyInventoryFilterOutput) } +func (i OSPolicyInventoryFilterArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyInventoryFilter] { + return pulumix.Output[OSPolicyInventoryFilter]{ + OutputState: i.ToOSPolicyInventoryFilterOutputWithContext(ctx).OutputState, + } +} + // OSPolicyInventoryFilterArrayInput is an input type that accepts OSPolicyInventoryFilterArray and OSPolicyInventoryFilterArrayOutput values. // You can construct a concrete instance of `OSPolicyInventoryFilterArrayInput` via: // @@ -2056,6 +2393,12 @@ func (i OSPolicyInventoryFilterArray) ToOSPolicyInventoryFilterArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(OSPolicyInventoryFilterArrayOutput) } +func (i OSPolicyInventoryFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyInventoryFilter] { + return pulumix.Output[[]OSPolicyInventoryFilter]{ + OutputState: i.ToOSPolicyInventoryFilterArrayOutputWithContext(ctx).OutputState, + } +} + // Filtering criteria to select VMs based on inventory details. type OSPolicyInventoryFilterOutput struct{ *pulumi.OutputState } @@ -2071,6 +2414,12 @@ func (o OSPolicyInventoryFilterOutput) ToOSPolicyInventoryFilterOutputWithContex return o } +func (o OSPolicyInventoryFilterOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyInventoryFilter] { + return pulumix.Output[OSPolicyInventoryFilter]{ + OutputState: o.OutputState, + } +} + // The OS short name func (o OSPolicyInventoryFilterOutput) OsShortName() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyInventoryFilter) string { return v.OsShortName }).(pulumi.StringOutput) @@ -2095,6 +2444,12 @@ func (o OSPolicyInventoryFilterArrayOutput) ToOSPolicyInventoryFilterArrayOutput return o } +func (o OSPolicyInventoryFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyInventoryFilter] { + return pulumix.Output[[]OSPolicyInventoryFilter]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyInventoryFilterArrayOutput) Index(i pulumi.IntInput) OSPolicyInventoryFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyInventoryFilter { return vs[0].([]OSPolicyInventoryFilter)[vs[1].(int)] @@ -2124,6 +2479,12 @@ func (o OSPolicyInventoryFilterResponseOutput) ToOSPolicyInventoryFilterResponse return o } +func (o OSPolicyInventoryFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyInventoryFilterResponse] { + return pulumix.Output[OSPolicyInventoryFilterResponse]{ + OutputState: o.OutputState, + } +} + // The OS short name func (o OSPolicyInventoryFilterResponseOutput) OsShortName() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyInventoryFilterResponse) string { return v.OsShortName }).(pulumi.StringOutput) @@ -2148,6 +2509,12 @@ func (o OSPolicyInventoryFilterResponseArrayOutput) ToOSPolicyInventoryFilterRes return o } +func (o OSPolicyInventoryFilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyInventoryFilterResponse] { + return pulumix.Output[[]OSPolicyInventoryFilterResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyInventoryFilterResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyInventoryFilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyInventoryFilterResponse { return vs[0].([]OSPolicyInventoryFilterResponse)[vs[1].(int)] @@ -2205,6 +2572,12 @@ func (i OSPolicyResourceArgs) ToOSPolicyResourceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceOutput) } +func (i OSPolicyResourceArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResource] { + return pulumix.Output[OSPolicyResource]{ + OutputState: i.ToOSPolicyResourceOutputWithContext(ctx).OutputState, + } +} + // OSPolicyResourceArrayInput is an input type that accepts OSPolicyResourceArray and OSPolicyResourceArrayOutput values. // You can construct a concrete instance of `OSPolicyResourceArrayInput` via: // @@ -2230,6 +2603,12 @@ func (i OSPolicyResourceArray) ToOSPolicyResourceArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceArrayOutput) } +func (i OSPolicyResourceArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResource] { + return pulumix.Output[[]OSPolicyResource]{ + OutputState: i.ToOSPolicyResourceArrayOutputWithContext(ctx).OutputState, + } +} + // An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state. type OSPolicyResourceOutput struct{ *pulumi.OutputState } @@ -2245,6 +2624,12 @@ func (o OSPolicyResourceOutput) ToOSPolicyResourceOutputWithContext(ctx context. return o } +func (o OSPolicyResourceOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResource] { + return pulumix.Output[OSPolicyResource]{ + OutputState: o.OutputState, + } +} + // Exec resource func (o OSPolicyResourceOutput) Exec() OSPolicyResourceExecResourcePtrOutput { return o.ApplyT(func(v OSPolicyResource) *OSPolicyResourceExecResource { return v.Exec }).(OSPolicyResourceExecResourcePtrOutput) @@ -2284,6 +2669,12 @@ func (o OSPolicyResourceArrayOutput) ToOSPolicyResourceArrayOutputWithContext(ct return o } +func (o OSPolicyResourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResource] { + return pulumix.Output[[]OSPolicyResource]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceArrayOutput) Index(i pulumi.IntInput) OSPolicyResourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyResource { return vs[0].([]OSPolicyResource)[vs[1].(int)] @@ -2329,6 +2720,12 @@ func (i OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourceOutputWi return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceExecResourceOutput) } +func (i OSPolicyResourceExecResourceArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResource] { + return pulumix.Output[OSPolicyResourceExecResource]{ + OutputState: i.ToOSPolicyResourceExecResourceOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourcePtrOutput() OSPolicyResourceExecResourcePtrOutput { return i.ToOSPolicyResourceExecResourcePtrOutputWithContext(context.Background()) } @@ -2370,6 +2767,12 @@ func (i *ospolicyResourceExecResourcePtrType) ToOSPolicyResourceExecResourcePtrO return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceExecResourcePtrOutput) } +func (i *ospolicyResourceExecResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResource] { + return pulumix.Output[*OSPolicyResourceExecResource]{ + OutputState: i.ToOSPolicyResourceExecResourcePtrOutputWithContext(ctx).OutputState, + } +} + // A resource that allows executing scripts on the VM. The `ExecResource` has 2 stages: `validate` and `enforce` and both stages accept a script as an argument to execute. When the `ExecResource` is applied by the agent, it first executes the script in the `validate` stage. The `validate` stage can signal that the `ExecResource` is already in the desired state by returning an exit code of `100`. If the `ExecResource` is not in the desired state, it should return an exit code of `101`. Any other exit code returned by this stage is considered an error. If the `ExecResource` is not in the desired state based on the exit code from the `validate` stage, the agent proceeds to execute the script from the `enforce` stage. If the `ExecResource` is already in the desired state, the `enforce` stage will not be run. Similar to `validate` stage, the `enforce` stage should return an exit code of `100` to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to have an explicit indicator of `in desired state`, `not in desired state` and errors. Because, for example, Powershell will always return an exit code of `0` unless an `exit` statement is provided in the script. So, for reasons of consistency and being explicit, exit codes `100` and `101` were chosen. type OSPolicyResourceExecResourceOutput struct{ *pulumi.OutputState } @@ -2395,6 +2798,12 @@ func (o OSPolicyResourceExecResourceOutput) ToOSPolicyResourceExecResourcePtrOut }).(OSPolicyResourceExecResourcePtrOutput) } +func (o OSPolicyResourceExecResourceOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResource] { + return pulumix.Output[OSPolicyResourceExecResource]{ + OutputState: o.OutputState, + } +} + // What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce. func (o OSPolicyResourceExecResourceOutput) Enforce() OSPolicyResourceExecResourceExecPtrOutput { return o.ApplyT(func(v OSPolicyResourceExecResource) *OSPolicyResourceExecResourceExec { return v.Enforce }).(OSPolicyResourceExecResourceExecPtrOutput) @@ -2419,6 +2828,12 @@ func (o OSPolicyResourceExecResourcePtrOutput) ToOSPolicyResourceExecResourcePtr return o } +func (o OSPolicyResourceExecResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResource] { + return pulumix.Output[*OSPolicyResourceExecResource]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceExecResourcePtrOutput) Elem() OSPolicyResourceExecResourceOutput { return o.ApplyT(func(v *OSPolicyResourceExecResource) OSPolicyResourceExecResource { if v != nil { @@ -2500,6 +2915,12 @@ func (i OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExec return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceExecResourceExecOutput) } +func (i OSPolicyResourceExecResourceExecArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResourceExec] { + return pulumix.Output[OSPolicyResourceExecResourceExec]{ + OutputState: i.ToOSPolicyResourceExecResourceExecOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExecPtrOutput() OSPolicyResourceExecResourceExecPtrOutput { return i.ToOSPolicyResourceExecResourceExecPtrOutputWithContext(context.Background()) } @@ -2541,6 +2962,12 @@ func (i *ospolicyResourceExecResourceExecPtrType) ToOSPolicyResourceExecResource return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceExecResourceExecPtrOutput) } +func (i *ospolicyResourceExecResourceExecPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResourceExec] { + return pulumix.Output[*OSPolicyResourceExecResourceExec]{ + OutputState: i.ToOSPolicyResourceExecResourceExecPtrOutputWithContext(ctx).OutputState, + } +} + // A file or script to execute. type OSPolicyResourceExecResourceExecOutput struct{ *pulumi.OutputState } @@ -2566,6 +2993,12 @@ func (o OSPolicyResourceExecResourceExecOutput) ToOSPolicyResourceExecResourceEx }).(OSPolicyResourceExecResourceExecPtrOutput) } +func (o OSPolicyResourceExecResourceExecOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResourceExec] { + return pulumix.Output[OSPolicyResourceExecResourceExec]{ + OutputState: o.OutputState, + } +} + // Optional arguments to pass to the source during execution. func (o OSPolicyResourceExecResourceExecOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v OSPolicyResourceExecResourceExec) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -2607,6 +3040,12 @@ func (o OSPolicyResourceExecResourceExecPtrOutput) ToOSPolicyResourceExecResourc return o } +func (o OSPolicyResourceExecResourceExecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResourceExec] { + return pulumix.Output[*OSPolicyResourceExecResourceExec]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceExecResourceExecPtrOutput) Elem() OSPolicyResourceExecResourceExecOutput { return o.ApplyT(func(v *OSPolicyResourceExecResourceExec) OSPolicyResourceExecResourceExec { if v != nil { @@ -2696,6 +3135,12 @@ func (o OSPolicyResourceExecResourceExecResponseOutput) ToOSPolicyResourceExecRe return o } +func (o OSPolicyResourceExecResourceExecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResourceExecResponse] { + return pulumix.Output[OSPolicyResourceExecResourceExecResponse]{ + OutputState: o.OutputState, + } +} + // Optional arguments to pass to the source during execution. func (o OSPolicyResourceExecResourceExecResponseOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v OSPolicyResourceExecResourceExecResponse) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -2744,6 +3189,12 @@ func (o OSPolicyResourceExecResourceResponseOutput) ToOSPolicyResourceExecResour return o } +func (o OSPolicyResourceExecResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResourceResponse] { + return pulumix.Output[OSPolicyResourceExecResourceResponse]{ + OutputState: o.OutputState, + } +} + // What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce. func (o OSPolicyResourceExecResourceResponseOutput) Enforce() OSPolicyResourceExecResourceExecResponseOutput { return o.ApplyT(func(v OSPolicyResourceExecResourceResponse) OSPolicyResourceExecResourceExecResponse { @@ -2805,6 +3256,12 @@ func (i OSPolicyResourceFileArgs) ToOSPolicyResourceFileOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileOutput) } +func (i OSPolicyResourceFileArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFile] { + return pulumix.Output[OSPolicyResourceFile]{ + OutputState: i.ToOSPolicyResourceFileOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceFileArgs) ToOSPolicyResourceFilePtrOutput() OSPolicyResourceFilePtrOutput { return i.ToOSPolicyResourceFilePtrOutputWithContext(context.Background()) } @@ -2846,6 +3303,12 @@ func (i *ospolicyResourceFilePtrType) ToOSPolicyResourceFilePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFilePtrOutput) } +func (i *ospolicyResourceFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFile] { + return pulumix.Output[*OSPolicyResourceFile]{ + OutputState: i.ToOSPolicyResourceFilePtrOutputWithContext(ctx).OutputState, + } +} + // A remote or local file. type OSPolicyResourceFileOutput struct{ *pulumi.OutputState } @@ -2871,6 +3334,12 @@ func (o OSPolicyResourceFileOutput) ToOSPolicyResourceFilePtrOutputWithContext(c }).(OSPolicyResourceFilePtrOutput) } +func (o OSPolicyResourceFileOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFile] { + return pulumix.Output[OSPolicyResourceFile]{ + OutputState: o.OutputState, + } +} + // Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified. func (o OSPolicyResourceFileOutput) AllowInsecure() pulumi.BoolPtrOutput { return o.ApplyT(func(v OSPolicyResourceFile) *bool { return v.AllowInsecure }).(pulumi.BoolPtrOutput) @@ -2905,6 +3374,12 @@ func (o OSPolicyResourceFilePtrOutput) ToOSPolicyResourceFilePtrOutputWithContex return o } +func (o OSPolicyResourceFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFile] { + return pulumix.Output[*OSPolicyResourceFile]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFilePtrOutput) Elem() OSPolicyResourceFileOutput { return o.ApplyT(func(v *OSPolicyResourceFile) OSPolicyResourceFile { if v != nil { @@ -2998,6 +3473,12 @@ func (i OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileGcsOutput) } +func (i OSPolicyResourceFileGcsArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileGcs] { + return pulumix.Output[OSPolicyResourceFileGcs]{ + OutputState: i.ToOSPolicyResourceFileGcsOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsPtrOutput() OSPolicyResourceFileGcsPtrOutput { return i.ToOSPolicyResourceFileGcsPtrOutputWithContext(context.Background()) } @@ -3039,6 +3520,12 @@ func (i *ospolicyResourceFileGcsPtrType) ToOSPolicyResourceFileGcsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileGcsPtrOutput) } +func (i *ospolicyResourceFileGcsPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileGcs] { + return pulumix.Output[*OSPolicyResourceFileGcs]{ + OutputState: i.ToOSPolicyResourceFileGcsPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a file available as a Cloud Storage Object. type OSPolicyResourceFileGcsOutput struct{ *pulumi.OutputState } @@ -3064,6 +3551,12 @@ func (o OSPolicyResourceFileGcsOutput) ToOSPolicyResourceFileGcsPtrOutputWithCon }).(OSPolicyResourceFileGcsPtrOutput) } +func (o OSPolicyResourceFileGcsOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileGcs] { + return pulumix.Output[OSPolicyResourceFileGcs]{ + OutputState: o.OutputState, + } +} + // Bucket of the Cloud Storage object. func (o OSPolicyResourceFileGcsOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceFileGcs) string { return v.Bucket }).(pulumi.StringOutput) @@ -3093,6 +3586,12 @@ func (o OSPolicyResourceFileGcsPtrOutput) ToOSPolicyResourceFileGcsPtrOutputWith return o } +func (o OSPolicyResourceFileGcsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileGcs] { + return pulumix.Output[*OSPolicyResourceFileGcs]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFileGcsPtrOutput) Elem() OSPolicyResourceFileGcsOutput { return o.ApplyT(func(v *OSPolicyResourceFileGcs) OSPolicyResourceFileGcs { if v != nil { @@ -3158,6 +3657,12 @@ func (o OSPolicyResourceFileGcsResponseOutput) ToOSPolicyResourceFileGcsResponse return o } +func (o OSPolicyResourceFileGcsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileGcsResponse] { + return pulumix.Output[OSPolicyResourceFileGcsResponse]{ + OutputState: o.OutputState, + } +} + // Bucket of the Cloud Storage object. func (o OSPolicyResourceFileGcsResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceFileGcsResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -3212,6 +3717,12 @@ func (i OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemoteOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileRemoteOutput) } +func (i OSPolicyResourceFileRemoteArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileRemote] { + return pulumix.Output[OSPolicyResourceFileRemote]{ + OutputState: i.ToOSPolicyResourceFileRemoteOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemotePtrOutput() OSPolicyResourceFileRemotePtrOutput { return i.ToOSPolicyResourceFileRemotePtrOutputWithContext(context.Background()) } @@ -3253,6 +3764,12 @@ func (i *ospolicyResourceFileRemotePtrType) ToOSPolicyResourceFileRemotePtrOutpu return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileRemotePtrOutput) } +func (i *ospolicyResourceFileRemotePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileRemote] { + return pulumix.Output[*OSPolicyResourceFileRemote]{ + OutputState: i.ToOSPolicyResourceFileRemotePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a file available via some URI. type OSPolicyResourceFileRemoteOutput struct{ *pulumi.OutputState } @@ -3278,6 +3795,12 @@ func (o OSPolicyResourceFileRemoteOutput) ToOSPolicyResourceFileRemotePtrOutputW }).(OSPolicyResourceFileRemotePtrOutput) } +func (o OSPolicyResourceFileRemoteOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileRemote] { + return pulumix.Output[OSPolicyResourceFileRemote]{ + OutputState: o.OutputState, + } +} + // SHA256 checksum of the remote file. func (o OSPolicyResourceFileRemoteOutput) Sha256Checksum() pulumi.StringPtrOutput { return o.ApplyT(func(v OSPolicyResourceFileRemote) *string { return v.Sha256Checksum }).(pulumi.StringPtrOutput) @@ -3302,6 +3825,12 @@ func (o OSPolicyResourceFileRemotePtrOutput) ToOSPolicyResourceFileRemotePtrOutp return o } +func (o OSPolicyResourceFileRemotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileRemote] { + return pulumix.Output[*OSPolicyResourceFileRemote]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFileRemotePtrOutput) Elem() OSPolicyResourceFileRemoteOutput { return o.ApplyT(func(v *OSPolicyResourceFileRemote) OSPolicyResourceFileRemote { if v != nil { @@ -3355,6 +3884,12 @@ func (o OSPolicyResourceFileRemoteResponseOutput) ToOSPolicyResourceFileRemoteRe return o } +func (o OSPolicyResourceFileRemoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileRemoteResponse] { + return pulumix.Output[OSPolicyResourceFileRemoteResponse]{ + OutputState: o.OutputState, + } +} + // SHA256 checksum of the remote file. func (o OSPolicyResourceFileRemoteResponseOutput) Sha256Checksum() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceFileRemoteResponse) string { return v.Sha256Checksum }).(pulumi.StringOutput) @@ -3416,6 +3951,12 @@ func (i OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourceOutputWi return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileResourceOutput) } +func (i OSPolicyResourceFileResourceArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileResource] { + return pulumix.Output[OSPolicyResourceFileResource]{ + OutputState: i.ToOSPolicyResourceFileResourceOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourcePtrOutput() OSPolicyResourceFileResourcePtrOutput { return i.ToOSPolicyResourceFileResourcePtrOutputWithContext(context.Background()) } @@ -3457,6 +3998,12 @@ func (i *ospolicyResourceFileResourcePtrType) ToOSPolicyResourceFileResourcePtrO return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileResourcePtrOutput) } +func (i *ospolicyResourceFileResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileResource] { + return pulumix.Output[*OSPolicyResourceFileResource]{ + OutputState: i.ToOSPolicyResourceFileResourcePtrOutputWithContext(ctx).OutputState, + } +} + // A resource that manages the state of a file. type OSPolicyResourceFileResourceOutput struct{ *pulumi.OutputState } @@ -3482,6 +4029,12 @@ func (o OSPolicyResourceFileResourceOutput) ToOSPolicyResourceFileResourcePtrOut }).(OSPolicyResourceFileResourcePtrOutput) } +func (o OSPolicyResourceFileResourceOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileResource] { + return pulumix.Output[OSPolicyResourceFileResource]{ + OutputState: o.OutputState, + } +} + // A a file with this content. The size of the content is limited to 32KiB. func (o OSPolicyResourceFileResourceOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v OSPolicyResourceFileResource) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -3521,6 +4074,12 @@ func (o OSPolicyResourceFileResourcePtrOutput) ToOSPolicyResourceFileResourcePtr return o } +func (o OSPolicyResourceFileResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileResource] { + return pulumix.Output[*OSPolicyResourceFileResource]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFileResourcePtrOutput) Elem() OSPolicyResourceFileResourceOutput { return o.ApplyT(func(v *OSPolicyResourceFileResource) OSPolicyResourceFileResource { if v != nil { @@ -3610,6 +4169,12 @@ func (o OSPolicyResourceFileResourceResponseOutput) ToOSPolicyResourceFileResour return o } +func (o OSPolicyResourceFileResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileResourceResponse] { + return pulumix.Output[OSPolicyResourceFileResourceResponse]{ + OutputState: o.OutputState, + } +} + // A a file with this content. The size of the content is limited to 32KiB. func (o OSPolicyResourceFileResourceResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceFileResourceResponse) string { return v.Content }).(pulumi.StringOutput) @@ -3662,6 +4227,12 @@ func (o OSPolicyResourceFileResponseOutput) ToOSPolicyResourceFileResponseOutput return o } +func (o OSPolicyResourceFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileResponse] { + return pulumix.Output[OSPolicyResourceFileResponse]{ + OutputState: o.OutputState, + } +} + // Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified. func (o OSPolicyResourceFileResponseOutput) AllowInsecure() pulumi.BoolOutput { return o.ApplyT(func(v OSPolicyResourceFileResponse) bool { return v.AllowInsecure }).(pulumi.BoolOutput) @@ -3721,6 +4292,12 @@ func (i OSPolicyResourceGroupArgs) ToOSPolicyResourceGroupOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceGroupOutput) } +func (i OSPolicyResourceGroupArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceGroup] { + return pulumix.Output[OSPolicyResourceGroup]{ + OutputState: i.ToOSPolicyResourceGroupOutputWithContext(ctx).OutputState, + } +} + // OSPolicyResourceGroupArrayInput is an input type that accepts OSPolicyResourceGroupArray and OSPolicyResourceGroupArrayOutput values. // You can construct a concrete instance of `OSPolicyResourceGroupArrayInput` via: // @@ -3746,6 +4323,12 @@ func (i OSPolicyResourceGroupArray) ToOSPolicyResourceGroupArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceGroupArrayOutput) } +func (i OSPolicyResourceGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResourceGroup] { + return pulumix.Output[[]OSPolicyResourceGroup]{ + OutputState: i.ToOSPolicyResourceGroupArrayOutputWithContext(ctx).OutputState, + } +} + // Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the `OSFilter` specified within the resource group. type OSPolicyResourceGroupOutput struct{ *pulumi.OutputState } @@ -3761,6 +4344,12 @@ func (o OSPolicyResourceGroupOutput) ToOSPolicyResourceGroupOutputWithContext(ct return o } +func (o OSPolicyResourceGroupOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceGroup] { + return pulumix.Output[OSPolicyResourceGroup]{ + OutputState: o.OutputState, + } +} + // List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. func (o OSPolicyResourceGroupOutput) InventoryFilters() OSPolicyInventoryFilterArrayOutput { return o.ApplyT(func(v OSPolicyResourceGroup) []OSPolicyInventoryFilter { return v.InventoryFilters }).(OSPolicyInventoryFilterArrayOutput) @@ -3785,6 +4374,12 @@ func (o OSPolicyResourceGroupArrayOutput) ToOSPolicyResourceGroupArrayOutputWith return o } +func (o OSPolicyResourceGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResourceGroup] { + return pulumix.Output[[]OSPolicyResourceGroup]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceGroupArrayOutput) Index(i pulumi.IntInput) OSPolicyResourceGroupOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyResourceGroup { return vs[0].([]OSPolicyResourceGroup)[vs[1].(int)] @@ -3814,6 +4409,12 @@ func (o OSPolicyResourceGroupResponseOutput) ToOSPolicyResourceGroupResponseOutp return o } +func (o OSPolicyResourceGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceGroupResponse] { + return pulumix.Output[OSPolicyResourceGroupResponse]{ + OutputState: o.OutputState, + } +} + // List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. func (o OSPolicyResourceGroupResponseOutput) InventoryFilters() OSPolicyInventoryFilterResponseArrayOutput { return o.ApplyT(func(v OSPolicyResourceGroupResponse) []OSPolicyInventoryFilterResponse { return v.InventoryFilters }).(OSPolicyInventoryFilterResponseArrayOutput) @@ -3838,6 +4439,12 @@ func (o OSPolicyResourceGroupResponseArrayOutput) ToOSPolicyResourceGroupRespons return o } +func (o OSPolicyResourceGroupResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResourceGroupResponse] { + return pulumix.Output[[]OSPolicyResourceGroupResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceGroupResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyResourceGroupResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyResourceGroupResponse { return vs[0].([]OSPolicyResourceGroupResponse)[vs[1].(int)] @@ -3907,6 +4514,12 @@ func (i OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourceOu return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceOutput) } +func (i OSPolicyResourcePackageResourceArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResource] { + return pulumix.Output[OSPolicyResourcePackageResource]{ + OutputState: i.ToOSPolicyResourcePackageResourceOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourcePtrOutput() OSPolicyResourcePackageResourcePtrOutput { return i.ToOSPolicyResourcePackageResourcePtrOutputWithContext(context.Background()) } @@ -3948,6 +4561,12 @@ func (i *ospolicyResourcePackageResourcePtrType) ToOSPolicyResourcePackageResour return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourcePtrOutput) } +func (i *ospolicyResourcePackageResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResource] { + return pulumix.Output[*OSPolicyResourcePackageResource]{ + OutputState: i.ToOSPolicyResourcePackageResourcePtrOutputWithContext(ctx).OutputState, + } +} + // A resource that manages a system package. type OSPolicyResourcePackageResourceOutput struct{ *pulumi.OutputState } @@ -3973,6 +4592,12 @@ func (o OSPolicyResourcePackageResourceOutput) ToOSPolicyResourcePackageResource }).(OSPolicyResourcePackageResourcePtrOutput) } +func (o OSPolicyResourcePackageResourceOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResource] { + return pulumix.Output[OSPolicyResourcePackageResource]{ + OutputState: o.OutputState, + } +} + // A package managed by Apt. func (o OSPolicyResourcePackageResourceOutput) Apt() OSPolicyResourcePackageResourceAPTPtrOutput { return o.ApplyT(func(v OSPolicyResourcePackageResource) *OSPolicyResourcePackageResourceAPT { return v.Apt }).(OSPolicyResourcePackageResourceAPTPtrOutput) @@ -4029,6 +4654,12 @@ func (o OSPolicyResourcePackageResourcePtrOutput) ToOSPolicyResourcePackageResou return o } +func (o OSPolicyResourcePackageResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResource] { + return pulumix.Output[*OSPolicyResourcePackageResource]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourcePtrOutput) Elem() OSPolicyResourcePackageResourceOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResource) OSPolicyResourcePackageResource { if v != nil { @@ -4154,6 +4785,12 @@ func (i OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourc return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceAPTOutput) } +func (i OSPolicyResourcePackageResourceAPTArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceAPT] { + return pulumix.Output[OSPolicyResourcePackageResourceAPT]{ + OutputState: i.ToOSPolicyResourcePackageResourceAPTOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourceAPTPtrOutput() OSPolicyResourcePackageResourceAPTPtrOutput { return i.ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext(context.Background()) } @@ -4195,6 +4832,12 @@ func (i *ospolicyResourcePackageResourceAPTPtrType) ToOSPolicyResourcePackageRes return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceAPTPtrOutput) } +func (i *ospolicyResourcePackageResourceAPTPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceAPT] { + return pulumix.Output[*OSPolicyResourcePackageResourceAPT]{ + OutputState: i.ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext(ctx).OutputState, + } +} + // A package managed by APT. - install: `apt-get update && apt-get -y install [name]` - remove: `apt-get -y remove [name]` type OSPolicyResourcePackageResourceAPTOutput struct{ *pulumi.OutputState } @@ -4220,6 +4863,12 @@ func (o OSPolicyResourcePackageResourceAPTOutput) ToOSPolicyResourcePackageResou }).(OSPolicyResourcePackageResourceAPTPtrOutput) } +func (o OSPolicyResourcePackageResourceAPTOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceAPT] { + return pulumix.Output[OSPolicyResourcePackageResourceAPT]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceAPTOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceAPT) string { return v.Name }).(pulumi.StringOutput) @@ -4239,6 +4888,12 @@ func (o OSPolicyResourcePackageResourceAPTPtrOutput) ToOSPolicyResourcePackageRe return o } +func (o OSPolicyResourcePackageResourceAPTPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceAPT] { + return pulumix.Output[*OSPolicyResourcePackageResourceAPT]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceAPTPtrOutput) Elem() OSPolicyResourcePackageResourceAPTOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceAPT) OSPolicyResourcePackageResourceAPT { if v != nil { @@ -4280,6 +4935,12 @@ func (o OSPolicyResourcePackageResourceAPTResponseOutput) ToOSPolicyResourcePack return o } +func (o OSPolicyResourcePackageResourceAPTResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceAPTResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceAPTResponse]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceAPTResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceAPTResponse) string { return v.Name }).(pulumi.StringOutput) @@ -4324,6 +4985,12 @@ func (i OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourc return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceDebOutput) } +func (i OSPolicyResourcePackageResourceDebArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceDeb] { + return pulumix.Output[OSPolicyResourcePackageResourceDeb]{ + OutputState: i.ToOSPolicyResourcePackageResourceDebOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourceDebPtrOutput() OSPolicyResourcePackageResourceDebPtrOutput { return i.ToOSPolicyResourcePackageResourceDebPtrOutputWithContext(context.Background()) } @@ -4365,6 +5032,12 @@ func (i *ospolicyResourcePackageResourceDebPtrType) ToOSPolicyResourcePackageRes return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceDebPtrOutput) } +func (i *ospolicyResourcePackageResourceDebPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceDeb] { + return pulumix.Output[*OSPolicyResourcePackageResourceDeb]{ + OutputState: i.ToOSPolicyResourcePackageResourceDebPtrOutputWithContext(ctx).OutputState, + } +} + // A deb package file. dpkg packages only support INSTALLED state. type OSPolicyResourcePackageResourceDebOutput struct{ *pulumi.OutputState } @@ -4390,6 +5063,12 @@ func (o OSPolicyResourcePackageResourceDebOutput) ToOSPolicyResourcePackageResou }).(OSPolicyResourcePackageResourceDebPtrOutput) } +func (o OSPolicyResourcePackageResourceDebOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceDeb] { + return pulumix.Output[OSPolicyResourcePackageResourceDeb]{ + OutputState: o.OutputState, + } +} + // Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb` func (o OSPolicyResourcePackageResourceDebOutput) PullDeps() pulumi.BoolPtrOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceDeb) *bool { return v.PullDeps }).(pulumi.BoolPtrOutput) @@ -4414,6 +5093,12 @@ func (o OSPolicyResourcePackageResourceDebPtrOutput) ToOSPolicyResourcePackageRe return o } +func (o OSPolicyResourcePackageResourceDebPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceDeb] { + return pulumix.Output[*OSPolicyResourcePackageResourceDeb]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceDebPtrOutput) Elem() OSPolicyResourcePackageResourceDebOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceDeb) OSPolicyResourcePackageResourceDeb { if v != nil { @@ -4467,6 +5152,12 @@ func (o OSPolicyResourcePackageResourceDebResponseOutput) ToOSPolicyResourcePack return o } +func (o OSPolicyResourcePackageResourceDebResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceDebResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceDebResponse]{ + OutputState: o.OutputState, + } +} + // Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb` func (o OSPolicyResourcePackageResourceDebResponseOutput) PullDeps() pulumi.BoolOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceDebResponse) bool { return v.PullDeps }).(pulumi.BoolOutput) @@ -4512,6 +5203,12 @@ func (i OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageReso return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceGooGetOutput) } +func (i OSPolicyResourcePackageResourceGooGetArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceGooGet] { + return pulumix.Output[OSPolicyResourcePackageResourceGooGet]{ + OutputState: i.ToOSPolicyResourcePackageResourceGooGetOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageResourceGooGetPtrOutput() OSPolicyResourcePackageResourceGooGetPtrOutput { return i.ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext(context.Background()) } @@ -4553,6 +5250,12 @@ func (i *ospolicyResourcePackageResourceGooGetPtrType) ToOSPolicyResourcePackage return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceGooGetPtrOutput) } +func (i *ospolicyResourcePackageResourceGooGetPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceGooGet] { + return pulumix.Output[*OSPolicyResourcePackageResourceGooGet]{ + OutputState: i.ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext(ctx).OutputState, + } +} + // A package managed by GooGet. - install: `googet -noconfirm install package` - remove: `googet -noconfirm remove package` type OSPolicyResourcePackageResourceGooGetOutput struct{ *pulumi.OutputState } @@ -4578,6 +5281,12 @@ func (o OSPolicyResourcePackageResourceGooGetOutput) ToOSPolicyResourcePackageRe }).(OSPolicyResourcePackageResourceGooGetPtrOutput) } +func (o OSPolicyResourcePackageResourceGooGetOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceGooGet] { + return pulumix.Output[OSPolicyResourcePackageResourceGooGet]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceGooGetOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceGooGet) string { return v.Name }).(pulumi.StringOutput) @@ -4597,6 +5306,12 @@ func (o OSPolicyResourcePackageResourceGooGetPtrOutput) ToOSPolicyResourcePackag return o } +func (o OSPolicyResourcePackageResourceGooGetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceGooGet] { + return pulumix.Output[*OSPolicyResourcePackageResourceGooGet]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceGooGetPtrOutput) Elem() OSPolicyResourcePackageResourceGooGetOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceGooGet) OSPolicyResourcePackageResourceGooGet { if v != nil { @@ -4638,6 +5353,12 @@ func (o OSPolicyResourcePackageResourceGooGetResponseOutput) ToOSPolicyResourceP return o } +func (o OSPolicyResourcePackageResourceGooGetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceGooGetResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceGooGetResponse]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceGooGetResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceGooGetResponse) string { return v.Name }).(pulumi.StringOutput) @@ -4682,6 +5403,12 @@ func (i OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourc return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceMSIOutput) } +func (i OSPolicyResourcePackageResourceMSIArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceMSI] { + return pulumix.Output[OSPolicyResourcePackageResourceMSI]{ + OutputState: i.ToOSPolicyResourcePackageResourceMSIOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourceMSIPtrOutput() OSPolicyResourcePackageResourceMSIPtrOutput { return i.ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext(context.Background()) } @@ -4723,6 +5450,12 @@ func (i *ospolicyResourcePackageResourceMSIPtrType) ToOSPolicyResourcePackageRes return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceMSIPtrOutput) } +func (i *ospolicyResourcePackageResourceMSIPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceMSI] { + return pulumix.Output[*OSPolicyResourcePackageResourceMSI]{ + OutputState: i.ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext(ctx).OutputState, + } +} + // An MSI package. MSI packages only support INSTALLED state. type OSPolicyResourcePackageResourceMSIOutput struct{ *pulumi.OutputState } @@ -4748,6 +5481,12 @@ func (o OSPolicyResourcePackageResourceMSIOutput) ToOSPolicyResourcePackageResou }).(OSPolicyResourcePackageResourceMSIPtrOutput) } +func (o OSPolicyResourcePackageResourceMSIOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceMSI] { + return pulumix.Output[OSPolicyResourcePackageResourceMSI]{ + OutputState: o.OutputState, + } +} + // Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`. func (o OSPolicyResourcePackageResourceMSIOutput) Properties() pulumi.StringArrayOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceMSI) []string { return v.Properties }).(pulumi.StringArrayOutput) @@ -4772,6 +5511,12 @@ func (o OSPolicyResourcePackageResourceMSIPtrOutput) ToOSPolicyResourcePackageRe return o } +func (o OSPolicyResourcePackageResourceMSIPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceMSI] { + return pulumix.Output[*OSPolicyResourcePackageResourceMSI]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceMSIPtrOutput) Elem() OSPolicyResourcePackageResourceMSIOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceMSI) OSPolicyResourcePackageResourceMSI { if v != nil { @@ -4825,6 +5570,12 @@ func (o OSPolicyResourcePackageResourceMSIResponseOutput) ToOSPolicyResourcePack return o } +func (o OSPolicyResourcePackageResourceMSIResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceMSIResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceMSIResponse]{ + OutputState: o.OutputState, + } +} + // Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`. func (o OSPolicyResourcePackageResourceMSIResponseOutput) Properties() pulumi.StringArrayOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceMSIResponse) []string { return v.Properties }).(pulumi.StringArrayOutput) @@ -4874,6 +5625,12 @@ func (i OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourc return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceRPMOutput) } +func (i OSPolicyResourcePackageResourceRPMArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceRPM] { + return pulumix.Output[OSPolicyResourcePackageResourceRPM]{ + OutputState: i.ToOSPolicyResourcePackageResourceRPMOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourceRPMPtrOutput() OSPolicyResourcePackageResourceRPMPtrOutput { return i.ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext(context.Background()) } @@ -4915,6 +5672,12 @@ func (i *ospolicyResourcePackageResourceRPMPtrType) ToOSPolicyResourcePackageRes return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceRPMPtrOutput) } +func (i *ospolicyResourcePackageResourceRPMPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceRPM] { + return pulumix.Output[*OSPolicyResourcePackageResourceRPM]{ + OutputState: i.ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext(ctx).OutputState, + } +} + // An RPM package file. RPM packages only support INSTALLED state. type OSPolicyResourcePackageResourceRPMOutput struct{ *pulumi.OutputState } @@ -4940,6 +5703,12 @@ func (o OSPolicyResourcePackageResourceRPMOutput) ToOSPolicyResourcePackageResou }).(OSPolicyResourcePackageResourceRPMPtrOutput) } +func (o OSPolicyResourcePackageResourceRPMOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceRPM] { + return pulumix.Output[OSPolicyResourcePackageResourceRPM]{ + OutputState: o.OutputState, + } +} + // Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm` func (o OSPolicyResourcePackageResourceRPMOutput) PullDeps() pulumi.BoolPtrOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceRPM) *bool { return v.PullDeps }).(pulumi.BoolPtrOutput) @@ -4964,6 +5733,12 @@ func (o OSPolicyResourcePackageResourceRPMPtrOutput) ToOSPolicyResourcePackageRe return o } +func (o OSPolicyResourcePackageResourceRPMPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceRPM] { + return pulumix.Output[*OSPolicyResourcePackageResourceRPM]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceRPMPtrOutput) Elem() OSPolicyResourcePackageResourceRPMOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceRPM) OSPolicyResourcePackageResourceRPM { if v != nil { @@ -5017,6 +5792,12 @@ func (o OSPolicyResourcePackageResourceRPMResponseOutput) ToOSPolicyResourcePack return o } +func (o OSPolicyResourcePackageResourceRPMResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceRPMResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceRPMResponse]{ + OutputState: o.OutputState, + } +} + // Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm` func (o OSPolicyResourcePackageResourceRPMResponseOutput) PullDeps() pulumi.BoolOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceRPMResponse) bool { return v.PullDeps }).(pulumi.BoolOutput) @@ -5062,6 +5843,12 @@ func (o OSPolicyResourcePackageResourceResponseOutput) ToOSPolicyResourcePackage return o } +func (o OSPolicyResourcePackageResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceResponse]{ + OutputState: o.OutputState, + } +} + // A package managed by Apt. func (o OSPolicyResourcePackageResourceResponseOutput) Apt() OSPolicyResourcePackageResourceAPTResponseOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceResponse) OSPolicyResourcePackageResourceAPTResponse { @@ -5151,6 +5938,12 @@ func (i OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourc return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceYUMOutput) } +func (i OSPolicyResourcePackageResourceYUMArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceYUM] { + return pulumix.Output[OSPolicyResourcePackageResourceYUM]{ + OutputState: i.ToOSPolicyResourcePackageResourceYUMOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourceYUMPtrOutput() OSPolicyResourcePackageResourceYUMPtrOutput { return i.ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext(context.Background()) } @@ -5192,6 +5985,12 @@ func (i *ospolicyResourcePackageResourceYUMPtrType) ToOSPolicyResourcePackageRes return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceYUMPtrOutput) } +func (i *ospolicyResourcePackageResourceYUMPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceYUM] { + return pulumix.Output[*OSPolicyResourcePackageResourceYUM]{ + OutputState: i.ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext(ctx).OutputState, + } +} + // A package managed by YUM. - install: `yum -y install package` - remove: `yum -y remove package` type OSPolicyResourcePackageResourceYUMOutput struct{ *pulumi.OutputState } @@ -5217,6 +6016,12 @@ func (o OSPolicyResourcePackageResourceYUMOutput) ToOSPolicyResourcePackageResou }).(OSPolicyResourcePackageResourceYUMPtrOutput) } +func (o OSPolicyResourcePackageResourceYUMOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceYUM] { + return pulumix.Output[OSPolicyResourcePackageResourceYUM]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceYUMOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceYUM) string { return v.Name }).(pulumi.StringOutput) @@ -5236,6 +6041,12 @@ func (o OSPolicyResourcePackageResourceYUMPtrOutput) ToOSPolicyResourcePackageRe return o } +func (o OSPolicyResourcePackageResourceYUMPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceYUM] { + return pulumix.Output[*OSPolicyResourcePackageResourceYUM]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceYUMPtrOutput) Elem() OSPolicyResourcePackageResourceYUMOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceYUM) OSPolicyResourcePackageResourceYUM { if v != nil { @@ -5277,6 +6088,12 @@ func (o OSPolicyResourcePackageResourceYUMResponseOutput) ToOSPolicyResourcePack return o } +func (o OSPolicyResourcePackageResourceYUMResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceYUMResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceYUMResponse]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceYUMResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceYUMResponse) string { return v.Name }).(pulumi.StringOutput) @@ -5317,6 +6134,12 @@ func (i OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageReso return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceZypperOutput) } +func (i OSPolicyResourcePackageResourceZypperArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceZypper] { + return pulumix.Output[OSPolicyResourcePackageResourceZypper]{ + OutputState: i.ToOSPolicyResourcePackageResourceZypperOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageResourceZypperPtrOutput() OSPolicyResourcePackageResourceZypperPtrOutput { return i.ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext(context.Background()) } @@ -5358,6 +6181,12 @@ func (i *ospolicyResourcePackageResourceZypperPtrType) ToOSPolicyResourcePackage return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceZypperPtrOutput) } +func (i *ospolicyResourcePackageResourceZypperPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceZypper] { + return pulumix.Output[*OSPolicyResourcePackageResourceZypper]{ + OutputState: i.ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext(ctx).OutputState, + } +} + // A package managed by Zypper. - install: `zypper -y install package` - remove: `zypper -y rm package` type OSPolicyResourcePackageResourceZypperOutput struct{ *pulumi.OutputState } @@ -5383,6 +6212,12 @@ func (o OSPolicyResourcePackageResourceZypperOutput) ToOSPolicyResourcePackageRe }).(OSPolicyResourcePackageResourceZypperPtrOutput) } +func (o OSPolicyResourcePackageResourceZypperOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceZypper] { + return pulumix.Output[OSPolicyResourcePackageResourceZypper]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceZypperOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceZypper) string { return v.Name }).(pulumi.StringOutput) @@ -5402,6 +6237,12 @@ func (o OSPolicyResourcePackageResourceZypperPtrOutput) ToOSPolicyResourcePackag return o } +func (o OSPolicyResourcePackageResourceZypperPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceZypper] { + return pulumix.Output[*OSPolicyResourcePackageResourceZypper]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceZypperPtrOutput) Elem() OSPolicyResourcePackageResourceZypperOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceZypper) OSPolicyResourcePackageResourceZypper { if v != nil { @@ -5443,6 +6284,12 @@ func (o OSPolicyResourcePackageResourceZypperResponseOutput) ToOSPolicyResourceP return o } +func (o OSPolicyResourcePackageResourceZypperResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceZypperResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceZypperResponse]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceZypperResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceZypperResponse) string { return v.Name }).(pulumi.StringOutput) @@ -5495,6 +6342,12 @@ func (i OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryReso return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceOutput) } +func (i OSPolicyResourceRepositoryResourceArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResource] { + return pulumix.Output[OSPolicyResourceRepositoryResource]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryResourcePtrOutput() OSPolicyResourceRepositoryResourcePtrOutput { return i.ToOSPolicyResourceRepositoryResourcePtrOutputWithContext(context.Background()) } @@ -5536,6 +6389,12 @@ func (i *ospolicyResourceRepositoryResourcePtrType) ToOSPolicyResourceRepository return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourcePtrOutput) } +func (i *ospolicyResourceRepositoryResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResource] { + return pulumix.Output[*OSPolicyResourceRepositoryResource]{ + OutputState: i.ToOSPolicyResourceRepositoryResourcePtrOutputWithContext(ctx).OutputState, + } +} + // A resource that manages a package repository. type OSPolicyResourceRepositoryResourceOutput struct{ *pulumi.OutputState } @@ -5561,6 +6420,12 @@ func (o OSPolicyResourceRepositoryResourceOutput) ToOSPolicyResourceRepositoryRe }).(OSPolicyResourceRepositoryResourcePtrOutput) } +func (o OSPolicyResourceRepositoryResourceOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResource] { + return pulumix.Output[OSPolicyResourceRepositoryResource]{ + OutputState: o.OutputState, + } +} + // An Apt Repository. func (o OSPolicyResourceRepositoryResourceOutput) Apt() OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResource) *OSPolicyResourceRepositoryResourceAptRepository { @@ -5603,6 +6468,12 @@ func (o OSPolicyResourceRepositoryResourcePtrOutput) ToOSPolicyResourceRepositor return o } +func (o OSPolicyResourceRepositoryResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResource] { + return pulumix.Output[*OSPolicyResourceRepositoryResource]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourcePtrOutput) Elem() OSPolicyResourceRepositoryResourceOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResource) OSPolicyResourceRepositoryResource { if v != nil { @@ -5704,6 +6575,12 @@ func (i OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceR return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceAptRepositoryOutput) } +func (i OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceAptRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceAptRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceAptRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutput() OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput { return i.ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext(context.Background()) } @@ -5745,6 +6622,12 @@ func (i *ospolicyResourceRepositoryResourceAptRepositoryPtrType) ToOSPolicyResou return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) } +func (i *ospolicyResourceRepositoryResourceAptRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single apt package repository. These will be added to a repo file that will be managed at `/etc/apt/sources.list.d/google_osconfig.list`. type OSPolicyResourceRepositoryResourceAptRepositoryOutput struct{ *pulumi.OutputState } @@ -5770,6 +6653,12 @@ func (o OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOSPolicyResourc }).(OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) } +func (o OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceAptRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceAptRepository]{ + OutputState: o.OutputState, + } +} + // Type of archive files in this repository. func (o OSPolicyResourceRepositoryResourceAptRepositoryOutput) ArchiveType() OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceAptRepository) OSPolicyResourceRepositoryResourceAptRepositoryArchiveType { @@ -5811,6 +6700,12 @@ func (o OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) ToOSPolicyReso return o } +func (o OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepository]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) Elem() OSPolicyResourceRepositoryResourceAptRepositoryOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResourceAptRepository) OSPolicyResourceRepositoryResourceAptRepository { if v != nil { @@ -5900,6 +6795,12 @@ func (o OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ToOSPolic return o } +func (o OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceAptRepositoryResponse] { + return pulumix.Output[OSPolicyResourceRepositoryResourceAptRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // Type of archive files in this repository. func (o OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ArchiveType() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceAptRepositoryResponse) string { return v.ArchiveType }).(pulumi.StringOutput) @@ -5964,6 +6865,12 @@ func (i OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceR return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceGooRepositoryOutput) } +func (i OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceGooRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceGooRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceGooRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutput() OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput { return i.ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext(context.Background()) } @@ -6005,6 +6912,12 @@ func (i *ospolicyResourceRepositoryResourceGooRepositoryPtrType) ToOSPolicyResou return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) } +func (i *ospolicyResourceRepositoryResourceGooRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceGooRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceGooRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Goo package repository. These are added to a repo file that is managed at `C:/ProgramData/GooGet/repos/google_osconfig.repo`. type OSPolicyResourceRepositoryResourceGooRepositoryOutput struct{ *pulumi.OutputState } @@ -6030,6 +6943,12 @@ func (o OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOSPolicyResourc }).(OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) } +func (o OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceGooRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceGooRepository]{ + OutputState: o.OutputState, + } +} + // The name of the repository. func (o OSPolicyResourceRepositoryResourceGooRepositoryOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceGooRepository) string { return v.Name }).(pulumi.StringOutput) @@ -6054,6 +6973,12 @@ func (o OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) ToOSPolicyReso return o } +func (o OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceGooRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceGooRepository]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) Elem() OSPolicyResourceRepositoryResourceGooRepositoryOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResourceGooRepository) OSPolicyResourceRepositoryResourceGooRepository { if v != nil { @@ -6107,6 +7032,12 @@ func (o OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) ToOSPolic return o } +func (o OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceGooRepositoryResponse] { + return pulumix.Output[OSPolicyResourceRepositoryResourceGooRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // The name of the repository. func (o OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceGooRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) @@ -6144,6 +7075,12 @@ func (o OSPolicyResourceRepositoryResourceResponseOutput) ToOSPolicyResourceRepo return o } +func (o OSPolicyResourceRepositoryResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceResponse] { + return pulumix.Output[OSPolicyResourceRepositoryResourceResponse]{ + OutputState: o.OutputState, + } +} + // An Apt Repository. func (o OSPolicyResourceRepositoryResourceResponseOutput) Apt() OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceResponse) OSPolicyResourceRepositoryResourceAptRepositoryResponse { @@ -6219,6 +7156,12 @@ func (i OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceR return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceYumRepositoryOutput) } +func (i OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceYumRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceYumRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceYumRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutput() OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput { return i.ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext(context.Background()) } @@ -6260,6 +7203,12 @@ func (i *ospolicyResourceRepositoryResourceYumRepositoryPtrType) ToOSPolicyResou return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) } +func (i *ospolicyResourceRepositoryResourceYumRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceYumRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceYumRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single yum package repository. These are added to a repo file that is managed at `/etc/yum.repos.d/google_osconfig.repo`. type OSPolicyResourceRepositoryResourceYumRepositoryOutput struct{ *pulumi.OutputState } @@ -6285,6 +7234,12 @@ func (o OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOSPolicyResourc }).(OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) } +func (o OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceYumRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceYumRepository]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o OSPolicyResourceRepositoryResourceYumRepositoryOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceYumRepository) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -6319,6 +7274,12 @@ func (o OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) ToOSPolicyReso return o } +func (o OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceYumRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceYumRepository]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) Elem() OSPolicyResourceRepositoryResourceYumRepositoryOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResourceYumRepository) OSPolicyResourceRepositoryResourceYumRepository { if v != nil { @@ -6394,6 +7355,12 @@ func (o OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) ToOSPolic return o } +func (o OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceYumRepositoryResponse] { + return pulumix.Output[OSPolicyResourceRepositoryResourceYumRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceYumRepositoryResponse) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -6456,6 +7423,12 @@ func (i OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResour return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceZypperRepositoryOutput) } +func (i OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceZypperRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput() OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput { return i.ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext(context.Background()) } @@ -6497,6 +7470,12 @@ func (i *ospolicyResourceRepositoryResourceZypperRepositoryPtrType) ToOSPolicyRe return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) } +func (i *ospolicyResourceRepositoryResourceZypperRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceZypperRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceZypperRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single zypper package repository. These are added to a repo file that is managed at `/etc/zypp/repos.d/google_osconfig.repo`. type OSPolicyResourceRepositoryResourceZypperRepositoryOutput struct{ *pulumi.OutputState } @@ -6522,6 +7501,12 @@ func (o OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ToOSPolicyReso }).(OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) } +func (o OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepository]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o OSPolicyResourceRepositoryResourceZypperRepositoryOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceZypperRepository) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -6556,6 +7541,12 @@ func (o OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) ToOSPolicyR return o } +func (o OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceZypperRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceZypperRepository]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) Elem() OSPolicyResourceRepositoryResourceZypperRepositoryOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResourceZypperRepository) OSPolicyResourceRepositoryResourceZypperRepository { if v != nil { @@ -6631,6 +7622,12 @@ func (o OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) ToOSPo return o } +func (o OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepositoryResponse] { + return pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceZypperRepositoryResponse) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -6673,6 +7670,12 @@ func (o OSPolicyResourceResponseOutput) ToOSPolicyResourceResponseOutputWithCont return o } +func (o OSPolicyResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceResponse] { + return pulumix.Output[OSPolicyResourceResponse]{ + OutputState: o.OutputState, + } +} + // Exec resource func (o OSPolicyResourceResponseOutput) Exec() OSPolicyResourceExecResourceResponseOutput { return o.ApplyT(func(v OSPolicyResourceResponse) OSPolicyResourceExecResourceResponse { return v.Exec }).(OSPolicyResourceExecResourceResponseOutput) @@ -6707,6 +7710,12 @@ func (o OSPolicyResourceResponseArrayOutput) ToOSPolicyResourceResponseArrayOutp return o } +func (o OSPolicyResourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResourceResponse] { + return pulumix.Output[[]OSPolicyResourceResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyResourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyResourceResponse { return vs[0].([]OSPolicyResourceResponse)[vs[1].(int)] @@ -6740,6 +7749,12 @@ func (o OSPolicyResponseOutput) ToOSPolicyResponseOutputWithContext(ctx context. return o } +func (o OSPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResponse] { + return pulumix.Output[OSPolicyResponse]{ + OutputState: o.OutputState, + } +} + // This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. func (o OSPolicyResponseOutput) AllowNoResourceGroupMatch() pulumi.BoolOutput { return o.ApplyT(func(v OSPolicyResponse) bool { return v.AllowNoResourceGroupMatch }).(pulumi.BoolOutput) @@ -6774,6 +7789,12 @@ func (o OSPolicyResponseArrayOutput) ToOSPolicyResponseArrayOutputWithContext(ct return o } +func (o OSPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResponse] { + return pulumix.Output[[]OSPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyResponse { return vs[0].([]OSPolicyResponse)[vs[1].(int)] @@ -6815,6 +7836,12 @@ func (i OneTimeScheduleArgs) ToOneTimeScheduleOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OneTimeScheduleOutput) } +func (i OneTimeScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[OneTimeSchedule] { + return pulumix.Output[OneTimeSchedule]{ + OutputState: i.ToOneTimeScheduleOutputWithContext(ctx).OutputState, + } +} + // Sets the time for a one time patch deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. type OneTimeScheduleOutput struct{ *pulumi.OutputState } @@ -6830,6 +7857,12 @@ func (o OneTimeScheduleOutput) ToOneTimeScheduleOutputWithContext(ctx context.Co return o } +func (o OneTimeScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[OneTimeSchedule] { + return pulumix.Output[OneTimeSchedule]{ + OutputState: o.OutputState, + } +} + // The desired patch job execution time. func (o OneTimeScheduleOutput) ExecuteTime() pulumi.StringOutput { return o.ApplyT(func(v OneTimeSchedule) string { return v.ExecuteTime }).(pulumi.StringOutput) @@ -6856,6 +7889,12 @@ func (o OneTimeScheduleResponseOutput) ToOneTimeScheduleResponseOutputWithContex return o } +func (o OneTimeScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OneTimeScheduleResponse] { + return pulumix.Output[OneTimeScheduleResponse]{ + OutputState: o.OutputState, + } +} + // The desired patch job execution time. func (o OneTimeScheduleResponseOutput) ExecuteTime() pulumi.StringOutput { return o.ApplyT(func(v OneTimeScheduleResponse) string { return v.ExecuteTime }).(pulumi.StringOutput) @@ -6928,6 +7967,12 @@ func (i PatchConfigArgs) ToPatchConfigOutputWithContext(ctx context.Context) Pat return pulumi.ToOutputWithContext(ctx, i).(PatchConfigOutput) } +func (i PatchConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PatchConfig] { + return pulumix.Output[PatchConfig]{ + OutputState: i.ToPatchConfigOutputWithContext(ctx).OutputState, + } +} + func (i PatchConfigArgs) ToPatchConfigPtrOutput() PatchConfigPtrOutput { return i.ToPatchConfigPtrOutputWithContext(context.Background()) } @@ -6969,6 +8014,12 @@ func (i *patchConfigPtrType) ToPatchConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PatchConfigPtrOutput) } +func (i *patchConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PatchConfig] { + return pulumix.Output[*PatchConfig]{ + OutputState: i.ToPatchConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance. type PatchConfigOutput struct{ *pulumi.OutputState } @@ -6994,6 +8045,12 @@ func (o PatchConfigOutput) ToPatchConfigPtrOutputWithContext(ctx context.Context }).(PatchConfigPtrOutput) } +func (o PatchConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PatchConfig] { + return pulumix.Output[PatchConfig]{ + OutputState: o.OutputState, + } +} + // Apt update settings. Use this setting to override the default `apt` patch rules. func (o PatchConfigOutput) Apt() AptSettingsPtrOutput { return o.ApplyT(func(v PatchConfig) *AptSettings { return v.Apt }).(AptSettingsPtrOutput) @@ -7053,6 +8110,12 @@ func (o PatchConfigPtrOutput) ToPatchConfigPtrOutputWithContext(ctx context.Cont return o } +func (o PatchConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PatchConfig] { + return pulumix.Output[*PatchConfig]{ + OutputState: o.OutputState, + } +} + func (o PatchConfigPtrOutput) Elem() PatchConfigOutput { return o.ApplyT(func(v *PatchConfig) PatchConfig { if v != nil { @@ -7190,6 +8253,12 @@ func (o PatchConfigResponseOutput) ToPatchConfigResponseOutputWithContext(ctx co return o } +func (o PatchConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PatchConfigResponse] { + return pulumix.Output[PatchConfigResponse]{ + OutputState: o.OutputState, + } +} + // Apt update settings. Use this setting to override the default `apt` patch rules. func (o PatchConfigResponseOutput) Apt() AptSettingsResponseOutput { return o.ApplyT(func(v PatchConfigResponse) AptSettingsResponse { return v.Apt }).(AptSettingsResponseOutput) @@ -7286,6 +8355,12 @@ func (i PatchInstanceFilterArgs) ToPatchInstanceFilterOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PatchInstanceFilterOutput) } +func (i PatchInstanceFilterArgs) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilter] { + return pulumix.Output[PatchInstanceFilter]{ + OutputState: i.ToPatchInstanceFilterOutputWithContext(ctx).OutputState, + } +} + // A filter to target VM instances for patching. The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones. type PatchInstanceFilterOutput struct{ *pulumi.OutputState } @@ -7301,6 +8376,12 @@ func (o PatchInstanceFilterOutput) ToPatchInstanceFilterOutputWithContext(ctx co return o } +func (o PatchInstanceFilterOutput) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilter] { + return pulumix.Output[PatchInstanceFilter]{ + OutputState: o.OutputState, + } +} + // Target all VM instances in the project. If true, no other criteria is permitted. func (o PatchInstanceFilterOutput) All() pulumi.BoolPtrOutput { return o.ApplyT(func(v PatchInstanceFilter) *bool { return v.All }).(pulumi.BoolPtrOutput) @@ -7361,6 +8442,12 @@ func (i PatchInstanceFilterGroupLabelArgs) ToPatchInstanceFilterGroupLabelOutput return pulumi.ToOutputWithContext(ctx, i).(PatchInstanceFilterGroupLabelOutput) } +func (i PatchInstanceFilterGroupLabelArgs) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilterGroupLabel] { + return pulumix.Output[PatchInstanceFilterGroupLabel]{ + OutputState: i.ToPatchInstanceFilterGroupLabelOutputWithContext(ctx).OutputState, + } +} + // PatchInstanceFilterGroupLabelArrayInput is an input type that accepts PatchInstanceFilterGroupLabelArray and PatchInstanceFilterGroupLabelArrayOutput values. // You can construct a concrete instance of `PatchInstanceFilterGroupLabelArrayInput` via: // @@ -7386,6 +8473,12 @@ func (i PatchInstanceFilterGroupLabelArray) ToPatchInstanceFilterGroupLabelArray return pulumi.ToOutputWithContext(ctx, i).(PatchInstanceFilterGroupLabelArrayOutput) } +func (i PatchInstanceFilterGroupLabelArray) ToOutput(ctx context.Context) pulumix.Output[[]PatchInstanceFilterGroupLabel] { + return pulumix.Output[[]PatchInstanceFilterGroupLabel]{ + OutputState: i.ToPatchInstanceFilterGroupLabelArrayOutputWithContext(ctx).OutputState, + } +} + // Targets a group of VM instances by using their [assigned labels](https://cloud.google.com/compute/docs/labeling-resources). Labels are key-value pairs. A `GroupLabel` is a combination of labels that is used to target VMs for a patch job. For example, a patch job can target VMs that have the following `GroupLabel`: `{"env":"test", "app":"web"}`. This means that the patch job is applied to VMs that have both the labels `env=test` and `app=web`. type PatchInstanceFilterGroupLabelOutput struct{ *pulumi.OutputState } @@ -7401,6 +8494,12 @@ func (o PatchInstanceFilterGroupLabelOutput) ToPatchInstanceFilterGroupLabelOutp return o } +func (o PatchInstanceFilterGroupLabelOutput) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilterGroupLabel] { + return pulumix.Output[PatchInstanceFilterGroupLabel]{ + OutputState: o.OutputState, + } +} + // Compute Engine instance labels that must be present for a VM instance to be targeted by this filter. func (o PatchInstanceFilterGroupLabelOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v PatchInstanceFilterGroupLabel) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -7420,6 +8519,12 @@ func (o PatchInstanceFilterGroupLabelArrayOutput) ToPatchInstanceFilterGroupLabe return o } +func (o PatchInstanceFilterGroupLabelArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PatchInstanceFilterGroupLabel] { + return pulumix.Output[[]PatchInstanceFilterGroupLabel]{ + OutputState: o.OutputState, + } +} + func (o PatchInstanceFilterGroupLabelArrayOutput) Index(i pulumi.IntInput) PatchInstanceFilterGroupLabelOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PatchInstanceFilterGroupLabel { return vs[0].([]PatchInstanceFilterGroupLabel)[vs[1].(int)] @@ -7447,6 +8552,12 @@ func (o PatchInstanceFilterGroupLabelResponseOutput) ToPatchInstanceFilterGroupL return o } +func (o PatchInstanceFilterGroupLabelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilterGroupLabelResponse] { + return pulumix.Output[PatchInstanceFilterGroupLabelResponse]{ + OutputState: o.OutputState, + } +} + // Compute Engine instance labels that must be present for a VM instance to be targeted by this filter. func (o PatchInstanceFilterGroupLabelResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v PatchInstanceFilterGroupLabelResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -7466,6 +8577,12 @@ func (o PatchInstanceFilterGroupLabelResponseArrayOutput) ToPatchInstanceFilterG return o } +func (o PatchInstanceFilterGroupLabelResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PatchInstanceFilterGroupLabelResponse] { + return pulumix.Output[[]PatchInstanceFilterGroupLabelResponse]{ + OutputState: o.OutputState, + } +} + func (o PatchInstanceFilterGroupLabelResponseArrayOutput) Index(i pulumi.IntInput) PatchInstanceFilterGroupLabelResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PatchInstanceFilterGroupLabelResponse { return vs[0].([]PatchInstanceFilterGroupLabelResponse)[vs[1].(int)] @@ -7501,6 +8618,12 @@ func (o PatchInstanceFilterResponseOutput) ToPatchInstanceFilterResponseOutputWi return o } +func (o PatchInstanceFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilterResponse] { + return pulumix.Output[PatchInstanceFilterResponse]{ + OutputState: o.OutputState, + } +} + // Target all VM instances in the project. If true, no other criteria is permitted. func (o PatchInstanceFilterResponseOutput) All() pulumi.BoolOutput { return o.ApplyT(func(v PatchInstanceFilterResponse) bool { return v.All }).(pulumi.BoolOutput) @@ -7565,6 +8688,12 @@ func (i PatchRolloutArgs) ToPatchRolloutOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PatchRolloutOutput) } +func (i PatchRolloutArgs) ToOutput(ctx context.Context) pulumix.Output[PatchRollout] { + return pulumix.Output[PatchRollout]{ + OutputState: i.ToPatchRolloutOutputWithContext(ctx).OutputState, + } +} + func (i PatchRolloutArgs) ToPatchRolloutPtrOutput() PatchRolloutPtrOutput { return i.ToPatchRolloutPtrOutputWithContext(context.Background()) } @@ -7606,6 +8735,12 @@ func (i *patchRolloutPtrType) ToPatchRolloutPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PatchRolloutPtrOutput) } +func (i *patchRolloutPtrType) ToOutput(ctx context.Context) pulumix.Output[*PatchRollout] { + return pulumix.Output[*PatchRollout]{ + OutputState: i.ToPatchRolloutPtrOutputWithContext(ctx).OutputState, + } +} + // Patch rollout configuration specifications. Contains details on the concurrency control when applying patch(es) to all targeted VMs. type PatchRolloutOutput struct{ *pulumi.OutputState } @@ -7631,6 +8766,12 @@ func (o PatchRolloutOutput) ToPatchRolloutPtrOutputWithContext(ctx context.Conte }).(PatchRolloutPtrOutput) } +func (o PatchRolloutOutput) ToOutput(ctx context.Context) pulumix.Output[PatchRollout] { + return pulumix.Output[PatchRollout]{ + OutputState: o.OutputState, + } +} + // The maximum number (or percentage) of VMs per zone to disrupt at any given moment. The number of VMs calculated from multiplying the percentage by the total number of VMs in a zone is rounded up. During patching, a VM is considered disrupted from the time the agent is notified to begin until patching has completed. This disruption time includes the time to complete reboot and any post-patch steps. A VM contributes to the disruption budget if its patching operation fails either when applying the patches, running pre or post patch steps, or if it fails to respond with a success notification before timing out. VMs that are not running or do not have an active agent do not count toward this disruption budget. For zone-by-zone rollouts, if the disruption budget in a zone is exceeded, the patch job stops, because continuing to the next zone requires completion of the patch process in the previous zone. For example, if the disruption budget has a fixed value of `10`, and 8 VMs fail to patch in the current zone, the patch job continues to patch 2 VMs at a time until the zone is completed. When that zone is completed successfully, patching begins with 10 VMs at a time in the next zone. If 10 VMs in the next zone fail to patch, the patch job stops. func (o PatchRolloutOutput) DisruptionBudget() FixedOrPercentPtrOutput { return o.ApplyT(func(v PatchRollout) *FixedOrPercent { return v.DisruptionBudget }).(FixedOrPercentPtrOutput) @@ -7655,6 +8796,12 @@ func (o PatchRolloutPtrOutput) ToPatchRolloutPtrOutputWithContext(ctx context.Co return o } +func (o PatchRolloutPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PatchRollout] { + return pulumix.Output[*PatchRollout]{ + OutputState: o.OutputState, + } +} + func (o PatchRolloutPtrOutput) Elem() PatchRolloutOutput { return o.ApplyT(func(v *PatchRollout) PatchRollout { if v != nil { @@ -7708,6 +8855,12 @@ func (o PatchRolloutResponseOutput) ToPatchRolloutResponseOutputWithContext(ctx return o } +func (o PatchRolloutResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PatchRolloutResponse] { + return pulumix.Output[PatchRolloutResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number (or percentage) of VMs per zone to disrupt at any given moment. The number of VMs calculated from multiplying the percentage by the total number of VMs in a zone is rounded up. During patching, a VM is considered disrupted from the time the agent is notified to begin until patching has completed. This disruption time includes the time to complete reboot and any post-patch steps. A VM contributes to the disruption budget if its patching operation fails either when applying the patches, running pre or post patch steps, or if it fails to respond with a success notification before timing out. VMs that are not running or do not have an active agent do not count toward this disruption budget. For zone-by-zone rollouts, if the disruption budget in a zone is exceeded, the patch job stops, because continuing to the next zone requires completion of the patch process in the previous zone. For example, if the disruption budget has a fixed value of `10`, and 8 VMs fail to patch in the current zone, the patch job continues to patch 2 VMs at a time until the zone is completed. When that zone is completed successfully, patching begins with 10 VMs at a time in the next zone. If 10 VMs in the next zone fail to patch, the patch job stops. func (o PatchRolloutResponseOutput) DisruptionBudget() FixedOrPercentResponseOutput { return o.ApplyT(func(v PatchRolloutResponse) FixedOrPercentResponse { return v.DisruptionBudget }).(FixedOrPercentResponseOutput) @@ -7777,6 +8930,12 @@ func (i RecurringScheduleArgs) ToRecurringScheduleOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(RecurringScheduleOutput) } +func (i RecurringScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[RecurringSchedule] { + return pulumix.Output[RecurringSchedule]{ + OutputState: i.ToRecurringScheduleOutputWithContext(ctx).OutputState, + } +} + // Sets the time for recurring patch deployments. type RecurringScheduleOutput struct{ *pulumi.OutputState } @@ -7792,6 +8951,12 @@ func (o RecurringScheduleOutput) ToRecurringScheduleOutputWithContext(ctx contex return o } +func (o RecurringScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[RecurringSchedule] { + return pulumix.Output[RecurringSchedule]{ + OutputState: o.OutputState, + } +} + // Optional. The end time at which a recurring patch deployment schedule is no longer active. func (o RecurringScheduleOutput) EndTime() pulumi.StringPtrOutput { return o.ApplyT(func(v RecurringSchedule) *string { return v.EndTime }).(pulumi.StringPtrOutput) @@ -7864,6 +9029,12 @@ func (o RecurringScheduleResponseOutput) ToRecurringScheduleResponseOutputWithCo return o } +func (o RecurringScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RecurringScheduleResponse] { + return pulumix.Output[RecurringScheduleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The end time at which a recurring patch deployment schedule is no longer active. func (o RecurringScheduleResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v RecurringScheduleResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -7956,6 +9127,12 @@ func (i TimeOfDayArgs) ToTimeOfDayOutputWithContext(ctx context.Context) TimeOfD return pulumi.ToOutputWithContext(ctx, i).(TimeOfDayOutput) } +func (i TimeOfDayArgs) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: i.ToTimeOfDayOutputWithContext(ctx).OutputState, + } +} + // Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. type TimeOfDayOutput struct{ *pulumi.OutputState } @@ -7971,6 +9148,12 @@ func (o TimeOfDayOutput) ToTimeOfDayOutputWithContext(ctx context.Context) TimeO return o } +func (o TimeOfDayOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayOutput) Hours() pulumi.IntPtrOutput { return o.ApplyT(func(v TimeOfDay) *int { return v.Hours }).(pulumi.IntPtrOutput) @@ -8018,6 +9201,12 @@ func (o TimeOfDayResponseOutput) ToTimeOfDayResponseOutputWithContext(ctx contex return o } +func (o TimeOfDayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDayResponse] { + return pulumix.Output[TimeOfDayResponse]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayResponseOutput) Hours() pulumi.IntOutput { return o.ApplyT(func(v TimeOfDayResponse) int { return v.Hours }).(pulumi.IntOutput) @@ -8077,6 +9266,12 @@ func (i TimeZoneArgs) ToTimeZoneOutputWithContext(ctx context.Context) TimeZoneO return pulumi.ToOutputWithContext(ctx, i).(TimeZoneOutput) } +func (i TimeZoneArgs) ToOutput(ctx context.Context) pulumix.Output[TimeZone] { + return pulumix.Output[TimeZone]{ + OutputState: i.ToTimeZoneOutputWithContext(ctx).OutputState, + } +} + // Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). type TimeZoneOutput struct{ *pulumi.OutputState } @@ -8092,6 +9287,12 @@ func (o TimeZoneOutput) ToTimeZoneOutputWithContext(ctx context.Context) TimeZon return o } +func (o TimeZoneOutput) ToOutput(ctx context.Context) pulumix.Output[TimeZone] { + return pulumix.Output[TimeZone]{ + OutputState: o.OutputState, + } +} + // IANA Time Zone Database time zone, e.g. "America/New_York". func (o TimeZoneOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v TimeZone) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -8123,6 +9324,12 @@ func (o TimeZoneResponseOutput) ToTimeZoneResponseOutputWithContext(ctx context. return o } +func (o TimeZoneResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeZoneResponse] { + return pulumix.Output[TimeZoneResponse]{ + OutputState: o.OutputState, + } +} + // Optional. IANA Time Zone Database version number, e.g. "2019a". func (o TimeZoneResponseOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v TimeZoneResponse) string { return v.Version }).(pulumi.StringOutput) @@ -8171,6 +9378,12 @@ func (i WeekDayOfMonthArgs) ToWeekDayOfMonthOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(WeekDayOfMonthOutput) } +func (i WeekDayOfMonthArgs) ToOutput(ctx context.Context) pulumix.Output[WeekDayOfMonth] { + return pulumix.Output[WeekDayOfMonth]{ + OutputState: i.ToWeekDayOfMonthOutputWithContext(ctx).OutputState, + } +} + // Represents one week day in a month. An example is "the 4th Sunday". type WeekDayOfMonthOutput struct{ *pulumi.OutputState } @@ -8186,6 +9399,12 @@ func (o WeekDayOfMonthOutput) ToWeekDayOfMonthOutputWithContext(ctx context.Cont return o } +func (o WeekDayOfMonthOutput) ToOutput(ctx context.Context) pulumix.Output[WeekDayOfMonth] { + return pulumix.Output[WeekDayOfMonth]{ + OutputState: o.OutputState, + } +} + // A day of the week. func (o WeekDayOfMonthOutput) DayOfWeek() WeekDayOfMonthDayOfWeekOutput { return o.ApplyT(func(v WeekDayOfMonth) WeekDayOfMonthDayOfWeek { return v.DayOfWeek }).(WeekDayOfMonthDayOfWeekOutput) @@ -8226,6 +9445,12 @@ func (o WeekDayOfMonthResponseOutput) ToWeekDayOfMonthResponseOutputWithContext( return o } +func (o WeekDayOfMonthResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeekDayOfMonthResponse] { + return pulumix.Output[WeekDayOfMonthResponse]{ + OutputState: o.OutputState, + } +} + // A day of the week. func (o WeekDayOfMonthResponseOutput) DayOfWeek() pulumi.StringOutput { return o.ApplyT(func(v WeekDayOfMonthResponse) string { return v.DayOfWeek }).(pulumi.StringOutput) @@ -8276,6 +9501,12 @@ func (i WeeklyScheduleArgs) ToWeeklyScheduleOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(WeeklyScheduleOutput) } +func (i WeeklyScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[WeeklySchedule] { + return pulumix.Output[WeeklySchedule]{ + OutputState: i.ToWeeklyScheduleOutputWithContext(ctx).OutputState, + } +} + // Represents a weekly schedule. type WeeklyScheduleOutput struct{ *pulumi.OutputState } @@ -8291,6 +9522,12 @@ func (o WeeklyScheduleOutput) ToWeeklyScheduleOutputWithContext(ctx context.Cont return o } +func (o WeeklyScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklySchedule] { + return pulumix.Output[WeeklySchedule]{ + OutputState: o.OutputState, + } +} + // Day of the week. func (o WeeklyScheduleOutput) DayOfWeek() WeeklyScheduleDayOfWeekOutput { return o.ApplyT(func(v WeeklySchedule) WeeklyScheduleDayOfWeek { return v.DayOfWeek }).(WeeklyScheduleDayOfWeekOutput) @@ -8317,6 +9554,12 @@ func (o WeeklyScheduleResponseOutput) ToWeeklyScheduleResponseOutputWithContext( return o } +func (o WeeklyScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyScheduleResponse] { + return pulumix.Output[WeeklyScheduleResponse]{ + OutputState: o.OutputState, + } +} + // Day of the week. func (o WeeklyScheduleResponseOutput) DayOfWeek() pulumi.StringOutput { return o.ApplyT(func(v WeeklyScheduleResponse) string { return v.DayOfWeek }).(pulumi.StringOutput) @@ -8365,6 +9608,12 @@ func (i WindowsUpdateSettingsArgs) ToWindowsUpdateSettingsOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(WindowsUpdateSettingsOutput) } +func (i WindowsUpdateSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdateSettings] { + return pulumix.Output[WindowsUpdateSettings]{ + OutputState: i.ToWindowsUpdateSettingsOutputWithContext(ctx).OutputState, + } +} + func (i WindowsUpdateSettingsArgs) ToWindowsUpdateSettingsPtrOutput() WindowsUpdateSettingsPtrOutput { return i.ToWindowsUpdateSettingsPtrOutputWithContext(context.Background()) } @@ -8406,6 +9655,12 @@ func (i *windowsUpdateSettingsPtrType) ToWindowsUpdateSettingsPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(WindowsUpdateSettingsPtrOutput) } +func (i *windowsUpdateSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*WindowsUpdateSettings] { + return pulumix.Output[*WindowsUpdateSettings]{ + OutputState: i.ToWindowsUpdateSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Windows patching is performed using the Windows Update Agent. type WindowsUpdateSettingsOutput struct{ *pulumi.OutputState } @@ -8431,6 +9686,12 @@ func (o WindowsUpdateSettingsOutput) ToWindowsUpdateSettingsPtrOutputWithContext }).(WindowsUpdateSettingsPtrOutput) } +func (o WindowsUpdateSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdateSettings] { + return pulumix.Output[WindowsUpdateSettings]{ + OutputState: o.OutputState, + } +} + // Only apply updates of these windows update classifications. If empty, all updates are applied. func (o WindowsUpdateSettingsOutput) Classifications() WindowsUpdateSettingsClassificationsItemArrayOutput { return o.ApplyT(func(v WindowsUpdateSettings) []WindowsUpdateSettingsClassificationsItem { return v.Classifications }).(WindowsUpdateSettingsClassificationsItemArrayOutput) @@ -8460,6 +9721,12 @@ func (o WindowsUpdateSettingsPtrOutput) ToWindowsUpdateSettingsPtrOutputWithCont return o } +func (o WindowsUpdateSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WindowsUpdateSettings] { + return pulumix.Output[*WindowsUpdateSettings]{ + OutputState: o.OutputState, + } +} + func (o WindowsUpdateSettingsPtrOutput) Elem() WindowsUpdateSettingsOutput { return o.ApplyT(func(v *WindowsUpdateSettings) WindowsUpdateSettings { if v != nil { @@ -8525,6 +9792,12 @@ func (o WindowsUpdateSettingsResponseOutput) ToWindowsUpdateSettingsResponseOutp return o } +func (o WindowsUpdateSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdateSettingsResponse] { + return pulumix.Output[WindowsUpdateSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Only apply updates of these windows update classifications. If empty, all updates are applied. func (o WindowsUpdateSettingsResponseOutput) Classifications() pulumi.StringArrayOutput { return o.ApplyT(func(v WindowsUpdateSettingsResponse) []string { return v.Classifications }).(pulumi.StringArrayOutput) @@ -8587,6 +9860,12 @@ func (i YumSettingsArgs) ToYumSettingsOutputWithContext(ctx context.Context) Yum return pulumi.ToOutputWithContext(ctx, i).(YumSettingsOutput) } +func (i YumSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[YumSettings] { + return pulumix.Output[YumSettings]{ + OutputState: i.ToYumSettingsOutputWithContext(ctx).OutputState, + } +} + func (i YumSettingsArgs) ToYumSettingsPtrOutput() YumSettingsPtrOutput { return i.ToYumSettingsPtrOutputWithContext(context.Background()) } @@ -8628,6 +9907,12 @@ func (i *yumSettingsPtrType) ToYumSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(YumSettingsPtrOutput) } +func (i *yumSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*YumSettings] { + return pulumix.Output[*YumSettings]{ + OutputState: i.ToYumSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Yum patching is performed by executing `yum update`. Additional options can be set to control how this is executed. Note that not all settings are supported on all platforms. type YumSettingsOutput struct{ *pulumi.OutputState } @@ -8653,6 +9938,12 @@ func (o YumSettingsOutput) ToYumSettingsPtrOutputWithContext(ctx context.Context }).(YumSettingsPtrOutput) } +func (o YumSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[YumSettings] { + return pulumix.Output[YumSettings]{ + OutputState: o.OutputState, + } +} + // List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag. func (o YumSettingsOutput) Excludes() pulumi.StringArrayOutput { return o.ApplyT(func(v YumSettings) []string { return v.Excludes }).(pulumi.StringArrayOutput) @@ -8687,6 +9978,12 @@ func (o YumSettingsPtrOutput) ToYumSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o YumSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*YumSettings] { + return pulumix.Output[*YumSettings]{ + OutputState: o.OutputState, + } +} + func (o YumSettingsPtrOutput) Elem() YumSettingsOutput { return o.ApplyT(func(v *YumSettings) YumSettings { if v != nil { @@ -8764,6 +10061,12 @@ func (o YumSettingsResponseOutput) ToYumSettingsResponseOutputWithContext(ctx co return o } +func (o YumSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[YumSettingsResponse] { + return pulumix.Output[YumSettingsResponse]{ + OutputState: o.OutputState, + } +} + // List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag. func (o YumSettingsResponseOutput) Excludes() pulumi.StringArrayOutput { return o.ApplyT(func(v YumSettingsResponse) []string { return v.Excludes }).(pulumi.StringArrayOutput) @@ -8839,6 +10142,12 @@ func (i ZypperSettingsArgs) ToZypperSettingsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ZypperSettingsOutput) } +func (i ZypperSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ZypperSettings] { + return pulumix.Output[ZypperSettings]{ + OutputState: i.ToZypperSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ZypperSettingsArgs) ToZypperSettingsPtrOutput() ZypperSettingsPtrOutput { return i.ToZypperSettingsPtrOutputWithContext(context.Background()) } @@ -8880,6 +10189,12 @@ func (i *zypperSettingsPtrType) ToZypperSettingsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ZypperSettingsPtrOutput) } +func (i *zypperSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ZypperSettings] { + return pulumix.Output[*ZypperSettings]{ + OutputState: i.ToZypperSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Zypper patching is performed by running `zypper patch`. See also https://en.opensuse.org/SDB:Zypper_manual. type ZypperSettingsOutput struct{ *pulumi.OutputState } @@ -8905,6 +10220,12 @@ func (o ZypperSettingsOutput) ToZypperSettingsPtrOutputWithContext(ctx context.C }).(ZypperSettingsPtrOutput) } +func (o ZypperSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ZypperSettings] { + return pulumix.Output[ZypperSettings]{ + OutputState: o.OutputState, + } +} + // Install only patches with these categories. Common categories include security, recommended, and feature. func (o ZypperSettingsOutput) Categories() pulumi.StringArrayOutput { return o.ApplyT(func(v ZypperSettings) []string { return v.Categories }).(pulumi.StringArrayOutput) @@ -8949,6 +10270,12 @@ func (o ZypperSettingsPtrOutput) ToZypperSettingsPtrOutputWithContext(ctx contex return o } +func (o ZypperSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ZypperSettings] { + return pulumix.Output[*ZypperSettings]{ + OutputState: o.OutputState, + } +} + func (o ZypperSettingsPtrOutput) Elem() ZypperSettingsOutput { return o.ApplyT(func(v *ZypperSettings) ZypperSettings { if v != nil { @@ -9050,6 +10377,12 @@ func (o ZypperSettingsResponseOutput) ToZypperSettingsResponseOutputWithContext( return o } +func (o ZypperSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ZypperSettingsResponse] { + return pulumix.Output[ZypperSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Install only patches with these categories. Common categories include security, recommended, and feature. func (o ZypperSettingsResponseOutput) Categories() pulumi.StringArrayOutput { return o.ApplyT(func(v ZypperSettingsResponse) []string { return v.Categories }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/osconfig/v1alpha/getOsPolicyAssignment.go b/sdk/go/google/osconfig/v1alpha/getOsPolicyAssignment.go index 4c9a265947..78298cb757 100644 --- a/sdk/go/google/osconfig/v1alpha/getOsPolicyAssignment.go +++ b/sdk/go/google/osconfig/v1alpha/getOsPolicyAssignment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieve an existing OS policy assignment. This method always returns the latest revision. In order to retrieve a previous revision of the assignment, also provide the revision ID in the `name` parameter. @@ -94,6 +95,12 @@ func (o LookupOsPolicyAssignmentResultOutput) ToLookupOsPolicyAssignmentResultOu return o } +func (o LookupOsPolicyAssignmentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOsPolicyAssignmentResult] { + return pulumix.Output[LookupOsPolicyAssignmentResult]{ + OutputState: o.OutputState, + } +} + // Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field. func (o LookupOsPolicyAssignmentResultOutput) Baseline() pulumi.BoolOutput { return o.ApplyT(func(v LookupOsPolicyAssignmentResult) bool { return v.Baseline }).(pulumi.BoolOutput) diff --git a/sdk/go/google/osconfig/v1alpha/osPolicyAssignment.go b/sdk/go/google/osconfig/v1alpha/osPolicyAssignment.go index b450f371ac..07ec3e8bb2 100644 --- a/sdk/go/google/osconfig/v1alpha/osPolicyAssignment.go +++ b/sdk/go/google/osconfig/v1alpha/osPolicyAssignment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an OS policy assignment. This method also creates the first revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. For more information, see [Method: projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1alpha/projects.locations.osPolicyAssignments.operations/cancel). @@ -167,6 +168,12 @@ func (i *OsPolicyAssignment) ToOsPolicyAssignmentOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OsPolicyAssignmentOutput) } +func (i *OsPolicyAssignment) ToOutput(ctx context.Context) pulumix.Output[*OsPolicyAssignment] { + return pulumix.Output[*OsPolicyAssignment]{ + OutputState: i.ToOsPolicyAssignmentOutputWithContext(ctx).OutputState, + } +} + type OsPolicyAssignmentOutput struct{ *pulumi.OutputState } func (OsPolicyAssignmentOutput) ElementType() reflect.Type { @@ -181,6 +188,12 @@ func (o OsPolicyAssignmentOutput) ToOsPolicyAssignmentOutputWithContext(ctx cont return o } +func (o OsPolicyAssignmentOutput) ToOutput(ctx context.Context) pulumix.Output[*OsPolicyAssignment] { + return pulumix.Output[*OsPolicyAssignment]{ + OutputState: o.OutputState, + } +} + // Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of `true` for this field. func (o OsPolicyAssignmentOutput) Baseline() pulumi.BoolOutput { return o.ApplyT(func(v *OsPolicyAssignment) pulumi.BoolOutput { return v.Baseline }).(pulumi.BoolOutput) diff --git a/sdk/go/google/osconfig/v1alpha/pulumiEnums.go b/sdk/go/google/osconfig/v1alpha/pulumiEnums.go index 4426e03ba9..b37e01bc1d 100644 --- a/sdk/go/google/osconfig/v1alpha/pulumiEnums.go +++ b/sdk/go/google/osconfig/v1alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. Policy mode @@ -82,6 +83,12 @@ func (o OSPolicyModeOutput) ToOSPolicyModePtrOutputWithContext(ctx context.Conte }).(OSPolicyModePtrOutput) } +func (o OSPolicyModeOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyMode] { + return pulumix.Output[OSPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o OSPolicyModePtrOutput) ToOSPolicyModePtrOutputWithContext(ctx context.Co return o } +func (o OSPolicyModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyMode] { + return pulumix.Output[*OSPolicyMode]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyModePtrOutput) Elem() OSPolicyModeOutput { return o.ApplyT(func(v *OSPolicyMode) OSPolicyMode { if v != nil { @@ -179,6 +192,12 @@ func (in *ospolicyModePtr) ToOSPolicyModePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(OSPolicyModePtrOutput) } +func (in *ospolicyModePtr) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyMode] { + return pulumix.Output[*OSPolicyMode]{ + OutputState: in.ToOSPolicyModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The script interpreter to use. type OSPolicyResourceExecResourceExecInterpreter string @@ -253,6 +272,12 @@ func (o OSPolicyResourceExecResourceExecInterpreterOutput) ToOSPolicyResourceExe }).(OSPolicyResourceExecResourceExecInterpreterPtrOutput) } +func (o OSPolicyResourceExecResourceExecInterpreterOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResourceExecInterpreter] { + return pulumix.Output[OSPolicyResourceExecResourceExecInterpreter]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceExecResourceExecInterpreterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o OSPolicyResourceExecResourceExecInterpreterPtrOutput) ToOSPolicyResource return o } +func (o OSPolicyResourceExecResourceExecInterpreterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResourceExecInterpreter] { + return pulumix.Output[*OSPolicyResourceExecResourceExecInterpreter]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceExecResourceExecInterpreterPtrOutput) Elem() OSPolicyResourceExecResourceExecInterpreterOutput { return o.ApplyT(func(v *OSPolicyResourceExecResourceExecInterpreter) OSPolicyResourceExecResourceExecInterpreter { if v != nil { @@ -350,6 +381,12 @@ func (in *ospolicyResourceExecResourceExecInterpreterPtr) ToOSPolicyResourceExec return pulumi.ToOutputWithContext(ctx, in).(OSPolicyResourceExecResourceExecInterpreterPtrOutput) } +func (in *ospolicyResourceExecResourceExecInterpreterPtr) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResourceExecInterpreter] { + return pulumix.Output[*OSPolicyResourceExecResourceExecInterpreter]{ + OutputState: in.ToOSPolicyResourceExecResourceExecInterpreterPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Desired state of the file. type OSPolicyResourceFileResourceState string @@ -424,6 +461,12 @@ func (o OSPolicyResourceFileResourceStateOutput) ToOSPolicyResourceFileResourceS }).(OSPolicyResourceFileResourceStatePtrOutput) } +func (o OSPolicyResourceFileResourceStateOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileResourceState] { + return pulumix.Output[OSPolicyResourceFileResourceState]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFileResourceStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -459,6 +502,12 @@ func (o OSPolicyResourceFileResourceStatePtrOutput) ToOSPolicyResourceFileResour return o } +func (o OSPolicyResourceFileResourceStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileResourceState] { + return pulumix.Output[*OSPolicyResourceFileResourceState]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFileResourceStatePtrOutput) Elem() OSPolicyResourceFileResourceStateOutput { return o.ApplyT(func(v *OSPolicyResourceFileResourceState) OSPolicyResourceFileResourceState { if v != nil { @@ -521,6 +570,12 @@ func (in *ospolicyResourceFileResourceStatePtr) ToOSPolicyResourceFileResourceSt return pulumi.ToOutputWithContext(ctx, in).(OSPolicyResourceFileResourceStatePtrOutput) } +func (in *ospolicyResourceFileResourceStatePtr) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileResourceState] { + return pulumix.Output[*OSPolicyResourceFileResourceState]{ + OutputState: in.ToOSPolicyResourceFileResourceStatePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The desired state the agent should maintain for this package. type OSPolicyResourcePackageResourceDesiredState string @@ -593,6 +648,12 @@ func (o OSPolicyResourcePackageResourceDesiredStateOutput) ToOSPolicyResourcePac }).(OSPolicyResourcePackageResourceDesiredStatePtrOutput) } +func (o OSPolicyResourcePackageResourceDesiredStateOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceDesiredState] { + return pulumix.Output[OSPolicyResourcePackageResourceDesiredState]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceDesiredStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -628,6 +689,12 @@ func (o OSPolicyResourcePackageResourceDesiredStatePtrOutput) ToOSPolicyResource return o } +func (o OSPolicyResourcePackageResourceDesiredStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceDesiredState] { + return pulumix.Output[*OSPolicyResourcePackageResourceDesiredState]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceDesiredStatePtrOutput) Elem() OSPolicyResourcePackageResourceDesiredStateOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceDesiredState) OSPolicyResourcePackageResourceDesiredState { if v != nil { @@ -690,6 +757,12 @@ func (in *ospolicyResourcePackageResourceDesiredStatePtr) ToOSPolicyResourcePack return pulumi.ToOutputWithContext(ctx, in).(OSPolicyResourcePackageResourceDesiredStatePtrOutput) } +func (in *ospolicyResourcePackageResourceDesiredStatePtr) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceDesiredState] { + return pulumix.Output[*OSPolicyResourcePackageResourceDesiredState]{ + OutputState: in.ToOSPolicyResourcePackageResourceDesiredStatePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Type of archive files in this repository. type OSPolicyResourceRepositoryResourceAptRepositoryArchiveType string @@ -762,6 +835,12 @@ func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToOSPo }).(OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) } +func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceAptRepositoryArchiveType] { + return pulumix.Output[OSPolicyResourceRepositoryResourceAptRepositoryArchiveType]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -797,6 +876,12 @@ func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) ToO return o } +func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepositoryArchiveType] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepositoryArchiveType]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) Elem() OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResourceAptRepositoryArchiveType) OSPolicyResourceRepositoryResourceAptRepositoryArchiveType { if v != nil { @@ -859,6 +944,12 @@ func (in *ospolicyResourceRepositoryResourceAptRepositoryArchiveTypePtr) ToOSPol return pulumi.ToOutputWithContext(ctx, in).(OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutput) } +func (in *ospolicyResourceRepositoryResourceAptRepositoryArchiveTypePtr) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepositoryArchiveType] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepositoryArchiveType]{ + OutputState: in.ToOSPolicyResourceRepositoryResourceAptRepositoryArchiveTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*OSPolicyModeInput)(nil)).Elem(), OSPolicyMode("MODE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*OSPolicyModePtrInput)(nil)).Elem(), OSPolicyMode("MODE_UNSPECIFIED")) diff --git a/sdk/go/google/osconfig/v1alpha/pulumiTypes.go b/sdk/go/google/osconfig/v1alpha/pulumiTypes.go index 080fece3d6..8ccce0b1ee 100644 --- a/sdk/go/google/osconfig/v1alpha/pulumiTypes.go +++ b/sdk/go/google/osconfig/v1alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i FixedOrPercentArgs) ToFixedOrPercentOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentOutput) } +func (i FixedOrPercentArgs) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: i.ToFixedOrPercentOutputWithContext(ctx).OutputState, + } +} + // Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value. type FixedOrPercentOutput struct{ *pulumi.OutputState } @@ -67,6 +74,12 @@ func (o FixedOrPercentOutput) ToFixedOrPercentOutputWithContext(ctx context.Cont return o } +func (o FixedOrPercentOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: o.OutputState, + } +} + // Specifies a fixed value. func (o FixedOrPercentOutput) Fixed() pulumi.IntPtrOutput { return o.ApplyT(func(v FixedOrPercent) *int { return v.Fixed }).(pulumi.IntPtrOutput) @@ -100,6 +113,12 @@ func (o FixedOrPercentResponseOutput) ToFixedOrPercentResponseOutputWithContext( return o } +func (o FixedOrPercentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercentResponse] { + return pulumix.Output[FixedOrPercentResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a fixed value. func (o FixedOrPercentResponseOutput) Fixed() pulumi.IntOutput { return o.ApplyT(func(v FixedOrPercentResponse) int { return v.Fixed }).(pulumi.IntOutput) @@ -161,6 +180,12 @@ func (i OSPolicyArgs) ToOSPolicyOutputWithContext(ctx context.Context) OSPolicyO return pulumi.ToOutputWithContext(ctx, i).(OSPolicyOutput) } +func (i OSPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicy] { + return pulumix.Output[OSPolicy]{ + OutputState: i.ToOSPolicyOutputWithContext(ctx).OutputState, + } +} + // OSPolicyArrayInput is an input type that accepts OSPolicyArray and OSPolicyArrayOutput values. // You can construct a concrete instance of `OSPolicyArrayInput` via: // @@ -186,6 +211,12 @@ func (i OSPolicyArray) ToOSPolicyArrayOutputWithContext(ctx context.Context) OSP return pulumi.ToOutputWithContext(ctx, i).(OSPolicyArrayOutput) } +func (i OSPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicy] { + return pulumix.Output[[]OSPolicy]{ + OutputState: i.ToOSPolicyArrayOutputWithContext(ctx).OutputState, + } +} + // An OS policy defines the desired state configuration for a VM. type OSPolicyOutput struct{ *pulumi.OutputState } @@ -201,6 +232,12 @@ func (o OSPolicyOutput) ToOSPolicyOutputWithContext(ctx context.Context) OSPolic return o } +func (o OSPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicy] { + return pulumix.Output[OSPolicy]{ + OutputState: o.OutputState, + } +} + // This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. func (o OSPolicyOutput) AllowNoResourceGroupMatch() pulumi.BoolPtrOutput { return o.ApplyT(func(v OSPolicy) *bool { return v.AllowNoResourceGroupMatch }).(pulumi.BoolPtrOutput) @@ -240,6 +277,12 @@ func (o OSPolicyArrayOutput) ToOSPolicyArrayOutputWithContext(ctx context.Contex return o } +func (o OSPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicy] { + return pulumix.Output[[]OSPolicy]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyArrayOutput) Index(i pulumi.IntInput) OSPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicy { return vs[0].([]OSPolicy)[vs[1].(int)] @@ -301,6 +344,12 @@ func (i OSPolicyAssignmentInstanceFilterArgs) ToOSPolicyAssignmentInstanceFilter return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentInstanceFilterOutput) } +func (i OSPolicyAssignmentInstanceFilterArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilter] { + return pulumix.Output[OSPolicyAssignmentInstanceFilter]{ + OutputState: i.ToOSPolicyAssignmentInstanceFilterOutputWithContext(ctx).OutputState, + } +} + // Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them. type OSPolicyAssignmentInstanceFilterOutput struct{ *pulumi.OutputState } @@ -316,6 +365,12 @@ func (o OSPolicyAssignmentInstanceFilterOutput) ToOSPolicyAssignmentInstanceFilt return o } +func (o OSPolicyAssignmentInstanceFilterOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilter] { + return pulumix.Output[OSPolicyAssignmentInstanceFilter]{ + OutputState: o.OutputState, + } +} + // Target all VMs in the project. If true, no other criteria is permitted. func (o OSPolicyAssignmentInstanceFilterOutput) All() pulumi.BoolPtrOutput { return o.ApplyT(func(v OSPolicyAssignmentInstanceFilter) *bool { return v.All }).(pulumi.BoolPtrOutput) @@ -384,6 +439,12 @@ func (i OSPolicyAssignmentInstanceFilterInventoryArgs) ToOSPolicyAssignmentInsta return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentInstanceFilterInventoryOutput) } +func (i OSPolicyAssignmentInstanceFilterInventoryArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilterInventory] { + return pulumix.Output[OSPolicyAssignmentInstanceFilterInventory]{ + OutputState: i.ToOSPolicyAssignmentInstanceFilterInventoryOutputWithContext(ctx).OutputState, + } +} + // OSPolicyAssignmentInstanceFilterInventoryArrayInput is an input type that accepts OSPolicyAssignmentInstanceFilterInventoryArray and OSPolicyAssignmentInstanceFilterInventoryArrayOutput values. // You can construct a concrete instance of `OSPolicyAssignmentInstanceFilterInventoryArrayInput` via: // @@ -409,6 +470,12 @@ func (i OSPolicyAssignmentInstanceFilterInventoryArray) ToOSPolicyAssignmentInst return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentInstanceFilterInventoryArrayOutput) } +func (i OSPolicyAssignmentInstanceFilterInventoryArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventory] { + return pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventory]{ + OutputState: i.ToOSPolicyAssignmentInstanceFilterInventoryArrayOutputWithContext(ctx).OutputState, + } +} + // VM inventory details. type OSPolicyAssignmentInstanceFilterInventoryOutput struct{ *pulumi.OutputState } @@ -424,6 +491,12 @@ func (o OSPolicyAssignmentInstanceFilterInventoryOutput) ToOSPolicyAssignmentIns return o } +func (o OSPolicyAssignmentInstanceFilterInventoryOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilterInventory] { + return pulumix.Output[OSPolicyAssignmentInstanceFilterInventory]{ + OutputState: o.OutputState, + } +} + // The OS short name func (o OSPolicyAssignmentInstanceFilterInventoryOutput) OsShortName() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyAssignmentInstanceFilterInventory) string { return v.OsShortName }).(pulumi.StringOutput) @@ -448,6 +521,12 @@ func (o OSPolicyAssignmentInstanceFilterInventoryArrayOutput) ToOSPolicyAssignme return o } +func (o OSPolicyAssignmentInstanceFilterInventoryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventory] { + return pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventory]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyAssignmentInstanceFilterInventoryArrayOutput) Index(i pulumi.IntInput) OSPolicyAssignmentInstanceFilterInventoryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyAssignmentInstanceFilterInventory { return vs[0].([]OSPolicyAssignmentInstanceFilterInventory)[vs[1].(int)] @@ -477,6 +556,12 @@ func (o OSPolicyAssignmentInstanceFilterInventoryResponseOutput) ToOSPolicyAssig return o } +func (o OSPolicyAssignmentInstanceFilterInventoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilterInventoryResponse] { + return pulumix.Output[OSPolicyAssignmentInstanceFilterInventoryResponse]{ + OutputState: o.OutputState, + } +} + // The OS short name func (o OSPolicyAssignmentInstanceFilterInventoryResponseOutput) OsShortName() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyAssignmentInstanceFilterInventoryResponse) string { return v.OsShortName }).(pulumi.StringOutput) @@ -501,6 +586,12 @@ func (o OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) ToOSPolicy return o } +func (o OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventoryResponse] { + return pulumix.Output[[]OSPolicyAssignmentInstanceFilterInventoryResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyAssignmentInstanceFilterInventoryResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyAssignmentInstanceFilterInventoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyAssignmentInstanceFilterInventoryResponse { return vs[0].([]OSPolicyAssignmentInstanceFilterInventoryResponse)[vs[1].(int)] @@ -538,6 +629,12 @@ func (o OSPolicyAssignmentInstanceFilterResponseOutput) ToOSPolicyAssignmentInst return o } +func (o OSPolicyAssignmentInstanceFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentInstanceFilterResponse] { + return pulumix.Output[OSPolicyAssignmentInstanceFilterResponse]{ + OutputState: o.OutputState, + } +} + // Target all VMs in the project. If true, no other criteria is permitted. func (o OSPolicyAssignmentInstanceFilterResponseOutput) All() pulumi.BoolOutput { return o.ApplyT(func(v OSPolicyAssignmentInstanceFilterResponse) bool { return v.All }).(pulumi.BoolOutput) @@ -606,6 +703,12 @@ func (i OSPolicyAssignmentLabelSetArgs) ToOSPolicyAssignmentLabelSetOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentLabelSetOutput) } +func (i OSPolicyAssignmentLabelSetArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentLabelSet] { + return pulumix.Output[OSPolicyAssignmentLabelSet]{ + OutputState: i.ToOSPolicyAssignmentLabelSetOutputWithContext(ctx).OutputState, + } +} + // OSPolicyAssignmentLabelSetArrayInput is an input type that accepts OSPolicyAssignmentLabelSetArray and OSPolicyAssignmentLabelSetArrayOutput values. // You can construct a concrete instance of `OSPolicyAssignmentLabelSetArrayInput` via: // @@ -631,6 +734,12 @@ func (i OSPolicyAssignmentLabelSetArray) ToOSPolicyAssignmentLabelSetArrayOutput return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentLabelSetArrayOutput) } +func (i OSPolicyAssignmentLabelSetArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentLabelSet] { + return pulumix.Output[[]OSPolicyAssignmentLabelSet]{ + OutputState: i.ToOSPolicyAssignmentLabelSetArrayOutputWithContext(ctx).OutputState, + } +} + // Message representing label set. * A label is a key value pair set for a VM. * A LabelSet is a set of labels. * Labels within a LabelSet are ANDed. In other words, a LabelSet is applicable for a VM only if it matches all the labels in the LabelSet. * Example: A LabelSet with 2 labels: `env=prod` and `type=webserver` will only be applicable for those VMs with both labels present. type OSPolicyAssignmentLabelSetOutput struct{ *pulumi.OutputState } @@ -646,6 +755,12 @@ func (o OSPolicyAssignmentLabelSetOutput) ToOSPolicyAssignmentLabelSetOutputWith return o } +func (o OSPolicyAssignmentLabelSetOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentLabelSet] { + return pulumix.Output[OSPolicyAssignmentLabelSet]{ + OutputState: o.OutputState, + } +} + // Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected. func (o OSPolicyAssignmentLabelSetOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v OSPolicyAssignmentLabelSet) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -665,6 +780,12 @@ func (o OSPolicyAssignmentLabelSetArrayOutput) ToOSPolicyAssignmentLabelSetArray return o } +func (o OSPolicyAssignmentLabelSetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentLabelSet] { + return pulumix.Output[[]OSPolicyAssignmentLabelSet]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyAssignmentLabelSetArrayOutput) Index(i pulumi.IntInput) OSPolicyAssignmentLabelSetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyAssignmentLabelSet { return vs[0].([]OSPolicyAssignmentLabelSet)[vs[1].(int)] @@ -692,6 +813,12 @@ func (o OSPolicyAssignmentLabelSetResponseOutput) ToOSPolicyAssignmentLabelSetRe return o } +func (o OSPolicyAssignmentLabelSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentLabelSetResponse] { + return pulumix.Output[OSPolicyAssignmentLabelSetResponse]{ + OutputState: o.OutputState, + } +} + // Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected. func (o OSPolicyAssignmentLabelSetResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v OSPolicyAssignmentLabelSetResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -711,6 +838,12 @@ func (o OSPolicyAssignmentLabelSetResponseArrayOutput) ToOSPolicyAssignmentLabel return o } +func (o OSPolicyAssignmentLabelSetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyAssignmentLabelSetResponse] { + return pulumix.Output[[]OSPolicyAssignmentLabelSetResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyAssignmentLabelSetResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyAssignmentLabelSetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyAssignmentLabelSetResponse { return vs[0].([]OSPolicyAssignmentLabelSetResponse)[vs[1].(int)] @@ -756,6 +889,12 @@ func (i OSPolicyAssignmentRolloutArgs) ToOSPolicyAssignmentRolloutOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(OSPolicyAssignmentRolloutOutput) } +func (i OSPolicyAssignmentRolloutArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentRollout] { + return pulumix.Output[OSPolicyAssignmentRollout]{ + OutputState: i.ToOSPolicyAssignmentRolloutOutputWithContext(ctx).OutputState, + } +} + // Message to configure the rollout at the zonal level for the OS policy assignment. type OSPolicyAssignmentRolloutOutput struct{ *pulumi.OutputState } @@ -771,6 +910,12 @@ func (o OSPolicyAssignmentRolloutOutput) ToOSPolicyAssignmentRolloutOutputWithCo return o } +func (o OSPolicyAssignmentRolloutOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentRollout] { + return pulumix.Output[OSPolicyAssignmentRollout]{ + OutputState: o.OutputState, + } +} + // The maximum number (or percentage) of VMs per zone to disrupt at any given moment. func (o OSPolicyAssignmentRolloutOutput) DisruptionBudget() FixedOrPercentOutput { return o.ApplyT(func(v OSPolicyAssignmentRollout) FixedOrPercent { return v.DisruptionBudget }).(FixedOrPercentOutput) @@ -804,6 +949,12 @@ func (o OSPolicyAssignmentRolloutResponseOutput) ToOSPolicyAssignmentRolloutResp return o } +func (o OSPolicyAssignmentRolloutResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyAssignmentRolloutResponse] { + return pulumix.Output[OSPolicyAssignmentRolloutResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number (or percentage) of VMs per zone to disrupt at any given moment. func (o OSPolicyAssignmentRolloutResponseOutput) DisruptionBudget() FixedOrPercentResponseOutput { return o.ApplyT(func(v OSPolicyAssignmentRolloutResponse) FixedOrPercentResponse { return v.DisruptionBudget }).(FixedOrPercentResponseOutput) @@ -853,6 +1004,12 @@ func (i OSPolicyInventoryFilterArgs) ToOSPolicyInventoryFilterOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(OSPolicyInventoryFilterOutput) } +func (i OSPolicyInventoryFilterArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyInventoryFilter] { + return pulumix.Output[OSPolicyInventoryFilter]{ + OutputState: i.ToOSPolicyInventoryFilterOutputWithContext(ctx).OutputState, + } +} + // OSPolicyInventoryFilterArrayInput is an input type that accepts OSPolicyInventoryFilterArray and OSPolicyInventoryFilterArrayOutput values. // You can construct a concrete instance of `OSPolicyInventoryFilterArrayInput` via: // @@ -878,6 +1035,12 @@ func (i OSPolicyInventoryFilterArray) ToOSPolicyInventoryFilterArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(OSPolicyInventoryFilterArrayOutput) } +func (i OSPolicyInventoryFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyInventoryFilter] { + return pulumix.Output[[]OSPolicyInventoryFilter]{ + OutputState: i.ToOSPolicyInventoryFilterArrayOutputWithContext(ctx).OutputState, + } +} + // Filtering criteria to select VMs based on inventory details. type OSPolicyInventoryFilterOutput struct{ *pulumi.OutputState } @@ -893,6 +1056,12 @@ func (o OSPolicyInventoryFilterOutput) ToOSPolicyInventoryFilterOutputWithContex return o } +func (o OSPolicyInventoryFilterOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyInventoryFilter] { + return pulumix.Output[OSPolicyInventoryFilter]{ + OutputState: o.OutputState, + } +} + // The OS short name func (o OSPolicyInventoryFilterOutput) OsShortName() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyInventoryFilter) string { return v.OsShortName }).(pulumi.StringOutput) @@ -917,6 +1086,12 @@ func (o OSPolicyInventoryFilterArrayOutput) ToOSPolicyInventoryFilterArrayOutput return o } +func (o OSPolicyInventoryFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyInventoryFilter] { + return pulumix.Output[[]OSPolicyInventoryFilter]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyInventoryFilterArrayOutput) Index(i pulumi.IntInput) OSPolicyInventoryFilterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyInventoryFilter { return vs[0].([]OSPolicyInventoryFilter)[vs[1].(int)] @@ -946,6 +1121,12 @@ func (o OSPolicyInventoryFilterResponseOutput) ToOSPolicyInventoryFilterResponse return o } +func (o OSPolicyInventoryFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyInventoryFilterResponse] { + return pulumix.Output[OSPolicyInventoryFilterResponse]{ + OutputState: o.OutputState, + } +} + // The OS short name func (o OSPolicyInventoryFilterResponseOutput) OsShortName() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyInventoryFilterResponse) string { return v.OsShortName }).(pulumi.StringOutput) @@ -970,6 +1151,12 @@ func (o OSPolicyInventoryFilterResponseArrayOutput) ToOSPolicyInventoryFilterRes return o } +func (o OSPolicyInventoryFilterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyInventoryFilterResponse] { + return pulumix.Output[[]OSPolicyInventoryFilterResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyInventoryFilterResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyInventoryFilterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyInventoryFilterResponse { return vs[0].([]OSPolicyInventoryFilterResponse)[vs[1].(int)] @@ -1015,6 +1202,12 @@ func (i OSPolicyOSFilterArgs) ToOSPolicyOSFilterOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(OSPolicyOSFilterOutput) } +func (i OSPolicyOSFilterArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyOSFilter] { + return pulumix.Output[OSPolicyOSFilter]{ + OutputState: i.ToOSPolicyOSFilterOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyOSFilterArgs) ToOSPolicyOSFilterPtrOutput() OSPolicyOSFilterPtrOutput { return i.ToOSPolicyOSFilterPtrOutputWithContext(context.Background()) } @@ -1056,6 +1249,12 @@ func (i *ospolicyOSFilterPtrType) ToOSPolicyOSFilterPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(OSPolicyOSFilterPtrOutput) } +func (i *ospolicyOSFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyOSFilter] { + return pulumix.Output[*OSPolicyOSFilter]{ + OutputState: i.ToOSPolicyOSFilterPtrOutputWithContext(ctx).OutputState, + } +} + // Filtering criteria to select VMs based on OS details. type OSPolicyOSFilterOutput struct{ *pulumi.OutputState } @@ -1081,6 +1280,12 @@ func (o OSPolicyOSFilterOutput) ToOSPolicyOSFilterPtrOutputWithContext(ctx conte }).(OSPolicyOSFilterPtrOutput) } +func (o OSPolicyOSFilterOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyOSFilter] { + return pulumix.Output[OSPolicyOSFilter]{ + OutputState: o.OutputState, + } +} + // This should match OS short name emitted by the OS inventory agent. An empty value matches any OS. func (o OSPolicyOSFilterOutput) OsShortName() pulumi.StringPtrOutput { return o.ApplyT(func(v OSPolicyOSFilter) *string { return v.OsShortName }).(pulumi.StringPtrOutput) @@ -1105,6 +1310,12 @@ func (o OSPolicyOSFilterPtrOutput) ToOSPolicyOSFilterPtrOutputWithContext(ctx co return o } +func (o OSPolicyOSFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyOSFilter] { + return pulumix.Output[*OSPolicyOSFilter]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyOSFilterPtrOutput) Elem() OSPolicyOSFilterOutput { return o.ApplyT(func(v *OSPolicyOSFilter) OSPolicyOSFilter { if v != nil { @@ -1158,6 +1369,12 @@ func (o OSPolicyOSFilterResponseOutput) ToOSPolicyOSFilterResponseOutputWithCont return o } +func (o OSPolicyOSFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyOSFilterResponse] { + return pulumix.Output[OSPolicyOSFilterResponse]{ + OutputState: o.OutputState, + } +} + // This should match OS short name emitted by the OS inventory agent. An empty value matches any OS. func (o OSPolicyOSFilterResponseOutput) OsShortName() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyOSFilterResponse) string { return v.OsShortName }).(pulumi.StringOutput) @@ -1219,6 +1436,12 @@ func (i OSPolicyResourceArgs) ToOSPolicyResourceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceOutput) } +func (i OSPolicyResourceArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResource] { + return pulumix.Output[OSPolicyResource]{ + OutputState: i.ToOSPolicyResourceOutputWithContext(ctx).OutputState, + } +} + // OSPolicyResourceArrayInput is an input type that accepts OSPolicyResourceArray and OSPolicyResourceArrayOutput values. // You can construct a concrete instance of `OSPolicyResourceArrayInput` via: // @@ -1244,6 +1467,12 @@ func (i OSPolicyResourceArray) ToOSPolicyResourceArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceArrayOutput) } +func (i OSPolicyResourceArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResource] { + return pulumix.Output[[]OSPolicyResource]{ + OutputState: i.ToOSPolicyResourceArrayOutputWithContext(ctx).OutputState, + } +} + // An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state. type OSPolicyResourceOutput struct{ *pulumi.OutputState } @@ -1259,6 +1488,12 @@ func (o OSPolicyResourceOutput) ToOSPolicyResourceOutputWithContext(ctx context. return o } +func (o OSPolicyResourceOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResource] { + return pulumix.Output[OSPolicyResource]{ + OutputState: o.OutputState, + } +} + // Exec resource func (o OSPolicyResourceOutput) Exec() OSPolicyResourceExecResourcePtrOutput { return o.ApplyT(func(v OSPolicyResource) *OSPolicyResourceExecResource { return v.Exec }).(OSPolicyResourceExecResourcePtrOutput) @@ -1298,6 +1533,12 @@ func (o OSPolicyResourceArrayOutput) ToOSPolicyResourceArrayOutputWithContext(ct return o } +func (o OSPolicyResourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResource] { + return pulumix.Output[[]OSPolicyResource]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceArrayOutput) Index(i pulumi.IntInput) OSPolicyResourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyResource { return vs[0].([]OSPolicyResource)[vs[1].(int)] @@ -1343,6 +1584,12 @@ func (i OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourceOutputWi return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceExecResourceOutput) } +func (i OSPolicyResourceExecResourceArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResource] { + return pulumix.Output[OSPolicyResourceExecResource]{ + OutputState: i.ToOSPolicyResourceExecResourceOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceExecResourceArgs) ToOSPolicyResourceExecResourcePtrOutput() OSPolicyResourceExecResourcePtrOutput { return i.ToOSPolicyResourceExecResourcePtrOutputWithContext(context.Background()) } @@ -1384,6 +1631,12 @@ func (i *ospolicyResourceExecResourcePtrType) ToOSPolicyResourceExecResourcePtrO return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceExecResourcePtrOutput) } +func (i *ospolicyResourceExecResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResource] { + return pulumix.Output[*OSPolicyResourceExecResource]{ + OutputState: i.ToOSPolicyResourceExecResourcePtrOutputWithContext(ctx).OutputState, + } +} + // A resource that allows executing scripts on the VM. The `ExecResource` has 2 stages: `validate` and `enforce` and both stages accept a script as an argument to execute. When the `ExecResource` is applied by the agent, it first executes the script in the `validate` stage. The `validate` stage can signal that the `ExecResource` is already in the desired state by returning an exit code of `100`. If the `ExecResource` is not in the desired state, it should return an exit code of `101`. Any other exit code returned by this stage is considered an error. If the `ExecResource` is not in the desired state based on the exit code from the `validate` stage, the agent proceeds to execute the script from the `enforce` stage. If the `ExecResource` is already in the desired state, the `enforce` stage will not be run. Similar to `validate` stage, the `enforce` stage should return an exit code of `100` to indicate that the resource in now in its desired state. Any other exit code is considered an error. NOTE: An exit code of `100` was chosen over `0` (and `101` vs `1`) to have an explicit indicator of `in desired state`, `not in desired state` and errors. Because, for example, Powershell will always return an exit code of `0` unless an `exit` statement is provided in the script. So, for reasons of consistency and being explicit, exit codes `100` and `101` were chosen. type OSPolicyResourceExecResourceOutput struct{ *pulumi.OutputState } @@ -1409,6 +1662,12 @@ func (o OSPolicyResourceExecResourceOutput) ToOSPolicyResourceExecResourcePtrOut }).(OSPolicyResourceExecResourcePtrOutput) } +func (o OSPolicyResourceExecResourceOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResource] { + return pulumix.Output[OSPolicyResourceExecResource]{ + OutputState: o.OutputState, + } +} + // What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce. func (o OSPolicyResourceExecResourceOutput) Enforce() OSPolicyResourceExecResourceExecPtrOutput { return o.ApplyT(func(v OSPolicyResourceExecResource) *OSPolicyResourceExecResourceExec { return v.Enforce }).(OSPolicyResourceExecResourceExecPtrOutput) @@ -1433,6 +1692,12 @@ func (o OSPolicyResourceExecResourcePtrOutput) ToOSPolicyResourceExecResourcePtr return o } +func (o OSPolicyResourceExecResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResource] { + return pulumix.Output[*OSPolicyResourceExecResource]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceExecResourcePtrOutput) Elem() OSPolicyResourceExecResourceOutput { return o.ApplyT(func(v *OSPolicyResourceExecResource) OSPolicyResourceExecResource { if v != nil { @@ -1514,6 +1779,12 @@ func (i OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExec return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceExecResourceExecOutput) } +func (i OSPolicyResourceExecResourceExecArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResourceExec] { + return pulumix.Output[OSPolicyResourceExecResourceExec]{ + OutputState: i.ToOSPolicyResourceExecResourceExecOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceExecResourceExecArgs) ToOSPolicyResourceExecResourceExecPtrOutput() OSPolicyResourceExecResourceExecPtrOutput { return i.ToOSPolicyResourceExecResourceExecPtrOutputWithContext(context.Background()) } @@ -1555,6 +1826,12 @@ func (i *ospolicyResourceExecResourceExecPtrType) ToOSPolicyResourceExecResource return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceExecResourceExecPtrOutput) } +func (i *ospolicyResourceExecResourceExecPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResourceExec] { + return pulumix.Output[*OSPolicyResourceExecResourceExec]{ + OutputState: i.ToOSPolicyResourceExecResourceExecPtrOutputWithContext(ctx).OutputState, + } +} + // A file or script to execute. type OSPolicyResourceExecResourceExecOutput struct{ *pulumi.OutputState } @@ -1580,6 +1857,12 @@ func (o OSPolicyResourceExecResourceExecOutput) ToOSPolicyResourceExecResourceEx }).(OSPolicyResourceExecResourceExecPtrOutput) } +func (o OSPolicyResourceExecResourceExecOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResourceExec] { + return pulumix.Output[OSPolicyResourceExecResourceExec]{ + OutputState: o.OutputState, + } +} + // Optional arguments to pass to the source during execution. func (o OSPolicyResourceExecResourceExecOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v OSPolicyResourceExecResourceExec) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -1621,6 +1904,12 @@ func (o OSPolicyResourceExecResourceExecPtrOutput) ToOSPolicyResourceExecResourc return o } +func (o OSPolicyResourceExecResourceExecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceExecResourceExec] { + return pulumix.Output[*OSPolicyResourceExecResourceExec]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceExecResourceExecPtrOutput) Elem() OSPolicyResourceExecResourceExecOutput { return o.ApplyT(func(v *OSPolicyResourceExecResourceExec) OSPolicyResourceExecResourceExec { if v != nil { @@ -1710,6 +1999,12 @@ func (o OSPolicyResourceExecResourceExecResponseOutput) ToOSPolicyResourceExecRe return o } +func (o OSPolicyResourceExecResourceExecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResourceExecResponse] { + return pulumix.Output[OSPolicyResourceExecResourceExecResponse]{ + OutputState: o.OutputState, + } +} + // Optional arguments to pass to the source during execution. func (o OSPolicyResourceExecResourceExecResponseOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v OSPolicyResourceExecResourceExecResponse) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -1758,6 +2053,12 @@ func (o OSPolicyResourceExecResourceResponseOutput) ToOSPolicyResourceExecResour return o } +func (o OSPolicyResourceExecResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceExecResourceResponse] { + return pulumix.Output[OSPolicyResourceExecResourceResponse]{ + OutputState: o.OutputState, + } +} + // What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce. func (o OSPolicyResourceExecResourceResponseOutput) Enforce() OSPolicyResourceExecResourceExecResponseOutput { return o.ApplyT(func(v OSPolicyResourceExecResourceResponse) OSPolicyResourceExecResourceExecResponse { @@ -1819,6 +2120,12 @@ func (i OSPolicyResourceFileArgs) ToOSPolicyResourceFileOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileOutput) } +func (i OSPolicyResourceFileArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFile] { + return pulumix.Output[OSPolicyResourceFile]{ + OutputState: i.ToOSPolicyResourceFileOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceFileArgs) ToOSPolicyResourceFilePtrOutput() OSPolicyResourceFilePtrOutput { return i.ToOSPolicyResourceFilePtrOutputWithContext(context.Background()) } @@ -1860,6 +2167,12 @@ func (i *ospolicyResourceFilePtrType) ToOSPolicyResourceFilePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFilePtrOutput) } +func (i *ospolicyResourceFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFile] { + return pulumix.Output[*OSPolicyResourceFile]{ + OutputState: i.ToOSPolicyResourceFilePtrOutputWithContext(ctx).OutputState, + } +} + // A remote or local file. type OSPolicyResourceFileOutput struct{ *pulumi.OutputState } @@ -1885,6 +2198,12 @@ func (o OSPolicyResourceFileOutput) ToOSPolicyResourceFilePtrOutputWithContext(c }).(OSPolicyResourceFilePtrOutput) } +func (o OSPolicyResourceFileOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFile] { + return pulumix.Output[OSPolicyResourceFile]{ + OutputState: o.OutputState, + } +} + // Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified. func (o OSPolicyResourceFileOutput) AllowInsecure() pulumi.BoolPtrOutput { return o.ApplyT(func(v OSPolicyResourceFile) *bool { return v.AllowInsecure }).(pulumi.BoolPtrOutput) @@ -1919,6 +2238,12 @@ func (o OSPolicyResourceFilePtrOutput) ToOSPolicyResourceFilePtrOutputWithContex return o } +func (o OSPolicyResourceFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFile] { + return pulumix.Output[*OSPolicyResourceFile]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFilePtrOutput) Elem() OSPolicyResourceFileOutput { return o.ApplyT(func(v *OSPolicyResourceFile) OSPolicyResourceFile { if v != nil { @@ -2012,6 +2337,12 @@ func (i OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileGcsOutput) } +func (i OSPolicyResourceFileGcsArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileGcs] { + return pulumix.Output[OSPolicyResourceFileGcs]{ + OutputState: i.ToOSPolicyResourceFileGcsOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceFileGcsArgs) ToOSPolicyResourceFileGcsPtrOutput() OSPolicyResourceFileGcsPtrOutput { return i.ToOSPolicyResourceFileGcsPtrOutputWithContext(context.Background()) } @@ -2053,6 +2384,12 @@ func (i *ospolicyResourceFileGcsPtrType) ToOSPolicyResourceFileGcsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileGcsPtrOutput) } +func (i *ospolicyResourceFileGcsPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileGcs] { + return pulumix.Output[*OSPolicyResourceFileGcs]{ + OutputState: i.ToOSPolicyResourceFileGcsPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a file available as a Cloud Storage Object. type OSPolicyResourceFileGcsOutput struct{ *pulumi.OutputState } @@ -2078,6 +2415,12 @@ func (o OSPolicyResourceFileGcsOutput) ToOSPolicyResourceFileGcsPtrOutputWithCon }).(OSPolicyResourceFileGcsPtrOutput) } +func (o OSPolicyResourceFileGcsOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileGcs] { + return pulumix.Output[OSPolicyResourceFileGcs]{ + OutputState: o.OutputState, + } +} + // Bucket of the Cloud Storage object. func (o OSPolicyResourceFileGcsOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceFileGcs) string { return v.Bucket }).(pulumi.StringOutput) @@ -2107,6 +2450,12 @@ func (o OSPolicyResourceFileGcsPtrOutput) ToOSPolicyResourceFileGcsPtrOutputWith return o } +func (o OSPolicyResourceFileGcsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileGcs] { + return pulumix.Output[*OSPolicyResourceFileGcs]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFileGcsPtrOutput) Elem() OSPolicyResourceFileGcsOutput { return o.ApplyT(func(v *OSPolicyResourceFileGcs) OSPolicyResourceFileGcs { if v != nil { @@ -2172,6 +2521,12 @@ func (o OSPolicyResourceFileGcsResponseOutput) ToOSPolicyResourceFileGcsResponse return o } +func (o OSPolicyResourceFileGcsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileGcsResponse] { + return pulumix.Output[OSPolicyResourceFileGcsResponse]{ + OutputState: o.OutputState, + } +} + // Bucket of the Cloud Storage object. func (o OSPolicyResourceFileGcsResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceFileGcsResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -2226,6 +2581,12 @@ func (i OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemoteOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileRemoteOutput) } +func (i OSPolicyResourceFileRemoteArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileRemote] { + return pulumix.Output[OSPolicyResourceFileRemote]{ + OutputState: i.ToOSPolicyResourceFileRemoteOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceFileRemoteArgs) ToOSPolicyResourceFileRemotePtrOutput() OSPolicyResourceFileRemotePtrOutput { return i.ToOSPolicyResourceFileRemotePtrOutputWithContext(context.Background()) } @@ -2267,6 +2628,12 @@ func (i *ospolicyResourceFileRemotePtrType) ToOSPolicyResourceFileRemotePtrOutpu return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileRemotePtrOutput) } +func (i *ospolicyResourceFileRemotePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileRemote] { + return pulumix.Output[*OSPolicyResourceFileRemote]{ + OutputState: i.ToOSPolicyResourceFileRemotePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a file available via some URI. type OSPolicyResourceFileRemoteOutput struct{ *pulumi.OutputState } @@ -2292,6 +2659,12 @@ func (o OSPolicyResourceFileRemoteOutput) ToOSPolicyResourceFileRemotePtrOutputW }).(OSPolicyResourceFileRemotePtrOutput) } +func (o OSPolicyResourceFileRemoteOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileRemote] { + return pulumix.Output[OSPolicyResourceFileRemote]{ + OutputState: o.OutputState, + } +} + // SHA256 checksum of the remote file. func (o OSPolicyResourceFileRemoteOutput) Sha256Checksum() pulumi.StringPtrOutput { return o.ApplyT(func(v OSPolicyResourceFileRemote) *string { return v.Sha256Checksum }).(pulumi.StringPtrOutput) @@ -2316,6 +2689,12 @@ func (o OSPolicyResourceFileRemotePtrOutput) ToOSPolicyResourceFileRemotePtrOutp return o } +func (o OSPolicyResourceFileRemotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileRemote] { + return pulumix.Output[*OSPolicyResourceFileRemote]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFileRemotePtrOutput) Elem() OSPolicyResourceFileRemoteOutput { return o.ApplyT(func(v *OSPolicyResourceFileRemote) OSPolicyResourceFileRemote { if v != nil { @@ -2369,6 +2748,12 @@ func (o OSPolicyResourceFileRemoteResponseOutput) ToOSPolicyResourceFileRemoteRe return o } +func (o OSPolicyResourceFileRemoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileRemoteResponse] { + return pulumix.Output[OSPolicyResourceFileRemoteResponse]{ + OutputState: o.OutputState, + } +} + // SHA256 checksum of the remote file. func (o OSPolicyResourceFileRemoteResponseOutput) Sha256Checksum() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceFileRemoteResponse) string { return v.Sha256Checksum }).(pulumi.StringOutput) @@ -2430,6 +2815,12 @@ func (i OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourceOutputWi return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileResourceOutput) } +func (i OSPolicyResourceFileResourceArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileResource] { + return pulumix.Output[OSPolicyResourceFileResource]{ + OutputState: i.ToOSPolicyResourceFileResourceOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceFileResourceArgs) ToOSPolicyResourceFileResourcePtrOutput() OSPolicyResourceFileResourcePtrOutput { return i.ToOSPolicyResourceFileResourcePtrOutputWithContext(context.Background()) } @@ -2471,6 +2862,12 @@ func (i *ospolicyResourceFileResourcePtrType) ToOSPolicyResourceFileResourcePtrO return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceFileResourcePtrOutput) } +func (i *ospolicyResourceFileResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileResource] { + return pulumix.Output[*OSPolicyResourceFileResource]{ + OutputState: i.ToOSPolicyResourceFileResourcePtrOutputWithContext(ctx).OutputState, + } +} + // A resource that manages the state of a file. type OSPolicyResourceFileResourceOutput struct{ *pulumi.OutputState } @@ -2496,6 +2893,12 @@ func (o OSPolicyResourceFileResourceOutput) ToOSPolicyResourceFileResourcePtrOut }).(OSPolicyResourceFileResourcePtrOutput) } +func (o OSPolicyResourceFileResourceOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileResource] { + return pulumix.Output[OSPolicyResourceFileResource]{ + OutputState: o.OutputState, + } +} + // A a file with this content. The size of the content is limited to 32KiB. func (o OSPolicyResourceFileResourceOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v OSPolicyResourceFileResource) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -2535,6 +2938,12 @@ func (o OSPolicyResourceFileResourcePtrOutput) ToOSPolicyResourceFileResourcePtr return o } +func (o OSPolicyResourceFileResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceFileResource] { + return pulumix.Output[*OSPolicyResourceFileResource]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceFileResourcePtrOutput) Elem() OSPolicyResourceFileResourceOutput { return o.ApplyT(func(v *OSPolicyResourceFileResource) OSPolicyResourceFileResource { if v != nil { @@ -2624,6 +3033,12 @@ func (o OSPolicyResourceFileResourceResponseOutput) ToOSPolicyResourceFileResour return o } +func (o OSPolicyResourceFileResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileResourceResponse] { + return pulumix.Output[OSPolicyResourceFileResourceResponse]{ + OutputState: o.OutputState, + } +} + // A a file with this content. The size of the content is limited to 32KiB. func (o OSPolicyResourceFileResourceResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceFileResourceResponse) string { return v.Content }).(pulumi.StringOutput) @@ -2676,6 +3091,12 @@ func (o OSPolicyResourceFileResponseOutput) ToOSPolicyResourceFileResponseOutput return o } +func (o OSPolicyResourceFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceFileResponse] { + return pulumix.Output[OSPolicyResourceFileResponse]{ + OutputState: o.OutputState, + } +} + // Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified. func (o OSPolicyResourceFileResponseOutput) AllowInsecure() pulumi.BoolOutput { return o.ApplyT(func(v OSPolicyResourceFileResponse) bool { return v.AllowInsecure }).(pulumi.BoolOutput) @@ -2743,6 +3164,12 @@ func (i OSPolicyResourceGroupArgs) ToOSPolicyResourceGroupOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceGroupOutput) } +func (i OSPolicyResourceGroupArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceGroup] { + return pulumix.Output[OSPolicyResourceGroup]{ + OutputState: i.ToOSPolicyResourceGroupOutputWithContext(ctx).OutputState, + } +} + // OSPolicyResourceGroupArrayInput is an input type that accepts OSPolicyResourceGroupArray and OSPolicyResourceGroupArrayOutput values. // You can construct a concrete instance of `OSPolicyResourceGroupArrayInput` via: // @@ -2768,6 +3195,12 @@ func (i OSPolicyResourceGroupArray) ToOSPolicyResourceGroupArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceGroupArrayOutput) } +func (i OSPolicyResourceGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResourceGroup] { + return pulumix.Output[[]OSPolicyResourceGroup]{ + OutputState: i.ToOSPolicyResourceGroupArrayOutputWithContext(ctx).OutputState, + } +} + // Resource groups provide a mechanism to group OS policy resources. Resource groups enable OS policy authors to create a single OS policy to be applied to VMs running different operating Systems. When the OS policy is applied to a target VM, the appropriate resource group within the OS policy is selected based on the `OSFilter` specified within the resource group. type OSPolicyResourceGroupOutput struct{ *pulumi.OutputState } @@ -2783,6 +3216,12 @@ func (o OSPolicyResourceGroupOutput) ToOSPolicyResourceGroupOutputWithContext(ct return o } +func (o OSPolicyResourceGroupOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceGroup] { + return pulumix.Output[OSPolicyResourceGroup]{ + OutputState: o.OutputState, + } +} + // List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. func (o OSPolicyResourceGroupOutput) InventoryFilters() OSPolicyInventoryFilterArrayOutput { return o.ApplyT(func(v OSPolicyResourceGroup) []OSPolicyInventoryFilter { return v.InventoryFilters }).(OSPolicyInventoryFilterArrayOutput) @@ -2814,6 +3253,12 @@ func (o OSPolicyResourceGroupArrayOutput) ToOSPolicyResourceGroupArrayOutputWith return o } +func (o OSPolicyResourceGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResourceGroup] { + return pulumix.Output[[]OSPolicyResourceGroup]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceGroupArrayOutput) Index(i pulumi.IntInput) OSPolicyResourceGroupOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyResourceGroup { return vs[0].([]OSPolicyResourceGroup)[vs[1].(int)] @@ -2847,6 +3292,12 @@ func (o OSPolicyResourceGroupResponseOutput) ToOSPolicyResourceGroupResponseOutp return o } +func (o OSPolicyResourceGroupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceGroupResponse] { + return pulumix.Output[OSPolicyResourceGroupResponse]{ + OutputState: o.OutputState, + } +} + // List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. func (o OSPolicyResourceGroupResponseOutput) InventoryFilters() OSPolicyInventoryFilterResponseArrayOutput { return o.ApplyT(func(v OSPolicyResourceGroupResponse) []OSPolicyInventoryFilterResponse { return v.InventoryFilters }).(OSPolicyInventoryFilterResponseArrayOutput) @@ -2878,6 +3329,12 @@ func (o OSPolicyResourceGroupResponseArrayOutput) ToOSPolicyResourceGroupRespons return o } +func (o OSPolicyResourceGroupResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResourceGroupResponse] { + return pulumix.Output[[]OSPolicyResourceGroupResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceGroupResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyResourceGroupResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyResourceGroupResponse { return vs[0].([]OSPolicyResourceGroupResponse)[vs[1].(int)] @@ -2947,6 +3404,12 @@ func (i OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourceOu return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceOutput) } +func (i OSPolicyResourcePackageResourceArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResource] { + return pulumix.Output[OSPolicyResourcePackageResource]{ + OutputState: i.ToOSPolicyResourcePackageResourceOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceArgs) ToOSPolicyResourcePackageResourcePtrOutput() OSPolicyResourcePackageResourcePtrOutput { return i.ToOSPolicyResourcePackageResourcePtrOutputWithContext(context.Background()) } @@ -2988,6 +3451,12 @@ func (i *ospolicyResourcePackageResourcePtrType) ToOSPolicyResourcePackageResour return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourcePtrOutput) } +func (i *ospolicyResourcePackageResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResource] { + return pulumix.Output[*OSPolicyResourcePackageResource]{ + OutputState: i.ToOSPolicyResourcePackageResourcePtrOutputWithContext(ctx).OutputState, + } +} + // A resource that manages a system package. type OSPolicyResourcePackageResourceOutput struct{ *pulumi.OutputState } @@ -3013,6 +3482,12 @@ func (o OSPolicyResourcePackageResourceOutput) ToOSPolicyResourcePackageResource }).(OSPolicyResourcePackageResourcePtrOutput) } +func (o OSPolicyResourcePackageResourceOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResource] { + return pulumix.Output[OSPolicyResourcePackageResource]{ + OutputState: o.OutputState, + } +} + // A package managed by Apt. func (o OSPolicyResourcePackageResourceOutput) Apt() OSPolicyResourcePackageResourceAPTPtrOutput { return o.ApplyT(func(v OSPolicyResourcePackageResource) *OSPolicyResourcePackageResourceAPT { return v.Apt }).(OSPolicyResourcePackageResourceAPTPtrOutput) @@ -3069,6 +3544,12 @@ func (o OSPolicyResourcePackageResourcePtrOutput) ToOSPolicyResourcePackageResou return o } +func (o OSPolicyResourcePackageResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResource] { + return pulumix.Output[*OSPolicyResourcePackageResource]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourcePtrOutput) Elem() OSPolicyResourcePackageResourceOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResource) OSPolicyResourcePackageResource { if v != nil { @@ -3194,6 +3675,12 @@ func (i OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourc return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceAPTOutput) } +func (i OSPolicyResourcePackageResourceAPTArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceAPT] { + return pulumix.Output[OSPolicyResourcePackageResourceAPT]{ + OutputState: i.ToOSPolicyResourcePackageResourceAPTOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceAPTArgs) ToOSPolicyResourcePackageResourceAPTPtrOutput() OSPolicyResourcePackageResourceAPTPtrOutput { return i.ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext(context.Background()) } @@ -3235,6 +3722,12 @@ func (i *ospolicyResourcePackageResourceAPTPtrType) ToOSPolicyResourcePackageRes return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceAPTPtrOutput) } +func (i *ospolicyResourcePackageResourceAPTPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceAPT] { + return pulumix.Output[*OSPolicyResourcePackageResourceAPT]{ + OutputState: i.ToOSPolicyResourcePackageResourceAPTPtrOutputWithContext(ctx).OutputState, + } +} + // A package managed by APT. - install: `apt-get update && apt-get -y install [name]` - remove: `apt-get -y remove [name]` type OSPolicyResourcePackageResourceAPTOutput struct{ *pulumi.OutputState } @@ -3260,6 +3753,12 @@ func (o OSPolicyResourcePackageResourceAPTOutput) ToOSPolicyResourcePackageResou }).(OSPolicyResourcePackageResourceAPTPtrOutput) } +func (o OSPolicyResourcePackageResourceAPTOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceAPT] { + return pulumix.Output[OSPolicyResourcePackageResourceAPT]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceAPTOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceAPT) string { return v.Name }).(pulumi.StringOutput) @@ -3279,6 +3778,12 @@ func (o OSPolicyResourcePackageResourceAPTPtrOutput) ToOSPolicyResourcePackageRe return o } +func (o OSPolicyResourcePackageResourceAPTPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceAPT] { + return pulumix.Output[*OSPolicyResourcePackageResourceAPT]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceAPTPtrOutput) Elem() OSPolicyResourcePackageResourceAPTOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceAPT) OSPolicyResourcePackageResourceAPT { if v != nil { @@ -3320,6 +3825,12 @@ func (o OSPolicyResourcePackageResourceAPTResponseOutput) ToOSPolicyResourcePack return o } +func (o OSPolicyResourcePackageResourceAPTResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceAPTResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceAPTResponse]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceAPTResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceAPTResponse) string { return v.Name }).(pulumi.StringOutput) @@ -3364,6 +3875,12 @@ func (i OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourc return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceDebOutput) } +func (i OSPolicyResourcePackageResourceDebArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceDeb] { + return pulumix.Output[OSPolicyResourcePackageResourceDeb]{ + OutputState: i.ToOSPolicyResourcePackageResourceDebOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceDebArgs) ToOSPolicyResourcePackageResourceDebPtrOutput() OSPolicyResourcePackageResourceDebPtrOutput { return i.ToOSPolicyResourcePackageResourceDebPtrOutputWithContext(context.Background()) } @@ -3405,6 +3922,12 @@ func (i *ospolicyResourcePackageResourceDebPtrType) ToOSPolicyResourcePackageRes return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceDebPtrOutput) } +func (i *ospolicyResourcePackageResourceDebPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceDeb] { + return pulumix.Output[*OSPolicyResourcePackageResourceDeb]{ + OutputState: i.ToOSPolicyResourcePackageResourceDebPtrOutputWithContext(ctx).OutputState, + } +} + // A deb package file. dpkg packages only support INSTALLED state. type OSPolicyResourcePackageResourceDebOutput struct{ *pulumi.OutputState } @@ -3430,6 +3953,12 @@ func (o OSPolicyResourcePackageResourceDebOutput) ToOSPolicyResourcePackageResou }).(OSPolicyResourcePackageResourceDebPtrOutput) } +func (o OSPolicyResourcePackageResourceDebOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceDeb] { + return pulumix.Output[OSPolicyResourcePackageResourceDeb]{ + OutputState: o.OutputState, + } +} + // Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb` func (o OSPolicyResourcePackageResourceDebOutput) PullDeps() pulumi.BoolPtrOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceDeb) *bool { return v.PullDeps }).(pulumi.BoolPtrOutput) @@ -3454,6 +3983,12 @@ func (o OSPolicyResourcePackageResourceDebPtrOutput) ToOSPolicyResourcePackageRe return o } +func (o OSPolicyResourcePackageResourceDebPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceDeb] { + return pulumix.Output[*OSPolicyResourcePackageResourceDeb]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceDebPtrOutput) Elem() OSPolicyResourcePackageResourceDebOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceDeb) OSPolicyResourcePackageResourceDeb { if v != nil { @@ -3507,6 +4042,12 @@ func (o OSPolicyResourcePackageResourceDebResponseOutput) ToOSPolicyResourcePack return o } +func (o OSPolicyResourcePackageResourceDebResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceDebResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceDebResponse]{ + OutputState: o.OutputState, + } +} + // Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb` func (o OSPolicyResourcePackageResourceDebResponseOutput) PullDeps() pulumi.BoolOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceDebResponse) bool { return v.PullDeps }).(pulumi.BoolOutput) @@ -3552,6 +4093,12 @@ func (i OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageReso return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceGooGetOutput) } +func (i OSPolicyResourcePackageResourceGooGetArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceGooGet] { + return pulumix.Output[OSPolicyResourcePackageResourceGooGet]{ + OutputState: i.ToOSPolicyResourcePackageResourceGooGetOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceGooGetArgs) ToOSPolicyResourcePackageResourceGooGetPtrOutput() OSPolicyResourcePackageResourceGooGetPtrOutput { return i.ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext(context.Background()) } @@ -3593,6 +4140,12 @@ func (i *ospolicyResourcePackageResourceGooGetPtrType) ToOSPolicyResourcePackage return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceGooGetPtrOutput) } +func (i *ospolicyResourcePackageResourceGooGetPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceGooGet] { + return pulumix.Output[*OSPolicyResourcePackageResourceGooGet]{ + OutputState: i.ToOSPolicyResourcePackageResourceGooGetPtrOutputWithContext(ctx).OutputState, + } +} + // A package managed by GooGet. - install: `googet -noconfirm install package` - remove: `googet -noconfirm remove package` type OSPolicyResourcePackageResourceGooGetOutput struct{ *pulumi.OutputState } @@ -3618,6 +4171,12 @@ func (o OSPolicyResourcePackageResourceGooGetOutput) ToOSPolicyResourcePackageRe }).(OSPolicyResourcePackageResourceGooGetPtrOutput) } +func (o OSPolicyResourcePackageResourceGooGetOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceGooGet] { + return pulumix.Output[OSPolicyResourcePackageResourceGooGet]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceGooGetOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceGooGet) string { return v.Name }).(pulumi.StringOutput) @@ -3637,6 +4196,12 @@ func (o OSPolicyResourcePackageResourceGooGetPtrOutput) ToOSPolicyResourcePackag return o } +func (o OSPolicyResourcePackageResourceGooGetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceGooGet] { + return pulumix.Output[*OSPolicyResourcePackageResourceGooGet]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceGooGetPtrOutput) Elem() OSPolicyResourcePackageResourceGooGetOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceGooGet) OSPolicyResourcePackageResourceGooGet { if v != nil { @@ -3678,6 +4243,12 @@ func (o OSPolicyResourcePackageResourceGooGetResponseOutput) ToOSPolicyResourceP return o } +func (o OSPolicyResourcePackageResourceGooGetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceGooGetResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceGooGetResponse]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceGooGetResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceGooGetResponse) string { return v.Name }).(pulumi.StringOutput) @@ -3722,6 +4293,12 @@ func (i OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourc return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceMSIOutput) } +func (i OSPolicyResourcePackageResourceMSIArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceMSI] { + return pulumix.Output[OSPolicyResourcePackageResourceMSI]{ + OutputState: i.ToOSPolicyResourcePackageResourceMSIOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceMSIArgs) ToOSPolicyResourcePackageResourceMSIPtrOutput() OSPolicyResourcePackageResourceMSIPtrOutput { return i.ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext(context.Background()) } @@ -3763,6 +4340,12 @@ func (i *ospolicyResourcePackageResourceMSIPtrType) ToOSPolicyResourcePackageRes return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceMSIPtrOutput) } +func (i *ospolicyResourcePackageResourceMSIPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceMSI] { + return pulumix.Output[*OSPolicyResourcePackageResourceMSI]{ + OutputState: i.ToOSPolicyResourcePackageResourceMSIPtrOutputWithContext(ctx).OutputState, + } +} + // An MSI package. MSI packages only support INSTALLED state. type OSPolicyResourcePackageResourceMSIOutput struct{ *pulumi.OutputState } @@ -3788,6 +4371,12 @@ func (o OSPolicyResourcePackageResourceMSIOutput) ToOSPolicyResourcePackageResou }).(OSPolicyResourcePackageResourceMSIPtrOutput) } +func (o OSPolicyResourcePackageResourceMSIOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceMSI] { + return pulumix.Output[OSPolicyResourcePackageResourceMSI]{ + OutputState: o.OutputState, + } +} + // Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`. func (o OSPolicyResourcePackageResourceMSIOutput) Properties() pulumi.StringArrayOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceMSI) []string { return v.Properties }).(pulumi.StringArrayOutput) @@ -3812,6 +4401,12 @@ func (o OSPolicyResourcePackageResourceMSIPtrOutput) ToOSPolicyResourcePackageRe return o } +func (o OSPolicyResourcePackageResourceMSIPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceMSI] { + return pulumix.Output[*OSPolicyResourcePackageResourceMSI]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceMSIPtrOutput) Elem() OSPolicyResourcePackageResourceMSIOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceMSI) OSPolicyResourcePackageResourceMSI { if v != nil { @@ -3865,6 +4460,12 @@ func (o OSPolicyResourcePackageResourceMSIResponseOutput) ToOSPolicyResourcePack return o } +func (o OSPolicyResourcePackageResourceMSIResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceMSIResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceMSIResponse]{ + OutputState: o.OutputState, + } +} + // Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`. func (o OSPolicyResourcePackageResourceMSIResponseOutput) Properties() pulumi.StringArrayOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceMSIResponse) []string { return v.Properties }).(pulumi.StringArrayOutput) @@ -3914,6 +4515,12 @@ func (i OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourc return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceRPMOutput) } +func (i OSPolicyResourcePackageResourceRPMArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceRPM] { + return pulumix.Output[OSPolicyResourcePackageResourceRPM]{ + OutputState: i.ToOSPolicyResourcePackageResourceRPMOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceRPMArgs) ToOSPolicyResourcePackageResourceRPMPtrOutput() OSPolicyResourcePackageResourceRPMPtrOutput { return i.ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext(context.Background()) } @@ -3955,6 +4562,12 @@ func (i *ospolicyResourcePackageResourceRPMPtrType) ToOSPolicyResourcePackageRes return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceRPMPtrOutput) } +func (i *ospolicyResourcePackageResourceRPMPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceRPM] { + return pulumix.Output[*OSPolicyResourcePackageResourceRPM]{ + OutputState: i.ToOSPolicyResourcePackageResourceRPMPtrOutputWithContext(ctx).OutputState, + } +} + // An RPM package file. RPM packages only support INSTALLED state. type OSPolicyResourcePackageResourceRPMOutput struct{ *pulumi.OutputState } @@ -3980,6 +4593,12 @@ func (o OSPolicyResourcePackageResourceRPMOutput) ToOSPolicyResourcePackageResou }).(OSPolicyResourcePackageResourceRPMPtrOutput) } +func (o OSPolicyResourcePackageResourceRPMOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceRPM] { + return pulumix.Output[OSPolicyResourcePackageResourceRPM]{ + OutputState: o.OutputState, + } +} + // Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm` func (o OSPolicyResourcePackageResourceRPMOutput) PullDeps() pulumi.BoolPtrOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceRPM) *bool { return v.PullDeps }).(pulumi.BoolPtrOutput) @@ -4004,6 +4623,12 @@ func (o OSPolicyResourcePackageResourceRPMPtrOutput) ToOSPolicyResourcePackageRe return o } +func (o OSPolicyResourcePackageResourceRPMPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceRPM] { + return pulumix.Output[*OSPolicyResourcePackageResourceRPM]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceRPMPtrOutput) Elem() OSPolicyResourcePackageResourceRPMOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceRPM) OSPolicyResourcePackageResourceRPM { if v != nil { @@ -4057,6 +4682,12 @@ func (o OSPolicyResourcePackageResourceRPMResponseOutput) ToOSPolicyResourcePack return o } +func (o OSPolicyResourcePackageResourceRPMResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceRPMResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceRPMResponse]{ + OutputState: o.OutputState, + } +} + // Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y install package.rpm` func (o OSPolicyResourcePackageResourceRPMResponseOutput) PullDeps() pulumi.BoolOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceRPMResponse) bool { return v.PullDeps }).(pulumi.BoolOutput) @@ -4102,6 +4733,12 @@ func (o OSPolicyResourcePackageResourceResponseOutput) ToOSPolicyResourcePackage return o } +func (o OSPolicyResourcePackageResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceResponse]{ + OutputState: o.OutputState, + } +} + // A package managed by Apt. func (o OSPolicyResourcePackageResourceResponseOutput) Apt() OSPolicyResourcePackageResourceAPTResponseOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceResponse) OSPolicyResourcePackageResourceAPTResponse { @@ -4191,6 +4828,12 @@ func (i OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourc return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceYUMOutput) } +func (i OSPolicyResourcePackageResourceYUMArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceYUM] { + return pulumix.Output[OSPolicyResourcePackageResourceYUM]{ + OutputState: i.ToOSPolicyResourcePackageResourceYUMOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceYUMArgs) ToOSPolicyResourcePackageResourceYUMPtrOutput() OSPolicyResourcePackageResourceYUMPtrOutput { return i.ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext(context.Background()) } @@ -4232,6 +4875,12 @@ func (i *ospolicyResourcePackageResourceYUMPtrType) ToOSPolicyResourcePackageRes return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceYUMPtrOutput) } +func (i *ospolicyResourcePackageResourceYUMPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceYUM] { + return pulumix.Output[*OSPolicyResourcePackageResourceYUM]{ + OutputState: i.ToOSPolicyResourcePackageResourceYUMPtrOutputWithContext(ctx).OutputState, + } +} + // A package managed by YUM. - install: `yum -y install package` - remove: `yum -y remove package` type OSPolicyResourcePackageResourceYUMOutput struct{ *pulumi.OutputState } @@ -4257,6 +4906,12 @@ func (o OSPolicyResourcePackageResourceYUMOutput) ToOSPolicyResourcePackageResou }).(OSPolicyResourcePackageResourceYUMPtrOutput) } +func (o OSPolicyResourcePackageResourceYUMOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceYUM] { + return pulumix.Output[OSPolicyResourcePackageResourceYUM]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceYUMOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceYUM) string { return v.Name }).(pulumi.StringOutput) @@ -4276,6 +4931,12 @@ func (o OSPolicyResourcePackageResourceYUMPtrOutput) ToOSPolicyResourcePackageRe return o } +func (o OSPolicyResourcePackageResourceYUMPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceYUM] { + return pulumix.Output[*OSPolicyResourcePackageResourceYUM]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceYUMPtrOutput) Elem() OSPolicyResourcePackageResourceYUMOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceYUM) OSPolicyResourcePackageResourceYUM { if v != nil { @@ -4317,6 +4978,12 @@ func (o OSPolicyResourcePackageResourceYUMResponseOutput) ToOSPolicyResourcePack return o } +func (o OSPolicyResourcePackageResourceYUMResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceYUMResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceYUMResponse]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceYUMResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceYUMResponse) string { return v.Name }).(pulumi.StringOutput) @@ -4357,6 +5024,12 @@ func (i OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageReso return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceZypperOutput) } +func (i OSPolicyResourcePackageResourceZypperArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceZypper] { + return pulumix.Output[OSPolicyResourcePackageResourceZypper]{ + OutputState: i.ToOSPolicyResourcePackageResourceZypperOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourcePackageResourceZypperArgs) ToOSPolicyResourcePackageResourceZypperPtrOutput() OSPolicyResourcePackageResourceZypperPtrOutput { return i.ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext(context.Background()) } @@ -4398,6 +5071,12 @@ func (i *ospolicyResourcePackageResourceZypperPtrType) ToOSPolicyResourcePackage return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourcePackageResourceZypperPtrOutput) } +func (i *ospolicyResourcePackageResourceZypperPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceZypper] { + return pulumix.Output[*OSPolicyResourcePackageResourceZypper]{ + OutputState: i.ToOSPolicyResourcePackageResourceZypperPtrOutputWithContext(ctx).OutputState, + } +} + // A package managed by Zypper. - install: `zypper -y install package` - remove: `zypper -y rm package` type OSPolicyResourcePackageResourceZypperOutput struct{ *pulumi.OutputState } @@ -4423,6 +5102,12 @@ func (o OSPolicyResourcePackageResourceZypperOutput) ToOSPolicyResourcePackageRe }).(OSPolicyResourcePackageResourceZypperPtrOutput) } +func (o OSPolicyResourcePackageResourceZypperOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceZypper] { + return pulumix.Output[OSPolicyResourcePackageResourceZypper]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceZypperOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceZypper) string { return v.Name }).(pulumi.StringOutput) @@ -4442,6 +5127,12 @@ func (o OSPolicyResourcePackageResourceZypperPtrOutput) ToOSPolicyResourcePackag return o } +func (o OSPolicyResourcePackageResourceZypperPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourcePackageResourceZypper] { + return pulumix.Output[*OSPolicyResourcePackageResourceZypper]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourcePackageResourceZypperPtrOutput) Elem() OSPolicyResourcePackageResourceZypperOutput { return o.ApplyT(func(v *OSPolicyResourcePackageResourceZypper) OSPolicyResourcePackageResourceZypper { if v != nil { @@ -4483,6 +5174,12 @@ func (o OSPolicyResourcePackageResourceZypperResponseOutput) ToOSPolicyResourceP return o } +func (o OSPolicyResourcePackageResourceZypperResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourcePackageResourceZypperResponse] { + return pulumix.Output[OSPolicyResourcePackageResourceZypperResponse]{ + OutputState: o.OutputState, + } +} + // Package name. func (o OSPolicyResourcePackageResourceZypperResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourcePackageResourceZypperResponse) string { return v.Name }).(pulumi.StringOutput) @@ -4535,6 +5232,12 @@ func (i OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryReso return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceOutput) } +func (i OSPolicyResourceRepositoryResourceArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResource] { + return pulumix.Output[OSPolicyResourceRepositoryResource]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceRepositoryResourceArgs) ToOSPolicyResourceRepositoryResourcePtrOutput() OSPolicyResourceRepositoryResourcePtrOutput { return i.ToOSPolicyResourceRepositoryResourcePtrOutputWithContext(context.Background()) } @@ -4576,6 +5279,12 @@ func (i *ospolicyResourceRepositoryResourcePtrType) ToOSPolicyResourceRepository return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourcePtrOutput) } +func (i *ospolicyResourceRepositoryResourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResource] { + return pulumix.Output[*OSPolicyResourceRepositoryResource]{ + OutputState: i.ToOSPolicyResourceRepositoryResourcePtrOutputWithContext(ctx).OutputState, + } +} + // A resource that manages a package repository. type OSPolicyResourceRepositoryResourceOutput struct{ *pulumi.OutputState } @@ -4601,6 +5310,12 @@ func (o OSPolicyResourceRepositoryResourceOutput) ToOSPolicyResourceRepositoryRe }).(OSPolicyResourceRepositoryResourcePtrOutput) } +func (o OSPolicyResourceRepositoryResourceOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResource] { + return pulumix.Output[OSPolicyResourceRepositoryResource]{ + OutputState: o.OutputState, + } +} + // An Apt Repository. func (o OSPolicyResourceRepositoryResourceOutput) Apt() OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResource) *OSPolicyResourceRepositoryResourceAptRepository { @@ -4643,6 +5358,12 @@ func (o OSPolicyResourceRepositoryResourcePtrOutput) ToOSPolicyResourceRepositor return o } +func (o OSPolicyResourceRepositoryResourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResource] { + return pulumix.Output[*OSPolicyResourceRepositoryResource]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourcePtrOutput) Elem() OSPolicyResourceRepositoryResourceOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResource) OSPolicyResourceRepositoryResource { if v != nil { @@ -4744,6 +5465,12 @@ func (i OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceR return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceAptRepositoryOutput) } +func (i OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceAptRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceAptRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceAptRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceRepositoryResourceAptRepositoryArgs) ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutput() OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput { return i.ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext(context.Background()) } @@ -4785,6 +5512,12 @@ func (i *ospolicyResourceRepositoryResourceAptRepositoryPtrType) ToOSPolicyResou return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) } +func (i *ospolicyResourceRepositoryResourceAptRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceAptRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single apt package repository. These will be added to a repo file that will be managed at `/etc/apt/sources.list.d/google_osconfig.list`. type OSPolicyResourceRepositoryResourceAptRepositoryOutput struct{ *pulumi.OutputState } @@ -4810,6 +5543,12 @@ func (o OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOSPolicyResourc }).(OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) } +func (o OSPolicyResourceRepositoryResourceAptRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceAptRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceAptRepository]{ + OutputState: o.OutputState, + } +} + // Type of archive files in this repository. func (o OSPolicyResourceRepositoryResourceAptRepositoryOutput) ArchiveType() OSPolicyResourceRepositoryResourceAptRepositoryArchiveTypeOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceAptRepository) OSPolicyResourceRepositoryResourceAptRepositoryArchiveType { @@ -4851,6 +5590,12 @@ func (o OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) ToOSPolicyReso return o } +func (o OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceAptRepository]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceAptRepositoryPtrOutput) Elem() OSPolicyResourceRepositoryResourceAptRepositoryOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResourceAptRepository) OSPolicyResourceRepositoryResourceAptRepository { if v != nil { @@ -4940,6 +5685,12 @@ func (o OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ToOSPolic return o } +func (o OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceAptRepositoryResponse] { + return pulumix.Output[OSPolicyResourceRepositoryResourceAptRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // Type of archive files in this repository. func (o OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput) ArchiveType() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceAptRepositoryResponse) string { return v.ArchiveType }).(pulumi.StringOutput) @@ -5004,6 +5755,12 @@ func (i OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceR return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceGooRepositoryOutput) } +func (i OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceGooRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceGooRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceGooRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceRepositoryResourceGooRepositoryArgs) ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutput() OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput { return i.ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext(context.Background()) } @@ -5045,6 +5802,12 @@ func (i *ospolicyResourceRepositoryResourceGooRepositoryPtrType) ToOSPolicyResou return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) } +func (i *ospolicyResourceRepositoryResourceGooRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceGooRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceGooRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceGooRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Goo package repository. These are added to a repo file that is managed at `C:/ProgramData/GooGet/repos/google_osconfig.repo`. type OSPolicyResourceRepositoryResourceGooRepositoryOutput struct{ *pulumi.OutputState } @@ -5070,6 +5833,12 @@ func (o OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOSPolicyResourc }).(OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) } +func (o OSPolicyResourceRepositoryResourceGooRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceGooRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceGooRepository]{ + OutputState: o.OutputState, + } +} + // The name of the repository. func (o OSPolicyResourceRepositoryResourceGooRepositoryOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceGooRepository) string { return v.Name }).(pulumi.StringOutput) @@ -5094,6 +5863,12 @@ func (o OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) ToOSPolicyReso return o } +func (o OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceGooRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceGooRepository]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceGooRepositoryPtrOutput) Elem() OSPolicyResourceRepositoryResourceGooRepositoryOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResourceGooRepository) OSPolicyResourceRepositoryResourceGooRepository { if v != nil { @@ -5147,6 +5922,12 @@ func (o OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) ToOSPolic return o } +func (o OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceGooRepositoryResponse] { + return pulumix.Output[OSPolicyResourceRepositoryResourceGooRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // The name of the repository. func (o OSPolicyResourceRepositoryResourceGooRepositoryResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceGooRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) @@ -5184,6 +5965,12 @@ func (o OSPolicyResourceRepositoryResourceResponseOutput) ToOSPolicyResourceRepo return o } +func (o OSPolicyResourceRepositoryResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceResponse] { + return pulumix.Output[OSPolicyResourceRepositoryResourceResponse]{ + OutputState: o.OutputState, + } +} + // An Apt Repository. func (o OSPolicyResourceRepositoryResourceResponseOutput) Apt() OSPolicyResourceRepositoryResourceAptRepositoryResponseOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceResponse) OSPolicyResourceRepositoryResourceAptRepositoryResponse { @@ -5259,6 +6046,12 @@ func (i OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceR return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceYumRepositoryOutput) } +func (i OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceYumRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceYumRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceYumRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceRepositoryResourceYumRepositoryArgs) ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutput() OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput { return i.ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext(context.Background()) } @@ -5300,6 +6093,12 @@ func (i *ospolicyResourceRepositoryResourceYumRepositoryPtrType) ToOSPolicyResou return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) } +func (i *ospolicyResourceRepositoryResourceYumRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceYumRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceYumRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceYumRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single yum package repository. These are added to a repo file that is managed at `/etc/yum.repos.d/google_osconfig.repo`. type OSPolicyResourceRepositoryResourceYumRepositoryOutput struct{ *pulumi.OutputState } @@ -5325,6 +6124,12 @@ func (o OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOSPolicyResourc }).(OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) } +func (o OSPolicyResourceRepositoryResourceYumRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceYumRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceYumRepository]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o OSPolicyResourceRepositoryResourceYumRepositoryOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceYumRepository) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -5359,6 +6164,12 @@ func (o OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) ToOSPolicyReso return o } +func (o OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceYumRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceYumRepository]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceYumRepositoryPtrOutput) Elem() OSPolicyResourceRepositoryResourceYumRepositoryOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResourceYumRepository) OSPolicyResourceRepositoryResourceYumRepository { if v != nil { @@ -5434,6 +6245,12 @@ func (o OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) ToOSPolic return o } +func (o OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceYumRepositoryResponse] { + return pulumix.Output[OSPolicyResourceRepositoryResourceYumRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o OSPolicyResourceRepositoryResourceYumRepositoryResponseOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceYumRepositoryResponse) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -5496,6 +6313,12 @@ func (i OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResour return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceZypperRepositoryOutput) } +func (i OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceZypperRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i OSPolicyResourceRepositoryResourceZypperRepositoryArgs) ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput() OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput { return i.ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext(context.Background()) } @@ -5537,6 +6360,12 @@ func (i *ospolicyResourceRepositoryResourceZypperRepositoryPtrType) ToOSPolicyRe return pulumi.ToOutputWithContext(ctx, i).(OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) } +func (i *ospolicyResourceRepositoryResourceZypperRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceZypperRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceZypperRepository]{ + OutputState: i.ToOSPolicyResourceRepositoryResourceZypperRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single zypper package repository. These are added to a repo file that is managed at `/etc/zypp/repos.d/google_osconfig.repo`. type OSPolicyResourceRepositoryResourceZypperRepositoryOutput struct{ *pulumi.OutputState } @@ -5562,6 +6391,12 @@ func (o OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ToOSPolicyReso }).(OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) } +func (o OSPolicyResourceRepositoryResourceZypperRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepository] { + return pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepository]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o OSPolicyResourceRepositoryResourceZypperRepositoryOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceZypperRepository) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -5596,6 +6431,12 @@ func (o OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) ToOSPolicyR return o } +func (o OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OSPolicyResourceRepositoryResourceZypperRepository] { + return pulumix.Output[*OSPolicyResourceRepositoryResourceZypperRepository]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceRepositoryResourceZypperRepositoryPtrOutput) Elem() OSPolicyResourceRepositoryResourceZypperRepositoryOutput { return o.ApplyT(func(v *OSPolicyResourceRepositoryResourceZypperRepository) OSPolicyResourceRepositoryResourceZypperRepository { if v != nil { @@ -5671,6 +6512,12 @@ func (o OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) ToOSPo return o } +func (o OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepositoryResponse] { + return pulumix.Output[OSPolicyResourceRepositoryResourceZypperRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o OSPolicyResourceRepositoryResourceZypperRepositoryResponseOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v OSPolicyResourceRepositoryResourceZypperRepositoryResponse) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -5713,6 +6560,12 @@ func (o OSPolicyResourceResponseOutput) ToOSPolicyResourceResponseOutputWithCont return o } +func (o OSPolicyResourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResourceResponse] { + return pulumix.Output[OSPolicyResourceResponse]{ + OutputState: o.OutputState, + } +} + // Exec resource func (o OSPolicyResourceResponseOutput) Exec() OSPolicyResourceExecResourceResponseOutput { return o.ApplyT(func(v OSPolicyResourceResponse) OSPolicyResourceExecResourceResponse { return v.Exec }).(OSPolicyResourceExecResourceResponseOutput) @@ -5747,6 +6600,12 @@ func (o OSPolicyResourceResponseArrayOutput) ToOSPolicyResourceResponseArrayOutp return o } +func (o OSPolicyResourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResourceResponse] { + return pulumix.Output[[]OSPolicyResourceResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResourceResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyResourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyResourceResponse { return vs[0].([]OSPolicyResourceResponse)[vs[1].(int)] @@ -5780,6 +6639,12 @@ func (o OSPolicyResponseOutput) ToOSPolicyResponseOutputWithContext(ctx context. return o } +func (o OSPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OSPolicyResponse] { + return pulumix.Output[OSPolicyResponse]{ + OutputState: o.OutputState, + } +} + // This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. func (o OSPolicyResponseOutput) AllowNoResourceGroupMatch() pulumi.BoolOutput { return o.ApplyT(func(v OSPolicyResponse) bool { return v.AllowNoResourceGroupMatch }).(pulumi.BoolOutput) @@ -5814,6 +6679,12 @@ func (o OSPolicyResponseArrayOutput) ToOSPolicyResponseArrayOutputWithContext(ct return o } +func (o OSPolicyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OSPolicyResponse] { + return pulumix.Output[[]OSPolicyResponse]{ + OutputState: o.OutputState, + } +} + func (o OSPolicyResponseArrayOutput) Index(i pulumi.IntInput) OSPolicyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OSPolicyResponse { return vs[0].([]OSPolicyResponse)[vs[1].(int)] diff --git a/sdk/go/google/osconfig/v1beta/getGuestPolicy.go b/sdk/go/google/osconfig/v1beta/getGuestPolicy.go index f17d7ec856..365fb23ce2 100644 --- a/sdk/go/google/osconfig/v1beta/getGuestPolicy.go +++ b/sdk/go/google/osconfig/v1beta/getGuestPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get an OS Config guest policy. @@ -84,6 +85,12 @@ func (o LookupGuestPolicyResultOutput) ToLookupGuestPolicyResultOutputWithContex return o } +func (o LookupGuestPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGuestPolicyResult] { + return pulumix.Output[LookupGuestPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service [handles assignment conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts). func (o LookupGuestPolicyResultOutput) Assignment() AssignmentResponseOutput { return o.ApplyT(func(v LookupGuestPolicyResult) AssignmentResponse { return v.Assignment }).(AssignmentResponseOutput) diff --git a/sdk/go/google/osconfig/v1beta/getPatchDeployment.go b/sdk/go/google/osconfig/v1beta/getPatchDeployment.go index 740cee8986..563ef81be8 100644 --- a/sdk/go/google/osconfig/v1beta/getPatchDeployment.go +++ b/sdk/go/google/osconfig/v1beta/getPatchDeployment.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get an OS Config patch deployment. @@ -90,6 +91,12 @@ func (o LookupPatchDeploymentResultOutput) ToLookupPatchDeploymentResultOutputWi return o } +func (o LookupPatchDeploymentResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPatchDeploymentResult] { + return pulumix.Output[LookupPatchDeploymentResult]{ + OutputState: o.OutputState, + } +} + // Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. func (o LookupPatchDeploymentResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupPatchDeploymentResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/osconfig/v1beta/guestPolicy.go b/sdk/go/google/osconfig/v1beta/guestPolicy.go index ce82f67858..7511e312ed 100644 --- a/sdk/go/google/osconfig/v1beta/guestPolicy.go +++ b/sdk/go/google/osconfig/v1beta/guestPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an OS Config guest policy. @@ -153,6 +154,12 @@ func (i *GuestPolicy) ToGuestPolicyOutputWithContext(ctx context.Context) GuestP return pulumi.ToOutputWithContext(ctx, i).(GuestPolicyOutput) } +func (i *GuestPolicy) ToOutput(ctx context.Context) pulumix.Output[*GuestPolicy] { + return pulumix.Output[*GuestPolicy]{ + OutputState: i.ToGuestPolicyOutputWithContext(ctx).OutputState, + } +} + type GuestPolicyOutput struct{ *pulumi.OutputState } func (GuestPolicyOutput) ElementType() reflect.Type { @@ -167,6 +174,12 @@ func (o GuestPolicyOutput) ToGuestPolicyOutputWithContext(ctx context.Context) G return o } +func (o GuestPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*GuestPolicy] { + return pulumix.Output[*GuestPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service [handles assignment conflicts](/compute/docs/os-config-management/create-guest-policy#handle-conflicts). func (o GuestPolicyOutput) Assignment() AssignmentResponseOutput { return o.ApplyT(func(v *GuestPolicy) AssignmentResponseOutput { return v.Assignment }).(AssignmentResponseOutput) diff --git a/sdk/go/google/osconfig/v1beta/patchDeployment.go b/sdk/go/google/osconfig/v1beta/patchDeployment.go index ce4755f291..2854b8ded0 100644 --- a/sdk/go/google/osconfig/v1beta/patchDeployment.go +++ b/sdk/go/google/osconfig/v1beta/patchDeployment.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an OS Config patch deployment. @@ -169,6 +170,12 @@ func (i *PatchDeployment) ToPatchDeploymentOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PatchDeploymentOutput) } +func (i *PatchDeployment) ToOutput(ctx context.Context) pulumix.Output[*PatchDeployment] { + return pulumix.Output[*PatchDeployment]{ + OutputState: i.ToPatchDeploymentOutputWithContext(ctx).OutputState, + } +} + type PatchDeploymentOutput struct{ *pulumi.OutputState } func (PatchDeploymentOutput) ElementType() reflect.Type { @@ -183,6 +190,12 @@ func (o PatchDeploymentOutput) ToPatchDeploymentOutputWithContext(ctx context.Co return o } +func (o PatchDeploymentOutput) ToOutput(ctx context.Context) pulumix.Output[*PatchDeployment] { + return pulumix.Output[*PatchDeployment]{ + OutputState: o.OutputState, + } +} + // Time the patch deployment was created. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. func (o PatchDeploymentOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *PatchDeployment) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/osconfig/v1beta/pulumiEnums.go b/sdk/go/google/osconfig/v1beta/pulumiEnums.go index ba7a7565d2..7ea314676d 100644 --- a/sdk/go/google/osconfig/v1beta/pulumiEnums.go +++ b/sdk/go/google/osconfig/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Type of archive files in this repository. The default behavior is DEB. @@ -82,6 +83,12 @@ func (o AptRepositoryArchiveTypeOutput) ToAptRepositoryArchiveTypePtrOutputWithC }).(AptRepositoryArchiveTypePtrOutput) } +func (o AptRepositoryArchiveTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AptRepositoryArchiveType] { + return pulumix.Output[AptRepositoryArchiveType]{ + OutputState: o.OutputState, + } +} + func (o AptRepositoryArchiveTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o AptRepositoryArchiveTypePtrOutput) ToAptRepositoryArchiveTypePtrOutputWi return o } +func (o AptRepositoryArchiveTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AptRepositoryArchiveType] { + return pulumix.Output[*AptRepositoryArchiveType]{ + OutputState: o.OutputState, + } +} + func (o AptRepositoryArchiveTypePtrOutput) Elem() AptRepositoryArchiveTypeOutput { return o.ApplyT(func(v *AptRepositoryArchiveType) AptRepositoryArchiveType { if v != nil { @@ -179,6 +192,12 @@ func (in *aptRepositoryArchiveTypePtr) ToAptRepositoryArchiveTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(AptRepositoryArchiveTypePtrOutput) } +func (in *aptRepositoryArchiveTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AptRepositoryArchiveType] { + return pulumix.Output[*AptRepositoryArchiveType]{ + OutputState: in.ToAptRepositoryArchiveTypePtrOutputWithContext(ctx).OutputState, + } +} + // By changing the type to DIST, the patching is performed using `apt-get dist-upgrade` instead. type AptSettingsType string @@ -251,6 +270,12 @@ func (o AptSettingsTypeOutput) ToAptSettingsTypePtrOutputWithContext(ctx context }).(AptSettingsTypePtrOutput) } +func (o AptSettingsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AptSettingsType] { + return pulumix.Output[AptSettingsType]{ + OutputState: o.OutputState, + } +} + func (o AptSettingsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o AptSettingsTypePtrOutput) ToAptSettingsTypePtrOutputWithContext(ctx cont return o } +func (o AptSettingsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AptSettingsType] { + return pulumix.Output[*AptSettingsType]{ + OutputState: o.OutputState, + } +} + func (o AptSettingsTypePtrOutput) Elem() AptSettingsTypeOutput { return o.ApplyT(func(v *AptSettingsType) AptSettingsType { if v != nil { @@ -348,6 +379,12 @@ func (in *aptSettingsTypePtr) ToAptSettingsTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(AptSettingsTypePtrOutput) } +func (in *aptSettingsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AptSettingsType] { + return pulumix.Output[*AptSettingsType]{ + OutputState: in.ToAptSettingsTypePtrOutputWithContext(ctx).OutputState, + } +} + // The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts with [shebang lines] (https://en.wikipedia.org/wiki/Shebang_\(Unix\)). type ExecStepConfigInterpreter string @@ -422,6 +459,12 @@ func (o ExecStepConfigInterpreterOutput) ToExecStepConfigInterpreterPtrOutputWit }).(ExecStepConfigInterpreterPtrOutput) } +func (o ExecStepConfigInterpreterOutput) ToOutput(ctx context.Context) pulumix.Output[ExecStepConfigInterpreter] { + return pulumix.Output[ExecStepConfigInterpreter]{ + OutputState: o.OutputState, + } +} + func (o ExecStepConfigInterpreterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o ExecStepConfigInterpreterPtrOutput) ToExecStepConfigInterpreterPtrOutput return o } +func (o ExecStepConfigInterpreterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecStepConfigInterpreter] { + return pulumix.Output[*ExecStepConfigInterpreter]{ + OutputState: o.OutputState, + } +} + func (o ExecStepConfigInterpreterPtrOutput) Elem() ExecStepConfigInterpreterOutput { return o.ApplyT(func(v *ExecStepConfigInterpreter) ExecStepConfigInterpreter { if v != nil { @@ -519,6 +568,12 @@ func (in *execStepConfigInterpreterPtr) ToExecStepConfigInterpreterPtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(ExecStepConfigInterpreterPtrOutput) } +func (in *execStepConfigInterpreterPtr) ToOutput(ctx context.Context) pulumix.Output[*ExecStepConfigInterpreter] { + return pulumix.Output[*ExecStepConfigInterpreter]{ + OutputState: in.ToExecStepConfigInterpreterPtrOutputWithContext(ctx).OutputState, + } +} + // The desired_state the agent should maintain for this package. The default is to ensure the package is installed. type PackageDesiredState string @@ -593,6 +648,12 @@ func (o PackageDesiredStateOutput) ToPackageDesiredStatePtrOutputWithContext(ctx }).(PackageDesiredStatePtrOutput) } +func (o PackageDesiredStateOutput) ToOutput(ctx context.Context) pulumix.Output[PackageDesiredState] { + return pulumix.Output[PackageDesiredState]{ + OutputState: o.OutputState, + } +} + func (o PackageDesiredStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -628,6 +689,12 @@ func (o PackageDesiredStatePtrOutput) ToPackageDesiredStatePtrOutputWithContext( return o } +func (o PackageDesiredStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageDesiredState] { + return pulumix.Output[*PackageDesiredState]{ + OutputState: o.OutputState, + } +} + func (o PackageDesiredStatePtrOutput) Elem() PackageDesiredStateOutput { return o.ApplyT(func(v *PackageDesiredState) PackageDesiredState { if v != nil { @@ -690,6 +757,12 @@ func (in *packageDesiredStatePtr) ToPackageDesiredStatePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(PackageDesiredStatePtrOutput) } +func (in *packageDesiredStatePtr) ToOutput(ctx context.Context) pulumix.Output[*PackageDesiredState] { + return pulumix.Output[*PackageDesiredState]{ + OutputState: in.ToPackageDesiredStatePtrOutputWithContext(ctx).OutputState, + } +} + // Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify `ANY`, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY. type PackageManager string @@ -768,6 +841,12 @@ func (o PackageManagerOutput) ToPackageManagerPtrOutputWithContext(ctx context.C }).(PackageManagerPtrOutput) } +func (o PackageManagerOutput) ToOutput(ctx context.Context) pulumix.Output[PackageManager] { + return pulumix.Output[PackageManager]{ + OutputState: o.OutputState, + } +} + func (o PackageManagerOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -803,6 +882,12 @@ func (o PackageManagerPtrOutput) ToPackageManagerPtrOutputWithContext(ctx contex return o } +func (o PackageManagerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PackageManager] { + return pulumix.Output[*PackageManager]{ + OutputState: o.OutputState, + } +} + func (o PackageManagerPtrOutput) Elem() PackageManagerOutput { return o.ApplyT(func(v *PackageManager) PackageManager { if v != nil { @@ -865,6 +950,12 @@ func (in *packageManagerPtr) ToPackageManagerPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(PackageManagerPtrOutput) } +func (in *packageManagerPtr) ToOutput(ctx context.Context) pulumix.Output[*PackageManager] { + return pulumix.Output[*PackageManager]{ + OutputState: in.ToPackageManagerPtrOutputWithContext(ctx).OutputState, + } +} + // Post-patch reboot settings. type PatchConfigRebootConfig string @@ -939,6 +1030,12 @@ func (o PatchConfigRebootConfigOutput) ToPatchConfigRebootConfigPtrOutputWithCon }).(PatchConfigRebootConfigPtrOutput) } +func (o PatchConfigRebootConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PatchConfigRebootConfig] { + return pulumix.Output[PatchConfigRebootConfig]{ + OutputState: o.OutputState, + } +} + func (o PatchConfigRebootConfigOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -974,6 +1071,12 @@ func (o PatchConfigRebootConfigPtrOutput) ToPatchConfigRebootConfigPtrOutputWith return o } +func (o PatchConfigRebootConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PatchConfigRebootConfig] { + return pulumix.Output[*PatchConfigRebootConfig]{ + OutputState: o.OutputState, + } +} + func (o PatchConfigRebootConfigPtrOutput) Elem() PatchConfigRebootConfigOutput { return o.ApplyT(func(v *PatchConfigRebootConfig) PatchConfigRebootConfig { if v != nil { @@ -1036,6 +1139,12 @@ func (in *patchConfigRebootConfigPtr) ToPatchConfigRebootConfigPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(PatchConfigRebootConfigPtrOutput) } +func (in *patchConfigRebootConfigPtr) ToOutput(ctx context.Context) pulumix.Output[*PatchConfigRebootConfig] { + return pulumix.Output[*PatchConfigRebootConfig]{ + OutputState: in.ToPatchConfigRebootConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Mode of the patch rollout. type PatchRolloutMode string @@ -1108,6 +1217,12 @@ func (o PatchRolloutModeOutput) ToPatchRolloutModePtrOutputWithContext(ctx conte }).(PatchRolloutModePtrOutput) } +func (o PatchRolloutModeOutput) ToOutput(ctx context.Context) pulumix.Output[PatchRolloutMode] { + return pulumix.Output[PatchRolloutMode]{ + OutputState: o.OutputState, + } +} + func (o PatchRolloutModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1143,6 +1258,12 @@ func (o PatchRolloutModePtrOutput) ToPatchRolloutModePtrOutputWithContext(ctx co return o } +func (o PatchRolloutModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PatchRolloutMode] { + return pulumix.Output[*PatchRolloutMode]{ + OutputState: o.OutputState, + } +} + func (o PatchRolloutModePtrOutput) Elem() PatchRolloutModeOutput { return o.ApplyT(func(v *PatchRolloutMode) PatchRolloutMode { if v != nil { @@ -1205,6 +1326,12 @@ func (in *patchRolloutModePtr) ToPatchRolloutModePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(PatchRolloutModePtrOutput) } +func (in *patchRolloutModePtr) ToOutput(ctx context.Context) pulumix.Output[*PatchRolloutMode] { + return pulumix.Output[*PatchRolloutMode]{ + OutputState: in.ToPatchRolloutModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The frequency unit of this recurring schedule. type RecurringScheduleFrequency string @@ -1279,6 +1406,12 @@ func (o RecurringScheduleFrequencyOutput) ToRecurringScheduleFrequencyPtrOutputW }).(RecurringScheduleFrequencyPtrOutput) } +func (o RecurringScheduleFrequencyOutput) ToOutput(ctx context.Context) pulumix.Output[RecurringScheduleFrequency] { + return pulumix.Output[RecurringScheduleFrequency]{ + OutputState: o.OutputState, + } +} + func (o RecurringScheduleFrequencyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1314,6 +1447,12 @@ func (o RecurringScheduleFrequencyPtrOutput) ToRecurringScheduleFrequencyPtrOutp return o } +func (o RecurringScheduleFrequencyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RecurringScheduleFrequency] { + return pulumix.Output[*RecurringScheduleFrequency]{ + OutputState: o.OutputState, + } +} + func (o RecurringScheduleFrequencyPtrOutput) Elem() RecurringScheduleFrequencyOutput { return o.ApplyT(func(v *RecurringScheduleFrequency) RecurringScheduleFrequency { if v != nil { @@ -1376,6 +1515,12 @@ func (in *recurringScheduleFrequencyPtr) ToRecurringScheduleFrequencyPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(RecurringScheduleFrequencyPtrOutput) } +func (in *recurringScheduleFrequencyPtr) ToOutput(ctx context.Context) pulumix.Output[*RecurringScheduleFrequency] { + return pulumix.Output[*RecurringScheduleFrequency]{ + OutputState: in.ToRecurringScheduleFrequencyPtrOutputWithContext(ctx).OutputState, + } +} + // Default is INSTALLED. The desired state the agent should maintain for this recipe. INSTALLED: The software recipe is installed on the instance but won't be updated to new versions. UPDATED: The software recipe is installed on the instance. The recipe is updated to a higher version, if a higher version of the recipe is assigned to this instance. REMOVE: Remove is unsupported for software recipes and attempts to create or update a recipe to the REMOVE state is rejected. type SoftwareRecipeDesiredState string @@ -1450,6 +1595,12 @@ func (o SoftwareRecipeDesiredStateOutput) ToSoftwareRecipeDesiredStatePtrOutputW }).(SoftwareRecipeDesiredStatePtrOutput) } +func (o SoftwareRecipeDesiredStateOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeDesiredState] { + return pulumix.Output[SoftwareRecipeDesiredState]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeDesiredStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1485,6 +1636,12 @@ func (o SoftwareRecipeDesiredStatePtrOutput) ToSoftwareRecipeDesiredStatePtrOutp return o } +func (o SoftwareRecipeDesiredStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeDesiredState] { + return pulumix.Output[*SoftwareRecipeDesiredState]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeDesiredStatePtrOutput) Elem() SoftwareRecipeDesiredStateOutput { return o.ApplyT(func(v *SoftwareRecipeDesiredState) SoftwareRecipeDesiredState { if v != nil { @@ -1547,6 +1704,12 @@ func (in *softwareRecipeDesiredStatePtr) ToSoftwareRecipeDesiredStatePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(SoftwareRecipeDesiredStatePtrOutput) } +func (in *softwareRecipeDesiredStatePtr) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeDesiredState] { + return pulumix.Output[*SoftwareRecipeDesiredState]{ + OutputState: in.ToSoftwareRecipeDesiredStatePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of the archive to extract. type SoftwareRecipeStepExtractArchiveType string @@ -1627,6 +1790,12 @@ func (o SoftwareRecipeStepExtractArchiveTypeOutput) ToSoftwareRecipeStepExtractA }).(SoftwareRecipeStepExtractArchiveTypePtrOutput) } +func (o SoftwareRecipeStepExtractArchiveTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepExtractArchiveType] { + return pulumix.Output[SoftwareRecipeStepExtractArchiveType]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepExtractArchiveTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1662,6 +1831,12 @@ func (o SoftwareRecipeStepExtractArchiveTypePtrOutput) ToSoftwareRecipeStepExtra return o } +func (o SoftwareRecipeStepExtractArchiveTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepExtractArchiveType] { + return pulumix.Output[*SoftwareRecipeStepExtractArchiveType]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepExtractArchiveTypePtrOutput) Elem() SoftwareRecipeStepExtractArchiveTypeOutput { return o.ApplyT(func(v *SoftwareRecipeStepExtractArchiveType) SoftwareRecipeStepExtractArchiveType { if v != nil { @@ -1724,6 +1899,12 @@ func (in *softwareRecipeStepExtractArchiveTypePtr) ToSoftwareRecipeStepExtractAr return pulumi.ToOutputWithContext(ctx, in).(SoftwareRecipeStepExtractArchiveTypePtrOutput) } +func (in *softwareRecipeStepExtractArchiveTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepExtractArchiveType] { + return pulumix.Output[*SoftwareRecipeStepExtractArchiveType]{ + OutputState: in.ToSoftwareRecipeStepExtractArchiveTypePtrOutputWithContext(ctx).OutputState, + } +} + // The script interpreter to use to run the script. If no interpreter is specified the script is executed directly, which likely only succeed for scripts with [shebang lines](). type SoftwareRecipeStepRunScriptInterpreter string @@ -1796,6 +1977,12 @@ func (o SoftwareRecipeStepRunScriptInterpreterOutput) ToSoftwareRecipeStepRunScr }).(SoftwareRecipeStepRunScriptInterpreterPtrOutput) } +func (o SoftwareRecipeStepRunScriptInterpreterOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepRunScriptInterpreter] { + return pulumix.Output[SoftwareRecipeStepRunScriptInterpreter]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepRunScriptInterpreterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1831,6 +2018,12 @@ func (o SoftwareRecipeStepRunScriptInterpreterPtrOutput) ToSoftwareRecipeStepRun return o } +func (o SoftwareRecipeStepRunScriptInterpreterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepRunScriptInterpreter] { + return pulumix.Output[*SoftwareRecipeStepRunScriptInterpreter]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepRunScriptInterpreterPtrOutput) Elem() SoftwareRecipeStepRunScriptInterpreterOutput { return o.ApplyT(func(v *SoftwareRecipeStepRunScriptInterpreter) SoftwareRecipeStepRunScriptInterpreter { if v != nil { @@ -1893,6 +2086,12 @@ func (in *softwareRecipeStepRunScriptInterpreterPtr) ToSoftwareRecipeStepRunScri return pulumi.ToOutputWithContext(ctx, in).(SoftwareRecipeStepRunScriptInterpreterPtrOutput) } +func (in *softwareRecipeStepRunScriptInterpreterPtr) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepRunScriptInterpreter] { + return pulumix.Output[*SoftwareRecipeStepRunScriptInterpreter]{ + OutputState: in.ToSoftwareRecipeStepRunScriptInterpreterPtrOutputWithContext(ctx).OutputState, + } +} + // Required. A day of the week. type WeekDayOfMonthDayOfWeek string @@ -1975,6 +2174,12 @@ func (o WeekDayOfMonthDayOfWeekOutput) ToWeekDayOfMonthDayOfWeekPtrOutputWithCon }).(WeekDayOfMonthDayOfWeekPtrOutput) } +func (o WeekDayOfMonthDayOfWeekOutput) ToOutput(ctx context.Context) pulumix.Output[WeekDayOfMonthDayOfWeek] { + return pulumix.Output[WeekDayOfMonthDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o WeekDayOfMonthDayOfWeekOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2010,6 +2215,12 @@ func (o WeekDayOfMonthDayOfWeekPtrOutput) ToWeekDayOfMonthDayOfWeekPtrOutputWith return o } +func (o WeekDayOfMonthDayOfWeekPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WeekDayOfMonthDayOfWeek] { + return pulumix.Output[*WeekDayOfMonthDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o WeekDayOfMonthDayOfWeekPtrOutput) Elem() WeekDayOfMonthDayOfWeekOutput { return o.ApplyT(func(v *WeekDayOfMonthDayOfWeek) WeekDayOfMonthDayOfWeek { if v != nil { @@ -2072,6 +2283,12 @@ func (in *weekDayOfMonthDayOfWeekPtr) ToWeekDayOfMonthDayOfWeekPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(WeekDayOfMonthDayOfWeekPtrOutput) } +func (in *weekDayOfMonthDayOfWeekPtr) ToOutput(ctx context.Context) pulumix.Output[*WeekDayOfMonthDayOfWeek] { + return pulumix.Output[*WeekDayOfMonthDayOfWeek]{ + OutputState: in.ToWeekDayOfMonthDayOfWeekPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Day of the week. type WeeklyScheduleDayOfWeek string @@ -2154,6 +2371,12 @@ func (o WeeklyScheduleDayOfWeekOutput) ToWeeklyScheduleDayOfWeekPtrOutputWithCon }).(WeeklyScheduleDayOfWeekPtrOutput) } +func (o WeeklyScheduleDayOfWeekOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyScheduleDayOfWeek] { + return pulumix.Output[WeeklyScheduleDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o WeeklyScheduleDayOfWeekOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2189,6 +2412,12 @@ func (o WeeklyScheduleDayOfWeekPtrOutput) ToWeeklyScheduleDayOfWeekPtrOutputWith return o } +func (o WeeklyScheduleDayOfWeekPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WeeklyScheduleDayOfWeek] { + return pulumix.Output[*WeeklyScheduleDayOfWeek]{ + OutputState: o.OutputState, + } +} + func (o WeeklyScheduleDayOfWeekPtrOutput) Elem() WeeklyScheduleDayOfWeekOutput { return o.ApplyT(func(v *WeeklyScheduleDayOfWeek) WeeklyScheduleDayOfWeek { if v != nil { @@ -2251,6 +2480,12 @@ func (in *weeklyScheduleDayOfWeekPtr) ToWeeklyScheduleDayOfWeekPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(WeeklyScheduleDayOfWeekPtrOutput) } +func (in *weeklyScheduleDayOfWeekPtr) ToOutput(ctx context.Context) pulumix.Output[*WeeklyScheduleDayOfWeek] { + return pulumix.Output[*WeeklyScheduleDayOfWeek]{ + OutputState: in.ToWeeklyScheduleDayOfWeekPtrOutputWithContext(ctx).OutputState, + } +} + type WindowsUpdateSettingsClassificationsItem string const ( @@ -2336,6 +2571,12 @@ func (o WindowsUpdateSettingsClassificationsItemOutput) ToWindowsUpdateSettingsC }).(WindowsUpdateSettingsClassificationsItemPtrOutput) } +func (o WindowsUpdateSettingsClassificationsItemOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdateSettingsClassificationsItem] { + return pulumix.Output[WindowsUpdateSettingsClassificationsItem]{ + OutputState: o.OutputState, + } +} + func (o WindowsUpdateSettingsClassificationsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2371,6 +2612,12 @@ func (o WindowsUpdateSettingsClassificationsItemPtrOutput) ToWindowsUpdateSettin return o } +func (o WindowsUpdateSettingsClassificationsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WindowsUpdateSettingsClassificationsItem] { + return pulumix.Output[*WindowsUpdateSettingsClassificationsItem]{ + OutputState: o.OutputState, + } +} + func (o WindowsUpdateSettingsClassificationsItemPtrOutput) Elem() WindowsUpdateSettingsClassificationsItemOutput { return o.ApplyT(func(v *WindowsUpdateSettingsClassificationsItem) WindowsUpdateSettingsClassificationsItem { if v != nil { @@ -2433,6 +2680,12 @@ func (in *windowsUpdateSettingsClassificationsItemPtr) ToWindowsUpdateSettingsCl return pulumi.ToOutputWithContext(ctx, in).(WindowsUpdateSettingsClassificationsItemPtrOutput) } +func (in *windowsUpdateSettingsClassificationsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*WindowsUpdateSettingsClassificationsItem] { + return pulumix.Output[*WindowsUpdateSettingsClassificationsItem]{ + OutputState: in.ToWindowsUpdateSettingsClassificationsItemPtrOutputWithContext(ctx).OutputState, + } +} + // WindowsUpdateSettingsClassificationsItemArrayInput is an input type that accepts WindowsUpdateSettingsClassificationsItemArray and WindowsUpdateSettingsClassificationsItemArrayOutput values. // You can construct a concrete instance of `WindowsUpdateSettingsClassificationsItemArrayInput` via: // @@ -2458,6 +2711,12 @@ func (i WindowsUpdateSettingsClassificationsItemArray) ToWindowsUpdateSettingsCl return pulumi.ToOutputWithContext(ctx, i).(WindowsUpdateSettingsClassificationsItemArrayOutput) } +func (i WindowsUpdateSettingsClassificationsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]WindowsUpdateSettingsClassificationsItem] { + return pulumix.Output[[]WindowsUpdateSettingsClassificationsItem]{ + OutputState: i.ToWindowsUpdateSettingsClassificationsItemArrayOutputWithContext(ctx).OutputState, + } +} + type WindowsUpdateSettingsClassificationsItemArrayOutput struct{ *pulumi.OutputState } func (WindowsUpdateSettingsClassificationsItemArrayOutput) ElementType() reflect.Type { @@ -2472,6 +2731,12 @@ func (o WindowsUpdateSettingsClassificationsItemArrayOutput) ToWindowsUpdateSett return o } +func (o WindowsUpdateSettingsClassificationsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WindowsUpdateSettingsClassificationsItem] { + return pulumix.Output[[]WindowsUpdateSettingsClassificationsItem]{ + OutputState: o.OutputState, + } +} + func (o WindowsUpdateSettingsClassificationsItemArrayOutput) Index(i pulumi.IntInput) WindowsUpdateSettingsClassificationsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WindowsUpdateSettingsClassificationsItem { return vs[0].([]WindowsUpdateSettingsClassificationsItem)[vs[1].(int)] diff --git a/sdk/go/google/osconfig/v1beta/pulumiTypes.go b/sdk/go/google/osconfig/v1beta/pulumiTypes.go index d728fec070..02fd44b94e 100644 --- a/sdk/go/google/osconfig/v1beta/pulumiTypes.go +++ b/sdk/go/google/osconfig/v1beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -64,6 +65,12 @@ func (i AptRepositoryArgs) ToAptRepositoryOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AptRepositoryOutput) } +func (i AptRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[AptRepository] { + return pulumix.Output[AptRepository]{ + OutputState: i.ToAptRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i AptRepositoryArgs) ToAptRepositoryPtrOutput() AptRepositoryPtrOutput { return i.ToAptRepositoryPtrOutputWithContext(context.Background()) } @@ -105,6 +112,12 @@ func (i *aptRepositoryPtrType) ToAptRepositoryPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AptRepositoryPtrOutput) } +func (i *aptRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*AptRepository] { + return pulumix.Output[*AptRepository]{ + OutputState: i.ToAptRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single Apt package repository. This repository is added to a repo file that is stored at `/etc/apt/sources.list.d/google_osconfig.list`. type AptRepositoryOutput struct{ *pulumi.OutputState } @@ -130,6 +143,12 @@ func (o AptRepositoryOutput) ToAptRepositoryPtrOutputWithContext(ctx context.Con }).(AptRepositoryPtrOutput) } +func (o AptRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[AptRepository] { + return pulumix.Output[AptRepository]{ + OutputState: o.OutputState, + } +} + // Type of archive files in this repository. The default behavior is DEB. func (o AptRepositoryOutput) ArchiveType() AptRepositoryArchiveTypePtrOutput { return o.ApplyT(func(v AptRepository) *AptRepositoryArchiveType { return v.ArchiveType }).(AptRepositoryArchiveTypePtrOutput) @@ -169,6 +188,12 @@ func (o AptRepositoryPtrOutput) ToAptRepositoryPtrOutputWithContext(ctx context. return o } +func (o AptRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AptRepository] { + return pulumix.Output[*AptRepository]{ + OutputState: o.OutputState, + } +} + func (o AptRepositoryPtrOutput) Elem() AptRepositoryOutput { return o.ApplyT(func(v *AptRepository) AptRepository { if v != nil { @@ -258,6 +283,12 @@ func (o AptRepositoryResponseOutput) ToAptRepositoryResponseOutputWithContext(ct return o } +func (o AptRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AptRepositoryResponse] { + return pulumix.Output[AptRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // Type of archive files in this repository. The default behavior is DEB. func (o AptRepositoryResponseOutput) ArchiveType() pulumi.StringOutput { return o.ApplyT(func(v AptRepositoryResponse) string { return v.ArchiveType }).(pulumi.StringOutput) @@ -326,6 +357,12 @@ func (i AptSettingsArgs) ToAptSettingsOutputWithContext(ctx context.Context) Apt return pulumi.ToOutputWithContext(ctx, i).(AptSettingsOutput) } +func (i AptSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[AptSettings] { + return pulumix.Output[AptSettings]{ + OutputState: i.ToAptSettingsOutputWithContext(ctx).OutputState, + } +} + func (i AptSettingsArgs) ToAptSettingsPtrOutput() AptSettingsPtrOutput { return i.ToAptSettingsPtrOutputWithContext(context.Background()) } @@ -367,6 +404,12 @@ func (i *aptSettingsPtrType) ToAptSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AptSettingsPtrOutput) } +func (i *aptSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AptSettings] { + return pulumix.Output[*AptSettings]{ + OutputState: i.ToAptSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Apt patching is completed by executing `apt-get update && apt-get upgrade`. Additional options can be set to control how this is executed. type AptSettingsOutput struct{ *pulumi.OutputState } @@ -392,6 +435,12 @@ func (o AptSettingsOutput) ToAptSettingsPtrOutputWithContext(ctx context.Context }).(AptSettingsPtrOutput) } +func (o AptSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[AptSettings] { + return pulumix.Output[AptSettings]{ + OutputState: o.OutputState, + } +} + // List of packages to exclude from update. These packages will be excluded func (o AptSettingsOutput) Excludes() pulumi.StringArrayOutput { return o.ApplyT(func(v AptSettings) []string { return v.Excludes }).(pulumi.StringArrayOutput) @@ -421,6 +470,12 @@ func (o AptSettingsPtrOutput) ToAptSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o AptSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AptSettings] { + return pulumix.Output[*AptSettings]{ + OutputState: o.OutputState, + } +} + func (o AptSettingsPtrOutput) Elem() AptSettingsOutput { return o.ApplyT(func(v *AptSettings) AptSettings { if v != nil { @@ -486,6 +541,12 @@ func (o AptSettingsResponseOutput) ToAptSettingsResponseOutputWithContext(ctx co return o } +func (o AptSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AptSettingsResponse] { + return pulumix.Output[AptSettingsResponse]{ + OutputState: o.OutputState, + } +} + // List of packages to exclude from update. These packages will be excluded func (o AptSettingsResponseOutput) Excludes() pulumi.StringArrayOutput { return o.ApplyT(func(v AptSettingsResponse) []string { return v.Excludes }).(pulumi.StringArrayOutput) @@ -552,6 +613,12 @@ func (i AssignmentArgs) ToAssignmentOutputWithContext(ctx context.Context) Assig return pulumi.ToOutputWithContext(ctx, i).(AssignmentOutput) } +func (i AssignmentArgs) ToOutput(ctx context.Context) pulumix.Output[Assignment] { + return pulumix.Output[Assignment]{ + OutputState: i.ToAssignmentOutputWithContext(ctx).OutputState, + } +} + // An assignment represents the group or groups of VM instances that the policy applies to. If an assignment is empty, it applies to all VM instances. Otherwise, the targeted VM instances must meet all the criteria specified. So if both labels and zones are specified, the policy applies to VM instances with those labels and in those zones. type AssignmentOutput struct{ *pulumi.OutputState } @@ -567,6 +634,12 @@ func (o AssignmentOutput) ToAssignmentOutputWithContext(ctx context.Context) Ass return o } +func (o AssignmentOutput) ToOutput(ctx context.Context) pulumix.Output[Assignment] { + return pulumix.Output[Assignment]{ + OutputState: o.OutputState, + } +} + // Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging". func (o AssignmentOutput) GroupLabels() AssignmentGroupLabelArrayOutput { return o.ApplyT(func(v Assignment) []AssignmentGroupLabel { return v.GroupLabels }).(AssignmentGroupLabelArrayOutput) @@ -627,6 +700,12 @@ func (i AssignmentGroupLabelArgs) ToAssignmentGroupLabelOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AssignmentGroupLabelOutput) } +func (i AssignmentGroupLabelArgs) ToOutput(ctx context.Context) pulumix.Output[AssignmentGroupLabel] { + return pulumix.Output[AssignmentGroupLabel]{ + OutputState: i.ToAssignmentGroupLabelOutputWithContext(ctx).OutputState, + } +} + // AssignmentGroupLabelArrayInput is an input type that accepts AssignmentGroupLabelArray and AssignmentGroupLabelArrayOutput values. // You can construct a concrete instance of `AssignmentGroupLabelArrayInput` via: // @@ -652,6 +731,12 @@ func (i AssignmentGroupLabelArray) ToAssignmentGroupLabelArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AssignmentGroupLabelArrayOutput) } +func (i AssignmentGroupLabelArray) ToOutput(ctx context.Context) pulumix.Output[[]AssignmentGroupLabel] { + return pulumix.Output[[]AssignmentGroupLabel]{ + OutputState: i.ToAssignmentGroupLabelArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a group of VM intances that can be identified as having all these labels, for example "env=prod and app=web". type AssignmentGroupLabelOutput struct{ *pulumi.OutputState } @@ -667,6 +752,12 @@ func (o AssignmentGroupLabelOutput) ToAssignmentGroupLabelOutputWithContext(ctx return o } +func (o AssignmentGroupLabelOutput) ToOutput(ctx context.Context) pulumix.Output[AssignmentGroupLabel] { + return pulumix.Output[AssignmentGroupLabel]{ + OutputState: o.OutputState, + } +} + // Google Compute Engine instance labels that must be present for an instance to be included in this assignment group. func (o AssignmentGroupLabelOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v AssignmentGroupLabel) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -686,6 +777,12 @@ func (o AssignmentGroupLabelArrayOutput) ToAssignmentGroupLabelArrayOutputWithCo return o } +func (o AssignmentGroupLabelArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AssignmentGroupLabel] { + return pulumix.Output[[]AssignmentGroupLabel]{ + OutputState: o.OutputState, + } +} + func (o AssignmentGroupLabelArrayOutput) Index(i pulumi.IntInput) AssignmentGroupLabelOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AssignmentGroupLabel { return vs[0].([]AssignmentGroupLabel)[vs[1].(int)] @@ -713,6 +810,12 @@ func (o AssignmentGroupLabelResponseOutput) ToAssignmentGroupLabelResponseOutput return o } +func (o AssignmentGroupLabelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AssignmentGroupLabelResponse] { + return pulumix.Output[AssignmentGroupLabelResponse]{ + OutputState: o.OutputState, + } +} + // Google Compute Engine instance labels that must be present for an instance to be included in this assignment group. func (o AssignmentGroupLabelResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v AssignmentGroupLabelResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -732,6 +835,12 @@ func (o AssignmentGroupLabelResponseArrayOutput) ToAssignmentGroupLabelResponseA return o } +func (o AssignmentGroupLabelResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AssignmentGroupLabelResponse] { + return pulumix.Output[[]AssignmentGroupLabelResponse]{ + OutputState: o.OutputState, + } +} + func (o AssignmentGroupLabelResponseArrayOutput) Index(i pulumi.IntInput) AssignmentGroupLabelResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AssignmentGroupLabelResponse { return vs[0].([]AssignmentGroupLabelResponse)[vs[1].(int)] @@ -781,6 +890,12 @@ func (i AssignmentOsTypeArgs) ToAssignmentOsTypeOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AssignmentOsTypeOutput) } +func (i AssignmentOsTypeArgs) ToOutput(ctx context.Context) pulumix.Output[AssignmentOsType] { + return pulumix.Output[AssignmentOsType]{ + OutputState: i.ToAssignmentOsTypeOutputWithContext(ctx).OutputState, + } +} + // AssignmentOsTypeArrayInput is an input type that accepts AssignmentOsTypeArray and AssignmentOsTypeArrayOutput values. // You can construct a concrete instance of `AssignmentOsTypeArrayInput` via: // @@ -806,6 +921,12 @@ func (i AssignmentOsTypeArray) ToAssignmentOsTypeArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AssignmentOsTypeArrayOutput) } +func (i AssignmentOsTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]AssignmentOsType] { + return pulumix.Output[[]AssignmentOsType]{ + OutputState: i.ToAssignmentOsTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Defines the criteria for selecting VM Instances by OS type. type AssignmentOsTypeOutput struct{ *pulumi.OutputState } @@ -821,6 +942,12 @@ func (o AssignmentOsTypeOutput) ToAssignmentOsTypeOutputWithContext(ctx context. return o } +func (o AssignmentOsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AssignmentOsType] { + return pulumix.Output[AssignmentOsType]{ + OutputState: o.OutputState, + } +} + // Targets VM instances with OS Inventory enabled and having the following OS architecture. func (o AssignmentOsTypeOutput) OsArchitecture() pulumi.StringPtrOutput { return o.ApplyT(func(v AssignmentOsType) *string { return v.OsArchitecture }).(pulumi.StringPtrOutput) @@ -850,6 +977,12 @@ func (o AssignmentOsTypeArrayOutput) ToAssignmentOsTypeArrayOutputWithContext(ct return o } +func (o AssignmentOsTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AssignmentOsType] { + return pulumix.Output[[]AssignmentOsType]{ + OutputState: o.OutputState, + } +} + func (o AssignmentOsTypeArrayOutput) Index(i pulumi.IntInput) AssignmentOsTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AssignmentOsType { return vs[0].([]AssignmentOsType)[vs[1].(int)] @@ -881,6 +1014,12 @@ func (o AssignmentOsTypeResponseOutput) ToAssignmentOsTypeResponseOutputWithCont return o } +func (o AssignmentOsTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AssignmentOsTypeResponse] { + return pulumix.Output[AssignmentOsTypeResponse]{ + OutputState: o.OutputState, + } +} + // Targets VM instances with OS Inventory enabled and having the following OS architecture. func (o AssignmentOsTypeResponseOutput) OsArchitecture() pulumi.StringOutput { return o.ApplyT(func(v AssignmentOsTypeResponse) string { return v.OsArchitecture }).(pulumi.StringOutput) @@ -910,6 +1049,12 @@ func (o AssignmentOsTypeResponseArrayOutput) ToAssignmentOsTypeResponseArrayOutp return o } +func (o AssignmentOsTypeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AssignmentOsTypeResponse] { + return pulumix.Output[[]AssignmentOsTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o AssignmentOsTypeResponseArrayOutput) Index(i pulumi.IntInput) AssignmentOsTypeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AssignmentOsTypeResponse { return vs[0].([]AssignmentOsTypeResponse)[vs[1].(int)] @@ -945,6 +1090,12 @@ func (o AssignmentResponseOutput) ToAssignmentResponseOutputWithContext(ctx cont return o } +func (o AssignmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AssignmentResponse] { + return pulumix.Output[AssignmentResponse]{ + OutputState: o.OutputState, + } +} + // Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging". func (o AssignmentResponseOutput) GroupLabels() AssignmentGroupLabelResponseArrayOutput { return o.ApplyT(func(v AssignmentResponse) []AssignmentGroupLabelResponse { return v.GroupLabels }).(AssignmentGroupLabelResponseArrayOutput) @@ -1009,6 +1160,12 @@ func (i ExecStepArgs) ToExecStepOutputWithContext(ctx context.Context) ExecStepO return pulumi.ToOutputWithContext(ctx, i).(ExecStepOutput) } +func (i ExecStepArgs) ToOutput(ctx context.Context) pulumix.Output[ExecStep] { + return pulumix.Output[ExecStep]{ + OutputState: i.ToExecStepOutputWithContext(ctx).OutputState, + } +} + func (i ExecStepArgs) ToExecStepPtrOutput() ExecStepPtrOutput { return i.ToExecStepPtrOutputWithContext(context.Background()) } @@ -1050,6 +1207,12 @@ func (i *execStepPtrType) ToExecStepPtrOutputWithContext(ctx context.Context) Ex return pulumi.ToOutputWithContext(ctx, i).(ExecStepPtrOutput) } +func (i *execStepPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExecStep] { + return pulumix.Output[*ExecStep]{ + OutputState: i.ToExecStepPtrOutputWithContext(ctx).OutputState, + } +} + // A step that runs an executable for a PatchJob. type ExecStepOutput struct{ *pulumi.OutputState } @@ -1075,6 +1238,12 @@ func (o ExecStepOutput) ToExecStepPtrOutputWithContext(ctx context.Context) Exec }).(ExecStepPtrOutput) } +func (o ExecStepOutput) ToOutput(ctx context.Context) pulumix.Output[ExecStep] { + return pulumix.Output[ExecStep]{ + OutputState: o.OutputState, + } +} + // The ExecStepConfig for all Linux VMs targeted by the PatchJob. func (o ExecStepOutput) LinuxExecStepConfig() ExecStepConfigPtrOutput { return o.ApplyT(func(v ExecStep) *ExecStepConfig { return v.LinuxExecStepConfig }).(ExecStepConfigPtrOutput) @@ -1099,6 +1268,12 @@ func (o ExecStepPtrOutput) ToExecStepPtrOutputWithContext(ctx context.Context) E return o } +func (o ExecStepPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecStep] { + return pulumix.Output[*ExecStep]{ + OutputState: o.OutputState, + } +} + func (o ExecStepPtrOutput) Elem() ExecStepOutput { return o.ApplyT(func(v *ExecStep) ExecStep { if v != nil { @@ -1176,6 +1351,12 @@ func (i ExecStepConfigArgs) ToExecStepConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ExecStepConfigOutput) } +func (i ExecStepConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ExecStepConfig] { + return pulumix.Output[ExecStepConfig]{ + OutputState: i.ToExecStepConfigOutputWithContext(ctx).OutputState, + } +} + func (i ExecStepConfigArgs) ToExecStepConfigPtrOutput() ExecStepConfigPtrOutput { return i.ToExecStepConfigPtrOutputWithContext(context.Background()) } @@ -1217,6 +1398,12 @@ func (i *execStepConfigPtrType) ToExecStepConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ExecStepConfigPtrOutput) } +func (i *execStepConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExecStepConfig] { + return pulumix.Output[*ExecStepConfig]{ + OutputState: i.ToExecStepConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Common configurations for an ExecStep. type ExecStepConfigOutput struct{ *pulumi.OutputState } @@ -1242,6 +1429,12 @@ func (o ExecStepConfigOutput) ToExecStepConfigPtrOutputWithContext(ctx context.C }).(ExecStepConfigPtrOutput) } +func (o ExecStepConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ExecStepConfig] { + return pulumix.Output[ExecStepConfig]{ + OutputState: o.OutputState, + } +} + // Defaults to [0]. A list of possible return values that the execution can return to indicate a success. func (o ExecStepConfigOutput) AllowedSuccessCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v ExecStepConfig) []int { return v.AllowedSuccessCodes }).(pulumi.IntArrayOutput) @@ -1276,6 +1469,12 @@ func (o ExecStepConfigPtrOutput) ToExecStepConfigPtrOutputWithContext(ctx contex return o } +func (o ExecStepConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecStepConfig] { + return pulumix.Output[*ExecStepConfig]{ + OutputState: o.OutputState, + } +} + func (o ExecStepConfigPtrOutput) Elem() ExecStepConfigOutput { return o.ApplyT(func(v *ExecStepConfig) ExecStepConfig { if v != nil { @@ -1353,6 +1552,12 @@ func (o ExecStepConfigResponseOutput) ToExecStepConfigResponseOutputWithContext( return o } +func (o ExecStepConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecStepConfigResponse] { + return pulumix.Output[ExecStepConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defaults to [0]. A list of possible return values that the execution can return to indicate a success. func (o ExecStepConfigResponseOutput) AllowedSuccessCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v ExecStepConfigResponse) []int { return v.AllowedSuccessCodes }).(pulumi.IntArrayOutput) @@ -1396,6 +1601,12 @@ func (o ExecStepResponseOutput) ToExecStepResponseOutputWithContext(ctx context. return o } +func (o ExecStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecStepResponse] { + return pulumix.Output[ExecStepResponse]{ + OutputState: o.OutputState, + } +} + // The ExecStepConfig for all Linux VMs targeted by the PatchJob. func (o ExecStepResponseOutput) LinuxExecStepConfig() ExecStepConfigResponseOutput { return o.ApplyT(func(v ExecStepResponse) ExecStepConfigResponse { return v.LinuxExecStepConfig }).(ExecStepConfigResponseOutput) @@ -1445,6 +1656,12 @@ func (i FixedOrPercentArgs) ToFixedOrPercentOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentOutput) } +func (i FixedOrPercentArgs) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: i.ToFixedOrPercentOutputWithContext(ctx).OutputState, + } +} + func (i FixedOrPercentArgs) ToFixedOrPercentPtrOutput() FixedOrPercentPtrOutput { return i.ToFixedOrPercentPtrOutputWithContext(context.Background()) } @@ -1486,6 +1703,12 @@ func (i *fixedOrPercentPtrType) ToFixedOrPercentPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(FixedOrPercentPtrOutput) } +func (i *fixedOrPercentPtrType) ToOutput(ctx context.Context) pulumix.Output[*FixedOrPercent] { + return pulumix.Output[*FixedOrPercent]{ + OutputState: i.ToFixedOrPercentPtrOutputWithContext(ctx).OutputState, + } +} + // Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value. type FixedOrPercentOutput struct{ *pulumi.OutputState } @@ -1511,6 +1734,12 @@ func (o FixedOrPercentOutput) ToFixedOrPercentPtrOutputWithContext(ctx context.C }).(FixedOrPercentPtrOutput) } +func (o FixedOrPercentOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercent] { + return pulumix.Output[FixedOrPercent]{ + OutputState: o.OutputState, + } +} + // Specifies a fixed value. func (o FixedOrPercentOutput) Fixed() pulumi.IntPtrOutput { return o.ApplyT(func(v FixedOrPercent) *int { return v.Fixed }).(pulumi.IntPtrOutput) @@ -1535,6 +1764,12 @@ func (o FixedOrPercentPtrOutput) ToFixedOrPercentPtrOutputWithContext(ctx contex return o } +func (o FixedOrPercentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FixedOrPercent] { + return pulumix.Output[*FixedOrPercent]{ + OutputState: o.OutputState, + } +} + func (o FixedOrPercentPtrOutput) Elem() FixedOrPercentOutput { return o.ApplyT(func(v *FixedOrPercent) FixedOrPercent { if v != nil { @@ -1588,6 +1823,12 @@ func (o FixedOrPercentResponseOutput) ToFixedOrPercentResponseOutputWithContext( return o } +func (o FixedOrPercentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FixedOrPercentResponse] { + return pulumix.Output[FixedOrPercentResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a fixed value. func (o FixedOrPercentResponseOutput) Fixed() pulumi.IntOutput { return o.ApplyT(func(v FixedOrPercentResponse) int { return v.Fixed }).(pulumi.IntOutput) @@ -1641,6 +1882,12 @@ func (i GcsObjectArgs) ToGcsObjectOutputWithContext(ctx context.Context) GcsObje return pulumi.ToOutputWithContext(ctx, i).(GcsObjectOutput) } +func (i GcsObjectArgs) ToOutput(ctx context.Context) pulumix.Output[GcsObject] { + return pulumix.Output[GcsObject]{ + OutputState: i.ToGcsObjectOutputWithContext(ctx).OutputState, + } +} + func (i GcsObjectArgs) ToGcsObjectPtrOutput() GcsObjectPtrOutput { return i.ToGcsObjectPtrOutputWithContext(context.Background()) } @@ -1682,6 +1929,12 @@ func (i *gcsObjectPtrType) ToGcsObjectPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GcsObjectPtrOutput) } +func (i *gcsObjectPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcsObject] { + return pulumix.Output[*GcsObject]{ + OutputState: i.ToGcsObjectPtrOutputWithContext(ctx).OutputState, + } +} + // Google Cloud Storage object representation. type GcsObjectOutput struct{ *pulumi.OutputState } @@ -1707,6 +1960,12 @@ func (o GcsObjectOutput) ToGcsObjectPtrOutputWithContext(ctx context.Context) Gc }).(GcsObjectPtrOutput) } +func (o GcsObjectOutput) ToOutput(ctx context.Context) pulumix.Output[GcsObject] { + return pulumix.Output[GcsObject]{ + OutputState: o.OutputState, + } +} + // Bucket of the Google Cloud Storage object. func (o GcsObjectOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v GcsObject) string { return v.Bucket }).(pulumi.StringOutput) @@ -1736,6 +1995,12 @@ func (o GcsObjectPtrOutput) ToGcsObjectPtrOutputWithContext(ctx context.Context) return o } +func (o GcsObjectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcsObject] { + return pulumix.Output[*GcsObject]{ + OutputState: o.OutputState, + } +} + func (o GcsObjectPtrOutput) Elem() GcsObjectOutput { return o.ApplyT(func(v *GcsObject) GcsObject { if v != nil { @@ -1801,6 +2066,12 @@ func (o GcsObjectResponseOutput) ToGcsObjectResponseOutputWithContext(ctx contex return o } +func (o GcsObjectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcsObjectResponse] { + return pulumix.Output[GcsObjectResponse]{ + OutputState: o.OutputState, + } +} + // Bucket of the Google Cloud Storage object. func (o GcsObjectResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v GcsObjectResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -1855,6 +2126,12 @@ func (i GooRepositoryArgs) ToGooRepositoryOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GooRepositoryOutput) } +func (i GooRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[GooRepository] { + return pulumix.Output[GooRepository]{ + OutputState: i.ToGooRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i GooRepositoryArgs) ToGooRepositoryPtrOutput() GooRepositoryPtrOutput { return i.ToGooRepositoryPtrOutputWithContext(context.Background()) } @@ -1896,6 +2173,12 @@ func (i *gooRepositoryPtrType) ToGooRepositoryPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(GooRepositoryPtrOutput) } +func (i *gooRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooRepository] { + return pulumix.Output[*GooRepository]{ + OutputState: i.ToGooRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Goo package repository. These is added to a repo file that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo. type GooRepositoryOutput struct{ *pulumi.OutputState } @@ -1921,6 +2204,12 @@ func (o GooRepositoryOutput) ToGooRepositoryPtrOutputWithContext(ctx context.Con }).(GooRepositoryPtrOutput) } +func (o GooRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[GooRepository] { + return pulumix.Output[GooRepository]{ + OutputState: o.OutputState, + } +} + // The name of the repository. func (o GooRepositoryOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GooRepository) string { return v.Name }).(pulumi.StringOutput) @@ -1945,6 +2234,12 @@ func (o GooRepositoryPtrOutput) ToGooRepositoryPtrOutputWithContext(ctx context. return o } +func (o GooRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooRepository] { + return pulumix.Output[*GooRepository]{ + OutputState: o.OutputState, + } +} + func (o GooRepositoryPtrOutput) Elem() GooRepositoryOutput { return o.ApplyT(func(v *GooRepository) GooRepository { if v != nil { @@ -1998,6 +2293,12 @@ func (o GooRepositoryResponseOutput) ToGooRepositoryResponseOutputWithContext(ct return o } +func (o GooRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooRepositoryResponse] { + return pulumix.Output[GooRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // The name of the repository. func (o GooRepositoryResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GooRepositoryResponse) string { return v.Name }).(pulumi.StringOutput) @@ -2039,6 +2340,12 @@ func (i GooSettingsArgs) ToGooSettingsOutputWithContext(ctx context.Context) Goo return pulumi.ToOutputWithContext(ctx, i).(GooSettingsOutput) } +func (i GooSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GooSettings] { + return pulumix.Output[GooSettings]{ + OutputState: i.ToGooSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GooSettingsArgs) ToGooSettingsPtrOutput() GooSettingsPtrOutput { return i.ToGooSettingsPtrOutputWithContext(context.Background()) } @@ -2080,6 +2387,12 @@ func (i *gooSettingsPtrType) ToGooSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GooSettingsPtrOutput) } +func (i *gooSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GooSettings] { + return pulumix.Output[*GooSettings]{ + OutputState: i.ToGooSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Googet patching is performed by running `googet update`. type GooSettingsOutput struct{ *pulumi.OutputState } @@ -2105,6 +2418,12 @@ func (o GooSettingsOutput) ToGooSettingsPtrOutputWithContext(ctx context.Context }).(GooSettingsPtrOutput) } +func (o GooSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GooSettings] { + return pulumix.Output[GooSettings]{ + OutputState: o.OutputState, + } +} + type GooSettingsPtrOutput struct{ *pulumi.OutputState } func (GooSettingsPtrOutput) ElementType() reflect.Type { @@ -2119,6 +2438,12 @@ func (o GooSettingsPtrOutput) ToGooSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o GooSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GooSettings] { + return pulumix.Output[*GooSettings]{ + OutputState: o.OutputState, + } +} + func (o GooSettingsPtrOutput) Elem() GooSettingsOutput { return o.ApplyT(func(v *GooSettings) GooSettings { if v != nil { @@ -2148,6 +2473,12 @@ func (o GooSettingsResponseOutput) ToGooSettingsResponseOutputWithContext(ctx co return o } +func (o GooSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GooSettingsResponse] { + return pulumix.Output[GooSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month". type MonthlySchedule struct { // One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc. @@ -2187,6 +2518,12 @@ func (i MonthlyScheduleArgs) ToMonthlyScheduleOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(MonthlyScheduleOutput) } +func (i MonthlyScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[MonthlySchedule] { + return pulumix.Output[MonthlySchedule]{ + OutputState: i.ToMonthlyScheduleOutputWithContext(ctx).OutputState, + } +} + // Represents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month". type MonthlyScheduleOutput struct{ *pulumi.OutputState } @@ -2202,6 +2539,12 @@ func (o MonthlyScheduleOutput) ToMonthlyScheduleOutputWithContext(ctx context.Co return o } +func (o MonthlyScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[MonthlySchedule] { + return pulumix.Output[MonthlySchedule]{ + OutputState: o.OutputState, + } +} + // One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc. func (o MonthlyScheduleOutput) MonthDay() pulumi.IntOutput { return o.ApplyT(func(v MonthlySchedule) int { return v.MonthDay }).(pulumi.IntOutput) @@ -2235,6 +2578,12 @@ func (o MonthlyScheduleResponseOutput) ToMonthlyScheduleResponseOutputWithContex return o } +func (o MonthlyScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonthlyScheduleResponse] { + return pulumix.Output[MonthlyScheduleResponse]{ + OutputState: o.OutputState, + } +} + // One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc. func (o MonthlyScheduleResponseOutput) MonthDay() pulumi.IntOutput { return o.ApplyT(func(v MonthlyScheduleResponse) int { return v.MonthDay }).(pulumi.IntOutput) @@ -2280,6 +2629,12 @@ func (i OneTimeScheduleArgs) ToOneTimeScheduleOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OneTimeScheduleOutput) } +func (i OneTimeScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[OneTimeSchedule] { + return pulumix.Output[OneTimeSchedule]{ + OutputState: i.ToOneTimeScheduleOutputWithContext(ctx).OutputState, + } +} + // Sets the time for a one time patch deployment. Timestamp is in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. type OneTimeScheduleOutput struct{ *pulumi.OutputState } @@ -2295,6 +2650,12 @@ func (o OneTimeScheduleOutput) ToOneTimeScheduleOutputWithContext(ctx context.Co return o } +func (o OneTimeScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[OneTimeSchedule] { + return pulumix.Output[OneTimeSchedule]{ + OutputState: o.OutputState, + } +} + // The desired patch job execution time. func (o OneTimeScheduleOutput) ExecuteTime() pulumi.StringOutput { return o.ApplyT(func(v OneTimeSchedule) string { return v.ExecuteTime }).(pulumi.StringOutput) @@ -2321,6 +2682,12 @@ func (o OneTimeScheduleResponseOutput) ToOneTimeScheduleResponseOutputWithContex return o } +func (o OneTimeScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OneTimeScheduleResponse] { + return pulumix.Output[OneTimeScheduleResponse]{ + OutputState: o.OutputState, + } +} + // The desired patch job execution time. func (o OneTimeScheduleResponseOutput) ExecuteTime() pulumi.StringOutput { return o.ApplyT(func(v OneTimeScheduleResponse) string { return v.ExecuteTime }).(pulumi.StringOutput) @@ -2369,6 +2736,12 @@ func (i PackageArgs) ToPackageOutputWithContext(ctx context.Context) PackageOutp return pulumi.ToOutputWithContext(ctx, i).(PackageOutput) } +func (i PackageArgs) ToOutput(ctx context.Context) pulumix.Output[Package] { + return pulumix.Output[Package]{ + OutputState: i.ToPackageOutputWithContext(ctx).OutputState, + } +} + // PackageArrayInput is an input type that accepts PackageArray and PackageArrayOutput values. // You can construct a concrete instance of `PackageArrayInput` via: // @@ -2394,6 +2767,12 @@ func (i PackageArray) ToPackageArrayOutputWithContext(ctx context.Context) Packa return pulumi.ToOutputWithContext(ctx, i).(PackageArrayOutput) } +func (i PackageArray) ToOutput(ctx context.Context) pulumix.Output[[]Package] { + return pulumix.Output[[]Package]{ + OutputState: i.ToPackageArrayOutputWithContext(ctx).OutputState, + } +} + // Package is a reference to the software package to be installed or removed. The agent on the VM instance uses the system package manager to apply the config. These are the commands that the agent uses to install or remove packages. Apt install: `apt-get update && apt-get -y install package1 package2 package3` remove: `apt-get -y remove package1 package2 package3` Yum install: `yum -y install package1 package2 package3` remove: `yum -y remove package1 package2 package3` Zypper install: `zypper install package1 package2 package3` remove: `zypper rm package1 package2` Googet install: `googet -noconfirm install package1 package2 package3` remove: `googet -noconfirm remove package1 package2 package3` type PackageOutput struct{ *pulumi.OutputState } @@ -2409,6 +2788,12 @@ func (o PackageOutput) ToPackageOutputWithContext(ctx context.Context) PackageOu return o } +func (o PackageOutput) ToOutput(ctx context.Context) pulumix.Output[Package] { + return pulumix.Output[Package]{ + OutputState: o.OutputState, + } +} + // The desired_state the agent should maintain for this package. The default is to ensure the package is installed. func (o PackageOutput) DesiredState() PackageDesiredStatePtrOutput { return o.ApplyT(func(v Package) *PackageDesiredState { return v.DesiredState }).(PackageDesiredStatePtrOutput) @@ -2438,6 +2823,12 @@ func (o PackageArrayOutput) ToPackageArrayOutputWithContext(ctx context.Context) return o } +func (o PackageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Package] { + return pulumix.Output[[]Package]{ + OutputState: o.OutputState, + } +} + func (o PackageArrayOutput) Index(i pulumi.IntInput) PackageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Package { return vs[0].([]Package)[vs[1].(int)] @@ -2491,6 +2882,12 @@ func (i PackageRepositoryArgs) ToPackageRepositoryOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PackageRepositoryOutput) } +func (i PackageRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[PackageRepository] { + return pulumix.Output[PackageRepository]{ + OutputState: i.ToPackageRepositoryOutputWithContext(ctx).OutputState, + } +} + // PackageRepositoryArrayInput is an input type that accepts PackageRepositoryArray and PackageRepositoryArrayOutput values. // You can construct a concrete instance of `PackageRepositoryArrayInput` via: // @@ -2516,6 +2913,12 @@ func (i PackageRepositoryArray) ToPackageRepositoryArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PackageRepositoryArrayOutput) } +func (i PackageRepositoryArray) ToOutput(ctx context.Context) pulumix.Output[[]PackageRepository] { + return pulumix.Output[[]PackageRepository]{ + OutputState: i.ToPackageRepositoryArrayOutputWithContext(ctx).OutputState, + } +} + // A package repository. type PackageRepositoryOutput struct{ *pulumi.OutputState } @@ -2531,6 +2934,12 @@ func (o PackageRepositoryOutput) ToPackageRepositoryOutputWithContext(ctx contex return o } +func (o PackageRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[PackageRepository] { + return pulumix.Output[PackageRepository]{ + OutputState: o.OutputState, + } +} + // An Apt Repository. func (o PackageRepositoryOutput) Apt() AptRepositoryPtrOutput { return o.ApplyT(func(v PackageRepository) *AptRepository { return v.Apt }).(AptRepositoryPtrOutput) @@ -2565,6 +2974,12 @@ func (o PackageRepositoryArrayOutput) ToPackageRepositoryArrayOutputWithContext( return o } +func (o PackageRepositoryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PackageRepository] { + return pulumix.Output[[]PackageRepository]{ + OutputState: o.OutputState, + } +} + func (o PackageRepositoryArrayOutput) Index(i pulumi.IntInput) PackageRepositoryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PackageRepository { return vs[0].([]PackageRepository)[vs[1].(int)] @@ -2598,6 +3013,12 @@ func (o PackageRepositoryResponseOutput) ToPackageRepositoryResponseOutputWithCo return o } +func (o PackageRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageRepositoryResponse] { + return pulumix.Output[PackageRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // An Apt Repository. func (o PackageRepositoryResponseOutput) Apt() AptRepositoryResponseOutput { return o.ApplyT(func(v PackageRepositoryResponse) AptRepositoryResponse { return v.Apt }).(AptRepositoryResponseOutput) @@ -2632,6 +3053,12 @@ func (o PackageRepositoryResponseArrayOutput) ToPackageRepositoryResponseArrayOu return o } +func (o PackageRepositoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PackageRepositoryResponse] { + return pulumix.Output[[]PackageRepositoryResponse]{ + OutputState: o.OutputState, + } +} + func (o PackageRepositoryResponseArrayOutput) Index(i pulumi.IntInput) PackageRepositoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PackageRepositoryResponse { return vs[0].([]PackageRepositoryResponse)[vs[1].(int)] @@ -2663,6 +3090,12 @@ func (o PackageResponseOutput) ToPackageResponseOutputWithContext(ctx context.Co return o } +func (o PackageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PackageResponse] { + return pulumix.Output[PackageResponse]{ + OutputState: o.OutputState, + } +} + // The desired_state the agent should maintain for this package. The default is to ensure the package is installed. func (o PackageResponseOutput) DesiredState() pulumi.StringOutput { return o.ApplyT(func(v PackageResponse) string { return v.DesiredState }).(pulumi.StringOutput) @@ -2692,6 +3125,12 @@ func (o PackageResponseArrayOutput) ToPackageResponseArrayOutputWithContext(ctx return o } +func (o PackageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PackageResponse] { + return pulumix.Output[[]PackageResponse]{ + OutputState: o.OutputState, + } +} + func (o PackageResponseArrayOutput) Index(i pulumi.IntInput) PackageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PackageResponse { return vs[0].([]PackageResponse)[vs[1].(int)] @@ -2765,6 +3204,12 @@ func (i PatchConfigArgs) ToPatchConfigOutputWithContext(ctx context.Context) Pat return pulumi.ToOutputWithContext(ctx, i).(PatchConfigOutput) } +func (i PatchConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PatchConfig] { + return pulumix.Output[PatchConfig]{ + OutputState: i.ToPatchConfigOutputWithContext(ctx).OutputState, + } +} + func (i PatchConfigArgs) ToPatchConfigPtrOutput() PatchConfigPtrOutput { return i.ToPatchConfigPtrOutputWithContext(context.Background()) } @@ -2806,6 +3251,12 @@ func (i *patchConfigPtrType) ToPatchConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PatchConfigPtrOutput) } +func (i *patchConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PatchConfig] { + return pulumix.Output[*PatchConfig]{ + OutputState: i.ToPatchConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Patch configuration specifications. Contains details on how to apply the patch(es) to a VM instance. type PatchConfigOutput struct{ *pulumi.OutputState } @@ -2831,6 +3282,12 @@ func (o PatchConfigOutput) ToPatchConfigPtrOutputWithContext(ctx context.Context }).(PatchConfigPtrOutput) } +func (o PatchConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PatchConfig] { + return pulumix.Output[PatchConfig]{ + OutputState: o.OutputState, + } +} + // Apt update settings. Use this setting to override the default `apt` patch rules. func (o PatchConfigOutput) Apt() AptSettingsPtrOutput { return o.ApplyT(func(v PatchConfig) *AptSettings { return v.Apt }).(AptSettingsPtrOutput) @@ -2890,6 +3347,12 @@ func (o PatchConfigPtrOutput) ToPatchConfigPtrOutputWithContext(ctx context.Cont return o } +func (o PatchConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PatchConfig] { + return pulumix.Output[*PatchConfig]{ + OutputState: o.OutputState, + } +} + func (o PatchConfigPtrOutput) Elem() PatchConfigOutput { return o.ApplyT(func(v *PatchConfig) PatchConfig { if v != nil { @@ -3027,6 +3490,12 @@ func (o PatchConfigResponseOutput) ToPatchConfigResponseOutputWithContext(ctx co return o } +func (o PatchConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PatchConfigResponse] { + return pulumix.Output[PatchConfigResponse]{ + OutputState: o.OutputState, + } +} + // Apt update settings. Use this setting to override the default `apt` patch rules. func (o PatchConfigResponseOutput) Apt() AptSettingsResponseOutput { return o.ApplyT(func(v PatchConfigResponse) AptSettingsResponse { return v.Apt }).(AptSettingsResponseOutput) @@ -3123,6 +3592,12 @@ func (i PatchInstanceFilterArgs) ToPatchInstanceFilterOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PatchInstanceFilterOutput) } +func (i PatchInstanceFilterArgs) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilter] { + return pulumix.Output[PatchInstanceFilter]{ + OutputState: i.ToPatchInstanceFilterOutputWithContext(ctx).OutputState, + } +} + // A filter to target VM instances for patching. The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones. type PatchInstanceFilterOutput struct{ *pulumi.OutputState } @@ -3138,6 +3613,12 @@ func (o PatchInstanceFilterOutput) ToPatchInstanceFilterOutputWithContext(ctx co return o } +func (o PatchInstanceFilterOutput) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilter] { + return pulumix.Output[PatchInstanceFilter]{ + OutputState: o.OutputState, + } +} + // Target all VM instances in the project. If true, no other criteria is permitted. func (o PatchInstanceFilterOutput) All() pulumi.BoolPtrOutput { return o.ApplyT(func(v PatchInstanceFilter) *bool { return v.All }).(pulumi.BoolPtrOutput) @@ -3198,6 +3679,12 @@ func (i PatchInstanceFilterGroupLabelArgs) ToPatchInstanceFilterGroupLabelOutput return pulumi.ToOutputWithContext(ctx, i).(PatchInstanceFilterGroupLabelOutput) } +func (i PatchInstanceFilterGroupLabelArgs) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilterGroupLabel] { + return pulumix.Output[PatchInstanceFilterGroupLabel]{ + OutputState: i.ToPatchInstanceFilterGroupLabelOutputWithContext(ctx).OutputState, + } +} + // PatchInstanceFilterGroupLabelArrayInput is an input type that accepts PatchInstanceFilterGroupLabelArray and PatchInstanceFilterGroupLabelArrayOutput values. // You can construct a concrete instance of `PatchInstanceFilterGroupLabelArrayInput` via: // @@ -3223,6 +3710,12 @@ func (i PatchInstanceFilterGroupLabelArray) ToPatchInstanceFilterGroupLabelArray return pulumi.ToOutputWithContext(ctx, i).(PatchInstanceFilterGroupLabelArrayOutput) } +func (i PatchInstanceFilterGroupLabelArray) ToOutput(ctx context.Context) pulumix.Output[[]PatchInstanceFilterGroupLabel] { + return pulumix.Output[[]PatchInstanceFilterGroupLabel]{ + OutputState: i.ToPatchInstanceFilterGroupLabelArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a group of VMs that can be identified as having all these labels, for example "env=prod and app=web". type PatchInstanceFilterGroupLabelOutput struct{ *pulumi.OutputState } @@ -3238,6 +3731,12 @@ func (o PatchInstanceFilterGroupLabelOutput) ToPatchInstanceFilterGroupLabelOutp return o } +func (o PatchInstanceFilterGroupLabelOutput) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilterGroupLabel] { + return pulumix.Output[PatchInstanceFilterGroupLabel]{ + OutputState: o.OutputState, + } +} + // Compute Engine instance labels that must be present for a VM instance to be targeted by this filter. func (o PatchInstanceFilterGroupLabelOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v PatchInstanceFilterGroupLabel) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -3257,6 +3756,12 @@ func (o PatchInstanceFilterGroupLabelArrayOutput) ToPatchInstanceFilterGroupLabe return o } +func (o PatchInstanceFilterGroupLabelArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PatchInstanceFilterGroupLabel] { + return pulumix.Output[[]PatchInstanceFilterGroupLabel]{ + OutputState: o.OutputState, + } +} + func (o PatchInstanceFilterGroupLabelArrayOutput) Index(i pulumi.IntInput) PatchInstanceFilterGroupLabelOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PatchInstanceFilterGroupLabel { return vs[0].([]PatchInstanceFilterGroupLabel)[vs[1].(int)] @@ -3284,6 +3789,12 @@ func (o PatchInstanceFilterGroupLabelResponseOutput) ToPatchInstanceFilterGroupL return o } +func (o PatchInstanceFilterGroupLabelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilterGroupLabelResponse] { + return pulumix.Output[PatchInstanceFilterGroupLabelResponse]{ + OutputState: o.OutputState, + } +} + // Compute Engine instance labels that must be present for a VM instance to be targeted by this filter. func (o PatchInstanceFilterGroupLabelResponseOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v PatchInstanceFilterGroupLabelResponse) map[string]string { return v.Labels }).(pulumi.StringMapOutput) @@ -3303,6 +3814,12 @@ func (o PatchInstanceFilterGroupLabelResponseArrayOutput) ToPatchInstanceFilterG return o } +func (o PatchInstanceFilterGroupLabelResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PatchInstanceFilterGroupLabelResponse] { + return pulumix.Output[[]PatchInstanceFilterGroupLabelResponse]{ + OutputState: o.OutputState, + } +} + func (o PatchInstanceFilterGroupLabelResponseArrayOutput) Index(i pulumi.IntInput) PatchInstanceFilterGroupLabelResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PatchInstanceFilterGroupLabelResponse { return vs[0].([]PatchInstanceFilterGroupLabelResponse)[vs[1].(int)] @@ -3338,6 +3855,12 @@ func (o PatchInstanceFilterResponseOutput) ToPatchInstanceFilterResponseOutputWi return o } +func (o PatchInstanceFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PatchInstanceFilterResponse] { + return pulumix.Output[PatchInstanceFilterResponse]{ + OutputState: o.OutputState, + } +} + // Target all VM instances in the project. If true, no other criteria is permitted. func (o PatchInstanceFilterResponseOutput) All() pulumi.BoolOutput { return o.ApplyT(func(v PatchInstanceFilterResponse) bool { return v.All }).(pulumi.BoolOutput) @@ -3402,6 +3925,12 @@ func (i PatchRolloutArgs) ToPatchRolloutOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PatchRolloutOutput) } +func (i PatchRolloutArgs) ToOutput(ctx context.Context) pulumix.Output[PatchRollout] { + return pulumix.Output[PatchRollout]{ + OutputState: i.ToPatchRolloutOutputWithContext(ctx).OutputState, + } +} + func (i PatchRolloutArgs) ToPatchRolloutPtrOutput() PatchRolloutPtrOutput { return i.ToPatchRolloutPtrOutputWithContext(context.Background()) } @@ -3443,6 +3972,12 @@ func (i *patchRolloutPtrType) ToPatchRolloutPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PatchRolloutPtrOutput) } +func (i *patchRolloutPtrType) ToOutput(ctx context.Context) pulumix.Output[*PatchRollout] { + return pulumix.Output[*PatchRollout]{ + OutputState: i.ToPatchRolloutPtrOutputWithContext(ctx).OutputState, + } +} + // Patch rollout configuration specifications. Contains details on the concurrency control when applying patch(es) to all targeted VMs. type PatchRolloutOutput struct{ *pulumi.OutputState } @@ -3468,6 +4003,12 @@ func (o PatchRolloutOutput) ToPatchRolloutPtrOutputWithContext(ctx context.Conte }).(PatchRolloutPtrOutput) } +func (o PatchRolloutOutput) ToOutput(ctx context.Context) pulumix.Output[PatchRollout] { + return pulumix.Output[PatchRollout]{ + OutputState: o.OutputState, + } +} + // The maximum number (or percentage) of VMs per zone to disrupt at any given moment. The number of VMs calculated from multiplying the percentage by the total number of VMs in a zone is rounded up. During patching, a VM is considered disrupted from the time the agent is notified to begin until patching has completed. This disruption time includes the time to complete reboot and any post-patch steps. A VM contributes to the disruption budget if its patching operation fails either when applying the patches, running pre or post patch steps, or if it fails to respond with a success notification before timing out. VMs that are not running or do not have an active agent do not count toward this disruption budget. For zone-by-zone rollouts, if the disruption budget in a zone is exceeded, the patch job stops, because continuing to the next zone requires completion of the patch process in the previous zone. For example, if the disruption budget has a fixed value of `10`, and 8 VMs fail to patch in the current zone, the patch job continues to patch 2 VMs at a time until the zone is completed. When that zone is completed successfully, patching begins with 10 VMs at a time in the next zone. If 10 VMs in the next zone fail to patch, the patch job stops. func (o PatchRolloutOutput) DisruptionBudget() FixedOrPercentPtrOutput { return o.ApplyT(func(v PatchRollout) *FixedOrPercent { return v.DisruptionBudget }).(FixedOrPercentPtrOutput) @@ -3492,6 +4033,12 @@ func (o PatchRolloutPtrOutput) ToPatchRolloutPtrOutputWithContext(ctx context.Co return o } +func (o PatchRolloutPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PatchRollout] { + return pulumix.Output[*PatchRollout]{ + OutputState: o.OutputState, + } +} + func (o PatchRolloutPtrOutput) Elem() PatchRolloutOutput { return o.ApplyT(func(v *PatchRollout) PatchRollout { if v != nil { @@ -3545,6 +4092,12 @@ func (o PatchRolloutResponseOutput) ToPatchRolloutResponseOutputWithContext(ctx return o } +func (o PatchRolloutResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PatchRolloutResponse] { + return pulumix.Output[PatchRolloutResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number (or percentage) of VMs per zone to disrupt at any given moment. The number of VMs calculated from multiplying the percentage by the total number of VMs in a zone is rounded up. During patching, a VM is considered disrupted from the time the agent is notified to begin until patching has completed. This disruption time includes the time to complete reboot and any post-patch steps. A VM contributes to the disruption budget if its patching operation fails either when applying the patches, running pre or post patch steps, or if it fails to respond with a success notification before timing out. VMs that are not running or do not have an active agent do not count toward this disruption budget. For zone-by-zone rollouts, if the disruption budget in a zone is exceeded, the patch job stops, because continuing to the next zone requires completion of the patch process in the previous zone. For example, if the disruption budget has a fixed value of `10`, and 8 VMs fail to patch in the current zone, the patch job continues to patch 2 VMs at a time until the zone is completed. When that zone is completed successfully, patching begins with 10 VMs at a time in the next zone. If 10 VMs in the next zone fail to patch, the patch job stops. func (o PatchRolloutResponseOutput) DisruptionBudget() FixedOrPercentResponseOutput { return o.ApplyT(func(v PatchRolloutResponse) FixedOrPercentResponse { return v.DisruptionBudget }).(FixedOrPercentResponseOutput) @@ -3614,6 +4167,12 @@ func (i RecurringScheduleArgs) ToRecurringScheduleOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(RecurringScheduleOutput) } +func (i RecurringScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[RecurringSchedule] { + return pulumix.Output[RecurringSchedule]{ + OutputState: i.ToRecurringScheduleOutputWithContext(ctx).OutputState, + } +} + // Sets the time for recurring patch deployments. type RecurringScheduleOutput struct{ *pulumi.OutputState } @@ -3629,6 +4188,12 @@ func (o RecurringScheduleOutput) ToRecurringScheduleOutputWithContext(ctx contex return o } +func (o RecurringScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[RecurringSchedule] { + return pulumix.Output[RecurringSchedule]{ + OutputState: o.OutputState, + } +} + // Optional. The end time at which a recurring patch deployment schedule is no longer active. func (o RecurringScheduleOutput) EndTime() pulumi.StringPtrOutput { return o.ApplyT(func(v RecurringSchedule) *string { return v.EndTime }).(pulumi.StringPtrOutput) @@ -3701,6 +4266,12 @@ func (o RecurringScheduleResponseOutput) ToRecurringScheduleResponseOutputWithCo return o } +func (o RecurringScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RecurringScheduleResponse] { + return pulumix.Output[RecurringScheduleResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The end time at which a recurring patch deployment schedule is no longer active. func (o RecurringScheduleResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v RecurringScheduleResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -3801,6 +4372,12 @@ func (i SoftwareRecipeArgs) ToSoftwareRecipeOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeOutput) } +func (i SoftwareRecipeArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipe] { + return pulumix.Output[SoftwareRecipe]{ + OutputState: i.ToSoftwareRecipeOutputWithContext(ctx).OutputState, + } +} + // SoftwareRecipeArrayInput is an input type that accepts SoftwareRecipeArray and SoftwareRecipeArrayOutput values. // You can construct a concrete instance of `SoftwareRecipeArrayInput` via: // @@ -3826,6 +4403,12 @@ func (i SoftwareRecipeArray) ToSoftwareRecipeArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeArrayOutput) } +func (i SoftwareRecipeArray) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareRecipe] { + return pulumix.Output[[]SoftwareRecipe]{ + OutputState: i.ToSoftwareRecipeArrayOutputWithContext(ctx).OutputState, + } +} + // A software recipe is a set of instructions for installing and configuring a piece of software. It consists of a set of artifacts that are downloaded, and a set of steps that install, configure, and/or update the software. Recipes support installing and updating software from artifacts in the following formats: Zip archive, Tar archive, Windows MSI, Debian package, and RPM package. Additionally, recipes support executing a script (either defined in a file or directly in this api) in bash, sh, cmd, and powershell. Updating a software recipe If a recipe is assigned to an instance and there is a recipe with the same name but a lower version already installed and the assigned state of the recipe is `UPDATED`, then the recipe is updated to the new version. Script Working Directories Each script or execution step is run in its own temporary directory which is deleted after completing the step. type SoftwareRecipeOutput struct{ *pulumi.OutputState } @@ -3841,6 +4424,12 @@ func (o SoftwareRecipeOutput) ToSoftwareRecipeOutputWithContext(ctx context.Cont return o } +func (o SoftwareRecipeOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipe] { + return pulumix.Output[SoftwareRecipe]{ + OutputState: o.OutputState, + } +} + // Resources available to be used in the steps in the recipe. func (o SoftwareRecipeOutput) Artifacts() SoftwareRecipeArtifactArrayOutput { return o.ApplyT(func(v SoftwareRecipe) []SoftwareRecipeArtifact { return v.Artifacts }).(SoftwareRecipeArtifactArrayOutput) @@ -3885,6 +4474,12 @@ func (o SoftwareRecipeArrayOutput) ToSoftwareRecipeArrayOutputWithContext(ctx co return o } +func (o SoftwareRecipeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareRecipe] { + return pulumix.Output[[]SoftwareRecipe]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeArrayOutput) Index(i pulumi.IntInput) SoftwareRecipeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SoftwareRecipe { return vs[0].([]SoftwareRecipe)[vs[1].(int)] @@ -3938,6 +4533,12 @@ func (i SoftwareRecipeArtifactArgs) ToSoftwareRecipeArtifactOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeArtifactOutput) } +func (i SoftwareRecipeArtifactArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeArtifact] { + return pulumix.Output[SoftwareRecipeArtifact]{ + OutputState: i.ToSoftwareRecipeArtifactOutputWithContext(ctx).OutputState, + } +} + // SoftwareRecipeArtifactArrayInput is an input type that accepts SoftwareRecipeArtifactArray and SoftwareRecipeArtifactArrayOutput values. // You can construct a concrete instance of `SoftwareRecipeArtifactArrayInput` via: // @@ -3963,6 +4564,12 @@ func (i SoftwareRecipeArtifactArray) ToSoftwareRecipeArtifactArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeArtifactArrayOutput) } +func (i SoftwareRecipeArtifactArray) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareRecipeArtifact] { + return pulumix.Output[[]SoftwareRecipeArtifact]{ + OutputState: i.ToSoftwareRecipeArtifactArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies a resource to be used in the recipe. type SoftwareRecipeArtifactOutput struct{ *pulumi.OutputState } @@ -3978,6 +4585,12 @@ func (o SoftwareRecipeArtifactOutput) ToSoftwareRecipeArtifactOutputWithContext( return o } +func (o SoftwareRecipeArtifactOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeArtifact] { + return pulumix.Output[SoftwareRecipeArtifact]{ + OutputState: o.OutputState, + } +} + // Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified. func (o SoftwareRecipeArtifactOutput) AllowInsecure() pulumi.BoolPtrOutput { return o.ApplyT(func(v SoftwareRecipeArtifact) *bool { return v.AllowInsecure }).(pulumi.BoolPtrOutput) @@ -4012,6 +4625,12 @@ func (o SoftwareRecipeArtifactArrayOutput) ToSoftwareRecipeArtifactArrayOutputWi return o } +func (o SoftwareRecipeArtifactArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareRecipeArtifact] { + return pulumix.Output[[]SoftwareRecipeArtifact]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeArtifactArrayOutput) Index(i pulumi.IntInput) SoftwareRecipeArtifactOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SoftwareRecipeArtifact { return vs[0].([]SoftwareRecipeArtifact)[vs[1].(int)] @@ -4061,6 +4680,12 @@ func (i SoftwareRecipeArtifactGcsArgs) ToSoftwareRecipeArtifactGcsOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeArtifactGcsOutput) } +func (i SoftwareRecipeArtifactGcsArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeArtifactGcs] { + return pulumix.Output[SoftwareRecipeArtifactGcs]{ + OutputState: i.ToSoftwareRecipeArtifactGcsOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareRecipeArtifactGcsArgs) ToSoftwareRecipeArtifactGcsPtrOutput() SoftwareRecipeArtifactGcsPtrOutput { return i.ToSoftwareRecipeArtifactGcsPtrOutputWithContext(context.Background()) } @@ -4102,6 +4727,12 @@ func (i *softwareRecipeArtifactGcsPtrType) ToSoftwareRecipeArtifactGcsPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeArtifactGcsPtrOutput) } +func (i *softwareRecipeArtifactGcsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeArtifactGcs] { + return pulumix.Output[*SoftwareRecipeArtifactGcs]{ + OutputState: i.ToSoftwareRecipeArtifactGcsPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies an artifact available as a Google Cloud Storage object. type SoftwareRecipeArtifactGcsOutput struct{ *pulumi.OutputState } @@ -4127,6 +4758,12 @@ func (o SoftwareRecipeArtifactGcsOutput) ToSoftwareRecipeArtifactGcsPtrOutputWit }).(SoftwareRecipeArtifactGcsPtrOutput) } +func (o SoftwareRecipeArtifactGcsOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeArtifactGcs] { + return pulumix.Output[SoftwareRecipeArtifactGcs]{ + OutputState: o.OutputState, + } +} + // Bucket of the Google Cloud Storage object. Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567` this value would be `my-bucket`. func (o SoftwareRecipeArtifactGcsOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v SoftwareRecipeArtifactGcs) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -4156,6 +4793,12 @@ func (o SoftwareRecipeArtifactGcsPtrOutput) ToSoftwareRecipeArtifactGcsPtrOutput return o } +func (o SoftwareRecipeArtifactGcsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeArtifactGcs] { + return pulumix.Output[*SoftwareRecipeArtifactGcs]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeArtifactGcsPtrOutput) Elem() SoftwareRecipeArtifactGcsOutput { return o.ApplyT(func(v *SoftwareRecipeArtifactGcs) SoftwareRecipeArtifactGcs { if v != nil { @@ -4221,6 +4864,12 @@ func (o SoftwareRecipeArtifactGcsResponseOutput) ToSoftwareRecipeArtifactGcsResp return o } +func (o SoftwareRecipeArtifactGcsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeArtifactGcsResponse] { + return pulumix.Output[SoftwareRecipeArtifactGcsResponse]{ + OutputState: o.OutputState, + } +} + // Bucket of the Google Cloud Storage object. Given an example URL: `https://storage.googleapis.com/my-bucket/foo/bar#1234567` this value would be `my-bucket`. func (o SoftwareRecipeArtifactGcsResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v SoftwareRecipeArtifactGcsResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -4275,6 +4924,12 @@ func (i SoftwareRecipeArtifactRemoteArgs) ToSoftwareRecipeArtifactRemoteOutputWi return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeArtifactRemoteOutput) } +func (i SoftwareRecipeArtifactRemoteArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeArtifactRemote] { + return pulumix.Output[SoftwareRecipeArtifactRemote]{ + OutputState: i.ToSoftwareRecipeArtifactRemoteOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareRecipeArtifactRemoteArgs) ToSoftwareRecipeArtifactRemotePtrOutput() SoftwareRecipeArtifactRemotePtrOutput { return i.ToSoftwareRecipeArtifactRemotePtrOutputWithContext(context.Background()) } @@ -4316,6 +4971,12 @@ func (i *softwareRecipeArtifactRemotePtrType) ToSoftwareRecipeArtifactRemotePtrO return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeArtifactRemotePtrOutput) } +func (i *softwareRecipeArtifactRemotePtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeArtifactRemote] { + return pulumix.Output[*SoftwareRecipeArtifactRemote]{ + OutputState: i.ToSoftwareRecipeArtifactRemotePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies an artifact available via some URI. type SoftwareRecipeArtifactRemoteOutput struct{ *pulumi.OutputState } @@ -4341,6 +5002,12 @@ func (o SoftwareRecipeArtifactRemoteOutput) ToSoftwareRecipeArtifactRemotePtrOut }).(SoftwareRecipeArtifactRemotePtrOutput) } +func (o SoftwareRecipeArtifactRemoteOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeArtifactRemote] { + return pulumix.Output[SoftwareRecipeArtifactRemote]{ + OutputState: o.OutputState, + } +} + // Must be provided if `allow_insecure` is `false`. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. func (o SoftwareRecipeArtifactRemoteOutput) Checksum() pulumi.StringPtrOutput { return o.ApplyT(func(v SoftwareRecipeArtifactRemote) *string { return v.Checksum }).(pulumi.StringPtrOutput) @@ -4365,6 +5032,12 @@ func (o SoftwareRecipeArtifactRemotePtrOutput) ToSoftwareRecipeArtifactRemotePtr return o } +func (o SoftwareRecipeArtifactRemotePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeArtifactRemote] { + return pulumix.Output[*SoftwareRecipeArtifactRemote]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeArtifactRemotePtrOutput) Elem() SoftwareRecipeArtifactRemoteOutput { return o.ApplyT(func(v *SoftwareRecipeArtifactRemote) SoftwareRecipeArtifactRemote { if v != nil { @@ -4418,6 +5091,12 @@ func (o SoftwareRecipeArtifactRemoteResponseOutput) ToSoftwareRecipeArtifactRemo return o } +func (o SoftwareRecipeArtifactRemoteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeArtifactRemoteResponse] { + return pulumix.Output[SoftwareRecipeArtifactRemoteResponse]{ + OutputState: o.OutputState, + } +} + // Must be provided if `allow_insecure` is `false`. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps. func (o SoftwareRecipeArtifactRemoteResponseOutput) Checksum() pulumi.StringOutput { return o.ApplyT(func(v SoftwareRecipeArtifactRemoteResponse) string { return v.Checksum }).(pulumi.StringOutput) @@ -4453,6 +5132,12 @@ func (o SoftwareRecipeArtifactResponseOutput) ToSoftwareRecipeArtifactResponseOu return o } +func (o SoftwareRecipeArtifactResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeArtifactResponse] { + return pulumix.Output[SoftwareRecipeArtifactResponse]{ + OutputState: o.OutputState, + } +} + // Defaults to false. When false, recipes are subject to validations based on the artifact type: Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified. func (o SoftwareRecipeArtifactResponseOutput) AllowInsecure() pulumi.BoolOutput { return o.ApplyT(func(v SoftwareRecipeArtifactResponse) bool { return v.AllowInsecure }).(pulumi.BoolOutput) @@ -4482,6 +5167,12 @@ func (o SoftwareRecipeArtifactResponseArrayOutput) ToSoftwareRecipeArtifactRespo return o } +func (o SoftwareRecipeArtifactResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareRecipeArtifactResponse] { + return pulumix.Output[[]SoftwareRecipeArtifactResponse]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeArtifactResponseArrayOutput) Index(i pulumi.IntInput) SoftwareRecipeArtifactResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SoftwareRecipeArtifactResponse { return vs[0].([]SoftwareRecipeArtifactResponse)[vs[1].(int)] @@ -4519,6 +5210,12 @@ func (o SoftwareRecipeResponseOutput) ToSoftwareRecipeResponseOutputWithContext( return o } +func (o SoftwareRecipeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeResponse] { + return pulumix.Output[SoftwareRecipeResponse]{ + OutputState: o.OutputState, + } +} + // Resources available to be used in the steps in the recipe. func (o SoftwareRecipeResponseOutput) Artifacts() SoftwareRecipeArtifactResponseArrayOutput { return o.ApplyT(func(v SoftwareRecipeResponse) []SoftwareRecipeArtifactResponse { return v.Artifacts }).(SoftwareRecipeArtifactResponseArrayOutput) @@ -4563,6 +5260,12 @@ func (o SoftwareRecipeResponseArrayOutput) ToSoftwareRecipeResponseArrayOutputWi return o } +func (o SoftwareRecipeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareRecipeResponse] { + return pulumix.Output[[]SoftwareRecipeResponse]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeResponseArrayOutput) Index(i pulumi.IntInput) SoftwareRecipeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SoftwareRecipeResponse { return vs[0].([]SoftwareRecipeResponse)[vs[1].(int)] @@ -4628,6 +5331,12 @@ func (i SoftwareRecipeStepArgs) ToSoftwareRecipeStepOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepOutput) } +func (i SoftwareRecipeStepArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStep] { + return pulumix.Output[SoftwareRecipeStep]{ + OutputState: i.ToSoftwareRecipeStepOutputWithContext(ctx).OutputState, + } +} + // SoftwareRecipeStepArrayInput is an input type that accepts SoftwareRecipeStepArray and SoftwareRecipeStepArrayOutput values. // You can construct a concrete instance of `SoftwareRecipeStepArrayInput` via: // @@ -4653,6 +5362,12 @@ func (i SoftwareRecipeStepArray) ToSoftwareRecipeStepArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepArrayOutput) } +func (i SoftwareRecipeStepArray) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareRecipeStep] { + return pulumix.Output[[]SoftwareRecipeStep]{ + OutputState: i.ToSoftwareRecipeStepArrayOutputWithContext(ctx).OutputState, + } +} + // An action that can be taken as part of installing or updating a recipe. type SoftwareRecipeStepOutput struct{ *pulumi.OutputState } @@ -4668,6 +5383,12 @@ func (o SoftwareRecipeStepOutput) ToSoftwareRecipeStepOutputWithContext(ctx cont return o } +func (o SoftwareRecipeStepOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStep] { + return pulumix.Output[SoftwareRecipeStep]{ + OutputState: o.OutputState, + } +} + // Extracts an archive into the specified directory. func (o SoftwareRecipeStepOutput) ArchiveExtraction() SoftwareRecipeStepExtractArchivePtrOutput { return o.ApplyT(func(v SoftwareRecipeStep) *SoftwareRecipeStepExtractArchive { return v.ArchiveExtraction }).(SoftwareRecipeStepExtractArchivePtrOutput) @@ -4717,6 +5438,12 @@ func (o SoftwareRecipeStepArrayOutput) ToSoftwareRecipeStepArrayOutputWithContex return o } +func (o SoftwareRecipeStepArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareRecipeStep] { + return pulumix.Output[[]SoftwareRecipeStep]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepArrayOutput) Index(i pulumi.IntInput) SoftwareRecipeStepOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SoftwareRecipeStep { return vs[0].([]SoftwareRecipeStep)[vs[1].(int)] @@ -4770,6 +5497,12 @@ func (i SoftwareRecipeStepCopyFileArgs) ToSoftwareRecipeStepCopyFileOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepCopyFileOutput) } +func (i SoftwareRecipeStepCopyFileArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepCopyFile] { + return pulumix.Output[SoftwareRecipeStepCopyFile]{ + OutputState: i.ToSoftwareRecipeStepCopyFileOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareRecipeStepCopyFileArgs) ToSoftwareRecipeStepCopyFilePtrOutput() SoftwareRecipeStepCopyFilePtrOutput { return i.ToSoftwareRecipeStepCopyFilePtrOutputWithContext(context.Background()) } @@ -4811,6 +5544,12 @@ func (i *softwareRecipeStepCopyFilePtrType) ToSoftwareRecipeStepCopyFilePtrOutpu return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepCopyFilePtrOutput) } +func (i *softwareRecipeStepCopyFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepCopyFile] { + return pulumix.Output[*SoftwareRecipeStepCopyFile]{ + OutputState: i.ToSoftwareRecipeStepCopyFilePtrOutputWithContext(ctx).OutputState, + } +} + // Copies the artifact to the specified path on the instance. type SoftwareRecipeStepCopyFileOutput struct{ *pulumi.OutputState } @@ -4836,6 +5575,12 @@ func (o SoftwareRecipeStepCopyFileOutput) ToSoftwareRecipeStepCopyFilePtrOutputW }).(SoftwareRecipeStepCopyFilePtrOutput) } +func (o SoftwareRecipeStepCopyFileOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepCopyFile] { + return pulumix.Output[SoftwareRecipeStepCopyFile]{ + OutputState: o.OutputState, + } +} + // The id of the relevant artifact in the recipe. func (o SoftwareRecipeStepCopyFileOutput) ArtifactId() pulumi.StringOutput { return o.ApplyT(func(v SoftwareRecipeStepCopyFile) string { return v.ArtifactId }).(pulumi.StringOutput) @@ -4870,6 +5615,12 @@ func (o SoftwareRecipeStepCopyFilePtrOutput) ToSoftwareRecipeStepCopyFilePtrOutp return o } +func (o SoftwareRecipeStepCopyFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepCopyFile] { + return pulumix.Output[*SoftwareRecipeStepCopyFile]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepCopyFilePtrOutput) Elem() SoftwareRecipeStepCopyFileOutput { return o.ApplyT(func(v *SoftwareRecipeStepCopyFile) SoftwareRecipeStepCopyFile { if v != nil { @@ -4947,6 +5698,12 @@ func (o SoftwareRecipeStepCopyFileResponseOutput) ToSoftwareRecipeStepCopyFileRe return o } +func (o SoftwareRecipeStepCopyFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepCopyFileResponse] { + return pulumix.Output[SoftwareRecipeStepCopyFileResponse]{ + OutputState: o.OutputState, + } +} + // The id of the relevant artifact in the recipe. func (o SoftwareRecipeStepCopyFileResponseOutput) ArtifactId() pulumi.StringOutput { return o.ApplyT(func(v SoftwareRecipeStepCopyFileResponse) string { return v.ArtifactId }).(pulumi.StringOutput) @@ -5014,6 +5771,12 @@ func (i SoftwareRecipeStepExecFileArgs) ToSoftwareRecipeStepExecFileOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepExecFileOutput) } +func (i SoftwareRecipeStepExecFileArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepExecFile] { + return pulumix.Output[SoftwareRecipeStepExecFile]{ + OutputState: i.ToSoftwareRecipeStepExecFileOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareRecipeStepExecFileArgs) ToSoftwareRecipeStepExecFilePtrOutput() SoftwareRecipeStepExecFilePtrOutput { return i.ToSoftwareRecipeStepExecFilePtrOutputWithContext(context.Background()) } @@ -5055,6 +5818,12 @@ func (i *softwareRecipeStepExecFilePtrType) ToSoftwareRecipeStepExecFilePtrOutpu return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepExecFilePtrOutput) } +func (i *softwareRecipeStepExecFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepExecFile] { + return pulumix.Output[*SoftwareRecipeStepExecFile]{ + OutputState: i.ToSoftwareRecipeStepExecFilePtrOutputWithContext(ctx).OutputState, + } +} + // Executes an artifact or local file. type SoftwareRecipeStepExecFileOutput struct{ *pulumi.OutputState } @@ -5080,6 +5849,12 @@ func (o SoftwareRecipeStepExecFileOutput) ToSoftwareRecipeStepExecFilePtrOutputW }).(SoftwareRecipeStepExecFilePtrOutput) } +func (o SoftwareRecipeStepExecFileOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepExecFile] { + return pulumix.Output[SoftwareRecipeStepExecFile]{ + OutputState: o.OutputState, + } +} + // Defaults to [0]. A list of possible return values that the program can return to indicate a success. func (o SoftwareRecipeStepExecFileOutput) AllowedExitCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v SoftwareRecipeStepExecFile) []int { return v.AllowedExitCodes }).(pulumi.IntArrayOutput) @@ -5114,6 +5889,12 @@ func (o SoftwareRecipeStepExecFilePtrOutput) ToSoftwareRecipeStepExecFilePtrOutp return o } +func (o SoftwareRecipeStepExecFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepExecFile] { + return pulumix.Output[*SoftwareRecipeStepExecFile]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepExecFilePtrOutput) Elem() SoftwareRecipeStepExecFileOutput { return o.ApplyT(func(v *SoftwareRecipeStepExecFile) SoftwareRecipeStepExecFile { if v != nil { @@ -5191,6 +5972,12 @@ func (o SoftwareRecipeStepExecFileResponseOutput) ToSoftwareRecipeStepExecFileRe return o } +func (o SoftwareRecipeStepExecFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepExecFileResponse] { + return pulumix.Output[SoftwareRecipeStepExecFileResponse]{ + OutputState: o.OutputState, + } +} + // Defaults to [0]. A list of possible return values that the program can return to indicate a success. func (o SoftwareRecipeStepExecFileResponseOutput) AllowedExitCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v SoftwareRecipeStepExecFileResponse) []int { return v.AllowedExitCodes }).(pulumi.IntArrayOutput) @@ -5254,6 +6041,12 @@ func (i SoftwareRecipeStepExtractArchiveArgs) ToSoftwareRecipeStepExtractArchive return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepExtractArchiveOutput) } +func (i SoftwareRecipeStepExtractArchiveArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepExtractArchive] { + return pulumix.Output[SoftwareRecipeStepExtractArchive]{ + OutputState: i.ToSoftwareRecipeStepExtractArchiveOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareRecipeStepExtractArchiveArgs) ToSoftwareRecipeStepExtractArchivePtrOutput() SoftwareRecipeStepExtractArchivePtrOutput { return i.ToSoftwareRecipeStepExtractArchivePtrOutputWithContext(context.Background()) } @@ -5295,6 +6088,12 @@ func (i *softwareRecipeStepExtractArchivePtrType) ToSoftwareRecipeStepExtractArc return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepExtractArchivePtrOutput) } +func (i *softwareRecipeStepExtractArchivePtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepExtractArchive] { + return pulumix.Output[*SoftwareRecipeStepExtractArchive]{ + OutputState: i.ToSoftwareRecipeStepExtractArchivePtrOutputWithContext(ctx).OutputState, + } +} + // Extracts an archive of the type specified in the specified directory. type SoftwareRecipeStepExtractArchiveOutput struct{ *pulumi.OutputState } @@ -5320,6 +6119,12 @@ func (o SoftwareRecipeStepExtractArchiveOutput) ToSoftwareRecipeStepExtractArchi }).(SoftwareRecipeStepExtractArchivePtrOutput) } +func (o SoftwareRecipeStepExtractArchiveOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepExtractArchive] { + return pulumix.Output[SoftwareRecipeStepExtractArchive]{ + OutputState: o.OutputState, + } +} + // The id of the relevant artifact in the recipe. func (o SoftwareRecipeStepExtractArchiveOutput) ArtifactId() pulumi.StringOutput { return o.ApplyT(func(v SoftwareRecipeStepExtractArchive) string { return v.ArtifactId }).(pulumi.StringOutput) @@ -5349,6 +6154,12 @@ func (o SoftwareRecipeStepExtractArchivePtrOutput) ToSoftwareRecipeStepExtractAr return o } +func (o SoftwareRecipeStepExtractArchivePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepExtractArchive] { + return pulumix.Output[*SoftwareRecipeStepExtractArchive]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepExtractArchivePtrOutput) Elem() SoftwareRecipeStepExtractArchiveOutput { return o.ApplyT(func(v *SoftwareRecipeStepExtractArchive) SoftwareRecipeStepExtractArchive { if v != nil { @@ -5414,6 +6225,12 @@ func (o SoftwareRecipeStepExtractArchiveResponseOutput) ToSoftwareRecipeStepExtr return o } +func (o SoftwareRecipeStepExtractArchiveResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepExtractArchiveResponse] { + return pulumix.Output[SoftwareRecipeStepExtractArchiveResponse]{ + OutputState: o.OutputState, + } +} + // The id of the relevant artifact in the recipe. func (o SoftwareRecipeStepExtractArchiveResponseOutput) ArtifactId() pulumi.StringOutput { return o.ApplyT(func(v SoftwareRecipeStepExtractArchiveResponse) string { return v.ArtifactId }).(pulumi.StringOutput) @@ -5464,6 +6281,12 @@ func (i SoftwareRecipeStepInstallDpkgArgs) ToSoftwareRecipeStepInstallDpkgOutput return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepInstallDpkgOutput) } +func (i SoftwareRecipeStepInstallDpkgArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepInstallDpkg] { + return pulumix.Output[SoftwareRecipeStepInstallDpkg]{ + OutputState: i.ToSoftwareRecipeStepInstallDpkgOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareRecipeStepInstallDpkgArgs) ToSoftwareRecipeStepInstallDpkgPtrOutput() SoftwareRecipeStepInstallDpkgPtrOutput { return i.ToSoftwareRecipeStepInstallDpkgPtrOutputWithContext(context.Background()) } @@ -5505,6 +6328,12 @@ func (i *softwareRecipeStepInstallDpkgPtrType) ToSoftwareRecipeStepInstallDpkgPt return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepInstallDpkgPtrOutput) } +func (i *softwareRecipeStepInstallDpkgPtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepInstallDpkg] { + return pulumix.Output[*SoftwareRecipeStepInstallDpkg]{ + OutputState: i.ToSoftwareRecipeStepInstallDpkgPtrOutputWithContext(ctx).OutputState, + } +} + // Installs a deb via dpkg. type SoftwareRecipeStepInstallDpkgOutput struct{ *pulumi.OutputState } @@ -5530,6 +6359,12 @@ func (o SoftwareRecipeStepInstallDpkgOutput) ToSoftwareRecipeStepInstallDpkgPtrO }).(SoftwareRecipeStepInstallDpkgPtrOutput) } +func (o SoftwareRecipeStepInstallDpkgOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepInstallDpkg] { + return pulumix.Output[SoftwareRecipeStepInstallDpkg]{ + OutputState: o.OutputState, + } +} + // The id of the relevant artifact in the recipe. func (o SoftwareRecipeStepInstallDpkgOutput) ArtifactId() pulumi.StringOutput { return o.ApplyT(func(v SoftwareRecipeStepInstallDpkg) string { return v.ArtifactId }).(pulumi.StringOutput) @@ -5549,6 +6384,12 @@ func (o SoftwareRecipeStepInstallDpkgPtrOutput) ToSoftwareRecipeStepInstallDpkgP return o } +func (o SoftwareRecipeStepInstallDpkgPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepInstallDpkg] { + return pulumix.Output[*SoftwareRecipeStepInstallDpkg]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepInstallDpkgPtrOutput) Elem() SoftwareRecipeStepInstallDpkgOutput { return o.ApplyT(func(v *SoftwareRecipeStepInstallDpkg) SoftwareRecipeStepInstallDpkg { if v != nil { @@ -5590,6 +6431,12 @@ func (o SoftwareRecipeStepInstallDpkgResponseOutput) ToSoftwareRecipeStepInstall return o } +func (o SoftwareRecipeStepInstallDpkgResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepInstallDpkgResponse] { + return pulumix.Output[SoftwareRecipeStepInstallDpkgResponse]{ + OutputState: o.OutputState, + } +} + // The id of the relevant artifact in the recipe. func (o SoftwareRecipeStepInstallDpkgResponseOutput) ArtifactId() pulumi.StringOutput { return o.ApplyT(func(v SoftwareRecipeStepInstallDpkgResponse) string { return v.ArtifactId }).(pulumi.StringOutput) @@ -5638,6 +6485,12 @@ func (i SoftwareRecipeStepInstallMsiArgs) ToSoftwareRecipeStepInstallMsiOutputWi return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepInstallMsiOutput) } +func (i SoftwareRecipeStepInstallMsiArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepInstallMsi] { + return pulumix.Output[SoftwareRecipeStepInstallMsi]{ + OutputState: i.ToSoftwareRecipeStepInstallMsiOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareRecipeStepInstallMsiArgs) ToSoftwareRecipeStepInstallMsiPtrOutput() SoftwareRecipeStepInstallMsiPtrOutput { return i.ToSoftwareRecipeStepInstallMsiPtrOutputWithContext(context.Background()) } @@ -5679,6 +6532,12 @@ func (i *softwareRecipeStepInstallMsiPtrType) ToSoftwareRecipeStepInstallMsiPtrO return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepInstallMsiPtrOutput) } +func (i *softwareRecipeStepInstallMsiPtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepInstallMsi] { + return pulumix.Output[*SoftwareRecipeStepInstallMsi]{ + OutputState: i.ToSoftwareRecipeStepInstallMsiPtrOutputWithContext(ctx).OutputState, + } +} + // Installs an MSI file. type SoftwareRecipeStepInstallMsiOutput struct{ *pulumi.OutputState } @@ -5704,6 +6563,12 @@ func (o SoftwareRecipeStepInstallMsiOutput) ToSoftwareRecipeStepInstallMsiPtrOut }).(SoftwareRecipeStepInstallMsiPtrOutput) } +func (o SoftwareRecipeStepInstallMsiOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepInstallMsi] { + return pulumix.Output[SoftwareRecipeStepInstallMsi]{ + OutputState: o.OutputState, + } +} + // Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0] func (o SoftwareRecipeStepInstallMsiOutput) AllowedExitCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v SoftwareRecipeStepInstallMsi) []int { return v.AllowedExitCodes }).(pulumi.IntArrayOutput) @@ -5733,6 +6598,12 @@ func (o SoftwareRecipeStepInstallMsiPtrOutput) ToSoftwareRecipeStepInstallMsiPtr return o } +func (o SoftwareRecipeStepInstallMsiPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepInstallMsi] { + return pulumix.Output[*SoftwareRecipeStepInstallMsi]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepInstallMsiPtrOutput) Elem() SoftwareRecipeStepInstallMsiOutput { return o.ApplyT(func(v *SoftwareRecipeStepInstallMsi) SoftwareRecipeStepInstallMsi { if v != nil { @@ -5798,6 +6669,12 @@ func (o SoftwareRecipeStepInstallMsiResponseOutput) ToSoftwareRecipeStepInstallM return o } +func (o SoftwareRecipeStepInstallMsiResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepInstallMsiResponse] { + return pulumix.Output[SoftwareRecipeStepInstallMsiResponse]{ + OutputState: o.OutputState, + } +} + // Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0] func (o SoftwareRecipeStepInstallMsiResponseOutput) AllowedExitCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v SoftwareRecipeStepInstallMsiResponse) []int { return v.AllowedExitCodes }).(pulumi.IntArrayOutput) @@ -5848,6 +6725,12 @@ func (i SoftwareRecipeStepInstallRpmArgs) ToSoftwareRecipeStepInstallRpmOutputWi return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepInstallRpmOutput) } +func (i SoftwareRecipeStepInstallRpmArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepInstallRpm] { + return pulumix.Output[SoftwareRecipeStepInstallRpm]{ + OutputState: i.ToSoftwareRecipeStepInstallRpmOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareRecipeStepInstallRpmArgs) ToSoftwareRecipeStepInstallRpmPtrOutput() SoftwareRecipeStepInstallRpmPtrOutput { return i.ToSoftwareRecipeStepInstallRpmPtrOutputWithContext(context.Background()) } @@ -5889,6 +6772,12 @@ func (i *softwareRecipeStepInstallRpmPtrType) ToSoftwareRecipeStepInstallRpmPtrO return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepInstallRpmPtrOutput) } +func (i *softwareRecipeStepInstallRpmPtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepInstallRpm] { + return pulumix.Output[*SoftwareRecipeStepInstallRpm]{ + OutputState: i.ToSoftwareRecipeStepInstallRpmPtrOutputWithContext(ctx).OutputState, + } +} + // Installs an rpm file via the rpm utility. type SoftwareRecipeStepInstallRpmOutput struct{ *pulumi.OutputState } @@ -5914,6 +6803,12 @@ func (o SoftwareRecipeStepInstallRpmOutput) ToSoftwareRecipeStepInstallRpmPtrOut }).(SoftwareRecipeStepInstallRpmPtrOutput) } +func (o SoftwareRecipeStepInstallRpmOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepInstallRpm] { + return pulumix.Output[SoftwareRecipeStepInstallRpm]{ + OutputState: o.OutputState, + } +} + // The id of the relevant artifact in the recipe. func (o SoftwareRecipeStepInstallRpmOutput) ArtifactId() pulumi.StringOutput { return o.ApplyT(func(v SoftwareRecipeStepInstallRpm) string { return v.ArtifactId }).(pulumi.StringOutput) @@ -5933,6 +6828,12 @@ func (o SoftwareRecipeStepInstallRpmPtrOutput) ToSoftwareRecipeStepInstallRpmPtr return o } +func (o SoftwareRecipeStepInstallRpmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepInstallRpm] { + return pulumix.Output[*SoftwareRecipeStepInstallRpm]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepInstallRpmPtrOutput) Elem() SoftwareRecipeStepInstallRpmOutput { return o.ApplyT(func(v *SoftwareRecipeStepInstallRpm) SoftwareRecipeStepInstallRpm { if v != nil { @@ -5974,6 +6875,12 @@ func (o SoftwareRecipeStepInstallRpmResponseOutput) ToSoftwareRecipeStepInstallR return o } +func (o SoftwareRecipeStepInstallRpmResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepInstallRpmResponse] { + return pulumix.Output[SoftwareRecipeStepInstallRpmResponse]{ + OutputState: o.OutputState, + } +} + // The id of the relevant artifact in the recipe. func (o SoftwareRecipeStepInstallRpmResponseOutput) ArtifactId() pulumi.StringOutput { return o.ApplyT(func(v SoftwareRecipeStepInstallRpmResponse) string { return v.ArtifactId }).(pulumi.StringOutput) @@ -6012,6 +6919,12 @@ func (o SoftwareRecipeStepResponseOutput) ToSoftwareRecipeStepResponseOutputWith return o } +func (o SoftwareRecipeStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepResponse] { + return pulumix.Output[SoftwareRecipeStepResponse]{ + OutputState: o.OutputState, + } +} + // Extracts an archive into the specified directory. func (o SoftwareRecipeStepResponseOutput) ArchiveExtraction() SoftwareRecipeStepExtractArchiveResponseOutput { return o.ApplyT(func(v SoftwareRecipeStepResponse) SoftwareRecipeStepExtractArchiveResponse { @@ -6063,6 +6976,12 @@ func (o SoftwareRecipeStepResponseArrayOutput) ToSoftwareRecipeStepResponseArray return o } +func (o SoftwareRecipeStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SoftwareRecipeStepResponse] { + return pulumix.Output[[]SoftwareRecipeStepResponse]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepResponseArrayOutput) Index(i pulumi.IntInput) SoftwareRecipeStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SoftwareRecipeStepResponse { return vs[0].([]SoftwareRecipeStepResponse)[vs[1].(int)] @@ -6112,6 +7031,12 @@ func (i SoftwareRecipeStepRunScriptArgs) ToSoftwareRecipeStepRunScriptOutputWith return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepRunScriptOutput) } +func (i SoftwareRecipeStepRunScriptArgs) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepRunScript] { + return pulumix.Output[SoftwareRecipeStepRunScript]{ + OutputState: i.ToSoftwareRecipeStepRunScriptOutputWithContext(ctx).OutputState, + } +} + func (i SoftwareRecipeStepRunScriptArgs) ToSoftwareRecipeStepRunScriptPtrOutput() SoftwareRecipeStepRunScriptPtrOutput { return i.ToSoftwareRecipeStepRunScriptPtrOutputWithContext(context.Background()) } @@ -6153,6 +7078,12 @@ func (i *softwareRecipeStepRunScriptPtrType) ToSoftwareRecipeStepRunScriptPtrOut return pulumi.ToOutputWithContext(ctx, i).(SoftwareRecipeStepRunScriptPtrOutput) } +func (i *softwareRecipeStepRunScriptPtrType) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepRunScript] { + return pulumix.Output[*SoftwareRecipeStepRunScript]{ + OutputState: i.ToSoftwareRecipeStepRunScriptPtrOutputWithContext(ctx).OutputState, + } +} + // Runs a script through an interpreter. type SoftwareRecipeStepRunScriptOutput struct{ *pulumi.OutputState } @@ -6178,6 +7109,12 @@ func (o SoftwareRecipeStepRunScriptOutput) ToSoftwareRecipeStepRunScriptPtrOutpu }).(SoftwareRecipeStepRunScriptPtrOutput) } +func (o SoftwareRecipeStepRunScriptOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepRunScript] { + return pulumix.Output[SoftwareRecipeStepRunScript]{ + OutputState: o.OutputState, + } +} + // Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0] func (o SoftwareRecipeStepRunScriptOutput) AllowedExitCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v SoftwareRecipeStepRunScript) []int { return v.AllowedExitCodes }).(pulumi.IntArrayOutput) @@ -6207,6 +7144,12 @@ func (o SoftwareRecipeStepRunScriptPtrOutput) ToSoftwareRecipeStepRunScriptPtrOu return o } +func (o SoftwareRecipeStepRunScriptPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SoftwareRecipeStepRunScript] { + return pulumix.Output[*SoftwareRecipeStepRunScript]{ + OutputState: o.OutputState, + } +} + func (o SoftwareRecipeStepRunScriptPtrOutput) Elem() SoftwareRecipeStepRunScriptOutput { return o.ApplyT(func(v *SoftwareRecipeStepRunScript) SoftwareRecipeStepRunScript { if v != nil { @@ -6272,6 +7215,12 @@ func (o SoftwareRecipeStepRunScriptResponseOutput) ToSoftwareRecipeStepRunScript return o } +func (o SoftwareRecipeStepRunScriptResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SoftwareRecipeStepRunScriptResponse] { + return pulumix.Output[SoftwareRecipeStepRunScriptResponse]{ + OutputState: o.OutputState, + } +} + // Return codes that indicate that the software installed or updated successfully. Behaviour defaults to [0] func (o SoftwareRecipeStepRunScriptResponseOutput) AllowedExitCodes() pulumi.IntArrayOutput { return o.ApplyT(func(v SoftwareRecipeStepRunScriptResponse) []int { return v.AllowedExitCodes }).(pulumi.IntArrayOutput) @@ -6334,6 +7283,12 @@ func (i TimeOfDayArgs) ToTimeOfDayOutputWithContext(ctx context.Context) TimeOfD return pulumi.ToOutputWithContext(ctx, i).(TimeOfDayOutput) } +func (i TimeOfDayArgs) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: i.ToTimeOfDayOutputWithContext(ctx).OutputState, + } +} + // Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. type TimeOfDayOutput struct{ *pulumi.OutputState } @@ -6349,6 +7304,12 @@ func (o TimeOfDayOutput) ToTimeOfDayOutputWithContext(ctx context.Context) TimeO return o } +func (o TimeOfDayOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayOutput) Hours() pulumi.IntPtrOutput { return o.ApplyT(func(v TimeOfDay) *int { return v.Hours }).(pulumi.IntPtrOutput) @@ -6396,6 +7357,12 @@ func (o TimeOfDayResponseOutput) ToTimeOfDayResponseOutputWithContext(ctx contex return o } +func (o TimeOfDayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDayResponse] { + return pulumix.Output[TimeOfDayResponse]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayResponseOutput) Hours() pulumi.IntOutput { return o.ApplyT(func(v TimeOfDayResponse) int { return v.Hours }).(pulumi.IntOutput) @@ -6455,6 +7422,12 @@ func (i TimeZoneArgs) ToTimeZoneOutputWithContext(ctx context.Context) TimeZoneO return pulumi.ToOutputWithContext(ctx, i).(TimeZoneOutput) } +func (i TimeZoneArgs) ToOutput(ctx context.Context) pulumix.Output[TimeZone] { + return pulumix.Output[TimeZone]{ + OutputState: i.ToTimeZoneOutputWithContext(ctx).OutputState, + } +} + // Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). type TimeZoneOutput struct{ *pulumi.OutputState } @@ -6470,6 +7443,12 @@ func (o TimeZoneOutput) ToTimeZoneOutputWithContext(ctx context.Context) TimeZon return o } +func (o TimeZoneOutput) ToOutput(ctx context.Context) pulumix.Output[TimeZone] { + return pulumix.Output[TimeZone]{ + OutputState: o.OutputState, + } +} + // IANA Time Zone Database time zone, e.g. "America/New_York". func (o TimeZoneOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v TimeZone) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -6501,6 +7480,12 @@ func (o TimeZoneResponseOutput) ToTimeZoneResponseOutputWithContext(ctx context. return o } +func (o TimeZoneResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeZoneResponse] { + return pulumix.Output[TimeZoneResponse]{ + OutputState: o.OutputState, + } +} + // Optional. IANA Time Zone Database version number, e.g. "2019a". func (o TimeZoneResponseOutput) Version() pulumi.StringOutput { return o.ApplyT(func(v TimeZoneResponse) string { return v.Version }).(pulumi.StringOutput) @@ -6549,6 +7534,12 @@ func (i WeekDayOfMonthArgs) ToWeekDayOfMonthOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(WeekDayOfMonthOutput) } +func (i WeekDayOfMonthArgs) ToOutput(ctx context.Context) pulumix.Output[WeekDayOfMonth] { + return pulumix.Output[WeekDayOfMonth]{ + OutputState: i.ToWeekDayOfMonthOutputWithContext(ctx).OutputState, + } +} + // Represents one week day in a month. An example is "the 4th Sunday". type WeekDayOfMonthOutput struct{ *pulumi.OutputState } @@ -6564,6 +7555,12 @@ func (o WeekDayOfMonthOutput) ToWeekDayOfMonthOutputWithContext(ctx context.Cont return o } +func (o WeekDayOfMonthOutput) ToOutput(ctx context.Context) pulumix.Output[WeekDayOfMonth] { + return pulumix.Output[WeekDayOfMonth]{ + OutputState: o.OutputState, + } +} + // A day of the week. func (o WeekDayOfMonthOutput) DayOfWeek() WeekDayOfMonthDayOfWeekOutput { return o.ApplyT(func(v WeekDayOfMonth) WeekDayOfMonthDayOfWeek { return v.DayOfWeek }).(WeekDayOfMonthDayOfWeekOutput) @@ -6604,6 +7601,12 @@ func (o WeekDayOfMonthResponseOutput) ToWeekDayOfMonthResponseOutputWithContext( return o } +func (o WeekDayOfMonthResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeekDayOfMonthResponse] { + return pulumix.Output[WeekDayOfMonthResponse]{ + OutputState: o.OutputState, + } +} + // A day of the week. func (o WeekDayOfMonthResponseOutput) DayOfWeek() pulumi.StringOutput { return o.ApplyT(func(v WeekDayOfMonthResponse) string { return v.DayOfWeek }).(pulumi.StringOutput) @@ -6654,6 +7657,12 @@ func (i WeeklyScheduleArgs) ToWeeklyScheduleOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(WeeklyScheduleOutput) } +func (i WeeklyScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[WeeklySchedule] { + return pulumix.Output[WeeklySchedule]{ + OutputState: i.ToWeeklyScheduleOutputWithContext(ctx).OutputState, + } +} + // Represents a weekly schedule. type WeeklyScheduleOutput struct{ *pulumi.OutputState } @@ -6669,6 +7678,12 @@ func (o WeeklyScheduleOutput) ToWeeklyScheduleOutputWithContext(ctx context.Cont return o } +func (o WeeklyScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklySchedule] { + return pulumix.Output[WeeklySchedule]{ + OutputState: o.OutputState, + } +} + // Day of the week. func (o WeeklyScheduleOutput) DayOfWeek() WeeklyScheduleDayOfWeekOutput { return o.ApplyT(func(v WeeklySchedule) WeeklyScheduleDayOfWeek { return v.DayOfWeek }).(WeeklyScheduleDayOfWeekOutput) @@ -6695,6 +7710,12 @@ func (o WeeklyScheduleResponseOutput) ToWeeklyScheduleResponseOutputWithContext( return o } +func (o WeeklyScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyScheduleResponse] { + return pulumix.Output[WeeklyScheduleResponse]{ + OutputState: o.OutputState, + } +} + // Day of the week. func (o WeeklyScheduleResponseOutput) DayOfWeek() pulumi.StringOutput { return o.ApplyT(func(v WeeklyScheduleResponse) string { return v.DayOfWeek }).(pulumi.StringOutput) @@ -6743,6 +7764,12 @@ func (i WindowsUpdateSettingsArgs) ToWindowsUpdateSettingsOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(WindowsUpdateSettingsOutput) } +func (i WindowsUpdateSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdateSettings] { + return pulumix.Output[WindowsUpdateSettings]{ + OutputState: i.ToWindowsUpdateSettingsOutputWithContext(ctx).OutputState, + } +} + func (i WindowsUpdateSettingsArgs) ToWindowsUpdateSettingsPtrOutput() WindowsUpdateSettingsPtrOutput { return i.ToWindowsUpdateSettingsPtrOutputWithContext(context.Background()) } @@ -6784,6 +7811,12 @@ func (i *windowsUpdateSettingsPtrType) ToWindowsUpdateSettingsPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(WindowsUpdateSettingsPtrOutput) } +func (i *windowsUpdateSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*WindowsUpdateSettings] { + return pulumix.Output[*WindowsUpdateSettings]{ + OutputState: i.ToWindowsUpdateSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Windows patching is performed using the Windows Update Agent. type WindowsUpdateSettingsOutput struct{ *pulumi.OutputState } @@ -6809,6 +7842,12 @@ func (o WindowsUpdateSettingsOutput) ToWindowsUpdateSettingsPtrOutputWithContext }).(WindowsUpdateSettingsPtrOutput) } +func (o WindowsUpdateSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdateSettings] { + return pulumix.Output[WindowsUpdateSettings]{ + OutputState: o.OutputState, + } +} + // Only apply updates of these windows update classifications. If empty, all updates are applied. func (o WindowsUpdateSettingsOutput) Classifications() WindowsUpdateSettingsClassificationsItemArrayOutput { return o.ApplyT(func(v WindowsUpdateSettings) []WindowsUpdateSettingsClassificationsItem { return v.Classifications }).(WindowsUpdateSettingsClassificationsItemArrayOutput) @@ -6838,6 +7877,12 @@ func (o WindowsUpdateSettingsPtrOutput) ToWindowsUpdateSettingsPtrOutputWithCont return o } +func (o WindowsUpdateSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WindowsUpdateSettings] { + return pulumix.Output[*WindowsUpdateSettings]{ + OutputState: o.OutputState, + } +} + func (o WindowsUpdateSettingsPtrOutput) Elem() WindowsUpdateSettingsOutput { return o.ApplyT(func(v *WindowsUpdateSettings) WindowsUpdateSettings { if v != nil { @@ -6903,6 +7948,12 @@ func (o WindowsUpdateSettingsResponseOutput) ToWindowsUpdateSettingsResponseOutp return o } +func (o WindowsUpdateSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WindowsUpdateSettingsResponse] { + return pulumix.Output[WindowsUpdateSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Only apply updates of these windows update classifications. If empty, all updates are applied. func (o WindowsUpdateSettingsResponseOutput) Classifications() pulumi.StringArrayOutput { return o.ApplyT(func(v WindowsUpdateSettingsResponse) []string { return v.Classifications }).(pulumi.StringArrayOutput) @@ -6965,6 +8016,12 @@ func (i YumRepositoryArgs) ToYumRepositoryOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(YumRepositoryOutput) } +func (i YumRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[YumRepository] { + return pulumix.Output[YumRepository]{ + OutputState: i.ToYumRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i YumRepositoryArgs) ToYumRepositoryPtrOutput() YumRepositoryPtrOutput { return i.ToYumRepositoryPtrOutputWithContext(context.Background()) } @@ -7006,6 +8063,12 @@ func (i *yumRepositoryPtrType) ToYumRepositoryPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(YumRepositoryPtrOutput) } +func (i *yumRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*YumRepository] { + return pulumix.Output[*YumRepository]{ + OutputState: i.ToYumRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single Yum package repository. This repository is added to a repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`. type YumRepositoryOutput struct{ *pulumi.OutputState } @@ -7031,6 +8094,12 @@ func (o YumRepositoryOutput) ToYumRepositoryPtrOutputWithContext(ctx context.Con }).(YumRepositoryPtrOutput) } +func (o YumRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[YumRepository] { + return pulumix.Output[YumRepository]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o YumRepositoryOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v YumRepository) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -7065,6 +8134,12 @@ func (o YumRepositoryPtrOutput) ToYumRepositoryPtrOutputWithContext(ctx context. return o } +func (o YumRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*YumRepository] { + return pulumix.Output[*YumRepository]{ + OutputState: o.OutputState, + } +} + func (o YumRepositoryPtrOutput) Elem() YumRepositoryOutput { return o.ApplyT(func(v *YumRepository) YumRepository { if v != nil { @@ -7140,6 +8215,12 @@ func (o YumRepositoryResponseOutput) ToYumRepositoryResponseOutputWithContext(ct return o } +func (o YumRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[YumRepositoryResponse] { + return pulumix.Output[YumRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o YumRepositoryResponseOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v YumRepositoryResponse) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -7202,6 +8283,12 @@ func (i YumSettingsArgs) ToYumSettingsOutputWithContext(ctx context.Context) Yum return pulumi.ToOutputWithContext(ctx, i).(YumSettingsOutput) } +func (i YumSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[YumSettings] { + return pulumix.Output[YumSettings]{ + OutputState: i.ToYumSettingsOutputWithContext(ctx).OutputState, + } +} + func (i YumSettingsArgs) ToYumSettingsPtrOutput() YumSettingsPtrOutput { return i.ToYumSettingsPtrOutputWithContext(context.Background()) } @@ -7243,6 +8330,12 @@ func (i *yumSettingsPtrType) ToYumSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(YumSettingsPtrOutput) } +func (i *yumSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*YumSettings] { + return pulumix.Output[*YumSettings]{ + OutputState: i.ToYumSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Yum patching is performed by executing `yum update`. Additional options can be set to control how this is executed. Note that not all settings are supported on all platforms. type YumSettingsOutput struct{ *pulumi.OutputState } @@ -7268,6 +8361,12 @@ func (o YumSettingsOutput) ToYumSettingsPtrOutputWithContext(ctx context.Context }).(YumSettingsPtrOutput) } +func (o YumSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[YumSettings] { + return pulumix.Output[YumSettings]{ + OutputState: o.OutputState, + } +} + // List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag. func (o YumSettingsOutput) Excludes() pulumi.StringArrayOutput { return o.ApplyT(func(v YumSettings) []string { return v.Excludes }).(pulumi.StringArrayOutput) @@ -7302,6 +8401,12 @@ func (o YumSettingsPtrOutput) ToYumSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o YumSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*YumSettings] { + return pulumix.Output[*YumSettings]{ + OutputState: o.OutputState, + } +} + func (o YumSettingsPtrOutput) Elem() YumSettingsOutput { return o.ApplyT(func(v *YumSettings) YumSettings { if v != nil { @@ -7379,6 +8484,12 @@ func (o YumSettingsResponseOutput) ToYumSettingsResponseOutputWithContext(ctx co return o } +func (o YumSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[YumSettingsResponse] { + return pulumix.Output[YumSettingsResponse]{ + OutputState: o.OutputState, + } +} + // List of packages to exclude from update. These packages are excluded by using the yum `--exclude` flag. func (o YumSettingsResponseOutput) Excludes() pulumi.StringArrayOutput { return o.ApplyT(func(v YumSettingsResponse) []string { return v.Excludes }).(pulumi.StringArrayOutput) @@ -7446,6 +8557,12 @@ func (i ZypperRepositoryArgs) ToZypperRepositoryOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ZypperRepositoryOutput) } +func (i ZypperRepositoryArgs) ToOutput(ctx context.Context) pulumix.Output[ZypperRepository] { + return pulumix.Output[ZypperRepository]{ + OutputState: i.ToZypperRepositoryOutputWithContext(ctx).OutputState, + } +} + func (i ZypperRepositoryArgs) ToZypperRepositoryPtrOutput() ZypperRepositoryPtrOutput { return i.ToZypperRepositoryPtrOutputWithContext(context.Background()) } @@ -7487,6 +8604,12 @@ func (i *zypperRepositoryPtrType) ToZypperRepositoryPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ZypperRepositoryPtrOutput) } +func (i *zypperRepositoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*ZypperRepository] { + return pulumix.Output[*ZypperRepository]{ + OutputState: i.ToZypperRepositoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single Zypper package repository. This repository is added to a repo file that is stored at `/etc/zypp/repos.d/google_osconfig.repo`. type ZypperRepositoryOutput struct{ *pulumi.OutputState } @@ -7512,6 +8635,12 @@ func (o ZypperRepositoryOutput) ToZypperRepositoryPtrOutputWithContext(ctx conte }).(ZypperRepositoryPtrOutput) } +func (o ZypperRepositoryOutput) ToOutput(ctx context.Context) pulumix.Output[ZypperRepository] { + return pulumix.Output[ZypperRepository]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o ZypperRepositoryOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v ZypperRepository) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -7546,6 +8675,12 @@ func (o ZypperRepositoryPtrOutput) ToZypperRepositoryPtrOutputWithContext(ctx co return o } +func (o ZypperRepositoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ZypperRepository] { + return pulumix.Output[*ZypperRepository]{ + OutputState: o.OutputState, + } +} + func (o ZypperRepositoryPtrOutput) Elem() ZypperRepositoryOutput { return o.ApplyT(func(v *ZypperRepository) ZypperRepository { if v != nil { @@ -7621,6 +8756,12 @@ func (o ZypperRepositoryResponseOutput) ToZypperRepositoryResponseOutputWithCont return o } +func (o ZypperRepositoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ZypperRepositoryResponse] { + return pulumix.Output[ZypperRepositoryResponse]{ + OutputState: o.OutputState, + } +} + // The location of the repository directory. func (o ZypperRepositoryResponseOutput) BaseUrl() pulumi.StringOutput { return o.ApplyT(func(v ZypperRepositoryResponse) string { return v.BaseUrl }).(pulumi.StringOutput) @@ -7691,6 +8832,12 @@ func (i ZypperSettingsArgs) ToZypperSettingsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ZypperSettingsOutput) } +func (i ZypperSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ZypperSettings] { + return pulumix.Output[ZypperSettings]{ + OutputState: i.ToZypperSettingsOutputWithContext(ctx).OutputState, + } +} + func (i ZypperSettingsArgs) ToZypperSettingsPtrOutput() ZypperSettingsPtrOutput { return i.ToZypperSettingsPtrOutputWithContext(context.Background()) } @@ -7732,6 +8879,12 @@ func (i *zypperSettingsPtrType) ToZypperSettingsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ZypperSettingsPtrOutput) } +func (i *zypperSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ZypperSettings] { + return pulumix.Output[*ZypperSettings]{ + OutputState: i.ToZypperSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Zypper patching is performed by running `zypper patch`. See also https://en.opensuse.org/SDB:Zypper_manual. type ZypperSettingsOutput struct{ *pulumi.OutputState } @@ -7757,6 +8910,12 @@ func (o ZypperSettingsOutput) ToZypperSettingsPtrOutputWithContext(ctx context.C }).(ZypperSettingsPtrOutput) } +func (o ZypperSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ZypperSettings] { + return pulumix.Output[ZypperSettings]{ + OutputState: o.OutputState, + } +} + // Install only patches with these categories. Common categories include security, recommended, and feature. func (o ZypperSettingsOutput) Categories() pulumi.StringArrayOutput { return o.ApplyT(func(v ZypperSettings) []string { return v.Categories }).(pulumi.StringArrayOutput) @@ -7801,6 +8960,12 @@ func (o ZypperSettingsPtrOutput) ToZypperSettingsPtrOutputWithContext(ctx contex return o } +func (o ZypperSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ZypperSettings] { + return pulumix.Output[*ZypperSettings]{ + OutputState: o.OutputState, + } +} + func (o ZypperSettingsPtrOutput) Elem() ZypperSettingsOutput { return o.ApplyT(func(v *ZypperSettings) ZypperSettings { if v != nil { @@ -7902,6 +9067,12 @@ func (o ZypperSettingsResponseOutput) ToZypperSettingsResponseOutputWithContext( return o } +func (o ZypperSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ZypperSettingsResponse] { + return pulumix.Output[ZypperSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Install only patches with these categories. Common categories include security, recommended, and feature. func (o ZypperSettingsResponseOutput) Categories() pulumi.StringArrayOutput { return o.ApplyT(func(v ZypperSettingsResponse) []string { return v.Categories }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/oslogin/v1/getSshPublicKey.go b/sdk/go/google/oslogin/v1/getSshPublicKey.go index 8df7ec85b8..844a5b7e67 100644 --- a/sdk/go/google/oslogin/v1/getSshPublicKey.go +++ b/sdk/go/google/oslogin/v1/getSshPublicKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves an SSH public key. @@ -74,6 +75,12 @@ func (o LookupSshPublicKeyResultOutput) ToLookupSshPublicKeyResultOutputWithCont return o } +func (o LookupSshPublicKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSshPublicKeyResult] { + return pulumix.Output[LookupSshPublicKeyResult]{ + OutputState: o.OutputState, + } +} + // An expiration time in microseconds since epoch. func (o LookupSshPublicKeyResultOutput) ExpirationTimeUsec() pulumi.StringOutput { return o.ApplyT(func(v LookupSshPublicKeyResult) string { return v.ExpirationTimeUsec }).(pulumi.StringOutput) diff --git a/sdk/go/google/oslogin/v1/sshPublicKey.go b/sdk/go/google/oslogin/v1/sshPublicKey.go index e023b07a52..0f2705bdf7 100644 --- a/sdk/go/google/oslogin/v1/sshPublicKey.go +++ b/sdk/go/google/oslogin/v1/sshPublicKey.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an SSH public key @@ -114,6 +115,12 @@ func (i *SshPublicKey) ToSshPublicKeyOutputWithContext(ctx context.Context) SshP return pulumi.ToOutputWithContext(ctx, i).(SshPublicKeyOutput) } +func (i *SshPublicKey) ToOutput(ctx context.Context) pulumix.Output[*SshPublicKey] { + return pulumix.Output[*SshPublicKey]{ + OutputState: i.ToSshPublicKeyOutputWithContext(ctx).OutputState, + } +} + type SshPublicKeyOutput struct{ *pulumi.OutputState } func (SshPublicKeyOutput) ElementType() reflect.Type { @@ -128,6 +135,12 @@ func (o SshPublicKeyOutput) ToSshPublicKeyOutputWithContext(ctx context.Context) return o } +func (o SshPublicKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*SshPublicKey] { + return pulumix.Output[*SshPublicKey]{ + OutputState: o.OutputState, + } +} + // An expiration time in microseconds since epoch. func (o SshPublicKeyOutput) ExpirationTimeUsec() pulumi.StringOutput { return o.ApplyT(func(v *SshPublicKey) pulumi.StringOutput { return v.ExpirationTimeUsec }).(pulumi.StringOutput) diff --git a/sdk/go/google/oslogin/v1alpha/getSshPublicKey.go b/sdk/go/google/oslogin/v1alpha/getSshPublicKey.go index 7a85b85886..70db180775 100644 --- a/sdk/go/google/oslogin/v1alpha/getSshPublicKey.go +++ b/sdk/go/google/oslogin/v1alpha/getSshPublicKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves an SSH public key. @@ -74,6 +75,12 @@ func (o LookupSshPublicKeyResultOutput) ToLookupSshPublicKeyResultOutputWithCont return o } +func (o LookupSshPublicKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSshPublicKeyResult] { + return pulumix.Output[LookupSshPublicKeyResult]{ + OutputState: o.OutputState, + } +} + // An expiration time in microseconds since epoch. func (o LookupSshPublicKeyResultOutput) ExpirationTimeUsec() pulumi.StringOutput { return o.ApplyT(func(v LookupSshPublicKeyResult) string { return v.ExpirationTimeUsec }).(pulumi.StringOutput) diff --git a/sdk/go/google/oslogin/v1alpha/sshPublicKey.go b/sdk/go/google/oslogin/v1alpha/sshPublicKey.go index 2fb820d36e..670c2940c7 100644 --- a/sdk/go/google/oslogin/v1alpha/sshPublicKey.go +++ b/sdk/go/google/oslogin/v1alpha/sshPublicKey.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an SSH public key @@ -114,6 +115,12 @@ func (i *SshPublicKey) ToSshPublicKeyOutputWithContext(ctx context.Context) SshP return pulumi.ToOutputWithContext(ctx, i).(SshPublicKeyOutput) } +func (i *SshPublicKey) ToOutput(ctx context.Context) pulumix.Output[*SshPublicKey] { + return pulumix.Output[*SshPublicKey]{ + OutputState: i.ToSshPublicKeyOutputWithContext(ctx).OutputState, + } +} + type SshPublicKeyOutput struct{ *pulumi.OutputState } func (SshPublicKeyOutput) ElementType() reflect.Type { @@ -128,6 +135,12 @@ func (o SshPublicKeyOutput) ToSshPublicKeyOutputWithContext(ctx context.Context) return o } +func (o SshPublicKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*SshPublicKey] { + return pulumix.Output[*SshPublicKey]{ + OutputState: o.OutputState, + } +} + // An expiration time in microseconds since epoch. func (o SshPublicKeyOutput) ExpirationTimeUsec() pulumi.StringOutput { return o.ApplyT(func(v *SshPublicKey) pulumi.StringOutput { return v.ExpirationTimeUsec }).(pulumi.StringOutput) diff --git a/sdk/go/google/oslogin/v1beta/getSshPublicKey.go b/sdk/go/google/oslogin/v1beta/getSshPublicKey.go index 3f667735ce..274578a9a0 100644 --- a/sdk/go/google/oslogin/v1beta/getSshPublicKey.go +++ b/sdk/go/google/oslogin/v1beta/getSshPublicKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves an SSH public key. @@ -74,6 +75,12 @@ func (o LookupSshPublicKeyResultOutput) ToLookupSshPublicKeyResultOutputWithCont return o } +func (o LookupSshPublicKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSshPublicKeyResult] { + return pulumix.Output[LookupSshPublicKeyResult]{ + OutputState: o.OutputState, + } +} + // An expiration time in microseconds since epoch. func (o LookupSshPublicKeyResultOutput) ExpirationTimeUsec() pulumi.StringOutput { return o.ApplyT(func(v LookupSshPublicKeyResult) string { return v.ExpirationTimeUsec }).(pulumi.StringOutput) diff --git a/sdk/go/google/oslogin/v1beta/sshPublicKey.go b/sdk/go/google/oslogin/v1beta/sshPublicKey.go index bab71bb514..c37e318002 100644 --- a/sdk/go/google/oslogin/v1beta/sshPublicKey.go +++ b/sdk/go/google/oslogin/v1beta/sshPublicKey.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create an SSH public key @@ -114,6 +115,12 @@ func (i *SshPublicKey) ToSshPublicKeyOutputWithContext(ctx context.Context) SshP return pulumi.ToOutputWithContext(ctx, i).(SshPublicKeyOutput) } +func (i *SshPublicKey) ToOutput(ctx context.Context) pulumix.Output[*SshPublicKey] { + return pulumix.Output[*SshPublicKey]{ + OutputState: i.ToSshPublicKeyOutputWithContext(ctx).OutputState, + } +} + type SshPublicKeyOutput struct{ *pulumi.OutputState } func (SshPublicKeyOutput) ElementType() reflect.Type { @@ -128,6 +135,12 @@ func (o SshPublicKeyOutput) ToSshPublicKeyOutputWithContext(ctx context.Context) return o } +func (o SshPublicKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*SshPublicKey] { + return pulumix.Output[*SshPublicKey]{ + OutputState: o.OutputState, + } +} + // An expiration time in microseconds since epoch. func (o SshPublicKeyOutput) ExpirationTimeUsec() pulumi.StringOutput { return o.ApplyT(func(v *SshPublicKey) pulumi.StringOutput { return v.ExpirationTimeUsec }).(pulumi.StringOutput) diff --git a/sdk/go/google/policysimulator/v1/folderReplay.go b/sdk/go/google/policysimulator/v1/folderReplay.go index eeed563c30..81b132546d 100644 --- a/sdk/go/google/policysimulator/v1/folderReplay.go +++ b/sdk/go/google/policysimulator/v1/folderReplay.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates and starts a Replay using the given ReplayConfig. @@ -119,6 +120,12 @@ func (i *FolderReplay) ToFolderReplayOutputWithContext(ctx context.Context) Fold return pulumi.ToOutputWithContext(ctx, i).(FolderReplayOutput) } +func (i *FolderReplay) ToOutput(ctx context.Context) pulumix.Output[*FolderReplay] { + return pulumix.Output[*FolderReplay]{ + OutputState: i.ToFolderReplayOutputWithContext(ctx).OutputState, + } +} + type FolderReplayOutput struct{ *pulumi.OutputState } func (FolderReplayOutput) ElementType() reflect.Type { @@ -133,6 +140,12 @@ func (o FolderReplayOutput) ToFolderReplayOutputWithContext(ctx context.Context) return o } +func (o FolderReplayOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderReplay] { + return pulumix.Output[*FolderReplay]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o FolderReplayOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput { return o.ApplyT(func(v *FolderReplay) GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput { return v.Config }).(GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) diff --git a/sdk/go/google/policysimulator/v1/getFolderReplay.go b/sdk/go/google/policysimulator/v1/getFolderReplay.go index a9511a1a38..1ffe3184df 100644 --- a/sdk/go/google/policysimulator/v1/getFolderReplay.go +++ b/sdk/go/google/policysimulator/v1/getFolderReplay.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Replay. Each `Replay` is available for at least 7 days. @@ -76,6 +77,12 @@ func (o LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutputWithCont return o } +func (o LookupFolderReplayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderReplayResult] { + return pulumix.Output[LookupFolderReplayResult]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o LookupFolderReplayResultOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput { return o.ApplyT(func(v LookupFolderReplayResult) GoogleCloudPolicysimulatorV1ReplayConfigResponse { return v.Config }).(GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) diff --git a/sdk/go/google/policysimulator/v1/getOrganizationReplay.go b/sdk/go/google/policysimulator/v1/getOrganizationReplay.go index 6164b22565..fb508dafff 100644 --- a/sdk/go/google/policysimulator/v1/getOrganizationReplay.go +++ b/sdk/go/google/policysimulator/v1/getOrganizationReplay.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Replay. Each `Replay` is available for at least 7 days. @@ -76,6 +77,12 @@ func (o LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOu return o } +func (o LookupOrganizationReplayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationReplayResult] { + return pulumix.Output[LookupOrganizationReplayResult]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o LookupOrganizationReplayResultOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput { return o.ApplyT(func(v LookupOrganizationReplayResult) GoogleCloudPolicysimulatorV1ReplayConfigResponse { diff --git a/sdk/go/google/policysimulator/v1/getReplay.go b/sdk/go/google/policysimulator/v1/getReplay.go index ced4301ced..22b2899285 100644 --- a/sdk/go/google/policysimulator/v1/getReplay.go +++ b/sdk/go/google/policysimulator/v1/getReplay.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Replay. Each `Replay` is available for at least 7 days. @@ -76,6 +77,12 @@ func (o LookupReplayResultOutput) ToLookupReplayResultOutputWithContext(ctx cont return o } +func (o LookupReplayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReplayResult] { + return pulumix.Output[LookupReplayResult]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o LookupReplayResultOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput { return o.ApplyT(func(v LookupReplayResult) GoogleCloudPolicysimulatorV1ReplayConfigResponse { return v.Config }).(GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) diff --git a/sdk/go/google/policysimulator/v1/organizationReplay.go b/sdk/go/google/policysimulator/v1/organizationReplay.go index ae0e3d6d08..0e8b1ba5a0 100644 --- a/sdk/go/google/policysimulator/v1/organizationReplay.go +++ b/sdk/go/google/policysimulator/v1/organizationReplay.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates and starts a Replay using the given ReplayConfig. @@ -119,6 +120,12 @@ func (i *OrganizationReplay) ToOrganizationReplayOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OrganizationReplayOutput) } +func (i *OrganizationReplay) ToOutput(ctx context.Context) pulumix.Output[*OrganizationReplay] { + return pulumix.Output[*OrganizationReplay]{ + OutputState: i.ToOrganizationReplayOutputWithContext(ctx).OutputState, + } +} + type OrganizationReplayOutput struct{ *pulumi.OutputState } func (OrganizationReplayOutput) ElementType() reflect.Type { @@ -133,6 +140,12 @@ func (o OrganizationReplayOutput) ToOrganizationReplayOutputWithContext(ctx cont return o } +func (o OrganizationReplayOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationReplay] { + return pulumix.Output[*OrganizationReplay]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o OrganizationReplayOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput { return o.ApplyT(func(v *OrganizationReplay) GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput { return v.Config }).(GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) diff --git a/sdk/go/google/policysimulator/v1/pulumiEnums.go b/sdk/go/google/policysimulator/v1/pulumiEnums.go index 1323dc959c..7634b4cce5 100644 --- a/sdk/go/google/policysimulator/v1/pulumiEnums.go +++ b/sdk/go/google/policysimulator/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The logs to use as input for the Replay. @@ -80,6 +81,12 @@ func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToGoogleCloudPo }).(GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) } +func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudPolicysimulatorV1ReplayConfigLogSource] { + return pulumix.Output[GoogleCloudPolicysimulatorV1ReplayConfigLogSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToGoogleClou return o } +func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudPolicysimulatorV1ReplayConfigLogSource] { + return pulumix.Output[*GoogleCloudPolicysimulatorV1ReplayConfigLogSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) Elem() GoogleCloudPolicysimulatorV1ReplayConfigLogSourceOutput { return o.ApplyT(func(v *GoogleCloudPolicysimulatorV1ReplayConfigLogSource) GoogleCloudPolicysimulatorV1ReplayConfigLogSource { if v != nil { @@ -177,6 +190,12 @@ func (in *googleCloudPolicysimulatorV1ReplayConfigLogSourcePtr) ToGoogleCloudPol return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput) } +func (in *googleCloudPolicysimulatorV1ReplayConfigLogSourcePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudPolicysimulatorV1ReplayConfigLogSource] { + return pulumix.Output[*GoogleCloudPolicysimulatorV1ReplayConfigLogSource]{ + OutputState: in.ToGoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudPolicysimulatorV1ReplayConfigLogSourceInput)(nil)).Elem(), GoogleCloudPolicysimulatorV1ReplayConfigLogSource("LOG_SOURCE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrInput)(nil)).Elem(), GoogleCloudPolicysimulatorV1ReplayConfigLogSource("LOG_SOURCE_UNSPECIFIED")) diff --git a/sdk/go/google/policysimulator/v1/pulumiTypes.go b/sdk/go/google/policysimulator/v1/pulumiTypes.go index f358166748..d196a34b9d 100644 --- a/sdk/go/google/policysimulator/v1/pulumiTypes.go +++ b/sdk/go/google/policysimulator/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudPolicysimulatorV1ReplayConfigArgs) ToGoogleCloudPolicysimulat return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudPolicysimulatorV1ReplayConfigOutput) } +func (i GoogleCloudPolicysimulatorV1ReplayConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudPolicysimulatorV1ReplayConfig] { + return pulumix.Output[GoogleCloudPolicysimulatorV1ReplayConfig]{ + OutputState: i.ToGoogleCloudPolicysimulatorV1ReplayConfigOutputWithContext(ctx).OutputState, + } +} + // The configuration used for a Replay. type GoogleCloudPolicysimulatorV1ReplayConfigOutput struct{ *pulumi.OutputState } @@ -67,6 +74,12 @@ func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) ToGoogleCloudPolicysimul return o } +func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudPolicysimulatorV1ReplayConfig] { + return pulumix.Output[GoogleCloudPolicysimulatorV1ReplayConfig]{ + OutputState: o.OutputState, + } +} + // The logs to use as input for the Replay. func (o GoogleCloudPolicysimulatorV1ReplayConfigOutput) LogSource() GoogleCloudPolicysimulatorV1ReplayConfigLogSourcePtrOutput { return o.ApplyT(func(v GoogleCloudPolicysimulatorV1ReplayConfig) *GoogleCloudPolicysimulatorV1ReplayConfigLogSource { @@ -102,6 +115,12 @@ func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ToGoogleCloudPol return o } +func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudPolicysimulatorV1ReplayConfigResponse] { + return pulumix.Output[GoogleCloudPolicysimulatorV1ReplayConfigResponse]{ + OutputState: o.OutputState, + } +} + // The logs to use as input for the Replay. func (o GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) LogSource() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudPolicysimulatorV1ReplayConfigResponse) string { return v.LogSource }).(pulumi.StringOutput) @@ -143,6 +162,12 @@ func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ToGoogle return o } +func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponse] { + return pulumix.Output[GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponse]{ + OutputState: o.OutputState, + } +} + // The number of replayed log entries with a difference between baseline and simulated policies. func (o GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponseOutput) DifferenceCount() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudPolicysimulatorV1ReplayResultsSummaryResponse) int { return v.DifferenceCount }).(pulumi.IntOutput) @@ -202,6 +227,12 @@ func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext( return o } +func (o GoogleTypeDateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDateResponse] { + return pulumix.Output[GoogleTypeDateResponse]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v GoogleTypeDateResponse) int { return v.Day }).(pulumi.IntOutput) diff --git a/sdk/go/google/policysimulator/v1/replay.go b/sdk/go/google/policysimulator/v1/replay.go index 180c34bfb0..bd440c516e 100644 --- a/sdk/go/google/policysimulator/v1/replay.go +++ b/sdk/go/google/policysimulator/v1/replay.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates and starts a Replay using the given ReplayConfig. @@ -116,6 +117,12 @@ func (i *Replay) ToReplayOutputWithContext(ctx context.Context) ReplayOutput { return pulumi.ToOutputWithContext(ctx, i).(ReplayOutput) } +func (i *Replay) ToOutput(ctx context.Context) pulumix.Output[*Replay] { + return pulumix.Output[*Replay]{ + OutputState: i.ToReplayOutputWithContext(ctx).OutputState, + } +} + type ReplayOutput struct{ *pulumi.OutputState } func (ReplayOutput) ElementType() reflect.Type { @@ -130,6 +137,12 @@ func (o ReplayOutput) ToReplayOutputWithContext(ctx context.Context) ReplayOutpu return o } +func (o ReplayOutput) ToOutput(ctx context.Context) pulumix.Output[*Replay] { + return pulumix.Output[*Replay]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o ReplayOutput) Config() GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput { return o.ApplyT(func(v *Replay) GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput { return v.Config }).(GoogleCloudPolicysimulatorV1ReplayConfigResponseOutput) diff --git a/sdk/go/google/policysimulator/v1beta1/folderReplay.go b/sdk/go/google/policysimulator/v1beta1/folderReplay.go index b7d316bfa6..3ef91df79d 100644 --- a/sdk/go/google/policysimulator/v1beta1/folderReplay.go +++ b/sdk/go/google/policysimulator/v1beta1/folderReplay.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates and starts a Replay using the given ReplayConfig. @@ -119,6 +120,12 @@ func (i *FolderReplay) ToFolderReplayOutputWithContext(ctx context.Context) Fold return pulumi.ToOutputWithContext(ctx, i).(FolderReplayOutput) } +func (i *FolderReplay) ToOutput(ctx context.Context) pulumix.Output[*FolderReplay] { + return pulumix.Output[*FolderReplay]{ + OutputState: i.ToFolderReplayOutputWithContext(ctx).OutputState, + } +} + type FolderReplayOutput struct{ *pulumi.OutputState } func (FolderReplayOutput) ElementType() reflect.Type { @@ -133,6 +140,12 @@ func (o FolderReplayOutput) ToFolderReplayOutputWithContext(ctx context.Context) return o } +func (o FolderReplayOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderReplay] { + return pulumix.Output[*FolderReplay]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o FolderReplayOutput) Config() GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput { return o.ApplyT(func(v *FolderReplay) GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput { return v.Config }).(GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput) diff --git a/sdk/go/google/policysimulator/v1beta1/getFolderReplay.go b/sdk/go/google/policysimulator/v1beta1/getFolderReplay.go index cf764d9a3b..bdf505146a 100644 --- a/sdk/go/google/policysimulator/v1beta1/getFolderReplay.go +++ b/sdk/go/google/policysimulator/v1beta1/getFolderReplay.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Replay. Each `Replay` is available for at least 7 days. @@ -76,6 +77,12 @@ func (o LookupFolderReplayResultOutput) ToLookupFolderReplayResultOutputWithCont return o } +func (o LookupFolderReplayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderReplayResult] { + return pulumix.Output[LookupFolderReplayResult]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o LookupFolderReplayResultOutput) Config() GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput { return o.ApplyT(func(v LookupFolderReplayResult) GoogleCloudPolicysimulatorV1beta1ReplayConfigResponse { diff --git a/sdk/go/google/policysimulator/v1beta1/getOrganizationReplay.go b/sdk/go/google/policysimulator/v1beta1/getOrganizationReplay.go index 8fa7f55952..85e58aa6eb 100644 --- a/sdk/go/google/policysimulator/v1beta1/getOrganizationReplay.go +++ b/sdk/go/google/policysimulator/v1beta1/getOrganizationReplay.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Replay. Each `Replay` is available for at least 7 days. @@ -76,6 +77,12 @@ func (o LookupOrganizationReplayResultOutput) ToLookupOrganizationReplayResultOu return o } +func (o LookupOrganizationReplayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationReplayResult] { + return pulumix.Output[LookupOrganizationReplayResult]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o LookupOrganizationReplayResultOutput) Config() GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput { return o.ApplyT(func(v LookupOrganizationReplayResult) GoogleCloudPolicysimulatorV1beta1ReplayConfigResponse { diff --git a/sdk/go/google/policysimulator/v1beta1/getReplay.go b/sdk/go/google/policysimulator/v1beta1/getReplay.go index 8eabbf2e6e..ac24e112bb 100644 --- a/sdk/go/google/policysimulator/v1beta1/getReplay.go +++ b/sdk/go/google/policysimulator/v1beta1/getReplay.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the specified Replay. Each `Replay` is available for at least 7 days. @@ -76,6 +77,12 @@ func (o LookupReplayResultOutput) ToLookupReplayResultOutputWithContext(ctx cont return o } +func (o LookupReplayResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReplayResult] { + return pulumix.Output[LookupReplayResult]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o LookupReplayResultOutput) Config() GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput { return o.ApplyT(func(v LookupReplayResult) GoogleCloudPolicysimulatorV1beta1ReplayConfigResponse { return v.Config }).(GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput) diff --git a/sdk/go/google/policysimulator/v1beta1/organizationReplay.go b/sdk/go/google/policysimulator/v1beta1/organizationReplay.go index 04ceba98f9..88944f7dad 100644 --- a/sdk/go/google/policysimulator/v1beta1/organizationReplay.go +++ b/sdk/go/google/policysimulator/v1beta1/organizationReplay.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates and starts a Replay using the given ReplayConfig. @@ -119,6 +120,12 @@ func (i *OrganizationReplay) ToOrganizationReplayOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(OrganizationReplayOutput) } +func (i *OrganizationReplay) ToOutput(ctx context.Context) pulumix.Output[*OrganizationReplay] { + return pulumix.Output[*OrganizationReplay]{ + OutputState: i.ToOrganizationReplayOutputWithContext(ctx).OutputState, + } +} + type OrganizationReplayOutput struct{ *pulumi.OutputState } func (OrganizationReplayOutput) ElementType() reflect.Type { @@ -133,6 +140,12 @@ func (o OrganizationReplayOutput) ToOrganizationReplayOutputWithContext(ctx cont return o } +func (o OrganizationReplayOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationReplay] { + return pulumix.Output[*OrganizationReplay]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o OrganizationReplayOutput) Config() GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput { return o.ApplyT(func(v *OrganizationReplay) GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput { diff --git a/sdk/go/google/policysimulator/v1beta1/pulumiEnums.go b/sdk/go/google/policysimulator/v1beta1/pulumiEnums.go index 636078fcd4..091f74500f 100644 --- a/sdk/go/google/policysimulator/v1beta1/pulumiEnums.go +++ b/sdk/go/google/policysimulator/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The logs to use as input for the Replay. @@ -80,6 +81,12 @@ func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourceOutput) ToGoogleCl }).(GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourcePtrOutput) } +func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource] { + return pulumix.Output[GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourcePtrOutput) ToGoogl return o } +func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource] { + return pulumix.Output[*GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourcePtrOutput) Elem() GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourceOutput { return o.ApplyT(func(v *GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource) GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource { if v != nil { @@ -177,6 +190,12 @@ func (in *googleCloudPolicysimulatorV1beta1ReplayConfigLogSourcePtr) ToGoogleClo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourcePtrOutput) } +func (in *googleCloudPolicysimulatorV1beta1ReplayConfigLogSourcePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource] { + return pulumix.Output[*GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource]{ + OutputState: in.ToGoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourcePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourceInput)(nil)).Elem(), GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource("LOG_SOURCE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourcePtrInput)(nil)).Elem(), GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource("LOG_SOURCE_UNSPECIFIED")) diff --git a/sdk/go/google/policysimulator/v1beta1/pulumiTypes.go b/sdk/go/google/policysimulator/v1beta1/pulumiTypes.go index 454c13afaf..d51de2cfe7 100644 --- a/sdk/go/google/policysimulator/v1beta1/pulumiTypes.go +++ b/sdk/go/google/policysimulator/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudPolicysimulatorV1beta1ReplayConfigArgs) ToGoogleCloudPolicysi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudPolicysimulatorV1beta1ReplayConfigOutput) } +func (i GoogleCloudPolicysimulatorV1beta1ReplayConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudPolicysimulatorV1beta1ReplayConfig] { + return pulumix.Output[GoogleCloudPolicysimulatorV1beta1ReplayConfig]{ + OutputState: i.ToGoogleCloudPolicysimulatorV1beta1ReplayConfigOutputWithContext(ctx).OutputState, + } +} + // The configuration used for a Replay. type GoogleCloudPolicysimulatorV1beta1ReplayConfigOutput struct{ *pulumi.OutputState } @@ -67,6 +74,12 @@ func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigOutput) ToGoogleCloudPolicy return o } +func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudPolicysimulatorV1beta1ReplayConfig] { + return pulumix.Output[GoogleCloudPolicysimulatorV1beta1ReplayConfig]{ + OutputState: o.OutputState, + } +} + // The logs to use as input for the Replay. func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigOutput) LogSource() GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSourcePtrOutput { return o.ApplyT(func(v GoogleCloudPolicysimulatorV1beta1ReplayConfig) *GoogleCloudPolicysimulatorV1beta1ReplayConfigLogSource { @@ -102,6 +115,12 @@ func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput) ToGoogleClo return o } +func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudPolicysimulatorV1beta1ReplayConfigResponse] { + return pulumix.Output[GoogleCloudPolicysimulatorV1beta1ReplayConfigResponse]{ + OutputState: o.OutputState, + } +} + // The logs to use as input for the Replay. func (o GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput) LogSource() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudPolicysimulatorV1beta1ReplayConfigResponse) string { return v.LogSource }).(pulumi.StringOutput) @@ -145,6 +164,12 @@ func (o GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponseOutput) ToG return o } +func (o GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponse] { + return pulumix.Output[GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponse]{ + OutputState: o.OutputState, + } +} + // The number of replayed log entries with a difference between baseline and simulated policies. func (o GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponseOutput) DifferenceCount() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudPolicysimulatorV1beta1ReplayResultsSummaryResponse) int { return v.DifferenceCount }).(pulumi.IntOutput) @@ -204,6 +229,12 @@ func (o GoogleTypeDateResponseOutput) ToGoogleTypeDateResponseOutputWithContext( return o } +func (o GoogleTypeDateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeDateResponse] { + return pulumix.Output[GoogleTypeDateResponse]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o GoogleTypeDateResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v GoogleTypeDateResponse) int { return v.Day }).(pulumi.IntOutput) diff --git a/sdk/go/google/policysimulator/v1beta1/replay.go b/sdk/go/google/policysimulator/v1beta1/replay.go index 2dd9d4cb3b..703679040a 100644 --- a/sdk/go/google/policysimulator/v1beta1/replay.go +++ b/sdk/go/google/policysimulator/v1beta1/replay.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates and starts a Replay using the given ReplayConfig. @@ -116,6 +117,12 @@ func (i *Replay) ToReplayOutputWithContext(ctx context.Context) ReplayOutput { return pulumi.ToOutputWithContext(ctx, i).(ReplayOutput) } +func (i *Replay) ToOutput(ctx context.Context) pulumix.Output[*Replay] { + return pulumix.Output[*Replay]{ + OutputState: i.ToReplayOutputWithContext(ctx).OutputState, + } +} + type ReplayOutput struct{ *pulumi.OutputState } func (ReplayOutput) ElementType() reflect.Type { @@ -130,6 +137,12 @@ func (o ReplayOutput) ToReplayOutputWithContext(ctx context.Context) ReplayOutpu return o } +func (o ReplayOutput) ToOutput(ctx context.Context) pulumix.Output[*Replay] { + return pulumix.Output[*Replay]{ + OutputState: o.OutputState, + } +} + // The configuration used for the `Replay`. func (o ReplayOutput) Config() GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput { return o.ApplyT(func(v *Replay) GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput { return v.Config }).(GoogleCloudPolicysimulatorV1beta1ReplayConfigResponseOutput) diff --git a/sdk/go/google/privateca/v1/caPool.go b/sdk/go/google/privateca/v1/caPool.go index b2a8dd4b9f..a32431fdca 100644 --- a/sdk/go/google/privateca/v1/caPool.go +++ b/sdk/go/google/privateca/v1/caPool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a CaPool. @@ -144,6 +145,12 @@ func (i *CaPool) ToCaPoolOutputWithContext(ctx context.Context) CaPoolOutput { return pulumi.ToOutputWithContext(ctx, i).(CaPoolOutput) } +func (i *CaPool) ToOutput(ctx context.Context) pulumix.Output[*CaPool] { + return pulumix.Output[*CaPool]{ + OutputState: i.ToCaPoolOutputWithContext(ctx).OutputState, + } +} + type CaPoolOutput struct{ *pulumi.OutputState } func (CaPoolOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o CaPoolOutput) ToCaPoolOutputWithContext(ctx context.Context) CaPoolOutpu return o } +func (o CaPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*CaPool] { + return pulumix.Output[*CaPool]{ + OutputState: o.OutputState, + } +} + // Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` func (o CaPoolOutput) CaPoolId() pulumi.StringOutput { return o.ApplyT(func(v *CaPool) pulumi.StringOutput { return v.CaPoolId }).(pulumi.StringOutput) diff --git a/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamBinding.go b/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamBinding.go index 86c798c077..c5631d5de5 100644 --- a/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamBinding.go +++ b/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CaPoolCertificateAuthorityCertificateRevocationListIamBinding) ToCaPool return pulumi.ToOutputWithContext(ctx, i).(CaPoolCertificateAuthorityCertificateRevocationListIamBindingOutput) } +func (i *CaPoolCertificateAuthorityCertificateRevocationListIamBinding) ToOutput(ctx context.Context) pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamBinding] { + return pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamBinding]{ + OutputState: i.ToCaPoolCertificateAuthorityCertificateRevocationListIamBindingOutputWithContext(ctx).OutputState, + } +} + type CaPoolCertificateAuthorityCertificateRevocationListIamBindingOutput struct{ *pulumi.OutputState } func (CaPoolCertificateAuthorityCertificateRevocationListIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CaPoolCertificateAuthorityCertificateRevocationListIamBindingOutput) ToC return o } +func (o CaPoolCertificateAuthorityCertificateRevocationListIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamBinding] { + return pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o CaPoolCertificateAuthorityCertificateRevocationListIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *CaPoolCertificateAuthorityCertificateRevocationListIamBinding) iam.ConditionPtrOutput { diff --git a/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamMember.go b/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamMember.go index ba9a63d004..c26c28615e 100644 --- a/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamMember.go +++ b/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CaPoolCertificateAuthorityCertificateRevocationListIamMember) ToCaPoolC return pulumi.ToOutputWithContext(ctx, i).(CaPoolCertificateAuthorityCertificateRevocationListIamMemberOutput) } +func (i *CaPoolCertificateAuthorityCertificateRevocationListIamMember) ToOutput(ctx context.Context) pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamMember] { + return pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamMember]{ + OutputState: i.ToCaPoolCertificateAuthorityCertificateRevocationListIamMemberOutputWithContext(ctx).OutputState, + } +} + type CaPoolCertificateAuthorityCertificateRevocationListIamMemberOutput struct{ *pulumi.OutputState } func (CaPoolCertificateAuthorityCertificateRevocationListIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CaPoolCertificateAuthorityCertificateRevocationListIamMemberOutput) ToCa return o } +func (o CaPoolCertificateAuthorityCertificateRevocationListIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamMember] { + return pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o CaPoolCertificateAuthorityCertificateRevocationListIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *CaPoolCertificateAuthorityCertificateRevocationListIamMember) iam.ConditionPtrOutput { diff --git a/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamPolicy.go b/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamPolicy.go index 819cb028bd..2056a0bc16 100644 --- a/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamPolicy.go +++ b/sdk/go/google/privateca/v1/caPoolCertificateAuthorityCertificateRevocationListIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -149,6 +150,12 @@ func (i *CaPoolCertificateAuthorityCertificateRevocationListIamPolicy) ToCaPoolC return pulumi.ToOutputWithContext(ctx, i).(CaPoolCertificateAuthorityCertificateRevocationListIamPolicyOutput) } +func (i *CaPoolCertificateAuthorityCertificateRevocationListIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamPolicy] { + return pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamPolicy]{ + OutputState: i.ToCaPoolCertificateAuthorityCertificateRevocationListIamPolicyOutputWithContext(ctx).OutputState, + } +} + type CaPoolCertificateAuthorityCertificateRevocationListIamPolicyOutput struct{ *pulumi.OutputState } func (CaPoolCertificateAuthorityCertificateRevocationListIamPolicyOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o CaPoolCertificateAuthorityCertificateRevocationListIamPolicyOutput) ToCa return o } +func (o CaPoolCertificateAuthorityCertificateRevocationListIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamPolicy] { + return pulumix.Output[*CaPoolCertificateAuthorityCertificateRevocationListIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o CaPoolCertificateAuthorityCertificateRevocationListIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *CaPoolCertificateAuthorityCertificateRevocationListIamPolicy) AuditConfigResponseArrayOutput { diff --git a/sdk/go/google/privateca/v1/caPoolIamBinding.go b/sdk/go/google/privateca/v1/caPoolIamBinding.go index 853ac445a0..9e67489816 100644 --- a/sdk/go/google/privateca/v1/caPoolIamBinding.go +++ b/sdk/go/google/privateca/v1/caPoolIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CaPoolIamBinding) ToCaPoolIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(CaPoolIamBindingOutput) } +func (i *CaPoolIamBinding) ToOutput(ctx context.Context) pulumix.Output[*CaPoolIamBinding] { + return pulumix.Output[*CaPoolIamBinding]{ + OutputState: i.ToCaPoolIamBindingOutputWithContext(ctx).OutputState, + } +} + type CaPoolIamBindingOutput struct{ *pulumi.OutputState } func (CaPoolIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CaPoolIamBindingOutput) ToCaPoolIamBindingOutputWithContext(ctx context. return o } +func (o CaPoolIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*CaPoolIamBinding] { + return pulumix.Output[*CaPoolIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o CaPoolIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *CaPoolIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/privateca/v1/caPoolIamMember.go b/sdk/go/google/privateca/v1/caPoolIamMember.go index 681dc46290..b6619a6aa9 100644 --- a/sdk/go/google/privateca/v1/caPoolIamMember.go +++ b/sdk/go/google/privateca/v1/caPoolIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CaPoolIamMember) ToCaPoolIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(CaPoolIamMemberOutput) } +func (i *CaPoolIamMember) ToOutput(ctx context.Context) pulumix.Output[*CaPoolIamMember] { + return pulumix.Output[*CaPoolIamMember]{ + OutputState: i.ToCaPoolIamMemberOutputWithContext(ctx).OutputState, + } +} + type CaPoolIamMemberOutput struct{ *pulumi.OutputState } func (CaPoolIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CaPoolIamMemberOutput) ToCaPoolIamMemberOutputWithContext(ctx context.Co return o } +func (o CaPoolIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*CaPoolIamMember] { + return pulumix.Output[*CaPoolIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o CaPoolIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *CaPoolIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/privateca/v1/caPoolIamPolicy.go b/sdk/go/google/privateca/v1/caPoolIamPolicy.go index 6586e51bb4..5ad89b51c0 100644 --- a/sdk/go/google/privateca/v1/caPoolIamPolicy.go +++ b/sdk/go/google/privateca/v1/caPoolIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CaPoolIamPolicy) ToCaPoolIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(CaPoolIamPolicyOutput) } +func (i *CaPoolIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*CaPoolIamPolicy] { + return pulumix.Output[*CaPoolIamPolicy]{ + OutputState: i.ToCaPoolIamPolicyOutputWithContext(ctx).OutputState, + } +} + type CaPoolIamPolicyOutput struct{ *pulumi.OutputState } func (CaPoolIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CaPoolIamPolicyOutput) ToCaPoolIamPolicyOutputWithContext(ctx context.Co return o } +func (o CaPoolIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*CaPoolIamPolicy] { + return pulumix.Output[*CaPoolIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o CaPoolIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *CaPoolIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/privateca/v1/certificate.go b/sdk/go/google/privateca/v1/certificate.go index 12b8d1f237..13b153ba85 100644 --- a/sdk/go/google/privateca/v1/certificate.go +++ b/sdk/go/google/privateca/v1/certificate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new Certificate in a given Project, Location from a particular CaPool. @@ -181,6 +182,12 @@ func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) Certif return pulumi.ToOutputWithContext(ctx, i).(CertificateOutput) } +func (i *Certificate) ToOutput(ctx context.Context) pulumix.Output[*Certificate] { + return pulumix.Output[*Certificate]{ + OutputState: i.ToCertificateOutputWithContext(ctx).OutputState, + } +} + type CertificateOutput struct{ *pulumi.OutputState } func (CertificateOutput) ElementType() reflect.Type { @@ -195,6 +202,12 @@ func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) C return o } +func (o CertificateOutput) ToOutput(ctx context.Context) pulumix.Output[*Certificate] { + return pulumix.Output[*Certificate]{ + OutputState: o.OutputState, + } +} + func (o CertificateOutput) CaPoolId() pulumi.StringOutput { return o.ApplyT(func(v *Certificate) pulumi.StringOutput { return v.CaPoolId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/privateca/v1/certificateAuthority.go b/sdk/go/google/privateca/v1/certificateAuthority.go index 77e2c45ece..b474ca69e9 100644 --- a/sdk/go/google/privateca/v1/certificateAuthority.go +++ b/sdk/go/google/privateca/v1/certificateAuthority.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new CertificateAuthority in a given Project and Location. @@ -196,6 +197,12 @@ func (i *CertificateAuthority) ToCertificateAuthorityOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(CertificateAuthorityOutput) } +func (i *CertificateAuthority) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthority] { + return pulumix.Output[*CertificateAuthority]{ + OutputState: i.ToCertificateAuthorityOutputWithContext(ctx).OutputState, + } +} + type CertificateAuthorityOutput struct{ *pulumi.OutputState } func (CertificateAuthorityOutput) ElementType() reflect.Type { @@ -210,6 +217,12 @@ func (o CertificateAuthorityOutput) ToCertificateAuthorityOutputWithContext(ctx return o } +func (o CertificateAuthorityOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthority] { + return pulumix.Output[*CertificateAuthority]{ + OutputState: o.OutputState, + } +} + // URLs for accessing content published by this CA, such as the CA certificate and CRLs. func (o CertificateAuthorityOutput) AccessUrls() AccessUrlsResponseOutput { return o.ApplyT(func(v *CertificateAuthority) AccessUrlsResponseOutput { return v.AccessUrls }).(AccessUrlsResponseOutput) diff --git a/sdk/go/google/privateca/v1/certificateTemplate.go b/sdk/go/google/privateca/v1/certificateTemplate.go index 361731f031..db914655ed 100644 --- a/sdk/go/google/privateca/v1/certificateTemplate.go +++ b/sdk/go/google/privateca/v1/certificateTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new CertificateTemplate in a given Project and Location. @@ -151,6 +152,12 @@ func (i *CertificateTemplate) ToCertificateTemplateOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CertificateTemplateOutput) } +func (i *CertificateTemplate) ToOutput(ctx context.Context) pulumix.Output[*CertificateTemplate] { + return pulumix.Output[*CertificateTemplate]{ + OutputState: i.ToCertificateTemplateOutputWithContext(ctx).OutputState, + } +} + type CertificateTemplateOutput struct{ *pulumi.OutputState } func (CertificateTemplateOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o CertificateTemplateOutput) ToCertificateTemplateOutputWithContext(ctx co return o } +func (o CertificateTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateTemplate] { + return pulumix.Output[*CertificateTemplate]{ + OutputState: o.OutputState, + } +} + // Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` func (o CertificateTemplateOutput) CertificateTemplateId() pulumi.StringOutput { return o.ApplyT(func(v *CertificateTemplate) pulumi.StringOutput { return v.CertificateTemplateId }).(pulumi.StringOutput) diff --git a/sdk/go/google/privateca/v1/certificateTemplateIamBinding.go b/sdk/go/google/privateca/v1/certificateTemplateIamBinding.go index 8c16e7b0f0..c33f0e4a67 100644 --- a/sdk/go/google/privateca/v1/certificateTemplateIamBinding.go +++ b/sdk/go/google/privateca/v1/certificateTemplateIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CertificateTemplateIamBinding) ToCertificateTemplateIamBindingOutputWit return pulumi.ToOutputWithContext(ctx, i).(CertificateTemplateIamBindingOutput) } +func (i *CertificateTemplateIamBinding) ToOutput(ctx context.Context) pulumix.Output[*CertificateTemplateIamBinding] { + return pulumix.Output[*CertificateTemplateIamBinding]{ + OutputState: i.ToCertificateTemplateIamBindingOutputWithContext(ctx).OutputState, + } +} + type CertificateTemplateIamBindingOutput struct{ *pulumi.OutputState } func (CertificateTemplateIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CertificateTemplateIamBindingOutput) ToCertificateTemplateIamBindingOutp return o } +func (o CertificateTemplateIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateTemplateIamBinding] { + return pulumix.Output[*CertificateTemplateIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o CertificateTemplateIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *CertificateTemplateIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/privateca/v1/certificateTemplateIamMember.go b/sdk/go/google/privateca/v1/certificateTemplateIamMember.go index a5014ceba8..470480579d 100644 --- a/sdk/go/google/privateca/v1/certificateTemplateIamMember.go +++ b/sdk/go/google/privateca/v1/certificateTemplateIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CertificateTemplateIamMember) ToCertificateTemplateIamMemberOutputWithC return pulumi.ToOutputWithContext(ctx, i).(CertificateTemplateIamMemberOutput) } +func (i *CertificateTemplateIamMember) ToOutput(ctx context.Context) pulumix.Output[*CertificateTemplateIamMember] { + return pulumix.Output[*CertificateTemplateIamMember]{ + OutputState: i.ToCertificateTemplateIamMemberOutputWithContext(ctx).OutputState, + } +} + type CertificateTemplateIamMemberOutput struct{ *pulumi.OutputState } func (CertificateTemplateIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CertificateTemplateIamMemberOutput) ToCertificateTemplateIamMemberOutput return o } +func (o CertificateTemplateIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateTemplateIamMember] { + return pulumix.Output[*CertificateTemplateIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o CertificateTemplateIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *CertificateTemplateIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/privateca/v1/certificateTemplateIamPolicy.go b/sdk/go/google/privateca/v1/certificateTemplateIamPolicy.go index b29d80e692..d08800ffc0 100644 --- a/sdk/go/google/privateca/v1/certificateTemplateIamPolicy.go +++ b/sdk/go/google/privateca/v1/certificateTemplateIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CertificateTemplateIamPolicy) ToCertificateTemplateIamPolicyOutputWithC return pulumi.ToOutputWithContext(ctx, i).(CertificateTemplateIamPolicyOutput) } +func (i *CertificateTemplateIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*CertificateTemplateIamPolicy] { + return pulumix.Output[*CertificateTemplateIamPolicy]{ + OutputState: i.ToCertificateTemplateIamPolicyOutputWithContext(ctx).OutputState, + } +} + type CertificateTemplateIamPolicyOutput struct{ *pulumi.OutputState } func (CertificateTemplateIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CertificateTemplateIamPolicyOutput) ToCertificateTemplateIamPolicyOutput return o } +func (o CertificateTemplateIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateTemplateIamPolicy] { + return pulumix.Output[*CertificateTemplateIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o CertificateTemplateIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *CertificateTemplateIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/privateca/v1/getCaPool.go b/sdk/go/google/privateca/v1/getCaPool.go index 8edd34fc79..2270d81e83 100644 --- a/sdk/go/google/privateca/v1/getCaPool.go +++ b/sdk/go/google/privateca/v1/getCaPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a CaPool. @@ -78,6 +79,12 @@ func (o LookupCaPoolResultOutput) ToLookupCaPoolResultOutputWithContext(ctx cont return o } +func (o LookupCaPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCaPoolResult] { + return pulumix.Output[LookupCaPoolResult]{ + OutputState: o.OutputState, + } +} + // Optional. The IssuancePolicy to control how Certificates will be issued from this CaPool. func (o LookupCaPoolResultOutput) IssuancePolicy() IssuancePolicyResponseOutput { return o.ApplyT(func(v LookupCaPoolResult) IssuancePolicyResponse { return v.IssuancePolicy }).(IssuancePolicyResponseOutput) diff --git a/sdk/go/google/privateca/v1/getCaPoolCertificateAuthorityCertificateRevocationListIamPolicy.go b/sdk/go/google/privateca/v1/getCaPoolCertificateAuthorityCertificateRevocationListIamPolicy.go index a06b37a118..d4180afa30 100644 --- a/sdk/go/google/privateca/v1/getCaPoolCertificateAuthorityCertificateRevocationListIamPolicy.go +++ b/sdk/go/google/privateca/v1/getCaPoolCertificateAuthorityCertificateRevocationListIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -82,6 +83,12 @@ func (o LookupCaPoolCertificateAuthorityCertificateRevocationListIamPolicyResult return o } +func (o LookupCaPoolCertificateAuthorityCertificateRevocationListIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCaPoolCertificateAuthorityCertificateRevocationListIamPolicyResult] { + return pulumix.Output[LookupCaPoolCertificateAuthorityCertificateRevocationListIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupCaPoolCertificateAuthorityCertificateRevocationListIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupCaPoolCertificateAuthorityCertificateRevocationListIamPolicyResult) []AuditConfigResponse { diff --git a/sdk/go/google/privateca/v1/getCaPoolIamPolicy.go b/sdk/go/google/privateca/v1/getCaPoolIamPolicy.go index e26eb203b6..feca311295 100644 --- a/sdk/go/google/privateca/v1/getCaPoolIamPolicy.go +++ b/sdk/go/google/privateca/v1/getCaPoolIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupCaPoolIamPolicyResultOutput) ToLookupCaPoolIamPolicyResultOutputWi return o } +func (o LookupCaPoolIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCaPoolIamPolicyResult] { + return pulumix.Output[LookupCaPoolIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupCaPoolIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupCaPoolIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/privateca/v1/getCertificate.go b/sdk/go/google/privateca/v1/getCertificate.go index 7b02f797bb..178bdaf2d9 100644 --- a/sdk/go/google/privateca/v1/getCertificate.go +++ b/sdk/go/google/privateca/v1/getCertificate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a Certificate. @@ -98,6 +99,12 @@ func (o LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContex return o } +func (o LookupCertificateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateResult] { + return pulumix.Output[LookupCertificateResult]{ + OutputState: o.OutputState, + } +} + // A structured description of the issued X.509 certificate. func (o LookupCertificateResultOutput) CertificateDescription() CertificateDescriptionResponseOutput { return o.ApplyT(func(v LookupCertificateResult) CertificateDescriptionResponse { return v.CertificateDescription }).(CertificateDescriptionResponseOutput) diff --git a/sdk/go/google/privateca/v1/getCertificateAuthority.go b/sdk/go/google/privateca/v1/getCertificateAuthority.go index 7023afa8c1..64f800a067 100644 --- a/sdk/go/google/privateca/v1/getCertificateAuthority.go +++ b/sdk/go/google/privateca/v1/getCertificateAuthority.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a CertificateAuthority. @@ -104,6 +105,12 @@ func (o LookupCertificateAuthorityResultOutput) ToLookupCertificateAuthorityResu return o } +func (o LookupCertificateAuthorityResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateAuthorityResult] { + return pulumix.Output[LookupCertificateAuthorityResult]{ + OutputState: o.OutputState, + } +} + // URLs for accessing content published by this CA, such as the CA certificate and CRLs. func (o LookupCertificateAuthorityResultOutput) AccessUrls() AccessUrlsResponseOutput { return o.ApplyT(func(v LookupCertificateAuthorityResult) AccessUrlsResponse { return v.AccessUrls }).(AccessUrlsResponseOutput) diff --git a/sdk/go/google/privateca/v1/getCertificateTemplate.go b/sdk/go/google/privateca/v1/getCertificateTemplate.go index e3e409069a..70699128a6 100644 --- a/sdk/go/google/privateca/v1/getCertificateTemplate.go +++ b/sdk/go/google/privateca/v1/getCertificateTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns a CertificateTemplate. @@ -84,6 +85,12 @@ func (o LookupCertificateTemplateResultOutput) ToLookupCertificateTemplateResult return o } +func (o LookupCertificateTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateTemplateResult] { + return pulumix.Output[LookupCertificateTemplateResult]{ + OutputState: o.OutputState, + } +} + // The time at which this CertificateTemplate was created. func (o LookupCertificateTemplateResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupCertificateTemplateResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/privateca/v1/getCertificateTemplateIamPolicy.go b/sdk/go/google/privateca/v1/getCertificateTemplateIamPolicy.go index dfa6a9cdd8..05ecbab6e4 100644 --- a/sdk/go/google/privateca/v1/getCertificateTemplateIamPolicy.go +++ b/sdk/go/google/privateca/v1/getCertificateTemplateIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupCertificateTemplateIamPolicyResultOutput) ToLookupCertificateTempl return o } +func (o LookupCertificateTemplateIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateTemplateIamPolicyResult] { + return pulumix.Output[LookupCertificateTemplateIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupCertificateTemplateIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupCertificateTemplateIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/privateca/v1/pulumiEnums.go b/sdk/go/google/privateca/v1/pulumiEnums.go index 201c31c184..7b91f0f7f3 100644 --- a/sdk/go/google/privateca/v1/pulumiEnums.go +++ b/sdk/go/google/privateca/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The Tier of this CaPool. type CaPoolTier string @@ -253,6 +272,12 @@ func (o CaPoolTierOutput) ToCaPoolTierPtrOutputWithContext(ctx context.Context) }).(CaPoolTierPtrOutput) } +func (o CaPoolTierOutput) ToOutput(ctx context.Context) pulumix.Output[CaPoolTier] { + return pulumix.Output[CaPoolTier]{ + OutputState: o.OutputState, + } +} + func (o CaPoolTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o CaPoolTierPtrOutput) ToCaPoolTierPtrOutputWithContext(ctx context.Contex return o } +func (o CaPoolTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CaPoolTier] { + return pulumix.Output[*CaPoolTier]{ + OutputState: o.OutputState, + } +} + func (o CaPoolTierPtrOutput) Elem() CaPoolTierOutput { return o.ApplyT(func(v *CaPoolTier) CaPoolTier { if v != nil { @@ -350,6 +381,12 @@ func (in *caPoolTierPtr) ToCaPoolTierPtrOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, in).(CaPoolTierPtrOutput) } +func (in *caPoolTierPtr) ToOutput(ctx context.Context) pulumix.Output[*CaPoolTier] { + return pulumix.Output[*CaPoolTier]{ + OutputState: in.ToCaPoolTierPtrOutputWithContext(ctx).OutputState, + } +} + // Required. Immutable. The Type of this CertificateAuthority. type CertificateAuthorityType string @@ -422,6 +459,12 @@ func (o CertificateAuthorityTypeOutput) ToCertificateAuthorityTypePtrOutputWithC }).(CertificateAuthorityTypePtrOutput) } +func (o CertificateAuthorityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateAuthorityType] { + return pulumix.Output[CertificateAuthorityType]{ + OutputState: o.OutputState, + } +} + func (o CertificateAuthorityTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o CertificateAuthorityTypePtrOutput) ToCertificateAuthorityTypePtrOutputWi return o } +func (o CertificateAuthorityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityType] { + return pulumix.Output[*CertificateAuthorityType]{ + OutputState: o.OutputState, + } +} + func (o CertificateAuthorityTypePtrOutput) Elem() CertificateAuthorityTypeOutput { return o.ApplyT(func(v *CertificateAuthorityType) CertificateAuthorityType { if v != nil { @@ -519,6 +568,12 @@ func (in *certificateAuthorityTypePtr) ToCertificateAuthorityTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(CertificateAuthorityTypePtrOutput) } +func (in *certificateAuthorityTypePtr) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityType] { + return pulumix.Output[*CertificateAuthorityType]{ + OutputState: in.ToCertificateAuthorityTypePtrOutputWithContext(ctx).OutputState, + } +} + type CertificateExtensionConstraintsKnownExtensionsItem string const ( @@ -598,6 +653,12 @@ func (o CertificateExtensionConstraintsKnownExtensionsItemOutput) ToCertificateE }).(CertificateExtensionConstraintsKnownExtensionsItemPtrOutput) } +func (o CertificateExtensionConstraintsKnownExtensionsItemOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateExtensionConstraintsKnownExtensionsItem] { + return pulumix.Output[CertificateExtensionConstraintsKnownExtensionsItem]{ + OutputState: o.OutputState, + } +} + func (o CertificateExtensionConstraintsKnownExtensionsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -633,6 +694,12 @@ func (o CertificateExtensionConstraintsKnownExtensionsItemPtrOutput) ToCertifica return o } +func (o CertificateExtensionConstraintsKnownExtensionsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateExtensionConstraintsKnownExtensionsItem] { + return pulumix.Output[*CertificateExtensionConstraintsKnownExtensionsItem]{ + OutputState: o.OutputState, + } +} + func (o CertificateExtensionConstraintsKnownExtensionsItemPtrOutput) Elem() CertificateExtensionConstraintsKnownExtensionsItemOutput { return o.ApplyT(func(v *CertificateExtensionConstraintsKnownExtensionsItem) CertificateExtensionConstraintsKnownExtensionsItem { if v != nil { @@ -695,6 +762,12 @@ func (in *certificateExtensionConstraintsKnownExtensionsItemPtr) ToCertificateEx return pulumi.ToOutputWithContext(ctx, in).(CertificateExtensionConstraintsKnownExtensionsItemPtrOutput) } +func (in *certificateExtensionConstraintsKnownExtensionsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*CertificateExtensionConstraintsKnownExtensionsItem] { + return pulumix.Output[*CertificateExtensionConstraintsKnownExtensionsItem]{ + OutputState: in.ToCertificateExtensionConstraintsKnownExtensionsItemPtrOutputWithContext(ctx).OutputState, + } +} + // CertificateExtensionConstraintsKnownExtensionsItemArrayInput is an input type that accepts CertificateExtensionConstraintsKnownExtensionsItemArray and CertificateExtensionConstraintsKnownExtensionsItemArrayOutput values. // You can construct a concrete instance of `CertificateExtensionConstraintsKnownExtensionsItemArrayInput` via: // @@ -720,6 +793,12 @@ func (i CertificateExtensionConstraintsKnownExtensionsItemArray) ToCertificateEx return pulumi.ToOutputWithContext(ctx, i).(CertificateExtensionConstraintsKnownExtensionsItemArrayOutput) } +func (i CertificateExtensionConstraintsKnownExtensionsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]CertificateExtensionConstraintsKnownExtensionsItem] { + return pulumix.Output[[]CertificateExtensionConstraintsKnownExtensionsItem]{ + OutputState: i.ToCertificateExtensionConstraintsKnownExtensionsItemArrayOutputWithContext(ctx).OutputState, + } +} + type CertificateExtensionConstraintsKnownExtensionsItemArrayOutput struct{ *pulumi.OutputState } func (CertificateExtensionConstraintsKnownExtensionsItemArrayOutput) ElementType() reflect.Type { @@ -734,6 +813,12 @@ func (o CertificateExtensionConstraintsKnownExtensionsItemArrayOutput) ToCertifi return o } +func (o CertificateExtensionConstraintsKnownExtensionsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CertificateExtensionConstraintsKnownExtensionsItem] { + return pulumix.Output[[]CertificateExtensionConstraintsKnownExtensionsItem]{ + OutputState: o.OutputState, + } +} + func (o CertificateExtensionConstraintsKnownExtensionsItemArrayOutput) Index(i pulumi.IntInput) CertificateExtensionConstraintsKnownExtensionsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CertificateExtensionConstraintsKnownExtensionsItem { return vs[0].([]CertificateExtensionConstraintsKnownExtensionsItem)[vs[1].(int)] @@ -812,6 +897,12 @@ func (o CertificateSubjectModeOutput) ToCertificateSubjectModePtrOutputWithConte }).(CertificateSubjectModePtrOutput) } +func (o CertificateSubjectModeOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateSubjectMode] { + return pulumix.Output[CertificateSubjectMode]{ + OutputState: o.OutputState, + } +} + func (o CertificateSubjectModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -847,6 +938,12 @@ func (o CertificateSubjectModePtrOutput) ToCertificateSubjectModePtrOutputWithCo return o } +func (o CertificateSubjectModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateSubjectMode] { + return pulumix.Output[*CertificateSubjectMode]{ + OutputState: o.OutputState, + } +} + func (o CertificateSubjectModePtrOutput) Elem() CertificateSubjectModeOutput { return o.ApplyT(func(v *CertificateSubjectMode) CertificateSubjectMode { if v != nil { @@ -909,6 +1006,12 @@ func (in *certificateSubjectModePtr) ToCertificateSubjectModePtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(CertificateSubjectModePtrOutput) } +func (in *certificateSubjectModePtr) ToOutput(ctx context.Context) pulumix.Output[*CertificateSubjectMode] { + return pulumix.Output[*CertificateSubjectMode]{ + OutputState: in.ToCertificateSubjectModePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. A signature algorithm that must be used. If this is omitted, any EC-based signature algorithm will be allowed. type EcKeyTypeSignatureAlgorithm string @@ -983,6 +1086,12 @@ func (o EcKeyTypeSignatureAlgorithmOutput) ToEcKeyTypeSignatureAlgorithmPtrOutpu }).(EcKeyTypeSignatureAlgorithmPtrOutput) } +func (o EcKeyTypeSignatureAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[EcKeyTypeSignatureAlgorithm] { + return pulumix.Output[EcKeyTypeSignatureAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o EcKeyTypeSignatureAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1018,6 +1127,12 @@ func (o EcKeyTypeSignatureAlgorithmPtrOutput) ToEcKeyTypeSignatureAlgorithmPtrOu return o } +func (o EcKeyTypeSignatureAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EcKeyTypeSignatureAlgorithm] { + return pulumix.Output[*EcKeyTypeSignatureAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o EcKeyTypeSignatureAlgorithmPtrOutput) Elem() EcKeyTypeSignatureAlgorithmOutput { return o.ApplyT(func(v *EcKeyTypeSignatureAlgorithm) EcKeyTypeSignatureAlgorithm { if v != nil { @@ -1080,6 +1195,12 @@ func (in *ecKeyTypeSignatureAlgorithmPtr) ToEcKeyTypeSignatureAlgorithmPtrOutput return pulumi.ToOutputWithContext(ctx, in).(EcKeyTypeSignatureAlgorithmPtrOutput) } +func (in *ecKeyTypeSignatureAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*EcKeyTypeSignatureAlgorithm] { + return pulumix.Output[*EcKeyTypeSignatureAlgorithm]{ + OutputState: in.ToEcKeyTypeSignatureAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as `HSM`. type KeyVersionSpecAlgorithm string @@ -1164,6 +1285,12 @@ func (o KeyVersionSpecAlgorithmOutput) ToKeyVersionSpecAlgorithmPtrOutputWithCon }).(KeyVersionSpecAlgorithmPtrOutput) } +func (o KeyVersionSpecAlgorithmOutput) ToOutput(ctx context.Context) pulumix.Output[KeyVersionSpecAlgorithm] { + return pulumix.Output[KeyVersionSpecAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o KeyVersionSpecAlgorithmOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1199,6 +1326,12 @@ func (o KeyVersionSpecAlgorithmPtrOutput) ToKeyVersionSpecAlgorithmPtrOutputWith return o } +func (o KeyVersionSpecAlgorithmPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyVersionSpecAlgorithm] { + return pulumix.Output[*KeyVersionSpecAlgorithm]{ + OutputState: o.OutputState, + } +} + func (o KeyVersionSpecAlgorithmPtrOutput) Elem() KeyVersionSpecAlgorithmOutput { return o.ApplyT(func(v *KeyVersionSpecAlgorithm) KeyVersionSpecAlgorithm { if v != nil { @@ -1261,6 +1394,12 @@ func (in *keyVersionSpecAlgorithmPtr) ToKeyVersionSpecAlgorithmPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(KeyVersionSpecAlgorithmPtrOutput) } +func (in *keyVersionSpecAlgorithmPtr) ToOutput(ctx context.Context) pulumix.Output[*KeyVersionSpecAlgorithm] { + return pulumix.Output[*KeyVersionSpecAlgorithm]{ + OutputState: in.ToKeyVersionSpecAlgorithmPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The format of the public key. type PublicKeyFormat string @@ -1331,6 +1470,12 @@ func (o PublicKeyFormatOutput) ToPublicKeyFormatPtrOutputWithContext(ctx context }).(PublicKeyFormatPtrOutput) } +func (o PublicKeyFormatOutput) ToOutput(ctx context.Context) pulumix.Output[PublicKeyFormat] { + return pulumix.Output[PublicKeyFormat]{ + OutputState: o.OutputState, + } +} + func (o PublicKeyFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1366,6 +1511,12 @@ func (o PublicKeyFormatPtrOutput) ToPublicKeyFormatPtrOutputWithContext(ctx cont return o } +func (o PublicKeyFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicKeyFormat] { + return pulumix.Output[*PublicKeyFormat]{ + OutputState: o.OutputState, + } +} + func (o PublicKeyFormatPtrOutput) Elem() PublicKeyFormatOutput { return o.ApplyT(func(v *PublicKeyFormat) PublicKeyFormat { if v != nil { @@ -1428,6 +1579,12 @@ func (in *publicKeyFormatPtr) ToPublicKeyFormatPtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(PublicKeyFormatPtrOutput) } +func (in *publicKeyFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*PublicKeyFormat] { + return pulumix.Output[*PublicKeyFormat]{ + OutputState: in.ToPublicKeyFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Specifies the encoding format of each CertificateAuthority's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM. type PublishingOptionsEncodingFormat string @@ -1500,6 +1657,12 @@ func (o PublishingOptionsEncodingFormatOutput) ToPublishingOptionsEncodingFormat }).(PublishingOptionsEncodingFormatPtrOutput) } +func (o PublishingOptionsEncodingFormatOutput) ToOutput(ctx context.Context) pulumix.Output[PublishingOptionsEncodingFormat] { + return pulumix.Output[PublishingOptionsEncodingFormat]{ + OutputState: o.OutputState, + } +} + func (o PublishingOptionsEncodingFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1535,6 +1698,12 @@ func (o PublishingOptionsEncodingFormatPtrOutput) ToPublishingOptionsEncodingFor return o } +func (o PublishingOptionsEncodingFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublishingOptionsEncodingFormat] { + return pulumix.Output[*PublishingOptionsEncodingFormat]{ + OutputState: o.OutputState, + } +} + func (o PublishingOptionsEncodingFormatPtrOutput) Elem() PublishingOptionsEncodingFormatOutput { return o.ApplyT(func(v *PublishingOptionsEncodingFormat) PublishingOptionsEncodingFormat { if v != nil { @@ -1597,6 +1766,12 @@ func (in *publishingOptionsEncodingFormatPtr) ToPublishingOptionsEncodingFormatP return pulumi.ToOutputWithContext(ctx, in).(PublishingOptionsEncodingFormatPtrOutput) } +func (in *publishingOptionsEncodingFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*PublishingOptionsEncodingFormat] { + return pulumix.Output[*PublishingOptionsEncodingFormat]{ + OutputState: in.ToPublishingOptionsEncodingFormatPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/privateca/v1/pulumiTypes.go b/sdk/go/google/privateca/v1/pulumiTypes.go index 3405bc1fa7..f0731346eb 100644 --- a/sdk/go/google/privateca/v1/pulumiTypes.go +++ b/sdk/go/google/privateca/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -36,6 +37,12 @@ func (o AccessUrlsResponseOutput) ToAccessUrlsResponseOutputWithContext(ctx cont return o } +func (o AccessUrlsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AccessUrlsResponse] { + return pulumix.Output[AccessUrlsResponse]{ + OutputState: o.OutputState, + } +} + // The URL where this CertificateAuthority's CA certificate is published. This will only be set for CAs that have been activated. func (o AccessUrlsResponseOutput) CaCertificateAccessUrl() pulumi.StringOutput { return o.ApplyT(func(v AccessUrlsResponse) string { return v.CaCertificateAccessUrl }).(pulumi.StringOutput) @@ -85,6 +92,12 @@ func (i AllowedKeyTypeArgs) ToAllowedKeyTypeOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AllowedKeyTypeOutput) } +func (i AllowedKeyTypeArgs) ToOutput(ctx context.Context) pulumix.Output[AllowedKeyType] { + return pulumix.Output[AllowedKeyType]{ + OutputState: i.ToAllowedKeyTypeOutputWithContext(ctx).OutputState, + } +} + // AllowedKeyTypeArrayInput is an input type that accepts AllowedKeyTypeArray and AllowedKeyTypeArrayOutput values. // You can construct a concrete instance of `AllowedKeyTypeArrayInput` via: // @@ -110,6 +123,12 @@ func (i AllowedKeyTypeArray) ToAllowedKeyTypeArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AllowedKeyTypeArrayOutput) } +func (i AllowedKeyTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]AllowedKeyType] { + return pulumix.Output[[]AllowedKeyType]{ + OutputState: i.ToAllowedKeyTypeArrayOutputWithContext(ctx).OutputState, + } +} + // Describes a "type" of key that may be used in a Certificate issued from a CaPool. Note that a single AllowedKeyType may refer to either a fully-qualified key algorithm, such as RSA 4096, or a family of key algorithms, such as any RSA key. type AllowedKeyTypeOutput struct{ *pulumi.OutputState } @@ -125,6 +144,12 @@ func (o AllowedKeyTypeOutput) ToAllowedKeyTypeOutputWithContext(ctx context.Cont return o } +func (o AllowedKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AllowedKeyType] { + return pulumix.Output[AllowedKeyType]{ + OutputState: o.OutputState, + } +} + // Represents an allowed Elliptic Curve key type. func (o AllowedKeyTypeOutput) EllipticCurve() EcKeyTypePtrOutput { return o.ApplyT(func(v AllowedKeyType) *EcKeyType { return v.EllipticCurve }).(EcKeyTypePtrOutput) @@ -149,6 +174,12 @@ func (o AllowedKeyTypeArrayOutput) ToAllowedKeyTypeArrayOutputWithContext(ctx co return o } +func (o AllowedKeyTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllowedKeyType] { + return pulumix.Output[[]AllowedKeyType]{ + OutputState: o.OutputState, + } +} + func (o AllowedKeyTypeArrayOutput) Index(i pulumi.IntInput) AllowedKeyTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllowedKeyType { return vs[0].([]AllowedKeyType)[vs[1].(int)] @@ -178,6 +209,12 @@ func (o AllowedKeyTypeResponseOutput) ToAllowedKeyTypeResponseOutputWithContext( return o } +func (o AllowedKeyTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AllowedKeyTypeResponse] { + return pulumix.Output[AllowedKeyTypeResponse]{ + OutputState: o.OutputState, + } +} + // Represents an allowed Elliptic Curve key type. func (o AllowedKeyTypeResponseOutput) EllipticCurve() EcKeyTypeResponseOutput { return o.ApplyT(func(v AllowedKeyTypeResponse) EcKeyTypeResponse { return v.EllipticCurve }).(EcKeyTypeResponseOutput) @@ -202,6 +239,12 @@ func (o AllowedKeyTypeResponseArrayOutput) ToAllowedKeyTypeResponseArrayOutputWi return o } +func (o AllowedKeyTypeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AllowedKeyTypeResponse] { + return pulumix.Output[[]AllowedKeyTypeResponse]{ + OutputState: o.OutputState, + } +} + func (o AllowedKeyTypeResponseArrayOutput) Index(i pulumi.IntInput) AllowedKeyTypeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AllowedKeyTypeResponse { return vs[0].([]AllowedKeyTypeResponse)[vs[1].(int)] @@ -247,6 +290,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -272,6 +321,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -287,6 +342,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -311,6 +372,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -340,6 +407,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -364,6 +437,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -409,6 +488,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -434,6 +519,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -449,6 +540,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -473,6 +570,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -502,6 +605,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -526,6 +635,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -575,6 +690,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -600,6 +721,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -615,6 +742,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -644,6 +777,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -675,6 +814,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -704,6 +849,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -749,6 +900,12 @@ func (i CaOptionsArgs) ToCaOptionsOutputWithContext(ctx context.Context) CaOptio return pulumi.ToOutputWithContext(ctx, i).(CaOptionsOutput) } +func (i CaOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[CaOptions] { + return pulumix.Output[CaOptions]{ + OutputState: i.ToCaOptionsOutputWithContext(ctx).OutputState, + } +} + func (i CaOptionsArgs) ToCaOptionsPtrOutput() CaOptionsPtrOutput { return i.ToCaOptionsPtrOutputWithContext(context.Background()) } @@ -790,6 +947,12 @@ func (i *caOptionsPtrType) ToCaOptionsPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(CaOptionsPtrOutput) } +func (i *caOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CaOptions] { + return pulumix.Output[*CaOptions]{ + OutputState: i.ToCaOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes values that are relevant in a CA certificate. type CaOptionsOutput struct{ *pulumi.OutputState } @@ -815,6 +978,12 @@ func (o CaOptionsOutput) ToCaOptionsPtrOutputWithContext(ctx context.Context) Ca }).(CaOptionsPtrOutput) } +func (o CaOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[CaOptions] { + return pulumix.Output[CaOptions]{ + OutputState: o.OutputState, + } +} + // Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate. func (o CaOptionsOutput) IsCa() pulumi.BoolPtrOutput { return o.ApplyT(func(v CaOptions) *bool { return v.IsCa }).(pulumi.BoolPtrOutput) @@ -839,6 +1008,12 @@ func (o CaOptionsPtrOutput) ToCaOptionsPtrOutputWithContext(ctx context.Context) return o } +func (o CaOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CaOptions] { + return pulumix.Output[*CaOptions]{ + OutputState: o.OutputState, + } +} + func (o CaOptionsPtrOutput) Elem() CaOptionsOutput { return o.ApplyT(func(v *CaOptions) CaOptions { if v != nil { @@ -892,6 +1067,12 @@ func (o CaOptionsResponseOutput) ToCaOptionsResponseOutputWithContext(ctx contex return o } +func (o CaOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CaOptionsResponse] { + return pulumix.Output[CaOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate. func (o CaOptionsResponseOutput) IsCa() pulumi.BoolOutput { return o.ApplyT(func(v CaOptionsResponse) bool { return v.IsCa }).(pulumi.BoolOutput) @@ -945,6 +1126,12 @@ func (i CertificateConfigArgs) ToCertificateConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CertificateConfigOutput) } +func (i CertificateConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CertificateConfig] { + return pulumix.Output[CertificateConfig]{ + OutputState: i.ToCertificateConfigOutputWithContext(ctx).OutputState, + } +} + func (i CertificateConfigArgs) ToCertificateConfigPtrOutput() CertificateConfigPtrOutput { return i.ToCertificateConfigPtrOutputWithContext(context.Background()) } @@ -986,6 +1173,12 @@ func (i *certificateConfigPtrType) ToCertificateConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CertificateConfigPtrOutput) } +func (i *certificateConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CertificateConfig] { + return pulumix.Output[*CertificateConfig]{ + OutputState: i.ToCertificateConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. type CertificateConfigOutput struct{ *pulumi.OutputState } @@ -1011,6 +1204,12 @@ func (o CertificateConfigOutput) ToCertificateConfigPtrOutputWithContext(ctx con }).(CertificateConfigPtrOutput) } +func (o CertificateConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateConfig] { + return pulumix.Output[CertificateConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR. func (o CertificateConfigOutput) PublicKey() PublicKeyPtrOutput { return o.ApplyT(func(v CertificateConfig) *PublicKey { return v.PublicKey }).(PublicKeyPtrOutput) @@ -1040,6 +1239,12 @@ func (o CertificateConfigPtrOutput) ToCertificateConfigPtrOutputWithContext(ctx return o } +func (o CertificateConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateConfig] { + return pulumix.Output[*CertificateConfig]{ + OutputState: o.OutputState, + } +} + func (o CertificateConfigPtrOutput) Elem() CertificateConfigOutput { return o.ApplyT(func(v *CertificateConfig) CertificateConfig { if v != nil { @@ -1105,6 +1310,12 @@ func (o CertificateConfigResponseOutput) ToCertificateConfigResponseOutputWithCo return o } +func (o CertificateConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateConfigResponse] { + return pulumix.Output[CertificateConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR. func (o CertificateConfigResponseOutput) PublicKey() PublicKeyResponseOutput { return o.ApplyT(func(v CertificateConfigResponse) PublicKeyResponse { return v.PublicKey }).(PublicKeyResponseOutput) @@ -1155,6 +1366,12 @@ func (o CertificateDescriptionResponseOutput) ToCertificateDescriptionResponseOu return o } +func (o CertificateDescriptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateDescriptionResponse] { + return pulumix.Output[CertificateDescriptionResponse]{ + OutputState: o.OutputState, + } +} + // Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate. func (o CertificateDescriptionResponseOutput) AiaIssuingCertificateUrls() pulumi.StringArrayOutput { return o.ApplyT(func(v CertificateDescriptionResponse) []string { return v.AiaIssuingCertificateUrls }).(pulumi.StringArrayOutput) @@ -1209,6 +1426,12 @@ func (o CertificateDescriptionResponseArrayOutput) ToCertificateDescriptionRespo return o } +func (o CertificateDescriptionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CertificateDescriptionResponse] { + return pulumix.Output[[]CertificateDescriptionResponse]{ + OutputState: o.OutputState, + } +} + func (o CertificateDescriptionResponseArrayOutput) Index(i pulumi.IntInput) CertificateDescriptionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CertificateDescriptionResponse { return vs[0].([]CertificateDescriptionResponse)[vs[1].(int)] @@ -1254,6 +1477,12 @@ func (i CertificateExtensionConstraintsArgs) ToCertificateExtensionConstraintsOu return pulumi.ToOutputWithContext(ctx, i).(CertificateExtensionConstraintsOutput) } +func (i CertificateExtensionConstraintsArgs) ToOutput(ctx context.Context) pulumix.Output[CertificateExtensionConstraints] { + return pulumix.Output[CertificateExtensionConstraints]{ + OutputState: i.ToCertificateExtensionConstraintsOutputWithContext(ctx).OutputState, + } +} + func (i CertificateExtensionConstraintsArgs) ToCertificateExtensionConstraintsPtrOutput() CertificateExtensionConstraintsPtrOutput { return i.ToCertificateExtensionConstraintsPtrOutputWithContext(context.Background()) } @@ -1295,6 +1524,12 @@ func (i *certificateExtensionConstraintsPtrType) ToCertificateExtensionConstrain return pulumi.ToOutputWithContext(ctx, i).(CertificateExtensionConstraintsPtrOutput) } +func (i *certificateExtensionConstraintsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CertificateExtensionConstraints] { + return pulumix.Output[*CertificateExtensionConstraints]{ + OutputState: i.ToCertificateExtensionConstraintsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes a set of X.509 extensions that may be part of some certificate issuance controls. type CertificateExtensionConstraintsOutput struct{ *pulumi.OutputState } @@ -1320,6 +1555,12 @@ func (o CertificateExtensionConstraintsOutput) ToCertificateExtensionConstraints }).(CertificateExtensionConstraintsPtrOutput) } +func (o CertificateExtensionConstraintsOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateExtensionConstraints] { + return pulumix.Output[CertificateExtensionConstraints]{ + OutputState: o.OutputState, + } +} + // Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions. func (o CertificateExtensionConstraintsOutput) AdditionalExtensions() ObjectIdArrayOutput { return o.ApplyT(func(v CertificateExtensionConstraints) []ObjectId { return v.AdditionalExtensions }).(ObjectIdArrayOutput) @@ -1346,6 +1587,12 @@ func (o CertificateExtensionConstraintsPtrOutput) ToCertificateExtensionConstrai return o } +func (o CertificateExtensionConstraintsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateExtensionConstraints] { + return pulumix.Output[*CertificateExtensionConstraints]{ + OutputState: o.OutputState, + } +} + func (o CertificateExtensionConstraintsPtrOutput) Elem() CertificateExtensionConstraintsOutput { return o.ApplyT(func(v *CertificateExtensionConstraints) CertificateExtensionConstraints { if v != nil { @@ -1399,6 +1646,12 @@ func (o CertificateExtensionConstraintsResponseOutput) ToCertificateExtensionCon return o } +func (o CertificateExtensionConstraintsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateExtensionConstraintsResponse] { + return pulumix.Output[CertificateExtensionConstraintsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions. func (o CertificateExtensionConstraintsResponseOutput) AdditionalExtensions() ObjectIdResponseArrayOutput { return o.ApplyT(func(v CertificateExtensionConstraintsResponse) []ObjectIdResponse { return v.AdditionalExtensions }).(ObjectIdResponseArrayOutput) @@ -1430,6 +1683,12 @@ func (o CertificateFingerprintResponseOutput) ToCertificateFingerprintResponseOu return o } +func (o CertificateFingerprintResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateFingerprintResponse] { + return pulumix.Output[CertificateFingerprintResponse]{ + OutputState: o.OutputState, + } +} + // The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate. func (o CertificateFingerprintResponseOutput) Sha256Hash() pulumi.StringOutput { return o.ApplyT(func(v CertificateFingerprintResponse) string { return v.Sha256Hash }).(pulumi.StringOutput) @@ -1478,6 +1737,12 @@ func (i CertificateIdentityConstraintsArgs) ToCertificateIdentityConstraintsOutp return pulumi.ToOutputWithContext(ctx, i).(CertificateIdentityConstraintsOutput) } +func (i CertificateIdentityConstraintsArgs) ToOutput(ctx context.Context) pulumix.Output[CertificateIdentityConstraints] { + return pulumix.Output[CertificateIdentityConstraints]{ + OutputState: i.ToCertificateIdentityConstraintsOutputWithContext(ctx).OutputState, + } +} + func (i CertificateIdentityConstraintsArgs) ToCertificateIdentityConstraintsPtrOutput() CertificateIdentityConstraintsPtrOutput { return i.ToCertificateIdentityConstraintsPtrOutputWithContext(context.Background()) } @@ -1519,6 +1784,12 @@ func (i *certificateIdentityConstraintsPtrType) ToCertificateIdentityConstraints return pulumi.ToOutputWithContext(ctx, i).(CertificateIdentityConstraintsPtrOutput) } +func (i *certificateIdentityConstraintsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CertificateIdentityConstraints] { + return pulumix.Output[*CertificateIdentityConstraints]{ + OutputState: i.ToCertificateIdentityConstraintsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes constraints on a Certificate's Subject and SubjectAltNames. type CertificateIdentityConstraintsOutput struct{ *pulumi.OutputState } @@ -1544,6 +1815,12 @@ func (o CertificateIdentityConstraintsOutput) ToCertificateIdentityConstraintsPt }).(CertificateIdentityConstraintsPtrOutput) } +func (o CertificateIdentityConstraintsOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateIdentityConstraints] { + return pulumix.Output[CertificateIdentityConstraints]{ + OutputState: o.OutputState, + } +} + // If this is true, the SubjectAltNames extension may be copied from a certificate request into the signed certificate. Otherwise, the requested SubjectAltNames will be discarded. func (o CertificateIdentityConstraintsOutput) AllowSubjectAltNamesPassthrough() pulumi.BoolOutput { return o.ApplyT(func(v CertificateIdentityConstraints) bool { return v.AllowSubjectAltNamesPassthrough }).(pulumi.BoolOutput) @@ -1573,6 +1850,12 @@ func (o CertificateIdentityConstraintsPtrOutput) ToCertificateIdentityConstraint return o } +func (o CertificateIdentityConstraintsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateIdentityConstraints] { + return pulumix.Output[*CertificateIdentityConstraints]{ + OutputState: o.OutputState, + } +} + func (o CertificateIdentityConstraintsPtrOutput) Elem() CertificateIdentityConstraintsOutput { return o.ApplyT(func(v *CertificateIdentityConstraints) CertificateIdentityConstraints { if v != nil { @@ -1638,6 +1921,12 @@ func (o CertificateIdentityConstraintsResponseOutput) ToCertificateIdentityConst return o } +func (o CertificateIdentityConstraintsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CertificateIdentityConstraintsResponse] { + return pulumix.Output[CertificateIdentityConstraintsResponse]{ + OutputState: o.OutputState, + } +} + // If this is true, the SubjectAltNames extension may be copied from a certificate request into the signed certificate. Otherwise, the requested SubjectAltNames will be discarded. func (o CertificateIdentityConstraintsResponseOutput) AllowSubjectAltNamesPassthrough() pulumi.BoolOutput { return o.ApplyT(func(v CertificateIdentityConstraintsResponse) bool { return v.AllowSubjectAltNamesPassthrough }).(pulumi.BoolOutput) @@ -1688,6 +1977,12 @@ func (i EcKeyTypeArgs) ToEcKeyTypeOutputWithContext(ctx context.Context) EcKeyTy return pulumi.ToOutputWithContext(ctx, i).(EcKeyTypeOutput) } +func (i EcKeyTypeArgs) ToOutput(ctx context.Context) pulumix.Output[EcKeyType] { + return pulumix.Output[EcKeyType]{ + OutputState: i.ToEcKeyTypeOutputWithContext(ctx).OutputState, + } +} + func (i EcKeyTypeArgs) ToEcKeyTypePtrOutput() EcKeyTypePtrOutput { return i.ToEcKeyTypePtrOutputWithContext(context.Background()) } @@ -1729,6 +2024,12 @@ func (i *ecKeyTypePtrType) ToEcKeyTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(EcKeyTypePtrOutput) } +func (i *ecKeyTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*EcKeyType] { + return pulumix.Output[*EcKeyType]{ + OutputState: i.ToEcKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Describes an Elliptic Curve key that may be used in a Certificate issued from a CaPool. type EcKeyTypeOutput struct{ *pulumi.OutputState } @@ -1754,6 +2055,12 @@ func (o EcKeyTypeOutput) ToEcKeyTypePtrOutputWithContext(ctx context.Context) Ec }).(EcKeyTypePtrOutput) } +func (o EcKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[EcKeyType] { + return pulumix.Output[EcKeyType]{ + OutputState: o.OutputState, + } +} + // Optional. A signature algorithm that must be used. If this is omitted, any EC-based signature algorithm will be allowed. func (o EcKeyTypeOutput) SignatureAlgorithm() EcKeyTypeSignatureAlgorithmPtrOutput { return o.ApplyT(func(v EcKeyType) *EcKeyTypeSignatureAlgorithm { return v.SignatureAlgorithm }).(EcKeyTypeSignatureAlgorithmPtrOutput) @@ -1773,6 +2080,12 @@ func (o EcKeyTypePtrOutput) ToEcKeyTypePtrOutputWithContext(ctx context.Context) return o } +func (o EcKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EcKeyType] { + return pulumix.Output[*EcKeyType]{ + OutputState: o.OutputState, + } +} + func (o EcKeyTypePtrOutput) Elem() EcKeyTypeOutput { return o.ApplyT(func(v *EcKeyType) EcKeyType { if v != nil { @@ -1814,6 +2127,12 @@ func (o EcKeyTypeResponseOutput) ToEcKeyTypeResponseOutputWithContext(ctx contex return o } +func (o EcKeyTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EcKeyTypeResponse] { + return pulumix.Output[EcKeyTypeResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A signature algorithm that must be used. If this is omitted, any EC-based signature algorithm will be allowed. func (o EcKeyTypeResponseOutput) SignatureAlgorithm() pulumi.StringOutput { return o.ApplyT(func(v EcKeyTypeResponse) string { return v.SignatureAlgorithm }).(pulumi.StringOutput) @@ -1866,6 +2185,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1907,6 +2232,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1932,6 +2263,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1966,6 +2303,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -2043,6 +2386,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2118,6 +2467,12 @@ func (i ExtendedKeyUsageOptionsArgs) ToExtendedKeyUsageOptionsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ExtendedKeyUsageOptionsOutput) } +func (i ExtendedKeyUsageOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[ExtendedKeyUsageOptions] { + return pulumix.Output[ExtendedKeyUsageOptions]{ + OutputState: i.ToExtendedKeyUsageOptionsOutputWithContext(ctx).OutputState, + } +} + func (i ExtendedKeyUsageOptionsArgs) ToExtendedKeyUsageOptionsPtrOutput() ExtendedKeyUsageOptionsPtrOutput { return i.ToExtendedKeyUsageOptionsPtrOutputWithContext(context.Background()) } @@ -2159,6 +2514,12 @@ func (i *extendedKeyUsageOptionsPtrType) ToExtendedKeyUsageOptionsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ExtendedKeyUsageOptionsPtrOutput) } +func (i *extendedKeyUsageOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExtendedKeyUsageOptions] { + return pulumix.Output[*ExtendedKeyUsageOptions]{ + OutputState: i.ToExtendedKeyUsageOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value. type ExtendedKeyUsageOptionsOutput struct{ *pulumi.OutputState } @@ -2184,6 +2545,12 @@ func (o ExtendedKeyUsageOptionsOutput) ToExtendedKeyUsageOptionsPtrOutputWithCon }).(ExtendedKeyUsageOptionsPtrOutput) } +func (o ExtendedKeyUsageOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[ExtendedKeyUsageOptions] { + return pulumix.Output[ExtendedKeyUsageOptions]{ + OutputState: o.OutputState, + } +} + // Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS. func (o ExtendedKeyUsageOptionsOutput) ClientAuth() pulumi.BoolPtrOutput { return o.ApplyT(func(v ExtendedKeyUsageOptions) *bool { return v.ClientAuth }).(pulumi.BoolPtrOutput) @@ -2228,6 +2595,12 @@ func (o ExtendedKeyUsageOptionsPtrOutput) ToExtendedKeyUsageOptionsPtrOutputWith return o } +func (o ExtendedKeyUsageOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExtendedKeyUsageOptions] { + return pulumix.Output[*ExtendedKeyUsageOptions]{ + OutputState: o.OutputState, + } +} + func (o ExtendedKeyUsageOptionsPtrOutput) Elem() ExtendedKeyUsageOptionsOutput { return o.ApplyT(func(v *ExtendedKeyUsageOptions) ExtendedKeyUsageOptions { if v != nil { @@ -2329,6 +2702,12 @@ func (o ExtendedKeyUsageOptionsResponseOutput) ToExtendedKeyUsageOptionsResponse return o } +func (o ExtendedKeyUsageOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExtendedKeyUsageOptionsResponse] { + return pulumix.Output[ExtendedKeyUsageOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS. func (o ExtendedKeyUsageOptionsResponseOutput) ClientAuth() pulumi.BoolOutput { return o.ApplyT(func(v ExtendedKeyUsageOptionsResponse) bool { return v.ClientAuth }).(pulumi.BoolOutput) @@ -2398,6 +2777,12 @@ func (i IssuanceModesArgs) ToIssuanceModesOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IssuanceModesOutput) } +func (i IssuanceModesArgs) ToOutput(ctx context.Context) pulumix.Output[IssuanceModes] { + return pulumix.Output[IssuanceModes]{ + OutputState: i.ToIssuanceModesOutputWithContext(ctx).OutputState, + } +} + func (i IssuanceModesArgs) ToIssuanceModesPtrOutput() IssuanceModesPtrOutput { return i.ToIssuanceModesPtrOutputWithContext(context.Background()) } @@ -2439,6 +2824,12 @@ func (i *issuanceModesPtrType) ToIssuanceModesPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(IssuanceModesPtrOutput) } +func (i *issuanceModesPtrType) ToOutput(ctx context.Context) pulumix.Output[*IssuanceModes] { + return pulumix.Output[*IssuanceModes]{ + OutputState: i.ToIssuanceModesPtrOutputWithContext(ctx).OutputState, + } +} + // IssuanceModes specifies the allowed ways in which Certificates may be requested from this CaPool. type IssuanceModesOutput struct{ *pulumi.OutputState } @@ -2464,6 +2855,12 @@ func (o IssuanceModesOutput) ToIssuanceModesPtrOutputWithContext(ctx context.Con }).(IssuanceModesPtrOutput) } +func (o IssuanceModesOutput) ToOutput(ctx context.Context) pulumix.Output[IssuanceModes] { + return pulumix.Output[IssuanceModes]{ + OutputState: o.OutputState, + } +} + // Optional. When true, allows callers to create Certificates by specifying a CertificateConfig. func (o IssuanceModesOutput) AllowConfigBasedIssuance() pulumi.BoolPtrOutput { return o.ApplyT(func(v IssuanceModes) *bool { return v.AllowConfigBasedIssuance }).(pulumi.BoolPtrOutput) @@ -2488,6 +2885,12 @@ func (o IssuanceModesPtrOutput) ToIssuanceModesPtrOutputWithContext(ctx context. return o } +func (o IssuanceModesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IssuanceModes] { + return pulumix.Output[*IssuanceModes]{ + OutputState: o.OutputState, + } +} + func (o IssuanceModesPtrOutput) Elem() IssuanceModesOutput { return o.ApplyT(func(v *IssuanceModes) IssuanceModes { if v != nil { @@ -2541,6 +2944,12 @@ func (o IssuanceModesResponseOutput) ToIssuanceModesResponseOutputWithContext(ct return o } +func (o IssuanceModesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IssuanceModesResponse] { + return pulumix.Output[IssuanceModesResponse]{ + OutputState: o.OutputState, + } +} + // Optional. When true, allows callers to create Certificates by specifying a CertificateConfig. func (o IssuanceModesResponseOutput) AllowConfigBasedIssuance() pulumi.BoolOutput { return o.ApplyT(func(v IssuanceModesResponse) bool { return v.AllowConfigBasedIssuance }).(pulumi.BoolOutput) @@ -2606,6 +3015,12 @@ func (i IssuancePolicyArgs) ToIssuancePolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(IssuancePolicyOutput) } +func (i IssuancePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[IssuancePolicy] { + return pulumix.Output[IssuancePolicy]{ + OutputState: i.ToIssuancePolicyOutputWithContext(ctx).OutputState, + } +} + func (i IssuancePolicyArgs) ToIssuancePolicyPtrOutput() IssuancePolicyPtrOutput { return i.ToIssuancePolicyPtrOutputWithContext(context.Background()) } @@ -2647,6 +3062,12 @@ func (i *issuancePolicyPtrType) ToIssuancePolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(IssuancePolicyPtrOutput) } +func (i *issuancePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*IssuancePolicy] { + return pulumix.Output[*IssuancePolicy]{ + OutputState: i.ToIssuancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Defines controls over all certificate issuance within a CaPool. type IssuancePolicyOutput struct{ *pulumi.OutputState } @@ -2672,6 +3093,12 @@ func (o IssuancePolicyOutput) ToIssuancePolicyPtrOutputWithContext(ctx context.C }).(IssuancePolicyPtrOutput) } +func (o IssuancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[IssuancePolicy] { + return pulumix.Output[IssuancePolicy]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, then only methods allowed in the IssuanceModes may be used to issue Certificates. func (o IssuancePolicyOutput) AllowedIssuanceModes() IssuanceModesPtrOutput { return o.ApplyT(func(v IssuancePolicy) *IssuanceModes { return v.AllowedIssuanceModes }).(IssuanceModesPtrOutput) @@ -2716,6 +3143,12 @@ func (o IssuancePolicyPtrOutput) ToIssuancePolicyPtrOutputWithContext(ctx contex return o } +func (o IssuancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IssuancePolicy] { + return pulumix.Output[*IssuancePolicy]{ + OutputState: o.OutputState, + } +} + func (o IssuancePolicyPtrOutput) Elem() IssuancePolicyOutput { return o.ApplyT(func(v *IssuancePolicy) IssuancePolicy { if v != nil { @@ -2817,6 +3250,12 @@ func (o IssuancePolicyResponseOutput) ToIssuancePolicyResponseOutputWithContext( return o } +func (o IssuancePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IssuancePolicyResponse] { + return pulumix.Output[IssuancePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, then only methods allowed in the IssuanceModes may be used to issue Certificates. func (o IssuancePolicyResponseOutput) AllowedIssuanceModes() IssuanceModesResponseOutput { return o.ApplyT(func(v IssuancePolicyResponse) IssuanceModesResponse { return v.AllowedIssuanceModes }).(IssuanceModesResponseOutput) @@ -2868,6 +3307,12 @@ func (o KeyIdResponseOutput) ToKeyIdResponseOutputWithContext(ctx context.Contex return o } +func (o KeyIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeyIdResponse] { + return pulumix.Output[KeyIdResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key. func (o KeyIdResponseOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v KeyIdResponse) string { return v.KeyId }).(pulumi.StringOutput) @@ -2916,6 +3361,12 @@ func (i KeyUsageArgs) ToKeyUsageOutputWithContext(ctx context.Context) KeyUsageO return pulumi.ToOutputWithContext(ctx, i).(KeyUsageOutput) } +func (i KeyUsageArgs) ToOutput(ctx context.Context) pulumix.Output[KeyUsage] { + return pulumix.Output[KeyUsage]{ + OutputState: i.ToKeyUsageOutputWithContext(ctx).OutputState, + } +} + func (i KeyUsageArgs) ToKeyUsagePtrOutput() KeyUsagePtrOutput { return i.ToKeyUsagePtrOutputWithContext(context.Background()) } @@ -2957,6 +3408,12 @@ func (i *keyUsagePtrType) ToKeyUsagePtrOutputWithContext(ctx context.Context) Ke return pulumi.ToOutputWithContext(ctx, i).(KeyUsagePtrOutput) } +func (i *keyUsagePtrType) ToOutput(ctx context.Context) pulumix.Output[*KeyUsage] { + return pulumix.Output[*KeyUsage]{ + OutputState: i.ToKeyUsagePtrOutputWithContext(ctx).OutputState, + } +} + // A KeyUsage describes key usage values that may appear in an X.509 certificate. type KeyUsageOutput struct{ *pulumi.OutputState } @@ -2982,6 +3439,12 @@ func (o KeyUsageOutput) ToKeyUsagePtrOutputWithContext(ctx context.Context) KeyU }).(KeyUsagePtrOutput) } +func (o KeyUsageOutput) ToOutput(ctx context.Context) pulumix.Output[KeyUsage] { + return pulumix.Output[KeyUsage]{ + OutputState: o.OutputState, + } +} + // Describes high-level ways in which a key may be used. func (o KeyUsageOutput) BaseKeyUsage() KeyUsageOptionsPtrOutput { return o.ApplyT(func(v KeyUsage) *KeyUsageOptions { return v.BaseKeyUsage }).(KeyUsageOptionsPtrOutput) @@ -3011,6 +3474,12 @@ func (o KeyUsagePtrOutput) ToKeyUsagePtrOutputWithContext(ctx context.Context) K return o } +func (o KeyUsagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyUsage] { + return pulumix.Output[*KeyUsage]{ + OutputState: o.OutputState, + } +} + func (o KeyUsagePtrOutput) Elem() KeyUsageOutput { return o.ApplyT(func(v *KeyUsage) KeyUsage { if v != nil { @@ -3118,6 +3587,12 @@ func (i KeyUsageOptionsArgs) ToKeyUsageOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(KeyUsageOptionsOutput) } +func (i KeyUsageOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[KeyUsageOptions] { + return pulumix.Output[KeyUsageOptions]{ + OutputState: i.ToKeyUsageOptionsOutputWithContext(ctx).OutputState, + } +} + func (i KeyUsageOptionsArgs) ToKeyUsageOptionsPtrOutput() KeyUsageOptionsPtrOutput { return i.ToKeyUsageOptionsPtrOutputWithContext(context.Background()) } @@ -3159,6 +3634,12 @@ func (i *keyUsageOptionsPtrType) ToKeyUsageOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(KeyUsageOptionsPtrOutput) } +func (i *keyUsageOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*KeyUsageOptions] { + return pulumix.Output[*KeyUsageOptions]{ + OutputState: i.ToKeyUsageOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. type KeyUsageOptionsOutput struct{ *pulumi.OutputState } @@ -3184,6 +3665,12 @@ func (o KeyUsageOptionsOutput) ToKeyUsageOptionsPtrOutputWithContext(ctx context }).(KeyUsageOptionsPtrOutput) } +func (o KeyUsageOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[KeyUsageOptions] { + return pulumix.Output[KeyUsageOptions]{ + OutputState: o.OutputState, + } +} + // The key may be used to sign certificates. func (o KeyUsageOptionsOutput) CertSign() pulumi.BoolPtrOutput { return o.ApplyT(func(v KeyUsageOptions) *bool { return v.CertSign }).(pulumi.BoolPtrOutput) @@ -3243,6 +3730,12 @@ func (o KeyUsageOptionsPtrOutput) ToKeyUsageOptionsPtrOutputWithContext(ctx cont return o } +func (o KeyUsageOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyUsageOptions] { + return pulumix.Output[*KeyUsageOptions]{ + OutputState: o.OutputState, + } +} + func (o KeyUsageOptionsPtrOutput) Elem() KeyUsageOptionsOutput { return o.ApplyT(func(v *KeyUsageOptions) KeyUsageOptions { if v != nil { @@ -3380,6 +3873,12 @@ func (o KeyUsageOptionsResponseOutput) ToKeyUsageOptionsResponseOutputWithContex return o } +func (o KeyUsageOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeyUsageOptionsResponse] { + return pulumix.Output[KeyUsageOptionsResponse]{ + OutputState: o.OutputState, + } +} + // The key may be used to sign certificates. func (o KeyUsageOptionsResponseOutput) CertSign() pulumi.BoolOutput { return o.ApplyT(func(v KeyUsageOptionsResponse) bool { return v.CertSign }).(pulumi.BoolOutput) @@ -3450,6 +3949,12 @@ func (o KeyUsageResponseOutput) ToKeyUsageResponseOutputWithContext(ctx context. return o } +func (o KeyUsageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeyUsageResponse] { + return pulumix.Output[KeyUsageResponse]{ + OutputState: o.OutputState, + } +} + // Describes high-level ways in which a key may be used. func (o KeyUsageResponseOutput) BaseKeyUsage() KeyUsageOptionsResponseOutput { return o.ApplyT(func(v KeyUsageResponse) KeyUsageOptionsResponse { return v.BaseKeyUsage }).(KeyUsageOptionsResponseOutput) @@ -3504,6 +4009,12 @@ func (i KeyVersionSpecArgs) ToKeyVersionSpecOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(KeyVersionSpecOutput) } +func (i KeyVersionSpecArgs) ToOutput(ctx context.Context) pulumix.Output[KeyVersionSpec] { + return pulumix.Output[KeyVersionSpec]{ + OutputState: i.ToKeyVersionSpecOutputWithContext(ctx).OutputState, + } +} + // A Cloud KMS key configuration that a CertificateAuthority will use. type KeyVersionSpecOutput struct{ *pulumi.OutputState } @@ -3519,6 +4030,12 @@ func (o KeyVersionSpecOutput) ToKeyVersionSpecOutputWithContext(ctx context.Cont return o } +func (o KeyVersionSpecOutput) ToOutput(ctx context.Context) pulumix.Output[KeyVersionSpec] { + return pulumix.Output[KeyVersionSpec]{ + OutputState: o.OutputState, + } +} + // The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as `HSM`. func (o KeyVersionSpecOutput) Algorithm() KeyVersionSpecAlgorithmPtrOutput { return o.ApplyT(func(v KeyVersionSpec) *KeyVersionSpecAlgorithm { return v.Algorithm }).(KeyVersionSpecAlgorithmPtrOutput) @@ -3552,6 +4069,12 @@ func (o KeyVersionSpecResponseOutput) ToKeyVersionSpecResponseOutputWithContext( return o } +func (o KeyVersionSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeyVersionSpecResponse] { + return pulumix.Output[KeyVersionSpecResponse]{ + OutputState: o.OutputState, + } +} + // The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as `HSM`. func (o KeyVersionSpecResponseOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v KeyVersionSpecResponse) string { return v.Algorithm }).(pulumi.StringOutput) @@ -3629,6 +4152,12 @@ func (i NameConstraintsArgs) ToNameConstraintsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(NameConstraintsOutput) } +func (i NameConstraintsArgs) ToOutput(ctx context.Context) pulumix.Output[NameConstraints] { + return pulumix.Output[NameConstraints]{ + OutputState: i.ToNameConstraintsOutputWithContext(ctx).OutputState, + } +} + func (i NameConstraintsArgs) ToNameConstraintsPtrOutput() NameConstraintsPtrOutput { return i.ToNameConstraintsPtrOutputWithContext(context.Background()) } @@ -3670,6 +4199,12 @@ func (i *nameConstraintsPtrType) ToNameConstraintsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(NameConstraintsPtrOutput) } +func (i *nameConstraintsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NameConstraints] { + return pulumix.Output[*NameConstraints]{ + OutputState: i.ToNameConstraintsPtrOutputWithContext(ctx).OutputState, + } +} + // Describes the X.509 name constraints extension, per https://tools.ietf.org/html/rfc5280#section-4.2.1.10 type NameConstraintsOutput struct{ *pulumi.OutputState } @@ -3695,6 +4230,12 @@ func (o NameConstraintsOutput) ToNameConstraintsPtrOutputWithContext(ctx context }).(NameConstraintsPtrOutput) } +func (o NameConstraintsOutput) ToOutput(ctx context.Context) pulumix.Output[NameConstraints] { + return pulumix.Output[NameConstraints]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not the name constraints are marked critical. func (o NameConstraintsOutput) Critical() pulumi.BoolPtrOutput { return o.ApplyT(func(v NameConstraints) *bool { return v.Critical }).(pulumi.BoolPtrOutput) @@ -3754,6 +4295,12 @@ func (o NameConstraintsPtrOutput) ToNameConstraintsPtrOutputWithContext(ctx cont return o } +func (o NameConstraintsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NameConstraints] { + return pulumix.Output[*NameConstraints]{ + OutputState: o.OutputState, + } +} + func (o NameConstraintsPtrOutput) Elem() NameConstraintsOutput { return o.ApplyT(func(v *NameConstraints) NameConstraints { if v != nil { @@ -3891,6 +4438,12 @@ func (o NameConstraintsResponseOutput) ToNameConstraintsResponseOutputWithContex return o } +func (o NameConstraintsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NameConstraintsResponse] { + return pulumix.Output[NameConstraintsResponse]{ + OutputState: o.OutputState, + } +} + // Indicates whether or not the name constraints are marked critical. func (o NameConstraintsResponseOutput) Critical() pulumi.BoolOutput { return o.ApplyT(func(v NameConstraintsResponse) bool { return v.Critical }).(pulumi.BoolOutput) @@ -3971,6 +4524,12 @@ func (i ObjectIdArgs) ToObjectIdOutputWithContext(ctx context.Context) ObjectIdO return pulumi.ToOutputWithContext(ctx, i).(ObjectIdOutput) } +func (i ObjectIdArgs) ToOutput(ctx context.Context) pulumix.Output[ObjectId] { + return pulumix.Output[ObjectId]{ + OutputState: i.ToObjectIdOutputWithContext(ctx).OutputState, + } +} + // ObjectIdArrayInput is an input type that accepts ObjectIdArray and ObjectIdArrayOutput values. // You can construct a concrete instance of `ObjectIdArrayInput` via: // @@ -3996,6 +4555,12 @@ func (i ObjectIdArray) ToObjectIdArrayOutputWithContext(ctx context.Context) Obj return pulumi.ToOutputWithContext(ctx, i).(ObjectIdArrayOutput) } +func (i ObjectIdArray) ToOutput(ctx context.Context) pulumix.Output[[]ObjectId] { + return pulumix.Output[[]ObjectId]{ + OutputState: i.ToObjectIdArrayOutputWithContext(ctx).OutputState, + } +} + // An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. type ObjectIdOutput struct{ *pulumi.OutputState } @@ -4011,6 +4576,12 @@ func (o ObjectIdOutput) ToObjectIdOutputWithContext(ctx context.Context) ObjectI return o } +func (o ObjectIdOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectId] { + return pulumix.Output[ObjectId]{ + OutputState: o.OutputState, + } +} + // The parts of an OID path. The most significant parts of the path come first. func (o ObjectIdOutput) ObjectIdPath() pulumi.IntArrayOutput { return o.ApplyT(func(v ObjectId) []int { return v.ObjectIdPath }).(pulumi.IntArrayOutput) @@ -4030,6 +4601,12 @@ func (o ObjectIdArrayOutput) ToObjectIdArrayOutputWithContext(ctx context.Contex return o } +func (o ObjectIdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ObjectId] { + return pulumix.Output[[]ObjectId]{ + OutputState: o.OutputState, + } +} + func (o ObjectIdArrayOutput) Index(i pulumi.IntInput) ObjectIdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ObjectId { return vs[0].([]ObjectId)[vs[1].(int)] @@ -4057,6 +4634,12 @@ func (o ObjectIdResponseOutput) ToObjectIdResponseOutputWithContext(ctx context. return o } +func (o ObjectIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectIdResponse] { + return pulumix.Output[ObjectIdResponse]{ + OutputState: o.OutputState, + } +} + // The parts of an OID path. The most significant parts of the path come first. func (o ObjectIdResponseOutput) ObjectIdPath() pulumi.IntArrayOutput { return o.ApplyT(func(v ObjectIdResponse) []int { return v.ObjectIdPath }).(pulumi.IntArrayOutput) @@ -4076,6 +4659,12 @@ func (o ObjectIdResponseArrayOutput) ToObjectIdResponseArrayOutputWithContext(ct return o } +func (o ObjectIdResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ObjectIdResponse] { + return pulumix.Output[[]ObjectIdResponse]{ + OutputState: o.OutputState, + } +} + func (o ObjectIdResponseArrayOutput) Index(i pulumi.IntInput) ObjectIdResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ObjectIdResponse { return vs[0].([]ObjectIdResponse)[vs[1].(int)] @@ -4121,6 +4710,12 @@ func (i PublicKeyArgs) ToPublicKeyOutputWithContext(ctx context.Context) PublicK return pulumi.ToOutputWithContext(ctx, i).(PublicKeyOutput) } +func (i PublicKeyArgs) ToOutput(ctx context.Context) pulumix.Output[PublicKey] { + return pulumix.Output[PublicKey]{ + OutputState: i.ToPublicKeyOutputWithContext(ctx).OutputState, + } +} + func (i PublicKeyArgs) ToPublicKeyPtrOutput() PublicKeyPtrOutput { return i.ToPublicKeyPtrOutputWithContext(context.Background()) } @@ -4162,6 +4757,12 @@ func (i *publicKeyPtrType) ToPublicKeyPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PublicKeyPtrOutput) } +func (i *publicKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*PublicKey] { + return pulumix.Output[*PublicKey]{ + OutputState: i.ToPublicKeyPtrOutputWithContext(ctx).OutputState, + } +} + // A PublicKey describes a public key. type PublicKeyOutput struct{ *pulumi.OutputState } @@ -4187,6 +4788,12 @@ func (o PublicKeyOutput) ToPublicKeyPtrOutputWithContext(ctx context.Context) Pu }).(PublicKeyPtrOutput) } +func (o PublicKeyOutput) ToOutput(ctx context.Context) pulumix.Output[PublicKey] { + return pulumix.Output[PublicKey]{ + OutputState: o.OutputState, + } +} + // The format of the public key. func (o PublicKeyOutput) Format() PublicKeyFormatOutput { return o.ApplyT(func(v PublicKey) PublicKeyFormat { return v.Format }).(PublicKeyFormatOutput) @@ -4211,6 +4818,12 @@ func (o PublicKeyPtrOutput) ToPublicKeyPtrOutputWithContext(ctx context.Context) return o } +func (o PublicKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublicKey] { + return pulumix.Output[*PublicKey]{ + OutputState: o.OutputState, + } +} + func (o PublicKeyPtrOutput) Elem() PublicKeyOutput { return o.ApplyT(func(v *PublicKey) PublicKey { if v != nil { @@ -4264,6 +4877,12 @@ func (o PublicKeyResponseOutput) ToPublicKeyResponseOutputWithContext(ctx contex return o } +func (o PublicKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublicKeyResponse] { + return pulumix.Output[PublicKeyResponse]{ + OutputState: o.OutputState, + } +} + // The format of the public key. func (o PublicKeyResponseOutput) Format() pulumi.StringOutput { return o.ApplyT(func(v PublicKeyResponse) string { return v.Format }).(pulumi.StringOutput) @@ -4317,6 +4936,12 @@ func (i PublishingOptionsArgs) ToPublishingOptionsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PublishingOptionsOutput) } +func (i PublishingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[PublishingOptions] { + return pulumix.Output[PublishingOptions]{ + OutputState: i.ToPublishingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i PublishingOptionsArgs) ToPublishingOptionsPtrOutput() PublishingOptionsPtrOutput { return i.ToPublishingOptionsPtrOutputWithContext(context.Background()) } @@ -4358,6 +4983,12 @@ func (i *publishingOptionsPtrType) ToPublishingOptionsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PublishingOptionsPtrOutput) } +func (i *publishingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*PublishingOptions] { + return pulumix.Output[*PublishingOptions]{ + OutputState: i.ToPublishingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options relating to the publication of each CertificateAuthority's CA certificate and CRLs and their inclusion as extensions in issued Certificates. The options set here apply to certificates issued by any CertificateAuthority in the CaPool. type PublishingOptionsOutput struct{ *pulumi.OutputState } @@ -4383,6 +5014,12 @@ func (o PublishingOptionsOutput) ToPublishingOptionsPtrOutputWithContext(ctx con }).(PublishingOptionsPtrOutput) } +func (o PublishingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[PublishingOptions] { + return pulumix.Output[PublishingOptions]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies the encoding format of each CertificateAuthority's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM. func (o PublishingOptionsOutput) EncodingFormat() PublishingOptionsEncodingFormatPtrOutput { return o.ApplyT(func(v PublishingOptions) *PublishingOptionsEncodingFormat { return v.EncodingFormat }).(PublishingOptionsEncodingFormatPtrOutput) @@ -4412,6 +5049,12 @@ func (o PublishingOptionsPtrOutput) ToPublishingOptionsPtrOutputWithContext(ctx return o } +func (o PublishingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublishingOptions] { + return pulumix.Output[*PublishingOptions]{ + OutputState: o.OutputState, + } +} + func (o PublishingOptionsPtrOutput) Elem() PublishingOptionsOutput { return o.ApplyT(func(v *PublishingOptions) PublishingOptions { if v != nil { @@ -4477,6 +5120,12 @@ func (o PublishingOptionsResponseOutput) ToPublishingOptionsResponseOutputWithCo return o } +func (o PublishingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublishingOptionsResponse] { + return pulumix.Output[PublishingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies the encoding format of each CertificateAuthority's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM. func (o PublishingOptionsResponseOutput) EncodingFormat() pulumi.StringOutput { return o.ApplyT(func(v PublishingOptionsResponse) string { return v.EncodingFormat }).(pulumi.StringOutput) @@ -4515,6 +5164,12 @@ func (o RevocationDetailsResponseOutput) ToRevocationDetailsResponseOutputWithCo return o } +func (o RevocationDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RevocationDetailsResponse] { + return pulumix.Output[RevocationDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Indicates why a Certificate was revoked. func (o RevocationDetailsResponseOutput) RevocationState() pulumi.StringOutput { return o.ApplyT(func(v RevocationDetailsResponse) string { return v.RevocationState }).(pulumi.StringOutput) @@ -4564,6 +5219,12 @@ func (i RsaKeyTypeArgs) ToRsaKeyTypeOutputWithContext(ctx context.Context) RsaKe return pulumi.ToOutputWithContext(ctx, i).(RsaKeyTypeOutput) } +func (i RsaKeyTypeArgs) ToOutput(ctx context.Context) pulumix.Output[RsaKeyType] { + return pulumix.Output[RsaKeyType]{ + OutputState: i.ToRsaKeyTypeOutputWithContext(ctx).OutputState, + } +} + func (i RsaKeyTypeArgs) ToRsaKeyTypePtrOutput() RsaKeyTypePtrOutput { return i.ToRsaKeyTypePtrOutputWithContext(context.Background()) } @@ -4605,6 +5266,12 @@ func (i *rsaKeyTypePtrType) ToRsaKeyTypePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(RsaKeyTypePtrOutput) } +func (i *rsaKeyTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*RsaKeyType] { + return pulumix.Output[*RsaKeyType]{ + OutputState: i.ToRsaKeyTypePtrOutputWithContext(ctx).OutputState, + } +} + // Describes an RSA key that may be used in a Certificate issued from a CaPool. type RsaKeyTypeOutput struct{ *pulumi.OutputState } @@ -4630,6 +5297,12 @@ func (o RsaKeyTypeOutput) ToRsaKeyTypePtrOutputWithContext(ctx context.Context) }).(RsaKeyTypePtrOutput) } +func (o RsaKeyTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RsaKeyType] { + return pulumix.Output[RsaKeyType]{ + OutputState: o.OutputState, + } +} + // Optional. The maximum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service will not enforce an explicit upper bound on RSA modulus sizes. func (o RsaKeyTypeOutput) MaxModulusSize() pulumi.StringPtrOutput { return o.ApplyT(func(v RsaKeyType) *string { return v.MaxModulusSize }).(pulumi.StringPtrOutput) @@ -4654,6 +5327,12 @@ func (o RsaKeyTypePtrOutput) ToRsaKeyTypePtrOutputWithContext(ctx context.Contex return o } +func (o RsaKeyTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RsaKeyType] { + return pulumix.Output[*RsaKeyType]{ + OutputState: o.OutputState, + } +} + func (o RsaKeyTypePtrOutput) Elem() RsaKeyTypeOutput { return o.ApplyT(func(v *RsaKeyType) RsaKeyType { if v != nil { @@ -4707,6 +5386,12 @@ func (o RsaKeyTypeResponseOutput) ToRsaKeyTypeResponseOutputWithContext(ctx cont return o } +func (o RsaKeyTypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RsaKeyTypeResponse] { + return pulumix.Output[RsaKeyTypeResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The maximum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service will not enforce an explicit upper bound on RSA modulus sizes. func (o RsaKeyTypeResponseOutput) MaxModulusSize() pulumi.StringOutput { return o.ApplyT(func(v RsaKeyTypeResponse) string { return v.MaxModulusSize }).(pulumi.StringOutput) @@ -4780,6 +5465,12 @@ func (i SubjectArgs) ToSubjectOutputWithContext(ctx context.Context) SubjectOutp return pulumi.ToOutputWithContext(ctx, i).(SubjectOutput) } +func (i SubjectArgs) ToOutput(ctx context.Context) pulumix.Output[Subject] { + return pulumix.Output[Subject]{ + OutputState: i.ToSubjectOutputWithContext(ctx).OutputState, + } +} + func (i SubjectArgs) ToSubjectPtrOutput() SubjectPtrOutput { return i.ToSubjectPtrOutputWithContext(context.Background()) } @@ -4821,6 +5512,12 @@ func (i *subjectPtrType) ToSubjectPtrOutputWithContext(ctx context.Context) Subj return pulumi.ToOutputWithContext(ctx, i).(SubjectPtrOutput) } +func (i *subjectPtrType) ToOutput(ctx context.Context) pulumix.Output[*Subject] { + return pulumix.Output[*Subject]{ + OutputState: i.ToSubjectPtrOutputWithContext(ctx).OutputState, + } +} + // Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate. type SubjectOutput struct{ *pulumi.OutputState } @@ -4846,6 +5543,12 @@ func (o SubjectOutput) ToSubjectPtrOutputWithContext(ctx context.Context) Subjec }).(SubjectPtrOutput) } +func (o SubjectOutput) ToOutput(ctx context.Context) pulumix.Output[Subject] { + return pulumix.Output[Subject]{ + OutputState: o.OutputState, + } +} + // The "common name" of the subject. func (o SubjectOutput) CommonName() pulumi.StringPtrOutput { return o.ApplyT(func(v Subject) *string { return v.CommonName }).(pulumi.StringPtrOutput) @@ -4900,6 +5603,12 @@ func (o SubjectPtrOutput) ToSubjectPtrOutputWithContext(ctx context.Context) Sub return o } +func (o SubjectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Subject] { + return pulumix.Output[*Subject]{ + OutputState: o.OutputState, + } +} + func (o SubjectPtrOutput) Elem() SubjectOutput { return o.ApplyT(func(v *Subject) Subject { if v != nil { @@ -5041,6 +5750,12 @@ func (i SubjectAltNamesArgs) ToSubjectAltNamesOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SubjectAltNamesOutput) } +func (i SubjectAltNamesArgs) ToOutput(ctx context.Context) pulumix.Output[SubjectAltNames] { + return pulumix.Output[SubjectAltNames]{ + OutputState: i.ToSubjectAltNamesOutputWithContext(ctx).OutputState, + } +} + func (i SubjectAltNamesArgs) ToSubjectAltNamesPtrOutput() SubjectAltNamesPtrOutput { return i.ToSubjectAltNamesPtrOutputWithContext(context.Background()) } @@ -5082,6 +5797,12 @@ func (i *subjectAltNamesPtrType) ToSubjectAltNamesPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(SubjectAltNamesPtrOutput) } +func (i *subjectAltNamesPtrType) ToOutput(ctx context.Context) pulumix.Output[*SubjectAltNames] { + return pulumix.Output[*SubjectAltNames]{ + OutputState: i.ToSubjectAltNamesPtrOutputWithContext(ctx).OutputState, + } +} + // SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the "common name" in the distinguished name). type SubjectAltNamesOutput struct{ *pulumi.OutputState } @@ -5107,6 +5828,12 @@ func (o SubjectAltNamesOutput) ToSubjectAltNamesPtrOutputWithContext(ctx context }).(SubjectAltNamesPtrOutput) } +func (o SubjectAltNamesOutput) ToOutput(ctx context.Context) pulumix.Output[SubjectAltNames] { + return pulumix.Output[SubjectAltNames]{ + OutputState: o.OutputState, + } +} + // Contains additional subject alternative name values. For each custom_san, the `value` field must contain an ASN.1 encoded UTF8String. func (o SubjectAltNamesOutput) CustomSans() X509ExtensionArrayOutput { return o.ApplyT(func(v SubjectAltNames) []X509Extension { return v.CustomSans }).(X509ExtensionArrayOutput) @@ -5146,6 +5873,12 @@ func (o SubjectAltNamesPtrOutput) ToSubjectAltNamesPtrOutputWithContext(ctx cont return o } +func (o SubjectAltNamesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubjectAltNames] { + return pulumix.Output[*SubjectAltNames]{ + OutputState: o.OutputState, + } +} + func (o SubjectAltNamesPtrOutput) Elem() SubjectAltNamesOutput { return o.ApplyT(func(v *SubjectAltNames) SubjectAltNames { if v != nil { @@ -5235,6 +5968,12 @@ func (o SubjectAltNamesResponseOutput) ToSubjectAltNamesResponseOutputWithContex return o } +func (o SubjectAltNamesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubjectAltNamesResponse] { + return pulumix.Output[SubjectAltNamesResponse]{ + OutputState: o.OutputState, + } +} + // Contains additional subject alternative name values. For each custom_san, the `value` field must contain an ASN.1 encoded UTF8String. func (o SubjectAltNamesResponseOutput) CustomSans() X509ExtensionResponseArrayOutput { return o.ApplyT(func(v SubjectAltNamesResponse) []X509ExtensionResponse { return v.CustomSans }).(X509ExtensionResponseArrayOutput) @@ -5299,6 +6038,12 @@ func (i SubjectConfigArgs) ToSubjectConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigOutput) } +func (i SubjectConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SubjectConfig] { + return pulumix.Output[SubjectConfig]{ + OutputState: i.ToSubjectConfigOutputWithContext(ctx).OutputState, + } +} + func (i SubjectConfigArgs) ToSubjectConfigPtrOutput() SubjectConfigPtrOutput { return i.ToSubjectConfigPtrOutputWithContext(context.Background()) } @@ -5340,6 +6085,12 @@ func (i *subjectConfigPtrType) ToSubjectConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SubjectConfigPtrOutput) } +func (i *subjectConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SubjectConfig] { + return pulumix.Output[*SubjectConfig]{ + OutputState: i.ToSubjectConfigPtrOutputWithContext(ctx).OutputState, + } +} + // These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate. type SubjectConfigOutput struct{ *pulumi.OutputState } @@ -5365,6 +6116,12 @@ func (o SubjectConfigOutput) ToSubjectConfigPtrOutputWithContext(ctx context.Con }).(SubjectConfigPtrOutput) } +func (o SubjectConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SubjectConfig] { + return pulumix.Output[SubjectConfig]{ + OutputState: o.OutputState, + } +} + // Contains distinguished name fields such as the common name, location and organization. func (o SubjectConfigOutput) Subject() SubjectOutput { return o.ApplyT(func(v SubjectConfig) Subject { return v.Subject }).(SubjectOutput) @@ -5389,6 +6146,12 @@ func (o SubjectConfigPtrOutput) ToSubjectConfigPtrOutputWithContext(ctx context. return o } +func (o SubjectConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubjectConfig] { + return pulumix.Output[*SubjectConfig]{ + OutputState: o.OutputState, + } +} + func (o SubjectConfigPtrOutput) Elem() SubjectConfigOutput { return o.ApplyT(func(v *SubjectConfig) SubjectConfig { if v != nil { @@ -5442,6 +6205,12 @@ func (o SubjectConfigResponseOutput) ToSubjectConfigResponseOutputWithContext(ct return o } +func (o SubjectConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubjectConfigResponse] { + return pulumix.Output[SubjectConfigResponse]{ + OutputState: o.OutputState, + } +} + // Contains distinguished name fields such as the common name, location and organization. func (o SubjectConfigResponseOutput) Subject() SubjectResponseOutput { return o.ApplyT(func(v SubjectConfigResponse) SubjectResponse { return v.Subject }).(SubjectResponseOutput) @@ -5483,6 +6252,12 @@ func (o SubjectDescriptionResponseOutput) ToSubjectDescriptionResponseOutputWith return o } +func (o SubjectDescriptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubjectDescriptionResponse] { + return pulumix.Output[SubjectDescriptionResponse]{ + OutputState: o.OutputState, + } +} + // The serial number encoded in lowercase hexadecimal. func (o SubjectDescriptionResponseOutput) HexSerialNumber() pulumi.StringOutput { return o.ApplyT(func(v SubjectDescriptionResponse) string { return v.HexSerialNumber }).(pulumi.StringOutput) @@ -5548,6 +6323,12 @@ func (o SubjectResponseOutput) ToSubjectResponseOutputWithContext(ctx context.Co return o } +func (o SubjectResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubjectResponse] { + return pulumix.Output[SubjectResponse]{ + OutputState: o.OutputState, + } +} + // The "common name" of the subject. func (o SubjectResponseOutput) CommonName() pulumi.StringOutput { return o.ApplyT(func(v SubjectResponse) string { return v.CommonName }).(pulumi.StringOutput) @@ -5627,6 +6408,12 @@ func (i SubordinateConfigArgs) ToSubordinateConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SubordinateConfigOutput) } +func (i SubordinateConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SubordinateConfig] { + return pulumix.Output[SubordinateConfig]{ + OutputState: i.ToSubordinateConfigOutputWithContext(ctx).OutputState, + } +} + func (i SubordinateConfigArgs) ToSubordinateConfigPtrOutput() SubordinateConfigPtrOutput { return i.ToSubordinateConfigPtrOutputWithContext(context.Background()) } @@ -5668,6 +6455,12 @@ func (i *subordinateConfigPtrType) ToSubordinateConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(SubordinateConfigPtrOutput) } +func (i *subordinateConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SubordinateConfig] { + return pulumix.Output[*SubordinateConfig]{ + OutputState: i.ToSubordinateConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Describes a subordinate CA's issuers. This is either a resource name to a known issuing CertificateAuthority, or a PEM issuer certificate chain. type SubordinateConfigOutput struct{ *pulumi.OutputState } @@ -5693,6 +6486,12 @@ func (o SubordinateConfigOutput) ToSubordinateConfigPtrOutputWithContext(ctx con }).(SubordinateConfigPtrOutput) } +func (o SubordinateConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SubordinateConfig] { + return pulumix.Output[SubordinateConfig]{ + OutputState: o.OutputState, + } +} + // This can refer to a CertificateAuthority that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. func (o SubordinateConfigOutput) CertificateAuthority() pulumi.StringOutput { return o.ApplyT(func(v SubordinateConfig) string { return v.CertificateAuthority }).(pulumi.StringOutput) @@ -5717,6 +6516,12 @@ func (o SubordinateConfigPtrOutput) ToSubordinateConfigPtrOutputWithContext(ctx return o } +func (o SubordinateConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubordinateConfig] { + return pulumix.Output[*SubordinateConfig]{ + OutputState: o.OutputState, + } +} + func (o SubordinateConfigPtrOutput) Elem() SubordinateConfigOutput { return o.ApplyT(func(v *SubordinateConfig) SubordinateConfig { if v != nil { @@ -5782,6 +6587,12 @@ func (i SubordinateConfigChainArgs) ToSubordinateConfigChainOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SubordinateConfigChainOutput) } +func (i SubordinateConfigChainArgs) ToOutput(ctx context.Context) pulumix.Output[SubordinateConfigChain] { + return pulumix.Output[SubordinateConfigChain]{ + OutputState: i.ToSubordinateConfigChainOutputWithContext(ctx).OutputState, + } +} + func (i SubordinateConfigChainArgs) ToSubordinateConfigChainPtrOutput() SubordinateConfigChainPtrOutput { return i.ToSubordinateConfigChainPtrOutputWithContext(context.Background()) } @@ -5823,6 +6634,12 @@ func (i *subordinateConfigChainPtrType) ToSubordinateConfigChainPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(SubordinateConfigChainPtrOutput) } +func (i *subordinateConfigChainPtrType) ToOutput(ctx context.Context) pulumix.Output[*SubordinateConfigChain] { + return pulumix.Output[*SubordinateConfigChain]{ + OutputState: i.ToSubordinateConfigChainPtrOutputWithContext(ctx).OutputState, + } +} + // This message describes a subordinate CA's issuer certificate chain. This wrapper exists for compatibility reasons. type SubordinateConfigChainOutput struct{ *pulumi.OutputState } @@ -5848,6 +6665,12 @@ func (o SubordinateConfigChainOutput) ToSubordinateConfigChainPtrOutputWithConte }).(SubordinateConfigChainPtrOutput) } +func (o SubordinateConfigChainOutput) ToOutput(ctx context.Context) pulumix.Output[SubordinateConfigChain] { + return pulumix.Output[SubordinateConfigChain]{ + OutputState: o.OutputState, + } +} + // Expected to be in leaf-to-root order according to RFC 5246. func (o SubordinateConfigChainOutput) PemCertificates() pulumi.StringArrayOutput { return o.ApplyT(func(v SubordinateConfigChain) []string { return v.PemCertificates }).(pulumi.StringArrayOutput) @@ -5867,6 +6690,12 @@ func (o SubordinateConfigChainPtrOutput) ToSubordinateConfigChainPtrOutputWithCo return o } +func (o SubordinateConfigChainPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SubordinateConfigChain] { + return pulumix.Output[*SubordinateConfigChain]{ + OutputState: o.OutputState, + } +} + func (o SubordinateConfigChainPtrOutput) Elem() SubordinateConfigChainOutput { return o.ApplyT(func(v *SubordinateConfigChain) SubordinateConfigChain { if v != nil { @@ -5908,6 +6737,12 @@ func (o SubordinateConfigChainResponseOutput) ToSubordinateConfigChainResponseOu return o } +func (o SubordinateConfigChainResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubordinateConfigChainResponse] { + return pulumix.Output[SubordinateConfigChainResponse]{ + OutputState: o.OutputState, + } +} + // Expected to be in leaf-to-root order according to RFC 5246. func (o SubordinateConfigChainResponseOutput) PemCertificates() pulumi.StringArrayOutput { return o.ApplyT(func(v SubordinateConfigChainResponse) []string { return v.PemCertificates }).(pulumi.StringArrayOutput) @@ -5936,6 +6771,12 @@ func (o SubordinateConfigResponseOutput) ToSubordinateConfigResponseOutputWithCo return o } +func (o SubordinateConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubordinateConfigResponse] { + return pulumix.Output[SubordinateConfigResponse]{ + OutputState: o.OutputState, + } +} + // This can refer to a CertificateAuthority that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. func (o SubordinateConfigResponseOutput) CertificateAuthority() pulumi.StringOutput { return o.ApplyT(func(v SubordinateConfigResponse) string { return v.CertificateAuthority }).(pulumi.StringOutput) @@ -5989,6 +6830,12 @@ func (i X509ExtensionArgs) ToX509ExtensionOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(X509ExtensionOutput) } +func (i X509ExtensionArgs) ToOutput(ctx context.Context) pulumix.Output[X509Extension] { + return pulumix.Output[X509Extension]{ + OutputState: i.ToX509ExtensionOutputWithContext(ctx).OutputState, + } +} + // X509ExtensionArrayInput is an input type that accepts X509ExtensionArray and X509ExtensionArrayOutput values. // You can construct a concrete instance of `X509ExtensionArrayInput` via: // @@ -6014,6 +6861,12 @@ func (i X509ExtensionArray) ToX509ExtensionArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(X509ExtensionArrayOutput) } +func (i X509ExtensionArray) ToOutput(ctx context.Context) pulumix.Output[[]X509Extension] { + return pulumix.Output[[]X509Extension]{ + OutputState: i.ToX509ExtensionArrayOutputWithContext(ctx).OutputState, + } +} + // An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs. type X509ExtensionOutput struct{ *pulumi.OutputState } @@ -6029,6 +6882,12 @@ func (o X509ExtensionOutput) ToX509ExtensionOutputWithContext(ctx context.Contex return o } +func (o X509ExtensionOutput) ToOutput(ctx context.Context) pulumix.Output[X509Extension] { + return pulumix.Output[X509Extension]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error). func (o X509ExtensionOutput) Critical() pulumi.BoolPtrOutput { return o.ApplyT(func(v X509Extension) *bool { return v.Critical }).(pulumi.BoolPtrOutput) @@ -6058,6 +6917,12 @@ func (o X509ExtensionArrayOutput) ToX509ExtensionArrayOutputWithContext(ctx cont return o } +func (o X509ExtensionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]X509Extension] { + return pulumix.Output[[]X509Extension]{ + OutputState: o.OutputState, + } +} + func (o X509ExtensionArrayOutput) Index(i pulumi.IntInput) X509ExtensionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) X509Extension { return vs[0].([]X509Extension)[vs[1].(int)] @@ -6089,6 +6954,12 @@ func (o X509ExtensionResponseOutput) ToX509ExtensionResponseOutputWithContext(ct return o } +func (o X509ExtensionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[X509ExtensionResponse] { + return pulumix.Output[X509ExtensionResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error). func (o X509ExtensionResponseOutput) Critical() pulumi.BoolOutput { return o.ApplyT(func(v X509ExtensionResponse) bool { return v.Critical }).(pulumi.BoolOutput) @@ -6118,6 +6989,12 @@ func (o X509ExtensionResponseArrayOutput) ToX509ExtensionResponseArrayOutputWith return o } +func (o X509ExtensionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]X509ExtensionResponse] { + return pulumix.Output[[]X509ExtensionResponse]{ + OutputState: o.OutputState, + } +} + func (o X509ExtensionResponseArrayOutput) Index(i pulumi.IntInput) X509ExtensionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) X509ExtensionResponse { return vs[0].([]X509ExtensionResponse)[vs[1].(int)] @@ -6179,6 +7056,12 @@ func (i X509ParametersArgs) ToX509ParametersOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(X509ParametersOutput) } +func (i X509ParametersArgs) ToOutput(ctx context.Context) pulumix.Output[X509Parameters] { + return pulumix.Output[X509Parameters]{ + OutputState: i.ToX509ParametersOutputWithContext(ctx).OutputState, + } +} + func (i X509ParametersArgs) ToX509ParametersPtrOutput() X509ParametersPtrOutput { return i.ToX509ParametersPtrOutputWithContext(context.Background()) } @@ -6220,6 +7103,12 @@ func (i *x509parametersPtrType) ToX509ParametersPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(X509ParametersPtrOutput) } +func (i *x509parametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*X509Parameters] { + return pulumix.Output[*X509Parameters]{ + OutputState: i.ToX509ParametersPtrOutputWithContext(ctx).OutputState, + } +} + // An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. type X509ParametersOutput struct{ *pulumi.OutputState } @@ -6245,6 +7134,12 @@ func (o X509ParametersOutput) ToX509ParametersPtrOutputWithContext(ctx context.C }).(X509ParametersPtrOutput) } +func (o X509ParametersOutput) ToOutput(ctx context.Context) pulumix.Output[X509Parameters] { + return pulumix.Output[X509Parameters]{ + OutputState: o.OutputState, + } +} + // Optional. Describes custom X.509 extensions. func (o X509ParametersOutput) AdditionalExtensions() X509ExtensionArrayOutput { return o.ApplyT(func(v X509Parameters) []X509Extension { return v.AdditionalExtensions }).(X509ExtensionArrayOutput) @@ -6289,6 +7184,12 @@ func (o X509ParametersPtrOutput) ToX509ParametersPtrOutputWithContext(ctx contex return o } +func (o X509ParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*X509Parameters] { + return pulumix.Output[*X509Parameters]{ + OutputState: o.OutputState, + } +} + func (o X509ParametersPtrOutput) Elem() X509ParametersOutput { return o.ApplyT(func(v *X509Parameters) X509Parameters { if v != nil { @@ -6390,6 +7291,12 @@ func (o X509ParametersResponseOutput) ToX509ParametersResponseOutputWithContext( return o } +func (o X509ParametersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[X509ParametersResponse] { + return pulumix.Output[X509ParametersResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Describes custom X.509 extensions. func (o X509ParametersResponseOutput) AdditionalExtensions() X509ExtensionResponseArrayOutput { return o.ApplyT(func(v X509ParametersResponse) []X509ExtensionResponse { return v.AdditionalExtensions }).(X509ExtensionResponseArrayOutput) diff --git a/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamBinding.go b/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamBinding.go index c793e10f87..35f22a1bcd 100644 --- a/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamBinding.go +++ b/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CertificateAuthorityCertificateRevocationListIamBinding) ToCertificateA return pulumi.ToOutputWithContext(ctx, i).(CertificateAuthorityCertificateRevocationListIamBindingOutput) } +func (i *CertificateAuthorityCertificateRevocationListIamBinding) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityCertificateRevocationListIamBinding] { + return pulumix.Output[*CertificateAuthorityCertificateRevocationListIamBinding]{ + OutputState: i.ToCertificateAuthorityCertificateRevocationListIamBindingOutputWithContext(ctx).OutputState, + } +} + type CertificateAuthorityCertificateRevocationListIamBindingOutput struct{ *pulumi.OutputState } func (CertificateAuthorityCertificateRevocationListIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CertificateAuthorityCertificateRevocationListIamBindingOutput) ToCertifi return o } +func (o CertificateAuthorityCertificateRevocationListIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityCertificateRevocationListIamBinding] { + return pulumix.Output[*CertificateAuthorityCertificateRevocationListIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o CertificateAuthorityCertificateRevocationListIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *CertificateAuthorityCertificateRevocationListIamBinding) iam.ConditionPtrOutput { diff --git a/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamMember.go b/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamMember.go index 6191af83e4..39717cce2f 100644 --- a/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamMember.go +++ b/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CertificateAuthorityCertificateRevocationListIamMember) ToCertificateAu return pulumi.ToOutputWithContext(ctx, i).(CertificateAuthorityCertificateRevocationListIamMemberOutput) } +func (i *CertificateAuthorityCertificateRevocationListIamMember) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityCertificateRevocationListIamMember] { + return pulumix.Output[*CertificateAuthorityCertificateRevocationListIamMember]{ + OutputState: i.ToCertificateAuthorityCertificateRevocationListIamMemberOutputWithContext(ctx).OutputState, + } +} + type CertificateAuthorityCertificateRevocationListIamMemberOutput struct{ *pulumi.OutputState } func (CertificateAuthorityCertificateRevocationListIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CertificateAuthorityCertificateRevocationListIamMemberOutput) ToCertific return o } +func (o CertificateAuthorityCertificateRevocationListIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityCertificateRevocationListIamMember] { + return pulumix.Output[*CertificateAuthorityCertificateRevocationListIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o CertificateAuthorityCertificateRevocationListIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *CertificateAuthorityCertificateRevocationListIamMember) iam.ConditionPtrOutput { diff --git a/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamPolicy.go b/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamPolicy.go index caba70692a..f2a16c41f8 100644 --- a/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamPolicy.go +++ b/sdk/go/google/privateca/v1beta1/certificateAuthorityCertificateRevocationListIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *CertificateAuthorityCertificateRevocationListIamPolicy) ToCertificateAu return pulumi.ToOutputWithContext(ctx, i).(CertificateAuthorityCertificateRevocationListIamPolicyOutput) } +func (i *CertificateAuthorityCertificateRevocationListIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityCertificateRevocationListIamPolicy] { + return pulumix.Output[*CertificateAuthorityCertificateRevocationListIamPolicy]{ + OutputState: i.ToCertificateAuthorityCertificateRevocationListIamPolicyOutputWithContext(ctx).OutputState, + } +} + type CertificateAuthorityCertificateRevocationListIamPolicyOutput struct{ *pulumi.OutputState } func (CertificateAuthorityCertificateRevocationListIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o CertificateAuthorityCertificateRevocationListIamPolicyOutput) ToCertific return o } +func (o CertificateAuthorityCertificateRevocationListIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityCertificateRevocationListIamPolicy] { + return pulumix.Output[*CertificateAuthorityCertificateRevocationListIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o CertificateAuthorityCertificateRevocationListIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *CertificateAuthorityCertificateRevocationListIamPolicy) AuditConfigResponseArrayOutput { diff --git a/sdk/go/google/privateca/v1beta1/certificateAuthorityIamBinding.go b/sdk/go/google/privateca/v1beta1/certificateAuthorityIamBinding.go index e69c7f329c..735c7c5091 100644 --- a/sdk/go/google/privateca/v1beta1/certificateAuthorityIamBinding.go +++ b/sdk/go/google/privateca/v1beta1/certificateAuthorityIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CertificateAuthorityIamBinding) ToCertificateAuthorityIamBindingOutputW return pulumi.ToOutputWithContext(ctx, i).(CertificateAuthorityIamBindingOutput) } +func (i *CertificateAuthorityIamBinding) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityIamBinding] { + return pulumix.Output[*CertificateAuthorityIamBinding]{ + OutputState: i.ToCertificateAuthorityIamBindingOutputWithContext(ctx).OutputState, + } +} + type CertificateAuthorityIamBindingOutput struct{ *pulumi.OutputState } func (CertificateAuthorityIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CertificateAuthorityIamBindingOutput) ToCertificateAuthorityIamBindingOu return o } +func (o CertificateAuthorityIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityIamBinding] { + return pulumix.Output[*CertificateAuthorityIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o CertificateAuthorityIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *CertificateAuthorityIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/privateca/v1beta1/certificateAuthorityIamMember.go b/sdk/go/google/privateca/v1beta1/certificateAuthorityIamMember.go index bef305aacf..4586dc2922 100644 --- a/sdk/go/google/privateca/v1beta1/certificateAuthorityIamMember.go +++ b/sdk/go/google/privateca/v1beta1/certificateAuthorityIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CertificateAuthorityIamMember) ToCertificateAuthorityIamMemberOutputWit return pulumi.ToOutputWithContext(ctx, i).(CertificateAuthorityIamMemberOutput) } +func (i *CertificateAuthorityIamMember) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityIamMember] { + return pulumix.Output[*CertificateAuthorityIamMember]{ + OutputState: i.ToCertificateAuthorityIamMemberOutputWithContext(ctx).OutputState, + } +} + type CertificateAuthorityIamMemberOutput struct{ *pulumi.OutputState } func (CertificateAuthorityIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CertificateAuthorityIamMemberOutput) ToCertificateAuthorityIamMemberOutp return o } +func (o CertificateAuthorityIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityIamMember] { + return pulumix.Output[*CertificateAuthorityIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o CertificateAuthorityIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *CertificateAuthorityIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/privateca/v1beta1/certificateAuthorityIamPolicy.go b/sdk/go/google/privateca/v1beta1/certificateAuthorityIamPolicy.go index ee75f252e9..6e1a420cb0 100644 --- a/sdk/go/google/privateca/v1beta1/certificateAuthorityIamPolicy.go +++ b/sdk/go/google/privateca/v1beta1/certificateAuthorityIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *CertificateAuthorityIamPolicy) ToCertificateAuthorityIamPolicyOutputWit return pulumi.ToOutputWithContext(ctx, i).(CertificateAuthorityIamPolicyOutput) } +func (i *CertificateAuthorityIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityIamPolicy] { + return pulumix.Output[*CertificateAuthorityIamPolicy]{ + OutputState: i.ToCertificateAuthorityIamPolicyOutputWithContext(ctx).OutputState, + } +} + type CertificateAuthorityIamPolicyOutput struct{ *pulumi.OutputState } func (CertificateAuthorityIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o CertificateAuthorityIamPolicyOutput) ToCertificateAuthorityIamPolicyOutp return o } +func (o CertificateAuthorityIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*CertificateAuthorityIamPolicy] { + return pulumix.Output[*CertificateAuthorityIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o CertificateAuthorityIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *CertificateAuthorityIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/privateca/v1beta1/getCertificateAuthorityCertificateRevocationListIamPolicy.go b/sdk/go/google/privateca/v1beta1/getCertificateAuthorityCertificateRevocationListIamPolicy.go index 09aa2b1558..dd6340cf5b 100644 --- a/sdk/go/google/privateca/v1beta1/getCertificateAuthorityCertificateRevocationListIamPolicy.go +++ b/sdk/go/google/privateca/v1beta1/getCertificateAuthorityCertificateRevocationListIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupCertificateAuthorityCertificateRevocationListIamPolicyResultOutput return o } +func (o LookupCertificateAuthorityCertificateRevocationListIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateAuthorityCertificateRevocationListIamPolicyResult] { + return pulumix.Output[LookupCertificateAuthorityCertificateRevocationListIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupCertificateAuthorityCertificateRevocationListIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupCertificateAuthorityCertificateRevocationListIamPolicyResult) []AuditConfigResponse { diff --git a/sdk/go/google/privateca/v1beta1/getCertificateAuthorityIamPolicy.go b/sdk/go/google/privateca/v1beta1/getCertificateAuthorityIamPolicy.go index eff0e4f801..4439d9ec79 100644 --- a/sdk/go/google/privateca/v1beta1/getCertificateAuthorityIamPolicy.go +++ b/sdk/go/google/privateca/v1beta1/getCertificateAuthorityIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupCertificateAuthorityIamPolicyResultOutput) ToLookupCertificateAuth return o } +func (o LookupCertificateAuthorityIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCertificateAuthorityIamPolicyResult] { + return pulumix.Output[LookupCertificateAuthorityIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupCertificateAuthorityIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupCertificateAuthorityIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/privateca/v1beta1/getReusableConfigIamPolicy.go b/sdk/go/google/privateca/v1beta1/getReusableConfigIamPolicy.go index 38a765767e..66b7b811e9 100644 --- a/sdk/go/google/privateca/v1beta1/getReusableConfigIamPolicy.go +++ b/sdk/go/google/privateca/v1beta1/getReusableConfigIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -78,6 +79,12 @@ func (o LookupReusableConfigIamPolicyResultOutput) ToLookupReusableConfigIamPoli return o } +func (o LookupReusableConfigIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReusableConfigIamPolicyResult] { + return pulumix.Output[LookupReusableConfigIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupReusableConfigIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupReusableConfigIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/privateca/v1beta1/pulumiEnums.go b/sdk/go/google/privateca/v1beta1/pulumiEnums.go index b95b45c51b..4d38fef38c 100644 --- a/sdk/go/google/privateca/v1beta1/pulumiEnums.go +++ b/sdk/go/google/privateca/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/privateca/v1beta1/pulumiTypes.go b/sdk/go/google/privateca/v1beta1/pulumiTypes.go index ce66b0f6db..44b0499654 100644 --- a/sdk/go/google/privateca/v1beta1/pulumiTypes.go +++ b/sdk/go/google/privateca/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/privateca/v1beta1/reusableConfigIamBinding.go b/sdk/go/google/privateca/v1beta1/reusableConfigIamBinding.go index b7659ce608..3672871c75 100644 --- a/sdk/go/google/privateca/v1beta1/reusableConfigIamBinding.go +++ b/sdk/go/google/privateca/v1beta1/reusableConfigIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ReusableConfigIamBinding) ToReusableConfigIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ReusableConfigIamBindingOutput) } +func (i *ReusableConfigIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ReusableConfigIamBinding] { + return pulumix.Output[*ReusableConfigIamBinding]{ + OutputState: i.ToReusableConfigIamBindingOutputWithContext(ctx).OutputState, + } +} + type ReusableConfigIamBindingOutput struct{ *pulumi.OutputState } func (ReusableConfigIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ReusableConfigIamBindingOutput) ToReusableConfigIamBindingOutputWithCont return o } +func (o ReusableConfigIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ReusableConfigIamBinding] { + return pulumix.Output[*ReusableConfigIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ReusableConfigIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ReusableConfigIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/privateca/v1beta1/reusableConfigIamMember.go b/sdk/go/google/privateca/v1beta1/reusableConfigIamMember.go index fde090154f..4c6b95cbfb 100644 --- a/sdk/go/google/privateca/v1beta1/reusableConfigIamMember.go +++ b/sdk/go/google/privateca/v1beta1/reusableConfigIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ReusableConfigIamMember) ToReusableConfigIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ReusableConfigIamMemberOutput) } +func (i *ReusableConfigIamMember) ToOutput(ctx context.Context) pulumix.Output[*ReusableConfigIamMember] { + return pulumix.Output[*ReusableConfigIamMember]{ + OutputState: i.ToReusableConfigIamMemberOutputWithContext(ctx).OutputState, + } +} + type ReusableConfigIamMemberOutput struct{ *pulumi.OutputState } func (ReusableConfigIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ReusableConfigIamMemberOutput) ToReusableConfigIamMemberOutputWithContex return o } +func (o ReusableConfigIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ReusableConfigIamMember] { + return pulumix.Output[*ReusableConfigIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ReusableConfigIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ReusableConfigIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/privateca/v1beta1/reusableConfigIamPolicy.go b/sdk/go/google/privateca/v1beta1/reusableConfigIamPolicy.go index 595692901a..14ec366039 100644 --- a/sdk/go/google/privateca/v1beta1/reusableConfigIamPolicy.go +++ b/sdk/go/google/privateca/v1beta1/reusableConfigIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ReusableConfigIamPolicy) ToReusableConfigIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ReusableConfigIamPolicyOutput) } +func (i *ReusableConfigIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ReusableConfigIamPolicy] { + return pulumix.Output[*ReusableConfigIamPolicy]{ + OutputState: i.ToReusableConfigIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ReusableConfigIamPolicyOutput struct{ *pulumi.OutputState } func (ReusableConfigIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ReusableConfigIamPolicyOutput) ToReusableConfigIamPolicyOutputWithContex return o } +func (o ReusableConfigIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ReusableConfigIamPolicy] { + return pulumix.Output[*ReusableConfigIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ReusableConfigIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ReusableConfigIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/provider.go b/sdk/go/google/provider.go index 572fcb80d4..79dbec4466 100644 --- a/sdk/go/google/provider.go +++ b/sdk/go/google/provider.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The provider type for the Google Cloud package. @@ -123,6 +124,12 @@ func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutp return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) } +func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider] { + return pulumix.Output[*Provider]{ + OutputState: i.ToProviderOutputWithContext(ctx).OutputState, + } +} + type ProviderOutput struct{ *pulumi.OutputState } func (ProviderOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } +func (o ProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*Provider] { + return pulumix.Output[*Provider]{ + OutputState: o.OutputState, + } +} + // The default project to manage resources in. If another project is specified on a resource, it will take precedence. func (o ProviderOutput) Project() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.Project }).(pulumi.StringPtrOutput) diff --git a/sdk/go/google/pubsub/v1/getSchema.go b/sdk/go/google/pubsub/v1/getSchema.go index 627025c426..73455df56d 100644 --- a/sdk/go/google/pubsub/v1/getSchema.go +++ b/sdk/go/google/pubsub/v1/getSchema.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a schema. @@ -78,6 +79,12 @@ func (o LookupSchemaResultOutput) ToLookupSchemaResultOutputWithContext(ctx cont return o } +func (o LookupSchemaResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSchemaResult] { + return pulumix.Output[LookupSchemaResult]{ + OutputState: o.OutputState, + } +} + // The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in `type`. func (o LookupSchemaResultOutput) Definition() pulumi.StringOutput { return o.ApplyT(func(v LookupSchemaResult) string { return v.Definition }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1/getSchemaIamPolicy.go b/sdk/go/google/pubsub/v1/getSchemaIamPolicy.go index 4dcc03fa28..07f9e20ac9 100644 --- a/sdk/go/google/pubsub/v1/getSchemaIamPolicy.go +++ b/sdk/go/google/pubsub/v1/getSchemaIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupSchemaIamPolicyResultOutput) ToLookupSchemaIamPolicyResultOutputWi return o } +func (o LookupSchemaIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSchemaIamPolicyResult] { + return pulumix.Output[LookupSchemaIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupSchemaIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupSchemaIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1/getSnapshot.go b/sdk/go/google/pubsub/v1/getSnapshot.go index 50e2608a3a..30a0f0898b 100644 --- a/sdk/go/google/pubsub/v1/getSnapshot.go +++ b/sdk/go/google/pubsub/v1/getSnapshot.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the configuration details of a snapshot. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. @@ -74,6 +75,12 @@ func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx return o } +func (o LookupSnapshotResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotResult] { + return pulumix.Output[LookupSnapshotResult]{ + OutputState: o.OutputState, + } +} + // The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation. func (o LookupSnapshotResultOutput) ExpireTime() pulumi.StringOutput { return o.ApplyT(func(v LookupSnapshotResult) string { return v.ExpireTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1/getSnapshotIamPolicy.go b/sdk/go/google/pubsub/v1/getSnapshotIamPolicy.go index e92bf54a7c..6ec02238b2 100644 --- a/sdk/go/google/pubsub/v1/getSnapshotIamPolicy.go +++ b/sdk/go/google/pubsub/v1/getSnapshotIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupSnapshotIamPolicyResultOutput) ToLookupSnapshotIamPolicyResultOutp return o } +func (o LookupSnapshotIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSnapshotIamPolicyResult] { + return pulumix.Output[LookupSnapshotIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupSnapshotIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupSnapshotIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1/getSubscription.go b/sdk/go/google/pubsub/v1/getSubscription.go index 5f80283b50..749db3365a 100644 --- a/sdk/go/google/pubsub/v1/getSubscription.go +++ b/sdk/go/google/pubsub/v1/getSubscription.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the configuration details of a subscription. @@ -102,6 +103,12 @@ func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithCont return o } +func (o LookupSubscriptionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubscriptionResult] { + return pulumix.Output[LookupSubscriptionResult]{ + OutputState: o.OutputState, + } +} + // The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be _outstanding_. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. func (o LookupSubscriptionResultOutput) AckDeadlineSeconds() pulumi.IntOutput { return o.ApplyT(func(v LookupSubscriptionResult) int { return v.AckDeadlineSeconds }).(pulumi.IntOutput) diff --git a/sdk/go/google/pubsub/v1/getSubscriptionIamPolicy.go b/sdk/go/google/pubsub/v1/getSubscriptionIamPolicy.go index 54bcb90f68..ff4e9c1eb5 100644 --- a/sdk/go/google/pubsub/v1/getSubscriptionIamPolicy.go +++ b/sdk/go/google/pubsub/v1/getSubscriptionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupSubscriptionIamPolicyResultOutput) ToLookupSubscriptionIamPolicyRe return o } +func (o LookupSubscriptionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubscriptionIamPolicyResult] { + return pulumix.Output[LookupSubscriptionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupSubscriptionIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupSubscriptionIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1/getTopic.go b/sdk/go/google/pubsub/v1/getTopic.go index 8dac4198ae..2f9393c78d 100644 --- a/sdk/go/google/pubsub/v1/getTopic.go +++ b/sdk/go/google/pubsub/v1/getTopic.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the configuration of a topic. @@ -80,6 +81,12 @@ func (o LookupTopicResultOutput) ToLookupTopicResultOutputWithContext(ctx contex return o } +func (o LookupTopicResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTopicResult] { + return pulumix.Output[LookupTopicResult]{ + OutputState: o.OutputState, + } +} + // The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. func (o LookupTopicResultOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v LookupTopicResult) string { return v.KmsKeyName }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1/getTopicIamPolicy.go b/sdk/go/google/pubsub/v1/getTopicIamPolicy.go index d8ae2a03b9..91da089064 100644 --- a/sdk/go/google/pubsub/v1/getTopicIamPolicy.go +++ b/sdk/go/google/pubsub/v1/getTopicIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupTopicIamPolicyResultOutput) ToLookupTopicIamPolicyResultOutputWith return o } +func (o LookupTopicIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTopicIamPolicyResult] { + return pulumix.Output[LookupTopicIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupTopicIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupTopicIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1/pulumiEnums.go b/sdk/go/google/pubsub/v1/pulumiEnums.go index 456f765c56..3543196b85 100644 --- a/sdk/go/google/pubsub/v1/pulumiEnums.go +++ b/sdk/go/google/pubsub/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The encoding of messages validated against `schema`. @@ -82,6 +83,12 @@ func (o SchemaSettingsEncodingOutput) ToSchemaSettingsEncodingPtrOutputWithConte }).(SchemaSettingsEncodingPtrOutput) } +func (o SchemaSettingsEncodingOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaSettingsEncoding] { + return pulumix.Output[SchemaSettingsEncoding]{ + OutputState: o.OutputState, + } +} + func (o SchemaSettingsEncodingOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o SchemaSettingsEncodingPtrOutput) ToSchemaSettingsEncodingPtrOutputWithCo return o } +func (o SchemaSettingsEncodingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaSettingsEncoding] { + return pulumix.Output[*SchemaSettingsEncoding]{ + OutputState: o.OutputState, + } +} + func (o SchemaSettingsEncodingPtrOutput) Elem() SchemaSettingsEncodingOutput { return o.ApplyT(func(v *SchemaSettingsEncoding) SchemaSettingsEncoding { if v != nil { @@ -179,6 +192,12 @@ func (in *schemaSettingsEncodingPtr) ToSchemaSettingsEncodingPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(SchemaSettingsEncodingPtrOutput) } +func (in *schemaSettingsEncodingPtr) ToOutput(ctx context.Context) pulumix.Output[*SchemaSettingsEncoding] { + return pulumix.Output[*SchemaSettingsEncoding]{ + OutputState: in.ToSchemaSettingsEncodingPtrOutputWithContext(ctx).OutputState, + } +} + // The type of the schema definition. type SchemaType string @@ -251,6 +270,12 @@ func (o SchemaTypeOutput) ToSchemaTypePtrOutputWithContext(ctx context.Context) }).(SchemaTypePtrOutput) } +func (o SchemaTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaType] { + return pulumix.Output[SchemaType]{ + OutputState: o.OutputState, + } +} + func (o SchemaTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o SchemaTypePtrOutput) ToSchemaTypePtrOutputWithContext(ctx context.Contex return o } +func (o SchemaTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaType] { + return pulumix.Output[*SchemaType]{ + OutputState: o.OutputState, + } +} + func (o SchemaTypePtrOutput) Elem() SchemaTypeOutput { return o.ApplyT(func(v *SchemaType) SchemaType { if v != nil { @@ -348,6 +379,12 @@ func (in *schemaTypePtr) ToSchemaTypePtrOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, in).(SchemaTypePtrOutput) } +func (in *schemaTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SchemaType] { + return pulumix.Output[*SchemaType]{ + OutputState: in.ToSchemaTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*SchemaSettingsEncodingInput)(nil)).Elem(), SchemaSettingsEncoding("ENCODING_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*SchemaSettingsEncodingPtrInput)(nil)).Elem(), SchemaSettingsEncoding("ENCODING_UNSPECIFIED")) diff --git a/sdk/go/google/pubsub/v1/pulumiTypes.go b/sdk/go/google/pubsub/v1/pulumiTypes.go index 566b1ab583..82f64a1f5b 100644 --- a/sdk/go/google/pubsub/v1/pulumiTypes.go +++ b/sdk/go/google/pubsub/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i AvroConfigArgs) ToAvroConfigOutputWithContext(ctx context.Context) AvroC return pulumi.ToOutputWithContext(ctx, i).(AvroConfigOutput) } +func (i AvroConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AvroConfig] { + return pulumix.Output[AvroConfig]{ + OutputState: i.ToAvroConfigOutputWithContext(ctx).OutputState, + } +} + func (i AvroConfigArgs) ToAvroConfigPtrOutput() AvroConfigPtrOutput { return i.ToAvroConfigPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *avroConfigPtrType) ToAvroConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AvroConfigPtrOutput) } +func (i *avroConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AvroConfig] { + return pulumix.Output[*AvroConfig]{ + OutputState: i.ToAvroConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. type AvroConfigOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o AvroConfigOutput) ToAvroConfigPtrOutputWithContext(ctx context.Context) }).(AvroConfigPtrOutput) } +func (o AvroConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AvroConfig] { + return pulumix.Output[AvroConfig]{ + OutputState: o.OutputState, + } +} + // When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. func (o AvroConfigOutput) WriteMetadata() pulumi.BoolPtrOutput { return o.ApplyT(func(v AvroConfig) *bool { return v.WriteMetadata }).(pulumi.BoolPtrOutput) @@ -133,6 +152,12 @@ func (o AvroConfigPtrOutput) ToAvroConfigPtrOutputWithContext(ctx context.Contex return o } +func (o AvroConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AvroConfig] { + return pulumix.Output[*AvroConfig]{ + OutputState: o.OutputState, + } +} + func (o AvroConfigPtrOutput) Elem() AvroConfigOutput { return o.ApplyT(func(v *AvroConfig) AvroConfig { if v != nil { @@ -174,6 +199,12 @@ func (o AvroConfigResponseOutput) ToAvroConfigResponseOutputWithContext(ctx cont return o } +func (o AvroConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AvroConfigResponse] { + return pulumix.Output[AvroConfigResponse]{ + OutputState: o.OutputState, + } +} + // When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. func (o AvroConfigResponseOutput) WriteMetadata() pulumi.BoolOutput { return o.ApplyT(func(v AvroConfigResponse) bool { return v.WriteMetadata }).(pulumi.BoolOutput) @@ -226,6 +257,12 @@ func (i BigQueryConfigArgs) ToBigQueryConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BigQueryConfigOutput) } +func (i BigQueryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BigQueryConfig] { + return pulumix.Output[BigQueryConfig]{ + OutputState: i.ToBigQueryConfigOutputWithContext(ctx).OutputState, + } +} + func (i BigQueryConfigArgs) ToBigQueryConfigPtrOutput() BigQueryConfigPtrOutput { return i.ToBigQueryConfigPtrOutputWithContext(context.Background()) } @@ -267,6 +304,12 @@ func (i *bigQueryConfigPtrType) ToBigQueryConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(BigQueryConfigPtrOutput) } +func (i *bigQueryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BigQueryConfig] { + return pulumix.Output[*BigQueryConfig]{ + OutputState: i.ToBigQueryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a BigQuery subscription. type BigQueryConfigOutput struct{ *pulumi.OutputState } @@ -292,6 +335,12 @@ func (o BigQueryConfigOutput) ToBigQueryConfigPtrOutputWithContext(ctx context.C }).(BigQueryConfigPtrOutput) } +func (o BigQueryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryConfig] { + return pulumix.Output[BigQueryConfig]{ + OutputState: o.OutputState, + } +} + // When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog. func (o BigQueryConfigOutput) DropUnknownFields() pulumi.BoolPtrOutput { return o.ApplyT(func(v BigQueryConfig) *bool { return v.DropUnknownFields }).(pulumi.BoolPtrOutput) @@ -326,6 +375,12 @@ func (o BigQueryConfigPtrOutput) ToBigQueryConfigPtrOutputWithContext(ctx contex return o } +func (o BigQueryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BigQueryConfig] { + return pulumix.Output[*BigQueryConfig]{ + OutputState: o.OutputState, + } +} + func (o BigQueryConfigPtrOutput) Elem() BigQueryConfigOutput { return o.ApplyT(func(v *BigQueryConfig) BigQueryConfig { if v != nil { @@ -405,6 +460,12 @@ func (o BigQueryConfigResponseOutput) ToBigQueryConfigResponseOutputWithContext( return o } +func (o BigQueryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BigQueryConfigResponse] { + return pulumix.Output[BigQueryConfigResponse]{ + OutputState: o.OutputState, + } +} + // When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog. func (o BigQueryConfigResponseOutput) DropUnknownFields() pulumi.BoolOutput { return o.ApplyT(func(v BigQueryConfigResponse) bool { return v.DropUnknownFields }).(pulumi.BoolOutput) @@ -473,6 +534,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -498,6 +565,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -513,6 +586,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -542,6 +621,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -573,6 +658,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -602,6 +693,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -667,6 +764,12 @@ func (i CloudStorageConfigArgs) ToCloudStorageConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CloudStorageConfigOutput) } +func (i CloudStorageConfigArgs) ToOutput(ctx context.Context) pulumix.Output[CloudStorageConfig] { + return pulumix.Output[CloudStorageConfig]{ + OutputState: i.ToCloudStorageConfigOutputWithContext(ctx).OutputState, + } +} + func (i CloudStorageConfigArgs) ToCloudStorageConfigPtrOutput() CloudStorageConfigPtrOutput { return i.ToCloudStorageConfigPtrOutputWithContext(context.Background()) } @@ -708,6 +811,12 @@ func (i *cloudStorageConfigPtrType) ToCloudStorageConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CloudStorageConfigPtrOutput) } +func (i *cloudStorageConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*CloudStorageConfig] { + return pulumix.Output[*CloudStorageConfig]{ + OutputState: i.ToCloudStorageConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Cloud Storage subscription. type CloudStorageConfigOutput struct{ *pulumi.OutputState } @@ -733,6 +842,12 @@ func (o CloudStorageConfigOutput) ToCloudStorageConfigPtrOutputWithContext(ctx c }).(CloudStorageConfigPtrOutput) } +func (o CloudStorageConfigOutput) ToOutput(ctx context.Context) pulumix.Output[CloudStorageConfig] { + return pulumix.Output[CloudStorageConfig]{ + OutputState: o.OutputState, + } +} + // If set, message data will be written to Cloud Storage in Avro format. func (o CloudStorageConfigOutput) AvroConfig() AvroConfigPtrOutput { return o.ApplyT(func(v CloudStorageConfig) *AvroConfig { return v.AvroConfig }).(AvroConfigPtrOutput) @@ -782,6 +897,12 @@ func (o CloudStorageConfigPtrOutput) ToCloudStorageConfigPtrOutputWithContext(ct return o } +func (o CloudStorageConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CloudStorageConfig] { + return pulumix.Output[*CloudStorageConfig]{ + OutputState: o.OutputState, + } +} + func (o CloudStorageConfigPtrOutput) Elem() CloudStorageConfigOutput { return o.ApplyT(func(v *CloudStorageConfig) CloudStorageConfig { if v != nil { @@ -897,6 +1018,12 @@ func (o CloudStorageConfigResponseOutput) ToCloudStorageConfigResponseOutputWith return o } +func (o CloudStorageConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloudStorageConfigResponse] { + return pulumix.Output[CloudStorageConfigResponse]{ + OutputState: o.OutputState, + } +} + // If set, message data will be written to Cloud Storage in Avro format. func (o CloudStorageConfigResponseOutput) AvroConfig() AvroConfigResponseOutput { return o.ApplyT(func(v CloudStorageConfigResponse) AvroConfigResponse { return v.AvroConfig }).(AvroConfigResponseOutput) @@ -976,6 +1103,12 @@ func (i DeadLetterPolicyArgs) ToDeadLetterPolicyOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DeadLetterPolicyOutput) } +func (i DeadLetterPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[DeadLetterPolicy] { + return pulumix.Output[DeadLetterPolicy]{ + OutputState: i.ToDeadLetterPolicyOutputWithContext(ctx).OutputState, + } +} + func (i DeadLetterPolicyArgs) ToDeadLetterPolicyPtrOutput() DeadLetterPolicyPtrOutput { return i.ToDeadLetterPolicyPtrOutputWithContext(context.Background()) } @@ -1017,6 +1150,12 @@ func (i *deadLetterPolicyPtrType) ToDeadLetterPolicyPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(DeadLetterPolicyPtrOutput) } +func (i *deadLetterPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeadLetterPolicy] { + return pulumix.Output[*DeadLetterPolicy]{ + OutputState: i.ToDeadLetterPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail. type DeadLetterPolicyOutput struct{ *pulumi.OutputState } @@ -1042,6 +1181,12 @@ func (o DeadLetterPolicyOutput) ToDeadLetterPolicyPtrOutputWithContext(ctx conte }).(DeadLetterPolicyPtrOutput) } +func (o DeadLetterPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[DeadLetterPolicy] { + return pulumix.Output[DeadLetterPolicy]{ + OutputState: o.OutputState, + } +} + // The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost. func (o DeadLetterPolicyOutput) DeadLetterTopic() pulumi.StringPtrOutput { return o.ApplyT(func(v DeadLetterPolicy) *string { return v.DeadLetterTopic }).(pulumi.StringPtrOutput) @@ -1066,6 +1211,12 @@ func (o DeadLetterPolicyPtrOutput) ToDeadLetterPolicyPtrOutputWithContext(ctx co return o } +func (o DeadLetterPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeadLetterPolicy] { + return pulumix.Output[*DeadLetterPolicy]{ + OutputState: o.OutputState, + } +} + func (o DeadLetterPolicyPtrOutput) Elem() DeadLetterPolicyOutput { return o.ApplyT(func(v *DeadLetterPolicy) DeadLetterPolicy { if v != nil { @@ -1119,6 +1270,12 @@ func (o DeadLetterPolicyResponseOutput) ToDeadLetterPolicyResponseOutputWithCont return o } +func (o DeadLetterPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeadLetterPolicyResponse] { + return pulumix.Output[DeadLetterPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The name of the topic to which dead letter messages should be published. Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service account associated with the enclosing subscription's parent project (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have permission to Publish() to this topic. The operation will fail if the topic does not exist. Users should ensure that there is a subscription attached to this topic since messages published to a topic with no subscriptions are lost. func (o DeadLetterPolicyResponseOutput) DeadLetterTopic() pulumi.StringOutput { return o.ApplyT(func(v DeadLetterPolicyResponse) string { return v.DeadLetterTopic }).(pulumi.StringOutput) @@ -1164,6 +1321,12 @@ func (i ExpirationPolicyArgs) ToExpirationPolicyOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ExpirationPolicyOutput) } +func (i ExpirationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[ExpirationPolicy] { + return pulumix.Output[ExpirationPolicy]{ + OutputState: i.ToExpirationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i ExpirationPolicyArgs) ToExpirationPolicyPtrOutput() ExpirationPolicyPtrOutput { return i.ToExpirationPolicyPtrOutputWithContext(context.Background()) } @@ -1205,6 +1368,12 @@ func (i *expirationPolicyPtrType) ToExpirationPolicyPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ExpirationPolicyPtrOutput) } +func (i *expirationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExpirationPolicy] { + return pulumix.Output[*ExpirationPolicy]{ + OutputState: i.ToExpirationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion). type ExpirationPolicyOutput struct{ *pulumi.OutputState } @@ -1230,6 +1399,12 @@ func (o ExpirationPolicyOutput) ToExpirationPolicyPtrOutputWithContext(ctx conte }).(ExpirationPolicyPtrOutput) } +func (o ExpirationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[ExpirationPolicy] { + return pulumix.Output[ExpirationPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires. func (o ExpirationPolicyOutput) Ttl() pulumi.StringPtrOutput { return o.ApplyT(func(v ExpirationPolicy) *string { return v.Ttl }).(pulumi.StringPtrOutput) @@ -1249,6 +1424,12 @@ func (o ExpirationPolicyPtrOutput) ToExpirationPolicyPtrOutputWithContext(ctx co return o } +func (o ExpirationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExpirationPolicy] { + return pulumix.Output[*ExpirationPolicy]{ + OutputState: o.OutputState, + } +} + func (o ExpirationPolicyPtrOutput) Elem() ExpirationPolicyOutput { return o.ApplyT(func(v *ExpirationPolicy) ExpirationPolicy { if v != nil { @@ -1290,6 +1471,12 @@ func (o ExpirationPolicyResponseOutput) ToExpirationPolicyResponseOutputWithCont return o } +func (o ExpirationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExpirationPolicyResponse] { + return pulumix.Output[ExpirationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the "time-to-live" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of "activity" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires. func (o ExpirationPolicyResponseOutput) Ttl() pulumi.StringOutput { return o.ApplyT(func(v ExpirationPolicyResponse) string { return v.Ttl }).(pulumi.StringOutput) @@ -1342,6 +1529,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1383,6 +1576,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1408,6 +1607,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1442,6 +1647,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1519,6 +1730,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1574,6 +1791,12 @@ func (i MessageStoragePolicyArgs) ToMessageStoragePolicyOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(MessageStoragePolicyOutput) } +func (i MessageStoragePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[MessageStoragePolicy] { + return pulumix.Output[MessageStoragePolicy]{ + OutputState: i.ToMessageStoragePolicyOutputWithContext(ctx).OutputState, + } +} + func (i MessageStoragePolicyArgs) ToMessageStoragePolicyPtrOutput() MessageStoragePolicyPtrOutput { return i.ToMessageStoragePolicyPtrOutputWithContext(context.Background()) } @@ -1615,6 +1838,12 @@ func (i *messageStoragePolicyPtrType) ToMessageStoragePolicyPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(MessageStoragePolicyPtrOutput) } +func (i *messageStoragePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*MessageStoragePolicy] { + return pulumix.Output[*MessageStoragePolicy]{ + OutputState: i.ToMessageStoragePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A policy constraining the storage of messages published to the topic. type MessageStoragePolicyOutput struct{ *pulumi.OutputState } @@ -1640,6 +1869,12 @@ func (o MessageStoragePolicyOutput) ToMessageStoragePolicyPtrOutputWithContext(c }).(MessageStoragePolicyPtrOutput) } +func (o MessageStoragePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[MessageStoragePolicy] { + return pulumix.Output[MessageStoragePolicy]{ + OutputState: o.OutputState, + } +} + // A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration. func (o MessageStoragePolicyOutput) AllowedPersistenceRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v MessageStoragePolicy) []string { return v.AllowedPersistenceRegions }).(pulumi.StringArrayOutput) @@ -1659,6 +1894,12 @@ func (o MessageStoragePolicyPtrOutput) ToMessageStoragePolicyPtrOutputWithContex return o } +func (o MessageStoragePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MessageStoragePolicy] { + return pulumix.Output[*MessageStoragePolicy]{ + OutputState: o.OutputState, + } +} + func (o MessageStoragePolicyPtrOutput) Elem() MessageStoragePolicyOutput { return o.ApplyT(func(v *MessageStoragePolicy) MessageStoragePolicy { if v != nil { @@ -1700,6 +1941,12 @@ func (o MessageStoragePolicyResponseOutput) ToMessageStoragePolicyResponseOutput return o } +func (o MessageStoragePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MessageStoragePolicyResponse] { + return pulumix.Output[MessageStoragePolicyResponse]{ + OutputState: o.OutputState, + } +} + // A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration. func (o MessageStoragePolicyResponseOutput) AllowedPersistenceRegions() pulumi.StringArrayOutput { return o.ApplyT(func(v MessageStoragePolicyResponse) []string { return v.AllowedPersistenceRegions }).(pulumi.StringArrayOutput) @@ -1744,6 +1991,12 @@ func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTok return pulumi.ToOutputWithContext(ctx, i).(OidcTokenOutput) } +func (i OidcTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: i.ToOidcTokenOutputWithContext(ctx).OutputState, + } +} + func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput { return i.ToOidcTokenPtrOutputWithContext(context.Background()) } @@ -1785,6 +2038,12 @@ func (i *oidcTokenPtrType) ToOidcTokenPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OidcTokenPtrOutput) } +func (i *oidcTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: i.ToOidcTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). type OidcTokenOutput struct{ *pulumi.OutputState } @@ -1810,6 +2069,12 @@ func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) Oi }).(OidcTokenPtrOutput) } +func (o OidcTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput { return o.ApplyT(func(v OidcToken) *string { return v.Audience }).(pulumi.StringPtrOutput) @@ -1834,6 +2099,12 @@ func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) return o } +func (o OidcTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: o.OutputState, + } +} + func (o OidcTokenPtrOutput) Elem() OidcTokenOutput { return o.ApplyT(func(v *OidcToken) OidcToken { if v != nil { @@ -1887,6 +2158,12 @@ func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx contex return o } +func (o OidcTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OidcTokenResponse] { + return pulumix.Output[OidcTokenResponse]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput { return o.ApplyT(func(v OidcTokenResponse) string { return v.Audience }).(pulumi.StringOutput) @@ -1940,6 +2217,12 @@ func (i PushConfigArgs) ToPushConfigOutputWithContext(ctx context.Context) PushC return pulumi.ToOutputWithContext(ctx, i).(PushConfigOutput) } +func (i PushConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PushConfig] { + return pulumix.Output[PushConfig]{ + OutputState: i.ToPushConfigOutputWithContext(ctx).OutputState, + } +} + func (i PushConfigArgs) ToPushConfigPtrOutput() PushConfigPtrOutput { return i.ToPushConfigPtrOutputWithContext(context.Background()) } @@ -1981,6 +2264,12 @@ func (i *pushConfigPtrType) ToPushConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PushConfigPtrOutput) } +func (i *pushConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PushConfig] { + return pulumix.Output[*PushConfig]{ + OutputState: i.ToPushConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a push delivery endpoint. type PushConfigOutput struct{ *pulumi.OutputState } @@ -2006,6 +2295,12 @@ func (o PushConfigOutput) ToPushConfigPtrOutputWithContext(ctx context.Context) }).(PushConfigPtrOutput) } +func (o PushConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PushConfig] { + return pulumix.Output[PushConfig]{ + OutputState: o.OutputState, + } +} + // Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: `attributes { "x-goog-version": "v1" }` func (o PushConfigOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v PushConfig) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -2035,6 +2330,12 @@ func (o PushConfigPtrOutput) ToPushConfigPtrOutputWithContext(ctx context.Contex return o } +func (o PushConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PushConfig] { + return pulumix.Output[*PushConfig]{ + OutputState: o.OutputState, + } +} + func (o PushConfigPtrOutput) Elem() PushConfigOutput { return o.ApplyT(func(v *PushConfig) PushConfig { if v != nil { @@ -2100,6 +2401,12 @@ func (o PushConfigResponseOutput) ToPushConfigResponseOutputWithContext(ctx cont return o } +func (o PushConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PushConfigResponse] { + return pulumix.Output[PushConfigResponse]{ + OutputState: o.OutputState, + } +} + // Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is `x-goog-version`, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the `CreateSubscription` call, it will default to the version of the Pub/Sub API used to make such call. If not present in a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the `x-goog-version` attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. For example: `attributes { "x-goog-version": "v1" }` func (o PushConfigResponseOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v PushConfigResponse) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -2154,6 +2461,12 @@ func (i RetryPolicyArgs) ToRetryPolicyOutputWithContext(ctx context.Context) Ret return pulumi.ToOutputWithContext(ctx, i).(RetryPolicyOutput) } +func (i RetryPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[RetryPolicy] { + return pulumix.Output[RetryPolicy]{ + OutputState: i.ToRetryPolicyOutputWithContext(ctx).OutputState, + } +} + func (i RetryPolicyArgs) ToRetryPolicyPtrOutput() RetryPolicyPtrOutput { return i.ToRetryPolicyPtrOutputWithContext(context.Background()) } @@ -2195,6 +2508,12 @@ func (i *retryPolicyPtrType) ToRetryPolicyPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RetryPolicyPtrOutput) } +func (i *retryPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*RetryPolicy] { + return pulumix.Output[*RetryPolicy]{ + OutputState: i.ToRetryPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A policy that specifies how Cloud Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff. type RetryPolicyOutput struct{ *pulumi.OutputState } @@ -2220,6 +2539,12 @@ func (o RetryPolicyOutput) ToRetryPolicyPtrOutputWithContext(ctx context.Context }).(RetryPolicyPtrOutput) } +func (o RetryPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[RetryPolicy] { + return pulumix.Output[RetryPolicy]{ + OutputState: o.OutputState, + } +} + // The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds. func (o RetryPolicyOutput) MaximumBackoff() pulumi.StringPtrOutput { return o.ApplyT(func(v RetryPolicy) *string { return v.MaximumBackoff }).(pulumi.StringPtrOutput) @@ -2244,6 +2569,12 @@ func (o RetryPolicyPtrOutput) ToRetryPolicyPtrOutputWithContext(ctx context.Cont return o } +func (o RetryPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RetryPolicy] { + return pulumix.Output[*RetryPolicy]{ + OutputState: o.OutputState, + } +} + func (o RetryPolicyPtrOutput) Elem() RetryPolicyOutput { return o.ApplyT(func(v *RetryPolicy) RetryPolicy { if v != nil { @@ -2297,6 +2628,12 @@ func (o RetryPolicyResponseOutput) ToRetryPolicyResponseOutputWithContext(ctx co return o } +func (o RetryPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RetryPolicyResponse] { + return pulumix.Output[RetryPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The maximum delay between consecutive deliveries of a given message. Value should be between 0 and 600 seconds. Defaults to 600 seconds. func (o RetryPolicyResponseOutput) MaximumBackoff() pulumi.StringOutput { return o.ApplyT(func(v RetryPolicyResponse) string { return v.MaximumBackoff }).(pulumi.StringOutput) @@ -2354,6 +2691,12 @@ func (i SchemaSettingsArgs) ToSchemaSettingsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SchemaSettingsOutput) } +func (i SchemaSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[SchemaSettings] { + return pulumix.Output[SchemaSettings]{ + OutputState: i.ToSchemaSettingsOutputWithContext(ctx).OutputState, + } +} + func (i SchemaSettingsArgs) ToSchemaSettingsPtrOutput() SchemaSettingsPtrOutput { return i.ToSchemaSettingsPtrOutputWithContext(context.Background()) } @@ -2395,6 +2738,12 @@ func (i *schemaSettingsPtrType) ToSchemaSettingsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SchemaSettingsPtrOutput) } +func (i *schemaSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchemaSettings] { + return pulumix.Output[*SchemaSettings]{ + OutputState: i.ToSchemaSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for validating messages published against a schema. type SchemaSettingsOutput struct{ *pulumi.OutputState } @@ -2420,6 +2769,12 @@ func (o SchemaSettingsOutput) ToSchemaSettingsPtrOutputWithContext(ctx context.C }).(SchemaSettingsPtrOutput) } +func (o SchemaSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaSettings] { + return pulumix.Output[SchemaSettings]{ + OutputState: o.OutputState, + } +} + // The encoding of messages validated against `schema`. func (o SchemaSettingsOutput) Encoding() SchemaSettingsEncodingPtrOutput { return o.ApplyT(func(v SchemaSettings) *SchemaSettingsEncoding { return v.Encoding }).(SchemaSettingsEncodingPtrOutput) @@ -2454,6 +2809,12 @@ func (o SchemaSettingsPtrOutput) ToSchemaSettingsPtrOutputWithContext(ctx contex return o } +func (o SchemaSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaSettings] { + return pulumix.Output[*SchemaSettings]{ + OutputState: o.OutputState, + } +} + func (o SchemaSettingsPtrOutput) Elem() SchemaSettingsOutput { return o.ApplyT(func(v *SchemaSettings) SchemaSettings { if v != nil { @@ -2531,6 +2892,12 @@ func (o SchemaSettingsResponseOutput) ToSchemaSettingsResponseOutputWithContext( return o } +func (o SchemaSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchemaSettingsResponse] { + return pulumix.Output[SchemaSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The encoding of messages validated against `schema`. func (o SchemaSettingsResponseOutput) Encoding() pulumi.StringOutput { return o.ApplyT(func(v SchemaSettingsResponse) string { return v.Encoding }).(pulumi.StringOutput) @@ -2582,6 +2949,12 @@ func (i TextConfigArgs) ToTextConfigOutputWithContext(ctx context.Context) TextC return pulumi.ToOutputWithContext(ctx, i).(TextConfigOutput) } +func (i TextConfigArgs) ToOutput(ctx context.Context) pulumix.Output[TextConfig] { + return pulumix.Output[TextConfig]{ + OutputState: i.ToTextConfigOutputWithContext(ctx).OutputState, + } +} + func (i TextConfigArgs) ToTextConfigPtrOutput() TextConfigPtrOutput { return i.ToTextConfigPtrOutputWithContext(context.Background()) } @@ -2623,6 +2996,12 @@ func (i *textConfigPtrType) ToTextConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TextConfigPtrOutput) } +func (i *textConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*TextConfig] { + return pulumix.Output[*TextConfig]{ + OutputState: i.ToTextConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline. type TextConfigOutput struct{ *pulumi.OutputState } @@ -2648,6 +3027,12 @@ func (o TextConfigOutput) ToTextConfigPtrOutputWithContext(ctx context.Context) }).(TextConfigPtrOutput) } +func (o TextConfigOutput) ToOutput(ctx context.Context) pulumix.Output[TextConfig] { + return pulumix.Output[TextConfig]{ + OutputState: o.OutputState, + } +} + type TextConfigPtrOutput struct{ *pulumi.OutputState } func (TextConfigPtrOutput) ElementType() reflect.Type { @@ -2662,6 +3047,12 @@ func (o TextConfigPtrOutput) ToTextConfigPtrOutputWithContext(ctx context.Contex return o } +func (o TextConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TextConfig] { + return pulumix.Output[*TextConfig]{ + OutputState: o.OutputState, + } +} + func (o TextConfigPtrOutput) Elem() TextConfigOutput { return o.ApplyT(func(v *TextConfig) TextConfig { if v != nil { @@ -2691,6 +3082,12 @@ func (o TextConfigResponseOutput) ToTextConfigResponseOutputWithContext(ctx cont return o } +func (o TextConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TextConfigResponse] { + return pulumix.Output[TextConfigResponse]{ + OutputState: o.OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AvroConfigInput)(nil)).Elem(), AvroConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AvroConfigPtrInput)(nil)).Elem(), AvroConfigArgs{}) diff --git a/sdk/go/google/pubsub/v1/schema.go b/sdk/go/google/pubsub/v1/schema.go index 80fd5c14fb..3fd19fdc61 100644 --- a/sdk/go/google/pubsub/v1/schema.go +++ b/sdk/go/google/pubsub/v1/schema.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a schema. @@ -121,6 +122,12 @@ func (i *Schema) ToSchemaOutputWithContext(ctx context.Context) SchemaOutput { return pulumi.ToOutputWithContext(ctx, i).(SchemaOutput) } +func (i *Schema) ToOutput(ctx context.Context) pulumix.Output[*Schema] { + return pulumix.Output[*Schema]{ + OutputState: i.ToSchemaOutputWithContext(ctx).OutputState, + } +} + type SchemaOutput struct{ *pulumi.OutputState } func (SchemaOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o SchemaOutput) ToSchemaOutputWithContext(ctx context.Context) SchemaOutpu return o } +func (o SchemaOutput) ToOutput(ctx context.Context) pulumix.Output[*Schema] { + return pulumix.Output[*Schema]{ + OutputState: o.OutputState, + } +} + // The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in `type`. func (o SchemaOutput) Definition() pulumi.StringOutput { return o.ApplyT(func(v *Schema) pulumi.StringOutput { return v.Definition }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1/schemaIamBinding.go b/sdk/go/google/pubsub/v1/schemaIamBinding.go index f1a8a65e59..17178ee7fe 100644 --- a/sdk/go/google/pubsub/v1/schemaIamBinding.go +++ b/sdk/go/google/pubsub/v1/schemaIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SchemaIamBinding) ToSchemaIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SchemaIamBindingOutput) } +func (i *SchemaIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SchemaIamBinding] { + return pulumix.Output[*SchemaIamBinding]{ + OutputState: i.ToSchemaIamBindingOutputWithContext(ctx).OutputState, + } +} + type SchemaIamBindingOutput struct{ *pulumi.OutputState } func (SchemaIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SchemaIamBindingOutput) ToSchemaIamBindingOutputWithContext(ctx context. return o } +func (o SchemaIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaIamBinding] { + return pulumix.Output[*SchemaIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SchemaIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SchemaIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1/schemaIamMember.go b/sdk/go/google/pubsub/v1/schemaIamMember.go index b7ed0b47af..78fbc3a631 100644 --- a/sdk/go/google/pubsub/v1/schemaIamMember.go +++ b/sdk/go/google/pubsub/v1/schemaIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SchemaIamMember) ToSchemaIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SchemaIamMemberOutput) } +func (i *SchemaIamMember) ToOutput(ctx context.Context) pulumix.Output[*SchemaIamMember] { + return pulumix.Output[*SchemaIamMember]{ + OutputState: i.ToSchemaIamMemberOutputWithContext(ctx).OutputState, + } +} + type SchemaIamMemberOutput struct{ *pulumi.OutputState } func (SchemaIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SchemaIamMemberOutput) ToSchemaIamMemberOutputWithContext(ctx context.Co return o } +func (o SchemaIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaIamMember] { + return pulumix.Output[*SchemaIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SchemaIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SchemaIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1/schemaIamPolicy.go b/sdk/go/google/pubsub/v1/schemaIamPolicy.go index 93ace4cfc3..01e6afdae4 100644 --- a/sdk/go/google/pubsub/v1/schemaIamPolicy.go +++ b/sdk/go/google/pubsub/v1/schemaIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *SchemaIamPolicy) ToSchemaIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SchemaIamPolicyOutput) } +func (i *SchemaIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SchemaIamPolicy] { + return pulumix.Output[*SchemaIamPolicy]{ + OutputState: i.ToSchemaIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SchemaIamPolicyOutput struct{ *pulumi.OutputState } func (SchemaIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o SchemaIamPolicyOutput) ToSchemaIamPolicyOutputWithContext(ctx context.Co return o } +func (o SchemaIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SchemaIamPolicy] { + return pulumix.Output[*SchemaIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o SchemaIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *SchemaIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1/snapshot.go b/sdk/go/google/pubsub/v1/snapshot.go index 7a3283399d..6c40b47c85 100644 --- a/sdk/go/google/pubsub/v1/snapshot.go +++ b/sdk/go/google/pubsub/v1/snapshot.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request. @@ -121,6 +122,12 @@ func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutp return pulumi.ToOutputWithContext(ctx, i).(SnapshotOutput) } +func (i *Snapshot) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: i.ToSnapshotOutputWithContext(ctx).OutputState, + } +} + type SnapshotOutput struct{ *pulumi.OutputState } func (SnapshotOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) Snapsho return o } +func (o SnapshotOutput) ToOutput(ctx context.Context) pulumix.Output[*Snapshot] { + return pulumix.Output[*Snapshot]{ + OutputState: o.OutputState, + } +} + // The snapshot is guaranteed to exist up until this time. A newly-created snapshot expires no later than 7 days from the time of its creation. Its exact lifetime is determined at creation by the existing backlog in the source subscription. Specifically, the lifetime of the snapshot is `7 days - (age of oldest unacked message in the subscription)`. For example, consider a subscription whose oldest unacked message is 3 days old. If a snapshot is created from this subscription, the snapshot -- which will always capture this 3-day-old backlog as long as the snapshot exists -- will expire in 4 days. The service will refuse to create a snapshot that would expire in less than 1 hour after creation. func (o SnapshotOutput) ExpireTime() pulumi.StringOutput { return o.ApplyT(func(v *Snapshot) pulumi.StringOutput { return v.ExpireTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1/snapshotIamBinding.go b/sdk/go/google/pubsub/v1/snapshotIamBinding.go index 844e9b0907..3fea1eab99 100644 --- a/sdk/go/google/pubsub/v1/snapshotIamBinding.go +++ b/sdk/go/google/pubsub/v1/snapshotIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SnapshotIamBinding) ToSnapshotIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamBindingOutput) } +func (i *SnapshotIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamBinding] { + return pulumix.Output[*SnapshotIamBinding]{ + OutputState: i.ToSnapshotIamBindingOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamBindingOutput struct{ *pulumi.OutputState } func (SnapshotIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SnapshotIamBindingOutput) ToSnapshotIamBindingOutputWithContext(ctx cont return o } +func (o SnapshotIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamBinding] { + return pulumix.Output[*SnapshotIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SnapshotIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SnapshotIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1/snapshotIamMember.go b/sdk/go/google/pubsub/v1/snapshotIamMember.go index b19e2ae434..da8dabd381 100644 --- a/sdk/go/google/pubsub/v1/snapshotIamMember.go +++ b/sdk/go/google/pubsub/v1/snapshotIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SnapshotIamMember) ToSnapshotIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamMemberOutput) } +func (i *SnapshotIamMember) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamMember] { + return pulumix.Output[*SnapshotIamMember]{ + OutputState: i.ToSnapshotIamMemberOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamMemberOutput struct{ *pulumi.OutputState } func (SnapshotIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SnapshotIamMemberOutput) ToSnapshotIamMemberOutputWithContext(ctx contex return o } +func (o SnapshotIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamMember] { + return pulumix.Output[*SnapshotIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SnapshotIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SnapshotIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1/snapshotIamPolicy.go b/sdk/go/google/pubsub/v1/snapshotIamPolicy.go index 747f957841..79e49d3f20 100644 --- a/sdk/go/google/pubsub/v1/snapshotIamPolicy.go +++ b/sdk/go/google/pubsub/v1/snapshotIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *SnapshotIamPolicy) ToSnapshotIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SnapshotIamPolicyOutput) } +func (i *SnapshotIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamPolicy] { + return pulumix.Output[*SnapshotIamPolicy]{ + OutputState: i.ToSnapshotIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SnapshotIamPolicyOutput struct{ *pulumi.OutputState } func (SnapshotIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o SnapshotIamPolicyOutput) ToSnapshotIamPolicyOutputWithContext(ctx contex return o } +func (o SnapshotIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SnapshotIamPolicy] { + return pulumix.Output[*SnapshotIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o SnapshotIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *SnapshotIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1/subscription.go b/sdk/go/google/pubsub/v1/subscription.go index d3d3692dfe..d6d4abd84a 100644 --- a/sdk/go/google/pubsub/v1/subscription.go +++ b/sdk/go/google/pubsub/v1/subscription.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a subscription to a given topic. See the [resource name rules] (https://cloud.google.com/pubsub/docs/admin#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request. @@ -204,6 +205,12 @@ func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) Subs return pulumi.ToOutputWithContext(ctx, i).(SubscriptionOutput) } +func (i *Subscription) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: i.ToSubscriptionOutputWithContext(ctx).OutputState, + } +} + type SubscriptionOutput struct{ *pulumi.OutputState } func (SubscriptionOutput) ElementType() reflect.Type { @@ -218,6 +225,12 @@ func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) return o } +func (o SubscriptionOutput) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: o.OutputState, + } +} + // The approximate amount of time (on a best-effort basis) Pub/Sub waits for the subscriber to acknowledge receipt before resending the message. In the interval after the message is delivered and before it is acknowledged, it is considered to be _outstanding_. During that time period, the message will not be redelivered (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using non-streaming pull or send the `ack_id` in a `StreamingModifyAckDeadlineRequest` if using streaming pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. func (o SubscriptionOutput) AckDeadlineSeconds() pulumi.IntOutput { return o.ApplyT(func(v *Subscription) pulumi.IntOutput { return v.AckDeadlineSeconds }).(pulumi.IntOutput) diff --git a/sdk/go/google/pubsub/v1/subscriptionIamBinding.go b/sdk/go/google/pubsub/v1/subscriptionIamBinding.go index 94b10e7da7..f052ac384b 100644 --- a/sdk/go/google/pubsub/v1/subscriptionIamBinding.go +++ b/sdk/go/google/pubsub/v1/subscriptionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SubscriptionIamBinding) ToSubscriptionIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(SubscriptionIamBindingOutput) } +func (i *SubscriptionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamBinding] { + return pulumix.Output[*SubscriptionIamBinding]{ + OutputState: i.ToSubscriptionIamBindingOutputWithContext(ctx).OutputState, + } +} + type SubscriptionIamBindingOutput struct{ *pulumi.OutputState } func (SubscriptionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SubscriptionIamBindingOutput) ToSubscriptionIamBindingOutputWithContext( return o } +func (o SubscriptionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamBinding] { + return pulumix.Output[*SubscriptionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SubscriptionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SubscriptionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1/subscriptionIamMember.go b/sdk/go/google/pubsub/v1/subscriptionIamMember.go index 60c8fe305f..3a11cc6d3c 100644 --- a/sdk/go/google/pubsub/v1/subscriptionIamMember.go +++ b/sdk/go/google/pubsub/v1/subscriptionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SubscriptionIamMember) ToSubscriptionIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SubscriptionIamMemberOutput) } +func (i *SubscriptionIamMember) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamMember] { + return pulumix.Output[*SubscriptionIamMember]{ + OutputState: i.ToSubscriptionIamMemberOutputWithContext(ctx).OutputState, + } +} + type SubscriptionIamMemberOutput struct{ *pulumi.OutputState } func (SubscriptionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SubscriptionIamMemberOutput) ToSubscriptionIamMemberOutputWithContext(ct return o } +func (o SubscriptionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamMember] { + return pulumix.Output[*SubscriptionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SubscriptionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SubscriptionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1/subscriptionIamPolicy.go b/sdk/go/google/pubsub/v1/subscriptionIamPolicy.go index b9cf8d7193..b0756b7ddd 100644 --- a/sdk/go/google/pubsub/v1/subscriptionIamPolicy.go +++ b/sdk/go/google/pubsub/v1/subscriptionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *SubscriptionIamPolicy) ToSubscriptionIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SubscriptionIamPolicyOutput) } +func (i *SubscriptionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamPolicy] { + return pulumix.Output[*SubscriptionIamPolicy]{ + OutputState: i.ToSubscriptionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SubscriptionIamPolicyOutput struct{ *pulumi.OutputState } func (SubscriptionIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o SubscriptionIamPolicyOutput) ToSubscriptionIamPolicyOutputWithContext(ct return o } +func (o SubscriptionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamPolicy] { + return pulumix.Output[*SubscriptionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o SubscriptionIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *SubscriptionIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1/topic.go b/sdk/go/google/pubsub/v1/topic.go index 9601c2e5a4..0b342b340a 100644 --- a/sdk/go/google/pubsub/v1/topic.go +++ b/sdk/go/google/pubsub/v1/topic.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/admin#resource_names). @@ -143,6 +144,12 @@ func (i *Topic) ToTopicOutputWithContext(ctx context.Context) TopicOutput { return pulumi.ToOutputWithContext(ctx, i).(TopicOutput) } +func (i *Topic) ToOutput(ctx context.Context) pulumix.Output[*Topic] { + return pulumix.Output[*Topic]{ + OutputState: i.ToTopicOutputWithContext(ctx).OutputState, + } +} + type TopicOutput struct{ *pulumi.OutputState } func (TopicOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o TopicOutput) ToTopicOutputWithContext(ctx context.Context) TopicOutput { return o } +func (o TopicOutput) ToOutput(ctx context.Context) pulumix.Output[*Topic] { + return pulumix.Output[*Topic]{ + OutputState: o.OutputState, + } +} + // The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. func (o TopicOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v *Topic) pulumi.StringOutput { return v.KmsKeyName }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1/topicIamBinding.go b/sdk/go/google/pubsub/v1/topicIamBinding.go index ec7bec433d..011d8193ab 100644 --- a/sdk/go/google/pubsub/v1/topicIamBinding.go +++ b/sdk/go/google/pubsub/v1/topicIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TopicIamBinding) ToTopicIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TopicIamBindingOutput) } +func (i *TopicIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TopicIamBinding] { + return pulumix.Output[*TopicIamBinding]{ + OutputState: i.ToTopicIamBindingOutputWithContext(ctx).OutputState, + } +} + type TopicIamBindingOutput struct{ *pulumi.OutputState } func (TopicIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TopicIamBindingOutput) ToTopicIamBindingOutputWithContext(ctx context.Co return o } +func (o TopicIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TopicIamBinding] { + return pulumix.Output[*TopicIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TopicIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TopicIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1/topicIamMember.go b/sdk/go/google/pubsub/v1/topicIamMember.go index f4fdc56f77..a061b22011 100644 --- a/sdk/go/google/pubsub/v1/topicIamMember.go +++ b/sdk/go/google/pubsub/v1/topicIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TopicIamMember) ToTopicIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TopicIamMemberOutput) } +func (i *TopicIamMember) ToOutput(ctx context.Context) pulumix.Output[*TopicIamMember] { + return pulumix.Output[*TopicIamMember]{ + OutputState: i.ToTopicIamMemberOutputWithContext(ctx).OutputState, + } +} + type TopicIamMemberOutput struct{ *pulumi.OutputState } func (TopicIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TopicIamMemberOutput) ToTopicIamMemberOutputWithContext(ctx context.Cont return o } +func (o TopicIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TopicIamMember] { + return pulumix.Output[*TopicIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TopicIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TopicIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1/topicIamPolicy.go b/sdk/go/google/pubsub/v1/topicIamPolicy.go index 249022e203..bca3abed0e 100644 --- a/sdk/go/google/pubsub/v1/topicIamPolicy.go +++ b/sdk/go/google/pubsub/v1/topicIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *TopicIamPolicy) ToTopicIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TopicIamPolicyOutput) } +func (i *TopicIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TopicIamPolicy] { + return pulumix.Output[*TopicIamPolicy]{ + OutputState: i.ToTopicIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TopicIamPolicyOutput struct{ *pulumi.OutputState } func (TopicIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o TopicIamPolicyOutput) ToTopicIamPolicyOutputWithContext(ctx context.Cont return o } +func (o TopicIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TopicIamPolicy] { + return pulumix.Output[*TopicIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o TopicIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *TopicIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1beta1a/getSubscription.go b/sdk/go/google/pubsub/v1beta1a/getSubscription.go index e668c87329..63c61abde8 100644 --- a/sdk/go/google/pubsub/v1beta1a/getSubscription.go +++ b/sdk/go/google/pubsub/v1beta1a/getSubscription.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the configuration details of a subscription. @@ -72,6 +73,12 @@ func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithCont return o } +func (o LookupSubscriptionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubscriptionResult] { + return pulumix.Output[LookupSubscriptionResult]{ + OutputState: o.OutputState, + } +} + // For either push or pull delivery, the value is the maximum time after a subscriber receives a message before the subscriber should acknowledge or Nack the message. If the Ack deadline for a message passes without an Ack or a Nack, the Pub/Sub system will eventually redeliver the message. If a subscriber acknowledges after the deadline, the Pub/Sub system may accept the Ack, but it is possible that the message has been already delivered again. Multiple Acks to the message are allowed and will succeed. For push delivery, this value is used to set the request timeout for the call to the push endpoint. For pull delivery, this value is used as the initial value for the Ack deadline. It may be overridden for each message using its corresponding ack_id with ModifyAckDeadline. While a message is outstanding (i.e. it has been delivered to a pull subscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub system will not deliver that message to another pull subscriber (on a best-effort basis). func (o LookupSubscriptionResultOutput) AckDeadlineSeconds() pulumi.IntOutput { return o.ApplyT(func(v LookupSubscriptionResult) int { return v.AckDeadlineSeconds }).(pulumi.IntOutput) diff --git a/sdk/go/google/pubsub/v1beta1a/getTopic.go b/sdk/go/google/pubsub/v1beta1a/getTopic.go index e1cef8b0e2..0b0d3b0823 100644 --- a/sdk/go/google/pubsub/v1beta1a/getTopic.go +++ b/sdk/go/google/pubsub/v1beta1a/getTopic.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the configuration of a topic. Since the topic only has the name attribute, this method is only useful to check the existence of a topic. If other attributes are added in the future, they will be returned here. @@ -66,6 +67,12 @@ func (o LookupTopicResultOutput) ToLookupTopicResultOutputWithContext(ctx contex return o } +func (o LookupTopicResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTopicResult] { + return pulumix.Output[LookupTopicResult]{ + OutputState: o.OutputState, + } +} + // Name of the topic. func (o LookupTopicResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupTopicResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1beta1a/pulumiTypes.go b/sdk/go/google/pubsub/v1beta1a/pulumiTypes.go index 551173e5b4..1d14c87c9b 100644 --- a/sdk/go/google/pubsub/v1beta1a/pulumiTypes.go +++ b/sdk/go/google/pubsub/v1beta1a/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i PushConfigArgs) ToPushConfigOutputWithContext(ctx context.Context) PushC return pulumi.ToOutputWithContext(ctx, i).(PushConfigOutput) } +func (i PushConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PushConfig] { + return pulumix.Output[PushConfig]{ + OutputState: i.ToPushConfigOutputWithContext(ctx).OutputState, + } +} + func (i PushConfigArgs) ToPushConfigPtrOutput() PushConfigPtrOutput { return i.ToPushConfigPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *pushConfigPtrType) ToPushConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PushConfigPtrOutput) } +func (i *pushConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PushConfig] { + return pulumix.Output[*PushConfig]{ + OutputState: i.ToPushConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a push delivery endpoint. type PushConfigOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o PushConfigOutput) ToPushConfigPtrOutputWithContext(ctx context.Context) }).(PushConfigPtrOutput) } +func (o PushConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PushConfig] { + return pulumix.Output[PushConfig]{ + OutputState: o.OutputState, + } +} + // A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push". func (o PushConfigOutput) PushEndpoint() pulumi.StringPtrOutput { return o.ApplyT(func(v PushConfig) *string { return v.PushEndpoint }).(pulumi.StringPtrOutput) @@ -133,6 +152,12 @@ func (o PushConfigPtrOutput) ToPushConfigPtrOutputWithContext(ctx context.Contex return o } +func (o PushConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PushConfig] { + return pulumix.Output[*PushConfig]{ + OutputState: o.OutputState, + } +} + func (o PushConfigPtrOutput) Elem() PushConfigOutput { return o.ApplyT(func(v *PushConfig) PushConfig { if v != nil { @@ -174,6 +199,12 @@ func (o PushConfigResponseOutput) ToPushConfigResponseOutputWithContext(ctx cont return o } +func (o PushConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PushConfigResponse] { + return pulumix.Output[PushConfigResponse]{ + OutputState: o.OutputState, + } +} + // A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push". func (o PushConfigResponseOutput) PushEndpoint() pulumi.StringOutput { return o.ApplyT(func(v PushConfigResponse) string { return v.PushEndpoint }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1beta1a/subscription.go b/sdk/go/google/pubsub/v1beta1a/subscription.go index 3dd6096e0f..d4d47ac84c 100644 --- a/sdk/go/google/pubsub/v1beta1a/subscription.go +++ b/sdk/go/google/pubsub/v1beta1a/subscription.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a subscription on a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic. @@ -110,6 +111,12 @@ func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) Subs return pulumi.ToOutputWithContext(ctx, i).(SubscriptionOutput) } +func (i *Subscription) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: i.ToSubscriptionOutputWithContext(ctx).OutputState, + } +} + type SubscriptionOutput struct{ *pulumi.OutputState } func (SubscriptionOutput) ElementType() reflect.Type { @@ -124,6 +131,12 @@ func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) return o } +func (o SubscriptionOutput) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: o.OutputState, + } +} + // For either push or pull delivery, the value is the maximum time after a subscriber receives a message before the subscriber should acknowledge or Nack the message. If the Ack deadline for a message passes without an Ack or a Nack, the Pub/Sub system will eventually redeliver the message. If a subscriber acknowledges after the deadline, the Pub/Sub system may accept the Ack, but it is possible that the message has been already delivered again. Multiple Acks to the message are allowed and will succeed. For push delivery, this value is used to set the request timeout for the call to the push endpoint. For pull delivery, this value is used as the initial value for the Ack deadline. It may be overridden for each message using its corresponding ack_id with ModifyAckDeadline. While a message is outstanding (i.e. it has been delivered to a pull subscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub system will not deliver that message to another pull subscriber (on a best-effort basis). func (o SubscriptionOutput) AckDeadlineSeconds() pulumi.IntOutput { return o.ApplyT(func(v *Subscription) pulumi.IntOutput { return v.AckDeadlineSeconds }).(pulumi.IntOutput) diff --git a/sdk/go/google/pubsub/v1beta1a/topic.go b/sdk/go/google/pubsub/v1beta1a/topic.go index 8d58774960..cbc2fe9f7a 100644 --- a/sdk/go/google/pubsub/v1beta1a/topic.go +++ b/sdk/go/google/pubsub/v1beta1a/topic.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates the given topic with the given name. @@ -92,6 +93,12 @@ func (i *Topic) ToTopicOutputWithContext(ctx context.Context) TopicOutput { return pulumi.ToOutputWithContext(ctx, i).(TopicOutput) } +func (i *Topic) ToOutput(ctx context.Context) pulumix.Output[*Topic] { + return pulumix.Output[*Topic]{ + OutputState: i.ToTopicOutputWithContext(ctx).OutputState, + } +} + type TopicOutput struct{ *pulumi.OutputState } func (TopicOutput) ElementType() reflect.Type { @@ -106,6 +113,12 @@ func (o TopicOutput) ToTopicOutputWithContext(ctx context.Context) TopicOutput { return o } +func (o TopicOutput) ToOutput(ctx context.Context) pulumix.Output[*Topic] { + return pulumix.Output[*Topic]{ + OutputState: o.OutputState, + } +} + // Name of the topic. func (o TopicOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Topic) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1beta2/getSubscription.go b/sdk/go/google/pubsub/v1beta2/getSubscription.go index 78e9954040..14384e7d1e 100644 --- a/sdk/go/google/pubsub/v1beta2/getSubscription.go +++ b/sdk/go/google/pubsub/v1beta2/getSubscription.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the configuration details of a subscription. @@ -74,6 +75,12 @@ func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithCont return o } +func (o LookupSubscriptionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubscriptionResult] { + return pulumix.Output[LookupSubscriptionResult]{ + OutputState: o.OutputState, + } +} + // This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using pull. The maximum custom deadline you can specify is 600 seconds (10 minutes). For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is 0, a default value of 10 seconds is used. func (o LookupSubscriptionResultOutput) AckDeadlineSeconds() pulumi.IntOutput { return o.ApplyT(func(v LookupSubscriptionResult) int { return v.AckDeadlineSeconds }).(pulumi.IntOutput) diff --git a/sdk/go/google/pubsub/v1beta2/getSubscriptionIamPolicy.go b/sdk/go/google/pubsub/v1beta2/getSubscriptionIamPolicy.go index e8bbee3dd2..b6b3612596 100644 --- a/sdk/go/google/pubsub/v1beta2/getSubscriptionIamPolicy.go +++ b/sdk/go/google/pubsub/v1beta2/getSubscriptionIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupSubscriptionIamPolicyResultOutput) ToLookupSubscriptionIamPolicyRe return o } +func (o LookupSubscriptionIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubscriptionIamPolicyResult] { + return pulumix.Output[LookupSubscriptionIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupSubscriptionIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupSubscriptionIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1beta2/getTopic.go b/sdk/go/google/pubsub/v1beta2/getTopic.go index 7e57ac6019..917bf18a9b 100644 --- a/sdk/go/google/pubsub/v1beta2/getTopic.go +++ b/sdk/go/google/pubsub/v1beta2/getTopic.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the configuration of a topic. @@ -68,6 +69,12 @@ func (o LookupTopicResultOutput) ToLookupTopicResultOutputWithContext(ctx contex return o } +func (o LookupTopicResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTopicResult] { + return pulumix.Output[LookupTopicResult]{ + OutputState: o.OutputState, + } +} + // The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`. func (o LookupTopicResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupTopicResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1beta2/getTopicIamPolicy.go b/sdk/go/google/pubsub/v1beta2/getTopicIamPolicy.go index 5f126d904b..eefd759f4b 100644 --- a/sdk/go/google/pubsub/v1beta2/getTopicIamPolicy.go +++ b/sdk/go/google/pubsub/v1beta2/getTopicIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupTopicIamPolicyResultOutput) ToLookupTopicIamPolicyResultOutputWith return o } +func (o LookupTopicIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTopicIamPolicyResult] { + return pulumix.Output[LookupTopicIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupTopicIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupTopicIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1beta2/pulumiTypes.go b/sdk/go/google/pubsub/v1beta2/pulumiTypes.go index d39421ab62..2a395c1f6b 100644 --- a/sdk/go/google/pubsub/v1beta2/pulumiTypes.go +++ b/sdk/go/google/pubsub/v1beta2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -238,6 +275,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -279,6 +322,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -304,6 +353,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -338,6 +393,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -415,6 +476,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -474,6 +541,12 @@ func (i OidcTokenArgs) ToOidcTokenOutputWithContext(ctx context.Context) OidcTok return pulumi.ToOutputWithContext(ctx, i).(OidcTokenOutput) } +func (i OidcTokenArgs) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: i.ToOidcTokenOutputWithContext(ctx).OutputState, + } +} + func (i OidcTokenArgs) ToOidcTokenPtrOutput() OidcTokenPtrOutput { return i.ToOidcTokenPtrOutputWithContext(context.Background()) } @@ -515,6 +588,12 @@ func (i *oidcTokenPtrType) ToOidcTokenPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OidcTokenPtrOutput) } +func (i *oidcTokenPtrType) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: i.ToOidcTokenPtrOutputWithContext(ctx).OutputState, + } +} + // Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect). type OidcTokenOutput struct{ *pulumi.OutputState } @@ -540,6 +619,12 @@ func (o OidcTokenOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) Oi }).(OidcTokenPtrOutput) } +func (o OidcTokenOutput) ToOutput(ctx context.Context) pulumix.Output[OidcToken] { + return pulumix.Output[OidcToken]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. func (o OidcTokenOutput) Audience() pulumi.StringPtrOutput { return o.ApplyT(func(v OidcToken) *string { return v.Audience }).(pulumi.StringPtrOutput) @@ -564,6 +649,12 @@ func (o OidcTokenPtrOutput) ToOidcTokenPtrOutputWithContext(ctx context.Context) return o } +func (o OidcTokenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcToken] { + return pulumix.Output[*OidcToken]{ + OutputState: o.OutputState, + } +} + func (o OidcTokenPtrOutput) Elem() OidcTokenOutput { return o.ApplyT(func(v *OidcToken) OidcToken { if v != nil { @@ -617,6 +708,12 @@ func (o OidcTokenResponseOutput) ToOidcTokenResponseOutputWithContext(ctx contex return o } +func (o OidcTokenResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OidcTokenResponse] { + return pulumix.Output[OidcTokenResponse]{ + OutputState: o.OutputState, + } +} + // Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for. The audience value is a single case-sensitive string. Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push endpoint URL will be used. func (o OidcTokenResponseOutput) Audience() pulumi.StringOutput { return o.ApplyT(func(v OidcTokenResponse) string { return v.Audience }).(pulumi.StringOutput) @@ -670,6 +767,12 @@ func (i PushConfigArgs) ToPushConfigOutputWithContext(ctx context.Context) PushC return pulumi.ToOutputWithContext(ctx, i).(PushConfigOutput) } +func (i PushConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PushConfig] { + return pulumix.Output[PushConfig]{ + OutputState: i.ToPushConfigOutputWithContext(ctx).OutputState, + } +} + func (i PushConfigArgs) ToPushConfigPtrOutput() PushConfigPtrOutput { return i.ToPushConfigPtrOutputWithContext(context.Background()) } @@ -711,6 +814,12 @@ func (i *pushConfigPtrType) ToPushConfigPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PushConfigPtrOutput) } +func (i *pushConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PushConfig] { + return pulumix.Output[*PushConfig]{ + OutputState: i.ToPushConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a push delivery endpoint. type PushConfigOutput struct{ *pulumi.OutputState } @@ -736,6 +845,12 @@ func (o PushConfigOutput) ToPushConfigPtrOutputWithContext(ctx context.Context) }).(PushConfigPtrOutput) } +func (o PushConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PushConfig] { + return pulumix.Output[PushConfig]{ + OutputState: o.OutputState, + } +} + // Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the `CreateSubscription` call, it will default to the version of the API used to make such call. If not present during a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. func (o PushConfigOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v PushConfig) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -765,6 +880,12 @@ func (o PushConfigPtrOutput) ToPushConfigPtrOutputWithContext(ctx context.Contex return o } +func (o PushConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PushConfig] { + return pulumix.Output[*PushConfig]{ + OutputState: o.OutputState, + } +} + func (o PushConfigPtrOutput) Elem() PushConfigOutput { return o.ApplyT(func(v *PushConfig) PushConfig { if v != nil { @@ -830,6 +951,12 @@ func (o PushConfigResponseOutput) ToPushConfigResponseOutputWithContext(ctx cont return o } +func (o PushConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PushConfigResponse] { + return pulumix.Output[PushConfigResponse]{ + OutputState: o.OutputState, + } +} + // Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the `CreateSubscription` call, it will default to the version of the API used to make such call. If not present during a `ModifyPushConfig` call, its value will not be changed. `GetSubscription` calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. func (o PushConfigResponseOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v PushConfigResponse) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/pubsub/v1beta2/subscription.go b/sdk/go/google/pubsub/v1beta2/subscription.go index 03c255f04b..fa995d09d2 100644 --- a/sdk/go/google/pubsub/v1beta2/subscription.go +++ b/sdk/go/google/pubsub/v1beta2/subscription.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a subscription to a given topic. If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic. Note that for REST API requests, you must specify a name. @@ -125,6 +126,12 @@ func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) Subs return pulumi.ToOutputWithContext(ctx, i).(SubscriptionOutput) } +func (i *Subscription) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: i.ToSubscriptionOutputWithContext(ctx).OutputState, + } +} + type SubscriptionOutput struct{ *pulumi.OutputState } func (SubscriptionOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) return o } +func (o SubscriptionOutput) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: o.OutputState, + } +} + // This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call `ModifyAckDeadline` with the corresponding `ack_id` if using pull. The maximum custom deadline you can specify is 600 seconds (10 minutes). For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is 0, a default value of 10 seconds is used. func (o SubscriptionOutput) AckDeadlineSeconds() pulumi.IntOutput { return o.ApplyT(func(v *Subscription) pulumi.IntOutput { return v.AckDeadlineSeconds }).(pulumi.IntOutput) diff --git a/sdk/go/google/pubsub/v1beta2/subscriptionIamBinding.go b/sdk/go/google/pubsub/v1beta2/subscriptionIamBinding.go index 3b0692aa5a..5cbc59c80d 100644 --- a/sdk/go/google/pubsub/v1beta2/subscriptionIamBinding.go +++ b/sdk/go/google/pubsub/v1beta2/subscriptionIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SubscriptionIamBinding) ToSubscriptionIamBindingOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(SubscriptionIamBindingOutput) } +func (i *SubscriptionIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamBinding] { + return pulumix.Output[*SubscriptionIamBinding]{ + OutputState: i.ToSubscriptionIamBindingOutputWithContext(ctx).OutputState, + } +} + type SubscriptionIamBindingOutput struct{ *pulumi.OutputState } func (SubscriptionIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SubscriptionIamBindingOutput) ToSubscriptionIamBindingOutputWithContext( return o } +func (o SubscriptionIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamBinding] { + return pulumix.Output[*SubscriptionIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SubscriptionIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SubscriptionIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1beta2/subscriptionIamMember.go b/sdk/go/google/pubsub/v1beta2/subscriptionIamMember.go index 744d97ec33..27855f2921 100644 --- a/sdk/go/google/pubsub/v1beta2/subscriptionIamMember.go +++ b/sdk/go/google/pubsub/v1beta2/subscriptionIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *SubscriptionIamMember) ToSubscriptionIamMemberOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SubscriptionIamMemberOutput) } +func (i *SubscriptionIamMember) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamMember] { + return pulumix.Output[*SubscriptionIamMember]{ + OutputState: i.ToSubscriptionIamMemberOutputWithContext(ctx).OutputState, + } +} + type SubscriptionIamMemberOutput struct{ *pulumi.OutputState } func (SubscriptionIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SubscriptionIamMemberOutput) ToSubscriptionIamMemberOutputWithContext(ct return o } +func (o SubscriptionIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamMember] { + return pulumix.Output[*SubscriptionIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SubscriptionIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SubscriptionIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1beta2/subscriptionIamPolicy.go b/sdk/go/google/pubsub/v1beta2/subscriptionIamPolicy.go index 7245610889..fc8179c8ee 100644 --- a/sdk/go/google/pubsub/v1beta2/subscriptionIamPolicy.go +++ b/sdk/go/google/pubsub/v1beta2/subscriptionIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *SubscriptionIamPolicy) ToSubscriptionIamPolicyOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SubscriptionIamPolicyOutput) } +func (i *SubscriptionIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamPolicy] { + return pulumix.Output[*SubscriptionIamPolicy]{ + OutputState: i.ToSubscriptionIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SubscriptionIamPolicyOutput struct{ *pulumi.OutputState } func (SubscriptionIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o SubscriptionIamPolicyOutput) ToSubscriptionIamPolicyOutputWithContext(ct return o } +func (o SubscriptionIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SubscriptionIamPolicy] { + return pulumix.Output[*SubscriptionIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o SubscriptionIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *SubscriptionIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsub/v1beta2/topic.go b/sdk/go/google/pubsub/v1beta2/topic.go index a5277587dd..52b6f8500b 100644 --- a/sdk/go/google/pubsub/v1beta2/topic.go +++ b/sdk/go/google/pubsub/v1beta2/topic.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates the given topic with the given name. @@ -107,6 +108,12 @@ func (i *Topic) ToTopicOutputWithContext(ctx context.Context) TopicOutput { return pulumi.ToOutputWithContext(ctx, i).(TopicOutput) } +func (i *Topic) ToOutput(ctx context.Context) pulumix.Output[*Topic] { + return pulumix.Output[*Topic]{ + OutputState: i.ToTopicOutputWithContext(ctx).OutputState, + } +} + type TopicOutput struct{ *pulumi.OutputState } func (TopicOutput) ElementType() reflect.Type { @@ -121,6 +128,12 @@ func (o TopicOutput) ToTopicOutputWithContext(ctx context.Context) TopicOutput { return o } +func (o TopicOutput) ToOutput(ctx context.Context) pulumix.Output[*Topic] { + return pulumix.Output[*Topic]{ + OutputState: o.OutputState, + } +} + // The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`. func (o TopicOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Topic) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsub/v1beta2/topicIamBinding.go b/sdk/go/google/pubsub/v1beta2/topicIamBinding.go index c4343bbb72..1c5f9c120a 100644 --- a/sdk/go/google/pubsub/v1beta2/topicIamBinding.go +++ b/sdk/go/google/pubsub/v1beta2/topicIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TopicIamBinding) ToTopicIamBindingOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TopicIamBindingOutput) } +func (i *TopicIamBinding) ToOutput(ctx context.Context) pulumix.Output[*TopicIamBinding] { + return pulumix.Output[*TopicIamBinding]{ + OutputState: i.ToTopicIamBindingOutputWithContext(ctx).OutputState, + } +} + type TopicIamBindingOutput struct{ *pulumi.OutputState } func (TopicIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TopicIamBindingOutput) ToTopicIamBindingOutputWithContext(ctx context.Co return o } +func (o TopicIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*TopicIamBinding] { + return pulumix.Output[*TopicIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TopicIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TopicIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1beta2/topicIamMember.go b/sdk/go/google/pubsub/v1beta2/topicIamMember.go index 30567f06ae..d7d75d9bd6 100644 --- a/sdk/go/google/pubsub/v1beta2/topicIamMember.go +++ b/sdk/go/google/pubsub/v1beta2/topicIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *TopicIamMember) ToTopicIamMemberOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TopicIamMemberOutput) } +func (i *TopicIamMember) ToOutput(ctx context.Context) pulumix.Output[*TopicIamMember] { + return pulumix.Output[*TopicIamMember]{ + OutputState: i.ToTopicIamMemberOutputWithContext(ctx).OutputState, + } +} + type TopicIamMemberOutput struct{ *pulumi.OutputState } func (TopicIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o TopicIamMemberOutput) ToTopicIamMemberOutputWithContext(ctx context.Cont return o } +func (o TopicIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*TopicIamMember] { + return pulumix.Output[*TopicIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o TopicIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *TopicIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/pubsub/v1beta2/topicIamPolicy.go b/sdk/go/google/pubsub/v1beta2/topicIamPolicy.go index fe83faf58d..0e1c1aa221 100644 --- a/sdk/go/google/pubsub/v1beta2/topicIamPolicy.go +++ b/sdk/go/google/pubsub/v1beta2/topicIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *TopicIamPolicy) ToTopicIamPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TopicIamPolicyOutput) } +func (i *TopicIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*TopicIamPolicy] { + return pulumix.Output[*TopicIamPolicy]{ + OutputState: i.ToTopicIamPolicyOutputWithContext(ctx).OutputState, + } +} + type TopicIamPolicyOutput struct{ *pulumi.OutputState } func (TopicIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o TopicIamPolicyOutput) ToTopicIamPolicyOutputWithContext(ctx context.Cont return o } +func (o TopicIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*TopicIamPolicy] { + return pulumix.Output[*TopicIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o TopicIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *TopicIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/pubsublite/v1/getReservation.go b/sdk/go/google/pubsublite/v1/getReservation.go index 1bed68c514..92fc47bfa2 100644 --- a/sdk/go/google/pubsublite/v1/getReservation.go +++ b/sdk/go/google/pubsublite/v1/getReservation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the reservation configuration. @@ -72,6 +73,12 @@ func (o LookupReservationResultOutput) ToLookupReservationResultOutputWithContex return o } +func (o LookupReservationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReservationResult] { + return pulumix.Output[LookupReservationResult]{ + OutputState: o.OutputState, + } +} + // The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} func (o LookupReservationResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupReservationResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsublite/v1/getSubscription.go b/sdk/go/google/pubsublite/v1/getSubscription.go index 4537928755..c6824ffd1e 100644 --- a/sdk/go/google/pubsublite/v1/getSubscription.go +++ b/sdk/go/google/pubsublite/v1/getSubscription.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the subscription configuration. @@ -76,6 +77,12 @@ func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithCont return o } +func (o LookupSubscriptionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSubscriptionResult] { + return pulumix.Output[LookupSubscriptionResult]{ + OutputState: o.OutputState, + } +} + // The settings for this subscription's message delivery. func (o LookupSubscriptionResultOutput) DeliveryConfig() DeliveryConfigResponseOutput { return o.ApplyT(func(v LookupSubscriptionResult) DeliveryConfigResponse { return v.DeliveryConfig }).(DeliveryConfigResponseOutput) diff --git a/sdk/go/google/pubsublite/v1/getTopic.go b/sdk/go/google/pubsublite/v1/getTopic.go index 3f31a4fb8b..acf9e27afb 100644 --- a/sdk/go/google/pubsublite/v1/getTopic.go +++ b/sdk/go/google/pubsublite/v1/getTopic.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the topic configuration. @@ -76,6 +77,12 @@ func (o LookupTopicResultOutput) ToLookupTopicResultOutputWithContext(ctx contex return o } +func (o LookupTopicResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTopicResult] { + return pulumix.Output[LookupTopicResult]{ + OutputState: o.OutputState, + } +} + // The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} func (o LookupTopicResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupTopicResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsublite/v1/pulumiEnums.go b/sdk/go/google/pubsublite/v1/pulumiEnums.go index bfb781524f..bf4e260558 100644 --- a/sdk/go/google/pubsublite/v1/pulumiEnums.go +++ b/sdk/go/google/pubsublite/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The DeliveryRequirement for this subscription. @@ -82,6 +83,12 @@ func (o DeliveryConfigDeliveryRequirementOutput) ToDeliveryConfigDeliveryRequire }).(DeliveryConfigDeliveryRequirementPtrOutput) } +func (o DeliveryConfigDeliveryRequirementOutput) ToOutput(ctx context.Context) pulumix.Output[DeliveryConfigDeliveryRequirement] { + return pulumix.Output[DeliveryConfigDeliveryRequirement]{ + OutputState: o.OutputState, + } +} + func (o DeliveryConfigDeliveryRequirementOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o DeliveryConfigDeliveryRequirementPtrOutput) ToDeliveryConfigDeliveryRequ return o } +func (o DeliveryConfigDeliveryRequirementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeliveryConfigDeliveryRequirement] { + return pulumix.Output[*DeliveryConfigDeliveryRequirement]{ + OutputState: o.OutputState, + } +} + func (o DeliveryConfigDeliveryRequirementPtrOutput) Elem() DeliveryConfigDeliveryRequirementOutput { return o.ApplyT(func(v *DeliveryConfigDeliveryRequirement) DeliveryConfigDeliveryRequirement { if v != nil { @@ -179,6 +192,12 @@ func (in *deliveryConfigDeliveryRequirementPtr) ToDeliveryConfigDeliveryRequirem return pulumi.ToOutputWithContext(ctx, in).(DeliveryConfigDeliveryRequirementPtrOutput) } +func (in *deliveryConfigDeliveryRequirementPtr) ToOutput(ctx context.Context) pulumix.Output[*DeliveryConfigDeliveryRequirement] { + return pulumix.Output[*DeliveryConfigDeliveryRequirement]{ + OutputState: in.ToDeliveryConfigDeliveryRequirementPtrOutputWithContext(ctx).OutputState, + } +} + // The desired state of this export. Setting this to values other than `ACTIVE` and `PAUSED` will result in an error. type ExportConfigDesiredState string @@ -255,6 +274,12 @@ func (o ExportConfigDesiredStateOutput) ToExportConfigDesiredStatePtrOutputWithC }).(ExportConfigDesiredStatePtrOutput) } +func (o ExportConfigDesiredStateOutput) ToOutput(ctx context.Context) pulumix.Output[ExportConfigDesiredState] { + return pulumix.Output[ExportConfigDesiredState]{ + OutputState: o.OutputState, + } +} + func (o ExportConfigDesiredStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o ExportConfigDesiredStatePtrOutput) ToExportConfigDesiredStatePtrOutputWi return o } +func (o ExportConfigDesiredStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExportConfigDesiredState] { + return pulumix.Output[*ExportConfigDesiredState]{ + OutputState: o.OutputState, + } +} + func (o ExportConfigDesiredStatePtrOutput) Elem() ExportConfigDesiredStateOutput { return o.ApplyT(func(v *ExportConfigDesiredState) ExportConfigDesiredState { if v != nil { @@ -352,6 +383,12 @@ func (in *exportConfigDesiredStatePtr) ToExportConfigDesiredStatePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ExportConfigDesiredStatePtrOutput) } +func (in *exportConfigDesiredStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ExportConfigDesiredState] { + return pulumix.Output[*ExportConfigDesiredState]{ + OutputState: in.ToExportConfigDesiredStatePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*DeliveryConfigDeliveryRequirementInput)(nil)).Elem(), DeliveryConfigDeliveryRequirement("DELIVERY_REQUIREMENT_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*DeliveryConfigDeliveryRequirementPtrInput)(nil)).Elem(), DeliveryConfigDeliveryRequirement("DELIVERY_REQUIREMENT_UNSPECIFIED")) diff --git a/sdk/go/google/pubsublite/v1/pulumiTypes.go b/sdk/go/google/pubsublite/v1/pulumiTypes.go index a2b9e64449..2991da97d7 100644 --- a/sdk/go/google/pubsublite/v1/pulumiTypes.go +++ b/sdk/go/google/pubsublite/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i CapacityArgs) ToCapacityOutputWithContext(ctx context.Context) CapacityO return pulumi.ToOutputWithContext(ctx, i).(CapacityOutput) } +func (i CapacityArgs) ToOutput(ctx context.Context) pulumix.Output[Capacity] { + return pulumix.Output[Capacity]{ + OutputState: i.ToCapacityOutputWithContext(ctx).OutputState, + } +} + func (i CapacityArgs) ToCapacityPtrOutput() CapacityPtrOutput { return i.ToCapacityPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *capacityPtrType) ToCapacityPtrOutputWithContext(ctx context.Context) Ca return pulumi.ToOutputWithContext(ctx, i).(CapacityPtrOutput) } +func (i *capacityPtrType) ToOutput(ctx context.Context) pulumix.Output[*Capacity] { + return pulumix.Output[*Capacity]{ + OutputState: i.ToCapacityPtrOutputWithContext(ctx).OutputState, + } +} + // The throughput capacity configuration for each partition. type CapacityOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o CapacityOutput) ToCapacityPtrOutputWithContext(ctx context.Context) Capa }).(CapacityPtrOutput) } +func (o CapacityOutput) ToOutput(ctx context.Context) pulumix.Output[Capacity] { + return pulumix.Output[Capacity]{ + OutputState: o.OutputState, + } +} + // Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16. func (o CapacityOutput) PublishMibPerSec() pulumi.IntPtrOutput { return o.ApplyT(func(v Capacity) *int { return v.PublishMibPerSec }).(pulumi.IntPtrOutput) @@ -142,6 +161,12 @@ func (o CapacityPtrOutput) ToCapacityPtrOutputWithContext(ctx context.Context) C return o } +func (o CapacityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Capacity] { + return pulumix.Output[*Capacity]{ + OutputState: o.OutputState, + } +} + func (o CapacityPtrOutput) Elem() CapacityOutput { return o.ApplyT(func(v *Capacity) Capacity { if v != nil { @@ -195,6 +220,12 @@ func (o CapacityResponseOutput) ToCapacityResponseOutputWithContext(ctx context. return o } +func (o CapacityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CapacityResponse] { + return pulumix.Output[CapacityResponse]{ + OutputState: o.OutputState, + } +} + // Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16. func (o CapacityResponseOutput) PublishMibPerSec() pulumi.IntOutput { return o.ApplyT(func(v CapacityResponse) int { return v.PublishMibPerSec }).(pulumi.IntOutput) @@ -240,6 +271,12 @@ func (i DeliveryConfigArgs) ToDeliveryConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DeliveryConfigOutput) } +func (i DeliveryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[DeliveryConfig] { + return pulumix.Output[DeliveryConfig]{ + OutputState: i.ToDeliveryConfigOutputWithContext(ctx).OutputState, + } +} + func (i DeliveryConfigArgs) ToDeliveryConfigPtrOutput() DeliveryConfigPtrOutput { return i.ToDeliveryConfigPtrOutputWithContext(context.Background()) } @@ -281,6 +318,12 @@ func (i *deliveryConfigPtrType) ToDeliveryConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DeliveryConfigPtrOutput) } +func (i *deliveryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeliveryConfig] { + return pulumix.Output[*DeliveryConfig]{ + OutputState: i.ToDeliveryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The settings for a subscription's message delivery. type DeliveryConfigOutput struct{ *pulumi.OutputState } @@ -306,6 +349,12 @@ func (o DeliveryConfigOutput) ToDeliveryConfigPtrOutputWithContext(ctx context.C }).(DeliveryConfigPtrOutput) } +func (o DeliveryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[DeliveryConfig] { + return pulumix.Output[DeliveryConfig]{ + OutputState: o.OutputState, + } +} + // The DeliveryRequirement for this subscription. func (o DeliveryConfigOutput) DeliveryRequirement() DeliveryConfigDeliveryRequirementPtrOutput { return o.ApplyT(func(v DeliveryConfig) *DeliveryConfigDeliveryRequirement { return v.DeliveryRequirement }).(DeliveryConfigDeliveryRequirementPtrOutput) @@ -325,6 +374,12 @@ func (o DeliveryConfigPtrOutput) ToDeliveryConfigPtrOutputWithContext(ctx contex return o } +func (o DeliveryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeliveryConfig] { + return pulumix.Output[*DeliveryConfig]{ + OutputState: o.OutputState, + } +} + func (o DeliveryConfigPtrOutput) Elem() DeliveryConfigOutput { return o.ApplyT(func(v *DeliveryConfig) DeliveryConfig { if v != nil { @@ -366,6 +421,12 @@ func (o DeliveryConfigResponseOutput) ToDeliveryConfigResponseOutputWithContext( return o } +func (o DeliveryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeliveryConfigResponse] { + return pulumix.Output[DeliveryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The DeliveryRequirement for this subscription. func (o DeliveryConfigResponseOutput) DeliveryRequirement() pulumi.StringOutput { return o.ApplyT(func(v DeliveryConfigResponse) string { return v.DeliveryRequirement }).(pulumi.StringOutput) @@ -414,6 +475,12 @@ func (i ExportConfigArgs) ToExportConfigOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(ExportConfigOutput) } +func (i ExportConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ExportConfig] { + return pulumix.Output[ExportConfig]{ + OutputState: i.ToExportConfigOutputWithContext(ctx).OutputState, + } +} + func (i ExportConfigArgs) ToExportConfigPtrOutput() ExportConfigPtrOutput { return i.ToExportConfigPtrOutputWithContext(context.Background()) } @@ -455,6 +522,12 @@ func (i *exportConfigPtrType) ToExportConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ExportConfigPtrOutput) } +func (i *exportConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExportConfig] { + return pulumix.Output[*ExportConfig]{ + OutputState: i.ToExportConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription. type ExportConfigOutput struct{ *pulumi.OutputState } @@ -480,6 +553,12 @@ func (o ExportConfigOutput) ToExportConfigPtrOutputWithContext(ctx context.Conte }).(ExportConfigPtrOutput) } +func (o ExportConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ExportConfig] { + return pulumix.Output[ExportConfig]{ + OutputState: o.OutputState, + } +} + // Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed. func (o ExportConfigOutput) DeadLetterTopic() pulumi.StringPtrOutput { return o.ApplyT(func(v ExportConfig) *string { return v.DeadLetterTopic }).(pulumi.StringPtrOutput) @@ -509,6 +588,12 @@ func (o ExportConfigPtrOutput) ToExportConfigPtrOutputWithContext(ctx context.Co return o } +func (o ExportConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExportConfig] { + return pulumix.Output[*ExportConfig]{ + OutputState: o.OutputState, + } +} + func (o ExportConfigPtrOutput) Elem() ExportConfigOutput { return o.ApplyT(func(v *ExportConfig) ExportConfig { if v != nil { @@ -576,6 +661,12 @@ func (o ExportConfigResponseOutput) ToExportConfigResponseOutputWithContext(ctx return o } +func (o ExportConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExportConfigResponse] { + return pulumix.Output[ExportConfigResponse]{ + OutputState: o.OutputState, + } +} + // The current state of the export, which may be different to the desired state due to errors. This field is output only. func (o ExportConfigResponseOutput) CurrentState() pulumi.StringOutput { return o.ApplyT(func(v ExportConfigResponse) string { return v.CurrentState }).(pulumi.StringOutput) @@ -643,6 +734,12 @@ func (i PartitionConfigArgs) ToPartitionConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PartitionConfigOutput) } +func (i PartitionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PartitionConfig] { + return pulumix.Output[PartitionConfig]{ + OutputState: i.ToPartitionConfigOutputWithContext(ctx).OutputState, + } +} + func (i PartitionConfigArgs) ToPartitionConfigPtrOutput() PartitionConfigPtrOutput { return i.ToPartitionConfigPtrOutputWithContext(context.Background()) } @@ -684,6 +781,12 @@ func (i *partitionConfigPtrType) ToPartitionConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(PartitionConfigPtrOutput) } +func (i *partitionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PartitionConfig] { + return pulumix.Output[*PartitionConfig]{ + OutputState: i.ToPartitionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The settings for a topic's partitions. type PartitionConfigOutput struct{ *pulumi.OutputState } @@ -709,6 +812,12 @@ func (o PartitionConfigOutput) ToPartitionConfigPtrOutputWithContext(ctx context }).(PartitionConfigPtrOutput) } +func (o PartitionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PartitionConfig] { + return pulumix.Output[PartitionConfig]{ + OutputState: o.OutputState, + } +} + // The capacity configuration. func (o PartitionConfigOutput) Capacity() CapacityPtrOutput { return o.ApplyT(func(v PartitionConfig) *Capacity { return v.Capacity }).(CapacityPtrOutput) @@ -740,6 +849,12 @@ func (o PartitionConfigPtrOutput) ToPartitionConfigPtrOutputWithContext(ctx cont return o } +func (o PartitionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PartitionConfig] { + return pulumix.Output[*PartitionConfig]{ + OutputState: o.OutputState, + } +} + func (o PartitionConfigPtrOutput) Elem() PartitionConfigOutput { return o.ApplyT(func(v *PartitionConfig) PartitionConfig { if v != nil { @@ -809,6 +924,12 @@ func (o PartitionConfigResponseOutput) ToPartitionConfigResponseOutputWithContex return o } +func (o PartitionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PartitionConfigResponse] { + return pulumix.Output[PartitionConfigResponse]{ + OutputState: o.OutputState, + } +} + // The capacity configuration. func (o PartitionConfigResponseOutput) Capacity() CapacityResponseOutput { return o.ApplyT(func(v PartitionConfigResponse) CapacityResponse { return v.Capacity }).(CapacityResponseOutput) @@ -861,6 +982,12 @@ func (i PubSubConfigArgs) ToPubSubConfigOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(PubSubConfigOutput) } +func (i PubSubConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PubSubConfig] { + return pulumix.Output[PubSubConfig]{ + OutputState: i.ToPubSubConfigOutputWithContext(ctx).OutputState, + } +} + func (i PubSubConfigArgs) ToPubSubConfigPtrOutput() PubSubConfigPtrOutput { return i.ToPubSubConfigPtrOutputWithContext(context.Background()) } @@ -902,6 +1029,12 @@ func (i *pubSubConfigPtrType) ToPubSubConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(PubSubConfigPtrOutput) } +func (i *pubSubConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PubSubConfig] { + return pulumix.Output[*PubSubConfig]{ + OutputState: i.ToPubSubConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for exporting to a Pub/Sub topic. type PubSubConfigOutput struct{ *pulumi.OutputState } @@ -927,6 +1060,12 @@ func (o PubSubConfigOutput) ToPubSubConfigPtrOutputWithContext(ctx context.Conte }).(PubSubConfigPtrOutput) } +func (o PubSubConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PubSubConfig] { + return pulumix.Output[PubSubConfig]{ + OutputState: o.OutputState, + } +} + // The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed. func (o PubSubConfigOutput) Topic() pulumi.StringPtrOutput { return o.ApplyT(func(v PubSubConfig) *string { return v.Topic }).(pulumi.StringPtrOutput) @@ -946,6 +1085,12 @@ func (o PubSubConfigPtrOutput) ToPubSubConfigPtrOutputWithContext(ctx context.Co return o } +func (o PubSubConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PubSubConfig] { + return pulumix.Output[*PubSubConfig]{ + OutputState: o.OutputState, + } +} + func (o PubSubConfigPtrOutput) Elem() PubSubConfigOutput { return o.ApplyT(func(v *PubSubConfig) PubSubConfig { if v != nil { @@ -987,6 +1132,12 @@ func (o PubSubConfigResponseOutput) ToPubSubConfigResponseOutputWithContext(ctx return o } +func (o PubSubConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubSubConfigResponse] { + return pulumix.Output[PubSubConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Pub/Sub topic. Structured like: projects/{project_number}/topics/{topic_id}. The topic may be changed. func (o PubSubConfigResponseOutput) Topic() pulumi.StringOutput { return o.ApplyT(func(v PubSubConfigResponse) string { return v.Topic }).(pulumi.StringOutput) @@ -1027,6 +1178,12 @@ func (i ReservationConfigArgs) ToReservationConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ReservationConfigOutput) } +func (i ReservationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ReservationConfig] { + return pulumix.Output[ReservationConfig]{ + OutputState: i.ToReservationConfigOutputWithContext(ctx).OutputState, + } +} + func (i ReservationConfigArgs) ToReservationConfigPtrOutput() ReservationConfigPtrOutput { return i.ToReservationConfigPtrOutputWithContext(context.Background()) } @@ -1068,6 +1225,12 @@ func (i *reservationConfigPtrType) ToReservationConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ReservationConfigPtrOutput) } +func (i *reservationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReservationConfig] { + return pulumix.Output[*ReservationConfig]{ + OutputState: i.ToReservationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The settings for this topic's Reservation usage. type ReservationConfigOutput struct{ *pulumi.OutputState } @@ -1093,6 +1256,12 @@ func (o ReservationConfigOutput) ToReservationConfigPtrOutputWithContext(ctx con }).(ReservationConfigPtrOutput) } +func (o ReservationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationConfig] { + return pulumix.Output[ReservationConfig]{ + OutputState: o.OutputState, + } +} + // The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} func (o ReservationConfigOutput) ThroughputReservation() pulumi.StringPtrOutput { return o.ApplyT(func(v ReservationConfig) *string { return v.ThroughputReservation }).(pulumi.StringPtrOutput) @@ -1112,6 +1281,12 @@ func (o ReservationConfigPtrOutput) ToReservationConfigPtrOutputWithContext(ctx return o } +func (o ReservationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReservationConfig] { + return pulumix.Output[*ReservationConfig]{ + OutputState: o.OutputState, + } +} + func (o ReservationConfigPtrOutput) Elem() ReservationConfigOutput { return o.ApplyT(func(v *ReservationConfig) ReservationConfig { if v != nil { @@ -1153,6 +1328,12 @@ func (o ReservationConfigResponseOutput) ToReservationConfigResponseOutputWithCo return o } +func (o ReservationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReservationConfigResponse] { + return pulumix.Output[ReservationConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Reservation to use for this topic's throughput capacity. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} func (o ReservationConfigResponseOutput) ThroughputReservation() pulumi.StringOutput { return o.ApplyT(func(v ReservationConfigResponse) string { return v.ThroughputReservation }).(pulumi.StringOutput) @@ -1197,6 +1378,12 @@ func (i RetentionConfigArgs) ToRetentionConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(RetentionConfigOutput) } +func (i RetentionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RetentionConfig] { + return pulumix.Output[RetentionConfig]{ + OutputState: i.ToRetentionConfigOutputWithContext(ctx).OutputState, + } +} + func (i RetentionConfigArgs) ToRetentionConfigPtrOutput() RetentionConfigPtrOutput { return i.ToRetentionConfigPtrOutputWithContext(context.Background()) } @@ -1238,6 +1425,12 @@ func (i *retentionConfigPtrType) ToRetentionConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(RetentionConfigPtrOutput) } +func (i *retentionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*RetentionConfig] { + return pulumix.Output[*RetentionConfig]{ + OutputState: i.ToRetentionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The settings for a topic's message retention. type RetentionConfigOutput struct{ *pulumi.OutputState } @@ -1263,6 +1456,12 @@ func (o RetentionConfigOutput) ToRetentionConfigPtrOutputWithContext(ctx context }).(RetentionConfigPtrOutput) } +func (o RetentionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RetentionConfig] { + return pulumix.Output[RetentionConfig]{ + OutputState: o.OutputState, + } +} + // The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of `period`. func (o RetentionConfigOutput) PerPartitionBytes() pulumi.StringPtrOutput { return o.ApplyT(func(v RetentionConfig) *string { return v.PerPartitionBytes }).(pulumi.StringPtrOutput) @@ -1287,6 +1486,12 @@ func (o RetentionConfigPtrOutput) ToRetentionConfigPtrOutputWithContext(ctx cont return o } +func (o RetentionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RetentionConfig] { + return pulumix.Output[*RetentionConfig]{ + OutputState: o.OutputState, + } +} + func (o RetentionConfigPtrOutput) Elem() RetentionConfigOutput { return o.ApplyT(func(v *RetentionConfig) RetentionConfig { if v != nil { @@ -1340,6 +1545,12 @@ func (o RetentionConfigResponseOutput) ToRetentionConfigResponseOutputWithContex return o } +func (o RetentionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RetentionConfigResponse] { + return pulumix.Output[RetentionConfigResponse]{ + OutputState: o.OutputState, + } +} + // The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of `period`. func (o RetentionConfigResponseOutput) PerPartitionBytes() pulumi.StringOutput { return o.ApplyT(func(v RetentionConfigResponse) string { return v.PerPartitionBytes }).(pulumi.StringOutput) diff --git a/sdk/go/google/pubsublite/v1/reservation.go b/sdk/go/google/pubsublite/v1/reservation.go index 4b70e490aa..6a93c91068 100644 --- a/sdk/go/google/pubsublite/v1/reservation.go +++ b/sdk/go/google/pubsublite/v1/reservation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new reservation. @@ -120,6 +121,12 @@ func (i *Reservation) ToReservationOutputWithContext(ctx context.Context) Reserv return pulumi.ToOutputWithContext(ctx, i).(ReservationOutput) } +func (i *Reservation) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: i.ToReservationOutputWithContext(ctx).OutputState, + } +} + type ReservationOutput struct{ *pulumi.OutputState } func (ReservationOutput) ElementType() reflect.Type { @@ -134,6 +141,12 @@ func (o ReservationOutput) ToReservationOutputWithContext(ctx context.Context) R return o } +func (o ReservationOutput) ToOutput(ctx context.Context) pulumix.Output[*Reservation] { + return pulumix.Output[*Reservation]{ + OutputState: o.OutputState, + } +} + func (o ReservationOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v *Reservation) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) } diff --git a/sdk/go/google/pubsublite/v1/subscription.go b/sdk/go/google/pubsublite/v1/subscription.go index 165cfd52e1..864bd48062 100644 --- a/sdk/go/google/pubsublite/v1/subscription.go +++ b/sdk/go/google/pubsublite/v1/subscription.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new subscription. @@ -138,6 +139,12 @@ func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) Subs return pulumi.ToOutputWithContext(ctx, i).(SubscriptionOutput) } +func (i *Subscription) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: i.ToSubscriptionOutputWithContext(ctx).OutputState, + } +} + type SubscriptionOutput struct{ *pulumi.OutputState } func (SubscriptionOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) return o } +func (o SubscriptionOutput) ToOutput(ctx context.Context) pulumix.Output[*Subscription] { + return pulumix.Output[*Subscription]{ + OutputState: o.OutputState, + } +} + // The settings for this subscription's message delivery. func (o SubscriptionOutput) DeliveryConfig() DeliveryConfigResponseOutput { return o.ApplyT(func(v *Subscription) DeliveryConfigResponseOutput { return v.DeliveryConfig }).(DeliveryConfigResponseOutput) diff --git a/sdk/go/google/pubsublite/v1/topic.go b/sdk/go/google/pubsublite/v1/topic.go index 4213a3bedb..de218fc34a 100644 --- a/sdk/go/google/pubsublite/v1/topic.go +++ b/sdk/go/google/pubsublite/v1/topic.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new topic. @@ -132,6 +133,12 @@ func (i *Topic) ToTopicOutputWithContext(ctx context.Context) TopicOutput { return pulumi.ToOutputWithContext(ctx, i).(TopicOutput) } +func (i *Topic) ToOutput(ctx context.Context) pulumix.Output[*Topic] { + return pulumix.Output[*Topic]{ + OutputState: i.ToTopicOutputWithContext(ctx).OutputState, + } +} + type TopicOutput struct{ *pulumi.OutputState } func (TopicOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o TopicOutput) ToTopicOutputWithContext(ctx context.Context) TopicOutput { return o } +func (o TopicOutput) ToOutput(ctx context.Context) pulumix.Output[*Topic] { + return pulumix.Output[*Topic]{ + OutputState: o.OutputState, + } +} + func (o TopicOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v *Topic) pulumi.StringOutput { return v.Location }).(pulumi.StringOutput) } diff --git a/sdk/go/google/recaptchaenterprise/v1/firewallpolicy.go b/sdk/go/google/recaptchaenterprise/v1/firewallpolicy.go index a700391674..2ab7969f4f 100644 --- a/sdk/go/google/recaptchaenterprise/v1/firewallpolicy.go +++ b/sdk/go/google/recaptchaenterprise/v1/firewallpolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new FirewallPolicy, specifying conditions at which reCAPTCHA Enterprise actions can be executed. A project may have a maximum of 1000 policies. @@ -123,6 +124,12 @@ func (i *Firewallpolicy) ToFirewallpolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FirewallpolicyOutput) } +func (i *Firewallpolicy) ToOutput(ctx context.Context) pulumix.Output[*Firewallpolicy] { + return pulumix.Output[*Firewallpolicy]{ + OutputState: i.ToFirewallpolicyOutputWithContext(ctx).OutputState, + } +} + type FirewallpolicyOutput struct{ *pulumi.OutputState } func (FirewallpolicyOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o FirewallpolicyOutput) ToFirewallpolicyOutputWithContext(ctx context.Cont return o } +func (o FirewallpolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*Firewallpolicy] { + return pulumix.Output[*Firewallpolicy]{ + OutputState: o.OutputState, + } +} + // The actions that the caller should take regarding user access. There should be at most one terminal action. A terminal action is any action that forces a response, such as AllowAction, BlockAction or SubstituteAction. Zero or more non-terminal actions such as SetHeader might be specified. A single policy can contain up to 16 actions. func (o FirewallpolicyOutput) Actions() GoogleCloudRecaptchaenterpriseV1FirewallActionResponseArrayOutput { return o.ApplyT(func(v *Firewallpolicy) GoogleCloudRecaptchaenterpriseV1FirewallActionResponseArrayOutput { diff --git a/sdk/go/google/recaptchaenterprise/v1/getFirewallpolicy.go b/sdk/go/google/recaptchaenterprise/v1/getFirewallpolicy.go index 6468a48e83..cc54eca7a5 100644 --- a/sdk/go/google/recaptchaenterprise/v1/getFirewallpolicy.go +++ b/sdk/go/google/recaptchaenterprise/v1/getFirewallpolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified firewall policy. @@ -76,6 +77,12 @@ func (o LookupFirewallpolicyResultOutput) ToLookupFirewallpolicyResultOutputWith return o } +func (o LookupFirewallpolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFirewallpolicyResult] { + return pulumix.Output[LookupFirewallpolicyResult]{ + OutputState: o.OutputState, + } +} + // The actions that the caller should take regarding user access. There should be at most one terminal action. A terminal action is any action that forces a response, such as AllowAction, BlockAction or SubstituteAction. Zero or more non-terminal actions such as SetHeader might be specified. A single policy can contain up to 16 actions. func (o LookupFirewallpolicyResultOutput) Actions() GoogleCloudRecaptchaenterpriseV1FirewallActionResponseArrayOutput { return o.ApplyT(func(v LookupFirewallpolicyResult) []GoogleCloudRecaptchaenterpriseV1FirewallActionResponse { diff --git a/sdk/go/google/recaptchaenterprise/v1/getKey.go b/sdk/go/google/recaptchaenterprise/v1/getKey.go index f02b7c5d2e..15937dc0d8 100644 --- a/sdk/go/google/recaptchaenterprise/v1/getKey.go +++ b/sdk/go/google/recaptchaenterprise/v1/getKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified key. @@ -84,6 +85,12 @@ func (o LookupKeyResultOutput) ToLookupKeyResultOutputWithContext(ctx context.Co return o } +func (o LookupKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupKeyResult] { + return pulumix.Output[LookupKeyResult]{ + OutputState: o.OutputState, + } +} + // Settings for keys that can be used by Android apps. func (o LookupKeyResultOutput) AndroidSettings() GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponseOutput { return o.ApplyT(func(v LookupKeyResult) GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponse { diff --git a/sdk/go/google/recaptchaenterprise/v1/key.go b/sdk/go/google/recaptchaenterprise/v1/key.go index dca20af660..a6d729fc1c 100644 --- a/sdk/go/google/recaptchaenterprise/v1/key.go +++ b/sdk/go/google/recaptchaenterprise/v1/key.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new reCAPTCHA Enterprise key. @@ -143,6 +144,12 @@ func (i *Key) ToKeyOutputWithContext(ctx context.Context) KeyOutput { return pulumi.ToOutputWithContext(ctx, i).(KeyOutput) } +func (i *Key) ToOutput(ctx context.Context) pulumix.Output[*Key] { + return pulumix.Output[*Key]{ + OutputState: i.ToKeyOutputWithContext(ctx).OutputState, + } +} + type KeyOutput struct{ *pulumi.OutputState } func (KeyOutput) ElementType() reflect.Type { @@ -157,6 +164,12 @@ func (o KeyOutput) ToKeyOutputWithContext(ctx context.Context) KeyOutput { return o } +func (o KeyOutput) ToOutput(ctx context.Context) pulumix.Output[*Key] { + return pulumix.Output[*Key]{ + OutputState: o.OutputState, + } +} + // Settings for keys that can be used by Android apps. func (o KeyOutput) AndroidSettings() GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponseOutput { return o.ApplyT(func(v *Key) GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponseOutput { diff --git a/sdk/go/google/recaptchaenterprise/v1/pulumiEnums.go b/sdk/go/google/recaptchaenterprise/v1/pulumiEnums.go index 12a5c9a2e8..69fc8de2e1 100644 --- a/sdk/go/google/recaptchaenterprise/v1/pulumiEnums.go +++ b/sdk/go/google/recaptchaenterprise/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE. @@ -82,6 +83,12 @@ func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengeOutput) To }).(GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengePtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengePtrOutput) return o } +func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengePtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengeOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge) GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge { if v != nil { @@ -179,6 +192,12 @@ func (in *googleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengePtr) ToG return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengePtrOutput) } +func (in *googleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge]{ + OutputState: in.ToGoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The WAF feature for which this key is enabled. type GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature string @@ -255,6 +274,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeatureOutput) ToGoogleClo }).(GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeaturePtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeatureOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeatureOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeaturePtrOutput) ToGoogle return o } +func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeaturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeaturePtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeatureOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature) GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature { if v != nil { @@ -352,6 +383,12 @@ func (in *googleCloudRecaptchaenterpriseV1WafSettingsWafFeaturePtr) ToGoogleClou return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeaturePtrOutput) } +func (in *googleCloudRecaptchaenterpriseV1WafSettingsWafFeaturePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature]{ + OutputState: in.ToGoogleCloudRecaptchaenterpriseV1WafSettingsWafFeaturePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The WAF service that uses this key. type GoogleCloudRecaptchaenterpriseV1WafSettingsWafService string @@ -424,6 +461,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafServiceOutput) ToGoogleClo }).(GoogleCloudRecaptchaenterpriseV1WafSettingsWafServicePtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafServiceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1WafSettingsWafService] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1WafSettingsWafService]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafServiceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -459,6 +502,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafServicePtrOutput) ToGoogle return o } +func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafServicePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettingsWafService] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettingsWafService]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1WafSettingsWafServicePtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1WafSettingsWafServiceOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1WafSettingsWafService) GoogleCloudRecaptchaenterpriseV1WafSettingsWafService { if v != nil { @@ -521,6 +570,12 @@ func (in *googleCloudRecaptchaenterpriseV1WafSettingsWafServicePtr) ToGoogleClou return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRecaptchaenterpriseV1WafSettingsWafServicePtrOutput) } +func (in *googleCloudRecaptchaenterpriseV1WafSettingsWafServicePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettingsWafService] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettingsWafService]{ + OutputState: in.ToGoogleCloudRecaptchaenterpriseV1WafSettingsWafServicePtrOutputWithContext(ctx).OutputState, + } +} + // Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE. type GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreference string @@ -595,6 +650,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferenc }).(GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferencePtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferenceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreference] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreference]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferenceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -630,6 +691,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferenc return o } +func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreference] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreference]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferencePtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferenceOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreference) GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreference { if v != nil { @@ -692,6 +759,12 @@ func (in *googleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPrefere return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferencePtrOutput) } +func (in *googleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferencePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreference] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreference]{ + OutputState: in.ToGoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSecurityPreferencePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Describes how this key is integrated with the website. type GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationType string @@ -766,6 +839,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypeOutput) ToG }).(GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypePtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationType] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -801,6 +880,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypePtrOutput) return o } +func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationType] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypePtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypeOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationType) GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationType { if v != nil { @@ -863,6 +948,12 @@ func (in *googleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypePtr) ToGo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypePtrOutput) } +func (in *googleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationType] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationType]{ + OutputState: in.ToGoogleCloudRecaptchaenterpriseV1WebKeySettingsIntegrationTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengeInput)(nil)).Elem(), GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge("TESTING_CHALLENGE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengePtrInput)(nil)).Elem(), GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge("TESTING_CHALLENGE_UNSPECIFIED")) diff --git a/sdk/go/google/recaptchaenterprise/v1/pulumiTypes.go b/sdk/go/google/recaptchaenterprise/v1/pulumiTypes.go index 0eae100325..14fb9c468f 100644 --- a/sdk/go/google/recaptchaenterprise/v1/pulumiTypes.go +++ b/sdk/go/google/recaptchaenterprise/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsArgs) ToGoogleCloudRec return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsOutput) } +func (i GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1AndroidKeySettings] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1AndroidKeySettings]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1AndroidKeySettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsArgs) ToGoogleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrOutput() GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrOutputWithContext(context.Background()) } @@ -97,6 +104,12 @@ func (i *googleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrType) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1AndroidKeySettings] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1AndroidKeySettings]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings specific to keys that can be used by Android apps. type GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsOutput struct{ *pulumi.OutputState } @@ -122,6 +135,12 @@ func (o GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsOutput) ToGoogleCloudR }).(GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1AndroidKeySettings] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1AndroidKeySettings]{ + OutputState: o.OutputState, + } +} + // If set to true, allowed_package_names are not enforced. func (o GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsOutput) AllowAllPackageNames() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1AndroidKeySettings) *bool { return v.AllowAllPackageNames }).(pulumi.BoolPtrOutput) @@ -153,6 +172,12 @@ func (o GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrOutput) ToGoogleClo return o } +func (o GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1AndroidKeySettings] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1AndroidKeySettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1AndroidKeySettings) GoogleCloudRecaptchaenterpriseV1AndroidKeySettings { if v != nil { @@ -218,6 +243,12 @@ func (o GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponseOutput) ToGoog return o } +func (o GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, allowed_package_names are not enforced. func (o GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponseOutput) AllowAllPackageNames() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1AndroidKeySettingsResponse) bool { return v.AllowAllPackageNames }).(pulumi.BoolOutput) @@ -280,6 +311,12 @@ func (i GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdArgs) ToGoogleCloudRecap return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdOutput) } +func (i GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1AppleDeveloperId] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1AppleDeveloperId]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1AppleDeveloperIdOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdArgs) ToGoogleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrOutput() GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrOutputWithContext(context.Background()) } @@ -321,6 +358,12 @@ func (i *googleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrType) ToGoogleCloudR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1AppleDeveloperId] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1AppleDeveloperId]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrOutputWithContext(ctx).OutputState, + } +} + // Contains fields that are required to perform Apple-specific integrity checks. type GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdOutput struct{ *pulumi.OutputState } @@ -346,6 +389,12 @@ func (o GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdOutput) ToGoogleCloudRec }).(GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1AppleDeveloperId] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1AppleDeveloperId]{ + OutputState: o.OutputState, + } +} + // The Apple developer key ID (10-character string). func (o GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1AppleDeveloperId) string { return v.KeyId }).(pulumi.StringOutput) @@ -375,6 +424,12 @@ func (o GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1AppleDeveloperId] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1AppleDeveloperId]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1AppleDeveloperId) GoogleCloudRecaptchaenterpriseV1AppleDeveloperId { if v != nil { @@ -440,6 +495,12 @@ func (o GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdResponseOutput) ToGoogle return o } +func (o GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdResponse]{ + OutputState: o.OutputState, + } +} + // The Apple developer key ID (10-character string). func (o GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdResponseOutput) KeyId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1AppleDeveloperIdResponse) string { return v.KeyId }).(pulumi.StringOutput) @@ -506,6 +567,12 @@ func (i GoogleCloudRecaptchaenterpriseV1FirewallActionArgs) ToGoogleCloudRecaptc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionOutput) } +func (i GoogleCloudRecaptchaenterpriseV1FirewallActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRecaptchaenterpriseV1FirewallActionArrayInput is an input type that accepts GoogleCloudRecaptchaenterpriseV1FirewallActionArray and GoogleCloudRecaptchaenterpriseV1FirewallActionArrayOutput values. // You can construct a concrete instance of `GoogleCloudRecaptchaenterpriseV1FirewallActionArrayInput` via: // @@ -531,6 +598,12 @@ func (i GoogleCloudRecaptchaenterpriseV1FirewallActionArray) ToGoogleCloudRecapt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionArrayOutput) } +func (i GoogleCloudRecaptchaenterpriseV1FirewallActionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRecaptchaenterpriseV1FirewallAction] { + return pulumix.Output[[]GoogleCloudRecaptchaenterpriseV1FirewallAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionArrayOutputWithContext(ctx).OutputState, + } +} + // An individual action. Each action represents what to do if a policy matches. type GoogleCloudRecaptchaenterpriseV1FirewallActionOutput struct{ *pulumi.OutputState } @@ -546,6 +619,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionOutput) ToGoogleCloudRecap return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallAction]{ + OutputState: o.OutputState, + } +} + // The user request did not match any policy and should be allowed access to the requested resource. func (o GoogleCloudRecaptchaenterpriseV1FirewallActionOutput) Allow() GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1FirewallAction) *GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction { @@ -595,6 +674,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRecaptchaenterpriseV1FirewallAction] { + return pulumix.Output[[]GoogleCloudRecaptchaenterpriseV1FirewallAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1FirewallActionArrayOutput) Index(i pulumi.IntInput) GoogleCloudRecaptchaenterpriseV1FirewallActionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRecaptchaenterpriseV1FirewallAction { return vs[0].([]GoogleCloudRecaptchaenterpriseV1FirewallAction)[vs[1].(int)] @@ -632,6 +717,12 @@ func (i GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionOutput) } +func (i GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionArgs) ToGoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutput() GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutputWithContext(context.Background()) } @@ -673,6 +764,12 @@ func (i *googleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrType) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutputWithContext(ctx).OutputState, + } +} + // An allow action continues processing a request unimpeded. type GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionOutput struct{ *pulumi.OutputState } @@ -698,6 +795,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionOutput) ToGoogl }).(GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction]{ + OutputState: o.OutputState, + } +} + type GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutput) ElementType() reflect.Type { @@ -712,6 +815,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutput) ToGo return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction) GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction { if v != nil { @@ -741,6 +850,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionResponseOutput) return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionResponse]{ + OutputState: o.OutputState, + } +} + // A block action serves an HTTP error code a prevents the request from hitting the backend. type GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction struct { } @@ -772,6 +887,12 @@ func (i GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionArgs) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionOutput) } +func (i GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionArgs) ToGoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutput() GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutputWithContext(context.Background()) } @@ -813,6 +934,12 @@ func (i *googleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrType) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutputWithContext(ctx).OutputState, + } +} + // A block action serves an HTTP error code a prevents the request from hitting the backend. type GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionOutput struct{ *pulumi.OutputState } @@ -838,6 +965,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionOutput) ToGoogl }).(GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction]{ + OutputState: o.OutputState, + } +} + type GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutput) ElementType() reflect.Type { @@ -852,6 +985,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutput) ToGo return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction) GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction { if v != nil { @@ -881,6 +1020,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionResponseOutput) return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionBlockActionResponse]{ + OutputState: o.OutputState, + } +} + // A redirect action returns a 307 (temporary redirect) response, pointing the user to a ReCaptcha interstitial page to attach a token. type GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction struct { } @@ -912,6 +1057,12 @@ func (i GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionArgs) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionOutput) } +func (i GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionArgs) ToGoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutput() GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutputWithContext(context.Background()) } @@ -953,6 +1104,12 @@ func (i *googleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrType) To return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutputWithContext(ctx).OutputState, + } +} + // A redirect action returns a 307 (temporary redirect) response, pointing the user to a ReCaptcha interstitial page to attach a token. type GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionOutput struct{ *pulumi.OutputState } @@ -978,6 +1135,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionOutput) ToGo }).(GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction]{ + OutputState: o.OutputState, + } +} + type GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutput struct{ *pulumi.OutputState } func (GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutput) ElementType() reflect.Type { @@ -992,6 +1155,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutput) T return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction) GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction { if v != nil { @@ -1021,6 +1190,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionResponseOutp return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectActionResponse]{ + OutputState: o.OutputState, + } +} + // An individual action. Each action represents what to do if a policy matches. type GoogleCloudRecaptchaenterpriseV1FirewallActionResponse struct { // The user request did not match any policy and should be allowed access to the requested resource. @@ -1050,6 +1225,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionResponseOutput) ToGoogleCl return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionResponse]{ + OutputState: o.OutputState, + } +} + // The user request did not match any policy and should be allowed access to the requested resource. func (o GoogleCloudRecaptchaenterpriseV1FirewallActionResponseOutput) Allow() GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionResponseOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1FirewallActionResponse) GoogleCloudRecaptchaenterpriseV1FirewallActionAllowActionResponse { @@ -1099,6 +1280,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionResponseArrayOutput) ToGoo return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRecaptchaenterpriseV1FirewallActionResponse] { + return pulumix.Output[[]GoogleCloudRecaptchaenterpriseV1FirewallActionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1FirewallActionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRecaptchaenterpriseV1FirewallActionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRecaptchaenterpriseV1FirewallActionResponse { return vs[0].([]GoogleCloudRecaptchaenterpriseV1FirewallActionResponse)[vs[1].(int)] @@ -1144,6 +1331,12 @@ func (i GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionArgs) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionOutput) } +func (i GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionArgs) ToGoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrOutput() GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrOutputWithContext(context.Background()) } @@ -1185,6 +1378,12 @@ func (i *googleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrType) T return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrOutputWithContext(ctx).OutputState, + } +} + // A set header action sets a header and forwards the request to the backend. This can be used to trigger custom protection implemented on the backend. type GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionOutput struct{ *pulumi.OutputState } @@ -1210,6 +1409,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionOutput) ToG }).(GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction]{ + OutputState: o.OutputState, + } +} + // The header key to set in the request to the backend server. func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -1234,6 +1439,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrOutput) return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction) GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction { if v != nil { @@ -1287,6 +1498,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionResponseOut return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionResponse]{ + OutputState: o.OutputState, + } +} + // The header key to set in the request to the backend server. func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderActionResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1332,6 +1549,12 @@ func (i GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionArgs) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionOutput) } +func (i GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionArgs) ToGoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrOutput() GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrOutputWithContext(context.Background()) } @@ -1373,6 +1596,12 @@ func (i *googleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrType) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrOutputWithContext(ctx).OutputState, + } +} + // A substitute action transparently serves a different page than the one requested. type GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionOutput struct{ *pulumi.OutputState } @@ -1398,6 +1627,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionOutput) To }).(GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction]{ + OutputState: o.OutputState, + } +} + // The address to redirect to. The target is a relative path in the current host. Example: "/blog/404.html". func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -1417,6 +1652,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrOutput) return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction) GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction { if v != nil { @@ -1458,6 +1699,12 @@ func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionResponseOu return o } +func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionResponse]{ + OutputState: o.OutputState, + } +} + // The address to redirect to. The target is a relative path in the current host. Example: "/blog/404.html". func (o GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteActionResponse) string { return v.Path }).(pulumi.StringOutput) @@ -1506,6 +1753,12 @@ func (i GoogleCloudRecaptchaenterpriseV1IOSKeySettingsArgs) ToGoogleCloudRecaptc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1IOSKeySettingsOutput) } +func (i GoogleCloudRecaptchaenterpriseV1IOSKeySettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1IOSKeySettings] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1IOSKeySettings]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1IOSKeySettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1IOSKeySettingsArgs) ToGoogleCloudRecaptchaenterpriseV1IOSKeySettingsPtrOutput() GoogleCloudRecaptchaenterpriseV1IOSKeySettingsPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1IOSKeySettingsPtrOutputWithContext(context.Background()) } @@ -1547,6 +1800,12 @@ func (i *googleCloudRecaptchaenterpriseV1IOSKeySettingsPtrType) ToGoogleCloudRec return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1IOSKeySettingsPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1IOSKeySettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1IOSKeySettings] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1IOSKeySettings]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1IOSKeySettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings specific to keys that can be used by iOS apps. type GoogleCloudRecaptchaenterpriseV1IOSKeySettingsOutput struct{ *pulumi.OutputState } @@ -1572,6 +1831,12 @@ func (o GoogleCloudRecaptchaenterpriseV1IOSKeySettingsOutput) ToGoogleCloudRecap }).(GoogleCloudRecaptchaenterpriseV1IOSKeySettingsPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1IOSKeySettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1IOSKeySettings] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1IOSKeySettings]{ + OutputState: o.OutputState, + } +} + // If set to true, allowed_bundle_ids are not enforced. func (o GoogleCloudRecaptchaenterpriseV1IOSKeySettingsOutput) AllowAllBundleIds() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1IOSKeySettings) *bool { return v.AllowAllBundleIds }).(pulumi.BoolPtrOutput) @@ -1603,6 +1868,12 @@ func (o GoogleCloudRecaptchaenterpriseV1IOSKeySettingsPtrOutput) ToGoogleCloudRe return o } +func (o GoogleCloudRecaptchaenterpriseV1IOSKeySettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1IOSKeySettings] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1IOSKeySettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1IOSKeySettingsPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1IOSKeySettingsOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1IOSKeySettings) GoogleCloudRecaptchaenterpriseV1IOSKeySettings { if v != nil { @@ -1668,6 +1939,12 @@ func (o GoogleCloudRecaptchaenterpriseV1IOSKeySettingsResponseOutput) ToGoogleCl return o } +func (o GoogleCloudRecaptchaenterpriseV1IOSKeySettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1IOSKeySettingsResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1IOSKeySettingsResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, allowed_bundle_ids are not enforced. func (o GoogleCloudRecaptchaenterpriseV1IOSKeySettingsResponseOutput) AllowAllBundleIds() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1IOSKeySettingsResponse) bool { return v.AllowAllBundleIds }).(pulumi.BoolOutput) @@ -1724,6 +2001,12 @@ func (i GoogleCloudRecaptchaenterpriseV1TestingOptionsArgs) ToGoogleCloudRecaptc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1TestingOptionsOutput) } +func (i GoogleCloudRecaptchaenterpriseV1TestingOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1TestingOptions] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1TestingOptions]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1TestingOptionsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1TestingOptionsArgs) ToGoogleCloudRecaptchaenterpriseV1TestingOptionsPtrOutput() GoogleCloudRecaptchaenterpriseV1TestingOptionsPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1TestingOptionsPtrOutputWithContext(context.Background()) } @@ -1765,6 +2048,12 @@ func (i *googleCloudRecaptchaenterpriseV1TestingOptionsPtrType) ToGoogleCloudRec return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1TestingOptionsPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1TestingOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1TestingOptions] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1TestingOptions]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1TestingOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Options for user acceptance testing. type GoogleCloudRecaptchaenterpriseV1TestingOptionsOutput struct{ *pulumi.OutputState } @@ -1790,6 +2079,12 @@ func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsOutput) ToGoogleCloudRecap }).(GoogleCloudRecaptchaenterpriseV1TestingOptionsPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1TestingOptions] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1TestingOptions]{ + OutputState: o.OutputState, + } +} + // For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE. func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsOutput) TestingChallenge() GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallengePtrOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1TestingOptions) *GoogleCloudRecaptchaenterpriseV1TestingOptionsTestingChallenge { @@ -1816,6 +2111,12 @@ func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsPtrOutput) ToGoogleCloudRe return o } +func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1TestingOptions] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1TestingOptions]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1TestingOptionsOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1TestingOptions) GoogleCloudRecaptchaenterpriseV1TestingOptions { if v != nil { @@ -1869,6 +2170,12 @@ func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsResponseOutput) ToGoogleCl return o } +func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1TestingOptionsResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1TestingOptionsResponse]{ + OutputState: o.OutputState, + } +} + // For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE. func (o GoogleCloudRecaptchaenterpriseV1TestingOptionsResponseOutput) TestingChallenge() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1TestingOptionsResponse) string { return v.TestingChallenge }).(pulumi.StringOutput) @@ -1918,6 +2225,12 @@ func (i GoogleCloudRecaptchaenterpriseV1WafSettingsArgs) ToGoogleCloudRecaptchae return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1WafSettingsOutput) } +func (i GoogleCloudRecaptchaenterpriseV1WafSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1WafSettings] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1WafSettings]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1WafSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1WafSettingsArgs) ToGoogleCloudRecaptchaenterpriseV1WafSettingsPtrOutput() GoogleCloudRecaptchaenterpriseV1WafSettingsPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1WafSettingsPtrOutputWithContext(context.Background()) } @@ -1959,6 +2272,12 @@ func (i *googleCloudRecaptchaenterpriseV1WafSettingsPtrType) ToGoogleCloudRecapt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1WafSettingsPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1WafSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettings] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettings]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1WafSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings specific to keys that can be used for WAF (Web Application Firewall). type GoogleCloudRecaptchaenterpriseV1WafSettingsOutput struct{ *pulumi.OutputState } @@ -1984,6 +2303,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WafSettingsOutput) ToGoogleCloudRecaptch }).(GoogleCloudRecaptchaenterpriseV1WafSettingsPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1WafSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1WafSettings] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1WafSettings]{ + OutputState: o.OutputState, + } +} + // The WAF feature for which this key is enabled. func (o GoogleCloudRecaptchaenterpriseV1WafSettingsOutput) WafFeature() GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeatureOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1WafSettings) GoogleCloudRecaptchaenterpriseV1WafSettingsWafFeature { @@ -2012,6 +2337,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WafSettingsPtrOutput) ToGoogleCloudRecap return o } +func (o GoogleCloudRecaptchaenterpriseV1WafSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettings] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WafSettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1WafSettingsPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1WafSettingsOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1WafSettings) GoogleCloudRecaptchaenterpriseV1WafSettings { if v != nil { @@ -2065,6 +2396,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WafSettingsResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudRecaptchaenterpriseV1WafSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1WafSettingsResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1WafSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The WAF feature for which this key is enabled. func (o GoogleCloudRecaptchaenterpriseV1WafSettingsResponseOutput) WafFeature() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1WafSettingsResponse) string { return v.WafFeature }).(pulumi.StringOutput) @@ -2126,6 +2463,12 @@ func (i GoogleCloudRecaptchaenterpriseV1WebKeySettingsArgs) ToGoogleCloudRecaptc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1WebKeySettingsOutput) } +func (i GoogleCloudRecaptchaenterpriseV1WebKeySettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1WebKeySettings] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1WebKeySettings]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1WebKeySettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecaptchaenterpriseV1WebKeySettingsArgs) ToGoogleCloudRecaptchaenterpriseV1WebKeySettingsPtrOutput() GoogleCloudRecaptchaenterpriseV1WebKeySettingsPtrOutput { return i.ToGoogleCloudRecaptchaenterpriseV1WebKeySettingsPtrOutputWithContext(context.Background()) } @@ -2167,6 +2510,12 @@ func (i *googleCloudRecaptchaenterpriseV1WebKeySettingsPtrType) ToGoogleCloudRec return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecaptchaenterpriseV1WebKeySettingsPtrOutput) } +func (i *googleCloudRecaptchaenterpriseV1WebKeySettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettings] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettings]{ + OutputState: i.ToGoogleCloudRecaptchaenterpriseV1WebKeySettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings specific to keys that can be used by websites. type GoogleCloudRecaptchaenterpriseV1WebKeySettingsOutput struct{ *pulumi.OutputState } @@ -2192,6 +2541,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsOutput) ToGoogleCloudRecap }).(GoogleCloudRecaptchaenterpriseV1WebKeySettingsPtrOutput) } +func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1WebKeySettings] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1WebKeySettings]{ + OutputState: o.OutputState, + } +} + // If set to true, it means allowed_domains will not be enforced. func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsOutput) AllowAllDomains() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1WebKeySettings) *bool { return v.AllowAllDomains }).(pulumi.BoolPtrOutput) @@ -2235,6 +2590,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsPtrOutput) ToGoogleCloudRe return o } +func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettings] { + return pulumix.Output[*GoogleCloudRecaptchaenterpriseV1WebKeySettings]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsPtrOutput) Elem() GoogleCloudRecaptchaenterpriseV1WebKeySettingsOutput { return o.ApplyT(func(v *GoogleCloudRecaptchaenterpriseV1WebKeySettings) GoogleCloudRecaptchaenterpriseV1WebKeySettings { if v != nil { @@ -2324,6 +2685,12 @@ func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsResponseOutput) ToGoogleCl return o } +func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecaptchaenterpriseV1WebKeySettingsResponse] { + return pulumix.Output[GoogleCloudRecaptchaenterpriseV1WebKeySettingsResponse]{ + OutputState: o.OutputState, + } +} + // If set to true, it means allowed_domains will not be enforced. func (o GoogleCloudRecaptchaenterpriseV1WebKeySettingsResponseOutput) AllowAllDomains() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRecaptchaenterpriseV1WebKeySettingsResponse) bool { return v.AllowAllDomains }).(pulumi.BoolOutput) diff --git a/sdk/go/google/recommendationengine/v1beta1/catalogItem.go b/sdk/go/google/recommendationengine/v1beta1/catalogItem.go index 5bfab980d3..bbda4f2942 100644 --- a/sdk/go/google/recommendationengine/v1beta1/catalogItem.go +++ b/sdk/go/google/recommendationengine/v1beta1/catalogItem.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a catalog item. @@ -173,6 +174,12 @@ func (i *CatalogItem) ToCatalogItemOutputWithContext(ctx context.Context) Catalo return pulumi.ToOutputWithContext(ctx, i).(CatalogItemOutput) } +func (i *CatalogItem) ToOutput(ctx context.Context) pulumix.Output[*CatalogItem] { + return pulumix.Output[*CatalogItem]{ + OutputState: i.ToCatalogItemOutputWithContext(ctx).OutputState, + } +} + type CatalogItemOutput struct{ *pulumi.OutputState } func (CatalogItemOutput) ElementType() reflect.Type { @@ -187,6 +194,12 @@ func (o CatalogItemOutput) ToCatalogItemOutputWithContext(ctx context.Context) C return o } +func (o CatalogItemOutput) ToOutput(ctx context.Context) pulumix.Output[*CatalogItem] { + return pulumix.Output[*CatalogItem]{ + OutputState: o.OutputState, + } +} + func (o CatalogItemOutput) CatalogId() pulumi.StringOutput { return o.ApplyT(func(v *CatalogItem) pulumi.StringOutput { return v.CatalogId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/recommendationengine/v1beta1/getCatalogItem.go b/sdk/go/google/recommendationengine/v1beta1/getCatalogItem.go index ec50a6f680..86b6a66357 100644 --- a/sdk/go/google/recommendationengine/v1beta1/getCatalogItem.go +++ b/sdk/go/google/recommendationengine/v1beta1/getCatalogItem.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a specific catalog item. @@ -88,6 +89,12 @@ func (o LookupCatalogItemResultOutput) ToLookupCatalogItemResultOutputWithContex return o } +func (o LookupCatalogItemResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCatalogItemResult] { + return pulumix.Output[LookupCatalogItemResult]{ + OutputState: o.OutputState, + } +} + // Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ] func (o LookupCatalogItemResultOutput) CategoryHierarchies() GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutput { return o.ApplyT(func(v LookupCatalogItemResult) []GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse { diff --git a/sdk/go/google/recommendationengine/v1beta1/pulumiEnums.go b/sdk/go/google/recommendationengine/v1beta1/pulumiEnums.go index fc37495081..bc11ef4168 100644 --- a/sdk/go/google/recommendationengine/v1beta1/pulumiEnums.go +++ b/sdk/go/google/recommendationengine/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. Online stock state of the catalog item. Default is `IN_STOCK`. @@ -86,6 +87,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput }).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput) } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -121,6 +128,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOut return o } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState] { + return pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput) Elem() GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput { return o.ApplyT(func(v *GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState { if v != nil { @@ -183,6 +196,12 @@ func (in *googleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtr) return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput) } +func (in *googleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState] { + return pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState]{ + OutputState: in.ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateInput)(nil)).Elem(), GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState("STOCK_STATE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrInput)(nil)).Elem(), GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState("STOCK_STATE_UNSPECIFIED")) diff --git a/sdk/go/google/recommendationengine/v1beta1/pulumiTypes.go b/sdk/go/google/recommendationengine/v1beta1/pulumiTypes.go index ebeddd549b..f56b5334dc 100644 --- a/sdk/go/google/recommendationengine/v1beta1/pulumiTypes.go +++ b/sdk/go/google/recommendationengine/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput) } +func (i GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayInput is an input type that accepts GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray and GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput values. // You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayInput` via: // @@ -73,6 +80,12 @@ func (i GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput) } +func (i GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy] { + return pulumix.Output[[]GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutputWithContext(ctx).OutputState, + } +} + // Category represents catalog item category hierarchy. type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput struct{ *pulumi.OutputState } @@ -88,6 +101,12 @@ func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput return o } +func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy]{ + OutputState: o.OutputState, + } +} + // Catalog item categories. Each category should be a UTF-8 encoded string with a length limit of 2 KiB. Note that the order in the list denotes the specificity (from least to most specific). func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput) Categories() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy) []string { @@ -109,6 +128,12 @@ func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayO return o } +func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy] { + return pulumix.Output[[]GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput) Index(i pulumi.IntInput) GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy { return vs[0].([]GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy)[vs[1].(int)] @@ -136,6 +161,12 @@ func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyRespon return o } +func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse]{ + OutputState: o.OutputState, + } +} + // Catalog item categories. Each category should be a UTF-8 encoded string with a length limit of 2 KiB. Note that the order in the list denotes the specificity (from least to most specific). func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutput) Categories() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse) []string { @@ -157,6 +188,12 @@ func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyRespon return o } +func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse] { + return pulumix.Output[[]GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse { return vs[0].([]GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse)[vs[1].(int)] @@ -202,6 +239,12 @@ func (i GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToGoogleCloudRecom return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1FeatureMapOutput) } +func (i GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1FeatureMap] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1FeatureMap]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1FeatureMapOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput() GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput { return i.ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutputWithContext(context.Background()) } @@ -243,6 +286,12 @@ func (i *googleCloudRecommendationengineV1beta1FeatureMapPtrType) ToGoogleCloudR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) } +func (i *googleCloudRecommendationengineV1beta1FeatureMapPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecommendationengineV1beta1FeatureMap] { + return pulumix.Output[*GoogleCloudRecommendationengineV1beta1FeatureMap]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutputWithContext(ctx).OutputState, + } +} + // FeatureMap represents extra features that customers want to include in the recommendation model for catalogs/user events as categorical/numerical features. type GoogleCloudRecommendationengineV1beta1FeatureMapOutput struct{ *pulumi.OutputState } @@ -268,6 +317,12 @@ func (o GoogleCloudRecommendationengineV1beta1FeatureMapOutput) ToGoogleCloudRec }).(GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) } +func (o GoogleCloudRecommendationengineV1beta1FeatureMapOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1FeatureMap] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1FeatureMap]{ + OutputState: o.OutputState, + } +} + // Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example: `{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}` func (o GoogleCloudRecommendationengineV1beta1FeatureMapOutput) CategoricalFeatures() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1FeatureMap) map[string]string { @@ -294,6 +349,12 @@ func (o GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecommendationengineV1beta1FeatureMap] { + return pulumix.Output[*GoogleCloudRecommendationengineV1beta1FeatureMap]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) Elem() GoogleCloudRecommendationengineV1beta1FeatureMapOutput { return o.ApplyT(func(v *GoogleCloudRecommendationengineV1beta1FeatureMap) GoogleCloudRecommendationengineV1beta1FeatureMap { if v != nil { @@ -347,6 +408,12 @@ func (o GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput) ToGoogle return o } +func (o GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1FeatureMapResponse] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1FeatureMapResponse]{ + OutputState: o.OutputState, + } +} + // Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example: `{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}` func (o GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput) CategoricalFeatures() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1FeatureMapResponse) map[string]string { @@ -404,6 +471,12 @@ func (i GoogleCloudRecommendationengineV1beta1ImageArgs) ToGoogleCloudRecommenda return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1ImageOutput) } +func (i GoogleCloudRecommendationengineV1beta1ImageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1Image] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1Image]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1ImageOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRecommendationengineV1beta1ImageArrayInput is an input type that accepts GoogleCloudRecommendationengineV1beta1ImageArray and GoogleCloudRecommendationengineV1beta1ImageArrayOutput values. // You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1ImageArrayInput` via: // @@ -429,6 +502,12 @@ func (i GoogleCloudRecommendationengineV1beta1ImageArray) ToGoogleCloudRecommend return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1ImageArrayOutput) } +func (i GoogleCloudRecommendationengineV1beta1ImageArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRecommendationengineV1beta1Image] { + return pulumix.Output[[]GoogleCloudRecommendationengineV1beta1Image]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1ImageArrayOutputWithContext(ctx).OutputState, + } +} + // Catalog item thumbnail/detail image. type GoogleCloudRecommendationengineV1beta1ImageOutput struct{ *pulumi.OutputState } @@ -444,6 +523,12 @@ func (o GoogleCloudRecommendationengineV1beta1ImageOutput) ToGoogleCloudRecommen return o } +func (o GoogleCloudRecommendationengineV1beta1ImageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1Image] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1Image]{ + OutputState: o.OutputState, + } +} + // Optional. Height of the image in number of pixels. func (o GoogleCloudRecommendationengineV1beta1ImageOutput) Height() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1Image) *int { return v.Height }).(pulumi.IntPtrOutput) @@ -473,6 +558,12 @@ func (o GoogleCloudRecommendationengineV1beta1ImageArrayOutput) ToGoogleCloudRec return o } +func (o GoogleCloudRecommendationengineV1beta1ImageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRecommendationengineV1beta1Image] { + return pulumix.Output[[]GoogleCloudRecommendationengineV1beta1Image]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecommendationengineV1beta1ImageArrayOutput) Index(i pulumi.IntInput) GoogleCloudRecommendationengineV1beta1ImageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRecommendationengineV1beta1Image { return vs[0].([]GoogleCloudRecommendationengineV1beta1Image)[vs[1].(int)] @@ -504,6 +595,12 @@ func (o GoogleCloudRecommendationengineV1beta1ImageResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudRecommendationengineV1beta1ImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ImageResponse] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ImageResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Height of the image in number of pixels. func (o GoogleCloudRecommendationengineV1beta1ImageResponseOutput) Height() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1ImageResponse) int { return v.Height }).(pulumi.IntOutput) @@ -533,6 +630,12 @@ func (o GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput) ToGoogle return o } +func (o GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRecommendationengineV1beta1ImageResponse] { + return pulumix.Output[[]GoogleCloudRecommendationengineV1beta1ImageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRecommendationengineV1beta1ImageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRecommendationengineV1beta1ImageResponse { return vs[0].([]GoogleCloudRecommendationengineV1beta1ImageResponse)[vs[1].(int)] @@ -602,6 +705,12 @@ func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) } +func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItem] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItem]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput { return i.ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutputWithContext(context.Background()) } @@ -643,6 +752,12 @@ func (i *googleCloudRecommendationengineV1beta1ProductCatalogItemPtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) } +func (i *googleCloudRecommendationengineV1beta1ProductCatalogItemPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItem] { + return pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItem]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutputWithContext(ctx).OutputState, + } +} + // ProductCatalogItem captures item metadata specific to retail products. type GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput struct{ *pulumi.OutputState } @@ -668,6 +783,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) ToGoogle }).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItem] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItem]{ + OutputState: o.OutputState, + } +} + // Optional. The available quantity of the item. func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) AvailableQuantity() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1ProductCatalogItem) *string { return v.AvailableQuantity }).(pulumi.StringPtrOutput) @@ -730,6 +851,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) ToGoo return o } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItem] { + return pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItem]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) Elem() GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput { return o.ApplyT(func(v *GoogleCloudRecommendationengineV1beta1ProductCatalogItem) GoogleCloudRecommendationengineV1beta1ProductCatalogItem { if v != nil { @@ -859,6 +986,12 @@ func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) } +func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput { return i.ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutputWithContext(context.Background()) } @@ -900,6 +1033,12 @@ func (i *googleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrTy return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput) } +func (i *googleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice] { + return pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutputWithContext(ctx).OutputState, + } +} + // Exact product price. type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput struct{ *pulumi.OutputState } @@ -925,6 +1064,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput }).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput) } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice]{ + OutputState: o.OutputState, + } +} + // Optional. Display price of the product. func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) DisplayPrice() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice) *float64 { @@ -953,6 +1098,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOut return o } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice] { + return pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput) Elem() GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput { return o.ApplyT(func(v *GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice) GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice { if v != nil { @@ -1006,6 +1157,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceRespon return o } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponse] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Display price of the product. func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutput) DisplayPrice() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponse) float64 { @@ -1059,6 +1216,12 @@ func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) } +func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput { return i.ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutputWithContext(context.Background()) } @@ -1100,6 +1263,12 @@ func (i *googleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrTy return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput) } +func (i *googleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange] { + return pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange]{ + OutputState: i.ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutputWithContext(ctx).OutputState, + } +} + // Product price range when there are a range of prices for different variations of the same product. type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput struct{ *pulumi.OutputState } @@ -1125,6 +1294,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput }).(GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput) } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange]{ + OutputState: o.OutputState, + } +} + // The maximum product price. func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) Max() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange) float64 { return v.Max }).(pulumi.Float64Output) @@ -1149,6 +1324,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOut return o } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange] { + return pulumix.Output[*GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput) Elem() GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput { return o.ApplyT(func(v *GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange) GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange { if v != nil { @@ -1202,6 +1383,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeRespon return o } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponse] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponse]{ + OutputState: o.OutputState, + } +} + // The maximum product price. func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutput) Max() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponse) float64 { @@ -1251,6 +1438,12 @@ func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) return o } +func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponse] { + return pulumix.Output[GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The available quantity of the item. func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) AvailableQuantity() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponse) string { diff --git a/sdk/go/google/redis/v1/getInstance.go b/sdk/go/google/redis/v1/getInstance.go index afe69e602d..5a03ca0b24 100644 --- a/sdk/go/google/redis/v1/getInstance.go +++ b/sdk/go/google/redis/v1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific Redis instance. @@ -138,6 +139,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service. func (o LookupInstanceResultOutput) AlternativeLocationId() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceResult) string { return v.AlternativeLocationId }).(pulumi.StringOutput) diff --git a/sdk/go/google/redis/v1/instance.go b/sdk/go/google/redis/v1/instance.go index 22e28cdb81..a9e1d3f99d 100644 --- a/sdk/go/google/redis/v1/instance.go +++ b/sdk/go/google/redis/v1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Redis instance based on the specified tier and memory size. By default, the instance is accessible from the project's [default network](https://cloud.google.com/vpc/docs/vpc). The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis instance will be fully functional. Completed longrunning.Operation will contain the new instance object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation. @@ -272,6 +273,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -286,6 +293,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service. func (o InstanceOutput) AlternativeLocationId() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.AlternativeLocationId }).(pulumi.StringOutput) diff --git a/sdk/go/google/redis/v1/pulumiEnums.go b/sdk/go/google/redis/v1/pulumiEnums.go index 238159c6a1..de793a74dd 100644 --- a/sdk/go/google/redis/v1/pulumiEnums.go +++ b/sdk/go/google/redis/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING. @@ -82,6 +83,12 @@ func (o InstanceConnectModeOutput) ToInstanceConnectModePtrOutputWithContext(ctx }).(InstanceConnectModePtrOutput) } +func (o InstanceConnectModeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceConnectMode] { + return pulumix.Output[InstanceConnectMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceConnectModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o InstanceConnectModePtrOutput) ToInstanceConnectModePtrOutputWithContext( return o } +func (o InstanceConnectModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceConnectMode] { + return pulumix.Output[*InstanceConnectMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceConnectModePtrOutput) Elem() InstanceConnectModeOutput { return o.ApplyT(func(v *InstanceConnectMode) InstanceConnectMode { if v != nil { @@ -179,6 +192,12 @@ func (in *instanceConnectModePtr) ToInstanceConnectModePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(InstanceConnectModePtrOutput) } +func (in *instanceConnectModePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceConnectMode] { + return pulumix.Output[*InstanceConnectMode]{ + OutputState: in.ToInstanceConnectModePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED. type InstanceReadReplicasMode string @@ -251,6 +270,12 @@ func (o InstanceReadReplicasModeOutput) ToInstanceReadReplicasModePtrOutputWithC }).(InstanceReadReplicasModePtrOutput) } +func (o InstanceReadReplicasModeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceReadReplicasMode] { + return pulumix.Output[InstanceReadReplicasMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceReadReplicasModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o InstanceReadReplicasModePtrOutput) ToInstanceReadReplicasModePtrOutputWi return o } +func (o InstanceReadReplicasModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceReadReplicasMode] { + return pulumix.Output[*InstanceReadReplicasMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceReadReplicasModePtrOutput) Elem() InstanceReadReplicasModeOutput { return o.ApplyT(func(v *InstanceReadReplicasMode) InstanceReadReplicasMode { if v != nil { @@ -348,6 +379,12 @@ func (in *instanceReadReplicasModePtr) ToInstanceReadReplicasModePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(InstanceReadReplicasModePtrOutput) } +func (in *instanceReadReplicasModePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceReadReplicasMode] { + return pulumix.Output[*InstanceReadReplicasMode]{ + OutputState: in.ToInstanceReadReplicasModePtrOutputWithContext(ctx).OutputState, + } +} + type InstanceSuspensionReasonsItem string const ( @@ -417,6 +454,12 @@ func (o InstanceSuspensionReasonsItemOutput) ToInstanceSuspensionReasonsItemPtrO }).(InstanceSuspensionReasonsItemPtrOutput) } +func (o InstanceSuspensionReasonsItemOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceSuspensionReasonsItem] { + return pulumix.Output[InstanceSuspensionReasonsItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -452,6 +495,12 @@ func (o InstanceSuspensionReasonsItemPtrOutput) ToInstanceSuspensionReasonsItemP return o } +func (o InstanceSuspensionReasonsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceSuspensionReasonsItem] { + return pulumix.Output[*InstanceSuspensionReasonsItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonsItemPtrOutput) Elem() InstanceSuspensionReasonsItemOutput { return o.ApplyT(func(v *InstanceSuspensionReasonsItem) InstanceSuspensionReasonsItem { if v != nil { @@ -514,6 +563,12 @@ func (in *instanceSuspensionReasonsItemPtr) ToInstanceSuspensionReasonsItemPtrOu return pulumi.ToOutputWithContext(ctx, in).(InstanceSuspensionReasonsItemPtrOutput) } +func (in *instanceSuspensionReasonsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceSuspensionReasonsItem] { + return pulumix.Output[*InstanceSuspensionReasonsItem]{ + OutputState: in.ToInstanceSuspensionReasonsItemPtrOutputWithContext(ctx).OutputState, + } +} + // InstanceSuspensionReasonsItemArrayInput is an input type that accepts InstanceSuspensionReasonsItemArray and InstanceSuspensionReasonsItemArrayOutput values. // You can construct a concrete instance of `InstanceSuspensionReasonsItemArrayInput` via: // @@ -539,6 +594,12 @@ func (i InstanceSuspensionReasonsItemArray) ToInstanceSuspensionReasonsItemArray return pulumi.ToOutputWithContext(ctx, i).(InstanceSuspensionReasonsItemArrayOutput) } +func (i InstanceSuspensionReasonsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceSuspensionReasonsItem] { + return pulumix.Output[[]InstanceSuspensionReasonsItem]{ + OutputState: i.ToInstanceSuspensionReasonsItemArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceSuspensionReasonsItemArrayOutput struct{ *pulumi.OutputState } func (InstanceSuspensionReasonsItemArrayOutput) ElementType() reflect.Type { @@ -553,6 +614,12 @@ func (o InstanceSuspensionReasonsItemArrayOutput) ToInstanceSuspensionReasonsIte return o } +func (o InstanceSuspensionReasonsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceSuspensionReasonsItem] { + return pulumix.Output[[]InstanceSuspensionReasonsItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonsItemArrayOutput) Index(i pulumi.IntInput) InstanceSuspensionReasonsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceSuspensionReasonsItem { return vs[0].([]InstanceSuspensionReasonsItem)[vs[1].(int)] @@ -631,6 +698,12 @@ func (o InstanceTierOutput) ToInstanceTierPtrOutputWithContext(ctx context.Conte }).(InstanceTierPtrOutput) } +func (o InstanceTierOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceTier] { + return pulumix.Output[InstanceTier]{ + OutputState: o.OutputState, + } +} + func (o InstanceTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -666,6 +739,12 @@ func (o InstanceTierPtrOutput) ToInstanceTierPtrOutputWithContext(ctx context.Co return o } +func (o InstanceTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTier] { + return pulumix.Output[*InstanceTier]{ + OutputState: o.OutputState, + } +} + func (o InstanceTierPtrOutput) Elem() InstanceTierOutput { return o.ApplyT(func(v *InstanceTier) InstanceTier { if v != nil { @@ -728,6 +807,12 @@ func (in *instanceTierPtr) ToInstanceTierPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(InstanceTierPtrOutput) } +func (in *instanceTierPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceTier] { + return pulumix.Output[*InstanceTier]{ + OutputState: in.ToInstanceTierPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance. type InstanceTransitEncryptionMode string @@ -800,6 +885,12 @@ func (o InstanceTransitEncryptionModeOutput) ToInstanceTransitEncryptionModePtrO }).(InstanceTransitEncryptionModePtrOutput) } +func (o InstanceTransitEncryptionModeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceTransitEncryptionMode] { + return pulumix.Output[InstanceTransitEncryptionMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceTransitEncryptionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -835,6 +926,12 @@ func (o InstanceTransitEncryptionModePtrOutput) ToInstanceTransitEncryptionModeP return o } +func (o InstanceTransitEncryptionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTransitEncryptionMode] { + return pulumix.Output[*InstanceTransitEncryptionMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceTransitEncryptionModePtrOutput) Elem() InstanceTransitEncryptionModeOutput { return o.ApplyT(func(v *InstanceTransitEncryptionMode) InstanceTransitEncryptionMode { if v != nil { @@ -897,6 +994,12 @@ func (in *instanceTransitEncryptionModePtr) ToInstanceTransitEncryptionModePtrOu return pulumi.ToOutputWithContext(ctx, in).(InstanceTransitEncryptionModePtrOutput) } +func (in *instanceTransitEncryptionModePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceTransitEncryptionMode] { + return pulumix.Output[*InstanceTransitEncryptionMode]{ + OutputState: in.ToInstanceTransitEncryptionModePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. type PersistenceConfigPersistenceMode string @@ -969,6 +1072,12 @@ func (o PersistenceConfigPersistenceModeOutput) ToPersistenceConfigPersistenceMo }).(PersistenceConfigPersistenceModePtrOutput) } +func (o PersistenceConfigPersistenceModeOutput) ToOutput(ctx context.Context) pulumix.Output[PersistenceConfigPersistenceMode] { + return pulumix.Output[PersistenceConfigPersistenceMode]{ + OutputState: o.OutputState, + } +} + func (o PersistenceConfigPersistenceModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1004,6 +1113,12 @@ func (o PersistenceConfigPersistenceModePtrOutput) ToPersistenceConfigPersistenc return o } +func (o PersistenceConfigPersistenceModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfigPersistenceMode] { + return pulumix.Output[*PersistenceConfigPersistenceMode]{ + OutputState: o.OutputState, + } +} + func (o PersistenceConfigPersistenceModePtrOutput) Elem() PersistenceConfigPersistenceModeOutput { return o.ApplyT(func(v *PersistenceConfigPersistenceMode) PersistenceConfigPersistenceMode { if v != nil { @@ -1066,6 +1181,12 @@ func (in *persistenceConfigPersistenceModePtr) ToPersistenceConfigPersistenceMod return pulumi.ToOutputWithContext(ctx, in).(PersistenceConfigPersistenceModePtrOutput) } +func (in *persistenceConfigPersistenceModePtr) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfigPersistenceMode] { + return pulumix.Output[*PersistenceConfigPersistenceMode]{ + OutputState: in.ToPersistenceConfigPersistenceModePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default. type PersistenceConfigRdbSnapshotPeriod string @@ -1142,6 +1263,12 @@ func (o PersistenceConfigRdbSnapshotPeriodOutput) ToPersistenceConfigRdbSnapshot }).(PersistenceConfigRdbSnapshotPeriodPtrOutput) } +func (o PersistenceConfigRdbSnapshotPeriodOutput) ToOutput(ctx context.Context) pulumix.Output[PersistenceConfigRdbSnapshotPeriod] { + return pulumix.Output[PersistenceConfigRdbSnapshotPeriod]{ + OutputState: o.OutputState, + } +} + func (o PersistenceConfigRdbSnapshotPeriodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1177,6 +1304,12 @@ func (o PersistenceConfigRdbSnapshotPeriodPtrOutput) ToPersistenceConfigRdbSnaps return o } +func (o PersistenceConfigRdbSnapshotPeriodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfigRdbSnapshotPeriod] { + return pulumix.Output[*PersistenceConfigRdbSnapshotPeriod]{ + OutputState: o.OutputState, + } +} + func (o PersistenceConfigRdbSnapshotPeriodPtrOutput) Elem() PersistenceConfigRdbSnapshotPeriodOutput { return o.ApplyT(func(v *PersistenceConfigRdbSnapshotPeriod) PersistenceConfigRdbSnapshotPeriod { if v != nil { @@ -1239,6 +1372,12 @@ func (in *persistenceConfigRdbSnapshotPeriodPtr) ToPersistenceConfigRdbSnapshotP return pulumi.ToOutputWithContext(ctx, in).(PersistenceConfigRdbSnapshotPeriodPtrOutput) } +func (in *persistenceConfigRdbSnapshotPeriodPtr) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfigRdbSnapshotPeriod] { + return pulumix.Output[*PersistenceConfigRdbSnapshotPeriod]{ + OutputState: in.ToPersistenceConfigRdbSnapshotPeriodPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The day of week that maintenance updates occur. type WeeklyMaintenanceWindowDay string @@ -1321,6 +1460,12 @@ func (o WeeklyMaintenanceWindowDayOutput) ToWeeklyMaintenanceWindowDayPtrOutputW }).(WeeklyMaintenanceWindowDayPtrOutput) } +func (o WeeklyMaintenanceWindowDayOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindowDay] { + return pulumix.Output[WeeklyMaintenanceWindowDay]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowDayOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1356,6 +1501,12 @@ func (o WeeklyMaintenanceWindowDayPtrOutput) ToWeeklyMaintenanceWindowDayPtrOutp return o } +func (o WeeklyMaintenanceWindowDayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WeeklyMaintenanceWindowDay] { + return pulumix.Output[*WeeklyMaintenanceWindowDay]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowDayPtrOutput) Elem() WeeklyMaintenanceWindowDayOutput { return o.ApplyT(func(v *WeeklyMaintenanceWindowDay) WeeklyMaintenanceWindowDay { if v != nil { @@ -1418,6 +1569,12 @@ func (in *weeklyMaintenanceWindowDayPtr) ToWeeklyMaintenanceWindowDayPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(WeeklyMaintenanceWindowDayPtrOutput) } +func (in *weeklyMaintenanceWindowDayPtr) ToOutput(ctx context.Context) pulumix.Output[*WeeklyMaintenanceWindowDay] { + return pulumix.Output[*WeeklyMaintenanceWindowDay]{ + OutputState: in.ToWeeklyMaintenanceWindowDayPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceConnectModeInput)(nil)).Elem(), InstanceConnectMode("CONNECT_MODE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*InstanceConnectModePtrInput)(nil)).Elem(), InstanceConnectMode("CONNECT_MODE_UNSPECIFIED")) diff --git a/sdk/go/google/redis/v1/pulumiTypes.go b/sdk/go/google/redis/v1/pulumiTypes.go index 5552f683cf..9d25e508d8 100644 --- a/sdk/go/google/redis/v1/pulumiTypes.go +++ b/sdk/go/google/redis/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i MaintenancePolicyArgs) ToMaintenancePolicyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenancePolicyOutput) } +func (i MaintenancePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicy] { + return pulumix.Output[MaintenancePolicy]{ + OutputState: i.ToMaintenancePolicyOutputWithContext(ctx).OutputState, + } +} + func (i MaintenancePolicyArgs) ToMaintenancePolicyPtrOutput() MaintenancePolicyPtrOutput { return i.ToMaintenancePolicyPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *maintenancePolicyPtrType) ToMaintenancePolicyPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenancePolicyPtrOutput) } +func (i *maintenancePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenancePolicy] { + return pulumix.Output[*MaintenancePolicy]{ + OutputState: i.ToMaintenancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance policy for an instance. type MaintenancePolicyOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o MaintenancePolicyOutput) ToMaintenancePolicyPtrOutputWithContext(ctx con }).(MaintenancePolicyPtrOutput) } +func (o MaintenancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicy] { + return pulumix.Output[MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + // Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512. func (o MaintenancePolicyOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v MaintenancePolicy) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -142,6 +161,12 @@ func (o MaintenancePolicyPtrOutput) ToMaintenancePolicyPtrOutputWithContext(ctx return o } +func (o MaintenancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenancePolicy] { + return pulumix.Output[*MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o MaintenancePolicyPtrOutput) Elem() MaintenancePolicyOutput { return o.ApplyT(func(v *MaintenancePolicy) MaintenancePolicy { if v != nil { @@ -199,6 +224,12 @@ func (o MaintenancePolicyResponseOutput) ToMaintenancePolicyResponseOutputWithCo return o } +func (o MaintenancePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicyResponse] { + return pulumix.Output[MaintenancePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The time when the policy was created. func (o MaintenancePolicyResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v MaintenancePolicyResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -246,6 +277,12 @@ func (o MaintenanceScheduleResponseOutput) ToMaintenanceScheduleResponseOutputWi return o } +func (o MaintenanceScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceScheduleResponse] { + return pulumix.Output[MaintenanceScheduleResponse]{ + OutputState: o.OutputState, + } +} + // If the scheduled maintenance can be rescheduled, default is true. func (o MaintenanceScheduleResponseOutput) CanReschedule() pulumi.BoolOutput { return o.ApplyT(func(v MaintenanceScheduleResponse) bool { return v.CanReschedule }).(pulumi.BoolOutput) @@ -287,6 +324,12 @@ func (o NodeInfoResponseOutput) ToNodeInfoResponseOutputWithContext(ctx context. return o } +func (o NodeInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeInfoResponse] { + return pulumix.Output[NodeInfoResponse]{ + OutputState: o.OutputState, + } +} + // Location of the node. func (o NodeInfoResponseOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v NodeInfoResponse) string { return v.Zone }).(pulumi.StringOutput) @@ -306,6 +349,12 @@ func (o NodeInfoResponseArrayOutput) ToNodeInfoResponseArrayOutputWithContext(ct return o } +func (o NodeInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeInfoResponse] { + return pulumix.Output[[]NodeInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeInfoResponseArrayOutput) Index(i pulumi.IntInput) NodeInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeInfoResponse { return vs[0].([]NodeInfoResponse)[vs[1].(int)] @@ -355,6 +404,12 @@ func (i PersistenceConfigArgs) ToPersistenceConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PersistenceConfigOutput) } +func (i PersistenceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PersistenceConfig] { + return pulumix.Output[PersistenceConfig]{ + OutputState: i.ToPersistenceConfigOutputWithContext(ctx).OutputState, + } +} + func (i PersistenceConfigArgs) ToPersistenceConfigPtrOutput() PersistenceConfigPtrOutput { return i.ToPersistenceConfigPtrOutputWithContext(context.Background()) } @@ -396,6 +451,12 @@ func (i *persistenceConfigPtrType) ToPersistenceConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PersistenceConfigPtrOutput) } +func (i *persistenceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfig] { + return pulumix.Output[*PersistenceConfig]{ + OutputState: i.ToPersistenceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of the persistence functionality. type PersistenceConfigOutput struct{ *pulumi.OutputState } @@ -421,6 +482,12 @@ func (o PersistenceConfigOutput) ToPersistenceConfigPtrOutputWithContext(ctx con }).(PersistenceConfigPtrOutput) } +func (o PersistenceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PersistenceConfig] { + return pulumix.Output[PersistenceConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. func (o PersistenceConfigOutput) PersistenceMode() PersistenceConfigPersistenceModePtrOutput { return o.ApplyT(func(v PersistenceConfig) *PersistenceConfigPersistenceMode { return v.PersistenceMode }).(PersistenceConfigPersistenceModePtrOutput) @@ -450,6 +517,12 @@ func (o PersistenceConfigPtrOutput) ToPersistenceConfigPtrOutputWithContext(ctx return o } +func (o PersistenceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfig] { + return pulumix.Output[*PersistenceConfig]{ + OutputState: o.OutputState, + } +} + func (o PersistenceConfigPtrOutput) Elem() PersistenceConfigOutput { return o.ApplyT(func(v *PersistenceConfig) PersistenceConfig { if v != nil { @@ -517,6 +590,12 @@ func (o PersistenceConfigResponseOutput) ToPersistenceConfigResponseOutputWithCo return o } +func (o PersistenceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PersistenceConfigResponse] { + return pulumix.Output[PersistenceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. func (o PersistenceConfigResponseOutput) PersistenceMode() pulumi.StringOutput { return o.ApplyT(func(v PersistenceConfigResponse) string { return v.PersistenceMode }).(pulumi.StringOutput) @@ -584,6 +663,12 @@ func (i TimeOfDayArgs) ToTimeOfDayOutputWithContext(ctx context.Context) TimeOfD return pulumi.ToOutputWithContext(ctx, i).(TimeOfDayOutput) } +func (i TimeOfDayArgs) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: i.ToTimeOfDayOutputWithContext(ctx).OutputState, + } +} + // Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. type TimeOfDayOutput struct{ *pulumi.OutputState } @@ -599,6 +684,12 @@ func (o TimeOfDayOutput) ToTimeOfDayOutputWithContext(ctx context.Context) TimeO return o } +func (o TimeOfDayOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayOutput) Hours() pulumi.IntPtrOutput { return o.ApplyT(func(v TimeOfDay) *int { return v.Hours }).(pulumi.IntPtrOutput) @@ -646,6 +737,12 @@ func (o TimeOfDayResponseOutput) ToTimeOfDayResponseOutputWithContext(ctx contex return o } +func (o TimeOfDayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDayResponse] { + return pulumix.Output[TimeOfDayResponse]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayResponseOutput) Hours() pulumi.IntOutput { return o.ApplyT(func(v TimeOfDayResponse) int { return v.Hours }).(pulumi.IntOutput) @@ -695,6 +792,12 @@ func (o TlsCertificateResponseOutput) ToTlsCertificateResponseOutputWithContext( return o } +func (o TlsCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsCertificateResponse] { + return pulumix.Output[TlsCertificateResponse]{ + OutputState: o.OutputState, + } +} + // PEM representation. func (o TlsCertificateResponseOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v TlsCertificateResponse) string { return v.Cert }).(pulumi.StringOutput) @@ -734,6 +837,12 @@ func (o TlsCertificateResponseArrayOutput) ToTlsCertificateResponseArrayOutputWi return o } +func (o TlsCertificateResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsCertificateResponse] { + return pulumix.Output[[]TlsCertificateResponse]{ + OutputState: o.OutputState, + } +} + func (o TlsCertificateResponseArrayOutput) Index(i pulumi.IntInput) TlsCertificateResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsCertificateResponse { return vs[0].([]TlsCertificateResponse)[vs[1].(int)] @@ -779,6 +888,12 @@ func (i WeeklyMaintenanceWindowArgs) ToWeeklyMaintenanceWindowOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(WeeklyMaintenanceWindowOutput) } +func (i WeeklyMaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindow] { + return pulumix.Output[WeeklyMaintenanceWindow]{ + OutputState: i.ToWeeklyMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + // WeeklyMaintenanceWindowArrayInput is an input type that accepts WeeklyMaintenanceWindowArray and WeeklyMaintenanceWindowArrayOutput values. // You can construct a concrete instance of `WeeklyMaintenanceWindowArrayInput` via: // @@ -804,6 +919,12 @@ func (i WeeklyMaintenanceWindowArray) ToWeeklyMaintenanceWindowArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(WeeklyMaintenanceWindowArrayOutput) } +func (i WeeklyMaintenanceWindowArray) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindow] { + return pulumix.Output[[]WeeklyMaintenanceWindow]{ + OutputState: i.ToWeeklyMaintenanceWindowArrayOutputWithContext(ctx).OutputState, + } +} + // Time window in which disruptive maintenance updates occur. Non-disruptive updates can occur inside or outside this window. type WeeklyMaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -819,6 +940,12 @@ func (o WeeklyMaintenanceWindowOutput) ToWeeklyMaintenanceWindowOutputWithContex return o } +func (o WeeklyMaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindow] { + return pulumix.Output[WeeklyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // The day of week that maintenance updates occur. func (o WeeklyMaintenanceWindowOutput) Day() WeeklyMaintenanceWindowDayOutput { return o.ApplyT(func(v WeeklyMaintenanceWindow) WeeklyMaintenanceWindowDay { return v.Day }).(WeeklyMaintenanceWindowDayOutput) @@ -843,6 +970,12 @@ func (o WeeklyMaintenanceWindowArrayOutput) ToWeeklyMaintenanceWindowArrayOutput return o } +func (o WeeklyMaintenanceWindowArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindow] { + return pulumix.Output[[]WeeklyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowArrayOutput) Index(i pulumi.IntInput) WeeklyMaintenanceWindowOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeeklyMaintenanceWindow { return vs[0].([]WeeklyMaintenanceWindow)[vs[1].(int)] @@ -874,6 +1007,12 @@ func (o WeeklyMaintenanceWindowResponseOutput) ToWeeklyMaintenanceWindowResponse return o } +func (o WeeklyMaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindowResponse] { + return pulumix.Output[WeeklyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // The day of week that maintenance updates occur. func (o WeeklyMaintenanceWindowResponseOutput) Day() pulumi.StringOutput { return o.ApplyT(func(v WeeklyMaintenanceWindowResponse) string { return v.Day }).(pulumi.StringOutput) @@ -903,6 +1042,12 @@ func (o WeeklyMaintenanceWindowResponseArrayOutput) ToWeeklyMaintenanceWindowRes return o } +func (o WeeklyMaintenanceWindowResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindowResponse] { + return pulumix.Output[[]WeeklyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowResponseArrayOutput) Index(i pulumi.IntInput) WeeklyMaintenanceWindowResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeeklyMaintenanceWindowResponse { return vs[0].([]WeeklyMaintenanceWindowResponse)[vs[1].(int)] diff --git a/sdk/go/google/redis/v1beta1/getInstance.go b/sdk/go/google/redis/v1beta1/getInstance.go index 59364044e6..468883ebbd 100644 --- a/sdk/go/google/redis/v1beta1/getInstance.go +++ b/sdk/go/google/redis/v1beta1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a specific Redis instance. @@ -138,6 +139,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service. func (o LookupInstanceResultOutput) AlternativeLocationId() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceResult) string { return v.AlternativeLocationId }).(pulumi.StringOutput) diff --git a/sdk/go/google/redis/v1beta1/instance.go b/sdk/go/google/redis/v1beta1/instance.go index dd3978ebd5..a0d9744cb5 100644 --- a/sdk/go/google/redis/v1beta1/instance.go +++ b/sdk/go/google/redis/v1beta1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Redis instance based on the specified tier and memory size. By default, the instance is accessible from the project's [default network](https://cloud.google.com/vpc/docs/vpc). The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis instance will be fully functional. The completed longrunning.Operation will contain the new instance object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation. @@ -272,6 +273,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -286,6 +293,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // Optional. If specified, at least one node will be provisioned in this zone in addition to the zone specified in location_id. Only applicable to standard tier. If provided, it must be a different zone from the one provided in [location_id]. Additional nodes beyond the first 2 will be placed in zones selected by the service. func (o InstanceOutput) AlternativeLocationId() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.AlternativeLocationId }).(pulumi.StringOutput) diff --git a/sdk/go/google/redis/v1beta1/pulumiEnums.go b/sdk/go/google/redis/v1beta1/pulumiEnums.go index 66e770d402..12f1e2d79d 100644 --- a/sdk/go/google/redis/v1beta1/pulumiEnums.go +++ b/sdk/go/google/redis/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING. @@ -82,6 +83,12 @@ func (o InstanceConnectModeOutput) ToInstanceConnectModePtrOutputWithContext(ctx }).(InstanceConnectModePtrOutput) } +func (o InstanceConnectModeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceConnectMode] { + return pulumix.Output[InstanceConnectMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceConnectModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o InstanceConnectModePtrOutput) ToInstanceConnectModePtrOutputWithContext( return o } +func (o InstanceConnectModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceConnectMode] { + return pulumix.Output[*InstanceConnectMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceConnectModePtrOutput) Elem() InstanceConnectModeOutput { return o.ApplyT(func(v *InstanceConnectMode) InstanceConnectMode { if v != nil { @@ -179,6 +192,12 @@ func (in *instanceConnectModePtr) ToInstanceConnectModePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(InstanceConnectModePtrOutput) } +func (in *instanceConnectModePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceConnectMode] { + return pulumix.Output[*InstanceConnectMode]{ + OutputState: in.ToInstanceConnectModePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED. type InstanceReadReplicasMode string @@ -251,6 +270,12 @@ func (o InstanceReadReplicasModeOutput) ToInstanceReadReplicasModePtrOutputWithC }).(InstanceReadReplicasModePtrOutput) } +func (o InstanceReadReplicasModeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceReadReplicasMode] { + return pulumix.Output[InstanceReadReplicasMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceReadReplicasModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o InstanceReadReplicasModePtrOutput) ToInstanceReadReplicasModePtrOutputWi return o } +func (o InstanceReadReplicasModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceReadReplicasMode] { + return pulumix.Output[*InstanceReadReplicasMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceReadReplicasModePtrOutput) Elem() InstanceReadReplicasModeOutput { return o.ApplyT(func(v *InstanceReadReplicasMode) InstanceReadReplicasMode { if v != nil { @@ -348,6 +379,12 @@ func (in *instanceReadReplicasModePtr) ToInstanceReadReplicasModePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(InstanceReadReplicasModePtrOutput) } +func (in *instanceReadReplicasModePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceReadReplicasMode] { + return pulumix.Output[*InstanceReadReplicasMode]{ + OutputState: in.ToInstanceReadReplicasModePtrOutputWithContext(ctx).OutputState, + } +} + type InstanceSuspensionReasonsItem string const ( @@ -417,6 +454,12 @@ func (o InstanceSuspensionReasonsItemOutput) ToInstanceSuspensionReasonsItemPtrO }).(InstanceSuspensionReasonsItemPtrOutput) } +func (o InstanceSuspensionReasonsItemOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceSuspensionReasonsItem] { + return pulumix.Output[InstanceSuspensionReasonsItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -452,6 +495,12 @@ func (o InstanceSuspensionReasonsItemPtrOutput) ToInstanceSuspensionReasonsItemP return o } +func (o InstanceSuspensionReasonsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceSuspensionReasonsItem] { + return pulumix.Output[*InstanceSuspensionReasonsItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonsItemPtrOutput) Elem() InstanceSuspensionReasonsItemOutput { return o.ApplyT(func(v *InstanceSuspensionReasonsItem) InstanceSuspensionReasonsItem { if v != nil { @@ -514,6 +563,12 @@ func (in *instanceSuspensionReasonsItemPtr) ToInstanceSuspensionReasonsItemPtrOu return pulumi.ToOutputWithContext(ctx, in).(InstanceSuspensionReasonsItemPtrOutput) } +func (in *instanceSuspensionReasonsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceSuspensionReasonsItem] { + return pulumix.Output[*InstanceSuspensionReasonsItem]{ + OutputState: in.ToInstanceSuspensionReasonsItemPtrOutputWithContext(ctx).OutputState, + } +} + // InstanceSuspensionReasonsItemArrayInput is an input type that accepts InstanceSuspensionReasonsItemArray and InstanceSuspensionReasonsItemArrayOutput values. // You can construct a concrete instance of `InstanceSuspensionReasonsItemArrayInput` via: // @@ -539,6 +594,12 @@ func (i InstanceSuspensionReasonsItemArray) ToInstanceSuspensionReasonsItemArray return pulumi.ToOutputWithContext(ctx, i).(InstanceSuspensionReasonsItemArrayOutput) } +func (i InstanceSuspensionReasonsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceSuspensionReasonsItem] { + return pulumix.Output[[]InstanceSuspensionReasonsItem]{ + OutputState: i.ToInstanceSuspensionReasonsItemArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceSuspensionReasonsItemArrayOutput struct{ *pulumi.OutputState } func (InstanceSuspensionReasonsItemArrayOutput) ElementType() reflect.Type { @@ -553,6 +614,12 @@ func (o InstanceSuspensionReasonsItemArrayOutput) ToInstanceSuspensionReasonsIte return o } +func (o InstanceSuspensionReasonsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceSuspensionReasonsItem] { + return pulumix.Output[[]InstanceSuspensionReasonsItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonsItemArrayOutput) Index(i pulumi.IntInput) InstanceSuspensionReasonsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceSuspensionReasonsItem { return vs[0].([]InstanceSuspensionReasonsItem)[vs[1].(int)] @@ -631,6 +698,12 @@ func (o InstanceTierOutput) ToInstanceTierPtrOutputWithContext(ctx context.Conte }).(InstanceTierPtrOutput) } +func (o InstanceTierOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceTier] { + return pulumix.Output[InstanceTier]{ + OutputState: o.OutputState, + } +} + func (o InstanceTierOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -666,6 +739,12 @@ func (o InstanceTierPtrOutput) ToInstanceTierPtrOutputWithContext(ctx context.Co return o } +func (o InstanceTierPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTier] { + return pulumix.Output[*InstanceTier]{ + OutputState: o.OutputState, + } +} + func (o InstanceTierPtrOutput) Elem() InstanceTierOutput { return o.ApplyT(func(v *InstanceTier) InstanceTier { if v != nil { @@ -728,6 +807,12 @@ func (in *instanceTierPtr) ToInstanceTierPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(InstanceTierPtrOutput) } +func (in *instanceTierPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceTier] { + return pulumix.Output[*InstanceTier]{ + OutputState: in.ToInstanceTierPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance. type InstanceTransitEncryptionMode string @@ -800,6 +885,12 @@ func (o InstanceTransitEncryptionModeOutput) ToInstanceTransitEncryptionModePtrO }).(InstanceTransitEncryptionModePtrOutput) } +func (o InstanceTransitEncryptionModeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceTransitEncryptionMode] { + return pulumix.Output[InstanceTransitEncryptionMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceTransitEncryptionModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -835,6 +926,12 @@ func (o InstanceTransitEncryptionModePtrOutput) ToInstanceTransitEncryptionModeP return o } +func (o InstanceTransitEncryptionModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceTransitEncryptionMode] { + return pulumix.Output[*InstanceTransitEncryptionMode]{ + OutputState: o.OutputState, + } +} + func (o InstanceTransitEncryptionModePtrOutput) Elem() InstanceTransitEncryptionModeOutput { return o.ApplyT(func(v *InstanceTransitEncryptionMode) InstanceTransitEncryptionMode { if v != nil { @@ -897,6 +994,12 @@ func (in *instanceTransitEncryptionModePtr) ToInstanceTransitEncryptionModePtrOu return pulumi.ToOutputWithContext(ctx, in).(InstanceTransitEncryptionModePtrOutput) } +func (in *instanceTransitEncryptionModePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceTransitEncryptionMode] { + return pulumix.Output[*InstanceTransitEncryptionMode]{ + OutputState: in.ToInstanceTransitEncryptionModePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. type PersistenceConfigPersistenceMode string @@ -969,6 +1072,12 @@ func (o PersistenceConfigPersistenceModeOutput) ToPersistenceConfigPersistenceMo }).(PersistenceConfigPersistenceModePtrOutput) } +func (o PersistenceConfigPersistenceModeOutput) ToOutput(ctx context.Context) pulumix.Output[PersistenceConfigPersistenceMode] { + return pulumix.Output[PersistenceConfigPersistenceMode]{ + OutputState: o.OutputState, + } +} + func (o PersistenceConfigPersistenceModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1004,6 +1113,12 @@ func (o PersistenceConfigPersistenceModePtrOutput) ToPersistenceConfigPersistenc return o } +func (o PersistenceConfigPersistenceModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfigPersistenceMode] { + return pulumix.Output[*PersistenceConfigPersistenceMode]{ + OutputState: o.OutputState, + } +} + func (o PersistenceConfigPersistenceModePtrOutput) Elem() PersistenceConfigPersistenceModeOutput { return o.ApplyT(func(v *PersistenceConfigPersistenceMode) PersistenceConfigPersistenceMode { if v != nil { @@ -1066,6 +1181,12 @@ func (in *persistenceConfigPersistenceModePtr) ToPersistenceConfigPersistenceMod return pulumi.ToOutputWithContext(ctx, in).(PersistenceConfigPersistenceModePtrOutput) } +func (in *persistenceConfigPersistenceModePtr) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfigPersistenceMode] { + return pulumix.Output[*PersistenceConfigPersistenceMode]{ + OutputState: in.ToPersistenceConfigPersistenceModePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default. type PersistenceConfigRdbSnapshotPeriod string @@ -1142,6 +1263,12 @@ func (o PersistenceConfigRdbSnapshotPeriodOutput) ToPersistenceConfigRdbSnapshot }).(PersistenceConfigRdbSnapshotPeriodPtrOutput) } +func (o PersistenceConfigRdbSnapshotPeriodOutput) ToOutput(ctx context.Context) pulumix.Output[PersistenceConfigRdbSnapshotPeriod] { + return pulumix.Output[PersistenceConfigRdbSnapshotPeriod]{ + OutputState: o.OutputState, + } +} + func (o PersistenceConfigRdbSnapshotPeriodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1177,6 +1304,12 @@ func (o PersistenceConfigRdbSnapshotPeriodPtrOutput) ToPersistenceConfigRdbSnaps return o } +func (o PersistenceConfigRdbSnapshotPeriodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfigRdbSnapshotPeriod] { + return pulumix.Output[*PersistenceConfigRdbSnapshotPeriod]{ + OutputState: o.OutputState, + } +} + func (o PersistenceConfigRdbSnapshotPeriodPtrOutput) Elem() PersistenceConfigRdbSnapshotPeriodOutput { return o.ApplyT(func(v *PersistenceConfigRdbSnapshotPeriod) PersistenceConfigRdbSnapshotPeriod { if v != nil { @@ -1239,6 +1372,12 @@ func (in *persistenceConfigRdbSnapshotPeriodPtr) ToPersistenceConfigRdbSnapshotP return pulumi.ToOutputWithContext(ctx, in).(PersistenceConfigRdbSnapshotPeriodPtrOutput) } +func (in *persistenceConfigRdbSnapshotPeriodPtr) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfigRdbSnapshotPeriod] { + return pulumix.Output[*PersistenceConfigRdbSnapshotPeriod]{ + OutputState: in.ToPersistenceConfigRdbSnapshotPeriodPtrOutputWithContext(ctx).OutputState, + } +} + // Required. The day of week that maintenance updates occur. type WeeklyMaintenanceWindowDay string @@ -1321,6 +1460,12 @@ func (o WeeklyMaintenanceWindowDayOutput) ToWeeklyMaintenanceWindowDayPtrOutputW }).(WeeklyMaintenanceWindowDayPtrOutput) } +func (o WeeklyMaintenanceWindowDayOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindowDay] { + return pulumix.Output[WeeklyMaintenanceWindowDay]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowDayOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1356,6 +1501,12 @@ func (o WeeklyMaintenanceWindowDayPtrOutput) ToWeeklyMaintenanceWindowDayPtrOutp return o } +func (o WeeklyMaintenanceWindowDayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WeeklyMaintenanceWindowDay] { + return pulumix.Output[*WeeklyMaintenanceWindowDay]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowDayPtrOutput) Elem() WeeklyMaintenanceWindowDayOutput { return o.ApplyT(func(v *WeeklyMaintenanceWindowDay) WeeklyMaintenanceWindowDay { if v != nil { @@ -1418,6 +1569,12 @@ func (in *weeklyMaintenanceWindowDayPtr) ToWeeklyMaintenanceWindowDayPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(WeeklyMaintenanceWindowDayPtrOutput) } +func (in *weeklyMaintenanceWindowDayPtr) ToOutput(ctx context.Context) pulumix.Output[*WeeklyMaintenanceWindowDay] { + return pulumix.Output[*WeeklyMaintenanceWindowDay]{ + OutputState: in.ToWeeklyMaintenanceWindowDayPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceConnectModeInput)(nil)).Elem(), InstanceConnectMode("CONNECT_MODE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*InstanceConnectModePtrInput)(nil)).Elem(), InstanceConnectMode("CONNECT_MODE_UNSPECIFIED")) diff --git a/sdk/go/google/redis/v1beta1/pulumiTypes.go b/sdk/go/google/redis/v1beta1/pulumiTypes.go index ed757c18d1..79268058c4 100644 --- a/sdk/go/google/redis/v1beta1/pulumiTypes.go +++ b/sdk/go/google/redis/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i MaintenancePolicyArgs) ToMaintenancePolicyOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenancePolicyOutput) } +func (i MaintenancePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicy] { + return pulumix.Output[MaintenancePolicy]{ + OutputState: i.ToMaintenancePolicyOutputWithContext(ctx).OutputState, + } +} + func (i MaintenancePolicyArgs) ToMaintenancePolicyPtrOutput() MaintenancePolicyPtrOutput { return i.ToMaintenancePolicyPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *maintenancePolicyPtrType) ToMaintenancePolicyPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenancePolicyPtrOutput) } +func (i *maintenancePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenancePolicy] { + return pulumix.Output[*MaintenancePolicy]{ + OutputState: i.ToMaintenancePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance policy for an instance. type MaintenancePolicyOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o MaintenancePolicyOutput) ToMaintenancePolicyPtrOutputWithContext(ctx con }).(MaintenancePolicyPtrOutput) } +func (o MaintenancePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicy] { + return pulumix.Output[MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + // Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512. func (o MaintenancePolicyOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v MaintenancePolicy) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -142,6 +161,12 @@ func (o MaintenancePolicyPtrOutput) ToMaintenancePolicyPtrOutputWithContext(ctx return o } +func (o MaintenancePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenancePolicy] { + return pulumix.Output[*MaintenancePolicy]{ + OutputState: o.OutputState, + } +} + func (o MaintenancePolicyPtrOutput) Elem() MaintenancePolicyOutput { return o.ApplyT(func(v *MaintenancePolicy) MaintenancePolicy { if v != nil { @@ -199,6 +224,12 @@ func (o MaintenancePolicyResponseOutput) ToMaintenancePolicyResponseOutputWithCo return o } +func (o MaintenancePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenancePolicyResponse] { + return pulumix.Output[MaintenancePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The time when the policy was created. func (o MaintenancePolicyResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v MaintenancePolicyResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -246,6 +277,12 @@ func (o MaintenanceScheduleResponseOutput) ToMaintenanceScheduleResponseOutputWi return o } +func (o MaintenanceScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceScheduleResponse] { + return pulumix.Output[MaintenanceScheduleResponse]{ + OutputState: o.OutputState, + } +} + // If the scheduled maintenance can be rescheduled, default is true. func (o MaintenanceScheduleResponseOutput) CanReschedule() pulumi.BoolOutput { return o.ApplyT(func(v MaintenanceScheduleResponse) bool { return v.CanReschedule }).(pulumi.BoolOutput) @@ -287,6 +324,12 @@ func (o NodeInfoResponseOutput) ToNodeInfoResponseOutputWithContext(ctx context. return o } +func (o NodeInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeInfoResponse] { + return pulumix.Output[NodeInfoResponse]{ + OutputState: o.OutputState, + } +} + // Location of the node. func (o NodeInfoResponseOutput) Zone() pulumi.StringOutput { return o.ApplyT(func(v NodeInfoResponse) string { return v.Zone }).(pulumi.StringOutput) @@ -306,6 +349,12 @@ func (o NodeInfoResponseArrayOutput) ToNodeInfoResponseArrayOutputWithContext(ct return o } +func (o NodeInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeInfoResponse] { + return pulumix.Output[[]NodeInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeInfoResponseArrayOutput) Index(i pulumi.IntInput) NodeInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeInfoResponse { return vs[0].([]NodeInfoResponse)[vs[1].(int)] @@ -355,6 +404,12 @@ func (i PersistenceConfigArgs) ToPersistenceConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PersistenceConfigOutput) } +func (i PersistenceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PersistenceConfig] { + return pulumix.Output[PersistenceConfig]{ + OutputState: i.ToPersistenceConfigOutputWithContext(ctx).OutputState, + } +} + func (i PersistenceConfigArgs) ToPersistenceConfigPtrOutput() PersistenceConfigPtrOutput { return i.ToPersistenceConfigPtrOutputWithContext(context.Background()) } @@ -396,6 +451,12 @@ func (i *persistenceConfigPtrType) ToPersistenceConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PersistenceConfigPtrOutput) } +func (i *persistenceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfig] { + return pulumix.Output[*PersistenceConfig]{ + OutputState: i.ToPersistenceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration of the persistence functionality. type PersistenceConfigOutput struct{ *pulumi.OutputState } @@ -421,6 +482,12 @@ func (o PersistenceConfigOutput) ToPersistenceConfigPtrOutputWithContext(ctx con }).(PersistenceConfigPtrOutput) } +func (o PersistenceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PersistenceConfig] { + return pulumix.Output[PersistenceConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. func (o PersistenceConfigOutput) PersistenceMode() PersistenceConfigPersistenceModePtrOutput { return o.ApplyT(func(v PersistenceConfig) *PersistenceConfigPersistenceMode { return v.PersistenceMode }).(PersistenceConfigPersistenceModePtrOutput) @@ -450,6 +517,12 @@ func (o PersistenceConfigPtrOutput) ToPersistenceConfigPtrOutputWithContext(ctx return o } +func (o PersistenceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PersistenceConfig] { + return pulumix.Output[*PersistenceConfig]{ + OutputState: o.OutputState, + } +} + func (o PersistenceConfigPtrOutput) Elem() PersistenceConfigOutput { return o.ApplyT(func(v *PersistenceConfig) PersistenceConfig { if v != nil { @@ -517,6 +590,12 @@ func (o PersistenceConfigResponseOutput) ToPersistenceConfigResponseOutputWithCo return o } +func (o PersistenceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PersistenceConfigResponse] { + return pulumix.Output[PersistenceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. func (o PersistenceConfigResponseOutput) PersistenceMode() pulumi.StringOutput { return o.ApplyT(func(v PersistenceConfigResponse) string { return v.PersistenceMode }).(pulumi.StringOutput) @@ -584,6 +663,12 @@ func (i TimeOfDayArgs) ToTimeOfDayOutputWithContext(ctx context.Context) TimeOfD return pulumi.ToOutputWithContext(ctx, i).(TimeOfDayOutput) } +func (i TimeOfDayArgs) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: i.ToTimeOfDayOutputWithContext(ctx).OutputState, + } +} + // Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. type TimeOfDayOutput struct{ *pulumi.OutputState } @@ -599,6 +684,12 @@ func (o TimeOfDayOutput) ToTimeOfDayOutputWithContext(ctx context.Context) TimeO return o } +func (o TimeOfDayOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayOutput) Hours() pulumi.IntPtrOutput { return o.ApplyT(func(v TimeOfDay) *int { return v.Hours }).(pulumi.IntPtrOutput) @@ -646,6 +737,12 @@ func (o TimeOfDayResponseOutput) ToTimeOfDayResponseOutputWithContext(ctx contex return o } +func (o TimeOfDayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDayResponse] { + return pulumix.Output[TimeOfDayResponse]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayResponseOutput) Hours() pulumi.IntOutput { return o.ApplyT(func(v TimeOfDayResponse) int { return v.Hours }).(pulumi.IntOutput) @@ -695,6 +792,12 @@ func (o TlsCertificateResponseOutput) ToTlsCertificateResponseOutputWithContext( return o } +func (o TlsCertificateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TlsCertificateResponse] { + return pulumix.Output[TlsCertificateResponse]{ + OutputState: o.OutputState, + } +} + // PEM representation. func (o TlsCertificateResponseOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v TlsCertificateResponse) string { return v.Cert }).(pulumi.StringOutput) @@ -734,6 +837,12 @@ func (o TlsCertificateResponseArrayOutput) ToTlsCertificateResponseArrayOutputWi return o } +func (o TlsCertificateResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TlsCertificateResponse] { + return pulumix.Output[[]TlsCertificateResponse]{ + OutputState: o.OutputState, + } +} + func (o TlsCertificateResponseArrayOutput) Index(i pulumi.IntInput) TlsCertificateResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TlsCertificateResponse { return vs[0].([]TlsCertificateResponse)[vs[1].(int)] @@ -779,6 +888,12 @@ func (i WeeklyMaintenanceWindowArgs) ToWeeklyMaintenanceWindowOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(WeeklyMaintenanceWindowOutput) } +func (i WeeklyMaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindow] { + return pulumix.Output[WeeklyMaintenanceWindow]{ + OutputState: i.ToWeeklyMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + // WeeklyMaintenanceWindowArrayInput is an input type that accepts WeeklyMaintenanceWindowArray and WeeklyMaintenanceWindowArrayOutput values. // You can construct a concrete instance of `WeeklyMaintenanceWindowArrayInput` via: // @@ -804,6 +919,12 @@ func (i WeeklyMaintenanceWindowArray) ToWeeklyMaintenanceWindowArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(WeeklyMaintenanceWindowArrayOutput) } +func (i WeeklyMaintenanceWindowArray) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindow] { + return pulumix.Output[[]WeeklyMaintenanceWindow]{ + OutputState: i.ToWeeklyMaintenanceWindowArrayOutputWithContext(ctx).OutputState, + } +} + // Time window in which disruptive maintenance updates occur. Non-disruptive updates can occur inside or outside this window. type WeeklyMaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -819,6 +940,12 @@ func (o WeeklyMaintenanceWindowOutput) ToWeeklyMaintenanceWindowOutputWithContex return o } +func (o WeeklyMaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindow] { + return pulumix.Output[WeeklyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // The day of week that maintenance updates occur. func (o WeeklyMaintenanceWindowOutput) Day() WeeklyMaintenanceWindowDayOutput { return o.ApplyT(func(v WeeklyMaintenanceWindow) WeeklyMaintenanceWindowDay { return v.Day }).(WeeklyMaintenanceWindowDayOutput) @@ -843,6 +970,12 @@ func (o WeeklyMaintenanceWindowArrayOutput) ToWeeklyMaintenanceWindowArrayOutput return o } +func (o WeeklyMaintenanceWindowArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindow] { + return pulumix.Output[[]WeeklyMaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowArrayOutput) Index(i pulumi.IntInput) WeeklyMaintenanceWindowOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeeklyMaintenanceWindow { return vs[0].([]WeeklyMaintenanceWindow)[vs[1].(int)] @@ -874,6 +1007,12 @@ func (o WeeklyMaintenanceWindowResponseOutput) ToWeeklyMaintenanceWindowResponse return o } +func (o WeeklyMaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[WeeklyMaintenanceWindowResponse] { + return pulumix.Output[WeeklyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // The day of week that maintenance updates occur. func (o WeeklyMaintenanceWindowResponseOutput) Day() pulumi.StringOutput { return o.ApplyT(func(v WeeklyMaintenanceWindowResponse) string { return v.Day }).(pulumi.StringOutput) @@ -903,6 +1042,12 @@ func (o WeeklyMaintenanceWindowResponseArrayOutput) ToWeeklyMaintenanceWindowRes return o } +func (o WeeklyMaintenanceWindowResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]WeeklyMaintenanceWindowResponse] { + return pulumix.Output[[]WeeklyMaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + func (o WeeklyMaintenanceWindowResponseArrayOutput) Index(i pulumi.IntInput) WeeklyMaintenanceWindowResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) WeeklyMaintenanceWindowResponse { return vs[0].([]WeeklyMaintenanceWindowResponse)[vs[1].(int)] diff --git a/sdk/go/google/remotebuildexecution/v1alpha/getInstance.go b/sdk/go/google/remotebuildexecution/v1alpha/getInstance.go index 6e0a3fe5de..2ae230db20 100644 --- a/sdk/go/google/remotebuildexecution/v1alpha/getInstance.go +++ b/sdk/go/google/remotebuildexecution/v1alpha/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified instance. @@ -76,6 +77,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // The policy to define whether or not RBE features can be used or how they can be used. func (o LookupInstanceResultOutput) FeaturePolicy() GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponseOutput { return o.ApplyT(func(v LookupInstanceResult) GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponse { diff --git a/sdk/go/google/remotebuildexecution/v1alpha/getWorkerPool.go b/sdk/go/google/remotebuildexecution/v1alpha/getWorkerPool.go index 7f4ab46bd3..b7c4dbd63c 100644 --- a/sdk/go/google/remotebuildexecution/v1alpha/getWorkerPool.go +++ b/sdk/go/google/remotebuildexecution/v1alpha/getWorkerPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the specified worker pool. @@ -80,6 +81,12 @@ func (o LookupWorkerPoolResultOutput) ToLookupWorkerPoolResultOutputWithContext( return o } +func (o LookupWorkerPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkerPoolResult] { + return pulumix.Output[LookupWorkerPoolResult]{ + OutputState: o.OutputState, + } +} + // The autoscale policy to apply on a pool. func (o LookupWorkerPoolResultOutput) Autoscale() GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponseOutput { return o.ApplyT(func(v LookupWorkerPoolResult) GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponse { diff --git a/sdk/go/google/remotebuildexecution/v1alpha/instance.go b/sdk/go/google/remotebuildexecution/v1alpha/instance.go index afa01f6515..bb4c0517dd 100644 --- a/sdk/go/google/remotebuildexecution/v1alpha/instance.go +++ b/sdk/go/google/remotebuildexecution/v1alpha/instance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new instance in the specified region. Returns a long running operation which contains an instance on completion. While the long running operation is in progress, any call to `GetInstance` returns an instance in state `CREATING`. @@ -120,6 +121,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -134,6 +141,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // The policy to define whether or not RBE features can be used or how they can be used. func (o InstanceOutput) FeaturePolicy() GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponseOutput { return o.ApplyT(func(v *Instance) GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponseOutput { diff --git a/sdk/go/google/remotebuildexecution/v1alpha/pulumiEnums.go b/sdk/go/google/remotebuildexecution/v1alpha/pulumiEnums.go index d8bd3cfccb..fb9a5c7c20 100644 --- a/sdk/go/google/remotebuildexecution/v1alpha/pulumiEnums.go +++ b/sdk/go/google/remotebuildexecution/v1alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The policy of the feature. @@ -84,6 +85,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy }).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyPtrOutput) } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyPtrOutput) Elem() GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyOutput { return o.ApplyT(func(v *GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy) GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy { if v != nil { @@ -181,6 +194,12 @@ func (in *googleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePoli return pulumi.ToOutputWithContext(ctx, in).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyPtrOutput) } +func (in *googleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy]{ + OutputState: in.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // linux_isolation allows overriding the docker runtime used for containers started on Linux. type GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation string @@ -253,6 +272,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolatio }).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolationPtrOutput) } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolatio return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolationPtrOutput) Elem() GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolationOutput { return o.ApplyT(func(v *GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation) GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation { if v != nil { @@ -350,6 +381,12 @@ func (in *googleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolat return pulumi.ToOutputWithContext(ctx, in).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolationPtrOutput) } +func (in *googleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolationPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation]{ + OutputState: in.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolationPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyInput)(nil)).Elem(), GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy("POLICY_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicyPtrInput)(nil)).Elem(), GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePolicy("POLICY_UNSPECIFIED")) diff --git a/sdk/go/google/remotebuildexecution/v1alpha/pulumiTypes.go b/sdk/go/google/remotebuildexecution/v1alpha/pulumiTypes.go index 6dddc955fb..2abefa5086 100644 --- a/sdk/go/google/remotebuildexecution/v1alpha/pulumiTypes.go +++ b/sdk/go/google/remotebuildexecution/v1alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigArgs) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigOutput) } +func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig]{ + OutputState: i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigArgs) ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrOutput() GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrOutput { return i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrType) return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrOutput) } +func (i *googleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig]{ + OutputState: i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // AcceleratorConfig defines the accelerator cards to attach to the VM. type GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigOutput) T }).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrOutput) } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // The number of guest accelerator cards exposed to each VM. func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigOutput) AcceleratorCount() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig) *string { @@ -146,6 +165,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrOutput return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrOutput) Elem() GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigOutput { return o.ApplyT(func(v *GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig) GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig { if v != nil { @@ -199,6 +224,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponseO return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // The number of guest accelerator cards exposed to each VM. func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponseOutput) AcceleratorCount() pulumi.StringOutput { return o.ApplyT(func(v GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse) string { @@ -252,6 +283,12 @@ func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs) ToGoogleDev return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleOutput) } +func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale]{ + OutputState: i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs) ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrOutput() GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrOutput { return i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrOutputWithContext(context.Background()) } @@ -293,6 +330,12 @@ func (i *googleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrOutput) } +func (i *googleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale]{ + OutputState: i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrOutputWithContext(ctx).OutputState, + } +} + // Autoscale defines the autoscaling policy of a worker pool. type GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleOutput struct{ *pulumi.OutputState } @@ -318,6 +361,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleOutput) ToGoogleD }).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrOutput) } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale]{ + OutputState: o.OutputState, + } +} + // The maximal number of workers. Must be equal to or greater than min_size. func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale) *string { return v.MaxSize }).(pulumi.StringPtrOutput) @@ -342,6 +391,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrOutput) ToGoog return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscalePtrOutput) Elem() GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleOutput { return o.ApplyT(func(v *GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale) GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale { if v != nil { @@ -395,6 +450,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponseOutput) T return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponse] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponse]{ + OutputState: o.OutputState, + } +} + // The maximal number of workers. Must be equal to or greater than min_size. func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponseOutput) MaxSize() pulumi.StringOutput { return o.ApplyT(func(v GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponse) string { return v.MaxSize }).(pulumi.StringOutput) @@ -472,6 +533,12 @@ func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyArgs) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyOutput) } +func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy]{ + OutputState: i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyArgs) ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrOutput() GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrOutput { return i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrOutputWithContext(context.Background()) } @@ -513,6 +580,12 @@ func (i *googleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrType) ToG return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrOutput) } +func (i *googleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy]{ + OutputState: i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // FeaturePolicy defines features allowed to be used on RBE instances, as well as instance-wide behavior changes that take effect without opt-in or opt-out at usage time. type GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyOutput struct{ *pulumi.OutputState } @@ -538,6 +611,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyOutput) ToGoo }).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrOutput) } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy]{ + OutputState: o.OutputState, + } +} + // Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ "gcr.io/project-foo", "gcr.io/project-bar/repo-baz", ] } will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed. func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyOutput) ContainerImageSources() GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrOutput { return o.ApplyT(func(v GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy) *GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature { @@ -615,6 +694,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrOutput) To return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyPtrOutput) Elem() GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyOutput { return o.ApplyT(func(v *GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy) GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy { if v != nil { @@ -754,6 +839,12 @@ func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureOutput) } +func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]{ + OutputState: i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs) ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrOutput() GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrOutput { return i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrOutputWithContext(context.Background()) } @@ -795,6 +886,12 @@ func (i *googleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrTy return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrOutput) } +func (i *googleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]{ + OutputState: i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrOutputWithContext(ctx).OutputState, + } +} + // Defines whether a feature can be used or what values are accepted. type GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureOutput struct{ *pulumi.OutputState } @@ -820,6 +917,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureOutput }).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrOutput) } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]{ + OutputState: o.OutputState, + } +} + // A list of acceptable values. Only effective when the policy is `RESTRICTED`. func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureOutput) AllowedValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature) []string { @@ -848,6 +951,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrOut return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeaturePtrOutput) Elem() GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureOutput { return o.ApplyT(func(v *GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature) GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature { if v != nil { @@ -901,6 +1010,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureRespon return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse]{ + OutputState: o.OutputState, + } +} + // A list of acceptable values. Only effective when the policy is `RESTRICTED`. func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponseOutput) AllowedValues() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse) []string { @@ -952,6 +1067,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponseOutpu return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponse] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponse]{ + OutputState: o.OutputState, + } +} + // Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ "gcr.io/project-foo", "gcr.io/project-bar/repo-baz", ] } will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed. func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponseOutput) ContainerImageSources() GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponseOutput { return o.ApplyT(func(v GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponse) GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse { @@ -1090,6 +1211,12 @@ func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigOutput) } +func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig]{ + OutputState: i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs) ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrOutput() GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrOutput { return i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrOutputWithContext(context.Background()) } @@ -1131,6 +1258,12 @@ func (i *googleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrType) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrOutput) } +func (i *googleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig]{ + OutputState: i.ToGoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the configuration to be used for creating workers in the worker pool. type GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigOutput struct{ *pulumi.OutputState } @@ -1156,6 +1289,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigOutput) ToGoog }).(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrOutput) } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig]{ + OutputState: o.OutputState, + } +} + // The accelerator card attached to each VM. func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigOutput) Accelerator() GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigPtrOutput { return o.ApplyT(func(v GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig) *GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig { @@ -1231,6 +1370,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrOutput) ToG return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig] { + return pulumix.Output[*GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigPtrOutput) Elem() GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigOutput { return o.ApplyT(func(v *GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig) GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig { if v != nil { @@ -1392,6 +1537,12 @@ func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigResponseOutput return o } +func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigResponse] { + return pulumix.Output[GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigResponse]{ + OutputState: o.OutputState, + } +} + // The accelerator card attached to each VM. func (o GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigResponseOutput) Accelerator() GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponseOutput { return o.ApplyT(func(v GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigResponse) GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigResponse { diff --git a/sdk/go/google/remotebuildexecution/v1alpha/workerPool.go b/sdk/go/google/remotebuildexecution/v1alpha/workerPool.go index d7efe36ebc..c3aeaa3645 100644 --- a/sdk/go/google/remotebuildexecution/v1alpha/workerPool.go +++ b/sdk/go/google/remotebuildexecution/v1alpha/workerPool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new worker pool with a specified size and configuration. Returns a long running operation which contains a worker pool on completion. While the long running operation is in progress, any call to `GetWorkerPool` returns a worker pool in state `CREATING`. @@ -141,6 +142,12 @@ func (i *WorkerPool) ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPo return pulumi.ToOutputWithContext(ctx, i).(WorkerPoolOutput) } +func (i *WorkerPool) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { + return pulumix.Output[*WorkerPool]{ + OutputState: i.ToWorkerPoolOutputWithContext(ctx).OutputState, + } +} + type WorkerPoolOutput struct{ *pulumi.OutputState } func (WorkerPoolOutput) ElementType() reflect.Type { @@ -155,6 +162,12 @@ func (o WorkerPoolOutput) ToWorkerPoolOutputWithContext(ctx context.Context) Wor return o } +func (o WorkerPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkerPool] { + return pulumix.Output[*WorkerPool]{ + OutputState: o.OutputState, + } +} + // The autoscale policy to apply on a pool. func (o WorkerPoolOutput) Autoscale() GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponseOutput { return o.ApplyT(func(v *WorkerPool) GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleResponseOutput { diff --git a/sdk/go/google/retail/v2/control.go b/sdk/go/google/retail/v2/control.go index 22305931f5..f77ab819d7 100644 --- a/sdk/go/google/retail/v2/control.go +++ b/sdk/go/google/retail/v2/control.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned. @@ -154,6 +155,12 @@ func (i *Control) ToControlOutputWithContext(ctx context.Context) ControlOutput return pulumi.ToOutputWithContext(ctx, i).(ControlOutput) } +func (i *Control) ToOutput(ctx context.Context) pulumix.Output[*Control] { + return pulumix.Output[*Control]{ + OutputState: i.ToControlOutputWithContext(ctx).OutputState, + } +} + type ControlOutput struct{ *pulumi.OutputState } func (ControlOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o ControlOutput) ToControlOutputWithContext(ctx context.Context) ControlOu return o } +func (o ControlOutput) ToOutput(ctx context.Context) pulumix.Output[*Control] { + return pulumix.Output[*Control]{ + OutputState: o.OutputState, + } +} + // List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view. func (o ControlOutput) AssociatedServingConfigIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *Control) pulumi.StringArrayOutput { return v.AssociatedServingConfigIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2/getControl.go b/sdk/go/google/retail/v2/getControl.go index 4f2e5a7c96..64b28d0ba8 100644 --- a/sdk/go/google/retail/v2/getControl.go +++ b/sdk/go/google/retail/v2/getControl.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Control. @@ -82,6 +83,12 @@ func (o LookupControlResultOutput) ToLookupControlResultOutputWithContext(ctx co return o } +func (o LookupControlResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupControlResult] { + return pulumix.Output[LookupControlResult]{ + OutputState: o.OutputState, + } +} + // List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view. func (o LookupControlResultOutput) AssociatedServingConfigIds() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupControlResult) []string { return v.AssociatedServingConfigIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2/getModel.go b/sdk/go/google/retail/v2/getModel.go index 8d4df25386..d88276badb 100644 --- a/sdk/go/google/retail/v2/getModel.go +++ b/sdk/go/google/retail/v2/getModel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a model. @@ -100,6 +101,12 @@ func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx contex return o } +func (o LookupModelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupModelResult] { + return pulumix.Output[LookupModelResult]{ + OutputState: o.OutputState, + } +} + // Timestamp the Recommendation Model was created at. func (o LookupModelResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupModelResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/retail/v2/getProduct.go b/sdk/go/google/retail/v2/getProduct.go index 1e664c5da0..afa76d9c34 100644 --- a/sdk/go/google/retail/v2/getProduct.go +++ b/sdk/go/google/retail/v2/getProduct.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Product. @@ -140,6 +141,12 @@ func (o LookupProductResultOutput) ToLookupProductResultOutputWithContext(ctx co return o } +func (o LookupProductResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProductResult] { + return pulumix.Output[LookupProductResult]{ + OutputState: o.OutputState, + } +} + // Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. func (o LookupProductResultOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v LookupProductResult) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/retail/v2/getServingConfig.go b/sdk/go/google/retail/v2/getServingConfig.go index e93ae08d25..acce78a3e0 100644 --- a/sdk/go/google/retail/v2/getServingConfig.go +++ b/sdk/go/google/retail/v2/getServingConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. @@ -108,6 +109,12 @@ func (o LookupServingConfigResultOutput) ToLookupServingConfigResultOutputWithCo return o } +func (o LookupServingConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServingConfigResult] { + return pulumix.Output[LookupServingConfigResult]{ + OutputState: o.OutputState, + } +} + // Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. func (o LookupServingConfigResultOutput) BoostControlIds() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupServingConfigResult) []string { return v.BoostControlIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2/model.go b/sdk/go/google/retail/v2/model.go index 04bd387120..61ff9594a2 100644 --- a/sdk/go/google/retail/v2/model.go +++ b/sdk/go/google/retail/v2/model.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new model. @@ -179,6 +180,12 @@ func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput { return pulumi.ToOutputWithContext(ctx, i).(ModelOutput) } +func (i *Model) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: i.ToModelOutputWithContext(ctx).OutputState, + } +} + type ModelOutput struct{ *pulumi.OutputState } func (ModelOutput) ElementType() reflect.Type { @@ -193,6 +200,12 @@ func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput { return o } +func (o ModelOutput) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: o.OutputState, + } +} + func (o ModelOutput) CatalogId() pulumi.StringOutput { return o.ApplyT(func(v *Model) pulumi.StringOutput { return v.CatalogId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/retail/v2/product.go b/sdk/go/google/retail/v2/product.go index 2cbb3a590d..36e1832993 100644 --- a/sdk/go/google/retail/v2/product.go +++ b/sdk/go/google/retail/v2/product.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Product. @@ -325,6 +326,12 @@ func (i *Product) ToProductOutputWithContext(ctx context.Context) ProductOutput return pulumi.ToOutputWithContext(ctx, i).(ProductOutput) } +func (i *Product) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: i.ToProductOutputWithContext(ctx).OutputState, + } +} + type ProductOutput struct{ *pulumi.OutputState } func (ProductOutput) ElementType() reflect.Type { @@ -339,6 +346,12 @@ func (o ProductOutput) ToProductOutputWithContext(ctx context.Context) ProductOu return o } +func (o ProductOutput) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: o.OutputState, + } +} + // Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. func (o ProductOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v *Product) pulumi.StringMapOutput { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/retail/v2/pulumiEnums.go b/sdk/go/google/retail/v2/pulumiEnums.go index 2c0834d401..e3e9e0bc5a 100644 --- a/sdk/go/google/retail/v2/pulumiEnums.go +++ b/sdk/go/google/retail/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type ControlSearchSolutionUseCaseItem string @@ -81,6 +82,12 @@ func (o ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseIt }).(ControlSearchSolutionUseCaseItemPtrOutput) } +func (o ControlSearchSolutionUseCaseItemOutput) ToOutput(ctx context.Context) pulumix.Output[ControlSearchSolutionUseCaseItem] { + return pulumix.Output[ControlSearchSolutionUseCaseItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSearchSolutionUseCaseItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -116,6 +123,12 @@ func (o ControlSearchSolutionUseCaseItemPtrOutput) ToControlSearchSolutionUseCas return o } +func (o ControlSearchSolutionUseCaseItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ControlSearchSolutionUseCaseItem] { + return pulumix.Output[*ControlSearchSolutionUseCaseItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSearchSolutionUseCaseItemPtrOutput) Elem() ControlSearchSolutionUseCaseItemOutput { return o.ApplyT(func(v *ControlSearchSolutionUseCaseItem) ControlSearchSolutionUseCaseItem { if v != nil { @@ -178,6 +191,12 @@ func (in *controlSearchSolutionUseCaseItemPtr) ToControlSearchSolutionUseCaseIte return pulumi.ToOutputWithContext(ctx, in).(ControlSearchSolutionUseCaseItemPtrOutput) } +func (in *controlSearchSolutionUseCaseItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ControlSearchSolutionUseCaseItem] { + return pulumix.Output[*ControlSearchSolutionUseCaseItem]{ + OutputState: in.ToControlSearchSolutionUseCaseItemPtrOutputWithContext(ctx).OutputState, + } +} + // ControlSearchSolutionUseCaseItemArrayInput is an input type that accepts ControlSearchSolutionUseCaseItemArray and ControlSearchSolutionUseCaseItemArrayOutput values. // You can construct a concrete instance of `ControlSearchSolutionUseCaseItemArrayInput` via: // @@ -203,6 +222,12 @@ func (i ControlSearchSolutionUseCaseItemArray) ToControlSearchSolutionUseCaseIte return pulumi.ToOutputWithContext(ctx, i).(ControlSearchSolutionUseCaseItemArrayOutput) } +func (i ControlSearchSolutionUseCaseItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ControlSearchSolutionUseCaseItem] { + return pulumix.Output[[]ControlSearchSolutionUseCaseItem]{ + OutputState: i.ToControlSearchSolutionUseCaseItemArrayOutputWithContext(ctx).OutputState, + } +} + type ControlSearchSolutionUseCaseItemArrayOutput struct{ *pulumi.OutputState } func (ControlSearchSolutionUseCaseItemArrayOutput) ElementType() reflect.Type { @@ -217,6 +242,12 @@ func (o ControlSearchSolutionUseCaseItemArrayOutput) ToControlSearchSolutionUseC return o } +func (o ControlSearchSolutionUseCaseItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ControlSearchSolutionUseCaseItem] { + return pulumix.Output[[]ControlSearchSolutionUseCaseItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSearchSolutionUseCaseItemArrayOutput) Index(i pulumi.IntInput) ControlSearchSolutionUseCaseItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ControlSearchSolutionUseCaseItem { return vs[0].([]ControlSearchSolutionUseCaseItem)[vs[1].(int)] @@ -294,6 +325,12 @@ func (o ControlSolutionTypesItemOutput) ToControlSolutionTypesItemPtrOutputWithC }).(ControlSolutionTypesItemPtrOutput) } +func (o ControlSolutionTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[ControlSolutionTypesItem] { + return pulumix.Output[ControlSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSolutionTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -329,6 +366,12 @@ func (o ControlSolutionTypesItemPtrOutput) ToControlSolutionTypesItemPtrOutputWi return o } +func (o ControlSolutionTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ControlSolutionTypesItem] { + return pulumix.Output[*ControlSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSolutionTypesItemPtrOutput) Elem() ControlSolutionTypesItemOutput { return o.ApplyT(func(v *ControlSolutionTypesItem) ControlSolutionTypesItem { if v != nil { @@ -391,6 +434,12 @@ func (in *controlSolutionTypesItemPtr) ToControlSolutionTypesItemPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ControlSolutionTypesItemPtrOutput) } +func (in *controlSolutionTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ControlSolutionTypesItem] { + return pulumix.Output[*ControlSolutionTypesItem]{ + OutputState: in.ToControlSolutionTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // ControlSolutionTypesItemArrayInput is an input type that accepts ControlSolutionTypesItemArray and ControlSolutionTypesItemArrayOutput values. // You can construct a concrete instance of `ControlSolutionTypesItemArrayInput` via: // @@ -416,6 +465,12 @@ func (i ControlSolutionTypesItemArray) ToControlSolutionTypesItemArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(ControlSolutionTypesItemArrayOutput) } +func (i ControlSolutionTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ControlSolutionTypesItem] { + return pulumix.Output[[]ControlSolutionTypesItem]{ + OutputState: i.ToControlSolutionTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type ControlSolutionTypesItemArrayOutput struct{ *pulumi.OutputState } func (ControlSolutionTypesItemArrayOutput) ElementType() reflect.Type { @@ -430,6 +485,12 @@ func (o ControlSolutionTypesItemArrayOutput) ToControlSolutionTypesItemArrayOutp return o } +func (o ControlSolutionTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ControlSolutionTypesItem] { + return pulumix.Output[[]ControlSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSolutionTypesItemArrayOutput) Index(i pulumi.IntInput) ControlSolutionTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ControlSolutionTypesItem { return vs[0].([]ControlSolutionTypesItem)[vs[1].(int)] @@ -508,6 +569,12 @@ func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextPro }).(GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) } +func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType] { + return pulumix.Output[GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -543,6 +610,12 @@ func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextPro return o } +func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType] { + return pulumix.Output[*GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) Elem() GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput { return o.ApplyT(func(v *GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType { if v != nil { @@ -605,6 +678,12 @@ func (in *googleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextP return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) } +func (in *googleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType] { + return pulumix.Output[*GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType]{ + OutputState: in.ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext(ctx).OutputState, + } +} + // Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. type GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode string @@ -677,6 +756,12 @@ func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToGoogleClou }).(GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) } +func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode] { + return pulumix.Output[GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -712,6 +797,12 @@ func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) ToGoogleC return o } +func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) Elem() GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput { return o.ApplyT(func(v *GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode { if v != nil { @@ -774,6 +865,12 @@ func (in *googleCloudRetailV2SearchRequestDynamicFacetSpecModePtr) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) } +func (in *googleCloudRetailV2SearchRequestDynamicFacetSpecModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode]{ + OutputState: in.ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx).OutputState, + } +} + // Defaults to Mode.AUTO. type GoogleCloudRetailV2SearchRequestPersonalizationSpecMode string @@ -846,6 +943,12 @@ func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToGoogleC }).(GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) } +func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2SearchRequestPersonalizationSpecMode] { + return pulumix.Output[GoogleCloudRetailV2SearchRequestPersonalizationSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -881,6 +984,12 @@ func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) ToGoog return o } +func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2SearchRequestPersonalizationSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2SearchRequestPersonalizationSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) Elem() GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput { return o.ApplyT(func(v *GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) GoogleCloudRetailV2SearchRequestPersonalizationSpecMode { if v != nil { @@ -943,6 +1052,12 @@ func (in *googleCloudRetailV2SearchRequestPersonalizationSpecModePtr) ToGoogleCl return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) } +func (in *googleCloudRetailV2SearchRequestPersonalizationSpecModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2SearchRequestPersonalizationSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2SearchRequestPersonalizationSpecMode]{ + OutputState: in.ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model. type ModelFilteringOption string @@ -1015,6 +1130,12 @@ func (o ModelFilteringOptionOutput) ToModelFilteringOptionPtrOutputWithContext(c }).(ModelFilteringOptionPtrOutput) } +func (o ModelFilteringOptionOutput) ToOutput(ctx context.Context) pulumix.Output[ModelFilteringOption] { + return pulumix.Output[ModelFilteringOption]{ + OutputState: o.OutputState, + } +} + func (o ModelFilteringOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1050,6 +1171,12 @@ func (o ModelFilteringOptionPtrOutput) ToModelFilteringOptionPtrOutputWithContex return o } +func (o ModelFilteringOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelFilteringOption] { + return pulumix.Output[*ModelFilteringOption]{ + OutputState: o.OutputState, + } +} + func (o ModelFilteringOptionPtrOutput) Elem() ModelFilteringOptionOutput { return o.ApplyT(func(v *ModelFilteringOption) ModelFilteringOption { if v != nil { @@ -1112,6 +1239,12 @@ func (in *modelFilteringOptionPtr) ToModelFilteringOptionPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(ModelFilteringOptionPtrOutput) } +func (in *modelFilteringOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*ModelFilteringOption] { + return pulumix.Output[*ModelFilteringOption]{ + OutputState: in.ToModelFilteringOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`. type ModelPeriodicTuningState string @@ -1186,6 +1319,12 @@ func (o ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStatePtrOutputWithC }).(ModelPeriodicTuningStatePtrOutput) } +func (o ModelPeriodicTuningStateOutput) ToOutput(ctx context.Context) pulumix.Output[ModelPeriodicTuningState] { + return pulumix.Output[ModelPeriodicTuningState]{ + OutputState: o.OutputState, + } +} + func (o ModelPeriodicTuningStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1221,6 +1360,12 @@ func (o ModelPeriodicTuningStatePtrOutput) ToModelPeriodicTuningStatePtrOutputWi return o } +func (o ModelPeriodicTuningStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelPeriodicTuningState] { + return pulumix.Output[*ModelPeriodicTuningState]{ + OutputState: o.OutputState, + } +} + func (o ModelPeriodicTuningStatePtrOutput) Elem() ModelPeriodicTuningStateOutput { return o.ApplyT(func(v *ModelPeriodicTuningState) ModelPeriodicTuningState { if v != nil { @@ -1283,6 +1428,12 @@ func (in *modelPeriodicTuningStatePtr) ToModelPeriodicTuningStatePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ModelPeriodicTuningStatePtrOutput) } +func (in *modelPeriodicTuningStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ModelPeriodicTuningState] { + return pulumix.Output[*ModelPeriodicTuningState]{ + OutputState: in.ToModelPeriodicTuningStatePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before. type ModelTrainingState string @@ -1355,6 +1506,12 @@ func (o ModelTrainingStateOutput) ToModelTrainingStatePtrOutputWithContext(ctx c }).(ModelTrainingStatePtrOutput) } +func (o ModelTrainingStateOutput) ToOutput(ctx context.Context) pulumix.Output[ModelTrainingState] { + return pulumix.Output[ModelTrainingState]{ + OutputState: o.OutputState, + } +} + func (o ModelTrainingStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1390,6 +1547,12 @@ func (o ModelTrainingStatePtrOutput) ToModelTrainingStatePtrOutputWithContext(ct return o } +func (o ModelTrainingStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelTrainingState] { + return pulumix.Output[*ModelTrainingState]{ + OutputState: o.OutputState, + } +} + func (o ModelTrainingStatePtrOutput) Elem() ModelTrainingStateOutput { return o.ApplyT(func(v *ModelTrainingState) ModelTrainingState { if v != nil { @@ -1452,6 +1615,12 @@ func (in *modelTrainingStatePtr) ToModelTrainingStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ModelTrainingStatePtrOutput) } +func (in *modelTrainingStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ModelTrainingState] { + return pulumix.Output[*ModelTrainingState]{ + OutputState: in.ToModelTrainingStatePtrOutputWithContext(ctx).OutputState, + } +} + // The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability). type ProductAvailability string @@ -1528,6 +1697,12 @@ func (o ProductAvailabilityOutput) ToProductAvailabilityPtrOutputWithContext(ctx }).(ProductAvailabilityPtrOutput) } +func (o ProductAvailabilityOutput) ToOutput(ctx context.Context) pulumix.Output[ProductAvailability] { + return pulumix.Output[ProductAvailability]{ + OutputState: o.OutputState, + } +} + func (o ProductAvailabilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1563,6 +1738,12 @@ func (o ProductAvailabilityPtrOutput) ToProductAvailabilityPtrOutputWithContext( return o } +func (o ProductAvailabilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProductAvailability] { + return pulumix.Output[*ProductAvailability]{ + OutputState: o.OutputState, + } +} + func (o ProductAvailabilityPtrOutput) Elem() ProductAvailabilityOutput { return o.ApplyT(func(v *ProductAvailability) ProductAvailability { if v != nil { @@ -1625,6 +1806,12 @@ func (in *productAvailabilityPtr) ToProductAvailabilityPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ProductAvailabilityPtrOutput) } +func (in *productAvailabilityPtr) ToOutput(ctx context.Context) pulumix.Output[*ProductAvailability] { + return pulumix.Output[*ProductAvailability]{ + OutputState: in.ToProductAvailabilityPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset. type ProductType string @@ -1699,6 +1886,12 @@ func (o ProductTypeOutput) ToProductTypePtrOutputWithContext(ctx context.Context }).(ProductTypePtrOutput) } +func (o ProductTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ProductType] { + return pulumix.Output[ProductType]{ + OutputState: o.OutputState, + } +} + func (o ProductTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1734,6 +1927,12 @@ func (o ProductTypePtrOutput) ToProductTypePtrOutputWithContext(ctx context.Cont return o } +func (o ProductTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProductType] { + return pulumix.Output[*ProductType]{ + OutputState: o.OutputState, + } +} + func (o ProductTypePtrOutput) Elem() ProductTypeOutput { return o.ApplyT(func(v *ProductType) ProductType { if v != nil { @@ -1796,6 +1995,12 @@ func (in *productTypePtr) ToProductTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ProductTypePtrOutput) } +func (in *productTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ProductType] { + return pulumix.Output[*ProductType]{ + OutputState: in.ToProductTypePtrOutputWithContext(ctx).OutputState, + } +} + // What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY. type ServingConfigDiversityType string @@ -1868,6 +2073,12 @@ func (o ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypePtrOutputW }).(ServingConfigDiversityTypePtrOutput) } +func (o ServingConfigDiversityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServingConfigDiversityType] { + return pulumix.Output[ServingConfigDiversityType]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigDiversityTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1903,6 +2114,12 @@ func (o ServingConfigDiversityTypePtrOutput) ToServingConfigDiversityTypePtrOutp return o } +func (o ServingConfigDiversityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigDiversityType] { + return pulumix.Output[*ServingConfigDiversityType]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigDiversityTypePtrOutput) Elem() ServingConfigDiversityTypeOutput { return o.ApplyT(func(v *ServingConfigDiversityType) ServingConfigDiversityType { if v != nil { @@ -1965,6 +2182,12 @@ func (in *servingConfigDiversityTypePtr) ToServingConfigDiversityTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(ServingConfigDiversityTypePtrOutput) } +func (in *servingConfigDiversityTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigDiversityType] { + return pulumix.Output[*ServingConfigDiversityType]{ + OutputState: in.ToServingConfigDiversityTypePtrOutputWithContext(ctx).OutputState, + } +} + type ServingConfigSolutionTypesItem string const ( @@ -2036,6 +2259,12 @@ func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPt }).(ServingConfigSolutionTypesItemPtrOutput) } +func (o ServingConfigSolutionTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[ServingConfigSolutionTypesItem] { + return pulumix.Output[ServingConfigSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigSolutionTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2071,6 +2300,12 @@ func (o ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesIte return o } +func (o ServingConfigSolutionTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigSolutionTypesItem] { + return pulumix.Output[*ServingConfigSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigSolutionTypesItemPtrOutput) Elem() ServingConfigSolutionTypesItemOutput { return o.ApplyT(func(v *ServingConfigSolutionTypesItem) ServingConfigSolutionTypesItem { if v != nil { @@ -2133,6 +2368,12 @@ func (in *servingConfigSolutionTypesItemPtr) ToServingConfigSolutionTypesItemPtr return pulumi.ToOutputWithContext(ctx, in).(ServingConfigSolutionTypesItemPtrOutput) } +func (in *servingConfigSolutionTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigSolutionTypesItem] { + return pulumix.Output[*ServingConfigSolutionTypesItem]{ + OutputState: in.ToServingConfigSolutionTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // ServingConfigSolutionTypesItemArrayInput is an input type that accepts ServingConfigSolutionTypesItemArray and ServingConfigSolutionTypesItemArrayOutput values. // You can construct a concrete instance of `ServingConfigSolutionTypesItemArrayInput` via: // @@ -2158,6 +2399,12 @@ func (i ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArr return pulumi.ToOutputWithContext(ctx, i).(ServingConfigSolutionTypesItemArrayOutput) } +func (i ServingConfigSolutionTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ServingConfigSolutionTypesItem] { + return pulumix.Output[[]ServingConfigSolutionTypesItem]{ + OutputState: i.ToServingConfigSolutionTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type ServingConfigSolutionTypesItemArrayOutput struct{ *pulumi.OutputState } func (ServingConfigSolutionTypesItemArrayOutput) ElementType() reflect.Type { @@ -2172,6 +2419,12 @@ func (o ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesI return o } +func (o ServingConfigSolutionTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServingConfigSolutionTypesItem] { + return pulumix.Output[[]ServingConfigSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigSolutionTypesItemArrayOutput) Index(i pulumi.IntInput) ServingConfigSolutionTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServingConfigSolutionTypesItem { return vs[0].([]ServingConfigSolutionTypesItem)[vs[1].(int)] diff --git a/sdk/go/google/retail/v2/pulumiTypes.go b/sdk/go/google/retail/v2/pulumiTypes.go index 9204c24665..4a42fb557c 100644 --- a/sdk/go/google/retail/v2/pulumiTypes.go +++ b/sdk/go/google/retail/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudRetailV2AudienceArgs) ToGoogleCloudRetailV2AudienceOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2AudienceOutput) } +func (i GoogleCloudRetailV2AudienceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Audience] { + return pulumix.Output[GoogleCloudRetailV2Audience]{ + OutputState: i.ToGoogleCloudRetailV2AudienceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2AudienceArgs) ToGoogleCloudRetailV2AudiencePtrOutput() GoogleCloudRetailV2AudiencePtrOutput { return i.ToGoogleCloudRetailV2AudiencePtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleCloudRetailV2AudiencePtrType) ToGoogleCloudRetailV2AudiencePtrOut return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2AudiencePtrOutput) } +func (i *googleCloudRetailV2AudiencePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2Audience] { + return pulumix.Output[*GoogleCloudRetailV2Audience]{ + OutputState: i.ToGoogleCloudRetailV2AudiencePtrOutputWithContext(ctx).OutputState, + } +} + // An intended audience of the Product for whom it's sold. type GoogleCloudRetailV2AudienceOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleCloudRetailV2AudienceOutput) ToGoogleCloudRetailV2AudiencePtrOutpu }).(GoogleCloudRetailV2AudiencePtrOutput) } +func (o GoogleCloudRetailV2AudienceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Audience] { + return pulumix.Output[GoogleCloudRetailV2Audience]{ + OutputState: o.OutputState, + } +} + // The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge). func (o GoogleCloudRetailV2AudienceOutput) AgeGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2Audience) []string { return v.AgeGroups }).(pulumi.StringArrayOutput) @@ -142,6 +161,12 @@ func (o GoogleCloudRetailV2AudiencePtrOutput) ToGoogleCloudRetailV2AudiencePtrOu return o } +func (o GoogleCloudRetailV2AudiencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2Audience] { + return pulumix.Output[*GoogleCloudRetailV2Audience]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2AudiencePtrOutput) Elem() GoogleCloudRetailV2AudienceOutput { return o.ApplyT(func(v *GoogleCloudRetailV2Audience) GoogleCloudRetailV2Audience { if v != nil { @@ -195,6 +220,12 @@ func (o GoogleCloudRetailV2AudienceResponseOutput) ToGoogleCloudRetailV2Audience return o } +func (o GoogleCloudRetailV2AudienceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2AudienceResponse] { + return pulumix.Output[GoogleCloudRetailV2AudienceResponse]{ + OutputState: o.OutputState, + } +} + // The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge). func (o GoogleCloudRetailV2AudienceResponseOutput) AgeGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2AudienceResponse) []string { return v.AgeGroups }).(pulumi.StringArrayOutput) @@ -244,6 +275,12 @@ func (i GoogleCloudRetailV2ColorInfoArgs) ToGoogleCloudRetailV2ColorInfoOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ColorInfoOutput) } +func (i GoogleCloudRetailV2ColorInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ColorInfo] { + return pulumix.Output[GoogleCloudRetailV2ColorInfo]{ + OutputState: i.ToGoogleCloudRetailV2ColorInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2ColorInfoArgs) ToGoogleCloudRetailV2ColorInfoPtrOutput() GoogleCloudRetailV2ColorInfoPtrOutput { return i.ToGoogleCloudRetailV2ColorInfoPtrOutputWithContext(context.Background()) } @@ -285,6 +322,12 @@ func (i *googleCloudRetailV2ColorInfoPtrType) ToGoogleCloudRetailV2ColorInfoPtrO return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ColorInfoPtrOutput) } +func (i *googleCloudRetailV2ColorInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2ColorInfo] { + return pulumix.Output[*GoogleCloudRetailV2ColorInfo]{ + OutputState: i.ToGoogleCloudRetailV2ColorInfoPtrOutputWithContext(ctx).OutputState, + } +} + // The color information of a Product. type GoogleCloudRetailV2ColorInfoOutput struct{ *pulumi.OutputState } @@ -310,6 +353,12 @@ func (o GoogleCloudRetailV2ColorInfoOutput) ToGoogleCloudRetailV2ColorInfoPtrOut }).(GoogleCloudRetailV2ColorInfoPtrOutput) } +func (o GoogleCloudRetailV2ColorInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ColorInfo] { + return pulumix.Output[GoogleCloudRetailV2ColorInfo]{ + OutputState: o.OutputState, + } +} + // The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color). func (o GoogleCloudRetailV2ColorInfoOutput) ColorFamilies() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2ColorInfo) []string { return v.ColorFamilies }).(pulumi.StringArrayOutput) @@ -334,6 +383,12 @@ func (o GoogleCloudRetailV2ColorInfoPtrOutput) ToGoogleCloudRetailV2ColorInfoPtr return o } +func (o GoogleCloudRetailV2ColorInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2ColorInfo] { + return pulumix.Output[*GoogleCloudRetailV2ColorInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ColorInfoPtrOutput) Elem() GoogleCloudRetailV2ColorInfoOutput { return o.ApplyT(func(v *GoogleCloudRetailV2ColorInfo) GoogleCloudRetailV2ColorInfo { if v != nil { @@ -387,6 +442,12 @@ func (o GoogleCloudRetailV2ColorInfoResponseOutput) ToGoogleCloudRetailV2ColorIn return o } +func (o GoogleCloudRetailV2ColorInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ColorInfoResponse] { + return pulumix.Output[GoogleCloudRetailV2ColorInfoResponse]{ + OutputState: o.OutputState, + } +} + // The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color). func (o GoogleCloudRetailV2ColorInfoResponseOutput) ColorFamilies() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2ColorInfoResponse) []string { return v.ColorFamilies }).(pulumi.StringArrayOutput) @@ -436,6 +497,12 @@ func (i GoogleCloudRetailV2ConditionArgs) ToGoogleCloudRetailV2ConditionOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ConditionOutput) } +func (i GoogleCloudRetailV2ConditionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Condition] { + return pulumix.Output[GoogleCloudRetailV2Condition]{ + OutputState: i.ToGoogleCloudRetailV2ConditionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2ConditionArgs) ToGoogleCloudRetailV2ConditionPtrOutput() GoogleCloudRetailV2ConditionPtrOutput { return i.ToGoogleCloudRetailV2ConditionPtrOutputWithContext(context.Background()) } @@ -477,6 +544,12 @@ func (i *googleCloudRetailV2ConditionPtrType) ToGoogleCloudRetailV2ConditionPtrO return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ConditionPtrOutput) } +func (i *googleCloudRetailV2ConditionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2Condition] { + return pulumix.Output[*GoogleCloudRetailV2Condition]{ + OutputState: i.ToGoogleCloudRetailV2ConditionPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted. type GoogleCloudRetailV2ConditionOutput struct{ *pulumi.OutputState } @@ -502,6 +575,12 @@ func (o GoogleCloudRetailV2ConditionOutput) ToGoogleCloudRetailV2ConditionPtrOut }).(GoogleCloudRetailV2ConditionPtrOutput) } +func (o GoogleCloudRetailV2ConditionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Condition] { + return pulumix.Output[GoogleCloudRetailV2Condition]{ + OutputState: o.OutputState, + } +} + // Range of time(s) specifying when Condition is active. Condition true if any time range matches. func (o GoogleCloudRetailV2ConditionOutput) ActiveTimeRange() GoogleCloudRetailV2ConditionTimeRangeArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2Condition) []GoogleCloudRetailV2ConditionTimeRange { return v.ActiveTimeRange }).(GoogleCloudRetailV2ConditionTimeRangeArrayOutput) @@ -526,6 +605,12 @@ func (o GoogleCloudRetailV2ConditionPtrOutput) ToGoogleCloudRetailV2ConditionPtr return o } +func (o GoogleCloudRetailV2ConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2Condition] { + return pulumix.Output[*GoogleCloudRetailV2Condition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ConditionPtrOutput) Elem() GoogleCloudRetailV2ConditionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2Condition) GoogleCloudRetailV2Condition { if v != nil { @@ -595,6 +680,12 @@ func (i GoogleCloudRetailV2ConditionQueryTermArgs) ToGoogleCloudRetailV2Conditio return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ConditionQueryTermOutput) } +func (i GoogleCloudRetailV2ConditionQueryTermArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ConditionQueryTerm] { + return pulumix.Output[GoogleCloudRetailV2ConditionQueryTerm]{ + OutputState: i.ToGoogleCloudRetailV2ConditionQueryTermOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2ConditionQueryTermArrayInput is an input type that accepts GoogleCloudRetailV2ConditionQueryTermArray and GoogleCloudRetailV2ConditionQueryTermArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2ConditionQueryTermArrayInput` via: // @@ -620,6 +711,12 @@ func (i GoogleCloudRetailV2ConditionQueryTermArray) ToGoogleCloudRetailV2Conditi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ConditionQueryTermArrayOutput) } +func (i GoogleCloudRetailV2ConditionQueryTermArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2ConditionQueryTerm] { + return pulumix.Output[[]GoogleCloudRetailV2ConditionQueryTerm]{ + OutputState: i.ToGoogleCloudRetailV2ConditionQueryTermArrayOutputWithContext(ctx).OutputState, + } +} + // Query terms that we want to match on. type GoogleCloudRetailV2ConditionQueryTermOutput struct{ *pulumi.OutputState } @@ -635,6 +732,12 @@ func (o GoogleCloudRetailV2ConditionQueryTermOutput) ToGoogleCloudRetailV2Condit return o } +func (o GoogleCloudRetailV2ConditionQueryTermOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ConditionQueryTerm] { + return pulumix.Output[GoogleCloudRetailV2ConditionQueryTerm]{ + OutputState: o.OutputState, + } +} + // Whether this is supposed to be a full or partial match. func (o GoogleCloudRetailV2ConditionQueryTermOutput) FullMatch() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2ConditionQueryTerm) *bool { return v.FullMatch }).(pulumi.BoolPtrOutput) @@ -659,6 +762,12 @@ func (o GoogleCloudRetailV2ConditionQueryTermArrayOutput) ToGoogleCloudRetailV2C return o } +func (o GoogleCloudRetailV2ConditionQueryTermArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2ConditionQueryTerm] { + return pulumix.Output[[]GoogleCloudRetailV2ConditionQueryTerm]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ConditionQueryTermArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2ConditionQueryTermOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2ConditionQueryTerm { return vs[0].([]GoogleCloudRetailV2ConditionQueryTerm)[vs[1].(int)] @@ -688,6 +797,12 @@ func (o GoogleCloudRetailV2ConditionQueryTermResponseOutput) ToGoogleCloudRetail return o } +func (o GoogleCloudRetailV2ConditionQueryTermResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ConditionQueryTermResponse] { + return pulumix.Output[GoogleCloudRetailV2ConditionQueryTermResponse]{ + OutputState: o.OutputState, + } +} + // Whether this is supposed to be a full or partial match. func (o GoogleCloudRetailV2ConditionQueryTermResponseOutput) FullMatch() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRetailV2ConditionQueryTermResponse) bool { return v.FullMatch }).(pulumi.BoolOutput) @@ -712,6 +827,12 @@ func (o GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2ConditionQueryTermResponse] { + return pulumix.Output[[]GoogleCloudRetailV2ConditionQueryTermResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2ConditionQueryTermResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2ConditionQueryTermResponse { return vs[0].([]GoogleCloudRetailV2ConditionQueryTermResponse)[vs[1].(int)] @@ -741,6 +862,12 @@ func (o GoogleCloudRetailV2ConditionResponseOutput) ToGoogleCloudRetailV2Conditi return o } +func (o GoogleCloudRetailV2ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ConditionResponse] { + return pulumix.Output[GoogleCloudRetailV2ConditionResponse]{ + OutputState: o.OutputState, + } +} + // Range of time(s) specifying when Condition is active. Condition true if any time range matches. func (o GoogleCloudRetailV2ConditionResponseOutput) ActiveTimeRange() GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2ConditionResponse) []GoogleCloudRetailV2ConditionTimeRangeResponse { @@ -794,6 +921,12 @@ func (i GoogleCloudRetailV2ConditionTimeRangeArgs) ToGoogleCloudRetailV2Conditio return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ConditionTimeRangeOutput) } +func (i GoogleCloudRetailV2ConditionTimeRangeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ConditionTimeRange] { + return pulumix.Output[GoogleCloudRetailV2ConditionTimeRange]{ + OutputState: i.ToGoogleCloudRetailV2ConditionTimeRangeOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2ConditionTimeRangeArrayInput is an input type that accepts GoogleCloudRetailV2ConditionTimeRangeArray and GoogleCloudRetailV2ConditionTimeRangeArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2ConditionTimeRangeArrayInput` via: // @@ -819,6 +952,12 @@ func (i GoogleCloudRetailV2ConditionTimeRangeArray) ToGoogleCloudRetailV2Conditi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ConditionTimeRangeArrayOutput) } +func (i GoogleCloudRetailV2ConditionTimeRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2ConditionTimeRange] { + return pulumix.Output[[]GoogleCloudRetailV2ConditionTimeRange]{ + OutputState: i.ToGoogleCloudRetailV2ConditionTimeRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Used for time-dependent conditions. Example: Want to have rule applied for week long sale. type GoogleCloudRetailV2ConditionTimeRangeOutput struct{ *pulumi.OutputState } @@ -834,6 +973,12 @@ func (o GoogleCloudRetailV2ConditionTimeRangeOutput) ToGoogleCloudRetailV2Condit return o } +func (o GoogleCloudRetailV2ConditionTimeRangeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ConditionTimeRange] { + return pulumix.Output[GoogleCloudRetailV2ConditionTimeRange]{ + OutputState: o.OutputState, + } +} + // End of time range. Range is inclusive. func (o GoogleCloudRetailV2ConditionTimeRangeOutput) EndTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2ConditionTimeRange) *string { return v.EndTime }).(pulumi.StringPtrOutput) @@ -858,6 +1003,12 @@ func (o GoogleCloudRetailV2ConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2C return o } +func (o GoogleCloudRetailV2ConditionTimeRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2ConditionTimeRange] { + return pulumix.Output[[]GoogleCloudRetailV2ConditionTimeRange]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ConditionTimeRangeArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2ConditionTimeRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2ConditionTimeRange { return vs[0].([]GoogleCloudRetailV2ConditionTimeRange)[vs[1].(int)] @@ -887,6 +1038,12 @@ func (o GoogleCloudRetailV2ConditionTimeRangeResponseOutput) ToGoogleCloudRetail return o } +func (o GoogleCloudRetailV2ConditionTimeRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ConditionTimeRangeResponse] { + return pulumix.Output[GoogleCloudRetailV2ConditionTimeRangeResponse]{ + OutputState: o.OutputState, + } +} + // End of time range. Range is inclusive. func (o GoogleCloudRetailV2ConditionTimeRangeResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2ConditionTimeRangeResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -911,6 +1068,12 @@ func (o GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2ConditionTimeRangeResponse] { + return pulumix.Output[[]GoogleCloudRetailV2ConditionTimeRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2ConditionTimeRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2ConditionTimeRangeResponse { return vs[0].([]GoogleCloudRetailV2ConditionTimeRangeResponse)[vs[1].(int)] @@ -956,6 +1119,12 @@ func (i GoogleCloudRetailV2FulfillmentInfoArgs) ToGoogleCloudRetailV2Fulfillment return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2FulfillmentInfoOutput) } +func (i GoogleCloudRetailV2FulfillmentInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2FulfillmentInfo] { + return pulumix.Output[GoogleCloudRetailV2FulfillmentInfo]{ + OutputState: i.ToGoogleCloudRetailV2FulfillmentInfoOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2FulfillmentInfoArrayInput is an input type that accepts GoogleCloudRetailV2FulfillmentInfoArray and GoogleCloudRetailV2FulfillmentInfoArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2FulfillmentInfoArrayInput` via: // @@ -981,6 +1150,12 @@ func (i GoogleCloudRetailV2FulfillmentInfoArray) ToGoogleCloudRetailV2Fulfillmen return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2FulfillmentInfoArrayOutput) } +func (i GoogleCloudRetailV2FulfillmentInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2FulfillmentInfo] { + return pulumix.Output[[]GoogleCloudRetailV2FulfillmentInfo]{ + OutputState: i.ToGoogleCloudRetailV2FulfillmentInfoArrayOutputWithContext(ctx).OutputState, + } +} + // Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. type GoogleCloudRetailV2FulfillmentInfoOutput struct{ *pulumi.OutputState } @@ -996,6 +1171,12 @@ func (o GoogleCloudRetailV2FulfillmentInfoOutput) ToGoogleCloudRetailV2Fulfillme return o } +func (o GoogleCloudRetailV2FulfillmentInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2FulfillmentInfo] { + return pulumix.Output[GoogleCloudRetailV2FulfillmentInfo]{ + OutputState: o.OutputState, + } +} + // The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2FulfillmentInfoOutput) PlaceIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2FulfillmentInfo) []string { return v.PlaceIds }).(pulumi.StringArrayOutput) @@ -1020,6 +1201,12 @@ func (o GoogleCloudRetailV2FulfillmentInfoArrayOutput) ToGoogleCloudRetailV2Fulf return o } +func (o GoogleCloudRetailV2FulfillmentInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2FulfillmentInfo] { + return pulumix.Output[[]GoogleCloudRetailV2FulfillmentInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2FulfillmentInfoArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2FulfillmentInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2FulfillmentInfo { return vs[0].([]GoogleCloudRetailV2FulfillmentInfo)[vs[1].(int)] @@ -1049,6 +1236,12 @@ func (o GoogleCloudRetailV2FulfillmentInfoResponseOutput) ToGoogleCloudRetailV2F return o } +func (o GoogleCloudRetailV2FulfillmentInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2FulfillmentInfoResponse] { + return pulumix.Output[GoogleCloudRetailV2FulfillmentInfoResponse]{ + OutputState: o.OutputState, + } +} + // The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2FulfillmentInfoResponseOutput) PlaceIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2FulfillmentInfoResponse) []string { return v.PlaceIds }).(pulumi.StringArrayOutput) @@ -1073,6 +1266,12 @@ func (o GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput) ToGoogleCloudReta return o } +func (o GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2FulfillmentInfoResponse] { + return pulumix.Output[[]GoogleCloudRetailV2FulfillmentInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2FulfillmentInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2FulfillmentInfoResponse { return vs[0].([]GoogleCloudRetailV2FulfillmentInfoResponse)[vs[1].(int)] @@ -1122,6 +1321,12 @@ func (i GoogleCloudRetailV2ImageArgs) ToGoogleCloudRetailV2ImageOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ImageOutput) } +func (i GoogleCloudRetailV2ImageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Image] { + return pulumix.Output[GoogleCloudRetailV2Image]{ + OutputState: i.ToGoogleCloudRetailV2ImageOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2ImageArrayInput is an input type that accepts GoogleCloudRetailV2ImageArray and GoogleCloudRetailV2ImageArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2ImageArrayInput` via: // @@ -1147,6 +1352,12 @@ func (i GoogleCloudRetailV2ImageArray) ToGoogleCloudRetailV2ImageArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ImageArrayOutput) } +func (i GoogleCloudRetailV2ImageArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2Image] { + return pulumix.Output[[]GoogleCloudRetailV2Image]{ + OutputState: i.ToGoogleCloudRetailV2ImageArrayOutputWithContext(ctx).OutputState, + } +} + // Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console. type GoogleCloudRetailV2ImageOutput struct{ *pulumi.OutputState } @@ -1162,6 +1373,12 @@ func (o GoogleCloudRetailV2ImageOutput) ToGoogleCloudRetailV2ImageOutputWithCont return o } +func (o GoogleCloudRetailV2ImageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Image] { + return pulumix.Output[GoogleCloudRetailV2Image]{ + OutputState: o.OutputState, + } +} + // Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2ImageOutput) Height() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2Image) *int { return v.Height }).(pulumi.IntPtrOutput) @@ -1191,6 +1408,12 @@ func (o GoogleCloudRetailV2ImageArrayOutput) ToGoogleCloudRetailV2ImageArrayOutp return o } +func (o GoogleCloudRetailV2ImageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2Image] { + return pulumix.Output[[]GoogleCloudRetailV2Image]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ImageArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2ImageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2Image { return vs[0].([]GoogleCloudRetailV2Image)[vs[1].(int)] @@ -1222,6 +1445,12 @@ func (o GoogleCloudRetailV2ImageResponseOutput) ToGoogleCloudRetailV2ImageRespon return o } +func (o GoogleCloudRetailV2ImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ImageResponse] { + return pulumix.Output[GoogleCloudRetailV2ImageResponse]{ + OutputState: o.OutputState, + } +} + // Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2ImageResponseOutput) Height() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRetailV2ImageResponse) int { return v.Height }).(pulumi.IntOutput) @@ -1251,6 +1480,12 @@ func (o GoogleCloudRetailV2ImageResponseArrayOutput) ToGoogleCloudRetailV2ImageR return o } +func (o GoogleCloudRetailV2ImageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2ImageResponse] { + return pulumix.Output[[]GoogleCloudRetailV2ImageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ImageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2ImageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2ImageResponse { return vs[0].([]GoogleCloudRetailV2ImageResponse)[vs[1].(int)] @@ -1284,6 +1519,12 @@ func (o GoogleCloudRetailV2IntervalResponseOutput) ToGoogleCloudRetailV2Interval return o } +func (o GoogleCloudRetailV2IntervalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2IntervalResponse] { + return pulumix.Output[GoogleCloudRetailV2IntervalResponse]{ + OutputState: o.OutputState, + } +} + // Exclusive upper bound. func (o GoogleCloudRetailV2IntervalResponseOutput) ExclusiveMaximum() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2IntervalResponse) float64 { return v.ExclusiveMaximum }).(pulumi.Float64Output) @@ -1331,6 +1572,12 @@ func (o GoogleCloudRetailV2LocalInventoryResponseOutput) ToGoogleCloudRetailV2Lo return o } +func (o GoogleCloudRetailV2LocalInventoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2LocalInventoryResponse] { + return pulumix.Output[GoogleCloudRetailV2LocalInventoryResponse]{ + OutputState: o.OutputState, + } +} + // Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The `searchable` field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB. func (o GoogleCloudRetailV2LocalInventoryResponseOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRetailV2LocalInventoryResponse) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -1367,6 +1614,12 @@ func (o GoogleCloudRetailV2LocalInventoryResponseArrayOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2LocalInventoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2LocalInventoryResponse] { + return pulumix.Output[[]GoogleCloudRetailV2LocalInventoryResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2LocalInventoryResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2LocalInventoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2LocalInventoryResponse { return vs[0].([]GoogleCloudRetailV2LocalInventoryResponse)[vs[1].(int)] @@ -1408,6 +1661,12 @@ func (i GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) } +func (i GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput() GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput { return i.ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(context.Background()) } @@ -1449,6 +1708,12 @@ func (i *googleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrType) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) } +func (i *googleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Additional configs for the frequently-bought-together model type. type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput struct{ *pulumi.OutputState } @@ -1474,6 +1739,12 @@ func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) To }).(GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) } +func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS. func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) ContextProductsType() GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig) *GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType { @@ -1495,6 +1766,12 @@ func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) return o } +func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) Elem() GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput { return o.ApplyT(func(v *GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig { if v != nil { @@ -1536,6 +1813,12 @@ func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOu return o } +func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponse] { + return pulumix.Output[GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS. func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ContextProductsType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponse) string { @@ -1578,6 +1861,12 @@ func (i GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2Mo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ModelModelFeaturesConfigOutput) } +func (i GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ModelModelFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2ModelModelFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2ModelModelFeaturesConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput { return i.ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutputWithContext(context.Background()) } @@ -1619,6 +1908,12 @@ func (i *googleCloudRetailV2ModelModelFeaturesConfigPtrType) ToGoogleCloudRetail return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) } +func (i *googleCloudRetailV2ModelModelFeaturesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2ModelModelFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2ModelModelFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Additional model features config. type GoogleCloudRetailV2ModelModelFeaturesConfigOutput struct{ *pulumi.OutputState } @@ -1644,6 +1939,12 @@ func (o GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2 }).(GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) } +func (o GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ModelModelFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2ModelModelFeaturesConfig]{ + OutputState: o.OutputState, + } +} + // Additional configs for frequently-bought-together models. func (o GoogleCloudRetailV2ModelModelFeaturesConfigOutput) FrequentlyBoughtTogetherConfig() GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2ModelModelFeaturesConfig) *GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig { @@ -1665,6 +1966,12 @@ func (o GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2ModelModelFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2ModelModelFeaturesConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) Elem() GoogleCloudRetailV2ModelModelFeaturesConfigOutput { return o.ApplyT(func(v *GoogleCloudRetailV2ModelModelFeaturesConfig) GoogleCloudRetailV2ModelModelFeaturesConfig { if v != nil { @@ -1706,6 +2013,12 @@ func (o GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ModelModelFeaturesConfigResponse] { + return pulumix.Output[GoogleCloudRetailV2ModelModelFeaturesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Additional configs for frequently-bought-together models. func (o GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput) FrequentlyBoughtTogetherConfig() GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput { return o.ApplyT(func(v GoogleCloudRetailV2ModelModelFeaturesConfigResponse) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponse { @@ -1734,6 +2047,12 @@ func (o GoogleCloudRetailV2ModelServingConfigListResponseOutput) ToGoogleCloudRe return o } +func (o GoogleCloudRetailV2ModelServingConfigListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ModelServingConfigListResponse] { + return pulumix.Output[GoogleCloudRetailV2ModelServingConfigListResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`. func (o GoogleCloudRetailV2ModelServingConfigListResponseOutput) ServingConfigIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2ModelServingConfigListResponse) []string { return v.ServingConfigIds }).(pulumi.StringArrayOutput) @@ -1753,6 +2072,12 @@ func (o GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2ModelServingConfigListResponse] { + return pulumix.Output[[]GoogleCloudRetailV2ModelServingConfigListResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2ModelServingConfigListResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2ModelServingConfigListResponse { return vs[0].([]GoogleCloudRetailV2ModelServingConfigListResponse)[vs[1].(int)] @@ -1814,6 +2139,12 @@ func (i GoogleCloudRetailV2PriceInfoArgs) ToGoogleCloudRetailV2PriceInfoOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2PriceInfoOutput) } +func (i GoogleCloudRetailV2PriceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2PriceInfo] { + return pulumix.Output[GoogleCloudRetailV2PriceInfo]{ + OutputState: i.ToGoogleCloudRetailV2PriceInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2PriceInfoArgs) ToGoogleCloudRetailV2PriceInfoPtrOutput() GoogleCloudRetailV2PriceInfoPtrOutput { return i.ToGoogleCloudRetailV2PriceInfoPtrOutputWithContext(context.Background()) } @@ -1855,6 +2186,12 @@ func (i *googleCloudRetailV2PriceInfoPtrType) ToGoogleCloudRetailV2PriceInfoPtrO return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2PriceInfoPtrOutput) } +func (i *googleCloudRetailV2PriceInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2PriceInfo] { + return pulumix.Output[*GoogleCloudRetailV2PriceInfo]{ + OutputState: i.ToGoogleCloudRetailV2PriceInfoPtrOutputWithContext(ctx).OutputState, + } +} + // The price information of a Product. type GoogleCloudRetailV2PriceInfoOutput struct{ *pulumi.OutputState } @@ -1880,6 +2217,12 @@ func (o GoogleCloudRetailV2PriceInfoOutput) ToGoogleCloudRetailV2PriceInfoPtrOut }).(GoogleCloudRetailV2PriceInfoPtrOutput) } +func (o GoogleCloudRetailV2PriceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2PriceInfo] { + return pulumix.Output[GoogleCloudRetailV2PriceInfo]{ + OutputState: o.OutputState, + } +} + // The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895). func (o GoogleCloudRetailV2PriceInfoOutput) Cost() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2PriceInfo) *float64 { return v.Cost }).(pulumi.Float64PtrOutput) @@ -1924,6 +2267,12 @@ func (o GoogleCloudRetailV2PriceInfoPtrOutput) ToGoogleCloudRetailV2PriceInfoPtr return o } +func (o GoogleCloudRetailV2PriceInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2PriceInfo] { + return pulumix.Output[*GoogleCloudRetailV2PriceInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2PriceInfoPtrOutput) Elem() GoogleCloudRetailV2PriceInfoOutput { return o.ApplyT(func(v *GoogleCloudRetailV2PriceInfo) GoogleCloudRetailV2PriceInfo { if v != nil { @@ -2017,6 +2366,12 @@ func (o GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2PriceInfoPriceRangeResponse] { + return pulumix.Output[GoogleCloudRetailV2PriceInfoPriceRangeResponse]{ + OutputState: o.OutputState, + } +} + // The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id. func (o GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput) OriginalPrice() GoogleCloudRetailV2IntervalResponseOutput { return o.ApplyT(func(v GoogleCloudRetailV2PriceInfoPriceRangeResponse) GoogleCloudRetailV2IntervalResponse { @@ -2064,6 +2419,12 @@ func (o GoogleCloudRetailV2PriceInfoResponseOutput) ToGoogleCloudRetailV2PriceIn return o } +func (o GoogleCloudRetailV2PriceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2PriceInfoResponse] { + return pulumix.Output[GoogleCloudRetailV2PriceInfoResponse]{ + OutputState: o.OutputState, + } +} + // The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895). func (o GoogleCloudRetailV2PriceInfoResponseOutput) Cost() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2PriceInfoResponse) float64 { return v.Cost }).(pulumi.Float64Output) @@ -2188,6 +2549,12 @@ func (o GoogleCloudRetailV2ProductResponseOutput) ToGoogleCloudRetailV2ProductRe return o } +func (o GoogleCloudRetailV2ProductResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2ProductResponse] { + return pulumix.Output[GoogleCloudRetailV2ProductResponse]{ + OutputState: o.OutputState, + } +} + // Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. func (o GoogleCloudRetailV2ProductResponseOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRetailV2ProductResponse) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -2373,6 +2740,12 @@ func (o GoogleCloudRetailV2ProductResponseArrayOutput) ToGoogleCloudRetailV2Prod return o } +func (o GoogleCloudRetailV2ProductResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2ProductResponse] { + return pulumix.Output[[]GoogleCloudRetailV2ProductResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2ProductResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2ProductResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2ProductResponse { return vs[0].([]GoogleCloudRetailV2ProductResponse)[vs[1].(int)] @@ -2414,6 +2787,12 @@ func (i GoogleCloudRetailV2PromotionArgs) ToGoogleCloudRetailV2PromotionOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2PromotionOutput) } +func (i GoogleCloudRetailV2PromotionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Promotion] { + return pulumix.Output[GoogleCloudRetailV2Promotion]{ + OutputState: i.ToGoogleCloudRetailV2PromotionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2PromotionArrayInput is an input type that accepts GoogleCloudRetailV2PromotionArray and GoogleCloudRetailV2PromotionArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2PromotionArrayInput` via: // @@ -2439,6 +2818,12 @@ func (i GoogleCloudRetailV2PromotionArray) ToGoogleCloudRetailV2PromotionArrayOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2PromotionArrayOutput) } +func (i GoogleCloudRetailV2PromotionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2Promotion] { + return pulumix.Output[[]GoogleCloudRetailV2Promotion]{ + OutputState: i.ToGoogleCloudRetailV2PromotionArrayOutputWithContext(ctx).OutputState, + } +} + // Promotion specification. type GoogleCloudRetailV2PromotionOutput struct{ *pulumi.OutputState } @@ -2454,6 +2839,12 @@ func (o GoogleCloudRetailV2PromotionOutput) ToGoogleCloudRetailV2PromotionOutput return o } +func (o GoogleCloudRetailV2PromotionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Promotion] { + return pulumix.Output[GoogleCloudRetailV2Promotion]{ + OutputState: o.OutputState, + } +} + // Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148). func (o GoogleCloudRetailV2PromotionOutput) PromotionId() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2Promotion) *string { return v.PromotionId }).(pulumi.StringPtrOutput) @@ -2473,6 +2864,12 @@ func (o GoogleCloudRetailV2PromotionArrayOutput) ToGoogleCloudRetailV2PromotionA return o } +func (o GoogleCloudRetailV2PromotionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2Promotion] { + return pulumix.Output[[]GoogleCloudRetailV2Promotion]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2PromotionArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2PromotionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2Promotion { return vs[0].([]GoogleCloudRetailV2Promotion)[vs[1].(int)] @@ -2500,6 +2897,12 @@ func (o GoogleCloudRetailV2PromotionResponseOutput) ToGoogleCloudRetailV2Promoti return o } +func (o GoogleCloudRetailV2PromotionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2PromotionResponse] { + return pulumix.Output[GoogleCloudRetailV2PromotionResponse]{ + OutputState: o.OutputState, + } +} + // Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148). func (o GoogleCloudRetailV2PromotionResponseOutput) PromotionId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2PromotionResponse) string { return v.PromotionId }).(pulumi.StringOutput) @@ -2519,6 +2922,12 @@ func (o GoogleCloudRetailV2PromotionResponseArrayOutput) ToGoogleCloudRetailV2Pr return o } +func (o GoogleCloudRetailV2PromotionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2PromotionResponse] { + return pulumix.Output[[]GoogleCloudRetailV2PromotionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2PromotionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2PromotionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2PromotionResponse { return vs[0].([]GoogleCloudRetailV2PromotionResponse)[vs[1].(int)] @@ -2568,6 +2977,12 @@ func (i GoogleCloudRetailV2RatingArgs) ToGoogleCloudRetailV2RatingOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RatingOutput) } +func (i GoogleCloudRetailV2RatingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Rating] { + return pulumix.Output[GoogleCloudRetailV2Rating]{ + OutputState: i.ToGoogleCloudRetailV2RatingOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2RatingArgs) ToGoogleCloudRetailV2RatingPtrOutput() GoogleCloudRetailV2RatingPtrOutput { return i.ToGoogleCloudRetailV2RatingPtrOutputWithContext(context.Background()) } @@ -2609,6 +3024,12 @@ func (i *googleCloudRetailV2RatingPtrType) ToGoogleCloudRetailV2RatingPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RatingPtrOutput) } +func (i *googleCloudRetailV2RatingPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2Rating] { + return pulumix.Output[*GoogleCloudRetailV2Rating]{ + OutputState: i.ToGoogleCloudRetailV2RatingPtrOutputWithContext(ctx).OutputState, + } +} + // The rating of a Product. type GoogleCloudRetailV2RatingOutput struct{ *pulumi.OutputState } @@ -2634,6 +3055,12 @@ func (o GoogleCloudRetailV2RatingOutput) ToGoogleCloudRetailV2RatingPtrOutputWit }).(GoogleCloudRetailV2RatingPtrOutput) } +func (o GoogleCloudRetailV2RatingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Rating] { + return pulumix.Output[GoogleCloudRetailV2Rating]{ + OutputState: o.OutputState, + } +} + // The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2RatingOutput) AverageRating() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2Rating) *float64 { return v.AverageRating }).(pulumi.Float64PtrOutput) @@ -2663,6 +3090,12 @@ func (o GoogleCloudRetailV2RatingPtrOutput) ToGoogleCloudRetailV2RatingPtrOutput return o } +func (o GoogleCloudRetailV2RatingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2Rating] { + return pulumix.Output[*GoogleCloudRetailV2Rating]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2RatingPtrOutput) Elem() GoogleCloudRetailV2RatingOutput { return o.ApplyT(func(v *GoogleCloudRetailV2Rating) GoogleCloudRetailV2Rating { if v != nil { @@ -2728,6 +3161,12 @@ func (o GoogleCloudRetailV2RatingResponseOutput) ToGoogleCloudRetailV2RatingResp return o } +func (o GoogleCloudRetailV2RatingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RatingResponse] { + return pulumix.Output[GoogleCloudRetailV2RatingResponse]{ + OutputState: o.OutputState, + } +} + // The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2RatingResponseOutput) AverageRating() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2RatingResponse) float64 { return v.AverageRating }).(pulumi.Float64Output) @@ -2810,6 +3249,12 @@ func (i GoogleCloudRetailV2RuleArgs) ToGoogleCloudRetailV2RuleOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleOutput) } +func (i GoogleCloudRetailV2RuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Rule] { + return pulumix.Output[GoogleCloudRetailV2Rule]{ + OutputState: i.ToGoogleCloudRetailV2RuleOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2RuleArgs) ToGoogleCloudRetailV2RulePtrOutput() GoogleCloudRetailV2RulePtrOutput { return i.ToGoogleCloudRetailV2RulePtrOutputWithContext(context.Background()) } @@ -2851,6 +3296,12 @@ func (i *googleCloudRetailV2RulePtrType) ToGoogleCloudRetailV2RulePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RulePtrOutput) } +func (i *googleCloudRetailV2RulePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2Rule] { + return pulumix.Output[*GoogleCloudRetailV2Rule]{ + OutputState: i.ToGoogleCloudRetailV2RulePtrOutputWithContext(ctx).OutputState, + } +} + // A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH. type GoogleCloudRetailV2RuleOutput struct{ *pulumi.OutputState } @@ -2876,6 +3327,12 @@ func (o GoogleCloudRetailV2RuleOutput) ToGoogleCloudRetailV2RulePtrOutputWithCon }).(GoogleCloudRetailV2RulePtrOutput) } +func (o GoogleCloudRetailV2RuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2Rule] { + return pulumix.Output[GoogleCloudRetailV2Rule]{ + OutputState: o.OutputState, + } +} + // A boost action. func (o GoogleCloudRetailV2RuleOutput) BoostAction() GoogleCloudRetailV2RuleBoostActionPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2Rule) *GoogleCloudRetailV2RuleBoostAction { return v.BoostAction }).(GoogleCloudRetailV2RuleBoostActionPtrOutput) @@ -2941,6 +3398,12 @@ func (o GoogleCloudRetailV2RulePtrOutput) ToGoogleCloudRetailV2RulePtrOutputWith return o } +func (o GoogleCloudRetailV2RulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2Rule] { + return pulumix.Output[*GoogleCloudRetailV2Rule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2RulePtrOutput) Elem() GoogleCloudRetailV2RuleOutput { return o.ApplyT(func(v *GoogleCloudRetailV2Rule) GoogleCloudRetailV2Rule { if v != nil { @@ -3080,6 +3543,12 @@ func (i GoogleCloudRetailV2RuleBoostActionArgs) ToGoogleCloudRetailV2RuleBoostAc return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleBoostActionOutput) } +func (i GoogleCloudRetailV2RuleBoostActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleBoostAction] { + return pulumix.Output[GoogleCloudRetailV2RuleBoostAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleBoostActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2RuleBoostActionArgs) ToGoogleCloudRetailV2RuleBoostActionPtrOutput() GoogleCloudRetailV2RuleBoostActionPtrOutput { return i.ToGoogleCloudRetailV2RuleBoostActionPtrOutputWithContext(context.Background()) } @@ -3121,6 +3590,12 @@ func (i *googleCloudRetailV2RuleBoostActionPtrType) ToGoogleCloudRetailV2RuleBoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleBoostActionPtrOutput) } +func (i *googleCloudRetailV2RuleBoostActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleBoostAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleBoostAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleBoostActionPtrOutputWithContext(ctx).OutputState, + } +} + // A boost action to apply to results matching condition specified above. type GoogleCloudRetailV2RuleBoostActionOutput struct{ *pulumi.OutputState } @@ -3146,6 +3621,12 @@ func (o GoogleCloudRetailV2RuleBoostActionOutput) ToGoogleCloudRetailV2RuleBoost }).(GoogleCloudRetailV2RuleBoostActionPtrOutput) } +func (o GoogleCloudRetailV2RuleBoostActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleBoostAction] { + return pulumix.Output[GoogleCloudRetailV2RuleBoostAction]{ + OutputState: o.OutputState, + } +} + // Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. func (o GoogleCloudRetailV2RuleBoostActionOutput) Boost() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleBoostAction) *float64 { return v.Boost }).(pulumi.Float64PtrOutput) @@ -3170,6 +3651,12 @@ func (o GoogleCloudRetailV2RuleBoostActionPtrOutput) ToGoogleCloudRetailV2RuleBo return o } +func (o GoogleCloudRetailV2RuleBoostActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleBoostAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleBoostAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2RuleBoostActionPtrOutput) Elem() GoogleCloudRetailV2RuleBoostActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2RuleBoostAction) GoogleCloudRetailV2RuleBoostAction { if v != nil { @@ -3223,6 +3710,12 @@ func (o GoogleCloudRetailV2RuleBoostActionResponseOutput) ToGoogleCloudRetailV2R return o } +func (o GoogleCloudRetailV2RuleBoostActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleBoostActionResponse] { + return pulumix.Output[GoogleCloudRetailV2RuleBoostActionResponse]{ + OutputState: o.OutputState, + } +} + // Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. func (o GoogleCloudRetailV2RuleBoostActionResponseOutput) Boost() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2RuleBoostActionResponse) float64 { return v.Boost }).(pulumi.Float64Output) @@ -3276,6 +3769,12 @@ func (i GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2Ru return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleDoNotAssociateActionOutput) } +func (i GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleDoNotAssociateAction] { + return pulumix.Output[GoogleCloudRetailV2RuleDoNotAssociateAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleDoNotAssociateActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput { return i.ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutputWithContext(context.Background()) } @@ -3317,6 +3816,12 @@ func (i *googleCloudRetailV2RuleDoNotAssociateActionPtrType) ToGoogleCloudRetail return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) } +func (i *googleCloudRetailV2RuleDoNotAssociateActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleDoNotAssociateAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleDoNotAssociateAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutputWithContext(ctx).OutputState, + } +} + // Prevents `query_term` from being associated with specified terms during search. Example: Don't associate "gShoe" and "cheap". type GoogleCloudRetailV2RuleDoNotAssociateActionOutput struct{ *pulumi.OutputState } @@ -3342,6 +3847,12 @@ func (o GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2 }).(GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) } +func (o GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleDoNotAssociateAction] { + return pulumix.Output[GoogleCloudRetailV2RuleDoNotAssociateAction]{ + OutputState: o.OutputState, + } +} + // Cannot contain duplicates or the query term. Can specify up to 100 terms. func (o GoogleCloudRetailV2RuleDoNotAssociateActionOutput) DoNotAssociateTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleDoNotAssociateAction) []string { return v.DoNotAssociateTerms }).(pulumi.StringArrayOutput) @@ -3371,6 +3882,12 @@ func (o GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleDoNotAssociateAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleDoNotAssociateAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) Elem() GoogleCloudRetailV2RuleDoNotAssociateActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2RuleDoNotAssociateAction) GoogleCloudRetailV2RuleDoNotAssociateAction { if v != nil { @@ -3436,6 +3953,12 @@ func (o GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleDoNotAssociateActionResponse] { + return pulumix.Output[GoogleCloudRetailV2RuleDoNotAssociateActionResponse]{ + OutputState: o.OutputState, + } +} + // Cannot contain duplicates or the query term. Can specify up to 100 terms. func (o GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput) DoNotAssociateTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleDoNotAssociateActionResponse) []string { return v.DoNotAssociateTerms }).(pulumi.StringArrayOutput) @@ -3486,6 +4009,12 @@ func (i GoogleCloudRetailV2RuleFilterActionArgs) ToGoogleCloudRetailV2RuleFilter return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleFilterActionOutput) } +func (i GoogleCloudRetailV2RuleFilterActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleFilterAction] { + return pulumix.Output[GoogleCloudRetailV2RuleFilterAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleFilterActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2RuleFilterActionArgs) ToGoogleCloudRetailV2RuleFilterActionPtrOutput() GoogleCloudRetailV2RuleFilterActionPtrOutput { return i.ToGoogleCloudRetailV2RuleFilterActionPtrOutputWithContext(context.Background()) } @@ -3527,6 +4056,12 @@ func (i *googleCloudRetailV2RuleFilterActionPtrType) ToGoogleCloudRetailV2RuleFi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleFilterActionPtrOutput) } +func (i *googleCloudRetailV2RuleFilterActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleFilterAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleFilterAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleFilterActionPtrOutputWithContext(ctx).OutputState, + } +} + // * Rule Condition: - No Condition.query_terms provided is a global match. - 1 or more Condition.query_terms provided are combined with OR operator. * Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query's existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict. * Action Result: Filters the returned objects to be ONLY those that passed the filter. type GoogleCloudRetailV2RuleFilterActionOutput struct{ *pulumi.OutputState } @@ -3552,6 +4087,12 @@ func (o GoogleCloudRetailV2RuleFilterActionOutput) ToGoogleCloudRetailV2RuleFilt }).(GoogleCloudRetailV2RuleFilterActionPtrOutput) } +func (o GoogleCloudRetailV2RuleFilterActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleFilterAction] { + return pulumix.Output[GoogleCloudRetailV2RuleFilterAction]{ + OutputState: o.OutputState, + } +} + // A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) * func (o GoogleCloudRetailV2RuleFilterActionOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleFilterAction) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -3571,6 +4112,12 @@ func (o GoogleCloudRetailV2RuleFilterActionPtrOutput) ToGoogleCloudRetailV2RuleF return o } +func (o GoogleCloudRetailV2RuleFilterActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleFilterAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleFilterAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2RuleFilterActionPtrOutput) Elem() GoogleCloudRetailV2RuleFilterActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2RuleFilterAction) GoogleCloudRetailV2RuleFilterAction { if v != nil { @@ -3612,6 +4159,12 @@ func (o GoogleCloudRetailV2RuleFilterActionResponseOutput) ToGoogleCloudRetailV2 return o } +func (o GoogleCloudRetailV2RuleFilterActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleFilterActionResponse] { + return pulumix.Output[GoogleCloudRetailV2RuleFilterActionResponse]{ + OutputState: o.OutputState, + } +} + // A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) * func (o GoogleCloudRetailV2RuleFilterActionResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleFilterActionResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -3652,6 +4205,12 @@ func (i GoogleCloudRetailV2RuleIgnoreActionArgs) ToGoogleCloudRetailV2RuleIgnore return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleIgnoreActionOutput) } +func (i GoogleCloudRetailV2RuleIgnoreActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleIgnoreAction] { + return pulumix.Output[GoogleCloudRetailV2RuleIgnoreAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleIgnoreActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2RuleIgnoreActionArgs) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutput() GoogleCloudRetailV2RuleIgnoreActionPtrOutput { return i.ToGoogleCloudRetailV2RuleIgnoreActionPtrOutputWithContext(context.Background()) } @@ -3693,6 +4252,12 @@ func (i *googleCloudRetailV2RuleIgnoreActionPtrType) ToGoogleCloudRetailV2RuleIg return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleIgnoreActionPtrOutput) } +func (i *googleCloudRetailV2RuleIgnoreActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleIgnoreAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleIgnoreAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleIgnoreActionPtrOutputWithContext(ctx).OutputState, + } +} + // Prevents a term in the query from being used in search. Example: Don't search for "shoddy". type GoogleCloudRetailV2RuleIgnoreActionOutput struct{ *pulumi.OutputState } @@ -3718,6 +4283,12 @@ func (o GoogleCloudRetailV2RuleIgnoreActionOutput) ToGoogleCloudRetailV2RuleIgno }).(GoogleCloudRetailV2RuleIgnoreActionPtrOutput) } +func (o GoogleCloudRetailV2RuleIgnoreActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleIgnoreAction] { + return pulumix.Output[GoogleCloudRetailV2RuleIgnoreAction]{ + OutputState: o.OutputState, + } +} + // Terms to ignore in the search query. func (o GoogleCloudRetailV2RuleIgnoreActionOutput) IgnoreTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleIgnoreAction) []string { return v.IgnoreTerms }).(pulumi.StringArrayOutput) @@ -3737,6 +4308,12 @@ func (o GoogleCloudRetailV2RuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2RuleI return o } +func (o GoogleCloudRetailV2RuleIgnoreActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleIgnoreAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleIgnoreAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2RuleIgnoreActionPtrOutput) Elem() GoogleCloudRetailV2RuleIgnoreActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2RuleIgnoreAction) GoogleCloudRetailV2RuleIgnoreAction { if v != nil { @@ -3778,6 +4355,12 @@ func (o GoogleCloudRetailV2RuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2 return o } +func (o GoogleCloudRetailV2RuleIgnoreActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleIgnoreActionResponse] { + return pulumix.Output[GoogleCloudRetailV2RuleIgnoreActionResponse]{ + OutputState: o.OutputState, + } +} + // Terms to ignore in the search query. func (o GoogleCloudRetailV2RuleIgnoreActionResponseOutput) IgnoreTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleIgnoreActionResponse) []string { return v.IgnoreTerms }).(pulumi.StringArrayOutput) @@ -3826,6 +4409,12 @@ func (i GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2Ru return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) } +func (i GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleOnewaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2RuleOnewaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput { return i.ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutputWithContext(context.Background()) } @@ -3867,6 +4456,12 @@ func (i *googleCloudRetailV2RuleOnewaySynonymsActionPtrType) ToGoogleCloudRetail return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) } +func (i *googleCloudRetailV2RuleOnewaySynonymsActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleOnewaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleOnewaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutputWithContext(ctx).OutputState, + } +} + // Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only. `query_terms` will not be treated as synonyms of each other. Example: "sneakers" will use a synonym of "shoes". "shoes" will not use a synonym of "sneakers". type GoogleCloudRetailV2RuleOnewaySynonymsActionOutput struct{ *pulumi.OutputState } @@ -3892,6 +4487,12 @@ func (o GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2 }).(GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) } +func (o GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleOnewaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2RuleOnewaySynonymsAction]{ + OutputState: o.OutputState, + } +} + // Will be [deprecated = true] post migration; func (o GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) OnewayTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleOnewaySynonymsAction) []string { return v.OnewayTerms }).(pulumi.StringArrayOutput) @@ -3921,6 +4522,12 @@ func (o GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleOnewaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleOnewaySynonymsAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) Elem() GoogleCloudRetailV2RuleOnewaySynonymsActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2RuleOnewaySynonymsAction) GoogleCloudRetailV2RuleOnewaySynonymsAction { if v != nil { @@ -3986,6 +4593,12 @@ func (o GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleOnewaySynonymsActionResponse] { + return pulumix.Output[GoogleCloudRetailV2RuleOnewaySynonymsActionResponse]{ + OutputState: o.OutputState, + } +} + // Will be [deprecated = true] post migration; func (o GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput) OnewayTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleOnewaySynonymsActionResponse) []string { return v.OnewayTerms }).(pulumi.StringArrayOutput) @@ -4036,6 +4649,12 @@ func (i GoogleCloudRetailV2RuleRedirectActionArgs) ToGoogleCloudRetailV2RuleRedi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleRedirectActionOutput) } +func (i GoogleCloudRetailV2RuleRedirectActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleRedirectAction] { + return pulumix.Output[GoogleCloudRetailV2RuleRedirectAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleRedirectActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2RuleRedirectActionArgs) ToGoogleCloudRetailV2RuleRedirectActionPtrOutput() GoogleCloudRetailV2RuleRedirectActionPtrOutput { return i.ToGoogleCloudRetailV2RuleRedirectActionPtrOutputWithContext(context.Background()) } @@ -4077,6 +4696,12 @@ func (i *googleCloudRetailV2RuleRedirectActionPtrType) ToGoogleCloudRetailV2Rule return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleRedirectActionPtrOutput) } +func (i *googleCloudRetailV2RuleRedirectActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleRedirectAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleRedirectAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleRedirectActionPtrOutputWithContext(ctx).OutputState, + } +} + // Redirects a shopper to a specific page. * Rule Condition: - Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri. type GoogleCloudRetailV2RuleRedirectActionOutput struct{ *pulumi.OutputState } @@ -4102,6 +4727,12 @@ func (o GoogleCloudRetailV2RuleRedirectActionOutput) ToGoogleCloudRetailV2RuleRe }).(GoogleCloudRetailV2RuleRedirectActionPtrOutput) } +func (o GoogleCloudRetailV2RuleRedirectActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleRedirectAction] { + return pulumix.Output[GoogleCloudRetailV2RuleRedirectAction]{ + OutputState: o.OutputState, + } +} + // URL must have length equal or less than 2000 characters. func (o GoogleCloudRetailV2RuleRedirectActionOutput) RedirectUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleRedirectAction) *string { return v.RedirectUri }).(pulumi.StringPtrOutput) @@ -4121,6 +4752,12 @@ func (o GoogleCloudRetailV2RuleRedirectActionPtrOutput) ToGoogleCloudRetailV2Rul return o } +func (o GoogleCloudRetailV2RuleRedirectActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleRedirectAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleRedirectAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2RuleRedirectActionPtrOutput) Elem() GoogleCloudRetailV2RuleRedirectActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2RuleRedirectAction) GoogleCloudRetailV2RuleRedirectAction { if v != nil { @@ -4162,6 +4799,12 @@ func (o GoogleCloudRetailV2RuleRedirectActionResponseOutput) ToGoogleCloudRetail return o } +func (o GoogleCloudRetailV2RuleRedirectActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleRedirectActionResponse] { + return pulumix.Output[GoogleCloudRetailV2RuleRedirectActionResponse]{ + OutputState: o.OutputState, + } +} + // URL must have length equal or less than 2000 characters. func (o GoogleCloudRetailV2RuleRedirectActionResponseOutput) RedirectUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleRedirectActionResponse) string { return v.RedirectUri }).(pulumi.StringOutput) @@ -4210,6 +4853,12 @@ func (i GoogleCloudRetailV2RuleReplacementActionArgs) ToGoogleCloudRetailV2RuleR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleReplacementActionOutput) } +func (i GoogleCloudRetailV2RuleReplacementActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleReplacementAction] { + return pulumix.Output[GoogleCloudRetailV2RuleReplacementAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleReplacementActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2RuleReplacementActionArgs) ToGoogleCloudRetailV2RuleReplacementActionPtrOutput() GoogleCloudRetailV2RuleReplacementActionPtrOutput { return i.ToGoogleCloudRetailV2RuleReplacementActionPtrOutputWithContext(context.Background()) } @@ -4251,6 +4900,12 @@ func (i *googleCloudRetailV2RuleReplacementActionPtrType) ToGoogleCloudRetailV2R return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleReplacementActionPtrOutput) } +func (i *googleCloudRetailV2RuleReplacementActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleReplacementAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleReplacementAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleReplacementActionPtrOutputWithContext(ctx).OutputState, + } +} + // Replaces a term in the query. Multiple replacement candidates can be specified. All `query_terms` will be replaced with the replacement term. Example: Replace "gShoe" with "google shoe". type GoogleCloudRetailV2RuleReplacementActionOutput struct{ *pulumi.OutputState } @@ -4276,6 +4931,12 @@ func (o GoogleCloudRetailV2RuleReplacementActionOutput) ToGoogleCloudRetailV2Rul }).(GoogleCloudRetailV2RuleReplacementActionPtrOutput) } +func (o GoogleCloudRetailV2RuleReplacementActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleReplacementAction] { + return pulumix.Output[GoogleCloudRetailV2RuleReplacementAction]{ + OutputState: o.OutputState, + } +} + // Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms. func (o GoogleCloudRetailV2RuleReplacementActionOutput) QueryTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleReplacementAction) []string { return v.QueryTerms }).(pulumi.StringArrayOutput) @@ -4305,6 +4966,12 @@ func (o GoogleCloudRetailV2RuleReplacementActionPtrOutput) ToGoogleCloudRetailV2 return o } +func (o GoogleCloudRetailV2RuleReplacementActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleReplacementAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleReplacementAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2RuleReplacementActionPtrOutput) Elem() GoogleCloudRetailV2RuleReplacementActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2RuleReplacementAction) GoogleCloudRetailV2RuleReplacementAction { if v != nil { @@ -4370,6 +5037,12 @@ func (o GoogleCloudRetailV2RuleReplacementActionResponseOutput) ToGoogleCloudRet return o } +func (o GoogleCloudRetailV2RuleReplacementActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleReplacementActionResponse] { + return pulumix.Output[GoogleCloudRetailV2RuleReplacementActionResponse]{ + OutputState: o.OutputState, + } +} + // Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms. func (o GoogleCloudRetailV2RuleReplacementActionResponseOutput) QueryTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleReplacementActionResponse) []string { return v.QueryTerms }).(pulumi.StringArrayOutput) @@ -4422,6 +5095,12 @@ func (o GoogleCloudRetailV2RuleResponseOutput) ToGoogleCloudRetailV2RuleResponse return o } +func (o GoogleCloudRetailV2RuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleResponse] { + return pulumix.Output[GoogleCloudRetailV2RuleResponse]{ + OutputState: o.OutputState, + } +} + // A boost action. func (o GoogleCloudRetailV2RuleResponseOutput) BoostAction() GoogleCloudRetailV2RuleBoostActionResponseOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleResponse) GoogleCloudRetailV2RuleBoostActionResponse { @@ -4518,6 +5197,12 @@ func (i GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2Ru return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) } +func (i GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleTwowaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2RuleTwowaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput { return i.ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutputWithContext(context.Background()) } @@ -4559,6 +5244,12 @@ func (i *googleCloudRetailV2RuleTwowaySynonymsActionPtrType) ToGoogleCloudRetail return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) } +func (i *googleCloudRetailV2RuleTwowaySynonymsActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleTwowaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleTwowaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutputWithContext(ctx).OutputState, + } +} + // Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes": * "sneakers" will use a synonym of "shoes". * "shoes" will use a synonym of "sneakers". type GoogleCloudRetailV2RuleTwowaySynonymsActionOutput struct{ *pulumi.OutputState } @@ -4584,6 +5275,12 @@ func (o GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2 }).(GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) } +func (o GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleTwowaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2RuleTwowaySynonymsAction]{ + OutputState: o.OutputState, + } +} + // Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. func (o GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleTwowaySynonymsAction) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -4603,6 +5300,12 @@ func (o GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2RuleTwowaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2RuleTwowaySynonymsAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) Elem() GoogleCloudRetailV2RuleTwowaySynonymsActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2RuleTwowaySynonymsAction) GoogleCloudRetailV2RuleTwowaySynonymsAction { if v != nil { @@ -4644,6 +5347,12 @@ func (o GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2RuleTwowaySynonymsActionResponse] { + return pulumix.Output[GoogleCloudRetailV2RuleTwowaySynonymsActionResponse]{ + OutputState: o.OutputState, + } +} + // Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. func (o GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2RuleTwowaySynonymsActionResponse) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -4684,6 +5393,12 @@ func (i GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetai return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) } +func (i GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2SearchRequestDynamicFacetSpec] { + return pulumix.Output[GoogleCloudRetailV2SearchRequestDynamicFacetSpec]{ + OutputState: i.ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput() GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput { return i.ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutputWithContext(context.Background()) } @@ -4725,6 +5440,12 @@ func (i *googleCloudRetailV2SearchRequestDynamicFacetSpecPtrType) ToGoogleCloudR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) } +func (i *googleCloudRetailV2SearchRequestDynamicFacetSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2SearchRequestDynamicFacetSpec] { + return pulumix.Output[*GoogleCloudRetailV2SearchRequestDynamicFacetSpec]{ + OutputState: i.ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutputWithContext(ctx).OutputState, + } +} + // The specifications of dynamically generated facets. type GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput struct{ *pulumi.OutputState } @@ -4750,6 +5471,12 @@ func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) ToGoogleCloudRet }).(GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) } +func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2SearchRequestDynamicFacetSpec] { + return pulumix.Output[GoogleCloudRetailV2SearchRequestDynamicFacetSpec]{ + OutputState: o.OutputState, + } +} + // Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) Mode() GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2SearchRequestDynamicFacetSpec) *GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode { @@ -4771,6 +5498,12 @@ func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2SearchRequestDynamicFacetSpec] { + return pulumix.Output[*GoogleCloudRetailV2SearchRequestDynamicFacetSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) Elem() GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput { return o.ApplyT(func(v *GoogleCloudRetailV2SearchRequestDynamicFacetSpec) GoogleCloudRetailV2SearchRequestDynamicFacetSpec { if v != nil { @@ -4812,6 +5545,12 @@ func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput) ToGoogle return o } +func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponse] { + return pulumix.Output[GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponse]{ + OutputState: o.OutputState, + } +} + // Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -4852,6 +5591,12 @@ func (i GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ToGoogleCloudRe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) } +func (i GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2SearchRequestPersonalizationSpec] { + return pulumix.Output[GoogleCloudRetailV2SearchRequestPersonalizationSpec]{ + OutputState: i.ToGoogleCloudRetailV2SearchRequestPersonalizationSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput() GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput { return i.ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutputWithContext(context.Background()) } @@ -4893,6 +5638,12 @@ func (i *googleCloudRetailV2SearchRequestPersonalizationSpecPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) } +func (i *googleCloudRetailV2SearchRequestPersonalizationSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2SearchRequestPersonalizationSpec] { + return pulumix.Output[*GoogleCloudRetailV2SearchRequestPersonalizationSpec]{ + OutputState: i.ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for personalization. type GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput struct{ *pulumi.OutputState } @@ -4918,6 +5669,12 @@ func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) ToGoogleCloud }).(GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) } +func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2SearchRequestPersonalizationSpec] { + return pulumix.Output[GoogleCloudRetailV2SearchRequestPersonalizationSpec]{ + OutputState: o.OutputState, + } +} + // Defaults to Mode.AUTO. func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) Mode() GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2SearchRequestPersonalizationSpec) *GoogleCloudRetailV2SearchRequestPersonalizationSpecMode { @@ -4939,6 +5696,12 @@ func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) ToGoogleCl return o } +func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2SearchRequestPersonalizationSpec] { + return pulumix.Output[*GoogleCloudRetailV2SearchRequestPersonalizationSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) Elem() GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput { return o.ApplyT(func(v *GoogleCloudRetailV2SearchRequestPersonalizationSpec) GoogleCloudRetailV2SearchRequestPersonalizationSpec { if v != nil { @@ -4980,6 +5743,12 @@ func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput) ToGoo return o } +func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2SearchRequestPersonalizationSpecResponse] { + return pulumix.Output[GoogleCloudRetailV2SearchRequestPersonalizationSpecResponse]{ + OutputState: o.OutputState, + } +} + // Defaults to Mode.AUTO. func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2SearchRequestPersonalizationSpecResponse) string { return v.Mode }).(pulumi.StringOutput) diff --git a/sdk/go/google/retail/v2/servingConfig.go b/sdk/go/google/retail/v2/servingConfig.go index 9b65a8a7de..fcdbbfc331 100644 --- a/sdk/go/google/retail/v2/servingConfig.go +++ b/sdk/go/google/retail/v2/servingConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a Catalog, otherwise a FAILED_PRECONDITION error is returned. @@ -236,6 +237,12 @@ func (i *ServingConfig) ToServingConfigOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(ServingConfigOutput) } +func (i *ServingConfig) ToOutput(ctx context.Context) pulumix.Output[*ServingConfig] { + return pulumix.Output[*ServingConfig]{ + OutputState: i.ToServingConfigOutputWithContext(ctx).OutputState, + } +} + type ServingConfigOutput struct{ *pulumi.OutputState } func (ServingConfigOutput) ElementType() reflect.Type { @@ -250,6 +257,12 @@ func (o ServingConfigOutput) ToServingConfigOutputWithContext(ctx context.Contex return o } +func (o ServingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfig] { + return pulumix.Output[*ServingConfig]{ + OutputState: o.OutputState, + } +} + // Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. func (o ServingConfigOutput) BoostControlIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *ServingConfig) pulumi.StringArrayOutput { return v.BoostControlIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2alpha/control.go b/sdk/go/google/retail/v2alpha/control.go index e0d27767ef..f1e244c462 100644 --- a/sdk/go/google/retail/v2alpha/control.go +++ b/sdk/go/google/retail/v2alpha/control.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned. @@ -160,6 +161,12 @@ func (i *Control) ToControlOutputWithContext(ctx context.Context) ControlOutput return pulumi.ToOutputWithContext(ctx, i).(ControlOutput) } +func (i *Control) ToOutput(ctx context.Context) pulumix.Output[*Control] { + return pulumix.Output[*Control]{ + OutputState: i.ToControlOutputWithContext(ctx).OutputState, + } +} + type ControlOutput struct{ *pulumi.OutputState } func (ControlOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o ControlOutput) ToControlOutputWithContext(ctx context.Context) ControlOu return o } +func (o ControlOutput) ToOutput(ctx context.Context) pulumix.Output[*Control] { + return pulumix.Output[*Control]{ + OutputState: o.OutputState, + } +} + // List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view. func (o ControlOutput) AssociatedServingConfigIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *Control) pulumi.StringArrayOutput { return v.AssociatedServingConfigIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2alpha/getControl.go b/sdk/go/google/retail/v2alpha/getControl.go index 973eed71ff..87273b3ec4 100644 --- a/sdk/go/google/retail/v2alpha/getControl.go +++ b/sdk/go/google/retail/v2alpha/getControl.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Control. @@ -84,6 +85,12 @@ func (o LookupControlResultOutput) ToLookupControlResultOutputWithContext(ctx co return o } +func (o LookupControlResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupControlResult] { + return pulumix.Output[LookupControlResult]{ + OutputState: o.OutputState, + } +} + // List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view. func (o LookupControlResultOutput) AssociatedServingConfigIds() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupControlResult) []string { return v.AssociatedServingConfigIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2alpha/getModel.go b/sdk/go/google/retail/v2alpha/getModel.go index f25c86d1e4..da4d78b76d 100644 --- a/sdk/go/google/retail/v2alpha/getModel.go +++ b/sdk/go/google/retail/v2alpha/getModel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a model. @@ -102,6 +103,12 @@ func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx contex return o } +func (o LookupModelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupModelResult] { + return pulumix.Output[LookupModelResult]{ + OutputState: o.OutputState, + } +} + // Timestamp the Recommendation Model was created at. func (o LookupModelResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupModelResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/retail/v2alpha/getProduct.go b/sdk/go/google/retail/v2alpha/getProduct.go index 6e72ba41f5..9f642439b4 100644 --- a/sdk/go/google/retail/v2alpha/getProduct.go +++ b/sdk/go/google/retail/v2alpha/getProduct.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Product. @@ -140,6 +141,12 @@ func (o LookupProductResultOutput) ToLookupProductResultOutputWithContext(ctx co return o } +func (o LookupProductResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProductResult] { + return pulumix.Output[LookupProductResult]{ + OutputState: o.OutputState, + } +} + // Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. func (o LookupProductResultOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v LookupProductResult) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/retail/v2alpha/getServingConfig.go b/sdk/go/google/retail/v2alpha/getServingConfig.go index 8aa922fc7b..74149a0256 100644 --- a/sdk/go/google/retail/v2alpha/getServingConfig.go +++ b/sdk/go/google/retail/v2alpha/getServingConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. @@ -108,6 +109,12 @@ func (o LookupServingConfigResultOutput) ToLookupServingConfigResultOutputWithCo return o } +func (o LookupServingConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServingConfigResult] { + return pulumix.Output[LookupServingConfigResult]{ + OutputState: o.OutputState, + } +} + // Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. func (o LookupServingConfigResultOutput) BoostControlIds() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupServingConfigResult) []string { return v.BoostControlIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2alpha/model.go b/sdk/go/google/retail/v2alpha/model.go index 2ca18b8c62..350c455ce5 100644 --- a/sdk/go/google/retail/v2alpha/model.go +++ b/sdk/go/google/retail/v2alpha/model.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new model. @@ -185,6 +186,12 @@ func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput { return pulumi.ToOutputWithContext(ctx, i).(ModelOutput) } +func (i *Model) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: i.ToModelOutputWithContext(ctx).OutputState, + } +} + type ModelOutput struct{ *pulumi.OutputState } func (ModelOutput) ElementType() reflect.Type { @@ -199,6 +206,12 @@ func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput { return o } +func (o ModelOutput) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: o.OutputState, + } +} + func (o ModelOutput) CatalogId() pulumi.StringOutput { return o.ApplyT(func(v *Model) pulumi.StringOutput { return v.CatalogId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/retail/v2alpha/product.go b/sdk/go/google/retail/v2alpha/product.go index a4f69a9c03..301bbc01d6 100644 --- a/sdk/go/google/retail/v2alpha/product.go +++ b/sdk/go/google/retail/v2alpha/product.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Product. @@ -325,6 +326,12 @@ func (i *Product) ToProductOutputWithContext(ctx context.Context) ProductOutput return pulumi.ToOutputWithContext(ctx, i).(ProductOutput) } +func (i *Product) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: i.ToProductOutputWithContext(ctx).OutputState, + } +} + type ProductOutput struct{ *pulumi.OutputState } func (ProductOutput) ElementType() reflect.Type { @@ -339,6 +346,12 @@ func (o ProductOutput) ToProductOutputWithContext(ctx context.Context) ProductOu return o } +func (o ProductOutput) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: o.OutputState, + } +} + // Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. func (o ProductOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v *Product) pulumi.StringMapOutput { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/retail/v2alpha/pulumiEnums.go b/sdk/go/google/retail/v2alpha/pulumiEnums.go index 900b3f4306..9c967bca8a 100644 --- a/sdk/go/google/retail/v2alpha/pulumiEnums.go +++ b/sdk/go/google/retail/v2alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type ControlSearchSolutionUseCaseItem string @@ -81,6 +82,12 @@ func (o ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseIt }).(ControlSearchSolutionUseCaseItemPtrOutput) } +func (o ControlSearchSolutionUseCaseItemOutput) ToOutput(ctx context.Context) pulumix.Output[ControlSearchSolutionUseCaseItem] { + return pulumix.Output[ControlSearchSolutionUseCaseItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSearchSolutionUseCaseItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -116,6 +123,12 @@ func (o ControlSearchSolutionUseCaseItemPtrOutput) ToControlSearchSolutionUseCas return o } +func (o ControlSearchSolutionUseCaseItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ControlSearchSolutionUseCaseItem] { + return pulumix.Output[*ControlSearchSolutionUseCaseItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSearchSolutionUseCaseItemPtrOutput) Elem() ControlSearchSolutionUseCaseItemOutput { return o.ApplyT(func(v *ControlSearchSolutionUseCaseItem) ControlSearchSolutionUseCaseItem { if v != nil { @@ -178,6 +191,12 @@ func (in *controlSearchSolutionUseCaseItemPtr) ToControlSearchSolutionUseCaseIte return pulumi.ToOutputWithContext(ctx, in).(ControlSearchSolutionUseCaseItemPtrOutput) } +func (in *controlSearchSolutionUseCaseItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ControlSearchSolutionUseCaseItem] { + return pulumix.Output[*ControlSearchSolutionUseCaseItem]{ + OutputState: in.ToControlSearchSolutionUseCaseItemPtrOutputWithContext(ctx).OutputState, + } +} + // ControlSearchSolutionUseCaseItemArrayInput is an input type that accepts ControlSearchSolutionUseCaseItemArray and ControlSearchSolutionUseCaseItemArrayOutput values. // You can construct a concrete instance of `ControlSearchSolutionUseCaseItemArrayInput` via: // @@ -203,6 +222,12 @@ func (i ControlSearchSolutionUseCaseItemArray) ToControlSearchSolutionUseCaseIte return pulumi.ToOutputWithContext(ctx, i).(ControlSearchSolutionUseCaseItemArrayOutput) } +func (i ControlSearchSolutionUseCaseItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ControlSearchSolutionUseCaseItem] { + return pulumix.Output[[]ControlSearchSolutionUseCaseItem]{ + OutputState: i.ToControlSearchSolutionUseCaseItemArrayOutputWithContext(ctx).OutputState, + } +} + type ControlSearchSolutionUseCaseItemArrayOutput struct{ *pulumi.OutputState } func (ControlSearchSolutionUseCaseItemArrayOutput) ElementType() reflect.Type { @@ -217,6 +242,12 @@ func (o ControlSearchSolutionUseCaseItemArrayOutput) ToControlSearchSolutionUseC return o } +func (o ControlSearchSolutionUseCaseItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ControlSearchSolutionUseCaseItem] { + return pulumix.Output[[]ControlSearchSolutionUseCaseItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSearchSolutionUseCaseItemArrayOutput) Index(i pulumi.IntInput) ControlSearchSolutionUseCaseItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ControlSearchSolutionUseCaseItem { return vs[0].([]ControlSearchSolutionUseCaseItem)[vs[1].(int)] @@ -294,6 +325,12 @@ func (o ControlSolutionTypesItemOutput) ToControlSolutionTypesItemPtrOutputWithC }).(ControlSolutionTypesItemPtrOutput) } +func (o ControlSolutionTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[ControlSolutionTypesItem] { + return pulumix.Output[ControlSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSolutionTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -329,6 +366,12 @@ func (o ControlSolutionTypesItemPtrOutput) ToControlSolutionTypesItemPtrOutputWi return o } +func (o ControlSolutionTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ControlSolutionTypesItem] { + return pulumix.Output[*ControlSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSolutionTypesItemPtrOutput) Elem() ControlSolutionTypesItemOutput { return o.ApplyT(func(v *ControlSolutionTypesItem) ControlSolutionTypesItem { if v != nil { @@ -391,6 +434,12 @@ func (in *controlSolutionTypesItemPtr) ToControlSolutionTypesItemPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ControlSolutionTypesItemPtrOutput) } +func (in *controlSolutionTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ControlSolutionTypesItem] { + return pulumix.Output[*ControlSolutionTypesItem]{ + OutputState: in.ToControlSolutionTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // ControlSolutionTypesItemArrayInput is an input type that accepts ControlSolutionTypesItemArray and ControlSolutionTypesItemArrayOutput values. // You can construct a concrete instance of `ControlSolutionTypesItemArrayInput` via: // @@ -416,6 +465,12 @@ func (i ControlSolutionTypesItemArray) ToControlSolutionTypesItemArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(ControlSolutionTypesItemArrayOutput) } +func (i ControlSolutionTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ControlSolutionTypesItem] { + return pulumix.Output[[]ControlSolutionTypesItem]{ + OutputState: i.ToControlSolutionTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type ControlSolutionTypesItemArrayOutput struct{ *pulumi.OutputState } func (ControlSolutionTypesItemArrayOutput) ElementType() reflect.Type { @@ -430,6 +485,12 @@ func (o ControlSolutionTypesItemArrayOutput) ToControlSolutionTypesItemArrayOutp return o } +func (o ControlSolutionTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ControlSolutionTypesItem] { + return pulumix.Output[[]ControlSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSolutionTypesItemArrayOutput) Index(i pulumi.IntInput) ControlSolutionTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ControlSolutionTypesItem { return vs[0].([]ControlSolutionTypesItem)[vs[1].(int)] @@ -508,6 +569,12 @@ func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigConte }).(GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) } +func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType] { + return pulumix.Output[GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -543,6 +610,12 @@ func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigConte return o } +func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType] { + return pulumix.Output[*GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) Elem() GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType { if v != nil { @@ -605,6 +678,12 @@ func (in *googleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigCon return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) } +func (in *googleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType] { + return pulumix.Output[*GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType]{ + OutputState: in.ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`. type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction string @@ -681,6 +760,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) To }).(GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction] { + return pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -716,6 +801,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction] { + return pulumix.Output[*GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) Elem() GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction { if v != nil { @@ -778,6 +869,12 @@ func (in *googleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtr) ToG return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) } +func (in *googleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction] { + return pulumix.Output[*GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction]{ + OutputState: in.ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutputWithContext(ctx).OutputState, + } +} + // Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode string @@ -850,6 +947,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToGoogl }).(GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) } +func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -885,6 +988,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) ToGo return o } +func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) Elem() GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode { if v != nil { @@ -947,6 +1056,12 @@ func (in *googleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtr) ToGoogle return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) } +func (in *googleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode]{ + OutputState: in.ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx).OutputState, + } +} + // Defaults to Mode.AUTO. type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode string @@ -1019,6 +1134,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToGo }).(GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) } +func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1054,6 +1175,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) T return o } +func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) Elem() GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode { if v != nil { @@ -1116,6 +1243,12 @@ func (in *googleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtr) ToGoo return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) } +func (in *googleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode]{ + OutputState: in.ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model. type ModelFilteringOption string @@ -1188,6 +1321,12 @@ func (o ModelFilteringOptionOutput) ToModelFilteringOptionPtrOutputWithContext(c }).(ModelFilteringOptionPtrOutput) } +func (o ModelFilteringOptionOutput) ToOutput(ctx context.Context) pulumix.Output[ModelFilteringOption] { + return pulumix.Output[ModelFilteringOption]{ + OutputState: o.OutputState, + } +} + func (o ModelFilteringOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1223,6 +1362,12 @@ func (o ModelFilteringOptionPtrOutput) ToModelFilteringOptionPtrOutputWithContex return o } +func (o ModelFilteringOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelFilteringOption] { + return pulumix.Output[*ModelFilteringOption]{ + OutputState: o.OutputState, + } +} + func (o ModelFilteringOptionPtrOutput) Elem() ModelFilteringOptionOutput { return o.ApplyT(func(v *ModelFilteringOption) ModelFilteringOption { if v != nil { @@ -1285,6 +1430,12 @@ func (in *modelFilteringOptionPtr) ToModelFilteringOptionPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(ModelFilteringOptionPtrOutput) } +func (in *modelFilteringOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*ModelFilteringOption] { + return pulumix.Output[*ModelFilteringOption]{ + OutputState: in.ToModelFilteringOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`. type ModelPeriodicTuningState string @@ -1359,6 +1510,12 @@ func (o ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStatePtrOutputWithC }).(ModelPeriodicTuningStatePtrOutput) } +func (o ModelPeriodicTuningStateOutput) ToOutput(ctx context.Context) pulumix.Output[ModelPeriodicTuningState] { + return pulumix.Output[ModelPeriodicTuningState]{ + OutputState: o.OutputState, + } +} + func (o ModelPeriodicTuningStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1394,6 +1551,12 @@ func (o ModelPeriodicTuningStatePtrOutput) ToModelPeriodicTuningStatePtrOutputWi return o } +func (o ModelPeriodicTuningStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelPeriodicTuningState] { + return pulumix.Output[*ModelPeriodicTuningState]{ + OutputState: o.OutputState, + } +} + func (o ModelPeriodicTuningStatePtrOutput) Elem() ModelPeriodicTuningStateOutput { return o.ApplyT(func(v *ModelPeriodicTuningState) ModelPeriodicTuningState { if v != nil { @@ -1456,6 +1619,12 @@ func (in *modelPeriodicTuningStatePtr) ToModelPeriodicTuningStatePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ModelPeriodicTuningStatePtrOutput) } +func (in *modelPeriodicTuningStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ModelPeriodicTuningState] { + return pulumix.Output[*ModelPeriodicTuningState]{ + OutputState: in.ToModelPeriodicTuningStatePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before. type ModelTrainingState string @@ -1528,6 +1697,12 @@ func (o ModelTrainingStateOutput) ToModelTrainingStatePtrOutputWithContext(ctx c }).(ModelTrainingStatePtrOutput) } +func (o ModelTrainingStateOutput) ToOutput(ctx context.Context) pulumix.Output[ModelTrainingState] { + return pulumix.Output[ModelTrainingState]{ + OutputState: o.OutputState, + } +} + func (o ModelTrainingStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1563,6 +1738,12 @@ func (o ModelTrainingStatePtrOutput) ToModelTrainingStatePtrOutputWithContext(ct return o } +func (o ModelTrainingStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelTrainingState] { + return pulumix.Output[*ModelTrainingState]{ + OutputState: o.OutputState, + } +} + func (o ModelTrainingStatePtrOutput) Elem() ModelTrainingStateOutput { return o.ApplyT(func(v *ModelTrainingState) ModelTrainingState { if v != nil { @@ -1625,6 +1806,12 @@ func (in *modelTrainingStatePtr) ToModelTrainingStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ModelTrainingStatePtrOutput) } +func (in *modelTrainingStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ModelTrainingState] { + return pulumix.Output[*ModelTrainingState]{ + OutputState: in.ToModelTrainingStatePtrOutputWithContext(ctx).OutputState, + } +} + // The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability). type ProductAvailability string @@ -1701,6 +1888,12 @@ func (o ProductAvailabilityOutput) ToProductAvailabilityPtrOutputWithContext(ctx }).(ProductAvailabilityPtrOutput) } +func (o ProductAvailabilityOutput) ToOutput(ctx context.Context) pulumix.Output[ProductAvailability] { + return pulumix.Output[ProductAvailability]{ + OutputState: o.OutputState, + } +} + func (o ProductAvailabilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1736,6 +1929,12 @@ func (o ProductAvailabilityPtrOutput) ToProductAvailabilityPtrOutputWithContext( return o } +func (o ProductAvailabilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProductAvailability] { + return pulumix.Output[*ProductAvailability]{ + OutputState: o.OutputState, + } +} + func (o ProductAvailabilityPtrOutput) Elem() ProductAvailabilityOutput { return o.ApplyT(func(v *ProductAvailability) ProductAvailability { if v != nil { @@ -1798,6 +1997,12 @@ func (in *productAvailabilityPtr) ToProductAvailabilityPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ProductAvailabilityPtrOutput) } +func (in *productAvailabilityPtr) ToOutput(ctx context.Context) pulumix.Output[*ProductAvailability] { + return pulumix.Output[*ProductAvailability]{ + OutputState: in.ToProductAvailabilityPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset. type ProductType string @@ -1872,6 +2077,12 @@ func (o ProductTypeOutput) ToProductTypePtrOutputWithContext(ctx context.Context }).(ProductTypePtrOutput) } +func (o ProductTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ProductType] { + return pulumix.Output[ProductType]{ + OutputState: o.OutputState, + } +} + func (o ProductTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1907,6 +2118,12 @@ func (o ProductTypePtrOutput) ToProductTypePtrOutputWithContext(ctx context.Cont return o } +func (o ProductTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProductType] { + return pulumix.Output[*ProductType]{ + OutputState: o.OutputState, + } +} + func (o ProductTypePtrOutput) Elem() ProductTypeOutput { return o.ApplyT(func(v *ProductType) ProductType { if v != nil { @@ -1969,6 +2186,12 @@ func (in *productTypePtr) ToProductTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ProductTypePtrOutput) } +func (in *productTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ProductType] { + return pulumix.Output[*ProductType]{ + OutputState: in.ToProductTypePtrOutputWithContext(ctx).OutputState, + } +} + // What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY. type ServingConfigDiversityType string @@ -2041,6 +2264,12 @@ func (o ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypePtrOutputW }).(ServingConfigDiversityTypePtrOutput) } +func (o ServingConfigDiversityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServingConfigDiversityType] { + return pulumix.Output[ServingConfigDiversityType]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigDiversityTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2076,6 +2305,12 @@ func (o ServingConfigDiversityTypePtrOutput) ToServingConfigDiversityTypePtrOutp return o } +func (o ServingConfigDiversityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigDiversityType] { + return pulumix.Output[*ServingConfigDiversityType]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigDiversityTypePtrOutput) Elem() ServingConfigDiversityTypeOutput { return o.ApplyT(func(v *ServingConfigDiversityType) ServingConfigDiversityType { if v != nil { @@ -2138,6 +2373,12 @@ func (in *servingConfigDiversityTypePtr) ToServingConfigDiversityTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(ServingConfigDiversityTypePtrOutput) } +func (in *servingConfigDiversityTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigDiversityType] { + return pulumix.Output[*ServingConfigDiversityType]{ + OutputState: in.ToServingConfigDiversityTypePtrOutputWithContext(ctx).OutputState, + } +} + type ServingConfigSolutionTypesItem string const ( @@ -2209,6 +2450,12 @@ func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPt }).(ServingConfigSolutionTypesItemPtrOutput) } +func (o ServingConfigSolutionTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[ServingConfigSolutionTypesItem] { + return pulumix.Output[ServingConfigSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigSolutionTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2244,6 +2491,12 @@ func (o ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesIte return o } +func (o ServingConfigSolutionTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigSolutionTypesItem] { + return pulumix.Output[*ServingConfigSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigSolutionTypesItemPtrOutput) Elem() ServingConfigSolutionTypesItemOutput { return o.ApplyT(func(v *ServingConfigSolutionTypesItem) ServingConfigSolutionTypesItem { if v != nil { @@ -2306,6 +2559,12 @@ func (in *servingConfigSolutionTypesItemPtr) ToServingConfigSolutionTypesItemPtr return pulumi.ToOutputWithContext(ctx, in).(ServingConfigSolutionTypesItemPtrOutput) } +func (in *servingConfigSolutionTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigSolutionTypesItem] { + return pulumix.Output[*ServingConfigSolutionTypesItem]{ + OutputState: in.ToServingConfigSolutionTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // ServingConfigSolutionTypesItemArrayInput is an input type that accepts ServingConfigSolutionTypesItemArray and ServingConfigSolutionTypesItemArrayOutput values. // You can construct a concrete instance of `ServingConfigSolutionTypesItemArrayInput` via: // @@ -2331,6 +2590,12 @@ func (i ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArr return pulumi.ToOutputWithContext(ctx, i).(ServingConfigSolutionTypesItemArrayOutput) } +func (i ServingConfigSolutionTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ServingConfigSolutionTypesItem] { + return pulumix.Output[[]ServingConfigSolutionTypesItem]{ + OutputState: i.ToServingConfigSolutionTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type ServingConfigSolutionTypesItemArrayOutput struct{ *pulumi.OutputState } func (ServingConfigSolutionTypesItemArrayOutput) ElementType() reflect.Type { @@ -2345,6 +2610,12 @@ func (o ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesI return o } +func (o ServingConfigSolutionTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServingConfigSolutionTypesItem] { + return pulumix.Output[[]ServingConfigSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigSolutionTypesItemArrayOutput) Index(i pulumi.IntInput) ServingConfigSolutionTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServingConfigSolutionTypesItem { return vs[0].([]ServingConfigSolutionTypesItem)[vs[1].(int)] diff --git a/sdk/go/google/retail/v2alpha/pulumiTypes.go b/sdk/go/google/retail/v2alpha/pulumiTypes.go index 169fcaef1a..334b99a7f2 100644 --- a/sdk/go/google/retail/v2alpha/pulumiTypes.go +++ b/sdk/go/google/retail/v2alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudRetailV2alphaAudienceArgs) ToGoogleCloudRetailV2alphaAudience return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaAudienceOutput) } +func (i GoogleCloudRetailV2alphaAudienceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaAudience] { + return pulumix.Output[GoogleCloudRetailV2alphaAudience]{ + OutputState: i.ToGoogleCloudRetailV2alphaAudienceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaAudienceArgs) ToGoogleCloudRetailV2alphaAudiencePtrOutput() GoogleCloudRetailV2alphaAudiencePtrOutput { return i.ToGoogleCloudRetailV2alphaAudiencePtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleCloudRetailV2alphaAudiencePtrType) ToGoogleCloudRetailV2alphaAudi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaAudiencePtrOutput) } +func (i *googleCloudRetailV2alphaAudiencePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaAudience] { + return pulumix.Output[*GoogleCloudRetailV2alphaAudience]{ + OutputState: i.ToGoogleCloudRetailV2alphaAudiencePtrOutputWithContext(ctx).OutputState, + } +} + // An intended audience of the Product for whom it's sold. type GoogleCloudRetailV2alphaAudienceOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleCloudRetailV2alphaAudienceOutput) ToGoogleCloudRetailV2alphaAudien }).(GoogleCloudRetailV2alphaAudiencePtrOutput) } +func (o GoogleCloudRetailV2alphaAudienceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaAudience] { + return pulumix.Output[GoogleCloudRetailV2alphaAudience]{ + OutputState: o.OutputState, + } +} + // The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge). func (o GoogleCloudRetailV2alphaAudienceOutput) AgeGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaAudience) []string { return v.AgeGroups }).(pulumi.StringArrayOutput) @@ -142,6 +161,12 @@ func (o GoogleCloudRetailV2alphaAudiencePtrOutput) ToGoogleCloudRetailV2alphaAud return o } +func (o GoogleCloudRetailV2alphaAudiencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaAudience] { + return pulumix.Output[*GoogleCloudRetailV2alphaAudience]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaAudiencePtrOutput) Elem() GoogleCloudRetailV2alphaAudienceOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaAudience) GoogleCloudRetailV2alphaAudience { if v != nil { @@ -195,6 +220,12 @@ func (o GoogleCloudRetailV2alphaAudienceResponseOutput) ToGoogleCloudRetailV2alp return o } +func (o GoogleCloudRetailV2alphaAudienceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaAudienceResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaAudienceResponse]{ + OutputState: o.OutputState, + } +} + // The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge). func (o GoogleCloudRetailV2alphaAudienceResponseOutput) AgeGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaAudienceResponse) []string { return v.AgeGroups }).(pulumi.StringArrayOutput) @@ -244,6 +275,12 @@ func (i GoogleCloudRetailV2alphaColorInfoArgs) ToGoogleCloudRetailV2alphaColorIn return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaColorInfoOutput) } +func (i GoogleCloudRetailV2alphaColorInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaColorInfo] { + return pulumix.Output[GoogleCloudRetailV2alphaColorInfo]{ + OutputState: i.ToGoogleCloudRetailV2alphaColorInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaColorInfoArgs) ToGoogleCloudRetailV2alphaColorInfoPtrOutput() GoogleCloudRetailV2alphaColorInfoPtrOutput { return i.ToGoogleCloudRetailV2alphaColorInfoPtrOutputWithContext(context.Background()) } @@ -285,6 +322,12 @@ func (i *googleCloudRetailV2alphaColorInfoPtrType) ToGoogleCloudRetailV2alphaCol return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaColorInfoPtrOutput) } +func (i *googleCloudRetailV2alphaColorInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaColorInfo] { + return pulumix.Output[*GoogleCloudRetailV2alphaColorInfo]{ + OutputState: i.ToGoogleCloudRetailV2alphaColorInfoPtrOutputWithContext(ctx).OutputState, + } +} + // The color information of a Product. type GoogleCloudRetailV2alphaColorInfoOutput struct{ *pulumi.OutputState } @@ -310,6 +353,12 @@ func (o GoogleCloudRetailV2alphaColorInfoOutput) ToGoogleCloudRetailV2alphaColor }).(GoogleCloudRetailV2alphaColorInfoPtrOutput) } +func (o GoogleCloudRetailV2alphaColorInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaColorInfo] { + return pulumix.Output[GoogleCloudRetailV2alphaColorInfo]{ + OutputState: o.OutputState, + } +} + // The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color). func (o GoogleCloudRetailV2alphaColorInfoOutput) ColorFamilies() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaColorInfo) []string { return v.ColorFamilies }).(pulumi.StringArrayOutput) @@ -334,6 +383,12 @@ func (o GoogleCloudRetailV2alphaColorInfoPtrOutput) ToGoogleCloudRetailV2alphaCo return o } +func (o GoogleCloudRetailV2alphaColorInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaColorInfo] { + return pulumix.Output[*GoogleCloudRetailV2alphaColorInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaColorInfoPtrOutput) Elem() GoogleCloudRetailV2alphaColorInfoOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaColorInfo) GoogleCloudRetailV2alphaColorInfo { if v != nil { @@ -387,6 +442,12 @@ func (o GoogleCloudRetailV2alphaColorInfoResponseOutput) ToGoogleCloudRetailV2al return o } +func (o GoogleCloudRetailV2alphaColorInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaColorInfoResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaColorInfoResponse]{ + OutputState: o.OutputState, + } +} + // The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color). func (o GoogleCloudRetailV2alphaColorInfoResponseOutput) ColorFamilies() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaColorInfoResponse) []string { return v.ColorFamilies }).(pulumi.StringArrayOutput) @@ -436,6 +497,12 @@ func (i GoogleCloudRetailV2alphaConditionArgs) ToGoogleCloudRetailV2alphaConditi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaConditionOutput) } +func (i GoogleCloudRetailV2alphaConditionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaCondition] { + return pulumix.Output[GoogleCloudRetailV2alphaCondition]{ + OutputState: i.ToGoogleCloudRetailV2alphaConditionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaConditionArgs) ToGoogleCloudRetailV2alphaConditionPtrOutput() GoogleCloudRetailV2alphaConditionPtrOutput { return i.ToGoogleCloudRetailV2alphaConditionPtrOutputWithContext(context.Background()) } @@ -477,6 +544,12 @@ func (i *googleCloudRetailV2alphaConditionPtrType) ToGoogleCloudRetailV2alphaCon return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaConditionPtrOutput) } +func (i *googleCloudRetailV2alphaConditionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaCondition] { + return pulumix.Output[*GoogleCloudRetailV2alphaCondition]{ + OutputState: i.ToGoogleCloudRetailV2alphaConditionPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted. type GoogleCloudRetailV2alphaConditionOutput struct{ *pulumi.OutputState } @@ -502,6 +575,12 @@ func (o GoogleCloudRetailV2alphaConditionOutput) ToGoogleCloudRetailV2alphaCondi }).(GoogleCloudRetailV2alphaConditionPtrOutput) } +func (o GoogleCloudRetailV2alphaConditionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaCondition] { + return pulumix.Output[GoogleCloudRetailV2alphaCondition]{ + OutputState: o.OutputState, + } +} + // Range of time(s) specifying when Condition is active. Condition true if any time range matches. func (o GoogleCloudRetailV2alphaConditionOutput) ActiveTimeRange() GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaCondition) []GoogleCloudRetailV2alphaConditionTimeRange { @@ -530,6 +609,12 @@ func (o GoogleCloudRetailV2alphaConditionPtrOutput) ToGoogleCloudRetailV2alphaCo return o } +func (o GoogleCloudRetailV2alphaConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaCondition] { + return pulumix.Output[*GoogleCloudRetailV2alphaCondition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaConditionPtrOutput) Elem() GoogleCloudRetailV2alphaConditionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaCondition) GoogleCloudRetailV2alphaCondition { if v != nil { @@ -599,6 +684,12 @@ func (i GoogleCloudRetailV2alphaConditionQueryTermArgs) ToGoogleCloudRetailV2alp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaConditionQueryTermOutput) } +func (i GoogleCloudRetailV2alphaConditionQueryTermArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaConditionQueryTerm] { + return pulumix.Output[GoogleCloudRetailV2alphaConditionQueryTerm]{ + OutputState: i.ToGoogleCloudRetailV2alphaConditionQueryTermOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2alphaConditionQueryTermArrayInput is an input type that accepts GoogleCloudRetailV2alphaConditionQueryTermArray and GoogleCloudRetailV2alphaConditionQueryTermArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2alphaConditionQueryTermArrayInput` via: // @@ -624,6 +715,12 @@ func (i GoogleCloudRetailV2alphaConditionQueryTermArray) ToGoogleCloudRetailV2al return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaConditionQueryTermArrayOutput) } +func (i GoogleCloudRetailV2alphaConditionQueryTermArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaConditionQueryTerm] { + return pulumix.Output[[]GoogleCloudRetailV2alphaConditionQueryTerm]{ + OutputState: i.ToGoogleCloudRetailV2alphaConditionQueryTermArrayOutputWithContext(ctx).OutputState, + } +} + // Query terms that we want to match on. type GoogleCloudRetailV2alphaConditionQueryTermOutput struct{ *pulumi.OutputState } @@ -639,6 +736,12 @@ func (o GoogleCloudRetailV2alphaConditionQueryTermOutput) ToGoogleCloudRetailV2a return o } +func (o GoogleCloudRetailV2alphaConditionQueryTermOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaConditionQueryTerm] { + return pulumix.Output[GoogleCloudRetailV2alphaConditionQueryTerm]{ + OutputState: o.OutputState, + } +} + // Whether this is supposed to be a full or partial match. func (o GoogleCloudRetailV2alphaConditionQueryTermOutput) FullMatch() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaConditionQueryTerm) *bool { return v.FullMatch }).(pulumi.BoolPtrOutput) @@ -663,6 +766,12 @@ func (o GoogleCloudRetailV2alphaConditionQueryTermArrayOutput) ToGoogleCloudReta return o } +func (o GoogleCloudRetailV2alphaConditionQueryTermArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaConditionQueryTerm] { + return pulumix.Output[[]GoogleCloudRetailV2alphaConditionQueryTerm]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaConditionQueryTermArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaConditionQueryTermOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaConditionQueryTerm { return vs[0].([]GoogleCloudRetailV2alphaConditionQueryTerm)[vs[1].(int)] @@ -692,6 +801,12 @@ func (o GoogleCloudRetailV2alphaConditionQueryTermResponseOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2alphaConditionQueryTermResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaConditionQueryTermResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaConditionQueryTermResponse]{ + OutputState: o.OutputState, + } +} + // Whether this is supposed to be a full or partial match. func (o GoogleCloudRetailV2alphaConditionQueryTermResponseOutput) FullMatch() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaConditionQueryTermResponse) bool { return v.FullMatch }).(pulumi.BoolOutput) @@ -716,6 +831,12 @@ func (o GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput) ToGoogleC return o } +func (o GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaConditionQueryTermResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaConditionQueryTermResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaConditionQueryTermResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaConditionQueryTermResponse { return vs[0].([]GoogleCloudRetailV2alphaConditionQueryTermResponse)[vs[1].(int)] @@ -745,6 +866,12 @@ func (o GoogleCloudRetailV2alphaConditionResponseOutput) ToGoogleCloudRetailV2al return o } +func (o GoogleCloudRetailV2alphaConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaConditionResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaConditionResponse]{ + OutputState: o.OutputState, + } +} + // Range of time(s) specifying when Condition is active. Condition true if any time range matches. func (o GoogleCloudRetailV2alphaConditionResponseOutput) ActiveTimeRange() GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaConditionResponse) []GoogleCloudRetailV2alphaConditionTimeRangeResponse { @@ -798,6 +925,12 @@ func (i GoogleCloudRetailV2alphaConditionTimeRangeArgs) ToGoogleCloudRetailV2alp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaConditionTimeRangeOutput) } +func (i GoogleCloudRetailV2alphaConditionTimeRangeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaConditionTimeRange] { + return pulumix.Output[GoogleCloudRetailV2alphaConditionTimeRange]{ + OutputState: i.ToGoogleCloudRetailV2alphaConditionTimeRangeOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2alphaConditionTimeRangeArrayInput is an input type that accepts GoogleCloudRetailV2alphaConditionTimeRangeArray and GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2alphaConditionTimeRangeArrayInput` via: // @@ -823,6 +956,12 @@ func (i GoogleCloudRetailV2alphaConditionTimeRangeArray) ToGoogleCloudRetailV2al return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput) } +func (i GoogleCloudRetailV2alphaConditionTimeRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaConditionTimeRange] { + return pulumix.Output[[]GoogleCloudRetailV2alphaConditionTimeRange]{ + OutputState: i.ToGoogleCloudRetailV2alphaConditionTimeRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Used for time-dependent conditions. Example: Want to have rule applied for week long sale. type GoogleCloudRetailV2alphaConditionTimeRangeOutput struct{ *pulumi.OutputState } @@ -838,6 +977,12 @@ func (o GoogleCloudRetailV2alphaConditionTimeRangeOutput) ToGoogleCloudRetailV2a return o } +func (o GoogleCloudRetailV2alphaConditionTimeRangeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaConditionTimeRange] { + return pulumix.Output[GoogleCloudRetailV2alphaConditionTimeRange]{ + OutputState: o.OutputState, + } +} + // End of time range. Range is inclusive. func (o GoogleCloudRetailV2alphaConditionTimeRangeOutput) EndTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaConditionTimeRange) *string { return v.EndTime }).(pulumi.StringPtrOutput) @@ -862,6 +1007,12 @@ func (o GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput) ToGoogleCloudReta return o } +func (o GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaConditionTimeRange] { + return pulumix.Output[[]GoogleCloudRetailV2alphaConditionTimeRange]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaConditionTimeRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaConditionTimeRange { return vs[0].([]GoogleCloudRetailV2alphaConditionTimeRange)[vs[1].(int)] @@ -891,6 +1042,12 @@ func (o GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaConditionTimeRangeResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaConditionTimeRangeResponse]{ + OutputState: o.OutputState, + } +} + // End of time range. Range is inclusive. func (o GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaConditionTimeRangeResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -915,6 +1072,12 @@ func (o GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput) ToGoogleC return o } +func (o GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaConditionTimeRangeResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaConditionTimeRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaConditionTimeRangeResponse { return vs[0].([]GoogleCloudRetailV2alphaConditionTimeRangeResponse)[vs[1].(int)] @@ -960,6 +1123,12 @@ func (i GoogleCloudRetailV2alphaFulfillmentInfoArgs) ToGoogleCloudRetailV2alphaF return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaFulfillmentInfoOutput) } +func (i GoogleCloudRetailV2alphaFulfillmentInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaFulfillmentInfo] { + return pulumix.Output[GoogleCloudRetailV2alphaFulfillmentInfo]{ + OutputState: i.ToGoogleCloudRetailV2alphaFulfillmentInfoOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2alphaFulfillmentInfoArrayInput is an input type that accepts GoogleCloudRetailV2alphaFulfillmentInfoArray and GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2alphaFulfillmentInfoArrayInput` via: // @@ -985,6 +1154,12 @@ func (i GoogleCloudRetailV2alphaFulfillmentInfoArray) ToGoogleCloudRetailV2alpha return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput) } +func (i GoogleCloudRetailV2alphaFulfillmentInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaFulfillmentInfo] { + return pulumix.Output[[]GoogleCloudRetailV2alphaFulfillmentInfo]{ + OutputState: i.ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutputWithContext(ctx).OutputState, + } +} + // Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. type GoogleCloudRetailV2alphaFulfillmentInfoOutput struct{ *pulumi.OutputState } @@ -1000,6 +1175,12 @@ func (o GoogleCloudRetailV2alphaFulfillmentInfoOutput) ToGoogleCloudRetailV2alph return o } +func (o GoogleCloudRetailV2alphaFulfillmentInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaFulfillmentInfo] { + return pulumix.Output[GoogleCloudRetailV2alphaFulfillmentInfo]{ + OutputState: o.OutputState, + } +} + // The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2alphaFulfillmentInfoOutput) PlaceIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaFulfillmentInfo) []string { return v.PlaceIds }).(pulumi.StringArrayOutput) @@ -1024,6 +1205,12 @@ func (o GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput) ToGoogleCloudRetailV return o } +func (o GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaFulfillmentInfo] { + return pulumix.Output[[]GoogleCloudRetailV2alphaFulfillmentInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaFulfillmentInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaFulfillmentInfo { return vs[0].([]GoogleCloudRetailV2alphaFulfillmentInfo)[vs[1].(int)] @@ -1053,6 +1240,12 @@ func (o GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput) ToGoogleCloudReta return o } +func (o GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaFulfillmentInfoResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaFulfillmentInfoResponse]{ + OutputState: o.OutputState, + } +} + // The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput) PlaceIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaFulfillmentInfoResponse) []string { return v.PlaceIds }).(pulumi.StringArrayOutput) @@ -1077,6 +1270,12 @@ func (o GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput) ToGoogleClou return o } +func (o GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaFulfillmentInfoResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaFulfillmentInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaFulfillmentInfoResponse { return vs[0].([]GoogleCloudRetailV2alphaFulfillmentInfoResponse)[vs[1].(int)] @@ -1126,6 +1325,12 @@ func (i GoogleCloudRetailV2alphaImageArgs) ToGoogleCloudRetailV2alphaImageOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaImageOutput) } +func (i GoogleCloudRetailV2alphaImageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaImage] { + return pulumix.Output[GoogleCloudRetailV2alphaImage]{ + OutputState: i.ToGoogleCloudRetailV2alphaImageOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2alphaImageArrayInput is an input type that accepts GoogleCloudRetailV2alphaImageArray and GoogleCloudRetailV2alphaImageArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2alphaImageArrayInput` via: // @@ -1151,6 +1356,12 @@ func (i GoogleCloudRetailV2alphaImageArray) ToGoogleCloudRetailV2alphaImageArray return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaImageArrayOutput) } +func (i GoogleCloudRetailV2alphaImageArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaImage] { + return pulumix.Output[[]GoogleCloudRetailV2alphaImage]{ + OutputState: i.ToGoogleCloudRetailV2alphaImageArrayOutputWithContext(ctx).OutputState, + } +} + // Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console. type GoogleCloudRetailV2alphaImageOutput struct{ *pulumi.OutputState } @@ -1166,6 +1377,12 @@ func (o GoogleCloudRetailV2alphaImageOutput) ToGoogleCloudRetailV2alphaImageOutp return o } +func (o GoogleCloudRetailV2alphaImageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaImage] { + return pulumix.Output[GoogleCloudRetailV2alphaImage]{ + OutputState: o.OutputState, + } +} + // Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2alphaImageOutput) Height() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaImage) *int { return v.Height }).(pulumi.IntPtrOutput) @@ -1195,6 +1412,12 @@ func (o GoogleCloudRetailV2alphaImageArrayOutput) ToGoogleCloudRetailV2alphaImag return o } +func (o GoogleCloudRetailV2alphaImageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaImage] { + return pulumix.Output[[]GoogleCloudRetailV2alphaImage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaImageArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaImageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaImage { return vs[0].([]GoogleCloudRetailV2alphaImage)[vs[1].(int)] @@ -1226,6 +1449,12 @@ func (o GoogleCloudRetailV2alphaImageResponseOutput) ToGoogleCloudRetailV2alphaI return o } +func (o GoogleCloudRetailV2alphaImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaImageResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaImageResponse]{ + OutputState: o.OutputState, + } +} + // Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2alphaImageResponseOutput) Height() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaImageResponse) int { return v.Height }).(pulumi.IntOutput) @@ -1255,6 +1484,12 @@ func (o GoogleCloudRetailV2alphaImageResponseArrayOutput) ToGoogleCloudRetailV2a return o } +func (o GoogleCloudRetailV2alphaImageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaImageResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaImageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaImageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaImageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaImageResponse { return vs[0].([]GoogleCloudRetailV2alphaImageResponse)[vs[1].(int)] @@ -1308,6 +1543,12 @@ func (i GoogleCloudRetailV2alphaIntervalArgs) ToGoogleCloudRetailV2alphaInterval return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaIntervalOutput) } +func (i GoogleCloudRetailV2alphaIntervalArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaInterval] { + return pulumix.Output[GoogleCloudRetailV2alphaInterval]{ + OutputState: i.ToGoogleCloudRetailV2alphaIntervalOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2alphaIntervalArrayInput is an input type that accepts GoogleCloudRetailV2alphaIntervalArray and GoogleCloudRetailV2alphaIntervalArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2alphaIntervalArrayInput` via: // @@ -1333,6 +1574,12 @@ func (i GoogleCloudRetailV2alphaIntervalArray) ToGoogleCloudRetailV2alphaInterva return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaIntervalArrayOutput) } +func (i GoogleCloudRetailV2alphaIntervalArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaInterval] { + return pulumix.Output[[]GoogleCloudRetailV2alphaInterval]{ + OutputState: i.ToGoogleCloudRetailV2alphaIntervalArrayOutputWithContext(ctx).OutputState, + } +} + // A floating point interval. type GoogleCloudRetailV2alphaIntervalOutput struct{ *pulumi.OutputState } @@ -1348,6 +1595,12 @@ func (o GoogleCloudRetailV2alphaIntervalOutput) ToGoogleCloudRetailV2alphaInterv return o } +func (o GoogleCloudRetailV2alphaIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaInterval] { + return pulumix.Output[GoogleCloudRetailV2alphaInterval]{ + OutputState: o.OutputState, + } +} + // Exclusive upper bound. func (o GoogleCloudRetailV2alphaIntervalOutput) ExclusiveMaximum() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaInterval) *float64 { return v.ExclusiveMaximum }).(pulumi.Float64PtrOutput) @@ -1382,6 +1635,12 @@ func (o GoogleCloudRetailV2alphaIntervalArrayOutput) ToGoogleCloudRetailV2alphaI return o } +func (o GoogleCloudRetailV2alphaIntervalArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaInterval] { + return pulumix.Output[[]GoogleCloudRetailV2alphaInterval]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaIntervalArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaIntervalOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaInterval { return vs[0].([]GoogleCloudRetailV2alphaInterval)[vs[1].(int)] @@ -1415,6 +1674,12 @@ func (o GoogleCloudRetailV2alphaIntervalResponseOutput) ToGoogleCloudRetailV2alp return o } +func (o GoogleCloudRetailV2alphaIntervalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaIntervalResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaIntervalResponse]{ + OutputState: o.OutputState, + } +} + // Exclusive upper bound. func (o GoogleCloudRetailV2alphaIntervalResponseOutput) ExclusiveMaximum() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2alphaIntervalResponse) float64 { return v.ExclusiveMaximum }).(pulumi.Float64Output) @@ -1449,6 +1714,12 @@ func (o GoogleCloudRetailV2alphaIntervalResponseArrayOutput) ToGoogleCloudRetail return o } +func (o GoogleCloudRetailV2alphaIntervalResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaIntervalResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaIntervalResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaIntervalResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaIntervalResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaIntervalResponse { return vs[0].([]GoogleCloudRetailV2alphaIntervalResponse)[vs[1].(int)] @@ -1482,6 +1753,12 @@ func (o GoogleCloudRetailV2alphaLocalInventoryResponseOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2alphaLocalInventoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaLocalInventoryResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaLocalInventoryResponse]{ + OutputState: o.OutputState, + } +} + // Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The `searchable` field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB. func (o GoogleCloudRetailV2alphaLocalInventoryResponseOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaLocalInventoryResponse) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -1518,6 +1795,12 @@ func (o GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaLocalInventoryResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaLocalInventoryResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaLocalInventoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaLocalInventoryResponse { return vs[0].([]GoogleCloudRetailV2alphaLocalInventoryResponse)[vs[1].(int)] @@ -1559,6 +1842,12 @@ func (i GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput) } +func (i GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput() GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput { return i.ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(context.Background()) } @@ -1600,6 +1889,12 @@ func (i *googleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrT return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) } +func (i *googleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Additional configs for the frequently-bought-together model type. type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput struct{ *pulumi.OutputState } @@ -1625,6 +1920,12 @@ func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutpu }).(GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) } +func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS. func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ContextProductsType() GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig) *GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType { @@ -1646,6 +1947,12 @@ func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOu return o } +func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) Elem() GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig) GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig { if v != nil { @@ -1687,6 +1994,12 @@ func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigRespo return o } +func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS. func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ContextProductsType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponse) string { @@ -1729,6 +2042,12 @@ func (i GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToGoogleCloudRetai return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) } +func (i GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelModelFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2alphaModelModelFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2alphaModelModelFeaturesConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput { return i.ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutputWithContext(context.Background()) } @@ -1770,6 +2089,12 @@ func (i *googleCloudRetailV2alphaModelModelFeaturesConfigPtrType) ToGoogleCloudR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) } +func (i *googleCloudRetailV2alphaModelModelFeaturesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaModelModelFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2alphaModelModelFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Additional model features config. type GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput struct{ *pulumi.OutputState } @@ -1795,6 +2120,12 @@ func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) ToGoogleCloudRet }).(GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) } +func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelModelFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2alphaModelModelFeaturesConfig]{ + OutputState: o.OutputState, + } +} + // Additional configs for frequently-bought-together models. func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) FrequentlyBoughtTogetherConfig() GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelModelFeaturesConfig) *GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig { @@ -1816,6 +2147,12 @@ func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaModelModelFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2alphaModelModelFeaturesConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) Elem() GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaModelModelFeaturesConfig) GoogleCloudRetailV2alphaModelModelFeaturesConfig { if v != nil { @@ -1857,6 +2194,12 @@ func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput) ToGoogle return o } +func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelModelFeaturesConfigResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaModelModelFeaturesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Additional configs for frequently-bought-together models. func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput) FrequentlyBoughtTogetherConfig() GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelModelFeaturesConfigResponse) GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponse { @@ -1907,6 +2250,12 @@ func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ToGoogleCloudRe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) } +func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfig] { + return pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfig]{ + OutputState: i.ToGoogleCloudRetailV2alphaModelPageOptimizationConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput() GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput { return i.ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutputWithContext(context.Background()) } @@ -1948,6 +2297,12 @@ func (i *googleCloudRetailV2alphaModelPageOptimizationConfigPtrType) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) } +func (i *googleCloudRetailV2alphaModelPageOptimizationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaModelPageOptimizationConfig] { + return pulumix.Output[*GoogleCloudRetailV2alphaModelPageOptimizationConfig]{ + OutputState: i.ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey. type GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput struct{ *pulumi.OutputState } @@ -1973,6 +2328,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) ToGoogleCloud }).(GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfig] { + return pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfig]{ + OutputState: o.OutputState, + } +} + // The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * `add-to-cart`: Products being added to cart. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed * `category-page-view`: Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `home-page-view` only allows models with type `recommended-for-you`. All other page_optimization_event_type allow all Model.types. func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) PageOptimizationEventType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelPageOptimizationConfig) string { return v.PageOptimizationEventType }).(pulumi.StringOutput) @@ -2006,6 +2367,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) ToGoogleCl return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaModelPageOptimizationConfig] { + return pulumix.Output[*GoogleCloudRetailV2alphaModelPageOptimizationConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) Elem() GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaModelPageOptimizationConfig) GoogleCloudRetailV2alphaModelPageOptimizationConfig { if v != nil { @@ -2081,6 +2448,12 @@ func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput) } +func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate] { + return pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate]{ + OutputState: i.ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayInput is an input type that accepts GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray and GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayInput` via: // @@ -2106,6 +2479,12 @@ func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray) ToGoo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput) } +func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate] { + return pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate]{ + OutputState: i.ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutputWithContext(ctx).OutputState, + } +} + // A candidate to consider for a given panel. Currently only ServingConfig are valid candidates. type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput struct{ *pulumi.OutputState } @@ -2121,6 +2500,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput) ToGo return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate] { + return pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate]{ + OutputState: o.OutputState, + } +} + // This has to be a valid ServingConfig identifier. For example, for a ServingConfig with full name: `projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config`, this would be `my_candidate_config`. func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput) ServingConfigId() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate) *string { return v.ServingConfigId }).(pulumi.StringPtrOutput) @@ -2140,6 +2525,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput) return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate] { + return pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate { return vs[0].([]GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate)[vs[1].(int)] @@ -2167,6 +2558,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutp return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse]{ + OutputState: o.OutputState, + } +} + // This has to be a valid ServingConfig identifier. For example, for a ServingConfig with full name: `projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config`, this would be `my_candidate_config`. func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutput) ServingConfigId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse) string { @@ -2188,6 +2585,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArra return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse { return vs[0].([]GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse)[vs[1].(int)] @@ -2237,6 +2640,12 @@ func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) } +func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel] { + return pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel]{ + OutputState: i.ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayInput is an input type that accepts GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray and GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayInput` via: // @@ -2262,6 +2671,12 @@ func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput) } +func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel] { + return pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel]{ + OutputState: i.ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutputWithContext(ctx).OutputState, + } +} + // An individual panel with a list of ServingConfigs to consider for it. type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput struct{ *pulumi.OutputState } @@ -2277,6 +2692,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) ToGoogle return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel] { + return pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel]{ + OutputState: o.OutputState, + } +} + // The candidates to consider on the panel. func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) Candidates() GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel) []GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate { @@ -2310,6 +2731,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput) ToG return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel] { + return pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel { return vs[0].([]GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel)[vs[1].(int)] @@ -2341,6 +2768,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput) return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponse]{ + OutputState: o.OutputState, + } +} + // The candidates to consider on the panel. func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput) Candidates() GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponse) []GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse { @@ -2374,6 +2807,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOut return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponse { return vs[0].([]GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponse)[vs[1].(int)] @@ -2405,6 +2844,12 @@ func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput) ToGoo return o } +func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaModelPageOptimizationConfigResponse]{ + OutputState: o.OutputState, + } +} + // The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * `add-to-cart`: Products being added to cart. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed * `category-page-view`: Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `home-page-view` only allows models with type `recommended-for-you`. All other page_optimization_event_type allow all Model.types. func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput) PageOptimizationEventType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelPageOptimizationConfigResponse) string { @@ -2445,6 +2890,12 @@ func (o GoogleCloudRetailV2alphaModelServingConfigListResponseOutput) ToGoogleCl return o } +func (o GoogleCloudRetailV2alphaModelServingConfigListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaModelServingConfigListResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaModelServingConfigListResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`. func (o GoogleCloudRetailV2alphaModelServingConfigListResponseOutput) ServingConfigIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaModelServingConfigListResponse) []string { return v.ServingConfigIds }).(pulumi.StringArrayOutput) @@ -2464,6 +2915,12 @@ func (o GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput) ToGoo return o } +func (o GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaModelServingConfigListResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaModelServingConfigListResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaModelServingConfigListResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaModelServingConfigListResponse { return vs[0].([]GoogleCloudRetailV2alphaModelServingConfigListResponse)[vs[1].(int)] @@ -2525,6 +2982,12 @@ func (i GoogleCloudRetailV2alphaPriceInfoArgs) ToGoogleCloudRetailV2alphaPriceIn return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaPriceInfoOutput) } +func (i GoogleCloudRetailV2alphaPriceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaPriceInfo] { + return pulumix.Output[GoogleCloudRetailV2alphaPriceInfo]{ + OutputState: i.ToGoogleCloudRetailV2alphaPriceInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaPriceInfoArgs) ToGoogleCloudRetailV2alphaPriceInfoPtrOutput() GoogleCloudRetailV2alphaPriceInfoPtrOutput { return i.ToGoogleCloudRetailV2alphaPriceInfoPtrOutputWithContext(context.Background()) } @@ -2566,6 +3029,12 @@ func (i *googleCloudRetailV2alphaPriceInfoPtrType) ToGoogleCloudRetailV2alphaPri return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaPriceInfoPtrOutput) } +func (i *googleCloudRetailV2alphaPriceInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaPriceInfo] { + return pulumix.Output[*GoogleCloudRetailV2alphaPriceInfo]{ + OutputState: i.ToGoogleCloudRetailV2alphaPriceInfoPtrOutputWithContext(ctx).OutputState, + } +} + // The price information of a Product. type GoogleCloudRetailV2alphaPriceInfoOutput struct{ *pulumi.OutputState } @@ -2591,6 +3060,12 @@ func (o GoogleCloudRetailV2alphaPriceInfoOutput) ToGoogleCloudRetailV2alphaPrice }).(GoogleCloudRetailV2alphaPriceInfoPtrOutput) } +func (o GoogleCloudRetailV2alphaPriceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaPriceInfo] { + return pulumix.Output[GoogleCloudRetailV2alphaPriceInfo]{ + OutputState: o.OutputState, + } +} + // The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895). func (o GoogleCloudRetailV2alphaPriceInfoOutput) Cost() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaPriceInfo) *float64 { return v.Cost }).(pulumi.Float64PtrOutput) @@ -2635,6 +3110,12 @@ func (o GoogleCloudRetailV2alphaPriceInfoPtrOutput) ToGoogleCloudRetailV2alphaPr return o } +func (o GoogleCloudRetailV2alphaPriceInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaPriceInfo] { + return pulumix.Output[*GoogleCloudRetailV2alphaPriceInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaPriceInfoPtrOutput) Elem() GoogleCloudRetailV2alphaPriceInfoOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaPriceInfo) GoogleCloudRetailV2alphaPriceInfo { if v != nil { @@ -2728,6 +3209,12 @@ func (o GoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaPriceInfoPriceRangeResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaPriceInfoPriceRangeResponse]{ + OutputState: o.OutputState, + } +} + // The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id. func (o GoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutput) OriginalPrice() GoogleCloudRetailV2alphaIntervalResponseOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaPriceInfoPriceRangeResponse) GoogleCloudRetailV2alphaIntervalResponse { @@ -2775,6 +3262,12 @@ func (o GoogleCloudRetailV2alphaPriceInfoResponseOutput) ToGoogleCloudRetailV2al return o } +func (o GoogleCloudRetailV2alphaPriceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaPriceInfoResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaPriceInfoResponse]{ + OutputState: o.OutputState, + } +} + // The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895). func (o GoogleCloudRetailV2alphaPriceInfoResponseOutput) Cost() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2alphaPriceInfoResponse) float64 { return v.Cost }).(pulumi.Float64Output) @@ -2899,6 +3392,12 @@ func (o GoogleCloudRetailV2alphaProductResponseOutput) ToGoogleCloudRetailV2alph return o } +func (o GoogleCloudRetailV2alphaProductResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaProductResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaProductResponse]{ + OutputState: o.OutputState, + } +} + // Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. func (o GoogleCloudRetailV2alphaProductResponseOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaProductResponse) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -3098,6 +3597,12 @@ func (o GoogleCloudRetailV2alphaProductResponseArrayOutput) ToGoogleCloudRetailV return o } +func (o GoogleCloudRetailV2alphaProductResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaProductResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaProductResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaProductResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaProductResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaProductResponse { return vs[0].([]GoogleCloudRetailV2alphaProductResponse)[vs[1].(int)] @@ -3139,6 +3644,12 @@ func (i GoogleCloudRetailV2alphaPromotionArgs) ToGoogleCloudRetailV2alphaPromoti return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaPromotionOutput) } +func (i GoogleCloudRetailV2alphaPromotionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaPromotion] { + return pulumix.Output[GoogleCloudRetailV2alphaPromotion]{ + OutputState: i.ToGoogleCloudRetailV2alphaPromotionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2alphaPromotionArrayInput is an input type that accepts GoogleCloudRetailV2alphaPromotionArray and GoogleCloudRetailV2alphaPromotionArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2alphaPromotionArrayInput` via: // @@ -3164,6 +3675,12 @@ func (i GoogleCloudRetailV2alphaPromotionArray) ToGoogleCloudRetailV2alphaPromot return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaPromotionArrayOutput) } +func (i GoogleCloudRetailV2alphaPromotionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaPromotion] { + return pulumix.Output[[]GoogleCloudRetailV2alphaPromotion]{ + OutputState: i.ToGoogleCloudRetailV2alphaPromotionArrayOutputWithContext(ctx).OutputState, + } +} + // Promotion specification. type GoogleCloudRetailV2alphaPromotionOutput struct{ *pulumi.OutputState } @@ -3179,6 +3696,12 @@ func (o GoogleCloudRetailV2alphaPromotionOutput) ToGoogleCloudRetailV2alphaPromo return o } +func (o GoogleCloudRetailV2alphaPromotionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaPromotion] { + return pulumix.Output[GoogleCloudRetailV2alphaPromotion]{ + OutputState: o.OutputState, + } +} + // Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148). func (o GoogleCloudRetailV2alphaPromotionOutput) PromotionId() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaPromotion) *string { return v.PromotionId }).(pulumi.StringPtrOutput) @@ -3198,6 +3721,12 @@ func (o GoogleCloudRetailV2alphaPromotionArrayOutput) ToGoogleCloudRetailV2alpha return o } +func (o GoogleCloudRetailV2alphaPromotionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaPromotion] { + return pulumix.Output[[]GoogleCloudRetailV2alphaPromotion]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaPromotionArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaPromotionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaPromotion { return vs[0].([]GoogleCloudRetailV2alphaPromotion)[vs[1].(int)] @@ -3225,6 +3754,12 @@ func (o GoogleCloudRetailV2alphaPromotionResponseOutput) ToGoogleCloudRetailV2al return o } +func (o GoogleCloudRetailV2alphaPromotionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaPromotionResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaPromotionResponse]{ + OutputState: o.OutputState, + } +} + // Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148). func (o GoogleCloudRetailV2alphaPromotionResponseOutput) PromotionId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaPromotionResponse) string { return v.PromotionId }).(pulumi.StringOutput) @@ -3244,6 +3779,12 @@ func (o GoogleCloudRetailV2alphaPromotionResponseArrayOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2alphaPromotionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2alphaPromotionResponse] { + return pulumix.Output[[]GoogleCloudRetailV2alphaPromotionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaPromotionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2alphaPromotionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2alphaPromotionResponse { return vs[0].([]GoogleCloudRetailV2alphaPromotionResponse)[vs[1].(int)] @@ -3293,6 +3834,12 @@ func (i GoogleCloudRetailV2alphaRatingArgs) ToGoogleCloudRetailV2alphaRatingOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRatingOutput) } +func (i GoogleCloudRetailV2alphaRatingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRating] { + return pulumix.Output[GoogleCloudRetailV2alphaRating]{ + OutputState: i.ToGoogleCloudRetailV2alphaRatingOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaRatingArgs) ToGoogleCloudRetailV2alphaRatingPtrOutput() GoogleCloudRetailV2alphaRatingPtrOutput { return i.ToGoogleCloudRetailV2alphaRatingPtrOutputWithContext(context.Background()) } @@ -3334,6 +3881,12 @@ func (i *googleCloudRetailV2alphaRatingPtrType) ToGoogleCloudRetailV2alphaRating return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRatingPtrOutput) } +func (i *googleCloudRetailV2alphaRatingPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRating] { + return pulumix.Output[*GoogleCloudRetailV2alphaRating]{ + OutputState: i.ToGoogleCloudRetailV2alphaRatingPtrOutputWithContext(ctx).OutputState, + } +} + // The rating of a Product. type GoogleCloudRetailV2alphaRatingOutput struct{ *pulumi.OutputState } @@ -3359,6 +3912,12 @@ func (o GoogleCloudRetailV2alphaRatingOutput) ToGoogleCloudRetailV2alphaRatingPt }).(GoogleCloudRetailV2alphaRatingPtrOutput) } +func (o GoogleCloudRetailV2alphaRatingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRating] { + return pulumix.Output[GoogleCloudRetailV2alphaRating]{ + OutputState: o.OutputState, + } +} + // The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2alphaRatingOutput) AverageRating() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRating) *float64 { return v.AverageRating }).(pulumi.Float64PtrOutput) @@ -3388,6 +3947,12 @@ func (o GoogleCloudRetailV2alphaRatingPtrOutput) ToGoogleCloudRetailV2alphaRatin return o } +func (o GoogleCloudRetailV2alphaRatingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRating] { + return pulumix.Output[*GoogleCloudRetailV2alphaRating]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaRatingPtrOutput) Elem() GoogleCloudRetailV2alphaRatingOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaRating) GoogleCloudRetailV2alphaRating { if v != nil { @@ -3453,6 +4018,12 @@ func (o GoogleCloudRetailV2alphaRatingResponseOutput) ToGoogleCloudRetailV2alpha return o } +func (o GoogleCloudRetailV2alphaRatingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRatingResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaRatingResponse]{ + OutputState: o.OutputState, + } +} + // The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2alphaRatingResponseOutput) AverageRating() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2alphaRatingResponse) float64 { return v.AverageRating }).(pulumi.Float64Output) @@ -3535,6 +4106,12 @@ func (i GoogleCloudRetailV2alphaRuleArgs) ToGoogleCloudRetailV2alphaRuleOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleOutput) } +func (i GoogleCloudRetailV2alphaRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRule] { + return pulumix.Output[GoogleCloudRetailV2alphaRule]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaRuleArgs) ToGoogleCloudRetailV2alphaRulePtrOutput() GoogleCloudRetailV2alphaRulePtrOutput { return i.ToGoogleCloudRetailV2alphaRulePtrOutputWithContext(context.Background()) } @@ -3576,6 +4153,12 @@ func (i *googleCloudRetailV2alphaRulePtrType) ToGoogleCloudRetailV2alphaRulePtrO return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRulePtrOutput) } +func (i *googleCloudRetailV2alphaRulePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRule] { + return pulumix.Output[*GoogleCloudRetailV2alphaRule]{ + OutputState: i.ToGoogleCloudRetailV2alphaRulePtrOutputWithContext(ctx).OutputState, + } +} + // A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH. type GoogleCloudRetailV2alphaRuleOutput struct{ *pulumi.OutputState } @@ -3601,6 +4184,12 @@ func (o GoogleCloudRetailV2alphaRuleOutput) ToGoogleCloudRetailV2alphaRulePtrOut }).(GoogleCloudRetailV2alphaRulePtrOutput) } +func (o GoogleCloudRetailV2alphaRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRule] { + return pulumix.Output[GoogleCloudRetailV2alphaRule]{ + OutputState: o.OutputState, + } +} + // A boost action. func (o GoogleCloudRetailV2alphaRuleOutput) BoostAction() GoogleCloudRetailV2alphaRuleBoostActionPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRule) *GoogleCloudRetailV2alphaRuleBoostAction { return v.BoostAction }).(GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) @@ -3670,6 +4259,12 @@ func (o GoogleCloudRetailV2alphaRulePtrOutput) ToGoogleCloudRetailV2alphaRulePtr return o } +func (o GoogleCloudRetailV2alphaRulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRule] { + return pulumix.Output[*GoogleCloudRetailV2alphaRule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaRulePtrOutput) Elem() GoogleCloudRetailV2alphaRuleOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaRule) GoogleCloudRetailV2alphaRule { if v != nil { @@ -3809,6 +4404,12 @@ func (i GoogleCloudRetailV2alphaRuleBoostActionArgs) ToGoogleCloudRetailV2alphaR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleBoostActionOutput) } +func (i GoogleCloudRetailV2alphaRuleBoostActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleBoostAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleBoostAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleBoostActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaRuleBoostActionArgs) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutput() GoogleCloudRetailV2alphaRuleBoostActionPtrOutput { return i.ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutputWithContext(context.Background()) } @@ -3850,6 +4451,12 @@ func (i *googleCloudRetailV2alphaRuleBoostActionPtrType) ToGoogleCloudRetailV2al return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) } +func (i *googleCloudRetailV2alphaRuleBoostActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleBoostAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleBoostAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutputWithContext(ctx).OutputState, + } +} + // A boost action to apply to results matching condition specified above. type GoogleCloudRetailV2alphaRuleBoostActionOutput struct{ *pulumi.OutputState } @@ -3875,6 +4482,12 @@ func (o GoogleCloudRetailV2alphaRuleBoostActionOutput) ToGoogleCloudRetailV2alph }).(GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) } +func (o GoogleCloudRetailV2alphaRuleBoostActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleBoostAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleBoostAction]{ + OutputState: o.OutputState, + } +} + // Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. func (o GoogleCloudRetailV2alphaRuleBoostActionOutput) Boost() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleBoostAction) *float64 { return v.Boost }).(pulumi.Float64PtrOutput) @@ -3899,6 +4512,12 @@ func (o GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) ToGoogleCloudRetailV2a return o } +func (o GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleBoostAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleBoostAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) Elem() GoogleCloudRetailV2alphaRuleBoostActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaRuleBoostAction) GoogleCloudRetailV2alphaRuleBoostAction { if v != nil { @@ -3952,6 +4571,12 @@ func (o GoogleCloudRetailV2alphaRuleBoostActionResponseOutput) ToGoogleCloudReta return o } +func (o GoogleCloudRetailV2alphaRuleBoostActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleBoostActionResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleBoostActionResponse]{ + OutputState: o.OutputState, + } +} + // Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. func (o GoogleCloudRetailV2alphaRuleBoostActionResponseOutput) Boost() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleBoostActionResponse) float64 { return v.Boost }).(pulumi.Float64Output) @@ -4005,6 +4630,12 @@ func (i GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToGoogleCloudRetai return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) } +func (i GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleDoNotAssociateAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleDoNotAssociateAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput { return i.ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutputWithContext(context.Background()) } @@ -4046,6 +4677,12 @@ func (i *googleCloudRetailV2alphaRuleDoNotAssociateActionPtrType) ToGoogleCloudR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) } +func (i *googleCloudRetailV2alphaRuleDoNotAssociateActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleDoNotAssociateAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleDoNotAssociateAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutputWithContext(ctx).OutputState, + } +} + // Prevents `query_term` from being associated with specified terms during search. Example: Don't associate "gShoe" and "cheap". type GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput struct{ *pulumi.OutputState } @@ -4071,6 +4708,12 @@ func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) ToGoogleCloudRet }).(GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) } +func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleDoNotAssociateAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleDoNotAssociateAction]{ + OutputState: o.OutputState, + } +} + // Cannot contain duplicates or the query term. Can specify up to 100 terms. func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) DoNotAssociateTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleDoNotAssociateAction) []string { return v.DoNotAssociateTerms }).(pulumi.StringArrayOutput) @@ -4100,6 +4743,12 @@ func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleDoNotAssociateAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleDoNotAssociateAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) Elem() GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaRuleDoNotAssociateAction) GoogleCloudRetailV2alphaRuleDoNotAssociateAction { if v != nil { @@ -4165,6 +4814,12 @@ func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput) ToGoogle return o } +func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponse]{ + OutputState: o.OutputState, + } +} + // Cannot contain duplicates or the query term. Can specify up to 100 terms. func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput) DoNotAssociateTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponse) []string { @@ -4217,6 +4872,12 @@ func (i GoogleCloudRetailV2alphaRuleFilterActionArgs) ToGoogleCloudRetailV2alpha return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleFilterActionOutput) } +func (i GoogleCloudRetailV2alphaRuleFilterActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleFilterAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleFilterAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleFilterActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaRuleFilterActionArgs) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutput() GoogleCloudRetailV2alphaRuleFilterActionPtrOutput { return i.ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutputWithContext(context.Background()) } @@ -4258,6 +4919,12 @@ func (i *googleCloudRetailV2alphaRuleFilterActionPtrType) ToGoogleCloudRetailV2a return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) } +func (i *googleCloudRetailV2alphaRuleFilterActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleFilterAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleFilterAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutputWithContext(ctx).OutputState, + } +} + // * Rule Condition: - No Condition.query_terms provided is a global match. - 1 or more Condition.query_terms provided are combined with OR operator. * Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query's existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict. * Action Result: Filters the returned objects to be ONLY those that passed the filter. type GoogleCloudRetailV2alphaRuleFilterActionOutput struct{ *pulumi.OutputState } @@ -4283,6 +4950,12 @@ func (o GoogleCloudRetailV2alphaRuleFilterActionOutput) ToGoogleCloudRetailV2alp }).(GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) } +func (o GoogleCloudRetailV2alphaRuleFilterActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleFilterAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleFilterAction]{ + OutputState: o.OutputState, + } +} + // A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) * func (o GoogleCloudRetailV2alphaRuleFilterActionOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleFilterAction) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -4302,6 +4975,12 @@ func (o GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) ToGoogleCloudRetailV2 return o } +func (o GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleFilterAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleFilterAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) Elem() GoogleCloudRetailV2alphaRuleFilterActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaRuleFilterAction) GoogleCloudRetailV2alphaRuleFilterAction { if v != nil { @@ -4343,6 +5022,12 @@ func (o GoogleCloudRetailV2alphaRuleFilterActionResponseOutput) ToGoogleCloudRet return o } +func (o GoogleCloudRetailV2alphaRuleFilterActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleFilterActionResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleFilterActionResponse]{ + OutputState: o.OutputState, + } +} + // A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) * func (o GoogleCloudRetailV2alphaRuleFilterActionResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleFilterActionResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -4383,6 +5068,12 @@ func (i GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToGoogleCloudRetailV2alpha return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleIgnoreActionOutput) } +func (i GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleIgnoreAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleIgnoreAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleIgnoreActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput() GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput { return i.ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutputWithContext(context.Background()) } @@ -4424,6 +5115,12 @@ func (i *googleCloudRetailV2alphaRuleIgnoreActionPtrType) ToGoogleCloudRetailV2a return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) } +func (i *googleCloudRetailV2alphaRuleIgnoreActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleIgnoreAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleIgnoreAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutputWithContext(ctx).OutputState, + } +} + // Prevents a term in the query from being used in search. Example: Don't search for "shoddy". type GoogleCloudRetailV2alphaRuleIgnoreActionOutput struct{ *pulumi.OutputState } @@ -4449,6 +5146,12 @@ func (o GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ToGoogleCloudRetailV2alp }).(GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) } +func (o GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleIgnoreAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleIgnoreAction]{ + OutputState: o.OutputState, + } +} + // Terms to ignore in the search query. func (o GoogleCloudRetailV2alphaRuleIgnoreActionOutput) IgnoreTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleIgnoreAction) []string { return v.IgnoreTerms }).(pulumi.StringArrayOutput) @@ -4468,6 +5171,12 @@ func (o GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2 return o } +func (o GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleIgnoreAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleIgnoreAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) Elem() GoogleCloudRetailV2alphaRuleIgnoreActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaRuleIgnoreAction) GoogleCloudRetailV2alphaRuleIgnoreAction { if v != nil { @@ -4509,6 +5218,12 @@ func (o GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput) ToGoogleCloudRet return o } +func (o GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleIgnoreActionResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleIgnoreActionResponse]{ + OutputState: o.OutputState, + } +} + // Terms to ignore in the search query. func (o GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput) IgnoreTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleIgnoreActionResponse) []string { return v.IgnoreTerms }).(pulumi.StringArrayOutput) @@ -4557,6 +5272,12 @@ func (i GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetai return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) } +func (i GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleOnewaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleOnewaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput { return i.ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutputWithContext(context.Background()) } @@ -4598,6 +5319,12 @@ func (i *googleCloudRetailV2alphaRuleOnewaySynonymsActionPtrType) ToGoogleCloudR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) } +func (i *googleCloudRetailV2alphaRuleOnewaySynonymsActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleOnewaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleOnewaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutputWithContext(ctx).OutputState, + } +} + // Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only. `query_terms` will not be treated as synonyms of each other. Example: "sneakers" will use a synonym of "shoes". "shoes" will not use a synonym of "sneakers". type GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput struct{ *pulumi.OutputState } @@ -4623,6 +5350,12 @@ func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) ToGoogleCloudRet }).(GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) } +func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleOnewaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleOnewaySynonymsAction]{ + OutputState: o.OutputState, + } +} + // Will be [deprecated = true] post migration; func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) OnewayTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleOnewaySynonymsAction) []string { return v.OnewayTerms }).(pulumi.StringArrayOutput) @@ -4652,6 +5385,12 @@ func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleOnewaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleOnewaySynonymsAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) Elem() GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaRuleOnewaySynonymsAction) GoogleCloudRetailV2alphaRuleOnewaySynonymsAction { if v != nil { @@ -4717,6 +5456,12 @@ func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutput) ToGoogle return o } +func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponse]{ + OutputState: o.OutputState, + } +} + // Will be [deprecated = true] post migration; func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutput) OnewayTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponse) []string { return v.OnewayTerms }).(pulumi.StringArrayOutput) @@ -4767,6 +5512,12 @@ func (i GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToGoogleCloudRetailV2alp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleRedirectActionOutput) } +func (i GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleRedirectAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleRedirectAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleRedirectActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutput() GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput { return i.ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutputWithContext(context.Background()) } @@ -4808,6 +5559,12 @@ func (i *googleCloudRetailV2alphaRuleRedirectActionPtrType) ToGoogleCloudRetailV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) } +func (i *googleCloudRetailV2alphaRuleRedirectActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleRedirectAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleRedirectAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutputWithContext(ctx).OutputState, + } +} + // Redirects a shopper to a specific page. * Rule Condition: - Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri. type GoogleCloudRetailV2alphaRuleRedirectActionOutput struct{ *pulumi.OutputState } @@ -4833,6 +5590,12 @@ func (o GoogleCloudRetailV2alphaRuleRedirectActionOutput) ToGoogleCloudRetailV2a }).(GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) } +func (o GoogleCloudRetailV2alphaRuleRedirectActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleRedirectAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleRedirectAction]{ + OutputState: o.OutputState, + } +} + // URL must have length equal or less than 2000 characters. func (o GoogleCloudRetailV2alphaRuleRedirectActionOutput) RedirectUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleRedirectAction) *string { return v.RedirectUri }).(pulumi.StringPtrOutput) @@ -4852,6 +5615,12 @@ func (o GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) ToGoogleCloudRetail return o } +func (o GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleRedirectAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleRedirectAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) Elem() GoogleCloudRetailV2alphaRuleRedirectActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaRuleRedirectAction) GoogleCloudRetailV2alphaRuleRedirectAction { if v != nil { @@ -4893,6 +5662,12 @@ func (o GoogleCloudRetailV2alphaRuleRedirectActionResponseOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2alphaRuleRedirectActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleRedirectActionResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleRedirectActionResponse]{ + OutputState: o.OutputState, + } +} + // URL must have length equal or less than 2000 characters. func (o GoogleCloudRetailV2alphaRuleRedirectActionResponseOutput) RedirectUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleRedirectActionResponse) string { return v.RedirectUri }).(pulumi.StringOutput) @@ -4941,6 +5716,12 @@ func (i GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToGoogleCloudRetailV2 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleReplacementActionOutput) } +func (i GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleReplacementAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleReplacementAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleReplacementActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutput() GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput { return i.ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutputWithContext(context.Background()) } @@ -4982,6 +5763,12 @@ func (i *googleCloudRetailV2alphaRuleReplacementActionPtrType) ToGoogleCloudReta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) } +func (i *googleCloudRetailV2alphaRuleReplacementActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleReplacementAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleReplacementAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutputWithContext(ctx).OutputState, + } +} + // Replaces a term in the query. Multiple replacement candidates can be specified. All `query_terms` will be replaced with the replacement term. Example: Replace "gShoe" with "google shoe". type GoogleCloudRetailV2alphaRuleReplacementActionOutput struct{ *pulumi.OutputState } @@ -5007,6 +5794,12 @@ func (o GoogleCloudRetailV2alphaRuleReplacementActionOutput) ToGoogleCloudRetail }).(GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) } +func (o GoogleCloudRetailV2alphaRuleReplacementActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleReplacementAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleReplacementAction]{ + OutputState: o.OutputState, + } +} + // Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms. func (o GoogleCloudRetailV2alphaRuleReplacementActionOutput) QueryTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleReplacementAction) []string { return v.QueryTerms }).(pulumi.StringArrayOutput) @@ -5036,6 +5829,12 @@ func (o GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) ToGoogleCloudRet return o } +func (o GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleReplacementAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleReplacementAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) Elem() GoogleCloudRetailV2alphaRuleReplacementActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaRuleReplacementAction) GoogleCloudRetailV2alphaRuleReplacementAction { if v != nil { @@ -5101,6 +5900,12 @@ func (o GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput) ToGoogleClo return o } +func (o GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleReplacementActionResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleReplacementActionResponse]{ + OutputState: o.OutputState, + } +} + // Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms. func (o GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput) QueryTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleReplacementActionResponse) []string { return v.QueryTerms }).(pulumi.StringArrayOutput) @@ -5153,6 +5958,12 @@ func (o GoogleCloudRetailV2alphaRuleResponseOutput) ToGoogleCloudRetailV2alphaRu return o } +func (o GoogleCloudRetailV2alphaRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleResponse]{ + OutputState: o.OutputState, + } +} + // A boost action. func (o GoogleCloudRetailV2alphaRuleResponseOutput) BoostAction() GoogleCloudRetailV2alphaRuleBoostActionResponseOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleResponse) GoogleCloudRetailV2alphaRuleBoostActionResponse { @@ -5251,6 +6062,12 @@ func (i GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetai return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) } +func (i GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleTwowaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleTwowaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput { return i.ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutputWithContext(context.Background()) } @@ -5292,6 +6109,12 @@ func (i *googleCloudRetailV2alphaRuleTwowaySynonymsActionPtrType) ToGoogleCloudR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) } +func (i *googleCloudRetailV2alphaRuleTwowaySynonymsActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleTwowaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleTwowaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutputWithContext(ctx).OutputState, + } +} + // Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes": * "sneakers" will use a synonym of "shoes". * "shoes" will use a synonym of "sneakers". type GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput struct{ *pulumi.OutputState } @@ -5317,6 +6140,12 @@ func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) ToGoogleCloudRet }).(GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) } +func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleTwowaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleTwowaySynonymsAction]{ + OutputState: o.OutputState, + } +} + // Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleTwowaySynonymsAction) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -5336,6 +6165,12 @@ func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaRuleTwowaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2alphaRuleTwowaySynonymsAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) Elem() GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaRuleTwowaySynonymsAction) GoogleCloudRetailV2alphaRuleTwowaySynonymsAction { if v != nil { @@ -5377,6 +6212,12 @@ func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutput) ToGoogle return o } +func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponse]{ + OutputState: o.OutputState, + } +} + // Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponse) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -5417,6 +6258,12 @@ func (i GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) } +func (i GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec]{ + OutputState: i.ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput() GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput { return i.ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutputWithContext(context.Background()) } @@ -5458,6 +6305,12 @@ func (i *googleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) } +func (i *googleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec]{ + OutputState: i.ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutputWithContext(ctx).OutputState, + } +} + // The specifications of dynamically generated facets. type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput struct{ *pulumi.OutputState } @@ -5483,6 +6336,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) ToGoogleClo }).(GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) } +func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec]{ + OutputState: o.OutputState, + } +} + // Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) Mode() GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec) *GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode { @@ -5504,6 +6363,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) ToGoogle return o } +func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) Elem() GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec { if v != nil { @@ -5545,6 +6410,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput) ToG return o } +func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponse]{ + OutputState: o.OutputState, + } +} + // Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -5597,6 +6468,12 @@ func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) } +func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpec] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpec]{ + OutputState: i.ToGoogleCloudRetailV2alphaSearchRequestFacetSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput() GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput { return i.ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutputWithContext(context.Background()) } @@ -5638,6 +6515,12 @@ func (i *googleCloudRetailV2alphaSearchRequestFacetSpecPtrType) ToGoogleCloudRet return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) } +func (i *googleCloudRetailV2alphaSearchRequestFacetSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestFacetSpec] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestFacetSpec]{ + OutputState: i.ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutputWithContext(ctx).OutputState, + } +} + // A facet specification to perform faceted search. type GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput struct{ *pulumi.OutputState } @@ -5663,6 +6546,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) ToGoogleCloudRetai }).(GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) } +func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpec] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpec]{ + OutputState: o.OutputState, + } +} + // Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false. func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) EnableDynamicPosition() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestFacetSpec) *bool { return v.EnableDynamicPosition }).(pulumi.BoolPtrOutput) @@ -5699,6 +6588,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) ToGoogleCloudRe return o } +func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestFacetSpec] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestFacetSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) Elem() GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaSearchRequestFacetSpec) GoogleCloudRetailV2alphaSearchRequestFacetSpec { if v != nil { @@ -5816,6 +6711,12 @@ func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs) ToGoogleClou return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) } +func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey]{ + OutputState: i.ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput() GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput { return i.ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(context.Background()) } @@ -5857,6 +6758,12 @@ func (i *googleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrType) ToGoogle return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) } +func (i *googleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey]{ + OutputState: i.ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a facet is computed. type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput struct{ *pulumi.OutputState } @@ -5882,6 +6789,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCl }).(GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) } +func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey]{ + OutputState: o.OutputState, + } +} + // True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise. func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) CaseInsensitive() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey) *bool { return v.CaseInsensitive }).(pulumi.BoolPtrOutput) @@ -5943,6 +6856,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) ToGoogl return o } +func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) Elem() GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey) GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey { if v != nil { @@ -6080,6 +6999,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) To return o } +func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponse]{ + OutputState: o.OutputState, + } +} + // True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise. func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) CaseInsensitive() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponse) bool { return v.CaseInsensitive }).(pulumi.BoolOutput) @@ -6156,6 +7081,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) ToGoogleCl return o } +func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpecResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestFacetSpecResponse]{ + OutputState: o.OutputState, + } +} + // Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false. func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) EnableDynamicPosition() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestFacetSpecResponse) bool { return v.EnableDynamicPosition }).(pulumi.BoolOutput) @@ -6213,6 +7144,12 @@ func (i GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) } +func (i GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec]{ + OutputState: i.ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput() GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput { return i.ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutputWithContext(context.Background()) } @@ -6254,6 +7191,12 @@ func (i *googleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrType) ToGoog return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) } +func (i *googleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec]{ + OutputState: i.ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for personalization. type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput struct{ *pulumi.OutputState } @@ -6279,6 +7222,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) ToGoogle }).(GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) } +func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec]{ + OutputState: o.OutputState, + } +} + // Defaults to Mode.AUTO. func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) Mode() GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec) *GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode { @@ -6300,6 +7249,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) ToGoo return o } +func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec] { + return pulumix.Output[*GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) Elem() GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput { return o.ApplyT(func(v *GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec { if v != nil { @@ -6341,6 +7296,12 @@ func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput) return o } +func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponse] { + return pulumix.Output[GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponse]{ + OutputState: o.OutputState, + } +} + // Defaults to Mode.AUTO. func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponse) string { return v.Mode }).(pulumi.StringOutput) diff --git a/sdk/go/google/retail/v2alpha/servingConfig.go b/sdk/go/google/retail/v2alpha/servingConfig.go index 7b9d264584..2b84b3980a 100644 --- a/sdk/go/google/retail/v2alpha/servingConfig.go +++ b/sdk/go/google/retail/v2alpha/servingConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a Catalog, otherwise a FAILED_PRECONDITION error is returned. @@ -236,6 +237,12 @@ func (i *ServingConfig) ToServingConfigOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(ServingConfigOutput) } +func (i *ServingConfig) ToOutput(ctx context.Context) pulumix.Output[*ServingConfig] { + return pulumix.Output[*ServingConfig]{ + OutputState: i.ToServingConfigOutputWithContext(ctx).OutputState, + } +} + type ServingConfigOutput struct{ *pulumi.OutputState } func (ServingConfigOutput) ElementType() reflect.Type { @@ -250,6 +257,12 @@ func (o ServingConfigOutput) ToServingConfigOutputWithContext(ctx context.Contex return o } +func (o ServingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfig] { + return pulumix.Output[*ServingConfig]{ + OutputState: o.OutputState, + } +} + // Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. func (o ServingConfigOutput) BoostControlIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *ServingConfig) pulumi.StringArrayOutput { return v.BoostControlIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2beta/control.go b/sdk/go/google/retail/v2beta/control.go index 3d4b3bc2bc..a60ad2a789 100644 --- a/sdk/go/google/retail/v2beta/control.go +++ b/sdk/go/google/retail/v2beta/control.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned. @@ -160,6 +161,12 @@ func (i *Control) ToControlOutputWithContext(ctx context.Context) ControlOutput return pulumi.ToOutputWithContext(ctx, i).(ControlOutput) } +func (i *Control) ToOutput(ctx context.Context) pulumix.Output[*Control] { + return pulumix.Output[*Control]{ + OutputState: i.ToControlOutputWithContext(ctx).OutputState, + } +} + type ControlOutput struct{ *pulumi.OutputState } func (ControlOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o ControlOutput) ToControlOutputWithContext(ctx context.Context) ControlOu return o } +func (o ControlOutput) ToOutput(ctx context.Context) pulumix.Output[*Control] { + return pulumix.Output[*Control]{ + OutputState: o.OutputState, + } +} + // List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view. func (o ControlOutput) AssociatedServingConfigIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *Control) pulumi.StringArrayOutput { return v.AssociatedServingConfigIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2beta/getControl.go b/sdk/go/google/retail/v2beta/getControl.go index 541e04bc4e..18d2990fc8 100644 --- a/sdk/go/google/retail/v2beta/getControl.go +++ b/sdk/go/google/retail/v2beta/getControl.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Control. @@ -84,6 +85,12 @@ func (o LookupControlResultOutput) ToLookupControlResultOutputWithContext(ctx co return o } +func (o LookupControlResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupControlResult] { + return pulumix.Output[LookupControlResult]{ + OutputState: o.OutputState, + } +} + // List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view. func (o LookupControlResultOutput) AssociatedServingConfigIds() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupControlResult) []string { return v.AssociatedServingConfigIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2beta/getModel.go b/sdk/go/google/retail/v2beta/getModel.go index 14ccf019b9..8cfddec010 100644 --- a/sdk/go/google/retail/v2beta/getModel.go +++ b/sdk/go/google/retail/v2beta/getModel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a model. @@ -100,6 +101,12 @@ func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx contex return o } +func (o LookupModelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupModelResult] { + return pulumix.Output[LookupModelResult]{ + OutputState: o.OutputState, + } +} + // Timestamp the Recommendation Model was created at. func (o LookupModelResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupModelResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/retail/v2beta/getProduct.go b/sdk/go/google/retail/v2beta/getProduct.go index fb5b96da3d..f17f32ed8b 100644 --- a/sdk/go/google/retail/v2beta/getProduct.go +++ b/sdk/go/google/retail/v2beta/getProduct.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Product. @@ -140,6 +141,12 @@ func (o LookupProductResultOutput) ToLookupProductResultOutputWithContext(ctx co return o } +func (o LookupProductResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProductResult] { + return pulumix.Output[LookupProductResult]{ + OutputState: o.OutputState, + } +} + // Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. func (o LookupProductResultOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v LookupProductResult) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/retail/v2beta/getServingConfig.go b/sdk/go/google/retail/v2beta/getServingConfig.go index 7fa4a4de9e..536be21ebc 100644 --- a/sdk/go/google/retail/v2beta/getServingConfig.go +++ b/sdk/go/google/retail/v2beta/getServingConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. @@ -108,6 +109,12 @@ func (o LookupServingConfigResultOutput) ToLookupServingConfigResultOutputWithCo return o } +func (o LookupServingConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServingConfigResult] { + return pulumix.Output[LookupServingConfigResult]{ + OutputState: o.OutputState, + } +} + // Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. func (o LookupServingConfigResultOutput) BoostControlIds() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupServingConfigResult) []string { return v.BoostControlIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/retail/v2beta/model.go b/sdk/go/google/retail/v2beta/model.go index 56f40a18ee..b4b7e77c51 100644 --- a/sdk/go/google/retail/v2beta/model.go +++ b/sdk/go/google/retail/v2beta/model.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new model. @@ -179,6 +180,12 @@ func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput { return pulumi.ToOutputWithContext(ctx, i).(ModelOutput) } +func (i *Model) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: i.ToModelOutputWithContext(ctx).OutputState, + } +} + type ModelOutput struct{ *pulumi.OutputState } func (ModelOutput) ElementType() reflect.Type { @@ -193,6 +200,12 @@ func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput { return o } +func (o ModelOutput) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: o.OutputState, + } +} + func (o ModelOutput) CatalogId() pulumi.StringOutput { return o.ApplyT(func(v *Model) pulumi.StringOutput { return v.CatalogId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/retail/v2beta/product.go b/sdk/go/google/retail/v2beta/product.go index 97639ad2d3..07c1d49a39 100644 --- a/sdk/go/google/retail/v2beta/product.go +++ b/sdk/go/google/retail/v2beta/product.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Product. @@ -325,6 +326,12 @@ func (i *Product) ToProductOutputWithContext(ctx context.Context) ProductOutput return pulumi.ToOutputWithContext(ctx, i).(ProductOutput) } +func (i *Product) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: i.ToProductOutputWithContext(ctx).OutputState, + } +} + type ProductOutput struct{ *pulumi.OutputState } func (ProductOutput) ElementType() reflect.Type { @@ -339,6 +346,12 @@ func (o ProductOutput) ToProductOutputWithContext(ctx context.Context) ProductOu return o } +func (o ProductOutput) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: o.OutputState, + } +} + // Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. func (o ProductOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v *Product) pulumi.StringMapOutput { return v.Attributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/retail/v2beta/pulumiEnums.go b/sdk/go/google/retail/v2beta/pulumiEnums.go index a09ed0a69b..1d3cc1da9b 100644 --- a/sdk/go/google/retail/v2beta/pulumiEnums.go +++ b/sdk/go/google/retail/v2beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type ControlSearchSolutionUseCaseItem string @@ -81,6 +82,12 @@ func (o ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseIt }).(ControlSearchSolutionUseCaseItemPtrOutput) } +func (o ControlSearchSolutionUseCaseItemOutput) ToOutput(ctx context.Context) pulumix.Output[ControlSearchSolutionUseCaseItem] { + return pulumix.Output[ControlSearchSolutionUseCaseItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSearchSolutionUseCaseItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -116,6 +123,12 @@ func (o ControlSearchSolutionUseCaseItemPtrOutput) ToControlSearchSolutionUseCas return o } +func (o ControlSearchSolutionUseCaseItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ControlSearchSolutionUseCaseItem] { + return pulumix.Output[*ControlSearchSolutionUseCaseItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSearchSolutionUseCaseItemPtrOutput) Elem() ControlSearchSolutionUseCaseItemOutput { return o.ApplyT(func(v *ControlSearchSolutionUseCaseItem) ControlSearchSolutionUseCaseItem { if v != nil { @@ -178,6 +191,12 @@ func (in *controlSearchSolutionUseCaseItemPtr) ToControlSearchSolutionUseCaseIte return pulumi.ToOutputWithContext(ctx, in).(ControlSearchSolutionUseCaseItemPtrOutput) } +func (in *controlSearchSolutionUseCaseItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ControlSearchSolutionUseCaseItem] { + return pulumix.Output[*ControlSearchSolutionUseCaseItem]{ + OutputState: in.ToControlSearchSolutionUseCaseItemPtrOutputWithContext(ctx).OutputState, + } +} + // ControlSearchSolutionUseCaseItemArrayInput is an input type that accepts ControlSearchSolutionUseCaseItemArray and ControlSearchSolutionUseCaseItemArrayOutput values. // You can construct a concrete instance of `ControlSearchSolutionUseCaseItemArrayInput` via: // @@ -203,6 +222,12 @@ func (i ControlSearchSolutionUseCaseItemArray) ToControlSearchSolutionUseCaseIte return pulumi.ToOutputWithContext(ctx, i).(ControlSearchSolutionUseCaseItemArrayOutput) } +func (i ControlSearchSolutionUseCaseItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ControlSearchSolutionUseCaseItem] { + return pulumix.Output[[]ControlSearchSolutionUseCaseItem]{ + OutputState: i.ToControlSearchSolutionUseCaseItemArrayOutputWithContext(ctx).OutputState, + } +} + type ControlSearchSolutionUseCaseItemArrayOutput struct{ *pulumi.OutputState } func (ControlSearchSolutionUseCaseItemArrayOutput) ElementType() reflect.Type { @@ -217,6 +242,12 @@ func (o ControlSearchSolutionUseCaseItemArrayOutput) ToControlSearchSolutionUseC return o } +func (o ControlSearchSolutionUseCaseItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ControlSearchSolutionUseCaseItem] { + return pulumix.Output[[]ControlSearchSolutionUseCaseItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSearchSolutionUseCaseItemArrayOutput) Index(i pulumi.IntInput) ControlSearchSolutionUseCaseItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ControlSearchSolutionUseCaseItem { return vs[0].([]ControlSearchSolutionUseCaseItem)[vs[1].(int)] @@ -294,6 +325,12 @@ func (o ControlSolutionTypesItemOutput) ToControlSolutionTypesItemPtrOutputWithC }).(ControlSolutionTypesItemPtrOutput) } +func (o ControlSolutionTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[ControlSolutionTypesItem] { + return pulumix.Output[ControlSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSolutionTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -329,6 +366,12 @@ func (o ControlSolutionTypesItemPtrOutput) ToControlSolutionTypesItemPtrOutputWi return o } +func (o ControlSolutionTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ControlSolutionTypesItem] { + return pulumix.Output[*ControlSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSolutionTypesItemPtrOutput) Elem() ControlSolutionTypesItemOutput { return o.ApplyT(func(v *ControlSolutionTypesItem) ControlSolutionTypesItem { if v != nil { @@ -391,6 +434,12 @@ func (in *controlSolutionTypesItemPtr) ToControlSolutionTypesItemPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ControlSolutionTypesItemPtrOutput) } +func (in *controlSolutionTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ControlSolutionTypesItem] { + return pulumix.Output[*ControlSolutionTypesItem]{ + OutputState: in.ToControlSolutionTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // ControlSolutionTypesItemArrayInput is an input type that accepts ControlSolutionTypesItemArray and ControlSolutionTypesItemArrayOutput values. // You can construct a concrete instance of `ControlSolutionTypesItemArrayInput` via: // @@ -416,6 +465,12 @@ func (i ControlSolutionTypesItemArray) ToControlSolutionTypesItemArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(ControlSolutionTypesItemArrayOutput) } +func (i ControlSolutionTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ControlSolutionTypesItem] { + return pulumix.Output[[]ControlSolutionTypesItem]{ + OutputState: i.ToControlSolutionTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type ControlSolutionTypesItemArrayOutput struct{ *pulumi.OutputState } func (ControlSolutionTypesItemArrayOutput) ElementType() reflect.Type { @@ -430,6 +485,12 @@ func (o ControlSolutionTypesItemArrayOutput) ToControlSolutionTypesItemArrayOutp return o } +func (o ControlSolutionTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ControlSolutionTypesItem] { + return pulumix.Output[[]ControlSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ControlSolutionTypesItemArrayOutput) Index(i pulumi.IntInput) ControlSolutionTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ControlSolutionTypesItem { return vs[0].([]ControlSolutionTypesItem)[vs[1].(int)] @@ -508,6 +569,12 @@ func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContex }).(GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) } +func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType] { + return pulumix.Output[GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -543,6 +610,12 @@ func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContex return o } +func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType] { + return pulumix.Output[*GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) Elem() GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType { if v != nil { @@ -605,6 +678,12 @@ func (in *googleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigCont return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) } +func (in *googleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType] { + return pulumix.Output[*GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType]{ + OutputState: in.ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext(ctx).OutputState, + } +} + // Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode string @@ -677,6 +756,12 @@ func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToGoogle }).(GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) } +func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -712,6 +797,12 @@ func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) ToGoo return o } +func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) Elem() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode { if v != nil { @@ -774,6 +865,12 @@ func (in *googleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtr) ToGoogleC return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) } +func (in *googleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode]{ + OutputState: in.ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx).OutputState, + } +} + // Defaults to Mode.AUTO. type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode string @@ -846,6 +943,12 @@ func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToGoo }).(GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) } +func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -881,6 +984,12 @@ func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) To return o } +func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) Elem() GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode { if v != nil { @@ -943,6 +1052,12 @@ func (in *googleCloudRetailV2betaSearchRequestPersonalizationSpecModePtr) ToGoog return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) } +func (in *googleCloudRetailV2betaSearchRequestPersonalizationSpecModePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode]{ + OutputState: in.ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model. type ModelFilteringOption string @@ -1015,6 +1130,12 @@ func (o ModelFilteringOptionOutput) ToModelFilteringOptionPtrOutputWithContext(c }).(ModelFilteringOptionPtrOutput) } +func (o ModelFilteringOptionOutput) ToOutput(ctx context.Context) pulumix.Output[ModelFilteringOption] { + return pulumix.Output[ModelFilteringOption]{ + OutputState: o.OutputState, + } +} + func (o ModelFilteringOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1050,6 +1171,12 @@ func (o ModelFilteringOptionPtrOutput) ToModelFilteringOptionPtrOutputWithContex return o } +func (o ModelFilteringOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelFilteringOption] { + return pulumix.Output[*ModelFilteringOption]{ + OutputState: o.OutputState, + } +} + func (o ModelFilteringOptionPtrOutput) Elem() ModelFilteringOptionOutput { return o.ApplyT(func(v *ModelFilteringOption) ModelFilteringOption { if v != nil { @@ -1112,6 +1239,12 @@ func (in *modelFilteringOptionPtr) ToModelFilteringOptionPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(ModelFilteringOptionPtrOutput) } +func (in *modelFilteringOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*ModelFilteringOption] { + return pulumix.Output[*ModelFilteringOption]{ + OutputState: in.ToModelFilteringOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`. type ModelPeriodicTuningState string @@ -1186,6 +1319,12 @@ func (o ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStatePtrOutputWithC }).(ModelPeriodicTuningStatePtrOutput) } +func (o ModelPeriodicTuningStateOutput) ToOutput(ctx context.Context) pulumix.Output[ModelPeriodicTuningState] { + return pulumix.Output[ModelPeriodicTuningState]{ + OutputState: o.OutputState, + } +} + func (o ModelPeriodicTuningStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1221,6 +1360,12 @@ func (o ModelPeriodicTuningStatePtrOutput) ToModelPeriodicTuningStatePtrOutputWi return o } +func (o ModelPeriodicTuningStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelPeriodicTuningState] { + return pulumix.Output[*ModelPeriodicTuningState]{ + OutputState: o.OutputState, + } +} + func (o ModelPeriodicTuningStatePtrOutput) Elem() ModelPeriodicTuningStateOutput { return o.ApplyT(func(v *ModelPeriodicTuningState) ModelPeriodicTuningState { if v != nil { @@ -1283,6 +1428,12 @@ func (in *modelPeriodicTuningStatePtr) ToModelPeriodicTuningStatePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(ModelPeriodicTuningStatePtrOutput) } +func (in *modelPeriodicTuningStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ModelPeriodicTuningState] { + return pulumix.Output[*ModelPeriodicTuningState]{ + OutputState: in.ToModelPeriodicTuningStatePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before. type ModelTrainingState string @@ -1355,6 +1506,12 @@ func (o ModelTrainingStateOutput) ToModelTrainingStatePtrOutputWithContext(ctx c }).(ModelTrainingStatePtrOutput) } +func (o ModelTrainingStateOutput) ToOutput(ctx context.Context) pulumix.Output[ModelTrainingState] { + return pulumix.Output[ModelTrainingState]{ + OutputState: o.OutputState, + } +} + func (o ModelTrainingStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1390,6 +1547,12 @@ func (o ModelTrainingStatePtrOutput) ToModelTrainingStatePtrOutputWithContext(ct return o } +func (o ModelTrainingStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ModelTrainingState] { + return pulumix.Output[*ModelTrainingState]{ + OutputState: o.OutputState, + } +} + func (o ModelTrainingStatePtrOutput) Elem() ModelTrainingStateOutput { return o.ApplyT(func(v *ModelTrainingState) ModelTrainingState { if v != nil { @@ -1452,6 +1615,12 @@ func (in *modelTrainingStatePtr) ToModelTrainingStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ModelTrainingStatePtrOutput) } +func (in *modelTrainingStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ModelTrainingState] { + return pulumix.Output[*ModelTrainingState]{ + OutputState: in.ToModelTrainingStatePtrOutputWithContext(ctx).OutputState, + } +} + // The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability). type ProductAvailability string @@ -1528,6 +1697,12 @@ func (o ProductAvailabilityOutput) ToProductAvailabilityPtrOutputWithContext(ctx }).(ProductAvailabilityPtrOutput) } +func (o ProductAvailabilityOutput) ToOutput(ctx context.Context) pulumix.Output[ProductAvailability] { + return pulumix.Output[ProductAvailability]{ + OutputState: o.OutputState, + } +} + func (o ProductAvailabilityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1563,6 +1738,12 @@ func (o ProductAvailabilityPtrOutput) ToProductAvailabilityPtrOutputWithContext( return o } +func (o ProductAvailabilityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProductAvailability] { + return pulumix.Output[*ProductAvailability]{ + OutputState: o.OutputState, + } +} + func (o ProductAvailabilityPtrOutput) Elem() ProductAvailabilityOutput { return o.ApplyT(func(v *ProductAvailability) ProductAvailability { if v != nil { @@ -1625,6 +1806,12 @@ func (in *productAvailabilityPtr) ToProductAvailabilityPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ProductAvailabilityPtrOutput) } +func (in *productAvailabilityPtr) ToOutput(ctx context.Context) pulumix.Output[*ProductAvailability] { + return pulumix.Output[*ProductAvailability]{ + OutputState: in.ToProductAvailabilityPtrOutputWithContext(ctx).OutputState, + } +} + // Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset. type ProductType string @@ -1699,6 +1886,12 @@ func (o ProductTypeOutput) ToProductTypePtrOutputWithContext(ctx context.Context }).(ProductTypePtrOutput) } +func (o ProductTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ProductType] { + return pulumix.Output[ProductType]{ + OutputState: o.OutputState, + } +} + func (o ProductTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1734,6 +1927,12 @@ func (o ProductTypePtrOutput) ToProductTypePtrOutputWithContext(ctx context.Cont return o } +func (o ProductTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProductType] { + return pulumix.Output[*ProductType]{ + OutputState: o.OutputState, + } +} + func (o ProductTypePtrOutput) Elem() ProductTypeOutput { return o.ApplyT(func(v *ProductType) ProductType { if v != nil { @@ -1796,6 +1995,12 @@ func (in *productTypePtr) ToProductTypePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, in).(ProductTypePtrOutput) } +func (in *productTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ProductType] { + return pulumix.Output[*ProductType]{ + OutputState: in.ToProductTypePtrOutputWithContext(ctx).OutputState, + } +} + // What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY. type ServingConfigDiversityType string @@ -1868,6 +2073,12 @@ func (o ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypePtrOutputW }).(ServingConfigDiversityTypePtrOutput) } +func (o ServingConfigDiversityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ServingConfigDiversityType] { + return pulumix.Output[ServingConfigDiversityType]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigDiversityTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1903,6 +2114,12 @@ func (o ServingConfigDiversityTypePtrOutput) ToServingConfigDiversityTypePtrOutp return o } +func (o ServingConfigDiversityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigDiversityType] { + return pulumix.Output[*ServingConfigDiversityType]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigDiversityTypePtrOutput) Elem() ServingConfigDiversityTypeOutput { return o.ApplyT(func(v *ServingConfigDiversityType) ServingConfigDiversityType { if v != nil { @@ -1965,6 +2182,12 @@ func (in *servingConfigDiversityTypePtr) ToServingConfigDiversityTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(ServingConfigDiversityTypePtrOutput) } +func (in *servingConfigDiversityTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigDiversityType] { + return pulumix.Output[*ServingConfigDiversityType]{ + OutputState: in.ToServingConfigDiversityTypePtrOutputWithContext(ctx).OutputState, + } +} + type ServingConfigSolutionTypesItem string const ( @@ -2036,6 +2259,12 @@ func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPt }).(ServingConfigSolutionTypesItemPtrOutput) } +func (o ServingConfigSolutionTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[ServingConfigSolutionTypesItem] { + return pulumix.Output[ServingConfigSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigSolutionTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2071,6 +2300,12 @@ func (o ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesIte return o } +func (o ServingConfigSolutionTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigSolutionTypesItem] { + return pulumix.Output[*ServingConfigSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigSolutionTypesItemPtrOutput) Elem() ServingConfigSolutionTypesItemOutput { return o.ApplyT(func(v *ServingConfigSolutionTypesItem) ServingConfigSolutionTypesItem { if v != nil { @@ -2133,6 +2368,12 @@ func (in *servingConfigSolutionTypesItemPtr) ToServingConfigSolutionTypesItemPtr return pulumi.ToOutputWithContext(ctx, in).(ServingConfigSolutionTypesItemPtrOutput) } +func (in *servingConfigSolutionTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ServingConfigSolutionTypesItem] { + return pulumix.Output[*ServingConfigSolutionTypesItem]{ + OutputState: in.ToServingConfigSolutionTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // ServingConfigSolutionTypesItemArrayInput is an input type that accepts ServingConfigSolutionTypesItemArray and ServingConfigSolutionTypesItemArrayOutput values. // You can construct a concrete instance of `ServingConfigSolutionTypesItemArrayInput` via: // @@ -2158,6 +2399,12 @@ func (i ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArr return pulumi.ToOutputWithContext(ctx, i).(ServingConfigSolutionTypesItemArrayOutput) } +func (i ServingConfigSolutionTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ServingConfigSolutionTypesItem] { + return pulumix.Output[[]ServingConfigSolutionTypesItem]{ + OutputState: i.ToServingConfigSolutionTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type ServingConfigSolutionTypesItemArrayOutput struct{ *pulumi.OutputState } func (ServingConfigSolutionTypesItemArrayOutput) ElementType() reflect.Type { @@ -2172,6 +2419,12 @@ func (o ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesI return o } +func (o ServingConfigSolutionTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ServingConfigSolutionTypesItem] { + return pulumix.Output[[]ServingConfigSolutionTypesItem]{ + OutputState: o.OutputState, + } +} + func (o ServingConfigSolutionTypesItemArrayOutput) Index(i pulumi.IntInput) ServingConfigSolutionTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ServingConfigSolutionTypesItem { return vs[0].([]ServingConfigSolutionTypesItem)[vs[1].(int)] diff --git a/sdk/go/google/retail/v2beta/pulumiTypes.go b/sdk/go/google/retail/v2beta/pulumiTypes.go index b804a0e347..9a92685264 100644 --- a/sdk/go/google/retail/v2beta/pulumiTypes.go +++ b/sdk/go/google/retail/v2beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudRetailV2betaAudienceArgs) ToGoogleCloudRetailV2betaAudienceOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaAudienceOutput) } +func (i GoogleCloudRetailV2betaAudienceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaAudience] { + return pulumix.Output[GoogleCloudRetailV2betaAudience]{ + OutputState: i.ToGoogleCloudRetailV2betaAudienceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaAudienceArgs) ToGoogleCloudRetailV2betaAudiencePtrOutput() GoogleCloudRetailV2betaAudiencePtrOutput { return i.ToGoogleCloudRetailV2betaAudiencePtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleCloudRetailV2betaAudiencePtrType) ToGoogleCloudRetailV2betaAudien return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaAudiencePtrOutput) } +func (i *googleCloudRetailV2betaAudiencePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaAudience] { + return pulumix.Output[*GoogleCloudRetailV2betaAudience]{ + OutputState: i.ToGoogleCloudRetailV2betaAudiencePtrOutputWithContext(ctx).OutputState, + } +} + // An intended audience of the Product for whom it's sold. type GoogleCloudRetailV2betaAudienceOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleCloudRetailV2betaAudienceOutput) ToGoogleCloudRetailV2betaAudience }).(GoogleCloudRetailV2betaAudiencePtrOutput) } +func (o GoogleCloudRetailV2betaAudienceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaAudience] { + return pulumix.Output[GoogleCloudRetailV2betaAudience]{ + OutputState: o.OutputState, + } +} + // The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge). func (o GoogleCloudRetailV2betaAudienceOutput) AgeGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaAudience) []string { return v.AgeGroups }).(pulumi.StringArrayOutput) @@ -142,6 +161,12 @@ func (o GoogleCloudRetailV2betaAudiencePtrOutput) ToGoogleCloudRetailV2betaAudie return o } +func (o GoogleCloudRetailV2betaAudiencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaAudience] { + return pulumix.Output[*GoogleCloudRetailV2betaAudience]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaAudiencePtrOutput) Elem() GoogleCloudRetailV2betaAudienceOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaAudience) GoogleCloudRetailV2betaAudience { if v != nil { @@ -195,6 +220,12 @@ func (o GoogleCloudRetailV2betaAudienceResponseOutput) ToGoogleCloudRetailV2beta return o } +func (o GoogleCloudRetailV2betaAudienceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaAudienceResponse] { + return pulumix.Output[GoogleCloudRetailV2betaAudienceResponse]{ + OutputState: o.OutputState, + } +} + // The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge). func (o GoogleCloudRetailV2betaAudienceResponseOutput) AgeGroups() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaAudienceResponse) []string { return v.AgeGroups }).(pulumi.StringArrayOutput) @@ -244,6 +275,12 @@ func (i GoogleCloudRetailV2betaColorInfoArgs) ToGoogleCloudRetailV2betaColorInfo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaColorInfoOutput) } +func (i GoogleCloudRetailV2betaColorInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaColorInfo] { + return pulumix.Output[GoogleCloudRetailV2betaColorInfo]{ + OutputState: i.ToGoogleCloudRetailV2betaColorInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaColorInfoArgs) ToGoogleCloudRetailV2betaColorInfoPtrOutput() GoogleCloudRetailV2betaColorInfoPtrOutput { return i.ToGoogleCloudRetailV2betaColorInfoPtrOutputWithContext(context.Background()) } @@ -285,6 +322,12 @@ func (i *googleCloudRetailV2betaColorInfoPtrType) ToGoogleCloudRetailV2betaColor return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaColorInfoPtrOutput) } +func (i *googleCloudRetailV2betaColorInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaColorInfo] { + return pulumix.Output[*GoogleCloudRetailV2betaColorInfo]{ + OutputState: i.ToGoogleCloudRetailV2betaColorInfoPtrOutputWithContext(ctx).OutputState, + } +} + // The color information of a Product. type GoogleCloudRetailV2betaColorInfoOutput struct{ *pulumi.OutputState } @@ -310,6 +353,12 @@ func (o GoogleCloudRetailV2betaColorInfoOutput) ToGoogleCloudRetailV2betaColorIn }).(GoogleCloudRetailV2betaColorInfoPtrOutput) } +func (o GoogleCloudRetailV2betaColorInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaColorInfo] { + return pulumix.Output[GoogleCloudRetailV2betaColorInfo]{ + OutputState: o.OutputState, + } +} + // The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color). func (o GoogleCloudRetailV2betaColorInfoOutput) ColorFamilies() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaColorInfo) []string { return v.ColorFamilies }).(pulumi.StringArrayOutput) @@ -334,6 +383,12 @@ func (o GoogleCloudRetailV2betaColorInfoPtrOutput) ToGoogleCloudRetailV2betaColo return o } +func (o GoogleCloudRetailV2betaColorInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaColorInfo] { + return pulumix.Output[*GoogleCloudRetailV2betaColorInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaColorInfoPtrOutput) Elem() GoogleCloudRetailV2betaColorInfoOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaColorInfo) GoogleCloudRetailV2betaColorInfo { if v != nil { @@ -387,6 +442,12 @@ func (o GoogleCloudRetailV2betaColorInfoResponseOutput) ToGoogleCloudRetailV2bet return o } +func (o GoogleCloudRetailV2betaColorInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaColorInfoResponse] { + return pulumix.Output[GoogleCloudRetailV2betaColorInfoResponse]{ + OutputState: o.OutputState, + } +} + // The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color). func (o GoogleCloudRetailV2betaColorInfoResponseOutput) ColorFamilies() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaColorInfoResponse) []string { return v.ColorFamilies }).(pulumi.StringArrayOutput) @@ -436,6 +497,12 @@ func (i GoogleCloudRetailV2betaConditionArgs) ToGoogleCloudRetailV2betaCondition return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaConditionOutput) } +func (i GoogleCloudRetailV2betaConditionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaCondition] { + return pulumix.Output[GoogleCloudRetailV2betaCondition]{ + OutputState: i.ToGoogleCloudRetailV2betaConditionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaConditionArgs) ToGoogleCloudRetailV2betaConditionPtrOutput() GoogleCloudRetailV2betaConditionPtrOutput { return i.ToGoogleCloudRetailV2betaConditionPtrOutputWithContext(context.Background()) } @@ -477,6 +544,12 @@ func (i *googleCloudRetailV2betaConditionPtrType) ToGoogleCloudRetailV2betaCondi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaConditionPtrOutput) } +func (i *googleCloudRetailV2betaConditionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaCondition] { + return pulumix.Output[*GoogleCloudRetailV2betaCondition]{ + OutputState: i.ToGoogleCloudRetailV2betaConditionPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted. type GoogleCloudRetailV2betaConditionOutput struct{ *pulumi.OutputState } @@ -502,6 +575,12 @@ func (o GoogleCloudRetailV2betaConditionOutput) ToGoogleCloudRetailV2betaConditi }).(GoogleCloudRetailV2betaConditionPtrOutput) } +func (o GoogleCloudRetailV2betaConditionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaCondition] { + return pulumix.Output[GoogleCloudRetailV2betaCondition]{ + OutputState: o.OutputState, + } +} + // Range of time(s) specifying when Condition is active. Condition true if any time range matches. func (o GoogleCloudRetailV2betaConditionOutput) ActiveTimeRange() GoogleCloudRetailV2betaConditionTimeRangeArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaCondition) []GoogleCloudRetailV2betaConditionTimeRange { @@ -530,6 +609,12 @@ func (o GoogleCloudRetailV2betaConditionPtrOutput) ToGoogleCloudRetailV2betaCond return o } +func (o GoogleCloudRetailV2betaConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaCondition] { + return pulumix.Output[*GoogleCloudRetailV2betaCondition]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaConditionPtrOutput) Elem() GoogleCloudRetailV2betaConditionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaCondition) GoogleCloudRetailV2betaCondition { if v != nil { @@ -599,6 +684,12 @@ func (i GoogleCloudRetailV2betaConditionQueryTermArgs) ToGoogleCloudRetailV2beta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaConditionQueryTermOutput) } +func (i GoogleCloudRetailV2betaConditionQueryTermArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaConditionQueryTerm] { + return pulumix.Output[GoogleCloudRetailV2betaConditionQueryTerm]{ + OutputState: i.ToGoogleCloudRetailV2betaConditionQueryTermOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2betaConditionQueryTermArrayInput is an input type that accepts GoogleCloudRetailV2betaConditionQueryTermArray and GoogleCloudRetailV2betaConditionQueryTermArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2betaConditionQueryTermArrayInput` via: // @@ -624,6 +715,12 @@ func (i GoogleCloudRetailV2betaConditionQueryTermArray) ToGoogleCloudRetailV2bet return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaConditionQueryTermArrayOutput) } +func (i GoogleCloudRetailV2betaConditionQueryTermArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaConditionQueryTerm] { + return pulumix.Output[[]GoogleCloudRetailV2betaConditionQueryTerm]{ + OutputState: i.ToGoogleCloudRetailV2betaConditionQueryTermArrayOutputWithContext(ctx).OutputState, + } +} + // Query terms that we want to match on. type GoogleCloudRetailV2betaConditionQueryTermOutput struct{ *pulumi.OutputState } @@ -639,6 +736,12 @@ func (o GoogleCloudRetailV2betaConditionQueryTermOutput) ToGoogleCloudRetailV2be return o } +func (o GoogleCloudRetailV2betaConditionQueryTermOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaConditionQueryTerm] { + return pulumix.Output[GoogleCloudRetailV2betaConditionQueryTerm]{ + OutputState: o.OutputState, + } +} + // Whether this is supposed to be a full or partial match. func (o GoogleCloudRetailV2betaConditionQueryTermOutput) FullMatch() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaConditionQueryTerm) *bool { return v.FullMatch }).(pulumi.BoolPtrOutput) @@ -663,6 +766,12 @@ func (o GoogleCloudRetailV2betaConditionQueryTermArrayOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2betaConditionQueryTermArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaConditionQueryTerm] { + return pulumix.Output[[]GoogleCloudRetailV2betaConditionQueryTerm]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaConditionQueryTermArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaConditionQueryTermOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaConditionQueryTerm { return vs[0].([]GoogleCloudRetailV2betaConditionQueryTerm)[vs[1].(int)] @@ -692,6 +801,12 @@ func (o GoogleCloudRetailV2betaConditionQueryTermResponseOutput) ToGoogleCloudRe return o } +func (o GoogleCloudRetailV2betaConditionQueryTermResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaConditionQueryTermResponse] { + return pulumix.Output[GoogleCloudRetailV2betaConditionQueryTermResponse]{ + OutputState: o.OutputState, + } +} + // Whether this is supposed to be a full or partial match. func (o GoogleCloudRetailV2betaConditionQueryTermResponseOutput) FullMatch() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaConditionQueryTermResponse) bool { return v.FullMatch }).(pulumi.BoolOutput) @@ -716,6 +831,12 @@ func (o GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaConditionQueryTermResponse] { + return pulumix.Output[[]GoogleCloudRetailV2betaConditionQueryTermResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaConditionQueryTermResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaConditionQueryTermResponse { return vs[0].([]GoogleCloudRetailV2betaConditionQueryTermResponse)[vs[1].(int)] @@ -745,6 +866,12 @@ func (o GoogleCloudRetailV2betaConditionResponseOutput) ToGoogleCloudRetailV2bet return o } +func (o GoogleCloudRetailV2betaConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaConditionResponse] { + return pulumix.Output[GoogleCloudRetailV2betaConditionResponse]{ + OutputState: o.OutputState, + } +} + // Range of time(s) specifying when Condition is active. Condition true if any time range matches. func (o GoogleCloudRetailV2betaConditionResponseOutput) ActiveTimeRange() GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaConditionResponse) []GoogleCloudRetailV2betaConditionTimeRangeResponse { @@ -798,6 +925,12 @@ func (i GoogleCloudRetailV2betaConditionTimeRangeArgs) ToGoogleCloudRetailV2beta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaConditionTimeRangeOutput) } +func (i GoogleCloudRetailV2betaConditionTimeRangeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaConditionTimeRange] { + return pulumix.Output[GoogleCloudRetailV2betaConditionTimeRange]{ + OutputState: i.ToGoogleCloudRetailV2betaConditionTimeRangeOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2betaConditionTimeRangeArrayInput is an input type that accepts GoogleCloudRetailV2betaConditionTimeRangeArray and GoogleCloudRetailV2betaConditionTimeRangeArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2betaConditionTimeRangeArrayInput` via: // @@ -823,6 +956,12 @@ func (i GoogleCloudRetailV2betaConditionTimeRangeArray) ToGoogleCloudRetailV2bet return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaConditionTimeRangeArrayOutput) } +func (i GoogleCloudRetailV2betaConditionTimeRangeArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaConditionTimeRange] { + return pulumix.Output[[]GoogleCloudRetailV2betaConditionTimeRange]{ + OutputState: i.ToGoogleCloudRetailV2betaConditionTimeRangeArrayOutputWithContext(ctx).OutputState, + } +} + // Used for time-dependent conditions. Example: Want to have rule applied for week long sale. type GoogleCloudRetailV2betaConditionTimeRangeOutput struct{ *pulumi.OutputState } @@ -838,6 +977,12 @@ func (o GoogleCloudRetailV2betaConditionTimeRangeOutput) ToGoogleCloudRetailV2be return o } +func (o GoogleCloudRetailV2betaConditionTimeRangeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaConditionTimeRange] { + return pulumix.Output[GoogleCloudRetailV2betaConditionTimeRange]{ + OutputState: o.OutputState, + } +} + // End of time range. Range is inclusive. func (o GoogleCloudRetailV2betaConditionTimeRangeOutput) EndTime() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaConditionTimeRange) *string { return v.EndTime }).(pulumi.StringPtrOutput) @@ -862,6 +1007,12 @@ func (o GoogleCloudRetailV2betaConditionTimeRangeArrayOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2betaConditionTimeRangeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaConditionTimeRange] { + return pulumix.Output[[]GoogleCloudRetailV2betaConditionTimeRange]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaConditionTimeRangeArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaConditionTimeRangeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaConditionTimeRange { return vs[0].([]GoogleCloudRetailV2betaConditionTimeRange)[vs[1].(int)] @@ -891,6 +1042,12 @@ func (o GoogleCloudRetailV2betaConditionTimeRangeResponseOutput) ToGoogleCloudRe return o } +func (o GoogleCloudRetailV2betaConditionTimeRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaConditionTimeRangeResponse] { + return pulumix.Output[GoogleCloudRetailV2betaConditionTimeRangeResponse]{ + OutputState: o.OutputState, + } +} + // End of time range. Range is inclusive. func (o GoogleCloudRetailV2betaConditionTimeRangeResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaConditionTimeRangeResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -915,6 +1072,12 @@ func (o GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput) ToGoogleCl return o } +func (o GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaConditionTimeRangeResponse] { + return pulumix.Output[[]GoogleCloudRetailV2betaConditionTimeRangeResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaConditionTimeRangeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaConditionTimeRangeResponse { return vs[0].([]GoogleCloudRetailV2betaConditionTimeRangeResponse)[vs[1].(int)] @@ -960,6 +1123,12 @@ func (i GoogleCloudRetailV2betaFulfillmentInfoArgs) ToGoogleCloudRetailV2betaFul return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaFulfillmentInfoOutput) } +func (i GoogleCloudRetailV2betaFulfillmentInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaFulfillmentInfo] { + return pulumix.Output[GoogleCloudRetailV2betaFulfillmentInfo]{ + OutputState: i.ToGoogleCloudRetailV2betaFulfillmentInfoOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2betaFulfillmentInfoArrayInput is an input type that accepts GoogleCloudRetailV2betaFulfillmentInfoArray and GoogleCloudRetailV2betaFulfillmentInfoArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2betaFulfillmentInfoArrayInput` via: // @@ -985,6 +1154,12 @@ func (i GoogleCloudRetailV2betaFulfillmentInfoArray) ToGoogleCloudRetailV2betaFu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaFulfillmentInfoArrayOutput) } +func (i GoogleCloudRetailV2betaFulfillmentInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaFulfillmentInfo] { + return pulumix.Output[[]GoogleCloudRetailV2betaFulfillmentInfo]{ + OutputState: i.ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutputWithContext(ctx).OutputState, + } +} + // Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. type GoogleCloudRetailV2betaFulfillmentInfoOutput struct{ *pulumi.OutputState } @@ -1000,6 +1175,12 @@ func (o GoogleCloudRetailV2betaFulfillmentInfoOutput) ToGoogleCloudRetailV2betaF return o } +func (o GoogleCloudRetailV2betaFulfillmentInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaFulfillmentInfo] { + return pulumix.Output[GoogleCloudRetailV2betaFulfillmentInfo]{ + OutputState: o.OutputState, + } +} + // The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2betaFulfillmentInfoOutput) PlaceIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaFulfillmentInfo) []string { return v.PlaceIds }).(pulumi.StringArrayOutput) @@ -1024,6 +1205,12 @@ func (o GoogleCloudRetailV2betaFulfillmentInfoArrayOutput) ToGoogleCloudRetailV2 return o } +func (o GoogleCloudRetailV2betaFulfillmentInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaFulfillmentInfo] { + return pulumix.Output[[]GoogleCloudRetailV2betaFulfillmentInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaFulfillmentInfoArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaFulfillmentInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaFulfillmentInfo { return vs[0].([]GoogleCloudRetailV2betaFulfillmentInfo)[vs[1].(int)] @@ -1053,6 +1240,12 @@ func (o GoogleCloudRetailV2betaFulfillmentInfoResponseOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2betaFulfillmentInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaFulfillmentInfoResponse] { + return pulumix.Output[GoogleCloudRetailV2betaFulfillmentInfoResponse]{ + OutputState: o.OutputState, + } +} + // The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2betaFulfillmentInfoResponseOutput) PlaceIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaFulfillmentInfoResponse) []string { return v.PlaceIds }).(pulumi.StringArrayOutput) @@ -1077,6 +1270,12 @@ func (o GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput) ToGoogleCloud return o } +func (o GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaFulfillmentInfoResponse] { + return pulumix.Output[[]GoogleCloudRetailV2betaFulfillmentInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaFulfillmentInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaFulfillmentInfoResponse { return vs[0].([]GoogleCloudRetailV2betaFulfillmentInfoResponse)[vs[1].(int)] @@ -1126,6 +1325,12 @@ func (i GoogleCloudRetailV2betaImageArgs) ToGoogleCloudRetailV2betaImageOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaImageOutput) } +func (i GoogleCloudRetailV2betaImageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaImage] { + return pulumix.Output[GoogleCloudRetailV2betaImage]{ + OutputState: i.ToGoogleCloudRetailV2betaImageOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2betaImageArrayInput is an input type that accepts GoogleCloudRetailV2betaImageArray and GoogleCloudRetailV2betaImageArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2betaImageArrayInput` via: // @@ -1151,6 +1356,12 @@ func (i GoogleCloudRetailV2betaImageArray) ToGoogleCloudRetailV2betaImageArrayOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaImageArrayOutput) } +func (i GoogleCloudRetailV2betaImageArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaImage] { + return pulumix.Output[[]GoogleCloudRetailV2betaImage]{ + OutputState: i.ToGoogleCloudRetailV2betaImageArrayOutputWithContext(ctx).OutputState, + } +} + // Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console. type GoogleCloudRetailV2betaImageOutput struct{ *pulumi.OutputState } @@ -1166,6 +1377,12 @@ func (o GoogleCloudRetailV2betaImageOutput) ToGoogleCloudRetailV2betaImageOutput return o } +func (o GoogleCloudRetailV2betaImageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaImage] { + return pulumix.Output[GoogleCloudRetailV2betaImage]{ + OutputState: o.OutputState, + } +} + // Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2betaImageOutput) Height() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaImage) *int { return v.Height }).(pulumi.IntPtrOutput) @@ -1195,6 +1412,12 @@ func (o GoogleCloudRetailV2betaImageArrayOutput) ToGoogleCloudRetailV2betaImageA return o } +func (o GoogleCloudRetailV2betaImageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaImage] { + return pulumix.Output[[]GoogleCloudRetailV2betaImage]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaImageArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaImageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaImage { return vs[0].([]GoogleCloudRetailV2betaImage)[vs[1].(int)] @@ -1226,6 +1449,12 @@ func (o GoogleCloudRetailV2betaImageResponseOutput) ToGoogleCloudRetailV2betaIma return o } +func (o GoogleCloudRetailV2betaImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaImageResponse] { + return pulumix.Output[GoogleCloudRetailV2betaImageResponse]{ + OutputState: o.OutputState, + } +} + // Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2betaImageResponseOutput) Height() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaImageResponse) int { return v.Height }).(pulumi.IntOutput) @@ -1255,6 +1484,12 @@ func (o GoogleCloudRetailV2betaImageResponseArrayOutput) ToGoogleCloudRetailV2be return o } +func (o GoogleCloudRetailV2betaImageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaImageResponse] { + return pulumix.Output[[]GoogleCloudRetailV2betaImageResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaImageResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaImageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaImageResponse { return vs[0].([]GoogleCloudRetailV2betaImageResponse)[vs[1].(int)] @@ -1308,6 +1543,12 @@ func (i GoogleCloudRetailV2betaIntervalArgs) ToGoogleCloudRetailV2betaIntervalOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaIntervalOutput) } +func (i GoogleCloudRetailV2betaIntervalArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaInterval] { + return pulumix.Output[GoogleCloudRetailV2betaInterval]{ + OutputState: i.ToGoogleCloudRetailV2betaIntervalOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2betaIntervalArrayInput is an input type that accepts GoogleCloudRetailV2betaIntervalArray and GoogleCloudRetailV2betaIntervalArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2betaIntervalArrayInput` via: // @@ -1333,6 +1574,12 @@ func (i GoogleCloudRetailV2betaIntervalArray) ToGoogleCloudRetailV2betaIntervalA return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaIntervalArrayOutput) } +func (i GoogleCloudRetailV2betaIntervalArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaInterval] { + return pulumix.Output[[]GoogleCloudRetailV2betaInterval]{ + OutputState: i.ToGoogleCloudRetailV2betaIntervalArrayOutputWithContext(ctx).OutputState, + } +} + // A floating point interval. type GoogleCloudRetailV2betaIntervalOutput struct{ *pulumi.OutputState } @@ -1348,6 +1595,12 @@ func (o GoogleCloudRetailV2betaIntervalOutput) ToGoogleCloudRetailV2betaInterval return o } +func (o GoogleCloudRetailV2betaIntervalOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaInterval] { + return pulumix.Output[GoogleCloudRetailV2betaInterval]{ + OutputState: o.OutputState, + } +} + // Exclusive upper bound. func (o GoogleCloudRetailV2betaIntervalOutput) ExclusiveMaximum() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaInterval) *float64 { return v.ExclusiveMaximum }).(pulumi.Float64PtrOutput) @@ -1382,6 +1635,12 @@ func (o GoogleCloudRetailV2betaIntervalArrayOutput) ToGoogleCloudRetailV2betaInt return o } +func (o GoogleCloudRetailV2betaIntervalArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaInterval] { + return pulumix.Output[[]GoogleCloudRetailV2betaInterval]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaIntervalArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaIntervalOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaInterval { return vs[0].([]GoogleCloudRetailV2betaInterval)[vs[1].(int)] @@ -1415,6 +1674,12 @@ func (o GoogleCloudRetailV2betaIntervalResponseOutput) ToGoogleCloudRetailV2beta return o } +func (o GoogleCloudRetailV2betaIntervalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaIntervalResponse] { + return pulumix.Output[GoogleCloudRetailV2betaIntervalResponse]{ + OutputState: o.OutputState, + } +} + // Exclusive upper bound. func (o GoogleCloudRetailV2betaIntervalResponseOutput) ExclusiveMaximum() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2betaIntervalResponse) float64 { return v.ExclusiveMaximum }).(pulumi.Float64Output) @@ -1449,6 +1714,12 @@ func (o GoogleCloudRetailV2betaIntervalResponseArrayOutput) ToGoogleCloudRetailV return o } +func (o GoogleCloudRetailV2betaIntervalResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaIntervalResponse] { + return pulumix.Output[[]GoogleCloudRetailV2betaIntervalResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaIntervalResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaIntervalResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaIntervalResponse { return vs[0].([]GoogleCloudRetailV2betaIntervalResponse)[vs[1].(int)] @@ -1482,6 +1753,12 @@ func (o GoogleCloudRetailV2betaLocalInventoryResponseOutput) ToGoogleCloudRetail return o } +func (o GoogleCloudRetailV2betaLocalInventoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaLocalInventoryResponse] { + return pulumix.Output[GoogleCloudRetailV2betaLocalInventoryResponse]{ + OutputState: o.OutputState, + } +} + // Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The `searchable` field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB. func (o GoogleCloudRetailV2betaLocalInventoryResponseOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaLocalInventoryResponse) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -1518,6 +1795,12 @@ func (o GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaLocalInventoryResponse] { + return pulumix.Output[[]GoogleCloudRetailV2betaLocalInventoryResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaLocalInventoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaLocalInventoryResponse { return vs[0].([]GoogleCloudRetailV2betaLocalInventoryResponse)[vs[1].(int)] @@ -1559,6 +1842,12 @@ func (i GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs) return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput) } +func (i GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput() GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput { return i.ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(context.Background()) } @@ -1600,6 +1889,12 @@ func (i *googleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrTy return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) } +func (i *googleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Additional configs for the frequently-bought-together model type. type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput struct{ *pulumi.OutputState } @@ -1625,6 +1920,12 @@ func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput }).(GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) } +func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS. func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ContextProductsType() GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig) *GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType { @@ -1646,6 +1947,12 @@ func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOut return o } +func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) Elem() GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig) GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig { if v != nil { @@ -1687,6 +1994,12 @@ func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigRespon return o } +func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponse] { + return pulumix.Output[GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS. func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ContextProductsType() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponse) string { @@ -1729,6 +2042,12 @@ func (i GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToGoogleCloudRetail return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) } +func (i GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaModelModelFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2betaModelModelFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2betaModelModelFeaturesConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput { return i.ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutputWithContext(context.Background()) } @@ -1770,6 +2089,12 @@ func (i *googleCloudRetailV2betaModelModelFeaturesConfigPtrType) ToGoogleCloudRe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) } +func (i *googleCloudRetailV2betaModelModelFeaturesConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaModelModelFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2betaModelModelFeaturesConfig]{ + OutputState: i.ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Additional model features config. type GoogleCloudRetailV2betaModelModelFeaturesConfigOutput struct{ *pulumi.OutputState } @@ -1795,6 +2120,12 @@ func (o GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) ToGoogleCloudReta }).(GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) } +func (o GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaModelModelFeaturesConfig] { + return pulumix.Output[GoogleCloudRetailV2betaModelModelFeaturesConfig]{ + OutputState: o.OutputState, + } +} + // Additional configs for frequently-bought-together models. func (o GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) FrequentlyBoughtTogetherConfig() GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaModelModelFeaturesConfig) *GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig { @@ -1816,6 +2147,12 @@ func (o GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaModelModelFeaturesConfig] { + return pulumix.Output[*GoogleCloudRetailV2betaModelModelFeaturesConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) Elem() GoogleCloudRetailV2betaModelModelFeaturesConfigOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaModelModelFeaturesConfig) GoogleCloudRetailV2betaModelModelFeaturesConfig { if v != nil { @@ -1857,6 +2194,12 @@ func (o GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput) ToGoogleC return o } +func (o GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaModelModelFeaturesConfigResponse] { + return pulumix.Output[GoogleCloudRetailV2betaModelModelFeaturesConfigResponse]{ + OutputState: o.OutputState, + } +} + // Additional configs for frequently-bought-together models. func (o GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput) FrequentlyBoughtTogetherConfig() GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaModelModelFeaturesConfigResponse) GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponse { @@ -1885,6 +2228,12 @@ func (o GoogleCloudRetailV2betaModelServingConfigListResponseOutput) ToGoogleClo return o } +func (o GoogleCloudRetailV2betaModelServingConfigListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaModelServingConfigListResponse] { + return pulumix.Output[GoogleCloudRetailV2betaModelServingConfigListResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`. func (o GoogleCloudRetailV2betaModelServingConfigListResponseOutput) ServingConfigIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaModelServingConfigListResponse) []string { return v.ServingConfigIds }).(pulumi.StringArrayOutput) @@ -1904,6 +2253,12 @@ func (o GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput) ToGoog return o } +func (o GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaModelServingConfigListResponse] { + return pulumix.Output[[]GoogleCloudRetailV2betaModelServingConfigListResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaModelServingConfigListResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaModelServingConfigListResponse { return vs[0].([]GoogleCloudRetailV2betaModelServingConfigListResponse)[vs[1].(int)] @@ -1965,6 +2320,12 @@ func (i GoogleCloudRetailV2betaPriceInfoArgs) ToGoogleCloudRetailV2betaPriceInfo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaPriceInfoOutput) } +func (i GoogleCloudRetailV2betaPriceInfoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaPriceInfo] { + return pulumix.Output[GoogleCloudRetailV2betaPriceInfo]{ + OutputState: i.ToGoogleCloudRetailV2betaPriceInfoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaPriceInfoArgs) ToGoogleCloudRetailV2betaPriceInfoPtrOutput() GoogleCloudRetailV2betaPriceInfoPtrOutput { return i.ToGoogleCloudRetailV2betaPriceInfoPtrOutputWithContext(context.Background()) } @@ -2006,6 +2367,12 @@ func (i *googleCloudRetailV2betaPriceInfoPtrType) ToGoogleCloudRetailV2betaPrice return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaPriceInfoPtrOutput) } +func (i *googleCloudRetailV2betaPriceInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaPriceInfo] { + return pulumix.Output[*GoogleCloudRetailV2betaPriceInfo]{ + OutputState: i.ToGoogleCloudRetailV2betaPriceInfoPtrOutputWithContext(ctx).OutputState, + } +} + // The price information of a Product. type GoogleCloudRetailV2betaPriceInfoOutput struct{ *pulumi.OutputState } @@ -2031,6 +2398,12 @@ func (o GoogleCloudRetailV2betaPriceInfoOutput) ToGoogleCloudRetailV2betaPriceIn }).(GoogleCloudRetailV2betaPriceInfoPtrOutput) } +func (o GoogleCloudRetailV2betaPriceInfoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaPriceInfo] { + return pulumix.Output[GoogleCloudRetailV2betaPriceInfo]{ + OutputState: o.OutputState, + } +} + // The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895). func (o GoogleCloudRetailV2betaPriceInfoOutput) Cost() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaPriceInfo) *float64 { return v.Cost }).(pulumi.Float64PtrOutput) @@ -2075,6 +2448,12 @@ func (o GoogleCloudRetailV2betaPriceInfoPtrOutput) ToGoogleCloudRetailV2betaPric return o } +func (o GoogleCloudRetailV2betaPriceInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaPriceInfo] { + return pulumix.Output[*GoogleCloudRetailV2betaPriceInfo]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaPriceInfoPtrOutput) Elem() GoogleCloudRetailV2betaPriceInfoOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaPriceInfo) GoogleCloudRetailV2betaPriceInfo { if v != nil { @@ -2168,6 +2547,12 @@ func (o GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaPriceInfoPriceRangeResponse] { + return pulumix.Output[GoogleCloudRetailV2betaPriceInfoPriceRangeResponse]{ + OutputState: o.OutputState, + } +} + // The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id. func (o GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput) OriginalPrice() GoogleCloudRetailV2betaIntervalResponseOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaPriceInfoPriceRangeResponse) GoogleCloudRetailV2betaIntervalResponse { @@ -2215,6 +2600,12 @@ func (o GoogleCloudRetailV2betaPriceInfoResponseOutput) ToGoogleCloudRetailV2bet return o } +func (o GoogleCloudRetailV2betaPriceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaPriceInfoResponse] { + return pulumix.Output[GoogleCloudRetailV2betaPriceInfoResponse]{ + OutputState: o.OutputState, + } +} + // The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895). func (o GoogleCloudRetailV2betaPriceInfoResponseOutput) Cost() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2betaPriceInfoResponse) float64 { return v.Cost }).(pulumi.Float64Output) @@ -2339,6 +2730,12 @@ func (o GoogleCloudRetailV2betaProductResponseOutput) ToGoogleCloudRetailV2betaP return o } +func (o GoogleCloudRetailV2betaProductResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaProductResponse] { + return pulumix.Output[GoogleCloudRetailV2betaProductResponse]{ + OutputState: o.OutputState, + } +} + // Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. func (o GoogleCloudRetailV2betaProductResponseOutput) Attributes() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaProductResponse) map[string]string { return v.Attributes }).(pulumi.StringMapOutput) @@ -2534,6 +2931,12 @@ func (o GoogleCloudRetailV2betaProductResponseArrayOutput) ToGoogleCloudRetailV2 return o } +func (o GoogleCloudRetailV2betaProductResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaProductResponse] { + return pulumix.Output[[]GoogleCloudRetailV2betaProductResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaProductResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaProductResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaProductResponse { return vs[0].([]GoogleCloudRetailV2betaProductResponse)[vs[1].(int)] @@ -2575,6 +2978,12 @@ func (i GoogleCloudRetailV2betaPromotionArgs) ToGoogleCloudRetailV2betaPromotion return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaPromotionOutput) } +func (i GoogleCloudRetailV2betaPromotionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaPromotion] { + return pulumix.Output[GoogleCloudRetailV2betaPromotion]{ + OutputState: i.ToGoogleCloudRetailV2betaPromotionOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRetailV2betaPromotionArrayInput is an input type that accepts GoogleCloudRetailV2betaPromotionArray and GoogleCloudRetailV2betaPromotionArrayOutput values. // You can construct a concrete instance of `GoogleCloudRetailV2betaPromotionArrayInput` via: // @@ -2600,6 +3009,12 @@ func (i GoogleCloudRetailV2betaPromotionArray) ToGoogleCloudRetailV2betaPromotio return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaPromotionArrayOutput) } +func (i GoogleCloudRetailV2betaPromotionArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaPromotion] { + return pulumix.Output[[]GoogleCloudRetailV2betaPromotion]{ + OutputState: i.ToGoogleCloudRetailV2betaPromotionArrayOutputWithContext(ctx).OutputState, + } +} + // Promotion specification. type GoogleCloudRetailV2betaPromotionOutput struct{ *pulumi.OutputState } @@ -2615,6 +3030,12 @@ func (o GoogleCloudRetailV2betaPromotionOutput) ToGoogleCloudRetailV2betaPromoti return o } +func (o GoogleCloudRetailV2betaPromotionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaPromotion] { + return pulumix.Output[GoogleCloudRetailV2betaPromotion]{ + OutputState: o.OutputState, + } +} + // Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148). func (o GoogleCloudRetailV2betaPromotionOutput) PromotionId() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaPromotion) *string { return v.PromotionId }).(pulumi.StringPtrOutput) @@ -2634,6 +3055,12 @@ func (o GoogleCloudRetailV2betaPromotionArrayOutput) ToGoogleCloudRetailV2betaPr return o } +func (o GoogleCloudRetailV2betaPromotionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaPromotion] { + return pulumix.Output[[]GoogleCloudRetailV2betaPromotion]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaPromotionArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaPromotionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaPromotion { return vs[0].([]GoogleCloudRetailV2betaPromotion)[vs[1].(int)] @@ -2661,6 +3088,12 @@ func (o GoogleCloudRetailV2betaPromotionResponseOutput) ToGoogleCloudRetailV2bet return o } +func (o GoogleCloudRetailV2betaPromotionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaPromotionResponse] { + return pulumix.Output[GoogleCloudRetailV2betaPromotionResponse]{ + OutputState: o.OutputState, + } +} + // Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148). func (o GoogleCloudRetailV2betaPromotionResponseOutput) PromotionId() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaPromotionResponse) string { return v.PromotionId }).(pulumi.StringOutput) @@ -2680,6 +3113,12 @@ func (o GoogleCloudRetailV2betaPromotionResponseArrayOutput) ToGoogleCloudRetail return o } +func (o GoogleCloudRetailV2betaPromotionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRetailV2betaPromotionResponse] { + return pulumix.Output[[]GoogleCloudRetailV2betaPromotionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaPromotionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRetailV2betaPromotionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRetailV2betaPromotionResponse { return vs[0].([]GoogleCloudRetailV2betaPromotionResponse)[vs[1].(int)] @@ -2729,6 +3168,12 @@ func (i GoogleCloudRetailV2betaRatingArgs) ToGoogleCloudRetailV2betaRatingOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRatingOutput) } +func (i GoogleCloudRetailV2betaRatingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRating] { + return pulumix.Output[GoogleCloudRetailV2betaRating]{ + OutputState: i.ToGoogleCloudRetailV2betaRatingOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaRatingArgs) ToGoogleCloudRetailV2betaRatingPtrOutput() GoogleCloudRetailV2betaRatingPtrOutput { return i.ToGoogleCloudRetailV2betaRatingPtrOutputWithContext(context.Background()) } @@ -2770,6 +3215,12 @@ func (i *googleCloudRetailV2betaRatingPtrType) ToGoogleCloudRetailV2betaRatingPt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRatingPtrOutput) } +func (i *googleCloudRetailV2betaRatingPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRating] { + return pulumix.Output[*GoogleCloudRetailV2betaRating]{ + OutputState: i.ToGoogleCloudRetailV2betaRatingPtrOutputWithContext(ctx).OutputState, + } +} + // The rating of a Product. type GoogleCloudRetailV2betaRatingOutput struct{ *pulumi.OutputState } @@ -2795,6 +3246,12 @@ func (o GoogleCloudRetailV2betaRatingOutput) ToGoogleCloudRetailV2betaRatingPtrO }).(GoogleCloudRetailV2betaRatingPtrOutput) } +func (o GoogleCloudRetailV2betaRatingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRating] { + return pulumix.Output[GoogleCloudRetailV2betaRating]{ + OutputState: o.OutputState, + } +} + // The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2betaRatingOutput) AverageRating() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRating) *float64 { return v.AverageRating }).(pulumi.Float64PtrOutput) @@ -2824,6 +3281,12 @@ func (o GoogleCloudRetailV2betaRatingPtrOutput) ToGoogleCloudRetailV2betaRatingP return o } +func (o GoogleCloudRetailV2betaRatingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRating] { + return pulumix.Output[*GoogleCloudRetailV2betaRating]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaRatingPtrOutput) Elem() GoogleCloudRetailV2betaRatingOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaRating) GoogleCloudRetailV2betaRating { if v != nil { @@ -2889,6 +3352,12 @@ func (o GoogleCloudRetailV2betaRatingResponseOutput) ToGoogleCloudRetailV2betaRa return o } +func (o GoogleCloudRetailV2betaRatingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRatingResponse] { + return pulumix.Output[GoogleCloudRetailV2betaRatingResponse]{ + OutputState: o.OutputState, + } +} + // The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned. func (o GoogleCloudRetailV2betaRatingResponseOutput) AverageRating() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2betaRatingResponse) float64 { return v.AverageRating }).(pulumi.Float64Output) @@ -2971,6 +3440,12 @@ func (i GoogleCloudRetailV2betaRuleArgs) ToGoogleCloudRetailV2betaRuleOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleOutput) } +func (i GoogleCloudRetailV2betaRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRule] { + return pulumix.Output[GoogleCloudRetailV2betaRule]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaRuleArgs) ToGoogleCloudRetailV2betaRulePtrOutput() GoogleCloudRetailV2betaRulePtrOutput { return i.ToGoogleCloudRetailV2betaRulePtrOutputWithContext(context.Background()) } @@ -3012,6 +3487,12 @@ func (i *googleCloudRetailV2betaRulePtrType) ToGoogleCloudRetailV2betaRulePtrOut return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRulePtrOutput) } +func (i *googleCloudRetailV2betaRulePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRule] { + return pulumix.Output[*GoogleCloudRetailV2betaRule]{ + OutputState: i.ToGoogleCloudRetailV2betaRulePtrOutputWithContext(ctx).OutputState, + } +} + // A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH. type GoogleCloudRetailV2betaRuleOutput struct{ *pulumi.OutputState } @@ -3037,6 +3518,12 @@ func (o GoogleCloudRetailV2betaRuleOutput) ToGoogleCloudRetailV2betaRulePtrOutpu }).(GoogleCloudRetailV2betaRulePtrOutput) } +func (o GoogleCloudRetailV2betaRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRule] { + return pulumix.Output[GoogleCloudRetailV2betaRule]{ + OutputState: o.OutputState, + } +} + // A boost action. func (o GoogleCloudRetailV2betaRuleOutput) BoostAction() GoogleCloudRetailV2betaRuleBoostActionPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRule) *GoogleCloudRetailV2betaRuleBoostAction { return v.BoostAction }).(GoogleCloudRetailV2betaRuleBoostActionPtrOutput) @@ -3106,6 +3593,12 @@ func (o GoogleCloudRetailV2betaRulePtrOutput) ToGoogleCloudRetailV2betaRulePtrOu return o } +func (o GoogleCloudRetailV2betaRulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRule] { + return pulumix.Output[*GoogleCloudRetailV2betaRule]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaRulePtrOutput) Elem() GoogleCloudRetailV2betaRuleOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaRule) GoogleCloudRetailV2betaRule { if v != nil { @@ -3245,6 +3738,12 @@ func (i GoogleCloudRetailV2betaRuleBoostActionArgs) ToGoogleCloudRetailV2betaRul return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleBoostActionOutput) } +func (i GoogleCloudRetailV2betaRuleBoostActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleBoostAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleBoostAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleBoostActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaRuleBoostActionArgs) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutput() GoogleCloudRetailV2betaRuleBoostActionPtrOutput { return i.ToGoogleCloudRetailV2betaRuleBoostActionPtrOutputWithContext(context.Background()) } @@ -3286,6 +3785,12 @@ func (i *googleCloudRetailV2betaRuleBoostActionPtrType) ToGoogleCloudRetailV2bet return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleBoostActionPtrOutput) } +func (i *googleCloudRetailV2betaRuleBoostActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleBoostAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleBoostAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleBoostActionPtrOutputWithContext(ctx).OutputState, + } +} + // A boost action to apply to results matching condition specified above. type GoogleCloudRetailV2betaRuleBoostActionOutput struct{ *pulumi.OutputState } @@ -3311,6 +3816,12 @@ func (o GoogleCloudRetailV2betaRuleBoostActionOutput) ToGoogleCloudRetailV2betaR }).(GoogleCloudRetailV2betaRuleBoostActionPtrOutput) } +func (o GoogleCloudRetailV2betaRuleBoostActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleBoostAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleBoostAction]{ + OutputState: o.OutputState, + } +} + // Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. func (o GoogleCloudRetailV2betaRuleBoostActionOutput) Boost() pulumi.Float64PtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleBoostAction) *float64 { return v.Boost }).(pulumi.Float64PtrOutput) @@ -3335,6 +3846,12 @@ func (o GoogleCloudRetailV2betaRuleBoostActionPtrOutput) ToGoogleCloudRetailV2be return o } +func (o GoogleCloudRetailV2betaRuleBoostActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleBoostAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleBoostAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaRuleBoostActionPtrOutput) Elem() GoogleCloudRetailV2betaRuleBoostActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaRuleBoostAction) GoogleCloudRetailV2betaRuleBoostAction { if v != nil { @@ -3388,6 +3905,12 @@ func (o GoogleCloudRetailV2betaRuleBoostActionResponseOutput) ToGoogleCloudRetai return o } +func (o GoogleCloudRetailV2betaRuleBoostActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleBoostActionResponse] { + return pulumix.Output[GoogleCloudRetailV2betaRuleBoostActionResponse]{ + OutputState: o.OutputState, + } +} + // Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. func (o GoogleCloudRetailV2betaRuleBoostActionResponseOutput) Boost() pulumi.Float64Output { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleBoostActionResponse) float64 { return v.Boost }).(pulumi.Float64Output) @@ -3441,6 +3964,12 @@ func (i GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToGoogleCloudRetail return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) } +func (i GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleDoNotAssociateAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleDoNotAssociateAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleDoNotAssociateActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput { return i.ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutputWithContext(context.Background()) } @@ -3482,6 +4011,12 @@ func (i *googleCloudRetailV2betaRuleDoNotAssociateActionPtrType) ToGoogleCloudRe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) } +func (i *googleCloudRetailV2betaRuleDoNotAssociateActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleDoNotAssociateAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleDoNotAssociateAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutputWithContext(ctx).OutputState, + } +} + // Prevents `query_term` from being associated with specified terms during search. Example: Don't associate "gShoe" and "cheap". type GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput struct{ *pulumi.OutputState } @@ -3507,6 +4042,12 @@ func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) ToGoogleCloudReta }).(GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) } +func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleDoNotAssociateAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleDoNotAssociateAction]{ + OutputState: o.OutputState, + } +} + // Cannot contain duplicates or the query term. Can specify up to 100 terms. func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) DoNotAssociateTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleDoNotAssociateAction) []string { return v.DoNotAssociateTerms }).(pulumi.StringArrayOutput) @@ -3536,6 +4077,12 @@ func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleDoNotAssociateAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleDoNotAssociateAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) Elem() GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaRuleDoNotAssociateAction) GoogleCloudRetailV2betaRuleDoNotAssociateAction { if v != nil { @@ -3601,6 +4148,12 @@ func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput) ToGoogleC return o } +func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleDoNotAssociateActionResponse] { + return pulumix.Output[GoogleCloudRetailV2betaRuleDoNotAssociateActionResponse]{ + OutputState: o.OutputState, + } +} + // Cannot contain duplicates or the query term. Can specify up to 100 terms. func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput) DoNotAssociateTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleDoNotAssociateActionResponse) []string { return v.DoNotAssociateTerms }).(pulumi.StringArrayOutput) @@ -3651,6 +4204,12 @@ func (i GoogleCloudRetailV2betaRuleFilterActionArgs) ToGoogleCloudRetailV2betaRu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleFilterActionOutput) } +func (i GoogleCloudRetailV2betaRuleFilterActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleFilterAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleFilterAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleFilterActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaRuleFilterActionArgs) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutput() GoogleCloudRetailV2betaRuleFilterActionPtrOutput { return i.ToGoogleCloudRetailV2betaRuleFilterActionPtrOutputWithContext(context.Background()) } @@ -3692,6 +4251,12 @@ func (i *googleCloudRetailV2betaRuleFilterActionPtrType) ToGoogleCloudRetailV2be return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleFilterActionPtrOutput) } +func (i *googleCloudRetailV2betaRuleFilterActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleFilterAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleFilterAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleFilterActionPtrOutputWithContext(ctx).OutputState, + } +} + // * Rule Condition: - No Condition.query_terms provided is a global match. - 1 or more Condition.query_terms provided are combined with OR operator. * Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query's existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict. * Action Result: Filters the returned objects to be ONLY those that passed the filter. type GoogleCloudRetailV2betaRuleFilterActionOutput struct{ *pulumi.OutputState } @@ -3717,6 +4282,12 @@ func (o GoogleCloudRetailV2betaRuleFilterActionOutput) ToGoogleCloudRetailV2beta }).(GoogleCloudRetailV2betaRuleFilterActionPtrOutput) } +func (o GoogleCloudRetailV2betaRuleFilterActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleFilterAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleFilterAction]{ + OutputState: o.OutputState, + } +} + // A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) * func (o GoogleCloudRetailV2betaRuleFilterActionOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleFilterAction) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -3736,6 +4307,12 @@ func (o GoogleCloudRetailV2betaRuleFilterActionPtrOutput) ToGoogleCloudRetailV2b return o } +func (o GoogleCloudRetailV2betaRuleFilterActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleFilterAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleFilterAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaRuleFilterActionPtrOutput) Elem() GoogleCloudRetailV2betaRuleFilterActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaRuleFilterAction) GoogleCloudRetailV2betaRuleFilterAction { if v != nil { @@ -3777,6 +4354,12 @@ func (o GoogleCloudRetailV2betaRuleFilterActionResponseOutput) ToGoogleCloudReta return o } +func (o GoogleCloudRetailV2betaRuleFilterActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleFilterActionResponse] { + return pulumix.Output[GoogleCloudRetailV2betaRuleFilterActionResponse]{ + OutputState: o.OutputState, + } +} + // A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) * func (o GoogleCloudRetailV2betaRuleFilterActionResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleFilterActionResponse) string { return v.Filter }).(pulumi.StringOutput) @@ -3817,6 +4400,12 @@ func (i GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToGoogleCloudRetailV2betaRu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleIgnoreActionOutput) } +func (i GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleIgnoreAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleIgnoreAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleIgnoreActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutput() GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput { return i.ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutputWithContext(context.Background()) } @@ -3858,6 +4447,12 @@ func (i *googleCloudRetailV2betaRuleIgnoreActionPtrType) ToGoogleCloudRetailV2be return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) } +func (i *googleCloudRetailV2betaRuleIgnoreActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleIgnoreAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleIgnoreAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutputWithContext(ctx).OutputState, + } +} + // Prevents a term in the query from being used in search. Example: Don't search for "shoddy". type GoogleCloudRetailV2betaRuleIgnoreActionOutput struct{ *pulumi.OutputState } @@ -3883,6 +4478,12 @@ func (o GoogleCloudRetailV2betaRuleIgnoreActionOutput) ToGoogleCloudRetailV2beta }).(GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) } +func (o GoogleCloudRetailV2betaRuleIgnoreActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleIgnoreAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleIgnoreAction]{ + OutputState: o.OutputState, + } +} + // Terms to ignore in the search query. func (o GoogleCloudRetailV2betaRuleIgnoreActionOutput) IgnoreTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleIgnoreAction) []string { return v.IgnoreTerms }).(pulumi.StringArrayOutput) @@ -3902,6 +4503,12 @@ func (o GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2b return o } +func (o GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleIgnoreAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleIgnoreAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) Elem() GoogleCloudRetailV2betaRuleIgnoreActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaRuleIgnoreAction) GoogleCloudRetailV2betaRuleIgnoreAction { if v != nil { @@ -3943,6 +4550,12 @@ func (o GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput) ToGoogleCloudReta return o } +func (o GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleIgnoreActionResponse] { + return pulumix.Output[GoogleCloudRetailV2betaRuleIgnoreActionResponse]{ + OutputState: o.OutputState, + } +} + // Terms to ignore in the search query. func (o GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput) IgnoreTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleIgnoreActionResponse) []string { return v.IgnoreTerms }).(pulumi.StringArrayOutput) @@ -3991,6 +4604,12 @@ func (i GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetail return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) } +func (i GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleOnewaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleOnewaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput { return i.ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutputWithContext(context.Background()) } @@ -4032,6 +4651,12 @@ func (i *googleCloudRetailV2betaRuleOnewaySynonymsActionPtrType) ToGoogleCloudRe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) } +func (i *googleCloudRetailV2betaRuleOnewaySynonymsActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleOnewaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleOnewaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutputWithContext(ctx).OutputState, + } +} + // Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only. `query_terms` will not be treated as synonyms of each other. Example: "sneakers" will use a synonym of "shoes". "shoes" will not use a synonym of "sneakers". type GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput struct{ *pulumi.OutputState } @@ -4057,6 +4682,12 @@ func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) ToGoogleCloudReta }).(GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) } +func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleOnewaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleOnewaySynonymsAction]{ + OutputState: o.OutputState, + } +} + // Will be [deprecated = true] post migration; func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) OnewayTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleOnewaySynonymsAction) []string { return v.OnewayTerms }).(pulumi.StringArrayOutput) @@ -4086,6 +4717,12 @@ func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleOnewaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleOnewaySynonymsAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) Elem() GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaRuleOnewaySynonymsAction) GoogleCloudRetailV2betaRuleOnewaySynonymsAction { if v != nil { @@ -4151,6 +4788,12 @@ func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput) ToGoogleC return o } +func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponse] { + return pulumix.Output[GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponse]{ + OutputState: o.OutputState, + } +} + // Will be [deprecated = true] post migration; func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput) OnewayTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponse) []string { return v.OnewayTerms }).(pulumi.StringArrayOutput) @@ -4201,6 +4844,12 @@ func (i GoogleCloudRetailV2betaRuleRedirectActionArgs) ToGoogleCloudRetailV2beta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleRedirectActionOutput) } +func (i GoogleCloudRetailV2betaRuleRedirectActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleRedirectAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleRedirectAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleRedirectActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaRuleRedirectActionArgs) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutput() GoogleCloudRetailV2betaRuleRedirectActionPtrOutput { return i.ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutputWithContext(context.Background()) } @@ -4242,6 +4891,12 @@ func (i *googleCloudRetailV2betaRuleRedirectActionPtrType) ToGoogleCloudRetailV2 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) } +func (i *googleCloudRetailV2betaRuleRedirectActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleRedirectAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleRedirectAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutputWithContext(ctx).OutputState, + } +} + // Redirects a shopper to a specific page. * Rule Condition: - Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri. type GoogleCloudRetailV2betaRuleRedirectActionOutput struct{ *pulumi.OutputState } @@ -4267,6 +4922,12 @@ func (o GoogleCloudRetailV2betaRuleRedirectActionOutput) ToGoogleCloudRetailV2be }).(GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) } +func (o GoogleCloudRetailV2betaRuleRedirectActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleRedirectAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleRedirectAction]{ + OutputState: o.OutputState, + } +} + // URL must have length equal or less than 2000 characters. func (o GoogleCloudRetailV2betaRuleRedirectActionOutput) RedirectUri() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleRedirectAction) *string { return v.RedirectUri }).(pulumi.StringPtrOutput) @@ -4286,6 +4947,12 @@ func (o GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) ToGoogleCloudRetailV return o } +func (o GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleRedirectAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleRedirectAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) Elem() GoogleCloudRetailV2betaRuleRedirectActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaRuleRedirectAction) GoogleCloudRetailV2betaRuleRedirectAction { if v != nil { @@ -4327,6 +4994,12 @@ func (o GoogleCloudRetailV2betaRuleRedirectActionResponseOutput) ToGoogleCloudRe return o } +func (o GoogleCloudRetailV2betaRuleRedirectActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleRedirectActionResponse] { + return pulumix.Output[GoogleCloudRetailV2betaRuleRedirectActionResponse]{ + OutputState: o.OutputState, + } +} + // URL must have length equal or less than 2000 characters. func (o GoogleCloudRetailV2betaRuleRedirectActionResponseOutput) RedirectUri() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleRedirectActionResponse) string { return v.RedirectUri }).(pulumi.StringOutput) @@ -4375,6 +5048,12 @@ func (i GoogleCloudRetailV2betaRuleReplacementActionArgs) ToGoogleCloudRetailV2b return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleReplacementActionOutput) } +func (i GoogleCloudRetailV2betaRuleReplacementActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleReplacementAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleReplacementAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleReplacementActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaRuleReplacementActionArgs) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutput() GoogleCloudRetailV2betaRuleReplacementActionPtrOutput { return i.ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutputWithContext(context.Background()) } @@ -4416,6 +5095,12 @@ func (i *googleCloudRetailV2betaRuleReplacementActionPtrType) ToGoogleCloudRetai return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) } +func (i *googleCloudRetailV2betaRuleReplacementActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleReplacementAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleReplacementAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutputWithContext(ctx).OutputState, + } +} + // Replaces a term in the query. Multiple replacement candidates can be specified. All `query_terms` will be replaced with the replacement term. Example: Replace "gShoe" with "google shoe". type GoogleCloudRetailV2betaRuleReplacementActionOutput struct{ *pulumi.OutputState } @@ -4441,6 +5126,12 @@ func (o GoogleCloudRetailV2betaRuleReplacementActionOutput) ToGoogleCloudRetailV }).(GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) } +func (o GoogleCloudRetailV2betaRuleReplacementActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleReplacementAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleReplacementAction]{ + OutputState: o.OutputState, + } +} + // Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms. func (o GoogleCloudRetailV2betaRuleReplacementActionOutput) QueryTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleReplacementAction) []string { return v.QueryTerms }).(pulumi.StringArrayOutput) @@ -4470,6 +5161,12 @@ func (o GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) ToGoogleCloudReta return o } +func (o GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleReplacementAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleReplacementAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) Elem() GoogleCloudRetailV2betaRuleReplacementActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaRuleReplacementAction) GoogleCloudRetailV2betaRuleReplacementAction { if v != nil { @@ -4535,6 +5232,12 @@ func (o GoogleCloudRetailV2betaRuleReplacementActionResponseOutput) ToGoogleClou return o } +func (o GoogleCloudRetailV2betaRuleReplacementActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleReplacementActionResponse] { + return pulumix.Output[GoogleCloudRetailV2betaRuleReplacementActionResponse]{ + OutputState: o.OutputState, + } +} + // Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms. func (o GoogleCloudRetailV2betaRuleReplacementActionResponseOutput) QueryTerms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleReplacementActionResponse) []string { return v.QueryTerms }).(pulumi.StringArrayOutput) @@ -4587,6 +5290,12 @@ func (o GoogleCloudRetailV2betaRuleResponseOutput) ToGoogleCloudRetailV2betaRule return o } +func (o GoogleCloudRetailV2betaRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleResponse] { + return pulumix.Output[GoogleCloudRetailV2betaRuleResponse]{ + OutputState: o.OutputState, + } +} + // A boost action. func (o GoogleCloudRetailV2betaRuleResponseOutput) BoostAction() GoogleCloudRetailV2betaRuleBoostActionResponseOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleResponse) GoogleCloudRetailV2betaRuleBoostActionResponse { @@ -4685,6 +5394,12 @@ func (i GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetail return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) } +func (i GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleTwowaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleTwowaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput { return i.ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutputWithContext(context.Background()) } @@ -4726,6 +5441,12 @@ func (i *googleCloudRetailV2betaRuleTwowaySynonymsActionPtrType) ToGoogleCloudRe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) } +func (i *googleCloudRetailV2betaRuleTwowaySynonymsActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleTwowaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleTwowaySynonymsAction]{ + OutputState: i.ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutputWithContext(ctx).OutputState, + } +} + // Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes": * "sneakers" will use a synonym of "shoes". * "shoes" will use a synonym of "sneakers". type GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput struct{ *pulumi.OutputState } @@ -4751,6 +5472,12 @@ func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) ToGoogleCloudReta }).(GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) } +func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleTwowaySynonymsAction] { + return pulumix.Output[GoogleCloudRetailV2betaRuleTwowaySynonymsAction]{ + OutputState: o.OutputState, + } +} + // Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleTwowaySynonymsAction) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -4770,6 +5497,12 @@ func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) ToGoogleCloudR return o } +func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaRuleTwowaySynonymsAction] { + return pulumix.Output[*GoogleCloudRetailV2betaRuleTwowaySynonymsAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) Elem() GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaRuleTwowaySynonymsAction) GoogleCloudRetailV2betaRuleTwowaySynonymsAction { if v != nil { @@ -4811,6 +5544,12 @@ func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput) ToGoogleC return o } +func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponse] { + return pulumix.Output[GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponse]{ + OutputState: o.OutputState, + } +} + // Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms. func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput) Synonyms() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponse) []string { return v.Synonyms }).(pulumi.StringArrayOutput) @@ -4851,6 +5590,12 @@ func (i GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudR return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) } +func (i GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec]{ + OutputState: i.ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput { return i.ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutputWithContext(context.Background()) } @@ -4892,6 +5637,12 @@ func (i *googleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrType) ToGoogleCl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) } +func (i *googleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec]{ + OutputState: i.ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutputWithContext(ctx).OutputState, + } +} + // The specifications of dynamically generated facets. type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput struct{ *pulumi.OutputState } @@ -4917,6 +5668,12 @@ func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) ToGoogleClou }).(GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) } +func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec]{ + OutputState: o.OutputState, + } +} + // Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) Mode() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec) *GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode { @@ -4938,6 +5695,12 @@ func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) ToGoogleC return o } +func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) Elem() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec { if v != nil { @@ -4979,6 +5742,12 @@ func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput) ToGo return o } +func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponse] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponse]{ + OutputState: o.OutputState, + } +} + // Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -5031,6 +5800,12 @@ func (i GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2 return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) } +func (i GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpec] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpec]{ + OutputState: i.ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput() GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput { return i.ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutputWithContext(context.Background()) } @@ -5072,6 +5847,12 @@ func (i *googleCloudRetailV2betaSearchRequestFacetSpecPtrType) ToGoogleCloudReta return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) } +func (i *googleCloudRetailV2betaSearchRequestFacetSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestFacetSpec] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestFacetSpec]{ + OutputState: i.ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutputWithContext(ctx).OutputState, + } +} + // A facet specification to perform faceted search. type GoogleCloudRetailV2betaSearchRequestFacetSpecOutput struct{ *pulumi.OutputState } @@ -5097,6 +5878,12 @@ func (o GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ToGoogleCloudRetail }).(GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) } +func (o GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpec] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpec]{ + OutputState: o.OutputState, + } +} + // Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false. func (o GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) EnableDynamicPosition() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaSearchRequestFacetSpec) *bool { return v.EnableDynamicPosition }).(pulumi.BoolPtrOutput) @@ -5133,6 +5920,12 @@ func (o GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) ToGoogleCloudRet return o } +func (o GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestFacetSpec] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestFacetSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) Elem() GoogleCloudRetailV2betaSearchRequestFacetSpecOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaSearchRequestFacetSpec) GoogleCloudRetailV2betaSearchRequestFacetSpec { if v != nil { @@ -5250,6 +6043,12 @@ func (i GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) } +func (i GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey]{ + OutputState: i.ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput() GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput { return i.ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(context.Background()) } @@ -5291,6 +6090,12 @@ func (i *googleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrType) ToGoogleC return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) } +func (i *googleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey]{ + OutputState: i.ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how a facet is computed. type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput struct{ *pulumi.OutputState } @@ -5316,6 +6121,12 @@ func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) ToGoogleClo }).(GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) } +func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey]{ + OutputState: o.OutputState, + } +} + // True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise. func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) CaseInsensitive() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey) *bool { return v.CaseInsensitive }).(pulumi.BoolPtrOutput) @@ -5377,6 +6188,12 @@ func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) ToGoogle return o } +func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) Elem() GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey) GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey { if v != nil { @@ -5514,6 +6331,12 @@ func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) ToG return o } +func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponse] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponse]{ + OutputState: o.OutputState, + } +} + // True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise. func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) CaseInsensitive() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponse) bool { return v.CaseInsensitive }).(pulumi.BoolOutput) @@ -5590,6 +6413,12 @@ func (o GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) ToGoogleClo return o } +func (o GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpecResponse] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestFacetSpecResponse]{ + OutputState: o.OutputState, + } +} + // Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false. func (o GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) EnableDynamicPosition() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaSearchRequestFacetSpecResponse) bool { return v.EnableDynamicPosition }).(pulumi.BoolOutput) @@ -5647,6 +6476,12 @@ func (i GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs) ToGoogleClo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) } +func (i GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestPersonalizationSpec] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestPersonalizationSpec]{ + OutputState: i.ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput() GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput { return i.ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutputWithContext(context.Background()) } @@ -5688,6 +6523,12 @@ func (i *googleCloudRetailV2betaSearchRequestPersonalizationSpecPtrType) ToGoogl return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) } +func (i *googleCloudRetailV2betaSearchRequestPersonalizationSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestPersonalizationSpec] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestPersonalizationSpec]{ + OutputState: i.ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutputWithContext(ctx).OutputState, + } +} + // The specification for personalization. type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput struct{ *pulumi.OutputState } @@ -5713,6 +6554,12 @@ func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) ToGoogleC }).(GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) } +func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestPersonalizationSpec] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestPersonalizationSpec]{ + OutputState: o.OutputState, + } +} + // Defaults to Mode.AUTO. func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) Mode() GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaSearchRequestPersonalizationSpec) *GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode { @@ -5734,6 +6581,12 @@ func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) ToGoog return o } +func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRetailV2betaSearchRequestPersonalizationSpec] { + return pulumix.Output[*GoogleCloudRetailV2betaSearchRequestPersonalizationSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) Elem() GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput { return o.ApplyT(func(v *GoogleCloudRetailV2betaSearchRequestPersonalizationSpec) GoogleCloudRetailV2betaSearchRequestPersonalizationSpec { if v != nil { @@ -5775,6 +6628,12 @@ func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput) T return o } +func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponse] { + return pulumix.Output[GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponse]{ + OutputState: o.OutputState, + } +} + // Defaults to Mode.AUTO. func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponse) string { return v.Mode }).(pulumi.StringOutput) diff --git a/sdk/go/google/retail/v2beta/servingConfig.go b/sdk/go/google/retail/v2beta/servingConfig.go index 672102dad7..c2cc927d96 100644 --- a/sdk/go/google/retail/v2beta/servingConfig.go +++ b/sdk/go/google/retail/v2beta/servingConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a Catalog, otherwise a FAILED_PRECONDITION error is returned. @@ -236,6 +237,12 @@ func (i *ServingConfig) ToServingConfigOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(ServingConfigOutput) } +func (i *ServingConfig) ToOutput(ctx context.Context) pulumix.Output[*ServingConfig] { + return pulumix.Output[*ServingConfig]{ + OutputState: i.ToServingConfigOutputWithContext(ctx).OutputState, + } +} + type ServingConfigOutput struct{ *pulumi.OutputState } func (ServingConfigOutput) ElementType() reflect.Type { @@ -250,6 +257,12 @@ func (o ServingConfigOutput) ToServingConfigOutputWithContext(ctx context.Contex return o } +func (o ServingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ServingConfig] { + return pulumix.Output[*ServingConfig]{ + OutputState: o.OutputState, + } +} + // Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. func (o ServingConfigOutput) BoostControlIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *ServingConfig) pulumi.StringArrayOutput { return v.BoostControlIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/run/v1/domainMapping.go b/sdk/go/google/run/v1/domainMapping.go index 64619be4c5..171e6a0950 100644 --- a/sdk/go/google/run/v1/domainMapping.go +++ b/sdk/go/google/run/v1/domainMapping.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a new domain mapping. @@ -130,6 +131,12 @@ func (i *DomainMapping) ToDomainMappingOutputWithContext(ctx context.Context) Do return pulumi.ToOutputWithContext(ctx, i).(DomainMappingOutput) } +func (i *DomainMapping) ToOutput(ctx context.Context) pulumix.Output[*DomainMapping] { + return pulumix.Output[*DomainMapping]{ + OutputState: i.ToDomainMappingOutputWithContext(ctx).OutputState, + } +} + type DomainMappingOutput struct{ *pulumi.OutputState } func (DomainMappingOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o DomainMappingOutput) ToDomainMappingOutputWithContext(ctx context.Contex return o } +func (o DomainMappingOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainMapping] { + return pulumix.Output[*DomainMapping]{ + OutputState: o.OutputState, + } +} + // The API version for this call such as "domains.cloudrun.com/v1". func (o DomainMappingOutput) ApiVersion() pulumi.StringOutput { return o.ApplyT(func(v *DomainMapping) pulumi.StringOutput { return v.ApiVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/run/v1/getDomainMapping.go b/sdk/go/google/run/v1/getDomainMapping.go index 0d9baf32a5..0d42cf9a8e 100644 --- a/sdk/go/google/run/v1/getDomainMapping.go +++ b/sdk/go/google/run/v1/getDomainMapping.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get information about a domain mapping. @@ -78,6 +79,12 @@ func (o LookupDomainMappingResultOutput) ToLookupDomainMappingResultOutputWithCo return o } +func (o LookupDomainMappingResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDomainMappingResult] { + return pulumix.Output[LookupDomainMappingResult]{ + OutputState: o.OutputState, + } +} + // The API version for this call such as "domains.cloudrun.com/v1". func (o LookupDomainMappingResultOutput) ApiVersion() pulumi.StringOutput { return o.ApplyT(func(v LookupDomainMappingResult) string { return v.ApiVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/run/v1/getJob.go b/sdk/go/google/run/v1/getJob.go index c9673e4ab2..04f580be77 100644 --- a/sdk/go/google/run/v1/getJob.go +++ b/sdk/go/google/run/v1/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get information about a job. @@ -76,6 +77,12 @@ func (o GetJobResultOutput) ToGetJobResultOutputWithContext(ctx context.Context) return o } +func (o GetJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetJobResult] { + return pulumix.Output[GetJobResult]{ + OutputState: o.OutputState, + } +} + // Optional. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. func (o GetJobResultOutput) ApiVersion() pulumi.StringOutput { return o.ApplyT(func(v GetJobResult) string { return v.ApiVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/run/v1/getJobIamPolicy.go b/sdk/go/google/run/v1/getJobIamPolicy.go index e9a68bbe54..4334a066e5 100644 --- a/sdk/go/google/run/v1/getJobIamPolicy.go +++ b/sdk/go/google/run/v1/getJobIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get the IAM Access Control policy currently in effect for the given job. This result does not include any inherited policies. @@ -78,6 +79,12 @@ func (o LookupJobIamPolicyResultOutput) ToLookupJobIamPolicyResultOutputWithCont return o } +func (o LookupJobIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobIamPolicyResult] { + return pulumix.Output[LookupJobIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupJobIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupJobIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/run/v1/getService.go b/sdk/go/google/run/v1/getService.go index d612da633c..c1f543f105 100644 --- a/sdk/go/google/run/v1/getService.go +++ b/sdk/go/google/run/v1/getService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a service. @@ -78,6 +79,12 @@ func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx co return o } +func (o LookupServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceResult] { + return pulumix.Output[LookupServiceResult]{ + OutputState: o.OutputState, + } +} + // The API version for this call. It must be "serving.knative.dev/v1". func (o LookupServiceResultOutput) ApiVersion() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceResult) string { return v.ApiVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/run/v1/getServiceIamPolicy.go b/sdk/go/google/run/v1/getServiceIamPolicy.go index 02d4e41128..1c715ac23b 100644 --- a/sdk/go/google/run/v1/getServiceIamPolicy.go +++ b/sdk/go/google/run/v1/getServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM Access Control policy currently in effect for the given Cloud Run service. This result does not include any inherited policies. @@ -78,6 +79,12 @@ func (o LookupServiceIamPolicyResultOutput) ToLookupServiceIamPolicyResultOutput return o } +func (o LookupServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceIamPolicyResult] { + return pulumix.Output[LookupServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/run/v1/jobIamBinding.go b/sdk/go/google/run/v1/jobIamBinding.go index 8f35eb2eaa..1fa959c892 100644 --- a/sdk/go/google/run/v1/jobIamBinding.go +++ b/sdk/go/google/run/v1/jobIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified job. Overwrites any existing policy. @@ -135,6 +136,12 @@ func (i *JobIamBinding) ToJobIamBindingOutputWithContext(ctx context.Context) Jo return pulumi.ToOutputWithContext(ctx, i).(JobIamBindingOutput) } +func (i *JobIamBinding) ToOutput(ctx context.Context) pulumix.Output[*JobIamBinding] { + return pulumix.Output[*JobIamBinding]{ + OutputState: i.ToJobIamBindingOutputWithContext(ctx).OutputState, + } +} + type JobIamBindingOutput struct{ *pulumi.OutputState } func (JobIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o JobIamBindingOutput) ToJobIamBindingOutputWithContext(ctx context.Contex return o } +func (o JobIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*JobIamBinding] { + return pulumix.Output[*JobIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o JobIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *JobIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/run/v1/jobIamMember.go b/sdk/go/google/run/v1/jobIamMember.go index 94ec0d38e0..97bd8bb003 100644 --- a/sdk/go/google/run/v1/jobIamMember.go +++ b/sdk/go/google/run/v1/jobIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified job. Overwrites any existing policy. @@ -135,6 +136,12 @@ func (i *JobIamMember) ToJobIamMemberOutputWithContext(ctx context.Context) JobI return pulumi.ToOutputWithContext(ctx, i).(JobIamMemberOutput) } +func (i *JobIamMember) ToOutput(ctx context.Context) pulumix.Output[*JobIamMember] { + return pulumix.Output[*JobIamMember]{ + OutputState: i.ToJobIamMemberOutputWithContext(ctx).OutputState, + } +} + type JobIamMemberOutput struct{ *pulumi.OutputState } func (JobIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o JobIamMemberOutput) ToJobIamMemberOutputWithContext(ctx context.Context) return o } +func (o JobIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*JobIamMember] { + return pulumix.Output[*JobIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o JobIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *JobIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/run/v1/jobIamPolicy.go b/sdk/go/google/run/v1/jobIamPolicy.go index f88cc57bf7..633f660482 100644 --- a/sdk/go/google/run/v1/jobIamPolicy.go +++ b/sdk/go/google/run/v1/jobIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified job. Overwrites any existing policy. @@ -135,6 +136,12 @@ func (i *JobIamPolicy) ToJobIamPolicyOutputWithContext(ctx context.Context) JobI return pulumi.ToOutputWithContext(ctx, i).(JobIamPolicyOutput) } +func (i *JobIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*JobIamPolicy] { + return pulumix.Output[*JobIamPolicy]{ + OutputState: i.ToJobIamPolicyOutputWithContext(ctx).OutputState, + } +} + type JobIamPolicyOutput struct{ *pulumi.OutputState } func (JobIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o JobIamPolicyOutput) ToJobIamPolicyOutputWithContext(ctx context.Context) return o } +func (o JobIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*JobIamPolicy] { + return pulumix.Output[*JobIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o JobIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *JobIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/run/v1/pulumiEnums.go b/sdk/go/google/run/v1/pulumiEnums.go index 7a177c2879..af907af3f4 100644 --- a/sdk/go/google/run/v1/pulumiEnums.go +++ b/sdk/go/google/run/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The mode of the certificate. type DomainMappingSpecCertificateMode string @@ -252,6 +271,12 @@ func (o DomainMappingSpecCertificateModeOutput) ToDomainMappingSpecCertificateMo }).(DomainMappingSpecCertificateModePtrOutput) } +func (o DomainMappingSpecCertificateModeOutput) ToOutput(ctx context.Context) pulumix.Output[DomainMappingSpecCertificateMode] { + return pulumix.Output[DomainMappingSpecCertificateMode]{ + OutputState: o.OutputState, + } +} + func (o DomainMappingSpecCertificateModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -287,6 +312,12 @@ func (o DomainMappingSpecCertificateModePtrOutput) ToDomainMappingSpecCertificat return o } +func (o DomainMappingSpecCertificateModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainMappingSpecCertificateMode] { + return pulumix.Output[*DomainMappingSpecCertificateMode]{ + OutputState: o.OutputState, + } +} + func (o DomainMappingSpecCertificateModePtrOutput) Elem() DomainMappingSpecCertificateModeOutput { return o.ApplyT(func(v *DomainMappingSpecCertificateMode) DomainMappingSpecCertificateMode { if v != nil { @@ -349,6 +380,12 @@ func (in *domainMappingSpecCertificateModePtr) ToDomainMappingSpecCertificateMod return pulumi.ToOutputWithContext(ctx, in).(DomainMappingSpecCertificateModePtrOutput) } +func (in *domainMappingSpecCertificateModePtr) ToOutput(ctx context.Context) pulumix.Output[*DomainMappingSpecCertificateMode] { + return pulumix.Output[*DomainMappingSpecCertificateMode]{ + OutputState: in.ToDomainMappingSpecCertificateModePtrOutputWithContext(ctx).OutputState, + } +} + // Resource record type. Example: `AAAA`. type ResourceRecordType string diff --git a/sdk/go/google/run/v1/pulumiTypes.go b/sdk/go/google/run/v1/pulumiTypes.go index 9b686ac2d2..39fbfbfc0b 100644 --- a/sdk/go/google/run/v1/pulumiTypes.go +++ b/sdk/go/google/run/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -38,6 +39,12 @@ func (o AddressableResponseOutput) ToAddressableResponseOutputWithContext(ctx co return o } +func (o AddressableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AddressableResponse] { + return pulumix.Output[AddressableResponse]{ + OutputState: o.OutputState, + } +} + func (o AddressableResponseOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v AddressableResponse) string { return v.Url }).(pulumi.StringOutput) } @@ -81,6 +88,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -106,6 +119,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -121,6 +140,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -145,6 +170,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -174,6 +205,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -198,6 +235,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -243,6 +286,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -268,6 +317,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -283,6 +338,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -307,6 +368,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -336,6 +403,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -360,6 +433,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -409,6 +488,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -434,6 +519,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -449,6 +540,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -478,6 +575,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -509,6 +612,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -538,6 +647,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -587,6 +702,12 @@ func (i ConfigMapEnvSourceArgs) ToConfigMapEnvSourceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ConfigMapEnvSourceOutput) } +func (i ConfigMapEnvSourceArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigMapEnvSource] { + return pulumix.Output[ConfigMapEnvSource]{ + OutputState: i.ToConfigMapEnvSourceOutputWithContext(ctx).OutputState, + } +} + func (i ConfigMapEnvSourceArgs) ToConfigMapEnvSourcePtrOutput() ConfigMapEnvSourcePtrOutput { return i.ToConfigMapEnvSourcePtrOutputWithContext(context.Background()) } @@ -628,6 +749,12 @@ func (i *configMapEnvSourcePtrType) ToConfigMapEnvSourcePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ConfigMapEnvSourcePtrOutput) } +func (i *configMapEnvSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfigMapEnvSource] { + return pulumix.Output[*ConfigMapEnvSource]{ + OutputState: i.ToConfigMapEnvSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Not supported by Cloud Run. ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. type ConfigMapEnvSourceOutput struct{ *pulumi.OutputState } @@ -653,6 +780,12 @@ func (o ConfigMapEnvSourceOutput) ToConfigMapEnvSourcePtrOutputWithContext(ctx c }).(ConfigMapEnvSourcePtrOutput) } +func (o ConfigMapEnvSourceOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigMapEnvSource] { + return pulumix.Output[ConfigMapEnvSource]{ + OutputState: o.OutputState, + } +} + // This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. func (o ConfigMapEnvSourceOutput) LocalObjectReference() LocalObjectReferencePtrOutput { return o.ApplyT(func(v ConfigMapEnvSource) *LocalObjectReference { return v.LocalObjectReference }).(LocalObjectReferencePtrOutput) @@ -682,6 +815,12 @@ func (o ConfigMapEnvSourcePtrOutput) ToConfigMapEnvSourcePtrOutputWithContext(ct return o } +func (o ConfigMapEnvSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigMapEnvSource] { + return pulumix.Output[*ConfigMapEnvSource]{ + OutputState: o.OutputState, + } +} + func (o ConfigMapEnvSourcePtrOutput) Elem() ConfigMapEnvSourceOutput { return o.ApplyT(func(v *ConfigMapEnvSource) ConfigMapEnvSource { if v != nil { @@ -747,6 +886,12 @@ func (o ConfigMapEnvSourceResponseOutput) ToConfigMapEnvSourceResponseOutputWith return o } +func (o ConfigMapEnvSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigMapEnvSourceResponse] { + return pulumix.Output[ConfigMapEnvSourceResponse]{ + OutputState: o.OutputState, + } +} + // This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. func (o ConfigMapEnvSourceResponseOutput) LocalObjectReference() LocalObjectReferenceResponseOutput { return o.ApplyT(func(v ConfigMapEnvSourceResponse) LocalObjectReferenceResponse { return v.LocalObjectReference }).(LocalObjectReferenceResponseOutput) @@ -809,6 +954,12 @@ func (i ConfigMapKeySelectorArgs) ToConfigMapKeySelectorOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ConfigMapKeySelectorOutput) } +func (i ConfigMapKeySelectorArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigMapKeySelector] { + return pulumix.Output[ConfigMapKeySelector]{ + OutputState: i.ToConfigMapKeySelectorOutputWithContext(ctx).OutputState, + } +} + func (i ConfigMapKeySelectorArgs) ToConfigMapKeySelectorPtrOutput() ConfigMapKeySelectorPtrOutput { return i.ToConfigMapKeySelectorPtrOutputWithContext(context.Background()) } @@ -850,6 +1001,12 @@ func (i *configMapKeySelectorPtrType) ToConfigMapKeySelectorPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ConfigMapKeySelectorPtrOutput) } +func (i *configMapKeySelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfigMapKeySelector] { + return pulumix.Output[*ConfigMapKeySelector]{ + OutputState: i.ToConfigMapKeySelectorPtrOutputWithContext(ctx).OutputState, + } +} + // Not supported by Cloud Run. type ConfigMapKeySelectorOutput struct{ *pulumi.OutputState } @@ -875,6 +1032,12 @@ func (o ConfigMapKeySelectorOutput) ToConfigMapKeySelectorPtrOutputWithContext(c }).(ConfigMapKeySelectorPtrOutput) } +func (o ConfigMapKeySelectorOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigMapKeySelector] { + return pulumix.Output[ConfigMapKeySelector]{ + OutputState: o.OutputState, + } +} + // Not supported by Cloud Run. func (o ConfigMapKeySelectorOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v ConfigMapKeySelector) string { return v.Key }).(pulumi.StringOutput) @@ -909,6 +1072,12 @@ func (o ConfigMapKeySelectorPtrOutput) ToConfigMapKeySelectorPtrOutputWithContex return o } +func (o ConfigMapKeySelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigMapKeySelector] { + return pulumix.Output[*ConfigMapKeySelector]{ + OutputState: o.OutputState, + } +} + func (o ConfigMapKeySelectorPtrOutput) Elem() ConfigMapKeySelectorOutput { return o.ApplyT(func(v *ConfigMapKeySelector) ConfigMapKeySelector { if v != nil { @@ -986,6 +1155,12 @@ func (o ConfigMapKeySelectorResponseOutput) ToConfigMapKeySelectorResponseOutput return o } +func (o ConfigMapKeySelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigMapKeySelectorResponse] { + return pulumix.Output[ConfigMapKeySelectorResponse]{ + OutputState: o.OutputState, + } +} + // Not supported by Cloud Run. func (o ConfigMapKeySelectorResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v ConfigMapKeySelectorResponse) string { return v.Key }).(pulumi.StringOutput) @@ -1053,6 +1228,12 @@ func (i ConfigMapVolumeSourceArgs) ToConfigMapVolumeSourceOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ConfigMapVolumeSourceOutput) } +func (i ConfigMapVolumeSourceArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigMapVolumeSource] { + return pulumix.Output[ConfigMapVolumeSource]{ + OutputState: i.ToConfigMapVolumeSourceOutputWithContext(ctx).OutputState, + } +} + func (i ConfigMapVolumeSourceArgs) ToConfigMapVolumeSourcePtrOutput() ConfigMapVolumeSourcePtrOutput { return i.ToConfigMapVolumeSourcePtrOutputWithContext(context.Background()) } @@ -1094,6 +1275,12 @@ func (i *configMapVolumeSourcePtrType) ToConfigMapVolumeSourcePtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ConfigMapVolumeSourcePtrOutput) } +func (i *configMapVolumeSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfigMapVolumeSource] { + return pulumix.Output[*ConfigMapVolumeSource]{ + OutputState: i.ToConfigMapVolumeSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Not supported by Cloud Run. Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. type ConfigMapVolumeSourceOutput struct{ *pulumi.OutputState } @@ -1119,6 +1306,12 @@ func (o ConfigMapVolumeSourceOutput) ToConfigMapVolumeSourcePtrOutputWithContext }).(ConfigMapVolumeSourcePtrOutput) } +func (o ConfigMapVolumeSourceOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigMapVolumeSource] { + return pulumix.Output[ConfigMapVolumeSource]{ + OutputState: o.OutputState, + } +} + // (Optional) Integer representation of mode bits to use on created files by default. Must be a value between 01 and 0777 (octal). If 0 or not set, it will default to 0644. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. func (o ConfigMapVolumeSourceOutput) DefaultMode() pulumi.IntPtrOutput { return o.ApplyT(func(v ConfigMapVolumeSource) *int { return v.DefaultMode }).(pulumi.IntPtrOutput) @@ -1153,6 +1346,12 @@ func (o ConfigMapVolumeSourcePtrOutput) ToConfigMapVolumeSourcePtrOutputWithCont return o } +func (o ConfigMapVolumeSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigMapVolumeSource] { + return pulumix.Output[*ConfigMapVolumeSource]{ + OutputState: o.OutputState, + } +} + func (o ConfigMapVolumeSourcePtrOutput) Elem() ConfigMapVolumeSourceOutput { return o.ApplyT(func(v *ConfigMapVolumeSource) ConfigMapVolumeSource { if v != nil { @@ -1230,6 +1429,12 @@ func (o ConfigMapVolumeSourceResponseOutput) ToConfigMapVolumeSourceResponseOutp return o } +func (o ConfigMapVolumeSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigMapVolumeSourceResponse] { + return pulumix.Output[ConfigMapVolumeSourceResponse]{ + OutputState: o.OutputState, + } +} + // (Optional) Integer representation of mode bits to use on created files by default. Must be a value between 01 and 0777 (octal). If 0 or not set, it will default to 0644. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. func (o ConfigMapVolumeSourceResponseOutput) DefaultMode() pulumi.IntOutput { return o.ApplyT(func(v ConfigMapVolumeSourceResponse) int { return v.DefaultMode }).(pulumi.IntOutput) @@ -1349,6 +1554,12 @@ func (i ContainerArgs) ToContainerOutputWithContext(ctx context.Context) Contain return pulumi.ToOutputWithContext(ctx, i).(ContainerOutput) } +func (i ContainerArgs) ToOutput(ctx context.Context) pulumix.Output[Container] { + return pulumix.Output[Container]{ + OutputState: i.ToContainerOutputWithContext(ctx).OutputState, + } +} + // ContainerArrayInput is an input type that accepts ContainerArray and ContainerArrayOutput values. // You can construct a concrete instance of `ContainerArrayInput` via: // @@ -1374,6 +1585,12 @@ func (i ContainerArray) ToContainerArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ContainerArrayOutput) } +func (i ContainerArray) ToOutput(ctx context.Context) pulumix.Output[[]Container] { + return pulumix.Output[[]Container]{ + OutputState: i.ToContainerArrayOutputWithContext(ctx).OutputState, + } +} + // A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments may be supplied by the system to the container at runtime. type ContainerOutput struct{ *pulumi.OutputState } @@ -1389,6 +1606,12 @@ func (o ContainerOutput) ToContainerOutputWithContext(ctx context.Context) Conta return o } +func (o ContainerOutput) ToOutput(ctx context.Context) pulumix.Output[Container] { + return pulumix.Output[Container]{ + OutputState: o.OutputState, + } +} + // Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run. func (o ContainerOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v Container) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -1488,6 +1711,12 @@ func (o ContainerArrayOutput) ToContainerArrayOutputWithContext(ctx context.Cont return o } +func (o ContainerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Container] { + return pulumix.Output[[]Container]{ + OutputState: o.OutputState, + } +} + func (o ContainerArrayOutput) Index(i pulumi.IntInput) ContainerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Container { return vs[0].([]Container)[vs[1].(int)] @@ -1537,6 +1766,12 @@ func (i ContainerPortArgs) ToContainerPortOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ContainerPortOutput) } +func (i ContainerPortArgs) ToOutput(ctx context.Context) pulumix.Output[ContainerPort] { + return pulumix.Output[ContainerPort]{ + OutputState: i.ToContainerPortOutputWithContext(ctx).OutputState, + } +} + // ContainerPortArrayInput is an input type that accepts ContainerPortArray and ContainerPortArrayOutput values. // You can construct a concrete instance of `ContainerPortArrayInput` via: // @@ -1562,6 +1797,12 @@ func (i ContainerPortArray) ToContainerPortArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ContainerPortArrayOutput) } +func (i ContainerPortArray) ToOutput(ctx context.Context) pulumix.Output[[]ContainerPort] { + return pulumix.Output[[]ContainerPort]{ + OutputState: i.ToContainerPortArrayOutputWithContext(ctx).OutputState, + } +} + // ContainerPort represents a network port in a single container. type ContainerPortOutput struct{ *pulumi.OutputState } @@ -1577,6 +1818,12 @@ func (o ContainerPortOutput) ToContainerPortOutputWithContext(ctx context.Contex return o } +func (o ContainerPortOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerPort] { + return pulumix.Output[ContainerPort]{ + OutputState: o.OutputState, + } +} + // Port number the container listens on. If present, this must be a valid port number, 0 < x < 65536. If not present, it will default to port 8080. For more information, see https://cloud.google.com/run/docs/container-contract#port func (o ContainerPortOutput) ContainerPort() pulumi.IntPtrOutput { return o.ApplyT(func(v ContainerPort) *int { return v.ContainerPort }).(pulumi.IntPtrOutput) @@ -1606,6 +1853,12 @@ func (o ContainerPortArrayOutput) ToContainerPortArrayOutputWithContext(ctx cont return o } +func (o ContainerPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ContainerPort] { + return pulumix.Output[[]ContainerPort]{ + OutputState: o.OutputState, + } +} + func (o ContainerPortArrayOutput) Index(i pulumi.IntInput) ContainerPortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerPort { return vs[0].([]ContainerPort)[vs[1].(int)] @@ -1637,6 +1890,12 @@ func (o ContainerPortResponseOutput) ToContainerPortResponseOutputWithContext(ct return o } +func (o ContainerPortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerPortResponse] { + return pulumix.Output[ContainerPortResponse]{ + OutputState: o.OutputState, + } +} + // Port number the container listens on. If present, this must be a valid port number, 0 < x < 65536. If not present, it will default to port 8080. For more information, see https://cloud.google.com/run/docs/container-contract#port func (o ContainerPortResponseOutput) ContainerPort() pulumi.IntOutput { return o.ApplyT(func(v ContainerPortResponse) int { return v.ContainerPort }).(pulumi.IntOutput) @@ -1666,6 +1925,12 @@ func (o ContainerPortResponseArrayOutput) ToContainerPortResponseArrayOutputWith return o } +func (o ContainerPortResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ContainerPortResponse] { + return pulumix.Output[[]ContainerPortResponse]{ + OutputState: o.OutputState, + } +} + func (o ContainerPortResponseArrayOutput) Index(i pulumi.IntInput) ContainerPortResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerPortResponse { return vs[0].([]ContainerPortResponse)[vs[1].(int)] @@ -1725,6 +1990,12 @@ func (o ContainerResponseOutput) ToContainerResponseOutputWithContext(ctx contex return o } +func (o ContainerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerResponse] { + return pulumix.Output[ContainerResponse]{ + OutputState: o.OutputState, + } +} + // Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run. func (o ContainerResponseOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v ContainerResponse) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -1824,6 +2095,12 @@ func (o ContainerResponseArrayOutput) ToContainerResponseArrayOutputWithContext( return o } +func (o ContainerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ContainerResponse] { + return pulumix.Output[[]ContainerResponse]{ + OutputState: o.OutputState, + } +} + func (o ContainerResponseArrayOutput) Index(i pulumi.IntInput) ContainerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContainerResponse { return vs[0].([]ContainerResponse)[vs[1].(int)] @@ -1873,6 +2150,12 @@ func (i DomainMappingSpecArgs) ToDomainMappingSpecOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DomainMappingSpecOutput) } +func (i DomainMappingSpecArgs) ToOutput(ctx context.Context) pulumix.Output[DomainMappingSpec] { + return pulumix.Output[DomainMappingSpec]{ + OutputState: i.ToDomainMappingSpecOutputWithContext(ctx).OutputState, + } +} + func (i DomainMappingSpecArgs) ToDomainMappingSpecPtrOutput() DomainMappingSpecPtrOutput { return i.ToDomainMappingSpecPtrOutputWithContext(context.Background()) } @@ -1914,6 +2197,12 @@ func (i *domainMappingSpecPtrType) ToDomainMappingSpecPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(DomainMappingSpecPtrOutput) } +func (i *domainMappingSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*DomainMappingSpec] { + return pulumix.Output[*DomainMappingSpec]{ + OutputState: i.ToDomainMappingSpecPtrOutputWithContext(ctx).OutputState, + } +} + // The desired state of the Domain Mapping. type DomainMappingSpecOutput struct{ *pulumi.OutputState } @@ -1939,6 +2228,12 @@ func (o DomainMappingSpecOutput) ToDomainMappingSpecPtrOutputWithContext(ctx con }).(DomainMappingSpecPtrOutput) } +func (o DomainMappingSpecOutput) ToOutput(ctx context.Context) pulumix.Output[DomainMappingSpec] { + return pulumix.Output[DomainMappingSpec]{ + OutputState: o.OutputState, + } +} + // The mode of the certificate. func (o DomainMappingSpecOutput) CertificateMode() DomainMappingSpecCertificateModePtrOutput { return o.ApplyT(func(v DomainMappingSpec) *DomainMappingSpecCertificateMode { return v.CertificateMode }).(DomainMappingSpecCertificateModePtrOutput) @@ -1968,6 +2263,12 @@ func (o DomainMappingSpecPtrOutput) ToDomainMappingSpecPtrOutputWithContext(ctx return o } +func (o DomainMappingSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DomainMappingSpec] { + return pulumix.Output[*DomainMappingSpec]{ + OutputState: o.OutputState, + } +} + func (o DomainMappingSpecPtrOutput) Elem() DomainMappingSpecOutput { return o.ApplyT(func(v *DomainMappingSpec) DomainMappingSpec { if v != nil { @@ -2033,6 +2334,12 @@ func (o DomainMappingSpecResponseOutput) ToDomainMappingSpecResponseOutputWithCo return o } +func (o DomainMappingSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DomainMappingSpecResponse] { + return pulumix.Output[DomainMappingSpecResponse]{ + OutputState: o.OutputState, + } +} + // The mode of the certificate. func (o DomainMappingSpecResponseOutput) CertificateMode() pulumi.StringOutput { return o.ApplyT(func(v DomainMappingSpecResponse) string { return v.CertificateMode }).(pulumi.StringOutput) @@ -2091,6 +2398,12 @@ func (o DomainMappingStatusResponseOutput) ToDomainMappingStatusResponseOutputWi return o } +func (o DomainMappingStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DomainMappingStatusResponse] { + return pulumix.Output[DomainMappingStatusResponse]{ + OutputState: o.OutputState, + } +} + // Array of observed DomainMappingConditions, indicating the current state of the DomainMapping. func (o DomainMappingStatusResponseOutput) Conditions() GoogleCloudRunV1ConditionResponseArrayOutput { return o.ApplyT(func(v DomainMappingStatusResponse) []GoogleCloudRunV1ConditionResponse { return v.Conditions }).(GoogleCloudRunV1ConditionResponseArrayOutput) @@ -2155,6 +2468,12 @@ func (i EmptyDirVolumeSourceArgs) ToEmptyDirVolumeSourceOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(EmptyDirVolumeSourceOutput) } +func (i EmptyDirVolumeSourceArgs) ToOutput(ctx context.Context) pulumix.Output[EmptyDirVolumeSource] { + return pulumix.Output[EmptyDirVolumeSource]{ + OutputState: i.ToEmptyDirVolumeSourceOutputWithContext(ctx).OutputState, + } +} + func (i EmptyDirVolumeSourceArgs) ToEmptyDirVolumeSourcePtrOutput() EmptyDirVolumeSourcePtrOutput { return i.ToEmptyDirVolumeSourcePtrOutputWithContext(context.Background()) } @@ -2196,6 +2515,12 @@ func (i *emptyDirVolumeSourcePtrType) ToEmptyDirVolumeSourcePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(EmptyDirVolumeSourcePtrOutput) } +func (i *emptyDirVolumeSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*EmptyDirVolumeSource] { + return pulumix.Output[*EmptyDirVolumeSource]{ + OutputState: i.ToEmptyDirVolumeSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs). type EmptyDirVolumeSourceOutput struct{ *pulumi.OutputState } @@ -2221,6 +2546,12 @@ func (o EmptyDirVolumeSourceOutput) ToEmptyDirVolumeSourcePtrOutputWithContext(c }).(EmptyDirVolumeSourcePtrOutput) } +func (o EmptyDirVolumeSourceOutput) ToOutput(ctx context.Context) pulumix.Output[EmptyDirVolumeSource] { + return pulumix.Output[EmptyDirVolumeSource]{ + OutputState: o.OutputState, + } +} + // The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional func (o EmptyDirVolumeSourceOutput) Medium() pulumi.StringPtrOutput { return o.ApplyT(func(v EmptyDirVolumeSource) *string { return v.Medium }).(pulumi.StringPtrOutput) @@ -2245,6 +2576,12 @@ func (o EmptyDirVolumeSourcePtrOutput) ToEmptyDirVolumeSourcePtrOutputWithContex return o } +func (o EmptyDirVolumeSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EmptyDirVolumeSource] { + return pulumix.Output[*EmptyDirVolumeSource]{ + OutputState: o.OutputState, + } +} + func (o EmptyDirVolumeSourcePtrOutput) Elem() EmptyDirVolumeSourceOutput { return o.ApplyT(func(v *EmptyDirVolumeSource) EmptyDirVolumeSource { if v != nil { @@ -2298,6 +2635,12 @@ func (o EmptyDirVolumeSourceResponseOutput) ToEmptyDirVolumeSourceResponseOutput return o } +func (o EmptyDirVolumeSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EmptyDirVolumeSourceResponse] { + return pulumix.Output[EmptyDirVolumeSourceResponse]{ + OutputState: o.OutputState, + } +} + // The medium on which the data is stored. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional func (o EmptyDirVolumeSourceResponseOutput) Medium() pulumi.StringOutput { return o.ApplyT(func(v EmptyDirVolumeSourceResponse) string { return v.Medium }).(pulumi.StringOutput) @@ -2351,6 +2694,12 @@ func (i EnvFromSourceArgs) ToEnvFromSourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(EnvFromSourceOutput) } +func (i EnvFromSourceArgs) ToOutput(ctx context.Context) pulumix.Output[EnvFromSource] { + return pulumix.Output[EnvFromSource]{ + OutputState: i.ToEnvFromSourceOutputWithContext(ctx).OutputState, + } +} + // EnvFromSourceArrayInput is an input type that accepts EnvFromSourceArray and EnvFromSourceArrayOutput values. // You can construct a concrete instance of `EnvFromSourceArrayInput` via: // @@ -2376,6 +2725,12 @@ func (i EnvFromSourceArray) ToEnvFromSourceArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EnvFromSourceArrayOutput) } +func (i EnvFromSourceArray) ToOutput(ctx context.Context) pulumix.Output[[]EnvFromSource] { + return pulumix.Output[[]EnvFromSource]{ + OutputState: i.ToEnvFromSourceArrayOutputWithContext(ctx).OutputState, + } +} + // Not supported by Cloud Run. EnvFromSource represents the source of a set of ConfigMaps type EnvFromSourceOutput struct{ *pulumi.OutputState } @@ -2391,6 +2746,12 @@ func (o EnvFromSourceOutput) ToEnvFromSourceOutputWithContext(ctx context.Contex return o } +func (o EnvFromSourceOutput) ToOutput(ctx context.Context) pulumix.Output[EnvFromSource] { + return pulumix.Output[EnvFromSource]{ + OutputState: o.OutputState, + } +} + // The ConfigMap to select from func (o EnvFromSourceOutput) ConfigMapRef() ConfigMapEnvSourcePtrOutput { return o.ApplyT(func(v EnvFromSource) *ConfigMapEnvSource { return v.ConfigMapRef }).(ConfigMapEnvSourcePtrOutput) @@ -2420,6 +2781,12 @@ func (o EnvFromSourceArrayOutput) ToEnvFromSourceArrayOutputWithContext(ctx cont return o } +func (o EnvFromSourceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvFromSource] { + return pulumix.Output[[]EnvFromSource]{ + OutputState: o.OutputState, + } +} + func (o EnvFromSourceArrayOutput) Index(i pulumi.IntInput) EnvFromSourceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvFromSource { return vs[0].([]EnvFromSource)[vs[1].(int)] @@ -2451,6 +2818,12 @@ func (o EnvFromSourceResponseOutput) ToEnvFromSourceResponseOutputWithContext(ct return o } +func (o EnvFromSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvFromSourceResponse] { + return pulumix.Output[EnvFromSourceResponse]{ + OutputState: o.OutputState, + } +} + // The ConfigMap to select from func (o EnvFromSourceResponseOutput) ConfigMapRef() ConfigMapEnvSourceResponseOutput { return o.ApplyT(func(v EnvFromSourceResponse) ConfigMapEnvSourceResponse { return v.ConfigMapRef }).(ConfigMapEnvSourceResponseOutput) @@ -2480,6 +2853,12 @@ func (o EnvFromSourceResponseArrayOutput) ToEnvFromSourceResponseArrayOutputWith return o } +func (o EnvFromSourceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvFromSourceResponse] { + return pulumix.Output[[]EnvFromSourceResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvFromSourceResponseArrayOutput) Index(i pulumi.IntInput) EnvFromSourceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvFromSourceResponse { return vs[0].([]EnvFromSourceResponse)[vs[1].(int)] @@ -2529,6 +2908,12 @@ func (i EnvVarArgs) ToEnvVarOutputWithContext(ctx context.Context) EnvVarOutput return pulumi.ToOutputWithContext(ctx, i).(EnvVarOutput) } +func (i EnvVarArgs) ToOutput(ctx context.Context) pulumix.Output[EnvVar] { + return pulumix.Output[EnvVar]{ + OutputState: i.ToEnvVarOutputWithContext(ctx).OutputState, + } +} + // EnvVarArrayInput is an input type that accepts EnvVarArray and EnvVarArrayOutput values. // You can construct a concrete instance of `EnvVarArrayInput` via: // @@ -2554,6 +2939,12 @@ func (i EnvVarArray) ToEnvVarArrayOutputWithContext(ctx context.Context) EnvVarA return pulumi.ToOutputWithContext(ctx, i).(EnvVarArrayOutput) } +func (i EnvVarArray) ToOutput(ctx context.Context) pulumix.Output[[]EnvVar] { + return pulumix.Output[[]EnvVar]{ + OutputState: i.ToEnvVarArrayOutputWithContext(ctx).OutputState, + } +} + // EnvVar represents an environment variable present in a Container. type EnvVarOutput struct{ *pulumi.OutputState } @@ -2569,6 +2960,12 @@ func (o EnvVarOutput) ToEnvVarOutputWithContext(ctx context.Context) EnvVarOutpu return o } +func (o EnvVarOutput) ToOutput(ctx context.Context) pulumix.Output[EnvVar] { + return pulumix.Output[EnvVar]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. Must be a C_IDENTIFIER. func (o EnvVarOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v EnvVar) string { return v.Name }).(pulumi.StringOutput) @@ -2598,6 +2995,12 @@ func (o EnvVarArrayOutput) ToEnvVarArrayOutputWithContext(ctx context.Context) E return o } +func (o EnvVarArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvVar] { + return pulumix.Output[[]EnvVar]{ + OutputState: o.OutputState, + } +} + func (o EnvVarArrayOutput) Index(i pulumi.IntInput) EnvVarOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvVar { return vs[0].([]EnvVar)[vs[1].(int)] @@ -2629,6 +3032,12 @@ func (o EnvVarResponseOutput) ToEnvVarResponseOutputWithContext(ctx context.Cont return o } +func (o EnvVarResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvVarResponse] { + return pulumix.Output[EnvVarResponse]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. Must be a C_IDENTIFIER. func (o EnvVarResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v EnvVarResponse) string { return v.Name }).(pulumi.StringOutput) @@ -2658,6 +3067,12 @@ func (o EnvVarResponseArrayOutput) ToEnvVarResponseArrayOutputWithContext(ctx co return o } +func (o EnvVarResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvVarResponse] { + return pulumix.Output[[]EnvVarResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvVarResponseArrayOutput) Index(i pulumi.IntInput) EnvVarResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvVarResponse { return vs[0].([]EnvVarResponse)[vs[1].(int)] @@ -2703,6 +3118,12 @@ func (i EnvVarSourceArgs) ToEnvVarSourceOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(EnvVarSourceOutput) } +func (i EnvVarSourceArgs) ToOutput(ctx context.Context) pulumix.Output[EnvVarSource] { + return pulumix.Output[EnvVarSource]{ + OutputState: i.ToEnvVarSourceOutputWithContext(ctx).OutputState, + } +} + func (i EnvVarSourceArgs) ToEnvVarSourcePtrOutput() EnvVarSourcePtrOutput { return i.ToEnvVarSourcePtrOutputWithContext(context.Background()) } @@ -2744,6 +3165,12 @@ func (i *envVarSourcePtrType) ToEnvVarSourcePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(EnvVarSourcePtrOutput) } +func (i *envVarSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*EnvVarSource] { + return pulumix.Output[*EnvVarSource]{ + OutputState: i.ToEnvVarSourcePtrOutputWithContext(ctx).OutputState, + } +} + // EnvVarSource represents a source for the value of an EnvVar. type EnvVarSourceOutput struct{ *pulumi.OutputState } @@ -2769,6 +3196,12 @@ func (o EnvVarSourceOutput) ToEnvVarSourcePtrOutputWithContext(ctx context.Conte }).(EnvVarSourcePtrOutput) } +func (o EnvVarSourceOutput) ToOutput(ctx context.Context) pulumix.Output[EnvVarSource] { + return pulumix.Output[EnvVarSource]{ + OutputState: o.OutputState, + } +} + // Not supported by Cloud Run. Not supported in Cloud Run. func (o EnvVarSourceOutput) ConfigMapKeyRef() ConfigMapKeySelectorPtrOutput { return o.ApplyT(func(v EnvVarSource) *ConfigMapKeySelector { return v.ConfigMapKeyRef }).(ConfigMapKeySelectorPtrOutput) @@ -2793,6 +3226,12 @@ func (o EnvVarSourcePtrOutput) ToEnvVarSourcePtrOutputWithContext(ctx context.Co return o } +func (o EnvVarSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnvVarSource] { + return pulumix.Output[*EnvVarSource]{ + OutputState: o.OutputState, + } +} + func (o EnvVarSourcePtrOutput) Elem() EnvVarSourceOutput { return o.ApplyT(func(v *EnvVarSource) EnvVarSource { if v != nil { @@ -2846,6 +3285,12 @@ func (o EnvVarSourceResponseOutput) ToEnvVarSourceResponseOutputWithContext(ctx return o } +func (o EnvVarSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvVarSourceResponse] { + return pulumix.Output[EnvVarSourceResponse]{ + OutputState: o.OutputState, + } +} + // Not supported by Cloud Run. Not supported in Cloud Run. func (o EnvVarSourceResponseOutput) ConfigMapKeyRef() ConfigMapKeySelectorResponseOutput { return o.ApplyT(func(v EnvVarSourceResponse) ConfigMapKeySelectorResponse { return v.ConfigMapKeyRef }).(ConfigMapKeySelectorResponseOutput) @@ -2891,6 +3336,12 @@ func (i ExecActionArgs) ToExecActionOutputWithContext(ctx context.Context) ExecA return pulumi.ToOutputWithContext(ctx, i).(ExecActionOutput) } +func (i ExecActionArgs) ToOutput(ctx context.Context) pulumix.Output[ExecAction] { + return pulumix.Output[ExecAction]{ + OutputState: i.ToExecActionOutputWithContext(ctx).OutputState, + } +} + func (i ExecActionArgs) ToExecActionPtrOutput() ExecActionPtrOutput { return i.ToExecActionPtrOutputWithContext(context.Background()) } @@ -2932,6 +3383,12 @@ func (i *execActionPtrType) ToExecActionPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ExecActionPtrOutput) } +func (i *execActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*ExecAction] { + return pulumix.Output[*ExecAction]{ + OutputState: i.ToExecActionPtrOutputWithContext(ctx).OutputState, + } +} + // Not supported by Cloud Run. ExecAction describes a "run in container" action. type ExecActionOutput struct{ *pulumi.OutputState } @@ -2957,6 +3414,12 @@ func (o ExecActionOutput) ToExecActionPtrOutputWithContext(ctx context.Context) }).(ExecActionPtrOutput) } +func (o ExecActionOutput) ToOutput(ctx context.Context) pulumix.Output[ExecAction] { + return pulumix.Output[ExecAction]{ + OutputState: o.OutputState, + } +} + // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. func (o ExecActionOutput) Command() pulumi.StringArrayOutput { return o.ApplyT(func(v ExecAction) []string { return v.Command }).(pulumi.StringArrayOutput) @@ -2976,6 +3439,12 @@ func (o ExecActionPtrOutput) ToExecActionPtrOutputWithContext(ctx context.Contex return o } +func (o ExecActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecAction] { + return pulumix.Output[*ExecAction]{ + OutputState: o.OutputState, + } +} + func (o ExecActionPtrOutput) Elem() ExecActionOutput { return o.ApplyT(func(v *ExecAction) ExecAction { if v != nil { @@ -3017,6 +3486,12 @@ func (o ExecActionResponseOutput) ToExecActionResponseOutputWithContext(ctx cont return o } +func (o ExecActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecActionResponse] { + return pulumix.Output[ExecActionResponse]{ + OutputState: o.OutputState, + } +} + // Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. func (o ExecActionResponseOutput) Command() pulumi.StringArrayOutput { return o.ApplyT(func(v ExecActionResponse) []string { return v.Command }).(pulumi.StringArrayOutput) @@ -3047,6 +3522,12 @@ func (o ExecutionReferenceResponseOutput) ToExecutionReferenceResponseOutputWith return o } +func (o ExecutionReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionReferenceResponse] { + return pulumix.Output[ExecutionReferenceResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Completion timestamp of the execution. func (o ExecutionReferenceResponseOutput) CompletionTimestamp() pulumi.StringOutput { return o.ApplyT(func(v ExecutionReferenceResponse) string { return v.CompletionTimestamp }).(pulumi.StringOutput) @@ -3097,6 +3578,12 @@ func (o ExecutionSpecResponseOutput) ToExecutionSpecResponseOutputWithContext(ct return o } +func (o ExecutionSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionSpecResponse] { + return pulumix.Output[ExecutionSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specifies the maximum desired number of tasks the execution should run at given time. Must be <= task_count. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed, i.e. when the work left to do is less than max parallelism. func (o ExecutionSpecResponseOutput) Parallelism() pulumi.IntOutput { return o.ApplyT(func(v ExecutionSpecResponse) int { return v.Parallelism }).(pulumi.IntOutput) @@ -3143,6 +3630,12 @@ func (o ExecutionTemplateSpecResponseOutput) ToExecutionTemplateSpecResponseOutp return o } +func (o ExecutionTemplateSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionTemplateSpecResponse] { + return pulumix.Output[ExecutionTemplateSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Optional metadata for this Execution, including labels and annotations. The following annotation keys set properties of the created execution: * `run.googleapis.com/cloudsql-instances` sets Cloud SQL connections. Multiple values should be comma separated. * `run.googleapis.com/vpc-access-connector` sets a Serverless VPC Access connector. * `run.googleapis.com/vpc-access-egress` sets VPC egress. Supported values are `all-traffic`, `all` (deprecated), and `private-ranges-only`. `all-traffic` and `all` provide the same functionality. `all` is deprecated but will continue to be supported. Prefer `all-traffic`. func (o ExecutionTemplateSpecResponseOutput) Metadata() ObjectMetaResponseOutput { return o.ApplyT(func(v ExecutionTemplateSpecResponse) ObjectMetaResponse { return v.Metadata }).(ObjectMetaResponseOutput) @@ -3200,6 +3693,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -3241,6 +3740,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -3266,6 +3771,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -3300,6 +3811,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -3377,6 +3894,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -3436,6 +3959,12 @@ func (i GRPCActionArgs) ToGRPCActionOutputWithContext(ctx context.Context) GRPCA return pulumi.ToOutputWithContext(ctx, i).(GRPCActionOutput) } +func (i GRPCActionArgs) ToOutput(ctx context.Context) pulumix.Output[GRPCAction] { + return pulumix.Output[GRPCAction]{ + OutputState: i.ToGRPCActionOutputWithContext(ctx).OutputState, + } +} + func (i GRPCActionArgs) ToGRPCActionPtrOutput() GRPCActionPtrOutput { return i.ToGRPCActionPtrOutputWithContext(context.Background()) } @@ -3477,6 +4006,12 @@ func (i *grpcactionPtrType) ToGRPCActionPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GRPCActionPtrOutput) } +func (i *grpcactionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GRPCAction] { + return pulumix.Output[*GRPCAction]{ + OutputState: i.ToGRPCActionPtrOutputWithContext(ctx).OutputState, + } +} + // GRPCAction describes an action involving a GRPC port. type GRPCActionOutput struct{ *pulumi.OutputState } @@ -3502,6 +4037,12 @@ func (o GRPCActionOutput) ToGRPCActionPtrOutputWithContext(ctx context.Context) }).(GRPCActionPtrOutput) } +func (o GRPCActionOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCAction] { + return pulumix.Output[GRPCAction]{ + OutputState: o.OutputState, + } +} + // Port number of the gRPC service. Number must be in the range 1 to 65535. func (o GRPCActionOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v GRPCAction) *int { return v.Port }).(pulumi.IntPtrOutput) @@ -3526,6 +4067,12 @@ func (o GRPCActionPtrOutput) ToGRPCActionPtrOutputWithContext(ctx context.Contex return o } +func (o GRPCActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GRPCAction] { + return pulumix.Output[*GRPCAction]{ + OutputState: o.OutputState, + } +} + func (o GRPCActionPtrOutput) Elem() GRPCActionOutput { return o.ApplyT(func(v *GRPCAction) GRPCAction { if v != nil { @@ -3579,6 +4126,12 @@ func (o GRPCActionResponseOutput) ToGRPCActionResponseOutputWithContext(ctx cont return o } +func (o GRPCActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GRPCActionResponse] { + return pulumix.Output[GRPCActionResponse]{ + OutputState: o.OutputState, + } +} + // Port number of the gRPC service. Number must be in the range 1 to 65535. func (o GRPCActionResponseOutput) Port() pulumi.IntOutput { return o.ApplyT(func(v GRPCActionResponse) int { return v.Port }).(pulumi.IntOutput) @@ -3636,6 +4189,12 @@ func (o GoogleCloudRunV1ConditionResponseOutput) ToGoogleCloudRunV1ConditionResp return o } +func (o GoogleCloudRunV1ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV1ConditionResponse] { + return pulumix.Output[GoogleCloudRunV1ConditionResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Last time the condition transitioned from one status to another. func (o GoogleCloudRunV1ConditionResponseOutput) LastTransitionTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV1ConditionResponse) string { return v.LastTransitionTime }).(pulumi.StringOutput) @@ -3680,6 +4239,12 @@ func (o GoogleCloudRunV1ConditionResponseArrayOutput) ToGoogleCloudRunV1Conditio return o } +func (o GoogleCloudRunV1ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV1ConditionResponse] { + return pulumix.Output[[]GoogleCloudRunV1ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV1ConditionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV1ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV1ConditionResponse { return vs[0].([]GoogleCloudRunV1ConditionResponse)[vs[1].(int)] @@ -3737,6 +4302,12 @@ func (i HTTPGetActionArgs) ToHTTPGetActionOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(HTTPGetActionOutput) } +func (i HTTPGetActionArgs) ToOutput(ctx context.Context) pulumix.Output[HTTPGetAction] { + return pulumix.Output[HTTPGetAction]{ + OutputState: i.ToHTTPGetActionOutputWithContext(ctx).OutputState, + } +} + func (i HTTPGetActionArgs) ToHTTPGetActionPtrOutput() HTTPGetActionPtrOutput { return i.ToHTTPGetActionPtrOutputWithContext(context.Background()) } @@ -3778,6 +4349,12 @@ func (i *httpgetActionPtrType) ToHTTPGetActionPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(HTTPGetActionPtrOutput) } +func (i *httpgetActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*HTTPGetAction] { + return pulumix.Output[*HTTPGetAction]{ + OutputState: i.ToHTTPGetActionPtrOutputWithContext(ctx).OutputState, + } +} + // HTTPGetAction describes an action based on HTTP Get requests. type HTTPGetActionOutput struct{ *pulumi.OutputState } @@ -3803,6 +4380,12 @@ func (o HTTPGetActionOutput) ToHTTPGetActionPtrOutputWithContext(ctx context.Con }).(HTTPGetActionPtrOutput) } +func (o HTTPGetActionOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPGetAction] { + return pulumix.Output[HTTPGetAction]{ + OutputState: o.OutputState, + } +} + // Not supported by Cloud Run. func (o HTTPGetActionOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v HTTPGetAction) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -3842,6 +4425,12 @@ func (o HTTPGetActionPtrOutput) ToHTTPGetActionPtrOutputWithContext(ctx context. return o } +func (o HTTPGetActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HTTPGetAction] { + return pulumix.Output[*HTTPGetAction]{ + OutputState: o.OutputState, + } +} + func (o HTTPGetActionPtrOutput) Elem() HTTPGetActionOutput { return o.ApplyT(func(v *HTTPGetAction) HTTPGetAction { if v != nil { @@ -3931,6 +4520,12 @@ func (o HTTPGetActionResponseOutput) ToHTTPGetActionResponseOutputWithContext(ct return o } +func (o HTTPGetActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPGetActionResponse] { + return pulumix.Output[HTTPGetActionResponse]{ + OutputState: o.OutputState, + } +} + // Not supported by Cloud Run. func (o HTTPGetActionResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v HTTPGetActionResponse) string { return v.Host }).(pulumi.StringOutput) @@ -3995,6 +4590,12 @@ func (i HTTPHeaderArgs) ToHTTPHeaderOutputWithContext(ctx context.Context) HTTPH return pulumi.ToOutputWithContext(ctx, i).(HTTPHeaderOutput) } +func (i HTTPHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[HTTPHeader] { + return pulumix.Output[HTTPHeader]{ + OutputState: i.ToHTTPHeaderOutputWithContext(ctx).OutputState, + } +} + // HTTPHeaderArrayInput is an input type that accepts HTTPHeaderArray and HTTPHeaderArrayOutput values. // You can construct a concrete instance of `HTTPHeaderArrayInput` via: // @@ -4020,6 +4621,12 @@ func (i HTTPHeaderArray) ToHTTPHeaderArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(HTTPHeaderArrayOutput) } +func (i HTTPHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]HTTPHeader] { + return pulumix.Output[[]HTTPHeader]{ + OutputState: i.ToHTTPHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // HTTPHeader describes a custom header to be used in HTTP probes type HTTPHeaderOutput struct{ *pulumi.OutputState } @@ -4035,6 +4642,12 @@ func (o HTTPHeaderOutput) ToHTTPHeaderOutputWithContext(ctx context.Context) HTT return o } +func (o HTTPHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHeader] { + return pulumix.Output[HTTPHeader]{ + OutputState: o.OutputState, + } +} + // The header field name func (o HTTPHeaderOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v HTTPHeader) string { return v.Name }).(pulumi.StringOutput) @@ -4059,6 +4672,12 @@ func (o HTTPHeaderArrayOutput) ToHTTPHeaderArrayOutputWithContext(ctx context.Co return o } +func (o HTTPHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HTTPHeader] { + return pulumix.Output[[]HTTPHeader]{ + OutputState: o.OutputState, + } +} + func (o HTTPHeaderArrayOutput) Index(i pulumi.IntInput) HTTPHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HTTPHeader { return vs[0].([]HTTPHeader)[vs[1].(int)] @@ -4088,6 +4707,12 @@ func (o HTTPHeaderResponseOutput) ToHTTPHeaderResponseOutputWithContext(ctx cont return o } +func (o HTTPHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HTTPHeaderResponse] { + return pulumix.Output[HTTPHeaderResponse]{ + OutputState: o.OutputState, + } +} + // The header field name func (o HTTPHeaderResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v HTTPHeaderResponse) string { return v.Name }).(pulumi.StringOutput) @@ -4112,6 +4737,12 @@ func (o HTTPHeaderResponseArrayOutput) ToHTTPHeaderResponseArrayOutputWithContex return o } +func (o HTTPHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HTTPHeaderResponse] { + return pulumix.Output[[]HTTPHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o HTTPHeaderResponseArrayOutput) Index(i pulumi.IntInput) HTTPHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HTTPHeaderResponse { return vs[0].([]HTTPHeaderResponse)[vs[1].(int)] @@ -4145,6 +4776,12 @@ func (o JobSpecResponseOutput) ToJobSpecResponseOutputWithContext(ctx context.Co return o } +func (o JobSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobSpecResponse] { + return pulumix.Output[JobSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Describes the execution that will be created when running a job. func (o JobSpecResponseOutput) Template() ExecutionTemplateSpecResponseOutput { return o.ApplyT(func(v JobSpecResponse) ExecutionTemplateSpecResponse { return v.Template }).(ExecutionTemplateSpecResponseOutput) @@ -4177,6 +4814,12 @@ func (o JobStatusResponseOutput) ToJobStatusResponseOutputWithContext(ctx contex return o } +func (o JobStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobStatusResponse] { + return pulumix.Output[JobStatusResponse]{ + OutputState: o.OutputState, + } +} + // Conditions communicate information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world. Job-specific conditions include: * `Ready`: `True` when the job is ready to be executed. func (o JobStatusResponseOutput) Conditions() GoogleCloudRunV1ConditionResponseArrayOutput { return o.ApplyT(func(v JobStatusResponse) []GoogleCloudRunV1ConditionResponse { return v.Conditions }).(GoogleCloudRunV1ConditionResponseArrayOutput) @@ -4240,6 +4883,12 @@ func (i KeyToPathArgs) ToKeyToPathOutputWithContext(ctx context.Context) KeyToPa return pulumi.ToOutputWithContext(ctx, i).(KeyToPathOutput) } +func (i KeyToPathArgs) ToOutput(ctx context.Context) pulumix.Output[KeyToPath] { + return pulumix.Output[KeyToPath]{ + OutputState: i.ToKeyToPathOutputWithContext(ctx).OutputState, + } +} + // KeyToPathArrayInput is an input type that accepts KeyToPathArray and KeyToPathArrayOutput values. // You can construct a concrete instance of `KeyToPathArrayInput` via: // @@ -4265,6 +4914,12 @@ func (i KeyToPathArray) ToKeyToPathArrayOutputWithContext(ctx context.Context) K return pulumi.ToOutputWithContext(ctx, i).(KeyToPathArrayOutput) } +func (i KeyToPathArray) ToOutput(ctx context.Context) pulumix.Output[[]KeyToPath] { + return pulumix.Output[[]KeyToPath]{ + OutputState: i.ToKeyToPathArrayOutputWithContext(ctx).OutputState, + } +} + // Maps a string key to a path within a volume. type KeyToPathOutput struct{ *pulumi.OutputState } @@ -4280,6 +4935,12 @@ func (o KeyToPathOutput) ToKeyToPathOutputWithContext(ctx context.Context) KeyTo return o } +func (o KeyToPathOutput) ToOutput(ctx context.Context) pulumix.Output[KeyToPath] { + return pulumix.Output[KeyToPath]{ + OutputState: o.OutputState, + } +} + // The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version. The key to project. func (o KeyToPathOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v KeyToPath) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -4309,6 +4970,12 @@ func (o KeyToPathArrayOutput) ToKeyToPathArrayOutputWithContext(ctx context.Cont return o } +func (o KeyToPathArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KeyToPath] { + return pulumix.Output[[]KeyToPath]{ + OutputState: o.OutputState, + } +} + func (o KeyToPathArrayOutput) Index(i pulumi.IntInput) KeyToPathOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KeyToPath { return vs[0].([]KeyToPath)[vs[1].(int)] @@ -4340,6 +5007,12 @@ func (o KeyToPathResponseOutput) ToKeyToPathResponseOutputWithContext(ctx contex return o } +func (o KeyToPathResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeyToPathResponse] { + return pulumix.Output[KeyToPathResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud Secret Manager secret version. Can be 'latest' for the latest value, or an integer or a secret alias for a specific version. The key to project. func (o KeyToPathResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v KeyToPathResponse) string { return v.Key }).(pulumi.StringOutput) @@ -4369,6 +5042,12 @@ func (o KeyToPathResponseArrayOutput) ToKeyToPathResponseArrayOutputWithContext( return o } +func (o KeyToPathResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KeyToPathResponse] { + return pulumix.Output[[]KeyToPathResponse]{ + OutputState: o.OutputState, + } +} + func (o KeyToPathResponseArrayOutput) Index(i pulumi.IntInput) KeyToPathResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KeyToPathResponse { return vs[0].([]KeyToPathResponse)[vs[1].(int)] @@ -4410,6 +5089,12 @@ func (i LocalObjectReferenceArgs) ToLocalObjectReferenceOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(LocalObjectReferenceOutput) } +func (i LocalObjectReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[LocalObjectReference] { + return pulumix.Output[LocalObjectReference]{ + OutputState: i.ToLocalObjectReferenceOutputWithContext(ctx).OutputState, + } +} + func (i LocalObjectReferenceArgs) ToLocalObjectReferencePtrOutput() LocalObjectReferencePtrOutput { return i.ToLocalObjectReferencePtrOutputWithContext(context.Background()) } @@ -4451,6 +5136,12 @@ func (i *localObjectReferencePtrType) ToLocalObjectReferencePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(LocalObjectReferencePtrOutput) } +func (i *localObjectReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*LocalObjectReference] { + return pulumix.Output[*LocalObjectReference]{ + OutputState: i.ToLocalObjectReferencePtrOutputWithContext(ctx).OutputState, + } +} + // LocalObjectReferenceArrayInput is an input type that accepts LocalObjectReferenceArray and LocalObjectReferenceArrayOutput values. // You can construct a concrete instance of `LocalObjectReferenceArrayInput` via: // @@ -4476,6 +5167,12 @@ func (i LocalObjectReferenceArray) ToLocalObjectReferenceArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(LocalObjectReferenceArrayOutput) } +func (i LocalObjectReferenceArray) ToOutput(ctx context.Context) pulumix.Output[[]LocalObjectReference] { + return pulumix.Output[[]LocalObjectReference]{ + OutputState: i.ToLocalObjectReferenceArrayOutputWithContext(ctx).OutputState, + } +} + // Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. type LocalObjectReferenceOutput struct{ *pulumi.OutputState } @@ -4501,6 +5198,12 @@ func (o LocalObjectReferenceOutput) ToLocalObjectReferencePtrOutputWithContext(c }).(LocalObjectReferencePtrOutput) } +func (o LocalObjectReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[LocalObjectReference] { + return pulumix.Output[LocalObjectReference]{ + OutputState: o.OutputState, + } +} + // Name of the referent. func (o LocalObjectReferenceOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v LocalObjectReference) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -4520,6 +5223,12 @@ func (o LocalObjectReferencePtrOutput) ToLocalObjectReferencePtrOutputWithContex return o } +func (o LocalObjectReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocalObjectReference] { + return pulumix.Output[*LocalObjectReference]{ + OutputState: o.OutputState, + } +} + func (o LocalObjectReferencePtrOutput) Elem() LocalObjectReferenceOutput { return o.ApplyT(func(v *LocalObjectReference) LocalObjectReference { if v != nil { @@ -4554,6 +5263,12 @@ func (o LocalObjectReferenceArrayOutput) ToLocalObjectReferenceArrayOutputWithCo return o } +func (o LocalObjectReferenceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocalObjectReference] { + return pulumix.Output[[]LocalObjectReference]{ + OutputState: o.OutputState, + } +} + func (o LocalObjectReferenceArrayOutput) Index(i pulumi.IntInput) LocalObjectReferenceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocalObjectReference { return vs[0].([]LocalObjectReference)[vs[1].(int)] @@ -4581,6 +5296,12 @@ func (o LocalObjectReferenceResponseOutput) ToLocalObjectReferenceResponseOutput return o } +func (o LocalObjectReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalObjectReferenceResponse] { + return pulumix.Output[LocalObjectReferenceResponse]{ + OutputState: o.OutputState, + } +} + // Name of the referent. func (o LocalObjectReferenceResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LocalObjectReferenceResponse) string { return v.Name }).(pulumi.StringOutput) @@ -4600,6 +5321,12 @@ func (o LocalObjectReferenceResponseArrayOutput) ToLocalObjectReferenceResponseA return o } +func (o LocalObjectReferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LocalObjectReferenceResponse] { + return pulumix.Output[[]LocalObjectReferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o LocalObjectReferenceResponseArrayOutput) Index(i pulumi.IntInput) LocalObjectReferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LocalObjectReferenceResponse { return vs[0].([]LocalObjectReferenceResponse)[vs[1].(int)] @@ -4697,6 +5424,12 @@ func (i ObjectMetaArgs) ToObjectMetaOutputWithContext(ctx context.Context) Objec return pulumi.ToOutputWithContext(ctx, i).(ObjectMetaOutput) } +func (i ObjectMetaArgs) ToOutput(ctx context.Context) pulumix.Output[ObjectMeta] { + return pulumix.Output[ObjectMeta]{ + OutputState: i.ToObjectMetaOutputWithContext(ctx).OutputState, + } +} + func (i ObjectMetaArgs) ToObjectMetaPtrOutput() ObjectMetaPtrOutput { return i.ToObjectMetaPtrOutputWithContext(context.Background()) } @@ -4738,6 +5471,12 @@ func (i *objectMetaPtrType) ToObjectMetaPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ObjectMetaPtrOutput) } +func (i *objectMetaPtrType) ToOutput(ctx context.Context) pulumix.Output[*ObjectMeta] { + return pulumix.Output[*ObjectMeta]{ + OutputState: i.ToObjectMetaPtrOutputWithContext(ctx).OutputState, + } +} + // k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. type ObjectMetaOutput struct{ *pulumi.OutputState } @@ -4763,6 +5502,12 @@ func (o ObjectMetaOutput) ToObjectMetaPtrOutputWithContext(ctx context.Context) }).(ObjectMetaPtrOutput) } +func (o ObjectMetaOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectMeta] { + return pulumix.Output[ObjectMeta]{ + OutputState: o.OutputState, + } +} + // Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision. * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution. func (o ObjectMetaOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v ObjectMeta) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) @@ -4852,6 +5597,12 @@ func (o ObjectMetaPtrOutput) ToObjectMetaPtrOutputWithContext(ctx context.Contex return o } +func (o ObjectMetaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ObjectMeta] { + return pulumix.Output[*ObjectMeta]{ + OutputState: o.OutputState, + } +} + func (o ObjectMetaPtrOutput) Elem() ObjectMetaOutput { return o.ApplyT(func(v *ObjectMeta) ObjectMeta { if v != nil { @@ -5061,6 +5812,12 @@ func (o ObjectMetaResponseOutput) ToObjectMetaResponseOutputWithContext(ctx cont return o } +func (o ObjectMetaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectMetaResponse] { + return pulumix.Output[ObjectMetaResponse]{ + OutputState: o.OutputState, + } +} + // Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision. * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution. func (o ObjectMetaResponseOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v ObjectMetaResponse) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) @@ -5191,6 +5948,12 @@ func (i OwnerReferenceArgs) ToOwnerReferenceOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(OwnerReferenceOutput) } +func (i OwnerReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[OwnerReference] { + return pulumix.Output[OwnerReference]{ + OutputState: i.ToOwnerReferenceOutputWithContext(ctx).OutputState, + } +} + // OwnerReferenceArrayInput is an input type that accepts OwnerReferenceArray and OwnerReferenceArrayOutput values. // You can construct a concrete instance of `OwnerReferenceArrayInput` via: // @@ -5216,6 +5979,12 @@ func (i OwnerReferenceArray) ToOwnerReferenceArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(OwnerReferenceArrayOutput) } +func (i OwnerReferenceArray) ToOutput(ctx context.Context) pulumix.Output[[]OwnerReference] { + return pulumix.Output[[]OwnerReference]{ + OutputState: i.ToOwnerReferenceArrayOutputWithContext(ctx).OutputState, + } +} + // This is not supported or used by Cloud Run. type OwnerReferenceOutput struct{ *pulumi.OutputState } @@ -5231,6 +6000,12 @@ func (o OwnerReferenceOutput) ToOwnerReferenceOutputWithContext(ctx context.Cont return o } +func (o OwnerReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[OwnerReference] { + return pulumix.Output[OwnerReference]{ + OutputState: o.OutputState, + } +} + // This is not supported or used by Cloud Run. func (o OwnerReferenceOutput) ApiVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v OwnerReference) *string { return v.ApiVersion }).(pulumi.StringPtrOutput) @@ -5275,6 +6050,12 @@ func (o OwnerReferenceArrayOutput) ToOwnerReferenceArrayOutputWithContext(ctx co return o } +func (o OwnerReferenceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OwnerReference] { + return pulumix.Output[[]OwnerReference]{ + OutputState: o.OutputState, + } +} + func (o OwnerReferenceArrayOutput) Index(i pulumi.IntInput) OwnerReferenceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OwnerReference { return vs[0].([]OwnerReference)[vs[1].(int)] @@ -5312,6 +6093,12 @@ func (o OwnerReferenceResponseOutput) ToOwnerReferenceResponseOutputWithContext( return o } +func (o OwnerReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OwnerReferenceResponse] { + return pulumix.Output[OwnerReferenceResponse]{ + OutputState: o.OutputState, + } +} + // This is not supported or used by Cloud Run. func (o OwnerReferenceResponseOutput) ApiVersion() pulumi.StringOutput { return o.ApplyT(func(v OwnerReferenceResponse) string { return v.ApiVersion }).(pulumi.StringOutput) @@ -5356,6 +6143,12 @@ func (o OwnerReferenceResponseArrayOutput) ToOwnerReferenceResponseArrayOutputWi return o } +func (o OwnerReferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OwnerReferenceResponse] { + return pulumix.Output[[]OwnerReferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o OwnerReferenceResponseArrayOutput) Index(i pulumi.IntInput) OwnerReferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OwnerReferenceResponse { return vs[0].([]OwnerReferenceResponse)[vs[1].(int)] @@ -5429,6 +6222,12 @@ func (i ProbeArgs) ToProbeOutputWithContext(ctx context.Context) ProbeOutput { return pulumi.ToOutputWithContext(ctx, i).(ProbeOutput) } +func (i ProbeArgs) ToOutput(ctx context.Context) pulumix.Output[Probe] { + return pulumix.Output[Probe]{ + OutputState: i.ToProbeOutputWithContext(ctx).OutputState, + } +} + func (i ProbeArgs) ToProbePtrOutput() ProbePtrOutput { return i.ToProbePtrOutputWithContext(context.Background()) } @@ -5470,6 +6269,12 @@ func (i *probePtrType) ToProbePtrOutputWithContext(ctx context.Context) ProbePtr return pulumi.ToOutputWithContext(ctx, i).(ProbePtrOutput) } +func (i *probePtrType) ToOutput(ctx context.Context) pulumix.Output[*Probe] { + return pulumix.Output[*Probe]{ + OutputState: i.ToProbePtrOutputWithContext(ctx).OutputState, + } +} + // Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. type ProbeOutput struct{ *pulumi.OutputState } @@ -5495,6 +6300,12 @@ func (o ProbeOutput) ToProbePtrOutputWithContext(ctx context.Context) ProbePtrOu }).(ProbePtrOutput) } +func (o ProbeOutput) ToOutput(ctx context.Context) pulumix.Output[Probe] { + return pulumix.Output[Probe]{ + OutputState: o.OutputState, + } +} + // Not supported by Cloud Run. func (o ProbeOutput) Exec() ExecActionPtrOutput { return o.ApplyT(func(v Probe) *ExecAction { return v.Exec }).(ExecActionPtrOutput) @@ -5554,6 +6365,12 @@ func (o ProbePtrOutput) ToProbePtrOutputWithContext(ctx context.Context) ProbePt return o } +func (o ProbePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Probe] { + return pulumix.Output[*Probe]{ + OutputState: o.OutputState, + } +} + func (o ProbePtrOutput) Elem() ProbeOutput { return o.ApplyT(func(v *Probe) Probe { if v != nil { @@ -5691,6 +6508,12 @@ func (o ProbeResponseOutput) ToProbeResponseOutputWithContext(ctx context.Contex return o } +func (o ProbeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProbeResponse] { + return pulumix.Output[ProbeResponse]{ + OutputState: o.OutputState, + } +} + // Not supported by Cloud Run. func (o ProbeResponseOutput) Exec() ExecActionResponseOutput { return o.ApplyT(func(v ProbeResponse) ExecActionResponse { return v.Exec }).(ExecActionResponseOutput) @@ -5771,6 +6594,12 @@ func (o ResourceRecordResponseOutput) ToResourceRecordResponseOutputWithContext( return o } +func (o ResourceRecordResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceRecordResponse] { + return pulumix.Output[ResourceRecordResponse]{ + OutputState: o.OutputState, + } +} + // Relative name of the object affected by this record. Only applicable for `CNAME` records. Example: 'www'. func (o ResourceRecordResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v ResourceRecordResponse) string { return v.Name }).(pulumi.StringOutput) @@ -5800,6 +6629,12 @@ func (o ResourceRecordResponseArrayOutput) ToResourceRecordResponseArrayOutputWi return o } +func (o ResourceRecordResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ResourceRecordResponse] { + return pulumix.Output[[]ResourceRecordResponse]{ + OutputState: o.OutputState, + } +} + func (o ResourceRecordResponseArrayOutput) Index(i pulumi.IntInput) ResourceRecordResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ResourceRecordResponse { return vs[0].([]ResourceRecordResponse)[vs[1].(int)] @@ -5845,6 +6680,12 @@ func (i ResourceRequirementsArgs) ToResourceRequirementsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ResourceRequirementsOutput) } +func (i ResourceRequirementsArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceRequirements] { + return pulumix.Output[ResourceRequirements]{ + OutputState: i.ToResourceRequirementsOutputWithContext(ctx).OutputState, + } +} + func (i ResourceRequirementsArgs) ToResourceRequirementsPtrOutput() ResourceRequirementsPtrOutput { return i.ToResourceRequirementsPtrOutputWithContext(context.Background()) } @@ -5886,6 +6727,12 @@ func (i *resourceRequirementsPtrType) ToResourceRequirementsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ResourceRequirementsPtrOutput) } +func (i *resourceRequirementsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceRequirements] { + return pulumix.Output[*ResourceRequirements]{ + OutputState: i.ToResourceRequirementsPtrOutputWithContext(ctx).OutputState, + } +} + // ResourceRequirements describes the compute resource requirements. type ResourceRequirementsOutput struct{ *pulumi.OutputState } @@ -5911,6 +6758,12 @@ func (o ResourceRequirementsOutput) ToResourceRequirementsPtrOutputWithContext(c }).(ResourceRequirementsPtrOutput) } +func (o ResourceRequirementsOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceRequirements] { + return pulumix.Output[ResourceRequirements]{ + OutputState: o.OutputState, + } +} + // Limits describes the maximum amount of compute resources allowed. Only 'cpu' and 'memory' keys are supported. * For supported 'cpu' values, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits func (o ResourceRequirementsOutput) Limits() pulumi.StringMapOutput { return o.ApplyT(func(v ResourceRequirements) map[string]string { return v.Limits }).(pulumi.StringMapOutput) @@ -5935,6 +6788,12 @@ func (o ResourceRequirementsPtrOutput) ToResourceRequirementsPtrOutputWithContex return o } +func (o ResourceRequirementsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceRequirements] { + return pulumix.Output[*ResourceRequirements]{ + OutputState: o.OutputState, + } +} + func (o ResourceRequirementsPtrOutput) Elem() ResourceRequirementsOutput { return o.ApplyT(func(v *ResourceRequirements) ResourceRequirements { if v != nil { @@ -5988,6 +6847,12 @@ func (o ResourceRequirementsResponseOutput) ToResourceRequirementsResponseOutput return o } +func (o ResourceRequirementsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceRequirementsResponse] { + return pulumix.Output[ResourceRequirementsResponse]{ + OutputState: o.OutputState, + } +} + // Limits describes the maximum amount of compute resources allowed. Only 'cpu' and 'memory' keys are supported. * For supported 'cpu' values, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits func (o ResourceRequirementsResponseOutput) Limits() pulumi.StringMapOutput { return o.ApplyT(func(v ResourceRequirementsResponse) map[string]string { return v.Limits }).(pulumi.StringMapOutput) @@ -6055,6 +6920,12 @@ func (i RevisionSpecArgs) ToRevisionSpecOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, i).(RevisionSpecOutput) } +func (i RevisionSpecArgs) ToOutput(ctx context.Context) pulumix.Output[RevisionSpec] { + return pulumix.Output[RevisionSpec]{ + OutputState: i.ToRevisionSpecOutputWithContext(ctx).OutputState, + } +} + func (i RevisionSpecArgs) ToRevisionSpecPtrOutput() RevisionSpecPtrOutput { return i.ToRevisionSpecPtrOutputWithContext(context.Background()) } @@ -6096,6 +6967,12 @@ func (i *revisionSpecPtrType) ToRevisionSpecPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RevisionSpecPtrOutput) } +func (i *revisionSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*RevisionSpec] { + return pulumix.Output[*RevisionSpec]{ + OutputState: i.ToRevisionSpecPtrOutputWithContext(ctx).OutputState, + } +} + // RevisionSpec holds the desired state of the Revision (from the client). type RevisionSpecOutput struct{ *pulumi.OutputState } @@ -6121,6 +6998,12 @@ func (o RevisionSpecOutput) ToRevisionSpecPtrOutputWithContext(ctx context.Conte }).(RevisionSpecPtrOutput) } +func (o RevisionSpecOutput) ToOutput(ctx context.Context) pulumix.Output[RevisionSpec] { + return pulumix.Output[RevisionSpec]{ + OutputState: o.OutputState, + } +} + // ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. If not specified, defaults to 80. func (o RevisionSpecOutput) ContainerConcurrency() pulumi.IntPtrOutput { return o.ApplyT(func(v RevisionSpec) *int { return v.ContainerConcurrency }).(pulumi.IntPtrOutput) @@ -6169,6 +7052,12 @@ func (o RevisionSpecPtrOutput) ToRevisionSpecPtrOutputWithContext(ctx context.Co return o } +func (o RevisionSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RevisionSpec] { + return pulumix.Output[*RevisionSpec]{ + OutputState: o.OutputState, + } +} + func (o RevisionSpecPtrOutput) Elem() RevisionSpecOutput { return o.ApplyT(func(v *RevisionSpec) RevisionSpec { if v != nil { @@ -6280,6 +7169,12 @@ func (o RevisionSpecResponseOutput) ToRevisionSpecResponseOutputWithContext(ctx return o } +func (o RevisionSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RevisionSpecResponse] { + return pulumix.Output[RevisionSpecResponse]{ + OutputState: o.OutputState, + } +} + // ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. If not specified, defaults to 80. func (o RevisionSpecResponseOutput) ContainerConcurrency() pulumi.IntOutput { return o.ApplyT(func(v RevisionSpecResponse) int { return v.ContainerConcurrency }).(pulumi.IntOutput) @@ -6353,6 +7248,12 @@ func (i RevisionTemplateArgs) ToRevisionTemplateOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RevisionTemplateOutput) } +func (i RevisionTemplateArgs) ToOutput(ctx context.Context) pulumix.Output[RevisionTemplate] { + return pulumix.Output[RevisionTemplate]{ + OutputState: i.ToRevisionTemplateOutputWithContext(ctx).OutputState, + } +} + func (i RevisionTemplateArgs) ToRevisionTemplatePtrOutput() RevisionTemplatePtrOutput { return i.ToRevisionTemplatePtrOutputWithContext(context.Background()) } @@ -6394,6 +7295,12 @@ func (i *revisionTemplatePtrType) ToRevisionTemplatePtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(RevisionTemplatePtrOutput) } +func (i *revisionTemplatePtrType) ToOutput(ctx context.Context) pulumix.Output[*RevisionTemplate] { + return pulumix.Output[*RevisionTemplate]{ + OutputState: i.ToRevisionTemplatePtrOutputWithContext(ctx).OutputState, + } +} + // RevisionTemplateSpec describes the data a revision should have when created from a template. type RevisionTemplateOutput struct{ *pulumi.OutputState } @@ -6419,6 +7326,12 @@ func (o RevisionTemplateOutput) ToRevisionTemplatePtrOutputWithContext(ctx conte }).(RevisionTemplatePtrOutput) } +func (o RevisionTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[RevisionTemplate] { + return pulumix.Output[RevisionTemplate]{ + OutputState: o.OutputState, + } +} + // Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. The following annotation keys set properties of the created revision: * `autoscaling.knative.dev/minScale` sets the minimum number of instances. * `autoscaling.knative.dev/maxScale` sets the maximum number of instances. * `run.googleapis.com/cloudsql-instances` sets Cloud SQL connections. Multiple values should be comma separated. * `run.googleapis.com/vpc-access-connector` sets a Serverless VPC Access connector. * `run.googleapis.com/vpc-access-egress` sets VPC egress. Supported values are `all-traffic`, `all` (deprecated), and `private-ranges-only`. `all-traffic` and `all` provide the same functionality. `all` is deprecated but will continue to be supported. Prefer `all-traffic`. func (o RevisionTemplateOutput) Metadata() ObjectMetaPtrOutput { return o.ApplyT(func(v RevisionTemplate) *ObjectMeta { return v.Metadata }).(ObjectMetaPtrOutput) @@ -6443,6 +7356,12 @@ func (o RevisionTemplatePtrOutput) ToRevisionTemplatePtrOutputWithContext(ctx co return o } +func (o RevisionTemplatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RevisionTemplate] { + return pulumix.Output[*RevisionTemplate]{ + OutputState: o.OutputState, + } +} + func (o RevisionTemplatePtrOutput) Elem() RevisionTemplateOutput { return o.ApplyT(func(v *RevisionTemplate) RevisionTemplate { if v != nil { @@ -6496,6 +7415,12 @@ func (o RevisionTemplateResponseOutput) ToRevisionTemplateResponseOutputWithCont return o } +func (o RevisionTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RevisionTemplateResponse] { + return pulumix.Output[RevisionTemplateResponse]{ + OutputState: o.OutputState, + } +} + // Optional metadata for this Revision, including labels and annotations. Name will be generated by the Configuration. The following annotation keys set properties of the created revision: * `autoscaling.knative.dev/minScale` sets the minimum number of instances. * `autoscaling.knative.dev/maxScale` sets the maximum number of instances. * `run.googleapis.com/cloudsql-instances` sets Cloud SQL connections. Multiple values should be comma separated. * `run.googleapis.com/vpc-access-connector` sets a Serverless VPC Access connector. * `run.googleapis.com/vpc-access-egress` sets VPC egress. Supported values are `all-traffic`, `all` (deprecated), and `private-ranges-only`. `all-traffic` and `all` provide the same functionality. `all` is deprecated but will continue to be supported. Prefer `all-traffic`. func (o RevisionTemplateResponseOutput) Metadata() ObjectMetaResponseOutput { return o.ApplyT(func(v RevisionTemplateResponse) ObjectMetaResponse { return v.Metadata }).(ObjectMetaResponseOutput) @@ -6549,6 +7474,12 @@ func (i SecretEnvSourceArgs) ToSecretEnvSourceOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecretEnvSourceOutput) } +func (i SecretEnvSourceArgs) ToOutput(ctx context.Context) pulumix.Output[SecretEnvSource] { + return pulumix.Output[SecretEnvSource]{ + OutputState: i.ToSecretEnvSourceOutputWithContext(ctx).OutputState, + } +} + func (i SecretEnvSourceArgs) ToSecretEnvSourcePtrOutput() SecretEnvSourcePtrOutput { return i.ToSecretEnvSourcePtrOutputWithContext(context.Background()) } @@ -6590,6 +7521,12 @@ func (i *secretEnvSourcePtrType) ToSecretEnvSourcePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(SecretEnvSourcePtrOutput) } +func (i *secretEnvSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretEnvSource] { + return pulumix.Output[*SecretEnvSource]{ + OutputState: i.ToSecretEnvSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables. type SecretEnvSourceOutput struct{ *pulumi.OutputState } @@ -6615,6 +7552,12 @@ func (o SecretEnvSourceOutput) ToSecretEnvSourcePtrOutputWithContext(ctx context }).(SecretEnvSourcePtrOutput) } +func (o SecretEnvSourceOutput) ToOutput(ctx context.Context) pulumix.Output[SecretEnvSource] { + return pulumix.Output[SecretEnvSource]{ + OutputState: o.OutputState, + } +} + // This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. func (o SecretEnvSourceOutput) LocalObjectReference() LocalObjectReferencePtrOutput { return o.ApplyT(func(v SecretEnvSource) *LocalObjectReference { return v.LocalObjectReference }).(LocalObjectReferencePtrOutput) @@ -6644,6 +7587,12 @@ func (o SecretEnvSourcePtrOutput) ToSecretEnvSourcePtrOutputWithContext(ctx cont return o } +func (o SecretEnvSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretEnvSource] { + return pulumix.Output[*SecretEnvSource]{ + OutputState: o.OutputState, + } +} + func (o SecretEnvSourcePtrOutput) Elem() SecretEnvSourceOutput { return o.ApplyT(func(v *SecretEnvSource) SecretEnvSource { if v != nil { @@ -6709,6 +7658,12 @@ func (o SecretEnvSourceResponseOutput) ToSecretEnvSourceResponseOutputWithContex return o } +func (o SecretEnvSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretEnvSourceResponse] { + return pulumix.Output[SecretEnvSourceResponse]{ + OutputState: o.OutputState, + } +} + // This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead. func (o SecretEnvSourceResponseOutput) LocalObjectReference() LocalObjectReferenceResponseOutput { return o.ApplyT(func(v SecretEnvSourceResponse) LocalObjectReferenceResponse { return v.LocalObjectReference }).(LocalObjectReferenceResponseOutput) @@ -6771,6 +7726,12 @@ func (i SecretKeySelectorArgs) ToSecretKeySelectorOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SecretKeySelectorOutput) } +func (i SecretKeySelectorArgs) ToOutput(ctx context.Context) pulumix.Output[SecretKeySelector] { + return pulumix.Output[SecretKeySelector]{ + OutputState: i.ToSecretKeySelectorOutputWithContext(ctx).OutputState, + } +} + func (i SecretKeySelectorArgs) ToSecretKeySelectorPtrOutput() SecretKeySelectorPtrOutput { return i.ToSecretKeySelectorPtrOutputWithContext(context.Background()) } @@ -6812,6 +7773,12 @@ func (i *secretKeySelectorPtrType) ToSecretKeySelectorPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(SecretKeySelectorPtrOutput) } +func (i *secretKeySelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretKeySelector] { + return pulumix.Output[*SecretKeySelector]{ + OutputState: i.ToSecretKeySelectorPtrOutputWithContext(ctx).OutputState, + } +} + // SecretKeySelector selects a key of a Secret. type SecretKeySelectorOutput struct{ *pulumi.OutputState } @@ -6837,6 +7804,12 @@ func (o SecretKeySelectorOutput) ToSecretKeySelectorPtrOutputWithContext(ctx con }).(SecretKeySelectorPtrOutput) } +func (o SecretKeySelectorOutput) ToOutput(ctx context.Context) pulumix.Output[SecretKeySelector] { + return pulumix.Output[SecretKeySelector]{ + OutputState: o.OutputState, + } +} + // A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. func (o SecretKeySelectorOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SecretKeySelector) string { return v.Key }).(pulumi.StringOutput) @@ -6871,6 +7844,12 @@ func (o SecretKeySelectorPtrOutput) ToSecretKeySelectorPtrOutputWithContext(ctx return o } +func (o SecretKeySelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretKeySelector] { + return pulumix.Output[*SecretKeySelector]{ + OutputState: o.OutputState, + } +} + func (o SecretKeySelectorPtrOutput) Elem() SecretKeySelectorOutput { return o.ApplyT(func(v *SecretKeySelector) SecretKeySelector { if v != nil { @@ -6948,6 +7927,12 @@ func (o SecretKeySelectorResponseOutput) ToSecretKeySelectorResponseOutputWithCo return o } +func (o SecretKeySelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretKeySelectorResponse] { + return pulumix.Output[SecretKeySelectorResponse]{ + OutputState: o.OutputState, + } +} + // A Cloud Secret Manager secret version. Must be 'latest' for the latest version, an integer for a specific version, or a version alias. The key of the secret to select from. Must be a valid secret key. func (o SecretKeySelectorResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SecretKeySelectorResponse) string { return v.Key }).(pulumi.StringOutput) @@ -7015,6 +8000,12 @@ func (i SecretVolumeSourceArgs) ToSecretVolumeSourceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretVolumeSourceOutput) } +func (i SecretVolumeSourceArgs) ToOutput(ctx context.Context) pulumix.Output[SecretVolumeSource] { + return pulumix.Output[SecretVolumeSource]{ + OutputState: i.ToSecretVolumeSourceOutputWithContext(ctx).OutputState, + } +} + func (i SecretVolumeSourceArgs) ToSecretVolumeSourcePtrOutput() SecretVolumeSourcePtrOutput { return i.ToSecretVolumeSourcePtrOutputWithContext(context.Background()) } @@ -7056,6 +8047,12 @@ func (i *secretVolumeSourcePtrType) ToSecretVolumeSourcePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretVolumeSourcePtrOutput) } +func (i *secretVolumeSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretVolumeSource] { + return pulumix.Output[*SecretVolumeSource]{ + OutputState: i.ToSecretVolumeSourcePtrOutputWithContext(ctx).OutputState, + } +} + // A volume representing a secret stored in Google Secret Manager. The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. type SecretVolumeSourceOutput struct{ *pulumi.OutputState } @@ -7081,6 +8078,12 @@ func (o SecretVolumeSourceOutput) ToSecretVolumeSourcePtrOutputWithContext(ctx c }).(SecretVolumeSourcePtrOutput) } +func (o SecretVolumeSourceOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVolumeSource] { + return pulumix.Output[SecretVolumeSource]{ + OutputState: o.OutputState, + } +} + // Integer representation of mode bits to use on created files by default. Must be a value between 01 and 0777 (octal). If 0 or not set, it will default to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. func (o SecretVolumeSourceOutput) DefaultMode() pulumi.IntPtrOutput { return o.ApplyT(func(v SecretVolumeSource) *int { return v.DefaultMode }).(pulumi.IntPtrOutput) @@ -7115,6 +8118,12 @@ func (o SecretVolumeSourcePtrOutput) ToSecretVolumeSourcePtrOutputWithContext(ct return o } +func (o SecretVolumeSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretVolumeSource] { + return pulumix.Output[*SecretVolumeSource]{ + OutputState: o.OutputState, + } +} + func (o SecretVolumeSourcePtrOutput) Elem() SecretVolumeSourceOutput { return o.ApplyT(func(v *SecretVolumeSource) SecretVolumeSource { if v != nil { @@ -7192,6 +8201,12 @@ func (o SecretVolumeSourceResponseOutput) ToSecretVolumeSourceResponseOutputWith return o } +func (o SecretVolumeSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretVolumeSourceResponse] { + return pulumix.Output[SecretVolumeSourceResponse]{ + OutputState: o.OutputState, + } +} + // Integer representation of mode bits to use on created files by default. Must be a value between 01 and 0777 (octal). If 0 or not set, it will default to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. func (o SecretVolumeSourceResponseOutput) DefaultMode() pulumi.IntOutput { return o.ApplyT(func(v SecretVolumeSourceResponse) int { return v.DefaultMode }).(pulumi.IntOutput) @@ -7247,6 +8262,12 @@ func (i SecurityContextArgs) ToSecurityContextOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecurityContextOutput) } +func (i SecurityContextArgs) ToOutput(ctx context.Context) pulumix.Output[SecurityContext] { + return pulumix.Output[SecurityContext]{ + OutputState: i.ToSecurityContextOutputWithContext(ctx).OutputState, + } +} + func (i SecurityContextArgs) ToSecurityContextPtrOutput() SecurityContextPtrOutput { return i.ToSecurityContextPtrOutputWithContext(context.Background()) } @@ -7288,6 +8309,12 @@ func (i *securityContextPtrType) ToSecurityContextPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(SecurityContextPtrOutput) } +func (i *securityContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecurityContext] { + return pulumix.Output[*SecurityContext]{ + OutputState: i.ToSecurityContextPtrOutputWithContext(ctx).OutputState, + } +} + // Not supported by Cloud Run. SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. type SecurityContextOutput struct{ *pulumi.OutputState } @@ -7313,6 +8340,12 @@ func (o SecurityContextOutput) ToSecurityContextPtrOutputWithContext(ctx context }).(SecurityContextPtrOutput) } +func (o SecurityContextOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityContext] { + return pulumix.Output[SecurityContext]{ + OutputState: o.OutputState, + } +} + // The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. func (o SecurityContextOutput) RunAsUser() pulumi.IntPtrOutput { return o.ApplyT(func(v SecurityContext) *int { return v.RunAsUser }).(pulumi.IntPtrOutput) @@ -7332,6 +8365,12 @@ func (o SecurityContextPtrOutput) ToSecurityContextPtrOutputWithContext(ctx cont return o } +func (o SecurityContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecurityContext] { + return pulumix.Output[*SecurityContext]{ + OutputState: o.OutputState, + } +} + func (o SecurityContextPtrOutput) Elem() SecurityContextOutput { return o.ApplyT(func(v *SecurityContext) SecurityContext { if v != nil { @@ -7373,6 +8412,12 @@ func (o SecurityContextResponseOutput) ToSecurityContextResponseOutputWithContex return o } +func (o SecurityContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SecurityContextResponse] { + return pulumix.Output[SecurityContextResponse]{ + OutputState: o.OutputState, + } +} + // The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. func (o SecurityContextResponseOutput) RunAsUser() pulumi.IntOutput { return o.ApplyT(func(v SecurityContextResponse) int { return v.RunAsUser }).(pulumi.IntOutput) @@ -7417,6 +8462,12 @@ func (i ServiceSpecArgs) ToServiceSpecOutputWithContext(ctx context.Context) Ser return pulumi.ToOutputWithContext(ctx, i).(ServiceSpecOutput) } +func (i ServiceSpecArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceSpec] { + return pulumix.Output[ServiceSpec]{ + OutputState: i.ToServiceSpecOutputWithContext(ctx).OutputState, + } +} + func (i ServiceSpecArgs) ToServiceSpecPtrOutput() ServiceSpecPtrOutput { return i.ToServiceSpecPtrOutputWithContext(context.Background()) } @@ -7458,6 +8509,12 @@ func (i *serviceSpecPtrType) ToServiceSpecPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceSpecPtrOutput) } +func (i *serviceSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceSpec] { + return pulumix.Output[*ServiceSpec]{ + OutputState: i.ToServiceSpecPtrOutputWithContext(ctx).OutputState, + } +} + // ServiceSpec holds the desired state of the Route (from the client), which is used to manipulate the underlying Route and Configuration(s). type ServiceSpecOutput struct{ *pulumi.OutputState } @@ -7483,6 +8540,12 @@ func (o ServiceSpecOutput) ToServiceSpecPtrOutputWithContext(ctx context.Context }).(ServiceSpecPtrOutput) } +func (o ServiceSpecOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceSpec] { + return pulumix.Output[ServiceSpec]{ + OutputState: o.OutputState, + } +} + // Holds the latest specification for the Revision to be stamped out. func (o ServiceSpecOutput) Template() RevisionTemplatePtrOutput { return o.ApplyT(func(v ServiceSpec) *RevisionTemplate { return v.Template }).(RevisionTemplatePtrOutput) @@ -7507,6 +8570,12 @@ func (o ServiceSpecPtrOutput) ToServiceSpecPtrOutputWithContext(ctx context.Cont return o } +func (o ServiceSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceSpec] { + return pulumix.Output[*ServiceSpec]{ + OutputState: o.OutputState, + } +} + func (o ServiceSpecPtrOutput) Elem() ServiceSpecOutput { return o.ApplyT(func(v *ServiceSpec) ServiceSpec { if v != nil { @@ -7560,6 +8629,12 @@ func (o ServiceSpecResponseOutput) ToServiceSpecResponseOutputWithContext(ctx co return o } +func (o ServiceSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceSpecResponse] { + return pulumix.Output[ServiceSpecResponse]{ + OutputState: o.OutputState, + } +} + // Holds the latest specification for the Revision to be stamped out. func (o ServiceSpecResponseOutput) Template() RevisionTemplateResponseOutput { return o.ApplyT(func(v ServiceSpecResponse) RevisionTemplateResponse { return v.Template }).(RevisionTemplateResponseOutput) @@ -7621,6 +8696,12 @@ func (o ServiceStatusResponseOutput) ToServiceStatusResponseOutputWithContext(ct return o } +func (o ServiceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceStatusResponse] { + return pulumix.Output[ServiceStatusResponse]{ + OutputState: o.OutputState, + } +} + // Similar to url, information on where the service is available on HTTP. func (o ServiceStatusResponseOutput) Address() AddressableResponseOutput { return o.ApplyT(func(v ServiceStatusResponse) AddressableResponse { return v.Address }).(AddressableResponseOutput) @@ -7695,6 +8776,12 @@ func (i TCPSocketActionArgs) ToTCPSocketActionOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TCPSocketActionOutput) } +func (i TCPSocketActionArgs) ToOutput(ctx context.Context) pulumix.Output[TCPSocketAction] { + return pulumix.Output[TCPSocketAction]{ + OutputState: i.ToTCPSocketActionOutputWithContext(ctx).OutputState, + } +} + func (i TCPSocketActionArgs) ToTCPSocketActionPtrOutput() TCPSocketActionPtrOutput { return i.ToTCPSocketActionPtrOutputWithContext(context.Background()) } @@ -7736,6 +8823,12 @@ func (i *tcpsocketActionPtrType) ToTCPSocketActionPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TCPSocketActionPtrOutput) } +func (i *tcpsocketActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*TCPSocketAction] { + return pulumix.Output[*TCPSocketAction]{ + OutputState: i.ToTCPSocketActionPtrOutputWithContext(ctx).OutputState, + } +} + // TCPSocketAction describes an action based on opening a socket type TCPSocketActionOutput struct{ *pulumi.OutputState } @@ -7761,6 +8854,12 @@ func (o TCPSocketActionOutput) ToTCPSocketActionPtrOutputWithContext(ctx context }).(TCPSocketActionPtrOutput) } +func (o TCPSocketActionOutput) ToOutput(ctx context.Context) pulumix.Output[TCPSocketAction] { + return pulumix.Output[TCPSocketAction]{ + OutputState: o.OutputState, + } +} + // Not supported by Cloud Run. func (o TCPSocketActionOutput) Host() pulumi.StringPtrOutput { return o.ApplyT(func(v TCPSocketAction) *string { return v.Host }).(pulumi.StringPtrOutput) @@ -7785,6 +8884,12 @@ func (o TCPSocketActionPtrOutput) ToTCPSocketActionPtrOutputWithContext(ctx cont return o } +func (o TCPSocketActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TCPSocketAction] { + return pulumix.Output[*TCPSocketAction]{ + OutputState: o.OutputState, + } +} + func (o TCPSocketActionPtrOutput) Elem() TCPSocketActionOutput { return o.ApplyT(func(v *TCPSocketAction) TCPSocketAction { if v != nil { @@ -7838,6 +8943,12 @@ func (o TCPSocketActionResponseOutput) ToTCPSocketActionResponseOutputWithContex return o } +func (o TCPSocketActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TCPSocketActionResponse] { + return pulumix.Output[TCPSocketActionResponse]{ + OutputState: o.OutputState, + } +} + // Not supported by Cloud Run. func (o TCPSocketActionResponseOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v TCPSocketActionResponse) string { return v.Host }).(pulumi.StringOutput) @@ -7891,6 +9002,12 @@ func (o TaskSpecResponseOutput) ToTaskSpecResponseOutputWithContext(ctx context. return o } +func (o TaskSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TaskSpecResponse] { + return pulumix.Output[TaskSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. List of containers belonging to the task. We disallow a number of fields on this Container. Only a single container may be provided. func (o TaskSpecResponseOutput) Containers() ContainerResponseArrayOutput { return o.ApplyT(func(v TaskSpecResponse) []ContainerResponse { return v.Containers }).(ContainerResponseArrayOutput) @@ -7943,6 +9060,12 @@ func (o TaskTemplateSpecResponseOutput) ToTaskTemplateSpecResponseOutputWithCont return o } +func (o TaskTemplateSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TaskTemplateSpecResponse] { + return pulumix.Output[TaskTemplateSpecResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Specification of the desired behavior of the task. func (o TaskTemplateSpecResponseOutput) Spec() TaskSpecResponseOutput { return o.ApplyT(func(v TaskTemplateSpecResponse) TaskSpecResponse { return v.Spec }).(TaskSpecResponseOutput) @@ -8003,6 +9126,12 @@ func (i TrafficTargetArgs) ToTrafficTargetOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TrafficTargetOutput) } +func (i TrafficTargetArgs) ToOutput(ctx context.Context) pulumix.Output[TrafficTarget] { + return pulumix.Output[TrafficTarget]{ + OutputState: i.ToTrafficTargetOutputWithContext(ctx).OutputState, + } +} + // TrafficTargetArrayInput is an input type that accepts TrafficTargetArray and TrafficTargetArrayOutput values. // You can construct a concrete instance of `TrafficTargetArrayInput` via: // @@ -8028,6 +9157,12 @@ func (i TrafficTargetArray) ToTrafficTargetArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TrafficTargetArrayOutput) } +func (i TrafficTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]TrafficTarget] { + return pulumix.Output[[]TrafficTarget]{ + OutputState: i.ToTrafficTargetArrayOutputWithContext(ctx).OutputState, + } +} + // TrafficTarget holds a single entry of the routing table for a Route. type TrafficTargetOutput struct{ *pulumi.OutputState } @@ -8043,6 +9178,12 @@ func (o TrafficTargetOutput) ToTrafficTargetOutputWithContext(ctx context.Contex return o } +func (o TrafficTargetOutput) ToOutput(ctx context.Context) pulumix.Output[TrafficTarget] { + return pulumix.Output[TrafficTarget]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Not supported in Cloud Run. It must be empty. // // Deprecated: [Deprecated] Not supported in Cloud Run. It must be empty. @@ -8084,6 +9225,12 @@ func (o TrafficTargetArrayOutput) ToTrafficTargetArrayOutputWithContext(ctx cont return o } +func (o TrafficTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TrafficTarget] { + return pulumix.Output[[]TrafficTarget]{ + OutputState: o.OutputState, + } +} + func (o TrafficTargetArrayOutput) Index(i pulumi.IntInput) TrafficTargetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrafficTarget { return vs[0].([]TrafficTarget)[vs[1].(int)] @@ -8123,6 +9270,12 @@ func (o TrafficTargetResponseOutput) ToTrafficTargetResponseOutputWithContext(ct return o } +func (o TrafficTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TrafficTargetResponse] { + return pulumix.Output[TrafficTargetResponse]{ + OutputState: o.OutputState, + } +} + // [Deprecated] Not supported in Cloud Run. It must be empty. // // Deprecated: [Deprecated] Not supported in Cloud Run. It must be empty. @@ -8169,6 +9322,12 @@ func (o TrafficTargetResponseArrayOutput) ToTrafficTargetResponseArrayOutputWith return o } +func (o TrafficTargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TrafficTargetResponse] { + return pulumix.Output[[]TrafficTargetResponse]{ + OutputState: o.OutputState, + } +} + func (o TrafficTargetResponseArrayOutput) Index(i pulumi.IntInput) TrafficTargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TrafficTargetResponse { return vs[0].([]TrafficTargetResponse)[vs[1].(int)] @@ -8222,6 +9381,12 @@ func (i VolumeArgs) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput return pulumi.ToOutputWithContext(ctx, i).(VolumeOutput) } +func (i VolumeArgs) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: i.ToVolumeOutputWithContext(ctx).OutputState, + } +} + // VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. // You can construct a concrete instance of `VolumeArrayInput` via: // @@ -8247,6 +9412,12 @@ func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeA return pulumi.ToOutputWithContext(ctx, i).(VolumeArrayOutput) } +func (i VolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: i.ToVolumeArrayOutputWithContext(ctx).OutputState, + } +} + // Volume represents a named volume in a container. type VolumeOutput struct{ *pulumi.OutputState } @@ -8262,6 +9433,12 @@ func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutpu return o } +func (o VolumeOutput) ToOutput(ctx context.Context) pulumix.Output[Volume] { + return pulumix.Output[Volume]{ + OutputState: o.OutputState, + } +} + // Not supported in Cloud Run. func (o VolumeOutput) ConfigMap() ConfigMapVolumeSourcePtrOutput { return o.ApplyT(func(v Volume) *ConfigMapVolumeSource { return v.ConfigMap }).(ConfigMapVolumeSourcePtrOutput) @@ -8296,6 +9473,12 @@ func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) V return o } +func (o VolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Volume] { + return pulumix.Output[[]Volume]{ + OutputState: o.OutputState, + } +} + func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Volume { return vs[0].([]Volume)[vs[1].(int)] @@ -8349,6 +9532,12 @@ func (i VolumeMountArgs) ToVolumeMountOutputWithContext(ctx context.Context) Vol return pulumi.ToOutputWithContext(ctx, i).(VolumeMountOutput) } +func (i VolumeMountArgs) ToOutput(ctx context.Context) pulumix.Output[VolumeMount] { + return pulumix.Output[VolumeMount]{ + OutputState: i.ToVolumeMountOutputWithContext(ctx).OutputState, + } +} + // VolumeMountArrayInput is an input type that accepts VolumeMountArray and VolumeMountArrayOutput values. // You can construct a concrete instance of `VolumeMountArrayInput` via: // @@ -8374,6 +9563,12 @@ func (i VolumeMountArray) ToVolumeMountArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(VolumeMountArrayOutput) } +func (i VolumeMountArray) ToOutput(ctx context.Context) pulumix.Output[[]VolumeMount] { + return pulumix.Output[[]VolumeMount]{ + OutputState: i.ToVolumeMountArrayOutputWithContext(ctx).OutputState, + } +} + // VolumeMount describes a mounting of a Volume within a container. type VolumeMountOutput struct{ *pulumi.OutputState } @@ -8389,6 +9584,12 @@ func (o VolumeMountOutput) ToVolumeMountOutputWithContext(ctx context.Context) V return o } +func (o VolumeMountOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeMount] { + return pulumix.Output[VolumeMount]{ + OutputState: o.OutputState, + } +} + // Path within the container at which the volume should be mounted. Must not contain ':'. func (o VolumeMountOutput) MountPath() pulumi.StringOutput { return o.ApplyT(func(v VolumeMount) string { return v.MountPath }).(pulumi.StringOutput) @@ -8423,6 +9624,12 @@ func (o VolumeMountArrayOutput) ToVolumeMountArrayOutputWithContext(ctx context. return o } +func (o VolumeMountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VolumeMount] { + return pulumix.Output[[]VolumeMount]{ + OutputState: o.OutputState, + } +} + func (o VolumeMountArrayOutput) Index(i pulumi.IntInput) VolumeMountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeMount { return vs[0].([]VolumeMount)[vs[1].(int)] @@ -8456,6 +9663,12 @@ func (o VolumeMountResponseOutput) ToVolumeMountResponseOutputWithContext(ctx co return o } +func (o VolumeMountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeMountResponse] { + return pulumix.Output[VolumeMountResponse]{ + OutputState: o.OutputState, + } +} + // Path within the container at which the volume should be mounted. Must not contain ':'. func (o VolumeMountResponseOutput) MountPath() pulumi.StringOutput { return o.ApplyT(func(v VolumeMountResponse) string { return v.MountPath }).(pulumi.StringOutput) @@ -8490,6 +9703,12 @@ func (o VolumeMountResponseArrayOutput) ToVolumeMountResponseArrayOutputWithCont return o } +func (o VolumeMountResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VolumeMountResponse] { + return pulumix.Output[[]VolumeMountResponse]{ + OutputState: o.OutputState, + } +} + func (o VolumeMountResponseArrayOutput) Index(i pulumi.IntInput) VolumeMountResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeMountResponse { return vs[0].([]VolumeMountResponse)[vs[1].(int)] @@ -8523,6 +9742,12 @@ func (o VolumeResponseOutput) ToVolumeResponseOutputWithContext(ctx context.Cont return o } +func (o VolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VolumeResponse] { + return pulumix.Output[VolumeResponse]{ + OutputState: o.OutputState, + } +} + // Not supported in Cloud Run. func (o VolumeResponseOutput) ConfigMap() ConfigMapVolumeSourceResponseOutput { return o.ApplyT(func(v VolumeResponse) ConfigMapVolumeSourceResponse { return v.ConfigMap }).(ConfigMapVolumeSourceResponseOutput) @@ -8557,6 +9782,12 @@ func (o VolumeResponseArrayOutput) ToVolumeResponseArrayOutputWithContext(ctx co return o } +func (o VolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VolumeResponse] { + return pulumix.Output[[]VolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o VolumeResponseArrayOutput) Index(i pulumi.IntInput) VolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VolumeResponse { return vs[0].([]VolumeResponse)[vs[1].(int)] diff --git a/sdk/go/google/run/v1/service.go b/sdk/go/google/run/v1/service.go index c20b4c5c67..5106787d3c 100644 --- a/sdk/go/google/run/v1/service.go +++ b/sdk/go/google/run/v1/service.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Service. Service creation will trigger a new deployment. Use GetService, and check service.status to determine if the Service is ready. @@ -130,6 +131,12 @@ func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput return pulumi.ToOutputWithContext(ctx, i).(ServiceOutput) } +func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: i.ToServiceOutputWithContext(ctx).OutputState, + } +} + type ServiceOutput struct{ *pulumi.OutputState } func (ServiceOutput) ElementType() reflect.Type { @@ -144,6 +151,12 @@ func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOu return o } +func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: o.OutputState, + } +} + // The API version for this call. It must be "serving.knative.dev/v1". func (o ServiceOutput) ApiVersion() pulumi.StringOutput { return o.ApplyT(func(v *Service) pulumi.StringOutput { return v.ApiVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/run/v1/serviceIamBinding.go b/sdk/go/google/run/v1/serviceIamBinding.go index 7eb419c93f..cb216dc75d 100644 --- a/sdk/go/google/run/v1/serviceIamBinding.go +++ b/sdk/go/google/run/v1/serviceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified Service. Overwrites any existing policy. @@ -135,6 +136,12 @@ func (i *ServiceIamBinding) ToServiceIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ServiceIamBindingOutput) } +func (i *ServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: i.ToServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceIamBindingOutput struct{ *pulumi.OutputState } func (ServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamBindingOutput) ToServiceIamBindingOutputWithContext(ctx contex return o } +func (o ServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/run/v1/serviceIamMember.go b/sdk/go/google/run/v1/serviceIamMember.go index 0ff8fa646f..65ded19b6f 100644 --- a/sdk/go/google/run/v1/serviceIamMember.go +++ b/sdk/go/google/run/v1/serviceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified Service. Overwrites any existing policy. @@ -135,6 +136,12 @@ func (i *ServiceIamMember) ToServiceIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamMemberOutput) } +func (i *ServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: i.ToServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceIamMemberOutput struct{ *pulumi.OutputState } func (ServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamMemberOutput) ToServiceIamMemberOutputWithContext(ctx context. return o } +func (o ServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/run/v1/serviceIamPolicy.go b/sdk/go/google/run/v1/serviceIamPolicy.go index b01eaa9c61..b5f2460030 100644 --- a/sdk/go/google/run/v1/serviceIamPolicy.go +++ b/sdk/go/google/run/v1/serviceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified Service. Overwrites any existing policy. @@ -135,6 +136,12 @@ func (i *ServiceIamPolicy) ToServiceIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamPolicyOutput) } +func (i *ServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: i.ToServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamPolicyOutput) ToServiceIamPolicyOutputWithContext(ctx context. return o } +func (o ServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/run/v2/getJob.go b/sdk/go/google/run/v2/getJob.go index 8529035f58..f70677a0d3 100644 --- a/sdk/go/google/run/v2/getJob.go +++ b/sdk/go/google/run/v2/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a Job. @@ -116,6 +117,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. This field follows Kubernetes annotations' namespacing, limits, and rules. func (o LookupJobResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupJobResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/run/v2/getJobIamPolicy.go b/sdk/go/google/run/v2/getJobIamPolicy.go index 5b8894da7b..322a4dd763 100644 --- a/sdk/go/google/run/v2/getJobIamPolicy.go +++ b/sdk/go/google/run/v2/getJobIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM Access Control policy currently in effect for the given Job. This result does not include any inherited policies. @@ -78,6 +79,12 @@ func (o LookupJobIamPolicyResultOutput) ToLookupJobIamPolicyResultOutputWithCont return o } +func (o LookupJobIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobIamPolicyResult] { + return pulumix.Output[LookupJobIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupJobIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupJobIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/run/v2/getService.go b/sdk/go/google/run/v2/getService.go index e52bd83da0..84a8cc8dd2 100644 --- a/sdk/go/google/run/v2/getService.go +++ b/sdk/go/google/run/v2/getService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a Service. @@ -126,6 +127,12 @@ func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx co return o } +func (o LookupServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceResult] { + return pulumix.Output[LookupServiceResult]{ + OutputState: o.OutputState, + } +} + // Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules. func (o LookupServiceResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupServiceResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/run/v2/getServiceIamPolicy.go b/sdk/go/google/run/v2/getServiceIamPolicy.go index 663f789059..72d6fdd854 100644 --- a/sdk/go/google/run/v2/getServiceIamPolicy.go +++ b/sdk/go/google/run/v2/getServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM Access Control policy currently in effect for the given Cloud Run Service. This result does not include any inherited policies. @@ -78,6 +79,12 @@ func (o LookupServiceIamPolicyResultOutput) ToLookupServiceIamPolicyResultOutput return o } +func (o LookupServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceIamPolicyResult] { + return pulumix.Output[LookupServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceIamPolicyResultOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceIamPolicyResult) []GoogleIamV1AuditConfigResponse { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/run/v2/job.go b/sdk/go/google/run/v2/job.go index ec7651ee11..777360c829 100644 --- a/sdk/go/google/run/v2/job.go +++ b/sdk/go/google/run/v2/job.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Job. @@ -191,6 +192,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -205,6 +212,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected on new resources. All system annotations in v1 now have a corresponding field in v2 Job. This field follows Kubernetes annotations' namespacing, limits, and rules. func (o JobOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Job) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/run/v2/jobIamBinding.go b/sdk/go/google/run/v2/jobIamBinding.go index bcfd9cf3da..2dc7106af4 100644 --- a/sdk/go/google/run/v2/jobIamBinding.go +++ b/sdk/go/google/run/v2/jobIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified Job. Overwrites any existing policy. @@ -140,6 +141,12 @@ func (i *JobIamBinding) ToJobIamBindingOutputWithContext(ctx context.Context) Jo return pulumi.ToOutputWithContext(ctx, i).(JobIamBindingOutput) } +func (i *JobIamBinding) ToOutput(ctx context.Context) pulumix.Output[*JobIamBinding] { + return pulumix.Output[*JobIamBinding]{ + OutputState: i.ToJobIamBindingOutputWithContext(ctx).OutputState, + } +} + type JobIamBindingOutput struct{ *pulumi.OutputState } func (JobIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o JobIamBindingOutput) ToJobIamBindingOutputWithContext(ctx context.Contex return o } +func (o JobIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*JobIamBinding] { + return pulumix.Output[*JobIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o JobIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *JobIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/run/v2/jobIamMember.go b/sdk/go/google/run/v2/jobIamMember.go index 61cd0b4c4b..96716640a9 100644 --- a/sdk/go/google/run/v2/jobIamMember.go +++ b/sdk/go/google/run/v2/jobIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified Job. Overwrites any existing policy. @@ -140,6 +141,12 @@ func (i *JobIamMember) ToJobIamMemberOutputWithContext(ctx context.Context) JobI return pulumi.ToOutputWithContext(ctx, i).(JobIamMemberOutput) } +func (i *JobIamMember) ToOutput(ctx context.Context) pulumix.Output[*JobIamMember] { + return pulumix.Output[*JobIamMember]{ + OutputState: i.ToJobIamMemberOutputWithContext(ctx).OutputState, + } +} + type JobIamMemberOutput struct{ *pulumi.OutputState } func (JobIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o JobIamMemberOutput) ToJobIamMemberOutputWithContext(ctx context.Context) return o } +func (o JobIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*JobIamMember] { + return pulumix.Output[*JobIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o JobIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *JobIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/run/v2/jobIamPolicy.go b/sdk/go/google/run/v2/jobIamPolicy.go index 089f4d8168..ee7da01c60 100644 --- a/sdk/go/google/run/v2/jobIamPolicy.go +++ b/sdk/go/google/run/v2/jobIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified Job. Overwrites any existing policy. @@ -135,6 +136,12 @@ func (i *JobIamPolicy) ToJobIamPolicyOutputWithContext(ctx context.Context) JobI return pulumi.ToOutputWithContext(ctx, i).(JobIamPolicyOutput) } +func (i *JobIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*JobIamPolicy] { + return pulumix.Output[*JobIamPolicy]{ + OutputState: i.ToJobIamPolicyOutputWithContext(ctx).OutputState, + } +} + type JobIamPolicyOutput struct{ *pulumi.OutputState } func (JobIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o JobIamPolicyOutput) ToJobIamPolicyOutputWithContext(ctx context.Context) return o } +func (o JobIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*JobIamPolicy] { + return pulumix.Output[*JobIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o JobIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *JobIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/run/v2/pulumiEnums.go b/sdk/go/google/run/v2/pulumiEnums.go index 9ea178d65b..0d5a528418 100644 --- a/sdk/go/google/run/v2/pulumiEnums.go +++ b/sdk/go/google/run/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional @@ -80,6 +81,12 @@ func (o GoogleCloudRunV2EmptyDirVolumeSourceMediumOutput) ToGoogleCloudRunV2Empt }).(GoogleCloudRunV2EmptyDirVolumeSourceMediumPtrOutput) } +func (o GoogleCloudRunV2EmptyDirVolumeSourceMediumOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2EmptyDirVolumeSourceMedium] { + return pulumix.Output[GoogleCloudRunV2EmptyDirVolumeSourceMedium]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2EmptyDirVolumeSourceMediumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o GoogleCloudRunV2EmptyDirVolumeSourceMediumPtrOutput) ToGoogleCloudRunV2E return o } +func (o GoogleCloudRunV2EmptyDirVolumeSourceMediumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2EmptyDirVolumeSourceMedium] { + return pulumix.Output[*GoogleCloudRunV2EmptyDirVolumeSourceMedium]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2EmptyDirVolumeSourceMediumPtrOutput) Elem() GoogleCloudRunV2EmptyDirVolumeSourceMediumOutput { return o.ApplyT(func(v *GoogleCloudRunV2EmptyDirVolumeSourceMedium) GoogleCloudRunV2EmptyDirVolumeSourceMedium { if v != nil { @@ -177,6 +190,12 @@ func (in *googleCloudRunV2EmptyDirVolumeSourceMediumPtr) ToGoogleCloudRunV2Empty return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRunV2EmptyDirVolumeSourceMediumPtrOutput) } +func (in *googleCloudRunV2EmptyDirVolumeSourceMediumPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2EmptyDirVolumeSourceMedium] { + return pulumix.Output[*GoogleCloudRunV2EmptyDirVolumeSourceMedium]{ + OutputState: in.ToGoogleCloudRunV2EmptyDirVolumeSourceMediumPtrOutputWithContext(ctx).OutputState, + } +} + // The sandbox environment to host this Revision. type GoogleCloudRunV2RevisionTemplateExecutionEnvironment string @@ -249,6 +268,12 @@ func (o GoogleCloudRunV2RevisionTemplateExecutionEnvironmentOutput) ToGoogleClou }).(GoogleCloudRunV2RevisionTemplateExecutionEnvironmentPtrOutput) } +func (o GoogleCloudRunV2RevisionTemplateExecutionEnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2RevisionTemplateExecutionEnvironment] { + return pulumix.Output[GoogleCloudRunV2RevisionTemplateExecutionEnvironment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2RevisionTemplateExecutionEnvironmentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o GoogleCloudRunV2RevisionTemplateExecutionEnvironmentPtrOutput) ToGoogleC return o } +func (o GoogleCloudRunV2RevisionTemplateExecutionEnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2RevisionTemplateExecutionEnvironment] { + return pulumix.Output[*GoogleCloudRunV2RevisionTemplateExecutionEnvironment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2RevisionTemplateExecutionEnvironmentPtrOutput) Elem() GoogleCloudRunV2RevisionTemplateExecutionEnvironmentOutput { return o.ApplyT(func(v *GoogleCloudRunV2RevisionTemplateExecutionEnvironment) GoogleCloudRunV2RevisionTemplateExecutionEnvironment { if v != nil { @@ -346,6 +377,12 @@ func (in *googleCloudRunV2RevisionTemplateExecutionEnvironmentPtr) ToGoogleCloud return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRunV2RevisionTemplateExecutionEnvironmentPtrOutput) } +func (in *googleCloudRunV2RevisionTemplateExecutionEnvironmentPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2RevisionTemplateExecutionEnvironment] { + return pulumix.Output[*GoogleCloudRunV2RevisionTemplateExecutionEnvironment]{ + OutputState: in.ToGoogleCloudRunV2RevisionTemplateExecutionEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // The execution environment being used to host this Task. type GoogleCloudRunV2TaskTemplateExecutionEnvironment string @@ -418,6 +455,12 @@ func (o GoogleCloudRunV2TaskTemplateExecutionEnvironmentOutput) ToGoogleCloudRun }).(GoogleCloudRunV2TaskTemplateExecutionEnvironmentPtrOutput) } +func (o GoogleCloudRunV2TaskTemplateExecutionEnvironmentOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TaskTemplateExecutionEnvironment] { + return pulumix.Output[GoogleCloudRunV2TaskTemplateExecutionEnvironment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2TaskTemplateExecutionEnvironmentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -453,6 +496,12 @@ func (o GoogleCloudRunV2TaskTemplateExecutionEnvironmentPtrOutput) ToGoogleCloud return o } +func (o GoogleCloudRunV2TaskTemplateExecutionEnvironmentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2TaskTemplateExecutionEnvironment] { + return pulumix.Output[*GoogleCloudRunV2TaskTemplateExecutionEnvironment]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2TaskTemplateExecutionEnvironmentPtrOutput) Elem() GoogleCloudRunV2TaskTemplateExecutionEnvironmentOutput { return o.ApplyT(func(v *GoogleCloudRunV2TaskTemplateExecutionEnvironment) GoogleCloudRunV2TaskTemplateExecutionEnvironment { if v != nil { @@ -515,6 +564,12 @@ func (in *googleCloudRunV2TaskTemplateExecutionEnvironmentPtr) ToGoogleCloudRunV return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRunV2TaskTemplateExecutionEnvironmentPtrOutput) } +func (in *googleCloudRunV2TaskTemplateExecutionEnvironmentPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2TaskTemplateExecutionEnvironment] { + return pulumix.Output[*GoogleCloudRunV2TaskTemplateExecutionEnvironment]{ + OutputState: in.ToGoogleCloudRunV2TaskTemplateExecutionEnvironmentPtrOutputWithContext(ctx).OutputState, + } +} + // The allocation type for this traffic target. type GoogleCloudRunV2TrafficTargetType string @@ -587,6 +642,12 @@ func (o GoogleCloudRunV2TrafficTargetTypeOutput) ToGoogleCloudRunV2TrafficTarget }).(GoogleCloudRunV2TrafficTargetTypePtrOutput) } +func (o GoogleCloudRunV2TrafficTargetTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TrafficTargetType] { + return pulumix.Output[GoogleCloudRunV2TrafficTargetType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2TrafficTargetTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -622,6 +683,12 @@ func (o GoogleCloudRunV2TrafficTargetTypePtrOutput) ToGoogleCloudRunV2TrafficTar return o } +func (o GoogleCloudRunV2TrafficTargetTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2TrafficTargetType] { + return pulumix.Output[*GoogleCloudRunV2TrafficTargetType]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2TrafficTargetTypePtrOutput) Elem() GoogleCloudRunV2TrafficTargetTypeOutput { return o.ApplyT(func(v *GoogleCloudRunV2TrafficTargetType) GoogleCloudRunV2TrafficTargetType { if v != nil { @@ -684,6 +751,12 @@ func (in *googleCloudRunV2TrafficTargetTypePtr) ToGoogleCloudRunV2TrafficTargetT return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRunV2TrafficTargetTypePtrOutput) } +func (in *googleCloudRunV2TrafficTargetTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2TrafficTargetType] { + return pulumix.Output[*GoogleCloudRunV2TrafficTargetType]{ + OutputState: in.ToGoogleCloudRunV2TrafficTargetTypePtrOutputWithContext(ctx).OutputState, + } +} + // Traffic VPC egress settings. type GoogleCloudRunV2VpcAccessEgress string @@ -756,6 +829,12 @@ func (o GoogleCloudRunV2VpcAccessEgressOutput) ToGoogleCloudRunV2VpcAccessEgress }).(GoogleCloudRunV2VpcAccessEgressPtrOutput) } +func (o GoogleCloudRunV2VpcAccessEgressOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VpcAccessEgress] { + return pulumix.Output[GoogleCloudRunV2VpcAccessEgress]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2VpcAccessEgressOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -791,6 +870,12 @@ func (o GoogleCloudRunV2VpcAccessEgressPtrOutput) ToGoogleCloudRunV2VpcAccessEgr return o } +func (o GoogleCloudRunV2VpcAccessEgressPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2VpcAccessEgress] { + return pulumix.Output[*GoogleCloudRunV2VpcAccessEgress]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2VpcAccessEgressPtrOutput) Elem() GoogleCloudRunV2VpcAccessEgressOutput { return o.ApplyT(func(v *GoogleCloudRunV2VpcAccessEgress) GoogleCloudRunV2VpcAccessEgress { if v != nil { @@ -853,6 +938,12 @@ func (in *googleCloudRunV2VpcAccessEgressPtr) ToGoogleCloudRunV2VpcAccessEgressP return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudRunV2VpcAccessEgressPtrOutput) } +func (in *googleCloudRunV2VpcAccessEgressPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2VpcAccessEgress] { + return pulumix.Output[*GoogleCloudRunV2VpcAccessEgress]{ + OutputState: in.ToGoogleCloudRunV2VpcAccessEgressPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type GoogleIamV1AuditLogConfigLogType string @@ -927,6 +1018,12 @@ func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToGoogleIamV1AuditLogConfigLogTy }).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -962,6 +1059,12 @@ func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToGoogleIamV1AuditLogConfigLo return o } +func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigLogTypePtrOutput) Elem() GoogleIamV1AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *GoogleIamV1AuditLogConfigLogType) GoogleIamV1AuditLogConfigLogType { if v != nil { @@ -1024,6 +1127,12 @@ func (in *googleIamV1AuditLogConfigLogTypePtr) ToGoogleIamV1AuditLogConfigLogTyp return pulumi.ToOutputWithContext(ctx, in).(GoogleIamV1AuditLogConfigLogTypePtrOutput) } +func (in *googleIamV1AuditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleIamV1AuditLogConfigLogType] { + return pulumix.Output[*GoogleIamV1AuditLogConfigLogType]{ + OutputState: in.ToGoogleIamV1AuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. type JobLaunchStage string @@ -1106,6 +1215,12 @@ func (o JobLaunchStageOutput) ToJobLaunchStagePtrOutputWithContext(ctx context.C }).(JobLaunchStagePtrOutput) } +func (o JobLaunchStageOutput) ToOutput(ctx context.Context) pulumix.Output[JobLaunchStage] { + return pulumix.Output[JobLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o JobLaunchStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1141,6 +1256,12 @@ func (o JobLaunchStagePtrOutput) ToJobLaunchStagePtrOutputWithContext(ctx contex return o } +func (o JobLaunchStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobLaunchStage] { + return pulumix.Output[*JobLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o JobLaunchStagePtrOutput) Elem() JobLaunchStageOutput { return o.ApplyT(func(v *JobLaunchStage) JobLaunchStage { if v != nil { @@ -1203,6 +1324,12 @@ func (in *jobLaunchStagePtr) ToJobLaunchStagePtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(JobLaunchStagePtrOutput) } +func (in *jobLaunchStagePtr) ToOutput(ctx context.Context) pulumix.Output[*JobLaunchStage] { + return pulumix.Output[*JobLaunchStage]{ + OutputState: in.ToJobLaunchStagePtrOutputWithContext(ctx).OutputState, + } +} + // Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active. type ServiceIngress string @@ -1277,6 +1404,12 @@ func (o ServiceIngressOutput) ToServiceIngressPtrOutputWithContext(ctx context.C }).(ServiceIngressPtrOutput) } +func (o ServiceIngressOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceIngress] { + return pulumix.Output[ServiceIngress]{ + OutputState: o.OutputState, + } +} + func (o ServiceIngressOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1312,6 +1445,12 @@ func (o ServiceIngressPtrOutput) ToServiceIngressPtrOutputWithContext(ctx contex return o } +func (o ServiceIngressPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIngress] { + return pulumix.Output[*ServiceIngress]{ + OutputState: o.OutputState, + } +} + func (o ServiceIngressPtrOutput) Elem() ServiceIngressOutput { return o.ApplyT(func(v *ServiceIngress) ServiceIngress { if v != nil { @@ -1374,6 +1513,12 @@ func (in *serviceIngressPtr) ToServiceIngressPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(ServiceIngressPtrOutput) } +func (in *serviceIngressPtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceIngress] { + return pulumix.Output[*ServiceIngress]{ + OutputState: in.ToServiceIngressPtrOutputWithContext(ctx).OutputState, + } +} + // The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. type ServiceLaunchStage string @@ -1456,6 +1601,12 @@ func (o ServiceLaunchStageOutput) ToServiceLaunchStagePtrOutputWithContext(ctx c }).(ServiceLaunchStagePtrOutput) } +func (o ServiceLaunchStageOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceLaunchStage] { + return pulumix.Output[ServiceLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o ServiceLaunchStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1491,6 +1642,12 @@ func (o ServiceLaunchStagePtrOutput) ToServiceLaunchStagePtrOutputWithContext(ct return o } +func (o ServiceLaunchStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceLaunchStage] { + return pulumix.Output[*ServiceLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o ServiceLaunchStagePtrOutput) Elem() ServiceLaunchStageOutput { return o.ApplyT(func(v *ServiceLaunchStage) ServiceLaunchStage { if v != nil { @@ -1553,6 +1710,12 @@ func (in *serviceLaunchStagePtr) ToServiceLaunchStagePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ServiceLaunchStagePtrOutput) } +func (in *serviceLaunchStagePtr) ToOutput(ctx context.Context) pulumix.Output[*ServiceLaunchStage] { + return pulumix.Output[*ServiceLaunchStage]{ + OutputState: in.ToServiceLaunchStagePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudRunV2EmptyDirVolumeSourceMediumInput)(nil)).Elem(), GoogleCloudRunV2EmptyDirVolumeSourceMedium("MEDIUM_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*GoogleCloudRunV2EmptyDirVolumeSourceMediumPtrInput)(nil)).Elem(), GoogleCloudRunV2EmptyDirVolumeSourceMedium("MEDIUM_UNSPECIFIED")) diff --git a/sdk/go/google/run/v2/pulumiTypes.go b/sdk/go/google/run/v2/pulumiTypes.go index 071359ae55..c2b9649c04 100644 --- a/sdk/go/google/run/v2/pulumiTypes.go +++ b/sdk/go/google/run/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i GoogleCloudRunV2BinaryAuthorizationArgs) ToGoogleCloudRunV2BinaryAuthori return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2BinaryAuthorizationOutput) } +func (i GoogleCloudRunV2BinaryAuthorizationArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2BinaryAuthorization] { + return pulumix.Output[GoogleCloudRunV2BinaryAuthorization]{ + OutputState: i.ToGoogleCloudRunV2BinaryAuthorizationOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2BinaryAuthorizationArgs) ToGoogleCloudRunV2BinaryAuthorizationPtrOutput() GoogleCloudRunV2BinaryAuthorizationPtrOutput { return i.ToGoogleCloudRunV2BinaryAuthorizationPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *googleCloudRunV2BinaryAuthorizationPtrType) ToGoogleCloudRunV2BinaryAut return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2BinaryAuthorizationPtrOutput) } +func (i *googleCloudRunV2BinaryAuthorizationPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2BinaryAuthorization] { + return pulumix.Output[*GoogleCloudRunV2BinaryAuthorization]{ + OutputState: i.ToGoogleCloudRunV2BinaryAuthorizationPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for Binary Authorization feature. type GoogleCloudRunV2BinaryAuthorizationOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o GoogleCloudRunV2BinaryAuthorizationOutput) ToGoogleCloudRunV2BinaryAutho }).(GoogleCloudRunV2BinaryAuthorizationPtrOutput) } +func (o GoogleCloudRunV2BinaryAuthorizationOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2BinaryAuthorization] { + return pulumix.Output[GoogleCloudRunV2BinaryAuthorization]{ + OutputState: o.OutputState, + } +} + // If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass func (o GoogleCloudRunV2BinaryAuthorizationOutput) BreakglassJustification() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2BinaryAuthorization) *string { return v.BreakglassJustification }).(pulumi.StringPtrOutput) @@ -142,6 +161,12 @@ func (o GoogleCloudRunV2BinaryAuthorizationPtrOutput) ToGoogleCloudRunV2BinaryAu return o } +func (o GoogleCloudRunV2BinaryAuthorizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2BinaryAuthorization] { + return pulumix.Output[*GoogleCloudRunV2BinaryAuthorization]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2BinaryAuthorizationPtrOutput) Elem() GoogleCloudRunV2BinaryAuthorizationOutput { return o.ApplyT(func(v *GoogleCloudRunV2BinaryAuthorization) GoogleCloudRunV2BinaryAuthorization { if v != nil { @@ -195,6 +220,12 @@ func (o GoogleCloudRunV2BinaryAuthorizationResponseOutput) ToGoogleCloudRunV2Bin return o } +func (o GoogleCloudRunV2BinaryAuthorizationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2BinaryAuthorizationResponse] { + return pulumix.Output[GoogleCloudRunV2BinaryAuthorizationResponse]{ + OutputState: o.OutputState, + } +} + // If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass func (o GoogleCloudRunV2BinaryAuthorizationResponseOutput) BreakglassJustification() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2BinaryAuthorizationResponse) string { return v.BreakglassJustification }).(pulumi.StringOutput) @@ -240,6 +271,12 @@ func (i GoogleCloudRunV2CloudSqlInstanceArgs) ToGoogleCloudRunV2CloudSqlInstance return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2CloudSqlInstanceOutput) } +func (i GoogleCloudRunV2CloudSqlInstanceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2CloudSqlInstance] { + return pulumix.Output[GoogleCloudRunV2CloudSqlInstance]{ + OutputState: i.ToGoogleCloudRunV2CloudSqlInstanceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2CloudSqlInstanceArgs) ToGoogleCloudRunV2CloudSqlInstancePtrOutput() GoogleCloudRunV2CloudSqlInstancePtrOutput { return i.ToGoogleCloudRunV2CloudSqlInstancePtrOutputWithContext(context.Background()) } @@ -281,6 +318,12 @@ func (i *googleCloudRunV2CloudSqlInstancePtrType) ToGoogleCloudRunV2CloudSqlInst return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2CloudSqlInstancePtrOutput) } +func (i *googleCloudRunV2CloudSqlInstancePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2CloudSqlInstance] { + return pulumix.Output[*GoogleCloudRunV2CloudSqlInstance]{ + OutputState: i.ToGoogleCloudRunV2CloudSqlInstancePtrOutputWithContext(ctx).OutputState, + } +} + // Represents a set of Cloud SQL instances. Each one will be available under /cloudsql/[instance]. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. type GoogleCloudRunV2CloudSqlInstanceOutput struct{ *pulumi.OutputState } @@ -306,6 +349,12 @@ func (o GoogleCloudRunV2CloudSqlInstanceOutput) ToGoogleCloudRunV2CloudSqlInstan }).(GoogleCloudRunV2CloudSqlInstancePtrOutput) } +func (o GoogleCloudRunV2CloudSqlInstanceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2CloudSqlInstance] { + return pulumix.Output[GoogleCloudRunV2CloudSqlInstance]{ + OutputState: o.OutputState, + } +} + // The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance} func (o GoogleCloudRunV2CloudSqlInstanceOutput) Instances() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRunV2CloudSqlInstance) []string { return v.Instances }).(pulumi.StringArrayOutput) @@ -325,6 +374,12 @@ func (o GoogleCloudRunV2CloudSqlInstancePtrOutput) ToGoogleCloudRunV2CloudSqlIns return o } +func (o GoogleCloudRunV2CloudSqlInstancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2CloudSqlInstance] { + return pulumix.Output[*GoogleCloudRunV2CloudSqlInstance]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2CloudSqlInstancePtrOutput) Elem() GoogleCloudRunV2CloudSqlInstanceOutput { return o.ApplyT(func(v *GoogleCloudRunV2CloudSqlInstance) GoogleCloudRunV2CloudSqlInstance { if v != nil { @@ -366,6 +421,12 @@ func (o GoogleCloudRunV2CloudSqlInstanceResponseOutput) ToGoogleCloudRunV2CloudS return o } +func (o GoogleCloudRunV2CloudSqlInstanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2CloudSqlInstanceResponse] { + return pulumix.Output[GoogleCloudRunV2CloudSqlInstanceResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance} func (o GoogleCloudRunV2CloudSqlInstanceResponseOutput) Instances() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRunV2CloudSqlInstanceResponse) []string { return v.Instances }).(pulumi.StringArrayOutput) @@ -406,6 +467,12 @@ func (o GoogleCloudRunV2ConditionResponseOutput) ToGoogleCloudRunV2ConditionResp return o } +func (o GoogleCloudRunV2ConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ConditionResponse] { + return pulumix.Output[GoogleCloudRunV2ConditionResponse]{ + OutputState: o.OutputState, + } +} + // A reason for the execution condition. func (o GoogleCloudRunV2ConditionResponseOutput) ExecutionReason() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2ConditionResponse) string { return v.ExecutionReason }).(pulumi.StringOutput) @@ -460,6 +527,12 @@ func (o GoogleCloudRunV2ConditionResponseArrayOutput) ToGoogleCloudRunV2Conditio return o } +func (o GoogleCloudRunV2ConditionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2ConditionResponse] { + return pulumix.Output[[]GoogleCloudRunV2ConditionResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2ConditionResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2ConditionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2ConditionResponse { return vs[0].([]GoogleCloudRunV2ConditionResponse)[vs[1].(int)] @@ -545,6 +618,12 @@ func (i GoogleCloudRunV2ContainerArgs) ToGoogleCloudRunV2ContainerOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2ContainerOutput) } +func (i GoogleCloudRunV2ContainerArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2Container] { + return pulumix.Output[GoogleCloudRunV2Container]{ + OutputState: i.ToGoogleCloudRunV2ContainerOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRunV2ContainerArrayInput is an input type that accepts GoogleCloudRunV2ContainerArray and GoogleCloudRunV2ContainerArrayOutput values. // You can construct a concrete instance of `GoogleCloudRunV2ContainerArrayInput` via: // @@ -570,6 +649,12 @@ func (i GoogleCloudRunV2ContainerArray) ToGoogleCloudRunV2ContainerArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2ContainerArrayOutput) } +func (i GoogleCloudRunV2ContainerArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2Container] { + return pulumix.Output[[]GoogleCloudRunV2Container]{ + OutputState: i.ToGoogleCloudRunV2ContainerArrayOutputWithContext(ctx).OutputState, + } +} + // A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments may be supplied by the system to the container at runtime. type GoogleCloudRunV2ContainerOutput struct{ *pulumi.OutputState } @@ -585,6 +670,12 @@ func (o GoogleCloudRunV2ContainerOutput) ToGoogleCloudRunV2ContainerOutputWithCo return o } +func (o GoogleCloudRunV2ContainerOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2Container] { + return pulumix.Output[GoogleCloudRunV2Container]{ + OutputState: o.OutputState, + } +} + // Arguments to the entrypoint. The docker image's CMD is used if this is not provided. func (o GoogleCloudRunV2ContainerOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRunV2Container) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -659,6 +750,12 @@ func (o GoogleCloudRunV2ContainerArrayOutput) ToGoogleCloudRunV2ContainerArrayOu return o } +func (o GoogleCloudRunV2ContainerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2Container] { + return pulumix.Output[[]GoogleCloudRunV2Container]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2ContainerArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2ContainerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2Container { return vs[0].([]GoogleCloudRunV2Container)[vs[1].(int)] @@ -704,6 +801,12 @@ func (i GoogleCloudRunV2ContainerPortArgs) ToGoogleCloudRunV2ContainerPortOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2ContainerPortOutput) } +func (i GoogleCloudRunV2ContainerPortArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ContainerPort] { + return pulumix.Output[GoogleCloudRunV2ContainerPort]{ + OutputState: i.ToGoogleCloudRunV2ContainerPortOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRunV2ContainerPortArrayInput is an input type that accepts GoogleCloudRunV2ContainerPortArray and GoogleCloudRunV2ContainerPortArrayOutput values. // You can construct a concrete instance of `GoogleCloudRunV2ContainerPortArrayInput` via: // @@ -729,6 +832,12 @@ func (i GoogleCloudRunV2ContainerPortArray) ToGoogleCloudRunV2ContainerPortArray return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2ContainerPortArrayOutput) } +func (i GoogleCloudRunV2ContainerPortArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2ContainerPort] { + return pulumix.Output[[]GoogleCloudRunV2ContainerPort]{ + OutputState: i.ToGoogleCloudRunV2ContainerPortArrayOutputWithContext(ctx).OutputState, + } +} + // ContainerPort represents a network port in a single container. type GoogleCloudRunV2ContainerPortOutput struct{ *pulumi.OutputState } @@ -744,6 +853,12 @@ func (o GoogleCloudRunV2ContainerPortOutput) ToGoogleCloudRunV2ContainerPortOutp return o } +func (o GoogleCloudRunV2ContainerPortOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ContainerPort] { + return pulumix.Output[GoogleCloudRunV2ContainerPort]{ + OutputState: o.OutputState, + } +} + // Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536. func (o GoogleCloudRunV2ContainerPortOutput) ContainerPort() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2ContainerPort) *int { return v.ContainerPort }).(pulumi.IntPtrOutput) @@ -768,6 +883,12 @@ func (o GoogleCloudRunV2ContainerPortArrayOutput) ToGoogleCloudRunV2ContainerPor return o } +func (o GoogleCloudRunV2ContainerPortArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2ContainerPort] { + return pulumix.Output[[]GoogleCloudRunV2ContainerPort]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2ContainerPortArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2ContainerPortOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2ContainerPort { return vs[0].([]GoogleCloudRunV2ContainerPort)[vs[1].(int)] @@ -797,6 +918,12 @@ func (o GoogleCloudRunV2ContainerPortResponseOutput) ToGoogleCloudRunV2Container return o } +func (o GoogleCloudRunV2ContainerPortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ContainerPortResponse] { + return pulumix.Output[GoogleCloudRunV2ContainerPortResponse]{ + OutputState: o.OutputState, + } +} + // Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536. func (o GoogleCloudRunV2ContainerPortResponseOutput) ContainerPort() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRunV2ContainerPortResponse) int { return v.ContainerPort }).(pulumi.IntOutput) @@ -821,6 +948,12 @@ func (o GoogleCloudRunV2ContainerPortResponseArrayOutput) ToGoogleCloudRunV2Cont return o } +func (o GoogleCloudRunV2ContainerPortResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2ContainerPortResponse] { + return pulumix.Output[[]GoogleCloudRunV2ContainerPortResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2ContainerPortResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2ContainerPortResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2ContainerPortResponse { return vs[0].([]GoogleCloudRunV2ContainerPortResponse)[vs[1].(int)] @@ -870,6 +1003,12 @@ func (o GoogleCloudRunV2ContainerResponseOutput) ToGoogleCloudRunV2ContainerResp return o } +func (o GoogleCloudRunV2ContainerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ContainerResponse] { + return pulumix.Output[GoogleCloudRunV2ContainerResponse]{ + OutputState: o.OutputState, + } +} + // Arguments to the entrypoint. The docker image's CMD is used if this is not provided. func (o GoogleCloudRunV2ContainerResponseOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudRunV2ContainerResponse) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -946,6 +1085,12 @@ func (o GoogleCloudRunV2ContainerResponseArrayOutput) ToGoogleCloudRunV2Containe return o } +func (o GoogleCloudRunV2ContainerResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2ContainerResponse] { + return pulumix.Output[[]GoogleCloudRunV2ContainerResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2ContainerResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2ContainerResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2ContainerResponse { return vs[0].([]GoogleCloudRunV2ContainerResponse)[vs[1].(int)] @@ -991,6 +1136,12 @@ func (i GoogleCloudRunV2EmptyDirVolumeSourceArgs) ToGoogleCloudRunV2EmptyDirVolu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2EmptyDirVolumeSourceOutput) } +func (i GoogleCloudRunV2EmptyDirVolumeSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2EmptyDirVolumeSource] { + return pulumix.Output[GoogleCloudRunV2EmptyDirVolumeSource]{ + OutputState: i.ToGoogleCloudRunV2EmptyDirVolumeSourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2EmptyDirVolumeSourceArgs) ToGoogleCloudRunV2EmptyDirVolumeSourcePtrOutput() GoogleCloudRunV2EmptyDirVolumeSourcePtrOutput { return i.ToGoogleCloudRunV2EmptyDirVolumeSourcePtrOutputWithContext(context.Background()) } @@ -1032,6 +1183,12 @@ func (i *googleCloudRunV2EmptyDirVolumeSourcePtrType) ToGoogleCloudRunV2EmptyDir return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2EmptyDirVolumeSourcePtrOutput) } +func (i *googleCloudRunV2EmptyDirVolumeSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2EmptyDirVolumeSource] { + return pulumix.Output[*GoogleCloudRunV2EmptyDirVolumeSource]{ + OutputState: i.ToGoogleCloudRunV2EmptyDirVolumeSourcePtrOutputWithContext(ctx).OutputState, + } +} + // Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs). type GoogleCloudRunV2EmptyDirVolumeSourceOutput struct{ *pulumi.OutputState } @@ -1057,6 +1214,12 @@ func (o GoogleCloudRunV2EmptyDirVolumeSourceOutput) ToGoogleCloudRunV2EmptyDirVo }).(GoogleCloudRunV2EmptyDirVolumeSourcePtrOutput) } +func (o GoogleCloudRunV2EmptyDirVolumeSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2EmptyDirVolumeSource] { + return pulumix.Output[GoogleCloudRunV2EmptyDirVolumeSource]{ + OutputState: o.OutputState, + } +} + // The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional func (o GoogleCloudRunV2EmptyDirVolumeSourceOutput) Medium() GoogleCloudRunV2EmptyDirVolumeSourceMediumPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2EmptyDirVolumeSource) *GoogleCloudRunV2EmptyDirVolumeSourceMedium { @@ -1083,6 +1246,12 @@ func (o GoogleCloudRunV2EmptyDirVolumeSourcePtrOutput) ToGoogleCloudRunV2EmptyDi return o } +func (o GoogleCloudRunV2EmptyDirVolumeSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2EmptyDirVolumeSource] { + return pulumix.Output[*GoogleCloudRunV2EmptyDirVolumeSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2EmptyDirVolumeSourcePtrOutput) Elem() GoogleCloudRunV2EmptyDirVolumeSourceOutput { return o.ApplyT(func(v *GoogleCloudRunV2EmptyDirVolumeSource) GoogleCloudRunV2EmptyDirVolumeSource { if v != nil { @@ -1136,6 +1305,12 @@ func (o GoogleCloudRunV2EmptyDirVolumeSourceResponseOutput) ToGoogleCloudRunV2Em return o } +func (o GoogleCloudRunV2EmptyDirVolumeSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2EmptyDirVolumeSourceResponse] { + return pulumix.Output[GoogleCloudRunV2EmptyDirVolumeSourceResponse]{ + OutputState: o.OutputState, + } +} + // The medium on which the data is stored. Acceptable values today is only MEMORY or none. When none, the default will currently be backed by memory but could change over time. +optional func (o GoogleCloudRunV2EmptyDirVolumeSourceResponseOutput) Medium() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2EmptyDirVolumeSourceResponse) string { return v.Medium }).(pulumi.StringOutput) @@ -1189,6 +1364,12 @@ func (i GoogleCloudRunV2EnvVarArgs) ToGoogleCloudRunV2EnvVarOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2EnvVarOutput) } +func (i GoogleCloudRunV2EnvVarArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2EnvVar] { + return pulumix.Output[GoogleCloudRunV2EnvVar]{ + OutputState: i.ToGoogleCloudRunV2EnvVarOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRunV2EnvVarArrayInput is an input type that accepts GoogleCloudRunV2EnvVarArray and GoogleCloudRunV2EnvVarArrayOutput values. // You can construct a concrete instance of `GoogleCloudRunV2EnvVarArrayInput` via: // @@ -1214,6 +1395,12 @@ func (i GoogleCloudRunV2EnvVarArray) ToGoogleCloudRunV2EnvVarArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2EnvVarArrayOutput) } +func (i GoogleCloudRunV2EnvVarArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2EnvVar] { + return pulumix.Output[[]GoogleCloudRunV2EnvVar]{ + OutputState: i.ToGoogleCloudRunV2EnvVarArrayOutputWithContext(ctx).OutputState, + } +} + // EnvVar represents an environment variable present in a Container. type GoogleCloudRunV2EnvVarOutput struct{ *pulumi.OutputState } @@ -1229,6 +1416,12 @@ func (o GoogleCloudRunV2EnvVarOutput) ToGoogleCloudRunV2EnvVarOutputWithContext( return o } +func (o GoogleCloudRunV2EnvVarOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2EnvVar] { + return pulumix.Output[GoogleCloudRunV2EnvVar]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters. func (o GoogleCloudRunV2EnvVarOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2EnvVar) string { return v.Name }).(pulumi.StringOutput) @@ -1258,6 +1451,12 @@ func (o GoogleCloudRunV2EnvVarArrayOutput) ToGoogleCloudRunV2EnvVarArrayOutputWi return o } +func (o GoogleCloudRunV2EnvVarArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2EnvVar] { + return pulumix.Output[[]GoogleCloudRunV2EnvVar]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2EnvVarArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2EnvVarOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2EnvVar { return vs[0].([]GoogleCloudRunV2EnvVar)[vs[1].(int)] @@ -1289,6 +1488,12 @@ func (o GoogleCloudRunV2EnvVarResponseOutput) ToGoogleCloudRunV2EnvVarResponseOu return o } +func (o GoogleCloudRunV2EnvVarResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2EnvVarResponse] { + return pulumix.Output[GoogleCloudRunV2EnvVarResponse]{ + OutputState: o.OutputState, + } +} + // Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters. func (o GoogleCloudRunV2EnvVarResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2EnvVarResponse) string { return v.Name }).(pulumi.StringOutput) @@ -1318,6 +1523,12 @@ func (o GoogleCloudRunV2EnvVarResponseArrayOutput) ToGoogleCloudRunV2EnvVarRespo return o } +func (o GoogleCloudRunV2EnvVarResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2EnvVarResponse] { + return pulumix.Output[[]GoogleCloudRunV2EnvVarResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2EnvVarResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2EnvVarResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2EnvVarResponse { return vs[0].([]GoogleCloudRunV2EnvVarResponse)[vs[1].(int)] @@ -1359,6 +1570,12 @@ func (i GoogleCloudRunV2EnvVarSourceArgs) ToGoogleCloudRunV2EnvVarSourceOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2EnvVarSourceOutput) } +func (i GoogleCloudRunV2EnvVarSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2EnvVarSource] { + return pulumix.Output[GoogleCloudRunV2EnvVarSource]{ + OutputState: i.ToGoogleCloudRunV2EnvVarSourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2EnvVarSourceArgs) ToGoogleCloudRunV2EnvVarSourcePtrOutput() GoogleCloudRunV2EnvVarSourcePtrOutput { return i.ToGoogleCloudRunV2EnvVarSourcePtrOutputWithContext(context.Background()) } @@ -1400,6 +1617,12 @@ func (i *googleCloudRunV2EnvVarSourcePtrType) ToGoogleCloudRunV2EnvVarSourcePtrO return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2EnvVarSourcePtrOutput) } +func (i *googleCloudRunV2EnvVarSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2EnvVarSource] { + return pulumix.Output[*GoogleCloudRunV2EnvVarSource]{ + OutputState: i.ToGoogleCloudRunV2EnvVarSourcePtrOutputWithContext(ctx).OutputState, + } +} + // EnvVarSource represents a source for the value of an EnvVar. type GoogleCloudRunV2EnvVarSourceOutput struct{ *pulumi.OutputState } @@ -1425,6 +1648,12 @@ func (o GoogleCloudRunV2EnvVarSourceOutput) ToGoogleCloudRunV2EnvVarSourcePtrOut }).(GoogleCloudRunV2EnvVarSourcePtrOutput) } +func (o GoogleCloudRunV2EnvVarSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2EnvVarSource] { + return pulumix.Output[GoogleCloudRunV2EnvVarSource]{ + OutputState: o.OutputState, + } +} + // Selects a secret and a specific version from Cloud Secret Manager. func (o GoogleCloudRunV2EnvVarSourceOutput) SecretKeyRef() GoogleCloudRunV2SecretKeySelectorPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2EnvVarSource) *GoogleCloudRunV2SecretKeySelector { return v.SecretKeyRef }).(GoogleCloudRunV2SecretKeySelectorPtrOutput) @@ -1444,6 +1673,12 @@ func (o GoogleCloudRunV2EnvVarSourcePtrOutput) ToGoogleCloudRunV2EnvVarSourcePtr return o } +func (o GoogleCloudRunV2EnvVarSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2EnvVarSource] { + return pulumix.Output[*GoogleCloudRunV2EnvVarSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2EnvVarSourcePtrOutput) Elem() GoogleCloudRunV2EnvVarSourceOutput { return o.ApplyT(func(v *GoogleCloudRunV2EnvVarSource) GoogleCloudRunV2EnvVarSource { if v != nil { @@ -1485,6 +1720,12 @@ func (o GoogleCloudRunV2EnvVarSourceResponseOutput) ToGoogleCloudRunV2EnvVarSour return o } +func (o GoogleCloudRunV2EnvVarSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2EnvVarSourceResponse] { + return pulumix.Output[GoogleCloudRunV2EnvVarSourceResponse]{ + OutputState: o.OutputState, + } +} + // Selects a secret and a specific version from Cloud Secret Manager. func (o GoogleCloudRunV2EnvVarSourceResponseOutput) SecretKeyRef() GoogleCloudRunV2SecretKeySelectorResponseOutput { return o.ApplyT(func(v GoogleCloudRunV2EnvVarSourceResponse) GoogleCloudRunV2SecretKeySelectorResponse { @@ -1517,6 +1758,12 @@ func (o GoogleCloudRunV2ExecutionReferenceResponseOutput) ToGoogleCloudRunV2Exec return o } +func (o GoogleCloudRunV2ExecutionReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ExecutionReferenceResponse] { + return pulumix.Output[GoogleCloudRunV2ExecutionReferenceResponse]{ + OutputState: o.OutputState, + } +} + // Creation timestamp of the execution. func (o GoogleCloudRunV2ExecutionReferenceResponseOutput) CompletionTime() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2ExecutionReferenceResponse) string { return v.CompletionTime }).(pulumi.StringOutput) @@ -1583,6 +1830,12 @@ func (i GoogleCloudRunV2ExecutionTemplateArgs) ToGoogleCloudRunV2ExecutionTempla return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2ExecutionTemplateOutput) } +func (i GoogleCloudRunV2ExecutionTemplateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ExecutionTemplate] { + return pulumix.Output[GoogleCloudRunV2ExecutionTemplate]{ + OutputState: i.ToGoogleCloudRunV2ExecutionTemplateOutputWithContext(ctx).OutputState, + } +} + // ExecutionTemplate describes the data an execution should have when created from a template. type GoogleCloudRunV2ExecutionTemplateOutput struct{ *pulumi.OutputState } @@ -1598,6 +1851,12 @@ func (o GoogleCloudRunV2ExecutionTemplateOutput) ToGoogleCloudRunV2ExecutionTemp return o } +func (o GoogleCloudRunV2ExecutionTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ExecutionTemplate] { + return pulumix.Output[GoogleCloudRunV2ExecutionTemplate]{ + OutputState: o.OutputState, + } +} + // Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules. func (o GoogleCloudRunV2ExecutionTemplateOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRunV2ExecutionTemplate) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) @@ -1652,6 +1911,12 @@ func (o GoogleCloudRunV2ExecutionTemplateResponseOutput) ToGoogleCloudRunV2Execu return o } +func (o GoogleCloudRunV2ExecutionTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ExecutionTemplateResponse] { + return pulumix.Output[GoogleCloudRunV2ExecutionTemplateResponse]{ + OutputState: o.OutputState, + } +} + // Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules. func (o GoogleCloudRunV2ExecutionTemplateResponseOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRunV2ExecutionTemplateResponse) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) @@ -1718,6 +1983,12 @@ func (i GoogleCloudRunV2GRPCActionArgs) ToGoogleCloudRunV2GRPCActionOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2GRPCActionOutput) } +func (i GoogleCloudRunV2GRPCActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2GRPCAction] { + return pulumix.Output[GoogleCloudRunV2GRPCAction]{ + OutputState: i.ToGoogleCloudRunV2GRPCActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2GRPCActionArgs) ToGoogleCloudRunV2GRPCActionPtrOutput() GoogleCloudRunV2GRPCActionPtrOutput { return i.ToGoogleCloudRunV2GRPCActionPtrOutputWithContext(context.Background()) } @@ -1759,6 +2030,12 @@ func (i *googleCloudRunV2GRPCActionPtrType) ToGoogleCloudRunV2GRPCActionPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2GRPCActionPtrOutput) } +func (i *googleCloudRunV2GRPCActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2GRPCAction] { + return pulumix.Output[*GoogleCloudRunV2GRPCAction]{ + OutputState: i.ToGoogleCloudRunV2GRPCActionPtrOutputWithContext(ctx).OutputState, + } +} + // GRPCAction describes an action involving a GRPC port. type GoogleCloudRunV2GRPCActionOutput struct{ *pulumi.OutputState } @@ -1784,6 +2061,12 @@ func (o GoogleCloudRunV2GRPCActionOutput) ToGoogleCloudRunV2GRPCActionPtrOutputW }).(GoogleCloudRunV2GRPCActionPtrOutput) } +func (o GoogleCloudRunV2GRPCActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2GRPCAction] { + return pulumix.Output[GoogleCloudRunV2GRPCAction]{ + OutputState: o.OutputState, + } +} + // Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort. func (o GoogleCloudRunV2GRPCActionOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2GRPCAction) *int { return v.Port }).(pulumi.IntPtrOutput) @@ -1808,6 +2091,12 @@ func (o GoogleCloudRunV2GRPCActionPtrOutput) ToGoogleCloudRunV2GRPCActionPtrOutp return o } +func (o GoogleCloudRunV2GRPCActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2GRPCAction] { + return pulumix.Output[*GoogleCloudRunV2GRPCAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2GRPCActionPtrOutput) Elem() GoogleCloudRunV2GRPCActionOutput { return o.ApplyT(func(v *GoogleCloudRunV2GRPCAction) GoogleCloudRunV2GRPCAction { if v != nil { @@ -1861,6 +2150,12 @@ func (o GoogleCloudRunV2GRPCActionResponseOutput) ToGoogleCloudRunV2GRPCActionRe return o } +func (o GoogleCloudRunV2GRPCActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2GRPCActionResponse] { + return pulumix.Output[GoogleCloudRunV2GRPCActionResponse]{ + OutputState: o.OutputState, + } +} + // Port number of the gRPC service. Number must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort. func (o GoogleCloudRunV2GRPCActionResponseOutput) Port() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRunV2GRPCActionResponse) int { return v.Port }).(pulumi.IntOutput) @@ -1914,6 +2209,12 @@ func (i GoogleCloudRunV2HTTPGetActionArgs) ToGoogleCloudRunV2HTTPGetActionOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2HTTPGetActionOutput) } +func (i GoogleCloudRunV2HTTPGetActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2HTTPGetAction] { + return pulumix.Output[GoogleCloudRunV2HTTPGetAction]{ + OutputState: i.ToGoogleCloudRunV2HTTPGetActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2HTTPGetActionArgs) ToGoogleCloudRunV2HTTPGetActionPtrOutput() GoogleCloudRunV2HTTPGetActionPtrOutput { return i.ToGoogleCloudRunV2HTTPGetActionPtrOutputWithContext(context.Background()) } @@ -1955,6 +2256,12 @@ func (i *googleCloudRunV2HTTPGetActionPtrType) ToGoogleCloudRunV2HTTPGetActionPt return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2HTTPGetActionPtrOutput) } +func (i *googleCloudRunV2HTTPGetActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2HTTPGetAction] { + return pulumix.Output[*GoogleCloudRunV2HTTPGetAction]{ + OutputState: i.ToGoogleCloudRunV2HTTPGetActionPtrOutputWithContext(ctx).OutputState, + } +} + // HTTPGetAction describes an action based on HTTP Get requests. type GoogleCloudRunV2HTTPGetActionOutput struct{ *pulumi.OutputState } @@ -1980,6 +2287,12 @@ func (o GoogleCloudRunV2HTTPGetActionOutput) ToGoogleCloudRunV2HTTPGetActionPtrO }).(GoogleCloudRunV2HTTPGetActionPtrOutput) } +func (o GoogleCloudRunV2HTTPGetActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2HTTPGetAction] { + return pulumix.Output[GoogleCloudRunV2HTTPGetAction]{ + OutputState: o.OutputState, + } +} + // Custom headers to set in the request. HTTP allows repeated headers. func (o GoogleCloudRunV2HTTPGetActionOutput) HttpHeaders() GoogleCloudRunV2HTTPHeaderArrayOutput { return o.ApplyT(func(v GoogleCloudRunV2HTTPGetAction) []GoogleCloudRunV2HTTPHeader { return v.HttpHeaders }).(GoogleCloudRunV2HTTPHeaderArrayOutput) @@ -2009,6 +2322,12 @@ func (o GoogleCloudRunV2HTTPGetActionPtrOutput) ToGoogleCloudRunV2HTTPGetActionP return o } +func (o GoogleCloudRunV2HTTPGetActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2HTTPGetAction] { + return pulumix.Output[*GoogleCloudRunV2HTTPGetAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2HTTPGetActionPtrOutput) Elem() GoogleCloudRunV2HTTPGetActionOutput { return o.ApplyT(func(v *GoogleCloudRunV2HTTPGetAction) GoogleCloudRunV2HTTPGetAction { if v != nil { @@ -2074,6 +2393,12 @@ func (o GoogleCloudRunV2HTTPGetActionResponseOutput) ToGoogleCloudRunV2HTTPGetAc return o } +func (o GoogleCloudRunV2HTTPGetActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2HTTPGetActionResponse] { + return pulumix.Output[GoogleCloudRunV2HTTPGetActionResponse]{ + OutputState: o.OutputState, + } +} + // Custom headers to set in the request. HTTP allows repeated headers. func (o GoogleCloudRunV2HTTPGetActionResponseOutput) HttpHeaders() GoogleCloudRunV2HTTPHeaderResponseArrayOutput { return o.ApplyT(func(v GoogleCloudRunV2HTTPGetActionResponse) []GoogleCloudRunV2HTTPHeaderResponse { @@ -2130,6 +2455,12 @@ func (i GoogleCloudRunV2HTTPHeaderArgs) ToGoogleCloudRunV2HTTPHeaderOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2HTTPHeaderOutput) } +func (i GoogleCloudRunV2HTTPHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2HTTPHeader] { + return pulumix.Output[GoogleCloudRunV2HTTPHeader]{ + OutputState: i.ToGoogleCloudRunV2HTTPHeaderOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRunV2HTTPHeaderArrayInput is an input type that accepts GoogleCloudRunV2HTTPHeaderArray and GoogleCloudRunV2HTTPHeaderArrayOutput values. // You can construct a concrete instance of `GoogleCloudRunV2HTTPHeaderArrayInput` via: // @@ -2155,6 +2486,12 @@ func (i GoogleCloudRunV2HTTPHeaderArray) ToGoogleCloudRunV2HTTPHeaderArrayOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2HTTPHeaderArrayOutput) } +func (i GoogleCloudRunV2HTTPHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2HTTPHeader] { + return pulumix.Output[[]GoogleCloudRunV2HTTPHeader]{ + OutputState: i.ToGoogleCloudRunV2HTTPHeaderArrayOutputWithContext(ctx).OutputState, + } +} + // HTTPHeader describes a custom header to be used in HTTP probes type GoogleCloudRunV2HTTPHeaderOutput struct{ *pulumi.OutputState } @@ -2170,6 +2507,12 @@ func (o GoogleCloudRunV2HTTPHeaderOutput) ToGoogleCloudRunV2HTTPHeaderOutputWith return o } +func (o GoogleCloudRunV2HTTPHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2HTTPHeader] { + return pulumix.Output[GoogleCloudRunV2HTTPHeader]{ + OutputState: o.OutputState, + } +} + // The header field name func (o GoogleCloudRunV2HTTPHeaderOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2HTTPHeader) string { return v.Name }).(pulumi.StringOutput) @@ -2194,6 +2537,12 @@ func (o GoogleCloudRunV2HTTPHeaderArrayOutput) ToGoogleCloudRunV2HTTPHeaderArray return o } +func (o GoogleCloudRunV2HTTPHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2HTTPHeader] { + return pulumix.Output[[]GoogleCloudRunV2HTTPHeader]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2HTTPHeaderArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2HTTPHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2HTTPHeader { return vs[0].([]GoogleCloudRunV2HTTPHeader)[vs[1].(int)] @@ -2223,6 +2572,12 @@ func (o GoogleCloudRunV2HTTPHeaderResponseOutput) ToGoogleCloudRunV2HTTPHeaderRe return o } +func (o GoogleCloudRunV2HTTPHeaderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2HTTPHeaderResponse] { + return pulumix.Output[GoogleCloudRunV2HTTPHeaderResponse]{ + OutputState: o.OutputState, + } +} + // The header field name func (o GoogleCloudRunV2HTTPHeaderResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2HTTPHeaderResponse) string { return v.Name }).(pulumi.StringOutput) @@ -2247,6 +2602,12 @@ func (o GoogleCloudRunV2HTTPHeaderResponseArrayOutput) ToGoogleCloudRunV2HTTPHea return o } +func (o GoogleCloudRunV2HTTPHeaderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2HTTPHeaderResponse] { + return pulumix.Output[[]GoogleCloudRunV2HTTPHeaderResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2HTTPHeaderResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2HTTPHeaderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2HTTPHeaderResponse { return vs[0].([]GoogleCloudRunV2HTTPHeaderResponse)[vs[1].(int)] @@ -2312,6 +2673,12 @@ func (i GoogleCloudRunV2ProbeArgs) ToGoogleCloudRunV2ProbeOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2ProbeOutput) } +func (i GoogleCloudRunV2ProbeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2Probe] { + return pulumix.Output[GoogleCloudRunV2Probe]{ + OutputState: i.ToGoogleCloudRunV2ProbeOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2ProbeArgs) ToGoogleCloudRunV2ProbePtrOutput() GoogleCloudRunV2ProbePtrOutput { return i.ToGoogleCloudRunV2ProbePtrOutputWithContext(context.Background()) } @@ -2353,6 +2720,12 @@ func (i *googleCloudRunV2ProbePtrType) ToGoogleCloudRunV2ProbePtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2ProbePtrOutput) } +func (i *googleCloudRunV2ProbePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2Probe] { + return pulumix.Output[*GoogleCloudRunV2Probe]{ + OutputState: i.ToGoogleCloudRunV2ProbePtrOutputWithContext(ctx).OutputState, + } +} + // Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. type GoogleCloudRunV2ProbeOutput struct{ *pulumi.OutputState } @@ -2378,6 +2751,12 @@ func (o GoogleCloudRunV2ProbeOutput) ToGoogleCloudRunV2ProbePtrOutputWithContext }).(GoogleCloudRunV2ProbePtrOutput) } +func (o GoogleCloudRunV2ProbeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2Probe] { + return pulumix.Output[GoogleCloudRunV2Probe]{ + OutputState: o.OutputState, + } +} + // Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. func (o GoogleCloudRunV2ProbeOutput) FailureThreshold() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2Probe) *int { return v.FailureThreshold }).(pulumi.IntPtrOutput) @@ -2427,6 +2806,12 @@ func (o GoogleCloudRunV2ProbePtrOutput) ToGoogleCloudRunV2ProbePtrOutputWithCont return o } +func (o GoogleCloudRunV2ProbePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2Probe] { + return pulumix.Output[*GoogleCloudRunV2Probe]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2ProbePtrOutput) Elem() GoogleCloudRunV2ProbeOutput { return o.ApplyT(func(v *GoogleCloudRunV2Probe) GoogleCloudRunV2Probe { if v != nil { @@ -2540,6 +2925,12 @@ func (o GoogleCloudRunV2ProbeResponseOutput) ToGoogleCloudRunV2ProbeResponseOutp return o } +func (o GoogleCloudRunV2ProbeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ProbeResponse] { + return pulumix.Output[GoogleCloudRunV2ProbeResponse]{ + OutputState: o.OutputState, + } +} + // Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. func (o GoogleCloudRunV2ProbeResponseOutput) FailureThreshold() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRunV2ProbeResponse) int { return v.FailureThreshold }).(pulumi.IntOutput) @@ -2618,6 +3009,12 @@ func (i GoogleCloudRunV2ResourceRequirementsArgs) ToGoogleCloudRunV2ResourceRequ return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2ResourceRequirementsOutput) } +func (i GoogleCloudRunV2ResourceRequirementsArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ResourceRequirements] { + return pulumix.Output[GoogleCloudRunV2ResourceRequirements]{ + OutputState: i.ToGoogleCloudRunV2ResourceRequirementsOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2ResourceRequirementsArgs) ToGoogleCloudRunV2ResourceRequirementsPtrOutput() GoogleCloudRunV2ResourceRequirementsPtrOutput { return i.ToGoogleCloudRunV2ResourceRequirementsPtrOutputWithContext(context.Background()) } @@ -2659,6 +3056,12 @@ func (i *googleCloudRunV2ResourceRequirementsPtrType) ToGoogleCloudRunV2Resource return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2ResourceRequirementsPtrOutput) } +func (i *googleCloudRunV2ResourceRequirementsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2ResourceRequirements] { + return pulumix.Output[*GoogleCloudRunV2ResourceRequirements]{ + OutputState: i.ToGoogleCloudRunV2ResourceRequirementsPtrOutputWithContext(ctx).OutputState, + } +} + // ResourceRequirements describes the compute resource requirements. type GoogleCloudRunV2ResourceRequirementsOutput struct{ *pulumi.OutputState } @@ -2684,6 +3087,12 @@ func (o GoogleCloudRunV2ResourceRequirementsOutput) ToGoogleCloudRunV2ResourceRe }).(GoogleCloudRunV2ResourceRequirementsPtrOutput) } +func (o GoogleCloudRunV2ResourceRequirementsOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ResourceRequirements] { + return pulumix.Output[GoogleCloudRunV2ResourceRequirements]{ + OutputState: o.OutputState, + } +} + // Determines whether CPU should be throttled or not outside of requests. func (o GoogleCloudRunV2ResourceRequirementsOutput) CpuIdle() pulumi.BoolPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2ResourceRequirements) *bool { return v.CpuIdle }).(pulumi.BoolPtrOutput) @@ -2713,6 +3122,12 @@ func (o GoogleCloudRunV2ResourceRequirementsPtrOutput) ToGoogleCloudRunV2Resourc return o } +func (o GoogleCloudRunV2ResourceRequirementsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2ResourceRequirements] { + return pulumix.Output[*GoogleCloudRunV2ResourceRequirements]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2ResourceRequirementsPtrOutput) Elem() GoogleCloudRunV2ResourceRequirementsOutput { return o.ApplyT(func(v *GoogleCloudRunV2ResourceRequirements) GoogleCloudRunV2ResourceRequirements { if v != nil { @@ -2778,6 +3193,12 @@ func (o GoogleCloudRunV2ResourceRequirementsResponseOutput) ToGoogleCloudRunV2Re return o } +func (o GoogleCloudRunV2ResourceRequirementsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2ResourceRequirementsResponse] { + return pulumix.Output[GoogleCloudRunV2ResourceRequirementsResponse]{ + OutputState: o.OutputState, + } +} + // Determines whether CPU should be throttled or not outside of requests. func (o GoogleCloudRunV2ResourceRequirementsResponseOutput) CpuIdle() pulumi.BoolOutput { return o.ApplyT(func(v GoogleCloudRunV2ResourceRequirementsResponse) bool { return v.CpuIdle }).(pulumi.BoolOutput) @@ -2832,6 +3253,12 @@ func (i GoogleCloudRunV2RevisionScalingArgs) ToGoogleCloudRunV2RevisionScalingOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2RevisionScalingOutput) } +func (i GoogleCloudRunV2RevisionScalingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2RevisionScaling] { + return pulumix.Output[GoogleCloudRunV2RevisionScaling]{ + OutputState: i.ToGoogleCloudRunV2RevisionScalingOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2RevisionScalingArgs) ToGoogleCloudRunV2RevisionScalingPtrOutput() GoogleCloudRunV2RevisionScalingPtrOutput { return i.ToGoogleCloudRunV2RevisionScalingPtrOutputWithContext(context.Background()) } @@ -2873,6 +3300,12 @@ func (i *googleCloudRunV2RevisionScalingPtrType) ToGoogleCloudRunV2RevisionScali return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2RevisionScalingPtrOutput) } +func (i *googleCloudRunV2RevisionScalingPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2RevisionScaling] { + return pulumix.Output[*GoogleCloudRunV2RevisionScaling]{ + OutputState: i.ToGoogleCloudRunV2RevisionScalingPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for revision-level scaling settings. type GoogleCloudRunV2RevisionScalingOutput struct{ *pulumi.OutputState } @@ -2898,6 +3331,12 @@ func (o GoogleCloudRunV2RevisionScalingOutput) ToGoogleCloudRunV2RevisionScaling }).(GoogleCloudRunV2RevisionScalingPtrOutput) } +func (o GoogleCloudRunV2RevisionScalingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2RevisionScaling] { + return pulumix.Output[GoogleCloudRunV2RevisionScaling]{ + OutputState: o.OutputState, + } +} + // Maximum number of serving instances that this resource should have. func (o GoogleCloudRunV2RevisionScalingOutput) MaxInstanceCount() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2RevisionScaling) *int { return v.MaxInstanceCount }).(pulumi.IntPtrOutput) @@ -2922,6 +3361,12 @@ func (o GoogleCloudRunV2RevisionScalingPtrOutput) ToGoogleCloudRunV2RevisionScal return o } +func (o GoogleCloudRunV2RevisionScalingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2RevisionScaling] { + return pulumix.Output[*GoogleCloudRunV2RevisionScaling]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2RevisionScalingPtrOutput) Elem() GoogleCloudRunV2RevisionScalingOutput { return o.ApplyT(func(v *GoogleCloudRunV2RevisionScaling) GoogleCloudRunV2RevisionScaling { if v != nil { @@ -2975,6 +3420,12 @@ func (o GoogleCloudRunV2RevisionScalingResponseOutput) ToGoogleCloudRunV2Revisio return o } +func (o GoogleCloudRunV2RevisionScalingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2RevisionScalingResponse] { + return pulumix.Output[GoogleCloudRunV2RevisionScalingResponse]{ + OutputState: o.OutputState, + } +} + // Maximum number of serving instances that this resource should have. func (o GoogleCloudRunV2RevisionScalingResponseOutput) MaxInstanceCount() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRunV2RevisionScalingResponse) int { return v.MaxInstanceCount }).(pulumi.IntOutput) @@ -3068,6 +3519,12 @@ func (i GoogleCloudRunV2RevisionTemplateArgs) ToGoogleCloudRunV2RevisionTemplate return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2RevisionTemplateOutput) } +func (i GoogleCloudRunV2RevisionTemplateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2RevisionTemplate] { + return pulumix.Output[GoogleCloudRunV2RevisionTemplate]{ + OutputState: i.ToGoogleCloudRunV2RevisionTemplateOutputWithContext(ctx).OutputState, + } +} + // RevisionTemplate describes the data a revision should have when created from a template. type GoogleCloudRunV2RevisionTemplateOutput struct{ *pulumi.OutputState } @@ -3083,6 +3540,12 @@ func (o GoogleCloudRunV2RevisionTemplateOutput) ToGoogleCloudRunV2RevisionTempla return o } +func (o GoogleCloudRunV2RevisionTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2RevisionTemplate] { + return pulumix.Output[GoogleCloudRunV2RevisionTemplate]{ + OutputState: o.OutputState, + } +} + // Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules. func (o GoogleCloudRunV2RevisionTemplateOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRunV2RevisionTemplate) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) @@ -3195,6 +3658,12 @@ func (o GoogleCloudRunV2RevisionTemplateResponseOutput) ToGoogleCloudRunV2Revisi return o } +func (o GoogleCloudRunV2RevisionTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2RevisionTemplateResponse] { + return pulumix.Output[GoogleCloudRunV2RevisionTemplateResponse]{ + OutputState: o.OutputState, + } +} + // Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 RevisionTemplate. This field follows Kubernetes annotations' namespacing, limits, and rules. func (o GoogleCloudRunV2RevisionTemplateResponseOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v GoogleCloudRunV2RevisionTemplateResponse) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) @@ -3303,6 +3772,12 @@ func (i GoogleCloudRunV2SecretKeySelectorArgs) ToGoogleCloudRunV2SecretKeySelect return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2SecretKeySelectorOutput) } +func (i GoogleCloudRunV2SecretKeySelectorArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2SecretKeySelector] { + return pulumix.Output[GoogleCloudRunV2SecretKeySelector]{ + OutputState: i.ToGoogleCloudRunV2SecretKeySelectorOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2SecretKeySelectorArgs) ToGoogleCloudRunV2SecretKeySelectorPtrOutput() GoogleCloudRunV2SecretKeySelectorPtrOutput { return i.ToGoogleCloudRunV2SecretKeySelectorPtrOutputWithContext(context.Background()) } @@ -3344,6 +3819,12 @@ func (i *googleCloudRunV2SecretKeySelectorPtrType) ToGoogleCloudRunV2SecretKeySe return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2SecretKeySelectorPtrOutput) } +func (i *googleCloudRunV2SecretKeySelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2SecretKeySelector] { + return pulumix.Output[*GoogleCloudRunV2SecretKeySelector]{ + OutputState: i.ToGoogleCloudRunV2SecretKeySelectorPtrOutputWithContext(ctx).OutputState, + } +} + // SecretEnvVarSource represents a source for the value of an EnvVar. type GoogleCloudRunV2SecretKeySelectorOutput struct{ *pulumi.OutputState } @@ -3369,6 +3850,12 @@ func (o GoogleCloudRunV2SecretKeySelectorOutput) ToGoogleCloudRunV2SecretKeySele }).(GoogleCloudRunV2SecretKeySelectorPtrOutput) } +func (o GoogleCloudRunV2SecretKeySelectorOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2SecretKeySelector] { + return pulumix.Output[GoogleCloudRunV2SecretKeySelector]{ + OutputState: o.OutputState, + } +} + // The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. func (o GoogleCloudRunV2SecretKeySelectorOutput) Secret() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2SecretKeySelector) string { return v.Secret }).(pulumi.StringOutput) @@ -3393,6 +3880,12 @@ func (o GoogleCloudRunV2SecretKeySelectorPtrOutput) ToGoogleCloudRunV2SecretKeyS return o } +func (o GoogleCloudRunV2SecretKeySelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2SecretKeySelector] { + return pulumix.Output[*GoogleCloudRunV2SecretKeySelector]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2SecretKeySelectorPtrOutput) Elem() GoogleCloudRunV2SecretKeySelectorOutput { return o.ApplyT(func(v *GoogleCloudRunV2SecretKeySelector) GoogleCloudRunV2SecretKeySelector { if v != nil { @@ -3446,6 +3939,12 @@ func (o GoogleCloudRunV2SecretKeySelectorResponseOutput) ToGoogleCloudRunV2Secre return o } +func (o GoogleCloudRunV2SecretKeySelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2SecretKeySelectorResponse] { + return pulumix.Output[GoogleCloudRunV2SecretKeySelectorResponse]{ + OutputState: o.OutputState, + } +} + // The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. func (o GoogleCloudRunV2SecretKeySelectorResponseOutput) Secret() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2SecretKeySelectorResponse) string { return v.Secret }).(pulumi.StringOutput) @@ -3499,6 +3998,12 @@ func (i GoogleCloudRunV2SecretVolumeSourceArgs) ToGoogleCloudRunV2SecretVolumeSo return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2SecretVolumeSourceOutput) } +func (i GoogleCloudRunV2SecretVolumeSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2SecretVolumeSource] { + return pulumix.Output[GoogleCloudRunV2SecretVolumeSource]{ + OutputState: i.ToGoogleCloudRunV2SecretVolumeSourceOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2SecretVolumeSourceArgs) ToGoogleCloudRunV2SecretVolumeSourcePtrOutput() GoogleCloudRunV2SecretVolumeSourcePtrOutput { return i.ToGoogleCloudRunV2SecretVolumeSourcePtrOutputWithContext(context.Background()) } @@ -3540,6 +4045,12 @@ func (i *googleCloudRunV2SecretVolumeSourcePtrType) ToGoogleCloudRunV2SecretVolu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2SecretVolumeSourcePtrOutput) } +func (i *googleCloudRunV2SecretVolumeSourcePtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2SecretVolumeSource] { + return pulumix.Output[*GoogleCloudRunV2SecretVolumeSource]{ + OutputState: i.ToGoogleCloudRunV2SecretVolumeSourcePtrOutputWithContext(ctx).OutputState, + } +} + // The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret. type GoogleCloudRunV2SecretVolumeSourceOutput struct{ *pulumi.OutputState } @@ -3565,6 +4076,12 @@ func (o GoogleCloudRunV2SecretVolumeSourceOutput) ToGoogleCloudRunV2SecretVolume }).(GoogleCloudRunV2SecretVolumeSourcePtrOutput) } +func (o GoogleCloudRunV2SecretVolumeSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2SecretVolumeSource] { + return pulumix.Output[GoogleCloudRunV2SecretVolumeSource]{ + OutputState: o.OutputState, + } +} + // Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set. func (o GoogleCloudRunV2SecretVolumeSourceOutput) DefaultMode() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2SecretVolumeSource) *int { return v.DefaultMode }).(pulumi.IntPtrOutput) @@ -3594,6 +4111,12 @@ func (o GoogleCloudRunV2SecretVolumeSourcePtrOutput) ToGoogleCloudRunV2SecretVol return o } +func (o GoogleCloudRunV2SecretVolumeSourcePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2SecretVolumeSource] { + return pulumix.Output[*GoogleCloudRunV2SecretVolumeSource]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2SecretVolumeSourcePtrOutput) Elem() GoogleCloudRunV2SecretVolumeSourceOutput { return o.ApplyT(func(v *GoogleCloudRunV2SecretVolumeSource) GoogleCloudRunV2SecretVolumeSource { if v != nil { @@ -3659,6 +4182,12 @@ func (o GoogleCloudRunV2SecretVolumeSourceResponseOutput) ToGoogleCloudRunV2Secr return o } +func (o GoogleCloudRunV2SecretVolumeSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2SecretVolumeSourceResponse] { + return pulumix.Output[GoogleCloudRunV2SecretVolumeSourceResponse]{ + OutputState: o.OutputState, + } +} + // Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. This might be in conflict with other options that affect the file mode, like fsGroup, and as a result, other mode bits could be set. func (o GoogleCloudRunV2SecretVolumeSourceResponseOutput) DefaultMode() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRunV2SecretVolumeSourceResponse) int { return v.DefaultMode }).(pulumi.IntOutput) @@ -3711,6 +4240,12 @@ func (i GoogleCloudRunV2TCPSocketActionArgs) ToGoogleCloudRunV2TCPSocketActionOu return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2TCPSocketActionOutput) } +func (i GoogleCloudRunV2TCPSocketActionArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TCPSocketAction] { + return pulumix.Output[GoogleCloudRunV2TCPSocketAction]{ + OutputState: i.ToGoogleCloudRunV2TCPSocketActionOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2TCPSocketActionArgs) ToGoogleCloudRunV2TCPSocketActionPtrOutput() GoogleCloudRunV2TCPSocketActionPtrOutput { return i.ToGoogleCloudRunV2TCPSocketActionPtrOutputWithContext(context.Background()) } @@ -3752,6 +4287,12 @@ func (i *googleCloudRunV2TCPSocketActionPtrType) ToGoogleCloudRunV2TCPSocketActi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2TCPSocketActionPtrOutput) } +func (i *googleCloudRunV2TCPSocketActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2TCPSocketAction] { + return pulumix.Output[*GoogleCloudRunV2TCPSocketAction]{ + OutputState: i.ToGoogleCloudRunV2TCPSocketActionPtrOutputWithContext(ctx).OutputState, + } +} + // TCPSocketAction describes an action based on opening a socket type GoogleCloudRunV2TCPSocketActionOutput struct{ *pulumi.OutputState } @@ -3777,6 +4318,12 @@ func (o GoogleCloudRunV2TCPSocketActionOutput) ToGoogleCloudRunV2TCPSocketAction }).(GoogleCloudRunV2TCPSocketActionPtrOutput) } +func (o GoogleCloudRunV2TCPSocketActionOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TCPSocketAction] { + return pulumix.Output[GoogleCloudRunV2TCPSocketAction]{ + OutputState: o.OutputState, + } +} + // Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort. func (o GoogleCloudRunV2TCPSocketActionOutput) Port() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2TCPSocketAction) *int { return v.Port }).(pulumi.IntPtrOutput) @@ -3796,6 +4343,12 @@ func (o GoogleCloudRunV2TCPSocketActionPtrOutput) ToGoogleCloudRunV2TCPSocketAct return o } +func (o GoogleCloudRunV2TCPSocketActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2TCPSocketAction] { + return pulumix.Output[*GoogleCloudRunV2TCPSocketAction]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2TCPSocketActionPtrOutput) Elem() GoogleCloudRunV2TCPSocketActionOutput { return o.ApplyT(func(v *GoogleCloudRunV2TCPSocketAction) GoogleCloudRunV2TCPSocketAction { if v != nil { @@ -3837,6 +4390,12 @@ func (o GoogleCloudRunV2TCPSocketActionResponseOutput) ToGoogleCloudRunV2TCPSock return o } +func (o GoogleCloudRunV2TCPSocketActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TCPSocketActionResponse] { + return pulumix.Output[GoogleCloudRunV2TCPSocketActionResponse]{ + OutputState: o.OutputState, + } +} + // Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort. func (o GoogleCloudRunV2TCPSocketActionResponseOutput) Port() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRunV2TCPSocketActionResponse) int { return v.Port }).(pulumi.IntOutput) @@ -3905,6 +4464,12 @@ func (i GoogleCloudRunV2TaskTemplateArgs) ToGoogleCloudRunV2TaskTemplateOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2TaskTemplateOutput) } +func (i GoogleCloudRunV2TaskTemplateArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TaskTemplate] { + return pulumix.Output[GoogleCloudRunV2TaskTemplate]{ + OutputState: i.ToGoogleCloudRunV2TaskTemplateOutputWithContext(ctx).OutputState, + } +} + // TaskTemplate describes the data a task should have when created from a template. type GoogleCloudRunV2TaskTemplateOutput struct{ *pulumi.OutputState } @@ -3920,6 +4485,12 @@ func (o GoogleCloudRunV2TaskTemplateOutput) ToGoogleCloudRunV2TaskTemplateOutput return o } +func (o GoogleCloudRunV2TaskTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TaskTemplate] { + return pulumix.Output[GoogleCloudRunV2TaskTemplate]{ + OutputState: o.OutputState, + } +} + // Holds the single container that defines the unit of execution for this task. func (o GoogleCloudRunV2TaskTemplateOutput) Containers() GoogleCloudRunV2ContainerArrayOutput { return o.ApplyT(func(v GoogleCloudRunV2TaskTemplate) []GoogleCloudRunV2Container { return v.Containers }).(GoogleCloudRunV2ContainerArrayOutput) @@ -3997,6 +4568,12 @@ func (o GoogleCloudRunV2TaskTemplateResponseOutput) ToGoogleCloudRunV2TaskTempla return o } +func (o GoogleCloudRunV2TaskTemplateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TaskTemplateResponse] { + return pulumix.Output[GoogleCloudRunV2TaskTemplateResponse]{ + OutputState: o.OutputState, + } +} + // Holds the single container that defines the unit of execution for this task. func (o GoogleCloudRunV2TaskTemplateResponseOutput) Containers() GoogleCloudRunV2ContainerResponseArrayOutput { return o.ApplyT(func(v GoogleCloudRunV2TaskTemplateResponse) []GoogleCloudRunV2ContainerResponse { return v.Containers }).(GoogleCloudRunV2ContainerResponseArrayOutput) @@ -4084,6 +4661,12 @@ func (i GoogleCloudRunV2TrafficTargetArgs) ToGoogleCloudRunV2TrafficTargetOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2TrafficTargetOutput) } +func (i GoogleCloudRunV2TrafficTargetArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TrafficTarget] { + return pulumix.Output[GoogleCloudRunV2TrafficTarget]{ + OutputState: i.ToGoogleCloudRunV2TrafficTargetOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRunV2TrafficTargetArrayInput is an input type that accepts GoogleCloudRunV2TrafficTargetArray and GoogleCloudRunV2TrafficTargetArrayOutput values. // You can construct a concrete instance of `GoogleCloudRunV2TrafficTargetArrayInput` via: // @@ -4109,6 +4692,12 @@ func (i GoogleCloudRunV2TrafficTargetArray) ToGoogleCloudRunV2TrafficTargetArray return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2TrafficTargetArrayOutput) } +func (i GoogleCloudRunV2TrafficTargetArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2TrafficTarget] { + return pulumix.Output[[]GoogleCloudRunV2TrafficTarget]{ + OutputState: i.ToGoogleCloudRunV2TrafficTargetArrayOutputWithContext(ctx).OutputState, + } +} + // Holds a single traffic routing entry for the Service. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision. type GoogleCloudRunV2TrafficTargetOutput struct{ *pulumi.OutputState } @@ -4124,6 +4713,12 @@ func (o GoogleCloudRunV2TrafficTargetOutput) ToGoogleCloudRunV2TrafficTargetOutp return o } +func (o GoogleCloudRunV2TrafficTargetOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TrafficTarget] { + return pulumix.Output[GoogleCloudRunV2TrafficTarget]{ + OutputState: o.OutputState, + } +} + // Specifies percent of the traffic to this Revision. This defaults to zero if unspecified. func (o GoogleCloudRunV2TrafficTargetOutput) Percent() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2TrafficTarget) *int { return v.Percent }).(pulumi.IntPtrOutput) @@ -4158,6 +4753,12 @@ func (o GoogleCloudRunV2TrafficTargetArrayOutput) ToGoogleCloudRunV2TrafficTarge return o } +func (o GoogleCloudRunV2TrafficTargetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2TrafficTarget] { + return pulumix.Output[[]GoogleCloudRunV2TrafficTarget]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2TrafficTargetArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2TrafficTargetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2TrafficTarget { return vs[0].([]GoogleCloudRunV2TrafficTarget)[vs[1].(int)] @@ -4191,6 +4792,12 @@ func (o GoogleCloudRunV2TrafficTargetResponseOutput) ToGoogleCloudRunV2TrafficTa return o } +func (o GoogleCloudRunV2TrafficTargetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TrafficTargetResponse] { + return pulumix.Output[GoogleCloudRunV2TrafficTargetResponse]{ + OutputState: o.OutputState, + } +} + // Specifies percent of the traffic to this Revision. This defaults to zero if unspecified. func (o GoogleCloudRunV2TrafficTargetResponseOutput) Percent() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRunV2TrafficTargetResponse) int { return v.Percent }).(pulumi.IntOutput) @@ -4225,6 +4832,12 @@ func (o GoogleCloudRunV2TrafficTargetResponseArrayOutput) ToGoogleCloudRunV2Traf return o } +func (o GoogleCloudRunV2TrafficTargetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2TrafficTargetResponse] { + return pulumix.Output[[]GoogleCloudRunV2TrafficTargetResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2TrafficTargetResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2TrafficTargetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2TrafficTargetResponse { return vs[0].([]GoogleCloudRunV2TrafficTargetResponse)[vs[1].(int)] @@ -4260,6 +4873,12 @@ func (o GoogleCloudRunV2TrafficTargetStatusResponseOutput) ToGoogleCloudRunV2Tra return o } +func (o GoogleCloudRunV2TrafficTargetStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2TrafficTargetStatusResponse] { + return pulumix.Output[GoogleCloudRunV2TrafficTargetStatusResponse]{ + OutputState: o.OutputState, + } +} + // Specifies percent of the traffic to this Revision. func (o GoogleCloudRunV2TrafficTargetStatusResponseOutput) Percent() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRunV2TrafficTargetStatusResponse) int { return v.Percent }).(pulumi.IntOutput) @@ -4299,6 +4918,12 @@ func (o GoogleCloudRunV2TrafficTargetStatusResponseArrayOutput) ToGoogleCloudRun return o } +func (o GoogleCloudRunV2TrafficTargetStatusResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2TrafficTargetStatusResponse] { + return pulumix.Output[[]GoogleCloudRunV2TrafficTargetStatusResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2TrafficTargetStatusResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2TrafficTargetStatusResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2TrafficTargetStatusResponse { return vs[0].([]GoogleCloudRunV2TrafficTargetStatusResponse)[vs[1].(int)] @@ -4348,6 +4973,12 @@ func (i GoogleCloudRunV2VersionToPathArgs) ToGoogleCloudRunV2VersionToPathOutput return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2VersionToPathOutput) } +func (i GoogleCloudRunV2VersionToPathArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VersionToPath] { + return pulumix.Output[GoogleCloudRunV2VersionToPath]{ + OutputState: i.ToGoogleCloudRunV2VersionToPathOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRunV2VersionToPathArrayInput is an input type that accepts GoogleCloudRunV2VersionToPathArray and GoogleCloudRunV2VersionToPathArrayOutput values. // You can construct a concrete instance of `GoogleCloudRunV2VersionToPathArrayInput` via: // @@ -4373,6 +5004,12 @@ func (i GoogleCloudRunV2VersionToPathArray) ToGoogleCloudRunV2VersionToPathArray return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2VersionToPathArrayOutput) } +func (i GoogleCloudRunV2VersionToPathArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2VersionToPath] { + return pulumix.Output[[]GoogleCloudRunV2VersionToPath]{ + OutputState: i.ToGoogleCloudRunV2VersionToPathArrayOutputWithContext(ctx).OutputState, + } +} + // VersionToPath maps a specific version of a secret to a relative file to mount to, relative to VolumeMount's mount_path. type GoogleCloudRunV2VersionToPathOutput struct{ *pulumi.OutputState } @@ -4388,6 +5025,12 @@ func (o GoogleCloudRunV2VersionToPathOutput) ToGoogleCloudRunV2VersionToPathOutp return o } +func (o GoogleCloudRunV2VersionToPathOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VersionToPath] { + return pulumix.Output[GoogleCloudRunV2VersionToPath]{ + OutputState: o.OutputState, + } +} + // Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. func (o GoogleCloudRunV2VersionToPathOutput) Mode() pulumi.IntPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2VersionToPath) *int { return v.Mode }).(pulumi.IntPtrOutput) @@ -4417,6 +5060,12 @@ func (o GoogleCloudRunV2VersionToPathArrayOutput) ToGoogleCloudRunV2VersionToPat return o } +func (o GoogleCloudRunV2VersionToPathArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2VersionToPath] { + return pulumix.Output[[]GoogleCloudRunV2VersionToPath]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2VersionToPathArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2VersionToPathOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2VersionToPath { return vs[0].([]GoogleCloudRunV2VersionToPath)[vs[1].(int)] @@ -4448,6 +5097,12 @@ func (o GoogleCloudRunV2VersionToPathResponseOutput) ToGoogleCloudRunV2VersionTo return o } +func (o GoogleCloudRunV2VersionToPathResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VersionToPathResponse] { + return pulumix.Output[GoogleCloudRunV2VersionToPathResponse]{ + OutputState: o.OutputState, + } +} + // Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. func (o GoogleCloudRunV2VersionToPathResponseOutput) Mode() pulumi.IntOutput { return o.ApplyT(func(v GoogleCloudRunV2VersionToPathResponse) int { return v.Mode }).(pulumi.IntOutput) @@ -4477,6 +5132,12 @@ func (o GoogleCloudRunV2VersionToPathResponseArrayOutput) ToGoogleCloudRunV2Vers return o } +func (o GoogleCloudRunV2VersionToPathResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2VersionToPathResponse] { + return pulumix.Output[[]GoogleCloudRunV2VersionToPathResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2VersionToPathResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2VersionToPathResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2VersionToPathResponse { return vs[0].([]GoogleCloudRunV2VersionToPathResponse)[vs[1].(int)] @@ -4530,6 +5191,12 @@ func (i GoogleCloudRunV2VolumeArgs) ToGoogleCloudRunV2VolumeOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2VolumeOutput) } +func (i GoogleCloudRunV2VolumeArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2Volume] { + return pulumix.Output[GoogleCloudRunV2Volume]{ + OutputState: i.ToGoogleCloudRunV2VolumeOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRunV2VolumeArrayInput is an input type that accepts GoogleCloudRunV2VolumeArray and GoogleCloudRunV2VolumeArrayOutput values. // You can construct a concrete instance of `GoogleCloudRunV2VolumeArrayInput` via: // @@ -4555,6 +5222,12 @@ func (i GoogleCloudRunV2VolumeArray) ToGoogleCloudRunV2VolumeArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2VolumeArrayOutput) } +func (i GoogleCloudRunV2VolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2Volume] { + return pulumix.Output[[]GoogleCloudRunV2Volume]{ + OutputState: i.ToGoogleCloudRunV2VolumeArrayOutputWithContext(ctx).OutputState, + } +} + // Volume represents a named volume in a container. type GoogleCloudRunV2VolumeOutput struct{ *pulumi.OutputState } @@ -4570,6 +5243,12 @@ func (o GoogleCloudRunV2VolumeOutput) ToGoogleCloudRunV2VolumeOutputWithContext( return o } +func (o GoogleCloudRunV2VolumeOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2Volume] { + return pulumix.Output[GoogleCloudRunV2Volume]{ + OutputState: o.OutputState, + } +} + // For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. func (o GoogleCloudRunV2VolumeOutput) CloudSqlInstance() GoogleCloudRunV2CloudSqlInstancePtrOutput { return o.ApplyT(func(v GoogleCloudRunV2Volume) *GoogleCloudRunV2CloudSqlInstance { return v.CloudSqlInstance }).(GoogleCloudRunV2CloudSqlInstancePtrOutput) @@ -4604,6 +5283,12 @@ func (o GoogleCloudRunV2VolumeArrayOutput) ToGoogleCloudRunV2VolumeArrayOutputWi return o } +func (o GoogleCloudRunV2VolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2Volume] { + return pulumix.Output[[]GoogleCloudRunV2Volume]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2VolumeArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2VolumeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2Volume { return vs[0].([]GoogleCloudRunV2Volume)[vs[1].(int)] @@ -4649,6 +5334,12 @@ func (i GoogleCloudRunV2VolumeMountArgs) ToGoogleCloudRunV2VolumeMountOutputWith return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2VolumeMountOutput) } +func (i GoogleCloudRunV2VolumeMountArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VolumeMount] { + return pulumix.Output[GoogleCloudRunV2VolumeMount]{ + OutputState: i.ToGoogleCloudRunV2VolumeMountOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudRunV2VolumeMountArrayInput is an input type that accepts GoogleCloudRunV2VolumeMountArray and GoogleCloudRunV2VolumeMountArrayOutput values. // You can construct a concrete instance of `GoogleCloudRunV2VolumeMountArrayInput` via: // @@ -4674,6 +5365,12 @@ func (i GoogleCloudRunV2VolumeMountArray) ToGoogleCloudRunV2VolumeMountArrayOutp return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2VolumeMountArrayOutput) } +func (i GoogleCloudRunV2VolumeMountArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2VolumeMount] { + return pulumix.Output[[]GoogleCloudRunV2VolumeMount]{ + OutputState: i.ToGoogleCloudRunV2VolumeMountArrayOutputWithContext(ctx).OutputState, + } +} + // VolumeMount describes a mounting of a Volume within a container. type GoogleCloudRunV2VolumeMountOutput struct{ *pulumi.OutputState } @@ -4689,6 +5386,12 @@ func (o GoogleCloudRunV2VolumeMountOutput) ToGoogleCloudRunV2VolumeMountOutputWi return o } +func (o GoogleCloudRunV2VolumeMountOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VolumeMount] { + return pulumix.Output[GoogleCloudRunV2VolumeMount]{ + OutputState: o.OutputState, + } +} + // Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run func (o GoogleCloudRunV2VolumeMountOutput) MountPath() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2VolumeMount) string { return v.MountPath }).(pulumi.StringOutput) @@ -4713,6 +5416,12 @@ func (o GoogleCloudRunV2VolumeMountArrayOutput) ToGoogleCloudRunV2VolumeMountArr return o } +func (o GoogleCloudRunV2VolumeMountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2VolumeMount] { + return pulumix.Output[[]GoogleCloudRunV2VolumeMount]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2VolumeMountArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2VolumeMountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2VolumeMount { return vs[0].([]GoogleCloudRunV2VolumeMount)[vs[1].(int)] @@ -4742,6 +5451,12 @@ func (o GoogleCloudRunV2VolumeMountResponseOutput) ToGoogleCloudRunV2VolumeMount return o } +func (o GoogleCloudRunV2VolumeMountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VolumeMountResponse] { + return pulumix.Output[GoogleCloudRunV2VolumeMountResponse]{ + OutputState: o.OutputState, + } +} + // Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run func (o GoogleCloudRunV2VolumeMountResponseOutput) MountPath() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2VolumeMountResponse) string { return v.MountPath }).(pulumi.StringOutput) @@ -4766,6 +5481,12 @@ func (o GoogleCloudRunV2VolumeMountResponseArrayOutput) ToGoogleCloudRunV2Volume return o } +func (o GoogleCloudRunV2VolumeMountResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2VolumeMountResponse] { + return pulumix.Output[[]GoogleCloudRunV2VolumeMountResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2VolumeMountResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2VolumeMountResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2VolumeMountResponse { return vs[0].([]GoogleCloudRunV2VolumeMountResponse)[vs[1].(int)] @@ -4799,6 +5520,12 @@ func (o GoogleCloudRunV2VolumeResponseOutput) ToGoogleCloudRunV2VolumeResponseOu return o } +func (o GoogleCloudRunV2VolumeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VolumeResponse] { + return pulumix.Output[GoogleCloudRunV2VolumeResponse]{ + OutputState: o.OutputState, + } +} + // For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. func (o GoogleCloudRunV2VolumeResponseOutput) CloudSqlInstance() GoogleCloudRunV2CloudSqlInstanceResponseOutput { return o.ApplyT(func(v GoogleCloudRunV2VolumeResponse) GoogleCloudRunV2CloudSqlInstanceResponse { @@ -4835,6 +5562,12 @@ func (o GoogleCloudRunV2VolumeResponseArrayOutput) ToGoogleCloudRunV2VolumeRespo return o } +func (o GoogleCloudRunV2VolumeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudRunV2VolumeResponse] { + return pulumix.Output[[]GoogleCloudRunV2VolumeResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2VolumeResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudRunV2VolumeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudRunV2VolumeResponse { return vs[0].([]GoogleCloudRunV2VolumeResponse)[vs[1].(int)] @@ -4880,6 +5613,12 @@ func (i GoogleCloudRunV2VpcAccessArgs) ToGoogleCloudRunV2VpcAccessOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2VpcAccessOutput) } +func (i GoogleCloudRunV2VpcAccessArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VpcAccess] { + return pulumix.Output[GoogleCloudRunV2VpcAccess]{ + OutputState: i.ToGoogleCloudRunV2VpcAccessOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudRunV2VpcAccessArgs) ToGoogleCloudRunV2VpcAccessPtrOutput() GoogleCloudRunV2VpcAccessPtrOutput { return i.ToGoogleCloudRunV2VpcAccessPtrOutputWithContext(context.Background()) } @@ -4921,6 +5660,12 @@ func (i *googleCloudRunV2VpcAccessPtrType) ToGoogleCloudRunV2VpcAccessPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudRunV2VpcAccessPtrOutput) } +func (i *googleCloudRunV2VpcAccessPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2VpcAccess] { + return pulumix.Output[*GoogleCloudRunV2VpcAccess]{ + OutputState: i.ToGoogleCloudRunV2VpcAccessPtrOutputWithContext(ctx).OutputState, + } +} + // VPC Access settings. For more information on creating a VPC Connector, visit https://cloud.google.com/vpc/docs/configure-serverless-vpc-access For information on how to configure Cloud Run with an existing VPC Connector, visit https://cloud.google.com/run/docs/configuring/connecting-vpc type GoogleCloudRunV2VpcAccessOutput struct{ *pulumi.OutputState } @@ -4946,6 +5691,12 @@ func (o GoogleCloudRunV2VpcAccessOutput) ToGoogleCloudRunV2VpcAccessPtrOutputWit }).(GoogleCloudRunV2VpcAccessPtrOutput) } +func (o GoogleCloudRunV2VpcAccessOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VpcAccess] { + return pulumix.Output[GoogleCloudRunV2VpcAccess]{ + OutputState: o.OutputState, + } +} + // VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. func (o GoogleCloudRunV2VpcAccessOutput) Connector() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudRunV2VpcAccess) *string { return v.Connector }).(pulumi.StringPtrOutput) @@ -4970,6 +5721,12 @@ func (o GoogleCloudRunV2VpcAccessPtrOutput) ToGoogleCloudRunV2VpcAccessPtrOutput return o } +func (o GoogleCloudRunV2VpcAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudRunV2VpcAccess] { + return pulumix.Output[*GoogleCloudRunV2VpcAccess]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudRunV2VpcAccessPtrOutput) Elem() GoogleCloudRunV2VpcAccessOutput { return o.ApplyT(func(v *GoogleCloudRunV2VpcAccess) GoogleCloudRunV2VpcAccess { if v != nil { @@ -5023,6 +5780,12 @@ func (o GoogleCloudRunV2VpcAccessResponseOutput) ToGoogleCloudRunV2VpcAccessResp return o } +func (o GoogleCloudRunV2VpcAccessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudRunV2VpcAccessResponse] { + return pulumix.Output[GoogleCloudRunV2VpcAccessResponse]{ + OutputState: o.OutputState, + } +} + // VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. func (o GoogleCloudRunV2VpcAccessResponseOutput) Connector() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudRunV2VpcAccessResponse) string { return v.Connector }).(pulumi.StringOutput) @@ -5072,6 +5835,12 @@ func (i GoogleIamV1AuditConfigArgs) ToGoogleIamV1AuditConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigOutput) } +func (i GoogleIamV1AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditConfigArrayInput is an input type that accepts GoogleIamV1AuditConfigArray and GoogleIamV1AuditConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditConfigArrayInput` via: // @@ -5097,6 +5866,12 @@ func (i GoogleIamV1AuditConfigArray) ToGoogleIamV1AuditConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditConfigArrayOutput) } +func (i GoogleIamV1AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: i.ToGoogleIamV1AuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type GoogleIamV1AuditConfigOutput struct{ *pulumi.OutputState } @@ -5112,6 +5887,12 @@ func (o GoogleIamV1AuditConfigOutput) ToGoogleIamV1AuditConfigOutputWithContext( return o } +func (o GoogleIamV1AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfig] { + return pulumix.Output[GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfig) []GoogleIamV1AuditLogConfig { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigArrayOutput) @@ -5136,6 +5917,12 @@ func (o GoogleIamV1AuditConfigArrayOutput) ToGoogleIamV1AuditConfigArrayOutputWi return o } +func (o GoogleIamV1AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfig] { + return pulumix.Output[[]GoogleIamV1AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfig { return vs[0].([]GoogleIamV1AuditConfig)[vs[1].(int)] @@ -5165,6 +5952,12 @@ func (o GoogleIamV1AuditConfigResponseOutput) ToGoogleIamV1AuditConfigResponseOu return o } +func (o GoogleIamV1AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditConfigResponse] { + return pulumix.Output[GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o GoogleIamV1AuditConfigResponseOutput) AuditLogConfigs() GoogleIamV1AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditConfigResponse) []GoogleIamV1AuditLogConfigResponse { return v.AuditLogConfigs }).(GoogleIamV1AuditLogConfigResponseArrayOutput) @@ -5189,6 +5982,12 @@ func (o GoogleIamV1AuditConfigResponseArrayOutput) ToGoogleIamV1AuditConfigRespo return o } +func (o GoogleIamV1AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditConfigResponse { return vs[0].([]GoogleIamV1AuditConfigResponse)[vs[1].(int)] @@ -5234,6 +6033,12 @@ func (i GoogleIamV1AuditLogConfigArgs) ToGoogleIamV1AuditLogConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigOutput) } +func (i GoogleIamV1AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1AuditLogConfigArrayInput is an input type that accepts GoogleIamV1AuditLogConfigArray and GoogleIamV1AuditLogConfigArrayOutput values. // You can construct a concrete instance of `GoogleIamV1AuditLogConfigArrayInput` via: // @@ -5259,6 +6064,12 @@ func (i GoogleIamV1AuditLogConfigArray) ToGoogleIamV1AuditLogConfigArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1AuditLogConfigArrayOutput) } +func (i GoogleIamV1AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: i.ToGoogleIamV1AuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type GoogleIamV1AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -5274,6 +6085,12 @@ func (o GoogleIamV1AuditLogConfigOutput) ToGoogleIamV1AuditLogConfigOutputWithCo return o } +func (o GoogleIamV1AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfig] { + return pulumix.Output[GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -5298,6 +6115,12 @@ func (o GoogleIamV1AuditLogConfigArrayOutput) ToGoogleIamV1AuditLogConfigArrayOu return o } +func (o GoogleIamV1AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfig] { + return pulumix.Output[[]GoogleIamV1AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfig { return vs[0].([]GoogleIamV1AuditLogConfig)[vs[1].(int)] @@ -5327,6 +6150,12 @@ func (o GoogleIamV1AuditLogConfigResponseOutput) ToGoogleIamV1AuditLogConfigResp return o } +func (o GoogleIamV1AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o GoogleIamV1AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleIamV1AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -5351,6 +6180,12 @@ func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToGoogleIamV1AuditLogConfi return o } +func (o GoogleIamV1AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1AuditLogConfigResponse] { + return pulumix.Output[[]GoogleIamV1AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1AuditLogConfigResponse { return vs[0].([]GoogleIamV1AuditLogConfigResponse)[vs[1].(int)] @@ -5400,6 +6235,12 @@ func (i GoogleIamV1BindingArgs) ToGoogleIamV1BindingOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingOutput) } +func (i GoogleIamV1BindingArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingOutputWithContext(ctx).OutputState, + } +} + // GoogleIamV1BindingArrayInput is an input type that accepts GoogleIamV1BindingArray and GoogleIamV1BindingArrayOutput values. // You can construct a concrete instance of `GoogleIamV1BindingArrayInput` via: // @@ -5425,6 +6266,12 @@ func (i GoogleIamV1BindingArray) ToGoogleIamV1BindingArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GoogleIamV1BindingArrayOutput) } +func (i GoogleIamV1BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: i.ToGoogleIamV1BindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type GoogleIamV1BindingOutput struct{ *pulumi.OutputState } @@ -5440,6 +6287,12 @@ func (o GoogleIamV1BindingOutput) ToGoogleIamV1BindingOutputWithContext(ctx cont return o } +func (o GoogleIamV1BindingOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1Binding] { + return pulumix.Output[GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingOutput) Condition() GoogleTypeExprPtrOutput { return o.ApplyT(func(v GoogleIamV1Binding) *GoogleTypeExpr { return v.Condition }).(GoogleTypeExprPtrOutput) @@ -5469,6 +6322,12 @@ func (o GoogleIamV1BindingArrayOutput) ToGoogleIamV1BindingArrayOutputWithContex return o } +func (o GoogleIamV1BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1Binding] { + return pulumix.Output[[]GoogleIamV1Binding]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1Binding { return vs[0].([]GoogleIamV1Binding)[vs[1].(int)] @@ -5500,6 +6359,12 @@ func (o GoogleIamV1BindingResponseOutput) ToGoogleIamV1BindingResponseOutputWith return o } +func (o GoogleIamV1BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleIamV1BindingResponse] { + return pulumix.Output[GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o GoogleIamV1BindingResponseOutput) Condition() GoogleTypeExprResponseOutput { return o.ApplyT(func(v GoogleIamV1BindingResponse) GoogleTypeExprResponse { return v.Condition }).(GoogleTypeExprResponseOutput) @@ -5529,6 +6394,12 @@ func (o GoogleIamV1BindingResponseArrayOutput) ToGoogleIamV1BindingResponseArray return o } +func (o GoogleIamV1BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleIamV1BindingResponse] { + return pulumix.Output[[]GoogleIamV1BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleIamV1BindingResponseArrayOutput) Index(i pulumi.IntInput) GoogleIamV1BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleIamV1BindingResponse { return vs[0].([]GoogleIamV1BindingResponse)[vs[1].(int)] @@ -5582,6 +6453,12 @@ func (i GoogleTypeExprArgs) ToGoogleTypeExprOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprOutput) } +func (i GoogleTypeExprArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprOutputWithContext(ctx).OutputState, + } +} + func (i GoogleTypeExprArgs) ToGoogleTypeExprPtrOutput() GoogleTypeExprPtrOutput { return i.ToGoogleTypeExprPtrOutputWithContext(context.Background()) } @@ -5623,6 +6500,12 @@ func (i *googleTypeExprPtrType) ToGoogleTypeExprPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GoogleTypeExprPtrOutput) } +func (i *googleTypeExprPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: i.ToGoogleTypeExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type GoogleTypeExprOutput struct{ *pulumi.OutputState } @@ -5648,6 +6531,12 @@ func (o GoogleTypeExprOutput) ToGoogleTypeExprPtrOutputWithContext(ctx context.C }).(GoogleTypeExprPtrOutput) } +func (o GoogleTypeExprOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExpr] { + return pulumix.Output[GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleTypeExpr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -5682,6 +6571,12 @@ func (o GoogleTypeExprPtrOutput) ToGoogleTypeExprPtrOutputWithContext(ctx contex return o } +func (o GoogleTypeExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleTypeExpr] { + return pulumix.Output[*GoogleTypeExpr]{ + OutputState: o.OutputState, + } +} + func (o GoogleTypeExprPtrOutput) Elem() GoogleTypeExprOutput { return o.ApplyT(func(v *GoogleTypeExpr) GoogleTypeExpr { if v != nil { @@ -5759,6 +6654,12 @@ func (o GoogleTypeExprResponseOutput) ToGoogleTypeExprResponseOutputWithContext( return o } +func (o GoogleTypeExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleTypeExprResponse] { + return pulumix.Output[GoogleTypeExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o GoogleTypeExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v GoogleTypeExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/run/v2/service.go b/sdk/go/google/run/v2/service.go index 9ccde7d5d5..1efc5ab446 100644 --- a/sdk/go/google/run/v2/service.go +++ b/sdk/go/google/run/v2/service.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Service in a given project and location. @@ -213,6 +214,12 @@ func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput return pulumi.ToOutputWithContext(ctx, i).(ServiceOutput) } +func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: i.ToServiceOutputWithContext(ctx).OutputState, + } +} + type ServiceOutput struct{ *pulumi.OutputState } func (ServiceOutput) ElementType() reflect.Type { @@ -227,6 +234,12 @@ func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOu return o } +func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: o.OutputState, + } +} + // Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules. func (o ServiceOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Service) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/run/v2/serviceIamBinding.go b/sdk/go/google/run/v2/serviceIamBinding.go index b4a1a099e5..0f5e128857 100644 --- a/sdk/go/google/run/v2/serviceIamBinding.go +++ b/sdk/go/google/run/v2/serviceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified Service. Overwrites any existing policy. @@ -140,6 +141,12 @@ func (i *ServiceIamBinding) ToServiceIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ServiceIamBindingOutput) } +func (i *ServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: i.ToServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceIamBindingOutput struct{ *pulumi.OutputState } func (ServiceIamBindingOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ServiceIamBindingOutput) ToServiceIamBindingOutputWithContext(ctx contex return o } +func (o ServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/run/v2/serviceIamMember.go b/sdk/go/google/run/v2/serviceIamMember.go index 1ecf40fab7..266c764377 100644 --- a/sdk/go/google/run/v2/serviceIamMember.go +++ b/sdk/go/google/run/v2/serviceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified Service. Overwrites any existing policy. @@ -140,6 +141,12 @@ func (i *ServiceIamMember) ToServiceIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamMemberOutput) } +func (i *ServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: i.ToServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceIamMemberOutput struct{ *pulumi.OutputState } func (ServiceIamMemberOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o ServiceIamMemberOutput) ToServiceIamMemberOutputWithContext(ctx context. return o } +func (o ServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/run/v2/serviceIamPolicy.go b/sdk/go/google/run/v2/serviceIamPolicy.go index af5de956be..16d6febc23 100644 --- a/sdk/go/google/run/v2/serviceIamPolicy.go +++ b/sdk/go/google/run/v2/serviceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Access control policy for the specified Service. Overwrites any existing policy. @@ -135,6 +136,12 @@ func (i *ServiceIamPolicy) ToServiceIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamPolicyOutput) } +func (i *ServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: i.ToServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamPolicyOutput) ToServiceIamPolicyOutputWithContext(ctx context. return o } +func (o ServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceIamPolicyOutput) AuditConfigs() GoogleIamV1AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceIamPolicy) GoogleIamV1AuditConfigResponseArrayOutput { return v.AuditConfigs }).(GoogleIamV1AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/runtimeconfig/v1beta1/config.go b/sdk/go/google/runtimeconfig/v1beta1/config.go index 7bdd9244ba..66bbc23459 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/config.go +++ b/sdk/go/google/runtimeconfig/v1beta1/config.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new RuntimeConfig resource. The configuration name must be unique within project. @@ -111,6 +112,12 @@ func (i *Config) ToConfigOutputWithContext(ctx context.Context) ConfigOutput { return pulumi.ToOutputWithContext(ctx, i).(ConfigOutput) } +func (i *Config) ToOutput(ctx context.Context) pulumix.Output[*Config] { + return pulumix.Output[*Config]{ + OutputState: i.ToConfigOutputWithContext(ctx).OutputState, + } +} + type ConfigOutput struct{ *pulumi.OutputState } func (ConfigOutput) ElementType() reflect.Type { @@ -125,6 +132,12 @@ func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutpu return o } +func (o ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*Config] { + return pulumix.Output[*Config]{ + OutputState: o.OutputState, + } +} + // An optional description of the RuntimeConfig object. func (o ConfigOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *Config) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/runtimeconfig/v1beta1/configIamBinding.go b/sdk/go/google/runtimeconfig/v1beta1/configIamBinding.go index b6fc563782..37a821c892 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/configIamBinding.go +++ b/sdk/go/google/runtimeconfig/v1beta1/configIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConfigIamBinding) ToConfigIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ConfigIamBindingOutput) } +func (i *ConfigIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ConfigIamBinding] { + return pulumix.Output[*ConfigIamBinding]{ + OutputState: i.ToConfigIamBindingOutputWithContext(ctx).OutputState, + } +} + type ConfigIamBindingOutput struct{ *pulumi.OutputState } func (ConfigIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConfigIamBindingOutput) ToConfigIamBindingOutputWithContext(ctx context. return o } +func (o ConfigIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigIamBinding] { + return pulumix.Output[*ConfigIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConfigIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConfigIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/runtimeconfig/v1beta1/configIamMember.go b/sdk/go/google/runtimeconfig/v1beta1/configIamMember.go index 7084a4d8e8..d02899d747 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/configIamMember.go +++ b/sdk/go/google/runtimeconfig/v1beta1/configIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ConfigIamMember) ToConfigIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ConfigIamMemberOutput) } +func (i *ConfigIamMember) ToOutput(ctx context.Context) pulumix.Output[*ConfigIamMember] { + return pulumix.Output[*ConfigIamMember]{ + OutputState: i.ToConfigIamMemberOutputWithContext(ctx).OutputState, + } +} + type ConfigIamMemberOutput struct{ *pulumi.OutputState } func (ConfigIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ConfigIamMemberOutput) ToConfigIamMemberOutputWithContext(ctx context.Co return o } +func (o ConfigIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigIamMember] { + return pulumix.Output[*ConfigIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ConfigIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ConfigIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/runtimeconfig/v1beta1/configIamPolicy.go b/sdk/go/google/runtimeconfig/v1beta1/configIamPolicy.go index 7204b96109..c606f2c2f7 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/configIamPolicy.go +++ b/sdk/go/google/runtimeconfig/v1beta1/configIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -121,6 +122,12 @@ func (i *ConfigIamPolicy) ToConfigIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ConfigIamPolicyOutput) } +func (i *ConfigIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ConfigIamPolicy] { + return pulumix.Output[*ConfigIamPolicy]{ + OutputState: i.ToConfigIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ConfigIamPolicyOutput struct{ *pulumi.OutputState } func (ConfigIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o ConfigIamPolicyOutput) ToConfigIamPolicyOutputWithContext(ctx context.Co return o } +func (o ConfigIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigIamPolicy] { + return pulumix.Output[*ConfigIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o ConfigIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *ConfigIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/runtimeconfig/v1beta1/getConfig.go b/sdk/go/google/runtimeconfig/v1beta1/getConfig.go index 71f82cebb5..50df2d6c55 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/getConfig.go +++ b/sdk/go/google/runtimeconfig/v1beta1/getConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a RuntimeConfig resource. @@ -70,6 +71,12 @@ func (o LookupConfigResultOutput) ToLookupConfigResultOutputWithContext(ctx cont return o } +func (o LookupConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConfigResult] { + return pulumix.Output[LookupConfigResult]{ + OutputState: o.OutputState, + } +} + // An optional description of the RuntimeConfig object. func (o LookupConfigResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupConfigResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/runtimeconfig/v1beta1/getConfigIamPolicy.go b/sdk/go/google/runtimeconfig/v1beta1/getConfigIamPolicy.go index cd5c44c03f..9338633400 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/getConfigIamPolicy.go +++ b/sdk/go/google/runtimeconfig/v1beta1/getConfigIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupConfigIamPolicyResultOutput) ToLookupConfigIamPolicyResultOutputWi return o } +func (o LookupConfigIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConfigIamPolicyResult] { + return pulumix.Output[LookupConfigIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupConfigIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupConfigIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/runtimeconfig/v1beta1/getVariable.go b/sdk/go/google/runtimeconfig/v1beta1/getVariable.go index 2a60183777..9d167f4fb2 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/getVariable.go +++ b/sdk/go/google/runtimeconfig/v1beta1/getVariable.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a single variable. @@ -78,6 +79,12 @@ func (o LookupVariableResultOutput) ToLookupVariableResultOutputWithContext(ctx return o } +func (o LookupVariableResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupVariableResult] { + return pulumix.Output[LookupVariableResult]{ + OutputState: o.OutputState, + } +} + // The name of the variable resource, in the format: projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME] The `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a valid RuntimeConfig resource and `[VARIABLE_NAME]` follows Unix file system file path naming. The `[VARIABLE_NAME]` can contain ASCII letters, numbers, slashes and dashes. Slashes are used as path element separators and are not part of the `[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one non-slash character. Multiple slashes are coalesced into single slash character. Each path segment should match [0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])? regular expression. The length of a `[VARIABLE_NAME]` must be less than 256 characters. Once you create a variable, you cannot change the variable name. func (o LookupVariableResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupVariableResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/runtimeconfig/v1beta1/getWaiter.go b/sdk/go/google/runtimeconfig/v1beta1/getWaiter.go index 49762211d3..56b1349a3d 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/getWaiter.go +++ b/sdk/go/google/runtimeconfig/v1beta1/getWaiter.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a single waiter. @@ -82,6 +83,12 @@ func (o LookupWaiterResultOutput) ToLookupWaiterResultOutputWithContext(ctx cont return o } +func (o LookupWaiterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWaiterResult] { + return pulumix.Output[LookupWaiterResult]{ + OutputState: o.OutputState, + } +} + // The instant at which this Waiter resource was created. Adding the value of `timeout` to this instant yields the timeout deadline for the waiter. func (o LookupWaiterResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupWaiterResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/runtimeconfig/v1beta1/pulumiTypes.go b/sdk/go/google/runtimeconfig/v1beta1/pulumiTypes.go index f036967c6d..2f815e1874 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/pulumiTypes.go +++ b/sdk/go/google/runtimeconfig/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -230,6 +267,12 @@ func (i CardinalityArgs) ToCardinalityOutputWithContext(ctx context.Context) Car return pulumi.ToOutputWithContext(ctx, i).(CardinalityOutput) } +func (i CardinalityArgs) ToOutput(ctx context.Context) pulumix.Output[Cardinality] { + return pulumix.Output[Cardinality]{ + OutputState: i.ToCardinalityOutputWithContext(ctx).OutputState, + } +} + func (i CardinalityArgs) ToCardinalityPtrOutput() CardinalityPtrOutput { return i.ToCardinalityPtrOutputWithContext(context.Background()) } @@ -271,6 +314,12 @@ func (i *cardinalityPtrType) ToCardinalityPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(CardinalityPtrOutput) } +func (i *cardinalityPtrType) ToOutput(ctx context.Context) pulumix.Output[*Cardinality] { + return pulumix.Output[*Cardinality]{ + OutputState: i.ToCardinalityPtrOutputWithContext(ctx).OutputState, + } +} + // A Cardinality condition for the Waiter resource. A cardinality condition is met when the number of variables under a specified path prefix reaches a predefined number. For example, if you set a Cardinality condition where the `path` is set to `/foo` and the number of paths is set to `2`, the following variables would meet the condition in a RuntimeConfig resource: + `/foo/variable1 = "value1"` + `/foo/variable2 = "value2"` + `/bar/variable3 = "value3"` It would not satisfy the same condition with the `number` set to `3`, however, because there is only 2 paths that start with `/foo`. Cardinality conditions are recursive; all subtrees under the specific path prefix are counted. type CardinalityOutput struct{ *pulumi.OutputState } @@ -296,6 +345,12 @@ func (o CardinalityOutput) ToCardinalityPtrOutputWithContext(ctx context.Context }).(CardinalityPtrOutput) } +func (o CardinalityOutput) ToOutput(ctx context.Context) pulumix.Output[Cardinality] { + return pulumix.Output[Cardinality]{ + OutputState: o.OutputState, + } +} + // The number variables under the `path` that must exist to meet this condition. Defaults to 1 if not specified. func (o CardinalityOutput) Number() pulumi.IntPtrOutput { return o.ApplyT(func(v Cardinality) *int { return v.Number }).(pulumi.IntPtrOutput) @@ -320,6 +375,12 @@ func (o CardinalityPtrOutput) ToCardinalityPtrOutputWithContext(ctx context.Cont return o } +func (o CardinalityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Cardinality] { + return pulumix.Output[*Cardinality]{ + OutputState: o.OutputState, + } +} + func (o CardinalityPtrOutput) Elem() CardinalityOutput { return o.ApplyT(func(v *Cardinality) Cardinality { if v != nil { @@ -373,6 +434,12 @@ func (o CardinalityResponseOutput) ToCardinalityResponseOutputWithContext(ctx co return o } +func (o CardinalityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CardinalityResponse] { + return pulumix.Output[CardinalityResponse]{ + OutputState: o.OutputState, + } +} + // The number variables under the `path` that must exist to meet this condition. Defaults to 1 if not specified. func (o CardinalityResponseOutput) Number() pulumi.IntOutput { return o.ApplyT(func(v CardinalityResponse) int { return v.Number }).(pulumi.IntOutput) @@ -418,6 +485,12 @@ func (i EndConditionArgs) ToEndConditionOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(EndConditionOutput) } +func (i EndConditionArgs) ToOutput(ctx context.Context) pulumix.Output[EndCondition] { + return pulumix.Output[EndCondition]{ + OutputState: i.ToEndConditionOutputWithContext(ctx).OutputState, + } +} + func (i EndConditionArgs) ToEndConditionPtrOutput() EndConditionPtrOutput { return i.ToEndConditionPtrOutputWithContext(context.Background()) } @@ -459,6 +532,12 @@ func (i *endConditionPtrType) ToEndConditionPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(EndConditionPtrOutput) } +func (i *endConditionPtrType) ToOutput(ctx context.Context) pulumix.Output[*EndCondition] { + return pulumix.Output[*EndCondition]{ + OutputState: i.ToEndConditionPtrOutputWithContext(ctx).OutputState, + } +} + // The condition that a Waiter resource is waiting for. type EndConditionOutput struct{ *pulumi.OutputState } @@ -484,6 +563,12 @@ func (o EndConditionOutput) ToEndConditionPtrOutputWithContext(ctx context.Conte }).(EndConditionPtrOutput) } +func (o EndConditionOutput) ToOutput(ctx context.Context) pulumix.Output[EndCondition] { + return pulumix.Output[EndCondition]{ + OutputState: o.OutputState, + } +} + // The cardinality of the `EndCondition`. func (o EndConditionOutput) Cardinality() CardinalityPtrOutput { return o.ApplyT(func(v EndCondition) *Cardinality { return v.Cardinality }).(CardinalityPtrOutput) @@ -503,6 +588,12 @@ func (o EndConditionPtrOutput) ToEndConditionPtrOutputWithContext(ctx context.Co return o } +func (o EndConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EndCondition] { + return pulumix.Output[*EndCondition]{ + OutputState: o.OutputState, + } +} + func (o EndConditionPtrOutput) Elem() EndConditionOutput { return o.ApplyT(func(v *EndCondition) EndCondition { if v != nil { @@ -544,6 +635,12 @@ func (o EndConditionResponseOutput) ToEndConditionResponseOutputWithContext(ctx return o } +func (o EndConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndConditionResponse] { + return pulumix.Output[EndConditionResponse]{ + OutputState: o.OutputState, + } +} + // The cardinality of the `EndCondition`. func (o EndConditionResponseOutput) Cardinality() CardinalityResponseOutput { return o.ApplyT(func(v EndConditionResponse) CardinalityResponse { return v.Cardinality }).(CardinalityResponseOutput) @@ -596,6 +693,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -637,6 +740,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -662,6 +771,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -696,6 +811,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -773,6 +894,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -818,6 +945,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/runtimeconfig/v1beta1/variable.go b/sdk/go/google/runtimeconfig/v1beta1/variable.go index 8ec5a0256d..0e53f6f8c0 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/variable.go +++ b/sdk/go/google/runtimeconfig/v1beta1/variable.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a variable within the given configuration. You cannot create a variable with a name that is a prefix of an existing variable name, or a name that has an existing variable name as a prefix. To learn more about creating a variable, read the [Setting and Getting Data](/deployment-manager/runtime-configurator/set-and-get-variables) documentation. @@ -129,6 +130,12 @@ func (i *Variable) ToVariableOutputWithContext(ctx context.Context) VariableOutp return pulumi.ToOutputWithContext(ctx, i).(VariableOutput) } +func (i *Variable) ToOutput(ctx context.Context) pulumix.Output[*Variable] { + return pulumix.Output[*Variable]{ + OutputState: i.ToVariableOutputWithContext(ctx).OutputState, + } +} + type VariableOutput struct{ *pulumi.OutputState } func (VariableOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o VariableOutput) ToVariableOutputWithContext(ctx context.Context) Variabl return o } +func (o VariableOutput) ToOutput(ctx context.Context) pulumix.Output[*Variable] { + return pulumix.Output[*Variable]{ + OutputState: o.OutputState, + } +} + func (o VariableOutput) ConfigId() pulumi.StringOutput { return o.ApplyT(func(v *Variable) pulumi.StringOutput { return v.ConfigId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/runtimeconfig/v1beta1/waiter.go b/sdk/go/google/runtimeconfig/v1beta1/waiter.go index 5a91b701a4..5636e54b26 100644 --- a/sdk/go/google/runtimeconfig/v1beta1/waiter.go +++ b/sdk/go/google/runtimeconfig/v1beta1/waiter.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Waiter resource. This operation returns a long-running Operation resource which can be polled for completion. However, a waiter with the given name will exist (and can be retrieved) prior to the operation completing. If the operation fails, the failed Waiter resource will still exist and must be deleted prior to subsequent creation attempts. @@ -137,6 +138,12 @@ func (i *Waiter) ToWaiterOutputWithContext(ctx context.Context) WaiterOutput { return pulumi.ToOutputWithContext(ctx, i).(WaiterOutput) } +func (i *Waiter) ToOutput(ctx context.Context) pulumix.Output[*Waiter] { + return pulumix.Output[*Waiter]{ + OutputState: i.ToWaiterOutputWithContext(ctx).OutputState, + } +} + type WaiterOutput struct{ *pulumi.OutputState } func (WaiterOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o WaiterOutput) ToWaiterOutputWithContext(ctx context.Context) WaiterOutpu return o } +func (o WaiterOutput) ToOutput(ctx context.Context) pulumix.Output[*Waiter] { + return pulumix.Output[*Waiter]{ + OutputState: o.OutputState, + } +} + func (o WaiterOutput) ConfigId() pulumi.StringOutput { return o.ApplyT(func(v *Waiter) pulumi.StringOutput { return v.ConfigId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/secretmanager/v1/getSecret.go b/sdk/go/google/secretmanager/v1/getSecret.go index c977fce3ac..e670ff264a 100644 --- a/sdk/go/google/secretmanager/v1/getSecret.go +++ b/sdk/go/google/secretmanager/v1/getSecret.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets metadata for a given Secret. @@ -88,6 +89,12 @@ func (o LookupSecretResultOutput) ToLookupSecretResultOutputWithContext(ctx cont return o } +func (o LookupSecretResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecretResult] { + return pulumix.Output[LookupSecretResult]{ + OutputState: o.OutputState, + } +} + // Optional. Custom metadata about the secret. Annotations are distinct from various forms of labels. Annotations exist to allow client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may have dashes (-), underscores (_), dots (.), and alphanumerics in between these symbols. The total size of annotation keys and values must be less than 16KiB. func (o LookupSecretResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupSecretResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/secretmanager/v1/getSecretIamPolicy.go b/sdk/go/google/secretmanager/v1/getSecretIamPolicy.go index 921af956e7..9027732e0b 100644 --- a/sdk/go/google/secretmanager/v1/getSecretIamPolicy.go +++ b/sdk/go/google/secretmanager/v1/getSecretIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupSecretIamPolicyResultOutput) ToLookupSecretIamPolicyResultOutputWi return o } +func (o LookupSecretIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecretIamPolicyResult] { + return pulumix.Output[LookupSecretIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupSecretIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupSecretIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/secretmanager/v1/pulumiEnums.go b/sdk/go/google/secretmanager/v1/pulumiEnums.go index 1933426dfd..57f0421e67 100644 --- a/sdk/go/google/secretmanager/v1/pulumiEnums.go +++ b/sdk/go/google/secretmanager/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/secretmanager/v1/pulumiTypes.go b/sdk/go/google/secretmanager/v1/pulumiTypes.go index 0bf43b2e9b..b5ef9d5295 100644 --- a/sdk/go/google/secretmanager/v1/pulumiTypes.go +++ b/sdk/go/google/secretmanager/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -372,6 +445,12 @@ func (i AutomaticArgs) ToAutomaticOutputWithContext(ctx context.Context) Automat return pulumi.ToOutputWithContext(ctx, i).(AutomaticOutput) } +func (i AutomaticArgs) ToOutput(ctx context.Context) pulumix.Output[Automatic] { + return pulumix.Output[Automatic]{ + OutputState: i.ToAutomaticOutputWithContext(ctx).OutputState, + } +} + func (i AutomaticArgs) ToAutomaticPtrOutput() AutomaticPtrOutput { return i.ToAutomaticPtrOutputWithContext(context.Background()) } @@ -413,6 +492,12 @@ func (i *automaticPtrType) ToAutomaticPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AutomaticPtrOutput) } +func (i *automaticPtrType) ToOutput(ctx context.Context) pulumix.Output[*Automatic] { + return pulumix.Output[*Automatic]{ + OutputState: i.ToAutomaticPtrOutputWithContext(ctx).OutputState, + } +} + // A replication policy that replicates the Secret payload without any restrictions. type AutomaticOutput struct{ *pulumi.OutputState } @@ -438,6 +523,12 @@ func (o AutomaticOutput) ToAutomaticPtrOutputWithContext(ctx context.Context) Au }).(AutomaticPtrOutput) } +func (o AutomaticOutput) ToOutput(ctx context.Context) pulumix.Output[Automatic] { + return pulumix.Output[Automatic]{ + OutputState: o.OutputState, + } +} + // Optional. The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used. Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions. func (o AutomaticOutput) CustomerManagedEncryption() CustomerManagedEncryptionPtrOutput { return o.ApplyT(func(v Automatic) *CustomerManagedEncryption { return v.CustomerManagedEncryption }).(CustomerManagedEncryptionPtrOutput) @@ -457,6 +548,12 @@ func (o AutomaticPtrOutput) ToAutomaticPtrOutputWithContext(ctx context.Context) return o } +func (o AutomaticPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Automatic] { + return pulumix.Output[*Automatic]{ + OutputState: o.OutputState, + } +} + func (o AutomaticPtrOutput) Elem() AutomaticOutput { return o.ApplyT(func(v *Automatic) Automatic { if v != nil { @@ -498,6 +595,12 @@ func (o AutomaticResponseOutput) ToAutomaticResponseOutputWithContext(ctx contex return o } +func (o AutomaticResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutomaticResponse] { + return pulumix.Output[AutomaticResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used. Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions. func (o AutomaticResponseOutput) CustomerManagedEncryption() CustomerManagedEncryptionResponseOutput { return o.ApplyT(func(v AutomaticResponse) CustomerManagedEncryptionResponse { return v.CustomerManagedEncryption }).(CustomerManagedEncryptionResponseOutput) @@ -546,6 +649,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -571,6 +680,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -586,6 +701,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -615,6 +736,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -646,6 +773,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -675,6 +808,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -716,6 +855,12 @@ func (i CustomerManagedEncryptionArgs) ToCustomerManagedEncryptionOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(CustomerManagedEncryptionOutput) } +func (i CustomerManagedEncryptionArgs) ToOutput(ctx context.Context) pulumix.Output[CustomerManagedEncryption] { + return pulumix.Output[CustomerManagedEncryption]{ + OutputState: i.ToCustomerManagedEncryptionOutputWithContext(ctx).OutputState, + } +} + func (i CustomerManagedEncryptionArgs) ToCustomerManagedEncryptionPtrOutput() CustomerManagedEncryptionPtrOutput { return i.ToCustomerManagedEncryptionPtrOutputWithContext(context.Background()) } @@ -757,6 +902,12 @@ func (i *customerManagedEncryptionPtrType) ToCustomerManagedEncryptionPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(CustomerManagedEncryptionPtrOutput) } +func (i *customerManagedEncryptionPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomerManagedEncryption] { + return pulumix.Output[*CustomerManagedEncryption]{ + OutputState: i.ToCustomerManagedEncryptionPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK). type CustomerManagedEncryptionOutput struct{ *pulumi.OutputState } @@ -782,6 +933,12 @@ func (o CustomerManagedEncryptionOutput) ToCustomerManagedEncryptionPtrOutputWit }).(CustomerManagedEncryptionPtrOutput) } +func (o CustomerManagedEncryptionOutput) ToOutput(ctx context.Context) pulumix.Output[CustomerManagedEncryption] { + return pulumix.Output[CustomerManagedEncryption]{ + OutputState: o.OutputState, + } +} + // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. For secrets using the UserManaged replication policy type, Cloud KMS CryptoKeys must reside in the same location as the replica location. For secrets using the Automatic replication policy type, Cloud KMS CryptoKeys must reside in `global`. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. func (o CustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v CustomerManagedEncryption) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -801,6 +958,12 @@ func (o CustomerManagedEncryptionPtrOutput) ToCustomerManagedEncryptionPtrOutput return o } +func (o CustomerManagedEncryptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomerManagedEncryption] { + return pulumix.Output[*CustomerManagedEncryption]{ + OutputState: o.OutputState, + } +} + func (o CustomerManagedEncryptionPtrOutput) Elem() CustomerManagedEncryptionOutput { return o.ApplyT(func(v *CustomerManagedEncryption) CustomerManagedEncryption { if v != nil { @@ -842,6 +1005,12 @@ func (o CustomerManagedEncryptionResponseOutput) ToCustomerManagedEncryptionResp return o } +func (o CustomerManagedEncryptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomerManagedEncryptionResponse] { + return pulumix.Output[CustomerManagedEncryptionResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. For secrets using the UserManaged replication policy type, Cloud KMS CryptoKeys must reside in the same location as the replica location. For secrets using the Automatic replication policy type, Cloud KMS CryptoKeys must reside in `global`. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. func (o CustomerManagedEncryptionResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v CustomerManagedEncryptionResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -894,6 +1063,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -935,6 +1110,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -960,6 +1141,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -994,6 +1181,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1071,6 +1264,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1130,6 +1329,12 @@ func (i ReplicaArgs) ToReplicaOutputWithContext(ctx context.Context) ReplicaOutp return pulumi.ToOutputWithContext(ctx, i).(ReplicaOutput) } +func (i ReplicaArgs) ToOutput(ctx context.Context) pulumix.Output[Replica] { + return pulumix.Output[Replica]{ + OutputState: i.ToReplicaOutputWithContext(ctx).OutputState, + } +} + // ReplicaArrayInput is an input type that accepts ReplicaArray and ReplicaArrayOutput values. // You can construct a concrete instance of `ReplicaArrayInput` via: // @@ -1155,6 +1360,12 @@ func (i ReplicaArray) ToReplicaArrayOutputWithContext(ctx context.Context) Repli return pulumi.ToOutputWithContext(ctx, i).(ReplicaArrayOutput) } +func (i ReplicaArray) ToOutput(ctx context.Context) pulumix.Output[[]Replica] { + return pulumix.Output[[]Replica]{ + OutputState: i.ToReplicaArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a Replica for this Secret. type ReplicaOutput struct{ *pulumi.OutputState } @@ -1170,6 +1381,12 @@ func (o ReplicaOutput) ToReplicaOutputWithContext(ctx context.Context) ReplicaOu return o } +func (o ReplicaOutput) ToOutput(ctx context.Context) pulumix.Output[Replica] { + return pulumix.Output[Replica]{ + OutputState: o.OutputState, + } +} + // Optional. The customer-managed encryption configuration of the User-Managed Replica. If no configuration is provided, Google-managed default encryption is used. Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions. func (o ReplicaOutput) CustomerManagedEncryption() CustomerManagedEncryptionPtrOutput { return o.ApplyT(func(v Replica) *CustomerManagedEncryption { return v.CustomerManagedEncryption }).(CustomerManagedEncryptionPtrOutput) @@ -1194,6 +1411,12 @@ func (o ReplicaArrayOutput) ToReplicaArrayOutputWithContext(ctx context.Context) return o } +func (o ReplicaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Replica] { + return pulumix.Output[[]Replica]{ + OutputState: o.OutputState, + } +} + func (o ReplicaArrayOutput) Index(i pulumi.IntInput) ReplicaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Replica { return vs[0].([]Replica)[vs[1].(int)] @@ -1223,6 +1446,12 @@ func (o ReplicaResponseOutput) ToReplicaResponseOutputWithContext(ctx context.Co return o } +func (o ReplicaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicaResponse] { + return pulumix.Output[ReplicaResponse]{ + OutputState: o.OutputState, + } +} + // Optional. The customer-managed encryption configuration of the User-Managed Replica. If no configuration is provided, Google-managed default encryption is used. Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions. func (o ReplicaResponseOutput) CustomerManagedEncryption() CustomerManagedEncryptionResponseOutput { return o.ApplyT(func(v ReplicaResponse) CustomerManagedEncryptionResponse { return v.CustomerManagedEncryption }).(CustomerManagedEncryptionResponseOutput) @@ -1247,6 +1476,12 @@ func (o ReplicaResponseArrayOutput) ToReplicaResponseArrayOutputWithContext(ctx return o } +func (o ReplicaResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReplicaResponse] { + return pulumix.Output[[]ReplicaResponse]{ + OutputState: o.OutputState, + } +} + func (o ReplicaResponseArrayOutput) Index(i pulumi.IntInput) ReplicaResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReplicaResponse { return vs[0].([]ReplicaResponse)[vs[1].(int)] @@ -1292,6 +1527,12 @@ func (i ReplicationArgs) ToReplicationOutputWithContext(ctx context.Context) Rep return pulumi.ToOutputWithContext(ctx, i).(ReplicationOutput) } +func (i ReplicationArgs) ToOutput(ctx context.Context) pulumix.Output[Replication] { + return pulumix.Output[Replication]{ + OutputState: i.ToReplicationOutputWithContext(ctx).OutputState, + } +} + // A policy that defines the replication and encryption configuration of data. type ReplicationOutput struct{ *pulumi.OutputState } @@ -1307,6 +1548,12 @@ func (o ReplicationOutput) ToReplicationOutputWithContext(ctx context.Context) R return o } +func (o ReplicationOutput) ToOutput(ctx context.Context) pulumix.Output[Replication] { + return pulumix.Output[Replication]{ + OutputState: o.OutputState, + } +} + // The Secret will automatically be replicated without any restrictions. func (o ReplicationOutput) Automatic() AutomaticPtrOutput { return o.ApplyT(func(v Replication) *Automatic { return v.Automatic }).(AutomaticPtrOutput) @@ -1340,6 +1587,12 @@ func (o ReplicationResponseOutput) ToReplicationResponseOutputWithContext(ctx co return o } +func (o ReplicationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicationResponse] { + return pulumix.Output[ReplicationResponse]{ + OutputState: o.OutputState, + } +} + // The Secret will automatically be replicated without any restrictions. func (o ReplicationResponseOutput) Automatic() AutomaticResponseOutput { return o.ApplyT(func(v ReplicationResponse) AutomaticResponse { return v.Automatic }).(AutomaticResponseOutput) @@ -1389,6 +1642,12 @@ func (i RotationArgs) ToRotationOutputWithContext(ctx context.Context) RotationO return pulumi.ToOutputWithContext(ctx, i).(RotationOutput) } +func (i RotationArgs) ToOutput(ctx context.Context) pulumix.Output[Rotation] { + return pulumix.Output[Rotation]{ + OutputState: i.ToRotationOutputWithContext(ctx).OutputState, + } +} + func (i RotationArgs) ToRotationPtrOutput() RotationPtrOutput { return i.ToRotationPtrOutputWithContext(context.Background()) } @@ -1430,6 +1689,12 @@ func (i *rotationPtrType) ToRotationPtrOutputWithContext(ctx context.Context) Ro return pulumi.ToOutputWithContext(ctx, i).(RotationPtrOutput) } +func (i *rotationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Rotation] { + return pulumix.Output[*Rotation]{ + OutputState: i.ToRotationPtrOutputWithContext(ctx).OutputState, + } +} + // The rotation time and period for a Secret. At next_rotation_time, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. Secret.topics must be set to configure rotation. type RotationOutput struct{ *pulumi.OutputState } @@ -1455,6 +1720,12 @@ func (o RotationOutput) ToRotationPtrOutputWithContext(ctx context.Context) Rota }).(RotationPtrOutput) } +func (o RotationOutput) ToOutput(ctx context.Context) pulumix.Output[Rotation] { + return pulumix.Output[Rotation]{ + OutputState: o.OutputState, + } +} + // Optional. Timestamp in UTC at which the Secret is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). next_rotation_time MUST be set if rotation_period is set. func (o RotationOutput) NextRotationTime() pulumi.StringPtrOutput { return o.ApplyT(func(v Rotation) *string { return v.NextRotationTime }).(pulumi.StringPtrOutput) @@ -1479,6 +1750,12 @@ func (o RotationPtrOutput) ToRotationPtrOutputWithContext(ctx context.Context) R return o } +func (o RotationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Rotation] { + return pulumix.Output[*Rotation]{ + OutputState: o.OutputState, + } +} + func (o RotationPtrOutput) Elem() RotationOutput { return o.ApplyT(func(v *Rotation) Rotation { if v != nil { @@ -1532,6 +1809,12 @@ func (o RotationResponseOutput) ToRotationResponseOutputWithContext(ctx context. return o } +func (o RotationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RotationResponse] { + return pulumix.Output[RotationResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Timestamp in UTC at which the Secret is scheduled to rotate. Cannot be set to less than 300s (5 min) in the future and at most 3153600000s (100 years). next_rotation_time MUST be set if rotation_period is set. func (o RotationResponseOutput) NextRotationTime() pulumi.StringOutput { return o.ApplyT(func(v RotationResponse) string { return v.NextRotationTime }).(pulumi.StringOutput) @@ -1577,6 +1860,12 @@ func (i TopicArgs) ToTopicOutputWithContext(ctx context.Context) TopicOutput { return pulumi.ToOutputWithContext(ctx, i).(TopicOutput) } +func (i TopicArgs) ToOutput(ctx context.Context) pulumix.Output[Topic] { + return pulumix.Output[Topic]{ + OutputState: i.ToTopicOutputWithContext(ctx).OutputState, + } +} + // TopicArrayInput is an input type that accepts TopicArray and TopicArrayOutput values. // You can construct a concrete instance of `TopicArrayInput` via: // @@ -1602,6 +1891,12 @@ func (i TopicArray) ToTopicArrayOutputWithContext(ctx context.Context) TopicArra return pulumi.ToOutputWithContext(ctx, i).(TopicArrayOutput) } +func (i TopicArray) ToOutput(ctx context.Context) pulumix.Output[[]Topic] { + return pulumix.Output[[]Topic]{ + OutputState: i.ToTopicArrayOutputWithContext(ctx).OutputState, + } +} + // A Pub/Sub topic which Secret Manager will publish to when control plane events occur on this secret. type TopicOutput struct{ *pulumi.OutputState } @@ -1617,6 +1912,12 @@ func (o TopicOutput) ToTopicOutputWithContext(ctx context.Context) TopicOutput { return o } +func (o TopicOutput) ToOutput(ctx context.Context) pulumix.Output[Topic] { + return pulumix.Output[Topic]{ + OutputState: o.OutputState, + } +} + // The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager service agent must have the `pubsub.topic.publish` permission on the topic. The Pub/Sub Publisher role (`roles/pubsub.publisher`) includes this permission. func (o TopicOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v Topic) string { return v.Name }).(pulumi.StringOutput) @@ -1636,6 +1937,12 @@ func (o TopicArrayOutput) ToTopicArrayOutputWithContext(ctx context.Context) Top return o } +func (o TopicArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Topic] { + return pulumix.Output[[]Topic]{ + OutputState: o.OutputState, + } +} + func (o TopicArrayOutput) Index(i pulumi.IntInput) TopicOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Topic { return vs[0].([]Topic)[vs[1].(int)] @@ -1663,6 +1970,12 @@ func (o TopicResponseOutput) ToTopicResponseOutputWithContext(ctx context.Contex return o } +func (o TopicResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TopicResponse] { + return pulumix.Output[TopicResponse]{ + OutputState: o.OutputState, + } +} + // The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager service agent must have the `pubsub.topic.publish` permission on the topic. The Pub/Sub Publisher role (`roles/pubsub.publisher`) includes this permission. func (o TopicResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v TopicResponse) string { return v.Name }).(pulumi.StringOutput) @@ -1682,6 +1995,12 @@ func (o TopicResponseArrayOutput) ToTopicResponseArrayOutputWithContext(ctx cont return o } +func (o TopicResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TopicResponse] { + return pulumix.Output[[]TopicResponse]{ + OutputState: o.OutputState, + } +} + func (o TopicResponseArrayOutput) Index(i pulumi.IntInput) TopicResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TopicResponse { return vs[0].([]TopicResponse)[vs[1].(int)] @@ -1723,6 +2042,12 @@ func (i UserManagedArgs) ToUserManagedOutputWithContext(ctx context.Context) Use return pulumi.ToOutputWithContext(ctx, i).(UserManagedOutput) } +func (i UserManagedArgs) ToOutput(ctx context.Context) pulumix.Output[UserManaged] { + return pulumix.Output[UserManaged]{ + OutputState: i.ToUserManagedOutputWithContext(ctx).OutputState, + } +} + func (i UserManagedArgs) ToUserManagedPtrOutput() UserManagedPtrOutput { return i.ToUserManagedPtrOutputWithContext(context.Background()) } @@ -1764,6 +2089,12 @@ func (i *userManagedPtrType) ToUserManagedPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(UserManagedPtrOutput) } +func (i *userManagedPtrType) ToOutput(ctx context.Context) pulumix.Output[*UserManaged] { + return pulumix.Output[*UserManaged]{ + OutputState: i.ToUserManagedPtrOutputWithContext(ctx).OutputState, + } +} + // A replication policy that replicates the Secret payload into the locations specified in Secret.replication.user_managed.replicas type UserManagedOutput struct{ *pulumi.OutputState } @@ -1789,6 +2120,12 @@ func (o UserManagedOutput) ToUserManagedPtrOutputWithContext(ctx context.Context }).(UserManagedPtrOutput) } +func (o UserManagedOutput) ToOutput(ctx context.Context) pulumix.Output[UserManaged] { + return pulumix.Output[UserManaged]{ + OutputState: o.OutputState, + } +} + // The list of Replicas for this Secret. Cannot be empty. func (o UserManagedOutput) Replicas() ReplicaArrayOutput { return o.ApplyT(func(v UserManaged) []Replica { return v.Replicas }).(ReplicaArrayOutput) @@ -1808,6 +2145,12 @@ func (o UserManagedPtrOutput) ToUserManagedPtrOutputWithContext(ctx context.Cont return o } +func (o UserManagedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserManaged] { + return pulumix.Output[*UserManaged]{ + OutputState: o.OutputState, + } +} + func (o UserManagedPtrOutput) Elem() UserManagedOutput { return o.ApplyT(func(v *UserManaged) UserManaged { if v != nil { @@ -1849,6 +2192,12 @@ func (o UserManagedResponseOutput) ToUserManagedResponseOutputWithContext(ctx co return o } +func (o UserManagedResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UserManagedResponse] { + return pulumix.Output[UserManagedResponse]{ + OutputState: o.OutputState, + } +} + // The list of Replicas for this Secret. Cannot be empty. func (o UserManagedResponseOutput) Replicas() ReplicaResponseArrayOutput { return o.ApplyT(func(v UserManagedResponse) []ReplicaResponse { return v.Replicas }).(ReplicaResponseArrayOutput) diff --git a/sdk/go/google/secretmanager/v1/secret.go b/sdk/go/google/secretmanager/v1/secret.go index dfabc4d0c8..a40813d5d1 100644 --- a/sdk/go/google/secretmanager/v1/secret.go +++ b/sdk/go/google/secretmanager/v1/secret.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Secret containing no SecretVersions. @@ -166,6 +167,12 @@ func (i *Secret) ToSecretOutputWithContext(ctx context.Context) SecretOutput { return pulumi.ToOutputWithContext(ctx, i).(SecretOutput) } +func (i *Secret) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: i.ToSecretOutputWithContext(ctx).OutputState, + } +} + type SecretOutput struct{ *pulumi.OutputState } func (SecretOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutpu return o } +func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: o.OutputState, + } +} + // Optional. Custom metadata about the secret. Annotations are distinct from various forms of labels. Annotations exist to allow client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may have dashes (-), underscores (_), dots (.), and alphanumerics in between these symbols. The total size of annotation keys and values must be less than 16KiB. func (o SecretOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Secret) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/secretmanager/v1/secretIamBinding.go b/sdk/go/google/secretmanager/v1/secretIamBinding.go index e9902db757..dcaf67d2fd 100644 --- a/sdk/go/google/secretmanager/v1/secretIamBinding.go +++ b/sdk/go/google/secretmanager/v1/secretIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified secret. Replaces any existing policy. Permissions on SecretVersions are enforced according to the policy set on the associated Secret. @@ -135,6 +136,12 @@ func (i *SecretIamBinding) ToSecretIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SecretIamBindingOutput) } +func (i *SecretIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SecretIamBinding] { + return pulumix.Output[*SecretIamBinding]{ + OutputState: i.ToSecretIamBindingOutputWithContext(ctx).OutputState, + } +} + type SecretIamBindingOutput struct{ *pulumi.OutputState } func (SecretIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SecretIamBindingOutput) ToSecretIamBindingOutputWithContext(ctx context. return o } +func (o SecretIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretIamBinding] { + return pulumix.Output[*SecretIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SecretIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SecretIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/secretmanager/v1/secretIamMember.go b/sdk/go/google/secretmanager/v1/secretIamMember.go index 58d0a6ac4c..baf57fa9a8 100644 --- a/sdk/go/google/secretmanager/v1/secretIamMember.go +++ b/sdk/go/google/secretmanager/v1/secretIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified secret. Replaces any existing policy. Permissions on SecretVersions are enforced according to the policy set on the associated Secret. @@ -135,6 +136,12 @@ func (i *SecretIamMember) ToSecretIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SecretIamMemberOutput) } +func (i *SecretIamMember) ToOutput(ctx context.Context) pulumix.Output[*SecretIamMember] { + return pulumix.Output[*SecretIamMember]{ + OutputState: i.ToSecretIamMemberOutputWithContext(ctx).OutputState, + } +} + type SecretIamMemberOutput struct{ *pulumi.OutputState } func (SecretIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SecretIamMemberOutput) ToSecretIamMemberOutputWithContext(ctx context.Co return o } +func (o SecretIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretIamMember] { + return pulumix.Output[*SecretIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SecretIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SecretIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/secretmanager/v1/secretIamPolicy.go b/sdk/go/google/secretmanager/v1/secretIamPolicy.go index 206ead8fae..5b632f5d13 100644 --- a/sdk/go/google/secretmanager/v1/secretIamPolicy.go +++ b/sdk/go/google/secretmanager/v1/secretIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified secret. Replaces any existing policy. Permissions on SecretVersions are enforced according to the policy set on the associated Secret. @@ -131,6 +132,12 @@ func (i *SecretIamPolicy) ToSecretIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SecretIamPolicyOutput) } +func (i *SecretIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SecretIamPolicy] { + return pulumix.Output[*SecretIamPolicy]{ + OutputState: i.ToSecretIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SecretIamPolicyOutput struct{ *pulumi.OutputState } func (SecretIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o SecretIamPolicyOutput) ToSecretIamPolicyOutputWithContext(ctx context.Co return o } +func (o SecretIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretIamPolicy] { + return pulumix.Output[*SecretIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o SecretIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *SecretIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/secretmanager/v1beta1/getSecret.go b/sdk/go/google/secretmanager/v1beta1/getSecret.go index 6b0eedb0b4..d77a82b8e0 100644 --- a/sdk/go/google/secretmanager/v1beta1/getSecret.go +++ b/sdk/go/google/secretmanager/v1beta1/getSecret.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets metadata for a given Secret. @@ -74,6 +75,12 @@ func (o LookupSecretResultOutput) ToLookupSecretResultOutputWithContext(ctx cont return o } +func (o LookupSecretResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecretResult] { + return pulumix.Output[LookupSecretResult]{ + OutputState: o.OutputState, + } +} + // The time at which the Secret was created. func (o LookupSecretResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupSecretResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/secretmanager/v1beta1/getSecretIamPolicy.go b/sdk/go/google/secretmanager/v1beta1/getSecretIamPolicy.go index 98e217c4aa..3122195880 100644 --- a/sdk/go/google/secretmanager/v1beta1/getSecretIamPolicy.go +++ b/sdk/go/google/secretmanager/v1beta1/getSecretIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupSecretIamPolicyResultOutput) ToLookupSecretIamPolicyResultOutputWi return o } +func (o LookupSecretIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecretIamPolicyResult] { + return pulumix.Output[LookupSecretIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupSecretIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupSecretIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/secretmanager/v1beta1/pulumiEnums.go b/sdk/go/google/secretmanager/v1beta1/pulumiEnums.go index b95b45c51b..4d38fef38c 100644 --- a/sdk/go/google/secretmanager/v1beta1/pulumiEnums.go +++ b/sdk/go/google/secretmanager/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/secretmanager/v1beta1/pulumiTypes.go b/sdk/go/google/secretmanager/v1beta1/pulumiTypes.go index 44e1fb5cec..a5063e6e60 100644 --- a/sdk/go/google/secretmanager/v1beta1/pulumiTypes.go +++ b/sdk/go/google/secretmanager/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -368,6 +441,12 @@ func (i AutomaticArgs) ToAutomaticOutputWithContext(ctx context.Context) Automat return pulumi.ToOutputWithContext(ctx, i).(AutomaticOutput) } +func (i AutomaticArgs) ToOutput(ctx context.Context) pulumix.Output[Automatic] { + return pulumix.Output[Automatic]{ + OutputState: i.ToAutomaticOutputWithContext(ctx).OutputState, + } +} + func (i AutomaticArgs) ToAutomaticPtrOutput() AutomaticPtrOutput { return i.ToAutomaticPtrOutputWithContext(context.Background()) } @@ -409,6 +488,12 @@ func (i *automaticPtrType) ToAutomaticPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AutomaticPtrOutput) } +func (i *automaticPtrType) ToOutput(ctx context.Context) pulumix.Output[*Automatic] { + return pulumix.Output[*Automatic]{ + OutputState: i.ToAutomaticPtrOutputWithContext(ctx).OutputState, + } +} + // A replication policy that replicates the Secret payload without any restrictions. type AutomaticOutput struct{ *pulumi.OutputState } @@ -434,6 +519,12 @@ func (o AutomaticOutput) ToAutomaticPtrOutputWithContext(ctx context.Context) Au }).(AutomaticPtrOutput) } +func (o AutomaticOutput) ToOutput(ctx context.Context) pulumix.Output[Automatic] { + return pulumix.Output[Automatic]{ + OutputState: o.OutputState, + } +} + type AutomaticPtrOutput struct{ *pulumi.OutputState } func (AutomaticPtrOutput) ElementType() reflect.Type { @@ -448,6 +539,12 @@ func (o AutomaticPtrOutput) ToAutomaticPtrOutputWithContext(ctx context.Context) return o } +func (o AutomaticPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Automatic] { + return pulumix.Output[*Automatic]{ + OutputState: o.OutputState, + } +} + func (o AutomaticPtrOutput) Elem() AutomaticOutput { return o.ApplyT(func(v *Automatic) Automatic { if v != nil { @@ -477,6 +574,12 @@ func (o AutomaticResponseOutput) ToAutomaticResponseOutputWithContext(ctx contex return o } +func (o AutomaticResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AutomaticResponse] { + return pulumix.Output[AutomaticResponse]{ + OutputState: o.OutputState, + } +} + // Associates `members`, or principals, with a `role`. type Binding struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). @@ -520,6 +623,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -545,6 +654,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -560,6 +675,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -589,6 +710,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -620,6 +747,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -649,6 +782,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -702,6 +841,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -743,6 +888,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -768,6 +919,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -802,6 +959,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -879,6 +1042,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -934,6 +1103,12 @@ func (i ReplicaArgs) ToReplicaOutputWithContext(ctx context.Context) ReplicaOutp return pulumi.ToOutputWithContext(ctx, i).(ReplicaOutput) } +func (i ReplicaArgs) ToOutput(ctx context.Context) pulumix.Output[Replica] { + return pulumix.Output[Replica]{ + OutputState: i.ToReplicaOutputWithContext(ctx).OutputState, + } +} + // ReplicaArrayInput is an input type that accepts ReplicaArray and ReplicaArrayOutput values. // You can construct a concrete instance of `ReplicaArrayInput` via: // @@ -959,6 +1134,12 @@ func (i ReplicaArray) ToReplicaArrayOutputWithContext(ctx context.Context) Repli return pulumi.ToOutputWithContext(ctx, i).(ReplicaArrayOutput) } +func (i ReplicaArray) ToOutput(ctx context.Context) pulumix.Output[[]Replica] { + return pulumix.Output[[]Replica]{ + OutputState: i.ToReplicaArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a Replica for this Secret. type ReplicaOutput struct{ *pulumi.OutputState } @@ -974,6 +1155,12 @@ func (o ReplicaOutput) ToReplicaOutputWithContext(ctx context.Context) ReplicaOu return o } +func (o ReplicaOutput) ToOutput(ctx context.Context) pulumix.Output[Replica] { + return pulumix.Output[Replica]{ + OutputState: o.OutputState, + } +} + // The canonical IDs of the location to replicate data. For example: `"us-east1"`. func (o ReplicaOutput) Location() pulumi.StringPtrOutput { return o.ApplyT(func(v Replica) *string { return v.Location }).(pulumi.StringPtrOutput) @@ -993,6 +1180,12 @@ func (o ReplicaArrayOutput) ToReplicaArrayOutputWithContext(ctx context.Context) return o } +func (o ReplicaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Replica] { + return pulumix.Output[[]Replica]{ + OutputState: o.OutputState, + } +} + func (o ReplicaArrayOutput) Index(i pulumi.IntInput) ReplicaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Replica { return vs[0].([]Replica)[vs[1].(int)] @@ -1020,6 +1213,12 @@ func (o ReplicaResponseOutput) ToReplicaResponseOutputWithContext(ctx context.Co return o } +func (o ReplicaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicaResponse] { + return pulumix.Output[ReplicaResponse]{ + OutputState: o.OutputState, + } +} + // The canonical IDs of the location to replicate data. For example: `"us-east1"`. func (o ReplicaResponseOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v ReplicaResponse) string { return v.Location }).(pulumi.StringOutput) @@ -1039,6 +1238,12 @@ func (o ReplicaResponseArrayOutput) ToReplicaResponseArrayOutputWithContext(ctx return o } +func (o ReplicaResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReplicaResponse] { + return pulumix.Output[[]ReplicaResponse]{ + OutputState: o.OutputState, + } +} + func (o ReplicaResponseArrayOutput) Index(i pulumi.IntInput) ReplicaResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReplicaResponse { return vs[0].([]ReplicaResponse)[vs[1].(int)] @@ -1084,6 +1289,12 @@ func (i ReplicationArgs) ToReplicationOutputWithContext(ctx context.Context) Rep return pulumi.ToOutputWithContext(ctx, i).(ReplicationOutput) } +func (i ReplicationArgs) ToOutput(ctx context.Context) pulumix.Output[Replication] { + return pulumix.Output[Replication]{ + OutputState: i.ToReplicationOutputWithContext(ctx).OutputState, + } +} + // A policy that defines the replication configuration of data. type ReplicationOutput struct{ *pulumi.OutputState } @@ -1099,6 +1310,12 @@ func (o ReplicationOutput) ToReplicationOutputWithContext(ctx context.Context) R return o } +func (o ReplicationOutput) ToOutput(ctx context.Context) pulumix.Output[Replication] { + return pulumix.Output[Replication]{ + OutputState: o.OutputState, + } +} + // The Secret will automatically be replicated without any restrictions. func (o ReplicationOutput) Automatic() AutomaticPtrOutput { return o.ApplyT(func(v Replication) *Automatic { return v.Automatic }).(AutomaticPtrOutput) @@ -1132,6 +1349,12 @@ func (o ReplicationResponseOutput) ToReplicationResponseOutputWithContext(ctx co return o } +func (o ReplicationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicationResponse] { + return pulumix.Output[ReplicationResponse]{ + OutputState: o.OutputState, + } +} + // The Secret will automatically be replicated without any restrictions. func (o ReplicationResponseOutput) Automatic() AutomaticResponseOutput { return o.ApplyT(func(v ReplicationResponse) AutomaticResponse { return v.Automatic }).(AutomaticResponseOutput) @@ -1177,6 +1400,12 @@ func (i UserManagedArgs) ToUserManagedOutputWithContext(ctx context.Context) Use return pulumi.ToOutputWithContext(ctx, i).(UserManagedOutput) } +func (i UserManagedArgs) ToOutput(ctx context.Context) pulumix.Output[UserManaged] { + return pulumix.Output[UserManaged]{ + OutputState: i.ToUserManagedOutputWithContext(ctx).OutputState, + } +} + func (i UserManagedArgs) ToUserManagedPtrOutput() UserManagedPtrOutput { return i.ToUserManagedPtrOutputWithContext(context.Background()) } @@ -1218,6 +1447,12 @@ func (i *userManagedPtrType) ToUserManagedPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(UserManagedPtrOutput) } +func (i *userManagedPtrType) ToOutput(ctx context.Context) pulumix.Output[*UserManaged] { + return pulumix.Output[*UserManaged]{ + OutputState: i.ToUserManagedPtrOutputWithContext(ctx).OutputState, + } +} + // A replication policy that replicates the Secret payload into the locations specified in Secret.replication.user_managed.replicas type UserManagedOutput struct{ *pulumi.OutputState } @@ -1243,6 +1478,12 @@ func (o UserManagedOutput) ToUserManagedPtrOutputWithContext(ctx context.Context }).(UserManagedPtrOutput) } +func (o UserManagedOutput) ToOutput(ctx context.Context) pulumix.Output[UserManaged] { + return pulumix.Output[UserManaged]{ + OutputState: o.OutputState, + } +} + // The list of Replicas for this Secret. Cannot be empty. func (o UserManagedOutput) Replicas() ReplicaArrayOutput { return o.ApplyT(func(v UserManaged) []Replica { return v.Replicas }).(ReplicaArrayOutput) @@ -1262,6 +1503,12 @@ func (o UserManagedPtrOutput) ToUserManagedPtrOutputWithContext(ctx context.Cont return o } +func (o UserManagedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserManaged] { + return pulumix.Output[*UserManaged]{ + OutputState: o.OutputState, + } +} + func (o UserManagedPtrOutput) Elem() UserManagedOutput { return o.ApplyT(func(v *UserManaged) UserManaged { if v != nil { @@ -1303,6 +1550,12 @@ func (o UserManagedResponseOutput) ToUserManagedResponseOutputWithContext(ctx co return o } +func (o UserManagedResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UserManagedResponse] { + return pulumix.Output[UserManagedResponse]{ + OutputState: o.OutputState, + } +} + // The list of Replicas for this Secret. Cannot be empty. func (o UserManagedResponseOutput) Replicas() ReplicaResponseArrayOutput { return o.ApplyT(func(v UserManagedResponse) []ReplicaResponse { return v.Replicas }).(ReplicaResponseArrayOutput) diff --git a/sdk/go/google/secretmanager/v1beta1/secret.go b/sdk/go/google/secretmanager/v1beta1/secret.go index d27acfb435..7ee5576843 100644 --- a/sdk/go/google/secretmanager/v1beta1/secret.go +++ b/sdk/go/google/secretmanager/v1beta1/secret.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Secret containing no SecretVersions. @@ -124,6 +125,12 @@ func (i *Secret) ToSecretOutputWithContext(ctx context.Context) SecretOutput { return pulumi.ToOutputWithContext(ctx, i).(SecretOutput) } +func (i *Secret) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: i.ToSecretOutputWithContext(ctx).OutputState, + } +} + type SecretOutput struct{ *pulumi.OutputState } func (SecretOutput) ElementType() reflect.Type { @@ -138,6 +145,12 @@ func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutpu return o } +func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[*Secret] { + return pulumix.Output[*Secret]{ + OutputState: o.OutputState, + } +} + // The time at which the Secret was created. func (o SecretOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Secret) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/secretmanager/v1beta1/secretIamBinding.go b/sdk/go/google/secretmanager/v1beta1/secretIamBinding.go index 9311bc61bc..84f509c468 100644 --- a/sdk/go/google/secretmanager/v1beta1/secretIamBinding.go +++ b/sdk/go/google/secretmanager/v1beta1/secretIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified secret. Replaces any existing policy. Permissions on SecretVersions are enforced according to the policy set on the associated Secret. @@ -135,6 +136,12 @@ func (i *SecretIamBinding) ToSecretIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SecretIamBindingOutput) } +func (i *SecretIamBinding) ToOutput(ctx context.Context) pulumix.Output[*SecretIamBinding] { + return pulumix.Output[*SecretIamBinding]{ + OutputState: i.ToSecretIamBindingOutputWithContext(ctx).OutputState, + } +} + type SecretIamBindingOutput struct{ *pulumi.OutputState } func (SecretIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SecretIamBindingOutput) ToSecretIamBindingOutputWithContext(ctx context. return o } +func (o SecretIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretIamBinding] { + return pulumix.Output[*SecretIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SecretIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SecretIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/secretmanager/v1beta1/secretIamMember.go b/sdk/go/google/secretmanager/v1beta1/secretIamMember.go index f6621d0b8e..74801f86c8 100644 --- a/sdk/go/google/secretmanager/v1beta1/secretIamMember.go +++ b/sdk/go/google/secretmanager/v1beta1/secretIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified secret. Replaces any existing policy. Permissions on SecretVersions are enforced according to the policy set on the associated Secret. @@ -135,6 +136,12 @@ func (i *SecretIamMember) ToSecretIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SecretIamMemberOutput) } +func (i *SecretIamMember) ToOutput(ctx context.Context) pulumix.Output[*SecretIamMember] { + return pulumix.Output[*SecretIamMember]{ + OutputState: i.ToSecretIamMemberOutputWithContext(ctx).OutputState, + } +} + type SecretIamMemberOutput struct{ *pulumi.OutputState } func (SecretIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o SecretIamMemberOutput) ToSecretIamMemberOutputWithContext(ctx context.Co return o } +func (o SecretIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretIamMember] { + return pulumix.Output[*SecretIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o SecretIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *SecretIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/secretmanager/v1beta1/secretIamPolicy.go b/sdk/go/google/secretmanager/v1beta1/secretIamPolicy.go index 1c0cbfd721..29f637e46d 100644 --- a/sdk/go/google/secretmanager/v1beta1/secretIamPolicy.go +++ b/sdk/go/google/secretmanager/v1beta1/secretIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified secret. Replaces any existing policy. Permissions on SecretVersions are enforced according to the policy set on the associated Secret. @@ -131,6 +132,12 @@ func (i *SecretIamPolicy) ToSecretIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SecretIamPolicyOutput) } +func (i *SecretIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*SecretIamPolicy] { + return pulumix.Output[*SecretIamPolicy]{ + OutputState: i.ToSecretIamPolicyOutputWithContext(ctx).OutputState, + } +} + type SecretIamPolicyOutput struct{ *pulumi.OutputState } func (SecretIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o SecretIamPolicyOutput) ToSecretIamPolicyOutputWithContext(ctx context.Co return o } +func (o SecretIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretIamPolicy] { + return pulumix.Output[*SecretIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o SecretIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *SecretIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/securitycenter/v1/customModule.go b/sdk/go/google/securitycenter/v1/customModule.go index b685e5caee..26dc1c05aa 100644 --- a/sdk/go/google/securitycenter/v1/customModule.go +++ b/sdk/go/google/securitycenter/v1/customModule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default. @@ -124,6 +125,12 @@ func (i *CustomModule) ToCustomModuleOutputWithContext(ctx context.Context) Cust return pulumi.ToOutputWithContext(ctx, i).(CustomModuleOutput) } +func (i *CustomModule) ToOutput(ctx context.Context) pulumix.Output[*CustomModule] { + return pulumix.Output[*CustomModule]{ + OutputState: i.ToCustomModuleOutputWithContext(ctx).OutputState, + } +} + type CustomModuleOutput struct{ *pulumi.OutputState } func (CustomModuleOutput) ElementType() reflect.Type { @@ -138,6 +145,12 @@ func (o CustomModuleOutput) ToCustomModuleOutputWithContext(ctx context.Context) return o } +func (o CustomModuleOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomModule] { + return pulumix.Output[*CustomModule]{ + OutputState: o.OutputState, + } +} + // If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited. func (o CustomModuleOutput) AncestorModule() pulumi.StringOutput { return o.ApplyT(func(v *CustomModule) pulumi.StringOutput { return v.AncestorModule }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/folderBigQueryExport.go b/sdk/go/google/securitycenter/v1/folderBigQueryExport.go index 323e7ab311..d74ddb200d 100644 --- a/sdk/go/google/securitycenter/v1/folderBigQueryExport.go +++ b/sdk/go/google/securitycenter/v1/folderBigQueryExport.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a BigQuery export. @@ -140,6 +141,12 @@ func (i *FolderBigQueryExport) ToFolderBigQueryExportOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(FolderBigQueryExportOutput) } +func (i *FolderBigQueryExport) ToOutput(ctx context.Context) pulumix.Output[*FolderBigQueryExport] { + return pulumix.Output[*FolderBigQueryExport]{ + OutputState: i.ToFolderBigQueryExportOutputWithContext(ctx).OutputState, + } +} + type FolderBigQueryExportOutput struct{ *pulumi.OutputState } func (FolderBigQueryExportOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o FolderBigQueryExportOutput) ToFolderBigQueryExportOutputWithContext(ctx return o } +func (o FolderBigQueryExportOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderBigQueryExport] { + return pulumix.Output[*FolderBigQueryExport]{ + OutputState: o.OutputState, + } +} + // Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less. func (o FolderBigQueryExportOutput) BigQueryExportId() pulumi.StringOutput { return o.ApplyT(func(v *FolderBigQueryExport) pulumi.StringOutput { return v.BigQueryExportId }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/folderCustomModule.go b/sdk/go/google/securitycenter/v1/folderCustomModule.go index b836f0fbc0..361ab045a9 100644 --- a/sdk/go/google/securitycenter/v1/folderCustomModule.go +++ b/sdk/go/google/securitycenter/v1/folderCustomModule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default. @@ -128,6 +129,12 @@ func (i *FolderCustomModule) ToFolderCustomModuleOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(FolderCustomModuleOutput) } +func (i *FolderCustomModule) ToOutput(ctx context.Context) pulumix.Output[*FolderCustomModule] { + return pulumix.Output[*FolderCustomModule]{ + OutputState: i.ToFolderCustomModuleOutputWithContext(ctx).OutputState, + } +} + type FolderCustomModuleOutput struct{ *pulumi.OutputState } func (FolderCustomModuleOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o FolderCustomModuleOutput) ToFolderCustomModuleOutputWithContext(ctx cont return o } +func (o FolderCustomModuleOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderCustomModule] { + return pulumix.Output[*FolderCustomModule]{ + OutputState: o.OutputState, + } +} + // If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited. func (o FolderCustomModuleOutput) AncestorModule() pulumi.StringOutput { return o.ApplyT(func(v *FolderCustomModule) pulumi.StringOutput { return v.AncestorModule }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/folderNotificationConfig.go b/sdk/go/google/securitycenter/v1/folderNotificationConfig.go index 8a87782bd1..2fd4998e88 100644 --- a/sdk/go/google/securitycenter/v1/folderNotificationConfig.go +++ b/sdk/go/google/securitycenter/v1/folderNotificationConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a notification config. @@ -134,6 +135,12 @@ func (i *FolderNotificationConfig) ToFolderNotificationConfigOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(FolderNotificationConfigOutput) } +func (i *FolderNotificationConfig) ToOutput(ctx context.Context) pulumix.Output[*FolderNotificationConfig] { + return pulumix.Output[*FolderNotificationConfig]{ + OutputState: i.ToFolderNotificationConfigOutputWithContext(ctx).OutputState, + } +} + type FolderNotificationConfigOutput struct{ *pulumi.OutputState } func (FolderNotificationConfigOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o FolderNotificationConfigOutput) ToFolderNotificationConfigOutputWithCont return o } +func (o FolderNotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderNotificationConfig] { + return pulumix.Output[*FolderNotificationConfig]{ + OutputState: o.OutputState, + } +} + // Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only. func (o FolderNotificationConfigOutput) ConfigId() pulumi.StringOutput { return o.ApplyT(func(v *FolderNotificationConfig) pulumi.StringOutput { return v.ConfigId }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getCustomModule.go b/sdk/go/google/securitycenter/v1/getCustomModule.go index d3b731d4a8..14e2a8d0dd 100644 --- a/sdk/go/google/securitycenter/v1/getCustomModule.go +++ b/sdk/go/google/securitycenter/v1/getCustomModule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a SecurityHealthAnalyticsCustomModule. @@ -80,6 +81,12 @@ func (o LookupCustomModuleResultOutput) ToLookupCustomModuleResultOutputWithCont return o } +func (o LookupCustomModuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCustomModuleResult] { + return pulumix.Output[LookupCustomModuleResult]{ + OutputState: o.OutputState, + } +} + // If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited. func (o LookupCustomModuleResultOutput) AncestorModule() pulumi.StringOutput { return o.ApplyT(func(v LookupCustomModuleResult) string { return v.AncestorModule }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getFolderBigQueryExport.go b/sdk/go/google/securitycenter/v1/getFolderBigQueryExport.go index ae93ba5eea..cef0bc2f4b 100644 --- a/sdk/go/google/securitycenter/v1/getFolderBigQueryExport.go +++ b/sdk/go/google/securitycenter/v1/getFolderBigQueryExport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a BigQuery export. @@ -82,6 +83,12 @@ func (o LookupFolderBigQueryExportResultOutput) ToLookupFolderBigQueryExportResu return o } +func (o LookupFolderBigQueryExportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderBigQueryExportResult] { + return pulumix.Output[LookupFolderBigQueryExportResult]{ + OutputState: o.OutputState, + } +} + // The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. func (o LookupFolderBigQueryExportResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupFolderBigQueryExportResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getFolderCustomModule.go b/sdk/go/google/securitycenter/v1/getFolderCustomModule.go index 1cba54bf10..58dd974aa6 100644 --- a/sdk/go/google/securitycenter/v1/getFolderCustomModule.go +++ b/sdk/go/google/securitycenter/v1/getFolderCustomModule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a SecurityHealthAnalyticsCustomModule. @@ -80,6 +81,12 @@ func (o LookupFolderCustomModuleResultOutput) ToLookupFolderCustomModuleResultOu return o } +func (o LookupFolderCustomModuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderCustomModuleResult] { + return pulumix.Output[LookupFolderCustomModuleResult]{ + OutputState: o.OutputState, + } +} + // If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited. func (o LookupFolderCustomModuleResultOutput) AncestorModule() pulumi.StringOutput { return o.ApplyT(func(v LookupFolderCustomModuleResult) string { return v.AncestorModule }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getFolderNotificationConfig.go b/sdk/go/google/securitycenter/v1/getFolderNotificationConfig.go index 4ac447a783..0c38eccaed 100644 --- a/sdk/go/google/securitycenter/v1/getFolderNotificationConfig.go +++ b/sdk/go/google/securitycenter/v1/getFolderNotificationConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a notification config. @@ -76,6 +77,12 @@ func (o LookupFolderNotificationConfigResultOutput) ToLookupFolderNotificationCo return o } +func (o LookupFolderNotificationConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupFolderNotificationConfigResult] { + return pulumix.Output[LookupFolderNotificationConfigResult]{ + OutputState: o.OutputState, + } +} + // The description of the notification config (max of 1024 characters). func (o LookupFolderNotificationConfigResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupFolderNotificationConfigResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getMuteConfig.go b/sdk/go/google/securitycenter/v1/getMuteConfig.go index 530d4f6497..a45cede30a 100644 --- a/sdk/go/google/securitycenter/v1/getMuteConfig.go +++ b/sdk/go/google/securitycenter/v1/getMuteConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a mute config. @@ -80,6 +81,12 @@ func (o LookupMuteConfigResultOutput) ToLookupMuteConfigResultOutputWithContext( return o } +func (o LookupMuteConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMuteConfigResult] { + return pulumix.Output[LookupMuteConfigResult]{ + OutputState: o.OutputState, + } +} + // The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation. func (o LookupMuteConfigResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupMuteConfigResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getNotificationConfig.go b/sdk/go/google/securitycenter/v1/getNotificationConfig.go index dd86e5813f..f7096d99d8 100644 --- a/sdk/go/google/securitycenter/v1/getNotificationConfig.go +++ b/sdk/go/google/securitycenter/v1/getNotificationConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a notification config. @@ -76,6 +77,12 @@ func (o LookupNotificationConfigResultOutput) ToLookupNotificationConfigResultOu return o } +func (o LookupNotificationConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNotificationConfigResult] { + return pulumix.Output[LookupNotificationConfigResult]{ + OutputState: o.OutputState, + } +} + // The description of the notification config (max of 1024 characters). func (o LookupNotificationConfigResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupNotificationConfigResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getOrganizationBigQueryExport.go b/sdk/go/google/securitycenter/v1/getOrganizationBigQueryExport.go index 9c00f08cdd..48f865c7ac 100644 --- a/sdk/go/google/securitycenter/v1/getOrganizationBigQueryExport.go +++ b/sdk/go/google/securitycenter/v1/getOrganizationBigQueryExport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a BigQuery export. @@ -82,6 +83,12 @@ func (o LookupOrganizationBigQueryExportResultOutput) ToLookupOrganizationBigQue return o } +func (o LookupOrganizationBigQueryExportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationBigQueryExportResult] { + return pulumix.Output[LookupOrganizationBigQueryExportResult]{ + OutputState: o.OutputState, + } +} + // The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. func (o LookupOrganizationBigQueryExportResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationBigQueryExportResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getOrganizationCustomModule.go b/sdk/go/google/securitycenter/v1/getOrganizationCustomModule.go index fad07acb36..a2d8a8e282 100644 --- a/sdk/go/google/securitycenter/v1/getOrganizationCustomModule.go +++ b/sdk/go/google/securitycenter/v1/getOrganizationCustomModule.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a SecurityHealthAnalyticsCustomModule. @@ -80,6 +81,12 @@ func (o LookupOrganizationCustomModuleResultOutput) ToLookupOrganizationCustomMo return o } +func (o LookupOrganizationCustomModuleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationCustomModuleResult] { + return pulumix.Output[LookupOrganizationCustomModuleResult]{ + OutputState: o.OutputState, + } +} + // If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited. func (o LookupOrganizationCustomModuleResultOutput) AncestorModule() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationCustomModuleResult) string { return v.AncestorModule }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getOrganizationMuteConfig.go b/sdk/go/google/securitycenter/v1/getOrganizationMuteConfig.go index 0117965df7..c8d2ffe695 100644 --- a/sdk/go/google/securitycenter/v1/getOrganizationMuteConfig.go +++ b/sdk/go/google/securitycenter/v1/getOrganizationMuteConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a mute config. @@ -80,6 +81,12 @@ func (o LookupOrganizationMuteConfigResultOutput) ToLookupOrganizationMuteConfig return o } +func (o LookupOrganizationMuteConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationMuteConfigResult] { + return pulumix.Output[LookupOrganizationMuteConfigResult]{ + OutputState: o.OutputState, + } +} + // The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation. func (o LookupOrganizationMuteConfigResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationMuteConfigResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getOrganizationNotificationConfig.go b/sdk/go/google/securitycenter/v1/getOrganizationNotificationConfig.go index 077e65c5f0..e0e9d2bc05 100644 --- a/sdk/go/google/securitycenter/v1/getOrganizationNotificationConfig.go +++ b/sdk/go/google/securitycenter/v1/getOrganizationNotificationConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a notification config. @@ -76,6 +77,12 @@ func (o LookupOrganizationNotificationConfigResultOutput) ToLookupOrganizationNo return o } +func (o LookupOrganizationNotificationConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationNotificationConfigResult] { + return pulumix.Output[LookupOrganizationNotificationConfigResult]{ + OutputState: o.OutputState, + } +} + // The description of the notification config (max of 1024 characters). func (o LookupOrganizationNotificationConfigResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupOrganizationNotificationConfigResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getOrganizationSourceIamPolicy.go b/sdk/go/google/securitycenter/v1/getOrganizationSourceIamPolicy.go index 82b02bcad3..38923ce268 100644 --- a/sdk/go/google/securitycenter/v1/getOrganizationSourceIamPolicy.go +++ b/sdk/go/google/securitycenter/v1/getOrganizationSourceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy on the specified Source. @@ -74,6 +75,12 @@ func (o LookupOrganizationSourceIamPolicyResultOutput) ToLookupOrganizationSourc return o } +func (o LookupOrganizationSourceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationSourceIamPolicyResult] { + return pulumix.Output[LookupOrganizationSourceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupOrganizationSourceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupOrganizationSourceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/securitycenter/v1/getProjectBigQueryExport.go b/sdk/go/google/securitycenter/v1/getProjectBigQueryExport.go index 358e07e089..b573f66a7f 100644 --- a/sdk/go/google/securitycenter/v1/getProjectBigQueryExport.go +++ b/sdk/go/google/securitycenter/v1/getProjectBigQueryExport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a BigQuery export. @@ -82,6 +83,12 @@ func (o LookupProjectBigQueryExportResultOutput) ToLookupProjectBigQueryExportRe return o } +func (o LookupProjectBigQueryExportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProjectBigQueryExportResult] { + return pulumix.Output[LookupProjectBigQueryExportResult]{ + OutputState: o.OutputState, + } +} + // The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. func (o LookupProjectBigQueryExportResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupProjectBigQueryExportResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/getSource.go b/sdk/go/google/securitycenter/v1/getSource.go index 1fe70c90f6..4d4430725a 100644 --- a/sdk/go/google/securitycenter/v1/getSource.go +++ b/sdk/go/google/securitycenter/v1/getSource.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a source. @@ -74,6 +75,12 @@ func (o LookupSourceResultOutput) ToLookupSourceResultOutputWithContext(ctx cont return o } +func (o LookupSourceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSourceResult] { + return pulumix.Output[LookupSourceResult]{ + OutputState: o.OutputState, + } +} + // The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}", "folders/{folder_id}/sources/{source_id}" or "projects/{project_number}/sources/{source_id}", depending on the closest CRM ancestor of the resource associated with the finding. func (o LookupSourceResultOutput) CanonicalName() pulumi.StringOutput { return o.ApplyT(func(v LookupSourceResult) string { return v.CanonicalName }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/muteConfig.go b/sdk/go/google/securitycenter/v1/muteConfig.go index e9d178c0ef..bf63b713c8 100644 --- a/sdk/go/google/securitycenter/v1/muteConfig.go +++ b/sdk/go/google/securitycenter/v1/muteConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a mute config. @@ -138,6 +139,12 @@ func (i *MuteConfig) ToMuteConfigOutputWithContext(ctx context.Context) MuteConf return pulumi.ToOutputWithContext(ctx, i).(MuteConfigOutput) } +func (i *MuteConfig) ToOutput(ctx context.Context) pulumix.Output[*MuteConfig] { + return pulumix.Output[*MuteConfig]{ + OutputState: i.ToMuteConfigOutputWithContext(ctx).OutputState, + } +} + type MuteConfigOutput struct{ *pulumi.OutputState } func (MuteConfigOutput) ElementType() reflect.Type { @@ -152,6 +159,12 @@ func (o MuteConfigOutput) ToMuteConfigOutputWithContext(ctx context.Context) Mut return o } +func (o MuteConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*MuteConfig] { + return pulumix.Output[*MuteConfig]{ + OutputState: o.OutputState, + } +} + // The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation. func (o MuteConfigOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *MuteConfig) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/notificationConfig.go b/sdk/go/google/securitycenter/v1/notificationConfig.go index 6836b44558..adb36177e7 100644 --- a/sdk/go/google/securitycenter/v1/notificationConfig.go +++ b/sdk/go/google/securitycenter/v1/notificationConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a notification config. @@ -131,6 +132,12 @@ func (i *NotificationConfig) ToNotificationConfigOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigOutput) } +func (i *NotificationConfig) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: i.ToNotificationConfigOutputWithContext(ctx).OutputState, + } +} + type NotificationConfigOutput struct{ *pulumi.OutputState } func (NotificationConfigOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o NotificationConfigOutput) ToNotificationConfigOutputWithContext(ctx cont return o } +func (o NotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: o.OutputState, + } +} + // Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only. func (o NotificationConfigOutput) ConfigId() pulumi.StringOutput { return o.ApplyT(func(v *NotificationConfig) pulumi.StringOutput { return v.ConfigId }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/organizationBigQueryExport.go b/sdk/go/google/securitycenter/v1/organizationBigQueryExport.go index f57707112a..a98acd93fb 100644 --- a/sdk/go/google/securitycenter/v1/organizationBigQueryExport.go +++ b/sdk/go/google/securitycenter/v1/organizationBigQueryExport.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a BigQuery export. @@ -139,6 +140,12 @@ func (i *OrganizationBigQueryExport) ToOrganizationBigQueryExportOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(OrganizationBigQueryExportOutput) } +func (i *OrganizationBigQueryExport) ToOutput(ctx context.Context) pulumix.Output[*OrganizationBigQueryExport] { + return pulumix.Output[*OrganizationBigQueryExport]{ + OutputState: i.ToOrganizationBigQueryExportOutputWithContext(ctx).OutputState, + } +} + type OrganizationBigQueryExportOutput struct{ *pulumi.OutputState } func (OrganizationBigQueryExportOutput) ElementType() reflect.Type { @@ -153,6 +160,12 @@ func (o OrganizationBigQueryExportOutput) ToOrganizationBigQueryExportOutputWith return o } +func (o OrganizationBigQueryExportOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationBigQueryExport] { + return pulumix.Output[*OrganizationBigQueryExport]{ + OutputState: o.OutputState, + } +} + // Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less. func (o OrganizationBigQueryExportOutput) BigQueryExportId() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationBigQueryExport) pulumi.StringOutput { return v.BigQueryExportId }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/organizationCustomModule.go b/sdk/go/google/securitycenter/v1/organizationCustomModule.go index 975c5cfafa..8eee217a57 100644 --- a/sdk/go/google/securitycenter/v1/organizationCustomModule.go +++ b/sdk/go/google/securitycenter/v1/organizationCustomModule.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default. @@ -128,6 +129,12 @@ func (i *OrganizationCustomModule) ToOrganizationCustomModuleOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(OrganizationCustomModuleOutput) } +func (i *OrganizationCustomModule) ToOutput(ctx context.Context) pulumix.Output[*OrganizationCustomModule] { + return pulumix.Output[*OrganizationCustomModule]{ + OutputState: i.ToOrganizationCustomModuleOutputWithContext(ctx).OutputState, + } +} + type OrganizationCustomModuleOutput struct{ *pulumi.OutputState } func (OrganizationCustomModuleOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o OrganizationCustomModuleOutput) ToOrganizationCustomModuleOutputWithCont return o } +func (o OrganizationCustomModuleOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationCustomModule] { + return pulumix.Output[*OrganizationCustomModule]{ + OutputState: o.OutputState, + } +} + // If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited. func (o OrganizationCustomModuleOutput) AncestorModule() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationCustomModule) pulumi.StringOutput { return v.AncestorModule }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/organizationMuteConfig.go b/sdk/go/google/securitycenter/v1/organizationMuteConfig.go index 75a1d48c7c..c61978e955 100644 --- a/sdk/go/google/securitycenter/v1/organizationMuteConfig.go +++ b/sdk/go/google/securitycenter/v1/organizationMuteConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a mute config. @@ -140,6 +141,12 @@ func (i *OrganizationMuteConfig) ToOrganizationMuteConfigOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(OrganizationMuteConfigOutput) } +func (i *OrganizationMuteConfig) ToOutput(ctx context.Context) pulumix.Output[*OrganizationMuteConfig] { + return pulumix.Output[*OrganizationMuteConfig]{ + OutputState: i.ToOrganizationMuteConfigOutputWithContext(ctx).OutputState, + } +} + type OrganizationMuteConfigOutput struct{ *pulumi.OutputState } func (OrganizationMuteConfigOutput) ElementType() reflect.Type { @@ -154,6 +161,12 @@ func (o OrganizationMuteConfigOutput) ToOrganizationMuteConfigOutputWithContext( return o } +func (o OrganizationMuteConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationMuteConfig] { + return pulumix.Output[*OrganizationMuteConfig]{ + OutputState: o.OutputState, + } +} + // The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation. func (o OrganizationMuteConfigOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationMuteConfig) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/organizationNotificationConfig.go b/sdk/go/google/securitycenter/v1/organizationNotificationConfig.go index fcc31caa10..b85dc774cc 100644 --- a/sdk/go/google/securitycenter/v1/organizationNotificationConfig.go +++ b/sdk/go/google/securitycenter/v1/organizationNotificationConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a notification config. @@ -133,6 +134,12 @@ func (i *OrganizationNotificationConfig) ToOrganizationNotificationConfigOutputW return pulumi.ToOutputWithContext(ctx, i).(OrganizationNotificationConfigOutput) } +func (i *OrganizationNotificationConfig) ToOutput(ctx context.Context) pulumix.Output[*OrganizationNotificationConfig] { + return pulumix.Output[*OrganizationNotificationConfig]{ + OutputState: i.ToOrganizationNotificationConfigOutputWithContext(ctx).OutputState, + } +} + type OrganizationNotificationConfigOutput struct{ *pulumi.OutputState } func (OrganizationNotificationConfigOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o OrganizationNotificationConfigOutput) ToOrganizationNotificationConfigOu return o } +func (o OrganizationNotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationNotificationConfig] { + return pulumix.Output[*OrganizationNotificationConfig]{ + OutputState: o.OutputState, + } +} + // Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only. func (o OrganizationNotificationConfigOutput) ConfigId() pulumi.StringOutput { return o.ApplyT(func(v *OrganizationNotificationConfig) pulumi.StringOutput { return v.ConfigId }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/organizationSourceIamBinding.go b/sdk/go/google/securitycenter/v1/organizationSourceIamBinding.go index a64549e95e..7edb551d57 100644 --- a/sdk/go/google/securitycenter/v1/organizationSourceIamBinding.go +++ b/sdk/go/google/securitycenter/v1/organizationSourceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified Source. @@ -135,6 +136,12 @@ func (i *OrganizationSourceIamBinding) ToOrganizationSourceIamBindingOutputWithC return pulumi.ToOutputWithContext(ctx, i).(OrganizationSourceIamBindingOutput) } +func (i *OrganizationSourceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamBinding] { + return pulumix.Output[*OrganizationSourceIamBinding]{ + OutputState: i.ToOrganizationSourceIamBindingOutputWithContext(ctx).OutputState, + } +} + type OrganizationSourceIamBindingOutput struct{ *pulumi.OutputState } func (OrganizationSourceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OrganizationSourceIamBindingOutput) ToOrganizationSourceIamBindingOutput return o } +func (o OrganizationSourceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamBinding] { + return pulumix.Output[*OrganizationSourceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationSourceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationSourceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/securitycenter/v1/organizationSourceIamMember.go b/sdk/go/google/securitycenter/v1/organizationSourceIamMember.go index 1ba97858c8..95697a5c4f 100644 --- a/sdk/go/google/securitycenter/v1/organizationSourceIamMember.go +++ b/sdk/go/google/securitycenter/v1/organizationSourceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified Source. @@ -135,6 +136,12 @@ func (i *OrganizationSourceIamMember) ToOrganizationSourceIamMemberOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(OrganizationSourceIamMemberOutput) } +func (i *OrganizationSourceIamMember) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamMember] { + return pulumix.Output[*OrganizationSourceIamMember]{ + OutputState: i.ToOrganizationSourceIamMemberOutputWithContext(ctx).OutputState, + } +} + type OrganizationSourceIamMemberOutput struct{ *pulumi.OutputState } func (OrganizationSourceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OrganizationSourceIamMemberOutput) ToOrganizationSourceIamMemberOutputWi return o } +func (o OrganizationSourceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamMember] { + return pulumix.Output[*OrganizationSourceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationSourceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationSourceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/securitycenter/v1/organizationSourceIamPolicy.go b/sdk/go/google/securitycenter/v1/organizationSourceIamPolicy.go index d1b38a929c..2785f6eb3e 100644 --- a/sdk/go/google/securitycenter/v1/organizationSourceIamPolicy.go +++ b/sdk/go/google/securitycenter/v1/organizationSourceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified Source. @@ -134,6 +135,12 @@ func (i *OrganizationSourceIamPolicy) ToOrganizationSourceIamPolicyOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(OrganizationSourceIamPolicyOutput) } +func (i *OrganizationSourceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamPolicy] { + return pulumix.Output[*OrganizationSourceIamPolicy]{ + OutputState: i.ToOrganizationSourceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationSourceIamPolicyOutput struct{ *pulumi.OutputState } func (OrganizationSourceIamPolicyOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o OrganizationSourceIamPolicyOutput) ToOrganizationSourceIamPolicyOutputWi return o } +func (o OrganizationSourceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamPolicy] { + return pulumix.Output[*OrganizationSourceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o OrganizationSourceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *OrganizationSourceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/securitycenter/v1/projectBigQueryExport.go b/sdk/go/google/securitycenter/v1/projectBigQueryExport.go index bd2d7f1a18..4256fbea4a 100644 --- a/sdk/go/google/securitycenter/v1/projectBigQueryExport.go +++ b/sdk/go/google/securitycenter/v1/projectBigQueryExport.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a BigQuery export. @@ -137,6 +138,12 @@ func (i *ProjectBigQueryExport) ToProjectBigQueryExportOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ProjectBigQueryExportOutput) } +func (i *ProjectBigQueryExport) ToOutput(ctx context.Context) pulumix.Output[*ProjectBigQueryExport] { + return pulumix.Output[*ProjectBigQueryExport]{ + OutputState: i.ToProjectBigQueryExportOutputWithContext(ctx).OutputState, + } +} + type ProjectBigQueryExportOutput struct{ *pulumi.OutputState } func (ProjectBigQueryExportOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o ProjectBigQueryExportOutput) ToProjectBigQueryExportOutputWithContext(ct return o } +func (o ProjectBigQueryExportOutput) ToOutput(ctx context.Context) pulumix.Output[*ProjectBigQueryExport] { + return pulumix.Output[*ProjectBigQueryExport]{ + OutputState: o.OutputState, + } +} + // Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less. func (o ProjectBigQueryExportOutput) BigQueryExportId() pulumi.StringOutput { return o.ApplyT(func(v *ProjectBigQueryExport) pulumi.StringOutput { return v.BigQueryExportId }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/pulumiEnums.go b/sdk/go/google/securitycenter/v1/pulumiEnums.go index 24d7709c7f..40745838c6 100644 --- a/sdk/go/google/securitycenter/v1/pulumiEnums.go +++ b/sdk/go/google/securitycenter/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // The enablement state of the custom module. type CustomModuleEnablementState string @@ -255,6 +274,12 @@ func (o CustomModuleEnablementStateOutput) ToCustomModuleEnablementStatePtrOutpu }).(CustomModuleEnablementStatePtrOutput) } +func (o CustomModuleEnablementStateOutput) ToOutput(ctx context.Context) pulumix.Output[CustomModuleEnablementState] { + return pulumix.Output[CustomModuleEnablementState]{ + OutputState: o.OutputState, + } +} + func (o CustomModuleEnablementStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -290,6 +315,12 @@ func (o CustomModuleEnablementStatePtrOutput) ToCustomModuleEnablementStatePtrOu return o } +func (o CustomModuleEnablementStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomModuleEnablementState] { + return pulumix.Output[*CustomModuleEnablementState]{ + OutputState: o.OutputState, + } +} + func (o CustomModuleEnablementStatePtrOutput) Elem() CustomModuleEnablementStateOutput { return o.ApplyT(func(v *CustomModuleEnablementState) CustomModuleEnablementState { if v != nil { @@ -352,6 +383,12 @@ func (in *customModuleEnablementStatePtr) ToCustomModuleEnablementStatePtrOutput return pulumi.ToOutputWithContext(ctx, in).(CustomModuleEnablementStatePtrOutput) } +func (in *customModuleEnablementStatePtr) ToOutput(ctx context.Context) pulumix.Output[*CustomModuleEnablementState] { + return pulumix.Output[*CustomModuleEnablementState]{ + OutputState: in.ToCustomModuleEnablementStatePtrOutputWithContext(ctx).OutputState, + } +} + // The enablement state of the custom module. type FolderCustomModuleEnablementState string @@ -426,6 +463,12 @@ func (o FolderCustomModuleEnablementStateOutput) ToFolderCustomModuleEnablementS }).(FolderCustomModuleEnablementStatePtrOutput) } +func (o FolderCustomModuleEnablementStateOutput) ToOutput(ctx context.Context) pulumix.Output[FolderCustomModuleEnablementState] { + return pulumix.Output[FolderCustomModuleEnablementState]{ + OutputState: o.OutputState, + } +} + func (o FolderCustomModuleEnablementStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o FolderCustomModuleEnablementStatePtrOutput) ToFolderCustomModuleEnableme return o } +func (o FolderCustomModuleEnablementStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FolderCustomModuleEnablementState] { + return pulumix.Output[*FolderCustomModuleEnablementState]{ + OutputState: o.OutputState, + } +} + func (o FolderCustomModuleEnablementStatePtrOutput) Elem() FolderCustomModuleEnablementStateOutput { return o.ApplyT(func(v *FolderCustomModuleEnablementState) FolderCustomModuleEnablementState { if v != nil { @@ -523,6 +572,12 @@ func (in *folderCustomModuleEnablementStatePtr) ToFolderCustomModuleEnablementSt return pulumi.ToOutputWithContext(ctx, in).(FolderCustomModuleEnablementStatePtrOutput) } +func (in *folderCustomModuleEnablementStatePtr) ToOutput(ctx context.Context) pulumix.Output[*FolderCustomModuleEnablementState] { + return pulumix.Output[*FolderCustomModuleEnablementState]{ + OutputState: in.ToFolderCustomModuleEnablementStatePtrOutputWithContext(ctx).OutputState, + } +} + // The severity to assign to findings generated by the module. type GoogleCloudSecuritycenterV1CustomConfigSeverity string @@ -599,6 +654,12 @@ func (o GoogleCloudSecuritycenterV1CustomConfigSeverityOutput) ToGoogleCloudSecu }).(GoogleCloudSecuritycenterV1CustomConfigSeverityPtrOutput) } +func (o GoogleCloudSecuritycenterV1CustomConfigSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1CustomConfigSeverity] { + return pulumix.Output[GoogleCloudSecuritycenterV1CustomConfigSeverity]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudSecuritycenterV1CustomConfigSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -634,6 +695,12 @@ func (o GoogleCloudSecuritycenterV1CustomConfigSeverityPtrOutput) ToGoogleCloudS return o } +func (o GoogleCloudSecuritycenterV1CustomConfigSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudSecuritycenterV1CustomConfigSeverity] { + return pulumix.Output[*GoogleCloudSecuritycenterV1CustomConfigSeverity]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudSecuritycenterV1CustomConfigSeverityPtrOutput) Elem() GoogleCloudSecuritycenterV1CustomConfigSeverityOutput { return o.ApplyT(func(v *GoogleCloudSecuritycenterV1CustomConfigSeverity) GoogleCloudSecuritycenterV1CustomConfigSeverity { if v != nil { @@ -696,6 +763,12 @@ func (in *googleCloudSecuritycenterV1CustomConfigSeverityPtr) ToGoogleCloudSecur return pulumi.ToOutputWithContext(ctx, in).(GoogleCloudSecuritycenterV1CustomConfigSeverityPtrOutput) } +func (in *googleCloudSecuritycenterV1CustomConfigSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudSecuritycenterV1CustomConfigSeverity] { + return pulumix.Output[*GoogleCloudSecuritycenterV1CustomConfigSeverity]{ + OutputState: in.ToGoogleCloudSecuritycenterV1CustomConfigSeverityPtrOutputWithContext(ctx).OutputState, + } +} + // The enablement state of the custom module. type OrganizationCustomModuleEnablementState string @@ -770,6 +843,12 @@ func (o OrganizationCustomModuleEnablementStateOutput) ToOrganizationCustomModul }).(OrganizationCustomModuleEnablementStatePtrOutput) } +func (o OrganizationCustomModuleEnablementStateOutput) ToOutput(ctx context.Context) pulumix.Output[OrganizationCustomModuleEnablementState] { + return pulumix.Output[OrganizationCustomModuleEnablementState]{ + OutputState: o.OutputState, + } +} + func (o OrganizationCustomModuleEnablementStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -805,6 +884,12 @@ func (o OrganizationCustomModuleEnablementStatePtrOutput) ToOrganizationCustomMo return o } +func (o OrganizationCustomModuleEnablementStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationCustomModuleEnablementState] { + return pulumix.Output[*OrganizationCustomModuleEnablementState]{ + OutputState: o.OutputState, + } +} + func (o OrganizationCustomModuleEnablementStatePtrOutput) Elem() OrganizationCustomModuleEnablementStateOutput { return o.ApplyT(func(v *OrganizationCustomModuleEnablementState) OrganizationCustomModuleEnablementState { if v != nil { @@ -867,6 +952,12 @@ func (in *organizationCustomModuleEnablementStatePtr) ToOrganizationCustomModule return pulumi.ToOutputWithContext(ctx, in).(OrganizationCustomModuleEnablementStatePtrOutput) } +func (in *organizationCustomModuleEnablementStatePtr) ToOutput(ctx context.Context) pulumix.Output[*OrganizationCustomModuleEnablementState] { + return pulumix.Output[*OrganizationCustomModuleEnablementState]{ + OutputState: in.ToOrganizationCustomModuleEnablementStatePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/securitycenter/v1/pulumiTypes.go b/sdk/go/google/securitycenter/v1/pulumiTypes.go index 23f0027aa3..e35ce9c76e 100644 --- a/sdk/go/google/securitycenter/v1/pulumiTypes.go +++ b/sdk/go/google/securitycenter/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -814,6 +953,12 @@ func (i GoogleCloudSecuritycenterV1CustomConfigArgs) ToGoogleCloudSecuritycenter return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudSecuritycenterV1CustomConfigOutput) } +func (i GoogleCloudSecuritycenterV1CustomConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1CustomConfig] { + return pulumix.Output[GoogleCloudSecuritycenterV1CustomConfig]{ + OutputState: i.ToGoogleCloudSecuritycenterV1CustomConfigOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudSecuritycenterV1CustomConfigArgs) ToGoogleCloudSecuritycenterV1CustomConfigPtrOutput() GoogleCloudSecuritycenterV1CustomConfigPtrOutput { return i.ToGoogleCloudSecuritycenterV1CustomConfigPtrOutputWithContext(context.Background()) } @@ -855,6 +1000,12 @@ func (i *googleCloudSecuritycenterV1CustomConfigPtrType) ToGoogleCloudSecurityce return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudSecuritycenterV1CustomConfigPtrOutput) } +func (i *googleCloudSecuritycenterV1CustomConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudSecuritycenterV1CustomConfig] { + return pulumix.Output[*GoogleCloudSecuritycenterV1CustomConfig]{ + OutputState: i.ToGoogleCloudSecuritycenterV1CustomConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify. type GoogleCloudSecuritycenterV1CustomConfigOutput struct{ *pulumi.OutputState } @@ -880,6 +1031,12 @@ func (o GoogleCloudSecuritycenterV1CustomConfigOutput) ToGoogleCloudSecuritycent }).(GoogleCloudSecuritycenterV1CustomConfigPtrOutput) } +func (o GoogleCloudSecuritycenterV1CustomConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1CustomConfig] { + return pulumix.Output[GoogleCloudSecuritycenterV1CustomConfig]{ + OutputState: o.OutputState, + } +} + // Custom output properties. func (o GoogleCloudSecuritycenterV1CustomConfigOutput) CustomOutput() GoogleCloudSecuritycenterV1CustomOutputSpecPtrOutput { return o.ApplyT(func(v GoogleCloudSecuritycenterV1CustomConfig) *GoogleCloudSecuritycenterV1CustomOutputSpec { @@ -930,6 +1087,12 @@ func (o GoogleCloudSecuritycenterV1CustomConfigPtrOutput) ToGoogleCloudSecurityc return o } +func (o GoogleCloudSecuritycenterV1CustomConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudSecuritycenterV1CustomConfig] { + return pulumix.Output[*GoogleCloudSecuritycenterV1CustomConfig]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudSecuritycenterV1CustomConfigPtrOutput) Elem() GoogleCloudSecuritycenterV1CustomConfigOutput { return o.ApplyT(func(v *GoogleCloudSecuritycenterV1CustomConfig) GoogleCloudSecuritycenterV1CustomConfig { if v != nil { @@ -1031,6 +1194,12 @@ func (o GoogleCloudSecuritycenterV1CustomConfigResponseOutput) ToGoogleCloudSecu return o } +func (o GoogleCloudSecuritycenterV1CustomConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1CustomConfigResponse] { + return pulumix.Output[GoogleCloudSecuritycenterV1CustomConfigResponse]{ + OutputState: o.OutputState, + } +} + // Custom output properties. func (o GoogleCloudSecuritycenterV1CustomConfigResponseOutput) CustomOutput() GoogleCloudSecuritycenterV1CustomOutputSpecResponseOutput { return o.ApplyT(func(v GoogleCloudSecuritycenterV1CustomConfigResponse) GoogleCloudSecuritycenterV1CustomOutputSpecResponse { @@ -1100,6 +1269,12 @@ func (i GoogleCloudSecuritycenterV1CustomOutputSpecArgs) ToGoogleCloudSecurityce return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudSecuritycenterV1CustomOutputSpecOutput) } +func (i GoogleCloudSecuritycenterV1CustomOutputSpecArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1CustomOutputSpec] { + return pulumix.Output[GoogleCloudSecuritycenterV1CustomOutputSpec]{ + OutputState: i.ToGoogleCloudSecuritycenterV1CustomOutputSpecOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudSecuritycenterV1CustomOutputSpecArgs) ToGoogleCloudSecuritycenterV1CustomOutputSpecPtrOutput() GoogleCloudSecuritycenterV1CustomOutputSpecPtrOutput { return i.ToGoogleCloudSecuritycenterV1CustomOutputSpecPtrOutputWithContext(context.Background()) } @@ -1141,6 +1316,12 @@ func (i *googleCloudSecuritycenterV1CustomOutputSpecPtrType) ToGoogleCloudSecuri return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudSecuritycenterV1CustomOutputSpecPtrOutput) } +func (i *googleCloudSecuritycenterV1CustomOutputSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudSecuritycenterV1CustomOutputSpec] { + return pulumix.Output[*GoogleCloudSecuritycenterV1CustomOutputSpec]{ + OutputState: i.ToGoogleCloudSecuritycenterV1CustomOutputSpecPtrOutputWithContext(ctx).OutputState, + } +} + // A set of optional name-value pairs that define custom source properties to return with each finding that is generated by the custom module. The custom source properties that are defined here are included in the finding JSON under `sourceProperties`. type GoogleCloudSecuritycenterV1CustomOutputSpecOutput struct{ *pulumi.OutputState } @@ -1166,6 +1347,12 @@ func (o GoogleCloudSecuritycenterV1CustomOutputSpecOutput) ToGoogleCloudSecurity }).(GoogleCloudSecuritycenterV1CustomOutputSpecPtrOutput) } +func (o GoogleCloudSecuritycenterV1CustomOutputSpecOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1CustomOutputSpec] { + return pulumix.Output[GoogleCloudSecuritycenterV1CustomOutputSpec]{ + OutputState: o.OutputState, + } +} + // A list of custom output properties to add to the finding. func (o GoogleCloudSecuritycenterV1CustomOutputSpecOutput) Properties() GoogleCloudSecuritycenterV1PropertyArrayOutput { return o.ApplyT(func(v GoogleCloudSecuritycenterV1CustomOutputSpec) []GoogleCloudSecuritycenterV1Property { @@ -1187,6 +1374,12 @@ func (o GoogleCloudSecuritycenterV1CustomOutputSpecPtrOutput) ToGoogleCloudSecur return o } +func (o GoogleCloudSecuritycenterV1CustomOutputSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudSecuritycenterV1CustomOutputSpec] { + return pulumix.Output[*GoogleCloudSecuritycenterV1CustomOutputSpec]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudSecuritycenterV1CustomOutputSpecPtrOutput) Elem() GoogleCloudSecuritycenterV1CustomOutputSpecOutput { return o.ApplyT(func(v *GoogleCloudSecuritycenterV1CustomOutputSpec) GoogleCloudSecuritycenterV1CustomOutputSpec { if v != nil { @@ -1228,6 +1421,12 @@ func (o GoogleCloudSecuritycenterV1CustomOutputSpecResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudSecuritycenterV1CustomOutputSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1CustomOutputSpecResponse] { + return pulumix.Output[GoogleCloudSecuritycenterV1CustomOutputSpecResponse]{ + OutputState: o.OutputState, + } +} + // A list of custom output properties to add to the finding. func (o GoogleCloudSecuritycenterV1CustomOutputSpecResponseOutput) Properties() GoogleCloudSecuritycenterV1PropertyResponseArrayOutput { return o.ApplyT(func(v GoogleCloudSecuritycenterV1CustomOutputSpecResponse) []GoogleCloudSecuritycenterV1PropertyResponse { @@ -1274,6 +1473,12 @@ func (i GoogleCloudSecuritycenterV1PropertyArgs) ToGoogleCloudSecuritycenterV1Pr return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudSecuritycenterV1PropertyOutput) } +func (i GoogleCloudSecuritycenterV1PropertyArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1Property] { + return pulumix.Output[GoogleCloudSecuritycenterV1Property]{ + OutputState: i.ToGoogleCloudSecuritycenterV1PropertyOutputWithContext(ctx).OutputState, + } +} + // GoogleCloudSecuritycenterV1PropertyArrayInput is an input type that accepts GoogleCloudSecuritycenterV1PropertyArray and GoogleCloudSecuritycenterV1PropertyArrayOutput values. // You can construct a concrete instance of `GoogleCloudSecuritycenterV1PropertyArrayInput` via: // @@ -1299,6 +1504,12 @@ func (i GoogleCloudSecuritycenterV1PropertyArray) ToGoogleCloudSecuritycenterV1P return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudSecuritycenterV1PropertyArrayOutput) } +func (i GoogleCloudSecuritycenterV1PropertyArray) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudSecuritycenterV1Property] { + return pulumix.Output[[]GoogleCloudSecuritycenterV1Property]{ + OutputState: i.ToGoogleCloudSecuritycenterV1PropertyArrayOutputWithContext(ctx).OutputState, + } +} + // An individual name-value pair that defines a custom source property. type GoogleCloudSecuritycenterV1PropertyOutput struct{ *pulumi.OutputState } @@ -1314,6 +1525,12 @@ func (o GoogleCloudSecuritycenterV1PropertyOutput) ToGoogleCloudSecuritycenterV1 return o } +func (o GoogleCloudSecuritycenterV1PropertyOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1Property] { + return pulumix.Output[GoogleCloudSecuritycenterV1Property]{ + OutputState: o.OutputState, + } +} + // Name of the property for the custom output. func (o GoogleCloudSecuritycenterV1PropertyOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GoogleCloudSecuritycenterV1Property) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -1338,6 +1555,12 @@ func (o GoogleCloudSecuritycenterV1PropertyArrayOutput) ToGoogleCloudSecuritycen return o } +func (o GoogleCloudSecuritycenterV1PropertyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudSecuritycenterV1Property] { + return pulumix.Output[[]GoogleCloudSecuritycenterV1Property]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudSecuritycenterV1PropertyArrayOutput) Index(i pulumi.IntInput) GoogleCloudSecuritycenterV1PropertyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudSecuritycenterV1Property { return vs[0].([]GoogleCloudSecuritycenterV1Property)[vs[1].(int)] @@ -1367,6 +1590,12 @@ func (o GoogleCloudSecuritycenterV1PropertyResponseOutput) ToGoogleCloudSecurity return o } +func (o GoogleCloudSecuritycenterV1PropertyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1PropertyResponse] { + return pulumix.Output[GoogleCloudSecuritycenterV1PropertyResponse]{ + OutputState: o.OutputState, + } +} + // Name of the property for the custom output. func (o GoogleCloudSecuritycenterV1PropertyResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudSecuritycenterV1PropertyResponse) string { return v.Name }).(pulumi.StringOutput) @@ -1391,6 +1620,12 @@ func (o GoogleCloudSecuritycenterV1PropertyResponseArrayOutput) ToGoogleCloudSec return o } +func (o GoogleCloudSecuritycenterV1PropertyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GoogleCloudSecuritycenterV1PropertyResponse] { + return pulumix.Output[[]GoogleCloudSecuritycenterV1PropertyResponse]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudSecuritycenterV1PropertyResponseArrayOutput) Index(i pulumi.IntInput) GoogleCloudSecuritycenterV1PropertyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GoogleCloudSecuritycenterV1PropertyResponse { return vs[0].([]GoogleCloudSecuritycenterV1PropertyResponse)[vs[1].(int)] @@ -1432,6 +1667,12 @@ func (i GoogleCloudSecuritycenterV1ResourceSelectorArgs) ToGoogleCloudSecurityce return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudSecuritycenterV1ResourceSelectorOutput) } +func (i GoogleCloudSecuritycenterV1ResourceSelectorArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1ResourceSelector] { + return pulumix.Output[GoogleCloudSecuritycenterV1ResourceSelector]{ + OutputState: i.ToGoogleCloudSecuritycenterV1ResourceSelectorOutputWithContext(ctx).OutputState, + } +} + func (i GoogleCloudSecuritycenterV1ResourceSelectorArgs) ToGoogleCloudSecuritycenterV1ResourceSelectorPtrOutput() GoogleCloudSecuritycenterV1ResourceSelectorPtrOutput { return i.ToGoogleCloudSecuritycenterV1ResourceSelectorPtrOutputWithContext(context.Background()) } @@ -1473,6 +1714,12 @@ func (i *googleCloudSecuritycenterV1ResourceSelectorPtrType) ToGoogleCloudSecuri return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudSecuritycenterV1ResourceSelectorPtrOutput) } +func (i *googleCloudSecuritycenterV1ResourceSelectorPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudSecuritycenterV1ResourceSelector] { + return pulumix.Output[*GoogleCloudSecuritycenterV1ResourceSelector]{ + OutputState: i.ToGoogleCloudSecuritycenterV1ResourceSelectorPtrOutputWithContext(ctx).OutputState, + } +} + // Resource for selecting resource type. type GoogleCloudSecuritycenterV1ResourceSelectorOutput struct{ *pulumi.OutputState } @@ -1498,6 +1745,12 @@ func (o GoogleCloudSecuritycenterV1ResourceSelectorOutput) ToGoogleCloudSecurity }).(GoogleCloudSecuritycenterV1ResourceSelectorPtrOutput) } +func (o GoogleCloudSecuritycenterV1ResourceSelectorOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1ResourceSelector] { + return pulumix.Output[GoogleCloudSecuritycenterV1ResourceSelector]{ + OutputState: o.OutputState, + } +} + // The resource types to run the detector on. func (o GoogleCloudSecuritycenterV1ResourceSelectorOutput) ResourceTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudSecuritycenterV1ResourceSelector) []string { return v.ResourceTypes }).(pulumi.StringArrayOutput) @@ -1517,6 +1770,12 @@ func (o GoogleCloudSecuritycenterV1ResourceSelectorPtrOutput) ToGoogleCloudSecur return o } +func (o GoogleCloudSecuritycenterV1ResourceSelectorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleCloudSecuritycenterV1ResourceSelector] { + return pulumix.Output[*GoogleCloudSecuritycenterV1ResourceSelector]{ + OutputState: o.OutputState, + } +} + func (o GoogleCloudSecuritycenterV1ResourceSelectorPtrOutput) Elem() GoogleCloudSecuritycenterV1ResourceSelectorOutput { return o.ApplyT(func(v *GoogleCloudSecuritycenterV1ResourceSelector) GoogleCloudSecuritycenterV1ResourceSelector { if v != nil { @@ -1558,6 +1817,12 @@ func (o GoogleCloudSecuritycenterV1ResourceSelectorResponseOutput) ToGoogleCloud return o } +func (o GoogleCloudSecuritycenterV1ResourceSelectorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudSecuritycenterV1ResourceSelectorResponse] { + return pulumix.Output[GoogleCloudSecuritycenterV1ResourceSelectorResponse]{ + OutputState: o.OutputState, + } +} + // The resource types to run the detector on. func (o GoogleCloudSecuritycenterV1ResourceSelectorResponseOutput) ResourceTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v GoogleCloudSecuritycenterV1ResourceSelectorResponse) []string { return v.ResourceTypes }).(pulumi.StringArrayOutput) @@ -1598,6 +1863,12 @@ func (i StreamingConfigArgs) ToStreamingConfigOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(StreamingConfigOutput) } +func (i StreamingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[StreamingConfig] { + return pulumix.Output[StreamingConfig]{ + OutputState: i.ToStreamingConfigOutputWithContext(ctx).OutputState, + } +} + func (i StreamingConfigArgs) ToStreamingConfigPtrOutput() StreamingConfigPtrOutput { return i.ToStreamingConfigPtrOutputWithContext(context.Background()) } @@ -1639,6 +1910,12 @@ func (i *streamingConfigPtrType) ToStreamingConfigPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(StreamingConfigPtrOutput) } +func (i *streamingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*StreamingConfig] { + return pulumix.Output[*StreamingConfig]{ + OutputState: i.ToStreamingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The config for streaming-based notifications, which send each event as soon as it is detected. type StreamingConfigOutput struct{ *pulumi.OutputState } @@ -1664,6 +1941,12 @@ func (o StreamingConfigOutput) ToStreamingConfigPtrOutputWithContext(ctx context }).(StreamingConfigPtrOutput) } +func (o StreamingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[StreamingConfig] { + return pulumix.Output[StreamingConfig]{ + OutputState: o.OutputState, + } +} + // Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. func (o StreamingConfigOutput) Filter() pulumi.StringPtrOutput { return o.ApplyT(func(v StreamingConfig) *string { return v.Filter }).(pulumi.StringPtrOutput) @@ -1683,6 +1966,12 @@ func (o StreamingConfigPtrOutput) ToStreamingConfigPtrOutputWithContext(ctx cont return o } +func (o StreamingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StreamingConfig] { + return pulumix.Output[*StreamingConfig]{ + OutputState: o.OutputState, + } +} + func (o StreamingConfigPtrOutput) Elem() StreamingConfigOutput { return o.ApplyT(func(v *StreamingConfig) StreamingConfig { if v != nil { @@ -1724,6 +2013,12 @@ func (o StreamingConfigResponseOutput) ToStreamingConfigResponseOutputWithContex return o } +func (o StreamingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StreamingConfigResponse] { + return pulumix.Output[StreamingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes. func (o StreamingConfigResponseOutput) Filter() pulumi.StringOutput { return o.ApplyT(func(v StreamingConfigResponse) string { return v.Filter }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1/source.go b/sdk/go/google/securitycenter/v1/source.go index 47b8de7ac5..df90332ced 100644 --- a/sdk/go/google/securitycenter/v1/source.go +++ b/sdk/go/google/securitycenter/v1/source.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a source. @@ -123,6 +124,12 @@ func (i *Source) ToSourceOutputWithContext(ctx context.Context) SourceOutput { return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i *Source) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + type SourceOutput struct{ *pulumi.OutputState } func (SourceOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutpu return o } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + // The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}", "folders/{folder_id}/sources/{source_id}" or "projects/{project_number}/sources/{source_id}", depending on the closest CRM ancestor of the resource associated with the finding. func (o SourceOutput) CanonicalName() pulumi.StringOutput { return o.ApplyT(func(v *Source) pulumi.StringOutput { return v.CanonicalName }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1beta1/getOrganizationSourceIamPolicy.go b/sdk/go/google/securitycenter/v1beta1/getOrganizationSourceIamPolicy.go index 2d08b559d8..218729054c 100644 --- a/sdk/go/google/securitycenter/v1beta1/getOrganizationSourceIamPolicy.go +++ b/sdk/go/google/securitycenter/v1beta1/getOrganizationSourceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy on the specified Source. @@ -74,6 +75,12 @@ func (o LookupOrganizationSourceIamPolicyResultOutput) ToLookupOrganizationSourc return o } +func (o LookupOrganizationSourceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupOrganizationSourceIamPolicyResult] { + return pulumix.Output[LookupOrganizationSourceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupOrganizationSourceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupOrganizationSourceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/securitycenter/v1beta1/getSource.go b/sdk/go/google/securitycenter/v1beta1/getSource.go index c0ce7a6956..9c8d228630 100644 --- a/sdk/go/google/securitycenter/v1beta1/getSource.go +++ b/sdk/go/google/securitycenter/v1beta1/getSource.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a source. @@ -72,6 +73,12 @@ func (o LookupSourceResultOutput) ToLookupSourceResultOutputWithContext(ctx cont return o } +func (o LookupSourceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSourceResult] { + return pulumix.Output[LookupSourceResult]{ + OutputState: o.OutputState, + } +} + // The description of the source (max of 1024 characters). Example: "Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated/insecure libraries." func (o LookupSourceResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupSourceResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1beta1/organizationSourceIamBinding.go b/sdk/go/google/securitycenter/v1beta1/organizationSourceIamBinding.go index 58ada1ebd4..b69fc33910 100644 --- a/sdk/go/google/securitycenter/v1beta1/organizationSourceIamBinding.go +++ b/sdk/go/google/securitycenter/v1beta1/organizationSourceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified Source. @@ -135,6 +136,12 @@ func (i *OrganizationSourceIamBinding) ToOrganizationSourceIamBindingOutputWithC return pulumi.ToOutputWithContext(ctx, i).(OrganizationSourceIamBindingOutput) } +func (i *OrganizationSourceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamBinding] { + return pulumix.Output[*OrganizationSourceIamBinding]{ + OutputState: i.ToOrganizationSourceIamBindingOutputWithContext(ctx).OutputState, + } +} + type OrganizationSourceIamBindingOutput struct{ *pulumi.OutputState } func (OrganizationSourceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OrganizationSourceIamBindingOutput) ToOrganizationSourceIamBindingOutput return o } +func (o OrganizationSourceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamBinding] { + return pulumix.Output[*OrganizationSourceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationSourceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationSourceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/securitycenter/v1beta1/organizationSourceIamMember.go b/sdk/go/google/securitycenter/v1beta1/organizationSourceIamMember.go index c90542eeba..711ece816e 100644 --- a/sdk/go/google/securitycenter/v1beta1/organizationSourceIamMember.go +++ b/sdk/go/google/securitycenter/v1beta1/organizationSourceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified Source. @@ -135,6 +136,12 @@ func (i *OrganizationSourceIamMember) ToOrganizationSourceIamMemberOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(OrganizationSourceIamMemberOutput) } +func (i *OrganizationSourceIamMember) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamMember] { + return pulumix.Output[*OrganizationSourceIamMember]{ + OutputState: i.ToOrganizationSourceIamMemberOutputWithContext(ctx).OutputState, + } +} + type OrganizationSourceIamMemberOutput struct{ *pulumi.OutputState } func (OrganizationSourceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o OrganizationSourceIamMemberOutput) ToOrganizationSourceIamMemberOutputWi return o } +func (o OrganizationSourceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamMember] { + return pulumix.Output[*OrganizationSourceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o OrganizationSourceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *OrganizationSourceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/securitycenter/v1beta1/organizationSourceIamPolicy.go b/sdk/go/google/securitycenter/v1beta1/organizationSourceIamPolicy.go index 22cb113d7d..53fc53dda7 100644 --- a/sdk/go/google/securitycenter/v1beta1/organizationSourceIamPolicy.go +++ b/sdk/go/google/securitycenter/v1beta1/organizationSourceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified Source. @@ -134,6 +135,12 @@ func (i *OrganizationSourceIamPolicy) ToOrganizationSourceIamPolicyOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(OrganizationSourceIamPolicyOutput) } +func (i *OrganizationSourceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamPolicy] { + return pulumix.Output[*OrganizationSourceIamPolicy]{ + OutputState: i.ToOrganizationSourceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type OrganizationSourceIamPolicyOutput struct{ *pulumi.OutputState } func (OrganizationSourceIamPolicyOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o OrganizationSourceIamPolicyOutput) ToOrganizationSourceIamPolicyOutputWi return o } +func (o OrganizationSourceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*OrganizationSourceIamPolicy] { + return pulumix.Output[*OrganizationSourceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o OrganizationSourceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *OrganizationSourceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/securitycenter/v1beta1/pulumiEnums.go b/sdk/go/google/securitycenter/v1beta1/pulumiEnums.go index b95b45c51b..4d38fef38c 100644 --- a/sdk/go/google/securitycenter/v1beta1/pulumiEnums.go +++ b/sdk/go/google/securitycenter/v1beta1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/securitycenter/v1beta1/pulumiTypes.go b/sdk/go/google/securitycenter/v1beta1/pulumiTypes.go index ce66b0f6db..44b0499654 100644 --- a/sdk/go/google/securitycenter/v1beta1/pulumiTypes.go +++ b/sdk/go/google/securitycenter/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/securitycenter/v1beta1/source.go b/sdk/go/google/securitycenter/v1beta1/source.go index 3ed2838366..3da01c6033 100644 --- a/sdk/go/google/securitycenter/v1beta1/source.go +++ b/sdk/go/google/securitycenter/v1beta1/source.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a source. @@ -117,6 +118,12 @@ func (i *Source) ToSourceOutputWithContext(ctx context.Context) SourceOutput { return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i *Source) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + type SourceOutput struct{ *pulumi.OutputState } func (SourceOutput) ElementType() reflect.Type { @@ -131,6 +138,12 @@ func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutpu return o } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + // The description of the source (max of 1024 characters). Example: "Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated/insecure libraries." func (o SourceOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *Source) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicedirectory/v1/endpoint.go b/sdk/go/google/servicedirectory/v1/endpoint.go index 4d0e2b4587..db699d4e0a 100644 --- a/sdk/go/google/servicedirectory/v1/endpoint.go +++ b/sdk/go/google/servicedirectory/v1/endpoint.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an endpoint, and returns the new endpoint. @@ -154,6 +155,12 @@ func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutp return pulumi.ToOutputWithContext(ctx, i).(EndpointOutput) } +func (i *Endpoint) ToOutput(ctx context.Context) pulumix.Output[*Endpoint] { + return pulumix.Output[*Endpoint]{ + OutputState: i.ToEndpointOutputWithContext(ctx).OutputState, + } +} + type EndpointOutput struct{ *pulumi.OutputState } func (EndpointOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) Endpoin return o } +func (o EndpointOutput) ToOutput(ctx context.Context) pulumix.Output[*Endpoint] { + return pulumix.Output[*Endpoint]{ + OutputState: o.OutputState, + } +} + // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. func (o EndpointOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *Endpoint) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicedirectory/v1/getEndpoint.go b/sdk/go/google/servicedirectory/v1/getEndpoint.go index 499d37b332..4c0f827fd9 100644 --- a/sdk/go/google/servicedirectory/v1/getEndpoint.go +++ b/sdk/go/google/servicedirectory/v1/getEndpoint.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an endpoint. @@ -84,6 +85,12 @@ func (o LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext(ctx return o } +func (o LookupEndpointResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEndpointResult] { + return pulumix.Output[LookupEndpointResult]{ + OutputState: o.OutputState, + } +} + // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. func (o LookupEndpointResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v LookupEndpointResult) string { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicedirectory/v1/getNamespace.go b/sdk/go/google/servicedirectory/v1/getNamespace.go index 96114bd497..90b4443537 100644 --- a/sdk/go/google/servicedirectory/v1/getNamespace.go +++ b/sdk/go/google/servicedirectory/v1/getNamespace.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a namespace. @@ -74,6 +75,12 @@ func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ct return o } +func (o LookupNamespaceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamespaceResult] { + return pulumix.Output[LookupNamespaceResult]{ + OutputState: o.OutputState, + } +} + // Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters. func (o LookupNamespaceResultOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v LookupNamespaceResult) map[string]string { return v.Labels }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/servicedirectory/v1/getNamespaceIamPolicy.go b/sdk/go/google/servicedirectory/v1/getNamespaceIamPolicy.go index 70cb6768df..66e679700a 100644 --- a/sdk/go/google/servicedirectory/v1/getNamespaceIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1/getNamespaceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM Policy for a resource (namespace or service only). @@ -74,6 +75,12 @@ func (o LookupNamespaceIamPolicyResultOutput) ToLookupNamespaceIamPolicyResultOu return o } +func (o LookupNamespaceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamespaceIamPolicyResult] { + return pulumix.Output[LookupNamespaceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupNamespaceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupNamespaceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1/getNamespaceServiceIamPolicy.go b/sdk/go/google/servicedirectory/v1/getNamespaceServiceIamPolicy.go index ebc297fd76..5ef8e37374 100644 --- a/sdk/go/google/servicedirectory/v1/getNamespaceServiceIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1/getNamespaceServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM Policy for a resource (namespace or service only). @@ -76,6 +77,12 @@ func (o LookupNamespaceServiceIamPolicyResultOutput) ToLookupNamespaceServiceIam return o } +func (o LookupNamespaceServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamespaceServiceIamPolicyResult] { + return pulumix.Output[LookupNamespaceServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupNamespaceServiceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupNamespaceServiceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1/getService.go b/sdk/go/google/servicedirectory/v1/getService.go index 380ea0adb4..b7f6012594 100644 --- a/sdk/go/google/servicedirectory/v1/getService.go +++ b/sdk/go/google/servicedirectory/v1/getService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a service. @@ -78,6 +79,12 @@ func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx co return o } +func (o LookupServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceResult] { + return pulumix.Output[LookupServiceResult]{ + OutputState: o.OutputState, + } +} + // Optional. Annotations for the service. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Annotations that fails to meet these requirements are rejected Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory. func (o LookupServiceResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupServiceResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/servicedirectory/v1/namespace.go b/sdk/go/google/servicedirectory/v1/namespace.go index 0fc61d084e..c91ac3f4ac 100644 --- a/sdk/go/google/servicedirectory/v1/namespace.go +++ b/sdk/go/google/servicedirectory/v1/namespace.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a namespace, and returns the new namespace. @@ -122,6 +123,12 @@ func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceO return pulumi.ToOutputWithContext(ctx, i).(NamespaceOutput) } +func (i *Namespace) ToOutput(ctx context.Context) pulumix.Output[*Namespace] { + return pulumix.Output[*Namespace]{ + OutputState: i.ToNamespaceOutputWithContext(ctx).OutputState, + } +} + type NamespaceOutput struct{ *pulumi.OutputState } func (NamespaceOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) Names return o } +func (o NamespaceOutput) ToOutput(ctx context.Context) pulumix.Output[*Namespace] { + return pulumix.Output[*Namespace]{ + OutputState: o.OutputState, + } +} + // Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters. func (o NamespaceOutput) Labels() pulumi.StringMapOutput { return o.ApplyT(func(v *Namespace) pulumi.StringMapOutput { return v.Labels }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/servicedirectory/v1/namespaceIamBinding.go b/sdk/go/google/servicedirectory/v1/namespaceIamBinding.go index 31a46116e3..41727f0bf0 100644 --- a/sdk/go/google/servicedirectory/v1/namespaceIamBinding.go +++ b/sdk/go/google/servicedirectory/v1/namespaceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource (namespace or service only). @@ -135,6 +136,12 @@ func (i *NamespaceIamBinding) ToNamespaceIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(NamespaceIamBindingOutput) } +func (i *NamespaceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamBinding] { + return pulumix.Output[*NamespaceIamBinding]{ + OutputState: i.ToNamespaceIamBindingOutputWithContext(ctx).OutputState, + } +} + type NamespaceIamBindingOutput struct{ *pulumi.OutputState } func (NamespaceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceIamBindingOutput) ToNamespaceIamBindingOutputWithContext(ctx co return o } +func (o NamespaceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamBinding] { + return pulumix.Output[*NamespaceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1/namespaceIamMember.go b/sdk/go/google/servicedirectory/v1/namespaceIamMember.go index 1065eadef9..a57932dcab 100644 --- a/sdk/go/google/servicedirectory/v1/namespaceIamMember.go +++ b/sdk/go/google/servicedirectory/v1/namespaceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource (namespace or service only). @@ -135,6 +136,12 @@ func (i *NamespaceIamMember) ToNamespaceIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NamespaceIamMemberOutput) } +func (i *NamespaceIamMember) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamMember] { + return pulumix.Output[*NamespaceIamMember]{ + OutputState: i.ToNamespaceIamMemberOutputWithContext(ctx).OutputState, + } +} + type NamespaceIamMemberOutput struct{ *pulumi.OutputState } func (NamespaceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceIamMemberOutput) ToNamespaceIamMemberOutputWithContext(ctx cont return o } +func (o NamespaceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamMember] { + return pulumix.Output[*NamespaceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1/namespaceIamPolicy.go b/sdk/go/google/servicedirectory/v1/namespaceIamPolicy.go index 9e1663b04e..50e3b661f2 100644 --- a/sdk/go/google/servicedirectory/v1/namespaceIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1/namespaceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource (namespace or service only). @@ -125,6 +126,12 @@ func (i *NamespaceIamPolicy) ToNamespaceIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NamespaceIamPolicyOutput) } +func (i *NamespaceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamPolicy] { + return pulumix.Output[*NamespaceIamPolicy]{ + OutputState: i.ToNamespaceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NamespaceIamPolicyOutput struct{ *pulumi.OutputState } func (NamespaceIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o NamespaceIamPolicyOutput) ToNamespaceIamPolicyOutputWithContext(ctx cont return o } +func (o NamespaceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamPolicy] { + return pulumix.Output[*NamespaceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o NamespaceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *NamespaceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1/namespaceServiceIamBinding.go b/sdk/go/google/servicedirectory/v1/namespaceServiceIamBinding.go index 2fc4cc2835..61eeb68168 100644 --- a/sdk/go/google/servicedirectory/v1/namespaceServiceIamBinding.go +++ b/sdk/go/google/servicedirectory/v1/namespaceServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource (namespace or service only). @@ -135,6 +136,12 @@ func (i *NamespaceServiceIamBinding) ToNamespaceServiceIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NamespaceServiceIamBindingOutput) } +func (i *NamespaceServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamBinding] { + return pulumix.Output[*NamespaceServiceIamBinding]{ + OutputState: i.ToNamespaceServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type NamespaceServiceIamBindingOutput struct{ *pulumi.OutputState } func (NamespaceServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceServiceIamBindingOutput) ToNamespaceServiceIamBindingOutputWith return o } +func (o NamespaceServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamBinding] { + return pulumix.Output[*NamespaceServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1/namespaceServiceIamMember.go b/sdk/go/google/servicedirectory/v1/namespaceServiceIamMember.go index 96365b097a..118d02c1fa 100644 --- a/sdk/go/google/servicedirectory/v1/namespaceServiceIamMember.go +++ b/sdk/go/google/servicedirectory/v1/namespaceServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource (namespace or service only). @@ -135,6 +136,12 @@ func (i *NamespaceServiceIamMember) ToNamespaceServiceIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(NamespaceServiceIamMemberOutput) } +func (i *NamespaceServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamMember] { + return pulumix.Output[*NamespaceServiceIamMember]{ + OutputState: i.ToNamespaceServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type NamespaceServiceIamMemberOutput struct{ *pulumi.OutputState } func (NamespaceServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceServiceIamMemberOutput) ToNamespaceServiceIamMemberOutputWithCo return o } +func (o NamespaceServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamMember] { + return pulumix.Output[*NamespaceServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1/namespaceServiceIamPolicy.go b/sdk/go/google/servicedirectory/v1/namespaceServiceIamPolicy.go index 5147986df6..5ee5918934 100644 --- a/sdk/go/google/servicedirectory/v1/namespaceServiceIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1/namespaceServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource (namespace or service only). @@ -132,6 +133,12 @@ func (i *NamespaceServiceIamPolicy) ToNamespaceServiceIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(NamespaceServiceIamPolicyOutput) } +func (i *NamespaceServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamPolicy] { + return pulumix.Output[*NamespaceServiceIamPolicy]{ + OutputState: i.ToNamespaceServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NamespaceServiceIamPolicyOutput struct{ *pulumi.OutputState } func (NamespaceServiceIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o NamespaceServiceIamPolicyOutput) ToNamespaceServiceIamPolicyOutputWithCo return o } +func (o NamespaceServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamPolicy] { + return pulumix.Output[*NamespaceServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o NamespaceServiceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *NamespaceServiceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1/pulumiTypes.go b/sdk/go/google/servicedirectory/v1/pulumiTypes.go index 26b586ca1e..c44f0de264 100644 --- a/sdk/go/google/servicedirectory/v1/pulumiTypes.go +++ b/sdk/go/google/servicedirectory/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -222,6 +259,12 @@ func (o EndpointResponseOutput) ToEndpointResponseOutputWithContext(ctx context. return o } +func (o EndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointResponse] { + return pulumix.Output[EndpointResponse]{ + OutputState: o.OutputState, + } +} + // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. func (o EndpointResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v EndpointResponse) string { return v.Address }).(pulumi.StringOutput) @@ -266,6 +309,12 @@ func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutputWithContext(ct return o } +func (o EndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EndpointResponse] { + return pulumix.Output[[]EndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o EndpointResponseArrayOutput) Index(i pulumi.IntInput) EndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EndpointResponse { return vs[0].([]EndpointResponse)[vs[1].(int)] @@ -319,6 +368,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -360,6 +415,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -385,6 +446,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -419,6 +486,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -496,6 +569,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicedirectory/v1/service.go b/sdk/go/google/servicedirectory/v1/service.go index a3f8facfc0..02085fe577 100644 --- a/sdk/go/google/servicedirectory/v1/service.go +++ b/sdk/go/google/servicedirectory/v1/service.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a service, and returns the new service. @@ -131,6 +132,12 @@ func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput return pulumi.ToOutputWithContext(ctx, i).(ServiceOutput) } +func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: i.ToServiceOutputWithContext(ctx).OutputState, + } +} + type ServiceOutput struct{ *pulumi.OutputState } func (ServiceOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOu return o } +func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: o.OutputState, + } +} + // Optional. Annotations for the service. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Annotations that fails to meet these requirements are rejected Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory. func (o ServiceOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Service) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/endpoint.go b/sdk/go/google/servicedirectory/v1beta1/endpoint.go index 791d00ac61..e448cd0ad4 100644 --- a/sdk/go/google/servicedirectory/v1beta1/endpoint.go +++ b/sdk/go/google/servicedirectory/v1beta1/endpoint.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an endpoint, and returns the new endpoint. @@ -158,6 +159,12 @@ func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutp return pulumi.ToOutputWithContext(ctx, i).(EndpointOutput) } +func (i *Endpoint) ToOutput(ctx context.Context) pulumix.Output[*Endpoint] { + return pulumix.Output[*Endpoint]{ + OutputState: i.ToEndpointOutputWithContext(ctx).OutputState, + } +} + type EndpointOutput struct{ *pulumi.OutputState } func (EndpointOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) Endpoin return o } +func (o EndpointOutput) ToOutput(ctx context.Context) pulumix.Output[*Endpoint] { + return pulumix.Output[*Endpoint]{ + OutputState: o.OutputState, + } +} + // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. func (o EndpointOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *Endpoint) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/getEndpoint.go b/sdk/go/google/servicedirectory/v1beta1/getEndpoint.go index 4a4ce7f0e9..4e36f60567 100644 --- a/sdk/go/google/servicedirectory/v1beta1/getEndpoint.go +++ b/sdk/go/google/servicedirectory/v1beta1/getEndpoint.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an endpoint. @@ -88,6 +89,12 @@ func (o LookupEndpointResultOutput) ToLookupEndpointResultOutputWithContext(ctx return o } +func (o LookupEndpointResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEndpointResult] { + return pulumix.Output[LookupEndpointResult]{ + OutputState: o.OutputState, + } +} + // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. func (o LookupEndpointResultOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v LookupEndpointResult) string { return v.Address }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/getNamespace.go b/sdk/go/google/servicedirectory/v1beta1/getNamespace.go index de0cc8a2de..77ccab3abb 100644 --- a/sdk/go/google/servicedirectory/v1beta1/getNamespace.go +++ b/sdk/go/google/servicedirectory/v1beta1/getNamespace.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a namespace. @@ -78,6 +79,12 @@ func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ct return o } +func (o LookupNamespaceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamespaceResult] { + return pulumix.Output[LookupNamespaceResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the namespace was created. func (o LookupNamespaceResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupNamespaceResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/getNamespaceIamPolicy.go b/sdk/go/google/servicedirectory/v1beta1/getNamespaceIamPolicy.go index 7d7cc2f25c..11564bfdbb 100644 --- a/sdk/go/google/servicedirectory/v1beta1/getNamespaceIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1beta1/getNamespaceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM Policy for a resource @@ -74,6 +75,12 @@ func (o LookupNamespaceIamPolicyResultOutput) ToLookupNamespaceIamPolicyResultOu return o } +func (o LookupNamespaceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamespaceIamPolicyResult] { + return pulumix.Output[LookupNamespaceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupNamespaceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupNamespaceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/getNamespaceServiceIamPolicy.go b/sdk/go/google/servicedirectory/v1beta1/getNamespaceServiceIamPolicy.go index e32774d8cb..3bdceb842a 100644 --- a/sdk/go/google/servicedirectory/v1beta1/getNamespaceServiceIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1beta1/getNamespaceServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM Policy for a resource @@ -76,6 +77,12 @@ func (o LookupNamespaceServiceIamPolicyResultOutput) ToLookupNamespaceServiceIam return o } +func (o LookupNamespaceServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamespaceServiceIamPolicyResult] { + return pulumix.Output[LookupNamespaceServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupNamespaceServiceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupNamespaceServiceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/getNamespaceServiceWorkloadIamPolicy.go b/sdk/go/google/servicedirectory/v1beta1/getNamespaceServiceWorkloadIamPolicy.go index 7d030a5750..924dc75e5e 100644 --- a/sdk/go/google/servicedirectory/v1beta1/getNamespaceServiceWorkloadIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1beta1/getNamespaceServiceWorkloadIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM Policy for a resource @@ -76,6 +77,12 @@ func (o LookupNamespaceServiceWorkloadIamPolicyResultOutput) ToLookupNamespaceSe return o } +func (o LookupNamespaceServiceWorkloadIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamespaceServiceWorkloadIamPolicyResult] { + return pulumix.Output[LookupNamespaceServiceWorkloadIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupNamespaceServiceWorkloadIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupNamespaceServiceWorkloadIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/getNamespaceWorkloadIamPolicy.go b/sdk/go/google/servicedirectory/v1beta1/getNamespaceWorkloadIamPolicy.go index 86e7e06032..2ab5a15bde 100644 --- a/sdk/go/google/servicedirectory/v1beta1/getNamespaceWorkloadIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1beta1/getNamespaceWorkloadIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM Policy for a resource @@ -76,6 +77,12 @@ func (o LookupNamespaceWorkloadIamPolicyResultOutput) ToLookupNamespaceWorkloadI return o } +func (o LookupNamespaceWorkloadIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNamespaceWorkloadIamPolicyResult] { + return pulumix.Output[LookupNamespaceWorkloadIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupNamespaceWorkloadIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupNamespaceWorkloadIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/getRegistrationPolicyIamPolicy.go b/sdk/go/google/servicedirectory/v1beta1/getRegistrationPolicyIamPolicy.go index 546f90b786..f45edbe6c6 100644 --- a/sdk/go/google/servicedirectory/v1beta1/getRegistrationPolicyIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1beta1/getRegistrationPolicyIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the IAM Policy for a resource @@ -74,6 +75,12 @@ func (o LookupRegistrationPolicyIamPolicyResultOutput) ToLookupRegistrationPolic return o } +func (o LookupRegistrationPolicyIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRegistrationPolicyIamPolicyResult] { + return pulumix.Output[LookupRegistrationPolicyIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupRegistrationPolicyIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupRegistrationPolicyIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/getService.go b/sdk/go/google/servicedirectory/v1beta1/getService.go index 6e34a8fed2..24fc61c53d 100644 --- a/sdk/go/google/servicedirectory/v1beta1/getService.go +++ b/sdk/go/google/servicedirectory/v1beta1/getService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a service. @@ -82,6 +83,12 @@ func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx co return o } +func (o LookupServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceResult] { + return pulumix.Output[LookupServiceResult]{ + OutputState: o.OutputState, + } +} + // The timestamp when the service was created. func (o LookupServiceResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespace.go b/sdk/go/google/servicedirectory/v1beta1/namespace.go index 8764824705..1f215184b0 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespace.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespace.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a namespace, and returns the new namespace. @@ -126,6 +127,12 @@ func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceO return pulumi.ToOutputWithContext(ctx, i).(NamespaceOutput) } +func (i *Namespace) ToOutput(ctx context.Context) pulumix.Output[*Namespace] { + return pulumix.Output[*Namespace]{ + OutputState: i.ToNamespaceOutputWithContext(ctx).OutputState, + } +} + type NamespaceOutput struct{ *pulumi.OutputState } func (NamespaceOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) Names return o } +func (o NamespaceOutput) ToOutput(ctx context.Context) pulumix.Output[*Namespace] { + return pulumix.Output[*Namespace]{ + OutputState: o.OutputState, + } +} + // The timestamp when the namespace was created. func (o NamespaceOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Namespace) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceIamBinding.go b/sdk/go/google/servicedirectory/v1beta1/namespaceIamBinding.go index d4c09fa4c2..30e8bb5ae5 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceIamBinding.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -135,6 +136,12 @@ func (i *NamespaceIamBinding) ToNamespaceIamBindingOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(NamespaceIamBindingOutput) } +func (i *NamespaceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamBinding] { + return pulumix.Output[*NamespaceIamBinding]{ + OutputState: i.ToNamespaceIamBindingOutputWithContext(ctx).OutputState, + } +} + type NamespaceIamBindingOutput struct{ *pulumi.OutputState } func (NamespaceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceIamBindingOutput) ToNamespaceIamBindingOutputWithContext(ctx co return o } +func (o NamespaceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamBinding] { + return pulumix.Output[*NamespaceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceIamMember.go b/sdk/go/google/servicedirectory/v1beta1/namespaceIamMember.go index c2068468e9..34673d5335 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceIamMember.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -135,6 +136,12 @@ func (i *NamespaceIamMember) ToNamespaceIamMemberOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NamespaceIamMemberOutput) } +func (i *NamespaceIamMember) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamMember] { + return pulumix.Output[*NamespaceIamMember]{ + OutputState: i.ToNamespaceIamMemberOutputWithContext(ctx).OutputState, + } +} + type NamespaceIamMemberOutput struct{ *pulumi.OutputState } func (NamespaceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceIamMemberOutput) ToNamespaceIamMemberOutputWithContext(ctx cont return o } +func (o NamespaceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamMember] { + return pulumix.Output[*NamespaceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceIamPolicy.go b/sdk/go/google/servicedirectory/v1beta1/namespaceIamPolicy.go index 3007dac352..8834e32ede 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -125,6 +126,12 @@ func (i *NamespaceIamPolicy) ToNamespaceIamPolicyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NamespaceIamPolicyOutput) } +func (i *NamespaceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamPolicy] { + return pulumix.Output[*NamespaceIamPolicy]{ + OutputState: i.ToNamespaceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NamespaceIamPolicyOutput struct{ *pulumi.OutputState } func (NamespaceIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o NamespaceIamPolicyOutput) ToNamespaceIamPolicyOutputWithContext(ctx cont return o } +func (o NamespaceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceIamPolicy] { + return pulumix.Output[*NamespaceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o NamespaceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *NamespaceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamBinding.go b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamBinding.go index e3e0c6daa3..c6a1e76e3a 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamBinding.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -135,6 +136,12 @@ func (i *NamespaceServiceIamBinding) ToNamespaceServiceIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NamespaceServiceIamBindingOutput) } +func (i *NamespaceServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamBinding] { + return pulumix.Output[*NamespaceServiceIamBinding]{ + OutputState: i.ToNamespaceServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type NamespaceServiceIamBindingOutput struct{ *pulumi.OutputState } func (NamespaceServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceServiceIamBindingOutput) ToNamespaceServiceIamBindingOutputWith return o } +func (o NamespaceServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamBinding] { + return pulumix.Output[*NamespaceServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamMember.go b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamMember.go index 6d956b43e7..94ed14e935 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamMember.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -135,6 +136,12 @@ func (i *NamespaceServiceIamMember) ToNamespaceServiceIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(NamespaceServiceIamMemberOutput) } +func (i *NamespaceServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamMember] { + return pulumix.Output[*NamespaceServiceIamMember]{ + OutputState: i.ToNamespaceServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type NamespaceServiceIamMemberOutput struct{ *pulumi.OutputState } func (NamespaceServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceServiceIamMemberOutput) ToNamespaceServiceIamMemberOutputWithCo return o } +func (o NamespaceServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamMember] { + return pulumix.Output[*NamespaceServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamPolicy.go b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamPolicy.go index 94174dbadb..9b0a95db0b 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -132,6 +133,12 @@ func (i *NamespaceServiceIamPolicy) ToNamespaceServiceIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(NamespaceServiceIamPolicyOutput) } +func (i *NamespaceServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamPolicy] { + return pulumix.Output[*NamespaceServiceIamPolicy]{ + OutputState: i.ToNamespaceServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NamespaceServiceIamPolicyOutput struct{ *pulumi.OutputState } func (NamespaceServiceIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o NamespaceServiceIamPolicyOutput) ToNamespaceServiceIamPolicyOutputWithCo return o } +func (o NamespaceServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceIamPolicy] { + return pulumix.Output[*NamespaceServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o NamespaceServiceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *NamespaceServiceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamBinding.go b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamBinding.go index fc5e56b9e3..9dd89256d3 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamBinding.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -135,6 +136,12 @@ func (i *NamespaceServiceWorkloadIamBinding) ToNamespaceServiceWorkloadIamBindin return pulumi.ToOutputWithContext(ctx, i).(NamespaceServiceWorkloadIamBindingOutput) } +func (i *NamespaceServiceWorkloadIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceWorkloadIamBinding] { + return pulumix.Output[*NamespaceServiceWorkloadIamBinding]{ + OutputState: i.ToNamespaceServiceWorkloadIamBindingOutputWithContext(ctx).OutputState, + } +} + type NamespaceServiceWorkloadIamBindingOutput struct{ *pulumi.OutputState } func (NamespaceServiceWorkloadIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceServiceWorkloadIamBindingOutput) ToNamespaceServiceWorkloadIamB return o } +func (o NamespaceServiceWorkloadIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceWorkloadIamBinding] { + return pulumix.Output[*NamespaceServiceWorkloadIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceServiceWorkloadIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceServiceWorkloadIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamMember.go b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamMember.go index 4e7f34dba6..3a3837d809 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamMember.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -135,6 +136,12 @@ func (i *NamespaceServiceWorkloadIamMember) ToNamespaceServiceWorkloadIamMemberO return pulumi.ToOutputWithContext(ctx, i).(NamespaceServiceWorkloadIamMemberOutput) } +func (i *NamespaceServiceWorkloadIamMember) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceWorkloadIamMember] { + return pulumix.Output[*NamespaceServiceWorkloadIamMember]{ + OutputState: i.ToNamespaceServiceWorkloadIamMemberOutputWithContext(ctx).OutputState, + } +} + type NamespaceServiceWorkloadIamMemberOutput struct{ *pulumi.OutputState } func (NamespaceServiceWorkloadIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceServiceWorkloadIamMemberOutput) ToNamespaceServiceWorkloadIamMe return o } +func (o NamespaceServiceWorkloadIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceWorkloadIamMember] { + return pulumix.Output[*NamespaceServiceWorkloadIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceServiceWorkloadIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceServiceWorkloadIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamPolicy.go b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamPolicy.go index 0ae71ba116..cc8f621f1d 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceServiceWorkloadIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -132,6 +133,12 @@ func (i *NamespaceServiceWorkloadIamPolicy) ToNamespaceServiceWorkloadIamPolicyO return pulumi.ToOutputWithContext(ctx, i).(NamespaceServiceWorkloadIamPolicyOutput) } +func (i *NamespaceServiceWorkloadIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceWorkloadIamPolicy] { + return pulumix.Output[*NamespaceServiceWorkloadIamPolicy]{ + OutputState: i.ToNamespaceServiceWorkloadIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NamespaceServiceWorkloadIamPolicyOutput struct{ *pulumi.OutputState } func (NamespaceServiceWorkloadIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o NamespaceServiceWorkloadIamPolicyOutput) ToNamespaceServiceWorkloadIamPo return o } +func (o NamespaceServiceWorkloadIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceServiceWorkloadIamPolicy] { + return pulumix.Output[*NamespaceServiceWorkloadIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o NamespaceServiceWorkloadIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *NamespaceServiceWorkloadIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamBinding.go b/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamBinding.go index f33d683e44..2f3e660b7c 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamBinding.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -135,6 +136,12 @@ func (i *NamespaceWorkloadIamBinding) ToNamespaceWorkloadIamBindingOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(NamespaceWorkloadIamBindingOutput) } +func (i *NamespaceWorkloadIamBinding) ToOutput(ctx context.Context) pulumix.Output[*NamespaceWorkloadIamBinding] { + return pulumix.Output[*NamespaceWorkloadIamBinding]{ + OutputState: i.ToNamespaceWorkloadIamBindingOutputWithContext(ctx).OutputState, + } +} + type NamespaceWorkloadIamBindingOutput struct{ *pulumi.OutputState } func (NamespaceWorkloadIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceWorkloadIamBindingOutput) ToNamespaceWorkloadIamBindingOutputWi return o } +func (o NamespaceWorkloadIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceWorkloadIamBinding] { + return pulumix.Output[*NamespaceWorkloadIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceWorkloadIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceWorkloadIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamMember.go b/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamMember.go index 8bd8ca7f74..8c1045e651 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamMember.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -135,6 +136,12 @@ func (i *NamespaceWorkloadIamMember) ToNamespaceWorkloadIamMemberOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NamespaceWorkloadIamMemberOutput) } +func (i *NamespaceWorkloadIamMember) ToOutput(ctx context.Context) pulumix.Output[*NamespaceWorkloadIamMember] { + return pulumix.Output[*NamespaceWorkloadIamMember]{ + OutputState: i.ToNamespaceWorkloadIamMemberOutputWithContext(ctx).OutputState, + } +} + type NamespaceWorkloadIamMemberOutput struct{ *pulumi.OutputState } func (NamespaceWorkloadIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o NamespaceWorkloadIamMemberOutput) ToNamespaceWorkloadIamMemberOutputWith return o } +func (o NamespaceWorkloadIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceWorkloadIamMember] { + return pulumix.Output[*NamespaceWorkloadIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o NamespaceWorkloadIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *NamespaceWorkloadIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamPolicy.go b/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamPolicy.go index d9899d4867..2d975a2785 100644 --- a/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1beta1/namespaceWorkloadIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -132,6 +133,12 @@ func (i *NamespaceWorkloadIamPolicy) ToNamespaceWorkloadIamPolicyOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(NamespaceWorkloadIamPolicyOutput) } +func (i *NamespaceWorkloadIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*NamespaceWorkloadIamPolicy] { + return pulumix.Output[*NamespaceWorkloadIamPolicy]{ + OutputState: i.ToNamespaceWorkloadIamPolicyOutputWithContext(ctx).OutputState, + } +} + type NamespaceWorkloadIamPolicyOutput struct{ *pulumi.OutputState } func (NamespaceWorkloadIamPolicyOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o NamespaceWorkloadIamPolicyOutput) ToNamespaceWorkloadIamPolicyOutputWith return o } +func (o NamespaceWorkloadIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*NamespaceWorkloadIamPolicy] { + return pulumix.Output[*NamespaceWorkloadIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o NamespaceWorkloadIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *NamespaceWorkloadIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/pulumiTypes.go b/sdk/go/google/servicedirectory/v1beta1/pulumiTypes.go index 3562a58328..8709bca0ef 100644 --- a/sdk/go/google/servicedirectory/v1beta1/pulumiTypes.go +++ b/sdk/go/google/servicedirectory/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -81,6 +88,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -96,6 +109,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -125,6 +144,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -156,6 +181,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -185,6 +216,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -226,6 +263,12 @@ func (o EndpointResponseOutput) ToEndpointResponseOutputWithContext(ctx context. return o } +func (o EndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointResponse] { + return pulumix.Output[EndpointResponse]{ + OutputState: o.OutputState, + } +} + // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters. func (o EndpointResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v EndpointResponse) string { return v.Address }).(pulumi.StringOutput) @@ -280,6 +323,12 @@ func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutputWithContext(ct return o } +func (o EndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EndpointResponse] { + return pulumix.Output[[]EndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o EndpointResponseArrayOutput) Index(i pulumi.IntInput) EndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EndpointResponse { return vs[0].([]EndpointResponse)[vs[1].(int)] @@ -333,6 +382,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -374,6 +429,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -399,6 +460,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -433,6 +500,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -510,6 +583,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamBinding.go b/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamBinding.go index 9c88fc20d8..7ad5072d90 100644 --- a/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamBinding.go +++ b/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -135,6 +136,12 @@ func (i *RegistrationPolicyIamBinding) ToRegistrationPolicyIamBindingOutputWithC return pulumi.ToOutputWithContext(ctx, i).(RegistrationPolicyIamBindingOutput) } +func (i *RegistrationPolicyIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RegistrationPolicyIamBinding] { + return pulumix.Output[*RegistrationPolicyIamBinding]{ + OutputState: i.ToRegistrationPolicyIamBindingOutputWithContext(ctx).OutputState, + } +} + type RegistrationPolicyIamBindingOutput struct{ *pulumi.OutputState } func (RegistrationPolicyIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationPolicyIamBindingOutput) ToRegistrationPolicyIamBindingOutput return o } +func (o RegistrationPolicyIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationPolicyIamBinding] { + return pulumix.Output[*RegistrationPolicyIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistrationPolicyIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistrationPolicyIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamMember.go b/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamMember.go index ad3437e6fd..2394ce6b35 100644 --- a/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamMember.go +++ b/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -135,6 +136,12 @@ func (i *RegistrationPolicyIamMember) ToRegistrationPolicyIamMemberOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RegistrationPolicyIamMemberOutput) } +func (i *RegistrationPolicyIamMember) ToOutput(ctx context.Context) pulumix.Output[*RegistrationPolicyIamMember] { + return pulumix.Output[*RegistrationPolicyIamMember]{ + OutputState: i.ToRegistrationPolicyIamMemberOutputWithContext(ctx).OutputState, + } +} + type RegistrationPolicyIamMemberOutput struct{ *pulumi.OutputState } func (RegistrationPolicyIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RegistrationPolicyIamMemberOutput) ToRegistrationPolicyIamMemberOutputWi return o } +func (o RegistrationPolicyIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationPolicyIamMember] { + return pulumix.Output[*RegistrationPolicyIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RegistrationPolicyIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RegistrationPolicyIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamPolicy.go b/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamPolicy.go index 825802e22d..01caa0779a 100644 --- a/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamPolicy.go +++ b/sdk/go/google/servicedirectory/v1beta1/registrationPolicyIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the IAM Policy for a resource @@ -125,6 +126,12 @@ func (i *RegistrationPolicyIamPolicy) ToRegistrationPolicyIamPolicyOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(RegistrationPolicyIamPolicyOutput) } +func (i *RegistrationPolicyIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RegistrationPolicyIamPolicy] { + return pulumix.Output[*RegistrationPolicyIamPolicy]{ + OutputState: i.ToRegistrationPolicyIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RegistrationPolicyIamPolicyOutput struct{ *pulumi.OutputState } func (RegistrationPolicyIamPolicyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o RegistrationPolicyIamPolicyOutput) ToRegistrationPolicyIamPolicyOutputWi return o } +func (o RegistrationPolicyIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RegistrationPolicyIamPolicy] { + return pulumix.Output[*RegistrationPolicyIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o RegistrationPolicyIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *RegistrationPolicyIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/servicedirectory/v1beta1/service.go b/sdk/go/google/servicedirectory/v1beta1/service.go index 925cd76c31..1d9c179c85 100644 --- a/sdk/go/google/servicedirectory/v1beta1/service.go +++ b/sdk/go/google/servicedirectory/v1beta1/service.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a service, and returns the new service. @@ -135,6 +136,12 @@ func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput return pulumi.ToOutputWithContext(ctx, i).(ServiceOutput) } +func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: i.ToServiceOutputWithContext(ctx).OutputState, + } +} + type ServiceOutput struct{ *pulumi.OutputState } func (ServiceOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOu return o } +func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: o.OutputState, + } +} + // The timestamp when the service was created. func (o ServiceOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Service) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicemanagement/v1/config.go b/sdk/go/google/servicemanagement/v1/config.go index f6028abfbd..502a87622a 100644 --- a/sdk/go/google/servicemanagement/v1/config.go +++ b/sdk/go/google/servicemanagement/v1/config.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually. @@ -261,6 +262,12 @@ func (i *Config) ToConfigOutputWithContext(ctx context.Context) ConfigOutput { return pulumi.ToOutputWithContext(ctx, i).(ConfigOutput) } +func (i *Config) ToOutput(ctx context.Context) pulumix.Output[*Config] { + return pulumix.Output[*Config]{ + OutputState: i.ToConfigOutputWithContext(ctx).OutputState, + } +} + type ConfigOutput struct{ *pulumi.OutputState } func (ConfigOutput) ElementType() reflect.Type { @@ -275,6 +282,12 @@ func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutpu return o } +func (o ConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*Config] { + return pulumix.Output[*Config]{ + OutputState: o.OutputState, + } +} + // A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files. func (o ConfigOutput) Apis() ApiResponseArrayOutput { return o.ApplyT(func(v *Config) ApiResponseArrayOutput { return v.Apis }).(ApiResponseArrayOutput) diff --git a/sdk/go/google/servicemanagement/v1/getConfig.go b/sdk/go/google/servicemanagement/v1/getConfig.go index 5633200db4..40a7d87d12 100644 --- a/sdk/go/google/servicemanagement/v1/getConfig.go +++ b/sdk/go/google/servicemanagement/v1/getConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a service configuration (version) for a managed service. @@ -122,6 +123,12 @@ func (o LookupConfigResultOutput) ToLookupConfigResultOutputWithContext(ctx cont return o } +func (o LookupConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConfigResult] { + return pulumix.Output[LookupConfigResult]{ + OutputState: o.OutputState, + } +} + // A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files. func (o LookupConfigResultOutput) Apis() ApiResponseArrayOutput { return o.ApplyT(func(v LookupConfigResult) []ApiResponse { return v.Apis }).(ApiResponseArrayOutput) diff --git a/sdk/go/google/servicemanagement/v1/getRollout.go b/sdk/go/google/servicemanagement/v1/getRollout.go index e5f410b1b4..6ea0aa549b 100644 --- a/sdk/go/google/servicemanagement/v1/getRollout.go +++ b/sdk/go/google/servicemanagement/v1/getRollout.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a service configuration rollout. @@ -80,6 +81,12 @@ func (o LookupRolloutResultOutput) ToLookupRolloutResultOutputWithContext(ctx co return o } +func (o LookupRolloutResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRolloutResult] { + return pulumix.Output[LookupRolloutResult]{ + OutputState: o.OutputState, + } +} + // Creation time of the rollout. Readonly. func (o LookupRolloutResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupRolloutResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicemanagement/v1/getService.go b/sdk/go/google/servicemanagement/v1/getService.go index 811367f1cf..675794bb96 100644 --- a/sdk/go/google/servicemanagement/v1/getService.go +++ b/sdk/go/google/servicemanagement/v1/getService.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a managed service. Authentication is required unless the service is public. @@ -68,6 +69,12 @@ func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx co return o } +func (o LookupServiceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceResult] { + return pulumix.Output[LookupServiceResult]{ + OutputState: o.OutputState, + } +} + // ID of the project that produces and owns this service. func (o LookupServiceResultOutput) ProducerProjectId() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceResult) string { return v.ProducerProjectId }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicemanagement/v1/getServiceConsumerIamPolicy.go b/sdk/go/google/servicemanagement/v1/getServiceConsumerIamPolicy.go index d9e5f4f832..0c44bf82a2 100644 --- a/sdk/go/google/servicemanagement/v1/getServiceConsumerIamPolicy.go +++ b/sdk/go/google/servicemanagement/v1/getServiceConsumerIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -74,6 +75,12 @@ func (o LookupServiceConsumerIamPolicyResultOutput) ToLookupServiceConsumerIamPo return o } +func (o LookupServiceConsumerIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceConsumerIamPolicyResult] { + return pulumix.Output[LookupServiceConsumerIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceConsumerIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceConsumerIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/servicemanagement/v1/getServiceIamPolicy.go b/sdk/go/google/servicemanagement/v1/getServiceIamPolicy.go index b2b7d7f369..b96a749ca5 100644 --- a/sdk/go/google/servicemanagement/v1/getServiceIamPolicy.go +++ b/sdk/go/google/servicemanagement/v1/getServiceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -72,6 +73,12 @@ func (o LookupServiceIamPolicyResultOutput) ToLookupServiceIamPolicyResultOutput return o } +func (o LookupServiceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupServiceIamPolicyResult] { + return pulumix.Output[LookupServiceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupServiceIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupServiceIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/servicemanagement/v1/pulumiEnums.go b/sdk/go/google/servicemanagement/v1/pulumiEnums.go index 8ccfca62c2..d90b793f4c 100644 --- a/sdk/go/google/servicemanagement/v1/pulumiEnums.go +++ b/sdk/go/google/servicemanagement/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The source syntax of the service. @@ -82,6 +83,12 @@ func (o ApiSyntaxOutput) ToApiSyntaxPtrOutputWithContext(ctx context.Context) Ap }).(ApiSyntaxPtrOutput) } +func (o ApiSyntaxOutput) ToOutput(ctx context.Context) pulumix.Output[ApiSyntax] { + return pulumix.Output[ApiSyntax]{ + OutputState: o.OutputState, + } +} + func (o ApiSyntaxOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o ApiSyntaxPtrOutput) ToApiSyntaxPtrOutputWithContext(ctx context.Context) return o } +func (o ApiSyntaxPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ApiSyntax] { + return pulumix.Output[*ApiSyntax]{ + OutputState: o.OutputState, + } +} + func (o ApiSyntaxPtrOutput) Elem() ApiSyntaxOutput { return o.ApplyT(func(v *ApiSyntax) ApiSyntax { if v != nil { @@ -179,6 +192,12 @@ func (in *apiSyntaxPtr) ToApiSyntaxPtrOutputWithContext(ctx context.Context) Api return pulumi.ToOutputWithContext(ctx, in).(ApiSyntaxPtrOutput) } +func (in *apiSyntaxPtr) ToOutput(ctx context.Context) pulumix.Output[*ApiSyntax] { + return pulumix.Output[*ApiSyntax]{ + OutputState: in.ToApiSyntaxPtrOutputWithContext(ctx).OutputState, + } +} + // The log type that this config enables. type AuditLogConfigLogType string @@ -253,6 +272,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -350,6 +381,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + type BackendRulePathTranslation string const ( @@ -420,6 +457,12 @@ func (o BackendRulePathTranslationOutput) ToBackendRulePathTranslationPtrOutputW }).(BackendRulePathTranslationPtrOutput) } +func (o BackendRulePathTranslationOutput) ToOutput(ctx context.Context) pulumix.Output[BackendRulePathTranslation] { + return pulumix.Output[BackendRulePathTranslation]{ + OutputState: o.OutputState, + } +} + func (o BackendRulePathTranslationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o BackendRulePathTranslationPtrOutput) ToBackendRulePathTranslationPtrOutp return o } +func (o BackendRulePathTranslationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendRulePathTranslation] { + return pulumix.Output[*BackendRulePathTranslation]{ + OutputState: o.OutputState, + } +} + func (o BackendRulePathTranslationPtrOutput) Elem() BackendRulePathTranslationOutput { return o.ApplyT(func(v *BackendRulePathTranslation) BackendRulePathTranslation { if v != nil { @@ -517,6 +566,12 @@ func (in *backendRulePathTranslationPtr) ToBackendRulePathTranslationPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(BackendRulePathTranslationPtrOutput) } +func (in *backendRulePathTranslationPtr) ToOutput(ctx context.Context) pulumix.Output[*BackendRulePathTranslation] { + return pulumix.Output[*BackendRulePathTranslation]{ + OutputState: in.ToBackendRulePathTranslationPtrOutputWithContext(ctx).OutputState, + } +} + // Launch stage of this version of the API. type ClientLibrarySettingsLaunchStage string @@ -599,6 +654,12 @@ func (o ClientLibrarySettingsLaunchStageOutput) ToClientLibrarySettingsLaunchSta }).(ClientLibrarySettingsLaunchStagePtrOutput) } +func (o ClientLibrarySettingsLaunchStageOutput) ToOutput(ctx context.Context) pulumix.Output[ClientLibrarySettingsLaunchStage] { + return pulumix.Output[ClientLibrarySettingsLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o ClientLibrarySettingsLaunchStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -634,6 +695,12 @@ func (o ClientLibrarySettingsLaunchStagePtrOutput) ToClientLibrarySettingsLaunch return o } +func (o ClientLibrarySettingsLaunchStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientLibrarySettingsLaunchStage] { + return pulumix.Output[*ClientLibrarySettingsLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o ClientLibrarySettingsLaunchStagePtrOutput) Elem() ClientLibrarySettingsLaunchStageOutput { return o.ApplyT(func(v *ClientLibrarySettingsLaunchStage) ClientLibrarySettingsLaunchStage { if v != nil { @@ -696,6 +763,12 @@ func (in *clientLibrarySettingsLaunchStagePtr) ToClientLibrarySettingsLaunchStag return pulumi.ToOutputWithContext(ctx, in).(ClientLibrarySettingsLaunchStagePtrOutput) } +func (in *clientLibrarySettingsLaunchStagePtr) ToOutput(ctx context.Context) pulumix.Output[*ClientLibrarySettingsLaunchStage] { + return pulumix.Output[*ClientLibrarySettingsLaunchStage]{ + OutputState: in.ToClientLibrarySettingsLaunchStagePtrOutputWithContext(ctx).OutputState, + } +} + type CommonLanguageSettingsDestinationsItem string const ( @@ -767,6 +840,12 @@ func (o CommonLanguageSettingsDestinationsItemOutput) ToCommonLanguageSettingsDe }).(CommonLanguageSettingsDestinationsItemPtrOutput) } +func (o CommonLanguageSettingsDestinationsItemOutput) ToOutput(ctx context.Context) pulumix.Output[CommonLanguageSettingsDestinationsItem] { + return pulumix.Output[CommonLanguageSettingsDestinationsItem]{ + OutputState: o.OutputState, + } +} + func (o CommonLanguageSettingsDestinationsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -802,6 +881,12 @@ func (o CommonLanguageSettingsDestinationsItemPtrOutput) ToCommonLanguageSetting return o } +func (o CommonLanguageSettingsDestinationsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CommonLanguageSettingsDestinationsItem] { + return pulumix.Output[*CommonLanguageSettingsDestinationsItem]{ + OutputState: o.OutputState, + } +} + func (o CommonLanguageSettingsDestinationsItemPtrOutput) Elem() CommonLanguageSettingsDestinationsItemOutput { return o.ApplyT(func(v *CommonLanguageSettingsDestinationsItem) CommonLanguageSettingsDestinationsItem { if v != nil { @@ -864,6 +949,12 @@ func (in *commonLanguageSettingsDestinationsItemPtr) ToCommonLanguageSettingsDes return pulumi.ToOutputWithContext(ctx, in).(CommonLanguageSettingsDestinationsItemPtrOutput) } +func (in *commonLanguageSettingsDestinationsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*CommonLanguageSettingsDestinationsItem] { + return pulumix.Output[*CommonLanguageSettingsDestinationsItem]{ + OutputState: in.ToCommonLanguageSettingsDestinationsItemPtrOutputWithContext(ctx).OutputState, + } +} + // CommonLanguageSettingsDestinationsItemArrayInput is an input type that accepts CommonLanguageSettingsDestinationsItemArray and CommonLanguageSettingsDestinationsItemArrayOutput values. // You can construct a concrete instance of `CommonLanguageSettingsDestinationsItemArrayInput` via: // @@ -889,6 +980,12 @@ func (i CommonLanguageSettingsDestinationsItemArray) ToCommonLanguageSettingsDes return pulumi.ToOutputWithContext(ctx, i).(CommonLanguageSettingsDestinationsItemArrayOutput) } +func (i CommonLanguageSettingsDestinationsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]CommonLanguageSettingsDestinationsItem] { + return pulumix.Output[[]CommonLanguageSettingsDestinationsItem]{ + OutputState: i.ToCommonLanguageSettingsDestinationsItemArrayOutputWithContext(ctx).OutputState, + } +} + type CommonLanguageSettingsDestinationsItemArrayOutput struct{ *pulumi.OutputState } func (CommonLanguageSettingsDestinationsItemArrayOutput) ElementType() reflect.Type { @@ -903,6 +1000,12 @@ func (o CommonLanguageSettingsDestinationsItemArrayOutput) ToCommonLanguageSetti return o } +func (o CommonLanguageSettingsDestinationsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CommonLanguageSettingsDestinationsItem] { + return pulumix.Output[[]CommonLanguageSettingsDestinationsItem]{ + OutputState: o.OutputState, + } +} + func (o CommonLanguageSettingsDestinationsItemArrayOutput) Index(i pulumi.IntInput) CommonLanguageSettingsDestinationsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CommonLanguageSettingsDestinationsItem { return vs[0].([]CommonLanguageSettingsDestinationsItem)[vs[1].(int)] @@ -981,6 +1084,12 @@ func (o EnumSyntaxOutput) ToEnumSyntaxPtrOutputWithContext(ctx context.Context) }).(EnumSyntaxPtrOutput) } +func (o EnumSyntaxOutput) ToOutput(ctx context.Context) pulumix.Output[EnumSyntax] { + return pulumix.Output[EnumSyntax]{ + OutputState: o.OutputState, + } +} + func (o EnumSyntaxOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1016,6 +1125,12 @@ func (o EnumSyntaxPtrOutput) ToEnumSyntaxPtrOutputWithContext(ctx context.Contex return o } +func (o EnumSyntaxPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EnumSyntax] { + return pulumix.Output[*EnumSyntax]{ + OutputState: o.OutputState, + } +} + func (o EnumSyntaxPtrOutput) Elem() EnumSyntaxOutput { return o.ApplyT(func(v *EnumSyntax) EnumSyntax { if v != nil { @@ -1078,6 +1193,12 @@ func (in *enumSyntaxPtr) ToEnumSyntaxPtrOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, in).(EnumSyntaxPtrOutput) } +func (in *enumSyntaxPtr) ToOutput(ctx context.Context) pulumix.Output[*EnumSyntax] { + return pulumix.Output[*EnumSyntax]{ + OutputState: in.ToEnumSyntaxPtrOutputWithContext(ctx).OutputState, + } +} + // The field cardinality. type FieldCardinality string @@ -1152,6 +1273,12 @@ func (o FieldCardinalityOutput) ToFieldCardinalityPtrOutputWithContext(ctx conte }).(FieldCardinalityPtrOutput) } +func (o FieldCardinalityOutput) ToOutput(ctx context.Context) pulumix.Output[FieldCardinality] { + return pulumix.Output[FieldCardinality]{ + OutputState: o.OutputState, + } +} + func (o FieldCardinalityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1187,6 +1314,12 @@ func (o FieldCardinalityPtrOutput) ToFieldCardinalityPtrOutputWithContext(ctx co return o } +func (o FieldCardinalityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FieldCardinality] { + return pulumix.Output[*FieldCardinality]{ + OutputState: o.OutputState, + } +} + func (o FieldCardinalityPtrOutput) Elem() FieldCardinalityOutput { return o.ApplyT(func(v *FieldCardinality) FieldCardinality { if v != nil { @@ -1249,6 +1382,12 @@ func (in *fieldCardinalityPtr) ToFieldCardinalityPtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(FieldCardinalityPtrOutput) } +func (in *fieldCardinalityPtr) ToOutput(ctx context.Context) pulumix.Output[*FieldCardinality] { + return pulumix.Output[*FieldCardinality]{ + OutputState: in.ToFieldCardinalityPtrOutputWithContext(ctx).OutputState, + } +} + // The field type. type FieldKind string @@ -1353,6 +1492,12 @@ func (o FieldKindOutput) ToFieldKindPtrOutputWithContext(ctx context.Context) Fi }).(FieldKindPtrOutput) } +func (o FieldKindOutput) ToOutput(ctx context.Context) pulumix.Output[FieldKind] { + return pulumix.Output[FieldKind]{ + OutputState: o.OutputState, + } +} + func (o FieldKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1388,6 +1533,12 @@ func (o FieldKindPtrOutput) ToFieldKindPtrOutputWithContext(ctx context.Context) return o } +func (o FieldKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FieldKind] { + return pulumix.Output[*FieldKind]{ + OutputState: o.OutputState, + } +} + func (o FieldKindPtrOutput) Elem() FieldKindOutput { return o.ApplyT(func(v *FieldKind) FieldKind { if v != nil { @@ -1450,6 +1601,12 @@ func (in *fieldKindPtr) ToFieldKindPtrOutputWithContext(ctx context.Context) Fie return pulumi.ToOutputWithContext(ctx, in).(FieldKindPtrOutput) } +func (in *fieldKindPtr) ToOutput(ctx context.Context) pulumix.Output[*FieldKind] { + return pulumix.Output[*FieldKind]{ + OutputState: in.ToFieldKindPtrOutputWithContext(ctx).OutputState, + } +} + // The type of data that can be assigned to the label. type LabelDescriptorValueType string @@ -1522,6 +1679,12 @@ func (o LabelDescriptorValueTypeOutput) ToLabelDescriptorValueTypePtrOutputWithC }).(LabelDescriptorValueTypePtrOutput) } +func (o LabelDescriptorValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptorValueType] { + return pulumix.Output[LabelDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorValueTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1557,6 +1720,12 @@ func (o LabelDescriptorValueTypePtrOutput) ToLabelDescriptorValueTypePtrOutputWi return o } +func (o LabelDescriptorValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LabelDescriptorValueType] { + return pulumix.Output[*LabelDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorValueTypePtrOutput) Elem() LabelDescriptorValueTypeOutput { return o.ApplyT(func(v *LabelDescriptorValueType) LabelDescriptorValueType { if v != nil { @@ -1619,6 +1788,12 @@ func (in *labelDescriptorValueTypePtr) ToLabelDescriptorValueTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(LabelDescriptorValueTypePtrOutput) } +func (in *labelDescriptorValueTypePtr) ToOutput(ctx context.Context) pulumix.Output[*LabelDescriptorValueType] { + return pulumix.Output[*LabelDescriptorValueType]{ + OutputState: in.ToLabelDescriptorValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // The source syntax of this method. type MethodSyntax string @@ -1691,6 +1866,12 @@ func (o MethodSyntaxOutput) ToMethodSyntaxPtrOutputWithContext(ctx context.Conte }).(MethodSyntaxPtrOutput) } +func (o MethodSyntaxOutput) ToOutput(ctx context.Context) pulumix.Output[MethodSyntax] { + return pulumix.Output[MethodSyntax]{ + OutputState: o.OutputState, + } +} + func (o MethodSyntaxOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1726,6 +1907,12 @@ func (o MethodSyntaxPtrOutput) ToMethodSyntaxPtrOutputWithContext(ctx context.Co return o } +func (o MethodSyntaxPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MethodSyntax] { + return pulumix.Output[*MethodSyntax]{ + OutputState: o.OutputState, + } +} + func (o MethodSyntaxPtrOutput) Elem() MethodSyntaxOutput { return o.ApplyT(func(v *MethodSyntax) MethodSyntax { if v != nil { @@ -1788,6 +1975,12 @@ func (in *methodSyntaxPtr) ToMethodSyntaxPtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(MethodSyntaxPtrOutput) } +func (in *methodSyntaxPtr) ToOutput(ctx context.Context) pulumix.Output[*MethodSyntax] { + return pulumix.Output[*MethodSyntax]{ + OutputState: in.ToMethodSyntaxPtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The launch stage of the metric definition. type MetricDescriptorLaunchStage string @@ -1870,6 +2063,12 @@ func (o MetricDescriptorLaunchStageOutput) ToMetricDescriptorLaunchStagePtrOutpu }).(MetricDescriptorLaunchStagePtrOutput) } +func (o MetricDescriptorLaunchStageOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorLaunchStage] { + return pulumix.Output[MetricDescriptorLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorLaunchStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1905,6 +2104,12 @@ func (o MetricDescriptorLaunchStagePtrOutput) ToMetricDescriptorLaunchStagePtrOu return o } +func (o MetricDescriptorLaunchStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorLaunchStage] { + return pulumix.Output[*MetricDescriptorLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorLaunchStagePtrOutput) Elem() MetricDescriptorLaunchStageOutput { return o.ApplyT(func(v *MetricDescriptorLaunchStage) MetricDescriptorLaunchStage { if v != nil { @@ -1967,6 +2172,12 @@ func (in *metricDescriptorLaunchStagePtr) ToMetricDescriptorLaunchStagePtrOutput return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorLaunchStagePtrOutput) } +func (in *metricDescriptorLaunchStagePtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorLaunchStage] { + return pulumix.Output[*MetricDescriptorLaunchStage]{ + OutputState: in.ToMetricDescriptorLaunchStagePtrOutputWithContext(ctx).OutputState, + } +} + // Deprecated. Must use the MetricDescriptor.launch_stage instead. type MetricDescriptorMetadataLaunchStage string @@ -2049,6 +2260,12 @@ func (o MetricDescriptorMetadataLaunchStageOutput) ToMetricDescriptorMetadataLau }).(MetricDescriptorMetadataLaunchStagePtrOutput) } +func (o MetricDescriptorMetadataLaunchStageOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadataLaunchStage] { + return pulumix.Output[MetricDescriptorMetadataLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetadataLaunchStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2084,6 +2301,12 @@ func (o MetricDescriptorMetadataLaunchStagePtrOutput) ToMetricDescriptorMetadata return o } +func (o MetricDescriptorMetadataLaunchStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadataLaunchStage] { + return pulumix.Output[*MetricDescriptorMetadataLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetadataLaunchStagePtrOutput) Elem() MetricDescriptorMetadataLaunchStageOutput { return o.ApplyT(func(v *MetricDescriptorMetadataLaunchStage) MetricDescriptorMetadataLaunchStage { if v != nil { @@ -2146,6 +2369,12 @@ func (in *metricDescriptorMetadataLaunchStagePtr) ToMetricDescriptorMetadataLaun return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorMetadataLaunchStagePtrOutput) } +func (in *metricDescriptorMetadataLaunchStagePtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadataLaunchStage] { + return pulumix.Output[*MetricDescriptorMetadataLaunchStage]{ + OutputState: in.ToMetricDescriptorMetadataLaunchStagePtrOutputWithContext(ctx).OutputState, + } +} + // Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported. type MetricDescriptorMetricKind string @@ -2220,6 +2449,12 @@ func (o MetricDescriptorMetricKindOutput) ToMetricDescriptorMetricKindPtrOutputW }).(MetricDescriptorMetricKindPtrOutput) } +func (o MetricDescriptorMetricKindOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetricKind] { + return pulumix.Output[MetricDescriptorMetricKind]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetricKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2255,6 +2490,12 @@ func (o MetricDescriptorMetricKindPtrOutput) ToMetricDescriptorMetricKindPtrOutp return o } +func (o MetricDescriptorMetricKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetricKind] { + return pulumix.Output[*MetricDescriptorMetricKind]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetricKindPtrOutput) Elem() MetricDescriptorMetricKindOutput { return o.ApplyT(func(v *MetricDescriptorMetricKind) MetricDescriptorMetricKind { if v != nil { @@ -2317,6 +2558,12 @@ func (in *metricDescriptorMetricKindPtr) ToMetricDescriptorMetricKindPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorMetricKindPtrOutput) } +func (in *metricDescriptorMetricKindPtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetricKind] { + return pulumix.Output[*MetricDescriptorMetricKind]{ + OutputState: in.ToMetricDescriptorMetricKindPtrOutputWithContext(ctx).OutputState, + } +} + // Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported. type MetricDescriptorValueType string @@ -2397,6 +2644,12 @@ func (o MetricDescriptorValueTypeOutput) ToMetricDescriptorValueTypePtrOutputWit }).(MetricDescriptorValueTypePtrOutput) } +func (o MetricDescriptorValueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorValueType] { + return pulumix.Output[MetricDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorValueTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2432,6 +2685,12 @@ func (o MetricDescriptorValueTypePtrOutput) ToMetricDescriptorValueTypePtrOutput return o } +func (o MetricDescriptorValueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorValueType] { + return pulumix.Output[*MetricDescriptorValueType]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorValueTypePtrOutput) Elem() MetricDescriptorValueTypeOutput { return o.ApplyT(func(v *MetricDescriptorValueType) MetricDescriptorValueType { if v != nil { @@ -2494,6 +2753,12 @@ func (in *metricDescriptorValueTypePtr) ToMetricDescriptorValueTypePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(MetricDescriptorValueTypePtrOutput) } +func (in *metricDescriptorValueTypePtr) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorValueType] { + return pulumix.Output[*MetricDescriptorValueType]{ + OutputState: in.ToMetricDescriptorValueTypePtrOutputWithContext(ctx).OutputState, + } +} + // Optional. The launch stage of the monitored resource definition. type MonitoredResourceDescriptorLaunchStage string @@ -2576,6 +2841,12 @@ func (o MonitoredResourceDescriptorLaunchStageOutput) ToMonitoredResourceDescrip }).(MonitoredResourceDescriptorLaunchStagePtrOutput) } +func (o MonitoredResourceDescriptorLaunchStageOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoredResourceDescriptorLaunchStage] { + return pulumix.Output[MonitoredResourceDescriptorLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MonitoredResourceDescriptorLaunchStageOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2611,6 +2882,12 @@ func (o MonitoredResourceDescriptorLaunchStagePtrOutput) ToMonitoredResourceDesc return o } +func (o MonitoredResourceDescriptorLaunchStagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MonitoredResourceDescriptorLaunchStage] { + return pulumix.Output[*MonitoredResourceDescriptorLaunchStage]{ + OutputState: o.OutputState, + } +} + func (o MonitoredResourceDescriptorLaunchStagePtrOutput) Elem() MonitoredResourceDescriptorLaunchStageOutput { return o.ApplyT(func(v *MonitoredResourceDescriptorLaunchStage) MonitoredResourceDescriptorLaunchStage { if v != nil { @@ -2673,6 +2950,12 @@ func (in *monitoredResourceDescriptorLaunchStagePtr) ToMonitoredResourceDescript return pulumi.ToOutputWithContext(ctx, in).(MonitoredResourceDescriptorLaunchStagePtrOutput) } +func (in *monitoredResourceDescriptorLaunchStagePtr) ToOutput(ctx context.Context) pulumix.Output[*MonitoredResourceDescriptorLaunchStage] { + return pulumix.Output[*MonitoredResourceDescriptorLaunchStage]{ + OutputState: in.ToMonitoredResourceDescriptorLaunchStagePtrOutputWithContext(ctx).OutputState, + } +} + // For whom the client library is being published. type PublishingOrganization string @@ -2755,6 +3038,12 @@ func (o PublishingOrganizationOutput) ToPublishingOrganizationPtrOutputWithConte }).(PublishingOrganizationPtrOutput) } +func (o PublishingOrganizationOutput) ToOutput(ctx context.Context) pulumix.Output[PublishingOrganization] { + return pulumix.Output[PublishingOrganization]{ + OutputState: o.OutputState, + } +} + func (o PublishingOrganizationOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2790,6 +3079,12 @@ func (o PublishingOrganizationPtrOutput) ToPublishingOrganizationPtrOutputWithCo return o } +func (o PublishingOrganizationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PublishingOrganization] { + return pulumix.Output[*PublishingOrganization]{ + OutputState: o.OutputState, + } +} + func (o PublishingOrganizationPtrOutput) Elem() PublishingOrganizationOutput { return o.ApplyT(func(v *PublishingOrganization) PublishingOrganization { if v != nil { @@ -2852,6 +3147,12 @@ func (in *publishingOrganizationPtr) ToPublishingOrganizationPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(PublishingOrganizationPtrOutput) } +func (in *publishingOrganizationPtr) ToOutput(ctx context.Context) pulumix.Output[*PublishingOrganization] { + return pulumix.Output[*PublishingOrganization]{ + OutputState: in.ToPublishingOrganizationPtrOutputWithContext(ctx).OutputState, + } +} + // The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly. type RolloutStatus string @@ -2944,6 +3245,12 @@ func (o TypeSyntaxOutput) ToTypeSyntaxPtrOutputWithContext(ctx context.Context) }).(TypeSyntaxPtrOutput) } +func (o TypeSyntaxOutput) ToOutput(ctx context.Context) pulumix.Output[TypeSyntax] { + return pulumix.Output[TypeSyntax]{ + OutputState: o.OutputState, + } +} + func (o TypeSyntaxOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2979,6 +3286,12 @@ func (o TypeSyntaxPtrOutput) ToTypeSyntaxPtrOutputWithContext(ctx context.Contex return o } +func (o TypeSyntaxPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TypeSyntax] { + return pulumix.Output[*TypeSyntax]{ + OutputState: o.OutputState, + } +} + func (o TypeSyntaxPtrOutput) Elem() TypeSyntaxOutput { return o.ApplyT(func(v *TypeSyntax) TypeSyntax { if v != nil { @@ -3041,6 +3354,12 @@ func (in *typeSyntaxPtr) ToTypeSyntaxPtrOutputWithContext(ctx context.Context) T return pulumi.ToOutputWithContext(ctx, in).(TypeSyntaxPtrOutput) } +func (in *typeSyntaxPtr) ToOutput(ctx context.Context) pulumix.Output[*TypeSyntax] { + return pulumix.Output[*TypeSyntax]{ + OutputState: in.ToTypeSyntaxPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ApiSyntaxInput)(nil)).Elem(), ApiSyntax("SYNTAX_PROTO2")) pulumi.RegisterInputType(reflect.TypeOf((*ApiSyntaxPtrInput)(nil)).Elem(), ApiSyntax("SYNTAX_PROTO2")) diff --git a/sdk/go/google/servicemanagement/v1/pulumiTypes.go b/sdk/go/google/servicemanagement/v1/pulumiTypes.go index 34d8e9234e..b47dd2e486 100644 --- a/sdk/go/google/servicemanagement/v1/pulumiTypes.go +++ b/sdk/go/google/servicemanagement/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -72,6 +73,12 @@ func (i ApiArgs) ToApiOutputWithContext(ctx context.Context) ApiOutput { return pulumi.ToOutputWithContext(ctx, i).(ApiOutput) } +func (i ApiArgs) ToOutput(ctx context.Context) pulumix.Output[Api] { + return pulumix.Output[Api]{ + OutputState: i.ToApiOutputWithContext(ctx).OutputState, + } +} + // ApiArrayInput is an input type that accepts ApiArray and ApiArrayOutput values. // You can construct a concrete instance of `ApiArrayInput` via: // @@ -97,6 +104,12 @@ func (i ApiArray) ToApiArrayOutputWithContext(ctx context.Context) ApiArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(ApiArrayOutput) } +func (i ApiArray) ToOutput(ctx context.Context) pulumix.Output[[]Api] { + return pulumix.Output[[]Api]{ + OutputState: i.ToApiArrayOutputWithContext(ctx).OutputState, + } +} + // Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology. type ApiOutput struct{ *pulumi.OutputState } @@ -112,6 +125,12 @@ func (o ApiOutput) ToApiOutputWithContext(ctx context.Context) ApiOutput { return o } +func (o ApiOutput) ToOutput(ctx context.Context) pulumix.Output[Api] { + return pulumix.Output[Api]{ + OutputState: o.OutputState, + } +} + // The methods of this interface, in unspecified order. func (o ApiOutput) Methods() MethodArrayOutput { return o.ApplyT(func(v Api) []Method { return v.Methods }).(MethodArrayOutput) @@ -161,6 +180,12 @@ func (o ApiArrayOutput) ToApiArrayOutputWithContext(ctx context.Context) ApiArra return o } +func (o ApiArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Api] { + return pulumix.Output[[]Api]{ + OutputState: o.OutputState, + } +} + func (o ApiArrayOutput) Index(i pulumi.IntInput) ApiOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Api { return vs[0].([]Api)[vs[1].(int)] @@ -200,6 +225,12 @@ func (o ApiResponseOutput) ToApiResponseOutputWithContext(ctx context.Context) A return o } +func (o ApiResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApiResponse] { + return pulumix.Output[ApiResponse]{ + OutputState: o.OutputState, + } +} + // The methods of this interface, in unspecified order. func (o ApiResponseOutput) Methods() MethodResponseArrayOutput { return o.ApplyT(func(v ApiResponse) []MethodResponse { return v.Methods }).(MethodResponseArrayOutput) @@ -249,6 +280,12 @@ func (o ApiResponseArrayOutput) ToApiResponseArrayOutputWithContext(ctx context. return o } +func (o ApiResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApiResponse] { + return pulumix.Output[[]ApiResponse]{ + OutputState: o.OutputState, + } +} + func (o ApiResponseArrayOutput) Index(i pulumi.IntInput) ApiResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApiResponse { return vs[0].([]ApiResponse)[vs[1].(int)] @@ -294,6 +331,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -319,6 +362,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -334,6 +383,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -358,6 +413,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -387,6 +448,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -411,6 +478,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -456,6 +529,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -481,6 +560,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -496,6 +581,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -520,6 +611,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -549,6 +646,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -573,6 +676,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -634,6 +743,12 @@ func (i AuthProviderArgs) ToAuthProviderOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthProviderOutput) } +func (i AuthProviderArgs) ToOutput(ctx context.Context) pulumix.Output[AuthProvider] { + return pulumix.Output[AuthProvider]{ + OutputState: i.ToAuthProviderOutputWithContext(ctx).OutputState, + } +} + // AuthProviderArrayInput is an input type that accepts AuthProviderArray and AuthProviderArrayOutput values. // You can construct a concrete instance of `AuthProviderArrayInput` via: // @@ -659,6 +774,12 @@ func (i AuthProviderArray) ToAuthProviderArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AuthProviderArrayOutput) } +func (i AuthProviderArray) ToOutput(ctx context.Context) pulumix.Output[[]AuthProvider] { + return pulumix.Output[[]AuthProvider]{ + OutputState: i.ToAuthProviderArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). type AuthProviderOutput struct{ *pulumi.OutputState } @@ -674,6 +795,12 @@ func (o AuthProviderOutput) ToAuthProviderOutputWithContext(ctx context.Context) return o } +func (o AuthProviderOutput) ToOutput(ctx context.Context) pulumix.Output[AuthProvider] { + return pulumix.Output[AuthProvider]{ + OutputState: o.OutputState, + } +} + // The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[service.name]/" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com func (o AuthProviderOutput) Audiences() pulumi.StringPtrOutput { return o.ApplyT(func(v AuthProvider) *string { return v.Audiences }).(pulumi.StringPtrOutput) @@ -718,6 +845,12 @@ func (o AuthProviderArrayOutput) ToAuthProviderArrayOutputWithContext(ctx contex return o } +func (o AuthProviderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuthProvider] { + return pulumix.Output[[]AuthProvider]{ + OutputState: o.OutputState, + } +} + func (o AuthProviderArrayOutput) Index(i pulumi.IntInput) AuthProviderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthProvider { return vs[0].([]AuthProvider)[vs[1].(int)] @@ -753,6 +886,12 @@ func (o AuthProviderResponseOutput) ToAuthProviderResponseOutputWithContext(ctx return o } +func (o AuthProviderResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthProviderResponse] { + return pulumix.Output[AuthProviderResponse]{ + OutputState: o.OutputState, + } +} + // The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[service.name]/" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com func (o AuthProviderResponseOutput) Audiences() pulumi.StringOutput { return o.ApplyT(func(v AuthProviderResponse) string { return v.Audiences }).(pulumi.StringOutput) @@ -792,6 +931,12 @@ func (o AuthProviderResponseArrayOutput) ToAuthProviderResponseArrayOutputWithCo return o } +func (o AuthProviderResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuthProviderResponse] { + return pulumix.Output[[]AuthProviderResponse]{ + OutputState: o.OutputState, + } +} + func (o AuthProviderResponseArrayOutput) Index(i pulumi.IntInput) AuthProviderResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthProviderResponse { return vs[0].([]AuthProviderResponse)[vs[1].(int)] @@ -837,6 +982,12 @@ func (i AuthRequirementArgs) ToAuthRequirementOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AuthRequirementOutput) } +func (i AuthRequirementArgs) ToOutput(ctx context.Context) pulumix.Output[AuthRequirement] { + return pulumix.Output[AuthRequirement]{ + OutputState: i.ToAuthRequirementOutputWithContext(ctx).OutputState, + } +} + // AuthRequirementArrayInput is an input type that accepts AuthRequirementArray and AuthRequirementArrayOutput values. // You can construct a concrete instance of `AuthRequirementArrayInput` via: // @@ -862,6 +1013,12 @@ func (i AuthRequirementArray) ToAuthRequirementArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthRequirementArrayOutput) } +func (i AuthRequirementArray) ToOutput(ctx context.Context) pulumix.Output[[]AuthRequirement] { + return pulumix.Output[[]AuthRequirement]{ + OutputState: i.ToAuthRequirementArrayOutputWithContext(ctx).OutputState, + } +} + // User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). type AuthRequirementOutput struct{ *pulumi.OutputState } @@ -877,6 +1034,12 @@ func (o AuthRequirementOutput) ToAuthRequirementOutputWithContext(ctx context.Co return o } +func (o AuthRequirementOutput) ToOutput(ctx context.Context) pulumix.Output[AuthRequirement] { + return pulumix.Output[AuthRequirement]{ + OutputState: o.OutputState, + } +} + // NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com func (o AuthRequirementOutput) Audiences() pulumi.StringPtrOutput { return o.ApplyT(func(v AuthRequirement) *string { return v.Audiences }).(pulumi.StringPtrOutput) @@ -901,6 +1064,12 @@ func (o AuthRequirementArrayOutput) ToAuthRequirementArrayOutputWithContext(ctx return o } +func (o AuthRequirementArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuthRequirement] { + return pulumix.Output[[]AuthRequirement]{ + OutputState: o.OutputState, + } +} + func (o AuthRequirementArrayOutput) Index(i pulumi.IntInput) AuthRequirementOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthRequirement { return vs[0].([]AuthRequirement)[vs[1].(int)] @@ -930,6 +1099,12 @@ func (o AuthRequirementResponseOutput) ToAuthRequirementResponseOutputWithContex return o } +func (o AuthRequirementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthRequirementResponse] { + return pulumix.Output[AuthRequirementResponse]{ + OutputState: o.OutputState, + } +} + // NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com func (o AuthRequirementResponseOutput) Audiences() pulumi.StringOutput { return o.ApplyT(func(v AuthRequirementResponse) string { return v.Audiences }).(pulumi.StringOutput) @@ -954,6 +1129,12 @@ func (o AuthRequirementResponseArrayOutput) ToAuthRequirementResponseArrayOutput return o } +func (o AuthRequirementResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuthRequirementResponse] { + return pulumix.Output[[]AuthRequirementResponse]{ + OutputState: o.OutputState, + } +} + func (o AuthRequirementResponseArrayOutput) Index(i pulumi.IntInput) AuthRequirementResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthRequirementResponse { return vs[0].([]AuthRequirementResponse)[vs[1].(int)] @@ -999,6 +1180,12 @@ func (i AuthenticationArgs) ToAuthenticationOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthenticationOutput) } +func (i AuthenticationArgs) ToOutput(ctx context.Context) pulumix.Output[Authentication] { + return pulumix.Output[Authentication]{ + OutputState: i.ToAuthenticationOutputWithContext(ctx).OutputState, + } +} + func (i AuthenticationArgs) ToAuthenticationPtrOutput() AuthenticationPtrOutput { return i.ToAuthenticationPtrOutputWithContext(context.Background()) } @@ -1040,6 +1227,12 @@ func (i *authenticationPtrType) ToAuthenticationPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AuthenticationPtrOutput) } +func (i *authenticationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Authentication] { + return pulumix.Output[*Authentication]{ + OutputState: i.ToAuthenticationPtrOutputWithContext(ctx).OutputState, + } +} + // `Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read type AuthenticationOutput struct{ *pulumi.OutputState } @@ -1065,6 +1258,12 @@ func (o AuthenticationOutput) ToAuthenticationPtrOutputWithContext(ctx context.C }).(AuthenticationPtrOutput) } +func (o AuthenticationOutput) ToOutput(ctx context.Context) pulumix.Output[Authentication] { + return pulumix.Output[Authentication]{ + OutputState: o.OutputState, + } +} + // Defines a set of authentication providers that a service supports. func (o AuthenticationOutput) Providers() AuthProviderArrayOutput { return o.ApplyT(func(v Authentication) []AuthProvider { return v.Providers }).(AuthProviderArrayOutput) @@ -1089,6 +1288,12 @@ func (o AuthenticationPtrOutput) ToAuthenticationPtrOutputWithContext(ctx contex return o } +func (o AuthenticationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Authentication] { + return pulumix.Output[*Authentication]{ + OutputState: o.OutputState, + } +} + func (o AuthenticationPtrOutput) Elem() AuthenticationOutput { return o.ApplyT(func(v *Authentication) Authentication { if v != nil { @@ -1142,6 +1347,12 @@ func (o AuthenticationResponseOutput) ToAuthenticationResponseOutputWithContext( return o } +func (o AuthenticationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticationResponse] { + return pulumix.Output[AuthenticationResponse]{ + OutputState: o.OutputState, + } +} + // Defines a set of authentication providers that a service supports. func (o AuthenticationResponseOutput) Providers() AuthProviderResponseArrayOutput { return o.ApplyT(func(v AuthenticationResponse) []AuthProviderResponse { return v.Providers }).(AuthProviderResponseArrayOutput) @@ -1199,6 +1410,12 @@ func (i AuthenticationRuleArgs) ToAuthenticationRuleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthenticationRuleOutput) } +func (i AuthenticationRuleArgs) ToOutput(ctx context.Context) pulumix.Output[AuthenticationRule] { + return pulumix.Output[AuthenticationRule]{ + OutputState: i.ToAuthenticationRuleOutputWithContext(ctx).OutputState, + } +} + // AuthenticationRuleArrayInput is an input type that accepts AuthenticationRuleArray and AuthenticationRuleArrayOutput values. // You can construct a concrete instance of `AuthenticationRuleArrayInput` via: // @@ -1224,6 +1441,12 @@ func (i AuthenticationRuleArray) ToAuthenticationRuleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AuthenticationRuleArrayOutput) } +func (i AuthenticationRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]AuthenticationRule] { + return pulumix.Output[[]AuthenticationRule]{ + OutputState: i.ToAuthenticationRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored. type AuthenticationRuleOutput struct{ *pulumi.OutputState } @@ -1239,6 +1462,12 @@ func (o AuthenticationRuleOutput) ToAuthenticationRuleOutputWithContext(ctx cont return o } +func (o AuthenticationRuleOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticationRule] { + return pulumix.Output[AuthenticationRule]{ + OutputState: o.OutputState, + } +} + // If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests. func (o AuthenticationRuleOutput) AllowWithoutCredential() pulumi.BoolPtrOutput { return o.ApplyT(func(v AuthenticationRule) *bool { return v.AllowWithoutCredential }).(pulumi.BoolPtrOutput) @@ -1273,6 +1502,12 @@ func (o AuthenticationRuleArrayOutput) ToAuthenticationRuleArrayOutputWithContex return o } +func (o AuthenticationRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuthenticationRule] { + return pulumix.Output[[]AuthenticationRule]{ + OutputState: o.OutputState, + } +} + func (o AuthenticationRuleArrayOutput) Index(i pulumi.IntInput) AuthenticationRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthenticationRule { return vs[0].([]AuthenticationRule)[vs[1].(int)] @@ -1306,6 +1541,12 @@ func (o AuthenticationRuleResponseOutput) ToAuthenticationRuleResponseOutputWith return o } +func (o AuthenticationRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticationRuleResponse] { + return pulumix.Output[AuthenticationRuleResponse]{ + OutputState: o.OutputState, + } +} + // If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests. func (o AuthenticationRuleResponseOutput) AllowWithoutCredential() pulumi.BoolOutput { return o.ApplyT(func(v AuthenticationRuleResponse) bool { return v.AllowWithoutCredential }).(pulumi.BoolOutput) @@ -1340,6 +1581,12 @@ func (o AuthenticationRuleResponseArrayOutput) ToAuthenticationRuleResponseArray return o } +func (o AuthenticationRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuthenticationRuleResponse] { + return pulumix.Output[[]AuthenticationRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o AuthenticationRuleResponseArrayOutput) Index(i pulumi.IntInput) AuthenticationRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthenticationRuleResponse { return vs[0].([]AuthenticationRuleResponse)[vs[1].(int)] @@ -1381,6 +1628,12 @@ func (i BackendArgs) ToBackendOutputWithContext(ctx context.Context) BackendOutp return pulumi.ToOutputWithContext(ctx, i).(BackendOutput) } +func (i BackendArgs) ToOutput(ctx context.Context) pulumix.Output[Backend] { + return pulumix.Output[Backend]{ + OutputState: i.ToBackendOutputWithContext(ctx).OutputState, + } +} + func (i BackendArgs) ToBackendPtrOutput() BackendPtrOutput { return i.ToBackendPtrOutputWithContext(context.Background()) } @@ -1422,6 +1675,12 @@ func (i *backendPtrType) ToBackendPtrOutputWithContext(ctx context.Context) Back return pulumi.ToOutputWithContext(ctx, i).(BackendPtrOutput) } +func (i *backendPtrType) ToOutput(ctx context.Context) pulumix.Output[*Backend] { + return pulumix.Output[*Backend]{ + OutputState: i.ToBackendPtrOutputWithContext(ctx).OutputState, + } +} + // `Backend` defines the backend configuration for a service. type BackendOutput struct{ *pulumi.OutputState } @@ -1447,6 +1706,12 @@ func (o BackendOutput) ToBackendPtrOutputWithContext(ctx context.Context) Backen }).(BackendPtrOutput) } +func (o BackendOutput) ToOutput(ctx context.Context) pulumix.Output[Backend] { + return pulumix.Output[Backend]{ + OutputState: o.OutputState, + } +} + // A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. func (o BackendOutput) Rules() BackendRuleArrayOutput { return o.ApplyT(func(v Backend) []BackendRule { return v.Rules }).(BackendRuleArrayOutput) @@ -1466,6 +1731,12 @@ func (o BackendPtrOutput) ToBackendPtrOutputWithContext(ctx context.Context) Bac return o } +func (o BackendPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Backend] { + return pulumix.Output[*Backend]{ + OutputState: o.OutputState, + } +} + func (o BackendPtrOutput) Elem() BackendOutput { return o.ApplyT(func(v *Backend) Backend { if v != nil { @@ -1507,6 +1778,12 @@ func (o BackendResponseOutput) ToBackendResponseOutputWithContext(ctx context.Co return o } +func (o BackendResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendResponse] { + return pulumix.Output[BackendResponse]{ + OutputState: o.OutputState, + } +} + // A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. func (o BackendResponseOutput) Rules() BackendRuleResponseArrayOutput { return o.ApplyT(func(v BackendResponse) []BackendRuleResponse { return v.Rules }).(BackendRuleResponseArrayOutput) @@ -1585,6 +1862,12 @@ func (i BackendRuleArgs) ToBackendRuleOutputWithContext(ctx context.Context) Bac return pulumi.ToOutputWithContext(ctx, i).(BackendRuleOutput) } +func (i BackendRuleArgs) ToOutput(ctx context.Context) pulumix.Output[BackendRule] { + return pulumix.Output[BackendRule]{ + OutputState: i.ToBackendRuleOutputWithContext(ctx).OutputState, + } +} + // BackendRuleArrayInput is an input type that accepts BackendRuleArray and BackendRuleArrayOutput values. // You can construct a concrete instance of `BackendRuleArrayInput` via: // @@ -1610,6 +1893,12 @@ func (i BackendRuleArray) ToBackendRuleArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BackendRuleArrayOutput) } +func (i BackendRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendRule] { + return pulumix.Output[[]BackendRule]{ + OutputState: i.ToBackendRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A backend rule provides configuration for an individual API element. type BackendRuleOutput struct{ *pulumi.OutputState } @@ -1625,6 +1914,12 @@ func (o BackendRuleOutput) ToBackendRuleOutputWithContext(ctx context.Context) B return o } +func (o BackendRuleOutput) ToOutput(ctx context.Context) pulumix.Output[BackendRule] { + return pulumix.Output[BackendRule]{ + OutputState: o.OutputState, + } +} + // The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version. func (o BackendRuleOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendRule) *string { return v.Address }).(pulumi.StringPtrOutput) @@ -1690,6 +1985,12 @@ func (o BackendRuleArrayOutput) ToBackendRuleArrayOutputWithContext(ctx context. return o } +func (o BackendRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendRule] { + return pulumix.Output[[]BackendRule]{ + OutputState: o.OutputState, + } +} + func (o BackendRuleArrayOutput) Index(i pulumi.IntInput) BackendRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendRule { return vs[0].([]BackendRule)[vs[1].(int)] @@ -1736,6 +2037,12 @@ func (o BackendRuleResponseOutput) ToBackendRuleResponseOutputWithContext(ctx co return o } +func (o BackendRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackendRuleResponse] { + return pulumix.Output[BackendRuleResponse]{ + OutputState: o.OutputState, + } +} + // The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version. func (o BackendRuleResponseOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v BackendRuleResponse) string { return v.Address }).(pulumi.StringOutput) @@ -1801,6 +2108,12 @@ func (o BackendRuleResponseArrayOutput) ToBackendRuleResponseArrayOutputWithCont return o } +func (o BackendRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendRuleResponse] { + return pulumix.Output[[]BackendRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o BackendRuleResponseArrayOutput) Index(i pulumi.IntInput) BackendRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendRuleResponse { return vs[0].([]BackendRuleResponse)[vs[1].(int)] @@ -1842,6 +2155,12 @@ func (i BillingArgs) ToBillingOutputWithContext(ctx context.Context) BillingOutp return pulumi.ToOutputWithContext(ctx, i).(BillingOutput) } +func (i BillingArgs) ToOutput(ctx context.Context) pulumix.Output[Billing] { + return pulumix.Output[Billing]{ + OutputState: i.ToBillingOutputWithContext(ctx).OutputState, + } +} + func (i BillingArgs) ToBillingPtrOutput() BillingPtrOutput { return i.ToBillingPtrOutputWithContext(context.Background()) } @@ -1883,6 +2202,12 @@ func (i *billingPtrType) ToBillingPtrOutputWithContext(ctx context.Context) Bill return pulumi.ToOutputWithContext(ctx, i).(BillingPtrOutput) } +func (i *billingPtrType) ToOutput(ctx context.Context) pulumix.Output[*Billing] { + return pulumix.Output[*Billing]{ + OutputState: i.ToBillingPtrOutputWithContext(ctx).OutputState, + } +} + // Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count type BillingOutput struct{ *pulumi.OutputState } @@ -1908,6 +2233,12 @@ func (o BillingOutput) ToBillingPtrOutputWithContext(ctx context.Context) Billin }).(BillingPtrOutput) } +func (o BillingOutput) ToOutput(ctx context.Context) pulumix.Output[Billing] { + return pulumix.Output[Billing]{ + OutputState: o.OutputState, + } +} + // Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination. func (o BillingOutput) ConsumerDestinations() BillingDestinationArrayOutput { return o.ApplyT(func(v Billing) []BillingDestination { return v.ConsumerDestinations }).(BillingDestinationArrayOutput) @@ -1927,6 +2258,12 @@ func (o BillingPtrOutput) ToBillingPtrOutputWithContext(ctx context.Context) Bil return o } +func (o BillingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Billing] { + return pulumix.Output[*Billing]{ + OutputState: o.OutputState, + } +} + func (o BillingPtrOutput) Elem() BillingOutput { return o.ApplyT(func(v *Billing) Billing { if v != nil { @@ -1986,6 +2323,12 @@ func (i BillingDestinationArgs) ToBillingDestinationOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(BillingDestinationOutput) } +func (i BillingDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[BillingDestination] { + return pulumix.Output[BillingDestination]{ + OutputState: i.ToBillingDestinationOutputWithContext(ctx).OutputState, + } +} + // BillingDestinationArrayInput is an input type that accepts BillingDestinationArray and BillingDestinationArrayOutput values. // You can construct a concrete instance of `BillingDestinationArrayInput` via: // @@ -2011,6 +2354,12 @@ func (i BillingDestinationArray) ToBillingDestinationArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BillingDestinationArrayOutput) } +func (i BillingDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]BillingDestination] { + return pulumix.Output[[]BillingDestination]{ + OutputState: i.ToBillingDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration of a specific billing destination (Currently only support bill against consumer project). type BillingDestinationOutput struct{ *pulumi.OutputState } @@ -2026,6 +2375,12 @@ func (o BillingDestinationOutput) ToBillingDestinationOutputWithContext(ctx cont return o } +func (o BillingDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[BillingDestination] { + return pulumix.Output[BillingDestination]{ + OutputState: o.OutputState, + } +} + // Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section. func (o BillingDestinationOutput) Metrics() pulumi.StringArrayOutput { return o.ApplyT(func(v BillingDestination) []string { return v.Metrics }).(pulumi.StringArrayOutput) @@ -2050,6 +2405,12 @@ func (o BillingDestinationArrayOutput) ToBillingDestinationArrayOutputWithContex return o } +func (o BillingDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BillingDestination] { + return pulumix.Output[[]BillingDestination]{ + OutputState: o.OutputState, + } +} + func (o BillingDestinationArrayOutput) Index(i pulumi.IntInput) BillingDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BillingDestination { return vs[0].([]BillingDestination)[vs[1].(int)] @@ -2079,6 +2440,12 @@ func (o BillingDestinationResponseOutput) ToBillingDestinationResponseOutputWith return o } +func (o BillingDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BillingDestinationResponse] { + return pulumix.Output[BillingDestinationResponse]{ + OutputState: o.OutputState, + } +} + // Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section. func (o BillingDestinationResponseOutput) Metrics() pulumi.StringArrayOutput { return o.ApplyT(func(v BillingDestinationResponse) []string { return v.Metrics }).(pulumi.StringArrayOutput) @@ -2103,6 +2470,12 @@ func (o BillingDestinationResponseArrayOutput) ToBillingDestinationResponseArray return o } +func (o BillingDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BillingDestinationResponse] { + return pulumix.Output[[]BillingDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o BillingDestinationResponseArrayOutput) Index(i pulumi.IntInput) BillingDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BillingDestinationResponse { return vs[0].([]BillingDestinationResponse)[vs[1].(int)] @@ -2130,6 +2503,12 @@ func (o BillingResponseOutput) ToBillingResponseOutputWithContext(ctx context.Co return o } +func (o BillingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BillingResponse] { + return pulumix.Output[BillingResponse]{ + OutputState: o.OutputState, + } +} + // Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination. func (o BillingResponseOutput) ConsumerDestinations() BillingDestinationResponseArrayOutput { return o.ApplyT(func(v BillingResponse) []BillingDestinationResponse { return v.ConsumerDestinations }).(BillingDestinationResponseArrayOutput) @@ -2178,6 +2557,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -2203,6 +2588,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -2218,6 +2609,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -2247,6 +2644,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -2278,6 +2681,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -2307,6 +2716,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -2388,6 +2803,12 @@ func (i ClientLibrarySettingsArgs) ToClientLibrarySettingsOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ClientLibrarySettingsOutput) } +func (i ClientLibrarySettingsArgs) ToOutput(ctx context.Context) pulumix.Output[ClientLibrarySettings] { + return pulumix.Output[ClientLibrarySettings]{ + OutputState: i.ToClientLibrarySettingsOutputWithContext(ctx).OutputState, + } +} + // ClientLibrarySettingsArrayInput is an input type that accepts ClientLibrarySettingsArray and ClientLibrarySettingsArrayOutput values. // You can construct a concrete instance of `ClientLibrarySettingsArrayInput` via: // @@ -2413,6 +2834,12 @@ func (i ClientLibrarySettingsArray) ToClientLibrarySettingsArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(ClientLibrarySettingsArrayOutput) } +func (i ClientLibrarySettingsArray) ToOutput(ctx context.Context) pulumix.Output[[]ClientLibrarySettings] { + return pulumix.Output[[]ClientLibrarySettings]{ + OutputState: i.ToClientLibrarySettingsArrayOutputWithContext(ctx).OutputState, + } +} + // Details about how and where to publish client libraries. type ClientLibrarySettingsOutput struct{ *pulumi.OutputState } @@ -2428,6 +2855,12 @@ func (o ClientLibrarySettingsOutput) ToClientLibrarySettingsOutputWithContext(ct return o } +func (o ClientLibrarySettingsOutput) ToOutput(ctx context.Context) pulumix.Output[ClientLibrarySettings] { + return pulumix.Output[ClientLibrarySettings]{ + OutputState: o.OutputState, + } +} + // Settings for C++ client libraries. func (o ClientLibrarySettingsOutput) CppSettings() CppSettingsPtrOutput { return o.ApplyT(func(v ClientLibrarySettings) *CppSettings { return v.CppSettings }).(CppSettingsPtrOutput) @@ -2497,6 +2930,12 @@ func (o ClientLibrarySettingsArrayOutput) ToClientLibrarySettingsArrayOutputWith return o } +func (o ClientLibrarySettingsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClientLibrarySettings] { + return pulumix.Output[[]ClientLibrarySettings]{ + OutputState: o.OutputState, + } +} + func (o ClientLibrarySettingsArrayOutput) Index(i pulumi.IntInput) ClientLibrarySettingsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClientLibrarySettings { return vs[0].([]ClientLibrarySettings)[vs[1].(int)] @@ -2544,6 +2983,12 @@ func (o ClientLibrarySettingsResponseOutput) ToClientLibrarySettingsResponseOutp return o } +func (o ClientLibrarySettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClientLibrarySettingsResponse] { + return pulumix.Output[ClientLibrarySettingsResponse]{ + OutputState: o.OutputState, + } +} + // Settings for C++ client libraries. func (o ClientLibrarySettingsResponseOutput) CppSettings() CppSettingsResponseOutput { return o.ApplyT(func(v ClientLibrarySettingsResponse) CppSettingsResponse { return v.CppSettings }).(CppSettingsResponseOutput) @@ -2613,6 +3058,12 @@ func (o ClientLibrarySettingsResponseArrayOutput) ToClientLibrarySettingsRespons return o } +func (o ClientLibrarySettingsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClientLibrarySettingsResponse] { + return pulumix.Output[[]ClientLibrarySettingsResponse]{ + OutputState: o.OutputState, + } +} + func (o ClientLibrarySettingsResponseArrayOutput) Index(i pulumi.IntInput) ClientLibrarySettingsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClientLibrarySettingsResponse { return vs[0].([]ClientLibrarySettingsResponse)[vs[1].(int)] @@ -2658,6 +3109,12 @@ func (i CommonLanguageSettingsArgs) ToCommonLanguageSettingsOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(CommonLanguageSettingsOutput) } +func (i CommonLanguageSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[CommonLanguageSettings] { + return pulumix.Output[CommonLanguageSettings]{ + OutputState: i.ToCommonLanguageSettingsOutputWithContext(ctx).OutputState, + } +} + func (i CommonLanguageSettingsArgs) ToCommonLanguageSettingsPtrOutput() CommonLanguageSettingsPtrOutput { return i.ToCommonLanguageSettingsPtrOutputWithContext(context.Background()) } @@ -2699,6 +3156,12 @@ func (i *commonLanguageSettingsPtrType) ToCommonLanguageSettingsPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(CommonLanguageSettingsPtrOutput) } +func (i *commonLanguageSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CommonLanguageSettings] { + return pulumix.Output[*CommonLanguageSettings]{ + OutputState: i.ToCommonLanguageSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Required information for every language. type CommonLanguageSettingsOutput struct{ *pulumi.OutputState } @@ -2724,6 +3187,12 @@ func (o CommonLanguageSettingsOutput) ToCommonLanguageSettingsPtrOutputWithConte }).(CommonLanguageSettingsPtrOutput) } +func (o CommonLanguageSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[CommonLanguageSettings] { + return pulumix.Output[CommonLanguageSettings]{ + OutputState: o.OutputState, + } +} + // The destination where API teams want this client library to be published. func (o CommonLanguageSettingsOutput) Destinations() CommonLanguageSettingsDestinationsItemArrayOutput { return o.ApplyT(func(v CommonLanguageSettings) []CommonLanguageSettingsDestinationsItem { return v.Destinations }).(CommonLanguageSettingsDestinationsItemArrayOutput) @@ -2748,6 +3217,12 @@ func (o CommonLanguageSettingsPtrOutput) ToCommonLanguageSettingsPtrOutputWithCo return o } +func (o CommonLanguageSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CommonLanguageSettings] { + return pulumix.Output[*CommonLanguageSettings]{ + OutputState: o.OutputState, + } +} + func (o CommonLanguageSettingsPtrOutput) Elem() CommonLanguageSettingsOutput { return o.ApplyT(func(v *CommonLanguageSettings) CommonLanguageSettings { if v != nil { @@ -2801,6 +3276,12 @@ func (o CommonLanguageSettingsResponseOutput) ToCommonLanguageSettingsResponseOu return o } +func (o CommonLanguageSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CommonLanguageSettingsResponse] { + return pulumix.Output[CommonLanguageSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The destination where API teams want this client library to be published. func (o CommonLanguageSettingsResponseOutput) Destinations() pulumi.StringArrayOutput { return o.ApplyT(func(v CommonLanguageSettingsResponse) []string { return v.Destinations }).(pulumi.StringArrayOutput) @@ -2846,6 +3327,12 @@ func (i ContextArgs) ToContextOutputWithContext(ctx context.Context) ContextOutp return pulumi.ToOutputWithContext(ctx, i).(ContextOutput) } +func (i ContextArgs) ToOutput(ctx context.Context) pulumix.Output[Context] { + return pulumix.Output[Context]{ + OutputState: i.ToContextOutputWithContext(ctx).OutputState, + } +} + func (i ContextArgs) ToContextPtrOutput() ContextPtrOutput { return i.ToContextPtrOutputWithContext(context.Background()) } @@ -2887,6 +3374,12 @@ func (i *contextPtrType) ToContextPtrOutputWithContext(ctx context.Context) Cont return pulumi.ToOutputWithContext(ctx, i).(ContextPtrOutput) } +func (i *contextPtrType) ToOutput(ctx context.Context) pulumix.Output[*Context] { + return pulumix.Output[*Context]{ + OutputState: i.ToContextPtrOutputWithContext(ctx).OutputState, + } +} + // `Context` defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here. type ContextOutput struct{ *pulumi.OutputState } @@ -2912,6 +3405,12 @@ func (o ContextOutput) ToContextPtrOutputWithContext(ctx context.Context) Contex }).(ContextPtrOutput) } +func (o ContextOutput) ToOutput(ctx context.Context) pulumix.Output[Context] { + return pulumix.Output[Context]{ + OutputState: o.OutputState, + } +} + // A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. func (o ContextOutput) Rules() ContextRuleArrayOutput { return o.ApplyT(func(v Context) []ContextRule { return v.Rules }).(ContextRuleArrayOutput) @@ -2931,6 +3430,12 @@ func (o ContextPtrOutput) ToContextPtrOutputWithContext(ctx context.Context) Con return o } +func (o ContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Context] { + return pulumix.Output[*Context]{ + OutputState: o.OutputState, + } +} + func (o ContextPtrOutput) Elem() ContextOutput { return o.ApplyT(func(v *Context) Context { if v != nil { @@ -2972,6 +3477,12 @@ func (o ContextResponseOutput) ToContextResponseOutputWithContext(ctx context.Co return o } +func (o ContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContextResponse] { + return pulumix.Output[ContextResponse]{ + OutputState: o.OutputState, + } +} + // A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. func (o ContextResponseOutput) Rules() ContextRuleResponseArrayOutput { return o.ApplyT(func(v ContextResponse) []ContextRuleResponse { return v.Rules }).(ContextRuleResponseArrayOutput) @@ -3028,6 +3539,12 @@ func (i ContextRuleArgs) ToContextRuleOutputWithContext(ctx context.Context) Con return pulumi.ToOutputWithContext(ctx, i).(ContextRuleOutput) } +func (i ContextRuleArgs) ToOutput(ctx context.Context) pulumix.Output[ContextRule] { + return pulumix.Output[ContextRule]{ + OutputState: i.ToContextRuleOutputWithContext(ctx).OutputState, + } +} + // ContextRuleArrayInput is an input type that accepts ContextRuleArray and ContextRuleArrayOutput values. // You can construct a concrete instance of `ContextRuleArrayInput` via: // @@ -3053,6 +3570,12 @@ func (i ContextRuleArray) ToContextRuleArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ContextRuleArrayOutput) } +func (i ContextRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]ContextRule] { + return pulumix.Output[[]ContextRule]{ + OutputState: i.ToContextRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A context rule provides information about the context for an individual API element. type ContextRuleOutput struct{ *pulumi.OutputState } @@ -3068,6 +3591,12 @@ func (o ContextRuleOutput) ToContextRuleOutputWithContext(ctx context.Context) C return o } +func (o ContextRuleOutput) ToOutput(ctx context.Context) pulumix.Output[ContextRule] { + return pulumix.Output[ContextRule]{ + OutputState: o.OutputState, + } +} + // A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. func (o ContextRuleOutput) AllowedRequestExtensions() pulumi.StringArrayOutput { return o.ApplyT(func(v ContextRule) []string { return v.AllowedRequestExtensions }).(pulumi.StringArrayOutput) @@ -3107,6 +3636,12 @@ func (o ContextRuleArrayOutput) ToContextRuleArrayOutputWithContext(ctx context. return o } +func (o ContextRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ContextRule] { + return pulumix.Output[[]ContextRule]{ + OutputState: o.OutputState, + } +} + func (o ContextRuleArrayOutput) Index(i pulumi.IntInput) ContextRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContextRule { return vs[0].([]ContextRule)[vs[1].(int)] @@ -3142,6 +3677,12 @@ func (o ContextRuleResponseOutput) ToContextRuleResponseOutputWithContext(ctx co return o } +func (o ContextRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContextRuleResponse] { + return pulumix.Output[ContextRuleResponse]{ + OutputState: o.OutputState, + } +} + // A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. func (o ContextRuleResponseOutput) AllowedRequestExtensions() pulumi.StringArrayOutput { return o.ApplyT(func(v ContextRuleResponse) []string { return v.AllowedRequestExtensions }).(pulumi.StringArrayOutput) @@ -3181,6 +3722,12 @@ func (o ContextRuleResponseArrayOutput) ToContextRuleResponseArrayOutputWithCont return o } +func (o ContextRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ContextRuleResponse] { + return pulumix.Output[[]ContextRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o ContextRuleResponseArrayOutput) Index(i pulumi.IntInput) ContextRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ContextRuleResponse { return vs[0].([]ContextRuleResponse)[vs[1].(int)] @@ -3222,6 +3769,12 @@ func (i ControlArgs) ToControlOutputWithContext(ctx context.Context) ControlOutp return pulumi.ToOutputWithContext(ctx, i).(ControlOutput) } +func (i ControlArgs) ToOutput(ctx context.Context) pulumix.Output[Control] { + return pulumix.Output[Control]{ + OutputState: i.ToControlOutputWithContext(ctx).OutputState, + } +} + func (i ControlArgs) ToControlPtrOutput() ControlPtrOutput { return i.ToControlPtrOutputWithContext(context.Background()) } @@ -3263,6 +3816,12 @@ func (i *controlPtrType) ToControlPtrOutputWithContext(ctx context.Context) Cont return pulumi.ToOutputWithContext(ctx, i).(ControlPtrOutput) } +func (i *controlPtrType) ToOutput(ctx context.Context) pulumix.Output[*Control] { + return pulumix.Output[*Control]{ + OutputState: i.ToControlPtrOutputWithContext(ctx).OutputState, + } +} + // Selects and configures the service controller used by the service. Example: control: environment: servicecontrol.googleapis.com type ControlOutput struct{ *pulumi.OutputState } @@ -3288,6 +3847,12 @@ func (o ControlOutput) ToControlPtrOutputWithContext(ctx context.Context) Contro }).(ControlPtrOutput) } +func (o ControlOutput) ToOutput(ctx context.Context) pulumix.Output[Control] { + return pulumix.Output[Control]{ + OutputState: o.OutputState, + } +} + // The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com func (o ControlOutput) Environment() pulumi.StringPtrOutput { return o.ApplyT(func(v Control) *string { return v.Environment }).(pulumi.StringPtrOutput) @@ -3307,6 +3872,12 @@ func (o ControlPtrOutput) ToControlPtrOutputWithContext(ctx context.Context) Con return o } +func (o ControlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Control] { + return pulumix.Output[*Control]{ + OutputState: o.OutputState, + } +} + func (o ControlPtrOutput) Elem() ControlOutput { return o.ApplyT(func(v *Control) Control { if v != nil { @@ -3348,6 +3919,12 @@ func (o ControlResponseOutput) ToControlResponseOutputWithContext(ctx context.Co return o } +func (o ControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ControlResponse] { + return pulumix.Output[ControlResponse]{ + OutputState: o.OutputState, + } +} + // The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com func (o ControlResponseOutput) Environment() pulumi.StringOutput { return o.ApplyT(func(v ControlResponse) string { return v.Environment }).(pulumi.StringOutput) @@ -3388,6 +3965,12 @@ func (i CppSettingsArgs) ToCppSettingsOutputWithContext(ctx context.Context) Cpp return pulumi.ToOutputWithContext(ctx, i).(CppSettingsOutput) } +func (i CppSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[CppSettings] { + return pulumix.Output[CppSettings]{ + OutputState: i.ToCppSettingsOutputWithContext(ctx).OutputState, + } +} + func (i CppSettingsArgs) ToCppSettingsPtrOutput() CppSettingsPtrOutput { return i.ToCppSettingsPtrOutputWithContext(context.Background()) } @@ -3429,6 +4012,12 @@ func (i *cppSettingsPtrType) ToCppSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(CppSettingsPtrOutput) } +func (i *cppSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*CppSettings] { + return pulumix.Output[*CppSettings]{ + OutputState: i.ToCppSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for C++ client libraries. type CppSettingsOutput struct{ *pulumi.OutputState } @@ -3454,6 +4043,12 @@ func (o CppSettingsOutput) ToCppSettingsPtrOutputWithContext(ctx context.Context }).(CppSettingsPtrOutput) } +func (o CppSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[CppSettings] { + return pulumix.Output[CppSettings]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o CppSettingsOutput) Common() CommonLanguageSettingsPtrOutput { return o.ApplyT(func(v CppSettings) *CommonLanguageSettings { return v.Common }).(CommonLanguageSettingsPtrOutput) @@ -3473,6 +4068,12 @@ func (o CppSettingsPtrOutput) ToCppSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o CppSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CppSettings] { + return pulumix.Output[*CppSettings]{ + OutputState: o.OutputState, + } +} + func (o CppSettingsPtrOutput) Elem() CppSettingsOutput { return o.ApplyT(func(v *CppSettings) CppSettings { if v != nil { @@ -3514,6 +4115,12 @@ func (o CppSettingsResponseOutput) ToCppSettingsResponseOutputWithContext(ctx co return o } +func (o CppSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CppSettingsResponse] { + return pulumix.Output[CppSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o CppSettingsResponseOutput) Common() CommonLanguageSettingsResponseOutput { return o.ApplyT(func(v CppSettingsResponse) CommonLanguageSettingsResponse { return v.Common }).(CommonLanguageSettingsResponseOutput) @@ -3558,6 +4165,12 @@ func (i CustomErrorArgs) ToCustomErrorOutputWithContext(ctx context.Context) Cus return pulumi.ToOutputWithContext(ctx, i).(CustomErrorOutput) } +func (i CustomErrorArgs) ToOutput(ctx context.Context) pulumix.Output[CustomError] { + return pulumix.Output[CustomError]{ + OutputState: i.ToCustomErrorOutputWithContext(ctx).OutputState, + } +} + func (i CustomErrorArgs) ToCustomErrorPtrOutput() CustomErrorPtrOutput { return i.ToCustomErrorPtrOutputWithContext(context.Background()) } @@ -3599,6 +4212,12 @@ func (i *customErrorPtrType) ToCustomErrorPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(CustomErrorPtrOutput) } +func (i *customErrorPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomError] { + return pulumix.Output[*CustomError]{ + OutputState: i.ToCustomErrorPtrOutputWithContext(ctx).OutputState, + } +} + // Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError type CustomErrorOutput struct{ *pulumi.OutputState } @@ -3624,6 +4243,12 @@ func (o CustomErrorOutput) ToCustomErrorPtrOutputWithContext(ctx context.Context }).(CustomErrorPtrOutput) } +func (o CustomErrorOutput) ToOutput(ctx context.Context) pulumix.Output[CustomError] { + return pulumix.Output[CustomError]{ + OutputState: o.OutputState, + } +} + // The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order. func (o CustomErrorOutput) Rules() CustomErrorRuleArrayOutput { return o.ApplyT(func(v CustomError) []CustomErrorRule { return v.Rules }).(CustomErrorRuleArrayOutput) @@ -3648,6 +4273,12 @@ func (o CustomErrorPtrOutput) ToCustomErrorPtrOutputWithContext(ctx context.Cont return o } +func (o CustomErrorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomError] { + return pulumix.Output[*CustomError]{ + OutputState: o.OutputState, + } +} + func (o CustomErrorPtrOutput) Elem() CustomErrorOutput { return o.ApplyT(func(v *CustomError) CustomError { if v != nil { @@ -3701,6 +4332,12 @@ func (o CustomErrorResponseOutput) ToCustomErrorResponseOutputWithContext(ctx co return o } +func (o CustomErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorResponse] { + return pulumix.Output[CustomErrorResponse]{ + OutputState: o.OutputState, + } +} + // The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order. func (o CustomErrorResponseOutput) Rules() CustomErrorRuleResponseArrayOutput { return o.ApplyT(func(v CustomErrorResponse) []CustomErrorRuleResponse { return v.Rules }).(CustomErrorRuleResponseArrayOutput) @@ -3750,6 +4387,12 @@ func (i CustomErrorRuleArgs) ToCustomErrorRuleOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(CustomErrorRuleOutput) } +func (i CustomErrorRuleArgs) ToOutput(ctx context.Context) pulumix.Output[CustomErrorRule] { + return pulumix.Output[CustomErrorRule]{ + OutputState: i.ToCustomErrorRuleOutputWithContext(ctx).OutputState, + } +} + // CustomErrorRuleArrayInput is an input type that accepts CustomErrorRuleArray and CustomErrorRuleArrayOutput values. // You can construct a concrete instance of `CustomErrorRuleArrayInput` via: // @@ -3775,6 +4418,12 @@ func (i CustomErrorRuleArray) ToCustomErrorRuleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(CustomErrorRuleArrayOutput) } +func (i CustomErrorRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]CustomErrorRule] { + return pulumix.Output[[]CustomErrorRule]{ + OutputState: i.ToCustomErrorRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A custom error rule. type CustomErrorRuleOutput struct{ *pulumi.OutputState } @@ -3790,6 +4439,12 @@ func (o CustomErrorRuleOutput) ToCustomErrorRuleOutputWithContext(ctx context.Co return o } +func (o CustomErrorRuleOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorRule] { + return pulumix.Output[CustomErrorRule]{ + OutputState: o.OutputState, + } +} + // Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. func (o CustomErrorRuleOutput) IsErrorType() pulumi.BoolPtrOutput { return o.ApplyT(func(v CustomErrorRule) *bool { return v.IsErrorType }).(pulumi.BoolPtrOutput) @@ -3814,6 +4469,12 @@ func (o CustomErrorRuleArrayOutput) ToCustomErrorRuleArrayOutputWithContext(ctx return o } +func (o CustomErrorRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomErrorRule] { + return pulumix.Output[[]CustomErrorRule]{ + OutputState: o.OutputState, + } +} + func (o CustomErrorRuleArrayOutput) Index(i pulumi.IntInput) CustomErrorRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomErrorRule { return vs[0].([]CustomErrorRule)[vs[1].(int)] @@ -3843,6 +4504,12 @@ func (o CustomErrorRuleResponseOutput) ToCustomErrorRuleResponseOutputWithContex return o } +func (o CustomErrorRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomErrorRuleResponse] { + return pulumix.Output[CustomErrorRuleResponse]{ + OutputState: o.OutputState, + } +} + // Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. func (o CustomErrorRuleResponseOutput) IsErrorType() pulumi.BoolOutput { return o.ApplyT(func(v CustomErrorRuleResponse) bool { return v.IsErrorType }).(pulumi.BoolOutput) @@ -3867,6 +4534,12 @@ func (o CustomErrorRuleResponseArrayOutput) ToCustomErrorRuleResponseArrayOutput return o } +func (o CustomErrorRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CustomErrorRuleResponse] { + return pulumix.Output[[]CustomErrorRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o CustomErrorRuleResponseArrayOutput) Index(i pulumi.IntInput) CustomErrorRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomErrorRuleResponse { return vs[0].([]CustomErrorRuleResponse)[vs[1].(int)] @@ -3912,6 +4585,12 @@ func (i CustomHttpPatternArgs) ToCustomHttpPatternOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(CustomHttpPatternOutput) } +func (i CustomHttpPatternArgs) ToOutput(ctx context.Context) pulumix.Output[CustomHttpPattern] { + return pulumix.Output[CustomHttpPattern]{ + OutputState: i.ToCustomHttpPatternOutputWithContext(ctx).OutputState, + } +} + func (i CustomHttpPatternArgs) ToCustomHttpPatternPtrOutput() CustomHttpPatternPtrOutput { return i.ToCustomHttpPatternPtrOutputWithContext(context.Background()) } @@ -3953,6 +4632,12 @@ func (i *customHttpPatternPtrType) ToCustomHttpPatternPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(CustomHttpPatternPtrOutput) } +func (i *customHttpPatternPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomHttpPattern] { + return pulumix.Output[*CustomHttpPattern]{ + OutputState: i.ToCustomHttpPatternPtrOutputWithContext(ctx).OutputState, + } +} + // A custom pattern is used for defining custom HTTP verb. type CustomHttpPatternOutput struct{ *pulumi.OutputState } @@ -3978,6 +4663,12 @@ func (o CustomHttpPatternOutput) ToCustomHttpPatternPtrOutputWithContext(ctx con }).(CustomHttpPatternPtrOutput) } +func (o CustomHttpPatternOutput) ToOutput(ctx context.Context) pulumix.Output[CustomHttpPattern] { + return pulumix.Output[CustomHttpPattern]{ + OutputState: o.OutputState, + } +} + // The name of this custom HTTP verb. func (o CustomHttpPatternOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v CustomHttpPattern) *string { return v.Kind }).(pulumi.StringPtrOutput) @@ -4002,6 +4693,12 @@ func (o CustomHttpPatternPtrOutput) ToCustomHttpPatternPtrOutputWithContext(ctx return o } +func (o CustomHttpPatternPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomHttpPattern] { + return pulumix.Output[*CustomHttpPattern]{ + OutputState: o.OutputState, + } +} + func (o CustomHttpPatternPtrOutput) Elem() CustomHttpPatternOutput { return o.ApplyT(func(v *CustomHttpPattern) CustomHttpPattern { if v != nil { @@ -4055,6 +4752,12 @@ func (o CustomHttpPatternResponseOutput) ToCustomHttpPatternResponseOutputWithCo return o } +func (o CustomHttpPatternResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomHttpPatternResponse] { + return pulumix.Output[CustomHttpPatternResponse]{ + OutputState: o.OutputState, + } +} + // The name of this custom HTTP verb. func (o CustomHttpPatternResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v CustomHttpPatternResponse) string { return v.Kind }).(pulumi.StringOutput) @@ -4096,6 +4799,12 @@ func (i DeleteServiceStrategyArgs) ToDeleteServiceStrategyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DeleteServiceStrategyOutput) } +func (i DeleteServiceStrategyArgs) ToOutput(ctx context.Context) pulumix.Output[DeleteServiceStrategy] { + return pulumix.Output[DeleteServiceStrategy]{ + OutputState: i.ToDeleteServiceStrategyOutputWithContext(ctx).OutputState, + } +} + func (i DeleteServiceStrategyArgs) ToDeleteServiceStrategyPtrOutput() DeleteServiceStrategyPtrOutput { return i.ToDeleteServiceStrategyPtrOutputWithContext(context.Background()) } @@ -4137,6 +4846,12 @@ func (i *deleteServiceStrategyPtrType) ToDeleteServiceStrategyPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DeleteServiceStrategyPtrOutput) } +func (i *deleteServiceStrategyPtrType) ToOutput(ctx context.Context) pulumix.Output[*DeleteServiceStrategy] { + return pulumix.Output[*DeleteServiceStrategy]{ + OutputState: i.ToDeleteServiceStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service. type DeleteServiceStrategyOutput struct{ *pulumi.OutputState } @@ -4162,6 +4877,12 @@ func (o DeleteServiceStrategyOutput) ToDeleteServiceStrategyPtrOutputWithContext }).(DeleteServiceStrategyPtrOutput) } +func (o DeleteServiceStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[DeleteServiceStrategy] { + return pulumix.Output[DeleteServiceStrategy]{ + OutputState: o.OutputState, + } +} + type DeleteServiceStrategyPtrOutput struct{ *pulumi.OutputState } func (DeleteServiceStrategyPtrOutput) ElementType() reflect.Type { @@ -4176,6 +4897,12 @@ func (o DeleteServiceStrategyPtrOutput) ToDeleteServiceStrategyPtrOutputWithCont return o } +func (o DeleteServiceStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DeleteServiceStrategy] { + return pulumix.Output[*DeleteServiceStrategy]{ + OutputState: o.OutputState, + } +} + func (o DeleteServiceStrategyPtrOutput) Elem() DeleteServiceStrategyOutput { return o.ApplyT(func(v *DeleteServiceStrategy) DeleteServiceStrategy { if v != nil { @@ -4205,6 +4932,12 @@ func (o DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponseOutp return o } +func (o DeleteServiceStrategyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeleteServiceStrategyResponse] { + return pulumix.Output[DeleteServiceStrategyResponse]{ + OutputState: o.OutputState, + } +} + // `Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. type Documentation struct { // The URL to the root of documentation. @@ -4260,6 +4993,12 @@ func (i DocumentationArgs) ToDocumentationOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DocumentationOutput) } +func (i DocumentationArgs) ToOutput(ctx context.Context) pulumix.Output[Documentation] { + return pulumix.Output[Documentation]{ + OutputState: i.ToDocumentationOutputWithContext(ctx).OutputState, + } +} + func (i DocumentationArgs) ToDocumentationPtrOutput() DocumentationPtrOutput { return i.ToDocumentationPtrOutputWithContext(context.Background()) } @@ -4301,6 +5040,12 @@ func (i *documentationPtrType) ToDocumentationPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DocumentationPtrOutput) } +func (i *documentationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Documentation] { + return pulumix.Output[*Documentation]{ + OutputState: i.ToDocumentationPtrOutputWithContext(ctx).OutputState, + } +} + // `Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. type DocumentationOutput struct{ *pulumi.OutputState } @@ -4326,6 +5071,12 @@ func (o DocumentationOutput) ToDocumentationPtrOutputWithContext(ctx context.Con }).(DocumentationPtrOutput) } +func (o DocumentationOutput) ToOutput(ctx context.Context) pulumix.Output[Documentation] { + return pulumix.Output[Documentation]{ + OutputState: o.OutputState, + } +} + // The URL to the root of documentation. func (o DocumentationOutput) DocumentationRootUrl() pulumi.StringPtrOutput { return o.ApplyT(func(v Documentation) *string { return v.DocumentationRootUrl }).(pulumi.StringPtrOutput) @@ -4370,6 +5121,12 @@ func (o DocumentationPtrOutput) ToDocumentationPtrOutputWithContext(ctx context. return o } +func (o DocumentationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Documentation] { + return pulumix.Output[*Documentation]{ + OutputState: o.OutputState, + } +} + func (o DocumentationPtrOutput) Elem() DocumentationOutput { return o.ApplyT(func(v *Documentation) Documentation { if v != nil { @@ -4471,6 +5228,12 @@ func (o DocumentationResponseOutput) ToDocumentationResponseOutputWithContext(ct return o } +func (o DocumentationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentationResponse] { + return pulumix.Output[DocumentationResponse]{ + OutputState: o.OutputState, + } +} + // The URL to the root of documentation. func (o DocumentationResponseOutput) DocumentationRootUrl() pulumi.StringOutput { return o.ApplyT(func(v DocumentationResponse) string { return v.DocumentationRootUrl }).(pulumi.StringOutput) @@ -4548,6 +5311,12 @@ func (i DocumentationRuleArgs) ToDocumentationRuleOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(DocumentationRuleOutput) } +func (i DocumentationRuleArgs) ToOutput(ctx context.Context) pulumix.Output[DocumentationRule] { + return pulumix.Output[DocumentationRule]{ + OutputState: i.ToDocumentationRuleOutputWithContext(ctx).OutputState, + } +} + // DocumentationRuleArrayInput is an input type that accepts DocumentationRuleArray and DocumentationRuleArrayOutput values. // You can construct a concrete instance of `DocumentationRuleArrayInput` via: // @@ -4573,6 +5342,12 @@ func (i DocumentationRuleArray) ToDocumentationRuleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DocumentationRuleArrayOutput) } +func (i DocumentationRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]DocumentationRule] { + return pulumix.Output[[]DocumentationRule]{ + OutputState: i.ToDocumentationRuleArrayOutputWithContext(ctx).OutputState, + } +} + // A documentation rule provides information about individual API elements. type DocumentationRuleOutput struct{ *pulumi.OutputState } @@ -4588,6 +5363,12 @@ func (o DocumentationRuleOutput) ToDocumentationRuleOutputWithContext(ctx contex return o } +func (o DocumentationRuleOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentationRule] { + return pulumix.Output[DocumentationRule]{ + OutputState: o.OutputState, + } +} + // Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. func (o DocumentationRuleOutput) DeprecationDescription() pulumi.StringPtrOutput { return o.ApplyT(func(v DocumentationRule) *string { return v.DeprecationDescription }).(pulumi.StringPtrOutput) @@ -4622,6 +5403,12 @@ func (o DocumentationRuleArrayOutput) ToDocumentationRuleArrayOutputWithContext( return o } +func (o DocumentationRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DocumentationRule] { + return pulumix.Output[[]DocumentationRule]{ + OutputState: o.OutputState, + } +} + func (o DocumentationRuleArrayOutput) Index(i pulumi.IntInput) DocumentationRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DocumentationRule { return vs[0].([]DocumentationRule)[vs[1].(int)] @@ -4655,6 +5442,12 @@ func (o DocumentationRuleResponseOutput) ToDocumentationRuleResponseOutputWithCo return o } +func (o DocumentationRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DocumentationRuleResponse] { + return pulumix.Output[DocumentationRuleResponse]{ + OutputState: o.OutputState, + } +} + // Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. func (o DocumentationRuleResponseOutput) DeprecationDescription() pulumi.StringOutput { return o.ApplyT(func(v DocumentationRuleResponse) string { return v.DeprecationDescription }).(pulumi.StringOutput) @@ -4689,6 +5482,12 @@ func (o DocumentationRuleResponseArrayOutput) ToDocumentationRuleResponseArrayOu return o } +func (o DocumentationRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DocumentationRuleResponse] { + return pulumix.Output[[]DocumentationRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o DocumentationRuleResponseArrayOutput) Index(i pulumi.IntInput) DocumentationRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DocumentationRuleResponse { return vs[0].([]DocumentationRuleResponse)[vs[1].(int)] @@ -4750,6 +5549,12 @@ func (i DotnetSettingsArgs) ToDotnetSettingsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(DotnetSettingsOutput) } +func (i DotnetSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[DotnetSettings] { + return pulumix.Output[DotnetSettings]{ + OutputState: i.ToDotnetSettingsOutputWithContext(ctx).OutputState, + } +} + func (i DotnetSettingsArgs) ToDotnetSettingsPtrOutput() DotnetSettingsPtrOutput { return i.ToDotnetSettingsPtrOutputWithContext(context.Background()) } @@ -4791,6 +5596,12 @@ func (i *dotnetSettingsPtrType) ToDotnetSettingsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DotnetSettingsPtrOutput) } +func (i *dotnetSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DotnetSettings] { + return pulumix.Output[*DotnetSettings]{ + OutputState: i.ToDotnetSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for Dotnet client libraries. type DotnetSettingsOutput struct{ *pulumi.OutputState } @@ -4816,6 +5627,12 @@ func (o DotnetSettingsOutput) ToDotnetSettingsPtrOutputWithContext(ctx context.C }).(DotnetSettingsPtrOutput) } +func (o DotnetSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[DotnetSettings] { + return pulumix.Output[DotnetSettings]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o DotnetSettingsOutput) Common() CommonLanguageSettingsPtrOutput { return o.ApplyT(func(v DotnetSettings) *CommonLanguageSettings { return v.Common }).(CommonLanguageSettingsPtrOutput) @@ -4860,6 +5677,12 @@ func (o DotnetSettingsPtrOutput) ToDotnetSettingsPtrOutputWithContext(ctx contex return o } +func (o DotnetSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DotnetSettings] { + return pulumix.Output[*DotnetSettings]{ + OutputState: o.OutputState, + } +} + func (o DotnetSettingsPtrOutput) Elem() DotnetSettingsOutput { return o.ApplyT(func(v *DotnetSettings) DotnetSettings { if v != nil { @@ -4961,6 +5784,12 @@ func (o DotnetSettingsResponseOutput) ToDotnetSettingsResponseOutputWithContext( return o } +func (o DotnetSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DotnetSettingsResponse] { + return pulumix.Output[DotnetSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o DotnetSettingsResponseOutput) Common() CommonLanguageSettingsResponseOutput { return o.ApplyT(func(v DotnetSettingsResponse) CommonLanguageSettingsResponse { return v.Common }).(CommonLanguageSettingsResponseOutput) @@ -5042,6 +5871,12 @@ func (i EndpointArgs) ToEndpointOutputWithContext(ctx context.Context) EndpointO return pulumi.ToOutputWithContext(ctx, i).(EndpointOutput) } +func (i EndpointArgs) ToOutput(ctx context.Context) pulumix.Output[Endpoint] { + return pulumix.Output[Endpoint]{ + OutputState: i.ToEndpointOutputWithContext(ctx).OutputState, + } +} + // EndpointArrayInput is an input type that accepts EndpointArray and EndpointArrayOutput values. // You can construct a concrete instance of `EndpointArrayInput` via: // @@ -5067,6 +5902,12 @@ func (i EndpointArray) ToEndpointArrayOutputWithContext(ctx context.Context) End return pulumi.ToOutputWithContext(ctx, i).(EndpointArrayOutput) } +func (i EndpointArray) ToOutput(ctx context.Context) pulumix.Output[[]Endpoint] { + return pulumix.Output[[]Endpoint]{ + OutputState: i.ToEndpointArrayOutputWithContext(ctx).OutputState, + } +} + // `Endpoint` describes a network address of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example: type: google.api.Service name: library-example.googleapis.com endpoints: # Declares network address `https://library-example.googleapis.com` # for service `library-example.googleapis.com`. The `https` scheme # is implicit for all service endpoints. Other schemes may be # supported in the future. - name: library-example.googleapis.com allow_cors: false - name: content-staging-library-example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API frontend, for it # to decide whether the subsequent cross-origin request is allowed # to proceed. allow_cors: true type EndpointOutput struct{ *pulumi.OutputState } @@ -5082,6 +5923,12 @@ func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) Endpoin return o } +func (o EndpointOutput) ToOutput(ctx context.Context) pulumix.Output[Endpoint] { + return pulumix.Output[Endpoint]{ + OutputState: o.OutputState, + } +} + // Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on. // // Deprecated: Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on. @@ -5118,6 +5965,12 @@ func (o EndpointArrayOutput) ToEndpointArrayOutputWithContext(ctx context.Contex return o } +func (o EndpointArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Endpoint] { + return pulumix.Output[[]Endpoint]{ + OutputState: o.OutputState, + } +} + func (o EndpointArrayOutput) Index(i pulumi.IntInput) EndpointOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Endpoint { return vs[0].([]Endpoint)[vs[1].(int)] @@ -5153,6 +6006,12 @@ func (o EndpointResponseOutput) ToEndpointResponseOutputWithContext(ctx context. return o } +func (o EndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EndpointResponse] { + return pulumix.Output[EndpointResponse]{ + OutputState: o.OutputState, + } +} + // Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on. // // Deprecated: Unimplemented. Dot not use. DEPRECATED: This field is no longer supported. Instead of using aliases, please specify multiple google.api.Endpoint for each of the intended aliases. Additional names that this endpoint will be hosted on. @@ -5189,6 +6048,12 @@ func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutputWithContext(ct return o } +func (o EndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EndpointResponse] { + return pulumix.Output[[]EndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o EndpointResponseArrayOutput) Index(i pulumi.IntInput) EndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EndpointResponse { return vs[0].([]EndpointResponse)[vs[1].(int)] @@ -5250,6 +6115,12 @@ func (i EnumArgs) ToEnumOutputWithContext(ctx context.Context) EnumOutput { return pulumi.ToOutputWithContext(ctx, i).(EnumOutput) } +func (i EnumArgs) ToOutput(ctx context.Context) pulumix.Output[Enum] { + return pulumix.Output[Enum]{ + OutputState: i.ToEnumOutputWithContext(ctx).OutputState, + } +} + // EnumArrayInput is an input type that accepts EnumArray and EnumArrayOutput values. // You can construct a concrete instance of `EnumArrayInput` via: // @@ -5275,6 +6146,12 @@ func (i EnumArray) ToEnumArrayOutputWithContext(ctx context.Context) EnumArrayOu return pulumi.ToOutputWithContext(ctx, i).(EnumArrayOutput) } +func (i EnumArray) ToOutput(ctx context.Context) pulumix.Output[[]Enum] { + return pulumix.Output[[]Enum]{ + OutputState: i.ToEnumArrayOutputWithContext(ctx).OutputState, + } +} + // Enum type definition. type EnumOutput struct{ *pulumi.OutputState } @@ -5290,6 +6167,12 @@ func (o EnumOutput) ToEnumOutputWithContext(ctx context.Context) EnumOutput { return o } +func (o EnumOutput) ToOutput(ctx context.Context) pulumix.Output[Enum] { + return pulumix.Output[Enum]{ + OutputState: o.OutputState, + } +} + // The source edition string, only valid when syntax is SYNTAX_EDITIONS. func (o EnumOutput) Edition() pulumi.StringPtrOutput { return o.ApplyT(func(v Enum) *string { return v.Edition }).(pulumi.StringPtrOutput) @@ -5334,6 +6217,12 @@ func (o EnumArrayOutput) ToEnumArrayOutputWithContext(ctx context.Context) EnumA return o } +func (o EnumArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Enum] { + return pulumix.Output[[]Enum]{ + OutputState: o.OutputState, + } +} + func (o EnumArrayOutput) Index(i pulumi.IntInput) EnumOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Enum { return vs[0].([]Enum)[vs[1].(int)] @@ -5371,6 +6260,12 @@ func (o EnumResponseOutput) ToEnumResponseOutputWithContext(ctx context.Context) return o } +func (o EnumResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnumResponse] { + return pulumix.Output[EnumResponse]{ + OutputState: o.OutputState, + } +} + // The source edition string, only valid when syntax is SYNTAX_EDITIONS. func (o EnumResponseOutput) Edition() pulumi.StringOutput { return o.ApplyT(func(v EnumResponse) string { return v.Edition }).(pulumi.StringOutput) @@ -5415,6 +6310,12 @@ func (o EnumResponseArrayOutput) ToEnumResponseArrayOutputWithContext(ctx contex return o } +func (o EnumResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnumResponse] { + return pulumix.Output[[]EnumResponse]{ + OutputState: o.OutputState, + } +} + func (o EnumResponseArrayOutput) Index(i pulumi.IntInput) EnumResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnumResponse { return vs[0].([]EnumResponse)[vs[1].(int)] @@ -5464,6 +6365,12 @@ func (i EnumValueArgs) ToEnumValueOutputWithContext(ctx context.Context) EnumVal return pulumi.ToOutputWithContext(ctx, i).(EnumValueOutput) } +func (i EnumValueArgs) ToOutput(ctx context.Context) pulumix.Output[EnumValue] { + return pulumix.Output[EnumValue]{ + OutputState: i.ToEnumValueOutputWithContext(ctx).OutputState, + } +} + // EnumValueArrayInput is an input type that accepts EnumValueArray and EnumValueArrayOutput values. // You can construct a concrete instance of `EnumValueArrayInput` via: // @@ -5489,6 +6396,12 @@ func (i EnumValueArray) ToEnumValueArrayOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(EnumValueArrayOutput) } +func (i EnumValueArray) ToOutput(ctx context.Context) pulumix.Output[[]EnumValue] { + return pulumix.Output[[]EnumValue]{ + OutputState: i.ToEnumValueArrayOutputWithContext(ctx).OutputState, + } +} + // Enum value definition. type EnumValueOutput struct{ *pulumi.OutputState } @@ -5504,6 +6417,12 @@ func (o EnumValueOutput) ToEnumValueOutputWithContext(ctx context.Context) EnumV return o } +func (o EnumValueOutput) ToOutput(ctx context.Context) pulumix.Output[EnumValue] { + return pulumix.Output[EnumValue]{ + OutputState: o.OutputState, + } +} + // Enum value name. func (o EnumValueOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v EnumValue) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -5533,6 +6452,12 @@ func (o EnumValueArrayOutput) ToEnumValueArrayOutputWithContext(ctx context.Cont return o } +func (o EnumValueArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnumValue] { + return pulumix.Output[[]EnumValue]{ + OutputState: o.OutputState, + } +} + func (o EnumValueArrayOutput) Index(i pulumi.IntInput) EnumValueOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnumValue { return vs[0].([]EnumValue)[vs[1].(int)] @@ -5564,6 +6489,12 @@ func (o EnumValueResponseOutput) ToEnumValueResponseOutputWithContext(ctx contex return o } +func (o EnumValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnumValueResponse] { + return pulumix.Output[EnumValueResponse]{ + OutputState: o.OutputState, + } +} + // Enum value name. func (o EnumValueResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v EnumValueResponse) string { return v.Name }).(pulumi.StringOutput) @@ -5593,6 +6524,12 @@ func (o EnumValueResponseArrayOutput) ToEnumValueResponseArrayOutputWithContext( return o } +func (o EnumValueResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnumValueResponse] { + return pulumix.Output[[]EnumValueResponse]{ + OutputState: o.OutputState, + } +} + func (o EnumValueResponseArrayOutput) Index(i pulumi.IntInput) EnumValueResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnumValueResponse { return vs[0].([]EnumValueResponse)[vs[1].(int)] @@ -5646,6 +6583,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -5687,6 +6630,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -5712,6 +6661,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -5746,6 +6701,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -5823,6 +6784,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -5914,6 +6881,12 @@ func (i FieldArgs) ToFieldOutputWithContext(ctx context.Context) FieldOutput { return pulumi.ToOutputWithContext(ctx, i).(FieldOutput) } +func (i FieldArgs) ToOutput(ctx context.Context) pulumix.Output[Field] { + return pulumix.Output[Field]{ + OutputState: i.ToFieldOutputWithContext(ctx).OutputState, + } +} + // FieldArrayInput is an input type that accepts FieldArray and FieldArrayOutput values. // You can construct a concrete instance of `FieldArrayInput` via: // @@ -5939,6 +6912,12 @@ func (i FieldArray) ToFieldArrayOutputWithContext(ctx context.Context) FieldArra return pulumi.ToOutputWithContext(ctx, i).(FieldArrayOutput) } +func (i FieldArray) ToOutput(ctx context.Context) pulumix.Output[[]Field] { + return pulumix.Output[[]Field]{ + OutputState: i.ToFieldArrayOutputWithContext(ctx).OutputState, + } +} + // A single field of a message type. type FieldOutput struct{ *pulumi.OutputState } @@ -5954,6 +6933,12 @@ func (o FieldOutput) ToFieldOutputWithContext(ctx context.Context) FieldOutput { return o } +func (o FieldOutput) ToOutput(ctx context.Context) pulumix.Output[Field] { + return pulumix.Output[Field]{ + OutputState: o.OutputState, + } +} + // The field cardinality. func (o FieldOutput) Cardinality() FieldCardinalityPtrOutput { return o.ApplyT(func(v Field) *FieldCardinality { return v.Cardinality }).(FieldCardinalityPtrOutput) @@ -6018,6 +7003,12 @@ func (o FieldArrayOutput) ToFieldArrayOutputWithContext(ctx context.Context) Fie return o } +func (o FieldArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Field] { + return pulumix.Output[[]Field]{ + OutputState: o.OutputState, + } +} + func (o FieldArrayOutput) Index(i pulumi.IntInput) FieldOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Field { return vs[0].([]Field)[vs[1].(int)] @@ -6063,6 +7054,12 @@ func (o FieldResponseOutput) ToFieldResponseOutputWithContext(ctx context.Contex return o } +func (o FieldResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FieldResponse] { + return pulumix.Output[FieldResponse]{ + OutputState: o.OutputState, + } +} + // The field cardinality. func (o FieldResponseOutput) Cardinality() pulumi.StringOutput { return o.ApplyT(func(v FieldResponse) string { return v.Cardinality }).(pulumi.StringOutput) @@ -6127,6 +7124,12 @@ func (o FieldResponseArrayOutput) ToFieldResponseArrayOutputWithContext(ctx cont return o } +func (o FieldResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FieldResponse] { + return pulumix.Output[[]FieldResponse]{ + OutputState: o.OutputState, + } +} + func (o FieldResponseArrayOutput) Index(i pulumi.IntInput) FieldResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FieldResponse { return vs[0].([]FieldResponse)[vs[1].(int)] @@ -6168,6 +7171,12 @@ func (i GoSettingsArgs) ToGoSettingsOutputWithContext(ctx context.Context) GoSet return pulumi.ToOutputWithContext(ctx, i).(GoSettingsOutput) } +func (i GoSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[GoSettings] { + return pulumix.Output[GoSettings]{ + OutputState: i.ToGoSettingsOutputWithContext(ctx).OutputState, + } +} + func (i GoSettingsArgs) ToGoSettingsPtrOutput() GoSettingsPtrOutput { return i.ToGoSettingsPtrOutputWithContext(context.Background()) } @@ -6209,6 +7218,12 @@ func (i *goSettingsPtrType) ToGoSettingsPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GoSettingsPtrOutput) } +func (i *goSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoSettings] { + return pulumix.Output[*GoSettings]{ + OutputState: i.ToGoSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for Go client libraries. type GoSettingsOutput struct{ *pulumi.OutputState } @@ -6234,6 +7249,12 @@ func (o GoSettingsOutput) ToGoSettingsPtrOutputWithContext(ctx context.Context) }).(GoSettingsPtrOutput) } +func (o GoSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[GoSettings] { + return pulumix.Output[GoSettings]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o GoSettingsOutput) Common() CommonLanguageSettingsPtrOutput { return o.ApplyT(func(v GoSettings) *CommonLanguageSettings { return v.Common }).(CommonLanguageSettingsPtrOutput) @@ -6253,6 +7274,12 @@ func (o GoSettingsPtrOutput) ToGoSettingsPtrOutputWithContext(ctx context.Contex return o } +func (o GoSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoSettings] { + return pulumix.Output[*GoSettings]{ + OutputState: o.OutputState, + } +} + func (o GoSettingsPtrOutput) Elem() GoSettingsOutput { return o.ApplyT(func(v *GoSettings) GoSettings { if v != nil { @@ -6294,6 +7321,12 @@ func (o GoSettingsResponseOutput) ToGoSettingsResponseOutputWithContext(ctx cont return o } +func (o GoSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoSettingsResponse] { + return pulumix.Output[GoSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o GoSettingsResponseOutput) Common() CommonLanguageSettingsResponseOutput { return o.ApplyT(func(v GoSettingsResponse) CommonLanguageSettingsResponse { return v.Common }).(CommonLanguageSettingsResponseOutput) @@ -6338,6 +7371,12 @@ func (i HttpArgs) ToHttpOutputWithContext(ctx context.Context) HttpOutput { return pulumi.ToOutputWithContext(ctx, i).(HttpOutput) } +func (i HttpArgs) ToOutput(ctx context.Context) pulumix.Output[Http] { + return pulumix.Output[Http]{ + OutputState: i.ToHttpOutputWithContext(ctx).OutputState, + } +} + func (i HttpArgs) ToHttpPtrOutput() HttpPtrOutput { return i.ToHttpPtrOutputWithContext(context.Background()) } @@ -6379,6 +7418,12 @@ func (i *httpPtrType) ToHttpPtrOutputWithContext(ctx context.Context) HttpPtrOut return pulumi.ToOutputWithContext(ctx, i).(HttpPtrOutput) } +func (i *httpPtrType) ToOutput(ctx context.Context) pulumix.Output[*Http] { + return pulumix.Output[*Http]{ + OutputState: i.ToHttpPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods. type HttpOutput struct{ *pulumi.OutputState } @@ -6404,6 +7449,12 @@ func (o HttpOutput) ToHttpPtrOutputWithContext(ctx context.Context) HttpPtrOutpu }).(HttpPtrOutput) } +func (o HttpOutput) ToOutput(ctx context.Context) pulumix.Output[Http] { + return pulumix.Output[Http]{ + OutputState: o.OutputState, + } +} + // When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches. func (o HttpOutput) FullyDecodeReservedExpansion() pulumi.BoolPtrOutput { return o.ApplyT(func(v Http) *bool { return v.FullyDecodeReservedExpansion }).(pulumi.BoolPtrOutput) @@ -6428,6 +7479,12 @@ func (o HttpPtrOutput) ToHttpPtrOutputWithContext(ctx context.Context) HttpPtrOu return o } +func (o HttpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Http] { + return pulumix.Output[*Http]{ + OutputState: o.OutputState, + } +} + func (o HttpPtrOutput) Elem() HttpOutput { return o.ApplyT(func(v *Http) Http { if v != nil { @@ -6481,6 +7538,12 @@ func (o HttpResponseOutput) ToHttpResponseOutputWithContext(ctx context.Context) return o } +func (o HttpResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpResponse] { + return pulumix.Output[HttpResponse]{ + OutputState: o.OutputState, + } +} + // When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches. func (o HttpResponseOutput) FullyDecodeReservedExpansion() pulumi.BoolOutput { return o.ApplyT(func(v HttpResponse) bool { return v.FullyDecodeReservedExpansion }).(pulumi.BoolOutput) @@ -6562,6 +7625,12 @@ func (i HttpRuleArgs) ToHttpRuleOutputWithContext(ctx context.Context) HttpRuleO return pulumi.ToOutputWithContext(ctx, i).(HttpRuleOutput) } +func (i HttpRuleArgs) ToOutput(ctx context.Context) pulumix.Output[HttpRule] { + return pulumix.Output[HttpRule]{ + OutputState: i.ToHttpRuleOutputWithContext(ctx).OutputState, + } +} + // HttpRuleArrayInput is an input type that accepts HttpRuleArray and HttpRuleArrayOutput values. // You can construct a concrete instance of `HttpRuleArrayInput` via: // @@ -6587,6 +7656,12 @@ func (i HttpRuleArray) ToHttpRuleArrayOutputWithContext(ctx context.Context) Htt return pulumi.ToOutputWithContext(ctx, i).(HttpRuleArrayOutput) } +func (i HttpRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]HttpRule] { + return pulumix.Output[[]HttpRule]{ + OutputState: i.ToHttpRuleArrayOutputWithContext(ctx).OutputState, + } +} + // # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature. type HttpRuleOutput struct{ *pulumi.OutputState } @@ -6602,6 +7677,12 @@ func (o HttpRuleOutput) ToHttpRuleOutputWithContext(ctx context.Context) HttpRul return o } +func (o HttpRuleOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRule] { + return pulumix.Output[HttpRule]{ + OutputState: o.OutputState, + } +} + // Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep). func (o HttpRuleOutput) AdditionalBindings() HttpRuleArrayOutput { return o.ApplyT(func(v HttpRule) []HttpRule { return v.AdditionalBindings }).(HttpRuleArrayOutput) @@ -6666,6 +7747,12 @@ func (o HttpRuleArrayOutput) ToHttpRuleArrayOutputWithContext(ctx context.Contex return o } +func (o HttpRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRule] { + return pulumix.Output[[]HttpRule]{ + OutputState: o.OutputState, + } +} + func (o HttpRuleArrayOutput) Index(i pulumi.IntInput) HttpRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRule { return vs[0].([]HttpRule)[vs[1].(int)] @@ -6711,6 +7798,12 @@ func (o HttpRuleResponseOutput) ToHttpRuleResponseOutputWithContext(ctx context. return o } +func (o HttpRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpRuleResponse] { + return pulumix.Output[HttpRuleResponse]{ + OutputState: o.OutputState, + } +} + // Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep). func (o HttpRuleResponseOutput) AdditionalBindings() HttpRuleResponseArrayOutput { return o.ApplyT(func(v HttpRuleResponse) []HttpRuleResponse { return v.AdditionalBindings }).(HttpRuleResponseArrayOutput) @@ -6775,6 +7868,12 @@ func (o HttpRuleResponseArrayOutput) ToHttpRuleResponseArrayOutputWithContext(ct return o } +func (o HttpRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]HttpRuleResponse] { + return pulumix.Output[[]HttpRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o HttpRuleResponseArrayOutput) Index(i pulumi.IntInput) HttpRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) HttpRuleResponse { return vs[0].([]HttpRuleResponse)[vs[1].(int)] @@ -6824,6 +7923,12 @@ func (i JavaSettingsArgs) ToJavaSettingsOutputWithContext(ctx context.Context) J return pulumi.ToOutputWithContext(ctx, i).(JavaSettingsOutput) } +func (i JavaSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[JavaSettings] { + return pulumix.Output[JavaSettings]{ + OutputState: i.ToJavaSettingsOutputWithContext(ctx).OutputState, + } +} + func (i JavaSettingsArgs) ToJavaSettingsPtrOutput() JavaSettingsPtrOutput { return i.ToJavaSettingsPtrOutputWithContext(context.Background()) } @@ -6865,6 +7970,12 @@ func (i *javaSettingsPtrType) ToJavaSettingsPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(JavaSettingsPtrOutput) } +func (i *javaSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*JavaSettings] { + return pulumix.Output[*JavaSettings]{ + OutputState: i.ToJavaSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for Java client libraries. type JavaSettingsOutput struct{ *pulumi.OutputState } @@ -6890,6 +8001,12 @@ func (o JavaSettingsOutput) ToJavaSettingsPtrOutputWithContext(ctx context.Conte }).(JavaSettingsPtrOutput) } +func (o JavaSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[JavaSettings] { + return pulumix.Output[JavaSettings]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o JavaSettingsOutput) Common() CommonLanguageSettingsPtrOutput { return o.ApplyT(func(v JavaSettings) *CommonLanguageSettings { return v.Common }).(CommonLanguageSettingsPtrOutput) @@ -6919,6 +8036,12 @@ func (o JavaSettingsPtrOutput) ToJavaSettingsPtrOutputWithContext(ctx context.Co return o } +func (o JavaSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JavaSettings] { + return pulumix.Output[*JavaSettings]{ + OutputState: o.OutputState, + } +} + func (o JavaSettingsPtrOutput) Elem() JavaSettingsOutput { return o.ApplyT(func(v *JavaSettings) JavaSettings { if v != nil { @@ -6984,6 +8107,12 @@ func (o JavaSettingsResponseOutput) ToJavaSettingsResponseOutputWithContext(ctx return o } +func (o JavaSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JavaSettingsResponse] { + return pulumix.Output[JavaSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o JavaSettingsResponseOutput) Common() CommonLanguageSettingsResponseOutput { return o.ApplyT(func(v JavaSettingsResponse) CommonLanguageSettingsResponse { return v.Common }).(CommonLanguageSettingsResponseOutput) @@ -7046,6 +8175,12 @@ func (i JwtLocationArgs) ToJwtLocationOutputWithContext(ctx context.Context) Jwt return pulumi.ToOutputWithContext(ctx, i).(JwtLocationOutput) } +func (i JwtLocationArgs) ToOutput(ctx context.Context) pulumix.Output[JwtLocation] { + return pulumix.Output[JwtLocation]{ + OutputState: i.ToJwtLocationOutputWithContext(ctx).OutputState, + } +} + // JwtLocationArrayInput is an input type that accepts JwtLocationArray and JwtLocationArrayOutput values. // You can construct a concrete instance of `JwtLocationArrayInput` via: // @@ -7071,6 +8206,12 @@ func (i JwtLocationArray) ToJwtLocationArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(JwtLocationArrayOutput) } +func (i JwtLocationArray) ToOutput(ctx context.Context) pulumix.Output[[]JwtLocation] { + return pulumix.Output[[]JwtLocation]{ + OutputState: i.ToJwtLocationArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies a location to extract JWT from an API request. type JwtLocationOutput struct{ *pulumi.OutputState } @@ -7086,6 +8227,12 @@ func (o JwtLocationOutput) ToJwtLocationOutputWithContext(ctx context.Context) J return o } +func (o JwtLocationOutput) ToOutput(ctx context.Context) pulumix.Output[JwtLocation] { + return pulumix.Output[JwtLocation]{ + OutputState: o.OutputState, + } +} + // Specifies cookie name to extract JWT token. func (o JwtLocationOutput) Cookie() pulumi.StringPtrOutput { return o.ApplyT(func(v JwtLocation) *string { return v.Cookie }).(pulumi.StringPtrOutput) @@ -7120,6 +8267,12 @@ func (o JwtLocationArrayOutput) ToJwtLocationArrayOutputWithContext(ctx context. return o } +func (o JwtLocationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JwtLocation] { + return pulumix.Output[[]JwtLocation]{ + OutputState: o.OutputState, + } +} + func (o JwtLocationArrayOutput) Index(i pulumi.IntInput) JwtLocationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JwtLocation { return vs[0].([]JwtLocation)[vs[1].(int)] @@ -7153,6 +8306,12 @@ func (o JwtLocationResponseOutput) ToJwtLocationResponseOutputWithContext(ctx co return o } +func (o JwtLocationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JwtLocationResponse] { + return pulumix.Output[JwtLocationResponse]{ + OutputState: o.OutputState, + } +} + // Specifies cookie name to extract JWT token. func (o JwtLocationResponseOutput) Cookie() pulumi.StringOutput { return o.ApplyT(func(v JwtLocationResponse) string { return v.Cookie }).(pulumi.StringOutput) @@ -7187,6 +8346,12 @@ func (o JwtLocationResponseArrayOutput) ToJwtLocationResponseArrayOutputWithCont return o } +func (o JwtLocationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]JwtLocationResponse] { + return pulumix.Output[[]JwtLocationResponse]{ + OutputState: o.OutputState, + } +} + func (o JwtLocationResponseArrayOutput) Index(i pulumi.IntInput) JwtLocationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) JwtLocationResponse { return vs[0].([]JwtLocationResponse)[vs[1].(int)] @@ -7236,6 +8401,12 @@ func (i LabelDescriptorArgs) ToLabelDescriptorOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(LabelDescriptorOutput) } +func (i LabelDescriptorArgs) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptor] { + return pulumix.Output[LabelDescriptor]{ + OutputState: i.ToLabelDescriptorOutputWithContext(ctx).OutputState, + } +} + // LabelDescriptorArrayInput is an input type that accepts LabelDescriptorArray and LabelDescriptorArrayOutput values. // You can construct a concrete instance of `LabelDescriptorArrayInput` via: // @@ -7261,6 +8432,12 @@ func (i LabelDescriptorArray) ToLabelDescriptorArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(LabelDescriptorArrayOutput) } +func (i LabelDescriptorArray) ToOutput(ctx context.Context) pulumix.Output[[]LabelDescriptor] { + return pulumix.Output[[]LabelDescriptor]{ + OutputState: i.ToLabelDescriptorArrayOutputWithContext(ctx).OutputState, + } +} + // A description of a label. type LabelDescriptorOutput struct{ *pulumi.OutputState } @@ -7276,6 +8453,12 @@ func (o LabelDescriptorOutput) ToLabelDescriptorOutputWithContext(ctx context.Co return o } +func (o LabelDescriptorOutput) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptor] { + return pulumix.Output[LabelDescriptor]{ + OutputState: o.OutputState, + } +} + // A human-readable description for the label. func (o LabelDescriptorOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v LabelDescriptor) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -7305,6 +8488,12 @@ func (o LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutputWithContext(ctx return o } +func (o LabelDescriptorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LabelDescriptor] { + return pulumix.Output[[]LabelDescriptor]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorArrayOutput) Index(i pulumi.IntInput) LabelDescriptorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LabelDescriptor { return vs[0].([]LabelDescriptor)[vs[1].(int)] @@ -7336,6 +8525,12 @@ func (o LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutputWithContex return o } +func (o LabelDescriptorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LabelDescriptorResponse] { + return pulumix.Output[LabelDescriptorResponse]{ + OutputState: o.OutputState, + } +} + // A human-readable description for the label. func (o LabelDescriptorResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LabelDescriptorResponse) string { return v.Description }).(pulumi.StringOutput) @@ -7365,6 +8560,12 @@ func (o LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutput return o } +func (o LabelDescriptorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LabelDescriptorResponse] { + return pulumix.Output[[]LabelDescriptorResponse]{ + OutputState: o.OutputState, + } +} + func (o LabelDescriptorResponseArrayOutput) Index(i pulumi.IntInput) LabelDescriptorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LabelDescriptorResponse { return vs[0].([]LabelDescriptorResponse)[vs[1].(int)] @@ -7418,6 +8619,12 @@ func (i LogDescriptorArgs) ToLogDescriptorOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LogDescriptorOutput) } +func (i LogDescriptorArgs) ToOutput(ctx context.Context) pulumix.Output[LogDescriptor] { + return pulumix.Output[LogDescriptor]{ + OutputState: i.ToLogDescriptorOutputWithContext(ctx).OutputState, + } +} + // LogDescriptorArrayInput is an input type that accepts LogDescriptorArray and LogDescriptorArrayOutput values. // You can construct a concrete instance of `LogDescriptorArrayInput` via: // @@ -7443,6 +8650,12 @@ func (i LogDescriptorArray) ToLogDescriptorArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(LogDescriptorArrayOutput) } +func (i LogDescriptorArray) ToOutput(ctx context.Context) pulumix.Output[[]LogDescriptor] { + return pulumix.Output[[]LogDescriptor]{ + OutputState: i.ToLogDescriptorArrayOutputWithContext(ctx).OutputState, + } +} + // A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer type LogDescriptorOutput struct{ *pulumi.OutputState } @@ -7458,6 +8671,12 @@ func (o LogDescriptorOutput) ToLogDescriptorOutputWithContext(ctx context.Contex return o } +func (o LogDescriptorOutput) ToOutput(ctx context.Context) pulumix.Output[LogDescriptor] { + return pulumix.Output[LogDescriptor]{ + OutputState: o.OutputState, + } +} + // A human-readable description of this log. This information appears in the documentation and can contain details. func (o LogDescriptorOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v LogDescriptor) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -7492,6 +8711,12 @@ func (o LogDescriptorArrayOutput) ToLogDescriptorArrayOutputWithContext(ctx cont return o } +func (o LogDescriptorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogDescriptor] { + return pulumix.Output[[]LogDescriptor]{ + OutputState: o.OutputState, + } +} + func (o LogDescriptorArrayOutput) Index(i pulumi.IntInput) LogDescriptorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogDescriptor { return vs[0].([]LogDescriptor)[vs[1].(int)] @@ -7525,6 +8750,12 @@ func (o LogDescriptorResponseOutput) ToLogDescriptorResponseOutputWithContext(ct return o } +func (o LogDescriptorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LogDescriptorResponse] { + return pulumix.Output[LogDescriptorResponse]{ + OutputState: o.OutputState, + } +} + // A human-readable description of this log. This information appears in the documentation and can contain details. func (o LogDescriptorResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LogDescriptorResponse) string { return v.Description }).(pulumi.StringOutput) @@ -7559,6 +8790,12 @@ func (o LogDescriptorResponseArrayOutput) ToLogDescriptorResponseArrayOutputWith return o } +func (o LogDescriptorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LogDescriptorResponse] { + return pulumix.Output[[]LogDescriptorResponse]{ + OutputState: o.OutputState, + } +} + func (o LogDescriptorResponseArrayOutput) Index(i pulumi.IntInput) LogDescriptorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LogDescriptorResponse { return vs[0].([]LogDescriptorResponse)[vs[1].(int)] @@ -7604,6 +8841,12 @@ func (i LoggingArgs) ToLoggingOutputWithContext(ctx context.Context) LoggingOutp return pulumi.ToOutputWithContext(ctx, i).(LoggingOutput) } +func (i LoggingArgs) ToOutput(ctx context.Context) pulumix.Output[Logging] { + return pulumix.Output[Logging]{ + OutputState: i.ToLoggingOutputWithContext(ctx).OutputState, + } +} + func (i LoggingArgs) ToLoggingPtrOutput() LoggingPtrOutput { return i.ToLoggingPtrOutputWithContext(context.Background()) } @@ -7645,6 +8888,12 @@ func (i *loggingPtrType) ToLoggingPtrOutputWithContext(ctx context.Context) Logg return pulumi.ToOutputWithContext(ctx, i).(LoggingPtrOutput) } +func (i *loggingPtrType) ToOutput(ctx context.Context) pulumix.Output[*Logging] { + return pulumix.Output[*Logging]{ + OutputState: i.ToLoggingPtrOutputWithContext(ctx).OutputState, + } +} + // Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history type LoggingOutput struct{ *pulumi.OutputState } @@ -7670,6 +8919,12 @@ func (o LoggingOutput) ToLoggingPtrOutputWithContext(ctx context.Context) Loggin }).(LoggingPtrOutput) } +func (o LoggingOutput) ToOutput(ctx context.Context) pulumix.Output[Logging] { + return pulumix.Output[Logging]{ + OutputState: o.OutputState, + } +} + // Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination. func (o LoggingOutput) ConsumerDestinations() LoggingDestinationArrayOutput { return o.ApplyT(func(v Logging) []LoggingDestination { return v.ConsumerDestinations }).(LoggingDestinationArrayOutput) @@ -7694,6 +8949,12 @@ func (o LoggingPtrOutput) ToLoggingPtrOutputWithContext(ctx context.Context) Log return o } +func (o LoggingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Logging] { + return pulumix.Output[*Logging]{ + OutputState: o.OutputState, + } +} + func (o LoggingPtrOutput) Elem() LoggingOutput { return o.ApplyT(func(v *Logging) Logging { if v != nil { @@ -7763,6 +9024,12 @@ func (i LoggingDestinationArgs) ToLoggingDestinationOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(LoggingDestinationOutput) } +func (i LoggingDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[LoggingDestination] { + return pulumix.Output[LoggingDestination]{ + OutputState: i.ToLoggingDestinationOutputWithContext(ctx).OutputState, + } +} + // LoggingDestinationArrayInput is an input type that accepts LoggingDestinationArray and LoggingDestinationArrayOutput values. // You can construct a concrete instance of `LoggingDestinationArrayInput` via: // @@ -7788,6 +9055,12 @@ func (i LoggingDestinationArray) ToLoggingDestinationArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(LoggingDestinationArrayOutput) } +func (i LoggingDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]LoggingDestination] { + return pulumix.Output[[]LoggingDestination]{ + OutputState: i.ToLoggingDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration of a specific logging destination (the producer project or the consumer project). type LoggingDestinationOutput struct{ *pulumi.OutputState } @@ -7803,6 +9076,12 @@ func (o LoggingDestinationOutput) ToLoggingDestinationOutputWithContext(ctx cont return o } +func (o LoggingDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingDestination] { + return pulumix.Output[LoggingDestination]{ + OutputState: o.OutputState, + } +} + // Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/". func (o LoggingDestinationOutput) Logs() pulumi.StringArrayOutput { return o.ApplyT(func(v LoggingDestination) []string { return v.Logs }).(pulumi.StringArrayOutput) @@ -7827,6 +9106,12 @@ func (o LoggingDestinationArrayOutput) ToLoggingDestinationArrayOutputWithContex return o } +func (o LoggingDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LoggingDestination] { + return pulumix.Output[[]LoggingDestination]{ + OutputState: o.OutputState, + } +} + func (o LoggingDestinationArrayOutput) Index(i pulumi.IntInput) LoggingDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoggingDestination { return vs[0].([]LoggingDestination)[vs[1].(int)] @@ -7856,6 +9141,12 @@ func (o LoggingDestinationResponseOutput) ToLoggingDestinationResponseOutputWith return o } +func (o LoggingDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingDestinationResponse] { + return pulumix.Output[LoggingDestinationResponse]{ + OutputState: o.OutputState, + } +} + // Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/". func (o LoggingDestinationResponseOutput) Logs() pulumi.StringArrayOutput { return o.ApplyT(func(v LoggingDestinationResponse) []string { return v.Logs }).(pulumi.StringArrayOutput) @@ -7880,6 +9171,12 @@ func (o LoggingDestinationResponseArrayOutput) ToLoggingDestinationResponseArray return o } +func (o LoggingDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LoggingDestinationResponse] { + return pulumix.Output[[]LoggingDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o LoggingDestinationResponseArrayOutput) Index(i pulumi.IntInput) LoggingDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoggingDestinationResponse { return vs[0].([]LoggingDestinationResponse)[vs[1].(int)] @@ -7909,6 +9206,12 @@ func (o LoggingResponseOutput) ToLoggingResponseOutputWithContext(ctx context.Co return o } +func (o LoggingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingResponse] { + return pulumix.Output[LoggingResponse]{ + OutputState: o.OutputState, + } +} + // Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination. func (o LoggingResponseOutput) ConsumerDestinations() LoggingDestinationResponseArrayOutput { return o.ApplyT(func(v LoggingResponse) []LoggingDestinationResponse { return v.ConsumerDestinations }).(LoggingDestinationResponseArrayOutput) @@ -7966,6 +9269,12 @@ func (i LongRunningArgs) ToLongRunningOutputWithContext(ctx context.Context) Lon return pulumi.ToOutputWithContext(ctx, i).(LongRunningOutput) } +func (i LongRunningArgs) ToOutput(ctx context.Context) pulumix.Output[LongRunning] { + return pulumix.Output[LongRunning]{ + OutputState: i.ToLongRunningOutputWithContext(ctx).OutputState, + } +} + func (i LongRunningArgs) ToLongRunningPtrOutput() LongRunningPtrOutput { return i.ToLongRunningPtrOutputWithContext(context.Background()) } @@ -8007,6 +9316,12 @@ func (i *longRunningPtrType) ToLongRunningPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(LongRunningPtrOutput) } +func (i *longRunningPtrType) ToOutput(ctx context.Context) pulumix.Output[*LongRunning] { + return pulumix.Output[*LongRunning]{ + OutputState: i.ToLongRunningPtrOutputWithContext(ctx).OutputState, + } +} + // Describes settings to use when generating API methods that use the long-running operation pattern. All default values below are from those used in the client library generators (e.g. [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). type LongRunningOutput struct{ *pulumi.OutputState } @@ -8032,6 +9347,12 @@ func (o LongRunningOutput) ToLongRunningPtrOutputWithContext(ctx context.Context }).(LongRunningPtrOutput) } +func (o LongRunningOutput) ToOutput(ctx context.Context) pulumix.Output[LongRunning] { + return pulumix.Output[LongRunning]{ + OutputState: o.OutputState, + } +} + // Initial delay after which the first poll request will be made. Default value: 5 seconds. func (o LongRunningOutput) InitialPollDelay() pulumi.StringPtrOutput { return o.ApplyT(func(v LongRunning) *string { return v.InitialPollDelay }).(pulumi.StringPtrOutput) @@ -8066,6 +9387,12 @@ func (o LongRunningPtrOutput) ToLongRunningPtrOutputWithContext(ctx context.Cont return o } +func (o LongRunningPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LongRunning] { + return pulumix.Output[*LongRunning]{ + OutputState: o.OutputState, + } +} + func (o LongRunningPtrOutput) Elem() LongRunningOutput { return o.ApplyT(func(v *LongRunning) LongRunning { if v != nil { @@ -8143,6 +9470,12 @@ func (o LongRunningResponseOutput) ToLongRunningResponseOutputWithContext(ctx co return o } +func (o LongRunningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LongRunningResponse] { + return pulumix.Output[LongRunningResponse]{ + OutputState: o.OutputState, + } +} + // Initial delay after which the first poll request will be made. Default value: 5 seconds. func (o LongRunningResponseOutput) InitialPollDelay() pulumi.StringOutput { return o.ApplyT(func(v LongRunningResponse) string { return v.InitialPollDelay }).(pulumi.StringOutput) @@ -8222,6 +9555,12 @@ func (i MethodArgs) ToMethodOutputWithContext(ctx context.Context) MethodOutput return pulumi.ToOutputWithContext(ctx, i).(MethodOutput) } +func (i MethodArgs) ToOutput(ctx context.Context) pulumix.Output[Method] { + return pulumix.Output[Method]{ + OutputState: i.ToMethodOutputWithContext(ctx).OutputState, + } +} + // MethodArrayInput is an input type that accepts MethodArray and MethodArrayOutput values. // You can construct a concrete instance of `MethodArrayInput` via: // @@ -8247,6 +9586,12 @@ func (i MethodArray) ToMethodArrayOutputWithContext(ctx context.Context) MethodA return pulumi.ToOutputWithContext(ctx, i).(MethodArrayOutput) } +func (i MethodArray) ToOutput(ctx context.Context) pulumix.Output[[]Method] { + return pulumix.Output[[]Method]{ + OutputState: i.ToMethodArrayOutputWithContext(ctx).OutputState, + } +} + // Method represents a method of an API interface. type MethodOutput struct{ *pulumi.OutputState } @@ -8262,6 +9607,12 @@ func (o MethodOutput) ToMethodOutputWithContext(ctx context.Context) MethodOutpu return o } +func (o MethodOutput) ToOutput(ctx context.Context) pulumix.Output[Method] { + return pulumix.Output[Method]{ + OutputState: o.OutputState, + } +} + // The simple name of this method. func (o MethodOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Method) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -8311,6 +9662,12 @@ func (o MethodArrayOutput) ToMethodArrayOutputWithContext(ctx context.Context) M return o } +func (o MethodArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Method] { + return pulumix.Output[[]Method]{ + OutputState: o.OutputState, + } +} + func (o MethodArrayOutput) Index(i pulumi.IntInput) MethodOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Method { return vs[0].([]Method)[vs[1].(int)] @@ -8350,6 +9707,12 @@ func (o MethodResponseOutput) ToMethodResponseOutputWithContext(ctx context.Cont return o } +func (o MethodResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MethodResponse] { + return pulumix.Output[MethodResponse]{ + OutputState: o.OutputState, + } +} + // The simple name of this method. func (o MethodResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v MethodResponse) string { return v.Name }).(pulumi.StringOutput) @@ -8399,6 +9762,12 @@ func (o MethodResponseArrayOutput) ToMethodResponseArrayOutputWithContext(ctx co return o } +func (o MethodResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MethodResponse] { + return pulumix.Output[[]MethodResponse]{ + OutputState: o.OutputState, + } +} + func (o MethodResponseArrayOutput) Index(i pulumi.IntInput) MethodResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MethodResponse { return vs[0].([]MethodResponse)[vs[1].(int)] @@ -8444,6 +9813,12 @@ func (i MethodSettingsArgs) ToMethodSettingsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MethodSettingsOutput) } +func (i MethodSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[MethodSettings] { + return pulumix.Output[MethodSettings]{ + OutputState: i.ToMethodSettingsOutputWithContext(ctx).OutputState, + } +} + // MethodSettingsArrayInput is an input type that accepts MethodSettingsArray and MethodSettingsArrayOutput values. // You can construct a concrete instance of `MethodSettingsArrayInput` via: // @@ -8469,6 +9844,12 @@ func (i MethodSettingsArray) ToMethodSettingsArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MethodSettingsArrayOutput) } +func (i MethodSettingsArray) ToOutput(ctx context.Context) pulumix.Output[[]MethodSettings] { + return pulumix.Output[[]MethodSettings]{ + OutputState: i.ToMethodSettingsArrayOutputWithContext(ctx).OutputState, + } +} + // Describes the generator configuration for a method. type MethodSettingsOutput struct{ *pulumi.OutputState } @@ -8484,6 +9865,12 @@ func (o MethodSettingsOutput) ToMethodSettingsOutputWithContext(ctx context.Cont return o } +func (o MethodSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[MethodSettings] { + return pulumix.Output[MethodSettings]{ + OutputState: o.OutputState, + } +} + // Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes func (o MethodSettingsOutput) LongRunning() LongRunningPtrOutput { return o.ApplyT(func(v MethodSettings) *LongRunning { return v.LongRunning }).(LongRunningPtrOutput) @@ -8508,6 +9895,12 @@ func (o MethodSettingsArrayOutput) ToMethodSettingsArrayOutputWithContext(ctx co return o } +func (o MethodSettingsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MethodSettings] { + return pulumix.Output[[]MethodSettings]{ + OutputState: o.OutputState, + } +} + func (o MethodSettingsArrayOutput) Index(i pulumi.IntInput) MethodSettingsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MethodSettings { return vs[0].([]MethodSettings)[vs[1].(int)] @@ -8537,6 +9930,12 @@ func (o MethodSettingsResponseOutput) ToMethodSettingsResponseOutputWithContext( return o } +func (o MethodSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MethodSettingsResponse] { + return pulumix.Output[MethodSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes func (o MethodSettingsResponseOutput) LongRunning() LongRunningResponseOutput { return o.ApplyT(func(v MethodSettingsResponse) LongRunningResponse { return v.LongRunning }).(LongRunningResponseOutput) @@ -8561,6 +9960,12 @@ func (o MethodSettingsResponseArrayOutput) ToMethodSettingsResponseArrayOutputWi return o } +func (o MethodSettingsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MethodSettingsResponse] { + return pulumix.Output[[]MethodSettingsResponse]{ + OutputState: o.OutputState, + } +} + func (o MethodSettingsResponseArrayOutput) Index(i pulumi.IntInput) MethodSettingsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MethodSettingsResponse { return vs[0].([]MethodSettingsResponse)[vs[1].(int)] @@ -8642,6 +10047,12 @@ func (i MetricDescriptorArgs) ToMetricDescriptorOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorOutput) } +func (i MetricDescriptorArgs) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptor] { + return pulumix.Output[MetricDescriptor]{ + OutputState: i.ToMetricDescriptorOutputWithContext(ctx).OutputState, + } +} + // MetricDescriptorArrayInput is an input type that accepts MetricDescriptorArray and MetricDescriptorArrayOutput values. // You can construct a concrete instance of `MetricDescriptorArrayInput` via: // @@ -8667,6 +10078,12 @@ func (i MetricDescriptorArray) ToMetricDescriptorArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorArrayOutput) } +func (i MetricDescriptorArray) ToOutput(ctx context.Context) pulumix.Output[[]MetricDescriptor] { + return pulumix.Output[[]MetricDescriptor]{ + OutputState: i.ToMetricDescriptorArrayOutputWithContext(ctx).OutputState, + } +} + // Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable. type MetricDescriptorOutput struct{ *pulumi.OutputState } @@ -8682,6 +10099,12 @@ func (o MetricDescriptorOutput) ToMetricDescriptorOutputWithContext(ctx context. return o } +func (o MetricDescriptorOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptor] { + return pulumix.Output[MetricDescriptor]{ + OutputState: o.OutputState, + } +} + // A detailed description of the metric, which can be used in documentation. func (o MetricDescriptorOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v MetricDescriptor) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -8751,6 +10174,12 @@ func (o MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutputWithContext(ct return o } +func (o MetricDescriptorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetricDescriptor] { + return pulumix.Output[[]MetricDescriptor]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorArrayOutput) Index(i pulumi.IntInput) MetricDescriptorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetricDescriptor { return vs[0].([]MetricDescriptor)[vs[1].(int)] @@ -8804,6 +10233,12 @@ func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorMetadataOutput) } +func (i MetricDescriptorMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadata] { + return pulumix.Output[MetricDescriptorMetadata]{ + OutputState: i.ToMetricDescriptorMetadataOutputWithContext(ctx).OutputState, + } +} + func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput { return i.ToMetricDescriptorMetadataPtrOutputWithContext(context.Background()) } @@ -8845,6 +10280,12 @@ func (i *metricDescriptorMetadataPtrType) ToMetricDescriptorMetadataPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(MetricDescriptorMetadataPtrOutput) } +func (i *metricDescriptorMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadata] { + return pulumix.Output[*MetricDescriptorMetadata]{ + OutputState: i.ToMetricDescriptorMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Additional annotations that can be used to guide the usage of a metric. type MetricDescriptorMetadataOutput struct{ *pulumi.OutputState } @@ -8870,6 +10311,12 @@ func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutputWithC }).(MetricDescriptorMetadataPtrOutput) } +func (o MetricDescriptorMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadata] { + return pulumix.Output[MetricDescriptorMetadata]{ + OutputState: o.OutputState, + } +} + // The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. func (o MetricDescriptorMetadataOutput) IngestDelay() pulumi.StringPtrOutput { return o.ApplyT(func(v MetricDescriptorMetadata) *string { return v.IngestDelay }).(pulumi.StringPtrOutput) @@ -8901,6 +10348,12 @@ func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutputWi return o } +func (o MetricDescriptorMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetricDescriptorMetadata] { + return pulumix.Output[*MetricDescriptorMetadata]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorMetadataPtrOutput) Elem() MetricDescriptorMetadataOutput { return o.ApplyT(func(v *MetricDescriptorMetadata) MetricDescriptorMetadata { if v != nil { @@ -8970,6 +10423,12 @@ func (o MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataRespon return o } +func (o MetricDescriptorMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorMetadataResponse] { + return pulumix.Output[MetricDescriptorMetadataResponse]{ + OutputState: o.OutputState, + } +} + // The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. func (o MetricDescriptorMetadataResponseOutput) IngestDelay() pulumi.StringOutput { return o.ApplyT(func(v MetricDescriptorMetadataResponse) string { return v.IngestDelay }).(pulumi.StringOutput) @@ -9028,6 +10487,12 @@ func (o MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutputWithCont return o } +func (o MetricDescriptorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetricDescriptorResponse] { + return pulumix.Output[MetricDescriptorResponse]{ + OutputState: o.OutputState, + } +} + // A detailed description of the metric, which can be used in documentation. func (o MetricDescriptorResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v MetricDescriptorResponse) string { return v.Description }).(pulumi.StringOutput) @@ -9097,6 +10562,12 @@ func (o MetricDescriptorResponseArrayOutput) ToMetricDescriptorResponseArrayOutp return o } +func (o MetricDescriptorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetricDescriptorResponse] { + return pulumix.Output[[]MetricDescriptorResponse]{ + OutputState: o.OutputState, + } +} + func (o MetricDescriptorResponseArrayOutput) Index(i pulumi.IntInput) MetricDescriptorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetricDescriptorResponse { return vs[0].([]MetricDescriptorResponse)[vs[1].(int)] @@ -9142,6 +10613,12 @@ func (i MetricRuleArgs) ToMetricRuleOutputWithContext(ctx context.Context) Metri return pulumi.ToOutputWithContext(ctx, i).(MetricRuleOutput) } +func (i MetricRuleArgs) ToOutput(ctx context.Context) pulumix.Output[MetricRule] { + return pulumix.Output[MetricRule]{ + OutputState: i.ToMetricRuleOutputWithContext(ctx).OutputState, + } +} + // MetricRuleArrayInput is an input type that accepts MetricRuleArray and MetricRuleArrayOutput values. // You can construct a concrete instance of `MetricRuleArrayInput` via: // @@ -9167,6 +10644,12 @@ func (i MetricRuleArray) ToMetricRuleArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MetricRuleArrayOutput) } +func (i MetricRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]MetricRule] { + return pulumix.Output[[]MetricRule]{ + OutputState: i.ToMetricRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call. type MetricRuleOutput struct{ *pulumi.OutputState } @@ -9182,6 +10665,12 @@ func (o MetricRuleOutput) ToMetricRuleOutputWithContext(ctx context.Context) Met return o } +func (o MetricRuleOutput) ToOutput(ctx context.Context) pulumix.Output[MetricRule] { + return pulumix.Output[MetricRule]{ + OutputState: o.OutputState, + } +} + // Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative. func (o MetricRuleOutput) MetricCosts() pulumi.StringMapOutput { return o.ApplyT(func(v MetricRule) map[string]string { return v.MetricCosts }).(pulumi.StringMapOutput) @@ -9206,6 +10695,12 @@ func (o MetricRuleArrayOutput) ToMetricRuleArrayOutputWithContext(ctx context.Co return o } +func (o MetricRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetricRule] { + return pulumix.Output[[]MetricRule]{ + OutputState: o.OutputState, + } +} + func (o MetricRuleArrayOutput) Index(i pulumi.IntInput) MetricRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetricRule { return vs[0].([]MetricRule)[vs[1].(int)] @@ -9235,6 +10730,12 @@ func (o MetricRuleResponseOutput) ToMetricRuleResponseOutputWithContext(ctx cont return o } +func (o MetricRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetricRuleResponse] { + return pulumix.Output[MetricRuleResponse]{ + OutputState: o.OutputState, + } +} + // Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative. func (o MetricRuleResponseOutput) MetricCosts() pulumi.StringMapOutput { return o.ApplyT(func(v MetricRuleResponse) map[string]string { return v.MetricCosts }).(pulumi.StringMapOutput) @@ -9259,6 +10760,12 @@ func (o MetricRuleResponseArrayOutput) ToMetricRuleResponseArrayOutputWithContex return o } +func (o MetricRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MetricRuleResponse] { + return pulumix.Output[[]MetricRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o MetricRuleResponseArrayOutput) Index(i pulumi.IntInput) MetricRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MetricRuleResponse { return vs[0].([]MetricRuleResponse)[vs[1].(int)] @@ -9304,6 +10811,12 @@ func (i MixinArgs) ToMixinOutputWithContext(ctx context.Context) MixinOutput { return pulumi.ToOutputWithContext(ctx, i).(MixinOutput) } +func (i MixinArgs) ToOutput(ctx context.Context) pulumix.Output[Mixin] { + return pulumix.Output[Mixin]{ + OutputState: i.ToMixinOutputWithContext(ctx).OutputState, + } +} + // MixinArrayInput is an input type that accepts MixinArray and MixinArrayOutput values. // You can construct a concrete instance of `MixinArrayInput` via: // @@ -9329,6 +10842,12 @@ func (i MixinArray) ToMixinArrayOutputWithContext(ctx context.Context) MixinArra return pulumi.ToOutputWithContext(ctx, i).(MixinArrayOutput) } +func (i MixinArray) ToOutput(ctx context.Context) pulumix.Output[[]Mixin] { + return pulumix.Output[[]Mixin]{ + OutputState: i.ToMixinArrayOutputWithContext(ctx).OutputState, + } +} + // Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v1/{resource=**}:getAcl"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = "/v2/{resource=**}"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inherting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/{resource=**}:getAcl"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; } ... } type MixinOutput struct{ *pulumi.OutputState } @@ -9344,6 +10863,12 @@ func (o MixinOutput) ToMixinOutputWithContext(ctx context.Context) MixinOutput { return o } +func (o MixinOutput) ToOutput(ctx context.Context) pulumix.Output[Mixin] { + return pulumix.Output[Mixin]{ + OutputState: o.OutputState, + } +} + // The fully qualified name of the interface which is included. func (o MixinOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Mixin) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -9368,6 +10893,12 @@ func (o MixinArrayOutput) ToMixinArrayOutputWithContext(ctx context.Context) Mix return o } +func (o MixinArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Mixin] { + return pulumix.Output[[]Mixin]{ + OutputState: o.OutputState, + } +} + func (o MixinArrayOutput) Index(i pulumi.IntInput) MixinOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Mixin { return vs[0].([]Mixin)[vs[1].(int)] @@ -9397,6 +10928,12 @@ func (o MixinResponseOutput) ToMixinResponseOutputWithContext(ctx context.Contex return o } +func (o MixinResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MixinResponse] { + return pulumix.Output[MixinResponse]{ + OutputState: o.OutputState, + } +} + // The fully qualified name of the interface which is included. func (o MixinResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v MixinResponse) string { return v.Name }).(pulumi.StringOutput) @@ -9421,6 +10958,12 @@ func (o MixinResponseArrayOutput) ToMixinResponseArrayOutputWithContext(ctx cont return o } +func (o MixinResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MixinResponse] { + return pulumix.Output[[]MixinResponse]{ + OutputState: o.OutputState, + } +} + func (o MixinResponseArrayOutput) Index(i pulumi.IntInput) MixinResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MixinResponse { return vs[0].([]MixinResponse)[vs[1].(int)] @@ -9482,6 +11025,12 @@ func (i MonitoredResourceDescriptorArgs) ToMonitoredResourceDescriptorOutputWith return pulumi.ToOutputWithContext(ctx, i).(MonitoredResourceDescriptorOutput) } +func (i MonitoredResourceDescriptorArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoredResourceDescriptor] { + return pulumix.Output[MonitoredResourceDescriptor]{ + OutputState: i.ToMonitoredResourceDescriptorOutputWithContext(ctx).OutputState, + } +} + // MonitoredResourceDescriptorArrayInput is an input type that accepts MonitoredResourceDescriptorArray and MonitoredResourceDescriptorArrayOutput values. // You can construct a concrete instance of `MonitoredResourceDescriptorArrayInput` via: // @@ -9507,6 +11056,12 @@ func (i MonitoredResourceDescriptorArray) ToMonitoredResourceDescriptorArrayOutp return pulumi.ToOutputWithContext(ctx, i).(MonitoredResourceDescriptorArrayOutput) } +func (i MonitoredResourceDescriptorArray) ToOutput(ctx context.Context) pulumix.Output[[]MonitoredResourceDescriptor] { + return pulumix.Output[[]MonitoredResourceDescriptor]{ + OutputState: i.ToMonitoredResourceDescriptorArrayOutputWithContext(ctx).OutputState, + } +} + // An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `"gce_instance"` and specifies the use of the labels `"instance_id"` and `"zone"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API. type MonitoredResourceDescriptorOutput struct{ *pulumi.OutputState } @@ -9522,6 +11077,12 @@ func (o MonitoredResourceDescriptorOutput) ToMonitoredResourceDescriptorOutputWi return o } +func (o MonitoredResourceDescriptorOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoredResourceDescriptor] { + return pulumix.Output[MonitoredResourceDescriptor]{ + OutputState: o.OutputState, + } +} + // Optional. A detailed description of the monitored resource type that might be used in documentation. func (o MonitoredResourceDescriptorOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v MonitoredResourceDescriptor) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -9566,6 +11127,12 @@ func (o MonitoredResourceDescriptorArrayOutput) ToMonitoredResourceDescriptorArr return o } +func (o MonitoredResourceDescriptorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MonitoredResourceDescriptor] { + return pulumix.Output[[]MonitoredResourceDescriptor]{ + OutputState: o.OutputState, + } +} + func (o MonitoredResourceDescriptorArrayOutput) Index(i pulumi.IntInput) MonitoredResourceDescriptorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitoredResourceDescriptor { return vs[0].([]MonitoredResourceDescriptor)[vs[1].(int)] @@ -9603,6 +11170,12 @@ func (o MonitoredResourceDescriptorResponseOutput) ToMonitoredResourceDescriptor return o } +func (o MonitoredResourceDescriptorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoredResourceDescriptorResponse] { + return pulumix.Output[MonitoredResourceDescriptorResponse]{ + OutputState: o.OutputState, + } +} + // Optional. A detailed description of the monitored resource type that might be used in documentation. func (o MonitoredResourceDescriptorResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v MonitoredResourceDescriptorResponse) string { return v.Description }).(pulumi.StringOutput) @@ -9647,6 +11220,12 @@ func (o MonitoredResourceDescriptorResponseArrayOutput) ToMonitoredResourceDescr return o } +func (o MonitoredResourceDescriptorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MonitoredResourceDescriptorResponse] { + return pulumix.Output[[]MonitoredResourceDescriptorResponse]{ + OutputState: o.OutputState, + } +} + func (o MonitoredResourceDescriptorResponseArrayOutput) Index(i pulumi.IntInput) MonitoredResourceDescriptorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitoredResourceDescriptorResponse { return vs[0].([]MonitoredResourceDescriptorResponse)[vs[1].(int)] @@ -9692,6 +11271,12 @@ func (i MonitoringArgs) ToMonitoringOutputWithContext(ctx context.Context) Monit return pulumi.ToOutputWithContext(ctx, i).(MonitoringOutput) } +func (i MonitoringArgs) ToOutput(ctx context.Context) pulumix.Output[Monitoring] { + return pulumix.Output[Monitoring]{ + OutputState: i.ToMonitoringOutputWithContext(ctx).OutputState, + } +} + func (i MonitoringArgs) ToMonitoringPtrOutput() MonitoringPtrOutput { return i.ToMonitoringPtrOutputWithContext(context.Background()) } @@ -9733,6 +11318,12 @@ func (i *monitoringPtrType) ToMonitoringPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(MonitoringPtrOutput) } +func (i *monitoringPtrType) ToOutput(ctx context.Context) pulumix.Output[*Monitoring] { + return pulumix.Output[*Monitoring]{ + OutputState: i.ToMonitoringPtrOutputWithContext(ctx).OutputState, + } +} + // Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: "Library Branch" description: "A branch of a library." launch_stage: GA labels: - key: resource_container description: "The Cloud container (ie. project id) for the Branch." - key: location description: "The location of the library branch." - key: branch_id description: "The id of the branch." metrics: - name: library.googleapis.com/book/returned_count display_name: "Books Returned" description: "The count of books that have been returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." - name: library.googleapis.com/book/num_overdue display_name: "Books Overdue" description: "The current number of overdue books." launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue type MonitoringOutput struct{ *pulumi.OutputState } @@ -9758,6 +11349,12 @@ func (o MonitoringOutput) ToMonitoringPtrOutputWithContext(ctx context.Context) }).(MonitoringPtrOutput) } +func (o MonitoringOutput) ToOutput(ctx context.Context) pulumix.Output[Monitoring] { + return pulumix.Output[Monitoring]{ + OutputState: o.OutputState, + } +} + // Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. func (o MonitoringOutput) ConsumerDestinations() MonitoringDestinationArrayOutput { return o.ApplyT(func(v Monitoring) []MonitoringDestination { return v.ConsumerDestinations }).(MonitoringDestinationArrayOutput) @@ -9782,6 +11379,12 @@ func (o MonitoringPtrOutput) ToMonitoringPtrOutputWithContext(ctx context.Contex return o } +func (o MonitoringPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Monitoring] { + return pulumix.Output[*Monitoring]{ + OutputState: o.OutputState, + } +} + func (o MonitoringPtrOutput) Elem() MonitoringOutput { return o.ApplyT(func(v *Monitoring) Monitoring { if v != nil { @@ -9851,6 +11454,12 @@ func (i MonitoringDestinationArgs) ToMonitoringDestinationOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(MonitoringDestinationOutput) } +func (i MonitoringDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[MonitoringDestination] { + return pulumix.Output[MonitoringDestination]{ + OutputState: i.ToMonitoringDestinationOutputWithContext(ctx).OutputState, + } +} + // MonitoringDestinationArrayInput is an input type that accepts MonitoringDestinationArray and MonitoringDestinationArrayOutput values. // You can construct a concrete instance of `MonitoringDestinationArrayInput` via: // @@ -9876,6 +11485,12 @@ func (i MonitoringDestinationArray) ToMonitoringDestinationArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(MonitoringDestinationArrayOutput) } +func (i MonitoringDestinationArray) ToOutput(ctx context.Context) pulumix.Output[[]MonitoringDestination] { + return pulumix.Output[[]MonitoringDestination]{ + OutputState: i.ToMonitoringDestinationArrayOutputWithContext(ctx).OutputState, + } +} + // Configuration of a specific monitoring destination (the producer project or the consumer project). type MonitoringDestinationOutput struct{ *pulumi.OutputState } @@ -9891,6 +11506,12 @@ func (o MonitoringDestinationOutput) ToMonitoringDestinationOutputWithContext(ct return o } +func (o MonitoringDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringDestination] { + return pulumix.Output[MonitoringDestination]{ + OutputState: o.OutputState, + } +} + // Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section. func (o MonitoringDestinationOutput) Metrics() pulumi.StringArrayOutput { return o.ApplyT(func(v MonitoringDestination) []string { return v.Metrics }).(pulumi.StringArrayOutput) @@ -9915,6 +11536,12 @@ func (o MonitoringDestinationArrayOutput) ToMonitoringDestinationArrayOutputWith return o } +func (o MonitoringDestinationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MonitoringDestination] { + return pulumix.Output[[]MonitoringDestination]{ + OutputState: o.OutputState, + } +} + func (o MonitoringDestinationArrayOutput) Index(i pulumi.IntInput) MonitoringDestinationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitoringDestination { return vs[0].([]MonitoringDestination)[vs[1].(int)] @@ -9944,6 +11571,12 @@ func (o MonitoringDestinationResponseOutput) ToMonitoringDestinationResponseOutp return o } +func (o MonitoringDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringDestinationResponse] { + return pulumix.Output[MonitoringDestinationResponse]{ + OutputState: o.OutputState, + } +} + // Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section. func (o MonitoringDestinationResponseOutput) Metrics() pulumi.StringArrayOutput { return o.ApplyT(func(v MonitoringDestinationResponse) []string { return v.Metrics }).(pulumi.StringArrayOutput) @@ -9968,6 +11601,12 @@ func (o MonitoringDestinationResponseArrayOutput) ToMonitoringDestinationRespons return o } +func (o MonitoringDestinationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MonitoringDestinationResponse] { + return pulumix.Output[[]MonitoringDestinationResponse]{ + OutputState: o.OutputState, + } +} + func (o MonitoringDestinationResponseArrayOutput) Index(i pulumi.IntInput) MonitoringDestinationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MonitoringDestinationResponse { return vs[0].([]MonitoringDestinationResponse)[vs[1].(int)] @@ -9997,6 +11636,12 @@ func (o MonitoringResponseOutput) ToMonitoringResponseOutputWithContext(ctx cont return o } +func (o MonitoringResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MonitoringResponse] { + return pulumix.Output[MonitoringResponse]{ + OutputState: o.OutputState, + } +} + // Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. func (o MonitoringResponseOutput) ConsumerDestinations() MonitoringDestinationResponseArrayOutput { return o.ApplyT(func(v MonitoringResponse) []MonitoringDestinationResponse { return v.ConsumerDestinations }).(MonitoringDestinationResponseArrayOutput) @@ -10042,6 +11687,12 @@ func (i NodeSettingsArgs) ToNodeSettingsOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NodeSettingsOutput) } +func (i NodeSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[NodeSettings] { + return pulumix.Output[NodeSettings]{ + OutputState: i.ToNodeSettingsOutputWithContext(ctx).OutputState, + } +} + func (i NodeSettingsArgs) ToNodeSettingsPtrOutput() NodeSettingsPtrOutput { return i.ToNodeSettingsPtrOutputWithContext(context.Background()) } @@ -10083,6 +11734,12 @@ func (i *nodeSettingsPtrType) ToNodeSettingsPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(NodeSettingsPtrOutput) } +func (i *nodeSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*NodeSettings] { + return pulumix.Output[*NodeSettings]{ + OutputState: i.ToNodeSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for Node client libraries. type NodeSettingsOutput struct{ *pulumi.OutputState } @@ -10108,6 +11765,12 @@ func (o NodeSettingsOutput) ToNodeSettingsPtrOutputWithContext(ctx context.Conte }).(NodeSettingsPtrOutput) } +func (o NodeSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[NodeSettings] { + return pulumix.Output[NodeSettings]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o NodeSettingsOutput) Common() CommonLanguageSettingsPtrOutput { return o.ApplyT(func(v NodeSettings) *CommonLanguageSettings { return v.Common }).(CommonLanguageSettingsPtrOutput) @@ -10127,6 +11790,12 @@ func (o NodeSettingsPtrOutput) ToNodeSettingsPtrOutputWithContext(ctx context.Co return o } +func (o NodeSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeSettings] { + return pulumix.Output[*NodeSettings]{ + OutputState: o.OutputState, + } +} + func (o NodeSettingsPtrOutput) Elem() NodeSettingsOutput { return o.ApplyT(func(v *NodeSettings) NodeSettings { if v != nil { @@ -10168,6 +11837,12 @@ func (o NodeSettingsResponseOutput) ToNodeSettingsResponseOutputWithContext(ctx return o } +func (o NodeSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeSettingsResponse] { + return pulumix.Output[NodeSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o NodeSettingsResponseOutput) Common() CommonLanguageSettingsResponseOutput { return o.ApplyT(func(v NodeSettingsResponse) CommonLanguageSettingsResponse { return v.Common }).(CommonLanguageSettingsResponseOutput) @@ -10208,6 +11883,12 @@ func (i OAuthRequirementsArgs) ToOAuthRequirementsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(OAuthRequirementsOutput) } +func (i OAuthRequirementsArgs) ToOutput(ctx context.Context) pulumix.Output[OAuthRequirements] { + return pulumix.Output[OAuthRequirements]{ + OutputState: i.ToOAuthRequirementsOutputWithContext(ctx).OutputState, + } +} + func (i OAuthRequirementsArgs) ToOAuthRequirementsPtrOutput() OAuthRequirementsPtrOutput { return i.ToOAuthRequirementsPtrOutputWithContext(context.Background()) } @@ -10249,6 +11930,12 @@ func (i *oauthRequirementsPtrType) ToOAuthRequirementsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(OAuthRequirementsPtrOutput) } +func (i *oauthRequirementsPtrType) ToOutput(ctx context.Context) pulumix.Output[*OAuthRequirements] { + return pulumix.Output[*OAuthRequirements]{ + OutputState: i.ToOAuthRequirementsPtrOutputWithContext(ctx).OutputState, + } +} + // OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for "Read-only access to Google Calendar" and "Access to Cloud Platform". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions. type OAuthRequirementsOutput struct{ *pulumi.OutputState } @@ -10274,6 +11961,12 @@ func (o OAuthRequirementsOutput) ToOAuthRequirementsPtrOutputWithContext(ctx con }).(OAuthRequirementsPtrOutput) } +func (o OAuthRequirementsOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthRequirements] { + return pulumix.Output[OAuthRequirements]{ + OutputState: o.OutputState, + } +} + // The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read func (o OAuthRequirementsOutput) CanonicalScopes() pulumi.StringPtrOutput { return o.ApplyT(func(v OAuthRequirements) *string { return v.CanonicalScopes }).(pulumi.StringPtrOutput) @@ -10293,6 +11986,12 @@ func (o OAuthRequirementsPtrOutput) ToOAuthRequirementsPtrOutputWithContext(ctx return o } +func (o OAuthRequirementsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OAuthRequirements] { + return pulumix.Output[*OAuthRequirements]{ + OutputState: o.OutputState, + } +} + func (o OAuthRequirementsPtrOutput) Elem() OAuthRequirementsOutput { return o.ApplyT(func(v *OAuthRequirements) OAuthRequirements { if v != nil { @@ -10334,6 +12033,12 @@ func (o OAuthRequirementsResponseOutput) ToOAuthRequirementsResponseOutputWithCo return o } +func (o OAuthRequirementsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OAuthRequirementsResponse] { + return pulumix.Output[OAuthRequirementsResponse]{ + OutputState: o.OutputState, + } +} + // The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read func (o OAuthRequirementsResponseOutput) CanonicalScopes() pulumi.StringOutput { return o.ApplyT(func(v OAuthRequirementsResponse) string { return v.CanonicalScopes }).(pulumi.StringOutput) @@ -10378,6 +12083,12 @@ func (i OptionArgs) ToOptionOutputWithContext(ctx context.Context) OptionOutput return pulumi.ToOutputWithContext(ctx, i).(OptionOutput) } +func (i OptionArgs) ToOutput(ctx context.Context) pulumix.Output[Option] { + return pulumix.Output[Option]{ + OutputState: i.ToOptionOutputWithContext(ctx).OutputState, + } +} + // OptionArrayInput is an input type that accepts OptionArray and OptionArrayOutput values. // You can construct a concrete instance of `OptionArrayInput` via: // @@ -10403,6 +12114,12 @@ func (i OptionArray) ToOptionArrayOutputWithContext(ctx context.Context) OptionA return pulumi.ToOutputWithContext(ctx, i).(OptionArrayOutput) } +func (i OptionArray) ToOutput(ctx context.Context) pulumix.Output[[]Option] { + return pulumix.Output[[]Option]{ + OutputState: i.ToOptionArrayOutputWithContext(ctx).OutputState, + } +} + // A protocol buffer option, which can be attached to a message, field, enumeration, etc. type OptionOutput struct{ *pulumi.OutputState } @@ -10418,6 +12135,12 @@ func (o OptionOutput) ToOptionOutputWithContext(ctx context.Context) OptionOutpu return o } +func (o OptionOutput) ToOutput(ctx context.Context) pulumix.Output[Option] { + return pulumix.Output[Option]{ + OutputState: o.OutputState, + } +} + // The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`. func (o OptionOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Option) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -10442,6 +12165,12 @@ func (o OptionArrayOutput) ToOptionArrayOutputWithContext(ctx context.Context) O return o } +func (o OptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Option] { + return pulumix.Output[[]Option]{ + OutputState: o.OutputState, + } +} + func (o OptionArrayOutput) Index(i pulumi.IntInput) OptionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Option { return vs[0].([]Option)[vs[1].(int)] @@ -10471,6 +12200,12 @@ func (o OptionResponseOutput) ToOptionResponseOutputWithContext(ctx context.Cont return o } +func (o OptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OptionResponse] { + return pulumix.Output[OptionResponse]{ + OutputState: o.OutputState, + } +} + // The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`. func (o OptionResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v OptionResponse) string { return v.Name }).(pulumi.StringOutput) @@ -10495,6 +12230,12 @@ func (o OptionResponseArrayOutput) ToOptionResponseArrayOutputWithContext(ctx co return o } +func (o OptionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OptionResponse] { + return pulumix.Output[[]OptionResponse]{ + OutputState: o.OutputState, + } +} + func (o OptionResponseArrayOutput) Index(i pulumi.IntInput) OptionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OptionResponse { return vs[0].([]OptionResponse)[vs[1].(int)] @@ -10544,6 +12285,12 @@ func (i PageArgs) ToPageOutputWithContext(ctx context.Context) PageOutput { return pulumi.ToOutputWithContext(ctx, i).(PageOutput) } +func (i PageArgs) ToOutput(ctx context.Context) pulumix.Output[Page] { + return pulumix.Output[Page]{ + OutputState: i.ToPageOutputWithContext(ctx).OutputState, + } +} + // PageArrayInput is an input type that accepts PageArray and PageArrayOutput values. // You can construct a concrete instance of `PageArrayInput` via: // @@ -10569,6 +12316,12 @@ func (i PageArray) ToPageArrayOutputWithContext(ctx context.Context) PageArrayOu return pulumi.ToOutputWithContext(ctx, i).(PageArrayOutput) } +func (i PageArray) ToOutput(ctx context.Context) pulumix.Output[[]Page] { + return pulumix.Output[[]Page]{ + OutputState: i.ToPageArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a documentation page. A page can contain subpages to represent nested documentation set structure. type PageOutput struct{ *pulumi.OutputState } @@ -10584,6 +12337,12 @@ func (o PageOutput) ToPageOutputWithContext(ctx context.Context) PageOutput { return o } +func (o PageOutput) ToOutput(ctx context.Context) pulumix.Output[Page] { + return pulumix.Output[Page]{ + OutputState: o.OutputState, + } +} + // The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page. func (o PageOutput) Content() pulumi.StringPtrOutput { return o.ApplyT(func(v Page) *string { return v.Content }).(pulumi.StringPtrOutput) @@ -10613,6 +12372,12 @@ func (o PageArrayOutput) ToPageArrayOutputWithContext(ctx context.Context) PageA return o } +func (o PageArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Page] { + return pulumix.Output[[]Page]{ + OutputState: o.OutputState, + } +} + func (o PageArrayOutput) Index(i pulumi.IntInput) PageOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Page { return vs[0].([]Page)[vs[1].(int)] @@ -10644,6 +12409,12 @@ func (o PageResponseOutput) ToPageResponseOutputWithContext(ctx context.Context) return o } +func (o PageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PageResponse] { + return pulumix.Output[PageResponse]{ + OutputState: o.OutputState, + } +} + // The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page. func (o PageResponseOutput) Content() pulumi.StringOutput { return o.ApplyT(func(v PageResponse) string { return v.Content }).(pulumi.StringOutput) @@ -10673,6 +12444,12 @@ func (o PageResponseArrayOutput) ToPageResponseArrayOutputWithContext(ctx contex return o } +func (o PageResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PageResponse] { + return pulumix.Output[[]PageResponse]{ + OutputState: o.OutputState, + } +} + func (o PageResponseArrayOutput) Index(i pulumi.IntInput) PageResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PageResponse { return vs[0].([]PageResponse)[vs[1].(int)] @@ -10714,6 +12491,12 @@ func (i PhpSettingsArgs) ToPhpSettingsOutputWithContext(ctx context.Context) Php return pulumi.ToOutputWithContext(ctx, i).(PhpSettingsOutput) } +func (i PhpSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[PhpSettings] { + return pulumix.Output[PhpSettings]{ + OutputState: i.ToPhpSettingsOutputWithContext(ctx).OutputState, + } +} + func (i PhpSettingsArgs) ToPhpSettingsPtrOutput() PhpSettingsPtrOutput { return i.ToPhpSettingsPtrOutputWithContext(context.Background()) } @@ -10755,6 +12538,12 @@ func (i *phpSettingsPtrType) ToPhpSettingsPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PhpSettingsPtrOutput) } +func (i *phpSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*PhpSettings] { + return pulumix.Output[*PhpSettings]{ + OutputState: i.ToPhpSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for Php client libraries. type PhpSettingsOutput struct{ *pulumi.OutputState } @@ -10780,6 +12569,12 @@ func (o PhpSettingsOutput) ToPhpSettingsPtrOutputWithContext(ctx context.Context }).(PhpSettingsPtrOutput) } +func (o PhpSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[PhpSettings] { + return pulumix.Output[PhpSettings]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o PhpSettingsOutput) Common() CommonLanguageSettingsPtrOutput { return o.ApplyT(func(v PhpSettings) *CommonLanguageSettings { return v.Common }).(CommonLanguageSettingsPtrOutput) @@ -10799,6 +12594,12 @@ func (o PhpSettingsPtrOutput) ToPhpSettingsPtrOutputWithContext(ctx context.Cont return o } +func (o PhpSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PhpSettings] { + return pulumix.Output[*PhpSettings]{ + OutputState: o.OutputState, + } +} + func (o PhpSettingsPtrOutput) Elem() PhpSettingsOutput { return o.ApplyT(func(v *PhpSettings) PhpSettings { if v != nil { @@ -10840,6 +12641,12 @@ func (o PhpSettingsResponseOutput) ToPhpSettingsResponseOutputWithContext(ctx co return o } +func (o PhpSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PhpSettingsResponse] { + return pulumix.Output[PhpSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o PhpSettingsResponseOutput) Common() CommonLanguageSettingsResponseOutput { return o.ApplyT(func(v PhpSettingsResponse) CommonLanguageSettingsResponse { return v.Common }).(CommonLanguageSettingsResponseOutput) @@ -10916,6 +12723,12 @@ func (i PublishingArgs) ToPublishingOutputWithContext(ctx context.Context) Publi return pulumi.ToOutputWithContext(ctx, i).(PublishingOutput) } +func (i PublishingArgs) ToOutput(ctx context.Context) pulumix.Output[Publishing] { + return pulumix.Output[Publishing]{ + OutputState: i.ToPublishingOutputWithContext(ctx).OutputState, + } +} + func (i PublishingArgs) ToPublishingPtrOutput() PublishingPtrOutput { return i.ToPublishingPtrOutputWithContext(context.Background()) } @@ -10957,6 +12770,12 @@ func (i *publishingPtrType) ToPublishingPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(PublishingPtrOutput) } +func (i *publishingPtrType) ToOutput(ctx context.Context) pulumix.Output[*Publishing] { + return pulumix.Output[*Publishing]{ + OutputState: i.ToPublishingPtrOutputWithContext(ctx).OutputState, + } +} + // This message configures the settings for publishing [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from the service config. type PublishingOutput struct{ *pulumi.OutputState } @@ -10982,6 +12801,12 @@ func (o PublishingOutput) ToPublishingPtrOutputWithContext(ctx context.Context) }).(PublishingPtrOutput) } +func (o PublishingOutput) ToOutput(ctx context.Context) pulumix.Output[Publishing] { + return pulumix.Output[Publishing]{ + OutputState: o.OutputState, + } +} + // Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: "speech". func (o PublishingOutput) ApiShortName() pulumi.StringPtrOutput { return o.ApplyT(func(v Publishing) *string { return v.ApiShortName }).(pulumi.StringPtrOutput) @@ -11046,6 +12871,12 @@ func (o PublishingPtrOutput) ToPublishingPtrOutputWithContext(ctx context.Contex return o } +func (o PublishingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Publishing] { + return pulumix.Output[*Publishing]{ + OutputState: o.OutputState, + } +} + func (o PublishingPtrOutput) Elem() PublishingOutput { return o.ApplyT(func(v *Publishing) Publishing { if v != nil { @@ -11195,6 +13026,12 @@ func (o PublishingResponseOutput) ToPublishingResponseOutputWithContext(ctx cont return o } +func (o PublishingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PublishingResponse] { + return pulumix.Output[PublishingResponse]{ + OutputState: o.OutputState, + } +} + // Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: "speech". func (o PublishingResponseOutput) ApiShortName() pulumi.StringOutput { return o.ApplyT(func(v PublishingResponse) string { return v.ApiShortName }).(pulumi.StringOutput) @@ -11280,6 +13117,12 @@ func (i PythonSettingsArgs) ToPythonSettingsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(PythonSettingsOutput) } +func (i PythonSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[PythonSettings] { + return pulumix.Output[PythonSettings]{ + OutputState: i.ToPythonSettingsOutputWithContext(ctx).OutputState, + } +} + func (i PythonSettingsArgs) ToPythonSettingsPtrOutput() PythonSettingsPtrOutput { return i.ToPythonSettingsPtrOutputWithContext(context.Background()) } @@ -11321,6 +13164,12 @@ func (i *pythonSettingsPtrType) ToPythonSettingsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(PythonSettingsPtrOutput) } +func (i *pythonSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*PythonSettings] { + return pulumix.Output[*PythonSettings]{ + OutputState: i.ToPythonSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for Python client libraries. type PythonSettingsOutput struct{ *pulumi.OutputState } @@ -11346,6 +13195,12 @@ func (o PythonSettingsOutput) ToPythonSettingsPtrOutputWithContext(ctx context.C }).(PythonSettingsPtrOutput) } +func (o PythonSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[PythonSettings] { + return pulumix.Output[PythonSettings]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o PythonSettingsOutput) Common() CommonLanguageSettingsPtrOutput { return o.ApplyT(func(v PythonSettings) *CommonLanguageSettings { return v.Common }).(CommonLanguageSettingsPtrOutput) @@ -11365,6 +13220,12 @@ func (o PythonSettingsPtrOutput) ToPythonSettingsPtrOutputWithContext(ctx contex return o } +func (o PythonSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PythonSettings] { + return pulumix.Output[*PythonSettings]{ + OutputState: o.OutputState, + } +} + func (o PythonSettingsPtrOutput) Elem() PythonSettingsOutput { return o.ApplyT(func(v *PythonSettings) PythonSettings { if v != nil { @@ -11406,6 +13267,12 @@ func (o PythonSettingsResponseOutput) ToPythonSettingsResponseOutputWithContext( return o } +func (o PythonSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PythonSettingsResponse] { + return pulumix.Output[PythonSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o PythonSettingsResponseOutput) Common() CommonLanguageSettingsResponseOutput { return o.ApplyT(func(v PythonSettingsResponse) CommonLanguageSettingsResponse { return v.Common }).(CommonLanguageSettingsResponseOutput) @@ -11450,6 +13317,12 @@ func (i QuotaArgs) ToQuotaOutputWithContext(ctx context.Context) QuotaOutput { return pulumi.ToOutputWithContext(ctx, i).(QuotaOutput) } +func (i QuotaArgs) ToOutput(ctx context.Context) pulumix.Output[Quota] { + return pulumix.Output[Quota]{ + OutputState: i.ToQuotaOutputWithContext(ctx).OutputState, + } +} + func (i QuotaArgs) ToQuotaPtrOutput() QuotaPtrOutput { return i.ToQuotaPtrOutputWithContext(context.Background()) } @@ -11491,6 +13364,12 @@ func (i *quotaPtrType) ToQuotaPtrOutputWithContext(ctx context.Context) QuotaPtr return pulumi.ToOutputWithContext(ctx, i).(QuotaPtrOutput) } +func (i *quotaPtrType) ToOutput(ctx context.Context) pulumix.Output[*Quota] { + return pulumix.Output[*Quota]{ + OutputState: i.ToQuotaPtrOutputWithContext(ctx).OutputState, + } +} + // Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/{project}" # rate limit for consumer projects values: STANDARD: 10000 (The metric rules bind all methods to the read_calls metric, except for the UpdateBook and DeleteBook methods. These two methods are mapped to the write_calls metric, with the UpdateBook method consuming at twice rate as the DeleteBook method.) metric_rules: - selector: "*" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64 type QuotaOutput struct{ *pulumi.OutputState } @@ -11516,6 +13395,12 @@ func (o QuotaOutput) ToQuotaPtrOutputWithContext(ctx context.Context) QuotaPtrOu }).(QuotaPtrOutput) } +func (o QuotaOutput) ToOutput(ctx context.Context) pulumix.Output[Quota] { + return pulumix.Output[Quota]{ + OutputState: o.OutputState, + } +} + // List of QuotaLimit definitions for the service. func (o QuotaOutput) Limits() QuotaLimitArrayOutput { return o.ApplyT(func(v Quota) []QuotaLimit { return v.Limits }).(QuotaLimitArrayOutput) @@ -11540,6 +13425,12 @@ func (o QuotaPtrOutput) ToQuotaPtrOutputWithContext(ctx context.Context) QuotaPt return o } +func (o QuotaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Quota] { + return pulumix.Output[*Quota]{ + OutputState: o.OutputState, + } +} + func (o QuotaPtrOutput) Elem() QuotaOutput { return o.ApplyT(func(v *Quota) Quota { if v != nil { @@ -11641,6 +13532,12 @@ func (i QuotaLimitArgs) ToQuotaLimitOutputWithContext(ctx context.Context) Quota return pulumi.ToOutputWithContext(ctx, i).(QuotaLimitOutput) } +func (i QuotaLimitArgs) ToOutput(ctx context.Context) pulumix.Output[QuotaLimit] { + return pulumix.Output[QuotaLimit]{ + OutputState: i.ToQuotaLimitOutputWithContext(ctx).OutputState, + } +} + // QuotaLimitArrayInput is an input type that accepts QuotaLimitArray and QuotaLimitArrayOutput values. // You can construct a concrete instance of `QuotaLimitArrayInput` via: // @@ -11666,6 +13563,12 @@ func (i QuotaLimitArray) ToQuotaLimitArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QuotaLimitArrayOutput) } +func (i QuotaLimitArray) ToOutput(ctx context.Context) pulumix.Output[[]QuotaLimit] { + return pulumix.Output[[]QuotaLimit]{ + OutputState: i.ToQuotaLimitArrayOutputWithContext(ctx).OutputState, + } +} + // `QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`. type QuotaLimitOutput struct{ *pulumi.OutputState } @@ -11681,6 +13584,12 @@ func (o QuotaLimitOutput) ToQuotaLimitOutputWithContext(ctx context.Context) Quo return o } +func (o QuotaLimitOutput) ToOutput(ctx context.Context) pulumix.Output[QuotaLimit] { + return pulumix.Output[QuotaLimit]{ + OutputState: o.OutputState, + } +} + // Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only. func (o QuotaLimitOutput) DefaultLimit() pulumi.StringPtrOutput { return o.ApplyT(func(v QuotaLimit) *string { return v.DefaultLimit }).(pulumi.StringPtrOutput) @@ -11745,6 +13654,12 @@ func (o QuotaLimitArrayOutput) ToQuotaLimitArrayOutputWithContext(ctx context.Co return o } +func (o QuotaLimitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QuotaLimit] { + return pulumix.Output[[]QuotaLimit]{ + OutputState: o.OutputState, + } +} + func (o QuotaLimitArrayOutput) Index(i pulumi.IntInput) QuotaLimitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QuotaLimit { return vs[0].([]QuotaLimit)[vs[1].(int)] @@ -11790,6 +13705,12 @@ func (o QuotaLimitResponseOutput) ToQuotaLimitResponseOutputWithContext(ctx cont return o } +func (o QuotaLimitResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QuotaLimitResponse] { + return pulumix.Output[QuotaLimitResponse]{ + OutputState: o.OutputState, + } +} + // Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only. func (o QuotaLimitResponseOutput) DefaultLimit() pulumi.StringOutput { return o.ApplyT(func(v QuotaLimitResponse) string { return v.DefaultLimit }).(pulumi.StringOutput) @@ -11854,6 +13775,12 @@ func (o QuotaLimitResponseArrayOutput) ToQuotaLimitResponseArrayOutputWithContex return o } +func (o QuotaLimitResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]QuotaLimitResponse] { + return pulumix.Output[[]QuotaLimitResponse]{ + OutputState: o.OutputState, + } +} + func (o QuotaLimitResponseArrayOutput) Index(i pulumi.IntInput) QuotaLimitResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) QuotaLimitResponse { return vs[0].([]QuotaLimitResponse)[vs[1].(int)] @@ -11883,6 +13810,12 @@ func (o QuotaResponseOutput) ToQuotaResponseOutputWithContext(ctx context.Contex return o } +func (o QuotaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QuotaResponse] { + return pulumix.Output[QuotaResponse]{ + OutputState: o.OutputState, + } +} + // List of QuotaLimit definitions for the service. func (o QuotaResponseOutput) Limits() QuotaLimitResponseArrayOutput { return o.ApplyT(func(v QuotaResponse) []QuotaLimitResponse { return v.Limits }).(QuotaLimitResponseArrayOutput) @@ -11928,6 +13861,12 @@ func (i RubySettingsArgs) ToRubySettingsOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, i).(RubySettingsOutput) } +func (i RubySettingsArgs) ToOutput(ctx context.Context) pulumix.Output[RubySettings] { + return pulumix.Output[RubySettings]{ + OutputState: i.ToRubySettingsOutputWithContext(ctx).OutputState, + } +} + func (i RubySettingsArgs) ToRubySettingsPtrOutput() RubySettingsPtrOutput { return i.ToRubySettingsPtrOutputWithContext(context.Background()) } @@ -11969,6 +13908,12 @@ func (i *rubySettingsPtrType) ToRubySettingsPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(RubySettingsPtrOutput) } +func (i *rubySettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*RubySettings] { + return pulumix.Output[*RubySettings]{ + OutputState: i.ToRubySettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Settings for Ruby client libraries. type RubySettingsOutput struct{ *pulumi.OutputState } @@ -11994,6 +13939,12 @@ func (o RubySettingsOutput) ToRubySettingsPtrOutputWithContext(ctx context.Conte }).(RubySettingsPtrOutput) } +func (o RubySettingsOutput) ToOutput(ctx context.Context) pulumix.Output[RubySettings] { + return pulumix.Output[RubySettings]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o RubySettingsOutput) Common() CommonLanguageSettingsPtrOutput { return o.ApplyT(func(v RubySettings) *CommonLanguageSettings { return v.Common }).(CommonLanguageSettingsPtrOutput) @@ -12013,6 +13964,12 @@ func (o RubySettingsPtrOutput) ToRubySettingsPtrOutputWithContext(ctx context.Co return o } +func (o RubySettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RubySettings] { + return pulumix.Output[*RubySettings]{ + OutputState: o.OutputState, + } +} + func (o RubySettingsPtrOutput) Elem() RubySettingsOutput { return o.ApplyT(func(v *RubySettings) RubySettings { if v != nil { @@ -12054,6 +14011,12 @@ func (o RubySettingsResponseOutput) ToRubySettingsResponseOutputWithContext(ctx return o } +func (o RubySettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RubySettingsResponse] { + return pulumix.Output[RubySettingsResponse]{ + OutputState: o.OutputState, + } +} + // Some settings. func (o RubySettingsResponseOutput) Common() CommonLanguageSettingsResponseOutput { return o.ApplyT(func(v RubySettingsResponse) CommonLanguageSettingsResponse { return v.Common }).(CommonLanguageSettingsResponseOutput) @@ -12094,6 +14057,12 @@ func (i SourceContextArgs) ToSourceContextOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SourceContextOutput) } +func (i SourceContextArgs) ToOutput(ctx context.Context) pulumix.Output[SourceContext] { + return pulumix.Output[SourceContext]{ + OutputState: i.ToSourceContextOutputWithContext(ctx).OutputState, + } +} + func (i SourceContextArgs) ToSourceContextPtrOutput() SourceContextPtrOutput { return i.ToSourceContextPtrOutputWithContext(context.Background()) } @@ -12135,6 +14104,12 @@ func (i *sourceContextPtrType) ToSourceContextPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SourceContextPtrOutput) } +func (i *sourceContextPtrType) ToOutput(ctx context.Context) pulumix.Output[*SourceContext] { + return pulumix.Output[*SourceContext]{ + OutputState: i.ToSourceContextPtrOutputWithContext(ctx).OutputState, + } +} + // `SourceContext` represents information about the source of a protobuf element, like the file in which it is defined. type SourceContextOutput struct{ *pulumi.OutputState } @@ -12160,6 +14135,12 @@ func (o SourceContextOutput) ToSourceContextPtrOutputWithContext(ctx context.Con }).(SourceContextPtrOutput) } +func (o SourceContextOutput) ToOutput(ctx context.Context) pulumix.Output[SourceContext] { + return pulumix.Output[SourceContext]{ + OutputState: o.OutputState, + } +} + // The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. func (o SourceContextOutput) FileName() pulumi.StringPtrOutput { return o.ApplyT(func(v SourceContext) *string { return v.FileName }).(pulumi.StringPtrOutput) @@ -12179,6 +14160,12 @@ func (o SourceContextPtrOutput) ToSourceContextPtrOutputWithContext(ctx context. return o } +func (o SourceContextPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SourceContext] { + return pulumix.Output[*SourceContext]{ + OutputState: o.OutputState, + } +} + func (o SourceContextPtrOutput) Elem() SourceContextOutput { return o.ApplyT(func(v *SourceContext) SourceContext { if v != nil { @@ -12220,6 +14207,12 @@ func (o SourceContextResponseOutput) ToSourceContextResponseOutputWithContext(ct return o } +func (o SourceContextResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceContextResponse] { + return pulumix.Output[SourceContextResponse]{ + OutputState: o.OutputState, + } +} + // The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. func (o SourceContextResponseOutput) FileName() pulumi.StringOutput { return o.ApplyT(func(v SourceContextResponse) string { return v.FileName }).(pulumi.StringOutput) @@ -12246,6 +14239,12 @@ func (o SourceInfoResponseOutput) ToSourceInfoResponseOutputWithContext(ctx cont return o } +func (o SourceInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SourceInfoResponse] { + return pulumix.Output[SourceInfoResponse]{ + OutputState: o.OutputState, + } +} + // All files used during config generation. func (o SourceInfoResponseOutput) SourceFiles() pulumi.StringMapArrayOutput { return o.ApplyT(func(v SourceInfoResponse) []map[string]string { return v.SourceFiles }).(pulumi.StringMapArrayOutput) @@ -12294,6 +14293,12 @@ func (i SystemParameterArgs) ToSystemParameterOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SystemParameterOutput) } +func (i SystemParameterArgs) ToOutput(ctx context.Context) pulumix.Output[SystemParameter] { + return pulumix.Output[SystemParameter]{ + OutputState: i.ToSystemParameterOutputWithContext(ctx).OutputState, + } +} + // SystemParameterArrayInput is an input type that accepts SystemParameterArray and SystemParameterArrayOutput values. // You can construct a concrete instance of `SystemParameterArrayInput` via: // @@ -12319,6 +14324,12 @@ func (i SystemParameterArray) ToSystemParameterArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SystemParameterArrayOutput) } +func (i SystemParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]SystemParameter] { + return pulumix.Output[[]SystemParameter]{ + OutputState: i.ToSystemParameterArrayOutputWithContext(ctx).OutputState, + } +} + // Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent. type SystemParameterOutput struct{ *pulumi.OutputState } @@ -12334,6 +14345,12 @@ func (o SystemParameterOutput) ToSystemParameterOutputWithContext(ctx context.Co return o } +func (o SystemParameterOutput) ToOutput(ctx context.Context) pulumix.Output[SystemParameter] { + return pulumix.Output[SystemParameter]{ + OutputState: o.OutputState, + } +} + // Define the HTTP header name to use for the parameter. It is case insensitive. func (o SystemParameterOutput) HttpHeader() pulumi.StringPtrOutput { return o.ApplyT(func(v SystemParameter) *string { return v.HttpHeader }).(pulumi.StringPtrOutput) @@ -12363,6 +14380,12 @@ func (o SystemParameterArrayOutput) ToSystemParameterArrayOutputWithContext(ctx return o } +func (o SystemParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SystemParameter] { + return pulumix.Output[[]SystemParameter]{ + OutputState: o.OutputState, + } +} + func (o SystemParameterArrayOutput) Index(i pulumi.IntInput) SystemParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SystemParameter { return vs[0].([]SystemParameter)[vs[1].(int)] @@ -12394,6 +14417,12 @@ func (o SystemParameterResponseOutput) ToSystemParameterResponseOutputWithContex return o } +func (o SystemParameterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SystemParameterResponse] { + return pulumix.Output[SystemParameterResponse]{ + OutputState: o.OutputState, + } +} + // Define the HTTP header name to use for the parameter. It is case insensitive. func (o SystemParameterResponseOutput) HttpHeader() pulumi.StringOutput { return o.ApplyT(func(v SystemParameterResponse) string { return v.HttpHeader }).(pulumi.StringOutput) @@ -12423,6 +14452,12 @@ func (o SystemParameterResponseArrayOutput) ToSystemParameterResponseArrayOutput return o } +func (o SystemParameterResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SystemParameterResponse] { + return pulumix.Output[[]SystemParameterResponse]{ + OutputState: o.OutputState, + } +} + func (o SystemParameterResponseArrayOutput) Index(i pulumi.IntInput) SystemParameterResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SystemParameterResponse { return vs[0].([]SystemParameterResponse)[vs[1].(int)] @@ -12468,6 +14503,12 @@ func (i SystemParameterRuleArgs) ToSystemParameterRuleOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SystemParameterRuleOutput) } +func (i SystemParameterRuleArgs) ToOutput(ctx context.Context) pulumix.Output[SystemParameterRule] { + return pulumix.Output[SystemParameterRule]{ + OutputState: i.ToSystemParameterRuleOutputWithContext(ctx).OutputState, + } +} + // SystemParameterRuleArrayInput is an input type that accepts SystemParameterRuleArray and SystemParameterRuleArrayOutput values. // You can construct a concrete instance of `SystemParameterRuleArrayInput` via: // @@ -12493,6 +14534,12 @@ func (i SystemParameterRuleArray) ToSystemParameterRuleArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SystemParameterRuleArrayOutput) } +func (i SystemParameterRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]SystemParameterRule] { + return pulumix.Output[[]SystemParameterRule]{ + OutputState: i.ToSystemParameterRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Define a system parameter rule mapping system parameter definitions to methods. type SystemParameterRuleOutput struct{ *pulumi.OutputState } @@ -12508,6 +14555,12 @@ func (o SystemParameterRuleOutput) ToSystemParameterRuleOutputWithContext(ctx co return o } +func (o SystemParameterRuleOutput) ToOutput(ctx context.Context) pulumix.Output[SystemParameterRule] { + return pulumix.Output[SystemParameterRule]{ + OutputState: o.OutputState, + } +} + // Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent. func (o SystemParameterRuleOutput) Parameters() SystemParameterArrayOutput { return o.ApplyT(func(v SystemParameterRule) []SystemParameter { return v.Parameters }).(SystemParameterArrayOutput) @@ -12532,6 +14585,12 @@ func (o SystemParameterRuleArrayOutput) ToSystemParameterRuleArrayOutputWithCont return o } +func (o SystemParameterRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SystemParameterRule] { + return pulumix.Output[[]SystemParameterRule]{ + OutputState: o.OutputState, + } +} + func (o SystemParameterRuleArrayOutput) Index(i pulumi.IntInput) SystemParameterRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SystemParameterRule { return vs[0].([]SystemParameterRule)[vs[1].(int)] @@ -12561,6 +14620,12 @@ func (o SystemParameterRuleResponseOutput) ToSystemParameterRuleResponseOutputWi return o } +func (o SystemParameterRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SystemParameterRuleResponse] { + return pulumix.Output[SystemParameterRuleResponse]{ + OutputState: o.OutputState, + } +} + // Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent. func (o SystemParameterRuleResponseOutput) Parameters() SystemParameterResponseArrayOutput { return o.ApplyT(func(v SystemParameterRuleResponse) []SystemParameterResponse { return v.Parameters }).(SystemParameterResponseArrayOutput) @@ -12585,6 +14650,12 @@ func (o SystemParameterRuleResponseArrayOutput) ToSystemParameterRuleResponseArr return o } +func (o SystemParameterRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SystemParameterRuleResponse] { + return pulumix.Output[[]SystemParameterRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o SystemParameterRuleResponseArrayOutput) Index(i pulumi.IntInput) SystemParameterRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SystemParameterRuleResponse { return vs[0].([]SystemParameterRuleResponse)[vs[1].(int)] @@ -12626,6 +14697,12 @@ func (i SystemParametersArgs) ToSystemParametersOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SystemParametersOutput) } +func (i SystemParametersArgs) ToOutput(ctx context.Context) pulumix.Output[SystemParameters] { + return pulumix.Output[SystemParameters]{ + OutputState: i.ToSystemParametersOutputWithContext(ctx).OutputState, + } +} + func (i SystemParametersArgs) ToSystemParametersPtrOutput() SystemParametersPtrOutput { return i.ToSystemParametersPtrOutputWithContext(context.Background()) } @@ -12667,6 +14744,12 @@ func (i *systemParametersPtrType) ToSystemParametersPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SystemParametersPtrOutput) } +func (i *systemParametersPtrType) ToOutput(ctx context.Context) pulumix.Output[*SystemParameters] { + return pulumix.Output[*SystemParameters]{ + OutputState: i.ToSystemParametersPtrOutputWithContext(ctx).OutputState, + } +} + // ### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters. type SystemParametersOutput struct{ *pulumi.OutputState } @@ -12692,6 +14775,12 @@ func (o SystemParametersOutput) ToSystemParametersPtrOutputWithContext(ctx conte }).(SystemParametersPtrOutput) } +func (o SystemParametersOutput) ToOutput(ctx context.Context) pulumix.Output[SystemParameters] { + return pulumix.Output[SystemParameters]{ + OutputState: o.OutputState, + } +} + // Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order. func (o SystemParametersOutput) Rules() SystemParameterRuleArrayOutput { return o.ApplyT(func(v SystemParameters) []SystemParameterRule { return v.Rules }).(SystemParameterRuleArrayOutput) @@ -12711,6 +14800,12 @@ func (o SystemParametersPtrOutput) ToSystemParametersPtrOutputWithContext(ctx co return o } +func (o SystemParametersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SystemParameters] { + return pulumix.Output[*SystemParameters]{ + OutputState: o.OutputState, + } +} + func (o SystemParametersPtrOutput) Elem() SystemParametersOutput { return o.ApplyT(func(v *SystemParameters) SystemParameters { if v != nil { @@ -12752,6 +14847,12 @@ func (o SystemParametersResponseOutput) ToSystemParametersResponseOutputWithCont return o } +func (o SystemParametersResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SystemParametersResponse] { + return pulumix.Output[SystemParametersResponse]{ + OutputState: o.OutputState, + } +} + // Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order. func (o SystemParametersResponseOutput) Rules() SystemParameterRuleResponseArrayOutput { return o.ApplyT(func(v SystemParametersResponse) []SystemParameterRuleResponse { return v.Rules }).(SystemParameterRuleResponseArrayOutput) @@ -12792,6 +14893,12 @@ func (i TrafficPercentStrategyArgs) ToTrafficPercentStrategyOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(TrafficPercentStrategyOutput) } +func (i TrafficPercentStrategyArgs) ToOutput(ctx context.Context) pulumix.Output[TrafficPercentStrategy] { + return pulumix.Output[TrafficPercentStrategy]{ + OutputState: i.ToTrafficPercentStrategyOutputWithContext(ctx).OutputState, + } +} + func (i TrafficPercentStrategyArgs) ToTrafficPercentStrategyPtrOutput() TrafficPercentStrategyPtrOutput { return i.ToTrafficPercentStrategyPtrOutputWithContext(context.Background()) } @@ -12833,6 +14940,12 @@ func (i *trafficPercentStrategyPtrType) ToTrafficPercentStrategyPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(TrafficPercentStrategyPtrOutput) } +func (i *trafficPercentStrategyPtrType) ToOutput(ctx context.Context) pulumix.Output[*TrafficPercentStrategy] { + return pulumix.Output[*TrafficPercentStrategy]{ + OutputState: i.ToTrafficPercentStrategyPtrOutputWithContext(ctx).OutputState, + } +} + // Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version. One example of how to gradually rollout a new service configuration using this strategy: Day 1 Rollout { id: "example.googleapis.com/rollout_20160206" traffic_percent_strategy { percentages: { "example.googleapis.com/20160201": 70.00 "example.googleapis.com/20160206": 30.00 } } } Day 2 Rollout { id: "example.googleapis.com/rollout_20160207" traffic_percent_strategy: { percentages: { "example.googleapis.com/20160206": 100.00 } } } type TrafficPercentStrategyOutput struct{ *pulumi.OutputState } @@ -12858,6 +14971,12 @@ func (o TrafficPercentStrategyOutput) ToTrafficPercentStrategyPtrOutputWithConte }).(TrafficPercentStrategyPtrOutput) } +func (o TrafficPercentStrategyOutput) ToOutput(ctx context.Context) pulumix.Output[TrafficPercentStrategy] { + return pulumix.Output[TrafficPercentStrategy]{ + OutputState: o.OutputState, + } +} + // Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0. func (o TrafficPercentStrategyOutput) Percentages() pulumi.StringMapOutput { return o.ApplyT(func(v TrafficPercentStrategy) map[string]string { return v.Percentages }).(pulumi.StringMapOutput) @@ -12877,6 +14996,12 @@ func (o TrafficPercentStrategyPtrOutput) ToTrafficPercentStrategyPtrOutputWithCo return o } +func (o TrafficPercentStrategyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TrafficPercentStrategy] { + return pulumix.Output[*TrafficPercentStrategy]{ + OutputState: o.OutputState, + } +} + func (o TrafficPercentStrategyPtrOutput) Elem() TrafficPercentStrategyOutput { return o.ApplyT(func(v *TrafficPercentStrategy) TrafficPercentStrategy { if v != nil { @@ -12918,6 +15043,12 @@ func (o TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponseOu return o } +func (o TrafficPercentStrategyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TrafficPercentStrategyResponse] { + return pulumix.Output[TrafficPercentStrategyResponse]{ + OutputState: o.OutputState, + } +} + // Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0. func (o TrafficPercentStrategyResponseOutput) Percentages() pulumi.StringMapOutput { return o.ApplyT(func(v TrafficPercentStrategyResponse) map[string]string { return v.Percentages }).(pulumi.StringMapOutput) @@ -12982,6 +15113,12 @@ func (i TypeArgs) ToTypeOutputWithContext(ctx context.Context) TypeOutput { return pulumi.ToOutputWithContext(ctx, i).(TypeOutput) } +func (i TypeArgs) ToOutput(ctx context.Context) pulumix.Output[Type] { + return pulumix.Output[Type]{ + OutputState: i.ToTypeOutputWithContext(ctx).OutputState, + } +} + // TypeArrayInput is an input type that accepts TypeArray and TypeArrayOutput values. // You can construct a concrete instance of `TypeArrayInput` via: // @@ -13007,6 +15144,12 @@ func (i TypeArray) ToTypeArrayOutputWithContext(ctx context.Context) TypeArrayOu return pulumi.ToOutputWithContext(ctx, i).(TypeArrayOutput) } +func (i TypeArray) ToOutput(ctx context.Context) pulumix.Output[[]Type] { + return pulumix.Output[[]Type]{ + OutputState: i.ToTypeArrayOutputWithContext(ctx).OutputState, + } +} + // A protocol buffer message type. type TypeOutput struct{ *pulumi.OutputState } @@ -13022,6 +15165,12 @@ func (o TypeOutput) ToTypeOutputWithContext(ctx context.Context) TypeOutput { return o } +func (o TypeOutput) ToOutput(ctx context.Context) pulumix.Output[Type] { + return pulumix.Output[Type]{ + OutputState: o.OutputState, + } +} + // The source edition string, only valid when syntax is SYNTAX_EDITIONS. func (o TypeOutput) Edition() pulumi.StringPtrOutput { return o.ApplyT(func(v Type) *string { return v.Edition }).(pulumi.StringPtrOutput) @@ -13071,6 +15220,12 @@ func (o TypeArrayOutput) ToTypeArrayOutputWithContext(ctx context.Context) TypeA return o } +func (o TypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Type] { + return pulumix.Output[[]Type]{ + OutputState: o.OutputState, + } +} + func (o TypeArrayOutput) Index(i pulumi.IntInput) TypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Type { return vs[0].([]Type)[vs[1].(int)] @@ -13110,6 +15265,12 @@ func (o TypeResponseOutput) ToTypeResponseOutputWithContext(ctx context.Context) return o } +func (o TypeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TypeResponse] { + return pulumix.Output[TypeResponse]{ + OutputState: o.OutputState, + } +} + // The source edition string, only valid when syntax is SYNTAX_EDITIONS. func (o TypeResponseOutput) Edition() pulumi.StringOutput { return o.ApplyT(func(v TypeResponse) string { return v.Edition }).(pulumi.StringOutput) @@ -13159,6 +15320,12 @@ func (o TypeResponseArrayOutput) ToTypeResponseArrayOutputWithContext(ctx contex return o } +func (o TypeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TypeResponse] { + return pulumix.Output[[]TypeResponse]{ + OutputState: o.OutputState, + } +} + func (o TypeResponseArrayOutput) Index(i pulumi.IntInput) TypeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TypeResponse { return vs[0].([]TypeResponse)[vs[1].(int)] @@ -13208,6 +15375,12 @@ func (i UsageArgs) ToUsageOutputWithContext(ctx context.Context) UsageOutput { return pulumi.ToOutputWithContext(ctx, i).(UsageOutput) } +func (i UsageArgs) ToOutput(ctx context.Context) pulumix.Output[Usage] { + return pulumix.Output[Usage]{ + OutputState: i.ToUsageOutputWithContext(ctx).OutputState, + } +} + func (i UsageArgs) ToUsagePtrOutput() UsagePtrOutput { return i.ToUsagePtrOutputWithContext(context.Background()) } @@ -13249,6 +15422,12 @@ func (i *usagePtrType) ToUsagePtrOutputWithContext(ctx context.Context) UsagePtr return pulumi.ToOutputWithContext(ctx, i).(UsagePtrOutput) } +func (i *usagePtrType) ToOutput(ctx context.Context) pulumix.Output[*Usage] { + return pulumix.Output[*Usage]{ + OutputState: i.ToUsagePtrOutputWithContext(ctx).OutputState, + } +} + // Configuration controlling usage of a service. type UsageOutput struct{ *pulumi.OutputState } @@ -13274,6 +15453,12 @@ func (o UsageOutput) ToUsagePtrOutputWithContext(ctx context.Context) UsagePtrOu }).(UsagePtrOutput) } +func (o UsageOutput) ToOutput(ctx context.Context) pulumix.Output[Usage] { + return pulumix.Output[Usage]{ + OutputState: o.OutputState, + } +} + // The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview. func (o UsageOutput) ProducerNotificationChannel() pulumi.StringPtrOutput { return o.ApplyT(func(v Usage) *string { return v.ProducerNotificationChannel }).(pulumi.StringPtrOutput) @@ -13303,6 +15488,12 @@ func (o UsagePtrOutput) ToUsagePtrOutputWithContext(ctx context.Context) UsagePt return o } +func (o UsagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Usage] { + return pulumix.Output[*Usage]{ + OutputState: o.OutputState, + } +} + func (o UsagePtrOutput) Elem() UsageOutput { return o.ApplyT(func(v *Usage) Usage { if v != nil { @@ -13368,6 +15559,12 @@ func (o UsageResponseOutput) ToUsageResponseOutputWithContext(ctx context.Contex return o } +func (o UsageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UsageResponse] { + return pulumix.Output[UsageResponse]{ + OutputState: o.OutputState, + } +} + // The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview. func (o UsageResponseOutput) ProducerNotificationChannel() pulumi.StringOutput { return o.ApplyT(func(v UsageResponse) string { return v.ProducerNotificationChannel }).(pulumi.StringOutput) @@ -13426,6 +15623,12 @@ func (i UsageRuleArgs) ToUsageRuleOutputWithContext(ctx context.Context) UsageRu return pulumi.ToOutputWithContext(ctx, i).(UsageRuleOutput) } +func (i UsageRuleArgs) ToOutput(ctx context.Context) pulumix.Output[UsageRule] { + return pulumix.Output[UsageRule]{ + OutputState: i.ToUsageRuleOutputWithContext(ctx).OutputState, + } +} + // UsageRuleArrayInput is an input type that accepts UsageRuleArray and UsageRuleArrayOutput values. // You can construct a concrete instance of `UsageRuleArrayInput` via: // @@ -13451,6 +15654,12 @@ func (i UsageRuleArray) ToUsageRuleArrayOutputWithContext(ctx context.Context) U return pulumi.ToOutputWithContext(ctx, i).(UsageRuleArrayOutput) } +func (i UsageRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]UsageRule] { + return pulumix.Output[[]UsageRule]{ + OutputState: i.ToUsageRuleArrayOutputWithContext(ctx).OutputState, + } +} + // Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true type UsageRuleOutput struct{ *pulumi.OutputState } @@ -13466,6 +15675,12 @@ func (o UsageRuleOutput) ToUsageRuleOutputWithContext(ctx context.Context) Usage return o } +func (o UsageRuleOutput) ToOutput(ctx context.Context) pulumix.Output[UsageRule] { + return pulumix.Output[UsageRule]{ + OutputState: o.OutputState, + } +} + // If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application. func (o UsageRuleOutput) AllowUnregisteredCalls() pulumi.BoolPtrOutput { return o.ApplyT(func(v UsageRule) *bool { return v.AllowUnregisteredCalls }).(pulumi.BoolPtrOutput) @@ -13495,6 +15710,12 @@ func (o UsageRuleArrayOutput) ToUsageRuleArrayOutputWithContext(ctx context.Cont return o } +func (o UsageRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UsageRule] { + return pulumix.Output[[]UsageRule]{ + OutputState: o.OutputState, + } +} + func (o UsageRuleArrayOutput) Index(i pulumi.IntInput) UsageRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UsageRule { return vs[0].([]UsageRule)[vs[1].(int)] @@ -13526,6 +15747,12 @@ func (o UsageRuleResponseOutput) ToUsageRuleResponseOutputWithContext(ctx contex return o } +func (o UsageRuleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UsageRuleResponse] { + return pulumix.Output[UsageRuleResponse]{ + OutputState: o.OutputState, + } +} + // If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application. func (o UsageRuleResponseOutput) AllowUnregisteredCalls() pulumi.BoolOutput { return o.ApplyT(func(v UsageRuleResponse) bool { return v.AllowUnregisteredCalls }).(pulumi.BoolOutput) @@ -13555,6 +15782,12 @@ func (o UsageRuleResponseArrayOutput) ToUsageRuleResponseArrayOutputWithContext( return o } +func (o UsageRuleResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]UsageRuleResponse] { + return pulumix.Output[[]UsageRuleResponse]{ + OutputState: o.OutputState, + } +} + func (o UsageRuleResponseArrayOutput) Index(i pulumi.IntInput) UsageRuleResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) UsageRuleResponse { return vs[0].([]UsageRuleResponse)[vs[1].(int)] diff --git a/sdk/go/google/servicemanagement/v1/rollout.go b/sdk/go/google/servicemanagement/v1/rollout.go index aaf1e615f3..dde30fa410 100644 --- a/sdk/go/google/servicemanagement/v1/rollout.go +++ b/sdk/go/google/servicemanagement/v1/rollout.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation @@ -134,6 +135,12 @@ func (i *Rollout) ToRolloutOutputWithContext(ctx context.Context) RolloutOutput return pulumi.ToOutputWithContext(ctx, i).(RolloutOutput) } +func (i *Rollout) ToOutput(ctx context.Context) pulumix.Output[*Rollout] { + return pulumix.Output[*Rollout]{ + OutputState: i.ToRolloutOutputWithContext(ctx).OutputState, + } +} + type RolloutOutput struct{ *pulumi.OutputState } func (RolloutOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o RolloutOutput) ToRolloutOutputWithContext(ctx context.Context) RolloutOu return o } +func (o RolloutOutput) ToOutput(ctx context.Context) pulumix.Output[*Rollout] { + return pulumix.Output[*Rollout]{ + OutputState: o.OutputState, + } +} + // Creation time of the rollout. Readonly. func (o RolloutOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Rollout) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicemanagement/v1/service.go b/sdk/go/google/servicemanagement/v1/service.go index ae9e08ac92..0034a7734d 100644 --- a/sdk/go/google/servicemanagement/v1/service.go +++ b/sdk/go/google/servicemanagement/v1/service.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new managed service. A managed service is immutable, and is subject to mandatory 30-day data retention. You cannot move a service or recreate it within 30 days after deletion. One producer project can own no more than 500 services. For security and reliability purposes, a production service should be hosted in a dedicated producer project. Operation @@ -99,6 +100,12 @@ func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput return pulumi.ToOutputWithContext(ctx, i).(ServiceOutput) } +func (i *Service) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: i.ToServiceOutputWithContext(ctx).OutputState, + } +} + type ServiceOutput struct{ *pulumi.OutputState } func (ServiceOutput) ElementType() reflect.Type { @@ -113,6 +120,12 @@ func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOu return o } +func (o ServiceOutput) ToOutput(ctx context.Context) pulumix.Output[*Service] { + return pulumix.Output[*Service]{ + OutputState: o.OutputState, + } +} + // ID of the project that produces and owns this service. func (o ServiceOutput) ProducerProjectId() pulumi.StringOutput { return o.ApplyT(func(v *Service) pulumi.StringOutput { return v.ProducerProjectId }).(pulumi.StringOutput) diff --git a/sdk/go/google/servicemanagement/v1/serviceConsumerIamBinding.go b/sdk/go/google/servicemanagement/v1/serviceConsumerIamBinding.go index 47bbcbcfc6..7c259aeb3c 100644 --- a/sdk/go/google/servicemanagement/v1/serviceConsumerIamBinding.go +++ b/sdk/go/google/servicemanagement/v1/serviceConsumerIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceConsumerIamBinding) ToServiceConsumerIamBindingOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ServiceConsumerIamBindingOutput) } +func (i *ServiceConsumerIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceConsumerIamBinding] { + return pulumix.Output[*ServiceConsumerIamBinding]{ + OutputState: i.ToServiceConsumerIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceConsumerIamBindingOutput struct{ *pulumi.OutputState } func (ServiceConsumerIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceConsumerIamBindingOutput) ToServiceConsumerIamBindingOutputWithCo return o } +func (o ServiceConsumerIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConsumerIamBinding] { + return pulumix.Output[*ServiceConsumerIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceConsumerIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceConsumerIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicemanagement/v1/serviceConsumerIamMember.go b/sdk/go/google/servicemanagement/v1/serviceConsumerIamMember.go index 70b7db7e61..db660ec8df 100644 --- a/sdk/go/google/servicemanagement/v1/serviceConsumerIamMember.go +++ b/sdk/go/google/servicemanagement/v1/serviceConsumerIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceConsumerIamMember) ToServiceConsumerIamMemberOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServiceConsumerIamMemberOutput) } +func (i *ServiceConsumerIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceConsumerIamMember] { + return pulumix.Output[*ServiceConsumerIamMember]{ + OutputState: i.ToServiceConsumerIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceConsumerIamMemberOutput struct{ *pulumi.OutputState } func (ServiceConsumerIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceConsumerIamMemberOutput) ToServiceConsumerIamMemberOutputWithCont return o } +func (o ServiceConsumerIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConsumerIamMember] { + return pulumix.Output[*ServiceConsumerIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceConsumerIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceConsumerIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicemanagement/v1/serviceConsumerIamPolicy.go b/sdk/go/google/servicemanagement/v1/serviceConsumerIamPolicy.go index d10693c449..503e9287b9 100644 --- a/sdk/go/google/servicemanagement/v1/serviceConsumerIamPolicy.go +++ b/sdk/go/google/servicemanagement/v1/serviceConsumerIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -134,6 +135,12 @@ func (i *ServiceConsumerIamPolicy) ToServiceConsumerIamPolicyOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(ServiceConsumerIamPolicyOutput) } +func (i *ServiceConsumerIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceConsumerIamPolicy] { + return pulumix.Output[*ServiceConsumerIamPolicy]{ + OutputState: i.ToServiceConsumerIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceConsumerIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceConsumerIamPolicyOutput) ElementType() reflect.Type { @@ -148,6 +155,12 @@ func (o ServiceConsumerIamPolicyOutput) ToServiceConsumerIamPolicyOutputWithCont return o } +func (o ServiceConsumerIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceConsumerIamPolicy] { + return pulumix.Output[*ServiceConsumerIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceConsumerIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceConsumerIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/servicemanagement/v1/serviceIamBinding.go b/sdk/go/google/servicemanagement/v1/serviceIamBinding.go index a07fec128e..d306d98cea 100644 --- a/sdk/go/google/servicemanagement/v1/serviceIamBinding.go +++ b/sdk/go/google/servicemanagement/v1/serviceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceIamBinding) ToServiceIamBindingOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ServiceIamBindingOutput) } +func (i *ServiceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: i.ToServiceIamBindingOutputWithContext(ctx).OutputState, + } +} + type ServiceIamBindingOutput struct{ *pulumi.OutputState } func (ServiceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamBindingOutput) ToServiceIamBindingOutputWithContext(ctx contex return o } +func (o ServiceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamBinding] { + return pulumix.Output[*ServiceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicemanagement/v1/serviceIamMember.go b/sdk/go/google/servicemanagement/v1/serviceIamMember.go index a8da169c6b..c9476682fc 100644 --- a/sdk/go/google/servicemanagement/v1/serviceIamMember.go +++ b/sdk/go/google/servicemanagement/v1/serviceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *ServiceIamMember) ToServiceIamMemberOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamMemberOutput) } +func (i *ServiceIamMember) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: i.ToServiceIamMemberOutputWithContext(ctx).OutputState, + } +} + type ServiceIamMemberOutput struct{ *pulumi.OutputState } func (ServiceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o ServiceIamMemberOutput) ToServiceIamMemberOutputWithContext(ctx context. return o } +func (o ServiceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamMember] { + return pulumix.Output[*ServiceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ServiceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ServiceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/servicemanagement/v1/serviceIamPolicy.go b/sdk/go/google/servicemanagement/v1/serviceIamPolicy.go index 9d4580cebc..292008d9cd 100644 --- a/sdk/go/google/servicemanagement/v1/serviceIamPolicy.go +++ b/sdk/go/google/servicemanagement/v1/serviceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -127,6 +128,12 @@ func (i *ServiceIamPolicy) ToServiceIamPolicyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ServiceIamPolicyOutput) } +func (i *ServiceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: i.ToServiceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ServiceIamPolicyOutput struct{ *pulumi.OutputState } func (ServiceIamPolicyOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o ServiceIamPolicyOutput) ToServiceIamPolicyOutputWithContext(ctx context. return o } +func (o ServiceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceIamPolicy] { + return pulumix.Output[*ServiceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o ServiceIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *ServiceIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/sourcerepo/v1/getRepo.go b/sdk/go/google/sourcerepo/v1/getRepo.go index e1c15e9655..0131b8c7cf 100644 --- a/sdk/go/google/sourcerepo/v1/getRepo.go +++ b/sdk/go/google/sourcerepo/v1/getRepo.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns information about a repo. @@ -76,6 +77,12 @@ func (o LookupRepoResultOutput) ToLookupRepoResultOutputWithContext(ctx context. return o } +func (o LookupRepoResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepoResult] { + return pulumix.Output[LookupRepoResult]{ + OutputState: o.OutputState, + } +} + // How this repository mirrors a repository managed by another service. Read-only field. func (o LookupRepoResultOutput) MirrorConfig() MirrorConfigResponseOutput { return o.ApplyT(func(v LookupRepoResult) MirrorConfigResponse { return v.MirrorConfig }).(MirrorConfigResponseOutput) diff --git a/sdk/go/google/sourcerepo/v1/getRepoIamPolicy.go b/sdk/go/google/sourcerepo/v1/getRepoIamPolicy.go index d8075b2e81..c95207caee 100644 --- a/sdk/go/google/sourcerepo/v1/getRepoIamPolicy.go +++ b/sdk/go/google/sourcerepo/v1/getRepoIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -76,6 +77,12 @@ func (o LookupRepoIamPolicyResultOutput) ToLookupRepoIamPolicyResultOutputWithCo return o } +func (o LookupRepoIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRepoIamPolicyResult] { + return pulumix.Output[LookupRepoIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupRepoIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupRepoIamPolicyResult) []AuditConfigResponse { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/sourcerepo/v1/pulumiEnums.go b/sdk/go/google/sourcerepo/v1/pulumiEnums.go index 1933426dfd..57f0421e67 100644 --- a/sdk/go/google/sourcerepo/v1/pulumiEnums.go +++ b/sdk/go/google/sourcerepo/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/sourcerepo/v1/pulumiTypes.go b/sdk/go/google/sourcerepo/v1/pulumiTypes.go index 00eccc5d0c..9701936691 100644 --- a/sdk/go/google/sourcerepo/v1/pulumiTypes.go +++ b/sdk/go/google/sourcerepo/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -77,6 +84,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -116,6 +135,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -169,6 +200,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -278,6 +333,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -331,6 +398,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -380,6 +453,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -405,6 +484,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -420,6 +505,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -449,6 +540,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -480,6 +577,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -509,6 +612,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -562,6 +671,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -603,6 +718,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -628,6 +749,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -662,6 +789,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -739,6 +872,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -802,6 +941,12 @@ func (i MirrorConfigArgs) ToMirrorConfigOutputWithContext(ctx context.Context) M return pulumi.ToOutputWithContext(ctx, i).(MirrorConfigOutput) } +func (i MirrorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[MirrorConfig] { + return pulumix.Output[MirrorConfig]{ + OutputState: i.ToMirrorConfigOutputWithContext(ctx).OutputState, + } +} + func (i MirrorConfigArgs) ToMirrorConfigPtrOutput() MirrorConfigPtrOutput { return i.ToMirrorConfigPtrOutputWithContext(context.Background()) } @@ -843,6 +988,12 @@ func (i *mirrorConfigPtrType) ToMirrorConfigPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(MirrorConfigPtrOutput) } +func (i *mirrorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*MirrorConfig] { + return pulumix.Output[*MirrorConfig]{ + OutputState: i.ToMirrorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket. type MirrorConfigOutput struct{ *pulumi.OutputState } @@ -868,6 +1019,12 @@ func (o MirrorConfigOutput) ToMirrorConfigPtrOutputWithContext(ctx context.Conte }).(MirrorConfigPtrOutput) } +func (o MirrorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[MirrorConfig] { + return pulumix.Output[MirrorConfig]{ + OutputState: o.OutputState, + } +} + // ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring. func (o MirrorConfigOutput) DeployKeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v MirrorConfig) *string { return v.DeployKeyId }).(pulumi.StringPtrOutput) @@ -897,6 +1054,12 @@ func (o MirrorConfigPtrOutput) ToMirrorConfigPtrOutputWithContext(ctx context.Co return o } +func (o MirrorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MirrorConfig] { + return pulumix.Output[*MirrorConfig]{ + OutputState: o.OutputState, + } +} + func (o MirrorConfigPtrOutput) Elem() MirrorConfigOutput { return o.ApplyT(func(v *MirrorConfig) MirrorConfig { if v != nil { @@ -962,6 +1125,12 @@ func (o MirrorConfigResponseOutput) ToMirrorConfigResponseOutputWithContext(ctx return o } +func (o MirrorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MirrorConfigResponse] { + return pulumix.Output[MirrorConfigResponse]{ + OutputState: o.OutputState, + } +} + // ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring. func (o MirrorConfigResponseOutput) DeployKeyId() pulumi.StringOutput { return o.ApplyT(func(v MirrorConfigResponse) string { return v.DeployKeyId }).(pulumi.StringOutput) diff --git a/sdk/go/google/sourcerepo/v1/repo.go b/sdk/go/google/sourcerepo/v1/repo.go index ec85f4893b..d42015e637 100644 --- a/sdk/go/google/sourcerepo/v1/repo.go +++ b/sdk/go/google/sourcerepo/v1/repo.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a repo in the given project with the given name. If the named repository already exists, `CreateRepo` returns `ALREADY_EXISTS`. @@ -123,6 +124,12 @@ func (i *Repo) ToRepoOutputWithContext(ctx context.Context) RepoOutput { return pulumi.ToOutputWithContext(ctx, i).(RepoOutput) } +func (i *Repo) ToOutput(ctx context.Context) pulumix.Output[*Repo] { + return pulumix.Output[*Repo]{ + OutputState: i.ToRepoOutputWithContext(ctx).OutputState, + } +} + type RepoOutput struct{ *pulumi.OutputState } func (RepoOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o RepoOutput) ToRepoOutputWithContext(ctx context.Context) RepoOutput { return o } +func (o RepoOutput) ToOutput(ctx context.Context) pulumix.Output[*Repo] { + return pulumix.Output[*Repo]{ + OutputState: o.OutputState, + } +} + // How this repository mirrors a repository managed by another service. Read-only field. func (o RepoOutput) MirrorConfig() MirrorConfigResponseOutput { return o.ApplyT(func(v *Repo) MirrorConfigResponseOutput { return v.MirrorConfig }).(MirrorConfigResponseOutput) diff --git a/sdk/go/google/sourcerepo/v1/repoIamBinding.go b/sdk/go/google/sourcerepo/v1/repoIamBinding.go index eda2b4bacd..52e46996ac 100644 --- a/sdk/go/google/sourcerepo/v1/repoIamBinding.go +++ b/sdk/go/google/sourcerepo/v1/repoIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RepoIamBinding) ToRepoIamBindingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RepoIamBindingOutput) } +func (i *RepoIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RepoIamBinding] { + return pulumix.Output[*RepoIamBinding]{ + OutputState: i.ToRepoIamBindingOutputWithContext(ctx).OutputState, + } +} + type RepoIamBindingOutput struct{ *pulumi.OutputState } func (RepoIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepoIamBindingOutput) ToRepoIamBindingOutputWithContext(ctx context.Cont return o } +func (o RepoIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RepoIamBinding] { + return pulumix.Output[*RepoIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepoIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepoIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/sourcerepo/v1/repoIamMember.go b/sdk/go/google/sourcerepo/v1/repoIamMember.go index 117f198f55..f6bdcaa8a4 100644 --- a/sdk/go/google/sourcerepo/v1/repoIamMember.go +++ b/sdk/go/google/sourcerepo/v1/repoIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -135,6 +136,12 @@ func (i *RepoIamMember) ToRepoIamMemberOutputWithContext(ctx context.Context) Re return pulumi.ToOutputWithContext(ctx, i).(RepoIamMemberOutput) } +func (i *RepoIamMember) ToOutput(ctx context.Context) pulumix.Output[*RepoIamMember] { + return pulumix.Output[*RepoIamMember]{ + OutputState: i.ToRepoIamMemberOutputWithContext(ctx).OutputState, + } +} + type RepoIamMemberOutput struct{ *pulumi.OutputState } func (RepoIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o RepoIamMemberOutput) ToRepoIamMemberOutputWithContext(ctx context.Contex return o } +func (o RepoIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RepoIamMember] { + return pulumix.Output[*RepoIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o RepoIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *RepoIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/sourcerepo/v1/repoIamPolicy.go b/sdk/go/google/sourcerepo/v1/repoIamPolicy.go index 04cf8757b1..84147da6b0 100644 --- a/sdk/go/google/sourcerepo/v1/repoIamPolicy.go +++ b/sdk/go/google/sourcerepo/v1/repoIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. @@ -131,6 +132,12 @@ func (i *RepoIamPolicy) ToRepoIamPolicyOutputWithContext(ctx context.Context) Re return pulumi.ToOutputWithContext(ctx, i).(RepoIamPolicyOutput) } +func (i *RepoIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RepoIamPolicy] { + return pulumix.Output[*RepoIamPolicy]{ + OutputState: i.ToRepoIamPolicyOutputWithContext(ctx).OutputState, + } +} + type RepoIamPolicyOutput struct{ *pulumi.OutputState } func (RepoIamPolicyOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o RepoIamPolicyOutput) ToRepoIamPolicyOutputWithContext(ctx context.Contex return o } +func (o RepoIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RepoIamPolicy] { + return pulumix.Output[*RepoIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o RepoIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *RepoIamPolicy) AuditConfigResponseArrayOutput { return v.AuditConfigs }).(AuditConfigResponseArrayOutput) diff --git a/sdk/go/google/spanner/v1/backup.go b/sdk/go/google/spanner/v1/backup.go index 64ebb30d98..4fb044b6ef 100644 --- a/sdk/go/google/spanner/v1/backup.go +++ b/sdk/go/google/spanner/v1/backup.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Starts creating a new Cloud Spanner Backup. The returned backup long-running operation will have a name of the format `projects//instances//backups//operations/` and can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup. There can be only one pending backup creation per database. Backup creation of different databases can run concurrently. @@ -167,6 +168,12 @@ func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput { return pulumi.ToOutputWithContext(ctx, i).(BackupOutput) } +func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: i.ToBackupOutputWithContext(ctx).OutputState, + } +} + type BackupOutput struct{ *pulumi.OutputState } func (BackupOutput) ElementType() reflect.Type { @@ -181,6 +188,12 @@ func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutpu return o } +func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup] { + return pulumix.Output[*Backup]{ + OutputState: o.OutputState, + } +} + // Required. The id of the backup to be created. The `backup_id` appended to `parent` forms the full backup name of the form `projects//instances//backups/`. func (o BackupOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *Backup) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) diff --git a/sdk/go/google/spanner/v1/database.go b/sdk/go/google/spanner/v1/database.go index ed198267b5..26d7976820 100644 --- a/sdk/go/google/spanner/v1/database.go +++ b/sdk/go/google/spanner/v1/database.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Cloud Spanner database and starts to prepare it for serving. The returned long-running operation will have a name of the format `/operations/` and can be used to track preparation of the database. The metadata field type is CreateDatabaseMetadata. The response field type is Database, if successful. @@ -149,6 +150,12 @@ func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutp return pulumi.ToOutputWithContext(ctx, i).(DatabaseOutput) } +func (i *Database) ToOutput(ctx context.Context) pulumix.Output[*Database] { + return pulumix.Output[*Database]{ + OutputState: i.ToDatabaseOutputWithContext(ctx).OutputState, + } +} + type DatabaseOutput struct{ *pulumi.OutputState } func (DatabaseOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) Databas return o } +func (o DatabaseOutput) ToOutput(ctx context.Context) pulumix.Output[*Database] { + return pulumix.Output[*Database]{ + OutputState: o.OutputState, + } +} + // If exists, the time at which the database creation started. func (o DatabaseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Database) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/spanner/v1/getBackup.go b/sdk/go/google/spanner/v1/getBackup.go index cc950b5fa9..75bad8b22b 100644 --- a/sdk/go/google/spanner/v1/getBackup.go +++ b/sdk/go/google/spanner/v1/getBackup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets metadata on a pending or completed Backup. @@ -92,6 +93,12 @@ func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx cont return o } +func (o LookupBackupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupResult] { + return pulumix.Output[LookupBackupResult]{ + OutputState: o.OutputState, + } +} + // The time the CreateBackup request is received. If the request does not specify `version_time`, the `version_time` of the backup will be equivalent to the `create_time`. func (o LookupBackupResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/spanner/v1/getDatabase.go b/sdk/go/google/spanner/v1/getDatabase.go index 73c7a5811b..7a2f7a667c 100644 --- a/sdk/go/google/spanner/v1/getDatabase.go +++ b/sdk/go/google/spanner/v1/getDatabase.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the state of a Cloud Spanner database. @@ -92,6 +93,12 @@ func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx return o } +func (o LookupDatabaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatabaseResult] { + return pulumix.Output[LookupDatabaseResult]{ + OutputState: o.OutputState, + } +} + // If exists, the time at which the database creation started. func (o LookupDatabaseResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupDatabaseResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/spanner/v1/getInstance.go b/sdk/go/google/spanner/v1/getInstance.go index af77d2a803..bd343a7f45 100644 --- a/sdk/go/google/spanner/v1/getInstance.go +++ b/sdk/go/google/spanner/v1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a particular instance. @@ -94,6 +95,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // The name of the instance's configuration. Values are of the form `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs. func (o LookupInstanceResultOutput) Config() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceResult) string { return v.Config }).(pulumi.StringOutput) diff --git a/sdk/go/google/spanner/v1/getInstanceBackupIamPolicy.go b/sdk/go/google/spanner/v1/getInstanceBackupIamPolicy.go index 0d1b885a00..b1ce2d841e 100644 --- a/sdk/go/google/spanner/v1/getInstanceBackupIamPolicy.go +++ b/sdk/go/google/spanner/v1/getInstanceBackupIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource. @@ -74,6 +75,12 @@ func (o LookupInstanceBackupIamPolicyResultOutput) ToLookupInstanceBackupIamPoli return o } +func (o LookupInstanceBackupIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceBackupIamPolicyResult] { + return pulumix.Output[LookupInstanceBackupIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupInstanceBackupIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupInstanceBackupIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/spanner/v1/getInstanceConfig.go b/sdk/go/google/spanner/v1/getInstanceConfig.go index a16d10654a..6f9f935d02 100644 --- a/sdk/go/google/spanner/v1/getInstanceConfig.go +++ b/sdk/go/google/spanner/v1/getInstanceConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information about a particular instance configuration. @@ -90,6 +91,12 @@ func (o LookupInstanceConfigResultOutput) ToLookupInstanceConfigResultOutputWith return o } +func (o LookupInstanceConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceConfigResult] { + return pulumix.Output[LookupInstanceConfigResult]{ + OutputState: o.OutputState, + } +} + // Base configuration name, e.g. projects//instanceConfigs/nam3, based on which this configuration is created. Only set for user managed configurations. `base_config` must refer to a configuration of type GOOGLE_MANAGED in the same project as this configuration. func (o LookupInstanceConfigResultOutput) BaseConfig() pulumi.StringOutput { return o.ApplyT(func(v LookupInstanceConfigResult) string { return v.BaseConfig }).(pulumi.StringOutput) diff --git a/sdk/go/google/spanner/v1/getInstanceDatabaseIamPolicy.go b/sdk/go/google/spanner/v1/getInstanceDatabaseIamPolicy.go index 4da00dae84..f173e8ec26 100644 --- a/sdk/go/google/spanner/v1/getInstanceDatabaseIamPolicy.go +++ b/sdk/go/google/spanner/v1/getInstanceDatabaseIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource. @@ -74,6 +75,12 @@ func (o LookupInstanceDatabaseIamPolicyResultOutput) ToLookupInstanceDatabaseIam return o } +func (o LookupInstanceDatabaseIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceDatabaseIamPolicyResult] { + return pulumix.Output[LookupInstanceDatabaseIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupInstanceDatabaseIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupInstanceDatabaseIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/spanner/v1/getInstanceIamPolicy.go b/sdk/go/google/spanner/v1/getInstanceIamPolicy.go index 5382e75f9f..06d2d1eb58 100644 --- a/sdk/go/google/spanner/v1/getInstanceIamPolicy.go +++ b/sdk/go/google/spanner/v1/getInstanceIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set. Authorization requires `spanner.instances.getIamPolicy` on resource. @@ -72,6 +73,12 @@ func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutp return o } +func (o LookupInstanceIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceIamPolicyResult] { + return pulumix.Output[LookupInstanceIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o LookupInstanceIamPolicyResultOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v LookupInstanceIamPolicyResult) []BindingResponse { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/spanner/v1/getSession.go b/sdk/go/google/spanner/v1/getSession.go index efceaca751..a34c37a089 100644 --- a/sdk/go/google/spanner/v1/getSession.go +++ b/sdk/go/google/spanner/v1/getSession.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a session. Returns `NOT_FOUND` if the session does not exist. This is mainly useful for determining whether a session is still alive. @@ -80,6 +81,12 @@ func (o LookupSessionResultOutput) ToLookupSessionResultOutputWithContext(ctx co return o } +func (o LookupSessionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSessionResult] { + return pulumix.Output[LookupSessionResult]{ + OutputState: o.OutputState, + } +} + // The approximate timestamp when the session is last used. It is typically earlier than the actual last use time. func (o LookupSessionResultOutput) ApproximateLastUseTime() pulumi.StringOutput { return o.ApplyT(func(v LookupSessionResult) string { return v.ApproximateLastUseTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/spanner/v1/instance.go b/sdk/go/google/spanner/v1/instance.go index ae108d10bd..a9cebe3903 100644 --- a/sdk/go/google/spanner/v1/instance.go +++ b/sdk/go/google/spanner/v1/instance.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance and begins preparing it to begin serving. The returned long-running operation can be used to track the progress of preparing the new instance. The instance name is assigned by the caller. If the named instance already exists, `CreateInstance` returns `ALREADY_EXISTS`. Immediately upon completion of this request: * The instance is readable via the API, with all requested attributes but no allocated resources. Its state is `CREATING`. Until completion of the returned operation: * Cancelling the operation renders the instance immediately unreadable via the API. * The instance can be deleted. * All other attempts to modify the instance are rejected. Upon completion of the returned operation: * Billing for all successfully-allocated resources begins (some types may have lower than the requested levels). * Databases can be created in the instance. * The instance's allocated resource levels are readable via the API. * The instance's state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance. The metadata field type is CreateInstanceMetadata. The response field type is Instance, if successful. @@ -173,6 +174,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -187,6 +194,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // The name of the instance's configuration. Values are of the form `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs. func (o InstanceOutput) Config() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.Config }).(pulumi.StringOutput) diff --git a/sdk/go/google/spanner/v1/instanceBackupIamBinding.go b/sdk/go/google/spanner/v1/instanceBackupIamBinding.go index 2b098462bc..be8d84938b 100644 --- a/sdk/go/google/spanner/v1/instanceBackupIamBinding.go +++ b/sdk/go/google/spanner/v1/instanceBackupIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. @@ -135,6 +136,12 @@ func (i *InstanceBackupIamBinding) ToInstanceBackupIamBindingOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(InstanceBackupIamBindingOutput) } +func (i *InstanceBackupIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceBackupIamBinding] { + return pulumix.Output[*InstanceBackupIamBinding]{ + OutputState: i.ToInstanceBackupIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceBackupIamBindingOutput struct{ *pulumi.OutputState } func (InstanceBackupIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceBackupIamBindingOutput) ToInstanceBackupIamBindingOutputWithCont return o } +func (o InstanceBackupIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceBackupIamBinding] { + return pulumix.Output[*InstanceBackupIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceBackupIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceBackupIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/spanner/v1/instanceBackupIamMember.go b/sdk/go/google/spanner/v1/instanceBackupIamMember.go index 84d1c0b7b6..83fe472703 100644 --- a/sdk/go/google/spanner/v1/instanceBackupIamMember.go +++ b/sdk/go/google/spanner/v1/instanceBackupIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. @@ -135,6 +136,12 @@ func (i *InstanceBackupIamMember) ToInstanceBackupIamMemberOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InstanceBackupIamMemberOutput) } +func (i *InstanceBackupIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceBackupIamMember] { + return pulumix.Output[*InstanceBackupIamMember]{ + OutputState: i.ToInstanceBackupIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceBackupIamMemberOutput struct{ *pulumi.OutputState } func (InstanceBackupIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceBackupIamMemberOutput) ToInstanceBackupIamMemberOutputWithContex return o } +func (o InstanceBackupIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceBackupIamMember] { + return pulumix.Output[*InstanceBackupIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceBackupIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceBackupIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/spanner/v1/instanceBackupIamPolicy.go b/sdk/go/google/spanner/v1/instanceBackupIamPolicy.go index 90402b0522..95e166c56a 100644 --- a/sdk/go/google/spanner/v1/instanceBackupIamPolicy.go +++ b/sdk/go/google/spanner/v1/instanceBackupIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. @@ -128,6 +129,12 @@ func (i *InstanceBackupIamPolicy) ToInstanceBackupIamPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InstanceBackupIamPolicyOutput) } +func (i *InstanceBackupIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceBackupIamPolicy] { + return pulumix.Output[*InstanceBackupIamPolicy]{ + OutputState: i.ToInstanceBackupIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceBackupIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceBackupIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o InstanceBackupIamPolicyOutput) ToInstanceBackupIamPolicyOutputWithContex return o } +func (o InstanceBackupIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceBackupIamPolicy] { + return pulumix.Output[*InstanceBackupIamPolicy]{ + OutputState: o.OutputState, + } +} + func (o InstanceBackupIamPolicyOutput) BackupId() pulumi.StringOutput { return o.ApplyT(func(v *InstanceBackupIamPolicy) pulumi.StringOutput { return v.BackupId }).(pulumi.StringOutput) } diff --git a/sdk/go/google/spanner/v1/instanceConfig.go b/sdk/go/google/spanner/v1/instanceConfig.go index d05e23e53c..0b3393879e 100644 --- a/sdk/go/google/spanner/v1/instanceConfig.go +++ b/sdk/go/google/spanner/v1/instanceConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an instance config and begins preparing it to be used. The returned long-running operation can be used to track the progress of preparing the new instance config. The instance config name is assigned by the caller. If the named instance config already exists, `CreateInstanceConfig` returns `ALREADY_EXISTS`. Immediately after the request returns: * The instance config is readable via the API, with all requested attributes. The instance config's reconciling field is set to true. Its state is `CREATING`. While the operation is pending: * Cancelling the operation renders the instance config immediately unreadable via the API. * Except for deleting the creating resource, all other attempts to modify the instance config are rejected. Upon completion of the returned operation: * Instances can be created using the instance configuration. * The instance config's reconciling field becomes false. Its state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance config. The metadata field type is CreateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.create` permission on the resource parent. @@ -157,6 +158,12 @@ func (i *InstanceConfig) ToInstanceConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(InstanceConfigOutput) } +func (i *InstanceConfig) ToOutput(ctx context.Context) pulumix.Output[*InstanceConfig] { + return pulumix.Output[*InstanceConfig]{ + OutputState: i.ToInstanceConfigOutputWithContext(ctx).OutputState, + } +} + type InstanceConfigOutput struct{ *pulumi.OutputState } func (InstanceConfigOutput) ElementType() reflect.Type { @@ -171,6 +178,12 @@ func (o InstanceConfigOutput) ToInstanceConfigOutputWithContext(ctx context.Cont return o } +func (o InstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceConfig] { + return pulumix.Output[*InstanceConfig]{ + OutputState: o.OutputState, + } +} + // Base configuration name, e.g. projects//instanceConfigs/nam3, based on which this configuration is created. Only set for user managed configurations. `base_config` must refer to a configuration of type GOOGLE_MANAGED in the same project as this configuration. func (o InstanceConfigOutput) BaseConfig() pulumi.StringOutput { return o.ApplyT(func(v *InstanceConfig) pulumi.StringOutput { return v.BaseConfig }).(pulumi.StringOutput) diff --git a/sdk/go/google/spanner/v1/instanceDatabaseIamBinding.go b/sdk/go/google/spanner/v1/instanceDatabaseIamBinding.go index cf52745a3d..60626c9e84 100644 --- a/sdk/go/google/spanner/v1/instanceDatabaseIamBinding.go +++ b/sdk/go/google/spanner/v1/instanceDatabaseIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. @@ -135,6 +136,12 @@ func (i *InstanceDatabaseIamBinding) ToInstanceDatabaseIamBindingOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(InstanceDatabaseIamBindingOutput) } +func (i *InstanceDatabaseIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceDatabaseIamBinding] { + return pulumix.Output[*InstanceDatabaseIamBinding]{ + OutputState: i.ToInstanceDatabaseIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceDatabaseIamBindingOutput struct{ *pulumi.OutputState } func (InstanceDatabaseIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceDatabaseIamBindingOutput) ToInstanceDatabaseIamBindingOutputWith return o } +func (o InstanceDatabaseIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceDatabaseIamBinding] { + return pulumix.Output[*InstanceDatabaseIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceDatabaseIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceDatabaseIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/spanner/v1/instanceDatabaseIamMember.go b/sdk/go/google/spanner/v1/instanceDatabaseIamMember.go index d3b754077a..8111189241 100644 --- a/sdk/go/google/spanner/v1/instanceDatabaseIamMember.go +++ b/sdk/go/google/spanner/v1/instanceDatabaseIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. @@ -135,6 +136,12 @@ func (i *InstanceDatabaseIamMember) ToInstanceDatabaseIamMemberOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(InstanceDatabaseIamMemberOutput) } +func (i *InstanceDatabaseIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceDatabaseIamMember] { + return pulumix.Output[*InstanceDatabaseIamMember]{ + OutputState: i.ToInstanceDatabaseIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceDatabaseIamMemberOutput struct{ *pulumi.OutputState } func (InstanceDatabaseIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceDatabaseIamMemberOutput) ToInstanceDatabaseIamMemberOutputWithCo return o } +func (o InstanceDatabaseIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceDatabaseIamMember] { + return pulumix.Output[*InstanceDatabaseIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceDatabaseIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceDatabaseIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/spanner/v1/instanceDatabaseIamPolicy.go b/sdk/go/google/spanner/v1/instanceDatabaseIamPolicy.go index a4874984f5..6dd379de49 100644 --- a/sdk/go/google/spanner/v1/instanceDatabaseIamPolicy.go +++ b/sdk/go/google/spanner/v1/instanceDatabaseIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. @@ -128,6 +129,12 @@ func (i *InstanceDatabaseIamPolicy) ToInstanceDatabaseIamPolicyOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(InstanceDatabaseIamPolicyOutput) } +func (i *InstanceDatabaseIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceDatabaseIamPolicy] { + return pulumix.Output[*InstanceDatabaseIamPolicy]{ + OutputState: i.ToInstanceDatabaseIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceDatabaseIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceDatabaseIamPolicyOutput) ElementType() reflect.Type { @@ -142,6 +149,12 @@ func (o InstanceDatabaseIamPolicyOutput) ToInstanceDatabaseIamPolicyOutputWithCo return o } +func (o InstanceDatabaseIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceDatabaseIamPolicy] { + return pulumix.Output[*InstanceDatabaseIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o InstanceDatabaseIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *InstanceDatabaseIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/spanner/v1/instanceIamBinding.go b/sdk/go/google/spanner/v1/instanceIamBinding.go index c99a44c1a2..d4d93d9938 100644 --- a/sdk/go/google/spanner/v1/instanceIamBinding.go +++ b/sdk/go/google/spanner/v1/instanceIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an instance resource. Replaces any existing policy. Authorization requires `spanner.instances.setIamPolicy` on resource. @@ -135,6 +136,12 @@ func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(InstanceIamBindingOutput) } +func (i *InstanceIamBinding) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: i.ToInstanceIamBindingOutputWithContext(ctx).OutputState, + } +} + type InstanceIamBindingOutput struct{ *pulumi.OutputState } func (InstanceIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx cont return o } +func (o InstanceIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamBinding] { + return pulumix.Output[*InstanceIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/spanner/v1/instanceIamMember.go b/sdk/go/google/spanner/v1/instanceIamMember.go index 1c4cf1746c..3ce31bcb00 100644 --- a/sdk/go/google/spanner/v1/instanceIamMember.go +++ b/sdk/go/google/spanner/v1/instanceIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an instance resource. Replaces any existing policy. Authorization requires `spanner.instances.setIamPolicy` on resource. @@ -135,6 +136,12 @@ func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamMemberOutput) } +func (i *InstanceIamMember) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: i.ToInstanceIamMemberOutputWithContext(ctx).OutputState, + } +} + type InstanceIamMemberOutput struct{ *pulumi.OutputState } func (InstanceIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx contex return o } +func (o InstanceIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamMember] { + return pulumix.Output[*InstanceIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o InstanceIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *InstanceIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/spanner/v1/instanceIamPolicy.go b/sdk/go/google/spanner/v1/instanceIamPolicy.go index f864b58bb9..2023e9ebc0 100644 --- a/sdk/go/google/spanner/v1/instanceIamPolicy.go +++ b/sdk/go/google/spanner/v1/instanceIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on an instance resource. Replaces any existing policy. Authorization requires `spanner.instances.setIamPolicy` on resource. @@ -121,6 +122,12 @@ func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(InstanceIamPolicyOutput) } +func (i *InstanceIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: i.ToInstanceIamPolicyOutputWithContext(ctx).OutputState, + } +} + type InstanceIamPolicyOutput struct{ *pulumi.OutputState } func (InstanceIamPolicyOutput) ElementType() reflect.Type { @@ -135,6 +142,12 @@ func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx contex return o } +func (o InstanceIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceIamPolicy] { + return pulumix.Output[*InstanceIamPolicy]{ + OutputState: o.OutputState, + } +} + // Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. func (o InstanceIamPolicyOutput) Bindings() BindingResponseArrayOutput { return o.ApplyT(func(v *InstanceIamPolicy) BindingResponseArrayOutput { return v.Bindings }).(BindingResponseArrayOutput) diff --git a/sdk/go/google/spanner/v1/pulumiEnums.go b/sdk/go/google/spanner/v1/pulumiEnums.go index 313c6baedd..8b1ed21af2 100644 --- a/sdk/go/google/spanner/v1/pulumiEnums.go +++ b/sdk/go/google/spanner/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. The dialect of the Cloud Spanner Database. @@ -82,6 +83,12 @@ func (o DatabaseDatabaseDialectOutput) ToDatabaseDatabaseDialectPtrOutputWithCon }).(DatabaseDatabaseDialectPtrOutput) } +func (o DatabaseDatabaseDialectOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseDatabaseDialect] { + return pulumix.Output[DatabaseDatabaseDialect]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDatabaseDialectOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o DatabaseDatabaseDialectPtrOutput) ToDatabaseDatabaseDialectPtrOutputWith return o } +func (o DatabaseDatabaseDialectPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDatabaseDialect] { + return pulumix.Output[*DatabaseDatabaseDialect]{ + OutputState: o.OutputState, + } +} + func (o DatabaseDatabaseDialectPtrOutput) Elem() DatabaseDatabaseDialectOutput { return o.ApplyT(func(v *DatabaseDatabaseDialect) DatabaseDatabaseDialect { if v != nil { @@ -179,6 +192,12 @@ func (in *databaseDatabaseDialectPtr) ToDatabaseDatabaseDialectPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(DatabaseDatabaseDialectPtrOutput) } +func (in *databaseDatabaseDialectPtr) ToOutput(ctx context.Context) pulumix.Output[*DatabaseDatabaseDialect] { + return pulumix.Output[*DatabaseDatabaseDialect]{ + OutputState: in.ToDatabaseDatabaseDialectPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the expiration behavior of a free instance. The default of ExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This can be modified during or after creation, and before expiration. type FreeInstanceMetadataExpireBehavior string @@ -251,6 +270,12 @@ func (o FreeInstanceMetadataExpireBehaviorOutput) ToFreeInstanceMetadataExpireBe }).(FreeInstanceMetadataExpireBehaviorPtrOutput) } +func (o FreeInstanceMetadataExpireBehaviorOutput) ToOutput(ctx context.Context) pulumix.Output[FreeInstanceMetadataExpireBehavior] { + return pulumix.Output[FreeInstanceMetadataExpireBehavior]{ + OutputState: o.OutputState, + } +} + func (o FreeInstanceMetadataExpireBehaviorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o FreeInstanceMetadataExpireBehaviorPtrOutput) ToFreeInstanceMetadataExpir return o } +func (o FreeInstanceMetadataExpireBehaviorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FreeInstanceMetadataExpireBehavior] { + return pulumix.Output[*FreeInstanceMetadataExpireBehavior]{ + OutputState: o.OutputState, + } +} + func (o FreeInstanceMetadataExpireBehaviorPtrOutput) Elem() FreeInstanceMetadataExpireBehaviorOutput { return o.ApplyT(func(v *FreeInstanceMetadataExpireBehavior) FreeInstanceMetadataExpireBehavior { if v != nil { @@ -348,6 +379,12 @@ func (in *freeInstanceMetadataExpireBehaviorPtr) ToFreeInstanceMetadataExpireBeh return pulumi.ToOutputWithContext(ctx, in).(FreeInstanceMetadataExpireBehaviorPtrOutput) } +func (in *freeInstanceMetadataExpireBehaviorPtr) ToOutput(ctx context.Context) pulumix.Output[*FreeInstanceMetadataExpireBehavior] { + return pulumix.Output[*FreeInstanceMetadataExpireBehavior]{ + OutputState: in.ToFreeInstanceMetadataExpireBehaviorPtrOutputWithContext(ctx).OutputState, + } +} + // The `InstanceType` of the current instance. type InstanceInstanceType string @@ -420,6 +457,12 @@ func (o InstanceInstanceTypeOutput) ToInstanceInstanceTypePtrOutputWithContext(c }).(InstanceInstanceTypePtrOutput) } +func (o InstanceInstanceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceInstanceType] { + return pulumix.Output[InstanceInstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceInstanceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o InstanceInstanceTypePtrOutput) ToInstanceInstanceTypePtrOutputWithContex return o } +func (o InstanceInstanceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceInstanceType] { + return pulumix.Output[*InstanceInstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceInstanceTypePtrOutput) Elem() InstanceInstanceTypeOutput { return o.ApplyT(func(v *InstanceInstanceType) InstanceInstanceType { if v != nil { @@ -517,6 +566,12 @@ func (in *instanceInstanceTypePtr) ToInstanceInstanceTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InstanceInstanceTypePtrOutput) } +func (in *instanceInstanceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceInstanceType] { + return pulumix.Output[*InstanceInstanceType]{ + OutputState: in.ToInstanceInstanceTypePtrOutputWithContext(ctx).OutputState, + } +} + // The type of replica. type ReplicaInfoType string @@ -591,6 +646,12 @@ func (o ReplicaInfoTypeOutput) ToReplicaInfoTypePtrOutputWithContext(ctx context }).(ReplicaInfoTypePtrOutput) } +func (o ReplicaInfoTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicaInfoType] { + return pulumix.Output[ReplicaInfoType]{ + OutputState: o.OutputState, + } +} + func (o ReplicaInfoTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o ReplicaInfoTypePtrOutput) ToReplicaInfoTypePtrOutputWithContext(ctx cont return o } +func (o ReplicaInfoTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReplicaInfoType] { + return pulumix.Output[*ReplicaInfoType]{ + OutputState: o.OutputState, + } +} + func (o ReplicaInfoTypePtrOutput) Elem() ReplicaInfoTypeOutput { return o.ApplyT(func(v *ReplicaInfoType) ReplicaInfoType { if v != nil { @@ -688,6 +755,12 @@ func (in *replicaInfoTypePtr) ToReplicaInfoTypePtrOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, in).(ReplicaInfoTypePtrOutput) } +func (in *replicaInfoTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ReplicaInfoType] { + return pulumix.Output[*ReplicaInfoType]{ + OutputState: in.ToReplicaInfoTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*DatabaseDatabaseDialectInput)(nil)).Elem(), DatabaseDatabaseDialect("DATABASE_DIALECT_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*DatabaseDatabaseDialectPtrInput)(nil)).Elem(), DatabaseDatabaseDialect("DATABASE_DIALECT_UNSPECIFIED")) diff --git a/sdk/go/google/spanner/v1/pulumiTypes.go b/sdk/go/google/spanner/v1/pulumiTypes.go index 23ffe0e9b6..05a9ce5398 100644 --- a/sdk/go/google/spanner/v1/pulumiTypes.go +++ b/sdk/go/google/spanner/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -40,6 +41,12 @@ func (o BackupInfoResponseOutput) ToBackupInfoResponseOutputWithContext(ctx cont return o } +func (o BackupInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackupInfoResponse] { + return pulumix.Output[BackupInfoResponse]{ + OutputState: o.OutputState, + } +} + // Name of the backup. func (o BackupInfoResponseOutput) Backup() pulumi.StringOutput { return o.ApplyT(func(v BackupInfoResponse) string { return v.Backup }).(pulumi.StringOutput) @@ -103,6 +110,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -128,6 +141,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -143,6 +162,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -172,6 +197,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -203,6 +234,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -232,6 +269,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -273,6 +316,12 @@ func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigOutput) } +func (i EncryptionConfigArgs) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: i.ToEncryptionConfigOutputWithContext(ctx).OutputState, + } +} + func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput { return i.ToEncryptionConfigPtrOutputWithContext(context.Background()) } @@ -314,6 +363,12 @@ func (i *encryptionConfigPtrType) ToEncryptionConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(EncryptionConfigPtrOutput) } +func (i *encryptionConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: i.ToEncryptionConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Encryption configuration for a Cloud Spanner database. type EncryptionConfigOutput struct{ *pulumi.OutputState } @@ -339,6 +394,12 @@ func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx conte }).(EncryptionConfigPtrOutput) } +func (o EncryptionConfigOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfig] { + return pulumix.Output[EncryptionConfig]{ + OutputState: o.OutputState, + } +} + // The Cloud KMS key to be used for encrypting and decrypting the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`. func (o EncryptionConfigOutput) KmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v EncryptionConfig) *string { return v.KmsKeyName }).(pulumi.StringPtrOutput) @@ -358,6 +419,12 @@ func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx co return o } +func (o EncryptionConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EncryptionConfig] { + return pulumix.Output[*EncryptionConfig]{ + OutputState: o.OutputState, + } +} + func (o EncryptionConfigPtrOutput) Elem() EncryptionConfigOutput { return o.ApplyT(func(v *EncryptionConfig) EncryptionConfig { if v != nil { @@ -399,6 +466,12 @@ func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithCont return o } +func (o EncryptionConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionConfigResponse] { + return pulumix.Output[EncryptionConfigResponse]{ + OutputState: o.OutputState, + } +} + // The Cloud KMS key to be used for encrypting and decrypting the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`. func (o EncryptionConfigResponseOutput) KmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v EncryptionConfigResponse) string { return v.KmsKeyName }).(pulumi.StringOutput) @@ -429,6 +502,12 @@ func (o EncryptionInfoResponseOutput) ToEncryptionInfoResponseOutputWithContext( return o } +func (o EncryptionInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EncryptionInfoResponse] { + return pulumix.Output[EncryptionInfoResponse]{ + OutputState: o.OutputState, + } +} + // If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest. func (o EncryptionInfoResponseOutput) EncryptionStatus() StatusResponseOutput { return o.ApplyT(func(v EncryptionInfoResponse) StatusResponse { return v.EncryptionStatus }).(StatusResponseOutput) @@ -458,6 +537,12 @@ func (o EncryptionInfoResponseArrayOutput) ToEncryptionInfoResponseArrayOutputWi return o } +func (o EncryptionInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EncryptionInfoResponse] { + return pulumix.Output[[]EncryptionInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o EncryptionInfoResponseArrayOutput) Index(i pulumi.IntInput) EncryptionInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EncryptionInfoResponse { return vs[0].([]EncryptionInfoResponse)[vs[1].(int)] @@ -511,6 +596,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -552,6 +643,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -577,6 +674,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -611,6 +714,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -688,6 +797,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -743,6 +858,12 @@ func (i FreeInstanceMetadataArgs) ToFreeInstanceMetadataOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(FreeInstanceMetadataOutput) } +func (i FreeInstanceMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[FreeInstanceMetadata] { + return pulumix.Output[FreeInstanceMetadata]{ + OutputState: i.ToFreeInstanceMetadataOutputWithContext(ctx).OutputState, + } +} + func (i FreeInstanceMetadataArgs) ToFreeInstanceMetadataPtrOutput() FreeInstanceMetadataPtrOutput { return i.ToFreeInstanceMetadataPtrOutputWithContext(context.Background()) } @@ -784,6 +905,12 @@ func (i *freeInstanceMetadataPtrType) ToFreeInstanceMetadataPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(FreeInstanceMetadataPtrOutput) } +func (i *freeInstanceMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*FreeInstanceMetadata] { + return pulumix.Output[*FreeInstanceMetadata]{ + OutputState: i.ToFreeInstanceMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // Free instance specific metadata that is kept even after an instance has been upgraded for tracking purposes. type FreeInstanceMetadataOutput struct{ *pulumi.OutputState } @@ -809,6 +936,12 @@ func (o FreeInstanceMetadataOutput) ToFreeInstanceMetadataPtrOutputWithContext(c }).(FreeInstanceMetadataPtrOutput) } +func (o FreeInstanceMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[FreeInstanceMetadata] { + return pulumix.Output[FreeInstanceMetadata]{ + OutputState: o.OutputState, + } +} + // Specifies the expiration behavior of a free instance. The default of ExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This can be modified during or after creation, and before expiration. func (o FreeInstanceMetadataOutput) ExpireBehavior() FreeInstanceMetadataExpireBehaviorPtrOutput { return o.ApplyT(func(v FreeInstanceMetadata) *FreeInstanceMetadataExpireBehavior { return v.ExpireBehavior }).(FreeInstanceMetadataExpireBehaviorPtrOutput) @@ -828,6 +961,12 @@ func (o FreeInstanceMetadataPtrOutput) ToFreeInstanceMetadataPtrOutputWithContex return o } +func (o FreeInstanceMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FreeInstanceMetadata] { + return pulumix.Output[*FreeInstanceMetadata]{ + OutputState: o.OutputState, + } +} + func (o FreeInstanceMetadataPtrOutput) Elem() FreeInstanceMetadataOutput { return o.ApplyT(func(v *FreeInstanceMetadata) FreeInstanceMetadata { if v != nil { @@ -873,6 +1012,12 @@ func (o FreeInstanceMetadataResponseOutput) ToFreeInstanceMetadataResponseOutput return o } +func (o FreeInstanceMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FreeInstanceMetadataResponse] { + return pulumix.Output[FreeInstanceMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the expiration behavior of a free instance. The default of ExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This can be modified during or after creation, and before expiration. func (o FreeInstanceMetadataResponseOutput) ExpireBehavior() pulumi.StringOutput { return o.ApplyT(func(v FreeInstanceMetadataResponse) string { return v.ExpireBehavior }).(pulumi.StringOutput) @@ -929,6 +1074,12 @@ func (i ReplicaInfoArgs) ToReplicaInfoOutputWithContext(ctx context.Context) Rep return pulumi.ToOutputWithContext(ctx, i).(ReplicaInfoOutput) } +func (i ReplicaInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ReplicaInfo] { + return pulumix.Output[ReplicaInfo]{ + OutputState: i.ToReplicaInfoOutputWithContext(ctx).OutputState, + } +} + // ReplicaInfoArrayInput is an input type that accepts ReplicaInfoArray and ReplicaInfoArrayOutput values. // You can construct a concrete instance of `ReplicaInfoArrayInput` via: // @@ -954,6 +1105,12 @@ func (i ReplicaInfoArray) ToReplicaInfoArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ReplicaInfoArrayOutput) } +func (i ReplicaInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]ReplicaInfo] { + return pulumix.Output[[]ReplicaInfo]{ + OutputState: i.ToReplicaInfoArrayOutputWithContext(ctx).OutputState, + } +} + type ReplicaInfoOutput struct{ *pulumi.OutputState } func (ReplicaInfoOutput) ElementType() reflect.Type { @@ -968,6 +1125,12 @@ func (o ReplicaInfoOutput) ToReplicaInfoOutputWithContext(ctx context.Context) R return o } +func (o ReplicaInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicaInfo] { + return pulumix.Output[ReplicaInfo]{ + OutputState: o.OutputState, + } +} + // If true, this location is designated as the default leader location where leader replicas are placed. See the [region types documentation](https://cloud.google.com/spanner/docs/instances#region_types) for more details. func (o ReplicaInfoOutput) DefaultLeaderLocation() pulumi.BoolPtrOutput { return o.ApplyT(func(v ReplicaInfo) *bool { return v.DefaultLeaderLocation }).(pulumi.BoolPtrOutput) @@ -997,6 +1160,12 @@ func (o ReplicaInfoArrayOutput) ToReplicaInfoArrayOutputWithContext(ctx context. return o } +func (o ReplicaInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReplicaInfo] { + return pulumix.Output[[]ReplicaInfo]{ + OutputState: o.OutputState, + } +} + func (o ReplicaInfoArrayOutput) Index(i pulumi.IntInput) ReplicaInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReplicaInfo { return vs[0].([]ReplicaInfo)[vs[1].(int)] @@ -1026,6 +1195,12 @@ func (o ReplicaInfoResponseOutput) ToReplicaInfoResponseOutputWithContext(ctx co return o } +func (o ReplicaInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicaInfoResponse] { + return pulumix.Output[ReplicaInfoResponse]{ + OutputState: o.OutputState, + } +} + // If true, this location is designated as the default leader location where leader replicas are placed. See the [region types documentation](https://cloud.google.com/spanner/docs/instances#region_types) for more details. func (o ReplicaInfoResponseOutput) DefaultLeaderLocation() pulumi.BoolOutput { return o.ApplyT(func(v ReplicaInfoResponse) bool { return v.DefaultLeaderLocation }).(pulumi.BoolOutput) @@ -1055,6 +1230,12 @@ func (o ReplicaInfoResponseArrayOutput) ToReplicaInfoResponseArrayOutputWithCont return o } +func (o ReplicaInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReplicaInfoResponse] { + return pulumix.Output[[]ReplicaInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o ReplicaInfoResponseArrayOutput) Index(i pulumi.IntInput) ReplicaInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReplicaInfoResponse { return vs[0].([]ReplicaInfoResponse)[vs[1].(int)] @@ -1084,6 +1265,12 @@ func (o RestoreInfoResponseOutput) ToRestoreInfoResponseOutputWithContext(ctx co return o } +func (o RestoreInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RestoreInfoResponse] { + return pulumix.Output[RestoreInfoResponse]{ + OutputState: o.OutputState, + } +} + // Information about the backup used to restore the database. The backup may no longer exist. func (o RestoreInfoResponseOutput) BackupInfo() BackupInfoResponseOutput { return o.ApplyT(func(v RestoreInfoResponse) BackupInfoResponse { return v.BackupInfo }).(BackupInfoResponseOutput) @@ -1119,6 +1306,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) diff --git a/sdk/go/google/spanner/v1/session.go b/sdk/go/google/spanner/v1/session.go index c4d946c3cd..a3b70cce3e 100644 --- a/sdk/go/google/spanner/v1/session.go +++ b/sdk/go/google/spanner/v1/session.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new session. A session can be used to perform transactions that read and/or modify data in a Cloud Spanner database. Sessions are meant to be reused for many consecutive transactions. Sessions can only execute one transaction at a time. To execute multiple concurrent read-write/write-only transactions, create multiple sessions. Note that standalone reads and queries use a transaction internally, and count toward the one transaction limit. Active sessions use additional server resources, so it is a good idea to delete idle and unneeded sessions. Aside from explicit deletes, Cloud Spanner may delete sessions for which no operations are sent for more than an hour. If a session is deleted, requests to it return `NOT_FOUND`. Idle sessions can be kept alive by sending a trivial SQL query periodically, e.g., `"SELECT 1"`. @@ -127,6 +128,12 @@ func (i *Session) ToSessionOutputWithContext(ctx context.Context) SessionOutput return pulumi.ToOutputWithContext(ctx, i).(SessionOutput) } +func (i *Session) ToOutput(ctx context.Context) pulumix.Output[*Session] { + return pulumix.Output[*Session]{ + OutputState: i.ToSessionOutputWithContext(ctx).OutputState, + } +} + type SessionOutput struct{ *pulumi.OutputState } func (SessionOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o SessionOutput) ToSessionOutputWithContext(ctx context.Context) SessionOu return o } +func (o SessionOutput) ToOutput(ctx context.Context) pulumix.Output[*Session] { + return pulumix.Output[*Session]{ + OutputState: o.OutputState, + } +} + // The approximate timestamp when the session is last used. It is typically earlier than the actual last use time. func (o SessionOutput) ApproximateLastUseTime() pulumi.StringOutput { return o.ApplyT(func(v *Session) pulumi.StringOutput { return v.ApproximateLastUseTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/speech/v1/customClass.go b/sdk/go/google/speech/v1/customClass.go index 7189b6b8ec..c24c783dff 100644 --- a/sdk/go/google/speech/v1/customClass.go +++ b/sdk/go/google/speech/v1/customClass.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a custom class. @@ -123,6 +124,12 @@ func (i *CustomClass) ToCustomClassOutputWithContext(ctx context.Context) Custom return pulumi.ToOutputWithContext(ctx, i).(CustomClassOutput) } +func (i *CustomClass) ToOutput(ctx context.Context) pulumix.Output[*CustomClass] { + return pulumix.Output[*CustomClass]{ + OutputState: i.ToCustomClassOutputWithContext(ctx).OutputState, + } +} + type CustomClassOutput struct{ *pulumi.OutputState } func (CustomClassOutput) ElementType() reflect.Type { @@ -137,6 +144,12 @@ func (o CustomClassOutput) ToCustomClassOutputWithContext(ctx context.Context) C return o } +func (o CustomClassOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomClass] { + return pulumix.Output[*CustomClass]{ + OutputState: o.OutputState, + } +} + // If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive. func (o CustomClassOutput) CustomClassId() pulumi.StringOutput { return o.ApplyT(func(v *CustomClass) pulumi.StringOutput { return v.CustomClassId }).(pulumi.StringOutput) diff --git a/sdk/go/google/speech/v1/getCustomClass.go b/sdk/go/google/speech/v1/getCustomClass.go index afb1b0f0ca..cdcfc77584 100644 --- a/sdk/go/google/speech/v1/getCustomClass.go +++ b/sdk/go/google/speech/v1/getCustomClass.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a custom class. @@ -78,6 +79,12 @@ func (o LookupCustomClassResultOutput) ToLookupCustomClassResultOutputWithContex return o } +func (o LookupCustomClassResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCustomClassResult] { + return pulumix.Output[LookupCustomClassResult]{ + OutputState: o.OutputState, + } +} + // If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive. func (o LookupCustomClassResultOutput) CustomClassId() pulumi.StringOutput { return o.ApplyT(func(v LookupCustomClassResult) string { return v.CustomClassId }).(pulumi.StringOutput) diff --git a/sdk/go/google/speech/v1/getPhraseSet.go b/sdk/go/google/speech/v1/getPhraseSet.go index 5b7bc30134..c68d644d92 100644 --- a/sdk/go/google/speech/v1/getPhraseSet.go +++ b/sdk/go/google/speech/v1/getPhraseSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Get a phrase set. @@ -78,6 +79,12 @@ func (o LookupPhraseSetResultOutput) ToLookupPhraseSetResultOutputWithContext(ct return o } +func (o LookupPhraseSetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPhraseSetResult] { + return pulumix.Output[LookupPhraseSetResult]{ + OutputState: o.OutputState, + } +} + // Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 (exclusive) and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests. func (o LookupPhraseSetResultOutput) Boost() pulumi.Float64Output { return o.ApplyT(func(v LookupPhraseSetResult) float64 { return v.Boost }).(pulumi.Float64Output) diff --git a/sdk/go/google/speech/v1/phraseSet.go b/sdk/go/google/speech/v1/phraseSet.go index 00586a1fc2..95d106c99e 100644 --- a/sdk/go/google/speech/v1/phraseSet.go +++ b/sdk/go/google/speech/v1/phraseSet.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet. @@ -127,6 +128,12 @@ func (i *PhraseSet) ToPhraseSetOutputWithContext(ctx context.Context) PhraseSetO return pulumi.ToOutputWithContext(ctx, i).(PhraseSetOutput) } +func (i *PhraseSet) ToOutput(ctx context.Context) pulumix.Output[*PhraseSet] { + return pulumix.Output[*PhraseSet]{ + OutputState: i.ToPhraseSetOutputWithContext(ctx).OutputState, + } +} + type PhraseSetOutput struct{ *pulumi.OutputState } func (PhraseSetOutput) ElementType() reflect.Type { @@ -141,6 +148,12 @@ func (o PhraseSetOutput) ToPhraseSetOutputWithContext(ctx context.Context) Phras return o } +func (o PhraseSetOutput) ToOutput(ctx context.Context) pulumix.Output[*PhraseSet] { + return pulumix.Output[*PhraseSet]{ + OutputState: o.OutputState, + } +} + // Hint Boost. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost values would correspond to anti-biasing. Anti-biasing is not enabled, so negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 (exclusive) and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests. func (o PhraseSetOutput) Boost() pulumi.Float64Output { return o.ApplyT(func(v *PhraseSet) pulumi.Float64Output { return v.Boost }).(pulumi.Float64Output) diff --git a/sdk/go/google/speech/v1/pulumiTypes.go b/sdk/go/google/speech/v1/pulumiTypes.go index 35f485853c..96587044bc 100644 --- a/sdk/go/google/speech/v1/pulumiTypes.go +++ b/sdk/go/google/speech/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i ClassItemArgs) ToClassItemOutputWithContext(ctx context.Context) ClassIt return pulumi.ToOutputWithContext(ctx, i).(ClassItemOutput) } +func (i ClassItemArgs) ToOutput(ctx context.Context) pulumix.Output[ClassItem] { + return pulumix.Output[ClassItem]{ + OutputState: i.ToClassItemOutputWithContext(ctx).OutputState, + } +} + // ClassItemArrayInput is an input type that accepts ClassItemArray and ClassItemArrayOutput values. // You can construct a concrete instance of `ClassItemArrayInput` via: // @@ -73,6 +80,12 @@ func (i ClassItemArray) ToClassItemArrayOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(ClassItemArrayOutput) } +func (i ClassItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ClassItem] { + return pulumix.Output[[]ClassItem]{ + OutputState: i.ToClassItemArrayOutputWithContext(ctx).OutputState, + } +} + // An item of the class. type ClassItemOutput struct{ *pulumi.OutputState } @@ -88,6 +101,12 @@ func (o ClassItemOutput) ToClassItemOutputWithContext(ctx context.Context) Class return o } +func (o ClassItemOutput) ToOutput(ctx context.Context) pulumix.Output[ClassItem] { + return pulumix.Output[ClassItem]{ + OutputState: o.OutputState, + } +} + // The class item's value. func (o ClassItemOutput) Value() pulumi.StringPtrOutput { return o.ApplyT(func(v ClassItem) *string { return v.Value }).(pulumi.StringPtrOutput) @@ -107,6 +126,12 @@ func (o ClassItemArrayOutput) ToClassItemArrayOutputWithContext(ctx context.Cont return o } +func (o ClassItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClassItem] { + return pulumix.Output[[]ClassItem]{ + OutputState: o.OutputState, + } +} + func (o ClassItemArrayOutput) Index(i pulumi.IntInput) ClassItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClassItem { return vs[0].([]ClassItem)[vs[1].(int)] @@ -134,6 +159,12 @@ func (o ClassItemResponseOutput) ToClassItemResponseOutputWithContext(ctx contex return o } +func (o ClassItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClassItemResponse] { + return pulumix.Output[ClassItemResponse]{ + OutputState: o.OutputState, + } +} + // The class item's value. func (o ClassItemResponseOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v ClassItemResponse) string { return v.Value }).(pulumi.StringOutput) @@ -153,6 +184,12 @@ func (o ClassItemResponseArrayOutput) ToClassItemResponseArrayOutputWithContext( return o } +func (o ClassItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClassItemResponse] { + return pulumix.Output[[]ClassItemResponse]{ + OutputState: o.OutputState, + } +} + func (o ClassItemResponseArrayOutput) Index(i pulumi.IntInput) ClassItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClassItemResponse { return vs[0].([]ClassItemResponse)[vs[1].(int)] @@ -198,6 +235,12 @@ func (i PhraseArgs) ToPhraseOutputWithContext(ctx context.Context) PhraseOutput return pulumi.ToOutputWithContext(ctx, i).(PhraseOutput) } +func (i PhraseArgs) ToOutput(ctx context.Context) pulumix.Output[Phrase] { + return pulumix.Output[Phrase]{ + OutputState: i.ToPhraseOutputWithContext(ctx).OutputState, + } +} + // PhraseArrayInput is an input type that accepts PhraseArray and PhraseArrayOutput values. // You can construct a concrete instance of `PhraseArrayInput` via: // @@ -223,6 +266,12 @@ func (i PhraseArray) ToPhraseArrayOutputWithContext(ctx context.Context) PhraseA return pulumi.ToOutputWithContext(ctx, i).(PhraseArrayOutput) } +func (i PhraseArray) ToOutput(ctx context.Context) pulumix.Output[[]Phrase] { + return pulumix.Output[[]Phrase]{ + OutputState: i.ToPhraseArrayOutputWithContext(ctx).OutputState, + } +} + // A phrases containing words and phrase "hints" so that the speech recognition is more likely to recognize them. This can be used to improve the accuracy for specific words and phrases, for example, if specific commands are typically spoken by the user. This can also be used to add additional words to the vocabulary of the recognizer. See [usage limits](https://cloud.google.com/speech-to-text/quotas#content). List items can also include pre-built or custom classes containing groups of words that represent common concepts that occur in natural language. For example, rather than providing a phrase hint for every month of the year (e.g. "i was born in january", "i was born in febuary", ...), use the pre-built `$MONTH` class improves the likelihood of correctly transcribing audio that includes months (e.g. "i was born in $month"). To refer to pre-built classes, use the class' symbol prepended with `$` e.g. `$MONTH`. To refer to custom classes that were defined inline in the request, set the class's `custom_class_id` to a string unique to all class resources and inline classes. Then use the class' id wrapped in $`{...}` e.g. "${my-months}". To refer to custom classes resources, use the class' id wrapped in `${}` (e.g. `${my-months}`). Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value. type PhraseOutput struct{ *pulumi.OutputState } @@ -238,6 +287,12 @@ func (o PhraseOutput) ToPhraseOutputWithContext(ctx context.Context) PhraseOutpu return o } +func (o PhraseOutput) ToOutput(ctx context.Context) pulumix.Output[Phrase] { + return pulumix.Output[Phrase]{ + OutputState: o.OutputState, + } +} + // Hint Boost. Overrides the boost set at the phrase set level. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests. func (o PhraseOutput) Boost() pulumi.Float64PtrOutput { return o.ApplyT(func(v Phrase) *float64 { return v.Boost }).(pulumi.Float64PtrOutput) @@ -262,6 +317,12 @@ func (o PhraseArrayOutput) ToPhraseArrayOutputWithContext(ctx context.Context) P return o } +func (o PhraseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Phrase] { + return pulumix.Output[[]Phrase]{ + OutputState: o.OutputState, + } +} + func (o PhraseArrayOutput) Index(i pulumi.IntInput) PhraseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Phrase { return vs[0].([]Phrase)[vs[1].(int)] @@ -291,6 +352,12 @@ func (o PhraseResponseOutput) ToPhraseResponseOutputWithContext(ctx context.Cont return o } +func (o PhraseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PhraseResponse] { + return pulumix.Output[PhraseResponse]{ + OutputState: o.OutputState, + } +} + // Hint Boost. Overrides the boost set at the phrase set level. Positive value will increase the probability that a specific phrase will be recognized over other similar sounding phrases. The higher the boost, the higher the chance of false positive recognition as well. Negative boost will simply be ignored. Though `boost` can accept a wide range of positive values, most use cases are best served with values between 0 and 20. We recommend using a binary search approach to finding the optimal value for your use case as well as adding phrases both with and without boost to your requests. func (o PhraseResponseOutput) Boost() pulumi.Float64Output { return o.ApplyT(func(v PhraseResponse) float64 { return v.Boost }).(pulumi.Float64Output) @@ -315,6 +382,12 @@ func (o PhraseResponseArrayOutput) ToPhraseResponseArrayOutputWithContext(ctx co return o } +func (o PhraseResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PhraseResponse] { + return pulumix.Output[[]PhraseResponse]{ + OutputState: o.OutputState, + } +} + func (o PhraseResponseArrayOutput) Index(i pulumi.IntInput) PhraseResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PhraseResponse { return vs[0].([]PhraseResponse)[vs[1].(int)] diff --git a/sdk/go/google/sqladmin/v1/backupRun.go b/sdk/go/google/sqladmin/v1/backupRun.go index 19a7ffa5b5..35c3a6524a 100644 --- a/sdk/go/google/sqladmin/v1/backupRun.go +++ b/sdk/go/google/sqladmin/v1/backupRun.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new backup run on demand. @@ -194,6 +195,12 @@ func (i *BackupRun) ToBackupRunOutputWithContext(ctx context.Context) BackupRunO return pulumi.ToOutputWithContext(ctx, i).(BackupRunOutput) } +func (i *BackupRun) ToOutput(ctx context.Context) pulumix.Output[*BackupRun] { + return pulumix.Output[*BackupRun]{ + OutputState: i.ToBackupRunOutputWithContext(ctx).OutputState, + } +} + type BackupRunOutput struct{ *pulumi.OutputState } func (BackupRunOutput) ElementType() reflect.Type { @@ -208,6 +215,12 @@ func (o BackupRunOutput) ToBackupRunOutputWithContext(ctx context.Context) Backu return o } +func (o BackupRunOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupRun] { + return pulumix.Output[*BackupRun]{ + OutputState: o.OutputState, + } +} + // Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. func (o BackupRunOutput) BackupKind() pulumi.StringOutput { return o.ApplyT(func(v *BackupRun) pulumi.StringOutput { return v.BackupKind }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1/database.go b/sdk/go/google/sqladmin/v1/database.go index 44d0fdd27d..518a722fd4 100644 --- a/sdk/go/google/sqladmin/v1/database.go +++ b/sdk/go/google/sqladmin/v1/database.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation. @@ -150,6 +151,12 @@ func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutp return pulumi.ToOutputWithContext(ctx, i).(DatabaseOutput) } +func (i *Database) ToOutput(ctx context.Context) pulumix.Output[*Database] { + return pulumix.Output[*Database]{ + OutputState: i.ToDatabaseOutputWithContext(ctx).OutputState, + } +} + type DatabaseOutput struct{ *pulumi.OutputState } func (DatabaseOutput) ElementType() reflect.Type { @@ -164,6 +171,12 @@ func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) Databas return o } +func (o DatabaseOutput) ToOutput(ctx context.Context) pulumix.Output[*Database] { + return pulumix.Output[*Database]{ + OutputState: o.OutputState, + } +} + // The Cloud SQL charset value. func (o DatabaseOutput) Charset() pulumi.StringOutput { return o.ApplyT(func(v *Database) pulumi.StringOutput { return v.Charset }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1/getBackupRun.go b/sdk/go/google/sqladmin/v1/getBackupRun.go index 563a9c0d1f..e92c796495 100644 --- a/sdk/go/google/sqladmin/v1/getBackupRun.go +++ b/sdk/go/google/sqladmin/v1/getBackupRun.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a resource containing information about a backup run. @@ -100,6 +101,12 @@ func (o LookupBackupRunResultOutput) ToLookupBackupRunResultOutputWithContext(ct return o } +func (o LookupBackupRunResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupRunResult] { + return pulumix.Output[LookupBackupRunResult]{ + OutputState: o.OutputState, + } +} + // Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. func (o LookupBackupRunResultOutput) BackupKind() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupRunResult) string { return v.BackupKind }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1/getDatabase.go b/sdk/go/google/sqladmin/v1/getDatabase.go index b6dd7d2040..d8be7e1e79 100644 --- a/sdk/go/google/sqladmin/v1/getDatabase.go +++ b/sdk/go/google/sqladmin/v1/getDatabase.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a resource containing information about a database inside a Cloud SQL instance. @@ -87,6 +88,12 @@ func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx return o } +func (o LookupDatabaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatabaseResult] { + return pulumix.Output[LookupDatabaseResult]{ + OutputState: o.OutputState, + } +} + // The Cloud SQL charset value. func (o LookupDatabaseResultOutput) Charset() pulumi.StringOutput { return o.ApplyT(func(v LookupDatabaseResult) string { return v.Charset }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1/getInstance.go b/sdk/go/google/sqladmin/v1/getInstance.go index b436318b56..79c2357707 100644 --- a/sdk/go/google/sqladmin/v1/getInstance.go +++ b/sdk/go/google/sqladmin/v1/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a resource containing information about a Cloud SQL instance. @@ -142,6 +143,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // List all maintenance versions applicable on the instance func (o LookupInstanceResultOutput) AvailableMaintenanceVersions() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupInstanceResult) []string { return v.AvailableMaintenanceVersions }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/sqladmin/v1/getSslCert.go b/sdk/go/google/sqladmin/v1/getSslCert.go index af6ae601b1..bcdce32a1f 100644 --- a/sdk/go/google/sqladmin/v1/getSslCert.go +++ b/sdk/go/google/sqladmin/v1/getSslCert.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation. @@ -86,6 +87,12 @@ func (o LookupSslCertResultOutput) ToLookupSslCertResultOutputWithContext(ctx co return o } +func (o LookupSslCertResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSslCertResult] { + return pulumix.Output[LookupSslCertResult]{ + OutputState: o.OutputState, + } +} + // PEM representation. func (o LookupSslCertResultOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v LookupSslCertResult) string { return v.Cert }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1/getUser.go b/sdk/go/google/sqladmin/v1/getUser.go index 65eb546af3..7120eda8ec 100644 --- a/sdk/go/google/sqladmin/v1/getUser.go +++ b/sdk/go/google/sqladmin/v1/getUser.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a resource containing information about a user. @@ -93,6 +94,12 @@ func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context. return o } +func (o LookupUserResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUserResult] { + return pulumix.Output[LookupUserResult]{ + OutputState: o.OutputState, + } +} + // Dual password status for the user. func (o LookupUserResultOutput) DualPasswordType() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.DualPasswordType }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1/instance.go b/sdk/go/google/sqladmin/v1/instance.go index 91d583b2a8..654ecbcba1 100644 --- a/sdk/go/google/sqladmin/v1/instance.go +++ b/sdk/go/google/sqladmin/v1/instance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Cloud SQL instance. @@ -305,6 +306,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -319,6 +326,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // List all maintenance versions applicable on the instance func (o InstanceOutput) AvailableMaintenanceVersions() pulumi.StringArrayOutput { return o.ApplyT(func(v *Instance) pulumi.StringArrayOutput { return v.AvailableMaintenanceVersions }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/sqladmin/v1/pulumiEnums.go b/sdk/go/google/sqladmin/v1/pulumiEnums.go index dd2e43a295..86db4f1066 100644 --- a/sdk/go/google/sqladmin/v1/pulumiEnums.go +++ b/sdk/go/google/sqladmin/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The unit that 'retained_backups' represents. @@ -80,6 +81,12 @@ func (o BackupRetentionSettingsRetentionUnitOutput) ToBackupRetentionSettingsRet }).(BackupRetentionSettingsRetentionUnitPtrOutput) } +func (o BackupRetentionSettingsRetentionUnitOutput) ToOutput(ctx context.Context) pulumix.Output[BackupRetentionSettingsRetentionUnit] { + return pulumix.Output[BackupRetentionSettingsRetentionUnit]{ + OutputState: o.OutputState, + } +} + func (o BackupRetentionSettingsRetentionUnitOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o BackupRetentionSettingsRetentionUnitPtrOutput) ToBackupRetentionSettings return o } +func (o BackupRetentionSettingsRetentionUnitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupRetentionSettingsRetentionUnit] { + return pulumix.Output[*BackupRetentionSettingsRetentionUnit]{ + OutputState: o.OutputState, + } +} + func (o BackupRetentionSettingsRetentionUnitPtrOutput) Elem() BackupRetentionSettingsRetentionUnitOutput { return o.ApplyT(func(v *BackupRetentionSettingsRetentionUnit) BackupRetentionSettingsRetentionUnit { if v != nil { @@ -177,6 +190,12 @@ func (in *backupRetentionSettingsRetentionUnitPtr) ToBackupRetentionSettingsRete return pulumi.ToOutputWithContext(ctx, in).(BackupRetentionSettingsRetentionUnitPtrOutput) } +func (in *backupRetentionSettingsRetentionUnitPtr) ToOutput(ctx context.Context) pulumix.Output[*BackupRetentionSettingsRetentionUnit] { + return pulumix.Output[*BackupRetentionSettingsRetentionUnit]{ + OutputState: in.ToBackupRetentionSettingsRetentionUnitPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. type BackupRunBackupKind string @@ -249,6 +268,12 @@ func (o BackupRunBackupKindOutput) ToBackupRunBackupKindPtrOutputWithContext(ctx }).(BackupRunBackupKindPtrOutput) } +func (o BackupRunBackupKindOutput) ToOutput(ctx context.Context) pulumix.Output[BackupRunBackupKind] { + return pulumix.Output[BackupRunBackupKind]{ + OutputState: o.OutputState, + } +} + func (o BackupRunBackupKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o BackupRunBackupKindPtrOutput) ToBackupRunBackupKindPtrOutputWithContext( return o } +func (o BackupRunBackupKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupRunBackupKind] { + return pulumix.Output[*BackupRunBackupKind]{ + OutputState: o.OutputState, + } +} + func (o BackupRunBackupKindPtrOutput) Elem() BackupRunBackupKindOutput { return o.ApplyT(func(v *BackupRunBackupKind) BackupRunBackupKind { if v != nil { @@ -346,6 +377,12 @@ func (in *backupRunBackupKindPtr) ToBackupRunBackupKindPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(BackupRunBackupKindPtrOutput) } +func (in *backupRunBackupKindPtr) ToOutput(ctx context.Context) pulumix.Output[*BackupRunBackupKind] { + return pulumix.Output[*BackupRunBackupKind]{ + OutputState: in.ToBackupRunBackupKindPtrOutputWithContext(ctx).OutputState, + } +} + // The status of this run. type BackupRunStatus string @@ -444,6 +481,12 @@ func (o BackupRunTypeOutput) ToBackupRunTypePtrOutputWithContext(ctx context.Con }).(BackupRunTypePtrOutput) } +func (o BackupRunTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BackupRunType] { + return pulumix.Output[BackupRunType]{ + OutputState: o.OutputState, + } +} + func (o BackupRunTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -479,6 +522,12 @@ func (o BackupRunTypePtrOutput) ToBackupRunTypePtrOutputWithContext(ctx context. return o } +func (o BackupRunTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupRunType] { + return pulumix.Output[*BackupRunType]{ + OutputState: o.OutputState, + } +} + func (o BackupRunTypePtrOutput) Elem() BackupRunTypeOutput { return o.ApplyT(func(v *BackupRunType) BackupRunType { if v != nil { @@ -541,6 +590,12 @@ func (in *backupRunTypePtr) ToBackupRunTypePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(BackupRunTypePtrOutput) } +func (in *backupRunTypePtr) ToOutput(ctx context.Context) pulumix.Output[*BackupRunType] { + return pulumix.Output[*BackupRunType]{ + OutputState: in.ToBackupRunTypePtrOutputWithContext(ctx).OutputState, + } +} + // The backend type. `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type. type InstanceBackendType string @@ -615,6 +670,12 @@ func (o InstanceBackendTypeOutput) ToInstanceBackendTypePtrOutputWithContext(ctx }).(InstanceBackendTypePtrOutput) } +func (o InstanceBackendTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceBackendType] { + return pulumix.Output[InstanceBackendType]{ + OutputState: o.OutputState, + } +} + func (o InstanceBackendTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -650,6 +711,12 @@ func (o InstanceBackendTypePtrOutput) ToInstanceBackendTypePtrOutputWithContext( return o } +func (o InstanceBackendTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceBackendType] { + return pulumix.Output[*InstanceBackendType]{ + OutputState: o.OutputState, + } +} + func (o InstanceBackendTypePtrOutput) Elem() InstanceBackendTypeOutput { return o.ApplyT(func(v *InstanceBackendType) InstanceBackendType { if v != nil { @@ -712,6 +779,12 @@ func (in *instanceBackendTypePtr) ToInstanceBackendTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(InstanceBackendTypePtrOutput) } +func (in *instanceBackendTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceBackendType] { + return pulumix.Output[*InstanceBackendType]{ + OutputState: in.ToInstanceBackendTypePtrOutputWithContext(ctx).OutputState, + } +} + // The database engine type and version. The `databaseVersion` field cannot be changed after instance creation. type InstanceDatabaseVersion string @@ -844,6 +917,12 @@ func (o InstanceDatabaseVersionOutput) ToInstanceDatabaseVersionPtrOutputWithCon }).(InstanceDatabaseVersionPtrOutput) } +func (o InstanceDatabaseVersionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceDatabaseVersion] { + return pulumix.Output[InstanceDatabaseVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceDatabaseVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -879,6 +958,12 @@ func (o InstanceDatabaseVersionPtrOutput) ToInstanceDatabaseVersionPtrOutputWith return o } +func (o InstanceDatabaseVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceDatabaseVersion] { + return pulumix.Output[*InstanceDatabaseVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceDatabaseVersionPtrOutput) Elem() InstanceDatabaseVersionOutput { return o.ApplyT(func(v *InstanceDatabaseVersion) InstanceDatabaseVersion { if v != nil { @@ -941,6 +1026,12 @@ func (in *instanceDatabaseVersionPtr) ToInstanceDatabaseVersionPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(InstanceDatabaseVersionPtrOutput) } +func (in *instanceDatabaseVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceDatabaseVersion] { + return pulumix.Output[*InstanceDatabaseVersion]{ + OutputState: in.ToInstanceDatabaseVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The instance type. type InstanceInstanceType string @@ -1015,6 +1106,12 @@ func (o InstanceInstanceTypeOutput) ToInstanceInstanceTypePtrOutputWithContext(c }).(InstanceInstanceTypePtrOutput) } +func (o InstanceInstanceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceInstanceType] { + return pulumix.Output[InstanceInstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceInstanceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1050,6 +1147,12 @@ func (o InstanceInstanceTypePtrOutput) ToInstanceInstanceTypePtrOutputWithContex return o } +func (o InstanceInstanceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceInstanceType] { + return pulumix.Output[*InstanceInstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceInstanceTypePtrOutput) Elem() InstanceInstanceTypeOutput { return o.ApplyT(func(v *InstanceInstanceType) InstanceInstanceType { if v != nil { @@ -1112,6 +1215,12 @@ func (in *instanceInstanceTypePtr) ToInstanceInstanceTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InstanceInstanceTypePtrOutput) } +func (in *instanceInstanceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceInstanceType] { + return pulumix.Output[*InstanceInstanceType]{ + OutputState: in.ToInstanceInstanceTypePtrOutputWithContext(ctx).OutputState, + } +} + // The current serving state of the Cloud SQL instance. type InstanceStateEnum string @@ -1194,6 +1303,12 @@ func (o InstanceStateEnumOutput) ToInstanceStateEnumPtrOutputWithContext(ctx con }).(InstanceStateEnumPtrOutput) } +func (o InstanceStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceStateEnum] { + return pulumix.Output[InstanceStateEnum]{ + OutputState: o.OutputState, + } +} + func (o InstanceStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1229,6 +1344,12 @@ func (o InstanceStateEnumPtrOutput) ToInstanceStateEnumPtrOutputWithContext(ctx return o } +func (o InstanceStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceStateEnum] { + return pulumix.Output[*InstanceStateEnum]{ + OutputState: o.OutputState, + } +} + func (o InstanceStateEnumPtrOutput) Elem() InstanceStateEnumOutput { return o.ApplyT(func(v *InstanceStateEnum) InstanceStateEnum { if v != nil { @@ -1291,6 +1412,12 @@ func (in *instanceStateEnumPtr) ToInstanceStateEnumPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(InstanceStateEnumPtrOutput) } +func (in *instanceStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceStateEnum] { + return pulumix.Output[*InstanceStateEnum]{ + OutputState: in.ToInstanceStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceSuspensionReasonItem string const ( @@ -1366,6 +1493,12 @@ func (o InstanceSuspensionReasonItemOutput) ToInstanceSuspensionReasonItemPtrOut }).(InstanceSuspensionReasonItemPtrOutput) } +func (o InstanceSuspensionReasonItemOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceSuspensionReasonItem] { + return pulumix.Output[InstanceSuspensionReasonItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1401,6 +1534,12 @@ func (o InstanceSuspensionReasonItemPtrOutput) ToInstanceSuspensionReasonItemPtr return o } +func (o InstanceSuspensionReasonItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceSuspensionReasonItem] { + return pulumix.Output[*InstanceSuspensionReasonItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonItemPtrOutput) Elem() InstanceSuspensionReasonItemOutput { return o.ApplyT(func(v *InstanceSuspensionReasonItem) InstanceSuspensionReasonItem { if v != nil { @@ -1463,6 +1602,12 @@ func (in *instanceSuspensionReasonItemPtr) ToInstanceSuspensionReasonItemPtrOutp return pulumi.ToOutputWithContext(ctx, in).(InstanceSuspensionReasonItemPtrOutput) } +func (in *instanceSuspensionReasonItemPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceSuspensionReasonItem] { + return pulumix.Output[*InstanceSuspensionReasonItem]{ + OutputState: in.ToInstanceSuspensionReasonItemPtrOutputWithContext(ctx).OutputState, + } +} + // InstanceSuspensionReasonItemArrayInput is an input type that accepts InstanceSuspensionReasonItemArray and InstanceSuspensionReasonItemArrayOutput values. // You can construct a concrete instance of `InstanceSuspensionReasonItemArrayInput` via: // @@ -1488,6 +1633,12 @@ func (i InstanceSuspensionReasonItemArray) ToInstanceSuspensionReasonItemArrayOu return pulumi.ToOutputWithContext(ctx, i).(InstanceSuspensionReasonItemArrayOutput) } +func (i InstanceSuspensionReasonItemArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceSuspensionReasonItem] { + return pulumix.Output[[]InstanceSuspensionReasonItem]{ + OutputState: i.ToInstanceSuspensionReasonItemArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceSuspensionReasonItemArrayOutput struct{ *pulumi.OutputState } func (InstanceSuspensionReasonItemArrayOutput) ElementType() reflect.Type { @@ -1502,6 +1653,12 @@ func (o InstanceSuspensionReasonItemArrayOutput) ToInstanceSuspensionReasonItemA return o } +func (o InstanceSuspensionReasonItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceSuspensionReasonItem] { + return pulumix.Output[[]InstanceSuspensionReasonItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonItemArrayOutput) Index(i pulumi.IntInput) InstanceSuspensionReasonItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceSuspensionReasonItem { return vs[0].([]InstanceSuspensionReasonItem)[vs[1].(int)] @@ -1584,6 +1741,12 @@ func (o IpMappingTypeOutput) ToIpMappingTypePtrOutputWithContext(ctx context.Con }).(IpMappingTypePtrOutput) } +func (o IpMappingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[IpMappingType] { + return pulumix.Output[IpMappingType]{ + OutputState: o.OutputState, + } +} + func (o IpMappingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1619,6 +1782,12 @@ func (o IpMappingTypePtrOutput) ToIpMappingTypePtrOutputWithContext(ctx context. return o } +func (o IpMappingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IpMappingType] { + return pulumix.Output[*IpMappingType]{ + OutputState: o.OutputState, + } +} + func (o IpMappingTypePtrOutput) Elem() IpMappingTypeOutput { return o.ApplyT(func(v *IpMappingType) IpMappingType { if v != nil { @@ -1681,6 +1850,12 @@ func (in *ipMappingTypePtr) ToIpMappingTypePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(IpMappingTypePtrOutput) } +func (in *ipMappingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*IpMappingType] { + return pulumix.Output[*IpMappingType]{ + OutputState: in.ToIpMappingTypePtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen). type MaintenanceWindowUpdateTrack string @@ -1753,6 +1928,12 @@ func (o MaintenanceWindowUpdateTrackOutput) ToMaintenanceWindowUpdateTrackPtrOut }).(MaintenanceWindowUpdateTrackPtrOutput) } +func (o MaintenanceWindowUpdateTrackOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowUpdateTrack] { + return pulumix.Output[MaintenanceWindowUpdateTrack]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowUpdateTrackOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1788,6 +1969,12 @@ func (o MaintenanceWindowUpdateTrackPtrOutput) ToMaintenanceWindowUpdateTrackPtr return o } +func (o MaintenanceWindowUpdateTrackPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindowUpdateTrack] { + return pulumix.Output[*MaintenanceWindowUpdateTrack]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowUpdateTrackPtrOutput) Elem() MaintenanceWindowUpdateTrackOutput { return o.ApplyT(func(v *MaintenanceWindowUpdateTrack) MaintenanceWindowUpdateTrack { if v != nil { @@ -1850,6 +2037,12 @@ func (in *maintenanceWindowUpdateTrackPtr) ToMaintenanceWindowUpdateTrackPtrOutp return pulumi.ToOutputWithContext(ctx, in).(MaintenanceWindowUpdateTrackPtrOutput) } +func (in *maintenanceWindowUpdateTrackPtr) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindowUpdateTrack] { + return pulumix.Output[*MaintenanceWindowUpdateTrack]{ + OutputState: in.ToMaintenanceWindowUpdateTrackPtrOutputWithContext(ctx).OutputState, + } +} + // The complexity of the password. type PasswordValidationPolicyComplexity string @@ -1920,6 +2113,12 @@ func (o PasswordValidationPolicyComplexityOutput) ToPasswordValidationPolicyComp }).(PasswordValidationPolicyComplexityPtrOutput) } +func (o PasswordValidationPolicyComplexityOutput) ToOutput(ctx context.Context) pulumix.Output[PasswordValidationPolicyComplexity] { + return pulumix.Output[PasswordValidationPolicyComplexity]{ + OutputState: o.OutputState, + } +} + func (o PasswordValidationPolicyComplexityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1955,6 +2154,12 @@ func (o PasswordValidationPolicyComplexityPtrOutput) ToPasswordValidationPolicyC return o } +func (o PasswordValidationPolicyComplexityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PasswordValidationPolicyComplexity] { + return pulumix.Output[*PasswordValidationPolicyComplexity]{ + OutputState: o.OutputState, + } +} + func (o PasswordValidationPolicyComplexityPtrOutput) Elem() PasswordValidationPolicyComplexityOutput { return o.ApplyT(func(v *PasswordValidationPolicyComplexity) PasswordValidationPolicyComplexity { if v != nil { @@ -2017,6 +2222,12 @@ func (in *passwordValidationPolicyComplexityPtr) ToPasswordValidationPolicyCompl return pulumi.ToOutputWithContext(ctx, in).(PasswordValidationPolicyComplexityPtrOutput) } +func (in *passwordValidationPolicyComplexityPtr) ToOutput(ctx context.Context) pulumix.Output[*PasswordValidationPolicyComplexity] { + return pulumix.Output[*PasswordValidationPolicyComplexity]{ + OutputState: in.ToPasswordValidationPolicyComplexityPtrOutputWithContext(ctx).OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, even if a connection request arrives. type SettingsActivationPolicy string @@ -2091,6 +2302,12 @@ func (o SettingsActivationPolicyOutput) ToSettingsActivationPolicyPtrOutputWithC }).(SettingsActivationPolicyPtrOutput) } +func (o SettingsActivationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsActivationPolicy] { + return pulumix.Output[SettingsActivationPolicy]{ + OutputState: o.OutputState, + } +} + func (o SettingsActivationPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2126,6 +2343,12 @@ func (o SettingsActivationPolicyPtrOutput) ToSettingsActivationPolicyPtrOutputWi return o } +func (o SettingsActivationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsActivationPolicy] { + return pulumix.Output[*SettingsActivationPolicy]{ + OutputState: o.OutputState, + } +} + func (o SettingsActivationPolicyPtrOutput) Elem() SettingsActivationPolicyOutput { return o.ApplyT(func(v *SettingsActivationPolicy) SettingsActivationPolicy { if v != nil { @@ -2188,6 +2411,12 @@ func (in *settingsActivationPolicyPtr) ToSettingsActivationPolicyPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(SettingsActivationPolicyPtrOutput) } +func (in *settingsActivationPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsActivationPolicy] { + return pulumix.Output[*SettingsActivationPolicy]{ + OutputState: in.ToSettingsActivationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see [Overview of the High Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-availability). type SettingsAvailabilityType string @@ -2260,6 +2489,12 @@ func (o SettingsAvailabilityTypeOutput) ToSettingsAvailabilityTypePtrOutputWithC }).(SettingsAvailabilityTypePtrOutput) } +func (o SettingsAvailabilityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsAvailabilityType] { + return pulumix.Output[SettingsAvailabilityType]{ + OutputState: o.OutputState, + } +} + func (o SettingsAvailabilityTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2295,6 +2530,12 @@ func (o SettingsAvailabilityTypePtrOutput) ToSettingsAvailabilityTypePtrOutputWi return o } +func (o SettingsAvailabilityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsAvailabilityType] { + return pulumix.Output[*SettingsAvailabilityType]{ + OutputState: o.OutputState, + } +} + func (o SettingsAvailabilityTypePtrOutput) Elem() SettingsAvailabilityTypeOutput { return o.ApplyT(func(v *SettingsAvailabilityType) SettingsAvailabilityType { if v != nil { @@ -2357,6 +2598,12 @@ func (in *settingsAvailabilityTypePtr) ToSettingsAvailabilityTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(SettingsAvailabilityTypePtrOutput) } +func (in *settingsAvailabilityTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsAvailabilityType] { + return pulumix.Output[*SettingsAvailabilityType]{ + OutputState: in.ToSettingsAvailabilityTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies if connections must use Cloud SQL connectors. Option values include the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance. type SettingsConnectorEnforcement string @@ -2429,6 +2676,12 @@ func (o SettingsConnectorEnforcementOutput) ToSettingsConnectorEnforcementPtrOut }).(SettingsConnectorEnforcementPtrOutput) } +func (o SettingsConnectorEnforcementOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsConnectorEnforcement] { + return pulumix.Output[SettingsConnectorEnforcement]{ + OutputState: o.OutputState, + } +} + func (o SettingsConnectorEnforcementOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2464,6 +2717,12 @@ func (o SettingsConnectorEnforcementPtrOutput) ToSettingsConnectorEnforcementPtr return o } +func (o SettingsConnectorEnforcementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsConnectorEnforcement] { + return pulumix.Output[*SettingsConnectorEnforcement]{ + OutputState: o.OutputState, + } +} + func (o SettingsConnectorEnforcementPtrOutput) Elem() SettingsConnectorEnforcementOutput { return o.ApplyT(func(v *SettingsConnectorEnforcement) SettingsConnectorEnforcement { if v != nil { @@ -2526,6 +2785,12 @@ func (in *settingsConnectorEnforcementPtr) ToSettingsConnectorEnforcementPtrOutp return pulumi.ToOutputWithContext(ctx, in).(SettingsConnectorEnforcementPtrOutput) } +func (in *settingsConnectorEnforcementPtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsConnectorEnforcement] { + return pulumix.Output[*SettingsConnectorEnforcement]{ + OutputState: in.ToSettingsConnectorEnforcementPtrOutputWithContext(ctx).OutputState, + } +} + // The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances. type SettingsDataDiskType string @@ -2600,6 +2865,12 @@ func (o SettingsDataDiskTypeOutput) ToSettingsDataDiskTypePtrOutputWithContext(c }).(SettingsDataDiskTypePtrOutput) } +func (o SettingsDataDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsDataDiskType] { + return pulumix.Output[SettingsDataDiskType]{ + OutputState: o.OutputState, + } +} + func (o SettingsDataDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2635,6 +2906,12 @@ func (o SettingsDataDiskTypePtrOutput) ToSettingsDataDiskTypePtrOutputWithContex return o } +func (o SettingsDataDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsDataDiskType] { + return pulumix.Output[*SettingsDataDiskType]{ + OutputState: o.OutputState, + } +} + func (o SettingsDataDiskTypePtrOutput) Elem() SettingsDataDiskTypeOutput { return o.ApplyT(func(v *SettingsDataDiskType) SettingsDataDiskType { if v != nil { @@ -2697,6 +2974,12 @@ func (in *settingsDataDiskTypePtr) ToSettingsDataDiskTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(SettingsDataDiskTypePtrOutput) } +func (in *settingsDataDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsDataDiskType] { + return pulumix.Output[*SettingsDataDiskType]{ + OutputState: in.ToSettingsDataDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances. type SettingsPricingPlan string @@ -2769,6 +3052,12 @@ func (o SettingsPricingPlanOutput) ToSettingsPricingPlanPtrOutputWithContext(ctx }).(SettingsPricingPlanPtrOutput) } +func (o SettingsPricingPlanOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsPricingPlan] { + return pulumix.Output[SettingsPricingPlan]{ + OutputState: o.OutputState, + } +} + func (o SettingsPricingPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2804,6 +3093,12 @@ func (o SettingsPricingPlanPtrOutput) ToSettingsPricingPlanPtrOutputWithContext( return o } +func (o SettingsPricingPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsPricingPlan] { + return pulumix.Output[*SettingsPricingPlan]{ + OutputState: o.OutputState, + } +} + func (o SettingsPricingPlanPtrOutput) Elem() SettingsPricingPlanOutput { return o.ApplyT(func(v *SettingsPricingPlan) SettingsPricingPlan { if v != nil { @@ -2866,6 +3161,12 @@ func (in *settingsPricingPlanPtr) ToSettingsPricingPlanPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(SettingsPricingPlanPtrOutput) } +func (in *settingsPricingPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsPricingPlan] { + return pulumix.Output[*SettingsPricingPlan]{ + OutputState: in.ToSettingsPricingPlanPtrOutputWithContext(ctx).OutputState, + } +} + // The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances. type SettingsReplicationType string @@ -2938,6 +3239,12 @@ func (o SettingsReplicationTypeOutput) ToSettingsReplicationTypePtrOutputWithCon }).(SettingsReplicationTypePtrOutput) } +func (o SettingsReplicationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsReplicationType] { + return pulumix.Output[SettingsReplicationType]{ + OutputState: o.OutputState, + } +} + func (o SettingsReplicationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2973,6 +3280,12 @@ func (o SettingsReplicationTypePtrOutput) ToSettingsReplicationTypePtrOutputWith return o } +func (o SettingsReplicationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsReplicationType] { + return pulumix.Output[*SettingsReplicationType]{ + OutputState: o.OutputState, + } +} + func (o SettingsReplicationTypePtrOutput) Elem() SettingsReplicationTypeOutput { return o.ApplyT(func(v *SettingsReplicationType) SettingsReplicationType { if v != nil { @@ -3035,6 +3348,12 @@ func (in *settingsReplicationTypePtr) ToSettingsReplicationTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(SettingsReplicationTypePtrOutput) } +func (in *settingsReplicationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsReplicationType] { + return pulumix.Output[*SettingsReplicationType]{ + OutputState: in.ToSettingsReplicationTypePtrOutputWithContext(ctx).OutputState, + } +} + // This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job type SqlOutOfDiskReportSqlOutOfDiskState string @@ -3107,6 +3426,12 @@ func (o SqlOutOfDiskReportSqlOutOfDiskStateOutput) ToSqlOutOfDiskReportSqlOutOfD }).(SqlOutOfDiskReportSqlOutOfDiskStatePtrOutput) } +func (o SqlOutOfDiskReportSqlOutOfDiskStateOutput) ToOutput(ctx context.Context) pulumix.Output[SqlOutOfDiskReportSqlOutOfDiskState] { + return pulumix.Output[SqlOutOfDiskReportSqlOutOfDiskState]{ + OutputState: o.OutputState, + } +} + func (o SqlOutOfDiskReportSqlOutOfDiskStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3142,6 +3467,12 @@ func (o SqlOutOfDiskReportSqlOutOfDiskStatePtrOutput) ToSqlOutOfDiskReportSqlOut return o } +func (o SqlOutOfDiskReportSqlOutOfDiskStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlOutOfDiskReportSqlOutOfDiskState] { + return pulumix.Output[*SqlOutOfDiskReportSqlOutOfDiskState]{ + OutputState: o.OutputState, + } +} + func (o SqlOutOfDiskReportSqlOutOfDiskStatePtrOutput) Elem() SqlOutOfDiskReportSqlOutOfDiskStateOutput { return o.ApplyT(func(v *SqlOutOfDiskReportSqlOutOfDiskState) SqlOutOfDiskReportSqlOutOfDiskState { if v != nil { @@ -3204,6 +3535,12 @@ func (in *sqlOutOfDiskReportSqlOutOfDiskStatePtr) ToSqlOutOfDiskReportSqlOutOfDi return pulumi.ToOutputWithContext(ctx, in).(SqlOutOfDiskReportSqlOutOfDiskStatePtrOutput) } +func (in *sqlOutOfDiskReportSqlOutOfDiskStatePtr) ToOutput(ctx context.Context) pulumix.Output[*SqlOutOfDiskReportSqlOutOfDiskState] { + return pulumix.Output[*SqlOutOfDiskReportSqlOutOfDiskState]{ + OutputState: in.ToSqlOutOfDiskReportSqlOutOfDiskStatePtrOutputWithContext(ctx).OutputState, + } +} + // Dual password status for the user. type UserDualPasswordType string @@ -3278,6 +3615,12 @@ func (o UserDualPasswordTypeOutput) ToUserDualPasswordTypePtrOutputWithContext(c }).(UserDualPasswordTypePtrOutput) } +func (o UserDualPasswordTypeOutput) ToOutput(ctx context.Context) pulumix.Output[UserDualPasswordType] { + return pulumix.Output[UserDualPasswordType]{ + OutputState: o.OutputState, + } +} + func (o UserDualPasswordTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3313,6 +3656,12 @@ func (o UserDualPasswordTypePtrOutput) ToUserDualPasswordTypePtrOutputWithContex return o } +func (o UserDualPasswordTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserDualPasswordType] { + return pulumix.Output[*UserDualPasswordType]{ + OutputState: o.OutputState, + } +} + func (o UserDualPasswordTypePtrOutput) Elem() UserDualPasswordTypeOutput { return o.ApplyT(func(v *UserDualPasswordType) UserDualPasswordType { if v != nil { @@ -3375,6 +3724,12 @@ func (in *userDualPasswordTypePtr) ToUserDualPasswordTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(UserDualPasswordTypePtrOutput) } +func (in *userDualPasswordTypePtr) ToOutput(ctx context.Context) pulumix.Output[*UserDualPasswordType] { + return pulumix.Output[*UserDualPasswordType]{ + OutputState: in.ToUserDualPasswordTypePtrOutputWithContext(ctx).OutputState, + } +} + // The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type. type UserType string @@ -3447,6 +3802,12 @@ func (o UserTypeOutput) ToUserTypePtrOutputWithContext(ctx context.Context) User }).(UserTypePtrOutput) } +func (o UserTypeOutput) ToOutput(ctx context.Context) pulumix.Output[UserType] { + return pulumix.Output[UserType]{ + OutputState: o.OutputState, + } +} + func (o UserTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3482,6 +3843,12 @@ func (o UserTypePtrOutput) ToUserTypePtrOutputWithContext(ctx context.Context) U return o } +func (o UserTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserType] { + return pulumix.Output[*UserType]{ + OutputState: o.OutputState, + } +} + func (o UserTypePtrOutput) Elem() UserTypeOutput { return o.ApplyT(func(v *UserType) UserType { if v != nil { @@ -3544,6 +3911,12 @@ func (in *userTypePtr) ToUserTypePtrOutputWithContext(ctx context.Context) UserT return pulumi.ToOutputWithContext(ctx, in).(UserTypePtrOutput) } +func (in *userTypePtr) ToOutput(ctx context.Context) pulumix.Output[*UserType] { + return pulumix.Output[*UserType]{ + OutputState: in.ToUserTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*BackupRetentionSettingsRetentionUnitInput)(nil)).Elem(), BackupRetentionSettingsRetentionUnit("RETENTION_UNIT_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*BackupRetentionSettingsRetentionUnitPtrInput)(nil)).Elem(), BackupRetentionSettingsRetentionUnit("RETENTION_UNIT_UNSPECIFIED")) diff --git a/sdk/go/google/sqladmin/v1/pulumiTypes.go b/sdk/go/google/sqladmin/v1/pulumiTypes.go index 3c19dc0be0..4c8b65b2ff 100644 --- a/sdk/go/google/sqladmin/v1/pulumiTypes.go +++ b/sdk/go/google/sqladmin/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AclEntryArgs) ToAclEntryOutputWithContext(ctx context.Context) AclEntryO return pulumi.ToOutputWithContext(ctx, i).(AclEntryOutput) } +func (i AclEntryArgs) ToOutput(ctx context.Context) pulumix.Output[AclEntry] { + return pulumix.Output[AclEntry]{ + OutputState: i.ToAclEntryOutputWithContext(ctx).OutputState, + } +} + // AclEntryArrayInput is an input type that accepts AclEntryArray and AclEntryArrayOutput values. // You can construct a concrete instance of `AclEntryArrayInput` via: // @@ -85,6 +92,12 @@ func (i AclEntryArray) ToAclEntryArrayOutputWithContext(ctx context.Context) Acl return pulumi.ToOutputWithContext(ctx, i).(AclEntryArrayOutput) } +func (i AclEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]AclEntry] { + return pulumix.Output[[]AclEntry]{ + OutputState: i.ToAclEntryArrayOutputWithContext(ctx).OutputState, + } +} + // An entry for an Access Control list. type AclEntryOutput struct{ *pulumi.OutputState } @@ -100,6 +113,12 @@ func (o AclEntryOutput) ToAclEntryOutputWithContext(ctx context.Context) AclEntr return o } +func (o AclEntryOutput) ToOutput(ctx context.Context) pulumix.Output[AclEntry] { + return pulumix.Output[AclEntry]{ + OutputState: o.OutputState, + } +} + // The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. func (o AclEntryOutput) ExpirationTime() pulumi.StringPtrOutput { return o.ApplyT(func(v AclEntry) *string { return v.ExpirationTime }).(pulumi.StringPtrOutput) @@ -134,6 +153,12 @@ func (o AclEntryArrayOutput) ToAclEntryArrayOutputWithContext(ctx context.Contex return o } +func (o AclEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AclEntry] { + return pulumix.Output[[]AclEntry]{ + OutputState: o.OutputState, + } +} + func (o AclEntryArrayOutput) Index(i pulumi.IntInput) AclEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AclEntry { return vs[0].([]AclEntry)[vs[1].(int)] @@ -167,6 +192,12 @@ func (o AclEntryResponseOutput) ToAclEntryResponseOutputWithContext(ctx context. return o } +func (o AclEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AclEntryResponse] { + return pulumix.Output[AclEntryResponse]{ + OutputState: o.OutputState, + } +} + // The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. func (o AclEntryResponseOutput) ExpirationTime() pulumi.StringOutput { return o.ApplyT(func(v AclEntryResponse) string { return v.ExpirationTime }).(pulumi.StringOutput) @@ -201,6 +232,12 @@ func (o AclEntryResponseArrayOutput) ToAclEntryResponseArrayOutputWithContext(ct return o } +func (o AclEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AclEntryResponse] { + return pulumix.Output[[]AclEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o AclEntryResponseArrayOutput) Index(i pulumi.IntInput) AclEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AclEntryResponse { return vs[0].([]AclEntryResponse)[vs[1].(int)] @@ -242,6 +279,12 @@ func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesOutput) } +func (i AdvancedMachineFeaturesArgs) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesOutputWithContext(ctx).OutputState, + } +} + func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesPtrOutput() AdvancedMachineFeaturesPtrOutput { return i.ToAdvancedMachineFeaturesPtrOutputWithContext(context.Background()) } @@ -283,6 +326,12 @@ func (i *advancedMachineFeaturesPtrType) ToAdvancedMachineFeaturesPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesPtrOutput) } +func (i *advancedMachineFeaturesPtrType) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies options for controlling advanced machine features. type AdvancedMachineFeaturesOutput struct{ *pulumi.OutputState } @@ -308,6 +357,12 @@ func (o AdvancedMachineFeaturesOutput) ToAdvancedMachineFeaturesPtrOutputWithCon }).(AdvancedMachineFeaturesPtrOutput) } +func (o AdvancedMachineFeaturesOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + // The number of threads per physical core. func (o AdvancedMachineFeaturesOutput) ThreadsPerCore() pulumi.IntPtrOutput { return o.ApplyT(func(v AdvancedMachineFeatures) *int { return v.ThreadsPerCore }).(pulumi.IntPtrOutput) @@ -327,6 +382,12 @@ func (o AdvancedMachineFeaturesPtrOutput) ToAdvancedMachineFeaturesPtrOutputWith return o } +func (o AdvancedMachineFeaturesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + func (o AdvancedMachineFeaturesPtrOutput) Elem() AdvancedMachineFeaturesOutput { return o.ApplyT(func(v *AdvancedMachineFeatures) AdvancedMachineFeatures { if v != nil { @@ -368,6 +429,12 @@ func (o AdvancedMachineFeaturesResponseOutput) ToAdvancedMachineFeaturesResponse return o } +func (o AdvancedMachineFeaturesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeaturesResponse] { + return pulumix.Output[AdvancedMachineFeaturesResponse]{ + OutputState: o.OutputState, + } +} + // The number of threads per physical core. func (o AdvancedMachineFeaturesResponseOutput) ThreadsPerCore() pulumi.IntOutput { return o.ApplyT(func(v AdvancedMachineFeaturesResponse) int { return v.ThreadsPerCore }).(pulumi.IntOutput) @@ -440,6 +507,12 @@ func (i BackupConfigurationArgs) ToBackupConfigurationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BackupConfigurationOutput) } +func (i BackupConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[BackupConfiguration] { + return pulumix.Output[BackupConfiguration]{ + OutputState: i.ToBackupConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i BackupConfigurationArgs) ToBackupConfigurationPtrOutput() BackupConfigurationPtrOutput { return i.ToBackupConfigurationPtrOutputWithContext(context.Background()) } @@ -481,6 +554,12 @@ func (i *backupConfigurationPtrType) ToBackupConfigurationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BackupConfigurationPtrOutput) } +func (i *backupConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackupConfiguration] { + return pulumix.Output[*BackupConfiguration]{ + OutputState: i.ToBackupConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Database instance backup configuration. type BackupConfigurationOutput struct{ *pulumi.OutputState } @@ -506,6 +585,12 @@ func (o BackupConfigurationOutput) ToBackupConfigurationPtrOutputWithContext(ctx }).(BackupConfigurationPtrOutput) } +func (o BackupConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[BackupConfiguration] { + return pulumix.Output[BackupConfiguration]{ + OutputState: o.OutputState, + } +} + // Backup retention settings. func (o BackupConfigurationOutput) BackupRetentionSettings() BackupRetentionSettingsPtrOutput { return o.ApplyT(func(v BackupConfiguration) *BackupRetentionSettings { return v.BackupRetentionSettings }).(BackupRetentionSettingsPtrOutput) @@ -565,6 +650,12 @@ func (o BackupConfigurationPtrOutput) ToBackupConfigurationPtrOutputWithContext( return o } +func (o BackupConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupConfiguration] { + return pulumix.Output[*BackupConfiguration]{ + OutputState: o.OutputState, + } +} + func (o BackupConfigurationPtrOutput) Elem() BackupConfigurationOutput { return o.ApplyT(func(v *BackupConfiguration) BackupConfiguration { if v != nil { @@ -702,6 +793,12 @@ func (o BackupConfigurationResponseOutput) ToBackupConfigurationResponseOutputWi return o } +func (o BackupConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackupConfigurationResponse] { + return pulumix.Output[BackupConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // Backup retention settings. func (o BackupConfigurationResponseOutput) BackupRetentionSettings() BackupRetentionSettingsResponseOutput { return o.ApplyT(func(v BackupConfigurationResponse) BackupRetentionSettingsResponse { return v.BackupRetentionSettings }).(BackupRetentionSettingsResponseOutput) @@ -786,6 +883,12 @@ func (i BackupRetentionSettingsArgs) ToBackupRetentionSettingsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BackupRetentionSettingsOutput) } +func (i BackupRetentionSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[BackupRetentionSettings] { + return pulumix.Output[BackupRetentionSettings]{ + OutputState: i.ToBackupRetentionSettingsOutputWithContext(ctx).OutputState, + } +} + func (i BackupRetentionSettingsArgs) ToBackupRetentionSettingsPtrOutput() BackupRetentionSettingsPtrOutput { return i.ToBackupRetentionSettingsPtrOutputWithContext(context.Background()) } @@ -827,6 +930,12 @@ func (i *backupRetentionSettingsPtrType) ToBackupRetentionSettingsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BackupRetentionSettingsPtrOutput) } +func (i *backupRetentionSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackupRetentionSettings] { + return pulumix.Output[*BackupRetentionSettings]{ + OutputState: i.ToBackupRetentionSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // We currently only support backup retention by specifying the number of backups we will retain. type BackupRetentionSettingsOutput struct{ *pulumi.OutputState } @@ -852,6 +961,12 @@ func (o BackupRetentionSettingsOutput) ToBackupRetentionSettingsPtrOutputWithCon }).(BackupRetentionSettingsPtrOutput) } +func (o BackupRetentionSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[BackupRetentionSettings] { + return pulumix.Output[BackupRetentionSettings]{ + OutputState: o.OutputState, + } +} + // Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups. func (o BackupRetentionSettingsOutput) RetainedBackups() pulumi.IntPtrOutput { return o.ApplyT(func(v BackupRetentionSettings) *int { return v.RetainedBackups }).(pulumi.IntPtrOutput) @@ -876,6 +991,12 @@ func (o BackupRetentionSettingsPtrOutput) ToBackupRetentionSettingsPtrOutputWith return o } +func (o BackupRetentionSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupRetentionSettings] { + return pulumix.Output[*BackupRetentionSettings]{ + OutputState: o.OutputState, + } +} + func (o BackupRetentionSettingsPtrOutput) Elem() BackupRetentionSettingsOutput { return o.ApplyT(func(v *BackupRetentionSettings) BackupRetentionSettings { if v != nil { @@ -929,6 +1050,12 @@ func (o BackupRetentionSettingsResponseOutput) ToBackupRetentionSettingsResponse return o } +func (o BackupRetentionSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackupRetentionSettingsResponse] { + return pulumix.Output[BackupRetentionSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups. func (o BackupRetentionSettingsResponseOutput) RetainedBackups() pulumi.IntOutput { return o.ApplyT(func(v BackupRetentionSettingsResponse) int { return v.RetainedBackups }).(pulumi.IntOutput) @@ -978,6 +1105,12 @@ func (i DatabaseFlagsArgs) ToDatabaseFlagsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DatabaseFlagsOutput) } +func (i DatabaseFlagsArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseFlags] { + return pulumix.Output[DatabaseFlags]{ + OutputState: i.ToDatabaseFlagsOutputWithContext(ctx).OutputState, + } +} + // DatabaseFlagsArrayInput is an input type that accepts DatabaseFlagsArray and DatabaseFlagsArrayOutput values. // You can construct a concrete instance of `DatabaseFlagsArrayInput` via: // @@ -1003,6 +1136,12 @@ func (i DatabaseFlagsArray) ToDatabaseFlagsArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DatabaseFlagsArrayOutput) } +func (i DatabaseFlagsArray) ToOutput(ctx context.Context) pulumix.Output[[]DatabaseFlags] { + return pulumix.Output[[]DatabaseFlags]{ + OutputState: i.ToDatabaseFlagsArrayOutputWithContext(ctx).OutputState, + } +} + // Database flags for Cloud SQL instances. type DatabaseFlagsOutput struct{ *pulumi.OutputState } @@ -1018,6 +1157,12 @@ func (o DatabaseFlagsOutput) ToDatabaseFlagsOutputWithContext(ctx context.Contex return o } +func (o DatabaseFlagsOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseFlags] { + return pulumix.Output[DatabaseFlags]{ + OutputState: o.OutputState, + } +} + // The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags) in the Cloud SQL documentation. func (o DatabaseFlagsOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseFlags) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -1042,6 +1187,12 @@ func (o DatabaseFlagsArrayOutput) ToDatabaseFlagsArrayOutputWithContext(ctx cont return o } +func (o DatabaseFlagsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatabaseFlags] { + return pulumix.Output[[]DatabaseFlags]{ + OutputState: o.OutputState, + } +} + func (o DatabaseFlagsArrayOutput) Index(i pulumi.IntInput) DatabaseFlagsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatabaseFlags { return vs[0].([]DatabaseFlags)[vs[1].(int)] @@ -1071,6 +1222,12 @@ func (o DatabaseFlagsResponseOutput) ToDatabaseFlagsResponseOutputWithContext(ct return o } +func (o DatabaseFlagsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseFlagsResponse] { + return pulumix.Output[DatabaseFlagsResponse]{ + OutputState: o.OutputState, + } +} + // The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags) in the Cloud SQL documentation. func (o DatabaseFlagsResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v DatabaseFlagsResponse) string { return v.Name }).(pulumi.StringOutput) @@ -1095,6 +1252,12 @@ func (o DatabaseFlagsResponseArrayOutput) ToDatabaseFlagsResponseArrayOutputWith return o } +func (o DatabaseFlagsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatabaseFlagsResponse] { + return pulumix.Output[[]DatabaseFlagsResponse]{ + OutputState: o.OutputState, + } +} + func (o DatabaseFlagsResponseArrayOutput) Index(i pulumi.IntInput) DatabaseFlagsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatabaseFlagsResponse { return vs[0].([]DatabaseFlagsResponse)[vs[1].(int)] @@ -1144,6 +1307,12 @@ func (i DenyMaintenancePeriodArgs) ToDenyMaintenancePeriodOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DenyMaintenancePeriodOutput) } +func (i DenyMaintenancePeriodArgs) ToOutput(ctx context.Context) pulumix.Output[DenyMaintenancePeriod] { + return pulumix.Output[DenyMaintenancePeriod]{ + OutputState: i.ToDenyMaintenancePeriodOutputWithContext(ctx).OutputState, + } +} + // DenyMaintenancePeriodArrayInput is an input type that accepts DenyMaintenancePeriodArray and DenyMaintenancePeriodArrayOutput values. // You can construct a concrete instance of `DenyMaintenancePeriodArrayInput` via: // @@ -1169,6 +1338,12 @@ func (i DenyMaintenancePeriodArray) ToDenyMaintenancePeriodArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(DenyMaintenancePeriodArrayOutput) } +func (i DenyMaintenancePeriodArray) ToOutput(ctx context.Context) pulumix.Output[[]DenyMaintenancePeriod] { + return pulumix.Output[[]DenyMaintenancePeriod]{ + OutputState: i.ToDenyMaintenancePeriodArrayOutputWithContext(ctx).OutputState, + } +} + // Deny maintenance Periods. This specifies a date range during when all CSA rollout will be denied. type DenyMaintenancePeriodOutput struct{ *pulumi.OutputState } @@ -1184,6 +1359,12 @@ func (o DenyMaintenancePeriodOutput) ToDenyMaintenancePeriodOutputWithContext(ct return o } +func (o DenyMaintenancePeriodOutput) ToOutput(ctx context.Context) pulumix.Output[DenyMaintenancePeriod] { + return pulumix.Output[DenyMaintenancePeriod]{ + OutputState: o.OutputState, + } +} + // "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01 func (o DenyMaintenancePeriodOutput) EndDate() pulumi.StringPtrOutput { return o.ApplyT(func(v DenyMaintenancePeriod) *string { return v.EndDate }).(pulumi.StringPtrOutput) @@ -1213,6 +1394,12 @@ func (o DenyMaintenancePeriodArrayOutput) ToDenyMaintenancePeriodArrayOutputWith return o } +func (o DenyMaintenancePeriodArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DenyMaintenancePeriod] { + return pulumix.Output[[]DenyMaintenancePeriod]{ + OutputState: o.OutputState, + } +} + func (o DenyMaintenancePeriodArrayOutput) Index(i pulumi.IntInput) DenyMaintenancePeriodOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DenyMaintenancePeriod { return vs[0].([]DenyMaintenancePeriod)[vs[1].(int)] @@ -1244,6 +1431,12 @@ func (o DenyMaintenancePeriodResponseOutput) ToDenyMaintenancePeriodResponseOutp return o } +func (o DenyMaintenancePeriodResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DenyMaintenancePeriodResponse] { + return pulumix.Output[DenyMaintenancePeriodResponse]{ + OutputState: o.OutputState, + } +} + // "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01 func (o DenyMaintenancePeriodResponseOutput) EndDate() pulumi.StringOutput { return o.ApplyT(func(v DenyMaintenancePeriodResponse) string { return v.EndDate }).(pulumi.StringOutput) @@ -1273,6 +1466,12 @@ func (o DenyMaintenancePeriodResponseArrayOutput) ToDenyMaintenancePeriodRespons return o } +func (o DenyMaintenancePeriodResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DenyMaintenancePeriodResponse] { + return pulumix.Output[[]DenyMaintenancePeriodResponse]{ + OutputState: o.OutputState, + } +} + func (o DenyMaintenancePeriodResponseArrayOutput) Index(i pulumi.IntInput) DenyMaintenancePeriodResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DenyMaintenancePeriodResponse { return vs[0].([]DenyMaintenancePeriodResponse)[vs[1].(int)] @@ -1318,6 +1517,12 @@ func (i DiskEncryptionConfigurationArgs) ToDiskEncryptionConfigurationOutputWith return pulumi.ToOutputWithContext(ctx, i).(DiskEncryptionConfigurationOutput) } +func (i DiskEncryptionConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionConfiguration] { + return pulumix.Output[DiskEncryptionConfiguration]{ + OutputState: i.ToDiskEncryptionConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i DiskEncryptionConfigurationArgs) ToDiskEncryptionConfigurationPtrOutput() DiskEncryptionConfigurationPtrOutput { return i.ToDiskEncryptionConfigurationPtrOutputWithContext(context.Background()) } @@ -1359,6 +1564,12 @@ func (i *diskEncryptionConfigurationPtrType) ToDiskEncryptionConfigurationPtrOut return pulumi.ToOutputWithContext(ctx, i).(DiskEncryptionConfigurationPtrOutput) } +func (i *diskEncryptionConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskEncryptionConfiguration] { + return pulumix.Output[*DiskEncryptionConfiguration]{ + OutputState: i.ToDiskEncryptionConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Disk encryption configuration for an instance. type DiskEncryptionConfigurationOutput struct{ *pulumi.OutputState } @@ -1384,6 +1595,12 @@ func (o DiskEncryptionConfigurationOutput) ToDiskEncryptionConfigurationPtrOutpu }).(DiskEncryptionConfigurationPtrOutput) } +func (o DiskEncryptionConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionConfiguration] { + return pulumix.Output[DiskEncryptionConfiguration]{ + OutputState: o.OutputState, + } +} + // This is always `sql#diskEncryptionConfiguration`. func (o DiskEncryptionConfigurationOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v DiskEncryptionConfiguration) *string { return v.Kind }).(pulumi.StringPtrOutput) @@ -1408,6 +1625,12 @@ func (o DiskEncryptionConfigurationPtrOutput) ToDiskEncryptionConfigurationPtrOu return o } +func (o DiskEncryptionConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskEncryptionConfiguration] { + return pulumix.Output[*DiskEncryptionConfiguration]{ + OutputState: o.OutputState, + } +} + func (o DiskEncryptionConfigurationPtrOutput) Elem() DiskEncryptionConfigurationOutput { return o.ApplyT(func(v *DiskEncryptionConfiguration) DiskEncryptionConfiguration { if v != nil { @@ -1461,6 +1684,12 @@ func (o DiskEncryptionConfigurationResponseOutput) ToDiskEncryptionConfiguration return o } +func (o DiskEncryptionConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionConfigurationResponse] { + return pulumix.Output[DiskEncryptionConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // This is always `sql#diskEncryptionConfiguration`. func (o DiskEncryptionConfigurationResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v DiskEncryptionConfigurationResponse) string { return v.Kind }).(pulumi.StringOutput) @@ -1510,6 +1739,12 @@ func (i DiskEncryptionStatusArgs) ToDiskEncryptionStatusOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DiskEncryptionStatusOutput) } +func (i DiskEncryptionStatusArgs) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionStatus] { + return pulumix.Output[DiskEncryptionStatus]{ + OutputState: i.ToDiskEncryptionStatusOutputWithContext(ctx).OutputState, + } +} + func (i DiskEncryptionStatusArgs) ToDiskEncryptionStatusPtrOutput() DiskEncryptionStatusPtrOutput { return i.ToDiskEncryptionStatusPtrOutputWithContext(context.Background()) } @@ -1551,6 +1786,12 @@ func (i *diskEncryptionStatusPtrType) ToDiskEncryptionStatusPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DiskEncryptionStatusPtrOutput) } +func (i *diskEncryptionStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskEncryptionStatus] { + return pulumix.Output[*DiskEncryptionStatus]{ + OutputState: i.ToDiskEncryptionStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Disk encryption status for an instance. type DiskEncryptionStatusOutput struct{ *pulumi.OutputState } @@ -1576,6 +1817,12 @@ func (o DiskEncryptionStatusOutput) ToDiskEncryptionStatusPtrOutputWithContext(c }).(DiskEncryptionStatusPtrOutput) } +func (o DiskEncryptionStatusOutput) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionStatus] { + return pulumix.Output[DiskEncryptionStatus]{ + OutputState: o.OutputState, + } +} + // This is always `sql#diskEncryptionStatus`. func (o DiskEncryptionStatusOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v DiskEncryptionStatus) *string { return v.Kind }).(pulumi.StringPtrOutput) @@ -1600,6 +1847,12 @@ func (o DiskEncryptionStatusPtrOutput) ToDiskEncryptionStatusPtrOutputWithContex return o } +func (o DiskEncryptionStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskEncryptionStatus] { + return pulumix.Output[*DiskEncryptionStatus]{ + OutputState: o.OutputState, + } +} + func (o DiskEncryptionStatusPtrOutput) Elem() DiskEncryptionStatusOutput { return o.ApplyT(func(v *DiskEncryptionStatus) DiskEncryptionStatus { if v != nil { @@ -1653,6 +1906,12 @@ func (o DiskEncryptionStatusResponseOutput) ToDiskEncryptionStatusResponseOutput return o } +func (o DiskEncryptionStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionStatusResponse] { + return pulumix.Output[DiskEncryptionStatusResponse]{ + OutputState: o.OutputState, + } +} + // This is always `sql#diskEncryptionStatus`. func (o DiskEncryptionStatusResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v DiskEncryptionStatusResponse) string { return v.Kind }).(pulumi.StringOutput) @@ -1714,6 +1973,12 @@ func (i InsightsConfigArgs) ToInsightsConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(InsightsConfigOutput) } +func (i InsightsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InsightsConfig] { + return pulumix.Output[InsightsConfig]{ + OutputState: i.ToInsightsConfigOutputWithContext(ctx).OutputState, + } +} + func (i InsightsConfigArgs) ToInsightsConfigPtrOutput() InsightsConfigPtrOutput { return i.ToInsightsConfigPtrOutputWithContext(context.Background()) } @@ -1755,6 +2020,12 @@ func (i *insightsConfigPtrType) ToInsightsConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(InsightsConfigPtrOutput) } +func (i *insightsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InsightsConfig] { + return pulumix.Output[*InsightsConfig]{ + OutputState: i.ToInsightsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration. type InsightsConfigOutput struct{ *pulumi.OutputState } @@ -1780,6 +2051,12 @@ func (o InsightsConfigOutput) ToInsightsConfigPtrOutputWithContext(ctx context.C }).(InsightsConfigPtrOutput) } +func (o InsightsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InsightsConfig] { + return pulumix.Output[InsightsConfig]{ + OutputState: o.OutputState, + } +} + // Whether Query Insights feature is enabled. func (o InsightsConfigOutput) QueryInsightsEnabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v InsightsConfig) *bool { return v.QueryInsightsEnabled }).(pulumi.BoolPtrOutput) @@ -1819,6 +2096,12 @@ func (o InsightsConfigPtrOutput) ToInsightsConfigPtrOutputWithContext(ctx contex return o } +func (o InsightsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InsightsConfig] { + return pulumix.Output[*InsightsConfig]{ + OutputState: o.OutputState, + } +} + func (o InsightsConfigPtrOutput) Elem() InsightsConfigOutput { return o.ApplyT(func(v *InsightsConfig) InsightsConfig { if v != nil { @@ -1908,6 +2191,12 @@ func (o InsightsConfigResponseOutput) ToInsightsConfigResponseOutputWithContext( return o } +func (o InsightsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InsightsConfigResponse] { + return pulumix.Output[InsightsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Query Insights feature is enabled. func (o InsightsConfigResponseOutput) QueryInsightsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v InsightsConfigResponse) bool { return v.QueryInsightsEnabled }).(pulumi.BoolOutput) @@ -1972,6 +2261,12 @@ func (i InstanceFailoverReplicaArgs) ToInstanceFailoverReplicaOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(InstanceFailoverReplicaOutput) } +func (i InstanceFailoverReplicaArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceFailoverReplica] { + return pulumix.Output[InstanceFailoverReplica]{ + OutputState: i.ToInstanceFailoverReplicaOutputWithContext(ctx).OutputState, + } +} + func (i InstanceFailoverReplicaArgs) ToInstanceFailoverReplicaPtrOutput() InstanceFailoverReplicaPtrOutput { return i.ToInstanceFailoverReplicaPtrOutputWithContext(context.Background()) } @@ -2013,6 +2308,12 @@ func (i *instanceFailoverReplicaPtrType) ToInstanceFailoverReplicaPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(InstanceFailoverReplicaPtrOutput) } +func (i *instanceFailoverReplicaPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceFailoverReplica] { + return pulumix.Output[*InstanceFailoverReplica]{ + OutputState: i.ToInstanceFailoverReplicaPtrOutputWithContext(ctx).OutputState, + } +} + // The name and status of the failover replica. type InstanceFailoverReplicaOutput struct{ *pulumi.OutputState } @@ -2038,6 +2339,12 @@ func (o InstanceFailoverReplicaOutput) ToInstanceFailoverReplicaPtrOutputWithCon }).(InstanceFailoverReplicaPtrOutput) } +func (o InstanceFailoverReplicaOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceFailoverReplica] { + return pulumix.Output[InstanceFailoverReplica]{ + OutputState: o.OutputState, + } +} + // The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true. func (o InstanceFailoverReplicaOutput) Available() pulumi.BoolPtrOutput { return o.ApplyT(func(v InstanceFailoverReplica) *bool { return v.Available }).(pulumi.BoolPtrOutput) @@ -2062,6 +2369,12 @@ func (o InstanceFailoverReplicaPtrOutput) ToInstanceFailoverReplicaPtrOutputWith return o } +func (o InstanceFailoverReplicaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceFailoverReplica] { + return pulumix.Output[*InstanceFailoverReplica]{ + OutputState: o.OutputState, + } +} + func (o InstanceFailoverReplicaPtrOutput) Elem() InstanceFailoverReplicaOutput { return o.ApplyT(func(v *InstanceFailoverReplica) InstanceFailoverReplica { if v != nil { @@ -2115,6 +2428,12 @@ func (o InstanceFailoverReplicaResponseOutput) ToInstanceFailoverReplicaResponse return o } +func (o InstanceFailoverReplicaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceFailoverReplicaResponse] { + return pulumix.Output[InstanceFailoverReplicaResponse]{ + OutputState: o.OutputState, + } +} + // The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true. func (o InstanceFailoverReplicaResponseOutput) Available() pulumi.BoolOutput { return o.ApplyT(func(v InstanceFailoverReplicaResponse) bool { return v.Available }).(pulumi.BoolOutput) @@ -2168,6 +2487,12 @@ func (i InstanceReferenceArgs) ToInstanceReferenceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(InstanceReferenceOutput) } +func (i InstanceReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceReference] { + return pulumix.Output[InstanceReference]{ + OutputState: i.ToInstanceReferenceOutputWithContext(ctx).OutputState, + } +} + func (i InstanceReferenceArgs) ToInstanceReferencePtrOutput() InstanceReferencePtrOutput { return i.ToInstanceReferencePtrOutputWithContext(context.Background()) } @@ -2209,6 +2534,12 @@ func (i *instanceReferencePtrType) ToInstanceReferencePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InstanceReferencePtrOutput) } +func (i *instanceReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceReference] { + return pulumix.Output[*InstanceReference]{ + OutputState: i.ToInstanceReferencePtrOutputWithContext(ctx).OutputState, + } +} + // Reference to another Cloud SQL instance. type InstanceReferenceOutput struct{ *pulumi.OutputState } @@ -2234,6 +2565,12 @@ func (o InstanceReferenceOutput) ToInstanceReferencePtrOutputWithContext(ctx con }).(InstanceReferencePtrOutput) } +func (o InstanceReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceReference] { + return pulumix.Output[InstanceReference]{ + OutputState: o.OutputState, + } +} + // The name of the Cloud SQL instance being referenced. This does not include the project ID. func (o InstanceReferenceOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceReference) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -2263,6 +2600,12 @@ func (o InstanceReferencePtrOutput) ToInstanceReferencePtrOutputWithContext(ctx return o } +func (o InstanceReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceReference] { + return pulumix.Output[*InstanceReference]{ + OutputState: o.OutputState, + } +} + func (o InstanceReferencePtrOutput) Elem() InstanceReferenceOutput { return o.ApplyT(func(v *InstanceReference) InstanceReference { if v != nil { @@ -2328,6 +2671,12 @@ func (o InstanceReferenceResponseOutput) ToInstanceReferenceResponseOutputWithCo return o } +func (o InstanceReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceReferenceResponse] { + return pulumix.Output[InstanceReferenceResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Cloud SQL instance being referenced. This does not include the project ID. func (o InstanceReferenceResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v InstanceReferenceResponse) string { return v.Name }).(pulumi.StringOutput) @@ -2398,6 +2747,12 @@ func (i IpConfigurationArgs) ToIpConfigurationOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(IpConfigurationOutput) } +func (i IpConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[IpConfiguration] { + return pulumix.Output[IpConfiguration]{ + OutputState: i.ToIpConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i IpConfigurationArgs) ToIpConfigurationPtrOutput() IpConfigurationPtrOutput { return i.ToIpConfigurationPtrOutputWithContext(context.Background()) } @@ -2439,6 +2794,12 @@ func (i *ipConfigurationPtrType) ToIpConfigurationPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(IpConfigurationPtrOutput) } +func (i *ipConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*IpConfiguration] { + return pulumix.Output[*IpConfiguration]{ + OutputState: i.ToIpConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // IP Management configuration. type IpConfigurationOutput struct{ *pulumi.OutputState } @@ -2464,6 +2825,12 @@ func (o IpConfigurationOutput) ToIpConfigurationPtrOutputWithContext(ctx context }).(IpConfigurationPtrOutput) } +func (o IpConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[IpConfiguration] { + return pulumix.Output[IpConfiguration]{ + OutputState: o.OutputState, + } +} + // The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.` func (o IpConfigurationOutput) AllocatedIpRange() pulumi.StringPtrOutput { return o.ApplyT(func(v IpConfiguration) *string { return v.AllocatedIpRange }).(pulumi.StringPtrOutput) @@ -2508,6 +2875,12 @@ func (o IpConfigurationPtrOutput) ToIpConfigurationPtrOutputWithContext(ctx cont return o } +func (o IpConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IpConfiguration] { + return pulumix.Output[*IpConfiguration]{ + OutputState: o.OutputState, + } +} + func (o IpConfigurationPtrOutput) Elem() IpConfigurationOutput { return o.ApplyT(func(v *IpConfiguration) IpConfiguration { if v != nil { @@ -2609,6 +2982,12 @@ func (o IpConfigurationResponseOutput) ToIpConfigurationResponseOutputWithContex return o } +func (o IpConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IpConfigurationResponse] { + return pulumix.Output[IpConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.` func (o IpConfigurationResponseOutput) AllocatedIpRange() pulumi.StringOutput { return o.ApplyT(func(v IpConfigurationResponse) string { return v.AllocatedIpRange }).(pulumi.StringOutput) @@ -2682,6 +3061,12 @@ func (i IpMappingArgs) ToIpMappingOutputWithContext(ctx context.Context) IpMappi return pulumi.ToOutputWithContext(ctx, i).(IpMappingOutput) } +func (i IpMappingArgs) ToOutput(ctx context.Context) pulumix.Output[IpMapping] { + return pulumix.Output[IpMapping]{ + OutputState: i.ToIpMappingOutputWithContext(ctx).OutputState, + } +} + // IpMappingArrayInput is an input type that accepts IpMappingArray and IpMappingArrayOutput values. // You can construct a concrete instance of `IpMappingArrayInput` via: // @@ -2707,6 +3092,12 @@ func (i IpMappingArray) ToIpMappingArrayOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(IpMappingArrayOutput) } +func (i IpMappingArray) ToOutput(ctx context.Context) pulumix.Output[[]IpMapping] { + return pulumix.Output[[]IpMapping]{ + OutputState: i.ToIpMappingArrayOutputWithContext(ctx).OutputState, + } +} + // Database instance IP Mapping. type IpMappingOutput struct{ *pulumi.OutputState } @@ -2722,6 +3113,12 @@ func (o IpMappingOutput) ToIpMappingOutputWithContext(ctx context.Context) IpMap return o } +func (o IpMappingOutput) ToOutput(ctx context.Context) pulumix.Output[IpMapping] { + return pulumix.Output[IpMapping]{ + OutputState: o.OutputState, + } +} + // The IP address assigned. func (o IpMappingOutput) IpAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v IpMapping) *string { return v.IpAddress }).(pulumi.StringPtrOutput) @@ -2751,6 +3148,12 @@ func (o IpMappingArrayOutput) ToIpMappingArrayOutputWithContext(ctx context.Cont return o } +func (o IpMappingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IpMapping] { + return pulumix.Output[[]IpMapping]{ + OutputState: o.OutputState, + } +} + func (o IpMappingArrayOutput) Index(i pulumi.IntInput) IpMappingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpMapping { return vs[0].([]IpMapping)[vs[1].(int)] @@ -2782,6 +3185,12 @@ func (o IpMappingResponseOutput) ToIpMappingResponseOutputWithContext(ctx contex return o } +func (o IpMappingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IpMappingResponse] { + return pulumix.Output[IpMappingResponse]{ + OutputState: o.OutputState, + } +} + // The IP address assigned. func (o IpMappingResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v IpMappingResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -2811,6 +3220,12 @@ func (o IpMappingResponseArrayOutput) ToIpMappingResponseArrayOutputWithContext( return o } +func (o IpMappingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IpMappingResponse] { + return pulumix.Output[[]IpMappingResponse]{ + OutputState: o.OutputState, + } +} + func (o IpMappingResponseArrayOutput) Index(i pulumi.IntInput) IpMappingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpMappingResponse { return vs[0].([]IpMappingResponse)[vs[1].(int)] @@ -2864,6 +3279,12 @@ func (i LocationPreferenceArgs) ToLocationPreferenceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(LocationPreferenceOutput) } +func (i LocationPreferenceArgs) ToOutput(ctx context.Context) pulumix.Output[LocationPreference] { + return pulumix.Output[LocationPreference]{ + OutputState: i.ToLocationPreferenceOutputWithContext(ctx).OutputState, + } +} + func (i LocationPreferenceArgs) ToLocationPreferencePtrOutput() LocationPreferencePtrOutput { return i.ToLocationPreferencePtrOutputWithContext(context.Background()) } @@ -2905,6 +3326,12 @@ func (i *locationPreferencePtrType) ToLocationPreferencePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(LocationPreferencePtrOutput) } +func (i *locationPreferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*LocationPreference] { + return pulumix.Output[*LocationPreference]{ + OutputState: i.ToLocationPreferencePtrOutputWithContext(ctx).OutputState, + } +} + // Preferred location. This specifies where a Cloud SQL instance is located. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified. type LocationPreferenceOutput struct{ *pulumi.OutputState } @@ -2930,6 +3357,12 @@ func (o LocationPreferenceOutput) ToLocationPreferencePtrOutputWithContext(ctx c }).(LocationPreferencePtrOutput) } +func (o LocationPreferenceOutput) ToOutput(ctx context.Context) pulumix.Output[LocationPreference] { + return pulumix.Output[LocationPreference]{ + OutputState: o.OutputState, + } +} + // The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance. func (o LocationPreferenceOutput) FollowGaeApplication() pulumi.StringPtrOutput { return o.ApplyT(func(v LocationPreference) *string { return v.FollowGaeApplication }).(pulumi.StringPtrOutput) @@ -2964,6 +3397,12 @@ func (o LocationPreferencePtrOutput) ToLocationPreferencePtrOutputWithContext(ct return o } +func (o LocationPreferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocationPreference] { + return pulumix.Output[*LocationPreference]{ + OutputState: o.OutputState, + } +} + func (o LocationPreferencePtrOutput) Elem() LocationPreferenceOutput { return o.ApplyT(func(v *LocationPreference) LocationPreference { if v != nil { @@ -3041,6 +3480,12 @@ func (o LocationPreferenceResponseOutput) ToLocationPreferenceResponseOutputWith return o } +func (o LocationPreferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocationPreferenceResponse] { + return pulumix.Output[LocationPreferenceResponse]{ + OutputState: o.OutputState, + } +} + // The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance. func (o LocationPreferenceResponseOutput) FollowGaeApplication() pulumi.StringOutput { return o.ApplyT(func(v LocationPreferenceResponse) string { return v.FollowGaeApplication }).(pulumi.StringOutput) @@ -3108,6 +3553,12 @@ func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput) } +func (i MaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -3149,6 +3600,12 @@ func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowPtrOutput) } +func (i *maintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance purposes. type MaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -3174,6 +3631,12 @@ func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx con }).(MaintenanceWindowPtrOutput) } +func (o MaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // day of week (1-7), starting on Monday. func (o MaintenanceWindowOutput) Day() pulumi.IntPtrOutput { return o.ApplyT(func(v MaintenanceWindow) *int { return v.Day }).(pulumi.IntPtrOutput) @@ -3208,6 +3671,12 @@ func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx return o } +func (o MaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowPtrOutput) Elem() MaintenanceWindowOutput { return o.ApplyT(func(v *MaintenanceWindow) MaintenanceWindow { if v != nil { @@ -3285,6 +3754,12 @@ func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithCo return o } +func (o MaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowResponse] { + return pulumix.Output[MaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // day of week (1-7), starting on Monday. func (o MaintenanceWindowResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v MaintenanceWindowResponse) int { return v.Day }).(pulumi.IntOutput) @@ -3380,6 +3855,12 @@ func (i MySqlReplicaConfigurationArgs) ToMySqlReplicaConfigurationOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(MySqlReplicaConfigurationOutput) } +func (i MySqlReplicaConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[MySqlReplicaConfiguration] { + return pulumix.Output[MySqlReplicaConfiguration]{ + OutputState: i.ToMySqlReplicaConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i MySqlReplicaConfigurationArgs) ToMySqlReplicaConfigurationPtrOutput() MySqlReplicaConfigurationPtrOutput { return i.ToMySqlReplicaConfigurationPtrOutputWithContext(context.Background()) } @@ -3421,6 +3902,12 @@ func (i *mySqlReplicaConfigurationPtrType) ToMySqlReplicaConfigurationPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(MySqlReplicaConfigurationPtrOutput) } +func (i *mySqlReplicaConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*MySqlReplicaConfiguration] { + return pulumix.Output[*MySqlReplicaConfiguration]{ + OutputState: i.ToMySqlReplicaConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Read-replica configuration specific to MySQL databases. type MySqlReplicaConfigurationOutput struct{ *pulumi.OutputState } @@ -3446,6 +3933,12 @@ func (o MySqlReplicaConfigurationOutput) ToMySqlReplicaConfigurationPtrOutputWit }).(MySqlReplicaConfigurationPtrOutput) } +func (o MySqlReplicaConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[MySqlReplicaConfiguration] { + return pulumix.Output[MySqlReplicaConfiguration]{ + OutputState: o.OutputState, + } +} + // PEM representation of the trusted CA's x509 certificate. func (o MySqlReplicaConfigurationOutput) CaCertificate() pulumi.StringPtrOutput { return o.ApplyT(func(v MySqlReplicaConfiguration) *string { return v.CaCertificate }).(pulumi.StringPtrOutput) @@ -3515,6 +4008,12 @@ func (o MySqlReplicaConfigurationPtrOutput) ToMySqlReplicaConfigurationPtrOutput return o } +func (o MySqlReplicaConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MySqlReplicaConfiguration] { + return pulumix.Output[*MySqlReplicaConfiguration]{ + OutputState: o.OutputState, + } +} + func (o MySqlReplicaConfigurationPtrOutput) Elem() MySqlReplicaConfigurationOutput { return o.ApplyT(func(v *MySqlReplicaConfiguration) MySqlReplicaConfiguration { if v != nil { @@ -3676,6 +4175,12 @@ func (o MySqlReplicaConfigurationResponseOutput) ToMySqlReplicaConfigurationResp return o } +func (o MySqlReplicaConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MySqlReplicaConfigurationResponse] { + return pulumix.Output[MySqlReplicaConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // PEM representation of the trusted CA's x509 certificate. func (o MySqlReplicaConfigurationResponseOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v MySqlReplicaConfigurationResponse) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -3798,6 +4303,12 @@ func (i OnPremisesConfigurationArgs) ToOnPremisesConfigurationOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(OnPremisesConfigurationOutput) } +func (i OnPremisesConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[OnPremisesConfiguration] { + return pulumix.Output[OnPremisesConfiguration]{ + OutputState: i.ToOnPremisesConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i OnPremisesConfigurationArgs) ToOnPremisesConfigurationPtrOutput() OnPremisesConfigurationPtrOutput { return i.ToOnPremisesConfigurationPtrOutputWithContext(context.Background()) } @@ -3839,6 +4350,12 @@ func (i *onPremisesConfigurationPtrType) ToOnPremisesConfigurationPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(OnPremisesConfigurationPtrOutput) } +func (i *onPremisesConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*OnPremisesConfiguration] { + return pulumix.Output[*OnPremisesConfiguration]{ + OutputState: i.ToOnPremisesConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // On-premises instance configuration. type OnPremisesConfigurationOutput struct{ *pulumi.OutputState } @@ -3864,6 +4381,12 @@ func (o OnPremisesConfigurationOutput) ToOnPremisesConfigurationPtrOutputWithCon }).(OnPremisesConfigurationPtrOutput) } +func (o OnPremisesConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremisesConfiguration] { + return pulumix.Output[OnPremisesConfiguration]{ + OutputState: o.OutputState, + } +} + // PEM representation of the trusted CA's x509 certificate. func (o OnPremisesConfigurationOutput) CaCertificate() pulumi.StringPtrOutput { return o.ApplyT(func(v OnPremisesConfiguration) *string { return v.CaCertificate }).(pulumi.StringPtrOutput) @@ -3923,6 +4446,12 @@ func (o OnPremisesConfigurationPtrOutput) ToOnPremisesConfigurationPtrOutputWith return o } +func (o OnPremisesConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OnPremisesConfiguration] { + return pulumix.Output[*OnPremisesConfiguration]{ + OutputState: o.OutputState, + } +} + func (o OnPremisesConfigurationPtrOutput) Elem() OnPremisesConfigurationOutput { return o.ApplyT(func(v *OnPremisesConfiguration) OnPremisesConfiguration { if v != nil { @@ -4060,6 +4589,12 @@ func (o OnPremisesConfigurationResponseOutput) ToOnPremisesConfigurationResponse return o } +func (o OnPremisesConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremisesConfigurationResponse] { + return pulumix.Output[OnPremisesConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // PEM representation of the trusted CA's x509 certificate. func (o OnPremisesConfigurationResponseOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v OnPremisesConfigurationResponse) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -4148,6 +4683,12 @@ func (i OperationErrorArgs) ToOperationErrorOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(OperationErrorOutput) } +func (i OperationErrorArgs) ToOutput(ctx context.Context) pulumix.Output[OperationError] { + return pulumix.Output[OperationError]{ + OutputState: i.ToOperationErrorOutputWithContext(ctx).OutputState, + } +} + func (i OperationErrorArgs) ToOperationErrorPtrOutput() OperationErrorPtrOutput { return i.ToOperationErrorPtrOutputWithContext(context.Background()) } @@ -4189,6 +4730,12 @@ func (i *operationErrorPtrType) ToOperationErrorPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(OperationErrorPtrOutput) } +func (i *operationErrorPtrType) ToOutput(ctx context.Context) pulumix.Output[*OperationError] { + return pulumix.Output[*OperationError]{ + OutputState: i.ToOperationErrorPtrOutputWithContext(ctx).OutputState, + } +} + // Database instance operation error. type OperationErrorOutput struct{ *pulumi.OutputState } @@ -4214,6 +4761,12 @@ func (o OperationErrorOutput) ToOperationErrorPtrOutputWithContext(ctx context.C }).(OperationErrorPtrOutput) } +func (o OperationErrorOutput) ToOutput(ctx context.Context) pulumix.Output[OperationError] { + return pulumix.Output[OperationError]{ + OutputState: o.OutputState, + } +} + // Identifies the specific error that occurred. func (o OperationErrorOutput) Code() pulumi.StringPtrOutput { return o.ApplyT(func(v OperationError) *string { return v.Code }).(pulumi.StringPtrOutput) @@ -4243,6 +4796,12 @@ func (o OperationErrorPtrOutput) ToOperationErrorPtrOutputWithContext(ctx contex return o } +func (o OperationErrorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OperationError] { + return pulumix.Output[*OperationError]{ + OutputState: o.OutputState, + } +} + func (o OperationErrorPtrOutput) Elem() OperationErrorOutput { return o.ApplyT(func(v *OperationError) OperationError { if v != nil { @@ -4308,6 +4867,12 @@ func (o OperationErrorResponseOutput) ToOperationErrorResponseOutputWithContext( return o } +func (o OperationErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationErrorResponse] { + return pulumix.Output[OperationErrorResponse]{ + OutputState: o.OutputState, + } +} + // Identifies the specific error that occurred. func (o OperationErrorResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v OperationErrorResponse) string { return v.Code }).(pulumi.StringOutput) @@ -4346,6 +4911,12 @@ func (o PasswordStatusResponseOutput) ToPasswordStatusResponseOutputWithContext( return o } +func (o PasswordStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PasswordStatusResponse] { + return pulumix.Output[PasswordStatusResponse]{ + OutputState: o.OutputState, + } +} + // If true, user does not have login privileges. func (o PasswordStatusResponseOutput) Locked() pulumi.BoolOutput { return o.ApplyT(func(v PasswordStatusResponse) bool { return v.Locked }).(pulumi.BoolOutput) @@ -4411,6 +4982,12 @@ func (i PasswordValidationPolicyArgs) ToPasswordValidationPolicyOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(PasswordValidationPolicyOutput) } +func (i PasswordValidationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[PasswordValidationPolicy] { + return pulumix.Output[PasswordValidationPolicy]{ + OutputState: i.ToPasswordValidationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i PasswordValidationPolicyArgs) ToPasswordValidationPolicyPtrOutput() PasswordValidationPolicyPtrOutput { return i.ToPasswordValidationPolicyPtrOutputWithContext(context.Background()) } @@ -4452,6 +5029,12 @@ func (i *passwordValidationPolicyPtrType) ToPasswordValidationPolicyPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(PasswordValidationPolicyPtrOutput) } +func (i *passwordValidationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*PasswordValidationPolicy] { + return pulumix.Output[*PasswordValidationPolicy]{ + OutputState: i.ToPasswordValidationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Database instance local user password validation policy type PasswordValidationPolicyOutput struct{ *pulumi.OutputState } @@ -4477,6 +5060,12 @@ func (o PasswordValidationPolicyOutput) ToPasswordValidationPolicyPtrOutputWithC }).(PasswordValidationPolicyPtrOutput) } +func (o PasswordValidationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[PasswordValidationPolicy] { + return pulumix.Output[PasswordValidationPolicy]{ + OutputState: o.OutputState, + } +} + // The complexity of the password. func (o PasswordValidationPolicyOutput) Complexity() PasswordValidationPolicyComplexityPtrOutput { return o.ApplyT(func(v PasswordValidationPolicy) *PasswordValidationPolicyComplexity { return v.Complexity }).(PasswordValidationPolicyComplexityPtrOutput) @@ -4521,6 +5110,12 @@ func (o PasswordValidationPolicyPtrOutput) ToPasswordValidationPolicyPtrOutputWi return o } +func (o PasswordValidationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PasswordValidationPolicy] { + return pulumix.Output[*PasswordValidationPolicy]{ + OutputState: o.OutputState, + } +} + func (o PasswordValidationPolicyPtrOutput) Elem() PasswordValidationPolicyOutput { return o.ApplyT(func(v *PasswordValidationPolicy) PasswordValidationPolicy { if v != nil { @@ -4622,6 +5217,12 @@ func (o PasswordValidationPolicyResponseOutput) ToPasswordValidationPolicyRespon return o } +func (o PasswordValidationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PasswordValidationPolicyResponse] { + return pulumix.Output[PasswordValidationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The complexity of the password. func (o PasswordValidationPolicyResponseOutput) Complexity() pulumi.StringOutput { return o.ApplyT(func(v PasswordValidationPolicyResponse) string { return v.Complexity }).(pulumi.StringOutput) @@ -4695,6 +5296,12 @@ func (i ReplicaConfigurationArgs) ToReplicaConfigurationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ReplicaConfigurationOutput) } +func (i ReplicaConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[ReplicaConfiguration] { + return pulumix.Output[ReplicaConfiguration]{ + OutputState: i.ToReplicaConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i ReplicaConfigurationArgs) ToReplicaConfigurationPtrOutput() ReplicaConfigurationPtrOutput { return i.ToReplicaConfigurationPtrOutputWithContext(context.Background()) } @@ -4736,6 +5343,12 @@ func (i *replicaConfigurationPtrType) ToReplicaConfigurationPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ReplicaConfigurationPtrOutput) } +func (i *replicaConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReplicaConfiguration] { + return pulumix.Output[*ReplicaConfiguration]{ + OutputState: i.ToReplicaConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Read-replica configuration for connecting to the primary instance. type ReplicaConfigurationOutput struct{ *pulumi.OutputState } @@ -4761,6 +5374,12 @@ func (o ReplicaConfigurationOutput) ToReplicaConfigurationPtrOutputWithContext(c }).(ReplicaConfigurationPtrOutput) } +func (o ReplicaConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicaConfiguration] { + return pulumix.Output[ReplicaConfiguration]{ + OutputState: o.OutputState, + } +} + // Specifies if the replica is the failover target. If the field is set to `true`, the replica will be designated as a failover replica. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance. func (o ReplicaConfigurationOutput) FailoverTarget() pulumi.BoolPtrOutput { return o.ApplyT(func(v ReplicaConfiguration) *bool { return v.FailoverTarget }).(pulumi.BoolPtrOutput) @@ -4790,6 +5409,12 @@ func (o ReplicaConfigurationPtrOutput) ToReplicaConfigurationPtrOutputWithContex return o } +func (o ReplicaConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReplicaConfiguration] { + return pulumix.Output[*ReplicaConfiguration]{ + OutputState: o.OutputState, + } +} + func (o ReplicaConfigurationPtrOutput) Elem() ReplicaConfigurationOutput { return o.ApplyT(func(v *ReplicaConfiguration) ReplicaConfiguration { if v != nil { @@ -4855,6 +5480,12 @@ func (o ReplicaConfigurationResponseOutput) ToReplicaConfigurationResponseOutput return o } +func (o ReplicaConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicaConfigurationResponse] { + return pulumix.Output[ReplicaConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // Specifies if the replica is the failover target. If the field is set to `true`, the replica will be designated as a failover replica. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance. func (o ReplicaConfigurationResponseOutput) FailoverTarget() pulumi.BoolOutput { return o.ApplyT(func(v ReplicaConfigurationResponse) bool { return v.FailoverTarget }).(pulumi.BoolOutput) @@ -5031,6 +5662,12 @@ func (i SettingsArgs) ToSettingsOutputWithContext(ctx context.Context) SettingsO return pulumi.ToOutputWithContext(ctx, i).(SettingsOutput) } +func (i SettingsArgs) ToOutput(ctx context.Context) pulumix.Output[Settings] { + return pulumix.Output[Settings]{ + OutputState: i.ToSettingsOutputWithContext(ctx).OutputState, + } +} + func (i SettingsArgs) ToSettingsPtrOutput() SettingsPtrOutput { return i.ToSettingsPtrOutputWithContext(context.Background()) } @@ -5072,6 +5709,12 @@ func (i *settingsPtrType) ToSettingsPtrOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SettingsPtrOutput) } +func (i *settingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Settings] { + return pulumix.Output[*Settings]{ + OutputState: i.ToSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Database instance settings. type SettingsOutput struct{ *pulumi.OutputState } @@ -5097,6 +5740,12 @@ func (o SettingsOutput) ToSettingsPtrOutputWithContext(ctx context.Context) Sett }).(SettingsPtrOutput) } +func (o SettingsOutput) ToOutput(ctx context.Context) pulumix.Output[Settings] { + return pulumix.Output[Settings]{ + OutputState: o.OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, even if a connection request arrives. func (o SettingsOutput) ActivationPolicy() SettingsActivationPolicyPtrOutput { return o.ApplyT(func(v Settings) *SettingsActivationPolicy { return v.ActivationPolicy }).(SettingsActivationPolicyPtrOutput) @@ -5265,6 +5914,12 @@ func (o SettingsPtrOutput) ToSettingsPtrOutputWithContext(ctx context.Context) S return o } +func (o SettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Settings] { + return pulumix.Output[*Settings]{ + OutputState: o.OutputState, + } +} + func (o SettingsPtrOutput) Elem() SettingsOutput { return o.ApplyT(func(v *Settings) Settings { if v != nil { @@ -5662,6 +6317,12 @@ func (o SettingsResponseOutput) ToSettingsResponseOutputWithContext(ctx context. return o } +func (o SettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsResponse] { + return pulumix.Output[SettingsResponse]{ + OutputState: o.OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, even if a connection request arrives. func (o SettingsResponseOutput) ActivationPolicy() pulumi.StringOutput { return o.ApplyT(func(v SettingsResponse) string { return v.ActivationPolicy }).(pulumi.StringOutput) @@ -5855,6 +6516,12 @@ func (i SqlActiveDirectoryConfigArgs) ToSqlActiveDirectoryConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SqlActiveDirectoryConfigOutput) } +func (i SqlActiveDirectoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SqlActiveDirectoryConfig] { + return pulumix.Output[SqlActiveDirectoryConfig]{ + OutputState: i.ToSqlActiveDirectoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i SqlActiveDirectoryConfigArgs) ToSqlActiveDirectoryConfigPtrOutput() SqlActiveDirectoryConfigPtrOutput { return i.ToSqlActiveDirectoryConfigPtrOutputWithContext(context.Background()) } @@ -5896,6 +6563,12 @@ func (i *sqlActiveDirectoryConfigPtrType) ToSqlActiveDirectoryConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(SqlActiveDirectoryConfigPtrOutput) } +func (i *sqlActiveDirectoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlActiveDirectoryConfig] { + return pulumix.Output[*SqlActiveDirectoryConfig]{ + OutputState: i.ToSqlActiveDirectoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Active Directory configuration, relevant only for Cloud SQL for SQL Server. type SqlActiveDirectoryConfigOutput struct{ *pulumi.OutputState } @@ -5921,6 +6594,12 @@ func (o SqlActiveDirectoryConfigOutput) ToSqlActiveDirectoryConfigPtrOutputWithC }).(SqlActiveDirectoryConfigPtrOutput) } +func (o SqlActiveDirectoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SqlActiveDirectoryConfig] { + return pulumix.Output[SqlActiveDirectoryConfig]{ + OutputState: o.OutputState, + } +} + // The name of the domain (e.g., mydomain.com). func (o SqlActiveDirectoryConfigOutput) Domain() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlActiveDirectoryConfig) *string { return v.Domain }).(pulumi.StringPtrOutput) @@ -5945,6 +6624,12 @@ func (o SqlActiveDirectoryConfigPtrOutput) ToSqlActiveDirectoryConfigPtrOutputWi return o } +func (o SqlActiveDirectoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlActiveDirectoryConfig] { + return pulumix.Output[*SqlActiveDirectoryConfig]{ + OutputState: o.OutputState, + } +} + func (o SqlActiveDirectoryConfigPtrOutput) Elem() SqlActiveDirectoryConfigOutput { return o.ApplyT(func(v *SqlActiveDirectoryConfig) SqlActiveDirectoryConfig { if v != nil { @@ -5998,6 +6683,12 @@ func (o SqlActiveDirectoryConfigResponseOutput) ToSqlActiveDirectoryConfigRespon return o } +func (o SqlActiveDirectoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlActiveDirectoryConfigResponse] { + return pulumix.Output[SqlActiveDirectoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the domain (e.g., mydomain.com). func (o SqlActiveDirectoryConfigResponseOutput) Domain() pulumi.StringOutput { return o.ApplyT(func(v SqlActiveDirectoryConfigResponse) string { return v.Domain }).(pulumi.StringOutput) @@ -6047,6 +6738,12 @@ func (i SqlOutOfDiskReportArgs) ToSqlOutOfDiskReportOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SqlOutOfDiskReportOutput) } +func (i SqlOutOfDiskReportArgs) ToOutput(ctx context.Context) pulumix.Output[SqlOutOfDiskReport] { + return pulumix.Output[SqlOutOfDiskReport]{ + OutputState: i.ToSqlOutOfDiskReportOutputWithContext(ctx).OutputState, + } +} + func (i SqlOutOfDiskReportArgs) ToSqlOutOfDiskReportPtrOutput() SqlOutOfDiskReportPtrOutput { return i.ToSqlOutOfDiskReportPtrOutputWithContext(context.Background()) } @@ -6088,6 +6785,12 @@ func (i *sqlOutOfDiskReportPtrType) ToSqlOutOfDiskReportPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SqlOutOfDiskReportPtrOutput) } +func (i *sqlOutOfDiskReportPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlOutOfDiskReport] { + return pulumix.Output[*SqlOutOfDiskReport]{ + OutputState: i.ToSqlOutOfDiskReportPtrOutputWithContext(ctx).OutputState, + } +} + // This message wraps up the information written by out-of-disk detection job. type SqlOutOfDiskReportOutput struct{ *pulumi.OutputState } @@ -6113,6 +6816,12 @@ func (o SqlOutOfDiskReportOutput) ToSqlOutOfDiskReportPtrOutputWithContext(ctx c }).(SqlOutOfDiskReportPtrOutput) } +func (o SqlOutOfDiskReportOutput) ToOutput(ctx context.Context) pulumix.Output[SqlOutOfDiskReport] { + return pulumix.Output[SqlOutOfDiskReport]{ + OutputState: o.OutputState, + } +} + // The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers: func (o SqlOutOfDiskReportOutput) SqlMinRecommendedIncreaseSizeGb() pulumi.IntPtrOutput { return o.ApplyT(func(v SqlOutOfDiskReport) *int { return v.SqlMinRecommendedIncreaseSizeGb }).(pulumi.IntPtrOutput) @@ -6137,6 +6846,12 @@ func (o SqlOutOfDiskReportPtrOutput) ToSqlOutOfDiskReportPtrOutputWithContext(ct return o } +func (o SqlOutOfDiskReportPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlOutOfDiskReport] { + return pulumix.Output[*SqlOutOfDiskReport]{ + OutputState: o.OutputState, + } +} + func (o SqlOutOfDiskReportPtrOutput) Elem() SqlOutOfDiskReportOutput { return o.ApplyT(func(v *SqlOutOfDiskReport) SqlOutOfDiskReport { if v != nil { @@ -6190,6 +6905,12 @@ func (o SqlOutOfDiskReportResponseOutput) ToSqlOutOfDiskReportResponseOutputWith return o } +func (o SqlOutOfDiskReportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlOutOfDiskReportResponse] { + return pulumix.Output[SqlOutOfDiskReportResponse]{ + OutputState: o.OutputState, + } +} + // The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers: func (o SqlOutOfDiskReportResponseOutput) SqlMinRecommendedIncreaseSizeGb() pulumi.IntOutput { return o.ApplyT(func(v SqlOutOfDiskReportResponse) int { return v.SqlMinRecommendedIncreaseSizeGb }).(pulumi.IntOutput) @@ -6245,6 +6966,12 @@ func (i SqlScheduledMaintenanceArgs) ToSqlScheduledMaintenanceOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SqlScheduledMaintenanceOutput) } +func (i SqlScheduledMaintenanceArgs) ToOutput(ctx context.Context) pulumix.Output[SqlScheduledMaintenance] { + return pulumix.Output[SqlScheduledMaintenance]{ + OutputState: i.ToSqlScheduledMaintenanceOutputWithContext(ctx).OutputState, + } +} + func (i SqlScheduledMaintenanceArgs) ToSqlScheduledMaintenancePtrOutput() SqlScheduledMaintenancePtrOutput { return i.ToSqlScheduledMaintenancePtrOutputWithContext(context.Background()) } @@ -6286,6 +7013,12 @@ func (i *sqlScheduledMaintenancePtrType) ToSqlScheduledMaintenancePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(SqlScheduledMaintenancePtrOutput) } +func (i *sqlScheduledMaintenancePtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlScheduledMaintenance] { + return pulumix.Output[*SqlScheduledMaintenance]{ + OutputState: i.ToSqlScheduledMaintenancePtrOutputWithContext(ctx).OutputState, + } +} + // Any scheduled maintenance for this instance. type SqlScheduledMaintenanceOutput struct{ *pulumi.OutputState } @@ -6311,6 +7044,12 @@ func (o SqlScheduledMaintenanceOutput) ToSqlScheduledMaintenancePtrOutputWithCon }).(SqlScheduledMaintenancePtrOutput) } +func (o SqlScheduledMaintenanceOutput) ToOutput(ctx context.Context) pulumix.Output[SqlScheduledMaintenance] { + return pulumix.Output[SqlScheduledMaintenance]{ + OutputState: o.OutputState, + } +} + func (o SqlScheduledMaintenanceOutput) CanDefer() pulumi.BoolPtrOutput { return o.ApplyT(func(v SqlScheduledMaintenance) *bool { return v.CanDefer }).(pulumi.BoolPtrOutput) } @@ -6344,6 +7083,12 @@ func (o SqlScheduledMaintenancePtrOutput) ToSqlScheduledMaintenancePtrOutputWith return o } +func (o SqlScheduledMaintenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlScheduledMaintenance] { + return pulumix.Output[*SqlScheduledMaintenance]{ + OutputState: o.OutputState, + } +} + func (o SqlScheduledMaintenancePtrOutput) Elem() SqlScheduledMaintenanceOutput { return o.ApplyT(func(v *SqlScheduledMaintenance) SqlScheduledMaintenance { if v != nil { @@ -6419,6 +7164,12 @@ func (o SqlScheduledMaintenanceResponseOutput) ToSqlScheduledMaintenanceResponse return o } +func (o SqlScheduledMaintenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlScheduledMaintenanceResponse] { + return pulumix.Output[SqlScheduledMaintenanceResponse]{ + OutputState: o.OutputState, + } +} + func (o SqlScheduledMaintenanceResponseOutput) CanDefer() pulumi.BoolOutput { return o.ApplyT(func(v SqlScheduledMaintenanceResponse) bool { return v.CanDefer }).(pulumi.BoolOutput) } @@ -6485,6 +7236,12 @@ func (i SqlServerAuditConfigArgs) ToSqlServerAuditConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SqlServerAuditConfigOutput) } +func (i SqlServerAuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SqlServerAuditConfig] { + return pulumix.Output[SqlServerAuditConfig]{ + OutputState: i.ToSqlServerAuditConfigOutputWithContext(ctx).OutputState, + } +} + func (i SqlServerAuditConfigArgs) ToSqlServerAuditConfigPtrOutput() SqlServerAuditConfigPtrOutput { return i.ToSqlServerAuditConfigPtrOutputWithContext(context.Background()) } @@ -6526,6 +7283,12 @@ func (i *sqlServerAuditConfigPtrType) ToSqlServerAuditConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(SqlServerAuditConfigPtrOutput) } +func (i *sqlServerAuditConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlServerAuditConfig] { + return pulumix.Output[*SqlServerAuditConfig]{ + OutputState: i.ToSqlServerAuditConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SQL Server specific audit configuration. type SqlServerAuditConfigOutput struct{ *pulumi.OutputState } @@ -6551,6 +7314,12 @@ func (o SqlServerAuditConfigOutput) ToSqlServerAuditConfigPtrOutputWithContext(c }).(SqlServerAuditConfigPtrOutput) } +func (o SqlServerAuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerAuditConfig] { + return pulumix.Output[SqlServerAuditConfig]{ + OutputState: o.OutputState, + } +} + // The name of the destination bucket (e.g., gs://mybucket). func (o SqlServerAuditConfigOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlServerAuditConfig) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -6585,6 +7354,12 @@ func (o SqlServerAuditConfigPtrOutput) ToSqlServerAuditConfigPtrOutputWithContex return o } +func (o SqlServerAuditConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlServerAuditConfig] { + return pulumix.Output[*SqlServerAuditConfig]{ + OutputState: o.OutputState, + } +} + func (o SqlServerAuditConfigPtrOutput) Elem() SqlServerAuditConfigOutput { return o.ApplyT(func(v *SqlServerAuditConfig) SqlServerAuditConfig { if v != nil { @@ -6662,6 +7437,12 @@ func (o SqlServerAuditConfigResponseOutput) ToSqlServerAuditConfigResponseOutput return o } +func (o SqlServerAuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerAuditConfigResponse] { + return pulumix.Output[SqlServerAuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the destination bucket (e.g., gs://mybucket). func (o SqlServerAuditConfigResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v SqlServerAuditConfigResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -6721,6 +7502,12 @@ func (i SqlServerDatabaseDetailsArgs) ToSqlServerDatabaseDetailsOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SqlServerDatabaseDetailsOutput) } +func (i SqlServerDatabaseDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[SqlServerDatabaseDetails] { + return pulumix.Output[SqlServerDatabaseDetails]{ + OutputState: i.ToSqlServerDatabaseDetailsOutputWithContext(ctx).OutputState, + } +} + func (i SqlServerDatabaseDetailsArgs) ToSqlServerDatabaseDetailsPtrOutput() SqlServerDatabaseDetailsPtrOutput { return i.ToSqlServerDatabaseDetailsPtrOutputWithContext(context.Background()) } @@ -6762,6 +7549,12 @@ func (i *sqlServerDatabaseDetailsPtrType) ToSqlServerDatabaseDetailsPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(SqlServerDatabaseDetailsPtrOutput) } +func (i *sqlServerDatabaseDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlServerDatabaseDetails] { + return pulumix.Output[*SqlServerDatabaseDetails]{ + OutputState: i.ToSqlServerDatabaseDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Sql Server database on the Cloud SQL instance. type SqlServerDatabaseDetailsOutput struct{ *pulumi.OutputState } @@ -6787,6 +7580,12 @@ func (o SqlServerDatabaseDetailsOutput) ToSqlServerDatabaseDetailsPtrOutputWithC }).(SqlServerDatabaseDetailsPtrOutput) } +func (o SqlServerDatabaseDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerDatabaseDetails] { + return pulumix.Output[SqlServerDatabaseDetails]{ + OutputState: o.OutputState, + } +} + // The version of SQL Server with which the database is to be made compatible func (o SqlServerDatabaseDetailsOutput) CompatibilityLevel() pulumi.IntPtrOutput { return o.ApplyT(func(v SqlServerDatabaseDetails) *int { return v.CompatibilityLevel }).(pulumi.IntPtrOutput) @@ -6811,6 +7610,12 @@ func (o SqlServerDatabaseDetailsPtrOutput) ToSqlServerDatabaseDetailsPtrOutputWi return o } +func (o SqlServerDatabaseDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlServerDatabaseDetails] { + return pulumix.Output[*SqlServerDatabaseDetails]{ + OutputState: o.OutputState, + } +} + func (o SqlServerDatabaseDetailsPtrOutput) Elem() SqlServerDatabaseDetailsOutput { return o.ApplyT(func(v *SqlServerDatabaseDetails) SqlServerDatabaseDetails { if v != nil { @@ -6864,6 +7669,12 @@ func (o SqlServerDatabaseDetailsResponseOutput) ToSqlServerDatabaseDetailsRespon return o } +func (o SqlServerDatabaseDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerDatabaseDetailsResponse] { + return pulumix.Output[SqlServerDatabaseDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The version of SQL Server with which the database is to be made compatible func (o SqlServerDatabaseDetailsResponseOutput) CompatibilityLevel() pulumi.IntOutput { return o.ApplyT(func(v SqlServerDatabaseDetailsResponse) int { return v.CompatibilityLevel }).(pulumi.IntOutput) @@ -6913,6 +7724,12 @@ func (i SqlServerUserDetailsArgs) ToSqlServerUserDetailsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SqlServerUserDetailsOutput) } +func (i SqlServerUserDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[SqlServerUserDetails] { + return pulumix.Output[SqlServerUserDetails]{ + OutputState: i.ToSqlServerUserDetailsOutputWithContext(ctx).OutputState, + } +} + func (i SqlServerUserDetailsArgs) ToSqlServerUserDetailsPtrOutput() SqlServerUserDetailsPtrOutput { return i.ToSqlServerUserDetailsPtrOutputWithContext(context.Background()) } @@ -6954,6 +7771,12 @@ func (i *sqlServerUserDetailsPtrType) ToSqlServerUserDetailsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(SqlServerUserDetailsPtrOutput) } +func (i *sqlServerUserDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlServerUserDetails] { + return pulumix.Output[*SqlServerUserDetails]{ + OutputState: i.ToSqlServerUserDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Sql Server user on the Cloud SQL instance. type SqlServerUserDetailsOutput struct{ *pulumi.OutputState } @@ -6979,6 +7802,12 @@ func (o SqlServerUserDetailsOutput) ToSqlServerUserDetailsPtrOutputWithContext(c }).(SqlServerUserDetailsPtrOutput) } +func (o SqlServerUserDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerUserDetails] { + return pulumix.Output[SqlServerUserDetails]{ + OutputState: o.OutputState, + } +} + // If the user has been disabled func (o SqlServerUserDetailsOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v SqlServerUserDetails) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -7003,6 +7832,12 @@ func (o SqlServerUserDetailsPtrOutput) ToSqlServerUserDetailsPtrOutputWithContex return o } +func (o SqlServerUserDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlServerUserDetails] { + return pulumix.Output[*SqlServerUserDetails]{ + OutputState: o.OutputState, + } +} + func (o SqlServerUserDetailsPtrOutput) Elem() SqlServerUserDetailsOutput { return o.ApplyT(func(v *SqlServerUserDetails) SqlServerUserDetails { if v != nil { @@ -7056,6 +7891,12 @@ func (o SqlServerUserDetailsResponseOutput) ToSqlServerUserDetailsResponseOutput return o } +func (o SqlServerUserDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerUserDetailsResponse] { + return pulumix.Output[SqlServerUserDetailsResponse]{ + OutputState: o.OutputState, + } +} + // If the user has been disabled func (o SqlServerUserDetailsResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v SqlServerUserDetailsResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -7133,6 +7974,12 @@ func (i SslCertTypeArgs) ToSslCertTypeOutputWithContext(ctx context.Context) Ssl return pulumi.ToOutputWithContext(ctx, i).(SslCertTypeOutput) } +func (i SslCertTypeArgs) ToOutput(ctx context.Context) pulumix.Output[SslCertType] { + return pulumix.Output[SslCertType]{ + OutputState: i.ToSslCertTypeOutputWithContext(ctx).OutputState, + } +} + func (i SslCertTypeArgs) ToSslCertTypePtrOutput() SslCertTypePtrOutput { return i.ToSslCertTypePtrOutputWithContext(context.Background()) } @@ -7174,6 +8021,12 @@ func (i *sslCertTypePtrType) ToSslCertTypePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SslCertTypePtrOutput) } +func (i *sslCertTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*SslCertType] { + return pulumix.Output[*SslCertType]{ + OutputState: i.ToSslCertTypePtrOutputWithContext(ctx).OutputState, + } +} + // SslCerts Resource type SslCertTypeOutput struct{ *pulumi.OutputState } @@ -7199,6 +8052,12 @@ func (o SslCertTypeOutput) ToSslCertTypePtrOutputWithContext(ctx context.Context }).(SslCertTypePtrOutput) } +func (o SslCertTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertType] { + return pulumix.Output[SslCertType]{ + OutputState: o.OutputState, + } +} + // PEM representation. func (o SslCertTypeOutput) Cert() pulumi.StringPtrOutput { return o.ApplyT(func(v SslCertType) *string { return v.Cert }).(pulumi.StringPtrOutput) @@ -7258,6 +8117,12 @@ func (o SslCertTypePtrOutput) ToSslCertTypePtrOutputWithContext(ctx context.Cont return o } +func (o SslCertTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertType] { + return pulumix.Output[*SslCertType]{ + OutputState: o.OutputState, + } +} + func (o SslCertTypePtrOutput) Elem() SslCertTypeOutput { return o.ApplyT(func(v *SslCertType) SslCertType { if v != nil { @@ -7395,6 +8260,12 @@ func (o SslCertResponseOutput) ToSslCertResponseOutputWithContext(ctx context.Co return o } +func (o SslCertResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertResponse] { + return pulumix.Output[SslCertResponse]{ + OutputState: o.OutputState, + } +} + // PEM representation. func (o SslCertResponseOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v SslCertResponse) string { return v.Cert }).(pulumi.StringOutput) @@ -7487,6 +8358,12 @@ func (i UserPasswordValidationPolicyArgs) ToUserPasswordValidationPolicyOutputWi return pulumi.ToOutputWithContext(ctx, i).(UserPasswordValidationPolicyOutput) } +func (i UserPasswordValidationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[UserPasswordValidationPolicy] { + return pulumix.Output[UserPasswordValidationPolicy]{ + OutputState: i.ToUserPasswordValidationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i UserPasswordValidationPolicyArgs) ToUserPasswordValidationPolicyPtrOutput() UserPasswordValidationPolicyPtrOutput { return i.ToUserPasswordValidationPolicyPtrOutputWithContext(context.Background()) } @@ -7528,6 +8405,12 @@ func (i *userPasswordValidationPolicyPtrType) ToUserPasswordValidationPolicyPtrO return pulumi.ToOutputWithContext(ctx, i).(UserPasswordValidationPolicyPtrOutput) } +func (i *userPasswordValidationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*UserPasswordValidationPolicy] { + return pulumix.Output[*UserPasswordValidationPolicy]{ + OutputState: i.ToUserPasswordValidationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // User level password validation policy. type UserPasswordValidationPolicyOutput struct{ *pulumi.OutputState } @@ -7553,6 +8436,12 @@ func (o UserPasswordValidationPolicyOutput) ToUserPasswordValidationPolicyPtrOut }).(UserPasswordValidationPolicyPtrOutput) } +func (o UserPasswordValidationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[UserPasswordValidationPolicy] { + return pulumix.Output[UserPasswordValidationPolicy]{ + OutputState: o.OutputState, + } +} + // Number of failed login attempts allowed before user get locked. func (o UserPasswordValidationPolicyOutput) AllowedFailedAttempts() pulumi.IntPtrOutput { return o.ApplyT(func(v UserPasswordValidationPolicy) *int { return v.AllowedFailedAttempts }).(pulumi.IntPtrOutput) @@ -7587,6 +8476,12 @@ func (o UserPasswordValidationPolicyPtrOutput) ToUserPasswordValidationPolicyPtr return o } +func (o UserPasswordValidationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserPasswordValidationPolicy] { + return pulumix.Output[*UserPasswordValidationPolicy]{ + OutputState: o.OutputState, + } +} + func (o UserPasswordValidationPolicyPtrOutput) Elem() UserPasswordValidationPolicyOutput { return o.ApplyT(func(v *UserPasswordValidationPolicy) UserPasswordValidationPolicy { if v != nil { @@ -7666,6 +8561,12 @@ func (o UserPasswordValidationPolicyResponseOutput) ToUserPasswordValidationPoli return o } +func (o UserPasswordValidationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UserPasswordValidationPolicyResponse] { + return pulumix.Output[UserPasswordValidationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Number of failed login attempts allowed before user get locked. func (o UserPasswordValidationPolicyResponseOutput) AllowedFailedAttempts() pulumi.IntOutput { return o.ApplyT(func(v UserPasswordValidationPolicyResponse) int { return v.AllowedFailedAttempts }).(pulumi.IntOutput) diff --git a/sdk/go/google/sqladmin/v1/sslCert.go b/sdk/go/google/sqladmin/v1/sslCert.go index 1271838afa..359fccca14 100644 --- a/sdk/go/google/sqladmin/v1/sslCert.go +++ b/sdk/go/google/sqladmin/v1/sslCert.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted. @@ -122,6 +123,12 @@ func (i *SslCert) ToSslCertOutputWithContext(ctx context.Context) SslCertOutput return pulumi.ToOutputWithContext(ctx, i).(SslCertOutput) } +func (i *SslCert) ToOutput(ctx context.Context) pulumix.Output[*SslCert] { + return pulumix.Output[*SslCert]{ + OutputState: i.ToSslCertOutputWithContext(ctx).OutputState, + } +} + type SslCertOutput struct{ *pulumi.OutputState } func (SslCertOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o SslCertOutput) ToSslCertOutputWithContext(ctx context.Context) SslCertOu return o } +func (o SslCertOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCert] { + return pulumix.Output[*SslCert]{ + OutputState: o.OutputState, + } +} + // PEM representation. func (o SslCertOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v *SslCert) pulumi.StringOutput { return v.Cert }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1/user.go b/sdk/go/google/sqladmin/v1/user.go index a2c86b2626..f0e0909d12 100644 --- a/sdk/go/google/sqladmin/v1/user.go +++ b/sdk/go/google/sqladmin/v1/user.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new user in a Cloud SQL instance. @@ -162,6 +163,12 @@ func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput { return pulumi.ToOutputWithContext(ctx, i).(UserOutput) } +func (i *User) ToOutput(ctx context.Context) pulumix.Output[*User] { + return pulumix.Output[*User]{ + OutputState: i.ToUserOutputWithContext(ctx).OutputState, + } +} + type UserOutput struct{ *pulumi.OutputState } func (UserOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput { return o } +func (o UserOutput) ToOutput(ctx context.Context) pulumix.Output[*User] { + return pulumix.Output[*User]{ + OutputState: o.OutputState, + } +} + // Dual password status for the user. func (o UserOutput) DualPasswordType() pulumi.StringOutput { return o.ApplyT(func(v *User) pulumi.StringOutput { return v.DualPasswordType }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/backupRun.go b/sdk/go/google/sqladmin/v1beta4/backupRun.go index 8fb3cea0db..0d329d3ca2 100644 --- a/sdk/go/google/sqladmin/v1beta4/backupRun.go +++ b/sdk/go/google/sqladmin/v1beta4/backupRun.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new backup run on demand. @@ -194,6 +195,12 @@ func (i *BackupRun) ToBackupRunOutputWithContext(ctx context.Context) BackupRunO return pulumi.ToOutputWithContext(ctx, i).(BackupRunOutput) } +func (i *BackupRun) ToOutput(ctx context.Context) pulumix.Output[*BackupRun] { + return pulumix.Output[*BackupRun]{ + OutputState: i.ToBackupRunOutputWithContext(ctx).OutputState, + } +} + type BackupRunOutput struct{ *pulumi.OutputState } func (BackupRunOutput) ElementType() reflect.Type { @@ -208,6 +215,12 @@ func (o BackupRunOutput) ToBackupRunOutputWithContext(ctx context.Context) Backu return o } +func (o BackupRunOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupRun] { + return pulumix.Output[*BackupRun]{ + OutputState: o.OutputState, + } +} + // Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. func (o BackupRunOutput) BackupKind() pulumi.StringOutput { return o.ApplyT(func(v *BackupRun) pulumi.StringOutput { return v.BackupKind }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/database.go b/sdk/go/google/sqladmin/v1beta4/database.go index 6da8463a2b..251f014530 100644 --- a/sdk/go/google/sqladmin/v1beta4/database.go +++ b/sdk/go/google/sqladmin/v1beta4/database.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation. @@ -150,6 +151,12 @@ func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutp return pulumi.ToOutputWithContext(ctx, i).(DatabaseOutput) } +func (i *Database) ToOutput(ctx context.Context) pulumix.Output[*Database] { + return pulumix.Output[*Database]{ + OutputState: i.ToDatabaseOutputWithContext(ctx).OutputState, + } +} + type DatabaseOutput struct{ *pulumi.OutputState } func (DatabaseOutput) ElementType() reflect.Type { @@ -164,6 +171,12 @@ func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) Databas return o } +func (o DatabaseOutput) ToOutput(ctx context.Context) pulumix.Output[*Database] { + return pulumix.Output[*Database]{ + OutputState: o.OutputState, + } +} + // The Cloud SQL charset value. func (o DatabaseOutput) Charset() pulumi.StringOutput { return o.ApplyT(func(v *Database) pulumi.StringOutput { return v.Charset }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/getBackupRun.go b/sdk/go/google/sqladmin/v1beta4/getBackupRun.go index ec983d9590..074e55e4f4 100644 --- a/sdk/go/google/sqladmin/v1beta4/getBackupRun.go +++ b/sdk/go/google/sqladmin/v1beta4/getBackupRun.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a resource containing information about a backup run. @@ -100,6 +101,12 @@ func (o LookupBackupRunResultOutput) ToLookupBackupRunResultOutputWithContext(ct return o } +func (o LookupBackupRunResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupRunResult] { + return pulumix.Output[LookupBackupRunResult]{ + OutputState: o.OutputState, + } +} + // Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. func (o LookupBackupRunResultOutput) BackupKind() pulumi.StringOutput { return o.ApplyT(func(v LookupBackupRunResult) string { return v.BackupKind }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/getDatabase.go b/sdk/go/google/sqladmin/v1beta4/getDatabase.go index ff0941e071..0c90de828d 100644 --- a/sdk/go/google/sqladmin/v1beta4/getDatabase.go +++ b/sdk/go/google/sqladmin/v1beta4/getDatabase.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a resource containing information about a database inside a Cloud SQL instance. @@ -87,6 +88,12 @@ func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx return o } +func (o LookupDatabaseResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatabaseResult] { + return pulumix.Output[LookupDatabaseResult]{ + OutputState: o.OutputState, + } +} + // The Cloud SQL charset value. func (o LookupDatabaseResultOutput) Charset() pulumi.StringOutput { return o.ApplyT(func(v LookupDatabaseResult) string { return v.Charset }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/getInstance.go b/sdk/go/google/sqladmin/v1beta4/getInstance.go index 4a1f3c0c57..4050aa5211 100644 --- a/sdk/go/google/sqladmin/v1beta4/getInstance.go +++ b/sdk/go/google/sqladmin/v1beta4/getInstance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a resource containing information about a Cloud SQL instance. @@ -142,6 +143,12 @@ func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx return o } +func (o LookupInstanceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupInstanceResult] { + return pulumix.Output[LookupInstanceResult]{ + OutputState: o.OutputState, + } +} + // List all maintenance versions applicable on the instance func (o LookupInstanceResultOutput) AvailableMaintenanceVersions() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupInstanceResult) []string { return v.AvailableMaintenanceVersions }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/getSslCert.go b/sdk/go/google/sqladmin/v1beta4/getSslCert.go index 4022019ca9..224bc52db5 100644 --- a/sdk/go/google/sqladmin/v1beta4/getSslCert.go +++ b/sdk/go/google/sqladmin/v1beta4/getSslCert.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation. @@ -86,6 +87,12 @@ func (o LookupSslCertResultOutput) ToLookupSslCertResultOutputWithContext(ctx co return o } +func (o LookupSslCertResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSslCertResult] { + return pulumix.Output[LookupSslCertResult]{ + OutputState: o.OutputState, + } +} + // PEM representation. func (o LookupSslCertResultOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v LookupSslCertResult) string { return v.Cert }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/getUser.go b/sdk/go/google/sqladmin/v1beta4/getUser.go index 2c1434688d..5cd16ec0f1 100644 --- a/sdk/go/google/sqladmin/v1beta4/getUser.go +++ b/sdk/go/google/sqladmin/v1beta4/getUser.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves a resource containing information about a user. @@ -93,6 +94,12 @@ func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context. return o } +func (o LookupUserResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUserResult] { + return pulumix.Output[LookupUserResult]{ + OutputState: o.OutputState, + } +} + // Dual password status for the user. func (o LookupUserResultOutput) DualPasswordType() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.DualPasswordType }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/instance.go b/sdk/go/google/sqladmin/v1beta4/instance.go index 7527e2c512..aa2c297e7a 100644 --- a/sdk/go/google/sqladmin/v1beta4/instance.go +++ b/sdk/go/google/sqladmin/v1beta4/instance.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Cloud SQL instance. @@ -305,6 +306,12 @@ func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutp return pulumi.ToOutputWithContext(ctx, i).(InstanceOutput) } +func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: i.ToInstanceOutputWithContext(ctx).OutputState, + } +} + type InstanceOutput struct{ *pulumi.OutputState } func (InstanceOutput) ElementType() reflect.Type { @@ -319,6 +326,12 @@ func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) Instanc return o } +func (o InstanceOutput) ToOutput(ctx context.Context) pulumix.Output[*Instance] { + return pulumix.Output[*Instance]{ + OutputState: o.OutputState, + } +} + // List all maintenance versions applicable on the instance func (o InstanceOutput) AvailableMaintenanceVersions() pulumi.StringArrayOutput { return o.ApplyT(func(v *Instance) pulumi.StringArrayOutput { return v.AvailableMaintenanceVersions }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/pulumiEnums.go b/sdk/go/google/sqladmin/v1beta4/pulumiEnums.go index 6f40d12eac..4cb33add4e 100644 --- a/sdk/go/google/sqladmin/v1beta4/pulumiEnums.go +++ b/sdk/go/google/sqladmin/v1beta4/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The unit that 'retained_backups' represents. @@ -80,6 +81,12 @@ func (o BackupRetentionSettingsRetentionUnitOutput) ToBackupRetentionSettingsRet }).(BackupRetentionSettingsRetentionUnitPtrOutput) } +func (o BackupRetentionSettingsRetentionUnitOutput) ToOutput(ctx context.Context) pulumix.Output[BackupRetentionSettingsRetentionUnit] { + return pulumix.Output[BackupRetentionSettingsRetentionUnit]{ + OutputState: o.OutputState, + } +} + func (o BackupRetentionSettingsRetentionUnitOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o BackupRetentionSettingsRetentionUnitPtrOutput) ToBackupRetentionSettings return o } +func (o BackupRetentionSettingsRetentionUnitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupRetentionSettingsRetentionUnit] { + return pulumix.Output[*BackupRetentionSettingsRetentionUnit]{ + OutputState: o.OutputState, + } +} + func (o BackupRetentionSettingsRetentionUnitPtrOutput) Elem() BackupRetentionSettingsRetentionUnitOutput { return o.ApplyT(func(v *BackupRetentionSettingsRetentionUnit) BackupRetentionSettingsRetentionUnit { if v != nil { @@ -177,6 +190,12 @@ func (in *backupRetentionSettingsRetentionUnitPtr) ToBackupRetentionSettingsRete return pulumi.ToOutputWithContext(ctx, in).(BackupRetentionSettingsRetentionUnitPtrOutput) } +func (in *backupRetentionSettingsRetentionUnitPtr) ToOutput(ctx context.Context) pulumix.Output[*BackupRetentionSettingsRetentionUnit] { + return pulumix.Output[*BackupRetentionSettingsRetentionUnit]{ + OutputState: in.ToBackupRetentionSettingsRetentionUnitPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. type BackupRunBackupKind string @@ -249,6 +268,12 @@ func (o BackupRunBackupKindOutput) ToBackupRunBackupKindPtrOutputWithContext(ctx }).(BackupRunBackupKindPtrOutput) } +func (o BackupRunBackupKindOutput) ToOutput(ctx context.Context) pulumix.Output[BackupRunBackupKind] { + return pulumix.Output[BackupRunBackupKind]{ + OutputState: o.OutputState, + } +} + func (o BackupRunBackupKindOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -284,6 +309,12 @@ func (o BackupRunBackupKindPtrOutput) ToBackupRunBackupKindPtrOutputWithContext( return o } +func (o BackupRunBackupKindPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupRunBackupKind] { + return pulumix.Output[*BackupRunBackupKind]{ + OutputState: o.OutputState, + } +} + func (o BackupRunBackupKindPtrOutput) Elem() BackupRunBackupKindOutput { return o.ApplyT(func(v *BackupRunBackupKind) BackupRunBackupKind { if v != nil { @@ -346,6 +377,12 @@ func (in *backupRunBackupKindPtr) ToBackupRunBackupKindPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(BackupRunBackupKindPtrOutput) } +func (in *backupRunBackupKindPtr) ToOutput(ctx context.Context) pulumix.Output[*BackupRunBackupKind] { + return pulumix.Output[*BackupRunBackupKind]{ + OutputState: in.ToBackupRunBackupKindPtrOutputWithContext(ctx).OutputState, + } +} + // The status of this run. type BackupRunStatus string @@ -444,6 +481,12 @@ func (o BackupRunTypeOutput) ToBackupRunTypePtrOutputWithContext(ctx context.Con }).(BackupRunTypePtrOutput) } +func (o BackupRunTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BackupRunType] { + return pulumix.Output[BackupRunType]{ + OutputState: o.OutputState, + } +} + func (o BackupRunTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -479,6 +522,12 @@ func (o BackupRunTypePtrOutput) ToBackupRunTypePtrOutputWithContext(ctx context. return o } +func (o BackupRunTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupRunType] { + return pulumix.Output[*BackupRunType]{ + OutputState: o.OutputState, + } +} + func (o BackupRunTypePtrOutput) Elem() BackupRunTypeOutput { return o.ApplyT(func(v *BackupRunType) BackupRunType { if v != nil { @@ -541,6 +590,12 @@ func (in *backupRunTypePtr) ToBackupRunTypePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(BackupRunTypePtrOutput) } +func (in *backupRunTypePtr) ToOutput(ctx context.Context) pulumix.Output[*BackupRunType] { + return pulumix.Output[*BackupRunType]{ + OutputState: in.ToBackupRunTypePtrOutputWithContext(ctx).OutputState, + } +} + // The backend type. `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database server that is not managed by Google. This property is read-only; use the `tier` property in the `settings` object to determine the database type. type InstanceBackendType string @@ -615,6 +670,12 @@ func (o InstanceBackendTypeOutput) ToInstanceBackendTypePtrOutputWithContext(ctx }).(InstanceBackendTypePtrOutput) } +func (o InstanceBackendTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceBackendType] { + return pulumix.Output[InstanceBackendType]{ + OutputState: o.OutputState, + } +} + func (o InstanceBackendTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -650,6 +711,12 @@ func (o InstanceBackendTypePtrOutput) ToInstanceBackendTypePtrOutputWithContext( return o } +func (o InstanceBackendTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceBackendType] { + return pulumix.Output[*InstanceBackendType]{ + OutputState: o.OutputState, + } +} + func (o InstanceBackendTypePtrOutput) Elem() InstanceBackendTypeOutput { return o.ApplyT(func(v *InstanceBackendType) InstanceBackendType { if v != nil { @@ -712,6 +779,12 @@ func (in *instanceBackendTypePtr) ToInstanceBackendTypePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(InstanceBackendTypePtrOutput) } +func (in *instanceBackendTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceBackendType] { + return pulumix.Output[*InstanceBackendType]{ + OutputState: in.ToInstanceBackendTypePtrOutputWithContext(ctx).OutputState, + } +} + // The database engine type and version. The `databaseVersion` field cannot be changed after instance creation. type InstanceDatabaseVersion string @@ -844,6 +917,12 @@ func (o InstanceDatabaseVersionOutput) ToInstanceDatabaseVersionPtrOutputWithCon }).(InstanceDatabaseVersionPtrOutput) } +func (o InstanceDatabaseVersionOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceDatabaseVersion] { + return pulumix.Output[InstanceDatabaseVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceDatabaseVersionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -879,6 +958,12 @@ func (o InstanceDatabaseVersionPtrOutput) ToInstanceDatabaseVersionPtrOutputWith return o } +func (o InstanceDatabaseVersionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceDatabaseVersion] { + return pulumix.Output[*InstanceDatabaseVersion]{ + OutputState: o.OutputState, + } +} + func (o InstanceDatabaseVersionPtrOutput) Elem() InstanceDatabaseVersionOutput { return o.ApplyT(func(v *InstanceDatabaseVersion) InstanceDatabaseVersion { if v != nil { @@ -941,6 +1026,12 @@ func (in *instanceDatabaseVersionPtr) ToInstanceDatabaseVersionPtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(InstanceDatabaseVersionPtrOutput) } +func (in *instanceDatabaseVersionPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceDatabaseVersion] { + return pulumix.Output[*InstanceDatabaseVersion]{ + OutputState: in.ToInstanceDatabaseVersionPtrOutputWithContext(ctx).OutputState, + } +} + // The instance type. type InstanceInstanceType string @@ -1015,6 +1106,12 @@ func (o InstanceInstanceTypeOutput) ToInstanceInstanceTypePtrOutputWithContext(c }).(InstanceInstanceTypePtrOutput) } +func (o InstanceInstanceTypeOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceInstanceType] { + return pulumix.Output[InstanceInstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceInstanceTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1050,6 +1147,12 @@ func (o InstanceInstanceTypePtrOutput) ToInstanceInstanceTypePtrOutputWithContex return o } +func (o InstanceInstanceTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceInstanceType] { + return pulumix.Output[*InstanceInstanceType]{ + OutputState: o.OutputState, + } +} + func (o InstanceInstanceTypePtrOutput) Elem() InstanceInstanceTypeOutput { return o.ApplyT(func(v *InstanceInstanceType) InstanceInstanceType { if v != nil { @@ -1112,6 +1215,12 @@ func (in *instanceInstanceTypePtr) ToInstanceInstanceTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(InstanceInstanceTypePtrOutput) } +func (in *instanceInstanceTypePtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceInstanceType] { + return pulumix.Output[*InstanceInstanceType]{ + OutputState: in.ToInstanceInstanceTypePtrOutputWithContext(ctx).OutputState, + } +} + // The current serving state of the Cloud SQL instance. type InstanceStateEnum string @@ -1194,6 +1303,12 @@ func (o InstanceStateEnumOutput) ToInstanceStateEnumPtrOutputWithContext(ctx con }).(InstanceStateEnumPtrOutput) } +func (o InstanceStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceStateEnum] { + return pulumix.Output[InstanceStateEnum]{ + OutputState: o.OutputState, + } +} + func (o InstanceStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1229,6 +1344,12 @@ func (o InstanceStateEnumPtrOutput) ToInstanceStateEnumPtrOutputWithContext(ctx return o } +func (o InstanceStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceStateEnum] { + return pulumix.Output[*InstanceStateEnum]{ + OutputState: o.OutputState, + } +} + func (o InstanceStateEnumPtrOutput) Elem() InstanceStateEnumOutput { return o.ApplyT(func(v *InstanceStateEnum) InstanceStateEnum { if v != nil { @@ -1291,6 +1412,12 @@ func (in *instanceStateEnumPtr) ToInstanceStateEnumPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(InstanceStateEnumPtrOutput) } +func (in *instanceStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceStateEnum] { + return pulumix.Output[*InstanceStateEnum]{ + OutputState: in.ToInstanceStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + type InstanceSuspensionReasonItem string const ( @@ -1366,6 +1493,12 @@ func (o InstanceSuspensionReasonItemOutput) ToInstanceSuspensionReasonItemPtrOut }).(InstanceSuspensionReasonItemPtrOutput) } +func (o InstanceSuspensionReasonItemOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceSuspensionReasonItem] { + return pulumix.Output[InstanceSuspensionReasonItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1401,6 +1534,12 @@ func (o InstanceSuspensionReasonItemPtrOutput) ToInstanceSuspensionReasonItemPtr return o } +func (o InstanceSuspensionReasonItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceSuspensionReasonItem] { + return pulumix.Output[*InstanceSuspensionReasonItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonItemPtrOutput) Elem() InstanceSuspensionReasonItemOutput { return o.ApplyT(func(v *InstanceSuspensionReasonItem) InstanceSuspensionReasonItem { if v != nil { @@ -1463,6 +1602,12 @@ func (in *instanceSuspensionReasonItemPtr) ToInstanceSuspensionReasonItemPtrOutp return pulumi.ToOutputWithContext(ctx, in).(InstanceSuspensionReasonItemPtrOutput) } +func (in *instanceSuspensionReasonItemPtr) ToOutput(ctx context.Context) pulumix.Output[*InstanceSuspensionReasonItem] { + return pulumix.Output[*InstanceSuspensionReasonItem]{ + OutputState: in.ToInstanceSuspensionReasonItemPtrOutputWithContext(ctx).OutputState, + } +} + // InstanceSuspensionReasonItemArrayInput is an input type that accepts InstanceSuspensionReasonItemArray and InstanceSuspensionReasonItemArrayOutput values. // You can construct a concrete instance of `InstanceSuspensionReasonItemArrayInput` via: // @@ -1488,6 +1633,12 @@ func (i InstanceSuspensionReasonItemArray) ToInstanceSuspensionReasonItemArrayOu return pulumi.ToOutputWithContext(ctx, i).(InstanceSuspensionReasonItemArrayOutput) } +func (i InstanceSuspensionReasonItemArray) ToOutput(ctx context.Context) pulumix.Output[[]InstanceSuspensionReasonItem] { + return pulumix.Output[[]InstanceSuspensionReasonItem]{ + OutputState: i.ToInstanceSuspensionReasonItemArrayOutputWithContext(ctx).OutputState, + } +} + type InstanceSuspensionReasonItemArrayOutput struct{ *pulumi.OutputState } func (InstanceSuspensionReasonItemArrayOutput) ElementType() reflect.Type { @@ -1502,6 +1653,12 @@ func (o InstanceSuspensionReasonItemArrayOutput) ToInstanceSuspensionReasonItemA return o } +func (o InstanceSuspensionReasonItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InstanceSuspensionReasonItem] { + return pulumix.Output[[]InstanceSuspensionReasonItem]{ + OutputState: o.OutputState, + } +} + func (o InstanceSuspensionReasonItemArrayOutput) Index(i pulumi.IntInput) InstanceSuspensionReasonItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceSuspensionReasonItem { return vs[0].([]InstanceSuspensionReasonItem)[vs[1].(int)] @@ -1584,6 +1741,12 @@ func (o IpMappingTypeOutput) ToIpMappingTypePtrOutputWithContext(ctx context.Con }).(IpMappingTypePtrOutput) } +func (o IpMappingTypeOutput) ToOutput(ctx context.Context) pulumix.Output[IpMappingType] { + return pulumix.Output[IpMappingType]{ + OutputState: o.OutputState, + } +} + func (o IpMappingTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1619,6 +1782,12 @@ func (o IpMappingTypePtrOutput) ToIpMappingTypePtrOutputWithContext(ctx context. return o } +func (o IpMappingTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IpMappingType] { + return pulumix.Output[*IpMappingType]{ + OutputState: o.OutputState, + } +} + func (o IpMappingTypePtrOutput) Elem() IpMappingTypeOutput { return o.ApplyT(func(v *IpMappingType) IpMappingType { if v != nil { @@ -1681,6 +1850,12 @@ func (in *ipMappingTypePtr) ToIpMappingTypePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(IpMappingTypePtrOutput) } +func (in *ipMappingTypePtr) ToOutput(ctx context.Context) pulumix.Output[*IpMappingType] { + return pulumix.Output[*IpMappingType]{ + OutputState: in.ToIpMappingTypePtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen). type MaintenanceWindowUpdateTrack string @@ -1753,6 +1928,12 @@ func (o MaintenanceWindowUpdateTrackOutput) ToMaintenanceWindowUpdateTrackPtrOut }).(MaintenanceWindowUpdateTrackPtrOutput) } +func (o MaintenanceWindowUpdateTrackOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowUpdateTrack] { + return pulumix.Output[MaintenanceWindowUpdateTrack]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowUpdateTrackOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1788,6 +1969,12 @@ func (o MaintenanceWindowUpdateTrackPtrOutput) ToMaintenanceWindowUpdateTrackPtr return o } +func (o MaintenanceWindowUpdateTrackPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindowUpdateTrack] { + return pulumix.Output[*MaintenanceWindowUpdateTrack]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowUpdateTrackPtrOutput) Elem() MaintenanceWindowUpdateTrackOutput { return o.ApplyT(func(v *MaintenanceWindowUpdateTrack) MaintenanceWindowUpdateTrack { if v != nil { @@ -1850,6 +2037,12 @@ func (in *maintenanceWindowUpdateTrackPtr) ToMaintenanceWindowUpdateTrackPtrOutp return pulumi.ToOutputWithContext(ctx, in).(MaintenanceWindowUpdateTrackPtrOutput) } +func (in *maintenanceWindowUpdateTrackPtr) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindowUpdateTrack] { + return pulumix.Output[*MaintenanceWindowUpdateTrack]{ + OutputState: in.ToMaintenanceWindowUpdateTrackPtrOutputWithContext(ctx).OutputState, + } +} + // The complexity of the password. type PasswordValidationPolicyComplexity string @@ -1920,6 +2113,12 @@ func (o PasswordValidationPolicyComplexityOutput) ToPasswordValidationPolicyComp }).(PasswordValidationPolicyComplexityPtrOutput) } +func (o PasswordValidationPolicyComplexityOutput) ToOutput(ctx context.Context) pulumix.Output[PasswordValidationPolicyComplexity] { + return pulumix.Output[PasswordValidationPolicyComplexity]{ + OutputState: o.OutputState, + } +} + func (o PasswordValidationPolicyComplexityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1955,6 +2154,12 @@ func (o PasswordValidationPolicyComplexityPtrOutput) ToPasswordValidationPolicyC return o } +func (o PasswordValidationPolicyComplexityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PasswordValidationPolicyComplexity] { + return pulumix.Output[*PasswordValidationPolicyComplexity]{ + OutputState: o.OutputState, + } +} + func (o PasswordValidationPolicyComplexityPtrOutput) Elem() PasswordValidationPolicyComplexityOutput { return o.ApplyT(func(v *PasswordValidationPolicyComplexity) PasswordValidationPolicyComplexity { if v != nil { @@ -2017,6 +2222,12 @@ func (in *passwordValidationPolicyComplexityPtr) ToPasswordValidationPolicyCompl return pulumi.ToOutputWithContext(ctx, in).(PasswordValidationPolicyComplexityPtrOutput) } +func (in *passwordValidationPolicyComplexityPtr) ToOutput(ctx context.Context) pulumix.Output[*PasswordValidationPolicyComplexity] { + return pulumix.Output[*PasswordValidationPolicyComplexity]{ + OutputState: in.ToPasswordValidationPolicyComplexityPtrOutputWithContext(ctx).OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, even if a connection request arrives. type SettingsActivationPolicy string @@ -2091,6 +2302,12 @@ func (o SettingsActivationPolicyOutput) ToSettingsActivationPolicyPtrOutputWithC }).(SettingsActivationPolicyPtrOutput) } +func (o SettingsActivationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsActivationPolicy] { + return pulumix.Output[SettingsActivationPolicy]{ + OutputState: o.OutputState, + } +} + func (o SettingsActivationPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2126,6 +2343,12 @@ func (o SettingsActivationPolicyPtrOutput) ToSettingsActivationPolicyPtrOutputWi return o } +func (o SettingsActivationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsActivationPolicy] { + return pulumix.Output[*SettingsActivationPolicy]{ + OutputState: o.OutputState, + } +} + func (o SettingsActivationPolicyPtrOutput) Elem() SettingsActivationPolicyOutput { return o.ApplyT(func(v *SettingsActivationPolicy) SettingsActivationPolicy { if v != nil { @@ -2188,6 +2411,12 @@ func (in *settingsActivationPolicyPtr) ToSettingsActivationPolicyPtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(SettingsActivationPolicyPtrOutput) } +func (in *settingsActivationPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsActivationPolicy] { + return pulumix.Output[*SettingsActivationPolicy]{ + OutputState: in.ToSettingsActivationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see [Overview of the High Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-availability). type SettingsAvailabilityType string @@ -2260,6 +2489,12 @@ func (o SettingsAvailabilityTypeOutput) ToSettingsAvailabilityTypePtrOutputWithC }).(SettingsAvailabilityTypePtrOutput) } +func (o SettingsAvailabilityTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsAvailabilityType] { + return pulumix.Output[SettingsAvailabilityType]{ + OutputState: o.OutputState, + } +} + func (o SettingsAvailabilityTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2295,6 +2530,12 @@ func (o SettingsAvailabilityTypePtrOutput) ToSettingsAvailabilityTypePtrOutputWi return o } +func (o SettingsAvailabilityTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsAvailabilityType] { + return pulumix.Output[*SettingsAvailabilityType]{ + OutputState: o.OutputState, + } +} + func (o SettingsAvailabilityTypePtrOutput) Elem() SettingsAvailabilityTypeOutput { return o.ApplyT(func(v *SettingsAvailabilityType) SettingsAvailabilityType { if v != nil { @@ -2357,6 +2598,12 @@ func (in *settingsAvailabilityTypePtr) ToSettingsAvailabilityTypePtrOutputWithCo return pulumi.ToOutputWithContext(ctx, in).(SettingsAvailabilityTypePtrOutput) } +func (in *settingsAvailabilityTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsAvailabilityType] { + return pulumix.Output[*SettingsAvailabilityType]{ + OutputState: in.ToSettingsAvailabilityTypePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies if connections must use Cloud SQL connectors. Option values include the following: `NOT_REQUIRED` (Cloud SQL instances can be connected without Cloud SQL Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL Connectors) Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance. type SettingsConnectorEnforcement string @@ -2429,6 +2676,12 @@ func (o SettingsConnectorEnforcementOutput) ToSettingsConnectorEnforcementPtrOut }).(SettingsConnectorEnforcementPtrOutput) } +func (o SettingsConnectorEnforcementOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsConnectorEnforcement] { + return pulumix.Output[SettingsConnectorEnforcement]{ + OutputState: o.OutputState, + } +} + func (o SettingsConnectorEnforcementOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2464,6 +2717,12 @@ func (o SettingsConnectorEnforcementPtrOutput) ToSettingsConnectorEnforcementPtr return o } +func (o SettingsConnectorEnforcementPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsConnectorEnforcement] { + return pulumix.Output[*SettingsConnectorEnforcement]{ + OutputState: o.OutputState, + } +} + func (o SettingsConnectorEnforcementPtrOutput) Elem() SettingsConnectorEnforcementOutput { return o.ApplyT(func(v *SettingsConnectorEnforcement) SettingsConnectorEnforcement { if v != nil { @@ -2526,6 +2785,12 @@ func (in *settingsConnectorEnforcementPtr) ToSettingsConnectorEnforcementPtrOutp return pulumi.ToOutputWithContext(ctx, in).(SettingsConnectorEnforcementPtrOutput) } +func (in *settingsConnectorEnforcementPtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsConnectorEnforcement] { + return pulumix.Output[*SettingsConnectorEnforcement]{ + OutputState: in.ToSettingsConnectorEnforcementPtrOutputWithContext(ctx).OutputState, + } +} + // The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for First Generation instances. type SettingsDataDiskType string @@ -2600,6 +2865,12 @@ func (o SettingsDataDiskTypeOutput) ToSettingsDataDiskTypePtrOutputWithContext(c }).(SettingsDataDiskTypePtrOutput) } +func (o SettingsDataDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsDataDiskType] { + return pulumix.Output[SettingsDataDiskType]{ + OutputState: o.OutputState, + } +} + func (o SettingsDataDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2635,6 +2906,12 @@ func (o SettingsDataDiskTypePtrOutput) ToSettingsDataDiskTypePtrOutputWithContex return o } +func (o SettingsDataDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsDataDiskType] { + return pulumix.Output[*SettingsDataDiskType]{ + OutputState: o.OutputState, + } +} + func (o SettingsDataDiskTypePtrOutput) Elem() SettingsDataDiskTypeOutput { return o.ApplyT(func(v *SettingsDataDiskType) SettingsDataDiskType { if v != nil { @@ -2697,6 +2974,12 @@ func (in *settingsDataDiskTypePtr) ToSettingsDataDiskTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(SettingsDataDiskTypePtrOutput) } +func (in *settingsDataDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsDataDiskType] { + return pulumix.Output[*SettingsDataDiskType]{ + OutputState: in.ToSettingsDataDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The pricing plan for this instance. This can be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second Generation instances. type SettingsPricingPlan string @@ -2769,6 +3052,12 @@ func (o SettingsPricingPlanOutput) ToSettingsPricingPlanPtrOutputWithContext(ctx }).(SettingsPricingPlanPtrOutput) } +func (o SettingsPricingPlanOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsPricingPlan] { + return pulumix.Output[SettingsPricingPlan]{ + OutputState: o.OutputState, + } +} + func (o SettingsPricingPlanOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2804,6 +3093,12 @@ func (o SettingsPricingPlanPtrOutput) ToSettingsPricingPlanPtrOutputWithContext( return o } +func (o SettingsPricingPlanPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsPricingPlan] { + return pulumix.Output[*SettingsPricingPlan]{ + OutputState: o.OutputState, + } +} + func (o SettingsPricingPlanPtrOutput) Elem() SettingsPricingPlanOutput { return o.ApplyT(func(v *SettingsPricingPlan) SettingsPricingPlan { if v != nil { @@ -2866,6 +3161,12 @@ func (in *settingsPricingPlanPtr) ToSettingsPricingPlanPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(SettingsPricingPlanPtrOutput) } +func (in *settingsPricingPlanPtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsPricingPlan] { + return pulumix.Output[*SettingsPricingPlan]{ + OutputState: in.ToSettingsPricingPlanPtrOutputWithContext(ctx).OutputState, + } +} + // The type of replication this instance uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only applicable to First Generation instances. type SettingsReplicationType string @@ -2938,6 +3239,12 @@ func (o SettingsReplicationTypeOutput) ToSettingsReplicationTypePtrOutputWithCon }).(SettingsReplicationTypePtrOutput) } +func (o SettingsReplicationTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsReplicationType] { + return pulumix.Output[SettingsReplicationType]{ + OutputState: o.OutputState, + } +} + func (o SettingsReplicationTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2973,6 +3280,12 @@ func (o SettingsReplicationTypePtrOutput) ToSettingsReplicationTypePtrOutputWith return o } +func (o SettingsReplicationTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SettingsReplicationType] { + return pulumix.Output[*SettingsReplicationType]{ + OutputState: o.OutputState, + } +} + func (o SettingsReplicationTypePtrOutput) Elem() SettingsReplicationTypeOutput { return o.ApplyT(func(v *SettingsReplicationType) SettingsReplicationType { if v != nil { @@ -3035,6 +3348,12 @@ func (in *settingsReplicationTypePtr) ToSettingsReplicationTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(SettingsReplicationTypePtrOutput) } +func (in *settingsReplicationTypePtr) ToOutput(ctx context.Context) pulumix.Output[*SettingsReplicationType] { + return pulumix.Output[*SettingsReplicationType]{ + OutputState: in.ToSettingsReplicationTypePtrOutputWithContext(ctx).OutputState, + } +} + // This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job type SqlOutOfDiskReportSqlOutOfDiskState string @@ -3107,6 +3426,12 @@ func (o SqlOutOfDiskReportSqlOutOfDiskStateOutput) ToSqlOutOfDiskReportSqlOutOfD }).(SqlOutOfDiskReportSqlOutOfDiskStatePtrOutput) } +func (o SqlOutOfDiskReportSqlOutOfDiskStateOutput) ToOutput(ctx context.Context) pulumix.Output[SqlOutOfDiskReportSqlOutOfDiskState] { + return pulumix.Output[SqlOutOfDiskReportSqlOutOfDiskState]{ + OutputState: o.OutputState, + } +} + func (o SqlOutOfDiskReportSqlOutOfDiskStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3142,6 +3467,12 @@ func (o SqlOutOfDiskReportSqlOutOfDiskStatePtrOutput) ToSqlOutOfDiskReportSqlOut return o } +func (o SqlOutOfDiskReportSqlOutOfDiskStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlOutOfDiskReportSqlOutOfDiskState] { + return pulumix.Output[*SqlOutOfDiskReportSqlOutOfDiskState]{ + OutputState: o.OutputState, + } +} + func (o SqlOutOfDiskReportSqlOutOfDiskStatePtrOutput) Elem() SqlOutOfDiskReportSqlOutOfDiskStateOutput { return o.ApplyT(func(v *SqlOutOfDiskReportSqlOutOfDiskState) SqlOutOfDiskReportSqlOutOfDiskState { if v != nil { @@ -3204,6 +3535,12 @@ func (in *sqlOutOfDiskReportSqlOutOfDiskStatePtr) ToSqlOutOfDiskReportSqlOutOfDi return pulumi.ToOutputWithContext(ctx, in).(SqlOutOfDiskReportSqlOutOfDiskStatePtrOutput) } +func (in *sqlOutOfDiskReportSqlOutOfDiskStatePtr) ToOutput(ctx context.Context) pulumix.Output[*SqlOutOfDiskReportSqlOutOfDiskState] { + return pulumix.Output[*SqlOutOfDiskReportSqlOutOfDiskState]{ + OutputState: in.ToSqlOutOfDiskReportSqlOutOfDiskStatePtrOutputWithContext(ctx).OutputState, + } +} + // Dual password status for the user. type UserDualPasswordType string @@ -3278,6 +3615,12 @@ func (o UserDualPasswordTypeOutput) ToUserDualPasswordTypePtrOutputWithContext(c }).(UserDualPasswordTypePtrOutput) } +func (o UserDualPasswordTypeOutput) ToOutput(ctx context.Context) pulumix.Output[UserDualPasswordType] { + return pulumix.Output[UserDualPasswordType]{ + OutputState: o.OutputState, + } +} + func (o UserDualPasswordTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3313,6 +3656,12 @@ func (o UserDualPasswordTypePtrOutput) ToUserDualPasswordTypePtrOutputWithContex return o } +func (o UserDualPasswordTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserDualPasswordType] { + return pulumix.Output[*UserDualPasswordType]{ + OutputState: o.OutputState, + } +} + func (o UserDualPasswordTypePtrOutput) Elem() UserDualPasswordTypeOutput { return o.ApplyT(func(v *UserDualPasswordType) UserDualPasswordType { if v != nil { @@ -3375,6 +3724,12 @@ func (in *userDualPasswordTypePtr) ToUserDualPasswordTypePtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(UserDualPasswordTypePtrOutput) } +func (in *userDualPasswordTypePtr) ToOutput(ctx context.Context) pulumix.Output[*UserDualPasswordType] { + return pulumix.Output[*UserDualPasswordType]{ + OutputState: in.ToUserDualPasswordTypePtrOutputWithContext(ctx).OutputState, + } +} + // The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type. type UserType string @@ -3447,6 +3802,12 @@ func (o UserTypeOutput) ToUserTypePtrOutputWithContext(ctx context.Context) User }).(UserTypePtrOutput) } +func (o UserTypeOutput) ToOutput(ctx context.Context) pulumix.Output[UserType] { + return pulumix.Output[UserType]{ + OutputState: o.OutputState, + } +} + func (o UserTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3482,6 +3843,12 @@ func (o UserTypePtrOutput) ToUserTypePtrOutputWithContext(ctx context.Context) U return o } +func (o UserTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserType] { + return pulumix.Output[*UserType]{ + OutputState: o.OutputState, + } +} + func (o UserTypePtrOutput) Elem() UserTypeOutput { return o.ApplyT(func(v *UserType) UserType { if v != nil { @@ -3544,6 +3911,12 @@ func (in *userTypePtr) ToUserTypePtrOutputWithContext(ctx context.Context) UserT return pulumi.ToOutputWithContext(ctx, in).(UserTypePtrOutput) } +func (in *userTypePtr) ToOutput(ctx context.Context) pulumix.Output[*UserType] { + return pulumix.Output[*UserType]{ + OutputState: in.ToUserTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*BackupRetentionSettingsRetentionUnitInput)(nil)).Elem(), BackupRetentionSettingsRetentionUnit("RETENTION_UNIT_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*BackupRetentionSettingsRetentionUnitPtrInput)(nil)).Elem(), BackupRetentionSettingsRetentionUnit("RETENTION_UNIT_UNSPECIFIED")) diff --git a/sdk/go/google/sqladmin/v1beta4/pulumiTypes.go b/sdk/go/google/sqladmin/v1beta4/pulumiTypes.go index 9e77284242..3ceeb76cb2 100644 --- a/sdk/go/google/sqladmin/v1beta4/pulumiTypes.go +++ b/sdk/go/google/sqladmin/v1beta4/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AclEntryArgs) ToAclEntryOutputWithContext(ctx context.Context) AclEntryO return pulumi.ToOutputWithContext(ctx, i).(AclEntryOutput) } +func (i AclEntryArgs) ToOutput(ctx context.Context) pulumix.Output[AclEntry] { + return pulumix.Output[AclEntry]{ + OutputState: i.ToAclEntryOutputWithContext(ctx).OutputState, + } +} + // AclEntryArrayInput is an input type that accepts AclEntryArray and AclEntryArrayOutput values. // You can construct a concrete instance of `AclEntryArrayInput` via: // @@ -85,6 +92,12 @@ func (i AclEntryArray) ToAclEntryArrayOutputWithContext(ctx context.Context) Acl return pulumi.ToOutputWithContext(ctx, i).(AclEntryArrayOutput) } +func (i AclEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]AclEntry] { + return pulumix.Output[[]AclEntry]{ + OutputState: i.ToAclEntryArrayOutputWithContext(ctx).OutputState, + } +} + // An entry for an Access Control list. type AclEntryOutput struct{ *pulumi.OutputState } @@ -100,6 +113,12 @@ func (o AclEntryOutput) ToAclEntryOutputWithContext(ctx context.Context) AclEntr return o } +func (o AclEntryOutput) ToOutput(ctx context.Context) pulumix.Output[AclEntry] { + return pulumix.Output[AclEntry]{ + OutputState: o.OutputState, + } +} + // The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. func (o AclEntryOutput) ExpirationTime() pulumi.StringPtrOutput { return o.ApplyT(func(v AclEntry) *string { return v.ExpirationTime }).(pulumi.StringPtrOutput) @@ -134,6 +153,12 @@ func (o AclEntryArrayOutput) ToAclEntryArrayOutputWithContext(ctx context.Contex return o } +func (o AclEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AclEntry] { + return pulumix.Output[[]AclEntry]{ + OutputState: o.OutputState, + } +} + func (o AclEntryArrayOutput) Index(i pulumi.IntInput) AclEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AclEntry { return vs[0].([]AclEntry)[vs[1].(int)] @@ -167,6 +192,12 @@ func (o AclEntryResponseOutput) ToAclEntryResponseOutputWithContext(ctx context. return o } +func (o AclEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AclEntryResponse] { + return pulumix.Output[AclEntryResponse]{ + OutputState: o.OutputState, + } +} + // The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. func (o AclEntryResponseOutput) ExpirationTime() pulumi.StringOutput { return o.ApplyT(func(v AclEntryResponse) string { return v.ExpirationTime }).(pulumi.StringOutput) @@ -201,6 +232,12 @@ func (o AclEntryResponseArrayOutput) ToAclEntryResponseArrayOutputWithContext(ct return o } +func (o AclEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AclEntryResponse] { + return pulumix.Output[[]AclEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o AclEntryResponseArrayOutput) Index(i pulumi.IntInput) AclEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AclEntryResponse { return vs[0].([]AclEntryResponse)[vs[1].(int)] @@ -242,6 +279,12 @@ func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesOutput) } +func (i AdvancedMachineFeaturesArgs) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesOutputWithContext(ctx).OutputState, + } +} + func (i AdvancedMachineFeaturesArgs) ToAdvancedMachineFeaturesPtrOutput() AdvancedMachineFeaturesPtrOutput { return i.ToAdvancedMachineFeaturesPtrOutputWithContext(context.Background()) } @@ -283,6 +326,12 @@ func (i *advancedMachineFeaturesPtrType) ToAdvancedMachineFeaturesPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AdvancedMachineFeaturesPtrOutput) } +func (i *advancedMachineFeaturesPtrType) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: i.ToAdvancedMachineFeaturesPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies options for controlling advanced machine features. type AdvancedMachineFeaturesOutput struct{ *pulumi.OutputState } @@ -308,6 +357,12 @@ func (o AdvancedMachineFeaturesOutput) ToAdvancedMachineFeaturesPtrOutputWithCon }).(AdvancedMachineFeaturesPtrOutput) } +func (o AdvancedMachineFeaturesOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeatures] { + return pulumix.Output[AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + // The number of threads per physical core. func (o AdvancedMachineFeaturesOutput) ThreadsPerCore() pulumi.IntPtrOutput { return o.ApplyT(func(v AdvancedMachineFeatures) *int { return v.ThreadsPerCore }).(pulumi.IntPtrOutput) @@ -327,6 +382,12 @@ func (o AdvancedMachineFeaturesPtrOutput) ToAdvancedMachineFeaturesPtrOutputWith return o } +func (o AdvancedMachineFeaturesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AdvancedMachineFeatures] { + return pulumix.Output[*AdvancedMachineFeatures]{ + OutputState: o.OutputState, + } +} + func (o AdvancedMachineFeaturesPtrOutput) Elem() AdvancedMachineFeaturesOutput { return o.ApplyT(func(v *AdvancedMachineFeatures) AdvancedMachineFeatures { if v != nil { @@ -368,6 +429,12 @@ func (o AdvancedMachineFeaturesResponseOutput) ToAdvancedMachineFeaturesResponse return o } +func (o AdvancedMachineFeaturesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdvancedMachineFeaturesResponse] { + return pulumix.Output[AdvancedMachineFeaturesResponse]{ + OutputState: o.OutputState, + } +} + // The number of threads per physical core. func (o AdvancedMachineFeaturesResponseOutput) ThreadsPerCore() pulumi.IntOutput { return o.ApplyT(func(v AdvancedMachineFeaturesResponse) int { return v.ThreadsPerCore }).(pulumi.IntOutput) @@ -440,6 +507,12 @@ func (i BackupConfigurationArgs) ToBackupConfigurationOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(BackupConfigurationOutput) } +func (i BackupConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[BackupConfiguration] { + return pulumix.Output[BackupConfiguration]{ + OutputState: i.ToBackupConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i BackupConfigurationArgs) ToBackupConfigurationPtrOutput() BackupConfigurationPtrOutput { return i.ToBackupConfigurationPtrOutputWithContext(context.Background()) } @@ -481,6 +554,12 @@ func (i *backupConfigurationPtrType) ToBackupConfigurationPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(BackupConfigurationPtrOutput) } +func (i *backupConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackupConfiguration] { + return pulumix.Output[*BackupConfiguration]{ + OutputState: i.ToBackupConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Database instance backup configuration. type BackupConfigurationOutput struct{ *pulumi.OutputState } @@ -506,6 +585,12 @@ func (o BackupConfigurationOutput) ToBackupConfigurationPtrOutputWithContext(ctx }).(BackupConfigurationPtrOutput) } +func (o BackupConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[BackupConfiguration] { + return pulumix.Output[BackupConfiguration]{ + OutputState: o.OutputState, + } +} + // Backup retention settings. func (o BackupConfigurationOutput) BackupRetentionSettings() BackupRetentionSettingsPtrOutput { return o.ApplyT(func(v BackupConfiguration) *BackupRetentionSettings { return v.BackupRetentionSettings }).(BackupRetentionSettingsPtrOutput) @@ -565,6 +650,12 @@ func (o BackupConfigurationPtrOutput) ToBackupConfigurationPtrOutputWithContext( return o } +func (o BackupConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupConfiguration] { + return pulumix.Output[*BackupConfiguration]{ + OutputState: o.OutputState, + } +} + func (o BackupConfigurationPtrOutput) Elem() BackupConfigurationOutput { return o.ApplyT(func(v *BackupConfiguration) BackupConfiguration { if v != nil { @@ -702,6 +793,12 @@ func (o BackupConfigurationResponseOutput) ToBackupConfigurationResponseOutputWi return o } +func (o BackupConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackupConfigurationResponse] { + return pulumix.Output[BackupConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // Backup retention settings. func (o BackupConfigurationResponseOutput) BackupRetentionSettings() BackupRetentionSettingsResponseOutput { return o.ApplyT(func(v BackupConfigurationResponse) BackupRetentionSettingsResponse { return v.BackupRetentionSettings }).(BackupRetentionSettingsResponseOutput) @@ -786,6 +883,12 @@ func (i BackupRetentionSettingsArgs) ToBackupRetentionSettingsOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BackupRetentionSettingsOutput) } +func (i BackupRetentionSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[BackupRetentionSettings] { + return pulumix.Output[BackupRetentionSettings]{ + OutputState: i.ToBackupRetentionSettingsOutputWithContext(ctx).OutputState, + } +} + func (i BackupRetentionSettingsArgs) ToBackupRetentionSettingsPtrOutput() BackupRetentionSettingsPtrOutput { return i.ToBackupRetentionSettingsPtrOutputWithContext(context.Background()) } @@ -827,6 +930,12 @@ func (i *backupRetentionSettingsPtrType) ToBackupRetentionSettingsPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(BackupRetentionSettingsPtrOutput) } +func (i *backupRetentionSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BackupRetentionSettings] { + return pulumix.Output[*BackupRetentionSettings]{ + OutputState: i.ToBackupRetentionSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // We currently only support backup retention by specifying the number of backups we will retain. type BackupRetentionSettingsOutput struct{ *pulumi.OutputState } @@ -852,6 +961,12 @@ func (o BackupRetentionSettingsOutput) ToBackupRetentionSettingsPtrOutputWithCon }).(BackupRetentionSettingsPtrOutput) } +func (o BackupRetentionSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[BackupRetentionSettings] { + return pulumix.Output[BackupRetentionSettings]{ + OutputState: o.OutputState, + } +} + // Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups. func (o BackupRetentionSettingsOutput) RetainedBackups() pulumi.IntPtrOutput { return o.ApplyT(func(v BackupRetentionSettings) *int { return v.RetainedBackups }).(pulumi.IntPtrOutput) @@ -876,6 +991,12 @@ func (o BackupRetentionSettingsPtrOutput) ToBackupRetentionSettingsPtrOutputWith return o } +func (o BackupRetentionSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupRetentionSettings] { + return pulumix.Output[*BackupRetentionSettings]{ + OutputState: o.OutputState, + } +} + func (o BackupRetentionSettingsPtrOutput) Elem() BackupRetentionSettingsOutput { return o.ApplyT(func(v *BackupRetentionSettings) BackupRetentionSettings { if v != nil { @@ -929,6 +1050,12 @@ func (o BackupRetentionSettingsResponseOutput) ToBackupRetentionSettingsResponse return o } +func (o BackupRetentionSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BackupRetentionSettingsResponse] { + return pulumix.Output[BackupRetentionSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups. func (o BackupRetentionSettingsResponseOutput) RetainedBackups() pulumi.IntOutput { return o.ApplyT(func(v BackupRetentionSettingsResponse) int { return v.RetainedBackups }).(pulumi.IntOutput) @@ -978,6 +1105,12 @@ func (i DatabaseFlagsArgs) ToDatabaseFlagsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DatabaseFlagsOutput) } +func (i DatabaseFlagsArgs) ToOutput(ctx context.Context) pulumix.Output[DatabaseFlags] { + return pulumix.Output[DatabaseFlags]{ + OutputState: i.ToDatabaseFlagsOutputWithContext(ctx).OutputState, + } +} + // DatabaseFlagsArrayInput is an input type that accepts DatabaseFlagsArray and DatabaseFlagsArrayOutput values. // You can construct a concrete instance of `DatabaseFlagsArrayInput` via: // @@ -1003,6 +1136,12 @@ func (i DatabaseFlagsArray) ToDatabaseFlagsArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(DatabaseFlagsArrayOutput) } +func (i DatabaseFlagsArray) ToOutput(ctx context.Context) pulumix.Output[[]DatabaseFlags] { + return pulumix.Output[[]DatabaseFlags]{ + OutputState: i.ToDatabaseFlagsArrayOutputWithContext(ctx).OutputState, + } +} + // Database flags for Cloud SQL instances. type DatabaseFlagsOutput struct{ *pulumi.OutputState } @@ -1018,6 +1157,12 @@ func (o DatabaseFlagsOutput) ToDatabaseFlagsOutputWithContext(ctx context.Contex return o } +func (o DatabaseFlagsOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseFlags] { + return pulumix.Output[DatabaseFlags]{ + OutputState: o.OutputState, + } +} + // The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags) in the Cloud SQL documentation. func (o DatabaseFlagsOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseFlags) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -1042,6 +1187,12 @@ func (o DatabaseFlagsArrayOutput) ToDatabaseFlagsArrayOutputWithContext(ctx cont return o } +func (o DatabaseFlagsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatabaseFlags] { + return pulumix.Output[[]DatabaseFlags]{ + OutputState: o.OutputState, + } +} + func (o DatabaseFlagsArrayOutput) Index(i pulumi.IntInput) DatabaseFlagsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatabaseFlags { return vs[0].([]DatabaseFlags)[vs[1].(int)] @@ -1071,6 +1222,12 @@ func (o DatabaseFlagsResponseOutput) ToDatabaseFlagsResponseOutputWithContext(ct return o } +func (o DatabaseFlagsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DatabaseFlagsResponse] { + return pulumix.Output[DatabaseFlagsResponse]{ + OutputState: o.OutputState, + } +} + // The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags) in the Cloud SQL documentation. func (o DatabaseFlagsResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v DatabaseFlagsResponse) string { return v.Name }).(pulumi.StringOutput) @@ -1095,6 +1252,12 @@ func (o DatabaseFlagsResponseArrayOutput) ToDatabaseFlagsResponseArrayOutputWith return o } +func (o DatabaseFlagsResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DatabaseFlagsResponse] { + return pulumix.Output[[]DatabaseFlagsResponse]{ + OutputState: o.OutputState, + } +} + func (o DatabaseFlagsResponseArrayOutput) Index(i pulumi.IntInput) DatabaseFlagsResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DatabaseFlagsResponse { return vs[0].([]DatabaseFlagsResponse)[vs[1].(int)] @@ -1144,6 +1307,12 @@ func (i DenyMaintenancePeriodArgs) ToDenyMaintenancePeriodOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(DenyMaintenancePeriodOutput) } +func (i DenyMaintenancePeriodArgs) ToOutput(ctx context.Context) pulumix.Output[DenyMaintenancePeriod] { + return pulumix.Output[DenyMaintenancePeriod]{ + OutputState: i.ToDenyMaintenancePeriodOutputWithContext(ctx).OutputState, + } +} + // DenyMaintenancePeriodArrayInput is an input type that accepts DenyMaintenancePeriodArray and DenyMaintenancePeriodArrayOutput values. // You can construct a concrete instance of `DenyMaintenancePeriodArrayInput` via: // @@ -1169,6 +1338,12 @@ func (i DenyMaintenancePeriodArray) ToDenyMaintenancePeriodArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(DenyMaintenancePeriodArrayOutput) } +func (i DenyMaintenancePeriodArray) ToOutput(ctx context.Context) pulumix.Output[[]DenyMaintenancePeriod] { + return pulumix.Output[[]DenyMaintenancePeriod]{ + OutputState: i.ToDenyMaintenancePeriodArrayOutputWithContext(ctx).OutputState, + } +} + // Deny Maintenance Periods. This specifies a date range during when all CSA rollout will be denied. type DenyMaintenancePeriodOutput struct{ *pulumi.OutputState } @@ -1184,6 +1359,12 @@ func (o DenyMaintenancePeriodOutput) ToDenyMaintenancePeriodOutputWithContext(ct return o } +func (o DenyMaintenancePeriodOutput) ToOutput(ctx context.Context) pulumix.Output[DenyMaintenancePeriod] { + return pulumix.Output[DenyMaintenancePeriod]{ + OutputState: o.OutputState, + } +} + // "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01 func (o DenyMaintenancePeriodOutput) EndDate() pulumi.StringPtrOutput { return o.ApplyT(func(v DenyMaintenancePeriod) *string { return v.EndDate }).(pulumi.StringPtrOutput) @@ -1213,6 +1394,12 @@ func (o DenyMaintenancePeriodArrayOutput) ToDenyMaintenancePeriodArrayOutputWith return o } +func (o DenyMaintenancePeriodArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DenyMaintenancePeriod] { + return pulumix.Output[[]DenyMaintenancePeriod]{ + OutputState: o.OutputState, + } +} + func (o DenyMaintenancePeriodArrayOutput) Index(i pulumi.IntInput) DenyMaintenancePeriodOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DenyMaintenancePeriod { return vs[0].([]DenyMaintenancePeriod)[vs[1].(int)] @@ -1244,6 +1431,12 @@ func (o DenyMaintenancePeriodResponseOutput) ToDenyMaintenancePeriodResponseOutp return o } +func (o DenyMaintenancePeriodResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DenyMaintenancePeriodResponse] { + return pulumix.Output[DenyMaintenancePeriodResponse]{ + OutputState: o.OutputState, + } +} + // "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01 func (o DenyMaintenancePeriodResponseOutput) EndDate() pulumi.StringOutput { return o.ApplyT(func(v DenyMaintenancePeriodResponse) string { return v.EndDate }).(pulumi.StringOutput) @@ -1273,6 +1466,12 @@ func (o DenyMaintenancePeriodResponseArrayOutput) ToDenyMaintenancePeriodRespons return o } +func (o DenyMaintenancePeriodResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DenyMaintenancePeriodResponse] { + return pulumix.Output[[]DenyMaintenancePeriodResponse]{ + OutputState: o.OutputState, + } +} + func (o DenyMaintenancePeriodResponseArrayOutput) Index(i pulumi.IntInput) DenyMaintenancePeriodResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DenyMaintenancePeriodResponse { return vs[0].([]DenyMaintenancePeriodResponse)[vs[1].(int)] @@ -1318,6 +1517,12 @@ func (i DiskEncryptionConfigurationArgs) ToDiskEncryptionConfigurationOutputWith return pulumi.ToOutputWithContext(ctx, i).(DiskEncryptionConfigurationOutput) } +func (i DiskEncryptionConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionConfiguration] { + return pulumix.Output[DiskEncryptionConfiguration]{ + OutputState: i.ToDiskEncryptionConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i DiskEncryptionConfigurationArgs) ToDiskEncryptionConfigurationPtrOutput() DiskEncryptionConfigurationPtrOutput { return i.ToDiskEncryptionConfigurationPtrOutputWithContext(context.Background()) } @@ -1359,6 +1564,12 @@ func (i *diskEncryptionConfigurationPtrType) ToDiskEncryptionConfigurationPtrOut return pulumi.ToOutputWithContext(ctx, i).(DiskEncryptionConfigurationPtrOutput) } +func (i *diskEncryptionConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskEncryptionConfiguration] { + return pulumix.Output[*DiskEncryptionConfiguration]{ + OutputState: i.ToDiskEncryptionConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Disk encryption configuration for an instance. type DiskEncryptionConfigurationOutput struct{ *pulumi.OutputState } @@ -1384,6 +1595,12 @@ func (o DiskEncryptionConfigurationOutput) ToDiskEncryptionConfigurationPtrOutpu }).(DiskEncryptionConfigurationPtrOutput) } +func (o DiskEncryptionConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionConfiguration] { + return pulumix.Output[DiskEncryptionConfiguration]{ + OutputState: o.OutputState, + } +} + // This is always `sql#diskEncryptionConfiguration`. func (o DiskEncryptionConfigurationOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v DiskEncryptionConfiguration) *string { return v.Kind }).(pulumi.StringPtrOutput) @@ -1408,6 +1625,12 @@ func (o DiskEncryptionConfigurationPtrOutput) ToDiskEncryptionConfigurationPtrOu return o } +func (o DiskEncryptionConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskEncryptionConfiguration] { + return pulumix.Output[*DiskEncryptionConfiguration]{ + OutputState: o.OutputState, + } +} + func (o DiskEncryptionConfigurationPtrOutput) Elem() DiskEncryptionConfigurationOutput { return o.ApplyT(func(v *DiskEncryptionConfiguration) DiskEncryptionConfiguration { if v != nil { @@ -1461,6 +1684,12 @@ func (o DiskEncryptionConfigurationResponseOutput) ToDiskEncryptionConfiguration return o } +func (o DiskEncryptionConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionConfigurationResponse] { + return pulumix.Output[DiskEncryptionConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // This is always `sql#diskEncryptionConfiguration`. func (o DiskEncryptionConfigurationResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v DiskEncryptionConfigurationResponse) string { return v.Kind }).(pulumi.StringOutput) @@ -1510,6 +1739,12 @@ func (i DiskEncryptionStatusArgs) ToDiskEncryptionStatusOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(DiskEncryptionStatusOutput) } +func (i DiskEncryptionStatusArgs) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionStatus] { + return pulumix.Output[DiskEncryptionStatus]{ + OutputState: i.ToDiskEncryptionStatusOutputWithContext(ctx).OutputState, + } +} + func (i DiskEncryptionStatusArgs) ToDiskEncryptionStatusPtrOutput() DiskEncryptionStatusPtrOutput { return i.ToDiskEncryptionStatusPtrOutputWithContext(context.Background()) } @@ -1551,6 +1786,12 @@ func (i *diskEncryptionStatusPtrType) ToDiskEncryptionStatusPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(DiskEncryptionStatusPtrOutput) } +func (i *diskEncryptionStatusPtrType) ToOutput(ctx context.Context) pulumix.Output[*DiskEncryptionStatus] { + return pulumix.Output[*DiskEncryptionStatus]{ + OutputState: i.ToDiskEncryptionStatusPtrOutputWithContext(ctx).OutputState, + } +} + // Disk encryption status for an instance. type DiskEncryptionStatusOutput struct{ *pulumi.OutputState } @@ -1576,6 +1817,12 @@ func (o DiskEncryptionStatusOutput) ToDiskEncryptionStatusPtrOutputWithContext(c }).(DiskEncryptionStatusPtrOutput) } +func (o DiskEncryptionStatusOutput) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionStatus] { + return pulumix.Output[DiskEncryptionStatus]{ + OutputState: o.OutputState, + } +} + // This is always `sql#diskEncryptionStatus`. func (o DiskEncryptionStatusOutput) Kind() pulumi.StringPtrOutput { return o.ApplyT(func(v DiskEncryptionStatus) *string { return v.Kind }).(pulumi.StringPtrOutput) @@ -1600,6 +1847,12 @@ func (o DiskEncryptionStatusPtrOutput) ToDiskEncryptionStatusPtrOutputWithContex return o } +func (o DiskEncryptionStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DiskEncryptionStatus] { + return pulumix.Output[*DiskEncryptionStatus]{ + OutputState: o.OutputState, + } +} + func (o DiskEncryptionStatusPtrOutput) Elem() DiskEncryptionStatusOutput { return o.ApplyT(func(v *DiskEncryptionStatus) DiskEncryptionStatus { if v != nil { @@ -1653,6 +1906,12 @@ func (o DiskEncryptionStatusResponseOutput) ToDiskEncryptionStatusResponseOutput return o } +func (o DiskEncryptionStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DiskEncryptionStatusResponse] { + return pulumix.Output[DiskEncryptionStatusResponse]{ + OutputState: o.OutputState, + } +} + // This is always `sql#diskEncryptionStatus`. func (o DiskEncryptionStatusResponseOutput) Kind() pulumi.StringOutput { return o.ApplyT(func(v DiskEncryptionStatusResponse) string { return v.Kind }).(pulumi.StringOutput) @@ -1714,6 +1973,12 @@ func (i InsightsConfigArgs) ToInsightsConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(InsightsConfigOutput) } +func (i InsightsConfigArgs) ToOutput(ctx context.Context) pulumix.Output[InsightsConfig] { + return pulumix.Output[InsightsConfig]{ + OutputState: i.ToInsightsConfigOutputWithContext(ctx).OutputState, + } +} + func (i InsightsConfigArgs) ToInsightsConfigPtrOutput() InsightsConfigPtrOutput { return i.ToInsightsConfigPtrOutputWithContext(context.Background()) } @@ -1755,6 +2020,12 @@ func (i *insightsConfigPtrType) ToInsightsConfigPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(InsightsConfigPtrOutput) } +func (i *insightsConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*InsightsConfig] { + return pulumix.Output[*InsightsConfig]{ + OutputState: i.ToInsightsConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration. type InsightsConfigOutput struct{ *pulumi.OutputState } @@ -1780,6 +2051,12 @@ func (o InsightsConfigOutput) ToInsightsConfigPtrOutputWithContext(ctx context.C }).(InsightsConfigPtrOutput) } +func (o InsightsConfigOutput) ToOutput(ctx context.Context) pulumix.Output[InsightsConfig] { + return pulumix.Output[InsightsConfig]{ + OutputState: o.OutputState, + } +} + // Whether Query Insights feature is enabled. func (o InsightsConfigOutput) QueryInsightsEnabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v InsightsConfig) *bool { return v.QueryInsightsEnabled }).(pulumi.BoolPtrOutput) @@ -1819,6 +2096,12 @@ func (o InsightsConfigPtrOutput) ToInsightsConfigPtrOutputWithContext(ctx contex return o } +func (o InsightsConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InsightsConfig] { + return pulumix.Output[*InsightsConfig]{ + OutputState: o.OutputState, + } +} + func (o InsightsConfigPtrOutput) Elem() InsightsConfigOutput { return o.ApplyT(func(v *InsightsConfig) InsightsConfig { if v != nil { @@ -1908,6 +2191,12 @@ func (o InsightsConfigResponseOutput) ToInsightsConfigResponseOutputWithContext( return o } +func (o InsightsConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InsightsConfigResponse] { + return pulumix.Output[InsightsConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether Query Insights feature is enabled. func (o InsightsConfigResponseOutput) QueryInsightsEnabled() pulumi.BoolOutput { return o.ApplyT(func(v InsightsConfigResponse) bool { return v.QueryInsightsEnabled }).(pulumi.BoolOutput) @@ -1972,6 +2261,12 @@ func (i InstanceFailoverReplicaArgs) ToInstanceFailoverReplicaOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(InstanceFailoverReplicaOutput) } +func (i InstanceFailoverReplicaArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceFailoverReplica] { + return pulumix.Output[InstanceFailoverReplica]{ + OutputState: i.ToInstanceFailoverReplicaOutputWithContext(ctx).OutputState, + } +} + func (i InstanceFailoverReplicaArgs) ToInstanceFailoverReplicaPtrOutput() InstanceFailoverReplicaPtrOutput { return i.ToInstanceFailoverReplicaPtrOutputWithContext(context.Background()) } @@ -2013,6 +2308,12 @@ func (i *instanceFailoverReplicaPtrType) ToInstanceFailoverReplicaPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(InstanceFailoverReplicaPtrOutput) } +func (i *instanceFailoverReplicaPtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceFailoverReplica] { + return pulumix.Output[*InstanceFailoverReplica]{ + OutputState: i.ToInstanceFailoverReplicaPtrOutputWithContext(ctx).OutputState, + } +} + // The name and status of the failover replica. type InstanceFailoverReplicaOutput struct{ *pulumi.OutputState } @@ -2038,6 +2339,12 @@ func (o InstanceFailoverReplicaOutput) ToInstanceFailoverReplicaPtrOutputWithCon }).(InstanceFailoverReplicaPtrOutput) } +func (o InstanceFailoverReplicaOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceFailoverReplica] { + return pulumix.Output[InstanceFailoverReplica]{ + OutputState: o.OutputState, + } +} + // The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true. func (o InstanceFailoverReplicaOutput) Available() pulumi.BoolPtrOutput { return o.ApplyT(func(v InstanceFailoverReplica) *bool { return v.Available }).(pulumi.BoolPtrOutput) @@ -2062,6 +2369,12 @@ func (o InstanceFailoverReplicaPtrOutput) ToInstanceFailoverReplicaPtrOutputWith return o } +func (o InstanceFailoverReplicaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceFailoverReplica] { + return pulumix.Output[*InstanceFailoverReplica]{ + OutputState: o.OutputState, + } +} + func (o InstanceFailoverReplicaPtrOutput) Elem() InstanceFailoverReplicaOutput { return o.ApplyT(func(v *InstanceFailoverReplica) InstanceFailoverReplica { if v != nil { @@ -2115,6 +2428,12 @@ func (o InstanceFailoverReplicaResponseOutput) ToInstanceFailoverReplicaResponse return o } +func (o InstanceFailoverReplicaResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceFailoverReplicaResponse] { + return pulumix.Output[InstanceFailoverReplicaResponse]{ + OutputState: o.OutputState, + } +} + // The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true. func (o InstanceFailoverReplicaResponseOutput) Available() pulumi.BoolOutput { return o.ApplyT(func(v InstanceFailoverReplicaResponse) bool { return v.Available }).(pulumi.BoolOutput) @@ -2168,6 +2487,12 @@ func (i InstanceReferenceArgs) ToInstanceReferenceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(InstanceReferenceOutput) } +func (i InstanceReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[InstanceReference] { + return pulumix.Output[InstanceReference]{ + OutputState: i.ToInstanceReferenceOutputWithContext(ctx).OutputState, + } +} + func (i InstanceReferenceArgs) ToInstanceReferencePtrOutput() InstanceReferencePtrOutput { return i.ToInstanceReferencePtrOutputWithContext(context.Background()) } @@ -2209,6 +2534,12 @@ func (i *instanceReferencePtrType) ToInstanceReferencePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(InstanceReferencePtrOutput) } +func (i *instanceReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*InstanceReference] { + return pulumix.Output[*InstanceReference]{ + OutputState: i.ToInstanceReferencePtrOutputWithContext(ctx).OutputState, + } +} + // Reference to another Cloud SQL instance. type InstanceReferenceOutput struct{ *pulumi.OutputState } @@ -2234,6 +2565,12 @@ func (o InstanceReferenceOutput) ToInstanceReferencePtrOutputWithContext(ctx con }).(InstanceReferencePtrOutput) } +func (o InstanceReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceReference] { + return pulumix.Output[InstanceReference]{ + OutputState: o.OutputState, + } +} + // The name of the Cloud SQL instance being referenced. This does not include the project ID. func (o InstanceReferenceOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceReference) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -2263,6 +2600,12 @@ func (o InstanceReferencePtrOutput) ToInstanceReferencePtrOutputWithContext(ctx return o } +func (o InstanceReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InstanceReference] { + return pulumix.Output[*InstanceReference]{ + OutputState: o.OutputState, + } +} + func (o InstanceReferencePtrOutput) Elem() InstanceReferenceOutput { return o.ApplyT(func(v *InstanceReference) InstanceReference { if v != nil { @@ -2328,6 +2671,12 @@ func (o InstanceReferenceResponseOutput) ToInstanceReferenceResponseOutputWithCo return o } +func (o InstanceReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstanceReferenceResponse] { + return pulumix.Output[InstanceReferenceResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Cloud SQL instance being referenced. This does not include the project ID. func (o InstanceReferenceResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v InstanceReferenceResponse) string { return v.Name }).(pulumi.StringOutput) @@ -2398,6 +2747,12 @@ func (i IpConfigurationArgs) ToIpConfigurationOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(IpConfigurationOutput) } +func (i IpConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[IpConfiguration] { + return pulumix.Output[IpConfiguration]{ + OutputState: i.ToIpConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i IpConfigurationArgs) ToIpConfigurationPtrOutput() IpConfigurationPtrOutput { return i.ToIpConfigurationPtrOutputWithContext(context.Background()) } @@ -2439,6 +2794,12 @@ func (i *ipConfigurationPtrType) ToIpConfigurationPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(IpConfigurationPtrOutput) } +func (i *ipConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*IpConfiguration] { + return pulumix.Output[*IpConfiguration]{ + OutputState: i.ToIpConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // IP Management configuration. type IpConfigurationOutput struct{ *pulumi.OutputState } @@ -2464,6 +2825,12 @@ func (o IpConfigurationOutput) ToIpConfigurationPtrOutputWithContext(ctx context }).(IpConfigurationPtrOutput) } +func (o IpConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[IpConfiguration] { + return pulumix.Output[IpConfiguration]{ + OutputState: o.OutputState, + } +} + // The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.` func (o IpConfigurationOutput) AllocatedIpRange() pulumi.StringPtrOutput { return o.ApplyT(func(v IpConfiguration) *string { return v.AllocatedIpRange }).(pulumi.StringPtrOutput) @@ -2508,6 +2875,12 @@ func (o IpConfigurationPtrOutput) ToIpConfigurationPtrOutputWithContext(ctx cont return o } +func (o IpConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IpConfiguration] { + return pulumix.Output[*IpConfiguration]{ + OutputState: o.OutputState, + } +} + func (o IpConfigurationPtrOutput) Elem() IpConfigurationOutput { return o.ApplyT(func(v *IpConfiguration) IpConfiguration { if v != nil { @@ -2609,6 +2982,12 @@ func (o IpConfigurationResponseOutput) ToIpConfigurationResponseOutputWithContex return o } +func (o IpConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IpConfigurationResponse] { + return pulumix.Output[IpConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.` func (o IpConfigurationResponseOutput) AllocatedIpRange() pulumi.StringOutput { return o.ApplyT(func(v IpConfigurationResponse) string { return v.AllocatedIpRange }).(pulumi.StringOutput) @@ -2682,6 +3061,12 @@ func (i IpMappingArgs) ToIpMappingOutputWithContext(ctx context.Context) IpMappi return pulumi.ToOutputWithContext(ctx, i).(IpMappingOutput) } +func (i IpMappingArgs) ToOutput(ctx context.Context) pulumix.Output[IpMapping] { + return pulumix.Output[IpMapping]{ + OutputState: i.ToIpMappingOutputWithContext(ctx).OutputState, + } +} + // IpMappingArrayInput is an input type that accepts IpMappingArray and IpMappingArrayOutput values. // You can construct a concrete instance of `IpMappingArrayInput` via: // @@ -2707,6 +3092,12 @@ func (i IpMappingArray) ToIpMappingArrayOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(IpMappingArrayOutput) } +func (i IpMappingArray) ToOutput(ctx context.Context) pulumix.Output[[]IpMapping] { + return pulumix.Output[[]IpMapping]{ + OutputState: i.ToIpMappingArrayOutputWithContext(ctx).OutputState, + } +} + // Database instance IP Mapping. type IpMappingOutput struct{ *pulumi.OutputState } @@ -2722,6 +3113,12 @@ func (o IpMappingOutput) ToIpMappingOutputWithContext(ctx context.Context) IpMap return o } +func (o IpMappingOutput) ToOutput(ctx context.Context) pulumix.Output[IpMapping] { + return pulumix.Output[IpMapping]{ + OutputState: o.OutputState, + } +} + // The IP address assigned. func (o IpMappingOutput) IpAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v IpMapping) *string { return v.IpAddress }).(pulumi.StringPtrOutput) @@ -2751,6 +3148,12 @@ func (o IpMappingArrayOutput) ToIpMappingArrayOutputWithContext(ctx context.Cont return o } +func (o IpMappingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IpMapping] { + return pulumix.Output[[]IpMapping]{ + OutputState: o.OutputState, + } +} + func (o IpMappingArrayOutput) Index(i pulumi.IntInput) IpMappingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpMapping { return vs[0].([]IpMapping)[vs[1].(int)] @@ -2782,6 +3185,12 @@ func (o IpMappingResponseOutput) ToIpMappingResponseOutputWithContext(ctx contex return o } +func (o IpMappingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IpMappingResponse] { + return pulumix.Output[IpMappingResponse]{ + OutputState: o.OutputState, + } +} + // The IP address assigned. func (o IpMappingResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v IpMappingResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -2811,6 +3220,12 @@ func (o IpMappingResponseArrayOutput) ToIpMappingResponseArrayOutputWithContext( return o } +func (o IpMappingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IpMappingResponse] { + return pulumix.Output[[]IpMappingResponse]{ + OutputState: o.OutputState, + } +} + func (o IpMappingResponseArrayOutput) Index(i pulumi.IntInput) IpMappingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpMappingResponse { return vs[0].([]IpMappingResponse)[vs[1].(int)] @@ -2864,6 +3279,12 @@ func (i LocationPreferenceArgs) ToLocationPreferenceOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(LocationPreferenceOutput) } +func (i LocationPreferenceArgs) ToOutput(ctx context.Context) pulumix.Output[LocationPreference] { + return pulumix.Output[LocationPreference]{ + OutputState: i.ToLocationPreferenceOutputWithContext(ctx).OutputState, + } +} + func (i LocationPreferenceArgs) ToLocationPreferencePtrOutput() LocationPreferencePtrOutput { return i.ToLocationPreferencePtrOutputWithContext(context.Background()) } @@ -2905,6 +3326,12 @@ func (i *locationPreferencePtrType) ToLocationPreferencePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(LocationPreferencePtrOutput) } +func (i *locationPreferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*LocationPreference] { + return pulumix.Output[*LocationPreference]{ + OutputState: i.ToLocationPreferencePtrOutputWithContext(ctx).OutputState, + } +} + // Preferred location. This specifies where a Cloud SQL instance is located. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified. type LocationPreferenceOutput struct{ *pulumi.OutputState } @@ -2930,6 +3357,12 @@ func (o LocationPreferenceOutput) ToLocationPreferencePtrOutputWithContext(ctx c }).(LocationPreferencePtrOutput) } +func (o LocationPreferenceOutput) ToOutput(ctx context.Context) pulumix.Output[LocationPreference] { + return pulumix.Output[LocationPreference]{ + OutputState: o.OutputState, + } +} + // The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance. func (o LocationPreferenceOutput) FollowGaeApplication() pulumi.StringPtrOutput { return o.ApplyT(func(v LocationPreference) *string { return v.FollowGaeApplication }).(pulumi.StringPtrOutput) @@ -2964,6 +3397,12 @@ func (o LocationPreferencePtrOutput) ToLocationPreferencePtrOutputWithContext(ct return o } +func (o LocationPreferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LocationPreference] { + return pulumix.Output[*LocationPreference]{ + OutputState: o.OutputState, + } +} + func (o LocationPreferencePtrOutput) Elem() LocationPreferenceOutput { return o.ApplyT(func(v *LocationPreference) LocationPreference { if v != nil { @@ -3041,6 +3480,12 @@ func (o LocationPreferenceResponseOutput) ToLocationPreferenceResponseOutputWith return o } +func (o LocationPreferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocationPreferenceResponse] { + return pulumix.Output[LocationPreferenceResponse]{ + OutputState: o.OutputState, + } +} + // The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance. func (o LocationPreferenceResponseOutput) FollowGaeApplication() pulumi.StringOutput { return o.ApplyT(func(v LocationPreferenceResponse) string { return v.FollowGaeApplication }).(pulumi.StringOutput) @@ -3108,6 +3553,12 @@ func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowOutput) } +func (i MaintenanceWindowArgs) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowOutputWithContext(ctx).OutputState, + } +} + func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput { return i.ToMaintenanceWindowPtrOutputWithContext(context.Background()) } @@ -3149,6 +3600,12 @@ func (i *maintenanceWindowPtrType) ToMaintenanceWindowPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(MaintenanceWindowPtrOutput) } +func (i *maintenanceWindowPtrType) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: i.ToMaintenanceWindowPtrOutputWithContext(ctx).OutputState, + } +} + // Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance purposes. type MaintenanceWindowOutput struct{ *pulumi.OutputState } @@ -3174,6 +3631,12 @@ func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx con }).(MaintenanceWindowPtrOutput) } +func (o MaintenanceWindowOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindow] { + return pulumix.Output[MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + // day of week (1-7), starting on Monday. func (o MaintenanceWindowOutput) Day() pulumi.IntPtrOutput { return o.ApplyT(func(v MaintenanceWindow) *int { return v.Day }).(pulumi.IntPtrOutput) @@ -3208,6 +3671,12 @@ func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx return o } +func (o MaintenanceWindowPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MaintenanceWindow] { + return pulumix.Output[*MaintenanceWindow]{ + OutputState: o.OutputState, + } +} + func (o MaintenanceWindowPtrOutput) Elem() MaintenanceWindowOutput { return o.ApplyT(func(v *MaintenanceWindow) MaintenanceWindow { if v != nil { @@ -3285,6 +3754,12 @@ func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithCo return o } +func (o MaintenanceWindowResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MaintenanceWindowResponse] { + return pulumix.Output[MaintenanceWindowResponse]{ + OutputState: o.OutputState, + } +} + // day of week (1-7), starting on Monday. func (o MaintenanceWindowResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v MaintenanceWindowResponse) int { return v.Day }).(pulumi.IntOutput) @@ -3380,6 +3855,12 @@ func (i MySqlReplicaConfigurationArgs) ToMySqlReplicaConfigurationOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(MySqlReplicaConfigurationOutput) } +func (i MySqlReplicaConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[MySqlReplicaConfiguration] { + return pulumix.Output[MySqlReplicaConfiguration]{ + OutputState: i.ToMySqlReplicaConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i MySqlReplicaConfigurationArgs) ToMySqlReplicaConfigurationPtrOutput() MySqlReplicaConfigurationPtrOutput { return i.ToMySqlReplicaConfigurationPtrOutputWithContext(context.Background()) } @@ -3421,6 +3902,12 @@ func (i *mySqlReplicaConfigurationPtrType) ToMySqlReplicaConfigurationPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(MySqlReplicaConfigurationPtrOutput) } +func (i *mySqlReplicaConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*MySqlReplicaConfiguration] { + return pulumix.Output[*MySqlReplicaConfiguration]{ + OutputState: i.ToMySqlReplicaConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Read-replica configuration specific to MySQL databases. type MySqlReplicaConfigurationOutput struct{ *pulumi.OutputState } @@ -3446,6 +3933,12 @@ func (o MySqlReplicaConfigurationOutput) ToMySqlReplicaConfigurationPtrOutputWit }).(MySqlReplicaConfigurationPtrOutput) } +func (o MySqlReplicaConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[MySqlReplicaConfiguration] { + return pulumix.Output[MySqlReplicaConfiguration]{ + OutputState: o.OutputState, + } +} + // PEM representation of the trusted CA's x509 certificate. func (o MySqlReplicaConfigurationOutput) CaCertificate() pulumi.StringPtrOutput { return o.ApplyT(func(v MySqlReplicaConfiguration) *string { return v.CaCertificate }).(pulumi.StringPtrOutput) @@ -3515,6 +4008,12 @@ func (o MySqlReplicaConfigurationPtrOutput) ToMySqlReplicaConfigurationPtrOutput return o } +func (o MySqlReplicaConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MySqlReplicaConfiguration] { + return pulumix.Output[*MySqlReplicaConfiguration]{ + OutputState: o.OutputState, + } +} + func (o MySqlReplicaConfigurationPtrOutput) Elem() MySqlReplicaConfigurationOutput { return o.ApplyT(func(v *MySqlReplicaConfiguration) MySqlReplicaConfiguration { if v != nil { @@ -3676,6 +4175,12 @@ func (o MySqlReplicaConfigurationResponseOutput) ToMySqlReplicaConfigurationResp return o } +func (o MySqlReplicaConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MySqlReplicaConfigurationResponse] { + return pulumix.Output[MySqlReplicaConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // PEM representation of the trusted CA's x509 certificate. func (o MySqlReplicaConfigurationResponseOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v MySqlReplicaConfigurationResponse) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -3798,6 +4303,12 @@ func (i OnPremisesConfigurationArgs) ToOnPremisesConfigurationOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(OnPremisesConfigurationOutput) } +func (i OnPremisesConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[OnPremisesConfiguration] { + return pulumix.Output[OnPremisesConfiguration]{ + OutputState: i.ToOnPremisesConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i OnPremisesConfigurationArgs) ToOnPremisesConfigurationPtrOutput() OnPremisesConfigurationPtrOutput { return i.ToOnPremisesConfigurationPtrOutputWithContext(context.Background()) } @@ -3839,6 +4350,12 @@ func (i *onPremisesConfigurationPtrType) ToOnPremisesConfigurationPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(OnPremisesConfigurationPtrOutput) } +func (i *onPremisesConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*OnPremisesConfiguration] { + return pulumix.Output[*OnPremisesConfiguration]{ + OutputState: i.ToOnPremisesConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // On-premises instance configuration. type OnPremisesConfigurationOutput struct{ *pulumi.OutputState } @@ -3864,6 +4381,12 @@ func (o OnPremisesConfigurationOutput) ToOnPremisesConfigurationPtrOutputWithCon }).(OnPremisesConfigurationPtrOutput) } +func (o OnPremisesConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremisesConfiguration] { + return pulumix.Output[OnPremisesConfiguration]{ + OutputState: o.OutputState, + } +} + // PEM representation of the trusted CA's x509 certificate. func (o OnPremisesConfigurationOutput) CaCertificate() pulumi.StringPtrOutput { return o.ApplyT(func(v OnPremisesConfiguration) *string { return v.CaCertificate }).(pulumi.StringPtrOutput) @@ -3923,6 +4446,12 @@ func (o OnPremisesConfigurationPtrOutput) ToOnPremisesConfigurationPtrOutputWith return o } +func (o OnPremisesConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OnPremisesConfiguration] { + return pulumix.Output[*OnPremisesConfiguration]{ + OutputState: o.OutputState, + } +} + func (o OnPremisesConfigurationPtrOutput) Elem() OnPremisesConfigurationOutput { return o.ApplyT(func(v *OnPremisesConfiguration) OnPremisesConfiguration { if v != nil { @@ -4060,6 +4589,12 @@ func (o OnPremisesConfigurationResponseOutput) ToOnPremisesConfigurationResponse return o } +func (o OnPremisesConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OnPremisesConfigurationResponse] { + return pulumix.Output[OnPremisesConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // PEM representation of the trusted CA's x509 certificate. func (o OnPremisesConfigurationResponseOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v OnPremisesConfigurationResponse) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -4148,6 +4683,12 @@ func (i OperationErrorArgs) ToOperationErrorOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(OperationErrorOutput) } +func (i OperationErrorArgs) ToOutput(ctx context.Context) pulumix.Output[OperationError] { + return pulumix.Output[OperationError]{ + OutputState: i.ToOperationErrorOutputWithContext(ctx).OutputState, + } +} + func (i OperationErrorArgs) ToOperationErrorPtrOutput() OperationErrorPtrOutput { return i.ToOperationErrorPtrOutputWithContext(context.Background()) } @@ -4189,6 +4730,12 @@ func (i *operationErrorPtrType) ToOperationErrorPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(OperationErrorPtrOutput) } +func (i *operationErrorPtrType) ToOutput(ctx context.Context) pulumix.Output[*OperationError] { + return pulumix.Output[*OperationError]{ + OutputState: i.ToOperationErrorPtrOutputWithContext(ctx).OutputState, + } +} + // Database instance operation error. type OperationErrorOutput struct{ *pulumi.OutputState } @@ -4214,6 +4761,12 @@ func (o OperationErrorOutput) ToOperationErrorPtrOutputWithContext(ctx context.C }).(OperationErrorPtrOutput) } +func (o OperationErrorOutput) ToOutput(ctx context.Context) pulumix.Output[OperationError] { + return pulumix.Output[OperationError]{ + OutputState: o.OutputState, + } +} + // Identifies the specific error that occurred. func (o OperationErrorOutput) Code() pulumi.StringPtrOutput { return o.ApplyT(func(v OperationError) *string { return v.Code }).(pulumi.StringPtrOutput) @@ -4243,6 +4796,12 @@ func (o OperationErrorPtrOutput) ToOperationErrorPtrOutputWithContext(ctx contex return o } +func (o OperationErrorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OperationError] { + return pulumix.Output[*OperationError]{ + OutputState: o.OutputState, + } +} + func (o OperationErrorPtrOutput) Elem() OperationErrorOutput { return o.ApplyT(func(v *OperationError) OperationError { if v != nil { @@ -4308,6 +4867,12 @@ func (o OperationErrorResponseOutput) ToOperationErrorResponseOutputWithContext( return o } +func (o OperationErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OperationErrorResponse] { + return pulumix.Output[OperationErrorResponse]{ + OutputState: o.OutputState, + } +} + // Identifies the specific error that occurred. func (o OperationErrorResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v OperationErrorResponse) string { return v.Code }).(pulumi.StringOutput) @@ -4346,6 +4911,12 @@ func (o PasswordStatusResponseOutput) ToPasswordStatusResponseOutputWithContext( return o } +func (o PasswordStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PasswordStatusResponse] { + return pulumix.Output[PasswordStatusResponse]{ + OutputState: o.OutputState, + } +} + // If true, user does not have login privileges. func (o PasswordStatusResponseOutput) Locked() pulumi.BoolOutput { return o.ApplyT(func(v PasswordStatusResponse) bool { return v.Locked }).(pulumi.BoolOutput) @@ -4411,6 +4982,12 @@ func (i PasswordValidationPolicyArgs) ToPasswordValidationPolicyOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(PasswordValidationPolicyOutput) } +func (i PasswordValidationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[PasswordValidationPolicy] { + return pulumix.Output[PasswordValidationPolicy]{ + OutputState: i.ToPasswordValidationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i PasswordValidationPolicyArgs) ToPasswordValidationPolicyPtrOutput() PasswordValidationPolicyPtrOutput { return i.ToPasswordValidationPolicyPtrOutputWithContext(context.Background()) } @@ -4452,6 +5029,12 @@ func (i *passwordValidationPolicyPtrType) ToPasswordValidationPolicyPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(PasswordValidationPolicyPtrOutput) } +func (i *passwordValidationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*PasswordValidationPolicy] { + return pulumix.Output[*PasswordValidationPolicy]{ + OutputState: i.ToPasswordValidationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Database instance local user password validation policy type PasswordValidationPolicyOutput struct{ *pulumi.OutputState } @@ -4477,6 +5060,12 @@ func (o PasswordValidationPolicyOutput) ToPasswordValidationPolicyPtrOutputWithC }).(PasswordValidationPolicyPtrOutput) } +func (o PasswordValidationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[PasswordValidationPolicy] { + return pulumix.Output[PasswordValidationPolicy]{ + OutputState: o.OutputState, + } +} + // The complexity of the password. func (o PasswordValidationPolicyOutput) Complexity() PasswordValidationPolicyComplexityPtrOutput { return o.ApplyT(func(v PasswordValidationPolicy) *PasswordValidationPolicyComplexity { return v.Complexity }).(PasswordValidationPolicyComplexityPtrOutput) @@ -4521,6 +5110,12 @@ func (o PasswordValidationPolicyPtrOutput) ToPasswordValidationPolicyPtrOutputWi return o } +func (o PasswordValidationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PasswordValidationPolicy] { + return pulumix.Output[*PasswordValidationPolicy]{ + OutputState: o.OutputState, + } +} + func (o PasswordValidationPolicyPtrOutput) Elem() PasswordValidationPolicyOutput { return o.ApplyT(func(v *PasswordValidationPolicy) PasswordValidationPolicy { if v != nil { @@ -4622,6 +5217,12 @@ func (o PasswordValidationPolicyResponseOutput) ToPasswordValidationPolicyRespon return o } +func (o PasswordValidationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PasswordValidationPolicyResponse] { + return pulumix.Output[PasswordValidationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // The complexity of the password. func (o PasswordValidationPolicyResponseOutput) Complexity() pulumi.StringOutput { return o.ApplyT(func(v PasswordValidationPolicyResponse) string { return v.Complexity }).(pulumi.StringOutput) @@ -4695,6 +5296,12 @@ func (i ReplicaConfigurationArgs) ToReplicaConfigurationOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ReplicaConfigurationOutput) } +func (i ReplicaConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[ReplicaConfiguration] { + return pulumix.Output[ReplicaConfiguration]{ + OutputState: i.ToReplicaConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i ReplicaConfigurationArgs) ToReplicaConfigurationPtrOutput() ReplicaConfigurationPtrOutput { return i.ToReplicaConfigurationPtrOutputWithContext(context.Background()) } @@ -4736,6 +5343,12 @@ func (i *replicaConfigurationPtrType) ToReplicaConfigurationPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ReplicaConfigurationPtrOutput) } +func (i *replicaConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReplicaConfiguration] { + return pulumix.Output[*ReplicaConfiguration]{ + OutputState: i.ToReplicaConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // Read-replica configuration for connecting to the primary instance. type ReplicaConfigurationOutput struct{ *pulumi.OutputState } @@ -4761,6 +5374,12 @@ func (o ReplicaConfigurationOutput) ToReplicaConfigurationPtrOutputWithContext(c }).(ReplicaConfigurationPtrOutput) } +func (o ReplicaConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicaConfiguration] { + return pulumix.Output[ReplicaConfiguration]{ + OutputState: o.OutputState, + } +} + // Specifies if the replica is the failover target. If the field is set to `true` the replica will be designated as a failover replica. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance. func (o ReplicaConfigurationOutput) FailoverTarget() pulumi.BoolPtrOutput { return o.ApplyT(func(v ReplicaConfiguration) *bool { return v.FailoverTarget }).(pulumi.BoolPtrOutput) @@ -4790,6 +5409,12 @@ func (o ReplicaConfigurationPtrOutput) ToReplicaConfigurationPtrOutputWithContex return o } +func (o ReplicaConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReplicaConfiguration] { + return pulumix.Output[*ReplicaConfiguration]{ + OutputState: o.OutputState, + } +} + func (o ReplicaConfigurationPtrOutput) Elem() ReplicaConfigurationOutput { return o.ApplyT(func(v *ReplicaConfiguration) ReplicaConfiguration { if v != nil { @@ -4855,6 +5480,12 @@ func (o ReplicaConfigurationResponseOutput) ToReplicaConfigurationResponseOutput return o } +func (o ReplicaConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicaConfigurationResponse] { + return pulumix.Output[ReplicaConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // Specifies if the replica is the failover target. If the field is set to `true` the replica will be designated as a failover replica. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance. func (o ReplicaConfigurationResponseOutput) FailoverTarget() pulumi.BoolOutput { return o.ApplyT(func(v ReplicaConfigurationResponse) bool { return v.FailoverTarget }).(pulumi.BoolOutput) @@ -5031,6 +5662,12 @@ func (i SettingsArgs) ToSettingsOutputWithContext(ctx context.Context) SettingsO return pulumi.ToOutputWithContext(ctx, i).(SettingsOutput) } +func (i SettingsArgs) ToOutput(ctx context.Context) pulumix.Output[Settings] { + return pulumix.Output[Settings]{ + OutputState: i.ToSettingsOutputWithContext(ctx).OutputState, + } +} + func (i SettingsArgs) ToSettingsPtrOutput() SettingsPtrOutput { return i.ToSettingsPtrOutputWithContext(context.Background()) } @@ -5072,6 +5709,12 @@ func (i *settingsPtrType) ToSettingsPtrOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SettingsPtrOutput) } +func (i *settingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Settings] { + return pulumix.Output[*Settings]{ + OutputState: i.ToSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Database instance settings. type SettingsOutput struct{ *pulumi.OutputState } @@ -5097,6 +5740,12 @@ func (o SettingsOutput) ToSettingsPtrOutputWithContext(ctx context.Context) Sett }).(SettingsPtrOutput) } +func (o SettingsOutput) ToOutput(ctx context.Context) pulumix.Output[Settings] { + return pulumix.Output[Settings]{ + OutputState: o.OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, even if a connection request arrives. func (o SettingsOutput) ActivationPolicy() SettingsActivationPolicyPtrOutput { return o.ApplyT(func(v Settings) *SettingsActivationPolicy { return v.ActivationPolicy }).(SettingsActivationPolicyPtrOutput) @@ -5265,6 +5914,12 @@ func (o SettingsPtrOutput) ToSettingsPtrOutputWithContext(ctx context.Context) S return o } +func (o SettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Settings] { + return pulumix.Output[*Settings]{ + OutputState: o.OutputState, + } +} + func (o SettingsPtrOutput) Elem() SettingsOutput { return o.ApplyT(func(v *Settings) Settings { if v != nil { @@ -5662,6 +6317,12 @@ func (o SettingsResponseOutput) ToSettingsResponseOutputWithContext(ctx context. return o } +func (o SettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SettingsResponse] { + return pulumix.Output[SettingsResponse]{ + OutputState: o.OutputState, + } +} + // The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so even in the absence of connection requests. * `NEVER`: The instance is off; it is not activated, even if a connection request arrives. func (o SettingsResponseOutput) ActivationPolicy() pulumi.StringOutput { return o.ApplyT(func(v SettingsResponse) string { return v.ActivationPolicy }).(pulumi.StringOutput) @@ -5855,6 +6516,12 @@ func (i SqlActiveDirectoryConfigArgs) ToSqlActiveDirectoryConfigOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SqlActiveDirectoryConfigOutput) } +func (i SqlActiveDirectoryConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SqlActiveDirectoryConfig] { + return pulumix.Output[SqlActiveDirectoryConfig]{ + OutputState: i.ToSqlActiveDirectoryConfigOutputWithContext(ctx).OutputState, + } +} + func (i SqlActiveDirectoryConfigArgs) ToSqlActiveDirectoryConfigPtrOutput() SqlActiveDirectoryConfigPtrOutput { return i.ToSqlActiveDirectoryConfigPtrOutputWithContext(context.Background()) } @@ -5896,6 +6563,12 @@ func (i *sqlActiveDirectoryConfigPtrType) ToSqlActiveDirectoryConfigPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(SqlActiveDirectoryConfigPtrOutput) } +func (i *sqlActiveDirectoryConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlActiveDirectoryConfig] { + return pulumix.Output[*SqlActiveDirectoryConfig]{ + OutputState: i.ToSqlActiveDirectoryConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Active Directory configuration, relevant only for Cloud SQL for SQL Server. type SqlActiveDirectoryConfigOutput struct{ *pulumi.OutputState } @@ -5921,6 +6594,12 @@ func (o SqlActiveDirectoryConfigOutput) ToSqlActiveDirectoryConfigPtrOutputWithC }).(SqlActiveDirectoryConfigPtrOutput) } +func (o SqlActiveDirectoryConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SqlActiveDirectoryConfig] { + return pulumix.Output[SqlActiveDirectoryConfig]{ + OutputState: o.OutputState, + } +} + // The name of the domain (e.g., mydomain.com). func (o SqlActiveDirectoryConfigOutput) Domain() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlActiveDirectoryConfig) *string { return v.Domain }).(pulumi.StringPtrOutput) @@ -5945,6 +6624,12 @@ func (o SqlActiveDirectoryConfigPtrOutput) ToSqlActiveDirectoryConfigPtrOutputWi return o } +func (o SqlActiveDirectoryConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlActiveDirectoryConfig] { + return pulumix.Output[*SqlActiveDirectoryConfig]{ + OutputState: o.OutputState, + } +} + func (o SqlActiveDirectoryConfigPtrOutput) Elem() SqlActiveDirectoryConfigOutput { return o.ApplyT(func(v *SqlActiveDirectoryConfig) SqlActiveDirectoryConfig { if v != nil { @@ -5998,6 +6683,12 @@ func (o SqlActiveDirectoryConfigResponseOutput) ToSqlActiveDirectoryConfigRespon return o } +func (o SqlActiveDirectoryConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlActiveDirectoryConfigResponse] { + return pulumix.Output[SqlActiveDirectoryConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the domain (e.g., mydomain.com). func (o SqlActiveDirectoryConfigResponseOutput) Domain() pulumi.StringOutput { return o.ApplyT(func(v SqlActiveDirectoryConfigResponse) string { return v.Domain }).(pulumi.StringOutput) @@ -6047,6 +6738,12 @@ func (i SqlOutOfDiskReportArgs) ToSqlOutOfDiskReportOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SqlOutOfDiskReportOutput) } +func (i SqlOutOfDiskReportArgs) ToOutput(ctx context.Context) pulumix.Output[SqlOutOfDiskReport] { + return pulumix.Output[SqlOutOfDiskReport]{ + OutputState: i.ToSqlOutOfDiskReportOutputWithContext(ctx).OutputState, + } +} + func (i SqlOutOfDiskReportArgs) ToSqlOutOfDiskReportPtrOutput() SqlOutOfDiskReportPtrOutput { return i.ToSqlOutOfDiskReportPtrOutputWithContext(context.Background()) } @@ -6088,6 +6785,12 @@ func (i *sqlOutOfDiskReportPtrType) ToSqlOutOfDiskReportPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SqlOutOfDiskReportPtrOutput) } +func (i *sqlOutOfDiskReportPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlOutOfDiskReport] { + return pulumix.Output[*SqlOutOfDiskReport]{ + OutputState: i.ToSqlOutOfDiskReportPtrOutputWithContext(ctx).OutputState, + } +} + // This message wraps up the information written by out-of-disk detection job. type SqlOutOfDiskReportOutput struct{ *pulumi.OutputState } @@ -6113,6 +6816,12 @@ func (o SqlOutOfDiskReportOutput) ToSqlOutOfDiskReportPtrOutputWithContext(ctx c }).(SqlOutOfDiskReportPtrOutput) } +func (o SqlOutOfDiskReportOutput) ToOutput(ctx context.Context) pulumix.Output[SqlOutOfDiskReport] { + return pulumix.Output[SqlOutOfDiskReport]{ + OutputState: o.OutputState, + } +} + // The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers: func (o SqlOutOfDiskReportOutput) SqlMinRecommendedIncreaseSizeGb() pulumi.IntPtrOutput { return o.ApplyT(func(v SqlOutOfDiskReport) *int { return v.SqlMinRecommendedIncreaseSizeGb }).(pulumi.IntPtrOutput) @@ -6137,6 +6846,12 @@ func (o SqlOutOfDiskReportPtrOutput) ToSqlOutOfDiskReportPtrOutputWithContext(ct return o } +func (o SqlOutOfDiskReportPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlOutOfDiskReport] { + return pulumix.Output[*SqlOutOfDiskReport]{ + OutputState: o.OutputState, + } +} + func (o SqlOutOfDiskReportPtrOutput) Elem() SqlOutOfDiskReportOutput { return o.ApplyT(func(v *SqlOutOfDiskReport) SqlOutOfDiskReport { if v != nil { @@ -6190,6 +6905,12 @@ func (o SqlOutOfDiskReportResponseOutput) ToSqlOutOfDiskReportResponseOutputWith return o } +func (o SqlOutOfDiskReportResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlOutOfDiskReportResponse] { + return pulumix.Output[SqlOutOfDiskReportResponse]{ + OutputState: o.OutputState, + } +} + // The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers: func (o SqlOutOfDiskReportResponseOutput) SqlMinRecommendedIncreaseSizeGb() pulumi.IntOutput { return o.ApplyT(func(v SqlOutOfDiskReportResponse) int { return v.SqlMinRecommendedIncreaseSizeGb }).(pulumi.IntOutput) @@ -6245,6 +6966,12 @@ func (i SqlScheduledMaintenanceArgs) ToSqlScheduledMaintenanceOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SqlScheduledMaintenanceOutput) } +func (i SqlScheduledMaintenanceArgs) ToOutput(ctx context.Context) pulumix.Output[SqlScheduledMaintenance] { + return pulumix.Output[SqlScheduledMaintenance]{ + OutputState: i.ToSqlScheduledMaintenanceOutputWithContext(ctx).OutputState, + } +} + func (i SqlScheduledMaintenanceArgs) ToSqlScheduledMaintenancePtrOutput() SqlScheduledMaintenancePtrOutput { return i.ToSqlScheduledMaintenancePtrOutputWithContext(context.Background()) } @@ -6286,6 +7013,12 @@ func (i *sqlScheduledMaintenancePtrType) ToSqlScheduledMaintenancePtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(SqlScheduledMaintenancePtrOutput) } +func (i *sqlScheduledMaintenancePtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlScheduledMaintenance] { + return pulumix.Output[*SqlScheduledMaintenance]{ + OutputState: i.ToSqlScheduledMaintenancePtrOutputWithContext(ctx).OutputState, + } +} + // Any scheduled maintenance for this instance. type SqlScheduledMaintenanceOutput struct{ *pulumi.OutputState } @@ -6311,6 +7044,12 @@ func (o SqlScheduledMaintenanceOutput) ToSqlScheduledMaintenancePtrOutputWithCon }).(SqlScheduledMaintenancePtrOutput) } +func (o SqlScheduledMaintenanceOutput) ToOutput(ctx context.Context) pulumix.Output[SqlScheduledMaintenance] { + return pulumix.Output[SqlScheduledMaintenance]{ + OutputState: o.OutputState, + } +} + func (o SqlScheduledMaintenanceOutput) CanDefer() pulumi.BoolPtrOutput { return o.ApplyT(func(v SqlScheduledMaintenance) *bool { return v.CanDefer }).(pulumi.BoolPtrOutput) } @@ -6344,6 +7083,12 @@ func (o SqlScheduledMaintenancePtrOutput) ToSqlScheduledMaintenancePtrOutputWith return o } +func (o SqlScheduledMaintenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlScheduledMaintenance] { + return pulumix.Output[*SqlScheduledMaintenance]{ + OutputState: o.OutputState, + } +} + func (o SqlScheduledMaintenancePtrOutput) Elem() SqlScheduledMaintenanceOutput { return o.ApplyT(func(v *SqlScheduledMaintenance) SqlScheduledMaintenance { if v != nil { @@ -6419,6 +7164,12 @@ func (o SqlScheduledMaintenanceResponseOutput) ToSqlScheduledMaintenanceResponse return o } +func (o SqlScheduledMaintenanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlScheduledMaintenanceResponse] { + return pulumix.Output[SqlScheduledMaintenanceResponse]{ + OutputState: o.OutputState, + } +} + func (o SqlScheduledMaintenanceResponseOutput) CanDefer() pulumi.BoolOutput { return o.ApplyT(func(v SqlScheduledMaintenanceResponse) bool { return v.CanDefer }).(pulumi.BoolOutput) } @@ -6485,6 +7236,12 @@ func (i SqlServerAuditConfigArgs) ToSqlServerAuditConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SqlServerAuditConfigOutput) } +func (i SqlServerAuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SqlServerAuditConfig] { + return pulumix.Output[SqlServerAuditConfig]{ + OutputState: i.ToSqlServerAuditConfigOutputWithContext(ctx).OutputState, + } +} + func (i SqlServerAuditConfigArgs) ToSqlServerAuditConfigPtrOutput() SqlServerAuditConfigPtrOutput { return i.ToSqlServerAuditConfigPtrOutputWithContext(context.Background()) } @@ -6526,6 +7283,12 @@ func (i *sqlServerAuditConfigPtrType) ToSqlServerAuditConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(SqlServerAuditConfigPtrOutput) } +func (i *sqlServerAuditConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlServerAuditConfig] { + return pulumix.Output[*SqlServerAuditConfig]{ + OutputState: i.ToSqlServerAuditConfigPtrOutputWithContext(ctx).OutputState, + } +} + // SQL Server specific audit configuration. type SqlServerAuditConfigOutput struct{ *pulumi.OutputState } @@ -6551,6 +7314,12 @@ func (o SqlServerAuditConfigOutput) ToSqlServerAuditConfigPtrOutputWithContext(c }).(SqlServerAuditConfigPtrOutput) } +func (o SqlServerAuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerAuditConfig] { + return pulumix.Output[SqlServerAuditConfig]{ + OutputState: o.OutputState, + } +} + // The name of the destination bucket (e.g., gs://mybucket). func (o SqlServerAuditConfigOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v SqlServerAuditConfig) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -6585,6 +7354,12 @@ func (o SqlServerAuditConfigPtrOutput) ToSqlServerAuditConfigPtrOutputWithContex return o } +func (o SqlServerAuditConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlServerAuditConfig] { + return pulumix.Output[*SqlServerAuditConfig]{ + OutputState: o.OutputState, + } +} + func (o SqlServerAuditConfigPtrOutput) Elem() SqlServerAuditConfigOutput { return o.ApplyT(func(v *SqlServerAuditConfig) SqlServerAuditConfig { if v != nil { @@ -6662,6 +7437,12 @@ func (o SqlServerAuditConfigResponseOutput) ToSqlServerAuditConfigResponseOutput return o } +func (o SqlServerAuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerAuditConfigResponse] { + return pulumix.Output[SqlServerAuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The name of the destination bucket (e.g., gs://mybucket). func (o SqlServerAuditConfigResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v SqlServerAuditConfigResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -6721,6 +7502,12 @@ func (i SqlServerDatabaseDetailsArgs) ToSqlServerDatabaseDetailsOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SqlServerDatabaseDetailsOutput) } +func (i SqlServerDatabaseDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[SqlServerDatabaseDetails] { + return pulumix.Output[SqlServerDatabaseDetails]{ + OutputState: i.ToSqlServerDatabaseDetailsOutputWithContext(ctx).OutputState, + } +} + func (i SqlServerDatabaseDetailsArgs) ToSqlServerDatabaseDetailsPtrOutput() SqlServerDatabaseDetailsPtrOutput { return i.ToSqlServerDatabaseDetailsPtrOutputWithContext(context.Background()) } @@ -6762,6 +7549,12 @@ func (i *sqlServerDatabaseDetailsPtrType) ToSqlServerDatabaseDetailsPtrOutputWit return pulumi.ToOutputWithContext(ctx, i).(SqlServerDatabaseDetailsPtrOutput) } +func (i *sqlServerDatabaseDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlServerDatabaseDetails] { + return pulumix.Output[*SqlServerDatabaseDetails]{ + OutputState: i.ToSqlServerDatabaseDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Sql Server database on the Cloud SQL instance. type SqlServerDatabaseDetailsOutput struct{ *pulumi.OutputState } @@ -6787,6 +7580,12 @@ func (o SqlServerDatabaseDetailsOutput) ToSqlServerDatabaseDetailsPtrOutputWithC }).(SqlServerDatabaseDetailsPtrOutput) } +func (o SqlServerDatabaseDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerDatabaseDetails] { + return pulumix.Output[SqlServerDatabaseDetails]{ + OutputState: o.OutputState, + } +} + // The version of SQL Server with which the database is to be made compatible func (o SqlServerDatabaseDetailsOutput) CompatibilityLevel() pulumi.IntPtrOutput { return o.ApplyT(func(v SqlServerDatabaseDetails) *int { return v.CompatibilityLevel }).(pulumi.IntPtrOutput) @@ -6811,6 +7610,12 @@ func (o SqlServerDatabaseDetailsPtrOutput) ToSqlServerDatabaseDetailsPtrOutputWi return o } +func (o SqlServerDatabaseDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlServerDatabaseDetails] { + return pulumix.Output[*SqlServerDatabaseDetails]{ + OutputState: o.OutputState, + } +} + func (o SqlServerDatabaseDetailsPtrOutput) Elem() SqlServerDatabaseDetailsOutput { return o.ApplyT(func(v *SqlServerDatabaseDetails) SqlServerDatabaseDetails { if v != nil { @@ -6864,6 +7669,12 @@ func (o SqlServerDatabaseDetailsResponseOutput) ToSqlServerDatabaseDetailsRespon return o } +func (o SqlServerDatabaseDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerDatabaseDetailsResponse] { + return pulumix.Output[SqlServerDatabaseDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The version of SQL Server with which the database is to be made compatible func (o SqlServerDatabaseDetailsResponseOutput) CompatibilityLevel() pulumi.IntOutput { return o.ApplyT(func(v SqlServerDatabaseDetailsResponse) int { return v.CompatibilityLevel }).(pulumi.IntOutput) @@ -6913,6 +7724,12 @@ func (i SqlServerUserDetailsArgs) ToSqlServerUserDetailsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SqlServerUserDetailsOutput) } +func (i SqlServerUserDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[SqlServerUserDetails] { + return pulumix.Output[SqlServerUserDetails]{ + OutputState: i.ToSqlServerUserDetailsOutputWithContext(ctx).OutputState, + } +} + func (i SqlServerUserDetailsArgs) ToSqlServerUserDetailsPtrOutput() SqlServerUserDetailsPtrOutput { return i.ToSqlServerUserDetailsPtrOutputWithContext(context.Background()) } @@ -6954,6 +7771,12 @@ func (i *sqlServerUserDetailsPtrType) ToSqlServerUserDetailsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(SqlServerUserDetailsPtrOutput) } +func (i *sqlServerUserDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SqlServerUserDetails] { + return pulumix.Output[*SqlServerUserDetails]{ + OutputState: i.ToSqlServerUserDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a Sql Server user on the Cloud SQL instance. type SqlServerUserDetailsOutput struct{ *pulumi.OutputState } @@ -6979,6 +7802,12 @@ func (o SqlServerUserDetailsOutput) ToSqlServerUserDetailsPtrOutputWithContext(c }).(SqlServerUserDetailsPtrOutput) } +func (o SqlServerUserDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerUserDetails] { + return pulumix.Output[SqlServerUserDetails]{ + OutputState: o.OutputState, + } +} + // If the user has been disabled func (o SqlServerUserDetailsOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v SqlServerUserDetails) *bool { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -7003,6 +7832,12 @@ func (o SqlServerUserDetailsPtrOutput) ToSqlServerUserDetailsPtrOutputWithContex return o } +func (o SqlServerUserDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SqlServerUserDetails] { + return pulumix.Output[*SqlServerUserDetails]{ + OutputState: o.OutputState, + } +} + func (o SqlServerUserDetailsPtrOutput) Elem() SqlServerUserDetailsOutput { return o.ApplyT(func(v *SqlServerUserDetails) SqlServerUserDetails { if v != nil { @@ -7056,6 +7891,12 @@ func (o SqlServerUserDetailsResponseOutput) ToSqlServerUserDetailsResponseOutput return o } +func (o SqlServerUserDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SqlServerUserDetailsResponse] { + return pulumix.Output[SqlServerUserDetailsResponse]{ + OutputState: o.OutputState, + } +} + // If the user has been disabled func (o SqlServerUserDetailsResponseOutput) Disabled() pulumi.BoolOutput { return o.ApplyT(func(v SqlServerUserDetailsResponse) bool { return v.Disabled }).(pulumi.BoolOutput) @@ -7133,6 +7974,12 @@ func (i SslCertTypeArgs) ToSslCertTypeOutputWithContext(ctx context.Context) Ssl return pulumi.ToOutputWithContext(ctx, i).(SslCertTypeOutput) } +func (i SslCertTypeArgs) ToOutput(ctx context.Context) pulumix.Output[SslCertType] { + return pulumix.Output[SslCertType]{ + OutputState: i.ToSslCertTypeOutputWithContext(ctx).OutputState, + } +} + func (i SslCertTypeArgs) ToSslCertTypePtrOutput() SslCertTypePtrOutput { return i.ToSslCertTypePtrOutputWithContext(context.Background()) } @@ -7174,6 +8021,12 @@ func (i *sslCertTypePtrType) ToSslCertTypePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SslCertTypePtrOutput) } +func (i *sslCertTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*SslCertType] { + return pulumix.Output[*SslCertType]{ + OutputState: i.ToSslCertTypePtrOutputWithContext(ctx).OutputState, + } +} + // SslCerts Resource type SslCertTypeOutput struct{ *pulumi.OutputState } @@ -7199,6 +8052,12 @@ func (o SslCertTypeOutput) ToSslCertTypePtrOutputWithContext(ctx context.Context }).(SslCertTypePtrOutput) } +func (o SslCertTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertType] { + return pulumix.Output[SslCertType]{ + OutputState: o.OutputState, + } +} + // PEM representation. func (o SslCertTypeOutput) Cert() pulumi.StringPtrOutput { return o.ApplyT(func(v SslCertType) *string { return v.Cert }).(pulumi.StringPtrOutput) @@ -7258,6 +8117,12 @@ func (o SslCertTypePtrOutput) ToSslCertTypePtrOutputWithContext(ctx context.Cont return o } +func (o SslCertTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCertType] { + return pulumix.Output[*SslCertType]{ + OutputState: o.OutputState, + } +} + func (o SslCertTypePtrOutput) Elem() SslCertTypeOutput { return o.ApplyT(func(v *SslCertType) SslCertType { if v != nil { @@ -7395,6 +8260,12 @@ func (o SslCertResponseOutput) ToSslCertResponseOutputWithContext(ctx context.Co return o } +func (o SslCertResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SslCertResponse] { + return pulumix.Output[SslCertResponse]{ + OutputState: o.OutputState, + } +} + // PEM representation. func (o SslCertResponseOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v SslCertResponse) string { return v.Cert }).(pulumi.StringOutput) @@ -7487,6 +8358,12 @@ func (i UserPasswordValidationPolicyArgs) ToUserPasswordValidationPolicyOutputWi return pulumi.ToOutputWithContext(ctx, i).(UserPasswordValidationPolicyOutput) } +func (i UserPasswordValidationPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[UserPasswordValidationPolicy] { + return pulumix.Output[UserPasswordValidationPolicy]{ + OutputState: i.ToUserPasswordValidationPolicyOutputWithContext(ctx).OutputState, + } +} + func (i UserPasswordValidationPolicyArgs) ToUserPasswordValidationPolicyPtrOutput() UserPasswordValidationPolicyPtrOutput { return i.ToUserPasswordValidationPolicyPtrOutputWithContext(context.Background()) } @@ -7528,6 +8405,12 @@ func (i *userPasswordValidationPolicyPtrType) ToUserPasswordValidationPolicyPtrO return pulumi.ToOutputWithContext(ctx, i).(UserPasswordValidationPolicyPtrOutput) } +func (i *userPasswordValidationPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*UserPasswordValidationPolicy] { + return pulumix.Output[*UserPasswordValidationPolicy]{ + OutputState: i.ToUserPasswordValidationPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // User level password validation policy. type UserPasswordValidationPolicyOutput struct{ *pulumi.OutputState } @@ -7553,6 +8436,12 @@ func (o UserPasswordValidationPolicyOutput) ToUserPasswordValidationPolicyPtrOut }).(UserPasswordValidationPolicyPtrOutput) } +func (o UserPasswordValidationPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[UserPasswordValidationPolicy] { + return pulumix.Output[UserPasswordValidationPolicy]{ + OutputState: o.OutputState, + } +} + // Number of failed login attempts allowed before user get locked. func (o UserPasswordValidationPolicyOutput) AllowedFailedAttempts() pulumi.IntPtrOutput { return o.ApplyT(func(v UserPasswordValidationPolicy) *int { return v.AllowedFailedAttempts }).(pulumi.IntPtrOutput) @@ -7587,6 +8476,12 @@ func (o UserPasswordValidationPolicyPtrOutput) ToUserPasswordValidationPolicyPtr return o } +func (o UserPasswordValidationPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UserPasswordValidationPolicy] { + return pulumix.Output[*UserPasswordValidationPolicy]{ + OutputState: o.OutputState, + } +} + func (o UserPasswordValidationPolicyPtrOutput) Elem() UserPasswordValidationPolicyOutput { return o.ApplyT(func(v *UserPasswordValidationPolicy) UserPasswordValidationPolicy { if v != nil { @@ -7666,6 +8561,12 @@ func (o UserPasswordValidationPolicyResponseOutput) ToUserPasswordValidationPoli return o } +func (o UserPasswordValidationPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UserPasswordValidationPolicyResponse] { + return pulumix.Output[UserPasswordValidationPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Number of failed login attempts allowed before user get locked. func (o UserPasswordValidationPolicyResponseOutput) AllowedFailedAttempts() pulumi.IntOutput { return o.ApplyT(func(v UserPasswordValidationPolicyResponse) int { return v.AllowedFailedAttempts }).(pulumi.IntOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/sslCert.go b/sdk/go/google/sqladmin/v1beta4/sslCert.go index 9cbe1ead77..0ce7109113 100644 --- a/sdk/go/google/sqladmin/v1beta4/sslCert.go +++ b/sdk/go/google/sqladmin/v1beta4/sslCert.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted. @@ -122,6 +123,12 @@ func (i *SslCert) ToSslCertOutputWithContext(ctx context.Context) SslCertOutput return pulumi.ToOutputWithContext(ctx, i).(SslCertOutput) } +func (i *SslCert) ToOutput(ctx context.Context) pulumix.Output[*SslCert] { + return pulumix.Output[*SslCert]{ + OutputState: i.ToSslCertOutputWithContext(ctx).OutputState, + } +} + type SslCertOutput struct{ *pulumi.OutputState } func (SslCertOutput) ElementType() reflect.Type { @@ -136,6 +143,12 @@ func (o SslCertOutput) ToSslCertOutputWithContext(ctx context.Context) SslCertOu return o } +func (o SslCertOutput) ToOutput(ctx context.Context) pulumix.Output[*SslCert] { + return pulumix.Output[*SslCert]{ + OutputState: o.OutputState, + } +} + // PEM representation. func (o SslCertOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v *SslCert) pulumi.StringOutput { return v.Cert }).(pulumi.StringOutput) diff --git a/sdk/go/google/sqladmin/v1beta4/user.go b/sdk/go/google/sqladmin/v1beta4/user.go index 97541020b5..9cc3b7a970 100644 --- a/sdk/go/google/sqladmin/v1beta4/user.go +++ b/sdk/go/google/sqladmin/v1beta4/user.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new user in a Cloud SQL instance. @@ -162,6 +163,12 @@ func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput { return pulumi.ToOutputWithContext(ctx, i).(UserOutput) } +func (i *User) ToOutput(ctx context.Context) pulumix.Output[*User] { + return pulumix.Output[*User]{ + OutputState: i.ToUserOutputWithContext(ctx).OutputState, + } +} + type UserOutput struct{ *pulumi.OutputState } func (UserOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput { return o } +func (o UserOutput) ToOutput(ctx context.Context) pulumix.Output[*User] { + return pulumix.Output[*User]{ + OutputState: o.OutputState, + } +} + // Dual password status for the user. func (o UserOutput) DualPasswordType() pulumi.StringOutput { return o.ApplyT(func(v *User) pulumi.StringOutput { return v.DualPasswordType }).(pulumi.StringOutput) diff --git a/sdk/go/google/storage/v1/bucket.go b/sdk/go/google/storage/v1/bucket.go index 849491bb05..c0dfd32492 100644 --- a/sdk/go/google/storage/v1/bucket.go +++ b/sdk/go/google/storage/v1/bucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new bucket. @@ -298,6 +299,12 @@ func (i *Bucket) ToBucketOutputWithContext(ctx context.Context) BucketOutput { return pulumi.ToOutputWithContext(ctx, i).(BucketOutput) } +func (i *Bucket) ToOutput(ctx context.Context) pulumix.Output[*Bucket] { + return pulumix.Output[*Bucket]{ + OutputState: i.ToBucketOutputWithContext(ctx).OutputState, + } +} + type BucketOutput struct{ *pulumi.OutputState } func (BucketOutput) ElementType() reflect.Type { @@ -312,6 +319,12 @@ func (o BucketOutput) ToBucketOutputWithContext(ctx context.Context) BucketOutpu return o } +func (o BucketOutput) ToOutput(ctx context.Context) pulumix.Output[*Bucket] { + return pulumix.Output[*Bucket]{ + OutputState: o.OutputState, + } +} + // Access controls on the bucket. func (o BucketOutput) Acl() BucketAccessControlResponseArrayOutput { return o.ApplyT(func(v *Bucket) BucketAccessControlResponseArrayOutput { return v.Acl }).(BucketAccessControlResponseArrayOutput) diff --git a/sdk/go/google/storage/v1/bucketAccessControl.go b/sdk/go/google/storage/v1/bucketAccessControl.go index 9c71dc7fe9..78b91ef6e2 100644 --- a/sdk/go/google/storage/v1/bucketAccessControl.go +++ b/sdk/go/google/storage/v1/bucketAccessControl.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ACL entry on the specified bucket. @@ -197,6 +198,12 @@ func (i *BucketAccessControl) ToBucketAccessControlOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(BucketAccessControlOutput) } +func (i *BucketAccessControl) ToOutput(ctx context.Context) pulumix.Output[*BucketAccessControl] { + return pulumix.Output[*BucketAccessControl]{ + OutputState: i.ToBucketAccessControlOutputWithContext(ctx).OutputState, + } +} + type BucketAccessControlOutput struct{ *pulumi.OutputState } func (BucketAccessControlOutput) ElementType() reflect.Type { @@ -211,6 +218,12 @@ func (o BucketAccessControlOutput) ToBucketAccessControlOutputWithContext(ctx co return o } +func (o BucketAccessControlOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketAccessControl] { + return pulumix.Output[*BucketAccessControl]{ + OutputState: o.OutputState, + } +} + func (o BucketAccessControlOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v *BucketAccessControl) pulumi.StringOutput { return v.Bucket }).(pulumi.StringOutput) } diff --git a/sdk/go/google/storage/v1/bucketIamBinding.go b/sdk/go/google/storage/v1/bucketIamBinding.go index ae8aafeb50..56d95f1024 100644 --- a/sdk/go/google/storage/v1/bucketIamBinding.go +++ b/sdk/go/google/storage/v1/bucketIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates an IAM policy for the specified bucket. @@ -154,6 +155,12 @@ func (i *BucketIamBinding) ToBucketIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(BucketIamBindingOutput) } +func (i *BucketIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BucketIamBinding] { + return pulumix.Output[*BucketIamBinding]{ + OutputState: i.ToBucketIamBindingOutputWithContext(ctx).OutputState, + } +} + type BucketIamBindingOutput struct{ *pulumi.OutputState } func (BucketIamBindingOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o BucketIamBindingOutput) ToBucketIamBindingOutputWithContext(ctx context. return o } +func (o BucketIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketIamBinding] { + return pulumix.Output[*BucketIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BucketIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BucketIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/storage/v1/bucketIamMember.go b/sdk/go/google/storage/v1/bucketIamMember.go index aef1083e56..f25896cc08 100644 --- a/sdk/go/google/storage/v1/bucketIamMember.go +++ b/sdk/go/google/storage/v1/bucketIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates an IAM policy for the specified bucket. @@ -154,6 +155,12 @@ func (i *BucketIamMember) ToBucketIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(BucketIamMemberOutput) } +func (i *BucketIamMember) ToOutput(ctx context.Context) pulumix.Output[*BucketIamMember] { + return pulumix.Output[*BucketIamMember]{ + OutputState: i.ToBucketIamMemberOutputWithContext(ctx).OutputState, + } +} + type BucketIamMemberOutput struct{ *pulumi.OutputState } func (BucketIamMemberOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o BucketIamMemberOutput) ToBucketIamMemberOutputWithContext(ctx context.Co return o } +func (o BucketIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketIamMember] { + return pulumix.Output[*BucketIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o BucketIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *BucketIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/storage/v1/bucketIamPolicy.go b/sdk/go/google/storage/v1/bucketIamPolicy.go index 0bd81838ce..b57a9b81dd 100644 --- a/sdk/go/google/storage/v1/bucketIamPolicy.go +++ b/sdk/go/google/storage/v1/bucketIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates an IAM policy for the specified bucket. @@ -135,6 +136,12 @@ func (i *BucketIamPolicy) ToBucketIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(BucketIamPolicyOutput) } +func (i *BucketIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BucketIamPolicy] { + return pulumix.Output[*BucketIamPolicy]{ + OutputState: i.ToBucketIamPolicyOutputWithContext(ctx).OutputState, + } +} + type BucketIamPolicyOutput struct{ *pulumi.OutputState } func (BucketIamPolicyOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o BucketIamPolicyOutput) ToBucketIamPolicyOutputWithContext(ctx context.Co return o } +func (o BucketIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketIamPolicy] { + return pulumix.Output[*BucketIamPolicy]{ + OutputState: o.OutputState, + } +} + // An association between a role, which comes with a set of permissions, and members who may assume that role. func (o BucketIamPolicyOutput) Bindings() BucketIamPolicyBindingsItemResponseArrayOutput { return o.ApplyT(func(v *BucketIamPolicy) BucketIamPolicyBindingsItemResponseArrayOutput { return v.Bindings }).(BucketIamPolicyBindingsItemResponseArrayOutput) diff --git a/sdk/go/google/storage/v1/bucketObject.go b/sdk/go/google/storage/v1/bucketObject.go index 620e30b4c6..d999e680cb 100644 --- a/sdk/go/google/storage/v1/bucketObject.go +++ b/sdk/go/google/storage/v1/bucketObject.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Stores a new object and metadata. @@ -327,6 +328,12 @@ func (i *BucketObject) ToBucketObjectOutputWithContext(ctx context.Context) Buck return pulumi.ToOutputWithContext(ctx, i).(BucketObjectOutput) } +func (i *BucketObject) ToOutput(ctx context.Context) pulumix.Output[*BucketObject] { + return pulumix.Output[*BucketObject]{ + OutputState: i.ToBucketObjectOutputWithContext(ctx).OutputState, + } +} + type BucketObjectOutput struct{ *pulumi.OutputState } func (BucketObjectOutput) ElementType() reflect.Type { @@ -341,6 +348,12 @@ func (o BucketObjectOutput) ToBucketObjectOutputWithContext(ctx context.Context) return o } +func (o BucketObjectOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketObject] { + return pulumix.Output[*BucketObject]{ + OutputState: o.OutputState, + } +} + // Access controls on the object. func (o BucketObjectOutput) Acl() ObjectAccessControlResponseArrayOutput { return o.ApplyT(func(v *BucketObject) ObjectAccessControlResponseArrayOutput { return v.Acl }).(ObjectAccessControlResponseArrayOutput) diff --git a/sdk/go/google/storage/v1/defaultObjectAccessControl.go b/sdk/go/google/storage/v1/defaultObjectAccessControl.go index 38d8de1c9c..1c6f65ff1e 100644 --- a/sdk/go/google/storage/v1/defaultObjectAccessControl.go +++ b/sdk/go/google/storage/v1/defaultObjectAccessControl.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new default object ACL entry on the specified bucket. @@ -209,6 +210,12 @@ func (i *DefaultObjectAccessControl) ToDefaultObjectAccessControlOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(DefaultObjectAccessControlOutput) } +func (i *DefaultObjectAccessControl) ToOutput(ctx context.Context) pulumix.Output[*DefaultObjectAccessControl] { + return pulumix.Output[*DefaultObjectAccessControl]{ + OutputState: i.ToDefaultObjectAccessControlOutputWithContext(ctx).OutputState, + } +} + type DefaultObjectAccessControlOutput struct{ *pulumi.OutputState } func (DefaultObjectAccessControlOutput) ElementType() reflect.Type { @@ -223,6 +230,12 @@ func (o DefaultObjectAccessControlOutput) ToDefaultObjectAccessControlOutputWith return o } +func (o DefaultObjectAccessControlOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultObjectAccessControl] { + return pulumix.Output[*DefaultObjectAccessControl]{ + OutputState: o.OutputState, + } +} + func (o DefaultObjectAccessControlOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v *DefaultObjectAccessControl) pulumi.StringOutput { return v.Bucket }).(pulumi.StringOutput) } diff --git a/sdk/go/google/storage/v1/getBucket.go b/sdk/go/google/storage/v1/getBucket.go index 6fccd71498..a03b801900 100644 --- a/sdk/go/google/storage/v1/getBucket.go +++ b/sdk/go/google/storage/v1/getBucket.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns metadata for the specified bucket. @@ -130,6 +131,12 @@ func (o LookupBucketResultOutput) ToLookupBucketResultOutputWithContext(ctx cont return o } +func (o LookupBucketResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBucketResult] { + return pulumix.Output[LookupBucketResult]{ + OutputState: o.OutputState, + } +} + // Access controls on the bucket. func (o LookupBucketResultOutput) Acl() BucketAccessControlResponseArrayOutput { return o.ApplyT(func(v LookupBucketResult) []BucketAccessControlResponse { return v.Acl }).(BucketAccessControlResponseArrayOutput) diff --git a/sdk/go/google/storage/v1/getBucketAccessControl.go b/sdk/go/google/storage/v1/getBucketAccessControl.go index 14114df380..d62654eeb3 100644 --- a/sdk/go/google/storage/v1/getBucketAccessControl.go +++ b/sdk/go/google/storage/v1/getBucketAccessControl.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the ACL entry for the specified entity on the specified bucket. @@ -99,6 +100,12 @@ func (o LookupBucketAccessControlResultOutput) ToLookupBucketAccessControlResult return o } +func (o LookupBucketAccessControlResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBucketAccessControlResult] { + return pulumix.Output[LookupBucketAccessControlResult]{ + OutputState: o.OutputState, + } +} + // The name of the bucket. func (o LookupBucketAccessControlResultOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v LookupBucketAccessControlResult) string { return v.Bucket }).(pulumi.StringOutput) diff --git a/sdk/go/google/storage/v1/getBucketIamPolicy.go b/sdk/go/google/storage/v1/getBucketIamPolicy.go index 0cb8638c4b..c6d189973a 100644 --- a/sdk/go/google/storage/v1/getBucketIamPolicy.go +++ b/sdk/go/google/storage/v1/getBucketIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns an IAM policy for the specified bucket. @@ -78,6 +79,12 @@ func (o LookupBucketIamPolicyResultOutput) ToLookupBucketIamPolicyResultOutputWi return o } +func (o LookupBucketIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBucketIamPolicyResult] { + return pulumix.Output[LookupBucketIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // An association between a role, which comes with a set of permissions, and members who may assume that role. func (o LookupBucketIamPolicyResultOutput) Bindings() BucketIamPolicyBindingsItemResponseArrayOutput { return o.ApplyT(func(v LookupBucketIamPolicyResult) []BucketIamPolicyBindingsItemResponse { return v.Bindings }).(BucketIamPolicyBindingsItemResponseArrayOutput) diff --git a/sdk/go/google/storage/v1/getBucketObject.go b/sdk/go/google/storage/v1/getBucketObject.go index 634cbddf4c..ad8f279dba 100644 --- a/sdk/go/google/storage/v1/getBucketObject.go +++ b/sdk/go/google/storage/v1/getBucketObject.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves an object or its metadata. @@ -142,6 +143,12 @@ func (o LookupBucketObjectResultOutput) ToLookupBucketObjectResultOutputWithCont return o } +func (o LookupBucketObjectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBucketObjectResult] { + return pulumix.Output[LookupBucketObjectResult]{ + OutputState: o.OutputState, + } +} + // Access controls on the object. func (o LookupBucketObjectResultOutput) Acl() ObjectAccessControlResponseArrayOutput { return o.ApplyT(func(v LookupBucketObjectResult) []ObjectAccessControlResponse { return v.Acl }).(ObjectAccessControlResponseArrayOutput) diff --git a/sdk/go/google/storage/v1/getDefaultObjectAccessControl.go b/sdk/go/google/storage/v1/getDefaultObjectAccessControl.go index 86a578dbe6..803770164b 100644 --- a/sdk/go/google/storage/v1/getDefaultObjectAccessControl.go +++ b/sdk/go/google/storage/v1/getDefaultObjectAccessControl.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the default object ACL entry for the specified entity on the specified bucket. @@ -103,6 +104,12 @@ func (o LookupDefaultObjectAccessControlResultOutput) ToLookupDefaultObjectAcces return o } +func (o LookupDefaultObjectAccessControlResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDefaultObjectAccessControlResult] { + return pulumix.Output[LookupDefaultObjectAccessControlResult]{ + OutputState: o.OutputState, + } +} + // The name of the bucket. func (o LookupDefaultObjectAccessControlResultOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v LookupDefaultObjectAccessControlResult) string { return v.Bucket }).(pulumi.StringOutput) diff --git a/sdk/go/google/storage/v1/getHmacKey.go b/sdk/go/google/storage/v1/getHmacKey.go index dae5daeeb4..d27361dc77 100644 --- a/sdk/go/google/storage/v1/getHmacKey.go +++ b/sdk/go/google/storage/v1/getHmacKey.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Retrieves an HMAC key's metadata @@ -86,6 +87,12 @@ func (o LookupHmacKeyResultOutput) ToLookupHmacKeyResultOutputWithContext(ctx co return o } +func (o LookupHmacKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHmacKeyResult] { + return pulumix.Output[LookupHmacKeyResult]{ + OutputState: o.OutputState, + } +} + // The ID of the HMAC Key. func (o LookupHmacKeyResultOutput) AccessId() pulumi.StringOutput { return o.ApplyT(func(v LookupHmacKeyResult) string { return v.AccessId }).(pulumi.StringOutput) diff --git a/sdk/go/google/storage/v1/getNotification.go b/sdk/go/google/storage/v1/getNotification.go index 5b0e8b2513..a0372edb10 100644 --- a/sdk/go/google/storage/v1/getNotification.go +++ b/sdk/go/google/storage/v1/getNotification.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // View a notification configuration. @@ -84,6 +85,12 @@ func (o LookupNotificationResultOutput) ToLookupNotificationResultOutputWithCont return o } +func (o LookupNotificationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNotificationResult] { + return pulumix.Output[LookupNotificationResult]{ + OutputState: o.OutputState, + } +} + // An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription. func (o LookupNotificationResultOutput) CustomAttributes() pulumi.StringMapOutput { return o.ApplyT(func(v LookupNotificationResult) map[string]string { return v.CustomAttributes }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/storage/v1/getObjectAccessControl.go b/sdk/go/google/storage/v1/getObjectAccessControl.go index 3cdffa2f85..7ce14769b9 100644 --- a/sdk/go/google/storage/v1/getObjectAccessControl.go +++ b/sdk/go/google/storage/v1/getObjectAccessControl.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the ACL entry for the specified entity on the specified object. @@ -107,6 +108,12 @@ func (o LookupObjectAccessControlResultOutput) ToLookupObjectAccessControlResult return o } +func (o LookupObjectAccessControlResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupObjectAccessControlResult] { + return pulumix.Output[LookupObjectAccessControlResult]{ + OutputState: o.OutputState, + } +} + // The name of the bucket. func (o LookupObjectAccessControlResultOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v LookupObjectAccessControlResult) string { return v.Bucket }).(pulumi.StringOutput) diff --git a/sdk/go/google/storage/v1/getObjectIamPolicy.go b/sdk/go/google/storage/v1/getObjectIamPolicy.go index 5f923f8258..6bdc8e4436 100644 --- a/sdk/go/google/storage/v1/getObjectIamPolicy.go +++ b/sdk/go/google/storage/v1/getObjectIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns an IAM policy for the specified object. @@ -80,6 +81,12 @@ func (o LookupObjectIamPolicyResultOutput) ToLookupObjectIamPolicyResultOutputWi return o } +func (o LookupObjectIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupObjectIamPolicyResult] { + return pulumix.Output[LookupObjectIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // An association between a role, which comes with a set of permissions, and members who may assume that role. func (o LookupObjectIamPolicyResultOutput) Bindings() ObjectIamPolicyBindingsItemResponseArrayOutput { return o.ApplyT(func(v LookupObjectIamPolicyResult) []ObjectIamPolicyBindingsItemResponse { return v.Bindings }).(ObjectIamPolicyBindingsItemResponseArrayOutput) diff --git a/sdk/go/google/storage/v1/hmacKey.go b/sdk/go/google/storage/v1/hmacKey.go index d1b379c021..8f7309f42d 100644 --- a/sdk/go/google/storage/v1/hmacKey.go +++ b/sdk/go/google/storage/v1/hmacKey.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new HMAC key for the specified service account. @@ -125,6 +126,12 @@ func (i *HmacKey) ToHmacKeyOutputWithContext(ctx context.Context) HmacKeyOutput return pulumi.ToOutputWithContext(ctx, i).(HmacKeyOutput) } +func (i *HmacKey) ToOutput(ctx context.Context) pulumix.Output[*HmacKey] { + return pulumix.Output[*HmacKey]{ + OutputState: i.ToHmacKeyOutputWithContext(ctx).OutputState, + } +} + type HmacKeyOutput struct{ *pulumi.OutputState } func (HmacKeyOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o HmacKeyOutput) ToHmacKeyOutputWithContext(ctx context.Context) HmacKeyOu return o } +func (o HmacKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*HmacKey] { + return pulumix.Output[*HmacKey]{ + OutputState: o.OutputState, + } +} + // The ID of the HMAC Key. func (o HmacKeyOutput) AccessId() pulumi.StringOutput { return o.ApplyT(func(v *HmacKey) pulumi.StringOutput { return v.AccessId }).(pulumi.StringOutput) diff --git a/sdk/go/google/storage/v1/notification.go b/sdk/go/google/storage/v1/notification.go index 6a100d8eba..5fad1e99d1 100644 --- a/sdk/go/google/storage/v1/notification.go +++ b/sdk/go/google/storage/v1/notification.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a notification subscription for a given bucket. @@ -156,6 +157,12 @@ func (i *Notification) ToNotificationOutputWithContext(ctx context.Context) Noti return pulumi.ToOutputWithContext(ctx, i).(NotificationOutput) } +func (i *Notification) ToOutput(ctx context.Context) pulumix.Output[*Notification] { + return pulumix.Output[*Notification]{ + OutputState: i.ToNotificationOutputWithContext(ctx).OutputState, + } +} + type NotificationOutput struct{ *pulumi.OutputState } func (NotificationOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o NotificationOutput) ToNotificationOutputWithContext(ctx context.Context) return o } +func (o NotificationOutput) ToOutput(ctx context.Context) pulumix.Output[*Notification] { + return pulumix.Output[*Notification]{ + OutputState: o.OutputState, + } +} + func (o NotificationOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v *Notification) pulumi.StringOutput { return v.Bucket }).(pulumi.StringOutput) } diff --git a/sdk/go/google/storage/v1/objectAccessControl.go b/sdk/go/google/storage/v1/objectAccessControl.go index 9feb87242f..af5fad053c 100644 --- a/sdk/go/google/storage/v1/objectAccessControl.go +++ b/sdk/go/google/storage/v1/objectAccessControl.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ACL entry on the specified object. @@ -212,6 +213,12 @@ func (i *ObjectAccessControl) ToObjectAccessControlOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ObjectAccessControlOutput) } +func (i *ObjectAccessControl) ToOutput(ctx context.Context) pulumix.Output[*ObjectAccessControl] { + return pulumix.Output[*ObjectAccessControl]{ + OutputState: i.ToObjectAccessControlOutputWithContext(ctx).OutputState, + } +} + type ObjectAccessControlOutput struct{ *pulumi.OutputState } func (ObjectAccessControlOutput) ElementType() reflect.Type { @@ -226,6 +233,12 @@ func (o ObjectAccessControlOutput) ToObjectAccessControlOutputWithContext(ctx co return o } +func (o ObjectAccessControlOutput) ToOutput(ctx context.Context) pulumix.Output[*ObjectAccessControl] { + return pulumix.Output[*ObjectAccessControl]{ + OutputState: o.OutputState, + } +} + func (o ObjectAccessControlOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v *ObjectAccessControl) pulumi.StringOutput { return v.Bucket }).(pulumi.StringOutput) } diff --git a/sdk/go/google/storage/v1/objectIamBinding.go b/sdk/go/google/storage/v1/objectIamBinding.go index 40155e8a44..a9616c5159 100644 --- a/sdk/go/google/storage/v1/objectIamBinding.go +++ b/sdk/go/google/storage/v1/objectIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates an IAM policy for the specified object. @@ -154,6 +155,12 @@ func (i *ObjectIamBinding) ToObjectIamBindingOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ObjectIamBindingOutput) } +func (i *ObjectIamBinding) ToOutput(ctx context.Context) pulumix.Output[*ObjectIamBinding] { + return pulumix.Output[*ObjectIamBinding]{ + OutputState: i.ToObjectIamBindingOutputWithContext(ctx).OutputState, + } +} + type ObjectIamBindingOutput struct{ *pulumi.OutputState } func (ObjectIamBindingOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o ObjectIamBindingOutput) ToObjectIamBindingOutputWithContext(ctx context. return o } +func (o ObjectIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*ObjectIamBinding] { + return pulumix.Output[*ObjectIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ObjectIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ObjectIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/storage/v1/objectIamMember.go b/sdk/go/google/storage/v1/objectIamMember.go index 5789ae3858..cc3efd8700 100644 --- a/sdk/go/google/storage/v1/objectIamMember.go +++ b/sdk/go/google/storage/v1/objectIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates an IAM policy for the specified object. @@ -154,6 +155,12 @@ func (i *ObjectIamMember) ToObjectIamMemberOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ObjectIamMemberOutput) } +func (i *ObjectIamMember) ToOutput(ctx context.Context) pulumix.Output[*ObjectIamMember] { + return pulumix.Output[*ObjectIamMember]{ + OutputState: i.ToObjectIamMemberOutputWithContext(ctx).OutputState, + } +} + type ObjectIamMemberOutput struct{ *pulumi.OutputState } func (ObjectIamMemberOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o ObjectIamMemberOutput) ToObjectIamMemberOutputWithContext(ctx context.Co return o } +func (o ObjectIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*ObjectIamMember] { + return pulumix.Output[*ObjectIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o ObjectIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *ObjectIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/storage/v1/objectIamPolicy.go b/sdk/go/google/storage/v1/objectIamPolicy.go index aa5b360148..5c5b4fa91e 100644 --- a/sdk/go/google/storage/v1/objectIamPolicy.go +++ b/sdk/go/google/storage/v1/objectIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Updates an IAM policy for the specified object. @@ -148,6 +149,12 @@ func (i *ObjectIamPolicy) ToObjectIamPolicyOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ObjectIamPolicyOutput) } +func (i *ObjectIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*ObjectIamPolicy] { + return pulumix.Output[*ObjectIamPolicy]{ + OutputState: i.ToObjectIamPolicyOutputWithContext(ctx).OutputState, + } +} + type ObjectIamPolicyOutput struct{ *pulumi.OutputState } func (ObjectIamPolicyOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o ObjectIamPolicyOutput) ToObjectIamPolicyOutputWithContext(ctx context.Co return o } +func (o ObjectIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*ObjectIamPolicy] { + return pulumix.Output[*ObjectIamPolicy]{ + OutputState: o.OutputState, + } +} + // An association between a role, which comes with a set of permissions, and members who may assume that role. func (o ObjectIamPolicyOutput) Bindings() ObjectIamPolicyBindingsItemResponseArrayOutput { return o.ApplyT(func(v *ObjectIamPolicy) ObjectIamPolicyBindingsItemResponseArrayOutput { return v.Bindings }).(ObjectIamPolicyBindingsItemResponseArrayOutput) diff --git a/sdk/go/google/storage/v1/pulumiTypes.go b/sdk/go/google/storage/v1/pulumiTypes.go index 94632d5fb3..29bd39cc02 100644 --- a/sdk/go/google/storage/v1/pulumiTypes.go +++ b/sdk/go/google/storage/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -110,6 +111,12 @@ func (i BucketAccessControlTypeArgs) ToBucketAccessControlTypeOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BucketAccessControlTypeOutput) } +func (i BucketAccessControlTypeArgs) ToOutput(ctx context.Context) pulumix.Output[BucketAccessControlType] { + return pulumix.Output[BucketAccessControlType]{ + OutputState: i.ToBucketAccessControlTypeOutputWithContext(ctx).OutputState, + } +} + // BucketAccessControlTypeArrayInput is an input type that accepts BucketAccessControlTypeArray and BucketAccessControlTypeArrayOutput values. // You can construct a concrete instance of `BucketAccessControlTypeArrayInput` via: // @@ -135,6 +142,12 @@ func (i BucketAccessControlTypeArray) ToBucketAccessControlTypeArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(BucketAccessControlTypeArrayOutput) } +func (i BucketAccessControlTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]BucketAccessControlType] { + return pulumix.Output[[]BucketAccessControlType]{ + OutputState: i.ToBucketAccessControlTypeArrayOutputWithContext(ctx).OutputState, + } +} + // An access-control entry. type BucketAccessControlTypeOutput struct{ *pulumi.OutputState } @@ -150,6 +163,12 @@ func (o BucketAccessControlTypeOutput) ToBucketAccessControlTypeOutputWithContex return o } +func (o BucketAccessControlTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BucketAccessControlType] { + return pulumix.Output[BucketAccessControlType]{ + OutputState: o.OutputState, + } +} + // The name of the bucket. func (o BucketAccessControlTypeOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v BucketAccessControlType) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -230,6 +249,12 @@ func (o BucketAccessControlTypeArrayOutput) ToBucketAccessControlTypeArrayOutput return o } +func (o BucketAccessControlTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BucketAccessControlType] { + return pulumix.Output[[]BucketAccessControlType]{ + OutputState: o.OutputState, + } +} + func (o BucketAccessControlTypeArrayOutput) Index(i pulumi.IntInput) BucketAccessControlTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BucketAccessControlType { return vs[0].([]BucketAccessControlType)[vs[1].(int)] @@ -275,6 +300,12 @@ func (i BucketAccessControlProjectTeamArgs) ToBucketAccessControlProjectTeamOutp return pulumi.ToOutputWithContext(ctx, i).(BucketAccessControlProjectTeamOutput) } +func (i BucketAccessControlProjectTeamArgs) ToOutput(ctx context.Context) pulumix.Output[BucketAccessControlProjectTeam] { + return pulumix.Output[BucketAccessControlProjectTeam]{ + OutputState: i.ToBucketAccessControlProjectTeamOutputWithContext(ctx).OutputState, + } +} + func (i BucketAccessControlProjectTeamArgs) ToBucketAccessControlProjectTeamPtrOutput() BucketAccessControlProjectTeamPtrOutput { return i.ToBucketAccessControlProjectTeamPtrOutputWithContext(context.Background()) } @@ -316,6 +347,12 @@ func (i *bucketAccessControlProjectTeamPtrType) ToBucketAccessControlProjectTeam return pulumi.ToOutputWithContext(ctx, i).(BucketAccessControlProjectTeamPtrOutput) } +func (i *bucketAccessControlProjectTeamPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketAccessControlProjectTeam] { + return pulumix.Output[*BucketAccessControlProjectTeam]{ + OutputState: i.ToBucketAccessControlProjectTeamPtrOutputWithContext(ctx).OutputState, + } +} + // The project team associated with the entity, if any. type BucketAccessControlProjectTeamOutput struct{ *pulumi.OutputState } @@ -341,6 +378,12 @@ func (o BucketAccessControlProjectTeamOutput) ToBucketAccessControlProjectTeamPt }).(BucketAccessControlProjectTeamPtrOutput) } +func (o BucketAccessControlProjectTeamOutput) ToOutput(ctx context.Context) pulumix.Output[BucketAccessControlProjectTeam] { + return pulumix.Output[BucketAccessControlProjectTeam]{ + OutputState: o.OutputState, + } +} + // The project number. func (o BucketAccessControlProjectTeamOutput) ProjectNumber() pulumi.StringPtrOutput { return o.ApplyT(func(v BucketAccessControlProjectTeam) *string { return v.ProjectNumber }).(pulumi.StringPtrOutput) @@ -365,6 +408,12 @@ func (o BucketAccessControlProjectTeamPtrOutput) ToBucketAccessControlProjectTea return o } +func (o BucketAccessControlProjectTeamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketAccessControlProjectTeam] { + return pulumix.Output[*BucketAccessControlProjectTeam]{ + OutputState: o.OutputState, + } +} + func (o BucketAccessControlProjectTeamPtrOutput) Elem() BucketAccessControlProjectTeamOutput { return o.ApplyT(func(v *BucketAccessControlProjectTeam) BucketAccessControlProjectTeam { if v != nil { @@ -418,6 +467,12 @@ func (o BucketAccessControlProjectTeamResponseOutput) ToBucketAccessControlProje return o } +func (o BucketAccessControlProjectTeamResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketAccessControlProjectTeamResponse] { + return pulumix.Output[BucketAccessControlProjectTeamResponse]{ + OutputState: o.OutputState, + } +} + // The project number. func (o BucketAccessControlProjectTeamResponseOutput) ProjectNumber() pulumi.StringOutput { return o.ApplyT(func(v BucketAccessControlProjectTeamResponse) string { return v.ProjectNumber }).(pulumi.StringOutput) @@ -478,6 +533,12 @@ func (o BucketAccessControlResponseOutput) ToBucketAccessControlResponseOutputWi return o } +func (o BucketAccessControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketAccessControlResponse] { + return pulumix.Output[BucketAccessControlResponse]{ + OutputState: o.OutputState, + } +} + // The name of the bucket. func (o BucketAccessControlResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v BucketAccessControlResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -553,6 +614,12 @@ func (o BucketAccessControlResponseArrayOutput) ToBucketAccessControlResponseArr return o } +func (o BucketAccessControlResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BucketAccessControlResponse] { + return pulumix.Output[[]BucketAccessControlResponse]{ + OutputState: o.OutputState, + } +} + func (o BucketAccessControlResponseArrayOutput) Index(i pulumi.IntInput) BucketAccessControlResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BucketAccessControlResponse { return vs[0].([]BucketAccessControlResponse)[vs[1].(int)] @@ -598,6 +665,12 @@ func (i BucketAutoclassArgs) ToBucketAutoclassOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BucketAutoclassOutput) } +func (i BucketAutoclassArgs) ToOutput(ctx context.Context) pulumix.Output[BucketAutoclass] { + return pulumix.Output[BucketAutoclass]{ + OutputState: i.ToBucketAutoclassOutputWithContext(ctx).OutputState, + } +} + func (i BucketAutoclassArgs) ToBucketAutoclassPtrOutput() BucketAutoclassPtrOutput { return i.ToBucketAutoclassPtrOutputWithContext(context.Background()) } @@ -639,6 +712,12 @@ func (i *bucketAutoclassPtrType) ToBucketAutoclassPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BucketAutoclassPtrOutput) } +func (i *bucketAutoclassPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketAutoclass] { + return pulumix.Output[*BucketAutoclass]{ + OutputState: i.ToBucketAutoclassPtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's Autoclass configuration. type BucketAutoclassOutput struct{ *pulumi.OutputState } @@ -664,6 +743,12 @@ func (o BucketAutoclassOutput) ToBucketAutoclassPtrOutputWithContext(ctx context }).(BucketAutoclassPtrOutput) } +func (o BucketAutoclassOutput) ToOutput(ctx context.Context) pulumix.Output[BucketAutoclass] { + return pulumix.Output[BucketAutoclass]{ + OutputState: o.OutputState, + } +} + // Whether or not Autoclass is enabled on this bucket func (o BucketAutoclassOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BucketAutoclass) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -688,6 +773,12 @@ func (o BucketAutoclassPtrOutput) ToBucketAutoclassPtrOutputWithContext(ctx cont return o } +func (o BucketAutoclassPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketAutoclass] { + return pulumix.Output[*BucketAutoclass]{ + OutputState: o.OutputState, + } +} + func (o BucketAutoclassPtrOutput) Elem() BucketAutoclassOutput { return o.ApplyT(func(v *BucketAutoclass) BucketAutoclass { if v != nil { @@ -741,6 +832,12 @@ func (o BucketAutoclassResponseOutput) ToBucketAutoclassResponseOutputWithContex return o } +func (o BucketAutoclassResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketAutoclassResponse] { + return pulumix.Output[BucketAutoclassResponse]{ + OutputState: o.OutputState, + } +} + // Whether or not Autoclass is enabled on this bucket func (o BucketAutoclassResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BucketAutoclassResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -786,6 +883,12 @@ func (i BucketBillingArgs) ToBucketBillingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BucketBillingOutput) } +func (i BucketBillingArgs) ToOutput(ctx context.Context) pulumix.Output[BucketBilling] { + return pulumix.Output[BucketBilling]{ + OutputState: i.ToBucketBillingOutputWithContext(ctx).OutputState, + } +} + func (i BucketBillingArgs) ToBucketBillingPtrOutput() BucketBillingPtrOutput { return i.ToBucketBillingPtrOutputWithContext(context.Background()) } @@ -827,6 +930,12 @@ func (i *bucketBillingPtrType) ToBucketBillingPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(BucketBillingPtrOutput) } +func (i *bucketBillingPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketBilling] { + return pulumix.Output[*BucketBilling]{ + OutputState: i.ToBucketBillingPtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's billing configuration. type BucketBillingOutput struct{ *pulumi.OutputState } @@ -852,6 +961,12 @@ func (o BucketBillingOutput) ToBucketBillingPtrOutputWithContext(ctx context.Con }).(BucketBillingPtrOutput) } +func (o BucketBillingOutput) ToOutput(ctx context.Context) pulumix.Output[BucketBilling] { + return pulumix.Output[BucketBilling]{ + OutputState: o.OutputState, + } +} + // When set to true, Requester Pays is enabled for this bucket. func (o BucketBillingOutput) RequesterPays() pulumi.BoolPtrOutput { return o.ApplyT(func(v BucketBilling) *bool { return v.RequesterPays }).(pulumi.BoolPtrOutput) @@ -871,6 +986,12 @@ func (o BucketBillingPtrOutput) ToBucketBillingPtrOutputWithContext(ctx context. return o } +func (o BucketBillingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketBilling] { + return pulumix.Output[*BucketBilling]{ + OutputState: o.OutputState, + } +} + func (o BucketBillingPtrOutput) Elem() BucketBillingOutput { return o.ApplyT(func(v *BucketBilling) BucketBilling { if v != nil { @@ -912,6 +1033,12 @@ func (o BucketBillingResponseOutput) ToBucketBillingResponseOutputWithContext(ct return o } +func (o BucketBillingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketBillingResponse] { + return pulumix.Output[BucketBillingResponse]{ + OutputState: o.OutputState, + } +} + // When set to true, Requester Pays is enabled for this bucket. func (o BucketBillingResponseOutput) RequesterPays() pulumi.BoolOutput { return o.ApplyT(func(v BucketBillingResponse) bool { return v.RequesterPays }).(pulumi.BoolOutput) @@ -962,6 +1089,12 @@ func (i BucketCorsItemArgs) ToBucketCorsItemOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BucketCorsItemOutput) } +func (i BucketCorsItemArgs) ToOutput(ctx context.Context) pulumix.Output[BucketCorsItem] { + return pulumix.Output[BucketCorsItem]{ + OutputState: i.ToBucketCorsItemOutputWithContext(ctx).OutputState, + } +} + // BucketCorsItemArrayInput is an input type that accepts BucketCorsItemArray and BucketCorsItemArrayOutput values. // You can construct a concrete instance of `BucketCorsItemArrayInput` via: // @@ -987,6 +1120,12 @@ func (i BucketCorsItemArray) ToBucketCorsItemArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BucketCorsItemArrayOutput) } +func (i BucketCorsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]BucketCorsItem] { + return pulumix.Output[[]BucketCorsItem]{ + OutputState: i.ToBucketCorsItemArrayOutputWithContext(ctx).OutputState, + } +} + type BucketCorsItemOutput struct{ *pulumi.OutputState } func (BucketCorsItemOutput) ElementType() reflect.Type { @@ -1001,6 +1140,12 @@ func (o BucketCorsItemOutput) ToBucketCorsItemOutputWithContext(ctx context.Cont return o } +func (o BucketCorsItemOutput) ToOutput(ctx context.Context) pulumix.Output[BucketCorsItem] { + return pulumix.Output[BucketCorsItem]{ + OutputState: o.OutputState, + } +} + // The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. func (o BucketCorsItemOutput) MaxAgeSeconds() pulumi.IntPtrOutput { return o.ApplyT(func(v BucketCorsItem) *int { return v.MaxAgeSeconds }).(pulumi.IntPtrOutput) @@ -1035,6 +1180,12 @@ func (o BucketCorsItemArrayOutput) ToBucketCorsItemArrayOutputWithContext(ctx co return o } +func (o BucketCorsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BucketCorsItem] { + return pulumix.Output[[]BucketCorsItem]{ + OutputState: o.OutputState, + } +} + func (o BucketCorsItemArrayOutput) Index(i pulumi.IntInput) BucketCorsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BucketCorsItem { return vs[0].([]BucketCorsItem)[vs[1].(int)] @@ -1066,6 +1217,12 @@ func (o BucketCorsItemResponseOutput) ToBucketCorsItemResponseOutputWithContext( return o } +func (o BucketCorsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketCorsItemResponse] { + return pulumix.Output[BucketCorsItemResponse]{ + OutputState: o.OutputState, + } +} + // The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. func (o BucketCorsItemResponseOutput) MaxAgeSeconds() pulumi.IntOutput { return o.ApplyT(func(v BucketCorsItemResponse) int { return v.MaxAgeSeconds }).(pulumi.IntOutput) @@ -1100,6 +1257,12 @@ func (o BucketCorsItemResponseArrayOutput) ToBucketCorsItemResponseArrayOutputWi return o } +func (o BucketCorsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BucketCorsItemResponse] { + return pulumix.Output[[]BucketCorsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o BucketCorsItemResponseArrayOutput) Index(i pulumi.IntInput) BucketCorsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BucketCorsItemResponse { return vs[0].([]BucketCorsItemResponse)[vs[1].(int)] @@ -1141,6 +1304,12 @@ func (i BucketCustomPlacementConfigArgs) ToBucketCustomPlacementConfigOutputWith return pulumi.ToOutputWithContext(ctx, i).(BucketCustomPlacementConfigOutput) } +func (i BucketCustomPlacementConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BucketCustomPlacementConfig] { + return pulumix.Output[BucketCustomPlacementConfig]{ + OutputState: i.ToBucketCustomPlacementConfigOutputWithContext(ctx).OutputState, + } +} + func (i BucketCustomPlacementConfigArgs) ToBucketCustomPlacementConfigPtrOutput() BucketCustomPlacementConfigPtrOutput { return i.ToBucketCustomPlacementConfigPtrOutputWithContext(context.Background()) } @@ -1182,6 +1351,12 @@ func (i *bucketCustomPlacementConfigPtrType) ToBucketCustomPlacementConfigPtrOut return pulumi.ToOutputWithContext(ctx, i).(BucketCustomPlacementConfigPtrOutput) } +func (i *bucketCustomPlacementConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketCustomPlacementConfig] { + return pulumix.Output[*BucketCustomPlacementConfig]{ + OutputState: i.ToBucketCustomPlacementConfigPtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's custom placement configuration for Custom Dual Regions. type BucketCustomPlacementConfigOutput struct{ *pulumi.OutputState } @@ -1207,6 +1382,12 @@ func (o BucketCustomPlacementConfigOutput) ToBucketCustomPlacementConfigPtrOutpu }).(BucketCustomPlacementConfigPtrOutput) } +func (o BucketCustomPlacementConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BucketCustomPlacementConfig] { + return pulumix.Output[BucketCustomPlacementConfig]{ + OutputState: o.OutputState, + } +} + // The list of regional locations in which data is placed. func (o BucketCustomPlacementConfigOutput) DataLocations() pulumi.StringArrayOutput { return o.ApplyT(func(v BucketCustomPlacementConfig) []string { return v.DataLocations }).(pulumi.StringArrayOutput) @@ -1226,6 +1407,12 @@ func (o BucketCustomPlacementConfigPtrOutput) ToBucketCustomPlacementConfigPtrOu return o } +func (o BucketCustomPlacementConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketCustomPlacementConfig] { + return pulumix.Output[*BucketCustomPlacementConfig]{ + OutputState: o.OutputState, + } +} + func (o BucketCustomPlacementConfigPtrOutput) Elem() BucketCustomPlacementConfigOutput { return o.ApplyT(func(v *BucketCustomPlacementConfig) BucketCustomPlacementConfig { if v != nil { @@ -1267,6 +1454,12 @@ func (o BucketCustomPlacementConfigResponseOutput) ToBucketCustomPlacementConfig return o } +func (o BucketCustomPlacementConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketCustomPlacementConfigResponse] { + return pulumix.Output[BucketCustomPlacementConfigResponse]{ + OutputState: o.OutputState, + } +} + // The list of regional locations in which data is placed. func (o BucketCustomPlacementConfigResponseOutput) DataLocations() pulumi.StringArrayOutput { return o.ApplyT(func(v BucketCustomPlacementConfigResponse) []string { return v.DataLocations }).(pulumi.StringArrayOutput) @@ -1307,6 +1500,12 @@ func (i BucketEncryptionArgs) ToBucketEncryptionOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(BucketEncryptionOutput) } +func (i BucketEncryptionArgs) ToOutput(ctx context.Context) pulumix.Output[BucketEncryption] { + return pulumix.Output[BucketEncryption]{ + OutputState: i.ToBucketEncryptionOutputWithContext(ctx).OutputState, + } +} + func (i BucketEncryptionArgs) ToBucketEncryptionPtrOutput() BucketEncryptionPtrOutput { return i.ToBucketEncryptionPtrOutputWithContext(context.Background()) } @@ -1348,6 +1547,12 @@ func (i *bucketEncryptionPtrType) ToBucketEncryptionPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(BucketEncryptionPtrOutput) } +func (i *bucketEncryptionPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketEncryption] { + return pulumix.Output[*BucketEncryption]{ + OutputState: i.ToBucketEncryptionPtrOutputWithContext(ctx).OutputState, + } +} + // Encryption configuration for a bucket. type BucketEncryptionOutput struct{ *pulumi.OutputState } @@ -1373,6 +1578,12 @@ func (o BucketEncryptionOutput) ToBucketEncryptionPtrOutputWithContext(ctx conte }).(BucketEncryptionPtrOutput) } +func (o BucketEncryptionOutput) ToOutput(ctx context.Context) pulumix.Output[BucketEncryption] { + return pulumix.Output[BucketEncryption]{ + OutputState: o.OutputState, + } +} + // A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. func (o BucketEncryptionOutput) DefaultKmsKeyName() pulumi.StringPtrOutput { return o.ApplyT(func(v BucketEncryption) *string { return v.DefaultKmsKeyName }).(pulumi.StringPtrOutput) @@ -1392,6 +1603,12 @@ func (o BucketEncryptionPtrOutput) ToBucketEncryptionPtrOutputWithContext(ctx co return o } +func (o BucketEncryptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketEncryption] { + return pulumix.Output[*BucketEncryption]{ + OutputState: o.OutputState, + } +} + func (o BucketEncryptionPtrOutput) Elem() BucketEncryptionOutput { return o.ApplyT(func(v *BucketEncryption) BucketEncryption { if v != nil { @@ -1433,6 +1650,12 @@ func (o BucketEncryptionResponseOutput) ToBucketEncryptionResponseOutputWithCont return o } +func (o BucketEncryptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketEncryptionResponse] { + return pulumix.Output[BucketEncryptionResponse]{ + OutputState: o.OutputState, + } +} + // A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. func (o BucketEncryptionResponseOutput) DefaultKmsKeyName() pulumi.StringOutput { return o.ApplyT(func(v BucketEncryptionResponse) string { return v.DefaultKmsKeyName }).(pulumi.StringOutput) @@ -1481,6 +1704,12 @@ func (i BucketIamConfigurationArgs) ToBucketIamConfigurationOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(BucketIamConfigurationOutput) } +func (i BucketIamConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[BucketIamConfiguration] { + return pulumix.Output[BucketIamConfiguration]{ + OutputState: i.ToBucketIamConfigurationOutputWithContext(ctx).OutputState, + } +} + func (i BucketIamConfigurationArgs) ToBucketIamConfigurationPtrOutput() BucketIamConfigurationPtrOutput { return i.ToBucketIamConfigurationPtrOutputWithContext(context.Background()) } @@ -1522,6 +1751,12 @@ func (i *bucketIamConfigurationPtrType) ToBucketIamConfigurationPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(BucketIamConfigurationPtrOutput) } +func (i *bucketIamConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketIamConfiguration] { + return pulumix.Output[*BucketIamConfiguration]{ + OutputState: i.ToBucketIamConfigurationPtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's IAM configuration. type BucketIamConfigurationOutput struct{ *pulumi.OutputState } @@ -1547,6 +1782,12 @@ func (o BucketIamConfigurationOutput) ToBucketIamConfigurationPtrOutputWithConte }).(BucketIamConfigurationPtrOutput) } +func (o BucketIamConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[BucketIamConfiguration] { + return pulumix.Output[BucketIamConfiguration]{ + OutputState: o.OutputState, + } +} + // The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature. func (o BucketIamConfigurationOutput) BucketPolicyOnly() BucketIamConfigurationBucketPolicyOnlyPtrOutput { return o.ApplyT(func(v BucketIamConfiguration) *BucketIamConfigurationBucketPolicyOnly { return v.BucketPolicyOnly }).(BucketIamConfigurationBucketPolicyOnlyPtrOutput) @@ -1578,6 +1819,12 @@ func (o BucketIamConfigurationPtrOutput) ToBucketIamConfigurationPtrOutputWithCo return o } +func (o BucketIamConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketIamConfiguration] { + return pulumix.Output[*BucketIamConfiguration]{ + OutputState: o.OutputState, + } +} + func (o BucketIamConfigurationPtrOutput) Elem() BucketIamConfigurationOutput { return o.ApplyT(func(v *BucketIamConfiguration) BucketIamConfiguration { if v != nil { @@ -1657,6 +1904,12 @@ func (i BucketIamConfigurationBucketPolicyOnlyArgs) ToBucketIamConfigurationBuck return pulumi.ToOutputWithContext(ctx, i).(BucketIamConfigurationBucketPolicyOnlyOutput) } +func (i BucketIamConfigurationBucketPolicyOnlyArgs) ToOutput(ctx context.Context) pulumix.Output[BucketIamConfigurationBucketPolicyOnly] { + return pulumix.Output[BucketIamConfigurationBucketPolicyOnly]{ + OutputState: i.ToBucketIamConfigurationBucketPolicyOnlyOutputWithContext(ctx).OutputState, + } +} + func (i BucketIamConfigurationBucketPolicyOnlyArgs) ToBucketIamConfigurationBucketPolicyOnlyPtrOutput() BucketIamConfigurationBucketPolicyOnlyPtrOutput { return i.ToBucketIamConfigurationBucketPolicyOnlyPtrOutputWithContext(context.Background()) } @@ -1698,6 +1951,12 @@ func (i *bucketIamConfigurationBucketPolicyOnlyPtrType) ToBucketIamConfiguration return pulumi.ToOutputWithContext(ctx, i).(BucketIamConfigurationBucketPolicyOnlyPtrOutput) } +func (i *bucketIamConfigurationBucketPolicyOnlyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketIamConfigurationBucketPolicyOnly] { + return pulumix.Output[*BucketIamConfigurationBucketPolicyOnly]{ + OutputState: i.ToBucketIamConfigurationBucketPolicyOnlyPtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature. type BucketIamConfigurationBucketPolicyOnlyOutput struct{ *pulumi.OutputState } @@ -1723,6 +1982,12 @@ func (o BucketIamConfigurationBucketPolicyOnlyOutput) ToBucketIamConfigurationBu }).(BucketIamConfigurationBucketPolicyOnlyPtrOutput) } +func (o BucketIamConfigurationBucketPolicyOnlyOutput) ToOutput(ctx context.Context) pulumix.Output[BucketIamConfigurationBucketPolicyOnly] { + return pulumix.Output[BucketIamConfigurationBucketPolicyOnly]{ + OutputState: o.OutputState, + } +} + // If set, access is controlled only by bucket-level or above IAM policies. func (o BucketIamConfigurationBucketPolicyOnlyOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BucketIamConfigurationBucketPolicyOnly) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -1747,6 +2012,12 @@ func (o BucketIamConfigurationBucketPolicyOnlyPtrOutput) ToBucketIamConfiguratio return o } +func (o BucketIamConfigurationBucketPolicyOnlyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketIamConfigurationBucketPolicyOnly] { + return pulumix.Output[*BucketIamConfigurationBucketPolicyOnly]{ + OutputState: o.OutputState, + } +} + func (o BucketIamConfigurationBucketPolicyOnlyPtrOutput) Elem() BucketIamConfigurationBucketPolicyOnlyOutput { return o.ApplyT(func(v *BucketIamConfigurationBucketPolicyOnly) BucketIamConfigurationBucketPolicyOnly { if v != nil { @@ -1800,6 +2071,12 @@ func (o BucketIamConfigurationBucketPolicyOnlyResponseOutput) ToBucketIamConfigu return o } +func (o BucketIamConfigurationBucketPolicyOnlyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketIamConfigurationBucketPolicyOnlyResponse] { + return pulumix.Output[BucketIamConfigurationBucketPolicyOnlyResponse]{ + OutputState: o.OutputState, + } +} + // If set, access is controlled only by bucket-level or above IAM policies. func (o BucketIamConfigurationBucketPolicyOnlyResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BucketIamConfigurationBucketPolicyOnlyResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -1835,6 +2112,12 @@ func (o BucketIamConfigurationResponseOutput) ToBucketIamConfigurationResponseOu return o } +func (o BucketIamConfigurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketIamConfigurationResponse] { + return pulumix.Output[BucketIamConfigurationResponse]{ + OutputState: o.OutputState, + } +} + // The bucket's uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature. func (o BucketIamConfigurationResponseOutput) BucketPolicyOnly() BucketIamConfigurationBucketPolicyOnlyResponseOutput { return o.ApplyT(func(v BucketIamConfigurationResponse) BucketIamConfigurationBucketPolicyOnlyResponse { @@ -1893,6 +2176,12 @@ func (i BucketIamConfigurationUniformBucketLevelAccessArgs) ToBucketIamConfigura return pulumi.ToOutputWithContext(ctx, i).(BucketIamConfigurationUniformBucketLevelAccessOutput) } +func (i BucketIamConfigurationUniformBucketLevelAccessArgs) ToOutput(ctx context.Context) pulumix.Output[BucketIamConfigurationUniformBucketLevelAccess] { + return pulumix.Output[BucketIamConfigurationUniformBucketLevelAccess]{ + OutputState: i.ToBucketIamConfigurationUniformBucketLevelAccessOutputWithContext(ctx).OutputState, + } +} + func (i BucketIamConfigurationUniformBucketLevelAccessArgs) ToBucketIamConfigurationUniformBucketLevelAccessPtrOutput() BucketIamConfigurationUniformBucketLevelAccessPtrOutput { return i.ToBucketIamConfigurationUniformBucketLevelAccessPtrOutputWithContext(context.Background()) } @@ -1934,6 +2223,12 @@ func (i *bucketIamConfigurationUniformBucketLevelAccessPtrType) ToBucketIamConfi return pulumi.ToOutputWithContext(ctx, i).(BucketIamConfigurationUniformBucketLevelAccessPtrOutput) } +func (i *bucketIamConfigurationUniformBucketLevelAccessPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketIamConfigurationUniformBucketLevelAccess] { + return pulumix.Output[*BucketIamConfigurationUniformBucketLevelAccess]{ + OutputState: i.ToBucketIamConfigurationUniformBucketLevelAccessPtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's uniform bucket-level access configuration. type BucketIamConfigurationUniformBucketLevelAccessOutput struct{ *pulumi.OutputState } @@ -1959,6 +2254,12 @@ func (o BucketIamConfigurationUniformBucketLevelAccessOutput) ToBucketIamConfigu }).(BucketIamConfigurationUniformBucketLevelAccessPtrOutput) } +func (o BucketIamConfigurationUniformBucketLevelAccessOutput) ToOutput(ctx context.Context) pulumix.Output[BucketIamConfigurationUniformBucketLevelAccess] { + return pulumix.Output[BucketIamConfigurationUniformBucketLevelAccess]{ + OutputState: o.OutputState, + } +} + // If set, access is controlled only by bucket-level or above IAM policies. func (o BucketIamConfigurationUniformBucketLevelAccessOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BucketIamConfigurationUniformBucketLevelAccess) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -1983,6 +2284,12 @@ func (o BucketIamConfigurationUniformBucketLevelAccessPtrOutput) ToBucketIamConf return o } +func (o BucketIamConfigurationUniformBucketLevelAccessPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketIamConfigurationUniformBucketLevelAccess] { + return pulumix.Output[*BucketIamConfigurationUniformBucketLevelAccess]{ + OutputState: o.OutputState, + } +} + func (o BucketIamConfigurationUniformBucketLevelAccessPtrOutput) Elem() BucketIamConfigurationUniformBucketLevelAccessOutput { return o.ApplyT(func(v *BucketIamConfigurationUniformBucketLevelAccess) BucketIamConfigurationUniformBucketLevelAccess { if v != nil { @@ -2036,6 +2343,12 @@ func (o BucketIamConfigurationUniformBucketLevelAccessResponseOutput) ToBucketIa return o } +func (o BucketIamConfigurationUniformBucketLevelAccessResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketIamConfigurationUniformBucketLevelAccessResponse] { + return pulumix.Output[BucketIamConfigurationUniformBucketLevelAccessResponse]{ + OutputState: o.OutputState, + } +} + // If set, access is controlled only by bucket-level or above IAM policies. func (o BucketIamConfigurationUniformBucketLevelAccessResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BucketIamConfigurationUniformBucketLevelAccessResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -2125,6 +2438,12 @@ func (i BucketIamPolicyBindingsItemArgs) ToBucketIamPolicyBindingsItemOutputWith return pulumi.ToOutputWithContext(ctx, i).(BucketIamPolicyBindingsItemOutput) } +func (i BucketIamPolicyBindingsItemArgs) ToOutput(ctx context.Context) pulumix.Output[BucketIamPolicyBindingsItem] { + return pulumix.Output[BucketIamPolicyBindingsItem]{ + OutputState: i.ToBucketIamPolicyBindingsItemOutputWithContext(ctx).OutputState, + } +} + // BucketIamPolicyBindingsItemArrayInput is an input type that accepts BucketIamPolicyBindingsItemArray and BucketIamPolicyBindingsItemArrayOutput values. // You can construct a concrete instance of `BucketIamPolicyBindingsItemArrayInput` via: // @@ -2150,6 +2469,12 @@ func (i BucketIamPolicyBindingsItemArray) ToBucketIamPolicyBindingsItemArrayOutp return pulumi.ToOutputWithContext(ctx, i).(BucketIamPolicyBindingsItemArrayOutput) } +func (i BucketIamPolicyBindingsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]BucketIamPolicyBindingsItem] { + return pulumix.Output[[]BucketIamPolicyBindingsItem]{ + OutputState: i.ToBucketIamPolicyBindingsItemArrayOutputWithContext(ctx).OutputState, + } +} + type BucketIamPolicyBindingsItemOutput struct{ *pulumi.OutputState } func (BucketIamPolicyBindingsItemOutput) ElementType() reflect.Type { @@ -2164,6 +2489,12 @@ func (o BucketIamPolicyBindingsItemOutput) ToBucketIamPolicyBindingsItemOutputWi return o } +func (o BucketIamPolicyBindingsItemOutput) ToOutput(ctx context.Context) pulumix.Output[BucketIamPolicyBindingsItem] { + return pulumix.Output[BucketIamPolicyBindingsItem]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently. func (o BucketIamPolicyBindingsItemOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v BucketIamPolicyBindingsItem) *Expr { return v.Condition }).(ExprPtrOutput) @@ -2212,6 +2543,12 @@ func (o BucketIamPolicyBindingsItemArrayOutput) ToBucketIamPolicyBindingsItemArr return o } +func (o BucketIamPolicyBindingsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BucketIamPolicyBindingsItem] { + return pulumix.Output[[]BucketIamPolicyBindingsItem]{ + OutputState: o.OutputState, + } +} + func (o BucketIamPolicyBindingsItemArrayOutput) Index(i pulumi.IntInput) BucketIamPolicyBindingsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BucketIamPolicyBindingsItem { return vs[0].([]BucketIamPolicyBindingsItem)[vs[1].(int)] @@ -2260,6 +2597,12 @@ func (o BucketIamPolicyBindingsItemResponseOutput) ToBucketIamPolicyBindingsItem return o } +func (o BucketIamPolicyBindingsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketIamPolicyBindingsItemResponse] { + return pulumix.Output[BucketIamPolicyBindingsItemResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently. func (o BucketIamPolicyBindingsItemResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BucketIamPolicyBindingsItemResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -2308,6 +2651,12 @@ func (o BucketIamPolicyBindingsItemResponseArrayOutput) ToBucketIamPolicyBinding return o } +func (o BucketIamPolicyBindingsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BucketIamPolicyBindingsItemResponse] { + return pulumix.Output[[]BucketIamPolicyBindingsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o BucketIamPolicyBindingsItemResponseArrayOutput) Index(i pulumi.IntInput) BucketIamPolicyBindingsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BucketIamPolicyBindingsItemResponse { return vs[0].([]BucketIamPolicyBindingsItemResponse)[vs[1].(int)] @@ -2349,6 +2698,12 @@ func (i BucketLifecycleArgs) ToBucketLifecycleOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BucketLifecycleOutput) } +func (i BucketLifecycleArgs) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycle] { + return pulumix.Output[BucketLifecycle]{ + OutputState: i.ToBucketLifecycleOutputWithContext(ctx).OutputState, + } +} + func (i BucketLifecycleArgs) ToBucketLifecyclePtrOutput() BucketLifecyclePtrOutput { return i.ToBucketLifecyclePtrOutputWithContext(context.Background()) } @@ -2390,6 +2745,12 @@ func (i *bucketLifecyclePtrType) ToBucketLifecyclePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(BucketLifecyclePtrOutput) } +func (i *bucketLifecyclePtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketLifecycle] { + return pulumix.Output[*BucketLifecycle]{ + OutputState: i.ToBucketLifecyclePtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's lifecycle configuration. See lifecycle management for more information. type BucketLifecycleOutput struct{ *pulumi.OutputState } @@ -2415,6 +2776,12 @@ func (o BucketLifecycleOutput) ToBucketLifecyclePtrOutputWithContext(ctx context }).(BucketLifecyclePtrOutput) } +func (o BucketLifecycleOutput) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycle] { + return pulumix.Output[BucketLifecycle]{ + OutputState: o.OutputState, + } +} + // A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken. func (o BucketLifecycleOutput) Rule() BucketLifecycleRuleItemArrayOutput { return o.ApplyT(func(v BucketLifecycle) []BucketLifecycleRuleItem { return v.Rule }).(BucketLifecycleRuleItemArrayOutput) @@ -2434,6 +2801,12 @@ func (o BucketLifecyclePtrOutput) ToBucketLifecyclePtrOutputWithContext(ctx cont return o } +func (o BucketLifecyclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketLifecycle] { + return pulumix.Output[*BucketLifecycle]{ + OutputState: o.OutputState, + } +} + func (o BucketLifecyclePtrOutput) Elem() BucketLifecycleOutput { return o.ApplyT(func(v *BucketLifecycle) BucketLifecycle { if v != nil { @@ -2475,6 +2848,12 @@ func (o BucketLifecycleResponseOutput) ToBucketLifecycleResponseOutputWithContex return o } +func (o BucketLifecycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycleResponse] { + return pulumix.Output[BucketLifecycleResponse]{ + OutputState: o.OutputState, + } +} + // A lifecycle management rule, which is made of an action to take and the condition(s) under which the action will be taken. func (o BucketLifecycleResponseOutput) Rule() BucketLifecycleRuleItemResponseArrayOutput { return o.ApplyT(func(v BucketLifecycleResponse) []BucketLifecycleRuleItemResponse { return v.Rule }).(BucketLifecycleRuleItemResponseArrayOutput) @@ -2517,6 +2896,12 @@ func (i BucketLifecycleRuleItemArgs) ToBucketLifecycleRuleItemOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BucketLifecycleRuleItemOutput) } +func (i BucketLifecycleRuleItemArgs) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycleRuleItem] { + return pulumix.Output[BucketLifecycleRuleItem]{ + OutputState: i.ToBucketLifecycleRuleItemOutputWithContext(ctx).OutputState, + } +} + // BucketLifecycleRuleItemArrayInput is an input type that accepts BucketLifecycleRuleItemArray and BucketLifecycleRuleItemArrayOutput values. // You can construct a concrete instance of `BucketLifecycleRuleItemArrayInput` via: // @@ -2542,6 +2927,12 @@ func (i BucketLifecycleRuleItemArray) ToBucketLifecycleRuleItemArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(BucketLifecycleRuleItemArrayOutput) } +func (i BucketLifecycleRuleItemArray) ToOutput(ctx context.Context) pulumix.Output[[]BucketLifecycleRuleItem] { + return pulumix.Output[[]BucketLifecycleRuleItem]{ + OutputState: i.ToBucketLifecycleRuleItemArrayOutputWithContext(ctx).OutputState, + } +} + type BucketLifecycleRuleItemOutput struct{ *pulumi.OutputState } func (BucketLifecycleRuleItemOutput) ElementType() reflect.Type { @@ -2556,6 +2947,12 @@ func (o BucketLifecycleRuleItemOutput) ToBucketLifecycleRuleItemOutputWithContex return o } +func (o BucketLifecycleRuleItemOutput) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycleRuleItem] { + return pulumix.Output[BucketLifecycleRuleItem]{ + OutputState: o.OutputState, + } +} + // The action to take. func (o BucketLifecycleRuleItemOutput) Action() BucketLifecycleRuleItemActionPtrOutput { return o.ApplyT(func(v BucketLifecycleRuleItem) *BucketLifecycleRuleItemAction { return v.Action }).(BucketLifecycleRuleItemActionPtrOutput) @@ -2580,6 +2977,12 @@ func (o BucketLifecycleRuleItemArrayOutput) ToBucketLifecycleRuleItemArrayOutput return o } +func (o BucketLifecycleRuleItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BucketLifecycleRuleItem] { + return pulumix.Output[[]BucketLifecycleRuleItem]{ + OutputState: o.OutputState, + } +} + func (o BucketLifecycleRuleItemArrayOutput) Index(i pulumi.IntInput) BucketLifecycleRuleItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BucketLifecycleRuleItem { return vs[0].([]BucketLifecycleRuleItem)[vs[1].(int)] @@ -2625,6 +3028,12 @@ func (i BucketLifecycleRuleItemActionArgs) ToBucketLifecycleRuleItemActionOutput return pulumi.ToOutputWithContext(ctx, i).(BucketLifecycleRuleItemActionOutput) } +func (i BucketLifecycleRuleItemActionArgs) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycleRuleItemAction] { + return pulumix.Output[BucketLifecycleRuleItemAction]{ + OutputState: i.ToBucketLifecycleRuleItemActionOutputWithContext(ctx).OutputState, + } +} + func (i BucketLifecycleRuleItemActionArgs) ToBucketLifecycleRuleItemActionPtrOutput() BucketLifecycleRuleItemActionPtrOutput { return i.ToBucketLifecycleRuleItemActionPtrOutputWithContext(context.Background()) } @@ -2666,6 +3075,12 @@ func (i *bucketLifecycleRuleItemActionPtrType) ToBucketLifecycleRuleItemActionPt return pulumi.ToOutputWithContext(ctx, i).(BucketLifecycleRuleItemActionPtrOutput) } +func (i *bucketLifecycleRuleItemActionPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketLifecycleRuleItemAction] { + return pulumix.Output[*BucketLifecycleRuleItemAction]{ + OutputState: i.ToBucketLifecycleRuleItemActionPtrOutputWithContext(ctx).OutputState, + } +} + // The action to take. type BucketLifecycleRuleItemActionOutput struct{ *pulumi.OutputState } @@ -2691,6 +3106,12 @@ func (o BucketLifecycleRuleItemActionOutput) ToBucketLifecycleRuleItemActionPtrO }).(BucketLifecycleRuleItemActionPtrOutput) } +func (o BucketLifecycleRuleItemActionOutput) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycleRuleItemAction] { + return pulumix.Output[BucketLifecycleRuleItemAction]{ + OutputState: o.OutputState, + } +} + // Target storage class. Required iff the type of the action is SetStorageClass. func (o BucketLifecycleRuleItemActionOutput) StorageClass() pulumi.StringPtrOutput { return o.ApplyT(func(v BucketLifecycleRuleItemAction) *string { return v.StorageClass }).(pulumi.StringPtrOutput) @@ -2715,6 +3136,12 @@ func (o BucketLifecycleRuleItemActionPtrOutput) ToBucketLifecycleRuleItemActionP return o } +func (o BucketLifecycleRuleItemActionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketLifecycleRuleItemAction] { + return pulumix.Output[*BucketLifecycleRuleItemAction]{ + OutputState: o.OutputState, + } +} + func (o BucketLifecycleRuleItemActionPtrOutput) Elem() BucketLifecycleRuleItemActionOutput { return o.ApplyT(func(v *BucketLifecycleRuleItemAction) BucketLifecycleRuleItemAction { if v != nil { @@ -2768,6 +3195,12 @@ func (o BucketLifecycleRuleItemActionResponseOutput) ToBucketLifecycleRuleItemAc return o } +func (o BucketLifecycleRuleItemActionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycleRuleItemActionResponse] { + return pulumix.Output[BucketLifecycleRuleItemActionResponse]{ + OutputState: o.OutputState, + } +} + // Target storage class. Required iff the type of the action is SetStorageClass. func (o BucketLifecycleRuleItemActionResponseOutput) StorageClass() pulumi.StringOutput { return o.ApplyT(func(v BucketLifecycleRuleItemActionResponse) string { return v.StorageClass }).(pulumi.StringOutput) @@ -2857,6 +3290,12 @@ func (i BucketLifecycleRuleItemConditionArgs) ToBucketLifecycleRuleItemCondition return pulumi.ToOutputWithContext(ctx, i).(BucketLifecycleRuleItemConditionOutput) } +func (i BucketLifecycleRuleItemConditionArgs) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycleRuleItemCondition] { + return pulumix.Output[BucketLifecycleRuleItemCondition]{ + OutputState: i.ToBucketLifecycleRuleItemConditionOutputWithContext(ctx).OutputState, + } +} + func (i BucketLifecycleRuleItemConditionArgs) ToBucketLifecycleRuleItemConditionPtrOutput() BucketLifecycleRuleItemConditionPtrOutput { return i.ToBucketLifecycleRuleItemConditionPtrOutputWithContext(context.Background()) } @@ -2898,6 +3337,12 @@ func (i *bucketLifecycleRuleItemConditionPtrType) ToBucketLifecycleRuleItemCondi return pulumi.ToOutputWithContext(ctx, i).(BucketLifecycleRuleItemConditionPtrOutput) } +func (i *bucketLifecycleRuleItemConditionPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketLifecycleRuleItemCondition] { + return pulumix.Output[*BucketLifecycleRuleItemCondition]{ + OutputState: i.ToBucketLifecycleRuleItemConditionPtrOutputWithContext(ctx).OutputState, + } +} + // The condition(s) under which the action will be taken. type BucketLifecycleRuleItemConditionOutput struct{ *pulumi.OutputState } @@ -2923,6 +3368,12 @@ func (o BucketLifecycleRuleItemConditionOutput) ToBucketLifecycleRuleItemConditi }).(BucketLifecycleRuleItemConditionPtrOutput) } +func (o BucketLifecycleRuleItemConditionOutput) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycleRuleItemCondition] { + return pulumix.Output[BucketLifecycleRuleItemCondition]{ + OutputState: o.OutputState, + } +} + // Age of an object (in days). This condition is satisfied when an object reaches the specified age. func (o BucketLifecycleRuleItemConditionOutput) Age() pulumi.IntPtrOutput { return o.ApplyT(func(v BucketLifecycleRuleItemCondition) *int { return v.Age }).(pulumi.IntPtrOutput) @@ -2997,6 +3448,12 @@ func (o BucketLifecycleRuleItemConditionPtrOutput) ToBucketLifecycleRuleItemCond return o } +func (o BucketLifecycleRuleItemConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketLifecycleRuleItemCondition] { + return pulumix.Output[*BucketLifecycleRuleItemCondition]{ + OutputState: o.OutputState, + } +} + func (o BucketLifecycleRuleItemConditionPtrOutput) Elem() BucketLifecycleRuleItemConditionOutput { return o.ApplyT(func(v *BucketLifecycleRuleItemCondition) BucketLifecycleRuleItemCondition { if v != nil { @@ -3170,6 +3627,12 @@ func (o BucketLifecycleRuleItemConditionResponseOutput) ToBucketLifecycleRuleIte return o } +func (o BucketLifecycleRuleItemConditionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycleRuleItemConditionResponse] { + return pulumix.Output[BucketLifecycleRuleItemConditionResponse]{ + OutputState: o.OutputState, + } +} + // Age of an object (in days). This condition is satisfied when an object reaches the specified age. func (o BucketLifecycleRuleItemConditionResponseOutput) Age() pulumi.IntOutput { return o.ApplyT(func(v BucketLifecycleRuleItemConditionResponse) int { return v.Age }).(pulumi.IntOutput) @@ -3251,6 +3714,12 @@ func (o BucketLifecycleRuleItemResponseOutput) ToBucketLifecycleRuleItemResponse return o } +func (o BucketLifecycleRuleItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketLifecycleRuleItemResponse] { + return pulumix.Output[BucketLifecycleRuleItemResponse]{ + OutputState: o.OutputState, + } +} + // The action to take. func (o BucketLifecycleRuleItemResponseOutput) Action() BucketLifecycleRuleItemActionResponseOutput { return o.ApplyT(func(v BucketLifecycleRuleItemResponse) BucketLifecycleRuleItemActionResponse { return v.Action }).(BucketLifecycleRuleItemActionResponseOutput) @@ -3275,6 +3744,12 @@ func (o BucketLifecycleRuleItemResponseArrayOutput) ToBucketLifecycleRuleItemRes return o } +func (o BucketLifecycleRuleItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BucketLifecycleRuleItemResponse] { + return pulumix.Output[[]BucketLifecycleRuleItemResponse]{ + OutputState: o.OutputState, + } +} + func (o BucketLifecycleRuleItemResponseArrayOutput) Index(i pulumi.IntInput) BucketLifecycleRuleItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BucketLifecycleRuleItemResponse { return vs[0].([]BucketLifecycleRuleItemResponse)[vs[1].(int)] @@ -3320,6 +3795,12 @@ func (i BucketLoggingArgs) ToBucketLoggingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BucketLoggingOutput) } +func (i BucketLoggingArgs) ToOutput(ctx context.Context) pulumix.Output[BucketLogging] { + return pulumix.Output[BucketLogging]{ + OutputState: i.ToBucketLoggingOutputWithContext(ctx).OutputState, + } +} + func (i BucketLoggingArgs) ToBucketLoggingPtrOutput() BucketLoggingPtrOutput { return i.ToBucketLoggingPtrOutputWithContext(context.Background()) } @@ -3361,6 +3842,12 @@ func (i *bucketLoggingPtrType) ToBucketLoggingPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(BucketLoggingPtrOutput) } +func (i *bucketLoggingPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketLogging] { + return pulumix.Output[*BucketLogging]{ + OutputState: i.ToBucketLoggingPtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's logging configuration, which defines the destination bucket and optional name prefix for the current bucket's logs. type BucketLoggingOutput struct{ *pulumi.OutputState } @@ -3386,6 +3873,12 @@ func (o BucketLoggingOutput) ToBucketLoggingPtrOutputWithContext(ctx context.Con }).(BucketLoggingPtrOutput) } +func (o BucketLoggingOutput) ToOutput(ctx context.Context) pulumix.Output[BucketLogging] { + return pulumix.Output[BucketLogging]{ + OutputState: o.OutputState, + } +} + // The destination bucket where the current bucket's logs should be placed. func (o BucketLoggingOutput) LogBucket() pulumi.StringPtrOutput { return o.ApplyT(func(v BucketLogging) *string { return v.LogBucket }).(pulumi.StringPtrOutput) @@ -3410,6 +3903,12 @@ func (o BucketLoggingPtrOutput) ToBucketLoggingPtrOutputWithContext(ctx context. return o } +func (o BucketLoggingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketLogging] { + return pulumix.Output[*BucketLogging]{ + OutputState: o.OutputState, + } +} + func (o BucketLoggingPtrOutput) Elem() BucketLoggingOutput { return o.ApplyT(func(v *BucketLogging) BucketLogging { if v != nil { @@ -3463,6 +3962,12 @@ func (o BucketLoggingResponseOutput) ToBucketLoggingResponseOutputWithContext(ct return o } +func (o BucketLoggingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketLoggingResponse] { + return pulumix.Output[BucketLoggingResponse]{ + OutputState: o.OutputState, + } +} + // The destination bucket where the current bucket's logs should be placed. func (o BucketLoggingResponseOutput) LogBucket() pulumi.StringOutput { return o.ApplyT(func(v BucketLoggingResponse) string { return v.LogBucket }).(pulumi.StringOutput) @@ -3512,6 +4017,12 @@ func (i BucketObjectCustomerEncryptionArgs) ToBucketObjectCustomerEncryptionOutp return pulumi.ToOutputWithContext(ctx, i).(BucketObjectCustomerEncryptionOutput) } +func (i BucketObjectCustomerEncryptionArgs) ToOutput(ctx context.Context) pulumix.Output[BucketObjectCustomerEncryption] { + return pulumix.Output[BucketObjectCustomerEncryption]{ + OutputState: i.ToBucketObjectCustomerEncryptionOutputWithContext(ctx).OutputState, + } +} + func (i BucketObjectCustomerEncryptionArgs) ToBucketObjectCustomerEncryptionPtrOutput() BucketObjectCustomerEncryptionPtrOutput { return i.ToBucketObjectCustomerEncryptionPtrOutputWithContext(context.Background()) } @@ -3553,6 +4064,12 @@ func (i *bucketObjectCustomerEncryptionPtrType) ToBucketObjectCustomerEncryption return pulumi.ToOutputWithContext(ctx, i).(BucketObjectCustomerEncryptionPtrOutput) } +func (i *bucketObjectCustomerEncryptionPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketObjectCustomerEncryption] { + return pulumix.Output[*BucketObjectCustomerEncryption]{ + OutputState: i.ToBucketObjectCustomerEncryptionPtrOutputWithContext(ctx).OutputState, + } +} + // Metadata of customer-supplied encryption key, if the object is encrypted by such a key. type BucketObjectCustomerEncryptionOutput struct{ *pulumi.OutputState } @@ -3578,6 +4095,12 @@ func (o BucketObjectCustomerEncryptionOutput) ToBucketObjectCustomerEncryptionPt }).(BucketObjectCustomerEncryptionPtrOutput) } +func (o BucketObjectCustomerEncryptionOutput) ToOutput(ctx context.Context) pulumix.Output[BucketObjectCustomerEncryption] { + return pulumix.Output[BucketObjectCustomerEncryption]{ + OutputState: o.OutputState, + } +} + // The encryption algorithm. func (o BucketObjectCustomerEncryptionOutput) EncryptionAlgorithm() pulumi.StringPtrOutput { return o.ApplyT(func(v BucketObjectCustomerEncryption) *string { return v.EncryptionAlgorithm }).(pulumi.StringPtrOutput) @@ -3602,6 +4125,12 @@ func (o BucketObjectCustomerEncryptionPtrOutput) ToBucketObjectCustomerEncryptio return o } +func (o BucketObjectCustomerEncryptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketObjectCustomerEncryption] { + return pulumix.Output[*BucketObjectCustomerEncryption]{ + OutputState: o.OutputState, + } +} + func (o BucketObjectCustomerEncryptionPtrOutput) Elem() BucketObjectCustomerEncryptionOutput { return o.ApplyT(func(v *BucketObjectCustomerEncryption) BucketObjectCustomerEncryption { if v != nil { @@ -3655,6 +4184,12 @@ func (o BucketObjectCustomerEncryptionResponseOutput) ToBucketObjectCustomerEncr return o } +func (o BucketObjectCustomerEncryptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketObjectCustomerEncryptionResponse] { + return pulumix.Output[BucketObjectCustomerEncryptionResponse]{ + OutputState: o.OutputState, + } +} + // The encryption algorithm. func (o BucketObjectCustomerEncryptionResponseOutput) EncryptionAlgorithm() pulumi.StringOutput { return o.ApplyT(func(v BucketObjectCustomerEncryptionResponse) string { return v.EncryptionAlgorithm }).(pulumi.StringOutput) @@ -3704,6 +4239,12 @@ func (i BucketObjectOwnerArgs) ToBucketObjectOwnerOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BucketObjectOwnerOutput) } +func (i BucketObjectOwnerArgs) ToOutput(ctx context.Context) pulumix.Output[BucketObjectOwner] { + return pulumix.Output[BucketObjectOwner]{ + OutputState: i.ToBucketObjectOwnerOutputWithContext(ctx).OutputState, + } +} + func (i BucketObjectOwnerArgs) ToBucketObjectOwnerPtrOutput() BucketObjectOwnerPtrOutput { return i.ToBucketObjectOwnerPtrOutputWithContext(context.Background()) } @@ -3745,6 +4286,12 @@ func (i *bucketObjectOwnerPtrType) ToBucketObjectOwnerPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BucketObjectOwnerPtrOutput) } +func (i *bucketObjectOwnerPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketObjectOwner] { + return pulumix.Output[*BucketObjectOwner]{ + OutputState: i.ToBucketObjectOwnerPtrOutputWithContext(ctx).OutputState, + } +} + // The owner of the object. This will always be the uploader of the object. type BucketObjectOwnerOutput struct{ *pulumi.OutputState } @@ -3770,6 +4317,12 @@ func (o BucketObjectOwnerOutput) ToBucketObjectOwnerPtrOutputWithContext(ctx con }).(BucketObjectOwnerPtrOutput) } +func (o BucketObjectOwnerOutput) ToOutput(ctx context.Context) pulumix.Output[BucketObjectOwner] { + return pulumix.Output[BucketObjectOwner]{ + OutputState: o.OutputState, + } +} + // The entity, in the form user-userId. func (o BucketObjectOwnerOutput) Entity() pulumi.StringPtrOutput { return o.ApplyT(func(v BucketObjectOwner) *string { return v.Entity }).(pulumi.StringPtrOutput) @@ -3794,6 +4347,12 @@ func (o BucketObjectOwnerPtrOutput) ToBucketObjectOwnerPtrOutputWithContext(ctx return o } +func (o BucketObjectOwnerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketObjectOwner] { + return pulumix.Output[*BucketObjectOwner]{ + OutputState: o.OutputState, + } +} + func (o BucketObjectOwnerPtrOutput) Elem() BucketObjectOwnerOutput { return o.ApplyT(func(v *BucketObjectOwner) BucketObjectOwner { if v != nil { @@ -3847,6 +4406,12 @@ func (o BucketObjectOwnerResponseOutput) ToBucketObjectOwnerResponseOutputWithCo return o } +func (o BucketObjectOwnerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketObjectOwnerResponse] { + return pulumix.Output[BucketObjectOwnerResponse]{ + OutputState: o.OutputState, + } +} + // The entity, in the form user-userId. func (o BucketObjectOwnerResponseOutput) Entity() pulumi.StringOutput { return o.ApplyT(func(v BucketObjectOwnerResponse) string { return v.Entity }).(pulumi.StringOutput) @@ -3896,6 +4461,12 @@ func (i BucketOwnerArgs) ToBucketOwnerOutputWithContext(ctx context.Context) Buc return pulumi.ToOutputWithContext(ctx, i).(BucketOwnerOutput) } +func (i BucketOwnerArgs) ToOutput(ctx context.Context) pulumix.Output[BucketOwner] { + return pulumix.Output[BucketOwner]{ + OutputState: i.ToBucketOwnerOutputWithContext(ctx).OutputState, + } +} + func (i BucketOwnerArgs) ToBucketOwnerPtrOutput() BucketOwnerPtrOutput { return i.ToBucketOwnerPtrOutputWithContext(context.Background()) } @@ -3937,6 +4508,12 @@ func (i *bucketOwnerPtrType) ToBucketOwnerPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(BucketOwnerPtrOutput) } +func (i *bucketOwnerPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketOwner] { + return pulumix.Output[*BucketOwner]{ + OutputState: i.ToBucketOwnerPtrOutputWithContext(ctx).OutputState, + } +} + // The owner of the bucket. This is always the project team's owner group. type BucketOwnerOutput struct{ *pulumi.OutputState } @@ -3962,6 +4539,12 @@ func (o BucketOwnerOutput) ToBucketOwnerPtrOutputWithContext(ctx context.Context }).(BucketOwnerPtrOutput) } +func (o BucketOwnerOutput) ToOutput(ctx context.Context) pulumix.Output[BucketOwner] { + return pulumix.Output[BucketOwner]{ + OutputState: o.OutputState, + } +} + // The entity, in the form project-owner-projectId. func (o BucketOwnerOutput) Entity() pulumi.StringPtrOutput { return o.ApplyT(func(v BucketOwner) *string { return v.Entity }).(pulumi.StringPtrOutput) @@ -3986,6 +4569,12 @@ func (o BucketOwnerPtrOutput) ToBucketOwnerPtrOutputWithContext(ctx context.Cont return o } +func (o BucketOwnerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketOwner] { + return pulumix.Output[*BucketOwner]{ + OutputState: o.OutputState, + } +} + func (o BucketOwnerPtrOutput) Elem() BucketOwnerOutput { return o.ApplyT(func(v *BucketOwner) BucketOwner { if v != nil { @@ -4039,6 +4628,12 @@ func (o BucketOwnerResponseOutput) ToBucketOwnerResponseOutputWithContext(ctx co return o } +func (o BucketOwnerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketOwnerResponse] { + return pulumix.Output[BucketOwnerResponse]{ + OutputState: o.OutputState, + } +} + // The entity, in the form project-owner-projectId. func (o BucketOwnerResponseOutput) Entity() pulumi.StringOutput { return o.ApplyT(func(v BucketOwnerResponse) string { return v.Entity }).(pulumi.StringOutput) @@ -4092,6 +4687,12 @@ func (i BucketRetentionPolicyArgs) ToBucketRetentionPolicyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BucketRetentionPolicyOutput) } +func (i BucketRetentionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BucketRetentionPolicy] { + return pulumix.Output[BucketRetentionPolicy]{ + OutputState: i.ToBucketRetentionPolicyOutputWithContext(ctx).OutputState, + } +} + func (i BucketRetentionPolicyArgs) ToBucketRetentionPolicyPtrOutput() BucketRetentionPolicyPtrOutput { return i.ToBucketRetentionPolicyPtrOutputWithContext(context.Background()) } @@ -4133,6 +4734,12 @@ func (i *bucketRetentionPolicyPtrType) ToBucketRetentionPolicyPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(BucketRetentionPolicyPtrOutput) } +func (i *bucketRetentionPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketRetentionPolicy] { + return pulumix.Output[*BucketRetentionPolicy]{ + OutputState: i.ToBucketRetentionPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's retention policy. The retention policy enforces a minimum retention time for all objects contained in the bucket, based on their creation time. Any attempt to overwrite or delete objects younger than the retention period will result in a PERMISSION_DENIED error. An unlocked retention policy can be modified or removed from the bucket via a storage.buckets.update operation. A locked retention policy cannot be removed or shortened in duration for the lifetime of the bucket. Attempting to remove or decrease period of a locked retention policy will result in a PERMISSION_DENIED error. type BucketRetentionPolicyOutput struct{ *pulumi.OutputState } @@ -4158,6 +4765,12 @@ func (o BucketRetentionPolicyOutput) ToBucketRetentionPolicyPtrOutputWithContext }).(BucketRetentionPolicyPtrOutput) } +func (o BucketRetentionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BucketRetentionPolicy] { + return pulumix.Output[BucketRetentionPolicy]{ + OutputState: o.OutputState, + } +} + // Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format. func (o BucketRetentionPolicyOutput) EffectiveTime() pulumi.StringPtrOutput { return o.ApplyT(func(v BucketRetentionPolicy) *string { return v.EffectiveTime }).(pulumi.StringPtrOutput) @@ -4187,6 +4800,12 @@ func (o BucketRetentionPolicyPtrOutput) ToBucketRetentionPolicyPtrOutputWithCont return o } +func (o BucketRetentionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketRetentionPolicy] { + return pulumix.Output[*BucketRetentionPolicy]{ + OutputState: o.OutputState, + } +} + func (o BucketRetentionPolicyPtrOutput) Elem() BucketRetentionPolicyOutput { return o.ApplyT(func(v *BucketRetentionPolicy) BucketRetentionPolicy { if v != nil { @@ -4252,6 +4871,12 @@ func (o BucketRetentionPolicyResponseOutput) ToBucketRetentionPolicyResponseOutp return o } +func (o BucketRetentionPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketRetentionPolicyResponse] { + return pulumix.Output[BucketRetentionPolicyResponse]{ + OutputState: o.OutputState, + } +} + // Server-determined value that indicates the time from which policy was enforced and effective. This value is in RFC 3339 format. func (o BucketRetentionPolicyResponseOutput) EffectiveTime() pulumi.StringOutput { return o.ApplyT(func(v BucketRetentionPolicyResponse) string { return v.EffectiveTime }).(pulumi.StringOutput) @@ -4302,6 +4927,12 @@ func (i BucketVersioningArgs) ToBucketVersioningOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(BucketVersioningOutput) } +func (i BucketVersioningArgs) ToOutput(ctx context.Context) pulumix.Output[BucketVersioning] { + return pulumix.Output[BucketVersioning]{ + OutputState: i.ToBucketVersioningOutputWithContext(ctx).OutputState, + } +} + func (i BucketVersioningArgs) ToBucketVersioningPtrOutput() BucketVersioningPtrOutput { return i.ToBucketVersioningPtrOutputWithContext(context.Background()) } @@ -4343,6 +4974,12 @@ func (i *bucketVersioningPtrType) ToBucketVersioningPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(BucketVersioningPtrOutput) } +func (i *bucketVersioningPtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketVersioning] { + return pulumix.Output[*BucketVersioning]{ + OutputState: i.ToBucketVersioningPtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's versioning configuration. type BucketVersioningOutput struct{ *pulumi.OutputState } @@ -4368,6 +5005,12 @@ func (o BucketVersioningOutput) ToBucketVersioningPtrOutputWithContext(ctx conte }).(BucketVersioningPtrOutput) } +func (o BucketVersioningOutput) ToOutput(ctx context.Context) pulumix.Output[BucketVersioning] { + return pulumix.Output[BucketVersioning]{ + OutputState: o.OutputState, + } +} + // While set to true, versioning is fully enabled for this bucket. func (o BucketVersioningOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v BucketVersioning) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -4387,6 +5030,12 @@ func (o BucketVersioningPtrOutput) ToBucketVersioningPtrOutputWithContext(ctx co return o } +func (o BucketVersioningPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketVersioning] { + return pulumix.Output[*BucketVersioning]{ + OutputState: o.OutputState, + } +} + func (o BucketVersioningPtrOutput) Elem() BucketVersioningOutput { return o.ApplyT(func(v *BucketVersioning) BucketVersioning { if v != nil { @@ -4428,6 +5077,12 @@ func (o BucketVersioningResponseOutput) ToBucketVersioningResponseOutputWithCont return o } +func (o BucketVersioningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketVersioningResponse] { + return pulumix.Output[BucketVersioningResponse]{ + OutputState: o.OutputState, + } +} + // While set to true, versioning is fully enabled for this bucket. func (o BucketVersioningResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v BucketVersioningResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -4472,6 +5127,12 @@ func (i BucketWebsiteArgs) ToBucketWebsiteOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(BucketWebsiteOutput) } +func (i BucketWebsiteArgs) ToOutput(ctx context.Context) pulumix.Output[BucketWebsite] { + return pulumix.Output[BucketWebsite]{ + OutputState: i.ToBucketWebsiteOutputWithContext(ctx).OutputState, + } +} + func (i BucketWebsiteArgs) ToBucketWebsitePtrOutput() BucketWebsitePtrOutput { return i.ToBucketWebsitePtrOutputWithContext(context.Background()) } @@ -4513,6 +5174,12 @@ func (i *bucketWebsitePtrType) ToBucketWebsitePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(BucketWebsitePtrOutput) } +func (i *bucketWebsitePtrType) ToOutput(ctx context.Context) pulumix.Output[*BucketWebsite] { + return pulumix.Output[*BucketWebsite]{ + OutputState: i.ToBucketWebsitePtrOutputWithContext(ctx).OutputState, + } +} + // The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information. type BucketWebsiteOutput struct{ *pulumi.OutputState } @@ -4538,6 +5205,12 @@ func (o BucketWebsiteOutput) ToBucketWebsitePtrOutputWithContext(ctx context.Con }).(BucketWebsitePtrOutput) } +func (o BucketWebsiteOutput) ToOutput(ctx context.Context) pulumix.Output[BucketWebsite] { + return pulumix.Output[BucketWebsite]{ + OutputState: o.OutputState, + } +} + // If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages. func (o BucketWebsiteOutput) MainPageSuffix() pulumi.StringPtrOutput { return o.ApplyT(func(v BucketWebsite) *string { return v.MainPageSuffix }).(pulumi.StringPtrOutput) @@ -4562,6 +5235,12 @@ func (o BucketWebsitePtrOutput) ToBucketWebsitePtrOutputWithContext(ctx context. return o } +func (o BucketWebsitePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BucketWebsite] { + return pulumix.Output[*BucketWebsite]{ + OutputState: o.OutputState, + } +} + func (o BucketWebsitePtrOutput) Elem() BucketWebsiteOutput { return o.ApplyT(func(v *BucketWebsite) BucketWebsite { if v != nil { @@ -4615,6 +5294,12 @@ func (o BucketWebsiteResponseOutput) ToBucketWebsiteResponseOutputWithContext(ct return o } +func (o BucketWebsiteResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BucketWebsiteResponse] { + return pulumix.Output[BucketWebsiteResponse]{ + OutputState: o.OutputState, + } +} + // If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages. func (o BucketWebsiteResponseOutput) MainPageSuffix() pulumi.StringOutput { return o.ApplyT(func(v BucketWebsiteResponse) string { return v.MainPageSuffix }).(pulumi.StringOutput) @@ -4664,6 +5349,12 @@ func (i DefaultObjectAccessControlProjectTeamArgs) ToDefaultObjectAccessControlP return pulumi.ToOutputWithContext(ctx, i).(DefaultObjectAccessControlProjectTeamOutput) } +func (i DefaultObjectAccessControlProjectTeamArgs) ToOutput(ctx context.Context) pulumix.Output[DefaultObjectAccessControlProjectTeam] { + return pulumix.Output[DefaultObjectAccessControlProjectTeam]{ + OutputState: i.ToDefaultObjectAccessControlProjectTeamOutputWithContext(ctx).OutputState, + } +} + func (i DefaultObjectAccessControlProjectTeamArgs) ToDefaultObjectAccessControlProjectTeamPtrOutput() DefaultObjectAccessControlProjectTeamPtrOutput { return i.ToDefaultObjectAccessControlProjectTeamPtrOutputWithContext(context.Background()) } @@ -4705,6 +5396,12 @@ func (i *defaultObjectAccessControlProjectTeamPtrType) ToDefaultObjectAccessCont return pulumi.ToOutputWithContext(ctx, i).(DefaultObjectAccessControlProjectTeamPtrOutput) } +func (i *defaultObjectAccessControlProjectTeamPtrType) ToOutput(ctx context.Context) pulumix.Output[*DefaultObjectAccessControlProjectTeam] { + return pulumix.Output[*DefaultObjectAccessControlProjectTeam]{ + OutputState: i.ToDefaultObjectAccessControlProjectTeamPtrOutputWithContext(ctx).OutputState, + } +} + // The project team associated with the entity, if any. type DefaultObjectAccessControlProjectTeamOutput struct{ *pulumi.OutputState } @@ -4730,6 +5427,12 @@ func (o DefaultObjectAccessControlProjectTeamOutput) ToDefaultObjectAccessContro }).(DefaultObjectAccessControlProjectTeamPtrOutput) } +func (o DefaultObjectAccessControlProjectTeamOutput) ToOutput(ctx context.Context) pulumix.Output[DefaultObjectAccessControlProjectTeam] { + return pulumix.Output[DefaultObjectAccessControlProjectTeam]{ + OutputState: o.OutputState, + } +} + // The project number. func (o DefaultObjectAccessControlProjectTeamOutput) ProjectNumber() pulumi.StringPtrOutput { return o.ApplyT(func(v DefaultObjectAccessControlProjectTeam) *string { return v.ProjectNumber }).(pulumi.StringPtrOutput) @@ -4754,6 +5457,12 @@ func (o DefaultObjectAccessControlProjectTeamPtrOutput) ToDefaultObjectAccessCon return o } +func (o DefaultObjectAccessControlProjectTeamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DefaultObjectAccessControlProjectTeam] { + return pulumix.Output[*DefaultObjectAccessControlProjectTeam]{ + OutputState: o.OutputState, + } +} + func (o DefaultObjectAccessControlProjectTeamPtrOutput) Elem() DefaultObjectAccessControlProjectTeamOutput { return o.ApplyT(func(v *DefaultObjectAccessControlProjectTeam) DefaultObjectAccessControlProjectTeam { if v != nil { @@ -4807,6 +5516,12 @@ func (o DefaultObjectAccessControlProjectTeamResponseOutput) ToDefaultObjectAcce return o } +func (o DefaultObjectAccessControlProjectTeamResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DefaultObjectAccessControlProjectTeamResponse] { + return pulumix.Output[DefaultObjectAccessControlProjectTeamResponse]{ + OutputState: o.OutputState, + } +} + // The project number. func (o DefaultObjectAccessControlProjectTeamResponseOutput) ProjectNumber() pulumi.StringOutput { return o.ApplyT(func(v DefaultObjectAccessControlProjectTeamResponse) string { return v.ProjectNumber }).(pulumi.StringOutput) @@ -4864,6 +5579,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -4905,6 +5626,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0" type ExprOutput struct{ *pulumi.OutputState } @@ -4930,6 +5657,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -4964,6 +5697,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -5041,6 +5780,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -5166,6 +5911,12 @@ func (i ObjectAccessControlTypeArgs) ToObjectAccessControlTypeOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ObjectAccessControlTypeOutput) } +func (i ObjectAccessControlTypeArgs) ToOutput(ctx context.Context) pulumix.Output[ObjectAccessControlType] { + return pulumix.Output[ObjectAccessControlType]{ + OutputState: i.ToObjectAccessControlTypeOutputWithContext(ctx).OutputState, + } +} + // ObjectAccessControlTypeArrayInput is an input type that accepts ObjectAccessControlTypeArray and ObjectAccessControlTypeArrayOutput values. // You can construct a concrete instance of `ObjectAccessControlTypeArrayInput` via: // @@ -5191,6 +5942,12 @@ func (i ObjectAccessControlTypeArray) ToObjectAccessControlTypeArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(ObjectAccessControlTypeArrayOutput) } +func (i ObjectAccessControlTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]ObjectAccessControlType] { + return pulumix.Output[[]ObjectAccessControlType]{ + OutputState: i.ToObjectAccessControlTypeArrayOutputWithContext(ctx).OutputState, + } +} + // An access-control entry. type ObjectAccessControlTypeOutput struct{ *pulumi.OutputState } @@ -5206,6 +5963,12 @@ func (o ObjectAccessControlTypeOutput) ToObjectAccessControlTypeOutputWithContex return o } +func (o ObjectAccessControlTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectAccessControlType] { + return pulumix.Output[ObjectAccessControlType]{ + OutputState: o.OutputState, + } +} + // The name of the bucket. func (o ObjectAccessControlTypeOutput) Bucket() pulumi.StringPtrOutput { return o.ApplyT(func(v ObjectAccessControlType) *string { return v.Bucket }).(pulumi.StringPtrOutput) @@ -5296,6 +6059,12 @@ func (o ObjectAccessControlTypeArrayOutput) ToObjectAccessControlTypeArrayOutput return o } +func (o ObjectAccessControlTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ObjectAccessControlType] { + return pulumix.Output[[]ObjectAccessControlType]{ + OutputState: o.OutputState, + } +} + func (o ObjectAccessControlTypeArrayOutput) Index(i pulumi.IntInput) ObjectAccessControlTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ObjectAccessControlType { return vs[0].([]ObjectAccessControlType)[vs[1].(int)] @@ -5341,6 +6110,12 @@ func (i ObjectAccessControlProjectTeamArgs) ToObjectAccessControlProjectTeamOutp return pulumi.ToOutputWithContext(ctx, i).(ObjectAccessControlProjectTeamOutput) } +func (i ObjectAccessControlProjectTeamArgs) ToOutput(ctx context.Context) pulumix.Output[ObjectAccessControlProjectTeam] { + return pulumix.Output[ObjectAccessControlProjectTeam]{ + OutputState: i.ToObjectAccessControlProjectTeamOutputWithContext(ctx).OutputState, + } +} + func (i ObjectAccessControlProjectTeamArgs) ToObjectAccessControlProjectTeamPtrOutput() ObjectAccessControlProjectTeamPtrOutput { return i.ToObjectAccessControlProjectTeamPtrOutputWithContext(context.Background()) } @@ -5382,6 +6157,12 @@ func (i *objectAccessControlProjectTeamPtrType) ToObjectAccessControlProjectTeam return pulumi.ToOutputWithContext(ctx, i).(ObjectAccessControlProjectTeamPtrOutput) } +func (i *objectAccessControlProjectTeamPtrType) ToOutput(ctx context.Context) pulumix.Output[*ObjectAccessControlProjectTeam] { + return pulumix.Output[*ObjectAccessControlProjectTeam]{ + OutputState: i.ToObjectAccessControlProjectTeamPtrOutputWithContext(ctx).OutputState, + } +} + // The project team associated with the entity, if any. type ObjectAccessControlProjectTeamOutput struct{ *pulumi.OutputState } @@ -5407,6 +6188,12 @@ func (o ObjectAccessControlProjectTeamOutput) ToObjectAccessControlProjectTeamPt }).(ObjectAccessControlProjectTeamPtrOutput) } +func (o ObjectAccessControlProjectTeamOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectAccessControlProjectTeam] { + return pulumix.Output[ObjectAccessControlProjectTeam]{ + OutputState: o.OutputState, + } +} + // The project number. func (o ObjectAccessControlProjectTeamOutput) ProjectNumber() pulumi.StringPtrOutput { return o.ApplyT(func(v ObjectAccessControlProjectTeam) *string { return v.ProjectNumber }).(pulumi.StringPtrOutput) @@ -5431,6 +6218,12 @@ func (o ObjectAccessControlProjectTeamPtrOutput) ToObjectAccessControlProjectTea return o } +func (o ObjectAccessControlProjectTeamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ObjectAccessControlProjectTeam] { + return pulumix.Output[*ObjectAccessControlProjectTeam]{ + OutputState: o.OutputState, + } +} + func (o ObjectAccessControlProjectTeamPtrOutput) Elem() ObjectAccessControlProjectTeamOutput { return o.ApplyT(func(v *ObjectAccessControlProjectTeam) ObjectAccessControlProjectTeam { if v != nil { @@ -5484,6 +6277,12 @@ func (o ObjectAccessControlProjectTeamResponseOutput) ToObjectAccessControlProje return o } +func (o ObjectAccessControlProjectTeamResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectAccessControlProjectTeamResponse] { + return pulumix.Output[ObjectAccessControlProjectTeamResponse]{ + OutputState: o.OutputState, + } +} + // The project number. func (o ObjectAccessControlProjectTeamResponseOutput) ProjectNumber() pulumi.StringOutput { return o.ApplyT(func(v ObjectAccessControlProjectTeamResponse) string { return v.ProjectNumber }).(pulumi.StringOutput) @@ -5548,6 +6347,12 @@ func (o ObjectAccessControlResponseOutput) ToObjectAccessControlResponseOutputWi return o } +func (o ObjectAccessControlResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectAccessControlResponse] { + return pulumix.Output[ObjectAccessControlResponse]{ + OutputState: o.OutputState, + } +} + // The name of the bucket. func (o ObjectAccessControlResponseOutput) Bucket() pulumi.StringOutput { return o.ApplyT(func(v ObjectAccessControlResponse) string { return v.Bucket }).(pulumi.StringOutput) @@ -5633,6 +6438,12 @@ func (o ObjectAccessControlResponseArrayOutput) ToObjectAccessControlResponseArr return o } +func (o ObjectAccessControlResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ObjectAccessControlResponse] { + return pulumix.Output[[]ObjectAccessControlResponse]{ + OutputState: o.OutputState, + } +} + func (o ObjectAccessControlResponseArrayOutput) Index(i pulumi.IntInput) ObjectAccessControlResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ObjectAccessControlResponse { return vs[0].([]ObjectAccessControlResponse)[vs[1].(int)] @@ -5718,6 +6529,12 @@ func (i ObjectIamPolicyBindingsItemArgs) ToObjectIamPolicyBindingsItemOutputWith return pulumi.ToOutputWithContext(ctx, i).(ObjectIamPolicyBindingsItemOutput) } +func (i ObjectIamPolicyBindingsItemArgs) ToOutput(ctx context.Context) pulumix.Output[ObjectIamPolicyBindingsItem] { + return pulumix.Output[ObjectIamPolicyBindingsItem]{ + OutputState: i.ToObjectIamPolicyBindingsItemOutputWithContext(ctx).OutputState, + } +} + // ObjectIamPolicyBindingsItemArrayInput is an input type that accepts ObjectIamPolicyBindingsItemArray and ObjectIamPolicyBindingsItemArrayOutput values. // You can construct a concrete instance of `ObjectIamPolicyBindingsItemArrayInput` via: // @@ -5743,6 +6560,12 @@ func (i ObjectIamPolicyBindingsItemArray) ToObjectIamPolicyBindingsItemArrayOutp return pulumi.ToOutputWithContext(ctx, i).(ObjectIamPolicyBindingsItemArrayOutput) } +func (i ObjectIamPolicyBindingsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ObjectIamPolicyBindingsItem] { + return pulumix.Output[[]ObjectIamPolicyBindingsItem]{ + OutputState: i.ToObjectIamPolicyBindingsItemArrayOutputWithContext(ctx).OutputState, + } +} + type ObjectIamPolicyBindingsItemOutput struct{ *pulumi.OutputState } func (ObjectIamPolicyBindingsItemOutput) ElementType() reflect.Type { @@ -5757,6 +6580,12 @@ func (o ObjectIamPolicyBindingsItemOutput) ToObjectIamPolicyBindingsItemOutputWi return o } +func (o ObjectIamPolicyBindingsItemOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectIamPolicyBindingsItem] { + return pulumix.Output[ObjectIamPolicyBindingsItem]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently. func (o ObjectIamPolicyBindingsItemOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v ObjectIamPolicyBindingsItem) *Expr { return v.Condition }).(ExprPtrOutput) @@ -5805,6 +6634,12 @@ func (o ObjectIamPolicyBindingsItemArrayOutput) ToObjectIamPolicyBindingsItemArr return o } +func (o ObjectIamPolicyBindingsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ObjectIamPolicyBindingsItem] { + return pulumix.Output[[]ObjectIamPolicyBindingsItem]{ + OutputState: o.OutputState, + } +} + func (o ObjectIamPolicyBindingsItemArrayOutput) Index(i pulumi.IntInput) ObjectIamPolicyBindingsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ObjectIamPolicyBindingsItem { return vs[0].([]ObjectIamPolicyBindingsItem)[vs[1].(int)] @@ -5853,6 +6688,12 @@ func (o ObjectIamPolicyBindingsItemResponseOutput) ToObjectIamPolicyBindingsItem return o } +func (o ObjectIamPolicyBindingsItemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectIamPolicyBindingsItemResponse] { + return pulumix.Output[ObjectIamPolicyBindingsItemResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently. func (o ObjectIamPolicyBindingsItemResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v ObjectIamPolicyBindingsItemResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -5901,6 +6742,12 @@ func (o ObjectIamPolicyBindingsItemResponseArrayOutput) ToObjectIamPolicyBinding return o } +func (o ObjectIamPolicyBindingsItemResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ObjectIamPolicyBindingsItemResponse] { + return pulumix.Output[[]ObjectIamPolicyBindingsItemResponse]{ + OutputState: o.OutputState, + } +} + func (o ObjectIamPolicyBindingsItemResponseArrayOutput) Index(i pulumi.IntInput) ObjectIamPolicyBindingsItemResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ObjectIamPolicyBindingsItemResponse { return vs[0].([]ObjectIamPolicyBindingsItemResponse)[vs[1].(int)] diff --git a/sdk/go/google/storagetransfer/v1/agentPool.go b/sdk/go/google/storagetransfer/v1/agentPool.go index 6d0f0c8fa9..afe803331a 100644 --- a/sdk/go/google/storagetransfer/v1/agentPool.go +++ b/sdk/go/google/storagetransfer/v1/agentPool.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an agent pool resource. @@ -124,6 +125,12 @@ func (i *AgentPool) ToAgentPoolOutputWithContext(ctx context.Context) AgentPoolO return pulumi.ToOutputWithContext(ctx, i).(AgentPoolOutput) } +func (i *AgentPool) ToOutput(ctx context.Context) pulumix.Output[*AgentPool] { + return pulumix.Output[*AgentPool]{ + OutputState: i.ToAgentPoolOutputWithContext(ctx).OutputState, + } +} + type AgentPoolOutput struct{ *pulumi.OutputState } func (AgentPoolOutput) ElementType() reflect.Type { @@ -138,6 +145,12 @@ func (o AgentPoolOutput) ToAgentPoolOutputWithContext(ctx context.Context) Agent return o } +func (o AgentPoolOutput) ToOutput(ctx context.Context) pulumix.Output[*AgentPool] { + return pulumix.Output[*AgentPool]{ + OutputState: o.OutputState, + } +} + // Required. The ID of the agent pool to create. The `agent_pool_id` must meet the following requirements: * Length of 128 characters or less. * Not start with the string `goog`. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (`-`), periods (`.`), underscores (`_`), or tildes (`~`). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression: `^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$`. func (o AgentPoolOutput) AgentPoolId() pulumi.StringOutput { return o.ApplyT(func(v *AgentPool) pulumi.StringOutput { return v.AgentPoolId }).(pulumi.StringOutput) diff --git a/sdk/go/google/storagetransfer/v1/getAgentPool.go b/sdk/go/google/storagetransfer/v1/getAgentPool.go index 82f4267497..62d0d92847 100644 --- a/sdk/go/google/storagetransfer/v1/getAgentPool.go +++ b/sdk/go/google/storagetransfer/v1/getAgentPool.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an agent pool. @@ -74,6 +75,12 @@ func (o LookupAgentPoolResultOutput) ToLookupAgentPoolResultOutputWithContext(ct return o } +func (o LookupAgentPoolResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAgentPoolResult] { + return pulumix.Output[LookupAgentPoolResult]{ + OutputState: o.OutputState, + } +} + // Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'. func (o LookupAgentPoolResultOutput) BandwidthLimit() BandwidthLimitResponseOutput { return o.ApplyT(func(v LookupAgentPoolResult) BandwidthLimitResponse { return v.BandwidthLimit }).(BandwidthLimitResponseOutput) diff --git a/sdk/go/google/storagetransfer/v1/getTransferJob.go b/sdk/go/google/storagetransfer/v1/getTransferJob.go index 58290219e2..383bfe3704 100644 --- a/sdk/go/google/storagetransfer/v1/getTransferJob.go +++ b/sdk/go/google/storagetransfer/v1/getTransferJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a transfer job. @@ -92,6 +93,12 @@ func (o LookupTransferJobResultOutput) ToLookupTransferJobResultOutputWithContex return o } +func (o LookupTransferJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTransferJobResult] { + return pulumix.Output[LookupTransferJobResult]{ + OutputState: o.OutputState, + } +} + // The time that the transfer job was created. func (o LookupTransferJobResultOutput) CreationTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTransferJobResult) string { return v.CreationTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/storagetransfer/v1/pulumiEnums.go b/sdk/go/google/storagetransfer/v1/pulumiEnums.go index 89e83bcf71..86e7a52360 100644 --- a/sdk/go/google/storagetransfer/v1/pulumiEnums.go +++ b/sdk/go/google/storagetransfer/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type LoggingConfigLogActionStatesItem string @@ -81,6 +82,12 @@ func (o LoggingConfigLogActionStatesItemOutput) ToLoggingConfigLogActionStatesIt }).(LoggingConfigLogActionStatesItemPtrOutput) } +func (o LoggingConfigLogActionStatesItemOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfigLogActionStatesItem] { + return pulumix.Output[LoggingConfigLogActionStatesItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigLogActionStatesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -116,6 +123,12 @@ func (o LoggingConfigLogActionStatesItemPtrOutput) ToLoggingConfigLogActionState return o } +func (o LoggingConfigLogActionStatesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfigLogActionStatesItem] { + return pulumix.Output[*LoggingConfigLogActionStatesItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigLogActionStatesItemPtrOutput) Elem() LoggingConfigLogActionStatesItemOutput { return o.ApplyT(func(v *LoggingConfigLogActionStatesItem) LoggingConfigLogActionStatesItem { if v != nil { @@ -178,6 +191,12 @@ func (in *loggingConfigLogActionStatesItemPtr) ToLoggingConfigLogActionStatesIte return pulumi.ToOutputWithContext(ctx, in).(LoggingConfigLogActionStatesItemPtrOutput) } +func (in *loggingConfigLogActionStatesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfigLogActionStatesItem] { + return pulumix.Output[*LoggingConfigLogActionStatesItem]{ + OutputState: in.ToLoggingConfigLogActionStatesItemPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingConfigLogActionStatesItemArrayInput is an input type that accepts LoggingConfigLogActionStatesItemArray and LoggingConfigLogActionStatesItemArrayOutput values. // You can construct a concrete instance of `LoggingConfigLogActionStatesItemArrayInput` via: // @@ -203,6 +222,12 @@ func (i LoggingConfigLogActionStatesItemArray) ToLoggingConfigLogActionStatesIte return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigLogActionStatesItemArrayOutput) } +func (i LoggingConfigLogActionStatesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]LoggingConfigLogActionStatesItem] { + return pulumix.Output[[]LoggingConfigLogActionStatesItem]{ + OutputState: i.ToLoggingConfigLogActionStatesItemArrayOutputWithContext(ctx).OutputState, + } +} + type LoggingConfigLogActionStatesItemArrayOutput struct{ *pulumi.OutputState } func (LoggingConfigLogActionStatesItemArrayOutput) ElementType() reflect.Type { @@ -217,6 +242,12 @@ func (o LoggingConfigLogActionStatesItemArrayOutput) ToLoggingConfigLogActionSta return o } +func (o LoggingConfigLogActionStatesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LoggingConfigLogActionStatesItem] { + return pulumix.Output[[]LoggingConfigLogActionStatesItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigLogActionStatesItemArrayOutput) Index(i pulumi.IntInput) LoggingConfigLogActionStatesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoggingConfigLogActionStatesItem { return vs[0].([]LoggingConfigLogActionStatesItem)[vs[1].(int)] @@ -296,6 +327,12 @@ func (o LoggingConfigLogActionsItemOutput) ToLoggingConfigLogActionsItemPtrOutpu }).(LoggingConfigLogActionsItemPtrOutput) } +func (o LoggingConfigLogActionsItemOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfigLogActionsItem] { + return pulumix.Output[LoggingConfigLogActionsItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigLogActionsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -331,6 +368,12 @@ func (o LoggingConfigLogActionsItemPtrOutput) ToLoggingConfigLogActionsItemPtrOu return o } +func (o LoggingConfigLogActionsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfigLogActionsItem] { + return pulumix.Output[*LoggingConfigLogActionsItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigLogActionsItemPtrOutput) Elem() LoggingConfigLogActionsItemOutput { return o.ApplyT(func(v *LoggingConfigLogActionsItem) LoggingConfigLogActionsItem { if v != nil { @@ -393,6 +436,12 @@ func (in *loggingConfigLogActionsItemPtr) ToLoggingConfigLogActionsItemPtrOutput return pulumi.ToOutputWithContext(ctx, in).(LoggingConfigLogActionsItemPtrOutput) } +func (in *loggingConfigLogActionsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfigLogActionsItem] { + return pulumix.Output[*LoggingConfigLogActionsItem]{ + OutputState: in.ToLoggingConfigLogActionsItemPtrOutputWithContext(ctx).OutputState, + } +} + // LoggingConfigLogActionsItemArrayInput is an input type that accepts LoggingConfigLogActionsItemArray and LoggingConfigLogActionsItemArrayOutput values. // You can construct a concrete instance of `LoggingConfigLogActionsItemArrayInput` via: // @@ -418,6 +467,12 @@ func (i LoggingConfigLogActionsItemArray) ToLoggingConfigLogActionsItemArrayOutp return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigLogActionsItemArrayOutput) } +func (i LoggingConfigLogActionsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]LoggingConfigLogActionsItem] { + return pulumix.Output[[]LoggingConfigLogActionsItem]{ + OutputState: i.ToLoggingConfigLogActionsItemArrayOutputWithContext(ctx).OutputState, + } +} + type LoggingConfigLogActionsItemArrayOutput struct{ *pulumi.OutputState } func (LoggingConfigLogActionsItemArrayOutput) ElementType() reflect.Type { @@ -432,6 +487,12 @@ func (o LoggingConfigLogActionsItemArrayOutput) ToLoggingConfigLogActionsItemArr return o } +func (o LoggingConfigLogActionsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LoggingConfigLogActionsItem] { + return pulumix.Output[[]LoggingConfigLogActionsItem]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigLogActionsItemArrayOutput) Index(i pulumi.IntInput) LoggingConfigLogActionsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LoggingConfigLogActionsItem { return vs[0].([]LoggingConfigLogActionsItem)[vs[1].(int)] @@ -510,6 +571,12 @@ func (o MetadataOptionsAclOutput) ToMetadataOptionsAclPtrOutputWithContext(ctx c }).(MetadataOptionsAclPtrOutput) } +func (o MetadataOptionsAclOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptionsAcl] { + return pulumix.Output[MetadataOptionsAcl]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsAclOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -545,6 +612,12 @@ func (o MetadataOptionsAclPtrOutput) ToMetadataOptionsAclPtrOutputWithContext(ct return o } +func (o MetadataOptionsAclPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsAcl] { + return pulumix.Output[*MetadataOptionsAcl]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsAclPtrOutput) Elem() MetadataOptionsAclOutput { return o.ApplyT(func(v *MetadataOptionsAcl) MetadataOptionsAcl { if v != nil { @@ -607,6 +680,12 @@ func (in *metadataOptionsAclPtr) ToMetadataOptionsAclPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(MetadataOptionsAclPtrOutput) } +func (in *metadataOptionsAclPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsAcl] { + return pulumix.Output[*MetadataOptionsAcl]{ + OutputState: in.ToMetadataOptionsAclPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how each file's POSIX group ID (GID) attribute should be handled by the transfer. By default, GID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers. type MetadataOptionsGid string @@ -679,6 +758,12 @@ func (o MetadataOptionsGidOutput) ToMetadataOptionsGidPtrOutputWithContext(ctx c }).(MetadataOptionsGidPtrOutput) } +func (o MetadataOptionsGidOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptionsGid] { + return pulumix.Output[MetadataOptionsGid]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsGidOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -714,6 +799,12 @@ func (o MetadataOptionsGidPtrOutput) ToMetadataOptionsGidPtrOutputWithContext(ct return o } +func (o MetadataOptionsGidPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsGid] { + return pulumix.Output[*MetadataOptionsGid]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsGidPtrOutput) Elem() MetadataOptionsGidOutput { return o.ApplyT(func(v *MetadataOptionsGid) MetadataOptionsGid { if v != nil { @@ -776,6 +867,12 @@ func (in *metadataOptionsGidPtr) ToMetadataOptionsGidPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(MetadataOptionsGidPtrOutput) } +func (in *metadataOptionsGidPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsGid] { + return pulumix.Output[*MetadataOptionsGid]{ + OutputState: in.ToMetadataOptionsGidPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how each object's Cloud KMS customer-managed encryption key (CMEK) is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as KMS_KEY_DESTINATION_BUCKET_DEFAULT. type MetadataOptionsKmsKey string @@ -848,6 +945,12 @@ func (o MetadataOptionsKmsKeyOutput) ToMetadataOptionsKmsKeyPtrOutputWithContext }).(MetadataOptionsKmsKeyPtrOutput) } +func (o MetadataOptionsKmsKeyOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptionsKmsKey] { + return pulumix.Output[MetadataOptionsKmsKey]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsKmsKeyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -883,6 +986,12 @@ func (o MetadataOptionsKmsKeyPtrOutput) ToMetadataOptionsKmsKeyPtrOutputWithCont return o } +func (o MetadataOptionsKmsKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsKmsKey] { + return pulumix.Output[*MetadataOptionsKmsKey]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsKmsKeyPtrOutput) Elem() MetadataOptionsKmsKeyOutput { return o.ApplyT(func(v *MetadataOptionsKmsKey) MetadataOptionsKmsKey { if v != nil { @@ -945,6 +1054,12 @@ func (in *metadataOptionsKmsKeyPtr) ToMetadataOptionsKmsKeyPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(MetadataOptionsKmsKeyPtrOutput) } +func (in *metadataOptionsKmsKeyPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsKmsKey] { + return pulumix.Output[*MetadataOptionsKmsKey]{ + OutputState: in.ToMetadataOptionsKmsKeyPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how each file's mode attribute should be handled by the transfer. By default, mode is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers. type MetadataOptionsMode string @@ -1017,6 +1132,12 @@ func (o MetadataOptionsModeOutput) ToMetadataOptionsModePtrOutputWithContext(ctx }).(MetadataOptionsModePtrOutput) } +func (o MetadataOptionsModeOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptionsMode] { + return pulumix.Output[MetadataOptionsMode]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1052,6 +1173,12 @@ func (o MetadataOptionsModePtrOutput) ToMetadataOptionsModePtrOutputWithContext( return o } +func (o MetadataOptionsModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsMode] { + return pulumix.Output[*MetadataOptionsMode]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsModePtrOutput) Elem() MetadataOptionsModeOutput { return o.ApplyT(func(v *MetadataOptionsMode) MetadataOptionsMode { if v != nil { @@ -1114,6 +1241,12 @@ func (in *metadataOptionsModePtr) ToMetadataOptionsModePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(MetadataOptionsModePtrOutput) } +func (in *metadataOptionsModePtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsMode] { + return pulumix.Output[*MetadataOptionsMode]{ + OutputState: in.ToMetadataOptionsModePtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the storage class to set on objects being transferred to Google Cloud Storage buckets. If unspecified, the default behavior is the same as STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT. type MetadataOptionsStorageClass string @@ -1194,6 +1327,12 @@ func (o MetadataOptionsStorageClassOutput) ToMetadataOptionsStorageClassPtrOutpu }).(MetadataOptionsStorageClassPtrOutput) } +func (o MetadataOptionsStorageClassOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptionsStorageClass] { + return pulumix.Output[MetadataOptionsStorageClass]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsStorageClassOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1229,6 +1368,12 @@ func (o MetadataOptionsStorageClassPtrOutput) ToMetadataOptionsStorageClassPtrOu return o } +func (o MetadataOptionsStorageClassPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsStorageClass] { + return pulumix.Output[*MetadataOptionsStorageClass]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsStorageClassPtrOutput) Elem() MetadataOptionsStorageClassOutput { return o.ApplyT(func(v *MetadataOptionsStorageClass) MetadataOptionsStorageClass { if v != nil { @@ -1291,6 +1436,12 @@ func (in *metadataOptionsStorageClassPtr) ToMetadataOptionsStorageClassPtrOutput return pulumi.ToOutputWithContext(ctx, in).(MetadataOptionsStorageClassPtrOutput) } +func (in *metadataOptionsStorageClassPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsStorageClass] { + return pulumix.Output[*MetadataOptionsStorageClass]{ + OutputState: in.ToMetadataOptionsStorageClassPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how symlinks should be handled by the transfer. By default, symlinks are not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers. type MetadataOptionsSymlink string @@ -1363,6 +1514,12 @@ func (o MetadataOptionsSymlinkOutput) ToMetadataOptionsSymlinkPtrOutputWithConte }).(MetadataOptionsSymlinkPtrOutput) } +func (o MetadataOptionsSymlinkOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptionsSymlink] { + return pulumix.Output[MetadataOptionsSymlink]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsSymlinkOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1398,6 +1555,12 @@ func (o MetadataOptionsSymlinkPtrOutput) ToMetadataOptionsSymlinkPtrOutputWithCo return o } +func (o MetadataOptionsSymlinkPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsSymlink] { + return pulumix.Output[*MetadataOptionsSymlink]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsSymlinkPtrOutput) Elem() MetadataOptionsSymlinkOutput { return o.ApplyT(func(v *MetadataOptionsSymlink) MetadataOptionsSymlink { if v != nil { @@ -1460,6 +1623,12 @@ func (in *metadataOptionsSymlinkPtr) ToMetadataOptionsSymlinkPtrOutputWithContex return pulumi.ToOutputWithContext(ctx, in).(MetadataOptionsSymlinkPtrOutput) } +func (in *metadataOptionsSymlinkPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsSymlink] { + return pulumix.Output[*MetadataOptionsSymlink]{ + OutputState: in.ToMetadataOptionsSymlinkPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how each object's temporary hold status should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as TEMPORARY_HOLD_PRESERVE. type MetadataOptionsTemporaryHold string @@ -1532,6 +1701,12 @@ func (o MetadataOptionsTemporaryHoldOutput) ToMetadataOptionsTemporaryHoldPtrOut }).(MetadataOptionsTemporaryHoldPtrOutput) } +func (o MetadataOptionsTemporaryHoldOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptionsTemporaryHold] { + return pulumix.Output[MetadataOptionsTemporaryHold]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsTemporaryHoldOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1567,6 +1742,12 @@ func (o MetadataOptionsTemporaryHoldPtrOutput) ToMetadataOptionsTemporaryHoldPtr return o } +func (o MetadataOptionsTemporaryHoldPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsTemporaryHold] { + return pulumix.Output[*MetadataOptionsTemporaryHold]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsTemporaryHoldPtrOutput) Elem() MetadataOptionsTemporaryHoldOutput { return o.ApplyT(func(v *MetadataOptionsTemporaryHold) MetadataOptionsTemporaryHold { if v != nil { @@ -1629,6 +1810,12 @@ func (in *metadataOptionsTemporaryHoldPtr) ToMetadataOptionsTemporaryHoldPtrOutp return pulumi.ToOutputWithContext(ctx, in).(MetadataOptionsTemporaryHoldPtrOutput) } +func (in *metadataOptionsTemporaryHoldPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsTemporaryHold] { + return pulumix.Output[*MetadataOptionsTemporaryHold]{ + OutputState: in.ToMetadataOptionsTemporaryHoldPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how each object's `timeCreated` metadata is preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as TIME_CREATED_SKIP. type MetadataOptionsTimeCreated string @@ -1701,6 +1888,12 @@ func (o MetadataOptionsTimeCreatedOutput) ToMetadataOptionsTimeCreatedPtrOutputW }).(MetadataOptionsTimeCreatedPtrOutput) } +func (o MetadataOptionsTimeCreatedOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptionsTimeCreated] { + return pulumix.Output[MetadataOptionsTimeCreated]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsTimeCreatedOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1736,6 +1929,12 @@ func (o MetadataOptionsTimeCreatedPtrOutput) ToMetadataOptionsTimeCreatedPtrOutp return o } +func (o MetadataOptionsTimeCreatedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsTimeCreated] { + return pulumix.Output[*MetadataOptionsTimeCreated]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsTimeCreatedPtrOutput) Elem() MetadataOptionsTimeCreatedOutput { return o.ApplyT(func(v *MetadataOptionsTimeCreated) MetadataOptionsTimeCreated { if v != nil { @@ -1798,6 +1997,12 @@ func (in *metadataOptionsTimeCreatedPtr) ToMetadataOptionsTimeCreatedPtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(MetadataOptionsTimeCreatedPtrOutput) } +func (in *metadataOptionsTimeCreatedPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsTimeCreated] { + return pulumix.Output[*MetadataOptionsTimeCreated]{ + OutputState: in.ToMetadataOptionsTimeCreatedPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies how each file's POSIX user ID (UID) attribute should be handled by the transfer. By default, UID is not preserved. Only applicable to transfers involving POSIX file systems, and ignored for other transfers. type MetadataOptionsUid string @@ -1870,6 +2075,12 @@ func (o MetadataOptionsUidOutput) ToMetadataOptionsUidPtrOutputWithContext(ctx c }).(MetadataOptionsUidPtrOutput) } +func (o MetadataOptionsUidOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptionsUid] { + return pulumix.Output[MetadataOptionsUid]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsUidOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1905,6 +2116,12 @@ func (o MetadataOptionsUidPtrOutput) ToMetadataOptionsUidPtrOutputWithContext(ct return o } +func (o MetadataOptionsUidPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsUid] { + return pulumix.Output[*MetadataOptionsUid]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsUidPtrOutput) Elem() MetadataOptionsUidOutput { return o.ApplyT(func(v *MetadataOptionsUid) MetadataOptionsUid { if v != nil { @@ -1967,6 +2184,12 @@ func (in *metadataOptionsUidPtr) ToMetadataOptionsUidPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(MetadataOptionsUidPtrOutput) } +func (in *metadataOptionsUidPtr) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptionsUid] { + return pulumix.Output[*MetadataOptionsUid]{ + OutputState: in.ToMetadataOptionsUidPtrOutputWithContext(ctx).OutputState, + } +} + type NotificationConfigEventTypesItem string const ( @@ -2040,6 +2263,12 @@ func (o NotificationConfigEventTypesItemOutput) ToNotificationConfigEventTypesIt }).(NotificationConfigEventTypesItemPtrOutput) } +func (o NotificationConfigEventTypesItemOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfigEventTypesItem] { + return pulumix.Output[NotificationConfigEventTypesItem]{ + OutputState: o.OutputState, + } +} + func (o NotificationConfigEventTypesItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2075,6 +2304,12 @@ func (o NotificationConfigEventTypesItemPtrOutput) ToNotificationConfigEventType return o } +func (o NotificationConfigEventTypesItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfigEventTypesItem] { + return pulumix.Output[*NotificationConfigEventTypesItem]{ + OutputState: o.OutputState, + } +} + func (o NotificationConfigEventTypesItemPtrOutput) Elem() NotificationConfigEventTypesItemOutput { return o.ApplyT(func(v *NotificationConfigEventTypesItem) NotificationConfigEventTypesItem { if v != nil { @@ -2137,6 +2372,12 @@ func (in *notificationConfigEventTypesItemPtr) ToNotificationConfigEventTypesIte return pulumi.ToOutputWithContext(ctx, in).(NotificationConfigEventTypesItemPtrOutput) } +func (in *notificationConfigEventTypesItemPtr) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfigEventTypesItem] { + return pulumix.Output[*NotificationConfigEventTypesItem]{ + OutputState: in.ToNotificationConfigEventTypesItemPtrOutputWithContext(ctx).OutputState, + } +} + // NotificationConfigEventTypesItemArrayInput is an input type that accepts NotificationConfigEventTypesItemArray and NotificationConfigEventTypesItemArrayOutput values. // You can construct a concrete instance of `NotificationConfigEventTypesItemArrayInput` via: // @@ -2162,6 +2403,12 @@ func (i NotificationConfigEventTypesItemArray) ToNotificationConfigEventTypesIte return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigEventTypesItemArrayOutput) } +func (i NotificationConfigEventTypesItemArray) ToOutput(ctx context.Context) pulumix.Output[[]NotificationConfigEventTypesItem] { + return pulumix.Output[[]NotificationConfigEventTypesItem]{ + OutputState: i.ToNotificationConfigEventTypesItemArrayOutputWithContext(ctx).OutputState, + } +} + type NotificationConfigEventTypesItemArrayOutput struct{ *pulumi.OutputState } func (NotificationConfigEventTypesItemArrayOutput) ElementType() reflect.Type { @@ -2176,6 +2423,12 @@ func (o NotificationConfigEventTypesItemArrayOutput) ToNotificationConfigEventTy return o } +func (o NotificationConfigEventTypesItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NotificationConfigEventTypesItem] { + return pulumix.Output[[]NotificationConfigEventTypesItem]{ + OutputState: o.OutputState, + } +} + func (o NotificationConfigEventTypesItemArrayOutput) Index(i pulumi.IntInput) NotificationConfigEventTypesItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NotificationConfigEventTypesItem { return vs[0].([]NotificationConfigEventTypesItem)[vs[1].(int)] @@ -2254,6 +2507,12 @@ func (o NotificationConfigPayloadFormatOutput) ToNotificationConfigPayloadFormat }).(NotificationConfigPayloadFormatPtrOutput) } +func (o NotificationConfigPayloadFormatOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfigPayloadFormat] { + return pulumix.Output[NotificationConfigPayloadFormat]{ + OutputState: o.OutputState, + } +} + func (o NotificationConfigPayloadFormatOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2289,6 +2548,12 @@ func (o NotificationConfigPayloadFormatPtrOutput) ToNotificationConfigPayloadFor return o } +func (o NotificationConfigPayloadFormatPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfigPayloadFormat] { + return pulumix.Output[*NotificationConfigPayloadFormat]{ + OutputState: o.OutputState, + } +} + func (o NotificationConfigPayloadFormatPtrOutput) Elem() NotificationConfigPayloadFormatOutput { return o.ApplyT(func(v *NotificationConfigPayloadFormat) NotificationConfigPayloadFormat { if v != nil { @@ -2351,6 +2616,12 @@ func (in *notificationConfigPayloadFormatPtr) ToNotificationConfigPayloadFormatP return pulumi.ToOutputWithContext(ctx, in).(NotificationConfigPayloadFormatPtrOutput) } +func (in *notificationConfigPayloadFormatPtr) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfigPayloadFormat] { + return pulumix.Output[*NotificationConfigPayloadFormat]{ + OutputState: in.ToNotificationConfigPayloadFormatPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use. type S3CompatibleMetadataAuthMethod string @@ -2423,6 +2694,12 @@ func (o S3CompatibleMetadataAuthMethodOutput) ToS3CompatibleMetadataAuthMethodPt }).(S3CompatibleMetadataAuthMethodPtrOutput) } +func (o S3CompatibleMetadataAuthMethodOutput) ToOutput(ctx context.Context) pulumix.Output[S3CompatibleMetadataAuthMethod] { + return pulumix.Output[S3CompatibleMetadataAuthMethod]{ + OutputState: o.OutputState, + } +} + func (o S3CompatibleMetadataAuthMethodOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2458,6 +2735,12 @@ func (o S3CompatibleMetadataAuthMethodPtrOutput) ToS3CompatibleMetadataAuthMetho return o } +func (o S3CompatibleMetadataAuthMethodPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*S3CompatibleMetadataAuthMethod] { + return pulumix.Output[*S3CompatibleMetadataAuthMethod]{ + OutputState: o.OutputState, + } +} + func (o S3CompatibleMetadataAuthMethodPtrOutput) Elem() S3CompatibleMetadataAuthMethodOutput { return o.ApplyT(func(v *S3CompatibleMetadataAuthMethod) S3CompatibleMetadataAuthMethod { if v != nil { @@ -2520,6 +2803,12 @@ func (in *s3compatibleMetadataAuthMethodPtr) ToS3CompatibleMetadataAuthMethodPtr return pulumi.ToOutputWithContext(ctx, in).(S3CompatibleMetadataAuthMethodPtrOutput) } +func (in *s3compatibleMetadataAuthMethodPtr) ToOutput(ctx context.Context) pulumix.Output[*S3CompatibleMetadataAuthMethod] { + return pulumix.Output[*S3CompatibleMetadataAuthMethod]{ + OutputState: in.ToS3CompatibleMetadataAuthMethodPtrOutputWithContext(ctx).OutputState, + } +} + // The Listing API to use for discovering objects. When not specified, Transfer Service will attempt to determine the right API to use. type S3CompatibleMetadataListApi string @@ -2592,6 +2881,12 @@ func (o S3CompatibleMetadataListApiOutput) ToS3CompatibleMetadataListApiPtrOutpu }).(S3CompatibleMetadataListApiPtrOutput) } +func (o S3CompatibleMetadataListApiOutput) ToOutput(ctx context.Context) pulumix.Output[S3CompatibleMetadataListApi] { + return pulumix.Output[S3CompatibleMetadataListApi]{ + OutputState: o.OutputState, + } +} + func (o S3CompatibleMetadataListApiOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2627,6 +2922,12 @@ func (o S3CompatibleMetadataListApiPtrOutput) ToS3CompatibleMetadataListApiPtrOu return o } +func (o S3CompatibleMetadataListApiPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*S3CompatibleMetadataListApi] { + return pulumix.Output[*S3CompatibleMetadataListApi]{ + OutputState: o.OutputState, + } +} + func (o S3CompatibleMetadataListApiPtrOutput) Elem() S3CompatibleMetadataListApiOutput { return o.ApplyT(func(v *S3CompatibleMetadataListApi) S3CompatibleMetadataListApi { if v != nil { @@ -2689,6 +2990,12 @@ func (in *s3compatibleMetadataListApiPtr) ToS3CompatibleMetadataListApiPtrOutput return pulumi.ToOutputWithContext(ctx, in).(S3CompatibleMetadataListApiPtrOutput) } +func (in *s3compatibleMetadataListApiPtr) ToOutput(ctx context.Context) pulumix.Output[*S3CompatibleMetadataListApi] { + return pulumix.Output[*S3CompatibleMetadataListApi]{ + OutputState: in.ToS3CompatibleMetadataListApiPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the network protocol of the agent. When not specified, the default value of NetworkProtocol NETWORK_PROTOCOL_HTTPS is used. type S3CompatibleMetadataProtocol string @@ -2761,6 +3068,12 @@ func (o S3CompatibleMetadataProtocolOutput) ToS3CompatibleMetadataProtocolPtrOut }).(S3CompatibleMetadataProtocolPtrOutput) } +func (o S3CompatibleMetadataProtocolOutput) ToOutput(ctx context.Context) pulumix.Output[S3CompatibleMetadataProtocol] { + return pulumix.Output[S3CompatibleMetadataProtocol]{ + OutputState: o.OutputState, + } +} + func (o S3CompatibleMetadataProtocolOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2796,6 +3109,12 @@ func (o S3CompatibleMetadataProtocolPtrOutput) ToS3CompatibleMetadataProtocolPtr return o } +func (o S3CompatibleMetadataProtocolPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*S3CompatibleMetadataProtocol] { + return pulumix.Output[*S3CompatibleMetadataProtocol]{ + OutputState: o.OutputState, + } +} + func (o S3CompatibleMetadataProtocolPtrOutput) Elem() S3CompatibleMetadataProtocolOutput { return o.ApplyT(func(v *S3CompatibleMetadataProtocol) S3CompatibleMetadataProtocol { if v != nil { @@ -2858,6 +3177,12 @@ func (in *s3compatibleMetadataProtocolPtr) ToS3CompatibleMetadataProtocolPtrOutp return pulumi.ToOutputWithContext(ctx, in).(S3CompatibleMetadataProtocolPtrOutput) } +func (in *s3compatibleMetadataProtocolPtr) ToOutput(ctx context.Context) pulumix.Output[*S3CompatibleMetadataProtocol] { + return pulumix.Output[*S3CompatibleMetadataProtocol]{ + OutputState: in.ToS3CompatibleMetadataProtocolPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the API request model used to call the storage service. When not specified, the default value of RequestModel REQUEST_MODEL_VIRTUAL_HOSTED_STYLE is used. type S3CompatibleMetadataRequestModel string @@ -2930,6 +3255,12 @@ func (o S3CompatibleMetadataRequestModelOutput) ToS3CompatibleMetadataRequestMod }).(S3CompatibleMetadataRequestModelPtrOutput) } +func (o S3CompatibleMetadataRequestModelOutput) ToOutput(ctx context.Context) pulumix.Output[S3CompatibleMetadataRequestModel] { + return pulumix.Output[S3CompatibleMetadataRequestModel]{ + OutputState: o.OutputState, + } +} + func (o S3CompatibleMetadataRequestModelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2965,6 +3296,12 @@ func (o S3CompatibleMetadataRequestModelPtrOutput) ToS3CompatibleMetadataRequest return o } +func (o S3CompatibleMetadataRequestModelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*S3CompatibleMetadataRequestModel] { + return pulumix.Output[*S3CompatibleMetadataRequestModel]{ + OutputState: o.OutputState, + } +} + func (o S3CompatibleMetadataRequestModelPtrOutput) Elem() S3CompatibleMetadataRequestModelOutput { return o.ApplyT(func(v *S3CompatibleMetadataRequestModel) S3CompatibleMetadataRequestModel { if v != nil { @@ -3027,6 +3364,12 @@ func (in *s3compatibleMetadataRequestModelPtr) ToS3CompatibleMetadataRequestMode return pulumi.ToOutputWithContext(ctx, in).(S3CompatibleMetadataRequestModelPtrOutput) } +func (in *s3compatibleMetadataRequestModelPtr) ToOutput(ctx context.Context) pulumix.Output[*S3CompatibleMetadataRequestModel] { + return pulumix.Output[*S3CompatibleMetadataRequestModel]{ + OutputState: in.ToS3CompatibleMetadataRequestModelPtrOutputWithContext(ctx).OutputState, + } +} + // Status of the job. This value MUST be specified for `CreateTransferJobRequests`. **Note:** The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation. type TransferJobStatus string @@ -3101,6 +3444,12 @@ func (o TransferJobStatusOutput) ToTransferJobStatusPtrOutputWithContext(ctx con }).(TransferJobStatusPtrOutput) } +func (o TransferJobStatusOutput) ToOutput(ctx context.Context) pulumix.Output[TransferJobStatus] { + return pulumix.Output[TransferJobStatus]{ + OutputState: o.OutputState, + } +} + func (o TransferJobStatusOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3136,6 +3485,12 @@ func (o TransferJobStatusPtrOutput) ToTransferJobStatusPtrOutputWithContext(ctx return o } +func (o TransferJobStatusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TransferJobStatus] { + return pulumix.Output[*TransferJobStatus]{ + OutputState: o.OutputState, + } +} + func (o TransferJobStatusPtrOutput) Elem() TransferJobStatusOutput { return o.ApplyT(func(v *TransferJobStatus) TransferJobStatus { if v != nil { @@ -3198,6 +3553,12 @@ func (in *transferJobStatusPtr) ToTransferJobStatusPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(TransferJobStatusPtrOutput) } +func (in *transferJobStatusPtr) ToOutput(ctx context.Context) pulumix.Output[*TransferJobStatus] { + return pulumix.Output[*TransferJobStatus]{ + OutputState: in.ToTransferJobStatusPtrOutputWithContext(ctx).OutputState, + } +} + // When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by overwrite_objects_already_existing_in_sink. type TransferOptionsOverwriteWhen string @@ -3272,6 +3633,12 @@ func (o TransferOptionsOverwriteWhenOutput) ToTransferOptionsOverwriteWhenPtrOut }).(TransferOptionsOverwriteWhenPtrOutput) } +func (o TransferOptionsOverwriteWhenOutput) ToOutput(ctx context.Context) pulumix.Output[TransferOptionsOverwriteWhen] { + return pulumix.Output[TransferOptionsOverwriteWhen]{ + OutputState: o.OutputState, + } +} + func (o TransferOptionsOverwriteWhenOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -3307,6 +3674,12 @@ func (o TransferOptionsOverwriteWhenPtrOutput) ToTransferOptionsOverwriteWhenPtr return o } +func (o TransferOptionsOverwriteWhenPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TransferOptionsOverwriteWhen] { + return pulumix.Output[*TransferOptionsOverwriteWhen]{ + OutputState: o.OutputState, + } +} + func (o TransferOptionsOverwriteWhenPtrOutput) Elem() TransferOptionsOverwriteWhenOutput { return o.ApplyT(func(v *TransferOptionsOverwriteWhen) TransferOptionsOverwriteWhen { if v != nil { @@ -3369,6 +3742,12 @@ func (in *transferOptionsOverwriteWhenPtr) ToTransferOptionsOverwriteWhenPtrOutp return pulumi.ToOutputWithContext(ctx, in).(TransferOptionsOverwriteWhenPtrOutput) } +func (in *transferOptionsOverwriteWhenPtr) ToOutput(ctx context.Context) pulumix.Output[*TransferOptionsOverwriteWhen] { + return pulumix.Output[*TransferOptionsOverwriteWhen]{ + OutputState: in.ToTransferOptionsOverwriteWhenPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*LoggingConfigLogActionStatesItemInput)(nil)).Elem(), LoggingConfigLogActionStatesItem("LOGGABLE_ACTION_STATE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*LoggingConfigLogActionStatesItemPtrInput)(nil)).Elem(), LoggingConfigLogActionStatesItem("LOGGABLE_ACTION_STATE_UNSPECIFIED")) diff --git a/sdk/go/google/storagetransfer/v1/pulumiTypes.go b/sdk/go/google/storagetransfer/v1/pulumiTypes.go index d7ff4fa8e2..c32bf0dd01 100644 --- a/sdk/go/google/storagetransfer/v1/pulumiTypes.go +++ b/sdk/go/google/storagetransfer/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AwsAccessKeyArgs) ToAwsAccessKeyOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AwsAccessKeyOutput) } +func (i AwsAccessKeyArgs) ToOutput(ctx context.Context) pulumix.Output[AwsAccessKey] { + return pulumix.Output[AwsAccessKey]{ + OutputState: i.ToAwsAccessKeyOutputWithContext(ctx).OutputState, + } +} + func (i AwsAccessKeyArgs) ToAwsAccessKeyPtrOutput() AwsAccessKeyPtrOutput { return i.ToAwsAccessKeyPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *awsAccessKeyPtrType) ToAwsAccessKeyPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AwsAccessKeyPtrOutput) } +func (i *awsAccessKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*AwsAccessKey] { + return pulumix.Output[*AwsAccessKey]{ + OutputState: i.ToAwsAccessKeyPtrOutputWithContext(ctx).OutputState, + } +} + // AWS access key (see [AWS Security Credentials](https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)). For information on our data retention policy for user credentials, see [User credentials](/storage-transfer/docs/data-retention#user-credentials). type AwsAccessKeyOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AwsAccessKeyOutput) ToAwsAccessKeyPtrOutputWithContext(ctx context.Conte }).(AwsAccessKeyPtrOutput) } +func (o AwsAccessKeyOutput) ToOutput(ctx context.Context) pulumix.Output[AwsAccessKey] { + return pulumix.Output[AwsAccessKey]{ + OutputState: o.OutputState, + } +} + // AWS access key ID. func (o AwsAccessKeyOutput) AccessKeyId() pulumi.StringOutput { return o.ApplyT(func(v AwsAccessKey) string { return v.AccessKeyId }).(pulumi.StringOutput) @@ -142,6 +161,12 @@ func (o AwsAccessKeyPtrOutput) ToAwsAccessKeyPtrOutputWithContext(ctx context.Co return o } +func (o AwsAccessKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AwsAccessKey] { + return pulumix.Output[*AwsAccessKey]{ + OutputState: o.OutputState, + } +} + func (o AwsAccessKeyPtrOutput) Elem() AwsAccessKeyOutput { return o.ApplyT(func(v *AwsAccessKey) AwsAccessKey { if v != nil { @@ -195,6 +220,12 @@ func (o AwsAccessKeyResponseOutput) ToAwsAccessKeyResponseOutputWithContext(ctx return o } +func (o AwsAccessKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AwsAccessKeyResponse] { + return pulumix.Output[AwsAccessKeyResponse]{ + OutputState: o.OutputState, + } +} + // AWS access key ID. func (o AwsAccessKeyResponseOutput) AccessKeyId() pulumi.StringOutput { return o.ApplyT(func(v AwsAccessKeyResponse) string { return v.AccessKeyId }).(pulumi.StringOutput) @@ -256,6 +287,12 @@ func (i AwsS3CompatibleDataArgs) ToAwsS3CompatibleDataOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AwsS3CompatibleDataOutput) } +func (i AwsS3CompatibleDataArgs) ToOutput(ctx context.Context) pulumix.Output[AwsS3CompatibleData] { + return pulumix.Output[AwsS3CompatibleData]{ + OutputState: i.ToAwsS3CompatibleDataOutputWithContext(ctx).OutputState, + } +} + func (i AwsS3CompatibleDataArgs) ToAwsS3CompatibleDataPtrOutput() AwsS3CompatibleDataPtrOutput { return i.ToAwsS3CompatibleDataPtrOutputWithContext(context.Background()) } @@ -297,6 +334,12 @@ func (i *awsS3CompatibleDataPtrType) ToAwsS3CompatibleDataPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(AwsS3CompatibleDataPtrOutput) } +func (i *awsS3CompatibleDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*AwsS3CompatibleData] { + return pulumix.Output[*AwsS3CompatibleData]{ + OutputState: i.ToAwsS3CompatibleDataPtrOutputWithContext(ctx).OutputState, + } +} + // An AwsS3CompatibleData resource. type AwsS3CompatibleDataOutput struct{ *pulumi.OutputState } @@ -322,6 +365,12 @@ func (o AwsS3CompatibleDataOutput) ToAwsS3CompatibleDataPtrOutputWithContext(ctx }).(AwsS3CompatibleDataPtrOutput) } +func (o AwsS3CompatibleDataOutput) ToOutput(ctx context.Context) pulumix.Output[AwsS3CompatibleData] { + return pulumix.Output[AwsS3CompatibleData]{ + OutputState: o.OutputState, + } +} + // Specifies the name of the bucket. func (o AwsS3CompatibleDataOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v AwsS3CompatibleData) string { return v.BucketName }).(pulumi.StringOutput) @@ -361,6 +410,12 @@ func (o AwsS3CompatibleDataPtrOutput) ToAwsS3CompatibleDataPtrOutputWithContext( return o } +func (o AwsS3CompatibleDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AwsS3CompatibleData] { + return pulumix.Output[*AwsS3CompatibleData]{ + OutputState: o.OutputState, + } +} + func (o AwsS3CompatibleDataPtrOutput) Elem() AwsS3CompatibleDataOutput { return o.ApplyT(func(v *AwsS3CompatibleData) AwsS3CompatibleData { if v != nil { @@ -450,6 +505,12 @@ func (o AwsS3CompatibleDataResponseOutput) ToAwsS3CompatibleDataResponseOutputWi return o } +func (o AwsS3CompatibleDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AwsS3CompatibleDataResponse] { + return pulumix.Output[AwsS3CompatibleDataResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the name of the bucket. func (o AwsS3CompatibleDataResponseOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v AwsS3CompatibleDataResponse) string { return v.BucketName }).(pulumi.StringOutput) @@ -526,6 +587,12 @@ func (i AwsS3DataArgs) ToAwsS3DataOutputWithContext(ctx context.Context) AwsS3Da return pulumi.ToOutputWithContext(ctx, i).(AwsS3DataOutput) } +func (i AwsS3DataArgs) ToOutput(ctx context.Context) pulumix.Output[AwsS3Data] { + return pulumix.Output[AwsS3Data]{ + OutputState: i.ToAwsS3DataOutputWithContext(ctx).OutputState, + } +} + func (i AwsS3DataArgs) ToAwsS3DataPtrOutput() AwsS3DataPtrOutput { return i.ToAwsS3DataPtrOutputWithContext(context.Background()) } @@ -567,6 +634,12 @@ func (i *awsS3DataPtrType) ToAwsS3DataPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AwsS3DataPtrOutput) } +func (i *awsS3DataPtrType) ToOutput(ctx context.Context) pulumix.Output[*AwsS3Data] { + return pulumix.Output[*AwsS3Data]{ + OutputState: i.ToAwsS3DataPtrOutputWithContext(ctx).OutputState, + } +} + // An AwsS3Data resource can be a data source, but not a data sink. In an AwsS3Data resource, an object's name is the S3 object's key name. type AwsS3DataOutput struct{ *pulumi.OutputState } @@ -592,6 +665,12 @@ func (o AwsS3DataOutput) ToAwsS3DataPtrOutputWithContext(ctx context.Context) Aw }).(AwsS3DataPtrOutput) } +func (o AwsS3DataOutput) ToOutput(ctx context.Context) pulumix.Output[AwsS3Data] { + return pulumix.Output[AwsS3Data]{ + OutputState: o.OutputState, + } +} + // Input only. AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. For information on our data retention policy for user credentials, see [User credentials](/storage-transfer/docs/data-retention#user-credentials). func (o AwsS3DataOutput) AwsAccessKey() AwsAccessKeyPtrOutput { return o.ApplyT(func(v AwsS3Data) *AwsAccessKey { return v.AwsAccessKey }).(AwsAccessKeyPtrOutput) @@ -631,6 +710,12 @@ func (o AwsS3DataPtrOutput) ToAwsS3DataPtrOutputWithContext(ctx context.Context) return o } +func (o AwsS3DataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AwsS3Data] { + return pulumix.Output[*AwsS3Data]{ + OutputState: o.OutputState, + } +} + func (o AwsS3DataPtrOutput) Elem() AwsS3DataOutput { return o.ApplyT(func(v *AwsS3Data) AwsS3Data { if v != nil { @@ -720,6 +805,12 @@ func (o AwsS3DataResponseOutput) ToAwsS3DataResponseOutputWithContext(ctx contex return o } +func (o AwsS3DataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AwsS3DataResponse] { + return pulumix.Output[AwsS3DataResponse]{ + OutputState: o.OutputState, + } +} + // Input only. AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. For information on our data retention policy for user credentials, see [User credentials](/storage-transfer/docs/data-retention#user-credentials). func (o AwsS3DataResponseOutput) AwsAccessKey() AwsAccessKeyResponseOutput { return o.ApplyT(func(v AwsS3DataResponse) AwsAccessKeyResponse { return v.AwsAccessKey }).(AwsAccessKeyResponseOutput) @@ -796,6 +887,12 @@ func (i AzureBlobStorageDataArgs) ToAzureBlobStorageDataOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AzureBlobStorageDataOutput) } +func (i AzureBlobStorageDataArgs) ToOutput(ctx context.Context) pulumix.Output[AzureBlobStorageData] { + return pulumix.Output[AzureBlobStorageData]{ + OutputState: i.ToAzureBlobStorageDataOutputWithContext(ctx).OutputState, + } +} + func (i AzureBlobStorageDataArgs) ToAzureBlobStorageDataPtrOutput() AzureBlobStorageDataPtrOutput { return i.ToAzureBlobStorageDataPtrOutputWithContext(context.Background()) } @@ -837,6 +934,12 @@ func (i *azureBlobStorageDataPtrType) ToAzureBlobStorageDataPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AzureBlobStorageDataPtrOutput) } +func (i *azureBlobStorageDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*AzureBlobStorageData] { + return pulumix.Output[*AzureBlobStorageData]{ + OutputState: i.ToAzureBlobStorageDataPtrOutputWithContext(ctx).OutputState, + } +} + // An AzureBlobStorageData resource can be a data source, but not a data sink. An AzureBlobStorageData resource represents one Azure container. The storage account determines the [Azure endpoint](https://docs.microsoft.com/en-us/azure/storage/common/storage-create-storage-account#storage-account-endpoints). In an AzureBlobStorageData resource, a blobs's name is the [Azure Blob Storage blob's key name](https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#blob-names). type AzureBlobStorageDataOutput struct{ *pulumi.OutputState } @@ -862,6 +965,12 @@ func (o AzureBlobStorageDataOutput) ToAzureBlobStorageDataPtrOutputWithContext(c }).(AzureBlobStorageDataPtrOutput) } +func (o AzureBlobStorageDataOutput) ToOutput(ctx context.Context) pulumix.Output[AzureBlobStorageData] { + return pulumix.Output[AzureBlobStorageData]{ + OutputState: o.OutputState, + } +} + // Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see [User credentials](/storage-transfer/docs/data-retention#user-credentials). func (o AzureBlobStorageDataOutput) AzureCredentials() AzureCredentialsOutput { return o.ApplyT(func(v AzureBlobStorageData) AzureCredentials { return v.AzureCredentials }).(AzureCredentialsOutput) @@ -901,6 +1010,12 @@ func (o AzureBlobStorageDataPtrOutput) ToAzureBlobStorageDataPtrOutputWithContex return o } +func (o AzureBlobStorageDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AzureBlobStorageData] { + return pulumix.Output[*AzureBlobStorageData]{ + OutputState: o.OutputState, + } +} + func (o AzureBlobStorageDataPtrOutput) Elem() AzureBlobStorageDataOutput { return o.ApplyT(func(v *AzureBlobStorageData) AzureBlobStorageData { if v != nil { @@ -990,6 +1105,12 @@ func (o AzureBlobStorageDataResponseOutput) ToAzureBlobStorageDataResponseOutput return o } +func (o AzureBlobStorageDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AzureBlobStorageDataResponse] { + return pulumix.Output[AzureBlobStorageDataResponse]{ + OutputState: o.OutputState, + } +} + // Input only. Credentials used to authenticate API requests to Azure. For information on our data retention policy for user credentials, see [User credentials](/storage-transfer/docs/data-retention#user-credentials). func (o AzureBlobStorageDataResponseOutput) AzureCredentials() AzureCredentialsResponseOutput { return o.ApplyT(func(v AzureBlobStorageDataResponse) AzureCredentialsResponse { return v.AzureCredentials }).(AzureCredentialsResponseOutput) @@ -1050,6 +1171,12 @@ func (i AzureCredentialsArgs) ToAzureCredentialsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AzureCredentialsOutput) } +func (i AzureCredentialsArgs) ToOutput(ctx context.Context) pulumix.Output[AzureCredentials] { + return pulumix.Output[AzureCredentials]{ + OutputState: i.ToAzureCredentialsOutputWithContext(ctx).OutputState, + } +} + func (i AzureCredentialsArgs) ToAzureCredentialsPtrOutput() AzureCredentialsPtrOutput { return i.ToAzureCredentialsPtrOutputWithContext(context.Background()) } @@ -1091,6 +1218,12 @@ func (i *azureCredentialsPtrType) ToAzureCredentialsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AzureCredentialsPtrOutput) } +func (i *azureCredentialsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AzureCredentials] { + return pulumix.Output[*AzureCredentials]{ + OutputState: i.ToAzureCredentialsPtrOutputWithContext(ctx).OutputState, + } +} + // Azure credentials For information on our data retention policy for user credentials, see [User credentials](/storage-transfer/docs/data-retention#user-credentials). type AzureCredentialsOutput struct{ *pulumi.OutputState } @@ -1116,6 +1249,12 @@ func (o AzureCredentialsOutput) ToAzureCredentialsPtrOutputWithContext(ctx conte }).(AzureCredentialsPtrOutput) } +func (o AzureCredentialsOutput) ToOutput(ctx context.Context) pulumix.Output[AzureCredentials] { + return pulumix.Output[AzureCredentials]{ + OutputState: o.OutputState, + } +} + // Azure shared access signature (SAS). For more information about SAS, see [Grant limited access to Azure Storage resources using shared access signatures (SAS)](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview). func (o AzureCredentialsOutput) SasToken() pulumi.StringOutput { return o.ApplyT(func(v AzureCredentials) string { return v.SasToken }).(pulumi.StringOutput) @@ -1135,6 +1274,12 @@ func (o AzureCredentialsPtrOutput) ToAzureCredentialsPtrOutputWithContext(ctx co return o } +func (o AzureCredentialsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AzureCredentials] { + return pulumix.Output[*AzureCredentials]{ + OutputState: o.OutputState, + } +} + func (o AzureCredentialsPtrOutput) Elem() AzureCredentialsOutput { return o.ApplyT(func(v *AzureCredentials) AzureCredentials { if v != nil { @@ -1176,6 +1321,12 @@ func (o AzureCredentialsResponseOutput) ToAzureCredentialsResponseOutputWithCont return o } +func (o AzureCredentialsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AzureCredentialsResponse] { + return pulumix.Output[AzureCredentialsResponse]{ + OutputState: o.OutputState, + } +} + // Azure shared access signature (SAS). For more information about SAS, see [Grant limited access to Azure Storage resources using shared access signatures (SAS)](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview). func (o AzureCredentialsResponseOutput) SasToken() pulumi.StringOutput { return o.ApplyT(func(v AzureCredentialsResponse) string { return v.SasToken }).(pulumi.StringOutput) @@ -1216,6 +1367,12 @@ func (i BandwidthLimitArgs) ToBandwidthLimitOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BandwidthLimitOutput) } +func (i BandwidthLimitArgs) ToOutput(ctx context.Context) pulumix.Output[BandwidthLimit] { + return pulumix.Output[BandwidthLimit]{ + OutputState: i.ToBandwidthLimitOutputWithContext(ctx).OutputState, + } +} + func (i BandwidthLimitArgs) ToBandwidthLimitPtrOutput() BandwidthLimitPtrOutput { return i.ToBandwidthLimitPtrOutputWithContext(context.Background()) } @@ -1257,6 +1414,12 @@ func (i *bandwidthLimitPtrType) ToBandwidthLimitPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(BandwidthLimitPtrOutput) } +func (i *bandwidthLimitPtrType) ToOutput(ctx context.Context) pulumix.Output[*BandwidthLimit] { + return pulumix.Output[*BandwidthLimit]{ + OutputState: i.ToBandwidthLimitPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies a bandwidth limit for an agent pool. type BandwidthLimitOutput struct{ *pulumi.OutputState } @@ -1282,6 +1445,12 @@ func (o BandwidthLimitOutput) ToBandwidthLimitPtrOutputWithContext(ctx context.C }).(BandwidthLimitPtrOutput) } +func (o BandwidthLimitOutput) ToOutput(ctx context.Context) pulumix.Output[BandwidthLimit] { + return pulumix.Output[BandwidthLimit]{ + OutputState: o.OutputState, + } +} + // Bandwidth rate in megabytes per second, distributed across all the agents in the pool. func (o BandwidthLimitOutput) LimitMbps() pulumi.StringPtrOutput { return o.ApplyT(func(v BandwidthLimit) *string { return v.LimitMbps }).(pulumi.StringPtrOutput) @@ -1301,6 +1470,12 @@ func (o BandwidthLimitPtrOutput) ToBandwidthLimitPtrOutputWithContext(ctx contex return o } +func (o BandwidthLimitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BandwidthLimit] { + return pulumix.Output[*BandwidthLimit]{ + OutputState: o.OutputState, + } +} + func (o BandwidthLimitPtrOutput) Elem() BandwidthLimitOutput { return o.ApplyT(func(v *BandwidthLimit) BandwidthLimit { if v != nil { @@ -1342,6 +1517,12 @@ func (o BandwidthLimitResponseOutput) ToBandwidthLimitResponseOutputWithContext( return o } +func (o BandwidthLimitResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BandwidthLimitResponse] { + return pulumix.Output[BandwidthLimitResponse]{ + OutputState: o.OutputState, + } +} + // Bandwidth rate in megabytes per second, distributed across all the agents in the pool. func (o BandwidthLimitResponseOutput) LimitMbps() pulumi.StringOutput { return o.ApplyT(func(v BandwidthLimitResponse) string { return v.LimitMbps }).(pulumi.StringOutput) @@ -1390,6 +1571,12 @@ func (i DateArgs) ToDateOutputWithContext(ctx context.Context) DateOutput { return pulumi.ToOutputWithContext(ctx, i).(DateOutput) } +func (i DateArgs) ToOutput(ctx context.Context) pulumix.Output[Date] { + return pulumix.Output[Date]{ + OutputState: i.ToDateOutputWithContext(ctx).OutputState, + } +} + func (i DateArgs) ToDatePtrOutput() DatePtrOutput { return i.ToDatePtrOutputWithContext(context.Background()) } @@ -1431,6 +1618,12 @@ func (i *datePtrType) ToDatePtrOutputWithContext(ctx context.Context) DatePtrOut return pulumi.ToOutputWithContext(ctx, i).(DatePtrOutput) } +func (i *datePtrType) ToOutput(ctx context.Context) pulumix.Output[*Date] { + return pulumix.Output[*Date]{ + OutputState: i.ToDatePtrOutputWithContext(ctx).OutputState, + } +} + // Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp type DateOutput struct{ *pulumi.OutputState } @@ -1456,6 +1649,12 @@ func (o DateOutput) ToDatePtrOutputWithContext(ctx context.Context) DatePtrOutpu }).(DatePtrOutput) } +func (o DateOutput) ToOutput(ctx context.Context) pulumix.Output[Date] { + return pulumix.Output[Date]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o DateOutput) Day() pulumi.IntPtrOutput { return o.ApplyT(func(v Date) *int { return v.Day }).(pulumi.IntPtrOutput) @@ -1485,6 +1684,12 @@ func (o DatePtrOutput) ToDatePtrOutputWithContext(ctx context.Context) DatePtrOu return o } +func (o DatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Date] { + return pulumix.Output[*Date]{ + OutputState: o.OutputState, + } +} + func (o DatePtrOutput) Elem() DateOutput { return o.ApplyT(func(v *Date) Date { if v != nil { @@ -1550,6 +1755,12 @@ func (o DateResponseOutput) ToDateResponseOutputWithContext(ctx context.Context) return o } +func (o DateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DateResponse] { + return pulumix.Output[DateResponse]{ + OutputState: o.OutputState, + } +} + // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. func (o DateResponseOutput) Day() pulumi.IntOutput { return o.ApplyT(func(v DateResponse) int { return v.Day }).(pulumi.IntOutput) @@ -1608,6 +1819,12 @@ func (i EventStreamArgs) ToEventStreamOutputWithContext(ctx context.Context) Eve return pulumi.ToOutputWithContext(ctx, i).(EventStreamOutput) } +func (i EventStreamArgs) ToOutput(ctx context.Context) pulumix.Output[EventStream] { + return pulumix.Output[EventStream]{ + OutputState: i.ToEventStreamOutputWithContext(ctx).OutputState, + } +} + func (i EventStreamArgs) ToEventStreamPtrOutput() EventStreamPtrOutput { return i.ToEventStreamPtrOutputWithContext(context.Background()) } @@ -1649,6 +1866,12 @@ func (i *eventStreamPtrType) ToEventStreamPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(EventStreamPtrOutput) } +func (i *eventStreamPtrType) ToOutput(ctx context.Context) pulumix.Output[*EventStream] { + return pulumix.Output[*EventStream]{ + OutputState: i.ToEventStreamPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the Event-driven transfer options. Event-driven transfers listen to an event stream to transfer updated files. type EventStreamOutput struct{ *pulumi.OutputState } @@ -1674,6 +1897,12 @@ func (o EventStreamOutput) ToEventStreamPtrOutputWithContext(ctx context.Context }).(EventStreamPtrOutput) } +func (o EventStreamOutput) ToOutput(ctx context.Context) pulumix.Output[EventStream] { + return pulumix.Output[EventStream]{ + OutputState: o.OutputState, + } +} + // Specifies the data and time at which Storage Transfer Service stops listening for events from this stream. After this time, any transfers in progress will complete, but no new transfers are initiated. func (o EventStreamOutput) EventStreamExpirationTime() pulumi.StringPtrOutput { return o.ApplyT(func(v EventStream) *string { return v.EventStreamExpirationTime }).(pulumi.StringPtrOutput) @@ -1703,6 +1932,12 @@ func (o EventStreamPtrOutput) ToEventStreamPtrOutputWithContext(ctx context.Cont return o } +func (o EventStreamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*EventStream] { + return pulumix.Output[*EventStream]{ + OutputState: o.OutputState, + } +} + func (o EventStreamPtrOutput) Elem() EventStreamOutput { return o.ApplyT(func(v *EventStream) EventStream { if v != nil { @@ -1768,6 +2003,12 @@ func (o EventStreamResponseOutput) ToEventStreamResponseOutputWithContext(ctx co return o } +func (o EventStreamResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EventStreamResponse] { + return pulumix.Output[EventStreamResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the data and time at which Storage Transfer Service stops listening for events from this stream. After this time, any transfers in progress will complete, but no new transfers are initiated. func (o EventStreamResponseOutput) EventStreamExpirationTime() pulumi.StringOutput { return o.ApplyT(func(v EventStreamResponse) string { return v.EventStreamExpirationTime }).(pulumi.StringOutput) @@ -1822,6 +2063,12 @@ func (i GcsDataArgs) ToGcsDataOutputWithContext(ctx context.Context) GcsDataOutp return pulumi.ToOutputWithContext(ctx, i).(GcsDataOutput) } +func (i GcsDataArgs) ToOutput(ctx context.Context) pulumix.Output[GcsData] { + return pulumix.Output[GcsData]{ + OutputState: i.ToGcsDataOutputWithContext(ctx).OutputState, + } +} + func (i GcsDataArgs) ToGcsDataPtrOutput() GcsDataPtrOutput { return i.ToGcsDataPtrOutputWithContext(context.Background()) } @@ -1863,6 +2110,12 @@ func (i *gcsDataPtrType) ToGcsDataPtrOutputWithContext(ctx context.Context) GcsD return pulumi.ToOutputWithContext(ctx, i).(GcsDataPtrOutput) } +func (i *gcsDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*GcsData] { + return pulumix.Output[*GcsData]{ + OutputState: i.ToGcsDataPtrOutputWithContext(ctx).OutputState, + } +} + // In a GcsData resource, an object's name is the Cloud Storage object's name and its "last modification time" refers to the object's `updated` property of Cloud Storage objects, which changes when the content or the metadata of the object is updated. type GcsDataOutput struct{ *pulumi.OutputState } @@ -1888,6 +2141,12 @@ func (o GcsDataOutput) ToGcsDataPtrOutputWithContext(ctx context.Context) GcsDat }).(GcsDataPtrOutput) } +func (o GcsDataOutput) ToOutput(ctx context.Context) pulumix.Output[GcsData] { + return pulumix.Output[GcsData]{ + OutputState: o.OutputState, + } +} + // Cloud Storage bucket name. Must meet [Bucket Name Requirements](/storage/docs/naming#requirements). func (o GcsDataOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v GcsData) string { return v.BucketName }).(pulumi.StringOutput) @@ -1912,6 +2171,12 @@ func (o GcsDataPtrOutput) ToGcsDataPtrOutputWithContext(ctx context.Context) Gcs return o } +func (o GcsDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GcsData] { + return pulumix.Output[*GcsData]{ + OutputState: o.OutputState, + } +} + func (o GcsDataPtrOutput) Elem() GcsDataOutput { return o.ApplyT(func(v *GcsData) GcsData { if v != nil { @@ -1965,6 +2230,12 @@ func (o GcsDataResponseOutput) ToGcsDataResponseOutputWithContext(ctx context.Co return o } +func (o GcsDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcsDataResponse] { + return pulumix.Output[GcsDataResponse]{ + OutputState: o.OutputState, + } +} + // Cloud Storage bucket name. Must meet [Bucket Name Requirements](/storage/docs/naming#requirements). func (o GcsDataResponseOutput) BucketName() pulumi.StringOutput { return o.ApplyT(func(v GcsDataResponse) string { return v.BucketName }).(pulumi.StringOutput) @@ -2010,6 +2281,12 @@ func (i HttpDataArgs) ToHttpDataOutputWithContext(ctx context.Context) HttpDataO return pulumi.ToOutputWithContext(ctx, i).(HttpDataOutput) } +func (i HttpDataArgs) ToOutput(ctx context.Context) pulumix.Output[HttpData] { + return pulumix.Output[HttpData]{ + OutputState: i.ToHttpDataOutputWithContext(ctx).OutputState, + } +} + func (i HttpDataArgs) ToHttpDataPtrOutput() HttpDataPtrOutput { return i.ToHttpDataPtrOutputWithContext(context.Background()) } @@ -2051,6 +2328,12 @@ func (i *httpDataPtrType) ToHttpDataPtrOutputWithContext(ctx context.Context) Ht return pulumi.ToOutputWithContext(ctx, i).(HttpDataPtrOutput) } +func (i *httpDataPtrType) ToOutput(ctx context.Context) pulumix.Output[*HttpData] { + return pulumix.Output[*HttpData]{ + OutputState: i.ToHttpDataPtrOutputWithContext(ctx).OutputState, + } +} + // An HttpData resource specifies a list of objects on the web to be transferred over HTTP. The information of the objects to be transferred is contained in a file referenced by a URL. The first line in the file must be `"TsvHttpData-1.0"`, which specifies the format of the file. Subsequent lines specify the information of the list of objects, one object per list entry. Each entry has the following tab-delimited fields: * **HTTP URL** — The location of the object. * **Length** — The size of the object in bytes. * **MD5** — The base64-encoded MD5 hash of the object. For an example of a valid TSV file, see [Transferring data from URLs](https://cloud.google.com/storage-transfer/docs/create-url-list). When transferring data based on a URL list, keep the following in mind: * When an object located at `http(s)://hostname:port/` is transferred to a data sink, the name of the object at the data sink is `/`. * If the specified size of an object does not match the actual size of the object fetched, the object is not transferred. * If the specified MD5 does not match the MD5 computed from the transferred bytes, the object transfer fails. * Ensure that each URL you specify is publicly accessible. For example, in Cloud Storage you can [share an object publicly] (/storage/docs/cloud-console#_sharingdata) and get a link to it. * Storage Transfer Service obeys `robots.txt` rules and requires the source HTTP server to support `Range` requests and to return a `Content-Length` header in each response. * ObjectConditions have no effect when filtering objects to transfer. type HttpDataOutput struct{ *pulumi.OutputState } @@ -2076,6 +2359,12 @@ func (o HttpDataOutput) ToHttpDataPtrOutputWithContext(ctx context.Context) Http }).(HttpDataPtrOutput) } +func (o HttpDataOutput) ToOutput(ctx context.Context) pulumix.Output[HttpData] { + return pulumix.Output[HttpData]{ + OutputState: o.OutputState, + } +} + // The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported. func (o HttpDataOutput) ListUrl() pulumi.StringOutput { return o.ApplyT(func(v HttpData) string { return v.ListUrl }).(pulumi.StringOutput) @@ -2095,6 +2384,12 @@ func (o HttpDataPtrOutput) ToHttpDataPtrOutputWithContext(ctx context.Context) H return o } +func (o HttpDataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HttpData] { + return pulumix.Output[*HttpData]{ + OutputState: o.OutputState, + } +} + func (o HttpDataPtrOutput) Elem() HttpDataOutput { return o.ApplyT(func(v *HttpData) HttpData { if v != nil { @@ -2136,6 +2431,12 @@ func (o HttpDataResponseOutput) ToHttpDataResponseOutputWithContext(ctx context. return o } +func (o HttpDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HttpDataResponse] { + return pulumix.Output[HttpDataResponse]{ + OutputState: o.OutputState, + } +} + // The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported. func (o HttpDataResponseOutput) ListUrl() pulumi.StringOutput { return o.ApplyT(func(v HttpDataResponse) string { return v.ListUrl }).(pulumi.StringOutput) @@ -2184,6 +2485,12 @@ func (i LoggingConfigArgs) ToLoggingConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigOutput) } +func (i LoggingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[LoggingConfig] { + return pulumix.Output[LoggingConfig]{ + OutputState: i.ToLoggingConfigOutputWithContext(ctx).OutputState, + } +} + func (i LoggingConfigArgs) ToLoggingConfigPtrOutput() LoggingConfigPtrOutput { return i.ToLoggingConfigPtrOutputWithContext(context.Background()) } @@ -2225,6 +2532,12 @@ func (i *loggingConfigPtrType) ToLoggingConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(LoggingConfigPtrOutput) } +func (i *loggingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfig] { + return pulumix.Output[*LoggingConfig]{ + OutputState: i.ToLoggingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the logging behavior for transfer operations. For cloud-to-cloud transfers, logs are sent to Cloud Logging. See [Read transfer logs](https://cloud.google.com/storage-transfer/docs/read-transfer-logs) for details. For transfers to or from a POSIX file system, logs are stored in the Cloud Storage bucket that is the source or sink of the transfer. See [Managing Transfer for on-premises jobs] (https://cloud.google.com/storage-transfer/docs/managing-on-prem-jobs#viewing-logs) for details. type LoggingConfigOutput struct{ *pulumi.OutputState } @@ -2250,6 +2563,12 @@ func (o LoggingConfigOutput) ToLoggingConfigPtrOutputWithContext(ctx context.Con }).(LoggingConfigPtrOutput) } +func (o LoggingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfig] { + return pulumix.Output[LoggingConfig]{ + OutputState: o.OutputState, + } +} + // For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer. func (o LoggingConfigOutput) EnableOnpremGcsTransferLogs() pulumi.BoolPtrOutput { return o.ApplyT(func(v LoggingConfig) *bool { return v.EnableOnpremGcsTransferLogs }).(pulumi.BoolPtrOutput) @@ -2279,6 +2598,12 @@ func (o LoggingConfigPtrOutput) ToLoggingConfigPtrOutputWithContext(ctx context. return o } +func (o LoggingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LoggingConfig] { + return pulumix.Output[*LoggingConfig]{ + OutputState: o.OutputState, + } +} + func (o LoggingConfigPtrOutput) Elem() LoggingConfigOutput { return o.ApplyT(func(v *LoggingConfig) LoggingConfig { if v != nil { @@ -2344,6 +2669,12 @@ func (o LoggingConfigResponseOutput) ToLoggingConfigResponseOutputWithContext(ct return o } +func (o LoggingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LoggingConfigResponse] { + return pulumix.Output[LoggingConfigResponse]{ + OutputState: o.OutputState, + } +} + // For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer. func (o LoggingConfigResponseOutput) EnableOnpremGcsTransferLogs() pulumi.BoolOutput { return o.ApplyT(func(v LoggingConfigResponse) bool { return v.EnableOnpremGcsTransferLogs }).(pulumi.BoolOutput) @@ -2426,6 +2757,12 @@ func (i MetadataOptionsArgs) ToMetadataOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(MetadataOptionsOutput) } +func (i MetadataOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[MetadataOptions] { + return pulumix.Output[MetadataOptions]{ + OutputState: i.ToMetadataOptionsOutputWithContext(ctx).OutputState, + } +} + func (i MetadataOptionsArgs) ToMetadataOptionsPtrOutput() MetadataOptionsPtrOutput { return i.ToMetadataOptionsPtrOutputWithContext(context.Background()) } @@ -2467,6 +2804,12 @@ func (i *metadataOptionsPtrType) ToMetadataOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(MetadataOptionsPtrOutput) } +func (i *metadataOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptions] { + return pulumix.Output[*MetadataOptions]{ + OutputState: i.ToMetadataOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies the metadata options for running a transfer. type MetadataOptionsOutput struct{ *pulumi.OutputState } @@ -2492,6 +2835,12 @@ func (o MetadataOptionsOutput) ToMetadataOptionsPtrOutputWithContext(ctx context }).(MetadataOptionsPtrOutput) } +func (o MetadataOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptions] { + return pulumix.Output[MetadataOptions]{ + OutputState: o.OutputState, + } +} + // Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as ACL_DESTINATION_BUCKET_DEFAULT. func (o MetadataOptionsOutput) Acl() MetadataOptionsAclPtrOutput { return o.ApplyT(func(v MetadataOptions) *MetadataOptionsAcl { return v.Acl }).(MetadataOptionsAclPtrOutput) @@ -2551,6 +2900,12 @@ func (o MetadataOptionsPtrOutput) ToMetadataOptionsPtrOutputWithContext(ctx cont return o } +func (o MetadataOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MetadataOptions] { + return pulumix.Output[*MetadataOptions]{ + OutputState: o.OutputState, + } +} + func (o MetadataOptionsPtrOutput) Elem() MetadataOptionsOutput { return o.ApplyT(func(v *MetadataOptions) MetadataOptions { if v != nil { @@ -2688,6 +3043,12 @@ func (o MetadataOptionsResponseOutput) ToMetadataOptionsResponseOutputWithContex return o } +func (o MetadataOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MetadataOptionsResponse] { + return pulumix.Output[MetadataOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Specifies how each object's ACLs should be preserved for transfers between Google Cloud Storage buckets. If unspecified, the default behavior is the same as ACL_DESTINATION_BUCKET_DEFAULT. func (o MetadataOptionsResponseOutput) Acl() pulumi.StringOutput { return o.ApplyT(func(v MetadataOptionsResponse) string { return v.Acl }).(pulumi.StringOutput) @@ -2776,6 +3137,12 @@ func (i NotificationConfigArgs) ToNotificationConfigOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigOutput) } +func (i NotificationConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NotificationConfig] { + return pulumix.Output[NotificationConfig]{ + OutputState: i.ToNotificationConfigOutputWithContext(ctx).OutputState, + } +} + func (i NotificationConfigArgs) ToNotificationConfigPtrOutput() NotificationConfigPtrOutput { return i.ToNotificationConfigPtrOutputWithContext(context.Background()) } @@ -2817,6 +3184,12 @@ func (i *notificationConfigPtrType) ToNotificationConfigPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NotificationConfigPtrOutput) } +func (i *notificationConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: i.ToNotificationConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Specification to configure notifications published to Pub/Sub. Notifications are published to the customer-provided topic using the following `PubsubMessage.attributes`: * `"eventType"`: one of the EventType values * `"payloadFormat"`: one of the PayloadFormat values * `"projectId"`: the project_id of the `TransferOperation` * `"transferJobName"`: the transfer_job_name of the `TransferOperation` * `"transferOperationName"`: the name of the `TransferOperation` The `PubsubMessage.data` contains a TransferOperation resource formatted according to the specified `PayloadFormat`. type NotificationConfigOutput struct{ *pulumi.OutputState } @@ -2842,6 +3215,12 @@ func (o NotificationConfigOutput) ToNotificationConfigPtrOutputWithContext(ctx c }).(NotificationConfigPtrOutput) } +func (o NotificationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfig] { + return pulumix.Output[NotificationConfig]{ + OutputState: o.OutputState, + } +} + // Event types for which a notification is desired. If empty, send notifications for all event types. func (o NotificationConfigOutput) EventTypes() NotificationConfigEventTypesItemArrayOutput { return o.ApplyT(func(v NotificationConfig) []NotificationConfigEventTypesItem { return v.EventTypes }).(NotificationConfigEventTypesItemArrayOutput) @@ -2871,6 +3250,12 @@ func (o NotificationConfigPtrOutput) ToNotificationConfigPtrOutputWithContext(ct return o } +func (o NotificationConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NotificationConfig] { + return pulumix.Output[*NotificationConfig]{ + OutputState: o.OutputState, + } +} + func (o NotificationConfigPtrOutput) Elem() NotificationConfigOutput { return o.ApplyT(func(v *NotificationConfig) NotificationConfig { if v != nil { @@ -2936,6 +3321,12 @@ func (o NotificationConfigResponseOutput) ToNotificationConfigResponseOutputWith return o } +func (o NotificationConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NotificationConfigResponse] { + return pulumix.Output[NotificationConfigResponse]{ + OutputState: o.OutputState, + } +} + // Event types for which a notification is desired. If empty, send notifications for all event types. func (o NotificationConfigResponseOutput) EventTypes() pulumi.StringArrayOutput { return o.ApplyT(func(v NotificationConfigResponse) []string { return v.EventTypes }).(pulumi.StringArrayOutput) @@ -3006,6 +3397,12 @@ func (i ObjectConditionsArgs) ToObjectConditionsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ObjectConditionsOutput) } +func (i ObjectConditionsArgs) ToOutput(ctx context.Context) pulumix.Output[ObjectConditions] { + return pulumix.Output[ObjectConditions]{ + OutputState: i.ToObjectConditionsOutputWithContext(ctx).OutputState, + } +} + func (i ObjectConditionsArgs) ToObjectConditionsPtrOutput() ObjectConditionsPtrOutput { return i.ToObjectConditionsPtrOutputWithContext(context.Background()) } @@ -3047,6 +3444,12 @@ func (i *objectConditionsPtrType) ToObjectConditionsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(ObjectConditionsPtrOutput) } +func (i *objectConditionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ObjectConditions] { + return pulumix.Output[*ObjectConditions]{ + OutputState: i.ToObjectConditionsPtrOutputWithContext(ctx).OutputState, + } +} + // Conditions that determine which objects are transferred. Applies only to Cloud Data Sources such as S3, Azure, and Cloud Storage. The "last modification time" refers to the time of the last change to the object's content or metadata — specifically, this is the `updated` property of Cloud Storage objects, the `LastModified` field of S3 objects, and the `Last-Modified` header of Azure blobs. Transfers with a PosixFilesystem source or destination don't support `ObjectConditions`. type ObjectConditionsOutput struct{ *pulumi.OutputState } @@ -3072,6 +3475,12 @@ func (o ObjectConditionsOutput) ToObjectConditionsPtrOutputWithContext(ctx conte }).(ObjectConditionsPtrOutput) } +func (o ObjectConditionsOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectConditions] { + return pulumix.Output[ObjectConditions]{ + OutputState: o.OutputState, + } +} + // If you specify `exclude_prefixes`, Storage Transfer Service uses the items in the `exclude_prefixes` array to determine which objects to exclude from a transfer. Objects must not start with one of the matching `exclude_prefixes` for inclusion in a transfer. The following are requirements of `exclude_prefixes`: * Each exclude-prefix can contain any sequence of Unicode characters, to a max length of 1024 bytes when UTF8-encoded, and must not contain Carriage Return or Line Feed characters. Wildcard matching and regular expression matching are not supported. * Each exclude-prefix must omit the leading slash. For example, to exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`, specify the exclude-prefix as `logs/y=2015/requests.gz`. * None of the exclude-prefix values can be empty, if specified. * Each exclude-prefix must exclude a distinct portion of the object namespace. No exclude-prefix may be a prefix of another exclude-prefix. * If include_prefixes is specified, then each exclude-prefix must start with the value of a path explicitly included by `include_prefixes`. The max size of `exclude_prefixes` is 1000. For more information, see [Filtering objects from transfers](/storage-transfer/docs/filtering-objects-from-transfers). func (o ObjectConditionsOutput) ExcludePrefixes() pulumi.StringArrayOutput { return o.ApplyT(func(v ObjectConditions) []string { return v.ExcludePrefixes }).(pulumi.StringArrayOutput) @@ -3116,6 +3525,12 @@ func (o ObjectConditionsPtrOutput) ToObjectConditionsPtrOutputWithContext(ctx co return o } +func (o ObjectConditionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ObjectConditions] { + return pulumix.Output[*ObjectConditions]{ + OutputState: o.OutputState, + } +} + func (o ObjectConditionsPtrOutput) Elem() ObjectConditionsOutput { return o.ApplyT(func(v *ObjectConditions) ObjectConditions { if v != nil { @@ -3217,6 +3632,12 @@ func (o ObjectConditionsResponseOutput) ToObjectConditionsResponseOutputWithCont return o } +func (o ObjectConditionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ObjectConditionsResponse] { + return pulumix.Output[ObjectConditionsResponse]{ + OutputState: o.OutputState, + } +} + // If you specify `exclude_prefixes`, Storage Transfer Service uses the items in the `exclude_prefixes` array to determine which objects to exclude from a transfer. Objects must not start with one of the matching `exclude_prefixes` for inclusion in a transfer. The following are requirements of `exclude_prefixes`: * Each exclude-prefix can contain any sequence of Unicode characters, to a max length of 1024 bytes when UTF8-encoded, and must not contain Carriage Return or Line Feed characters. Wildcard matching and regular expression matching are not supported. * Each exclude-prefix must omit the leading slash. For example, to exclude the object `s3://my-aws-bucket/logs/y=2015/requests.gz`, specify the exclude-prefix as `logs/y=2015/requests.gz`. * None of the exclude-prefix values can be empty, if specified. * Each exclude-prefix must exclude a distinct portion of the object namespace. No exclude-prefix may be a prefix of another exclude-prefix. * If include_prefixes is specified, then each exclude-prefix must start with the value of a path explicitly included by `include_prefixes`. The max size of `exclude_prefixes` is 1000. For more information, see [Filtering objects from transfers](/storage-transfer/docs/filtering-objects-from-transfers). func (o ObjectConditionsResponseOutput) ExcludePrefixes() pulumi.StringArrayOutput { return o.ApplyT(func(v ObjectConditionsResponse) []string { return v.ExcludePrefixes }).(pulumi.StringArrayOutput) @@ -3282,6 +3703,12 @@ func (i PosixFilesystemArgs) ToPosixFilesystemOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PosixFilesystemOutput) } +func (i PosixFilesystemArgs) ToOutput(ctx context.Context) pulumix.Output[PosixFilesystem] { + return pulumix.Output[PosixFilesystem]{ + OutputState: i.ToPosixFilesystemOutputWithContext(ctx).OutputState, + } +} + func (i PosixFilesystemArgs) ToPosixFilesystemPtrOutput() PosixFilesystemPtrOutput { return i.ToPosixFilesystemPtrOutputWithContext(context.Background()) } @@ -3323,6 +3750,12 @@ func (i *posixFilesystemPtrType) ToPosixFilesystemPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(PosixFilesystemPtrOutput) } +func (i *posixFilesystemPtrType) ToOutput(ctx context.Context) pulumix.Output[*PosixFilesystem] { + return pulumix.Output[*PosixFilesystem]{ + OutputState: i.ToPosixFilesystemPtrOutputWithContext(ctx).OutputState, + } +} + // A POSIX filesystem resource. type PosixFilesystemOutput struct{ *pulumi.OutputState } @@ -3348,6 +3781,12 @@ func (o PosixFilesystemOutput) ToPosixFilesystemPtrOutputWithContext(ctx context }).(PosixFilesystemPtrOutput) } +func (o PosixFilesystemOutput) ToOutput(ctx context.Context) pulumix.Output[PosixFilesystem] { + return pulumix.Output[PosixFilesystem]{ + OutputState: o.OutputState, + } +} + // Root directory path to the filesystem. func (o PosixFilesystemOutput) RootDirectory() pulumi.StringPtrOutput { return o.ApplyT(func(v PosixFilesystem) *string { return v.RootDirectory }).(pulumi.StringPtrOutput) @@ -3367,6 +3806,12 @@ func (o PosixFilesystemPtrOutput) ToPosixFilesystemPtrOutputWithContext(ctx cont return o } +func (o PosixFilesystemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PosixFilesystem] { + return pulumix.Output[*PosixFilesystem]{ + OutputState: o.OutputState, + } +} + func (o PosixFilesystemPtrOutput) Elem() PosixFilesystemOutput { return o.ApplyT(func(v *PosixFilesystem) PosixFilesystem { if v != nil { @@ -3408,6 +3853,12 @@ func (o PosixFilesystemResponseOutput) ToPosixFilesystemResponseOutputWithContex return o } +func (o PosixFilesystemResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PosixFilesystemResponse] { + return pulumix.Output[PosixFilesystemResponse]{ + OutputState: o.OutputState, + } +} + // Root directory path to the filesystem. func (o PosixFilesystemResponseOutput) RootDirectory() pulumi.StringOutput { return o.ApplyT(func(v PosixFilesystemResponse) string { return v.RootDirectory }).(pulumi.StringOutput) @@ -3460,6 +3911,12 @@ func (i S3CompatibleMetadataArgs) ToS3CompatibleMetadataOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(S3CompatibleMetadataOutput) } +func (i S3CompatibleMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[S3CompatibleMetadata] { + return pulumix.Output[S3CompatibleMetadata]{ + OutputState: i.ToS3CompatibleMetadataOutputWithContext(ctx).OutputState, + } +} + func (i S3CompatibleMetadataArgs) ToS3CompatibleMetadataPtrOutput() S3CompatibleMetadataPtrOutput { return i.ToS3CompatibleMetadataPtrOutputWithContext(context.Background()) } @@ -3501,6 +3958,12 @@ func (i *s3compatibleMetadataPtrType) ToS3CompatibleMetadataPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(S3CompatibleMetadataPtrOutput) } +func (i *s3compatibleMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*S3CompatibleMetadata] { + return pulumix.Output[*S3CompatibleMetadata]{ + OutputState: i.ToS3CompatibleMetadataPtrOutputWithContext(ctx).OutputState, + } +} + // S3CompatibleMetadata contains the metadata fields that apply to the basic types of S3-compatible data providers. type S3CompatibleMetadataOutput struct{ *pulumi.OutputState } @@ -3526,6 +3989,12 @@ func (o S3CompatibleMetadataOutput) ToS3CompatibleMetadataPtrOutputWithContext(c }).(S3CompatibleMetadataPtrOutput) } +func (o S3CompatibleMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[S3CompatibleMetadata] { + return pulumix.Output[S3CompatibleMetadata]{ + OutputState: o.OutputState, + } +} + // Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use. func (o S3CompatibleMetadataOutput) AuthMethod() S3CompatibleMetadataAuthMethodPtrOutput { return o.ApplyT(func(v S3CompatibleMetadata) *S3CompatibleMetadataAuthMethod { return v.AuthMethod }).(S3CompatibleMetadataAuthMethodPtrOutput) @@ -3560,6 +4029,12 @@ func (o S3CompatibleMetadataPtrOutput) ToS3CompatibleMetadataPtrOutputWithContex return o } +func (o S3CompatibleMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*S3CompatibleMetadata] { + return pulumix.Output[*S3CompatibleMetadata]{ + OutputState: o.OutputState, + } +} + func (o S3CompatibleMetadataPtrOutput) Elem() S3CompatibleMetadataOutput { return o.ApplyT(func(v *S3CompatibleMetadata) S3CompatibleMetadata { if v != nil { @@ -3637,6 +4112,12 @@ func (o S3CompatibleMetadataResponseOutput) ToS3CompatibleMetadataResponseOutput return o } +func (o S3CompatibleMetadataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[S3CompatibleMetadataResponse] { + return pulumix.Output[S3CompatibleMetadataResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the authentication and authorization method used by the storage service. When not specified, Transfer Service will attempt to determine right auth method to use. func (o S3CompatibleMetadataResponseOutput) AuthMethod() pulumi.StringOutput { return o.ApplyT(func(v S3CompatibleMetadataResponse) string { return v.AuthMethod }).(pulumi.StringOutput) @@ -3708,6 +4189,12 @@ func (i ScheduleArgs) ToScheduleOutputWithContext(ctx context.Context) ScheduleO return pulumi.ToOutputWithContext(ctx, i).(ScheduleOutput) } +func (i ScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[Schedule] { + return pulumix.Output[Schedule]{ + OutputState: i.ToScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ScheduleArgs) ToSchedulePtrOutput() SchedulePtrOutput { return i.ToSchedulePtrOutputWithContext(context.Background()) } @@ -3749,6 +4236,12 @@ func (i *schedulePtrType) ToSchedulePtrOutputWithContext(ctx context.Context) Sc return pulumi.ToOutputWithContext(ctx, i).(SchedulePtrOutput) } +func (i *schedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: i.ToSchedulePtrOutputWithContext(ctx).OutputState, + } +} + // Transfers can be scheduled to recur or to run just once. type ScheduleOutput struct{ *pulumi.OutputState } @@ -3774,6 +4267,12 @@ func (o ScheduleOutput) ToSchedulePtrOutputWithContext(ctx context.Context) Sche }).(SchedulePtrOutput) } +func (o ScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[Schedule] { + return pulumix.Output[Schedule]{ + OutputState: o.OutputState, + } +} + // The time in UTC that no further transfer operations are scheduled. Combined with schedule_end_date, `end_time_of_day` specifies the end date and time for starting new transfer operations. This field must be greater than or equal to the timestamp corresponding to the combintation of schedule_start_date and start_time_of_day, and is subject to the following: * If `end_time_of_day` is not set and `schedule_end_date` is set, then a default value of `23:59:59` is used for `end_time_of_day`. * If `end_time_of_day` is set and `schedule_end_date` is not set, then INVALID_ARGUMENT is returned. func (o ScheduleOutput) EndTimeOfDay() TimeOfDayPtrOutput { return o.ApplyT(func(v Schedule) *TimeOfDay { return v.EndTimeOfDay }).(TimeOfDayPtrOutput) @@ -3813,6 +4312,12 @@ func (o SchedulePtrOutput) ToSchedulePtrOutputWithContext(ctx context.Context) S return o } +func (o SchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: o.OutputState, + } +} + func (o SchedulePtrOutput) Elem() ScheduleOutput { return o.ApplyT(func(v *Schedule) Schedule { if v != nil { @@ -3902,6 +4407,12 @@ func (o ScheduleResponseOutput) ToScheduleResponseOutputWithContext(ctx context. return o } +func (o ScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduleResponse] { + return pulumix.Output[ScheduleResponse]{ + OutputState: o.OutputState, + } +} + // The time in UTC that no further transfer operations are scheduled. Combined with schedule_end_date, `end_time_of_day` specifies the end date and time for starting new transfer operations. This field must be greater than or equal to the timestamp corresponding to the combintation of schedule_start_date and start_time_of_day, and is subject to the following: * If `end_time_of_day` is not set and `schedule_end_date` is set, then a default value of `23:59:59` is used for `end_time_of_day`. * If `end_time_of_day` is set and `schedule_end_date` is not set, then INVALID_ARGUMENT is returned. func (o ScheduleResponseOutput) EndTimeOfDay() TimeOfDayResponseOutput { return o.ApplyT(func(v ScheduleResponse) TimeOfDayResponse { return v.EndTimeOfDay }).(TimeOfDayResponseOutput) @@ -3974,6 +4485,12 @@ func (i TimeOfDayArgs) ToTimeOfDayOutputWithContext(ctx context.Context) TimeOfD return pulumi.ToOutputWithContext(ctx, i).(TimeOfDayOutput) } +func (i TimeOfDayArgs) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: i.ToTimeOfDayOutputWithContext(ctx).OutputState, + } +} + func (i TimeOfDayArgs) ToTimeOfDayPtrOutput() TimeOfDayPtrOutput { return i.ToTimeOfDayPtrOutputWithContext(context.Background()) } @@ -4015,6 +4532,12 @@ func (i *timeOfDayPtrType) ToTimeOfDayPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TimeOfDayPtrOutput) } +func (i *timeOfDayPtrType) ToOutput(ctx context.Context) pulumix.Output[*TimeOfDay] { + return pulumix.Output[*TimeOfDay]{ + OutputState: i.ToTimeOfDayPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`. type TimeOfDayOutput struct{ *pulumi.OutputState } @@ -4040,6 +4563,12 @@ func (o TimeOfDayOutput) ToTimeOfDayPtrOutputWithContext(ctx context.Context) Ti }).(TimeOfDayPtrOutput) } +func (o TimeOfDayOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDay] { + return pulumix.Output[TimeOfDay]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayOutput) Hours() pulumi.IntPtrOutput { return o.ApplyT(func(v TimeOfDay) *int { return v.Hours }).(pulumi.IntPtrOutput) @@ -4074,6 +4603,12 @@ func (o TimeOfDayPtrOutput) ToTimeOfDayPtrOutputWithContext(ctx context.Context) return o } +func (o TimeOfDayPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TimeOfDay] { + return pulumix.Output[*TimeOfDay]{ + OutputState: o.OutputState, + } +} + func (o TimeOfDayPtrOutput) Elem() TimeOfDayOutput { return o.ApplyT(func(v *TimeOfDay) TimeOfDay { if v != nil { @@ -4151,6 +4686,12 @@ func (o TimeOfDayResponseOutput) ToTimeOfDayResponseOutputWithContext(ctx contex return o } +func (o TimeOfDayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimeOfDayResponse] { + return pulumix.Output[TimeOfDayResponse]{ + OutputState: o.OutputState, + } +} + // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. func (o TimeOfDayResponseOutput) Hours() pulumi.IntOutput { return o.ApplyT(func(v TimeOfDayResponse) int { return v.Hours }).(pulumi.IntOutput) @@ -4206,6 +4747,12 @@ func (i TransferManifestArgs) ToTransferManifestOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TransferManifestOutput) } +func (i TransferManifestArgs) ToOutput(ctx context.Context) pulumix.Output[TransferManifest] { + return pulumix.Output[TransferManifest]{ + OutputState: i.ToTransferManifestOutputWithContext(ctx).OutputState, + } +} + func (i TransferManifestArgs) ToTransferManifestPtrOutput() TransferManifestPtrOutput { return i.ToTransferManifestPtrOutputWithContext(context.Background()) } @@ -4247,6 +4794,12 @@ func (i *transferManifestPtrType) ToTransferManifestPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(TransferManifestPtrOutput) } +func (i *transferManifestPtrType) ToOutput(ctx context.Context) pulumix.Output[*TransferManifest] { + return pulumix.Output[*TransferManifest]{ + OutputState: i.ToTransferManifestPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies where the manifest is located. type TransferManifestOutput struct{ *pulumi.OutputState } @@ -4272,6 +4825,12 @@ func (o TransferManifestOutput) ToTransferManifestPtrOutputWithContext(ctx conte }).(TransferManifestPtrOutput) } +func (o TransferManifestOutput) ToOutput(ctx context.Context) pulumix.Output[TransferManifest] { + return pulumix.Output[TransferManifest]{ + OutputState: o.OutputState, + } +} + // Specifies the path to the manifest in Cloud Storage. The Google-managed service account for the transfer must have `storage.objects.get` permission for this object. An example path is `gs://bucket_name/path/manifest.csv`. func (o TransferManifestOutput) Location() pulumi.StringPtrOutput { return o.ApplyT(func(v TransferManifest) *string { return v.Location }).(pulumi.StringPtrOutput) @@ -4291,6 +4850,12 @@ func (o TransferManifestPtrOutput) ToTransferManifestPtrOutputWithContext(ctx co return o } +func (o TransferManifestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TransferManifest] { + return pulumix.Output[*TransferManifest]{ + OutputState: o.OutputState, + } +} + func (o TransferManifestPtrOutput) Elem() TransferManifestOutput { return o.ApplyT(func(v *TransferManifest) TransferManifest { if v != nil { @@ -4332,6 +4897,12 @@ func (o TransferManifestResponseOutput) ToTransferManifestResponseOutputWithCont return o } +func (o TransferManifestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TransferManifestResponse] { + return pulumix.Output[TransferManifestResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the path to the manifest in Cloud Storage. The Google-managed service account for the transfer must have `storage.objects.get` permission for this object. An example path is `gs://bucket_name/path/manifest.csv`. func (o TransferManifestResponseOutput) Location() pulumi.StringOutput { return o.ApplyT(func(v TransferManifestResponse) string { return v.Location }).(pulumi.StringOutput) @@ -4388,6 +4959,12 @@ func (i TransferOptionsArgs) ToTransferOptionsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TransferOptionsOutput) } +func (i TransferOptionsArgs) ToOutput(ctx context.Context) pulumix.Output[TransferOptions] { + return pulumix.Output[TransferOptions]{ + OutputState: i.ToTransferOptionsOutputWithContext(ctx).OutputState, + } +} + func (i TransferOptionsArgs) ToTransferOptionsPtrOutput() TransferOptionsPtrOutput { return i.ToTransferOptionsPtrOutputWithContext(context.Background()) } @@ -4429,6 +5006,12 @@ func (i *transferOptionsPtrType) ToTransferOptionsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TransferOptionsPtrOutput) } +func (i *transferOptionsPtrType) ToOutput(ctx context.Context) pulumix.Output[*TransferOptions] { + return pulumix.Output[*TransferOptions]{ + OutputState: i.ToTransferOptionsPtrOutputWithContext(ctx).OutputState, + } +} + // TransferOptions define the actions to be performed on objects in a transfer. type TransferOptionsOutput struct{ *pulumi.OutputState } @@ -4454,6 +5037,12 @@ func (o TransferOptionsOutput) ToTransferOptionsPtrOutputWithContext(ctx context }).(TransferOptionsPtrOutput) } +func (o TransferOptionsOutput) ToOutput(ctx context.Context) pulumix.Output[TransferOptions] { + return pulumix.Output[TransferOptions]{ + OutputState: o.OutputState, + } +} + // Whether objects should be deleted from the source after they are transferred to the sink. **Note:** This option and delete_objects_unique_in_sink are mutually exclusive. func (o TransferOptionsOutput) DeleteObjectsFromSourceAfterTransfer() pulumi.BoolPtrOutput { return o.ApplyT(func(v TransferOptions) *bool { return v.DeleteObjectsFromSourceAfterTransfer }).(pulumi.BoolPtrOutput) @@ -4493,6 +5082,12 @@ func (o TransferOptionsPtrOutput) ToTransferOptionsPtrOutputWithContext(ctx cont return o } +func (o TransferOptionsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TransferOptions] { + return pulumix.Output[*TransferOptions]{ + OutputState: o.OutputState, + } +} + func (o TransferOptionsPtrOutput) Elem() TransferOptionsOutput { return o.ApplyT(func(v *TransferOptions) TransferOptions { if v != nil { @@ -4582,6 +5177,12 @@ func (o TransferOptionsResponseOutput) ToTransferOptionsResponseOutputWithContex return o } +func (o TransferOptionsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TransferOptionsResponse] { + return pulumix.Output[TransferOptionsResponse]{ + OutputState: o.OutputState, + } +} + // Whether objects should be deleted from the source after they are transferred to the sink. **Note:** This option and delete_objects_unique_in_sink are mutually exclusive. func (o TransferOptionsResponseOutput) DeleteObjectsFromSourceAfterTransfer() pulumi.BoolOutput { return o.ApplyT(func(v TransferOptionsResponse) bool { return v.DeleteObjectsFromSourceAfterTransfer }).(pulumi.BoolOutput) @@ -4694,6 +5295,12 @@ func (i TransferSpecArgs) ToTransferSpecOutputWithContext(ctx context.Context) T return pulumi.ToOutputWithContext(ctx, i).(TransferSpecOutput) } +func (i TransferSpecArgs) ToOutput(ctx context.Context) pulumix.Output[TransferSpec] { + return pulumix.Output[TransferSpec]{ + OutputState: i.ToTransferSpecOutputWithContext(ctx).OutputState, + } +} + func (i TransferSpecArgs) ToTransferSpecPtrOutput() TransferSpecPtrOutput { return i.ToTransferSpecPtrOutputWithContext(context.Background()) } @@ -4735,6 +5342,12 @@ func (i *transferSpecPtrType) ToTransferSpecPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(TransferSpecPtrOutput) } +func (i *transferSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*TransferSpec] { + return pulumix.Output[*TransferSpec]{ + OutputState: i.ToTransferSpecPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration for running a transfer. type TransferSpecOutput struct{ *pulumi.OutputState } @@ -4760,6 +5373,12 @@ func (o TransferSpecOutput) ToTransferSpecPtrOutputWithContext(ctx context.Conte }).(TransferSpecPtrOutput) } +func (o TransferSpecOutput) ToOutput(ctx context.Context) pulumix.Output[TransferSpec] { + return pulumix.Output[TransferSpec]{ + OutputState: o.OutputState, + } +} + // An AWS S3 compatible data source. func (o TransferSpecOutput) AwsS3CompatibleDataSource() AwsS3CompatibleDataPtrOutput { return o.ApplyT(func(v TransferSpec) *AwsS3CompatibleData { return v.AwsS3CompatibleDataSource }).(AwsS3CompatibleDataPtrOutput) @@ -4844,6 +5463,12 @@ func (o TransferSpecPtrOutput) ToTransferSpecPtrOutputWithContext(ctx context.Co return o } +func (o TransferSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TransferSpec] { + return pulumix.Output[*TransferSpec]{ + OutputState: o.OutputState, + } +} + func (o TransferSpecPtrOutput) Elem() TransferSpecOutput { return o.ApplyT(func(v *TransferSpec) TransferSpec { if v != nil { @@ -5041,6 +5666,12 @@ func (o TransferSpecResponseOutput) ToTransferSpecResponseOutputWithContext(ctx return o } +func (o TransferSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TransferSpecResponse] { + return pulumix.Output[TransferSpecResponse]{ + OutputState: o.OutputState, + } +} + // An AWS S3 compatible data source. func (o TransferSpecResponseOutput) AwsS3CompatibleDataSource() AwsS3CompatibleDataResponseOutput { return o.ApplyT(func(v TransferSpecResponse) AwsS3CompatibleDataResponse { return v.AwsS3CompatibleDataSource }).(AwsS3CompatibleDataResponseOutput) diff --git a/sdk/go/google/storagetransfer/v1/transferJob.go b/sdk/go/google/storagetransfer/v1/transferJob.go index 349f9d891f..2d68d72440 100644 --- a/sdk/go/google/storagetransfer/v1/transferJob.go +++ b/sdk/go/google/storagetransfer/v1/transferJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a transfer job that runs periodically. @@ -152,6 +153,12 @@ func (i *TransferJob) ToTransferJobOutputWithContext(ctx context.Context) Transf return pulumi.ToOutputWithContext(ctx, i).(TransferJobOutput) } +func (i *TransferJob) ToOutput(ctx context.Context) pulumix.Output[*TransferJob] { + return pulumix.Output[*TransferJob]{ + OutputState: i.ToTransferJobOutputWithContext(ctx).OutputState, + } +} + type TransferJobOutput struct{ *pulumi.OutputState } func (TransferJobOutput) ElementType() reflect.Type { @@ -166,6 +173,12 @@ func (o TransferJobOutput) ToTransferJobOutputWithContext(ctx context.Context) T return o } +func (o TransferJobOutput) ToOutput(ctx context.Context) pulumix.Output[*TransferJob] { + return pulumix.Output[*TransferJob]{ + OutputState: o.OutputState, + } +} + // The time that the transfer job was created. func (o TransferJobOutput) CreationTime() pulumi.StringOutput { return o.ApplyT(func(v *TransferJob) pulumi.StringOutput { return v.CreationTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/testing/v1/getTestMatrix.go b/sdk/go/google/testing/v1/getTestMatrix.go index a749d096ac..25de40354a 100644 --- a/sdk/go/google/testing/v1/getTestMatrix.go +++ b/sdk/go/google/testing/v1/getTestMatrix.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Checks the status of a test matrix and the executions once they are created. The test matrix will contain the list of test executions to run if and only if the resultStorage.toolResultsExecution fields have been populated. Note: Flaky test executions may still be added to the matrix at a later stage. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist @@ -92,6 +93,12 @@ func (o LookupTestMatrixResultOutput) ToLookupTestMatrixResultOutputWithContext( return o } +func (o LookupTestMatrixResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTestMatrixResult] { + return pulumix.Output[LookupTestMatrixResult]{ + OutputState: o.OutputState, + } +} + // Information about the client which invoked the test. func (o LookupTestMatrixResultOutput) ClientInfo() ClientInfoResponseOutput { return o.ApplyT(func(v LookupTestMatrixResult) ClientInfoResponse { return v.ClientInfo }).(ClientInfoResponseOutput) diff --git a/sdk/go/google/testing/v1/pulumiEnums.go b/sdk/go/google/testing/v1/pulumiEnums.go index ef9bbd463d..96802df9be 100644 --- a/sdk/go/google/testing/v1/pulumiEnums.go +++ b/sdk/go/google/testing/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The option of whether running each test within its own invocation of instrumentation with Android Test Orchestrator or not. ** Orchestrator is only compatible with AndroidJUnitRunner version 1.1 or higher! ** Orchestrator offers the following benefits: - No shared state - Crashes are isolated - Logs are scoped per test See for more information about Android Test Orchestrator. If not set, the test will be run without the orchestrator. @@ -82,6 +83,12 @@ func (o AndroidInstrumentationTestOrchestratorOptionOutput) ToAndroidInstrumenta }).(AndroidInstrumentationTestOrchestratorOptionPtrOutput) } +func (o AndroidInstrumentationTestOrchestratorOptionOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidInstrumentationTestOrchestratorOption] { + return pulumix.Output[AndroidInstrumentationTestOrchestratorOption]{ + OutputState: o.OutputState, + } +} + func (o AndroidInstrumentationTestOrchestratorOptionOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o AndroidInstrumentationTestOrchestratorOptionPtrOutput) ToAndroidInstrume return o } +func (o AndroidInstrumentationTestOrchestratorOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidInstrumentationTestOrchestratorOption] { + return pulumix.Output[*AndroidInstrumentationTestOrchestratorOption]{ + OutputState: o.OutputState, + } +} + func (o AndroidInstrumentationTestOrchestratorOptionPtrOutput) Elem() AndroidInstrumentationTestOrchestratorOptionOutput { return o.ApplyT(func(v *AndroidInstrumentationTestOrchestratorOption) AndroidInstrumentationTestOrchestratorOption { if v != nil { @@ -179,6 +192,12 @@ func (in *androidInstrumentationTestOrchestratorOptionPtr) ToAndroidInstrumentat return pulumi.ToOutputWithContext(ctx, in).(AndroidInstrumentationTestOrchestratorOptionPtrOutput) } +func (in *androidInstrumentationTestOrchestratorOptionPtr) ToOutput(ctx context.Context) pulumix.Output[*AndroidInstrumentationTestOrchestratorOption] { + return pulumix.Output[*AndroidInstrumentationTestOrchestratorOption]{ + OutputState: in.ToAndroidInstrumentationTestOrchestratorOptionPtrOutputWithContext(ctx).OutputState, + } +} + // The mode in which Robo should run. Most clients should allow the server to populate this field automatically. type AndroidRoboTestRoboMode string @@ -251,6 +270,12 @@ func (o AndroidRoboTestRoboModeOutput) ToAndroidRoboTestRoboModePtrOutputWithCon }).(AndroidRoboTestRoboModePtrOutput) } +func (o AndroidRoboTestRoboModeOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidRoboTestRoboMode] { + return pulumix.Output[AndroidRoboTestRoboMode]{ + OutputState: o.OutputState, + } +} + func (o AndroidRoboTestRoboModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o AndroidRoboTestRoboModePtrOutput) ToAndroidRoboTestRoboModePtrOutputWith return o } +func (o AndroidRoboTestRoboModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidRoboTestRoboMode] { + return pulumix.Output[*AndroidRoboTestRoboMode]{ + OutputState: o.OutputState, + } +} + func (o AndroidRoboTestRoboModePtrOutput) Elem() AndroidRoboTestRoboModeOutput { return o.ApplyT(func(v *AndroidRoboTestRoboMode) AndroidRoboTestRoboMode { if v != nil { @@ -348,6 +379,12 @@ func (in *androidRoboTestRoboModePtr) ToAndroidRoboTestRoboModePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(AndroidRoboTestRoboModePtrOutput) } +func (in *androidRoboTestRoboModePtr) ToOutput(ctx context.Context) pulumix.Output[*AndroidRoboTestRoboMode] { + return pulumix.Output[*AndroidRoboTestRoboMode]{ + OutputState: in.ToAndroidRoboTestRoboModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. The type of action that Robo should perform on the specified element. type RoboDirectiveActionType string @@ -422,6 +459,12 @@ func (o RoboDirectiveActionTypeOutput) ToRoboDirectiveActionTypePtrOutputWithCon }).(RoboDirectiveActionTypePtrOutput) } +func (o RoboDirectiveActionTypeOutput) ToOutput(ctx context.Context) pulumix.Output[RoboDirectiveActionType] { + return pulumix.Output[RoboDirectiveActionType]{ + OutputState: o.OutputState, + } +} + func (o RoboDirectiveActionTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o RoboDirectiveActionTypePtrOutput) ToRoboDirectiveActionTypePtrOutputWith return o } +func (o RoboDirectiveActionTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RoboDirectiveActionType] { + return pulumix.Output[*RoboDirectiveActionType]{ + OutputState: o.OutputState, + } +} + func (o RoboDirectiveActionTypePtrOutput) Elem() RoboDirectiveActionTypeOutput { return o.ApplyT(func(v *RoboDirectiveActionType) RoboDirectiveActionType { if v != nil { @@ -519,6 +568,12 @@ func (in *roboDirectiveActionTypePtr) ToRoboDirectiveActionTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(RoboDirectiveActionTypePtrOutput) } +func (in *roboDirectiveActionTypePtr) ToOutput(ctx context.Context) pulumix.Output[*RoboDirectiveActionType] { + return pulumix.Output[*RoboDirectiveActionType]{ + OutputState: in.ToRoboDirectiveActionTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AndroidInstrumentationTestOrchestratorOptionInput)(nil)).Elem(), AndroidInstrumentationTestOrchestratorOption("ORCHESTRATOR_OPTION_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AndroidInstrumentationTestOrchestratorOptionPtrInput)(nil)).Elem(), AndroidInstrumentationTestOrchestratorOption("ORCHESTRATOR_OPTION_UNSPECIFIED")) diff --git a/sdk/go/google/testing/v1/pulumiTypes.go b/sdk/go/google/testing/v1/pulumiTypes.go index 4dfa151755..febcd118e3 100644 --- a/sdk/go/google/testing/v1/pulumiTypes.go +++ b/sdk/go/google/testing/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i AccountArgs) ToAccountOutputWithContext(ctx context.Context) AccountOutp return pulumi.ToOutputWithContext(ctx, i).(AccountOutput) } +func (i AccountArgs) ToOutput(ctx context.Context) pulumix.Output[Account] { + return pulumix.Output[Account]{ + OutputState: i.ToAccountOutputWithContext(ctx).OutputState, + } +} + func (i AccountArgs) ToAccountPtrOutput() AccountPtrOutput { return i.ToAccountPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *accountPtrType) ToAccountPtrOutputWithContext(ctx context.Context) Acco return pulumi.ToOutputWithContext(ctx, i).(AccountPtrOutput) } +func (i *accountPtrType) ToOutput(ctx context.Context) pulumix.Output[*Account] { + return pulumix.Output[*Account]{ + OutputState: i.ToAccountPtrOutputWithContext(ctx).OutputState, + } +} + // Identifies an account and how to log into it. type AccountOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o AccountOutput) ToAccountPtrOutputWithContext(ctx context.Context) Accoun }).(AccountPtrOutput) } +func (o AccountOutput) ToOutput(ctx context.Context) pulumix.Output[Account] { + return pulumix.Output[Account]{ + OutputState: o.OutputState, + } +} + // An automatic google login account. func (o AccountOutput) GoogleAuto() GoogleAutoPtrOutput { return o.ApplyT(func(v Account) *GoogleAuto { return v.GoogleAuto }).(GoogleAutoPtrOutput) @@ -133,6 +152,12 @@ func (o AccountPtrOutput) ToAccountPtrOutputWithContext(ctx context.Context) Acc return o } +func (o AccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Account] { + return pulumix.Output[*Account]{ + OutputState: o.OutputState, + } +} + func (o AccountPtrOutput) Elem() AccountOutput { return o.ApplyT(func(v *Account) Account { if v != nil { @@ -174,6 +199,12 @@ func (o AccountResponseOutput) ToAccountResponseOutputWithContext(ctx context.Co return o } +func (o AccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AccountResponse] { + return pulumix.Output[AccountResponse]{ + OutputState: o.OutputState, + } +} + // An automatic google login account. func (o AccountResponseOutput) GoogleAuto() GoogleAutoResponseOutput { return o.ApplyT(func(v AccountResponse) GoogleAutoResponse { return v.GoogleAuto }).(GoogleAutoResponseOutput) @@ -226,6 +257,12 @@ func (i AndroidDeviceArgs) ToAndroidDeviceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AndroidDeviceOutput) } +func (i AndroidDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidDevice] { + return pulumix.Output[AndroidDevice]{ + OutputState: i.ToAndroidDeviceOutputWithContext(ctx).OutputState, + } +} + // AndroidDeviceArrayInput is an input type that accepts AndroidDeviceArray and AndroidDeviceArrayOutput values. // You can construct a concrete instance of `AndroidDeviceArrayInput` via: // @@ -251,6 +288,12 @@ func (i AndroidDeviceArray) ToAndroidDeviceArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AndroidDeviceArrayOutput) } +func (i AndroidDeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]AndroidDevice] { + return pulumix.Output[[]AndroidDevice]{ + OutputState: i.ToAndroidDeviceArrayOutputWithContext(ctx).OutputState, + } +} + // A single Android device. type AndroidDeviceOutput struct{ *pulumi.OutputState } @@ -266,6 +309,12 @@ func (o AndroidDeviceOutput) ToAndroidDeviceOutputWithContext(ctx context.Contex return o } +func (o AndroidDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidDevice] { + return pulumix.Output[AndroidDevice]{ + OutputState: o.OutputState, + } +} + // The id of the Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options. func (o AndroidDeviceOutput) AndroidModelId() pulumi.StringOutput { return o.ApplyT(func(v AndroidDevice) string { return v.AndroidModelId }).(pulumi.StringOutput) @@ -300,6 +349,12 @@ func (o AndroidDeviceArrayOutput) ToAndroidDeviceArrayOutputWithContext(ctx cont return o } +func (o AndroidDeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AndroidDevice] { + return pulumix.Output[[]AndroidDevice]{ + OutputState: o.OutputState, + } +} + func (o AndroidDeviceArrayOutput) Index(i pulumi.IntInput) AndroidDeviceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AndroidDevice { return vs[0].([]AndroidDevice)[vs[1].(int)] @@ -341,6 +396,12 @@ func (i AndroidDeviceListArgs) ToAndroidDeviceListOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AndroidDeviceListOutput) } +func (i AndroidDeviceListArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidDeviceList] { + return pulumix.Output[AndroidDeviceList]{ + OutputState: i.ToAndroidDeviceListOutputWithContext(ctx).OutputState, + } +} + func (i AndroidDeviceListArgs) ToAndroidDeviceListPtrOutput() AndroidDeviceListPtrOutput { return i.ToAndroidDeviceListPtrOutputWithContext(context.Background()) } @@ -382,6 +443,12 @@ func (i *androidDeviceListPtrType) ToAndroidDeviceListPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AndroidDeviceListPtrOutput) } +func (i *androidDeviceListPtrType) ToOutput(ctx context.Context) pulumix.Output[*AndroidDeviceList] { + return pulumix.Output[*AndroidDeviceList]{ + OutputState: i.ToAndroidDeviceListPtrOutputWithContext(ctx).OutputState, + } +} + // A list of Android device configurations in which the test is to be executed. type AndroidDeviceListOutput struct{ *pulumi.OutputState } @@ -407,6 +474,12 @@ func (o AndroidDeviceListOutput) ToAndroidDeviceListPtrOutputWithContext(ctx con }).(AndroidDeviceListPtrOutput) } +func (o AndroidDeviceListOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidDeviceList] { + return pulumix.Output[AndroidDeviceList]{ + OutputState: o.OutputState, + } +} + // A list of Android devices. func (o AndroidDeviceListOutput) AndroidDevices() AndroidDeviceArrayOutput { return o.ApplyT(func(v AndroidDeviceList) []AndroidDevice { return v.AndroidDevices }).(AndroidDeviceArrayOutput) @@ -426,6 +499,12 @@ func (o AndroidDeviceListPtrOutput) ToAndroidDeviceListPtrOutputWithContext(ctx return o } +func (o AndroidDeviceListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidDeviceList] { + return pulumix.Output[*AndroidDeviceList]{ + OutputState: o.OutputState, + } +} + func (o AndroidDeviceListPtrOutput) Elem() AndroidDeviceListOutput { return o.ApplyT(func(v *AndroidDeviceList) AndroidDeviceList { if v != nil { @@ -467,6 +546,12 @@ func (o AndroidDeviceListResponseOutput) ToAndroidDeviceListResponseOutputWithCo return o } +func (o AndroidDeviceListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidDeviceListResponse] { + return pulumix.Output[AndroidDeviceListResponse]{ + OutputState: o.OutputState, + } +} + // A list of Android devices. func (o AndroidDeviceListResponseOutput) AndroidDevices() AndroidDeviceResponseArrayOutput { return o.ApplyT(func(v AndroidDeviceListResponse) []AndroidDeviceResponse { return v.AndroidDevices }).(AndroidDeviceResponseArrayOutput) @@ -499,6 +584,12 @@ func (o AndroidDeviceResponseOutput) ToAndroidDeviceResponseOutputWithContext(ct return o } +func (o AndroidDeviceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidDeviceResponse] { + return pulumix.Output[AndroidDeviceResponse]{ + OutputState: o.OutputState, + } +} + // The id of the Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options. func (o AndroidDeviceResponseOutput) AndroidModelId() pulumi.StringOutput { return o.ApplyT(func(v AndroidDeviceResponse) string { return v.AndroidModelId }).(pulumi.StringOutput) @@ -533,6 +624,12 @@ func (o AndroidDeviceResponseArrayOutput) ToAndroidDeviceResponseArrayOutputWith return o } +func (o AndroidDeviceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AndroidDeviceResponse] { + return pulumix.Output[[]AndroidDeviceResponse]{ + OutputState: o.OutputState, + } +} + func (o AndroidDeviceResponseArrayOutput) Index(i pulumi.IntInput) AndroidDeviceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AndroidDeviceResponse { return vs[0].([]AndroidDeviceResponse)[vs[1].(int)] @@ -606,6 +703,12 @@ func (i AndroidInstrumentationTestArgs) ToAndroidInstrumentationTestOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(AndroidInstrumentationTestOutput) } +func (i AndroidInstrumentationTestArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidInstrumentationTest] { + return pulumix.Output[AndroidInstrumentationTest]{ + OutputState: i.ToAndroidInstrumentationTestOutputWithContext(ctx).OutputState, + } +} + func (i AndroidInstrumentationTestArgs) ToAndroidInstrumentationTestPtrOutput() AndroidInstrumentationTestPtrOutput { return i.ToAndroidInstrumentationTestPtrOutputWithContext(context.Background()) } @@ -647,6 +750,12 @@ func (i *androidInstrumentationTestPtrType) ToAndroidInstrumentationTestPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(AndroidInstrumentationTestPtrOutput) } +func (i *androidInstrumentationTestPtrType) ToOutput(ctx context.Context) pulumix.Output[*AndroidInstrumentationTest] { + return pulumix.Output[*AndroidInstrumentationTest]{ + OutputState: i.ToAndroidInstrumentationTestPtrOutputWithContext(ctx).OutputState, + } +} + // A test of an Android application that can control an Android component independently of its normal lifecycle. Android instrumentation tests run an application APK and test APK inside the same process on a virtual or physical AndroidDevice. They also specify a test runner class, such as com.google.GoogleTestRunner, which can vary on the specific instrumentation framework chosen. See for more information on types of Android tests. type AndroidInstrumentationTestOutput struct{ *pulumi.OutputState } @@ -672,6 +781,12 @@ func (o AndroidInstrumentationTestOutput) ToAndroidInstrumentationTestPtrOutputW }).(AndroidInstrumentationTestPtrOutput) } +func (o AndroidInstrumentationTestOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidInstrumentationTest] { + return pulumix.Output[AndroidInstrumentationTest]{ + OutputState: o.OutputState, + } +} + // The APK for the application under test. func (o AndroidInstrumentationTestOutput) AppApk() FileReferencePtrOutput { return o.ApplyT(func(v AndroidInstrumentationTest) *FileReference { return v.AppApk }).(FileReferencePtrOutput) @@ -733,6 +848,12 @@ func (o AndroidInstrumentationTestPtrOutput) ToAndroidInstrumentationTestPtrOutp return o } +func (o AndroidInstrumentationTestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidInstrumentationTest] { + return pulumix.Output[*AndroidInstrumentationTest]{ + OutputState: o.OutputState, + } +} + func (o AndroidInstrumentationTestPtrOutput) Elem() AndroidInstrumentationTestOutput { return o.ApplyT(func(v *AndroidInstrumentationTest) AndroidInstrumentationTest { if v != nil { @@ -870,6 +991,12 @@ func (o AndroidInstrumentationTestResponseOutput) ToAndroidInstrumentationTestRe return o } +func (o AndroidInstrumentationTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidInstrumentationTestResponse] { + return pulumix.Output[AndroidInstrumentationTestResponse]{ + OutputState: o.OutputState, + } +} + // The APK for the application under test. func (o AndroidInstrumentationTestResponseOutput) AppApk() FileReferenceResponseOutput { return o.ApplyT(func(v AndroidInstrumentationTestResponse) FileReferenceResponse { return v.AppApk }).(FileReferenceResponseOutput) @@ -962,6 +1089,12 @@ func (i AndroidMatrixArgs) ToAndroidMatrixOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AndroidMatrixOutput) } +func (i AndroidMatrixArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidMatrix] { + return pulumix.Output[AndroidMatrix]{ + OutputState: i.ToAndroidMatrixOutputWithContext(ctx).OutputState, + } +} + func (i AndroidMatrixArgs) ToAndroidMatrixPtrOutput() AndroidMatrixPtrOutput { return i.ToAndroidMatrixPtrOutputWithContext(context.Background()) } @@ -1003,6 +1136,12 @@ func (i *androidMatrixPtrType) ToAndroidMatrixPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AndroidMatrixPtrOutput) } +func (i *androidMatrixPtrType) ToOutput(ctx context.Context) pulumix.Output[*AndroidMatrix] { + return pulumix.Output[*AndroidMatrix]{ + OutputState: i.ToAndroidMatrixPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Android device configuration permutations is defined by the the cross-product of the given axes. Internally, the given AndroidMatrix will be expanded into a set of AndroidDevices. Only supported permutations will be instantiated. Invalid permutations (e.g., incompatible models/versions) are ignored. type AndroidMatrixOutput struct{ *pulumi.OutputState } @@ -1028,6 +1167,12 @@ func (o AndroidMatrixOutput) ToAndroidMatrixPtrOutputWithContext(ctx context.Con }).(AndroidMatrixPtrOutput) } +func (o AndroidMatrixOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidMatrix] { + return pulumix.Output[AndroidMatrix]{ + OutputState: o.OutputState, + } +} + // The ids of the set of Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options. func (o AndroidMatrixOutput) AndroidModelIds() pulumi.StringArrayOutput { return o.ApplyT(func(v AndroidMatrix) []string { return v.AndroidModelIds }).(pulumi.StringArrayOutput) @@ -1062,6 +1207,12 @@ func (o AndroidMatrixPtrOutput) ToAndroidMatrixPtrOutputWithContext(ctx context. return o } +func (o AndroidMatrixPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidMatrix] { + return pulumix.Output[*AndroidMatrix]{ + OutputState: o.OutputState, + } +} + func (o AndroidMatrixPtrOutput) Elem() AndroidMatrixOutput { return o.ApplyT(func(v *AndroidMatrix) AndroidMatrix { if v != nil { @@ -1139,6 +1290,12 @@ func (o AndroidMatrixResponseOutput) ToAndroidMatrixResponseOutputWithContext(ct return o } +func (o AndroidMatrixResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidMatrixResponse] { + return pulumix.Output[AndroidMatrixResponse]{ + OutputState: o.OutputState, + } +} + // The ids of the set of Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options. func (o AndroidMatrixResponseOutput) AndroidModelIds() pulumi.StringArrayOutput { return o.ApplyT(func(v AndroidMatrixResponse) []string { return v.AndroidModelIds }).(pulumi.StringArrayOutput) @@ -1230,6 +1387,12 @@ func (i AndroidRoboTestArgs) ToAndroidRoboTestOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AndroidRoboTestOutput) } +func (i AndroidRoboTestArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidRoboTest] { + return pulumix.Output[AndroidRoboTest]{ + OutputState: i.ToAndroidRoboTestOutputWithContext(ctx).OutputState, + } +} + func (i AndroidRoboTestArgs) ToAndroidRoboTestPtrOutput() AndroidRoboTestPtrOutput { return i.ToAndroidRoboTestPtrOutputWithContext(context.Background()) } @@ -1271,6 +1434,12 @@ func (i *androidRoboTestPtrType) ToAndroidRoboTestPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AndroidRoboTestPtrOutput) } +func (i *androidRoboTestPtrType) ToOutput(ctx context.Context) pulumix.Output[*AndroidRoboTest] { + return pulumix.Output[*AndroidRoboTest]{ + OutputState: i.ToAndroidRoboTestPtrOutputWithContext(ctx).OutputState, + } +} + // A test of an android application that explores the application on a virtual or physical Android Device, finding culprits and crashes as it goes. type AndroidRoboTestOutput struct{ *pulumi.OutputState } @@ -1296,6 +1465,12 @@ func (o AndroidRoboTestOutput) ToAndroidRoboTestPtrOutputWithContext(ctx context }).(AndroidRoboTestPtrOutput) } +func (o AndroidRoboTestOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidRoboTest] { + return pulumix.Output[AndroidRoboTest]{ + OutputState: o.OutputState, + } +} + // The APK for the application under test. func (o AndroidRoboTestOutput) AppApk() FileReferencePtrOutput { return o.ApplyT(func(v AndroidRoboTest) *FileReference { return v.AppApk }).(FileReferencePtrOutput) @@ -1360,6 +1535,12 @@ func (o AndroidRoboTestPtrOutput) ToAndroidRoboTestPtrOutputWithContext(ctx cont return o } +func (o AndroidRoboTestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidRoboTest] { + return pulumix.Output[*AndroidRoboTest]{ + OutputState: o.OutputState, + } +} + func (o AndroidRoboTestPtrOutput) Elem() AndroidRoboTestOutput { return o.ApplyT(func(v *AndroidRoboTest) AndroidRoboTest { if v != nil { @@ -1509,6 +1690,12 @@ func (o AndroidRoboTestResponseOutput) ToAndroidRoboTestResponseOutputWithContex return o } +func (o AndroidRoboTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidRoboTestResponse] { + return pulumix.Output[AndroidRoboTestResponse]{ + OutputState: o.OutputState, + } +} + // The APK for the application under test. func (o AndroidRoboTestResponseOutput) AppApk() FileReferenceResponseOutput { return o.ApplyT(func(v AndroidRoboTestResponse) FileReferenceResponse { return v.AppApk }).(FileReferenceResponseOutput) @@ -1610,6 +1797,12 @@ func (i AndroidTestLoopArgs) ToAndroidTestLoopOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AndroidTestLoopOutput) } +func (i AndroidTestLoopArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidTestLoop] { + return pulumix.Output[AndroidTestLoop]{ + OutputState: i.ToAndroidTestLoopOutputWithContext(ctx).OutputState, + } +} + func (i AndroidTestLoopArgs) ToAndroidTestLoopPtrOutput() AndroidTestLoopPtrOutput { return i.ToAndroidTestLoopPtrOutputWithContext(context.Background()) } @@ -1651,6 +1844,12 @@ func (i *androidTestLoopPtrType) ToAndroidTestLoopPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AndroidTestLoopPtrOutput) } +func (i *androidTestLoopPtrType) ToOutput(ctx context.Context) pulumix.Output[*AndroidTestLoop] { + return pulumix.Output[*AndroidTestLoop]{ + OutputState: i.ToAndroidTestLoopPtrOutputWithContext(ctx).OutputState, + } +} + // A test of an Android Application with a Test Loop. The intent \ will be implicitly added, since Games is the only user of this api, for the time being. type AndroidTestLoopOutput struct{ *pulumi.OutputState } @@ -1676,6 +1875,12 @@ func (o AndroidTestLoopOutput) ToAndroidTestLoopPtrOutputWithContext(ctx context }).(AndroidTestLoopPtrOutput) } +func (o AndroidTestLoopOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidTestLoop] { + return pulumix.Output[AndroidTestLoop]{ + OutputState: o.OutputState, + } +} + // The APK for the application under test. func (o AndroidTestLoopOutput) AppApk() FileReferencePtrOutput { return o.ApplyT(func(v AndroidTestLoop) *FileReference { return v.AppApk }).(FileReferencePtrOutput) @@ -1715,6 +1920,12 @@ func (o AndroidTestLoopPtrOutput) ToAndroidTestLoopPtrOutputWithContext(ctx cont return o } +func (o AndroidTestLoopPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidTestLoop] { + return pulumix.Output[*AndroidTestLoop]{ + OutputState: o.OutputState, + } +} + func (o AndroidTestLoopPtrOutput) Elem() AndroidTestLoopOutput { return o.ApplyT(func(v *AndroidTestLoop) AndroidTestLoop { if v != nil { @@ -1804,6 +2015,12 @@ func (o AndroidTestLoopResponseOutput) ToAndroidTestLoopResponseOutputWithContex return o } +func (o AndroidTestLoopResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidTestLoopResponse] { + return pulumix.Output[AndroidTestLoopResponse]{ + OutputState: o.OutputState, + } +} + // The APK for the application under test. func (o AndroidTestLoopResponseOutput) AppApk() FileReferenceResponseOutput { return o.ApplyT(func(v AndroidTestLoopResponse) FileReferenceResponse { return v.AppApk }).(FileReferenceResponseOutput) @@ -1868,6 +2085,12 @@ func (i ApkArgs) ToApkOutputWithContext(ctx context.Context) ApkOutput { return pulumi.ToOutputWithContext(ctx, i).(ApkOutput) } +func (i ApkArgs) ToOutput(ctx context.Context) pulumix.Output[Apk] { + return pulumix.Output[Apk]{ + OutputState: i.ToApkOutputWithContext(ctx).OutputState, + } +} + // ApkArrayInput is an input type that accepts ApkArray and ApkArrayOutput values. // You can construct a concrete instance of `ApkArrayInput` via: // @@ -1893,6 +2116,12 @@ func (i ApkArray) ToApkArrayOutputWithContext(ctx context.Context) ApkArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(ApkArrayOutput) } +func (i ApkArray) ToOutput(ctx context.Context) pulumix.Output[[]Apk] { + return pulumix.Output[[]Apk]{ + OutputState: i.ToApkArrayOutputWithContext(ctx).OutputState, + } +} + // An Android package file to install. type ApkOutput struct{ *pulumi.OutputState } @@ -1908,6 +2137,12 @@ func (o ApkOutput) ToApkOutputWithContext(ctx context.Context) ApkOutput { return o } +func (o ApkOutput) ToOutput(ctx context.Context) pulumix.Output[Apk] { + return pulumix.Output[Apk]{ + OutputState: o.OutputState, + } +} + // The path to an APK to be installed on the device before the test begins. func (o ApkOutput) Location() FileReferencePtrOutput { return o.ApplyT(func(v Apk) *FileReference { return v.Location }).(FileReferencePtrOutput) @@ -1932,6 +2167,12 @@ func (o ApkArrayOutput) ToApkArrayOutputWithContext(ctx context.Context) ApkArra return o } +func (o ApkArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Apk] { + return pulumix.Output[[]Apk]{ + OutputState: o.OutputState, + } +} + func (o ApkArrayOutput) Index(i pulumi.IntInput) ApkOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Apk { return vs[0].([]Apk)[vs[1].(int)] @@ -1961,6 +2202,12 @@ func (o ApkResponseOutput) ToApkResponseOutputWithContext(ctx context.Context) A return o } +func (o ApkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApkResponse] { + return pulumix.Output[ApkResponse]{ + OutputState: o.OutputState, + } +} + // The path to an APK to be installed on the device before the test begins. func (o ApkResponseOutput) Location() FileReferenceResponseOutput { return o.ApplyT(func(v ApkResponse) FileReferenceResponse { return v.Location }).(FileReferenceResponseOutput) @@ -1985,6 +2232,12 @@ func (o ApkResponseArrayOutput) ToApkResponseArrayOutputWithContext(ctx context. return o } +func (o ApkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ApkResponse] { + return pulumix.Output[[]ApkResponse]{ + OutputState: o.OutputState, + } +} + func (o ApkResponseArrayOutput) Index(i pulumi.IntInput) ApkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApkResponse { return vs[0].([]ApkResponse)[vs[1].(int)] @@ -2026,6 +2279,12 @@ func (i AppBundleArgs) ToAppBundleOutputWithContext(ctx context.Context) AppBund return pulumi.ToOutputWithContext(ctx, i).(AppBundleOutput) } +func (i AppBundleArgs) ToOutput(ctx context.Context) pulumix.Output[AppBundle] { + return pulumix.Output[AppBundle]{ + OutputState: i.ToAppBundleOutputWithContext(ctx).OutputState, + } +} + func (i AppBundleArgs) ToAppBundlePtrOutput() AppBundlePtrOutput { return i.ToAppBundlePtrOutputWithContext(context.Background()) } @@ -2067,6 +2326,12 @@ func (i *appBundlePtrType) ToAppBundlePtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AppBundlePtrOutput) } +func (i *appBundlePtrType) ToOutput(ctx context.Context) pulumix.Output[*AppBundle] { + return pulumix.Output[*AppBundle]{ + OutputState: i.ToAppBundlePtrOutputWithContext(ctx).OutputState, + } +} + // An Android App Bundle file format, containing a BundleConfig.pb file, a base module directory, zero or more dynamic feature module directories. See https://developer.android.com/guide/app-bundle/build for guidance on building App Bundles. type AppBundleOutput struct{ *pulumi.OutputState } @@ -2092,6 +2357,12 @@ func (o AppBundleOutput) ToAppBundlePtrOutputWithContext(ctx context.Context) Ap }).(AppBundlePtrOutput) } +func (o AppBundleOutput) ToOutput(ctx context.Context) pulumix.Output[AppBundle] { + return pulumix.Output[AppBundle]{ + OutputState: o.OutputState, + } +} + // .aab file representing the app bundle under test. func (o AppBundleOutput) BundleLocation() FileReferencePtrOutput { return o.ApplyT(func(v AppBundle) *FileReference { return v.BundleLocation }).(FileReferencePtrOutput) @@ -2111,6 +2382,12 @@ func (o AppBundlePtrOutput) ToAppBundlePtrOutputWithContext(ctx context.Context) return o } +func (o AppBundlePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AppBundle] { + return pulumix.Output[*AppBundle]{ + OutputState: o.OutputState, + } +} + func (o AppBundlePtrOutput) Elem() AppBundleOutput { return o.ApplyT(func(v *AppBundle) AppBundle { if v != nil { @@ -2152,6 +2429,12 @@ func (o AppBundleResponseOutput) ToAppBundleResponseOutputWithContext(ctx contex return o } +func (o AppBundleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppBundleResponse] { + return pulumix.Output[AppBundleResponse]{ + OutputState: o.OutputState, + } +} + // .aab file representing the app bundle under test. func (o AppBundleResponseOutput) BundleLocation() FileReferenceResponseOutput { return o.ApplyT(func(v AppBundleResponse) FileReferenceResponse { return v.BundleLocation }).(FileReferenceResponseOutput) @@ -2196,6 +2479,12 @@ func (i ClientInfoArgs) ToClientInfoOutputWithContext(ctx context.Context) Clien return pulumi.ToOutputWithContext(ctx, i).(ClientInfoOutput) } +func (i ClientInfoArgs) ToOutput(ctx context.Context) pulumix.Output[ClientInfo] { + return pulumix.Output[ClientInfo]{ + OutputState: i.ToClientInfoOutputWithContext(ctx).OutputState, + } +} + func (i ClientInfoArgs) ToClientInfoPtrOutput() ClientInfoPtrOutput { return i.ToClientInfoPtrOutputWithContext(context.Background()) } @@ -2237,6 +2526,12 @@ func (i *clientInfoPtrType) ToClientInfoPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ClientInfoPtrOutput) } +func (i *clientInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*ClientInfo] { + return pulumix.Output[*ClientInfo]{ + OutputState: i.ToClientInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Information about the client which invoked the test. type ClientInfoOutput struct{ *pulumi.OutputState } @@ -2262,6 +2557,12 @@ func (o ClientInfoOutput) ToClientInfoPtrOutputWithContext(ctx context.Context) }).(ClientInfoPtrOutput) } +func (o ClientInfoOutput) ToOutput(ctx context.Context) pulumix.Output[ClientInfo] { + return pulumix.Output[ClientInfo]{ + OutputState: o.OutputState, + } +} + // The list of detailed information about client. func (o ClientInfoOutput) ClientInfoDetails() ClientInfoDetailArrayOutput { return o.ApplyT(func(v ClientInfo) []ClientInfoDetail { return v.ClientInfoDetails }).(ClientInfoDetailArrayOutput) @@ -2286,6 +2587,12 @@ func (o ClientInfoPtrOutput) ToClientInfoPtrOutputWithContext(ctx context.Contex return o } +func (o ClientInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ClientInfo] { + return pulumix.Output[*ClientInfo]{ + OutputState: o.OutputState, + } +} + func (o ClientInfoPtrOutput) Elem() ClientInfoOutput { return o.ApplyT(func(v *ClientInfo) ClientInfo { if v != nil { @@ -2355,6 +2662,12 @@ func (i ClientInfoDetailArgs) ToClientInfoDetailOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ClientInfoDetailOutput) } +func (i ClientInfoDetailArgs) ToOutput(ctx context.Context) pulumix.Output[ClientInfoDetail] { + return pulumix.Output[ClientInfoDetail]{ + OutputState: i.ToClientInfoDetailOutputWithContext(ctx).OutputState, + } +} + // ClientInfoDetailArrayInput is an input type that accepts ClientInfoDetailArray and ClientInfoDetailArrayOutput values. // You can construct a concrete instance of `ClientInfoDetailArrayInput` via: // @@ -2380,6 +2693,12 @@ func (i ClientInfoDetailArray) ToClientInfoDetailArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ClientInfoDetailArrayOutput) } +func (i ClientInfoDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]ClientInfoDetail] { + return pulumix.Output[[]ClientInfoDetail]{ + OutputState: i.ToClientInfoDetailArrayOutputWithContext(ctx).OutputState, + } +} + // Key-value pair of detailed information about the client which invoked the test. Examples: {'Version', '1.0'}, {'Release Track', 'BETA'}. type ClientInfoDetailOutput struct{ *pulumi.OutputState } @@ -2395,6 +2714,12 @@ func (o ClientInfoDetailOutput) ToClientInfoDetailOutputWithContext(ctx context. return o } +func (o ClientInfoDetailOutput) ToOutput(ctx context.Context) pulumix.Output[ClientInfoDetail] { + return pulumix.Output[ClientInfoDetail]{ + OutputState: o.OutputState, + } +} + // The key of detailed client information. func (o ClientInfoDetailOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v ClientInfoDetail) string { return v.Key }).(pulumi.StringOutput) @@ -2419,6 +2744,12 @@ func (o ClientInfoDetailArrayOutput) ToClientInfoDetailArrayOutputWithContext(ct return o } +func (o ClientInfoDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClientInfoDetail] { + return pulumix.Output[[]ClientInfoDetail]{ + OutputState: o.OutputState, + } +} + func (o ClientInfoDetailArrayOutput) Index(i pulumi.IntInput) ClientInfoDetailOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClientInfoDetail { return vs[0].([]ClientInfoDetail)[vs[1].(int)] @@ -2448,6 +2779,12 @@ func (o ClientInfoDetailResponseOutput) ToClientInfoDetailResponseOutputWithCont return o } +func (o ClientInfoDetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClientInfoDetailResponse] { + return pulumix.Output[ClientInfoDetailResponse]{ + OutputState: o.OutputState, + } +} + // The key of detailed client information. func (o ClientInfoDetailResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v ClientInfoDetailResponse) string { return v.Key }).(pulumi.StringOutput) @@ -2472,6 +2809,12 @@ func (o ClientInfoDetailResponseArrayOutput) ToClientInfoDetailResponseArrayOutp return o } +func (o ClientInfoDetailResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClientInfoDetailResponse] { + return pulumix.Output[[]ClientInfoDetailResponse]{ + OutputState: o.OutputState, + } +} + func (o ClientInfoDetailResponseArrayOutput) Index(i pulumi.IntInput) ClientInfoDetailResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClientInfoDetailResponse { return vs[0].([]ClientInfoDetailResponse)[vs[1].(int)] @@ -2501,6 +2844,12 @@ func (o ClientInfoResponseOutput) ToClientInfoResponseOutputWithContext(ctx cont return o } +func (o ClientInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ClientInfoResponse] { + return pulumix.Output[ClientInfoResponse]{ + OutputState: o.OutputState, + } +} + // The list of detailed information about client. func (o ClientInfoResponseOutput) ClientInfoDetails() ClientInfoDetailResponseArrayOutput { return o.ApplyT(func(v ClientInfoResponse) []ClientInfoDetailResponse { return v.ClientInfoDetails }).(ClientInfoDetailResponseArrayOutput) @@ -2550,6 +2899,12 @@ func (i DeviceFileArgs) ToDeviceFileOutputWithContext(ctx context.Context) Devic return pulumi.ToOutputWithContext(ctx, i).(DeviceFileOutput) } +func (i DeviceFileArgs) ToOutput(ctx context.Context) pulumix.Output[DeviceFile] { + return pulumix.Output[DeviceFile]{ + OutputState: i.ToDeviceFileOutputWithContext(ctx).OutputState, + } +} + // DeviceFileArrayInput is an input type that accepts DeviceFileArray and DeviceFileArrayOutput values. // You can construct a concrete instance of `DeviceFileArrayInput` via: // @@ -2575,6 +2930,12 @@ func (i DeviceFileArray) ToDeviceFileArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DeviceFileArrayOutput) } +func (i DeviceFileArray) ToOutput(ctx context.Context) pulumix.Output[[]DeviceFile] { + return pulumix.Output[[]DeviceFile]{ + OutputState: i.ToDeviceFileArrayOutputWithContext(ctx).OutputState, + } +} + // A single device file description. type DeviceFileOutput struct{ *pulumi.OutputState } @@ -2590,6 +2951,12 @@ func (o DeviceFileOutput) ToDeviceFileOutputWithContext(ctx context.Context) Dev return o } +func (o DeviceFileOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceFile] { + return pulumix.Output[DeviceFile]{ + OutputState: o.OutputState, + } +} + // A reference to an opaque binary blob file. func (o DeviceFileOutput) ObbFile() ObbFilePtrOutput { return o.ApplyT(func(v DeviceFile) *ObbFile { return v.ObbFile }).(ObbFilePtrOutput) @@ -2614,6 +2981,12 @@ func (o DeviceFileArrayOutput) ToDeviceFileArrayOutputWithContext(ctx context.Co return o } +func (o DeviceFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceFile] { + return pulumix.Output[[]DeviceFile]{ + OutputState: o.OutputState, + } +} + func (o DeviceFileArrayOutput) Index(i pulumi.IntInput) DeviceFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceFile { return vs[0].([]DeviceFile)[vs[1].(int)] @@ -2643,6 +3016,12 @@ func (o DeviceFileResponseOutput) ToDeviceFileResponseOutputWithContext(ctx cont return o } +func (o DeviceFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeviceFileResponse] { + return pulumix.Output[DeviceFileResponse]{ + OutputState: o.OutputState, + } +} + // A reference to an opaque binary blob file. func (o DeviceFileResponseOutput) ObbFile() ObbFileResponseOutput { return o.ApplyT(func(v DeviceFileResponse) ObbFileResponse { return v.ObbFile }).(ObbFileResponseOutput) @@ -2667,6 +3046,12 @@ func (o DeviceFileResponseArrayOutput) ToDeviceFileResponseArrayOutputWithContex return o } +func (o DeviceFileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DeviceFileResponse] { + return pulumix.Output[[]DeviceFileResponse]{ + OutputState: o.OutputState, + } +} + func (o DeviceFileResponseArrayOutput) Index(i pulumi.IntInput) DeviceFileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DeviceFileResponse { return vs[0].([]DeviceFileResponse)[vs[1].(int)] @@ -2716,6 +3101,12 @@ func (i EnvironmentMatrixArgs) ToEnvironmentMatrixOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(EnvironmentMatrixOutput) } +func (i EnvironmentMatrixArgs) ToOutput(ctx context.Context) pulumix.Output[EnvironmentMatrix] { + return pulumix.Output[EnvironmentMatrix]{ + OutputState: i.ToEnvironmentMatrixOutputWithContext(ctx).OutputState, + } +} + // The matrix of environments in which the test is to be executed. type EnvironmentMatrixOutput struct{ *pulumi.OutputState } @@ -2731,6 +3122,12 @@ func (o EnvironmentMatrixOutput) ToEnvironmentMatrixOutputWithContext(ctx contex return o } +func (o EnvironmentMatrixOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentMatrix] { + return pulumix.Output[EnvironmentMatrix]{ + OutputState: o.OutputState, + } +} + // A list of Android devices; the test will be run only on the specified devices. func (o EnvironmentMatrixOutput) AndroidDeviceList() AndroidDeviceListPtrOutput { return o.ApplyT(func(v EnvironmentMatrix) *AndroidDeviceList { return v.AndroidDeviceList }).(AndroidDeviceListPtrOutput) @@ -2771,6 +3168,12 @@ func (o EnvironmentMatrixResponseOutput) ToEnvironmentMatrixResponseOutputWithCo return o } +func (o EnvironmentMatrixResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentMatrixResponse] { + return pulumix.Output[EnvironmentMatrixResponse]{ + OutputState: o.OutputState, + } +} + // A list of Android devices; the test will be run only on the specified devices. func (o EnvironmentMatrixResponseOutput) AndroidDeviceList() AndroidDeviceListResponseOutput { return o.ApplyT(func(v EnvironmentMatrixResponse) AndroidDeviceListResponse { return v.AndroidDeviceList }).(AndroidDeviceListResponseOutput) @@ -2809,6 +3212,12 @@ func (o EnvironmentResponseOutput) ToEnvironmentResponseOutputWithContext(ctx co return o } +func (o EnvironmentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentResponse] { + return pulumix.Output[EnvironmentResponse]{ + OutputState: o.OutputState, + } +} + // An Android device which must be used with an Android test. func (o EnvironmentResponseOutput) AndroidDevice() AndroidDeviceResponseOutput { return o.ApplyT(func(v EnvironmentResponse) AndroidDeviceResponse { return v.AndroidDevice }).(AndroidDeviceResponseOutput) @@ -2858,6 +3267,12 @@ func (i EnvironmentVariableArgs) ToEnvironmentVariableOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(EnvironmentVariableOutput) } +func (i EnvironmentVariableArgs) ToOutput(ctx context.Context) pulumix.Output[EnvironmentVariable] { + return pulumix.Output[EnvironmentVariable]{ + OutputState: i.ToEnvironmentVariableOutputWithContext(ctx).OutputState, + } +} + // EnvironmentVariableArrayInput is an input type that accepts EnvironmentVariableArray and EnvironmentVariableArrayOutput values. // You can construct a concrete instance of `EnvironmentVariableArrayInput` via: // @@ -2883,6 +3298,12 @@ func (i EnvironmentVariableArray) ToEnvironmentVariableArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(EnvironmentVariableArrayOutput) } +func (i EnvironmentVariableArray) ToOutput(ctx context.Context) pulumix.Output[[]EnvironmentVariable] { + return pulumix.Output[[]EnvironmentVariable]{ + OutputState: i.ToEnvironmentVariableArrayOutputWithContext(ctx).OutputState, + } +} + // A key-value pair passed as an environment variable to the test. type EnvironmentVariableOutput struct{ *pulumi.OutputState } @@ -2898,6 +3319,12 @@ func (o EnvironmentVariableOutput) ToEnvironmentVariableOutputWithContext(ctx co return o } +func (o EnvironmentVariableOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentVariable] { + return pulumix.Output[EnvironmentVariable]{ + OutputState: o.OutputState, + } +} + // Key for the environment variable. func (o EnvironmentVariableOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v EnvironmentVariable) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -2922,6 +3349,12 @@ func (o EnvironmentVariableArrayOutput) ToEnvironmentVariableArrayOutputWithCont return o } +func (o EnvironmentVariableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvironmentVariable] { + return pulumix.Output[[]EnvironmentVariable]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentVariableArrayOutput) Index(i pulumi.IntInput) EnvironmentVariableOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvironmentVariable { return vs[0].([]EnvironmentVariable)[vs[1].(int)] @@ -2951,6 +3384,12 @@ func (o EnvironmentVariableResponseOutput) ToEnvironmentVariableResponseOutputWi return o } +func (o EnvironmentVariableResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EnvironmentVariableResponse] { + return pulumix.Output[EnvironmentVariableResponse]{ + OutputState: o.OutputState, + } +} + // Key for the environment variable. func (o EnvironmentVariableResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v EnvironmentVariableResponse) string { return v.Key }).(pulumi.StringOutput) @@ -2975,6 +3414,12 @@ func (o EnvironmentVariableResponseArrayOutput) ToEnvironmentVariableResponseArr return o } +func (o EnvironmentVariableResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EnvironmentVariableResponse] { + return pulumix.Output[[]EnvironmentVariableResponse]{ + OutputState: o.OutputState, + } +} + func (o EnvironmentVariableResponseArrayOutput) Index(i pulumi.IntInput) EnvironmentVariableResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EnvironmentVariableResponse { return vs[0].([]EnvironmentVariableResponse)[vs[1].(int)] @@ -3016,6 +3461,12 @@ func (i FileReferenceArgs) ToFileReferenceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FileReferenceOutput) } +func (i FileReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[FileReference] { + return pulumix.Output[FileReference]{ + OutputState: i.ToFileReferenceOutputWithContext(ctx).OutputState, + } +} + func (i FileReferenceArgs) ToFileReferencePtrOutput() FileReferencePtrOutput { return i.ToFileReferencePtrOutputWithContext(context.Background()) } @@ -3057,6 +3508,12 @@ func (i *fileReferencePtrType) ToFileReferencePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(FileReferencePtrOutput) } +func (i *fileReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*FileReference] { + return pulumix.Output[*FileReference]{ + OutputState: i.ToFileReferencePtrOutputWithContext(ctx).OutputState, + } +} + // FileReferenceArrayInput is an input type that accepts FileReferenceArray and FileReferenceArrayOutput values. // You can construct a concrete instance of `FileReferenceArrayInput` via: // @@ -3082,6 +3539,12 @@ func (i FileReferenceArray) ToFileReferenceArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(FileReferenceArrayOutput) } +func (i FileReferenceArray) ToOutput(ctx context.Context) pulumix.Output[[]FileReference] { + return pulumix.Output[[]FileReference]{ + OutputState: i.ToFileReferenceArrayOutputWithContext(ctx).OutputState, + } +} + // A reference to a file, used for user inputs. type FileReferenceOutput struct{ *pulumi.OutputState } @@ -3107,6 +3570,12 @@ func (o FileReferenceOutput) ToFileReferencePtrOutputWithContext(ctx context.Con }).(FileReferencePtrOutput) } +func (o FileReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[FileReference] { + return pulumix.Output[FileReference]{ + OutputState: o.OutputState, + } +} + // A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding) func (o FileReferenceOutput) GcsPath() pulumi.StringPtrOutput { return o.ApplyT(func(v FileReference) *string { return v.GcsPath }).(pulumi.StringPtrOutput) @@ -3126,6 +3595,12 @@ func (o FileReferencePtrOutput) ToFileReferencePtrOutputWithContext(ctx context. return o } +func (o FileReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileReference] { + return pulumix.Output[*FileReference]{ + OutputState: o.OutputState, + } +} + func (o FileReferencePtrOutput) Elem() FileReferenceOutput { return o.ApplyT(func(v *FileReference) FileReference { if v != nil { @@ -3160,6 +3635,12 @@ func (o FileReferenceArrayOutput) ToFileReferenceArrayOutputWithContext(ctx cont return o } +func (o FileReferenceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileReference] { + return pulumix.Output[[]FileReference]{ + OutputState: o.OutputState, + } +} + func (o FileReferenceArrayOutput) Index(i pulumi.IntInput) FileReferenceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileReference { return vs[0].([]FileReference)[vs[1].(int)] @@ -3187,6 +3668,12 @@ func (o FileReferenceResponseOutput) ToFileReferenceResponseOutputWithContext(ct return o } +func (o FileReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileReferenceResponse] { + return pulumix.Output[FileReferenceResponse]{ + OutputState: o.OutputState, + } +} + // A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding) func (o FileReferenceResponseOutput) GcsPath() pulumi.StringOutput { return o.ApplyT(func(v FileReferenceResponse) string { return v.GcsPath }).(pulumi.StringOutput) @@ -3206,6 +3693,12 @@ func (o FileReferenceResponseArrayOutput) ToFileReferenceResponseArrayOutputWith return o } +func (o FileReferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileReferenceResponse] { + return pulumix.Output[[]FileReferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o FileReferenceResponseArrayOutput) Index(i pulumi.IntInput) FileReferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileReferenceResponse { return vs[0].([]FileReferenceResponse)[vs[1].(int)] @@ -3243,6 +3736,12 @@ func (i GoogleAutoArgs) ToGoogleAutoOutputWithContext(ctx context.Context) Googl return pulumi.ToOutputWithContext(ctx, i).(GoogleAutoOutput) } +func (i GoogleAutoArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleAuto] { + return pulumix.Output[GoogleAuto]{ + OutputState: i.ToGoogleAutoOutputWithContext(ctx).OutputState, + } +} + func (i GoogleAutoArgs) ToGoogleAutoPtrOutput() GoogleAutoPtrOutput { return i.ToGoogleAutoPtrOutputWithContext(context.Background()) } @@ -3284,6 +3783,12 @@ func (i *googleAutoPtrType) ToGoogleAutoPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GoogleAutoPtrOutput) } +func (i *googleAutoPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleAuto] { + return pulumix.Output[*GoogleAuto]{ + OutputState: i.ToGoogleAutoPtrOutputWithContext(ctx).OutputState, + } +} + // Enables automatic Google account login. If set, the service automatically generates a Google test account and adds it to the device, before executing the test. Note that test accounts might be reused. Many applications show their full set of functionalities when an account is present on the device. Logging into the device with these generated accounts allows testing more functionalities. type GoogleAutoOutput struct{ *pulumi.OutputState } @@ -3309,6 +3814,12 @@ func (o GoogleAutoOutput) ToGoogleAutoPtrOutputWithContext(ctx context.Context) }).(GoogleAutoPtrOutput) } +func (o GoogleAutoOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleAuto] { + return pulumix.Output[GoogleAuto]{ + OutputState: o.OutputState, + } +} + type GoogleAutoPtrOutput struct{ *pulumi.OutputState } func (GoogleAutoPtrOutput) ElementType() reflect.Type { @@ -3323,6 +3834,12 @@ func (o GoogleAutoPtrOutput) ToGoogleAutoPtrOutputWithContext(ctx context.Contex return o } +func (o GoogleAutoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleAuto] { + return pulumix.Output[*GoogleAuto]{ + OutputState: o.OutputState, + } +} + func (o GoogleAutoPtrOutput) Elem() GoogleAutoOutput { return o.ApplyT(func(v *GoogleAuto) GoogleAuto { if v != nil { @@ -3352,6 +3869,12 @@ func (o GoogleAutoResponseOutput) ToGoogleAutoResponseOutputWithContext(ctx cont return o } +func (o GoogleAutoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleAutoResponse] { + return pulumix.Output[GoogleAutoResponse]{ + OutputState: o.OutputState, + } +} + // A storage location within Google cloud storage (GCS). type GoogleCloudStorage struct { // The path to a directory in GCS that will eventually contain the results for this test. The requesting user must have write access on the bucket in the supplied path. @@ -3387,6 +3910,12 @@ func (i GoogleCloudStorageArgs) ToGoogleCloudStorageOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GoogleCloudStorageOutput) } +func (i GoogleCloudStorageArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudStorage] { + return pulumix.Output[GoogleCloudStorage]{ + OutputState: i.ToGoogleCloudStorageOutputWithContext(ctx).OutputState, + } +} + // A storage location within Google cloud storage (GCS). type GoogleCloudStorageOutput struct{ *pulumi.OutputState } @@ -3402,6 +3931,12 @@ func (o GoogleCloudStorageOutput) ToGoogleCloudStorageOutputWithContext(ctx cont return o } +func (o GoogleCloudStorageOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudStorage] { + return pulumix.Output[GoogleCloudStorage]{ + OutputState: o.OutputState, + } +} + // The path to a directory in GCS that will eventually contain the results for this test. The requesting user must have write access on the bucket in the supplied path. func (o GoogleCloudStorageOutput) GcsPath() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudStorage) string { return v.GcsPath }).(pulumi.StringOutput) @@ -3428,6 +3963,12 @@ func (o GoogleCloudStorageResponseOutput) ToGoogleCloudStorageResponseOutputWith return o } +func (o GoogleCloudStorageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleCloudStorageResponse] { + return pulumix.Output[GoogleCloudStorageResponse]{ + OutputState: o.OutputState, + } +} + // The path to a directory in GCS that will eventually contain the results for this test. The requesting user must have write access on the bucket in the supplied path. func (o GoogleCloudStorageResponseOutput) GcsPath() pulumi.StringOutput { return o.ApplyT(func(v GoogleCloudStorageResponse) string { return v.GcsPath }).(pulumi.StringOutput) @@ -3480,6 +4021,12 @@ func (i IosDeviceArgs) ToIosDeviceOutputWithContext(ctx context.Context) IosDevi return pulumi.ToOutputWithContext(ctx, i).(IosDeviceOutput) } +func (i IosDeviceArgs) ToOutput(ctx context.Context) pulumix.Output[IosDevice] { + return pulumix.Output[IosDevice]{ + OutputState: i.ToIosDeviceOutputWithContext(ctx).OutputState, + } +} + // IosDeviceArrayInput is an input type that accepts IosDeviceArray and IosDeviceArrayOutput values. // You can construct a concrete instance of `IosDeviceArrayInput` via: // @@ -3505,6 +4052,12 @@ func (i IosDeviceArray) ToIosDeviceArrayOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(IosDeviceArrayOutput) } +func (i IosDeviceArray) ToOutput(ctx context.Context) pulumix.Output[[]IosDevice] { + return pulumix.Output[[]IosDevice]{ + OutputState: i.ToIosDeviceArrayOutputWithContext(ctx).OutputState, + } +} + // A single iOS device. type IosDeviceOutput struct{ *pulumi.OutputState } @@ -3520,6 +4073,12 @@ func (o IosDeviceOutput) ToIosDeviceOutputWithContext(ctx context.Context) IosDe return o } +func (o IosDeviceOutput) ToOutput(ctx context.Context) pulumix.Output[IosDevice] { + return pulumix.Output[IosDevice]{ + OutputState: o.OutputState, + } +} + // The id of the iOS device to be used. Use the TestEnvironmentDiscoveryService to get supported options. func (o IosDeviceOutput) IosModelId() pulumi.StringOutput { return o.ApplyT(func(v IosDevice) string { return v.IosModelId }).(pulumi.StringOutput) @@ -3554,6 +4113,12 @@ func (o IosDeviceArrayOutput) ToIosDeviceArrayOutputWithContext(ctx context.Cont return o } +func (o IosDeviceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IosDevice] { + return pulumix.Output[[]IosDevice]{ + OutputState: o.OutputState, + } +} + func (o IosDeviceArrayOutput) Index(i pulumi.IntInput) IosDeviceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IosDevice { return vs[0].([]IosDevice)[vs[1].(int)] @@ -3603,6 +4168,12 @@ func (i IosDeviceFileArgs) ToIosDeviceFileOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IosDeviceFileOutput) } +func (i IosDeviceFileArgs) ToOutput(ctx context.Context) pulumix.Output[IosDeviceFile] { + return pulumix.Output[IosDeviceFile]{ + OutputState: i.ToIosDeviceFileOutputWithContext(ctx).OutputState, + } +} + // IosDeviceFileArrayInput is an input type that accepts IosDeviceFileArray and IosDeviceFileArrayOutput values. // You can construct a concrete instance of `IosDeviceFileArrayInput` via: // @@ -3628,6 +4199,12 @@ func (i IosDeviceFileArray) ToIosDeviceFileArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(IosDeviceFileArrayOutput) } +func (i IosDeviceFileArray) ToOutput(ctx context.Context) pulumix.Output[[]IosDeviceFile] { + return pulumix.Output[[]IosDeviceFile]{ + OutputState: i.ToIosDeviceFileArrayOutputWithContext(ctx).OutputState, + } +} + // A file or directory to install on the device before the test starts. type IosDeviceFileOutput struct{ *pulumi.OutputState } @@ -3643,6 +4220,12 @@ func (o IosDeviceFileOutput) ToIosDeviceFileOutputWithContext(ctx context.Contex return o } +func (o IosDeviceFileOutput) ToOutput(ctx context.Context) pulumix.Output[IosDeviceFile] { + return pulumix.Output[IosDeviceFile]{ + OutputState: o.OutputState, + } +} + // The bundle id of the app where this file lives. iOS apps sandbox their own filesystem, so app files must specify which app installed on the device. func (o IosDeviceFileOutput) BundleId() pulumi.StringPtrOutput { return o.ApplyT(func(v IosDeviceFile) *string { return v.BundleId }).(pulumi.StringPtrOutput) @@ -3672,6 +4255,12 @@ func (o IosDeviceFileArrayOutput) ToIosDeviceFileArrayOutputWithContext(ctx cont return o } +func (o IosDeviceFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IosDeviceFile] { + return pulumix.Output[[]IosDeviceFile]{ + OutputState: o.OutputState, + } +} + func (o IosDeviceFileArrayOutput) Index(i pulumi.IntInput) IosDeviceFileOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IosDeviceFile { return vs[0].([]IosDeviceFile)[vs[1].(int)] @@ -3703,6 +4292,12 @@ func (o IosDeviceFileResponseOutput) ToIosDeviceFileResponseOutputWithContext(ct return o } +func (o IosDeviceFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosDeviceFileResponse] { + return pulumix.Output[IosDeviceFileResponse]{ + OutputState: o.OutputState, + } +} + // The bundle id of the app where this file lives. iOS apps sandbox their own filesystem, so app files must specify which app installed on the device. func (o IosDeviceFileResponseOutput) BundleId() pulumi.StringOutput { return o.ApplyT(func(v IosDeviceFileResponse) string { return v.BundleId }).(pulumi.StringOutput) @@ -3732,6 +4327,12 @@ func (o IosDeviceFileResponseArrayOutput) ToIosDeviceFileResponseArrayOutputWith return o } +func (o IosDeviceFileResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IosDeviceFileResponse] { + return pulumix.Output[[]IosDeviceFileResponse]{ + OutputState: o.OutputState, + } +} + func (o IosDeviceFileResponseArrayOutput) Index(i pulumi.IntInput) IosDeviceFileResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IosDeviceFileResponse { return vs[0].([]IosDeviceFileResponse)[vs[1].(int)] @@ -3773,6 +4374,12 @@ func (i IosDeviceListArgs) ToIosDeviceListOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IosDeviceListOutput) } +func (i IosDeviceListArgs) ToOutput(ctx context.Context) pulumix.Output[IosDeviceList] { + return pulumix.Output[IosDeviceList]{ + OutputState: i.ToIosDeviceListOutputWithContext(ctx).OutputState, + } +} + func (i IosDeviceListArgs) ToIosDeviceListPtrOutput() IosDeviceListPtrOutput { return i.ToIosDeviceListPtrOutputWithContext(context.Background()) } @@ -3814,6 +4421,12 @@ func (i *iosDeviceListPtrType) ToIosDeviceListPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(IosDeviceListPtrOutput) } +func (i *iosDeviceListPtrType) ToOutput(ctx context.Context) pulumix.Output[*IosDeviceList] { + return pulumix.Output[*IosDeviceList]{ + OutputState: i.ToIosDeviceListPtrOutputWithContext(ctx).OutputState, + } +} + // A list of iOS device configurations in which the test is to be executed. type IosDeviceListOutput struct{ *pulumi.OutputState } @@ -3839,6 +4452,12 @@ func (o IosDeviceListOutput) ToIosDeviceListPtrOutputWithContext(ctx context.Con }).(IosDeviceListPtrOutput) } +func (o IosDeviceListOutput) ToOutput(ctx context.Context) pulumix.Output[IosDeviceList] { + return pulumix.Output[IosDeviceList]{ + OutputState: o.OutputState, + } +} + // A list of iOS devices. func (o IosDeviceListOutput) IosDevices() IosDeviceArrayOutput { return o.ApplyT(func(v IosDeviceList) []IosDevice { return v.IosDevices }).(IosDeviceArrayOutput) @@ -3858,6 +4477,12 @@ func (o IosDeviceListPtrOutput) ToIosDeviceListPtrOutputWithContext(ctx context. return o } +func (o IosDeviceListPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IosDeviceList] { + return pulumix.Output[*IosDeviceList]{ + OutputState: o.OutputState, + } +} + func (o IosDeviceListPtrOutput) Elem() IosDeviceListOutput { return o.ApplyT(func(v *IosDeviceList) IosDeviceList { if v != nil { @@ -3899,6 +4524,12 @@ func (o IosDeviceListResponseOutput) ToIosDeviceListResponseOutputWithContext(ct return o } +func (o IosDeviceListResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosDeviceListResponse] { + return pulumix.Output[IosDeviceListResponse]{ + OutputState: o.OutputState, + } +} + // A list of iOS devices. func (o IosDeviceListResponseOutput) IosDevices() IosDeviceResponseArrayOutput { return o.ApplyT(func(v IosDeviceListResponse) []IosDeviceResponse { return v.IosDevices }).(IosDeviceResponseArrayOutput) @@ -3931,6 +4562,12 @@ func (o IosDeviceResponseOutput) ToIosDeviceResponseOutputWithContext(ctx contex return o } +func (o IosDeviceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosDeviceResponse] { + return pulumix.Output[IosDeviceResponse]{ + OutputState: o.OutputState, + } +} + // The id of the iOS device to be used. Use the TestEnvironmentDiscoveryService to get supported options. func (o IosDeviceResponseOutput) IosModelId() pulumi.StringOutput { return o.ApplyT(func(v IosDeviceResponse) string { return v.IosModelId }).(pulumi.StringOutput) @@ -3965,6 +4602,12 @@ func (o IosDeviceResponseArrayOutput) ToIosDeviceResponseArrayOutputWithContext( return o } +func (o IosDeviceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IosDeviceResponse] { + return pulumix.Output[[]IosDeviceResponse]{ + OutputState: o.OutputState, + } +} + func (o IosDeviceResponseArrayOutput) Index(i pulumi.IntInput) IosDeviceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IosDeviceResponse { return vs[0].([]IosDeviceResponse)[vs[1].(int)] @@ -4010,6 +4653,12 @@ func (i IosTestLoopArgs) ToIosTestLoopOutputWithContext(ctx context.Context) Ios return pulumi.ToOutputWithContext(ctx, i).(IosTestLoopOutput) } +func (i IosTestLoopArgs) ToOutput(ctx context.Context) pulumix.Output[IosTestLoop] { + return pulumix.Output[IosTestLoop]{ + OutputState: i.ToIosTestLoopOutputWithContext(ctx).OutputState, + } +} + func (i IosTestLoopArgs) ToIosTestLoopPtrOutput() IosTestLoopPtrOutput { return i.ToIosTestLoopPtrOutputWithContext(context.Background()) } @@ -4051,6 +4700,12 @@ func (i *iosTestLoopPtrType) ToIosTestLoopPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(IosTestLoopPtrOutput) } +func (i *iosTestLoopPtrType) ToOutput(ctx context.Context) pulumix.Output[*IosTestLoop] { + return pulumix.Output[*IosTestLoop]{ + OutputState: i.ToIosTestLoopPtrOutputWithContext(ctx).OutputState, + } +} + // A test of an iOS application that implements one or more game loop scenarios. This test type accepts an archived application (.ipa file) and a list of integer scenarios that will be executed on the app sequentially. type IosTestLoopOutput struct{ *pulumi.OutputState } @@ -4076,6 +4731,12 @@ func (o IosTestLoopOutput) ToIosTestLoopPtrOutputWithContext(ctx context.Context }).(IosTestLoopPtrOutput) } +func (o IosTestLoopOutput) ToOutput(ctx context.Context) pulumix.Output[IosTestLoop] { + return pulumix.Output[IosTestLoop]{ + OutputState: o.OutputState, + } +} + // The .ipa of the application to test. func (o IosTestLoopOutput) AppIpa() FileReferenceOutput { return o.ApplyT(func(v IosTestLoop) FileReference { return v.AppIpa }).(FileReferenceOutput) @@ -4100,6 +4761,12 @@ func (o IosTestLoopPtrOutput) ToIosTestLoopPtrOutputWithContext(ctx context.Cont return o } +func (o IosTestLoopPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IosTestLoop] { + return pulumix.Output[*IosTestLoop]{ + OutputState: o.OutputState, + } +} + func (o IosTestLoopPtrOutput) Elem() IosTestLoopOutput { return o.ApplyT(func(v *IosTestLoop) IosTestLoop { if v != nil { @@ -4155,6 +4822,12 @@ func (o IosTestLoopResponseOutput) ToIosTestLoopResponseOutputWithContext(ctx co return o } +func (o IosTestLoopResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosTestLoopResponse] { + return pulumix.Output[IosTestLoopResponse]{ + OutputState: o.OutputState, + } +} + // The bundle id for the application under test. func (o IosTestLoopResponseOutput) AppBundleId() pulumi.StringOutput { return o.ApplyT(func(v IosTestLoopResponse) string { return v.AppBundleId }).(pulumi.StringOutput) @@ -4217,6 +4890,12 @@ func (i IosTestSetupArgs) ToIosTestSetupOutputWithContext(ctx context.Context) I return pulumi.ToOutputWithContext(ctx, i).(IosTestSetupOutput) } +func (i IosTestSetupArgs) ToOutput(ctx context.Context) pulumix.Output[IosTestSetup] { + return pulumix.Output[IosTestSetup]{ + OutputState: i.ToIosTestSetupOutputWithContext(ctx).OutputState, + } +} + func (i IosTestSetupArgs) ToIosTestSetupPtrOutput() IosTestSetupPtrOutput { return i.ToIosTestSetupPtrOutputWithContext(context.Background()) } @@ -4258,6 +4937,12 @@ func (i *iosTestSetupPtrType) ToIosTestSetupPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(IosTestSetupPtrOutput) } +func (i *iosTestSetupPtrType) ToOutput(ctx context.Context) pulumix.Output[*IosTestSetup] { + return pulumix.Output[*IosTestSetup]{ + OutputState: i.ToIosTestSetupPtrOutputWithContext(ctx).OutputState, + } +} + // A description of how to set up an iOS device prior to running the test. type IosTestSetupOutput struct{ *pulumi.OutputState } @@ -4283,6 +4968,12 @@ func (o IosTestSetupOutput) ToIosTestSetupPtrOutputWithContext(ctx context.Conte }).(IosTestSetupPtrOutput) } +func (o IosTestSetupOutput) ToOutput(ctx context.Context) pulumix.Output[IosTestSetup] { + return pulumix.Output[IosTestSetup]{ + OutputState: o.OutputState, + } +} + // iOS apps to install in addition to those being directly tested. func (o IosTestSetupOutput) AdditionalIpas() FileReferenceArrayOutput { return o.ApplyT(func(v IosTestSetup) []FileReference { return v.AdditionalIpas }).(FileReferenceArrayOutput) @@ -4317,6 +5008,12 @@ func (o IosTestSetupPtrOutput) ToIosTestSetupPtrOutputWithContext(ctx context.Co return o } +func (o IosTestSetupPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IosTestSetup] { + return pulumix.Output[*IosTestSetup]{ + OutputState: o.OutputState, + } +} + func (o IosTestSetupPtrOutput) Elem() IosTestSetupOutput { return o.ApplyT(func(v *IosTestSetup) IosTestSetup { if v != nil { @@ -4394,6 +5091,12 @@ func (o IosTestSetupResponseOutput) ToIosTestSetupResponseOutputWithContext(ctx return o } +func (o IosTestSetupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosTestSetupResponse] { + return pulumix.Output[IosTestSetupResponse]{ + OutputState: o.OutputState, + } +} + // iOS apps to install in addition to those being directly tested. func (o IosTestSetupResponseOutput) AdditionalIpas() FileReferenceResponseArrayOutput { return o.ApplyT(func(v IosTestSetupResponse) []FileReferenceResponse { return v.AdditionalIpas }).(FileReferenceResponseArrayOutput) @@ -4461,6 +5164,12 @@ func (i IosXcTestArgs) ToIosXcTestOutputWithContext(ctx context.Context) IosXcTe return pulumi.ToOutputWithContext(ctx, i).(IosXcTestOutput) } +func (i IosXcTestArgs) ToOutput(ctx context.Context) pulumix.Output[IosXcTest] { + return pulumix.Output[IosXcTest]{ + OutputState: i.ToIosXcTestOutputWithContext(ctx).OutputState, + } +} + func (i IosXcTestArgs) ToIosXcTestPtrOutput() IosXcTestPtrOutput { return i.ToIosXcTestPtrOutputWithContext(context.Background()) } @@ -4502,6 +5211,12 @@ func (i *iosXcTestPtrType) ToIosXcTestPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IosXcTestPtrOutput) } +func (i *iosXcTestPtrType) ToOutput(ctx context.Context) pulumix.Output[*IosXcTest] { + return pulumix.Output[*IosXcTest]{ + OutputState: i.ToIosXcTestPtrOutputWithContext(ctx).OutputState, + } +} + // A test of an iOS application that uses the XCTest framework. Xcode supports the option to "build for testing", which generates an .xctestrun file that contains a test specification (arguments, test methods, etc). This test type accepts a zip file containing the .xctestrun file and the corresponding contents of the Build/Products directory that contains all the binaries needed to run the tests. type IosXcTestOutput struct{ *pulumi.OutputState } @@ -4527,6 +5242,12 @@ func (o IosXcTestOutput) ToIosXcTestPtrOutputWithContext(ctx context.Context) Io }).(IosXcTestPtrOutput) } +func (o IosXcTestOutput) ToOutput(ctx context.Context) pulumix.Output[IosXcTest] { + return pulumix.Output[IosXcTest]{ + OutputState: o.OutputState, + } +} + // The option to test special app entitlements. Setting this would re-sign the app having special entitlements with an explicit application-identifier. Currently supports testing aps-environment entitlement. func (o IosXcTestOutput) TestSpecialEntitlements() pulumi.BoolPtrOutput { return o.ApplyT(func(v IosXcTest) *bool { return v.TestSpecialEntitlements }).(pulumi.BoolPtrOutput) @@ -4561,6 +5282,12 @@ func (o IosXcTestPtrOutput) ToIosXcTestPtrOutputWithContext(ctx context.Context) return o } +func (o IosXcTestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IosXcTest] { + return pulumix.Output[*IosXcTest]{ + OutputState: o.OutputState, + } +} + func (o IosXcTestPtrOutput) Elem() IosXcTestOutput { return o.ApplyT(func(v *IosXcTest) IosXcTest { if v != nil { @@ -4640,6 +5367,12 @@ func (o IosXcTestResponseOutput) ToIosXcTestResponseOutputWithContext(ctx contex return o } +func (o IosXcTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosXcTestResponse] { + return pulumix.Output[IosXcTestResponse]{ + OutputState: o.OutputState, + } +} + // The bundle id for the application under test. func (o IosXcTestResponseOutput) AppBundleId() pulumi.StringOutput { return o.ApplyT(func(v IosXcTestResponse) string { return v.AppBundleId }).(pulumi.StringOutput) @@ -4696,6 +5429,12 @@ func (i LauncherActivityIntentArgs) ToLauncherActivityIntentOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(LauncherActivityIntentOutput) } +func (i LauncherActivityIntentArgs) ToOutput(ctx context.Context) pulumix.Output[LauncherActivityIntent] { + return pulumix.Output[LauncherActivityIntent]{ + OutputState: i.ToLauncherActivityIntentOutputWithContext(ctx).OutputState, + } +} + func (i LauncherActivityIntentArgs) ToLauncherActivityIntentPtrOutput() LauncherActivityIntentPtrOutput { return i.ToLauncherActivityIntentPtrOutputWithContext(context.Background()) } @@ -4737,6 +5476,12 @@ func (i *launcherActivityIntentPtrType) ToLauncherActivityIntentPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(LauncherActivityIntentPtrOutput) } +func (i *launcherActivityIntentPtrType) ToOutput(ctx context.Context) pulumix.Output[*LauncherActivityIntent] { + return pulumix.Output[*LauncherActivityIntent]{ + OutputState: i.ToLauncherActivityIntentPtrOutputWithContext(ctx).OutputState, + } +} + // Specifies an intent that starts the main launcher activity. type LauncherActivityIntentOutput struct{ *pulumi.OutputState } @@ -4762,6 +5507,12 @@ func (o LauncherActivityIntentOutput) ToLauncherActivityIntentPtrOutputWithConte }).(LauncherActivityIntentPtrOutput) } +func (o LauncherActivityIntentOutput) ToOutput(ctx context.Context) pulumix.Output[LauncherActivityIntent] { + return pulumix.Output[LauncherActivityIntent]{ + OutputState: o.OutputState, + } +} + type LauncherActivityIntentPtrOutput struct{ *pulumi.OutputState } func (LauncherActivityIntentPtrOutput) ElementType() reflect.Type { @@ -4776,6 +5527,12 @@ func (o LauncherActivityIntentPtrOutput) ToLauncherActivityIntentPtrOutputWithCo return o } +func (o LauncherActivityIntentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LauncherActivityIntent] { + return pulumix.Output[*LauncherActivityIntent]{ + OutputState: o.OutputState, + } +} + func (o LauncherActivityIntentPtrOutput) Elem() LauncherActivityIntentOutput { return o.ApplyT(func(v *LauncherActivityIntent) LauncherActivityIntent { if v != nil { @@ -4805,6 +5562,12 @@ func (o LauncherActivityIntentResponseOutput) ToLauncherActivityIntentResponseOu return o } +func (o LauncherActivityIntentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LauncherActivityIntentResponse] { + return pulumix.Output[LauncherActivityIntentResponse]{ + OutputState: o.OutputState, + } +} + // Shards test cases into the specified groups of packages, classes, and/or methods. With manual sharding enabled, specifying test targets via environment_variables or in InstrumentationTest is invalid. type ManualSharding struct { // Group of packages, classes, and/or test methods to be run for each manually-created shard. You must specify at least one shard if this field is present. When you select one or more physical devices, the number of repeated test_targets_for_shard must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only x86 virtual devices, it must be <= 500. @@ -4840,6 +5603,12 @@ func (i ManualShardingArgs) ToManualShardingOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ManualShardingOutput) } +func (i ManualShardingArgs) ToOutput(ctx context.Context) pulumix.Output[ManualSharding] { + return pulumix.Output[ManualSharding]{ + OutputState: i.ToManualShardingOutputWithContext(ctx).OutputState, + } +} + func (i ManualShardingArgs) ToManualShardingPtrOutput() ManualShardingPtrOutput { return i.ToManualShardingPtrOutputWithContext(context.Background()) } @@ -4881,6 +5650,12 @@ func (i *manualShardingPtrType) ToManualShardingPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ManualShardingPtrOutput) } +func (i *manualShardingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ManualSharding] { + return pulumix.Output[*ManualSharding]{ + OutputState: i.ToManualShardingPtrOutputWithContext(ctx).OutputState, + } +} + // Shards test cases into the specified groups of packages, classes, and/or methods. With manual sharding enabled, specifying test targets via environment_variables or in InstrumentationTest is invalid. type ManualShardingOutput struct{ *pulumi.OutputState } @@ -4906,6 +5681,12 @@ func (o ManualShardingOutput) ToManualShardingPtrOutputWithContext(ctx context.C }).(ManualShardingPtrOutput) } +func (o ManualShardingOutput) ToOutput(ctx context.Context) pulumix.Output[ManualSharding] { + return pulumix.Output[ManualSharding]{ + OutputState: o.OutputState, + } +} + // Group of packages, classes, and/or test methods to be run for each manually-created shard. You must specify at least one shard if this field is present. When you select one or more physical devices, the number of repeated test_targets_for_shard must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only x86 virtual devices, it must be <= 500. func (o ManualShardingOutput) TestTargetsForShard() TestTargetsForShardArrayOutput { return o.ApplyT(func(v ManualSharding) []TestTargetsForShard { return v.TestTargetsForShard }).(TestTargetsForShardArrayOutput) @@ -4925,6 +5706,12 @@ func (o ManualShardingPtrOutput) ToManualShardingPtrOutputWithContext(ctx contex return o } +func (o ManualShardingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManualSharding] { + return pulumix.Output[*ManualSharding]{ + OutputState: o.OutputState, + } +} + func (o ManualShardingPtrOutput) Elem() ManualShardingOutput { return o.ApplyT(func(v *ManualSharding) ManualSharding { if v != nil { @@ -4966,6 +5753,12 @@ func (o ManualShardingResponseOutput) ToManualShardingResponseOutputWithContext( return o } +func (o ManualShardingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManualShardingResponse] { + return pulumix.Output[ManualShardingResponse]{ + OutputState: o.OutputState, + } +} + // Group of packages, classes, and/or test methods to be run for each manually-created shard. You must specify at least one shard if this field is present. When you select one or more physical devices, the number of repeated test_targets_for_shard must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only x86 virtual devices, it must be <= 500. func (o ManualShardingResponseOutput) TestTargetsForShard() TestTargetsForShardResponseArrayOutput { return o.ApplyT(func(v ManualShardingResponse) []TestTargetsForShardResponse { return v.TestTargetsForShard }).(TestTargetsForShardResponseArrayOutput) @@ -5010,6 +5803,12 @@ func (i ObbFileArgs) ToObbFileOutputWithContext(ctx context.Context) ObbFileOutp return pulumi.ToOutputWithContext(ctx, i).(ObbFileOutput) } +func (i ObbFileArgs) ToOutput(ctx context.Context) pulumix.Output[ObbFile] { + return pulumix.Output[ObbFile]{ + OutputState: i.ToObbFileOutputWithContext(ctx).OutputState, + } +} + func (i ObbFileArgs) ToObbFilePtrOutput() ObbFilePtrOutput { return i.ToObbFilePtrOutputWithContext(context.Background()) } @@ -5051,6 +5850,12 @@ func (i *obbFilePtrType) ToObbFilePtrOutputWithContext(ctx context.Context) ObbF return pulumi.ToOutputWithContext(ctx, i).(ObbFilePtrOutput) } +func (i *obbFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*ObbFile] { + return pulumix.Output[*ObbFile]{ + OutputState: i.ToObbFilePtrOutputWithContext(ctx).OutputState, + } +} + // An opaque binary blob file to install on the device before the test starts. type ObbFileOutput struct{ *pulumi.OutputState } @@ -5076,6 +5881,12 @@ func (o ObbFileOutput) ToObbFilePtrOutputWithContext(ctx context.Context) ObbFil }).(ObbFilePtrOutput) } +func (o ObbFileOutput) ToOutput(ctx context.Context) pulumix.Output[ObbFile] { + return pulumix.Output[ObbFile]{ + OutputState: o.OutputState, + } +} + // Opaque Binary Blob (OBB) file(s) to install on the device. func (o ObbFileOutput) Obb() FileReferenceOutput { return o.ApplyT(func(v ObbFile) FileReference { return v.Obb }).(FileReferenceOutput) @@ -5100,6 +5911,12 @@ func (o ObbFilePtrOutput) ToObbFilePtrOutputWithContext(ctx context.Context) Obb return o } +func (o ObbFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ObbFile] { + return pulumix.Output[*ObbFile]{ + OutputState: o.OutputState, + } +} + func (o ObbFilePtrOutput) Elem() ObbFileOutput { return o.ApplyT(func(v *ObbFile) ObbFile { if v != nil { @@ -5153,6 +5970,12 @@ func (o ObbFileResponseOutput) ToObbFileResponseOutputWithContext(ctx context.Co return o } +func (o ObbFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ObbFileResponse] { + return pulumix.Output[ObbFileResponse]{ + OutputState: o.OutputState, + } +} + // Opaque Binary Blob (OBB) file(s) to install on the device. func (o ObbFileResponseOutput) Obb() FileReferenceResponseOutput { return o.ApplyT(func(v ObbFileResponse) FileReferenceResponse { return v.Obb }).(FileReferenceResponseOutput) @@ -5202,6 +6025,12 @@ func (i RegularFileArgs) ToRegularFileOutputWithContext(ctx context.Context) Reg return pulumi.ToOutputWithContext(ctx, i).(RegularFileOutput) } +func (i RegularFileArgs) ToOutput(ctx context.Context) pulumix.Output[RegularFile] { + return pulumix.Output[RegularFile]{ + OutputState: i.ToRegularFileOutputWithContext(ctx).OutputState, + } +} + func (i RegularFileArgs) ToRegularFilePtrOutput() RegularFilePtrOutput { return i.ToRegularFilePtrOutputWithContext(context.Background()) } @@ -5243,6 +6072,12 @@ func (i *regularFilePtrType) ToRegularFilePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(RegularFilePtrOutput) } +func (i *regularFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*RegularFile] { + return pulumix.Output[*RegularFile]{ + OutputState: i.ToRegularFilePtrOutputWithContext(ctx).OutputState, + } +} + // A file or directory to install on the device before the test starts. type RegularFileOutput struct{ *pulumi.OutputState } @@ -5268,6 +6103,12 @@ func (o RegularFileOutput) ToRegularFilePtrOutputWithContext(ctx context.Context }).(RegularFilePtrOutput) } +func (o RegularFileOutput) ToOutput(ctx context.Context) pulumix.Output[RegularFile] { + return pulumix.Output[RegularFile]{ + OutputState: o.OutputState, + } +} + // The source file. func (o RegularFileOutput) Content() FileReferenceOutput { return o.ApplyT(func(v RegularFile) FileReference { return v.Content }).(FileReferenceOutput) @@ -5292,6 +6133,12 @@ func (o RegularFilePtrOutput) ToRegularFilePtrOutputWithContext(ctx context.Cont return o } +func (o RegularFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RegularFile] { + return pulumix.Output[*RegularFile]{ + OutputState: o.OutputState, + } +} + func (o RegularFilePtrOutput) Elem() RegularFileOutput { return o.ApplyT(func(v *RegularFile) RegularFile { if v != nil { @@ -5345,6 +6192,12 @@ func (o RegularFileResponseOutput) ToRegularFileResponseOutputWithContext(ctx co return o } +func (o RegularFileResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RegularFileResponse] { + return pulumix.Output[RegularFileResponse]{ + OutputState: o.OutputState, + } +} + // The source file. func (o RegularFileResponseOutput) Content() FileReferenceResponseOutput { return o.ApplyT(func(v RegularFileResponse) FileReferenceResponse { return v.Content }).(FileReferenceResponseOutput) @@ -5394,6 +6247,12 @@ func (i ResultStorageArgs) ToResultStorageOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ResultStorageOutput) } +func (i ResultStorageArgs) ToOutput(ctx context.Context) pulumix.Output[ResultStorage] { + return pulumix.Output[ResultStorage]{ + OutputState: i.ToResultStorageOutputWithContext(ctx).OutputState, + } +} + // Locations where the results of running the test are stored. type ResultStorageOutput struct{ *pulumi.OutputState } @@ -5409,6 +6268,12 @@ func (o ResultStorageOutput) ToResultStorageOutputWithContext(ctx context.Contex return o } +func (o ResultStorageOutput) ToOutput(ctx context.Context) pulumix.Output[ResultStorage] { + return pulumix.Output[ResultStorage]{ + OutputState: o.OutputState, + } +} + // Required. func (o ResultStorageOutput) GoogleCloudStorage() GoogleCloudStorageOutput { return o.ApplyT(func(v ResultStorage) GoogleCloudStorage { return v.GoogleCloudStorage }).(GoogleCloudStorageOutput) @@ -5446,6 +6311,12 @@ func (o ResultStorageResponseOutput) ToResultStorageResponseOutputWithContext(ct return o } +func (o ResultStorageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResultStorageResponse] { + return pulumix.Output[ResultStorageResponse]{ + OutputState: o.OutputState, + } +} + // Required. func (o ResultStorageResponseOutput) GoogleCloudStorage() GoogleCloudStorageResponseOutput { return o.ApplyT(func(v ResultStorageResponse) GoogleCloudStorageResponse { return v.GoogleCloudStorage }).(GoogleCloudStorageResponseOutput) @@ -5509,6 +6380,12 @@ func (i RoboDirectiveArgs) ToRoboDirectiveOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RoboDirectiveOutput) } +func (i RoboDirectiveArgs) ToOutput(ctx context.Context) pulumix.Output[RoboDirective] { + return pulumix.Output[RoboDirective]{ + OutputState: i.ToRoboDirectiveOutputWithContext(ctx).OutputState, + } +} + // RoboDirectiveArrayInput is an input type that accepts RoboDirectiveArray and RoboDirectiveArrayOutput values. // You can construct a concrete instance of `RoboDirectiveArrayInput` via: // @@ -5534,6 +6411,12 @@ func (i RoboDirectiveArray) ToRoboDirectiveArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RoboDirectiveArrayOutput) } +func (i RoboDirectiveArray) ToOutput(ctx context.Context) pulumix.Output[[]RoboDirective] { + return pulumix.Output[[]RoboDirective]{ + OutputState: i.ToRoboDirectiveArrayOutputWithContext(ctx).OutputState, + } +} + // Directs Robo to interact with a specific UI element if it is encountered during the crawl. Currently, Robo can perform text entry or element click. type RoboDirectiveOutput struct{ *pulumi.OutputState } @@ -5549,6 +6432,12 @@ func (o RoboDirectiveOutput) ToRoboDirectiveOutputWithContext(ctx context.Contex return o } +func (o RoboDirectiveOutput) ToOutput(ctx context.Context) pulumix.Output[RoboDirective] { + return pulumix.Output[RoboDirective]{ + OutputState: o.OutputState, + } +} + // The type of action that Robo should perform on the specified element. func (o RoboDirectiveOutput) ActionType() RoboDirectiveActionTypeOutput { return o.ApplyT(func(v RoboDirective) RoboDirectiveActionType { return v.ActionType }).(RoboDirectiveActionTypeOutput) @@ -5578,6 +6467,12 @@ func (o RoboDirectiveArrayOutput) ToRoboDirectiveArrayOutputWithContext(ctx cont return o } +func (o RoboDirectiveArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoboDirective] { + return pulumix.Output[[]RoboDirective]{ + OutputState: o.OutputState, + } +} + func (o RoboDirectiveArrayOutput) Index(i pulumi.IntInput) RoboDirectiveOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoboDirective { return vs[0].([]RoboDirective)[vs[1].(int)] @@ -5609,6 +6504,12 @@ func (o RoboDirectiveResponseOutput) ToRoboDirectiveResponseOutputWithContext(ct return o } +func (o RoboDirectiveResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RoboDirectiveResponse] { + return pulumix.Output[RoboDirectiveResponse]{ + OutputState: o.OutputState, + } +} + // The type of action that Robo should perform on the specified element. func (o RoboDirectiveResponseOutput) ActionType() pulumi.StringOutput { return o.ApplyT(func(v RoboDirectiveResponse) string { return v.ActionType }).(pulumi.StringOutput) @@ -5638,6 +6539,12 @@ func (o RoboDirectiveResponseArrayOutput) ToRoboDirectiveResponseArrayOutputWith return o } +func (o RoboDirectiveResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoboDirectiveResponse] { + return pulumix.Output[[]RoboDirectiveResponse]{ + OutputState: o.OutputState, + } +} + func (o RoboDirectiveResponseArrayOutput) Index(i pulumi.IntInput) RoboDirectiveResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoboDirectiveResponse { return vs[0].([]RoboDirectiveResponse)[vs[1].(int)] @@ -5687,6 +6594,12 @@ func (i RoboStartingIntentArgs) ToRoboStartingIntentOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(RoboStartingIntentOutput) } +func (i RoboStartingIntentArgs) ToOutput(ctx context.Context) pulumix.Output[RoboStartingIntent] { + return pulumix.Output[RoboStartingIntent]{ + OutputState: i.ToRoboStartingIntentOutputWithContext(ctx).OutputState, + } +} + // RoboStartingIntentArrayInput is an input type that accepts RoboStartingIntentArray and RoboStartingIntentArrayOutput values. // You can construct a concrete instance of `RoboStartingIntentArrayInput` via: // @@ -5712,6 +6625,12 @@ func (i RoboStartingIntentArray) ToRoboStartingIntentArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RoboStartingIntentArrayOutput) } +func (i RoboStartingIntentArray) ToOutput(ctx context.Context) pulumix.Output[[]RoboStartingIntent] { + return pulumix.Output[[]RoboStartingIntent]{ + OutputState: i.ToRoboStartingIntentArrayOutputWithContext(ctx).OutputState, + } +} + // Message for specifying the start activities to crawl. type RoboStartingIntentOutput struct{ *pulumi.OutputState } @@ -5727,6 +6646,12 @@ func (o RoboStartingIntentOutput) ToRoboStartingIntentOutputWithContext(ctx cont return o } +func (o RoboStartingIntentOutput) ToOutput(ctx context.Context) pulumix.Output[RoboStartingIntent] { + return pulumix.Output[RoboStartingIntent]{ + OutputState: o.OutputState, + } +} + // An intent that starts the main launcher activity. func (o RoboStartingIntentOutput) LauncherActivity() LauncherActivityIntentPtrOutput { return o.ApplyT(func(v RoboStartingIntent) *LauncherActivityIntent { return v.LauncherActivity }).(LauncherActivityIntentPtrOutput) @@ -5756,6 +6681,12 @@ func (o RoboStartingIntentArrayOutput) ToRoboStartingIntentArrayOutputWithContex return o } +func (o RoboStartingIntentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoboStartingIntent] { + return pulumix.Output[[]RoboStartingIntent]{ + OutputState: o.OutputState, + } +} + func (o RoboStartingIntentArrayOutput) Index(i pulumi.IntInput) RoboStartingIntentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoboStartingIntent { return vs[0].([]RoboStartingIntent)[vs[1].(int)] @@ -5787,6 +6718,12 @@ func (o RoboStartingIntentResponseOutput) ToRoboStartingIntentResponseOutputWith return o } +func (o RoboStartingIntentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[RoboStartingIntentResponse] { + return pulumix.Output[RoboStartingIntentResponse]{ + OutputState: o.OutputState, + } +} + // An intent that starts the main launcher activity. func (o RoboStartingIntentResponseOutput) LauncherActivity() LauncherActivityIntentResponseOutput { return o.ApplyT(func(v RoboStartingIntentResponse) LauncherActivityIntentResponse { return v.LauncherActivity }).(LauncherActivityIntentResponseOutput) @@ -5816,6 +6753,12 @@ func (o RoboStartingIntentResponseArrayOutput) ToRoboStartingIntentResponseArray return o } +func (o RoboStartingIntentResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RoboStartingIntentResponse] { + return pulumix.Output[[]RoboStartingIntentResponse]{ + OutputState: o.OutputState, + } +} + func (o RoboStartingIntentResponseArrayOutput) Index(i pulumi.IntInput) RoboStartingIntentResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoboStartingIntentResponse { return vs[0].([]RoboStartingIntentResponse)[vs[1].(int)] @@ -5847,6 +6790,12 @@ func (o ShardResponseOutput) ToShardResponseOutputWithContext(ctx context.Contex return o } +func (o ShardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShardResponse] { + return pulumix.Output[ShardResponse]{ + OutputState: o.OutputState, + } +} + // The total number of shards. func (o ShardResponseOutput) NumShards() pulumi.IntOutput { return o.ApplyT(func(v ShardResponse) int { return v.NumShards }).(pulumi.IntOutput) @@ -5905,6 +6854,12 @@ func (i ShardingOptionArgs) ToShardingOptionOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ShardingOptionOutput) } +func (i ShardingOptionArgs) ToOutput(ctx context.Context) pulumix.Output[ShardingOption] { + return pulumix.Output[ShardingOption]{ + OutputState: i.ToShardingOptionOutputWithContext(ctx).OutputState, + } +} + func (i ShardingOptionArgs) ToShardingOptionPtrOutput() ShardingOptionPtrOutput { return i.ToShardingOptionPtrOutputWithContext(context.Background()) } @@ -5946,6 +6901,12 @@ func (i *shardingOptionPtrType) ToShardingOptionPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ShardingOptionPtrOutput) } +func (i *shardingOptionPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShardingOption] { + return pulumix.Output[*ShardingOption]{ + OutputState: i.ToShardingOptionPtrOutputWithContext(ctx).OutputState, + } +} + // Options for enabling sharding. type ShardingOptionOutput struct{ *pulumi.OutputState } @@ -5971,6 +6932,12 @@ func (o ShardingOptionOutput) ToShardingOptionPtrOutputWithContext(ctx context.C }).(ShardingOptionPtrOutput) } +func (o ShardingOptionOutput) ToOutput(ctx context.Context) pulumix.Output[ShardingOption] { + return pulumix.Output[ShardingOption]{ + OutputState: o.OutputState, + } +} + // Shards test cases into the specified groups of packages, classes, and/or methods. func (o ShardingOptionOutput) ManualSharding() ManualShardingPtrOutput { return o.ApplyT(func(v ShardingOption) *ManualSharding { return v.ManualSharding }).(ManualShardingPtrOutput) @@ -6000,6 +6967,12 @@ func (o ShardingOptionPtrOutput) ToShardingOptionPtrOutputWithContext(ctx contex return o } +func (o ShardingOptionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShardingOption] { + return pulumix.Output[*ShardingOption]{ + OutputState: o.OutputState, + } +} + func (o ShardingOptionPtrOutput) Elem() ShardingOptionOutput { return o.ApplyT(func(v *ShardingOption) ShardingOption { if v != nil { @@ -6065,6 +7038,12 @@ func (o ShardingOptionResponseOutput) ToShardingOptionResponseOutputWithContext( return o } +func (o ShardingOptionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShardingOptionResponse] { + return pulumix.Output[ShardingOptionResponse]{ + OutputState: o.OutputState, + } +} + // Shards test cases into the specified groups of packages, classes, and/or methods. func (o ShardingOptionResponseOutput) ManualSharding() ManualShardingResponseOutput { return o.ApplyT(func(v ShardingOptionResponse) ManualShardingResponse { return v.ManualSharding }).(ManualShardingResponseOutput) @@ -6115,6 +7094,12 @@ func (i SmartShardingArgs) ToSmartShardingOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SmartShardingOutput) } +func (i SmartShardingArgs) ToOutput(ctx context.Context) pulumix.Output[SmartSharding] { + return pulumix.Output[SmartSharding]{ + OutputState: i.ToSmartShardingOutputWithContext(ctx).OutputState, + } +} + func (i SmartShardingArgs) ToSmartShardingPtrOutput() SmartShardingPtrOutput { return i.ToSmartShardingPtrOutputWithContext(context.Background()) } @@ -6156,6 +7141,12 @@ func (i *smartShardingPtrType) ToSmartShardingPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SmartShardingPtrOutput) } +func (i *smartShardingPtrType) ToOutput(ctx context.Context) pulumix.Output[*SmartSharding] { + return pulumix.Output[*SmartSharding]{ + OutputState: i.ToSmartShardingPtrOutputWithContext(ctx).OutputState, + } +} + // Shards test based on previous test case timing records. type SmartShardingOutput struct{ *pulumi.OutputState } @@ -6181,6 +7172,12 @@ func (o SmartShardingOutput) ToSmartShardingPtrOutputWithContext(ctx context.Con }).(SmartShardingPtrOutput) } +func (o SmartShardingOutput) ToOutput(ctx context.Context) pulumix.Output[SmartSharding] { + return pulumix.Output[SmartSharding]{ + OutputState: o.OutputState, + } +} + // The amount of time tests within a shard should take. Default: 300 seconds (5 minutes). The minimum allowed: 120 seconds (2 minutes). The shard count is dynamically set based on time, up to the maximum shard limit (described below). To guarantee at least one test case for each shard, the number of shards will not exceed the number of test cases. Shard duration will be exceeded if: - The maximum shard limit is reached and there is more calculated test time remaining to allocate into shards. - Any individual test is estimated to be longer than the targeted shard duration. Shard duration is not guaranteed because smart sharding uses test case history and default durations which may not be accurate. The rules for finding the test case timing records are: - If the service has seen a test case in the last 30 days, the record of the latest successful one will be used. - For new test cases, the average duration of other known test cases will be used. - If there are no previous test case timing records available, the test case is considered to be 15 seconds long by default. Because the actual shard duration can exceed the targeted shard duration, we recommend setting the targeted value at least 5 minutes less than the maximum allowed test timeout (45 minutes for physical devices and 60 minutes for virtual), or using the custom test timeout value you set. This approach avoids cancelling the shard before all tests can finish. Note that there is a limit for maximum number of shards. When you select one or more physical devices, the number of shards must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only x86 virtual devices, it must be <= 500. To guarantee at least one test case for per shard, the number of shards will not exceed the number of test cases. Each shard created will count toward daily test quota. func (o SmartShardingOutput) TargetedShardDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v SmartSharding) *string { return v.TargetedShardDuration }).(pulumi.StringPtrOutput) @@ -6200,6 +7197,12 @@ func (o SmartShardingPtrOutput) ToSmartShardingPtrOutputWithContext(ctx context. return o } +func (o SmartShardingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SmartSharding] { + return pulumix.Output[*SmartSharding]{ + OutputState: o.OutputState, + } +} + func (o SmartShardingPtrOutput) Elem() SmartShardingOutput { return o.ApplyT(func(v *SmartSharding) SmartSharding { if v != nil { @@ -6241,6 +7244,12 @@ func (o SmartShardingResponseOutput) ToSmartShardingResponseOutputWithContext(ct return o } +func (o SmartShardingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SmartShardingResponse] { + return pulumix.Output[SmartShardingResponse]{ + OutputState: o.OutputState, + } +} + // The amount of time tests within a shard should take. Default: 300 seconds (5 minutes). The minimum allowed: 120 seconds (2 minutes). The shard count is dynamically set based on time, up to the maximum shard limit (described below). To guarantee at least one test case for each shard, the number of shards will not exceed the number of test cases. Shard duration will be exceeded if: - The maximum shard limit is reached and there is more calculated test time remaining to allocate into shards. - Any individual test is estimated to be longer than the targeted shard duration. Shard duration is not guaranteed because smart sharding uses test case history and default durations which may not be accurate. The rules for finding the test case timing records are: - If the service has seen a test case in the last 30 days, the record of the latest successful one will be used. - For new test cases, the average duration of other known test cases will be used. - If there are no previous test case timing records available, the test case is considered to be 15 seconds long by default. Because the actual shard duration can exceed the targeted shard duration, we recommend setting the targeted value at least 5 minutes less than the maximum allowed test timeout (45 minutes for physical devices and 60 minutes for virtual), or using the custom test timeout value you set. This approach avoids cancelling the shard before all tests can finish. Note that there is a limit for maximum number of shards. When you select one or more physical devices, the number of shards must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only x86 virtual devices, it must be <= 500. To guarantee at least one test case for per shard, the number of shards will not exceed the number of test cases. Each shard created will count toward daily test quota. func (o SmartShardingResponseOutput) TargetedShardDuration() pulumi.StringOutput { return o.ApplyT(func(v SmartShardingResponse) string { return v.TargetedShardDuration }).(pulumi.StringOutput) @@ -6289,6 +7298,12 @@ func (i StartActivityIntentArgs) ToStartActivityIntentOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(StartActivityIntentOutput) } +func (i StartActivityIntentArgs) ToOutput(ctx context.Context) pulumix.Output[StartActivityIntent] { + return pulumix.Output[StartActivityIntent]{ + OutputState: i.ToStartActivityIntentOutputWithContext(ctx).OutputState, + } +} + func (i StartActivityIntentArgs) ToStartActivityIntentPtrOutput() StartActivityIntentPtrOutput { return i.ToStartActivityIntentPtrOutputWithContext(context.Background()) } @@ -6330,6 +7345,12 @@ func (i *startActivityIntentPtrType) ToStartActivityIntentPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(StartActivityIntentPtrOutput) } +func (i *startActivityIntentPtrType) ToOutput(ctx context.Context) pulumix.Output[*StartActivityIntent] { + return pulumix.Output[*StartActivityIntent]{ + OutputState: i.ToStartActivityIntentPtrOutputWithContext(ctx).OutputState, + } +} + // A starting intent specified by an action, uri, and categories. type StartActivityIntentOutput struct{ *pulumi.OutputState } @@ -6355,6 +7376,12 @@ func (o StartActivityIntentOutput) ToStartActivityIntentPtrOutputWithContext(ctx }).(StartActivityIntentPtrOutput) } +func (o StartActivityIntentOutput) ToOutput(ctx context.Context) pulumix.Output[StartActivityIntent] { + return pulumix.Output[StartActivityIntent]{ + OutputState: o.OutputState, + } +} + // Action name. Required for START_ACTIVITY. func (o StartActivityIntentOutput) Action() pulumi.StringPtrOutput { return o.ApplyT(func(v StartActivityIntent) *string { return v.Action }).(pulumi.StringPtrOutput) @@ -6384,6 +7411,12 @@ func (o StartActivityIntentPtrOutput) ToStartActivityIntentPtrOutputWithContext( return o } +func (o StartActivityIntentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StartActivityIntent] { + return pulumix.Output[*StartActivityIntent]{ + OutputState: o.OutputState, + } +} + func (o StartActivityIntentPtrOutput) Elem() StartActivityIntentOutput { return o.ApplyT(func(v *StartActivityIntent) StartActivityIntent { if v != nil { @@ -6449,6 +7482,12 @@ func (o StartActivityIntentResponseOutput) ToStartActivityIntentResponseOutputWi return o } +func (o StartActivityIntentResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StartActivityIntentResponse] { + return pulumix.Output[StartActivityIntentResponse]{ + OutputState: o.OutputState, + } +} + // Action name. Required for START_ACTIVITY. func (o StartActivityIntentResponseOutput) Action() pulumi.StringOutput { return o.ApplyT(func(v StartActivityIntentResponse) string { return v.Action }).(pulumi.StringOutput) @@ -6497,6 +7536,12 @@ func (i SystraceSetupArgs) ToSystraceSetupOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SystraceSetupOutput) } +func (i SystraceSetupArgs) ToOutput(ctx context.Context) pulumix.Output[SystraceSetup] { + return pulumix.Output[SystraceSetup]{ + OutputState: i.ToSystraceSetupOutputWithContext(ctx).OutputState, + } +} + func (i SystraceSetupArgs) ToSystraceSetupPtrOutput() SystraceSetupPtrOutput { return i.ToSystraceSetupPtrOutputWithContext(context.Background()) } @@ -6538,6 +7583,12 @@ func (i *systraceSetupPtrType) ToSystraceSetupPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SystraceSetupPtrOutput) } +func (i *systraceSetupPtrType) ToOutput(ctx context.Context) pulumix.Output[*SystraceSetup] { + return pulumix.Output[*SystraceSetup]{ + OutputState: i.ToSystraceSetupPtrOutputWithContext(ctx).OutputState, + } +} + type SystraceSetupOutput struct{ *pulumi.OutputState } func (SystraceSetupOutput) ElementType() reflect.Type { @@ -6562,6 +7613,12 @@ func (o SystraceSetupOutput) ToSystraceSetupPtrOutputWithContext(ctx context.Con }).(SystraceSetupPtrOutput) } +func (o SystraceSetupOutput) ToOutput(ctx context.Context) pulumix.Output[SystraceSetup] { + return pulumix.Output[SystraceSetup]{ + OutputState: o.OutputState, + } +} + // Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace. func (o SystraceSetupOutput) DurationSeconds() pulumi.IntPtrOutput { return o.ApplyT(func(v SystraceSetup) *int { return v.DurationSeconds }).(pulumi.IntPtrOutput) @@ -6581,6 +7638,12 @@ func (o SystraceSetupPtrOutput) ToSystraceSetupPtrOutputWithContext(ctx context. return o } +func (o SystraceSetupPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SystraceSetup] { + return pulumix.Output[*SystraceSetup]{ + OutputState: o.OutputState, + } +} + func (o SystraceSetupPtrOutput) Elem() SystraceSetupOutput { return o.ApplyT(func(v *SystraceSetup) SystraceSetup { if v != nil { @@ -6620,6 +7683,12 @@ func (o SystraceSetupResponseOutput) ToSystraceSetupResponseOutputWithContext(ct return o } +func (o SystraceSetupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SystraceSetupResponse] { + return pulumix.Output[SystraceSetupResponse]{ + OutputState: o.OutputState, + } +} + // Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace. func (o SystraceSetupResponseOutput) DurationSeconds() pulumi.IntOutput { return o.ApplyT(func(v SystraceSetupResponse) int { return v.DurationSeconds }).(pulumi.IntOutput) @@ -6648,6 +7717,12 @@ func (o TestDetailsResponseOutput) ToTestDetailsResponseOutputWithContext(ctx co return o } +func (o TestDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TestDetailsResponse] { + return pulumix.Output[TestDetailsResponse]{ + OutputState: o.OutputState, + } +} + // If the TestState is ERROR, then this string will contain human-readable details about the error. func (o TestDetailsResponseOutput) ErrorMessage() pulumi.StringOutput { return o.ApplyT(func(v TestDetailsResponse) string { return v.ErrorMessage }).(pulumi.StringOutput) @@ -6695,6 +7770,12 @@ func (o TestExecutionResponseOutput) ToTestExecutionResponseOutputWithContext(ct return o } +func (o TestExecutionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TestExecutionResponse] { + return pulumix.Output[TestExecutionResponse]{ + OutputState: o.OutputState, + } +} + // How the host machine(s) are configured. func (o TestExecutionResponseOutput) Environment() EnvironmentResponseOutput { return o.ApplyT(func(v TestExecutionResponse) EnvironmentResponse { return v.Environment }).(EnvironmentResponseOutput) @@ -6754,6 +7835,12 @@ func (o TestExecutionResponseArrayOutput) ToTestExecutionResponseArrayOutputWith return o } +func (o TestExecutionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TestExecutionResponse] { + return pulumix.Output[[]TestExecutionResponse]{ + OutputState: o.OutputState, + } +} + func (o TestExecutionResponseArrayOutput) Index(i pulumi.IntInput) TestExecutionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TestExecutionResponse { return vs[0].([]TestExecutionResponse)[vs[1].(int)] @@ -6827,6 +7914,12 @@ func (i TestSetupArgs) ToTestSetupOutputWithContext(ctx context.Context) TestSet return pulumi.ToOutputWithContext(ctx, i).(TestSetupOutput) } +func (i TestSetupArgs) ToOutput(ctx context.Context) pulumix.Output[TestSetup] { + return pulumix.Output[TestSetup]{ + OutputState: i.ToTestSetupOutputWithContext(ctx).OutputState, + } +} + func (i TestSetupArgs) ToTestSetupPtrOutput() TestSetupPtrOutput { return i.ToTestSetupPtrOutputWithContext(context.Background()) } @@ -6868,6 +7961,12 @@ func (i *testSetupPtrType) ToTestSetupPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TestSetupPtrOutput) } +func (i *testSetupPtrType) ToOutput(ctx context.Context) pulumix.Output[*TestSetup] { + return pulumix.Output[*TestSetup]{ + OutputState: i.ToTestSetupPtrOutputWithContext(ctx).OutputState, + } +} + // A description of how to set up the Android device prior to running the test. type TestSetupOutput struct{ *pulumi.OutputState } @@ -6893,6 +7992,12 @@ func (o TestSetupOutput) ToTestSetupPtrOutputWithContext(ctx context.Context) Te }).(TestSetupPtrOutput) } +func (o TestSetupOutput) ToOutput(ctx context.Context) pulumix.Output[TestSetup] { + return pulumix.Output[TestSetup]{ + OutputState: o.OutputState, + } +} + // The device will be logged in on this account for the duration of the test. func (o TestSetupOutput) Account() AccountPtrOutput { return o.ApplyT(func(v TestSetup) *Account { return v.Account }).(AccountPtrOutput) @@ -6949,6 +8054,12 @@ func (o TestSetupPtrOutput) ToTestSetupPtrOutputWithContext(ctx context.Context) return o } +func (o TestSetupPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TestSetup] { + return pulumix.Output[*TestSetup]{ + OutputState: o.OutputState, + } +} + func (o TestSetupPtrOutput) Elem() TestSetupOutput { return o.ApplyT(func(v *TestSetup) TestSetup { if v != nil { @@ -7078,6 +8189,12 @@ func (o TestSetupResponseOutput) ToTestSetupResponseOutputWithContext(ctx contex return o } +func (o TestSetupResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TestSetupResponse] { + return pulumix.Output[TestSetupResponse]{ + OutputState: o.OutputState, + } +} + // The device will be logged in on this account for the duration of the test. func (o TestSetupResponseOutput) Account() AccountResponseOutput { return o.ApplyT(func(v TestSetupResponse) AccountResponse { return v.Account }).(AccountResponseOutput) @@ -7191,6 +8308,12 @@ func (i TestSpecificationArgs) ToTestSpecificationOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TestSpecificationOutput) } +func (i TestSpecificationArgs) ToOutput(ctx context.Context) pulumix.Output[TestSpecification] { + return pulumix.Output[TestSpecification]{ + OutputState: i.ToTestSpecificationOutputWithContext(ctx).OutputState, + } +} + // A description of how to run the test. type TestSpecificationOutput struct{ *pulumi.OutputState } @@ -7206,6 +8329,12 @@ func (o TestSpecificationOutput) ToTestSpecificationOutputWithContext(ctx contex return o } +func (o TestSpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[TestSpecification] { + return pulumix.Output[TestSpecification]{ + OutputState: o.OutputState, + } +} + // An Android instrumentation test. func (o TestSpecificationOutput) AndroidInstrumentationTest() AndroidInstrumentationTestPtrOutput { return o.ApplyT(func(v TestSpecification) *AndroidInstrumentationTest { return v.AndroidInstrumentationTest }).(AndroidInstrumentationTestPtrOutput) @@ -7295,6 +8424,12 @@ func (o TestSpecificationResponseOutput) ToTestSpecificationResponseOutputWithCo return o } +func (o TestSpecificationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TestSpecificationResponse] { + return pulumix.Output[TestSpecificationResponse]{ + OutputState: o.OutputState, + } +} + // An Android instrumentation test. func (o TestSpecificationResponseOutput) AndroidInstrumentationTest() AndroidInstrumentationTestResponseOutput { return o.ApplyT(func(v TestSpecificationResponse) AndroidInstrumentationTestResponse { @@ -7382,6 +8517,12 @@ func (i TestTargetsForShardArgs) ToTestTargetsForShardOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(TestTargetsForShardOutput) } +func (i TestTargetsForShardArgs) ToOutput(ctx context.Context) pulumix.Output[TestTargetsForShard] { + return pulumix.Output[TestTargetsForShard]{ + OutputState: i.ToTestTargetsForShardOutputWithContext(ctx).OutputState, + } +} + // TestTargetsForShardArrayInput is an input type that accepts TestTargetsForShardArray and TestTargetsForShardArrayOutput values. // You can construct a concrete instance of `TestTargetsForShardArrayInput` via: // @@ -7407,6 +8548,12 @@ func (i TestTargetsForShardArray) ToTestTargetsForShardArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(TestTargetsForShardArrayOutput) } +func (i TestTargetsForShardArray) ToOutput(ctx context.Context) pulumix.Output[[]TestTargetsForShard] { + return pulumix.Output[[]TestTargetsForShard]{ + OutputState: i.ToTestTargetsForShardArrayOutputWithContext(ctx).OutputState, + } +} + // Test targets for a shard. type TestTargetsForShardOutput struct{ *pulumi.OutputState } @@ -7422,6 +8569,12 @@ func (o TestTargetsForShardOutput) ToTestTargetsForShardOutputWithContext(ctx co return o } +func (o TestTargetsForShardOutput) ToOutput(ctx context.Context) pulumix.Output[TestTargetsForShard] { + return pulumix.Output[TestTargetsForShard]{ + OutputState: o.OutputState, + } +} + // Group of packages, classes, and/or test methods to be run for each shard. The targets need to be specified in AndroidJUnitRunner argument format. For example, "package com.my.packages" "class com.my.package.MyClass". The number of test_targets must be greater than 0. func (o TestTargetsForShardOutput) TestTargets() pulumi.StringArrayOutput { return o.ApplyT(func(v TestTargetsForShard) []string { return v.TestTargets }).(pulumi.StringArrayOutput) @@ -7441,6 +8594,12 @@ func (o TestTargetsForShardArrayOutput) ToTestTargetsForShardArrayOutputWithCont return o } +func (o TestTargetsForShardArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TestTargetsForShard] { + return pulumix.Output[[]TestTargetsForShard]{ + OutputState: o.OutputState, + } +} + func (o TestTargetsForShardArrayOutput) Index(i pulumi.IntInput) TestTargetsForShardOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TestTargetsForShard { return vs[0].([]TestTargetsForShard)[vs[1].(int)] @@ -7468,6 +8627,12 @@ func (o TestTargetsForShardResponseOutput) ToTestTargetsForShardResponseOutputWi return o } +func (o TestTargetsForShardResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TestTargetsForShardResponse] { + return pulumix.Output[TestTargetsForShardResponse]{ + OutputState: o.OutputState, + } +} + // Group of packages, classes, and/or test methods to be run for each shard. The targets need to be specified in AndroidJUnitRunner argument format. For example, "package com.my.packages" "class com.my.package.MyClass". The number of test_targets must be greater than 0. func (o TestTargetsForShardResponseOutput) TestTargets() pulumi.StringArrayOutput { return o.ApplyT(func(v TestTargetsForShardResponse) []string { return v.TestTargets }).(pulumi.StringArrayOutput) @@ -7487,6 +8652,12 @@ func (o TestTargetsForShardResponseArrayOutput) ToTestTargetsForShardResponseArr return o } +func (o TestTargetsForShardResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TestTargetsForShardResponse] { + return pulumix.Output[[]TestTargetsForShardResponse]{ + OutputState: o.OutputState, + } +} + func (o TestTargetsForShardResponseArrayOutput) Index(i pulumi.IntInput) TestTargetsForShardResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TestTargetsForShardResponse { return vs[0].([]TestTargetsForShardResponse)[vs[1].(int)] @@ -7518,6 +8689,12 @@ func (o ToolResultsExecutionResponseOutput) ToToolResultsExecutionResponseOutput return o } +func (o ToolResultsExecutionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ToolResultsExecutionResponse] { + return pulumix.Output[ToolResultsExecutionResponse]{ + OutputState: o.OutputState, + } +} + // A tool results execution ID. func (o ToolResultsExecutionResponseOutput) ExecutionId() pulumi.StringOutput { return o.ApplyT(func(v ToolResultsExecutionResponse) string { return v.ExecutionId }).(pulumi.StringOutput) @@ -7572,6 +8749,12 @@ func (i ToolResultsHistoryArgs) ToToolResultsHistoryOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ToolResultsHistoryOutput) } +func (i ToolResultsHistoryArgs) ToOutput(ctx context.Context) pulumix.Output[ToolResultsHistory] { + return pulumix.Output[ToolResultsHistory]{ + OutputState: i.ToToolResultsHistoryOutputWithContext(ctx).OutputState, + } +} + func (i ToolResultsHistoryArgs) ToToolResultsHistoryPtrOutput() ToolResultsHistoryPtrOutput { return i.ToToolResultsHistoryPtrOutputWithContext(context.Background()) } @@ -7613,6 +8796,12 @@ func (i *toolResultsHistoryPtrType) ToToolResultsHistoryPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ToolResultsHistoryPtrOutput) } +func (i *toolResultsHistoryPtrType) ToOutput(ctx context.Context) pulumix.Output[*ToolResultsHistory] { + return pulumix.Output[*ToolResultsHistory]{ + OutputState: i.ToToolResultsHistoryPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a tool results history resource. type ToolResultsHistoryOutput struct{ *pulumi.OutputState } @@ -7638,6 +8827,12 @@ func (o ToolResultsHistoryOutput) ToToolResultsHistoryPtrOutputWithContext(ctx c }).(ToolResultsHistoryPtrOutput) } +func (o ToolResultsHistoryOutput) ToOutput(ctx context.Context) pulumix.Output[ToolResultsHistory] { + return pulumix.Output[ToolResultsHistory]{ + OutputState: o.OutputState, + } +} + // A tool results history ID. func (o ToolResultsHistoryOutput) HistoryId() pulumi.StringOutput { return o.ApplyT(func(v ToolResultsHistory) string { return v.HistoryId }).(pulumi.StringOutput) @@ -7662,6 +8857,12 @@ func (o ToolResultsHistoryPtrOutput) ToToolResultsHistoryPtrOutputWithContext(ct return o } +func (o ToolResultsHistoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ToolResultsHistory] { + return pulumix.Output[*ToolResultsHistory]{ + OutputState: o.OutputState, + } +} + func (o ToolResultsHistoryPtrOutput) Elem() ToolResultsHistoryOutput { return o.ApplyT(func(v *ToolResultsHistory) ToolResultsHistory { if v != nil { @@ -7715,6 +8916,12 @@ func (o ToolResultsHistoryResponseOutput) ToToolResultsHistoryResponseOutputWith return o } +func (o ToolResultsHistoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ToolResultsHistoryResponse] { + return pulumix.Output[ToolResultsHistoryResponse]{ + OutputState: o.OutputState, + } +} + // A tool results history ID. func (o ToolResultsHistoryResponseOutput) HistoryId() pulumi.StringOutput { return o.ApplyT(func(v ToolResultsHistoryResponse) string { return v.HistoryId }).(pulumi.StringOutput) @@ -7752,6 +8959,12 @@ func (o ToolResultsStepResponseOutput) ToToolResultsStepResponseOutputWithContex return o } +func (o ToolResultsStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ToolResultsStepResponse] { + return pulumix.Output[ToolResultsStepResponse]{ + OutputState: o.OutputState, + } +} + // A tool results execution ID. func (o ToolResultsStepResponseOutput) ExecutionId() pulumi.StringOutput { return o.ApplyT(func(v ToolResultsStepResponse) string { return v.ExecutionId }).(pulumi.StringOutput) @@ -7807,6 +9020,12 @@ func (i UniformShardingArgs) ToUniformShardingOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(UniformShardingOutput) } +func (i UniformShardingArgs) ToOutput(ctx context.Context) pulumix.Output[UniformSharding] { + return pulumix.Output[UniformSharding]{ + OutputState: i.ToUniformShardingOutputWithContext(ctx).OutputState, + } +} + func (i UniformShardingArgs) ToUniformShardingPtrOutput() UniformShardingPtrOutput { return i.ToUniformShardingPtrOutputWithContext(context.Background()) } @@ -7848,6 +9067,12 @@ func (i *uniformShardingPtrType) ToUniformShardingPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(UniformShardingPtrOutput) } +func (i *uniformShardingPtrType) ToOutput(ctx context.Context) pulumix.Output[*UniformSharding] { + return pulumix.Output[*UniformSharding]{ + OutputState: i.ToUniformShardingPtrOutputWithContext(ctx).OutputState, + } +} + // Uniformly shards test cases given a total number of shards. For instrumentation tests, it will be translated to "-e numShard" and "-e shardIndex" AndroidJUnitRunner arguments. With uniform sharding enabled, specifying either of these sharding arguments via `environment_variables` is invalid. Based on the sharding mechanism AndroidJUnitRunner uses, there is no guarantee that test cases will be distributed uniformly across all shards. type UniformShardingOutput struct{ *pulumi.OutputState } @@ -7873,6 +9098,12 @@ func (o UniformShardingOutput) ToUniformShardingPtrOutputWithContext(ctx context }).(UniformShardingPtrOutput) } +func (o UniformShardingOutput) ToOutput(ctx context.Context) pulumix.Output[UniformSharding] { + return pulumix.Output[UniformSharding]{ + OutputState: o.OutputState, + } +} + // The total number of shards to create. This must always be a positive number that is no greater than the total number of test cases. When you select one or more physical devices, the number of shards must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only x86 virtual devices, it must be <= 500. func (o UniformShardingOutput) NumShards() pulumi.IntOutput { return o.ApplyT(func(v UniformSharding) int { return v.NumShards }).(pulumi.IntOutput) @@ -7892,6 +9123,12 @@ func (o UniformShardingPtrOutput) ToUniformShardingPtrOutputWithContext(ctx cont return o } +func (o UniformShardingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UniformSharding] { + return pulumix.Output[*UniformSharding]{ + OutputState: o.OutputState, + } +} + func (o UniformShardingPtrOutput) Elem() UniformShardingOutput { return o.ApplyT(func(v *UniformSharding) UniformSharding { if v != nil { @@ -7933,6 +9170,12 @@ func (o UniformShardingResponseOutput) ToUniformShardingResponseOutputWithContex return o } +func (o UniformShardingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UniformShardingResponse] { + return pulumix.Output[UniformShardingResponse]{ + OutputState: o.OutputState, + } +} + // The total number of shards to create. This must always be a positive number that is no greater than the total number of test cases. When you select one or more physical devices, the number of shards must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only x86 virtual devices, it must be <= 500. func (o UniformShardingResponseOutput) NumShards() pulumi.IntOutput { return o.ApplyT(func(v UniformShardingResponse) int { return v.NumShards }).(pulumi.IntOutput) diff --git a/sdk/go/google/testing/v1/testMatrix.go b/sdk/go/google/testing/v1/testMatrix.go index a8997d8b8e..4bf52b3c1a 100644 --- a/sdk/go/google/testing/v1/testMatrix.go +++ b/sdk/go/google/testing/v1/testMatrix.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. That happens later on and will require a call to GetTestMatrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix tries to use too many simultaneous devices. @@ -162,6 +163,12 @@ func (i *TestMatrix) ToTestMatrixOutputWithContext(ctx context.Context) TestMatr return pulumi.ToOutputWithContext(ctx, i).(TestMatrixOutput) } +func (i *TestMatrix) ToOutput(ctx context.Context) pulumix.Output[*TestMatrix] { + return pulumix.Output[*TestMatrix]{ + OutputState: i.ToTestMatrixOutputWithContext(ctx).OutputState, + } +} + type TestMatrixOutput struct{ *pulumi.OutputState } func (TestMatrixOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o TestMatrixOutput) ToTestMatrixOutputWithContext(ctx context.Context) Tes return o } +func (o TestMatrixOutput) ToOutput(ctx context.Context) pulumix.Output[*TestMatrix] { + return pulumix.Output[*TestMatrix]{ + OutputState: o.OutputState, + } +} + // Information about the client which invoked the test. func (o TestMatrixOutput) ClientInfo() ClientInfoResponseOutput { return o.ApplyT(func(v *TestMatrix) ClientInfoResponseOutput { return v.ClientInfo }).(ClientInfoResponseOutput) diff --git a/sdk/go/google/toolresults/v1beta3/execution.go b/sdk/go/google/toolresults/v1beta3/execution.go index c489405dfb..5d41d7525c 100644 --- a/sdk/go/google/toolresults/v1beta3/execution.go +++ b/sdk/go/google/toolresults/v1beta3/execution.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Execution. The returned Execution will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist @@ -158,6 +159,12 @@ func (i *Execution) ToExecutionOutputWithContext(ctx context.Context) ExecutionO return pulumi.ToOutputWithContext(ctx, i).(ExecutionOutput) } +func (i *Execution) ToOutput(ctx context.Context) pulumix.Output[*Execution] { + return pulumix.Output[*Execution]{ + OutputState: i.ToExecutionOutputWithContext(ctx).OutputState, + } +} + type ExecutionOutput struct{ *pulumi.OutputState } func (ExecutionOutput) ElementType() reflect.Type { @@ -172,6 +179,12 @@ func (o ExecutionOutput) ToExecutionOutputWithContext(ctx context.Context) Execu return o } +func (o ExecutionOutput) ToOutput(ctx context.Context) pulumix.Output[*Execution] { + return pulumix.Output[*Execution]{ + OutputState: o.OutputState, + } +} + // The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set func (o ExecutionOutput) CompletionTime() TimestampResponseOutput { return o.ApplyT(func(v *Execution) TimestampResponseOutput { return v.CompletionTime }).(TimestampResponseOutput) diff --git a/sdk/go/google/toolresults/v1beta3/getExecution.go b/sdk/go/google/toolresults/v1beta3/getExecution.go index f5982b2e25..0f447ab7a4 100644 --- a/sdk/go/google/toolresults/v1beta3/getExecution.go +++ b/sdk/go/google/toolresults/v1beta3/getExecution.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets an Execution. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution does not exist @@ -84,6 +85,12 @@ func (o LookupExecutionResultOutput) ToLookupExecutionResultOutputWithContext(ct return o } +func (o LookupExecutionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExecutionResult] { + return pulumix.Output[LookupExecutionResult]{ + OutputState: o.OutputState, + } +} + // The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set func (o LookupExecutionResultOutput) CompletionTime() TimestampResponseOutput { return o.ApplyT(func(v LookupExecutionResult) TimestampResponse { return v.CompletionTime }).(TimestampResponseOutput) diff --git a/sdk/go/google/toolresults/v1beta3/getHistory.go b/sdk/go/google/toolresults/v1beta3/getHistory.go index 84403b0c4f..f6674b4f64 100644 --- a/sdk/go/google/toolresults/v1beta3/getHistory.go +++ b/sdk/go/google/toolresults/v1beta3/getHistory.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a History. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does not exist @@ -74,6 +75,12 @@ func (o LookupHistoryResultOutput) ToLookupHistoryResultOutputWithContext(ctx co return o } +func (o LookupHistoryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupHistoryResult] { + return pulumix.Output[LookupHistoryResult]{ + OutputState: o.OutputState, + } +} + // A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional func (o LookupHistoryResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupHistoryResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/toolresults/v1beta3/getPerfSampleSeries.go b/sdk/go/google/toolresults/v1beta3/getPerfSampleSeries.go index 8bb642ccb6..12e44b2c12 100644 --- a/sdk/go/google/toolresults/v1beta3/getPerfSampleSeries.go +++ b/sdk/go/google/toolresults/v1beta3/getPerfSampleSeries.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a PerfSampleSeries. May return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist @@ -84,6 +85,12 @@ func (o LookupPerfSampleSeriesResultOutput) ToLookupPerfSampleSeriesResultOutput return o } +func (o LookupPerfSampleSeriesResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPerfSampleSeriesResult] { + return pulumix.Output[LookupPerfSampleSeriesResult]{ + OutputState: o.OutputState, + } +} + // Basic series represented by a line chart func (o LookupPerfSampleSeriesResultOutput) BasicPerfSampleSeries() BasicPerfSampleSeriesResponseOutput { return o.ApplyT(func(v LookupPerfSampleSeriesResult) BasicPerfSampleSeriesResponse { return v.BasicPerfSampleSeries }).(BasicPerfSampleSeriesResponseOutput) diff --git a/sdk/go/google/toolresults/v1beta3/getStep.go b/sdk/go/google/toolresults/v1beta3/getStep.go index b4c91c3986..be14f6ce35 100644 --- a/sdk/go/google/toolresults/v1beta3/getStep.go +++ b/sdk/go/google/toolresults/v1beta3/getStep.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Step does not exist @@ -100,6 +101,12 @@ func (o LookupStepResultOutput) ToLookupStepResultOutputWithContext(ctx context. return o } +func (o LookupStepResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupStepResult] { + return pulumix.Output[LookupStepResult]{ + OutputState: o.OutputState, + } +} + // The time when the step status was set to complete. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set func (o LookupStepResultOutput) CompletionTime() TimestampResponseOutput { return o.ApplyT(func(v LookupStepResult) TimestampResponse { return v.CompletionTime }).(TimestampResponseOutput) diff --git a/sdk/go/google/toolresults/v1beta3/history.go b/sdk/go/google/toolresults/v1beta3/history.go index 18bbb70480..5b2b92b7ec 100644 --- a/sdk/go/google/toolresults/v1beta3/history.go +++ b/sdk/go/google/toolresults/v1beta3/history.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a History. The returned History will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing project does not exist @@ -125,6 +126,12 @@ func (i *History) ToHistoryOutputWithContext(ctx context.Context) HistoryOutput return pulumi.ToOutputWithContext(ctx, i).(HistoryOutput) } +func (i *History) ToOutput(ctx context.Context) pulumix.Output[*History] { + return pulumix.Output[*History]{ + OutputState: i.ToHistoryOutputWithContext(ctx).OutputState, + } +} + type HistoryOutput struct{ *pulumi.OutputState } func (HistoryOutput) ElementType() reflect.Type { @@ -139,6 +146,12 @@ func (o HistoryOutput) ToHistoryOutputWithContext(ctx context.Context) HistoryOu return o } +func (o HistoryOutput) ToOutput(ctx context.Context) pulumix.Output[*History] { + return pulumix.Output[*History]{ + OutputState: o.OutputState, + } +} + // A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional func (o HistoryOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *History) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/toolresults/v1beta3/perfSampleSeries.go b/sdk/go/google/toolresults/v1beta3/perfSampleSeries.go index e9683fa192..8861e3f3f5 100644 --- a/sdk/go/google/toolresults/v1beta3/perfSampleSeries.go +++ b/sdk/go/google/toolresults/v1beta3/perfSampleSeries.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a PerfSampleSeries. May return any of the following error code(s): - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The containing Step does not exist @@ -126,6 +127,12 @@ func (i *PerfSampleSeries) ToPerfSampleSeriesOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PerfSampleSeriesOutput) } +func (i *PerfSampleSeries) ToOutput(ctx context.Context) pulumix.Output[*PerfSampleSeries] { + return pulumix.Output[*PerfSampleSeries]{ + OutputState: i.ToPerfSampleSeriesOutputWithContext(ctx).OutputState, + } +} + type PerfSampleSeriesOutput struct{ *pulumi.OutputState } func (PerfSampleSeriesOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o PerfSampleSeriesOutput) ToPerfSampleSeriesOutputWithContext(ctx context. return o } +func (o PerfSampleSeriesOutput) ToOutput(ctx context.Context) pulumix.Output[*PerfSampleSeries] { + return pulumix.Output[*PerfSampleSeries]{ + OutputState: o.OutputState, + } +} + // Basic series represented by a line chart func (o PerfSampleSeriesOutput) BasicPerfSampleSeries() BasicPerfSampleSeriesResponseOutput { return o.ApplyT(func(v *PerfSampleSeries) BasicPerfSampleSeriesResponseOutput { return v.BasicPerfSampleSeries }).(BasicPerfSampleSeriesResponseOutput) diff --git a/sdk/go/google/toolresults/v1beta3/pulumiEnums.go b/sdk/go/google/toolresults/v1beta3/pulumiEnums.go index ab76c30d32..a28dfc0dc8 100644 --- a/sdk/go/google/toolresults/v1beta3/pulumiEnums.go +++ b/sdk/go/google/toolresults/v1beta3/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type BasicPerfSampleSeriesPerfMetricType string @@ -80,6 +81,12 @@ func (o BasicPerfSampleSeriesPerfMetricTypeOutput) ToBasicPerfSampleSeriesPerfMe }).(BasicPerfSampleSeriesPerfMetricTypePtrOutput) } +func (o BasicPerfSampleSeriesPerfMetricTypeOutput) ToOutput(ctx context.Context) pulumix.Output[BasicPerfSampleSeriesPerfMetricType] { + return pulumix.Output[BasicPerfSampleSeriesPerfMetricType]{ + OutputState: o.OutputState, + } +} + func (o BasicPerfSampleSeriesPerfMetricTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -115,6 +122,12 @@ func (o BasicPerfSampleSeriesPerfMetricTypePtrOutput) ToBasicPerfSampleSeriesPer return o } +func (o BasicPerfSampleSeriesPerfMetricTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicPerfSampleSeriesPerfMetricType] { + return pulumix.Output[*BasicPerfSampleSeriesPerfMetricType]{ + OutputState: o.OutputState, + } +} + func (o BasicPerfSampleSeriesPerfMetricTypePtrOutput) Elem() BasicPerfSampleSeriesPerfMetricTypeOutput { return o.ApplyT(func(v *BasicPerfSampleSeriesPerfMetricType) BasicPerfSampleSeriesPerfMetricType { if v != nil { @@ -177,6 +190,12 @@ func (in *basicPerfSampleSeriesPerfMetricTypePtr) ToBasicPerfSampleSeriesPerfMet return pulumi.ToOutputWithContext(ctx, in).(BasicPerfSampleSeriesPerfMetricTypePtrOutput) } +func (in *basicPerfSampleSeriesPerfMetricTypePtr) ToOutput(ctx context.Context) pulumix.Output[*BasicPerfSampleSeriesPerfMetricType] { + return pulumix.Output[*BasicPerfSampleSeriesPerfMetricType]{ + OutputState: in.ToBasicPerfSampleSeriesPerfMetricTypePtrOutputWithContext(ctx).OutputState, + } +} + type BasicPerfSampleSeriesPerfUnit string const ( @@ -248,6 +267,12 @@ func (o BasicPerfSampleSeriesPerfUnitOutput) ToBasicPerfSampleSeriesPerfUnitPtrO }).(BasicPerfSampleSeriesPerfUnitPtrOutput) } +func (o BasicPerfSampleSeriesPerfUnitOutput) ToOutput(ctx context.Context) pulumix.Output[BasicPerfSampleSeriesPerfUnit] { + return pulumix.Output[BasicPerfSampleSeriesPerfUnit]{ + OutputState: o.OutputState, + } +} + func (o BasicPerfSampleSeriesPerfUnitOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -283,6 +308,12 @@ func (o BasicPerfSampleSeriesPerfUnitPtrOutput) ToBasicPerfSampleSeriesPerfUnitP return o } +func (o BasicPerfSampleSeriesPerfUnitPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicPerfSampleSeriesPerfUnit] { + return pulumix.Output[*BasicPerfSampleSeriesPerfUnit]{ + OutputState: o.OutputState, + } +} + func (o BasicPerfSampleSeriesPerfUnitPtrOutput) Elem() BasicPerfSampleSeriesPerfUnitOutput { return o.ApplyT(func(v *BasicPerfSampleSeriesPerfUnit) BasicPerfSampleSeriesPerfUnit { if v != nil { @@ -345,6 +376,12 @@ func (in *basicPerfSampleSeriesPerfUnitPtr) ToBasicPerfSampleSeriesPerfUnitPtrOu return pulumi.ToOutputWithContext(ctx, in).(BasicPerfSampleSeriesPerfUnitPtrOutput) } +func (in *basicPerfSampleSeriesPerfUnitPtr) ToOutput(ctx context.Context) pulumix.Output[*BasicPerfSampleSeriesPerfUnit] { + return pulumix.Output[*BasicPerfSampleSeriesPerfUnit]{ + OutputState: in.ToBasicPerfSampleSeriesPerfUnitPtrOutputWithContext(ctx).OutputState, + } +} + type BasicPerfSampleSeriesSampleSeriesLabel string const ( @@ -427,6 +464,12 @@ func (o BasicPerfSampleSeriesSampleSeriesLabelOutput) ToBasicPerfSampleSeriesSam }).(BasicPerfSampleSeriesSampleSeriesLabelPtrOutput) } +func (o BasicPerfSampleSeriesSampleSeriesLabelOutput) ToOutput(ctx context.Context) pulumix.Output[BasicPerfSampleSeriesSampleSeriesLabel] { + return pulumix.Output[BasicPerfSampleSeriesSampleSeriesLabel]{ + OutputState: o.OutputState, + } +} + func (o BasicPerfSampleSeriesSampleSeriesLabelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -462,6 +505,12 @@ func (o BasicPerfSampleSeriesSampleSeriesLabelPtrOutput) ToBasicPerfSampleSeries return o } +func (o BasicPerfSampleSeriesSampleSeriesLabelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicPerfSampleSeriesSampleSeriesLabel] { + return pulumix.Output[*BasicPerfSampleSeriesSampleSeriesLabel]{ + OutputState: o.OutputState, + } +} + func (o BasicPerfSampleSeriesSampleSeriesLabelPtrOutput) Elem() BasicPerfSampleSeriesSampleSeriesLabelOutput { return o.ApplyT(func(v *BasicPerfSampleSeriesSampleSeriesLabel) BasicPerfSampleSeriesSampleSeriesLabel { if v != nil { @@ -524,6 +573,12 @@ func (in *basicPerfSampleSeriesSampleSeriesLabelPtr) ToBasicPerfSampleSeriesSamp return pulumi.ToOutputWithContext(ctx, in).(BasicPerfSampleSeriesSampleSeriesLabelPtrOutput) } +func (in *basicPerfSampleSeriesSampleSeriesLabelPtr) ToOutput(ctx context.Context) pulumix.Output[*BasicPerfSampleSeriesSampleSeriesLabel] { + return pulumix.Output[*BasicPerfSampleSeriesSampleSeriesLabel]{ + OutputState: in.ToBasicPerfSampleSeriesSampleSeriesLabelPtrOutputWithContext(ctx).OutputState, + } +} + // The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional type ExecutionStateEnum string @@ -598,6 +653,12 @@ func (o ExecutionStateEnumOutput) ToExecutionStateEnumPtrOutputWithContext(ctx c }).(ExecutionStateEnumPtrOutput) } +func (o ExecutionStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionStateEnum] { + return pulumix.Output[ExecutionStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ExecutionStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -633,6 +694,12 @@ func (o ExecutionStateEnumPtrOutput) ToExecutionStateEnumPtrOutputWithContext(ct return o } +func (o ExecutionStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecutionStateEnum] { + return pulumix.Output[*ExecutionStateEnum]{ + OutputState: o.OutputState, + } +} + func (o ExecutionStateEnumPtrOutput) Elem() ExecutionStateEnumOutput { return o.ApplyT(func(v *ExecutionStateEnum) ExecutionStateEnum { if v != nil { @@ -695,6 +762,12 @@ func (in *executionStateEnumPtr) ToExecutionStateEnumPtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ExecutionStateEnumPtrOutput) } +func (in *executionStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*ExecutionStateEnum] { + return pulumix.Output[*ExecutionStateEnum]{ + OutputState: in.ToExecutionStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown. type HistoryTestPlatform string @@ -764,6 +837,12 @@ func (o HistoryTestPlatformOutput) ToHistoryTestPlatformPtrOutputWithContext(ctx }).(HistoryTestPlatformPtrOutput) } +func (o HistoryTestPlatformOutput) ToOutput(ctx context.Context) pulumix.Output[HistoryTestPlatform] { + return pulumix.Output[HistoryTestPlatform]{ + OutputState: o.OutputState, + } +} + func (o HistoryTestPlatformOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -799,6 +878,12 @@ func (o HistoryTestPlatformPtrOutput) ToHistoryTestPlatformPtrOutputWithContext( return o } +func (o HistoryTestPlatformPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*HistoryTestPlatform] { + return pulumix.Output[*HistoryTestPlatform]{ + OutputState: o.OutputState, + } +} + func (o HistoryTestPlatformPtrOutput) Elem() HistoryTestPlatformOutput { return o.ApplyT(func(v *HistoryTestPlatform) HistoryTestPlatform { if v != nil { @@ -861,6 +946,12 @@ func (in *historyTestPlatformPtr) ToHistoryTestPlatformPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(HistoryTestPlatformPtrOutput) } +func (in *historyTestPlatformPtr) ToOutput(ctx context.Context) pulumix.Output[*HistoryTestPlatform] { + return pulumix.Output[*HistoryTestPlatform]{ + OutputState: in.ToHistoryTestPlatformPtrOutputWithContext(ctx).OutputState, + } +} + type IndividualOutcomeOutcomeSummary string const ( @@ -938,6 +1029,12 @@ func (o IndividualOutcomeOutcomeSummaryOutput) ToIndividualOutcomeOutcomeSummary }).(IndividualOutcomeOutcomeSummaryPtrOutput) } +func (o IndividualOutcomeOutcomeSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[IndividualOutcomeOutcomeSummary] { + return pulumix.Output[IndividualOutcomeOutcomeSummary]{ + OutputState: o.OutputState, + } +} + func (o IndividualOutcomeOutcomeSummaryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -973,6 +1070,12 @@ func (o IndividualOutcomeOutcomeSummaryPtrOutput) ToIndividualOutcomeOutcomeSumm return o } +func (o IndividualOutcomeOutcomeSummaryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IndividualOutcomeOutcomeSummary] { + return pulumix.Output[*IndividualOutcomeOutcomeSummary]{ + OutputState: o.OutputState, + } +} + func (o IndividualOutcomeOutcomeSummaryPtrOutput) Elem() IndividualOutcomeOutcomeSummaryOutput { return o.ApplyT(func(v *IndividualOutcomeOutcomeSummary) IndividualOutcomeOutcomeSummary { if v != nil { @@ -1035,6 +1138,12 @@ func (in *individualOutcomeOutcomeSummaryPtr) ToIndividualOutcomeOutcomeSummaryP return pulumi.ToOutputWithContext(ctx, in).(IndividualOutcomeOutcomeSummaryPtrOutput) } +func (in *individualOutcomeOutcomeSummaryPtr) ToOutput(ctx context.Context) pulumix.Output[*IndividualOutcomeOutcomeSummary] { + return pulumix.Output[*IndividualOutcomeOutcomeSummary]{ + OutputState: in.ToIndividualOutcomeOutcomeSummaryPtrOutputWithContext(ctx).OutputState, + } +} + // The simplest way to interpret a result. Required type OutcomeSummary string @@ -1113,6 +1222,12 @@ func (o OutcomeSummaryOutput) ToOutcomeSummaryPtrOutputWithContext(ctx context.C }).(OutcomeSummaryPtrOutput) } +func (o OutcomeSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[OutcomeSummary] { + return pulumix.Output[OutcomeSummary]{ + OutputState: o.OutputState, + } +} + func (o OutcomeSummaryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1148,6 +1263,12 @@ func (o OutcomeSummaryPtrOutput) ToOutcomeSummaryPtrOutputWithContext(ctx contex return o } +func (o OutcomeSummaryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*OutcomeSummary] { + return pulumix.Output[*OutcomeSummary]{ + OutputState: o.OutputState, + } +} + func (o OutcomeSummaryPtrOutput) Elem() OutcomeSummaryOutput { return o.ApplyT(func(v *OutcomeSummary) OutcomeSummary { if v != nil { @@ -1210,6 +1331,12 @@ func (in *outcomeSummaryPtr) ToOutcomeSummaryPtrOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, in).(OutcomeSummaryPtrOutput) } +func (in *outcomeSummaryPtr) ToOutput(ctx context.Context) pulumix.Output[*OutcomeSummary] { + return pulumix.Output[*OutcomeSummary]{ + OutputState: in.ToOutcomeSummaryPtrOutputWithContext(ctx).OutputState, + } +} + // Rollup test status of multiple steps that were run with the same configuration as a group. type PrimaryStepRollUp string @@ -1288,6 +1415,12 @@ func (o PrimaryStepRollUpOutput) ToPrimaryStepRollUpPtrOutputWithContext(ctx con }).(PrimaryStepRollUpPtrOutput) } +func (o PrimaryStepRollUpOutput) ToOutput(ctx context.Context) pulumix.Output[PrimaryStepRollUp] { + return pulumix.Output[PrimaryStepRollUp]{ + OutputState: o.OutputState, + } +} + func (o PrimaryStepRollUpOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1323,6 +1456,12 @@ func (o PrimaryStepRollUpPtrOutput) ToPrimaryStepRollUpPtrOutputWithContext(ctx return o } +func (o PrimaryStepRollUpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrimaryStepRollUp] { + return pulumix.Output[*PrimaryStepRollUp]{ + OutputState: o.OutputState, + } +} + func (o PrimaryStepRollUpPtrOutput) Elem() PrimaryStepRollUpOutput { return o.ApplyT(func(v *PrimaryStepRollUp) PrimaryStepRollUp { if v != nil { @@ -1385,6 +1524,12 @@ func (in *primaryStepRollUpPtr) ToPrimaryStepRollUpPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(PrimaryStepRollUpPtrOutput) } +func (in *primaryStepRollUpPtr) ToOutput(ctx context.Context) pulumix.Output[*PrimaryStepRollUp] { + return pulumix.Output[*PrimaryStepRollUp]{ + OutputState: in.ToPrimaryStepRollUpPtrOutputWithContext(ctx).OutputState, + } +} + // The initial state is IN_PROGRESS. The only legal state transitions are * IN_PROGRESS -> COMPLETE A PRECONDITION_FAILED will be returned if an invalid transition is requested. It is valid to create Step with a state set to COMPLETE. The state can only be set to COMPLETE once. A PRECONDITION_FAILED will be returned if the state is set to COMPLETE multiple times. - In response: always set - In create/update request: optional type StepStateEnum string @@ -1459,6 +1604,12 @@ func (o StepStateEnumOutput) ToStepStateEnumPtrOutputWithContext(ctx context.Con }).(StepStateEnumPtrOutput) } +func (o StepStateEnumOutput) ToOutput(ctx context.Context) pulumix.Output[StepStateEnum] { + return pulumix.Output[StepStateEnum]{ + OutputState: o.OutputState, + } +} + func (o StepStateEnumOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1494,6 +1645,12 @@ func (o StepStateEnumPtrOutput) ToStepStateEnumPtrOutputWithContext(ctx context. return o } +func (o StepStateEnumPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StepStateEnum] { + return pulumix.Output[*StepStateEnum]{ + OutputState: o.OutputState, + } +} + func (o StepStateEnumPtrOutput) Elem() StepStateEnumOutput { return o.ApplyT(func(v *StepStateEnum) StepStateEnum { if v != nil { @@ -1556,6 +1713,12 @@ func (in *stepStateEnumPtr) ToStepStateEnumPtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(StepStateEnumPtrOutput) } +func (in *stepStateEnumPtr) ToOutput(ctx context.Context) pulumix.Output[*StepStateEnum] { + return pulumix.Output[*StepStateEnum]{ + OutputState: in.ToStepStateEnumPtrOutputWithContext(ctx).OutputState, + } +} + // Category of issue. Required. type TestIssueCategory string @@ -1628,6 +1791,12 @@ func (o TestIssueCategoryOutput) ToTestIssueCategoryPtrOutputWithContext(ctx con }).(TestIssueCategoryPtrOutput) } +func (o TestIssueCategoryOutput) ToOutput(ctx context.Context) pulumix.Output[TestIssueCategory] { + return pulumix.Output[TestIssueCategory]{ + OutputState: o.OutputState, + } +} + func (o TestIssueCategoryOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1663,6 +1832,12 @@ func (o TestIssueCategoryPtrOutput) ToTestIssueCategoryPtrOutputWithContext(ctx return o } +func (o TestIssueCategoryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TestIssueCategory] { + return pulumix.Output[*TestIssueCategory]{ + OutputState: o.OutputState, + } +} + func (o TestIssueCategoryPtrOutput) Elem() TestIssueCategoryOutput { return o.ApplyT(func(v *TestIssueCategory) TestIssueCategory { if v != nil { @@ -1725,6 +1900,12 @@ func (in *testIssueCategoryPtr) ToTestIssueCategoryPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(TestIssueCategoryPtrOutput) } +func (in *testIssueCategoryPtr) ToOutput(ctx context.Context) pulumix.Output[*TestIssueCategory] { + return pulumix.Output[*TestIssueCategory]{ + OutputState: in.ToTestIssueCategoryPtrOutputWithContext(ctx).OutputState, + } +} + // Severity of issue. Required. type TestIssueSeverity string @@ -1801,6 +1982,12 @@ func (o TestIssueSeverityOutput) ToTestIssueSeverityPtrOutputWithContext(ctx con }).(TestIssueSeverityPtrOutput) } +func (o TestIssueSeverityOutput) ToOutput(ctx context.Context) pulumix.Output[TestIssueSeverity] { + return pulumix.Output[TestIssueSeverity]{ + OutputState: o.OutputState, + } +} + func (o TestIssueSeverityOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1836,6 +2023,12 @@ func (o TestIssueSeverityPtrOutput) ToTestIssueSeverityPtrOutputWithContext(ctx return o } +func (o TestIssueSeverityPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TestIssueSeverity] { + return pulumix.Output[*TestIssueSeverity]{ + OutputState: o.OutputState, + } +} + func (o TestIssueSeverityPtrOutput) Elem() TestIssueSeverityOutput { return o.ApplyT(func(v *TestIssueSeverity) TestIssueSeverity { if v != nil { @@ -1898,6 +2091,12 @@ func (in *testIssueSeverityPtr) ToTestIssueSeverityPtrOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, in).(TestIssueSeverityPtrOutput) } +func (in *testIssueSeverityPtr) ToOutput(ctx context.Context) pulumix.Output[*TestIssueSeverity] { + return pulumix.Output[*TestIssueSeverity]{ + OutputState: in.ToTestIssueSeverityPtrOutputWithContext(ctx).OutputState, + } +} + // Type of issue. Required. type TestIssueType string @@ -2028,6 +2227,12 @@ func (o TestIssueTypeOutput) ToTestIssueTypePtrOutputWithContext(ctx context.Con }).(TestIssueTypePtrOutput) } +func (o TestIssueTypeOutput) ToOutput(ctx context.Context) pulumix.Output[TestIssueType] { + return pulumix.Output[TestIssueType]{ + OutputState: o.OutputState, + } +} + func (o TestIssueTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -2063,6 +2268,12 @@ func (o TestIssueTypePtrOutput) ToTestIssueTypePtrOutputWithContext(ctx context. return o } +func (o TestIssueTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TestIssueType] { + return pulumix.Output[*TestIssueType]{ + OutputState: o.OutputState, + } +} + func (o TestIssueTypePtrOutput) Elem() TestIssueTypeOutput { return o.ApplyT(func(v *TestIssueType) TestIssueType { if v != nil { @@ -2125,6 +2336,12 @@ func (in *testIssueTypePtr) ToTestIssueTypePtrOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, in).(TestIssueTypePtrOutput) } +func (in *testIssueTypePtr) ToOutput(ctx context.Context) pulumix.Output[*TestIssueType] { + return pulumix.Output[*TestIssueType]{ + OutputState: in.ToTestIssueTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*BasicPerfSampleSeriesPerfMetricTypeInput)(nil)).Elem(), BasicPerfSampleSeriesPerfMetricType("perfMetricTypeUnspecified")) pulumi.RegisterInputType(reflect.TypeOf((*BasicPerfSampleSeriesPerfMetricTypePtrInput)(nil)).Elem(), BasicPerfSampleSeriesPerfMetricType("perfMetricTypeUnspecified")) diff --git a/sdk/go/google/toolresults/v1beta3/pulumiTypes.go b/sdk/go/google/toolresults/v1beta3/pulumiTypes.go index 71a2bd271d..c6f193ccd3 100644 --- a/sdk/go/google/toolresults/v1beta3/pulumiTypes.go +++ b/sdk/go/google/toolresults/v1beta3/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -60,6 +61,12 @@ func (i AndroidAppInfoArgs) ToAndroidAppInfoOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AndroidAppInfoOutput) } +func (i AndroidAppInfoArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidAppInfo] { + return pulumix.Output[AndroidAppInfo]{ + OutputState: i.ToAndroidAppInfoOutputWithContext(ctx).OutputState, + } +} + func (i AndroidAppInfoArgs) ToAndroidAppInfoPtrOutput() AndroidAppInfoPtrOutput { return i.ToAndroidAppInfoPtrOutputWithContext(context.Background()) } @@ -101,6 +108,12 @@ func (i *androidAppInfoPtrType) ToAndroidAppInfoPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AndroidAppInfoPtrOutput) } +func (i *androidAppInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*AndroidAppInfo] { + return pulumix.Output[*AndroidAppInfo]{ + OutputState: i.ToAndroidAppInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Android app information. type AndroidAppInfoOutput struct{ *pulumi.OutputState } @@ -126,6 +139,12 @@ func (o AndroidAppInfoOutput) ToAndroidAppInfoPtrOutputWithContext(ctx context.C }).(AndroidAppInfoPtrOutput) } +func (o AndroidAppInfoOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidAppInfo] { + return pulumix.Output[AndroidAppInfo]{ + OutputState: o.OutputState, + } +} + // The name of the app. Optional func (o AndroidAppInfoOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v AndroidAppInfo) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -160,6 +179,12 @@ func (o AndroidAppInfoPtrOutput) ToAndroidAppInfoPtrOutputWithContext(ctx contex return o } +func (o AndroidAppInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidAppInfo] { + return pulumix.Output[*AndroidAppInfo]{ + OutputState: o.OutputState, + } +} + func (o AndroidAppInfoPtrOutput) Elem() AndroidAppInfoOutput { return o.ApplyT(func(v *AndroidAppInfo) AndroidAppInfo { if v != nil { @@ -237,6 +262,12 @@ func (o AndroidAppInfoResponseOutput) ToAndroidAppInfoResponseOutputWithContext( return o } +func (o AndroidAppInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidAppInfoResponse] { + return pulumix.Output[AndroidAppInfoResponse]{ + OutputState: o.OutputState, + } +} + // The name of the app. Optional func (o AndroidAppInfoResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v AndroidAppInfoResponse) string { return v.Name }).(pulumi.StringOutput) @@ -304,6 +335,12 @@ func (i AndroidInstrumentationTestArgs) ToAndroidInstrumentationTestOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(AndroidInstrumentationTestOutput) } +func (i AndroidInstrumentationTestArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidInstrumentationTest] { + return pulumix.Output[AndroidInstrumentationTest]{ + OutputState: i.ToAndroidInstrumentationTestOutputWithContext(ctx).OutputState, + } +} + func (i AndroidInstrumentationTestArgs) ToAndroidInstrumentationTestPtrOutput() AndroidInstrumentationTestPtrOutput { return i.ToAndroidInstrumentationTestPtrOutputWithContext(context.Background()) } @@ -345,6 +382,12 @@ func (i *androidInstrumentationTestPtrType) ToAndroidInstrumentationTestPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(AndroidInstrumentationTestPtrOutput) } +func (i *androidInstrumentationTestPtrType) ToOutput(ctx context.Context) pulumix.Output[*AndroidInstrumentationTest] { + return pulumix.Output[*AndroidInstrumentationTest]{ + OutputState: i.ToAndroidInstrumentationTestPtrOutputWithContext(ctx).OutputState, + } +} + // A test of an Android application that can control an Android component independently of its normal lifecycle. See for more information on types of Android tests. type AndroidInstrumentationTestOutput struct{ *pulumi.OutputState } @@ -370,6 +413,12 @@ func (o AndroidInstrumentationTestOutput) ToAndroidInstrumentationTestPtrOutputW }).(AndroidInstrumentationTestPtrOutput) } +func (o AndroidInstrumentationTestOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidInstrumentationTest] { + return pulumix.Output[AndroidInstrumentationTest]{ + OutputState: o.OutputState, + } +} + // The java package for the test to be executed. Required func (o AndroidInstrumentationTestOutput) TestPackageId() pulumi.StringPtrOutput { return o.ApplyT(func(v AndroidInstrumentationTest) *string { return v.TestPackageId }).(pulumi.StringPtrOutput) @@ -404,6 +453,12 @@ func (o AndroidInstrumentationTestPtrOutput) ToAndroidInstrumentationTestPtrOutp return o } +func (o AndroidInstrumentationTestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidInstrumentationTest] { + return pulumix.Output[*AndroidInstrumentationTest]{ + OutputState: o.OutputState, + } +} + func (o AndroidInstrumentationTestPtrOutput) Elem() AndroidInstrumentationTestOutput { return o.ApplyT(func(v *AndroidInstrumentationTest) AndroidInstrumentationTest { if v != nil { @@ -481,6 +536,12 @@ func (o AndroidInstrumentationTestResponseOutput) ToAndroidInstrumentationTestRe return o } +func (o AndroidInstrumentationTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidInstrumentationTestResponse] { + return pulumix.Output[AndroidInstrumentationTestResponse]{ + OutputState: o.OutputState, + } +} + // The java package for the test to be executed. Required func (o AndroidInstrumentationTestResponseOutput) TestPackageId() pulumi.StringOutput { return o.ApplyT(func(v AndroidInstrumentationTestResponse) string { return v.TestPackageId }).(pulumi.StringOutput) @@ -552,6 +613,12 @@ func (i AndroidRoboTestArgs) ToAndroidRoboTestOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AndroidRoboTestOutput) } +func (i AndroidRoboTestArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidRoboTest] { + return pulumix.Output[AndroidRoboTest]{ + OutputState: i.ToAndroidRoboTestOutputWithContext(ctx).OutputState, + } +} + func (i AndroidRoboTestArgs) ToAndroidRoboTestPtrOutput() AndroidRoboTestPtrOutput { return i.ToAndroidRoboTestPtrOutputWithContext(context.Background()) } @@ -593,6 +660,12 @@ func (i *androidRoboTestPtrType) ToAndroidRoboTestPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AndroidRoboTestPtrOutput) } +func (i *androidRoboTestPtrType) ToOutput(ctx context.Context) pulumix.Output[*AndroidRoboTest] { + return pulumix.Output[*AndroidRoboTest]{ + OutputState: i.ToAndroidRoboTestPtrOutputWithContext(ctx).OutputState, + } +} + // A test of an android application that explores the application on a virtual or physical Android device, finding culprits and crashes as it goes. type AndroidRoboTestOutput struct{ *pulumi.OutputState } @@ -618,6 +691,12 @@ func (o AndroidRoboTestOutput) ToAndroidRoboTestPtrOutputWithContext(ctx context }).(AndroidRoboTestPtrOutput) } +func (o AndroidRoboTestOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidRoboTest] { + return pulumix.Output[AndroidRoboTest]{ + OutputState: o.OutputState, + } +} + // The initial activity that should be used to start the app. Optional func (o AndroidRoboTestOutput) AppInitialActivity() pulumi.StringPtrOutput { return o.ApplyT(func(v AndroidRoboTest) *string { return v.AppInitialActivity }).(pulumi.StringPtrOutput) @@ -657,6 +736,12 @@ func (o AndroidRoboTestPtrOutput) ToAndroidRoboTestPtrOutputWithContext(ctx cont return o } +func (o AndroidRoboTestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidRoboTest] { + return pulumix.Output[*AndroidRoboTest]{ + OutputState: o.OutputState, + } +} + func (o AndroidRoboTestPtrOutput) Elem() AndroidRoboTestOutput { return o.ApplyT(func(v *AndroidRoboTest) AndroidRoboTest { if v != nil { @@ -746,6 +831,12 @@ func (o AndroidRoboTestResponseOutput) ToAndroidRoboTestResponseOutputWithContex return o } +func (o AndroidRoboTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidRoboTestResponse] { + return pulumix.Output[AndroidRoboTestResponse]{ + OutputState: o.OutputState, + } +} + // The initial activity that should be used to start the app. Optional func (o AndroidRoboTestResponseOutput) AppInitialActivity() pulumi.StringOutput { return o.ApplyT(func(v AndroidRoboTestResponse) string { return v.AppInitialActivity }).(pulumi.StringOutput) @@ -822,6 +913,12 @@ func (i AndroidTestArgs) ToAndroidTestOutputWithContext(ctx context.Context) And return pulumi.ToOutputWithContext(ctx, i).(AndroidTestOutput) } +func (i AndroidTestArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidTest] { + return pulumix.Output[AndroidTest]{ + OutputState: i.ToAndroidTestOutputWithContext(ctx).OutputState, + } +} + func (i AndroidTestArgs) ToAndroidTestPtrOutput() AndroidTestPtrOutput { return i.ToAndroidTestPtrOutputWithContext(context.Background()) } @@ -863,6 +960,12 @@ func (i *androidTestPtrType) ToAndroidTestPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AndroidTestPtrOutput) } +func (i *androidTestPtrType) ToOutput(ctx context.Context) pulumix.Output[*AndroidTest] { + return pulumix.Output[*AndroidTest]{ + OutputState: i.ToAndroidTestPtrOutputWithContext(ctx).OutputState, + } +} + // An Android mobile test specification. type AndroidTestOutput struct{ *pulumi.OutputState } @@ -888,6 +991,12 @@ func (o AndroidTestOutput) ToAndroidTestPtrOutputWithContext(ctx context.Context }).(AndroidTestPtrOutput) } +func (o AndroidTestOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidTest] { + return pulumix.Output[AndroidTest]{ + OutputState: o.OutputState, + } +} + // Information about the application under test. func (o AndroidTestOutput) AndroidAppInfo() AndroidAppInfoPtrOutput { return o.ApplyT(func(v AndroidTest) *AndroidAppInfo { return v.AndroidAppInfo }).(AndroidAppInfoPtrOutput) @@ -927,6 +1036,12 @@ func (o AndroidTestPtrOutput) ToAndroidTestPtrOutputWithContext(ctx context.Cont return o } +func (o AndroidTestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidTest] { + return pulumix.Output[*AndroidTest]{ + OutputState: o.OutputState, + } +} + func (o AndroidTestPtrOutput) Elem() AndroidTestOutput { return o.ApplyT(func(v *AndroidTest) AndroidTest { if v != nil { @@ -1018,6 +1133,12 @@ func (i AndroidTestLoopArgs) ToAndroidTestLoopOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AndroidTestLoopOutput) } +func (i AndroidTestLoopArgs) ToOutput(ctx context.Context) pulumix.Output[AndroidTestLoop] { + return pulumix.Output[AndroidTestLoop]{ + OutputState: i.ToAndroidTestLoopOutputWithContext(ctx).OutputState, + } +} + func (i AndroidTestLoopArgs) ToAndroidTestLoopPtrOutput() AndroidTestLoopPtrOutput { return i.ToAndroidTestLoopPtrOutputWithContext(context.Background()) } @@ -1059,6 +1180,12 @@ func (i *androidTestLoopPtrType) ToAndroidTestLoopPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AndroidTestLoopPtrOutput) } +func (i *androidTestLoopPtrType) ToOutput(ctx context.Context) pulumix.Output[*AndroidTestLoop] { + return pulumix.Output[*AndroidTestLoop]{ + OutputState: i.ToAndroidTestLoopPtrOutputWithContext(ctx).OutputState, + } +} + // Test Loops are tests that can be launched by the app itself, determining when to run by listening for an intent. type AndroidTestLoopOutput struct{ *pulumi.OutputState } @@ -1084,6 +1211,12 @@ func (o AndroidTestLoopOutput) ToAndroidTestLoopPtrOutputWithContext(ctx context }).(AndroidTestLoopPtrOutput) } +func (o AndroidTestLoopOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidTestLoop] { + return pulumix.Output[AndroidTestLoop]{ + OutputState: o.OutputState, + } +} + type AndroidTestLoopPtrOutput struct{ *pulumi.OutputState } func (AndroidTestLoopPtrOutput) ElementType() reflect.Type { @@ -1098,6 +1231,12 @@ func (o AndroidTestLoopPtrOutput) ToAndroidTestLoopPtrOutputWithContext(ctx cont return o } +func (o AndroidTestLoopPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AndroidTestLoop] { + return pulumix.Output[*AndroidTestLoop]{ + OutputState: o.OutputState, + } +} + func (o AndroidTestLoopPtrOutput) Elem() AndroidTestLoopOutput { return o.ApplyT(func(v *AndroidTestLoop) AndroidTestLoop { if v != nil { @@ -1127,6 +1266,12 @@ func (o AndroidTestLoopResponseOutput) ToAndroidTestLoopResponseOutputWithContex return o } +func (o AndroidTestLoopResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidTestLoopResponse] { + return pulumix.Output[AndroidTestLoopResponse]{ + OutputState: o.OutputState, + } +} + // An Android mobile test specification. type AndroidTestResponse struct { // Information about the application under test. @@ -1156,6 +1301,12 @@ func (o AndroidTestResponseOutput) ToAndroidTestResponseOutputWithContext(ctx co return o } +func (o AndroidTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AndroidTestResponse] { + return pulumix.Output[AndroidTestResponse]{ + OutputState: o.OutputState, + } +} + // Information about the application under test. func (o AndroidTestResponseOutput) AndroidAppInfo() AndroidAppInfoResponseOutput { return o.ApplyT(func(v AndroidTestResponse) AndroidAppInfoResponse { return v.AndroidAppInfo }).(AndroidAppInfoResponseOutput) @@ -1220,6 +1371,12 @@ func (i AnyArgs) ToAnyOutputWithContext(ctx context.Context) AnyOutput { return pulumi.ToOutputWithContext(ctx, i).(AnyOutput) } +func (i AnyArgs) ToOutput(ctx context.Context) pulumix.Output[Any] { + return pulumix.Output[Any]{ + OutputState: i.ToAnyOutputWithContext(ctx).OutputState, + } +} + func (i AnyArgs) ToAnyPtrOutput() AnyPtrOutput { return i.ToAnyPtrOutputWithContext(context.Background()) } @@ -1261,6 +1418,12 @@ func (i *anyPtrType) ToAnyPtrOutputWithContext(ctx context.Context) AnyPtrOutput return pulumi.ToOutputWithContext(ctx, i).(AnyPtrOutput) } +func (i *anyPtrType) ToOutput(ctx context.Context) pulumix.Output[*Any] { + return pulumix.Output[*Any]{ + OutputState: i.ToAnyPtrOutputWithContext(ctx).OutputState, + } +} + // `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". # JSON The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message google.protobuf.Duration): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } type AnyOutput struct{ *pulumi.OutputState } @@ -1286,6 +1449,12 @@ func (o AnyOutput) ToAnyPtrOutputWithContext(ctx context.Context) AnyPtrOutput { }).(AnyPtrOutput) } +func (o AnyOutput) ToOutput(ctx context.Context) pulumix.Output[Any] { + return pulumix.Output[Any]{ + OutputState: o.OutputState, + } +} + // A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. func (o AnyOutput) TypeUrl() pulumi.StringPtrOutput { return o.ApplyT(func(v Any) *string { return v.TypeUrl }).(pulumi.StringPtrOutput) @@ -1310,6 +1479,12 @@ func (o AnyPtrOutput) ToAnyPtrOutputWithContext(ctx context.Context) AnyPtrOutpu return o } +func (o AnyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Any] { + return pulumix.Output[*Any]{ + OutputState: o.OutputState, + } +} + func (o AnyPtrOutput) Elem() AnyOutput { return o.ApplyT(func(v *Any) Any { if v != nil { @@ -1363,6 +1538,12 @@ func (o AnyResponseOutput) ToAnyResponseOutputWithContext(ctx context.Context) A return o } +func (o AnyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnyResponse] { + return pulumix.Output[AnyResponse]{ + OutputState: o.OutputState, + } +} + // A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a google.protobuf.Type value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. func (o AnyResponseOutput) TypeUrl() pulumi.StringOutput { return o.ApplyT(func(v AnyResponse) string { return v.TypeUrl }).(pulumi.StringOutput) @@ -1410,6 +1591,12 @@ func (i BasicPerfSampleSeriesArgs) ToBasicPerfSampleSeriesOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BasicPerfSampleSeriesOutput) } +func (i BasicPerfSampleSeriesArgs) ToOutput(ctx context.Context) pulumix.Output[BasicPerfSampleSeries] { + return pulumix.Output[BasicPerfSampleSeries]{ + OutputState: i.ToBasicPerfSampleSeriesOutputWithContext(ctx).OutputState, + } +} + func (i BasicPerfSampleSeriesArgs) ToBasicPerfSampleSeriesPtrOutput() BasicPerfSampleSeriesPtrOutput { return i.ToBasicPerfSampleSeriesPtrOutputWithContext(context.Background()) } @@ -1451,6 +1638,12 @@ func (i *basicPerfSampleSeriesPtrType) ToBasicPerfSampleSeriesPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(BasicPerfSampleSeriesPtrOutput) } +func (i *basicPerfSampleSeriesPtrType) ToOutput(ctx context.Context) pulumix.Output[*BasicPerfSampleSeries] { + return pulumix.Output[*BasicPerfSampleSeries]{ + OutputState: i.ToBasicPerfSampleSeriesPtrOutputWithContext(ctx).OutputState, + } +} + // Encapsulates the metadata for basic sample series represented by a line chart type BasicPerfSampleSeriesOutput struct{ *pulumi.OutputState } @@ -1476,6 +1669,12 @@ func (o BasicPerfSampleSeriesOutput) ToBasicPerfSampleSeriesPtrOutputWithContext }).(BasicPerfSampleSeriesPtrOutput) } +func (o BasicPerfSampleSeriesOutput) ToOutput(ctx context.Context) pulumix.Output[BasicPerfSampleSeries] { + return pulumix.Output[BasicPerfSampleSeries]{ + OutputState: o.OutputState, + } +} + func (o BasicPerfSampleSeriesOutput) PerfMetricType() BasicPerfSampleSeriesPerfMetricTypePtrOutput { return o.ApplyT(func(v BasicPerfSampleSeries) *BasicPerfSampleSeriesPerfMetricType { return v.PerfMetricType }).(BasicPerfSampleSeriesPerfMetricTypePtrOutput) } @@ -1502,6 +1701,12 @@ func (o BasicPerfSampleSeriesPtrOutput) ToBasicPerfSampleSeriesPtrOutputWithCont return o } +func (o BasicPerfSampleSeriesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BasicPerfSampleSeries] { + return pulumix.Output[*BasicPerfSampleSeries]{ + OutputState: o.OutputState, + } +} + func (o BasicPerfSampleSeriesPtrOutput) Elem() BasicPerfSampleSeriesOutput { return o.ApplyT(func(v *BasicPerfSampleSeries) BasicPerfSampleSeries { if v != nil { @@ -1561,6 +1766,12 @@ func (o BasicPerfSampleSeriesResponseOutput) ToBasicPerfSampleSeriesResponseOutp return o } +func (o BasicPerfSampleSeriesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BasicPerfSampleSeriesResponse] { + return pulumix.Output[BasicPerfSampleSeriesResponse]{ + OutputState: o.OutputState, + } +} + func (o BasicPerfSampleSeriesResponseOutput) PerfMetricType() pulumi.StringOutput { return o.ApplyT(func(v BasicPerfSampleSeriesResponse) string { return v.PerfMetricType }).(pulumi.StringOutput) } @@ -1612,6 +1823,12 @@ func (i DurationArgs) ToDurationOutputWithContext(ctx context.Context) DurationO return pulumi.ToOutputWithContext(ctx, i).(DurationOutput) } +func (i DurationArgs) ToOutput(ctx context.Context) pulumix.Output[Duration] { + return pulumix.Output[Duration]{ + OutputState: i.ToDurationOutputWithContext(ctx).OutputState, + } +} + func (i DurationArgs) ToDurationPtrOutput() DurationPtrOutput { return i.ToDurationPtrOutputWithContext(context.Background()) } @@ -1653,6 +1870,12 @@ func (i *durationPtrType) ToDurationPtrOutputWithContext(ctx context.Context) Du return pulumi.ToOutputWithContext(ctx, i).(DurationPtrOutput) } +func (i *durationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Duration] { + return pulumix.Output[*Duration]{ + OutputState: i.ToDurationPtrOutputWithContext(ctx).OutputState, + } +} + // A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years. type DurationOutput struct{ *pulumi.OutputState } @@ -1678,6 +1901,12 @@ func (o DurationOutput) ToDurationPtrOutputWithContext(ctx context.Context) Dura }).(DurationPtrOutput) } +func (o DurationOutput) ToOutput(ctx context.Context) pulumix.Output[Duration] { + return pulumix.Output[Duration]{ + OutputState: o.OutputState, + } +} + // Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. func (o DurationOutput) Nanos() pulumi.IntPtrOutput { return o.ApplyT(func(v Duration) *int { return v.Nanos }).(pulumi.IntPtrOutput) @@ -1702,6 +1931,12 @@ func (o DurationPtrOutput) ToDurationPtrOutputWithContext(ctx context.Context) D return o } +func (o DurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Duration] { + return pulumix.Output[*Duration]{ + OutputState: o.OutputState, + } +} + func (o DurationPtrOutput) Elem() DurationOutput { return o.ApplyT(func(v *Duration) Duration { if v != nil { @@ -1755,6 +1990,12 @@ func (o DurationResponseOutput) ToDurationResponseOutputWithContext(ctx context. return o } +func (o DurationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DurationResponse] { + return pulumix.Output[DurationResponse]{ + OutputState: o.OutputState, + } +} + // Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. func (o DurationResponseOutput) Nanos() pulumi.IntOutput { return o.ApplyT(func(v DurationResponse) int { return v.Nanos }).(pulumi.IntOutput) @@ -1824,6 +2065,12 @@ func (i FailureDetailArgs) ToFailureDetailOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FailureDetailOutput) } +func (i FailureDetailArgs) ToOutput(ctx context.Context) pulumix.Output[FailureDetail] { + return pulumix.Output[FailureDetail]{ + OutputState: i.ToFailureDetailOutputWithContext(ctx).OutputState, + } +} + func (i FailureDetailArgs) ToFailureDetailPtrOutput() FailureDetailPtrOutput { return i.ToFailureDetailPtrOutputWithContext(context.Background()) } @@ -1865,6 +2112,12 @@ func (i *failureDetailPtrType) ToFailureDetailPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(FailureDetailPtrOutput) } +func (i *failureDetailPtrType) ToOutput(ctx context.Context) pulumix.Output[*FailureDetail] { + return pulumix.Output[*FailureDetail]{ + OutputState: i.ToFailureDetailPtrOutputWithContext(ctx).OutputState, + } +} + // Details for an outcome with a FAILURE outcome summary. type FailureDetailOutput struct{ *pulumi.OutputState } @@ -1890,6 +2143,12 @@ func (o FailureDetailOutput) ToFailureDetailPtrOutputWithContext(ctx context.Con }).(FailureDetailPtrOutput) } +func (o FailureDetailOutput) ToOutput(ctx context.Context) pulumix.Output[FailureDetail] { + return pulumix.Output[FailureDetail]{ + OutputState: o.OutputState, + } +} + // If the failure was severe because the system (app) under test crashed. func (o FailureDetailOutput) Crashed() pulumi.BoolPtrOutput { return o.ApplyT(func(v FailureDetail) *bool { return v.Crashed }).(pulumi.BoolPtrOutput) @@ -1939,6 +2198,12 @@ func (o FailureDetailPtrOutput) ToFailureDetailPtrOutputWithContext(ctx context. return o } +func (o FailureDetailPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FailureDetail] { + return pulumix.Output[*FailureDetail]{ + OutputState: o.OutputState, + } +} + func (o FailureDetailPtrOutput) Elem() FailureDetailOutput { return o.ApplyT(func(v *FailureDetail) FailureDetail { if v != nil { @@ -2052,6 +2317,12 @@ func (o FailureDetailResponseOutput) ToFailureDetailResponseOutputWithContext(ct return o } +func (o FailureDetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FailureDetailResponse] { + return pulumix.Output[FailureDetailResponse]{ + OutputState: o.OutputState, + } +} + // If the failure was severe because the system (app) under test crashed. func (o FailureDetailResponseOutput) Crashed() pulumi.BoolOutput { return o.ApplyT(func(v FailureDetailResponse) bool { return v.Crashed }).(pulumi.BoolOutput) @@ -2122,6 +2393,12 @@ func (i FileReferenceArgs) ToFileReferenceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(FileReferenceOutput) } +func (i FileReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[FileReference] { + return pulumix.Output[FileReference]{ + OutputState: i.ToFileReferenceOutputWithContext(ctx).OutputState, + } +} + func (i FileReferenceArgs) ToFileReferencePtrOutput() FileReferencePtrOutput { return i.ToFileReferencePtrOutputWithContext(context.Background()) } @@ -2163,6 +2440,12 @@ func (i *fileReferencePtrType) ToFileReferencePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(FileReferencePtrOutput) } +func (i *fileReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*FileReference] { + return pulumix.Output[*FileReference]{ + OutputState: i.ToFileReferencePtrOutputWithContext(ctx).OutputState, + } +} + // FileReferenceArrayInput is an input type that accepts FileReferenceArray and FileReferenceArrayOutput values. // You can construct a concrete instance of `FileReferenceArrayInput` via: // @@ -2188,6 +2471,12 @@ func (i FileReferenceArray) ToFileReferenceArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(FileReferenceArrayOutput) } +func (i FileReferenceArray) ToOutput(ctx context.Context) pulumix.Output[[]FileReference] { + return pulumix.Output[[]FileReference]{ + OutputState: i.ToFileReferenceArrayOutputWithContext(ctx).OutputState, + } +} + // A reference to a file. type FileReferenceOutput struct{ *pulumi.OutputState } @@ -2213,6 +2502,12 @@ func (o FileReferenceOutput) ToFileReferencePtrOutputWithContext(ctx context.Con }).(FileReferencePtrOutput) } +func (o FileReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[FileReference] { + return pulumix.Output[FileReference]{ + OutputState: o.OutputState, + } +} + // The URI of a file stored in Google Cloud Storage. For example: http://storage.googleapis.com/mybucket/path/to/test.xml or in gsutil format: gs://mybucket/path/to/test.xml with version-specific info, gs://mybucket/path/to/test.xml#1360383693690000 An INVALID_ARGUMENT error will be returned if the URI format is not supported. - In response: always set - In create/update request: always set func (o FileReferenceOutput) FileUri() pulumi.StringPtrOutput { return o.ApplyT(func(v FileReference) *string { return v.FileUri }).(pulumi.StringPtrOutput) @@ -2232,6 +2527,12 @@ func (o FileReferencePtrOutput) ToFileReferencePtrOutputWithContext(ctx context. return o } +func (o FileReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*FileReference] { + return pulumix.Output[*FileReference]{ + OutputState: o.OutputState, + } +} + func (o FileReferencePtrOutput) Elem() FileReferenceOutput { return o.ApplyT(func(v *FileReference) FileReference { if v != nil { @@ -2266,6 +2567,12 @@ func (o FileReferenceArrayOutput) ToFileReferenceArrayOutputWithContext(ctx cont return o } +func (o FileReferenceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileReference] { + return pulumix.Output[[]FileReference]{ + OutputState: o.OutputState, + } +} + func (o FileReferenceArrayOutput) Index(i pulumi.IntInput) FileReferenceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileReference { return vs[0].([]FileReference)[vs[1].(int)] @@ -2293,6 +2600,12 @@ func (o FileReferenceResponseOutput) ToFileReferenceResponseOutputWithContext(ct return o } +func (o FileReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FileReferenceResponse] { + return pulumix.Output[FileReferenceResponse]{ + OutputState: o.OutputState, + } +} + // The URI of a file stored in Google Cloud Storage. For example: http://storage.googleapis.com/mybucket/path/to/test.xml or in gsutil format: gs://mybucket/path/to/test.xml with version-specific info, gs://mybucket/path/to/test.xml#1360383693690000 An INVALID_ARGUMENT error will be returned if the URI format is not supported. - In response: always set - In create/update request: always set func (o FileReferenceResponseOutput) FileUri() pulumi.StringOutput { return o.ApplyT(func(v FileReferenceResponse) string { return v.FileUri }).(pulumi.StringOutput) @@ -2312,6 +2625,12 @@ func (o FileReferenceResponseArrayOutput) ToFileReferenceResponseArrayOutputWith return o } +func (o FileReferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]FileReferenceResponse] { + return pulumix.Output[[]FileReferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o FileReferenceResponseArrayOutput) Index(i pulumi.IntInput) FileReferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) FileReferenceResponse { return vs[0].([]FileReferenceResponse)[vs[1].(int)] @@ -2361,6 +2680,12 @@ func (i InconclusiveDetailArgs) ToInconclusiveDetailOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(InconclusiveDetailOutput) } +func (i InconclusiveDetailArgs) ToOutput(ctx context.Context) pulumix.Output[InconclusiveDetail] { + return pulumix.Output[InconclusiveDetail]{ + OutputState: i.ToInconclusiveDetailOutputWithContext(ctx).OutputState, + } +} + func (i InconclusiveDetailArgs) ToInconclusiveDetailPtrOutput() InconclusiveDetailPtrOutput { return i.ToInconclusiveDetailPtrOutputWithContext(context.Background()) } @@ -2402,6 +2727,12 @@ func (i *inconclusiveDetailPtrType) ToInconclusiveDetailPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(InconclusiveDetailPtrOutput) } +func (i *inconclusiveDetailPtrType) ToOutput(ctx context.Context) pulumix.Output[*InconclusiveDetail] { + return pulumix.Output[*InconclusiveDetail]{ + OutputState: i.ToInconclusiveDetailPtrOutputWithContext(ctx).OutputState, + } +} + // Details for an outcome with an INCONCLUSIVE outcome summary. type InconclusiveDetailOutput struct{ *pulumi.OutputState } @@ -2427,6 +2758,12 @@ func (o InconclusiveDetailOutput) ToInconclusiveDetailPtrOutputWithContext(ctx c }).(InconclusiveDetailPtrOutput) } +func (o InconclusiveDetailOutput) ToOutput(ctx context.Context) pulumix.Output[InconclusiveDetail] { + return pulumix.Output[InconclusiveDetail]{ + OutputState: o.OutputState, + } +} + // If the end user aborted the test execution before a pass or fail could be determined. For example, the user pressed ctrl-c which sent a kill signal to the test runner while the test was running. func (o InconclusiveDetailOutput) AbortedByUser() pulumi.BoolPtrOutput { return o.ApplyT(func(v InconclusiveDetail) *bool { return v.AbortedByUser }).(pulumi.BoolPtrOutput) @@ -2456,6 +2793,12 @@ func (o InconclusiveDetailPtrOutput) ToInconclusiveDetailPtrOutputWithContext(ct return o } +func (o InconclusiveDetailPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*InconclusiveDetail] { + return pulumix.Output[*InconclusiveDetail]{ + OutputState: o.OutputState, + } +} + func (o InconclusiveDetailPtrOutput) Elem() InconclusiveDetailOutput { return o.ApplyT(func(v *InconclusiveDetail) InconclusiveDetail { if v != nil { @@ -2521,6 +2864,12 @@ func (o InconclusiveDetailResponseOutput) ToInconclusiveDetailResponseOutputWith return o } +func (o InconclusiveDetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InconclusiveDetailResponse] { + return pulumix.Output[InconclusiveDetailResponse]{ + OutputState: o.OutputState, + } +} + // If the end user aborted the test execution before a pass or fail could be determined. For example, the user pressed ctrl-c which sent a kill signal to the test runner while the test was running. func (o InconclusiveDetailResponseOutput) AbortedByUser() pulumi.BoolOutput { return o.ApplyT(func(v InconclusiveDetailResponse) bool { return v.AbortedByUser }).(pulumi.BoolOutput) @@ -2579,6 +2928,12 @@ func (i IndividualOutcomeArgs) ToIndividualOutcomeOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(IndividualOutcomeOutput) } +func (i IndividualOutcomeArgs) ToOutput(ctx context.Context) pulumix.Output[IndividualOutcome] { + return pulumix.Output[IndividualOutcome]{ + OutputState: i.ToIndividualOutcomeOutputWithContext(ctx).OutputState, + } +} + // IndividualOutcomeArrayInput is an input type that accepts IndividualOutcomeArray and IndividualOutcomeArrayOutput values. // You can construct a concrete instance of `IndividualOutcomeArrayInput` via: // @@ -2604,6 +2959,12 @@ func (i IndividualOutcomeArray) ToIndividualOutcomeArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(IndividualOutcomeArrayOutput) } +func (i IndividualOutcomeArray) ToOutput(ctx context.Context) pulumix.Output[[]IndividualOutcome] { + return pulumix.Output[[]IndividualOutcome]{ + OutputState: i.ToIndividualOutcomeArrayOutputWithContext(ctx).OutputState, + } +} + // Step Id and outcome of each individual step that was run as a group with other steps with the same configuration. type IndividualOutcomeOutput struct{ *pulumi.OutputState } @@ -2619,6 +2980,12 @@ func (o IndividualOutcomeOutput) ToIndividualOutcomeOutputWithContext(ctx contex return o } +func (o IndividualOutcomeOutput) ToOutput(ctx context.Context) pulumix.Output[IndividualOutcome] { + return pulumix.Output[IndividualOutcome]{ + OutputState: o.OutputState, + } +} + // Unique int given to each step. Ranges from 0(inclusive) to total number of steps(exclusive). The primary step is 0. func (o IndividualOutcomeOutput) MultistepNumber() pulumi.IntPtrOutput { return o.ApplyT(func(v IndividualOutcome) *int { return v.MultistepNumber }).(pulumi.IntPtrOutput) @@ -2651,6 +3018,12 @@ func (o IndividualOutcomeArrayOutput) ToIndividualOutcomeArrayOutputWithContext( return o } +func (o IndividualOutcomeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IndividualOutcome] { + return pulumix.Output[[]IndividualOutcome]{ + OutputState: o.OutputState, + } +} + func (o IndividualOutcomeArrayOutput) Index(i pulumi.IntInput) IndividualOutcomeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IndividualOutcome { return vs[0].([]IndividualOutcome)[vs[1].(int)] @@ -2682,6 +3055,12 @@ func (o IndividualOutcomeResponseOutput) ToIndividualOutcomeResponseOutputWithCo return o } +func (o IndividualOutcomeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IndividualOutcomeResponse] { + return pulumix.Output[IndividualOutcomeResponse]{ + OutputState: o.OutputState, + } +} + // Unique int given to each step. Ranges from 0(inclusive) to total number of steps(exclusive). The primary step is 0. func (o IndividualOutcomeResponseOutput) MultistepNumber() pulumi.IntOutput { return o.ApplyT(func(v IndividualOutcomeResponse) int { return v.MultistepNumber }).(pulumi.IntOutput) @@ -2714,6 +3093,12 @@ func (o IndividualOutcomeResponseArrayOutput) ToIndividualOutcomeResponseArrayOu return o } +func (o IndividualOutcomeResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]IndividualOutcomeResponse] { + return pulumix.Output[[]IndividualOutcomeResponse]{ + OutputState: o.OutputState, + } +} + func (o IndividualOutcomeResponseArrayOutput) Index(i pulumi.IntInput) IndividualOutcomeResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) IndividualOutcomeResponse { return vs[0].([]IndividualOutcomeResponse)[vs[1].(int)] @@ -2755,6 +3140,12 @@ func (i IosAppInfoArgs) ToIosAppInfoOutputWithContext(ctx context.Context) IosAp return pulumi.ToOutputWithContext(ctx, i).(IosAppInfoOutput) } +func (i IosAppInfoArgs) ToOutput(ctx context.Context) pulumix.Output[IosAppInfo] { + return pulumix.Output[IosAppInfo]{ + OutputState: i.ToIosAppInfoOutputWithContext(ctx).OutputState, + } +} + func (i IosAppInfoArgs) ToIosAppInfoPtrOutput() IosAppInfoPtrOutput { return i.ToIosAppInfoPtrOutputWithContext(context.Background()) } @@ -2796,6 +3187,12 @@ func (i *iosAppInfoPtrType) ToIosAppInfoPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(IosAppInfoPtrOutput) } +func (i *iosAppInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*IosAppInfo] { + return pulumix.Output[*IosAppInfo]{ + OutputState: i.ToIosAppInfoPtrOutputWithContext(ctx).OutputState, + } +} + // iOS app information type IosAppInfoOutput struct{ *pulumi.OutputState } @@ -2821,6 +3218,12 @@ func (o IosAppInfoOutput) ToIosAppInfoPtrOutputWithContext(ctx context.Context) }).(IosAppInfoPtrOutput) } +func (o IosAppInfoOutput) ToOutput(ctx context.Context) pulumix.Output[IosAppInfo] { + return pulumix.Output[IosAppInfo]{ + OutputState: o.OutputState, + } +} + // The name of the app. Required func (o IosAppInfoOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v IosAppInfo) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -2840,6 +3243,12 @@ func (o IosAppInfoPtrOutput) ToIosAppInfoPtrOutputWithContext(ctx context.Contex return o } +func (o IosAppInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IosAppInfo] { + return pulumix.Output[*IosAppInfo]{ + OutputState: o.OutputState, + } +} + func (o IosAppInfoPtrOutput) Elem() IosAppInfoOutput { return o.ApplyT(func(v *IosAppInfo) IosAppInfo { if v != nil { @@ -2881,6 +3290,12 @@ func (o IosAppInfoResponseOutput) ToIosAppInfoResponseOutputWithContext(ctx cont return o } +func (o IosAppInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosAppInfoResponse] { + return pulumix.Output[IosAppInfoResponse]{ + OutputState: o.OutputState, + } +} + // The name of the app. Required func (o IosAppInfoResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v IosAppInfoResponse) string { return v.Name }).(pulumi.StringOutput) @@ -2917,6 +3332,12 @@ func (i IosRoboTestArgs) ToIosRoboTestOutputWithContext(ctx context.Context) Ios return pulumi.ToOutputWithContext(ctx, i).(IosRoboTestOutput) } +func (i IosRoboTestArgs) ToOutput(ctx context.Context) pulumix.Output[IosRoboTest] { + return pulumix.Output[IosRoboTest]{ + OutputState: i.ToIosRoboTestOutputWithContext(ctx).OutputState, + } +} + func (i IosRoboTestArgs) ToIosRoboTestPtrOutput() IosRoboTestPtrOutput { return i.ToIosRoboTestPtrOutputWithContext(context.Background()) } @@ -2958,6 +3379,12 @@ func (i *iosRoboTestPtrType) ToIosRoboTestPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(IosRoboTestPtrOutput) } +func (i *iosRoboTestPtrType) ToOutput(ctx context.Context) pulumix.Output[*IosRoboTest] { + return pulumix.Output[*IosRoboTest]{ + OutputState: i.ToIosRoboTestPtrOutputWithContext(ctx).OutputState, + } +} + // A Robo test for an iOS application. type IosRoboTestOutput struct{ *pulumi.OutputState } @@ -2983,6 +3410,12 @@ func (o IosRoboTestOutput) ToIosRoboTestPtrOutputWithContext(ctx context.Context }).(IosRoboTestPtrOutput) } +func (o IosRoboTestOutput) ToOutput(ctx context.Context) pulumix.Output[IosRoboTest] { + return pulumix.Output[IosRoboTest]{ + OutputState: o.OutputState, + } +} + type IosRoboTestPtrOutput struct{ *pulumi.OutputState } func (IosRoboTestPtrOutput) ElementType() reflect.Type { @@ -2997,6 +3430,12 @@ func (o IosRoboTestPtrOutput) ToIosRoboTestPtrOutputWithContext(ctx context.Cont return o } +func (o IosRoboTestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IosRoboTest] { + return pulumix.Output[*IosRoboTest]{ + OutputState: o.OutputState, + } +} + func (o IosRoboTestPtrOutput) Elem() IosRoboTestOutput { return o.ApplyT(func(v *IosRoboTest) IosRoboTest { if v != nil { @@ -3026,6 +3465,12 @@ func (o IosRoboTestResponseOutput) ToIosRoboTestResponseOutputWithContext(ctx co return o } +func (o IosRoboTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosRoboTestResponse] { + return pulumix.Output[IosRoboTestResponse]{ + OutputState: o.OutputState, + } +} + // A iOS mobile test specification type IosTest struct { // Information about the application under test. @@ -3077,6 +3522,12 @@ func (i IosTestArgs) ToIosTestOutputWithContext(ctx context.Context) IosTestOutp return pulumi.ToOutputWithContext(ctx, i).(IosTestOutput) } +func (i IosTestArgs) ToOutput(ctx context.Context) pulumix.Output[IosTest] { + return pulumix.Output[IosTest]{ + OutputState: i.ToIosTestOutputWithContext(ctx).OutputState, + } +} + func (i IosTestArgs) ToIosTestPtrOutput() IosTestPtrOutput { return i.ToIosTestPtrOutputWithContext(context.Background()) } @@ -3118,6 +3569,12 @@ func (i *iosTestPtrType) ToIosTestPtrOutputWithContext(ctx context.Context) IosT return pulumi.ToOutputWithContext(ctx, i).(IosTestPtrOutput) } +func (i *iosTestPtrType) ToOutput(ctx context.Context) pulumix.Output[*IosTest] { + return pulumix.Output[*IosTest]{ + OutputState: i.ToIosTestPtrOutputWithContext(ctx).OutputState, + } +} + // A iOS mobile test specification type IosTestOutput struct{ *pulumi.OutputState } @@ -3143,6 +3600,12 @@ func (o IosTestOutput) ToIosTestPtrOutputWithContext(ctx context.Context) IosTes }).(IosTestPtrOutput) } +func (o IosTestOutput) ToOutput(ctx context.Context) pulumix.Output[IosTest] { + return pulumix.Output[IosTest]{ + OutputState: o.OutputState, + } +} + // Information about the application under test. func (o IosTestOutput) IosAppInfo() IosAppInfoPtrOutput { return o.ApplyT(func(v IosTest) *IosAppInfo { return v.IosAppInfo }).(IosAppInfoPtrOutput) @@ -3182,6 +3645,12 @@ func (o IosTestPtrOutput) ToIosTestPtrOutputWithContext(ctx context.Context) Ios return o } +func (o IosTestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IosTest] { + return pulumix.Output[*IosTest]{ + OutputState: o.OutputState, + } +} + func (o IosTestPtrOutput) Elem() IosTestOutput { return o.ApplyT(func(v *IosTest) IosTest { if v != nil { @@ -3277,6 +3746,12 @@ func (i IosTestLoopArgs) ToIosTestLoopOutputWithContext(ctx context.Context) Ios return pulumi.ToOutputWithContext(ctx, i).(IosTestLoopOutput) } +func (i IosTestLoopArgs) ToOutput(ctx context.Context) pulumix.Output[IosTestLoop] { + return pulumix.Output[IosTestLoop]{ + OutputState: i.ToIosTestLoopOutputWithContext(ctx).OutputState, + } +} + func (i IosTestLoopArgs) ToIosTestLoopPtrOutput() IosTestLoopPtrOutput { return i.ToIosTestLoopPtrOutputWithContext(context.Background()) } @@ -3318,6 +3793,12 @@ func (i *iosTestLoopPtrType) ToIosTestLoopPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(IosTestLoopPtrOutput) } +func (i *iosTestLoopPtrType) ToOutput(ctx context.Context) pulumix.Output[*IosTestLoop] { + return pulumix.Output[*IosTestLoop]{ + OutputState: i.ToIosTestLoopPtrOutputWithContext(ctx).OutputState, + } +} + // A game loop test of an iOS application. type IosTestLoopOutput struct{ *pulumi.OutputState } @@ -3343,6 +3824,12 @@ func (o IosTestLoopOutput) ToIosTestLoopPtrOutputWithContext(ctx context.Context }).(IosTestLoopPtrOutput) } +func (o IosTestLoopOutput) ToOutput(ctx context.Context) pulumix.Output[IosTestLoop] { + return pulumix.Output[IosTestLoop]{ + OutputState: o.OutputState, + } +} + // Bundle ID of the app. func (o IosTestLoopOutput) BundleId() pulumi.StringPtrOutput { return o.ApplyT(func(v IosTestLoop) *string { return v.BundleId }).(pulumi.StringPtrOutput) @@ -3362,6 +3849,12 @@ func (o IosTestLoopPtrOutput) ToIosTestLoopPtrOutputWithContext(ctx context.Cont return o } +func (o IosTestLoopPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IosTestLoop] { + return pulumix.Output[*IosTestLoop]{ + OutputState: o.OutputState, + } +} + func (o IosTestLoopPtrOutput) Elem() IosTestLoopOutput { return o.ApplyT(func(v *IosTestLoop) IosTestLoop { if v != nil { @@ -3403,6 +3896,12 @@ func (o IosTestLoopResponseOutput) ToIosTestLoopResponseOutputWithContext(ctx co return o } +func (o IosTestLoopResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosTestLoopResponse] { + return pulumix.Output[IosTestLoopResponse]{ + OutputState: o.OutputState, + } +} + // Bundle ID of the app. func (o IosTestLoopResponseOutput) BundleId() pulumi.StringOutput { return o.ApplyT(func(v IosTestLoopResponse) string { return v.BundleId }).(pulumi.StringOutput) @@ -3437,6 +3936,12 @@ func (o IosTestResponseOutput) ToIosTestResponseOutputWithContext(ctx context.Co return o } +func (o IosTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosTestResponse] { + return pulumix.Output[IosTestResponse]{ + OutputState: o.OutputState, + } +} + // Information about the application under test. func (o IosTestResponseOutput) IosAppInfo() IosAppInfoResponseOutput { return o.ApplyT(func(v IosTestResponse) IosAppInfoResponse { return v.IosAppInfo }).(IosAppInfoResponseOutput) @@ -3501,6 +4006,12 @@ func (i IosXcTestArgs) ToIosXcTestOutputWithContext(ctx context.Context) IosXcTe return pulumi.ToOutputWithContext(ctx, i).(IosXcTestOutput) } +func (i IosXcTestArgs) ToOutput(ctx context.Context) pulumix.Output[IosXcTest] { + return pulumix.Output[IosXcTest]{ + OutputState: i.ToIosXcTestOutputWithContext(ctx).OutputState, + } +} + func (i IosXcTestArgs) ToIosXcTestPtrOutput() IosXcTestPtrOutput { return i.ToIosXcTestPtrOutputWithContext(context.Background()) } @@ -3542,6 +4053,12 @@ func (i *iosXcTestPtrType) ToIosXcTestPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IosXcTestPtrOutput) } +func (i *iosXcTestPtrType) ToOutput(ctx context.Context) pulumix.Output[*IosXcTest] { + return pulumix.Output[*IosXcTest]{ + OutputState: i.ToIosXcTestPtrOutputWithContext(ctx).OutputState, + } +} + // A test of an iOS application that uses the XCTest framework. type IosXcTestOutput struct{ *pulumi.OutputState } @@ -3567,6 +4084,12 @@ func (o IosXcTestOutput) ToIosXcTestPtrOutputWithContext(ctx context.Context) Io }).(IosXcTestPtrOutput) } +func (o IosXcTestOutput) ToOutput(ctx context.Context) pulumix.Output[IosXcTest] { + return pulumix.Output[IosXcTest]{ + OutputState: o.OutputState, + } +} + // Bundle ID of the app. func (o IosXcTestOutput) BundleId() pulumi.StringPtrOutput { return o.ApplyT(func(v IosXcTest) *string { return v.BundleId }).(pulumi.StringPtrOutput) @@ -3591,6 +4114,12 @@ func (o IosXcTestPtrOutput) ToIosXcTestPtrOutputWithContext(ctx context.Context) return o } +func (o IosXcTestPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IosXcTest] { + return pulumix.Output[*IosXcTest]{ + OutputState: o.OutputState, + } +} + func (o IosXcTestPtrOutput) Elem() IosXcTestOutput { return o.ApplyT(func(v *IosXcTest) IosXcTest { if v != nil { @@ -3644,6 +4173,12 @@ func (o IosXcTestResponseOutput) ToIosXcTestResponseOutputWithContext(ctx contex return o } +func (o IosXcTestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IosXcTestResponse] { + return pulumix.Output[IosXcTestResponse]{ + OutputState: o.OutputState, + } +} + // Bundle ID of the app. func (o IosXcTestResponseOutput) BundleId() pulumi.StringOutput { return o.ApplyT(func(v IosXcTestResponse) string { return v.BundleId }).(pulumi.StringOutput) @@ -3685,6 +4220,12 @@ func (i MatrixDimensionDefinitionArgs) ToMatrixDimensionDefinitionOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(MatrixDimensionDefinitionOutput) } +func (i MatrixDimensionDefinitionArgs) ToOutput(ctx context.Context) pulumix.Output[MatrixDimensionDefinition] { + return pulumix.Output[MatrixDimensionDefinition]{ + OutputState: i.ToMatrixDimensionDefinitionOutputWithContext(ctx).OutputState, + } +} + // MatrixDimensionDefinitionArrayInput is an input type that accepts MatrixDimensionDefinitionArray and MatrixDimensionDefinitionArrayOutput values. // You can construct a concrete instance of `MatrixDimensionDefinitionArrayInput` via: // @@ -3710,6 +4251,12 @@ func (i MatrixDimensionDefinitionArray) ToMatrixDimensionDefinitionArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(MatrixDimensionDefinitionArrayOutput) } +func (i MatrixDimensionDefinitionArray) ToOutput(ctx context.Context) pulumix.Output[[]MatrixDimensionDefinition] { + return pulumix.Output[[]MatrixDimensionDefinition]{ + OutputState: i.ToMatrixDimensionDefinitionArrayOutputWithContext(ctx).OutputState, + } +} + // One dimension of the matrix of different runs of a step. type MatrixDimensionDefinitionOutput struct{ *pulumi.OutputState } @@ -3725,6 +4272,12 @@ func (o MatrixDimensionDefinitionOutput) ToMatrixDimensionDefinitionOutputWithCo return o } +func (o MatrixDimensionDefinitionOutput) ToOutput(ctx context.Context) pulumix.Output[MatrixDimensionDefinition] { + return pulumix.Output[MatrixDimensionDefinition]{ + OutputState: o.OutputState, + } +} + type MatrixDimensionDefinitionArrayOutput struct{ *pulumi.OutputState } func (MatrixDimensionDefinitionArrayOutput) ElementType() reflect.Type { @@ -3739,6 +4292,12 @@ func (o MatrixDimensionDefinitionArrayOutput) ToMatrixDimensionDefinitionArrayOu return o } +func (o MatrixDimensionDefinitionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MatrixDimensionDefinition] { + return pulumix.Output[[]MatrixDimensionDefinition]{ + OutputState: o.OutputState, + } +} + func (o MatrixDimensionDefinitionArrayOutput) Index(i pulumi.IntInput) MatrixDimensionDefinitionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatrixDimensionDefinition { return vs[0].([]MatrixDimensionDefinition)[vs[1].(int)] @@ -3764,6 +4323,12 @@ func (o MatrixDimensionDefinitionResponseOutput) ToMatrixDimensionDefinitionResp return o } +func (o MatrixDimensionDefinitionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MatrixDimensionDefinitionResponse] { + return pulumix.Output[MatrixDimensionDefinitionResponse]{ + OutputState: o.OutputState, + } +} + type MatrixDimensionDefinitionResponseArrayOutput struct{ *pulumi.OutputState } func (MatrixDimensionDefinitionResponseArrayOutput) ElementType() reflect.Type { @@ -3778,6 +4343,12 @@ func (o MatrixDimensionDefinitionResponseArrayOutput) ToMatrixDimensionDefinitio return o } +func (o MatrixDimensionDefinitionResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MatrixDimensionDefinitionResponse] { + return pulumix.Output[[]MatrixDimensionDefinitionResponse]{ + OutputState: o.OutputState, + } +} + func (o MatrixDimensionDefinitionResponseArrayOutput) Index(i pulumi.IntInput) MatrixDimensionDefinitionResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MatrixDimensionDefinitionResponse { return vs[0].([]MatrixDimensionDefinitionResponse)[vs[1].(int)] @@ -3827,6 +4398,12 @@ func (i MultiStepArgs) ToMultiStepOutputWithContext(ctx context.Context) MultiSt return pulumi.ToOutputWithContext(ctx, i).(MultiStepOutput) } +func (i MultiStepArgs) ToOutput(ctx context.Context) pulumix.Output[MultiStep] { + return pulumix.Output[MultiStep]{ + OutputState: i.ToMultiStepOutputWithContext(ctx).OutputState, + } +} + func (i MultiStepArgs) ToMultiStepPtrOutput() MultiStepPtrOutput { return i.ToMultiStepPtrOutputWithContext(context.Background()) } @@ -3868,6 +4445,12 @@ func (i *multiStepPtrType) ToMultiStepPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(MultiStepPtrOutput) } +func (i *multiStepPtrType) ToOutput(ctx context.Context) pulumix.Output[*MultiStep] { + return pulumix.Output[*MultiStep]{ + OutputState: i.ToMultiStepPtrOutputWithContext(ctx).OutputState, + } +} + // Details when multiple steps are run with the same configuration as a group. type MultiStepOutput struct{ *pulumi.OutputState } @@ -3893,6 +4476,12 @@ func (o MultiStepOutput) ToMultiStepPtrOutputWithContext(ctx context.Context) Mu }).(MultiStepPtrOutput) } +func (o MultiStepOutput) ToOutput(ctx context.Context) pulumix.Output[MultiStep] { + return pulumix.Output[MultiStep]{ + OutputState: o.OutputState, + } +} + // Unique int given to each step. Ranges from 0(inclusive) to total number of steps(exclusive). The primary step is 0. func (o MultiStepOutput) MultistepNumber() pulumi.IntPtrOutput { return o.ApplyT(func(v MultiStep) *int { return v.MultistepNumber }).(pulumi.IntPtrOutput) @@ -3922,6 +4511,12 @@ func (o MultiStepPtrOutput) ToMultiStepPtrOutputWithContext(ctx context.Context) return o } +func (o MultiStepPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MultiStep] { + return pulumix.Output[*MultiStep]{ + OutputState: o.OutputState, + } +} + func (o MultiStepPtrOutput) Elem() MultiStepOutput { return o.ApplyT(func(v *MultiStep) MultiStep { if v != nil { @@ -3987,6 +4582,12 @@ func (o MultiStepResponseOutput) ToMultiStepResponseOutputWithContext(ctx contex return o } +func (o MultiStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MultiStepResponse] { + return pulumix.Output[MultiStepResponse]{ + OutputState: o.OutputState, + } +} + // Unique int given to each step. Ranges from 0(inclusive) to total number of steps(exclusive). The primary step is 0. func (o MultiStepResponseOutput) MultistepNumber() pulumi.IntOutput { return o.ApplyT(func(v MultiStepResponse) int { return v.MultistepNumber }).(pulumi.IntOutput) @@ -4053,6 +4654,12 @@ func (i OutcomeArgs) ToOutcomeOutputWithContext(ctx context.Context) OutcomeOutp return pulumi.ToOutputWithContext(ctx, i).(OutcomeOutput) } +func (i OutcomeArgs) ToOutput(ctx context.Context) pulumix.Output[Outcome] { + return pulumix.Output[Outcome]{ + OutputState: i.ToOutcomeOutputWithContext(ctx).OutputState, + } +} + func (i OutcomeArgs) ToOutcomePtrOutput() OutcomePtrOutput { return i.ToOutcomePtrOutputWithContext(context.Background()) } @@ -4094,6 +4701,12 @@ func (i *outcomePtrType) ToOutcomePtrOutputWithContext(ctx context.Context) Outc return pulumi.ToOutputWithContext(ctx, i).(OutcomePtrOutput) } +func (i *outcomePtrType) ToOutput(ctx context.Context) pulumix.Output[*Outcome] { + return pulumix.Output[*Outcome]{ + OutputState: i.ToOutcomePtrOutputWithContext(ctx).OutputState, + } +} + // Interprets a result so that humans and machines can act on it. type OutcomeOutput struct{ *pulumi.OutputState } @@ -4119,6 +4732,12 @@ func (o OutcomeOutput) ToOutcomePtrOutputWithContext(ctx context.Context) Outcom }).(OutcomePtrOutput) } +func (o OutcomeOutput) ToOutput(ctx context.Context) pulumix.Output[Outcome] { + return pulumix.Output[Outcome]{ + OutputState: o.OutputState, + } +} + // More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional func (o OutcomeOutput) FailureDetail() FailureDetailPtrOutput { return o.ApplyT(func(v Outcome) *FailureDetail { return v.FailureDetail }).(FailureDetailPtrOutput) @@ -4158,6 +4777,12 @@ func (o OutcomePtrOutput) ToOutcomePtrOutputWithContext(ctx context.Context) Out return o } +func (o OutcomePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Outcome] { + return pulumix.Output[*Outcome]{ + OutputState: o.OutputState, + } +} + func (o OutcomePtrOutput) Elem() OutcomeOutput { return o.ApplyT(func(v *Outcome) Outcome { if v != nil { @@ -4247,6 +4872,12 @@ func (o OutcomeResponseOutput) ToOutcomeResponseOutputWithContext(ctx context.Co return o } +func (o OutcomeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OutcomeResponse] { + return pulumix.Output[OutcomeResponse]{ + OutputState: o.OutputState, + } +} + // More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional func (o OutcomeResponseOutput) FailureDetail() FailureDetailResponseOutput { return o.ApplyT(func(v OutcomeResponse) FailureDetailResponse { return v.FailureDetail }).(FailureDetailResponseOutput) @@ -4311,6 +4942,12 @@ func (i PrimaryStepArgs) ToPrimaryStepOutputWithContext(ctx context.Context) Pri return pulumi.ToOutputWithContext(ctx, i).(PrimaryStepOutput) } +func (i PrimaryStepArgs) ToOutput(ctx context.Context) pulumix.Output[PrimaryStep] { + return pulumix.Output[PrimaryStep]{ + OutputState: i.ToPrimaryStepOutputWithContext(ctx).OutputState, + } +} + func (i PrimaryStepArgs) ToPrimaryStepPtrOutput() PrimaryStepPtrOutput { return i.ToPrimaryStepPtrOutputWithContext(context.Background()) } @@ -4352,6 +4989,12 @@ func (i *primaryStepPtrType) ToPrimaryStepPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(PrimaryStepPtrOutput) } +func (i *primaryStepPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrimaryStep] { + return pulumix.Output[*PrimaryStep]{ + OutputState: i.ToPrimaryStepPtrOutputWithContext(ctx).OutputState, + } +} + // Stores rollup test status of multiple steps that were run as a group and outcome of each individual step. type PrimaryStepOutput struct{ *pulumi.OutputState } @@ -4377,6 +5020,12 @@ func (o PrimaryStepOutput) ToPrimaryStepPtrOutputWithContext(ctx context.Context }).(PrimaryStepPtrOutput) } +func (o PrimaryStepOutput) ToOutput(ctx context.Context) pulumix.Output[PrimaryStep] { + return pulumix.Output[PrimaryStep]{ + OutputState: o.OutputState, + } +} + // Step Id and outcome of each individual step. func (o PrimaryStepOutput) IndividualOutcome() IndividualOutcomeArrayOutput { return o.ApplyT(func(v PrimaryStep) []IndividualOutcome { return v.IndividualOutcome }).(IndividualOutcomeArrayOutput) @@ -4401,6 +5050,12 @@ func (o PrimaryStepPtrOutput) ToPrimaryStepPtrOutputWithContext(ctx context.Cont return o } +func (o PrimaryStepPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrimaryStep] { + return pulumix.Output[*PrimaryStep]{ + OutputState: o.OutputState, + } +} + func (o PrimaryStepPtrOutput) Elem() PrimaryStepOutput { return o.ApplyT(func(v *PrimaryStep) PrimaryStep { if v != nil { @@ -4454,6 +5109,12 @@ func (o PrimaryStepResponseOutput) ToPrimaryStepResponseOutputWithContext(ctx co return o } +func (o PrimaryStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrimaryStepResponse] { + return pulumix.Output[PrimaryStepResponse]{ + OutputState: o.OutputState, + } +} + // Step Id and outcome of each individual step. func (o PrimaryStepResponseOutput) IndividualOutcome() IndividualOutcomeResponseArrayOutput { return o.ApplyT(func(v PrimaryStepResponse) []IndividualOutcomeResponse { return v.IndividualOutcome }).(IndividualOutcomeResponseArrayOutput) @@ -4507,6 +5168,12 @@ func (i SkippedDetailArgs) ToSkippedDetailOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SkippedDetailOutput) } +func (i SkippedDetailArgs) ToOutput(ctx context.Context) pulumix.Output[SkippedDetail] { + return pulumix.Output[SkippedDetail]{ + OutputState: i.ToSkippedDetailOutputWithContext(ctx).OutputState, + } +} + func (i SkippedDetailArgs) ToSkippedDetailPtrOutput() SkippedDetailPtrOutput { return i.ToSkippedDetailPtrOutputWithContext(context.Background()) } @@ -4548,6 +5215,12 @@ func (i *skippedDetailPtrType) ToSkippedDetailPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SkippedDetailPtrOutput) } +func (i *skippedDetailPtrType) ToOutput(ctx context.Context) pulumix.Output[*SkippedDetail] { + return pulumix.Output[*SkippedDetail]{ + OutputState: i.ToSkippedDetailPtrOutputWithContext(ctx).OutputState, + } +} + // Details for an outcome with a SKIPPED outcome summary. type SkippedDetailOutput struct{ *pulumi.OutputState } @@ -4573,6 +5246,12 @@ func (o SkippedDetailOutput) ToSkippedDetailPtrOutputWithContext(ctx context.Con }).(SkippedDetailPtrOutput) } +func (o SkippedDetailOutput) ToOutput(ctx context.Context) pulumix.Output[SkippedDetail] { + return pulumix.Output[SkippedDetail]{ + OutputState: o.OutputState, + } +} + // If the App doesn't support the specific API level. func (o SkippedDetailOutput) IncompatibleAppVersion() pulumi.BoolPtrOutput { return o.ApplyT(func(v SkippedDetail) *bool { return v.IncompatibleAppVersion }).(pulumi.BoolPtrOutput) @@ -4602,6 +5281,12 @@ func (o SkippedDetailPtrOutput) ToSkippedDetailPtrOutputWithContext(ctx context. return o } +func (o SkippedDetailPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SkippedDetail] { + return pulumix.Output[*SkippedDetail]{ + OutputState: o.OutputState, + } +} + func (o SkippedDetailPtrOutput) Elem() SkippedDetailOutput { return o.ApplyT(func(v *SkippedDetail) SkippedDetail { if v != nil { @@ -4667,6 +5352,12 @@ func (o SkippedDetailResponseOutput) ToSkippedDetailResponseOutputWithContext(ct return o } +func (o SkippedDetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SkippedDetailResponse] { + return pulumix.Output[SkippedDetailResponse]{ + OutputState: o.OutputState, + } +} + // If the App doesn't support the specific API level. func (o SkippedDetailResponseOutput) IncompatibleAppVersion() pulumi.BoolOutput { return o.ApplyT(func(v SkippedDetailResponse) bool { return v.IncompatibleAppVersion }).(pulumi.BoolOutput) @@ -4721,6 +5412,12 @@ func (i SpecificationArgs) ToSpecificationOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SpecificationOutput) } +func (i SpecificationArgs) ToOutput(ctx context.Context) pulumix.Output[Specification] { + return pulumix.Output[Specification]{ + OutputState: i.ToSpecificationOutputWithContext(ctx).OutputState, + } +} + func (i SpecificationArgs) ToSpecificationPtrOutput() SpecificationPtrOutput { return i.ToSpecificationPtrOutputWithContext(context.Background()) } @@ -4762,6 +5459,12 @@ func (i *specificationPtrType) ToSpecificationPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SpecificationPtrOutput) } +func (i *specificationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Specification] { + return pulumix.Output[*Specification]{ + OutputState: i.ToSpecificationPtrOutputWithContext(ctx).OutputState, + } +} + // The details about how to run the execution. type SpecificationOutput struct{ *pulumi.OutputState } @@ -4787,6 +5490,12 @@ func (o SpecificationOutput) ToSpecificationPtrOutputWithContext(ctx context.Con }).(SpecificationPtrOutput) } +func (o SpecificationOutput) ToOutput(ctx context.Context) pulumix.Output[Specification] { + return pulumix.Output[Specification]{ + OutputState: o.OutputState, + } +} + // An Android mobile test execution specification. func (o SpecificationOutput) AndroidTest() AndroidTestPtrOutput { return o.ApplyT(func(v Specification) *AndroidTest { return v.AndroidTest }).(AndroidTestPtrOutput) @@ -4811,6 +5520,12 @@ func (o SpecificationPtrOutput) ToSpecificationPtrOutputWithContext(ctx context. return o } +func (o SpecificationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Specification] { + return pulumix.Output[*Specification]{ + OutputState: o.OutputState, + } +} + func (o SpecificationPtrOutput) Elem() SpecificationOutput { return o.ApplyT(func(v *Specification) Specification { if v != nil { @@ -4864,6 +5579,12 @@ func (o SpecificationResponseOutput) ToSpecificationResponseOutputWithContext(ct return o } +func (o SpecificationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SpecificationResponse] { + return pulumix.Output[SpecificationResponse]{ + OutputState: o.OutputState, + } +} + // An Android mobile test execution specification. func (o SpecificationResponseOutput) AndroidTest() AndroidTestResponseOutput { return o.ApplyT(func(v SpecificationResponse) AndroidTestResponse { return v.AndroidTest }).(AndroidTestResponseOutput) @@ -4909,6 +5630,12 @@ func (i StackTraceArgs) ToStackTraceOutputWithContext(ctx context.Context) Stack return pulumi.ToOutputWithContext(ctx, i).(StackTraceOutput) } +func (i StackTraceArgs) ToOutput(ctx context.Context) pulumix.Output[StackTrace] { + return pulumix.Output[StackTrace]{ + OutputState: i.ToStackTraceOutputWithContext(ctx).OutputState, + } +} + func (i StackTraceArgs) ToStackTracePtrOutput() StackTracePtrOutput { return i.ToStackTracePtrOutputWithContext(context.Background()) } @@ -4950,6 +5677,12 @@ func (i *stackTracePtrType) ToStackTracePtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(StackTracePtrOutput) } +func (i *stackTracePtrType) ToOutput(ctx context.Context) pulumix.Output[*StackTrace] { + return pulumix.Output[*StackTrace]{ + OutputState: i.ToStackTracePtrOutputWithContext(ctx).OutputState, + } +} + // A stacktrace. type StackTraceOutput struct{ *pulumi.OutputState } @@ -4975,6 +5708,12 @@ func (o StackTraceOutput) ToStackTracePtrOutputWithContext(ctx context.Context) }).(StackTracePtrOutput) } +func (o StackTraceOutput) ToOutput(ctx context.Context) pulumix.Output[StackTrace] { + return pulumix.Output[StackTrace]{ + OutputState: o.OutputState, + } +} + // The stack trace message. Required func (o StackTraceOutput) Exception() pulumi.StringPtrOutput { return o.ApplyT(func(v StackTrace) *string { return v.Exception }).(pulumi.StringPtrOutput) @@ -4994,6 +5733,12 @@ func (o StackTracePtrOutput) ToStackTracePtrOutputWithContext(ctx context.Contex return o } +func (o StackTracePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*StackTrace] { + return pulumix.Output[*StackTrace]{ + OutputState: o.OutputState, + } +} + func (o StackTracePtrOutput) Elem() StackTraceOutput { return o.ApplyT(func(v *StackTrace) StackTrace { if v != nil { @@ -5035,6 +5780,12 @@ func (o StackTraceResponseOutput) ToStackTraceResponseOutputWithContext(ctx cont return o } +func (o StackTraceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StackTraceResponse] { + return pulumix.Output[StackTraceResponse]{ + OutputState: o.OutputState, + } +} + // The stack trace message. Required func (o StackTraceResponseOutput) Exception() pulumi.StringOutput { return o.ApplyT(func(v StackTraceResponse) string { return v.Exception }).(pulumi.StringOutput) @@ -5073,6 +5824,12 @@ func (i StepDimensionValueEntryArgs) ToStepDimensionValueEntryOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(StepDimensionValueEntryOutput) } +func (i StepDimensionValueEntryArgs) ToOutput(ctx context.Context) pulumix.Output[StepDimensionValueEntry] { + return pulumix.Output[StepDimensionValueEntry]{ + OutputState: i.ToStepDimensionValueEntryOutputWithContext(ctx).OutputState, + } +} + // StepDimensionValueEntryArrayInput is an input type that accepts StepDimensionValueEntryArray and StepDimensionValueEntryArrayOutput values. // You can construct a concrete instance of `StepDimensionValueEntryArrayInput` via: // @@ -5098,6 +5855,12 @@ func (i StepDimensionValueEntryArray) ToStepDimensionValueEntryArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(StepDimensionValueEntryArrayOutput) } +func (i StepDimensionValueEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]StepDimensionValueEntry] { + return pulumix.Output[[]StepDimensionValueEntry]{ + OutputState: i.ToStepDimensionValueEntryArrayOutputWithContext(ctx).OutputState, + } +} + type StepDimensionValueEntryOutput struct{ *pulumi.OutputState } func (StepDimensionValueEntryOutput) ElementType() reflect.Type { @@ -5112,6 +5875,12 @@ func (o StepDimensionValueEntryOutput) ToStepDimensionValueEntryOutputWithContex return o } +func (o StepDimensionValueEntryOutput) ToOutput(ctx context.Context) pulumix.Output[StepDimensionValueEntry] { + return pulumix.Output[StepDimensionValueEntry]{ + OutputState: o.OutputState, + } +} + func (o StepDimensionValueEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v StepDimensionValueEntry) *string { return v.Key }).(pulumi.StringPtrOutput) } @@ -5134,6 +5903,12 @@ func (o StepDimensionValueEntryArrayOutput) ToStepDimensionValueEntryArrayOutput return o } +func (o StepDimensionValueEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StepDimensionValueEntry] { + return pulumix.Output[[]StepDimensionValueEntry]{ + OutputState: o.OutputState, + } +} + func (o StepDimensionValueEntryArrayOutput) Index(i pulumi.IntInput) StepDimensionValueEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StepDimensionValueEntry { return vs[0].([]StepDimensionValueEntry)[vs[1].(int)] @@ -5159,6 +5934,12 @@ func (o StepDimensionValueEntryResponseOutput) ToStepDimensionValueEntryResponse return o } +func (o StepDimensionValueEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StepDimensionValueEntryResponse] { + return pulumix.Output[StepDimensionValueEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o StepDimensionValueEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v StepDimensionValueEntryResponse) string { return v.Key }).(pulumi.StringOutput) } @@ -5181,6 +5962,12 @@ func (o StepDimensionValueEntryResponseArrayOutput) ToStepDimensionValueEntryRes return o } +func (o StepDimensionValueEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StepDimensionValueEntryResponse] { + return pulumix.Output[[]StepDimensionValueEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o StepDimensionValueEntryResponseArrayOutput) Index(i pulumi.IntInput) StepDimensionValueEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StepDimensionValueEntryResponse { return vs[0].([]StepDimensionValueEntryResponse)[vs[1].(int)] @@ -5220,6 +6007,12 @@ func (i StepLabelsEntryArgs) ToStepLabelsEntryOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(StepLabelsEntryOutput) } +func (i StepLabelsEntryArgs) ToOutput(ctx context.Context) pulumix.Output[StepLabelsEntry] { + return pulumix.Output[StepLabelsEntry]{ + OutputState: i.ToStepLabelsEntryOutputWithContext(ctx).OutputState, + } +} + // StepLabelsEntryArrayInput is an input type that accepts StepLabelsEntryArray and StepLabelsEntryArrayOutput values. // You can construct a concrete instance of `StepLabelsEntryArrayInput` via: // @@ -5245,6 +6038,12 @@ func (i StepLabelsEntryArray) ToStepLabelsEntryArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(StepLabelsEntryArrayOutput) } +func (i StepLabelsEntryArray) ToOutput(ctx context.Context) pulumix.Output[[]StepLabelsEntry] { + return pulumix.Output[[]StepLabelsEntry]{ + OutputState: i.ToStepLabelsEntryArrayOutputWithContext(ctx).OutputState, + } +} + type StepLabelsEntryOutput struct{ *pulumi.OutputState } func (StepLabelsEntryOutput) ElementType() reflect.Type { @@ -5259,6 +6058,12 @@ func (o StepLabelsEntryOutput) ToStepLabelsEntryOutputWithContext(ctx context.Co return o } +func (o StepLabelsEntryOutput) ToOutput(ctx context.Context) pulumix.Output[StepLabelsEntry] { + return pulumix.Output[StepLabelsEntry]{ + OutputState: o.OutputState, + } +} + func (o StepLabelsEntryOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v StepLabelsEntry) *string { return v.Key }).(pulumi.StringPtrOutput) } @@ -5281,6 +6086,12 @@ func (o StepLabelsEntryArrayOutput) ToStepLabelsEntryArrayOutputWithContext(ctx return o } +func (o StepLabelsEntryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StepLabelsEntry] { + return pulumix.Output[[]StepLabelsEntry]{ + OutputState: o.OutputState, + } +} + func (o StepLabelsEntryArrayOutput) Index(i pulumi.IntInput) StepLabelsEntryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StepLabelsEntry { return vs[0].([]StepLabelsEntry)[vs[1].(int)] @@ -5306,6 +6117,12 @@ func (o StepLabelsEntryResponseOutput) ToStepLabelsEntryResponseOutputWithContex return o } +func (o StepLabelsEntryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StepLabelsEntryResponse] { + return pulumix.Output[StepLabelsEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o StepLabelsEntryResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v StepLabelsEntryResponse) string { return v.Key }).(pulumi.StringOutput) } @@ -5328,6 +6145,12 @@ func (o StepLabelsEntryResponseArrayOutput) ToStepLabelsEntryResponseArrayOutput return o } +func (o StepLabelsEntryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StepLabelsEntryResponse] { + return pulumix.Output[[]StepLabelsEntryResponse]{ + OutputState: o.OutputState, + } +} + func (o StepLabelsEntryResponseArrayOutput) Index(i pulumi.IntInput) StepLabelsEntryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StepLabelsEntryResponse { return vs[0].([]StepLabelsEntryResponse)[vs[1].(int)] @@ -5369,6 +6192,12 @@ func (i SuccessDetailArgs) ToSuccessDetailOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SuccessDetailOutput) } +func (i SuccessDetailArgs) ToOutput(ctx context.Context) pulumix.Output[SuccessDetail] { + return pulumix.Output[SuccessDetail]{ + OutputState: i.ToSuccessDetailOutputWithContext(ctx).OutputState, + } +} + func (i SuccessDetailArgs) ToSuccessDetailPtrOutput() SuccessDetailPtrOutput { return i.ToSuccessDetailPtrOutputWithContext(context.Background()) } @@ -5410,6 +6239,12 @@ func (i *successDetailPtrType) ToSuccessDetailPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(SuccessDetailPtrOutput) } +func (i *successDetailPtrType) ToOutput(ctx context.Context) pulumix.Output[*SuccessDetail] { + return pulumix.Output[*SuccessDetail]{ + OutputState: i.ToSuccessDetailPtrOutputWithContext(ctx).OutputState, + } +} + // Details for an outcome with a SUCCESS outcome summary. LINT.IfChange type SuccessDetailOutput struct{ *pulumi.OutputState } @@ -5435,6 +6270,12 @@ func (o SuccessDetailOutput) ToSuccessDetailPtrOutputWithContext(ctx context.Con }).(SuccessDetailPtrOutput) } +func (o SuccessDetailOutput) ToOutput(ctx context.Context) pulumix.Output[SuccessDetail] { + return pulumix.Output[SuccessDetail]{ + OutputState: o.OutputState, + } +} + // If a native process other than the app crashed. func (o SuccessDetailOutput) OtherNativeCrash() pulumi.BoolPtrOutput { return o.ApplyT(func(v SuccessDetail) *bool { return v.OtherNativeCrash }).(pulumi.BoolPtrOutput) @@ -5454,6 +6295,12 @@ func (o SuccessDetailPtrOutput) ToSuccessDetailPtrOutputWithContext(ctx context. return o } +func (o SuccessDetailPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SuccessDetail] { + return pulumix.Output[*SuccessDetail]{ + OutputState: o.OutputState, + } +} + func (o SuccessDetailPtrOutput) Elem() SuccessDetailOutput { return o.ApplyT(func(v *SuccessDetail) SuccessDetail { if v != nil { @@ -5495,6 +6342,12 @@ func (o SuccessDetailResponseOutput) ToSuccessDetailResponseOutputWithContext(ct return o } +func (o SuccessDetailResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SuccessDetailResponse] { + return pulumix.Output[SuccessDetailResponse]{ + OutputState: o.OutputState, + } +} + // If a native process other than the app crashed. func (o SuccessDetailResponseOutput) OtherNativeCrash() pulumi.BoolOutput { return o.ApplyT(func(v SuccessDetailResponse) bool { return v.OtherNativeCrash }).(pulumi.BoolOutput) @@ -5543,6 +6396,12 @@ func (i TestCaseReferenceArgs) ToTestCaseReferenceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TestCaseReferenceOutput) } +func (i TestCaseReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[TestCaseReference] { + return pulumix.Output[TestCaseReference]{ + OutputState: i.ToTestCaseReferenceOutputWithContext(ctx).OutputState, + } +} + func (i TestCaseReferenceArgs) ToTestCaseReferencePtrOutput() TestCaseReferencePtrOutput { return i.ToTestCaseReferencePtrOutputWithContext(context.Background()) } @@ -5584,6 +6443,12 @@ func (i *testCaseReferencePtrType) ToTestCaseReferencePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(TestCaseReferencePtrOutput) } +func (i *testCaseReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*TestCaseReference] { + return pulumix.Output[*TestCaseReference]{ + OutputState: i.ToTestCaseReferencePtrOutputWithContext(ctx).OutputState, + } +} + // A reference to a test case. Test case references are canonically ordered lexicographically by these three factors: * First, by test_suite_name. * Second, by class_name. * Third, by name. type TestCaseReferenceOutput struct{ *pulumi.OutputState } @@ -5609,6 +6474,12 @@ func (o TestCaseReferenceOutput) ToTestCaseReferencePtrOutputWithContext(ctx con }).(TestCaseReferencePtrOutput) } +func (o TestCaseReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[TestCaseReference] { + return pulumix.Output[TestCaseReference]{ + OutputState: o.OutputState, + } +} + // The name of the class. func (o TestCaseReferenceOutput) ClassName() pulumi.StringPtrOutput { return o.ApplyT(func(v TestCaseReference) *string { return v.ClassName }).(pulumi.StringPtrOutput) @@ -5638,6 +6509,12 @@ func (o TestCaseReferencePtrOutput) ToTestCaseReferencePtrOutputWithContext(ctx return o } +func (o TestCaseReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TestCaseReference] { + return pulumix.Output[*TestCaseReference]{ + OutputState: o.OutputState, + } +} + func (o TestCaseReferencePtrOutput) Elem() TestCaseReferenceOutput { return o.ApplyT(func(v *TestCaseReference) TestCaseReference { if v != nil { @@ -5703,6 +6580,12 @@ func (o TestCaseReferenceResponseOutput) ToTestCaseReferenceResponseOutputWithCo return o } +func (o TestCaseReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TestCaseReferenceResponse] { + return pulumix.Output[TestCaseReferenceResponse]{ + OutputState: o.OutputState, + } +} + // The name of the class. func (o TestCaseReferenceResponseOutput) ClassName() pulumi.StringOutput { return o.ApplyT(func(v TestCaseReferenceResponse) string { return v.ClassName }).(pulumi.StringOutput) @@ -5765,6 +6648,12 @@ func (i TestExecutionStepArgs) ToTestExecutionStepOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TestExecutionStepOutput) } +func (i TestExecutionStepArgs) ToOutput(ctx context.Context) pulumix.Output[TestExecutionStep] { + return pulumix.Output[TestExecutionStep]{ + OutputState: i.ToTestExecutionStepOutputWithContext(ctx).OutputState, + } +} + func (i TestExecutionStepArgs) ToTestExecutionStepPtrOutput() TestExecutionStepPtrOutput { return i.ToTestExecutionStepPtrOutputWithContext(context.Background()) } @@ -5806,6 +6695,12 @@ func (i *testExecutionStepPtrType) ToTestExecutionStepPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(TestExecutionStepPtrOutput) } +func (i *testExecutionStepPtrType) ToOutput(ctx context.Context) pulumix.Output[*TestExecutionStep] { + return pulumix.Output[*TestExecutionStep]{ + OutputState: i.ToTestExecutionStepPtrOutputWithContext(ctx).OutputState, + } +} + // A step that represents running tests. It accepts ant-junit xml files which will be parsed into structured test results by the service. Xml file paths are updated in order to append more files, however they can't be deleted. Users can also add test results manually by using the test_result field. type TestExecutionStepOutput struct{ *pulumi.OutputState } @@ -5831,6 +6726,12 @@ func (o TestExecutionStepOutput) ToTestExecutionStepPtrOutputWithContext(ctx con }).(TestExecutionStepPtrOutput) } +func (o TestExecutionStepOutput) ToOutput(ctx context.Context) pulumix.Output[TestExecutionStep] { + return pulumix.Output[TestExecutionStep]{ + OutputState: o.OutputState, + } +} + // Issues observed during the test execution. For example, if the mobile app under test crashed during the test, the error message and the stack trace content can be recorded here to assist debugging. - In response: present if set by create or update - In create/update request: optional func (o TestExecutionStepOutput) TestIssues() TestIssueArrayOutput { return o.ApplyT(func(v TestExecutionStep) []TestIssue { return v.TestIssues }).(TestIssueArrayOutput) @@ -5865,6 +6766,12 @@ func (o TestExecutionStepPtrOutput) ToTestExecutionStepPtrOutputWithContext(ctx return o } +func (o TestExecutionStepPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TestExecutionStep] { + return pulumix.Output[*TestExecutionStep]{ + OutputState: o.OutputState, + } +} + func (o TestExecutionStepPtrOutput) Elem() TestExecutionStepOutput { return o.ApplyT(func(v *TestExecutionStep) TestExecutionStep { if v != nil { @@ -5942,6 +6849,12 @@ func (o TestExecutionStepResponseOutput) ToTestExecutionStepResponseOutputWithCo return o } +func (o TestExecutionStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TestExecutionStepResponse] { + return pulumix.Output[TestExecutionStepResponse]{ + OutputState: o.OutputState, + } +} + // Issues observed during the test execution. For example, if the mobile app under test crashed during the test, the error message and the stack trace content can be recorded here to assist debugging. - In response: present if set by create or update - In create/update request: optional func (o TestExecutionStepResponseOutput) TestIssues() TestIssueResponseArrayOutput { return o.ApplyT(func(v TestExecutionStepResponse) []TestIssueResponse { return v.TestIssues }).(TestIssueResponseArrayOutput) @@ -6021,6 +6934,12 @@ func (i TestIssueArgs) ToTestIssueOutputWithContext(ctx context.Context) TestIss return pulumi.ToOutputWithContext(ctx, i).(TestIssueOutput) } +func (i TestIssueArgs) ToOutput(ctx context.Context) pulumix.Output[TestIssue] { + return pulumix.Output[TestIssue]{ + OutputState: i.ToTestIssueOutputWithContext(ctx).OutputState, + } +} + // TestIssueArrayInput is an input type that accepts TestIssueArray and TestIssueArrayOutput values. // You can construct a concrete instance of `TestIssueArrayInput` via: // @@ -6046,6 +6965,12 @@ func (i TestIssueArray) ToTestIssueArrayOutputWithContext(ctx context.Context) T return pulumi.ToOutputWithContext(ctx, i).(TestIssueArrayOutput) } +func (i TestIssueArray) ToOutput(ctx context.Context) pulumix.Output[[]TestIssue] { + return pulumix.Output[[]TestIssue]{ + OutputState: i.ToTestIssueArrayOutputWithContext(ctx).OutputState, + } +} + // An issue detected occurring during a test execution. type TestIssueOutput struct{ *pulumi.OutputState } @@ -6061,6 +6986,12 @@ func (o TestIssueOutput) ToTestIssueOutputWithContext(ctx context.Context) TestI return o } +func (o TestIssueOutput) ToOutput(ctx context.Context) pulumix.Output[TestIssue] { + return pulumix.Output[TestIssue]{ + OutputState: o.OutputState, + } +} + // Category of issue. Required. func (o TestIssueOutput) Category() TestIssueCategoryPtrOutput { return o.ApplyT(func(v TestIssue) *TestIssueCategory { return v.Category }).(TestIssueCategoryPtrOutput) @@ -6107,6 +7038,12 @@ func (o TestIssueArrayOutput) ToTestIssueArrayOutputWithContext(ctx context.Cont return o } +func (o TestIssueArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TestIssue] { + return pulumix.Output[[]TestIssue]{ + OutputState: o.OutputState, + } +} + func (o TestIssueArrayOutput) Index(i pulumi.IntInput) TestIssueOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TestIssue { return vs[0].([]TestIssue)[vs[1].(int)] @@ -6146,6 +7083,12 @@ func (o TestIssueResponseOutput) ToTestIssueResponseOutputWithContext(ctx contex return o } +func (o TestIssueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TestIssueResponse] { + return pulumix.Output[TestIssueResponse]{ + OutputState: o.OutputState, + } +} + // Category of issue. Required. func (o TestIssueResponseOutput) Category() pulumi.StringOutput { return o.ApplyT(func(v TestIssueResponse) string { return v.Category }).(pulumi.StringOutput) @@ -6192,6 +7135,12 @@ func (o TestIssueResponseArrayOutput) ToTestIssueResponseArrayOutputWithContext( return o } +func (o TestIssueResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TestIssueResponse] { + return pulumix.Output[[]TestIssueResponse]{ + OutputState: o.OutputState, + } +} + func (o TestIssueResponseArrayOutput) Index(i pulumi.IntInput) TestIssueResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TestIssueResponse { return vs[0].([]TestIssueResponse)[vs[1].(int)] @@ -6261,6 +7210,12 @@ func (i TestSuiteOverviewArgs) ToTestSuiteOverviewOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TestSuiteOverviewOutput) } +func (i TestSuiteOverviewArgs) ToOutput(ctx context.Context) pulumix.Output[TestSuiteOverview] { + return pulumix.Output[TestSuiteOverview]{ + OutputState: i.ToTestSuiteOverviewOutputWithContext(ctx).OutputState, + } +} + // TestSuiteOverviewArrayInput is an input type that accepts TestSuiteOverviewArray and TestSuiteOverviewArrayOutput values. // You can construct a concrete instance of `TestSuiteOverviewArrayInput` via: // @@ -6286,6 +7241,12 @@ func (i TestSuiteOverviewArray) ToTestSuiteOverviewArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(TestSuiteOverviewArrayOutput) } +func (i TestSuiteOverviewArray) ToOutput(ctx context.Context) pulumix.Output[[]TestSuiteOverview] { + return pulumix.Output[[]TestSuiteOverview]{ + OutputState: i.ToTestSuiteOverviewArrayOutputWithContext(ctx).OutputState, + } +} + // A summary of a test suite result either parsed from XML or uploaded directly by a user. Note: the API related comments are for StepService only. This message is also being used in ExecutionService in a read only mode for the corresponding step. type TestSuiteOverviewOutput struct{ *pulumi.OutputState } @@ -6301,6 +7262,12 @@ func (o TestSuiteOverviewOutput) ToTestSuiteOverviewOutputWithContext(ctx contex return o } +func (o TestSuiteOverviewOutput) ToOutput(ctx context.Context) pulumix.Output[TestSuiteOverview] { + return pulumix.Output[TestSuiteOverview]{ + OutputState: o.OutputState, + } +} + // Elapsed time of test suite. func (o TestSuiteOverviewOutput) ElapsedTime() DurationPtrOutput { return o.ApplyT(func(v TestSuiteOverview) *Duration { return v.ElapsedTime }).(DurationPtrOutput) @@ -6355,6 +7322,12 @@ func (o TestSuiteOverviewArrayOutput) ToTestSuiteOverviewArrayOutputWithContext( return o } +func (o TestSuiteOverviewArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TestSuiteOverview] { + return pulumix.Output[[]TestSuiteOverview]{ + OutputState: o.OutputState, + } +} + func (o TestSuiteOverviewArrayOutput) Index(i pulumi.IntInput) TestSuiteOverviewOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TestSuiteOverview { return vs[0].([]TestSuiteOverview)[vs[1].(int)] @@ -6396,6 +7369,12 @@ func (o TestSuiteOverviewResponseOutput) ToTestSuiteOverviewResponseOutputWithCo return o } +func (o TestSuiteOverviewResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TestSuiteOverviewResponse] { + return pulumix.Output[TestSuiteOverviewResponse]{ + OutputState: o.OutputState, + } +} + // Elapsed time of test suite. func (o TestSuiteOverviewResponseOutput) ElapsedTime() DurationResponseOutput { return o.ApplyT(func(v TestSuiteOverviewResponse) DurationResponse { return v.ElapsedTime }).(DurationResponseOutput) @@ -6450,6 +7429,12 @@ func (o TestSuiteOverviewResponseArrayOutput) ToTestSuiteOverviewResponseArrayOu return o } +func (o TestSuiteOverviewResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TestSuiteOverviewResponse] { + return pulumix.Output[[]TestSuiteOverviewResponse]{ + OutputState: o.OutputState, + } +} + func (o TestSuiteOverviewResponseArrayOutput) Index(i pulumi.IntInput) TestSuiteOverviewResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TestSuiteOverviewResponse { return vs[0].([]TestSuiteOverviewResponse)[vs[1].(int)] @@ -6491,6 +7476,12 @@ func (i TestTimingArgs) ToTestTimingOutputWithContext(ctx context.Context) TestT return pulumi.ToOutputWithContext(ctx, i).(TestTimingOutput) } +func (i TestTimingArgs) ToOutput(ctx context.Context) pulumix.Output[TestTiming] { + return pulumix.Output[TestTiming]{ + OutputState: i.ToTestTimingOutputWithContext(ctx).OutputState, + } +} + func (i TestTimingArgs) ToTestTimingPtrOutput() TestTimingPtrOutput { return i.ToTestTimingPtrOutputWithContext(context.Background()) } @@ -6532,6 +7523,12 @@ func (i *testTimingPtrType) ToTestTimingPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TestTimingPtrOutput) } +func (i *testTimingPtrType) ToOutput(ctx context.Context) pulumix.Output[*TestTiming] { + return pulumix.Output[*TestTiming]{ + OutputState: i.ToTestTimingPtrOutputWithContext(ctx).OutputState, + } +} + // Testing timing break down to know phases. type TestTimingOutput struct{ *pulumi.OutputState } @@ -6557,6 +7554,12 @@ func (o TestTimingOutput) ToTestTimingPtrOutputWithContext(ctx context.Context) }).(TestTimingPtrOutput) } +func (o TestTimingOutput) ToOutput(ctx context.Context) pulumix.Output[TestTiming] { + return pulumix.Output[TestTiming]{ + OutputState: o.OutputState, + } +} + // How long it took to run the test process. - In response: present if previously set. - In create/update request: optional func (o TestTimingOutput) TestProcessDuration() DurationPtrOutput { return o.ApplyT(func(v TestTiming) *Duration { return v.TestProcessDuration }).(DurationPtrOutput) @@ -6576,6 +7579,12 @@ func (o TestTimingPtrOutput) ToTestTimingPtrOutputWithContext(ctx context.Contex return o } +func (o TestTimingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TestTiming] { + return pulumix.Output[*TestTiming]{ + OutputState: o.OutputState, + } +} + func (o TestTimingPtrOutput) Elem() TestTimingOutput { return o.ApplyT(func(v *TestTiming) TestTiming { if v != nil { @@ -6617,6 +7626,12 @@ func (o TestTimingResponseOutput) ToTestTimingResponseOutputWithContext(ctx cont return o } +func (o TestTimingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TestTimingResponse] { + return pulumix.Output[TestTimingResponse]{ + OutputState: o.OutputState, + } +} + // How long it took to run the test process. - In response: present if previously set. - In create/update request: optional func (o TestTimingResponseOutput) TestProcessDuration() DurationResponseOutput { return o.ApplyT(func(v TestTimingResponse) DurationResponse { return v.TestProcessDuration }).(DurationResponseOutput) @@ -6661,6 +7676,12 @@ func (i TimestampArgs) ToTimestampOutputWithContext(ctx context.Context) Timesta return pulumi.ToOutputWithContext(ctx, i).(TimestampOutput) } +func (i TimestampArgs) ToOutput(ctx context.Context) pulumix.Output[Timestamp] { + return pulumix.Output[Timestamp]{ + OutputState: i.ToTimestampOutputWithContext(ctx).OutputState, + } +} + func (i TimestampArgs) ToTimestampPtrOutput() TimestampPtrOutput { return i.ToTimestampPtrOutputWithContext(context.Background()) } @@ -6702,6 +7723,12 @@ func (i *timestampPtrType) ToTimestampPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TimestampPtrOutput) } +func (i *timestampPtrType) ToOutput(ctx context.Context) pulumix.Output[*Timestamp] { + return pulumix.Output[*Timestamp]{ + OutputState: i.ToTimestampPtrOutputWithContext(ctx).OutputState, + } +} + // A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. type TimestampOutput struct{ *pulumi.OutputState } @@ -6727,6 +7754,12 @@ func (o TimestampOutput) ToTimestampPtrOutputWithContext(ctx context.Context) Ti }).(TimestampPtrOutput) } +func (o TimestampOutput) ToOutput(ctx context.Context) pulumix.Output[Timestamp] { + return pulumix.Output[Timestamp]{ + OutputState: o.OutputState, + } +} + // Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. func (o TimestampOutput) Nanos() pulumi.IntPtrOutput { return o.ApplyT(func(v Timestamp) *int { return v.Nanos }).(pulumi.IntPtrOutput) @@ -6751,6 +7784,12 @@ func (o TimestampPtrOutput) ToTimestampPtrOutputWithContext(ctx context.Context) return o } +func (o TimestampPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Timestamp] { + return pulumix.Output[*Timestamp]{ + OutputState: o.OutputState, + } +} + func (o TimestampPtrOutput) Elem() TimestampOutput { return o.ApplyT(func(v *Timestamp) Timestamp { if v != nil { @@ -6804,6 +7843,12 @@ func (o TimestampResponseOutput) ToTimestampResponseOutputWithContext(ctx contex return o } +func (o TimestampResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TimestampResponse] { + return pulumix.Output[TimestampResponse]{ + OutputState: o.OutputState, + } +} + // Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. func (o TimestampResponseOutput) Nanos() pulumi.IntOutput { return o.ApplyT(func(v TimestampResponse) int { return v.Nanos }).(pulumi.IntOutput) @@ -6861,6 +7906,12 @@ func (i ToolExecutionArgs) ToToolExecutionOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ToolExecutionOutput) } +func (i ToolExecutionArgs) ToOutput(ctx context.Context) pulumix.Output[ToolExecution] { + return pulumix.Output[ToolExecution]{ + OutputState: i.ToToolExecutionOutputWithContext(ctx).OutputState, + } +} + func (i ToolExecutionArgs) ToToolExecutionPtrOutput() ToolExecutionPtrOutput { return i.ToToolExecutionPtrOutputWithContext(context.Background()) } @@ -6902,6 +7953,12 @@ func (i *toolExecutionPtrType) ToToolExecutionPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ToolExecutionPtrOutput) } +func (i *toolExecutionPtrType) ToOutput(ctx context.Context) pulumix.Output[*ToolExecution] { + return pulumix.Output[*ToolExecution]{ + OutputState: i.ToToolExecutionPtrOutputWithContext(ctx).OutputState, + } +} + // An execution of an arbitrary tool. It could be a test runner or a tool copying artifacts or deploying code. type ToolExecutionOutput struct{ *pulumi.OutputState } @@ -6927,6 +7984,12 @@ func (o ToolExecutionOutput) ToToolExecutionPtrOutputWithContext(ctx context.Con }).(ToolExecutionPtrOutput) } +func (o ToolExecutionOutput) ToOutput(ctx context.Context) pulumix.Output[ToolExecution] { + return pulumix.Output[ToolExecution]{ + OutputState: o.OutputState, + } +} + // The full tokenized command line including the program name (equivalent to argv in a C program). - In response: present if set by create request - In create request: optional - In update request: never set func (o ToolExecutionOutput) CommandLineArguments() pulumi.StringArrayOutput { return o.ApplyT(func(v ToolExecution) []string { return v.CommandLineArguments }).(pulumi.StringArrayOutput) @@ -6961,6 +8024,12 @@ func (o ToolExecutionPtrOutput) ToToolExecutionPtrOutputWithContext(ctx context. return o } +func (o ToolExecutionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ToolExecution] { + return pulumix.Output[*ToolExecution]{ + OutputState: o.OutputState, + } +} + func (o ToolExecutionPtrOutput) Elem() ToolExecutionOutput { return o.ApplyT(func(v *ToolExecution) ToolExecution { if v != nil { @@ -7038,6 +8107,12 @@ func (o ToolExecutionResponseOutput) ToToolExecutionResponseOutputWithContext(ct return o } +func (o ToolExecutionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ToolExecutionResponse] { + return pulumix.Output[ToolExecutionResponse]{ + OutputState: o.OutputState, + } +} + // The full tokenized command line including the program name (equivalent to argv in a C program). - In response: present if set by create request - In create request: optional - In update request: never set func (o ToolExecutionResponseOutput) CommandLineArguments() pulumi.StringArrayOutput { return o.ApplyT(func(v ToolExecutionResponse) []string { return v.CommandLineArguments }).(pulumi.StringArrayOutput) @@ -7093,6 +8168,12 @@ func (i ToolExecutionStepArgs) ToToolExecutionStepOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ToolExecutionStepOutput) } +func (i ToolExecutionStepArgs) ToOutput(ctx context.Context) pulumix.Output[ToolExecutionStep] { + return pulumix.Output[ToolExecutionStep]{ + OutputState: i.ToToolExecutionStepOutputWithContext(ctx).OutputState, + } +} + func (i ToolExecutionStepArgs) ToToolExecutionStepPtrOutput() ToolExecutionStepPtrOutput { return i.ToToolExecutionStepPtrOutputWithContext(context.Background()) } @@ -7134,6 +8215,12 @@ func (i *toolExecutionStepPtrType) ToToolExecutionStepPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ToolExecutionStepPtrOutput) } +func (i *toolExecutionStepPtrType) ToOutput(ctx context.Context) pulumix.Output[*ToolExecutionStep] { + return pulumix.Output[*ToolExecutionStep]{ + OutputState: i.ToToolExecutionStepPtrOutputWithContext(ctx).OutputState, + } +} + // Generic tool step to be used for binaries we do not explicitly support. For example: running cp to copy artifacts from one location to another. type ToolExecutionStepOutput struct{ *pulumi.OutputState } @@ -7159,6 +8246,12 @@ func (o ToolExecutionStepOutput) ToToolExecutionStepPtrOutputWithContext(ctx con }).(ToolExecutionStepPtrOutput) } +func (o ToolExecutionStepOutput) ToOutput(ctx context.Context) pulumix.Output[ToolExecutionStep] { + return pulumix.Output[ToolExecutionStep]{ + OutputState: o.OutputState, + } +} + // A Tool execution. - In response: present if set by create/update request - In create/update request: optional func (o ToolExecutionStepOutput) ToolExecution() ToolExecutionPtrOutput { return o.ApplyT(func(v ToolExecutionStep) *ToolExecution { return v.ToolExecution }).(ToolExecutionPtrOutput) @@ -7178,6 +8271,12 @@ func (o ToolExecutionStepPtrOutput) ToToolExecutionStepPtrOutputWithContext(ctx return o } +func (o ToolExecutionStepPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ToolExecutionStep] { + return pulumix.Output[*ToolExecutionStep]{ + OutputState: o.OutputState, + } +} + func (o ToolExecutionStepPtrOutput) Elem() ToolExecutionStepOutput { return o.ApplyT(func(v *ToolExecutionStep) ToolExecutionStep { if v != nil { @@ -7219,6 +8318,12 @@ func (o ToolExecutionStepResponseOutput) ToToolExecutionStepResponseOutputWithCo return o } +func (o ToolExecutionStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ToolExecutionStepResponse] { + return pulumix.Output[ToolExecutionStepResponse]{ + OutputState: o.OutputState, + } +} + // A Tool execution. - In response: present if set by create/update request - In create/update request: optional func (o ToolExecutionStepResponseOutput) ToolExecution() ToolExecutionResponseOutput { return o.ApplyT(func(v ToolExecutionStepResponse) ToolExecutionResponse { return v.ToolExecution }).(ToolExecutionResponseOutput) @@ -7259,6 +8364,12 @@ func (i ToolExitCodeArgs) ToToolExitCodeOutputWithContext(ctx context.Context) T return pulumi.ToOutputWithContext(ctx, i).(ToolExitCodeOutput) } +func (i ToolExitCodeArgs) ToOutput(ctx context.Context) pulumix.Output[ToolExitCode] { + return pulumix.Output[ToolExitCode]{ + OutputState: i.ToToolExitCodeOutputWithContext(ctx).OutputState, + } +} + func (i ToolExitCodeArgs) ToToolExitCodePtrOutput() ToolExitCodePtrOutput { return i.ToToolExitCodePtrOutputWithContext(context.Background()) } @@ -7300,6 +8411,12 @@ func (i *toolExitCodePtrType) ToToolExitCodePtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(ToolExitCodePtrOutput) } +func (i *toolExitCodePtrType) ToOutput(ctx context.Context) pulumix.Output[*ToolExitCode] { + return pulumix.Output[*ToolExitCode]{ + OutputState: i.ToToolExitCodePtrOutputWithContext(ctx).OutputState, + } +} + // Exit code from a tool execution. type ToolExitCodeOutput struct{ *pulumi.OutputState } @@ -7325,6 +8442,12 @@ func (o ToolExitCodeOutput) ToToolExitCodePtrOutputWithContext(ctx context.Conte }).(ToolExitCodePtrOutput) } +func (o ToolExitCodeOutput) ToOutput(ctx context.Context) pulumix.Output[ToolExitCode] { + return pulumix.Output[ToolExitCode]{ + OutputState: o.OutputState, + } +} + // Tool execution exit code. A value of 0 means that the execution was successful. - In response: always set - In create/update request: always set func (o ToolExitCodeOutput) Number() pulumi.IntPtrOutput { return o.ApplyT(func(v ToolExitCode) *int { return v.Number }).(pulumi.IntPtrOutput) @@ -7344,6 +8467,12 @@ func (o ToolExitCodePtrOutput) ToToolExitCodePtrOutputWithContext(ctx context.Co return o } +func (o ToolExitCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ToolExitCode] { + return pulumix.Output[*ToolExitCode]{ + OutputState: o.OutputState, + } +} + func (o ToolExitCodePtrOutput) Elem() ToolExitCodeOutput { return o.ApplyT(func(v *ToolExitCode) ToolExitCode { if v != nil { @@ -7385,6 +8514,12 @@ func (o ToolExitCodeResponseOutput) ToToolExitCodeResponseOutputWithContext(ctx return o } +func (o ToolExitCodeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ToolExitCodeResponse] { + return pulumix.Output[ToolExitCodeResponse]{ + OutputState: o.OutputState, + } +} + // Tool execution exit code. A value of 0 means that the execution was successful. - In response: always set - In create/update request: always set func (o ToolExitCodeResponseOutput) Number() pulumi.IntOutput { return o.ApplyT(func(v ToolExitCodeResponse) int { return v.Number }).(pulumi.IntOutput) @@ -7433,6 +8568,12 @@ func (i ToolOutputReferenceArgs) ToToolOutputReferenceOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ToolOutputReferenceOutput) } +func (i ToolOutputReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[ToolOutputReference] { + return pulumix.Output[ToolOutputReference]{ + OutputState: i.ToToolOutputReferenceOutputWithContext(ctx).OutputState, + } +} + // ToolOutputReferenceArrayInput is an input type that accepts ToolOutputReferenceArray and ToolOutputReferenceArrayOutput values. // You can construct a concrete instance of `ToolOutputReferenceArrayInput` via: // @@ -7458,6 +8599,12 @@ func (i ToolOutputReferenceArray) ToToolOutputReferenceArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ToolOutputReferenceArrayOutput) } +func (i ToolOutputReferenceArray) ToOutput(ctx context.Context) pulumix.Output[[]ToolOutputReference] { + return pulumix.Output[[]ToolOutputReference]{ + OutputState: i.ToToolOutputReferenceArrayOutputWithContext(ctx).OutputState, + } +} + // A reference to a ToolExecution output file. type ToolOutputReferenceOutput struct{ *pulumi.OutputState } @@ -7473,6 +8620,12 @@ func (o ToolOutputReferenceOutput) ToToolOutputReferenceOutputWithContext(ctx co return o } +func (o ToolOutputReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[ToolOutputReference] { + return pulumix.Output[ToolOutputReference]{ + OutputState: o.OutputState, + } +} + // The creation time of the file. - In response: present if set by create/update request - In create/update request: optional func (o ToolOutputReferenceOutput) CreationTime() TimestampPtrOutput { return o.ApplyT(func(v ToolOutputReference) *Timestamp { return v.CreationTime }).(TimestampPtrOutput) @@ -7502,6 +8655,12 @@ func (o ToolOutputReferenceArrayOutput) ToToolOutputReferenceArrayOutputWithCont return o } +func (o ToolOutputReferenceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ToolOutputReference] { + return pulumix.Output[[]ToolOutputReference]{ + OutputState: o.OutputState, + } +} + func (o ToolOutputReferenceArrayOutput) Index(i pulumi.IntInput) ToolOutputReferenceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ToolOutputReference { return vs[0].([]ToolOutputReference)[vs[1].(int)] @@ -7533,6 +8692,12 @@ func (o ToolOutputReferenceResponseOutput) ToToolOutputReferenceResponseOutputWi return o } +func (o ToolOutputReferenceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ToolOutputReferenceResponse] { + return pulumix.Output[ToolOutputReferenceResponse]{ + OutputState: o.OutputState, + } +} + // The creation time of the file. - In response: present if set by create/update request - In create/update request: optional func (o ToolOutputReferenceResponseOutput) CreationTime() TimestampResponseOutput { return o.ApplyT(func(v ToolOutputReferenceResponse) TimestampResponse { return v.CreationTime }).(TimestampResponseOutput) @@ -7562,6 +8727,12 @@ func (o ToolOutputReferenceResponseArrayOutput) ToToolOutputReferenceResponseArr return o } +func (o ToolOutputReferenceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ToolOutputReferenceResponse] { + return pulumix.Output[[]ToolOutputReferenceResponse]{ + OutputState: o.OutputState, + } +} + func (o ToolOutputReferenceResponseArrayOutput) Index(i pulumi.IntInput) ToolOutputReferenceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ToolOutputReferenceResponse { return vs[0].([]ToolOutputReferenceResponse)[vs[1].(int)] diff --git a/sdk/go/google/toolresults/v1beta3/step.go b/sdk/go/google/toolresults/v1beta3/step.go index 68d0dd8a86..2c3080c8ae 100644 --- a/sdk/go/google/toolresults/v1beta3/step.go +++ b/sdk/go/google/toolresults/v1beta3/step.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Step. The returned Step will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist @@ -206,6 +207,12 @@ func (i *Step) ToStepOutputWithContext(ctx context.Context) StepOutput { return pulumi.ToOutputWithContext(ctx, i).(StepOutput) } +func (i *Step) ToOutput(ctx context.Context) pulumix.Output[*Step] { + return pulumix.Output[*Step]{ + OutputState: i.ToStepOutputWithContext(ctx).OutputState, + } +} + type StepOutput struct{ *pulumi.OutputState } func (StepOutput) ElementType() reflect.Type { @@ -220,6 +227,12 @@ func (o StepOutput) ToStepOutputWithContext(ctx context.Context) StepOutput { return o } +func (o StepOutput) ToOutput(ctx context.Context) pulumix.Output[*Step] { + return pulumix.Output[*Step]{ + OutputState: o.OutputState, + } +} + // The time when the step status was set to complete. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set func (o StepOutput) CompletionTime() TimestampResponseOutput { return o.ApplyT(func(v *Step) TimestampResponseOutput { return v.CompletionTime }).(TimestampResponseOutput) diff --git a/sdk/go/google/tpu/v1/getNode.go b/sdk/go/google/tpu/v1/getNode.go index 7896273faf..b4201536dd 100644 --- a/sdk/go/google/tpu/v1/getNode.go +++ b/sdk/go/google/tpu/v1/getNode.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a node. @@ -110,6 +111,12 @@ func (o LookupNodeResultOutput) ToLookupNodeResultOutputWithContext(ctx context. return o } +func (o LookupNodeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeResult] { + return pulumix.Output[LookupNodeResult]{ + OutputState: o.OutputState, + } +} + // The type of hardware accelerators associated with this node. func (o LookupNodeResultOutput) AcceleratorType() pulumi.StringOutput { return o.ApplyT(func(v LookupNodeResult) string { return v.AcceleratorType }).(pulumi.StringOutput) diff --git a/sdk/go/google/tpu/v1/node.go b/sdk/go/google/tpu/v1/node.go index 82b767032c..e24e57ac51 100644 --- a/sdk/go/google/tpu/v1/node.go +++ b/sdk/go/google/tpu/v1/node.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a node. @@ -189,6 +190,12 @@ func (i *Node) ToNodeOutputWithContext(ctx context.Context) NodeOutput { return pulumi.ToOutputWithContext(ctx, i).(NodeOutput) } +func (i *Node) ToOutput(ctx context.Context) pulumix.Output[*Node] { + return pulumix.Output[*Node]{ + OutputState: i.ToNodeOutputWithContext(ctx).OutputState, + } +} + type NodeOutput struct{ *pulumi.OutputState } func (NodeOutput) ElementType() reflect.Type { @@ -203,6 +210,12 @@ func (o NodeOutput) ToNodeOutputWithContext(ctx context.Context) NodeOutput { return o } +func (o NodeOutput) ToOutput(ctx context.Context) pulumix.Output[*Node] { + return pulumix.Output[*Node]{ + OutputState: o.OutputState, + } +} + // The type of hardware accelerators associated with this node. func (o NodeOutput) AcceleratorType() pulumi.StringOutput { return o.ApplyT(func(v *Node) pulumi.StringOutput { return v.AcceleratorType }).(pulumi.StringOutput) diff --git a/sdk/go/google/tpu/v1/pulumiEnums.go b/sdk/go/google/tpu/v1/pulumiEnums.go index 3ef94ffbda..093db298c9 100644 --- a/sdk/go/google/tpu/v1/pulumiEnums.go +++ b/sdk/go/google/tpu/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The health status of the TPU node. @@ -88,6 +89,12 @@ func (o NodeHealthOutput) ToNodeHealthPtrOutputWithContext(ctx context.Context) }).(NodeHealthPtrOutput) } +func (o NodeHealthOutput) ToOutput(ctx context.Context) pulumix.Output[NodeHealth] { + return pulumix.Output[NodeHealth]{ + OutputState: o.OutputState, + } +} + func (o NodeHealthOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -123,6 +130,12 @@ func (o NodeHealthPtrOutput) ToNodeHealthPtrOutputWithContext(ctx context.Contex return o } +func (o NodeHealthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeHealth] { + return pulumix.Output[*NodeHealth]{ + OutputState: o.OutputState, + } +} + func (o NodeHealthPtrOutput) Elem() NodeHealthOutput { return o.ApplyT(func(v *NodeHealth) NodeHealth { if v != nil { @@ -185,6 +198,12 @@ func (in *nodeHealthPtr) ToNodeHealthPtrOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, in).(NodeHealthPtrOutput) } +func (in *nodeHealthPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeHealth] { + return pulumix.Output[*NodeHealth]{ + OutputState: in.ToNodeHealthPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*NodeHealthInput)(nil)).Elem(), NodeHealth("HEALTH_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*NodeHealthPtrInput)(nil)).Elem(), NodeHealth("HEALTH_UNSPECIFIED")) diff --git a/sdk/go/google/tpu/v1/pulumiTypes.go b/sdk/go/google/tpu/v1/pulumiTypes.go index 1f686f228e..23e7912723 100644 --- a/sdk/go/google/tpu/v1/pulumiTypes.go +++ b/sdk/go/google/tpu/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -36,6 +37,12 @@ func (o NetworkEndpointResponseOutput) ToNetworkEndpointResponseOutputWithContex return o } +func (o NetworkEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointResponse] { + return pulumix.Output[NetworkEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The IP address of this network endpoint. func (o NetworkEndpointResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -60,6 +67,12 @@ func (o NetworkEndpointResponseArrayOutput) ToNetworkEndpointResponseArrayOutput return o } +func (o NetworkEndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkEndpointResponse] { + return pulumix.Output[[]NetworkEndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkEndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkEndpointResponse { return vs[0].([]NetworkEndpointResponse)[vs[1].(int)] @@ -105,6 +118,12 @@ func (i SchedulingConfigArgs) ToSchedulingConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SchedulingConfigOutput) } +func (i SchedulingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfig] { + return pulumix.Output[SchedulingConfig]{ + OutputState: i.ToSchedulingConfigOutputWithContext(ctx).OutputState, + } +} + func (i SchedulingConfigArgs) ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput { return i.ToSchedulingConfigPtrOutputWithContext(context.Background()) } @@ -146,6 +165,12 @@ func (i *schedulingConfigPtrType) ToSchedulingConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SchedulingConfigPtrOutput) } +func (i *schedulingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchedulingConfig] { + return pulumix.Output[*SchedulingConfig]{ + OutputState: i.ToSchedulingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Sets the scheduling options for this node. type SchedulingConfigOutput struct{ *pulumi.OutputState } @@ -171,6 +196,12 @@ func (o SchedulingConfigOutput) ToSchedulingConfigPtrOutputWithContext(ctx conte }).(SchedulingConfigPtrOutput) } +func (o SchedulingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfig] { + return pulumix.Output[SchedulingConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the node is preemptible. func (o SchedulingConfigOutput) Preemptible() pulumi.BoolPtrOutput { return o.ApplyT(func(v SchedulingConfig) *bool { return v.Preemptible }).(pulumi.BoolPtrOutput) @@ -195,6 +226,12 @@ func (o SchedulingConfigPtrOutput) ToSchedulingConfigPtrOutputWithContext(ctx co return o } +func (o SchedulingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingConfig] { + return pulumix.Output[*SchedulingConfig]{ + OutputState: o.OutputState, + } +} + func (o SchedulingConfigPtrOutput) Elem() SchedulingConfigOutput { return o.ApplyT(func(v *SchedulingConfig) SchedulingConfig { if v != nil { @@ -248,6 +285,12 @@ func (o SchedulingConfigResponseOutput) ToSchedulingConfigResponseOutputWithCont return o } +func (o SchedulingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfigResponse] { + return pulumix.Output[SchedulingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the node is preemptible. func (o SchedulingConfigResponseOutput) Preemptible() pulumi.BoolOutput { return o.ApplyT(func(v SchedulingConfigResponse) bool { return v.Preemptible }).(pulumi.BoolOutput) @@ -285,6 +328,12 @@ func (o SymptomResponseOutput) ToSymptomResponseOutputWithContext(ctx context.Co return o } +func (o SymptomResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SymptomResponse] { + return pulumix.Output[SymptomResponse]{ + OutputState: o.OutputState, + } +} + // Timestamp when the Symptom is created. func (o SymptomResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v SymptomResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -319,6 +368,12 @@ func (o SymptomResponseArrayOutput) ToSymptomResponseArrayOutputWithContext(ctx return o } +func (o SymptomResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SymptomResponse] { + return pulumix.Output[[]SymptomResponse]{ + OutputState: o.OutputState, + } +} + func (o SymptomResponseArrayOutput) Index(i pulumi.IntInput) SymptomResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SymptomResponse { return vs[0].([]SymptomResponse)[vs[1].(int)] diff --git a/sdk/go/google/tpu/v1alpha1/getNode.go b/sdk/go/google/tpu/v1alpha1/getNode.go index bf1d34c6bf..1855cbbacb 100644 --- a/sdk/go/google/tpu/v1alpha1/getNode.go +++ b/sdk/go/google/tpu/v1alpha1/getNode.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a node. @@ -110,6 +111,12 @@ func (o LookupNodeResultOutput) ToLookupNodeResultOutputWithContext(ctx context. return o } +func (o LookupNodeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeResult] { + return pulumix.Output[LookupNodeResult]{ + OutputState: o.OutputState, + } +} + // The type of hardware accelerators associated with this node. func (o LookupNodeResultOutput) AcceleratorType() pulumi.StringOutput { return o.ApplyT(func(v LookupNodeResult) string { return v.AcceleratorType }).(pulumi.StringOutput) diff --git a/sdk/go/google/tpu/v1alpha1/node.go b/sdk/go/google/tpu/v1alpha1/node.go index 1473dca4a5..a7cdc61608 100644 --- a/sdk/go/google/tpu/v1alpha1/node.go +++ b/sdk/go/google/tpu/v1alpha1/node.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a node. @@ -195,6 +196,12 @@ func (i *Node) ToNodeOutputWithContext(ctx context.Context) NodeOutput { return pulumi.ToOutputWithContext(ctx, i).(NodeOutput) } +func (i *Node) ToOutput(ctx context.Context) pulumix.Output[*Node] { + return pulumix.Output[*Node]{ + OutputState: i.ToNodeOutputWithContext(ctx).OutputState, + } +} + type NodeOutput struct{ *pulumi.OutputState } func (NodeOutput) ElementType() reflect.Type { @@ -209,6 +216,12 @@ func (o NodeOutput) ToNodeOutputWithContext(ctx context.Context) NodeOutput { return o } +func (o NodeOutput) ToOutput(ctx context.Context) pulumix.Output[*Node] { + return pulumix.Output[*Node]{ + OutputState: o.OutputState, + } +} + // The type of hardware accelerators associated with this node. func (o NodeOutput) AcceleratorType() pulumi.StringOutput { return o.ApplyT(func(v *Node) pulumi.StringOutput { return v.AcceleratorType }).(pulumi.StringOutput) diff --git a/sdk/go/google/tpu/v1alpha1/pulumiEnums.go b/sdk/go/google/tpu/v1alpha1/pulumiEnums.go index e29fbe6ef9..f38ad9458f 100644 --- a/sdk/go/google/tpu/v1alpha1/pulumiEnums.go +++ b/sdk/go/google/tpu/v1alpha1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The health status of the TPU node. @@ -88,6 +89,12 @@ func (o NodeHealthOutput) ToNodeHealthPtrOutputWithContext(ctx context.Context) }).(NodeHealthPtrOutput) } +func (o NodeHealthOutput) ToOutput(ctx context.Context) pulumix.Output[NodeHealth] { + return pulumix.Output[NodeHealth]{ + OutputState: o.OutputState, + } +} + func (o NodeHealthOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -123,6 +130,12 @@ func (o NodeHealthPtrOutput) ToNodeHealthPtrOutputWithContext(ctx context.Contex return o } +func (o NodeHealthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeHealth] { + return pulumix.Output[*NodeHealth]{ + OutputState: o.OutputState, + } +} + func (o NodeHealthPtrOutput) Elem() NodeHealthOutput { return o.ApplyT(func(v *NodeHealth) NodeHealth { if v != nil { @@ -185,6 +198,12 @@ func (in *nodeHealthPtr) ToNodeHealthPtrOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, in).(NodeHealthPtrOutput) } +func (in *nodeHealthPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeHealth] { + return pulumix.Output[*NodeHealth]{ + OutputState: in.ToNodeHealthPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*NodeHealthInput)(nil)).Elem(), NodeHealth("HEALTH_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*NodeHealthPtrInput)(nil)).Elem(), NodeHealth("HEALTH_UNSPECIFIED")) diff --git a/sdk/go/google/tpu/v1alpha1/pulumiTypes.go b/sdk/go/google/tpu/v1alpha1/pulumiTypes.go index 854ee64571..044f523958 100644 --- a/sdk/go/google/tpu/v1alpha1/pulumiTypes.go +++ b/sdk/go/google/tpu/v1alpha1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -36,6 +37,12 @@ func (o NetworkEndpointResponseOutput) ToNetworkEndpointResponseOutputWithContex return o } +func (o NetworkEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointResponse] { + return pulumix.Output[NetworkEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The IP address of this network endpoint. func (o NetworkEndpointResponseOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v NetworkEndpointResponse) string { return v.IpAddress }).(pulumi.StringOutput) @@ -60,6 +67,12 @@ func (o NetworkEndpointResponseArrayOutput) ToNetworkEndpointResponseArrayOutput return o } +func (o NetworkEndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkEndpointResponse] { + return pulumix.Output[[]NetworkEndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkEndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkEndpointResponse { return vs[0].([]NetworkEndpointResponse)[vs[1].(int)] @@ -105,6 +118,12 @@ func (i SchedulingConfigArgs) ToSchedulingConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SchedulingConfigOutput) } +func (i SchedulingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfig] { + return pulumix.Output[SchedulingConfig]{ + OutputState: i.ToSchedulingConfigOutputWithContext(ctx).OutputState, + } +} + func (i SchedulingConfigArgs) ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput { return i.ToSchedulingConfigPtrOutputWithContext(context.Background()) } @@ -146,6 +165,12 @@ func (i *schedulingConfigPtrType) ToSchedulingConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SchedulingConfigPtrOutput) } +func (i *schedulingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchedulingConfig] { + return pulumix.Output[*SchedulingConfig]{ + OutputState: i.ToSchedulingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Sets the scheduling options for this node. type SchedulingConfigOutput struct{ *pulumi.OutputState } @@ -171,6 +196,12 @@ func (o SchedulingConfigOutput) ToSchedulingConfigPtrOutputWithContext(ctx conte }).(SchedulingConfigPtrOutput) } +func (o SchedulingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfig] { + return pulumix.Output[SchedulingConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the node is preemptible. func (o SchedulingConfigOutput) Preemptible() pulumi.BoolPtrOutput { return o.ApplyT(func(v SchedulingConfig) *bool { return v.Preemptible }).(pulumi.BoolPtrOutput) @@ -195,6 +226,12 @@ func (o SchedulingConfigPtrOutput) ToSchedulingConfigPtrOutputWithContext(ctx co return o } +func (o SchedulingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingConfig] { + return pulumix.Output[*SchedulingConfig]{ + OutputState: o.OutputState, + } +} + func (o SchedulingConfigPtrOutput) Elem() SchedulingConfigOutput { return o.ApplyT(func(v *SchedulingConfig) SchedulingConfig { if v != nil { @@ -248,6 +285,12 @@ func (o SchedulingConfigResponseOutput) ToSchedulingConfigResponseOutputWithCont return o } +func (o SchedulingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfigResponse] { + return pulumix.Output[SchedulingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the node is preemptible. func (o SchedulingConfigResponseOutput) Preemptible() pulumi.BoolOutput { return o.ApplyT(func(v SchedulingConfigResponse) bool { return v.Preemptible }).(pulumi.BoolOutput) @@ -285,6 +328,12 @@ func (o SymptomResponseOutput) ToSymptomResponseOutputWithContext(ctx context.Co return o } +func (o SymptomResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SymptomResponse] { + return pulumix.Output[SymptomResponse]{ + OutputState: o.OutputState, + } +} + // Timestamp when the Symptom is created. func (o SymptomResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v SymptomResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -319,6 +368,12 @@ func (o SymptomResponseArrayOutput) ToSymptomResponseArrayOutputWithContext(ctx return o } +func (o SymptomResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SymptomResponse] { + return pulumix.Output[[]SymptomResponse]{ + OutputState: o.OutputState, + } +} + func (o SymptomResponseArrayOutput) Index(i pulumi.IntInput) SymptomResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SymptomResponse { return vs[0].([]SymptomResponse)[vs[1].(int)] diff --git a/sdk/go/google/tpu/v2/getNode.go b/sdk/go/google/tpu/v2/getNode.go index 6d5c85b333..979d9215c8 100644 --- a/sdk/go/google/tpu/v2/getNode.go +++ b/sdk/go/google/tpu/v2/getNode.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a node. @@ -110,6 +111,12 @@ func (o LookupNodeResultOutput) ToLookupNodeResultOutputWithContext(ctx context. return o } +func (o LookupNodeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeResult] { + return pulumix.Output[LookupNodeResult]{ + OutputState: o.OutputState, + } +} + // The AccleratorConfig for the TPU Node. func (o LookupNodeResultOutput) AcceleratorConfig() AcceleratorConfigResponseOutput { return o.ApplyT(func(v LookupNodeResult) AcceleratorConfigResponse { return v.AcceleratorConfig }).(AcceleratorConfigResponseOutput) diff --git a/sdk/go/google/tpu/v2/node.go b/sdk/go/google/tpu/v2/node.go index 5cda305743..e2a2ad17fb 100644 --- a/sdk/go/google/tpu/v2/node.go +++ b/sdk/go/google/tpu/v2/node.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a node. @@ -209,6 +210,12 @@ func (i *Node) ToNodeOutputWithContext(ctx context.Context) NodeOutput { return pulumi.ToOutputWithContext(ctx, i).(NodeOutput) } +func (i *Node) ToOutput(ctx context.Context) pulumix.Output[*Node] { + return pulumix.Output[*Node]{ + OutputState: i.ToNodeOutputWithContext(ctx).OutputState, + } +} + type NodeOutput struct{ *pulumi.OutputState } func (NodeOutput) ElementType() reflect.Type { @@ -223,6 +230,12 @@ func (o NodeOutput) ToNodeOutputWithContext(ctx context.Context) NodeOutput { return o } +func (o NodeOutput) ToOutput(ctx context.Context) pulumix.Output[*Node] { + return pulumix.Output[*Node]{ + OutputState: o.OutputState, + } +} + // The AccleratorConfig for the TPU Node. func (o NodeOutput) AcceleratorConfig() AcceleratorConfigResponseOutput { return o.ApplyT(func(v *Node) AcceleratorConfigResponseOutput { return v.AcceleratorConfig }).(AcceleratorConfigResponseOutput) diff --git a/sdk/go/google/tpu/v2/pulumiEnums.go b/sdk/go/google/tpu/v2/pulumiEnums.go index 2bdeb1f9c3..f39b9a2074 100644 --- a/sdk/go/google/tpu/v2/pulumiEnums.go +++ b/sdk/go/google/tpu/v2/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. Type of TPU. @@ -84,6 +85,12 @@ func (o AcceleratorConfigTypeOutput) ToAcceleratorConfigTypePtrOutputWithContext }).(AcceleratorConfigTypePtrOutput) } +func (o AcceleratorConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigType] { + return pulumix.Output[AcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AcceleratorConfigTypePtrOutput) ToAcceleratorConfigTypePtrOutputWithCont return o } +func (o AcceleratorConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfigType] { + return pulumix.Output[*AcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigTypePtrOutput) Elem() AcceleratorConfigTypeOutput { return o.ApplyT(func(v *AcceleratorConfigType) AcceleratorConfigType { if v != nil { @@ -181,6 +194,12 @@ func (in *acceleratorConfigTypePtr) ToAcceleratorConfigTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AcceleratorConfigTypePtrOutput) } +func (in *acceleratorConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfigType] { + return pulumix.Output[*AcceleratorConfigType]{ + OutputState: in.ToAcceleratorConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks. type AttachedDiskMode string @@ -253,6 +272,12 @@ func (o AttachedDiskModeOutput) ToAttachedDiskModePtrOutputWithContext(ctx conte }).(AttachedDiskModePtrOutput) } +func (o AttachedDiskModeOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskMode] { + return pulumix.Output[AttachedDiskMode]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutputWithContext(ctx co return o } +func (o AttachedDiskModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskMode] { + return pulumix.Output[*AttachedDiskMode]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskModePtrOutput) Elem() AttachedDiskModeOutput { return o.ApplyT(func(v *AttachedDiskMode) AttachedDiskMode { if v != nil { @@ -350,6 +381,12 @@ func (in *attachedDiskModePtr) ToAttachedDiskModePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskModePtrOutput) } +func (in *attachedDiskModePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskMode] { + return pulumix.Output[*AttachedDiskMode]{ + OutputState: in.ToAttachedDiskModePtrOutputWithContext(ctx).OutputState, + } +} + // The health status of the TPU node. type NodeHealth string @@ -426,6 +463,12 @@ func (o NodeHealthOutput) ToNodeHealthPtrOutputWithContext(ctx context.Context) }).(NodeHealthPtrOutput) } +func (o NodeHealthOutput) ToOutput(ctx context.Context) pulumix.Output[NodeHealth] { + return pulumix.Output[NodeHealth]{ + OutputState: o.OutputState, + } +} + func (o NodeHealthOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o NodeHealthPtrOutput) ToNodeHealthPtrOutputWithContext(ctx context.Contex return o } +func (o NodeHealthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeHealth] { + return pulumix.Output[*NodeHealth]{ + OutputState: o.OutputState, + } +} + func (o NodeHealthPtrOutput) Elem() NodeHealthOutput { return o.ApplyT(func(v *NodeHealth) NodeHealth { if v != nil { @@ -523,6 +572,12 @@ func (in *nodeHealthPtr) ToNodeHealthPtrOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, in).(NodeHealthPtrOutput) } +func (in *nodeHealthPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeHealth] { + return pulumix.Output[*NodeHealth]{ + OutputState: in.ToNodeHealthPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AcceleratorConfigTypeInput)(nil)).Elem(), AcceleratorConfigType("TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AcceleratorConfigTypePtrInput)(nil)).Elem(), AcceleratorConfigType("TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/tpu/v2/pulumiTypes.go b/sdk/go/google/tpu/v2/pulumiTypes.go index 05118723c2..1f74829846 100644 --- a/sdk/go/google/tpu/v2/pulumiTypes.go +++ b/sdk/go/google/tpu/v2/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AcceleratorConfigArgs) ToAcceleratorConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigOutput) } +func (i AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + func (i AcceleratorConfigArgs) ToAcceleratorConfigPtrOutput() AcceleratorConfigPtrOutput { return i.ToAcceleratorConfigPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *acceleratorConfigPtrType) ToAcceleratorConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigPtrOutput) } +func (i *acceleratorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfig] { + return pulumix.Output[*AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A TPU accelerator configuration. type AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AcceleratorConfigOutput) ToAcceleratorConfigPtrOutputWithContext(ctx con }).(AcceleratorConfigPtrOutput) } +func (o AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // Topology of TPU in chips. func (o AcceleratorConfigOutput) Topology() pulumi.StringOutput { return o.ApplyT(func(v AcceleratorConfig) string { return v.Topology }).(pulumi.StringOutput) @@ -142,6 +161,12 @@ func (o AcceleratorConfigPtrOutput) ToAcceleratorConfigPtrOutputWithContext(ctx return o } +func (o AcceleratorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfig] { + return pulumix.Output[*AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigPtrOutput) Elem() AcceleratorConfigOutput { return o.ApplyT(func(v *AcceleratorConfig) AcceleratorConfig { if v != nil { @@ -195,6 +220,12 @@ func (o AcceleratorConfigResponseOutput) ToAcceleratorConfigResponseOutputWithCo return o } +func (o AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigResponse] { + return pulumix.Output[AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // Topology of TPU in chips. func (o AcceleratorConfigResponseOutput) Topology() pulumi.StringOutput { return o.ApplyT(func(v AcceleratorConfigResponse) string { return v.Topology }).(pulumi.StringOutput) @@ -226,6 +257,12 @@ func (o AccessConfigResponseOutput) ToAccessConfigResponseOutputWithContext(ctx return o } +func (o AccessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigResponse] { + return pulumix.Output[AccessConfigResponse]{ + OutputState: o.OutputState, + } +} + // An external IP address associated with the TPU worker. func (o AccessConfigResponseOutput) ExternalIp() pulumi.StringOutput { return o.ApplyT(func(v AccessConfigResponse) string { return v.ExternalIp }).(pulumi.StringOutput) @@ -270,6 +307,12 @@ func (i AttachedDiskArgs) ToAttachedDiskOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskOutput) } +func (i AttachedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: i.ToAttachedDiskOutputWithContext(ctx).OutputState, + } +} + // AttachedDiskArrayInput is an input type that accepts AttachedDiskArray and AttachedDiskArrayOutput values. // You can construct a concrete instance of `AttachedDiskArrayInput` via: // @@ -295,6 +338,12 @@ func (i AttachedDiskArray) ToAttachedDiskArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskArrayOutput) } +func (i AttachedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: i.ToAttachedDiskArrayOutputWithContext(ctx).OutputState, + } +} + // A node-attached disk resource. Next ID: 8; type AttachedDiskOutput struct{ *pulumi.OutputState } @@ -310,6 +359,12 @@ func (o AttachedDiskOutput) ToAttachedDiskOutputWithContext(ctx context.Context) return o } +func (o AttachedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: o.OutputState, + } +} + // The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks. func (o AttachedDiskOutput) Mode() AttachedDiskModePtrOutput { return o.ApplyT(func(v AttachedDisk) *AttachedDiskMode { return v.Mode }).(AttachedDiskModePtrOutput) @@ -334,6 +389,12 @@ func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext(ctx contex return o } +func (o AttachedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskArrayOutput) Index(i pulumi.IntInput) AttachedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDisk { return vs[0].([]AttachedDisk)[vs[1].(int)] @@ -363,6 +424,12 @@ func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext(ctx return o } +func (o AttachedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskResponse] { + return pulumix.Output[AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + // The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks. func (o AttachedDiskResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v AttachedDiskResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -387,6 +454,12 @@ func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithCo return o } +func (o AttachedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDiskResponse] { + return pulumix.Output[[]AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) AttachedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDiskResponse { return vs[0].([]AttachedDiskResponse)[vs[1].(int)] @@ -440,6 +513,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -481,6 +560,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Network related configurations. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -506,6 +591,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes. func (o NetworkConfigOutput) CanIpForward() pulumi.BoolPtrOutput { return o.ApplyT(func(v NetworkConfig) *bool { return v.CanIpForward }).(pulumi.BoolPtrOutput) @@ -540,6 +631,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -617,6 +714,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes. func (o NetworkConfigResponseOutput) CanIpForward() pulumi.BoolOutput { return o.ApplyT(func(v NetworkConfigResponse) bool { return v.CanIpForward }).(pulumi.BoolOutput) @@ -662,6 +765,12 @@ func (o NetworkEndpointResponseOutput) ToNetworkEndpointResponseOutputWithContex return o } +func (o NetworkEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointResponse] { + return pulumix.Output[NetworkEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The access config for the TPU worker. func (o NetworkEndpointResponseOutput) AccessConfig() AccessConfigResponseOutput { return o.ApplyT(func(v NetworkEndpointResponse) AccessConfigResponse { return v.AccessConfig }).(AccessConfigResponseOutput) @@ -691,6 +800,12 @@ func (o NetworkEndpointResponseArrayOutput) ToNetworkEndpointResponseArrayOutput return o } +func (o NetworkEndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkEndpointResponse] { + return pulumix.Output[[]NetworkEndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkEndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkEndpointResponse { return vs[0].([]NetworkEndpointResponse)[vs[1].(int)] @@ -736,6 +851,12 @@ func (i SchedulingConfigArgs) ToSchedulingConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SchedulingConfigOutput) } +func (i SchedulingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfig] { + return pulumix.Output[SchedulingConfig]{ + OutputState: i.ToSchedulingConfigOutputWithContext(ctx).OutputState, + } +} + func (i SchedulingConfigArgs) ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput { return i.ToSchedulingConfigPtrOutputWithContext(context.Background()) } @@ -777,6 +898,12 @@ func (i *schedulingConfigPtrType) ToSchedulingConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SchedulingConfigPtrOutput) } +func (i *schedulingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchedulingConfig] { + return pulumix.Output[*SchedulingConfig]{ + OutputState: i.ToSchedulingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Sets the scheduling options for this node. type SchedulingConfigOutput struct{ *pulumi.OutputState } @@ -802,6 +929,12 @@ func (o SchedulingConfigOutput) ToSchedulingConfigPtrOutputWithContext(ctx conte }).(SchedulingConfigPtrOutput) } +func (o SchedulingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfig] { + return pulumix.Output[SchedulingConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the node is preemptible. func (o SchedulingConfigOutput) Preemptible() pulumi.BoolPtrOutput { return o.ApplyT(func(v SchedulingConfig) *bool { return v.Preemptible }).(pulumi.BoolPtrOutput) @@ -826,6 +959,12 @@ func (o SchedulingConfigPtrOutput) ToSchedulingConfigPtrOutputWithContext(ctx co return o } +func (o SchedulingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingConfig] { + return pulumix.Output[*SchedulingConfig]{ + OutputState: o.OutputState, + } +} + func (o SchedulingConfigPtrOutput) Elem() SchedulingConfigOutput { return o.ApplyT(func(v *SchedulingConfig) SchedulingConfig { if v != nil { @@ -879,6 +1018,12 @@ func (o SchedulingConfigResponseOutput) ToSchedulingConfigResponseOutputWithCont return o } +func (o SchedulingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfigResponse] { + return pulumix.Output[SchedulingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the node is preemptible. func (o SchedulingConfigResponseOutput) Preemptible() pulumi.BoolOutput { return o.ApplyT(func(v SchedulingConfigResponse) bool { return v.Preemptible }).(pulumi.BoolOutput) @@ -928,6 +1073,12 @@ func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) } +func (i ServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: i.ToServiceAccountOutputWithContext(ctx).OutputState, + } +} + func (i ServiceAccountArgs) ToServiceAccountPtrOutput() ServiceAccountPtrOutput { return i.ToServiceAccountPtrOutputWithContext(context.Background()) } @@ -969,6 +1120,12 @@ func (i *serviceAccountPtrType) ToServiceAccountPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountPtrOutput) } +func (i *serviceAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: i.ToServiceAccountPtrOutputWithContext(ctx).OutputState, + } +} + // A service account. type ServiceAccountOutput struct{ *pulumi.OutputState } @@ -994,6 +1151,12 @@ func (o ServiceAccountOutput) ToServiceAccountPtrOutputWithContext(ctx context.C }).(ServiceAccountPtrOutput) } +func (o ServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. If empty, default Compute service account will be used. func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) @@ -1018,6 +1181,12 @@ func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext(ctx contex return o } +func (o ServiceAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountPtrOutput) Elem() ServiceAccountOutput { return o.ApplyT(func(v *ServiceAccount) ServiceAccount { if v != nil { @@ -1071,6 +1240,12 @@ func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext( return o } +func (o ServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccountResponse] { + return pulumix.Output[ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. If empty, default Compute service account will be used. func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ServiceAccountResponse) string { return v.Email }).(pulumi.StringOutput) @@ -1116,6 +1291,12 @@ func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigOutput) } +func (i ShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigPtrOutput() ShieldedInstanceConfigPtrOutput { return i.ToShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -1157,6 +1338,12 @@ func (i *shieldedInstanceConfigPtrType) ToShieldedInstanceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigPtrOutput) } +func (i *shieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded Instance options. type ShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -1182,6 +1369,12 @@ func (o ShieldedInstanceConfigOutput) ToShieldedInstanceConfigPtrOutputWithConte }).(ShieldedInstanceConfigPtrOutput) } +func (o ShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has Secure Boot enabled. func (o ShieldedInstanceConfigOutput) EnableSecureBoot() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceConfig) *bool { return v.EnableSecureBoot }).(pulumi.BoolPtrOutput) @@ -1201,6 +1394,12 @@ func (o ShieldedInstanceConfigPtrOutput) ToShieldedInstanceConfigPtrOutputWithCo return o } +func (o ShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceConfigPtrOutput) Elem() ShieldedInstanceConfigOutput { return o.ApplyT(func(v *ShieldedInstanceConfig) ShieldedInstanceConfig { if v != nil { @@ -1242,6 +1441,12 @@ func (o ShieldedInstanceConfigResponseOutput) ToShieldedInstanceConfigResponseOu return o } +func (o ShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfigResponse] { + return pulumix.Output[ShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has Secure Boot enabled. func (o ShieldedInstanceConfigResponseOutput) EnableSecureBoot() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceConfigResponse) bool { return v.EnableSecureBoot }).(pulumi.BoolOutput) @@ -1274,6 +1479,12 @@ func (o SymptomResponseOutput) ToSymptomResponseOutputWithContext(ctx context.Co return o } +func (o SymptomResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SymptomResponse] { + return pulumix.Output[SymptomResponse]{ + OutputState: o.OutputState, + } +} + // Timestamp when the Symptom is created. func (o SymptomResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v SymptomResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -1308,6 +1519,12 @@ func (o SymptomResponseArrayOutput) ToSymptomResponseArrayOutputWithContext(ctx return o } +func (o SymptomResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SymptomResponse] { + return pulumix.Output[[]SymptomResponse]{ + OutputState: o.OutputState, + } +} + func (o SymptomResponseArrayOutput) Index(i pulumi.IntInput) SymptomResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SymptomResponse { return vs[0].([]SymptomResponse)[vs[1].(int)] diff --git a/sdk/go/google/tpu/v2alpha1/getNode.go b/sdk/go/google/tpu/v2alpha1/getNode.go index 00b0b96c98..0f094c0f99 100644 --- a/sdk/go/google/tpu/v2alpha1/getNode.go +++ b/sdk/go/google/tpu/v2alpha1/getNode.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the details of a node. @@ -114,6 +115,12 @@ func (o LookupNodeResultOutput) ToLookupNodeResultOutputWithContext(ctx context. return o } +func (o LookupNodeResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupNodeResult] { + return pulumix.Output[LookupNodeResult]{ + OutputState: o.OutputState, + } +} + // The AccleratorConfig for the TPU Node. func (o LookupNodeResultOutput) AcceleratorConfig() AcceleratorConfigResponseOutput { return o.ApplyT(func(v LookupNodeResult) AcceleratorConfigResponse { return v.AcceleratorConfig }).(AcceleratorConfigResponseOutput) diff --git a/sdk/go/google/tpu/v2alpha1/getQueuedResource.go b/sdk/go/google/tpu/v2alpha1/getQueuedResource.go index a6cceb0397..566832ab21 100644 --- a/sdk/go/google/tpu/v2alpha1/getQueuedResource.go +++ b/sdk/go/google/tpu/v2alpha1/getQueuedResource.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a queued resource. @@ -82,6 +83,12 @@ func (o LookupQueuedResourceResultOutput) ToLookupQueuedResourceResultOutputWith return o } +func (o LookupQueuedResourceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupQueuedResourceResult] { + return pulumix.Output[LookupQueuedResourceResult]{ + OutputState: o.OutputState, + } +} + // The BestEffort tier. func (o LookupQueuedResourceResultOutput) BestEffort() BestEffortResponseOutput { return o.ApplyT(func(v LookupQueuedResourceResult) BestEffortResponse { return v.BestEffort }).(BestEffortResponseOutput) diff --git a/sdk/go/google/tpu/v2alpha1/node.go b/sdk/go/google/tpu/v2alpha1/node.go index 5ee44e4193..e38ed775a9 100644 --- a/sdk/go/google/tpu/v2alpha1/node.go +++ b/sdk/go/google/tpu/v2alpha1/node.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a node. @@ -216,6 +217,12 @@ func (i *Node) ToNodeOutputWithContext(ctx context.Context) NodeOutput { return pulumi.ToOutputWithContext(ctx, i).(NodeOutput) } +func (i *Node) ToOutput(ctx context.Context) pulumix.Output[*Node] { + return pulumix.Output[*Node]{ + OutputState: i.ToNodeOutputWithContext(ctx).OutputState, + } +} + type NodeOutput struct{ *pulumi.OutputState } func (NodeOutput) ElementType() reflect.Type { @@ -230,6 +237,12 @@ func (o NodeOutput) ToNodeOutputWithContext(ctx context.Context) NodeOutput { return o } +func (o NodeOutput) ToOutput(ctx context.Context) pulumix.Output[*Node] { + return pulumix.Output[*Node]{ + OutputState: o.OutputState, + } +} + // The AccleratorConfig for the TPU Node. func (o NodeOutput) AcceleratorConfig() AcceleratorConfigResponseOutput { return o.ApplyT(func(v *Node) AcceleratorConfigResponseOutput { return v.AcceleratorConfig }).(AcceleratorConfigResponseOutput) diff --git a/sdk/go/google/tpu/v2alpha1/pulumiEnums.go b/sdk/go/google/tpu/v2alpha1/pulumiEnums.go index a9690138c4..d895f59dd9 100644 --- a/sdk/go/google/tpu/v2alpha1/pulumiEnums.go +++ b/sdk/go/google/tpu/v2alpha1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. Type of TPU. @@ -84,6 +85,12 @@ func (o AcceleratorConfigTypeOutput) ToAcceleratorConfigTypePtrOutputWithContext }).(AcceleratorConfigTypePtrOutput) } +func (o AcceleratorConfigTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigType] { + return pulumix.Output[AcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AcceleratorConfigTypePtrOutput) ToAcceleratorConfigTypePtrOutputWithCont return o } +func (o AcceleratorConfigTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfigType] { + return pulumix.Output[*AcceleratorConfigType]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigTypePtrOutput) Elem() AcceleratorConfigTypeOutput { return o.ApplyT(func(v *AcceleratorConfigType) AcceleratorConfigType { if v != nil { @@ -181,6 +194,12 @@ func (in *acceleratorConfigTypePtr) ToAcceleratorConfigTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AcceleratorConfigTypePtrOutput) } +func (in *acceleratorConfigTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfigType] { + return pulumix.Output[*AcceleratorConfigType]{ + OutputState: in.ToAcceleratorConfigTypePtrOutputWithContext(ctx).OutputState, + } +} + // The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks. type AttachedDiskMode string @@ -253,6 +272,12 @@ func (o AttachedDiskModeOutput) ToAttachedDiskModePtrOutputWithContext(ctx conte }).(AttachedDiskModePtrOutput) } +func (o AttachedDiskModeOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskMode] { + return pulumix.Output[AttachedDiskMode]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o AttachedDiskModePtrOutput) ToAttachedDiskModePtrOutputWithContext(ctx co return o } +func (o AttachedDiskModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskMode] { + return pulumix.Output[*AttachedDiskMode]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskModePtrOutput) Elem() AttachedDiskModeOutput { return o.ApplyT(func(v *AttachedDiskMode) AttachedDiskMode { if v != nil { @@ -350,6 +381,12 @@ func (in *attachedDiskModePtr) ToAttachedDiskModePtrOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, in).(AttachedDiskModePtrOutput) } +func (in *attachedDiskModePtr) ToOutput(ctx context.Context) pulumix.Output[*AttachedDiskMode] { + return pulumix.Output[*AttachedDiskMode]{ + OutputState: in.ToAttachedDiskModePtrOutputWithContext(ctx).OutputState, + } +} + // The health status of the TPU node. type NodeHealth string @@ -426,6 +463,12 @@ func (o NodeHealthOutput) ToNodeHealthPtrOutputWithContext(ctx context.Context) }).(NodeHealthPtrOutput) } +func (o NodeHealthOutput) ToOutput(ctx context.Context) pulumix.Output[NodeHealth] { + return pulumix.Output[NodeHealth]{ + OutputState: o.OutputState, + } +} + func (o NodeHealthOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -461,6 +504,12 @@ func (o NodeHealthPtrOutput) ToNodeHealthPtrOutputWithContext(ctx context.Contex return o } +func (o NodeHealthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NodeHealth] { + return pulumix.Output[*NodeHealth]{ + OutputState: o.OutputState, + } +} + func (o NodeHealthPtrOutput) Elem() NodeHealthOutput { return o.ApplyT(func(v *NodeHealth) NodeHealth { if v != nil { @@ -523,6 +572,12 @@ func (in *nodeHealthPtr) ToNodeHealthPtrOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, in).(NodeHealthPtrOutput) } +func (in *nodeHealthPtr) ToOutput(ctx context.Context) pulumix.Output[*NodeHealth] { + return pulumix.Output[*NodeHealth]{ + OutputState: in.ToNodeHealthPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AcceleratorConfigTypeInput)(nil)).Elem(), AcceleratorConfigType("TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AcceleratorConfigTypePtrInput)(nil)).Elem(), AcceleratorConfigType("TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/tpu/v2alpha1/pulumiTypes.go b/sdk/go/google/tpu/v2alpha1/pulumiTypes.go index dbe99bdd80..78112c80c6 100644 --- a/sdk/go/google/tpu/v2alpha1/pulumiTypes.go +++ b/sdk/go/google/tpu/v2alpha1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AcceleratorConfigArgs) ToAcceleratorConfigOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigOutput) } +func (i AcceleratorConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigOutputWithContext(ctx).OutputState, + } +} + func (i AcceleratorConfigArgs) ToAcceleratorConfigPtrOutput() AcceleratorConfigPtrOutput { return i.ToAcceleratorConfigPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *acceleratorConfigPtrType) ToAcceleratorConfigPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(AcceleratorConfigPtrOutput) } +func (i *acceleratorConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfig] { + return pulumix.Output[*AcceleratorConfig]{ + OutputState: i.ToAcceleratorConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A TPU accelerator configuration. type AcceleratorConfigOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AcceleratorConfigOutput) ToAcceleratorConfigPtrOutputWithContext(ctx con }).(AcceleratorConfigPtrOutput) } +func (o AcceleratorConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfig] { + return pulumix.Output[AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + // Topology of TPU in chips. func (o AcceleratorConfigOutput) Topology() pulumi.StringOutput { return o.ApplyT(func(v AcceleratorConfig) string { return v.Topology }).(pulumi.StringOutput) @@ -142,6 +161,12 @@ func (o AcceleratorConfigPtrOutput) ToAcceleratorConfigPtrOutputWithContext(ctx return o } +func (o AcceleratorConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AcceleratorConfig] { + return pulumix.Output[*AcceleratorConfig]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorConfigPtrOutput) Elem() AcceleratorConfigOutput { return o.ApplyT(func(v *AcceleratorConfig) AcceleratorConfig { if v != nil { @@ -195,6 +220,12 @@ func (o AcceleratorConfigResponseOutput) ToAcceleratorConfigResponseOutputWithCo return o } +func (o AcceleratorConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorConfigResponse] { + return pulumix.Output[AcceleratorConfigResponse]{ + OutputState: o.OutputState, + } +} + // Topology of TPU in chips. func (o AcceleratorConfigResponseOutput) Topology() pulumi.StringOutput { return o.ApplyT(func(v AcceleratorConfigResponse) string { return v.Topology }).(pulumi.StringOutput) @@ -224,6 +255,12 @@ func (o AcceptedDataResponseOutput) ToAcceptedDataResponseOutputWithContext(ctx return o } +func (o AcceptedDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceptedDataResponse] { + return pulumix.Output[AcceptedDataResponse]{ + OutputState: o.OutputState, + } +} + // An access config attached to the TPU worker. type AccessConfigResponse struct { // An external IP address associated with the TPU worker. @@ -245,6 +282,12 @@ func (o AccessConfigResponseOutput) ToAccessConfigResponseOutputWithContext(ctx return o } +func (o AccessConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AccessConfigResponse] { + return pulumix.Output[AccessConfigResponse]{ + OutputState: o.OutputState, + } +} + // An external IP address associated with the TPU worker. func (o AccessConfigResponseOutput) ExternalIp() pulumi.StringOutput { return o.ApplyT(func(v AccessConfigResponse) string { return v.ExternalIp }).(pulumi.StringOutput) @@ -269,6 +312,12 @@ func (o ActiveDataResponseOutput) ToActiveDataResponseOutputWithContext(ctx cont return o } +func (o ActiveDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ActiveDataResponse] { + return pulumix.Output[ActiveDataResponse]{ + OutputState: o.OutputState, + } +} + // A node-attached disk resource. Next ID: 8; type AttachedDisk struct { // The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks. @@ -308,6 +357,12 @@ func (i AttachedDiskArgs) ToAttachedDiskOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskOutput) } +func (i AttachedDiskArgs) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: i.ToAttachedDiskOutputWithContext(ctx).OutputState, + } +} + // AttachedDiskArrayInput is an input type that accepts AttachedDiskArray and AttachedDiskArrayOutput values. // You can construct a concrete instance of `AttachedDiskArrayInput` via: // @@ -333,6 +388,12 @@ func (i AttachedDiskArray) ToAttachedDiskArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AttachedDiskArrayOutput) } +func (i AttachedDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: i.ToAttachedDiskArrayOutputWithContext(ctx).OutputState, + } +} + // A node-attached disk resource. Next ID: 8; type AttachedDiskOutput struct{ *pulumi.OutputState } @@ -348,6 +409,12 @@ func (o AttachedDiskOutput) ToAttachedDiskOutputWithContext(ctx context.Context) return o } +func (o AttachedDiskOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDisk] { + return pulumix.Output[AttachedDisk]{ + OutputState: o.OutputState, + } +} + // The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks. func (o AttachedDiskOutput) Mode() AttachedDiskModePtrOutput { return o.ApplyT(func(v AttachedDisk) *AttachedDiskMode { return v.Mode }).(AttachedDiskModePtrOutput) @@ -372,6 +439,12 @@ func (o AttachedDiskArrayOutput) ToAttachedDiskArrayOutputWithContext(ctx contex return o } +func (o AttachedDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDisk] { + return pulumix.Output[[]AttachedDisk]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskArrayOutput) Index(i pulumi.IntInput) AttachedDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDisk { return vs[0].([]AttachedDisk)[vs[1].(int)] @@ -401,6 +474,12 @@ func (o AttachedDiskResponseOutput) ToAttachedDiskResponseOutputWithContext(ctx return o } +func (o AttachedDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AttachedDiskResponse] { + return pulumix.Output[AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + // The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks. func (o AttachedDiskResponseOutput) Mode() pulumi.StringOutput { return o.ApplyT(func(v AttachedDiskResponse) string { return v.Mode }).(pulumi.StringOutput) @@ -425,6 +504,12 @@ func (o AttachedDiskResponseArrayOutput) ToAttachedDiskResponseArrayOutputWithCo return o } +func (o AttachedDiskResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AttachedDiskResponse] { + return pulumix.Output[[]AttachedDiskResponse]{ + OutputState: o.OutputState, + } +} + func (o AttachedDiskResponseArrayOutput) Index(i pulumi.IntInput) AttachedDiskResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AttachedDiskResponse { return vs[0].([]AttachedDiskResponse)[vs[1].(int)] @@ -462,6 +547,12 @@ func (i BestEffortArgs) ToBestEffortOutputWithContext(ctx context.Context) BestE return pulumi.ToOutputWithContext(ctx, i).(BestEffortOutput) } +func (i BestEffortArgs) ToOutput(ctx context.Context) pulumix.Output[BestEffort] { + return pulumix.Output[BestEffort]{ + OutputState: i.ToBestEffortOutputWithContext(ctx).OutputState, + } +} + func (i BestEffortArgs) ToBestEffortPtrOutput() BestEffortPtrOutput { return i.ToBestEffortPtrOutputWithContext(context.Background()) } @@ -503,6 +594,12 @@ func (i *bestEffortPtrType) ToBestEffortPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(BestEffortPtrOutput) } +func (i *bestEffortPtrType) ToOutput(ctx context.Context) pulumix.Output[*BestEffort] { + return pulumix.Output[*BestEffort]{ + OutputState: i.ToBestEffortPtrOutputWithContext(ctx).OutputState, + } +} + // BestEffort tier definition. type BestEffortOutput struct{ *pulumi.OutputState } @@ -528,6 +625,12 @@ func (o BestEffortOutput) ToBestEffortPtrOutputWithContext(ctx context.Context) }).(BestEffortPtrOutput) } +func (o BestEffortOutput) ToOutput(ctx context.Context) pulumix.Output[BestEffort] { + return pulumix.Output[BestEffort]{ + OutputState: o.OutputState, + } +} + type BestEffortPtrOutput struct{ *pulumi.OutputState } func (BestEffortPtrOutput) ElementType() reflect.Type { @@ -542,6 +645,12 @@ func (o BestEffortPtrOutput) ToBestEffortPtrOutputWithContext(ctx context.Contex return o } +func (o BestEffortPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BestEffort] { + return pulumix.Output[*BestEffort]{ + OutputState: o.OutputState, + } +} + func (o BestEffortPtrOutput) Elem() BestEffortOutput { return o.ApplyT(func(v *BestEffort) BestEffort { if v != nil { @@ -571,6 +680,12 @@ func (o BestEffortResponseOutput) ToBestEffortResponseOutputWithContext(ctx cont return o } +func (o BestEffortResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BestEffortResponse] { + return pulumix.Output[BestEffortResponse]{ + OutputState: o.OutputState, + } +} + // Further data for the creating state. type CreatingDataResponse struct { } @@ -590,6 +705,12 @@ func (o CreatingDataResponseOutput) ToCreatingDataResponseOutputWithContext(ctx return o } +func (o CreatingDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CreatingDataResponse] { + return pulumix.Output[CreatingDataResponse]{ + OutputState: o.OutputState, + } +} + // Further data for the deleting state. type DeletingDataResponse struct { } @@ -609,6 +730,12 @@ func (o DeletingDataResponseOutput) ToDeletingDataResponseOutputWithContext(ctx return o } +func (o DeletingDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeletingDataResponse] { + return pulumix.Output[DeletingDataResponse]{ + OutputState: o.OutputState, + } +} + // Further data for the failed state. type FailedDataResponse struct { // The error that caused the queued resource to enter the FAILED state. @@ -630,6 +757,12 @@ func (o FailedDataResponseOutput) ToFailedDataResponseOutputWithContext(ctx cont return o } +func (o FailedDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[FailedDataResponse] { + return pulumix.Output[FailedDataResponse]{ + OutputState: o.OutputState, + } +} + // The error that caused the queued resource to enter the FAILED state. func (o FailedDataResponseOutput) Error() StatusResponseOutput { return o.ApplyT(func(v FailedDataResponse) StatusResponse { return v.Error }).(StatusResponseOutput) @@ -674,6 +807,12 @@ func (i GuaranteedArgs) ToGuaranteedOutputWithContext(ctx context.Context) Guara return pulumi.ToOutputWithContext(ctx, i).(GuaranteedOutput) } +func (i GuaranteedArgs) ToOutput(ctx context.Context) pulumix.Output[Guaranteed] { + return pulumix.Output[Guaranteed]{ + OutputState: i.ToGuaranteedOutputWithContext(ctx).OutputState, + } +} + func (i GuaranteedArgs) ToGuaranteedPtrOutput() GuaranteedPtrOutput { return i.ToGuaranteedPtrOutputWithContext(context.Background()) } @@ -715,6 +854,12 @@ func (i *guaranteedPtrType) ToGuaranteedPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(GuaranteedPtrOutput) } +func (i *guaranteedPtrType) ToOutput(ctx context.Context) pulumix.Output[*Guaranteed] { + return pulumix.Output[*Guaranteed]{ + OutputState: i.ToGuaranteedPtrOutputWithContext(ctx).OutputState, + } +} + // Guaranteed tier definition. type GuaranteedOutput struct{ *pulumi.OutputState } @@ -740,6 +885,12 @@ func (o GuaranteedOutput) ToGuaranteedPtrOutputWithContext(ctx context.Context) }).(GuaranteedPtrOutput) } +func (o GuaranteedOutput) ToOutput(ctx context.Context) pulumix.Output[Guaranteed] { + return pulumix.Output[Guaranteed]{ + OutputState: o.OutputState, + } +} + // Optional. Defines the minimum duration of the guarantee. If specified, the requested resources will only be provisioned if they can be allocated for at least the given duration. func (o GuaranteedOutput) MinDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v Guaranteed) *string { return v.MinDuration }).(pulumi.StringPtrOutput) @@ -764,6 +915,12 @@ func (o GuaranteedPtrOutput) ToGuaranteedPtrOutputWithContext(ctx context.Contex return o } +func (o GuaranteedPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Guaranteed] { + return pulumix.Output[*Guaranteed]{ + OutputState: o.OutputState, + } +} + func (o GuaranteedPtrOutput) Elem() GuaranteedOutput { return o.ApplyT(func(v *Guaranteed) Guaranteed { if v != nil { @@ -817,6 +974,12 @@ func (o GuaranteedResponseOutput) ToGuaranteedResponseOutputWithContext(ctx cont return o } +func (o GuaranteedResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GuaranteedResponse] { + return pulumix.Output[GuaranteedResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Defines the minimum duration of the guarantee. If specified, the requested resources will only be provisioned if they can be allocated for at least the given duration. func (o GuaranteedResponseOutput) MinDuration() pulumi.StringOutput { return o.ApplyT(func(v GuaranteedResponse) string { return v.MinDuration }).(pulumi.StringOutput) @@ -866,6 +1029,12 @@ func (i IntervalArgs) ToIntervalOutputWithContext(ctx context.Context) IntervalO return pulumi.ToOutputWithContext(ctx, i).(IntervalOutput) } +func (i IntervalArgs) ToOutput(ctx context.Context) pulumix.Output[Interval] { + return pulumix.Output[Interval]{ + OutputState: i.ToIntervalOutputWithContext(ctx).OutputState, + } +} + func (i IntervalArgs) ToIntervalPtrOutput() IntervalPtrOutput { return i.ToIntervalPtrOutputWithContext(context.Background()) } @@ -907,6 +1076,12 @@ func (i *intervalPtrType) ToIntervalPtrOutputWithContext(ctx context.Context) In return pulumi.ToOutputWithContext(ctx, i).(IntervalPtrOutput) } +func (i *intervalPtrType) ToOutput(ctx context.Context) pulumix.Output[*Interval] { + return pulumix.Output[*Interval]{ + OutputState: i.ToIntervalPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. type IntervalOutput struct{ *pulumi.OutputState } @@ -932,6 +1107,12 @@ func (o IntervalOutput) ToIntervalPtrOutputWithContext(ctx context.Context) Inte }).(IntervalPtrOutput) } +func (o IntervalOutput) ToOutput(ctx context.Context) pulumix.Output[Interval] { + return pulumix.Output[Interval]{ + OutputState: o.OutputState, + } +} + // Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. func (o IntervalOutput) EndTime() pulumi.StringPtrOutput { return o.ApplyT(func(v Interval) *string { return v.EndTime }).(pulumi.StringPtrOutput) @@ -956,6 +1137,12 @@ func (o IntervalPtrOutput) ToIntervalPtrOutputWithContext(ctx context.Context) I return o } +func (o IntervalPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Interval] { + return pulumix.Output[*Interval]{ + OutputState: o.OutputState, + } +} + func (o IntervalPtrOutput) Elem() IntervalOutput { return o.ApplyT(func(v *Interval) Interval { if v != nil { @@ -1009,6 +1196,12 @@ func (o IntervalResponseOutput) ToIntervalResponseOutputWithContext(ctx context. return o } +func (o IntervalResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IntervalResponse] { + return pulumix.Output[IntervalResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. func (o IntervalResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v IntervalResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -1066,6 +1259,12 @@ func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigOutput) } +func (i NetworkConfigArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: i.ToNetworkConfigOutputWithContext(ctx).OutputState, + } +} + func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput { return i.ToNetworkConfigPtrOutputWithContext(context.Background()) } @@ -1107,6 +1306,12 @@ func (i *networkConfigPtrType) ToNetworkConfigPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NetworkConfigPtrOutput) } +func (i *networkConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: i.ToNetworkConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Network related configurations. type NetworkConfigOutput struct{ *pulumi.OutputState } @@ -1132,6 +1337,12 @@ func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Con }).(NetworkConfigPtrOutput) } +func (o NetworkConfigOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfig] { + return pulumix.Output[NetworkConfig]{ + OutputState: o.OutputState, + } +} + // Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes. func (o NetworkConfigOutput) CanIpForward() pulumi.BoolPtrOutput { return o.ApplyT(func(v NetworkConfig) *bool { return v.CanIpForward }).(pulumi.BoolPtrOutput) @@ -1166,6 +1377,12 @@ func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context. return o } +func (o NetworkConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NetworkConfig] { + return pulumix.Output[*NetworkConfig]{ + OutputState: o.OutputState, + } +} + func (o NetworkConfigPtrOutput) Elem() NetworkConfigOutput { return o.ApplyT(func(v *NetworkConfig) NetworkConfig { if v != nil { @@ -1243,6 +1460,12 @@ func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ct return o } +func (o NetworkConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkConfigResponse] { + return pulumix.Output[NetworkConfigResponse]{ + OutputState: o.OutputState, + } +} + // Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes. func (o NetworkConfigResponseOutput) CanIpForward() pulumi.BoolOutput { return o.ApplyT(func(v NetworkConfigResponse) bool { return v.CanIpForward }).(pulumi.BoolOutput) @@ -1288,6 +1511,12 @@ func (o NetworkEndpointResponseOutput) ToNetworkEndpointResponseOutputWithContex return o } +func (o NetworkEndpointResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkEndpointResponse] { + return pulumix.Output[NetworkEndpointResponse]{ + OutputState: o.OutputState, + } +} + // The access config for the TPU worker. func (o NetworkEndpointResponseOutput) AccessConfig() AccessConfigResponseOutput { return o.ApplyT(func(v NetworkEndpointResponse) AccessConfigResponse { return v.AccessConfig }).(AccessConfigResponseOutput) @@ -1317,6 +1546,12 @@ func (o NetworkEndpointResponseArrayOutput) ToNetworkEndpointResponseArrayOutput return o } +func (o NetworkEndpointResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkEndpointResponse] { + return pulumix.Output[[]NetworkEndpointResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkEndpointResponseArrayOutput) Index(i pulumi.IntInput) NetworkEndpointResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkEndpointResponse { return vs[0].([]NetworkEndpointResponse)[vs[1].(int)] @@ -1410,6 +1645,12 @@ func (i NodeTypeArgs) ToNodeTypeOutputWithContext(ctx context.Context) NodeTypeO return pulumi.ToOutputWithContext(ctx, i).(NodeTypeOutput) } +func (i NodeTypeArgs) ToOutput(ctx context.Context) pulumix.Output[NodeType] { + return pulumix.Output[NodeType]{ + OutputState: i.ToNodeTypeOutputWithContext(ctx).OutputState, + } +} + // A TPU instance. type NodeTypeOutput struct{ *pulumi.OutputState } @@ -1425,6 +1666,12 @@ func (o NodeTypeOutput) ToNodeTypeOutputWithContext(ctx context.Context) NodeTyp return o } +func (o NodeTypeOutput) ToOutput(ctx context.Context) pulumix.Output[NodeType] { + return pulumix.Output[NodeType]{ + OutputState: o.OutputState, + } +} + // The AccleratorConfig for the TPU Node. func (o NodeTypeOutput) AcceleratorConfig() AcceleratorConfigPtrOutput { return o.ApplyT(func(v NodeType) *AcceleratorConfig { return v.AcceleratorConfig }).(AcceleratorConfigPtrOutput) @@ -1560,6 +1807,12 @@ func (o NodeResponseOutput) ToNodeResponseOutputWithContext(ctx context.Context) return o } +func (o NodeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeResponse] { + return pulumix.Output[NodeResponse]{ + OutputState: o.OutputState, + } +} + // The AccleratorConfig for the TPU Node. func (o NodeResponseOutput) AcceleratorConfig() AcceleratorConfigResponseOutput { return o.ApplyT(func(v NodeResponse) AcceleratorConfigResponse { return v.AcceleratorConfig }).(AcceleratorConfigResponseOutput) @@ -1718,6 +1971,12 @@ func (i NodeSpecArgs) ToNodeSpecOutputWithContext(ctx context.Context) NodeSpecO return pulumi.ToOutputWithContext(ctx, i).(NodeSpecOutput) } +func (i NodeSpecArgs) ToOutput(ctx context.Context) pulumix.Output[NodeSpec] { + return pulumix.Output[NodeSpec]{ + OutputState: i.ToNodeSpecOutputWithContext(ctx).OutputState, + } +} + // NodeSpecArrayInput is an input type that accepts NodeSpecArray and NodeSpecArrayOutput values. // You can construct a concrete instance of `NodeSpecArrayInput` via: // @@ -1743,6 +2002,12 @@ func (i NodeSpecArray) ToNodeSpecArrayOutputWithContext(ctx context.Context) Nod return pulumi.ToOutputWithContext(ctx, i).(NodeSpecArrayOutput) } +func (i NodeSpecArray) ToOutput(ctx context.Context) pulumix.Output[[]NodeSpec] { + return pulumix.Output[[]NodeSpec]{ + OutputState: i.ToNodeSpecArrayOutputWithContext(ctx).OutputState, + } +} + // Details of the TPU node(s) being requested. Users can request either a single node or multiple nodes. NodeSpec provides the specification for node(s) to be created. type NodeSpecOutput struct{ *pulumi.OutputState } @@ -1758,6 +2023,12 @@ func (o NodeSpecOutput) ToNodeSpecOutputWithContext(ctx context.Context) NodeSpe return o } +func (o NodeSpecOutput) ToOutput(ctx context.Context) pulumix.Output[NodeSpec] { + return pulumix.Output[NodeSpec]{ + OutputState: o.OutputState, + } +} + // The node. func (o NodeSpecOutput) Node() NodeTypeOutput { return o.ApplyT(func(v NodeSpec) NodeType { return v.Node }).(NodeTypeOutput) @@ -1787,6 +2058,12 @@ func (o NodeSpecArrayOutput) ToNodeSpecArrayOutputWithContext(ctx context.Contex return o } +func (o NodeSpecArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeSpec] { + return pulumix.Output[[]NodeSpec]{ + OutputState: o.OutputState, + } +} + func (o NodeSpecArrayOutput) Index(i pulumi.IntInput) NodeSpecOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeSpec { return vs[0].([]NodeSpec)[vs[1].(int)] @@ -1818,6 +2095,12 @@ func (o NodeSpecResponseOutput) ToNodeSpecResponseOutputWithContext(ctx context. return o } +func (o NodeSpecResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NodeSpecResponse] { + return pulumix.Output[NodeSpecResponse]{ + OutputState: o.OutputState, + } +} + // The node. func (o NodeSpecResponseOutput) Node() NodeResponseOutput { return o.ApplyT(func(v NodeSpecResponse) NodeResponse { return v.Node }).(NodeResponseOutput) @@ -1847,6 +2130,12 @@ func (o NodeSpecResponseArrayOutput) ToNodeSpecResponseArrayOutputWithContext(ct return o } +func (o NodeSpecResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NodeSpecResponse] { + return pulumix.Output[[]NodeSpecResponse]{ + OutputState: o.OutputState, + } +} + func (o NodeSpecResponseArrayOutput) Index(i pulumi.IntInput) NodeSpecResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeSpecResponse { return vs[0].([]NodeSpecResponse)[vs[1].(int)] @@ -1872,6 +2161,12 @@ func (o ProvisioningDataResponseOutput) ToProvisioningDataResponseOutputWithCont return o } +func (o ProvisioningDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ProvisioningDataResponse] { + return pulumix.Output[ProvisioningDataResponse]{ + OutputState: o.OutputState, + } +} + // QueuedResourceState defines the details of the QueuedResource request. type QueuedResourceStateResponse struct { // Further data for the accepted state. @@ -1909,6 +2204,12 @@ func (o QueuedResourceStateResponseOutput) ToQueuedResourceStateResponseOutputWi return o } +func (o QueuedResourceStateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueuedResourceStateResponse] { + return pulumix.Output[QueuedResourceStateResponse]{ + OutputState: o.OutputState, + } +} + // Further data for the accepted state. func (o QueuedResourceStateResponseOutput) AcceptedData() AcceptedDataResponseOutput { return o.ApplyT(func(v QueuedResourceStateResponse) AcceptedDataResponse { return v.AcceptedData }).(AcceptedDataResponseOutput) @@ -2005,6 +2306,12 @@ func (i QueueingPolicyArgs) ToQueueingPolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(QueueingPolicyOutput) } +func (i QueueingPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[QueueingPolicy] { + return pulumix.Output[QueueingPolicy]{ + OutputState: i.ToQueueingPolicyOutputWithContext(ctx).OutputState, + } +} + func (i QueueingPolicyArgs) ToQueueingPolicyPtrOutput() QueueingPolicyPtrOutput { return i.ToQueueingPolicyPtrOutputWithContext(context.Background()) } @@ -2046,6 +2353,12 @@ func (i *queueingPolicyPtrType) ToQueueingPolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(QueueingPolicyPtrOutput) } +func (i *queueingPolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*QueueingPolicy] { + return pulumix.Output[*QueueingPolicy]{ + OutputState: i.ToQueueingPolicyPtrOutputWithContext(ctx).OutputState, + } +} + // Defines the policy of the QueuedRequest. type QueueingPolicyOutput struct{ *pulumi.OutputState } @@ -2071,6 +2384,12 @@ func (o QueueingPolicyOutput) ToQueueingPolicyPtrOutputWithContext(ctx context.C }).(QueueingPolicyPtrOutput) } +func (o QueueingPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[QueueingPolicy] { + return pulumix.Output[QueueingPolicy]{ + OutputState: o.OutputState, + } +} + // A relative time after which resources may be created. func (o QueueingPolicyOutput) ValidAfterDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v QueueingPolicy) *string { return v.ValidAfterDuration }).(pulumi.StringPtrOutput) @@ -2110,6 +2429,12 @@ func (o QueueingPolicyPtrOutput) ToQueueingPolicyPtrOutputWithContext(ctx contex return o } +func (o QueueingPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*QueueingPolicy] { + return pulumix.Output[*QueueingPolicy]{ + OutputState: o.OutputState, + } +} + func (o QueueingPolicyPtrOutput) Elem() QueueingPolicyOutput { return o.ApplyT(func(v *QueueingPolicy) QueueingPolicy { if v != nil { @@ -2199,6 +2524,12 @@ func (o QueueingPolicyResponseOutput) ToQueueingPolicyResponseOutputWithContext( return o } +func (o QueueingPolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[QueueingPolicyResponse] { + return pulumix.Output[QueueingPolicyResponse]{ + OutputState: o.OutputState, + } +} + // A relative time after which resources may be created. func (o QueueingPolicyResponseOutput) ValidAfterDuration() pulumi.StringOutput { return o.ApplyT(func(v QueueingPolicyResponse) string { return v.ValidAfterDuration }).(pulumi.StringOutput) @@ -2263,6 +2594,12 @@ func (i SchedulingConfigArgs) ToSchedulingConfigOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SchedulingConfigOutput) } +func (i SchedulingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfig] { + return pulumix.Output[SchedulingConfig]{ + OutputState: i.ToSchedulingConfigOutputWithContext(ctx).OutputState, + } +} + func (i SchedulingConfigArgs) ToSchedulingConfigPtrOutput() SchedulingConfigPtrOutput { return i.ToSchedulingConfigPtrOutputWithContext(context.Background()) } @@ -2304,6 +2641,12 @@ func (i *schedulingConfigPtrType) ToSchedulingConfigPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SchedulingConfigPtrOutput) } +func (i *schedulingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchedulingConfig] { + return pulumix.Output[*SchedulingConfig]{ + OutputState: i.ToSchedulingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Sets the scheduling options for this node. type SchedulingConfigOutput struct{ *pulumi.OutputState } @@ -2329,6 +2672,12 @@ func (o SchedulingConfigOutput) ToSchedulingConfigPtrOutputWithContext(ctx conte }).(SchedulingConfigPtrOutput) } +func (o SchedulingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfig] { + return pulumix.Output[SchedulingConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the node is preemptible. func (o SchedulingConfigOutput) Preemptible() pulumi.BoolPtrOutput { return o.ApplyT(func(v SchedulingConfig) *bool { return v.Preemptible }).(pulumi.BoolPtrOutput) @@ -2353,6 +2702,12 @@ func (o SchedulingConfigPtrOutput) ToSchedulingConfigPtrOutputWithContext(ctx co return o } +func (o SchedulingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingConfig] { + return pulumix.Output[*SchedulingConfig]{ + OutputState: o.OutputState, + } +} + func (o SchedulingConfigPtrOutput) Elem() SchedulingConfigOutput { return o.ApplyT(func(v *SchedulingConfig) SchedulingConfig { if v != nil { @@ -2406,6 +2761,12 @@ func (o SchedulingConfigResponseOutput) ToSchedulingConfigResponseOutputWithCont return o } +func (o SchedulingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingConfigResponse] { + return pulumix.Output[SchedulingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the node is preemptible. func (o SchedulingConfigResponseOutput) Preemptible() pulumi.BoolOutput { return o.ApplyT(func(v SchedulingConfigResponse) bool { return v.Preemptible }).(pulumi.BoolOutput) @@ -2455,6 +2816,12 @@ func (i ServiceAccountArgs) ToServiceAccountOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountOutput) } +func (i ServiceAccountArgs) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: i.ToServiceAccountOutputWithContext(ctx).OutputState, + } +} + func (i ServiceAccountArgs) ToServiceAccountPtrOutput() ServiceAccountPtrOutput { return i.ToServiceAccountPtrOutputWithContext(context.Background()) } @@ -2496,6 +2863,12 @@ func (i *serviceAccountPtrType) ToServiceAccountPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ServiceAccountPtrOutput) } +func (i *serviceAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: i.ToServiceAccountPtrOutputWithContext(ctx).OutputState, + } +} + // A service account. type ServiceAccountOutput struct{ *pulumi.OutputState } @@ -2521,6 +2894,12 @@ func (o ServiceAccountOutput) ToServiceAccountPtrOutputWithContext(ctx context.C }).(ServiceAccountPtrOutput) } +func (o ServiceAccountOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccount] { + return pulumix.Output[ServiceAccount]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. If empty, default Compute service account will be used. func (o ServiceAccountOutput) Email() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceAccount) *string { return v.Email }).(pulumi.StringPtrOutput) @@ -2545,6 +2924,12 @@ func (o ServiceAccountPtrOutput) ToServiceAccountPtrOutputWithContext(ctx contex return o } +func (o ServiceAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServiceAccount] { + return pulumix.Output[*ServiceAccount]{ + OutputState: o.OutputState, + } +} + func (o ServiceAccountPtrOutput) Elem() ServiceAccountOutput { return o.ApplyT(func(v *ServiceAccount) ServiceAccount { if v != nil { @@ -2598,6 +2983,12 @@ func (o ServiceAccountResponseOutput) ToServiceAccountResponseOutputWithContext( return o } +func (o ServiceAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ServiceAccountResponse] { + return pulumix.Output[ServiceAccountResponse]{ + OutputState: o.OutputState, + } +} + // Email address of the service account. If empty, default Compute service account will be used. func (o ServiceAccountResponseOutput) Email() pulumi.StringOutput { return o.ApplyT(func(v ServiceAccountResponse) string { return v.Email }).(pulumi.StringOutput) @@ -2643,6 +3034,12 @@ func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigOutput) } +func (i ShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i ShieldedInstanceConfigArgs) ToShieldedInstanceConfigPtrOutput() ShieldedInstanceConfigPtrOutput { return i.ToShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -2684,6 +3081,12 @@ func (i *shieldedInstanceConfigPtrType) ToShieldedInstanceConfigPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ShieldedInstanceConfigPtrOutput) } +func (i *shieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: i.ToShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Shielded Instance options. type ShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -2709,6 +3112,12 @@ func (o ShieldedInstanceConfigOutput) ToShieldedInstanceConfigPtrOutputWithConte }).(ShieldedInstanceConfigPtrOutput) } +func (o ShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfig] { + return pulumix.Output[ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has Secure Boot enabled. func (o ShieldedInstanceConfigOutput) EnableSecureBoot() pulumi.BoolPtrOutput { return o.ApplyT(func(v ShieldedInstanceConfig) *bool { return v.EnableSecureBoot }).(pulumi.BoolPtrOutput) @@ -2728,6 +3137,12 @@ func (o ShieldedInstanceConfigPtrOutput) ToShieldedInstanceConfigPtrOutputWithCo return o } +func (o ShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ShieldedInstanceConfig] { + return pulumix.Output[*ShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o ShieldedInstanceConfigPtrOutput) Elem() ShieldedInstanceConfigOutput { return o.ApplyT(func(v *ShieldedInstanceConfig) ShieldedInstanceConfig { if v != nil { @@ -2769,6 +3184,12 @@ func (o ShieldedInstanceConfigResponseOutput) ToShieldedInstanceConfigResponseOu return o } +func (o ShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShieldedInstanceConfigResponse] { + return pulumix.Output[ShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Defines whether the instance has Secure Boot enabled. func (o ShieldedInstanceConfigResponseOutput) EnableSecureBoot() pulumi.BoolOutput { return o.ApplyT(func(v ShieldedInstanceConfigResponse) bool { return v.EnableSecureBoot }).(pulumi.BoolOutput) @@ -2799,6 +3220,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -2833,6 +3260,12 @@ func (o SuspendedDataResponseOutput) ToSuspendedDataResponseOutputWithContext(ct return o } +func (o SuspendedDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SuspendedDataResponse] { + return pulumix.Output[SuspendedDataResponse]{ + OutputState: o.OutputState, + } +} + // Further data for the suspending state. type SuspendingDataResponse struct { } @@ -2852,6 +3285,12 @@ func (o SuspendingDataResponseOutput) ToSuspendingDataResponseOutputWithContext( return o } +func (o SuspendingDataResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SuspendingDataResponse] { + return pulumix.Output[SuspendingDataResponse]{ + OutputState: o.OutputState, + } +} + // A Symptom instance. type SymptomResponse struct { // Timestamp when the Symptom is created. @@ -2879,6 +3318,12 @@ func (o SymptomResponseOutput) ToSymptomResponseOutputWithContext(ctx context.Co return o } +func (o SymptomResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SymptomResponse] { + return pulumix.Output[SymptomResponse]{ + OutputState: o.OutputState, + } +} + // Timestamp when the Symptom is created. func (o SymptomResponseOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v SymptomResponse) string { return v.CreateTime }).(pulumi.StringOutput) @@ -2913,6 +3358,12 @@ func (o SymptomResponseArrayOutput) ToSymptomResponseArrayOutputWithContext(ctx return o } +func (o SymptomResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SymptomResponse] { + return pulumix.Output[[]SymptomResponse]{ + OutputState: o.OutputState, + } +} + func (o SymptomResponseArrayOutput) Index(i pulumi.IntInput) SymptomResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SymptomResponse { return vs[0].([]SymptomResponse)[vs[1].(int)] @@ -2954,6 +3405,12 @@ func (i TpuArgs) ToTpuOutputWithContext(ctx context.Context) TpuOutput { return pulumi.ToOutputWithContext(ctx, i).(TpuOutput) } +func (i TpuArgs) ToOutput(ctx context.Context) pulumix.Output[Tpu] { + return pulumix.Output[Tpu]{ + OutputState: i.ToTpuOutputWithContext(ctx).OutputState, + } +} + func (i TpuArgs) ToTpuPtrOutput() TpuPtrOutput { return i.ToTpuPtrOutputWithContext(context.Background()) } @@ -2995,6 +3452,12 @@ func (i *tpuPtrType) ToTpuPtrOutputWithContext(ctx context.Context) TpuPtrOutput return pulumi.ToOutputWithContext(ctx, i).(TpuPtrOutput) } +func (i *tpuPtrType) ToOutput(ctx context.Context) pulumix.Output[*Tpu] { + return pulumix.Output[*Tpu]{ + OutputState: i.ToTpuPtrOutputWithContext(ctx).OutputState, + } +} + // Details of the TPU resource(s) being requested. type TpuOutput struct{ *pulumi.OutputState } @@ -3020,6 +3483,12 @@ func (o TpuOutput) ToTpuPtrOutputWithContext(ctx context.Context) TpuPtrOutput { }).(TpuPtrOutput) } +func (o TpuOutput) ToOutput(ctx context.Context) pulumix.Output[Tpu] { + return pulumix.Output[Tpu]{ + OutputState: o.OutputState, + } +} + // The TPU node(s) being requested. func (o TpuOutput) NodeSpec() NodeSpecArrayOutput { return o.ApplyT(func(v Tpu) []NodeSpec { return v.NodeSpec }).(NodeSpecArrayOutput) @@ -3039,6 +3508,12 @@ func (o TpuPtrOutput) ToTpuPtrOutputWithContext(ctx context.Context) TpuPtrOutpu return o } +func (o TpuPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Tpu] { + return pulumix.Output[*Tpu]{ + OutputState: o.OutputState, + } +} + func (o TpuPtrOutput) Elem() TpuOutput { return o.ApplyT(func(v *Tpu) Tpu { if v != nil { @@ -3080,6 +3555,12 @@ func (o TpuResponseOutput) ToTpuResponseOutputWithContext(ctx context.Context) T return o } +func (o TpuResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TpuResponse] { + return pulumix.Output[TpuResponse]{ + OutputState: o.OutputState, + } +} + // The TPU node(s) being requested. func (o TpuResponseOutput) NodeSpec() NodeSpecResponseArrayOutput { return o.ApplyT(func(v TpuResponse) []NodeSpecResponse { return v.NodeSpec }).(NodeSpecResponseArrayOutput) diff --git a/sdk/go/google/tpu/v2alpha1/queuedResource.go b/sdk/go/google/tpu/v2alpha1/queuedResource.go index 94b2135621..a7d68b7116 100644 --- a/sdk/go/google/tpu/v2alpha1/queuedResource.go +++ b/sdk/go/google/tpu/v2alpha1/queuedResource.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a QueuedResource TPU instance. @@ -144,6 +145,12 @@ func (i *QueuedResource) ToQueuedResourceOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QueuedResourceOutput) } +func (i *QueuedResource) ToOutput(ctx context.Context) pulumix.Output[*QueuedResource] { + return pulumix.Output[*QueuedResource]{ + OutputState: i.ToQueuedResourceOutputWithContext(ctx).OutputState, + } +} + type QueuedResourceOutput struct{ *pulumi.OutputState } func (QueuedResourceOutput) ElementType() reflect.Type { @@ -158,6 +165,12 @@ func (o QueuedResourceOutput) ToQueuedResourceOutputWithContext(ctx context.Cont return o } +func (o QueuedResourceOutput) ToOutput(ctx context.Context) pulumix.Output[*QueuedResource] { + return pulumix.Output[*QueuedResource]{ + OutputState: o.OutputState, + } +} + // The BestEffort tier. func (o QueuedResourceOutput) BestEffort() BestEffortResponseOutput { return o.ApplyT(func(v *QueuedResource) BestEffortResponseOutput { return v.BestEffort }).(BestEffortResponseOutput) diff --git a/sdk/go/google/transcoder/v1/getJob.go b/sdk/go/google/transcoder/v1/getJob.go index 6c3413083d..2ae7b02ecd 100644 --- a/sdk/go/google/transcoder/v1/getJob.go +++ b/sdk/go/google/transcoder/v1/getJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the job data. @@ -94,6 +95,12 @@ func (o LookupJobResultOutput) ToLookupJobResultOutputWithContext(ctx context.Co return o } +func (o LookupJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobResult] { + return pulumix.Output[LookupJobResult]{ + OutputState: o.OutputState, + } +} + // The configuration for this job. func (o LookupJobResultOutput) Config() JobConfigResponseOutput { return o.ApplyT(func(v LookupJobResult) JobConfigResponse { return v.Config }).(JobConfigResponseOutput) diff --git a/sdk/go/google/transcoder/v1/getJobTemplate.go b/sdk/go/google/transcoder/v1/getJobTemplate.go index 37edfb6b8a..bb14a81269 100644 --- a/sdk/go/google/transcoder/v1/getJobTemplate.go +++ b/sdk/go/google/transcoder/v1/getJobTemplate.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the job template data. @@ -74,6 +75,12 @@ func (o LookupJobTemplateResultOutput) ToLookupJobTemplateResultOutputWithContex return o } +func (o LookupJobTemplateResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupJobTemplateResult] { + return pulumix.Output[LookupJobTemplateResult]{ + OutputState: o.OutputState, + } +} + // The configuration for this template. func (o LookupJobTemplateResultOutput) Config() JobConfigResponseOutput { return o.ApplyT(func(v LookupJobTemplateResult) JobConfigResponse { return v.Config }).(JobConfigResponseOutput) diff --git a/sdk/go/google/transcoder/v1/job.go b/sdk/go/google/transcoder/v1/job.go index cfbd7a3aa6..8be9524853 100644 --- a/sdk/go/google/transcoder/v1/job.go +++ b/sdk/go/google/transcoder/v1/job.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a job in the specified region. @@ -155,6 +156,12 @@ func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput { return pulumi.ToOutputWithContext(ctx, i).(JobOutput) } +func (i *Job) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: i.ToJobOutputWithContext(ctx).OutputState, + } +} + type JobOutput struct{ *pulumi.OutputState } func (JobOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput { return o } +func (o JobOutput) ToOutput(ctx context.Context) pulumix.Output[*Job] { + return pulumix.Output[*Job]{ + OutputState: o.OutputState, + } +} + // The configuration for this job. func (o JobOutput) Config() JobConfigResponseOutput { return o.ApplyT(func(v *Job) JobConfigResponseOutput { return v.Config }).(JobConfigResponseOutput) diff --git a/sdk/go/google/transcoder/v1/jobTemplate.go b/sdk/go/google/transcoder/v1/jobTemplate.go index bfdf4f1e78..08f9aaebf6 100644 --- a/sdk/go/google/transcoder/v1/jobTemplate.go +++ b/sdk/go/google/transcoder/v1/jobTemplate.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a job template in the specified region. @@ -126,6 +127,12 @@ func (i *JobTemplate) ToJobTemplateOutputWithContext(ctx context.Context) JobTem return pulumi.ToOutputWithContext(ctx, i).(JobTemplateOutput) } +func (i *JobTemplate) ToOutput(ctx context.Context) pulumix.Output[*JobTemplate] { + return pulumix.Output[*JobTemplate]{ + OutputState: i.ToJobTemplateOutputWithContext(ctx).OutputState, + } +} + type JobTemplateOutput struct{ *pulumi.OutputState } func (JobTemplateOutput) ElementType() reflect.Type { @@ -140,6 +147,12 @@ func (o JobTemplateOutput) ToJobTemplateOutputWithContext(ctx context.Context) J return o } +func (o JobTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*JobTemplate] { + return pulumix.Output[*JobTemplate]{ + OutputState: o.OutputState, + } +} + // The configuration for this template. func (o JobTemplateOutput) Config() JobConfigResponseOutput { return o.ApplyT(func(v *JobTemplate) JobConfigResponseOutput { return v.Config }).(JobConfigResponseOutput) diff --git a/sdk/go/google/transcoder/v1/pulumiEnums.go b/sdk/go/google/transcoder/v1/pulumiEnums.go index ccd1c3786e..0fbf374ccc 100644 --- a/sdk/go/google/transcoder/v1/pulumiEnums.go +++ b/sdk/go/google/transcoder/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Required. Type of fade animation: `FADE_IN` or `FADE_OUT`. @@ -82,6 +83,12 @@ func (o AnimationFadeFadeTypeOutput) ToAnimationFadeFadeTypePtrOutputWithContext }).(AnimationFadeFadeTypePtrOutput) } +func (o AnimationFadeFadeTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AnimationFadeFadeType] { + return pulumix.Output[AnimationFadeFadeType]{ + OutputState: o.OutputState, + } +} + func (o AnimationFadeFadeTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o AnimationFadeFadeTypePtrOutput) ToAnimationFadeFadeTypePtrOutputWithCont return o } +func (o AnimationFadeFadeTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnimationFadeFadeType] { + return pulumix.Output[*AnimationFadeFadeType]{ + OutputState: o.OutputState, + } +} + func (o AnimationFadeFadeTypePtrOutput) Elem() AnimationFadeFadeTypeOutput { return o.ApplyT(func(v *AnimationFadeFadeType) AnimationFadeFadeType { if v != nil { @@ -179,6 +192,12 @@ func (in *animationFadeFadeTypePtr) ToAnimationFadeFadeTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AnimationFadeFadeTypePtrOutput) } +func (in *animationFadeFadeTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AnimationFadeFadeType] { + return pulumix.Output[*AnimationFadeFadeType]{ + OutputState: in.ToAnimationFadeFadeTypePtrOutputWithContext(ctx).OutputState, + } +} + // The processing mode of the job. The default is `PROCESSING_MODE_INTERACTIVE`. type JobMode string @@ -251,6 +270,12 @@ func (o JobModeOutput) ToJobModePtrOutputWithContext(ctx context.Context) JobMod }).(JobModePtrOutput) } +func (o JobModeOutput) ToOutput(ctx context.Context) pulumix.Output[JobMode] { + return pulumix.Output[JobMode]{ + OutputState: o.OutputState, + } +} + func (o JobModeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o JobModePtrOutput) ToJobModePtrOutputWithContext(ctx context.Context) Job return o } +func (o JobModePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobMode] { + return pulumix.Output[*JobMode]{ + OutputState: o.OutputState, + } +} + func (o JobModePtrOutput) Elem() JobModeOutput { return o.ApplyT(func(v *JobMode) JobMode { if v != nil { @@ -348,6 +379,12 @@ func (in *jobModePtr) ToJobModePtrOutputWithContext(ctx context.Context) JobMode return pulumi.ToOutputWithContext(ctx, in).(JobModePtrOutput) } +func (in *jobModePtr) ToOutput(ctx context.Context) pulumix.Output[*JobMode] { + return pulumix.Output[*JobMode]{ + OutputState: in.ToJobModePtrOutputWithContext(ctx).OutputState, + } +} + // Required. Type of the manifest. type ManifestType string @@ -420,6 +457,12 @@ func (o ManifestTypeOutput) ToManifestTypePtrOutputWithContext(ctx context.Conte }).(ManifestTypePtrOutput) } +func (o ManifestTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ManifestType] { + return pulumix.Output[ManifestType]{ + OutputState: o.OutputState, + } +} + func (o ManifestTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -455,6 +498,12 @@ func (o ManifestTypePtrOutput) ToManifestTypePtrOutputWithContext(ctx context.Co return o } +func (o ManifestTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ManifestType] { + return pulumix.Output[*ManifestType]{ + OutputState: o.OutputState, + } +} + func (o ManifestTypePtrOutput) Elem() ManifestTypeOutput { return o.ApplyT(func(v *ManifestType) ManifestType { if v != nil { @@ -517,6 +566,12 @@ func (in *manifestTypePtr) ToManifestTypePtrOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, in).(ManifestTypePtrOutput) } +func (in *manifestTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ManifestType] { + return pulumix.Output[*ManifestType]{ + OutputState: in.ToManifestTypePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AnimationFadeFadeTypeInput)(nil)).Elem(), AnimationFadeFadeType("FADE_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AnimationFadeFadeTypePtrInput)(nil)).Elem(), AnimationFadeFadeType("FADE_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/transcoder/v1/pulumiTypes.go b/sdk/go/google/transcoder/v1/pulumiTypes.go index 6fd2c186df..e1eba3adf8 100644 --- a/sdk/go/google/transcoder/v1/pulumiTypes.go +++ b/sdk/go/google/transcoder/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i AdBreakArgs) ToAdBreakOutputWithContext(ctx context.Context) AdBreakOutp return pulumi.ToOutputWithContext(ctx, i).(AdBreakOutput) } +func (i AdBreakArgs) ToOutput(ctx context.Context) pulumix.Output[AdBreak] { + return pulumix.Output[AdBreak]{ + OutputState: i.ToAdBreakOutputWithContext(ctx).OutputState, + } +} + // AdBreakArrayInput is an input type that accepts AdBreakArray and AdBreakArrayOutput values. // You can construct a concrete instance of `AdBreakArrayInput` via: // @@ -73,6 +80,12 @@ func (i AdBreakArray) ToAdBreakArrayOutputWithContext(ctx context.Context) AdBre return pulumi.ToOutputWithContext(ctx, i).(AdBreakArrayOutput) } +func (i AdBreakArray) ToOutput(ctx context.Context) pulumix.Output[[]AdBreak] { + return pulumix.Output[[]AdBreak]{ + OutputState: i.ToAdBreakArrayOutputWithContext(ctx).OutputState, + } +} + // Ad break. type AdBreakOutput struct{ *pulumi.OutputState } @@ -88,6 +101,12 @@ func (o AdBreakOutput) ToAdBreakOutputWithContext(ctx context.Context) AdBreakOu return o } +func (o AdBreakOutput) ToOutput(ctx context.Context) pulumix.Output[AdBreak] { + return pulumix.Output[AdBreak]{ + OutputState: o.OutputState, + } +} + // Start time in seconds for the ad break, relative to the output file timeline. The default is `0s`. func (o AdBreakOutput) StartTimeOffset() pulumi.StringPtrOutput { return o.ApplyT(func(v AdBreak) *string { return v.StartTimeOffset }).(pulumi.StringPtrOutput) @@ -107,6 +126,12 @@ func (o AdBreakArrayOutput) ToAdBreakArrayOutputWithContext(ctx context.Context) return o } +func (o AdBreakArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AdBreak] { + return pulumix.Output[[]AdBreak]{ + OutputState: o.OutputState, + } +} + func (o AdBreakArrayOutput) Index(i pulumi.IntInput) AdBreakOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AdBreak { return vs[0].([]AdBreak)[vs[1].(int)] @@ -134,6 +159,12 @@ func (o AdBreakResponseOutput) ToAdBreakResponseOutputWithContext(ctx context.Co return o } +func (o AdBreakResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdBreakResponse] { + return pulumix.Output[AdBreakResponse]{ + OutputState: o.OutputState, + } +} + // Start time in seconds for the ad break, relative to the output file timeline. The default is `0s`. func (o AdBreakResponseOutput) StartTimeOffset() pulumi.StringOutput { return o.ApplyT(func(v AdBreakResponse) string { return v.StartTimeOffset }).(pulumi.StringOutput) @@ -153,6 +184,12 @@ func (o AdBreakResponseArrayOutput) ToAdBreakResponseArrayOutputWithContext(ctx return o } +func (o AdBreakResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AdBreakResponse] { + return pulumix.Output[[]AdBreakResponse]{ + OutputState: o.OutputState, + } +} + func (o AdBreakResponseArrayOutput) Index(i pulumi.IntInput) AdBreakResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AdBreakResponse { return vs[0].([]AdBreakResponse)[vs[1].(int)] @@ -202,6 +239,12 @@ func (i AnimationArgs) ToAnimationOutputWithContext(ctx context.Context) Animati return pulumi.ToOutputWithContext(ctx, i).(AnimationOutput) } +func (i AnimationArgs) ToOutput(ctx context.Context) pulumix.Output[Animation] { + return pulumix.Output[Animation]{ + OutputState: i.ToAnimationOutputWithContext(ctx).OutputState, + } +} + // AnimationArrayInput is an input type that accepts AnimationArray and AnimationArrayOutput values. // You can construct a concrete instance of `AnimationArrayInput` via: // @@ -227,6 +270,12 @@ func (i AnimationArray) ToAnimationArrayOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AnimationArrayOutput) } +func (i AnimationArray) ToOutput(ctx context.Context) pulumix.Output[[]Animation] { + return pulumix.Output[[]Animation]{ + OutputState: i.ToAnimationArrayOutputWithContext(ctx).OutputState, + } +} + // Animation types. type AnimationOutput struct{ *pulumi.OutputState } @@ -242,6 +291,12 @@ func (o AnimationOutput) ToAnimationOutputWithContext(ctx context.Context) Anima return o } +func (o AnimationOutput) ToOutput(ctx context.Context) pulumix.Output[Animation] { + return pulumix.Output[Animation]{ + OutputState: o.OutputState, + } +} + // End previous animation. func (o AnimationOutput) AnimationEnd() AnimationEndPtrOutput { return o.ApplyT(func(v Animation) *AnimationEnd { return v.AnimationEnd }).(AnimationEndPtrOutput) @@ -271,6 +326,12 @@ func (o AnimationArrayOutput) ToAnimationArrayOutputWithContext(ctx context.Cont return o } +func (o AnimationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Animation] { + return pulumix.Output[[]Animation]{ + OutputState: o.OutputState, + } +} + func (o AnimationArrayOutput) Index(i pulumi.IntInput) AnimationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Animation { return vs[0].([]Animation)[vs[1].(int)] @@ -312,6 +373,12 @@ func (i AnimationEndArgs) ToAnimationEndOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AnimationEndOutput) } +func (i AnimationEndArgs) ToOutput(ctx context.Context) pulumix.Output[AnimationEnd] { + return pulumix.Output[AnimationEnd]{ + OutputState: i.ToAnimationEndOutputWithContext(ctx).OutputState, + } +} + func (i AnimationEndArgs) ToAnimationEndPtrOutput() AnimationEndPtrOutput { return i.ToAnimationEndPtrOutputWithContext(context.Background()) } @@ -353,6 +420,12 @@ func (i *animationEndPtrType) ToAnimationEndPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AnimationEndPtrOutput) } +func (i *animationEndPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnimationEnd] { + return pulumix.Output[*AnimationEnd]{ + OutputState: i.ToAnimationEndPtrOutputWithContext(ctx).OutputState, + } +} + // End previous overlay animation from the video. Without AnimationEnd, the overlay object will keep the state of previous animation until the end of the video. type AnimationEndOutput struct{ *pulumi.OutputState } @@ -378,6 +451,12 @@ func (o AnimationEndOutput) ToAnimationEndPtrOutputWithContext(ctx context.Conte }).(AnimationEndPtrOutput) } +func (o AnimationEndOutput) ToOutput(ctx context.Context) pulumix.Output[AnimationEnd] { + return pulumix.Output[AnimationEnd]{ + OutputState: o.OutputState, + } +} + // The time to end overlay object, in seconds. Default: 0 func (o AnimationEndOutput) StartTimeOffset() pulumi.StringPtrOutput { return o.ApplyT(func(v AnimationEnd) *string { return v.StartTimeOffset }).(pulumi.StringPtrOutput) @@ -397,6 +476,12 @@ func (o AnimationEndPtrOutput) ToAnimationEndPtrOutputWithContext(ctx context.Co return o } +func (o AnimationEndPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnimationEnd] { + return pulumix.Output[*AnimationEnd]{ + OutputState: o.OutputState, + } +} + func (o AnimationEndPtrOutput) Elem() AnimationEndOutput { return o.ApplyT(func(v *AnimationEnd) AnimationEnd { if v != nil { @@ -438,6 +523,12 @@ func (o AnimationEndResponseOutput) ToAnimationEndResponseOutputWithContext(ctx return o } +func (o AnimationEndResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnimationEndResponse] { + return pulumix.Output[AnimationEndResponse]{ + OutputState: o.OutputState, + } +} + // The time to end overlay object, in seconds. Default: 0 func (o AnimationEndResponseOutput) StartTimeOffset() pulumi.StringOutput { return o.ApplyT(func(v AnimationEndResponse) string { return v.StartTimeOffset }).(pulumi.StringOutput) @@ -490,6 +581,12 @@ func (i AnimationFadeArgs) ToAnimationFadeOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AnimationFadeOutput) } +func (i AnimationFadeArgs) ToOutput(ctx context.Context) pulumix.Output[AnimationFade] { + return pulumix.Output[AnimationFade]{ + OutputState: i.ToAnimationFadeOutputWithContext(ctx).OutputState, + } +} + func (i AnimationFadeArgs) ToAnimationFadePtrOutput() AnimationFadePtrOutput { return i.ToAnimationFadePtrOutputWithContext(context.Background()) } @@ -531,6 +628,12 @@ func (i *animationFadePtrType) ToAnimationFadePtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AnimationFadePtrOutput) } +func (i *animationFadePtrType) ToOutput(ctx context.Context) pulumix.Output[*AnimationFade] { + return pulumix.Output[*AnimationFade]{ + OutputState: i.ToAnimationFadePtrOutputWithContext(ctx).OutputState, + } +} + // Display overlay object with fade animation. type AnimationFadeOutput struct{ *pulumi.OutputState } @@ -556,6 +659,12 @@ func (o AnimationFadeOutput) ToAnimationFadePtrOutputWithContext(ctx context.Con }).(AnimationFadePtrOutput) } +func (o AnimationFadeOutput) ToOutput(ctx context.Context) pulumix.Output[AnimationFade] { + return pulumix.Output[AnimationFade]{ + OutputState: o.OutputState, + } +} + // The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s func (o AnimationFadeOutput) EndTimeOffset() pulumi.StringPtrOutput { return o.ApplyT(func(v AnimationFade) *string { return v.EndTimeOffset }).(pulumi.StringPtrOutput) @@ -590,6 +699,12 @@ func (o AnimationFadePtrOutput) ToAnimationFadePtrOutputWithContext(ctx context. return o } +func (o AnimationFadePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnimationFade] { + return pulumix.Output[*AnimationFade]{ + OutputState: o.OutputState, + } +} + func (o AnimationFadePtrOutput) Elem() AnimationFadeOutput { return o.ApplyT(func(v *AnimationFade) AnimationFade { if v != nil { @@ -667,6 +782,12 @@ func (o AnimationFadeResponseOutput) ToAnimationFadeResponseOutputWithContext(ct return o } +func (o AnimationFadeResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnimationFadeResponse] { + return pulumix.Output[AnimationFadeResponse]{ + OutputState: o.OutputState, + } +} + // The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s func (o AnimationFadeResponseOutput) EndTimeOffset() pulumi.StringOutput { return o.ApplyT(func(v AnimationFadeResponse) string { return v.EndTimeOffset }).(pulumi.StringOutput) @@ -712,6 +833,12 @@ func (o AnimationResponseOutput) ToAnimationResponseOutputWithContext(ctx contex return o } +func (o AnimationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnimationResponse] { + return pulumix.Output[AnimationResponse]{ + OutputState: o.OutputState, + } +} + // End previous animation. func (o AnimationResponseOutput) AnimationEnd() AnimationEndResponseOutput { return o.ApplyT(func(v AnimationResponse) AnimationEndResponse { return v.AnimationEnd }).(AnimationEndResponseOutput) @@ -741,6 +868,12 @@ func (o AnimationResponseArrayOutput) ToAnimationResponseArrayOutputWithContext( return o } +func (o AnimationResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AnimationResponse] { + return pulumix.Output[[]AnimationResponse]{ + OutputState: o.OutputState, + } +} + func (o AnimationResponseArrayOutput) Index(i pulumi.IntInput) AnimationResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AnimationResponse { return vs[0].([]AnimationResponse)[vs[1].(int)] @@ -786,6 +919,12 @@ func (i AnimationStaticArgs) ToAnimationStaticOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AnimationStaticOutput) } +func (i AnimationStaticArgs) ToOutput(ctx context.Context) pulumix.Output[AnimationStatic] { + return pulumix.Output[AnimationStatic]{ + OutputState: i.ToAnimationStaticOutputWithContext(ctx).OutputState, + } +} + func (i AnimationStaticArgs) ToAnimationStaticPtrOutput() AnimationStaticPtrOutput { return i.ToAnimationStaticPtrOutputWithContext(context.Background()) } @@ -827,6 +966,12 @@ func (i *animationStaticPtrType) ToAnimationStaticPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AnimationStaticPtrOutput) } +func (i *animationStaticPtrType) ToOutput(ctx context.Context) pulumix.Output[*AnimationStatic] { + return pulumix.Output[*AnimationStatic]{ + OutputState: i.ToAnimationStaticPtrOutputWithContext(ctx).OutputState, + } +} + // Display static overlay object. type AnimationStaticOutput struct{ *pulumi.OutputState } @@ -852,6 +997,12 @@ func (o AnimationStaticOutput) ToAnimationStaticPtrOutputWithContext(ctx context }).(AnimationStaticPtrOutput) } +func (o AnimationStaticOutput) ToOutput(ctx context.Context) pulumix.Output[AnimationStatic] { + return pulumix.Output[AnimationStatic]{ + OutputState: o.OutputState, + } +} + // The time to start displaying the overlay object, in seconds. Default: 0 func (o AnimationStaticOutput) StartTimeOffset() pulumi.StringPtrOutput { return o.ApplyT(func(v AnimationStatic) *string { return v.StartTimeOffset }).(pulumi.StringPtrOutput) @@ -876,6 +1027,12 @@ func (o AnimationStaticPtrOutput) ToAnimationStaticPtrOutputWithContext(ctx cont return o } +func (o AnimationStaticPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AnimationStatic] { + return pulumix.Output[*AnimationStatic]{ + OutputState: o.OutputState, + } +} + func (o AnimationStaticPtrOutput) Elem() AnimationStaticOutput { return o.ApplyT(func(v *AnimationStatic) AnimationStatic { if v != nil { @@ -929,6 +1086,12 @@ func (o AnimationStaticResponseOutput) ToAnimationStaticResponseOutputWithContex return o } +func (o AnimationStaticResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AnimationStaticResponse] { + return pulumix.Output[AnimationStaticResponse]{ + OutputState: o.OutputState, + } +} + // The time to start displaying the overlay object, in seconds. Default: 0 func (o AnimationStaticResponseOutput) StartTimeOffset() pulumi.StringOutput { return o.ApplyT(func(v AnimationStaticResponse) string { return v.StartTimeOffset }).(pulumi.StringOutput) @@ -982,6 +1145,12 @@ func (i AudioArgs) ToAudioOutputWithContext(ctx context.Context) AudioOutput { return pulumi.ToOutputWithContext(ctx, i).(AudioOutput) } +func (i AudioArgs) ToOutput(ctx context.Context) pulumix.Output[Audio] { + return pulumix.Output[Audio]{ + OutputState: i.ToAudioOutputWithContext(ctx).OutputState, + } +} + func (i AudioArgs) ToAudioPtrOutput() AudioPtrOutput { return i.ToAudioPtrOutputWithContext(context.Background()) } @@ -1023,6 +1192,12 @@ func (i *audioPtrType) ToAudioPtrOutputWithContext(ctx context.Context) AudioPtr return pulumi.ToOutputWithContext(ctx, i).(AudioPtrOutput) } +func (i *audioPtrType) ToOutput(ctx context.Context) pulumix.Output[*Audio] { + return pulumix.Output[*Audio]{ + OutputState: i.ToAudioPtrOutputWithContext(ctx).OutputState, + } +} + // Audio preprocessing configuration. type AudioOutput struct{ *pulumi.OutputState } @@ -1048,6 +1223,12 @@ func (o AudioOutput) ToAudioPtrOutputWithContext(ctx context.Context) AudioPtrOu }).(AudioPtrOutput) } +func (o AudioOutput) ToOutput(ctx context.Context) pulumix.Output[Audio] { + return pulumix.Output[Audio]{ + OutputState: o.OutputState, + } +} + // Enable boosting high frequency components. The default is `false`. **Note:** This field is not supported. func (o AudioOutput) HighBoost() pulumi.BoolPtrOutput { return o.ApplyT(func(v Audio) *bool { return v.HighBoost }).(pulumi.BoolPtrOutput) @@ -1077,6 +1258,12 @@ func (o AudioPtrOutput) ToAudioPtrOutputWithContext(ctx context.Context) AudioPt return o } +func (o AudioPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Audio] { + return pulumix.Output[*Audio]{ + OutputState: o.OutputState, + } +} + func (o AudioPtrOutput) Elem() AudioOutput { return o.ApplyT(func(v *Audio) Audio { if v != nil { @@ -1172,6 +1359,12 @@ func (i AudioMappingArgs) ToAudioMappingOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AudioMappingOutput) } +func (i AudioMappingArgs) ToOutput(ctx context.Context) pulumix.Output[AudioMapping] { + return pulumix.Output[AudioMapping]{ + OutputState: i.ToAudioMappingOutputWithContext(ctx).OutputState, + } +} + // AudioMappingArrayInput is an input type that accepts AudioMappingArray and AudioMappingArrayOutput values. // You can construct a concrete instance of `AudioMappingArrayInput` via: // @@ -1197,6 +1390,12 @@ func (i AudioMappingArray) ToAudioMappingArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AudioMappingArrayOutput) } +func (i AudioMappingArray) ToOutput(ctx context.Context) pulumix.Output[[]AudioMapping] { + return pulumix.Output[[]AudioMapping]{ + OutputState: i.ToAudioMappingArrayOutputWithContext(ctx).OutputState, + } +} + // The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`. type AudioMappingOutput struct{ *pulumi.OutputState } @@ -1212,6 +1411,12 @@ func (o AudioMappingOutput) ToAudioMappingOutputWithContext(ctx context.Context) return o } +func (o AudioMappingOutput) ToOutput(ctx context.Context) pulumix.Output[AudioMapping] { + return pulumix.Output[AudioMapping]{ + OutputState: o.OutputState, + } +} + // The `EditAtom.key` that references the atom with audio inputs in the `Job.edit_list`. func (o AudioMappingOutput) AtomKey() pulumi.StringOutput { return o.ApplyT(func(v AudioMapping) string { return v.AtomKey }).(pulumi.StringOutput) @@ -1256,6 +1461,12 @@ func (o AudioMappingArrayOutput) ToAudioMappingArrayOutputWithContext(ctx contex return o } +func (o AudioMappingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AudioMapping] { + return pulumix.Output[[]AudioMapping]{ + OutputState: o.OutputState, + } +} + func (o AudioMappingArrayOutput) Index(i pulumi.IntInput) AudioMappingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AudioMapping { return vs[0].([]AudioMapping)[vs[1].(int)] @@ -1293,6 +1504,12 @@ func (o AudioMappingResponseOutput) ToAudioMappingResponseOutputWithContext(ctx return o } +func (o AudioMappingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AudioMappingResponse] { + return pulumix.Output[AudioMappingResponse]{ + OutputState: o.OutputState, + } +} + // The `EditAtom.key` that references the atom with audio inputs in the `Job.edit_list`. func (o AudioMappingResponseOutput) AtomKey() pulumi.StringOutput { return o.ApplyT(func(v AudioMappingResponse) string { return v.AtomKey }).(pulumi.StringOutput) @@ -1337,6 +1554,12 @@ func (o AudioMappingResponseArrayOutput) ToAudioMappingResponseArrayOutputWithCo return o } +func (o AudioMappingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AudioMappingResponse] { + return pulumix.Output[[]AudioMappingResponse]{ + OutputState: o.OutputState, + } +} + func (o AudioMappingResponseArrayOutput) Index(i pulumi.IntInput) AudioMappingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AudioMappingResponse { return vs[0].([]AudioMappingResponse)[vs[1].(int)] @@ -1368,6 +1591,12 @@ func (o AudioResponseOutput) ToAudioResponseOutputWithContext(ctx context.Contex return o } +func (o AudioResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AudioResponse] { + return pulumix.Output[AudioResponse]{ + OutputState: o.OutputState, + } +} + // Enable boosting high frequency components. The default is `false`. **Note:** This field is not supported. func (o AudioResponseOutput) HighBoost() pulumi.BoolOutput { return o.ApplyT(func(v AudioResponse) bool { return v.HighBoost }).(pulumi.BoolOutput) @@ -1446,6 +1675,12 @@ func (i AudioStreamArgs) ToAudioStreamOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AudioStreamOutput) } +func (i AudioStreamArgs) ToOutput(ctx context.Context) pulumix.Output[AudioStream] { + return pulumix.Output[AudioStream]{ + OutputState: i.ToAudioStreamOutputWithContext(ctx).OutputState, + } +} + func (i AudioStreamArgs) ToAudioStreamPtrOutput() AudioStreamPtrOutput { return i.ToAudioStreamPtrOutputWithContext(context.Background()) } @@ -1487,6 +1722,12 @@ func (i *audioStreamPtrType) ToAudioStreamPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AudioStreamPtrOutput) } +func (i *audioStreamPtrType) ToOutput(ctx context.Context) pulumix.Output[*AudioStream] { + return pulumix.Output[*AudioStream]{ + OutputState: i.ToAudioStreamPtrOutputWithContext(ctx).OutputState, + } +} + // Audio stream resource. type AudioStreamOutput struct{ *pulumi.OutputState } @@ -1512,6 +1753,12 @@ func (o AudioStreamOutput) ToAudioStreamPtrOutputWithContext(ctx context.Context }).(AudioStreamPtrOutput) } +func (o AudioStreamOutput) ToOutput(ctx context.Context) pulumix.Output[AudioStream] { + return pulumix.Output[AudioStream]{ + OutputState: o.OutputState, + } +} + // Audio bitrate in bits per second. Must be between 1 and 10,000,000. func (o AudioStreamOutput) BitrateBps() pulumi.IntOutput { return o.ApplyT(func(v AudioStream) int { return v.BitrateBps }).(pulumi.IntOutput) @@ -1566,6 +1813,12 @@ func (o AudioStreamPtrOutput) ToAudioStreamPtrOutputWithContext(ctx context.Cont return o } +func (o AudioStreamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AudioStream] { + return pulumix.Output[*AudioStream]{ + OutputState: o.OutputState, + } +} + func (o AudioStreamPtrOutput) Elem() AudioStreamOutput { return o.ApplyT(func(v *AudioStream) AudioStream { if v != nil { @@ -1691,6 +1944,12 @@ func (o AudioStreamResponseOutput) ToAudioStreamResponseOutputWithContext(ctx co return o } +func (o AudioStreamResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AudioStreamResponse] { + return pulumix.Output[AudioStreamResponse]{ + OutputState: o.OutputState, + } +} + // Audio bitrate in bits per second. Must be between 1 and 10,000,000. func (o AudioStreamResponseOutput) BitrateBps() pulumi.IntOutput { return o.ApplyT(func(v AudioStreamResponse) int { return v.BitrateBps }).(pulumi.IntOutput) @@ -1774,6 +2033,12 @@ func (i BwdifConfigArgs) ToBwdifConfigOutputWithContext(ctx context.Context) Bwd return pulumi.ToOutputWithContext(ctx, i).(BwdifConfigOutput) } +func (i BwdifConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BwdifConfig] { + return pulumix.Output[BwdifConfig]{ + OutputState: i.ToBwdifConfigOutputWithContext(ctx).OutputState, + } +} + func (i BwdifConfigArgs) ToBwdifConfigPtrOutput() BwdifConfigPtrOutput { return i.ToBwdifConfigPtrOutputWithContext(context.Background()) } @@ -1815,6 +2080,12 @@ func (i *bwdifConfigPtrType) ToBwdifConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(BwdifConfigPtrOutput) } +func (i *bwdifConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*BwdifConfig] { + return pulumix.Output[*BwdifConfig]{ + OutputState: i.ToBwdifConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Bob Weaver Deinterlacing Filter Configuration. type BwdifConfigOutput struct{ *pulumi.OutputState } @@ -1840,6 +2111,12 @@ func (o BwdifConfigOutput) ToBwdifConfigPtrOutputWithContext(ctx context.Context }).(BwdifConfigPtrOutput) } +func (o BwdifConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BwdifConfig] { + return pulumix.Output[BwdifConfig]{ + OutputState: o.OutputState, + } +} + // Deinterlace all frames rather than just the frames identified as interlaced. The default is `false`. func (o BwdifConfigOutput) DeinterlaceAllFrames() pulumi.BoolPtrOutput { return o.ApplyT(func(v BwdifConfig) *bool { return v.DeinterlaceAllFrames }).(pulumi.BoolPtrOutput) @@ -1869,6 +2146,12 @@ func (o BwdifConfigPtrOutput) ToBwdifConfigPtrOutputWithContext(ctx context.Cont return o } +func (o BwdifConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BwdifConfig] { + return pulumix.Output[*BwdifConfig]{ + OutputState: o.OutputState, + } +} + func (o BwdifConfigPtrOutput) Elem() BwdifConfigOutput { return o.ApplyT(func(v *BwdifConfig) BwdifConfig { if v != nil { @@ -1934,6 +2217,12 @@ func (o BwdifConfigResponseOutput) ToBwdifConfigResponseOutputWithContext(ctx co return o } +func (o BwdifConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BwdifConfigResponse] { + return pulumix.Output[BwdifConfigResponse]{ + OutputState: o.OutputState, + } +} + // Deinterlace all frames rather than just the frames identified as interlaced. The default is `false`. func (o BwdifConfigResponseOutput) DeinterlaceAllFrames() pulumi.BoolOutput { return o.ApplyT(func(v BwdifConfigResponse) bool { return v.DeinterlaceAllFrames }).(pulumi.BoolOutput) @@ -1992,6 +2281,12 @@ func (i ColorArgs) ToColorOutputWithContext(ctx context.Context) ColorOutput { return pulumi.ToOutputWithContext(ctx, i).(ColorOutput) } +func (i ColorArgs) ToOutput(ctx context.Context) pulumix.Output[Color] { + return pulumix.Output[Color]{ + OutputState: i.ToColorOutputWithContext(ctx).OutputState, + } +} + func (i ColorArgs) ToColorPtrOutput() ColorPtrOutput { return i.ToColorPtrOutputWithContext(context.Background()) } @@ -2033,6 +2328,12 @@ func (i *colorPtrType) ToColorPtrOutputWithContext(ctx context.Context) ColorPtr return pulumi.ToOutputWithContext(ctx, i).(ColorPtrOutput) } +func (i *colorPtrType) ToOutput(ctx context.Context) pulumix.Output[*Color] { + return pulumix.Output[*Color]{ + OutputState: i.ToColorPtrOutputWithContext(ctx).OutputState, + } +} + // Color preprocessing configuration. **Note:** This configuration is not supported. type ColorOutput struct{ *pulumi.OutputState } @@ -2058,6 +2359,12 @@ func (o ColorOutput) ToColorPtrOutputWithContext(ctx context.Context) ColorPtrOu }).(ColorPtrOutput) } +func (o ColorOutput) ToOutput(ctx context.Context) pulumix.Output[Color] { + return pulumix.Output[Color]{ + OutputState: o.OutputState, + } +} + // Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0. func (o ColorOutput) Brightness() pulumi.Float64PtrOutput { return o.ApplyT(func(v Color) *float64 { return v.Brightness }).(pulumi.Float64PtrOutput) @@ -2087,6 +2394,12 @@ func (o ColorPtrOutput) ToColorPtrOutputWithContext(ctx context.Context) ColorPt return o } +func (o ColorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Color] { + return pulumix.Output[*Color]{ + OutputState: o.OutputState, + } +} + func (o ColorPtrOutput) Elem() ColorOutput { return o.ApplyT(func(v *Color) Color { if v != nil { @@ -2152,6 +2465,12 @@ func (o ColorResponseOutput) ToColorResponseOutputWithContext(ctx context.Contex return o } +func (o ColorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ColorResponse] { + return pulumix.Output[ColorResponse]{ + OutputState: o.OutputState, + } +} + // Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0. func (o ColorResponseOutput) Brightness() pulumi.Float64Output { return o.ApplyT(func(v ColorResponse) float64 { return v.Brightness }).(pulumi.Float64Output) @@ -2214,6 +2533,12 @@ func (i CropArgs) ToCropOutputWithContext(ctx context.Context) CropOutput { return pulumi.ToOutputWithContext(ctx, i).(CropOutput) } +func (i CropArgs) ToOutput(ctx context.Context) pulumix.Output[Crop] { + return pulumix.Output[Crop]{ + OutputState: i.ToCropOutputWithContext(ctx).OutputState, + } +} + func (i CropArgs) ToCropPtrOutput() CropPtrOutput { return i.ToCropPtrOutputWithContext(context.Background()) } @@ -2255,6 +2580,12 @@ func (i *cropPtrType) ToCropPtrOutputWithContext(ctx context.Context) CropPtrOut return pulumi.ToOutputWithContext(ctx, i).(CropPtrOutput) } +func (i *cropPtrType) ToOutput(ctx context.Context) pulumix.Output[*Crop] { + return pulumix.Output[*Crop]{ + OutputState: i.ToCropPtrOutputWithContext(ctx).OutputState, + } +} + // Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution. type CropOutput struct{ *pulumi.OutputState } @@ -2280,6 +2611,12 @@ func (o CropOutput) ToCropPtrOutputWithContext(ctx context.Context) CropPtrOutpu }).(CropPtrOutput) } +func (o CropOutput) ToOutput(ctx context.Context) pulumix.Output[Crop] { + return pulumix.Output[Crop]{ + OutputState: o.OutputState, + } +} + // The number of pixels to crop from the bottom. The default is 0. func (o CropOutput) BottomPixels() pulumi.IntPtrOutput { return o.ApplyT(func(v Crop) *int { return v.BottomPixels }).(pulumi.IntPtrOutput) @@ -2314,6 +2651,12 @@ func (o CropPtrOutput) ToCropPtrOutputWithContext(ctx context.Context) CropPtrOu return o } +func (o CropPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Crop] { + return pulumix.Output[*Crop]{ + OutputState: o.OutputState, + } +} + func (o CropPtrOutput) Elem() CropOutput { return o.ApplyT(func(v *Crop) Crop { if v != nil { @@ -2391,6 +2734,12 @@ func (o CropResponseOutput) ToCropResponseOutputWithContext(ctx context.Context) return o } +func (o CropResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CropResponse] { + return pulumix.Output[CropResponse]{ + OutputState: o.OutputState, + } +} + // The number of pixels to crop from the bottom. The default is 0. func (o CropResponseOutput) BottomPixels() pulumi.IntOutput { return o.ApplyT(func(v CropResponse) int { return v.BottomPixels }).(pulumi.IntOutput) @@ -2450,6 +2799,12 @@ func (i DeblockArgs) ToDeblockOutputWithContext(ctx context.Context) DeblockOutp return pulumi.ToOutputWithContext(ctx, i).(DeblockOutput) } +func (i DeblockArgs) ToOutput(ctx context.Context) pulumix.Output[Deblock] { + return pulumix.Output[Deblock]{ + OutputState: i.ToDeblockOutputWithContext(ctx).OutputState, + } +} + func (i DeblockArgs) ToDeblockPtrOutput() DeblockPtrOutput { return i.ToDeblockPtrOutputWithContext(context.Background()) } @@ -2491,6 +2846,12 @@ func (i *deblockPtrType) ToDeblockPtrOutputWithContext(ctx context.Context) Debl return pulumi.ToOutputWithContext(ctx, i).(DeblockPtrOutput) } +func (i *deblockPtrType) ToOutput(ctx context.Context) pulumix.Output[*Deblock] { + return pulumix.Output[*Deblock]{ + OutputState: i.ToDeblockPtrOutputWithContext(ctx).OutputState, + } +} + // Deblock preprocessing configuration. **Note:** This configuration is not supported. type DeblockOutput struct{ *pulumi.OutputState } @@ -2516,6 +2877,12 @@ func (o DeblockOutput) ToDeblockPtrOutputWithContext(ctx context.Context) Debloc }).(DeblockPtrOutput) } +func (o DeblockOutput) ToOutput(ctx context.Context) pulumix.Output[Deblock] { + return pulumix.Output[Deblock]{ + OutputState: o.OutputState, + } +} + // Enable deblocker. The default is `false`. func (o DeblockOutput) Enabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v Deblock) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) @@ -2540,6 +2907,12 @@ func (o DeblockPtrOutput) ToDeblockPtrOutputWithContext(ctx context.Context) Deb return o } +func (o DeblockPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Deblock] { + return pulumix.Output[*Deblock]{ + OutputState: o.OutputState, + } +} + func (o DeblockPtrOutput) Elem() DeblockOutput { return o.ApplyT(func(v *Deblock) Deblock { if v != nil { @@ -2593,6 +2966,12 @@ func (o DeblockResponseOutput) ToDeblockResponseOutputWithContext(ctx context.Co return o } +func (o DeblockResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeblockResponse] { + return pulumix.Output[DeblockResponse]{ + OutputState: o.OutputState, + } +} + // Enable deblocker. The default is `false`. func (o DeblockResponseOutput) Enabled() pulumi.BoolOutput { return o.ApplyT(func(v DeblockResponse) bool { return v.Enabled }).(pulumi.BoolOutput) @@ -2642,6 +3021,12 @@ func (i DeinterlaceArgs) ToDeinterlaceOutputWithContext(ctx context.Context) Dei return pulumi.ToOutputWithContext(ctx, i).(DeinterlaceOutput) } +func (i DeinterlaceArgs) ToOutput(ctx context.Context) pulumix.Output[Deinterlace] { + return pulumix.Output[Deinterlace]{ + OutputState: i.ToDeinterlaceOutputWithContext(ctx).OutputState, + } +} + func (i DeinterlaceArgs) ToDeinterlacePtrOutput() DeinterlacePtrOutput { return i.ToDeinterlacePtrOutputWithContext(context.Background()) } @@ -2683,6 +3068,12 @@ func (i *deinterlacePtrType) ToDeinterlacePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(DeinterlacePtrOutput) } +func (i *deinterlacePtrType) ToOutput(ctx context.Context) pulumix.Output[*Deinterlace] { + return pulumix.Output[*Deinterlace]{ + OutputState: i.ToDeinterlacePtrOutputWithContext(ctx).OutputState, + } +} + // Deinterlace configuration for input video. type DeinterlaceOutput struct{ *pulumi.OutputState } @@ -2708,6 +3099,12 @@ func (o DeinterlaceOutput) ToDeinterlacePtrOutputWithContext(ctx context.Context }).(DeinterlacePtrOutput) } +func (o DeinterlaceOutput) ToOutput(ctx context.Context) pulumix.Output[Deinterlace] { + return pulumix.Output[Deinterlace]{ + OutputState: o.OutputState, + } +} + // Specifies the Bob Weaver Deinterlacing Filter Configuration. func (o DeinterlaceOutput) Bwdif() BwdifConfigPtrOutput { return o.ApplyT(func(v Deinterlace) *BwdifConfig { return v.Bwdif }).(BwdifConfigPtrOutput) @@ -2732,6 +3129,12 @@ func (o DeinterlacePtrOutput) ToDeinterlacePtrOutputWithContext(ctx context.Cont return o } +func (o DeinterlacePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Deinterlace] { + return pulumix.Output[*Deinterlace]{ + OutputState: o.OutputState, + } +} + func (o DeinterlacePtrOutput) Elem() DeinterlaceOutput { return o.ApplyT(func(v *Deinterlace) Deinterlace { if v != nil { @@ -2785,6 +3188,12 @@ func (o DeinterlaceResponseOutput) ToDeinterlaceResponseOutputWithContext(ctx co return o } +func (o DeinterlaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DeinterlaceResponse] { + return pulumix.Output[DeinterlaceResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the Bob Weaver Deinterlacing Filter Configuration. func (o DeinterlaceResponseOutput) Bwdif() BwdifConfigResponseOutput { return o.ApplyT(func(v DeinterlaceResponse) BwdifConfigResponse { return v.Bwdif }).(BwdifConfigResponseOutput) @@ -2834,6 +3243,12 @@ func (i DenoiseArgs) ToDenoiseOutputWithContext(ctx context.Context) DenoiseOutp return pulumi.ToOutputWithContext(ctx, i).(DenoiseOutput) } +func (i DenoiseArgs) ToOutput(ctx context.Context) pulumix.Output[Denoise] { + return pulumix.Output[Denoise]{ + OutputState: i.ToDenoiseOutputWithContext(ctx).OutputState, + } +} + func (i DenoiseArgs) ToDenoisePtrOutput() DenoisePtrOutput { return i.ToDenoisePtrOutputWithContext(context.Background()) } @@ -2875,6 +3290,12 @@ func (i *denoisePtrType) ToDenoisePtrOutputWithContext(ctx context.Context) Deno return pulumi.ToOutputWithContext(ctx, i).(DenoisePtrOutput) } +func (i *denoisePtrType) ToOutput(ctx context.Context) pulumix.Output[*Denoise] { + return pulumix.Output[*Denoise]{ + OutputState: i.ToDenoisePtrOutputWithContext(ctx).OutputState, + } +} + // Denoise preprocessing configuration. **Note:** This configuration is not supported. type DenoiseOutput struct{ *pulumi.OutputState } @@ -2900,6 +3321,12 @@ func (o DenoiseOutput) ToDenoisePtrOutputWithContext(ctx context.Context) Denois }).(DenoisePtrOutput) } +func (o DenoiseOutput) ToOutput(ctx context.Context) pulumix.Output[Denoise] { + return pulumix.Output[Denoise]{ + OutputState: o.OutputState, + } +} + // Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0. func (o DenoiseOutput) Strength() pulumi.Float64PtrOutput { return o.ApplyT(func(v Denoise) *float64 { return v.Strength }).(pulumi.Float64PtrOutput) @@ -2924,6 +3351,12 @@ func (o DenoisePtrOutput) ToDenoisePtrOutputWithContext(ctx context.Context) Den return o } +func (o DenoisePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Denoise] { + return pulumix.Output[*Denoise]{ + OutputState: o.OutputState, + } +} + func (o DenoisePtrOutput) Elem() DenoiseOutput { return o.ApplyT(func(v *Denoise) Denoise { if v != nil { @@ -2977,6 +3410,12 @@ func (o DenoiseResponseOutput) ToDenoiseResponseOutputWithContext(ctx context.Co return o } +func (o DenoiseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[DenoiseResponse] { + return pulumix.Output[DenoiseResponse]{ + OutputState: o.OutputState, + } +} + // Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0. func (o DenoiseResponseOutput) Strength() pulumi.Float64Output { return o.ApplyT(func(v DenoiseResponse) float64 { return v.Strength }).(pulumi.Float64Output) @@ -3034,6 +3473,12 @@ func (i EditAtomArgs) ToEditAtomOutputWithContext(ctx context.Context) EditAtomO return pulumi.ToOutputWithContext(ctx, i).(EditAtomOutput) } +func (i EditAtomArgs) ToOutput(ctx context.Context) pulumix.Output[EditAtom] { + return pulumix.Output[EditAtom]{ + OutputState: i.ToEditAtomOutputWithContext(ctx).OutputState, + } +} + // EditAtomArrayInput is an input type that accepts EditAtomArray and EditAtomArrayOutput values. // You can construct a concrete instance of `EditAtomArrayInput` via: // @@ -3059,6 +3504,12 @@ func (i EditAtomArray) ToEditAtomArrayOutputWithContext(ctx context.Context) Edi return pulumi.ToOutputWithContext(ctx, i).(EditAtomArrayOutput) } +func (i EditAtomArray) ToOutput(ctx context.Context) pulumix.Output[[]EditAtom] { + return pulumix.Output[[]EditAtom]{ + OutputState: i.ToEditAtomArrayOutputWithContext(ctx).OutputState, + } +} + // Edit atom. type EditAtomOutput struct{ *pulumi.OutputState } @@ -3074,6 +3525,12 @@ func (o EditAtomOutput) ToEditAtomOutputWithContext(ctx context.Context) EditAto return o } +func (o EditAtomOutput) ToOutput(ctx context.Context) pulumix.Output[EditAtom] { + return pulumix.Output[EditAtom]{ + OutputState: o.OutputState, + } +} + // End time in seconds for the atom, relative to the input file timeline. When `end_time_offset` is not specified, the `inputs` are used until the end of the atom. func (o EditAtomOutput) EndTimeOffset() pulumi.StringPtrOutput { return o.ApplyT(func(v EditAtom) *string { return v.EndTimeOffset }).(pulumi.StringPtrOutput) @@ -3108,6 +3565,12 @@ func (o EditAtomArrayOutput) ToEditAtomArrayOutputWithContext(ctx context.Contex return o } +func (o EditAtomArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EditAtom] { + return pulumix.Output[[]EditAtom]{ + OutputState: o.OutputState, + } +} + func (o EditAtomArrayOutput) Index(i pulumi.IntInput) EditAtomOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EditAtom { return vs[0].([]EditAtom)[vs[1].(int)] @@ -3141,6 +3604,12 @@ func (o EditAtomResponseOutput) ToEditAtomResponseOutputWithContext(ctx context. return o } +func (o EditAtomResponseOutput) ToOutput(ctx context.Context) pulumix.Output[EditAtomResponse] { + return pulumix.Output[EditAtomResponse]{ + OutputState: o.OutputState, + } +} + // End time in seconds for the atom, relative to the input file timeline. When `end_time_offset` is not specified, the `inputs` are used until the end of the atom. func (o EditAtomResponseOutput) EndTimeOffset() pulumi.StringOutput { return o.ApplyT(func(v EditAtomResponse) string { return v.EndTimeOffset }).(pulumi.StringOutput) @@ -3175,6 +3644,12 @@ func (o EditAtomResponseArrayOutput) ToEditAtomResponseArrayOutputWithContext(ct return o } +func (o EditAtomResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]EditAtomResponse] { + return pulumix.Output[[]EditAtomResponse]{ + OutputState: o.OutputState, + } +} + func (o EditAtomResponseArrayOutput) Index(i pulumi.IntInput) EditAtomResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) EditAtomResponse { return vs[0].([]EditAtomResponse)[vs[1].(int)] @@ -3228,6 +3703,12 @@ func (i ElementaryStreamArgs) ToElementaryStreamOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ElementaryStreamOutput) } +func (i ElementaryStreamArgs) ToOutput(ctx context.Context) pulumix.Output[ElementaryStream] { + return pulumix.Output[ElementaryStream]{ + OutputState: i.ToElementaryStreamOutputWithContext(ctx).OutputState, + } +} + // ElementaryStreamArrayInput is an input type that accepts ElementaryStreamArray and ElementaryStreamArrayOutput values. // You can construct a concrete instance of `ElementaryStreamArrayInput` via: // @@ -3253,6 +3734,12 @@ func (i ElementaryStreamArray) ToElementaryStreamArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ElementaryStreamArrayOutput) } +func (i ElementaryStreamArray) ToOutput(ctx context.Context) pulumix.Output[[]ElementaryStream] { + return pulumix.Output[[]ElementaryStream]{ + OutputState: i.ToElementaryStreamArrayOutputWithContext(ctx).OutputState, + } +} + // Encoding of an input file such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats. type ElementaryStreamOutput struct{ *pulumi.OutputState } @@ -3268,6 +3755,12 @@ func (o ElementaryStreamOutput) ToElementaryStreamOutputWithContext(ctx context. return o } +func (o ElementaryStreamOutput) ToOutput(ctx context.Context) pulumix.Output[ElementaryStream] { + return pulumix.Output[ElementaryStream]{ + OutputState: o.OutputState, + } +} + // Encoding of an audio stream. func (o ElementaryStreamOutput) AudioStream() AudioStreamPtrOutput { return o.ApplyT(func(v ElementaryStream) *AudioStream { return v.AudioStream }).(AudioStreamPtrOutput) @@ -3302,6 +3795,12 @@ func (o ElementaryStreamArrayOutput) ToElementaryStreamArrayOutputWithContext(ct return o } +func (o ElementaryStreamArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ElementaryStream] { + return pulumix.Output[[]ElementaryStream]{ + OutputState: o.OutputState, + } +} + func (o ElementaryStreamArrayOutput) Index(i pulumi.IntInput) ElementaryStreamOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ElementaryStream { return vs[0].([]ElementaryStream)[vs[1].(int)] @@ -3335,6 +3834,12 @@ func (o ElementaryStreamResponseOutput) ToElementaryStreamResponseOutputWithCont return o } +func (o ElementaryStreamResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ElementaryStreamResponse] { + return pulumix.Output[ElementaryStreamResponse]{ + OutputState: o.OutputState, + } +} + // Encoding of an audio stream. func (o ElementaryStreamResponseOutput) AudioStream() AudioStreamResponseOutput { return o.ApplyT(func(v ElementaryStreamResponse) AudioStreamResponse { return v.AudioStream }).(AudioStreamResponseOutput) @@ -3369,6 +3874,12 @@ func (o ElementaryStreamResponseArrayOutput) ToElementaryStreamResponseArrayOutp return o } +func (o ElementaryStreamResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ElementaryStreamResponse] { + return pulumix.Output[[]ElementaryStreamResponse]{ + OutputState: o.OutputState, + } +} + func (o ElementaryStreamResponseArrayOutput) Index(i pulumi.IntInput) ElementaryStreamResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ElementaryStreamResponse { return vs[0].([]ElementaryStreamResponse)[vs[1].(int)] @@ -3486,6 +3997,12 @@ func (i H264CodecSettingsArgs) ToH264CodecSettingsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(H264CodecSettingsOutput) } +func (i H264CodecSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[H264CodecSettings] { + return pulumix.Output[H264CodecSettings]{ + OutputState: i.ToH264CodecSettingsOutputWithContext(ctx).OutputState, + } +} + func (i H264CodecSettingsArgs) ToH264CodecSettingsPtrOutput() H264CodecSettingsPtrOutput { return i.ToH264CodecSettingsPtrOutputWithContext(context.Background()) } @@ -3527,6 +4044,12 @@ func (i *h264codecSettingsPtrType) ToH264CodecSettingsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(H264CodecSettingsPtrOutput) } +func (i *h264codecSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*H264CodecSettings] { + return pulumix.Output[*H264CodecSettings]{ + OutputState: i.ToH264CodecSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // H264 codec settings. type H264CodecSettingsOutput struct{ *pulumi.OutputState } @@ -3552,6 +4075,12 @@ func (o H264CodecSettingsOutput) ToH264CodecSettingsPtrOutputWithContext(ctx con }).(H264CodecSettingsPtrOutput) } +func (o H264CodecSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[H264CodecSettings] { + return pulumix.Output[H264CodecSettings]{ + OutputState: o.OutputState, + } +} + // Specifies whether an open Group of Pictures (GOP) structure should be allowed or not. The default is `false`. func (o H264CodecSettingsOutput) AllowOpenGop() pulumi.BoolPtrOutput { return o.ApplyT(func(v H264CodecSettings) *bool { return v.AllowOpenGop }).(pulumi.BoolPtrOutput) @@ -3666,6 +4195,12 @@ func (o H264CodecSettingsPtrOutput) ToH264CodecSettingsPtrOutputWithContext(ctx return o } +func (o H264CodecSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*H264CodecSettings] { + return pulumix.Output[*H264CodecSettings]{ + OutputState: o.OutputState, + } +} + func (o H264CodecSettingsPtrOutput) Elem() H264CodecSettingsOutput { return o.ApplyT(func(v *H264CodecSettings) H264CodecSettings { if v != nil { @@ -3935,6 +4470,12 @@ func (o H264CodecSettingsResponseOutput) ToH264CodecSettingsResponseOutputWithCo return o } +func (o H264CodecSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[H264CodecSettingsResponse] { + return pulumix.Output[H264CodecSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether an open Group of Pictures (GOP) structure should be allowed or not. The default is `false`. func (o H264CodecSettingsResponseOutput) AllowOpenGop() pulumi.BoolOutput { return o.ApplyT(func(v H264CodecSettingsResponse) bool { return v.AllowOpenGop }).(pulumi.BoolOutput) @@ -4142,6 +4683,12 @@ func (i H265CodecSettingsArgs) ToH265CodecSettingsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(H265CodecSettingsOutput) } +func (i H265CodecSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[H265CodecSettings] { + return pulumix.Output[H265CodecSettings]{ + OutputState: i.ToH265CodecSettingsOutputWithContext(ctx).OutputState, + } +} + func (i H265CodecSettingsArgs) ToH265CodecSettingsPtrOutput() H265CodecSettingsPtrOutput { return i.ToH265CodecSettingsPtrOutputWithContext(context.Background()) } @@ -4183,6 +4730,12 @@ func (i *h265codecSettingsPtrType) ToH265CodecSettingsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(H265CodecSettingsPtrOutput) } +func (i *h265codecSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*H265CodecSettings] { + return pulumix.Output[*H265CodecSettings]{ + OutputState: i.ToH265CodecSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // H265 codec settings. type H265CodecSettingsOutput struct{ *pulumi.OutputState } @@ -4208,6 +4761,12 @@ func (o H265CodecSettingsOutput) ToH265CodecSettingsPtrOutputWithContext(ctx con }).(H265CodecSettingsPtrOutput) } +func (o H265CodecSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[H265CodecSettings] { + return pulumix.Output[H265CodecSettings]{ + OutputState: o.OutputState, + } +} + // Specifies whether an open Group of Pictures (GOP) structure should be allowed or not. The default is `false`. func (o H265CodecSettingsOutput) AllowOpenGop() pulumi.BoolPtrOutput { return o.ApplyT(func(v H265CodecSettings) *bool { return v.AllowOpenGop }).(pulumi.BoolPtrOutput) @@ -4317,6 +4876,12 @@ func (o H265CodecSettingsPtrOutput) ToH265CodecSettingsPtrOutputWithContext(ctx return o } +func (o H265CodecSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*H265CodecSettings] { + return pulumix.Output[*H265CodecSettings]{ + OutputState: o.OutputState, + } +} + func (o H265CodecSettingsPtrOutput) Elem() H265CodecSettingsOutput { return o.ApplyT(func(v *H265CodecSettings) H265CodecSettings { if v != nil { @@ -4574,6 +5139,12 @@ func (o H265CodecSettingsResponseOutput) ToH265CodecSettingsResponseOutputWithCo return o } +func (o H265CodecSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[H265CodecSettingsResponse] { + return pulumix.Output[H265CodecSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Specifies whether an open Group of Pictures (GOP) structure should be allowed or not. The default is `false`. func (o H265CodecSettingsResponseOutput) AllowOpenGop() pulumi.BoolOutput { return o.ApplyT(func(v H265CodecSettingsResponse) bool { return v.AllowOpenGop }).(pulumi.BoolOutput) @@ -4712,6 +5283,12 @@ func (i ImageArgs) ToImageOutputWithContext(ctx context.Context) ImageOutput { return pulumi.ToOutputWithContext(ctx, i).(ImageOutput) } +func (i ImageArgs) ToOutput(ctx context.Context) pulumix.Output[Image] { + return pulumix.Output[Image]{ + OutputState: i.ToImageOutputWithContext(ctx).OutputState, + } +} + func (i ImageArgs) ToImagePtrOutput() ImagePtrOutput { return i.ToImagePtrOutputWithContext(context.Background()) } @@ -4753,6 +5330,12 @@ func (i *imagePtrType) ToImagePtrOutputWithContext(ctx context.Context) ImagePtr return pulumi.ToOutputWithContext(ctx, i).(ImagePtrOutput) } +func (i *imagePtrType) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: i.ToImagePtrOutputWithContext(ctx).OutputState, + } +} + // Overlaid image. type ImageOutput struct{ *pulumi.OutputState } @@ -4778,6 +5361,12 @@ func (o ImageOutput) ToImagePtrOutputWithContext(ctx context.Context) ImagePtrOu }).(ImagePtrOutput) } +func (o ImageOutput) ToOutput(ctx context.Context) pulumix.Output[Image] { + return pulumix.Output[Image]{ + OutputState: o.OutputState, + } +} + // Target image opacity. Valid values are from `1.0` (solid, default) to `0.0` (transparent), exclusive. Set this to a value greater than `0.0`. func (o ImageOutput) Alpha() pulumi.Float64PtrOutput { return o.ApplyT(func(v Image) *float64 { return v.Alpha }).(pulumi.Float64PtrOutput) @@ -4807,6 +5396,12 @@ func (o ImagePtrOutput) ToImagePtrOutputWithContext(ctx context.Context) ImagePt return o } +func (o ImagePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Image] { + return pulumix.Output[*Image]{ + OutputState: o.OutputState, + } +} + func (o ImagePtrOutput) Elem() ImageOutput { return o.ApplyT(func(v *Image) Image { if v != nil { @@ -4872,6 +5467,12 @@ func (o ImageResponseOutput) ToImageResponseOutputWithContext(ctx context.Contex return o } +func (o ImageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ImageResponse] { + return pulumix.Output[ImageResponse]{ + OutputState: o.OutputState, + } +} + // Target image opacity. Valid values are from `1.0` (solid, default) to `0.0` (transparent), exclusive. Set this to a value greater than `0.0`. func (o ImageResponseOutput) Alpha() pulumi.Float64Output { return o.ApplyT(func(v ImageResponse) float64 { return v.Alpha }).(pulumi.Float64Output) @@ -4930,6 +5531,12 @@ func (i InputArgs) ToInputOutputWithContext(ctx context.Context) InputOutput { return pulumi.ToOutputWithContext(ctx, i).(InputOutput) } +func (i InputArgs) ToOutput(ctx context.Context) pulumix.Output[Input] { + return pulumix.Output[Input]{ + OutputState: i.ToInputOutputWithContext(ctx).OutputState, + } +} + // InputArrayInput is an input type that accepts InputArray and InputArrayOutput values. // You can construct a concrete instance of `InputArrayInput` via: // @@ -4955,6 +5562,12 @@ func (i InputArray) ToInputArrayOutputWithContext(ctx context.Context) InputArra return pulumi.ToOutputWithContext(ctx, i).(InputArrayOutput) } +func (i InputArray) ToOutput(ctx context.Context) pulumix.Output[[]Input] { + return pulumix.Output[[]Input]{ + OutputState: i.ToInputArrayOutputWithContext(ctx).OutputState, + } +} + // Input asset. type InputOutput struct{ *pulumi.OutputState } @@ -4970,6 +5583,12 @@ func (o InputOutput) ToInputOutputWithContext(ctx context.Context) InputOutput { return o } +func (o InputOutput) ToOutput(ctx context.Context) pulumix.Output[Input] { + return pulumix.Output[Input]{ + OutputState: o.OutputState, + } +} + // A unique key for this input. Must be specified when using advanced mapping and edit lists. func (o InputOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v Input) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -4999,6 +5618,12 @@ func (o InputArrayOutput) ToInputArrayOutputWithContext(ctx context.Context) Inp return o } +func (o InputArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Input] { + return pulumix.Output[[]Input]{ + OutputState: o.OutputState, + } +} + func (o InputArrayOutput) Index(i pulumi.IntInput) InputOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Input { return vs[0].([]Input)[vs[1].(int)] @@ -5030,6 +5655,12 @@ func (o InputResponseOutput) ToInputResponseOutputWithContext(ctx context.Contex return o } +func (o InputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InputResponse] { + return pulumix.Output[InputResponse]{ + OutputState: o.OutputState, + } +} + // A unique key for this input. Must be specified when using advanced mapping and edit lists. func (o InputResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v InputResponse) string { return v.Key }).(pulumi.StringOutput) @@ -5059,6 +5690,12 @@ func (o InputResponseArrayOutput) ToInputResponseArrayOutputWithContext(ctx cont return o } +func (o InputResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]InputResponse] { + return pulumix.Output[[]InputResponse]{ + OutputState: o.OutputState, + } +} + func (o InputResponseArrayOutput) Index(i pulumi.IntInput) InputResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) InputResponse { return vs[0].([]InputResponse)[vs[1].(int)] @@ -5136,6 +5773,12 @@ func (i JobConfigArgs) ToJobConfigOutputWithContext(ctx context.Context) JobConf return pulumi.ToOutputWithContext(ctx, i).(JobConfigOutput) } +func (i JobConfigArgs) ToOutput(ctx context.Context) pulumix.Output[JobConfig] { + return pulumix.Output[JobConfig]{ + OutputState: i.ToJobConfigOutputWithContext(ctx).OutputState, + } +} + func (i JobConfigArgs) ToJobConfigPtrOutput() JobConfigPtrOutput { return i.ToJobConfigPtrOutputWithContext(context.Background()) } @@ -5177,6 +5820,12 @@ func (i *jobConfigPtrType) ToJobConfigPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(JobConfigPtrOutput) } +func (i *jobConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*JobConfig] { + return pulumix.Output[*JobConfig]{ + OutputState: i.ToJobConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Job configuration type JobConfigOutput struct{ *pulumi.OutputState } @@ -5202,6 +5851,12 @@ func (o JobConfigOutput) ToJobConfigPtrOutputWithContext(ctx context.Context) Jo }).(JobConfigPtrOutput) } +func (o JobConfigOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfig] { + return pulumix.Output[JobConfig]{ + OutputState: o.OutputState, + } +} + // List of ad breaks. Specifies where to insert ad break tags in the output manifests. func (o JobConfigOutput) AdBreaks() AdBreakArrayOutput { return o.ApplyT(func(v JobConfig) []AdBreak { return v.AdBreaks }).(AdBreakArrayOutput) @@ -5266,6 +5921,12 @@ func (o JobConfigPtrOutput) ToJobConfigPtrOutputWithContext(ctx context.Context) return o } +func (o JobConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*JobConfig] { + return pulumix.Output[*JobConfig]{ + OutputState: o.OutputState, + } +} + func (o JobConfigPtrOutput) Elem() JobConfigOutput { return o.ApplyT(func(v *JobConfig) JobConfig { if v != nil { @@ -5415,6 +6076,12 @@ func (o JobConfigResponseOutput) ToJobConfigResponseOutputWithContext(ctx contex return o } +func (o JobConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[JobConfigResponse] { + return pulumix.Output[JobConfigResponse]{ + OutputState: o.OutputState, + } +} + // List of ad breaks. Specifies where to insert ad break tags in the output manifests. func (o JobConfigResponseOutput) AdBreaks() AdBreakResponseArrayOutput { return o.ApplyT(func(v JobConfigResponse) []AdBreakResponse { return v.AdBreaks }).(AdBreakResponseArrayOutput) @@ -5508,6 +6175,12 @@ func (i ManifestArgs) ToManifestOutputWithContext(ctx context.Context) ManifestO return pulumi.ToOutputWithContext(ctx, i).(ManifestOutput) } +func (i ManifestArgs) ToOutput(ctx context.Context) pulumix.Output[Manifest] { + return pulumix.Output[Manifest]{ + OutputState: i.ToManifestOutputWithContext(ctx).OutputState, + } +} + // ManifestArrayInput is an input type that accepts ManifestArray and ManifestArrayOutput values. // You can construct a concrete instance of `ManifestArrayInput` via: // @@ -5533,6 +6206,12 @@ func (i ManifestArray) ToManifestArrayOutputWithContext(ctx context.Context) Man return pulumi.ToOutputWithContext(ctx, i).(ManifestArrayOutput) } +func (i ManifestArray) ToOutput(ctx context.Context) pulumix.Output[[]Manifest] { + return pulumix.Output[[]Manifest]{ + OutputState: i.ToManifestArrayOutputWithContext(ctx).OutputState, + } +} + // Manifest configuration. type ManifestOutput struct{ *pulumi.OutputState } @@ -5548,6 +6227,12 @@ func (o ManifestOutput) ToManifestOutputWithContext(ctx context.Context) Manifes return o } +func (o ManifestOutput) ToOutput(ctx context.Context) pulumix.Output[Manifest] { + return pulumix.Output[Manifest]{ + OutputState: o.OutputState, + } +} + // The name of the generated file. The default is `manifest` with the extension suffix corresponding to the `Manifest.type`. func (o ManifestOutput) FileName() pulumi.StringPtrOutput { return o.ApplyT(func(v Manifest) *string { return v.FileName }).(pulumi.StringPtrOutput) @@ -5577,6 +6262,12 @@ func (o ManifestArrayOutput) ToManifestArrayOutputWithContext(ctx context.Contex return o } +func (o ManifestArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Manifest] { + return pulumix.Output[[]Manifest]{ + OutputState: o.OutputState, + } +} + func (o ManifestArrayOutput) Index(i pulumi.IntInput) ManifestOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Manifest { return vs[0].([]Manifest)[vs[1].(int)] @@ -5608,6 +6299,12 @@ func (o ManifestResponseOutput) ToManifestResponseOutputWithContext(ctx context. return o } +func (o ManifestResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ManifestResponse] { + return pulumix.Output[ManifestResponse]{ + OutputState: o.OutputState, + } +} + // The name of the generated file. The default is `manifest` with the extension suffix corresponding to the `Manifest.type`. func (o ManifestResponseOutput) FileName() pulumi.StringOutput { return o.ApplyT(func(v ManifestResponse) string { return v.FileName }).(pulumi.StringOutput) @@ -5637,6 +6334,12 @@ func (o ManifestResponseArrayOutput) ToManifestResponseArrayOutputWithContext(ct return o } +func (o ManifestResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ManifestResponse] { + return pulumix.Output[[]ManifestResponse]{ + OutputState: o.OutputState, + } +} + func (o ManifestResponseArrayOutput) Index(i pulumi.IntInput) ManifestResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManifestResponse { return vs[0].([]ManifestResponse)[vs[1].(int)] @@ -5694,6 +6397,12 @@ func (i MuxStreamArgs) ToMuxStreamOutputWithContext(ctx context.Context) MuxStre return pulumi.ToOutputWithContext(ctx, i).(MuxStreamOutput) } +func (i MuxStreamArgs) ToOutput(ctx context.Context) pulumix.Output[MuxStream] { + return pulumix.Output[MuxStream]{ + OutputState: i.ToMuxStreamOutputWithContext(ctx).OutputState, + } +} + // MuxStreamArrayInput is an input type that accepts MuxStreamArray and MuxStreamArrayOutput values. // You can construct a concrete instance of `MuxStreamArrayInput` via: // @@ -5719,6 +6428,12 @@ func (i MuxStreamArray) ToMuxStreamArrayOutputWithContext(ctx context.Context) M return pulumi.ToOutputWithContext(ctx, i).(MuxStreamArrayOutput) } +func (i MuxStreamArray) ToOutput(ctx context.Context) pulumix.Output[[]MuxStream] { + return pulumix.Output[[]MuxStream]{ + OutputState: i.ToMuxStreamArrayOutputWithContext(ctx).OutputState, + } +} + // Multiplexing settings for output stream. type MuxStreamOutput struct{ *pulumi.OutputState } @@ -5734,6 +6449,12 @@ func (o MuxStreamOutput) ToMuxStreamOutputWithContext(ctx context.Context) MuxSt return o } +func (o MuxStreamOutput) ToOutput(ctx context.Context) pulumix.Output[MuxStream] { + return pulumix.Output[MuxStream]{ + OutputState: o.OutputState, + } +} + // The container format. The default is `mp4` Supported container formats: - `ts` - `fmp4`- the corresponding file extension is `.m4s` - `mp4` - `vtt` See also: [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats) func (o MuxStreamOutput) Container() pulumi.StringPtrOutput { return o.ApplyT(func(v MuxStream) *string { return v.Container }).(pulumi.StringPtrOutput) @@ -5773,6 +6494,12 @@ func (o MuxStreamArrayOutput) ToMuxStreamArrayOutputWithContext(ctx context.Cont return o } +func (o MuxStreamArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MuxStream] { + return pulumix.Output[[]MuxStream]{ + OutputState: o.OutputState, + } +} + func (o MuxStreamArrayOutput) Index(i pulumi.IntInput) MuxStreamOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MuxStream { return vs[0].([]MuxStream)[vs[1].(int)] @@ -5808,6 +6535,12 @@ func (o MuxStreamResponseOutput) ToMuxStreamResponseOutputWithContext(ctx contex return o } +func (o MuxStreamResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MuxStreamResponse] { + return pulumix.Output[MuxStreamResponse]{ + OutputState: o.OutputState, + } +} + // The container format. The default is `mp4` Supported container formats: - `ts` - `fmp4`- the corresponding file extension is `.m4s` - `mp4` - `vtt` See also: [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats) func (o MuxStreamResponseOutput) Container() pulumi.StringOutput { return o.ApplyT(func(v MuxStreamResponse) string { return v.Container }).(pulumi.StringOutput) @@ -5847,6 +6580,12 @@ func (o MuxStreamResponseArrayOutput) ToMuxStreamResponseArrayOutputWithContext( return o } +func (o MuxStreamResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MuxStreamResponse] { + return pulumix.Output[[]MuxStreamResponse]{ + OutputState: o.OutputState, + } +} + func (o MuxStreamResponseArrayOutput) Index(i pulumi.IntInput) MuxStreamResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MuxStreamResponse { return vs[0].([]MuxStreamResponse)[vs[1].(int)] @@ -5892,6 +6631,12 @@ func (i NormalizedCoordinateArgs) ToNormalizedCoordinateOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(NormalizedCoordinateOutput) } +func (i NormalizedCoordinateArgs) ToOutput(ctx context.Context) pulumix.Output[NormalizedCoordinate] { + return pulumix.Output[NormalizedCoordinate]{ + OutputState: i.ToNormalizedCoordinateOutputWithContext(ctx).OutputState, + } +} + func (i NormalizedCoordinateArgs) ToNormalizedCoordinatePtrOutput() NormalizedCoordinatePtrOutput { return i.ToNormalizedCoordinatePtrOutputWithContext(context.Background()) } @@ -5933,6 +6678,12 @@ func (i *normalizedCoordinatePtrType) ToNormalizedCoordinatePtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(NormalizedCoordinatePtrOutput) } +func (i *normalizedCoordinatePtrType) ToOutput(ctx context.Context) pulumix.Output[*NormalizedCoordinate] { + return pulumix.Output[*NormalizedCoordinate]{ + OutputState: i.ToNormalizedCoordinatePtrOutputWithContext(ctx).OutputState, + } +} + // 2D normalized coordinates. Default: `{0.0, 0.0}` type NormalizedCoordinateOutput struct{ *pulumi.OutputState } @@ -5958,6 +6709,12 @@ func (o NormalizedCoordinateOutput) ToNormalizedCoordinatePtrOutputWithContext(c }).(NormalizedCoordinatePtrOutput) } +func (o NormalizedCoordinateOutput) ToOutput(ctx context.Context) pulumix.Output[NormalizedCoordinate] { + return pulumix.Output[NormalizedCoordinate]{ + OutputState: o.OutputState, + } +} + // Normalized x coordinate. func (o NormalizedCoordinateOutput) X() pulumi.Float64PtrOutput { return o.ApplyT(func(v NormalizedCoordinate) *float64 { return v.X }).(pulumi.Float64PtrOutput) @@ -5982,6 +6739,12 @@ func (o NormalizedCoordinatePtrOutput) ToNormalizedCoordinatePtrOutputWithContex return o } +func (o NormalizedCoordinatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*NormalizedCoordinate] { + return pulumix.Output[*NormalizedCoordinate]{ + OutputState: o.OutputState, + } +} + func (o NormalizedCoordinatePtrOutput) Elem() NormalizedCoordinateOutput { return o.ApplyT(func(v *NormalizedCoordinate) NormalizedCoordinate { if v != nil { @@ -6035,6 +6798,12 @@ func (o NormalizedCoordinateResponseOutput) ToNormalizedCoordinateResponseOutput return o } +func (o NormalizedCoordinateResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NormalizedCoordinateResponse] { + return pulumix.Output[NormalizedCoordinateResponse]{ + OutputState: o.OutputState, + } +} + // Normalized x coordinate. func (o NormalizedCoordinateResponseOutput) X() pulumi.Float64Output { return o.ApplyT(func(v NormalizedCoordinateResponse) float64 { return v.X }).(pulumi.Float64Output) @@ -6080,6 +6849,12 @@ func (i OutputArgs) ToOutputOutputWithContext(ctx context.Context) OutputOutput return pulumi.ToOutputWithContext(ctx, i).(OutputOutput) } +func (i OutputArgs) ToOutput(ctx context.Context) pulumix.Output[Output] { + return pulumix.Output[Output]{ + OutputState: i.ToOutputOutputWithContext(ctx).OutputState, + } +} + func (i OutputArgs) ToOutputPtrOutput() OutputPtrOutput { return i.ToOutputPtrOutputWithContext(context.Background()) } @@ -6121,6 +6896,12 @@ func (i *outputPtrType) ToOutputPtrOutputWithContext(ctx context.Context) Output return pulumi.ToOutputWithContext(ctx, i).(OutputPtrOutput) } +func (i *outputPtrType) ToOutput(ctx context.Context) pulumix.Output[*Output] { + return pulumix.Output[*Output]{ + OutputState: i.ToOutputPtrOutputWithContext(ctx).OutputState, + } +} + // Location of output file(s) in a Cloud Storage bucket. type OutputOutput struct{ *pulumi.OutputState } @@ -6146,6 +6927,12 @@ func (o OutputOutput) ToOutputPtrOutputWithContext(ctx context.Context) OutputPt }).(OutputPtrOutput) } +func (o OutputOutput) ToOutput(ctx context.Context) pulumix.Output[Output] { + return pulumix.Output[Output]{ + OutputState: o.OutputState, + } +} + // URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty, the value is populated from `Job.output_uri`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats). func (o OutputOutput) Uri() pulumi.StringPtrOutput { return o.ApplyT(func(v Output) *string { return v.Uri }).(pulumi.StringPtrOutput) @@ -6165,6 +6952,12 @@ func (o OutputPtrOutput) ToOutputPtrOutputWithContext(ctx context.Context) Outpu return o } +func (o OutputPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Output] { + return pulumix.Output[*Output]{ + OutputState: o.OutputState, + } +} + func (o OutputPtrOutput) Elem() OutputOutput { return o.ApplyT(func(v *Output) Output { if v != nil { @@ -6206,6 +6999,12 @@ func (o OutputResponseOutput) ToOutputResponseOutputWithContext(ctx context.Cont return o } +func (o OutputResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OutputResponse] { + return pulumix.Output[OutputResponse]{ + OutputState: o.OutputState, + } +} + // URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty, the value is populated from `Job.output_uri`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats). func (o OutputResponseOutput) Uri() pulumi.StringOutput { return o.ApplyT(func(v OutputResponse) string { return v.Uri }).(pulumi.StringOutput) @@ -6250,6 +7049,12 @@ func (i OverlayArgs) ToOverlayOutputWithContext(ctx context.Context) OverlayOutp return pulumi.ToOutputWithContext(ctx, i).(OverlayOutput) } +func (i OverlayArgs) ToOutput(ctx context.Context) pulumix.Output[Overlay] { + return pulumix.Output[Overlay]{ + OutputState: i.ToOverlayOutputWithContext(ctx).OutputState, + } +} + // OverlayArrayInput is an input type that accepts OverlayArray and OverlayArrayOutput values. // You can construct a concrete instance of `OverlayArrayInput` via: // @@ -6275,6 +7080,12 @@ func (i OverlayArray) ToOverlayArrayOutputWithContext(ctx context.Context) Overl return pulumi.ToOutputWithContext(ctx, i).(OverlayArrayOutput) } +func (i OverlayArray) ToOutput(ctx context.Context) pulumix.Output[[]Overlay] { + return pulumix.Output[[]Overlay]{ + OutputState: i.ToOverlayArrayOutputWithContext(ctx).OutputState, + } +} + // Overlay configuration. type OverlayOutput struct{ *pulumi.OutputState } @@ -6290,6 +7101,12 @@ func (o OverlayOutput) ToOverlayOutputWithContext(ctx context.Context) OverlayOu return o } +func (o OverlayOutput) ToOutput(ctx context.Context) pulumix.Output[Overlay] { + return pulumix.Output[Overlay]{ + OutputState: o.OutputState, + } +} + // List of Animations. The list should be chronological, without any time overlap. func (o OverlayOutput) Animations() AnimationArrayOutput { return o.ApplyT(func(v Overlay) []Animation { return v.Animations }).(AnimationArrayOutput) @@ -6314,6 +7131,12 @@ func (o OverlayArrayOutput) ToOverlayArrayOutputWithContext(ctx context.Context) return o } +func (o OverlayArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Overlay] { + return pulumix.Output[[]Overlay]{ + OutputState: o.OutputState, + } +} + func (o OverlayArrayOutput) Index(i pulumi.IntInput) OverlayOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Overlay { return vs[0].([]Overlay)[vs[1].(int)] @@ -6343,6 +7166,12 @@ func (o OverlayResponseOutput) ToOverlayResponseOutputWithContext(ctx context.Co return o } +func (o OverlayResponseOutput) ToOutput(ctx context.Context) pulumix.Output[OverlayResponse] { + return pulumix.Output[OverlayResponse]{ + OutputState: o.OutputState, + } +} + // List of Animations. The list should be chronological, without any time overlap. func (o OverlayResponseOutput) Animations() AnimationResponseArrayOutput { return o.ApplyT(func(v OverlayResponse) []AnimationResponse { return v.Animations }).(AnimationResponseArrayOutput) @@ -6367,6 +7196,12 @@ func (o OverlayResponseArrayOutput) ToOverlayResponseArrayOutputWithContext(ctx return o } +func (o OverlayResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]OverlayResponse] { + return pulumix.Output[[]OverlayResponse]{ + OutputState: o.OutputState, + } +} + func (o OverlayResponseArrayOutput) Index(i pulumi.IntInput) OverlayResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) OverlayResponse { return vs[0].([]OverlayResponse)[vs[1].(int)] @@ -6420,6 +7255,12 @@ func (i PadArgs) ToPadOutputWithContext(ctx context.Context) PadOutput { return pulumi.ToOutputWithContext(ctx, i).(PadOutput) } +func (i PadArgs) ToOutput(ctx context.Context) pulumix.Output[Pad] { + return pulumix.Output[Pad]{ + OutputState: i.ToPadOutputWithContext(ctx).OutputState, + } +} + func (i PadArgs) ToPadPtrOutput() PadPtrOutput { return i.ToPadPtrOutputWithContext(context.Background()) } @@ -6461,6 +7302,12 @@ func (i *padPtrType) ToPadPtrOutputWithContext(ctx context.Context) PadPtrOutput return pulumi.ToOutputWithContext(ctx, i).(PadPtrOutput) } +func (i *padPtrType) ToOutput(ctx context.Context) pulumix.Output[*Pad] { + return pulumix.Output[*Pad]{ + OutputState: i.ToPadPtrOutputWithContext(ctx).OutputState, + } +} + // Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution. type PadOutput struct{ *pulumi.OutputState } @@ -6486,6 +7333,12 @@ func (o PadOutput) ToPadPtrOutputWithContext(ctx context.Context) PadPtrOutput { }).(PadPtrOutput) } +func (o PadOutput) ToOutput(ctx context.Context) pulumix.Output[Pad] { + return pulumix.Output[Pad]{ + OutputState: o.OutputState, + } +} + // The number of pixels to add to the bottom. The default is 0. func (o PadOutput) BottomPixels() pulumi.IntPtrOutput { return o.ApplyT(func(v Pad) *int { return v.BottomPixels }).(pulumi.IntPtrOutput) @@ -6520,6 +7373,12 @@ func (o PadPtrOutput) ToPadPtrOutputWithContext(ctx context.Context) PadPtrOutpu return o } +func (o PadPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Pad] { + return pulumix.Output[*Pad]{ + OutputState: o.OutputState, + } +} + func (o PadPtrOutput) Elem() PadOutput { return o.ApplyT(func(v *Pad) Pad { if v != nil { @@ -6597,6 +7456,12 @@ func (o PadResponseOutput) ToPadResponseOutputWithContext(ctx context.Context) P return o } +func (o PadResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PadResponse] { + return pulumix.Output[PadResponse]{ + OutputState: o.OutputState, + } +} + // The number of pixels to add to the bottom. The default is 0. func (o PadResponseOutput) BottomPixels() pulumi.IntOutput { return o.ApplyT(func(v PadResponse) int { return v.BottomPixels }).(pulumi.IntOutput) @@ -6676,6 +7541,12 @@ func (i PreprocessingConfigArgs) ToPreprocessingConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PreprocessingConfigOutput) } +func (i PreprocessingConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PreprocessingConfig] { + return pulumix.Output[PreprocessingConfig]{ + OutputState: i.ToPreprocessingConfigOutputWithContext(ctx).OutputState, + } +} + func (i PreprocessingConfigArgs) ToPreprocessingConfigPtrOutput() PreprocessingConfigPtrOutput { return i.ToPreprocessingConfigPtrOutputWithContext(context.Background()) } @@ -6717,6 +7588,12 @@ func (i *preprocessingConfigPtrType) ToPreprocessingConfigPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(PreprocessingConfigPtrOutput) } +func (i *preprocessingConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PreprocessingConfig] { + return pulumix.Output[*PreprocessingConfig]{ + OutputState: i.ToPreprocessingConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Preprocessing configurations. type PreprocessingConfigOutput struct{ *pulumi.OutputState } @@ -6742,6 +7619,12 @@ func (o PreprocessingConfigOutput) ToPreprocessingConfigPtrOutputWithContext(ctx }).(PreprocessingConfigPtrOutput) } +func (o PreprocessingConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PreprocessingConfig] { + return pulumix.Output[PreprocessingConfig]{ + OutputState: o.OutputState, + } +} + // Audio preprocessing configuration. func (o PreprocessingConfigOutput) Audio() AudioPtrOutput { return o.ApplyT(func(v PreprocessingConfig) *Audio { return v.Audio }).(AudioPtrOutput) @@ -6791,6 +7674,12 @@ func (o PreprocessingConfigPtrOutput) ToPreprocessingConfigPtrOutputWithContext( return o } +func (o PreprocessingConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PreprocessingConfig] { + return pulumix.Output[*PreprocessingConfig]{ + OutputState: o.OutputState, + } +} + func (o PreprocessingConfigPtrOutput) Elem() PreprocessingConfigOutput { return o.ApplyT(func(v *PreprocessingConfig) PreprocessingConfig { if v != nil { @@ -6904,6 +7793,12 @@ func (o PreprocessingConfigResponseOutput) ToPreprocessingConfigResponseOutputWi return o } +func (o PreprocessingConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PreprocessingConfigResponse] { + return pulumix.Output[PreprocessingConfigResponse]{ + OutputState: o.OutputState, + } +} + // Audio preprocessing configuration. func (o PreprocessingConfigResponseOutput) Audio() AudioResponseOutput { return o.ApplyT(func(v PreprocessingConfigResponse) AudioResponse { return v.Audio }).(AudioResponseOutput) @@ -6974,6 +7869,12 @@ func (i PubsubDestinationArgs) ToPubsubDestinationOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PubsubDestinationOutput) } +func (i PubsubDestinationArgs) ToOutput(ctx context.Context) pulumix.Output[PubsubDestination] { + return pulumix.Output[PubsubDestination]{ + OutputState: i.ToPubsubDestinationOutputWithContext(ctx).OutputState, + } +} + func (i PubsubDestinationArgs) ToPubsubDestinationPtrOutput() PubsubDestinationPtrOutput { return i.ToPubsubDestinationPtrOutputWithContext(context.Background()) } @@ -7015,6 +7916,12 @@ func (i *pubsubDestinationPtrType) ToPubsubDestinationPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(PubsubDestinationPtrOutput) } +func (i *pubsubDestinationPtrType) ToOutput(ctx context.Context) pulumix.Output[*PubsubDestination] { + return pulumix.Output[*PubsubDestination]{ + OutputState: i.ToPubsubDestinationPtrOutputWithContext(ctx).OutputState, + } +} + // A Pub/Sub destination. type PubsubDestinationOutput struct{ *pulumi.OutputState } @@ -7040,6 +7947,12 @@ func (o PubsubDestinationOutput) ToPubsubDestinationPtrOutputWithContext(ctx con }).(PubsubDestinationPtrOutput) } +func (o PubsubDestinationOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubDestination] { + return pulumix.Output[PubsubDestination]{ + OutputState: o.OutputState, + } +} + // The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`. func (o PubsubDestinationOutput) Topic() pulumi.StringPtrOutput { return o.ApplyT(func(v PubsubDestination) *string { return v.Topic }).(pulumi.StringPtrOutput) @@ -7059,6 +7972,12 @@ func (o PubsubDestinationPtrOutput) ToPubsubDestinationPtrOutputWithContext(ctx return o } +func (o PubsubDestinationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PubsubDestination] { + return pulumix.Output[*PubsubDestination]{ + OutputState: o.OutputState, + } +} + func (o PubsubDestinationPtrOutput) Elem() PubsubDestinationOutput { return o.ApplyT(func(v *PubsubDestination) PubsubDestination { if v != nil { @@ -7100,6 +8019,12 @@ func (o PubsubDestinationResponseOutput) ToPubsubDestinationResponseOutputWithCo return o } +func (o PubsubDestinationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PubsubDestinationResponse] { + return pulumix.Output[PubsubDestinationResponse]{ + OutputState: o.OutputState, + } +} + // The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`. func (o PubsubDestinationResponseOutput) Topic() pulumi.StringOutput { return o.ApplyT(func(v PubsubDestinationResponse) string { return v.Topic }).(pulumi.StringOutput) @@ -7144,6 +8069,12 @@ func (i SegmentSettingsArgs) ToSegmentSettingsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SegmentSettingsOutput) } +func (i SegmentSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[SegmentSettings] { + return pulumix.Output[SegmentSettings]{ + OutputState: i.ToSegmentSettingsOutputWithContext(ctx).OutputState, + } +} + func (i SegmentSettingsArgs) ToSegmentSettingsPtrOutput() SegmentSettingsPtrOutput { return i.ToSegmentSettingsPtrOutputWithContext(context.Background()) } @@ -7185,6 +8116,12 @@ func (i *segmentSettingsPtrType) ToSegmentSettingsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(SegmentSettingsPtrOutput) } +func (i *segmentSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SegmentSettings] { + return pulumix.Output[*SegmentSettings]{ + OutputState: i.ToSegmentSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // Segment settings for `ts`, `fmp4` and `vtt`. type SegmentSettingsOutput struct{ *pulumi.OutputState } @@ -7210,6 +8147,12 @@ func (o SegmentSettingsOutput) ToSegmentSettingsPtrOutputWithContext(ctx context }).(SegmentSettingsPtrOutput) } +func (o SegmentSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[SegmentSettings] { + return pulumix.Output[SegmentSettings]{ + OutputState: o.OutputState, + } +} + // Create an individual segment file. The default is `false`. func (o SegmentSettingsOutput) IndividualSegments() pulumi.BoolOutput { return o.ApplyT(func(v SegmentSettings) bool { return v.IndividualSegments }).(pulumi.BoolOutput) @@ -7234,6 +8177,12 @@ func (o SegmentSettingsPtrOutput) ToSegmentSettingsPtrOutputWithContext(ctx cont return o } +func (o SegmentSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SegmentSettings] { + return pulumix.Output[*SegmentSettings]{ + OutputState: o.OutputState, + } +} + func (o SegmentSettingsPtrOutput) Elem() SegmentSettingsOutput { return o.ApplyT(func(v *SegmentSettings) SegmentSettings { if v != nil { @@ -7287,6 +8236,12 @@ func (o SegmentSettingsResponseOutput) ToSegmentSettingsResponseOutputWithContex return o } +func (o SegmentSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SegmentSettingsResponse] { + return pulumix.Output[SegmentSettingsResponse]{ + OutputState: o.OutputState, + } +} + // Create an individual segment file. The default is `false`. func (o SegmentSettingsResponseOutput) IndividualSegments() pulumi.BoolOutput { return o.ApplyT(func(v SegmentSettingsResponse) bool { return v.IndividualSegments }).(pulumi.BoolOutput) @@ -7372,6 +8327,12 @@ func (i SpriteSheetArgs) ToSpriteSheetOutputWithContext(ctx context.Context) Spr return pulumi.ToOutputWithContext(ctx, i).(SpriteSheetOutput) } +func (i SpriteSheetArgs) ToOutput(ctx context.Context) pulumix.Output[SpriteSheet] { + return pulumix.Output[SpriteSheet]{ + OutputState: i.ToSpriteSheetOutputWithContext(ctx).OutputState, + } +} + // SpriteSheetArrayInput is an input type that accepts SpriteSheetArray and SpriteSheetArrayOutput values. // You can construct a concrete instance of `SpriteSheetArrayInput` via: // @@ -7397,6 +8358,12 @@ func (i SpriteSheetArray) ToSpriteSheetArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SpriteSheetArrayOutput) } +func (i SpriteSheetArray) ToOutput(ctx context.Context) pulumix.Output[[]SpriteSheet] { + return pulumix.Output[[]SpriteSheet]{ + OutputState: i.ToSpriteSheetArrayOutputWithContext(ctx).OutputState, + } +} + // Sprite sheet configuration. type SpriteSheetOutput struct{ *pulumi.OutputState } @@ -7412,6 +8379,12 @@ func (o SpriteSheetOutput) ToSpriteSheetOutputWithContext(ctx context.Context) S return o } +func (o SpriteSheetOutput) ToOutput(ctx context.Context) pulumix.Output[SpriteSheet] { + return pulumix.Output[SpriteSheet]{ + OutputState: o.OutputState, + } +} + // The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit. func (o SpriteSheetOutput) ColumnCount() pulumi.IntPtrOutput { return o.ApplyT(func(v SpriteSheet) *int { return v.ColumnCount }).(pulumi.IntPtrOutput) @@ -7481,6 +8454,12 @@ func (o SpriteSheetArrayOutput) ToSpriteSheetArrayOutputWithContext(ctx context. return o } +func (o SpriteSheetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SpriteSheet] { + return pulumix.Output[[]SpriteSheet]{ + OutputState: o.OutputState, + } +} + func (o SpriteSheetArrayOutput) Index(i pulumi.IntInput) SpriteSheetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SpriteSheet { return vs[0].([]SpriteSheet)[vs[1].(int)] @@ -7528,6 +8507,12 @@ func (o SpriteSheetResponseOutput) ToSpriteSheetResponseOutputWithContext(ctx co return o } +func (o SpriteSheetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SpriteSheetResponse] { + return pulumix.Output[SpriteSheetResponse]{ + OutputState: o.OutputState, + } +} + // The maximum number of sprites per row in a sprite sheet. The default is 0, which indicates no maximum limit. func (o SpriteSheetResponseOutput) ColumnCount() pulumi.IntOutput { return o.ApplyT(func(v SpriteSheetResponse) int { return v.ColumnCount }).(pulumi.IntOutput) @@ -7597,6 +8582,12 @@ func (o SpriteSheetResponseArrayOutput) ToSpriteSheetResponseArrayOutputWithCont return o } +func (o SpriteSheetResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SpriteSheetResponse] { + return pulumix.Output[[]SpriteSheetResponse]{ + OutputState: o.OutputState, + } +} + func (o SpriteSheetResponseArrayOutput) Index(i pulumi.IntInput) SpriteSheetResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SpriteSheetResponse { return vs[0].([]SpriteSheetResponse)[vs[1].(int)] @@ -7628,6 +8619,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -7686,6 +8683,12 @@ func (i TextMappingArgs) ToTextMappingOutputWithContext(ctx context.Context) Tex return pulumi.ToOutputWithContext(ctx, i).(TextMappingOutput) } +func (i TextMappingArgs) ToOutput(ctx context.Context) pulumix.Output[TextMapping] { + return pulumix.Output[TextMapping]{ + OutputState: i.ToTextMappingOutputWithContext(ctx).OutputState, + } +} + // TextMappingArrayInput is an input type that accepts TextMappingArray and TextMappingArrayOutput values. // You can construct a concrete instance of `TextMappingArrayInput` via: // @@ -7711,6 +8714,12 @@ func (i TextMappingArray) ToTextMappingArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(TextMappingArrayOutput) } +func (i TextMappingArray) ToOutput(ctx context.Context) pulumix.Output[[]TextMapping] { + return pulumix.Output[[]TextMapping]{ + OutputState: i.ToTextMappingArrayOutputWithContext(ctx).OutputState, + } +} + // The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`. type TextMappingOutput struct{ *pulumi.OutputState } @@ -7726,6 +8735,12 @@ func (o TextMappingOutput) ToTextMappingOutputWithContext(ctx context.Context) T return o } +func (o TextMappingOutput) ToOutput(ctx context.Context) pulumix.Output[TextMapping] { + return pulumix.Output[TextMapping]{ + OutputState: o.OutputState, + } +} + // The `EditAtom.key` that references atom with text inputs in the `Job.edit_list`. func (o TextMappingOutput) AtomKey() pulumi.StringOutput { return o.ApplyT(func(v TextMapping) string { return v.AtomKey }).(pulumi.StringOutput) @@ -7755,6 +8770,12 @@ func (o TextMappingArrayOutput) ToTextMappingArrayOutputWithContext(ctx context. return o } +func (o TextMappingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TextMapping] { + return pulumix.Output[[]TextMapping]{ + OutputState: o.OutputState, + } +} + func (o TextMappingArrayOutput) Index(i pulumi.IntInput) TextMappingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TextMapping { return vs[0].([]TextMapping)[vs[1].(int)] @@ -7786,6 +8807,12 @@ func (o TextMappingResponseOutput) ToTextMappingResponseOutputWithContext(ctx co return o } +func (o TextMappingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TextMappingResponse] { + return pulumix.Output[TextMappingResponse]{ + OutputState: o.OutputState, + } +} + // The `EditAtom.key` that references atom with text inputs in the `Job.edit_list`. func (o TextMappingResponseOutput) AtomKey() pulumi.StringOutput { return o.ApplyT(func(v TextMappingResponse) string { return v.AtomKey }).(pulumi.StringOutput) @@ -7815,6 +8842,12 @@ func (o TextMappingResponseArrayOutput) ToTextMappingResponseArrayOutputWithCont return o } +func (o TextMappingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TextMappingResponse] { + return pulumix.Output[[]TextMappingResponse]{ + OutputState: o.OutputState, + } +} + func (o TextMappingResponseArrayOutput) Index(i pulumi.IntInput) TextMappingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TextMappingResponse { return vs[0].([]TextMappingResponse)[vs[1].(int)] @@ -7868,6 +8901,12 @@ func (i TextStreamArgs) ToTextStreamOutputWithContext(ctx context.Context) TextS return pulumi.ToOutputWithContext(ctx, i).(TextStreamOutput) } +func (i TextStreamArgs) ToOutput(ctx context.Context) pulumix.Output[TextStream] { + return pulumix.Output[TextStream]{ + OutputState: i.ToTextStreamOutputWithContext(ctx).OutputState, + } +} + func (i TextStreamArgs) ToTextStreamPtrOutput() TextStreamPtrOutput { return i.ToTextStreamPtrOutputWithContext(context.Background()) } @@ -7909,6 +8948,12 @@ func (i *textStreamPtrType) ToTextStreamPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TextStreamPtrOutput) } +func (i *textStreamPtrType) ToOutput(ctx context.Context) pulumix.Output[*TextStream] { + return pulumix.Output[*TextStream]{ + OutputState: i.ToTextStreamPtrOutputWithContext(ctx).OutputState, + } +} + // Encoding of a text stream. For example, closed captions or subtitles. type TextStreamOutput struct{ *pulumi.OutputState } @@ -7934,6 +8979,12 @@ func (o TextStreamOutput) ToTextStreamPtrOutputWithContext(ctx context.Context) }).(TextStreamPtrOutput) } +func (o TextStreamOutput) ToOutput(ctx context.Context) pulumix.Output[TextStream] { + return pulumix.Output[TextStream]{ + OutputState: o.OutputState, + } +} + // The codec for this text stream. The default is `webvtt`. Supported text codecs: - `srt` - `ttml` - `cea608` - `cea708` - `webvtt` func (o TextStreamOutput) Codec() pulumi.StringPtrOutput { return o.ApplyT(func(v TextStream) *string { return v.Codec }).(pulumi.StringPtrOutput) @@ -7968,6 +9019,12 @@ func (o TextStreamPtrOutput) ToTextStreamPtrOutputWithContext(ctx context.Contex return o } +func (o TextStreamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TextStream] { + return pulumix.Output[*TextStream]{ + OutputState: o.OutputState, + } +} + func (o TextStreamPtrOutput) Elem() TextStreamOutput { return o.ApplyT(func(v *TextStream) TextStream { if v != nil { @@ -8045,6 +9102,12 @@ func (o TextStreamResponseOutput) ToTextStreamResponseOutputWithContext(ctx cont return o } +func (o TextStreamResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TextStreamResponse] { + return pulumix.Output[TextStreamResponse]{ + OutputState: o.OutputState, + } +} + // The codec for this text stream. The default is `webvtt`. Supported text codecs: - `srt` - `ttml` - `cea608` - `cea708` - `webvtt` func (o TextStreamResponseOutput) Codec() pulumi.StringOutput { return o.ApplyT(func(v TextStreamResponse) string { return v.Codec }).(pulumi.StringOutput) @@ -8108,6 +9171,12 @@ func (i VideoStreamArgs) ToVideoStreamOutputWithContext(ctx context.Context) Vid return pulumi.ToOutputWithContext(ctx, i).(VideoStreamOutput) } +func (i VideoStreamArgs) ToOutput(ctx context.Context) pulumix.Output[VideoStream] { + return pulumix.Output[VideoStream]{ + OutputState: i.ToVideoStreamOutputWithContext(ctx).OutputState, + } +} + func (i VideoStreamArgs) ToVideoStreamPtrOutput() VideoStreamPtrOutput { return i.ToVideoStreamPtrOutputWithContext(context.Background()) } @@ -8149,6 +9218,12 @@ func (i *videoStreamPtrType) ToVideoStreamPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(VideoStreamPtrOutput) } +func (i *videoStreamPtrType) ToOutput(ctx context.Context) pulumix.Output[*VideoStream] { + return pulumix.Output[*VideoStream]{ + OutputState: i.ToVideoStreamPtrOutputWithContext(ctx).OutputState, + } +} + // Video stream resource. type VideoStreamOutput struct{ *pulumi.OutputState } @@ -8174,6 +9249,12 @@ func (o VideoStreamOutput) ToVideoStreamPtrOutputWithContext(ctx context.Context }).(VideoStreamPtrOutput) } +func (o VideoStreamOutput) ToOutput(ctx context.Context) pulumix.Output[VideoStream] { + return pulumix.Output[VideoStream]{ + OutputState: o.OutputState, + } +} + // H264 codec settings. func (o VideoStreamOutput) H264() H264CodecSettingsPtrOutput { return o.ApplyT(func(v VideoStream) *H264CodecSettings { return v.H264 }).(H264CodecSettingsPtrOutput) @@ -8203,6 +9284,12 @@ func (o VideoStreamPtrOutput) ToVideoStreamPtrOutputWithContext(ctx context.Cont return o } +func (o VideoStreamPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VideoStream] { + return pulumix.Output[*VideoStream]{ + OutputState: o.OutputState, + } +} + func (o VideoStreamPtrOutput) Elem() VideoStreamOutput { return o.ApplyT(func(v *VideoStream) VideoStream { if v != nil { @@ -8268,6 +9355,12 @@ func (o VideoStreamResponseOutput) ToVideoStreamResponseOutputWithContext(ctx co return o } +func (o VideoStreamResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VideoStreamResponse] { + return pulumix.Output[VideoStreamResponse]{ + OutputState: o.OutputState, + } +} + // H264 codec settings. func (o VideoStreamResponseOutput) H264() H264CodecSettingsResponseOutput { return o.ApplyT(func(v VideoStreamResponse) H264CodecSettingsResponse { return v.H264 }).(H264CodecSettingsResponseOutput) @@ -8354,6 +9447,12 @@ func (i Vp9CodecSettingsArgs) ToVp9CodecSettingsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(Vp9CodecSettingsOutput) } +func (i Vp9CodecSettingsArgs) ToOutput(ctx context.Context) pulumix.Output[Vp9CodecSettings] { + return pulumix.Output[Vp9CodecSettings]{ + OutputState: i.ToVp9CodecSettingsOutputWithContext(ctx).OutputState, + } +} + func (i Vp9CodecSettingsArgs) ToVp9CodecSettingsPtrOutput() Vp9CodecSettingsPtrOutput { return i.ToVp9CodecSettingsPtrOutputWithContext(context.Background()) } @@ -8395,6 +9494,12 @@ func (i *vp9CodecSettingsPtrType) ToVp9CodecSettingsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(Vp9CodecSettingsPtrOutput) } +func (i *vp9CodecSettingsPtrType) ToOutput(ctx context.Context) pulumix.Output[*Vp9CodecSettings] { + return pulumix.Output[*Vp9CodecSettings]{ + OutputState: i.ToVp9CodecSettingsPtrOutputWithContext(ctx).OutputState, + } +} + // VP9 codec settings. type Vp9CodecSettingsOutput struct{ *pulumi.OutputState } @@ -8420,6 +9525,12 @@ func (o Vp9CodecSettingsOutput) ToVp9CodecSettingsPtrOutputWithContext(ctx conte }).(Vp9CodecSettingsPtrOutput) } +func (o Vp9CodecSettingsOutput) ToOutput(ctx context.Context) pulumix.Output[Vp9CodecSettings] { + return pulumix.Output[Vp9CodecSettings]{ + OutputState: o.OutputState, + } +} + // The video bitrate in bits per second. The minimum value is 1,000. The maximum value is 480,000,000. func (o Vp9CodecSettingsOutput) BitrateBps() pulumi.IntOutput { return o.ApplyT(func(v Vp9CodecSettings) int { return v.BitrateBps }).(pulumi.IntOutput) @@ -8484,6 +9595,12 @@ func (o Vp9CodecSettingsPtrOutput) ToVp9CodecSettingsPtrOutputWithContext(ctx co return o } +func (o Vp9CodecSettingsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Vp9CodecSettings] { + return pulumix.Output[*Vp9CodecSettings]{ + OutputState: o.OutputState, + } +} + func (o Vp9CodecSettingsPtrOutput) Elem() Vp9CodecSettingsOutput { return o.ApplyT(func(v *Vp9CodecSettings) Vp9CodecSettings { if v != nil { @@ -8633,6 +9750,12 @@ func (o Vp9CodecSettingsResponseOutput) ToVp9CodecSettingsResponseOutputWithCont return o } +func (o Vp9CodecSettingsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[Vp9CodecSettingsResponse] { + return pulumix.Output[Vp9CodecSettingsResponse]{ + OutputState: o.OutputState, + } +} + // The video bitrate in bits per second. The minimum value is 1,000. The maximum value is 480,000,000. func (o Vp9CodecSettingsResponseOutput) BitrateBps() pulumi.IntOutput { return o.ApplyT(func(v Vp9CodecSettingsResponse) int { return v.BitrateBps }).(pulumi.IntOutput) @@ -8730,6 +9853,12 @@ func (i YadifConfigArgs) ToYadifConfigOutputWithContext(ctx context.Context) Yad return pulumi.ToOutputWithContext(ctx, i).(YadifConfigOutput) } +func (i YadifConfigArgs) ToOutput(ctx context.Context) pulumix.Output[YadifConfig] { + return pulumix.Output[YadifConfig]{ + OutputState: i.ToYadifConfigOutputWithContext(ctx).OutputState, + } +} + func (i YadifConfigArgs) ToYadifConfigPtrOutput() YadifConfigPtrOutput { return i.ToYadifConfigPtrOutputWithContext(context.Background()) } @@ -8771,6 +9900,12 @@ func (i *yadifConfigPtrType) ToYadifConfigPtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(YadifConfigPtrOutput) } +func (i *yadifConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*YadifConfig] { + return pulumix.Output[*YadifConfig]{ + OutputState: i.ToYadifConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Yet Another Deinterlacing Filter Configuration. type YadifConfigOutput struct{ *pulumi.OutputState } @@ -8796,6 +9931,12 @@ func (o YadifConfigOutput) ToYadifConfigPtrOutputWithContext(ctx context.Context }).(YadifConfigPtrOutput) } +func (o YadifConfigOutput) ToOutput(ctx context.Context) pulumix.Output[YadifConfig] { + return pulumix.Output[YadifConfig]{ + OutputState: o.OutputState, + } +} + // Deinterlace all frames rather than just the frames identified as interlaced. The default is `false`. func (o YadifConfigOutput) DeinterlaceAllFrames() pulumi.BoolPtrOutput { return o.ApplyT(func(v YadifConfig) *bool { return v.DeinterlaceAllFrames }).(pulumi.BoolPtrOutput) @@ -8830,6 +9971,12 @@ func (o YadifConfigPtrOutput) ToYadifConfigPtrOutputWithContext(ctx context.Cont return o } +func (o YadifConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*YadifConfig] { + return pulumix.Output[*YadifConfig]{ + OutputState: o.OutputState, + } +} + func (o YadifConfigPtrOutput) Elem() YadifConfigOutput { return o.ApplyT(func(v *YadifConfig) YadifConfig { if v != nil { @@ -8907,6 +10054,12 @@ func (o YadifConfigResponseOutput) ToYadifConfigResponseOutputWithContext(ctx co return o } +func (o YadifConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[YadifConfigResponse] { + return pulumix.Output[YadifConfigResponse]{ + OutputState: o.OutputState, + } +} + // Deinterlace all frames rather than just the frames identified as interlaced. The default is `false`. func (o YadifConfigResponseOutput) DeinterlaceAllFrames() pulumi.BoolOutput { return o.ApplyT(func(v YadifConfigResponse) bool { return v.DeinterlaceAllFrames }).(pulumi.BoolOutput) diff --git a/sdk/go/google/translate/v3/dataset.go b/sdk/go/google/translate/v3/dataset.go index 1288898a3a..7f5fef9bb9 100644 --- a/sdk/go/google/translate/v3/dataset.go +++ b/sdk/go/google/translate/v3/dataset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Dataset. @@ -133,6 +134,12 @@ func (i *Dataset) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput return pulumi.ToOutputWithContext(ctx, i).(DatasetOutput) } +func (i *Dataset) ToOutput(ctx context.Context) pulumix.Output[*Dataset] { + return pulumix.Output[*Dataset]{ + OutputState: i.ToDatasetOutputWithContext(ctx).OutputState, + } +} + type DatasetOutput struct{ *pulumi.OutputState } func (DatasetOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o DatasetOutput) ToDatasetOutputWithContext(ctx context.Context) DatasetOu return o } +func (o DatasetOutput) ToOutput(ctx context.Context) pulumix.Output[*Dataset] { + return pulumix.Output[*Dataset]{ + OutputState: o.OutputState, + } +} + // Timestamp when this dataset was created. func (o DatasetOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Dataset) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/translate/v3/getDataset.go b/sdk/go/google/translate/v3/getDataset.go index 289105a460..4ba16a9f63 100644 --- a/sdk/go/google/translate/v3/getDataset.go +++ b/sdk/go/google/translate/v3/getDataset.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Dataset. @@ -88,6 +89,12 @@ func (o LookupDatasetResultOutput) ToLookupDatasetResultOutputWithContext(ctx co return o } +func (o LookupDatasetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatasetResult] { + return pulumix.Output[LookupDatasetResult]{ + OutputState: o.OutputState, + } +} + // Timestamp when this dataset was created. func (o LookupDatasetResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupDatasetResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/translate/v3/getGlossary.go b/sdk/go/google/translate/v3/getGlossary.go index d4f360becd..91c11b132c 100644 --- a/sdk/go/google/translate/v3/getGlossary.go +++ b/sdk/go/google/translate/v3/getGlossary.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist. @@ -84,6 +85,12 @@ func (o LookupGlossaryResultOutput) ToLookupGlossaryResultOutputWithContext(ctx return o } +func (o LookupGlossaryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlossaryResult] { + return pulumix.Output[LookupGlossaryResult]{ + OutputState: o.OutputState, + } +} + // Optional. The display name of the glossary. func (o LookupGlossaryResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupGlossaryResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/translate/v3/getGlossaryEntry.go b/sdk/go/google/translate/v3/getGlossaryEntry.go index ce2b92b289..95c2befb16 100644 --- a/sdk/go/google/translate/v3/getGlossaryEntry.go +++ b/sdk/go/google/translate/v3/getGlossaryEntry.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single glossary entry by the given id. @@ -78,6 +79,12 @@ func (o LookupGlossaryEntryResultOutput) ToLookupGlossaryEntryResultOutputWithCo return o } +func (o LookupGlossaryEntryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlossaryEntryResult] { + return pulumix.Output[LookupGlossaryEntryResult]{ + OutputState: o.OutputState, + } +} + // Describes the glossary entry. func (o LookupGlossaryEntryResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupGlossaryEntryResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/translate/v3/getModel.go b/sdk/go/google/translate/v3/getModel.go index 6b449ec24c..d98e4ecb3d 100644 --- a/sdk/go/google/translate/v3/getModel.go +++ b/sdk/go/google/translate/v3/getModel.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a model. @@ -88,6 +89,12 @@ func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx contex return o } +func (o LookupModelResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupModelResult] { + return pulumix.Output[LookupModelResult]{ + OutputState: o.OutputState, + } +} + // Timestamp when the model resource was created, which is also when the training started. func (o LookupModelResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupModelResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/translate/v3/glossary.go b/sdk/go/google/translate/v3/glossary.go index 7cb8f73e91..1586036bd5 100644 --- a/sdk/go/google/translate/v3/glossary.go +++ b/sdk/go/google/translate/v3/glossary.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist. @@ -137,6 +138,12 @@ func (i *Glossary) ToGlossaryOutputWithContext(ctx context.Context) GlossaryOutp return pulumi.ToOutputWithContext(ctx, i).(GlossaryOutput) } +func (i *Glossary) ToOutput(ctx context.Context) pulumix.Output[*Glossary] { + return pulumix.Output[*Glossary]{ + OutputState: i.ToGlossaryOutputWithContext(ctx).OutputState, + } +} + type GlossaryOutput struct{ *pulumi.OutputState } func (GlossaryOutput) ElementType() reflect.Type { @@ -151,6 +158,12 @@ func (o GlossaryOutput) ToGlossaryOutputWithContext(ctx context.Context) Glossar return o } +func (o GlossaryOutput) ToOutput(ctx context.Context) pulumix.Output[*Glossary] { + return pulumix.Output[*Glossary]{ + OutputState: o.OutputState, + } +} + // Optional. The display name of the glossary. func (o GlossaryOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *Glossary) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/translate/v3/glossaryEntry.go b/sdk/go/google/translate/v3/glossaryEntry.go index aeab5a31ca..25eef71966 100644 --- a/sdk/go/google/translate/v3/glossaryEntry.go +++ b/sdk/go/google/translate/v3/glossaryEntry.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a glossary entry. @@ -129,6 +130,12 @@ func (i *GlossaryEntry) ToGlossaryEntryOutputWithContext(ctx context.Context) Gl return pulumi.ToOutputWithContext(ctx, i).(GlossaryEntryOutput) } +func (i *GlossaryEntry) ToOutput(ctx context.Context) pulumix.Output[*GlossaryEntry] { + return pulumix.Output[*GlossaryEntry]{ + OutputState: i.ToGlossaryEntryOutputWithContext(ctx).OutputState, + } +} + type GlossaryEntryOutput struct{ *pulumi.OutputState } func (GlossaryEntryOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o GlossaryEntryOutput) ToGlossaryEntryOutputWithContext(ctx context.Contex return o } +func (o GlossaryEntryOutput) ToOutput(ctx context.Context) pulumix.Output[*GlossaryEntry] { + return pulumix.Output[*GlossaryEntry]{ + OutputState: o.OutputState, + } +} + // Describes the glossary entry. func (o GlossaryEntryOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *GlossaryEntry) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/translate/v3/model.go b/sdk/go/google/translate/v3/model.go index bf793ebbaf..c01e811ae7 100644 --- a/sdk/go/google/translate/v3/model.go +++ b/sdk/go/google/translate/v3/model.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Model. @@ -129,6 +130,12 @@ func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput { return pulumi.ToOutputWithContext(ctx, i).(ModelOutput) } +func (i *Model) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: i.ToModelOutputWithContext(ctx).OutputState, + } +} + type ModelOutput struct{ *pulumi.OutputState } func (ModelOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput { return o } +func (o ModelOutput) ToOutput(ctx context.Context) pulumix.Output[*Model] { + return pulumix.Output[*Model]{ + OutputState: o.OutputState, + } +} + // Timestamp when the model resource was created, which is also when the training started. func (o ModelOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Model) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/translate/v3/pulumiTypes.go b/sdk/go/google/translate/v3/pulumiTypes.go index 1e02fe972b..1d6d07ab04 100644 --- a/sdk/go/google/translate/v3/pulumiTypes.go +++ b/sdk/go/google/translate/v3/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i GcsSourceArgs) ToGcsSourceOutputWithContext(ctx context.Context) GcsSour return pulumi.ToOutputWithContext(ctx, i).(GcsSourceOutput) } +func (i GcsSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GcsSource] { + return pulumix.Output[GcsSource]{ + OutputState: i.ToGcsSourceOutputWithContext(ctx).OutputState, + } +} + // The Google Cloud Storage location for the input content. type GcsSourceOutput struct{ *pulumi.OutputState } @@ -63,6 +70,12 @@ func (o GcsSourceOutput) ToGcsSourceOutputWithContext(ctx context.Context) GcsSo return o } +func (o GcsSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GcsSource] { + return pulumix.Output[GcsSource]{ + OutputState: o.OutputState, + } +} + // Source data URI. For example, `gs://my_bucket/my_object`. func (o GcsSourceOutput) InputUri() pulumi.StringOutput { return o.ApplyT(func(v GcsSource) string { return v.InputUri }).(pulumi.StringOutput) @@ -89,6 +102,12 @@ func (o GcsSourceResponseOutput) ToGcsSourceResponseOutputWithContext(ctx contex return o } +func (o GcsSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcsSourceResponse] { + return pulumix.Output[GcsSourceResponse]{ + OutputState: o.OutputState, + } +} + // Source data URI. For example, `gs://my_bucket/my_object`. func (o GcsSourceResponseOutput) InputUri() pulumi.StringOutput { return o.ApplyT(func(v GcsSourceResponse) string { return v.InputUri }).(pulumi.StringOutput) @@ -129,6 +148,12 @@ func (i GlossaryInputConfigArgs) ToGlossaryInputConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GlossaryInputConfigOutput) } +func (i GlossaryInputConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GlossaryInputConfig] { + return pulumix.Output[GlossaryInputConfig]{ + OutputState: i.ToGlossaryInputConfigOutputWithContext(ctx).OutputState, + } +} + // Input configuration for glossaries. type GlossaryInputConfigOutput struct{ *pulumi.OutputState } @@ -144,6 +169,12 @@ func (o GlossaryInputConfigOutput) ToGlossaryInputConfigOutputWithContext(ctx co return o } +func (o GlossaryInputConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GlossaryInputConfig] { + return pulumix.Output[GlossaryInputConfig]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary). func (o GlossaryInputConfigOutput) GcsSource() GcsSourceOutput { return o.ApplyT(func(v GlossaryInputConfig) GcsSource { return v.GcsSource }).(GcsSourceOutput) @@ -170,6 +201,12 @@ func (o GlossaryInputConfigResponseOutput) ToGlossaryInputConfigResponseOutputWi return o } +func (o GlossaryInputConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GlossaryInputConfigResponse] { + return pulumix.Output[GlossaryInputConfigResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated. The first column is source text. The second column is target text. No headers in this file. The first row contains data and not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary). func (o GlossaryInputConfigResponseOutput) GcsSource() GcsSourceResponseOutput { return o.ApplyT(func(v GlossaryInputConfigResponse) GcsSourceResponse { return v.GcsSource }).(GcsSourceResponseOutput) @@ -214,6 +251,12 @@ func (i GlossaryTermArgs) ToGlossaryTermOutputWithContext(ctx context.Context) G return pulumi.ToOutputWithContext(ctx, i).(GlossaryTermOutput) } +func (i GlossaryTermArgs) ToOutput(ctx context.Context) pulumix.Output[GlossaryTerm] { + return pulumix.Output[GlossaryTerm]{ + OutputState: i.ToGlossaryTermOutputWithContext(ctx).OutputState, + } +} + func (i GlossaryTermArgs) ToGlossaryTermPtrOutput() GlossaryTermPtrOutput { return i.ToGlossaryTermPtrOutputWithContext(context.Background()) } @@ -255,6 +298,12 @@ func (i *glossaryTermPtrType) ToGlossaryTermPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(GlossaryTermPtrOutput) } +func (i *glossaryTermPtrType) ToOutput(ctx context.Context) pulumix.Output[*GlossaryTerm] { + return pulumix.Output[*GlossaryTerm]{ + OutputState: i.ToGlossaryTermPtrOutputWithContext(ctx).OutputState, + } +} + // GlossaryTermArrayInput is an input type that accepts GlossaryTermArray and GlossaryTermArrayOutput values. // You can construct a concrete instance of `GlossaryTermArrayInput` via: // @@ -280,6 +329,12 @@ func (i GlossaryTermArray) ToGlossaryTermArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(GlossaryTermArrayOutput) } +func (i GlossaryTermArray) ToOutput(ctx context.Context) pulumix.Output[[]GlossaryTerm] { + return pulumix.Output[[]GlossaryTerm]{ + OutputState: i.ToGlossaryTermArrayOutputWithContext(ctx).OutputState, + } +} + // Represents a single glossary term type GlossaryTermOutput struct{ *pulumi.OutputState } @@ -305,6 +360,12 @@ func (o GlossaryTermOutput) ToGlossaryTermPtrOutputWithContext(ctx context.Conte }).(GlossaryTermPtrOutput) } +func (o GlossaryTermOutput) ToOutput(ctx context.Context) pulumix.Output[GlossaryTerm] { + return pulumix.Output[GlossaryTerm]{ + OutputState: o.OutputState, + } +} + // The language for this glossary term. func (o GlossaryTermOutput) LanguageCode() pulumi.StringPtrOutput { return o.ApplyT(func(v GlossaryTerm) *string { return v.LanguageCode }).(pulumi.StringPtrOutput) @@ -329,6 +390,12 @@ func (o GlossaryTermPtrOutput) ToGlossaryTermPtrOutputWithContext(ctx context.Co return o } +func (o GlossaryTermPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlossaryTerm] { + return pulumix.Output[*GlossaryTerm]{ + OutputState: o.OutputState, + } +} + func (o GlossaryTermPtrOutput) Elem() GlossaryTermOutput { return o.ApplyT(func(v *GlossaryTerm) GlossaryTerm { if v != nil { @@ -373,6 +440,12 @@ func (o GlossaryTermArrayOutput) ToGlossaryTermArrayOutputWithContext(ctx contex return o } +func (o GlossaryTermArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GlossaryTerm] { + return pulumix.Output[[]GlossaryTerm]{ + OutputState: o.OutputState, + } +} + func (o GlossaryTermArrayOutput) Index(i pulumi.IntInput) GlossaryTermOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GlossaryTerm { return vs[0].([]GlossaryTerm)[vs[1].(int)] @@ -402,6 +475,12 @@ func (o GlossaryTermResponseOutput) ToGlossaryTermResponseOutputWithContext(ctx return o } +func (o GlossaryTermResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GlossaryTermResponse] { + return pulumix.Output[GlossaryTermResponse]{ + OutputState: o.OutputState, + } +} + // The language for this glossary term. func (o GlossaryTermResponseOutput) LanguageCode() pulumi.StringOutput { return o.ApplyT(func(v GlossaryTermResponse) string { return v.LanguageCode }).(pulumi.StringOutput) @@ -426,6 +505,12 @@ func (o GlossaryTermResponseArrayOutput) ToGlossaryTermResponseArrayOutputWithCo return o } +func (o GlossaryTermResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GlossaryTermResponse] { + return pulumix.Output[[]GlossaryTermResponse]{ + OutputState: o.OutputState, + } +} + func (o GlossaryTermResponseArrayOutput) Index(i pulumi.IntInput) GlossaryTermResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GlossaryTermResponse { return vs[0].([]GlossaryTermResponse)[vs[1].(int)] @@ -471,6 +556,12 @@ func (i GlossaryTermsPairArgs) ToGlossaryTermsPairOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GlossaryTermsPairOutput) } +func (i GlossaryTermsPairArgs) ToOutput(ctx context.Context) pulumix.Output[GlossaryTermsPair] { + return pulumix.Output[GlossaryTermsPair]{ + OutputState: i.ToGlossaryTermsPairOutputWithContext(ctx).OutputState, + } +} + func (i GlossaryTermsPairArgs) ToGlossaryTermsPairPtrOutput() GlossaryTermsPairPtrOutput { return i.ToGlossaryTermsPairPtrOutputWithContext(context.Background()) } @@ -512,6 +603,12 @@ func (i *glossaryTermsPairPtrType) ToGlossaryTermsPairPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(GlossaryTermsPairPtrOutput) } +func (i *glossaryTermsPairPtrType) ToOutput(ctx context.Context) pulumix.Output[*GlossaryTermsPair] { + return pulumix.Output[*GlossaryTermsPair]{ + OutputState: i.ToGlossaryTermsPairPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single entry for an unidirectional glossary. type GlossaryTermsPairOutput struct{ *pulumi.OutputState } @@ -537,6 +634,12 @@ func (o GlossaryTermsPairOutput) ToGlossaryTermsPairPtrOutputWithContext(ctx con }).(GlossaryTermsPairPtrOutput) } +func (o GlossaryTermsPairOutput) ToOutput(ctx context.Context) pulumix.Output[GlossaryTermsPair] { + return pulumix.Output[GlossaryTermsPair]{ + OutputState: o.OutputState, + } +} + // The source term is the term that will get match in the text, func (o GlossaryTermsPairOutput) SourceTerm() GlossaryTermPtrOutput { return o.ApplyT(func(v GlossaryTermsPair) *GlossaryTerm { return v.SourceTerm }).(GlossaryTermPtrOutput) @@ -561,6 +664,12 @@ func (o GlossaryTermsPairPtrOutput) ToGlossaryTermsPairPtrOutputWithContext(ctx return o } +func (o GlossaryTermsPairPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlossaryTermsPair] { + return pulumix.Output[*GlossaryTermsPair]{ + OutputState: o.OutputState, + } +} + func (o GlossaryTermsPairPtrOutput) Elem() GlossaryTermsPairOutput { return o.ApplyT(func(v *GlossaryTermsPair) GlossaryTermsPair { if v != nil { @@ -614,6 +723,12 @@ func (o GlossaryTermsPairResponseOutput) ToGlossaryTermsPairResponseOutputWithCo return o } +func (o GlossaryTermsPairResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GlossaryTermsPairResponse] { + return pulumix.Output[GlossaryTermsPairResponse]{ + OutputState: o.OutputState, + } +} + // The source term is the term that will get match in the text, func (o GlossaryTermsPairResponseOutput) SourceTerm() GlossaryTermResponseOutput { return o.ApplyT(func(v GlossaryTermsPairResponse) GlossaryTermResponse { return v.SourceTerm }).(GlossaryTermResponseOutput) @@ -659,6 +774,12 @@ func (i GlossaryTermsSetArgs) ToGlossaryTermsSetOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GlossaryTermsSetOutput) } +func (i GlossaryTermsSetArgs) ToOutput(ctx context.Context) pulumix.Output[GlossaryTermsSet] { + return pulumix.Output[GlossaryTermsSet]{ + OutputState: i.ToGlossaryTermsSetOutputWithContext(ctx).OutputState, + } +} + func (i GlossaryTermsSetArgs) ToGlossaryTermsSetPtrOutput() GlossaryTermsSetPtrOutput { return i.ToGlossaryTermsSetPtrOutputWithContext(context.Background()) } @@ -700,6 +821,12 @@ func (i *glossaryTermsSetPtrType) ToGlossaryTermsSetPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(GlossaryTermsSetPtrOutput) } +func (i *glossaryTermsSetPtrType) ToOutput(ctx context.Context) pulumix.Output[*GlossaryTermsSet] { + return pulumix.Output[*GlossaryTermsSet]{ + OutputState: i.ToGlossaryTermsSetPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a single entry for an equivalent term set glossary. This is used for equivalent term sets where each term can be replaced by the other terms in the set. type GlossaryTermsSetOutput struct{ *pulumi.OutputState } @@ -725,6 +852,12 @@ func (o GlossaryTermsSetOutput) ToGlossaryTermsSetPtrOutputWithContext(ctx conte }).(GlossaryTermsSetPtrOutput) } +func (o GlossaryTermsSetOutput) ToOutput(ctx context.Context) pulumix.Output[GlossaryTermsSet] { + return pulumix.Output[GlossaryTermsSet]{ + OutputState: o.OutputState, + } +} + // Each term in the set represents a term that can be replaced by the other terms. func (o GlossaryTermsSetOutput) Terms() GlossaryTermArrayOutput { return o.ApplyT(func(v GlossaryTermsSet) []GlossaryTerm { return v.Terms }).(GlossaryTermArrayOutput) @@ -744,6 +877,12 @@ func (o GlossaryTermsSetPtrOutput) ToGlossaryTermsSetPtrOutputWithContext(ctx co return o } +func (o GlossaryTermsSetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GlossaryTermsSet] { + return pulumix.Output[*GlossaryTermsSet]{ + OutputState: o.OutputState, + } +} + func (o GlossaryTermsSetPtrOutput) Elem() GlossaryTermsSetOutput { return o.ApplyT(func(v *GlossaryTermsSet) GlossaryTermsSet { if v != nil { @@ -785,6 +924,12 @@ func (o GlossaryTermsSetResponseOutput) ToGlossaryTermsSetResponseOutputWithCont return o } +func (o GlossaryTermsSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GlossaryTermsSetResponse] { + return pulumix.Output[GlossaryTermsSetResponse]{ + OutputState: o.OutputState, + } +} + // Each term in the set represents a term that can be replaced by the other terms. func (o GlossaryTermsSetResponseOutput) Terms() GlossaryTermResponseArrayOutput { return o.ApplyT(func(v GlossaryTermsSetResponse) []GlossaryTermResponse { return v.Terms }).(GlossaryTermResponseArrayOutput) @@ -829,6 +974,12 @@ func (i LanguageCodePairArgs) ToLanguageCodePairOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(LanguageCodePairOutput) } +func (i LanguageCodePairArgs) ToOutput(ctx context.Context) pulumix.Output[LanguageCodePair] { + return pulumix.Output[LanguageCodePair]{ + OutputState: i.ToLanguageCodePairOutputWithContext(ctx).OutputState, + } +} + func (i LanguageCodePairArgs) ToLanguageCodePairPtrOutput() LanguageCodePairPtrOutput { return i.ToLanguageCodePairPtrOutputWithContext(context.Background()) } @@ -870,6 +1021,12 @@ func (i *languageCodePairPtrType) ToLanguageCodePairPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(LanguageCodePairPtrOutput) } +func (i *languageCodePairPtrType) ToOutput(ctx context.Context) pulumix.Output[*LanguageCodePair] { + return pulumix.Output[*LanguageCodePair]{ + OutputState: i.ToLanguageCodePairPtrOutputWithContext(ctx).OutputState, + } +} + // Used with unidirectional glossaries. type LanguageCodePairOutput struct{ *pulumi.OutputState } @@ -895,6 +1052,12 @@ func (o LanguageCodePairOutput) ToLanguageCodePairPtrOutputWithContext(ctx conte }).(LanguageCodePairPtrOutput) } +func (o LanguageCodePairOutput) ToOutput(ctx context.Context) pulumix.Output[LanguageCodePair] { + return pulumix.Output[LanguageCodePair]{ + OutputState: o.OutputState, + } +} + // The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code. func (o LanguageCodePairOutput) SourceLanguageCode() pulumi.StringOutput { return o.ApplyT(func(v LanguageCodePair) string { return v.SourceLanguageCode }).(pulumi.StringOutput) @@ -919,6 +1082,12 @@ func (o LanguageCodePairPtrOutput) ToLanguageCodePairPtrOutputWithContext(ctx co return o } +func (o LanguageCodePairPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LanguageCodePair] { + return pulumix.Output[*LanguageCodePair]{ + OutputState: o.OutputState, + } +} + func (o LanguageCodePairPtrOutput) Elem() LanguageCodePairOutput { return o.ApplyT(func(v *LanguageCodePair) LanguageCodePair { if v != nil { @@ -972,6 +1141,12 @@ func (o LanguageCodePairResponseOutput) ToLanguageCodePairResponseOutputWithCont return o } +func (o LanguageCodePairResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LanguageCodePairResponse] { + return pulumix.Output[LanguageCodePairResponse]{ + OutputState: o.OutputState, + } +} + // The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code. func (o LanguageCodePairResponseOutput) SourceLanguageCode() pulumi.StringOutput { return o.ApplyT(func(v LanguageCodePairResponse) string { return v.SourceLanguageCode }).(pulumi.StringOutput) @@ -1017,6 +1192,12 @@ func (i LanguageCodesSetArgs) ToLanguageCodesSetOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(LanguageCodesSetOutput) } +func (i LanguageCodesSetArgs) ToOutput(ctx context.Context) pulumix.Output[LanguageCodesSet] { + return pulumix.Output[LanguageCodesSet]{ + OutputState: i.ToLanguageCodesSetOutputWithContext(ctx).OutputState, + } +} + func (i LanguageCodesSetArgs) ToLanguageCodesSetPtrOutput() LanguageCodesSetPtrOutput { return i.ToLanguageCodesSetPtrOutputWithContext(context.Background()) } @@ -1058,6 +1239,12 @@ func (i *languageCodesSetPtrType) ToLanguageCodesSetPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(LanguageCodesSetPtrOutput) } +func (i *languageCodesSetPtrType) ToOutput(ctx context.Context) pulumix.Output[*LanguageCodesSet] { + return pulumix.Output[*LanguageCodesSet]{ + OutputState: i.ToLanguageCodesSetPtrOutputWithContext(ctx).OutputState, + } +} + // Used with equivalent term set glossaries. type LanguageCodesSetOutput struct{ *pulumi.OutputState } @@ -1083,6 +1270,12 @@ func (o LanguageCodesSetOutput) ToLanguageCodesSetPtrOutputWithContext(ctx conte }).(LanguageCodesSetPtrOutput) } +func (o LanguageCodesSetOutput) ToOutput(ctx context.Context) pulumix.Output[LanguageCodesSet] { + return pulumix.Output[LanguageCodesSet]{ + OutputState: o.OutputState, + } +} + // The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code. func (o LanguageCodesSetOutput) LanguageCodes() pulumi.StringArrayOutput { return o.ApplyT(func(v LanguageCodesSet) []string { return v.LanguageCodes }).(pulumi.StringArrayOutput) @@ -1102,6 +1295,12 @@ func (o LanguageCodesSetPtrOutput) ToLanguageCodesSetPtrOutputWithContext(ctx co return o } +func (o LanguageCodesSetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LanguageCodesSet] { + return pulumix.Output[*LanguageCodesSet]{ + OutputState: o.OutputState, + } +} + func (o LanguageCodesSetPtrOutput) Elem() LanguageCodesSetOutput { return o.ApplyT(func(v *LanguageCodesSet) LanguageCodesSet { if v != nil { @@ -1143,6 +1342,12 @@ func (o LanguageCodesSetResponseOutput) ToLanguageCodesSetResponseOutputWithCont return o } +func (o LanguageCodesSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LanguageCodesSetResponse] { + return pulumix.Output[LanguageCodesSetResponse]{ + OutputState: o.OutputState, + } +} + // The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code. func (o LanguageCodesSetResponseOutput) LanguageCodes() pulumi.StringArrayOutput { return o.ApplyT(func(v LanguageCodesSetResponse) []string { return v.LanguageCodes }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/translate/v3beta1/getGlossary.go b/sdk/go/google/translate/v3beta1/getGlossary.go index 43339e589b..f7cb212e12 100644 --- a/sdk/go/google/translate/v3beta1/getGlossary.go +++ b/sdk/go/google/translate/v3beta1/getGlossary.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist. @@ -82,6 +83,12 @@ func (o LookupGlossaryResultOutput) ToLookupGlossaryResultOutputWithContext(ctx return o } +func (o LookupGlossaryResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGlossaryResult] { + return pulumix.Output[LookupGlossaryResult]{ + OutputState: o.OutputState, + } +} + // When the glossary creation was finished. func (o LookupGlossaryResultOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v LookupGlossaryResult) string { return v.EndTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/translate/v3beta1/glossary.go b/sdk/go/google/translate/v3beta1/glossary.go index 7726789b6c..8c63068279 100644 --- a/sdk/go/google/translate/v3beta1/glossary.go +++ b/sdk/go/google/translate/v3beta1/glossary.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist. @@ -131,6 +132,12 @@ func (i *Glossary) ToGlossaryOutputWithContext(ctx context.Context) GlossaryOutp return pulumi.ToOutputWithContext(ctx, i).(GlossaryOutput) } +func (i *Glossary) ToOutput(ctx context.Context) pulumix.Output[*Glossary] { + return pulumix.Output[*Glossary]{ + OutputState: i.ToGlossaryOutputWithContext(ctx).OutputState, + } +} + type GlossaryOutput struct{ *pulumi.OutputState } func (GlossaryOutput) ElementType() reflect.Type { @@ -145,6 +152,12 @@ func (o GlossaryOutput) ToGlossaryOutputWithContext(ctx context.Context) Glossar return o } +func (o GlossaryOutput) ToOutput(ctx context.Context) pulumix.Output[*Glossary] { + return pulumix.Output[*Glossary]{ + OutputState: o.OutputState, + } +} + // When the glossary creation was finished. func (o GlossaryOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v *Glossary) pulumi.StringOutput { return v.EndTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/translate/v3beta1/pulumiTypes.go b/sdk/go/google/translate/v3beta1/pulumiTypes.go index 968053b902..3342784196 100644 --- a/sdk/go/google/translate/v3beta1/pulumiTypes.go +++ b/sdk/go/google/translate/v3beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i GcsSourceArgs) ToGcsSourceOutputWithContext(ctx context.Context) GcsSour return pulumi.ToOutputWithContext(ctx, i).(GcsSourceOutput) } +func (i GcsSourceArgs) ToOutput(ctx context.Context) pulumix.Output[GcsSource] { + return pulumix.Output[GcsSource]{ + OutputState: i.ToGcsSourceOutputWithContext(ctx).OutputState, + } +} + // The Google Cloud Storage location for the input content. type GcsSourceOutput struct{ *pulumi.OutputState } @@ -63,6 +70,12 @@ func (o GcsSourceOutput) ToGcsSourceOutputWithContext(ctx context.Context) GcsSo return o } +func (o GcsSourceOutput) ToOutput(ctx context.Context) pulumix.Output[GcsSource] { + return pulumix.Output[GcsSource]{ + OutputState: o.OutputState, + } +} + // Source data URI. For example, `gs://my_bucket/my_object`. func (o GcsSourceOutput) InputUri() pulumi.StringOutput { return o.ApplyT(func(v GcsSource) string { return v.InputUri }).(pulumi.StringOutput) @@ -89,6 +102,12 @@ func (o GcsSourceResponseOutput) ToGcsSourceResponseOutputWithContext(ctx contex return o } +func (o GcsSourceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GcsSourceResponse] { + return pulumix.Output[GcsSourceResponse]{ + OutputState: o.OutputState, + } +} + // Source data URI. For example, `gs://my_bucket/my_object`. func (o GcsSourceResponseOutput) InputUri() pulumi.StringOutput { return o.ApplyT(func(v GcsSourceResponse) string { return v.InputUri }).(pulumi.StringOutput) @@ -129,6 +148,12 @@ func (i GlossaryInputConfigArgs) ToGlossaryInputConfigOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(GlossaryInputConfigOutput) } +func (i GlossaryInputConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GlossaryInputConfig] { + return pulumix.Output[GlossaryInputConfig]{ + OutputState: i.ToGlossaryInputConfigOutputWithContext(ctx).OutputState, + } +} + // Input configuration for glossaries. type GlossaryInputConfigOutput struct{ *pulumi.OutputState } @@ -144,6 +169,12 @@ func (o GlossaryInputConfigOutput) ToGlossaryInputConfigOutputWithContext(ctx co return o } +func (o GlossaryInputConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GlossaryInputConfig] { + return pulumix.Output[GlossaryInputConfig]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): 2 column file, tab- or comma-separated. The first column is source text. The second column is target text. The file must not contain headers. That is, the first row is data, not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary). func (o GlossaryInputConfigOutput) GcsSource() GcsSourceOutput { return o.ApplyT(func(v GlossaryInputConfig) GcsSource { return v.GcsSource }).(GcsSourceOutput) @@ -170,6 +201,12 @@ func (o GlossaryInputConfigResponseOutput) ToGlossaryInputConfigResponseOutputWi return o } +func (o GlossaryInputConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GlossaryInputConfigResponse] { + return pulumix.Output[GlossaryInputConfigResponse]{ + OutputState: o.OutputState, + } +} + // Google Cloud Storage location of glossary data. File format is determined based on the filename extension. API returns [google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file formats. Wildcards are not allowed. This must be a single file in one of the following formats: For unidirectional glossaries: - TSV/CSV (`.tsv`/`.csv`): 2 column file, tab- or comma-separated. The first column is source text. The second column is target text. The file must not contain headers. That is, the first row is data, not column names. - TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. For equivalent term sets glossaries: - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary). func (o GlossaryInputConfigResponseOutput) GcsSource() GcsSourceResponseOutput { return o.ApplyT(func(v GlossaryInputConfigResponse) GcsSourceResponse { return v.GcsSource }).(GcsSourceResponseOutput) @@ -214,6 +251,12 @@ func (i LanguageCodePairArgs) ToLanguageCodePairOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(LanguageCodePairOutput) } +func (i LanguageCodePairArgs) ToOutput(ctx context.Context) pulumix.Output[LanguageCodePair] { + return pulumix.Output[LanguageCodePair]{ + OutputState: i.ToLanguageCodePairOutputWithContext(ctx).OutputState, + } +} + func (i LanguageCodePairArgs) ToLanguageCodePairPtrOutput() LanguageCodePairPtrOutput { return i.ToLanguageCodePairPtrOutputWithContext(context.Background()) } @@ -255,6 +298,12 @@ func (i *languageCodePairPtrType) ToLanguageCodePairPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(LanguageCodePairPtrOutput) } +func (i *languageCodePairPtrType) ToOutput(ctx context.Context) pulumix.Output[*LanguageCodePair] { + return pulumix.Output[*LanguageCodePair]{ + OutputState: i.ToLanguageCodePairPtrOutputWithContext(ctx).OutputState, + } +} + // Used with unidirectional glossaries. type LanguageCodePairOutput struct{ *pulumi.OutputState } @@ -280,6 +329,12 @@ func (o LanguageCodePairOutput) ToLanguageCodePairPtrOutputWithContext(ctx conte }).(LanguageCodePairPtrOutput) } +func (o LanguageCodePairOutput) ToOutput(ctx context.Context) pulumix.Output[LanguageCodePair] { + return pulumix.Output[LanguageCodePair]{ + OutputState: o.OutputState, + } +} + // The BCP-47 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code. func (o LanguageCodePairOutput) SourceLanguageCode() pulumi.StringOutput { return o.ApplyT(func(v LanguageCodePair) string { return v.SourceLanguageCode }).(pulumi.StringOutput) @@ -304,6 +359,12 @@ func (o LanguageCodePairPtrOutput) ToLanguageCodePairPtrOutputWithContext(ctx co return o } +func (o LanguageCodePairPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LanguageCodePair] { + return pulumix.Output[*LanguageCodePair]{ + OutputState: o.OutputState, + } +} + func (o LanguageCodePairPtrOutput) Elem() LanguageCodePairOutput { return o.ApplyT(func(v *LanguageCodePair) LanguageCodePair { if v != nil { @@ -357,6 +418,12 @@ func (o LanguageCodePairResponseOutput) ToLanguageCodePairResponseOutputWithCont return o } +func (o LanguageCodePairResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LanguageCodePairResponse] { + return pulumix.Output[LanguageCodePairResponse]{ + OutputState: o.OutputState, + } +} + // The BCP-47 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code. func (o LanguageCodePairResponseOutput) SourceLanguageCode() pulumi.StringOutput { return o.ApplyT(func(v LanguageCodePairResponse) string { return v.SourceLanguageCode }).(pulumi.StringOutput) @@ -402,6 +469,12 @@ func (i LanguageCodesSetArgs) ToLanguageCodesSetOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(LanguageCodesSetOutput) } +func (i LanguageCodesSetArgs) ToOutput(ctx context.Context) pulumix.Output[LanguageCodesSet] { + return pulumix.Output[LanguageCodesSet]{ + OutputState: i.ToLanguageCodesSetOutputWithContext(ctx).OutputState, + } +} + func (i LanguageCodesSetArgs) ToLanguageCodesSetPtrOutput() LanguageCodesSetPtrOutput { return i.ToLanguageCodesSetPtrOutputWithContext(context.Background()) } @@ -443,6 +516,12 @@ func (i *languageCodesSetPtrType) ToLanguageCodesSetPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(LanguageCodesSetPtrOutput) } +func (i *languageCodesSetPtrType) ToOutput(ctx context.Context) pulumix.Output[*LanguageCodesSet] { + return pulumix.Output[*LanguageCodesSet]{ + OutputState: i.ToLanguageCodesSetPtrOutputWithContext(ctx).OutputState, + } +} + // Used with equivalent term set glossaries. type LanguageCodesSetOutput struct{ *pulumi.OutputState } @@ -468,6 +547,12 @@ func (o LanguageCodesSetOutput) ToLanguageCodesSetPtrOutputWithContext(ctx conte }).(LanguageCodesSetPtrOutput) } +func (o LanguageCodesSetOutput) ToOutput(ctx context.Context) pulumix.Output[LanguageCodesSet] { + return pulumix.Output[LanguageCodesSet]{ + OutputState: o.OutputState, + } +} + // The BCP-47 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code. func (o LanguageCodesSetOutput) LanguageCodes() pulumi.StringArrayOutput { return o.ApplyT(func(v LanguageCodesSet) []string { return v.LanguageCodes }).(pulumi.StringArrayOutput) @@ -487,6 +572,12 @@ func (o LanguageCodesSetPtrOutput) ToLanguageCodesSetPtrOutputWithContext(ctx co return o } +func (o LanguageCodesSetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*LanguageCodesSet] { + return pulumix.Output[*LanguageCodesSet]{ + OutputState: o.OutputState, + } +} + func (o LanguageCodesSetPtrOutput) Elem() LanguageCodesSetOutput { return o.ApplyT(func(v *LanguageCodesSet) LanguageCodesSet { if v != nil { @@ -528,6 +619,12 @@ func (o LanguageCodesSetResponseOutput) ToLanguageCodesSetResponseOutputWithCont return o } +func (o LanguageCodesSetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LanguageCodesSetResponse] { + return pulumix.Output[LanguageCodesSetResponse]{ + OutputState: o.OutputState, + } +} + // The BCP-47 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code. func (o LanguageCodesSetResponseOutput) LanguageCodes() pulumi.StringArrayOutput { return o.ApplyT(func(v LanguageCodesSetResponse) []string { return v.LanguageCodes }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/vision/v1/getProduct.go b/sdk/go/google/vision/v1/getProduct.go index 8398542d96..0ac081b6cd 100644 --- a/sdk/go/google/vision/v1/getProduct.go +++ b/sdk/go/google/vision/v1/getProduct.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information associated with a Product. Possible errors: * Returns NOT_FOUND if the Product does not exist. @@ -78,6 +79,12 @@ func (o LookupProductResultOutput) ToLookupProductResultOutputWithContext(ctx co return o } +func (o LookupProductResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProductResult] { + return pulumix.Output[LookupProductResult]{ + OutputState: o.OutputState, + } +} + // User-provided metadata to be stored with this product. Must be at most 4096 characters long. func (o LookupProductResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupProductResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/vision/v1/getProductSet.go b/sdk/go/google/vision/v1/getProductSet.go index 859abf8d80..fabcb565b9 100644 --- a/sdk/go/google/vision/v1/getProductSet.go +++ b/sdk/go/google/vision/v1/getProductSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information associated with a ProductSet. Possible errors: * Returns NOT_FOUND if the ProductSet does not exist. @@ -76,6 +77,12 @@ func (o LookupProductSetResultOutput) ToLookupProductSetResultOutputWithContext( return o } +func (o LookupProductSetResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupProductSetResult] { + return pulumix.Output[LookupProductSetResult]{ + OutputState: o.OutputState, + } +} + // The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long. func (o LookupProductSetResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupProductSetResult) string { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/vision/v1/getReferenceImage.go b/sdk/go/google/vision/v1/getReferenceImage.go index 8ca20fe8a9..5676b312f6 100644 --- a/sdk/go/google/vision/v1/getReferenceImage.go +++ b/sdk/go/google/vision/v1/getReferenceImage.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets information associated with a ReferenceImage. Possible errors: * Returns NOT_FOUND if the specified image does not exist. @@ -76,6 +77,12 @@ func (o LookupReferenceImageResultOutput) ToLookupReferenceImageResultOutputWith return o } +func (o LookupReferenceImageResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupReferenceImageResult] { + return pulumix.Output[LookupReferenceImageResult]{ + OutputState: o.OutputState, + } +} + // Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not). func (o LookupReferenceImageResultOutput) BoundingPolys() BoundingPolyResponseArrayOutput { return o.ApplyT(func(v LookupReferenceImageResult) []BoundingPolyResponse { return v.BoundingPolys }).(BoundingPolyResponseArrayOutput) diff --git a/sdk/go/google/vision/v1/product.go b/sdk/go/google/vision/v1/product.go index d00c0cfb06..dd8106e2cd 100644 --- a/sdk/go/google/vision/v1/product.go +++ b/sdk/go/google/vision/v1/product.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates and returns a new product resource. Possible errors: * Returns INVALID_ARGUMENT if display_name is missing or longer than 4096 characters. * Returns INVALID_ARGUMENT if description is longer than 4096 characters. * Returns INVALID_ARGUMENT if product_category is missing or invalid. @@ -133,6 +134,12 @@ func (i *Product) ToProductOutputWithContext(ctx context.Context) ProductOutput return pulumi.ToOutputWithContext(ctx, i).(ProductOutput) } +func (i *Product) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: i.ToProductOutputWithContext(ctx).OutputState, + } +} + type ProductOutput struct{ *pulumi.OutputState } func (ProductOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o ProductOutput) ToProductOutputWithContext(ctx context.Context) ProductOu return o } +func (o ProductOutput) ToOutput(ctx context.Context) pulumix.Output[*Product] { + return pulumix.Output[*Product]{ + OutputState: o.OutputState, + } +} + // User-provided metadata to be stored with this product. Must be at most 4096 characters long. func (o ProductOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *Product) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/google/vision/v1/productSet.go b/sdk/go/google/vision/v1/productSet.go index 8d968f37d2..69b9f19265 100644 --- a/sdk/go/google/vision/v1/productSet.go +++ b/sdk/go/google/vision/v1/productSet.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates and returns a new ProductSet resource. Possible errors: * Returns INVALID_ARGUMENT if display_name is missing, or is longer than 4096 characters. @@ -119,6 +120,12 @@ func (i *ProductSet) ToProductSetOutputWithContext(ctx context.Context) ProductS return pulumi.ToOutputWithContext(ctx, i).(ProductSetOutput) } +func (i *ProductSet) ToOutput(ctx context.Context) pulumix.Output[*ProductSet] { + return pulumix.Output[*ProductSet]{ + OutputState: i.ToProductSetOutputWithContext(ctx).OutputState, + } +} + type ProductSetOutput struct{ *pulumi.OutputState } func (ProductSetOutput) ElementType() reflect.Type { @@ -133,6 +140,12 @@ func (o ProductSetOutput) ToProductSetOutputWithContext(ctx context.Context) Pro return o } +func (o ProductSetOutput) ToOutput(ctx context.Context) pulumix.Output[*ProductSet] { + return pulumix.Output[*ProductSet]{ + OutputState: o.OutputState, + } +} + // The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long. func (o ProductSetOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *ProductSet) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) diff --git a/sdk/go/google/vision/v1/pulumiTypes.go b/sdk/go/google/vision/v1/pulumiTypes.go index 2d6c1d7a8b..6b37a7d508 100644 --- a/sdk/go/google/vision/v1/pulumiTypes.go +++ b/sdk/go/google/vision/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i BoundingPolyArgs) ToBoundingPolyOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BoundingPolyOutput) } +func (i BoundingPolyArgs) ToOutput(ctx context.Context) pulumix.Output[BoundingPoly] { + return pulumix.Output[BoundingPoly]{ + OutputState: i.ToBoundingPolyOutputWithContext(ctx).OutputState, + } +} + // BoundingPolyArrayInput is an input type that accepts BoundingPolyArray and BoundingPolyArrayOutput values. // You can construct a concrete instance of `BoundingPolyArrayInput` via: // @@ -77,6 +84,12 @@ func (i BoundingPolyArray) ToBoundingPolyArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(BoundingPolyArrayOutput) } +func (i BoundingPolyArray) ToOutput(ctx context.Context) pulumix.Output[[]BoundingPoly] { + return pulumix.Output[[]BoundingPoly]{ + OutputState: i.ToBoundingPolyArrayOutputWithContext(ctx).OutputState, + } +} + // A bounding polygon for the detected image annotation. type BoundingPolyOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o BoundingPolyOutput) ToBoundingPolyOutputWithContext(ctx context.Context) return o } +func (o BoundingPolyOutput) ToOutput(ctx context.Context) pulumix.Output[BoundingPoly] { + return pulumix.Output[BoundingPoly]{ + OutputState: o.OutputState, + } +} + // The bounding polygon normalized vertices. func (o BoundingPolyOutput) NormalizedVertices() NormalizedVertexArrayOutput { return o.ApplyT(func(v BoundingPoly) []NormalizedVertex { return v.NormalizedVertices }).(NormalizedVertexArrayOutput) @@ -116,6 +135,12 @@ func (o BoundingPolyArrayOutput) ToBoundingPolyArrayOutputWithContext(ctx contex return o } +func (o BoundingPolyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BoundingPoly] { + return pulumix.Output[[]BoundingPoly]{ + OutputState: o.OutputState, + } +} + func (o BoundingPolyArrayOutput) Index(i pulumi.IntInput) BoundingPolyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BoundingPoly { return vs[0].([]BoundingPoly)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o BoundingPolyResponseOutput) ToBoundingPolyResponseOutputWithContext(ctx return o } +func (o BoundingPolyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BoundingPolyResponse] { + return pulumix.Output[BoundingPolyResponse]{ + OutputState: o.OutputState, + } +} + // The bounding polygon normalized vertices. func (o BoundingPolyResponseOutput) NormalizedVertices() NormalizedVertexResponseArrayOutput { return o.ApplyT(func(v BoundingPolyResponse) []NormalizedVertexResponse { return v.NormalizedVertices }).(NormalizedVertexResponseArrayOutput) @@ -169,6 +200,12 @@ func (o BoundingPolyResponseArrayOutput) ToBoundingPolyResponseArrayOutputWithCo return o } +func (o BoundingPolyResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BoundingPolyResponse] { + return pulumix.Output[[]BoundingPolyResponse]{ + OutputState: o.OutputState, + } +} + func (o BoundingPolyResponseArrayOutput) Index(i pulumi.IntInput) BoundingPolyResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BoundingPolyResponse { return vs[0].([]BoundingPolyResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i KeyValueArgs) ToKeyValueOutputWithContext(ctx context.Context) KeyValueO return pulumi.ToOutputWithContext(ctx, i).(KeyValueOutput) } +func (i KeyValueArgs) ToOutput(ctx context.Context) pulumix.Output[KeyValue] { + return pulumix.Output[KeyValue]{ + OutputState: i.ToKeyValueOutputWithContext(ctx).OutputState, + } +} + // KeyValueArrayInput is an input type that accepts KeyValueArray and KeyValueArrayOutput values. // You can construct a concrete instance of `KeyValueArrayInput` via: // @@ -239,6 +282,12 @@ func (i KeyValueArray) ToKeyValueArrayOutputWithContext(ctx context.Context) Key return pulumi.ToOutputWithContext(ctx, i).(KeyValueArrayOutput) } +func (i KeyValueArray) ToOutput(ctx context.Context) pulumix.Output[[]KeyValue] { + return pulumix.Output[[]KeyValue]{ + OutputState: i.ToKeyValueArrayOutputWithContext(ctx).OutputState, + } +} + // A product label represented as a key-value pair. type KeyValueOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o KeyValueOutput) ToKeyValueOutputWithContext(ctx context.Context) KeyValu return o } +func (o KeyValueOutput) ToOutput(ctx context.Context) pulumix.Output[KeyValue] { + return pulumix.Output[KeyValue]{ + OutputState: o.OutputState, + } +} + // The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes. func (o KeyValueOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v KeyValue) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -278,6 +333,12 @@ func (o KeyValueArrayOutput) ToKeyValueArrayOutputWithContext(ctx context.Contex return o } +func (o KeyValueArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KeyValue] { + return pulumix.Output[[]KeyValue]{ + OutputState: o.OutputState, + } +} + func (o KeyValueArrayOutput) Index(i pulumi.IntInput) KeyValueOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KeyValue { return vs[0].([]KeyValue)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o KeyValueResponseOutput) ToKeyValueResponseOutputWithContext(ctx context. return o } +func (o KeyValueResponseOutput) ToOutput(ctx context.Context) pulumix.Output[KeyValueResponse] { + return pulumix.Output[KeyValueResponse]{ + OutputState: o.OutputState, + } +} + // The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes. func (o KeyValueResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v KeyValueResponse) string { return v.Key }).(pulumi.StringOutput) @@ -331,6 +398,12 @@ func (o KeyValueResponseArrayOutput) ToKeyValueResponseArrayOutputWithContext(ct return o } +func (o KeyValueResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KeyValueResponse] { + return pulumix.Output[[]KeyValueResponse]{ + OutputState: o.OutputState, + } +} + func (o KeyValueResponseArrayOutput) Index(i pulumi.IntInput) KeyValueResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KeyValueResponse { return vs[0].([]KeyValueResponse)[vs[1].(int)] @@ -376,6 +449,12 @@ func (i NormalizedVertexArgs) ToNormalizedVertexOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NormalizedVertexOutput) } +func (i NormalizedVertexArgs) ToOutput(ctx context.Context) pulumix.Output[NormalizedVertex] { + return pulumix.Output[NormalizedVertex]{ + OutputState: i.ToNormalizedVertexOutputWithContext(ctx).OutputState, + } +} + // NormalizedVertexArrayInput is an input type that accepts NormalizedVertexArray and NormalizedVertexArrayOutput values. // You can construct a concrete instance of `NormalizedVertexArrayInput` via: // @@ -401,6 +480,12 @@ func (i NormalizedVertexArray) ToNormalizedVertexArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NormalizedVertexArrayOutput) } +func (i NormalizedVertexArray) ToOutput(ctx context.Context) pulumix.Output[[]NormalizedVertex] { + return pulumix.Output[[]NormalizedVertex]{ + OutputState: i.ToNormalizedVertexArrayOutputWithContext(ctx).OutputState, + } +} + // A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1. type NormalizedVertexOutput struct{ *pulumi.OutputState } @@ -416,6 +501,12 @@ func (o NormalizedVertexOutput) ToNormalizedVertexOutputWithContext(ctx context. return o } +func (o NormalizedVertexOutput) ToOutput(ctx context.Context) pulumix.Output[NormalizedVertex] { + return pulumix.Output[NormalizedVertex]{ + OutputState: o.OutputState, + } +} + // X coordinate. func (o NormalizedVertexOutput) X() pulumi.Float64PtrOutput { return o.ApplyT(func(v NormalizedVertex) *float64 { return v.X }).(pulumi.Float64PtrOutput) @@ -440,6 +531,12 @@ func (o NormalizedVertexArrayOutput) ToNormalizedVertexArrayOutputWithContext(ct return o } +func (o NormalizedVertexArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NormalizedVertex] { + return pulumix.Output[[]NormalizedVertex]{ + OutputState: o.OutputState, + } +} + func (o NormalizedVertexArrayOutput) Index(i pulumi.IntInput) NormalizedVertexOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NormalizedVertex { return vs[0].([]NormalizedVertex)[vs[1].(int)] @@ -469,6 +566,12 @@ func (o NormalizedVertexResponseOutput) ToNormalizedVertexResponseOutputWithCont return o } +func (o NormalizedVertexResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NormalizedVertexResponse] { + return pulumix.Output[NormalizedVertexResponse]{ + OutputState: o.OutputState, + } +} + // X coordinate. func (o NormalizedVertexResponseOutput) X() pulumi.Float64Output { return o.ApplyT(func(v NormalizedVertexResponse) float64 { return v.X }).(pulumi.Float64Output) @@ -493,6 +596,12 @@ func (o NormalizedVertexResponseArrayOutput) ToNormalizedVertexResponseArrayOutp return o } +func (o NormalizedVertexResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NormalizedVertexResponse] { + return pulumix.Output[[]NormalizedVertexResponse]{ + OutputState: o.OutputState, + } +} + func (o NormalizedVertexResponseArrayOutput) Index(i pulumi.IntInput) NormalizedVertexResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NormalizedVertexResponse { return vs[0].([]NormalizedVertexResponse)[vs[1].(int)] @@ -524,6 +633,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -578,6 +693,12 @@ func (i VertexArgs) ToVertexOutputWithContext(ctx context.Context) VertexOutput return pulumi.ToOutputWithContext(ctx, i).(VertexOutput) } +func (i VertexArgs) ToOutput(ctx context.Context) pulumix.Output[Vertex] { + return pulumix.Output[Vertex]{ + OutputState: i.ToVertexOutputWithContext(ctx).OutputState, + } +} + // VertexArrayInput is an input type that accepts VertexArray and VertexArrayOutput values. // You can construct a concrete instance of `VertexArrayInput` via: // @@ -603,6 +724,12 @@ func (i VertexArray) ToVertexArrayOutputWithContext(ctx context.Context) VertexA return pulumi.ToOutputWithContext(ctx, i).(VertexArrayOutput) } +func (i VertexArray) ToOutput(ctx context.Context) pulumix.Output[[]Vertex] { + return pulumix.Output[[]Vertex]{ + OutputState: i.ToVertexArrayOutputWithContext(ctx).OutputState, + } +} + // A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image. type VertexOutput struct{ *pulumi.OutputState } @@ -618,6 +745,12 @@ func (o VertexOutput) ToVertexOutputWithContext(ctx context.Context) VertexOutpu return o } +func (o VertexOutput) ToOutput(ctx context.Context) pulumix.Output[Vertex] { + return pulumix.Output[Vertex]{ + OutputState: o.OutputState, + } +} + // X coordinate. func (o VertexOutput) X() pulumi.IntPtrOutput { return o.ApplyT(func(v Vertex) *int { return v.X }).(pulumi.IntPtrOutput) @@ -642,6 +775,12 @@ func (o VertexArrayOutput) ToVertexArrayOutputWithContext(ctx context.Context) V return o } +func (o VertexArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Vertex] { + return pulumix.Output[[]Vertex]{ + OutputState: o.OutputState, + } +} + func (o VertexArrayOutput) Index(i pulumi.IntInput) VertexOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Vertex { return vs[0].([]Vertex)[vs[1].(int)] @@ -671,6 +810,12 @@ func (o VertexResponseOutput) ToVertexResponseOutputWithContext(ctx context.Cont return o } +func (o VertexResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VertexResponse] { + return pulumix.Output[VertexResponse]{ + OutputState: o.OutputState, + } +} + // X coordinate. func (o VertexResponseOutput) X() pulumi.IntOutput { return o.ApplyT(func(v VertexResponse) int { return v.X }).(pulumi.IntOutput) @@ -695,6 +840,12 @@ func (o VertexResponseArrayOutput) ToVertexResponseArrayOutputWithContext(ctx co return o } +func (o VertexResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VertexResponse] { + return pulumix.Output[[]VertexResponse]{ + OutputState: o.OutputState, + } +} + func (o VertexResponseArrayOutput) Index(i pulumi.IntInput) VertexResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VertexResponse { return vs[0].([]VertexResponse)[vs[1].(int)] diff --git a/sdk/go/google/vision/v1/referenceImage.go b/sdk/go/google/vision/v1/referenceImage.go index 9756104b17..f86905ef1b 100644 --- a/sdk/go/google/vision/v1/referenceImage.go +++ b/sdk/go/google/vision/v1/referenceImage.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates and returns a new ReferenceImage resource. The `bounding_poly` field is optional. If `bounding_poly` is not specified, the system will try to detect regions of interest in the image that are compatible with the product_category on the parent product. If it is specified, detection is ALWAYS skipped. The system converts polygons into non-rotated rectangles. Note that the pipeline will resize the image if the image resolution is too large to process (above 50MP). Possible errors: * Returns INVALID_ARGUMENT if the image_uri is missing or longer than 4096 characters. * Returns INVALID_ARGUMENT if the product does not exist. * Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing compatible with the parent product's product_category is detected. * Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. @@ -132,6 +133,12 @@ func (i *ReferenceImage) ToReferenceImageOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ReferenceImageOutput) } +func (i *ReferenceImage) ToOutput(ctx context.Context) pulumix.Output[*ReferenceImage] { + return pulumix.Output[*ReferenceImage]{ + OutputState: i.ToReferenceImageOutputWithContext(ctx).OutputState, + } +} + type ReferenceImageOutput struct{ *pulumi.OutputState } func (ReferenceImageOutput) ElementType() reflect.Type { @@ -146,6 +153,12 @@ func (o ReferenceImageOutput) ToReferenceImageOutputWithContext(ctx context.Cont return o } +func (o ReferenceImageOutput) ToOutput(ctx context.Context) pulumix.Output[*ReferenceImage] { + return pulumix.Output[*ReferenceImage]{ + OutputState: o.OutputState, + } +} + // Optional. Bounding polygons around the areas of interest in the reference image. If this field is empty, the system will try to detect regions of interest. At most 10 bounding polygons will be used. The provided shape is converted into a non-rotated rectangle. Once converted, the small edge of the rectangle must be greater than or equal to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 is not). func (o ReferenceImageOutput) BoundingPolys() BoundingPolyResponseArrayOutput { return o.ApplyT(func(v *ReferenceImage) BoundingPolyResponseArrayOutput { return v.BoundingPolys }).(BoundingPolyResponseArrayOutput) diff --git a/sdk/go/google/vmmigration/v1/cloneJob.go b/sdk/go/google/vmmigration/v1/cloneJob.go index 128488649f..6ab399f181 100644 --- a/sdk/go/google/vmmigration/v1/cloneJob.go +++ b/sdk/go/google/vmmigration/v1/cloneJob.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Initiates a Clone of a specific migrating VM. @@ -147,6 +148,12 @@ func (i *CloneJob) ToCloneJobOutputWithContext(ctx context.Context) CloneJobOutp return pulumi.ToOutputWithContext(ctx, i).(CloneJobOutput) } +func (i *CloneJob) ToOutput(ctx context.Context) pulumix.Output[*CloneJob] { + return pulumix.Output[*CloneJob]{ + OutputState: i.ToCloneJobOutputWithContext(ctx).OutputState, + } +} + type CloneJobOutput struct{ *pulumi.OutputState } func (CloneJobOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o CloneJobOutput) ToCloneJobOutputWithContext(ctx context.Context) CloneJo return o } +func (o CloneJobOutput) ToOutput(ctx context.Context) pulumix.Output[*CloneJob] { + return pulumix.Output[*CloneJob]{ + OutputState: o.OutputState, + } +} + // Required. The clone job identifier. func (o CloneJobOutput) CloneJobId() pulumi.StringOutput { return o.ApplyT(func(v *CloneJob) pulumi.StringOutput { return v.CloneJobId }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1/cutoverJob.go b/sdk/go/google/vmmigration/v1/cutoverJob.go index 8df582348e..2001db044f 100644 --- a/sdk/go/google/vmmigration/v1/cutoverJob.go +++ b/sdk/go/google/vmmigration/v1/cutoverJob.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Initiates a Cutover of a specific migrating VM. The returned LRO is completed when the cutover job resource is created and the job is initiated. @@ -151,6 +152,12 @@ func (i *CutoverJob) ToCutoverJobOutputWithContext(ctx context.Context) CutoverJ return pulumi.ToOutputWithContext(ctx, i).(CutoverJobOutput) } +func (i *CutoverJob) ToOutput(ctx context.Context) pulumix.Output[*CutoverJob] { + return pulumix.Output[*CutoverJob]{ + OutputState: i.ToCutoverJobOutputWithContext(ctx).OutputState, + } +} + type CutoverJobOutput struct{ *pulumi.OutputState } func (CutoverJobOutput) ElementType() reflect.Type { @@ -165,6 +172,12 @@ func (o CutoverJobOutput) ToCutoverJobOutputWithContext(ctx context.Context) Cut return o } +func (o CutoverJobOutput) ToOutput(ctx context.Context) pulumix.Output[*CutoverJob] { + return pulumix.Output[*CutoverJob]{ + OutputState: o.OutputState, + } +} + // Details of the target VM in Compute Engine. func (o CutoverJobOutput) ComputeEngineTargetDetails() ComputeEngineTargetDetailsResponseOutput { return o.ApplyT(func(v *CutoverJob) ComputeEngineTargetDetailsResponseOutput { return v.ComputeEngineTargetDetails }).(ComputeEngineTargetDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1/datacenterConnector.go b/sdk/go/google/vmmigration/v1/datacenterConnector.go index fe66762132..f16c64f797 100644 --- a/sdk/go/google/vmmigration/v1/datacenterConnector.go +++ b/sdk/go/google/vmmigration/v1/datacenterConnector.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new DatacenterConnector in a given Source. @@ -162,6 +163,12 @@ func (i *DatacenterConnector) ToDatacenterConnectorOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DatacenterConnectorOutput) } +func (i *DatacenterConnector) ToOutput(ctx context.Context) pulumix.Output[*DatacenterConnector] { + return pulumix.Output[*DatacenterConnector]{ + OutputState: i.ToDatacenterConnectorOutputWithContext(ctx).OutputState, + } +} + type DatacenterConnectorOutput struct{ *pulumi.OutputState } func (DatacenterConnectorOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o DatacenterConnectorOutput) ToDatacenterConnectorOutputWithContext(ctx co return o } +func (o DatacenterConnectorOutput) ToOutput(ctx context.Context) pulumix.Output[*DatacenterConnector] { + return pulumix.Output[*DatacenterConnector]{ + OutputState: o.OutputState, + } +} + // Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance. func (o DatacenterConnectorOutput) ApplianceInfrastructureVersion() pulumi.StringOutput { return o.ApplyT(func(v *DatacenterConnector) pulumi.StringOutput { return v.ApplianceInfrastructureVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1/getCloneJob.go b/sdk/go/google/vmmigration/v1/getCloneJob.go index 5bbfb9c4a3..7ca6229a8d 100644 --- a/sdk/go/google/vmmigration/v1/getCloneJob.go +++ b/sdk/go/google/vmmigration/v1/getCloneJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single CloneJob. @@ -88,6 +89,12 @@ func (o LookupCloneJobResultOutput) ToLookupCloneJobResultOutputWithContext(ctx return o } +func (o LookupCloneJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCloneJobResult] { + return pulumix.Output[LookupCloneJobResult]{ + OutputState: o.OutputState, + } +} + // Details of the target VM in Compute Engine. func (o LookupCloneJobResultOutput) ComputeEngineTargetDetails() ComputeEngineTargetDetailsResponseOutput { return o.ApplyT(func(v LookupCloneJobResult) ComputeEngineTargetDetailsResponse { return v.ComputeEngineTargetDetails }).(ComputeEngineTargetDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1/getCutoverJob.go b/sdk/go/google/vmmigration/v1/getCutoverJob.go index 6ca9cf7f66..5daf5f3404 100644 --- a/sdk/go/google/vmmigration/v1/getCutoverJob.go +++ b/sdk/go/google/vmmigration/v1/getCutoverJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single CutoverJob. @@ -92,6 +93,12 @@ func (o LookupCutoverJobResultOutput) ToLookupCutoverJobResultOutputWithContext( return o } +func (o LookupCutoverJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCutoverJobResult] { + return pulumix.Output[LookupCutoverJobResult]{ + OutputState: o.OutputState, + } +} + // Details of the target VM in Compute Engine. func (o LookupCutoverJobResultOutput) ComputeEngineTargetDetails() ComputeEngineTargetDetailsResponseOutput { return o.ApplyT(func(v LookupCutoverJobResult) ComputeEngineTargetDetailsResponse { return v.ComputeEngineTargetDetails }).(ComputeEngineTargetDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1/getDatacenterConnector.go b/sdk/go/google/vmmigration/v1/getDatacenterConnector.go index 948147f892..e693a34d31 100644 --- a/sdk/go/google/vmmigration/v1/getDatacenterConnector.go +++ b/sdk/go/google/vmmigration/v1/getDatacenterConnector.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single DatacenterConnector. @@ -98,6 +99,12 @@ func (o LookupDatacenterConnectorResultOutput) ToLookupDatacenterConnectorResult return o } +func (o LookupDatacenterConnectorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatacenterConnectorResult] { + return pulumix.Output[LookupDatacenterConnectorResult]{ + OutputState: o.OutputState, + } +} + // Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance. func (o LookupDatacenterConnectorResultOutput) ApplianceInfrastructureVersion() pulumi.StringOutput { return o.ApplyT(func(v LookupDatacenterConnectorResult) string { return v.ApplianceInfrastructureVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1/getGroup.go b/sdk/go/google/vmmigration/v1/getGroup.go index e120391c63..97fc4ba688 100644 --- a/sdk/go/google/vmmigration/v1/getGroup.go +++ b/sdk/go/google/vmmigration/v1/getGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Group. @@ -78,6 +79,12 @@ func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx contex return o } +func (o LookupGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupResult] { + return pulumix.Output[LookupGroupResult]{ + OutputState: o.OutputState, + } +} + // The create time timestamp. func (o LookupGroupResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupGroupResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1/getMigratingVm.go b/sdk/go/google/vmmigration/v1/getMigratingVm.go index 7315c13e84..de162d619a 100644 --- a/sdk/go/google/vmmigration/v1/getMigratingVm.go +++ b/sdk/go/google/vmmigration/v1/getMigratingVm.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single MigratingVm. @@ -112,6 +113,12 @@ func (o LookupMigratingVmResultOutput) ToLookupMigratingVmResultOutputWithContex return o } +func (o LookupMigratingVmResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMigratingVmResult] { + return pulumix.Output[LookupMigratingVmResult]{ + OutputState: o.OutputState, + } +} + // Details of the VM from an AWS source. func (o LookupMigratingVmResultOutput) AwsSourceVmDetails() AwsSourceVmDetailsResponseOutput { return o.ApplyT(func(v LookupMigratingVmResult) AwsSourceVmDetailsResponse { return v.AwsSourceVmDetails }).(AwsSourceVmDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1/getSource.go b/sdk/go/google/vmmigration/v1/getSource.go index 99eadff38b..dc0e27d466 100644 --- a/sdk/go/google/vmmigration/v1/getSource.go +++ b/sdk/go/google/vmmigration/v1/getSource.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Source. @@ -82,6 +83,12 @@ func (o LookupSourceResultOutput) ToLookupSourceResultOutputWithContext(ctx cont return o } +func (o LookupSourceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSourceResult] { + return pulumix.Output[LookupSourceResult]{ + OutputState: o.OutputState, + } +} + // AWS type source details. func (o LookupSourceResultOutput) Aws() AwsSourceDetailsResponseOutput { return o.ApplyT(func(v LookupSourceResult) AwsSourceDetailsResponse { return v.Aws }).(AwsSourceDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1/getTargetProject.go b/sdk/go/google/vmmigration/v1/getTargetProject.go index c3a038cf23..a00f04a030 100644 --- a/sdk/go/google/vmmigration/v1/getTargetProject.go +++ b/sdk/go/google/vmmigration/v1/getTargetProject.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`. @@ -78,6 +79,12 @@ func (o LookupTargetProjectResultOutput) ToLookupTargetProjectResultOutputWithCo return o } +func (o LookupTargetProjectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetProjectResult] { + return pulumix.Output[LookupTargetProjectResult]{ + OutputState: o.OutputState, + } +} + // The time this target project resource was created (not related to when the Compute Engine project it points to was created). func (o LookupTargetProjectResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetProjectResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1/getUtilizationReport.go b/sdk/go/google/vmmigration/v1/getUtilizationReport.go index 9de1e8db92..e97bd9341d 100644 --- a/sdk/go/google/vmmigration/v1/getUtilizationReport.go +++ b/sdk/go/google/vmmigration/v1/getUtilizationReport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single Utilization Report. @@ -92,6 +93,12 @@ func (o LookupUtilizationReportResultOutput) ToLookupUtilizationReportResultOutp return o } +func (o LookupUtilizationReportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUtilizationReportResult] { + return pulumix.Output[LookupUtilizationReportResult]{ + OutputState: o.OutputState, + } +} + // The time the report was created (this refers to the time of the request, not the time the report creation completed). func (o LookupUtilizationReportResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupUtilizationReportResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1/group.go b/sdk/go/google/vmmigration/v1/group.go index 7710626157..28351eeab2 100644 --- a/sdk/go/google/vmmigration/v1/group.go +++ b/sdk/go/google/vmmigration/v1/group.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Group in a given project and location. @@ -133,6 +134,12 @@ func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return pulumi.ToOutputWithContext(ctx, i).(GroupOutput) } +func (i *Group) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: i.ToGroupOutputWithContext(ctx).OutputState, + } +} + type GroupOutput struct{ *pulumi.OutputState } func (GroupOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return o } +func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: o.OutputState, + } +} + // The create time timestamp. func (o GroupOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Group) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1/migratingVm.go b/sdk/go/google/vmmigration/v1/migratingVm.go index 90e5afbfee..6579b6944c 100644 --- a/sdk/go/google/vmmigration/v1/migratingVm.go +++ b/sdk/go/google/vmmigration/v1/migratingVm.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new MigratingVm in a given Source. @@ -186,6 +187,12 @@ func (i *MigratingVm) ToMigratingVmOutputWithContext(ctx context.Context) Migrat return pulumi.ToOutputWithContext(ctx, i).(MigratingVmOutput) } +func (i *MigratingVm) ToOutput(ctx context.Context) pulumix.Output[*MigratingVm] { + return pulumix.Output[*MigratingVm]{ + OutputState: i.ToMigratingVmOutputWithContext(ctx).OutputState, + } +} + type MigratingVmOutput struct{ *pulumi.OutputState } func (MigratingVmOutput) ElementType() reflect.Type { @@ -200,6 +207,12 @@ func (o MigratingVmOutput) ToMigratingVmOutputWithContext(ctx context.Context) M return o } +func (o MigratingVmOutput) ToOutput(ctx context.Context) pulumix.Output[*MigratingVm] { + return pulumix.Output[*MigratingVm]{ + OutputState: o.OutputState, + } +} + // Details of the VM from an AWS source. func (o MigratingVmOutput) AwsSourceVmDetails() AwsSourceVmDetailsResponseOutput { return o.ApplyT(func(v *MigratingVm) AwsSourceVmDetailsResponseOutput { return v.AwsSourceVmDetails }).(AwsSourceVmDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1/pulumiEnums.go b/sdk/go/google/vmmigration/v1/pulumiEnums.go index 447c1946f4..d2f8ae9044 100644 --- a/sdk/go/google/vmmigration/v1/pulumiEnums.go +++ b/sdk/go/google/vmmigration/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The disk type to use in the VM. @@ -84,6 +85,12 @@ func (o ComputeEngineTargetDefaultsDiskTypeOutput) ToComputeEngineTargetDefaults }).(ComputeEngineTargetDefaultsDiskTypePtrOutput) } +func (o ComputeEngineTargetDefaultsDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDefaultsDiskType] { + return pulumix.Output[ComputeEngineTargetDefaultsDiskType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEngineTargetDefaultsDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o ComputeEngineTargetDefaultsDiskTypePtrOutput) ToComputeEngineTargetDefau return o } +func (o ComputeEngineTargetDefaultsDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaultsDiskType] { + return pulumix.Output[*ComputeEngineTargetDefaultsDiskType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEngineTargetDefaultsDiskTypePtrOutput) Elem() ComputeEngineTargetDefaultsDiskTypeOutput { return o.ApplyT(func(v *ComputeEngineTargetDefaultsDiskType) ComputeEngineTargetDefaultsDiskType { if v != nil { @@ -181,6 +194,12 @@ func (in *computeEngineTargetDefaultsDiskTypePtr) ToComputeEngineTargetDefaultsD return pulumi.ToOutputWithContext(ctx, in).(ComputeEngineTargetDefaultsDiskTypePtrOutput) } +func (in *computeEngineTargetDefaultsDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaultsDiskType] { + return pulumix.Output[*ComputeEngineTargetDefaultsDiskType]{ + OutputState: in.ToComputeEngineTargetDefaultsDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The license type to use in OS adaptation. type ComputeEngineTargetDefaultsLicenseType string @@ -253,6 +272,12 @@ func (o ComputeEngineTargetDefaultsLicenseTypeOutput) ToComputeEngineTargetDefau }).(ComputeEngineTargetDefaultsLicenseTypePtrOutput) } +func (o ComputeEngineTargetDefaultsLicenseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDefaultsLicenseType] { + return pulumix.Output[ComputeEngineTargetDefaultsLicenseType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEngineTargetDefaultsLicenseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o ComputeEngineTargetDefaultsLicenseTypePtrOutput) ToComputeEngineTargetDe return o } +func (o ComputeEngineTargetDefaultsLicenseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaultsLicenseType] { + return pulumix.Output[*ComputeEngineTargetDefaultsLicenseType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEngineTargetDefaultsLicenseTypePtrOutput) Elem() ComputeEngineTargetDefaultsLicenseTypeOutput { return o.ApplyT(func(v *ComputeEngineTargetDefaultsLicenseType) ComputeEngineTargetDefaultsLicenseType { if v != nil { @@ -350,6 +381,12 @@ func (in *computeEngineTargetDefaultsLicenseTypePtr) ToComputeEngineTargetDefaul return pulumi.ToOutputWithContext(ctx, in).(ComputeEngineTargetDefaultsLicenseTypePtrOutput) } +func (in *computeEngineTargetDefaultsLicenseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaultsLicenseType] { + return pulumix.Output[*ComputeEngineTargetDefaultsLicenseType]{ + OutputState: in.ToComputeEngineTargetDefaultsLicenseTypePtrOutputWithContext(ctx).OutputState, + } +} + // How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. type ComputeSchedulingOnHostMaintenance string @@ -422,6 +459,12 @@ func (o ComputeSchedulingOnHostMaintenanceOutput) ToComputeSchedulingOnHostMaint }).(ComputeSchedulingOnHostMaintenancePtrOutput) } +func (o ComputeSchedulingOnHostMaintenanceOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeSchedulingOnHostMaintenance] { + return pulumix.Output[ComputeSchedulingOnHostMaintenance]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingOnHostMaintenanceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o ComputeSchedulingOnHostMaintenancePtrOutput) ToComputeSchedulingOnHostMa return o } +func (o ComputeSchedulingOnHostMaintenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeSchedulingOnHostMaintenance] { + return pulumix.Output[*ComputeSchedulingOnHostMaintenance]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingOnHostMaintenancePtrOutput) Elem() ComputeSchedulingOnHostMaintenanceOutput { return o.ApplyT(func(v *ComputeSchedulingOnHostMaintenance) ComputeSchedulingOnHostMaintenance { if v != nil { @@ -519,6 +568,12 @@ func (in *computeSchedulingOnHostMaintenancePtr) ToComputeSchedulingOnHostMainte return pulumi.ToOutputWithContext(ctx, in).(ComputeSchedulingOnHostMaintenancePtrOutput) } +func (in *computeSchedulingOnHostMaintenancePtr) ToOutput(ctx context.Context) pulumix.Output[*ComputeSchedulingOnHostMaintenance] { + return pulumix.Output[*ComputeSchedulingOnHostMaintenance]{ + OutputState: in.ToComputeSchedulingOnHostMaintenancePtrOutputWithContext(ctx).OutputState, + } +} + // Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. type ComputeSchedulingRestartType string @@ -591,6 +646,12 @@ func (o ComputeSchedulingRestartTypeOutput) ToComputeSchedulingRestartTypePtrOut }).(ComputeSchedulingRestartTypePtrOutput) } +func (o ComputeSchedulingRestartTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeSchedulingRestartType] { + return pulumix.Output[ComputeSchedulingRestartType]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingRestartTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o ComputeSchedulingRestartTypePtrOutput) ToComputeSchedulingRestartTypePtr return o } +func (o ComputeSchedulingRestartTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeSchedulingRestartType] { + return pulumix.Output[*ComputeSchedulingRestartType]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingRestartTypePtrOutput) Elem() ComputeSchedulingRestartTypeOutput { return o.ApplyT(func(v *ComputeSchedulingRestartType) ComputeSchedulingRestartType { if v != nil { @@ -688,6 +755,12 @@ func (in *computeSchedulingRestartTypePtr) ToComputeSchedulingRestartTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(ComputeSchedulingRestartTypePtrOutput) } +func (in *computeSchedulingRestartTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ComputeSchedulingRestartType] { + return pulumix.Output[*ComputeSchedulingRestartType]{ + OutputState: in.ToComputeSchedulingRestartTypePtrOutputWithContext(ctx).OutputState, + } +} + // The operator to use for the node resources specified in the `values` parameter. type SchedulingNodeAffinityOperator string @@ -760,6 +833,12 @@ func (o SchedulingNodeAffinityOperatorOutput) ToSchedulingNodeAffinityOperatorPt }).(SchedulingNodeAffinityOperatorPtrOutput) } +func (o SchedulingNodeAffinityOperatorOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinityOperator] { + return pulumix.Output[SchedulingNodeAffinityOperator]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityOperatorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -795,6 +874,12 @@ func (o SchedulingNodeAffinityOperatorPtrOutput) ToSchedulingNodeAffinityOperato return o } +func (o SchedulingNodeAffinityOperatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingNodeAffinityOperator] { + return pulumix.Output[*SchedulingNodeAffinityOperator]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityOperatorPtrOutput) Elem() SchedulingNodeAffinityOperatorOutput { return o.ApplyT(func(v *SchedulingNodeAffinityOperator) SchedulingNodeAffinityOperator { if v != nil { @@ -857,6 +942,12 @@ func (in *schedulingNodeAffinityOperatorPtr) ToSchedulingNodeAffinityOperatorPtr return pulumi.ToOutputWithContext(ctx, in).(SchedulingNodeAffinityOperatorPtrOutput) } +func (in *schedulingNodeAffinityOperatorPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingNodeAffinityOperator] { + return pulumix.Output[*SchedulingNodeAffinityOperator]{ + OutputState: in.ToSchedulingNodeAffinityOperatorPtrOutputWithContext(ctx).OutputState, + } +} + // Time frame of the report. type UtilizationReportTimeFrame string @@ -931,6 +1022,12 @@ func (o UtilizationReportTimeFrameOutput) ToUtilizationReportTimeFramePtrOutputW }).(UtilizationReportTimeFramePtrOutput) } +func (o UtilizationReportTimeFrameOutput) ToOutput(ctx context.Context) pulumix.Output[UtilizationReportTimeFrame] { + return pulumix.Output[UtilizationReportTimeFrame]{ + OutputState: o.OutputState, + } +} + func (o UtilizationReportTimeFrameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -966,6 +1063,12 @@ func (o UtilizationReportTimeFramePtrOutput) ToUtilizationReportTimeFramePtrOutp return o } +func (o UtilizationReportTimeFramePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UtilizationReportTimeFrame] { + return pulumix.Output[*UtilizationReportTimeFrame]{ + OutputState: o.OutputState, + } +} + func (o UtilizationReportTimeFramePtrOutput) Elem() UtilizationReportTimeFrameOutput { return o.ApplyT(func(v *UtilizationReportTimeFrame) UtilizationReportTimeFrame { if v != nil { @@ -1028,6 +1131,12 @@ func (in *utilizationReportTimeFramePtr) ToUtilizationReportTimeFramePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(UtilizationReportTimeFramePtrOutput) } +func (in *utilizationReportTimeFramePtr) ToOutput(ctx context.Context) pulumix.Output[*UtilizationReportTimeFrame] { + return pulumix.Output[*UtilizationReportTimeFrame]{ + OutputState: in.ToUtilizationReportTimeFramePtrOutputWithContext(ctx).OutputState, + } +} + // The power state of the VM at the moment list was taken. type VmwareVmDetailsPowerState string @@ -1102,6 +1211,12 @@ func (o VmwareVmDetailsPowerStateOutput) ToVmwareVmDetailsPowerStatePtrOutputWit }).(VmwareVmDetailsPowerStatePtrOutput) } +func (o VmwareVmDetailsPowerStateOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVmDetailsPowerState] { + return pulumix.Output[VmwareVmDetailsPowerState]{ + OutputState: o.OutputState, + } +} + func (o VmwareVmDetailsPowerStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1137,6 +1252,12 @@ func (o VmwareVmDetailsPowerStatePtrOutput) ToVmwareVmDetailsPowerStatePtrOutput return o } +func (o VmwareVmDetailsPowerStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareVmDetailsPowerState] { + return pulumix.Output[*VmwareVmDetailsPowerState]{ + OutputState: o.OutputState, + } +} + func (o VmwareVmDetailsPowerStatePtrOutput) Elem() VmwareVmDetailsPowerStateOutput { return o.ApplyT(func(v *VmwareVmDetailsPowerState) VmwareVmDetailsPowerState { if v != nil { @@ -1199,6 +1320,12 @@ func (in *vmwareVmDetailsPowerStatePtr) ToVmwareVmDetailsPowerStatePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(VmwareVmDetailsPowerStatePtrOutput) } +func (in *vmwareVmDetailsPowerStatePtr) ToOutput(ctx context.Context) pulumix.Output[*VmwareVmDetailsPowerState] { + return pulumix.Output[*VmwareVmDetailsPowerState]{ + OutputState: in.ToVmwareVmDetailsPowerStatePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ComputeEngineTargetDefaultsDiskTypeInput)(nil)).Elem(), ComputeEngineTargetDefaultsDiskType("COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ComputeEngineTargetDefaultsDiskTypePtrInput)(nil)).Elem(), ComputeEngineTargetDefaultsDiskType("COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/vmmigration/v1/pulumiTypes.go b/sdk/go/google/vmmigration/v1/pulumiTypes.go index 038d1333d1..1f4bd62506 100644 --- a/sdk/go/google/vmmigration/v1/pulumiTypes.go +++ b/sdk/go/google/vmmigration/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i AccessKeyCredentialsArgs) ToAccessKeyCredentialsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AccessKeyCredentialsOutput) } +func (i AccessKeyCredentialsArgs) ToOutput(ctx context.Context) pulumix.Output[AccessKeyCredentials] { + return pulumix.Output[AccessKeyCredentials]{ + OutputState: i.ToAccessKeyCredentialsOutputWithContext(ctx).OutputState, + } +} + func (i AccessKeyCredentialsArgs) ToAccessKeyCredentialsPtrOutput() AccessKeyCredentialsPtrOutput { return i.ToAccessKeyCredentialsPtrOutputWithContext(context.Background()) } @@ -97,6 +104,12 @@ func (i *accessKeyCredentialsPtrType) ToAccessKeyCredentialsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AccessKeyCredentialsPtrOutput) } +func (i *accessKeyCredentialsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AccessKeyCredentials] { + return pulumix.Output[*AccessKeyCredentials]{ + OutputState: i.ToAccessKeyCredentialsPtrOutputWithContext(ctx).OutputState, + } +} + // Message describing AWS Credentials using access key id and secret. type AccessKeyCredentialsOutput struct{ *pulumi.OutputState } @@ -122,6 +135,12 @@ func (o AccessKeyCredentialsOutput) ToAccessKeyCredentialsPtrOutputWithContext(c }).(AccessKeyCredentialsPtrOutput) } +func (o AccessKeyCredentialsOutput) ToOutput(ctx context.Context) pulumix.Output[AccessKeyCredentials] { + return pulumix.Output[AccessKeyCredentials]{ + OutputState: o.OutputState, + } +} + // AWS access key ID. func (o AccessKeyCredentialsOutput) AccessKeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v AccessKeyCredentials) *string { return v.AccessKeyId }).(pulumi.StringPtrOutput) @@ -151,6 +170,12 @@ func (o AccessKeyCredentialsPtrOutput) ToAccessKeyCredentialsPtrOutputWithContex return o } +func (o AccessKeyCredentialsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessKeyCredentials] { + return pulumix.Output[*AccessKeyCredentials]{ + OutputState: o.OutputState, + } +} + func (o AccessKeyCredentialsPtrOutput) Elem() AccessKeyCredentialsOutput { return o.ApplyT(func(v *AccessKeyCredentials) AccessKeyCredentials { if v != nil { @@ -216,6 +241,12 @@ func (o AccessKeyCredentialsResponseOutput) ToAccessKeyCredentialsResponseOutput return o } +func (o AccessKeyCredentialsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AccessKeyCredentialsResponse] { + return pulumix.Output[AccessKeyCredentialsResponse]{ + OutputState: o.OutputState, + } +} + // AWS access key ID. func (o AccessKeyCredentialsResponseOutput) AccessKeyId() pulumi.StringOutput { return o.ApplyT(func(v AccessKeyCredentialsResponse) string { return v.AccessKeyId }).(pulumi.StringOutput) @@ -250,6 +281,12 @@ func (o AdaptingOSStepResponseOutput) ToAdaptingOSStepResponseOutputWithContext( return o } +func (o AdaptingOSStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdaptingOSStepResponse] { + return pulumix.Output[AdaptingOSStepResponse]{ + OutputState: o.OutputState, + } +} + // Describes an appliance version. type ApplianceVersionResponse struct { // Determine whether it's critical to upgrade the appliance to this version. @@ -277,6 +314,12 @@ func (o ApplianceVersionResponseOutput) ToApplianceVersionResponseOutputWithCont return o } +func (o ApplianceVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApplianceVersionResponse] { + return pulumix.Output[ApplianceVersionResponse]{ + OutputState: o.OutputState, + } +} + // Determine whether it's critical to upgrade the appliance to this version. func (o ApplianceVersionResponseOutput) Critical() pulumi.BoolOutput { return o.ApplyT(func(v ApplianceVersionResponse) bool { return v.Critical }).(pulumi.BoolOutput) @@ -320,6 +363,12 @@ func (o AppliedLicenseResponseOutput) ToAppliedLicenseResponseOutputWithContext( return o } +func (o AppliedLicenseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppliedLicenseResponse] { + return pulumix.Output[AppliedLicenseResponse]{ + OutputState: o.OutputState, + } +} + // The OS license returned from the adaptation module's report. func (o AppliedLicenseResponseOutput) OsLicense() pulumi.StringOutput { return o.ApplyT(func(v AppliedLicenseResponse) string { return v.OsLicense }).(pulumi.StringOutput) @@ -353,6 +402,12 @@ func (o AvailableUpdatesResponseOutput) ToAvailableUpdatesResponseOutputWithCont return o } +func (o AvailableUpdatesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AvailableUpdatesResponse] { + return pulumix.Output[AvailableUpdatesResponse]{ + OutputState: o.OutputState, + } +} + // The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI. func (o AvailableUpdatesResponseOutput) InPlaceUpdate() ApplianceVersionResponseOutput { return o.ApplyT(func(v AvailableUpdatesResponse) ApplianceVersionResponse { return v.InPlaceUpdate }).(ApplianceVersionResponseOutput) @@ -414,6 +469,12 @@ func (i AwsSourceDetailsArgs) ToAwsSourceDetailsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AwsSourceDetailsOutput) } +func (i AwsSourceDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[AwsSourceDetails] { + return pulumix.Output[AwsSourceDetails]{ + OutputState: i.ToAwsSourceDetailsOutputWithContext(ctx).OutputState, + } +} + func (i AwsSourceDetailsArgs) ToAwsSourceDetailsPtrOutput() AwsSourceDetailsPtrOutput { return i.ToAwsSourceDetailsPtrOutputWithContext(context.Background()) } @@ -455,6 +516,12 @@ func (i *awsSourceDetailsPtrType) ToAwsSourceDetailsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AwsSourceDetailsPtrOutput) } +func (i *awsSourceDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AwsSourceDetails] { + return pulumix.Output[*AwsSourceDetails]{ + OutputState: i.ToAwsSourceDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // AwsSourceDetails message describes a specific source details for the AWS source type. type AwsSourceDetailsOutput struct{ *pulumi.OutputState } @@ -480,6 +547,12 @@ func (o AwsSourceDetailsOutput) ToAwsSourceDetailsPtrOutputWithContext(ctx conte }).(AwsSourceDetailsPtrOutput) } +func (o AwsSourceDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[AwsSourceDetails] { + return pulumix.Output[AwsSourceDetails]{ + OutputState: o.OutputState, + } +} + // AWS Credentials using access key id and secret. func (o AwsSourceDetailsOutput) AccessKeyCreds() AccessKeyCredentialsPtrOutput { return o.ApplyT(func(v AwsSourceDetails) *AccessKeyCredentials { return v.AccessKeyCreds }).(AccessKeyCredentialsPtrOutput) @@ -519,6 +592,12 @@ func (o AwsSourceDetailsPtrOutput) ToAwsSourceDetailsPtrOutputWithContext(ctx co return o } +func (o AwsSourceDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AwsSourceDetails] { + return pulumix.Output[*AwsSourceDetails]{ + OutputState: o.OutputState, + } +} + func (o AwsSourceDetailsPtrOutput) Elem() AwsSourceDetailsOutput { return o.ApplyT(func(v *AwsSourceDetails) AwsSourceDetails { if v != nil { @@ -614,6 +693,12 @@ func (o AwsSourceDetailsResponseOutput) ToAwsSourceDetailsResponseOutputWithCont return o } +func (o AwsSourceDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AwsSourceDetailsResponse] { + return pulumix.Output[AwsSourceDetailsResponse]{ + OutputState: o.OutputState, + } +} + // AWS Credentials using access key id and secret. func (o AwsSourceDetailsResponseOutput) AccessKeyCreds() AccessKeyCredentialsResponseOutput { return o.ApplyT(func(v AwsSourceDetailsResponse) AccessKeyCredentialsResponse { return v.AccessKeyCreds }).(AccessKeyCredentialsResponseOutput) @@ -677,6 +762,12 @@ func (o AwsSourceVmDetailsResponseOutput) ToAwsSourceVmDetailsResponseOutputWith return o } +func (o AwsSourceVmDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AwsSourceVmDetailsResponse] { + return pulumix.Output[AwsSourceVmDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The total size of the disks being migrated in bytes. func (o AwsSourceVmDetailsResponseOutput) CommittedStorageBytes() pulumi.StringOutput { return o.ApplyT(func(v AwsSourceVmDetailsResponse) string { return v.CommittedStorageBytes }).(pulumi.StringOutput) @@ -722,6 +813,12 @@ func (o CloneJobResponseOutput) ToCloneJobResponseOutputWithContext(ctx context. return o } +func (o CloneJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloneJobResponse] { + return pulumix.Output[CloneJobResponse]{ + OutputState: o.OutputState, + } +} + // Details of the target VM in Compute Engine. func (o CloneJobResponseOutput) ComputeEngineTargetDetails() ComputeEngineTargetDetailsResponseOutput { return o.ApplyT(func(v CloneJobResponse) ComputeEngineTargetDetailsResponse { return v.ComputeEngineTargetDetails }).(ComputeEngineTargetDetailsResponseOutput) @@ -776,6 +873,12 @@ func (o CloneJobResponseArrayOutput) ToCloneJobResponseArrayOutputWithContext(ct return o } +func (o CloneJobResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CloneJobResponse] { + return pulumix.Output[[]CloneJobResponse]{ + OutputState: o.OutputState, + } +} + func (o CloneJobResponseArrayOutput) Index(i pulumi.IntInput) CloneJobResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloneJobResponse { return vs[0].([]CloneJobResponse)[vs[1].(int)] @@ -811,6 +914,12 @@ func (o CloneStepResponseOutput) ToCloneStepResponseOutputWithContext(ctx contex return o } +func (o CloneStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloneStepResponse] { + return pulumix.Output[CloneStepResponse]{ + OutputState: o.OutputState, + } +} + // Adapting OS step. func (o CloneStepResponseOutput) AdaptingOs() AdaptingOSStepResponseOutput { return o.ApplyT(func(v CloneStepResponse) AdaptingOSStepResponse { return v.AdaptingOs }).(AdaptingOSStepResponseOutput) @@ -850,6 +959,12 @@ func (o CloneStepResponseArrayOutput) ToCloneStepResponseArrayOutputWithContext( return o } +func (o CloneStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CloneStepResponse] { + return pulumix.Output[[]CloneStepResponse]{ + OutputState: o.OutputState, + } +} + func (o CloneStepResponseArrayOutput) Index(i pulumi.IntInput) CloneStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloneStepResponse { return vs[0].([]CloneStepResponse)[vs[1].(int)] @@ -951,6 +1066,12 @@ func (i ComputeEngineTargetDefaultsArgs) ToComputeEngineTargetDefaultsOutputWith return pulumi.ToOutputWithContext(ctx, i).(ComputeEngineTargetDefaultsOutput) } +func (i ComputeEngineTargetDefaultsArgs) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDefaults] { + return pulumix.Output[ComputeEngineTargetDefaults]{ + OutputState: i.ToComputeEngineTargetDefaultsOutputWithContext(ctx).OutputState, + } +} + func (i ComputeEngineTargetDefaultsArgs) ToComputeEngineTargetDefaultsPtrOutput() ComputeEngineTargetDefaultsPtrOutput { return i.ToComputeEngineTargetDefaultsPtrOutputWithContext(context.Background()) } @@ -992,6 +1113,12 @@ func (i *computeEngineTargetDefaultsPtrType) ToComputeEngineTargetDefaultsPtrOut return pulumi.ToOutputWithContext(ctx, i).(ComputeEngineTargetDefaultsPtrOutput) } +func (i *computeEngineTargetDefaultsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaults] { + return pulumix.Output[*ComputeEngineTargetDefaults]{ + OutputState: i.ToComputeEngineTargetDefaultsPtrOutputWithContext(ctx).OutputState, + } +} + // ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. type ComputeEngineTargetDefaultsOutput struct{ *pulumi.OutputState } @@ -1017,6 +1144,12 @@ func (o ComputeEngineTargetDefaultsOutput) ToComputeEngineTargetDefaultsPtrOutpu }).(ComputeEngineTargetDefaultsPtrOutput) } +func (o ComputeEngineTargetDefaultsOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDefaults] { + return pulumix.Output[ComputeEngineTargetDefaults]{ + OutputState: o.OutputState, + } +} + // Additional licenses to assign to the VM. func (o ComputeEngineTargetDefaultsOutput) AdditionalLicenses() pulumi.StringArrayOutput { return o.ApplyT(func(v ComputeEngineTargetDefaults) []string { return v.AdditionalLicenses }).(pulumi.StringArrayOutput) @@ -1111,6 +1244,12 @@ func (o ComputeEngineTargetDefaultsPtrOutput) ToComputeEngineTargetDefaultsPtrOu return o } +func (o ComputeEngineTargetDefaultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaults] { + return pulumix.Output[*ComputeEngineTargetDefaults]{ + OutputState: o.OutputState, + } +} + func (o ComputeEngineTargetDefaultsPtrOutput) Elem() ComputeEngineTargetDefaultsOutput { return o.ApplyT(func(v *ComputeEngineTargetDefaults) ComputeEngineTargetDefaults { if v != nil { @@ -1336,6 +1475,12 @@ func (o ComputeEngineTargetDefaultsResponseOutput) ToComputeEngineTargetDefaults return o } +func (o ComputeEngineTargetDefaultsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDefaultsResponse] { + return pulumix.Output[ComputeEngineTargetDefaultsResponse]{ + OutputState: o.OutputState, + } +} + // Additional licenses to assign to the VM. func (o ComputeEngineTargetDefaultsResponseOutput) AdditionalLicenses() pulumi.StringArrayOutput { return o.ApplyT(func(v ComputeEngineTargetDefaultsResponse) []string { return v.AdditionalLicenses }).(pulumi.StringArrayOutput) @@ -1481,6 +1626,12 @@ func (o ComputeEngineTargetDetailsResponseOutput) ToComputeEngineTargetDetailsRe return o } +func (o ComputeEngineTargetDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDetailsResponse] { + return pulumix.Output[ComputeEngineTargetDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Additional licenses to assign to the VM. func (o ComputeEngineTargetDetailsResponseOutput) AdditionalLicenses() pulumi.StringArrayOutput { return o.ApplyT(func(v ComputeEngineTargetDetailsResponse) []string { return v.AdditionalLicenses }).(pulumi.StringArrayOutput) @@ -1618,6 +1769,12 @@ func (i ComputeSchedulingArgs) ToComputeSchedulingOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ComputeSchedulingOutput) } +func (i ComputeSchedulingArgs) ToOutput(ctx context.Context) pulumix.Output[ComputeScheduling] { + return pulumix.Output[ComputeScheduling]{ + OutputState: i.ToComputeSchedulingOutputWithContext(ctx).OutputState, + } +} + func (i ComputeSchedulingArgs) ToComputeSchedulingPtrOutput() ComputeSchedulingPtrOutput { return i.ToComputeSchedulingPtrOutputWithContext(context.Background()) } @@ -1659,6 +1816,12 @@ func (i *computeSchedulingPtrType) ToComputeSchedulingPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ComputeSchedulingPtrOutput) } +func (i *computeSchedulingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ComputeScheduling] { + return pulumix.Output[*ComputeScheduling]{ + OutputState: i.ToComputeSchedulingPtrOutputWithContext(ctx).OutputState, + } +} + // Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. type ComputeSchedulingOutput struct{ *pulumi.OutputState } @@ -1684,6 +1847,12 @@ func (o ComputeSchedulingOutput) ToComputeSchedulingPtrOutputWithContext(ctx con }).(ComputeSchedulingPtrOutput) } +func (o ComputeSchedulingOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeScheduling] { + return pulumix.Output[ComputeScheduling]{ + OutputState: o.OutputState, + } +} + // The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. func (o ComputeSchedulingOutput) MinNodeCpus() pulumi.IntPtrOutput { return o.ApplyT(func(v ComputeScheduling) *int { return v.MinNodeCpus }).(pulumi.IntPtrOutput) @@ -1718,6 +1887,12 @@ func (o ComputeSchedulingPtrOutput) ToComputeSchedulingPtrOutputWithContext(ctx return o } +func (o ComputeSchedulingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeScheduling] { + return pulumix.Output[*ComputeScheduling]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingPtrOutput) Elem() ComputeSchedulingOutput { return o.ApplyT(func(v *ComputeScheduling) ComputeScheduling { if v != nil { @@ -1795,6 +1970,12 @@ func (o ComputeSchedulingResponseOutput) ToComputeSchedulingResponseOutputWithCo return o } +func (o ComputeSchedulingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeSchedulingResponse] { + return pulumix.Output[ComputeSchedulingResponse]{ + OutputState: o.OutputState, + } +} + // The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. func (o ComputeSchedulingResponseOutput) MinNodeCpus() pulumi.IntOutput { return o.ApplyT(func(v ComputeSchedulingResponse) int { return v.MinNodeCpus }).(pulumi.IntOutput) @@ -1836,6 +2017,12 @@ func (o CutoverForecastResponseOutput) ToCutoverForecastResponseOutputWithContex return o } +func (o CutoverForecastResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CutoverForecastResponse] { + return pulumix.Output[CutoverForecastResponse]{ + OutputState: o.OutputState, + } +} + // Estimation of the CutoverJob duration. func (o CutoverForecastResponseOutput) EstimatedCutoverJobDuration() pulumi.StringOutput { return o.ApplyT(func(v CutoverForecastResponse) string { return v.EstimatedCutoverJobDuration }).(pulumi.StringOutput) @@ -1880,6 +2067,12 @@ func (o CutoverJobResponseOutput) ToCutoverJobResponseOutputWithContext(ctx cont return o } +func (o CutoverJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CutoverJobResponse] { + return pulumix.Output[CutoverJobResponse]{ + OutputState: o.OutputState, + } +} + // Details of the target VM in Compute Engine. func (o CutoverJobResponseOutput) ComputeEngineTargetDetails() ComputeEngineTargetDetailsResponseOutput { return o.ApplyT(func(v CutoverJobResponse) ComputeEngineTargetDetailsResponse { return v.ComputeEngineTargetDetails }).(ComputeEngineTargetDetailsResponseOutput) @@ -1944,6 +2137,12 @@ func (o CutoverJobResponseArrayOutput) ToCutoverJobResponseArrayOutputWithContex return o } +func (o CutoverJobResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CutoverJobResponse] { + return pulumix.Output[[]CutoverJobResponse]{ + OutputState: o.OutputState, + } +} + func (o CutoverJobResponseArrayOutput) Index(i pulumi.IntInput) CutoverJobResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CutoverJobResponse { return vs[0].([]CutoverJobResponse)[vs[1].(int)] @@ -1983,6 +2182,12 @@ func (o CutoverStepResponseOutput) ToCutoverStepResponseOutputWithContext(ctx co return o } +func (o CutoverStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CutoverStepResponse] { + return pulumix.Output[CutoverStepResponse]{ + OutputState: o.OutputState, + } +} + // The time the step has ended. func (o CutoverStepResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v CutoverStepResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -2032,6 +2237,12 @@ func (o CutoverStepResponseArrayOutput) ToCutoverStepResponseArrayOutputWithCont return o } +func (o CutoverStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CutoverStepResponse] { + return pulumix.Output[[]CutoverStepResponse]{ + OutputState: o.OutputState, + } +} + func (o CutoverStepResponseArrayOutput) Index(i pulumi.IntInput) CutoverStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CutoverStepResponse { return vs[0].([]CutoverStepResponse)[vs[1].(int)] @@ -2067,6 +2278,12 @@ func (o CycleStepResponseOutput) ToCycleStepResponseOutputWithContext(ctx contex return o } +func (o CycleStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CycleStepResponse] { + return pulumix.Output[CycleStepResponse]{ + OutputState: o.OutputState, + } +} + // The time the cycle step has ended. func (o CycleStepResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v CycleStepResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -2106,6 +2323,12 @@ func (o CycleStepResponseArrayOutput) ToCycleStepResponseArrayOutputWithContext( return o } +func (o CycleStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CycleStepResponse] { + return pulumix.Output[[]CycleStepResponse]{ + OutputState: o.OutputState, + } +} + func (o CycleStepResponseArrayOutput) Index(i pulumi.IntInput) CycleStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CycleStepResponse { return vs[0].([]CycleStepResponse)[vs[1].(int)] @@ -2131,6 +2354,12 @@ func (o InitializingReplicationStepResponseOutput) ToInitializingReplicationStep return o } +func (o InitializingReplicationStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InitializingReplicationStepResponse] { + return pulumix.Output[InitializingReplicationStepResponse]{ + OutputState: o.OutputState, + } +} + // InstantiatingMigratedVMStep contains specific step details. type InstantiatingMigratedVMStepResponse struct { } @@ -2150,6 +2379,12 @@ func (o InstantiatingMigratedVMStepResponseOutput) ToInstantiatingMigratedVMStep return o } +func (o InstantiatingMigratedVMStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstantiatingMigratedVMStepResponse] { + return pulumix.Output[InstantiatingMigratedVMStepResponse]{ + OutputState: o.OutputState, + } +} + // Describes a URL link. type LinkResponse struct { // Describes what the link offers. @@ -2173,6 +2408,12 @@ func (o LinkResponseOutput) ToLinkResponseOutputWithContext(ctx context.Context) return o } +func (o LinkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LinkResponse] { + return pulumix.Output[LinkResponse]{ + OutputState: o.OutputState, + } +} + // Describes what the link offers. func (o LinkResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LinkResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2197,6 +2438,12 @@ func (o LinkResponseArrayOutput) ToLinkResponseArrayOutputWithContext(ctx contex return o } +func (o LinkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LinkResponse] { + return pulumix.Output[[]LinkResponse]{ + OutputState: o.OutputState, + } +} + func (o LinkResponseArrayOutput) Index(i pulumi.IntInput) LinkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LinkResponse { return vs[0].([]LinkResponse)[vs[1].(int)] @@ -2226,6 +2473,12 @@ func (o LocalizedMessageResponseOutput) ToLocalizedMessageResponseOutputWithCont return o } +func (o LocalizedMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalizedMessageResponse] { + return pulumix.Output[LocalizedMessageResponse]{ + OutputState: o.OutputState, + } +} + // The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" func (o LocalizedMessageResponseOutput) Locale() pulumi.StringOutput { return o.ApplyT(func(v LocalizedMessageResponse) string { return v.Locale }).(pulumi.StringOutput) @@ -2265,6 +2518,12 @@ func (o MigrationWarningResponseOutput) ToMigrationWarningResponseOutputWithCont return o } +func (o MigrationWarningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MigrationWarningResponse] { + return pulumix.Output[MigrationWarningResponse]{ + OutputState: o.OutputState, + } +} + // Suggested action for solving the warning. func (o MigrationWarningResponseOutput) ActionItem() LocalizedMessageResponseOutput { return o.ApplyT(func(v MigrationWarningResponse) LocalizedMessageResponse { return v.ActionItem }).(LocalizedMessageResponseOutput) @@ -2304,6 +2563,12 @@ func (o MigrationWarningResponseArrayOutput) ToMigrationWarningResponseArrayOutp return o } +func (o MigrationWarningResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MigrationWarningResponse] { + return pulumix.Output[[]MigrationWarningResponse]{ + OutputState: o.OutputState, + } +} + func (o MigrationWarningResponseArrayOutput) Index(i pulumi.IntInput) MigrationWarningResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MigrationWarningResponse { return vs[0].([]MigrationWarningResponse)[vs[1].(int)] @@ -2357,6 +2622,12 @@ func (i NetworkInterfaceArgs) ToNetworkInterfaceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceOutput) } +func (i NetworkInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: i.ToNetworkInterfaceOutputWithContext(ctx).OutputState, + } +} + // NetworkInterfaceArrayInput is an input type that accepts NetworkInterfaceArray and NetworkInterfaceArrayOutput values. // You can construct a concrete instance of `NetworkInterfaceArrayInput` via: // @@ -2382,6 +2653,12 @@ func (i NetworkInterfaceArray) ToNetworkInterfaceArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceArrayOutput) } +func (i NetworkInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: i.ToNetworkInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // NetworkInterface represents a NIC of a VM. type NetworkInterfaceOutput struct{ *pulumi.OutputState } @@ -2397,6 +2674,12 @@ func (o NetworkInterfaceOutput) ToNetworkInterfaceOutputWithContext(ctx context. return o } +func (o NetworkInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: o.OutputState, + } +} + // The external IP to define in the NIC. func (o NetworkInterfaceOutput) ExternalIp() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkInterface) *string { return v.ExternalIp }).(pulumi.StringPtrOutput) @@ -2431,6 +2714,12 @@ func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext(ct return o } +func (o NetworkInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterface { return vs[0].([]NetworkInterface)[vs[1].(int)] @@ -2464,6 +2753,12 @@ func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutputWithCont return o } +func (o NetworkInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceResponse] { + return pulumix.Output[NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // The external IP to define in the NIC. func (o NetworkInterfaceResponseOutput) ExternalIp() pulumi.StringOutput { return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.ExternalIp }).(pulumi.StringOutput) @@ -2498,6 +2793,12 @@ func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutp return o } +func (o NetworkInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterfaceResponse] { + return pulumix.Output[[]NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceResponse { return vs[0].([]NetworkInterfaceResponse)[vs[1].(int)] @@ -2523,6 +2824,12 @@ func (o PostProcessingStepResponseOutput) ToPostProcessingStepResponseOutputWith return o } +func (o PostProcessingStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostProcessingStepResponse] { + return pulumix.Output[PostProcessingStepResponse]{ + OutputState: o.OutputState, + } +} + // PreparingVMDisksStep contains specific step details. type PreparingVMDisksStepResponse struct { } @@ -2542,6 +2849,12 @@ func (o PreparingVMDisksStepResponseOutput) ToPreparingVMDisksStepResponseOutput return o } +func (o PreparingVMDisksStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PreparingVMDisksStepResponse] { + return pulumix.Output[PreparingVMDisksStepResponse]{ + OutputState: o.OutputState, + } +} + // ReplicatingStep contains specific step details. type ReplicatingStepResponse struct { // The source disks replication rate for the last 30 minutes in bytes per second. @@ -2569,6 +2882,12 @@ func (o ReplicatingStepResponseOutput) ToReplicatingStepResponseOutputWithContex return o } +func (o ReplicatingStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicatingStepResponse] { + return pulumix.Output[ReplicatingStepResponse]{ + OutputState: o.OutputState, + } +} + // The source disks replication rate for the last 30 minutes in bytes per second. func (o ReplicatingStepResponseOutput) LastThirtyMinutesAverageBytesPerSecond() pulumi.StringOutput { return o.ApplyT(func(v ReplicatingStepResponse) string { return v.LastThirtyMinutesAverageBytesPerSecond }).(pulumi.StringOutput) @@ -2628,6 +2947,12 @@ func (o ReplicationCycleResponseOutput) ToReplicationCycleResponseOutputWithCont return o } +func (o ReplicationCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicationCycleResponse] { + return pulumix.Output[ReplicationCycleResponse]{ + OutputState: o.OutputState, + } +} + // The cycle's ordinal number. func (o ReplicationCycleResponseOutput) CycleNumber() pulumi.IntOutput { return o.ApplyT(func(v ReplicationCycleResponse) int { return v.CycleNumber }).(pulumi.IntOutput) @@ -2699,6 +3024,12 @@ func (o ReplicationSyncResponseOutput) ToReplicationSyncResponseOutputWithContex return o } +func (o ReplicationSyncResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicationSyncResponse] { + return pulumix.Output[ReplicationSyncResponse]{ + OutputState: o.OutputState, + } +} + // The most updated snapshot created time in the source that finished replication. func (o ReplicationSyncResponseOutput) LastSyncTime() pulumi.StringOutput { return o.ApplyT(func(v ReplicationSyncResponse) string { return v.LastSyncTime }).(pulumi.StringOutput) @@ -2743,6 +3074,12 @@ func (i SchedulePolicyArgs) ToSchedulePolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SchedulePolicyOutput) } +func (i SchedulePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulePolicy] { + return pulumix.Output[SchedulePolicy]{ + OutputState: i.ToSchedulePolicyOutputWithContext(ctx).OutputState, + } +} + func (i SchedulePolicyArgs) ToSchedulePolicyPtrOutput() SchedulePolicyPtrOutput { return i.ToSchedulePolicyPtrOutputWithContext(context.Background()) } @@ -2784,6 +3121,12 @@ func (i *schedulePolicyPtrType) ToSchedulePolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SchedulePolicyPtrOutput) } +func (i *schedulePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchedulePolicy] { + return pulumix.Output[*SchedulePolicy]{ + OutputState: i.ToSchedulePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A policy for scheduling replications. type SchedulePolicyOutput struct{ *pulumi.OutputState } @@ -2809,6 +3152,12 @@ func (o SchedulePolicyOutput) ToSchedulePolicyPtrOutputWithContext(ctx context.C }).(SchedulePolicyPtrOutput) } +func (o SchedulePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulePolicy] { + return pulumix.Output[SchedulePolicy]{ + OutputState: o.OutputState, + } +} + // The idle duration between replication stages. func (o SchedulePolicyOutput) IdleDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v SchedulePolicy) *string { return v.IdleDuration }).(pulumi.StringPtrOutput) @@ -2833,6 +3182,12 @@ func (o SchedulePolicyPtrOutput) ToSchedulePolicyPtrOutputWithContext(ctx contex return o } +func (o SchedulePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulePolicy] { + return pulumix.Output[*SchedulePolicy]{ + OutputState: o.OutputState, + } +} + func (o SchedulePolicyPtrOutput) Elem() SchedulePolicyOutput { return o.ApplyT(func(v *SchedulePolicy) SchedulePolicy { if v != nil { @@ -2886,6 +3241,12 @@ func (o SchedulePolicyResponseOutput) ToSchedulePolicyResponseOutputWithContext( return o } +func (o SchedulePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulePolicyResponse] { + return pulumix.Output[SchedulePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The idle duration between replication stages. func (o SchedulePolicyResponseOutput) IdleDuration() pulumi.StringOutput { return o.ApplyT(func(v SchedulePolicyResponse) string { return v.IdleDuration }).(pulumi.StringOutput) @@ -2939,6 +3300,12 @@ func (i SchedulingNodeAffinityArgs) ToSchedulingNodeAffinityOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SchedulingNodeAffinityOutput) } +func (i SchedulingNodeAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinity] { + return pulumix.Output[SchedulingNodeAffinity]{ + OutputState: i.ToSchedulingNodeAffinityOutputWithContext(ctx).OutputState, + } +} + // SchedulingNodeAffinityArrayInput is an input type that accepts SchedulingNodeAffinityArray and SchedulingNodeAffinityArrayOutput values. // You can construct a concrete instance of `SchedulingNodeAffinityArrayInput` via: // @@ -2964,6 +3331,12 @@ func (i SchedulingNodeAffinityArray) ToSchedulingNodeAffinityArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SchedulingNodeAffinityArrayOutput) } +func (i SchedulingNodeAffinityArray) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinity] { + return pulumix.Output[[]SchedulingNodeAffinity]{ + OutputState: i.ToSchedulingNodeAffinityArrayOutputWithContext(ctx).OutputState, + } +} + // Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling type SchedulingNodeAffinityOutput struct{ *pulumi.OutputState } @@ -2979,6 +3352,12 @@ func (o SchedulingNodeAffinityOutput) ToSchedulingNodeAffinityOutputWithContext( return o } +func (o SchedulingNodeAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinity] { + return pulumix.Output[SchedulingNodeAffinity]{ + OutputState: o.OutputState, + } +} + // The label key of Node resource to reference. func (o SchedulingNodeAffinityOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v SchedulingNodeAffinity) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -3008,6 +3387,12 @@ func (o SchedulingNodeAffinityArrayOutput) ToSchedulingNodeAffinityArrayOutputWi return o } +func (o SchedulingNodeAffinityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinity] { + return pulumix.Output[[]SchedulingNodeAffinity]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityArrayOutput) Index(i pulumi.IntInput) SchedulingNodeAffinityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchedulingNodeAffinity { return vs[0].([]SchedulingNodeAffinity)[vs[1].(int)] @@ -3039,6 +3424,12 @@ func (o SchedulingNodeAffinityResponseOutput) ToSchedulingNodeAffinityResponseOu return o } +func (o SchedulingNodeAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinityResponse] { + return pulumix.Output[SchedulingNodeAffinityResponse]{ + OutputState: o.OutputState, + } +} + // The label key of Node resource to reference. func (o SchedulingNodeAffinityResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SchedulingNodeAffinityResponse) string { return v.Key }).(pulumi.StringOutput) @@ -3068,6 +3459,12 @@ func (o SchedulingNodeAffinityResponseArrayOutput) ToSchedulingNodeAffinityRespo return o } +func (o SchedulingNodeAffinityResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinityResponse] { + return pulumix.Output[[]SchedulingNodeAffinityResponse]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityResponseArrayOutput) Index(i pulumi.IntInput) SchedulingNodeAffinityResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchedulingNodeAffinityResponse { return vs[0].([]SchedulingNodeAffinityResponse)[vs[1].(int)] @@ -3093,6 +3490,12 @@ func (o ShuttingDownSourceVMStepResponseOutput) ToShuttingDownSourceVMStepRespon return o } +func (o ShuttingDownSourceVMStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShuttingDownSourceVMStepResponse] { + return pulumix.Output[ShuttingDownSourceVMStepResponse]{ + OutputState: o.OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type StatusResponse struct { // The status code, which should be an enum value of google.rpc.Code. @@ -3118,6 +3521,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -3172,6 +3581,12 @@ func (i TagArgs) ToTagOutputWithContext(ctx context.Context) TagOutput { return pulumi.ToOutputWithContext(ctx, i).(TagOutput) } +func (i TagArgs) ToOutput(ctx context.Context) pulumix.Output[Tag] { + return pulumix.Output[Tag]{ + OutputState: i.ToTagOutputWithContext(ctx).OutputState, + } +} + // TagArrayInput is an input type that accepts TagArray and TagArrayOutput values. // You can construct a concrete instance of `TagArrayInput` via: // @@ -3197,6 +3612,12 @@ func (i TagArray) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(TagArrayOutput) } +func (i TagArray) ToOutput(ctx context.Context) pulumix.Output[[]Tag] { + return pulumix.Output[[]Tag]{ + OutputState: i.ToTagArrayOutputWithContext(ctx).OutputState, + } +} + // Tag is an AWS tag representation. type TagOutput struct{ *pulumi.OutputState } @@ -3212,6 +3633,12 @@ func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput { return o } +func (o TagOutput) ToOutput(ctx context.Context) pulumix.Output[Tag] { + return pulumix.Output[Tag]{ + OutputState: o.OutputState, + } +} + // Key of tag. func (o TagOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v Tag) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -3236,6 +3663,12 @@ func (o TagArrayOutput) ToTagArrayOutputWithContext(ctx context.Context) TagArra return o } +func (o TagArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Tag] { + return pulumix.Output[[]Tag]{ + OutputState: o.OutputState, + } +} + func (o TagArrayOutput) Index(i pulumi.IntInput) TagOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Tag { return vs[0].([]Tag)[vs[1].(int)] @@ -3265,6 +3698,12 @@ func (o TagResponseOutput) ToTagResponseOutputWithContext(ctx context.Context) T return o } +func (o TagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TagResponse] { + return pulumix.Output[TagResponse]{ + OutputState: o.OutputState, + } +} + // Key of tag. func (o TagResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v TagResponse) string { return v.Key }).(pulumi.StringOutput) @@ -3289,6 +3728,12 @@ func (o TagResponseArrayOutput) ToTagResponseArrayOutputWithContext(ctx context. return o } +func (o TagResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TagResponse] { + return pulumix.Output[[]TagResponse]{ + OutputState: o.OutputState, + } +} + func (o TagResponseArrayOutput) Index(i pulumi.IntInput) TagResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TagResponse { return vs[0].([]TagResponse)[vs[1].(int)] @@ -3324,6 +3769,12 @@ func (o UpgradeStatusResponseOutput) ToUpgradeStatusResponseOutputWithContext(ct return o } +func (o UpgradeStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeStatusResponse] { + return pulumix.Output[UpgradeStatusResponse]{ + OutputState: o.OutputState, + } +} + // Provides details on the state of the upgrade operation in case of an error. func (o UpgradeStatusResponseOutput) Error() StatusResponseOutput { return o.ApplyT(func(v UpgradeStatusResponse) StatusResponse { return v.Error }).(StatusResponseOutput) @@ -3392,6 +3843,12 @@ func (i VmUtilizationInfoArgs) ToVmUtilizationInfoOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(VmUtilizationInfoOutput) } +func (i VmUtilizationInfoArgs) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationInfo] { + return pulumix.Output[VmUtilizationInfo]{ + OutputState: i.ToVmUtilizationInfoOutputWithContext(ctx).OutputState, + } +} + // VmUtilizationInfoArrayInput is an input type that accepts VmUtilizationInfoArray and VmUtilizationInfoArrayOutput values. // You can construct a concrete instance of `VmUtilizationInfoArrayInput` via: // @@ -3417,6 +3874,12 @@ func (i VmUtilizationInfoArray) ToVmUtilizationInfoArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(VmUtilizationInfoArrayOutput) } +func (i VmUtilizationInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]VmUtilizationInfo] { + return pulumix.Output[[]VmUtilizationInfo]{ + OutputState: i.ToVmUtilizationInfoArrayOutputWithContext(ctx).OutputState, + } +} + // Utilization information of a single VM. type VmUtilizationInfoOutput struct{ *pulumi.OutputState } @@ -3432,6 +3895,12 @@ func (o VmUtilizationInfoOutput) ToVmUtilizationInfoOutputWithContext(ctx contex return o } +func (o VmUtilizationInfoOutput) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationInfo] { + return pulumix.Output[VmUtilizationInfo]{ + OutputState: o.OutputState, + } +} + // Utilization metrics for this VM. func (o VmUtilizationInfoOutput) Utilization() VmUtilizationMetricsPtrOutput { return o.ApplyT(func(v VmUtilizationInfo) *VmUtilizationMetrics { return v.Utilization }).(VmUtilizationMetricsPtrOutput) @@ -3461,6 +3930,12 @@ func (o VmUtilizationInfoArrayOutput) ToVmUtilizationInfoArrayOutputWithContext( return o } +func (o VmUtilizationInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmUtilizationInfo] { + return pulumix.Output[[]VmUtilizationInfo]{ + OutputState: o.OutputState, + } +} + func (o VmUtilizationInfoArrayOutput) Index(i pulumi.IntInput) VmUtilizationInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmUtilizationInfo { return vs[0].([]VmUtilizationInfo)[vs[1].(int)] @@ -3492,6 +3967,12 @@ func (o VmUtilizationInfoResponseOutput) ToVmUtilizationInfoResponseOutputWithCo return o } +func (o VmUtilizationInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationInfoResponse] { + return pulumix.Output[VmUtilizationInfoResponse]{ + OutputState: o.OutputState, + } +} + // Utilization metrics for this VM. func (o VmUtilizationInfoResponseOutput) Utilization() VmUtilizationMetricsResponseOutput { return o.ApplyT(func(v VmUtilizationInfoResponse) VmUtilizationMetricsResponse { return v.Utilization }).(VmUtilizationMetricsResponseOutput) @@ -3521,6 +4002,12 @@ func (o VmUtilizationInfoResponseArrayOutput) ToVmUtilizationInfoResponseArrayOu return o } +func (o VmUtilizationInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmUtilizationInfoResponse] { + return pulumix.Output[[]VmUtilizationInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o VmUtilizationInfoResponseArrayOutput) Index(i pulumi.IntInput) VmUtilizationInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmUtilizationInfoResponse { return vs[0].([]VmUtilizationInfoResponse)[vs[1].(int)] @@ -3590,6 +4077,12 @@ func (i VmUtilizationMetricsArgs) ToVmUtilizationMetricsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(VmUtilizationMetricsOutput) } +func (i VmUtilizationMetricsArgs) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationMetrics] { + return pulumix.Output[VmUtilizationMetrics]{ + OutputState: i.ToVmUtilizationMetricsOutputWithContext(ctx).OutputState, + } +} + func (i VmUtilizationMetricsArgs) ToVmUtilizationMetricsPtrOutput() VmUtilizationMetricsPtrOutput { return i.ToVmUtilizationMetricsPtrOutputWithContext(context.Background()) } @@ -3631,6 +4124,12 @@ func (i *vmUtilizationMetricsPtrType) ToVmUtilizationMetricsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(VmUtilizationMetricsPtrOutput) } +func (i *vmUtilizationMetricsPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmUtilizationMetrics] { + return pulumix.Output[*VmUtilizationMetrics]{ + OutputState: i.ToVmUtilizationMetricsPtrOutputWithContext(ctx).OutputState, + } +} + // Utilization metrics values for a single VM. type VmUtilizationMetricsOutput struct{ *pulumi.OutputState } @@ -3656,6 +4155,12 @@ func (o VmUtilizationMetricsOutput) ToVmUtilizationMetricsPtrOutputWithContext(c }).(VmUtilizationMetricsPtrOutput) } +func (o VmUtilizationMetricsOutput) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationMetrics] { + return pulumix.Output[VmUtilizationMetrics]{ + OutputState: o.OutputState, + } +} + // Average CPU usage, percent. func (o VmUtilizationMetricsOutput) CpuAveragePercent() pulumi.IntPtrOutput { return o.ApplyT(func(v VmUtilizationMetrics) *int { return v.CpuAveragePercent }).(pulumi.IntPtrOutput) @@ -3710,6 +4215,12 @@ func (o VmUtilizationMetricsPtrOutput) ToVmUtilizationMetricsPtrOutputWithContex return o } +func (o VmUtilizationMetricsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmUtilizationMetrics] { + return pulumix.Output[*VmUtilizationMetrics]{ + OutputState: o.OutputState, + } +} + func (o VmUtilizationMetricsPtrOutput) Elem() VmUtilizationMetricsOutput { return o.ApplyT(func(v *VmUtilizationMetrics) VmUtilizationMetrics { if v != nil { @@ -3835,6 +4346,12 @@ func (o VmUtilizationMetricsResponseOutput) ToVmUtilizationMetricsResponseOutput return o } +func (o VmUtilizationMetricsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationMetricsResponse] { + return pulumix.Output[VmUtilizationMetricsResponse]{ + OutputState: o.OutputState, + } +} + // Average CPU usage, percent. func (o VmUtilizationMetricsResponseOutput) CpuAveragePercent() pulumi.IntOutput { return o.ApplyT(func(v VmUtilizationMetricsResponse) int { return v.CpuAveragePercent }).(pulumi.IntOutput) @@ -3926,6 +4443,12 @@ func (i VmwareSourceDetailsArgs) ToVmwareSourceDetailsOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(VmwareSourceDetailsOutput) } +func (i VmwareSourceDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareSourceDetails] { + return pulumix.Output[VmwareSourceDetails]{ + OutputState: i.ToVmwareSourceDetailsOutputWithContext(ctx).OutputState, + } +} + func (i VmwareSourceDetailsArgs) ToVmwareSourceDetailsPtrOutput() VmwareSourceDetailsPtrOutput { return i.ToVmwareSourceDetailsPtrOutputWithContext(context.Background()) } @@ -3967,6 +4490,12 @@ func (i *vmwareSourceDetailsPtrType) ToVmwareSourceDetailsPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(VmwareSourceDetailsPtrOutput) } +func (i *vmwareSourceDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareSourceDetails] { + return pulumix.Output[*VmwareSourceDetails]{ + OutputState: i.ToVmwareSourceDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // VmwareSourceDetails message describes a specific source details for the vmware source type. type VmwareSourceDetailsOutput struct{ *pulumi.OutputState } @@ -3992,6 +4521,12 @@ func (o VmwareSourceDetailsOutput) ToVmwareSourceDetailsPtrOutputWithContext(ctx }).(VmwareSourceDetailsPtrOutput) } +func (o VmwareSourceDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareSourceDetails] { + return pulumix.Output[VmwareSourceDetails]{ + OutputState: o.OutputState, + } +} + // Input only. The credentials password. This is write only and can not be read in a GET operation. func (o VmwareSourceDetailsOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v VmwareSourceDetails) *string { return v.Password }).(pulumi.StringPtrOutput) @@ -4031,6 +4566,12 @@ func (o VmwareSourceDetailsPtrOutput) ToVmwareSourceDetailsPtrOutputWithContext( return o } +func (o VmwareSourceDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareSourceDetails] { + return pulumix.Output[*VmwareSourceDetails]{ + OutputState: o.OutputState, + } +} + func (o VmwareSourceDetailsPtrOutput) Elem() VmwareSourceDetailsOutput { return o.ApplyT(func(v *VmwareSourceDetails) VmwareSourceDetails { if v != nil { @@ -4120,6 +4661,12 @@ func (o VmwareSourceDetailsResponseOutput) ToVmwareSourceDetailsResponseOutputWi return o } +func (o VmwareSourceDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareSourceDetailsResponse] { + return pulumix.Output[VmwareSourceDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Input only. The credentials password. This is write only and can not be read in a GET operation. func (o VmwareSourceDetailsResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v VmwareSourceDetailsResponse) string { return v.Password }).(pulumi.StringOutput) @@ -4220,6 +4767,12 @@ func (i VmwareVmDetailsArgs) ToVmwareVmDetailsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(VmwareVmDetailsOutput) } +func (i VmwareVmDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareVmDetails] { + return pulumix.Output[VmwareVmDetails]{ + OutputState: i.ToVmwareVmDetailsOutputWithContext(ctx).OutputState, + } +} + func (i VmwareVmDetailsArgs) ToVmwareVmDetailsPtrOutput() VmwareVmDetailsPtrOutput { return i.ToVmwareVmDetailsPtrOutputWithContext(context.Background()) } @@ -4261,6 +4814,12 @@ func (i *vmwareVmDetailsPtrType) ToVmwareVmDetailsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(VmwareVmDetailsPtrOutput) } +func (i *vmwareVmDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareVmDetails] { + return pulumix.Output[*VmwareVmDetails]{ + OutputState: i.ToVmwareVmDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // VmwareVmDetails describes a VM in vCenter. type VmwareVmDetailsOutput struct{ *pulumi.OutputState } @@ -4286,6 +4845,12 @@ func (o VmwareVmDetailsOutput) ToVmwareVmDetailsPtrOutputWithContext(ctx context }).(VmwareVmDetailsPtrOutput) } +func (o VmwareVmDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVmDetails] { + return pulumix.Output[VmwareVmDetails]{ + OutputState: o.OutputState, + } +} + // The total size of the storage allocated to the VM in MB. func (o VmwareVmDetailsOutput) CommittedStorageMb() pulumi.StringPtrOutput { return o.ApplyT(func(v VmwareVmDetails) *string { return v.CommittedStorageMb }).(pulumi.StringPtrOutput) @@ -4355,6 +4920,12 @@ func (o VmwareVmDetailsPtrOutput) ToVmwareVmDetailsPtrOutputWithContext(ctx cont return o } +func (o VmwareVmDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareVmDetails] { + return pulumix.Output[*VmwareVmDetails]{ + OutputState: o.OutputState, + } +} + func (o VmwareVmDetailsPtrOutput) Elem() VmwareVmDetailsOutput { return o.ApplyT(func(v *VmwareVmDetails) VmwareVmDetails { if v != nil { @@ -4518,6 +5089,12 @@ func (o VmwareVmDetailsResponseOutput) ToVmwareVmDetailsResponseOutputWithContex return o } +func (o VmwareVmDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVmDetailsResponse] { + return pulumix.Output[VmwareVmDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The VM Boot Option. func (o VmwareVmDetailsResponseOutput) BootOption() pulumi.StringOutput { return o.ApplyT(func(v VmwareVmDetailsResponse) string { return v.BootOption }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1/source.go b/sdk/go/google/vmmigration/v1/source.go index 7c6e968d36..ed2df654da 100644 --- a/sdk/go/google/vmmigration/v1/source.go +++ b/sdk/go/google/vmmigration/v1/source.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Source in a given project and location. @@ -145,6 +146,12 @@ func (i *Source) ToSourceOutputWithContext(ctx context.Context) SourceOutput { return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i *Source) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + type SourceOutput struct{ *pulumi.OutputState } func (SourceOutput) ElementType() reflect.Type { @@ -159,6 +166,12 @@ func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutpu return o } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + // AWS type source details. func (o SourceOutput) Aws() AwsSourceDetailsResponseOutput { return o.ApplyT(func(v *Source) AwsSourceDetailsResponseOutput { return v.Aws }).(AwsSourceDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1/targetProject.go b/sdk/go/google/vmmigration/v1/targetProject.go index f92d6eb062..ad674c5d55 100644 --- a/sdk/go/google/vmmigration/v1/targetProject.go +++ b/sdk/go/google/vmmigration/v1/targetProject.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TargetProject in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`. @@ -129,6 +130,12 @@ func (i *TargetProject) ToTargetProjectOutputWithContext(ctx context.Context) Ta return pulumi.ToOutputWithContext(ctx, i).(TargetProjectOutput) } +func (i *TargetProject) ToOutput(ctx context.Context) pulumix.Output[*TargetProject] { + return pulumix.Output[*TargetProject]{ + OutputState: i.ToTargetProjectOutputWithContext(ctx).OutputState, + } +} + type TargetProjectOutput struct{ *pulumi.OutputState } func (TargetProjectOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o TargetProjectOutput) ToTargetProjectOutputWithContext(ctx context.Contex return o } +func (o TargetProjectOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetProject] { + return pulumix.Output[*TargetProject]{ + OutputState: o.OutputState, + } +} + // The time this target project resource was created (not related to when the Compute Engine project it points to was created). func (o TargetProjectOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TargetProject) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1/utilizationReport.go b/sdk/go/google/vmmigration/v1/utilizationReport.go index e49daa994a..818b5a46ff 100644 --- a/sdk/go/google/vmmigration/v1/utilizationReport.go +++ b/sdk/go/google/vmmigration/v1/utilizationReport.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new UtilizationReport. @@ -154,6 +155,12 @@ func (i *UtilizationReport) ToUtilizationReportOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(UtilizationReportOutput) } +func (i *UtilizationReport) ToOutput(ctx context.Context) pulumix.Output[*UtilizationReport] { + return pulumix.Output[*UtilizationReport]{ + OutputState: i.ToUtilizationReportOutputWithContext(ctx).OutputState, + } +} + type UtilizationReportOutput struct{ *pulumi.OutputState } func (UtilizationReportOutput) ElementType() reflect.Type { @@ -168,6 +175,12 @@ func (o UtilizationReportOutput) ToUtilizationReportOutputWithContext(ctx contex return o } +func (o UtilizationReportOutput) ToOutput(ctx context.Context) pulumix.Output[*UtilizationReport] { + return pulumix.Output[*UtilizationReport]{ + OutputState: o.OutputState, + } +} + // The time the report was created (this refers to the time of the request, not the time the report creation completed). func (o UtilizationReportOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *UtilizationReport) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/cloneJob.go b/sdk/go/google/vmmigration/v1alpha1/cloneJob.go index 6285b8c051..5f841b5b1f 100644 --- a/sdk/go/google/vmmigration/v1alpha1/cloneJob.go +++ b/sdk/go/google/vmmigration/v1alpha1/cloneJob.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Initiates a Clone of a specific migrating VM. @@ -155,6 +156,12 @@ func (i *CloneJob) ToCloneJobOutputWithContext(ctx context.Context) CloneJobOutp return pulumi.ToOutputWithContext(ctx, i).(CloneJobOutput) } +func (i *CloneJob) ToOutput(ctx context.Context) pulumix.Output[*CloneJob] { + return pulumix.Output[*CloneJob]{ + OutputState: i.ToCloneJobOutputWithContext(ctx).OutputState, + } +} + type CloneJobOutput struct{ *pulumi.OutputState } func (CloneJobOutput) ElementType() reflect.Type { @@ -169,6 +176,12 @@ func (o CloneJobOutput) ToCloneJobOutputWithContext(ctx context.Context) CloneJo return o } +func (o CloneJobOutput) ToOutput(ctx context.Context) pulumix.Output[*CloneJob] { + return pulumix.Output[*CloneJob]{ + OutputState: o.OutputState, + } +} + // Required. The clone job identifier. func (o CloneJobOutput) CloneJobId() pulumi.StringOutput { return o.ApplyT(func(v *CloneJob) pulumi.StringOutput { return v.CloneJobId }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/cutoverJob.go b/sdk/go/google/vmmigration/v1alpha1/cutoverJob.go index cbea044b74..dca7ea8b90 100644 --- a/sdk/go/google/vmmigration/v1alpha1/cutoverJob.go +++ b/sdk/go/google/vmmigration/v1alpha1/cutoverJob.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Initiates a Cutover of a specific migrating VM. The returned LRO is completed when the cutover job resource is created and the job is initiated. @@ -161,6 +162,12 @@ func (i *CutoverJob) ToCutoverJobOutputWithContext(ctx context.Context) CutoverJ return pulumi.ToOutputWithContext(ctx, i).(CutoverJobOutput) } +func (i *CutoverJob) ToOutput(ctx context.Context) pulumix.Output[*CutoverJob] { + return pulumix.Output[*CutoverJob]{ + OutputState: i.ToCutoverJobOutputWithContext(ctx).OutputState, + } +} + type CutoverJobOutput struct{ *pulumi.OutputState } func (CutoverJobOutput) ElementType() reflect.Type { @@ -175,6 +182,12 @@ func (o CutoverJobOutput) ToCutoverJobOutputWithContext(ctx context.Context) Cut return o } +func (o CutoverJobOutput) ToOutput(ctx context.Context) pulumix.Output[*CutoverJob] { + return pulumix.Output[*CutoverJob]{ + OutputState: o.OutputState, + } +} + // Details of the target VM in Compute Engine. func (o CutoverJobOutput) ComputeEngineTargetDetails() ComputeEngineTargetDetailsResponseOutput { return o.ApplyT(func(v *CutoverJob) ComputeEngineTargetDetailsResponseOutput { return v.ComputeEngineTargetDetails }).(ComputeEngineTargetDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/datacenterConnector.go b/sdk/go/google/vmmigration/v1alpha1/datacenterConnector.go index df9bf84263..b6fd155065 100644 --- a/sdk/go/google/vmmigration/v1alpha1/datacenterConnector.go +++ b/sdk/go/google/vmmigration/v1alpha1/datacenterConnector.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new DatacenterConnector in a given Source. @@ -162,6 +163,12 @@ func (i *DatacenterConnector) ToDatacenterConnectorOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(DatacenterConnectorOutput) } +func (i *DatacenterConnector) ToOutput(ctx context.Context) pulumix.Output[*DatacenterConnector] { + return pulumix.Output[*DatacenterConnector]{ + OutputState: i.ToDatacenterConnectorOutputWithContext(ctx).OutputState, + } +} + type DatacenterConnectorOutput struct{ *pulumi.OutputState } func (DatacenterConnectorOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o DatacenterConnectorOutput) ToDatacenterConnectorOutputWithContext(ctx co return o } +func (o DatacenterConnectorOutput) ToOutput(ctx context.Context) pulumix.Output[*DatacenterConnector] { + return pulumix.Output[*DatacenterConnector]{ + OutputState: o.OutputState, + } +} + // Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance. func (o DatacenterConnectorOutput) ApplianceInfrastructureVersion() pulumi.StringOutput { return o.ApplyT(func(v *DatacenterConnector) pulumi.StringOutput { return v.ApplianceInfrastructureVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/getCloneJob.go b/sdk/go/google/vmmigration/v1alpha1/getCloneJob.go index d568290071..1f20fa9f7b 100644 --- a/sdk/go/google/vmmigration/v1alpha1/getCloneJob.go +++ b/sdk/go/google/vmmigration/v1alpha1/getCloneJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single CloneJob. @@ -96,6 +97,12 @@ func (o LookupCloneJobResultOutput) ToLookupCloneJobResultOutputWithContext(ctx return o } +func (o LookupCloneJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCloneJobResult] { + return pulumix.Output[LookupCloneJobResult]{ + OutputState: o.OutputState, + } +} + // Details of the target VM in Compute Engine. func (o LookupCloneJobResultOutput) ComputeEngineTargetDetails() ComputeEngineTargetDetailsResponseOutput { return o.ApplyT(func(v LookupCloneJobResult) ComputeEngineTargetDetailsResponse { return v.ComputeEngineTargetDetails }).(ComputeEngineTargetDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/getCutoverJob.go b/sdk/go/google/vmmigration/v1alpha1/getCutoverJob.go index 741e88c894..d777911e0d 100644 --- a/sdk/go/google/vmmigration/v1alpha1/getCutoverJob.go +++ b/sdk/go/google/vmmigration/v1alpha1/getCutoverJob.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single CutoverJob. @@ -102,6 +103,12 @@ func (o LookupCutoverJobResultOutput) ToLookupCutoverJobResultOutputWithContext( return o } +func (o LookupCutoverJobResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupCutoverJobResult] { + return pulumix.Output[LookupCutoverJobResult]{ + OutputState: o.OutputState, + } +} + // Details of the target VM in Compute Engine. func (o LookupCutoverJobResultOutput) ComputeEngineTargetDetails() ComputeEngineTargetDetailsResponseOutput { return o.ApplyT(func(v LookupCutoverJobResult) ComputeEngineTargetDetailsResponse { return v.ComputeEngineTargetDetails }).(ComputeEngineTargetDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/getDatacenterConnector.go b/sdk/go/google/vmmigration/v1alpha1/getDatacenterConnector.go index 108ce6d976..a7a763c22e 100644 --- a/sdk/go/google/vmmigration/v1alpha1/getDatacenterConnector.go +++ b/sdk/go/google/vmmigration/v1alpha1/getDatacenterConnector.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single DatacenterConnector. @@ -98,6 +99,12 @@ func (o LookupDatacenterConnectorResultOutput) ToLookupDatacenterConnectorResult return o } +func (o LookupDatacenterConnectorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupDatacenterConnectorResult] { + return pulumix.Output[LookupDatacenterConnectorResult]{ + OutputState: o.OutputState, + } +} + // Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance. func (o LookupDatacenterConnectorResultOutput) ApplianceInfrastructureVersion() pulumi.StringOutput { return o.ApplyT(func(v LookupDatacenterConnectorResult) string { return v.ApplianceInfrastructureVersion }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/getGroup.go b/sdk/go/google/vmmigration/v1alpha1/getGroup.go index 7445f2855f..4b5842bbc0 100644 --- a/sdk/go/google/vmmigration/v1alpha1/getGroup.go +++ b/sdk/go/google/vmmigration/v1alpha1/getGroup.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Group. @@ -78,6 +79,12 @@ func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx contex return o } +func (o LookupGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupResult] { + return pulumix.Output[LookupGroupResult]{ + OutputState: o.OutputState, + } +} + // The create time timestamp. func (o LookupGroupResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupGroupResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/getMigratingVm.go b/sdk/go/google/vmmigration/v1alpha1/getMigratingVm.go index dd2bd1765c..c19129d11b 100644 --- a/sdk/go/google/vmmigration/v1alpha1/getMigratingVm.go +++ b/sdk/go/google/vmmigration/v1alpha1/getMigratingVm.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single MigratingVm. @@ -120,6 +121,12 @@ func (o LookupMigratingVmResultOutput) ToLookupMigratingVmResultOutputWithContex return o } +func (o LookupMigratingVmResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupMigratingVmResult] { + return pulumix.Output[LookupMigratingVmResult]{ + OutputState: o.OutputState, + } +} + // Details of the VM from an AWS source. func (o LookupMigratingVmResultOutput) AwsSourceVmDetails() AwsSourceVmDetailsResponseOutput { return o.ApplyT(func(v LookupMigratingVmResult) AwsSourceVmDetailsResponse { return v.AwsSourceVmDetails }).(AwsSourceVmDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/getSource.go b/sdk/go/google/vmmigration/v1alpha1/getSource.go index d071897315..a9b4c35420 100644 --- a/sdk/go/google/vmmigration/v1alpha1/getSource.go +++ b/sdk/go/google/vmmigration/v1alpha1/getSource.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Source. @@ -84,6 +85,12 @@ func (o LookupSourceResultOutput) ToLookupSourceResultOutputWithContext(ctx cont return o } +func (o LookupSourceResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSourceResult] { + return pulumix.Output[LookupSourceResult]{ + OutputState: o.OutputState, + } +} + // AWS type source details. func (o LookupSourceResultOutput) Aws() AwsSourceDetailsResponseOutput { return o.ApplyT(func(v LookupSourceResult) AwsSourceDetailsResponse { return v.Aws }).(AwsSourceDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/getTargetProject.go b/sdk/go/google/vmmigration/v1alpha1/getTargetProject.go index 4ef67eb613..8fffa11ccc 100644 --- a/sdk/go/google/vmmigration/v1alpha1/getTargetProject.go +++ b/sdk/go/google/vmmigration/v1alpha1/getTargetProject.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`. @@ -78,6 +79,12 @@ func (o LookupTargetProjectResultOutput) ToLookupTargetProjectResultOutputWithCo return o } +func (o LookupTargetProjectResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupTargetProjectResult] { + return pulumix.Output[LookupTargetProjectResult]{ + OutputState: o.OutputState, + } +} + // The time this target project resource was created (not related to when the Compute Engine project it points to was created). func (o LookupTargetProjectResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupTargetProjectResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/getUtilizationReport.go b/sdk/go/google/vmmigration/v1alpha1/getUtilizationReport.go index ec9135ab81..07ab5aa79a 100644 --- a/sdk/go/google/vmmigration/v1alpha1/getUtilizationReport.go +++ b/sdk/go/google/vmmigration/v1alpha1/getUtilizationReport.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a single Utilization Report. @@ -94,6 +95,12 @@ func (o LookupUtilizationReportResultOutput) ToLookupUtilizationReportResultOutp return o } +func (o LookupUtilizationReportResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupUtilizationReportResult] { + return pulumix.Output[LookupUtilizationReportResult]{ + OutputState: o.OutputState, + } +} + // The time the report was created (this refers to the time of the request, not the time the report creation completed). func (o LookupUtilizationReportResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupUtilizationReportResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/group.go b/sdk/go/google/vmmigration/v1alpha1/group.go index 822f287e54..b01d76f098 100644 --- a/sdk/go/google/vmmigration/v1alpha1/group.go +++ b/sdk/go/google/vmmigration/v1alpha1/group.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Group in a given project and location. @@ -133,6 +134,12 @@ func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return pulumi.ToOutputWithContext(ctx, i).(GroupOutput) } +func (i *Group) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: i.ToGroupOutputWithContext(ctx).OutputState, + } +} + type GroupOutput struct{ *pulumi.OutputState } func (GroupOutput) ElementType() reflect.Type { @@ -147,6 +154,12 @@ func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return o } +func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group] { + return pulumix.Output[*Group]{ + OutputState: o.OutputState, + } +} + // The create time timestamp. func (o GroupOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Group) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/migratingVm.go b/sdk/go/google/vmmigration/v1alpha1/migratingVm.go index 93345df7ae..6018129baf 100644 --- a/sdk/go/google/vmmigration/v1alpha1/migratingVm.go +++ b/sdk/go/google/vmmigration/v1alpha1/migratingVm.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new MigratingVm in a given Source. @@ -210,6 +211,12 @@ func (i *MigratingVm) ToMigratingVmOutputWithContext(ctx context.Context) Migrat return pulumi.ToOutputWithContext(ctx, i).(MigratingVmOutput) } +func (i *MigratingVm) ToOutput(ctx context.Context) pulumix.Output[*MigratingVm] { + return pulumix.Output[*MigratingVm]{ + OutputState: i.ToMigratingVmOutputWithContext(ctx).OutputState, + } +} + type MigratingVmOutput struct{ *pulumi.OutputState } func (MigratingVmOutput) ElementType() reflect.Type { @@ -224,6 +231,12 @@ func (o MigratingVmOutput) ToMigratingVmOutputWithContext(ctx context.Context) M return o } +func (o MigratingVmOutput) ToOutput(ctx context.Context) pulumix.Output[*MigratingVm] { + return pulumix.Output[*MigratingVm]{ + OutputState: o.OutputState, + } +} + // Details of the VM from an AWS source. func (o MigratingVmOutput) AwsSourceVmDetails() AwsSourceVmDetailsResponseOutput { return o.ApplyT(func(v *MigratingVm) AwsSourceVmDetailsResponseOutput { return v.AwsSourceVmDetails }).(AwsSourceVmDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/pulumiEnums.go b/sdk/go/google/vmmigration/v1alpha1/pulumiEnums.go index 78a92de037..94b39d688d 100644 --- a/sdk/go/google/vmmigration/v1alpha1/pulumiEnums.go +++ b/sdk/go/google/vmmigration/v1alpha1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The disk type to use in the VM. @@ -84,6 +85,12 @@ func (o ComputeEngineTargetDefaultsDiskTypeOutput) ToComputeEngineTargetDefaults }).(ComputeEngineTargetDefaultsDiskTypePtrOutput) } +func (o ComputeEngineTargetDefaultsDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDefaultsDiskType] { + return pulumix.Output[ComputeEngineTargetDefaultsDiskType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEngineTargetDefaultsDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o ComputeEngineTargetDefaultsDiskTypePtrOutput) ToComputeEngineTargetDefau return o } +func (o ComputeEngineTargetDefaultsDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaultsDiskType] { + return pulumix.Output[*ComputeEngineTargetDefaultsDiskType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEngineTargetDefaultsDiskTypePtrOutput) Elem() ComputeEngineTargetDefaultsDiskTypeOutput { return o.ApplyT(func(v *ComputeEngineTargetDefaultsDiskType) ComputeEngineTargetDefaultsDiskType { if v != nil { @@ -181,6 +194,12 @@ func (in *computeEngineTargetDefaultsDiskTypePtr) ToComputeEngineTargetDefaultsD return pulumi.ToOutputWithContext(ctx, in).(ComputeEngineTargetDefaultsDiskTypePtrOutput) } +func (in *computeEngineTargetDefaultsDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaultsDiskType] { + return pulumix.Output[*ComputeEngineTargetDefaultsDiskType]{ + OutputState: in.ToComputeEngineTargetDefaultsDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The license type to use in OS adaptation. type ComputeEngineTargetDefaultsLicenseType string @@ -253,6 +272,12 @@ func (o ComputeEngineTargetDefaultsLicenseTypeOutput) ToComputeEngineTargetDefau }).(ComputeEngineTargetDefaultsLicenseTypePtrOutput) } +func (o ComputeEngineTargetDefaultsLicenseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDefaultsLicenseType] { + return pulumix.Output[ComputeEngineTargetDefaultsLicenseType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEngineTargetDefaultsLicenseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o ComputeEngineTargetDefaultsLicenseTypePtrOutput) ToComputeEngineTargetDe return o } +func (o ComputeEngineTargetDefaultsLicenseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaultsLicenseType] { + return pulumix.Output[*ComputeEngineTargetDefaultsLicenseType]{ + OutputState: o.OutputState, + } +} + func (o ComputeEngineTargetDefaultsLicenseTypePtrOutput) Elem() ComputeEngineTargetDefaultsLicenseTypeOutput { return o.ApplyT(func(v *ComputeEngineTargetDefaultsLicenseType) ComputeEngineTargetDefaultsLicenseType { if v != nil { @@ -350,6 +381,12 @@ func (in *computeEngineTargetDefaultsLicenseTypePtr) ToComputeEngineTargetDefaul return pulumi.ToOutputWithContext(ctx, in).(ComputeEngineTargetDefaultsLicenseTypePtrOutput) } +func (in *computeEngineTargetDefaultsLicenseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaultsLicenseType] { + return pulumix.Output[*ComputeEngineTargetDefaultsLicenseType]{ + OutputState: in.ToComputeEngineTargetDefaultsLicenseTypePtrOutputWithContext(ctx).OutputState, + } +} + // How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. type ComputeSchedulingOnHostMaintenance string @@ -422,6 +459,12 @@ func (o ComputeSchedulingOnHostMaintenanceOutput) ToComputeSchedulingOnHostMaint }).(ComputeSchedulingOnHostMaintenancePtrOutput) } +func (o ComputeSchedulingOnHostMaintenanceOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeSchedulingOnHostMaintenance] { + return pulumix.Output[ComputeSchedulingOnHostMaintenance]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingOnHostMaintenanceOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o ComputeSchedulingOnHostMaintenancePtrOutput) ToComputeSchedulingOnHostMa return o } +func (o ComputeSchedulingOnHostMaintenancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeSchedulingOnHostMaintenance] { + return pulumix.Output[*ComputeSchedulingOnHostMaintenance]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingOnHostMaintenancePtrOutput) Elem() ComputeSchedulingOnHostMaintenanceOutput { return o.ApplyT(func(v *ComputeSchedulingOnHostMaintenance) ComputeSchedulingOnHostMaintenance { if v != nil { @@ -519,6 +568,12 @@ func (in *computeSchedulingOnHostMaintenancePtr) ToComputeSchedulingOnHostMainte return pulumi.ToOutputWithContext(ctx, in).(ComputeSchedulingOnHostMaintenancePtrOutput) } +func (in *computeSchedulingOnHostMaintenancePtr) ToOutput(ctx context.Context) pulumix.Output[*ComputeSchedulingOnHostMaintenance] { + return pulumix.Output[*ComputeSchedulingOnHostMaintenance]{ + OutputState: in.ToComputeSchedulingOnHostMaintenancePtrOutputWithContext(ctx).OutputState, + } +} + // Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart` field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart. type ComputeSchedulingRestartType string @@ -591,6 +646,12 @@ func (o ComputeSchedulingRestartTypeOutput) ToComputeSchedulingRestartTypePtrOut }).(ComputeSchedulingRestartTypePtrOutput) } +func (o ComputeSchedulingRestartTypeOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeSchedulingRestartType] { + return pulumix.Output[ComputeSchedulingRestartType]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingRestartTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -626,6 +687,12 @@ func (o ComputeSchedulingRestartTypePtrOutput) ToComputeSchedulingRestartTypePtr return o } +func (o ComputeSchedulingRestartTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeSchedulingRestartType] { + return pulumix.Output[*ComputeSchedulingRestartType]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingRestartTypePtrOutput) Elem() ComputeSchedulingRestartTypeOutput { return o.ApplyT(func(v *ComputeSchedulingRestartType) ComputeSchedulingRestartType { if v != nil { @@ -688,6 +755,12 @@ func (in *computeSchedulingRestartTypePtr) ToComputeSchedulingRestartTypePtrOutp return pulumi.ToOutputWithContext(ctx, in).(ComputeSchedulingRestartTypePtrOutput) } +func (in *computeSchedulingRestartTypePtr) ToOutput(ctx context.Context) pulumix.Output[*ComputeSchedulingRestartType] { + return pulumix.Output[*ComputeSchedulingRestartType]{ + OutputState: in.ToComputeSchedulingRestartTypePtrOutputWithContext(ctx).OutputState, + } +} + // The operator to use for the node resources specified in the `values` parameter. type SchedulingNodeAffinityOperator string @@ -760,6 +833,12 @@ func (o SchedulingNodeAffinityOperatorOutput) ToSchedulingNodeAffinityOperatorPt }).(SchedulingNodeAffinityOperatorPtrOutput) } +func (o SchedulingNodeAffinityOperatorOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinityOperator] { + return pulumix.Output[SchedulingNodeAffinityOperator]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityOperatorOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -795,6 +874,12 @@ func (o SchedulingNodeAffinityOperatorPtrOutput) ToSchedulingNodeAffinityOperato return o } +func (o SchedulingNodeAffinityOperatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulingNodeAffinityOperator] { + return pulumix.Output[*SchedulingNodeAffinityOperator]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityOperatorPtrOutput) Elem() SchedulingNodeAffinityOperatorOutput { return o.ApplyT(func(v *SchedulingNodeAffinityOperator) SchedulingNodeAffinityOperator { if v != nil { @@ -857,6 +942,12 @@ func (in *schedulingNodeAffinityOperatorPtr) ToSchedulingNodeAffinityOperatorPtr return pulumi.ToOutputWithContext(ctx, in).(SchedulingNodeAffinityOperatorPtrOutput) } +func (in *schedulingNodeAffinityOperatorPtr) ToOutput(ctx context.Context) pulumix.Output[*SchedulingNodeAffinityOperator] { + return pulumix.Output[*SchedulingNodeAffinityOperator]{ + OutputState: in.ToSchedulingNodeAffinityOperatorPtrOutputWithContext(ctx).OutputState, + } +} + // The disk type to use in the VM. type TargetVMDetailsDiskType string @@ -931,6 +1022,12 @@ func (o TargetVMDetailsDiskTypeOutput) ToTargetVMDetailsDiskTypePtrOutputWithCon }).(TargetVMDetailsDiskTypePtrOutput) } +func (o TargetVMDetailsDiskTypeOutput) ToOutput(ctx context.Context) pulumix.Output[TargetVMDetailsDiskType] { + return pulumix.Output[TargetVMDetailsDiskType]{ + OutputState: o.OutputState, + } +} + func (o TargetVMDetailsDiskTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -966,6 +1063,12 @@ func (o TargetVMDetailsDiskTypePtrOutput) ToTargetVMDetailsDiskTypePtrOutputWith return o } +func (o TargetVMDetailsDiskTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetVMDetailsDiskType] { + return pulumix.Output[*TargetVMDetailsDiskType]{ + OutputState: o.OutputState, + } +} + func (o TargetVMDetailsDiskTypePtrOutput) Elem() TargetVMDetailsDiskTypeOutput { return o.ApplyT(func(v *TargetVMDetailsDiskType) TargetVMDetailsDiskType { if v != nil { @@ -1028,6 +1131,12 @@ func (in *targetVMDetailsDiskTypePtr) ToTargetVMDetailsDiskTypePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(TargetVMDetailsDiskTypePtrOutput) } +func (in *targetVMDetailsDiskTypePtr) ToOutput(ctx context.Context) pulumix.Output[*TargetVMDetailsDiskType] { + return pulumix.Output[*TargetVMDetailsDiskType]{ + OutputState: in.ToTargetVMDetailsDiskTypePtrOutputWithContext(ctx).OutputState, + } +} + // The license type to use in OS adaptation. type TargetVMDetailsLicenseType string @@ -1100,6 +1209,12 @@ func (o TargetVMDetailsLicenseTypeOutput) ToTargetVMDetailsLicenseTypePtrOutputW }).(TargetVMDetailsLicenseTypePtrOutput) } +func (o TargetVMDetailsLicenseTypeOutput) ToOutput(ctx context.Context) pulumix.Output[TargetVMDetailsLicenseType] { + return pulumix.Output[TargetVMDetailsLicenseType]{ + OutputState: o.OutputState, + } +} + func (o TargetVMDetailsLicenseTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1135,6 +1250,12 @@ func (o TargetVMDetailsLicenseTypePtrOutput) ToTargetVMDetailsLicenseTypePtrOutp return o } +func (o TargetVMDetailsLicenseTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetVMDetailsLicenseType] { + return pulumix.Output[*TargetVMDetailsLicenseType]{ + OutputState: o.OutputState, + } +} + func (o TargetVMDetailsLicenseTypePtrOutput) Elem() TargetVMDetailsLicenseTypeOutput { return o.ApplyT(func(v *TargetVMDetailsLicenseType) TargetVMDetailsLicenseType { if v != nil { @@ -1197,6 +1318,12 @@ func (in *targetVMDetailsLicenseTypePtr) ToTargetVMDetailsLicenseTypePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(TargetVMDetailsLicenseTypePtrOutput) } +func (in *targetVMDetailsLicenseTypePtr) ToOutput(ctx context.Context) pulumix.Output[*TargetVMDetailsLicenseType] { + return pulumix.Output[*TargetVMDetailsLicenseType]{ + OutputState: in.ToTargetVMDetailsLicenseTypePtrOutputWithContext(ctx).OutputState, + } +} + // Time frame of the report. type UtilizationReportTimeFrame string @@ -1271,6 +1398,12 @@ func (o UtilizationReportTimeFrameOutput) ToUtilizationReportTimeFramePtrOutputW }).(UtilizationReportTimeFramePtrOutput) } +func (o UtilizationReportTimeFrameOutput) ToOutput(ctx context.Context) pulumix.Output[UtilizationReportTimeFrame] { + return pulumix.Output[UtilizationReportTimeFrame]{ + OutputState: o.OutputState, + } +} + func (o UtilizationReportTimeFrameOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1306,6 +1439,12 @@ func (o UtilizationReportTimeFramePtrOutput) ToUtilizationReportTimeFramePtrOutp return o } +func (o UtilizationReportTimeFramePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*UtilizationReportTimeFrame] { + return pulumix.Output[*UtilizationReportTimeFrame]{ + OutputState: o.OutputState, + } +} + func (o UtilizationReportTimeFramePtrOutput) Elem() UtilizationReportTimeFrameOutput { return o.ApplyT(func(v *UtilizationReportTimeFrame) UtilizationReportTimeFrame { if v != nil { @@ -1368,6 +1507,12 @@ func (in *utilizationReportTimeFramePtr) ToUtilizationReportTimeFramePtrOutputWi return pulumi.ToOutputWithContext(ctx, in).(UtilizationReportTimeFramePtrOutput) } +func (in *utilizationReportTimeFramePtr) ToOutput(ctx context.Context) pulumix.Output[*UtilizationReportTimeFrame] { + return pulumix.Output[*UtilizationReportTimeFrame]{ + OutputState: in.ToUtilizationReportTimeFramePtrOutputWithContext(ctx).OutputState, + } +} + // The power state of the VM at the moment list was taken. type VmwareVmDetailsPowerState string @@ -1442,6 +1587,12 @@ func (o VmwareVmDetailsPowerStateOutput) ToVmwareVmDetailsPowerStatePtrOutputWit }).(VmwareVmDetailsPowerStatePtrOutput) } +func (o VmwareVmDetailsPowerStateOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVmDetailsPowerState] { + return pulumix.Output[VmwareVmDetailsPowerState]{ + OutputState: o.OutputState, + } +} + func (o VmwareVmDetailsPowerStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1477,6 +1628,12 @@ func (o VmwareVmDetailsPowerStatePtrOutput) ToVmwareVmDetailsPowerStatePtrOutput return o } +func (o VmwareVmDetailsPowerStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareVmDetailsPowerState] { + return pulumix.Output[*VmwareVmDetailsPowerState]{ + OutputState: o.OutputState, + } +} + func (o VmwareVmDetailsPowerStatePtrOutput) Elem() VmwareVmDetailsPowerStateOutput { return o.ApplyT(func(v *VmwareVmDetailsPowerState) VmwareVmDetailsPowerState { if v != nil { @@ -1539,6 +1696,12 @@ func (in *vmwareVmDetailsPowerStatePtr) ToVmwareVmDetailsPowerStatePtrOutputWith return pulumi.ToOutputWithContext(ctx, in).(VmwareVmDetailsPowerStatePtrOutput) } +func (in *vmwareVmDetailsPowerStatePtr) ToOutput(ctx context.Context) pulumix.Output[*VmwareVmDetailsPowerState] { + return pulumix.Output[*VmwareVmDetailsPowerState]{ + OutputState: in.ToVmwareVmDetailsPowerStatePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ComputeEngineTargetDefaultsDiskTypeInput)(nil)).Elem(), ComputeEngineTargetDefaultsDiskType("COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ComputeEngineTargetDefaultsDiskTypePtrInput)(nil)).Elem(), ComputeEngineTargetDefaultsDiskType("COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/vmmigration/v1alpha1/pulumiTypes.go b/sdk/go/google/vmmigration/v1alpha1/pulumiTypes.go index d6abaa7fcc..0f4c65e7cd 100644 --- a/sdk/go/google/vmmigration/v1alpha1/pulumiTypes.go +++ b/sdk/go/google/vmmigration/v1alpha1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i AccessKeyCredentialsArgs) ToAccessKeyCredentialsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AccessKeyCredentialsOutput) } +func (i AccessKeyCredentialsArgs) ToOutput(ctx context.Context) pulumix.Output[AccessKeyCredentials] { + return pulumix.Output[AccessKeyCredentials]{ + OutputState: i.ToAccessKeyCredentialsOutputWithContext(ctx).OutputState, + } +} + func (i AccessKeyCredentialsArgs) ToAccessKeyCredentialsPtrOutput() AccessKeyCredentialsPtrOutput { return i.ToAccessKeyCredentialsPtrOutputWithContext(context.Background()) } @@ -97,6 +104,12 @@ func (i *accessKeyCredentialsPtrType) ToAccessKeyCredentialsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AccessKeyCredentialsPtrOutput) } +func (i *accessKeyCredentialsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AccessKeyCredentials] { + return pulumix.Output[*AccessKeyCredentials]{ + OutputState: i.ToAccessKeyCredentialsPtrOutputWithContext(ctx).OutputState, + } +} + // Message describing AWS Credentials using access key id and secret. type AccessKeyCredentialsOutput struct{ *pulumi.OutputState } @@ -122,6 +135,12 @@ func (o AccessKeyCredentialsOutput) ToAccessKeyCredentialsPtrOutputWithContext(c }).(AccessKeyCredentialsPtrOutput) } +func (o AccessKeyCredentialsOutput) ToOutput(ctx context.Context) pulumix.Output[AccessKeyCredentials] { + return pulumix.Output[AccessKeyCredentials]{ + OutputState: o.OutputState, + } +} + // AWS access key ID. func (o AccessKeyCredentialsOutput) AccessKeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v AccessKeyCredentials) *string { return v.AccessKeyId }).(pulumi.StringPtrOutput) @@ -151,6 +170,12 @@ func (o AccessKeyCredentialsPtrOutput) ToAccessKeyCredentialsPtrOutputWithContex return o } +func (o AccessKeyCredentialsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessKeyCredentials] { + return pulumix.Output[*AccessKeyCredentials]{ + OutputState: o.OutputState, + } +} + func (o AccessKeyCredentialsPtrOutput) Elem() AccessKeyCredentialsOutput { return o.ApplyT(func(v *AccessKeyCredentials) AccessKeyCredentials { if v != nil { @@ -216,6 +241,12 @@ func (o AccessKeyCredentialsResponseOutput) ToAccessKeyCredentialsResponseOutput return o } +func (o AccessKeyCredentialsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AccessKeyCredentialsResponse] { + return pulumix.Output[AccessKeyCredentialsResponse]{ + OutputState: o.OutputState, + } +} + // AWS access key ID. func (o AccessKeyCredentialsResponseOutput) AccessKeyId() pulumi.StringOutput { return o.ApplyT(func(v AccessKeyCredentialsResponse) string { return v.AccessKeyId }).(pulumi.StringOutput) @@ -250,6 +281,12 @@ func (o AdaptingOSStepResponseOutput) ToAdaptingOSStepResponseOutputWithContext( return o } +func (o AdaptingOSStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AdaptingOSStepResponse] { + return pulumix.Output[AdaptingOSStepResponse]{ + OutputState: o.OutputState, + } +} + // Describes an appliance version. type ApplianceVersionResponse struct { // Determine whether it's critical to upgrade the appliance to this version. @@ -277,6 +314,12 @@ func (o ApplianceVersionResponseOutput) ToApplianceVersionResponseOutputWithCont return o } +func (o ApplianceVersionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ApplianceVersionResponse] { + return pulumix.Output[ApplianceVersionResponse]{ + OutputState: o.OutputState, + } +} + // Determine whether it's critical to upgrade the appliance to this version. func (o ApplianceVersionResponseOutput) Critical() pulumi.BoolOutput { return o.ApplyT(func(v ApplianceVersionResponse) bool { return v.Critical }).(pulumi.BoolOutput) @@ -320,6 +363,12 @@ func (o AppliedLicenseResponseOutput) ToAppliedLicenseResponseOutputWithContext( return o } +func (o AppliedLicenseResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AppliedLicenseResponse] { + return pulumix.Output[AppliedLicenseResponse]{ + OutputState: o.OutputState, + } +} + // The OS license returned from the adaptation module's report. func (o AppliedLicenseResponseOutput) OsLicense() pulumi.StringOutput { return o.ApplyT(func(v AppliedLicenseResponse) string { return v.OsLicense }).(pulumi.StringOutput) @@ -353,6 +402,12 @@ func (o AvailableUpdatesResponseOutput) ToAvailableUpdatesResponseOutputWithCont return o } +func (o AvailableUpdatesResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AvailableUpdatesResponse] { + return pulumix.Output[AvailableUpdatesResponse]{ + OutputState: o.OutputState, + } +} + // The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI. func (o AvailableUpdatesResponseOutput) InPlaceUpdate() ApplianceVersionResponseOutput { return o.ApplyT(func(v AvailableUpdatesResponse) ApplianceVersionResponse { return v.InPlaceUpdate }).(ApplianceVersionResponseOutput) @@ -414,6 +469,12 @@ func (i AwsSourceDetailsArgs) ToAwsSourceDetailsOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AwsSourceDetailsOutput) } +func (i AwsSourceDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[AwsSourceDetails] { + return pulumix.Output[AwsSourceDetails]{ + OutputState: i.ToAwsSourceDetailsOutputWithContext(ctx).OutputState, + } +} + func (i AwsSourceDetailsArgs) ToAwsSourceDetailsPtrOutput() AwsSourceDetailsPtrOutput { return i.ToAwsSourceDetailsPtrOutputWithContext(context.Background()) } @@ -455,6 +516,12 @@ func (i *awsSourceDetailsPtrType) ToAwsSourceDetailsPtrOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(AwsSourceDetailsPtrOutput) } +func (i *awsSourceDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*AwsSourceDetails] { + return pulumix.Output[*AwsSourceDetails]{ + OutputState: i.ToAwsSourceDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // AwsSourceDetails message describes a specific source details for the AWS source type. type AwsSourceDetailsOutput struct{ *pulumi.OutputState } @@ -480,6 +547,12 @@ func (o AwsSourceDetailsOutput) ToAwsSourceDetailsPtrOutputWithContext(ctx conte }).(AwsSourceDetailsPtrOutput) } +func (o AwsSourceDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[AwsSourceDetails] { + return pulumix.Output[AwsSourceDetails]{ + OutputState: o.OutputState, + } +} + // AWS Credentials using access key id and secret. func (o AwsSourceDetailsOutput) AccessKeyCreds() AccessKeyCredentialsPtrOutput { return o.ApplyT(func(v AwsSourceDetails) *AccessKeyCredentials { return v.AccessKeyCreds }).(AccessKeyCredentialsPtrOutput) @@ -519,6 +592,12 @@ func (o AwsSourceDetailsPtrOutput) ToAwsSourceDetailsPtrOutputWithContext(ctx co return o } +func (o AwsSourceDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AwsSourceDetails] { + return pulumix.Output[*AwsSourceDetails]{ + OutputState: o.OutputState, + } +} + func (o AwsSourceDetailsPtrOutput) Elem() AwsSourceDetailsOutput { return o.ApplyT(func(v *AwsSourceDetails) AwsSourceDetails { if v != nil { @@ -614,6 +693,12 @@ func (o AwsSourceDetailsResponseOutput) ToAwsSourceDetailsResponseOutputWithCont return o } +func (o AwsSourceDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AwsSourceDetailsResponse] { + return pulumix.Output[AwsSourceDetailsResponse]{ + OutputState: o.OutputState, + } +} + // AWS Credentials using access key id and secret. func (o AwsSourceDetailsResponseOutput) AccessKeyCreds() AccessKeyCredentialsResponseOutput { return o.ApplyT(func(v AwsSourceDetailsResponse) AccessKeyCredentialsResponse { return v.AccessKeyCreds }).(AccessKeyCredentialsResponseOutput) @@ -677,6 +762,12 @@ func (o AwsSourceVmDetailsResponseOutput) ToAwsSourceVmDetailsResponseOutputWith return o } +func (o AwsSourceVmDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AwsSourceVmDetailsResponse] { + return pulumix.Output[AwsSourceVmDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The total size of the disks being migrated in bytes. func (o AwsSourceVmDetailsResponseOutput) CommittedStorageBytes() pulumi.StringOutput { return o.ApplyT(func(v AwsSourceVmDetailsResponse) string { return v.CommittedStorageBytes }).(pulumi.StringOutput) @@ -730,6 +821,12 @@ func (o CloneJobResponseOutput) ToCloneJobResponseOutputWithContext(ctx context. return o } +func (o CloneJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloneJobResponse] { + return pulumix.Output[CloneJobResponse]{ + OutputState: o.OutputState, + } +} + // Details of the target VM in Compute Engine. func (o CloneJobResponseOutput) ComputeEngineTargetDetails() ComputeEngineTargetDetailsResponseOutput { return o.ApplyT(func(v CloneJobResponse) ComputeEngineTargetDetailsResponse { return v.ComputeEngineTargetDetails }).(ComputeEngineTargetDetailsResponseOutput) @@ -798,6 +895,12 @@ func (o CloneJobResponseArrayOutput) ToCloneJobResponseArrayOutputWithContext(ct return o } +func (o CloneJobResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CloneJobResponse] { + return pulumix.Output[[]CloneJobResponse]{ + OutputState: o.OutputState, + } +} + func (o CloneJobResponseArrayOutput) Index(i pulumi.IntInput) CloneJobResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloneJobResponse { return vs[0].([]CloneJobResponse)[vs[1].(int)] @@ -833,6 +936,12 @@ func (o CloneStepResponseOutput) ToCloneStepResponseOutputWithContext(ctx contex return o } +func (o CloneStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CloneStepResponse] { + return pulumix.Output[CloneStepResponse]{ + OutputState: o.OutputState, + } +} + // Adapting OS step. func (o CloneStepResponseOutput) AdaptingOs() AdaptingOSStepResponseOutput { return o.ApplyT(func(v CloneStepResponse) AdaptingOSStepResponse { return v.AdaptingOs }).(AdaptingOSStepResponseOutput) @@ -872,6 +981,12 @@ func (o CloneStepResponseArrayOutput) ToCloneStepResponseArrayOutputWithContext( return o } +func (o CloneStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CloneStepResponse] { + return pulumix.Output[[]CloneStepResponse]{ + OutputState: o.OutputState, + } +} + func (o CloneStepResponseArrayOutput) Index(i pulumi.IntInput) CloneStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloneStepResponse { return vs[0].([]CloneStepResponse)[vs[1].(int)] @@ -973,6 +1088,12 @@ func (i ComputeEngineTargetDefaultsArgs) ToComputeEngineTargetDefaultsOutputWith return pulumi.ToOutputWithContext(ctx, i).(ComputeEngineTargetDefaultsOutput) } +func (i ComputeEngineTargetDefaultsArgs) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDefaults] { + return pulumix.Output[ComputeEngineTargetDefaults]{ + OutputState: i.ToComputeEngineTargetDefaultsOutputWithContext(ctx).OutputState, + } +} + func (i ComputeEngineTargetDefaultsArgs) ToComputeEngineTargetDefaultsPtrOutput() ComputeEngineTargetDefaultsPtrOutput { return i.ToComputeEngineTargetDefaultsPtrOutputWithContext(context.Background()) } @@ -1014,6 +1135,12 @@ func (i *computeEngineTargetDefaultsPtrType) ToComputeEngineTargetDefaultsPtrOut return pulumi.ToOutputWithContext(ctx, i).(ComputeEngineTargetDefaultsPtrOutput) } +func (i *computeEngineTargetDefaultsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaults] { + return pulumix.Output[*ComputeEngineTargetDefaults]{ + OutputState: i.ToComputeEngineTargetDefaultsPtrOutputWithContext(ctx).OutputState, + } +} + // ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project. type ComputeEngineTargetDefaultsOutput struct{ *pulumi.OutputState } @@ -1039,6 +1166,12 @@ func (o ComputeEngineTargetDefaultsOutput) ToComputeEngineTargetDefaultsPtrOutpu }).(ComputeEngineTargetDefaultsPtrOutput) } +func (o ComputeEngineTargetDefaultsOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDefaults] { + return pulumix.Output[ComputeEngineTargetDefaults]{ + OutputState: o.OutputState, + } +} + // Additional licenses to assign to the VM. func (o ComputeEngineTargetDefaultsOutput) AdditionalLicenses() pulumi.StringArrayOutput { return o.ApplyT(func(v ComputeEngineTargetDefaults) []string { return v.AdditionalLicenses }).(pulumi.StringArrayOutput) @@ -1133,6 +1266,12 @@ func (o ComputeEngineTargetDefaultsPtrOutput) ToComputeEngineTargetDefaultsPtrOu return o } +func (o ComputeEngineTargetDefaultsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeEngineTargetDefaults] { + return pulumix.Output[*ComputeEngineTargetDefaults]{ + OutputState: o.OutputState, + } +} + func (o ComputeEngineTargetDefaultsPtrOutput) Elem() ComputeEngineTargetDefaultsOutput { return o.ApplyT(func(v *ComputeEngineTargetDefaults) ComputeEngineTargetDefaults { if v != nil { @@ -1358,6 +1497,12 @@ func (o ComputeEngineTargetDefaultsResponseOutput) ToComputeEngineTargetDefaults return o } +func (o ComputeEngineTargetDefaultsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDefaultsResponse] { + return pulumix.Output[ComputeEngineTargetDefaultsResponse]{ + OutputState: o.OutputState, + } +} + // Additional licenses to assign to the VM. func (o ComputeEngineTargetDefaultsResponseOutput) AdditionalLicenses() pulumi.StringArrayOutput { return o.ApplyT(func(v ComputeEngineTargetDefaultsResponse) []string { return v.AdditionalLicenses }).(pulumi.StringArrayOutput) @@ -1503,6 +1648,12 @@ func (o ComputeEngineTargetDetailsResponseOutput) ToComputeEngineTargetDetailsRe return o } +func (o ComputeEngineTargetDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeEngineTargetDetailsResponse] { + return pulumix.Output[ComputeEngineTargetDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Additional licenses to assign to the VM. func (o ComputeEngineTargetDetailsResponseOutput) AdditionalLicenses() pulumi.StringArrayOutput { return o.ApplyT(func(v ComputeEngineTargetDetailsResponse) []string { return v.AdditionalLicenses }).(pulumi.StringArrayOutput) @@ -1642,6 +1793,12 @@ func (i ComputeSchedulingArgs) ToComputeSchedulingOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ComputeSchedulingOutput) } +func (i ComputeSchedulingArgs) ToOutput(ctx context.Context) pulumix.Output[ComputeScheduling] { + return pulumix.Output[ComputeScheduling]{ + OutputState: i.ToComputeSchedulingOutputWithContext(ctx).OutputState, + } +} + func (i ComputeSchedulingArgs) ToComputeSchedulingPtrOutput() ComputeSchedulingPtrOutput { return i.ToComputeSchedulingPtrOutputWithContext(context.Background()) } @@ -1683,6 +1840,12 @@ func (i *computeSchedulingPtrType) ToComputeSchedulingPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ComputeSchedulingPtrOutput) } +func (i *computeSchedulingPtrType) ToOutput(ctx context.Context) pulumix.Output[*ComputeScheduling] { + return pulumix.Output[*ComputeScheduling]{ + OutputState: i.ToComputeSchedulingPtrOutputWithContext(ctx).OutputState, + } +} + // Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. type ComputeSchedulingOutput struct{ *pulumi.OutputState } @@ -1708,6 +1871,12 @@ func (o ComputeSchedulingOutput) ToComputeSchedulingPtrOutputWithContext(ctx con }).(ComputeSchedulingPtrOutput) } +func (o ComputeSchedulingOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeScheduling] { + return pulumix.Output[ComputeScheduling]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingOutput) AutomaticRestart() pulumi.BoolPtrOutput { return o.ApplyT(func(v ComputeScheduling) *bool { return v.AutomaticRestart }).(pulumi.BoolPtrOutput) } @@ -1746,6 +1915,12 @@ func (o ComputeSchedulingPtrOutput) ToComputeSchedulingPtrOutputWithContext(ctx return o } +func (o ComputeSchedulingPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ComputeScheduling] { + return pulumix.Output[*ComputeScheduling]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingPtrOutput) Elem() ComputeSchedulingOutput { return o.ApplyT(func(v *ComputeScheduling) ComputeScheduling { if v != nil { @@ -1833,6 +2008,12 @@ func (o ComputeSchedulingResponseOutput) ToComputeSchedulingResponseOutputWithCo return o } +func (o ComputeSchedulingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ComputeSchedulingResponse] { + return pulumix.Output[ComputeSchedulingResponse]{ + OutputState: o.OutputState, + } +} + func (o ComputeSchedulingResponseOutput) AutomaticRestart() pulumi.BoolOutput { return o.ApplyT(func(v ComputeSchedulingResponse) bool { return v.AutomaticRestart }).(pulumi.BoolOutput) } @@ -1878,6 +2059,12 @@ func (o CutoverForecastResponseOutput) ToCutoverForecastResponseOutputWithContex return o } +func (o CutoverForecastResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CutoverForecastResponse] { + return pulumix.Output[CutoverForecastResponse]{ + OutputState: o.OutputState, + } +} + // Estimation of the CutoverJob duration. func (o CutoverForecastResponseOutput) EstimatedCutoverJobDuration() pulumi.StringOutput { return o.ApplyT(func(v CutoverForecastResponse) string { return v.EstimatedCutoverJobDuration }).(pulumi.StringOutput) @@ -1932,6 +2119,12 @@ func (o CutoverJobResponseOutput) ToCutoverJobResponseOutputWithContext(ctx cont return o } +func (o CutoverJobResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CutoverJobResponse] { + return pulumix.Output[CutoverJobResponse]{ + OutputState: o.OutputState, + } +} + // Details of the target VM in Compute Engine. func (o CutoverJobResponseOutput) ComputeEngineTargetDetails() ComputeEngineTargetDetailsResponseOutput { return o.ApplyT(func(v CutoverJobResponse) ComputeEngineTargetDetailsResponse { return v.ComputeEngineTargetDetails }).(ComputeEngineTargetDetailsResponseOutput) @@ -2015,6 +2208,12 @@ func (o CutoverJobResponseArrayOutput) ToCutoverJobResponseArrayOutputWithContex return o } +func (o CutoverJobResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CutoverJobResponse] { + return pulumix.Output[[]CutoverJobResponse]{ + OutputState: o.OutputState, + } +} + func (o CutoverJobResponseArrayOutput) Index(i pulumi.IntInput) CutoverJobResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CutoverJobResponse { return vs[0].([]CutoverJobResponse)[vs[1].(int)] @@ -2054,6 +2253,12 @@ func (o CutoverStepResponseOutput) ToCutoverStepResponseOutputWithContext(ctx co return o } +func (o CutoverStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CutoverStepResponse] { + return pulumix.Output[CutoverStepResponse]{ + OutputState: o.OutputState, + } +} + // The time the step has ended. func (o CutoverStepResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v CutoverStepResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -2103,6 +2308,12 @@ func (o CutoverStepResponseArrayOutput) ToCutoverStepResponseArrayOutputWithCont return o } +func (o CutoverStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CutoverStepResponse] { + return pulumix.Output[[]CutoverStepResponse]{ + OutputState: o.OutputState, + } +} + func (o CutoverStepResponseArrayOutput) Index(i pulumi.IntInput) CutoverStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CutoverStepResponse { return vs[0].([]CutoverStepResponse)[vs[1].(int)] @@ -2138,6 +2349,12 @@ func (o CycleStepResponseOutput) ToCycleStepResponseOutputWithContext(ctx contex return o } +func (o CycleStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CycleStepResponse] { + return pulumix.Output[CycleStepResponse]{ + OutputState: o.OutputState, + } +} + // The time the cycle step has ended. func (o CycleStepResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v CycleStepResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -2177,6 +2394,12 @@ func (o CycleStepResponseArrayOutput) ToCycleStepResponseArrayOutputWithContext( return o } +func (o CycleStepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]CycleStepResponse] { + return pulumix.Output[[]CycleStepResponse]{ + OutputState: o.OutputState, + } +} + func (o CycleStepResponseArrayOutput) Index(i pulumi.IntInput) CycleStepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) CycleStepResponse { return vs[0].([]CycleStepResponse)[vs[1].(int)] @@ -2202,6 +2425,12 @@ func (o InitializingReplicationStepResponseOutput) ToInitializingReplicationStep return o } +func (o InitializingReplicationStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InitializingReplicationStepResponse] { + return pulumix.Output[InitializingReplicationStepResponse]{ + OutputState: o.OutputState, + } +} + // InstantiatingMigratedVMStep contains specific step details. type InstantiatingMigratedVMStepResponse struct { } @@ -2221,6 +2450,12 @@ func (o InstantiatingMigratedVMStepResponseOutput) ToInstantiatingMigratedVMStep return o } +func (o InstantiatingMigratedVMStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[InstantiatingMigratedVMStepResponse] { + return pulumix.Output[InstantiatingMigratedVMStepResponse]{ + OutputState: o.OutputState, + } +} + // Describes a URL link. type LinkResponse struct { // Describes what the link offers. @@ -2244,6 +2479,12 @@ func (o LinkResponseOutput) ToLinkResponseOutputWithContext(ctx context.Context) return o } +func (o LinkResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LinkResponse] { + return pulumix.Output[LinkResponse]{ + OutputState: o.OutputState, + } +} + // Describes what the link offers. func (o LinkResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LinkResponse) string { return v.Description }).(pulumi.StringOutput) @@ -2268,6 +2509,12 @@ func (o LinkResponseArrayOutput) ToLinkResponseArrayOutputWithContext(ctx contex return o } +func (o LinkResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]LinkResponse] { + return pulumix.Output[[]LinkResponse]{ + OutputState: o.OutputState, + } +} + func (o LinkResponseArrayOutput) Index(i pulumi.IntInput) LinkResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) LinkResponse { return vs[0].([]LinkResponse)[vs[1].(int)] @@ -2297,6 +2544,12 @@ func (o LocalizedMessageResponseOutput) ToLocalizedMessageResponseOutputWithCont return o } +func (o LocalizedMessageResponseOutput) ToOutput(ctx context.Context) pulumix.Output[LocalizedMessageResponse] { + return pulumix.Output[LocalizedMessageResponse]{ + OutputState: o.OutputState, + } +} + // The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" func (o LocalizedMessageResponseOutput) Locale() pulumi.StringOutput { return o.ApplyT(func(v LocalizedMessageResponse) string { return v.Locale }).(pulumi.StringOutput) @@ -2336,6 +2589,12 @@ func (o MigrationWarningResponseOutput) ToMigrationWarningResponseOutputWithCont return o } +func (o MigrationWarningResponseOutput) ToOutput(ctx context.Context) pulumix.Output[MigrationWarningResponse] { + return pulumix.Output[MigrationWarningResponse]{ + OutputState: o.OutputState, + } +} + // Suggested action for solving the warning. func (o MigrationWarningResponseOutput) ActionItem() LocalizedMessageResponseOutput { return o.ApplyT(func(v MigrationWarningResponse) LocalizedMessageResponse { return v.ActionItem }).(LocalizedMessageResponseOutput) @@ -2375,6 +2634,12 @@ func (o MigrationWarningResponseArrayOutput) ToMigrationWarningResponseArrayOutp return o } +func (o MigrationWarningResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]MigrationWarningResponse] { + return pulumix.Output[[]MigrationWarningResponse]{ + OutputState: o.OutputState, + } +} + func (o MigrationWarningResponseArrayOutput) Index(i pulumi.IntInput) MigrationWarningResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) MigrationWarningResponse { return vs[0].([]MigrationWarningResponse)[vs[1].(int)] @@ -2428,6 +2693,12 @@ func (i NetworkInterfaceArgs) ToNetworkInterfaceOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceOutput) } +func (i NetworkInterfaceArgs) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: i.ToNetworkInterfaceOutputWithContext(ctx).OutputState, + } +} + // NetworkInterfaceArrayInput is an input type that accepts NetworkInterfaceArray and NetworkInterfaceArrayOutput values. // You can construct a concrete instance of `NetworkInterfaceArrayInput` via: // @@ -2453,6 +2724,12 @@ func (i NetworkInterfaceArray) ToNetworkInterfaceArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NetworkInterfaceArrayOutput) } +func (i NetworkInterfaceArray) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: i.ToNetworkInterfaceArrayOutputWithContext(ctx).OutputState, + } +} + // NetworkInterface represents a NIC of a VM. type NetworkInterfaceOutput struct{ *pulumi.OutputState } @@ -2468,6 +2745,12 @@ func (o NetworkInterfaceOutput) ToNetworkInterfaceOutputWithContext(ctx context. return o } +func (o NetworkInterfaceOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterface] { + return pulumix.Output[NetworkInterface]{ + OutputState: o.OutputState, + } +} + // The external IP to define in the NIC. func (o NetworkInterfaceOutput) ExternalIp() pulumi.StringPtrOutput { return o.ApplyT(func(v NetworkInterface) *string { return v.ExternalIp }).(pulumi.StringPtrOutput) @@ -2502,6 +2785,12 @@ func (o NetworkInterfaceArrayOutput) ToNetworkInterfaceArrayOutputWithContext(ct return o } +func (o NetworkInterfaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterface] { + return pulumix.Output[[]NetworkInterface]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterface { return vs[0].([]NetworkInterface)[vs[1].(int)] @@ -2535,6 +2824,12 @@ func (o NetworkInterfaceResponseOutput) ToNetworkInterfaceResponseOutputWithCont return o } +func (o NetworkInterfaceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[NetworkInterfaceResponse] { + return pulumix.Output[NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + // The external IP to define in the NIC. func (o NetworkInterfaceResponseOutput) ExternalIp() pulumi.StringOutput { return o.ApplyT(func(v NetworkInterfaceResponse) string { return v.ExternalIp }).(pulumi.StringOutput) @@ -2569,6 +2864,12 @@ func (o NetworkInterfaceResponseArrayOutput) ToNetworkInterfaceResponseArrayOutp return o } +func (o NetworkInterfaceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]NetworkInterfaceResponse] { + return pulumix.Output[[]NetworkInterfaceResponse]{ + OutputState: o.OutputState, + } +} + func (o NetworkInterfaceResponseArrayOutput) Index(i pulumi.IntInput) NetworkInterfaceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) NetworkInterfaceResponse { return vs[0].([]NetworkInterfaceResponse)[vs[1].(int)] @@ -2594,6 +2895,12 @@ func (o PostProcessingStepResponseOutput) ToPostProcessingStepResponseOutputWith return o } +func (o PostProcessingStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PostProcessingStepResponse] { + return pulumix.Output[PostProcessingStepResponse]{ + OutputState: o.OutputState, + } +} + // PreparingVMDisksStep contains specific step details. type PreparingVMDisksStepResponse struct { } @@ -2613,6 +2920,12 @@ func (o PreparingVMDisksStepResponseOutput) ToPreparingVMDisksStepResponseOutput return o } +func (o PreparingVMDisksStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PreparingVMDisksStepResponse] { + return pulumix.Output[PreparingVMDisksStepResponse]{ + OutputState: o.OutputState, + } +} + // ReplicatingStep contains specific step details. type ReplicatingStepResponse struct { // The source disks replication rate for the last 30 minutes in bytes per second. @@ -2640,6 +2953,12 @@ func (o ReplicatingStepResponseOutput) ToReplicatingStepResponseOutputWithContex return o } +func (o ReplicatingStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicatingStepResponse] { + return pulumix.Output[ReplicatingStepResponse]{ + OutputState: o.OutputState, + } +} + // The source disks replication rate for the last 30 minutes in bytes per second. func (o ReplicatingStepResponseOutput) LastThirtyMinutesAverageBytesPerSecond() pulumi.StringOutput { return o.ApplyT(func(v ReplicatingStepResponse) string { return v.LastThirtyMinutesAverageBytesPerSecond }).(pulumi.StringOutput) @@ -2701,6 +3020,12 @@ func (o ReplicationCycleResponseOutput) ToReplicationCycleResponseOutputWithCont return o } +func (o ReplicationCycleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicationCycleResponse] { + return pulumix.Output[ReplicationCycleResponse]{ + OutputState: o.OutputState, + } +} + // The cycle's ordinal number. func (o ReplicationCycleResponseOutput) CycleNumber() pulumi.IntOutput { return o.ApplyT(func(v ReplicationCycleResponse) int { return v.CycleNumber }).(pulumi.IntOutput) @@ -2777,6 +3102,12 @@ func (o ReplicationSyncResponseOutput) ToReplicationSyncResponseOutputWithContex return o } +func (o ReplicationSyncResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicationSyncResponse] { + return pulumix.Output[ReplicationSyncResponse]{ + OutputState: o.OutputState, + } +} + // The most updated snapshot created time in the source that finished replication. func (o ReplicationSyncResponseOutput) LastSyncTime() pulumi.StringOutput { return o.ApplyT(func(v ReplicationSyncResponse) string { return v.LastSyncTime }).(pulumi.StringOutput) @@ -2821,6 +3152,12 @@ func (i SchedulePolicyArgs) ToSchedulePolicyOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SchedulePolicyOutput) } +func (i SchedulePolicyArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulePolicy] { + return pulumix.Output[SchedulePolicy]{ + OutputState: i.ToSchedulePolicyOutputWithContext(ctx).OutputState, + } +} + func (i SchedulePolicyArgs) ToSchedulePolicyPtrOutput() SchedulePolicyPtrOutput { return i.ToSchedulePolicyPtrOutputWithContext(context.Background()) } @@ -2862,6 +3199,12 @@ func (i *schedulePolicyPtrType) ToSchedulePolicyPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SchedulePolicyPtrOutput) } +func (i *schedulePolicyPtrType) ToOutput(ctx context.Context) pulumix.Output[*SchedulePolicy] { + return pulumix.Output[*SchedulePolicy]{ + OutputState: i.ToSchedulePolicyPtrOutputWithContext(ctx).OutputState, + } +} + // A policy for scheduling replications. type SchedulePolicyOutput struct{ *pulumi.OutputState } @@ -2887,6 +3230,12 @@ func (o SchedulePolicyOutput) ToSchedulePolicyPtrOutputWithContext(ctx context.C }).(SchedulePolicyPtrOutput) } +func (o SchedulePolicyOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulePolicy] { + return pulumix.Output[SchedulePolicy]{ + OutputState: o.OutputState, + } +} + // The idle duration between replication stages. func (o SchedulePolicyOutput) IdleDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v SchedulePolicy) *string { return v.IdleDuration }).(pulumi.StringPtrOutput) @@ -2911,6 +3260,12 @@ func (o SchedulePolicyPtrOutput) ToSchedulePolicyPtrOutputWithContext(ctx contex return o } +func (o SchedulePolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SchedulePolicy] { + return pulumix.Output[*SchedulePolicy]{ + OutputState: o.OutputState, + } +} + func (o SchedulePolicyPtrOutput) Elem() SchedulePolicyOutput { return o.ApplyT(func(v *SchedulePolicy) SchedulePolicy { if v != nil { @@ -2964,6 +3319,12 @@ func (o SchedulePolicyResponseOutput) ToSchedulePolicyResponseOutputWithContext( return o } +func (o SchedulePolicyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulePolicyResponse] { + return pulumix.Output[SchedulePolicyResponse]{ + OutputState: o.OutputState, + } +} + // The idle duration between replication stages. func (o SchedulePolicyResponseOutput) IdleDuration() pulumi.StringOutput { return o.ApplyT(func(v SchedulePolicyResponse) string { return v.IdleDuration }).(pulumi.StringOutput) @@ -3017,6 +3378,12 @@ func (i SchedulingNodeAffinityArgs) ToSchedulingNodeAffinityOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SchedulingNodeAffinityOutput) } +func (i SchedulingNodeAffinityArgs) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinity] { + return pulumix.Output[SchedulingNodeAffinity]{ + OutputState: i.ToSchedulingNodeAffinityOutputWithContext(ctx).OutputState, + } +} + // SchedulingNodeAffinityArrayInput is an input type that accepts SchedulingNodeAffinityArray and SchedulingNodeAffinityArrayOutput values. // You can construct a concrete instance of `SchedulingNodeAffinityArrayInput` via: // @@ -3042,6 +3409,12 @@ func (i SchedulingNodeAffinityArray) ToSchedulingNodeAffinityArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SchedulingNodeAffinityArrayOutput) } +func (i SchedulingNodeAffinityArray) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinity] { + return pulumix.Output[[]SchedulingNodeAffinity]{ + OutputState: i.ToSchedulingNodeAffinityArrayOutputWithContext(ctx).OutputState, + } +} + // Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling type SchedulingNodeAffinityOutput struct{ *pulumi.OutputState } @@ -3057,6 +3430,12 @@ func (o SchedulingNodeAffinityOutput) ToSchedulingNodeAffinityOutputWithContext( return o } +func (o SchedulingNodeAffinityOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinity] { + return pulumix.Output[SchedulingNodeAffinity]{ + OutputState: o.OutputState, + } +} + // The label key of Node resource to reference. func (o SchedulingNodeAffinityOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v SchedulingNodeAffinity) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -3086,6 +3465,12 @@ func (o SchedulingNodeAffinityArrayOutput) ToSchedulingNodeAffinityArrayOutputWi return o } +func (o SchedulingNodeAffinityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinity] { + return pulumix.Output[[]SchedulingNodeAffinity]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityArrayOutput) Index(i pulumi.IntInput) SchedulingNodeAffinityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchedulingNodeAffinity { return vs[0].([]SchedulingNodeAffinity)[vs[1].(int)] @@ -3117,6 +3502,12 @@ func (o SchedulingNodeAffinityResponseOutput) ToSchedulingNodeAffinityResponseOu return o } +func (o SchedulingNodeAffinityResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SchedulingNodeAffinityResponse] { + return pulumix.Output[SchedulingNodeAffinityResponse]{ + OutputState: o.OutputState, + } +} + // The label key of Node resource to reference. func (o SchedulingNodeAffinityResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v SchedulingNodeAffinityResponse) string { return v.Key }).(pulumi.StringOutput) @@ -3146,6 +3537,12 @@ func (o SchedulingNodeAffinityResponseArrayOutput) ToSchedulingNodeAffinityRespo return o } +func (o SchedulingNodeAffinityResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SchedulingNodeAffinityResponse] { + return pulumix.Output[[]SchedulingNodeAffinityResponse]{ + OutputState: o.OutputState, + } +} + func (o SchedulingNodeAffinityResponseArrayOutput) Index(i pulumi.IntInput) SchedulingNodeAffinityResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SchedulingNodeAffinityResponse { return vs[0].([]SchedulingNodeAffinityResponse)[vs[1].(int)] @@ -3171,6 +3568,12 @@ func (o ShuttingDownSourceVMStepResponseOutput) ToShuttingDownSourceVMStepRespon return o } +func (o ShuttingDownSourceVMStepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ShuttingDownSourceVMStepResponse] { + return pulumix.Output[ShuttingDownSourceVMStepResponse]{ + OutputState: o.OutputState, + } +} + // The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). type StatusResponse struct { // The status code, which should be an enum value of google.rpc.Code. @@ -3196,6 +3599,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -3250,6 +3659,12 @@ func (i TagArgs) ToTagOutputWithContext(ctx context.Context) TagOutput { return pulumi.ToOutputWithContext(ctx, i).(TagOutput) } +func (i TagArgs) ToOutput(ctx context.Context) pulumix.Output[Tag] { + return pulumix.Output[Tag]{ + OutputState: i.ToTagOutputWithContext(ctx).OutputState, + } +} + // TagArrayInput is an input type that accepts TagArray and TagArrayOutput values. // You can construct a concrete instance of `TagArrayInput` via: // @@ -3275,6 +3690,12 @@ func (i TagArray) ToTagArrayOutputWithContext(ctx context.Context) TagArrayOutpu return pulumi.ToOutputWithContext(ctx, i).(TagArrayOutput) } +func (i TagArray) ToOutput(ctx context.Context) pulumix.Output[[]Tag] { + return pulumix.Output[[]Tag]{ + OutputState: i.ToTagArrayOutputWithContext(ctx).OutputState, + } +} + // Tag is an AWS tag representation. type TagOutput struct{ *pulumi.OutputState } @@ -3290,6 +3711,12 @@ func (o TagOutput) ToTagOutputWithContext(ctx context.Context) TagOutput { return o } +func (o TagOutput) ToOutput(ctx context.Context) pulumix.Output[Tag] { + return pulumix.Output[Tag]{ + OutputState: o.OutputState, + } +} + // Key of tag. func (o TagOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v Tag) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -3314,6 +3741,12 @@ func (o TagArrayOutput) ToTagArrayOutputWithContext(ctx context.Context) TagArra return o } +func (o TagArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Tag] { + return pulumix.Output[[]Tag]{ + OutputState: o.OutputState, + } +} + func (o TagArrayOutput) Index(i pulumi.IntInput) TagOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Tag { return vs[0].([]Tag)[vs[1].(int)] @@ -3343,6 +3776,12 @@ func (o TagResponseOutput) ToTagResponseOutputWithContext(ctx context.Context) T return o } +func (o TagResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TagResponse] { + return pulumix.Output[TagResponse]{ + OutputState: o.OutputState, + } +} + // Key of tag. func (o TagResponseOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v TagResponse) string { return v.Key }).(pulumi.StringOutput) @@ -3367,6 +3806,12 @@ func (o TagResponseArrayOutput) ToTagResponseArrayOutputWithContext(ctx context. return o } +func (o TagResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]TagResponse] { + return pulumix.Output[[]TagResponse]{ + OutputState: o.OutputState, + } +} + func (o TagResponseArrayOutput) Index(i pulumi.IntInput) TagResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) TagResponse { return vs[0].([]TagResponse)[vs[1].(int)] @@ -3476,6 +3921,12 @@ func (i TargetVMDetailsArgs) ToTargetVMDetailsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TargetVMDetailsOutput) } +func (i TargetVMDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[TargetVMDetails] { + return pulumix.Output[TargetVMDetails]{ + OutputState: i.ToTargetVMDetailsOutputWithContext(ctx).OutputState, + } +} + func (i TargetVMDetailsArgs) ToTargetVMDetailsPtrOutput() TargetVMDetailsPtrOutput { return i.ToTargetVMDetailsPtrOutputWithContext(context.Background()) } @@ -3517,6 +3968,12 @@ func (i *targetVMDetailsPtrType) ToTargetVMDetailsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(TargetVMDetailsPtrOutput) } +func (i *targetVMDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*TargetVMDetails] { + return pulumix.Output[*TargetVMDetails]{ + OutputState: i.ToTargetVMDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // TargetVMDetails is a collection of details for creating a VM in a target Compute Engine project. type TargetVMDetailsOutput struct{ *pulumi.OutputState } @@ -3542,6 +3999,12 @@ func (o TargetVMDetailsOutput) ToTargetVMDetailsPtrOutputWithContext(ctx context }).(TargetVMDetailsPtrOutput) } +func (o TargetVMDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[TargetVMDetails] { + return pulumix.Output[TargetVMDetails]{ + OutputState: o.OutputState, + } +} + // Compute instance scheduling information (if empty default is used). func (o TargetVMDetailsOutput) ComputeScheduling() ComputeSchedulingPtrOutput { return o.ApplyT(func(v TargetVMDetails) *ComputeScheduling { return v.ComputeScheduling }).(ComputeSchedulingPtrOutput) @@ -3646,6 +4109,12 @@ func (o TargetVMDetailsPtrOutput) ToTargetVMDetailsPtrOutputWithContext(ctx cont return o } +func (o TargetVMDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetVMDetails] { + return pulumix.Output[*TargetVMDetails]{ + OutputState: o.OutputState, + } +} + func (o TargetVMDetailsPtrOutput) Elem() TargetVMDetailsOutput { return o.ApplyT(func(v *TargetVMDetails) TargetVMDetails { if v != nil { @@ -3897,6 +4366,12 @@ func (o TargetVMDetailsResponseOutput) ToTargetVMDetailsResponseOutputWithContex return o } +func (o TargetVMDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[TargetVMDetailsResponse] { + return pulumix.Output[TargetVMDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The OS license returned from the adaptation module report. func (o TargetVMDetailsResponseOutput) AppliedLicense() AppliedLicenseResponseOutput { return o.ApplyT(func(v TargetVMDetailsResponse) AppliedLicenseResponse { return v.AppliedLicense }).(AppliedLicenseResponseOutput) @@ -4031,6 +4506,12 @@ func (o UpgradeStatusResponseOutput) ToUpgradeStatusResponseOutputWithContext(ct return o } +func (o UpgradeStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[UpgradeStatusResponse] { + return pulumix.Output[UpgradeStatusResponse]{ + OutputState: o.OutputState, + } +} + // Provides details on the state of the upgrade operation in case of an error. func (o UpgradeStatusResponseOutput) Error() StatusResponseOutput { return o.ApplyT(func(v UpgradeStatusResponse) StatusResponse { return v.Error }).(StatusResponseOutput) @@ -4099,6 +4580,12 @@ func (i VmUtilizationInfoArgs) ToVmUtilizationInfoOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(VmUtilizationInfoOutput) } +func (i VmUtilizationInfoArgs) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationInfo] { + return pulumix.Output[VmUtilizationInfo]{ + OutputState: i.ToVmUtilizationInfoOutputWithContext(ctx).OutputState, + } +} + // VmUtilizationInfoArrayInput is an input type that accepts VmUtilizationInfoArray and VmUtilizationInfoArrayOutput values. // You can construct a concrete instance of `VmUtilizationInfoArrayInput` via: // @@ -4124,6 +4611,12 @@ func (i VmUtilizationInfoArray) ToVmUtilizationInfoArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(VmUtilizationInfoArrayOutput) } +func (i VmUtilizationInfoArray) ToOutput(ctx context.Context) pulumix.Output[[]VmUtilizationInfo] { + return pulumix.Output[[]VmUtilizationInfo]{ + OutputState: i.ToVmUtilizationInfoArrayOutputWithContext(ctx).OutputState, + } +} + // Utilization information of a single VM. type VmUtilizationInfoOutput struct{ *pulumi.OutputState } @@ -4139,6 +4632,12 @@ func (o VmUtilizationInfoOutput) ToVmUtilizationInfoOutputWithContext(ctx contex return o } +func (o VmUtilizationInfoOutput) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationInfo] { + return pulumix.Output[VmUtilizationInfo]{ + OutputState: o.OutputState, + } +} + // Utilization metrics for this VM. func (o VmUtilizationInfoOutput) Utilization() VmUtilizationMetricsPtrOutput { return o.ApplyT(func(v VmUtilizationInfo) *VmUtilizationMetrics { return v.Utilization }).(VmUtilizationMetricsPtrOutput) @@ -4168,6 +4667,12 @@ func (o VmUtilizationInfoArrayOutput) ToVmUtilizationInfoArrayOutputWithContext( return o } +func (o VmUtilizationInfoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmUtilizationInfo] { + return pulumix.Output[[]VmUtilizationInfo]{ + OutputState: o.OutputState, + } +} + func (o VmUtilizationInfoArrayOutput) Index(i pulumi.IntInput) VmUtilizationInfoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmUtilizationInfo { return vs[0].([]VmUtilizationInfo)[vs[1].(int)] @@ -4199,6 +4704,12 @@ func (o VmUtilizationInfoResponseOutput) ToVmUtilizationInfoResponseOutputWithCo return o } +func (o VmUtilizationInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationInfoResponse] { + return pulumix.Output[VmUtilizationInfoResponse]{ + OutputState: o.OutputState, + } +} + // Utilization metrics for this VM. func (o VmUtilizationInfoResponseOutput) Utilization() VmUtilizationMetricsResponseOutput { return o.ApplyT(func(v VmUtilizationInfoResponse) VmUtilizationMetricsResponse { return v.Utilization }).(VmUtilizationMetricsResponseOutput) @@ -4228,6 +4739,12 @@ func (o VmUtilizationInfoResponseArrayOutput) ToVmUtilizationInfoResponseArrayOu return o } +func (o VmUtilizationInfoResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VmUtilizationInfoResponse] { + return pulumix.Output[[]VmUtilizationInfoResponse]{ + OutputState: o.OutputState, + } +} + func (o VmUtilizationInfoResponseArrayOutput) Index(i pulumi.IntInput) VmUtilizationInfoResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) VmUtilizationInfoResponse { return vs[0].([]VmUtilizationInfoResponse)[vs[1].(int)] @@ -4329,6 +4846,12 @@ func (i VmUtilizationMetricsArgs) ToVmUtilizationMetricsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(VmUtilizationMetricsOutput) } +func (i VmUtilizationMetricsArgs) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationMetrics] { + return pulumix.Output[VmUtilizationMetrics]{ + OutputState: i.ToVmUtilizationMetricsOutputWithContext(ctx).OutputState, + } +} + func (i VmUtilizationMetricsArgs) ToVmUtilizationMetricsPtrOutput() VmUtilizationMetricsPtrOutput { return i.ToVmUtilizationMetricsPtrOutputWithContext(context.Background()) } @@ -4370,6 +4893,12 @@ func (i *vmUtilizationMetricsPtrType) ToVmUtilizationMetricsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(VmUtilizationMetricsPtrOutput) } +func (i *vmUtilizationMetricsPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmUtilizationMetrics] { + return pulumix.Output[*VmUtilizationMetrics]{ + OutputState: i.ToVmUtilizationMetricsPtrOutputWithContext(ctx).OutputState, + } +} + // Utilization metrics values for a single VM. type VmUtilizationMetricsOutput struct{ *pulumi.OutputState } @@ -4395,6 +4924,12 @@ func (o VmUtilizationMetricsOutput) ToVmUtilizationMetricsPtrOutputWithContext(c }).(VmUtilizationMetricsPtrOutput) } +func (o VmUtilizationMetricsOutput) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationMetrics] { + return pulumix.Output[VmUtilizationMetrics]{ + OutputState: o.OutputState, + } +} + // Average CPU usage, percent. func (o VmUtilizationMetricsOutput) CpuAverage() pulumi.IntPtrOutput { return o.ApplyT(func(v VmUtilizationMetrics) *int { return v.CpuAverage }).(pulumi.IntPtrOutput) @@ -4489,6 +5024,12 @@ func (o VmUtilizationMetricsPtrOutput) ToVmUtilizationMetricsPtrOutputWithContex return o } +func (o VmUtilizationMetricsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmUtilizationMetrics] { + return pulumix.Output[*VmUtilizationMetrics]{ + OutputState: o.OutputState, + } +} + func (o VmUtilizationMetricsPtrOutput) Elem() VmUtilizationMetricsOutput { return o.ApplyT(func(v *VmUtilizationMetrics) VmUtilizationMetrics { if v != nil { @@ -4710,6 +5251,12 @@ func (o VmUtilizationMetricsResponseOutput) ToVmUtilizationMetricsResponseOutput return o } +func (o VmUtilizationMetricsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmUtilizationMetricsResponse] { + return pulumix.Output[VmUtilizationMetricsResponse]{ + OutputState: o.OutputState, + } +} + // Average CPU usage, percent. func (o VmUtilizationMetricsResponseOutput) CpuAverage() pulumi.IntOutput { return o.ApplyT(func(v VmUtilizationMetricsResponse) int { return v.CpuAverage }).(pulumi.IntOutput) @@ -4841,6 +5388,12 @@ func (i VmwareSourceDetailsArgs) ToVmwareSourceDetailsOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(VmwareSourceDetailsOutput) } +func (i VmwareSourceDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareSourceDetails] { + return pulumix.Output[VmwareSourceDetails]{ + OutputState: i.ToVmwareSourceDetailsOutputWithContext(ctx).OutputState, + } +} + func (i VmwareSourceDetailsArgs) ToVmwareSourceDetailsPtrOutput() VmwareSourceDetailsPtrOutput { return i.ToVmwareSourceDetailsPtrOutputWithContext(context.Background()) } @@ -4882,6 +5435,12 @@ func (i *vmwareSourceDetailsPtrType) ToVmwareSourceDetailsPtrOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(VmwareSourceDetailsPtrOutput) } +func (i *vmwareSourceDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareSourceDetails] { + return pulumix.Output[*VmwareSourceDetails]{ + OutputState: i.ToVmwareSourceDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // VmwareSourceDetails message describes a specific source details for the vmware source type. type VmwareSourceDetailsOutput struct{ *pulumi.OutputState } @@ -4907,6 +5466,12 @@ func (o VmwareSourceDetailsOutput) ToVmwareSourceDetailsPtrOutputWithContext(ctx }).(VmwareSourceDetailsPtrOutput) } +func (o VmwareSourceDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareSourceDetails] { + return pulumix.Output[VmwareSourceDetails]{ + OutputState: o.OutputState, + } +} + // Input only. The credentials password. This is write only and can not be read in a GET operation. func (o VmwareSourceDetailsOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v VmwareSourceDetails) *string { return v.Password }).(pulumi.StringPtrOutput) @@ -4946,6 +5511,12 @@ func (o VmwareSourceDetailsPtrOutput) ToVmwareSourceDetailsPtrOutputWithContext( return o } +func (o VmwareSourceDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareSourceDetails] { + return pulumix.Output[*VmwareSourceDetails]{ + OutputState: o.OutputState, + } +} + func (o VmwareSourceDetailsPtrOutput) Elem() VmwareSourceDetailsOutput { return o.ApplyT(func(v *VmwareSourceDetails) VmwareSourceDetails { if v != nil { @@ -5035,6 +5606,12 @@ func (o VmwareSourceDetailsResponseOutput) ToVmwareSourceDetailsResponseOutputWi return o } +func (o VmwareSourceDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareSourceDetailsResponse] { + return pulumix.Output[VmwareSourceDetailsResponse]{ + OutputState: o.OutputState, + } +} + // Input only. The credentials password. This is write only and can not be read in a GET operation. func (o VmwareSourceDetailsResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v VmwareSourceDetailsResponse) string { return v.Password }).(pulumi.StringOutput) @@ -5139,6 +5716,12 @@ func (i VmwareVmDetailsArgs) ToVmwareVmDetailsOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(VmwareVmDetailsOutput) } +func (i VmwareVmDetailsArgs) ToOutput(ctx context.Context) pulumix.Output[VmwareVmDetails] { + return pulumix.Output[VmwareVmDetails]{ + OutputState: i.ToVmwareVmDetailsOutputWithContext(ctx).OutputState, + } +} + func (i VmwareVmDetailsArgs) ToVmwareVmDetailsPtrOutput() VmwareVmDetailsPtrOutput { return i.ToVmwareVmDetailsPtrOutputWithContext(context.Background()) } @@ -5180,6 +5763,12 @@ func (i *vmwareVmDetailsPtrType) ToVmwareVmDetailsPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(VmwareVmDetailsPtrOutput) } +func (i *vmwareVmDetailsPtrType) ToOutput(ctx context.Context) pulumix.Output[*VmwareVmDetails] { + return pulumix.Output[*VmwareVmDetails]{ + OutputState: i.ToVmwareVmDetailsPtrOutputWithContext(ctx).OutputState, + } +} + // VmwareVmDetails describes a VM in vCenter. type VmwareVmDetailsOutput struct{ *pulumi.OutputState } @@ -5205,6 +5794,12 @@ func (o VmwareVmDetailsOutput) ToVmwareVmDetailsPtrOutputWithContext(ctx context }).(VmwareVmDetailsPtrOutput) } +func (o VmwareVmDetailsOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVmDetails] { + return pulumix.Output[VmwareVmDetails]{ + OutputState: o.OutputState, + } +} + // The total size of the storage allocated to the VM in MB. func (o VmwareVmDetailsOutput) CommittedStorage() pulumi.StringPtrOutput { return o.ApplyT(func(v VmwareVmDetails) *string { return v.CommittedStorage }).(pulumi.StringPtrOutput) @@ -5279,6 +5874,12 @@ func (o VmwareVmDetailsPtrOutput) ToVmwareVmDetailsPtrOutputWithContext(ctx cont return o } +func (o VmwareVmDetailsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VmwareVmDetails] { + return pulumix.Output[*VmwareVmDetails]{ + OutputState: o.OutputState, + } +} + func (o VmwareVmDetailsPtrOutput) Elem() VmwareVmDetailsOutput { return o.ApplyT(func(v *VmwareVmDetails) VmwareVmDetails { if v != nil { @@ -5454,6 +6055,12 @@ func (o VmwareVmDetailsResponseOutput) ToVmwareVmDetailsResponseOutputWithContex return o } +func (o VmwareVmDetailsResponseOutput) ToOutput(ctx context.Context) pulumix.Output[VmwareVmDetailsResponse] { + return pulumix.Output[VmwareVmDetailsResponse]{ + OutputState: o.OutputState, + } +} + // The VM Boot Option. func (o VmwareVmDetailsResponseOutput) BootOption() pulumi.StringOutput { return o.ApplyT(func(v VmwareVmDetailsResponse) string { return v.BootOption }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/source.go b/sdk/go/google/vmmigration/v1alpha1/source.go index b267d82d11..05c46a9bbc 100644 --- a/sdk/go/google/vmmigration/v1alpha1/source.go +++ b/sdk/go/google/vmmigration/v1alpha1/source.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Source in a given project and location. @@ -147,6 +148,12 @@ func (i *Source) ToSourceOutputWithContext(ctx context.Context) SourceOutput { return pulumi.ToOutputWithContext(ctx, i).(SourceOutput) } +func (i *Source) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: i.ToSourceOutputWithContext(ctx).OutputState, + } +} + type SourceOutput struct{ *pulumi.OutputState } func (SourceOutput) ElementType() reflect.Type { @@ -161,6 +168,12 @@ func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutpu return o } +func (o SourceOutput) ToOutput(ctx context.Context) pulumix.Output[*Source] { + return pulumix.Output[*Source]{ + OutputState: o.OutputState, + } +} + // AWS type source details. func (o SourceOutput) Aws() AwsSourceDetailsResponseOutput { return o.ApplyT(func(v *Source) AwsSourceDetailsResponseOutput { return v.Aws }).(AwsSourceDetailsResponseOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/targetProject.go b/sdk/go/google/vmmigration/v1alpha1/targetProject.go index abf58fb6b0..5abb42af75 100644 --- a/sdk/go/google/vmmigration/v1alpha1/targetProject.go +++ b/sdk/go/google/vmmigration/v1alpha1/targetProject.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new TargetProject in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`. @@ -129,6 +130,12 @@ func (i *TargetProject) ToTargetProjectOutputWithContext(ctx context.Context) Ta return pulumi.ToOutputWithContext(ctx, i).(TargetProjectOutput) } +func (i *TargetProject) ToOutput(ctx context.Context) pulumix.Output[*TargetProject] { + return pulumix.Output[*TargetProject]{ + OutputState: i.ToTargetProjectOutputWithContext(ctx).OutputState, + } +} + type TargetProjectOutput struct{ *pulumi.OutputState } func (TargetProjectOutput) ElementType() reflect.Type { @@ -143,6 +150,12 @@ func (o TargetProjectOutput) ToTargetProjectOutputWithContext(ctx context.Contex return o } +func (o TargetProjectOutput) ToOutput(ctx context.Context) pulumix.Output[*TargetProject] { + return pulumix.Output[*TargetProject]{ + OutputState: o.OutputState, + } +} + // The time this target project resource was created (not related to when the Compute Engine project it points to was created). func (o TargetProjectOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *TargetProject) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vmmigration/v1alpha1/utilizationReport.go b/sdk/go/google/vmmigration/v1alpha1/utilizationReport.go index 8df5286a2b..1e713db257 100644 --- a/sdk/go/google/vmmigration/v1alpha1/utilizationReport.go +++ b/sdk/go/google/vmmigration/v1alpha1/utilizationReport.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new UtilizationReport. @@ -156,6 +157,12 @@ func (i *UtilizationReport) ToUtilizationReportOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(UtilizationReportOutput) } +func (i *UtilizationReport) ToOutput(ctx context.Context) pulumix.Output[*UtilizationReport] { + return pulumix.Output[*UtilizationReport]{ + OutputState: i.ToUtilizationReportOutputWithContext(ctx).OutputState, + } +} + type UtilizationReportOutput struct{ *pulumi.OutputState } func (UtilizationReportOutput) ElementType() reflect.Type { @@ -170,6 +177,12 @@ func (o UtilizationReportOutput) ToUtilizationReportOutputWithContext(ctx contex return o } +func (o UtilizationReportOutput) ToOutput(ctx context.Context) pulumix.Output[*UtilizationReport] { + return pulumix.Output[*UtilizationReport]{ + OutputState: o.OutputState, + } +} + // The time the report was created (this refers to the time of the request, not the time the report creation completed). func (o UtilizationReportOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *UtilizationReport) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/vpcaccess/v1/connector.go b/sdk/go/google/vpcaccess/v1/connector.go index 7d3897cbbc..b68c6ac9a4 100644 --- a/sdk/go/google/vpcaccess/v1/connector.go +++ b/sdk/go/google/vpcaccess/v1/connector.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Serverless VPC Access connector, returns an operation. @@ -166,6 +167,12 @@ func (i *Connector) ToConnectorOutputWithContext(ctx context.Context) ConnectorO return pulumi.ToOutputWithContext(ctx, i).(ConnectorOutput) } +func (i *Connector) ToOutput(ctx context.Context) pulumix.Output[*Connector] { + return pulumix.Output[*Connector]{ + OutputState: i.ToConnectorOutputWithContext(ctx).OutputState, + } +} + type ConnectorOutput struct{ *pulumi.OutputState } func (ConnectorOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o ConnectorOutput) ToConnectorOutputWithContext(ctx context.Context) Conne return o } +func (o ConnectorOutput) ToOutput(ctx context.Context) pulumix.Output[*Connector] { + return pulumix.Output[*Connector]{ + OutputState: o.OutputState, + } +} + // List of projects using the connector. func (o ConnectorOutput) ConnectedProjects() pulumi.StringArrayOutput { return o.ApplyT(func(v *Connector) pulumi.StringArrayOutput { return v.ConnectedProjects }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/vpcaccess/v1/getConnector.go b/sdk/go/google/vpcaccess/v1/getConnector.go index a6d4626426..9d770a97f7 100644 --- a/sdk/go/google/vpcaccess/v1/getConnector.go +++ b/sdk/go/google/vpcaccess/v1/getConnector.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist. @@ -90,6 +91,12 @@ func (o LookupConnectorResultOutput) ToLookupConnectorResultOutputWithContext(ct return o } +func (o LookupConnectorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectorResult] { + return pulumix.Output[LookupConnectorResult]{ + OutputState: o.OutputState, + } +} + // List of projects using the connector. func (o LookupConnectorResultOutput) ConnectedProjects() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupConnectorResult) []string { return v.ConnectedProjects }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/vpcaccess/v1/pulumiTypes.go b/sdk/go/google/vpcaccess/v1/pulumiTypes.go index 7e2c7d0bdc..a5d103a7ea 100644 --- a/sdk/go/google/vpcaccess/v1/pulumiTypes.go +++ b/sdk/go/google/vpcaccess/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i SubnetArgs) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput return pulumi.ToOutputWithContext(ctx, i).(SubnetOutput) } +func (i SubnetArgs) ToOutput(ctx context.Context) pulumix.Output[Subnet] { + return pulumix.Output[Subnet]{ + OutputState: i.ToSubnetOutputWithContext(ctx).OutputState, + } +} + func (i SubnetArgs) ToSubnetPtrOutput() SubnetPtrOutput { return i.ToSubnetPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *subnetPtrType) ToSubnetPtrOutputWithContext(ctx context.Context) Subnet return pulumi.ToOutputWithContext(ctx, i).(SubnetPtrOutput) } +func (i *subnetPtrType) ToOutput(ctx context.Context) pulumix.Output[*Subnet] { + return pulumix.Output[*Subnet]{ + OutputState: i.ToSubnetPtrOutputWithContext(ctx).OutputState, + } +} + // The subnet in which to house the connector type SubnetOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o SubnetOutput) ToSubnetPtrOutputWithContext(ctx context.Context) SubnetPt }).(SubnetPtrOutput) } +func (o SubnetOutput) ToOutput(ctx context.Context) pulumix.Output[Subnet] { + return pulumix.Output[Subnet]{ + OutputState: o.OutputState, + } +} + // Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName} func (o SubnetOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Subnet) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -142,6 +161,12 @@ func (o SubnetPtrOutput) ToSubnetPtrOutputWithContext(ctx context.Context) Subne return o } +func (o SubnetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Subnet] { + return pulumix.Output[*Subnet]{ + OutputState: o.OutputState, + } +} + func (o SubnetPtrOutput) Elem() SubnetOutput { return o.ApplyT(func(v *Subnet) Subnet { if v != nil { @@ -195,6 +220,12 @@ func (o SubnetResponseOutput) ToSubnetResponseOutputWithContext(ctx context.Cont return o } +func (o SubnetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetResponse] { + return pulumix.Output[SubnetResponse]{ + OutputState: o.OutputState, + } +} + // Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName} func (o SubnetResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v SubnetResponse) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/vpcaccess/v1beta1/connector.go b/sdk/go/google/vpcaccess/v1beta1/connector.go index 1dba36e215..ba36ec15f5 100644 --- a/sdk/go/google/vpcaccess/v1beta1/connector.go +++ b/sdk/go/google/vpcaccess/v1beta1/connector.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Serverless VPC Access connector, returns an operation. @@ -166,6 +167,12 @@ func (i *Connector) ToConnectorOutputWithContext(ctx context.Context) ConnectorO return pulumi.ToOutputWithContext(ctx, i).(ConnectorOutput) } +func (i *Connector) ToOutput(ctx context.Context) pulumix.Output[*Connector] { + return pulumix.Output[*Connector]{ + OutputState: i.ToConnectorOutputWithContext(ctx).OutputState, + } +} + type ConnectorOutput struct{ *pulumi.OutputState } func (ConnectorOutput) ElementType() reflect.Type { @@ -180,6 +187,12 @@ func (o ConnectorOutput) ToConnectorOutputWithContext(ctx context.Context) Conne return o } +func (o ConnectorOutput) ToOutput(ctx context.Context) pulumix.Output[*Connector] { + return pulumix.Output[*Connector]{ + OutputState: o.OutputState, + } +} + // List of projects using the connector. func (o ConnectorOutput) ConnectedProjects() pulumi.StringArrayOutput { return o.ApplyT(func(v *Connector) pulumi.StringArrayOutput { return v.ConnectedProjects }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/vpcaccess/v1beta1/getConnector.go b/sdk/go/google/vpcaccess/v1beta1/getConnector.go index cbce235d9f..8e1aa09d09 100644 --- a/sdk/go/google/vpcaccess/v1beta1/getConnector.go +++ b/sdk/go/google/vpcaccess/v1beta1/getConnector.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist. @@ -90,6 +91,12 @@ func (o LookupConnectorResultOutput) ToLookupConnectorResultOutputWithContext(ct return o } +func (o LookupConnectorResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupConnectorResult] { + return pulumix.Output[LookupConnectorResult]{ + OutputState: o.OutputState, + } +} + // List of projects using the connector. func (o LookupConnectorResultOutput) ConnectedProjects() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupConnectorResult) []string { return v.ConnectedProjects }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/vpcaccess/v1beta1/pulumiTypes.go b/sdk/go/google/vpcaccess/v1beta1/pulumiTypes.go index d859e2e8d6..f836b8b7c7 100644 --- a/sdk/go/google/vpcaccess/v1beta1/pulumiTypes.go +++ b/sdk/go/google/vpcaccess/v1beta1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i SubnetArgs) ToSubnetOutputWithContext(ctx context.Context) SubnetOutput return pulumi.ToOutputWithContext(ctx, i).(SubnetOutput) } +func (i SubnetArgs) ToOutput(ctx context.Context) pulumix.Output[Subnet] { + return pulumix.Output[Subnet]{ + OutputState: i.ToSubnetOutputWithContext(ctx).OutputState, + } +} + func (i SubnetArgs) ToSubnetPtrOutput() SubnetPtrOutput { return i.ToSubnetPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *subnetPtrType) ToSubnetPtrOutputWithContext(ctx context.Context) Subnet return pulumi.ToOutputWithContext(ctx, i).(SubnetPtrOutput) } +func (i *subnetPtrType) ToOutput(ctx context.Context) pulumix.Output[*Subnet] { + return pulumix.Output[*Subnet]{ + OutputState: i.ToSubnetPtrOutputWithContext(ctx).OutputState, + } +} + // The subnet in which to house the connector type SubnetOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o SubnetOutput) ToSubnetPtrOutputWithContext(ctx context.Context) SubnetPt }).(SubnetPtrOutput) } +func (o SubnetOutput) ToOutput(ctx context.Context) pulumix.Output[Subnet] { + return pulumix.Output[Subnet]{ + OutputState: o.OutputState, + } +} + // Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName} func (o SubnetOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v Subnet) *string { return v.Name }).(pulumi.StringPtrOutput) @@ -142,6 +161,12 @@ func (o SubnetPtrOutput) ToSubnetPtrOutputWithContext(ctx context.Context) Subne return o } +func (o SubnetPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Subnet] { + return pulumix.Output[*Subnet]{ + OutputState: o.OutputState, + } +} + func (o SubnetPtrOutput) Elem() SubnetOutput { return o.ApplyT(func(v *Subnet) Subnet { if v != nil { @@ -195,6 +220,12 @@ func (o SubnetResponseOutput) ToSubnetResponseOutputWithContext(ctx context.Cont return o } +func (o SubnetResponseOutput) ToOutput(ctx context.Context) pulumix.Output[SubnetResponse] { + return pulumix.Output[SubnetResponse]{ + OutputState: o.OutputState, + } +} + // Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName} func (o SubnetResponseOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v SubnetResponse) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/google/websecurityscanner/v1/getScanConfig.go b/sdk/go/google/websecurityscanner/v1/getScanConfig.go index bf19998413..48218e8d59 100644 --- a/sdk/go/google/websecurityscanner/v1/getScanConfig.go +++ b/sdk/go/google/websecurityscanner/v1/getScanConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a ScanConfig. @@ -92,6 +93,12 @@ func (o LookupScanConfigResultOutput) ToLookupScanConfigResultOutputWithContext( return o } +func (o LookupScanConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupScanConfigResult] { + return pulumix.Output[LookupScanConfigResult]{ + OutputState: o.OutputState, + } +} + // The authentication configuration. If specified, service will use the authentication configuration during scanning. func (o LookupScanConfigResultOutput) Authentication() AuthenticationResponseOutput { return o.ApplyT(func(v LookupScanConfigResult) AuthenticationResponse { return v.Authentication }).(AuthenticationResponseOutput) diff --git a/sdk/go/google/websecurityscanner/v1/pulumiEnums.go b/sdk/go/google/websecurityscanner/v1/pulumiEnums.go index 55ee18ff8a..77a61a92e5 100644 --- a/sdk/go/google/websecurityscanner/v1/pulumiEnums.go +++ b/sdk/go/google/websecurityscanner/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Controls export of scan configurations and results to Security Command Center. @@ -82,6 +83,12 @@ func (o ScanConfigExportToSecurityCommandCenterOutput) ToScanConfigExportToSecur }).(ScanConfigExportToSecurityCommandCenterPtrOutput) } +func (o ScanConfigExportToSecurityCommandCenterOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigExportToSecurityCommandCenter] { + return pulumix.Output[ScanConfigExportToSecurityCommandCenter]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigExportToSecurityCommandCenterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o ScanConfigExportToSecurityCommandCenterPtrOutput) ToScanConfigExportToSe return o } +func (o ScanConfigExportToSecurityCommandCenterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigExportToSecurityCommandCenter] { + return pulumix.Output[*ScanConfigExportToSecurityCommandCenter]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigExportToSecurityCommandCenterPtrOutput) Elem() ScanConfigExportToSecurityCommandCenterOutput { return o.ApplyT(func(v *ScanConfigExportToSecurityCommandCenter) ScanConfigExportToSecurityCommandCenter { if v != nil { @@ -179,6 +192,12 @@ func (in *scanConfigExportToSecurityCommandCenterPtr) ToScanConfigExportToSecuri return pulumi.ToOutputWithContext(ctx, in).(ScanConfigExportToSecurityCommandCenterPtrOutput) } +func (in *scanConfigExportToSecurityCommandCenterPtr) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigExportToSecurityCommandCenter] { + return pulumix.Output[*ScanConfigExportToSecurityCommandCenter]{ + OutputState: in.ToScanConfigExportToSecurityCommandCenterPtrOutputWithContext(ctx).OutputState, + } +} + // The risk level selected for the scan type ScanConfigRiskLevel string @@ -251,6 +270,12 @@ func (o ScanConfigRiskLevelOutput) ToScanConfigRiskLevelPtrOutputWithContext(ctx }).(ScanConfigRiskLevelPtrOutput) } +func (o ScanConfigRiskLevelOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigRiskLevel] { + return pulumix.Output[ScanConfigRiskLevel]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigRiskLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -286,6 +311,12 @@ func (o ScanConfigRiskLevelPtrOutput) ToScanConfigRiskLevelPtrOutputWithContext( return o } +func (o ScanConfigRiskLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigRiskLevel] { + return pulumix.Output[*ScanConfigRiskLevel]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigRiskLevelPtrOutput) Elem() ScanConfigRiskLevelOutput { return o.ApplyT(func(v *ScanConfigRiskLevel) ScanConfigRiskLevel { if v != nil { @@ -348,6 +379,12 @@ func (in *scanConfigRiskLevelPtr) ToScanConfigRiskLevelPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ScanConfigRiskLevelPtrOutput) } +func (in *scanConfigRiskLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigRiskLevel] { + return pulumix.Output[*ScanConfigRiskLevel]{ + OutputState: in.ToScanConfigRiskLevelPtrOutputWithContext(ctx).OutputState, + } +} + // The user agent used during scanning. type ScanConfigUserAgent string @@ -422,6 +459,12 @@ func (o ScanConfigUserAgentOutput) ToScanConfigUserAgentPtrOutputWithContext(ctx }).(ScanConfigUserAgentPtrOutput) } +func (o ScanConfigUserAgentOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigUserAgent] { + return pulumix.Output[ScanConfigUserAgent]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigUserAgentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -457,6 +500,12 @@ func (o ScanConfigUserAgentPtrOutput) ToScanConfigUserAgentPtrOutputWithContext( return o } +func (o ScanConfigUserAgentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigUserAgent] { + return pulumix.Output[*ScanConfigUserAgent]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigUserAgentPtrOutput) Elem() ScanConfigUserAgentOutput { return o.ApplyT(func(v *ScanConfigUserAgent) ScanConfigUserAgent { if v != nil { @@ -519,6 +568,12 @@ func (in *scanConfigUserAgentPtr) ToScanConfigUserAgentPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ScanConfigUserAgentPtrOutput) } +func (in *scanConfigUserAgentPtr) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigUserAgent] { + return pulumix.Output[*ScanConfigUserAgent]{ + OutputState: in.ToScanConfigUserAgentPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ScanConfigExportToSecurityCommandCenterInput)(nil)).Elem(), ScanConfigExportToSecurityCommandCenter("EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ScanConfigExportToSecurityCommandCenterPtrInput)(nil)).Elem(), ScanConfigExportToSecurityCommandCenter("EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED")) diff --git a/sdk/go/google/websecurityscanner/v1/pulumiTypes.go b/sdk/go/google/websecurityscanner/v1/pulumiTypes.go index 2f345d8606..447041a7e0 100644 --- a/sdk/go/google/websecurityscanner/v1/pulumiTypes.go +++ b/sdk/go/google/websecurityscanner/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i AuthenticationArgs) ToAuthenticationOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthenticationOutput) } +func (i AuthenticationArgs) ToOutput(ctx context.Context) pulumix.Output[Authentication] { + return pulumix.Output[Authentication]{ + OutputState: i.ToAuthenticationOutputWithContext(ctx).OutputState, + } +} + func (i AuthenticationArgs) ToAuthenticationPtrOutput() AuthenticationPtrOutput { return i.ToAuthenticationPtrOutputWithContext(context.Background()) } @@ -97,6 +104,12 @@ func (i *authenticationPtrType) ToAuthenticationPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AuthenticationPtrOutput) } +func (i *authenticationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Authentication] { + return pulumix.Output[*Authentication]{ + OutputState: i.ToAuthenticationPtrOutputWithContext(ctx).OutputState, + } +} + // Scan authentication configuration. type AuthenticationOutput struct{ *pulumi.OutputState } @@ -122,6 +135,12 @@ func (o AuthenticationOutput) ToAuthenticationPtrOutputWithContext(ctx context.C }).(AuthenticationPtrOutput) } +func (o AuthenticationOutput) ToOutput(ctx context.Context) pulumix.Output[Authentication] { + return pulumix.Output[Authentication]{ + OutputState: o.OutputState, + } +} + // Authentication using a custom account. func (o AuthenticationOutput) CustomAccount() CustomAccountPtrOutput { return o.ApplyT(func(v Authentication) *CustomAccount { return v.CustomAccount }).(CustomAccountPtrOutput) @@ -151,6 +170,12 @@ func (o AuthenticationPtrOutput) ToAuthenticationPtrOutputWithContext(ctx contex return o } +func (o AuthenticationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Authentication] { + return pulumix.Output[*Authentication]{ + OutputState: o.OutputState, + } +} + func (o AuthenticationPtrOutput) Elem() AuthenticationOutput { return o.ApplyT(func(v *Authentication) Authentication { if v != nil { @@ -216,6 +241,12 @@ func (o AuthenticationResponseOutput) ToAuthenticationResponseOutputWithContext( return o } +func (o AuthenticationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticationResponse] { + return pulumix.Output[AuthenticationResponse]{ + OutputState: o.OutputState, + } +} + // Authentication using a custom account. func (o AuthenticationResponseOutput) CustomAccount() CustomAccountResponseOutput { return o.ApplyT(func(v AuthenticationResponse) CustomAccountResponse { return v.CustomAccount }).(CustomAccountResponseOutput) @@ -274,6 +305,12 @@ func (i CustomAccountArgs) ToCustomAccountOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(CustomAccountOutput) } +func (i CustomAccountArgs) ToOutput(ctx context.Context) pulumix.Output[CustomAccount] { + return pulumix.Output[CustomAccount]{ + OutputState: i.ToCustomAccountOutputWithContext(ctx).OutputState, + } +} + func (i CustomAccountArgs) ToCustomAccountPtrOutput() CustomAccountPtrOutput { return i.ToCustomAccountPtrOutputWithContext(context.Background()) } @@ -315,6 +352,12 @@ func (i *customAccountPtrType) ToCustomAccountPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(CustomAccountPtrOutput) } +func (i *customAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomAccount] { + return pulumix.Output[*CustomAccount]{ + OutputState: i.ToCustomAccountPtrOutputWithContext(ctx).OutputState, + } +} + // Describes authentication configuration that uses a custom account. type CustomAccountOutput struct{ *pulumi.OutputState } @@ -340,6 +383,12 @@ func (o CustomAccountOutput) ToCustomAccountPtrOutputWithContext(ctx context.Con }).(CustomAccountPtrOutput) } +func (o CustomAccountOutput) ToOutput(ctx context.Context) pulumix.Output[CustomAccount] { + return pulumix.Output[CustomAccount]{ + OutputState: o.OutputState, + } +} + // The login form URL of the website. func (o CustomAccountOutput) LoginUrl() pulumi.StringOutput { return o.ApplyT(func(v CustomAccount) string { return v.LoginUrl }).(pulumi.StringOutput) @@ -369,6 +418,12 @@ func (o CustomAccountPtrOutput) ToCustomAccountPtrOutputWithContext(ctx context. return o } +func (o CustomAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomAccount] { + return pulumix.Output[*CustomAccount]{ + OutputState: o.OutputState, + } +} + func (o CustomAccountPtrOutput) Elem() CustomAccountOutput { return o.ApplyT(func(v *CustomAccount) CustomAccount { if v != nil { @@ -434,6 +489,12 @@ func (o CustomAccountResponseOutput) ToCustomAccountResponseOutputWithContext(ct return o } +func (o CustomAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomAccountResponse] { + return pulumix.Output[CustomAccountResponse]{ + OutputState: o.OutputState, + } +} + // The login form URL of the website. func (o CustomAccountResponseOutput) LoginUrl() pulumi.StringOutput { return o.ApplyT(func(v CustomAccountResponse) string { return v.LoginUrl }).(pulumi.StringOutput) @@ -488,6 +549,12 @@ func (i GoogleAccountArgs) ToGoogleAccountOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GoogleAccountOutput) } +func (i GoogleAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleAccount] { + return pulumix.Output[GoogleAccount]{ + OutputState: i.ToGoogleAccountOutputWithContext(ctx).OutputState, + } +} + func (i GoogleAccountArgs) ToGoogleAccountPtrOutput() GoogleAccountPtrOutput { return i.ToGoogleAccountPtrOutputWithContext(context.Background()) } @@ -529,6 +596,12 @@ func (i *googleAccountPtrType) ToGoogleAccountPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(GoogleAccountPtrOutput) } +func (i *googleAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleAccount] { + return pulumix.Output[*GoogleAccount]{ + OutputState: i.ToGoogleAccountPtrOutputWithContext(ctx).OutputState, + } +} + // Describes authentication configuration that uses a Google account. type GoogleAccountOutput struct{ *pulumi.OutputState } @@ -554,6 +627,12 @@ func (o GoogleAccountOutput) ToGoogleAccountPtrOutputWithContext(ctx context.Con }).(GoogleAccountPtrOutput) } +func (o GoogleAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleAccount] { + return pulumix.Output[GoogleAccount]{ + OutputState: o.OutputState, + } +} + // Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs. func (o GoogleAccountOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v GoogleAccount) string { return v.Password }).(pulumi.StringOutput) @@ -578,6 +657,12 @@ func (o GoogleAccountPtrOutput) ToGoogleAccountPtrOutputWithContext(ctx context. return o } +func (o GoogleAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleAccount] { + return pulumix.Output[*GoogleAccount]{ + OutputState: o.OutputState, + } +} + func (o GoogleAccountPtrOutput) Elem() GoogleAccountOutput { return o.ApplyT(func(v *GoogleAccount) GoogleAccount { if v != nil { @@ -631,6 +716,12 @@ func (o GoogleAccountResponseOutput) ToGoogleAccountResponseOutputWithContext(ct return o } +func (o GoogleAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleAccountResponse] { + return pulumix.Output[GoogleAccountResponse]{ + OutputState: o.OutputState, + } +} + // Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs. func (o GoogleAccountResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v GoogleAccountResponse) string { return v.Password }).(pulumi.StringOutput) @@ -676,6 +767,12 @@ func (i IapCredentialArgs) ToIapCredentialOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IapCredentialOutput) } +func (i IapCredentialArgs) ToOutput(ctx context.Context) pulumix.Output[IapCredential] { + return pulumix.Output[IapCredential]{ + OutputState: i.ToIapCredentialOutputWithContext(ctx).OutputState, + } +} + func (i IapCredentialArgs) ToIapCredentialPtrOutput() IapCredentialPtrOutput { return i.ToIapCredentialPtrOutputWithContext(context.Background()) } @@ -717,6 +814,12 @@ func (i *iapCredentialPtrType) ToIapCredentialPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(IapCredentialPtrOutput) } +func (i *iapCredentialPtrType) ToOutput(ctx context.Context) pulumix.Output[*IapCredential] { + return pulumix.Output[*IapCredential]{ + OutputState: i.ToIapCredentialPtrOutputWithContext(ctx).OutputState, + } +} + // Describes authentication configuration for Identity-Aware-Proxy (IAP). type IapCredentialOutput struct{ *pulumi.OutputState } @@ -742,6 +845,12 @@ func (o IapCredentialOutput) ToIapCredentialPtrOutputWithContext(ctx context.Con }).(IapCredentialPtrOutput) } +func (o IapCredentialOutput) ToOutput(ctx context.Context) pulumix.Output[IapCredential] { + return pulumix.Output[IapCredential]{ + OutputState: o.OutputState, + } +} + // Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies. func (o IapCredentialOutput) IapTestServiceAccountInfo() IapTestServiceAccountInfoPtrOutput { return o.ApplyT(func(v IapCredential) *IapTestServiceAccountInfo { return v.IapTestServiceAccountInfo }).(IapTestServiceAccountInfoPtrOutput) @@ -761,6 +870,12 @@ func (o IapCredentialPtrOutput) ToIapCredentialPtrOutputWithContext(ctx context. return o } +func (o IapCredentialPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IapCredential] { + return pulumix.Output[*IapCredential]{ + OutputState: o.OutputState, + } +} + func (o IapCredentialPtrOutput) Elem() IapCredentialOutput { return o.ApplyT(func(v *IapCredential) IapCredential { if v != nil { @@ -802,6 +917,12 @@ func (o IapCredentialResponseOutput) ToIapCredentialResponseOutputWithContext(ct return o } +func (o IapCredentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IapCredentialResponse] { + return pulumix.Output[IapCredentialResponse]{ + OutputState: o.OutputState, + } +} + // Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies. func (o IapCredentialResponseOutput) IapTestServiceAccountInfo() IapTestServiceAccountInfoResponseOutput { return o.ApplyT(func(v IapCredentialResponse) IapTestServiceAccountInfoResponse { return v.IapTestServiceAccountInfo }).(IapTestServiceAccountInfoResponseOutput) @@ -842,6 +963,12 @@ func (i IapTestServiceAccountInfoArgs) ToIapTestServiceAccountInfoOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(IapTestServiceAccountInfoOutput) } +func (i IapTestServiceAccountInfoArgs) ToOutput(ctx context.Context) pulumix.Output[IapTestServiceAccountInfo] { + return pulumix.Output[IapTestServiceAccountInfo]{ + OutputState: i.ToIapTestServiceAccountInfoOutputWithContext(ctx).OutputState, + } +} + func (i IapTestServiceAccountInfoArgs) ToIapTestServiceAccountInfoPtrOutput() IapTestServiceAccountInfoPtrOutput { return i.ToIapTestServiceAccountInfoPtrOutputWithContext(context.Background()) } @@ -883,6 +1010,12 @@ func (i *iapTestServiceAccountInfoPtrType) ToIapTestServiceAccountInfoPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(IapTestServiceAccountInfoPtrOutput) } +func (i *iapTestServiceAccountInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*IapTestServiceAccountInfo] { + return pulumix.Output[*IapTestServiceAccountInfo]{ + OutputState: i.ToIapTestServiceAccountInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Describes authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies. type IapTestServiceAccountInfoOutput struct{ *pulumi.OutputState } @@ -908,6 +1041,12 @@ func (o IapTestServiceAccountInfoOutput) ToIapTestServiceAccountInfoPtrOutputWit }).(IapTestServiceAccountInfoPtrOutput) } +func (o IapTestServiceAccountInfoOutput) ToOutput(ctx context.Context) pulumix.Output[IapTestServiceAccountInfo] { + return pulumix.Output[IapTestServiceAccountInfo]{ + OutputState: o.OutputState, + } +} + // Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP). func (o IapTestServiceAccountInfoOutput) TargetAudienceClientId() pulumi.StringOutput { return o.ApplyT(func(v IapTestServiceAccountInfo) string { return v.TargetAudienceClientId }).(pulumi.StringOutput) @@ -927,6 +1066,12 @@ func (o IapTestServiceAccountInfoPtrOutput) ToIapTestServiceAccountInfoPtrOutput return o } +func (o IapTestServiceAccountInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IapTestServiceAccountInfo] { + return pulumix.Output[*IapTestServiceAccountInfo]{ + OutputState: o.OutputState, + } +} + func (o IapTestServiceAccountInfoPtrOutput) Elem() IapTestServiceAccountInfoOutput { return o.ApplyT(func(v *IapTestServiceAccountInfo) IapTestServiceAccountInfo { if v != nil { @@ -968,6 +1113,12 @@ func (o IapTestServiceAccountInfoResponseOutput) ToIapTestServiceAccountInfoResp return o } +func (o IapTestServiceAccountInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IapTestServiceAccountInfoResponse] { + return pulumix.Output[IapTestServiceAccountInfoResponse]{ + OutputState: o.OutputState, + } +} + // Describes OAuth2 client id of resources protected by Identity-Aware-Proxy (IAP). func (o IapTestServiceAccountInfoResponseOutput) TargetAudienceClientId() pulumi.StringOutput { return o.ApplyT(func(v IapTestServiceAccountInfoResponse) string { return v.TargetAudienceClientId }).(pulumi.StringOutput) @@ -1012,6 +1163,12 @@ func (i ScheduleArgs) ToScheduleOutputWithContext(ctx context.Context) ScheduleO return pulumi.ToOutputWithContext(ctx, i).(ScheduleOutput) } +func (i ScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[Schedule] { + return pulumix.Output[Schedule]{ + OutputState: i.ToScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ScheduleArgs) ToSchedulePtrOutput() SchedulePtrOutput { return i.ToSchedulePtrOutputWithContext(context.Background()) } @@ -1053,6 +1210,12 @@ func (i *schedulePtrType) ToSchedulePtrOutputWithContext(ctx context.Context) Sc return pulumi.ToOutputWithContext(ctx, i).(SchedulePtrOutput) } +func (i *schedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: i.ToSchedulePtrOutputWithContext(ctx).OutputState, + } +} + // Scan schedule configuration. type ScheduleOutput struct{ *pulumi.OutputState } @@ -1078,6 +1241,12 @@ func (o ScheduleOutput) ToSchedulePtrOutputWithContext(ctx context.Context) Sche }).(SchedulePtrOutput) } +func (o ScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[Schedule] { + return pulumix.Output[Schedule]{ + OutputState: o.OutputState, + } +} + // The duration of time between executions in days. func (o ScheduleOutput) IntervalDurationDays() pulumi.IntOutput { return o.ApplyT(func(v Schedule) int { return v.IntervalDurationDays }).(pulumi.IntOutput) @@ -1102,6 +1271,12 @@ func (o SchedulePtrOutput) ToSchedulePtrOutputWithContext(ctx context.Context) S return o } +func (o SchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: o.OutputState, + } +} + func (o SchedulePtrOutput) Elem() ScheduleOutput { return o.ApplyT(func(v *Schedule) Schedule { if v != nil { @@ -1155,6 +1330,12 @@ func (o ScheduleResponseOutput) ToScheduleResponseOutputWithContext(ctx context. return o } +func (o ScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduleResponse] { + return pulumix.Output[ScheduleResponse]{ + OutputState: o.OutputState, + } +} + // The duration of time between executions in days. func (o ScheduleResponseOutput) IntervalDurationDays() pulumi.IntOutput { return o.ApplyT(func(v ScheduleResponse) int { return v.IntervalDurationDays }).(pulumi.IntOutput) diff --git a/sdk/go/google/websecurityscanner/v1/scanConfig.go b/sdk/go/google/websecurityscanner/v1/scanConfig.go index 2b123c27ed..8a51fcc258 100644 --- a/sdk/go/google/websecurityscanner/v1/scanConfig.go +++ b/sdk/go/google/websecurityscanner/v1/scanConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ScanConfig. @@ -178,6 +179,12 @@ func (i *ScanConfig) ToScanConfigOutputWithContext(ctx context.Context) ScanConf return pulumi.ToOutputWithContext(ctx, i).(ScanConfigOutput) } +func (i *ScanConfig) ToOutput(ctx context.Context) pulumix.Output[*ScanConfig] { + return pulumix.Output[*ScanConfig]{ + OutputState: i.ToScanConfigOutputWithContext(ctx).OutputState, + } +} + type ScanConfigOutput struct{ *pulumi.OutputState } func (ScanConfigOutput) ElementType() reflect.Type { @@ -192,6 +199,12 @@ func (o ScanConfigOutput) ToScanConfigOutputWithContext(ctx context.Context) Sca return o } +func (o ScanConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfig] { + return pulumix.Output[*ScanConfig]{ + OutputState: o.OutputState, + } +} + // The authentication configuration. If specified, service will use the authentication configuration during scanning. func (o ScanConfigOutput) Authentication() AuthenticationResponseOutput { return o.ApplyT(func(v *ScanConfig) AuthenticationResponseOutput { return v.Authentication }).(AuthenticationResponseOutput) diff --git a/sdk/go/google/websecurityscanner/v1alpha/getScanConfig.go b/sdk/go/google/websecurityscanner/v1alpha/getScanConfig.go index da8cb90553..d06d565074 100644 --- a/sdk/go/google/websecurityscanner/v1alpha/getScanConfig.go +++ b/sdk/go/google/websecurityscanner/v1alpha/getScanConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a ScanConfig. @@ -86,6 +87,12 @@ func (o LookupScanConfigResultOutput) ToLookupScanConfigResultOutputWithContext( return o } +func (o LookupScanConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupScanConfigResult] { + return pulumix.Output[LookupScanConfigResult]{ + OutputState: o.OutputState, + } +} + // The authentication configuration. If specified, service will use the authentication configuration during scanning. func (o LookupScanConfigResultOutput) Authentication() AuthenticationResponseOutput { return o.ApplyT(func(v LookupScanConfigResult) AuthenticationResponse { return v.Authentication }).(AuthenticationResponseOutput) diff --git a/sdk/go/google/websecurityscanner/v1alpha/pulumiEnums.go b/sdk/go/google/websecurityscanner/v1alpha/pulumiEnums.go index fe0d120333..2ffe2092a5 100644 --- a/sdk/go/google/websecurityscanner/v1alpha/pulumiEnums.go +++ b/sdk/go/google/websecurityscanner/v1alpha/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type ScanConfigTargetPlatformsItem string @@ -85,6 +86,12 @@ func (o ScanConfigTargetPlatformsItemOutput) ToScanConfigTargetPlatformsItemPtrO }).(ScanConfigTargetPlatformsItemPtrOutput) } +func (o ScanConfigTargetPlatformsItemOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigTargetPlatformsItem] { + return pulumix.Output[ScanConfigTargetPlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigTargetPlatformsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -120,6 +127,12 @@ func (o ScanConfigTargetPlatformsItemPtrOutput) ToScanConfigTargetPlatformsItemP return o } +func (o ScanConfigTargetPlatformsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigTargetPlatformsItem] { + return pulumix.Output[*ScanConfigTargetPlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigTargetPlatformsItemPtrOutput) Elem() ScanConfigTargetPlatformsItemOutput { return o.ApplyT(func(v *ScanConfigTargetPlatformsItem) ScanConfigTargetPlatformsItem { if v != nil { @@ -182,6 +195,12 @@ func (in *scanConfigTargetPlatformsItemPtr) ToScanConfigTargetPlatformsItemPtrOu return pulumi.ToOutputWithContext(ctx, in).(ScanConfigTargetPlatformsItemPtrOutput) } +func (in *scanConfigTargetPlatformsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigTargetPlatformsItem] { + return pulumix.Output[*ScanConfigTargetPlatformsItem]{ + OutputState: in.ToScanConfigTargetPlatformsItemPtrOutputWithContext(ctx).OutputState, + } +} + // ScanConfigTargetPlatformsItemArrayInput is an input type that accepts ScanConfigTargetPlatformsItemArray and ScanConfigTargetPlatformsItemArrayOutput values. // You can construct a concrete instance of `ScanConfigTargetPlatformsItemArrayInput` via: // @@ -207,6 +226,12 @@ func (i ScanConfigTargetPlatformsItemArray) ToScanConfigTargetPlatformsItemArray return pulumi.ToOutputWithContext(ctx, i).(ScanConfigTargetPlatformsItemArrayOutput) } +func (i ScanConfigTargetPlatformsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ScanConfigTargetPlatformsItem] { + return pulumix.Output[[]ScanConfigTargetPlatformsItem]{ + OutputState: i.ToScanConfigTargetPlatformsItemArrayOutputWithContext(ctx).OutputState, + } +} + type ScanConfigTargetPlatformsItemArrayOutput struct{ *pulumi.OutputState } func (ScanConfigTargetPlatformsItemArrayOutput) ElementType() reflect.Type { @@ -221,6 +246,12 @@ func (o ScanConfigTargetPlatformsItemArrayOutput) ToScanConfigTargetPlatformsIte return o } +func (o ScanConfigTargetPlatformsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ScanConfigTargetPlatformsItem] { + return pulumix.Output[[]ScanConfigTargetPlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigTargetPlatformsItemArrayOutput) Index(i pulumi.IntInput) ScanConfigTargetPlatformsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ScanConfigTargetPlatformsItem { return vs[0].([]ScanConfigTargetPlatformsItem)[vs[1].(int)] @@ -301,6 +332,12 @@ func (o ScanConfigUserAgentOutput) ToScanConfigUserAgentPtrOutputWithContext(ctx }).(ScanConfigUserAgentPtrOutput) } +func (o ScanConfigUserAgentOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigUserAgent] { + return pulumix.Output[ScanConfigUserAgent]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigUserAgentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -336,6 +373,12 @@ func (o ScanConfigUserAgentPtrOutput) ToScanConfigUserAgentPtrOutputWithContext( return o } +func (o ScanConfigUserAgentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigUserAgent] { + return pulumix.Output[*ScanConfigUserAgent]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigUserAgentPtrOutput) Elem() ScanConfigUserAgentOutput { return o.ApplyT(func(v *ScanConfigUserAgent) ScanConfigUserAgent { if v != nil { @@ -398,6 +441,12 @@ func (in *scanConfigUserAgentPtr) ToScanConfigUserAgentPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ScanConfigUserAgentPtrOutput) } +func (in *scanConfigUserAgentPtr) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigUserAgent] { + return pulumix.Output[*ScanConfigUserAgent]{ + OutputState: in.ToScanConfigUserAgentPtrOutputWithContext(ctx).OutputState, + } +} + // The execution state of the ScanRun. type ScanRunExecutionState string @@ -472,6 +521,12 @@ func (o ScanRunExecutionStateOutput) ToScanRunExecutionStatePtrOutputWithContext }).(ScanRunExecutionStatePtrOutput) } +func (o ScanRunExecutionStateOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunExecutionState] { + return pulumix.Output[ScanRunExecutionState]{ + OutputState: o.OutputState, + } +} + func (o ScanRunExecutionStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -507,6 +562,12 @@ func (o ScanRunExecutionStatePtrOutput) ToScanRunExecutionStatePtrOutputWithCont return o } +func (o ScanRunExecutionStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanRunExecutionState] { + return pulumix.Output[*ScanRunExecutionState]{ + OutputState: o.OutputState, + } +} + func (o ScanRunExecutionStatePtrOutput) Elem() ScanRunExecutionStateOutput { return o.ApplyT(func(v *ScanRunExecutionState) ScanRunExecutionState { if v != nil { @@ -569,6 +630,12 @@ func (in *scanRunExecutionStatePtr) ToScanRunExecutionStatePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ScanRunExecutionStatePtrOutput) } +func (in *scanRunExecutionStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ScanRunExecutionState] { + return pulumix.Output[*ScanRunExecutionState]{ + OutputState: in.ToScanRunExecutionStatePtrOutputWithContext(ctx).OutputState, + } +} + // The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED". type ScanRunResultState string @@ -643,6 +710,12 @@ func (o ScanRunResultStateOutput) ToScanRunResultStatePtrOutputWithContext(ctx c }).(ScanRunResultStatePtrOutput) } +func (o ScanRunResultStateOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunResultState] { + return pulumix.Output[ScanRunResultState]{ + OutputState: o.OutputState, + } +} + func (o ScanRunResultStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -678,6 +751,12 @@ func (o ScanRunResultStatePtrOutput) ToScanRunResultStatePtrOutputWithContext(ct return o } +func (o ScanRunResultStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanRunResultState] { + return pulumix.Output[*ScanRunResultState]{ + OutputState: o.OutputState, + } +} + func (o ScanRunResultStatePtrOutput) Elem() ScanRunResultStateOutput { return o.ApplyT(func(v *ScanRunResultState) ScanRunResultState { if v != nil { @@ -740,6 +819,12 @@ func (in *scanRunResultStatePtr) ToScanRunResultStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ScanRunResultStatePtrOutput) } +func (in *scanRunResultStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ScanRunResultState] { + return pulumix.Output[*ScanRunResultState]{ + OutputState: in.ToScanRunResultStatePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ScanConfigTargetPlatformsItemInput)(nil)).Elem(), ScanConfigTargetPlatformsItem("TARGET_PLATFORM_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ScanConfigTargetPlatformsItemPtrInput)(nil)).Elem(), ScanConfigTargetPlatformsItem("TARGET_PLATFORM_UNSPECIFIED")) diff --git a/sdk/go/google/websecurityscanner/v1alpha/pulumiTypes.go b/sdk/go/google/websecurityscanner/v1alpha/pulumiTypes.go index 6ce570d51b..27f9ca0e6d 100644 --- a/sdk/go/google/websecurityscanner/v1alpha/pulumiTypes.go +++ b/sdk/go/google/websecurityscanner/v1alpha/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AuthenticationArgs) ToAuthenticationOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthenticationOutput) } +func (i AuthenticationArgs) ToOutput(ctx context.Context) pulumix.Output[Authentication] { + return pulumix.Output[Authentication]{ + OutputState: i.ToAuthenticationOutputWithContext(ctx).OutputState, + } +} + func (i AuthenticationArgs) ToAuthenticationPtrOutput() AuthenticationPtrOutput { return i.ToAuthenticationPtrOutputWithContext(context.Background()) } @@ -93,6 +100,12 @@ func (i *authenticationPtrType) ToAuthenticationPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AuthenticationPtrOutput) } +func (i *authenticationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Authentication] { + return pulumix.Output[*Authentication]{ + OutputState: i.ToAuthenticationPtrOutputWithContext(ctx).OutputState, + } +} + // Scan authentication configuration. type AuthenticationOutput struct{ *pulumi.OutputState } @@ -118,6 +131,12 @@ func (o AuthenticationOutput) ToAuthenticationPtrOutputWithContext(ctx context.C }).(AuthenticationPtrOutput) } +func (o AuthenticationOutput) ToOutput(ctx context.Context) pulumix.Output[Authentication] { + return pulumix.Output[Authentication]{ + OutputState: o.OutputState, + } +} + // Authentication using a custom account. func (o AuthenticationOutput) CustomAccount() CustomAccountPtrOutput { return o.ApplyT(func(v Authentication) *CustomAccount { return v.CustomAccount }).(CustomAccountPtrOutput) @@ -142,6 +161,12 @@ func (o AuthenticationPtrOutput) ToAuthenticationPtrOutputWithContext(ctx contex return o } +func (o AuthenticationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Authentication] { + return pulumix.Output[*Authentication]{ + OutputState: o.OutputState, + } +} + func (o AuthenticationPtrOutput) Elem() AuthenticationOutput { return o.ApplyT(func(v *Authentication) Authentication { if v != nil { @@ -195,6 +220,12 @@ func (o AuthenticationResponseOutput) ToAuthenticationResponseOutputWithContext( return o } +func (o AuthenticationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticationResponse] { + return pulumix.Output[AuthenticationResponse]{ + OutputState: o.OutputState, + } +} + // Authentication using a custom account. func (o AuthenticationResponseOutput) CustomAccount() CustomAccountResponseOutput { return o.ApplyT(func(v AuthenticationResponse) CustomAccountResponse { return v.CustomAccount }).(CustomAccountResponseOutput) @@ -248,6 +279,12 @@ func (i CustomAccountArgs) ToCustomAccountOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(CustomAccountOutput) } +func (i CustomAccountArgs) ToOutput(ctx context.Context) pulumix.Output[CustomAccount] { + return pulumix.Output[CustomAccount]{ + OutputState: i.ToCustomAccountOutputWithContext(ctx).OutputState, + } +} + func (i CustomAccountArgs) ToCustomAccountPtrOutput() CustomAccountPtrOutput { return i.ToCustomAccountPtrOutputWithContext(context.Background()) } @@ -289,6 +326,12 @@ func (i *customAccountPtrType) ToCustomAccountPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(CustomAccountPtrOutput) } +func (i *customAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomAccount] { + return pulumix.Output[*CustomAccount]{ + OutputState: i.ToCustomAccountPtrOutputWithContext(ctx).OutputState, + } +} + // Describes authentication configuration that uses a custom account. type CustomAccountOutput struct{ *pulumi.OutputState } @@ -314,6 +357,12 @@ func (o CustomAccountOutput) ToCustomAccountPtrOutputWithContext(ctx context.Con }).(CustomAccountPtrOutput) } +func (o CustomAccountOutput) ToOutput(ctx context.Context) pulumix.Output[CustomAccount] { + return pulumix.Output[CustomAccount]{ + OutputState: o.OutputState, + } +} + // The login form URL of the website. func (o CustomAccountOutput) LoginUrl() pulumi.StringOutput { return o.ApplyT(func(v CustomAccount) string { return v.LoginUrl }).(pulumi.StringOutput) @@ -343,6 +392,12 @@ func (o CustomAccountPtrOutput) ToCustomAccountPtrOutputWithContext(ctx context. return o } +func (o CustomAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomAccount] { + return pulumix.Output[*CustomAccount]{ + OutputState: o.OutputState, + } +} + func (o CustomAccountPtrOutput) Elem() CustomAccountOutput { return o.ApplyT(func(v *CustomAccount) CustomAccount { if v != nil { @@ -408,6 +463,12 @@ func (o CustomAccountResponseOutput) ToCustomAccountResponseOutputWithContext(ct return o } +func (o CustomAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomAccountResponse] { + return pulumix.Output[CustomAccountResponse]{ + OutputState: o.OutputState, + } +} + // The login form URL of the website. func (o CustomAccountResponseOutput) LoginUrl() pulumi.StringOutput { return o.ApplyT(func(v CustomAccountResponse) string { return v.LoginUrl }).(pulumi.StringOutput) @@ -462,6 +523,12 @@ func (i GoogleAccountArgs) ToGoogleAccountOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GoogleAccountOutput) } +func (i GoogleAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleAccount] { + return pulumix.Output[GoogleAccount]{ + OutputState: i.ToGoogleAccountOutputWithContext(ctx).OutputState, + } +} + func (i GoogleAccountArgs) ToGoogleAccountPtrOutput() GoogleAccountPtrOutput { return i.ToGoogleAccountPtrOutputWithContext(context.Background()) } @@ -503,6 +570,12 @@ func (i *googleAccountPtrType) ToGoogleAccountPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(GoogleAccountPtrOutput) } +func (i *googleAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleAccount] { + return pulumix.Output[*GoogleAccount]{ + OutputState: i.ToGoogleAccountPtrOutputWithContext(ctx).OutputState, + } +} + // Describes authentication configuration that uses a Google account. type GoogleAccountOutput struct{ *pulumi.OutputState } @@ -528,6 +601,12 @@ func (o GoogleAccountOutput) ToGoogleAccountPtrOutputWithContext(ctx context.Con }).(GoogleAccountPtrOutput) } +func (o GoogleAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleAccount] { + return pulumix.Output[GoogleAccount]{ + OutputState: o.OutputState, + } +} + // Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs. func (o GoogleAccountOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v GoogleAccount) string { return v.Password }).(pulumi.StringOutput) @@ -552,6 +631,12 @@ func (o GoogleAccountPtrOutput) ToGoogleAccountPtrOutputWithContext(ctx context. return o } +func (o GoogleAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleAccount] { + return pulumix.Output[*GoogleAccount]{ + OutputState: o.OutputState, + } +} + func (o GoogleAccountPtrOutput) Elem() GoogleAccountOutput { return o.ApplyT(func(v *GoogleAccount) GoogleAccount { if v != nil { @@ -605,6 +690,12 @@ func (o GoogleAccountResponseOutput) ToGoogleAccountResponseOutputWithContext(ct return o } +func (o GoogleAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleAccountResponse] { + return pulumix.Output[GoogleAccountResponse]{ + OutputState: o.OutputState, + } +} + // Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs. func (o GoogleAccountResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v GoogleAccountResponse) string { return v.Password }).(pulumi.StringOutput) @@ -682,6 +773,12 @@ func (i ScanRunArgs) ToScanRunOutputWithContext(ctx context.Context) ScanRunOutp return pulumi.ToOutputWithContext(ctx, i).(ScanRunOutput) } +func (i ScanRunArgs) ToOutput(ctx context.Context) pulumix.Output[ScanRun] { + return pulumix.Output[ScanRun]{ + OutputState: i.ToScanRunOutputWithContext(ctx).OutputState, + } +} + func (i ScanRunArgs) ToScanRunPtrOutput() ScanRunPtrOutput { return i.ToScanRunPtrOutputWithContext(context.Background()) } @@ -723,6 +820,12 @@ func (i *scanRunPtrType) ToScanRunPtrOutputWithContext(ctx context.Context) Scan return pulumi.ToOutputWithContext(ctx, i).(ScanRunPtrOutput) } +func (i *scanRunPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScanRun] { + return pulumix.Output[*ScanRun]{ + OutputState: i.ToScanRunPtrOutputWithContext(ctx).OutputState, + } +} + // A ScanRun is a output-only resource representing an actual run of the scan. type ScanRunOutput struct{ *pulumi.OutputState } @@ -748,6 +851,12 @@ func (o ScanRunOutput) ToScanRunPtrOutputWithContext(ctx context.Context) ScanRu }).(ScanRunPtrOutput) } +func (o ScanRunOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRun] { + return pulumix.Output[ScanRun]{ + OutputState: o.OutputState, + } +} + // The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user. func (o ScanRunOutput) EndTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ScanRun) *string { return v.EndTime }).(pulumi.StringPtrOutput) @@ -807,6 +916,12 @@ func (o ScanRunPtrOutput) ToScanRunPtrOutputWithContext(ctx context.Context) Sca return o } +func (o ScanRunPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanRun] { + return pulumix.Output[*ScanRun]{ + OutputState: o.OutputState, + } +} + func (o ScanRunPtrOutput) Elem() ScanRunOutput { return o.ApplyT(func(v *ScanRun) ScanRun { if v != nil { @@ -944,6 +1059,12 @@ func (o ScanRunResponseOutput) ToScanRunResponseOutputWithContext(ctx context.Co return o } +func (o ScanRunResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunResponse] { + return pulumix.Output[ScanRunResponse]{ + OutputState: o.OutputState, + } +} + // The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user. func (o ScanRunResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v ScanRunResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -1028,6 +1149,12 @@ func (i ScheduleArgs) ToScheduleOutputWithContext(ctx context.Context) ScheduleO return pulumi.ToOutputWithContext(ctx, i).(ScheduleOutput) } +func (i ScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[Schedule] { + return pulumix.Output[Schedule]{ + OutputState: i.ToScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ScheduleArgs) ToSchedulePtrOutput() SchedulePtrOutput { return i.ToSchedulePtrOutputWithContext(context.Background()) } @@ -1069,6 +1196,12 @@ func (i *schedulePtrType) ToSchedulePtrOutputWithContext(ctx context.Context) Sc return pulumi.ToOutputWithContext(ctx, i).(SchedulePtrOutput) } +func (i *schedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: i.ToSchedulePtrOutputWithContext(ctx).OutputState, + } +} + // Scan schedule configuration. type ScheduleOutput struct{ *pulumi.OutputState } @@ -1094,6 +1227,12 @@ func (o ScheduleOutput) ToSchedulePtrOutputWithContext(ctx context.Context) Sche }).(SchedulePtrOutput) } +func (o ScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[Schedule] { + return pulumix.Output[Schedule]{ + OutputState: o.OutputState, + } +} + // The duration of time between executions in days. func (o ScheduleOutput) IntervalDurationDays() pulumi.IntOutput { return o.ApplyT(func(v Schedule) int { return v.IntervalDurationDays }).(pulumi.IntOutput) @@ -1118,6 +1257,12 @@ func (o SchedulePtrOutput) ToSchedulePtrOutputWithContext(ctx context.Context) S return o } +func (o SchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: o.OutputState, + } +} + func (o SchedulePtrOutput) Elem() ScheduleOutput { return o.ApplyT(func(v *Schedule) Schedule { if v != nil { @@ -1171,6 +1316,12 @@ func (o ScheduleResponseOutput) ToScheduleResponseOutputWithContext(ctx context. return o } +func (o ScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduleResponse] { + return pulumix.Output[ScheduleResponse]{ + OutputState: o.OutputState, + } +} + // The duration of time between executions in days. func (o ScheduleResponseOutput) IntervalDurationDays() pulumi.IntOutput { return o.ApplyT(func(v ScheduleResponse) int { return v.IntervalDurationDays }).(pulumi.IntOutput) diff --git a/sdk/go/google/websecurityscanner/v1alpha/scanConfig.go b/sdk/go/google/websecurityscanner/v1alpha/scanConfig.go index 505fc4e7fc..2f479ecd71 100644 --- a/sdk/go/google/websecurityscanner/v1alpha/scanConfig.go +++ b/sdk/go/google/websecurityscanner/v1alpha/scanConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ScanConfig. @@ -160,6 +161,12 @@ func (i *ScanConfig) ToScanConfigOutputWithContext(ctx context.Context) ScanConf return pulumi.ToOutputWithContext(ctx, i).(ScanConfigOutput) } +func (i *ScanConfig) ToOutput(ctx context.Context) pulumix.Output[*ScanConfig] { + return pulumix.Output[*ScanConfig]{ + OutputState: i.ToScanConfigOutputWithContext(ctx).OutputState, + } +} + type ScanConfigOutput struct{ *pulumi.OutputState } func (ScanConfigOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o ScanConfigOutput) ToScanConfigOutputWithContext(ctx context.Context) Sca return o } +func (o ScanConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfig] { + return pulumix.Output[*ScanConfig]{ + OutputState: o.OutputState, + } +} + // The authentication configuration. If specified, service will use the authentication configuration during scanning. func (o ScanConfigOutput) Authentication() AuthenticationResponseOutput { return o.ApplyT(func(v *ScanConfig) AuthenticationResponseOutput { return v.Authentication }).(AuthenticationResponseOutput) diff --git a/sdk/go/google/websecurityscanner/v1beta/getScanConfig.go b/sdk/go/google/websecurityscanner/v1beta/getScanConfig.go index 16d0c87451..891a1e2acb 100644 --- a/sdk/go/google/websecurityscanner/v1beta/getScanConfig.go +++ b/sdk/go/google/websecurityscanner/v1beta/getScanConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets a ScanConfig. @@ -96,6 +97,12 @@ func (o LookupScanConfigResultOutput) ToLookupScanConfigResultOutputWithContext( return o } +func (o LookupScanConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupScanConfigResult] { + return pulumix.Output[LookupScanConfigResult]{ + OutputState: o.OutputState, + } +} + // The authentication configuration. If specified, service will use the authentication configuration during scanning. func (o LookupScanConfigResultOutput) Authentication() AuthenticationResponseOutput { return o.ApplyT(func(v LookupScanConfigResult) AuthenticationResponse { return v.Authentication }).(AuthenticationResponseOutput) diff --git a/sdk/go/google/websecurityscanner/v1beta/pulumiEnums.go b/sdk/go/google/websecurityscanner/v1beta/pulumiEnums.go index eaaf686d32..74802addfc 100644 --- a/sdk/go/google/websecurityscanner/v1beta/pulumiEnums.go +++ b/sdk/go/google/websecurityscanner/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Indicates the reason code for a configuration failure. @@ -160,6 +161,12 @@ func (o ScanConfigErrorCodeOutput) ToScanConfigErrorCodePtrOutputWithContext(ctx }).(ScanConfigErrorCodePtrOutput) } +func (o ScanConfigErrorCodeOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigErrorCode] { + return pulumix.Output[ScanConfigErrorCode]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigErrorCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -195,6 +202,12 @@ func (o ScanConfigErrorCodePtrOutput) ToScanConfigErrorCodePtrOutputWithContext( return o } +func (o ScanConfigErrorCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigErrorCode] { + return pulumix.Output[*ScanConfigErrorCode]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigErrorCodePtrOutput) Elem() ScanConfigErrorCodeOutput { return o.ApplyT(func(v *ScanConfigErrorCode) ScanConfigErrorCode { if v != nil { @@ -257,6 +270,12 @@ func (in *scanConfigErrorCodePtr) ToScanConfigErrorCodePtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ScanConfigErrorCodePtrOutput) } +func (in *scanConfigErrorCodePtr) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigErrorCode] { + return pulumix.Output[*ScanConfigErrorCode]{ + OutputState: in.ToScanConfigErrorCodePtrOutputWithContext(ctx).OutputState, + } +} + // Controls export of scan configurations and results to Security Command Center. type ScanConfigExportToSecurityCommandCenter string @@ -329,6 +348,12 @@ func (o ScanConfigExportToSecurityCommandCenterOutput) ToScanConfigExportToSecur }).(ScanConfigExportToSecurityCommandCenterPtrOutput) } +func (o ScanConfigExportToSecurityCommandCenterOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigExportToSecurityCommandCenter] { + return pulumix.Output[ScanConfigExportToSecurityCommandCenter]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigExportToSecurityCommandCenterOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -364,6 +389,12 @@ func (o ScanConfigExportToSecurityCommandCenterPtrOutput) ToScanConfigExportToSe return o } +func (o ScanConfigExportToSecurityCommandCenterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigExportToSecurityCommandCenter] { + return pulumix.Output[*ScanConfigExportToSecurityCommandCenter]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigExportToSecurityCommandCenterPtrOutput) Elem() ScanConfigExportToSecurityCommandCenterOutput { return o.ApplyT(func(v *ScanConfigExportToSecurityCommandCenter) ScanConfigExportToSecurityCommandCenter { if v != nil { @@ -426,6 +457,12 @@ func (in *scanConfigExportToSecurityCommandCenterPtr) ToScanConfigExportToSecuri return pulumi.ToOutputWithContext(ctx, in).(ScanConfigExportToSecurityCommandCenterPtrOutput) } +func (in *scanConfigExportToSecurityCommandCenterPtr) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigExportToSecurityCommandCenter] { + return pulumix.Output[*ScanConfigExportToSecurityCommandCenter]{ + OutputState: in.ToScanConfigExportToSecurityCommandCenterPtrOutputWithContext(ctx).OutputState, + } +} + // The risk level selected for the scan type ScanConfigRiskLevel string @@ -498,6 +535,12 @@ func (o ScanConfigRiskLevelOutput) ToScanConfigRiskLevelPtrOutputWithContext(ctx }).(ScanConfigRiskLevelPtrOutput) } +func (o ScanConfigRiskLevelOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigRiskLevel] { + return pulumix.Output[ScanConfigRiskLevel]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigRiskLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -533,6 +576,12 @@ func (o ScanConfigRiskLevelPtrOutput) ToScanConfigRiskLevelPtrOutputWithContext( return o } +func (o ScanConfigRiskLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigRiskLevel] { + return pulumix.Output[*ScanConfigRiskLevel]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigRiskLevelPtrOutput) Elem() ScanConfigRiskLevelOutput { return o.ApplyT(func(v *ScanConfigRiskLevel) ScanConfigRiskLevel { if v != nil { @@ -595,6 +644,12 @@ func (in *scanConfigRiskLevelPtr) ToScanConfigRiskLevelPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ScanConfigRiskLevelPtrOutput) } +func (in *scanConfigRiskLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigRiskLevel] { + return pulumix.Output[*ScanConfigRiskLevel]{ + OutputState: in.ToScanConfigRiskLevelPtrOutputWithContext(ctx).OutputState, + } +} + type ScanConfigTargetPlatformsItem string const ( @@ -670,6 +725,12 @@ func (o ScanConfigTargetPlatformsItemOutput) ToScanConfigTargetPlatformsItemPtrO }).(ScanConfigTargetPlatformsItemPtrOutput) } +func (o ScanConfigTargetPlatformsItemOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigTargetPlatformsItem] { + return pulumix.Output[ScanConfigTargetPlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigTargetPlatformsItemOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -705,6 +766,12 @@ func (o ScanConfigTargetPlatformsItemPtrOutput) ToScanConfigTargetPlatformsItemP return o } +func (o ScanConfigTargetPlatformsItemPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigTargetPlatformsItem] { + return pulumix.Output[*ScanConfigTargetPlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigTargetPlatformsItemPtrOutput) Elem() ScanConfigTargetPlatformsItemOutput { return o.ApplyT(func(v *ScanConfigTargetPlatformsItem) ScanConfigTargetPlatformsItem { if v != nil { @@ -767,6 +834,12 @@ func (in *scanConfigTargetPlatformsItemPtr) ToScanConfigTargetPlatformsItemPtrOu return pulumi.ToOutputWithContext(ctx, in).(ScanConfigTargetPlatformsItemPtrOutput) } +func (in *scanConfigTargetPlatformsItemPtr) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigTargetPlatformsItem] { + return pulumix.Output[*ScanConfigTargetPlatformsItem]{ + OutputState: in.ToScanConfigTargetPlatformsItemPtrOutputWithContext(ctx).OutputState, + } +} + // ScanConfigTargetPlatformsItemArrayInput is an input type that accepts ScanConfigTargetPlatformsItemArray and ScanConfigTargetPlatformsItemArrayOutput values. // You can construct a concrete instance of `ScanConfigTargetPlatformsItemArrayInput` via: // @@ -792,6 +865,12 @@ func (i ScanConfigTargetPlatformsItemArray) ToScanConfigTargetPlatformsItemArray return pulumi.ToOutputWithContext(ctx, i).(ScanConfigTargetPlatformsItemArrayOutput) } +func (i ScanConfigTargetPlatformsItemArray) ToOutput(ctx context.Context) pulumix.Output[[]ScanConfigTargetPlatformsItem] { + return pulumix.Output[[]ScanConfigTargetPlatformsItem]{ + OutputState: i.ToScanConfigTargetPlatformsItemArrayOutputWithContext(ctx).OutputState, + } +} + type ScanConfigTargetPlatformsItemArrayOutput struct{ *pulumi.OutputState } func (ScanConfigTargetPlatformsItemArrayOutput) ElementType() reflect.Type { @@ -806,6 +885,12 @@ func (o ScanConfigTargetPlatformsItemArrayOutput) ToScanConfigTargetPlatformsIte return o } +func (o ScanConfigTargetPlatformsItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ScanConfigTargetPlatformsItem] { + return pulumix.Output[[]ScanConfigTargetPlatformsItem]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigTargetPlatformsItemArrayOutput) Index(i pulumi.IntInput) ScanConfigTargetPlatformsItemOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ScanConfigTargetPlatformsItem { return vs[0].([]ScanConfigTargetPlatformsItem)[vs[1].(int)] @@ -886,6 +971,12 @@ func (o ScanConfigUserAgentOutput) ToScanConfigUserAgentPtrOutputWithContext(ctx }).(ScanConfigUserAgentPtrOutput) } +func (o ScanConfigUserAgentOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigUserAgent] { + return pulumix.Output[ScanConfigUserAgent]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigUserAgentOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -921,6 +1012,12 @@ func (o ScanConfigUserAgentPtrOutput) ToScanConfigUserAgentPtrOutputWithContext( return o } +func (o ScanConfigUserAgentPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigUserAgent] { + return pulumix.Output[*ScanConfigUserAgent]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigUserAgentPtrOutput) Elem() ScanConfigUserAgentOutput { return o.ApplyT(func(v *ScanConfigUserAgent) ScanConfigUserAgent { if v != nil { @@ -983,6 +1080,12 @@ func (in *scanConfigUserAgentPtr) ToScanConfigUserAgentPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, in).(ScanConfigUserAgentPtrOutput) } +func (in *scanConfigUserAgentPtr) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigUserAgent] { + return pulumix.Output[*ScanConfigUserAgent]{ + OutputState: in.ToScanConfigUserAgentPtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the error reason code. type ScanRunErrorTraceCode string @@ -1065,6 +1168,12 @@ func (o ScanRunErrorTraceCodeOutput) ToScanRunErrorTraceCodePtrOutputWithContext }).(ScanRunErrorTraceCodePtrOutput) } +func (o ScanRunErrorTraceCodeOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunErrorTraceCode] { + return pulumix.Output[ScanRunErrorTraceCode]{ + OutputState: o.OutputState, + } +} + func (o ScanRunErrorTraceCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1100,6 +1209,12 @@ func (o ScanRunErrorTraceCodePtrOutput) ToScanRunErrorTraceCodePtrOutputWithCont return o } +func (o ScanRunErrorTraceCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanRunErrorTraceCode] { + return pulumix.Output[*ScanRunErrorTraceCode]{ + OutputState: o.OutputState, + } +} + func (o ScanRunErrorTraceCodePtrOutput) Elem() ScanRunErrorTraceCodeOutput { return o.ApplyT(func(v *ScanRunErrorTraceCode) ScanRunErrorTraceCode { if v != nil { @@ -1162,6 +1277,12 @@ func (in *scanRunErrorTraceCodePtr) ToScanRunErrorTraceCodePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ScanRunErrorTraceCodePtrOutput) } +func (in *scanRunErrorTraceCodePtr) ToOutput(ctx context.Context) pulumix.Output[*ScanRunErrorTraceCode] { + return pulumix.Output[*ScanRunErrorTraceCode]{ + OutputState: in.ToScanRunErrorTraceCodePtrOutputWithContext(ctx).OutputState, + } +} + // The execution state of the ScanRun. type ScanRunExecutionState string @@ -1236,6 +1357,12 @@ func (o ScanRunExecutionStateOutput) ToScanRunExecutionStatePtrOutputWithContext }).(ScanRunExecutionStatePtrOutput) } +func (o ScanRunExecutionStateOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunExecutionState] { + return pulumix.Output[ScanRunExecutionState]{ + OutputState: o.OutputState, + } +} + func (o ScanRunExecutionStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1271,6 +1398,12 @@ func (o ScanRunExecutionStatePtrOutput) ToScanRunExecutionStatePtrOutputWithCont return o } +func (o ScanRunExecutionStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanRunExecutionState] { + return pulumix.Output[*ScanRunExecutionState]{ + OutputState: o.OutputState, + } +} + func (o ScanRunExecutionStatePtrOutput) Elem() ScanRunExecutionStateOutput { return o.ApplyT(func(v *ScanRunExecutionState) ScanRunExecutionState { if v != nil { @@ -1333,6 +1466,12 @@ func (in *scanRunExecutionStatePtr) ToScanRunExecutionStatePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ScanRunExecutionStatePtrOutput) } +func (in *scanRunExecutionStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ScanRunExecutionState] { + return pulumix.Output[*ScanRunExecutionState]{ + OutputState: in.ToScanRunExecutionStatePtrOutputWithContext(ctx).OutputState, + } +} + // The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED". type ScanRunResultState string @@ -1407,6 +1546,12 @@ func (o ScanRunResultStateOutput) ToScanRunResultStatePtrOutputWithContext(ctx c }).(ScanRunResultStatePtrOutput) } +func (o ScanRunResultStateOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunResultState] { + return pulumix.Output[ScanRunResultState]{ + OutputState: o.OutputState, + } +} + func (o ScanRunResultStateOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1442,6 +1587,12 @@ func (o ScanRunResultStatePtrOutput) ToScanRunResultStatePtrOutputWithContext(ct return o } +func (o ScanRunResultStatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanRunResultState] { + return pulumix.Output[*ScanRunResultState]{ + OutputState: o.OutputState, + } +} + func (o ScanRunResultStatePtrOutput) Elem() ScanRunResultStateOutput { return o.ApplyT(func(v *ScanRunResultState) ScanRunResultState { if v != nil { @@ -1504,6 +1655,12 @@ func (in *scanRunResultStatePtr) ToScanRunResultStatePtrOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, in).(ScanRunResultStatePtrOutput) } +func (in *scanRunResultStatePtr) ToOutput(ctx context.Context) pulumix.Output[*ScanRunResultState] { + return pulumix.Output[*ScanRunResultState]{ + OutputState: in.ToScanRunResultStatePtrOutputWithContext(ctx).OutputState, + } +} + // Indicates the warning code. type ScanRunWarningTraceCode string @@ -1582,6 +1739,12 @@ func (o ScanRunWarningTraceCodeOutput) ToScanRunWarningTraceCodePtrOutputWithCon }).(ScanRunWarningTraceCodePtrOutput) } +func (o ScanRunWarningTraceCodeOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunWarningTraceCode] { + return pulumix.Output[ScanRunWarningTraceCode]{ + OutputState: o.OutputState, + } +} + func (o ScanRunWarningTraceCodeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -1617,6 +1780,12 @@ func (o ScanRunWarningTraceCodePtrOutput) ToScanRunWarningTraceCodePtrOutputWith return o } +func (o ScanRunWarningTraceCodePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanRunWarningTraceCode] { + return pulumix.Output[*ScanRunWarningTraceCode]{ + OutputState: o.OutputState, + } +} + func (o ScanRunWarningTraceCodePtrOutput) Elem() ScanRunWarningTraceCodeOutput { return o.ApplyT(func(v *ScanRunWarningTraceCode) ScanRunWarningTraceCode { if v != nil { @@ -1679,6 +1848,12 @@ func (in *scanRunWarningTraceCodePtr) ToScanRunWarningTraceCodePtrOutputWithCont return pulumi.ToOutputWithContext(ctx, in).(ScanRunWarningTraceCodePtrOutput) } +func (in *scanRunWarningTraceCodePtr) ToOutput(ctx context.Context) pulumix.Output[*ScanRunWarningTraceCode] { + return pulumix.Output[*ScanRunWarningTraceCode]{ + OutputState: in.ToScanRunWarningTraceCodePtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ScanConfigErrorCodeInput)(nil)).Elem(), ScanConfigErrorCode("CODE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ScanConfigErrorCodePtrInput)(nil)).Elem(), ScanConfigErrorCode("CODE_UNSPECIFIED")) diff --git a/sdk/go/google/websecurityscanner/v1beta/pulumiTypes.go b/sdk/go/google/websecurityscanner/v1beta/pulumiTypes.go index d549b26b41..660915110a 100644 --- a/sdk/go/google/websecurityscanner/v1beta/pulumiTypes.go +++ b/sdk/go/google/websecurityscanner/v1beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -56,6 +57,12 @@ func (i AuthenticationArgs) ToAuthenticationOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthenticationOutput) } +func (i AuthenticationArgs) ToOutput(ctx context.Context) pulumix.Output[Authentication] { + return pulumix.Output[Authentication]{ + OutputState: i.ToAuthenticationOutputWithContext(ctx).OutputState, + } +} + func (i AuthenticationArgs) ToAuthenticationPtrOutput() AuthenticationPtrOutput { return i.ToAuthenticationPtrOutputWithContext(context.Background()) } @@ -97,6 +104,12 @@ func (i *authenticationPtrType) ToAuthenticationPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(AuthenticationPtrOutput) } +func (i *authenticationPtrType) ToOutput(ctx context.Context) pulumix.Output[*Authentication] { + return pulumix.Output[*Authentication]{ + OutputState: i.ToAuthenticationPtrOutputWithContext(ctx).OutputState, + } +} + // Scan authentication configuration. type AuthenticationOutput struct{ *pulumi.OutputState } @@ -122,6 +135,12 @@ func (o AuthenticationOutput) ToAuthenticationPtrOutputWithContext(ctx context.C }).(AuthenticationPtrOutput) } +func (o AuthenticationOutput) ToOutput(ctx context.Context) pulumix.Output[Authentication] { + return pulumix.Output[Authentication]{ + OutputState: o.OutputState, + } +} + // Authentication using a custom account. func (o AuthenticationOutput) CustomAccount() CustomAccountPtrOutput { return o.ApplyT(func(v Authentication) *CustomAccount { return v.CustomAccount }).(CustomAccountPtrOutput) @@ -151,6 +170,12 @@ func (o AuthenticationPtrOutput) ToAuthenticationPtrOutputWithContext(ctx contex return o } +func (o AuthenticationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Authentication] { + return pulumix.Output[*Authentication]{ + OutputState: o.OutputState, + } +} + func (o AuthenticationPtrOutput) Elem() AuthenticationOutput { return o.ApplyT(func(v *Authentication) Authentication { if v != nil { @@ -216,6 +241,12 @@ func (o AuthenticationResponseOutput) ToAuthenticationResponseOutputWithContext( return o } +func (o AuthenticationResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuthenticationResponse] { + return pulumix.Output[AuthenticationResponse]{ + OutputState: o.OutputState, + } +} + // Authentication using a custom account. func (o AuthenticationResponseOutput) CustomAccount() CustomAccountResponseOutput { return o.ApplyT(func(v AuthenticationResponse) CustomAccountResponse { return v.CustomAccount }).(CustomAccountResponseOutput) @@ -274,6 +305,12 @@ func (i CustomAccountArgs) ToCustomAccountOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(CustomAccountOutput) } +func (i CustomAccountArgs) ToOutput(ctx context.Context) pulumix.Output[CustomAccount] { + return pulumix.Output[CustomAccount]{ + OutputState: i.ToCustomAccountOutputWithContext(ctx).OutputState, + } +} + func (i CustomAccountArgs) ToCustomAccountPtrOutput() CustomAccountPtrOutput { return i.ToCustomAccountPtrOutputWithContext(context.Background()) } @@ -315,6 +352,12 @@ func (i *customAccountPtrType) ToCustomAccountPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(CustomAccountPtrOutput) } +func (i *customAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomAccount] { + return pulumix.Output[*CustomAccount]{ + OutputState: i.ToCustomAccountPtrOutputWithContext(ctx).OutputState, + } +} + // Describes authentication configuration that uses a custom account. type CustomAccountOutput struct{ *pulumi.OutputState } @@ -340,6 +383,12 @@ func (o CustomAccountOutput) ToCustomAccountPtrOutputWithContext(ctx context.Con }).(CustomAccountPtrOutput) } +func (o CustomAccountOutput) ToOutput(ctx context.Context) pulumix.Output[CustomAccount] { + return pulumix.Output[CustomAccount]{ + OutputState: o.OutputState, + } +} + // The login form URL of the website. func (o CustomAccountOutput) LoginUrl() pulumi.StringOutput { return o.ApplyT(func(v CustomAccount) string { return v.LoginUrl }).(pulumi.StringOutput) @@ -369,6 +418,12 @@ func (o CustomAccountPtrOutput) ToCustomAccountPtrOutputWithContext(ctx context. return o } +func (o CustomAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomAccount] { + return pulumix.Output[*CustomAccount]{ + OutputState: o.OutputState, + } +} + func (o CustomAccountPtrOutput) Elem() CustomAccountOutput { return o.ApplyT(func(v *CustomAccount) CustomAccount { if v != nil { @@ -434,6 +489,12 @@ func (o CustomAccountResponseOutput) ToCustomAccountResponseOutputWithContext(ct return o } +func (o CustomAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomAccountResponse] { + return pulumix.Output[CustomAccountResponse]{ + OutputState: o.OutputState, + } +} + // The login form URL of the website. func (o CustomAccountResponseOutput) LoginUrl() pulumi.StringOutput { return o.ApplyT(func(v CustomAccountResponse) string { return v.LoginUrl }).(pulumi.StringOutput) @@ -488,6 +549,12 @@ func (i GoogleAccountArgs) ToGoogleAccountOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GoogleAccountOutput) } +func (i GoogleAccountArgs) ToOutput(ctx context.Context) pulumix.Output[GoogleAccount] { + return pulumix.Output[GoogleAccount]{ + OutputState: i.ToGoogleAccountOutputWithContext(ctx).OutputState, + } +} + func (i GoogleAccountArgs) ToGoogleAccountPtrOutput() GoogleAccountPtrOutput { return i.ToGoogleAccountPtrOutputWithContext(context.Background()) } @@ -529,6 +596,12 @@ func (i *googleAccountPtrType) ToGoogleAccountPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(GoogleAccountPtrOutput) } +func (i *googleAccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*GoogleAccount] { + return pulumix.Output[*GoogleAccount]{ + OutputState: i.ToGoogleAccountPtrOutputWithContext(ctx).OutputState, + } +} + // Describes authentication configuration that uses a Google account. type GoogleAccountOutput struct{ *pulumi.OutputState } @@ -554,6 +627,12 @@ func (o GoogleAccountOutput) ToGoogleAccountPtrOutputWithContext(ctx context.Con }).(GoogleAccountPtrOutput) } +func (o GoogleAccountOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleAccount] { + return pulumix.Output[GoogleAccount]{ + OutputState: o.OutputState, + } +} + // Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs. func (o GoogleAccountOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v GoogleAccount) string { return v.Password }).(pulumi.StringOutput) @@ -578,6 +657,12 @@ func (o GoogleAccountPtrOutput) ToGoogleAccountPtrOutputWithContext(ctx context. return o } +func (o GoogleAccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GoogleAccount] { + return pulumix.Output[*GoogleAccount]{ + OutputState: o.OutputState, + } +} + func (o GoogleAccountPtrOutput) Elem() GoogleAccountOutput { return o.ApplyT(func(v *GoogleAccount) GoogleAccount { if v != nil { @@ -631,6 +716,12 @@ func (o GoogleAccountResponseOutput) ToGoogleAccountResponseOutputWithContext(ct return o } +func (o GoogleAccountResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GoogleAccountResponse] { + return pulumix.Output[GoogleAccountResponse]{ + OutputState: o.OutputState, + } +} + // Input only. The password of the Google account. The credential is stored encrypted and not returned in any response nor included in audit logs. func (o GoogleAccountResponseOutput) Password() pulumi.StringOutput { return o.ApplyT(func(v GoogleAccountResponse) string { return v.Password }).(pulumi.StringOutput) @@ -676,6 +767,12 @@ func (i IapCredentialArgs) ToIapCredentialOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(IapCredentialOutput) } +func (i IapCredentialArgs) ToOutput(ctx context.Context) pulumix.Output[IapCredential] { + return pulumix.Output[IapCredential]{ + OutputState: i.ToIapCredentialOutputWithContext(ctx).OutputState, + } +} + func (i IapCredentialArgs) ToIapCredentialPtrOutput() IapCredentialPtrOutput { return i.ToIapCredentialPtrOutputWithContext(context.Background()) } @@ -717,6 +814,12 @@ func (i *iapCredentialPtrType) ToIapCredentialPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(IapCredentialPtrOutput) } +func (i *iapCredentialPtrType) ToOutput(ctx context.Context) pulumix.Output[*IapCredential] { + return pulumix.Output[*IapCredential]{ + OutputState: i.ToIapCredentialPtrOutputWithContext(ctx).OutputState, + } +} + // Describes authentication configuration for Identity-Aware-Proxy (IAP). type IapCredentialOutput struct{ *pulumi.OutputState } @@ -742,6 +845,12 @@ func (o IapCredentialOutput) ToIapCredentialPtrOutputWithContext(ctx context.Con }).(IapCredentialPtrOutput) } +func (o IapCredentialOutput) ToOutput(ctx context.Context) pulumix.Output[IapCredential] { + return pulumix.Output[IapCredential]{ + OutputState: o.OutputState, + } +} + // Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies. func (o IapCredentialOutput) IapTestServiceAccountInfo() IapTestServiceAccountInfoPtrOutput { return o.ApplyT(func(v IapCredential) *IapTestServiceAccountInfo { return v.IapTestServiceAccountInfo }).(IapTestServiceAccountInfoPtrOutput) @@ -761,6 +870,12 @@ func (o IapCredentialPtrOutput) ToIapCredentialPtrOutputWithContext(ctx context. return o } +func (o IapCredentialPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IapCredential] { + return pulumix.Output[*IapCredential]{ + OutputState: o.OutputState, + } +} + func (o IapCredentialPtrOutput) Elem() IapCredentialOutput { return o.ApplyT(func(v *IapCredential) IapCredential { if v != nil { @@ -802,6 +917,12 @@ func (o IapCredentialResponseOutput) ToIapCredentialResponseOutputWithContext(ct return o } +func (o IapCredentialResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IapCredentialResponse] { + return pulumix.Output[IapCredentialResponse]{ + OutputState: o.OutputState, + } +} + // Authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies. func (o IapCredentialResponseOutput) IapTestServiceAccountInfo() IapTestServiceAccountInfoResponseOutput { return o.ApplyT(func(v IapCredentialResponse) IapTestServiceAccountInfoResponse { return v.IapTestServiceAccountInfo }).(IapTestServiceAccountInfoResponseOutput) @@ -842,6 +963,12 @@ func (i IapTestServiceAccountInfoArgs) ToIapTestServiceAccountInfoOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(IapTestServiceAccountInfoOutput) } +func (i IapTestServiceAccountInfoArgs) ToOutput(ctx context.Context) pulumix.Output[IapTestServiceAccountInfo] { + return pulumix.Output[IapTestServiceAccountInfo]{ + OutputState: i.ToIapTestServiceAccountInfoOutputWithContext(ctx).OutputState, + } +} + func (i IapTestServiceAccountInfoArgs) ToIapTestServiceAccountInfoPtrOutput() IapTestServiceAccountInfoPtrOutput { return i.ToIapTestServiceAccountInfoPtrOutputWithContext(context.Background()) } @@ -883,6 +1010,12 @@ func (i *iapTestServiceAccountInfoPtrType) ToIapTestServiceAccountInfoPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(IapTestServiceAccountInfoPtrOutput) } +func (i *iapTestServiceAccountInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*IapTestServiceAccountInfo] { + return pulumix.Output[*IapTestServiceAccountInfo]{ + OutputState: i.ToIapTestServiceAccountInfoPtrOutputWithContext(ctx).OutputState, + } +} + // Describes authentication configuration when Web-Security-Scanner service account is added in Identity-Aware-Proxy (IAP) access policies. type IapTestServiceAccountInfoOutput struct{ *pulumi.OutputState } @@ -908,6 +1041,12 @@ func (o IapTestServiceAccountInfoOutput) ToIapTestServiceAccountInfoPtrOutputWit }).(IapTestServiceAccountInfoPtrOutput) } +func (o IapTestServiceAccountInfoOutput) ToOutput(ctx context.Context) pulumix.Output[IapTestServiceAccountInfo] { + return pulumix.Output[IapTestServiceAccountInfo]{ + OutputState: o.OutputState, + } +} + // Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP). func (o IapTestServiceAccountInfoOutput) TargetAudienceClientId() pulumi.StringOutput { return o.ApplyT(func(v IapTestServiceAccountInfo) string { return v.TargetAudienceClientId }).(pulumi.StringOutput) @@ -927,6 +1066,12 @@ func (o IapTestServiceAccountInfoPtrOutput) ToIapTestServiceAccountInfoPtrOutput return o } +func (o IapTestServiceAccountInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IapTestServiceAccountInfo] { + return pulumix.Output[*IapTestServiceAccountInfo]{ + OutputState: o.OutputState, + } +} + func (o IapTestServiceAccountInfoPtrOutput) Elem() IapTestServiceAccountInfoOutput { return o.ApplyT(func(v *IapTestServiceAccountInfo) IapTestServiceAccountInfo { if v != nil { @@ -968,6 +1113,12 @@ func (o IapTestServiceAccountInfoResponseOutput) ToIapTestServiceAccountInfoResp return o } +func (o IapTestServiceAccountInfoResponseOutput) ToOutput(ctx context.Context) pulumix.Output[IapTestServiceAccountInfoResponse] { + return pulumix.Output[IapTestServiceAccountInfoResponse]{ + OutputState: o.OutputState, + } +} + // Describes OAuth2 Client ID of resources protected by Identity-Aware-Proxy(IAP). func (o IapTestServiceAccountInfoResponseOutput) TargetAudienceClientId() pulumi.StringOutput { return o.ApplyT(func(v IapTestServiceAccountInfoResponse) string { return v.TargetAudienceClientId }).(pulumi.StringOutput) @@ -1012,6 +1163,12 @@ func (i ScanConfigErrorArgs) ToScanConfigErrorOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ScanConfigErrorOutput) } +func (i ScanConfigErrorArgs) ToOutput(ctx context.Context) pulumix.Output[ScanConfigError] { + return pulumix.Output[ScanConfigError]{ + OutputState: i.ToScanConfigErrorOutputWithContext(ctx).OutputState, + } +} + func (i ScanConfigErrorArgs) ToScanConfigErrorPtrOutput() ScanConfigErrorPtrOutput { return i.ToScanConfigErrorPtrOutputWithContext(context.Background()) } @@ -1053,6 +1210,12 @@ func (i *scanConfigErrorPtrType) ToScanConfigErrorPtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(ScanConfigErrorPtrOutput) } +func (i *scanConfigErrorPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigError] { + return pulumix.Output[*ScanConfigError]{ + OutputState: i.ToScanConfigErrorPtrOutputWithContext(ctx).OutputState, + } +} + // Defines a custom error message used by CreateScanConfig and UpdateScanConfig APIs when scan configuration validation fails. It is also reported as part of a ScanRunErrorTrace message if scan validation fails due to a scan configuration error. type ScanConfigErrorOutput struct{ *pulumi.OutputState } @@ -1078,6 +1241,12 @@ func (o ScanConfigErrorOutput) ToScanConfigErrorPtrOutputWithContext(ctx context }).(ScanConfigErrorPtrOutput) } +func (o ScanConfigErrorOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigError] { + return pulumix.Output[ScanConfigError]{ + OutputState: o.OutputState, + } +} + // Indicates the reason code for a configuration failure. func (o ScanConfigErrorOutput) Code() ScanConfigErrorCodePtrOutput { return o.ApplyT(func(v ScanConfigError) *ScanConfigErrorCode { return v.Code }).(ScanConfigErrorCodePtrOutput) @@ -1102,6 +1271,12 @@ func (o ScanConfigErrorPtrOutput) ToScanConfigErrorPtrOutputWithContext(ctx cont return o } +func (o ScanConfigErrorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfigError] { + return pulumix.Output[*ScanConfigError]{ + OutputState: o.OutputState, + } +} + func (o ScanConfigErrorPtrOutput) Elem() ScanConfigErrorOutput { return o.ApplyT(func(v *ScanConfigError) ScanConfigError { if v != nil { @@ -1155,6 +1330,12 @@ func (o ScanConfigErrorResponseOutput) ToScanConfigErrorResponseOutputWithContex return o } +func (o ScanConfigErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScanConfigErrorResponse] { + return pulumix.Output[ScanConfigErrorResponse]{ + OutputState: o.OutputState, + } +} + // Indicates the reason code for a configuration failure. func (o ScanConfigErrorResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v ScanConfigErrorResponse) string { return v.Code }).(pulumi.StringOutput) @@ -1240,6 +1421,12 @@ func (i ScanRunArgs) ToScanRunOutputWithContext(ctx context.Context) ScanRunOutp return pulumi.ToOutputWithContext(ctx, i).(ScanRunOutput) } +func (i ScanRunArgs) ToOutput(ctx context.Context) pulumix.Output[ScanRun] { + return pulumix.Output[ScanRun]{ + OutputState: i.ToScanRunOutputWithContext(ctx).OutputState, + } +} + func (i ScanRunArgs) ToScanRunPtrOutput() ScanRunPtrOutput { return i.ToScanRunPtrOutputWithContext(context.Background()) } @@ -1281,6 +1468,12 @@ func (i *scanRunPtrType) ToScanRunPtrOutputWithContext(ctx context.Context) Scan return pulumi.ToOutputWithContext(ctx, i).(ScanRunPtrOutput) } +func (i *scanRunPtrType) ToOutput(ctx context.Context) pulumix.Output[*ScanRun] { + return pulumix.Output[*ScanRun]{ + OutputState: i.ToScanRunPtrOutputWithContext(ctx).OutputState, + } +} + // A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12 type ScanRunOutput struct{ *pulumi.OutputState } @@ -1306,6 +1499,12 @@ func (o ScanRunOutput) ToScanRunPtrOutputWithContext(ctx context.Context) ScanRu }).(ScanRunPtrOutput) } +func (o ScanRunOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRun] { + return pulumix.Output[ScanRun]{ + OutputState: o.OutputState, + } +} + // The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user. func (o ScanRunOutput) EndTime() pulumi.StringPtrOutput { return o.ApplyT(func(v ScanRun) *string { return v.EndTime }).(pulumi.StringPtrOutput) @@ -1375,6 +1574,12 @@ func (o ScanRunPtrOutput) ToScanRunPtrOutputWithContext(ctx context.Context) Sca return o } +func (o ScanRunPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanRun] { + return pulumix.Output[*ScanRun]{ + OutputState: o.OutputState, + } +} + func (o ScanRunPtrOutput) Elem() ScanRunOutput { return o.ApplyT(func(v *ScanRun) ScanRun { if v != nil { @@ -1538,6 +1743,12 @@ func (i ScanRunErrorTraceArgs) ToScanRunErrorTraceOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ScanRunErrorTraceOutput) } +func (i ScanRunErrorTraceArgs) ToOutput(ctx context.Context) pulumix.Output[ScanRunErrorTrace] { + return pulumix.Output[ScanRunErrorTrace]{ + OutputState: i.ToScanRunErrorTraceOutputWithContext(ctx).OutputState, + } +} + func (i ScanRunErrorTraceArgs) ToScanRunErrorTracePtrOutput() ScanRunErrorTracePtrOutput { return i.ToScanRunErrorTracePtrOutputWithContext(context.Background()) } @@ -1579,6 +1790,12 @@ func (i *scanRunErrorTracePtrType) ToScanRunErrorTracePtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ScanRunErrorTracePtrOutput) } +func (i *scanRunErrorTracePtrType) ToOutput(ctx context.Context) pulumix.Output[*ScanRunErrorTrace] { + return pulumix.Output[*ScanRunErrorTrace]{ + OutputState: i.ToScanRunErrorTracePtrOutputWithContext(ctx).OutputState, + } +} + // Output only. Defines an error trace message for a ScanRun. type ScanRunErrorTraceOutput struct{ *pulumi.OutputState } @@ -1604,6 +1821,12 @@ func (o ScanRunErrorTraceOutput) ToScanRunErrorTracePtrOutputWithContext(ctx con }).(ScanRunErrorTracePtrOutput) } +func (o ScanRunErrorTraceOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunErrorTrace] { + return pulumix.Output[ScanRunErrorTrace]{ + OutputState: o.OutputState, + } +} + // Indicates the error reason code. func (o ScanRunErrorTraceOutput) Code() ScanRunErrorTraceCodePtrOutput { return o.ApplyT(func(v ScanRunErrorTrace) *ScanRunErrorTraceCode { return v.Code }).(ScanRunErrorTraceCodePtrOutput) @@ -1633,6 +1856,12 @@ func (o ScanRunErrorTracePtrOutput) ToScanRunErrorTracePtrOutputWithContext(ctx return o } +func (o ScanRunErrorTracePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanRunErrorTrace] { + return pulumix.Output[*ScanRunErrorTrace]{ + OutputState: o.OutputState, + } +} + func (o ScanRunErrorTracePtrOutput) Elem() ScanRunErrorTraceOutput { return o.ApplyT(func(v *ScanRunErrorTrace) ScanRunErrorTrace { if v != nil { @@ -1698,6 +1927,12 @@ func (o ScanRunErrorTraceResponseOutput) ToScanRunErrorTraceResponseOutputWithCo return o } +func (o ScanRunErrorTraceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunErrorTraceResponse] { + return pulumix.Output[ScanRunErrorTraceResponse]{ + OutputState: o.OutputState, + } +} + // Indicates the error reason code. func (o ScanRunErrorTraceResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v ScanRunErrorTraceResponse) string { return v.Code }).(pulumi.StringOutput) @@ -1754,6 +1989,12 @@ func (o ScanRunResponseOutput) ToScanRunResponseOutputWithContext(ctx context.Co return o } +func (o ScanRunResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunResponse] { + return pulumix.Output[ScanRunResponse]{ + OutputState: o.OutputState, + } +} + // The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user. func (o ScanRunResponseOutput) EndTime() pulumi.StringOutput { return o.ApplyT(func(v ScanRunResponse) string { return v.EndTime }).(pulumi.StringOutput) @@ -1844,6 +2085,12 @@ func (i ScanRunWarningTraceArgs) ToScanRunWarningTraceOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ScanRunWarningTraceOutput) } +func (i ScanRunWarningTraceArgs) ToOutput(ctx context.Context) pulumix.Output[ScanRunWarningTrace] { + return pulumix.Output[ScanRunWarningTrace]{ + OutputState: i.ToScanRunWarningTraceOutputWithContext(ctx).OutputState, + } +} + // ScanRunWarningTraceArrayInput is an input type that accepts ScanRunWarningTraceArray and ScanRunWarningTraceArrayOutput values. // You can construct a concrete instance of `ScanRunWarningTraceArrayInput` via: // @@ -1869,6 +2116,12 @@ func (i ScanRunWarningTraceArray) ToScanRunWarningTraceArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ScanRunWarningTraceArrayOutput) } +func (i ScanRunWarningTraceArray) ToOutput(ctx context.Context) pulumix.Output[[]ScanRunWarningTrace] { + return pulumix.Output[[]ScanRunWarningTrace]{ + OutputState: i.ToScanRunWarningTraceArrayOutputWithContext(ctx).OutputState, + } +} + // Output only. Defines a warning trace message for ScanRun. Warning traces provide customers with useful information that helps make the scanning process more effective. type ScanRunWarningTraceOutput struct{ *pulumi.OutputState } @@ -1884,6 +2137,12 @@ func (o ScanRunWarningTraceOutput) ToScanRunWarningTraceOutputWithContext(ctx co return o } +func (o ScanRunWarningTraceOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunWarningTrace] { + return pulumix.Output[ScanRunWarningTrace]{ + OutputState: o.OutputState, + } +} + // Indicates the warning code. func (o ScanRunWarningTraceOutput) Code() ScanRunWarningTraceCodePtrOutput { return o.ApplyT(func(v ScanRunWarningTrace) *ScanRunWarningTraceCode { return v.Code }).(ScanRunWarningTraceCodePtrOutput) @@ -1903,6 +2162,12 @@ func (o ScanRunWarningTraceArrayOutput) ToScanRunWarningTraceArrayOutputWithCont return o } +func (o ScanRunWarningTraceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ScanRunWarningTrace] { + return pulumix.Output[[]ScanRunWarningTrace]{ + OutputState: o.OutputState, + } +} + func (o ScanRunWarningTraceArrayOutput) Index(i pulumi.IntInput) ScanRunWarningTraceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ScanRunWarningTrace { return vs[0].([]ScanRunWarningTrace)[vs[1].(int)] @@ -1930,6 +2195,12 @@ func (o ScanRunWarningTraceResponseOutput) ToScanRunWarningTraceResponseOutputWi return o } +func (o ScanRunWarningTraceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScanRunWarningTraceResponse] { + return pulumix.Output[ScanRunWarningTraceResponse]{ + OutputState: o.OutputState, + } +} + // Indicates the warning code. func (o ScanRunWarningTraceResponseOutput) Code() pulumi.StringOutput { return o.ApplyT(func(v ScanRunWarningTraceResponse) string { return v.Code }).(pulumi.StringOutput) @@ -1949,6 +2220,12 @@ func (o ScanRunWarningTraceResponseArrayOutput) ToScanRunWarningTraceResponseArr return o } +func (o ScanRunWarningTraceResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ScanRunWarningTraceResponse] { + return pulumix.Output[[]ScanRunWarningTraceResponse]{ + OutputState: o.OutputState, + } +} + func (o ScanRunWarningTraceResponseArrayOutput) Index(i pulumi.IntInput) ScanRunWarningTraceResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ScanRunWarningTraceResponse { return vs[0].([]ScanRunWarningTraceResponse)[vs[1].(int)] @@ -1994,6 +2271,12 @@ func (i ScheduleArgs) ToScheduleOutputWithContext(ctx context.Context) ScheduleO return pulumi.ToOutputWithContext(ctx, i).(ScheduleOutput) } +func (i ScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[Schedule] { + return pulumix.Output[Schedule]{ + OutputState: i.ToScheduleOutputWithContext(ctx).OutputState, + } +} + func (i ScheduleArgs) ToSchedulePtrOutput() SchedulePtrOutput { return i.ToSchedulePtrOutputWithContext(context.Background()) } @@ -2035,6 +2318,12 @@ func (i *schedulePtrType) ToSchedulePtrOutputWithContext(ctx context.Context) Sc return pulumi.ToOutputWithContext(ctx, i).(SchedulePtrOutput) } +func (i *schedulePtrType) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: i.ToSchedulePtrOutputWithContext(ctx).OutputState, + } +} + // Scan schedule configuration. type ScheduleOutput struct{ *pulumi.OutputState } @@ -2060,6 +2349,12 @@ func (o ScheduleOutput) ToSchedulePtrOutputWithContext(ctx context.Context) Sche }).(SchedulePtrOutput) } +func (o ScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[Schedule] { + return pulumix.Output[Schedule]{ + OutputState: o.OutputState, + } +} + // The duration of time between executions in days. func (o ScheduleOutput) IntervalDurationDays() pulumi.IntOutput { return o.ApplyT(func(v Schedule) int { return v.IntervalDurationDays }).(pulumi.IntOutput) @@ -2084,6 +2379,12 @@ func (o SchedulePtrOutput) ToSchedulePtrOutputWithContext(ctx context.Context) S return o } +func (o SchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Schedule] { + return pulumix.Output[*Schedule]{ + OutputState: o.OutputState, + } +} + func (o SchedulePtrOutput) Elem() ScheduleOutput { return o.ApplyT(func(v *Schedule) Schedule { if v != nil { @@ -2137,6 +2438,12 @@ func (o ScheduleResponseOutput) ToScheduleResponseOutputWithContext(ctx context. return o } +func (o ScheduleResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ScheduleResponse] { + return pulumix.Output[ScheduleResponse]{ + OutputState: o.OutputState, + } +} + // The duration of time between executions in days. func (o ScheduleResponseOutput) IntervalDurationDays() pulumi.IntOutput { return o.ApplyT(func(v ScheduleResponse) int { return v.IntervalDurationDays }).(pulumi.IntOutput) diff --git a/sdk/go/google/websecurityscanner/v1beta/scanConfig.go b/sdk/go/google/websecurityscanner/v1beta/scanConfig.go index a7e933201c..f0689ea5d5 100644 --- a/sdk/go/google/websecurityscanner/v1beta/scanConfig.go +++ b/sdk/go/google/websecurityscanner/v1beta/scanConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new ScanConfig. @@ -190,6 +191,12 @@ func (i *ScanConfig) ToScanConfigOutputWithContext(ctx context.Context) ScanConf return pulumi.ToOutputWithContext(ctx, i).(ScanConfigOutput) } +func (i *ScanConfig) ToOutput(ctx context.Context) pulumix.Output[*ScanConfig] { + return pulumix.Output[*ScanConfig]{ + OutputState: i.ToScanConfigOutputWithContext(ctx).OutputState, + } +} + type ScanConfigOutput struct{ *pulumi.OutputState } func (ScanConfigOutput) ElementType() reflect.Type { @@ -204,6 +211,12 @@ func (o ScanConfigOutput) ToScanConfigOutputWithContext(ctx context.Context) Sca return o } +func (o ScanConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*ScanConfig] { + return pulumix.Output[*ScanConfig]{ + OutputState: o.OutputState, + } +} + // The authentication configuration. If specified, service will use the authentication configuration during scanning. func (o ScanConfigOutput) Authentication() AuthenticationResponseOutput { return o.ApplyT(func(v *ScanConfig) AuthenticationResponseOutput { return v.Authentication }).(AuthenticationResponseOutput) diff --git a/sdk/go/google/workflowexecutions/v1/execution.go b/sdk/go/google/workflowexecutions/v1/execution.go index c3262789f1..2b47ce02e8 100644 --- a/sdk/go/google/workflowexecutions/v1/execution.go +++ b/sdk/go/google/workflowexecutions/v1/execution.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new execution using the latest revision of the given workflow. @@ -146,6 +147,12 @@ func (i *Execution) ToExecutionOutputWithContext(ctx context.Context) ExecutionO return pulumi.ToOutputWithContext(ctx, i).(ExecutionOutput) } +func (i *Execution) ToOutput(ctx context.Context) pulumix.Output[*Execution] { + return pulumix.Output[*Execution]{ + OutputState: i.ToExecutionOutputWithContext(ctx).OutputState, + } +} + type ExecutionOutput struct{ *pulumi.OutputState } func (ExecutionOutput) ElementType() reflect.Type { @@ -160,6 +167,12 @@ func (o ExecutionOutput) ToExecutionOutputWithContext(ctx context.Context) Execu return o } +func (o ExecutionOutput) ToOutput(ctx context.Context) pulumix.Output[*Execution] { + return pulumix.Output[*Execution]{ + OutputState: o.OutputState, + } +} + // Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` func (o ExecutionOutput) Argument() pulumi.StringOutput { return o.ApplyT(func(v *Execution) pulumi.StringOutput { return v.Argument }).(pulumi.StringOutput) diff --git a/sdk/go/google/workflowexecutions/v1/getExecution.go b/sdk/go/google/workflowexecutions/v1/getExecution.go index 590928a421..c1e5a8c6fd 100644 --- a/sdk/go/google/workflowexecutions/v1/getExecution.go +++ b/sdk/go/google/workflowexecutions/v1/getExecution.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns an execution of the given name. @@ -98,6 +99,12 @@ func (o LookupExecutionResultOutput) ToLookupExecutionResultOutputWithContext(ct return o } +func (o LookupExecutionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExecutionResult] { + return pulumix.Output[LookupExecutionResult]{ + OutputState: o.OutputState, + } +} + // Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` func (o LookupExecutionResultOutput) Argument() pulumi.StringOutput { return o.ApplyT(func(v LookupExecutionResult) string { return v.Argument }).(pulumi.StringOutput) diff --git a/sdk/go/google/workflowexecutions/v1/pulumiEnums.go b/sdk/go/google/workflowexecutions/v1/pulumiEnums.go index 9ebe5ba2a3..e7db5e5036 100644 --- a/sdk/go/google/workflowexecutions/v1/pulumiEnums.go +++ b/sdk/go/google/workflowexecutions/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The call logging level associated to this execution. @@ -84,6 +85,12 @@ func (o ExecutionCallLogLevelOutput) ToExecutionCallLogLevelPtrOutputWithContext }).(ExecutionCallLogLevelPtrOutput) } +func (o ExecutionCallLogLevelOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionCallLogLevel] { + return pulumix.Output[ExecutionCallLogLevel]{ + OutputState: o.OutputState, + } +} + func (o ExecutionCallLogLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o ExecutionCallLogLevelPtrOutput) ToExecutionCallLogLevelPtrOutputWithCont return o } +func (o ExecutionCallLogLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecutionCallLogLevel] { + return pulumix.Output[*ExecutionCallLogLevel]{ + OutputState: o.OutputState, + } +} + func (o ExecutionCallLogLevelPtrOutput) Elem() ExecutionCallLogLevelOutput { return o.ApplyT(func(v *ExecutionCallLogLevel) ExecutionCallLogLevel { if v != nil { @@ -181,6 +194,12 @@ func (in *executionCallLogLevelPtr) ToExecutionCallLogLevelPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ExecutionCallLogLevelPtrOutput) } +func (in *executionCallLogLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*ExecutionCallLogLevel] { + return pulumix.Output[*ExecutionCallLogLevel]{ + OutputState: in.ToExecutionCallLogLevelPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ExecutionCallLogLevelInput)(nil)).Elem(), ExecutionCallLogLevel("CALL_LOG_LEVEL_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ExecutionCallLogLevelPtrInput)(nil)).Elem(), ExecutionCallLogLevel("CALL_LOG_LEVEL_UNSPECIFIED")) diff --git a/sdk/go/google/workflowexecutions/v1/pulumiTypes.go b/sdk/go/google/workflowexecutions/v1/pulumiTypes.go index fea6f86d6d..ec5a888c44 100644 --- a/sdk/go/google/workflowexecutions/v1/pulumiTypes.go +++ b/sdk/go/google/workflowexecutions/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -38,6 +39,12 @@ func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Contex return o } +func (o ErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorResponse] { + return pulumix.Output[ErrorResponse]{ + OutputState: o.OutputState, + } +} + // Human-readable stack trace string. func (o ErrorResponseOutput) Context() pulumi.StringOutput { return o.ApplyT(func(v ErrorResponse) string { return v.Context }).(pulumi.StringOutput) @@ -78,6 +85,12 @@ func (o PositionResponseOutput) ToPositionResponseOutputWithContext(ctx context. return o } +func (o PositionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PositionResponse] { + return pulumix.Output[PositionResponse]{ + OutputState: o.OutputState, + } +} + // The source code column position (of the line) the current instruction was generated from. func (o PositionResponseOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v PositionResponse) string { return v.Column }).(pulumi.StringOutput) @@ -118,6 +131,12 @@ func (o StackTraceElementResponseOutput) ToStackTraceElementResponseOutputWithCo return o } +func (o StackTraceElementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StackTraceElementResponse] { + return pulumix.Output[StackTraceElementResponse]{ + OutputState: o.OutputState, + } +} + // The source position information of the stack trace element. func (o StackTraceElementResponseOutput) Position() PositionResponseOutput { return o.ApplyT(func(v StackTraceElementResponse) PositionResponse { return v.Position }).(PositionResponseOutput) @@ -147,6 +166,12 @@ func (o StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOu return o } +func (o StackTraceElementResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StackTraceElementResponse] { + return pulumix.Output[[]StackTraceElementResponse]{ + OutputState: o.OutputState, + } +} + func (o StackTraceElementResponseArrayOutput) Index(i pulumi.IntInput) StackTraceElementResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StackTraceElementResponse { return vs[0].([]StackTraceElementResponse)[vs[1].(int)] @@ -174,6 +199,12 @@ func (o StackTraceResponseOutput) ToStackTraceResponseOutputWithContext(ctx cont return o } +func (o StackTraceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StackTraceResponse] { + return pulumix.Output[StackTraceResponse]{ + OutputState: o.OutputState, + } +} + // An array of stack elements. func (o StackTraceResponseOutput) Elements() StackTraceElementResponseArrayOutput { return o.ApplyT(func(v StackTraceResponse) []StackTraceElementResponse { return v.Elements }).(StackTraceElementResponseArrayOutput) @@ -202,6 +233,12 @@ func (o StateErrorResponseOutput) ToStateErrorResponseOutputWithContext(ctx cont return o } +func (o StateErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StateErrorResponse] { + return pulumix.Output[StateErrorResponse]{ + OutputState: o.OutputState, + } +} + // Provides specifics about the error. func (o StateErrorResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v StateErrorResponse) string { return v.Details }).(pulumi.StringOutput) @@ -233,6 +270,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step. func (o StatusResponseOutput) CurrentSteps() StepResponseArrayOutput { return o.ApplyT(func(v StatusResponse) []StepResponse { return v.CurrentSteps }).(StepResponseArrayOutput) @@ -261,6 +304,12 @@ func (o StepResponseOutput) ToStepResponseOutputWithContext(ctx context.Context) return o } +func (o StepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StepResponse] { + return pulumix.Output[StepResponse]{ + OutputState: o.OutputState, + } +} + // Name of a routine within the workflow. func (o StepResponseOutput) Routine() pulumi.StringOutput { return o.ApplyT(func(v StepResponse) string { return v.Routine }).(pulumi.StringOutput) @@ -285,6 +334,12 @@ func (o StepResponseArrayOutput) ToStepResponseArrayOutputWithContext(ctx contex return o } +func (o StepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StepResponse] { + return pulumix.Output[[]StepResponse]{ + OutputState: o.OutputState, + } +} + func (o StepResponseArrayOutput) Index(i pulumi.IntInput) StepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StepResponse { return vs[0].([]StepResponse)[vs[1].(int)] diff --git a/sdk/go/google/workflowexecutions/v1beta/execution.go b/sdk/go/google/workflowexecutions/v1beta/execution.go index 32d2bdfd50..0207396d4f 100644 --- a/sdk/go/google/workflowexecutions/v1beta/execution.go +++ b/sdk/go/google/workflowexecutions/v1beta/execution.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new execution using the latest revision of the given workflow. @@ -136,6 +137,12 @@ func (i *Execution) ToExecutionOutputWithContext(ctx context.Context) ExecutionO return pulumi.ToOutputWithContext(ctx, i).(ExecutionOutput) } +func (i *Execution) ToOutput(ctx context.Context) pulumix.Output[*Execution] { + return pulumix.Output[*Execution]{ + OutputState: i.ToExecutionOutputWithContext(ctx).OutputState, + } +} + type ExecutionOutput struct{ *pulumi.OutputState } func (ExecutionOutput) ElementType() reflect.Type { @@ -150,6 +157,12 @@ func (o ExecutionOutput) ToExecutionOutputWithContext(ctx context.Context) Execu return o } +func (o ExecutionOutput) ToOutput(ctx context.Context) pulumix.Output[*Execution] { + return pulumix.Output[*Execution]{ + OutputState: o.OutputState, + } +} + // Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` func (o ExecutionOutput) Argument() pulumi.StringOutput { return o.ApplyT(func(v *Execution) pulumi.StringOutput { return v.Argument }).(pulumi.StringOutput) diff --git a/sdk/go/google/workflowexecutions/v1beta/getExecution.go b/sdk/go/google/workflowexecutions/v1beta/getExecution.go index eaaf7869cd..835d46599b 100644 --- a/sdk/go/google/workflowexecutions/v1beta/getExecution.go +++ b/sdk/go/google/workflowexecutions/v1beta/getExecution.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns an execution of the given name. @@ -92,6 +93,12 @@ func (o LookupExecutionResultOutput) ToLookupExecutionResultOutputWithContext(ct return o } +func (o LookupExecutionResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupExecutionResult] { + return pulumix.Output[LookupExecutionResult]{ + OutputState: o.OutputState, + } +} + // Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` func (o LookupExecutionResultOutput) Argument() pulumi.StringOutput { return o.ApplyT(func(v LookupExecutionResult) string { return v.Argument }).(pulumi.StringOutput) diff --git a/sdk/go/google/workflowexecutions/v1beta/pulumiEnums.go b/sdk/go/google/workflowexecutions/v1beta/pulumiEnums.go index f8e03ca272..c6951a00d8 100644 --- a/sdk/go/google/workflowexecutions/v1beta/pulumiEnums.go +++ b/sdk/go/google/workflowexecutions/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The call logging level associated to this execution. @@ -82,6 +83,12 @@ func (o ExecutionCallLogLevelOutput) ToExecutionCallLogLevelPtrOutputWithContext }).(ExecutionCallLogLevelPtrOutput) } +func (o ExecutionCallLogLevelOutput) ToOutput(ctx context.Context) pulumix.Output[ExecutionCallLogLevel] { + return pulumix.Output[ExecutionCallLogLevel]{ + OutputState: o.OutputState, + } +} + func (o ExecutionCallLogLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -117,6 +124,12 @@ func (o ExecutionCallLogLevelPtrOutput) ToExecutionCallLogLevelPtrOutputWithCont return o } +func (o ExecutionCallLogLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ExecutionCallLogLevel] { + return pulumix.Output[*ExecutionCallLogLevel]{ + OutputState: o.OutputState, + } +} + func (o ExecutionCallLogLevelPtrOutput) Elem() ExecutionCallLogLevelOutput { return o.ApplyT(func(v *ExecutionCallLogLevel) ExecutionCallLogLevel { if v != nil { @@ -179,6 +192,12 @@ func (in *executionCallLogLevelPtr) ToExecutionCallLogLevelPtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(ExecutionCallLogLevelPtrOutput) } +func (in *executionCallLogLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*ExecutionCallLogLevel] { + return pulumix.Output[*ExecutionCallLogLevel]{ + OutputState: in.ToExecutionCallLogLevelPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ExecutionCallLogLevelInput)(nil)).Elem(), ExecutionCallLogLevel("CALL_LOG_LEVEL_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*ExecutionCallLogLevelPtrInput)(nil)).Elem(), ExecutionCallLogLevel("CALL_LOG_LEVEL_UNSPECIFIED")) diff --git a/sdk/go/google/workflowexecutions/v1beta/pulumiTypes.go b/sdk/go/google/workflowexecutions/v1beta/pulumiTypes.go index affb70c829..87e2915b5a 100644 --- a/sdk/go/google/workflowexecutions/v1beta/pulumiTypes.go +++ b/sdk/go/google/workflowexecutions/v1beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -38,6 +39,12 @@ func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Contex return o } +func (o ErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ErrorResponse] { + return pulumix.Output[ErrorResponse]{ + OutputState: o.OutputState, + } +} + // Human-readable stack trace string. func (o ErrorResponseOutput) Context() pulumi.StringOutput { return o.ApplyT(func(v ErrorResponse) string { return v.Context }).(pulumi.StringOutput) @@ -78,6 +85,12 @@ func (o PositionResponseOutput) ToPositionResponseOutputWithContext(ctx context. return o } +func (o PositionResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PositionResponse] { + return pulumix.Output[PositionResponse]{ + OutputState: o.OutputState, + } +} + // The source code column position (of the line) the current instruction was generated from. func (o PositionResponseOutput) Column() pulumi.StringOutput { return o.ApplyT(func(v PositionResponse) string { return v.Column }).(pulumi.StringOutput) @@ -118,6 +131,12 @@ func (o StackTraceElementResponseOutput) ToStackTraceElementResponseOutputWithCo return o } +func (o StackTraceElementResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StackTraceElementResponse] { + return pulumix.Output[StackTraceElementResponse]{ + OutputState: o.OutputState, + } +} + // The source position information of the stack trace element. func (o StackTraceElementResponseOutput) Position() PositionResponseOutput { return o.ApplyT(func(v StackTraceElementResponse) PositionResponse { return v.Position }).(PositionResponseOutput) @@ -147,6 +166,12 @@ func (o StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOu return o } +func (o StackTraceElementResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StackTraceElementResponse] { + return pulumix.Output[[]StackTraceElementResponse]{ + OutputState: o.OutputState, + } +} + func (o StackTraceElementResponseArrayOutput) Index(i pulumi.IntInput) StackTraceElementResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StackTraceElementResponse { return vs[0].([]StackTraceElementResponse)[vs[1].(int)] @@ -174,6 +199,12 @@ func (o StackTraceResponseOutput) ToStackTraceResponseOutputWithContext(ctx cont return o } +func (o StackTraceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StackTraceResponse] { + return pulumix.Output[StackTraceResponse]{ + OutputState: o.OutputState, + } +} + // An array of stack elements. func (o StackTraceResponseOutput) Elements() StackTraceElementResponseArrayOutput { return o.ApplyT(func(v StackTraceResponse) []StackTraceElementResponse { return v.Elements }).(StackTraceElementResponseArrayOutput) @@ -200,6 +231,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step. func (o StatusResponseOutput) CurrentSteps() StepResponseArrayOutput { return o.ApplyT(func(v StatusResponse) []StepResponse { return v.CurrentSteps }).(StepResponseArrayOutput) @@ -228,6 +265,12 @@ func (o StepResponseOutput) ToStepResponseOutputWithContext(ctx context.Context) return o } +func (o StepResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StepResponse] { + return pulumix.Output[StepResponse]{ + OutputState: o.OutputState, + } +} + // Name of a routine within the workflow. func (o StepResponseOutput) Routine() pulumi.StringOutput { return o.ApplyT(func(v StepResponse) string { return v.Routine }).(pulumi.StringOutput) @@ -252,6 +295,12 @@ func (o StepResponseArrayOutput) ToStepResponseArrayOutputWithContext(ctx contex return o } +func (o StepResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StepResponse] { + return pulumix.Output[[]StepResponse]{ + OutputState: o.OutputState, + } +} + func (o StepResponseArrayOutput) Index(i pulumi.IntInput) StepResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StepResponse { return vs[0].([]StepResponse)[vs[1].(int)] diff --git a/sdk/go/google/workflows/v1/getWorkflow.go b/sdk/go/google/workflows/v1/getWorkflow.go index 464ea1312a..23bb22a11d 100644 --- a/sdk/go/google/workflows/v1/getWorkflow.go +++ b/sdk/go/google/workflows/v1/getWorkflow.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single workflow. @@ -96,6 +97,12 @@ func (o LookupWorkflowResultOutput) ToLookupWorkflowResultOutputWithContext(ctx return o } +func (o LookupWorkflowResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkflowResult] { + return pulumix.Output[LookupWorkflowResult]{ + OutputState: o.OutputState, + } +} + // Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence. func (o LookupWorkflowResultOutput) CallLogLevel() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkflowResult) string { return v.CallLogLevel }).(pulumi.StringOutput) diff --git a/sdk/go/google/workflows/v1/pulumiEnums.go b/sdk/go/google/workflows/v1/pulumiEnums.go index 0c15734d94..ee15f46901 100644 --- a/sdk/go/google/workflows/v1/pulumiEnums.go +++ b/sdk/go/google/workflows/v1/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence. @@ -84,6 +85,12 @@ func (o WorkflowCallLogLevelOutput) ToWorkflowCallLogLevelPtrOutputWithContext(c }).(WorkflowCallLogLevelPtrOutput) } +func (o WorkflowCallLogLevelOutput) ToOutput(ctx context.Context) pulumix.Output[WorkflowCallLogLevel] { + return pulumix.Output[WorkflowCallLogLevel]{ + OutputState: o.OutputState, + } +} + func (o WorkflowCallLogLevelOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o WorkflowCallLogLevelPtrOutput) ToWorkflowCallLogLevelPtrOutputWithContex return o } +func (o WorkflowCallLogLevelPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkflowCallLogLevel] { + return pulumix.Output[*WorkflowCallLogLevel]{ + OutputState: o.OutputState, + } +} + func (o WorkflowCallLogLevelPtrOutput) Elem() WorkflowCallLogLevelOutput { return o.ApplyT(func(v *WorkflowCallLogLevel) WorkflowCallLogLevel { if v != nil { @@ -181,6 +194,12 @@ func (in *workflowCallLogLevelPtr) ToWorkflowCallLogLevelPtrOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, in).(WorkflowCallLogLevelPtrOutput) } +func (in *workflowCallLogLevelPtr) ToOutput(ctx context.Context) pulumix.Output[*WorkflowCallLogLevel] { + return pulumix.Output[*WorkflowCallLogLevel]{ + OutputState: in.ToWorkflowCallLogLevelPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*WorkflowCallLogLevelInput)(nil)).Elem(), WorkflowCallLogLevel("CALL_LOG_LEVEL_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*WorkflowCallLogLevelPtrInput)(nil)).Elem(), WorkflowCallLogLevel("CALL_LOG_LEVEL_UNSPECIFIED")) diff --git a/sdk/go/google/workflows/v1/pulumiTypes.go b/sdk/go/google/workflows/v1/pulumiTypes.go index 2acfe5fca2..205a57f591 100644 --- a/sdk/go/google/workflows/v1/pulumiTypes.go +++ b/sdk/go/google/workflows/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -36,6 +37,12 @@ func (o StateErrorResponseOutput) ToStateErrorResponseOutputWithContext(ctx cont return o } +func (o StateErrorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StateErrorResponse] { + return pulumix.Output[StateErrorResponse]{ + OutputState: o.OutputState, + } +} + // Provides specifics about the error. func (o StateErrorResponseOutput) Details() pulumi.StringOutput { return o.ApplyT(func(v StateErrorResponse) string { return v.Details }).(pulumi.StringOutput) diff --git a/sdk/go/google/workflows/v1/workflow.go b/sdk/go/google/workflows/v1/workflow.go index 4de757f896..16875bb9bf 100644 --- a/sdk/go/google/workflows/v1/workflow.go +++ b/sdk/go/google/workflows/v1/workflow.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation returns a ALREADY_EXISTS error. @@ -162,6 +163,12 @@ func (i *Workflow) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutp return pulumi.ToOutputWithContext(ctx, i).(WorkflowOutput) } +func (i *Workflow) ToOutput(ctx context.Context) pulumix.Output[*Workflow] { + return pulumix.Output[*Workflow]{ + OutputState: i.ToWorkflowOutputWithContext(ctx).OutputState, + } +} + type WorkflowOutput struct{ *pulumi.OutputState } func (WorkflowOutput) ElementType() reflect.Type { @@ -176,6 +183,12 @@ func (o WorkflowOutput) ToWorkflowOutputWithContext(ctx context.Context) Workflo return o } +func (o WorkflowOutput) ToOutput(ctx context.Context) pulumix.Output[*Workflow] { + return pulumix.Output[*Workflow]{ + OutputState: o.OutputState, + } +} + // Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence. func (o WorkflowOutput) CallLogLevel() pulumi.StringOutput { return o.ApplyT(func(v *Workflow) pulumi.StringOutput { return v.CallLogLevel }).(pulumi.StringOutput) diff --git a/sdk/go/google/workflows/v1beta/getWorkflow.go b/sdk/go/google/workflows/v1beta/getWorkflow.go index ac49e4a875..2da616d4c0 100644 --- a/sdk/go/google/workflows/v1beta/getWorkflow.go +++ b/sdk/go/google/workflows/v1beta/getWorkflow.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Workflow. @@ -88,6 +89,12 @@ func (o LookupWorkflowResultOutput) ToLookupWorkflowResultOutputWithContext(ctx return o } +func (o LookupWorkflowResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkflowResult] { + return pulumix.Output[LookupWorkflowResult]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the workflow was created. func (o LookupWorkflowResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupWorkflowResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/workflows/v1beta/workflow.go b/sdk/go/google/workflows/v1beta/workflow.go index 833f3bdd19..5336bbe366 100644 --- a/sdk/go/google/workflows/v1beta/workflow.go +++ b/sdk/go/google/workflows/v1beta/workflow.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new workflow. If a workflow with the specified name already exists in the specified project and location, the long running operation will return ALREADY_EXISTS error. @@ -148,6 +149,12 @@ func (i *Workflow) ToWorkflowOutputWithContext(ctx context.Context) WorkflowOutp return pulumi.ToOutputWithContext(ctx, i).(WorkflowOutput) } +func (i *Workflow) ToOutput(ctx context.Context) pulumix.Output[*Workflow] { + return pulumix.Output[*Workflow]{ + OutputState: i.ToWorkflowOutputWithContext(ctx).OutputState, + } +} + type WorkflowOutput struct{ *pulumi.OutputState } func (WorkflowOutput) ElementType() reflect.Type { @@ -162,6 +169,12 @@ func (o WorkflowOutput) ToWorkflowOutputWithContext(ctx context.Context) Workflo return o } +func (o WorkflowOutput) ToOutput(ctx context.Context) pulumix.Output[*Workflow] { + return pulumix.Output[*Workflow]{ + OutputState: o.OutputState, + } +} + // The timestamp of when the workflow was created. func (o WorkflowOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Workflow) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/workloadmanager/v1/evaluation.go b/sdk/go/google/workloadmanager/v1/evaluation.go index 3f9cca1995..9acf714539 100644 --- a/sdk/go/google/workloadmanager/v1/evaluation.go +++ b/sdk/go/google/workloadmanager/v1/evaluation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new Evaluation in a given project and location. @@ -160,6 +161,12 @@ func (i *Evaluation) ToEvaluationOutputWithContext(ctx context.Context) Evaluati return pulumi.ToOutputWithContext(ctx, i).(EvaluationOutput) } +func (i *Evaluation) ToOutput(ctx context.Context) pulumix.Output[*Evaluation] { + return pulumix.Output[*Evaluation]{ + OutputState: i.ToEvaluationOutputWithContext(ctx).OutputState, + } +} + type EvaluationOutput struct{ *pulumi.OutputState } func (EvaluationOutput) ElementType() reflect.Type { @@ -174,6 +181,12 @@ func (o EvaluationOutput) ToEvaluationOutputWithContext(ctx context.Context) Eva return o } +func (o EvaluationOutput) ToOutput(ctx context.Context) pulumix.Output[*Evaluation] { + return pulumix.Output[*Evaluation]{ + OutputState: o.OutputState, + } +} + // [Output only] Create time stamp func (o EvaluationOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v *Evaluation) pulumi.StringOutput { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/workloadmanager/v1/getEvaluation.go b/sdk/go/google/workloadmanager/v1/getEvaluation.go index b766367a58..d58315499b 100644 --- a/sdk/go/google/workloadmanager/v1/getEvaluation.go +++ b/sdk/go/google/workloadmanager/v1/getEvaluation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets details of a single Evaluation. @@ -88,6 +89,12 @@ func (o LookupEvaluationResultOutput) ToLookupEvaluationResultOutputWithContext( return o } +func (o LookupEvaluationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEvaluationResult] { + return pulumix.Output[LookupEvaluationResult]{ + OutputState: o.OutputState, + } +} + // [Output only] Create time stamp func (o LookupEvaluationResultOutput) CreateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupEvaluationResult) string { return v.CreateTime }).(pulumi.StringOutput) diff --git a/sdk/go/google/workloadmanager/v1/pulumiTypes.go b/sdk/go/google/workloadmanager/v1/pulumiTypes.go index 39cc61e742..bf93e4c457 100644 --- a/sdk/go/google/workloadmanager/v1/pulumiTypes.go +++ b/sdk/go/google/workloadmanager/v1/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -48,6 +49,12 @@ func (i GceInstanceFilterArgs) ToGceInstanceFilterOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(GceInstanceFilterOutput) } +func (i GceInstanceFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GceInstanceFilter] { + return pulumix.Output[GceInstanceFilter]{ + OutputState: i.ToGceInstanceFilterOutputWithContext(ctx).OutputState, + } +} + func (i GceInstanceFilterArgs) ToGceInstanceFilterPtrOutput() GceInstanceFilterPtrOutput { return i.ToGceInstanceFilterPtrOutputWithContext(context.Background()) } @@ -89,6 +96,12 @@ func (i *gceInstanceFilterPtrType) ToGceInstanceFilterPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(GceInstanceFilterPtrOutput) } +func (i *gceInstanceFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*GceInstanceFilter] { + return pulumix.Output[*GceInstanceFilter]{ + OutputState: i.ToGceInstanceFilterPtrOutputWithContext(ctx).OutputState, + } +} + // Message describing compute engine instance filter type GceInstanceFilterOutput struct{ *pulumi.OutputState } @@ -114,6 +127,12 @@ func (o GceInstanceFilterOutput) ToGceInstanceFilterPtrOutputWithContext(ctx con }).(GceInstanceFilterPtrOutput) } +func (o GceInstanceFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GceInstanceFilter] { + return pulumix.Output[GceInstanceFilter]{ + OutputState: o.OutputState, + } +} + // Service account of compute engine func (o GceInstanceFilterOutput) ServiceAccounts() pulumi.StringArrayOutput { return o.ApplyT(func(v GceInstanceFilter) []string { return v.ServiceAccounts }).(pulumi.StringArrayOutput) @@ -133,6 +152,12 @@ func (o GceInstanceFilterPtrOutput) ToGceInstanceFilterPtrOutputWithContext(ctx return o } +func (o GceInstanceFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GceInstanceFilter] { + return pulumix.Output[*GceInstanceFilter]{ + OutputState: o.OutputState, + } +} + func (o GceInstanceFilterPtrOutput) Elem() GceInstanceFilterOutput { return o.ApplyT(func(v *GceInstanceFilter) GceInstanceFilter { if v != nil { @@ -174,6 +199,12 @@ func (o GceInstanceFilterResponseOutput) ToGceInstanceFilterResponseOutputWithCo return o } +func (o GceInstanceFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GceInstanceFilterResponse] { + return pulumix.Output[GceInstanceFilterResponse]{ + OutputState: o.OutputState, + } +} + // Service account of compute engine func (o GceInstanceFilterResponseOutput) ServiceAccounts() pulumi.StringArrayOutput { return o.ApplyT(func(v GceInstanceFilterResponse) []string { return v.ServiceAccounts }).(pulumi.StringArrayOutput) @@ -226,6 +257,12 @@ func (i ResourceFilterArgs) ToResourceFilterOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ResourceFilterOutput) } +func (i ResourceFilterArgs) ToOutput(ctx context.Context) pulumix.Output[ResourceFilter] { + return pulumix.Output[ResourceFilter]{ + OutputState: i.ToResourceFilterOutputWithContext(ctx).OutputState, + } +} + func (i ResourceFilterArgs) ToResourceFilterPtrOutput() ResourceFilterPtrOutput { return i.ToResourceFilterPtrOutputWithContext(context.Background()) } @@ -267,6 +304,12 @@ func (i *resourceFilterPtrType) ToResourceFilterPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(ResourceFilterPtrOutput) } +func (i *resourceFilterPtrType) ToOutput(ctx context.Context) pulumix.Output[*ResourceFilter] { + return pulumix.Output[*ResourceFilter]{ + OutputState: i.ToResourceFilterPtrOutputWithContext(ctx).OutputState, + } +} + // Message describing resource filters type ResourceFilterOutput struct{ *pulumi.OutputState } @@ -292,6 +335,12 @@ func (o ResourceFilterOutput) ToResourceFilterPtrOutputWithContext(ctx context.C }).(ResourceFilterPtrOutput) } +func (o ResourceFilterOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceFilter] { + return pulumix.Output[ResourceFilter]{ + OutputState: o.OutputState, + } +} + // Filter compute engine resource func (o ResourceFilterOutput) GceInstanceFilter() GceInstanceFilterPtrOutput { return o.ApplyT(func(v ResourceFilter) *GceInstanceFilter { return v.GceInstanceFilter }).(GceInstanceFilterPtrOutput) @@ -326,6 +375,12 @@ func (o ResourceFilterPtrOutput) ToResourceFilterPtrOutputWithContext(ctx contex return o } +func (o ResourceFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ResourceFilter] { + return pulumix.Output[*ResourceFilter]{ + OutputState: o.OutputState, + } +} + func (o ResourceFilterPtrOutput) Elem() ResourceFilterOutput { return o.ApplyT(func(v *ResourceFilter) ResourceFilter { if v != nil { @@ -403,6 +458,12 @@ func (o ResourceFilterResponseOutput) ToResourceFilterResponseOutputWithContext( return o } +func (o ResourceFilterResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceFilterResponse] { + return pulumix.Output[ResourceFilterResponse]{ + OutputState: o.OutputState, + } +} + // Filter compute engine resource func (o ResourceFilterResponseOutput) GceInstanceFilter() GceInstanceFilterResponseOutput { return o.ApplyT(func(v ResourceFilterResponse) GceInstanceFilterResponse { return v.GceInstanceFilter }).(GceInstanceFilterResponseOutput) @@ -446,6 +507,12 @@ func (o ResourceStatusResponseOutput) ToResourceStatusResponseOutputWithContext( return o } +func (o ResourceStatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ResourceStatusResponse] { + return pulumix.Output[ResourceStatusResponse]{ + OutputState: o.OutputState, + } +} + // the new version of rule id if exists func (o ResourceStatusResponseOutput) RulesNewerVersions() pulumi.StringArrayOutput { return o.ApplyT(func(v ResourceStatusResponse) []string { return v.RulesNewerVersions }).(pulumi.StringArrayOutput) diff --git a/sdk/go/google/workstations/v1beta/getWorkstation.go b/sdk/go/google/workstations/v1beta/getWorkstation.go index 9b3142e844..ca0d20a0ee 100644 --- a/sdk/go/google/workstations/v1beta/getWorkstation.go +++ b/sdk/go/google/workstations/v1beta/getWorkstation.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the requested workstation. @@ -98,6 +99,12 @@ func (o LookupWorkstationResultOutput) ToLookupWorkstationResultOutputWithContex return o } +func (o LookupWorkstationResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkstationResult] { + return pulumix.Output[LookupWorkstationResult]{ + OutputState: o.OutputState, + } +} + // Client-specified annotations. func (o LookupWorkstationResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupWorkstationResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/workstations/v1beta/getWorkstationCluster.go b/sdk/go/google/workstations/v1beta/getWorkstationCluster.go index 8f1684cb62..d15680533e 100644 --- a/sdk/go/google/workstations/v1beta/getWorkstationCluster.go +++ b/sdk/go/google/workstations/v1beta/getWorkstationCluster.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the requested workstation cluster. @@ -100,6 +101,12 @@ func (o LookupWorkstationClusterResultOutput) ToLookupWorkstationClusterResultOu return o } +func (o LookupWorkstationClusterResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkstationClusterResult] { + return pulumix.Output[LookupWorkstationClusterResult]{ + OutputState: o.OutputState, + } +} + // Client-specified annotations. func (o LookupWorkstationClusterResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupWorkstationClusterResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/workstations/v1beta/getWorkstationClusterWorkstationConfigIamPolicy.go b/sdk/go/google/workstations/v1beta/getWorkstationClusterWorkstationConfigIamPolicy.go index c5313e0e21..a0355f2dfb 100644 --- a/sdk/go/google/workstations/v1beta/getWorkstationClusterWorkstationConfigIamPolicy.go +++ b/sdk/go/google/workstations/v1beta/getWorkstationClusterWorkstationConfigIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -80,6 +81,12 @@ func (o LookupWorkstationClusterWorkstationConfigIamPolicyResultOutput) ToLookup return o } +func (o LookupWorkstationClusterWorkstationConfigIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkstationClusterWorkstationConfigIamPolicyResult] { + return pulumix.Output[LookupWorkstationClusterWorkstationConfigIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupWorkstationClusterWorkstationConfigIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupWorkstationClusterWorkstationConfigIamPolicyResult) []AuditConfigResponse { diff --git a/sdk/go/google/workstations/v1beta/getWorkstationClusterWorkstationConfigWorkstationIamPolicy.go b/sdk/go/google/workstations/v1beta/getWorkstationClusterWorkstationConfigWorkstationIamPolicy.go index b533b266e4..70ee07d2a4 100644 --- a/sdk/go/google/workstations/v1beta/getWorkstationClusterWorkstationConfigWorkstationIamPolicy.go +++ b/sdk/go/google/workstations/v1beta/getWorkstationClusterWorkstationConfigWorkstationIamPolicy.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. @@ -82,6 +83,12 @@ func (o LookupWorkstationClusterWorkstationConfigWorkstationIamPolicyResultOutpu return o } +func (o LookupWorkstationClusterWorkstationConfigWorkstationIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkstationClusterWorkstationConfigWorkstationIamPolicyResult] { + return pulumix.Output[LookupWorkstationClusterWorkstationConfigWorkstationIamPolicyResult]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o LookupWorkstationClusterWorkstationConfigWorkstationIamPolicyResultOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v LookupWorkstationClusterWorkstationConfigWorkstationIamPolicyResult) []AuditConfigResponse { diff --git a/sdk/go/google/workstations/v1beta/getWorkstationConfig.go b/sdk/go/google/workstations/v1beta/getWorkstationConfig.go index 8d6f07a80c..dc1897bb69 100644 --- a/sdk/go/google/workstations/v1beta/getWorkstationConfig.go +++ b/sdk/go/google/workstations/v1beta/getWorkstationConfig.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Returns the requested workstation configuration. @@ -110,6 +111,12 @@ func (o LookupWorkstationConfigResultOutput) ToLookupWorkstationConfigResultOutp return o } +func (o LookupWorkstationConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupWorkstationConfigResult] { + return pulumix.Output[LookupWorkstationConfigResult]{ + OutputState: o.OutputState, + } +} + // Client-specified annotations. func (o LookupWorkstationConfigResultOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v LookupWorkstationConfigResult) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/workstations/v1beta/pulumiEnums.go b/sdk/go/google/workstations/v1beta/pulumiEnums.go index e49442c4db..8068f81555 100644 --- a/sdk/go/google/workstations/v1beta/pulumiEnums.go +++ b/sdk/go/google/workstations/v1beta/pulumiEnums.go @@ -8,6 +8,7 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The log type that this config enables. @@ -84,6 +85,12 @@ func (o AuditLogConfigLogTypeOutput) ToAuditLogConfigLogTypePtrOutputWithContext }).(AuditLogConfigLogTypePtrOutput) } +func (o AuditLogConfigLogTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigLogType] { + return pulumix.Output[AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypeOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -119,6 +126,12 @@ func (o AuditLogConfigLogTypePtrOutput) ToAuditLogConfigLogTypePtrOutputWithCont return o } +func (o AuditLogConfigLogTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigLogTypePtrOutput) Elem() AuditLogConfigLogTypeOutput { return o.ApplyT(func(v *AuditLogConfigLogType) AuditLogConfigLogType { if v != nil { @@ -181,6 +194,12 @@ func (in *auditLogConfigLogTypePtr) ToAuditLogConfigLogTypePtrOutputWithContext( return pulumi.ToOutputWithContext(ctx, in).(AuditLogConfigLogTypePtrOutput) } +func (in *auditLogConfigLogTypePtr) ToOutput(ctx context.Context) pulumix.Output[*AuditLogConfigLogType] { + return pulumix.Output[*AuditLogConfigLogType]{ + OutputState: in.ToAuditLogConfigLogTypePtrOutputWithContext(ctx).OutputState, + } +} + // What should happen to the disk after the workstation is deleted. Defaults to DELETE. type GceRegionalPersistentDiskReclaimPolicy string @@ -253,6 +272,12 @@ func (o GceRegionalPersistentDiskReclaimPolicyOutput) ToGceRegionalPersistentDis }).(GceRegionalPersistentDiskReclaimPolicyPtrOutput) } +func (o GceRegionalPersistentDiskReclaimPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[GceRegionalPersistentDiskReclaimPolicy] { + return pulumix.Output[GceRegionalPersistentDiskReclaimPolicy]{ + OutputState: o.OutputState, + } +} + func (o GceRegionalPersistentDiskReclaimPolicyOutput) ToStringOutput() pulumi.StringOutput { return o.ToStringOutputWithContext(context.Background()) } @@ -288,6 +313,12 @@ func (o GceRegionalPersistentDiskReclaimPolicyPtrOutput) ToGceRegionalPersistent return o } +func (o GceRegionalPersistentDiskReclaimPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GceRegionalPersistentDiskReclaimPolicy] { + return pulumix.Output[*GceRegionalPersistentDiskReclaimPolicy]{ + OutputState: o.OutputState, + } +} + func (o GceRegionalPersistentDiskReclaimPolicyPtrOutput) Elem() GceRegionalPersistentDiskReclaimPolicyOutput { return o.ApplyT(func(v *GceRegionalPersistentDiskReclaimPolicy) GceRegionalPersistentDiskReclaimPolicy { if v != nil { @@ -350,6 +381,12 @@ func (in *gceRegionalPersistentDiskReclaimPolicyPtr) ToGceRegionalPersistentDisk return pulumi.ToOutputWithContext(ctx, in).(GceRegionalPersistentDiskReclaimPolicyPtrOutput) } +func (in *gceRegionalPersistentDiskReclaimPolicyPtr) ToOutput(ctx context.Context) pulumix.Output[*GceRegionalPersistentDiskReclaimPolicy] { + return pulumix.Output[*GceRegionalPersistentDiskReclaimPolicy]{ + OutputState: in.ToGceRegionalPersistentDiskReclaimPolicyPtrOutputWithContext(ctx).OutputState, + } +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypeInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) pulumi.RegisterInputType(reflect.TypeOf((*AuditLogConfigLogTypePtrInput)(nil)).Elem(), AuditLogConfigLogType("LOG_TYPE_UNSPECIFIED")) diff --git a/sdk/go/google/workstations/v1beta/pulumiTypes.go b/sdk/go/google/workstations/v1beta/pulumiTypes.go index c781057155..f3af17f5f9 100644 --- a/sdk/go/google/workstations/v1beta/pulumiTypes.go +++ b/sdk/go/google/workstations/v1beta/pulumiTypes.go @@ -9,6 +9,7 @@ import ( "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -52,6 +53,12 @@ func (i AcceleratorArgs) ToAcceleratorOutputWithContext(ctx context.Context) Acc return pulumi.ToOutputWithContext(ctx, i).(AcceleratorOutput) } +func (i AcceleratorArgs) ToOutput(ctx context.Context) pulumix.Output[Accelerator] { + return pulumix.Output[Accelerator]{ + OutputState: i.ToAcceleratorOutputWithContext(ctx).OutputState, + } +} + // AcceleratorArrayInput is an input type that accepts AcceleratorArray and AcceleratorArrayOutput values. // You can construct a concrete instance of `AcceleratorArrayInput` via: // @@ -77,6 +84,12 @@ func (i AcceleratorArray) ToAcceleratorArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AcceleratorArrayOutput) } +func (i AcceleratorArray) ToOutput(ctx context.Context) pulumix.Output[[]Accelerator] { + return pulumix.Output[[]Accelerator]{ + OutputState: i.ToAcceleratorArrayOutputWithContext(ctx).OutputState, + } +} + // An accelerator card attached to the instance. type AcceleratorOutput struct{ *pulumi.OutputState } @@ -92,6 +105,12 @@ func (o AcceleratorOutput) ToAcceleratorOutputWithContext(ctx context.Context) A return o } +func (o AcceleratorOutput) ToOutput(ctx context.Context) pulumix.Output[Accelerator] { + return pulumix.Output[Accelerator]{ + OutputState: o.OutputState, + } +} + // Number of accelerator cards exposed to the instance. func (o AcceleratorOutput) Count() pulumi.IntPtrOutput { return o.ApplyT(func(v Accelerator) *int { return v.Count }).(pulumi.IntPtrOutput) @@ -116,6 +135,12 @@ func (o AcceleratorArrayOutput) ToAcceleratorArrayOutputWithContext(ctx context. return o } +func (o AcceleratorArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Accelerator] { + return pulumix.Output[[]Accelerator]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorArrayOutput) Index(i pulumi.IntInput) AcceleratorOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Accelerator { return vs[0].([]Accelerator)[vs[1].(int)] @@ -145,6 +170,12 @@ func (o AcceleratorResponseOutput) ToAcceleratorResponseOutputWithContext(ctx co return o } +func (o AcceleratorResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AcceleratorResponse] { + return pulumix.Output[AcceleratorResponse]{ + OutputState: o.OutputState, + } +} + // Number of accelerator cards exposed to the instance. func (o AcceleratorResponseOutput) Count() pulumi.IntOutput { return o.ApplyT(func(v AcceleratorResponse) int { return v.Count }).(pulumi.IntOutput) @@ -169,6 +200,12 @@ func (o AcceleratorResponseArrayOutput) ToAcceleratorResponseArrayOutputWithCont return o } +func (o AcceleratorResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AcceleratorResponse] { + return pulumix.Output[[]AcceleratorResponse]{ + OutputState: o.OutputState, + } +} + func (o AcceleratorResponseArrayOutput) Index(i pulumi.IntInput) AcceleratorResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AcceleratorResponse { return vs[0].([]AcceleratorResponse)[vs[1].(int)] @@ -214,6 +251,12 @@ func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) Aud return pulumi.ToOutputWithContext(ctx, i).(AuditConfigOutput) } +func (i AuditConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: i.ToAuditConfigOutputWithContext(ctx).OutputState, + } +} + // AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. // You can construct a concrete instance of `AuditConfigArrayInput` via: // @@ -239,6 +282,12 @@ func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditConfigArrayOutput) } +func (i AuditConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: i.ToAuditConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. type AuditConfigOutput struct{ *pulumi.OutputState } @@ -254,6 +303,12 @@ func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) A return o } +func (o AuditConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfig] { + return pulumix.Output[AuditConfig]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput { return o.ApplyT(func(v AuditConfig) []AuditLogConfig { return v.AuditLogConfigs }).(AuditLogConfigArrayOutput) @@ -278,6 +333,12 @@ func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context. return o } +func (o AuditConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfig] { + return pulumix.Output[[]AuditConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfig { return vs[0].([]AuditConfig)[vs[1].(int)] @@ -307,6 +368,12 @@ func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx co return o } +func (o AuditConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditConfigResponse] { + return pulumix.Output[AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + // The configuration for logging of each type of permission. func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput { return o.ApplyT(func(v AuditConfigResponse) []AuditLogConfigResponse { return v.AuditLogConfigs }).(AuditLogConfigResponseArrayOutput) @@ -331,6 +398,12 @@ func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithCont return o } +func (o AuditConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditConfigResponse] { + return pulumix.Output[[]AuditConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditConfigResponse { return vs[0].([]AuditConfigResponse)[vs[1].(int)] @@ -376,6 +449,12 @@ func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigOutput) } +func (i AuditLogConfigArgs) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: i.ToAuditLogConfigOutputWithContext(ctx).OutputState, + } +} + // AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. // You can construct a concrete instance of `AuditLogConfigArrayInput` via: // @@ -401,6 +480,12 @@ func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuditLogConfigArrayOutput) } +func (i AuditLogConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: i.ToAuditLogConfigArrayOutputWithContext(ctx).OutputState, + } +} + // Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. type AuditLogConfigOutput struct{ *pulumi.OutputState } @@ -416,6 +501,12 @@ func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Cont return o } +func (o AuditLogConfigOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfig] { + return pulumix.Output[AuditLogConfig]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfig) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -440,6 +531,12 @@ func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx co return o } +func (o AuditLogConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfig] { + return pulumix.Output[[]AuditLogConfig]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfig { return vs[0].([]AuditLogConfig)[vs[1].(int)] @@ -469,6 +566,12 @@ func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext( return o } +func (o AuditLogConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[AuditLogConfigResponse] { + return pulumix.Output[AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput { return o.ApplyT(func(v AuditLogConfigResponse) []string { return v.ExemptedMembers }).(pulumi.StringArrayOutput) @@ -493,6 +596,12 @@ func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWi return o } +func (o AuditLogConfigResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuditLogConfigResponse] { + return pulumix.Output[[]AuditLogConfigResponse]{ + OutputState: o.OutputState, + } +} + func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuditLogConfigResponse { return vs[0].([]AuditLogConfigResponse)[vs[1].(int)] @@ -542,6 +651,12 @@ func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutp return pulumi.ToOutputWithContext(ctx, i).(BindingOutput) } +func (i BindingArgs) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: i.ToBindingOutputWithContext(ctx).OutputState, + } +} + // BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. // You can construct a concrete instance of `BindingArrayInput` via: // @@ -567,6 +682,12 @@ func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) Bindi return pulumi.ToOutputWithContext(ctx, i).(BindingArrayOutput) } +func (i BindingArray) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: i.ToBindingArrayOutputWithContext(ctx).OutputState, + } +} + // Associates `members`, or principals, with a `role`. type BindingOutput struct{ *pulumi.OutputState } @@ -582,6 +703,12 @@ func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOu return o } +func (o BindingOutput) ToOutput(ctx context.Context) pulumix.Output[Binding] { + return pulumix.Output[Binding]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingOutput) Condition() ExprPtrOutput { return o.ApplyT(func(v Binding) *Expr { return v.Condition }).(ExprPtrOutput) @@ -611,6 +738,12 @@ func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) return o } +func (o BindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Binding] { + return pulumix.Output[[]Binding]{ + OutputState: o.OutputState, + } +} + func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Binding { return vs[0].([]Binding)[vs[1].(int)] @@ -642,6 +775,12 @@ func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Co return o } +func (o BindingResponseOutput) ToOutput(ctx context.Context) pulumix.Output[BindingResponse] { + return pulumix.Output[BindingResponse]{ + OutputState: o.OutputState, + } +} + // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). func (o BindingResponseOutput) Condition() ExprResponseOutput { return o.ApplyT(func(v BindingResponse) ExprResponse { return v.Condition }).(ExprResponseOutput) @@ -671,6 +810,12 @@ func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx return o } +func (o BindingResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BindingResponse] { + return pulumix.Output[[]BindingResponse]{ + OutputState: o.OutputState, + } +} + func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BindingResponse { return vs[0].([]BindingResponse)[vs[1].(int)] @@ -732,6 +877,12 @@ func (i ContainerArgs) ToContainerOutputWithContext(ctx context.Context) Contain return pulumi.ToOutputWithContext(ctx, i).(ContainerOutput) } +func (i ContainerArgs) ToOutput(ctx context.Context) pulumix.Output[Container] { + return pulumix.Output[Container]{ + OutputState: i.ToContainerOutputWithContext(ctx).OutputState, + } +} + func (i ContainerArgs) ToContainerPtrOutput() ContainerPtrOutput { return i.ToContainerPtrOutputWithContext(context.Background()) } @@ -773,6 +924,12 @@ func (i *containerPtrType) ToContainerPtrOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ContainerPtrOutput) } +func (i *containerPtrType) ToOutput(ctx context.Context) pulumix.Output[*Container] { + return pulumix.Output[*Container]{ + OutputState: i.ToContainerPtrOutputWithContext(ctx).OutputState, + } +} + // A Docker container. type ContainerOutput struct{ *pulumi.OutputState } @@ -798,6 +955,12 @@ func (o ContainerOutput) ToContainerPtrOutputWithContext(ctx context.Context) Co }).(ContainerPtrOutput) } +func (o ContainerOutput) ToOutput(ctx context.Context) pulumix.Output[Container] { + return pulumix.Output[Container]{ + OutputState: o.OutputState, + } +} + // Arguments passed to the entrypoint. func (o ContainerOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v Container) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -842,6 +1005,12 @@ func (o ContainerPtrOutput) ToContainerPtrOutputWithContext(ctx context.Context) return o } +func (o ContainerPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Container] { + return pulumix.Output[*Container]{ + OutputState: o.OutputState, + } +} + func (o ContainerPtrOutput) Elem() ContainerOutput { return o.ApplyT(func(v *Container) Container { if v != nil { @@ -943,6 +1112,12 @@ func (o ContainerResponseOutput) ToContainerResponseOutputWithContext(ctx contex return o } +func (o ContainerResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ContainerResponse] { + return pulumix.Output[ContainerResponse]{ + OutputState: o.OutputState, + } +} + // Arguments passed to the entrypoint. func (o ContainerResponseOutput) Args() pulumi.StringArrayOutput { return o.ApplyT(func(v ContainerResponse) []string { return v.Args }).(pulumi.StringArrayOutput) @@ -1012,6 +1187,12 @@ func (i CustomerEncryptionKeyArgs) ToCustomerEncryptionKeyOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(CustomerEncryptionKeyOutput) } +func (i CustomerEncryptionKeyArgs) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKey] { + return pulumix.Output[CustomerEncryptionKey]{ + OutputState: i.ToCustomerEncryptionKeyOutputWithContext(ctx).OutputState, + } +} + func (i CustomerEncryptionKeyArgs) ToCustomerEncryptionKeyPtrOutput() CustomerEncryptionKeyPtrOutput { return i.ToCustomerEncryptionKeyPtrOutputWithContext(context.Background()) } @@ -1053,6 +1234,12 @@ func (i *customerEncryptionKeyPtrType) ToCustomerEncryptionKeyPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(CustomerEncryptionKeyPtrOutput) } +func (i *customerEncryptionKeyPtrType) ToOutput(ctx context.Context) pulumix.Output[*CustomerEncryptionKey] { + return pulumix.Output[*CustomerEncryptionKey]{ + OutputState: i.ToCustomerEncryptionKeyPtrOutputWithContext(ctx).OutputState, + } +} + // A customer-managed encryption key for the Compute Engine resources of this workstation configuration. type CustomerEncryptionKeyOutput struct{ *pulumi.OutputState } @@ -1078,6 +1265,12 @@ func (o CustomerEncryptionKeyOutput) ToCustomerEncryptionKeyPtrOutputWithContext }).(CustomerEncryptionKeyPtrOutput) } +func (o CustomerEncryptionKeyOutput) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKey] { + return pulumix.Output[CustomerEncryptionKey]{ + OutputState: o.OutputState, + } +} + // Immutable. The name of the Google Cloud KMS encryption key. For example, `projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`. func (o CustomerEncryptionKeyOutput) KmsKey() pulumi.StringPtrOutput { return o.ApplyT(func(v CustomerEncryptionKey) *string { return v.KmsKey }).(pulumi.StringPtrOutput) @@ -1102,6 +1295,12 @@ func (o CustomerEncryptionKeyPtrOutput) ToCustomerEncryptionKeyPtrOutputWithCont return o } +func (o CustomerEncryptionKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*CustomerEncryptionKey] { + return pulumix.Output[*CustomerEncryptionKey]{ + OutputState: o.OutputState, + } +} + func (o CustomerEncryptionKeyPtrOutput) Elem() CustomerEncryptionKeyOutput { return o.ApplyT(func(v *CustomerEncryptionKey) CustomerEncryptionKey { if v != nil { @@ -1155,6 +1354,12 @@ func (o CustomerEncryptionKeyResponseOutput) ToCustomerEncryptionKeyResponseOutp return o } +func (o CustomerEncryptionKeyResponseOutput) ToOutput(ctx context.Context) pulumix.Output[CustomerEncryptionKeyResponse] { + return pulumix.Output[CustomerEncryptionKeyResponse]{ + OutputState: o.OutputState, + } +} + // Immutable. The name of the Google Cloud KMS encryption key. For example, `projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`. func (o CustomerEncryptionKeyResponseOutput) KmsKey() pulumi.StringOutput { return o.ApplyT(func(v CustomerEncryptionKeyResponse) string { return v.KmsKey }).(pulumi.StringOutput) @@ -1212,6 +1417,12 @@ func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput { return pulumi.ToOutputWithContext(ctx, i).(ExprOutput) } +func (i ExprArgs) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: i.ToExprOutputWithContext(ctx).OutputState, + } +} + func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput { return i.ToExprPtrOutputWithContext(context.Background()) } @@ -1253,6 +1464,12 @@ func (i *exprPtrType) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOut return pulumi.ToOutputWithContext(ctx, i).(ExprPtrOutput) } +func (i *exprPtrType) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: i.ToExprPtrOutputWithContext(ctx).OutputState, + } +} + // Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. type ExprOutput struct{ *pulumi.OutputState } @@ -1278,6 +1495,12 @@ func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutpu }).(ExprPtrOutput) } +func (o ExprOutput) ToOutput(ctx context.Context) pulumix.Output[Expr] { + return pulumix.Output[Expr]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v Expr) *string { return v.Description }).(pulumi.StringPtrOutput) @@ -1312,6 +1535,12 @@ func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOu return o } +func (o ExprPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Expr] { + return pulumix.Output[*Expr]{ + OutputState: o.OutputState, + } +} + func (o ExprPtrOutput) Elem() ExprOutput { return o.ApplyT(func(v *Expr) Expr { if v != nil { @@ -1389,6 +1618,12 @@ func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) return o } +func (o ExprResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ExprResponse] { + return pulumix.Output[ExprResponse]{ + OutputState: o.OutputState, + } +} + // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. func (o ExprResponseOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v ExprResponse) string { return v.Description }).(pulumi.StringOutput) @@ -1444,6 +1679,12 @@ func (i GceConfidentialInstanceConfigArgs) ToGceConfidentialInstanceConfigOutput return pulumi.ToOutputWithContext(ctx, i).(GceConfidentialInstanceConfigOutput) } +func (i GceConfidentialInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GceConfidentialInstanceConfig] { + return pulumix.Output[GceConfidentialInstanceConfig]{ + OutputState: i.ToGceConfidentialInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i GceConfidentialInstanceConfigArgs) ToGceConfidentialInstanceConfigPtrOutput() GceConfidentialInstanceConfigPtrOutput { return i.ToGceConfidentialInstanceConfigPtrOutputWithContext(context.Background()) } @@ -1485,6 +1726,12 @@ func (i *gceConfidentialInstanceConfigPtrType) ToGceConfidentialInstanceConfigPt return pulumi.ToOutputWithContext(ctx, i).(GceConfidentialInstanceConfigPtrOutput) } +func (i *gceConfidentialInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GceConfidentialInstanceConfig] { + return pulumix.Output[*GceConfidentialInstanceConfig]{ + OutputState: i.ToGceConfidentialInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Compute Engine Confidential VM instance options. type GceConfidentialInstanceConfigOutput struct{ *pulumi.OutputState } @@ -1510,6 +1757,12 @@ func (o GceConfidentialInstanceConfigOutput) ToGceConfidentialInstanceConfigPtrO }).(GceConfidentialInstanceConfigPtrOutput) } +func (o GceConfidentialInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GceConfidentialInstanceConfig] { + return pulumix.Output[GceConfidentialInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Whether the instance has confidential compute enabled. func (o GceConfidentialInstanceConfigOutput) EnableConfidentialCompute() pulumi.BoolPtrOutput { return o.ApplyT(func(v GceConfidentialInstanceConfig) *bool { return v.EnableConfidentialCompute }).(pulumi.BoolPtrOutput) @@ -1529,6 +1782,12 @@ func (o GceConfidentialInstanceConfigPtrOutput) ToGceConfidentialInstanceConfigP return o } +func (o GceConfidentialInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GceConfidentialInstanceConfig] { + return pulumix.Output[*GceConfidentialInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o GceConfidentialInstanceConfigPtrOutput) Elem() GceConfidentialInstanceConfigOutput { return o.ApplyT(func(v *GceConfidentialInstanceConfig) GceConfidentialInstanceConfig { if v != nil { @@ -1570,6 +1829,12 @@ func (o GceConfidentialInstanceConfigResponseOutput) ToGceConfidentialInstanceCo return o } +func (o GceConfidentialInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GceConfidentialInstanceConfigResponse] { + return pulumix.Output[GceConfidentialInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the instance has confidential compute enabled. func (o GceConfidentialInstanceConfigResponseOutput) EnableConfidentialCompute() pulumi.BoolOutput { return o.ApplyT(func(v GceConfidentialInstanceConfigResponse) bool { return v.EnableConfidentialCompute }).(pulumi.BoolOutput) @@ -1642,6 +1907,12 @@ func (i GceInstanceArgs) ToGceInstanceOutputWithContext(ctx context.Context) Gce return pulumi.ToOutputWithContext(ctx, i).(GceInstanceOutput) } +func (i GceInstanceArgs) ToOutput(ctx context.Context) pulumix.Output[GceInstance] { + return pulumix.Output[GceInstance]{ + OutputState: i.ToGceInstanceOutputWithContext(ctx).OutputState, + } +} + func (i GceInstanceArgs) ToGceInstancePtrOutput() GceInstancePtrOutput { return i.ToGceInstancePtrOutputWithContext(context.Background()) } @@ -1683,6 +1954,12 @@ func (i *gceInstancePtrType) ToGceInstancePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(GceInstancePtrOutput) } +func (i *gceInstancePtrType) ToOutput(ctx context.Context) pulumix.Output[*GceInstance] { + return pulumix.Output[*GceInstance]{ + OutputState: i.ToGceInstancePtrOutputWithContext(ctx).OutputState, + } +} + // A runtime using a Compute Engine instance. type GceInstanceOutput struct{ *pulumi.OutputState } @@ -1708,6 +1985,12 @@ func (o GceInstanceOutput) ToGceInstancePtrOutputWithContext(ctx context.Context }).(GceInstancePtrOutput) } +func (o GceInstanceOutput) ToOutput(ctx context.Context) pulumix.Output[GceInstance] { + return pulumix.Output[GceInstance]{ + OutputState: o.OutputState, + } +} + // A list of the type and count of accelerator cards attached to the instance. func (o GceInstanceOutput) Accelerators() AcceleratorArrayOutput { return o.ApplyT(func(v GceInstance) []Accelerator { return v.Accelerators }).(AcceleratorArrayOutput) @@ -1767,6 +2050,12 @@ func (o GceInstancePtrOutput) ToGceInstancePtrOutputWithContext(ctx context.Cont return o } +func (o GceInstancePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GceInstance] { + return pulumix.Output[*GceInstance]{ + OutputState: o.OutputState, + } +} + func (o GceInstancePtrOutput) Elem() GceInstanceOutput { return o.ApplyT(func(v *GceInstance) GceInstance { if v != nil { @@ -1906,6 +2195,12 @@ func (o GceInstanceResponseOutput) ToGceInstanceResponseOutputWithContext(ctx co return o } +func (o GceInstanceResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GceInstanceResponse] { + return pulumix.Output[GceInstanceResponse]{ + OutputState: o.OutputState, + } +} + // A list of the type and count of accelerator cards attached to the instance. func (o GceInstanceResponseOutput) Accelerators() AcceleratorResponseArrayOutput { return o.ApplyT(func(v GceInstanceResponse) []AcceleratorResponse { return v.Accelerators }).(AcceleratorResponseArrayOutput) @@ -2007,6 +2302,12 @@ func (i GceRegionalPersistentDiskArgs) ToGceRegionalPersistentDiskOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GceRegionalPersistentDiskOutput) } +func (i GceRegionalPersistentDiskArgs) ToOutput(ctx context.Context) pulumix.Output[GceRegionalPersistentDisk] { + return pulumix.Output[GceRegionalPersistentDisk]{ + OutputState: i.ToGceRegionalPersistentDiskOutputWithContext(ctx).OutputState, + } +} + func (i GceRegionalPersistentDiskArgs) ToGceRegionalPersistentDiskPtrOutput() GceRegionalPersistentDiskPtrOutput { return i.ToGceRegionalPersistentDiskPtrOutputWithContext(context.Background()) } @@ -2048,6 +2349,12 @@ func (i *gceRegionalPersistentDiskPtrType) ToGceRegionalPersistentDiskPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(GceRegionalPersistentDiskPtrOutput) } +func (i *gceRegionalPersistentDiskPtrType) ToOutput(ctx context.Context) pulumix.Output[*GceRegionalPersistentDisk] { + return pulumix.Output[*GceRegionalPersistentDisk]{ + OutputState: i.ToGceRegionalPersistentDiskPtrOutputWithContext(ctx).OutputState, + } +} + // A PersistentDirectory backed by a Compute Engine regional persistent disk. type GceRegionalPersistentDiskOutput struct{ *pulumi.OutputState } @@ -2073,6 +2380,12 @@ func (o GceRegionalPersistentDiskOutput) ToGceRegionalPersistentDiskPtrOutputWit }).(GceRegionalPersistentDiskPtrOutput) } +func (o GceRegionalPersistentDiskOutput) ToOutput(ctx context.Context) pulumix.Output[GceRegionalPersistentDisk] { + return pulumix.Output[GceRegionalPersistentDisk]{ + OutputState: o.OutputState, + } +} + // Type of the disk to use. Defaults to pd-standard. func (o GceRegionalPersistentDiskOutput) DiskType() pulumi.StringPtrOutput { return o.ApplyT(func(v GceRegionalPersistentDisk) *string { return v.DiskType }).(pulumi.StringPtrOutput) @@ -2112,6 +2425,12 @@ func (o GceRegionalPersistentDiskPtrOutput) ToGceRegionalPersistentDiskPtrOutput return o } +func (o GceRegionalPersistentDiskPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GceRegionalPersistentDisk] { + return pulumix.Output[*GceRegionalPersistentDisk]{ + OutputState: o.OutputState, + } +} + func (o GceRegionalPersistentDiskPtrOutput) Elem() GceRegionalPersistentDiskOutput { return o.ApplyT(func(v *GceRegionalPersistentDisk) GceRegionalPersistentDisk { if v != nil { @@ -2201,6 +2520,12 @@ func (o GceRegionalPersistentDiskResponseOutput) ToGceRegionalPersistentDiskResp return o } +func (o GceRegionalPersistentDiskResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GceRegionalPersistentDiskResponse] { + return pulumix.Output[GceRegionalPersistentDiskResponse]{ + OutputState: o.OutputState, + } +} + // Type of the disk to use. Defaults to pd-standard. func (o GceRegionalPersistentDiskResponseOutput) DiskType() pulumi.StringOutput { return o.ApplyT(func(v GceRegionalPersistentDiskResponse) string { return v.DiskType }).(pulumi.StringOutput) @@ -2269,6 +2594,12 @@ func (i GceShieldedInstanceConfigArgs) ToGceShieldedInstanceConfigOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(GceShieldedInstanceConfigOutput) } +func (i GceShieldedInstanceConfigArgs) ToOutput(ctx context.Context) pulumix.Output[GceShieldedInstanceConfig] { + return pulumix.Output[GceShieldedInstanceConfig]{ + OutputState: i.ToGceShieldedInstanceConfigOutputWithContext(ctx).OutputState, + } +} + func (i GceShieldedInstanceConfigArgs) ToGceShieldedInstanceConfigPtrOutput() GceShieldedInstanceConfigPtrOutput { return i.ToGceShieldedInstanceConfigPtrOutputWithContext(context.Background()) } @@ -2310,6 +2641,12 @@ func (i *gceShieldedInstanceConfigPtrType) ToGceShieldedInstanceConfigPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(GceShieldedInstanceConfigPtrOutput) } +func (i *gceShieldedInstanceConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*GceShieldedInstanceConfig] { + return pulumix.Output[*GceShieldedInstanceConfig]{ + OutputState: i.ToGceShieldedInstanceConfigPtrOutputWithContext(ctx).OutputState, + } +} + // A set of Compute Engine Shielded instance options. type GceShieldedInstanceConfigOutput struct{ *pulumi.OutputState } @@ -2335,6 +2672,12 @@ func (o GceShieldedInstanceConfigOutput) ToGceShieldedInstanceConfigPtrOutputWit }).(GceShieldedInstanceConfigPtrOutput) } +func (o GceShieldedInstanceConfigOutput) ToOutput(ctx context.Context) pulumix.Output[GceShieldedInstanceConfig] { + return pulumix.Output[GceShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + // Whether the instance has integrity monitoring enabled. func (o GceShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput { return o.ApplyT(func(v GceShieldedInstanceConfig) *bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolPtrOutput) @@ -2364,6 +2707,12 @@ func (o GceShieldedInstanceConfigPtrOutput) ToGceShieldedInstanceConfigPtrOutput return o } +func (o GceShieldedInstanceConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*GceShieldedInstanceConfig] { + return pulumix.Output[*GceShieldedInstanceConfig]{ + OutputState: o.OutputState, + } +} + func (o GceShieldedInstanceConfigPtrOutput) Elem() GceShieldedInstanceConfigOutput { return o.ApplyT(func(v *GceShieldedInstanceConfig) GceShieldedInstanceConfig { if v != nil { @@ -2429,6 +2778,12 @@ func (o GceShieldedInstanceConfigResponseOutput) ToGceShieldedInstanceConfigResp return o } +func (o GceShieldedInstanceConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[GceShieldedInstanceConfigResponse] { + return pulumix.Output[GceShieldedInstanceConfigResponse]{ + OutputState: o.OutputState, + } +} + // Whether the instance has integrity monitoring enabled. func (o GceShieldedInstanceConfigResponseOutput) EnableIntegrityMonitoring() pulumi.BoolOutput { return o.ApplyT(func(v GceShieldedInstanceConfigResponse) bool { return v.EnableIntegrityMonitoring }).(pulumi.BoolOutput) @@ -2479,6 +2834,12 @@ func (i HostArgs) ToHostOutputWithContext(ctx context.Context) HostOutput { return pulumi.ToOutputWithContext(ctx, i).(HostOutput) } +func (i HostArgs) ToOutput(ctx context.Context) pulumix.Output[Host] { + return pulumix.Output[Host]{ + OutputState: i.ToHostOutputWithContext(ctx).OutputState, + } +} + func (i HostArgs) ToHostPtrOutput() HostPtrOutput { return i.ToHostPtrOutputWithContext(context.Background()) } @@ -2520,6 +2881,12 @@ func (i *hostPtrType) ToHostPtrOutputWithContext(ctx context.Context) HostPtrOut return pulumi.ToOutputWithContext(ctx, i).(HostPtrOutput) } +func (i *hostPtrType) ToOutput(ctx context.Context) pulumix.Output[*Host] { + return pulumix.Output[*Host]{ + OutputState: i.ToHostPtrOutputWithContext(ctx).OutputState, + } +} + // Runtime host for a workstation. type HostOutput struct{ *pulumi.OutputState } @@ -2545,6 +2912,12 @@ func (o HostOutput) ToHostPtrOutputWithContext(ctx context.Context) HostPtrOutpu }).(HostPtrOutput) } +func (o HostOutput) ToOutput(ctx context.Context) pulumix.Output[Host] { + return pulumix.Output[Host]{ + OutputState: o.OutputState, + } +} + // Specifies a Compute Engine instance as the host. func (o HostOutput) GceInstance() GceInstancePtrOutput { return o.ApplyT(func(v Host) *GceInstance { return v.GceInstance }).(GceInstancePtrOutput) @@ -2564,6 +2937,12 @@ func (o HostPtrOutput) ToHostPtrOutputWithContext(ctx context.Context) HostPtrOu return o } +func (o HostPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Host] { + return pulumix.Output[*Host]{ + OutputState: o.OutputState, + } +} + func (o HostPtrOutput) Elem() HostOutput { return o.ApplyT(func(v *Host) Host { if v != nil { @@ -2605,6 +2984,12 @@ func (o HostResponseOutput) ToHostResponseOutputWithContext(ctx context.Context) return o } +func (o HostResponseOutput) ToOutput(ctx context.Context) pulumix.Output[HostResponse] { + return pulumix.Output[HostResponse]{ + OutputState: o.OutputState, + } +} + // Specifies a Compute Engine instance as the host. func (o HostResponseOutput) GceInstance() GceInstanceResponseOutput { return o.ApplyT(func(v HostResponse) GceInstanceResponse { return v.GceInstance }).(GceInstanceResponseOutput) @@ -2649,6 +3034,12 @@ func (i PersistentDirectoryArgs) ToPersistentDirectoryOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(PersistentDirectoryOutput) } +func (i PersistentDirectoryArgs) ToOutput(ctx context.Context) pulumix.Output[PersistentDirectory] { + return pulumix.Output[PersistentDirectory]{ + OutputState: i.ToPersistentDirectoryOutputWithContext(ctx).OutputState, + } +} + // PersistentDirectoryArrayInput is an input type that accepts PersistentDirectoryArray and PersistentDirectoryArrayOutput values. // You can construct a concrete instance of `PersistentDirectoryArrayInput` via: // @@ -2674,6 +3065,12 @@ func (i PersistentDirectoryArray) ToPersistentDirectoryArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(PersistentDirectoryArrayOutput) } +func (i PersistentDirectoryArray) ToOutput(ctx context.Context) pulumix.Output[[]PersistentDirectory] { + return pulumix.Output[[]PersistentDirectory]{ + OutputState: i.ToPersistentDirectoryArrayOutputWithContext(ctx).OutputState, + } +} + // A directory to persist across workstation sessions. type PersistentDirectoryOutput struct{ *pulumi.OutputState } @@ -2689,6 +3086,12 @@ func (o PersistentDirectoryOutput) ToPersistentDirectoryOutputWithContext(ctx co return o } +func (o PersistentDirectoryOutput) ToOutput(ctx context.Context) pulumix.Output[PersistentDirectory] { + return pulumix.Output[PersistentDirectory]{ + OutputState: o.OutputState, + } +} + // A PersistentDirectory backed by a Compute Engine persistent disk. func (o PersistentDirectoryOutput) GcePd() GceRegionalPersistentDiskPtrOutput { return o.ApplyT(func(v PersistentDirectory) *GceRegionalPersistentDisk { return v.GcePd }).(GceRegionalPersistentDiskPtrOutput) @@ -2713,6 +3116,12 @@ func (o PersistentDirectoryArrayOutput) ToPersistentDirectoryArrayOutputWithCont return o } +func (o PersistentDirectoryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PersistentDirectory] { + return pulumix.Output[[]PersistentDirectory]{ + OutputState: o.OutputState, + } +} + func (o PersistentDirectoryArrayOutput) Index(i pulumi.IntInput) PersistentDirectoryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PersistentDirectory { return vs[0].([]PersistentDirectory)[vs[1].(int)] @@ -2742,6 +3151,12 @@ func (o PersistentDirectoryResponseOutput) ToPersistentDirectoryResponseOutputWi return o } +func (o PersistentDirectoryResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PersistentDirectoryResponse] { + return pulumix.Output[PersistentDirectoryResponse]{ + OutputState: o.OutputState, + } +} + // A PersistentDirectory backed by a Compute Engine persistent disk. func (o PersistentDirectoryResponseOutput) GcePd() GceRegionalPersistentDiskResponseOutput { return o.ApplyT(func(v PersistentDirectoryResponse) GceRegionalPersistentDiskResponse { return v.GcePd }).(GceRegionalPersistentDiskResponseOutput) @@ -2766,6 +3181,12 @@ func (o PersistentDirectoryResponseArrayOutput) ToPersistentDirectoryResponseArr return o } +func (o PersistentDirectoryResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]PersistentDirectoryResponse] { + return pulumix.Output[[]PersistentDirectoryResponse]{ + OutputState: o.OutputState, + } +} + func (o PersistentDirectoryResponseArrayOutput) Index(i pulumi.IntInput) PersistentDirectoryResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) PersistentDirectoryResponse { return vs[0].([]PersistentDirectoryResponse)[vs[1].(int)] @@ -2811,6 +3232,12 @@ func (i PrivateClusterConfigArgs) ToPrivateClusterConfigOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterConfigOutput) } +func (i PrivateClusterConfigArgs) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfig] { + return pulumix.Output[PrivateClusterConfig]{ + OutputState: i.ToPrivateClusterConfigOutputWithContext(ctx).OutputState, + } +} + func (i PrivateClusterConfigArgs) ToPrivateClusterConfigPtrOutput() PrivateClusterConfigPtrOutput { return i.ToPrivateClusterConfigPtrOutputWithContext(context.Background()) } @@ -2852,6 +3279,12 @@ func (i *privateClusterConfigPtrType) ToPrivateClusterConfigPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(PrivateClusterConfigPtrOutput) } +func (i *privateClusterConfigPtrType) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterConfig] { + return pulumix.Output[*PrivateClusterConfig]{ + OutputState: i.ToPrivateClusterConfigPtrOutputWithContext(ctx).OutputState, + } +} + // Configuration options for private clusters. type PrivateClusterConfigOutput struct{ *pulumi.OutputState } @@ -2877,6 +3310,12 @@ func (o PrivateClusterConfigOutput) ToPrivateClusterConfigPtrOutputWithContext(c }).(PrivateClusterConfigPtrOutput) } +func (o PrivateClusterConfigOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfig] { + return pulumix.Output[PrivateClusterConfig]{ + OutputState: o.OutputState, + } +} + // Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed. func (o PrivateClusterConfigOutput) AllowedProjects() pulumi.StringArrayOutput { return o.ApplyT(func(v PrivateClusterConfig) []string { return v.AllowedProjects }).(pulumi.StringArrayOutput) @@ -2901,6 +3340,12 @@ func (o PrivateClusterConfigPtrOutput) ToPrivateClusterConfigPtrOutputWithContex return o } +func (o PrivateClusterConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateClusterConfig] { + return pulumix.Output[*PrivateClusterConfig]{ + OutputState: o.OutputState, + } +} + func (o PrivateClusterConfigPtrOutput) Elem() PrivateClusterConfigOutput { return o.ApplyT(func(v *PrivateClusterConfig) PrivateClusterConfig { if v != nil { @@ -2958,6 +3403,12 @@ func (o PrivateClusterConfigResponseOutput) ToPrivateClusterConfigResponseOutput return o } +func (o PrivateClusterConfigResponseOutput) ToOutput(ctx context.Context) pulumix.Output[PrivateClusterConfigResponse] { + return pulumix.Output[PrivateClusterConfigResponse]{ + OutputState: o.OutputState, + } +} + // Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed. func (o PrivateClusterConfigResponseOutput) AllowedProjects() pulumi.StringArrayOutput { return o.ApplyT(func(v PrivateClusterConfigResponse) []string { return v.AllowedProjects }).(pulumi.StringArrayOutput) @@ -3017,6 +3468,12 @@ func (i ReadinessCheckArgs) ToReadinessCheckOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ReadinessCheckOutput) } +func (i ReadinessCheckArgs) ToOutput(ctx context.Context) pulumix.Output[ReadinessCheck] { + return pulumix.Output[ReadinessCheck]{ + OutputState: i.ToReadinessCheckOutputWithContext(ctx).OutputState, + } +} + // ReadinessCheckArrayInput is an input type that accepts ReadinessCheckArray and ReadinessCheckArrayOutput values. // You can construct a concrete instance of `ReadinessCheckArrayInput` via: // @@ -3042,6 +3499,12 @@ func (i ReadinessCheckArray) ToReadinessCheckArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ReadinessCheckArrayOutput) } +func (i ReadinessCheckArray) ToOutput(ctx context.Context) pulumix.Output[[]ReadinessCheck] { + return pulumix.Output[[]ReadinessCheck]{ + OutputState: i.ToReadinessCheckArrayOutputWithContext(ctx).OutputState, + } +} + // A readiness check to be performed on a workstation. type ReadinessCheckOutput struct{ *pulumi.OutputState } @@ -3057,6 +3520,12 @@ func (o ReadinessCheckOutput) ToReadinessCheckOutputWithContext(ctx context.Cont return o } +func (o ReadinessCheckOutput) ToOutput(ctx context.Context) pulumix.Output[ReadinessCheck] { + return pulumix.Output[ReadinessCheck]{ + OutputState: o.OutputState, + } +} + // Path to which the request should be sent. func (o ReadinessCheckOutput) Path() pulumi.StringPtrOutput { return o.ApplyT(func(v ReadinessCheck) *string { return v.Path }).(pulumi.StringPtrOutput) @@ -3081,6 +3550,12 @@ func (o ReadinessCheckArrayOutput) ToReadinessCheckArrayOutputWithContext(ctx co return o } +func (o ReadinessCheckArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReadinessCheck] { + return pulumix.Output[[]ReadinessCheck]{ + OutputState: o.OutputState, + } +} + func (o ReadinessCheckArrayOutput) Index(i pulumi.IntInput) ReadinessCheckOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReadinessCheck { return vs[0].([]ReadinessCheck)[vs[1].(int)] @@ -3110,6 +3585,12 @@ func (o ReadinessCheckResponseOutput) ToReadinessCheckResponseOutputWithContext( return o } +func (o ReadinessCheckResponseOutput) ToOutput(ctx context.Context) pulumix.Output[ReadinessCheckResponse] { + return pulumix.Output[ReadinessCheckResponse]{ + OutputState: o.OutputState, + } +} + // Path to which the request should be sent. func (o ReadinessCheckResponseOutput) Path() pulumi.StringOutput { return o.ApplyT(func(v ReadinessCheckResponse) string { return v.Path }).(pulumi.StringOutput) @@ -3134,6 +3615,12 @@ func (o ReadinessCheckResponseArrayOutput) ToReadinessCheckResponseArrayOutputWi return o } +func (o ReadinessCheckResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ReadinessCheckResponse] { + return pulumix.Output[[]ReadinessCheckResponse]{ + OutputState: o.OutputState, + } +} + func (o ReadinessCheckResponseArrayOutput) Index(i pulumi.IntInput) ReadinessCheckResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ReadinessCheckResponse { return vs[0].([]ReadinessCheckResponse)[vs[1].(int)] @@ -3165,6 +3652,12 @@ func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Cont return o } +func (o StatusResponseOutput) ToOutput(ctx context.Context) pulumix.Output[StatusResponse] { + return pulumix.Output[StatusResponse]{ + OutputState: o.OutputState, + } +} + // The status code, which should be an enum value of google.rpc.Code. func (o StatusResponseOutput) Code() pulumi.IntOutput { return o.ApplyT(func(v StatusResponse) int { return v.Code }).(pulumi.IntOutput) @@ -3194,6 +3687,12 @@ func (o StatusResponseArrayOutput) ToStatusResponseArrayOutputWithContext(ctx co return o } +func (o StatusResponseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]StatusResponse] { + return pulumix.Output[[]StatusResponse]{ + OutputState: o.OutputState, + } +} + func (o StatusResponseArrayOutput) Index(i pulumi.IntInput) StatusResponseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) StatusResponse { return vs[0].([]StatusResponse)[vs[1].(int)] diff --git a/sdk/go/google/workstations/v1beta/workstation.go b/sdk/go/google/workstations/v1beta/workstation.go index e0808f8502..94064dcb2c 100644 --- a/sdk/go/google/workstations/v1beta/workstation.go +++ b/sdk/go/google/workstations/v1beta/workstation.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new workstation. @@ -172,6 +173,12 @@ func (i *Workstation) ToWorkstationOutputWithContext(ctx context.Context) Workst return pulumi.ToOutputWithContext(ctx, i).(WorkstationOutput) } +func (i *Workstation) ToOutput(ctx context.Context) pulumix.Output[*Workstation] { + return pulumix.Output[*Workstation]{ + OutputState: i.ToWorkstationOutputWithContext(ctx).OutputState, + } +} + type WorkstationOutput struct{ *pulumi.OutputState } func (WorkstationOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o WorkstationOutput) ToWorkstationOutputWithContext(ctx context.Context) W return o } +func (o WorkstationOutput) ToOutput(ctx context.Context) pulumix.Output[*Workstation] { + return pulumix.Output[*Workstation]{ + OutputState: o.OutputState, + } +} + // Client-specified annotations. func (o WorkstationOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *Workstation) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/workstations/v1beta/workstationCluster.go b/sdk/go/google/workstations/v1beta/workstationCluster.go index 44cccdfe69..7fd47c48c5 100644 --- a/sdk/go/google/workstations/v1beta/workstationCluster.go +++ b/sdk/go/google/workstations/v1beta/workstationCluster.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new workstation cluster. @@ -172,6 +173,12 @@ func (i *WorkstationCluster) ToWorkstationClusterOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(WorkstationClusterOutput) } +func (i *WorkstationCluster) ToOutput(ctx context.Context) pulumix.Output[*WorkstationCluster] { + return pulumix.Output[*WorkstationCluster]{ + OutputState: i.ToWorkstationClusterOutputWithContext(ctx).OutputState, + } +} + type WorkstationClusterOutput struct{ *pulumi.OutputState } func (WorkstationClusterOutput) ElementType() reflect.Type { @@ -186,6 +193,12 @@ func (o WorkstationClusterOutput) ToWorkstationClusterOutputWithContext(ctx cont return o } +func (o WorkstationClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkstationCluster] { + return pulumix.Output[*WorkstationCluster]{ + OutputState: o.OutputState, + } +} + // Client-specified annotations. func (o WorkstationClusterOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *WorkstationCluster) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) diff --git a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamBinding.go b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamBinding.go index 6f9ea15b53..e83f23b40f 100644 --- a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamBinding.go +++ b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *WorkstationClusterWorkstationConfigIamBinding) ToWorkstationClusterWork return pulumi.ToOutputWithContext(ctx, i).(WorkstationClusterWorkstationConfigIamBindingOutput) } +func (i *WorkstationClusterWorkstationConfigIamBinding) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigIamBinding] { + return pulumix.Output[*WorkstationClusterWorkstationConfigIamBinding]{ + OutputState: i.ToWorkstationClusterWorkstationConfigIamBindingOutputWithContext(ctx).OutputState, + } +} + type WorkstationClusterWorkstationConfigIamBindingOutput struct{ *pulumi.OutputState } func (WorkstationClusterWorkstationConfigIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o WorkstationClusterWorkstationConfigIamBindingOutput) ToWorkstationCluste return o } +func (o WorkstationClusterWorkstationConfigIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigIamBinding] { + return pulumix.Output[*WorkstationClusterWorkstationConfigIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o WorkstationClusterWorkstationConfigIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *WorkstationClusterWorkstationConfigIamBinding) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamMember.go b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamMember.go index 131a39330c..2c42655d4a 100644 --- a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamMember.go +++ b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *WorkstationClusterWorkstationConfigIamMember) ToWorkstationClusterWorks return pulumi.ToOutputWithContext(ctx, i).(WorkstationClusterWorkstationConfigIamMemberOutput) } +func (i *WorkstationClusterWorkstationConfigIamMember) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigIamMember] { + return pulumix.Output[*WorkstationClusterWorkstationConfigIamMember]{ + OutputState: i.ToWorkstationClusterWorkstationConfigIamMemberOutputWithContext(ctx).OutputState, + } +} + type WorkstationClusterWorkstationConfigIamMemberOutput struct{ *pulumi.OutputState } func (WorkstationClusterWorkstationConfigIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o WorkstationClusterWorkstationConfigIamMemberOutput) ToWorkstationCluster return o } +func (o WorkstationClusterWorkstationConfigIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigIamMember] { + return pulumix.Output[*WorkstationClusterWorkstationConfigIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o WorkstationClusterWorkstationConfigIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *WorkstationClusterWorkstationConfigIamMember) iam.ConditionPtrOutput { return v.Condition }).(iam.ConditionPtrOutput) diff --git a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamPolicy.go b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamPolicy.go index d28defcce5..d6b5500c90 100644 --- a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamPolicy.go +++ b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -142,6 +143,12 @@ func (i *WorkstationClusterWorkstationConfigIamPolicy) ToWorkstationClusterWorks return pulumi.ToOutputWithContext(ctx, i).(WorkstationClusterWorkstationConfigIamPolicyOutput) } +func (i *WorkstationClusterWorkstationConfigIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigIamPolicy] { + return pulumix.Output[*WorkstationClusterWorkstationConfigIamPolicy]{ + OutputState: i.ToWorkstationClusterWorkstationConfigIamPolicyOutputWithContext(ctx).OutputState, + } +} + type WorkstationClusterWorkstationConfigIamPolicyOutput struct{ *pulumi.OutputState } func (WorkstationClusterWorkstationConfigIamPolicyOutput) ElementType() reflect.Type { @@ -156,6 +163,12 @@ func (o WorkstationClusterWorkstationConfigIamPolicyOutput) ToWorkstationCluster return o } +func (o WorkstationClusterWorkstationConfigIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigIamPolicy] { + return pulumix.Output[*WorkstationClusterWorkstationConfigIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o WorkstationClusterWorkstationConfigIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *WorkstationClusterWorkstationConfigIamPolicy) AuditConfigResponseArrayOutput { diff --git a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamBinding.go b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamBinding.go index 24604a988f..3d1ccc1c9d 100644 --- a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamBinding.go +++ b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamBinding.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *WorkstationClusterWorkstationConfigWorkstationIamBinding) ToWorkstation return pulumi.ToOutputWithContext(ctx, i).(WorkstationClusterWorkstationConfigWorkstationIamBindingOutput) } +func (i *WorkstationClusterWorkstationConfigWorkstationIamBinding) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamBinding] { + return pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamBinding]{ + OutputState: i.ToWorkstationClusterWorkstationConfigWorkstationIamBindingOutputWithContext(ctx).OutputState, + } +} + type WorkstationClusterWorkstationConfigWorkstationIamBindingOutput struct{ *pulumi.OutputState } func (WorkstationClusterWorkstationConfigWorkstationIamBindingOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o WorkstationClusterWorkstationConfigWorkstationIamBindingOutput) ToWorkst return o } +func (o WorkstationClusterWorkstationConfigWorkstationIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamBinding] { + return pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamBinding]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o WorkstationClusterWorkstationConfigWorkstationIamBindingOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *WorkstationClusterWorkstationConfigWorkstationIamBinding) iam.ConditionPtrOutput { diff --git a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamMember.go b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamMember.go index 14f98a5300..1fc3ebcd49 100644 --- a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamMember.go +++ b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamMember.go @@ -11,6 +11,7 @@ import ( iam "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -135,6 +136,12 @@ func (i *WorkstationClusterWorkstationConfigWorkstationIamMember) ToWorkstationC return pulumi.ToOutputWithContext(ctx, i).(WorkstationClusterWorkstationConfigWorkstationIamMemberOutput) } +func (i *WorkstationClusterWorkstationConfigWorkstationIamMember) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamMember] { + return pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamMember]{ + OutputState: i.ToWorkstationClusterWorkstationConfigWorkstationIamMemberOutputWithContext(ctx).OutputState, + } +} + type WorkstationClusterWorkstationConfigWorkstationIamMemberOutput struct{ *pulumi.OutputState } func (WorkstationClusterWorkstationConfigWorkstationIamMemberOutput) ElementType() reflect.Type { @@ -149,6 +156,12 @@ func (o WorkstationClusterWorkstationConfigWorkstationIamMemberOutput) ToWorksta return o } +func (o WorkstationClusterWorkstationConfigWorkstationIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamMember] { + return pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamMember]{ + OutputState: o.OutputState, + } +} + // An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details. func (o WorkstationClusterWorkstationConfigWorkstationIamMemberOutput) Condition() iam.ConditionPtrOutput { return o.ApplyT(func(v *WorkstationClusterWorkstationConfigWorkstationIamMember) iam.ConditionPtrOutput { diff --git a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamPolicy.go b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamPolicy.go index c31d0402f0..3711a44ba4 100644 --- a/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamPolicy.go +++ b/sdk/go/google/workstations/v1beta/workstationClusterWorkstationConfigWorkstationIamPolicy.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. @@ -149,6 +150,12 @@ func (i *WorkstationClusterWorkstationConfigWorkstationIamPolicy) ToWorkstationC return pulumi.ToOutputWithContext(ctx, i).(WorkstationClusterWorkstationConfigWorkstationIamPolicyOutput) } +func (i *WorkstationClusterWorkstationConfigWorkstationIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamPolicy] { + return pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamPolicy]{ + OutputState: i.ToWorkstationClusterWorkstationConfigWorkstationIamPolicyOutputWithContext(ctx).OutputState, + } +} + type WorkstationClusterWorkstationConfigWorkstationIamPolicyOutput struct{ *pulumi.OutputState } func (WorkstationClusterWorkstationConfigWorkstationIamPolicyOutput) ElementType() reflect.Type { @@ -163,6 +170,12 @@ func (o WorkstationClusterWorkstationConfigWorkstationIamPolicyOutput) ToWorksta return o } +func (o WorkstationClusterWorkstationConfigWorkstationIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamPolicy] { + return pulumix.Output[*WorkstationClusterWorkstationConfigWorkstationIamPolicy]{ + OutputState: o.OutputState, + } +} + // Specifies cloud audit logging configuration for this policy. func (o WorkstationClusterWorkstationConfigWorkstationIamPolicyOutput) AuditConfigs() AuditConfigResponseArrayOutput { return o.ApplyT(func(v *WorkstationClusterWorkstationConfigWorkstationIamPolicy) AuditConfigResponseArrayOutput { diff --git a/sdk/go/google/workstations/v1beta/workstationConfig.go b/sdk/go/google/workstations/v1beta/workstationConfig.go index bc15b433c8..7b6ef9fa5b 100644 --- a/sdk/go/google/workstations/v1beta/workstationConfig.go +++ b/sdk/go/google/workstations/v1beta/workstationConfig.go @@ -10,6 +10,7 @@ import ( "errors" "github.com/pulumi/pulumi-google-native/sdk/go/google/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a new workstation configuration. @@ -207,6 +208,12 @@ func (i *WorkstationConfig) ToWorkstationConfigOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(WorkstationConfigOutput) } +func (i *WorkstationConfig) ToOutput(ctx context.Context) pulumix.Output[*WorkstationConfig] { + return pulumix.Output[*WorkstationConfig]{ + OutputState: i.ToWorkstationConfigOutputWithContext(ctx).OutputState, + } +} + type WorkstationConfigOutput struct{ *pulumi.OutputState } func (WorkstationConfigOutput) ElementType() reflect.Type { @@ -221,6 +228,12 @@ func (o WorkstationConfigOutput) ToWorkstationConfigOutputWithContext(ctx contex return o } +func (o WorkstationConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*WorkstationConfig] { + return pulumix.Output[*WorkstationConfig]{ + OutputState: o.OutputState, + } +} + // Client-specified annotations. func (o WorkstationConfigOutput) Annotations() pulumi.StringMapOutput { return o.ApplyT(func(v *WorkstationConfig) pulumi.StringMapOutput { return v.Annotations }).(pulumi.StringMapOutput) From 89bdb0c7dd9223bbe6b52f89a01bc6fa388943a4 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Thu, 7 Sep 2023 12:49:55 +0000 Subject: [PATCH 5/7] Updated modules --- provider/go.mod | 62 ++++++++++++++--------- provider/go.sum | 127 ++++++++++++++++++++++++++++++------------------ 2 files changed, 119 insertions(+), 70 deletions(-) diff --git a/provider/go.mod b/provider/go.mod index cab8cba9c7..536f172a74 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -13,34 +13,34 @@ require ( github.com/mitchellh/go-homedir v1.1.0 github.com/mitchellh/mapstructure v1.5.0 github.com/pkg/errors v0.9.1 - github.com/pulumi/pulumi/pkg/v3 v3.75.0 - github.com/pulumi/pulumi/sdk/v3 v3.75.0 + github.com/pulumi/pulumi/pkg/v3 v3.81.0 + github.com/pulumi/pulumi/sdk/v3 v3.81.0 github.com/stretchr/testify v1.8.3 - golang.org/x/oauth2 v0.7.0 - google.golang.org/api v0.114.0 - google.golang.org/grpc v1.56.1 + golang.org/x/oauth2 v0.8.0 + google.golang.org/api v0.126.0 + google.golang.org/grpc v1.57.0 ) require ( - cloud.google.com/go/kms v1.10.1 // indirect + cloud.google.com/go/kms v1.12.1 // indirect github.com/cheggaaa/pb v1.0.29 // indirect - github.com/mattn/go-runewidth v0.0.13 // indirect + github.com/mattn/go-runewidth v0.0.14 // indirect ) require ( - cloud.google.com/go/iam v0.13.0 // indirect + cloud.google.com/go/iam v1.1.1 // indirect github.com/hashicorp/errwrap v1.1.0 github.com/imdario/mergo v0.3.13 github.com/jtacoma/uritemplates v1.0.0 ) require ( - cloud.google.com/go v0.110.0 // indirect - cloud.google.com/go/compute v1.19.1 // indirect + cloud.google.com/go v0.110.4 // indirect + cloud.google.com/go/compute v1.20.1 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/logging v1.7.0 // indirect - cloud.google.com/go/longrunning v0.4.1 // indirect - cloud.google.com/go/storage v1.28.1 // indirect + cloud.google.com/go/longrunning v0.5.1 // indirect + cloud.google.com/go/storage v1.30.1 // indirect github.com/AlecAivazis/survey/v2 v2.0.5 // indirect github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect @@ -67,7 +67,8 @@ require ( github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect github.com/armon/go-metrics v0.4.0 // indirect github.com/armon/go-radix v1.0.0 // indirect - github.com/aws/aws-sdk-go v1.44.122 // indirect + github.com/atotto/clipboard v0.1.4 // indirect + github.com/aws/aws-sdk-go v1.44.298 // indirect github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect @@ -87,13 +88,18 @@ require ( github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect github.com/aws/smithy-go v1.13.5 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/blang/semver v3.5.1+incompatible // indirect github.com/cenkalti/backoff/v3 v3.2.2 // indirect + github.com/charmbracelet/bubbles v0.16.1 // indirect + github.com/charmbracelet/bubbletea v0.24.2 // indirect + github.com/charmbracelet/lipgloss v0.7.1 // indirect github.com/cloudflare/circl v1.3.3 // indirect + github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect - github.com/dustin/go-humanize v1.0.0 // indirect + github.com/dustin/go-humanize v1.0.1 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/fatih/color v1.13.0 // indirect @@ -108,10 +114,11 @@ require ( github.com/golang/snappy v0.0.4 // indirect github.com/google/go-cmp v0.5.9 // indirect github.com/google/go-querystring v1.1.0 // indirect + github.com/google/s2a-go v0.1.4 // indirect github.com/google/uuid v1.3.0 // indirect github.com/google/wire v0.5.0 // indirect github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect - github.com/googleapis/gax-go/v2 v2.7.1 // indirect + github.com/googleapis/gax-go/v2 v2.11.0 // indirect github.com/gorilla/mux v1.8.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/go-hclog v1.2.2 // indirect @@ -140,8 +147,10 @@ require ( github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/kylelemons/godebug v1.1.0 // indirect + github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-colorable v0.1.12 // indirect - github.com/mattn/go-isatty v0.0.14 // indirect + github.com/mattn/go-isatty v0.0.18 // indirect + github.com/mattn/go-localereader v0.0.1 // indirect github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect @@ -150,7 +159,10 @@ require ( github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect github.com/muesli/cancelreader v0.2.2 // indirect + github.com/muesli/reflow v0.3.0 // indirect + github.com/muesli/termenv v0.15.1 // indirect github.com/natefinch/atomic v1.0.1 // indirect github.com/oklog/run v1.1.0 // indirect github.com/opentracing/basictracer-go v1.1.0 // indirect @@ -168,7 +180,7 @@ require ( github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect github.com/segmentio/asm v1.1.3 // indirect github.com/segmentio/encoding v0.3.5 // indirect - github.com/sergi/go-diff v1.2.0 // indirect + github.com/sergi/go-diff v1.3.1 // indirect github.com/skeema/knownhosts v1.1.0 // indirect github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cobra v1.7.0 // indirect @@ -187,18 +199,20 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.27.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.5.0 // indirect + golang.org/x/crypto v0.9.0 // indirect golang.org/x/mod v0.10.0 // indirect - golang.org/x/net v0.9.0 // indirect - golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.7.0 // indirect - golang.org/x/term v0.7.0 // indirect + golang.org/x/net v0.10.0 // indirect + golang.org/x/sync v0.2.0 // indirect + golang.org/x/sys v0.9.0 // indirect + golang.org/x/term v0.8.0 // indirect golang.org/x/text v0.9.0 // indirect golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect - google.golang.org/protobuf v1.30.0 // indirect + google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect + google.golang.org/protobuf v1.31.0 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/provider/go.sum b/provider/go.sum index 722c8d6860..9a18569821 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -36,8 +36,8 @@ cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w9 cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= cloud.google.com/go v0.103.0/go.mod h1:vwLx1nqLrzLX/fpwSMOXmFIqBOyHsvHbnAdbGSJ+mKk= -cloud.google.com/go v0.110.0 h1:Zc8gqp3+a9/Eyph2KDmcGaPtbKRIoqq4YTlL4NMD0Ys= -cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= +cloud.google.com/go v0.110.4 h1:1JYyxKMN9hd5dR2MYTPWkGUgcoxVVhg0LKNKEo0qvmk= +cloud.google.com/go v0.110.4/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -50,8 +50,8 @@ cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6m cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= -cloud.google.com/go/compute v1.19.1 h1:am86mquDUgjGNWxiGn+5PGLbmgiWXlE/yNWpIpNvuXY= -cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= +cloud.google.com/go/compute v1.20.1 h1:6aKEtlUiwEpJzM001l0yFkpXmUVXaN8W+fbkb2AZNbg= +cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= @@ -60,15 +60,15 @@ cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqCl cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= -cloud.google.com/go/iam v0.13.0 h1:+CmB+K0J/33d0zSQ9SlFWUeCCEn5XJA0ZMZ3pHE9u8k= -cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= +cloud.google.com/go/iam v1.1.1 h1:lW7fzj15aVIXYHREOqjRBV9PsH0Z6u8Y46a1YGvQP4Y= +cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= -cloud.google.com/go/kms v1.10.1 h1:7hm1bRqGCA1GBRQUrp831TwJ9TWhP+tvLuP497CQS2g= -cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= +cloud.google.com/go/kms v1.12.1 h1:xZmZuwy2cwzsocmKDOPu4BL7umg8QXagQx6fKVmf45U= +cloud.google.com/go/kms v1.12.1/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= cloud.google.com/go/logging v1.7.0 h1:CJYxlNNNNAMkHp9em/YEXcfJg+rPDg7YfwoRpMU+t5I= cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= -cloud.google.com/go/longrunning v0.4.1 h1:v+yFJOfKC3yZdY6ZUI933pIYdhyhV8S3NpWrXWmg7jM= -cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= +cloud.google.com/go/longrunning v0.5.1 h1:Fr7TXftcqTudoyRJa113hyaqlGdiBQkp0Gq7tErFDWI= +cloud.google.com/go/longrunning v0.5.1/go.mod h1:spvimkwdz6SPWKEt/XBij79E9fiTkHSQl/fRUUQJYJc= cloud.google.com/go/monitoring v1.1.0/go.mod h1:L81pzz7HKn14QCMaCs6NTQkdBnE87TElyanS95vIcl4= cloud.google.com/go/monitoring v1.5.0/go.mod h1:/o9y8NYX5j91JjD/JvGLYbi86kL11OjyJXq2XziLJu4= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= @@ -86,8 +86,8 @@ cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3f cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= cloud.google.com/go/storage v1.24.0/go.mod h1:3xrJEFMXBsQLgxwThyjuD3aYlroL0TMRec1ypGUQ0KE= -cloud.google.com/go/storage v1.28.1 h1:F5QDG5ChchaAVQhINh24U99OWHURqrW8OmQcGKXcbgI= -cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= +cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= +cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= cloud.google.com/go/trace v1.0.0/go.mod h1:4iErSByzxkyHWzzlAj63/Gmjz0NH1ASqhJguHpGcr6A= cloud.google.com/go/trace v1.2.0/go.mod h1:Wc8y/uYyOhPy12KEnXG9XGrvfMz5F5SrYecQlbW1rwM= code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c/go.mod h1:QD9Lzhd/ux6eNQVUDVRJX/RKTigpewimNYBi7ivZKY8= @@ -247,6 +247,8 @@ github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6l github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= +github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= +github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= @@ -256,8 +258,8 @@ github.com/aws/aws-sdk-go v1.43.11/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4 github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.44.45/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.44.68/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= -github.com/aws/aws-sdk-go v1.44.122 h1:p6mw01WBaNpbdP2xrisz5tIkcNwzj/HysobNoaAHjgo= -github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.298 h1:5qTxdubgV7PptZJmp/2qDwD2JL187ePL7VOxsSh1i3g= +github.com/aws/aws-sdk-go v1.44.298/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/aws/aws-sdk-go-v2 v1.16.8/go.mod h1:6CpKuLXg2w7If3ABZCl/qZ6rEgwtjZTn4eAf4RcEyuw= github.com/aws/aws-sdk-go-v2 v1.17.3 h1:shN7NlnVzvDUgPQ+1rLMSxY8OWRNDRYtiqe0p/PgrhY= @@ -306,6 +308,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.16.10/go.mod h1:cftkHYN6tCDNfkSasAmc github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8= github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= +github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= @@ -342,6 +346,12 @@ github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6 github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= +github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= +github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06RaW2cx/SY= +github.com/charmbracelet/bubbletea v0.24.2/go.mod h1:XdrNrV4J8GiyshTtx3DNuYkR1FDaJmO3l2nejekbsgg= +github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= +github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= @@ -403,6 +413,8 @@ github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4g github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw= github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= github.com/containerd/containerd v1.2.10/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= @@ -549,8 +561,9 @@ github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNE github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -853,6 +866,8 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20220318212150-b2ab0324ddda/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3/go.mod h1:gSuNB+gJaOiQKLEZ+q+PK9Mq3SOzhRcw2GsGS/FhYDk= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= +github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -873,8 +888,8 @@ github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0 github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= -github.com/googleapis/gax-go/v2 v2.7.1 h1:gF4c0zjUP2H/s/hEGyLA3I0fA2ZWjzYiONAD6cvPr8A= -github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= +github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= +github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= @@ -1155,6 +1170,8 @@ github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0U github.com/linode/linodego v1.4.0/go.mod h1:PVsRxSlOiJyvG4/scTszpmZDTdgS+to3X6eS8pRrWI8= github.com/linode/linodego v1.8.0/go.mod h1:heqhl91D8QTPVm2k9qZHP78zzbOdTFLXE9NJc3bcc50= github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= +github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= +github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= @@ -1187,12 +1204,16 @@ github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= +github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= +github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= -github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= +github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= +github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= @@ -1263,8 +1284,14 @@ github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJ github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= +github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= +github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= +github.com/muesli/termenv v0.15.1 h1:UzuTb/+hhlBugQz28rpzey4ZuKcZ03MeKsoG7IJZIxs= +github.com/muesli/termenv v0.15.1/go.mod h1:HeAQPTzpfs016yGtA4g00CsdYnVLJvxsS4ANqrZs2sQ= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= @@ -1446,12 +1473,13 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/pkg/v3 v3.75.0 h1:oBJ+Ft5VokKJGZHtX5ytyKenMCBH/d1+rsVL5MOGmHo= -github.com/pulumi/pulumi/pkg/v3 v3.75.0/go.mod h1:jzU1sKjOoDMFxxISb4hEK/C1mQsHVheYkWfZPLQRC9c= -github.com/pulumi/pulumi/sdk/v3 v3.75.0 h1:+5V5UOwgHKAaqSD8DKhuTU+RTObqkH3yp/p2EJQYYQk= -github.com/pulumi/pulumi/sdk/v3 v3.75.0/go.mod h1:HiE9Wf+DVrg8Em1D6bxRCdDMsNkj8//vLCST73xH2Hc= +github.com/pulumi/pulumi/pkg/v3 v3.81.0 h1:6rf2farQLszi8inHCu9YdJtDvK0fqNguix51b3FEDRQ= +github.com/pulumi/pulumi/pkg/v3 v3.81.0/go.mod h1:URXozJB/abhxb2yOwa5ywHjT2dqt9SmAX2iLkdcOOl0= +github.com/pulumi/pulumi/sdk/v3 v3.81.0 h1:d711GUpjZK1beNpIKFReC1LBmHXYE684sYWntJWQ4Q0= +github.com/pulumi/pulumi/sdk/v3 v3.81.0/go.mod h1:RMilNNVMlmK1h4Nl/qylb9vzbgh4F3mufZoUOnPy98o= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= @@ -1492,8 +1520,8 @@ github.com/segmentio/asm v1.1.3/go.mod h1:Ld3L4ZXGNcSLRg4JBsZ3//1+f/TjYl0Mzen/DQ github.com/segmentio/encoding v0.3.5 h1:UZEiaZ55nlXGDL92scoVuw00RmiRCazIEmvPSbSvt8Y= github.com/segmentio/encoding v0.3.5/go.mod h1:n0JeuIqEQrQoPDGsjo8UNd1iA0U8d8+oHAA4E3G3OxM= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= +github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= @@ -1766,6 +1794,7 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= @@ -1773,8 +1802,8 @@ golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.5.0 h1:U/0M97KRkSFvyD/3FSmdP5W5swImpNgle/EHFhOsQPE= -golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= +golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1899,8 +1928,8 @@ golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfS golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.9.0 h1:aWJ/m6xSmxWBx+V0XRHTlrYrPG56jKsLdTFmsSsCzOM= -golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= +golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1926,8 +1955,8 @@ golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7Lm golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= golang.org/x/oauth2 v0.0.0-20220628200809-02e64fa58f26/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.7.0 h1:qe6s0zUXlPX80/dITx3440hWZ7GwMwgDDyrSGTPJG/g= -golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= +golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= +golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1942,8 +1971,8 @@ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= +golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2092,8 +2121,9 @@ golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU= -golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= +golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -2102,8 +2132,8 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.7.0 h1:BEvjmm5fURWqcfbSKTdpkDXYBrUS1c0m8agp14W48vQ= -golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= +golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2113,6 +2143,7 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= @@ -2273,8 +2304,8 @@ google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6F google.golang.org/api v0.86.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= google.golang.org/api v0.91.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= -google.golang.org/api v0.114.0 h1:1xQPji6cO2E2vLiI+C/XiFAnsn1WV3mjaEwGLhi3grE= -google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= +google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= +google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -2386,8 +2417,12 @@ google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad/go.mod h1:KEWEmljW google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= google.golang.org/genproto v0.0.0-20220802133213-ce4fa296bf78/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e h1:xIXmWJ303kJCuogpj0bHq+dcjcZHU+XFyc1I0Yl9cRg= +google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:0ggbjUrZYpy1q+ANUS30SEoGZ53cdfwtbuG7Ptgy108= +google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130 h1:XVeBY8d/FaK4848myy41HBqnDwvxeV3zMZhwN1TvAMU= +google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:mPBs5jNgx2GuQGvFwUvVKqtn6HsUw9nP64BedgvqEsQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= @@ -2431,8 +2466,8 @@ google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ= -google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= +google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -2449,8 +2484,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From 6b31702cad0fc9bc5b0796e5e989a07fef1023f1 Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Thu, 7 Sep 2023 17:55:14 -0400 Subject: [PATCH 6/7] Update sdk/go.mod language from go 1.16 to go 1.21 --- sdk/go.mod | 79 ++- sdk/go.sum | 1477 +--------------------------------------------------- 2 files changed, 80 insertions(+), 1476 deletions(-) diff --git a/sdk/go.mod b/sdk/go.mod index a049729f72..4486dc677a 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -1,8 +1,85 @@ module github.com/pulumi/pulumi-google-native/sdk -go 1.16 +go 1.21 require ( github.com/blang/semver v3.5.1+incompatible github.com/pulumi/pulumi/sdk/v3 v3.81.0 ) + +require ( + github.com/Microsoft/go-winio v0.5.2 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect + github.com/acomagu/bufpipe v1.0.3 // indirect + github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect + github.com/agext/levenshtein v1.2.1 // indirect + github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/atotto/clipboard v0.1.4 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect + github.com/charmbracelet/bubbles v0.16.1 // indirect + github.com/charmbracelet/bubbletea v0.24.2 // indirect + github.com/charmbracelet/lipgloss v0.7.1 // indirect + github.com/cheggaaa/pb v1.0.29 // indirect + github.com/cloudflare/circl v1.3.3 // indirect + github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect + github.com/djherbis/times v1.5.0 // indirect + github.com/emirpasic/gods v1.18.1 // indirect + github.com/go-git/gcfg v1.5.0 // indirect + github.com/go-git/go-billy/v5 v5.4.0 // indirect + github.com/go-git/go-git/v5 v5.6.0 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/glog v1.1.0 // indirect + github.com/golang/protobuf v1.5.3 // indirect + github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/hcl/v2 v2.16.1 // indirect + github.com/imdario/mergo v0.3.13 // indirect + github.com/inconshreveable/mousetrap v1.0.1 // indirect + github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect + github.com/kevinburke/ssh_config v1.2.0 // indirect + github.com/lucasb-eyer/go-colorful v1.2.0 // indirect + github.com/mattn/go-isatty v0.0.18 // indirect + github.com/mattn/go-localereader v0.0.1 // indirect + github.com/mattn/go-runewidth v0.0.14 // indirect + github.com/mitchellh/go-ps v1.0.0 // indirect + github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect + github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect + github.com/muesli/cancelreader v0.2.2 // indirect + github.com/muesli/reflow v0.3.0 // indirect + github.com/muesli/termenv v0.15.1 // indirect + github.com/opentracing/basictracer-go v1.1.0 // indirect + github.com/opentracing/opentracing-go v1.2.0 // indirect + github.com/pjbgf/sha1cd v0.3.0 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/pkg/term v1.1.0 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect + github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect + github.com/sergi/go-diff v1.2.0 // indirect + github.com/skeema/knownhosts v1.1.0 // indirect + github.com/spf13/cast v1.4.1 // indirect + github.com/spf13/cobra v1.6.1 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/texttheater/golang-levenshtein v1.0.1 // indirect + github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect + github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect + github.com/uber/jaeger-lib v2.4.1+incompatible // indirect + github.com/xanzy/ssh-agent v0.3.3 // indirect + github.com/zclconf/go-cty v1.12.1 // indirect + go.uber.org/atomic v1.9.0 // indirect + golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a // indirect + golang.org/x/net v0.10.0 // indirect + golang.org/x/sync v0.1.0 // indirect + golang.org/x/sys v0.8.0 // indirect + golang.org/x/term v0.8.0 // indirect + golang.org/x/text v0.9.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect + google.golang.org/grpc v1.57.0 // indirect + google.golang.org/protobuf v1.31.0 // indirect + gopkg.in/warnings.v0 v0.1.2 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + lukechampine.com/frand v1.4.2 // indirect + sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect +) diff --git a/sdk/go.sum b/sdk/go.sum index cdb8181e2e..22c9c0479d 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -1,608 +1,7 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= -cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= -cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= -cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= -cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= -cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= -cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= -cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= -cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= -cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= -cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= -cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= -cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= -cloud.google.com/go v0.100.1/go.mod h1:fs4QogzfH5n2pBXBP9vRiU+eCny7lD2vmFZy79Iuw1U= -cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= -cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= -cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= -cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= -cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= -cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= -cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= -cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= -cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= -cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= -cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE= -cloud.google.com/go/accesscontextmanager v1.6.0/go.mod h1:8XCvZWfYw3K/ji0iVnp+6pu7huxoQTLmxAbVjbloTtM= -cloud.google.com/go/accesscontextmanager v1.7.0/go.mod h1:CEGLewx8dwa33aDAZQujl7Dx+uYhS0eay198wB/VumQ= -cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= -cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= -cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg= -cloud.google.com/go/aiplatform v1.35.0/go.mod h1:7MFT/vCaOyZT/4IIFfxH4ErVg/4ku6lKv3w0+tFTgXQ= -cloud.google.com/go/aiplatform v1.36.1/go.mod h1:WTm12vJRPARNvJ+v6P52RDHCNe4AhvjcIZ/9/RRHy/k= -cloud.google.com/go/aiplatform v1.37.0/go.mod h1:IU2Cv29Lv9oCn/9LkFiiuKfwrRTq+QQMbW+hPCxJGZw= -cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= -cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= -cloud.google.com/go/analytics v0.17.0/go.mod h1:WXFa3WSym4IZ+JiKmavYdJwGG/CvpqiqczmL59bTD9M= -cloud.google.com/go/analytics v0.18.0/go.mod h1:ZkeHGQlcIPkw0R/GW+boWHhCOR43xz9RN/jn7WcqfIE= -cloud.google.com/go/analytics v0.19.0/go.mod h1:k8liqf5/HCnOUkbawNtrWWc+UAzyDlW89doe8TtoDsE= -cloud.google.com/go/apigateway v1.3.0/go.mod h1:89Z8Bhpmxu6AmUxuVRg/ECRGReEdiP3vQtk4Z1J9rJk= -cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc= -cloud.google.com/go/apigateway v1.5.0/go.mod h1:GpnZR3Q4rR7LVu5951qfXPJCHquZt02jf7xQx7kpqN8= -cloud.google.com/go/apigeeconnect v1.3.0/go.mod h1:G/AwXFAKo0gIXkPTVfZDd2qA1TxBXJ3MgMRBQkIi9jc= -cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04= -cloud.google.com/go/apigeeconnect v1.5.0/go.mod h1:KFaCqvBRU6idyhSNyn3vlHXc8VMDJdRmwDF6JyFRqZ8= -cloud.google.com/go/apigeeregistry v0.4.0/go.mod h1:EUG4PGcsZvxOXAdyEghIdXwAEi/4MEaoqLMLDMIwKXY= -cloud.google.com/go/apigeeregistry v0.5.0/go.mod h1:YR5+s0BVNZfVOUkMa5pAR2xGd0A473vA5M7j247o1wM= -cloud.google.com/go/apigeeregistry v0.6.0/go.mod h1:BFNzW7yQVLZ3yj0TKcwzb8n25CFBri51GVGOEUcgQsc= -cloud.google.com/go/apikeys v0.4.0/go.mod h1:XATS/yqZbaBK0HOssf+ALHp8jAlNHUgyfprvNcBIszU= -cloud.google.com/go/apikeys v0.5.0/go.mod h1:5aQfwY4D+ewMMWScd3hm2en3hCj+BROlyrt3ytS7KLI= -cloud.google.com/go/apikeys v0.6.0/go.mod h1:kbpXu5upyiAlGkKrJgQl8A0rKNNJ7dQ377pdroRSSi8= -cloud.google.com/go/appengine v1.4.0/go.mod h1:CS2NhuBuDXM9f+qscZ6V86m1MIIqPj3WC/UoEuR1Sno= -cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodCWatWI9Dmak= -cloud.google.com/go/appengine v1.6.0/go.mod h1:hg6i0J/BD2cKmDJbaFSYHFyZkgBEfQrDg/X0V5fJn84= -cloud.google.com/go/appengine v1.7.0/go.mod h1:eZqpbHFCqRGa2aCdope7eC0SWLV1j0neb/QnMJVWx6A= -cloud.google.com/go/appengine v1.7.1/go.mod h1:IHLToyb/3fKutRysUlFO0BPt5j7RiQ45nrzEJmKTo6E= -cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= -cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= -cloud.google.com/go/area120 v0.7.0/go.mod h1:a3+8EUD1SX5RUcCs3MY5YasiO1z6yLiNLRiFrykbynY= -cloud.google.com/go/area120 v0.7.1/go.mod h1:j84i4E1RboTWjKtZVWXPqvK5VHQFJRF2c1Nm69pWm9k= -cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= -cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= -cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0= -cloud.google.com/go/artifactregistry v1.9.0/go.mod h1:2K2RqvA2CYvAeARHRkLDhMDJ3OXy26h3XW+3/Jh2uYc= -cloud.google.com/go/artifactregistry v1.11.1/go.mod h1:lLYghw+Itq9SONbCa1YWBoWs1nOucMH0pwXN1rOBZFI= -cloud.google.com/go/artifactregistry v1.11.2/go.mod h1:nLZns771ZGAwVLzTX/7Al6R9ehma4WUEhZGWV6CeQNQ= -cloud.google.com/go/artifactregistry v1.12.0/go.mod h1:o6P3MIvtzTOnmvGagO9v/rOjjA0HmhJ+/6KAXrmYDCI= -cloud.google.com/go/artifactregistry v1.13.0/go.mod h1:uy/LNfoOIivepGhooAUpL1i30Hgee3Cu0l4VTWHUC08= -cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= -cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= -cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= -cloud.google.com/go/asset v1.9.0/go.mod h1:83MOE6jEJBMqFKadM9NLRcs80Gdw76qGuHn8m3h8oHQ= -cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAtZiIb0wY= -cloud.google.com/go/asset v1.11.1/go.mod h1:fSwLhbRvC9p9CXQHJ3BgFeQNM4c9x10lqlrdEUYXlJo= -cloud.google.com/go/asset v1.12.0/go.mod h1:h9/sFOa4eDIyKmH6QMpm4eUK3pDojWnUhTgJlk762Hg= -cloud.google.com/go/asset v1.13.0/go.mod h1:WQAMyYek/b7NBpYq/K4KJWcRqzoalEsxz/t/dTk4THw= -cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= -cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= -cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= -cloud.google.com/go/assuredworkloads v1.8.0/go.mod h1:AsX2cqyNCOvEQC8RMPnoc0yEarXQk6WEKkxYfL6kGIo= -cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0= -cloud.google.com/go/assuredworkloads v1.10.0/go.mod h1:kwdUQuXcedVdsIaKgKTp9t0UJkE5+PAVNhdQm4ZVq2E= -cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= -cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= -cloud.google.com/go/automl v1.7.0/go.mod h1:RL9MYCCsJEOmt0Wf3z9uzG0a7adTT1fe+aObgSpkCt8= -cloud.google.com/go/automl v1.8.0/go.mod h1:xWx7G/aPEe/NP+qzYXktoBSDfjO+vnKMGgsApGJJquM= -cloud.google.com/go/automl v1.12.0/go.mod h1:tWDcHDp86aMIuHmyvjuKeeHEGq76lD7ZqfGLN6B0NuU= -cloud.google.com/go/baremetalsolution v0.3.0/go.mod h1:XOrocE+pvK1xFfleEnShBlNAXf+j5blPPxrhjKgnIFc= -cloud.google.com/go/baremetalsolution v0.4.0/go.mod h1:BymplhAadOO/eBa7KewQ0Ppg4A4Wplbn+PsFKRLo0uI= -cloud.google.com/go/baremetalsolution v0.5.0/go.mod h1:dXGxEkmR9BMwxhzBhV0AioD0ULBmuLZI8CdwalUxuss= -cloud.google.com/go/batch v0.3.0/go.mod h1:TR18ZoAekj1GuirsUsR1ZTKN3FC/4UDnScjT8NXImFE= -cloud.google.com/go/batch v0.4.0/go.mod h1:WZkHnP43R/QCGQsZ+0JyG4i79ranE2u8xvjq/9+STPE= -cloud.google.com/go/batch v0.7.0/go.mod h1:vLZN95s6teRUqRQ4s3RLDsH8PvboqBK+rn1oevL159g= -cloud.google.com/go/beyondcorp v0.2.0/go.mod h1:TB7Bd+EEtcw9PCPQhCJtJGjk/7TC6ckmnSFS+xwTfm4= -cloud.google.com/go/beyondcorp v0.3.0/go.mod h1:E5U5lcrcXMsCuoDNyGrpyTm/hn7ne941Jz2vmksAxW8= -cloud.google.com/go/beyondcorp v0.4.0/go.mod h1:3ApA0mbhHx6YImmuubf5pyW8srKnCEPON32/5hj+RmM= -cloud.google.com/go/beyondcorp v0.5.0/go.mod h1:uFqj9X+dSfrheVp7ssLTaRHd2EHqSL4QZmH4e8WXGGU= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA= -cloud.google.com/go/bigquery v1.43.0/go.mod h1:ZMQcXHsl+xmU1z36G2jNGZmKp9zNY5BUua5wDgmNCfw= -cloud.google.com/go/bigquery v1.44.0/go.mod h1:0Y33VqXTEsbamHJvJHdFmtqHvMIY28aK1+dFsvaChGc= -cloud.google.com/go/bigquery v1.47.0/go.mod h1:sA9XOgy0A8vQK9+MWhEQTY6Tix87M/ZurWFIxmF9I/E= -cloud.google.com/go/bigquery v1.48.0/go.mod h1:QAwSz+ipNgfL5jxiaK7weyOhzdoAy1zFm0Nf1fysJac= -cloud.google.com/go/bigquery v1.49.0/go.mod h1:Sv8hMmTFFYBlt/ftw2uN6dFdQPzBlREY9yBh7Oy7/4Q= -cloud.google.com/go/bigquery v1.50.0/go.mod h1:YrleYEh2pSEbgTBZYMJ5SuSr0ML3ypjRB1zgf7pvQLU= -cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= -cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= -cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI= -cloud.google.com/go/billing v1.7.0/go.mod h1:q457N3Hbj9lYwwRbnlD7vUpyjq6u5U1RAOArInEiD5Y= -cloud.google.com/go/billing v1.12.0/go.mod h1:yKrZio/eu+okO/2McZEbch17O5CB5NpZhhXG6Z766ss= -cloud.google.com/go/billing v1.13.0/go.mod h1:7kB2W9Xf98hP9Sr12KfECgfGclsH3CQR0R08tnRlRbc= -cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= -cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= -cloud.google.com/go/binaryauthorization v1.3.0/go.mod h1:lRZbKgjDIIQvzYQS1p99A7/U1JqvqeZg0wiI5tp6tg0= -cloud.google.com/go/binaryauthorization v1.4.0/go.mod h1:tsSPQrBd77VLplV70GUhBf/Zm3FsKmgSqgm4UmiDItk= -cloud.google.com/go/binaryauthorization v1.5.0/go.mod h1:OSe4OU1nN/VswXKRBmciKpo9LulY41gch5c68htf3/Q= -cloud.google.com/go/certificatemanager v1.3.0/go.mod h1:n6twGDvcUBFu9uBgt4eYvvf3sQ6My8jADcOVwHmzadg= -cloud.google.com/go/certificatemanager v1.4.0/go.mod h1:vowpercVFyqs8ABSmrdV+GiFf2H/ch3KyudYQEMM590= -cloud.google.com/go/certificatemanager v1.6.0/go.mod h1:3Hh64rCKjRAX8dXgRAyOcY5vQ/fE1sh8o+Mdd6KPgY8= -cloud.google.com/go/channel v1.8.0/go.mod h1:W5SwCXDJsq/rg3tn3oG0LOxpAo6IMxNa09ngphpSlnk= -cloud.google.com/go/channel v1.9.0/go.mod h1:jcu05W0my9Vx4mt3/rEHpfxc9eKi9XwsdDL8yBMbKUk= -cloud.google.com/go/channel v1.11.0/go.mod h1:IdtI0uWGqhEeatSB62VOoJ8FSUhJ9/+iGkJVqp74CGE= -cloud.google.com/go/channel v1.12.0/go.mod h1:VkxCGKASi4Cq7TbXxlaBezonAYpp1GCnKMY6tnMQnLU= -cloud.google.com/go/cloudbuild v1.3.0/go.mod h1:WequR4ULxlqvMsjDEEEFnOG5ZSRSgWOywXYDb1vPE6U= -cloud.google.com/go/cloudbuild v1.4.0/go.mod h1:5Qwa40LHiOXmz3386FrjrYM93rM/hdRr7b53sySrTqA= -cloud.google.com/go/cloudbuild v1.6.0/go.mod h1:UIbc/w9QCbH12xX+ezUsgblrWv+Cv4Tw83GiSMHOn9M= -cloud.google.com/go/cloudbuild v1.7.0/go.mod h1:zb5tWh2XI6lR9zQmsm1VRA+7OCuve5d8S+zJUul8KTg= -cloud.google.com/go/cloudbuild v1.9.0/go.mod h1:qK1d7s4QlO0VwfYn5YuClDGg2hfmLZEb4wQGAbIgL1s= -cloud.google.com/go/clouddms v1.3.0/go.mod h1:oK6XsCDdW4Ib3jCCBugx+gVjevp2TMXFtgxvPSee3OM= -cloud.google.com/go/clouddms v1.4.0/go.mod h1:Eh7sUGCC+aKry14O1NRljhjyrr0NFC0G2cjwX0cByRk= -cloud.google.com/go/clouddms v1.5.0/go.mod h1:QSxQnhikCLUw13iAbffF2CZxAER3xDGNHjsTAkQJcQA= -cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= -cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= -cloud.google.com/go/cloudtasks v1.7.0/go.mod h1:ImsfdYWwlWNJbdgPIIGJWC+gemEGTBK/SunNQQNCAb4= -cloud.google.com/go/cloudtasks v1.8.0/go.mod h1:gQXUIwCSOI4yPVK7DgTVFiiP0ZW/eQkydWzwVMdHxrI= -cloud.google.com/go/cloudtasks v1.9.0/go.mod h1:w+EyLsVkLWHcOaqNEyvcKAsWp9p29dL6uL9Nst1cI7Y= -cloud.google.com/go/cloudtasks v1.10.0/go.mod h1:NDSoTLkZ3+vExFEWu2UJV1arUyzVDAiZtdWcsUyNwBs= -cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= -cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= -cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= -cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= -cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= -cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= -cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= -cloud.google.com/go/compute v1.12.0/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= -cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= -cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE= -cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo= -cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63rR+SXhcpA= -cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= -cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= -cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= -cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= -cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= -cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= -cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= -cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= -cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= -cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w= -cloud.google.com/go/container v1.6.0/go.mod h1:Xazp7GjJSeUYo688S+6J5V+n/t+G5sKBTFkKNudGRxg= -cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo= -cloud.google.com/go/container v1.13.1/go.mod h1:6wgbMPeQRw9rSnKBCAJXnds3Pzj03C4JHamr8asWKy4= -cloud.google.com/go/container v1.14.0/go.mod h1:3AoJMPhHfLDxLvrlVWaK57IXzaPnLaZq63WX59aQBfM= -cloud.google.com/go/container v1.15.0/go.mod h1:ft+9S0WGjAyjDggg5S06DXj+fHJICWg8L7isCQe9pQA= -cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= -cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= -cloud.google.com/go/containeranalysis v0.7.0/go.mod h1:9aUL+/vZ55P2CXfuZjS4UjQ9AgXoSw8Ts6lemfmxBxI= -cloud.google.com/go/containeranalysis v0.9.0/go.mod h1:orbOANbwk5Ejoom+s+DUCTTJ7IBdBQJDcSylAx/on9s= -cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= -cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= -cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= -cloud.google.com/go/datacatalog v1.7.0/go.mod h1:9mEl4AuDYWw81UGc41HonIHH7/sn52H0/tc8f8ZbZIE= -cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOXxZoKYF5wdISM= -cloud.google.com/go/datacatalog v1.8.1/go.mod h1:RJ58z4rMp3gvETA465Vg+ag8BGgBdnRPEMMSTr5Uv+M= -cloud.google.com/go/datacatalog v1.12.0/go.mod h1:CWae8rFkfp6LzLumKOnmVh4+Zle4A3NXLzVJ1d1mRm0= -cloud.google.com/go/datacatalog v1.13.0/go.mod h1:E4Rj9a5ZtAxcQJlEBTLgMTphfP11/lNaAshpoBgemX8= -cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= -cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= -cloud.google.com/go/dataflow v0.8.0/go.mod h1:Rcf5YgTKPtQyYz8bLYhFoIV/vP39eL7fWNcSOyFfLJE= -cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= -cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= -cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0= -cloud.google.com/go/dataform v0.6.0/go.mod h1:QPflImQy33e29VuapFdf19oPbE4aYTJxr31OAPV+ulA= -cloud.google.com/go/dataform v0.7.0/go.mod h1:7NulqnVozfHvWUBpMDfKMUESr+85aJsC/2O0o3jWPDE= -cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38= -cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= -cloud.google.com/go/datafusion v1.6.0/go.mod h1:WBsMF8F1RhSXvVM8rCV3AeyWVxcC2xY6vith3iw3S+8= -cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= -cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= -cloud.google.com/go/datalabeling v0.7.0/go.mod h1:WPQb1y08RJbmpM3ww0CSUAGweL0SxByuW2E+FU+wXcM= -cloud.google.com/go/dataplex v1.3.0/go.mod h1:hQuRtDg+fCiFgC8j0zV222HvzFQdRd+SVX8gdmFcZzA= -cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A= -cloud.google.com/go/dataplex v1.5.2/go.mod h1:cVMgQHsmfRoI5KFYq4JtIBEUbYwc3c7tXmIDhRmNNVQ= -cloud.google.com/go/dataplex v1.6.0/go.mod h1:bMsomC/aEJOSpHXdFKFGQ1b0TDPIeL28nJObeO1ppRs= -cloud.google.com/go/dataproc v1.7.0/go.mod h1:CKAlMjII9H90RXaMpSxQ8EU6dQx6iAYNPcYPOkSbi8s= -cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI= -cloud.google.com/go/dataproc v1.12.0/go.mod h1:zrF3aX0uV3ikkMz6z4uBbIKyhRITnxvr4i3IjKsKrw4= -cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= -cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= -cloud.google.com/go/dataqna v0.7.0/go.mod h1:Lx9OcIIeqCrw1a6KdO3/5KMP1wAmTc0slZWwP12Qq3c= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM= -cloud.google.com/go/datastore v1.11.0/go.mod h1:TvGxBIHCS50u8jzG+AW/ppf87v1of8nwzFNgEZU1D3c= -cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= -cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= -cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g= -cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4= -cloud.google.com/go/datastream v1.6.0/go.mod h1:6LQSuswqLa7S4rPAOZFVjHIG3wJIjZcZrw8JDEDJuIs= -cloud.google.com/go/datastream v1.7.0/go.mod h1:uxVRMm2elUSPuh65IbZpzJNMbuzkcvu5CjMqVIUHrww= -cloud.google.com/go/deploy v1.4.0/go.mod h1:5Xghikd4VrmMLNaF6FiRFDlHb59VM59YoDQnOUdsH/c= -cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s= -cloud.google.com/go/deploy v1.6.0/go.mod h1:f9PTHehG/DjCom3QH0cntOVRm93uGBDt2vKzAPwpXQI= -cloud.google.com/go/deploy v1.8.0/go.mod h1:z3myEJnA/2wnB4sgjqdMfgxCA0EqC3RBTNcVPs93mtQ= -cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= -cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= -cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= -cloud.google.com/go/dialogflow v1.18.0/go.mod h1:trO7Zu5YdyEuR+BhSNOqJezyFQ3aUzz0njv7sMx/iek= -cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFMoosgy+6Gn0s0= -cloud.google.com/go/dialogflow v1.29.0/go.mod h1:b+2bzMe+k1s9V+F2jbJwpHPzrnIyHihAdRFMtn2WXuM= -cloud.google.com/go/dialogflow v1.31.0/go.mod h1:cuoUccuL1Z+HADhyIA7dci3N5zUssgpBJmCzI6fNRB4= -cloud.google.com/go/dialogflow v1.32.0/go.mod h1:jG9TRJl8CKrDhMEcvfcfFkkpp8ZhgPz3sBGmAUYJ2qE= -cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM= -cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= -cloud.google.com/go/dlp v1.9.0/go.mod h1:qdgmqgTyReTz5/YNSSuueR8pl7hO0o9bQ39ZhtgkWp4= -cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= -cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= -cloud.google.com/go/documentai v1.9.0/go.mod h1:FS5485S8R00U10GhgBC0aNGrJxBP8ZVpEeJ7PQDZd6k= -cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4= -cloud.google.com/go/documentai v1.16.0/go.mod h1:o0o0DLTEZ+YnJZ+J4wNfTxmDVyrkzFvttBXXtYRMHkM= -cloud.google.com/go/documentai v1.18.0/go.mod h1:F6CK6iUH8J81FehpskRmhLq/3VlwQvb7TvwOceQ2tbs= -cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= -cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= -cloud.google.com/go/domains v0.8.0/go.mod h1:M9i3MMDzGFXsydri9/vW+EWz9sWb4I6WyHqdlAk0idE= -cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= -cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= -cloud.google.com/go/edgecontainer v0.3.0/go.mod h1:FLDpP4nykgwwIfcLt6zInhprzw0lEi2P1fjO6Ie0qbc= -cloud.google.com/go/edgecontainer v1.0.0/go.mod h1:cttArqZpBB2q58W/upSG++ooo6EsblxDIolxa3jSjbY= -cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= -cloud.google.com/go/essentialcontacts v1.3.0/go.mod h1:r+OnHa5jfj90qIfZDO/VztSFqbQan7HV75p8sA+mdGI= -cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8= -cloud.google.com/go/essentialcontacts v1.5.0/go.mod h1:ay29Z4zODTuwliK7SnX8E86aUF2CTzdNtvv42niCX0M= -cloud.google.com/go/eventarc v1.7.0/go.mod h1:6ctpF3zTnaQCxUjHUdcfgcA1A2T309+omHZth7gDfmc= -cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw= -cloud.google.com/go/eventarc v1.10.0/go.mod h1:u3R35tmZ9HvswGRBnF48IlYgYeBcPUCjkr4BTdem2Kw= -cloud.google.com/go/eventarc v1.11.0/go.mod h1:PyUjsUKPWoRBCHeOxZd/lbOOjahV41icXyUY5kSTvVY= -cloud.google.com/go/filestore v1.3.0/go.mod h1:+qbvHGvXU1HaKX2nD0WEPo92TP/8AQuCVEBXNY9z0+w= -cloud.google.com/go/filestore v1.4.0/go.mod h1:PaG5oDfo9r224f8OYXURtAsY+Fbyq/bLYoINEK8XQAI= -cloud.google.com/go/filestore v1.5.0/go.mod h1:FqBXDWBp4YLHqRnVGveOkHDf8svj9r5+mUDLupOWEDs= -cloud.google.com/go/filestore v1.6.0/go.mod h1:di5unNuss/qfZTw2U9nhFqo8/ZDSc466dre85Kydllg= -cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2AMwDaMEQiiE= -cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= -cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= -cloud.google.com/go/functions v1.8.0/go.mod h1:RTZ4/HsQjIqIYP9a9YPbU+QFoQsAlYgrwOXJWHn1POY= -cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5UwtlpzoyquQ08= -cloud.google.com/go/functions v1.10.0/go.mod h1:0D3hEOe3DbEvCXtYOZHQZmD+SzYsi1YbI7dGvHfldXw= -cloud.google.com/go/functions v1.12.0/go.mod h1:AXWGrF3e2C/5ehvwYo/GH6O5s09tOPksiKhz+hH8WkA= -cloud.google.com/go/functions v1.13.0/go.mod h1:EU4O007sQm6Ef/PwRsI8N2umygGqPBS/IZQKBQBcJ3c= -cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= -cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= -cloud.google.com/go/gaming v1.7.0/go.mod h1:LrB8U7MHdGgFG851iHAfqUdLcKBdQ55hzXy9xBJz0+w= -cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM= -cloud.google.com/go/gaming v1.9.0/go.mod h1:Fc7kEmCObylSWLO334NcO+O9QMDyz+TKC4v1D7X+Bc0= -cloud.google.com/go/gkebackup v0.2.0/go.mod h1:XKvv/4LfG829/B8B7xRkk8zRrOEbKtEam6yNfuQNH60= -cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo= -cloud.google.com/go/gkebackup v0.4.0/go.mod h1:byAyBGUwYGEEww7xsbnUTBHIYcOPy/PgUWUtOeRm9Vg= -cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= -cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= -cloud.google.com/go/gkeconnect v0.7.0/go.mod h1:SNfmVqPkaEi3bF/B3CNZOAYPYdg7sU+obZ+QTky2Myw= -cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= -cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= -cloud.google.com/go/gkehub v0.11.0/go.mod h1:JOWHlmN+GHyIbuWQPl47/C2RFhnFKH38jH9Ascu3n0E= -cloud.google.com/go/gkehub v0.12.0/go.mod h1:djiIwwzTTBrF5NaXCGv3mf7klpEMcST17VBTVVDcuaw= -cloud.google.com/go/gkemulticloud v0.3.0/go.mod h1:7orzy7O0S+5kq95e4Hpn7RysVA7dPs8W/GgfUtsPbrA= -cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= -cloud.google.com/go/gkemulticloud v0.5.0/go.mod h1:W0JDkiyi3Tqh0TJr//y19wyb1yf8llHVto2Htf2Ja3Y= -cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= -cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM= -cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= -cloud.google.com/go/gsuiteaddons v1.5.0/go.mod h1:TFCClYLd64Eaa12sFVmUyG62tk4mdIsI7pAnSXRkcFo= -cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= -cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= -cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= -cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= -cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg= -cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE= -cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= -cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= -cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= -cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= -cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= -cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= -cloud.google.com/go/iap v1.7.0/go.mod h1:beqQx56T9O1G1yNPph+spKpNibDlYIiIixiqsQXxLIo= -cloud.google.com/go/iap v1.7.1/go.mod h1:WapEwPc7ZxGt2jFGB/C/bm+hP0Y6NXzOYGjpPnmMS74= -cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM= -cloud.google.com/go/ids v1.2.0/go.mod h1:5WXvp4n25S0rA/mQWAg1YEEBBq6/s+7ml1RDCW1IrcY= -cloud.google.com/go/ids v1.3.0/go.mod h1:JBdTYwANikFKaDP6LtW5JAi4gubs57SVNQjemdt6xV4= -cloud.google.com/go/iot v1.3.0/go.mod h1:r7RGh2B61+B8oz0AGE+J72AhA0G7tdXItODWsaA2oLs= -cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0iV+g= -cloud.google.com/go/iot v1.5.0/go.mod h1:mpz5259PDl3XJthEmh9+ap0affn/MqNSP4My77Qql9o= -cloud.google.com/go/iot v1.6.0/go.mod h1:IqdAsmE2cTYYNO1Fvjfzo9po179rAtJeVGUvkLN3rLE= -cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= -cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg= -cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0= -cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4jMAg= -cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w= -cloud.google.com/go/kms v1.10.0/go.mod h1:ng3KTUtQQU9bPX3+QGLsflZIHlkbn8amFAMY63m8d24= -cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= -cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= -cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= -cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= -cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8= -cloud.google.com/go/language v1.9.0/go.mod h1:Ns15WooPM5Ad/5no/0n81yUetis74g3zrbeJBE+ptUY= -cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= -cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= -cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo= -cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= -cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= -cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= -cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= -cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= -cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= -cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= -cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= -cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= -cloud.google.com/go/maps v0.6.0/go.mod h1:o6DAMMfb+aINHz/p/jbcY+mYeXBoZoxTfdSQ8VAJaCw= -cloud.google.com/go/maps v0.7.0/go.mod h1:3GnvVl3cqeSvgMcpRlQidXsPYuDGQ8naBis7MVzpXsY= -cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= -cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= -cloud.google.com/go/mediatranslation v0.7.0/go.mod h1:LCnB/gZr90ONOIQLgSXagp8XUW1ODs2UmUMvcgMfI2I= -cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= -cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= -cloud.google.com/go/memcache v1.6.0/go.mod h1:XS5xB0eQZdHtTuTF9Hf8eJkKtR3pVRCcvJwtm68T3rA= -cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY= -cloud.google.com/go/memcache v1.9.0/go.mod h1:8oEyzXCu+zo9RzlEaEjHl4KkgjlNDaXbCQeQWlzNFJM= -cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= -cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= -cloud.google.com/go/metastore v1.7.0/go.mod h1:s45D0B4IlsINu87/AsWiEVYbLaIMeUSoxlKKDqBGFS8= -cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI= -cloud.google.com/go/metastore v1.10.0/go.mod h1:fPEnH3g4JJAk+gMRnrAnoqyv2lpUCqJPWOodSaf45Eo= -cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhIsnmlA53dvEk= -cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= -cloud.google.com/go/monitoring v1.12.0/go.mod h1:yx8Jj2fZNEkL/GYZyTLS4ZtZEZN8WtDEiEqG4kLK50w= -cloud.google.com/go/monitoring v1.13.0/go.mod h1:k2yMBAB1H9JT/QETjNkgdCGD9bPF712XiLTVr+cBrpw= -cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= -cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= -cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= -cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8= -cloud.google.com/go/networkconnectivity v1.10.0/go.mod h1:UP4O4sWXJG13AqrTdQCD9TnLGEbtNRqjuaaA7bNjF5E= -cloud.google.com/go/networkconnectivity v1.11.0/go.mod h1:iWmDD4QF16VCDLXUqvyspJjIEtBR/4zq5hwnY2X3scM= -cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8= -cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= -cloud.google.com/go/networkmanagement v1.6.0/go.mod h1:5pKPqyXjB/sgtvB5xqOemumoQNB7y95Q7S+4rjSOPYY= -cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= -cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= -cloud.google.com/go/networksecurity v0.7.0/go.mod h1:mAnzoxx/8TBSyXEeESMy9OOYwo1v+gZ5eMRnsT5bC8k= -cloud.google.com/go/networksecurity v0.8.0/go.mod h1:B78DkqsxFG5zRSVuwYFRZ9Xz8IcQ5iECsNrPn74hKHU= -cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= -cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= -cloud.google.com/go/notebooks v1.4.0/go.mod h1:4QPMngcwmgb6uw7Po99B2xv5ufVoIQ7nOGDyL4P8AgA= -cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0= -cloud.google.com/go/notebooks v1.7.0/go.mod h1:PVlaDGfJgj1fl1S3dUwhFMXFgfYGhYQt2164xOMONmE= -cloud.google.com/go/notebooks v1.8.0/go.mod h1:Lq6dYKOYOWUCTvw5t2q1gp1lAp0zxAxRycayS0iJcqQ= -cloud.google.com/go/optimization v1.1.0/go.mod h1:5po+wfvX5AQlPznyVEZjGJTMr4+CAkJf2XSTQOOl9l4= -cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs= -cloud.google.com/go/optimization v1.3.1/go.mod h1:IvUSefKiwd1a5p0RgHDbWCIbDFgKuEdB+fPPuP0IDLI= -cloud.google.com/go/orchestration v1.3.0/go.mod h1:Sj5tq/JpWiB//X/q3Ngwdl5K7B7Y0KZ7bfv0wL6fqVA= -cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk= -cloud.google.com/go/orchestration v1.6.0/go.mod h1:M62Bevp7pkxStDfFfTuCOaXgaaqRAga1yKyoMtEoWPQ= -cloud.google.com/go/orgpolicy v1.4.0/go.mod h1:xrSLIV4RePWmP9P3tBl8S93lTmlAxjm06NSm2UTmKvE= -cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc= -cloud.google.com/go/orgpolicy v1.10.0/go.mod h1:w1fo8b7rRqlXlIJbVhOMPrwVljyuW5mqssvBtU18ONc= -cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= -cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= -cloud.google.com/go/osconfig v1.9.0/go.mod h1:Yx+IeIZJ3bdWmzbQU4fxNl8xsZ4amB+dygAwFPlvnNo= -cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw= -cloud.google.com/go/osconfig v1.11.0/go.mod h1:aDICxrur2ogRd9zY5ytBLV89KEgT2MKB2L/n6x1ooPw= -cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= -cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= -cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70= -cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo= -cloud.google.com/go/oslogin v1.9.0/go.mod h1:HNavntnH8nzrn8JCTT5fj18FuJLFJc4NaZJtBnQtKFs= -cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= -cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= -cloud.google.com/go/phishingprotection v0.7.0/go.mod h1:8qJI4QKHoda/sb/7/YmMQ2omRLSLYSu9bU0EKCNI+Lk= -cloud.google.com/go/policytroubleshooter v1.3.0/go.mod h1:qy0+VwANja+kKrjlQuOzmlvscn4RNsAc0e15GGqfMxg= -cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE= -cloud.google.com/go/policytroubleshooter v1.5.0/go.mod h1:Rz1WfV+1oIpPdN2VvvuboLVRsB1Hclg3CKQ53j9l8vw= -cloud.google.com/go/policytroubleshooter v1.6.0/go.mod h1:zYqaPTsmfvpjm5ULxAyD/lINQxJ0DDsnWOP/GZ7xzBc= -cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= -cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= -cloud.google.com/go/privatecatalog v0.7.0/go.mod h1:2s5ssIFO69F5csTXcwBP7NPFTZvps26xGzvQ2PQaBYg= -cloud.google.com/go/privatecatalog v0.8.0/go.mod h1:nQ6pfaegeDAq/Q5lrfCQzQLhubPiZhSaNhIgfJlnIXs= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/pubsub v1.26.0/go.mod h1:QgBH3U/jdJy/ftjPhTkyXNj543Tin1pRYcdcPRnFIRI= -cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= -cloud.google.com/go/pubsub v1.28.0/go.mod h1:vuXFpwaVoIPQMGXqRyUQigu/AX1S3IWugR9xznmcXX8= -cloud.google.com/go/pubsub v1.30.0/go.mod h1:qWi1OPS0B+b5L+Sg6Gmc9zD1Y+HaM0MdUr7LsupY1P4= -cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= -cloud.google.com/go/pubsublite v1.6.0/go.mod h1:1eFCS0U11xlOuMFV/0iBqw3zP12kddMeCbj/F3FSj9k= -cloud.google.com/go/pubsublite v1.7.0/go.mod h1:8hVMwRXfDfvGm3fahVbtDbiLePT3gpoiJYJY+vxWxVM= -cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= -cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= -cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= -cloud.google.com/go/recaptchaenterprise/v2 v2.3.0/go.mod h1:O9LwGCjrhGHBQET5CA7dd5NwwNQUErSgEDit1DLNTdo= -cloud.google.com/go/recaptchaenterprise/v2 v2.4.0/go.mod h1:Am3LHfOuBstrLrNCBrlI5sbwx9LBg3te2N6hGvHn2mE= -cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= -cloud.google.com/go/recaptchaenterprise/v2 v2.6.0/go.mod h1:RPauz9jeLtB3JVzg6nCbe12qNoaa8pXc4d/YukAmcnA= -cloud.google.com/go/recaptchaenterprise/v2 v2.7.0/go.mod h1:19wVj/fs5RtYtynAPJdDTb69oW0vNHYDBTbB4NvMD9c= -cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= -cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= -cloud.google.com/go/recommendationengine v0.7.0/go.mod h1:1reUcE3GIu6MeBz/h5xZJqNLuuVjNg1lmWMPyjatzac= -cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= -cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= -cloud.google.com/go/recommender v1.7.0/go.mod h1:XLHs/W+T8olwlGOgfQenXBTbIseGclClff6lhFVe9Bs= -cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= -cloud.google.com/go/recommender v1.9.0/go.mod h1:PnSsnZY7q+VL1uax2JWkt/UegHssxjUVVCrX52CuEmQ= -cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= -cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= -cloud.google.com/go/redis v1.9.0/go.mod h1:HMYQuajvb2D0LvMgZmLDZW8V5aOC/WxstZHiy4g8OiA= -cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM= -cloud.google.com/go/redis v1.11.0/go.mod h1:/X6eicana+BWcUda5PpwZC48o37SiFVTFSs0fWAJ7uQ= -cloud.google.com/go/resourcemanager v1.3.0/go.mod h1:bAtrTjZQFJkiWTPDb1WBjzvc6/kifjj4QBYuKCCoqKA= -cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0= -cloud.google.com/go/resourcemanager v1.5.0/go.mod h1:eQoXNAiAvCf5PXxWxXjhKQoTMaUSNrEfg+6qdf/wots= -cloud.google.com/go/resourcemanager v1.6.0/go.mod h1:YcpXGRs8fDzcUl1Xw8uOVmI8JEadvhRIkoXXUNVYcVo= -cloud.google.com/go/resourcemanager v1.7.0/go.mod h1:HlD3m6+bwhzj9XCouqmeiGuni95NTrExfhoSrkC/3EI= -cloud.google.com/go/resourcesettings v1.3.0/go.mod h1:lzew8VfESA5DQ8gdlHwMrqZs1S9V87v3oCnKCWoOuQU= -cloud.google.com/go/resourcesettings v1.4.0/go.mod h1:ldiH9IJpcrlC3VSuCGvjR5of/ezRrOxFtpJoJo5SmXg= -cloud.google.com/go/resourcesettings v1.5.0/go.mod h1:+xJF7QSG6undsQDfsCJyqWXyBwUoJLhetkRMDRnIoXA= -cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= -cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= -cloud.google.com/go/retail v1.10.0/go.mod h1:2gDk9HsL4HMS4oZwz6daui2/jmKvqShXKQuB2RZ+cCc= -cloud.google.com/go/retail v1.11.0/go.mod h1:MBLk1NaWPmh6iVFSz9MeKG/Psyd7TAgm6y/9L2B4x9Y= -cloud.google.com/go/retail v1.12.0/go.mod h1:UMkelN/0Z8XvKymXFbD4EhFJlYKRx1FGhQkVPU5kF14= -cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do= -cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo= -cloud.google.com/go/run v0.8.0/go.mod h1:VniEnuBwqjigv0A7ONfQUaEItaiCRVujlMqerPPiktM= -cloud.google.com/go/run v0.9.0/go.mod h1:Wwu+/vvg8Y+JUApMwEDfVfhetv30hCG4ZwDR/IXl2Qg= -cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= -cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= -cloud.google.com/go/scheduler v1.6.0/go.mod h1:SgeKVM7MIwPn3BqtcBntpLyrIJftQISRrYB5ZtT+KOk= -cloud.google.com/go/scheduler v1.7.0/go.mod h1:jyCiBqWW956uBjjPMMuX09n3x37mtyPJegEWKxRsn44= -cloud.google.com/go/scheduler v1.8.0/go.mod h1:TCET+Y5Gp1YgHT8py4nlg2Sew8nUHMqcpousDgXJVQc= -cloud.google.com/go/scheduler v1.9.0/go.mod h1:yexg5t+KSmqu+njTIh3b7oYPheFtBWGcbVUYF1GGMIc= -cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= -cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4= -cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4= -cloud.google.com/go/secretmanager v1.10.0/go.mod h1:MfnrdvKMPNra9aZtQFvBcvRU54hbPD8/HayQdlUgJpU= -cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= -cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= -cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= -cloud.google.com/go/security v1.9.0/go.mod h1:6Ta1bO8LXI89nZnmnsZGp9lVoVWXqsVbIq/t9dzI+2Q= -cloud.google.com/go/security v1.10.0/go.mod h1:QtOMZByJVlibUT2h9afNDWRZ1G96gVywH8T5GUSb9IA= -cloud.google.com/go/security v1.12.0/go.mod h1:rV6EhrpbNHrrxqlvW0BWAIawFWq3X90SduMJdFwtLB8= -cloud.google.com/go/security v1.13.0/go.mod h1:Q1Nvxl1PAgmeW0y3HTt54JYIvUdtcpYKVfIB8AOMZ+0= -cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= -cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= -cloud.google.com/go/securitycenter v1.15.0/go.mod h1:PeKJ0t8MoFmmXLXWm41JidyzI3PJjd8sXWaVqg43WWk= -cloud.google.com/go/securitycenter v1.16.0/go.mod h1:Q9GMaLQFUD+5ZTabrbujNWLtSLZIZF7SAR0wWECrjdk= -cloud.google.com/go/securitycenter v1.18.1/go.mod h1:0/25gAzCM/9OL9vVx4ChPeM/+DlfGQJDwBy/UC8AKK0= -cloud.google.com/go/securitycenter v1.19.0/go.mod h1:LVLmSg8ZkkyaNy4u7HCIshAngSQ8EcIRREP3xBnyfag= -cloud.google.com/go/servicecontrol v1.4.0/go.mod h1:o0hUSJ1TXJAmi/7fLJAedOovnujSEvjKCAFNXPQ1RaU= -cloud.google.com/go/servicecontrol v1.5.0/go.mod h1:qM0CnXHhyqKVuiZnGKrIurvVImCs8gmqWsDoqe9sU1s= -cloud.google.com/go/servicecontrol v1.10.0/go.mod h1:pQvyvSRh7YzUF2efw7H87V92mxU8FnFDawMClGCNuAA= -cloud.google.com/go/servicecontrol v1.11.0/go.mod h1:kFmTzYzTUIuZs0ycVqRHNaNhgR+UMUpw9n02l/pY+mc= -cloud.google.com/go/servicecontrol v1.11.1/go.mod h1:aSnNNlwEFBY+PWGQ2DoM0JJ/QUXqV5/ZD9DOLB7SnUk= -cloud.google.com/go/servicedirectory v1.4.0/go.mod h1:gH1MUaZCgtP7qQiI+F+A+OpeKF/HQWgtAddhTbhL2bs= -cloud.google.com/go/servicedirectory v1.5.0/go.mod h1:QMKFL0NUySbpZJ1UZs3oFAmdvVxhhxB6eJ/Vlp73dfg= -cloud.google.com/go/servicedirectory v1.6.0/go.mod h1:pUlbnWsLH9c13yGkxCmfumWEPjsRs1RlmJ4pqiNjVL4= -cloud.google.com/go/servicedirectory v1.7.0/go.mod h1:5p/U5oyvgYGYejufvxhgwjL8UVXjkuw7q5XcG10wx1U= -cloud.google.com/go/servicedirectory v1.8.0/go.mod h1:srXodfhY1GFIPvltunswqXpVxFPpZjf8nkKQT7XcXaY= -cloud.google.com/go/servicedirectory v1.9.0/go.mod h1:29je5JjiygNYlmsGz8k6o+OZ8vd4f//bQLtvzkPPT/s= -cloud.google.com/go/servicemanagement v1.4.0/go.mod h1:d8t8MDbezI7Z2R1O/wu8oTggo3BI2GKYbdG4y/SJTco= -cloud.google.com/go/servicemanagement v1.5.0/go.mod h1:XGaCRe57kfqu4+lRxaFEAuqmjzF0r+gWHjWqKqBvKFo= -cloud.google.com/go/servicemanagement v1.6.0/go.mod h1:aWns7EeeCOtGEX4OvZUWCCJONRZeFKiptqKf1D0l/Jc= -cloud.google.com/go/servicemanagement v1.8.0/go.mod h1:MSS2TDlIEQD/fzsSGfCdJItQveu9NXnUniTrq/L8LK4= -cloud.google.com/go/serviceusage v1.3.0/go.mod h1:Hya1cozXM4SeSKTAgGXgj97GlqUvF5JaoXacR1JTP/E= -cloud.google.com/go/serviceusage v1.4.0/go.mod h1:SB4yxXSaYVuUBYUml6qklyONXNLt83U0Rb+CXyhjEeU= -cloud.google.com/go/serviceusage v1.5.0/go.mod h1:w8U1JvqUqwJNPEOTQjrMHkw3IaIFLoLsPLvsE3xueec= -cloud.google.com/go/serviceusage v1.6.0/go.mod h1:R5wwQcbOWsyuOfbP9tGdAnCAc6B9DRwPG1xtWMDeuPA= -cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4= -cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw= -cloud.google.com/go/shell v1.6.0/go.mod h1:oHO8QACS90luWgxP3N9iZVuEiSF84zNyLytb+qE2f9A= -cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos= -cloud.google.com/go/spanner v1.44.0/go.mod h1:G8XIgYdOK+Fbcpbs7p2fiprDw4CaZX63whnSMLVBxjk= -cloud.google.com/go/spanner v1.45.0/go.mod h1:FIws5LowYz8YAE1J8fOS7DJup8ff7xJeetWEo5REA2M= -cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= -cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= -cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= -cloud.google.com/go/speech v1.9.0/go.mod h1:xQ0jTcmnRFFM2RfX/U+rk6FQNUF6DQlydUSyoooSpco= -cloud.google.com/go/speech v1.14.1/go.mod h1:gEosVRPJ9waG7zqqnsHpYTOoAS4KouMRLDFMekpJ0J0= -cloud.google.com/go/speech v1.15.0/go.mod h1:y6oH7GhqCaZANH7+Oe0BhgIogsNInLlz542tg3VqeYI= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= -cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= -cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= -cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= -cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= -cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= -cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= -cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= -cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4= -cloud.google.com/go/storagetransfer v1.8.0/go.mod h1:JpegsHHU1eXg7lMHkvf+KE5XDJ7EQu0GwNJbbVGanEw= -cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= -cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= -cloud.google.com/go/talent v1.3.0/go.mod h1:CmcxwJ/PKfRgd1pBjQgU6W3YBwiewmUzQYH5HHmSCmM= -cloud.google.com/go/talent v1.4.0/go.mod h1:ezFtAgVuRf8jRsvyE6EwmbTK5LKciD4KVnHuDEFmOOA= -cloud.google.com/go/talent v1.5.0/go.mod h1:G+ODMj9bsasAEJkQSzO2uHQWXHHXUomArjWQQYkqK6c= -cloud.google.com/go/texttospeech v1.4.0/go.mod h1:FX8HQHA6sEpJ7rCMSfXuzBcysDAuWusNNNvN9FELDd8= -cloud.google.com/go/texttospeech v1.5.0/go.mod h1:oKPLhR4n4ZdQqWKURdwxMy0uiTS1xU161C8W57Wkea4= -cloud.google.com/go/texttospeech v1.6.0/go.mod h1:YmwmFT8pj1aBblQOI3TfKmwibnsfvhIBzPXcW4EBovc= -cloud.google.com/go/tpu v1.3.0/go.mod h1:aJIManG0o20tfDQlRIej44FcwGGl/cD0oiRyMKG19IQ= -cloud.google.com/go/tpu v1.4.0/go.mod h1:mjZaX8p0VBgllCzF6wcU2ovUXN9TONFLd7iz227X2Xg= -cloud.google.com/go/tpu v1.5.0/go.mod h1:8zVo1rYDFuW2l4yZVY0R0fb/v44xLh3llq7RuV61fPM= -cloud.google.com/go/trace v1.3.0/go.mod h1:FFUE83d9Ca57C+K8rDl/Ih8LwOzWIV1krKgxg6N0G28= -cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1rshXG+Y= -cloud.google.com/go/trace v1.8.0/go.mod h1:zH7vcsbAhklH8hWFig58HvxcxyQbaIqMarMg9hn5ECA= -cloud.google.com/go/trace v1.9.0/go.mod h1:lOQqpE5IaWY0Ixg7/r2SjixMuc6lfTFeO4QGM4dQWOk= -cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs= -cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= -cloud.google.com/go/translate v1.5.0/go.mod h1:29YDSYveqqpA1CQFD7NQuP49xymq17RXNaUDdc0mNu0= -cloud.google.com/go/translate v1.6.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= -cloud.google.com/go/translate v1.7.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= -cloud.google.com/go/video v1.8.0/go.mod h1:sTzKFc0bUSByE8Yoh8X0mn8bMymItVGPfTuUBUyRgxk= -cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw= -cloud.google.com/go/video v1.12.0/go.mod h1:MLQew95eTuaNDEGriQdcYn0dTwf9oWiA4uYebxM5kdg= -cloud.google.com/go/video v1.13.0/go.mod h1:ulzkYlYgCp15N2AokzKjy7MQ9ejuynOJdf1tR5lGthk= -cloud.google.com/go/video v1.14.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= -cloud.google.com/go/video v1.15.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= -cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= -cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= -cloud.google.com/go/videointelligence v1.8.0/go.mod h1:dIcCn4gVDdS7yte/w+koiXn5dWVplOZkE+xwG9FgK+M= -cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU= -cloud.google.com/go/videointelligence v1.10.0/go.mod h1:LHZngX1liVtUhZvi2uNS0VQuOzNi2TkY1OakiuoUOjU= -cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= -cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= -cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= -cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb+MhPqRbPsY= -cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= -cloud.google.com/go/vision/v2 v2.6.0/go.mod h1:158Hes0MvOS9Z/bDMSFpjwsUrZ5fPrdwuyyvKSGAGMY= -cloud.google.com/go/vision/v2 v2.7.0/go.mod h1:H89VysHy21avemp6xcf9b9JvZHVehWbET0uT/bcuY/0= -cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= -cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= -cloud.google.com/go/vmmigration v1.5.0/go.mod h1:E4YQ8q7/4W9gobHjQg4JJSgXXSgY21nA5r8swQV+Xxc= -cloud.google.com/go/vmmigration v1.6.0/go.mod h1:bopQ/g4z+8qXzichC7GW1w2MjbErL54rk3/C843CjfY= -cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= -cloud.google.com/go/vmwareengine v0.2.2/go.mod h1:sKdctNJxb3KLZkE/6Oui94iw/xs9PRNC2wnNLXsHvH8= -cloud.google.com/go/vmwareengine v0.3.0/go.mod h1:wvoyMvNWdIzxMYSpH/R7y2h5h3WFkx6d+1TIsP39WGY= -cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= -cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= -cloud.google.com/go/vpcaccess v1.6.0/go.mod h1:wX2ILaNhe7TlVa4vC5xce1bCnqE3AeH27RV31lnmZes= -cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= -cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= -cloud.google.com/go/webrisk v1.6.0/go.mod h1:65sW9V9rOosnc9ZY7A7jsy1zoHS5W9IAXv6dGqhMQMc= -cloud.google.com/go/webrisk v1.7.0/go.mod h1:mVMHgEYH0r337nmt1JyLthzMr6YxwN1aAIEc2fTcq7A= -cloud.google.com/go/webrisk v1.8.0/go.mod h1:oJPDuamzHXgUc+b8SiHRcVInZQuybnvEW72PqTc7sSg= -cloud.google.com/go/websecurityscanner v1.3.0/go.mod h1:uImdKm2wyeXQevQJXeh8Uun/Ym1VqworNDlBXQevGMo= -cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S8CzdTkAS77oDsiSqYWQ= -cloud.google.com/go/websecurityscanner v1.5.0/go.mod h1:Y6xdCPy81yi0SQnDY1xdNTNpfY1oAgXUlcfN3B3eSng= -cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= -cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= -cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M= -cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= -cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= -git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= -github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 h1:ra2OtmuW0AE5csawV4YXMNGNQQXvLRps3z2Z59OPO+I= github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= @@ -611,20 +10,8 @@ github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmH github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= github.com/agext/levenshtein v1.2.1 h1:QmvMAjj2aEICytGiWzmxoE0x2KZvE0fvmqMOfy2tjT8= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= -github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY= -github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk= -github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b/go.mod h1:1KcenG0jGWcpt8ov532z81sp/kMMUG485J2InIOyADM= -github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/apache/arrow/go/v10 v10.0.1/go.mod h1:YvhnlEePVnBS4+0z3fhPfUy7W1Ikj0Ih0vcRo/gZ1M0= -github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI= -github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= -github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= -github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2wFoYVvnCs0= -github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= @@ -635,47 +22,18 @@ github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiE github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= -github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= -github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= -github.com/charmbracelet/bubbletea v0.24.1/go.mod h1:rK3g/2+T8vOSEkNHvtq40umJpeVYDn6bLaqbgzhL/hg= github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06RaW2cx/SY= github.com/charmbracelet/bubbletea v0.24.2/go.mod h1:XdrNrV4J8GiyshTtx3DNuYkR1FDaJmO3l2nejekbsgg= -github.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao= github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= @@ -685,43 +43,13 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= -github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= -github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= -github.com/envoyproxy/go-control-plane v0.11.0/go.mod h1:VnHyVMpzcLvCFt9yUz1UnCwHLhwx1WguiVDV7pTG/tI= -github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f/go.mod h1:sfYdkwUW4BA3PbKjySwjJy+O4Pu0h62rlqCMHNk+K+Q= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= -github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= -github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= -github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= -github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= -github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= -github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= -github.com/go-fonts/liberation v0.2.0/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= -github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmnUIzUY= github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= @@ -731,120 +59,17 @@ github.com/go-git/go-git-fixtures/v4 v4.3.1 h1:y5z6dd3qi8Hl+stezc8p3JxDkoTRqMAlK github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= github.com/go-git/go-git/v5 v5.6.0 h1:JvBdYfcttd+0kdpuWO7KTu0FYgCf5W0t5VwkWGobaa4= github.com/go-git/go-git/v5 v5.6.0/go.mod h1:6nmJ0tJ3N4noMV1Omv7rC5FG3/o8Cm51TB4CJp7mRmE= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-latex/latex v0.0.0-20210118124228-b3d85cf34e07/go.mod h1:CO1AlKB2CSIqUrmQPqA0gdRIlnLEY0gK5JGjh37zN5U= -github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81/go.mod h1:SX0U8uGpxhq9o2S/CELCSUxEWWAuoCUcVCQWv7G2OCk= -github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= -github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= -github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= -github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= -github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= -github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= -github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= -github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= -github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= -github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= -github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= -github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= -github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= -github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= -github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= -github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= -github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= -github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= -github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= -github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -852,14 +77,8 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl/v2 v2.16.1 h1:BwuxEMD/tsYgbhIW7UuI3crjovf3MzuFWiVgiv57iHg= github.com/hashicorp/hcl/v2 v2.16.1/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= -github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= @@ -867,60 +86,36 @@ github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLf github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= -github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= -github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= -github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= -github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= -github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= -github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= -github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= -github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzCv8LZP15IdmG+YdwD2luVPHITV96TkirNBM= @@ -935,84 +130,54 @@ github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKt github.com/muesli/termenv v0.15.1 h1:UzuTb/+hhlBugQz28rpzey4ZuKcZ03MeKsoG7IJZIxs= github.com/muesli/termenv v0.15.1/go.mod h1:HeAQPTzpfs016yGtA4g00CsdYnVLJvxsS4ANqrZs2sQ= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/opentracing/basictracer-go v1.1.0 h1:Oa1fTSBvAl8pa3U+IJYqrKm0NALwH9OsgwOqDv4xJW0= github.com/opentracing/basictracer-go v1.1.0/go.mod h1:V2HZueSJEp879yv285Aap1BS69fQMD+MNP1mRs6mBQc= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= -github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= -github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= -github.com/phpdave11/gofpdi v1.0.13/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= -github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= -github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= -github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= github.com/pulumi/pulumi/sdk/v3 v3.81.0 h1:d711GUpjZK1beNpIKFReC1LBmHXYE684sYWntJWQ4Q0= github.com/pulumi/pulumi/sdk/v3 v3.81.0/go.mod h1:RMilNNVMlmK1h4Nl/qylb9vzbgh4F3mufZoUOnPy98o= -github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w= -github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/sahilm/fuzzy v0.1.0/go.mod h1:VFvziUEIMCrT6A6tw2RFIXPXXmzXbOsSHF0DOI8ZK9Y= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= -github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= -github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= -github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= -github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= @@ -1021,48 +186,20 @@ github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaO github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= github.com/uber/jaeger-lib v2.4.1+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= -github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= -github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= -github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.12.1 h1:PcupnljUm9EIvbgSHQnHhUr3fO6oFmkOrvs2BAFNXXY= github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= -github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= -github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= -github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= -go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= @@ -1070,263 +207,55 @@ golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a h1:diz9pEYuTIuLMJLs3rGDkeaTsNyRs6duYdFyPAxzE/U= golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3/go.mod h1:NOZ3BPKG0ec/BKJQgnvsSFpcKLM5xXVWnvZS97DWHgE= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= -golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20200119044424-58c23975cae1/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20210607152325-775e3b0c77b9/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20211028202545-6944b10bf410/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20220302094943-723b81ca9867/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= -golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= -golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= -golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= -golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= -golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec= -golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= -golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= -golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210304124612-50617c2ba197/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -1334,400 +263,43 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= -golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190927191325-030b2cf1153e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= -golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= -golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= -gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= -gonum.org/v1/gonum v0.9.3/go.mod h1:TZumC3NeyVQskjXqmyWt4S3bINhy7B4eYwW69EbyX+0= -gonum.org/v1/gonum v0.11.0/go.mod h1:fSG4YDCxxUZQJ7rKsQrj0gMOg00Il0Z96/qMA4bVQhA= -gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= -gonum.org/v1/plot v0.9.0/go.mod h1:3Pcqqmp6RHvJI72kgb8fThyUnav364FOsdDo2aGW5lY= -gonum.org/v1/plot v0.10.1/go.mod h1:VZW5OlhkL1mysU9vaqNHnsy86inf6Ot+jB3r+BczCEo= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= -google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= -google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= -google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= -google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= -google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= -google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= -google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= -google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= -google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= -google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= -google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= -google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= -google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= -google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= -google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= -google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= -google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= -google.golang.org/api v0.77.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= -google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= -google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= -google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= -google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g= -google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= -google.golang.org/api v0.93.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= -google.golang.org/api v0.95.0/go.mod h1:eADj+UBuxkh5zlrSntJghuNeg8HwQ1w5lTKkuqaETEI= -google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= -google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= -google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= -google.golang.org/api v0.99.0/go.mod h1:1YOf74vkVndF7pG6hIHuINsM7eWwpVTAfNMNiL91A08= -google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= -google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo= -google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0= -google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= -google.golang.org/api v0.107.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= -google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= -google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= -google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0= -google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210329143202-679c6ae281ee/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= -google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220329172620-7be39ac1afc7/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= -google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= -google.golang.org/genproto v0.0.0-20220722212130-b98a9ff5e252/go.mod h1:GkXuJDJ6aQ7lnJcRF+SJVgFdQhypqgl3LB1C9vabdRE= -google.golang.org/genproto v0.0.0-20220801145646-83ce21fca29f/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= -google.golang.org/genproto v0.0.0-20220815135757-37a418bb8959/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= -google.golang.org/genproto v0.0.0-20220817144833-d7fd3f11b9b1/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= -google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= -google.golang.org/genproto v0.0.0-20220829144015-23454907ede3/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= -google.golang.org/genproto v0.0.0-20220829175752-36a9c930ecbf/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= -google.golang.org/genproto v0.0.0-20220913154956-18f8339a66a5/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/genproto v0.0.0-20220914142337-ca0e39ece12f/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/genproto v0.0.0-20220915135415-7fd63a7952de/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/genproto v0.0.0-20220916172020-2692e8806bfa/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/genproto v0.0.0-20220919141832-68c03719ef51/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= -google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006/go.mod h1:ht8XFiar2npT/g4vkk7O0WYS1sHOHbdujxbEp7CJWbw= -google.golang.org/genproto v0.0.0-20220926165614-551eb538f295/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= -google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= -google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U= -google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= -google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= -google.golang.org/genproto v0.0.0-20221024153911-1573dae28c9c/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo= -google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221114212237-e4508ebdbee1/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221117204609-8f9c96812029/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221201204527-e3fa12d562f3/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd/go.mod h1:cTsE614GARnxrLsqKREzmNYJACSWWpAWdNMwnD7c2BE= -google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230112194545-e10362b5ecf9/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230113154510-dbe35b8444a5/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230124163310-31e0e69b6fc2/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA= -google.golang.org/genproto v0.0.0-20230222225845-10f96fb3dbec/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= -google.golang.org/genproto v0.0.0-20230223222841-637eb2293923/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= -google.golang.org/genproto v0.0.0-20230303212802-e74f57abe488/go.mod h1:TvhZT5f700eVlTNwND1xoEZQeWTB2RY/65kplwl/bFA= -google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= -google.golang.org/genproto v0.0.0-20230320184635-7606e756e683/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= -google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= -google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= -google.golang.org/genproto v0.0.0-20230629202037-9506855d4529 h1:9JucMWR7sPvCxUFd6UsOUNmA5kCcWOfORaT3tpAsKQs= -google.golang.org/genproto v0.0.0-20230629202037-9506855d4529/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= -google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= -google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/api v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc= google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= -google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= -google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= -google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= -google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= -google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= -google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= -google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= -google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= -google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= @@ -1735,55 +307,10 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= -lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= -lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= -modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/cc/v3 v3.36.2/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/cc/v3 v3.36.3/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/ccgo/v3 v3.0.0-20220428102840-41399a37e894/go.mod h1:eI31LL8EwEBKPpNpA4bU1/i+sKOwOrQy8D87zWUcRZc= -modernc.org/ccgo/v3 v3.0.0-20220430103911-bc99d88307be/go.mod h1:bwdAnOoaIt8Ax9YdWGjxWsdkPcZyRPHqrOvJxaKAKGw= -modernc.org/ccgo/v3 v3.16.4/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= -modernc.org/ccgo/v3 v3.16.6/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= -modernc.org/ccgo/v3 v3.16.8/go.mod h1:zNjwkizS+fIFDrDjIAgBSCLkWbJuHF+ar3QRn+Z9aws= -modernc.org/ccgo/v3 v3.16.9/go.mod h1:zNMzC9A9xeNUepy6KuZBbugn3c0Mc9TeiJO4lgvkJDo= -modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= -modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= -modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= -modernc.org/libc v1.16.0/go.mod h1:N4LD6DBE9cf+Dzf9buBlzVJndKr/iJHG97vGLHYnb5A= -modernc.org/libc v1.16.1/go.mod h1:JjJE0eu4yeK7tab2n4S1w8tlWd9MxXLRzheaRnAKymU= -modernc.org/libc v1.16.17/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU= -modernc.org/libc v1.16.19/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= -modernc.org/libc v1.17.0/go.mod h1:XsgLldpP4aWlPlsjqKRdHPqCxCjISdHfM/yeWC5GyW0= -modernc.org/libc v1.17.1/go.mod h1:FZ23b+8LjxZs7XtFMbSzL/EhPxNbfZbErxEHc7cbD9s= -modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/memory v1.1.1/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= -modernc.org/memory v1.2.0/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= -modernc.org/memory v1.2.1/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= -modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/sqlite v1.18.1/go.mod h1:6ho+Gow7oX5V+OiOQ6Tr4xeqbx13UZ6t+Fw9IRUG4d4= -modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= -modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= -modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= -modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= -modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= From a6d67c58fad1898b77e680e32b0587cae8fcd65a Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Fri, 8 Sep 2023 14:50:15 -0400 Subject: [PATCH 7/7] Use a more powerful runner for build_sdk step --- .github/workflows/build.yml | 2 +- .github/workflows/prerelease.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/run-acceptance-tests.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32073de388..a7328dfa25 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -122,7 +122,7 @@ jobs: status: ${{ job.status }} build_sdks: needs: prerequisites - runs-on: ubuntu-latest + runs-on: pulumi-ubuntu-8core strategy: fail-fast: true matrix: diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index a1d5a244f1..7f16d32279 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -114,7 +114,7 @@ jobs: status: ${{ job.status }} build_sdks: needs: prerequisites - runs-on: ubuntu-latest + runs-on: pulumi-ubuntu-8core strategy: fail-fast: true matrix: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c11929ebce..7d8b58dd9d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -114,7 +114,7 @@ jobs: status: ${{ job.status }} build_sdks: needs: prerequisites - runs-on: ubuntu-latest + runs-on: pulumi-ubuntu-8core strategy: fail-fast: true matrix: diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index f1b879dad3..01df6b07d0 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -140,7 +140,7 @@ jobs: github.event.pull_request.head.repo.full_name == github.repository build_sdks: needs: prerequisites - runs-on: ubuntu-latest + runs-on: pulumi-ubuntu-8core strategy: fail-fast: true matrix: